extra-request 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
2
 
3
- var es2018$7 = {};
3
+ var es2018$5 = {};
4
4
 
5
5
  var fetch_browser = {};
6
6
 
@@ -45,7 +45,11 @@ eventSource_browser.EventSource = globalThis.EventSource;
45
45
  (function (exports) {
46
46
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
47
47
  if (k2 === undefined) k2 = k;
48
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
48
+ var desc = Object.getOwnPropertyDescriptor(m, k);
49
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
50
+ desc = { enumerable: true, get: function() { return m[k]; } };
51
+ }
52
+ Object.defineProperty(o, k2, desc);
49
53
  }) : (function(o, m, k, k2) {
50
54
  if (k2 === undefined) k2 = k;
51
55
  o[k2] = m[k];
@@ -61,227 +65,333 @@ __exportStar(abortController_browser, exports);
61
65
  __exportStar(blob_browser, exports);
62
66
  __exportStar(eventSource_browser, exports);
63
67
 
64
- }(es2018$7));
68
+ }(es2018$5));
65
69
 
66
- var es2018$6 = {};
70
+ var es2018$4 = {};
67
71
 
68
- var array$1 = {};
72
+ var array = {};
69
73
 
70
- array$1.isntEmptyArray = array$1.isEmptyArray = array$1.isntArray = array$1.isArray = void 0;
71
- function isArray$1(val) {
74
+ array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
75
+ function isArray(val) {
72
76
  return Array.isArray(val);
73
77
  }
74
- array$1.isArray = isArray$1;
75
- function isntArray$1(val) {
76
- return !isArray$1(val);
78
+ array.isArray = isArray;
79
+ function isntArray(val) {
80
+ return !isArray(val);
77
81
  }
78
- array$1.isntArray = isntArray$1;
79
- function isEmptyArray$1(val) {
82
+ array.isntArray = isntArray;
83
+ function isEmptyArray(val) {
80
84
  return val.length === 0;
81
85
  }
82
- array$1.isEmptyArray = isEmptyArray$1;
83
- function isntEmptyArray$1(val) {
86
+ array.isEmptyArray = isEmptyArray;
87
+ function isntEmptyArray(val) {
84
88
  return val.length !== 0;
85
89
  }
86
- array$1.isntEmptyArray = isntEmptyArray$1;
90
+ array.isntEmptyArray = isntEmptyArray;
87
91
 
88
- var asyncIterable$1 = {};
92
+ var asyncIterable = {};
89
93
 
90
- var _null$1 = {};
94
+ var _null = {};
91
95
 
92
- _null$1.isntNull = _null$1.isNull = void 0;
93
- function isNull$1(val) {
96
+ _null.isntNull = _null.isNull = void 0;
97
+ function isNull(val) {
94
98
  return val === null;
95
99
  }
96
- _null$1.isNull = isNull$1;
97
- function isntNull$1(val) {
98
- return !isNull$1(val);
100
+ _null.isNull = isNull;
101
+ function isntNull(val) {
102
+ return !isNull(val);
99
103
  }
100
- _null$1.isntNull = isntNull$1;
104
+ _null.isntNull = isntNull;
101
105
 
102
- var _undefined$1 = {};
106
+ var _undefined = {};
103
107
 
104
- _undefined$1.isntUndefined = _undefined$1.isUndefined = void 0;
105
- function isUndefined$1(val) {
108
+ _undefined.isntUndefined = _undefined.isUndefined = void 0;
109
+ function isUndefined(val) {
106
110
  return val === undefined;
107
111
  }
108
- _undefined$1.isUndefined = isUndefined$1;
109
- function isntUndefined$1(val) {
110
- return !isUndefined$1(val);
112
+ _undefined.isUndefined = isUndefined;
113
+ function isntUndefined(val) {
114
+ return !isUndefined(val);
115
+ }
116
+ _undefined.isntUndefined = isntUndefined;
117
+
118
+ var _function = {};
119
+
120
+ _function.isntFunction = _function.isFunction = void 0;
121
+ function isFunction(val) {
122
+ return typeof val === 'function';
123
+ }
124
+ _function.isFunction = isFunction;
125
+ function isntFunction(val) {
126
+ return !isFunction(val);
111
127
  }
112
- _undefined$1.isntUndefined = isntUndefined$1;
128
+ _function.isntFunction = isntFunction;
113
129
 
114
- asyncIterable$1.isntAsyncIterable = asyncIterable$1.isAsyncIterable = void 0;
115
- const null_1$3 = _null$1;
116
- const undefined_1$5 = _undefined$1;
117
- function isAsyncIterable$1(val) {
118
- return (0, null_1$3.isntNull)(val)
119
- && (0, undefined_1$5.isntUndefined)(val)
120
- && typeof val[Symbol.asyncIterator] === 'function';
130
+ asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
131
+ const null_1$2 = _null;
132
+ const undefined_1$1 = _undefined;
133
+ const function_1$2 = _function;
134
+ function isAsyncIterable(val) {
135
+ return (0, null_1$2.isntNull)(val)
136
+ && (0, undefined_1$1.isntUndefined)(val)
137
+ && (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
121
138
  }
122
- asyncIterable$1.isAsyncIterable = isAsyncIterable$1;
123
- function isntAsyncIterable$1(val) {
124
- return !isAsyncIterable$1(val);
139
+ asyncIterable.isAsyncIterable = isAsyncIterable;
140
+ function isntAsyncIterable(val) {
141
+ return !isAsyncIterable(val);
125
142
  }
126
- asyncIterable$1.isntAsyncIterable = isntAsyncIterable$1;
143
+ asyncIterable.isntAsyncIterable = isntAsyncIterable;
127
144
 
128
- var bigint$1 = {};
145
+ var bigint = {};
129
146
 
130
- bigint$1.isntBigInt = bigint$1.isBigInt = void 0;
131
- function isBigInt$1(val) {
147
+ bigint.isntBigInt = bigint.isBigInt = void 0;
148
+ function isBigInt(val) {
132
149
  return typeof val === 'bigint';
133
150
  }
134
- bigint$1.isBigInt = isBigInt$1;
135
- function isntBigInt$1(val) {
136
- return !isBigInt$1(val);
151
+ bigint.isBigInt = isBigInt;
152
+ function isntBigInt(val) {
153
+ return !isBigInt(val);
137
154
  }
138
- bigint$1.isntBigInt = isntBigInt$1;
155
+ bigint.isntBigInt = isntBigInt;
139
156
 
140
- var boolean$1 = {};
157
+ var boolean = {};
141
158
 
142
- boolean$1.isntBoolean = boolean$1.isBoolean = void 0;
143
- function isBoolean$1(val) {
159
+ boolean.isntBoolean = boolean.isBoolean = void 0;
160
+ function isBoolean(val) {
144
161
  return typeof val === 'boolean';
145
162
  }
146
- boolean$1.isBoolean = isBoolean$1;
147
- function isntBoolean$1(val) {
148
- return !isBoolean$1(val);
163
+ boolean.isBoolean = isBoolean;
164
+ function isntBoolean(val) {
165
+ return !isBoolean(val);
149
166
  }
150
- boolean$1.isntBoolean = isntBoolean$1;
167
+ boolean.isntBoolean = isntBoolean;
151
168
 
152
- var char$1 = {};
169
+ var char = {};
153
170
 
154
- var string$1 = {};
171
+ var string = {};
155
172
 
156
- string$1.isntString = string$1.isString = void 0;
157
- function isString$1(val) {
173
+ string.isntString = string.isString = void 0;
174
+ function isString(val) {
158
175
  return typeof val === 'string';
159
176
  }
160
- string$1.isString = isString$1;
161
- function isntString$1(val) {
162
- return !isString$1(val);
177
+ string.isString = isString;
178
+ function isntString(val) {
179
+ return !isString(val);
163
180
  }
164
- string$1.isntString = isntString$1;
181
+ string.isntString = isntString;
165
182
 
166
- char$1.isntChar = char$1.isChar = void 0;
167
- const string_1$3 = string$1;
168
- function isChar$1(val) {
169
- return (0, string_1$3.isString)(val)
183
+ char.isntChar = char.isChar = void 0;
184
+ const string_1$1 = string;
185
+ function isChar(val) {
186
+ return (0, string_1$1.isString)(val)
170
187
  && val.length === 1;
171
188
  }
172
- char$1.isChar = isChar$1;
173
- function isntChar$1(val) {
174
- return !isChar$1(val);
189
+ char.isChar = isChar;
190
+ function isntChar(val) {
191
+ return !isChar(val);
175
192
  }
176
- char$1.isntChar = isntChar$1;
193
+ char.isntChar = isntChar;
177
194
 
178
- var date$1 = {};
195
+ var date = {};
179
196
 
180
- date$1.isntDate = date$1.isDate = void 0;
181
- function isDate$1(val) {
197
+ date.isntDate = date.isDate = void 0;
198
+ function isDate(val) {
182
199
  return val instanceof Date;
183
200
  }
184
- date$1.isDate = isDate$1;
185
- function isntDate$1(val) {
186
- return !isDate$1(val);
201
+ date.isDate = isDate;
202
+ function isntDate(val) {
203
+ return !isDate(val);
187
204
  }
188
- date$1.isntDate = isntDate$1;
205
+ date.isntDate = isntDate;
189
206
 
190
- var _enum$1 = {};
207
+ var _enum = {};
191
208
 
192
- _enum$1.inEnum = void 0;
193
- function inEnum$1(val, _enum) {
209
+ _enum.inEnum = void 0;
210
+ function inEnum(val, _enum) {
194
211
  return Object.values(_enum).includes(val);
195
212
  }
196
- _enum$1.inEnum = inEnum$1;
213
+ _enum.inEnum = inEnum;
197
214
 
198
- var error$1 = {};
215
+ var error = {};
199
216
 
200
- error$1.isntError = error$1.isError = void 0;
201
- function isError$1(val) {
217
+ error.isntError = error.isError = void 0;
218
+ function isError(val) {
202
219
  return val instanceof Error;
203
220
  }
204
- error$1.isError = isError$1;
205
- function isntError$1(val) {
206
- return !isError$1(val);
221
+ error.isError = isError;
222
+ function isntError(val) {
223
+ return !isError(val);
207
224
  }
208
- error$1.isntError = isntError$1;
225
+ error.isntError = isntError;
209
226
 
210
- var falsy$1 = {};
227
+ var falsy = {};
211
228
 
212
- falsy$1.isntFalsy = falsy$1.isFalsy = void 0;
213
- function isFalsy$1(val) {
229
+ falsy.isntFalsy = falsy.isFalsy = void 0;
230
+ function isFalsy(val) {
214
231
  return !val;
215
232
  }
216
- falsy$1.isFalsy = isFalsy$1;
217
- function isntFalsy$1(val) {
218
- return !isFalsy$1(val);
233
+ falsy.isFalsy = isFalsy;
234
+ function isntFalsy(val) {
235
+ return !isFalsy(val);
219
236
  }
220
- falsy$1.isntFalsy = isntFalsy$1;
237
+ falsy.isntFalsy = isntFalsy;
221
238
 
222
- var _function$1 = {};
239
+ var iterable = {};
223
240
 
224
- _function$1.isntFunction = _function$1.isFunction = void 0;
225
- function isFunction$1(val) {
226
- return typeof val === 'function';
241
+ iterable.isntIterable = iterable.isIterable = void 0;
242
+ const null_1$1 = _null;
243
+ const undefined_1 = _undefined;
244
+ const function_1$1 = _function;
245
+ function isIterable(val) {
246
+ return (0, null_1$1.isntNull)(val)
247
+ && (0, undefined_1.isntUndefined)(val)
248
+ && (0, function_1$1.isFunction)(val[Symbol.iterator]);
227
249
  }
228
- _function$1.isFunction = isFunction$1;
229
- function isntFunction$1(val) {
230
- return !isFunction$1(val);
250
+ iterable.isIterable = isIterable;
251
+ function isntIterable(val) {
252
+ return !isIterable(val);
231
253
  }
232
- _function$1.isntFunction = isntFunction$1;
254
+ iterable.isntIterable = isntIterable;
233
255
 
234
- var iterable$1 = {};
256
+ var json$1 = {};
235
257
 
236
- iterable$1.isntIterable = iterable$1.isIterable = void 0;
237
- const null_1$2 = _null$1;
238
- const undefined_1$4 = _undefined$1;
239
- function isIterable$1(val) {
240
- return (0, null_1$2.isntNull)(val)
241
- && (0, undefined_1$4.isntUndefined)(val)
242
- && typeof val[Symbol.iterator] === 'function';
258
+ var number = {};
259
+
260
+ number.isntNumber = number.isNumber = void 0;
261
+ function isNumber(val) {
262
+ return typeof val === 'number';
263
+ }
264
+ number.isNumber = isNumber;
265
+ function isntNumber(val) {
266
+ return !isNumber(val);
243
267
  }
244
- iterable$1.isIterable = isIterable$1;
245
- function isntIterable$1(val) {
246
- return !isIterable$1(val);
268
+ number.isntNumber = isntNumber;
269
+
270
+ var object = {};
271
+
272
+ /** Detect free variable `global` from Node.js. */
273
+
274
+ var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
275
+
276
+ var _freeGlobal = freeGlobal$1;
277
+
278
+ var freeGlobal = _freeGlobal;
279
+
280
+ /** Detect free variable `self`. */
281
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
282
+
283
+ /** Used as a reference to the global object. */
284
+ var root$1 = freeGlobal || freeSelf || Function('return this')();
285
+
286
+ var _root = root$1;
287
+
288
+ var root = _root;
289
+
290
+ /** Built-in value references. */
291
+ var Symbol$3 = root.Symbol;
292
+
293
+ var _Symbol = Symbol$3;
294
+
295
+ var Symbol$2 = _Symbol;
296
+
297
+ /** Used for built-in method references. */
298
+ var objectProto$2 = Object.prototype;
299
+
300
+ /** Used to check objects for own properties. */
301
+ var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
302
+
303
+ /**
304
+ * Used to resolve the
305
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
306
+ * of values.
307
+ */
308
+ var nativeObjectToString$1 = objectProto$2.toString;
309
+
310
+ /** Built-in value references. */
311
+ var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : undefined;
312
+
313
+ /**
314
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
315
+ *
316
+ * @private
317
+ * @param {*} value The value to query.
318
+ * @returns {string} Returns the raw `toStringTag`.
319
+ */
320
+ function getRawTag$1(value) {
321
+ var isOwn = hasOwnProperty$1.call(value, symToStringTag$1),
322
+ tag = value[symToStringTag$1];
323
+
324
+ try {
325
+ value[symToStringTag$1] = undefined;
326
+ var unmasked = true;
327
+ } catch (e) {}
328
+
329
+ var result = nativeObjectToString$1.call(value);
330
+ if (unmasked) {
331
+ if (isOwn) {
332
+ value[symToStringTag$1] = tag;
333
+ } else {
334
+ delete value[symToStringTag$1];
335
+ }
336
+ }
337
+ return result;
247
338
  }
248
- iterable$1.isntIterable = isntIterable$1;
249
339
 
250
- var jsonRpc$1 = {};
340
+ var _getRawTag = getRawTag$1;
341
+
342
+ /** Used for built-in method references. */
343
+
344
+ var objectProto$1 = Object.prototype;
251
345
 
252
- var object$1 = {};
346
+ /**
347
+ * Used to resolve the
348
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
349
+ * of values.
350
+ */
351
+ var nativeObjectToString = objectProto$1.toString;
253
352
 
254
353
  /**
255
- * lodash (Custom Build) <https://lodash.com/>
256
- * Build: `lodash modularize exports="npm" -o ./`
257
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
258
- * Released under MIT license <https://lodash.com/license>
259
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
260
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
354
+ * Converts `value` to a string using `Object.prototype.toString`.
355
+ *
356
+ * @private
357
+ * @param {*} value The value to convert.
358
+ * @returns {string} Returns the converted string.
261
359
  */
360
+ function objectToString$1(value) {
361
+ return nativeObjectToString.call(value);
362
+ }
363
+
364
+ var _objectToString = objectToString$1;
365
+
366
+ var Symbol$1 = _Symbol,
367
+ getRawTag = _getRawTag,
368
+ objectToString = _objectToString;
262
369
 
263
370
  /** `Object#toString` result references. */
264
- var objectTag = '[object Object]';
371
+ var nullTag = '[object Null]',
372
+ undefinedTag = '[object Undefined]';
373
+
374
+ /** Built-in value references. */
375
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
265
376
 
266
377
  /**
267
- * Checks if `value` is a host object in IE < 9.
378
+ * The base implementation of `getTag` without fallbacks for buggy environments.
268
379
  *
269
380
  * @private
270
- * @param {*} value The value to check.
271
- * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
381
+ * @param {*} value The value to query.
382
+ * @returns {string} Returns the `toStringTag`.
272
383
  */
273
- function isHostObject(value) {
274
- // Many host objects are `Object` objects that can coerce to strings
275
- // despite having improperly defined `toString` methods.
276
- var result = false;
277
- if (value != null && typeof value.toString != 'function') {
278
- try {
279
- result = !!(value + '');
280
- } catch (e) {}
384
+ function baseGetTag$1(value) {
385
+ if (value == null) {
386
+ return value === undefined ? undefinedTag : nullTag;
281
387
  }
282
- return result;
388
+ return (symToStringTag && symToStringTag in Object(value))
389
+ ? getRawTag(value)
390
+ : objectToString(value);
283
391
  }
284
392
 
393
+ var _baseGetTag = baseGetTag$1;
394
+
285
395
  /**
286
396
  * Creates a unary function that invokes `func` with its argument transformed.
287
397
  *
@@ -290,34 +400,21 @@ function isHostObject(value) {
290
400
  * @param {Function} transform The argument transform.
291
401
  * @returns {Function} Returns the new function.
292
402
  */
293
- function overArg(func, transform) {
403
+
404
+ function overArg$1(func, transform) {
294
405
  return function(arg) {
295
406
  return func(transform(arg));
296
407
  };
297
408
  }
298
409
 
299
- /** Used for built-in method references. */
300
- var funcProto = Function.prototype,
301
- objectProto = Object.prototype;
302
-
303
- /** Used to resolve the decompiled source of functions. */
304
- var funcToString = funcProto.toString;
305
-
306
- /** Used to check objects for own properties. */
307
- var hasOwnProperty = objectProto.hasOwnProperty;
308
-
309
- /** Used to infer the `Object` constructor. */
310
- var objectCtorString = funcToString.call(Object);
410
+ var _overArg = overArg$1;
311
411
 
312
- /**
313
- * Used to resolve the
314
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
315
- * of values.
316
- */
317
- var objectToString = objectProto.toString;
412
+ var overArg = _overArg;
318
413
 
319
414
  /** Built-in value references. */
320
- var getPrototype = overArg(Object.getPrototypeOf, Object);
415
+ var getPrototype$1 = overArg(Object.getPrototypeOf, Object);
416
+
417
+ var _getPrototype = getPrototype$1;
321
418
 
322
419
  /**
323
420
  * Checks if `value` is object-like. A value is object-like if it's not `null`
@@ -343,633 +440,97 @@ var getPrototype = overArg(Object.getPrototypeOf, Object);
343
440
  * _.isObjectLike(null);
344
441
  * // => false
345
442
  */
346
- function isObjectLike(value) {
347
- return !!value && typeof value == 'object';
348
- }
349
-
350
- /**
351
- * Checks if `value` is a plain object, that is, an object created by the
352
- * `Object` constructor or one with a `[[Prototype]]` of `null`.
353
- *
354
- * @static
355
- * @memberOf _
356
- * @since 0.8.0
357
- * @category Lang
358
- * @param {*} value The value to check.
359
- * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
360
- * @example
361
- *
362
- * function Foo() {
363
- * this.a = 1;
364
- * }
365
- *
366
- * _.isPlainObject(new Foo);
367
- * // => false
368
- *
369
- * _.isPlainObject([1, 2, 3]);
370
- * // => false
371
- *
372
- * _.isPlainObject({ 'x': 0, 'y': 0 });
373
- * // => true
374
- *
375
- * _.isPlainObject(Object.create(null));
376
- * // => true
377
- */
378
- function isPlainObject$1(value) {
379
- if (!isObjectLike(value) ||
380
- objectToString.call(value) != objectTag || isHostObject(value)) {
381
- return false;
382
- }
383
- var proto = getPrototype(value);
384
- if (proto === null) {
385
- return true;
386
- }
387
- var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
388
- return (typeof Ctor == 'function' &&
389
- Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString);
390
- }
391
-
392
- var lodash_isplainobject = isPlainObject$1;
393
-
394
- var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
395
- return (mod && mod.__esModule) ? mod : { "default": mod };
396
- };object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
397
- const lodash_isplainobject_1 = __importDefault(lodash_isplainobject);
398
- function isObject$1(val) {
399
- return val !== null
400
- && typeof val === 'object';
401
- }
402
- object$1.isObject = isObject$1;
403
- function isntObject$1(val) {
404
- return !isObject$1(val);
405
- }
406
- object$1.isntObject = isntObject$1;
407
- function isPlainObject(val) {
408
- return (0, lodash_isplainobject_1.default)(val);
409
- }
410
- object$1.isPlainObject = isPlainObject;
411
- function isntPlainObject(val) {
412
- return !isPlainObject(val);
413
- }
414
- object$1.isntPlainObject = isntPlainObject;
415
- function isEmptyObject$1(val) {
416
- return Object.keys(val).length === 0;
417
- }
418
- object$1.isEmptyObject = isEmptyObject$1;
419
- function isntEmptyObject$1(val) {
420
- return Object.keys(val).length !== 0;
421
- }
422
- object$1.isntEmptyObject = isntEmptyObject$1;
423
-
424
- var number$1 = {};
425
-
426
- number$1.isntNumber = number$1.isNumber = void 0;
427
- function isNumber$1(val) {
428
- return typeof val === 'number';
429
- }
430
- number$1.isNumber = isNumber$1;
431
- function isntNumber$1(val) {
432
- return !isNumber$1(val);
433
- }
434
- number$1.isntNumber = isntNumber$1;
435
-
436
- jsonRpc$1.isntJsonRpcError = jsonRpc$1.isJsonRpcError = jsonRpc$1.isntJsonRpcSuccess = jsonRpc$1.isJsonRpcSuccess = jsonRpc$1.isntJsonRpcRequest = jsonRpc$1.isJsonRpcRequest = jsonRpc$1.isntJsonRpcNotification = jsonRpc$1.isJsonRpcNotification = void 0;
437
- const array_1$1 = array$1;
438
- const object_1$1 = object$1;
439
- const string_1$2 = string$1;
440
- const number_1$1 = number$1;
441
- const undefined_1$3 = _undefined$1;
442
- function isJsonRpcId$1(val) {
443
- return (0, string_1$2.isString)(val) || (0, number_1$1.isNumber)(val);
444
- }
445
- function isJsonRpcParams$1(val) {
446
- return (0, array_1$1.isArray)(val) || (0, object_1$1.isObject)(val);
447
- }
448
- function isJsonRpcNotification$1(val) {
449
- return (0, object_1$1.isPlainObject)(val)
450
- && (0, string_1$2.isString)(val.jsonrpc)
451
- && (0, string_1$2.isString)(val.method)
452
- && (0, undefined_1$3.isUndefined)(val.id)
453
- && isJsonRpcParams$1(val.params);
454
- }
455
- jsonRpc$1.isJsonRpcNotification = isJsonRpcNotification$1;
456
- function isntJsonRpcNotification$1(val) {
457
- return !isJsonRpcNotification$1(val);
458
- }
459
- jsonRpc$1.isntJsonRpcNotification = isntJsonRpcNotification$1;
460
- function isJsonRpcRequest$1(val) {
461
- return (0, object_1$1.isPlainObject)(val)
462
- && (0, string_1$2.isString)(val.jsonrpc)
463
- && (0, string_1$2.isString)(val.method)
464
- && isJsonRpcId$1(val.id)
465
- && isJsonRpcParams$1(val.params);
466
- }
467
- jsonRpc$1.isJsonRpcRequest = isJsonRpcRequest$1;
468
- function isntJsonRpcRequest$1(val) {
469
- return !isJsonRpcRequest$1(val);
470
- }
471
- jsonRpc$1.isntJsonRpcRequest = isntJsonRpcRequest$1;
472
- function isJsonRpcSuccess$1(val) {
473
- return (0, object_1$1.isPlainObject)(val)
474
- && (0, string_1$2.isString)(val.jsonrpc)
475
- && (0, string_1$2.isString)(val.id)
476
- && 'result' in val;
477
- }
478
- jsonRpc$1.isJsonRpcSuccess = isJsonRpcSuccess$1;
479
- function isntJsonRpcSuccess$1(val) {
480
- return !isJsonRpcSuccess$1(val);
481
- }
482
- jsonRpc$1.isntJsonRpcSuccess = isntJsonRpcSuccess$1;
483
- function isJsonRpcError$1(val) {
484
- return (0, object_1$1.isPlainObject)(val)
485
- && (0, string_1$2.isString)(val.jsonrpc)
486
- && isJsonRpcId$1(val.id)
487
- && isJsonRpcErrorObject$1(val.error);
488
- }
489
- jsonRpc$1.isJsonRpcError = isJsonRpcError$1;
490
- function isntJsonRpcError$1(val) {
491
- return !isJsonRpcError$1(val);
492
- }
493
- jsonRpc$1.isntJsonRpcError = isntJsonRpcError$1;
494
- function isJsonRpcErrorObject$1(val) {
495
- return (0, object_1$1.isPlainObject)(val)
496
- && (0, number_1$1.isNumber)(val.code)
497
- && (0, string_1$2.isString)(val.message)
498
- && ((0, undefined_1$3.isUndefined)(val.data) || (0, object_1$1.isObject)(val.data));
499
- }
500
-
501
- var json$2 = {};
502
-
503
- json$2.isntJson = json$2.isJson = void 0;
504
- function isJson$1(val) {
505
- try {
506
- JSON.stringify(val);
507
- return true;
508
- }
509
- catch (_a) {
510
- return false;
511
- }
512
- }
513
- json$2.isJson = isJson$1;
514
- function isntJson$1(val) {
515
- return !isntJson$1();
516
- }
517
- json$2.isntJson = isntJson$1;
518
-
519
- var url$2 = {};
520
-
521
- url$2.isAbsoluteURL = void 0;
522
- function isAbsoluteURL$1(str) {
523
- try {
524
- new URL(str);
525
- return true;
526
- }
527
- catch (_a) {
528
- return false;
529
- }
530
- }
531
- url$2.isAbsoluteURL = isAbsoluteURL$1;
532
-
533
- (function (exports) {
534
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
535
- if (k2 === undefined) k2 = k;
536
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
537
- }) : (function(o, m, k, k2) {
538
- if (k2 === undefined) k2 = k;
539
- o[k2] = m[k];
540
- }));
541
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
542
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
543
- };__exportStar(array$1, exports);
544
- __exportStar(asyncIterable$1, exports);
545
- __exportStar(bigint$1, exports);
546
- __exportStar(boolean$1, exports);
547
- __exportStar(char$1, exports);
548
- __exportStar(date$1, exports);
549
- __exportStar(_enum$1, exports);
550
- __exportStar(error$1, exports);
551
- __exportStar(falsy$1, exports);
552
- __exportStar(_function$1, exports);
553
- __exportStar(iterable$1, exports);
554
- __exportStar(jsonRpc$1, exports);
555
- __exportStar(json$2, exports);
556
- __exportStar(_null$1, exports);
557
- __exportStar(number$1, exports);
558
- __exportStar(object$1, exports);
559
- __exportStar(string$1, exports);
560
- __exportStar(_undefined$1, exports);
561
- __exportStar(url$2, exports);
562
-
563
- }(es2018$6));
564
-
565
- function get(...transformers) {
566
- return request('GET', ...transformers);
567
- }
568
- function head(...transformers) {
569
- return request('HEAD', ...transformers);
570
- }
571
- function post(...transformers) {
572
- return request('POST', ...transformers);
573
- }
574
- function put(...transformers) {
575
- return request('PUT', ...transformers);
576
- }
577
- function patch(...transformers) {
578
- return request('PATCH', ...transformers);
579
- }
580
- function del(...transformers) {
581
- return request('DELETE', ...transformers);
582
- }
583
- function request(method, ...transformers) {
584
- const options = transformers.reduce((options, trans) => es2018$6.isFunction(trans) ? trans(options) : options, {
585
- url: new URL('http://localhost'),
586
- headers: new es2018$7.Headers()
587
- });
588
- const headers = new es2018$7.Headers(options.headers);
589
- return new es2018$7.Request(options.url.href, {
590
- method,
591
- headers,
592
- signal: options.signal,
593
- body: options.payload,
594
- keepalive: options.keepalive
595
- });
596
- }
597
-
598
- function url$1(...urls) {
599
- return (options) => {
600
- const url = new URL(urls.reduce((acc, cur) => new URL(cur, acc).href));
601
- return Object.assign(Object.assign({}, options), { url });
602
- };
603
- }
604
-
605
- function text(payload) {
606
- return (options) => {
607
- const headers = new es2018$7.Headers(options.headers);
608
- headers.set('Content-Type', 'application/x-www-form-urlencoded');
609
- return Object.assign(Object.assign({}, options), { headers,
610
- payload });
611
- };
612
- }
613
-
614
- function json$1(payload) {
615
- return (options) => {
616
- const headers = new es2018$7.Headers(options.headers);
617
- headers.set('Content-Type', 'application/json');
618
- return Object.assign(Object.assign({}, options), { headers, payload: JSON.stringify(payload) });
619
- };
620
- }
621
-
622
- var papaparse_min = {exports: {}};
623
-
624
- /* @license
625
- Papa Parse
626
- v5.3.1
627
- https://github.com/mholt/PapaParse
628
- License: MIT
629
- */
630
-
631
- (function (module, exports) {
632
- !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&&(o=t.escapeFormulae);}();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),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);!0===o&&"string"==typeof e&&null!==e.match(/^[=+\-@].*$/)&&(e="'"+e);var i=e.toString().replace(h,a),r="boolean"==typeof n&&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}(i,b.BAD_DELIMITERS)||-1<i.indexOf(m)||" "===i.charAt(0)||" "===i.charAt(i.length-1);return r?s+i+s:i}}};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(){if(c&&h&&(k("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+b.DefaultDelimiter+"'"),h=!1),m.skipEmptyLines)for(var e=0;e<c.data.length;e++)y(c.data[e])&&c.data.splice(e--,1);return _()&&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?'"':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[m+1+y]===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});
633
- }(papaparse_min));
634
-
635
- var es2018$5 = {};
636
-
637
- var customError$1 = {};
638
-
639
- var es2018$4 = {};
640
-
641
- var middleware = {};
642
-
643
- var chunkAsync$1 = {};
644
-
645
- var es2018$3 = {};
646
-
647
- var go$1 = {};
648
-
649
- go$1.go = void 0;
650
- function go(fn) {
651
- return fn();
652
- }
653
- go$1.go = go;
654
-
655
- (function (exports) {
656
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
657
- if (k2 === undefined) k2 = k;
658
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
659
- }) : (function(o, m, k, k2) {
660
- if (k2 === undefined) k2 = k;
661
- o[k2] = m[k];
662
- }));
663
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
664
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
665
- };__exportStar(go$1, exports);
666
-
667
- }(es2018$3));
668
-
669
- var es2018$2 = {};
670
-
671
- var customError = {};
672
-
673
- customError.CustomError = void 0;
674
- class CustomError$1 extends Error {
675
- get name() {
676
- return this.constructor.name;
677
- }
678
- }
679
- customError.CustomError = CustomError$1;
680
-
681
- var expectedError = {};
682
-
683
- expectedError.ExpectedError = void 0;
684
- const custom_error_1$2 = customError;
685
- class ExpectedError extends custom_error_1$2.CustomError {
686
- }
687
- expectedError.ExpectedError = ExpectedError;
688
-
689
- var assertionError$1 = {};
690
-
691
- assertionError$1.AssertionError = void 0;
692
- const custom_error_1$1 = customError;
693
- class AssertionError$1 extends custom_error_1$1.CustomError {
694
- }
695
- assertionError$1.AssertionError = AssertionError$1;
696
-
697
- var normalize$3 = {};
698
-
699
- normalize$3.normalize = void 0;
700
- function normalize$2(err) {
701
- var _a;
702
- return {
703
- name: err.name,
704
- message: err.message,
705
- stack: (_a = err.stack) !== null && _a !== void 0 ? _a : null
706
- };
707
- }
708
- normalize$3.normalize = normalize$2;
709
-
710
- var refute$1 = {};
711
-
712
- refute$1.refute = void 0;
713
- const expected_error_1 = expectedError;
714
- function refute(condition, message) {
715
- if (condition)
716
- throw new expected_error_1.ExpectedError(message);
717
- }
718
- refute$1.refute = refute;
719
-
720
- var assert$3 = {};
721
-
722
- assert$3.assert = void 0;
723
- const assertion_error_1$1 = assertionError$1;
724
- function assert$2(condition, message) {
725
- if (!condition)
726
- throw new assertion_error_1$1.AssertionError(message);
727
- }
728
- assert$3.assert = assert$2;
729
-
730
- (function (exports) {
731
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
732
- if (k2 === undefined) k2 = k;
733
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
734
- }) : (function(o, m, k, k2) {
735
- if (k2 === undefined) k2 = k;
736
- o[k2] = m[k];
737
- }));
738
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
739
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
740
- };__exportStar(customError, exports);
741
- __exportStar(expectedError, exports);
742
- __exportStar(assertionError$1, exports);
743
- __exportStar(normalize$3, exports);
744
- __exportStar(refute$1, exports);
745
- __exportStar(assert$3, exports);
746
-
747
- }(es2018$2));
748
-
749
- chunkAsync$1.chunkAsync = void 0;
750
- const go_1$f = es2018$3;
751
- const errors_1$f = es2018$2;
752
- function chunkAsync(iterable, size) {
753
- (0, errors_1$f.assert)(Number.isInteger(size), 'The parameter size must be an integer');
754
- (0, errors_1$f.assert)(size > 0, 'The parameter size must be greater than 0');
755
- return (0, go_1$f.go)(async function* () {
756
- let buffer = [];
757
- for await (const element of iterable) {
758
- buffer.push(element);
759
- if (buffer.length >= size) {
760
- yield buffer;
761
- buffer = [];
762
- }
763
- }
764
- if (buffer.length)
765
- yield buffer;
766
- });
767
- }
768
- chunkAsync$1.chunkAsync = chunkAsync;
769
-
770
- var chunkByAsync$1 = {};
771
-
772
- var es2018$1 = {};
773
-
774
- var array = {};
775
-
776
- array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
777
- function isArray(val) {
778
- return Array.isArray(val);
779
- }
780
- array.isArray = isArray;
781
- function isntArray(val) {
782
- return !isArray(val);
783
- }
784
- array.isntArray = isntArray;
785
- function isEmptyArray(val) {
786
- return val.length === 0;
787
- }
788
- array.isEmptyArray = isEmptyArray;
789
- function isntEmptyArray(val) {
790
- return val.length !== 0;
791
- }
792
- array.isntEmptyArray = isntEmptyArray;
793
-
794
- var asyncIterable = {};
795
-
796
- var _null = {};
797
-
798
- _null.isntNull = _null.isNull = void 0;
799
- function isNull(val) {
800
- return val === null;
801
- }
802
- _null.isNull = isNull;
803
- function isntNull(val) {
804
- return !isNull(val);
805
- }
806
- _null.isntNull = isntNull;
807
-
808
- var _undefined = {};
809
-
810
- _undefined.isntUndefined = _undefined.isUndefined = void 0;
811
- function isUndefined(val) {
812
- return val === undefined;
813
- }
814
- _undefined.isUndefined = isUndefined;
815
- function isntUndefined(val) {
816
- return !isUndefined(val);
817
- }
818
- _undefined.isntUndefined = isntUndefined;
819
-
820
- asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
821
- const null_1$1 = _null;
822
- const undefined_1$2 = _undefined;
823
- function isAsyncIterable(val) {
824
- return (0, null_1$1.isntNull)(val)
825
- && (0, undefined_1$2.isntUndefined)(val)
826
- && typeof val[Symbol.asyncIterator] === 'function';
827
- }
828
- asyncIterable.isAsyncIterable = isAsyncIterable;
829
- function isntAsyncIterable(val) {
830
- return !isAsyncIterable(val);
831
- }
832
- asyncIterable.isntAsyncIterable = isntAsyncIterable;
833
-
834
- var bigint = {};
835
-
836
- bigint.isntBigInt = bigint.isBigInt = void 0;
837
- function isBigInt(val) {
838
- return typeof val === 'bigint';
839
- }
840
- bigint.isBigInt = isBigInt;
841
- function isntBigInt(val) {
842
- return !isBigInt(val);
843
- }
844
- bigint.isntBigInt = isntBigInt;
845
-
846
- var boolean = {};
847
-
848
- boolean.isntBoolean = boolean.isBoolean = void 0;
849
- function isBoolean(val) {
850
- return typeof val === 'boolean';
851
- }
852
- boolean.isBoolean = isBoolean;
853
- function isntBoolean(val) {
854
- return !isBoolean(val);
855
- }
856
- boolean.isntBoolean = isntBoolean;
857
-
858
- var char = {};
859
-
860
- var string = {};
861
-
862
- string.isntString = string.isString = void 0;
863
- function isString(val) {
864
- return typeof val === 'string';
865
- }
866
- string.isString = isString;
867
- function isntString(val) {
868
- return !isString(val);
869
- }
870
- string.isntString = isntString;
871
-
872
- char.isntChar = char.isChar = void 0;
873
- const string_1$1 = string;
874
- function isChar(val) {
875
- return (0, string_1$1.isString)(val)
876
- && val.length === 1;
877
- }
878
- char.isChar = isChar;
879
- function isntChar(val) {
880
- return !isChar(val);
881
- }
882
- char.isntChar = isntChar;
883
-
884
- var date = {};
885
-
886
- date.isntDate = date.isDate = void 0;
887
- function isDate(val) {
888
- return val instanceof Date;
889
- }
890
- date.isDate = isDate;
891
- function isntDate(val) {
892
- return !isDate(val);
893
- }
894
- date.isntDate = isntDate;
895
-
896
- var _enum = {};
897
-
898
- _enum.inEnum = void 0;
899
- function inEnum(val, _enum) {
900
- return Object.values(_enum).includes(val);
901
- }
902
- _enum.inEnum = inEnum;
903
-
904
- var error = {};
905
443
 
906
- error.isntError = error.isError = void 0;
907
- function isError(val) {
908
- return val instanceof Error;
909
- }
910
- error.isError = isError;
911
- function isntError(val) {
912
- return !isError(val);
444
+ function isObjectLike$1(value) {
445
+ return value != null && typeof value == 'object';
913
446
  }
914
- error.isntError = isntError;
915
447
 
916
- var falsy = {};
448
+ var isObjectLike_1 = isObjectLike$1;
917
449
 
918
- falsy.isntFalsy = falsy.isFalsy = void 0;
919
- function isFalsy(val) {
920
- return !val;
921
- }
922
- falsy.isFalsy = isFalsy;
923
- function isntFalsy(val) {
924
- return !isFalsy(val);
925
- }
926
- falsy.isntFalsy = isntFalsy;
450
+ var baseGetTag = _baseGetTag,
451
+ getPrototype = _getPrototype,
452
+ isObjectLike = isObjectLike_1;
927
453
 
928
- var _function = {};
454
+ /** `Object#toString` result references. */
455
+ var objectTag = '[object Object]';
929
456
 
930
- _function.isntFunction = _function.isFunction = void 0;
931
- function isFunction(val) {
932
- return typeof val === 'function';
933
- }
934
- _function.isFunction = isFunction;
935
- function isntFunction(val) {
936
- return !isFunction(val);
937
- }
938
- _function.isntFunction = isntFunction;
457
+ /** Used for built-in method references. */
458
+ var funcProto = Function.prototype,
459
+ objectProto = Object.prototype;
939
460
 
940
- var iterable = {};
461
+ /** Used to resolve the decompiled source of functions. */
462
+ var funcToString = funcProto.toString;
941
463
 
942
- iterable.isntIterable = iterable.isIterable = void 0;
943
- const null_1 = _null;
944
- const undefined_1$1 = _undefined;
945
- function isIterable(val) {
946
- return (0, null_1.isntNull)(val)
947
- && (0, undefined_1$1.isntUndefined)(val)
948
- && typeof val[Symbol.iterator] === 'function';
949
- }
950
- iterable.isIterable = isIterable;
951
- function isntIterable(val) {
952
- return !isIterable(val);
953
- }
954
- iterable.isntIterable = isntIterable;
464
+ /** Used to check objects for own properties. */
465
+ var hasOwnProperty = objectProto.hasOwnProperty;
955
466
 
956
- var jsonRpc = {};
467
+ /** Used to infer the `Object` constructor. */
468
+ var objectCtorString = funcToString.call(Object);
957
469
 
958
- var object = {};
470
+ /**
471
+ * Checks if `value` is a plain object, that is, an object created by the
472
+ * `Object` constructor or one with a `[[Prototype]]` of `null`.
473
+ *
474
+ * @static
475
+ * @memberOf _
476
+ * @since 0.8.0
477
+ * @category Lang
478
+ * @param {*} value The value to check.
479
+ * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
480
+ * @example
481
+ *
482
+ * function Foo() {
483
+ * this.a = 1;
484
+ * }
485
+ *
486
+ * _.isPlainObject(new Foo);
487
+ * // => false
488
+ *
489
+ * _.isPlainObject([1, 2, 3]);
490
+ * // => false
491
+ *
492
+ * _.isPlainObject({ 'x': 0, 'y': 0 });
493
+ * // => true
494
+ *
495
+ * _.isPlainObject(Object.create(null));
496
+ * // => true
497
+ */
498
+ function isPlainObject$1(value) {
499
+ if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
500
+ return false;
501
+ }
502
+ var proto = getPrototype(value);
503
+ if (proto === null) {
504
+ return true;
505
+ }
506
+ var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;
507
+ return typeof Ctor == 'function' && Ctor instanceof Ctor &&
508
+ funcToString.call(Ctor) == objectCtorString;
509
+ }
510
+
511
+ var isPlainObject_1$1 = isPlainObject$1;
959
512
 
960
- object.isntEmptyObject = object.isEmptyObject = object.isRecord = object.isntObject = object.isObject = void 0;
513
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
514
+ return (mod && mod.__esModule) ? mod : { "default": mod };
515
+ };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
516
+ const isPlainObject_1 = __importDefault(isPlainObject_1$1);
961
517
  function isObject(val) {
962
- return val !== null && typeof val === 'object';
518
+ return val !== null
519
+ && typeof val === 'object';
963
520
  }
964
521
  object.isObject = isObject;
965
522
  function isntObject(val) {
966
523
  return !isObject(val);
967
524
  }
968
525
  object.isntObject = isntObject;
969
- function isRecord(val) {
970
- return isObject(val);
526
+ function isPlainObject(val) {
527
+ return (0, isPlainObject_1.default)(val);
528
+ }
529
+ object.isPlainObject = isPlainObject;
530
+ function isntPlainObject(val) {
531
+ return !isPlainObject(val);
971
532
  }
972
- object.isRecord = isRecord;
533
+ object.isntPlainObject = isntPlainObject;
973
534
  function isEmptyObject(val) {
974
535
  return Object.keys(val).length === 0;
975
536
  }
@@ -979,87 +540,27 @@ function isntEmptyObject(val) {
979
540
  }
980
541
  object.isntEmptyObject = isntEmptyObject;
981
542
 
982
- var number = {};
983
-
984
- number.isntNumber = number.isNumber = void 0;
985
- function isNumber(val) {
986
- return typeof val === 'number';
987
- }
988
- number.isNumber = isNumber;
989
- function isntNumber(val) {
990
- return !isNumber(val);
991
- }
992
- number.isntNumber = isntNumber;
993
-
994
- jsonRpc.isntJsonRpcError = jsonRpc.isJsonRpcError = jsonRpc.isntJsonRpcSuccess = jsonRpc.isJsonRpcSuccess = jsonRpc.isntJsonRpcRequest = jsonRpc.isJsonRpcRequest = jsonRpc.isntJsonRpcNotification = jsonRpc.isJsonRpcNotification = void 0;
995
- const array_1 = array;
996
- const object_1 = object;
543
+ json$1.isntJsonable = json$1.isJsonable = json$1.isntJson = json$1.isJson = void 0;
544
+ const null_1 = _null;
545
+ const boolean_1 = boolean;
997
546
  const string_1 = string;
998
547
  const number_1 = number;
999
- const undefined_1 = _undefined;
1000
- function isJsonRpcId(val) {
1001
- return (0, string_1.isString)(val) || (0, number_1.isNumber)(val);
1002
- }
1003
- function isJsonRpcParams(val) {
1004
- return (0, array_1.isArray)(val) || (0, object_1.isObject)(val);
1005
- }
1006
- function isJsonRpcNotification(val) {
1007
- return (0, object_1.isRecord)(val)
1008
- && (0, string_1.isString)(val.jsonrpc)
1009
- && (0, string_1.isString)(val.method)
1010
- && (0, undefined_1.isUndefined)(val.id)
1011
- && isJsonRpcParams(val.params);
1012
- }
1013
- jsonRpc.isJsonRpcNotification = isJsonRpcNotification;
1014
- function isntJsonRpcNotification(val) {
1015
- return !isJsonRpcNotification(val);
1016
- }
1017
- jsonRpc.isntJsonRpcNotification = isntJsonRpcNotification;
1018
- function isJsonRpcRequest(val) {
1019
- return (0, object_1.isRecord)(val)
1020
- && (0, string_1.isString)(val.jsonrpc)
1021
- && (0, string_1.isString)(val.method)
1022
- && isJsonRpcId(val.id)
1023
- && isJsonRpcParams(val.params);
1024
- }
1025
- jsonRpc.isJsonRpcRequest = isJsonRpcRequest;
1026
- function isntJsonRpcRequest(val) {
1027
- return !isJsonRpcRequest(val);
1028
- }
1029
- jsonRpc.isntJsonRpcRequest = isntJsonRpcRequest;
1030
- function isJsonRpcSuccess(val) {
1031
- return (0, object_1.isRecord)(val)
1032
- && (0, string_1.isString)(val.jsonrpc)
1033
- && (0, string_1.isString)(val.id)
1034
- && (0, undefined_1.isntUndefined)(val.result);
1035
- }
1036
- jsonRpc.isJsonRpcSuccess = isJsonRpcSuccess;
1037
- function isntJsonRpcSuccess(val) {
1038
- return !isJsonRpcSuccess(val);
1039
- }
1040
- jsonRpc.isntJsonRpcSuccess = isntJsonRpcSuccess;
1041
- function isJsonRpcError(val) {
1042
- return (0, object_1.isRecord)(val)
1043
- && (0, string_1.isString)(val.jsonrpc)
1044
- && isJsonRpcId(val.id)
1045
- && isJsonRpcErrorObject(val.error);
1046
- }
1047
- jsonRpc.isJsonRpcError = isJsonRpcError;
1048
- function isntJsonRpcError(val) {
1049
- return !isJsonRpcError(val);
1050
- }
1051
- jsonRpc.isntJsonRpcError = isntJsonRpcError;
1052
- function isJsonRpcErrorObject(val) {
1053
- return (0, object_1.isRecord)(val)
1054
- && (0, number_1.isNumber)(val.code)
1055
- && (0, string_1.isString)(val.message)
1056
- && ((0, undefined_1.isUndefined)(val.data) || (0, object_1.isObject)(val.data));
1057
- }
1058
-
1059
- var json = {};
1060
-
1061
- json.isntJson = json.isJson = void 0;
548
+ const array_1 = array;
549
+ const object_1$1 = object;
1062
550
  function isJson(val) {
551
+ return (0, null_1.isNull)(val)
552
+ || (0, boolean_1.isBoolean)(val)
553
+ || (0, string_1.isString)(val)
554
+ || (0, number_1.isNumber)(val)
555
+ || ((0, array_1.isArray)(val) && val.every(isJson))
556
+ || ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
557
+ }
558
+ json$1.isJson = isJson;
559
+ function isntJson(val) {
560
+ return !isJson(val);
561
+ }
562
+ json$1.isntJson = isntJson;
563
+ function isJsonable(val) {
1063
564
  try {
1064
565
  JSON.stringify(val);
1065
566
  return true;
@@ -1068,15 +569,38 @@ function isJson(val) {
1068
569
  return false;
1069
570
  }
1070
571
  }
1071
- json.isJson = isJson;
1072
- function isntJson(val) {
1073
- return !isntJson();
572
+ json$1.isJsonable = isJsonable;
573
+ function isntJsonable(val) {
574
+ return !isntJsonable();
575
+ }
576
+ json$1.isntJsonable = isntJsonable;
577
+
578
+ var promise = {};
579
+
580
+ promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
581
+ const object_1 = object;
582
+ const function_1 = _function;
583
+ function isPromise(val) {
584
+ return val instanceof Promise;
585
+ }
586
+ promise.isPromise = isPromise;
587
+ function isntPromise(val) {
588
+ return !isPromise(val);
589
+ }
590
+ promise.isntPromise = isntPromise;
591
+ function isntPromiseLike(val) {
592
+ return !isPromiseLike(val);
1074
593
  }
1075
- json.isntJson = isntJson;
594
+ promise.isntPromiseLike = isntPromiseLike;
595
+ function isPromiseLike(val) {
596
+ return (0, object_1.isObject)(val)
597
+ && (0, function_1.isFunction)(val.then);
598
+ }
599
+ promise.isPromiseLike = isPromiseLike;
1076
600
 
1077
- var url = {};
601
+ var url$1 = {};
1078
602
 
1079
- url.isAbsoluteURL = void 0;
603
+ url$1.isAbsoluteURL = void 0;
1080
604
  function isAbsoluteURL(str) {
1081
605
  try {
1082
606
  new URL(str);
@@ -1086,12 +610,16 @@ function isAbsoluteURL(str) {
1086
610
  return false;
1087
611
  }
1088
612
  }
1089
- url.isAbsoluteURL = isAbsoluteURL;
613
+ url$1.isAbsoluteURL = isAbsoluteURL;
1090
614
 
1091
615
  (function (exports) {
1092
616
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
1093
617
  if (k2 === undefined) k2 = k;
1094
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
618
+ var desc = Object.getOwnPropertyDescriptor(m, k);
619
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
620
+ desc = { enumerable: true, get: function() { return m[k]; } };
621
+ }
622
+ Object.defineProperty(o, k2, desc);
1095
623
  }) : (function(o, m, k, k2) {
1096
624
  if (k2 === undefined) k2 = k;
1097
625
  o[k2] = m[k];
@@ -1109,19 +637,146 @@ __exportStar(error, exports);
1109
637
  __exportStar(falsy, exports);
1110
638
  __exportStar(_function, exports);
1111
639
  __exportStar(iterable, exports);
1112
- __exportStar(jsonRpc, exports);
1113
- __exportStar(json, exports);
640
+ __exportStar(json$1, exports);
1114
641
  __exportStar(_null, exports);
1115
642
  __exportStar(number, exports);
1116
643
  __exportStar(object, exports);
644
+ __exportStar(promise, exports);
1117
645
  __exportStar(string, exports);
1118
646
  __exportStar(_undefined, exports);
1119
- __exportStar(url, exports);
647
+ __exportStar(url$1, exports);
648
+
649
+ }(es2018$4));
650
+
651
+ function get(...transformers) {
652
+ return request('GET', ...transformers);
653
+ }
654
+ function head(...transformers) {
655
+ return request('HEAD', ...transformers);
656
+ }
657
+ function post(...transformers) {
658
+ return request('POST', ...transformers);
659
+ }
660
+ function put(...transformers) {
661
+ return request('PUT', ...transformers);
662
+ }
663
+ function patch(...transformers) {
664
+ return request('PATCH', ...transformers);
665
+ }
666
+ function del(...transformers) {
667
+ return request('DELETE', ...transformers);
668
+ }
669
+ function request(method, ...transformers) {
670
+ const options = transformers.reduce((options, trans) => es2018$4.isFunction(trans) ? trans(options) : options, {
671
+ url: new URL('http://localhost'),
672
+ headers: new es2018$5.Headers()
673
+ });
674
+ const headers = new es2018$5.Headers(options.headers);
675
+ return new es2018$5.Request(options.url.href, {
676
+ method,
677
+ headers,
678
+ signal: options.signal,
679
+ body: options.payload,
680
+ keepalive: options.keepalive
681
+ });
682
+ }
683
+
684
+ function url(...urls) {
685
+ return (options) => {
686
+ const url = new URL(urls.reduce((acc, cur) => new URL(cur, acc).href));
687
+ return Object.assign(Object.assign({}, options), { url });
688
+ };
689
+ }
690
+
691
+ function text(payload) {
692
+ return (options) => {
693
+ const headers = new es2018$5.Headers(options.headers);
694
+ headers.set('Content-Type', 'application/x-www-form-urlencoded');
695
+ return Object.assign(Object.assign({}, options), { headers,
696
+ payload });
697
+ };
698
+ }
699
+
700
+ function json(payload) {
701
+ return (options) => {
702
+ const headers = new es2018$5.Headers(options.headers);
703
+ headers.set('Content-Type', 'application/json');
704
+ return Object.assign(Object.assign({}, options), { headers, payload: JSON.stringify(payload) });
705
+ };
706
+ }
707
+
708
+ var papaparse_min = {exports: {}};
709
+
710
+ /* @license
711
+ Papa Parse
712
+ v5.3.2
713
+ https://github.com/mholt/PapaParse
714
+ License: MIT
715
+ */
716
+
717
+ (function (module, exports) {
718
+ !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});
719
+ }(papaparse_min));
720
+
721
+ var es2018$3 = {};
722
+
723
+ var customError = {};
724
+
725
+ var es2018$2 = {};
726
+
727
+ var middleware = {};
728
+
729
+ var chunkAsync$1 = {};
730
+
731
+ var es2018$1 = {};
732
+
733
+ var go$1 = {};
734
+
735
+ go$1.go = void 0;
736
+ function go(fn) {
737
+ return fn();
738
+ }
739
+ go$1.go = go;
740
+
741
+ (function (exports) {
742
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
743
+ if (k2 === undefined) k2 = k;
744
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
745
+ }) : (function(o, m, k, k2) {
746
+ if (k2 === undefined) k2 = k;
747
+ o[k2] = m[k];
748
+ }));
749
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
750
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
751
+ };__exportStar(go$1, exports);
1120
752
 
1121
753
  }(es2018$1));
1122
754
 
755
+ chunkAsync$1.chunkAsync = void 0;
756
+ const go_1$f = es2018$1;
757
+ const errors_1$f = es2018$3;
758
+ function chunkAsync(iterable, size) {
759
+ (0, errors_1$f.assert)(Number.isInteger(size), 'The parameter size must be an integer');
760
+ (0, errors_1$f.assert)(size > 0, 'The parameter size must be greater than 0');
761
+ return (0, go_1$f.go)(async function* () {
762
+ let buffer = [];
763
+ for await (const element of iterable) {
764
+ buffer.push(element);
765
+ if (buffer.length >= size) {
766
+ yield buffer;
767
+ buffer = [];
768
+ }
769
+ }
770
+ if (buffer.length)
771
+ yield buffer;
772
+ });
773
+ }
774
+ chunkAsync$1.chunkAsync = chunkAsync;
775
+
776
+ var chunkByAsync$1 = {};
777
+
1123
778
  chunkByAsync$1.chunkByAsync = void 0;
1124
- const types_1$k = es2018$1;
779
+ const types_1$k = es2018$4;
1125
780
  function chunkByAsync(iterable, predicate) {
1126
781
  if ((0, types_1$k.isAsyncIterable)(iterable)) {
1127
782
  return chunkByAsyncIterable(iterable);
@@ -1182,8 +837,8 @@ chunkBy$1.chunkBy = chunkBy;
1182
837
  var chunk$1 = {};
1183
838
 
1184
839
  chunk$1.chunk = void 0;
1185
- const go_1$e = es2018$3;
1186
- const errors_1$e = es2018$2;
840
+ const go_1$e = es2018$1;
841
+ const errors_1$e = es2018$3;
1187
842
  function chunk(iterable, size) {
1188
843
  (0, errors_1$e.assert)(Number.isInteger(size), 'The parameter size must be an integer');
1189
844
  (0, errors_1$e.assert)(size > 0, 'The parameter size must be greater than 0');
@@ -1205,8 +860,8 @@ chunk$1.chunk = chunk;
1205
860
  var concatAsync$1 = {};
1206
861
 
1207
862
  concatAsync$1.concatAsync = void 0;
1208
- const types_1$j = es2018$1;
1209
- const go_1$d = es2018$3;
863
+ const types_1$j = es2018$4;
864
+ const go_1$d = es2018$1;
1210
865
  function concatAsync(iterable, ...otherIterables) {
1211
866
  return (0, go_1$d.go)(async function* () {
1212
867
  for (const iter of [iterable, ...otherIterables]) {
@@ -1228,7 +883,7 @@ concatAsync$1.concatAsync = concatAsync;
1228
883
  var concat$1 = {};
1229
884
 
1230
885
  concat$1.concat = void 0;
1231
- const go_1$c = es2018$3;
886
+ const go_1$c = es2018$1;
1232
887
  function concat(iterable, ...otherIterables) {
1233
888
  return (0, go_1$c.go)(function* () {
1234
889
  for (const iter of [iterable, ...otherIterables]) {
@@ -1257,9 +912,9 @@ function* copyIterable(iterable) {
1257
912
  utils.copyIterable = copyIterable;
1258
913
 
1259
914
  dropAsync$1.dropAsync = void 0;
1260
- const go_1$b = es2018$3;
915
+ const go_1$b = es2018$1;
1261
916
  const utils_1$3 = utils;
1262
- const errors_1$d = es2018$2;
917
+ const errors_1$d = es2018$3;
1263
918
  function dropAsync(iterable, count) {
1264
919
  (0, errors_1$d.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1265
920
  (0, errors_1$d.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -1292,9 +947,9 @@ dropAsync$1.dropAsync = dropAsync;
1292
947
  var dropRightAsync$1 = {};
1293
948
 
1294
949
  dropRightAsync$1.dropRightAsync = void 0;
1295
- const go_1$a = es2018$3;
950
+ const go_1$a = es2018$1;
1296
951
  const utils_1$2 = utils;
1297
- const errors_1$c = es2018$2;
952
+ const errors_1$c = es2018$3;
1298
953
  function dropRightAsync(iterable, count) {
1299
954
  (0, errors_1$c.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1300
955
  (0, errors_1$c.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -1320,9 +975,9 @@ async function toArrayAsync$2(iterable) {
1320
975
  var dropRight$1 = {};
1321
976
 
1322
977
  dropRight$1.dropRight = void 0;
1323
- const go_1$9 = es2018$3;
978
+ const go_1$9 = es2018$1;
1324
979
  const utils_1$1 = utils;
1325
- const errors_1$b = es2018$2;
980
+ const errors_1$b = es2018$3;
1326
981
  function dropRight(iterable, count) {
1327
982
  (0, errors_1$b.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1328
983
  (0, errors_1$b.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -1338,7 +993,7 @@ dropRight$1.dropRight = dropRight;
1338
993
  var dropUntilAsync$1 = {};
1339
994
 
1340
995
  dropUntilAsync$1.dropUntilAsync = void 0;
1341
- const types_1$i = es2018$1;
996
+ const types_1$i = es2018$4;
1342
997
  function dropUntilAsync(iterable, predicate) {
1343
998
  if ((0, types_1$i.isAsyncIterable)(iterable)) {
1344
999
  return dropUntilAsyncIterable(iterable);
@@ -1420,9 +1075,9 @@ dropUntil$1.dropUntil = dropUntil;
1420
1075
  var drop$1 = {};
1421
1076
 
1422
1077
  drop$1.drop = void 0;
1423
- const go_1$8 = es2018$3;
1078
+ const go_1$8 = es2018$1;
1424
1079
  const utils_1 = utils;
1425
- const errors_1$a = es2018$2;
1080
+ const errors_1$a = es2018$3;
1426
1081
  function drop(iterable, count) {
1427
1082
  (0, errors_1$a.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1428
1083
  (0, errors_1$a.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -1455,7 +1110,7 @@ drop$1.drop = drop;
1455
1110
  var filterAsync$1 = {};
1456
1111
 
1457
1112
  filterAsync$1.filterAsync = void 0;
1458
- const types_1$h = es2018$1;
1113
+ const types_1$h = es2018$4;
1459
1114
  function filterAsync(iterable, predicate) {
1460
1115
  if ((0, types_1$h.isAsyncIterable)(iterable)) {
1461
1116
  return filterAsyncIterable(iterable);
@@ -1502,7 +1157,7 @@ var flattenDeepAsync$1 = {};
1502
1157
  var flattenByAsync$1 = {};
1503
1158
 
1504
1159
  flattenByAsync$1.flattenByAsync = void 0;
1505
- const types_1$g = es2018$1;
1160
+ const types_1$g = es2018$4;
1506
1161
  function flattenByAsync(iterable, predicate) {
1507
1162
  if ((0, types_1$g.isAsyncIterable)(iterable)) {
1508
1163
  return flattenByAsyncIterable(iterable);
@@ -1542,7 +1197,7 @@ function isFiniteIterable$1(val) {
1542
1197
 
1543
1198
  flattenDeepAsync$1.flattenDeepAsync = void 0;
1544
1199
  const flatten_by_async_1 = flattenByAsync$1;
1545
- const errors_1$9 = es2018$2;
1200
+ const errors_1$9 = es2018$3;
1546
1201
  function flattenDeepAsync(iterable, depth = Infinity) {
1547
1202
  (0, errors_1$9.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
1548
1203
  (0, errors_1$9.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -1560,7 +1215,7 @@ flattenAsync$1.flattenAsync = flattenAsync;
1560
1215
  var flattenBy$1 = {};
1561
1216
 
1562
1217
  flattenBy$1.flattenBy = void 0;
1563
- const types_1$f = es2018$1;
1218
+ const types_1$f = es2018$4;
1564
1219
  function flattenBy(iterable, predicate) {
1565
1220
  return flatten(iterable, 1);
1566
1221
  function* flatten(iterable, level) {
@@ -1583,7 +1238,7 @@ var flattenDeep$1 = {};
1583
1238
 
1584
1239
  flattenDeep$1.flattenDeep = void 0;
1585
1240
  const flatten_by_1 = flattenBy$1;
1586
- const errors_1$8 = es2018$2;
1241
+ const errors_1$8 = es2018$3;
1587
1242
  function flattenDeep(iterable, depth = Infinity) {
1588
1243
  (0, errors_1$8.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
1589
1244
  (0, errors_1$8.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -1603,7 +1258,7 @@ flatten$1.flatten = flatten;
1603
1258
  var mapAsync$1 = {};
1604
1259
 
1605
1260
  mapAsync$1.mapAsync = void 0;
1606
- const types_1$e = es2018$1;
1261
+ const types_1$e = es2018$4;
1607
1262
  function mapAsync(iterable, fn) {
1608
1263
  if ((0, types_1$e.isAsyncIterable)(iterable)) {
1609
1264
  return mapAsyncIterable(iterable);
@@ -1643,8 +1298,8 @@ map$1.map = map;
1643
1298
  var repeatAsync$1 = {};
1644
1299
 
1645
1300
  repeatAsync$1.repeatAsync = void 0;
1646
- const go_1$7 = es2018$3;
1647
- const errors_1$7 = es2018$2;
1301
+ const go_1$7 = es2018$1;
1302
+ const errors_1$7 = es2018$3;
1648
1303
  function repeatAsync(iterable, times) {
1649
1304
  (0, errors_1$7.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
1650
1305
  (0, errors_1$7.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -1678,8 +1333,8 @@ function isProduction$1() {
1678
1333
  var repeat$1 = {};
1679
1334
 
1680
1335
  repeat$1.repeat = void 0;
1681
- const go_1$6 = es2018$3;
1682
- const errors_1$6 = es2018$2;
1336
+ const go_1$6 = es2018$1;
1337
+ const errors_1$6 = es2018$3;
1683
1338
  function repeat(iterable, times) {
1684
1339
  (0, errors_1$6.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
1685
1340
  (0, errors_1$6.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -1713,8 +1368,8 @@ function isProduction() {
1713
1368
  var sliceAsync$1 = {};
1714
1369
 
1715
1370
  sliceAsync$1.sliceAsync = void 0;
1716
- const go_1$5 = es2018$3;
1717
- const errors_1$5 = es2018$2;
1371
+ const go_1$5 = es2018$1;
1372
+ const errors_1$5 = es2018$3;
1718
1373
  function sliceAsync(iterable, start, end = Infinity) {
1719
1374
  (0, errors_1$5.assert)(Number.isInteger(start), 'The parameter start must be an integer');
1720
1375
  (0, errors_1$5.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -1736,8 +1391,8 @@ sliceAsync$1.sliceAsync = sliceAsync;
1736
1391
  var slice$1 = {};
1737
1392
 
1738
1393
  slice$1.slice = void 0;
1739
- const go_1$4 = es2018$3;
1740
- const errors_1$4 = es2018$2;
1394
+ const go_1$4 = es2018$1;
1395
+ const errors_1$4 = es2018$3;
1741
1396
  function slice(iterable, start, end = Infinity) {
1742
1397
  (0, errors_1$4.assert)(Number.isInteger(start), 'The parameter start must be an integer');
1743
1398
  (0, errors_1$4.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -1777,7 +1432,7 @@ splitAsync$1.splitAsync = splitAsync;
1777
1432
  var splitByAsync$1 = {};
1778
1433
 
1779
1434
  splitByAsync$1.splitByAsync = void 0;
1780
- const types_1$d = es2018$1;
1435
+ const types_1$d = es2018$4;
1781
1436
  function splitByAsync(iterable, predicate) {
1782
1437
  if ((0, types_1$d.isAsyncIterable)(iterable)) {
1783
1438
  return splitByAsyncIterable(iterable);
@@ -1859,8 +1514,8 @@ split$1.split = split;
1859
1514
  var takeAsync$1 = {};
1860
1515
 
1861
1516
  takeAsync$1.takeAsync = void 0;
1862
- const go_1$3 = es2018$3;
1863
- const errors_1$3 = es2018$2;
1517
+ const go_1$3 = es2018$1;
1518
+ const errors_1$3 = es2018$3;
1864
1519
  function takeAsync(iterable, count) {
1865
1520
  (0, errors_1$3.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1866
1521
  (0, errors_1$3.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -1880,8 +1535,8 @@ takeAsync$1.takeAsync = takeAsync;
1880
1535
  var takeRightAsync$1 = {};
1881
1536
 
1882
1537
  takeRightAsync$1.takeRightAsync = void 0;
1883
- const go_1$2 = es2018$3;
1884
- const errors_1$2 = es2018$2;
1538
+ const go_1$2 = es2018$1;
1539
+ const errors_1$2 = es2018$3;
1885
1540
  function takeRightAsync(iterable, count) {
1886
1541
  (0, errors_1$2.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1887
1542
  (0, errors_1$2.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -1910,8 +1565,8 @@ takeRightAsync$1.takeRightAsync = takeRightAsync;
1910
1565
  var takeRight$1 = {};
1911
1566
 
1912
1567
  takeRight$1.takeRight = void 0;
1913
- const go_1$1 = es2018$3;
1914
- const errors_1$1 = es2018$2;
1568
+ const go_1$1 = es2018$1;
1569
+ const errors_1$1 = es2018$3;
1915
1570
  function takeRight(iterable, count) {
1916
1571
  (0, errors_1$1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1917
1572
  (0, errors_1$1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -1940,7 +1595,7 @@ takeRight$1.takeRight = takeRight;
1940
1595
  var takeUntilAsync$1 = {};
1941
1596
 
1942
1597
  takeUntilAsync$1.takeUntilAsync = void 0;
1943
- const types_1$c = es2018$1;
1598
+ const types_1$c = es2018$4;
1944
1599
  function takeUntilAsync(iterable, predicate) {
1945
1600
  if ((0, types_1$c.isAsyncIterable)(iterable)) {
1946
1601
  return takeUntilAsyncIterable(iterable);
@@ -1986,8 +1641,8 @@ takeUntil$1.takeUntil = takeUntil;
1986
1641
  var take$1 = {};
1987
1642
 
1988
1643
  take$1.take = void 0;
1989
- const go_1 = es2018$3;
1990
- const errors_1 = es2018$2;
1644
+ const go_1 = es2018$1;
1645
+ const errors_1 = es2018$3;
1991
1646
  function take(iterable, count) {
1992
1647
  (0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
1993
1648
  (0, errors_1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2007,7 +1662,7 @@ take$1.take = take;
2007
1662
  var tapAsync$1 = {};
2008
1663
 
2009
1664
  tapAsync$1.tapAsync = void 0;
2010
- const types_1$b = es2018$1;
1665
+ const types_1$b = es2018$4;
2011
1666
  function tapAsync(iterable, fn) {
2012
1667
  if ((0, types_1$b.isAsyncIterable)(iterable)) {
2013
1668
  return tapAsyncIterable(iterable);
@@ -2090,7 +1745,7 @@ uniqAsync$1.uniqAsync = uniqAsync;
2090
1745
  var uniqByAsync$1 = {};
2091
1746
 
2092
1747
  uniqByAsync$1.uniqByAsync = void 0;
2093
- const types_1$a = es2018$1;
1748
+ const types_1$a = es2018$4;
2094
1749
  function uniqByAsync(iterable, fn) {
2095
1750
  if ((0, types_1$a.isAsyncIterable)(iterable)) {
2096
1751
  return uniqByAsyncIterable(iterable);
@@ -2159,7 +1814,7 @@ uniq$1.uniq = uniq;
2159
1814
  var zipAsync$1 = {};
2160
1815
 
2161
1816
  zipAsync$1.zipAsync = void 0;
2162
- const types_1$9 = es2018$1;
1817
+ const types_1$9 = es2018$4;
2163
1818
  var Kind;
2164
1819
  (function (Kind) {
2165
1820
  Kind[Kind["Sync"] = 0] = "Sync";
@@ -2249,7 +1904,11 @@ function* zipWithSize(...iterables) {
2249
1904
  (function (exports) {
2250
1905
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
2251
1906
  if (k2 === undefined) k2 = k;
2252
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
1907
+ var desc = Object.getOwnPropertyDescriptor(m, k);
1908
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
1909
+ desc = { enumerable: true, get: function() { return m[k]; } };
1910
+ }
1911
+ Object.defineProperty(o, k2, desc);
2253
1912
  }) : (function(o, m, k, k2) {
2254
1913
  if (k2 === undefined) k2 = k;
2255
1914
  o[k2] = m[k];
@@ -2319,7 +1978,7 @@ consume$1.consume = consume;
2319
1978
  var eachAsync$1 = {};
2320
1979
 
2321
1980
  eachAsync$1.eachAsync = void 0;
2322
- const types_1$8 = es2018$1;
1981
+ const types_1$8 = es2018$4;
2323
1982
  function eachAsync(iterable, fn) {
2324
1983
  if ((0, types_1$8.isAsyncIterable)(iterable)) {
2325
1984
  return eachAsyncIterable(iterable);
@@ -2359,7 +2018,7 @@ each$1.each = each;
2359
2018
  var everyAsync$1 = {};
2360
2019
 
2361
2020
  everyAsync$1.everyAsync = void 0;
2362
- const types_1$7 = es2018$1;
2021
+ const types_1$7 = es2018$4;
2363
2022
  function everyAsync(iterable, predicate) {
2364
2023
  if ((0, types_1$7.isAsyncIterable)(iterable)) {
2365
2024
  return everyAsyncIterable(iterable);
@@ -2405,7 +2064,7 @@ every$1.every = every;
2405
2064
  var findAsync$1 = {};
2406
2065
 
2407
2066
  findAsync$1.findAsync = void 0;
2408
- const types_1$6 = es2018$1;
2067
+ const types_1$6 = es2018$4;
2409
2068
  function findAsync(iterable, predicate) {
2410
2069
  if ((0, types_1$6.isAsyncIterable)(iterable)) {
2411
2070
  return findAsyncIterable(iterable);
@@ -2529,7 +2188,7 @@ match$1.match = match;
2529
2188
  var reduceAsync$1 = {};
2530
2189
 
2531
2190
  reduceAsync$1.reduceAsync = void 0;
2532
- const types_1$5 = es2018$1;
2191
+ const types_1$5 = es2018$4;
2533
2192
  function reduceAsync(iterable, fn, initialValue) {
2534
2193
  if ((0, types_1$5.isUndefined)(initialValue)) {
2535
2194
  return reduceAsyncWithoutInitialValue(iterable, fn);
@@ -2625,7 +2284,7 @@ function reduceAsyncWithoutInitialValue(iterable, fn) {
2625
2284
  var reduce$1 = {};
2626
2285
 
2627
2286
  reduce$1.reduce = void 0;
2628
- const types_1$4 = es2018$1;
2287
+ const types_1$4 = es2018$4;
2629
2288
  function reduce(iterable, fn, initialValue) {
2630
2289
  if ((0, types_1$4.isUndefined)(initialValue)) {
2631
2290
  return reduceWithoutInitialValue(iterable, fn);
@@ -2672,7 +2331,7 @@ function reduceWithoutInitialValue(iterable, fn) {
2672
2331
  var someAsync$1 = {};
2673
2332
 
2674
2333
  someAsync$1.someAsync = void 0;
2675
- const types_1$3 = es2018$1;
2334
+ const types_1$3 = es2018$4;
2676
2335
  function someAsync(iterable, predicate) {
2677
2336
  if ((0, types_1$3.isAsyncIterable)(iterable)) {
2678
2337
  return someAsyncIterable(iterable);
@@ -2810,7 +2469,11 @@ toSet$1.toSet = toSet;
2810
2469
  (function (exports) {
2811
2470
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
2812
2471
  if (k2 === undefined) k2 = k;
2813
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
2472
+ var desc = Object.getOwnPropertyDescriptor(m, k);
2473
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
2474
+ desc = { enumerable: true, get: function() { return m[k]; } };
2475
+ }
2476
+ Object.defineProperty(o, k2, desc);
2814
2477
  }) : (function(o, m, k, k2) {
2815
2478
  if (k2 === undefined) k2 = k;
2816
2479
  o[k2] = m[k];
@@ -2846,7 +2509,11 @@ __exportStar(toSet$1, exports);
2846
2509
  (function (exports) {
2847
2510
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
2848
2511
  if (k2 === undefined) k2 = k;
2849
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
2512
+ var desc = Object.getOwnPropertyDescriptor(m, k);
2513
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
2514
+ desc = { enumerable: true, get: function() { return m[k]; } };
2515
+ }
2516
+ Object.defineProperty(o, k2, desc);
2850
2517
  }) : (function(o, m, k, k2) {
2851
2518
  if (k2 === undefined) k2 = k;
2852
2519
  o[k2] = m[k];
@@ -2856,7 +2523,7 @@ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m
2856
2523
  };__exportStar(middleware, exports);
2857
2524
  __exportStar(output, exports);
2858
2525
 
2859
- }(es2018$4));
2526
+ }(es2018$2));
2860
2527
 
2861
2528
  var getErrorNames$1 = {};
2862
2529
 
@@ -2874,7 +2541,7 @@ function* traverseErrorPrototypeChain(err) {
2874
2541
  traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
2875
2542
 
2876
2543
  getErrorNames$1.getErrorNames = void 0;
2877
- const types_1$2 = es2018$6;
2544
+ const types_1$2 = es2018$4;
2878
2545
  const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
2879
2546
  function* getErrorNames(err) {
2880
2547
  var _a;
@@ -2895,7 +2562,7 @@ getErrorNames$1.getErrorNames = getErrorNames;
2895
2562
  var serializableError = {};
2896
2563
 
2897
2564
  serializableError.isSerializableError = void 0;
2898
- const types_1$1 = es2018$6;
2565
+ const types_1$1 = es2018$4;
2899
2566
  function isSerializableError(val) {
2900
2567
  return (0, types_1$1.isObject)(val)
2901
2568
  && (0, types_1$1.isString)(val.name)
@@ -2905,10 +2572,10 @@ function isSerializableError(val) {
2905
2572
  }
2906
2573
  serializableError.isSerializableError = isSerializableError;
2907
2574
 
2908
- customError$1.CustomError = void 0;
2909
- const iterable_operator_1$1 = es2018$4;
2575
+ customError.CustomError = void 0;
2576
+ const iterable_operator_1$1 = es2018$2;
2910
2577
  const get_error_names_1$1 = getErrorNames$1;
2911
- const types_1 = es2018$6;
2578
+ const types_1 = es2018$4;
2912
2579
  const serializable_error_1 = serializableError;
2913
2580
  class CustomError extends Error {
2914
2581
  get name() {
@@ -2930,12 +2597,12 @@ class CustomError extends Error {
2930
2597
  }
2931
2598
  }
2932
2599
  }
2933
- customError$1.CustomError = CustomError;
2600
+ customError.CustomError = CustomError;
2934
2601
 
2935
2602
  var assertionError = {};
2936
2603
 
2937
2604
  assertionError.AssertionError = void 0;
2938
- const custom_error_1 = customError$1;
2605
+ const custom_error_1 = customError;
2939
2606
  class AssertionError extends custom_error_1.CustomError {
2940
2607
  }
2941
2608
  assertionError.AssertionError = AssertionError;
@@ -2944,7 +2611,7 @@ var normalize$1 = {};
2944
2611
 
2945
2612
  normalize$1.normalize = void 0;
2946
2613
  const get_error_names_1 = getErrorNames$1;
2947
- const iterable_operator_1 = es2018$4;
2614
+ const iterable_operator_1 = es2018$2;
2948
2615
  function normalize(err) {
2949
2616
  var _a;
2950
2617
  const [name, ...ancestors] = (0, iterable_operator_1.toArray)((0, get_error_names_1.getErrorNames)(err));
@@ -3020,14 +2687,18 @@ assert$1.assert = assert;
3020
2687
  (function (exports) {
3021
2688
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3022
2689
  if (k2 === undefined) k2 = k;
3023
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
2690
+ var desc = Object.getOwnPropertyDescriptor(m, k);
2691
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
2692
+ desc = { enumerable: true, get: function() { return m[k]; } };
2693
+ }
2694
+ Object.defineProperty(o, k2, desc);
3024
2695
  }) : (function(o, m, k, k2) {
3025
2696
  if (k2 === undefined) k2 = k;
3026
2697
  o[k2] = m[k];
3027
2698
  }));
3028
2699
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
3029
2700
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
3030
- };__exportStar(customError$1, exports);
2701
+ };__exportStar(customError, exports);
3031
2702
  __exportStar(assertionError, exports);
3032
2703
  __exportStar(serializableError, exports);
3033
2704
  __exportStar(normalize$1, exports);
@@ -3036,12 +2707,12 @@ __exportStar(assert$1, exports);
3036
2707
  __exportStar(getErrorNames$1, exports);
3037
2708
  __exportStar(traverseErrorPrototypeChain$1, exports);
3038
2709
 
3039
- }(es2018$5));
2710
+ }(es2018$3));
3040
2711
 
3041
2712
  function csv(payload) {
3042
- es2018$5.assert(payload.length > 0, 'payload must be a non-empty array');
2713
+ es2018$3.assert(payload.length > 0, 'payload must be a non-empty array');
3043
2714
  return (options) => {
3044
- const headers = new es2018$7.Headers(options.headers);
2715
+ const headers = new es2018$5.Headers(options.headers);
3045
2716
  headers.set('Content-Type', 'text/csv');
3046
2717
  return Object.assign(Object.assign({}, options), { headers, payload: stringify(payload) });
3047
2718
  };
@@ -3059,7 +2730,7 @@ function signal(signal) {
3059
2730
 
3060
2731
  function header(name, value) {
3061
2732
  return (options) => {
3062
- const headers = new es2018$7.Headers(options.headers);
2733
+ const headers = new es2018$5.Headers(options.headers);
3063
2734
  headers.set(name, value);
3064
2735
  return Object.assign(Object.assign({}, options), { headers });
3065
2736
  };
@@ -3067,7 +2738,7 @@ function header(name, value) {
3067
2738
 
3068
2739
  function appendHeader(name, value) {
3069
2740
  return (options) => {
3070
- const headers = new es2018$7.Headers(options.headers);
2741
+ const headers = new es2018$5.Headers(options.headers);
3071
2742
  headers.append(name, value);
3072
2743
  return Object.assign(Object.assign({}, options), { headers });
3073
2744
  };
@@ -3075,7 +2746,7 @@ function appendHeader(name, value) {
3075
2746
 
3076
2747
  function headers(headers) {
3077
2748
  return (options) => {
3078
- const newHeaders = new es2018$7.Headers(options.headers);
2749
+ const newHeaders = new es2018$5.Headers(options.headers);
3079
2750
  for (const [name, value] of Object.entries(headers)) {
3080
2751
  newHeaders.set(name, value);
3081
2752
  }
@@ -3153,10 +2824,10 @@ function appendSearchParam(name, value) {
3153
2824
 
3154
2825
  function formDataField(name, value) {
3155
2826
  return (options) => {
3156
- const formData = options.payload instanceof es2018$7.FormData
2827
+ const formData = options.payload instanceof es2018$5.FormData
3157
2828
  ? cloneFormData(options.payload)
3158
- : new es2018$7.FormData();
3159
- if (es2018$6.isArray(value)) {
2829
+ : new es2018$5.FormData();
2830
+ if (es2018$4.isArray(value)) {
3160
2831
  value.forEach(x => formData.append(name, x));
3161
2832
  }
3162
2833
  else {
@@ -3166,7 +2837,7 @@ function formDataField(name, value) {
3166
2837
  };
3167
2838
  }
3168
2839
  function cloneFormData(formData) {
3169
- const result = new es2018$7.FormData();
2840
+ const result = new es2018$5.FormData();
3170
2841
  for (const [name, value] of formData.entries()) {
3171
2842
  result.append(name, value);
3172
2843
  }
@@ -3242,5 +2913,5 @@ function keepalive(val = true) {
3242
2913
  };
3243
2914
  }
3244
2915
 
3245
- export { accept, appendHeader, appendSearchParam, basicAuth, bearerAuth, csv, del, formDataField, get, head, header, headers, host, json$1 as json, keepalive, patch, pathname, port, post, put, search, searchParam, searchParams, signal, text, url$1 as url };
2916
+ export { accept, appendHeader, appendSearchParam, basicAuth, bearerAuth, csv, del, formDataField, get, head, header, headers, host, json, keepalive, patch, pathname, port, post, put, search, searchParam, searchParams, signal, text, url };
3246
2917
  //# sourceMappingURL=index.mjs.map