extra-request 4.0.3 → 4.1.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.
Files changed (44) hide show
  1. package/README.md +6 -31
  2. package/dist/es2015/index.min.mjs +2 -2
  3. package/dist/es2015/index.min.mjs.map +1 -1
  4. package/dist/es2015/index.mjs +1917 -788
  5. package/dist/es2015/index.mjs.map +1 -1
  6. package/dist/es2015/index.umd.js +1917 -787
  7. package/dist/es2015/index.umd.js.map +1 -1
  8. package/dist/es2015/index.umd.min.js +2 -2
  9. package/dist/es2015/index.umd.min.js.map +1 -1
  10. package/dist/es2018/index.min.mjs +2 -2
  11. package/dist/es2018/index.min.mjs.map +1 -1
  12. package/dist/es2018/index.mjs +1958 -826
  13. package/dist/es2018/index.mjs.map +1 -1
  14. package/dist/es2018/index.umd.js +1958 -825
  15. package/dist/es2018/index.umd.js.map +1 -1
  16. package/dist/es2018/index.umd.min.js +2 -2
  17. package/dist/es2018/index.umd.min.js.map +1 -1
  18. package/lib/es2015/request.d.ts +1 -1
  19. package/lib/es2015/request.js +2 -2
  20. package/lib/es2015/request.js.map +1 -1
  21. package/lib/es2015/transformers/append-pathname.d.ts +2 -0
  22. package/lib/es2015/transformers/append-pathname.js +24 -0
  23. package/lib/es2015/transformers/append-pathname.js.map +1 -0
  24. package/lib/es2015/transformers/csv.js +2 -2
  25. package/lib/es2015/transformers/csv.js.map +1 -1
  26. package/lib/es2015/transformers/form-data-field.js +2 -2
  27. package/lib/es2015/transformers/form-data-field.js.map +1 -1
  28. package/lib/es2015/transformers/index.d.ts +1 -0
  29. package/lib/es2015/transformers/index.js +1 -0
  30. package/lib/es2015/transformers/index.js.map +1 -1
  31. package/lib/es2018/request.d.ts +1 -1
  32. package/lib/es2018/request.js +2 -2
  33. package/lib/es2018/request.js.map +1 -1
  34. package/lib/es2018/transformers/append-pathname.d.ts +2 -0
  35. package/lib/es2018/transformers/append-pathname.js +27 -0
  36. package/lib/es2018/transformers/append-pathname.js.map +1 -0
  37. package/lib/es2018/transformers/csv.js +2 -2
  38. package/lib/es2018/transformers/csv.js.map +1 -1
  39. package/lib/es2018/transformers/form-data-field.js +2 -2
  40. package/lib/es2018/transformers/form-data-field.js.map +1 -1
  41. package/lib/es2018/transformers/index.d.ts +1 -0
  42. package/lib/es2018/transformers/index.js +1 -0
  43. package/lib/es2018/transformers/index.js.map +1 -1
  44. package/package.json +9 -11
@@ -6,7 +6,7 @@
6
6
 
7
7
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8
8
 
9
- var es2018$5 = {};
9
+ var es2018$d = {};
10
10
 
11
11
  var fetch_browser = {};
12
12
 
@@ -77,209 +77,497 @@
77
77
  __exportStar(blob_browser, exports);
78
78
  __exportStar(eventSource_browser, exports);
79
79
 
80
- }(es2018$5));
80
+ }(es2018$d));
81
81
 
82
- var es2018$4 = {};
82
+ var es2018$c = {};
83
83
 
84
- var array = {};
84
+ var es2018$b = {};
85
85
 
86
- array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
87
- function isArray(val) {
86
+ var customError = {};
87
+
88
+ var es2018$a = {};
89
+
90
+ var middleware = {};
91
+
92
+ var chunkAsync$1 = {};
93
+
94
+ var es2018$9 = {};
95
+
96
+ var go$3 = {};
97
+
98
+ go$3.go = void 0;
99
+ function go$2(fn) {
100
+ return fn();
101
+ }
102
+ go$3.go = go$2;
103
+
104
+ var goMicrotask$3 = {};
105
+
106
+ goMicrotask$3.goMicrotask = void 0;
107
+ function goMicrotask$2(fn) {
108
+ return new Promise((resolve, reject) => {
109
+ queueMicrotask(async () => {
110
+ try {
111
+ resolve(await fn());
112
+ }
113
+ catch (e) {
114
+ reject(e);
115
+ }
116
+ });
117
+ });
118
+ }
119
+ goMicrotask$3.goMicrotask = goMicrotask$2;
120
+
121
+ var goMacrotask$3 = {};
122
+
123
+ var es2018$8 = {};
124
+
125
+ var exponentialBackoff = {};
126
+
127
+ var es2018$7 = {};
128
+
129
+ var random$1 = {};
130
+
131
+ random$1.random = void 0;
132
+ function random(min, max) {
133
+ return Math.random() * (max - min) + min;
134
+ }
135
+ random$1.random = random;
136
+
137
+ var randomInt$1 = {};
138
+
139
+ randomInt$1.randomInt = void 0;
140
+ function randomInt(min, max) {
141
+ min = Math.ceil(min);
142
+ max = Math.floor(max);
143
+ return Math.floor(Math.random() * (max - min)) + min;
144
+ }
145
+ randomInt$1.randomInt = randomInt;
146
+
147
+ var randomIntInclusive$1 = {};
148
+
149
+ randomIntInclusive$1.randomIntInclusive = void 0;
150
+ function randomIntInclusive(min, max) {
151
+ min = Math.ceil(min);
152
+ max = Math.floor(max);
153
+ return Math.floor(Math.random() * (max - min + 1)) + min;
154
+ }
155
+ randomIntInclusive$1.randomIntInclusive = randomIntInclusive;
156
+
157
+ (function (exports) {
158
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
159
+ if (k2 === undefined) k2 = k;
160
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
161
+ }) : (function(o, m, k, k2) {
162
+ if (k2 === undefined) k2 = k;
163
+ o[k2] = m[k];
164
+ }));
165
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
166
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
167
+ };__exportStar(random$1, exports);
168
+ __exportStar(randomInt$1, exports);
169
+ __exportStar(randomIntInclusive$1, exports);
170
+
171
+ }(es2018$7));
172
+
173
+ exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
174
+ const extra_rand_1 = es2018$7;
175
+ function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
176
+ const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
177
+ if (jitter) {
178
+ return (0, extra_rand_1.randomIntInclusive)(0, timeout);
179
+ }
180
+ else {
181
+ return timeout;
182
+ }
183
+ }
184
+ exponentialBackoff.calculateExponentialBackoffTimeout = calculateExponentialBackoffTimeout;
185
+
186
+ var setTimeout$2 = {};
187
+
188
+ setTimeout$2.setTimeout = void 0;
189
+ function setTimeout$1(timeout, cb) {
190
+ const timer = globalThis.setTimeout(cb, timeout);
191
+ return () => clearTimeout(timer);
192
+ }
193
+ setTimeout$2.setTimeout = setTimeout$1;
194
+
195
+ var setSchedule$1 = {};
196
+
197
+ setSchedule$1.setSchedule = void 0;
198
+ const set_timeout_1$3 = setTimeout$2;
199
+ function setSchedule(timestamp, cb) {
200
+ const timeout = timestamp - Date.now();
201
+ return (0, set_timeout_1$3.setTimeout)(timeout, cb);
202
+ }
203
+ setSchedule$1.setSchedule = setSchedule;
204
+
205
+ var setInterval$1 = {};
206
+
207
+ setInterval$1.setInterval = void 0;
208
+ function setInterval(timeout, cb) {
209
+ const timer = globalThis.setInterval(cb, timeout);
210
+ return () => clearInterval(timer);
211
+ }
212
+ setInterval$1.setInterval = setInterval;
213
+
214
+ var setImmediate$1 = {};
215
+
216
+ setImmediate$1.setImmediate = void 0;
217
+ const set_timeout_1$2 = setTimeout$2;
218
+ function setImmediate(cb) {
219
+ if (globalThis.setImmediate) {
220
+ const timer = globalThis.setImmediate(cb);
221
+ return () => clearImmediate(timer);
222
+ }
223
+ else {
224
+ return (0, set_timeout_1$2.setTimeout)(0, cb);
225
+ }
226
+ }
227
+ setImmediate$1.setImmediate = setImmediate;
228
+
229
+ var setTimeoutLoop$1 = {};
230
+
231
+ setTimeoutLoop$1.setTimeoutLoop = void 0;
232
+ const set_timeout_1$1 = setTimeout$2;
233
+ function setTimeoutLoop(timeout, cb) {
234
+ let isCancelled = false;
235
+ let cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
236
+ return () => {
237
+ isCancelled = true;
238
+ cancel();
239
+ };
240
+ async function loop() {
241
+ await cb();
242
+ if (!isCancelled) {
243
+ cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
244
+ }
245
+ }
246
+ }
247
+ setTimeoutLoop$1.setTimeoutLoop = setTimeoutLoop;
248
+
249
+ var setDynamicTimeoutLoop$1 = {};
250
+
251
+ setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = void 0;
252
+ const set_timeout_1 = setTimeout$2;
253
+ function setDynamicTimeoutLoop(timeout, cb) {
254
+ let isCancelled = false;
255
+ let cancel = (0, set_timeout_1.setTimeout)(timeout, loop);
256
+ return () => {
257
+ isCancelled = true;
258
+ cancel();
259
+ };
260
+ async function loop() {
261
+ const start = Date.now();
262
+ await cb();
263
+ const elapsed = Date.now() - start;
264
+ if (!isCancelled) {
265
+ cancel = (0, set_timeout_1.setTimeout)(Math.max(timeout - elapsed, 0), loop);
266
+ }
267
+ }
268
+ }
269
+ setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = setDynamicTimeoutLoop;
270
+
271
+ (function (exports) {
272
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
273
+ if (k2 === undefined) k2 = k;
274
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
275
+ }) : (function(o, m, k, k2) {
276
+ if (k2 === undefined) k2 = k;
277
+ o[k2] = m[k];
278
+ }));
279
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
280
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
281
+ };__exportStar(exponentialBackoff, exports);
282
+ __exportStar(setTimeout$2, exports);
283
+ __exportStar(setSchedule$1, exports);
284
+ __exportStar(setInterval$1, exports);
285
+ __exportStar(setImmediate$1, exports);
286
+ __exportStar(setTimeoutLoop$1, exports);
287
+ __exportStar(setDynamicTimeoutLoop$1, exports);
288
+
289
+ }(es2018$8));
290
+
291
+ goMacrotask$3.goMacrotask = void 0;
292
+ const extra_timers_1$1 = es2018$8;
293
+ function goMacrotask$2(fn) {
294
+ return new Promise((resolve, reject) => {
295
+ (0, extra_timers_1$1.setImmediate)(async () => {
296
+ try {
297
+ resolve(await fn());
298
+ }
299
+ catch (e) {
300
+ reject(e);
301
+ }
302
+ });
303
+ });
304
+ }
305
+ goMacrotask$3.goMacrotask = goMacrotask$2;
306
+
307
+ (function (exports) {
308
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
309
+ if (k2 === undefined) k2 = k;
310
+ var desc = Object.getOwnPropertyDescriptor(m, k);
311
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
312
+ desc = { enumerable: true, get: function() { return m[k]; } };
313
+ }
314
+ Object.defineProperty(o, k2, desc);
315
+ }) : (function(o, m, k, k2) {
316
+ if (k2 === undefined) k2 = k;
317
+ o[k2] = m[k];
318
+ }));
319
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
320
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
321
+ };__exportStar(go$3, exports);
322
+ __exportStar(goMicrotask$3, exports);
323
+ __exportStar(goMacrotask$3, exports);
324
+
325
+ }(es2018$9));
326
+
327
+ chunkAsync$1.chunkAsync = void 0;
328
+ const go_1$g = es2018$9;
329
+ const errors_1$f = es2018$b;
330
+ function chunkAsync(iterable, size) {
331
+ (0, errors_1$f.assert)(Number.isInteger(size), 'The parameter size must be an integer');
332
+ (0, errors_1$f.assert)(size > 0, 'The parameter size must be greater than 0');
333
+ return (0, go_1$g.go)(async function* () {
334
+ let buffer = [];
335
+ for await (const element of iterable) {
336
+ buffer.push(element);
337
+ if (buffer.length >= size) {
338
+ yield buffer;
339
+ buffer = [];
340
+ }
341
+ }
342
+ if (buffer.length)
343
+ yield buffer;
344
+ });
345
+ }
346
+ chunkAsync$1.chunkAsync = chunkAsync;
347
+
348
+ var chunkByAsync$1 = {};
349
+
350
+ var es2018$6 = {};
351
+
352
+ var array$1 = {};
353
+
354
+ array$1.isntEmptyArray = array$1.isEmptyArray = array$1.isntArray = array$1.isArray = void 0;
355
+ function isArray$1(val) {
88
356
  return Array.isArray(val);
89
357
  }
90
- array.isArray = isArray;
91
- function isntArray(val) {
92
- return !isArray(val);
358
+ array$1.isArray = isArray$1;
359
+ function isntArray$1(val) {
360
+ return !isArray$1(val);
93
361
  }
94
- array.isntArray = isntArray;
95
- function isEmptyArray(val) {
362
+ array$1.isntArray = isntArray$1;
363
+ function isEmptyArray$1(val) {
96
364
  return val.length === 0;
97
365
  }
98
- array.isEmptyArray = isEmptyArray;
99
- function isntEmptyArray(val) {
366
+ array$1.isEmptyArray = isEmptyArray$1;
367
+ function isntEmptyArray$1(val) {
100
368
  return val.length !== 0;
101
369
  }
102
- array.isntEmptyArray = isntEmptyArray;
370
+ array$1.isntEmptyArray = isntEmptyArray$1;
103
371
 
104
- var asyncIterable = {};
372
+ var asyncIterable$1 = {};
105
373
 
106
- var _null = {};
374
+ var _null$1 = {};
107
375
 
108
- _null.isntNull = _null.isNull = void 0;
109
- function isNull(val) {
376
+ _null$1.isntNull = _null$1.isNull = void 0;
377
+ function isNull$1(val) {
110
378
  return val === null;
111
379
  }
112
- _null.isNull = isNull;
113
- function isntNull(val) {
114
- return !isNull(val);
380
+ _null$1.isNull = isNull$1;
381
+ function isntNull$1(val) {
382
+ return !isNull$1(val);
115
383
  }
116
- _null.isntNull = isntNull;
384
+ _null$1.isntNull = isntNull$1;
117
385
 
118
- var _undefined = {};
386
+ var _undefined$1 = {};
119
387
 
120
- _undefined.isntUndefined = _undefined.isUndefined = void 0;
121
- function isUndefined(val) {
388
+ _undefined$1.isntUndefined = _undefined$1.isUndefined = void 0;
389
+ function isUndefined$1(val) {
122
390
  return val === undefined;
123
391
  }
124
- _undefined.isUndefined = isUndefined;
125
- function isntUndefined(val) {
126
- return !isUndefined(val);
392
+ _undefined$1.isUndefined = isUndefined$1;
393
+ function isntUndefined$1(val) {
394
+ return !isUndefined$1(val);
127
395
  }
128
- _undefined.isntUndefined = isntUndefined;
396
+ _undefined$1.isntUndefined = isntUndefined$1;
129
397
 
130
- var _function = {};
398
+ var _function$1 = {};
131
399
 
132
- _function.isntFunction = _function.isFunction = void 0;
133
- function isFunction(val) {
400
+ _function$1.isntFunction = _function$1.isFunction = void 0;
401
+ function isFunction$1(val) {
134
402
  return typeof val === 'function';
135
403
  }
136
- _function.isFunction = isFunction;
137
- function isntFunction(val) {
138
- return !isFunction(val);
404
+ _function$1.isFunction = isFunction$1;
405
+ function isntFunction$1(val) {
406
+ return !isFunction$1(val);
139
407
  }
140
- _function.isntFunction = isntFunction;
408
+ _function$1.isntFunction = isntFunction$1;
141
409
 
142
- asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
143
- const null_1$2 = _null;
144
- const undefined_1$1 = _undefined;
145
- const function_1$2 = _function;
146
- function isAsyncIterable(val) {
147
- return (0, null_1$2.isntNull)(val)
148
- && (0, undefined_1$1.isntUndefined)(val)
149
- && (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
410
+ asyncIterable$1.isntAsyncIterable = asyncIterable$1.isAsyncIterable = void 0;
411
+ const null_1$5 = _null$1;
412
+ const undefined_1$3 = _undefined$1;
413
+ const function_1$5 = _function$1;
414
+ function isAsyncIterable$1(val) {
415
+ return (0, null_1$5.isntNull)(val)
416
+ && (0, undefined_1$3.isntUndefined)(val)
417
+ && (0, function_1$5.isFunction)(val[Symbol.asyncIterator]);
150
418
  }
151
- asyncIterable.isAsyncIterable = isAsyncIterable;
152
- function isntAsyncIterable(val) {
153
- return !isAsyncIterable(val);
419
+ asyncIterable$1.isAsyncIterable = isAsyncIterable$1;
420
+ function isntAsyncIterable$1(val) {
421
+ return !isAsyncIterable$1(val);
154
422
  }
155
- asyncIterable.isntAsyncIterable = isntAsyncIterable;
423
+ asyncIterable$1.isntAsyncIterable = isntAsyncIterable$1;
156
424
 
157
- var bigint = {};
425
+ var bigint$1 = {};
158
426
 
159
- bigint.isntBigInt = bigint.isBigInt = void 0;
160
- function isBigInt(val) {
427
+ bigint$1.isntBigInt = bigint$1.isBigInt = void 0;
428
+ function isBigInt$1(val) {
161
429
  return typeof val === 'bigint';
162
430
  }
163
- bigint.isBigInt = isBigInt;
164
- function isntBigInt(val) {
165
- return !isBigInt(val);
431
+ bigint$1.isBigInt = isBigInt$1;
432
+ function isntBigInt$1(val) {
433
+ return !isBigInt$1(val);
166
434
  }
167
- bigint.isntBigInt = isntBigInt;
435
+ bigint$1.isntBigInt = isntBigInt$1;
168
436
 
169
- var boolean = {};
437
+ var boolean$1 = {};
170
438
 
171
- boolean.isntBoolean = boolean.isBoolean = void 0;
172
- function isBoolean(val) {
439
+ boolean$1.isntBoolean = boolean$1.isBoolean = void 0;
440
+ function isBoolean$1(val) {
173
441
  return typeof val === 'boolean';
174
442
  }
175
- boolean.isBoolean = isBoolean;
176
- function isntBoolean(val) {
177
- return !isBoolean(val);
443
+ boolean$1.isBoolean = isBoolean$1;
444
+ function isntBoolean$1(val) {
445
+ return !isBoolean$1(val);
178
446
  }
179
- boolean.isntBoolean = isntBoolean;
447
+ boolean$1.isntBoolean = isntBoolean$1;
180
448
 
181
- var char = {};
449
+ var char$1 = {};
182
450
 
183
- var string = {};
451
+ var string$1 = {};
184
452
 
185
- string.isntString = string.isString = void 0;
186
- function isString(val) {
453
+ string$1.isntString = string$1.isString = void 0;
454
+ function isString$1(val) {
187
455
  return typeof val === 'string';
188
456
  }
189
- string.isString = isString;
190
- function isntString(val) {
191
- return !isString(val);
457
+ string$1.isString = isString$1;
458
+ function isntString$1(val) {
459
+ return !isString$1(val);
192
460
  }
193
- string.isntString = isntString;
461
+ string$1.isntString = isntString$1;
194
462
 
195
- char.isntChar = char.isChar = void 0;
196
- const string_1$1 = string;
197
- function isChar(val) {
198
- return (0, string_1$1.isString)(val)
463
+ char$1.isntChar = char$1.isChar = void 0;
464
+ const string_1$3 = string$1;
465
+ function isChar$1(val) {
466
+ return (0, string_1$3.isString)(val)
199
467
  && val.length === 1;
200
468
  }
201
- char.isChar = isChar;
202
- function isntChar(val) {
203
- return !isChar(val);
469
+ char$1.isChar = isChar$1;
470
+ function isntChar$1(val) {
471
+ return !isChar$1(val);
204
472
  }
205
- char.isntChar = isntChar;
473
+ char$1.isntChar = isntChar$1;
206
474
 
207
- var date = {};
475
+ var date$1 = {};
208
476
 
209
- date.isntDate = date.isDate = void 0;
210
- function isDate(val) {
477
+ date$1.isntDate = date$1.isDate = void 0;
478
+ function isDate$1(val) {
211
479
  return val instanceof Date;
212
480
  }
213
- date.isDate = isDate;
214
- function isntDate(val) {
215
- return !isDate(val);
481
+ date$1.isDate = isDate$1;
482
+ function isntDate$1(val) {
483
+ return !isDate$1(val);
216
484
  }
217
- date.isntDate = isntDate;
485
+ date$1.isntDate = isntDate$1;
218
486
 
219
- var _enum = {};
487
+ var _enum$1 = {};
220
488
 
221
- _enum.inEnum = void 0;
222
- function inEnum(val, _enum) {
489
+ _enum$1.inEnum = void 0;
490
+ function inEnum$1(val, _enum) {
223
491
  return Object.values(_enum).includes(val);
224
492
  }
225
- _enum.inEnum = inEnum;
493
+ _enum$1.inEnum = inEnum$1;
226
494
 
227
- var error = {};
495
+ var error$1 = {};
228
496
 
229
- error.isntError = error.isError = void 0;
230
- function isError(val) {
497
+ error$1.isntError = error$1.isError = void 0;
498
+ function isError$1(val) {
231
499
  return val instanceof Error;
232
500
  }
233
- error.isError = isError;
234
- function isntError(val) {
235
- return !isError(val);
501
+ error$1.isError = isError$1;
502
+ function isntError$1(val) {
503
+ return !isError$1(val);
236
504
  }
237
- error.isntError = isntError;
505
+ error$1.isntError = isntError$1;
238
506
 
239
- var falsy = {};
507
+ var falsy$1 = {};
240
508
 
241
- falsy.isntFalsy = falsy.isFalsy = void 0;
242
- function isFalsy(val) {
509
+ falsy$1.isntFalsy = falsy$1.isFalsy = void 0;
510
+ function isFalsy$1(val) {
243
511
  return !val;
244
512
  }
245
- falsy.isFalsy = isFalsy;
246
- function isntFalsy(val) {
247
- return !isFalsy(val);
513
+ falsy$1.isFalsy = isFalsy$1;
514
+ function isntFalsy$1(val) {
515
+ return !isFalsy$1(val);
248
516
  }
249
- falsy.isntFalsy = isntFalsy;
517
+ falsy$1.isntFalsy = isntFalsy$1;
250
518
 
251
- var iterable = {};
519
+ var iterable$1 = {};
252
520
 
253
- iterable.isntIterable = iterable.isIterable = void 0;
254
- const null_1$1 = _null;
255
- const undefined_1 = _undefined;
256
- const function_1$1 = _function;
257
- function isIterable(val) {
258
- return (0, null_1$1.isntNull)(val)
259
- && (0, undefined_1.isntUndefined)(val)
260
- && (0, function_1$1.isFunction)(val[Symbol.iterator]);
521
+ iterable$1.isntIterable = iterable$1.isIterable = void 0;
522
+ const null_1$4 = _null$1;
523
+ const undefined_1$2 = _undefined$1;
524
+ const function_1$4 = _function$1;
525
+ function isIterable$1(val) {
526
+ return (0, null_1$4.isntNull)(val)
527
+ && (0, undefined_1$2.isntUndefined)(val)
528
+ && (0, function_1$4.isFunction)(val[Symbol.iterator]);
261
529
  }
262
- iterable.isIterable = isIterable;
263
- function isntIterable(val) {
264
- return !isIterable(val);
530
+ iterable$1.isIterable = isIterable$1;
531
+ function isntIterable$1(val) {
532
+ return !isIterable$1(val);
265
533
  }
266
- iterable.isntIterable = isntIterable;
534
+ iterable$1.isntIterable = isntIterable$1;
267
535
 
268
- var json$1 = {};
536
+ var json$2 = {};
269
537
 
270
- var number = {};
538
+ var number$1 = {};
271
539
 
272
- number.isntNumber = number.isNumber = void 0;
273
- function isNumber(val) {
540
+ number$1.isntNaN = number$1.isNaN = number$1.isNegativeInfinity = number$1.isPositiveInfinity = number$1.isFinite = number$1.isntNumber = number$1.isNumber = void 0;
541
+ function isNumber$1(val) {
274
542
  return typeof val === 'number';
275
543
  }
276
- number.isNumber = isNumber;
277
- function isntNumber(val) {
278
- return !isNumber(val);
544
+ number$1.isNumber = isNumber$1;
545
+ function isntNumber$1(val) {
546
+ return !isNumber$1(val);
279
547
  }
280
- number.isntNumber = isntNumber;
548
+ number$1.isntNumber = isntNumber$1;
549
+ function isFinite$1(val) {
550
+ return Number.isFinite(val);
551
+ }
552
+ number$1.isFinite = isFinite$1;
553
+ function isPositiveInfinity$1(val) {
554
+ return val === Infinity;
555
+ }
556
+ number$1.isPositiveInfinity = isPositiveInfinity$1;
557
+ function isNegativeInfinity$1(val) {
558
+ return val === -Infinity;
559
+ }
560
+ number$1.isNegativeInfinity = isNegativeInfinity$1;
561
+ function isNaN$1(val) {
562
+ return Number.isNaN(val);
563
+ }
564
+ number$1.isNaN = isNaN$1;
565
+ function isntNaN$1(val) {
566
+ return !isNaN$1(val);
567
+ }
568
+ number$1.isntNaN = isntNaN$1;
281
569
 
282
- var object = {};
570
+ var object$1 = {};
283
571
 
284
572
  /** Detect free variable `global` from Node.js. */
285
573
 
@@ -507,7 +795,7 @@
507
795
  * _.isPlainObject(Object.create(null));
508
796
  * // => true
509
797
  */
510
- function isPlainObject$1(value) {
798
+ function isPlainObject$2(value) {
511
799
  if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
512
800
  return false;
513
801
  }
@@ -520,59 +808,59 @@
520
808
  funcToString.call(Ctor) == objectCtorString;
521
809
  }
522
810
 
523
- var isPlainObject_1$1 = isPlainObject$1;
811
+ var isPlainObject_1$2 = isPlainObject$2;
524
812
 
525
- var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
813
+ var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
526
814
  return (mod && mod.__esModule) ? mod : { "default": mod };
527
- };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
528
- const isPlainObject_1 = __importDefault(isPlainObject_1$1);
529
- function isObject(val) {
815
+ };object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
816
+ const isPlainObject_1$1 = __importDefault$1(isPlainObject_1$2);
817
+ function isObject$1(val) {
530
818
  return val !== null
531
819
  && typeof val === 'object';
532
820
  }
533
- object.isObject = isObject;
534
- function isntObject(val) {
535
- return !isObject(val);
821
+ object$1.isObject = isObject$1;
822
+ function isntObject$1(val) {
823
+ return !isObject$1(val);
536
824
  }
537
- object.isntObject = isntObject;
538
- function isPlainObject(val) {
539
- return (0, isPlainObject_1.default)(val);
825
+ object$1.isntObject = isntObject$1;
826
+ function isPlainObject$1(val) {
827
+ return (0, isPlainObject_1$1.default)(val);
540
828
  }
541
- object.isPlainObject = isPlainObject;
542
- function isntPlainObject(val) {
543
- return !isPlainObject(val);
829
+ object$1.isPlainObject = isPlainObject$1;
830
+ function isntPlainObject$1(val) {
831
+ return !isPlainObject$1(val);
544
832
  }
545
- object.isntPlainObject = isntPlainObject;
546
- function isEmptyObject(val) {
833
+ object$1.isntPlainObject = isntPlainObject$1;
834
+ function isEmptyObject$1(val) {
547
835
  return Object.keys(val).length === 0;
548
836
  }
549
- object.isEmptyObject = isEmptyObject;
550
- function isntEmptyObject(val) {
837
+ object$1.isEmptyObject = isEmptyObject$1;
838
+ function isntEmptyObject$1(val) {
551
839
  return Object.keys(val).length !== 0;
552
840
  }
553
- object.isntEmptyObject = isntEmptyObject;
554
-
555
- json$1.isntJsonable = json$1.isJsonable = json$1.isntJson = json$1.isJson = void 0;
556
- const null_1 = _null;
557
- const boolean_1 = boolean;
558
- const string_1 = string;
559
- const number_1 = number;
560
- const array_1 = array;
561
- const object_1$1 = object;
562
- function isJson(val) {
563
- return (0, null_1.isNull)(val)
564
- || (0, boolean_1.isBoolean)(val)
565
- || (0, string_1.isString)(val)
566
- || (0, number_1.isNumber)(val)
567
- || ((0, array_1.isArray)(val) && val.every(isJson))
568
- || ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
569
- }
570
- json$1.isJson = isJson;
571
- function isntJson(val) {
572
- return !isJson(val);
573
- }
574
- json$1.isntJson = isntJson;
575
- function isJsonable(val) {
841
+ object$1.isntEmptyObject = isntEmptyObject$1;
842
+
843
+ json$2.isntJsonable = json$2.isJsonable = json$2.isntJson = json$2.isJson = void 0;
844
+ const null_1$3 = _null$1;
845
+ const boolean_1$1 = boolean$1;
846
+ const string_1$2 = string$1;
847
+ const number_1$1 = number$1;
848
+ const array_1$1 = array$1;
849
+ const object_1$3 = object$1;
850
+ function isJson$1(val) {
851
+ return (0, null_1$3.isNull)(val)
852
+ || (0, boolean_1$1.isBoolean)(val)
853
+ || (0, string_1$2.isString)(val)
854
+ || (0, number_1$1.isNumber)(val)
855
+ || ((0, array_1$1.isArray)(val) && val.every(isJson$1))
856
+ || ((0, object_1$3.isPlainObject)(val) && Object.values(val).every(isJson$1));
857
+ }
858
+ json$2.isJson = isJson$1;
859
+ function isntJson$1(val) {
860
+ return !isJson$1(val);
861
+ }
862
+ json$2.isntJson = isntJson$1;
863
+ function isJsonable$1(val) {
576
864
  try {
577
865
  JSON.stringify(val);
578
866
  return true;
@@ -581,39 +869,39 @@
581
869
  return false;
582
870
  }
583
871
  }
584
- json$1.isJsonable = isJsonable;
585
- function isntJsonable(val) {
586
- return !isntJsonable();
872
+ json$2.isJsonable = isJsonable$1;
873
+ function isntJsonable$1(val) {
874
+ return !isntJsonable$1();
587
875
  }
588
- json$1.isntJsonable = isntJsonable;
876
+ json$2.isntJsonable = isntJsonable$1;
589
877
 
590
- var promise = {};
878
+ var promise$1 = {};
591
879
 
592
- promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
593
- const object_1 = object;
594
- const function_1 = _function;
595
- function isPromise(val) {
880
+ promise$1.isPromiseLike = promise$1.isntPromiseLike = promise$1.isntPromise = promise$1.isPromise = void 0;
881
+ const object_1$2 = object$1;
882
+ const function_1$3 = _function$1;
883
+ function isPromise$1(val) {
596
884
  return val instanceof Promise;
597
885
  }
598
- promise.isPromise = isPromise;
599
- function isntPromise(val) {
600
- return !isPromise(val);
886
+ promise$1.isPromise = isPromise$1;
887
+ function isntPromise$1(val) {
888
+ return !isPromise$1(val);
601
889
  }
602
- promise.isntPromise = isntPromise;
603
- function isntPromiseLike(val) {
604
- return !isPromiseLike(val);
890
+ promise$1.isntPromise = isntPromise$1;
891
+ function isntPromiseLike$1(val) {
892
+ return !isPromiseLike$1(val);
605
893
  }
606
- promise.isntPromiseLike = isntPromiseLike;
607
- function isPromiseLike(val) {
608
- return (0, object_1.isObject)(val)
609
- && (0, function_1.isFunction)(val.then);
894
+ promise$1.isntPromiseLike = isntPromiseLike$1;
895
+ function isPromiseLike$1(val) {
896
+ return (0, object_1$2.isObject)(val)
897
+ && (0, function_1$3.isFunction)(val.then);
610
898
  }
611
- promise.isPromiseLike = isPromiseLike;
899
+ promise$1.isPromiseLike = isPromiseLike$1;
612
900
 
613
- var url$1 = {};
901
+ var url$2 = {};
614
902
 
615
- url$1.isAbsoluteURL = void 0;
616
- function isAbsoluteURL(str) {
903
+ url$2.isAbsoluteURL = void 0;
904
+ function isAbsoluteURL$1(str) {
617
905
  try {
618
906
  new URL(str);
619
907
  return true;
@@ -622,220 +910,109 @@
622
910
  return false;
623
911
  }
624
912
  }
625
- url$1.isAbsoluteURL = isAbsoluteURL;
626
-
627
- (function (exports) {
628
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
629
- if (k2 === undefined) k2 = k;
630
- var desc = Object.getOwnPropertyDescriptor(m, k);
631
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
632
- desc = { enumerable: true, get: function() { return m[k]; } };
633
- }
634
- Object.defineProperty(o, k2, desc);
635
- }) : (function(o, m, k, k2) {
636
- if (k2 === undefined) k2 = k;
637
- o[k2] = m[k];
638
- }));
639
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
640
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
641
- };__exportStar(array, exports);
642
- __exportStar(asyncIterable, exports);
643
- __exportStar(bigint, exports);
644
- __exportStar(boolean, exports);
645
- __exportStar(char, exports);
646
- __exportStar(date, exports);
647
- __exportStar(_enum, exports);
648
- __exportStar(error, exports);
649
- __exportStar(falsy, exports);
650
- __exportStar(_function, exports);
651
- __exportStar(iterable, exports);
652
- __exportStar(json$1, exports);
653
- __exportStar(_null, exports);
654
- __exportStar(number, exports);
655
- __exportStar(object, exports);
656
- __exportStar(promise, exports);
657
- __exportStar(string, exports);
658
- __exportStar(_undefined, exports);
659
- __exportStar(url$1, exports);
913
+ url$2.isAbsoluteURL = isAbsoluteURL$1;
660
914
 
661
- }(es2018$4));
915
+ var regexp$1 = {};
662
916
 
663
- function get(...transformers) {
664
- return request('GET', ...transformers);
665
- }
666
- function head(...transformers) {
667
- return request('HEAD', ...transformers);
668
- }
669
- function post(...transformers) {
670
- return request('POST', ...transformers);
671
- }
672
- function put(...transformers) {
673
- return request('PUT', ...transformers);
674
- }
675
- function patch(...transformers) {
676
- return request('PATCH', ...transformers);
677
- }
678
- function del(...transformers) {
679
- return request('DELETE', ...transformers);
680
- }
681
- function request(method, ...transformers) {
682
- const options = transformers.reduce((options, trans) => es2018$4.isFunction(trans) ? trans(options) : options, {
683
- url: new URL('http://localhost'),
684
- headers: new es2018$5.Headers()
685
- });
686
- const headers = new es2018$5.Headers(options.headers);
687
- return new es2018$5.Request(options.url.href, {
688
- method,
689
- headers,
690
- signal: options.signal,
691
- body: options.payload,
692
- keepalive: options.keepalive
693
- });
917
+ regexp$1.isntRegExp = regexp$1.isRegExp = void 0;
918
+ function isRegExp$1(val) {
919
+ return val instanceof RegExp;
694
920
  }
695
-
696
- function url(...urls) {
697
- return (options) => {
698
- const url = new URL(urls.reduce((acc, cur) => new URL(cur, acc).href));
699
- return {
700
- ...options,
701
- url
702
- };
703
- };
921
+ regexp$1.isRegExp = isRegExp$1;
922
+ function isntRegExp$1(val) {
923
+ return !isRegExp$1(val);
704
924
  }
925
+ regexp$1.isntRegExp = isntRegExp$1;
705
926
 
706
- function text(payload) {
707
- return (options) => {
708
- const headers = new es2018$5.Headers(options.headers);
709
- headers.set('Content-Type', 'application/x-www-form-urlencoded');
710
- return {
711
- ...options,
712
- headers,
713
- payload
714
- };
715
- };
716
- }
927
+ var symbol$1 = {};
717
928
 
718
- function json(payload) {
719
- return (options) => {
720
- const headers = new es2018$5.Headers(options.headers);
721
- headers.set('Content-Type', 'application/json');
722
- return {
723
- ...options,
724
- headers,
725
- payload: JSON.stringify(payload)
726
- };
727
- };
929
+ symbol$1.isntSymbol = symbol$1.isSymbol = void 0;
930
+ function isSymbol$1(val) {
931
+ return typeof val === 'symbol';
728
932
  }
729
-
730
- var papaparse_min = {exports: {}};
731
-
732
- /* @license
733
- Papa Parse
734
- v5.3.2
735
- https://github.com/mholt/PapaParse
736
- License: MIT
737
- */
738
-
739
- (function (module, exports) {
740
- !function(e,t){module.exports=t();}(commonjsGlobal,function s(){var f="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==f?f:{};var n=!f.document&&!!f.postMessage,o=n&&/blob:/i.test((f.location||{}).protocol),a={},h=0,b={parse:function(e,t){var i=(t=t||{}).dynamicTyping||!1;M(i)&&(t.dynamicTypingFunction=i,i={});if(t.dynamicTyping=i,t.transform=!!M(t.transform)&&t.transform,t.worker&&b.WORKERS_SUPPORTED){var r=function(){if(!b.WORKERS_SUPPORTED)return !1;var e=(i=f.URL||f.webkitURL||null,r=s.toString(),b.BLOB_URL||(b.BLOB_URL=i.createObjectURL(new Blob(["(",r,")();"],{type:"text/javascript"})))),t=new f.Worker(e);var i,r;return t.onmessage=_,t.id=h++,a[t.id]=t}();return r.userStep=t.step,r.userChunk=t.chunk,r.userComplete=t.complete,r.userError=t.error,t.step=M(t.step),t.chunk=M(t.chunk),t.complete=M(t.complete),t.error=M(t.error),delete t.worker,void r.postMessage({input:e,config:t,workerId:r.id})}var n=null;b.NODE_STREAM_INPUT,"string"==typeof e?n=t.download?new l(t):new p(t):!0===e.readable&&M(e.read)&&M(e.on)?n=new g(t):(f.File&&e instanceof File||e instanceof Object)&&(n=new c(t));return n.stream(e)},unparse:function(e,t){var n=!1,_=!0,m=",",y="\r\n",s='"',a=s+s,i=!1,r=null,o=!1;!function(){if("object"!=typeof t)return;"string"!=typeof t.delimiter||b.BAD_DELIMITERS.filter(function(e){return -1!==t.delimiter.indexOf(e)}).length||(m=t.delimiter);("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes);"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(i=t.skipEmptyLines);"string"==typeof t.newline&&(y=t.newline);"string"==typeof t.quoteChar&&(s=t.quoteChar);"boolean"==typeof t.header&&(_=t.header);if(Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");r=t.columns;}void 0!==t.escapeChar&&(a=t.escapeChar+s);("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(o=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/);}();var h=new RegExp(j(s),"g");"string"==typeof e&&(e=JSON.parse(e));if(Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return u(null,e,i);if("object"==typeof e[0])return u(r||Object.keys(e[0]),e,i)}else if("object"==typeof e)return "string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||r),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),u(e.fields||[],e.data||[],i);throw new Error("Unable to serialize unrecognized input");function u(e,t,i){var r="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var n=Array.isArray(e)&&0<e.length,s=!Array.isArray(t[0]);if(n&&_){for(var a=0;a<e.length;a++)0<a&&(r+=m),r+=v(e[a],a);0<t.length&&(r+=y);}for(var o=0;o<t.length;o++){var h=n?e.length:t[o].length,u=!1,f=n?0===Object.keys(t[o]).length:0===t[o].length;if(i&&!n&&(u="greedy"===i?""===t[o].join("").trim():1===t[o].length&&0===t[o][0].length),"greedy"===i&&n){for(var d=[],l=0;l<h;l++){var c=s?e[l]:l;d.push(t[o][c]);}u=""===d.join("").trim();}if(!u){for(var p=0;p<h;p++){0<p&&!f&&(r+=m);var g=n&&s?e[p]:p;r+=v(t[o][g],p);}o<t.length-1&&(!i||0<h&&!f)&&(r+=y);}}return r}function v(e,t){if(null==e)return "";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);var i=!1;o&&"string"==typeof e&&o.test(e)&&(e="'"+e,i=!0);var r=e.toString().replace(h,a);return (i=i||!0===n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||function(e,t){for(var i=0;i<t.length;i++)if(-1<e.indexOf(t[i]))return !0;return !1}(r,b.BAD_DELIMITERS)||-1<r.indexOf(m)||" "===r.charAt(0)||" "===r.charAt(r.length-1))?s+r+s:r}}};if(b.RECORD_SEP=String.fromCharCode(30),b.UNIT_SEP=String.fromCharCode(31),b.BYTE_ORDER_MARK="\ufeff",b.BAD_DELIMITERS=["\r","\n",'"',b.BYTE_ORDER_MARK],b.WORKERS_SUPPORTED=!n&&!!f.Worker,b.NODE_STREAM_INPUT=1,b.LocalChunkSize=10485760,b.RemoteChunkSize=5242880,b.DefaultDelimiter=",",b.Parser=E,b.ParserHandle=i,b.NetworkStreamer=l,b.FileStreamer=c,b.StringStreamer=p,b.ReadableStreamStreamer=g,f.jQuery){var d=f.jQuery;d.fn.parse=function(o){var i=o.config||{},h=[];return this.each(function(e){if(!("INPUT"===d(this).prop("tagName").toUpperCase()&&"file"===d(this).attr("type").toLowerCase()&&f.FileReader)||!this.files||0===this.files.length)return !0;for(var t=0;t<this.files.length;t++)h.push({file:this.files[t],inputElem:this,instanceConfig:d.extend({},i)});}),e(),this;function e(){if(0!==h.length){var e,t,i,r,n=h[0];if(M(o.before)){var s=o.before(n.file,n.inputElem);if("object"==typeof s){if("abort"===s.action)return e="AbortError",t=n.file,i=n.inputElem,r=s.reason,void(M(o.error)&&o.error({name:e},t,i,r));if("skip"===s.action)return void u();"object"==typeof s.config&&(n.instanceConfig=d.extend(n.instanceConfig,s.config));}else if("skip"===s)return void u()}var a=n.instanceConfig.complete;n.instanceConfig.complete=function(e){M(a)&&a(e,n.file,n.inputElem),u();},b.parse(n.file,n.instanceConfig);}else M(o.complete)&&o.complete();}function u(){h.splice(0,1),e();}};}function u(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=w(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null);this._handle=new i(t),(this._handle.streamer=this)._config=t;}.call(this,e),this.parseChunk=function(e,t){if(this.isFirstChunk&&M(this._config.beforeFirstChunk)){var i=this._config.beforeFirstChunk(e);void 0!==i&&(e=i);}this.isFirstChunk=!1,this._halted=!1;var r=this._partialLine+e;this._partialLine="";var n=this._handle.parse(r,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var s=n.meta.cursor;this._finished||(this._partialLine=r.substring(s-this._baseIndex),this._baseIndex=s),n&&n.data&&(this._rowCount+=n.data.length);var a=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(o)f.postMessage({results:n,workerId:b.WORKER_ID,finished:a});else if(M(this._config.chunk)&&!t){if(this._config.chunk(n,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);n=void 0,this._completeResults=void 0;}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(n.data),this._completeResults.errors=this._completeResults.errors.concat(n.errors),this._completeResults.meta=n.meta),this._completed||!a||!M(this._config.complete)||n&&n.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),a||n&&n.meta.paused||this._nextChunk(),n}this._halted=!0;},this._sendError=function(e){M(this._config.error)?this._config.error(e):o&&this._config.error&&f.postMessage({workerId:b.WORKER_ID,error:e,finished:!1});};}function l(e){var r;(e=e||{}).chunkSize||(e.chunkSize=b.RemoteChunkSize),u.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded();}:function(){this._readChunk();},this.stream=function(e){this._input=e,this._nextChunk();},this._readChunk=function(){if(this._finished)this._chunkLoaded();else {if(r=new XMLHttpRequest,this._config.withCredentials&&(r.withCredentials=this._config.withCredentials),n||(r.onload=v(this._chunkLoaded,this),r.onerror=v(this._chunkError,this)),r.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var t in e)r.setRequestHeader(t,e[t]);}if(this._config.chunkSize){var i=this._start+this._config.chunkSize-1;r.setRequestHeader("Range","bytes="+this._start+"-"+i);}try{r.send(this._config.downloadRequestBody);}catch(e){this._chunkError(e.message);}n&&0===r.status&&this._chunkError();}},this._chunkLoaded=function(){4===r.readyState&&(r.status<200||400<=r.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:r.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");if(null===t)return -1;return parseInt(t.substring(t.lastIndexOf("/")+1))}(r),this.parseChunk(r.responseText)));},this._chunkError=function(e){var t=r.statusText||e;this._sendError(new Error(t));};}function c(e){var r,n;(e=e||{}).chunkSize||(e.chunkSize=b.LocalChunkSize),u.call(this,e);var s="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,s?((r=new FileReader).onload=v(this._chunkLoaded,this),r.onerror=v(this._chunkError,this)):r=new FileReaderSync,this._nextChunk();},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk();},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var t=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,t);}var i=r.readAsText(e,this._config.encoding);s||this._chunkLoaded({target:{result:i}});},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result);},this._chunkError=function(){this._sendError(r.error);};}function p(e){var i;u.call(this,e=e||{}),this.stream=function(e){return i=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,t=this._config.chunkSize;return t?(e=i.substring(0,t),i=i.substring(t)):(e=i,i=""),this._finished=!i,this.parseChunk(e)}};}function g(e){u.call(this,e=e||{});var t=[],i=!0,r=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause();},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume();},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError);},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0);},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):i=!0;},this._streamData=v(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(t.shift()));}catch(e){this._streamError(e);}},this),this._streamError=v(function(e){this._streamCleanUp(),this._sendError(e);},this),this._streamEnd=v(function(){this._streamCleanUp(),r=!0,this._streamData("");},this),this._streamCleanUp=v(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError);},this);}function i(m){var a,o,h,r=Math.pow(2,53),n=-r,s=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,u=/^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/,t=this,i=0,f=0,d=!1,e=!1,l=[],c={data:[],errors:[],meta:{}};if(M(m.step)){var p=m.step;m.step=function(e){if(c=e,_())g();else {if(g(),0===c.data.length)return;i+=e.data.length,m.preview&&i>m.preview?o.abort():(c.data=c.data[0],p(c,t));}};}function y(e){return "greedy"===m.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function g(){return c&&h&&(k("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+b.DefaultDelimiter+"'"),h=!1),m.skipEmptyLines&&(c.data=c.data.filter(function(e){return !y(e)})),_()&&function(){if(!c)return;function e(e,t){M(m.transformHeader)&&(e=m.transformHeader(e,t)),l.push(e);}if(Array.isArray(c.data[0])){for(var t=0;_()&&t<c.data.length;t++)c.data[t].forEach(e);c.data.splice(0,1);}else c.data.forEach(e);}(),function(){if(!c||!m.header&&!m.dynamicTyping&&!m.transform)return c;function e(e,t){var i,r=m.header?{}:[];for(i=0;i<e.length;i++){var n=i,s=e[i];m.header&&(n=i>=l.length?"__parsed_extra":l[i]),m.transform&&(s=m.transform(s,n)),s=v(n,s),"__parsed_extra"===n?(r[n]=r[n]||[],r[n].push(s)):r[n]=s;}return m.header&&(i>l.length?k("FieldMismatch","TooManyFields","Too many fields: expected "+l.length+" fields but parsed "+i,f+t):i<l.length&&k("FieldMismatch","TooFewFields","Too few fields: expected "+l.length+" fields but parsed "+i,f+t)),r}var t=1;!c.data.length||Array.isArray(c.data[0])?(c.data=c.data.map(e),t=c.data.length):c.data=e(c.data,0);m.header&&c.meta&&(c.meta.fields=l);return f+=t,c}()}function _(){return m.header&&0===l.length}function v(e,t){return i=e,m.dynamicTypingFunction&&void 0===m.dynamicTyping[i]&&(m.dynamicTyping[i]=m.dynamicTypingFunction(i)),!0===(m.dynamicTyping[i]||m.dynamicTyping)?"true"===t||"TRUE"===t||"false"!==t&&"FALSE"!==t&&(function(e){if(s.test(e)){var t=parseFloat(e);if(n<t&&t<r)return !0}return !1}(t)?parseFloat(t):u.test(t)?new Date(t):""===t?null:t):t;var i;}function k(e,t,i,r){var n={type:e,code:t,message:i};void 0!==r&&(n.row=r),c.errors.push(n);}this.parse=function(e,t,i){var r=m.quoteChar||'"';if(m.newline||(m.newline=function(e,t){e=e.substring(0,1048576);var i=new RegExp(j(t)+"([^]*?)"+j(t),"gm"),r=(e=e.replace(i,"")).split("\r"),n=e.split("\n"),s=1<n.length&&n[0].length<r[0].length;if(1===r.length||s)return "\n";for(var a=0,o=0;o<r.length;o++)"\n"===r[o][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(e,r)),h=!1,m.delimiter)M(m.delimiter)&&(m.delimiter=m.delimiter(e),c.meta.delimiter=m.delimiter);else {var n=function(e,t,i,r,n){var s,a,o,h;n=n||[",","\t","|",";",b.RECORD_SEP,b.UNIT_SEP];for(var u=0;u<n.length;u++){var f=n[u],d=0,l=0,c=0;o=void 0;for(var p=new E({comments:r,delimiter:f,newline:t,preview:10}).parse(e),g=0;g<p.data.length;g++)if(i&&y(p.data[g]))c++;else {var _=p.data[g].length;l+=_,void 0!==o?0<_&&(d+=Math.abs(_-o),o=_):o=_;}0<p.data.length&&(l/=p.data.length-c),(void 0===a||d<=a)&&(void 0===h||h<l)&&1.99<l&&(a=d,s=f,h=l);}return {successful:!!(m.delimiter=s),bestDelimiter:s}}(e,m.newline,m.skipEmptyLines,m.comments,m.delimitersToGuess);n.successful?m.delimiter=n.bestDelimiter:(h=!0,m.delimiter=b.DefaultDelimiter),c.meta.delimiter=m.delimiter;}var s=w(m);return m.preview&&m.header&&s.preview++,a=e,o=new E(s),c=o.parse(a,t,i),g(),d?{meta:{paused:!0}}:c||{meta:{paused:!1}}},this.paused=function(){return d},this.pause=function(){d=!0,o.abort(),a=M(m.chunk)?"":a.substring(o.getCharIndex());},this.resume=function(){t.streamer._halted?(d=!1,t.streamer.parseChunk(a,!0)):setTimeout(t.resume,3);},this.aborted=function(){return e},this.abort=function(){e=!0,o.abort(),c.meta.aborted=!0,M(m.complete)&&m.complete(c),a="";};}function j(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(e){var S,O=(e=e||{}).delimiter,x=e.newline,I=e.comments,T=e.step,D=e.preview,A=e.fastMode,L=S=void 0===e.quoteChar||null===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(L=e.escapeChar),("string"!=typeof O||-1<b.BAD_DELIMITERS.indexOf(O))&&(O=","),I===O)throw new Error("Comment character same as delimiter");!0===I?I="#":("string"!=typeof I||-1<b.BAD_DELIMITERS.indexOf(I))&&(I=!1),"\n"!==x&&"\r"!==x&&"\r\n"!==x&&(x="\n");var F=0,z=!1;this.parse=function(r,t,i){if("string"!=typeof r)throw new Error("Input must be a string");var n=r.length,e=O.length,s=x.length,a=I.length,o=M(T),h=[],u=[],f=[],d=F=0;if(!r)return C();if(A||!1!==A&&-1===r.indexOf(S)){for(var l=r.split(x),c=0;c<l.length;c++){if(f=l[c],F+=f.length,c!==l.length-1)F+=x.length;else if(i)return C();if(!I||f.substring(0,a)!==I){if(o){if(h=[],k(f.split(O)),R(),z)return C()}else k(f.split(O));if(D&&D<=c)return h=h.slice(0,D),C(!0)}}return C()}for(var p=r.indexOf(O,F),g=r.indexOf(x,F),_=new RegExp(j(L)+j(S),"g"),m=r.indexOf(S,F);;)if(r[F]!==S)if(I&&0===f.length&&r.substring(F,F+a)===I){if(-1===g)return C();F=g+s,g=r.indexOf(x,F),p=r.indexOf(O,F);}else if(-1!==p&&(p<g||-1===g))f.push(r.substring(F,p)),F=p+e,p=r.indexOf(O,F);else {if(-1===g)break;if(f.push(r.substring(F,g)),w(g+s),o&&(R(),z))return C();if(D&&h.length>=D)return C(!0)}else for(m=F,F++;;){if(-1===(m=r.indexOf(S,m+1)))return i||u.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:h.length,index:F}),E();if(m===n-1)return E(r.substring(F,m).replace(_,S));if(S!==L||r[m+1]!==L){if(S===L||0===m||r[m-1]!==L){-1!==p&&p<m+1&&(p=r.indexOf(O,m+1)),-1!==g&&g<m+1&&(g=r.indexOf(x,m+1));var y=b(-1===g?p:Math.min(p,g));if(r.substr(m+1+y,e)===O){f.push(r.substring(F,m).replace(_,S)),r[F=m+1+y+e]!==S&&(m=r.indexOf(S,F)),p=r.indexOf(O,F),g=r.indexOf(x,F);break}var v=b(g);if(r.substring(m+1+v,m+1+v+s)===x){if(f.push(r.substring(F,m).replace(_,S)),w(m+1+v+s),p=r.indexOf(O,F),m=r.indexOf(S,F),o&&(R(),z))return C();if(D&&h.length>=D)return C(!0);break}u.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:h.length,index:F}),m++;}}else m++;}return E();function k(e){h.push(e),d=F;}function b(e){var t=0;if(-1!==e){var i=r.substring(m+1,e);i&&""===i.trim()&&(t=i.length);}return t}function E(e){return i||(void 0===e&&(e=r.substring(F)),f.push(e),F=n,k(f),o&&R()),C()}function w(e){F=e,k(f),f=[],g=r.indexOf(x,F);}function C(e){return {data:h,errors:u,meta:{delimiter:O,linebreak:x,aborted:z,truncated:!!e,cursor:d+(t||0)}}}function R(){T(C()),h=[],u=[];}},this.abort=function(){z=!0;},this.getCharIndex=function(){return F};}function _(e){var t=e.data,i=a[t.workerId],r=!1;if(t.error)i.userError(t.error,t.file);else if(t.results&&t.results.data){var n={abort:function(){r=!0,m(t.workerId,{data:[],errors:[],meta:{aborted:!0}});},pause:y,resume:y};if(M(i.userStep)){for(var s=0;s<t.results.data.length&&(i.userStep({data:t.results.data[s],errors:t.results.errors,meta:t.results.meta},n),!r);s++);delete t.results;}else M(i.userChunk)&&(i.userChunk(t.results,n,t.file),delete t.results);}t.finished&&!r&&m(t.workerId,t.results);}function m(e,t){var i=a[e];M(i.userComplete)&&i.userComplete(t),i.terminate(),delete a[e];}function y(){throw new Error("Not implemented.")}function w(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var i in e)t[i]=w(e[i]);return t}function v(e,t){return function(){e.apply(t,arguments);}}function M(e){return "function"==typeof e}return o&&(f.onmessage=function(e){var t=e.data;void 0===b.WORKER_ID&&t&&(b.WORKER_ID=t.workerId);if("string"==typeof t.input)f.postMessage({workerId:b.WORKER_ID,results:b.parse(t.input,t.config),finished:!0});else if(f.File&&t.input instanceof File||t.input instanceof Object){var i=b.parse(t.input,t.config);i&&f.postMessage({workerId:b.WORKER_ID,results:i,finished:!0});}}),(l.prototype=Object.create(u.prototype)).constructor=l,(c.prototype=Object.create(u.prototype)).constructor=c,(p.prototype=Object.create(p.prototype)).constructor=p,(g.prototype=Object.create(u.prototype)).constructor=g,b});
741
- }(papaparse_min));
742
-
743
- var es2018$3 = {};
744
-
745
- var customError = {};
746
-
747
- var es2018$2 = {};
748
-
749
- var middleware = {};
750
-
751
- var chunkAsync$1 = {};
752
-
753
- var es2018$1 = {};
754
-
755
- var go$1 = {};
756
-
757
- go$1.go = void 0;
758
- function go(fn) {
759
- return fn();
933
+ symbol$1.isSymbol = isSymbol$1;
934
+ function isntSymbol$1(val) {
935
+ return !isSymbol$1(val);
760
936
  }
761
- go$1.go = go;
937
+ symbol$1.isntSymbol = isntSymbol$1;
762
938
 
763
939
  (function (exports) {
764
940
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
765
941
  if (k2 === undefined) k2 = k;
766
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
942
+ var desc = Object.getOwnPropertyDescriptor(m, k);
943
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
944
+ desc = { enumerable: true, get: function() { return m[k]; } };
945
+ }
946
+ Object.defineProperty(o, k2, desc);
767
947
  }) : (function(o, m, k, k2) {
768
948
  if (k2 === undefined) k2 = k;
769
949
  o[k2] = m[k];
770
950
  }));
771
951
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
772
952
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
773
- };__exportStar(go$1, exports);
774
-
775
- }(es2018$1));
776
-
777
- chunkAsync$1.chunkAsync = void 0;
778
- const go_1$f = es2018$1;
779
- const errors_1$f = es2018$3;
780
- function chunkAsync(iterable, size) {
781
- (0, errors_1$f.assert)(Number.isInteger(size), 'The parameter size must be an integer');
782
- (0, errors_1$f.assert)(size > 0, 'The parameter size must be greater than 0');
783
- return (0, go_1$f.go)(async function* () {
784
- let buffer = [];
785
- for await (const element of iterable) {
786
- buffer.push(element);
787
- if (buffer.length >= size) {
788
- yield buffer;
789
- buffer = [];
790
- }
791
- }
792
- if (buffer.length)
793
- yield buffer;
794
- });
795
- }
796
- chunkAsync$1.chunkAsync = chunkAsync;
797
-
798
- var chunkByAsync$1 = {};
953
+ };__exportStar(array$1, exports);
954
+ __exportStar(asyncIterable$1, exports);
955
+ __exportStar(bigint$1, exports);
956
+ __exportStar(boolean$1, exports);
957
+ __exportStar(char$1, exports);
958
+ __exportStar(date$1, exports);
959
+ __exportStar(_enum$1, exports);
960
+ __exportStar(error$1, exports);
961
+ __exportStar(falsy$1, exports);
962
+ __exportStar(_function$1, exports);
963
+ __exportStar(iterable$1, exports);
964
+ __exportStar(json$2, exports);
965
+ __exportStar(_null$1, exports);
966
+ __exportStar(number$1, exports);
967
+ __exportStar(object$1, exports);
968
+ __exportStar(promise$1, exports);
969
+ __exportStar(string$1, exports);
970
+ __exportStar(_undefined$1, exports);
971
+ __exportStar(url$2, exports);
972
+ __exportStar(regexp$1, exports);
973
+ __exportStar(symbol$1, exports);
974
+
975
+ }(es2018$6));
799
976
 
800
977
  chunkByAsync$1.chunkByAsync = void 0;
801
- const types_1$k = es2018$4;
978
+ const types_1$m = es2018$6;
802
979
  function chunkByAsync(iterable, predicate) {
803
- if ((0, types_1$k.isAsyncIterable)(iterable)) {
804
- return chunkByAsyncIterable(iterable);
980
+ if ((0, types_1$m.isAsyncIterable)(iterable)) {
981
+ return chunkByAsyncIterable(iterable, predicate);
805
982
  }
806
983
  else {
807
- return chunkByIterable(iterable);
984
+ return chunkByIterable(iterable, predicate);
808
985
  }
809
- async function* chunkByAsyncIterable(iterable) {
810
- let buffer = [];
811
- let index = 0;
812
- for await (const element of iterable) {
813
- buffer.push(element);
814
- if (await predicate(element, index)) {
815
- yield buffer;
816
- buffer = [];
817
- }
818
- index++;
819
- }
820
- if (buffer.length)
986
+ }
987
+ chunkByAsync$1.chunkByAsync = chunkByAsync;
988
+ async function* chunkByAsyncIterable(iterable, predicate) {
989
+ let buffer = [];
990
+ let index = 0;
991
+ for await (const element of iterable) {
992
+ buffer.push(element);
993
+ if (await predicate(element, index)) {
821
994
  yield buffer;
822
- }
823
- async function* chunkByIterable(iterable) {
824
- let buffer = [];
825
- let index = 0;
826
- for (const element of iterable) {
827
- buffer.push(element);
828
- if (await predicate(element, index)) {
829
- yield buffer;
830
- buffer = [];
831
- }
832
- index++;
995
+ buffer = [];
833
996
  }
834
- if (buffer.length)
997
+ index++;
998
+ }
999
+ if (buffer.length)
1000
+ yield buffer;
1001
+ }
1002
+ async function* chunkByIterable(iterable, predicate) {
1003
+ let buffer = [];
1004
+ let index = 0;
1005
+ for (const element of iterable) {
1006
+ buffer.push(element);
1007
+ if (await predicate(element, index)) {
835
1008
  yield buffer;
1009
+ buffer = [];
1010
+ }
1011
+ index++;
836
1012
  }
1013
+ if (buffer.length)
1014
+ yield buffer;
837
1015
  }
838
- chunkByAsync$1.chunkByAsync = chunkByAsync;
839
1016
 
840
1017
  var chunkBy$1 = {};
841
1018
 
@@ -859,12 +1036,12 @@
859
1036
  var chunk$1 = {};
860
1037
 
861
1038
  chunk$1.chunk = void 0;
862
- const go_1$e = es2018$1;
863
- const errors_1$e = es2018$3;
1039
+ const go_1$f = es2018$9;
1040
+ const errors_1$e = es2018$b;
864
1041
  function chunk(iterable, size) {
865
1042
  (0, errors_1$e.assert)(Number.isInteger(size), 'The parameter size must be an integer');
866
1043
  (0, errors_1$e.assert)(size > 0, 'The parameter size must be greater than 0');
867
- return (0, go_1$e.go)(function* () {
1044
+ return (0, go_1$f.go)(function* () {
868
1045
  let buffer = [];
869
1046
  for (const element of iterable) {
870
1047
  buffer.push(element);
@@ -882,12 +1059,12 @@
882
1059
  var concatAsync$1 = {};
883
1060
 
884
1061
  concatAsync$1.concatAsync = void 0;
885
- const types_1$j = es2018$4;
886
- const go_1$d = es2018$1;
1062
+ const types_1$l = es2018$6;
1063
+ const go_1$e = es2018$9;
887
1064
  function concatAsync(iterable, ...otherIterables) {
888
- return (0, go_1$d.go)(async function* () {
1065
+ return (0, go_1$e.go)(async function* () {
889
1066
  for (const iter of [iterable, ...otherIterables]) {
890
- if ((0, types_1$j.isAsyncIterable)(iter)) {
1067
+ if ((0, types_1$l.isAsyncIterable)(iter)) {
891
1068
  for await (const element of iter) {
892
1069
  yield element;
893
1070
  }
@@ -905,9 +1082,9 @@
905
1082
  var concat$1 = {};
906
1083
 
907
1084
  concat$1.concat = void 0;
908
- const go_1$c = es2018$1;
1085
+ const go_1$d = es2018$9;
909
1086
  function concat(iterable, ...otherIterables) {
910
- return (0, go_1$c.go)(function* () {
1087
+ return (0, go_1$d.go)(function* () {
911
1088
  for (const iter of [iterable, ...otherIterables]) {
912
1089
  yield* iter;
913
1090
  }
@@ -934,15 +1111,15 @@
934
1111
  utils.copyIterable = copyIterable;
935
1112
 
936
1113
  dropAsync$1.dropAsync = void 0;
937
- const go_1$b = es2018$1;
1114
+ const go_1$c = es2018$9;
938
1115
  const utils_1$3 = utils;
939
- const errors_1$d = es2018$3;
1116
+ const errors_1$d = es2018$b;
940
1117
  function dropAsync(iterable, count) {
941
1118
  (0, errors_1$d.assert)(Number.isInteger(count), 'The parameter count must be an integer');
942
1119
  (0, errors_1$d.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
943
1120
  if (count === 0)
944
1121
  return (0, utils_1$3.copyAsyncIterable)(iterable);
945
- return (0, go_1$b.go)(async function* () {
1122
+ return (0, go_1$c.go)(async function* () {
946
1123
  var _a;
947
1124
  const iterator = iterable[Symbol.asyncIterator]();
948
1125
  let done;
@@ -969,15 +1146,15 @@
969
1146
  var dropRightAsync$1 = {};
970
1147
 
971
1148
  dropRightAsync$1.dropRightAsync = void 0;
972
- const go_1$a = es2018$1;
1149
+ const go_1$b = es2018$9;
973
1150
  const utils_1$2 = utils;
974
- const errors_1$c = es2018$3;
1151
+ const errors_1$c = es2018$b;
975
1152
  function dropRightAsync(iterable, count) {
976
1153
  (0, errors_1$c.assert)(Number.isInteger(count), 'The parameter count must be an integer');
977
1154
  (0, errors_1$c.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
978
1155
  if (count === 0)
979
1156
  return (0, utils_1$2.copyAsyncIterable)(iterable);
980
- return (0, go_1$a.go)(async function* () {
1157
+ return (0, go_1$b.go)(async function* () {
981
1158
  const arr = await toArrayAsync$2(iterable);
982
1159
  const result = arr.slice(0, -count);
983
1160
  for (const value of result) {
@@ -997,15 +1174,15 @@
997
1174
  var dropRight$1 = {};
998
1175
 
999
1176
  dropRight$1.dropRight = void 0;
1000
- const go_1$9 = es2018$1;
1177
+ const go_1$a = es2018$9;
1001
1178
  const utils_1$1 = utils;
1002
- const errors_1$b = es2018$3;
1179
+ const errors_1$b = es2018$b;
1003
1180
  function dropRight(iterable, count) {
1004
1181
  (0, errors_1$b.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1005
1182
  (0, errors_1$b.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
1006
1183
  if (count === 0)
1007
1184
  return (0, utils_1$1.copyIterable)(iterable);
1008
- return (0, go_1$9.go)(function* () {
1185
+ return (0, go_1$a.go)(function* () {
1009
1186
  const arr = Array.from(iterable);
1010
1187
  yield* arr.slice(0, -count);
1011
1188
  });
@@ -1015,58 +1192,58 @@
1015
1192
  var dropUntilAsync$1 = {};
1016
1193
 
1017
1194
  dropUntilAsync$1.dropUntilAsync = void 0;
1018
- const types_1$i = es2018$4;
1195
+ const types_1$k = es2018$6;
1019
1196
  function dropUntilAsync(iterable, predicate) {
1020
- if ((0, types_1$i.isAsyncIterable)(iterable)) {
1021
- return dropUntilAsyncIterable(iterable);
1197
+ if ((0, types_1$k.isAsyncIterable)(iterable)) {
1198
+ return dropUntilAsyncIterable(iterable, predicate);
1022
1199
  }
1023
1200
  else {
1024
- return dropUntilIterable(iterable);
1201
+ return dropUntilIterable(iterable, predicate);
1025
1202
  }
1026
- async function* dropUntilAsyncIterable(iterable) {
1027
- var _a;
1028
- const iterator = iterable[Symbol.asyncIterator]();
1029
- let done;
1030
- try {
1031
- let index = 0;
1032
- let value;
1033
- while ({ value, done } = await iterator.next(), !done) {
1034
- if (await predicate(value, index++))
1035
- break;
1036
- }
1037
- while (!done) {
1038
- yield value;
1039
- ({ value, done } = await iterator.next());
1040
- }
1203
+ }
1204
+ dropUntilAsync$1.dropUntilAsync = dropUntilAsync;
1205
+ async function* dropUntilAsyncIterable(iterable, predicate) {
1206
+ var _a;
1207
+ const iterator = iterable[Symbol.asyncIterator]();
1208
+ let done;
1209
+ try {
1210
+ let index = 0;
1211
+ let value;
1212
+ while ({ value, done } = await iterator.next(), !done) {
1213
+ if (await predicate(value, index++))
1214
+ break;
1041
1215
  }
1042
- finally {
1043
- if (!done)
1044
- await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));
1216
+ while (!done) {
1217
+ yield value;
1218
+ ({ value, done } = await iterator.next());
1045
1219
  }
1046
1220
  }
1047
- async function* dropUntilIterable(iterable) {
1048
- var _a;
1049
- const iterator = iterable[Symbol.iterator]();
1050
- let done;
1051
- try {
1052
- let index = 0;
1053
- let value;
1054
- while ({ value, done } = iterator.next(), !done) {
1055
- if (await predicate(value, index++))
1056
- break;
1057
- }
1058
- while (!done) {
1059
- yield value;
1060
- ({ value, done } = iterator.next());
1061
- }
1221
+ finally {
1222
+ if (!done)
1223
+ await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));
1224
+ }
1225
+ }
1226
+ async function* dropUntilIterable(iterable, predicate) {
1227
+ var _a;
1228
+ const iterator = iterable[Symbol.iterator]();
1229
+ let done;
1230
+ try {
1231
+ let index = 0;
1232
+ let value;
1233
+ while ({ value, done } = iterator.next(), !done) {
1234
+ if (await predicate(value, index++))
1235
+ break;
1062
1236
  }
1063
- finally {
1064
- if (!done)
1065
- (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);
1237
+ while (!done) {
1238
+ yield value;
1239
+ ({ value, done } = iterator.next());
1066
1240
  }
1067
1241
  }
1242
+ finally {
1243
+ if (!done)
1244
+ (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);
1245
+ }
1068
1246
  }
1069
- dropUntilAsync$1.dropUntilAsync = dropUntilAsync;
1070
1247
 
1071
1248
  var dropUntil$1 = {};
1072
1249
 
@@ -1097,15 +1274,15 @@
1097
1274
  var drop$1 = {};
1098
1275
 
1099
1276
  drop$1.drop = void 0;
1100
- const go_1$8 = es2018$1;
1277
+ const go_1$9 = es2018$9;
1101
1278
  const utils_1 = utils;
1102
- const errors_1$a = es2018$3;
1279
+ const errors_1$a = es2018$b;
1103
1280
  function drop(iterable, count) {
1104
1281
  (0, errors_1$a.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1105
1282
  (0, errors_1$a.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
1106
1283
  if (count === 0)
1107
1284
  return (0, utils_1.copyIterable)(iterable);
1108
- return (0, go_1$8.go)(function* () {
1285
+ return (0, go_1$9.go)(function* () {
1109
1286
  var _a;
1110
1287
  const iterator = iterable[Symbol.iterator]();
1111
1288
  let done;
@@ -1132,32 +1309,32 @@
1132
1309
  var filterAsync$1 = {};
1133
1310
 
1134
1311
  filterAsync$1.filterAsync = void 0;
1135
- const types_1$h = es2018$4;
1312
+ const types_1$j = es2018$6;
1136
1313
  function filterAsync(iterable, predicate) {
1137
- if ((0, types_1$h.isAsyncIterable)(iterable)) {
1138
- return filterAsyncIterable(iterable);
1314
+ if ((0, types_1$j.isAsyncIterable)(iterable)) {
1315
+ return filterAsyncIterable(iterable, predicate);
1139
1316
  }
1140
1317
  else {
1141
- return filterIterable(iterable);
1318
+ return filterIterable(iterable, predicate);
1142
1319
  }
1143
- async function* filterAsyncIterable(iterable) {
1144
- let index = 0;
1145
- for await (const element of iterable) {
1146
- if (await predicate(element, index))
1147
- yield element;
1148
- index++;
1149
- }
1320
+ }
1321
+ filterAsync$1.filterAsync = filterAsync;
1322
+ async function* filterAsyncIterable(iterable, predicate) {
1323
+ let index = 0;
1324
+ for await (const element of iterable) {
1325
+ if (await predicate(element, index))
1326
+ yield element;
1327
+ index++;
1150
1328
  }
1151
- async function* filterIterable(iterable) {
1152
- let index = 0;
1153
- for (const element of iterable) {
1154
- if (await predicate(element, index))
1155
- yield element;
1156
- index++;
1157
- }
1329
+ }
1330
+ async function* filterIterable(iterable, predicate) {
1331
+ let index = 0;
1332
+ for (const element of iterable) {
1333
+ if (await predicate(element, index))
1334
+ yield element;
1335
+ index++;
1158
1336
  }
1159
1337
  }
1160
- filterAsync$1.filterAsync = filterAsync;
1161
1338
 
1162
1339
  var filter$1 = {};
1163
1340
 
@@ -1179,47 +1356,47 @@
1179
1356
  var flattenByAsync$1 = {};
1180
1357
 
1181
1358
  flattenByAsync$1.flattenByAsync = void 0;
1182
- const types_1$g = es2018$4;
1359
+ const types_1$i = es2018$6;
1183
1360
  function flattenByAsync(iterable, predicate) {
1184
- if ((0, types_1$g.isAsyncIterable)(iterable)) {
1185
- return flattenByAsyncIterable(iterable);
1361
+ if ((0, types_1$i.isAsyncIterable)(iterable)) {
1362
+ return flattenByAsyncIterable(iterable, predicate);
1186
1363
  }
1187
1364
  else {
1188
- return flattenByIterable(iterable);
1365
+ return flattenByIterable(iterable, predicate);
1189
1366
  }
1190
- async function* flattenByAsyncIterable(iterable) {
1191
- const level = 1;
1192
- for await (const element of iterable) {
1193
- if (isFiniteIterable$1(element) && await predicate(element, level)) {
1194
- yield* flatten(element, level + 1);
1195
- }
1196
- else {
1197
- yield element;
1198
- }
1367
+ }
1368
+ flattenByAsync$1.flattenByAsync = flattenByAsync;
1369
+ async function* flattenByAsyncIterable(iterable, predicate) {
1370
+ const level = 1;
1371
+ for await (const element of iterable) {
1372
+ if (isFiniteIterable$1(element) && await predicate(element, level)) {
1373
+ yield* flatten$3(element, predicate, level + 1);
1374
+ }
1375
+ else {
1376
+ yield element;
1199
1377
  }
1200
1378
  }
1201
- function flattenByIterable(iterable) {
1202
- return flatten(iterable, 1);
1203
- }
1204
- async function* flatten(iterable, level) {
1205
- for (const element of iterable) {
1206
- if (isFiniteIterable$1(element) && await predicate(element, level)) {
1207
- yield* flatten(element, level + 1);
1208
- }
1209
- else {
1210
- yield element;
1211
- }
1379
+ }
1380
+ function flattenByIterable(iterable, predicate) {
1381
+ return flatten$3(iterable, predicate, 1);
1382
+ }
1383
+ async function* flatten$3(iterable, predicate, level) {
1384
+ for (const element of iterable) {
1385
+ if (isFiniteIterable$1(element) && await predicate(element, level)) {
1386
+ yield* flatten$3(element, predicate, level + 1);
1387
+ }
1388
+ else {
1389
+ yield element;
1212
1390
  }
1213
1391
  }
1214
1392
  }
1215
- flattenByAsync$1.flattenByAsync = flattenByAsync;
1216
1393
  function isFiniteIterable$1(val) {
1217
- return (0, types_1$g.isIterable)(val) && (0, types_1$g.isntChar)(val);
1394
+ return (0, types_1$i.isIterable)(val) && (0, types_1$i.isntChar)(val);
1218
1395
  }
1219
1396
 
1220
1397
  flattenDeepAsync$1.flattenDeepAsync = void 0;
1221
1398
  const flatten_by_async_1 = flattenByAsync$1;
1222
- const errors_1$9 = es2018$3;
1399
+ const errors_1$9 = es2018$b;
1223
1400
  function flattenDeepAsync(iterable, depth = Infinity) {
1224
1401
  (0, errors_1$9.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
1225
1402
  (0, errors_1$9.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -1237,30 +1414,30 @@
1237
1414
  var flattenBy$1 = {};
1238
1415
 
1239
1416
  flattenBy$1.flattenBy = void 0;
1240
- const types_1$f = es2018$4;
1417
+ const types_1$h = es2018$6;
1241
1418
  function flattenBy(iterable, predicate) {
1242
- return flatten(iterable, 1);
1243
- function* flatten(iterable, level) {
1244
- for (const element of iterable) {
1245
- if (isFiniteIterable(element) && predicate(element, level)) {
1246
- yield* flatten(element, level + 1);
1247
- }
1248
- else {
1249
- yield element;
1250
- }
1419
+ return flatten$2(iterable, predicate, 1);
1420
+ }
1421
+ flattenBy$1.flattenBy = flattenBy;
1422
+ function* flatten$2(iterable, predicate, level) {
1423
+ for (const element of iterable) {
1424
+ if (isFiniteIterable(element) && predicate(element, level)) {
1425
+ yield* flatten$2(element, predicate, level + 1);
1426
+ }
1427
+ else {
1428
+ yield element;
1251
1429
  }
1252
1430
  }
1253
1431
  }
1254
- flattenBy$1.flattenBy = flattenBy;
1255
1432
  function isFiniteIterable(val) {
1256
- return (0, types_1$f.isIterable)(val) && (0, types_1$f.isntChar)(val);
1433
+ return (0, types_1$h.isIterable)(val) && (0, types_1$h.isntChar)(val);
1257
1434
  }
1258
1435
 
1259
1436
  var flattenDeep$1 = {};
1260
1437
 
1261
1438
  flattenDeep$1.flattenDeep = void 0;
1262
1439
  const flatten_by_1 = flattenBy$1;
1263
- const errors_1$8 = es2018$3;
1440
+ const errors_1$8 = es2018$b;
1264
1441
  function flattenDeep(iterable, depth = Infinity) {
1265
1442
  (0, errors_1$8.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
1266
1443
  (0, errors_1$8.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -1280,30 +1457,30 @@
1280
1457
  var mapAsync$1 = {};
1281
1458
 
1282
1459
  mapAsync$1.mapAsync = void 0;
1283
- const types_1$e = es2018$4;
1460
+ const types_1$g = es2018$6;
1284
1461
  function mapAsync(iterable, fn) {
1285
- if ((0, types_1$e.isAsyncIterable)(iterable)) {
1286
- return mapAsyncIterable(iterable);
1462
+ if ((0, types_1$g.isAsyncIterable)(iterable)) {
1463
+ return mapAsyncIterable(iterable, fn);
1287
1464
  }
1288
1465
  else {
1289
- return mapIterable(iterable);
1466
+ return mapIterable(iterable, fn);
1290
1467
  }
1291
- async function* mapAsyncIterable(iterable) {
1292
- let index = 0;
1293
- for await (const element of iterable) {
1294
- yield await fn(element, index);
1295
- index++;
1296
- }
1468
+ }
1469
+ mapAsync$1.mapAsync = mapAsync;
1470
+ async function* mapAsyncIterable(iterable, fn) {
1471
+ let index = 0;
1472
+ for await (const element of iterable) {
1473
+ yield await fn(element, index);
1474
+ index++;
1297
1475
  }
1298
- async function* mapIterable(iterable) {
1299
- let index = 0;
1300
- for (const element of iterable) {
1301
- yield await fn(element, index);
1302
- index++;
1303
- }
1476
+ }
1477
+ async function* mapIterable(iterable, fn) {
1478
+ let index = 0;
1479
+ for (const element of iterable) {
1480
+ yield await fn(element, index);
1481
+ index++;
1304
1482
  }
1305
1483
  }
1306
- mapAsync$1.mapAsync = mapAsync;
1307
1484
 
1308
1485
  var map$1 = {};
1309
1486
 
@@ -1320,14 +1497,14 @@
1320
1497
  var repeatAsync$1 = {};
1321
1498
 
1322
1499
  repeatAsync$1.repeatAsync = void 0;
1323
- const go_1$7 = es2018$1;
1324
- const errors_1$7 = es2018$3;
1500
+ const go_1$8 = es2018$9;
1501
+ const errors_1$7 = es2018$b;
1325
1502
  function repeatAsync(iterable, times) {
1326
1503
  (0, errors_1$7.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
1327
1504
  (0, errors_1$7.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
1328
1505
  if (times === Infinity)
1329
1506
  warnInfiniteLoop$1();
1330
- return (0, go_1$7.go)(async function* () {
1507
+ return (0, go_1$8.go)(async function* () {
1331
1508
  const cache = [];
1332
1509
  if (times > 0) {
1333
1510
  for await (const element of iterable) {
@@ -1355,14 +1532,14 @@
1355
1532
  var repeat$1 = {};
1356
1533
 
1357
1534
  repeat$1.repeat = void 0;
1358
- const go_1$6 = es2018$1;
1359
- const errors_1$6 = es2018$3;
1535
+ const go_1$7 = es2018$9;
1536
+ const errors_1$6 = es2018$b;
1360
1537
  function repeat(iterable, times) {
1361
1538
  (0, errors_1$6.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
1362
1539
  (0, errors_1$6.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
1363
1540
  if (times === Infinity)
1364
1541
  warnInfiniteLoop();
1365
- return (0, go_1$6.go)(function* () {
1542
+ return (0, go_1$7.go)(function* () {
1366
1543
  const cache = [];
1367
1544
  if (times > 0) {
1368
1545
  for (const element of iterable) {
@@ -1390,14 +1567,14 @@
1390
1567
  var sliceAsync$1 = {};
1391
1568
 
1392
1569
  sliceAsync$1.sliceAsync = void 0;
1393
- const go_1$5 = es2018$1;
1394
- const errors_1$5 = es2018$3;
1570
+ const go_1$6 = es2018$9;
1571
+ const errors_1$5 = es2018$b;
1395
1572
  function sliceAsync(iterable, start, end = Infinity) {
1396
1573
  (0, errors_1$5.assert)(Number.isInteger(start), 'The parameter start must be an integer');
1397
1574
  (0, errors_1$5.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
1398
1575
  (0, errors_1$5.assert)(Number.isInteger(end), 'The parameter end must be an integer');
1399
1576
  (0, errors_1$5.assert)(end >= start, 'The parameter end must be greater than or equal to start');
1400
- return (0, go_1$5.go)(async function* () {
1577
+ return (0, go_1$6.go)(async function* () {
1401
1578
  let index = 0;
1402
1579
  for await (const element of iterable) {
1403
1580
  if (index >= end)
@@ -1413,14 +1590,14 @@
1413
1590
  var slice$1 = {};
1414
1591
 
1415
1592
  slice$1.slice = void 0;
1416
- const go_1$4 = es2018$1;
1417
- const errors_1$4 = es2018$3;
1593
+ const go_1$5 = es2018$9;
1594
+ const errors_1$4 = es2018$b;
1418
1595
  function slice(iterable, start, end = Infinity) {
1419
1596
  (0, errors_1$4.assert)(Number.isInteger(start), 'The parameter start must be an integer');
1420
1597
  (0, errors_1$4.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
1421
1598
  (0, errors_1$4.assert)(Number.isInteger(end), 'The parameter end must be an integer');
1422
1599
  (0, errors_1$4.assert)(end >= start, 'The parameter end must be greater than or equal to start');
1423
- return (0, go_1$4.go)(function* () {
1600
+ return (0, go_1$5.go)(function* () {
1424
1601
  let index = 0;
1425
1602
  for (const element of iterable) {
1426
1603
  if (index >= end)
@@ -1454,46 +1631,46 @@
1454
1631
  var splitByAsync$1 = {};
1455
1632
 
1456
1633
  splitByAsync$1.splitByAsync = void 0;
1457
- const types_1$d = es2018$4;
1634
+ const types_1$f = es2018$6;
1458
1635
  function splitByAsync(iterable, predicate) {
1459
- if ((0, types_1$d.isAsyncIterable)(iterable)) {
1460
- return splitByAsyncIterable(iterable);
1636
+ if ((0, types_1$f.isAsyncIterable)(iterable)) {
1637
+ return splitByAsyncIterable(iterable, predicate);
1461
1638
  }
1462
1639
  else {
1463
- return splitByIterable(iterable);
1640
+ return splitByIterable(iterable, predicate);
1464
1641
  }
1465
- async function* splitByIterable(iterable) {
1466
- let buffer = [];
1467
- let index = 0;
1468
- for (const element of iterable) {
1469
- if (await predicate(element, index)) {
1470
- yield buffer;
1471
- buffer = [];
1472
- }
1473
- else {
1474
- buffer.push(element);
1475
- }
1476
- index++;
1642
+ }
1643
+ splitByAsync$1.splitByAsync = splitByAsync;
1644
+ async function* splitByIterable(iterable, predicate) {
1645
+ let buffer = [];
1646
+ let index = 0;
1647
+ for (const element of iterable) {
1648
+ if (await predicate(element, index)) {
1649
+ yield buffer;
1650
+ buffer = [];
1477
1651
  }
1478
- yield buffer;
1652
+ else {
1653
+ buffer.push(element);
1654
+ }
1655
+ index++;
1479
1656
  }
1480
- async function* splitByAsyncIterable(iterable) {
1481
- let buffer = [];
1482
- let index = 0;
1483
- for await (const element of iterable) {
1484
- if (await predicate(element, index)) {
1485
- yield buffer;
1486
- buffer = [];
1487
- }
1488
- else {
1489
- buffer.push(element);
1490
- }
1491
- index++;
1657
+ yield buffer;
1658
+ }
1659
+ async function* splitByAsyncIterable(iterable, predicate) {
1660
+ let buffer = [];
1661
+ let index = 0;
1662
+ for await (const element of iterable) {
1663
+ if (await predicate(element, index)) {
1664
+ yield buffer;
1665
+ buffer = [];
1492
1666
  }
1493
- yield buffer;
1667
+ else {
1668
+ buffer.push(element);
1669
+ }
1670
+ index++;
1494
1671
  }
1672
+ yield buffer;
1495
1673
  }
1496
- splitByAsync$1.splitByAsync = splitByAsync;
1497
1674
 
1498
1675
  var splitBy$1 = {};
1499
1676
 
@@ -1536,12 +1713,12 @@
1536
1713
  var takeAsync$1 = {};
1537
1714
 
1538
1715
  takeAsync$1.takeAsync = void 0;
1539
- const go_1$3 = es2018$1;
1540
- const errors_1$3 = es2018$3;
1716
+ const go_1$4 = es2018$9;
1717
+ const errors_1$3 = es2018$b;
1541
1718
  function takeAsync(iterable, count) {
1542
1719
  (0, errors_1$3.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1543
1720
  (0, errors_1$3.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
1544
- return (0, go_1$3.go)(async function* () {
1721
+ return (0, go_1$4.go)(async function* () {
1545
1722
  if (count === 0)
1546
1723
  return;
1547
1724
  for await (const element of iterable) {
@@ -1557,12 +1734,12 @@
1557
1734
  var takeRightAsync$1 = {};
1558
1735
 
1559
1736
  takeRightAsync$1.takeRightAsync = void 0;
1560
- const go_1$2 = es2018$1;
1561
- const errors_1$2 = es2018$3;
1737
+ const go_1$3 = es2018$9;
1738
+ const errors_1$2 = es2018$b;
1562
1739
  function takeRightAsync(iterable, count) {
1563
1740
  (0, errors_1$2.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1564
1741
  (0, errors_1$2.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
1565
- return (0, go_1$2.go)(async function* () {
1742
+ return (0, go_1$3.go)(async function* () {
1566
1743
  var _a;
1567
1744
  const iterator = iterable[Symbol.asyncIterator]();
1568
1745
  let done;
@@ -1587,12 +1764,12 @@
1587
1764
  var takeRight$1 = {};
1588
1765
 
1589
1766
  takeRight$1.takeRight = void 0;
1590
- const go_1$1 = es2018$1;
1591
- const errors_1$1 = es2018$3;
1767
+ const go_1$2 = es2018$9;
1768
+ const errors_1$1 = es2018$b;
1592
1769
  function takeRight(iterable, count) {
1593
1770
  (0, errors_1$1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1594
1771
  (0, errors_1$1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
1595
- return (0, go_1$1.go)(function* () {
1772
+ return (0, go_1$2.go)(function* () {
1596
1773
  var _a;
1597
1774
  const iterator = iterable[Symbol.iterator]();
1598
1775
  let done;
@@ -1617,34 +1794,34 @@
1617
1794
  var takeUntilAsync$1 = {};
1618
1795
 
1619
1796
  takeUntilAsync$1.takeUntilAsync = void 0;
1620
- const types_1$c = es2018$4;
1797
+ const types_1$e = es2018$6;
1621
1798
  function takeUntilAsync(iterable, predicate) {
1622
- if ((0, types_1$c.isAsyncIterable)(iterable)) {
1623
- return takeUntilAsyncIterable(iterable);
1799
+ if ((0, types_1$e.isAsyncIterable)(iterable)) {
1800
+ return takeUntilAsyncIterable(iterable, predicate);
1624
1801
  }
1625
1802
  else {
1626
- return takeUntilIterable(iterable);
1803
+ return takeUntilIterable(iterable, predicate);
1627
1804
  }
1628
- async function* takeUntilAsyncIterable(iterable) {
1629
- let index = 0;
1630
- for await (const element of iterable) {
1631
- if (await predicate(element, index))
1632
- break;
1633
- yield element;
1634
- index++;
1635
- }
1805
+ }
1806
+ takeUntilAsync$1.takeUntilAsync = takeUntilAsync;
1807
+ async function* takeUntilAsyncIterable(iterable, predicate) {
1808
+ let index = 0;
1809
+ for await (const element of iterable) {
1810
+ if (await predicate(element, index))
1811
+ break;
1812
+ yield element;
1813
+ index++;
1636
1814
  }
1637
- async function* takeUntilIterable(iterable) {
1638
- let index = 0;
1639
- for (const element of iterable) {
1640
- if (await predicate(element, index))
1641
- break;
1642
- yield element;
1643
- index++;
1644
- }
1815
+ }
1816
+ async function* takeUntilIterable(iterable, predicate) {
1817
+ let index = 0;
1818
+ for (const element of iterable) {
1819
+ if (await predicate(element, index))
1820
+ break;
1821
+ yield element;
1822
+ index++;
1645
1823
  }
1646
1824
  }
1647
- takeUntilAsync$1.takeUntilAsync = takeUntilAsync;
1648
1825
 
1649
1826
  var takeUntil$1 = {};
1650
1827
 
@@ -1663,12 +1840,12 @@
1663
1840
  var take$1 = {};
1664
1841
 
1665
1842
  take$1.take = void 0;
1666
- const go_1 = es2018$1;
1667
- const errors_1 = es2018$3;
1843
+ const go_1$1 = es2018$9;
1844
+ const errors_1 = es2018$b;
1668
1845
  function take(iterable, count) {
1669
1846
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1670
1847
  (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
1671
- return (0, go_1.go)(function* () {
1848
+ return (0, go_1$1.go)(function* () {
1672
1849
  if (count === 0)
1673
1850
  return;
1674
1851
  for (const element of iterable) {
@@ -1684,32 +1861,32 @@
1684
1861
  var tapAsync$1 = {};
1685
1862
 
1686
1863
  tapAsync$1.tapAsync = void 0;
1687
- const types_1$b = es2018$4;
1864
+ const types_1$d = es2018$6;
1688
1865
  function tapAsync(iterable, fn) {
1689
- if ((0, types_1$b.isAsyncIterable)(iterable)) {
1690
- return tapAsyncIterable(iterable);
1866
+ if ((0, types_1$d.isAsyncIterable)(iterable)) {
1867
+ return tapAsyncIterable(iterable, fn);
1691
1868
  }
1692
1869
  else {
1693
- return tapIterable(iterable);
1870
+ return tapIterable(iterable, fn);
1694
1871
  }
1695
- async function* tapIterable(iterable) {
1696
- let index = 0;
1697
- for (const element of iterable) {
1698
- await fn(element, index);
1699
- yield element;
1700
- index++;
1701
- }
1872
+ }
1873
+ tapAsync$1.tapAsync = tapAsync;
1874
+ async function* tapIterable(iterable, fn) {
1875
+ let index = 0;
1876
+ for (const element of iterable) {
1877
+ await fn(element, index);
1878
+ yield element;
1879
+ index++;
1702
1880
  }
1703
- async function* tapAsyncIterable(iterable) {
1704
- let index = 0;
1705
- for await (const element of iterable) {
1706
- await fn(element, index);
1707
- yield element;
1708
- index++;
1709
- }
1881
+ }
1882
+ async function* tapAsyncIterable(iterable, fn) {
1883
+ let index = 0;
1884
+ for await (const element of iterable) {
1885
+ await fn(element, index);
1886
+ yield element;
1887
+ index++;
1710
1888
  }
1711
1889
  }
1712
- tapAsync$1.tapAsync = tapAsync;
1713
1890
 
1714
1891
  var tap$1 = {};
1715
1892
 
@@ -1767,40 +1944,40 @@
1767
1944
  var uniqByAsync$1 = {};
1768
1945
 
1769
1946
  uniqByAsync$1.uniqByAsync = void 0;
1770
- const types_1$a = es2018$4;
1947
+ const types_1$c = es2018$6;
1771
1948
  function uniqByAsync(iterable, fn) {
1772
- if ((0, types_1$a.isAsyncIterable)(iterable)) {
1773
- return uniqByAsyncIterable(iterable);
1949
+ if ((0, types_1$c.isAsyncIterable)(iterable)) {
1950
+ return uniqByAsyncIterable(iterable, fn);
1774
1951
  }
1775
1952
  else {
1776
- return uniqByIterable(iterable);
1953
+ return uniqByIterable(iterable, fn);
1777
1954
  }
1778
- async function* uniqByAsyncIterable(iterable) {
1779
- const bucket = new Set();
1780
- let index = 0;
1781
- for await (const element of iterable) {
1782
- const result = await fn(element, index);
1783
- if (!bucket.has(result)) {
1784
- yield element;
1785
- bucket.add(result);
1786
- }
1787
- index++;
1955
+ }
1956
+ uniqByAsync$1.uniqByAsync = uniqByAsync;
1957
+ async function* uniqByAsyncIterable(iterable, fn) {
1958
+ const bucket = new Set();
1959
+ let index = 0;
1960
+ for await (const element of iterable) {
1961
+ const result = await fn(element, index);
1962
+ if (!bucket.has(result)) {
1963
+ yield element;
1964
+ bucket.add(result);
1788
1965
  }
1966
+ index++;
1789
1967
  }
1790
- async function* uniqByIterable(iterable) {
1791
- const bucket = new Set();
1792
- let index = 0;
1793
- for (const element of iterable) {
1794
- const result = await fn(element, index);
1795
- if (!bucket.has(result)) {
1796
- yield element;
1797
- bucket.add(result);
1798
- }
1799
- index++;
1968
+ }
1969
+ async function* uniqByIterable(iterable, fn) {
1970
+ const bucket = new Set();
1971
+ let index = 0;
1972
+ for (const element of iterable) {
1973
+ const result = await fn(element, index);
1974
+ if (!bucket.has(result)) {
1975
+ yield element;
1976
+ bucket.add(result);
1800
1977
  }
1978
+ index++;
1801
1979
  }
1802
1980
  }
1803
- uniqByAsync$1.uniqByAsync = uniqByAsync;
1804
1981
 
1805
1982
  var uniqBy$1 = {};
1806
1983
 
@@ -1836,7 +2013,7 @@
1836
2013
  var zipAsync$1 = {};
1837
2014
 
1838
2015
  zipAsync$1.zipAsync = void 0;
1839
- const types_1$9 = es2018$4;
2016
+ const types_1$b = es2018$6;
1840
2017
  var Kind;
1841
2018
  (function (Kind) {
1842
2019
  Kind[Kind["Sync"] = 0] = "Sync";
@@ -1850,7 +2027,7 @@
1850
2027
  var _a, _b, _c, _d;
1851
2028
  const length = iterables.length;
1852
2029
  const iterators = iterables.map(iterable => {
1853
- if ((0, types_1$9.isAsyncIterable)(iterable)) {
2030
+ if ((0, types_1$b.isAsyncIterable)(iterable)) {
1854
2031
  return [Kind.Async, iterable[Symbol.asyncIterator]()];
1855
2032
  }
1856
2033
  else {
@@ -2000,30 +2177,30 @@
2000
2177
  var eachAsync$1 = {};
2001
2178
 
2002
2179
  eachAsync$1.eachAsync = void 0;
2003
- const types_1$8 = es2018$4;
2180
+ const types_1$a = es2018$6;
2004
2181
  function eachAsync(iterable, fn) {
2005
- if ((0, types_1$8.isAsyncIterable)(iterable)) {
2006
- return eachAsyncIterable(iterable);
2182
+ if ((0, types_1$a.isAsyncIterable)(iterable)) {
2183
+ return eachAsyncIterable(iterable, fn);
2007
2184
  }
2008
2185
  else {
2009
- return eachIterable(iterable);
2186
+ return eachIterable(iterable, fn);
2010
2187
  }
2011
- async function eachAsyncIterable(iterable) {
2012
- let index = 0;
2013
- for await (const element of iterable) {
2014
- await fn(element, index);
2015
- index++;
2016
- }
2188
+ }
2189
+ eachAsync$1.eachAsync = eachAsync;
2190
+ async function eachAsyncIterable(iterable, fn) {
2191
+ let index = 0;
2192
+ for await (const element of iterable) {
2193
+ await fn(element, index);
2194
+ index++;
2017
2195
  }
2018
- async function eachIterable(iterable) {
2019
- let index = 0;
2020
- for (const element of iterable) {
2021
- await fn(element, index);
2022
- index++;
2023
- }
2196
+ }
2197
+ async function eachIterable(iterable, fn) {
2198
+ let index = 0;
2199
+ for (const element of iterable) {
2200
+ await fn(element, index);
2201
+ index++;
2024
2202
  }
2025
2203
  }
2026
- eachAsync$1.eachAsync = eachAsync;
2027
2204
 
2028
2205
  var each$1 = {};
2029
2206
 
@@ -2040,34 +2217,34 @@
2040
2217
  var everyAsync$1 = {};
2041
2218
 
2042
2219
  everyAsync$1.everyAsync = void 0;
2043
- const types_1$7 = es2018$4;
2220
+ const types_1$9 = es2018$6;
2044
2221
  function everyAsync(iterable, predicate) {
2045
- if ((0, types_1$7.isAsyncIterable)(iterable)) {
2046
- return everyAsyncIterable(iterable);
2222
+ if ((0, types_1$9.isAsyncIterable)(iterable)) {
2223
+ return everyAsyncIterable(iterable, predicate);
2047
2224
  }
2048
2225
  else {
2049
- return everyIterable(iterable);
2226
+ return everyIterable(iterable, predicate);
2050
2227
  }
2051
- async function everyIterable(iterable) {
2052
- let index = 0;
2053
- for (const element of iterable) {
2054
- if (!await predicate(element, index))
2055
- return false;
2056
- index++;
2057
- }
2058
- return true;
2228
+ }
2229
+ everyAsync$1.everyAsync = everyAsync;
2230
+ async function everyIterable(iterable, predicate) {
2231
+ let index = 0;
2232
+ for (const element of iterable) {
2233
+ if (!await predicate(element, index))
2234
+ return false;
2235
+ index++;
2059
2236
  }
2060
- async function everyAsyncIterable(iterable) {
2061
- let index = 0;
2062
- for await (const element of iterable) {
2063
- if (!await predicate(element, index))
2064
- return false;
2065
- index++;
2066
- }
2067
- return true;
2237
+ return true;
2238
+ }
2239
+ async function everyAsyncIterable(iterable, predicate) {
2240
+ let index = 0;
2241
+ for await (const element of iterable) {
2242
+ if (!await predicate(element, index))
2243
+ return false;
2244
+ index++;
2068
2245
  }
2246
+ return true;
2069
2247
  }
2070
- everyAsync$1.everyAsync = everyAsync;
2071
2248
 
2072
2249
  var every$1 = {};
2073
2250
 
@@ -2086,34 +2263,34 @@
2086
2263
  var findAsync$1 = {};
2087
2264
 
2088
2265
  findAsync$1.findAsync = void 0;
2089
- const types_1$6 = es2018$4;
2266
+ const types_1$8 = es2018$6;
2090
2267
  function findAsync(iterable, predicate) {
2091
- if ((0, types_1$6.isAsyncIterable)(iterable)) {
2092
- return findAsyncIterable(iterable);
2268
+ if ((0, types_1$8.isAsyncIterable)(iterable)) {
2269
+ return findAsyncIterable(iterable, predicate);
2093
2270
  }
2094
2271
  else {
2095
- return findIterable(iterable);
2272
+ return findIterable(iterable, predicate);
2096
2273
  }
2097
- async function findIterable(iterable) {
2098
- let index = 0;
2099
- for (const element of iterable) {
2100
- if (await predicate(element, index))
2101
- return element;
2102
- index++;
2103
- }
2104
- return undefined;
2274
+ }
2275
+ findAsync$1.findAsync = findAsync;
2276
+ async function findIterable(iterable, predicate) {
2277
+ let index = 0;
2278
+ for (const element of iterable) {
2279
+ if (await predicate(element, index))
2280
+ return element;
2281
+ index++;
2105
2282
  }
2106
- async function findAsyncIterable(iterable) {
2107
- let index = 0;
2108
- for await (const element of iterable) {
2109
- if (await predicate(element, index))
2110
- return element;
2111
- index++;
2112
- }
2113
- return undefined;
2283
+ return undefined;
2284
+ }
2285
+ async function findAsyncIterable(iterable, predicate) {
2286
+ let index = 0;
2287
+ for await (const element of iterable) {
2288
+ if (await predicate(element, index))
2289
+ return element;
2290
+ index++;
2114
2291
  }
2292
+ return undefined;
2115
2293
  }
2116
- findAsync$1.findAsync = findAsync;
2117
2294
 
2118
2295
  var find$1 = {};
2119
2296
 
@@ -2210,9 +2387,9 @@
2210
2387
  var reduceAsync$1 = {};
2211
2388
 
2212
2389
  reduceAsync$1.reduceAsync = void 0;
2213
- const types_1$5 = es2018$4;
2390
+ const types_1$7 = es2018$6;
2214
2391
  function reduceAsync(iterable, fn, initialValue) {
2215
- if ((0, types_1$5.isUndefined)(initialValue)) {
2392
+ if ((0, types_1$7.isUndefined)(initialValue)) {
2216
2393
  return reduceAsyncWithoutInitialValue(iterable, fn);
2217
2394
  }
2218
2395
  else {
@@ -2221,7 +2398,7 @@
2221
2398
  }
2222
2399
  reduceAsync$1.reduceAsync = reduceAsync;
2223
2400
  function reduceAsyncWithInitialValue(iterable, fn, initialValue) {
2224
- if ((0, types_1$5.isAsyncIterable)(iterable)) {
2401
+ if ((0, types_1$7.isAsyncIterable)(iterable)) {
2225
2402
  return reduceAsyncIterable(iterable);
2226
2403
  }
2227
2404
  else {
@@ -2243,7 +2420,7 @@
2243
2420
  }
2244
2421
  }
2245
2422
  function reduceAsyncWithoutInitialValue(iterable, fn) {
2246
- if ((0, types_1$5.isAsyncIterable)(iterable)) {
2423
+ if ((0, types_1$7.isAsyncIterable)(iterable)) {
2247
2424
  return reduceAsyncIterable(iterable);
2248
2425
  }
2249
2426
  else {
@@ -2306,9 +2483,9 @@
2306
2483
  var reduce$1 = {};
2307
2484
 
2308
2485
  reduce$1.reduce = void 0;
2309
- const types_1$4 = es2018$4;
2486
+ const types_1$6 = es2018$6;
2310
2487
  function reduce(iterable, fn, initialValue) {
2311
- if ((0, types_1$4.isUndefined)(initialValue)) {
2488
+ if ((0, types_1$6.isUndefined)(initialValue)) {
2312
2489
  return reduceWithoutInitialValue(iterable, fn);
2313
2490
  }
2314
2491
  else {
@@ -2353,34 +2530,34 @@
2353
2530
  var someAsync$1 = {};
2354
2531
 
2355
2532
  someAsync$1.someAsync = void 0;
2356
- const types_1$3 = es2018$4;
2533
+ const types_1$5 = es2018$6;
2357
2534
  function someAsync(iterable, predicate) {
2358
- if ((0, types_1$3.isAsyncIterable)(iterable)) {
2359
- return someAsyncIterable(iterable);
2535
+ if ((0, types_1$5.isAsyncIterable)(iterable)) {
2536
+ return someAsyncIterable(iterable, predicate);
2360
2537
  }
2361
2538
  else {
2362
- return someIterable(iterable);
2539
+ return someIterable(iterable, predicate);
2363
2540
  }
2364
- async function someIterable(iterable) {
2365
- let index = 0;
2366
- for (const element of iterable) {
2367
- if (await predicate(element, index))
2368
- return true;
2369
- index++;
2370
- }
2371
- return false;
2541
+ }
2542
+ someAsync$1.someAsync = someAsync;
2543
+ async function someIterable(iterable, predicate) {
2544
+ let index = 0;
2545
+ for (const element of iterable) {
2546
+ if (await predicate(element, index))
2547
+ return true;
2548
+ index++;
2372
2549
  }
2373
- async function someAsyncIterable(iterable) {
2374
- let index = 0;
2375
- for await (const element of iterable) {
2376
- if (await predicate(element, index))
2377
- return true;
2378
- index++;
2379
- }
2380
- return false;
2550
+ return false;
2551
+ }
2552
+ async function someAsyncIterable(iterable, predicate) {
2553
+ let index = 0;
2554
+ for await (const element of iterable) {
2555
+ if (await predicate(element, index))
2556
+ return true;
2557
+ index++;
2381
2558
  }
2559
+ return false;
2382
2560
  }
2383
- someAsync$1.someAsync = someAsync;
2384
2561
 
2385
2562
  var some$1 = {};
2386
2563
 
@@ -2488,6 +2665,64 @@
2488
2665
  }
2489
2666
  toSet$1.toSet = toSet;
2490
2667
 
2668
+ var count$1 = {};
2669
+
2670
+ count$1.count = void 0;
2671
+ function count(iterable) {
2672
+ let count = 0;
2673
+ for (const _ of iterable) {
2674
+ count++;
2675
+ }
2676
+ return count;
2677
+ }
2678
+ count$1.count = count;
2679
+
2680
+ var countAsync$1 = {};
2681
+
2682
+ countAsync$1.countAsync = void 0;
2683
+ async function countAsync(iterable) {
2684
+ let count = 0;
2685
+ for await (const _ of iterable) {
2686
+ count++;
2687
+ }
2688
+ return count;
2689
+ }
2690
+ countAsync$1.countAsync = countAsync;
2691
+
2692
+ var groupBy$1 = {};
2693
+
2694
+ groupBy$1.groupBy = void 0;
2695
+ const each_1 = each$1;
2696
+ function groupBy(iterable, fn) {
2697
+ const map = new Map();
2698
+ (0, each_1.each)(iterable, (element, index) => {
2699
+ const group = fn(element, index);
2700
+ if (!map.has(group)) {
2701
+ map.set(group, []);
2702
+ }
2703
+ map.get(group).push(element);
2704
+ });
2705
+ return map;
2706
+ }
2707
+ groupBy$1.groupBy = groupBy;
2708
+
2709
+ var groupByAsync$1 = {};
2710
+
2711
+ groupByAsync$1.groupByAsync = void 0;
2712
+ const each_async_1 = eachAsync$1;
2713
+ async function groupByAsync(iterable, fn) {
2714
+ const map = new Map();
2715
+ await (0, each_async_1.eachAsync)(iterable, async (element, index) => {
2716
+ const group = await fn(element, index);
2717
+ if (!map.has(group)) {
2718
+ map.set(group, []);
2719
+ }
2720
+ map.get(group).push(element);
2721
+ });
2722
+ return map;
2723
+ }
2724
+ groupByAsync$1.groupByAsync = groupByAsync;
2725
+
2491
2726
  (function (exports) {
2492
2727
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
2493
2728
  if (k2 === undefined) k2 = k;
@@ -2525,6 +2760,10 @@
2525
2760
  __exportStar(toArray$1, exports);
2526
2761
  __exportStar(toSetAsync$1, exports);
2527
2762
  __exportStar(toSet$1, exports);
2763
+ __exportStar(count$1, exports);
2764
+ __exportStar(countAsync$1, exports);
2765
+ __exportStar(groupBy$1, exports);
2766
+ __exportStar(groupByAsync$1, exports);
2528
2767
 
2529
2768
  }(output));
2530
2769
 
@@ -2545,7 +2784,7 @@
2545
2784
  };__exportStar(middleware, exports);
2546
2785
  __exportStar(output, exports);
2547
2786
 
2548
- }(es2018$2));
2787
+ }(es2018$a));
2549
2788
 
2550
2789
  var getErrorNames$1 = {};
2551
2790
 
@@ -2563,11 +2802,11 @@
2563
2802
  traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
2564
2803
 
2565
2804
  getErrorNames$1.getErrorNames = void 0;
2566
- const types_1$2 = es2018$4;
2805
+ const types_1$4 = es2018$6;
2567
2806
  const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
2568
2807
  function* getErrorNames(err) {
2569
2808
  var _a;
2570
- if ((0, types_1$2.isError)(err)) {
2809
+ if ((0, types_1$4.isError)(err)) {
2571
2810
  for (const prototype of (0, traverse_error_prototype_chain_1.traverseErrorPrototypeChain)(err)) {
2572
2811
  if ((_a = prototype.constructor) === null || _a === void 0 ? void 0 : _a.name) {
2573
2812
  yield prototype.constructor.name;
@@ -2584,20 +2823,20 @@
2584
2823
  var serializableError = {};
2585
2824
 
2586
2825
  serializableError.isSerializableError = void 0;
2587
- const types_1$1 = es2018$4;
2826
+ const types_1$3 = es2018$6;
2588
2827
  function isSerializableError(val) {
2589
- return (0, types_1$1.isObject)(val)
2590
- && (0, types_1$1.isString)(val.name)
2591
- && (0, types_1$1.isString)(val.message)
2592
- && ((0, types_1$1.isString)(val.stack) || (0, types_1$1.isNull)(val.stack))
2593
- && ((0, types_1$1.isArray)(val.ancestors) && val.ancestors.every(types_1$1.isString));
2828
+ return (0, types_1$3.isObject)(val)
2829
+ && (0, types_1$3.isString)(val.name)
2830
+ && (0, types_1$3.isString)(val.message)
2831
+ && ((0, types_1$3.isString)(val.stack) || (0, types_1$3.isNull)(val.stack))
2832
+ && ((0, types_1$3.isArray)(val.ancestors) && val.ancestors.every(types_1$3.isString));
2594
2833
  }
2595
2834
  serializableError.isSerializableError = isSerializableError;
2596
2835
 
2597
2836
  customError.CustomError = void 0;
2598
- const iterable_operator_1$1 = es2018$2;
2837
+ const iterable_operator_1$1 = es2018$a;
2599
2838
  const get_error_names_1$1 = getErrorNames$1;
2600
- const types_1 = es2018$4;
2839
+ const types_1$2 = es2018$6;
2601
2840
  const serializable_error_1 = serializableError;
2602
2841
  class CustomError extends Error {
2603
2842
  get name() {
@@ -2606,7 +2845,7 @@
2606
2845
  }
2607
2846
  static [Symbol.hasInstance](instance) {
2608
2847
  var _a;
2609
- if ((0, types_1.isError)(instance) || (0, serializable_error_1.isSerializableError)(instance)) {
2848
+ if ((0, types_1$2.isError)(instance) || (0, serializable_error_1.isSerializableError)(instance)) {
2610
2849
  const reversedClassNames = [
2611
2850
  (_a = this.prototype.constructor.name) !== null && _a !== void 0 ? _a : this.name,
2612
2851
  ...(0, get_error_names_1$1.getErrorNames)(this.prototype)
@@ -2633,7 +2872,7 @@
2633
2872
 
2634
2873
  normalize$1.normalize = void 0;
2635
2874
  const get_error_names_1 = getErrorNames$1;
2636
- const iterable_operator_1 = es2018$2;
2875
+ const iterable_operator_1 = es2018$a;
2637
2876
  function normalize(err) {
2638
2877
  var _a;
2639
2878
  const [name, ...ancestors] = (0, iterable_operator_1.toArray)((0, get_error_names_1.getErrorNames)(err));
@@ -2648,13 +2887,13 @@
2648
2887
 
2649
2888
  var hydrate$1 = {};
2650
2889
 
2651
- var es2018 = {};
2890
+ var es2018$5 = {};
2652
2891
 
2653
- var pass$1 = {};
2892
+ var pass$3 = {};
2654
2893
 
2655
- pass$1.pass = void 0;
2656
- function pass() { }
2657
- pass$1.pass = pass;
2894
+ pass$3.pass = void 0;
2895
+ function pass$2() { }
2896
+ pass$3.pass = pass$2;
2658
2897
 
2659
2898
  (function (exports) {
2660
2899
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -2666,12 +2905,12 @@
2666
2905
  }));
2667
2906
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
2668
2907
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
2669
- };__exportStar(pass$1, exports);
2908
+ };__exportStar(pass$3, exports);
2670
2909
 
2671
- }(es2018));
2910
+ }(es2018$5));
2672
2911
 
2673
2912
  hydrate$1.hydrate = void 0;
2674
- const pass_1 = es2018;
2913
+ const pass_1 = es2018$5;
2675
2914
  function hydrate(err) {
2676
2915
  var _a;
2677
2916
  const errorNames = [err.name, ...err.ancestors]
@@ -2729,98 +2968,969 @@
2729
2968
  __exportStar(getErrorNames$1, exports);
2730
2969
  __exportStar(traverseErrorPrototypeChain$1, exports);
2731
2970
 
2732
- }(es2018$3));
2971
+ }(es2018$b));
2733
2972
 
2734
- function csv(payload) {
2735
- es2018$3.assert(payload.length > 0, 'payload must be a non-empty array');
2736
- return (options) => {
2737
- const headers = new es2018$5.Headers(options.headers);
2738
- headers.set('Content-Type', 'text/csv');
2739
- return {
2740
- ...options,
2741
- headers,
2742
- payload: stringify(payload)
2743
- };
2744
- };
2745
- }
2746
- function stringify(data) {
2747
- const fields = Object.keys(data[0]);
2748
- return papaparse_min.exports.unparse({ data, fields });
2749
- }
2973
+ var es2018$4 = {};
2750
2974
 
2751
- function signal(signal) {
2752
- return (options) => {
2753
- return {
2754
- ...options,
2755
- signal
2756
- };
2757
- };
2758
- }
2975
+ var log$1 = {};
2759
2976
 
2760
- function header(name, value) {
2761
- return (options) => {
2762
- const headers = new es2018$5.Headers(options.headers);
2763
- headers.set(name, value);
2764
- return {
2765
- ...options,
2766
- headers
2767
- };
2768
- };
2977
+ log$1.log = void 0;
2978
+ function log(...data) {
2979
+ console.log(...data);
2980
+ return data[data.length - 1];
2769
2981
  }
2982
+ log$1.log = log;
2770
2983
 
2771
- function appendHeader(name, value) {
2772
- return (options) => {
2773
- const headers = new es2018$5.Headers(options.headers);
2774
- headers.append(name, value);
2775
- return {
2776
- ...options,
2777
- headers
2778
- };
2779
- };
2780
- }
2984
+ var time$1 = {};
2781
2985
 
2782
- function headers(headers) {
2783
- return (options) => {
2784
- const newHeaders = new es2018$5.Headers(options.headers);
2785
- for (const [name, value] of Object.entries(headers)) {
2786
- newHeaders.set(name, value);
2787
- }
2788
- return {
2789
- ...options,
2790
- headers: newHeaders
2791
- };
2792
- };
2793
- }
2986
+ var highResolutionTimestamp_browser = {};
2794
2987
 
2795
- function accept(accept) {
2796
- return appendHeader('Accept', accept);
2988
+ highResolutionTimestamp_browser.elapsed = highResolutionTimestamp_browser.now = void 0;
2989
+ function now() {
2990
+ return performance.now();
2797
2991
  }
2992
+ highResolutionTimestamp_browser.now = now;
2993
+ function elapsed(startTime, endTime) {
2994
+ return `${endTime - startTime}ms`;
2995
+ }
2996
+ highResolutionTimestamp_browser.elapsed = elapsed;
2798
2997
 
2799
- function host(host) {
2800
- return (options) => {
2801
- const url = new URL(options.url.href);
2802
- url.host = host;
2803
- return {
2804
- ...options,
2805
- url
2806
- };
2807
- };
2998
+ var es2018$3 = {};
2999
+
3000
+ var array = {};
3001
+
3002
+ array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
3003
+ function isArray(val) {
3004
+ return Array.isArray(val);
3005
+ }
3006
+ array.isArray = isArray;
3007
+ function isntArray(val) {
3008
+ return !isArray(val);
3009
+ }
3010
+ array.isntArray = isntArray;
3011
+ function isEmptyArray(val) {
3012
+ return val.length === 0;
3013
+ }
3014
+ array.isEmptyArray = isEmptyArray;
3015
+ function isntEmptyArray(val) {
3016
+ return val.length !== 0;
2808
3017
  }
3018
+ array.isntEmptyArray = isntEmptyArray;
2809
3019
 
2810
- function port(port) {
2811
- return (options) => {
2812
- const url = new URL(options.url.href);
2813
- url.port = port.toString();
2814
- return {
2815
- ...options,
2816
- url
2817
- };
2818
- };
3020
+ var asyncIterable = {};
3021
+
3022
+ var _null = {};
3023
+
3024
+ _null.isntNull = _null.isNull = void 0;
3025
+ function isNull(val) {
3026
+ return val === null;
2819
3027
  }
3028
+ _null.isNull = isNull;
3029
+ function isntNull(val) {
3030
+ return !isNull(val);
3031
+ }
3032
+ _null.isntNull = isntNull;
2820
3033
 
2821
- function pathname(pathname) {
2822
- return (options) => {
2823
- const url = new URL(options.url.href);
3034
+ var _undefined = {};
3035
+
3036
+ _undefined.isntUndefined = _undefined.isUndefined = void 0;
3037
+ function isUndefined(val) {
3038
+ return val === undefined;
3039
+ }
3040
+ _undefined.isUndefined = isUndefined;
3041
+ function isntUndefined(val) {
3042
+ return !isUndefined(val);
3043
+ }
3044
+ _undefined.isntUndefined = isntUndefined;
3045
+
3046
+ var _function = {};
3047
+
3048
+ _function.isntFunction = _function.isFunction = void 0;
3049
+ function isFunction(val) {
3050
+ return typeof val === 'function';
3051
+ }
3052
+ _function.isFunction = isFunction;
3053
+ function isntFunction(val) {
3054
+ return !isFunction(val);
3055
+ }
3056
+ _function.isntFunction = isntFunction;
3057
+
3058
+ asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
3059
+ const null_1$2 = _null;
3060
+ const undefined_1$1 = _undefined;
3061
+ const function_1$2 = _function;
3062
+ function isAsyncIterable(val) {
3063
+ return (0, null_1$2.isntNull)(val)
3064
+ && (0, undefined_1$1.isntUndefined)(val)
3065
+ && (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
3066
+ }
3067
+ asyncIterable.isAsyncIterable = isAsyncIterable;
3068
+ function isntAsyncIterable(val) {
3069
+ return !isAsyncIterable(val);
3070
+ }
3071
+ asyncIterable.isntAsyncIterable = isntAsyncIterable;
3072
+
3073
+ var bigint = {};
3074
+
3075
+ bigint.isntBigInt = bigint.isBigInt = void 0;
3076
+ function isBigInt(val) {
3077
+ return typeof val === 'bigint';
3078
+ }
3079
+ bigint.isBigInt = isBigInt;
3080
+ function isntBigInt(val) {
3081
+ return !isBigInt(val);
3082
+ }
3083
+ bigint.isntBigInt = isntBigInt;
3084
+
3085
+ var boolean = {};
3086
+
3087
+ boolean.isntBoolean = boolean.isBoolean = void 0;
3088
+ function isBoolean(val) {
3089
+ return typeof val === 'boolean';
3090
+ }
3091
+ boolean.isBoolean = isBoolean;
3092
+ function isntBoolean(val) {
3093
+ return !isBoolean(val);
3094
+ }
3095
+ boolean.isntBoolean = isntBoolean;
3096
+
3097
+ var char = {};
3098
+
3099
+ var string = {};
3100
+
3101
+ string.isntString = string.isString = void 0;
3102
+ function isString(val) {
3103
+ return typeof val === 'string';
3104
+ }
3105
+ string.isString = isString;
3106
+ function isntString(val) {
3107
+ return !isString(val);
3108
+ }
3109
+ string.isntString = isntString;
3110
+
3111
+ char.isntChar = char.isChar = void 0;
3112
+ const string_1$1 = string;
3113
+ function isChar(val) {
3114
+ return (0, string_1$1.isString)(val)
3115
+ && val.length === 1;
3116
+ }
3117
+ char.isChar = isChar;
3118
+ function isntChar(val) {
3119
+ return !isChar(val);
3120
+ }
3121
+ char.isntChar = isntChar;
3122
+
3123
+ var date = {};
3124
+
3125
+ date.isntDate = date.isDate = void 0;
3126
+ function isDate(val) {
3127
+ return val instanceof Date;
3128
+ }
3129
+ date.isDate = isDate;
3130
+ function isntDate(val) {
3131
+ return !isDate(val);
3132
+ }
3133
+ date.isntDate = isntDate;
3134
+
3135
+ var _enum = {};
3136
+
3137
+ _enum.inEnum = void 0;
3138
+ function inEnum(val, _enum) {
3139
+ return Object.values(_enum).includes(val);
3140
+ }
3141
+ _enum.inEnum = inEnum;
3142
+
3143
+ var error = {};
3144
+
3145
+ error.isntError = error.isError = void 0;
3146
+ function isError(val) {
3147
+ return val instanceof Error;
3148
+ }
3149
+ error.isError = isError;
3150
+ function isntError(val) {
3151
+ return !isError(val);
3152
+ }
3153
+ error.isntError = isntError;
3154
+
3155
+ var falsy = {};
3156
+
3157
+ falsy.isntFalsy = falsy.isFalsy = void 0;
3158
+ function isFalsy(val) {
3159
+ return !val;
3160
+ }
3161
+ falsy.isFalsy = isFalsy;
3162
+ function isntFalsy(val) {
3163
+ return !isFalsy(val);
3164
+ }
3165
+ falsy.isntFalsy = isntFalsy;
3166
+
3167
+ var iterable = {};
3168
+
3169
+ iterable.isntIterable = iterable.isIterable = void 0;
3170
+ const null_1$1 = _null;
3171
+ const undefined_1 = _undefined;
3172
+ const function_1$1 = _function;
3173
+ function isIterable(val) {
3174
+ return (0, null_1$1.isntNull)(val)
3175
+ && (0, undefined_1.isntUndefined)(val)
3176
+ && (0, function_1$1.isFunction)(val[Symbol.iterator]);
3177
+ }
3178
+ iterable.isIterable = isIterable;
3179
+ function isntIterable(val) {
3180
+ return !isIterable(val);
3181
+ }
3182
+ iterable.isntIterable = isntIterable;
3183
+
3184
+ var json$1 = {};
3185
+
3186
+ var number = {};
3187
+
3188
+ number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
3189
+ function isNumber(val) {
3190
+ return typeof val === 'number';
3191
+ }
3192
+ number.isNumber = isNumber;
3193
+ function isntNumber(val) {
3194
+ return !isNumber(val);
3195
+ }
3196
+ number.isntNumber = isntNumber;
3197
+ function isFinite(val) {
3198
+ return Number.isFinite(val);
3199
+ }
3200
+ number.isFinite = isFinite;
3201
+ function isPositiveInfinity(val) {
3202
+ return val === Infinity;
3203
+ }
3204
+ number.isPositiveInfinity = isPositiveInfinity;
3205
+ function isNegativeInfinity(val) {
3206
+ return val === -Infinity;
3207
+ }
3208
+ number.isNegativeInfinity = isNegativeInfinity;
3209
+ function isNaN(val) {
3210
+ return Number.isNaN(val);
3211
+ }
3212
+ number.isNaN = isNaN;
3213
+ function isntNaN(val) {
3214
+ return !isNaN(val);
3215
+ }
3216
+ number.isntNaN = isntNaN;
3217
+
3218
+ var object = {};
3219
+
3220
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
3221
+ return (mod && mod.__esModule) ? mod : { "default": mod };
3222
+ };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
3223
+ const isPlainObject_1 = __importDefault(isPlainObject_1$2);
3224
+ function isObject(val) {
3225
+ return val !== null
3226
+ && typeof val === 'object';
3227
+ }
3228
+ object.isObject = isObject;
3229
+ function isntObject(val) {
3230
+ return !isObject(val);
3231
+ }
3232
+ object.isntObject = isntObject;
3233
+ function isPlainObject(val) {
3234
+ return (0, isPlainObject_1.default)(val);
3235
+ }
3236
+ object.isPlainObject = isPlainObject;
3237
+ function isntPlainObject(val) {
3238
+ return !isPlainObject(val);
3239
+ }
3240
+ object.isntPlainObject = isntPlainObject;
3241
+ function isEmptyObject(val) {
3242
+ return Object.keys(val).length === 0;
3243
+ }
3244
+ object.isEmptyObject = isEmptyObject;
3245
+ function isntEmptyObject(val) {
3246
+ return Object.keys(val).length !== 0;
3247
+ }
3248
+ object.isntEmptyObject = isntEmptyObject;
3249
+
3250
+ json$1.isntJsonable = json$1.isJsonable = json$1.isntJson = json$1.isJson = void 0;
3251
+ const null_1 = _null;
3252
+ const boolean_1 = boolean;
3253
+ const string_1 = string;
3254
+ const number_1 = number;
3255
+ const array_1 = array;
3256
+ const object_1$1 = object;
3257
+ function isJson(val) {
3258
+ return (0, null_1.isNull)(val)
3259
+ || (0, boolean_1.isBoolean)(val)
3260
+ || (0, string_1.isString)(val)
3261
+ || (0, number_1.isNumber)(val)
3262
+ || ((0, array_1.isArray)(val) && val.every(isJson))
3263
+ || ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
3264
+ }
3265
+ json$1.isJson = isJson;
3266
+ function isntJson(val) {
3267
+ return !isJson(val);
3268
+ }
3269
+ json$1.isntJson = isntJson;
3270
+ function isJsonable(val) {
3271
+ try {
3272
+ JSON.stringify(val);
3273
+ return true;
3274
+ }
3275
+ catch (_a) {
3276
+ return false;
3277
+ }
3278
+ }
3279
+ json$1.isJsonable = isJsonable;
3280
+ function isntJsonable(val) {
3281
+ return !isntJsonable();
3282
+ }
3283
+ json$1.isntJsonable = isntJsonable;
3284
+
3285
+ var promise = {};
3286
+
3287
+ promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
3288
+ const object_1 = object;
3289
+ const function_1 = _function;
3290
+ function isPromise(val) {
3291
+ return val instanceof Promise;
3292
+ }
3293
+ promise.isPromise = isPromise;
3294
+ function isntPromise(val) {
3295
+ return !isPromise(val);
3296
+ }
3297
+ promise.isntPromise = isntPromise;
3298
+ function isntPromiseLike(val) {
3299
+ return !isPromiseLike(val);
3300
+ }
3301
+ promise.isntPromiseLike = isntPromiseLike;
3302
+ function isPromiseLike(val) {
3303
+ return (0, object_1.isObject)(val)
3304
+ && (0, function_1.isFunction)(val.then);
3305
+ }
3306
+ promise.isPromiseLike = isPromiseLike;
3307
+
3308
+ var url$1 = {};
3309
+
3310
+ url$1.isAbsoluteURL = void 0;
3311
+ function isAbsoluteURL(str) {
3312
+ try {
3313
+ new URL(str);
3314
+ return true;
3315
+ }
3316
+ catch (_a) {
3317
+ return false;
3318
+ }
3319
+ }
3320
+ url$1.isAbsoluteURL = isAbsoluteURL;
3321
+
3322
+ var regexp = {};
3323
+
3324
+ regexp.isntRegExp = regexp.isRegExp = void 0;
3325
+ function isRegExp(val) {
3326
+ return val instanceof RegExp;
3327
+ }
3328
+ regexp.isRegExp = isRegExp;
3329
+ function isntRegExp(val) {
3330
+ return !isRegExp(val);
3331
+ }
3332
+ regexp.isntRegExp = isntRegExp;
3333
+
3334
+ var symbol = {};
3335
+
3336
+ symbol.isntSymbol = symbol.isSymbol = void 0;
3337
+ function isSymbol(val) {
3338
+ return typeof val === 'symbol';
3339
+ }
3340
+ symbol.isSymbol = isSymbol;
3341
+ function isntSymbol(val) {
3342
+ return !isSymbol(val);
3343
+ }
3344
+ symbol.isntSymbol = isntSymbol;
3345
+
3346
+ (function (exports) {
3347
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3348
+ if (k2 === undefined) k2 = k;
3349
+ var desc = Object.getOwnPropertyDescriptor(m, k);
3350
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
3351
+ desc = { enumerable: true, get: function() { return m[k]; } };
3352
+ }
3353
+ Object.defineProperty(o, k2, desc);
3354
+ }) : (function(o, m, k, k2) {
3355
+ if (k2 === undefined) k2 = k;
3356
+ o[k2] = m[k];
3357
+ }));
3358
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
3359
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3360
+ };__exportStar(array, exports);
3361
+ __exportStar(asyncIterable, exports);
3362
+ __exportStar(bigint, exports);
3363
+ __exportStar(boolean, exports);
3364
+ __exportStar(char, exports);
3365
+ __exportStar(date, exports);
3366
+ __exportStar(_enum, exports);
3367
+ __exportStar(error, exports);
3368
+ __exportStar(falsy, exports);
3369
+ __exportStar(_function, exports);
3370
+ __exportStar(iterable, exports);
3371
+ __exportStar(json$1, exports);
3372
+ __exportStar(_null, exports);
3373
+ __exportStar(number, exports);
3374
+ __exportStar(object, exports);
3375
+ __exportStar(promise, exports);
3376
+ __exportStar(string, exports);
3377
+ __exportStar(_undefined, exports);
3378
+ __exportStar(url$1, exports);
3379
+ __exportStar(regexp, exports);
3380
+ __exportStar(symbol, exports);
3381
+
3382
+ }(es2018$3));
3383
+
3384
+ time$1.time = void 0;
3385
+ const high_resolution_timestamp_1$2 = highResolutionTimestamp_browser;
3386
+ const types_1$1 = es2018$3;
3387
+ function time(message, fn) {
3388
+ const startTime = (0, high_resolution_timestamp_1$2.now)();
3389
+ const result = fn();
3390
+ if ((0, types_1$1.isPromiseLike)(result)) {
3391
+ return result.then(() => {
3392
+ const endTime = (0, high_resolution_timestamp_1$2.now)();
3393
+ console.log(message, (0, high_resolution_timestamp_1$2.elapsed)(startTime, endTime));
3394
+ return result;
3395
+ });
3396
+ }
3397
+ else {
3398
+ const endTime = (0, high_resolution_timestamp_1$2.now)();
3399
+ console.log(message, (0, high_resolution_timestamp_1$2.elapsed)(startTime, endTime));
3400
+ return result;
3401
+ }
3402
+ }
3403
+ time$1.time = time;
3404
+
3405
+ var timeFunction$1 = {};
3406
+
3407
+ timeFunction$1.timeFunction = void 0;
3408
+ const high_resolution_timestamp_1$1 = highResolutionTimestamp_browser;
3409
+ function timeFunction(message, fn) {
3410
+ return function (...args) {
3411
+ const startTime = (0, high_resolution_timestamp_1$1.now)();
3412
+ const result = fn(...args);
3413
+ const endTime = (0, high_resolution_timestamp_1$1.now)();
3414
+ console.log(message, (0, high_resolution_timestamp_1$1.elapsed)(startTime, endTime));
3415
+ return result;
3416
+ };
3417
+ }
3418
+ timeFunction$1.timeFunction = timeFunction;
3419
+
3420
+ var timeAsyncFunction$1 = {};
3421
+
3422
+ timeAsyncFunction$1.timeAsyncFunction = void 0;
3423
+ const high_resolution_timestamp_1 = highResolutionTimestamp_browser;
3424
+ function timeAsyncFunction(message, fn) {
3425
+ return async function (...args) {
3426
+ const startTime = (0, high_resolution_timestamp_1.now)();
3427
+ const result = await fn(...args);
3428
+ const endTime = (0, high_resolution_timestamp_1.now)();
3429
+ console.log(message, (0, high_resolution_timestamp_1.elapsed)(startTime, endTime));
3430
+ return result;
3431
+ };
3432
+ }
3433
+ timeAsyncFunction$1.timeAsyncFunction = timeAsyncFunction;
3434
+
3435
+ var group$1 = {};
3436
+
3437
+ var es2018$2 = {};
3438
+
3439
+ var go$1 = {};
3440
+
3441
+ go$1.go = void 0;
3442
+ function go(fn) {
3443
+ return fn();
3444
+ }
3445
+ go$1.go = go;
3446
+
3447
+ var goMicrotask$1 = {};
3448
+
3449
+ goMicrotask$1.goMicrotask = void 0;
3450
+ function goMicrotask(fn) {
3451
+ return new Promise((resolve, reject) => {
3452
+ queueMicrotask(async () => {
3453
+ try {
3454
+ resolve(await fn());
3455
+ }
3456
+ catch (e) {
3457
+ reject(e);
3458
+ }
3459
+ });
3460
+ });
3461
+ }
3462
+ goMicrotask$1.goMicrotask = goMicrotask;
3463
+
3464
+ var goMacrotask$1 = {};
3465
+
3466
+ goMacrotask$1.goMacrotask = void 0;
3467
+ const extra_timers_1 = es2018$8;
3468
+ function goMacrotask(fn) {
3469
+ return new Promise((resolve, reject) => {
3470
+ (0, extra_timers_1.setImmediate)(async () => {
3471
+ try {
3472
+ resolve(await fn());
3473
+ }
3474
+ catch (e) {
3475
+ reject(e);
3476
+ }
3477
+ });
3478
+ });
3479
+ }
3480
+ goMacrotask$1.goMacrotask = goMacrotask;
3481
+
3482
+ (function (exports) {
3483
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3484
+ if (k2 === undefined) k2 = k;
3485
+ var desc = Object.getOwnPropertyDescriptor(m, k);
3486
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
3487
+ desc = { enumerable: true, get: function() { return m[k]; } };
3488
+ }
3489
+ Object.defineProperty(o, k2, desc);
3490
+ }) : (function(o, m, k, k2) {
3491
+ if (k2 === undefined) k2 = k;
3492
+ o[k2] = m[k];
3493
+ }));
3494
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
3495
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3496
+ };__exportStar(go$1, exports);
3497
+ __exportStar(goMicrotask$1, exports);
3498
+ __exportStar(goMacrotask$1, exports);
3499
+
3500
+ }(es2018$2));
3501
+
3502
+ group$1.group = void 0;
3503
+ const go_1 = es2018$2;
3504
+ const types_1 = es2018$3;
3505
+ function group(...args) {
3506
+ const [label, fn] = (0, go_1.go)(() => {
3507
+ if (args.length === 1) {
3508
+ const [fn] = args;
3509
+ return [undefined, fn];
3510
+ }
3511
+ else {
3512
+ const [label, fn] = args;
3513
+ return [label, fn];
3514
+ }
3515
+ });
3516
+ if ((0, types_1.isUndefined)(label)) {
3517
+ console.group();
3518
+ }
3519
+ else {
3520
+ console.group(label);
3521
+ }
3522
+ const result = fn();
3523
+ console.groupEnd();
3524
+ return result;
3525
+ }
3526
+ group$1.group = group;
3527
+
3528
+ (function (exports) {
3529
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3530
+ if (k2 === undefined) k2 = k;
3531
+ var desc = Object.getOwnPropertyDescriptor(m, k);
3532
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
3533
+ desc = { enumerable: true, get: function() { return m[k]; } };
3534
+ }
3535
+ Object.defineProperty(o, k2, desc);
3536
+ }) : (function(o, m, k, k2) {
3537
+ if (k2 === undefined) k2 = k;
3538
+ o[k2] = m[k];
3539
+ }));
3540
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
3541
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3542
+ };__exportStar(log$1, exports);
3543
+ __exportStar(time$1, exports);
3544
+ __exportStar(timeFunction$1, exports);
3545
+ __exportStar(timeAsyncFunction$1, exports);
3546
+ __exportStar(group$1, exports);
3547
+
3548
+ }(es2018$4));
3549
+
3550
+ var es2018$1 = {};
3551
+
3552
+ var lazy$1 = {};
3553
+
3554
+ lazy$1.lazy = void 0;
3555
+ function lazy(getter) {
3556
+ let resultExists = false;
3557
+ let result;
3558
+ return function () {
3559
+ if (!resultExists) {
3560
+ result = getter();
3561
+ resultExists = true;
3562
+ }
3563
+ return result;
3564
+ };
3565
+ }
3566
+ lazy$1.lazy = lazy;
3567
+
3568
+ var lazyFunction$1 = {};
3569
+
3570
+ lazyFunction$1.lazyFunction = void 0;
3571
+ const lazy_1$1 = lazy$1;
3572
+ function lazyFunction(getter) {
3573
+ const getFn = (0, lazy_1$1.lazy)(getter);
3574
+ return (...args) => getFn()(...args);
3575
+ }
3576
+ lazyFunction$1.lazyFunction = lazyFunction;
3577
+
3578
+ var lazyAsyncFunction$1 = {};
3579
+
3580
+ lazyAsyncFunction$1.lazyAsyncFunction = void 0;
3581
+ const lazy_1 = lazy$1;
3582
+ function lazyAsyncFunction(getter) {
3583
+ const getFn = (0, lazy_1.lazy)(getter);
3584
+ return async (...args) => {
3585
+ const fn = await getFn();
3586
+ return fn(...args);
3587
+ };
3588
+ }
3589
+ lazyAsyncFunction$1.lazyAsyncFunction = lazyAsyncFunction;
3590
+
3591
+ var lazyStatic$1 = {};
3592
+
3593
+ lazyStatic$1.lazyStatic = lazyStatic$1.withLazyStatic = void 0;
3594
+ const contexts = [];
3595
+ function withLazyStatic(fn) {
3596
+ const cache = [];
3597
+ return (...args) => {
3598
+ contexts.push({ cache, index: 0 });
3599
+ try {
3600
+ return fn(...args);
3601
+ }
3602
+ finally {
3603
+ contexts.pop();
3604
+ }
3605
+ };
3606
+ }
3607
+ lazyStatic$1.withLazyStatic = withLazyStatic;
3608
+ function lazyStatic(getter, deps = []) {
3609
+ if (contexts.length) {
3610
+ const context = contexts[contexts.length - 1];
3611
+ const index = context.index++;
3612
+ const isFirstRun = index === context.cache.length;
3613
+ if (isFirstRun) {
3614
+ updateCache();
3615
+ }
3616
+ else {
3617
+ const oldDeps = context.cache[index].deps;
3618
+ if (deps.length === oldDeps.length) {
3619
+ if (deps.some((x, i) => x !== oldDeps[i])) {
3620
+ updateCache();
3621
+ }
3622
+ }
3623
+ else {
3624
+ updateCache();
3625
+ }
3626
+ }
3627
+ const result = context.cache[index].value;
3628
+ return result;
3629
+ function updateCache() {
3630
+ context.cache[index] = null;
3631
+ context.cache[index] = {
3632
+ value: getter(),
3633
+ deps: Array.from(deps)
3634
+ };
3635
+ }
3636
+ }
3637
+ else {
3638
+ throw new Error('lazyStatic can only be called in the function wrapped by withlazyStatic.');
3639
+ }
3640
+ }
3641
+ lazyStatic$1.lazyStatic = lazyStatic;
3642
+
3643
+ (function (exports) {
3644
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3645
+ if (k2 === undefined) k2 = k;
3646
+ var desc = Object.getOwnPropertyDescriptor(m, k);
3647
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
3648
+ desc = { enumerable: true, get: function() { return m[k]; } };
3649
+ }
3650
+ Object.defineProperty(o, k2, desc);
3651
+ }) : (function(o, m, k, k2) {
3652
+ if (k2 === undefined) k2 = k;
3653
+ o[k2] = m[k];
3654
+ }));
3655
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
3656
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3657
+ };__exportStar(lazy$1, exports);
3658
+ __exportStar(lazyFunction$1, exports);
3659
+ __exportStar(lazyAsyncFunction$1, exports);
3660
+ __exportStar(lazyStatic$1, exports);
3661
+
3662
+ }(es2018$1));
3663
+
3664
+ var es2018 = {};
3665
+
3666
+ var pass$1 = {};
3667
+
3668
+ pass$1.pass = void 0;
3669
+ function pass() { }
3670
+ pass$1.pass = pass;
3671
+
3672
+ var passAsync$1 = {};
3673
+
3674
+ passAsync$1.passAsync = void 0;
3675
+ async function passAsync() { }
3676
+ passAsync$1.passAsync = passAsync;
3677
+
3678
+ (function (exports) {
3679
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3680
+ if (k2 === undefined) k2 = k;
3681
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
3682
+ }) : (function(o, m, k, k2) {
3683
+ if (k2 === undefined) k2 = k;
3684
+ o[k2] = m[k];
3685
+ }));
3686
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
3687
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3688
+ };__exportStar(pass$1, exports);
3689
+ __exportStar(passAsync$1, exports);
3690
+
3691
+ }(es2018));
3692
+
3693
+ (function (exports) {
3694
+ exports.isntNumber = exports.isntNull = exports.isntJson = exports.isntIterable = exports.isntFunction = exports.isntFalsy = exports.isntError = exports.isntEmptyObject = exports.isntEmptyArray = exports.isntDate = exports.isntChar = exports.isntBoolean = exports.isntBigInt = exports.isntAsyncIterable = exports.isntArray = exports.isSymbol = exports.isRegExp = exports.isUndefined = exports.isString = exports.isPromiseLike = exports.isPromise = exports.isPlainObject = exports.isObject = exports.isntNaN = exports.isNaN = exports.isNegativeInfinity = exports.isPositiveInfinity = exports.isFinite = exports.isNumber = exports.isNull = exports.isJson = exports.isIterable = exports.isFunction = exports.isFalsy = exports.isError = exports.isEmptyObject = exports.isEmptyArray = exports.isDate = exports.isChar = exports.isBoolean = exports.isBigInt = exports.isAsyncIterable = exports.isArray = exports.toArrayAsync = exports.toArray = exports.pass = exports.lazy = exports.log = exports.go = exports.assert = void 0;
3695
+ exports.isntSymbol = exports.isntRegExp = exports.isntUndefined = exports.isntString = exports.isntPromiseLike = exports.isntPromise = exports.isntPlainObject = exports.isntObject = void 0;
3696
+ var errors_1 = es2018$b;
3697
+ Object.defineProperty(exports, "assert", { enumerable: true, get: function () { return errors_1.assert; } });
3698
+ var go_1 = es2018$9;
3699
+ Object.defineProperty(exports, "go", { enumerable: true, get: function () { return go_1.go; } });
3700
+ var log_1 = es2018$4;
3701
+ Object.defineProperty(exports, "log", { enumerable: true, get: function () { return log_1.log; } });
3702
+ var extra_lazy_1 = es2018$1;
3703
+ Object.defineProperty(exports, "lazy", { enumerable: true, get: function () { return extra_lazy_1.lazy; } });
3704
+ var pass_1 = es2018;
3705
+ Object.defineProperty(exports, "pass", { enumerable: true, get: function () { return pass_1.pass; } });
3706
+ var iterable_operator_1 = es2018$a;
3707
+ Object.defineProperty(exports, "toArray", { enumerable: true, get: function () { return iterable_operator_1.toArray; } });
3708
+ Object.defineProperty(exports, "toArrayAsync", { enumerable: true, get: function () { return iterable_operator_1.toArrayAsync; } });
3709
+ var types_1 = es2018$6;
3710
+ Object.defineProperty(exports, "isArray", { enumerable: true, get: function () { return types_1.isArray; } });
3711
+ Object.defineProperty(exports, "isAsyncIterable", { enumerable: true, get: function () { return types_1.isAsyncIterable; } });
3712
+ Object.defineProperty(exports, "isBigInt", { enumerable: true, get: function () { return types_1.isBigInt; } });
3713
+ Object.defineProperty(exports, "isBoolean", { enumerable: true, get: function () { return types_1.isBoolean; } });
3714
+ Object.defineProperty(exports, "isChar", { enumerable: true, get: function () { return types_1.isChar; } });
3715
+ Object.defineProperty(exports, "isDate", { enumerable: true, get: function () { return types_1.isDate; } });
3716
+ Object.defineProperty(exports, "isEmptyArray", { enumerable: true, get: function () { return types_1.isEmptyArray; } });
3717
+ Object.defineProperty(exports, "isEmptyObject", { enumerable: true, get: function () { return types_1.isEmptyObject; } });
3718
+ Object.defineProperty(exports, "isError", { enumerable: true, get: function () { return types_1.isError; } });
3719
+ Object.defineProperty(exports, "isFalsy", { enumerable: true, get: function () { return types_1.isFalsy; } });
3720
+ Object.defineProperty(exports, "isFunction", { enumerable: true, get: function () { return types_1.isFunction; } });
3721
+ Object.defineProperty(exports, "isIterable", { enumerable: true, get: function () { return types_1.isIterable; } });
3722
+ Object.defineProperty(exports, "isJson", { enumerable: true, get: function () { return types_1.isJson; } });
3723
+ Object.defineProperty(exports, "isNull", { enumerable: true, get: function () { return types_1.isNull; } });
3724
+ Object.defineProperty(exports, "isNumber", { enumerable: true, get: function () { return types_1.isNumber; } });
3725
+ Object.defineProperty(exports, "isFinite", { enumerable: true, get: function () { return types_1.isFinite; } });
3726
+ Object.defineProperty(exports, "isPositiveInfinity", { enumerable: true, get: function () { return types_1.isPositiveInfinity; } });
3727
+ Object.defineProperty(exports, "isNegativeInfinity", { enumerable: true, get: function () { return types_1.isNegativeInfinity; } });
3728
+ Object.defineProperty(exports, "isNaN", { enumerable: true, get: function () { return types_1.isNaN; } });
3729
+ Object.defineProperty(exports, "isntNaN", { enumerable: true, get: function () { return types_1.isntNaN; } });
3730
+ Object.defineProperty(exports, "isObject", { enumerable: true, get: function () { return types_1.isObject; } });
3731
+ Object.defineProperty(exports, "isPlainObject", { enumerable: true, get: function () { return types_1.isPlainObject; } });
3732
+ Object.defineProperty(exports, "isPromise", { enumerable: true, get: function () { return types_1.isPromise; } });
3733
+ Object.defineProperty(exports, "isPromiseLike", { enumerable: true, get: function () { return types_1.isPromiseLike; } });
3734
+ Object.defineProperty(exports, "isString", { enumerable: true, get: function () { return types_1.isString; } });
3735
+ Object.defineProperty(exports, "isUndefined", { enumerable: true, get: function () { return types_1.isUndefined; } });
3736
+ Object.defineProperty(exports, "isRegExp", { enumerable: true, get: function () { return types_1.isRegExp; } });
3737
+ Object.defineProperty(exports, "isSymbol", { enumerable: true, get: function () { return types_1.isSymbol; } });
3738
+ Object.defineProperty(exports, "isntArray", { enumerable: true, get: function () { return types_1.isntArray; } });
3739
+ Object.defineProperty(exports, "isntAsyncIterable", { enumerable: true, get: function () { return types_1.isntAsyncIterable; } });
3740
+ Object.defineProperty(exports, "isntBigInt", { enumerable: true, get: function () { return types_1.isntBigInt; } });
3741
+ Object.defineProperty(exports, "isntBoolean", { enumerable: true, get: function () { return types_1.isntBoolean; } });
3742
+ Object.defineProperty(exports, "isntChar", { enumerable: true, get: function () { return types_1.isntChar; } });
3743
+ Object.defineProperty(exports, "isntDate", { enumerable: true, get: function () { return types_1.isntDate; } });
3744
+ Object.defineProperty(exports, "isntEmptyArray", { enumerable: true, get: function () { return types_1.isntEmptyArray; } });
3745
+ Object.defineProperty(exports, "isntEmptyObject", { enumerable: true, get: function () { return types_1.isntEmptyObject; } });
3746
+ Object.defineProperty(exports, "isntError", { enumerable: true, get: function () { return types_1.isntError; } });
3747
+ Object.defineProperty(exports, "isntFalsy", { enumerable: true, get: function () { return types_1.isntFalsy; } });
3748
+ Object.defineProperty(exports, "isntFunction", { enumerable: true, get: function () { return types_1.isntFunction; } });
3749
+ Object.defineProperty(exports, "isntIterable", { enumerable: true, get: function () { return types_1.isntIterable; } });
3750
+ Object.defineProperty(exports, "isntJson", { enumerable: true, get: function () { return types_1.isntJson; } });
3751
+ Object.defineProperty(exports, "isntNull", { enumerable: true, get: function () { return types_1.isntNull; } });
3752
+ Object.defineProperty(exports, "isntNumber", { enumerable: true, get: function () { return types_1.isntNumber; } });
3753
+ Object.defineProperty(exports, "isntObject", { enumerable: true, get: function () { return types_1.isntObject; } });
3754
+ Object.defineProperty(exports, "isntPlainObject", { enumerable: true, get: function () { return types_1.isntPlainObject; } });
3755
+ Object.defineProperty(exports, "isntPromise", { enumerable: true, get: function () { return types_1.isntPromise; } });
3756
+ Object.defineProperty(exports, "isntPromiseLike", { enumerable: true, get: function () { return types_1.isntPromiseLike; } });
3757
+ Object.defineProperty(exports, "isntString", { enumerable: true, get: function () { return types_1.isntString; } });
3758
+ Object.defineProperty(exports, "isntUndefined", { enumerable: true, get: function () { return types_1.isntUndefined; } });
3759
+ Object.defineProperty(exports, "isntRegExp", { enumerable: true, get: function () { return types_1.isntRegExp; } });
3760
+ Object.defineProperty(exports, "isntSymbol", { enumerable: true, get: function () { return types_1.isntSymbol; } });
3761
+
3762
+ }(es2018$c));
3763
+
3764
+ function get(...transformers) {
3765
+ return request('GET', ...transformers);
3766
+ }
3767
+ function head(...transformers) {
3768
+ return request('HEAD', ...transformers);
3769
+ }
3770
+ function post(...transformers) {
3771
+ return request('POST', ...transformers);
3772
+ }
3773
+ function put(...transformers) {
3774
+ return request('PUT', ...transformers);
3775
+ }
3776
+ function patch(...transformers) {
3777
+ return request('PATCH', ...transformers);
3778
+ }
3779
+ function del(...transformers) {
3780
+ return request('DELETE', ...transformers);
3781
+ }
3782
+ function request(method, ...transformers) {
3783
+ const options = transformers.reduce((options, trans) => es2018$c.isFunction(trans) ? trans(options) : options, {
3784
+ url: new URL('http://localhost'),
3785
+ headers: new es2018$d.Headers()
3786
+ });
3787
+ const headers = new es2018$d.Headers(options.headers);
3788
+ return new es2018$d.Request(options.url.href, {
3789
+ method,
3790
+ headers,
3791
+ signal: options.signal,
3792
+ body: options.payload,
3793
+ keepalive: options.keepalive
3794
+ });
3795
+ }
3796
+
3797
+ function url(...urls) {
3798
+ return (options) => {
3799
+ const url = new URL(urls.reduce((acc, cur) => new URL(cur, acc).href));
3800
+ return {
3801
+ ...options,
3802
+ url
3803
+ };
3804
+ };
3805
+ }
3806
+
3807
+ function text(payload) {
3808
+ return (options) => {
3809
+ const headers = new es2018$d.Headers(options.headers);
3810
+ headers.set('Content-Type', 'application/x-www-form-urlencoded');
3811
+ return {
3812
+ ...options,
3813
+ headers,
3814
+ payload
3815
+ };
3816
+ };
3817
+ }
3818
+
3819
+ function json(payload) {
3820
+ return (options) => {
3821
+ const headers = new es2018$d.Headers(options.headers);
3822
+ headers.set('Content-Type', 'application/json');
3823
+ return {
3824
+ ...options,
3825
+ headers,
3826
+ payload: JSON.stringify(payload)
3827
+ };
3828
+ };
3829
+ }
3830
+
3831
+ var papaparse_min = {exports: {}};
3832
+
3833
+ /* @license
3834
+ Papa Parse
3835
+ v5.3.2
3836
+ https://github.com/mholt/PapaParse
3837
+ License: MIT
3838
+ */
3839
+
3840
+ (function (module, exports) {
3841
+ !function(e,t){module.exports=t();}(commonjsGlobal,function s(){var f="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==f?f:{};var n=!f.document&&!!f.postMessage,o=n&&/blob:/i.test((f.location||{}).protocol),a={},h=0,b={parse:function(e,t){var i=(t=t||{}).dynamicTyping||!1;M(i)&&(t.dynamicTypingFunction=i,i={});if(t.dynamicTyping=i,t.transform=!!M(t.transform)&&t.transform,t.worker&&b.WORKERS_SUPPORTED){var r=function(){if(!b.WORKERS_SUPPORTED)return !1;var e=(i=f.URL||f.webkitURL||null,r=s.toString(),b.BLOB_URL||(b.BLOB_URL=i.createObjectURL(new Blob(["(",r,")();"],{type:"text/javascript"})))),t=new f.Worker(e);var i,r;return t.onmessage=_,t.id=h++,a[t.id]=t}();return r.userStep=t.step,r.userChunk=t.chunk,r.userComplete=t.complete,r.userError=t.error,t.step=M(t.step),t.chunk=M(t.chunk),t.complete=M(t.complete),t.error=M(t.error),delete t.worker,void r.postMessage({input:e,config:t,workerId:r.id})}var n=null;b.NODE_STREAM_INPUT,"string"==typeof e?n=t.download?new l(t):new p(t):!0===e.readable&&M(e.read)&&M(e.on)?n=new g(t):(f.File&&e instanceof File||e instanceof Object)&&(n=new c(t));return n.stream(e)},unparse:function(e,t){var n=!1,_=!0,m=",",y="\r\n",s='"',a=s+s,i=!1,r=null,o=!1;!function(){if("object"!=typeof t)return;"string"!=typeof t.delimiter||b.BAD_DELIMITERS.filter(function(e){return -1!==t.delimiter.indexOf(e)}).length||(m=t.delimiter);("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes);"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(i=t.skipEmptyLines);"string"==typeof t.newline&&(y=t.newline);"string"==typeof t.quoteChar&&(s=t.quoteChar);"boolean"==typeof t.header&&(_=t.header);if(Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");r=t.columns;}void 0!==t.escapeChar&&(a=t.escapeChar+s);("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(o=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/);}();var h=new RegExp(j(s),"g");"string"==typeof e&&(e=JSON.parse(e));if(Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return u(null,e,i);if("object"==typeof e[0])return u(r||Object.keys(e[0]),e,i)}else if("object"==typeof e)return "string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||r),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),u(e.fields||[],e.data||[],i);throw new Error("Unable to serialize unrecognized input");function u(e,t,i){var r="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var n=Array.isArray(e)&&0<e.length,s=!Array.isArray(t[0]);if(n&&_){for(var a=0;a<e.length;a++)0<a&&(r+=m),r+=v(e[a],a);0<t.length&&(r+=y);}for(var o=0;o<t.length;o++){var h=n?e.length:t[o].length,u=!1,f=n?0===Object.keys(t[o]).length:0===t[o].length;if(i&&!n&&(u="greedy"===i?""===t[o].join("").trim():1===t[o].length&&0===t[o][0].length),"greedy"===i&&n){for(var d=[],l=0;l<h;l++){var c=s?e[l]:l;d.push(t[o][c]);}u=""===d.join("").trim();}if(!u){for(var p=0;p<h;p++){0<p&&!f&&(r+=m);var g=n&&s?e[p]:p;r+=v(t[o][g],p);}o<t.length-1&&(!i||0<h&&!f)&&(r+=y);}}return r}function v(e,t){if(null==e)return "";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);var i=!1;o&&"string"==typeof e&&o.test(e)&&(e="'"+e,i=!0);var r=e.toString().replace(h,a);return (i=i||!0===n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||function(e,t){for(var i=0;i<t.length;i++)if(-1<e.indexOf(t[i]))return !0;return !1}(r,b.BAD_DELIMITERS)||-1<r.indexOf(m)||" "===r.charAt(0)||" "===r.charAt(r.length-1))?s+r+s:r}}};if(b.RECORD_SEP=String.fromCharCode(30),b.UNIT_SEP=String.fromCharCode(31),b.BYTE_ORDER_MARK="\ufeff",b.BAD_DELIMITERS=["\r","\n",'"',b.BYTE_ORDER_MARK],b.WORKERS_SUPPORTED=!n&&!!f.Worker,b.NODE_STREAM_INPUT=1,b.LocalChunkSize=10485760,b.RemoteChunkSize=5242880,b.DefaultDelimiter=",",b.Parser=E,b.ParserHandle=i,b.NetworkStreamer=l,b.FileStreamer=c,b.StringStreamer=p,b.ReadableStreamStreamer=g,f.jQuery){var d=f.jQuery;d.fn.parse=function(o){var i=o.config||{},h=[];return this.each(function(e){if(!("INPUT"===d(this).prop("tagName").toUpperCase()&&"file"===d(this).attr("type").toLowerCase()&&f.FileReader)||!this.files||0===this.files.length)return !0;for(var t=0;t<this.files.length;t++)h.push({file:this.files[t],inputElem:this,instanceConfig:d.extend({},i)});}),e(),this;function e(){if(0!==h.length){var e,t,i,r,n=h[0];if(M(o.before)){var s=o.before(n.file,n.inputElem);if("object"==typeof s){if("abort"===s.action)return e="AbortError",t=n.file,i=n.inputElem,r=s.reason,void(M(o.error)&&o.error({name:e},t,i,r));if("skip"===s.action)return void u();"object"==typeof s.config&&(n.instanceConfig=d.extend(n.instanceConfig,s.config));}else if("skip"===s)return void u()}var a=n.instanceConfig.complete;n.instanceConfig.complete=function(e){M(a)&&a(e,n.file,n.inputElem),u();},b.parse(n.file,n.instanceConfig);}else M(o.complete)&&o.complete();}function u(){h.splice(0,1),e();}};}function u(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=w(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null);this._handle=new i(t),(this._handle.streamer=this)._config=t;}.call(this,e),this.parseChunk=function(e,t){if(this.isFirstChunk&&M(this._config.beforeFirstChunk)){var i=this._config.beforeFirstChunk(e);void 0!==i&&(e=i);}this.isFirstChunk=!1,this._halted=!1;var r=this._partialLine+e;this._partialLine="";var n=this._handle.parse(r,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var s=n.meta.cursor;this._finished||(this._partialLine=r.substring(s-this._baseIndex),this._baseIndex=s),n&&n.data&&(this._rowCount+=n.data.length);var a=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(o)f.postMessage({results:n,workerId:b.WORKER_ID,finished:a});else if(M(this._config.chunk)&&!t){if(this._config.chunk(n,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);n=void 0,this._completeResults=void 0;}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(n.data),this._completeResults.errors=this._completeResults.errors.concat(n.errors),this._completeResults.meta=n.meta),this._completed||!a||!M(this._config.complete)||n&&n.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),a||n&&n.meta.paused||this._nextChunk(),n}this._halted=!0;},this._sendError=function(e){M(this._config.error)?this._config.error(e):o&&this._config.error&&f.postMessage({workerId:b.WORKER_ID,error:e,finished:!1});};}function l(e){var r;(e=e||{}).chunkSize||(e.chunkSize=b.RemoteChunkSize),u.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded();}:function(){this._readChunk();},this.stream=function(e){this._input=e,this._nextChunk();},this._readChunk=function(){if(this._finished)this._chunkLoaded();else {if(r=new XMLHttpRequest,this._config.withCredentials&&(r.withCredentials=this._config.withCredentials),n||(r.onload=v(this._chunkLoaded,this),r.onerror=v(this._chunkError,this)),r.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var t in e)r.setRequestHeader(t,e[t]);}if(this._config.chunkSize){var i=this._start+this._config.chunkSize-1;r.setRequestHeader("Range","bytes="+this._start+"-"+i);}try{r.send(this._config.downloadRequestBody);}catch(e){this._chunkError(e.message);}n&&0===r.status&&this._chunkError();}},this._chunkLoaded=function(){4===r.readyState&&(r.status<200||400<=r.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:r.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");if(null===t)return -1;return parseInt(t.substring(t.lastIndexOf("/")+1))}(r),this.parseChunk(r.responseText)));},this._chunkError=function(e){var t=r.statusText||e;this._sendError(new Error(t));};}function c(e){var r,n;(e=e||{}).chunkSize||(e.chunkSize=b.LocalChunkSize),u.call(this,e);var s="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,s?((r=new FileReader).onload=v(this._chunkLoaded,this),r.onerror=v(this._chunkError,this)):r=new FileReaderSync,this._nextChunk();},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk();},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var t=Math.min(this._start+this._config.chunkSize,this._input.size);e=n.call(e,this._start,t);}var i=r.readAsText(e,this._config.encoding);s||this._chunkLoaded({target:{result:i}});},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result);},this._chunkError=function(){this._sendError(r.error);};}function p(e){var i;u.call(this,e=e||{}),this.stream=function(e){return i=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,t=this._config.chunkSize;return t?(e=i.substring(0,t),i=i.substring(t)):(e=i,i=""),this._finished=!i,this.parseChunk(e)}};}function g(e){u.call(this,e=e||{});var t=[],i=!0,r=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause();},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume();},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError);},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0);},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):i=!0;},this._streamData=v(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(t.shift()));}catch(e){this._streamError(e);}},this),this._streamError=v(function(e){this._streamCleanUp(),this._sendError(e);},this),this._streamEnd=v(function(){this._streamCleanUp(),r=!0,this._streamData("");},this),this._streamCleanUp=v(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError);},this);}function i(m){var a,o,h,r=Math.pow(2,53),n=-r,s=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,u=/^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$/,t=this,i=0,f=0,d=!1,e=!1,l=[],c={data:[],errors:[],meta:{}};if(M(m.step)){var p=m.step;m.step=function(e){if(c=e,_())g();else {if(g(),0===c.data.length)return;i+=e.data.length,m.preview&&i>m.preview?o.abort():(c.data=c.data[0],p(c,t));}};}function y(e){return "greedy"===m.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function g(){return c&&h&&(k("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+b.DefaultDelimiter+"'"),h=!1),m.skipEmptyLines&&(c.data=c.data.filter(function(e){return !y(e)})),_()&&function(){if(!c)return;function e(e,t){M(m.transformHeader)&&(e=m.transformHeader(e,t)),l.push(e);}if(Array.isArray(c.data[0])){for(var t=0;_()&&t<c.data.length;t++)c.data[t].forEach(e);c.data.splice(0,1);}else c.data.forEach(e);}(),function(){if(!c||!m.header&&!m.dynamicTyping&&!m.transform)return c;function e(e,t){var i,r=m.header?{}:[];for(i=0;i<e.length;i++){var n=i,s=e[i];m.header&&(n=i>=l.length?"__parsed_extra":l[i]),m.transform&&(s=m.transform(s,n)),s=v(n,s),"__parsed_extra"===n?(r[n]=r[n]||[],r[n].push(s)):r[n]=s;}return m.header&&(i>l.length?k("FieldMismatch","TooManyFields","Too many fields: expected "+l.length+" fields but parsed "+i,f+t):i<l.length&&k("FieldMismatch","TooFewFields","Too few fields: expected "+l.length+" fields but parsed "+i,f+t)),r}var t=1;!c.data.length||Array.isArray(c.data[0])?(c.data=c.data.map(e),t=c.data.length):c.data=e(c.data,0);m.header&&c.meta&&(c.meta.fields=l);return f+=t,c}()}function _(){return m.header&&0===l.length}function v(e,t){return i=e,m.dynamicTypingFunction&&void 0===m.dynamicTyping[i]&&(m.dynamicTyping[i]=m.dynamicTypingFunction(i)),!0===(m.dynamicTyping[i]||m.dynamicTyping)?"true"===t||"TRUE"===t||"false"!==t&&"FALSE"!==t&&(function(e){if(s.test(e)){var t=parseFloat(e);if(n<t&&t<r)return !0}return !1}(t)?parseFloat(t):u.test(t)?new Date(t):""===t?null:t):t;var i;}function k(e,t,i,r){var n={type:e,code:t,message:i};void 0!==r&&(n.row=r),c.errors.push(n);}this.parse=function(e,t,i){var r=m.quoteChar||'"';if(m.newline||(m.newline=function(e,t){e=e.substring(0,1048576);var i=new RegExp(j(t)+"([^]*?)"+j(t),"gm"),r=(e=e.replace(i,"")).split("\r"),n=e.split("\n"),s=1<n.length&&n[0].length<r[0].length;if(1===r.length||s)return "\n";for(var a=0,o=0;o<r.length;o++)"\n"===r[o][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(e,r)),h=!1,m.delimiter)M(m.delimiter)&&(m.delimiter=m.delimiter(e),c.meta.delimiter=m.delimiter);else {var n=function(e,t,i,r,n){var s,a,o,h;n=n||[",","\t","|",";",b.RECORD_SEP,b.UNIT_SEP];for(var u=0;u<n.length;u++){var f=n[u],d=0,l=0,c=0;o=void 0;for(var p=new E({comments:r,delimiter:f,newline:t,preview:10}).parse(e),g=0;g<p.data.length;g++)if(i&&y(p.data[g]))c++;else {var _=p.data[g].length;l+=_,void 0!==o?0<_&&(d+=Math.abs(_-o),o=_):o=_;}0<p.data.length&&(l/=p.data.length-c),(void 0===a||d<=a)&&(void 0===h||h<l)&&1.99<l&&(a=d,s=f,h=l);}return {successful:!!(m.delimiter=s),bestDelimiter:s}}(e,m.newline,m.skipEmptyLines,m.comments,m.delimitersToGuess);n.successful?m.delimiter=n.bestDelimiter:(h=!0,m.delimiter=b.DefaultDelimiter),c.meta.delimiter=m.delimiter;}var s=w(m);return m.preview&&m.header&&s.preview++,a=e,o=new E(s),c=o.parse(a,t,i),g(),d?{meta:{paused:!0}}:c||{meta:{paused:!1}}},this.paused=function(){return d},this.pause=function(){d=!0,o.abort(),a=M(m.chunk)?"":a.substring(o.getCharIndex());},this.resume=function(){t.streamer._halted?(d=!1,t.streamer.parseChunk(a,!0)):setTimeout(t.resume,3);},this.aborted=function(){return e},this.abort=function(){e=!0,o.abort(),c.meta.aborted=!0,M(m.complete)&&m.complete(c),a="";};}function j(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function E(e){var S,O=(e=e||{}).delimiter,x=e.newline,I=e.comments,T=e.step,D=e.preview,A=e.fastMode,L=S=void 0===e.quoteChar||null===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&(L=e.escapeChar),("string"!=typeof O||-1<b.BAD_DELIMITERS.indexOf(O))&&(O=","),I===O)throw new Error("Comment character same as delimiter");!0===I?I="#":("string"!=typeof I||-1<b.BAD_DELIMITERS.indexOf(I))&&(I=!1),"\n"!==x&&"\r"!==x&&"\r\n"!==x&&(x="\n");var F=0,z=!1;this.parse=function(r,t,i){if("string"!=typeof r)throw new Error("Input must be a string");var n=r.length,e=O.length,s=x.length,a=I.length,o=M(T),h=[],u=[],f=[],d=F=0;if(!r)return C();if(A||!1!==A&&-1===r.indexOf(S)){for(var l=r.split(x),c=0;c<l.length;c++){if(f=l[c],F+=f.length,c!==l.length-1)F+=x.length;else if(i)return C();if(!I||f.substring(0,a)!==I){if(o){if(h=[],k(f.split(O)),R(),z)return C()}else k(f.split(O));if(D&&D<=c)return h=h.slice(0,D),C(!0)}}return C()}for(var p=r.indexOf(O,F),g=r.indexOf(x,F),_=new RegExp(j(L)+j(S),"g"),m=r.indexOf(S,F);;)if(r[F]!==S)if(I&&0===f.length&&r.substring(F,F+a)===I){if(-1===g)return C();F=g+s,g=r.indexOf(x,F),p=r.indexOf(O,F);}else if(-1!==p&&(p<g||-1===g))f.push(r.substring(F,p)),F=p+e,p=r.indexOf(O,F);else {if(-1===g)break;if(f.push(r.substring(F,g)),w(g+s),o&&(R(),z))return C();if(D&&h.length>=D)return C(!0)}else for(m=F,F++;;){if(-1===(m=r.indexOf(S,m+1)))return i||u.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:h.length,index:F}),E();if(m===n-1)return E(r.substring(F,m).replace(_,S));if(S!==L||r[m+1]!==L){if(S===L||0===m||r[m-1]!==L){-1!==p&&p<m+1&&(p=r.indexOf(O,m+1)),-1!==g&&g<m+1&&(g=r.indexOf(x,m+1));var y=b(-1===g?p:Math.min(p,g));if(r.substr(m+1+y,e)===O){f.push(r.substring(F,m).replace(_,S)),r[F=m+1+y+e]!==S&&(m=r.indexOf(S,F)),p=r.indexOf(O,F),g=r.indexOf(x,F);break}var v=b(g);if(r.substring(m+1+v,m+1+v+s)===x){if(f.push(r.substring(F,m).replace(_,S)),w(m+1+v+s),p=r.indexOf(O,F),m=r.indexOf(S,F),o&&(R(),z))return C();if(D&&h.length>=D)return C(!0);break}u.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:h.length,index:F}),m++;}}else m++;}return E();function k(e){h.push(e),d=F;}function b(e){var t=0;if(-1!==e){var i=r.substring(m+1,e);i&&""===i.trim()&&(t=i.length);}return t}function E(e){return i||(void 0===e&&(e=r.substring(F)),f.push(e),F=n,k(f),o&&R()),C()}function w(e){F=e,k(f),f=[],g=r.indexOf(x,F);}function C(e){return {data:h,errors:u,meta:{delimiter:O,linebreak:x,aborted:z,truncated:!!e,cursor:d+(t||0)}}}function R(){T(C()),h=[],u=[];}},this.abort=function(){z=!0;},this.getCharIndex=function(){return F};}function _(e){var t=e.data,i=a[t.workerId],r=!1;if(t.error)i.userError(t.error,t.file);else if(t.results&&t.results.data){var n={abort:function(){r=!0,m(t.workerId,{data:[],errors:[],meta:{aborted:!0}});},pause:y,resume:y};if(M(i.userStep)){for(var s=0;s<t.results.data.length&&(i.userStep({data:t.results.data[s],errors:t.results.errors,meta:t.results.meta},n),!r);s++);delete t.results;}else M(i.userChunk)&&(i.userChunk(t.results,n,t.file),delete t.results);}t.finished&&!r&&m(t.workerId,t.results);}function m(e,t){var i=a[e];M(i.userComplete)&&i.userComplete(t),i.terminate(),delete a[e];}function y(){throw new Error("Not implemented.")}function w(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var i in e)t[i]=w(e[i]);return t}function v(e,t){return function(){e.apply(t,arguments);}}function M(e){return "function"==typeof e}return o&&(f.onmessage=function(e){var t=e.data;void 0===b.WORKER_ID&&t&&(b.WORKER_ID=t.workerId);if("string"==typeof t.input)f.postMessage({workerId:b.WORKER_ID,results:b.parse(t.input,t.config),finished:!0});else if(f.File&&t.input instanceof File||t.input instanceof Object){var i=b.parse(t.input,t.config);i&&f.postMessage({workerId:b.WORKER_ID,results:i,finished:!0});}}),(l.prototype=Object.create(u.prototype)).constructor=l,(c.prototype=Object.create(u.prototype)).constructor=c,(p.prototype=Object.create(p.prototype)).constructor=p,(g.prototype=Object.create(u.prototype)).constructor=g,b});
3842
+ }(papaparse_min));
3843
+
3844
+ function csv(payload) {
3845
+ es2018$c.assert(payload.length > 0, 'payload must be a non-empty array');
3846
+ return (options) => {
3847
+ const headers = new es2018$d.Headers(options.headers);
3848
+ headers.set('Content-Type', 'text/csv');
3849
+ return {
3850
+ ...options,
3851
+ headers,
3852
+ payload: stringify(payload)
3853
+ };
3854
+ };
3855
+ }
3856
+ function stringify(data) {
3857
+ const fields = Object.keys(data[0]);
3858
+ return papaparse_min.exports.unparse({ data, fields });
3859
+ }
3860
+
3861
+ function signal(signal) {
3862
+ return (options) => {
3863
+ return {
3864
+ ...options,
3865
+ signal
3866
+ };
3867
+ };
3868
+ }
3869
+
3870
+ function header(name, value) {
3871
+ return (options) => {
3872
+ const headers = new es2018$d.Headers(options.headers);
3873
+ headers.set(name, value);
3874
+ return {
3875
+ ...options,
3876
+ headers
3877
+ };
3878
+ };
3879
+ }
3880
+
3881
+ function appendHeader(name, value) {
3882
+ return (options) => {
3883
+ const headers = new es2018$d.Headers(options.headers);
3884
+ headers.append(name, value);
3885
+ return {
3886
+ ...options,
3887
+ headers
3888
+ };
3889
+ };
3890
+ }
3891
+
3892
+ function headers(headers) {
3893
+ return (options) => {
3894
+ const newHeaders = new es2018$d.Headers(options.headers);
3895
+ for (const [name, value] of Object.entries(headers)) {
3896
+ newHeaders.set(name, value);
3897
+ }
3898
+ return {
3899
+ ...options,
3900
+ headers: newHeaders
3901
+ };
3902
+ };
3903
+ }
3904
+
3905
+ function accept(accept) {
3906
+ return appendHeader('Accept', accept);
3907
+ }
3908
+
3909
+ function host(host) {
3910
+ return (options) => {
3911
+ const url = new URL(options.url.href);
3912
+ url.host = host;
3913
+ return {
3914
+ ...options,
3915
+ url
3916
+ };
3917
+ };
3918
+ }
3919
+
3920
+ function port(port) {
3921
+ return (options) => {
3922
+ const url = new URL(options.url.href);
3923
+ url.port = port.toString();
3924
+ return {
3925
+ ...options,
3926
+ url
3927
+ };
3928
+ };
3929
+ }
3930
+
3931
+ function pathname(pathname) {
3932
+ return (options) => {
3933
+ const url = new URL(options.url.href);
2824
3934
  url.pathname = pathname;
2825
3935
  return {
2826
3936
  ...options,
@@ -2829,6 +3939,28 @@
2829
3939
  };
2830
3940
  }
2831
3941
 
3942
+ function appendPathname(pathname) {
3943
+ return (options) => {
3944
+ const base = es2018$c.go(() => {
3945
+ const directoryPathname = es2018$c.go(() => {
3946
+ let pathname = options.url.pathname;
3947
+ if (!options.url.pathname.endsWith('/')) {
3948
+ pathname += '/';
3949
+ }
3950
+ return pathname;
3951
+ });
3952
+ const url = new URL(options.url.href);
3953
+ url.pathname = directoryPathname;
3954
+ return url;
3955
+ });
3956
+ const url = new URL(pathname, base);
3957
+ return {
3958
+ ...options,
3959
+ url
3960
+ };
3961
+ };
3962
+ }
3963
+
2832
3964
  function search(search) {
2833
3965
  return (options) => {
2834
3966
  const url = new URL(options.url.href);
@@ -2883,10 +4015,10 @@
2883
4015
 
2884
4016
  function formDataField(name, value) {
2885
4017
  return (options) => {
2886
- const formData = options.payload instanceof es2018$5.FormData
4018
+ const formData = options.payload instanceof es2018$d.FormData
2887
4019
  ? cloneFormData(options.payload)
2888
- : new es2018$5.FormData();
2889
- if (es2018$4.isArray(value)) {
4020
+ : new es2018$d.FormData();
4021
+ if (es2018$c.isArray(value)) {
2890
4022
  value.forEach(x => formData.append(name, x));
2891
4023
  }
2892
4024
  else {
@@ -2899,7 +4031,7 @@
2899
4031
  };
2900
4032
  }
2901
4033
  function cloneFormData(formData) {
2902
- const result = new es2018$5.FormData();
4034
+ const result = new es2018$d.FormData();
2903
4035
  for (const [name, value] of formData.entries()) {
2904
4036
  result.append(name, value);
2905
4037
  }
@@ -2980,6 +4112,7 @@
2980
4112
 
2981
4113
  exports.accept = accept;
2982
4114
  exports.appendHeader = appendHeader;
4115
+ exports.appendPathname = appendPathname;
2983
4116
  exports.appendSearchParam = appendSearchParam;
2984
4117
  exports.basicAuth = basicAuth;
2985
4118
  exports.bearerAuth = bearerAuth;