@blackglory/structures 0.6.5 → 0.6.8

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.
@@ -15,227 +15,227 @@ class Box {
15
15
 
16
16
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
17
17
 
18
- var es2018$d = {};
18
+ var es2018$e = {};
19
19
 
20
- var array$1 = {};
20
+ var array$2 = {};
21
21
 
22
- array$1.isntEmptyArray = array$1.isEmptyArray = array$1.isntArray = array$1.isArray = void 0;
23
- function isArray$1(val) {
22
+ array$2.isntEmptyArray = array$2.isEmptyArray = array$2.isntArray = array$2.isArray = void 0;
23
+ function isArray$2(val) {
24
24
  return Array.isArray(val);
25
25
  }
26
- array$1.isArray = isArray$1;
27
- function isntArray$1(val) {
28
- return !isArray$1(val);
26
+ array$2.isArray = isArray$2;
27
+ function isntArray$2(val) {
28
+ return !isArray$2(val);
29
29
  }
30
- array$1.isntArray = isntArray$1;
31
- function isEmptyArray$1(val) {
30
+ array$2.isntArray = isntArray$2;
31
+ function isEmptyArray$2(val) {
32
32
  return val.length === 0;
33
33
  }
34
- array$1.isEmptyArray = isEmptyArray$1;
35
- function isntEmptyArray$1(val) {
34
+ array$2.isEmptyArray = isEmptyArray$2;
35
+ function isntEmptyArray$2(val) {
36
36
  return val.length !== 0;
37
37
  }
38
- array$1.isntEmptyArray = isntEmptyArray$1;
38
+ array$2.isntEmptyArray = isntEmptyArray$2;
39
39
 
40
- var asyncIterable$1 = {};
40
+ var asyncIterable$2 = {};
41
41
 
42
- var _null$1 = {};
42
+ var _null$2 = {};
43
43
 
44
- _null$1.isntNull = _null$1.isNull = void 0;
45
- function isNull$1(val) {
44
+ _null$2.isntNull = _null$2.isNull = void 0;
45
+ function isNull$2(val) {
46
46
  return val === null;
47
47
  }
48
- _null$1.isNull = isNull$1;
49
- function isntNull$1(val) {
50
- return !isNull$1(val);
48
+ _null$2.isNull = isNull$2;
49
+ function isntNull$2(val) {
50
+ return !isNull$2(val);
51
51
  }
52
- _null$1.isntNull = isntNull$1;
52
+ _null$2.isntNull = isntNull$2;
53
53
 
54
- var _undefined$1 = {};
54
+ var _undefined$2 = {};
55
55
 
56
- _undefined$1.isntUndefined = _undefined$1.isUndefined = void 0;
57
- function isUndefined$1(val) {
56
+ _undefined$2.isntUndefined = _undefined$2.isUndefined = void 0;
57
+ function isUndefined$2(val) {
58
58
  return val === undefined;
59
59
  }
60
- _undefined$1.isUndefined = isUndefined$1;
61
- function isntUndefined$1(val) {
62
- return !isUndefined$1(val);
60
+ _undefined$2.isUndefined = isUndefined$2;
61
+ function isntUndefined$2(val) {
62
+ return !isUndefined$2(val);
63
63
  }
64
- _undefined$1.isntUndefined = isntUndefined$1;
64
+ _undefined$2.isntUndefined = isntUndefined$2;
65
65
 
66
- var _function$1 = {};
66
+ var _function$2 = {};
67
67
 
68
- _function$1.isntFunction = _function$1.isFunction = void 0;
69
- function isFunction$2(val) {
68
+ _function$2.isntFunction = _function$2.isFunction = void 0;
69
+ function isFunction$3(val) {
70
70
  return typeof val === 'function';
71
71
  }
72
- _function$1.isFunction = isFunction$2;
73
- function isntFunction$1(val) {
74
- return !isFunction$2(val);
72
+ _function$2.isFunction = isFunction$3;
73
+ function isntFunction$2(val) {
74
+ return !isFunction$3(val);
75
75
  }
76
- _function$1.isntFunction = isntFunction$1;
76
+ _function$2.isntFunction = isntFunction$2;
77
77
 
78
- asyncIterable$1.isntAsyncIterable = asyncIterable$1.isAsyncIterable = void 0;
79
- const null_1$4 = _null$1;
80
- const undefined_1$4 = _undefined$1;
81
- const function_1$2 = _function$1;
82
- function isAsyncIterable$1(val) {
83
- return (0, null_1$4.isntNull)(val)
84
- && (0, undefined_1$4.isntUndefined)(val)
85
- && (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
78
+ asyncIterable$2.isntAsyncIterable = asyncIterable$2.isAsyncIterable = void 0;
79
+ const null_1$7 = _null$2;
80
+ const undefined_1$6 = _undefined$2;
81
+ const function_1$5 = _function$2;
82
+ function isAsyncIterable$2(val) {
83
+ return (0, null_1$7.isntNull)(val)
84
+ && (0, undefined_1$6.isntUndefined)(val)
85
+ && (0, function_1$5.isFunction)(val[Symbol.asyncIterator]);
86
86
  }
87
- asyncIterable$1.isAsyncIterable = isAsyncIterable$1;
88
- function isntAsyncIterable$1(val) {
89
- return !isAsyncIterable$1(val);
87
+ asyncIterable$2.isAsyncIterable = isAsyncIterable$2;
88
+ function isntAsyncIterable$2(val) {
89
+ return !isAsyncIterable$2(val);
90
90
  }
91
- asyncIterable$1.isntAsyncIterable = isntAsyncIterable$1;
91
+ asyncIterable$2.isntAsyncIterable = isntAsyncIterable$2;
92
92
 
93
- var bigint$1 = {};
93
+ var bigint$2 = {};
94
94
 
95
- bigint$1.isntBigInt = bigint$1.isBigInt = void 0;
96
- function isBigInt$1(val) {
95
+ bigint$2.isntBigInt = bigint$2.isBigInt = void 0;
96
+ function isBigInt$2(val) {
97
97
  return typeof val === 'bigint';
98
98
  }
99
- bigint$1.isBigInt = isBigInt$1;
100
- function isntBigInt$1(val) {
101
- return !isBigInt$1(val);
99
+ bigint$2.isBigInt = isBigInt$2;
100
+ function isntBigInt$2(val) {
101
+ return !isBigInt$2(val);
102
102
  }
103
- bigint$1.isntBigInt = isntBigInt$1;
103
+ bigint$2.isntBigInt = isntBigInt$2;
104
104
 
105
- var boolean$1 = {};
105
+ var boolean$2 = {};
106
106
 
107
- boolean$1.isntBoolean = boolean$1.isBoolean = void 0;
108
- function isBoolean$1(val) {
107
+ boolean$2.isntBoolean = boolean$2.isBoolean = void 0;
108
+ function isBoolean$2(val) {
109
109
  return typeof val === 'boolean';
110
110
  }
111
- boolean$1.isBoolean = isBoolean$1;
112
- function isntBoolean$1(val) {
113
- return !isBoolean$1(val);
111
+ boolean$2.isBoolean = isBoolean$2;
112
+ function isntBoolean$2(val) {
113
+ return !isBoolean$2(val);
114
114
  }
115
- boolean$1.isntBoolean = isntBoolean$1;
115
+ boolean$2.isntBoolean = isntBoolean$2;
116
116
 
117
- var char$1 = {};
117
+ var char$2 = {};
118
118
 
119
- var string$1 = {};
119
+ var string$2 = {};
120
120
 
121
- string$1.isntString = string$1.isString = void 0;
122
- function isString$1(val) {
121
+ string$2.isntString = string$2.isString = void 0;
122
+ function isString$2(val) {
123
123
  return typeof val === 'string';
124
124
  }
125
- string$1.isString = isString$1;
126
- function isntString$1(val) {
127
- return !isString$1(val);
125
+ string$2.isString = isString$2;
126
+ function isntString$2(val) {
127
+ return !isString$2(val);
128
128
  }
129
- string$1.isntString = isntString$1;
129
+ string$2.isntString = isntString$2;
130
130
 
131
- char$1.isntChar = char$1.isChar = void 0;
132
- const string_1$3 = string$1;
133
- function isChar$1(val) {
134
- return (0, string_1$3.isString)(val)
131
+ char$2.isntChar = char$2.isChar = void 0;
132
+ const string_1$5 = string$2;
133
+ function isChar$2(val) {
134
+ return (0, string_1$5.isString)(val)
135
135
  && val.length === 1;
136
136
  }
137
- char$1.isChar = isChar$1;
138
- function isntChar$1(val) {
139
- return !isChar$1(val);
137
+ char$2.isChar = isChar$2;
138
+ function isntChar$2(val) {
139
+ return !isChar$2(val);
140
140
  }
141
- char$1.isntChar = isntChar$1;
141
+ char$2.isntChar = isntChar$2;
142
142
 
143
- var date$1 = {};
143
+ var date$2 = {};
144
144
 
145
- date$1.isntDate = date$1.isDate = void 0;
146
- function isDate$1(val) {
145
+ date$2.isntDate = date$2.isDate = void 0;
146
+ function isDate$2(val) {
147
147
  return val instanceof Date;
148
148
  }
149
- date$1.isDate = isDate$1;
150
- function isntDate$1(val) {
151
- return !isDate$1(val);
149
+ date$2.isDate = isDate$2;
150
+ function isntDate$2(val) {
151
+ return !isDate$2(val);
152
152
  }
153
- date$1.isntDate = isntDate$1;
153
+ date$2.isntDate = isntDate$2;
154
154
 
155
- var _enum$1 = {};
155
+ var _enum$2 = {};
156
156
 
157
- _enum$1.inEnum = void 0;
158
- function inEnum$1(val, _enum) {
157
+ _enum$2.inEnum = void 0;
158
+ function inEnum$2(val, _enum) {
159
159
  return Object.values(_enum).includes(val);
160
160
  }
161
- _enum$1.inEnum = inEnum$1;
161
+ _enum$2.inEnum = inEnum$2;
162
162
 
163
- var error$1 = {};
163
+ var error$2 = {};
164
164
 
165
- error$1.isntError = error$1.isError = void 0;
166
- function isError$1(val) {
165
+ error$2.isntError = error$2.isError = void 0;
166
+ function isError$2(val) {
167
167
  return val instanceof Error;
168
168
  }
169
- error$1.isError = isError$1;
170
- function isntError$1(val) {
171
- return !isError$1(val);
169
+ error$2.isError = isError$2;
170
+ function isntError$2(val) {
171
+ return !isError$2(val);
172
172
  }
173
- error$1.isntError = isntError$1;
173
+ error$2.isntError = isntError$2;
174
174
 
175
- var falsy$1 = {};
175
+ var falsy$2 = {};
176
176
 
177
- falsy$1.isntFalsy = falsy$1.isFalsy = void 0;
178
- function isFalsy$1(val) {
177
+ falsy$2.isntFalsy = falsy$2.isFalsy = void 0;
178
+ function isFalsy$2(val) {
179
179
  return !val;
180
180
  }
181
- falsy$1.isFalsy = isFalsy$1;
182
- function isntFalsy$1(val) {
183
- return !isFalsy$1(val);
181
+ falsy$2.isFalsy = isFalsy$2;
182
+ function isntFalsy$2(val) {
183
+ return !isFalsy$2(val);
184
184
  }
185
- falsy$1.isntFalsy = isntFalsy$1;
185
+ falsy$2.isntFalsy = isntFalsy$2;
186
186
 
187
- var iterable$1 = {};
187
+ var iterable$2 = {};
188
188
 
189
- iterable$1.isntIterable = iterable$1.isIterable = void 0;
190
- const null_1$3 = _null$1;
191
- const undefined_1$3 = _undefined$1;
192
- const function_1$1 = _function$1;
193
- function isIterable$1(val) {
194
- return (0, null_1$3.isntNull)(val)
195
- && (0, undefined_1$3.isntUndefined)(val)
196
- && (0, function_1$1.isFunction)(val[Symbol.iterator]);
189
+ iterable$2.isntIterable = iterable$2.isIterable = void 0;
190
+ const null_1$6 = _null$2;
191
+ const undefined_1$5 = _undefined$2;
192
+ const function_1$4 = _function$2;
193
+ function isIterable$2(val) {
194
+ return (0, null_1$6.isntNull)(val)
195
+ && (0, undefined_1$5.isntUndefined)(val)
196
+ && (0, function_1$4.isFunction)(val[Symbol.iterator]);
197
197
  }
198
- iterable$1.isIterable = isIterable$1;
199
- function isntIterable$1(val) {
200
- return !isIterable$1(val);
198
+ iterable$2.isIterable = isIterable$2;
199
+ function isntIterable$2(val) {
200
+ return !isIterable$2(val);
201
201
  }
202
- iterable$1.isntIterable = isntIterable$1;
202
+ iterable$2.isntIterable = isntIterable$2;
203
203
 
204
- var json$1 = {};
204
+ var json$2 = {};
205
205
 
206
- var number$1 = {};
206
+ var number$2 = {};
207
207
 
208
- number$1.isntNaN = number$1.isNaN = number$1.isNegativeInfinity = number$1.isPositiveInfinity = number$1.isFinite = number$1.isntNumber = number$1.isNumber = void 0;
209
- function isNumber$1(val) {
208
+ number$2.isntNaN = number$2.isNaN = number$2.isNegativeInfinity = number$2.isPositiveInfinity = number$2.isFinite = number$2.isntNumber = number$2.isNumber = void 0;
209
+ function isNumber$2(val) {
210
210
  return typeof val === 'number';
211
211
  }
212
- number$1.isNumber = isNumber$1;
213
- function isntNumber$1(val) {
214
- return !isNumber$1(val);
212
+ number$2.isNumber = isNumber$2;
213
+ function isntNumber$2(val) {
214
+ return !isNumber$2(val);
215
215
  }
216
- number$1.isntNumber = isntNumber$1;
217
- function isFinite(val) {
216
+ number$2.isntNumber = isntNumber$2;
217
+ function isFinite$1(val) {
218
218
  return Number.isFinite(val);
219
219
  }
220
- number$1.isFinite = isFinite;
221
- function isPositiveInfinity(val) {
220
+ number$2.isFinite = isFinite$1;
221
+ function isPositiveInfinity$1(val) {
222
222
  return val === Infinity;
223
223
  }
224
- number$1.isPositiveInfinity = isPositiveInfinity;
225
- function isNegativeInfinity(val) {
224
+ number$2.isPositiveInfinity = isPositiveInfinity$1;
225
+ function isNegativeInfinity$1(val) {
226
226
  return val === -Infinity;
227
227
  }
228
- number$1.isNegativeInfinity = isNegativeInfinity;
229
- function isNaN(val) {
228
+ number$2.isNegativeInfinity = isNegativeInfinity$1;
229
+ function isNaN$1(val) {
230
230
  return Number.isNaN(val);
231
231
  }
232
- number$1.isNaN = isNaN;
233
- function isntNaN(val) {
234
- return !isNaN(val);
232
+ number$2.isNaN = isNaN$1;
233
+ function isntNaN$1(val) {
234
+ return !isNaN$1(val);
235
235
  }
236
- number$1.isntNaN = isntNaN;
236
+ number$2.isntNaN = isntNaN$1;
237
237
 
238
- var object$1 = {};
238
+ var object$2 = {};
239
239
 
240
240
  /** Detect free variable `global` from Node.js. */
241
241
 
@@ -463,7 +463,7 @@ var objectCtorString$1 = funcToString$1.call(Object);
463
463
  * _.isPlainObject(Object.create(null));
464
464
  * // => true
465
465
  */
466
- function isPlainObject$3(value) {
466
+ function isPlainObject$4(value) {
467
467
  if (!isObjectLike$1(value) || baseGetTag(value) != objectTag$1) {
468
468
  return false;
469
469
  }
@@ -476,59 +476,59 @@ function isPlainObject$3(value) {
476
476
  funcToString$1.call(Ctor) == objectCtorString$1;
477
477
  }
478
478
 
479
- var isPlainObject_1$1 = isPlainObject$3;
479
+ var isPlainObject_1$2 = isPlainObject$4;
480
480
 
481
- var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
481
+ var __importDefault$2 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
482
482
  return (mod && mod.__esModule) ? mod : { "default": mod };
483
- };object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
484
- const isPlainObject_1 = __importDefault$1(isPlainObject_1$1);
485
- function isObject$1(val) {
483
+ };object$2.isntEmptyObject = object$2.isEmptyObject = object$2.isntPlainObject = object$2.isPlainObject = object$2.isntObject = object$2.isObject = void 0;
484
+ const isPlainObject_1$1 = __importDefault$2(isPlainObject_1$2);
485
+ function isObject$2(val) {
486
486
  return val !== null
487
487
  && typeof val === 'object';
488
488
  }
489
- object$1.isObject = isObject$1;
490
- function isntObject$1(val) {
491
- return !isObject$1(val);
489
+ object$2.isObject = isObject$2;
490
+ function isntObject$2(val) {
491
+ return !isObject$2(val);
492
492
  }
493
- object$1.isntObject = isntObject$1;
494
- function isPlainObject$2(val) {
495
- return (0, isPlainObject_1.default)(val);
493
+ object$2.isntObject = isntObject$2;
494
+ function isPlainObject$3(val) {
495
+ return (0, isPlainObject_1$1.default)(val);
496
496
  }
497
- object$1.isPlainObject = isPlainObject$2;
498
- function isntPlainObject$1(val) {
499
- return !isPlainObject$2(val);
497
+ object$2.isPlainObject = isPlainObject$3;
498
+ function isntPlainObject$2(val) {
499
+ return !isPlainObject$3(val);
500
500
  }
501
- object$1.isntPlainObject = isntPlainObject$1;
502
- function isEmptyObject$1(val) {
501
+ object$2.isntPlainObject = isntPlainObject$2;
502
+ function isEmptyObject$2(val) {
503
503
  return Object.keys(val).length === 0;
504
504
  }
505
- object$1.isEmptyObject = isEmptyObject$1;
506
- function isntEmptyObject$1(val) {
505
+ object$2.isEmptyObject = isEmptyObject$2;
506
+ function isntEmptyObject$2(val) {
507
507
  return Object.keys(val).length !== 0;
508
508
  }
509
- object$1.isntEmptyObject = isntEmptyObject$1;
510
-
511
- json$1.isntJsonable = json$1.isJsonable = json$1.isntJson = json$1.isJson = void 0;
512
- const null_1$2 = _null$1;
513
- const boolean_1 = boolean$1;
514
- const string_1$2 = string$1;
515
- const number_1$1 = number$1;
516
- const array_1$1 = array$1;
517
- const object_1$2 = object$1;
518
- function isJson$1(val) {
519
- return (0, null_1$2.isNull)(val)
520
- || (0, boolean_1.isBoolean)(val)
521
- || (0, string_1$2.isString)(val)
522
- || (0, number_1$1.isNumber)(val)
523
- || ((0, array_1$1.isArray)(val) && val.every(isJson$1))
524
- || ((0, object_1$2.isPlainObject)(val) && Object.values(val).every(isJson$1));
525
- }
526
- json$1.isJson = isJson$1;
527
- function isntJson$1(val) {
528
- return !isJson$1(val);
529
- }
530
- json$1.isntJson = isntJson$1;
531
- function isJsonable(val) {
509
+ object$2.isntEmptyObject = isntEmptyObject$2;
510
+
511
+ json$2.isntJsonable = json$2.isJsonable = json$2.isntJson = json$2.isJson = void 0;
512
+ const null_1$5 = _null$2;
513
+ const boolean_1$1 = boolean$2;
514
+ const string_1$4 = string$2;
515
+ const number_1$2 = number$2;
516
+ const array_1$2 = array$2;
517
+ const object_1$4 = object$2;
518
+ function isJson$2(val) {
519
+ return (0, null_1$5.isNull)(val)
520
+ || (0, boolean_1$1.isBoolean)(val)
521
+ || (0, string_1$4.isString)(val)
522
+ || (0, number_1$2.isNumber)(val)
523
+ || ((0, array_1$2.isArray)(val) && val.every(isJson$2))
524
+ || ((0, object_1$4.isPlainObject)(val) && Object.values(val).every(isJson$2));
525
+ }
526
+ json$2.isJson = isJson$2;
527
+ function isntJson$2(val) {
528
+ return !isJson$2(val);
529
+ }
530
+ json$2.isntJson = isntJson$2;
531
+ function isJsonable$1(val) {
532
532
  try {
533
533
  JSON.stringify(val);
534
534
  return true;
@@ -537,39 +537,39 @@ function isJsonable(val) {
537
537
  return false;
538
538
  }
539
539
  }
540
- json$1.isJsonable = isJsonable;
541
- function isntJsonable(val) {
542
- return !isntJsonable();
540
+ json$2.isJsonable = isJsonable$1;
541
+ function isntJsonable$1(val) {
542
+ return !isntJsonable$1();
543
543
  }
544
- json$1.isntJsonable = isntJsonable;
544
+ json$2.isntJsonable = isntJsonable$1;
545
545
 
546
- var promise = {};
546
+ var promise$1 = {};
547
547
 
548
- promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
549
- const object_1$1 = object$1;
550
- const function_1 = _function$1;
551
- function isPromise(val) {
548
+ promise$1.isPromiseLike = promise$1.isntPromiseLike = promise$1.isntPromise = promise$1.isPromise = void 0;
549
+ const object_1$3 = object$2;
550
+ const function_1$3 = _function$2;
551
+ function isPromise$1(val) {
552
552
  return val instanceof Promise;
553
553
  }
554
- promise.isPromise = isPromise;
555
- function isntPromise(val) {
556
- return !isPromise(val);
554
+ promise$1.isPromise = isPromise$1;
555
+ function isntPromise$1(val) {
556
+ return !isPromise$1(val);
557
557
  }
558
- promise.isntPromise = isntPromise;
559
- function isntPromiseLike(val) {
560
- return !isPromiseLike(val);
558
+ promise$1.isntPromise = isntPromise$1;
559
+ function isntPromiseLike$1(val) {
560
+ return !isPromiseLike$1(val);
561
561
  }
562
- promise.isntPromiseLike = isntPromiseLike;
563
- function isPromiseLike(val) {
564
- return (0, object_1$1.isObject)(val)
565
- && (0, function_1.isFunction)(val.then);
562
+ promise$1.isntPromiseLike = isntPromiseLike$1;
563
+ function isPromiseLike$1(val) {
564
+ return (0, object_1$3.isObject)(val)
565
+ && (0, function_1$3.isFunction)(val.then);
566
566
  }
567
- promise.isPromiseLike = isPromiseLike;
567
+ promise$1.isPromiseLike = isPromiseLike$1;
568
568
 
569
- var url$1 = {};
569
+ var url$2 = {};
570
570
 
571
- url$1.isAbsoluteURL = void 0;
572
- function isAbsoluteURL$1(str) {
571
+ url$2.isAbsoluteURL = void 0;
572
+ function isAbsoluteURL$2(str) {
573
573
  try {
574
574
  new URL(str);
575
575
  return true;
@@ -578,7 +578,19 @@ function isAbsoluteURL$1(str) {
578
578
  return false;
579
579
  }
580
580
  }
581
- url$1.isAbsoluteURL = isAbsoluteURL$1;
581
+ url$2.isAbsoluteURL = isAbsoluteURL$2;
582
+
583
+ var regexp = {};
584
+
585
+ regexp.isntRegExp = regexp.isRegExp = void 0;
586
+ function isRegExp(val) {
587
+ return val instanceof RegExp;
588
+ }
589
+ regexp.isRegExp = isRegExp;
590
+ function isntRegExp(val) {
591
+ return !isRegExp(val);
592
+ }
593
+ regexp.isntRegExp = isntRegExp;
582
594
 
583
595
  (function (exports) {
584
596
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -594,30 +606,31 @@ url$1.isAbsoluteURL = isAbsoluteURL$1;
594
606
  }));
595
607
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
596
608
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
597
- };__exportStar(array$1, exports);
598
- __exportStar(asyncIterable$1, exports);
599
- __exportStar(bigint$1, exports);
600
- __exportStar(boolean$1, exports);
601
- __exportStar(char$1, exports);
602
- __exportStar(date$1, exports);
603
- __exportStar(_enum$1, exports);
604
- __exportStar(error$1, exports);
605
- __exportStar(falsy$1, exports);
606
- __exportStar(_function$1, exports);
607
- __exportStar(iterable$1, exports);
608
- __exportStar(json$1, exports);
609
- __exportStar(_null$1, exports);
610
- __exportStar(number$1, exports);
611
- __exportStar(object$1, exports);
612
- __exportStar(promise, exports);
613
- __exportStar(string$1, exports);
614
- __exportStar(_undefined$1, exports);
615
- __exportStar(url$1, exports);
609
+ };__exportStar(array$2, exports);
610
+ __exportStar(asyncIterable$2, exports);
611
+ __exportStar(bigint$2, exports);
612
+ __exportStar(boolean$2, exports);
613
+ __exportStar(char$2, exports);
614
+ __exportStar(date$2, exports);
615
+ __exportStar(_enum$2, exports);
616
+ __exportStar(error$2, exports);
617
+ __exportStar(falsy$2, exports);
618
+ __exportStar(_function$2, exports);
619
+ __exportStar(iterable$2, exports);
620
+ __exportStar(json$2, exports);
621
+ __exportStar(_null$2, exports);
622
+ __exportStar(number$2, exports);
623
+ __exportStar(object$2, exports);
624
+ __exportStar(promise$1, exports);
625
+ __exportStar(string$2, exports);
626
+ __exportStar(_undefined$2, exports);
627
+ __exportStar(url$2, exports);
628
+ __exportStar(regexp, exports);
616
629
 
617
- } (es2018$d));
630
+ } (es2018$e));
618
631
 
619
632
  function convertConsToArray([value, next]) {
620
- if (es2018$d.isNull(next)) {
633
+ if (es2018$e.isNull(next)) {
621
634
  return [value];
622
635
  }
623
636
  else {
@@ -756,17 +769,17 @@ class Queue {
756
769
  }
757
770
  }
758
771
 
759
- var es2018$c = {};
772
+ var es2018$d = {};
760
773
 
761
774
  var customError$2 = {};
762
775
 
763
- var es2018$b = {};
776
+ var es2018$c = {};
764
777
 
765
778
  var middleware$2 = {};
766
779
 
767
780
  var chunkAsync$5 = {};
768
781
 
769
- var es2018$a = {};
782
+ var es2018$b = {};
770
783
 
771
784
  var go$3 = {};
772
785
 
@@ -788,19 +801,19 @@ go$3.go = go$2;
788
801
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
789
802
  };__exportStar(go$3, exports);
790
803
 
791
- } (es2018$a));
804
+ } (es2018$b));
792
805
 
793
- var es2018$9 = {};
806
+ var es2018$a = {};
794
807
 
795
808
  var customError$1 = {};
796
809
 
797
- var es2018$8 = {};
810
+ var es2018$9 = {};
798
811
 
799
812
  var middleware$1 = {};
800
813
 
801
814
  var chunkAsync$4 = {};
802
815
 
803
- var es2018$7 = {};
816
+ var es2018$8 = {};
804
817
 
805
818
  var customError = {};
806
819
 
@@ -878,11 +891,11 @@ assert$5.assert = assert$4;
878
891
  __exportStar(refute$1, exports);
879
892
  __exportStar(assert$5, exports);
880
893
 
881
- } (es2018$7));
894
+ } (es2018$8));
882
895
 
883
896
  chunkAsync$4.chunkAsync = void 0;
884
- const go_1$L = es2018$a;
885
- const errors_1$L = es2018$7;
897
+ const go_1$L = es2018$b;
898
+ const errors_1$L = es2018$8;
886
899
  function chunkAsync$3(iterable, size) {
887
900
  (0, errors_1$L.assert)(Number.isInteger(size), 'The parameter size must be an integer');
888
901
  (0, errors_1$L.assert)(size > 0, 'The parameter size must be greater than 0');
@@ -903,193 +916,193 @@ chunkAsync$4.chunkAsync = chunkAsync$3;
903
916
 
904
917
  var chunkByAsync$5 = {};
905
918
 
906
- var es2018$6 = {};
919
+ var es2018$7 = {};
907
920
 
908
- var array = {};
921
+ var array$1 = {};
909
922
 
910
- array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
911
- function isArray(val) {
923
+ array$1.isntEmptyArray = array$1.isEmptyArray = array$1.isntArray = array$1.isArray = void 0;
924
+ function isArray$1(val) {
912
925
  return Array.isArray(val);
913
926
  }
914
- array.isArray = isArray;
915
- function isntArray(val) {
916
- return !isArray(val);
927
+ array$1.isArray = isArray$1;
928
+ function isntArray$1(val) {
929
+ return !isArray$1(val);
917
930
  }
918
- array.isntArray = isntArray;
919
- function isEmptyArray(val) {
931
+ array$1.isntArray = isntArray$1;
932
+ function isEmptyArray$1(val) {
920
933
  return val.length === 0;
921
934
  }
922
- array.isEmptyArray = isEmptyArray;
923
- function isntEmptyArray(val) {
935
+ array$1.isEmptyArray = isEmptyArray$1;
936
+ function isntEmptyArray$1(val) {
924
937
  return val.length !== 0;
925
938
  }
926
- array.isntEmptyArray = isntEmptyArray;
939
+ array$1.isntEmptyArray = isntEmptyArray$1;
927
940
 
928
- var asyncIterable = {};
941
+ var asyncIterable$1 = {};
929
942
 
930
- var _null = {};
943
+ var _null$1 = {};
931
944
 
932
- _null.isntNull = _null.isNull = void 0;
933
- function isNull(val) {
945
+ _null$1.isntNull = _null$1.isNull = void 0;
946
+ function isNull$1(val) {
934
947
  return val === null;
935
948
  }
936
- _null.isNull = isNull;
937
- function isntNull(val) {
938
- return !isNull(val);
949
+ _null$1.isNull = isNull$1;
950
+ function isntNull$1(val) {
951
+ return !isNull$1(val);
939
952
  }
940
- _null.isntNull = isntNull;
953
+ _null$1.isntNull = isntNull$1;
941
954
 
942
- var _undefined = {};
955
+ var _undefined$1 = {};
943
956
 
944
- _undefined.isntUndefined = _undefined.isUndefined = void 0;
945
- function isUndefined(val) {
957
+ _undefined$1.isntUndefined = _undefined$1.isUndefined = void 0;
958
+ function isUndefined$1(val) {
946
959
  return val === undefined;
947
960
  }
948
- _undefined.isUndefined = isUndefined;
949
- function isntUndefined(val) {
950
- return !isUndefined(val);
961
+ _undefined$1.isUndefined = isUndefined$1;
962
+ function isntUndefined$1(val) {
963
+ return !isUndefined$1(val);
951
964
  }
952
- _undefined.isntUndefined = isntUndefined;
965
+ _undefined$1.isntUndefined = isntUndefined$1;
953
966
 
954
- asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
955
- const null_1$1 = _null;
956
- const undefined_1$2 = _undefined;
957
- function isAsyncIterable(val) {
958
- return (0, null_1$1.isntNull)(val)
959
- && (0, undefined_1$2.isntUndefined)(val)
967
+ asyncIterable$1.isntAsyncIterable = asyncIterable$1.isAsyncIterable = void 0;
968
+ const null_1$4 = _null$1;
969
+ const undefined_1$4 = _undefined$1;
970
+ function isAsyncIterable$1(val) {
971
+ return (0, null_1$4.isntNull)(val)
972
+ && (0, undefined_1$4.isntUndefined)(val)
960
973
  && typeof val[Symbol.asyncIterator] === 'function';
961
974
  }
962
- asyncIterable.isAsyncIterable = isAsyncIterable;
963
- function isntAsyncIterable(val) {
964
- return !isAsyncIterable(val);
975
+ asyncIterable$1.isAsyncIterable = isAsyncIterable$1;
976
+ function isntAsyncIterable$1(val) {
977
+ return !isAsyncIterable$1(val);
965
978
  }
966
- asyncIterable.isntAsyncIterable = isntAsyncIterable;
979
+ asyncIterable$1.isntAsyncIterable = isntAsyncIterable$1;
967
980
 
968
- var bigint = {};
981
+ var bigint$1 = {};
969
982
 
970
- bigint.isntBigInt = bigint.isBigInt = void 0;
971
- function isBigInt(val) {
983
+ bigint$1.isntBigInt = bigint$1.isBigInt = void 0;
984
+ function isBigInt$1(val) {
972
985
  return typeof val === 'bigint';
973
986
  }
974
- bigint.isBigInt = isBigInt;
975
- function isntBigInt(val) {
976
- return !isBigInt(val);
987
+ bigint$1.isBigInt = isBigInt$1;
988
+ function isntBigInt$1(val) {
989
+ return !isBigInt$1(val);
977
990
  }
978
- bigint.isntBigInt = isntBigInt;
991
+ bigint$1.isntBigInt = isntBigInt$1;
979
992
 
980
- var boolean = {};
993
+ var boolean$1 = {};
981
994
 
982
- boolean.isntBoolean = boolean.isBoolean = void 0;
983
- function isBoolean(val) {
995
+ boolean$1.isntBoolean = boolean$1.isBoolean = void 0;
996
+ function isBoolean$1(val) {
984
997
  return typeof val === 'boolean';
985
998
  }
986
- boolean.isBoolean = isBoolean;
987
- function isntBoolean(val) {
988
- return !isBoolean(val);
999
+ boolean$1.isBoolean = isBoolean$1;
1000
+ function isntBoolean$1(val) {
1001
+ return !isBoolean$1(val);
989
1002
  }
990
- boolean.isntBoolean = isntBoolean;
1003
+ boolean$1.isntBoolean = isntBoolean$1;
991
1004
 
992
- var char = {};
1005
+ var char$1 = {};
993
1006
 
994
- var string = {};
1007
+ var string$1 = {};
995
1008
 
996
- string.isntString = string.isString = void 0;
997
- function isString(val) {
1009
+ string$1.isntString = string$1.isString = void 0;
1010
+ function isString$1(val) {
998
1011
  return typeof val === 'string';
999
1012
  }
1000
- string.isString = isString;
1001
- function isntString(val) {
1002
- return !isString(val);
1013
+ string$1.isString = isString$1;
1014
+ function isntString$1(val) {
1015
+ return !isString$1(val);
1003
1016
  }
1004
- string.isntString = isntString;
1017
+ string$1.isntString = isntString$1;
1005
1018
 
1006
- char.isntChar = char.isChar = void 0;
1007
- const string_1$1 = string;
1008
- function isChar(val) {
1009
- return (0, string_1$1.isString)(val)
1019
+ char$1.isntChar = char$1.isChar = void 0;
1020
+ const string_1$3 = string$1;
1021
+ function isChar$1(val) {
1022
+ return (0, string_1$3.isString)(val)
1010
1023
  && val.length === 1;
1011
1024
  }
1012
- char.isChar = isChar;
1013
- function isntChar(val) {
1014
- return !isChar(val);
1025
+ char$1.isChar = isChar$1;
1026
+ function isntChar$1(val) {
1027
+ return !isChar$1(val);
1015
1028
  }
1016
- char.isntChar = isntChar;
1029
+ char$1.isntChar = isntChar$1;
1017
1030
 
1018
- var date = {};
1031
+ var date$1 = {};
1019
1032
 
1020
- date.isntDate = date.isDate = void 0;
1021
- function isDate(val) {
1033
+ date$1.isntDate = date$1.isDate = void 0;
1034
+ function isDate$1(val) {
1022
1035
  return val instanceof Date;
1023
1036
  }
1024
- date.isDate = isDate;
1025
- function isntDate(val) {
1026
- return !isDate(val);
1037
+ date$1.isDate = isDate$1;
1038
+ function isntDate$1(val) {
1039
+ return !isDate$1(val);
1027
1040
  }
1028
- date.isntDate = isntDate;
1041
+ date$1.isntDate = isntDate$1;
1029
1042
 
1030
- var _enum = {};
1043
+ var _enum$1 = {};
1031
1044
 
1032
- _enum.inEnum = void 0;
1033
- function inEnum(val, _enum) {
1045
+ _enum$1.inEnum = void 0;
1046
+ function inEnum$1(val, _enum) {
1034
1047
  return Object.values(_enum).includes(val);
1035
1048
  }
1036
- _enum.inEnum = inEnum;
1049
+ _enum$1.inEnum = inEnum$1;
1037
1050
 
1038
- var error = {};
1051
+ var error$1 = {};
1039
1052
 
1040
- error.isntError = error.isError = void 0;
1041
- function isError(val) {
1053
+ error$1.isntError = error$1.isError = void 0;
1054
+ function isError$1(val) {
1042
1055
  return val instanceof Error;
1043
1056
  }
1044
- error.isError = isError;
1045
- function isntError(val) {
1046
- return !isError(val);
1057
+ error$1.isError = isError$1;
1058
+ function isntError$1(val) {
1059
+ return !isError$1(val);
1047
1060
  }
1048
- error.isntError = isntError;
1061
+ error$1.isntError = isntError$1;
1049
1062
 
1050
- var falsy = {};
1063
+ var falsy$1 = {};
1051
1064
 
1052
- falsy.isntFalsy = falsy.isFalsy = void 0;
1053
- function isFalsy(val) {
1065
+ falsy$1.isntFalsy = falsy$1.isFalsy = void 0;
1066
+ function isFalsy$1(val) {
1054
1067
  return !val;
1055
1068
  }
1056
- falsy.isFalsy = isFalsy;
1057
- function isntFalsy(val) {
1058
- return !isFalsy(val);
1069
+ falsy$1.isFalsy = isFalsy$1;
1070
+ function isntFalsy$1(val) {
1071
+ return !isFalsy$1(val);
1059
1072
  }
1060
- falsy.isntFalsy = isntFalsy;
1073
+ falsy$1.isntFalsy = isntFalsy$1;
1061
1074
 
1062
- var _function = {};
1075
+ var _function$1 = {};
1063
1076
 
1064
- _function.isntFunction = _function.isFunction = void 0;
1065
- function isFunction$1(val) {
1077
+ _function$1.isntFunction = _function$1.isFunction = void 0;
1078
+ function isFunction$2(val) {
1066
1079
  return typeof val === 'function';
1067
1080
  }
1068
- _function.isFunction = isFunction$1;
1069
- function isntFunction(val) {
1070
- return !isFunction$1(val);
1081
+ _function$1.isFunction = isFunction$2;
1082
+ function isntFunction$1(val) {
1083
+ return !isFunction$2(val);
1071
1084
  }
1072
- _function.isntFunction = isntFunction;
1085
+ _function$1.isntFunction = isntFunction$1;
1073
1086
 
1074
- var iterable = {};
1087
+ var iterable$1 = {};
1075
1088
 
1076
- iterable.isntIterable = iterable.isIterable = void 0;
1077
- const null_1 = _null;
1078
- const undefined_1$1 = _undefined;
1079
- function isIterable(val) {
1080
- return (0, null_1.isntNull)(val)
1081
- && (0, undefined_1$1.isntUndefined)(val)
1089
+ iterable$1.isntIterable = iterable$1.isIterable = void 0;
1090
+ const null_1$3 = _null$1;
1091
+ const undefined_1$3 = _undefined$1;
1092
+ function isIterable$1(val) {
1093
+ return (0, null_1$3.isntNull)(val)
1094
+ && (0, undefined_1$3.isntUndefined)(val)
1082
1095
  && typeof val[Symbol.iterator] === 'function';
1083
1096
  }
1084
- iterable.isIterable = isIterable;
1085
- function isntIterable(val) {
1086
- return !isIterable(val);
1097
+ iterable$1.isIterable = isIterable$1;
1098
+ function isntIterable$1(val) {
1099
+ return !isIterable$1(val);
1087
1100
  }
1088
- iterable.isntIterable = isntIterable;
1101
+ iterable$1.isntIterable = isntIterable$1;
1089
1102
 
1090
1103
  var jsonRpc = {};
1091
1104
 
1092
- var object = {};
1105
+ var object$1 = {};
1093
1106
 
1094
1107
  /**
1095
1108
  * lodash (Custom Build) <https://lodash.com/>
@@ -1215,7 +1228,7 @@ function isObjectLike(value) {
1215
1228
  * _.isPlainObject(Object.create(null));
1216
1229
  * // => true
1217
1230
  */
1218
- function isPlainObject$1(value) {
1231
+ function isPlainObject$2(value) {
1219
1232
  if (!isObjectLike(value) ||
1220
1233
  objectToString.call(value) != objectTag || isHostObject(value)) {
1221
1234
  return false;
@@ -1229,67 +1242,67 @@ function isPlainObject$1(value) {
1229
1242
  Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString);
1230
1243
  }
1231
1244
 
1232
- var lodash_isplainobject = isPlainObject$1;
1245
+ var lodash_isplainobject = isPlainObject$2;
1233
1246
 
1234
- var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
1247
+ var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
1235
1248
  return (mod && mod.__esModule) ? mod : { "default": mod };
1236
- };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
1237
- const lodash_isplainobject_1 = __importDefault(lodash_isplainobject);
1238
- function isObject(val) {
1249
+ };object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
1250
+ const lodash_isplainobject_1 = __importDefault$1(lodash_isplainobject);
1251
+ function isObject$1(val) {
1239
1252
  return val !== null
1240
1253
  && typeof val === 'object';
1241
1254
  }
1242
- object.isObject = isObject;
1243
- function isntObject(val) {
1244
- return !isObject(val);
1255
+ object$1.isObject = isObject$1;
1256
+ function isntObject$1(val) {
1257
+ return !isObject$1(val);
1245
1258
  }
1246
- object.isntObject = isntObject;
1247
- function isPlainObject(val) {
1259
+ object$1.isntObject = isntObject$1;
1260
+ function isPlainObject$1(val) {
1248
1261
  return (0, lodash_isplainobject_1.default)(val);
1249
1262
  }
1250
- object.isPlainObject = isPlainObject;
1251
- function isntPlainObject(val) {
1252
- return !isPlainObject(val);
1263
+ object$1.isPlainObject = isPlainObject$1;
1264
+ function isntPlainObject$1(val) {
1265
+ return !isPlainObject$1(val);
1253
1266
  }
1254
- object.isntPlainObject = isntPlainObject;
1255
- function isEmptyObject(val) {
1267
+ object$1.isntPlainObject = isntPlainObject$1;
1268
+ function isEmptyObject$1(val) {
1256
1269
  return Object.keys(val).length === 0;
1257
1270
  }
1258
- object.isEmptyObject = isEmptyObject;
1259
- function isntEmptyObject(val) {
1271
+ object$1.isEmptyObject = isEmptyObject$1;
1272
+ function isntEmptyObject$1(val) {
1260
1273
  return Object.keys(val).length !== 0;
1261
1274
  }
1262
- object.isntEmptyObject = isntEmptyObject;
1275
+ object$1.isntEmptyObject = isntEmptyObject$1;
1263
1276
 
1264
- var number = {};
1277
+ var number$1 = {};
1265
1278
 
1266
- number.isntNumber = number.isNumber = void 0;
1267
- function isNumber(val) {
1279
+ number$1.isntNumber = number$1.isNumber = void 0;
1280
+ function isNumber$1(val) {
1268
1281
  return typeof val === 'number';
1269
1282
  }
1270
- number.isNumber = isNumber;
1271
- function isntNumber(val) {
1272
- return !isNumber(val);
1283
+ number$1.isNumber = isNumber$1;
1284
+ function isntNumber$1(val) {
1285
+ return !isNumber$1(val);
1273
1286
  }
1274
- number.isntNumber = isntNumber;
1287
+ number$1.isntNumber = isntNumber$1;
1275
1288
 
1276
1289
  jsonRpc.isntJsonRpcError = jsonRpc.isJsonRpcError = jsonRpc.isntJsonRpcSuccess = jsonRpc.isJsonRpcSuccess = jsonRpc.isntJsonRpcRequest = jsonRpc.isJsonRpcRequest = jsonRpc.isntJsonRpcNotification = jsonRpc.isJsonRpcNotification = void 0;
1277
- const array_1 = array;
1278
- const object_1 = object;
1279
- const string_1 = string;
1280
- const number_1 = number;
1281
- const undefined_1 = _undefined;
1290
+ const array_1$1 = array$1;
1291
+ const object_1$2 = object$1;
1292
+ const string_1$2 = string$1;
1293
+ const number_1$1 = number$1;
1294
+ const undefined_1$2 = _undefined$1;
1282
1295
  function isJsonRpcId(val) {
1283
- return (0, string_1.isString)(val) || (0, number_1.isNumber)(val);
1296
+ return (0, string_1$2.isString)(val) || (0, number_1$1.isNumber)(val);
1284
1297
  }
1285
1298
  function isJsonRpcParams(val) {
1286
- return (0, array_1.isArray)(val) || (0, object_1.isObject)(val);
1299
+ return (0, array_1$1.isArray)(val) || (0, object_1$2.isObject)(val);
1287
1300
  }
1288
1301
  function isJsonRpcNotification(val) {
1289
- return (0, object_1.isPlainObject)(val)
1290
- && (0, string_1.isString)(val.jsonrpc)
1291
- && (0, string_1.isString)(val.method)
1292
- && (0, undefined_1.isUndefined)(val.id)
1302
+ return (0, object_1$2.isPlainObject)(val)
1303
+ && (0, string_1$2.isString)(val.jsonrpc)
1304
+ && (0, string_1$2.isString)(val.method)
1305
+ && (0, undefined_1$2.isUndefined)(val.id)
1293
1306
  && isJsonRpcParams(val.params);
1294
1307
  }
1295
1308
  jsonRpc.isJsonRpcNotification = isJsonRpcNotification;
@@ -1298,9 +1311,9 @@ function isntJsonRpcNotification(val) {
1298
1311
  }
1299
1312
  jsonRpc.isntJsonRpcNotification = isntJsonRpcNotification;
1300
1313
  function isJsonRpcRequest(val) {
1301
- return (0, object_1.isPlainObject)(val)
1302
- && (0, string_1.isString)(val.jsonrpc)
1303
- && (0, string_1.isString)(val.method)
1314
+ return (0, object_1$2.isPlainObject)(val)
1315
+ && (0, string_1$2.isString)(val.jsonrpc)
1316
+ && (0, string_1$2.isString)(val.method)
1304
1317
  && isJsonRpcId(val.id)
1305
1318
  && isJsonRpcParams(val.params);
1306
1319
  }
@@ -1310,9 +1323,9 @@ function isntJsonRpcRequest(val) {
1310
1323
  }
1311
1324
  jsonRpc.isntJsonRpcRequest = isntJsonRpcRequest;
1312
1325
  function isJsonRpcSuccess(val) {
1313
- return (0, object_1.isPlainObject)(val)
1314
- && (0, string_1.isString)(val.jsonrpc)
1315
- && (0, string_1.isString)(val.id)
1326
+ return (0, object_1$2.isPlainObject)(val)
1327
+ && (0, string_1$2.isString)(val.jsonrpc)
1328
+ && (0, string_1$2.isString)(val.id)
1316
1329
  && 'result' in val;
1317
1330
  }
1318
1331
  jsonRpc.isJsonRpcSuccess = isJsonRpcSuccess;
@@ -1321,8 +1334,8 @@ function isntJsonRpcSuccess(val) {
1321
1334
  }
1322
1335
  jsonRpc.isntJsonRpcSuccess = isntJsonRpcSuccess;
1323
1336
  function isJsonRpcError(val) {
1324
- return (0, object_1.isPlainObject)(val)
1325
- && (0, string_1.isString)(val.jsonrpc)
1337
+ return (0, object_1$2.isPlainObject)(val)
1338
+ && (0, string_1$2.isString)(val.jsonrpc)
1326
1339
  && isJsonRpcId(val.id)
1327
1340
  && isJsonRpcErrorObject(val.error);
1328
1341
  }
@@ -1332,16 +1345,16 @@ function isntJsonRpcError(val) {
1332
1345
  }
1333
1346
  jsonRpc.isntJsonRpcError = isntJsonRpcError;
1334
1347
  function isJsonRpcErrorObject(val) {
1335
- return (0, object_1.isPlainObject)(val)
1336
- && (0, number_1.isNumber)(val.code)
1337
- && (0, string_1.isString)(val.message)
1338
- && ((0, undefined_1.isUndefined)(val.data) || (0, object_1.isObject)(val.data));
1348
+ return (0, object_1$2.isPlainObject)(val)
1349
+ && (0, number_1$1.isNumber)(val.code)
1350
+ && (0, string_1$2.isString)(val.message)
1351
+ && ((0, undefined_1$2.isUndefined)(val.data) || (0, object_1$2.isObject)(val.data));
1339
1352
  }
1340
1353
 
1341
- var json = {};
1354
+ var json$1 = {};
1342
1355
 
1343
- json.isntJson = json.isJson = void 0;
1344
- function isJson(val) {
1356
+ json$1.isntJson = json$1.isJson = void 0;
1357
+ function isJson$1(val) {
1345
1358
  try {
1346
1359
  JSON.stringify(val);
1347
1360
  return true;
@@ -1350,16 +1363,16 @@ function isJson(val) {
1350
1363
  return false;
1351
1364
  }
1352
1365
  }
1353
- json.isJson = isJson;
1354
- function isntJson(val) {
1355
- return !isntJson();
1366
+ json$1.isJson = isJson$1;
1367
+ function isntJson$1(val) {
1368
+ return !isntJson$1();
1356
1369
  }
1357
- json.isntJson = isntJson;
1370
+ json$1.isntJson = isntJson$1;
1358
1371
 
1359
- var url = {};
1372
+ var url$1 = {};
1360
1373
 
1361
- url.isAbsoluteURL = void 0;
1362
- function isAbsoluteURL(str) {
1374
+ url$1.isAbsoluteURL = void 0;
1375
+ function isAbsoluteURL$1(str) {
1363
1376
  try {
1364
1377
  new URL(str);
1365
1378
  return true;
@@ -1368,7 +1381,7 @@ function isAbsoluteURL(str) {
1368
1381
  return false;
1369
1382
  }
1370
1383
  }
1371
- url.isAbsoluteURL = isAbsoluteURL;
1384
+ url$1.isAbsoluteURL = isAbsoluteURL$1;
1372
1385
 
1373
1386
  (function (exports) {
1374
1387
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -1380,30 +1393,30 @@ url.isAbsoluteURL = isAbsoluteURL;
1380
1393
  }));
1381
1394
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
1382
1395
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
1383
- };__exportStar(array, exports);
1384
- __exportStar(asyncIterable, exports);
1385
- __exportStar(bigint, exports);
1386
- __exportStar(boolean, exports);
1387
- __exportStar(char, exports);
1388
- __exportStar(date, exports);
1389
- __exportStar(_enum, exports);
1390
- __exportStar(error, exports);
1391
- __exportStar(falsy, exports);
1392
- __exportStar(_function, exports);
1393
- __exportStar(iterable, exports);
1394
- __exportStar(jsonRpc, exports);
1395
- __exportStar(json, exports);
1396
- __exportStar(_null, exports);
1397
- __exportStar(number, exports);
1398
- __exportStar(object, exports);
1399
- __exportStar(string, exports);
1400
- __exportStar(_undefined, exports);
1401
- __exportStar(url, exports);
1396
+ };__exportStar(array$1, exports);
1397
+ __exportStar(asyncIterable$1, exports);
1398
+ __exportStar(bigint$1, exports);
1399
+ __exportStar(boolean$1, exports);
1400
+ __exportStar(char$1, exports);
1401
+ __exportStar(date$1, exports);
1402
+ __exportStar(_enum$1, exports);
1403
+ __exportStar(error$1, exports);
1404
+ __exportStar(falsy$1, exports);
1405
+ __exportStar(_function$1, exports);
1406
+ __exportStar(iterable$1, exports);
1407
+ __exportStar(jsonRpc, exports);
1408
+ __exportStar(json$1, exports);
1409
+ __exportStar(_null$1, exports);
1410
+ __exportStar(number$1, exports);
1411
+ __exportStar(object$1, exports);
1412
+ __exportStar(string$1, exports);
1413
+ __exportStar(_undefined$1, exports);
1414
+ __exportStar(url$1, exports);
1402
1415
 
1403
- } (es2018$6));
1416
+ } (es2018$7));
1404
1417
 
1405
1418
  chunkByAsync$5.chunkByAsync = void 0;
1406
- const types_1$X = es2018$6;
1419
+ const types_1$X = es2018$7;
1407
1420
  function chunkByAsync$4(iterable, predicate) {
1408
1421
  if ((0, types_1$X.isAsyncIterable)(iterable)) {
1409
1422
  return chunkByAsyncIterable(iterable);
@@ -1464,8 +1477,8 @@ chunkBy$5.chunkBy = chunkBy$4;
1464
1477
  var chunk$5 = {};
1465
1478
 
1466
1479
  chunk$5.chunk = void 0;
1467
- const go_1$K = es2018$a;
1468
- const errors_1$K = es2018$7;
1480
+ const go_1$K = es2018$b;
1481
+ const errors_1$K = es2018$8;
1469
1482
  function chunk$4(iterable, size) {
1470
1483
  (0, errors_1$K.assert)(Number.isInteger(size), 'The parameter size must be an integer');
1471
1484
  (0, errors_1$K.assert)(size > 0, 'The parameter size must be greater than 0');
@@ -1487,8 +1500,8 @@ chunk$5.chunk = chunk$4;
1487
1500
  var concatAsync$5 = {};
1488
1501
 
1489
1502
  concatAsync$5.concatAsync = void 0;
1490
- const types_1$W = es2018$6;
1491
- const go_1$J = es2018$a;
1503
+ const types_1$W = es2018$7;
1504
+ const go_1$J = es2018$b;
1492
1505
  function concatAsync$4(iterable, ...otherIterables) {
1493
1506
  return (0, go_1$J.go)(async function* () {
1494
1507
  for (const iter of [iterable, ...otherIterables]) {
@@ -1510,7 +1523,7 @@ concatAsync$5.concatAsync = concatAsync$4;
1510
1523
  var concat$5 = {};
1511
1524
 
1512
1525
  concat$5.concat = void 0;
1513
- const go_1$I = es2018$a;
1526
+ const go_1$I = es2018$b;
1514
1527
  function concat$4(iterable, ...otherIterables) {
1515
1528
  return (0, go_1$I.go)(function* () {
1516
1529
  for (const iter of [iterable, ...otherIterables]) {
@@ -1539,9 +1552,9 @@ function* copyIterable$2(iterable) {
1539
1552
  utils$2.copyIterable = copyIterable$2;
1540
1553
 
1541
1554
  dropAsync$5.dropAsync = void 0;
1542
- const go_1$H = es2018$a;
1555
+ const go_1$H = es2018$b;
1543
1556
  const utils_1$b = utils$2;
1544
- const errors_1$J = es2018$7;
1557
+ const errors_1$J = es2018$8;
1545
1558
  function dropAsync$4(iterable, count) {
1546
1559
  (0, errors_1$J.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1547
1560
  (0, errors_1$J.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -1574,9 +1587,9 @@ dropAsync$5.dropAsync = dropAsync$4;
1574
1587
  var dropRightAsync$5 = {};
1575
1588
 
1576
1589
  dropRightAsync$5.dropRightAsync = void 0;
1577
- const go_1$G = es2018$a;
1590
+ const go_1$G = es2018$b;
1578
1591
  const utils_1$a = utils$2;
1579
- const errors_1$I = es2018$7;
1592
+ const errors_1$I = es2018$8;
1580
1593
  function dropRightAsync$4(iterable, count) {
1581
1594
  (0, errors_1$I.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1582
1595
  (0, errors_1$I.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -1602,9 +1615,9 @@ async function toArrayAsync$8(iterable) {
1602
1615
  var dropRight$5 = {};
1603
1616
 
1604
1617
  dropRight$5.dropRight = void 0;
1605
- const go_1$F = es2018$a;
1618
+ const go_1$F = es2018$b;
1606
1619
  const utils_1$9 = utils$2;
1607
- const errors_1$H = es2018$7;
1620
+ const errors_1$H = es2018$8;
1608
1621
  function dropRight$4(iterable, count) {
1609
1622
  (0, errors_1$H.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1610
1623
  (0, errors_1$H.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -1620,7 +1633,7 @@ dropRight$5.dropRight = dropRight$4;
1620
1633
  var dropUntilAsync$5 = {};
1621
1634
 
1622
1635
  dropUntilAsync$5.dropUntilAsync = void 0;
1623
- const types_1$V = es2018$6;
1636
+ const types_1$V = es2018$7;
1624
1637
  function dropUntilAsync$4(iterable, predicate) {
1625
1638
  if ((0, types_1$V.isAsyncIterable)(iterable)) {
1626
1639
  return dropUntilAsyncIterable(iterable);
@@ -1702,9 +1715,9 @@ dropUntil$5.dropUntil = dropUntil$4;
1702
1715
  var drop$5 = {};
1703
1716
 
1704
1717
  drop$5.drop = void 0;
1705
- const go_1$E = es2018$a;
1718
+ const go_1$E = es2018$b;
1706
1719
  const utils_1$8 = utils$2;
1707
- const errors_1$G = es2018$7;
1720
+ const errors_1$G = es2018$8;
1708
1721
  function drop$4(iterable, count) {
1709
1722
  (0, errors_1$G.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1710
1723
  (0, errors_1$G.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -1737,7 +1750,7 @@ drop$5.drop = drop$4;
1737
1750
  var filterAsync$5 = {};
1738
1751
 
1739
1752
  filterAsync$5.filterAsync = void 0;
1740
- const types_1$U = es2018$6;
1753
+ const types_1$U = es2018$7;
1741
1754
  function filterAsync$4(iterable, predicate) {
1742
1755
  if ((0, types_1$U.isAsyncIterable)(iterable)) {
1743
1756
  return filterAsyncIterable(iterable);
@@ -1784,7 +1797,7 @@ var flattenDeepAsync$5 = {};
1784
1797
  var flattenByAsync$5 = {};
1785
1798
 
1786
1799
  flattenByAsync$5.flattenByAsync = void 0;
1787
- const types_1$T = es2018$6;
1800
+ const types_1$T = es2018$7;
1788
1801
  function flattenByAsync$4(iterable, predicate) {
1789
1802
  if ((0, types_1$T.isAsyncIterable)(iterable)) {
1790
1803
  return flattenByAsyncIterable(iterable);
@@ -1824,7 +1837,7 @@ function isFiniteIterable$5(val) {
1824
1837
 
1825
1838
  flattenDeepAsync$5.flattenDeepAsync = void 0;
1826
1839
  const flatten_by_async_1$2 = flattenByAsync$5;
1827
- const errors_1$F = es2018$7;
1840
+ const errors_1$F = es2018$8;
1828
1841
  function flattenDeepAsync$4(iterable, depth = Infinity) {
1829
1842
  (0, errors_1$F.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
1830
1843
  (0, errors_1$F.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -1842,7 +1855,7 @@ flattenAsync$5.flattenAsync = flattenAsync$4;
1842
1855
  var flattenBy$5 = {};
1843
1856
 
1844
1857
  flattenBy$5.flattenBy = void 0;
1845
- const types_1$S = es2018$6;
1858
+ const types_1$S = es2018$7;
1846
1859
  function flattenBy$4(iterable, predicate) {
1847
1860
  return flatten(iterable, 1);
1848
1861
  function* flatten(iterable, level) {
@@ -1865,7 +1878,7 @@ var flattenDeep$5 = {};
1865
1878
 
1866
1879
  flattenDeep$5.flattenDeep = void 0;
1867
1880
  const flatten_by_1$2 = flattenBy$5;
1868
- const errors_1$E = es2018$7;
1881
+ const errors_1$E = es2018$8;
1869
1882
  function flattenDeep$4(iterable, depth = Infinity) {
1870
1883
  (0, errors_1$E.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
1871
1884
  (0, errors_1$E.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -1885,7 +1898,7 @@ flatten$5.flatten = flatten$4;
1885
1898
  var mapAsync$5 = {};
1886
1899
 
1887
1900
  mapAsync$5.mapAsync = void 0;
1888
- const types_1$R = es2018$6;
1901
+ const types_1$R = es2018$7;
1889
1902
  function mapAsync$4(iterable, fn) {
1890
1903
  if ((0, types_1$R.isAsyncIterable)(iterable)) {
1891
1904
  return mapAsyncIterable(iterable);
@@ -1925,8 +1938,8 @@ map$5.map = map$4;
1925
1938
  var repeatAsync$5 = {};
1926
1939
 
1927
1940
  repeatAsync$5.repeatAsync = void 0;
1928
- const go_1$D = es2018$a;
1929
- const errors_1$D = es2018$7;
1941
+ const go_1$D = es2018$b;
1942
+ const errors_1$D = es2018$8;
1930
1943
  function repeatAsync$4(iterable, times) {
1931
1944
  (0, errors_1$D.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
1932
1945
  (0, errors_1$D.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -1960,8 +1973,8 @@ function isProduction$5() {
1960
1973
  var repeat$5 = {};
1961
1974
 
1962
1975
  repeat$5.repeat = void 0;
1963
- const go_1$C = es2018$a;
1964
- const errors_1$C = es2018$7;
1976
+ const go_1$C = es2018$b;
1977
+ const errors_1$C = es2018$8;
1965
1978
  function repeat$4(iterable, times) {
1966
1979
  (0, errors_1$C.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
1967
1980
  (0, errors_1$C.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -1995,8 +2008,8 @@ function isProduction$4() {
1995
2008
  var sliceAsync$5 = {};
1996
2009
 
1997
2010
  sliceAsync$5.sliceAsync = void 0;
1998
- const go_1$B = es2018$a;
1999
- const errors_1$B = es2018$7;
2011
+ const go_1$B = es2018$b;
2012
+ const errors_1$B = es2018$8;
2000
2013
  function sliceAsync$4(iterable, start, end = Infinity) {
2001
2014
  (0, errors_1$B.assert)(Number.isInteger(start), 'The parameter start must be an integer');
2002
2015
  (0, errors_1$B.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -2018,8 +2031,8 @@ sliceAsync$5.sliceAsync = sliceAsync$4;
2018
2031
  var slice$5 = {};
2019
2032
 
2020
2033
  slice$5.slice = void 0;
2021
- const go_1$A = es2018$a;
2022
- const errors_1$A = es2018$7;
2034
+ const go_1$A = es2018$b;
2035
+ const errors_1$A = es2018$8;
2023
2036
  function slice$4(iterable, start, end = Infinity) {
2024
2037
  (0, errors_1$A.assert)(Number.isInteger(start), 'The parameter start must be an integer');
2025
2038
  (0, errors_1$A.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -2059,7 +2072,7 @@ splitAsync$5.splitAsync = splitAsync$4;
2059
2072
  var splitByAsync$5 = {};
2060
2073
 
2061
2074
  splitByAsync$5.splitByAsync = void 0;
2062
- const types_1$Q = es2018$6;
2075
+ const types_1$Q = es2018$7;
2063
2076
  function splitByAsync$4(iterable, predicate) {
2064
2077
  if ((0, types_1$Q.isAsyncIterable)(iterable)) {
2065
2078
  return splitByAsyncIterable(iterable);
@@ -2141,8 +2154,8 @@ split$5.split = split$4;
2141
2154
  var takeAsync$5 = {};
2142
2155
 
2143
2156
  takeAsync$5.takeAsync = void 0;
2144
- const go_1$z = es2018$a;
2145
- const errors_1$z = es2018$7;
2157
+ const go_1$z = es2018$b;
2158
+ const errors_1$z = es2018$8;
2146
2159
  function takeAsync$4(iterable, count) {
2147
2160
  (0, errors_1$z.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2148
2161
  (0, errors_1$z.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2162,8 +2175,8 @@ takeAsync$5.takeAsync = takeAsync$4;
2162
2175
  var takeRightAsync$5 = {};
2163
2176
 
2164
2177
  takeRightAsync$5.takeRightAsync = void 0;
2165
- const go_1$y = es2018$a;
2166
- const errors_1$y = es2018$7;
2178
+ const go_1$y = es2018$b;
2179
+ const errors_1$y = es2018$8;
2167
2180
  function takeRightAsync$4(iterable, count) {
2168
2181
  (0, errors_1$y.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2169
2182
  (0, errors_1$y.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2192,8 +2205,8 @@ takeRightAsync$5.takeRightAsync = takeRightAsync$4;
2192
2205
  var takeRight$5 = {};
2193
2206
 
2194
2207
  takeRight$5.takeRight = void 0;
2195
- const go_1$x = es2018$a;
2196
- const errors_1$x = es2018$7;
2208
+ const go_1$x = es2018$b;
2209
+ const errors_1$x = es2018$8;
2197
2210
  function takeRight$4(iterable, count) {
2198
2211
  (0, errors_1$x.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2199
2212
  (0, errors_1$x.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2222,7 +2235,7 @@ takeRight$5.takeRight = takeRight$4;
2222
2235
  var takeUntilAsync$5 = {};
2223
2236
 
2224
2237
  takeUntilAsync$5.takeUntilAsync = void 0;
2225
- const types_1$P = es2018$6;
2238
+ const types_1$P = es2018$7;
2226
2239
  function takeUntilAsync$4(iterable, predicate) {
2227
2240
  if ((0, types_1$P.isAsyncIterable)(iterable)) {
2228
2241
  return takeUntilAsyncIterable(iterable);
@@ -2268,8 +2281,8 @@ takeUntil$5.takeUntil = takeUntil$4;
2268
2281
  var take$5 = {};
2269
2282
 
2270
2283
  take$5.take = void 0;
2271
- const go_1$w = es2018$a;
2272
- const errors_1$w = es2018$7;
2284
+ const go_1$w = es2018$b;
2285
+ const errors_1$w = es2018$8;
2273
2286
  function take$4(iterable, count) {
2274
2287
  (0, errors_1$w.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2275
2288
  (0, errors_1$w.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2289,7 +2302,7 @@ take$5.take = take$4;
2289
2302
  var tapAsync$5 = {};
2290
2303
 
2291
2304
  tapAsync$5.tapAsync = void 0;
2292
- const types_1$O = es2018$6;
2305
+ const types_1$O = es2018$7;
2293
2306
  function tapAsync$4(iterable, fn) {
2294
2307
  if ((0, types_1$O.isAsyncIterable)(iterable)) {
2295
2308
  return tapAsyncIterable(iterable);
@@ -2372,7 +2385,7 @@ uniqAsync$5.uniqAsync = uniqAsync$4;
2372
2385
  var uniqByAsync$5 = {};
2373
2386
 
2374
2387
  uniqByAsync$5.uniqByAsync = void 0;
2375
- const types_1$N = es2018$6;
2388
+ const types_1$N = es2018$7;
2376
2389
  function uniqByAsync$4(iterable, fn) {
2377
2390
  if ((0, types_1$N.isAsyncIterable)(iterable)) {
2378
2391
  return uniqByAsyncIterable(iterable);
@@ -2441,7 +2454,7 @@ uniq$5.uniq = uniq$4;
2441
2454
  var zipAsync$5 = {};
2442
2455
 
2443
2456
  zipAsync$5.zipAsync = void 0;
2444
- const types_1$M = es2018$6;
2457
+ const types_1$M = es2018$7;
2445
2458
  var Kind$2;
2446
2459
  (function (Kind) {
2447
2460
  Kind[Kind["Sync"] = 0] = "Sync";
@@ -2601,7 +2614,7 @@ consume$5.consume = consume$4;
2601
2614
  var eachAsync$5 = {};
2602
2615
 
2603
2616
  eachAsync$5.eachAsync = void 0;
2604
- const types_1$L = es2018$6;
2617
+ const types_1$L = es2018$7;
2605
2618
  function eachAsync$4(iterable, fn) {
2606
2619
  if ((0, types_1$L.isAsyncIterable)(iterable)) {
2607
2620
  return eachAsyncIterable(iterable);
@@ -2641,7 +2654,7 @@ each$5.each = each$4;
2641
2654
  var everyAsync$5 = {};
2642
2655
 
2643
2656
  everyAsync$5.everyAsync = void 0;
2644
- const types_1$K = es2018$6;
2657
+ const types_1$K = es2018$7;
2645
2658
  function everyAsync$4(iterable, predicate) {
2646
2659
  if ((0, types_1$K.isAsyncIterable)(iterable)) {
2647
2660
  return everyAsyncIterable(iterable);
@@ -2687,7 +2700,7 @@ every$5.every = every$4;
2687
2700
  var findAsync$5 = {};
2688
2701
 
2689
2702
  findAsync$5.findAsync = void 0;
2690
- const types_1$J = es2018$6;
2703
+ const types_1$J = es2018$7;
2691
2704
  function findAsync$4(iterable, predicate) {
2692
2705
  if ((0, types_1$J.isAsyncIterable)(iterable)) {
2693
2706
  return findAsyncIterable(iterable);
@@ -2811,7 +2824,7 @@ match$5.match = match$4;
2811
2824
  var reduceAsync$5 = {};
2812
2825
 
2813
2826
  reduceAsync$5.reduceAsync = void 0;
2814
- const types_1$I = es2018$6;
2827
+ const types_1$I = es2018$7;
2815
2828
  function reduceAsync$4(iterable, fn, initialValue) {
2816
2829
  if ((0, types_1$I.isUndefined)(initialValue)) {
2817
2830
  return reduceAsyncWithoutInitialValue$2(iterable, fn);
@@ -2907,7 +2920,7 @@ function reduceAsyncWithoutInitialValue$2(iterable, fn) {
2907
2920
  var reduce$5 = {};
2908
2921
 
2909
2922
  reduce$5.reduce = void 0;
2910
- const types_1$H = es2018$6;
2923
+ const types_1$H = es2018$7;
2911
2924
  function reduce$4(iterable, fn, initialValue) {
2912
2925
  if ((0, types_1$H.isUndefined)(initialValue)) {
2913
2926
  return reduceWithoutInitialValue$2(iterable, fn);
@@ -2954,7 +2967,7 @@ function reduceWithoutInitialValue$2(iterable, fn) {
2954
2967
  var someAsync$5 = {};
2955
2968
 
2956
2969
  someAsync$5.someAsync = void 0;
2957
- const types_1$G = es2018$6;
2970
+ const types_1$G = es2018$7;
2958
2971
  function someAsync$4(iterable, predicate) {
2959
2972
  if ((0, types_1$G.isAsyncIterable)(iterable)) {
2960
2973
  return someAsyncIterable(iterable);
@@ -3138,7 +3151,7 @@ toSet$5.toSet = toSet$4;
3138
3151
  };__exportStar(middleware$1, exports);
3139
3152
  __exportStar(output$2, exports);
3140
3153
 
3141
- } (es2018$8));
3154
+ } (es2018$9));
3142
3155
 
3143
3156
  var getErrorNames$3 = {};
3144
3157
 
@@ -3156,7 +3169,7 @@ function* traverseErrorPrototypeChain$2(err) {
3156
3169
  traverseErrorPrototypeChain$3.traverseErrorPrototypeChain = traverseErrorPrototypeChain$2;
3157
3170
 
3158
3171
  getErrorNames$3.getErrorNames = void 0;
3159
- const types_1$F = es2018$6;
3172
+ const types_1$F = es2018$7;
3160
3173
  const traverse_error_prototype_chain_1$1 = traverseErrorPrototypeChain$3;
3161
3174
  function* getErrorNames$2(err) {
3162
3175
  var _a;
@@ -3177,7 +3190,7 @@ getErrorNames$3.getErrorNames = getErrorNames$2;
3177
3190
  var serializableError$1 = {};
3178
3191
 
3179
3192
  serializableError$1.isSerializableError = void 0;
3180
- const types_1$E = es2018$6;
3193
+ const types_1$E = es2018$7;
3181
3194
  function isSerializableError$1(val) {
3182
3195
  return (0, types_1$E.isObject)(val)
3183
3196
  && (0, types_1$E.isString)(val.name)
@@ -3188,9 +3201,9 @@ function isSerializableError$1(val) {
3188
3201
  serializableError$1.isSerializableError = isSerializableError$1;
3189
3202
 
3190
3203
  customError$1.CustomError = void 0;
3191
- const iterable_operator_1$3 = es2018$8;
3204
+ const iterable_operator_1$3 = es2018$9;
3192
3205
  const get_error_names_1$3 = getErrorNames$3;
3193
- const types_1$D = es2018$6;
3206
+ const types_1$D = es2018$7;
3194
3207
  const serializable_error_1$1 = serializableError$1;
3195
3208
  class CustomError$1 extends Error {
3196
3209
  get name() {
@@ -3226,7 +3239,7 @@ var normalize$3 = {};
3226
3239
 
3227
3240
  normalize$3.normalize = void 0;
3228
3241
  const get_error_names_1$2 = getErrorNames$3;
3229
- const iterable_operator_1$2 = es2018$8;
3242
+ const iterable_operator_1$2 = es2018$9;
3230
3243
  function normalize$2(err) {
3231
3244
  var _a;
3232
3245
  const [name, ...ancestors] = (0, iterable_operator_1$2.toArray)((0, get_error_names_1$2.getErrorNames)(err));
@@ -3241,7 +3254,7 @@ normalize$3.normalize = normalize$2;
3241
3254
 
3242
3255
  var hydrate$3 = {};
3243
3256
 
3244
- var es2018$5 = {};
3257
+ var es2018$6 = {};
3245
3258
 
3246
3259
  var pass$3 = {};
3247
3260
 
@@ -3261,10 +3274,10 @@ pass$3.pass = pass$2;
3261
3274
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3262
3275
  };__exportStar(pass$3, exports);
3263
3276
 
3264
- } (es2018$5));
3277
+ } (es2018$6));
3265
3278
 
3266
3279
  hydrate$3.hydrate = void 0;
3267
- const pass_1$1 = es2018$5;
3280
+ const pass_1$1 = es2018$6;
3268
3281
  function hydrate$2(err) {
3269
3282
  var _a;
3270
3283
  const errorNames = [err.name, ...err.ancestors]
@@ -3318,11 +3331,11 @@ assert$3.assert = assert$2;
3318
3331
  __exportStar(getErrorNames$3, exports);
3319
3332
  __exportStar(traverseErrorPrototypeChain$3, exports);
3320
3333
 
3321
- } (es2018$9));
3334
+ } (es2018$a));
3322
3335
 
3323
3336
  chunkAsync$5.chunkAsync = void 0;
3324
- const go_1$v = es2018$a;
3325
- const errors_1$v = es2018$9;
3337
+ const go_1$v = es2018$b;
3338
+ const errors_1$v = es2018$a;
3326
3339
  function chunkAsync$2(iterable, size) {
3327
3340
  (0, errors_1$v.assert)(Number.isInteger(size), 'The parameter size must be an integer');
3328
3341
  (0, errors_1$v.assert)(size > 0, 'The parameter size must be greater than 0');
@@ -3344,7 +3357,7 @@ chunkAsync$5.chunkAsync = chunkAsync$2;
3344
3357
  var chunkByAsync$3 = {};
3345
3358
 
3346
3359
  chunkByAsync$3.chunkByAsync = void 0;
3347
- const types_1$C = es2018$6;
3360
+ const types_1$C = es2018$7;
3348
3361
  function chunkByAsync$2(iterable, predicate) {
3349
3362
  if ((0, types_1$C.isAsyncIterable)(iterable)) {
3350
3363
  return chunkByAsyncIterable(iterable);
@@ -3405,8 +3418,8 @@ chunkBy$3.chunkBy = chunkBy$2;
3405
3418
  var chunk$3 = {};
3406
3419
 
3407
3420
  chunk$3.chunk = void 0;
3408
- const go_1$u = es2018$a;
3409
- const errors_1$u = es2018$9;
3421
+ const go_1$u = es2018$b;
3422
+ const errors_1$u = es2018$a;
3410
3423
  function chunk$2(iterable, size) {
3411
3424
  (0, errors_1$u.assert)(Number.isInteger(size), 'The parameter size must be an integer');
3412
3425
  (0, errors_1$u.assert)(size > 0, 'The parameter size must be greater than 0');
@@ -3428,8 +3441,8 @@ chunk$3.chunk = chunk$2;
3428
3441
  var concatAsync$3 = {};
3429
3442
 
3430
3443
  concatAsync$3.concatAsync = void 0;
3431
- const types_1$B = es2018$6;
3432
- const go_1$t = es2018$a;
3444
+ const types_1$B = es2018$7;
3445
+ const go_1$t = es2018$b;
3433
3446
  function concatAsync$2(iterable, ...otherIterables) {
3434
3447
  return (0, go_1$t.go)(async function* () {
3435
3448
  for (const iter of [iterable, ...otherIterables]) {
@@ -3451,7 +3464,7 @@ concatAsync$3.concatAsync = concatAsync$2;
3451
3464
  var concat$3 = {};
3452
3465
 
3453
3466
  concat$3.concat = void 0;
3454
- const go_1$s = es2018$a;
3467
+ const go_1$s = es2018$b;
3455
3468
  function concat$2(iterable, ...otherIterables) {
3456
3469
  return (0, go_1$s.go)(function* () {
3457
3470
  for (const iter of [iterable, ...otherIterables]) {
@@ -3480,9 +3493,9 @@ function* copyIterable$1(iterable) {
3480
3493
  utils$1.copyIterable = copyIterable$1;
3481
3494
 
3482
3495
  dropAsync$3.dropAsync = void 0;
3483
- const go_1$r = es2018$a;
3496
+ const go_1$r = es2018$b;
3484
3497
  const utils_1$7 = utils$1;
3485
- const errors_1$t = es2018$9;
3498
+ const errors_1$t = es2018$a;
3486
3499
  function dropAsync$2(iterable, count) {
3487
3500
  (0, errors_1$t.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3488
3501
  (0, errors_1$t.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3515,9 +3528,9 @@ dropAsync$3.dropAsync = dropAsync$2;
3515
3528
  var dropRightAsync$3 = {};
3516
3529
 
3517
3530
  dropRightAsync$3.dropRightAsync = void 0;
3518
- const go_1$q = es2018$a;
3531
+ const go_1$q = es2018$b;
3519
3532
  const utils_1$6 = utils$1;
3520
- const errors_1$s = es2018$9;
3533
+ const errors_1$s = es2018$a;
3521
3534
  function dropRightAsync$2(iterable, count) {
3522
3535
  (0, errors_1$s.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3523
3536
  (0, errors_1$s.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3543,9 +3556,9 @@ async function toArrayAsync$5(iterable) {
3543
3556
  var dropRight$3 = {};
3544
3557
 
3545
3558
  dropRight$3.dropRight = void 0;
3546
- const go_1$p = es2018$a;
3559
+ const go_1$p = es2018$b;
3547
3560
  const utils_1$5 = utils$1;
3548
- const errors_1$r = es2018$9;
3561
+ const errors_1$r = es2018$a;
3549
3562
  function dropRight$2(iterable, count) {
3550
3563
  (0, errors_1$r.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3551
3564
  (0, errors_1$r.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3561,7 +3574,7 @@ dropRight$3.dropRight = dropRight$2;
3561
3574
  var dropUntilAsync$3 = {};
3562
3575
 
3563
3576
  dropUntilAsync$3.dropUntilAsync = void 0;
3564
- const types_1$A = es2018$6;
3577
+ const types_1$A = es2018$7;
3565
3578
  function dropUntilAsync$2(iterable, predicate) {
3566
3579
  if ((0, types_1$A.isAsyncIterable)(iterable)) {
3567
3580
  return dropUntilAsyncIterable(iterable);
@@ -3643,9 +3656,9 @@ dropUntil$3.dropUntil = dropUntil$2;
3643
3656
  var drop$3 = {};
3644
3657
 
3645
3658
  drop$3.drop = void 0;
3646
- const go_1$o = es2018$a;
3659
+ const go_1$o = es2018$b;
3647
3660
  const utils_1$4 = utils$1;
3648
- const errors_1$q = es2018$9;
3661
+ const errors_1$q = es2018$a;
3649
3662
  function drop$2(iterable, count) {
3650
3663
  (0, errors_1$q.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3651
3664
  (0, errors_1$q.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3678,7 +3691,7 @@ drop$3.drop = drop$2;
3678
3691
  var filterAsync$3 = {};
3679
3692
 
3680
3693
  filterAsync$3.filterAsync = void 0;
3681
- const types_1$z = es2018$6;
3694
+ const types_1$z = es2018$7;
3682
3695
  function filterAsync$2(iterable, predicate) {
3683
3696
  if ((0, types_1$z.isAsyncIterable)(iterable)) {
3684
3697
  return filterAsyncIterable(iterable);
@@ -3725,7 +3738,7 @@ var flattenDeepAsync$3 = {};
3725
3738
  var flattenByAsync$3 = {};
3726
3739
 
3727
3740
  flattenByAsync$3.flattenByAsync = void 0;
3728
- const types_1$y = es2018$6;
3741
+ const types_1$y = es2018$7;
3729
3742
  function flattenByAsync$2(iterable, predicate) {
3730
3743
  if ((0, types_1$y.isAsyncIterable)(iterable)) {
3731
3744
  return flattenByAsyncIterable(iterable);
@@ -3765,7 +3778,7 @@ function isFiniteIterable$3(val) {
3765
3778
 
3766
3779
  flattenDeepAsync$3.flattenDeepAsync = void 0;
3767
3780
  const flatten_by_async_1$1 = flattenByAsync$3;
3768
- const errors_1$p = es2018$9;
3781
+ const errors_1$p = es2018$a;
3769
3782
  function flattenDeepAsync$2(iterable, depth = Infinity) {
3770
3783
  (0, errors_1$p.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
3771
3784
  (0, errors_1$p.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -3783,7 +3796,7 @@ flattenAsync$3.flattenAsync = flattenAsync$2;
3783
3796
  var flattenBy$3 = {};
3784
3797
 
3785
3798
  flattenBy$3.flattenBy = void 0;
3786
- const types_1$x = es2018$6;
3799
+ const types_1$x = es2018$7;
3787
3800
  function flattenBy$2(iterable, predicate) {
3788
3801
  return flatten(iterable, 1);
3789
3802
  function* flatten(iterable, level) {
@@ -3806,7 +3819,7 @@ var flattenDeep$3 = {};
3806
3819
 
3807
3820
  flattenDeep$3.flattenDeep = void 0;
3808
3821
  const flatten_by_1$1 = flattenBy$3;
3809
- const errors_1$o = es2018$9;
3822
+ const errors_1$o = es2018$a;
3810
3823
  function flattenDeep$2(iterable, depth = Infinity) {
3811
3824
  (0, errors_1$o.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
3812
3825
  (0, errors_1$o.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -3826,7 +3839,7 @@ flatten$3.flatten = flatten$2;
3826
3839
  var mapAsync$3 = {};
3827
3840
 
3828
3841
  mapAsync$3.mapAsync = void 0;
3829
- const types_1$w = es2018$6;
3842
+ const types_1$w = es2018$7;
3830
3843
  function mapAsync$2(iterable, fn) {
3831
3844
  if ((0, types_1$w.isAsyncIterable)(iterable)) {
3832
3845
  return mapAsyncIterable(iterable);
@@ -3866,8 +3879,8 @@ map$3.map = map$2;
3866
3879
  var repeatAsync$3 = {};
3867
3880
 
3868
3881
  repeatAsync$3.repeatAsync = void 0;
3869
- const go_1$n = es2018$a;
3870
- const errors_1$n = es2018$9;
3882
+ const go_1$n = es2018$b;
3883
+ const errors_1$n = es2018$a;
3871
3884
  function repeatAsync$2(iterable, times) {
3872
3885
  (0, errors_1$n.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
3873
3886
  (0, errors_1$n.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -3901,8 +3914,8 @@ function isProduction$3() {
3901
3914
  var repeat$3 = {};
3902
3915
 
3903
3916
  repeat$3.repeat = void 0;
3904
- const go_1$m = es2018$a;
3905
- const errors_1$m = es2018$9;
3917
+ const go_1$m = es2018$b;
3918
+ const errors_1$m = es2018$a;
3906
3919
  function repeat$2(iterable, times) {
3907
3920
  (0, errors_1$m.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
3908
3921
  (0, errors_1$m.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -3936,8 +3949,8 @@ function isProduction$2() {
3936
3949
  var sliceAsync$3 = {};
3937
3950
 
3938
3951
  sliceAsync$3.sliceAsync = void 0;
3939
- const go_1$l = es2018$a;
3940
- const errors_1$l = es2018$9;
3952
+ const go_1$l = es2018$b;
3953
+ const errors_1$l = es2018$a;
3941
3954
  function sliceAsync$2(iterable, start, end = Infinity) {
3942
3955
  (0, errors_1$l.assert)(Number.isInteger(start), 'The parameter start must be an integer');
3943
3956
  (0, errors_1$l.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -3959,8 +3972,8 @@ sliceAsync$3.sliceAsync = sliceAsync$2;
3959
3972
  var slice$3 = {};
3960
3973
 
3961
3974
  slice$3.slice = void 0;
3962
- const go_1$k = es2018$a;
3963
- const errors_1$k = es2018$9;
3975
+ const go_1$k = es2018$b;
3976
+ const errors_1$k = es2018$a;
3964
3977
  function slice$2(iterable, start, end = Infinity) {
3965
3978
  (0, errors_1$k.assert)(Number.isInteger(start), 'The parameter start must be an integer');
3966
3979
  (0, errors_1$k.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -4000,7 +4013,7 @@ splitAsync$3.splitAsync = splitAsync$2;
4000
4013
  var splitByAsync$3 = {};
4001
4014
 
4002
4015
  splitByAsync$3.splitByAsync = void 0;
4003
- const types_1$v = es2018$6;
4016
+ const types_1$v = es2018$7;
4004
4017
  function splitByAsync$2(iterable, predicate) {
4005
4018
  if ((0, types_1$v.isAsyncIterable)(iterable)) {
4006
4019
  return splitByAsyncIterable(iterable);
@@ -4082,8 +4095,8 @@ split$3.split = split$2;
4082
4095
  var takeAsync$3 = {};
4083
4096
 
4084
4097
  takeAsync$3.takeAsync = void 0;
4085
- const go_1$j = es2018$a;
4086
- const errors_1$j = es2018$9;
4098
+ const go_1$j = es2018$b;
4099
+ const errors_1$j = es2018$a;
4087
4100
  function takeAsync$2(iterable, count) {
4088
4101
  (0, errors_1$j.assert)(Number.isInteger(count), 'The parameter count must be an integer');
4089
4102
  (0, errors_1$j.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -4103,8 +4116,8 @@ takeAsync$3.takeAsync = takeAsync$2;
4103
4116
  var takeRightAsync$3 = {};
4104
4117
 
4105
4118
  takeRightAsync$3.takeRightAsync = void 0;
4106
- const go_1$i = es2018$a;
4107
- const errors_1$i = es2018$9;
4119
+ const go_1$i = es2018$b;
4120
+ const errors_1$i = es2018$a;
4108
4121
  function takeRightAsync$2(iterable, count) {
4109
4122
  (0, errors_1$i.assert)(Number.isInteger(count), 'The parameter count must be an integer');
4110
4123
  (0, errors_1$i.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -4133,8 +4146,8 @@ takeRightAsync$3.takeRightAsync = takeRightAsync$2;
4133
4146
  var takeRight$3 = {};
4134
4147
 
4135
4148
  takeRight$3.takeRight = void 0;
4136
- const go_1$h = es2018$a;
4137
- const errors_1$h = es2018$9;
4149
+ const go_1$h = es2018$b;
4150
+ const errors_1$h = es2018$a;
4138
4151
  function takeRight$2(iterable, count) {
4139
4152
  (0, errors_1$h.assert)(Number.isInteger(count), 'The parameter count must be an integer');
4140
4153
  (0, errors_1$h.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -4163,7 +4176,7 @@ takeRight$3.takeRight = takeRight$2;
4163
4176
  var takeUntilAsync$3 = {};
4164
4177
 
4165
4178
  takeUntilAsync$3.takeUntilAsync = void 0;
4166
- const types_1$u = es2018$6;
4179
+ const types_1$u = es2018$7;
4167
4180
  function takeUntilAsync$2(iterable, predicate) {
4168
4181
  if ((0, types_1$u.isAsyncIterable)(iterable)) {
4169
4182
  return takeUntilAsyncIterable(iterable);
@@ -4209,8 +4222,8 @@ takeUntil$3.takeUntil = takeUntil$2;
4209
4222
  var take$3 = {};
4210
4223
 
4211
4224
  take$3.take = void 0;
4212
- const go_1$g = es2018$a;
4213
- const errors_1$g = es2018$9;
4225
+ const go_1$g = es2018$b;
4226
+ const errors_1$g = es2018$a;
4214
4227
  function take$2(iterable, count) {
4215
4228
  (0, errors_1$g.assert)(Number.isInteger(count), 'The parameter count must be an integer');
4216
4229
  (0, errors_1$g.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -4230,7 +4243,7 @@ take$3.take = take$2;
4230
4243
  var tapAsync$3 = {};
4231
4244
 
4232
4245
  tapAsync$3.tapAsync = void 0;
4233
- const types_1$t = es2018$6;
4246
+ const types_1$t = es2018$7;
4234
4247
  function tapAsync$2(iterable, fn) {
4235
4248
  if ((0, types_1$t.isAsyncIterable)(iterable)) {
4236
4249
  return tapAsyncIterable(iterable);
@@ -4313,7 +4326,7 @@ uniqAsync$3.uniqAsync = uniqAsync$2;
4313
4326
  var uniqByAsync$3 = {};
4314
4327
 
4315
4328
  uniqByAsync$3.uniqByAsync = void 0;
4316
- const types_1$s = es2018$6;
4329
+ const types_1$s = es2018$7;
4317
4330
  function uniqByAsync$2(iterable, fn) {
4318
4331
  if ((0, types_1$s.isAsyncIterable)(iterable)) {
4319
4332
  return uniqByAsyncIterable(iterable);
@@ -4382,7 +4395,7 @@ uniq$3.uniq = uniq$2;
4382
4395
  var zipAsync$3 = {};
4383
4396
 
4384
4397
  zipAsync$3.zipAsync = void 0;
4385
- const types_1$r = es2018$6;
4398
+ const types_1$r = es2018$7;
4386
4399
  var Kind$1;
4387
4400
  (function (Kind) {
4388
4401
  Kind[Kind["Sync"] = 0] = "Sync";
@@ -4542,7 +4555,7 @@ consume$3.consume = consume$2;
4542
4555
  var eachAsync$3 = {};
4543
4556
 
4544
4557
  eachAsync$3.eachAsync = void 0;
4545
- const types_1$q = es2018$6;
4558
+ const types_1$q = es2018$7;
4546
4559
  function eachAsync$2(iterable, fn) {
4547
4560
  if ((0, types_1$q.isAsyncIterable)(iterable)) {
4548
4561
  return eachAsyncIterable(iterable);
@@ -4582,7 +4595,7 @@ each$3.each = each$2;
4582
4595
  var everyAsync$3 = {};
4583
4596
 
4584
4597
  everyAsync$3.everyAsync = void 0;
4585
- const types_1$p = es2018$6;
4598
+ const types_1$p = es2018$7;
4586
4599
  function everyAsync$2(iterable, predicate) {
4587
4600
  if ((0, types_1$p.isAsyncIterable)(iterable)) {
4588
4601
  return everyAsyncIterable(iterable);
@@ -4628,7 +4641,7 @@ every$3.every = every$2;
4628
4641
  var findAsync$3 = {};
4629
4642
 
4630
4643
  findAsync$3.findAsync = void 0;
4631
- const types_1$o = es2018$6;
4644
+ const types_1$o = es2018$7;
4632
4645
  function findAsync$2(iterable, predicate) {
4633
4646
  if ((0, types_1$o.isAsyncIterable)(iterable)) {
4634
4647
  return findAsyncIterable(iterable);
@@ -4752,7 +4765,7 @@ match$3.match = match$2;
4752
4765
  var reduceAsync$3 = {};
4753
4766
 
4754
4767
  reduceAsync$3.reduceAsync = void 0;
4755
- const types_1$n = es2018$6;
4768
+ const types_1$n = es2018$7;
4756
4769
  function reduceAsync$2(iterable, fn, initialValue) {
4757
4770
  if ((0, types_1$n.isUndefined)(initialValue)) {
4758
4771
  return reduceAsyncWithoutInitialValue$1(iterable, fn);
@@ -4848,7 +4861,7 @@ function reduceAsyncWithoutInitialValue$1(iterable, fn) {
4848
4861
  var reduce$3 = {};
4849
4862
 
4850
4863
  reduce$3.reduce = void 0;
4851
- const types_1$m = es2018$6;
4864
+ const types_1$m = es2018$7;
4852
4865
  function reduce$2(iterable, fn, initialValue) {
4853
4866
  if ((0, types_1$m.isUndefined)(initialValue)) {
4854
4867
  return reduceWithoutInitialValue$1(iterable, fn);
@@ -4895,7 +4908,7 @@ function reduceWithoutInitialValue$1(iterable, fn) {
4895
4908
  var someAsync$3 = {};
4896
4909
 
4897
4910
  someAsync$3.someAsync = void 0;
4898
- const types_1$l = es2018$6;
4911
+ const types_1$l = es2018$7;
4899
4912
  function someAsync$2(iterable, predicate) {
4900
4913
  if ((0, types_1$l.isAsyncIterable)(iterable)) {
4901
4914
  return someAsyncIterable(iterable);
@@ -5079,7 +5092,7 @@ toSet$3.toSet = toSet$2;
5079
5092
  };__exportStar(middleware$2, exports);
5080
5093
  __exportStar(output$1, exports);
5081
5094
 
5082
- } (es2018$b));
5095
+ } (es2018$c));
5083
5096
 
5084
5097
  var getErrorNames$1 = {};
5085
5098
 
@@ -5097,7 +5110,7 @@ function* traverseErrorPrototypeChain(err) {
5097
5110
  traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
5098
5111
 
5099
5112
  getErrorNames$1.getErrorNames = void 0;
5100
- const types_1$k = es2018$6;
5113
+ const types_1$k = es2018$7;
5101
5114
  const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
5102
5115
  function* getErrorNames(err) {
5103
5116
  var _a;
@@ -5118,7 +5131,7 @@ getErrorNames$1.getErrorNames = getErrorNames;
5118
5131
  var serializableError = {};
5119
5132
 
5120
5133
  serializableError.isSerializableError = void 0;
5121
- const types_1$j = es2018$6;
5134
+ const types_1$j = es2018$7;
5122
5135
  function isSerializableError(val) {
5123
5136
  return (0, types_1$j.isObject)(val)
5124
5137
  && (0, types_1$j.isString)(val.name)
@@ -5129,116 +5142,518 @@ function isSerializableError(val) {
5129
5142
  serializableError.isSerializableError = isSerializableError;
5130
5143
 
5131
5144
  customError$2.CustomError = void 0;
5132
- const iterable_operator_1$1 = es2018$b;
5145
+ const iterable_operator_1$1 = es2018$c;
5133
5146
  const get_error_names_1$1 = getErrorNames$1;
5134
- const types_1$i = es2018$6;
5147
+ const types_1$i = es2018$7;
5135
5148
  const serializable_error_1 = serializableError;
5136
5149
  class CustomError extends Error {
5137
5150
  get name() {
5138
5151
  var _a, _b;
5139
5152
  return (_b = (_a = (0, iterable_operator_1$1.first)((0, get_error_names_1$1.getErrorNames)(this))) !== null && _a !== void 0 ? _a : CustomError.name) !== null && _b !== void 0 ? _b : 'CustomError';
5140
5153
  }
5141
- static [Symbol.hasInstance](instance) {
5142
- var _a;
5143
- if ((0, types_1$i.isError)(instance) || (0, serializable_error_1.isSerializableError)(instance)) {
5144
- const reversedClassNames = [
5145
- (_a = this.prototype.constructor.name) !== null && _a !== void 0 ? _a : this.name,
5146
- ...(0, get_error_names_1$1.getErrorNames)(this.prototype)
5147
- ].reverse();
5148
- const reversedInstanceNames = (0, iterable_operator_1$1.toArray)((0, get_error_names_1$1.getErrorNames)(instance)).reverse();
5149
- return reversedClassNames.every((x, i) => x === reversedInstanceNames[i]);
5150
- }
5151
- else {
5152
- return false;
5153
- }
5154
+ static [Symbol.hasInstance](instance) {
5155
+ var _a;
5156
+ if ((0, types_1$i.isError)(instance) || (0, serializable_error_1.isSerializableError)(instance)) {
5157
+ const reversedClassNames = [
5158
+ (_a = this.prototype.constructor.name) !== null && _a !== void 0 ? _a : this.name,
5159
+ ...(0, get_error_names_1$1.getErrorNames)(this.prototype)
5160
+ ].reverse();
5161
+ const reversedInstanceNames = (0, iterable_operator_1$1.toArray)((0, get_error_names_1$1.getErrorNames)(instance)).reverse();
5162
+ return reversedClassNames.every((x, i) => x === reversedInstanceNames[i]);
5163
+ }
5164
+ else {
5165
+ return false;
5166
+ }
5167
+ }
5168
+ }
5169
+ customError$2.CustomError = CustomError;
5170
+
5171
+ var assertionError = {};
5172
+
5173
+ assertionError.AssertionError = void 0;
5174
+ const custom_error_1 = customError$2;
5175
+ class AssertionError extends custom_error_1.CustomError {
5176
+ }
5177
+ assertionError.AssertionError = AssertionError;
5178
+
5179
+ var normalize$1 = {};
5180
+
5181
+ normalize$1.normalize = void 0;
5182
+ const get_error_names_1 = getErrorNames$1;
5183
+ const iterable_operator_1 = es2018$c;
5184
+ function normalize(err) {
5185
+ var _a;
5186
+ const [name, ...ancestors] = (0, iterable_operator_1.toArray)((0, get_error_names_1.getErrorNames)(err));
5187
+ return {
5188
+ name,
5189
+ ancestors,
5190
+ message: err.message,
5191
+ stack: (_a = err.stack) !== null && _a !== void 0 ? _a : null
5192
+ };
5193
+ }
5194
+ normalize$1.normalize = normalize;
5195
+
5196
+ var hydrate$1 = {};
5197
+
5198
+ var es2018$5 = {};
5199
+
5200
+ var pass$1 = {};
5201
+
5202
+ pass$1.pass = void 0;
5203
+ function pass() { }
5204
+ pass$1.pass = pass;
5205
+
5206
+ (function (exports) {
5207
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5208
+ if (k2 === undefined) k2 = k;
5209
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5210
+ }) : (function(o, m, k, k2) {
5211
+ if (k2 === undefined) k2 = k;
5212
+ o[k2] = m[k];
5213
+ }));
5214
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
5215
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
5216
+ };__exportStar(pass$1, exports);
5217
+
5218
+ } (es2018$5));
5219
+
5220
+ hydrate$1.hydrate = void 0;
5221
+ const pass_1 = es2018$5;
5222
+ function hydrate(err) {
5223
+ var _a;
5224
+ const errorNames = [err.name, ...err.ancestors]
5225
+ .slice(0, -1)
5226
+ .reverse();
5227
+ let errorConstructor = Error;
5228
+ for (const name of errorNames) {
5229
+ errorConstructor = createChildErrorConstructor(errorConstructor, name);
5230
+ }
5231
+ const result = new errorConstructor();
5232
+ result.name = err.name;
5233
+ result.message = err.message;
5234
+ result.stack = (_a = err.stack) !== null && _a !== void 0 ? _a : undefined;
5235
+ return result;
5236
+ }
5237
+ hydrate$1.hydrate = hydrate;
5238
+ function createChildErrorConstructor(parentErrorConstructor, name) {
5239
+ const constructor = function () { (0, pass_1.pass)(); };
5240
+ constructor.prototype = Object.create(parentErrorConstructor.prototype);
5241
+ constructor.prototype.constructor = constructor;
5242
+ Object.defineProperty(constructor, 'name', { value: name });
5243
+ return constructor;
5244
+ }
5245
+
5246
+ var assert$1 = {};
5247
+
5248
+ assert$1.assert = void 0;
5249
+ const assertion_error_1 = assertionError;
5250
+ function assert(condition, message) {
5251
+ if (!condition)
5252
+ throw new assertion_error_1.AssertionError(message);
5253
+ }
5254
+ assert$1.assert = assert;
5255
+
5256
+ (function (exports) {
5257
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5258
+ if (k2 === undefined) k2 = k;
5259
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5260
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
5261
+ desc = { enumerable: true, get: function() { return m[k]; } };
5262
+ }
5263
+ Object.defineProperty(o, k2, desc);
5264
+ }) : (function(o, m, k, k2) {
5265
+ if (k2 === undefined) k2 = k;
5266
+ o[k2] = m[k];
5267
+ }));
5268
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
5269
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
5270
+ };__exportStar(customError$2, exports);
5271
+ __exportStar(assertionError, exports);
5272
+ __exportStar(serializableError, exports);
5273
+ __exportStar(normalize$1, exports);
5274
+ __exportStar(hydrate$1, exports);
5275
+ __exportStar(assert$1, exports);
5276
+ __exportStar(getErrorNames$1, exports);
5277
+ __exportStar(traverseErrorPrototypeChain$1, exports);
5278
+
5279
+ } (es2018$d));
5280
+
5281
+ var es2018$4 = {};
5282
+
5283
+ var middleware = {};
5284
+
5285
+ var chunkAsync$1 = {};
5286
+
5287
+ var es2018$3 = {};
5288
+
5289
+ var go$1 = {};
5290
+
5291
+ go$1.go = void 0;
5292
+ function go(fn) {
5293
+ return fn();
5294
+ }
5295
+ go$1.go = go;
5296
+
5297
+ (function (exports) {
5298
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5299
+ if (k2 === undefined) k2 = k;
5300
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5301
+ }) : (function(o, m, k, k2) {
5302
+ if (k2 === undefined) k2 = k;
5303
+ o[k2] = m[k];
5304
+ }));
5305
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
5306
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
5307
+ };__exportStar(go$1, exports);
5308
+
5309
+ } (es2018$3));
5310
+
5311
+ chunkAsync$1.chunkAsync = void 0;
5312
+ const go_1$f = es2018$3;
5313
+ const errors_1$f = es2018$d;
5314
+ function chunkAsync(iterable, size) {
5315
+ (0, errors_1$f.assert)(Number.isInteger(size), 'The parameter size must be an integer');
5316
+ (0, errors_1$f.assert)(size > 0, 'The parameter size must be greater than 0');
5317
+ return (0, go_1$f.go)(async function* () {
5318
+ let buffer = [];
5319
+ for await (const element of iterable) {
5320
+ buffer.push(element);
5321
+ if (buffer.length >= size) {
5322
+ yield buffer;
5323
+ buffer = [];
5324
+ }
5325
+ }
5326
+ if (buffer.length)
5327
+ yield buffer;
5328
+ });
5329
+ }
5330
+ chunkAsync$1.chunkAsync = chunkAsync;
5331
+
5332
+ var chunkByAsync$1 = {};
5333
+
5334
+ var es2018$2 = {};
5335
+
5336
+ var array = {};
5337
+
5338
+ array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
5339
+ function isArray(val) {
5340
+ return Array.isArray(val);
5341
+ }
5342
+ array.isArray = isArray;
5343
+ function isntArray(val) {
5344
+ return !isArray(val);
5345
+ }
5346
+ array.isntArray = isntArray;
5347
+ function isEmptyArray(val) {
5348
+ return val.length === 0;
5349
+ }
5350
+ array.isEmptyArray = isEmptyArray;
5351
+ function isntEmptyArray(val) {
5352
+ return val.length !== 0;
5353
+ }
5354
+ array.isntEmptyArray = isntEmptyArray;
5355
+
5356
+ var asyncIterable = {};
5357
+
5358
+ var _null = {};
5359
+
5360
+ _null.isntNull = _null.isNull = void 0;
5361
+ function isNull(val) {
5362
+ return val === null;
5363
+ }
5364
+ _null.isNull = isNull;
5365
+ function isntNull(val) {
5366
+ return !isNull(val);
5367
+ }
5368
+ _null.isntNull = isntNull;
5369
+
5370
+ var _undefined = {};
5371
+
5372
+ _undefined.isntUndefined = _undefined.isUndefined = void 0;
5373
+ function isUndefined(val) {
5374
+ return val === undefined;
5375
+ }
5376
+ _undefined.isUndefined = isUndefined;
5377
+ function isntUndefined(val) {
5378
+ return !isUndefined(val);
5379
+ }
5380
+ _undefined.isntUndefined = isntUndefined;
5381
+
5382
+ var _function = {};
5383
+
5384
+ _function.isntFunction = _function.isFunction = void 0;
5385
+ function isFunction$1(val) {
5386
+ return typeof val === 'function';
5387
+ }
5388
+ _function.isFunction = isFunction$1;
5389
+ function isntFunction(val) {
5390
+ return !isFunction$1(val);
5391
+ }
5392
+ _function.isntFunction = isntFunction;
5393
+
5394
+ asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
5395
+ const null_1$2 = _null;
5396
+ const undefined_1$1 = _undefined;
5397
+ const function_1$2 = _function;
5398
+ function isAsyncIterable(val) {
5399
+ return (0, null_1$2.isntNull)(val)
5400
+ && (0, undefined_1$1.isntUndefined)(val)
5401
+ && (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
5402
+ }
5403
+ asyncIterable.isAsyncIterable = isAsyncIterable;
5404
+ function isntAsyncIterable(val) {
5405
+ return !isAsyncIterable(val);
5406
+ }
5407
+ asyncIterable.isntAsyncIterable = isntAsyncIterable;
5408
+
5409
+ var bigint = {};
5410
+
5411
+ bigint.isntBigInt = bigint.isBigInt = void 0;
5412
+ function isBigInt(val) {
5413
+ return typeof val === 'bigint';
5414
+ }
5415
+ bigint.isBigInt = isBigInt;
5416
+ function isntBigInt(val) {
5417
+ return !isBigInt(val);
5418
+ }
5419
+ bigint.isntBigInt = isntBigInt;
5420
+
5421
+ var boolean = {};
5422
+
5423
+ boolean.isntBoolean = boolean.isBoolean = void 0;
5424
+ function isBoolean(val) {
5425
+ return typeof val === 'boolean';
5426
+ }
5427
+ boolean.isBoolean = isBoolean;
5428
+ function isntBoolean(val) {
5429
+ return !isBoolean(val);
5430
+ }
5431
+ boolean.isntBoolean = isntBoolean;
5432
+
5433
+ var char = {};
5434
+
5435
+ var string = {};
5436
+
5437
+ string.isntString = string.isString = void 0;
5438
+ function isString(val) {
5439
+ return typeof val === 'string';
5440
+ }
5441
+ string.isString = isString;
5442
+ function isntString(val) {
5443
+ return !isString(val);
5444
+ }
5445
+ string.isntString = isntString;
5446
+
5447
+ char.isntChar = char.isChar = void 0;
5448
+ const string_1$1 = string;
5449
+ function isChar(val) {
5450
+ return (0, string_1$1.isString)(val)
5451
+ && val.length === 1;
5452
+ }
5453
+ char.isChar = isChar;
5454
+ function isntChar(val) {
5455
+ return !isChar(val);
5456
+ }
5457
+ char.isntChar = isntChar;
5458
+
5459
+ var date = {};
5460
+
5461
+ date.isntDate = date.isDate = void 0;
5462
+ function isDate(val) {
5463
+ return val instanceof Date;
5464
+ }
5465
+ date.isDate = isDate;
5466
+ function isntDate(val) {
5467
+ return !isDate(val);
5468
+ }
5469
+ date.isntDate = isntDate;
5470
+
5471
+ var _enum = {};
5472
+
5473
+ _enum.inEnum = void 0;
5474
+ function inEnum(val, _enum) {
5475
+ return Object.values(_enum).includes(val);
5476
+ }
5477
+ _enum.inEnum = inEnum;
5478
+
5479
+ var error = {};
5480
+
5481
+ error.isntError = error.isError = void 0;
5482
+ function isError(val) {
5483
+ return val instanceof Error;
5484
+ }
5485
+ error.isError = isError;
5486
+ function isntError(val) {
5487
+ return !isError(val);
5488
+ }
5489
+ error.isntError = isntError;
5490
+
5491
+ var falsy = {};
5492
+
5493
+ falsy.isntFalsy = falsy.isFalsy = void 0;
5494
+ function isFalsy(val) {
5495
+ return !val;
5496
+ }
5497
+ falsy.isFalsy = isFalsy;
5498
+ function isntFalsy(val) {
5499
+ return !isFalsy(val);
5500
+ }
5501
+ falsy.isntFalsy = isntFalsy;
5502
+
5503
+ var iterable = {};
5504
+
5505
+ iterable.isntIterable = iterable.isIterable = void 0;
5506
+ const null_1$1 = _null;
5507
+ const undefined_1 = _undefined;
5508
+ const function_1$1 = _function;
5509
+ function isIterable(val) {
5510
+ return (0, null_1$1.isntNull)(val)
5511
+ && (0, undefined_1.isntUndefined)(val)
5512
+ && (0, function_1$1.isFunction)(val[Symbol.iterator]);
5513
+ }
5514
+ iterable.isIterable = isIterable;
5515
+ function isntIterable(val) {
5516
+ return !isIterable(val);
5517
+ }
5518
+ iterable.isntIterable = isntIterable;
5519
+
5520
+ var json = {};
5521
+
5522
+ var number = {};
5523
+
5524
+ number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
5525
+ function isNumber(val) {
5526
+ return typeof val === 'number';
5527
+ }
5528
+ number.isNumber = isNumber;
5529
+ function isntNumber(val) {
5530
+ return !isNumber(val);
5531
+ }
5532
+ number.isntNumber = isntNumber;
5533
+ function isFinite(val) {
5534
+ return Number.isFinite(val);
5535
+ }
5536
+ number.isFinite = isFinite;
5537
+ function isPositiveInfinity(val) {
5538
+ return val === Infinity;
5539
+ }
5540
+ number.isPositiveInfinity = isPositiveInfinity;
5541
+ function isNegativeInfinity(val) {
5542
+ return val === -Infinity;
5543
+ }
5544
+ number.isNegativeInfinity = isNegativeInfinity;
5545
+ function isNaN(val) {
5546
+ return Number.isNaN(val);
5547
+ }
5548
+ number.isNaN = isNaN;
5549
+ function isntNaN(val) {
5550
+ return !isNaN(val);
5551
+ }
5552
+ number.isntNaN = isntNaN;
5553
+
5554
+ var object = {};
5555
+
5556
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
5557
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5558
+ };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
5559
+ const isPlainObject_1 = __importDefault(isPlainObject_1$2);
5560
+ function isObject(val) {
5561
+ return val !== null
5562
+ && typeof val === 'object';
5563
+ }
5564
+ object.isObject = isObject;
5565
+ function isntObject(val) {
5566
+ return !isObject(val);
5567
+ }
5568
+ object.isntObject = isntObject;
5569
+ function isPlainObject(val) {
5570
+ return (0, isPlainObject_1.default)(val);
5571
+ }
5572
+ object.isPlainObject = isPlainObject;
5573
+ function isntPlainObject(val) {
5574
+ return !isPlainObject(val);
5575
+ }
5576
+ object.isntPlainObject = isntPlainObject;
5577
+ function isEmptyObject(val) {
5578
+ return Object.keys(val).length === 0;
5579
+ }
5580
+ object.isEmptyObject = isEmptyObject;
5581
+ function isntEmptyObject(val) {
5582
+ return Object.keys(val).length !== 0;
5583
+ }
5584
+ object.isntEmptyObject = isntEmptyObject;
5585
+
5586
+ json.isntJsonable = json.isJsonable = json.isntJson = json.isJson = void 0;
5587
+ const null_1 = _null;
5588
+ const boolean_1 = boolean;
5589
+ const string_1 = string;
5590
+ const number_1 = number;
5591
+ const array_1 = array;
5592
+ const object_1$1 = object;
5593
+ function isJson(val) {
5594
+ return (0, null_1.isNull)(val)
5595
+ || (0, boolean_1.isBoolean)(val)
5596
+ || (0, string_1.isString)(val)
5597
+ || (0, number_1.isNumber)(val)
5598
+ || ((0, array_1.isArray)(val) && val.every(isJson))
5599
+ || ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
5600
+ }
5601
+ json.isJson = isJson;
5602
+ function isntJson(val) {
5603
+ return !isJson(val);
5604
+ }
5605
+ json.isntJson = isntJson;
5606
+ function isJsonable(val) {
5607
+ try {
5608
+ JSON.stringify(val);
5609
+ return true;
5610
+ }
5611
+ catch (_a) {
5612
+ return false;
5154
5613
  }
5155
5614
  }
5156
- customError$2.CustomError = CustomError;
5157
-
5158
- var assertionError = {};
5159
-
5160
- assertionError.AssertionError = void 0;
5161
- const custom_error_1 = customError$2;
5162
- class AssertionError extends custom_error_1.CustomError {
5615
+ json.isJsonable = isJsonable;
5616
+ function isntJsonable(val) {
5617
+ return !isntJsonable();
5163
5618
  }
5164
- assertionError.AssertionError = AssertionError;
5619
+ json.isntJsonable = isntJsonable;
5165
5620
 
5166
- var normalize$1 = {};
5621
+ var promise = {};
5167
5622
 
5168
- normalize$1.normalize = void 0;
5169
- const get_error_names_1 = getErrorNames$1;
5170
- const iterable_operator_1 = es2018$b;
5171
- function normalize(err) {
5172
- var _a;
5173
- const [name, ...ancestors] = (0, iterable_operator_1.toArray)((0, get_error_names_1.getErrorNames)(err));
5174
- return {
5175
- name,
5176
- ancestors,
5177
- message: err.message,
5178
- stack: (_a = err.stack) !== null && _a !== void 0 ? _a : null
5179
- };
5623
+ promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
5624
+ const object_1 = object;
5625
+ const function_1 = _function;
5626
+ function isPromise(val) {
5627
+ return val instanceof Promise;
5180
5628
  }
5181
- normalize$1.normalize = normalize;
5182
-
5183
- var hydrate$1 = {};
5184
-
5185
- var es2018$4 = {};
5186
-
5187
- var pass$1 = {};
5188
-
5189
- pass$1.pass = void 0;
5190
- function pass() { }
5191
- pass$1.pass = pass;
5192
-
5193
- (function (exports) {
5194
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5195
- if (k2 === undefined) k2 = k;
5196
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5197
- }) : (function(o, m, k, k2) {
5198
- if (k2 === undefined) k2 = k;
5199
- o[k2] = m[k];
5200
- }));
5201
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
5202
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
5203
- };__exportStar(pass$1, exports);
5204
-
5205
- } (es2018$4));
5206
-
5207
- hydrate$1.hydrate = void 0;
5208
- const pass_1 = es2018$4;
5209
- function hydrate(err) {
5210
- var _a;
5211
- const errorNames = [err.name, ...err.ancestors]
5212
- .slice(0, -1)
5213
- .reverse();
5214
- let errorConstructor = Error;
5215
- for (const name of errorNames) {
5216
- errorConstructor = createChildErrorConstructor(errorConstructor, name);
5217
- }
5218
- const result = new errorConstructor();
5219
- result.name = err.name;
5220
- result.message = err.message;
5221
- result.stack = (_a = err.stack) !== null && _a !== void 0 ? _a : undefined;
5222
- return result;
5629
+ promise.isPromise = isPromise;
5630
+ function isntPromise(val) {
5631
+ return !isPromise(val);
5223
5632
  }
5224
- hydrate$1.hydrate = hydrate;
5225
- function createChildErrorConstructor(parentErrorConstructor, name) {
5226
- const constructor = function () { (0, pass_1.pass)(); };
5227
- constructor.prototype = Object.create(parentErrorConstructor.prototype);
5228
- constructor.prototype.constructor = constructor;
5229
- Object.defineProperty(constructor, 'name', { value: name });
5230
- return constructor;
5633
+ promise.isntPromise = isntPromise;
5634
+ function isntPromiseLike(val) {
5635
+ return !isPromiseLike(val);
5636
+ }
5637
+ promise.isntPromiseLike = isntPromiseLike;
5638
+ function isPromiseLike(val) {
5639
+ return (0, object_1.isObject)(val)
5640
+ && (0, function_1.isFunction)(val.then);
5231
5641
  }
5642
+ promise.isPromiseLike = isPromiseLike;
5232
5643
 
5233
- var assert$1 = {};
5644
+ var url = {};
5234
5645
 
5235
- assert$1.assert = void 0;
5236
- const assertion_error_1 = assertionError;
5237
- function assert(condition, message) {
5238
- if (!condition)
5239
- throw new assertion_error_1.AssertionError(message);
5646
+ url.isAbsoluteURL = void 0;
5647
+ function isAbsoluteURL(str) {
5648
+ try {
5649
+ new URL(str);
5650
+ return true;
5651
+ }
5652
+ catch (_a) {
5653
+ return false;
5654
+ }
5240
5655
  }
5241
- assert$1.assert = assert;
5656
+ url.isAbsoluteURL = isAbsoluteURL;
5242
5657
 
5243
5658
  (function (exports) {
5244
5659
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -5254,72 +5669,30 @@ assert$1.assert = assert;
5254
5669
  }));
5255
5670
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
5256
5671
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
5257
- };__exportStar(customError$2, exports);
5258
- __exportStar(assertionError, exports);
5259
- __exportStar(serializableError, exports);
5260
- __exportStar(normalize$1, exports);
5261
- __exportStar(hydrate$1, exports);
5262
- __exportStar(assert$1, exports);
5263
- __exportStar(getErrorNames$1, exports);
5264
- __exportStar(traverseErrorPrototypeChain$1, exports);
5265
-
5266
- } (es2018$c));
5267
-
5268
- var es2018$3 = {};
5269
-
5270
- var middleware = {};
5271
-
5272
- var chunkAsync$1 = {};
5273
-
5274
- var es2018$2 = {};
5275
-
5276
- var go$1 = {};
5277
-
5278
- go$1.go = void 0;
5279
- function go(fn) {
5280
- return fn();
5281
- }
5282
- go$1.go = go;
5283
-
5284
- (function (exports) {
5285
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5286
- if (k2 === undefined) k2 = k;
5287
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5288
- }) : (function(o, m, k, k2) {
5289
- if (k2 === undefined) k2 = k;
5290
- o[k2] = m[k];
5291
- }));
5292
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
5293
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
5294
- };__exportStar(go$1, exports);
5672
+ };__exportStar(array, exports);
5673
+ __exportStar(asyncIterable, exports);
5674
+ __exportStar(bigint, exports);
5675
+ __exportStar(boolean, exports);
5676
+ __exportStar(char, exports);
5677
+ __exportStar(date, exports);
5678
+ __exportStar(_enum, exports);
5679
+ __exportStar(error, exports);
5680
+ __exportStar(falsy, exports);
5681
+ __exportStar(_function, exports);
5682
+ __exportStar(iterable, exports);
5683
+ __exportStar(json, exports);
5684
+ __exportStar(_null, exports);
5685
+ __exportStar(number, exports);
5686
+ __exportStar(object, exports);
5687
+ __exportStar(promise, exports);
5688
+ __exportStar(string, exports);
5689
+ __exportStar(_undefined, exports);
5690
+ __exportStar(url, exports);
5295
5691
 
5296
5692
  } (es2018$2));
5297
5693
 
5298
- chunkAsync$1.chunkAsync = void 0;
5299
- const go_1$f = es2018$2;
5300
- const errors_1$f = es2018$c;
5301
- function chunkAsync(iterable, size) {
5302
- (0, errors_1$f.assert)(Number.isInteger(size), 'The parameter size must be an integer');
5303
- (0, errors_1$f.assert)(size > 0, 'The parameter size must be greater than 0');
5304
- return (0, go_1$f.go)(async function* () {
5305
- let buffer = [];
5306
- for await (const element of iterable) {
5307
- buffer.push(element);
5308
- if (buffer.length >= size) {
5309
- yield buffer;
5310
- buffer = [];
5311
- }
5312
- }
5313
- if (buffer.length)
5314
- yield buffer;
5315
- });
5316
- }
5317
- chunkAsync$1.chunkAsync = chunkAsync;
5318
-
5319
- var chunkByAsync$1 = {};
5320
-
5321
5694
  chunkByAsync$1.chunkByAsync = void 0;
5322
- const types_1$h = es2018$d;
5695
+ const types_1$h = es2018$2;
5323
5696
  function chunkByAsync(iterable, predicate) {
5324
5697
  if ((0, types_1$h.isAsyncIterable)(iterable)) {
5325
5698
  return chunkByAsyncIterable(iterable);
@@ -5380,8 +5753,8 @@ chunkBy$1.chunkBy = chunkBy;
5380
5753
  var chunk$1 = {};
5381
5754
 
5382
5755
  chunk$1.chunk = void 0;
5383
- const go_1$e = es2018$2;
5384
- const errors_1$e = es2018$c;
5756
+ const go_1$e = es2018$3;
5757
+ const errors_1$e = es2018$d;
5385
5758
  function chunk(iterable, size) {
5386
5759
  (0, errors_1$e.assert)(Number.isInteger(size), 'The parameter size must be an integer');
5387
5760
  (0, errors_1$e.assert)(size > 0, 'The parameter size must be greater than 0');
@@ -5403,8 +5776,8 @@ chunk$1.chunk = chunk;
5403
5776
  var concatAsync$1 = {};
5404
5777
 
5405
5778
  concatAsync$1.concatAsync = void 0;
5406
- const types_1$g = es2018$d;
5407
- const go_1$d = es2018$2;
5779
+ const types_1$g = es2018$2;
5780
+ const go_1$d = es2018$3;
5408
5781
  function concatAsync(iterable, ...otherIterables) {
5409
5782
  return (0, go_1$d.go)(async function* () {
5410
5783
  for (const iter of [iterable, ...otherIterables]) {
@@ -5426,7 +5799,7 @@ concatAsync$1.concatAsync = concatAsync;
5426
5799
  var concat$1 = {};
5427
5800
 
5428
5801
  concat$1.concat = void 0;
5429
- const go_1$c = es2018$2;
5802
+ const go_1$c = es2018$3;
5430
5803
  function concat(iterable, ...otherIterables) {
5431
5804
  return (0, go_1$c.go)(function* () {
5432
5805
  for (const iter of [iterable, ...otherIterables]) {
@@ -5455,9 +5828,9 @@ function* copyIterable(iterable) {
5455
5828
  utils.copyIterable = copyIterable;
5456
5829
 
5457
5830
  dropAsync$1.dropAsync = void 0;
5458
- const go_1$b = es2018$2;
5831
+ const go_1$b = es2018$3;
5459
5832
  const utils_1$3 = utils;
5460
- const errors_1$d = es2018$c;
5833
+ const errors_1$d = es2018$d;
5461
5834
  function dropAsync(iterable, count) {
5462
5835
  (0, errors_1$d.assert)(Number.isInteger(count), 'The parameter count must be an integer');
5463
5836
  (0, errors_1$d.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -5490,9 +5863,9 @@ dropAsync$1.dropAsync = dropAsync;
5490
5863
  var dropRightAsync$1 = {};
5491
5864
 
5492
5865
  dropRightAsync$1.dropRightAsync = void 0;
5493
- const go_1$a = es2018$2;
5866
+ const go_1$a = es2018$3;
5494
5867
  const utils_1$2 = utils;
5495
- const errors_1$c = es2018$c;
5868
+ const errors_1$c = es2018$d;
5496
5869
  function dropRightAsync(iterable, count) {
5497
5870
  (0, errors_1$c.assert)(Number.isInteger(count), 'The parameter count must be an integer');
5498
5871
  (0, errors_1$c.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -5518,9 +5891,9 @@ async function toArrayAsync$2(iterable) {
5518
5891
  var dropRight$1 = {};
5519
5892
 
5520
5893
  dropRight$1.dropRight = void 0;
5521
- const go_1$9 = es2018$2;
5894
+ const go_1$9 = es2018$3;
5522
5895
  const utils_1$1 = utils;
5523
- const errors_1$b = es2018$c;
5896
+ const errors_1$b = es2018$d;
5524
5897
  function dropRight(iterable, count) {
5525
5898
  (0, errors_1$b.assert)(Number.isInteger(count), 'The parameter count must be an integer');
5526
5899
  (0, errors_1$b.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -5536,7 +5909,7 @@ dropRight$1.dropRight = dropRight;
5536
5909
  var dropUntilAsync$1 = {};
5537
5910
 
5538
5911
  dropUntilAsync$1.dropUntilAsync = void 0;
5539
- const types_1$f = es2018$d;
5912
+ const types_1$f = es2018$2;
5540
5913
  function dropUntilAsync(iterable, predicate) {
5541
5914
  if ((0, types_1$f.isAsyncIterable)(iterable)) {
5542
5915
  return dropUntilAsyncIterable(iterable);
@@ -5618,9 +5991,9 @@ dropUntil$1.dropUntil = dropUntil;
5618
5991
  var drop$1 = {};
5619
5992
 
5620
5993
  drop$1.drop = void 0;
5621
- const go_1$8 = es2018$2;
5994
+ const go_1$8 = es2018$3;
5622
5995
  const utils_1 = utils;
5623
- const errors_1$a = es2018$c;
5996
+ const errors_1$a = es2018$d;
5624
5997
  function drop(iterable, count) {
5625
5998
  (0, errors_1$a.assert)(Number.isInteger(count), 'The parameter count must be an integer');
5626
5999
  (0, errors_1$a.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -5653,7 +6026,7 @@ drop$1.drop = drop;
5653
6026
  var filterAsync$1 = {};
5654
6027
 
5655
6028
  filterAsync$1.filterAsync = void 0;
5656
- const types_1$e = es2018$d;
6029
+ const types_1$e = es2018$2;
5657
6030
  function filterAsync(iterable, predicate) {
5658
6031
  if ((0, types_1$e.isAsyncIterable)(iterable)) {
5659
6032
  return filterAsyncIterable(iterable);
@@ -5700,7 +6073,7 @@ var flattenDeepAsync$1 = {};
5700
6073
  var flattenByAsync$1 = {};
5701
6074
 
5702
6075
  flattenByAsync$1.flattenByAsync = void 0;
5703
- const types_1$d = es2018$d;
6076
+ const types_1$d = es2018$2;
5704
6077
  function flattenByAsync(iterable, predicate) {
5705
6078
  if ((0, types_1$d.isAsyncIterable)(iterable)) {
5706
6079
  return flattenByAsyncIterable(iterable);
@@ -5740,7 +6113,7 @@ function isFiniteIterable$1(val) {
5740
6113
 
5741
6114
  flattenDeepAsync$1.flattenDeepAsync = void 0;
5742
6115
  const flatten_by_async_1 = flattenByAsync$1;
5743
- const errors_1$9 = es2018$c;
6116
+ const errors_1$9 = es2018$d;
5744
6117
  function flattenDeepAsync(iterable, depth = Infinity) {
5745
6118
  (0, errors_1$9.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
5746
6119
  (0, errors_1$9.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -5758,7 +6131,7 @@ flattenAsync$1.flattenAsync = flattenAsync;
5758
6131
  var flattenBy$1 = {};
5759
6132
 
5760
6133
  flattenBy$1.flattenBy = void 0;
5761
- const types_1$c = es2018$d;
6134
+ const types_1$c = es2018$2;
5762
6135
  function flattenBy(iterable, predicate) {
5763
6136
  return flatten(iterable, 1);
5764
6137
  function* flatten(iterable, level) {
@@ -5781,7 +6154,7 @@ var flattenDeep$1 = {};
5781
6154
 
5782
6155
  flattenDeep$1.flattenDeep = void 0;
5783
6156
  const flatten_by_1 = flattenBy$1;
5784
- const errors_1$8 = es2018$c;
6157
+ const errors_1$8 = es2018$d;
5785
6158
  function flattenDeep(iterable, depth = Infinity) {
5786
6159
  (0, errors_1$8.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
5787
6160
  (0, errors_1$8.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -5801,7 +6174,7 @@ flatten$1.flatten = flatten;
5801
6174
  var mapAsync$1 = {};
5802
6175
 
5803
6176
  mapAsync$1.mapAsync = void 0;
5804
- const types_1$b = es2018$d;
6177
+ const types_1$b = es2018$2;
5805
6178
  function mapAsync(iterable, fn) {
5806
6179
  if ((0, types_1$b.isAsyncIterable)(iterable)) {
5807
6180
  return mapAsyncIterable(iterable);
@@ -5841,8 +6214,8 @@ map$1.map = map;
5841
6214
  var repeatAsync$1 = {};
5842
6215
 
5843
6216
  repeatAsync$1.repeatAsync = void 0;
5844
- const go_1$7 = es2018$2;
5845
- const errors_1$7 = es2018$c;
6217
+ const go_1$7 = es2018$3;
6218
+ const errors_1$7 = es2018$d;
5846
6219
  function repeatAsync(iterable, times) {
5847
6220
  (0, errors_1$7.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
5848
6221
  (0, errors_1$7.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -5876,8 +6249,8 @@ function isProduction$1() {
5876
6249
  var repeat$1 = {};
5877
6250
 
5878
6251
  repeat$1.repeat = void 0;
5879
- const go_1$6 = es2018$2;
5880
- const errors_1$6 = es2018$c;
6252
+ const go_1$6 = es2018$3;
6253
+ const errors_1$6 = es2018$d;
5881
6254
  function repeat(iterable, times) {
5882
6255
  (0, errors_1$6.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
5883
6256
  (0, errors_1$6.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -5911,8 +6284,8 @@ function isProduction() {
5911
6284
  var sliceAsync$1 = {};
5912
6285
 
5913
6286
  sliceAsync$1.sliceAsync = void 0;
5914
- const go_1$5 = es2018$2;
5915
- const errors_1$5 = es2018$c;
6287
+ const go_1$5 = es2018$3;
6288
+ const errors_1$5 = es2018$d;
5916
6289
  function sliceAsync(iterable, start, end = Infinity) {
5917
6290
  (0, errors_1$5.assert)(Number.isInteger(start), 'The parameter start must be an integer');
5918
6291
  (0, errors_1$5.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -5934,8 +6307,8 @@ sliceAsync$1.sliceAsync = sliceAsync;
5934
6307
  var slice$1 = {};
5935
6308
 
5936
6309
  slice$1.slice = void 0;
5937
- const go_1$4 = es2018$2;
5938
- const errors_1$4 = es2018$c;
6310
+ const go_1$4 = es2018$3;
6311
+ const errors_1$4 = es2018$d;
5939
6312
  function slice(iterable, start, end = Infinity) {
5940
6313
  (0, errors_1$4.assert)(Number.isInteger(start), 'The parameter start must be an integer');
5941
6314
  (0, errors_1$4.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -5975,7 +6348,7 @@ splitAsync$1.splitAsync = splitAsync;
5975
6348
  var splitByAsync$1 = {};
5976
6349
 
5977
6350
  splitByAsync$1.splitByAsync = void 0;
5978
- const types_1$a = es2018$d;
6351
+ const types_1$a = es2018$2;
5979
6352
  function splitByAsync(iterable, predicate) {
5980
6353
  if ((0, types_1$a.isAsyncIterable)(iterable)) {
5981
6354
  return splitByAsyncIterable(iterable);
@@ -6057,8 +6430,8 @@ split$1.split = split;
6057
6430
  var takeAsync$1 = {};
6058
6431
 
6059
6432
  takeAsync$1.takeAsync = void 0;
6060
- const go_1$3 = es2018$2;
6061
- const errors_1$3 = es2018$c;
6433
+ const go_1$3 = es2018$3;
6434
+ const errors_1$3 = es2018$d;
6062
6435
  function takeAsync(iterable, count) {
6063
6436
  (0, errors_1$3.assert)(Number.isInteger(count), 'The parameter count must be an integer');
6064
6437
  (0, errors_1$3.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -6078,8 +6451,8 @@ takeAsync$1.takeAsync = takeAsync;
6078
6451
  var takeRightAsync$1 = {};
6079
6452
 
6080
6453
  takeRightAsync$1.takeRightAsync = void 0;
6081
- const go_1$2 = es2018$2;
6082
- const errors_1$2 = es2018$c;
6454
+ const go_1$2 = es2018$3;
6455
+ const errors_1$2 = es2018$d;
6083
6456
  function takeRightAsync(iterable, count) {
6084
6457
  (0, errors_1$2.assert)(Number.isInteger(count), 'The parameter count must be an integer');
6085
6458
  (0, errors_1$2.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -6108,8 +6481,8 @@ takeRightAsync$1.takeRightAsync = takeRightAsync;
6108
6481
  var takeRight$1 = {};
6109
6482
 
6110
6483
  takeRight$1.takeRight = void 0;
6111
- const go_1$1 = es2018$2;
6112
- const errors_1$1 = es2018$c;
6484
+ const go_1$1 = es2018$3;
6485
+ const errors_1$1 = es2018$d;
6113
6486
  function takeRight(iterable, count) {
6114
6487
  (0, errors_1$1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
6115
6488
  (0, errors_1$1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -6138,7 +6511,7 @@ takeRight$1.takeRight = takeRight;
6138
6511
  var takeUntilAsync$1 = {};
6139
6512
 
6140
6513
  takeUntilAsync$1.takeUntilAsync = void 0;
6141
- const types_1$9 = es2018$d;
6514
+ const types_1$9 = es2018$2;
6142
6515
  function takeUntilAsync(iterable, predicate) {
6143
6516
  if ((0, types_1$9.isAsyncIterable)(iterable)) {
6144
6517
  return takeUntilAsyncIterable(iterable);
@@ -6184,8 +6557,8 @@ takeUntil$1.takeUntil = takeUntil;
6184
6557
  var take$1 = {};
6185
6558
 
6186
6559
  take$1.take = void 0;
6187
- const go_1 = es2018$2;
6188
- const errors_1 = es2018$c;
6560
+ const go_1 = es2018$3;
6561
+ const errors_1 = es2018$d;
6189
6562
  function take(iterable, count) {
6190
6563
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
6191
6564
  (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -6205,7 +6578,7 @@ take$1.take = take;
6205
6578
  var tapAsync$1 = {};
6206
6579
 
6207
6580
  tapAsync$1.tapAsync = void 0;
6208
- const types_1$8 = es2018$d;
6581
+ const types_1$8 = es2018$2;
6209
6582
  function tapAsync(iterable, fn) {
6210
6583
  if ((0, types_1$8.isAsyncIterable)(iterable)) {
6211
6584
  return tapAsyncIterable(iterable);
@@ -6288,7 +6661,7 @@ uniqAsync$1.uniqAsync = uniqAsync;
6288
6661
  var uniqByAsync$1 = {};
6289
6662
 
6290
6663
  uniqByAsync$1.uniqByAsync = void 0;
6291
- const types_1$7 = es2018$d;
6664
+ const types_1$7 = es2018$2;
6292
6665
  function uniqByAsync(iterable, fn) {
6293
6666
  if ((0, types_1$7.isAsyncIterable)(iterable)) {
6294
6667
  return uniqByAsyncIterable(iterable);
@@ -6357,7 +6730,7 @@ uniq$1.uniq = uniq;
6357
6730
  var zipAsync$1 = {};
6358
6731
 
6359
6732
  zipAsync$1.zipAsync = void 0;
6360
- const types_1$6 = es2018$d;
6733
+ const types_1$6 = es2018$2;
6361
6734
  var Kind;
6362
6735
  (function (Kind) {
6363
6736
  Kind[Kind["Sync"] = 0] = "Sync";
@@ -6521,7 +6894,7 @@ consume$1.consume = consume;
6521
6894
  var eachAsync$1 = {};
6522
6895
 
6523
6896
  eachAsync$1.eachAsync = void 0;
6524
- const types_1$5 = es2018$d;
6897
+ const types_1$5 = es2018$2;
6525
6898
  function eachAsync(iterable, fn) {
6526
6899
  if ((0, types_1$5.isAsyncIterable)(iterable)) {
6527
6900
  return eachAsyncIterable(iterable);
@@ -6561,7 +6934,7 @@ each$1.each = each;
6561
6934
  var everyAsync$1 = {};
6562
6935
 
6563
6936
  everyAsync$1.everyAsync = void 0;
6564
- const types_1$4 = es2018$d;
6937
+ const types_1$4 = es2018$2;
6565
6938
  function everyAsync(iterable, predicate) {
6566
6939
  if ((0, types_1$4.isAsyncIterable)(iterable)) {
6567
6940
  return everyAsyncIterable(iterable);
@@ -6607,7 +6980,7 @@ every$1.every = every;
6607
6980
  var findAsync$1 = {};
6608
6981
 
6609
6982
  findAsync$1.findAsync = void 0;
6610
- const types_1$3 = es2018$d;
6983
+ const types_1$3 = es2018$2;
6611
6984
  function findAsync(iterable, predicate) {
6612
6985
  if ((0, types_1$3.isAsyncIterable)(iterable)) {
6613
6986
  return findAsyncIterable(iterable);
@@ -6731,7 +7104,7 @@ match$1.match = match;
6731
7104
  var reduceAsync$1 = {};
6732
7105
 
6733
7106
  reduceAsync$1.reduceAsync = void 0;
6734
- const types_1$2 = es2018$d;
7107
+ const types_1$2 = es2018$2;
6735
7108
  function reduceAsync(iterable, fn, initialValue) {
6736
7109
  if ((0, types_1$2.isUndefined)(initialValue)) {
6737
7110
  return reduceAsyncWithoutInitialValue(iterable, fn);
@@ -6827,7 +7200,7 @@ function reduceAsyncWithoutInitialValue(iterable, fn) {
6827
7200
  var reduce$1 = {};
6828
7201
 
6829
7202
  reduce$1.reduce = void 0;
6830
- const types_1$1 = es2018$d;
7203
+ const types_1$1 = es2018$2;
6831
7204
  function reduce(iterable, fn, initialValue) {
6832
7205
  if ((0, types_1$1.isUndefined)(initialValue)) {
6833
7206
  return reduceWithoutInitialValue(iterable, fn);
@@ -6874,7 +7247,7 @@ function reduceWithoutInitialValue(iterable, fn) {
6874
7247
  var someAsync$1 = {};
6875
7248
 
6876
7249
  someAsync$1.someAsync = void 0;
6877
- const types_1 = es2018$d;
7250
+ const types_1 = es2018$2;
6878
7251
  function someAsync(iterable, predicate) {
6879
7252
  if ((0, types_1.isAsyncIterable)(iterable)) {
6880
7253
  return someAsyncIterable(iterable);
@@ -7092,13 +7465,13 @@ countAsync$1.countAsync = countAsync;
7092
7465
  };__exportStar(middleware, exports);
7093
7466
  __exportStar(output, exports);
7094
7467
 
7095
- } (es2018$3));
7468
+ } (es2018$4));
7096
7469
 
7097
7470
  class LRUMap {
7098
7471
  constructor(limit) {
7099
7472
  this.map = new Map();
7100
- es2018$c.assert(Number.isInteger(limit), 'The parameter limit must be an integer');
7101
- es2018$c.assert(limit > 0, 'The parameter limit must be a positive value');
7473
+ es2018$d.assert(Number.isInteger(limit), 'The parameter limit must be an integer');
7474
+ es2018$d.assert(limit > 0, 'The parameter limit must be a positive value');
7102
7475
  this.limit = limit;
7103
7476
  }
7104
7477
  get [Symbol.toStringTag]() {
@@ -7146,7 +7519,7 @@ class LRUMap {
7146
7519
  * Return the earliest key inserted in the Map
7147
7520
  */
7148
7521
  getColdestKey() {
7149
- return es2018$3.first(this.map.keys());
7522
+ return es2018$4.first(this.map.keys());
7150
7523
  }
7151
7524
  }
7152
7525
 
@@ -7427,8 +7800,8 @@ class TLRUMap {
7427
7800
  * 按过期时间升序排列所有项目的元数据
7428
7801
  */
7429
7802
  this.itemMetadataSortedByExpirationTime = [];
7430
- es2018$c.assert(Number.isInteger(limit), 'The parameter limit must be an integer');
7431
- es2018$c.assert(limit > 0, 'The parameter limit must be a positive value');
7803
+ es2018$d.assert(Number.isInteger(limit), 'The parameter limit must be an integer');
7804
+ es2018$d.assert(limit > 0, 'The parameter limit must be a positive value');
7432
7805
  this.limit = limit;
7433
7806
  }
7434
7807
  get [Symbol.toStringTag]() {
@@ -7547,7 +7920,7 @@ class TLRUMap {
7547
7920
  * Return the earliest key inserted in the Map
7548
7921
  */
7549
7922
  getColdestKey() {
7550
- return es2018$3.first(this.map.keys());
7923
+ return es2018$4.first(this.map.keys());
7551
7924
  }
7552
7925
  }
7553
7926
 
@@ -7569,7 +7942,7 @@ class TrieMap {
7569
7942
  function* dfs(node, paths) {
7570
7943
  for (const [path, childNode] of node.children) {
7571
7944
  const newPaths = [...paths, path];
7572
- if (es2018$d.isntUndefined(childNode.value)) {
7945
+ if (es2018$e.isntUndefined(childNode.value)) {
7573
7946
  yield [newPaths, childNode.value];
7574
7947
  }
7575
7948
  yield* dfs(childNode, newPaths);
@@ -7577,10 +7950,10 @@ class TrieMap {
7577
7950
  }
7578
7951
  }
7579
7952
  keys() {
7580
- return es2018$3.map(this.entries(), ([key]) => key);
7953
+ return es2018$4.map(this.entries(), ([key]) => key);
7581
7954
  }
7582
7955
  values() {
7583
- return es2018$3.map(this.entries(), ([_, value]) => value);
7956
+ return es2018$4.map(this.entries(), ([_, value]) => value);
7584
7957
  }
7585
7958
  set(key, value) {
7586
7959
  let node = this.root;
@@ -7632,7 +8005,7 @@ class TrieMap {
7632
8005
  delete node.value;
7633
8006
  // 如果节点没有后缀, 则代表这是末端节点, 往前删除其前缀
7634
8007
  if (node.children.size === 0) {
7635
- for (const [part, parentNode] of es2018$3.toArray(es2018$3.zip(key, parentNodes)).reverse()) {
8008
+ for (const [part, parentNode] of es2018$4.toArray(es2018$4.zip(key, parentNodes)).reverse()) {
7636
8009
  parentNode.children.delete(part);
7637
8010
  if (parentNode.children.size !== 0)
7638
8011
  break;
@@ -7671,7 +8044,7 @@ class FiniteStateMachine {
7671
8044
  }
7672
8045
  }
7673
8046
  }
7674
- class BadEventError extends es2018$c.CustomError {
8047
+ class BadEventError extends es2018$d.CustomError {
7675
8048
  constructor(state, event) {
7676
8049
  super(`State ${state} cannot react to event ${event}`);
7677
8050
  }
@@ -9262,7 +9635,7 @@ class ObservableFiniteStateMachine extends FiniteStateMachine {
9262
9635
  super.send(event);
9263
9636
  const newState = this.state;
9264
9637
  this.stateChanges.next({ event, oldState, newState });
9265
- if (es2018$d.isEmptyObject(this.schema[newState])) {
9638
+ if (es2018$e.isEmptyObject(this.schema[newState])) {
9266
9639
  this.stateChanges.complete();
9267
9640
  }
9268
9641
  }
@@ -9282,8 +9655,10 @@ class SparseSet {
9282
9655
  }
9283
9656
  }
9284
9657
  has(value) {
9285
- // 跟一般的实现不同, 不需要访问values数组.
9286
- return es2018$d.isntUndefined(this.valueToValueIndex[value]);
9658
+ const index = this.valueToValueIndex[value];
9659
+ return es2018$e.isUndefined(index)
9660
+ ? false
9661
+ : this.values[index] === value;
9287
9662
  }
9288
9663
  add(value) {
9289
9664
  if (!this.has(value)) {
@@ -9299,12 +9674,130 @@ class SparseSet {
9299
9674
  const indexOfValue = this.valueToValueIndex[value];
9300
9675
  this.values[indexOfValue] = lastValue;
9301
9676
  this.valueToValueIndex[lastValue] = indexOfValue;
9302
- // 跟一般的实现不同, 直接删除值的索引.
9303
- this.valueToValueIndex[value] = undefined;
9304
9677
  }
9305
9678
  }
9306
9679
  }
9307
9680
  }
9308
9681
 
9309
- export { BadEventError, Box, Emitter, ExpirableMap, FiniteStateMachine, HashMap, HashSet, LRUMap, ObservableFiniteStateMachine, Queue, SparseSet, TLRUMap, TrieMap, convertArrayToCons, convertConsToArray };
9682
+ // 相关提案: https://github.com/tc39/proposal-resizablearraybuffer
9683
+ class DynamicTypedArray {
9684
+ constructor(typedArrayConstructor, { capacity = 0, growthFactor = 1.5 } = {}) {
9685
+ this.typedArrayConstructor = typedArrayConstructor;
9686
+ this._length = 0;
9687
+ es2018$d.assert(Number.isInteger(capacity), 'capacity must be an integer');
9688
+ es2018$d.assert(capacity >= 0, 'capacity must be greater than or equal to 0');
9689
+ es2018$d.assert(growthFactor > 1, 'growthFactory must be greater than or equal to 1');
9690
+ this.array = new typedArrayConstructor(capacity);
9691
+ this.growthFactor = growthFactor;
9692
+ }
9693
+ get internalTypedArray() {
9694
+ return this.array;
9695
+ }
9696
+ get [Symbol.toStringTag]() {
9697
+ return this.constructor.name;
9698
+ }
9699
+ /**
9700
+ * 数组当前的容量.
9701
+ */
9702
+ get capacity() {
9703
+ return this.array.length;
9704
+ }
9705
+ /**
9706
+ * 数组逻辑上的长度, 总是小于或等于capacity.
9707
+ */
9708
+ get length() {
9709
+ return this._length;
9710
+ }
9711
+ set(index, value) {
9712
+ if (index >= this.capacity) {
9713
+ const newCapacity = computeNewCapacity(this.capacity, index + 1, this.growthFactor);
9714
+ this.resize(newCapacity);
9715
+ }
9716
+ if (index >= this._length) {
9717
+ this._length = index + 1;
9718
+ }
9719
+ this.array[index] = value;
9720
+ }
9721
+ get(index) {
9722
+ return index < this._length
9723
+ ? this.array[index]
9724
+ : undefined;
9725
+ }
9726
+ push(...values) {
9727
+ const newLength = this._length + values.length;
9728
+ if (newLength > this.capacity) {
9729
+ const newCapacity = computeNewCapacity(this.capacity, newLength, this.growthFactor);
9730
+ this.resize(newCapacity);
9731
+ }
9732
+ for (const value of values) {
9733
+ this.array[this._length++] = value;
9734
+ }
9735
+ }
9736
+ pop() {
9737
+ if (this._length > 0) {
9738
+ const value = this.array[this._length - 1];
9739
+ this._length--;
9740
+ const newCapacity = computeNewCapacity(this.capacity, this.length, this.growthFactor);
9741
+ this.resize(newCapacity);
9742
+ return value;
9743
+ }
9744
+ else {
9745
+ return undefined;
9746
+ }
9747
+ }
9748
+ resize(newCapacity) {
9749
+ if (this.array.length === newCapacity) {
9750
+ return;
9751
+ }
9752
+ else if (this.array.length < newCapacity) {
9753
+ const newArray = new this.typedArrayConstructor(newCapacity);
9754
+ newArray.set(this.array);
9755
+ this.array = newArray;
9756
+ }
9757
+ else if (this.array.length > newCapacity) {
9758
+ const newArray = new this.typedArrayConstructor(newCapacity);
9759
+ // 不需要的部分将被舍弃.
9760
+ for (let i = newCapacity; i--;) {
9761
+ newArray[i] = this.array[i];
9762
+ }
9763
+ this.array = newArray;
9764
+ }
9765
+ }
9766
+ }
9767
+ function computeNewCapacity(oldCapacity, targetLength, growthFactor) {
9768
+ if (oldCapacity === targetLength) {
9769
+ return targetLength;
9770
+ }
9771
+ else if (oldCapacity < targetLength) {
9772
+ // 增加容量以适配targetLength
9773
+ let newCapacity = Math.max(oldCapacity, 1);
9774
+ while (newCapacity < targetLength) {
9775
+ newCapacity *= growthFactor;
9776
+ }
9777
+ return Math.floor(newCapacity);
9778
+ }
9779
+ else {
9780
+ // 尝试减少容量以适配targetLength
9781
+ // `targetLength = 0`是特殊情况,
9782
+ // 此时无论怎么将oldCapacity除以growthFactory几次, 都不可能得到比targetLength小的结果.
9783
+ if (targetLength === 0) {
9784
+ return 0;
9785
+ }
9786
+ else {
9787
+ let newCapacity = oldCapacity;
9788
+ while (true) {
9789
+ const temp = newCapacity / growthFactor;
9790
+ if (temp < targetLength) {
9791
+ break;
9792
+ }
9793
+ else {
9794
+ newCapacity = temp;
9795
+ }
9796
+ }
9797
+ return Math.floor(newCapacity);
9798
+ }
9799
+ }
9800
+ }
9801
+
9802
+ export { BadEventError, Box, DynamicTypedArray, Emitter, ExpirableMap, FiniteStateMachine, HashMap, HashSet, LRUMap, ObservableFiniteStateMachine, Queue, SparseSet, TLRUMap, TrieMap, convertArrayToCons, convertConsToArray };
9310
9803
  //# sourceMappingURL=index.mjs.map