extra-game-loop 0.1.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -7
- package/dist/es2015/index.min.mjs +1 -1
- package/dist/es2015/index.min.mjs.map +1 -1
- package/dist/es2015/index.mjs +1390 -548
- package/dist/es2015/index.mjs.map +1 -1
- package/dist/es2015/index.umd.js +1389 -547
- package/dist/es2015/index.umd.js.map +1 -1
- package/dist/es2015/index.umd.min.js +1 -1
- package/dist/es2015/index.umd.min.js.map +1 -1
- package/dist/es2018/index.min.mjs +1 -1
- package/dist/es2018/index.min.mjs.map +1 -1
- package/dist/es2018/index.mjs +1390 -548
- package/dist/es2018/index.mjs.map +1 -1
- package/dist/es2018/index.umd.js +1389 -547
- package/dist/es2018/index.umd.js.map +1 -1
- package/dist/es2018/index.umd.min.js +1 -1
- package/dist/es2018/index.umd.min.js.map +1 -1
- package/lib/es2015/game-loop.d.ts +10 -3
- package/lib/es2015/game-loop.js +26 -3
- package/lib/es2015/game-loop.js.map +1 -1
- package/lib/es2018/game-loop.d.ts +10 -3
- package/lib/es2018/game-loop.js +26 -3
- package/lib/es2018/game-loop.js.map +1 -1
- package/package.json +2 -2
package/dist/es2015/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
2
|
|
|
3
|
-
var es2018$
|
|
3
|
+
var es2018$h = {};
|
|
4
4
|
|
|
5
5
|
var box = {};
|
|
6
6
|
|
|
@@ -23,227 +23,227 @@ box.Box = Box;
|
|
|
23
23
|
|
|
24
24
|
var cons = {};
|
|
25
25
|
|
|
26
|
-
var es2018$
|
|
26
|
+
var es2018$g = {};
|
|
27
27
|
|
|
28
|
-
var array$
|
|
28
|
+
var array$5 = {};
|
|
29
29
|
|
|
30
|
-
array$
|
|
31
|
-
function isArray$
|
|
30
|
+
array$5.isntEmptyArray = array$5.isEmptyArray = array$5.isntArray = array$5.isArray = void 0;
|
|
31
|
+
function isArray$7(val) {
|
|
32
32
|
return Array.isArray(val);
|
|
33
33
|
}
|
|
34
|
-
array$
|
|
35
|
-
function isntArray$
|
|
36
|
-
return !isArray$
|
|
34
|
+
array$5.isArray = isArray$7;
|
|
35
|
+
function isntArray$4(val) {
|
|
36
|
+
return !isArray$7(val);
|
|
37
37
|
}
|
|
38
|
-
array$
|
|
39
|
-
function isEmptyArray$
|
|
38
|
+
array$5.isntArray = isntArray$4;
|
|
39
|
+
function isEmptyArray$4(val) {
|
|
40
40
|
return val.length === 0;
|
|
41
41
|
}
|
|
42
|
-
array$
|
|
43
|
-
function isntEmptyArray$
|
|
42
|
+
array$5.isEmptyArray = isEmptyArray$4;
|
|
43
|
+
function isntEmptyArray$4(val) {
|
|
44
44
|
return val.length !== 0;
|
|
45
45
|
}
|
|
46
|
-
array$
|
|
46
|
+
array$5.isntEmptyArray = isntEmptyArray$4;
|
|
47
47
|
|
|
48
|
-
var asyncIterable$
|
|
48
|
+
var asyncIterable$4 = {};
|
|
49
49
|
|
|
50
|
-
var _null$
|
|
50
|
+
var _null$4 = {};
|
|
51
51
|
|
|
52
|
-
_null$
|
|
53
|
-
function isNull$
|
|
52
|
+
_null$4.isntNull = _null$4.isNull = void 0;
|
|
53
|
+
function isNull$4(val) {
|
|
54
54
|
return val === null;
|
|
55
55
|
}
|
|
56
|
-
_null$
|
|
57
|
-
function isntNull$
|
|
58
|
-
return !isNull$
|
|
56
|
+
_null$4.isNull = isNull$4;
|
|
57
|
+
function isntNull$4(val) {
|
|
58
|
+
return !isNull$4(val);
|
|
59
59
|
}
|
|
60
|
-
_null$
|
|
60
|
+
_null$4.isntNull = isntNull$4;
|
|
61
61
|
|
|
62
|
-
var _undefined$
|
|
62
|
+
var _undefined$4 = {};
|
|
63
63
|
|
|
64
|
-
_undefined$
|
|
65
|
-
function isUndefined$
|
|
64
|
+
_undefined$4.isntUndefined = _undefined$4.isUndefined = void 0;
|
|
65
|
+
function isUndefined$4(val) {
|
|
66
66
|
return val === undefined;
|
|
67
67
|
}
|
|
68
|
-
_undefined$
|
|
69
|
-
function isntUndefined$
|
|
70
|
-
return !isUndefined$
|
|
68
|
+
_undefined$4.isUndefined = isUndefined$4;
|
|
69
|
+
function isntUndefined$4(val) {
|
|
70
|
+
return !isUndefined$4(val);
|
|
71
71
|
}
|
|
72
|
-
_undefined$
|
|
72
|
+
_undefined$4.isntUndefined = isntUndefined$4;
|
|
73
73
|
|
|
74
|
-
var _function$
|
|
74
|
+
var _function$4 = {};
|
|
75
75
|
|
|
76
|
-
_function$
|
|
77
|
-
function isFunction$
|
|
76
|
+
_function$4.isntFunction = _function$4.isFunction = void 0;
|
|
77
|
+
function isFunction$6(val) {
|
|
78
78
|
return typeof val === 'function';
|
|
79
79
|
}
|
|
80
|
-
_function$
|
|
81
|
-
function isntFunction$
|
|
82
|
-
return !isFunction$
|
|
80
|
+
_function$4.isFunction = isFunction$6;
|
|
81
|
+
function isntFunction$4(val) {
|
|
82
|
+
return !isFunction$6(val);
|
|
83
83
|
}
|
|
84
|
-
_function$
|
|
84
|
+
_function$4.isntFunction = isntFunction$4;
|
|
85
85
|
|
|
86
|
-
asyncIterable$
|
|
87
|
-
const null_1$
|
|
88
|
-
const undefined_1$
|
|
89
|
-
const function_1$
|
|
90
|
-
function isAsyncIterable$
|
|
91
|
-
return (0, null_1$
|
|
92
|
-
&& (0, undefined_1$
|
|
93
|
-
&& (0, function_1$
|
|
86
|
+
asyncIterable$4.isntAsyncIterable = asyncIterable$4.isAsyncIterable = void 0;
|
|
87
|
+
const null_1$e = _null$4;
|
|
88
|
+
const undefined_1$9 = _undefined$4;
|
|
89
|
+
const function_1$e = _function$4;
|
|
90
|
+
function isAsyncIterable$6(val) {
|
|
91
|
+
return (0, null_1$e.isntNull)(val)
|
|
92
|
+
&& (0, undefined_1$9.isntUndefined)(val)
|
|
93
|
+
&& (0, function_1$e.isFunction)(val[Symbol.asyncIterator]);
|
|
94
94
|
}
|
|
95
|
-
asyncIterable$
|
|
96
|
-
function isntAsyncIterable$
|
|
97
|
-
return !isAsyncIterable$
|
|
95
|
+
asyncIterable$4.isAsyncIterable = isAsyncIterable$6;
|
|
96
|
+
function isntAsyncIterable$4(val) {
|
|
97
|
+
return !isAsyncIterable$6(val);
|
|
98
98
|
}
|
|
99
|
-
asyncIterable$
|
|
99
|
+
asyncIterable$4.isntAsyncIterable = isntAsyncIterable$4;
|
|
100
100
|
|
|
101
|
-
var bigint$
|
|
101
|
+
var bigint$4 = {};
|
|
102
102
|
|
|
103
|
-
bigint$
|
|
104
|
-
function isBigInt$
|
|
103
|
+
bigint$4.isntBigInt = bigint$4.isBigInt = void 0;
|
|
104
|
+
function isBigInt$4(val) {
|
|
105
105
|
return typeof val === 'bigint';
|
|
106
106
|
}
|
|
107
|
-
bigint$
|
|
108
|
-
function isntBigInt$
|
|
109
|
-
return !isBigInt$
|
|
107
|
+
bigint$4.isBigInt = isBigInt$4;
|
|
108
|
+
function isntBigInt$4(val) {
|
|
109
|
+
return !isBigInt$4(val);
|
|
110
110
|
}
|
|
111
|
-
bigint$
|
|
111
|
+
bigint$4.isntBigInt = isntBigInt$4;
|
|
112
112
|
|
|
113
|
-
var boolean$
|
|
113
|
+
var boolean$4 = {};
|
|
114
114
|
|
|
115
|
-
boolean$
|
|
116
|
-
function isBoolean$
|
|
115
|
+
boolean$4.isntBoolean = boolean$4.isBoolean = void 0;
|
|
116
|
+
function isBoolean$4(val) {
|
|
117
117
|
return typeof val === 'boolean';
|
|
118
118
|
}
|
|
119
|
-
boolean$
|
|
120
|
-
function isntBoolean$
|
|
121
|
-
return !isBoolean$
|
|
119
|
+
boolean$4.isBoolean = isBoolean$4;
|
|
120
|
+
function isntBoolean$4(val) {
|
|
121
|
+
return !isBoolean$4(val);
|
|
122
122
|
}
|
|
123
|
-
boolean$
|
|
123
|
+
boolean$4.isntBoolean = isntBoolean$4;
|
|
124
124
|
|
|
125
|
-
var char$
|
|
125
|
+
var char$4 = {};
|
|
126
126
|
|
|
127
|
-
var string$
|
|
127
|
+
var string$4 = {};
|
|
128
128
|
|
|
129
|
-
string$
|
|
130
|
-
function isString$
|
|
129
|
+
string$4.isntString = string$4.isString = void 0;
|
|
130
|
+
function isString$4(val) {
|
|
131
131
|
return typeof val === 'string';
|
|
132
132
|
}
|
|
133
|
-
string$
|
|
134
|
-
function isntString$
|
|
135
|
-
return !isString$
|
|
133
|
+
string$4.isString = isString$4;
|
|
134
|
+
function isntString$4(val) {
|
|
135
|
+
return !isString$4(val);
|
|
136
136
|
}
|
|
137
|
-
string$
|
|
137
|
+
string$4.isntString = isntString$4;
|
|
138
138
|
|
|
139
|
-
char$
|
|
140
|
-
const string_1$
|
|
141
|
-
function isChar$
|
|
142
|
-
return (0, string_1$
|
|
139
|
+
char$4.isntChar = char$4.isChar = void 0;
|
|
140
|
+
const string_1$9 = string$4;
|
|
141
|
+
function isChar$4(val) {
|
|
142
|
+
return (0, string_1$9.isString)(val)
|
|
143
143
|
&& val.length === 1;
|
|
144
144
|
}
|
|
145
|
-
char$
|
|
146
|
-
function isntChar$
|
|
147
|
-
return !isChar$
|
|
145
|
+
char$4.isChar = isChar$4;
|
|
146
|
+
function isntChar$4(val) {
|
|
147
|
+
return !isChar$4(val);
|
|
148
148
|
}
|
|
149
|
-
char$
|
|
149
|
+
char$4.isntChar = isntChar$4;
|
|
150
150
|
|
|
151
|
-
var date$
|
|
151
|
+
var date$4 = {};
|
|
152
152
|
|
|
153
|
-
date$
|
|
154
|
-
function isDate$
|
|
153
|
+
date$4.isntDate = date$4.isDate = void 0;
|
|
154
|
+
function isDate$5(val) {
|
|
155
155
|
return val instanceof Date;
|
|
156
156
|
}
|
|
157
|
-
date$
|
|
158
|
-
function isntDate$
|
|
159
|
-
return !isDate$
|
|
157
|
+
date$4.isDate = isDate$5;
|
|
158
|
+
function isntDate$4(val) {
|
|
159
|
+
return !isDate$5(val);
|
|
160
160
|
}
|
|
161
|
-
date$
|
|
161
|
+
date$4.isntDate = isntDate$4;
|
|
162
162
|
|
|
163
|
-
var _enum$
|
|
163
|
+
var _enum$4 = {};
|
|
164
164
|
|
|
165
|
-
_enum$
|
|
166
|
-
function inEnum$
|
|
165
|
+
_enum$4.inEnum = void 0;
|
|
166
|
+
function inEnum$4(val, _enum) {
|
|
167
167
|
return Object.values(_enum).includes(val);
|
|
168
168
|
}
|
|
169
|
-
_enum$
|
|
169
|
+
_enum$4.inEnum = inEnum$4;
|
|
170
170
|
|
|
171
|
-
var error$
|
|
171
|
+
var error$4 = {};
|
|
172
172
|
|
|
173
|
-
error$
|
|
174
|
-
function isError$
|
|
173
|
+
error$4.isntError = error$4.isError = void 0;
|
|
174
|
+
function isError$4(val) {
|
|
175
175
|
return val instanceof Error;
|
|
176
176
|
}
|
|
177
|
-
error$
|
|
178
|
-
function isntError$
|
|
179
|
-
return !isError$
|
|
177
|
+
error$4.isError = isError$4;
|
|
178
|
+
function isntError$4(val) {
|
|
179
|
+
return !isError$4(val);
|
|
180
180
|
}
|
|
181
|
-
error$
|
|
181
|
+
error$4.isntError = isntError$4;
|
|
182
182
|
|
|
183
|
-
var falsy$
|
|
183
|
+
var falsy$4 = {};
|
|
184
184
|
|
|
185
|
-
falsy$
|
|
186
|
-
function isFalsy$
|
|
185
|
+
falsy$4.isntFalsy = falsy$4.isFalsy = void 0;
|
|
186
|
+
function isFalsy$4(val) {
|
|
187
187
|
return !val;
|
|
188
188
|
}
|
|
189
|
-
falsy$
|
|
190
|
-
function isntFalsy$
|
|
191
|
-
return !isFalsy$
|
|
189
|
+
falsy$4.isFalsy = isFalsy$4;
|
|
190
|
+
function isntFalsy$4(val) {
|
|
191
|
+
return !isFalsy$4(val);
|
|
192
192
|
}
|
|
193
|
-
falsy$
|
|
193
|
+
falsy$4.isntFalsy = isntFalsy$4;
|
|
194
194
|
|
|
195
|
-
var iterable$
|
|
195
|
+
var iterable$4 = {};
|
|
196
196
|
|
|
197
|
-
iterable$
|
|
198
|
-
const null_1$
|
|
199
|
-
const undefined_1$
|
|
200
|
-
const function_1$
|
|
201
|
-
function isIterable$
|
|
202
|
-
return (0, null_1$
|
|
203
|
-
&& (0, undefined_1$
|
|
204
|
-
&& (0, function_1$
|
|
197
|
+
iterable$4.isntIterable = iterable$4.isIterable = void 0;
|
|
198
|
+
const null_1$d = _null$4;
|
|
199
|
+
const undefined_1$8 = _undefined$4;
|
|
200
|
+
const function_1$d = _function$4;
|
|
201
|
+
function isIterable$6(val) {
|
|
202
|
+
return (0, null_1$d.isntNull)(val)
|
|
203
|
+
&& (0, undefined_1$8.isntUndefined)(val)
|
|
204
|
+
&& (0, function_1$d.isFunction)(val[Symbol.iterator]);
|
|
205
205
|
}
|
|
206
|
-
iterable$
|
|
207
|
-
function isntIterable$
|
|
208
|
-
return !isIterable$
|
|
206
|
+
iterable$4.isIterable = isIterable$6;
|
|
207
|
+
function isntIterable$4(val) {
|
|
208
|
+
return !isIterable$6(val);
|
|
209
209
|
}
|
|
210
|
-
iterable$
|
|
210
|
+
iterable$4.isntIterable = isntIterable$4;
|
|
211
211
|
|
|
212
|
-
var json$
|
|
212
|
+
var json$4 = {};
|
|
213
213
|
|
|
214
|
-
var number$
|
|
214
|
+
var number$4 = {};
|
|
215
215
|
|
|
216
|
-
number$
|
|
217
|
-
function isNumber$
|
|
216
|
+
number$4.isntNaN = number$4.isNaN = number$4.isNegativeInfinity = number$4.isPositiveInfinity = number$4.isFinite = number$4.isntNumber = number$4.isNumber = void 0;
|
|
217
|
+
function isNumber$4(val) {
|
|
218
218
|
return typeof val === 'number';
|
|
219
219
|
}
|
|
220
|
-
number$
|
|
221
|
-
function isntNumber$
|
|
222
|
-
return !isNumber$
|
|
220
|
+
number$4.isNumber = isNumber$4;
|
|
221
|
+
function isntNumber$4(val) {
|
|
222
|
+
return !isNumber$4(val);
|
|
223
223
|
}
|
|
224
|
-
number$
|
|
225
|
-
function isFinite$
|
|
224
|
+
number$4.isntNumber = isntNumber$4;
|
|
225
|
+
function isFinite$4(val) {
|
|
226
226
|
return Number.isFinite(val);
|
|
227
227
|
}
|
|
228
|
-
number$
|
|
229
|
-
function isPositiveInfinity$
|
|
228
|
+
number$4.isFinite = isFinite$4;
|
|
229
|
+
function isPositiveInfinity$4(val) {
|
|
230
230
|
return val === Infinity;
|
|
231
231
|
}
|
|
232
|
-
number$
|
|
233
|
-
function isNegativeInfinity$
|
|
232
|
+
number$4.isPositiveInfinity = isPositiveInfinity$4;
|
|
233
|
+
function isNegativeInfinity$4(val) {
|
|
234
234
|
return val === -Infinity;
|
|
235
235
|
}
|
|
236
|
-
number$
|
|
237
|
-
function isNaN$
|
|
236
|
+
number$4.isNegativeInfinity = isNegativeInfinity$4;
|
|
237
|
+
function isNaN$5(val) {
|
|
238
238
|
return Number.isNaN(val);
|
|
239
239
|
}
|
|
240
|
-
number$
|
|
241
|
-
function isntNaN$
|
|
242
|
-
return !isNaN$
|
|
240
|
+
number$4.isNaN = isNaN$5;
|
|
241
|
+
function isntNaN$4(val) {
|
|
242
|
+
return !isNaN$5(val);
|
|
243
243
|
}
|
|
244
|
-
number$
|
|
244
|
+
number$4.isntNaN = isntNaN$4;
|
|
245
245
|
|
|
246
|
-
var object$
|
|
246
|
+
var object$4 = {};
|
|
247
247
|
|
|
248
248
|
/** Detect free variable `global` from Node.js. */
|
|
249
249
|
|
|
@@ -471,7 +471,7 @@ var objectCtorString = funcToString.call(Object);
|
|
|
471
471
|
* _.isPlainObject(Object.create(null));
|
|
472
472
|
* // => true
|
|
473
473
|
*/
|
|
474
|
-
function isPlainObject$
|
|
474
|
+
function isPlainObject$5(value) {
|
|
475
475
|
if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
|
|
476
476
|
return false;
|
|
477
477
|
}
|
|
@@ -484,59 +484,59 @@ function isPlainObject$3(value) {
|
|
|
484
484
|
funcToString.call(Ctor) == objectCtorString;
|
|
485
485
|
}
|
|
486
486
|
|
|
487
|
-
var isPlainObject_1$
|
|
487
|
+
var isPlainObject_1$5 = isPlainObject$5;
|
|
488
488
|
|
|
489
|
-
var __importDefault$
|
|
489
|
+
var __importDefault$4 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
490
490
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
491
|
-
};object$
|
|
492
|
-
const isPlainObject_1$
|
|
493
|
-
function isObject$
|
|
491
|
+
};object$4.isntEmptyObject = object$4.isEmptyObject = object$4.isntPlainObject = object$4.isPlainObject = object$4.isntObject = object$4.isObject = void 0;
|
|
492
|
+
const isPlainObject_1$4 = __importDefault$4(isPlainObject_1$5);
|
|
493
|
+
function isObject$4(val) {
|
|
494
494
|
return val !== null
|
|
495
495
|
&& typeof val === 'object';
|
|
496
496
|
}
|
|
497
|
-
object$
|
|
498
|
-
function isntObject$
|
|
499
|
-
return !isObject$
|
|
497
|
+
object$4.isObject = isObject$4;
|
|
498
|
+
function isntObject$4(val) {
|
|
499
|
+
return !isObject$4(val);
|
|
500
500
|
}
|
|
501
|
-
object$
|
|
502
|
-
function isPlainObject$
|
|
503
|
-
return (0, isPlainObject_1$
|
|
501
|
+
object$4.isntObject = isntObject$4;
|
|
502
|
+
function isPlainObject$4(val) {
|
|
503
|
+
return (0, isPlainObject_1$4.default)(val);
|
|
504
504
|
}
|
|
505
|
-
object$
|
|
506
|
-
function isntPlainObject$
|
|
507
|
-
return !isPlainObject$
|
|
505
|
+
object$4.isPlainObject = isPlainObject$4;
|
|
506
|
+
function isntPlainObject$4(val) {
|
|
507
|
+
return !isPlainObject$4(val);
|
|
508
508
|
}
|
|
509
|
-
object$
|
|
510
|
-
function isEmptyObject$
|
|
509
|
+
object$4.isntPlainObject = isntPlainObject$4;
|
|
510
|
+
function isEmptyObject$4(val) {
|
|
511
511
|
return Object.keys(val).length === 0;
|
|
512
512
|
}
|
|
513
|
-
object$
|
|
514
|
-
function isntEmptyObject$
|
|
513
|
+
object$4.isEmptyObject = isEmptyObject$4;
|
|
514
|
+
function isntEmptyObject$4(val) {
|
|
515
515
|
return Object.keys(val).length !== 0;
|
|
516
516
|
}
|
|
517
|
-
object$
|
|
518
|
-
|
|
519
|
-
json$
|
|
520
|
-
const null_1$
|
|
521
|
-
const boolean_1$
|
|
522
|
-
const string_1$
|
|
523
|
-
const number_1$
|
|
524
|
-
const array_1$
|
|
525
|
-
const object_1$
|
|
526
|
-
function isJson$
|
|
527
|
-
return (0, null_1$
|
|
528
|
-
|| (0, boolean_1$
|
|
529
|
-
|| (0, string_1$
|
|
530
|
-
|| (0, number_1$
|
|
531
|
-
|| ((0, array_1$
|
|
532
|
-
|| ((0, object_1$
|
|
533
|
-
}
|
|
534
|
-
json$
|
|
535
|
-
function isntJson$
|
|
536
|
-
return !isJson$
|
|
537
|
-
}
|
|
538
|
-
json$
|
|
539
|
-
function isJsonable$
|
|
517
|
+
object$4.isntEmptyObject = isntEmptyObject$4;
|
|
518
|
+
|
|
519
|
+
json$4.isntJsonable = json$4.isJsonable = json$4.isntJson = json$4.isJson = void 0;
|
|
520
|
+
const null_1$c = _null$4;
|
|
521
|
+
const boolean_1$4 = boolean$4;
|
|
522
|
+
const string_1$8 = string$4;
|
|
523
|
+
const number_1$4 = number$4;
|
|
524
|
+
const array_1$4 = array$5;
|
|
525
|
+
const object_1$9 = object$4;
|
|
526
|
+
function isJson$4(val) {
|
|
527
|
+
return (0, null_1$c.isNull)(val)
|
|
528
|
+
|| (0, boolean_1$4.isBoolean)(val)
|
|
529
|
+
|| (0, string_1$8.isString)(val)
|
|
530
|
+
|| (0, number_1$4.isNumber)(val)
|
|
531
|
+
|| ((0, array_1$4.isArray)(val) && val.every(isJson$4))
|
|
532
|
+
|| ((0, object_1$9.isPlainObject)(val) && Object.values(val).every(isJson$4));
|
|
533
|
+
}
|
|
534
|
+
json$4.isJson = isJson$4;
|
|
535
|
+
function isntJson$4(val) {
|
|
536
|
+
return !isJson$4(val);
|
|
537
|
+
}
|
|
538
|
+
json$4.isntJson = isntJson$4;
|
|
539
|
+
function isJsonable$4(val) {
|
|
540
540
|
try {
|
|
541
541
|
JSON.stringify(val);
|
|
542
542
|
return true;
|
|
@@ -545,39 +545,39 @@ function isJsonable$2(val) {
|
|
|
545
545
|
return false;
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
json$
|
|
549
|
-
function isntJsonable$
|
|
550
|
-
return !isntJsonable$
|
|
548
|
+
json$4.isJsonable = isJsonable$4;
|
|
549
|
+
function isntJsonable$4(val) {
|
|
550
|
+
return !isntJsonable$4();
|
|
551
551
|
}
|
|
552
|
-
json$
|
|
552
|
+
json$4.isntJsonable = isntJsonable$4;
|
|
553
553
|
|
|
554
|
-
var promise$
|
|
554
|
+
var promise$4 = {};
|
|
555
555
|
|
|
556
|
-
promise$
|
|
557
|
-
const object_1$
|
|
558
|
-
const function_1$
|
|
559
|
-
function isPromise$
|
|
556
|
+
promise$4.isPromiseLike = promise$4.isntPromiseLike = promise$4.isntPromise = promise$4.isPromise = void 0;
|
|
557
|
+
const object_1$8 = object$4;
|
|
558
|
+
const function_1$c = _function$4;
|
|
559
|
+
function isPromise$6(val) {
|
|
560
560
|
return val instanceof Promise;
|
|
561
561
|
}
|
|
562
|
-
promise$
|
|
563
|
-
function isntPromise$
|
|
564
|
-
return !isPromise$
|
|
562
|
+
promise$4.isPromise = isPromise$6;
|
|
563
|
+
function isntPromise$4(val) {
|
|
564
|
+
return !isPromise$6(val);
|
|
565
565
|
}
|
|
566
|
-
promise$
|
|
567
|
-
function isntPromiseLike$
|
|
568
|
-
return !isPromiseLike$
|
|
566
|
+
promise$4.isntPromise = isntPromise$4;
|
|
567
|
+
function isntPromiseLike$4(val) {
|
|
568
|
+
return !isPromiseLike$4(val);
|
|
569
569
|
}
|
|
570
|
-
promise$
|
|
571
|
-
function isPromiseLike$
|
|
572
|
-
return (0, object_1$
|
|
573
|
-
&& (0, function_1$
|
|
570
|
+
promise$4.isntPromiseLike = isntPromiseLike$4;
|
|
571
|
+
function isPromiseLike$4(val) {
|
|
572
|
+
return (0, object_1$8.isObject)(val)
|
|
573
|
+
&& (0, function_1$c.isFunction)(val.then);
|
|
574
574
|
}
|
|
575
|
-
promise$
|
|
575
|
+
promise$4.isPromiseLike = isPromiseLike$4;
|
|
576
576
|
|
|
577
|
-
var url$
|
|
577
|
+
var url$4 = {};
|
|
578
578
|
|
|
579
|
-
url$
|
|
580
|
-
function isAbsoluteURL$
|
|
579
|
+
url$4.isAbsoluteURL = void 0;
|
|
580
|
+
function isAbsoluteURL$4(str) {
|
|
581
581
|
try {
|
|
582
582
|
new URL(str);
|
|
583
583
|
return true;
|
|
@@ -586,19 +586,31 @@ function isAbsoluteURL$2(str) {
|
|
|
586
586
|
return false;
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
|
-
url$
|
|
589
|
+
url$4.isAbsoluteURL = isAbsoluteURL$4;
|
|
590
590
|
|
|
591
|
-
var regexp$
|
|
591
|
+
var regexp$4 = {};
|
|
592
592
|
|
|
593
|
-
regexp$
|
|
594
|
-
function isRegExp$
|
|
593
|
+
regexp$4.isntRegExp = regexp$4.isRegExp = void 0;
|
|
594
|
+
function isRegExp$4(val) {
|
|
595
595
|
return val instanceof RegExp;
|
|
596
596
|
}
|
|
597
|
-
regexp$
|
|
598
|
-
function isntRegExp$
|
|
599
|
-
return !isRegExp$
|
|
597
|
+
regexp$4.isRegExp = isRegExp$4;
|
|
598
|
+
function isntRegExp$4(val) {
|
|
599
|
+
return !isRegExp$4(val);
|
|
600
600
|
}
|
|
601
|
-
regexp$
|
|
601
|
+
regexp$4.isntRegExp = isntRegExp$4;
|
|
602
|
+
|
|
603
|
+
var symbol$1 = {};
|
|
604
|
+
|
|
605
|
+
symbol$1.isntSymbol = symbol$1.isSymbol = void 0;
|
|
606
|
+
function isSymbol$1(val) {
|
|
607
|
+
return typeof val === 'symbol';
|
|
608
|
+
}
|
|
609
|
+
symbol$1.isSymbol = isSymbol$1;
|
|
610
|
+
function isntSymbol$1(val) {
|
|
611
|
+
return !isSymbol$1(val);
|
|
612
|
+
}
|
|
613
|
+
symbol$1.isntSymbol = isntSymbol$1;
|
|
602
614
|
|
|
603
615
|
(function (exports) {
|
|
604
616
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -614,31 +626,32 @@ regexp$2.isntRegExp = isntRegExp$2;
|
|
|
614
626
|
}));
|
|
615
627
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
616
628
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
617
|
-
};__exportStar(array$
|
|
618
|
-
__exportStar(asyncIterable$
|
|
619
|
-
__exportStar(bigint$
|
|
620
|
-
__exportStar(boolean$
|
|
621
|
-
__exportStar(char$
|
|
622
|
-
__exportStar(date$
|
|
623
|
-
__exportStar(_enum$
|
|
624
|
-
__exportStar(error$
|
|
625
|
-
__exportStar(falsy$
|
|
626
|
-
__exportStar(_function$
|
|
627
|
-
__exportStar(iterable$
|
|
628
|
-
__exportStar(json$
|
|
629
|
-
__exportStar(_null$
|
|
630
|
-
__exportStar(number$
|
|
631
|
-
__exportStar(object$
|
|
632
|
-
__exportStar(promise$
|
|
633
|
-
__exportStar(string$
|
|
634
|
-
__exportStar(_undefined$
|
|
635
|
-
__exportStar(url$
|
|
636
|
-
__exportStar(regexp$
|
|
629
|
+
};__exportStar(array$5, exports);
|
|
630
|
+
__exportStar(asyncIterable$4, exports);
|
|
631
|
+
__exportStar(bigint$4, exports);
|
|
632
|
+
__exportStar(boolean$4, exports);
|
|
633
|
+
__exportStar(char$4, exports);
|
|
634
|
+
__exportStar(date$4, exports);
|
|
635
|
+
__exportStar(_enum$4, exports);
|
|
636
|
+
__exportStar(error$4, exports);
|
|
637
|
+
__exportStar(falsy$4, exports);
|
|
638
|
+
__exportStar(_function$4, exports);
|
|
639
|
+
__exportStar(iterable$4, exports);
|
|
640
|
+
__exportStar(json$4, exports);
|
|
641
|
+
__exportStar(_null$4, exports);
|
|
642
|
+
__exportStar(number$4, exports);
|
|
643
|
+
__exportStar(object$4, exports);
|
|
644
|
+
__exportStar(promise$4, exports);
|
|
645
|
+
__exportStar(string$4, exports);
|
|
646
|
+
__exportStar(_undefined$4, exports);
|
|
647
|
+
__exportStar(url$4, exports);
|
|
648
|
+
__exportStar(regexp$4, exports);
|
|
649
|
+
__exportStar(symbol$1, exports);
|
|
637
650
|
|
|
638
|
-
} (es2018$
|
|
651
|
+
} (es2018$g));
|
|
639
652
|
|
|
640
653
|
cons.convertArrayToCons = cons.convertConsToArray = void 0;
|
|
641
|
-
const types_1$X = es2018$
|
|
654
|
+
const types_1$X = es2018$g;
|
|
642
655
|
function convertConsToArray([value, next]) {
|
|
643
656
|
if ((0, types_1$X.isNull)(next)) {
|
|
644
657
|
return [value];
|
|
@@ -653,6 +666,30 @@ function convertArrayToCons([value, ...next]) {
|
|
|
653
666
|
}
|
|
654
667
|
cons.convertArrayToCons = convertArrayToCons;
|
|
655
668
|
|
|
669
|
+
var array$4 = {};
|
|
670
|
+
|
|
671
|
+
array$4.truncateArrayRight = array$4.truncateArrayLeft = array$4.sliceArrayRight = array$4.sliceArrayLeft = void 0;
|
|
672
|
+
function sliceArrayLeft(arr, num) {
|
|
673
|
+
return arr.slice(0, num);
|
|
674
|
+
}
|
|
675
|
+
array$4.sliceArrayLeft = sliceArrayLeft;
|
|
676
|
+
function sliceArrayRight(arr, num) {
|
|
677
|
+
const startIndex = arr.length - num;
|
|
678
|
+
return arr.slice(startIndex >= 0 ? startIndex : 0);
|
|
679
|
+
}
|
|
680
|
+
array$4.sliceArrayRight = sliceArrayRight;
|
|
681
|
+
function truncateArrayLeft(arr, num) {
|
|
682
|
+
if (arr.length > num) {
|
|
683
|
+
arr.length = num;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
array$4.truncateArrayLeft = truncateArrayLeft;
|
|
687
|
+
function truncateArrayRight(arr, num) {
|
|
688
|
+
const startIndex = arr.length - num;
|
|
689
|
+
arr.splice(0, startIndex);
|
|
690
|
+
}
|
|
691
|
+
array$4.truncateArrayRight = truncateArrayRight;
|
|
692
|
+
|
|
656
693
|
var emitter = {};
|
|
657
694
|
|
|
658
695
|
emitter.Emitter = void 0;
|
|
@@ -799,17 +836,17 @@ queue$1.Queue = Queue;
|
|
|
799
836
|
|
|
800
837
|
var lruMap = {};
|
|
801
838
|
|
|
802
|
-
var es2018$
|
|
839
|
+
var es2018$f = {};
|
|
803
840
|
|
|
804
841
|
var customError = {};
|
|
805
842
|
|
|
806
|
-
var es2018$
|
|
843
|
+
var es2018$e = {};
|
|
807
844
|
|
|
808
845
|
var middleware$2 = {};
|
|
809
846
|
|
|
810
847
|
var chunkAsync$4 = {};
|
|
811
848
|
|
|
812
|
-
var es2018$
|
|
849
|
+
var es2018$d = {};
|
|
813
850
|
|
|
814
851
|
var go$1 = {};
|
|
815
852
|
|
|
@@ -838,11 +875,11 @@ goMicrotask$1.goMicrotask = goMicrotask;
|
|
|
838
875
|
|
|
839
876
|
var goMacrotask$1 = {};
|
|
840
877
|
|
|
841
|
-
var es2018$
|
|
878
|
+
var es2018$c = {};
|
|
842
879
|
|
|
843
880
|
var exponentialBackoff = {};
|
|
844
881
|
|
|
845
|
-
var es2018$
|
|
882
|
+
var es2018$b = {};
|
|
846
883
|
|
|
847
884
|
var random$1 = {};
|
|
848
885
|
|
|
@@ -886,10 +923,10 @@ randomIntInclusive$1.randomIntInclusive = randomIntInclusive;
|
|
|
886
923
|
__exportStar(randomInt$1, exports);
|
|
887
924
|
__exportStar(randomIntInclusive$1, exports);
|
|
888
925
|
|
|
889
|
-
} (es2018$
|
|
926
|
+
} (es2018$b));
|
|
890
927
|
|
|
891
928
|
exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
|
|
892
|
-
const extra_rand_1 = es2018$
|
|
929
|
+
const extra_rand_1 = es2018$b;
|
|
893
930
|
function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
|
|
894
931
|
const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
|
|
895
932
|
if (jitter) {
|
|
@@ -1004,10 +1041,10 @@ setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = setDynamicTimeoutLoop;
|
|
|
1004
1041
|
__exportStar(setTimeoutLoop$1, exports);
|
|
1005
1042
|
__exportStar(setDynamicTimeoutLoop$1, exports);
|
|
1006
1043
|
|
|
1007
|
-
} (es2018$
|
|
1044
|
+
} (es2018$c));
|
|
1008
1045
|
|
|
1009
1046
|
goMacrotask$1.goMacrotask = void 0;
|
|
1010
|
-
const extra_timers_1$2 = es2018$
|
|
1047
|
+
const extra_timers_1$2 = es2018$c;
|
|
1011
1048
|
function goMacrotask(fn) {
|
|
1012
1049
|
return new Promise((resolve, reject) => {
|
|
1013
1050
|
(0, extra_timers_1$2.setImmediate)(async () => {
|
|
@@ -1040,7 +1077,7 @@ goMacrotask$1.goMacrotask = goMacrotask;
|
|
|
1040
1077
|
__exportStar(goMicrotask$1, exports);
|
|
1041
1078
|
__exportStar(goMacrotask$1, exports);
|
|
1042
1079
|
|
|
1043
|
-
} (es2018$
|
|
1080
|
+
} (es2018$d));
|
|
1044
1081
|
|
|
1045
1082
|
var hasRequiredChunkAsync;
|
|
1046
1083
|
|
|
@@ -1048,7 +1085,7 @@ function requireChunkAsync () {
|
|
|
1048
1085
|
if (hasRequiredChunkAsync) return chunkAsync$4;
|
|
1049
1086
|
hasRequiredChunkAsync = 1;
|
|
1050
1087
|
chunkAsync$4.chunkAsync = void 0;
|
|
1051
|
-
const go_1 = es2018$
|
|
1088
|
+
const go_1 = es2018$d;
|
|
1052
1089
|
const errors_1 = requireEs2018();
|
|
1053
1090
|
function chunkAsync(iterable, size) {
|
|
1054
1091
|
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -1073,9 +1110,382 @@ chunkAsync$4.chunkAsync = void 0;
|
|
|
1073
1110
|
|
|
1074
1111
|
var chunkByAsync$5 = {};
|
|
1075
1112
|
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1113
|
+
var es2018$a = {};
|
|
1114
|
+
|
|
1115
|
+
var array$3 = {};
|
|
1116
|
+
|
|
1117
|
+
array$3.isntEmptyArray = array$3.isEmptyArray = array$3.isntArray = array$3.isArray = void 0;
|
|
1118
|
+
function isArray$6(val) {
|
|
1119
|
+
return Array.isArray(val);
|
|
1120
|
+
}
|
|
1121
|
+
array$3.isArray = isArray$6;
|
|
1122
|
+
function isntArray$3(val) {
|
|
1123
|
+
return !isArray$6(val);
|
|
1124
|
+
}
|
|
1125
|
+
array$3.isntArray = isntArray$3;
|
|
1126
|
+
function isEmptyArray$3(val) {
|
|
1127
|
+
return val.length === 0;
|
|
1128
|
+
}
|
|
1129
|
+
array$3.isEmptyArray = isEmptyArray$3;
|
|
1130
|
+
function isntEmptyArray$3(val) {
|
|
1131
|
+
return val.length !== 0;
|
|
1132
|
+
}
|
|
1133
|
+
array$3.isntEmptyArray = isntEmptyArray$3;
|
|
1134
|
+
|
|
1135
|
+
var asyncIterable$3 = {};
|
|
1136
|
+
|
|
1137
|
+
var _null$3 = {};
|
|
1138
|
+
|
|
1139
|
+
_null$3.isntNull = _null$3.isNull = void 0;
|
|
1140
|
+
function isNull$3(val) {
|
|
1141
|
+
return val === null;
|
|
1142
|
+
}
|
|
1143
|
+
_null$3.isNull = isNull$3;
|
|
1144
|
+
function isntNull$3(val) {
|
|
1145
|
+
return !isNull$3(val);
|
|
1146
|
+
}
|
|
1147
|
+
_null$3.isntNull = isntNull$3;
|
|
1148
|
+
|
|
1149
|
+
var _undefined$3 = {};
|
|
1150
|
+
|
|
1151
|
+
_undefined$3.isntUndefined = _undefined$3.isUndefined = void 0;
|
|
1152
|
+
function isUndefined$3(val) {
|
|
1153
|
+
return val === undefined;
|
|
1154
|
+
}
|
|
1155
|
+
_undefined$3.isUndefined = isUndefined$3;
|
|
1156
|
+
function isntUndefined$3(val) {
|
|
1157
|
+
return !isUndefined$3(val);
|
|
1158
|
+
}
|
|
1159
|
+
_undefined$3.isntUndefined = isntUndefined$3;
|
|
1160
|
+
|
|
1161
|
+
var _function$3 = {};
|
|
1162
|
+
|
|
1163
|
+
_function$3.isntFunction = _function$3.isFunction = void 0;
|
|
1164
|
+
function isFunction$5(val) {
|
|
1165
|
+
return typeof val === 'function';
|
|
1166
|
+
}
|
|
1167
|
+
_function$3.isFunction = isFunction$5;
|
|
1168
|
+
function isntFunction$3(val) {
|
|
1169
|
+
return !isFunction$5(val);
|
|
1170
|
+
}
|
|
1171
|
+
_function$3.isntFunction = isntFunction$3;
|
|
1172
|
+
|
|
1173
|
+
asyncIterable$3.isntAsyncIterable = asyncIterable$3.isAsyncIterable = void 0;
|
|
1174
|
+
const null_1$b = _null$3;
|
|
1175
|
+
const undefined_1$7 = _undefined$3;
|
|
1176
|
+
const function_1$b = _function$3;
|
|
1177
|
+
function isAsyncIterable$5(val) {
|
|
1178
|
+
return (0, null_1$b.isntNull)(val)
|
|
1179
|
+
&& (0, undefined_1$7.isntUndefined)(val)
|
|
1180
|
+
&& (0, function_1$b.isFunction)(val[Symbol.asyncIterator]);
|
|
1181
|
+
}
|
|
1182
|
+
asyncIterable$3.isAsyncIterable = isAsyncIterable$5;
|
|
1183
|
+
function isntAsyncIterable$3(val) {
|
|
1184
|
+
return !isAsyncIterable$5(val);
|
|
1185
|
+
}
|
|
1186
|
+
asyncIterable$3.isntAsyncIterable = isntAsyncIterable$3;
|
|
1187
|
+
|
|
1188
|
+
var bigint$3 = {};
|
|
1189
|
+
|
|
1190
|
+
bigint$3.isntBigInt = bigint$3.isBigInt = void 0;
|
|
1191
|
+
function isBigInt$3(val) {
|
|
1192
|
+
return typeof val === 'bigint';
|
|
1193
|
+
}
|
|
1194
|
+
bigint$3.isBigInt = isBigInt$3;
|
|
1195
|
+
function isntBigInt$3(val) {
|
|
1196
|
+
return !isBigInt$3(val);
|
|
1197
|
+
}
|
|
1198
|
+
bigint$3.isntBigInt = isntBigInt$3;
|
|
1199
|
+
|
|
1200
|
+
var boolean$3 = {};
|
|
1201
|
+
|
|
1202
|
+
boolean$3.isntBoolean = boolean$3.isBoolean = void 0;
|
|
1203
|
+
function isBoolean$3(val) {
|
|
1204
|
+
return typeof val === 'boolean';
|
|
1205
|
+
}
|
|
1206
|
+
boolean$3.isBoolean = isBoolean$3;
|
|
1207
|
+
function isntBoolean$3(val) {
|
|
1208
|
+
return !isBoolean$3(val);
|
|
1209
|
+
}
|
|
1210
|
+
boolean$3.isntBoolean = isntBoolean$3;
|
|
1211
|
+
|
|
1212
|
+
var char$3 = {};
|
|
1213
|
+
|
|
1214
|
+
var string$3 = {};
|
|
1215
|
+
|
|
1216
|
+
string$3.isntString = string$3.isString = void 0;
|
|
1217
|
+
function isString$3(val) {
|
|
1218
|
+
return typeof val === 'string';
|
|
1219
|
+
}
|
|
1220
|
+
string$3.isString = isString$3;
|
|
1221
|
+
function isntString$3(val) {
|
|
1222
|
+
return !isString$3(val);
|
|
1223
|
+
}
|
|
1224
|
+
string$3.isntString = isntString$3;
|
|
1225
|
+
|
|
1226
|
+
char$3.isntChar = char$3.isChar = void 0;
|
|
1227
|
+
const string_1$7 = string$3;
|
|
1228
|
+
function isChar$3(val) {
|
|
1229
|
+
return (0, string_1$7.isString)(val)
|
|
1230
|
+
&& val.length === 1;
|
|
1231
|
+
}
|
|
1232
|
+
char$3.isChar = isChar$3;
|
|
1233
|
+
function isntChar$3(val) {
|
|
1234
|
+
return !isChar$3(val);
|
|
1235
|
+
}
|
|
1236
|
+
char$3.isntChar = isntChar$3;
|
|
1237
|
+
|
|
1238
|
+
var date$3 = {};
|
|
1239
|
+
|
|
1240
|
+
date$3.isntDate = date$3.isDate = void 0;
|
|
1241
|
+
function isDate$4(val) {
|
|
1242
|
+
return val instanceof Date;
|
|
1243
|
+
}
|
|
1244
|
+
date$3.isDate = isDate$4;
|
|
1245
|
+
function isntDate$3(val) {
|
|
1246
|
+
return !isDate$4(val);
|
|
1247
|
+
}
|
|
1248
|
+
date$3.isntDate = isntDate$3;
|
|
1249
|
+
|
|
1250
|
+
var _enum$3 = {};
|
|
1251
|
+
|
|
1252
|
+
_enum$3.inEnum = void 0;
|
|
1253
|
+
function inEnum$3(val, _enum) {
|
|
1254
|
+
return Object.values(_enum).includes(val);
|
|
1255
|
+
}
|
|
1256
|
+
_enum$3.inEnum = inEnum$3;
|
|
1257
|
+
|
|
1258
|
+
var error$3 = {};
|
|
1259
|
+
|
|
1260
|
+
error$3.isntError = error$3.isError = void 0;
|
|
1261
|
+
function isError$3(val) {
|
|
1262
|
+
return val instanceof Error;
|
|
1263
|
+
}
|
|
1264
|
+
error$3.isError = isError$3;
|
|
1265
|
+
function isntError$3(val) {
|
|
1266
|
+
return !isError$3(val);
|
|
1267
|
+
}
|
|
1268
|
+
error$3.isntError = isntError$3;
|
|
1269
|
+
|
|
1270
|
+
var falsy$3 = {};
|
|
1271
|
+
|
|
1272
|
+
falsy$3.isntFalsy = falsy$3.isFalsy = void 0;
|
|
1273
|
+
function isFalsy$3(val) {
|
|
1274
|
+
return !val;
|
|
1275
|
+
}
|
|
1276
|
+
falsy$3.isFalsy = isFalsy$3;
|
|
1277
|
+
function isntFalsy$3(val) {
|
|
1278
|
+
return !isFalsy$3(val);
|
|
1279
|
+
}
|
|
1280
|
+
falsy$3.isntFalsy = isntFalsy$3;
|
|
1281
|
+
|
|
1282
|
+
var iterable$3 = {};
|
|
1283
|
+
|
|
1284
|
+
iterable$3.isntIterable = iterable$3.isIterable = void 0;
|
|
1285
|
+
const null_1$a = _null$3;
|
|
1286
|
+
const undefined_1$6 = _undefined$3;
|
|
1287
|
+
const function_1$a = _function$3;
|
|
1288
|
+
function isIterable$5(val) {
|
|
1289
|
+
return (0, null_1$a.isntNull)(val)
|
|
1290
|
+
&& (0, undefined_1$6.isntUndefined)(val)
|
|
1291
|
+
&& (0, function_1$a.isFunction)(val[Symbol.iterator]);
|
|
1292
|
+
}
|
|
1293
|
+
iterable$3.isIterable = isIterable$5;
|
|
1294
|
+
function isntIterable$3(val) {
|
|
1295
|
+
return !isIterable$5(val);
|
|
1296
|
+
}
|
|
1297
|
+
iterable$3.isntIterable = isntIterable$3;
|
|
1298
|
+
|
|
1299
|
+
var json$3 = {};
|
|
1300
|
+
|
|
1301
|
+
var number$3 = {};
|
|
1302
|
+
|
|
1303
|
+
number$3.isntNaN = number$3.isNaN = number$3.isNegativeInfinity = number$3.isPositiveInfinity = number$3.isFinite = number$3.isntNumber = number$3.isNumber = void 0;
|
|
1304
|
+
function isNumber$3(val) {
|
|
1305
|
+
return typeof val === 'number';
|
|
1306
|
+
}
|
|
1307
|
+
number$3.isNumber = isNumber$3;
|
|
1308
|
+
function isntNumber$3(val) {
|
|
1309
|
+
return !isNumber$3(val);
|
|
1310
|
+
}
|
|
1311
|
+
number$3.isntNumber = isntNumber$3;
|
|
1312
|
+
function isFinite$3(val) {
|
|
1313
|
+
return Number.isFinite(val);
|
|
1314
|
+
}
|
|
1315
|
+
number$3.isFinite = isFinite$3;
|
|
1316
|
+
function isPositiveInfinity$3(val) {
|
|
1317
|
+
return val === Infinity;
|
|
1318
|
+
}
|
|
1319
|
+
number$3.isPositiveInfinity = isPositiveInfinity$3;
|
|
1320
|
+
function isNegativeInfinity$3(val) {
|
|
1321
|
+
return val === -Infinity;
|
|
1322
|
+
}
|
|
1323
|
+
number$3.isNegativeInfinity = isNegativeInfinity$3;
|
|
1324
|
+
function isNaN$4(val) {
|
|
1325
|
+
return Number.isNaN(val);
|
|
1326
|
+
}
|
|
1327
|
+
number$3.isNaN = isNaN$4;
|
|
1328
|
+
function isntNaN$3(val) {
|
|
1329
|
+
return !isNaN$4(val);
|
|
1330
|
+
}
|
|
1331
|
+
number$3.isntNaN = isntNaN$3;
|
|
1332
|
+
|
|
1333
|
+
var object$3 = {};
|
|
1334
|
+
|
|
1335
|
+
var __importDefault$3 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
1336
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
1337
|
+
};object$3.isntEmptyObject = object$3.isEmptyObject = object$3.isntPlainObject = object$3.isPlainObject = object$3.isntObject = object$3.isObject = void 0;
|
|
1338
|
+
const isPlainObject_1$3 = __importDefault$3(isPlainObject_1$5);
|
|
1339
|
+
function isObject$3(val) {
|
|
1340
|
+
return val !== null
|
|
1341
|
+
&& typeof val === 'object';
|
|
1342
|
+
}
|
|
1343
|
+
object$3.isObject = isObject$3;
|
|
1344
|
+
function isntObject$3(val) {
|
|
1345
|
+
return !isObject$3(val);
|
|
1346
|
+
}
|
|
1347
|
+
object$3.isntObject = isntObject$3;
|
|
1348
|
+
function isPlainObject$3(val) {
|
|
1349
|
+
return (0, isPlainObject_1$3.default)(val);
|
|
1350
|
+
}
|
|
1351
|
+
object$3.isPlainObject = isPlainObject$3;
|
|
1352
|
+
function isntPlainObject$3(val) {
|
|
1353
|
+
return !isPlainObject$3(val);
|
|
1354
|
+
}
|
|
1355
|
+
object$3.isntPlainObject = isntPlainObject$3;
|
|
1356
|
+
function isEmptyObject$3(val) {
|
|
1357
|
+
return Object.keys(val).length === 0;
|
|
1358
|
+
}
|
|
1359
|
+
object$3.isEmptyObject = isEmptyObject$3;
|
|
1360
|
+
function isntEmptyObject$3(val) {
|
|
1361
|
+
return Object.keys(val).length !== 0;
|
|
1362
|
+
}
|
|
1363
|
+
object$3.isntEmptyObject = isntEmptyObject$3;
|
|
1364
|
+
|
|
1365
|
+
json$3.isntJsonable = json$3.isJsonable = json$3.isntJson = json$3.isJson = void 0;
|
|
1366
|
+
const null_1$9 = _null$3;
|
|
1367
|
+
const boolean_1$3 = boolean$3;
|
|
1368
|
+
const string_1$6 = string$3;
|
|
1369
|
+
const number_1$3 = number$3;
|
|
1370
|
+
const array_1$3 = array$3;
|
|
1371
|
+
const object_1$7 = object$3;
|
|
1372
|
+
function isJson$3(val) {
|
|
1373
|
+
return (0, null_1$9.isNull)(val)
|
|
1374
|
+
|| (0, boolean_1$3.isBoolean)(val)
|
|
1375
|
+
|| (0, string_1$6.isString)(val)
|
|
1376
|
+
|| (0, number_1$3.isNumber)(val)
|
|
1377
|
+
|| ((0, array_1$3.isArray)(val) && val.every(isJson$3))
|
|
1378
|
+
|| ((0, object_1$7.isPlainObject)(val) && Object.values(val).every(isJson$3));
|
|
1379
|
+
}
|
|
1380
|
+
json$3.isJson = isJson$3;
|
|
1381
|
+
function isntJson$3(val) {
|
|
1382
|
+
return !isJson$3(val);
|
|
1383
|
+
}
|
|
1384
|
+
json$3.isntJson = isntJson$3;
|
|
1385
|
+
function isJsonable$3(val) {
|
|
1386
|
+
try {
|
|
1387
|
+
JSON.stringify(val);
|
|
1388
|
+
return true;
|
|
1389
|
+
}
|
|
1390
|
+
catch (_a) {
|
|
1391
|
+
return false;
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
json$3.isJsonable = isJsonable$3;
|
|
1395
|
+
function isntJsonable$3(val) {
|
|
1396
|
+
return !isntJsonable$3();
|
|
1397
|
+
}
|
|
1398
|
+
json$3.isntJsonable = isntJsonable$3;
|
|
1399
|
+
|
|
1400
|
+
var promise$3 = {};
|
|
1401
|
+
|
|
1402
|
+
promise$3.isPromiseLike = promise$3.isntPromiseLike = promise$3.isntPromise = promise$3.isPromise = void 0;
|
|
1403
|
+
const object_1$6 = object$3;
|
|
1404
|
+
const function_1$9 = _function$3;
|
|
1405
|
+
function isPromise$5(val) {
|
|
1406
|
+
return val instanceof Promise;
|
|
1407
|
+
}
|
|
1408
|
+
promise$3.isPromise = isPromise$5;
|
|
1409
|
+
function isntPromise$3(val) {
|
|
1410
|
+
return !isPromise$5(val);
|
|
1411
|
+
}
|
|
1412
|
+
promise$3.isntPromise = isntPromise$3;
|
|
1413
|
+
function isntPromiseLike$3(val) {
|
|
1414
|
+
return !isPromiseLike$3(val);
|
|
1415
|
+
}
|
|
1416
|
+
promise$3.isntPromiseLike = isntPromiseLike$3;
|
|
1417
|
+
function isPromiseLike$3(val) {
|
|
1418
|
+
return (0, object_1$6.isObject)(val)
|
|
1419
|
+
&& (0, function_1$9.isFunction)(val.then);
|
|
1420
|
+
}
|
|
1421
|
+
promise$3.isPromiseLike = isPromiseLike$3;
|
|
1422
|
+
|
|
1423
|
+
var url$3 = {};
|
|
1424
|
+
|
|
1425
|
+
url$3.isAbsoluteURL = void 0;
|
|
1426
|
+
function isAbsoluteURL$3(str) {
|
|
1427
|
+
try {
|
|
1428
|
+
new URL(str);
|
|
1429
|
+
return true;
|
|
1430
|
+
}
|
|
1431
|
+
catch (_a) {
|
|
1432
|
+
return false;
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
url$3.isAbsoluteURL = isAbsoluteURL$3;
|
|
1436
|
+
|
|
1437
|
+
var regexp$3 = {};
|
|
1438
|
+
|
|
1439
|
+
regexp$3.isntRegExp = regexp$3.isRegExp = void 0;
|
|
1440
|
+
function isRegExp$3(val) {
|
|
1441
|
+
return val instanceof RegExp;
|
|
1442
|
+
}
|
|
1443
|
+
regexp$3.isRegExp = isRegExp$3;
|
|
1444
|
+
function isntRegExp$3(val) {
|
|
1445
|
+
return !isRegExp$3(val);
|
|
1446
|
+
}
|
|
1447
|
+
regexp$3.isntRegExp = isntRegExp$3;
|
|
1448
|
+
|
|
1449
|
+
(function (exports) {
|
|
1450
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
1451
|
+
if (k2 === undefined) k2 = k;
|
|
1452
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1453
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1454
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
1455
|
+
}
|
|
1456
|
+
Object.defineProperty(o, k2, desc);
|
|
1457
|
+
}) : (function(o, m, k, k2) {
|
|
1458
|
+
if (k2 === undefined) k2 = k;
|
|
1459
|
+
o[k2] = m[k];
|
|
1460
|
+
}));
|
|
1461
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
1462
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
1463
|
+
};__exportStar(array$3, exports);
|
|
1464
|
+
__exportStar(asyncIterable$3, exports);
|
|
1465
|
+
__exportStar(bigint$3, exports);
|
|
1466
|
+
__exportStar(boolean$3, exports);
|
|
1467
|
+
__exportStar(char$3, exports);
|
|
1468
|
+
__exportStar(date$3, exports);
|
|
1469
|
+
__exportStar(_enum$3, exports);
|
|
1470
|
+
__exportStar(error$3, exports);
|
|
1471
|
+
__exportStar(falsy$3, exports);
|
|
1472
|
+
__exportStar(_function$3, exports);
|
|
1473
|
+
__exportStar(iterable$3, exports);
|
|
1474
|
+
__exportStar(json$3, exports);
|
|
1475
|
+
__exportStar(_null$3, exports);
|
|
1476
|
+
__exportStar(number$3, exports);
|
|
1477
|
+
__exportStar(object$3, exports);
|
|
1478
|
+
__exportStar(promise$3, exports);
|
|
1479
|
+
__exportStar(string$3, exports);
|
|
1480
|
+
__exportStar(_undefined$3, exports);
|
|
1481
|
+
__exportStar(url$3, exports);
|
|
1482
|
+
__exportStar(regexp$3, exports);
|
|
1483
|
+
|
|
1484
|
+
} (es2018$a));
|
|
1485
|
+
|
|
1486
|
+
chunkByAsync$5.chunkByAsync = void 0;
|
|
1487
|
+
const types_1$W = es2018$a;
|
|
1488
|
+
function chunkByAsync$4(iterable, predicate) {
|
|
1079
1489
|
if ((0, types_1$W.isAsyncIterable)(iterable)) {
|
|
1080
1490
|
return chunkByAsyncIterable$2(iterable, predicate);
|
|
1081
1491
|
}
|
|
@@ -1140,7 +1550,7 @@ function requireChunk () {
|
|
|
1140
1550
|
if (hasRequiredChunk) return chunk$4;
|
|
1141
1551
|
hasRequiredChunk = 1;
|
|
1142
1552
|
chunk$4.chunk = void 0;
|
|
1143
|
-
const go_1 = es2018$
|
|
1553
|
+
const go_1 = es2018$d;
|
|
1144
1554
|
const errors_1 = requireEs2018();
|
|
1145
1555
|
function chunk(iterable, size) {
|
|
1146
1556
|
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -1166,8 +1576,8 @@ chunk$4.chunk = void 0;
|
|
|
1166
1576
|
var concatAsync$5 = {};
|
|
1167
1577
|
|
|
1168
1578
|
concatAsync$5.concatAsync = void 0;
|
|
1169
|
-
const types_1$V = es2018$
|
|
1170
|
-
const go_1$x = es2018$
|
|
1579
|
+
const types_1$V = es2018$a;
|
|
1580
|
+
const go_1$x = es2018$d;
|
|
1171
1581
|
function concatAsync$4(iterable, ...otherIterables) {
|
|
1172
1582
|
return (0, go_1$x.go)(async function* () {
|
|
1173
1583
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -1189,7 +1599,7 @@ concatAsync$5.concatAsync = concatAsync$4;
|
|
|
1189
1599
|
var concat$9 = {};
|
|
1190
1600
|
|
|
1191
1601
|
concat$9.concat = void 0;
|
|
1192
|
-
const go_1$w = es2018$
|
|
1602
|
+
const go_1$w = es2018$d;
|
|
1193
1603
|
function concat$8(iterable, ...otherIterables) {
|
|
1194
1604
|
return (0, go_1$w.go)(function* () {
|
|
1195
1605
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -1223,7 +1633,7 @@ function requireDropAsync () {
|
|
|
1223
1633
|
if (hasRequiredDropAsync) return dropAsync$4;
|
|
1224
1634
|
hasRequiredDropAsync = 1;
|
|
1225
1635
|
dropAsync$4.dropAsync = void 0;
|
|
1226
|
-
const go_1 = es2018$
|
|
1636
|
+
const go_1 = es2018$d;
|
|
1227
1637
|
const utils_1 = utils$2;
|
|
1228
1638
|
const errors_1 = requireEs2018();
|
|
1229
1639
|
function dropAsync(iterable, count) {
|
|
@@ -1266,7 +1676,7 @@ function requireDropRightAsync () {
|
|
|
1266
1676
|
if (hasRequiredDropRightAsync) return dropRightAsync$4;
|
|
1267
1677
|
hasRequiredDropRightAsync = 1;
|
|
1268
1678
|
dropRightAsync$4.dropRightAsync = void 0;
|
|
1269
|
-
const go_1 = es2018$
|
|
1679
|
+
const go_1 = es2018$d;
|
|
1270
1680
|
const utils_1 = utils$2;
|
|
1271
1681
|
const errors_1 = requireEs2018();
|
|
1272
1682
|
function dropRightAsync(iterable, count) {
|
|
@@ -1302,7 +1712,7 @@ function requireDropRight () {
|
|
|
1302
1712
|
if (hasRequiredDropRight) return dropRight$4;
|
|
1303
1713
|
hasRequiredDropRight = 1;
|
|
1304
1714
|
dropRight$4.dropRight = void 0;
|
|
1305
|
-
const go_1 = es2018$
|
|
1715
|
+
const go_1 = es2018$d;
|
|
1306
1716
|
const utils_1 = utils$2;
|
|
1307
1717
|
const errors_1 = requireEs2018();
|
|
1308
1718
|
function dropRight(iterable, count) {
|
|
@@ -1323,7 +1733,7 @@ dropRight$4.dropRight = void 0;
|
|
|
1323
1733
|
var dropUntilAsync$5 = {};
|
|
1324
1734
|
|
|
1325
1735
|
dropUntilAsync$5.dropUntilAsync = void 0;
|
|
1326
|
-
const types_1$U = es2018$
|
|
1736
|
+
const types_1$U = es2018$a;
|
|
1327
1737
|
function dropUntilAsync$4(iterable, predicate) {
|
|
1328
1738
|
if ((0, types_1$U.isAsyncIterable)(iterable)) {
|
|
1329
1739
|
return dropUntilAsyncIterable$2(iterable, predicate);
|
|
@@ -1410,7 +1820,7 @@ function requireDrop () {
|
|
|
1410
1820
|
if (hasRequiredDrop) return drop$4;
|
|
1411
1821
|
hasRequiredDrop = 1;
|
|
1412
1822
|
drop$4.drop = void 0;
|
|
1413
|
-
const go_1 = es2018$
|
|
1823
|
+
const go_1 = es2018$d;
|
|
1414
1824
|
const utils_1 = utils$2;
|
|
1415
1825
|
const errors_1 = requireEs2018();
|
|
1416
1826
|
function drop(iterable, count) {
|
|
@@ -1448,7 +1858,7 @@ drop$4.drop = void 0;
|
|
|
1448
1858
|
var filterAsync$5 = {};
|
|
1449
1859
|
|
|
1450
1860
|
filterAsync$5.filterAsync = void 0;
|
|
1451
|
-
const types_1$T = es2018$
|
|
1861
|
+
const types_1$T = es2018$a;
|
|
1452
1862
|
function filterAsync$4(iterable, predicate) {
|
|
1453
1863
|
if ((0, types_1$T.isAsyncIterable)(iterable)) {
|
|
1454
1864
|
return filterAsyncIterable$2(iterable, predicate);
|
|
@@ -1495,7 +1905,7 @@ var flattenDeepAsync$4 = {};
|
|
|
1495
1905
|
var flattenByAsync$5 = {};
|
|
1496
1906
|
|
|
1497
1907
|
flattenByAsync$5.flattenByAsync = void 0;
|
|
1498
|
-
const types_1$S = es2018$
|
|
1908
|
+
const types_1$S = es2018$a;
|
|
1499
1909
|
function flattenByAsync$4(iterable, predicate) {
|
|
1500
1910
|
if ((0, types_1$S.isAsyncIterable)(iterable)) {
|
|
1501
1911
|
return flattenByAsyncIterable$2(iterable, predicate);
|
|
@@ -1569,7 +1979,7 @@ flattenAsync$4.flattenAsync = void 0;
|
|
|
1569
1979
|
var flattenBy$5 = {};
|
|
1570
1980
|
|
|
1571
1981
|
flattenBy$5.flattenBy = void 0;
|
|
1572
|
-
const types_1$R = es2018$
|
|
1982
|
+
const types_1$R = es2018$a;
|
|
1573
1983
|
function flattenBy$4(iterable, predicate) {
|
|
1574
1984
|
return flatten$9(iterable, predicate, 1);
|
|
1575
1985
|
}
|
|
@@ -1628,7 +2038,7 @@ flatten$8.flatten = void 0;
|
|
|
1628
2038
|
var mapAsync$5 = {};
|
|
1629
2039
|
|
|
1630
2040
|
mapAsync$5.mapAsync = void 0;
|
|
1631
|
-
const types_1$Q = es2018$
|
|
2041
|
+
const types_1$Q = es2018$a;
|
|
1632
2042
|
function mapAsync$4(iterable, fn) {
|
|
1633
2043
|
if ((0, types_1$Q.isAsyncIterable)(iterable)) {
|
|
1634
2044
|
return mapAsyncIterable$2(iterable, fn);
|
|
@@ -1673,7 +2083,7 @@ function requireRepeatAsync () {
|
|
|
1673
2083
|
if (hasRequiredRepeatAsync) return repeatAsync$4;
|
|
1674
2084
|
hasRequiredRepeatAsync = 1;
|
|
1675
2085
|
repeatAsync$4.repeatAsync = void 0;
|
|
1676
|
-
const go_1 = es2018$
|
|
2086
|
+
const go_1 = es2018$d;
|
|
1677
2087
|
const errors_1 = requireEs2018();
|
|
1678
2088
|
function repeatAsync(iterable, times) {
|
|
1679
2089
|
(0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -1716,7 +2126,7 @@ function requireRepeat () {
|
|
|
1716
2126
|
if (hasRequiredRepeat) return repeat$6;
|
|
1717
2127
|
hasRequiredRepeat = 1;
|
|
1718
2128
|
repeat$6.repeat = void 0;
|
|
1719
|
-
const go_1 = es2018$
|
|
2129
|
+
const go_1 = es2018$d;
|
|
1720
2130
|
const errors_1 = requireEs2018();
|
|
1721
2131
|
function repeat(iterable, times) {
|
|
1722
2132
|
(0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -1759,7 +2169,7 @@ function requireSliceAsync () {
|
|
|
1759
2169
|
if (hasRequiredSliceAsync) return sliceAsync$4;
|
|
1760
2170
|
hasRequiredSliceAsync = 1;
|
|
1761
2171
|
sliceAsync$4.sliceAsync = void 0;
|
|
1762
|
-
const go_1 = es2018$
|
|
2172
|
+
const go_1 = es2018$d;
|
|
1763
2173
|
const errors_1 = requireEs2018();
|
|
1764
2174
|
function sliceAsync(iterable, start, end = Infinity) {
|
|
1765
2175
|
(0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -1790,7 +2200,7 @@ function requireSlice () {
|
|
|
1790
2200
|
if (hasRequiredSlice) return slice$4;
|
|
1791
2201
|
hasRequiredSlice = 1;
|
|
1792
2202
|
slice$4.slice = void 0;
|
|
1793
|
-
const go_1 = es2018$
|
|
2203
|
+
const go_1 = es2018$d;
|
|
1794
2204
|
const errors_1 = requireEs2018();
|
|
1795
2205
|
function slice(iterable, start, end = Infinity) {
|
|
1796
2206
|
(0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -1834,7 +2244,7 @@ splitAsync$5.splitAsync = splitAsync$4;
|
|
|
1834
2244
|
var splitByAsync$5 = {};
|
|
1835
2245
|
|
|
1836
2246
|
splitByAsync$5.splitByAsync = void 0;
|
|
1837
|
-
const types_1$P = es2018$
|
|
2247
|
+
const types_1$P = es2018$a;
|
|
1838
2248
|
function splitByAsync$4(iterable, predicate) {
|
|
1839
2249
|
if ((0, types_1$P.isAsyncIterable)(iterable)) {
|
|
1840
2250
|
return splitByAsyncIterable$2(iterable, predicate);
|
|
@@ -1921,7 +2331,7 @@ function requireTakeAsync () {
|
|
|
1921
2331
|
if (hasRequiredTakeAsync) return takeAsync$4;
|
|
1922
2332
|
hasRequiredTakeAsync = 1;
|
|
1923
2333
|
takeAsync$4.takeAsync = void 0;
|
|
1924
|
-
const go_1 = es2018$
|
|
2334
|
+
const go_1 = es2018$d;
|
|
1925
2335
|
const errors_1 = requireEs2018();
|
|
1926
2336
|
function takeAsync(iterable, count) {
|
|
1927
2337
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -1950,7 +2360,7 @@ function requireTakeRightAsync () {
|
|
|
1950
2360
|
if (hasRequiredTakeRightAsync) return takeRightAsync$4;
|
|
1951
2361
|
hasRequiredTakeRightAsync = 1;
|
|
1952
2362
|
takeRightAsync$4.takeRightAsync = void 0;
|
|
1953
|
-
const go_1 = es2018$
|
|
2363
|
+
const go_1 = es2018$d;
|
|
1954
2364
|
const errors_1 = requireEs2018();
|
|
1955
2365
|
function takeRightAsync(iterable, count) {
|
|
1956
2366
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -1988,7 +2398,7 @@ function requireTakeRight () {
|
|
|
1988
2398
|
if (hasRequiredTakeRight) return takeRight$4;
|
|
1989
2399
|
hasRequiredTakeRight = 1;
|
|
1990
2400
|
takeRight$4.takeRight = void 0;
|
|
1991
|
-
const go_1 = es2018$
|
|
2401
|
+
const go_1 = es2018$d;
|
|
1992
2402
|
const errors_1 = requireEs2018();
|
|
1993
2403
|
function takeRight(iterable, count) {
|
|
1994
2404
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -2021,7 +2431,7 @@ takeRight$4.takeRight = void 0;
|
|
|
2021
2431
|
var takeUntilAsync$5 = {};
|
|
2022
2432
|
|
|
2023
2433
|
takeUntilAsync$5.takeUntilAsync = void 0;
|
|
2024
|
-
const types_1$O = es2018$
|
|
2434
|
+
const types_1$O = es2018$a;
|
|
2025
2435
|
function takeUntilAsync$4(iterable, predicate) {
|
|
2026
2436
|
if ((0, types_1$O.isAsyncIterable)(iterable)) {
|
|
2027
2437
|
return takeUntilAsyncIterable$2(iterable, predicate);
|
|
@@ -2072,7 +2482,7 @@ function requireTake () {
|
|
|
2072
2482
|
if (hasRequiredTake) return take$6;
|
|
2073
2483
|
hasRequiredTake = 1;
|
|
2074
2484
|
take$6.take = void 0;
|
|
2075
|
-
const go_1 = es2018$
|
|
2485
|
+
const go_1 = es2018$d;
|
|
2076
2486
|
const errors_1 = requireEs2018();
|
|
2077
2487
|
function take(iterable, count) {
|
|
2078
2488
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -2096,7 +2506,7 @@ take$6.take = void 0;
|
|
|
2096
2506
|
var tapAsync$5 = {};
|
|
2097
2507
|
|
|
2098
2508
|
tapAsync$5.tapAsync = void 0;
|
|
2099
|
-
const types_1$N = es2018$
|
|
2509
|
+
const types_1$N = es2018$a;
|
|
2100
2510
|
function tapAsync$4(iterable, fn) {
|
|
2101
2511
|
if ((0, types_1$N.isAsyncIterable)(iterable)) {
|
|
2102
2512
|
return tapAsyncIterable$2(iterable, fn);
|
|
@@ -2179,7 +2589,7 @@ uniqAsync$5.uniqAsync = uniqAsync$4;
|
|
|
2179
2589
|
var uniqByAsync$5 = {};
|
|
2180
2590
|
|
|
2181
2591
|
uniqByAsync$5.uniqByAsync = void 0;
|
|
2182
|
-
const types_1$M = es2018$
|
|
2592
|
+
const types_1$M = es2018$a;
|
|
2183
2593
|
function uniqByAsync$4(iterable, fn) {
|
|
2184
2594
|
if ((0, types_1$M.isAsyncIterable)(iterable)) {
|
|
2185
2595
|
return uniqByAsyncIterable$2(iterable, fn);
|
|
@@ -2248,7 +2658,7 @@ uniq$5.uniq = uniq$4;
|
|
|
2248
2658
|
var zipAsync$5 = {};
|
|
2249
2659
|
|
|
2250
2660
|
zipAsync$5.zipAsync = void 0;
|
|
2251
|
-
const types_1$L = es2018$
|
|
2661
|
+
const types_1$L = es2018$a;
|
|
2252
2662
|
var Kind$2;
|
|
2253
2663
|
(function (Kind) {
|
|
2254
2664
|
Kind[Kind["Sync"] = 0] = "Sync";
|
|
@@ -2419,7 +2829,7 @@ consume$5.consume = consume$4;
|
|
|
2419
2829
|
var eachAsync$5 = {};
|
|
2420
2830
|
|
|
2421
2831
|
eachAsync$5.eachAsync = void 0;
|
|
2422
|
-
const types_1$K = es2018$
|
|
2832
|
+
const types_1$K = es2018$a;
|
|
2423
2833
|
function eachAsync$4(iterable, fn) {
|
|
2424
2834
|
if ((0, types_1$K.isAsyncIterable)(iterable)) {
|
|
2425
2835
|
return eachAsyncIterable$2(iterable, fn);
|
|
@@ -2459,7 +2869,7 @@ each$5.each = each$4;
|
|
|
2459
2869
|
var everyAsync$5 = {};
|
|
2460
2870
|
|
|
2461
2871
|
everyAsync$5.everyAsync = void 0;
|
|
2462
|
-
const types_1$J = es2018$
|
|
2872
|
+
const types_1$J = es2018$a;
|
|
2463
2873
|
function everyAsync$4(iterable, predicate) {
|
|
2464
2874
|
if ((0, types_1$J.isAsyncIterable)(iterable)) {
|
|
2465
2875
|
return everyAsyncIterable$2(iterable, predicate);
|
|
@@ -2505,7 +2915,7 @@ every$7.every = every$6;
|
|
|
2505
2915
|
var findAsync$5 = {};
|
|
2506
2916
|
|
|
2507
2917
|
findAsync$5.findAsync = void 0;
|
|
2508
|
-
const types_1$I = es2018$
|
|
2918
|
+
const types_1$I = es2018$a;
|
|
2509
2919
|
function findAsync$4(iterable, predicate) {
|
|
2510
2920
|
if ((0, types_1$I.isAsyncIterable)(iterable)) {
|
|
2511
2921
|
return findAsyncIterable$2(iterable, predicate);
|
|
@@ -2629,7 +3039,7 @@ match$5.match = match$4;
|
|
|
2629
3039
|
var reduceAsync$5 = {};
|
|
2630
3040
|
|
|
2631
3041
|
reduceAsync$5.reduceAsync = void 0;
|
|
2632
|
-
const types_1$H = es2018$
|
|
3042
|
+
const types_1$H = es2018$a;
|
|
2633
3043
|
function reduceAsync$4(iterable, fn, initialValue) {
|
|
2634
3044
|
if ((0, types_1$H.isUndefined)(initialValue)) {
|
|
2635
3045
|
return reduceAsyncWithoutInitialValue$2(iterable, fn);
|
|
@@ -2725,7 +3135,7 @@ function reduceAsyncWithoutInitialValue$2(iterable, fn) {
|
|
|
2725
3135
|
var reduce$7 = {};
|
|
2726
3136
|
|
|
2727
3137
|
reduce$7.reduce = void 0;
|
|
2728
|
-
const types_1$G = es2018$
|
|
3138
|
+
const types_1$G = es2018$a;
|
|
2729
3139
|
function reduce$6(iterable, fn, initialValue) {
|
|
2730
3140
|
if ((0, types_1$G.isUndefined)(initialValue)) {
|
|
2731
3141
|
return reduceWithoutInitialValue$2(iterable, fn);
|
|
@@ -2772,7 +3182,7 @@ function reduceWithoutInitialValue$2(iterable, fn) {
|
|
|
2772
3182
|
var someAsync$5 = {};
|
|
2773
3183
|
|
|
2774
3184
|
someAsync$5.someAsync = void 0;
|
|
2775
|
-
const types_1$F = es2018$
|
|
3185
|
+
const types_1$F = es2018$a;
|
|
2776
3186
|
function someAsync$4(iterable, predicate) {
|
|
2777
3187
|
if ((0, types_1$F.isAsyncIterable)(iterable)) {
|
|
2778
3188
|
return someAsyncIterable$2(iterable, predicate);
|
|
@@ -3012,7 +3422,7 @@ groupByAsync$5.groupByAsync = groupByAsync$4;
|
|
|
3012
3422
|
var hasRequiredEs2018$1;
|
|
3013
3423
|
|
|
3014
3424
|
function requireEs2018$1 () {
|
|
3015
|
-
if (hasRequiredEs2018$1) return es2018$
|
|
3425
|
+
if (hasRequiredEs2018$1) return es2018$e;
|
|
3016
3426
|
hasRequiredEs2018$1 = 1;
|
|
3017
3427
|
(function (exports) {
|
|
3018
3428
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -3031,8 +3441,8 @@ function requireEs2018$1 () {
|
|
|
3031
3441
|
};__exportStar(requireMiddleware(), exports);
|
|
3032
3442
|
__exportStar(output$2, exports);
|
|
3033
3443
|
|
|
3034
|
-
} (es2018$
|
|
3035
|
-
return es2018$
|
|
3444
|
+
} (es2018$e));
|
|
3445
|
+
return es2018$e;
|
|
3036
3446
|
}
|
|
3037
3447
|
|
|
3038
3448
|
var getErrorNames$1 = {};
|
|
@@ -3051,7 +3461,7 @@ function* traverseErrorPrototypeChain(err) {
|
|
|
3051
3461
|
traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
|
|
3052
3462
|
|
|
3053
3463
|
getErrorNames$1.getErrorNames = void 0;
|
|
3054
|
-
const types_1$E = es2018$
|
|
3464
|
+
const types_1$E = es2018$a;
|
|
3055
3465
|
const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
|
|
3056
3466
|
function* getErrorNames(err) {
|
|
3057
3467
|
var _a;
|
|
@@ -3072,7 +3482,7 @@ getErrorNames$1.getErrorNames = getErrorNames;
|
|
|
3072
3482
|
var serializableError = {};
|
|
3073
3483
|
|
|
3074
3484
|
serializableError.isSerializableError = void 0;
|
|
3075
|
-
const types_1$D = es2018$
|
|
3485
|
+
const types_1$D = es2018$a;
|
|
3076
3486
|
function isSerializableError(val) {
|
|
3077
3487
|
return (0, types_1$D.isObject)(val)
|
|
3078
3488
|
&& (0, types_1$D.isString)(val.name)
|
|
@@ -3090,7 +3500,7 @@ function requireCustomError () {
|
|
|
3090
3500
|
customError.CustomError = void 0;
|
|
3091
3501
|
const iterable_operator_1 = requireEs2018$1();
|
|
3092
3502
|
const get_error_names_1 = getErrorNames$1;
|
|
3093
|
-
const types_1 = es2018$
|
|
3503
|
+
const types_1 = es2018$a;
|
|
3094
3504
|
const serializable_error_1 = serializableError;
|
|
3095
3505
|
class CustomError extends Error {
|
|
3096
3506
|
get name() {
|
|
@@ -3116,179 +3526,552 @@ customError.CustomError = void 0;
|
|
|
3116
3526
|
|
|
3117
3527
|
return customError;
|
|
3118
3528
|
}
|
|
3119
|
-
|
|
3120
|
-
var assertionError = {};
|
|
3121
|
-
|
|
3122
|
-
var hasRequiredAssertionError;
|
|
3123
|
-
|
|
3124
|
-
function requireAssertionError () {
|
|
3125
|
-
if (hasRequiredAssertionError) return assertionError;
|
|
3126
|
-
hasRequiredAssertionError = 1;
|
|
3127
|
-
assertionError.AssertionError = void 0;
|
|
3128
|
-
const custom_error_1 = requireCustomError();
|
|
3129
|
-
class AssertionError extends custom_error_1.CustomError {
|
|
3130
|
-
}
|
|
3131
|
-
assertionError.AssertionError = AssertionError;
|
|
3132
|
-
|
|
3133
|
-
return assertionError;
|
|
3529
|
+
|
|
3530
|
+
var assertionError = {};
|
|
3531
|
+
|
|
3532
|
+
var hasRequiredAssertionError;
|
|
3533
|
+
|
|
3534
|
+
function requireAssertionError () {
|
|
3535
|
+
if (hasRequiredAssertionError) return assertionError;
|
|
3536
|
+
hasRequiredAssertionError = 1;
|
|
3537
|
+
assertionError.AssertionError = void 0;
|
|
3538
|
+
const custom_error_1 = requireCustomError();
|
|
3539
|
+
class AssertionError extends custom_error_1.CustomError {
|
|
3540
|
+
}
|
|
3541
|
+
assertionError.AssertionError = AssertionError;
|
|
3542
|
+
|
|
3543
|
+
return assertionError;
|
|
3544
|
+
}
|
|
3545
|
+
|
|
3546
|
+
var normalize = {};
|
|
3547
|
+
|
|
3548
|
+
var hasRequiredNormalize;
|
|
3549
|
+
|
|
3550
|
+
function requireNormalize () {
|
|
3551
|
+
if (hasRequiredNormalize) return normalize;
|
|
3552
|
+
hasRequiredNormalize = 1;
|
|
3553
|
+
normalize.normalize = void 0;
|
|
3554
|
+
const get_error_names_1 = getErrorNames$1;
|
|
3555
|
+
const iterable_operator_1 = requireEs2018$1();
|
|
3556
|
+
function normalize$1(err) {
|
|
3557
|
+
var _a;
|
|
3558
|
+
const [name, ...ancestors] = (0, iterable_operator_1.toArray)((0, get_error_names_1.getErrorNames)(err));
|
|
3559
|
+
return {
|
|
3560
|
+
name,
|
|
3561
|
+
ancestors,
|
|
3562
|
+
message: err.message,
|
|
3563
|
+
stack: (_a = err.stack) !== null && _a !== void 0 ? _a : null
|
|
3564
|
+
};
|
|
3565
|
+
}
|
|
3566
|
+
normalize.normalize = normalize$1;
|
|
3567
|
+
|
|
3568
|
+
return normalize;
|
|
3569
|
+
}
|
|
3570
|
+
|
|
3571
|
+
var hydrate$1 = {};
|
|
3572
|
+
|
|
3573
|
+
var es2018$9 = {};
|
|
3574
|
+
|
|
3575
|
+
var pass$3 = {};
|
|
3576
|
+
|
|
3577
|
+
pass$3.pass = void 0;
|
|
3578
|
+
function pass$2() { }
|
|
3579
|
+
pass$3.pass = pass$2;
|
|
3580
|
+
|
|
3581
|
+
(function (exports) {
|
|
3582
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3583
|
+
if (k2 === undefined) k2 = k;
|
|
3584
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
3585
|
+
}) : (function(o, m, k, k2) {
|
|
3586
|
+
if (k2 === undefined) k2 = k;
|
|
3587
|
+
o[k2] = m[k];
|
|
3588
|
+
}));
|
|
3589
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
3590
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3591
|
+
};__exportStar(pass$3, exports);
|
|
3592
|
+
|
|
3593
|
+
} (es2018$9));
|
|
3594
|
+
|
|
3595
|
+
hydrate$1.hydrate = void 0;
|
|
3596
|
+
const pass_1 = es2018$9;
|
|
3597
|
+
function hydrate(err) {
|
|
3598
|
+
var _a;
|
|
3599
|
+
const errorNames = [err.name, ...err.ancestors]
|
|
3600
|
+
.slice(0, -1)
|
|
3601
|
+
.reverse();
|
|
3602
|
+
let errorConstructor = Error;
|
|
3603
|
+
for (const name of errorNames) {
|
|
3604
|
+
errorConstructor = createChildErrorConstructor(errorConstructor, name);
|
|
3605
|
+
}
|
|
3606
|
+
const result = new errorConstructor();
|
|
3607
|
+
result.name = err.name;
|
|
3608
|
+
result.message = err.message;
|
|
3609
|
+
result.stack = (_a = err.stack) !== null && _a !== void 0 ? _a : undefined;
|
|
3610
|
+
return result;
|
|
3611
|
+
}
|
|
3612
|
+
hydrate$1.hydrate = hydrate;
|
|
3613
|
+
function createChildErrorConstructor(parentErrorConstructor, name) {
|
|
3614
|
+
const constructor = function () { (0, pass_1.pass)(); };
|
|
3615
|
+
constructor.prototype = Object.create(parentErrorConstructor.prototype);
|
|
3616
|
+
constructor.prototype.constructor = constructor;
|
|
3617
|
+
Object.defineProperty(constructor, 'name', { value: name });
|
|
3618
|
+
return constructor;
|
|
3619
|
+
}
|
|
3620
|
+
|
|
3621
|
+
var assert = {};
|
|
3622
|
+
|
|
3623
|
+
var hasRequiredAssert;
|
|
3624
|
+
|
|
3625
|
+
function requireAssert () {
|
|
3626
|
+
if (hasRequiredAssert) return assert;
|
|
3627
|
+
hasRequiredAssert = 1;
|
|
3628
|
+
assert.assert = void 0;
|
|
3629
|
+
const assertion_error_1 = requireAssertionError();
|
|
3630
|
+
function assert$1(condition, message) {
|
|
3631
|
+
if (!condition)
|
|
3632
|
+
throw new assertion_error_1.AssertionError(message);
|
|
3633
|
+
}
|
|
3634
|
+
assert.assert = assert$1;
|
|
3635
|
+
|
|
3636
|
+
return assert;
|
|
3637
|
+
}
|
|
3638
|
+
|
|
3639
|
+
var hasRequiredEs2018;
|
|
3640
|
+
|
|
3641
|
+
function requireEs2018 () {
|
|
3642
|
+
if (hasRequiredEs2018) return es2018$f;
|
|
3643
|
+
hasRequiredEs2018 = 1;
|
|
3644
|
+
(function (exports) {
|
|
3645
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3646
|
+
if (k2 === undefined) k2 = k;
|
|
3647
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3648
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3649
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
3650
|
+
}
|
|
3651
|
+
Object.defineProperty(o, k2, desc);
|
|
3652
|
+
}) : (function(o, m, k, k2) {
|
|
3653
|
+
if (k2 === undefined) k2 = k;
|
|
3654
|
+
o[k2] = m[k];
|
|
3655
|
+
}));
|
|
3656
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
3657
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3658
|
+
};__exportStar(requireCustomError(), exports);
|
|
3659
|
+
__exportStar(requireAssertionError(), exports);
|
|
3660
|
+
__exportStar(serializableError, exports);
|
|
3661
|
+
__exportStar(requireNormalize(), exports);
|
|
3662
|
+
__exportStar(hydrate$1, exports);
|
|
3663
|
+
__exportStar(requireAssert(), exports);
|
|
3664
|
+
__exportStar(getErrorNames$1, exports);
|
|
3665
|
+
__exportStar(traverseErrorPrototypeChain$1, exports);
|
|
3666
|
+
|
|
3667
|
+
} (es2018$f));
|
|
3668
|
+
return es2018$f;
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3671
|
+
var es2018$8 = {};
|
|
3672
|
+
|
|
3673
|
+
var middleware$1 = {};
|
|
3674
|
+
|
|
3675
|
+
var chunkAsync$3 = {};
|
|
3676
|
+
|
|
3677
|
+
chunkAsync$3.chunkAsync = void 0;
|
|
3678
|
+
const go_1$v = es2018$d;
|
|
3679
|
+
const errors_1$C = requireEs2018();
|
|
3680
|
+
function chunkAsync$2(iterable, size) {
|
|
3681
|
+
(0, errors_1$C.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
3682
|
+
(0, errors_1$C.assert)(size > 0, 'The parameter size must be greater than 0');
|
|
3683
|
+
return (0, go_1$v.go)(async function* () {
|
|
3684
|
+
let buffer = [];
|
|
3685
|
+
for await (const element of iterable) {
|
|
3686
|
+
buffer.push(element);
|
|
3687
|
+
if (buffer.length >= size) {
|
|
3688
|
+
yield buffer;
|
|
3689
|
+
buffer = [];
|
|
3690
|
+
}
|
|
3691
|
+
}
|
|
3692
|
+
if (buffer.length)
|
|
3693
|
+
yield buffer;
|
|
3694
|
+
});
|
|
3695
|
+
}
|
|
3696
|
+
chunkAsync$3.chunkAsync = chunkAsync$2;
|
|
3697
|
+
|
|
3698
|
+
var chunkByAsync$3 = {};
|
|
3699
|
+
|
|
3700
|
+
var es2018$7 = {};
|
|
3701
|
+
|
|
3702
|
+
var array$2 = {};
|
|
3703
|
+
|
|
3704
|
+
array$2.isntEmptyArray = array$2.isEmptyArray = array$2.isntArray = array$2.isArray = void 0;
|
|
3705
|
+
function isArray$5(val) {
|
|
3706
|
+
return Array.isArray(val);
|
|
3707
|
+
}
|
|
3708
|
+
array$2.isArray = isArray$5;
|
|
3709
|
+
function isntArray$2(val) {
|
|
3710
|
+
return !isArray$5(val);
|
|
3711
|
+
}
|
|
3712
|
+
array$2.isntArray = isntArray$2;
|
|
3713
|
+
function isEmptyArray$2(val) {
|
|
3714
|
+
return val.length === 0;
|
|
3715
|
+
}
|
|
3716
|
+
array$2.isEmptyArray = isEmptyArray$2;
|
|
3717
|
+
function isntEmptyArray$2(val) {
|
|
3718
|
+
return val.length !== 0;
|
|
3719
|
+
}
|
|
3720
|
+
array$2.isntEmptyArray = isntEmptyArray$2;
|
|
3721
|
+
|
|
3722
|
+
var asyncIterable$2 = {};
|
|
3723
|
+
|
|
3724
|
+
var _null$2 = {};
|
|
3725
|
+
|
|
3726
|
+
_null$2.isntNull = _null$2.isNull = void 0;
|
|
3727
|
+
function isNull$2(val) {
|
|
3728
|
+
return val === null;
|
|
3729
|
+
}
|
|
3730
|
+
_null$2.isNull = isNull$2;
|
|
3731
|
+
function isntNull$2(val) {
|
|
3732
|
+
return !isNull$2(val);
|
|
3733
|
+
}
|
|
3734
|
+
_null$2.isntNull = isntNull$2;
|
|
3735
|
+
|
|
3736
|
+
var _undefined$2 = {};
|
|
3737
|
+
|
|
3738
|
+
_undefined$2.isntUndefined = _undefined$2.isUndefined = void 0;
|
|
3739
|
+
function isUndefined$2(val) {
|
|
3740
|
+
return val === undefined;
|
|
3741
|
+
}
|
|
3742
|
+
_undefined$2.isUndefined = isUndefined$2;
|
|
3743
|
+
function isntUndefined$2(val) {
|
|
3744
|
+
return !isUndefined$2(val);
|
|
3745
|
+
}
|
|
3746
|
+
_undefined$2.isntUndefined = isntUndefined$2;
|
|
3747
|
+
|
|
3748
|
+
var _function$2 = {};
|
|
3749
|
+
|
|
3750
|
+
_function$2.isntFunction = _function$2.isFunction = void 0;
|
|
3751
|
+
function isFunction$4(val) {
|
|
3752
|
+
return typeof val === 'function';
|
|
3753
|
+
}
|
|
3754
|
+
_function$2.isFunction = isFunction$4;
|
|
3755
|
+
function isntFunction$2(val) {
|
|
3756
|
+
return !isFunction$4(val);
|
|
3757
|
+
}
|
|
3758
|
+
_function$2.isntFunction = isntFunction$2;
|
|
3759
|
+
|
|
3760
|
+
asyncIterable$2.isntAsyncIterable = asyncIterable$2.isAsyncIterable = void 0;
|
|
3761
|
+
const null_1$8 = _null$2;
|
|
3762
|
+
const undefined_1$5 = _undefined$2;
|
|
3763
|
+
const function_1$8 = _function$2;
|
|
3764
|
+
function isAsyncIterable$4(val) {
|
|
3765
|
+
return (0, null_1$8.isntNull)(val)
|
|
3766
|
+
&& (0, undefined_1$5.isntUndefined)(val)
|
|
3767
|
+
&& (0, function_1$8.isFunction)(val[Symbol.asyncIterator]);
|
|
3768
|
+
}
|
|
3769
|
+
asyncIterable$2.isAsyncIterable = isAsyncIterable$4;
|
|
3770
|
+
function isntAsyncIterable$2(val) {
|
|
3771
|
+
return !isAsyncIterable$4(val);
|
|
3772
|
+
}
|
|
3773
|
+
asyncIterable$2.isntAsyncIterable = isntAsyncIterable$2;
|
|
3774
|
+
|
|
3775
|
+
var bigint$2 = {};
|
|
3776
|
+
|
|
3777
|
+
bigint$2.isntBigInt = bigint$2.isBigInt = void 0;
|
|
3778
|
+
function isBigInt$2(val) {
|
|
3779
|
+
return typeof val === 'bigint';
|
|
3780
|
+
}
|
|
3781
|
+
bigint$2.isBigInt = isBigInt$2;
|
|
3782
|
+
function isntBigInt$2(val) {
|
|
3783
|
+
return !isBigInt$2(val);
|
|
3784
|
+
}
|
|
3785
|
+
bigint$2.isntBigInt = isntBigInt$2;
|
|
3786
|
+
|
|
3787
|
+
var boolean$2 = {};
|
|
3788
|
+
|
|
3789
|
+
boolean$2.isntBoolean = boolean$2.isBoolean = void 0;
|
|
3790
|
+
function isBoolean$2(val) {
|
|
3791
|
+
return typeof val === 'boolean';
|
|
3792
|
+
}
|
|
3793
|
+
boolean$2.isBoolean = isBoolean$2;
|
|
3794
|
+
function isntBoolean$2(val) {
|
|
3795
|
+
return !isBoolean$2(val);
|
|
3796
|
+
}
|
|
3797
|
+
boolean$2.isntBoolean = isntBoolean$2;
|
|
3798
|
+
|
|
3799
|
+
var char$2 = {};
|
|
3800
|
+
|
|
3801
|
+
var string$2 = {};
|
|
3802
|
+
|
|
3803
|
+
string$2.isntString = string$2.isString = void 0;
|
|
3804
|
+
function isString$2(val) {
|
|
3805
|
+
return typeof val === 'string';
|
|
3806
|
+
}
|
|
3807
|
+
string$2.isString = isString$2;
|
|
3808
|
+
function isntString$2(val) {
|
|
3809
|
+
return !isString$2(val);
|
|
3810
|
+
}
|
|
3811
|
+
string$2.isntString = isntString$2;
|
|
3812
|
+
|
|
3813
|
+
char$2.isntChar = char$2.isChar = void 0;
|
|
3814
|
+
const string_1$5 = string$2;
|
|
3815
|
+
function isChar$2(val) {
|
|
3816
|
+
return (0, string_1$5.isString)(val)
|
|
3817
|
+
&& val.length === 1;
|
|
3818
|
+
}
|
|
3819
|
+
char$2.isChar = isChar$2;
|
|
3820
|
+
function isntChar$2(val) {
|
|
3821
|
+
return !isChar$2(val);
|
|
3822
|
+
}
|
|
3823
|
+
char$2.isntChar = isntChar$2;
|
|
3824
|
+
|
|
3825
|
+
var date$2 = {};
|
|
3826
|
+
|
|
3827
|
+
date$2.isntDate = date$2.isDate = void 0;
|
|
3828
|
+
function isDate$3(val) {
|
|
3829
|
+
return val instanceof Date;
|
|
3830
|
+
}
|
|
3831
|
+
date$2.isDate = isDate$3;
|
|
3832
|
+
function isntDate$2(val) {
|
|
3833
|
+
return !isDate$3(val);
|
|
3834
|
+
}
|
|
3835
|
+
date$2.isntDate = isntDate$2;
|
|
3836
|
+
|
|
3837
|
+
var _enum$2 = {};
|
|
3838
|
+
|
|
3839
|
+
_enum$2.inEnum = void 0;
|
|
3840
|
+
function inEnum$2(val, _enum) {
|
|
3841
|
+
return Object.values(_enum).includes(val);
|
|
3842
|
+
}
|
|
3843
|
+
_enum$2.inEnum = inEnum$2;
|
|
3844
|
+
|
|
3845
|
+
var error$2 = {};
|
|
3846
|
+
|
|
3847
|
+
error$2.isntError = error$2.isError = void 0;
|
|
3848
|
+
function isError$2(val) {
|
|
3849
|
+
return val instanceof Error;
|
|
3850
|
+
}
|
|
3851
|
+
error$2.isError = isError$2;
|
|
3852
|
+
function isntError$2(val) {
|
|
3853
|
+
return !isError$2(val);
|
|
3854
|
+
}
|
|
3855
|
+
error$2.isntError = isntError$2;
|
|
3856
|
+
|
|
3857
|
+
var falsy$2 = {};
|
|
3858
|
+
|
|
3859
|
+
falsy$2.isntFalsy = falsy$2.isFalsy = void 0;
|
|
3860
|
+
function isFalsy$2(val) {
|
|
3861
|
+
return !val;
|
|
3862
|
+
}
|
|
3863
|
+
falsy$2.isFalsy = isFalsy$2;
|
|
3864
|
+
function isntFalsy$2(val) {
|
|
3865
|
+
return !isFalsy$2(val);
|
|
3866
|
+
}
|
|
3867
|
+
falsy$2.isntFalsy = isntFalsy$2;
|
|
3868
|
+
|
|
3869
|
+
var iterable$2 = {};
|
|
3870
|
+
|
|
3871
|
+
iterable$2.isntIterable = iterable$2.isIterable = void 0;
|
|
3872
|
+
const null_1$7 = _null$2;
|
|
3873
|
+
const undefined_1$4 = _undefined$2;
|
|
3874
|
+
const function_1$7 = _function$2;
|
|
3875
|
+
function isIterable$4(val) {
|
|
3876
|
+
return (0, null_1$7.isntNull)(val)
|
|
3877
|
+
&& (0, undefined_1$4.isntUndefined)(val)
|
|
3878
|
+
&& (0, function_1$7.isFunction)(val[Symbol.iterator]);
|
|
3879
|
+
}
|
|
3880
|
+
iterable$2.isIterable = isIterable$4;
|
|
3881
|
+
function isntIterable$2(val) {
|
|
3882
|
+
return !isIterable$4(val);
|
|
3883
|
+
}
|
|
3884
|
+
iterable$2.isntIterable = isntIterable$2;
|
|
3885
|
+
|
|
3886
|
+
var json$2 = {};
|
|
3887
|
+
|
|
3888
|
+
var number$2 = {};
|
|
3889
|
+
|
|
3890
|
+
number$2.isntNaN = number$2.isNaN = number$2.isNegativeInfinity = number$2.isPositiveInfinity = number$2.isFinite = number$2.isntNumber = number$2.isNumber = void 0;
|
|
3891
|
+
function isNumber$2(val) {
|
|
3892
|
+
return typeof val === 'number';
|
|
3893
|
+
}
|
|
3894
|
+
number$2.isNumber = isNumber$2;
|
|
3895
|
+
function isntNumber$2(val) {
|
|
3896
|
+
return !isNumber$2(val);
|
|
3897
|
+
}
|
|
3898
|
+
number$2.isntNumber = isntNumber$2;
|
|
3899
|
+
function isFinite$2(val) {
|
|
3900
|
+
return Number.isFinite(val);
|
|
3901
|
+
}
|
|
3902
|
+
number$2.isFinite = isFinite$2;
|
|
3903
|
+
function isPositiveInfinity$2(val) {
|
|
3904
|
+
return val === Infinity;
|
|
3905
|
+
}
|
|
3906
|
+
number$2.isPositiveInfinity = isPositiveInfinity$2;
|
|
3907
|
+
function isNegativeInfinity$2(val) {
|
|
3908
|
+
return val === -Infinity;
|
|
3909
|
+
}
|
|
3910
|
+
number$2.isNegativeInfinity = isNegativeInfinity$2;
|
|
3911
|
+
function isNaN$3(val) {
|
|
3912
|
+
return Number.isNaN(val);
|
|
3913
|
+
}
|
|
3914
|
+
number$2.isNaN = isNaN$3;
|
|
3915
|
+
function isntNaN$2(val) {
|
|
3916
|
+
return !isNaN$3(val);
|
|
3917
|
+
}
|
|
3918
|
+
number$2.isntNaN = isntNaN$2;
|
|
3919
|
+
|
|
3920
|
+
var object$2 = {};
|
|
3921
|
+
|
|
3922
|
+
var __importDefault$2 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
3923
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
3924
|
+
};object$2.isntEmptyObject = object$2.isEmptyObject = object$2.isntPlainObject = object$2.isPlainObject = object$2.isntObject = object$2.isObject = void 0;
|
|
3925
|
+
const isPlainObject_1$2 = __importDefault$2(isPlainObject_1$5);
|
|
3926
|
+
function isObject$2(val) {
|
|
3927
|
+
return val !== null
|
|
3928
|
+
&& typeof val === 'object';
|
|
3929
|
+
}
|
|
3930
|
+
object$2.isObject = isObject$2;
|
|
3931
|
+
function isntObject$2(val) {
|
|
3932
|
+
return !isObject$2(val);
|
|
3933
|
+
}
|
|
3934
|
+
object$2.isntObject = isntObject$2;
|
|
3935
|
+
function isPlainObject$2(val) {
|
|
3936
|
+
return (0, isPlainObject_1$2.default)(val);
|
|
3937
|
+
}
|
|
3938
|
+
object$2.isPlainObject = isPlainObject$2;
|
|
3939
|
+
function isntPlainObject$2(val) {
|
|
3940
|
+
return !isPlainObject$2(val);
|
|
3941
|
+
}
|
|
3942
|
+
object$2.isntPlainObject = isntPlainObject$2;
|
|
3943
|
+
function isEmptyObject$2(val) {
|
|
3944
|
+
return Object.keys(val).length === 0;
|
|
3945
|
+
}
|
|
3946
|
+
object$2.isEmptyObject = isEmptyObject$2;
|
|
3947
|
+
function isntEmptyObject$2(val) {
|
|
3948
|
+
return Object.keys(val).length !== 0;
|
|
3949
|
+
}
|
|
3950
|
+
object$2.isntEmptyObject = isntEmptyObject$2;
|
|
3951
|
+
|
|
3952
|
+
json$2.isntJsonable = json$2.isJsonable = json$2.isntJson = json$2.isJson = void 0;
|
|
3953
|
+
const null_1$6 = _null$2;
|
|
3954
|
+
const boolean_1$2 = boolean$2;
|
|
3955
|
+
const string_1$4 = string$2;
|
|
3956
|
+
const number_1$2 = number$2;
|
|
3957
|
+
const array_1$2 = array$2;
|
|
3958
|
+
const object_1$5 = object$2;
|
|
3959
|
+
function isJson$2(val) {
|
|
3960
|
+
return (0, null_1$6.isNull)(val)
|
|
3961
|
+
|| (0, boolean_1$2.isBoolean)(val)
|
|
3962
|
+
|| (0, string_1$4.isString)(val)
|
|
3963
|
+
|| (0, number_1$2.isNumber)(val)
|
|
3964
|
+
|| ((0, array_1$2.isArray)(val) && val.every(isJson$2))
|
|
3965
|
+
|| ((0, object_1$5.isPlainObject)(val) && Object.values(val).every(isJson$2));
|
|
3966
|
+
}
|
|
3967
|
+
json$2.isJson = isJson$2;
|
|
3968
|
+
function isntJson$2(val) {
|
|
3969
|
+
return !isJson$2(val);
|
|
3970
|
+
}
|
|
3971
|
+
json$2.isntJson = isntJson$2;
|
|
3972
|
+
function isJsonable$2(val) {
|
|
3973
|
+
try {
|
|
3974
|
+
JSON.stringify(val);
|
|
3975
|
+
return true;
|
|
3976
|
+
}
|
|
3977
|
+
catch (_a) {
|
|
3978
|
+
return false;
|
|
3979
|
+
}
|
|
3980
|
+
}
|
|
3981
|
+
json$2.isJsonable = isJsonable$2;
|
|
3982
|
+
function isntJsonable$2(val) {
|
|
3983
|
+
return !isntJsonable$2();
|
|
3134
3984
|
}
|
|
3985
|
+
json$2.isntJsonable = isntJsonable$2;
|
|
3135
3986
|
|
|
3136
|
-
var
|
|
3137
|
-
|
|
3138
|
-
var hasRequiredNormalize;
|
|
3987
|
+
var promise$2 = {};
|
|
3139
3988
|
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
return normalize;
|
|
3989
|
+
promise$2.isPromiseLike = promise$2.isntPromiseLike = promise$2.isntPromise = promise$2.isPromise = void 0;
|
|
3990
|
+
const object_1$4 = object$2;
|
|
3991
|
+
const function_1$6 = _function$2;
|
|
3992
|
+
function isPromise$4(val) {
|
|
3993
|
+
return val instanceof Promise;
|
|
3994
|
+
}
|
|
3995
|
+
promise$2.isPromise = isPromise$4;
|
|
3996
|
+
function isntPromise$2(val) {
|
|
3997
|
+
return !isPromise$4(val);
|
|
3998
|
+
}
|
|
3999
|
+
promise$2.isntPromise = isntPromise$2;
|
|
4000
|
+
function isntPromiseLike$2(val) {
|
|
4001
|
+
return !isPromiseLike$2(val);
|
|
4002
|
+
}
|
|
4003
|
+
promise$2.isntPromiseLike = isntPromiseLike$2;
|
|
4004
|
+
function isPromiseLike$2(val) {
|
|
4005
|
+
return (0, object_1$4.isObject)(val)
|
|
4006
|
+
&& (0, function_1$6.isFunction)(val.then);
|
|
3159
4007
|
}
|
|
4008
|
+
promise$2.isPromiseLike = isPromiseLike$2;
|
|
3160
4009
|
|
|
3161
|
-
var
|
|
4010
|
+
var url$2 = {};
|
|
3162
4011
|
|
|
3163
|
-
|
|
4012
|
+
url$2.isAbsoluteURL = void 0;
|
|
4013
|
+
function isAbsoluteURL$2(str) {
|
|
4014
|
+
try {
|
|
4015
|
+
new URL(str);
|
|
4016
|
+
return true;
|
|
4017
|
+
}
|
|
4018
|
+
catch (_a) {
|
|
4019
|
+
return false;
|
|
4020
|
+
}
|
|
4021
|
+
}
|
|
4022
|
+
url$2.isAbsoluteURL = isAbsoluteURL$2;
|
|
3164
4023
|
|
|
3165
|
-
var
|
|
4024
|
+
var regexp$2 = {};
|
|
3166
4025
|
|
|
3167
|
-
|
|
3168
|
-
function
|
|
3169
|
-
|
|
4026
|
+
regexp$2.isntRegExp = regexp$2.isRegExp = void 0;
|
|
4027
|
+
function isRegExp$2(val) {
|
|
4028
|
+
return val instanceof RegExp;
|
|
4029
|
+
}
|
|
4030
|
+
regexp$2.isRegExp = isRegExp$2;
|
|
4031
|
+
function isntRegExp$2(val) {
|
|
4032
|
+
return !isRegExp$2(val);
|
|
4033
|
+
}
|
|
4034
|
+
regexp$2.isntRegExp = isntRegExp$2;
|
|
3170
4035
|
|
|
3171
4036
|
(function (exports) {
|
|
3172
4037
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3173
4038
|
if (k2 === undefined) k2 = k;
|
|
3174
|
-
Object.
|
|
4039
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4040
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4041
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4042
|
+
}
|
|
4043
|
+
Object.defineProperty(o, k2, desc);
|
|
3175
4044
|
}) : (function(o, m, k, k2) {
|
|
3176
4045
|
if (k2 === undefined) k2 = k;
|
|
3177
4046
|
o[k2] = m[k];
|
|
3178
4047
|
}));
|
|
3179
4048
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
3180
4049
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3181
|
-
};__exportStar(
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
}
|
|
3202
|
-
hydrate$1.hydrate = hydrate;
|
|
3203
|
-
function createChildErrorConstructor(parentErrorConstructor, name) {
|
|
3204
|
-
const constructor = function () { (0, pass_1.pass)(); };
|
|
3205
|
-
constructor.prototype = Object.create(parentErrorConstructor.prototype);
|
|
3206
|
-
constructor.prototype.constructor = constructor;
|
|
3207
|
-
Object.defineProperty(constructor, 'name', { value: name });
|
|
3208
|
-
return constructor;
|
|
3209
|
-
}
|
|
3210
|
-
|
|
3211
|
-
var assert = {};
|
|
3212
|
-
|
|
3213
|
-
var hasRequiredAssert;
|
|
3214
|
-
|
|
3215
|
-
function requireAssert () {
|
|
3216
|
-
if (hasRequiredAssert) return assert;
|
|
3217
|
-
hasRequiredAssert = 1;
|
|
3218
|
-
assert.assert = void 0;
|
|
3219
|
-
const assertion_error_1 = requireAssertionError();
|
|
3220
|
-
function assert$1(condition, message) {
|
|
3221
|
-
if (!condition)
|
|
3222
|
-
throw new assertion_error_1.AssertionError(message);
|
|
3223
|
-
}
|
|
3224
|
-
assert.assert = assert$1;
|
|
4050
|
+
};__exportStar(array$2, exports);
|
|
4051
|
+
__exportStar(asyncIterable$2, exports);
|
|
4052
|
+
__exportStar(bigint$2, exports);
|
|
4053
|
+
__exportStar(boolean$2, exports);
|
|
4054
|
+
__exportStar(char$2, exports);
|
|
4055
|
+
__exportStar(date$2, exports);
|
|
4056
|
+
__exportStar(_enum$2, exports);
|
|
4057
|
+
__exportStar(error$2, exports);
|
|
4058
|
+
__exportStar(falsy$2, exports);
|
|
4059
|
+
__exportStar(_function$2, exports);
|
|
4060
|
+
__exportStar(iterable$2, exports);
|
|
4061
|
+
__exportStar(json$2, exports);
|
|
4062
|
+
__exportStar(_null$2, exports);
|
|
4063
|
+
__exportStar(number$2, exports);
|
|
4064
|
+
__exportStar(object$2, exports);
|
|
4065
|
+
__exportStar(promise$2, exports);
|
|
4066
|
+
__exportStar(string$2, exports);
|
|
4067
|
+
__exportStar(_undefined$2, exports);
|
|
4068
|
+
__exportStar(url$2, exports);
|
|
4069
|
+
__exportStar(regexp$2, exports);
|
|
3225
4070
|
|
|
3226
|
-
|
|
3227
|
-
}
|
|
3228
|
-
|
|
3229
|
-
var hasRequiredEs2018;
|
|
3230
|
-
|
|
3231
|
-
function requireEs2018 () {
|
|
3232
|
-
if (hasRequiredEs2018) return es2018$d;
|
|
3233
|
-
hasRequiredEs2018 = 1;
|
|
3234
|
-
(function (exports) {
|
|
3235
|
-
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3236
|
-
if (k2 === undefined) k2 = k;
|
|
3237
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3238
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3239
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
3240
|
-
}
|
|
3241
|
-
Object.defineProperty(o, k2, desc);
|
|
3242
|
-
}) : (function(o, m, k, k2) {
|
|
3243
|
-
if (k2 === undefined) k2 = k;
|
|
3244
|
-
o[k2] = m[k];
|
|
3245
|
-
}));
|
|
3246
|
-
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
3247
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3248
|
-
};__exportStar(requireCustomError(), exports);
|
|
3249
|
-
__exportStar(requireAssertionError(), exports);
|
|
3250
|
-
__exportStar(serializableError, exports);
|
|
3251
|
-
__exportStar(requireNormalize(), exports);
|
|
3252
|
-
__exportStar(hydrate$1, exports);
|
|
3253
|
-
__exportStar(requireAssert(), exports);
|
|
3254
|
-
__exportStar(getErrorNames$1, exports);
|
|
3255
|
-
__exportStar(traverseErrorPrototypeChain$1, exports);
|
|
3256
|
-
|
|
3257
|
-
} (es2018$d));
|
|
3258
|
-
return es2018$d;
|
|
3259
|
-
}
|
|
3260
|
-
|
|
3261
|
-
var es2018$7 = {};
|
|
3262
|
-
|
|
3263
|
-
var middleware$1 = {};
|
|
3264
|
-
|
|
3265
|
-
var chunkAsync$3 = {};
|
|
3266
|
-
|
|
3267
|
-
chunkAsync$3.chunkAsync = void 0;
|
|
3268
|
-
const go_1$v = es2018$b;
|
|
3269
|
-
const errors_1$C = requireEs2018();
|
|
3270
|
-
function chunkAsync$2(iterable, size) {
|
|
3271
|
-
(0, errors_1$C.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
3272
|
-
(0, errors_1$C.assert)(size > 0, 'The parameter size must be greater than 0');
|
|
3273
|
-
return (0, go_1$v.go)(async function* () {
|
|
3274
|
-
let buffer = [];
|
|
3275
|
-
for await (const element of iterable) {
|
|
3276
|
-
buffer.push(element);
|
|
3277
|
-
if (buffer.length >= size) {
|
|
3278
|
-
yield buffer;
|
|
3279
|
-
buffer = [];
|
|
3280
|
-
}
|
|
3281
|
-
}
|
|
3282
|
-
if (buffer.length)
|
|
3283
|
-
yield buffer;
|
|
3284
|
-
});
|
|
3285
|
-
}
|
|
3286
|
-
chunkAsync$3.chunkAsync = chunkAsync$2;
|
|
3287
|
-
|
|
3288
|
-
var chunkByAsync$3 = {};
|
|
4071
|
+
} (es2018$7));
|
|
3289
4072
|
|
|
3290
4073
|
chunkByAsync$3.chunkByAsync = void 0;
|
|
3291
|
-
const types_1$C = es2018$
|
|
4074
|
+
const types_1$C = es2018$7;
|
|
3292
4075
|
function chunkByAsync$2(iterable, predicate) {
|
|
3293
4076
|
if ((0, types_1$C.isAsyncIterable)(iterable)) {
|
|
3294
4077
|
return chunkByAsyncIterable$1(iterable, predicate);
|
|
@@ -3349,7 +4132,7 @@ chunkBy$3.chunkBy = chunkBy$2;
|
|
|
3349
4132
|
var chunk$3 = {};
|
|
3350
4133
|
|
|
3351
4134
|
chunk$3.chunk = void 0;
|
|
3352
|
-
const go_1$u = es2018$
|
|
4135
|
+
const go_1$u = es2018$d;
|
|
3353
4136
|
const errors_1$B = requireEs2018();
|
|
3354
4137
|
function chunk$2(iterable, size) {
|
|
3355
4138
|
(0, errors_1$B.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -3372,8 +4155,8 @@ chunk$3.chunk = chunk$2;
|
|
|
3372
4155
|
var concatAsync$3 = {};
|
|
3373
4156
|
|
|
3374
4157
|
concatAsync$3.concatAsync = void 0;
|
|
3375
|
-
const types_1$B = es2018$
|
|
3376
|
-
const go_1$t = es2018$
|
|
4158
|
+
const types_1$B = es2018$7;
|
|
4159
|
+
const go_1$t = es2018$d;
|
|
3377
4160
|
function concatAsync$2(iterable, ...otherIterables) {
|
|
3378
4161
|
return (0, go_1$t.go)(async function* () {
|
|
3379
4162
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -3395,7 +4178,7 @@ concatAsync$3.concatAsync = concatAsync$2;
|
|
|
3395
4178
|
var concat$7 = {};
|
|
3396
4179
|
|
|
3397
4180
|
concat$7.concat = void 0;
|
|
3398
|
-
const go_1$s = es2018$
|
|
4181
|
+
const go_1$s = es2018$d;
|
|
3399
4182
|
function concat$6(iterable, ...otherIterables) {
|
|
3400
4183
|
return (0, go_1$s.go)(function* () {
|
|
3401
4184
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -3424,7 +4207,7 @@ function* copyIterable$1(iterable) {
|
|
|
3424
4207
|
utils$1.copyIterable = copyIterable$1;
|
|
3425
4208
|
|
|
3426
4209
|
dropAsync$3.dropAsync = void 0;
|
|
3427
|
-
const go_1$r = es2018$
|
|
4210
|
+
const go_1$r = es2018$d;
|
|
3428
4211
|
const utils_1$7 = utils$1;
|
|
3429
4212
|
const errors_1$A = requireEs2018();
|
|
3430
4213
|
function dropAsync$2(iterable, count) {
|
|
@@ -3459,7 +4242,7 @@ dropAsync$3.dropAsync = dropAsync$2;
|
|
|
3459
4242
|
var dropRightAsync$3 = {};
|
|
3460
4243
|
|
|
3461
4244
|
dropRightAsync$3.dropRightAsync = void 0;
|
|
3462
|
-
const go_1$q = es2018$
|
|
4245
|
+
const go_1$q = es2018$d;
|
|
3463
4246
|
const utils_1$6 = utils$1;
|
|
3464
4247
|
const errors_1$z = requireEs2018();
|
|
3465
4248
|
function dropRightAsync$2(iterable, count) {
|
|
@@ -3487,7 +4270,7 @@ async function toArrayAsync$5(iterable) {
|
|
|
3487
4270
|
var dropRight$3 = {};
|
|
3488
4271
|
|
|
3489
4272
|
dropRight$3.dropRight = void 0;
|
|
3490
|
-
const go_1$p = es2018$
|
|
4273
|
+
const go_1$p = es2018$d;
|
|
3491
4274
|
const utils_1$5 = utils$1;
|
|
3492
4275
|
const errors_1$y = requireEs2018();
|
|
3493
4276
|
function dropRight$2(iterable, count) {
|
|
@@ -3505,7 +4288,7 @@ dropRight$3.dropRight = dropRight$2;
|
|
|
3505
4288
|
var dropUntilAsync$3 = {};
|
|
3506
4289
|
|
|
3507
4290
|
dropUntilAsync$3.dropUntilAsync = void 0;
|
|
3508
|
-
const types_1$A = es2018$
|
|
4291
|
+
const types_1$A = es2018$7;
|
|
3509
4292
|
function dropUntilAsync$2(iterable, predicate) {
|
|
3510
4293
|
if ((0, types_1$A.isAsyncIterable)(iterable)) {
|
|
3511
4294
|
return dropUntilAsyncIterable$1(iterable, predicate);
|
|
@@ -3587,7 +4370,7 @@ dropUntil$3.dropUntil = dropUntil$2;
|
|
|
3587
4370
|
var drop$3 = {};
|
|
3588
4371
|
|
|
3589
4372
|
drop$3.drop = void 0;
|
|
3590
|
-
const go_1$o = es2018$
|
|
4373
|
+
const go_1$o = es2018$d;
|
|
3591
4374
|
const utils_1$4 = utils$1;
|
|
3592
4375
|
const errors_1$x = requireEs2018();
|
|
3593
4376
|
function drop$2(iterable, count) {
|
|
@@ -3622,7 +4405,7 @@ drop$3.drop = drop$2;
|
|
|
3622
4405
|
var filterAsync$3 = {};
|
|
3623
4406
|
|
|
3624
4407
|
filterAsync$3.filterAsync = void 0;
|
|
3625
|
-
const types_1$z = es2018$
|
|
4408
|
+
const types_1$z = es2018$7;
|
|
3626
4409
|
function filterAsync$2(iterable, predicate) {
|
|
3627
4410
|
if ((0, types_1$z.isAsyncIterable)(iterable)) {
|
|
3628
4411
|
return filterAsyncIterable$1(iterable, predicate);
|
|
@@ -3669,7 +4452,7 @@ var flattenDeepAsync$3 = {};
|
|
|
3669
4452
|
var flattenByAsync$3 = {};
|
|
3670
4453
|
|
|
3671
4454
|
flattenByAsync$3.flattenByAsync = void 0;
|
|
3672
|
-
const types_1$y = es2018$
|
|
4455
|
+
const types_1$y = es2018$7;
|
|
3673
4456
|
function flattenByAsync$2(iterable, predicate) {
|
|
3674
4457
|
if ((0, types_1$y.isAsyncIterable)(iterable)) {
|
|
3675
4458
|
return flattenByAsyncIterable$1(iterable, predicate);
|
|
@@ -3727,7 +4510,7 @@ flattenAsync$3.flattenAsync = flattenAsync$2;
|
|
|
3727
4510
|
var flattenBy$3 = {};
|
|
3728
4511
|
|
|
3729
4512
|
flattenBy$3.flattenBy = void 0;
|
|
3730
|
-
const types_1$x = es2018$
|
|
4513
|
+
const types_1$x = es2018$7;
|
|
3731
4514
|
function flattenBy$2(iterable, predicate) {
|
|
3732
4515
|
return flatten$6(iterable, predicate, 1);
|
|
3733
4516
|
}
|
|
@@ -3770,7 +4553,7 @@ flatten$5.flatten = flatten$4;
|
|
|
3770
4553
|
var mapAsync$3 = {};
|
|
3771
4554
|
|
|
3772
4555
|
mapAsync$3.mapAsync = void 0;
|
|
3773
|
-
const types_1$w = es2018$
|
|
4556
|
+
const types_1$w = es2018$7;
|
|
3774
4557
|
function mapAsync$2(iterable, fn) {
|
|
3775
4558
|
if ((0, types_1$w.isAsyncIterable)(iterable)) {
|
|
3776
4559
|
return mapAsyncIterable$1(iterable, fn);
|
|
@@ -3810,7 +4593,7 @@ map$5.map = map$4;
|
|
|
3810
4593
|
var repeatAsync$3 = {};
|
|
3811
4594
|
|
|
3812
4595
|
repeatAsync$3.repeatAsync = void 0;
|
|
3813
|
-
const go_1$n = es2018$
|
|
4596
|
+
const go_1$n = es2018$d;
|
|
3814
4597
|
const errors_1$u = requireEs2018();
|
|
3815
4598
|
function repeatAsync$2(iterable, times) {
|
|
3816
4599
|
(0, errors_1$u.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -3845,7 +4628,7 @@ function isProduction$3() {
|
|
|
3845
4628
|
var repeat$5 = {};
|
|
3846
4629
|
|
|
3847
4630
|
repeat$5.repeat = void 0;
|
|
3848
|
-
const go_1$m = es2018$
|
|
4631
|
+
const go_1$m = es2018$d;
|
|
3849
4632
|
const errors_1$t = requireEs2018();
|
|
3850
4633
|
function repeat$4(iterable, times) {
|
|
3851
4634
|
(0, errors_1$t.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -3880,7 +4663,7 @@ function isProduction$2() {
|
|
|
3880
4663
|
var sliceAsync$3 = {};
|
|
3881
4664
|
|
|
3882
4665
|
sliceAsync$3.sliceAsync = void 0;
|
|
3883
|
-
const go_1$l = es2018$
|
|
4666
|
+
const go_1$l = es2018$d;
|
|
3884
4667
|
const errors_1$s = requireEs2018();
|
|
3885
4668
|
function sliceAsync$2(iterable, start, end = Infinity) {
|
|
3886
4669
|
(0, errors_1$s.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -3903,7 +4686,7 @@ sliceAsync$3.sliceAsync = sliceAsync$2;
|
|
|
3903
4686
|
var slice$3 = {};
|
|
3904
4687
|
|
|
3905
4688
|
slice$3.slice = void 0;
|
|
3906
|
-
const go_1$k = es2018$
|
|
4689
|
+
const go_1$k = es2018$d;
|
|
3907
4690
|
const errors_1$r = requireEs2018();
|
|
3908
4691
|
function slice$2(iterable, start, end = Infinity) {
|
|
3909
4692
|
(0, errors_1$r.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -3944,7 +4727,7 @@ splitAsync$3.splitAsync = splitAsync$2;
|
|
|
3944
4727
|
var splitByAsync$3 = {};
|
|
3945
4728
|
|
|
3946
4729
|
splitByAsync$3.splitByAsync = void 0;
|
|
3947
|
-
const types_1$v = es2018$
|
|
4730
|
+
const types_1$v = es2018$7;
|
|
3948
4731
|
function splitByAsync$2(iterable, predicate) {
|
|
3949
4732
|
if ((0, types_1$v.isAsyncIterable)(iterable)) {
|
|
3950
4733
|
return splitByAsyncIterable$1(iterable, predicate);
|
|
@@ -4026,7 +4809,7 @@ split$3.split = split$2;
|
|
|
4026
4809
|
var takeAsync$3 = {};
|
|
4027
4810
|
|
|
4028
4811
|
takeAsync$3.takeAsync = void 0;
|
|
4029
|
-
const go_1$j = es2018$
|
|
4812
|
+
const go_1$j = es2018$d;
|
|
4030
4813
|
const errors_1$q = requireEs2018();
|
|
4031
4814
|
function takeAsync$2(iterable, count) {
|
|
4032
4815
|
(0, errors_1$q.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4047,7 +4830,7 @@ takeAsync$3.takeAsync = takeAsync$2;
|
|
|
4047
4830
|
var takeRightAsync$3 = {};
|
|
4048
4831
|
|
|
4049
4832
|
takeRightAsync$3.takeRightAsync = void 0;
|
|
4050
|
-
const go_1$i = es2018$
|
|
4833
|
+
const go_1$i = es2018$d;
|
|
4051
4834
|
const errors_1$p = requireEs2018();
|
|
4052
4835
|
function takeRightAsync$2(iterable, count) {
|
|
4053
4836
|
(0, errors_1$p.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4077,7 +4860,7 @@ takeRightAsync$3.takeRightAsync = takeRightAsync$2;
|
|
|
4077
4860
|
var takeRight$3 = {};
|
|
4078
4861
|
|
|
4079
4862
|
takeRight$3.takeRight = void 0;
|
|
4080
|
-
const go_1$h = es2018$
|
|
4863
|
+
const go_1$h = es2018$d;
|
|
4081
4864
|
const errors_1$o = requireEs2018();
|
|
4082
4865
|
function takeRight$2(iterable, count) {
|
|
4083
4866
|
(0, errors_1$o.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4107,7 +4890,7 @@ takeRight$3.takeRight = takeRight$2;
|
|
|
4107
4890
|
var takeUntilAsync$3 = {};
|
|
4108
4891
|
|
|
4109
4892
|
takeUntilAsync$3.takeUntilAsync = void 0;
|
|
4110
|
-
const types_1$u = es2018$
|
|
4893
|
+
const types_1$u = es2018$7;
|
|
4111
4894
|
function takeUntilAsync$2(iterable, predicate) {
|
|
4112
4895
|
if ((0, types_1$u.isAsyncIterable)(iterable)) {
|
|
4113
4896
|
return takeUntilAsyncIterable$1(iterable, predicate);
|
|
@@ -4153,7 +4936,7 @@ takeUntil$5.takeUntil = takeUntil$4;
|
|
|
4153
4936
|
var take$5 = {};
|
|
4154
4937
|
|
|
4155
4938
|
take$5.take = void 0;
|
|
4156
|
-
const go_1$g = es2018$
|
|
4939
|
+
const go_1$g = es2018$d;
|
|
4157
4940
|
const errors_1$n = requireEs2018();
|
|
4158
4941
|
function take$4(iterable, count) {
|
|
4159
4942
|
(0, errors_1$n.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4174,7 +4957,7 @@ take$5.take = take$4;
|
|
|
4174
4957
|
var tapAsync$3 = {};
|
|
4175
4958
|
|
|
4176
4959
|
tapAsync$3.tapAsync = void 0;
|
|
4177
|
-
const types_1$t = es2018$
|
|
4960
|
+
const types_1$t = es2018$7;
|
|
4178
4961
|
function tapAsync$2(iterable, fn) {
|
|
4179
4962
|
if ((0, types_1$t.isAsyncIterable)(iterable)) {
|
|
4180
4963
|
return tapAsyncIterable$1(iterable, fn);
|
|
@@ -4257,7 +5040,7 @@ uniqAsync$3.uniqAsync = uniqAsync$2;
|
|
|
4257
5040
|
var uniqByAsync$3 = {};
|
|
4258
5041
|
|
|
4259
5042
|
uniqByAsync$3.uniqByAsync = void 0;
|
|
4260
|
-
const types_1$s = es2018$
|
|
5043
|
+
const types_1$s = es2018$7;
|
|
4261
5044
|
function uniqByAsync$2(iterable, fn) {
|
|
4262
5045
|
if ((0, types_1$s.isAsyncIterable)(iterable)) {
|
|
4263
5046
|
return uniqByAsyncIterable$1(iterable, fn);
|
|
@@ -4326,7 +5109,7 @@ uniq$3.uniq = uniq$2;
|
|
|
4326
5109
|
var zipAsync$3 = {};
|
|
4327
5110
|
|
|
4328
5111
|
zipAsync$3.zipAsync = void 0;
|
|
4329
|
-
const types_1$r = es2018$
|
|
5112
|
+
const types_1$r = es2018$7;
|
|
4330
5113
|
var Kind$1;
|
|
4331
5114
|
(function (Kind) {
|
|
4332
5115
|
Kind[Kind["Sync"] = 0] = "Sync";
|
|
@@ -4490,7 +5273,7 @@ consume$3.consume = consume$2;
|
|
|
4490
5273
|
var eachAsync$3 = {};
|
|
4491
5274
|
|
|
4492
5275
|
eachAsync$3.eachAsync = void 0;
|
|
4493
|
-
const types_1$q = es2018$
|
|
5276
|
+
const types_1$q = es2018$7;
|
|
4494
5277
|
function eachAsync$2(iterable, fn) {
|
|
4495
5278
|
if ((0, types_1$q.isAsyncIterable)(iterable)) {
|
|
4496
5279
|
return eachAsyncIterable$1(iterable, fn);
|
|
@@ -4530,7 +5313,7 @@ each$3.each = each$2;
|
|
|
4530
5313
|
var everyAsync$3 = {};
|
|
4531
5314
|
|
|
4532
5315
|
everyAsync$3.everyAsync = void 0;
|
|
4533
|
-
const types_1$p = es2018$
|
|
5316
|
+
const types_1$p = es2018$7;
|
|
4534
5317
|
function everyAsync$2(iterable, predicate) {
|
|
4535
5318
|
if ((0, types_1$p.isAsyncIterable)(iterable)) {
|
|
4536
5319
|
return everyAsyncIterable$1(iterable, predicate);
|
|
@@ -4576,7 +5359,7 @@ every$5.every = every$4;
|
|
|
4576
5359
|
var findAsync$3 = {};
|
|
4577
5360
|
|
|
4578
5361
|
findAsync$3.findAsync = void 0;
|
|
4579
|
-
const types_1$o = es2018$
|
|
5362
|
+
const types_1$o = es2018$7;
|
|
4580
5363
|
function findAsync$2(iterable, predicate) {
|
|
4581
5364
|
if ((0, types_1$o.isAsyncIterable)(iterable)) {
|
|
4582
5365
|
return findAsyncIterable$1(iterable, predicate);
|
|
@@ -4700,7 +5483,7 @@ match$3.match = match$2;
|
|
|
4700
5483
|
var reduceAsync$3 = {};
|
|
4701
5484
|
|
|
4702
5485
|
reduceAsync$3.reduceAsync = void 0;
|
|
4703
|
-
const types_1$n = es2018$
|
|
5486
|
+
const types_1$n = es2018$7;
|
|
4704
5487
|
function reduceAsync$2(iterable, fn, initialValue) {
|
|
4705
5488
|
if ((0, types_1$n.isUndefined)(initialValue)) {
|
|
4706
5489
|
return reduceAsyncWithoutInitialValue$1(iterable, fn);
|
|
@@ -4796,7 +5579,7 @@ function reduceAsyncWithoutInitialValue$1(iterable, fn) {
|
|
|
4796
5579
|
var reduce$5 = {};
|
|
4797
5580
|
|
|
4798
5581
|
reduce$5.reduce = void 0;
|
|
4799
|
-
const types_1$m = es2018$
|
|
5582
|
+
const types_1$m = es2018$7;
|
|
4800
5583
|
function reduce$4(iterable, fn, initialValue) {
|
|
4801
5584
|
if ((0, types_1$m.isUndefined)(initialValue)) {
|
|
4802
5585
|
return reduceWithoutInitialValue$1(iterable, fn);
|
|
@@ -4843,7 +5626,7 @@ function reduceWithoutInitialValue$1(iterable, fn) {
|
|
|
4843
5626
|
var someAsync$3 = {};
|
|
4844
5627
|
|
|
4845
5628
|
someAsync$3.someAsync = void 0;
|
|
4846
|
-
const types_1$l = es2018$
|
|
5629
|
+
const types_1$l = es2018$7;
|
|
4847
5630
|
function someAsync$2(iterable, predicate) {
|
|
4848
5631
|
if ((0, types_1$l.isAsyncIterable)(iterable)) {
|
|
4849
5632
|
return someAsyncIterable$1(iterable, predicate);
|
|
@@ -5097,11 +5880,11 @@ groupByAsync$3.groupByAsync = groupByAsync$2;
|
|
|
5097
5880
|
};__exportStar(middleware$1, exports);
|
|
5098
5881
|
__exportStar(output$1, exports);
|
|
5099
5882
|
|
|
5100
|
-
} (es2018$
|
|
5883
|
+
} (es2018$8));
|
|
5101
5884
|
|
|
5102
5885
|
lruMap.LRUMap = void 0;
|
|
5103
5886
|
const errors_1$m = requireEs2018();
|
|
5104
|
-
const iterable_operator_1$3 = es2018$
|
|
5887
|
+
const iterable_operator_1$3 = es2018$8;
|
|
5105
5888
|
class LRUMap {
|
|
5106
5889
|
constructor(limit) {
|
|
5107
5890
|
this.map = new Map();
|
|
@@ -5156,7 +5939,7 @@ lruMap.LRUMap = LRUMap;
|
|
|
5156
5939
|
var expirableMap = {};
|
|
5157
5940
|
|
|
5158
5941
|
expirableMap.ExpirableMap = void 0;
|
|
5159
|
-
const extra_timers_1$1 = es2018$
|
|
5942
|
+
const extra_timers_1$1 = es2018$c;
|
|
5160
5943
|
class ExpirableMap {
|
|
5161
5944
|
constructor() {
|
|
5162
5945
|
this.map = new Map();
|
|
@@ -5253,8 +6036,8 @@ var tlruMap = {};
|
|
|
5253
6036
|
|
|
5254
6037
|
tlruMap.TLRUMap = void 0;
|
|
5255
6038
|
const errors_1$l = requireEs2018();
|
|
5256
|
-
const iterable_operator_1$2 = es2018$
|
|
5257
|
-
const extra_timers_1 = es2018$
|
|
6039
|
+
const iterable_operator_1$2 = es2018$8;
|
|
6040
|
+
const extra_timers_1 = es2018$c;
|
|
5258
6041
|
class TLRUMap {
|
|
5259
6042
|
constructor(limit) {
|
|
5260
6043
|
this.map = new Map();
|
|
@@ -5376,8 +6159,8 @@ tlruMap.TLRUMap = TLRUMap;
|
|
|
5376
6159
|
var trieMap = {};
|
|
5377
6160
|
|
|
5378
6161
|
trieMap.TrieMap = void 0;
|
|
5379
|
-
const iterable_operator_1$1 = es2018$
|
|
5380
|
-
const types_1$k = es2018$
|
|
6162
|
+
const iterable_operator_1$1 = es2018$8;
|
|
6163
|
+
const types_1$k = es2018$g;
|
|
5381
6164
|
class TrieNode {
|
|
5382
6165
|
constructor(value) {
|
|
5383
6166
|
this.value = value;
|
|
@@ -12910,7 +13693,7 @@ zipWith$1.zipWith = zipWith;
|
|
|
12910
13693
|
exports.BadEventError = exports.ObservableFiniteStateMachine = void 0;
|
|
12911
13694
|
const finite_state_machine_1 = finiteStateMachine;
|
|
12912
13695
|
const rxjs_1 = cjs;
|
|
12913
|
-
const types_1 = es2018$
|
|
13696
|
+
const types_1 = es2018$g;
|
|
12914
13697
|
class ObservableFiniteStateMachine extends finite_state_machine_1.FiniteStateMachine {
|
|
12915
13698
|
constructor() {
|
|
12916
13699
|
super(...arguments);
|
|
@@ -13219,6 +14002,9 @@ class DynamicTypedArray {
|
|
|
13219
14002
|
get [Symbol.toStringTag]() {
|
|
13220
14003
|
return this.constructor.name;
|
|
13221
14004
|
}
|
|
14005
|
+
get BYTES_PER_ELEMENT() {
|
|
14006
|
+
return this.typedArrayConstructor.BYTES_PER_ELEMENT;
|
|
14007
|
+
}
|
|
13222
14008
|
get capacity() {
|
|
13223
14009
|
return this.array.length;
|
|
13224
14010
|
}
|
|
@@ -13329,7 +14115,7 @@ var sortedSet = {};
|
|
|
13329
14115
|
var skipList = {};
|
|
13330
14116
|
|
|
13331
14117
|
skipList.SkipList = skipList.SkipListNode = void 0;
|
|
13332
|
-
const types_1$j = es2018$
|
|
14118
|
+
const types_1$j = es2018$g;
|
|
13333
14119
|
class SkipListNode {
|
|
13334
14120
|
constructor(value) {
|
|
13335
14121
|
this.value = value;
|
|
@@ -13483,7 +14269,7 @@ skipList.SkipList = SkipList;
|
|
|
13483
14269
|
|
|
13484
14270
|
sortedSet.SortedSet = void 0;
|
|
13485
14271
|
const skip_list_1 = skipList;
|
|
13486
|
-
const iterable_operator_1 = es2018$
|
|
14272
|
+
const iterable_operator_1 = es2018$8;
|
|
13487
14273
|
class SortedSet {
|
|
13488
14274
|
constructor(compare) {
|
|
13489
14275
|
this.skipList = new skip_list_1.SkipList(compare);
|
|
@@ -13511,43 +14297,53 @@ sortedSet.SortedSet = SortedSet;
|
|
|
13511
14297
|
|
|
13512
14298
|
var bitSet = {};
|
|
13513
14299
|
|
|
14300
|
+
var trailingZeros$1 = {};
|
|
14301
|
+
|
|
14302
|
+
trailingZeros$1.trailingZeros = void 0;
|
|
14303
|
+
const mod37BitPositions = [
|
|
14304
|
+
32, 0, 1, 26, 2, 23, 27, 0, 3, 16,
|
|
14305
|
+
24, 30, 28, 11, 0, 13, 4, 7, 17, 0,
|
|
14306
|
+
25, 22, 31, 15, 29, 10, 12, 6, 0, 21,
|
|
14307
|
+
14, 9, 5, 20, 8, 19, 18
|
|
14308
|
+
];
|
|
14309
|
+
function trailingZeros(value) {
|
|
14310
|
+
return mod37BitPositions[(-value & value) % 37];
|
|
14311
|
+
}
|
|
14312
|
+
trailingZeros$1.trailingZeros = trailingZeros;
|
|
14313
|
+
|
|
13514
14314
|
bitSet.BitSet = void 0;
|
|
13515
14315
|
const errors_1$h = requireEs2018();
|
|
14316
|
+
const trailing_zeros_1$1 = trailingZeros$1;
|
|
13516
14317
|
class BitSet {
|
|
13517
14318
|
constructor(bitsPerElement = 8) {
|
|
13518
14319
|
this.bitsPerElement = bitsPerElement;
|
|
13519
14320
|
this.array = [];
|
|
13520
14321
|
this.length = 0;
|
|
14322
|
+
this._size = 0;
|
|
14323
|
+
(0, errors_1$h.assert)(Number.isInteger(bitsPerElement), 'The parameter bitsPerElement must be an integer');
|
|
14324
|
+
(0, errors_1$h.assert)(bitsPerElement > 0, 'The parameter bitsPerElement must be greater than 0');
|
|
14325
|
+
(0, errors_1$h.assert)(bitsPerElement <= 31, 'The mask of bitsPerElement must be less than or equal to 31');
|
|
13521
14326
|
}
|
|
13522
14327
|
get [Symbol.toStringTag]() {
|
|
13523
14328
|
return this.constructor.name;
|
|
13524
14329
|
}
|
|
13525
14330
|
get size() {
|
|
13526
|
-
return this.
|
|
14331
|
+
return this._size;
|
|
13527
14332
|
}
|
|
13528
14333
|
[Symbol.iterator]() {
|
|
13529
14334
|
return this.values();
|
|
13530
14335
|
}
|
|
13531
14336
|
*values() {
|
|
13532
14337
|
if (this.length > 0) {
|
|
13533
|
-
const maxArrayLength =
|
|
13534
|
-
|
|
13535
|
-
|
|
13536
|
-
|
|
13537
|
-
|
|
13538
|
-
|
|
13539
|
-
|
|
13540
|
-
|
|
13541
|
-
|
|
13542
|
-
yield index * this.bitsPerElement + bit;
|
|
13543
|
-
}
|
|
13544
|
-
}
|
|
13545
|
-
}
|
|
13546
|
-
const lastElement = this.array[maxArrayLength - 1];
|
|
13547
|
-
for (let bit = 0; bit < remainder; bit++) {
|
|
13548
|
-
const mask = this.getMask(bit);
|
|
13549
|
-
if ((lastElement & mask) === mask) {
|
|
13550
|
-
yield lastIndex * this.bitsPerElement + bit;
|
|
14338
|
+
const maxArrayLength = ~~(this.length / this.bitsPerElement) + 1;
|
|
14339
|
+
for (let index = 0; index < maxArrayLength; index++) {
|
|
14340
|
+
let element = this.array[index];
|
|
14341
|
+
let offset = 0;
|
|
14342
|
+
let indexOfBit;
|
|
14343
|
+
while ((indexOfBit = (0, trailing_zeros_1$1.trailingZeros)(element)) !== 32) {
|
|
14344
|
+
yield index * this.bitsPerElement + offset + indexOfBit;
|
|
14345
|
+
offset += indexOfBit + 1;
|
|
14346
|
+
element >>= indexOfBit + 1;
|
|
13551
14347
|
}
|
|
13552
14348
|
}
|
|
13553
14349
|
}
|
|
@@ -13577,14 +14373,23 @@ class BitSet {
|
|
|
13577
14373
|
this.length = value + 1;
|
|
13578
14374
|
}
|
|
13579
14375
|
const [index, mask] = this.getPosition(value);
|
|
13580
|
-
|
|
14376
|
+
const element = (_a = this.array[index]) !== null && _a !== void 0 ? _a : 0;
|
|
14377
|
+
this.array[index] = element | mask;
|
|
14378
|
+
const added = (element & mask) !== mask;
|
|
14379
|
+
if (added) {
|
|
14380
|
+
this._size++;
|
|
14381
|
+
}
|
|
13581
14382
|
}
|
|
13582
14383
|
delete(value) {
|
|
13583
14384
|
var _a;
|
|
13584
14385
|
const [index, mask] = this.getPosition(value);
|
|
13585
14386
|
const element = ((_a = this.array[index]) !== null && _a !== void 0 ? _a : 0);
|
|
13586
14387
|
this.array[index] = element & ~mask;
|
|
13587
|
-
|
|
14388
|
+
const deleted = (element & mask) === mask;
|
|
14389
|
+
if (deleted) {
|
|
14390
|
+
this._size--;
|
|
14391
|
+
}
|
|
14392
|
+
return deleted;
|
|
13588
14393
|
}
|
|
13589
14394
|
clear() {
|
|
13590
14395
|
for (let i = this.array.length; i--;) {
|
|
@@ -13599,7 +14404,7 @@ class BitSet {
|
|
|
13599
14404
|
return [index, mask];
|
|
13600
14405
|
}
|
|
13601
14406
|
getMask(value) {
|
|
13602
|
-
return
|
|
14407
|
+
return 1 << value;
|
|
13603
14408
|
}
|
|
13604
14409
|
}
|
|
13605
14410
|
bitSet.BitSet = BitSet;
|
|
@@ -13608,41 +14413,38 @@ var typedBitSet = {};
|
|
|
13608
14413
|
|
|
13609
14414
|
typedBitSet.TypedBitSet = void 0;
|
|
13610
14415
|
const errors_1$g = requireEs2018();
|
|
14416
|
+
const trailing_zeros_1 = trailingZeros$1;
|
|
13611
14417
|
class TypedBitSet {
|
|
13612
14418
|
constructor(array) {
|
|
13613
14419
|
this.array = array;
|
|
13614
|
-
this.bitsPerElement = this.array.internalTypedArray.BYTES_PER_ELEMENT * 8;
|
|
13615
14420
|
this.length = 0;
|
|
14421
|
+
this._size = 0;
|
|
14422
|
+
const bitsPerElement = array.BYTES_PER_ELEMENT * 8;
|
|
14423
|
+
(0, errors_1$g.assert)(Number.isInteger(bitsPerElement), 'The parameter bitsPerElement must be an integer');
|
|
14424
|
+
(0, errors_1$g.assert)(bitsPerElement > 0, 'The parameter bitsPerElement must be greater than 0');
|
|
14425
|
+
(0, errors_1$g.assert)(bitsPerElement <= 31, 'The mask of bitsPerElement must be less than or equal to 31');
|
|
14426
|
+
this.bitsPerElement = bitsPerElement;
|
|
13616
14427
|
}
|
|
13617
14428
|
get [Symbol.toStringTag]() {
|
|
13618
14429
|
return this.constructor.name;
|
|
13619
14430
|
}
|
|
13620
14431
|
get size() {
|
|
13621
|
-
return this.
|
|
14432
|
+
return this._size;
|
|
13622
14433
|
}
|
|
13623
14434
|
[Symbol.iterator]() {
|
|
13624
14435
|
return this.values();
|
|
13625
14436
|
}
|
|
13626
14437
|
*values() {
|
|
13627
14438
|
if (this.length > 0) {
|
|
13628
|
-
const maxArrayLength =
|
|
13629
|
-
|
|
13630
|
-
|
|
13631
|
-
|
|
13632
|
-
|
|
13633
|
-
|
|
13634
|
-
|
|
13635
|
-
|
|
13636
|
-
|
|
13637
|
-
yield index * this.bitsPerElement + bit;
|
|
13638
|
-
}
|
|
13639
|
-
}
|
|
13640
|
-
}
|
|
13641
|
-
const lastElement = this.array.internalTypedArray[maxArrayLength - 1];
|
|
13642
|
-
for (let bit = 0; bit < remainder; bit++) {
|
|
13643
|
-
const mask = this.getMask(bit);
|
|
13644
|
-
if ((lastElement & mask) === mask) {
|
|
13645
|
-
yield lastIndex * this.bitsPerElement + bit;
|
|
14439
|
+
const maxArrayLength = ~~(this.length / this.bitsPerElement) + 1;
|
|
14440
|
+
for (let index = 0; index < maxArrayLength; index++) {
|
|
14441
|
+
let element = this.array.internalTypedArray[index];
|
|
14442
|
+
let offset = 0;
|
|
14443
|
+
let indexOfBit;
|
|
14444
|
+
while ((indexOfBit = (0, trailing_zeros_1.trailingZeros)(element)) !== 32) {
|
|
14445
|
+
yield index * this.bitsPerElement + offset + indexOfBit;
|
|
14446
|
+
offset += indexOfBit + 1;
|
|
14447
|
+
element >>= indexOfBit + 1;
|
|
13646
14448
|
}
|
|
13647
14449
|
}
|
|
13648
14450
|
}
|
|
@@ -13672,14 +14474,23 @@ class TypedBitSet {
|
|
|
13672
14474
|
this.length = value + 1;
|
|
13673
14475
|
}
|
|
13674
14476
|
const [index, mask] = this.getPosition(value);
|
|
13675
|
-
|
|
14477
|
+
const element = (_a = this.array.get(index)) !== null && _a !== void 0 ? _a : 0;
|
|
14478
|
+
this.array.set(index, element | mask);
|
|
14479
|
+
const added = (element & mask) !== mask;
|
|
14480
|
+
if (added) {
|
|
14481
|
+
this._size++;
|
|
14482
|
+
}
|
|
13676
14483
|
}
|
|
13677
14484
|
delete(value) {
|
|
13678
14485
|
var _a;
|
|
13679
14486
|
const [index, mask] = this.getPosition(value);
|
|
13680
14487
|
const element = ((_a = this.array.get(index)) !== null && _a !== void 0 ? _a : 0);
|
|
13681
14488
|
this.array.set(index, element & ~mask);
|
|
13682
|
-
|
|
14489
|
+
const deleted = (element & mask) === mask;
|
|
14490
|
+
if (deleted) {
|
|
14491
|
+
this._size--;
|
|
14492
|
+
}
|
|
14493
|
+
return deleted;
|
|
13683
14494
|
}
|
|
13684
14495
|
clear() {
|
|
13685
14496
|
for (let i = this.array.length; i--;) {
|
|
@@ -13694,7 +14505,7 @@ class TypedBitSet {
|
|
|
13694
14505
|
return [index, mask];
|
|
13695
14506
|
}
|
|
13696
14507
|
getMask(value) {
|
|
13697
|
-
return
|
|
14508
|
+
return 1 << value;
|
|
13698
14509
|
}
|
|
13699
14510
|
}
|
|
13700
14511
|
typedBitSet.TypedBitSet = TypedBitSet;
|
|
@@ -13716,6 +14527,7 @@ typedBitSet.TypedBitSet = TypedBitSet;
|
|
|
13716
14527
|
};exports.DynamicTypedArray = void 0;
|
|
13717
14528
|
__exportStar(box, exports);
|
|
13718
14529
|
__exportStar(cons, exports);
|
|
14530
|
+
__exportStar(array$4, exports);
|
|
13719
14531
|
__exportStar(emitter, exports);
|
|
13720
14532
|
__exportStar(hashMap, exports);
|
|
13721
14533
|
__exportStar(hashSet, exports);
|
|
@@ -13736,7 +14548,7 @@ typedBitSet.TypedBitSet = TypedBitSet;
|
|
|
13736
14548
|
__exportStar(bitSet, exports);
|
|
13737
14549
|
__exportStar(typedBitSet, exports);
|
|
13738
14550
|
|
|
13739
|
-
} (es2018$
|
|
14551
|
+
} (es2018$h));
|
|
13740
14552
|
|
|
13741
14553
|
var es2018$6 = {};
|
|
13742
14554
|
|
|
@@ -13767,7 +14579,7 @@ highResolutionTimestamp_browser.elapsed = elapsed;
|
|
|
13767
14579
|
|
|
13768
14580
|
time$1.time = void 0;
|
|
13769
14581
|
const high_resolution_timestamp_1$2 = highResolutionTimestamp_browser;
|
|
13770
|
-
const types_1$i = es2018$
|
|
14582
|
+
const types_1$i = es2018$a;
|
|
13771
14583
|
function time(message, fn) {
|
|
13772
14584
|
const startTime = (0, high_resolution_timestamp_1$2.now)();
|
|
13773
14585
|
const result = fn();
|
|
@@ -13987,7 +14799,7 @@ var middleware = {};
|
|
|
13987
14799
|
var chunkAsync$1 = {};
|
|
13988
14800
|
|
|
13989
14801
|
chunkAsync$1.chunkAsync = void 0;
|
|
13990
|
-
const go_1$f = es2018$
|
|
14802
|
+
const go_1$f = es2018$d;
|
|
13991
14803
|
const errors_1$f = requireEs2018();
|
|
13992
14804
|
function chunkAsync(iterable, size) {
|
|
13993
14805
|
(0, errors_1$f.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -14234,7 +15046,7 @@ var object$1 = {};
|
|
|
14234
15046
|
var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
14235
15047
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14236
15048
|
};object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
|
|
14237
|
-
const isPlainObject_1$1 = __importDefault$1(isPlainObject_1$
|
|
15049
|
+
const isPlainObject_1$1 = __importDefault$1(isPlainObject_1$5);
|
|
14238
15050
|
function isObject$1(val) {
|
|
14239
15051
|
return val !== null
|
|
14240
15052
|
&& typeof val === 'object';
|
|
@@ -14444,7 +15256,7 @@ chunkBy$1.chunkBy = chunkBy;
|
|
|
14444
15256
|
var chunk$1 = {};
|
|
14445
15257
|
|
|
14446
15258
|
chunk$1.chunk = void 0;
|
|
14447
|
-
const go_1$e = es2018$
|
|
15259
|
+
const go_1$e = es2018$d;
|
|
14448
15260
|
const errors_1$e = requireEs2018();
|
|
14449
15261
|
function chunk(iterable, size) {
|
|
14450
15262
|
(0, errors_1$e.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -14468,7 +15280,7 @@ var concatAsync$1 = {};
|
|
|
14468
15280
|
|
|
14469
15281
|
concatAsync$1.concatAsync = void 0;
|
|
14470
15282
|
const types_1$g = es2018$1;
|
|
14471
|
-
const go_1$d = es2018$
|
|
15283
|
+
const go_1$d = es2018$d;
|
|
14472
15284
|
function concatAsync(iterable, ...otherIterables) {
|
|
14473
15285
|
return (0, go_1$d.go)(async function* () {
|
|
14474
15286
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -14490,7 +15302,7 @@ concatAsync$1.concatAsync = concatAsync;
|
|
|
14490
15302
|
var concat$1 = {};
|
|
14491
15303
|
|
|
14492
15304
|
concat$1.concat = void 0;
|
|
14493
|
-
const go_1$c = es2018$
|
|
15305
|
+
const go_1$c = es2018$d;
|
|
14494
15306
|
function concat(iterable, ...otherIterables) {
|
|
14495
15307
|
return (0, go_1$c.go)(function* () {
|
|
14496
15308
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -14519,7 +15331,7 @@ function* copyIterable(iterable) {
|
|
|
14519
15331
|
utils.copyIterable = copyIterable;
|
|
14520
15332
|
|
|
14521
15333
|
dropAsync$1.dropAsync = void 0;
|
|
14522
|
-
const go_1$b = es2018$
|
|
15334
|
+
const go_1$b = es2018$d;
|
|
14523
15335
|
const utils_1$3 = utils;
|
|
14524
15336
|
const errors_1$d = requireEs2018();
|
|
14525
15337
|
function dropAsync(iterable, count) {
|
|
@@ -14554,7 +15366,7 @@ dropAsync$1.dropAsync = dropAsync;
|
|
|
14554
15366
|
var dropRightAsync$1 = {};
|
|
14555
15367
|
|
|
14556
15368
|
dropRightAsync$1.dropRightAsync = void 0;
|
|
14557
|
-
const go_1$a = es2018$
|
|
15369
|
+
const go_1$a = es2018$d;
|
|
14558
15370
|
const utils_1$2 = utils;
|
|
14559
15371
|
const errors_1$c = requireEs2018();
|
|
14560
15372
|
function dropRightAsync(iterable, count) {
|
|
@@ -14582,7 +15394,7 @@ async function toArrayAsync$2(iterable) {
|
|
|
14582
15394
|
var dropRight$1 = {};
|
|
14583
15395
|
|
|
14584
15396
|
dropRight$1.dropRight = void 0;
|
|
14585
|
-
const go_1$9 = es2018$
|
|
15397
|
+
const go_1$9 = es2018$d;
|
|
14586
15398
|
const utils_1$1 = utils;
|
|
14587
15399
|
const errors_1$b = requireEs2018();
|
|
14588
15400
|
function dropRight(iterable, count) {
|
|
@@ -14682,7 +15494,7 @@ dropUntil$1.dropUntil = dropUntil;
|
|
|
14682
15494
|
var drop$1 = {};
|
|
14683
15495
|
|
|
14684
15496
|
drop$1.drop = void 0;
|
|
14685
|
-
const go_1$8 = es2018$
|
|
15497
|
+
const go_1$8 = es2018$d;
|
|
14686
15498
|
const utils_1 = utils;
|
|
14687
15499
|
const errors_1$a = requireEs2018();
|
|
14688
15500
|
function drop(iterable, count) {
|
|
@@ -14905,7 +15717,7 @@ map$1.map = map;
|
|
|
14905
15717
|
var repeatAsync$1 = {};
|
|
14906
15718
|
|
|
14907
15719
|
repeatAsync$1.repeatAsync = void 0;
|
|
14908
|
-
const go_1$7 = es2018$
|
|
15720
|
+
const go_1$7 = es2018$d;
|
|
14909
15721
|
const errors_1$7 = requireEs2018();
|
|
14910
15722
|
function repeatAsync(iterable, times) {
|
|
14911
15723
|
(0, errors_1$7.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -14940,7 +15752,7 @@ function isProduction$1() {
|
|
|
14940
15752
|
var repeat$1 = {};
|
|
14941
15753
|
|
|
14942
15754
|
repeat$1.repeat = void 0;
|
|
14943
|
-
const go_1$6 = es2018$
|
|
15755
|
+
const go_1$6 = es2018$d;
|
|
14944
15756
|
const errors_1$6 = requireEs2018();
|
|
14945
15757
|
function repeat(iterable, times) {
|
|
14946
15758
|
(0, errors_1$6.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -14975,7 +15787,7 @@ function isProduction() {
|
|
|
14975
15787
|
var sliceAsync$1 = {};
|
|
14976
15788
|
|
|
14977
15789
|
sliceAsync$1.sliceAsync = void 0;
|
|
14978
|
-
const go_1$5 = es2018$
|
|
15790
|
+
const go_1$5 = es2018$d;
|
|
14979
15791
|
const errors_1$5 = requireEs2018();
|
|
14980
15792
|
function sliceAsync(iterable, start, end = Infinity) {
|
|
14981
15793
|
(0, errors_1$5.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -14998,7 +15810,7 @@ sliceAsync$1.sliceAsync = sliceAsync;
|
|
|
14998
15810
|
var slice$1 = {};
|
|
14999
15811
|
|
|
15000
15812
|
slice$1.slice = void 0;
|
|
15001
|
-
const go_1$4 = es2018$
|
|
15813
|
+
const go_1$4 = es2018$d;
|
|
15002
15814
|
const errors_1$4 = requireEs2018();
|
|
15003
15815
|
function slice(iterable, start, end = Infinity) {
|
|
15004
15816
|
(0, errors_1$4.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -15121,7 +15933,7 @@ split$1.split = split;
|
|
|
15121
15933
|
var takeAsync$1 = {};
|
|
15122
15934
|
|
|
15123
15935
|
takeAsync$1.takeAsync = void 0;
|
|
15124
|
-
const go_1$3 = es2018$
|
|
15936
|
+
const go_1$3 = es2018$d;
|
|
15125
15937
|
const errors_1$3 = requireEs2018();
|
|
15126
15938
|
function takeAsync(iterable, count) {
|
|
15127
15939
|
(0, errors_1$3.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -15142,7 +15954,7 @@ takeAsync$1.takeAsync = takeAsync;
|
|
|
15142
15954
|
var takeRightAsync$1 = {};
|
|
15143
15955
|
|
|
15144
15956
|
takeRightAsync$1.takeRightAsync = void 0;
|
|
15145
|
-
const go_1$2 = es2018$
|
|
15957
|
+
const go_1$2 = es2018$d;
|
|
15146
15958
|
const errors_1$2 = requireEs2018();
|
|
15147
15959
|
function takeRightAsync(iterable, count) {
|
|
15148
15960
|
(0, errors_1$2.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -15172,7 +15984,7 @@ takeRightAsync$1.takeRightAsync = takeRightAsync;
|
|
|
15172
15984
|
var takeRight$1 = {};
|
|
15173
15985
|
|
|
15174
15986
|
takeRight$1.takeRight = void 0;
|
|
15175
|
-
const go_1$1 = es2018$
|
|
15987
|
+
const go_1$1 = es2018$d;
|
|
15176
15988
|
const errors_1$1 = requireEs2018();
|
|
15177
15989
|
function takeRight(iterable, count) {
|
|
15178
15990
|
(0, errors_1$1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -15248,7 +16060,7 @@ takeUntil$1.takeUntil = takeUntil;
|
|
|
15248
16060
|
var take$1 = {};
|
|
15249
16061
|
|
|
15250
16062
|
take$1.take = void 0;
|
|
15251
|
-
const go_1 = es2018$
|
|
16063
|
+
const go_1 = es2018$d;
|
|
15252
16064
|
const errors_1 = requireEs2018();
|
|
15253
16065
|
function take(iterable, count) {
|
|
15254
16066
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -16419,7 +17231,7 @@ var object = {};
|
|
|
16419
17231
|
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
16420
17232
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
16421
17233
|
};object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
|
|
16422
|
-
const isPlainObject_1 = __importDefault(isPlainObject_1$
|
|
17234
|
+
const isPlainObject_1 = __importDefault(isPlainObject_1$5);
|
|
16423
17235
|
function isObject(val) {
|
|
16424
17236
|
return val !== null
|
|
16425
17237
|
&& typeof val === 'object';
|
|
@@ -16585,7 +17397,7 @@ exports.isntNumber = exports.isntNull = exports.isntJson = exports.isntIterable
|
|
|
16585
17397
|
exports.isntSymbol = exports.isntRegExp = exports.isntUndefined = exports.isntString = exports.isntPromiseLike = exports.isntPromise = exports.isntPlainObject = exports.isntObject = void 0;
|
|
16586
17398
|
var errors_1 = requireEs2018();
|
|
16587
17399
|
Object.defineProperty(exports, "assert", { enumerable: true, get: function () { return errors_1.assert; } });
|
|
16588
|
-
var go_1 = es2018$
|
|
17400
|
+
var go_1 = es2018$d;
|
|
16589
17401
|
Object.defineProperty(exports, "go", { enumerable: true, get: function () { return go_1.go; } });
|
|
16590
17402
|
var log_1 = es2018$5;
|
|
16591
17403
|
Object.defineProperty(exports, "log", { enumerable: true, get: function () { return log_1.log; } });
|
|
@@ -16651,6 +17463,11 @@ exports.isntNumber = exports.isntNull = exports.isntJson = exports.isntIterable
|
|
|
16651
17463
|
|
|
16652
17464
|
} (es2018$6));
|
|
16653
17465
|
|
|
17466
|
+
var Mode;
|
|
17467
|
+
(function (Mode) {
|
|
17468
|
+
Mode[Mode["UpdateFirst"] = 0] = "UpdateFirst";
|
|
17469
|
+
Mode[Mode["FixedUpdateFirst"] = 1] = "FixedUpdateFirst";
|
|
17470
|
+
})(Mode || (Mode = {}));
|
|
16654
17471
|
var State;
|
|
16655
17472
|
(function (State) {
|
|
16656
17473
|
State["Stopped"] = "stopped";
|
|
@@ -16662,7 +17479,7 @@ const schema = {
|
|
|
16662
17479
|
};
|
|
16663
17480
|
class GameLoop {
|
|
16664
17481
|
constructor(options) {
|
|
16665
|
-
this.fsm = new es2018$
|
|
17482
|
+
this.fsm = new es2018$h.FiniteStateMachine(schema, State.Stopped);
|
|
16666
17483
|
this.deltaTimeAccumulator = 0;
|
|
16667
17484
|
this.lastDeltaTime = 0;
|
|
16668
17485
|
this.loop = () => {
|
|
@@ -16682,6 +17499,13 @@ class GameLoop {
|
|
|
16682
17499
|
this.fixedUpdate = options.fixedUpdate;
|
|
16683
17500
|
this.update = options.update;
|
|
16684
17501
|
this.render = options.render;
|
|
17502
|
+
this.nextFrame = es2018$6.go(() => {
|
|
17503
|
+
switch (options.mode) {
|
|
17504
|
+
case Mode.UpdateFirst: return this.nextFrameUpdateFirst.bind(this);
|
|
17505
|
+
case Mode.FixedUpdateFirst: return this.nextFrameFixedUpdateFirst.bind(this);
|
|
17506
|
+
default: throw new Error('Unknown mode');
|
|
17507
|
+
}
|
|
17508
|
+
});
|
|
16685
17509
|
}
|
|
16686
17510
|
start() {
|
|
16687
17511
|
this.fsm.send('start');
|
|
@@ -16706,22 +17530,40 @@ class GameLoop {
|
|
|
16706
17530
|
}
|
|
16707
17531
|
}
|
|
16708
17532
|
/**
|
|
16709
|
-
*
|
|
17533
|
+
* nextFrameUpdateFirst依序做以下几件事:
|
|
17534
|
+
* 1. 响应用户输入, 为这一帧的游戏世界做出非物理方面的更新, 例如角色转向, 改变武器瞄准角度等.
|
|
17535
|
+
* 2. 响应游戏世界从上一帧更新后到这一帧更新之前发生的物理变化.
|
|
17536
|
+
* 注意, 如果渲染帧率比物理帧率快, 且运行性能良好, 则物理帧不一定会在此帧更新.
|
|
17537
|
+
* 3. 渲染经过更新后的最新状态, 渲染器可以根据alpha参数执行插值渲染.
|
|
17538
|
+
*/
|
|
17539
|
+
nextFrameUpdateFirst(deltaTime) {
|
|
17540
|
+
this.deltaTimeAccumulator = Math.min(this.deltaTimeAccumulator + deltaTime, this.maximumDeltaTime);
|
|
17541
|
+
this.update(deltaTime);
|
|
17542
|
+
while (this.deltaTimeAccumulator >= this.fixedDeltaTime) {
|
|
17543
|
+
this.fixedUpdate(this.fixedDeltaTime);
|
|
17544
|
+
this.deltaTimeAccumulator -= this.fixedDeltaTime;
|
|
17545
|
+
}
|
|
17546
|
+
const alpha = this.deltaTimeAccumulator / this.fixedDeltaTime;
|
|
17547
|
+
this.render(alpha);
|
|
17548
|
+
}
|
|
17549
|
+
/**
|
|
17550
|
+
* nextFrameFixedUpdateFirst依序做以下几件事:
|
|
16710
17551
|
* 1. 响应游戏世界从上一帧更新后到这一帧更新之前发生的物理变化.
|
|
16711
17552
|
* 注意, 如果渲染帧率比物理帧率快, 且运行性能良好, 则物理帧不一定会在此帧更新.
|
|
16712
17553
|
* 2. 响应用户输入, 为这一帧的游戏世界做出非物理方面的更新, 例如角色转向, 改变武器瞄准角度等.
|
|
16713
|
-
* 3.
|
|
17554
|
+
* 3. 渲染经过更新后的最新状态, 渲染器可以根据alpha参数执行插值渲染.
|
|
16714
17555
|
*/
|
|
16715
|
-
|
|
17556
|
+
nextFrameFixedUpdateFirst(deltaTime) {
|
|
16716
17557
|
this.deltaTimeAccumulator = Math.min(this.deltaTimeAccumulator + deltaTime, this.maximumDeltaTime);
|
|
16717
17558
|
while (this.deltaTimeAccumulator >= this.fixedDeltaTime) {
|
|
16718
17559
|
this.fixedUpdate(this.fixedDeltaTime);
|
|
16719
17560
|
this.deltaTimeAccumulator -= this.fixedDeltaTime;
|
|
16720
17561
|
}
|
|
16721
17562
|
this.update(deltaTime);
|
|
16722
|
-
this.
|
|
17563
|
+
const alpha = this.deltaTimeAccumulator / this.fixedDeltaTime;
|
|
17564
|
+
this.render(alpha);
|
|
16723
17565
|
}
|
|
16724
17566
|
}
|
|
16725
17567
|
|
|
16726
|
-
export { GameLoop };
|
|
17568
|
+
export { GameLoop, Mode };
|
|
16727
17569
|
//# sourceMappingURL=index.mjs.map
|