@blackglory/estore-js 0.1.0 → 0.1.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.
@@ -21,7 +21,7 @@
21
21
  return a;
22
22
  }
23
23
 
24
- var es2018$d = {};
24
+ var es2018$c = {};
25
25
 
26
26
  var fetch_browser = {};
27
27
 
@@ -88,9 +88,9 @@
88
88
  __exportStar(blob_browser, exports);
89
89
  __exportStar(eventSource_browser, exports);
90
90
 
91
- }(es2018$d));
91
+ }(es2018$c));
92
92
 
93
- var es2018$c = {};
93
+ var es2018$b = {};
94
94
 
95
95
  var types = /*#__PURE__*/Object.freeze({
96
96
  __proto__: null
@@ -100,193 +100,193 @@
100
100
 
101
101
  var request$1 = {};
102
102
 
103
- var es2018$b = {};
103
+ var es2018$a = {};
104
104
 
105
- var array$2 = {};
105
+ var array$1 = {};
106
106
 
107
- array$2.isntEmptyArray = array$2.isEmptyArray = array$2.isntArray = array$2.isArray = void 0;
108
- function isArray$2(val) {
107
+ array$1.isntEmptyArray = array$1.isEmptyArray = array$1.isntArray = array$1.isArray = void 0;
108
+ function isArray$1(val) {
109
109
  return Array.isArray(val);
110
110
  }
111
- array$2.isArray = isArray$2;
112
- function isntArray$2(val) {
113
- return !isArray$2(val);
111
+ array$1.isArray = isArray$1;
112
+ function isntArray$1(val) {
113
+ return !isArray$1(val);
114
114
  }
115
- array$2.isntArray = isntArray$2;
116
- function isEmptyArray$2(val) {
115
+ array$1.isntArray = isntArray$1;
116
+ function isEmptyArray$1(val) {
117
117
  return val.length === 0;
118
118
  }
119
- array$2.isEmptyArray = isEmptyArray$2;
120
- function isntEmptyArray$2(val) {
119
+ array$1.isEmptyArray = isEmptyArray$1;
120
+ function isntEmptyArray$1(val) {
121
121
  return val.length !== 0;
122
122
  }
123
- array$2.isntEmptyArray = isntEmptyArray$2;
123
+ array$1.isntEmptyArray = isntEmptyArray$1;
124
124
 
125
- var asyncIterable$2 = {};
125
+ var asyncIterable$1 = {};
126
126
 
127
- var _null$2 = {};
127
+ var _null$1 = {};
128
128
 
129
- _null$2.isntNull = _null$2.isNull = void 0;
130
- function isNull$2(val) {
129
+ _null$1.isntNull = _null$1.isNull = void 0;
130
+ function isNull$1(val) {
131
131
  return val === null;
132
132
  }
133
- _null$2.isNull = isNull$2;
134
- function isntNull$2(val) {
135
- return !isNull$2(val);
133
+ _null$1.isNull = isNull$1;
134
+ function isntNull$1(val) {
135
+ return !isNull$1(val);
136
136
  }
137
- _null$2.isntNull = isntNull$2;
137
+ _null$1.isntNull = isntNull$1;
138
138
 
139
- var _undefined$2 = {};
139
+ var _undefined$1 = {};
140
140
 
141
- _undefined$2.isntUndefined = _undefined$2.isUndefined = void 0;
142
- function isUndefined$2(val) {
141
+ _undefined$1.isntUndefined = _undefined$1.isUndefined = void 0;
142
+ function isUndefined$1(val) {
143
143
  return val === undefined;
144
144
  }
145
- _undefined$2.isUndefined = isUndefined$2;
146
- function isntUndefined$2(val) {
147
- return !isUndefined$2(val);
145
+ _undefined$1.isUndefined = isUndefined$1;
146
+ function isntUndefined$1(val) {
147
+ return !isUndefined$1(val);
148
148
  }
149
- _undefined$2.isntUndefined = isntUndefined$2;
149
+ _undefined$1.isntUndefined = isntUndefined$1;
150
150
 
151
- asyncIterable$2.isntAsyncIterable = asyncIterable$2.isAsyncIterable = void 0;
152
- const null_1$5 = _null$2;
153
- const undefined_1$8 = _undefined$2;
154
- function isAsyncIterable$2(val) {
155
- return (0, null_1$5.isntNull)(val)
156
- && (0, undefined_1$8.isntUndefined)(val)
151
+ asyncIterable$1.isntAsyncIterable = asyncIterable$1.isAsyncIterable = void 0;
152
+ const null_1$3 = _null$1;
153
+ const undefined_1$5 = _undefined$1;
154
+ function isAsyncIterable$1(val) {
155
+ return (0, null_1$3.isntNull)(val)
156
+ && (0, undefined_1$5.isntUndefined)(val)
157
157
  && typeof val[Symbol.asyncIterator] === 'function';
158
158
  }
159
- asyncIterable$2.isAsyncIterable = isAsyncIterable$2;
160
- function isntAsyncIterable$2(val) {
161
- return !isAsyncIterable$2(val);
159
+ asyncIterable$1.isAsyncIterable = isAsyncIterable$1;
160
+ function isntAsyncIterable$1(val) {
161
+ return !isAsyncIterable$1(val);
162
162
  }
163
- asyncIterable$2.isntAsyncIterable = isntAsyncIterable$2;
163
+ asyncIterable$1.isntAsyncIterable = isntAsyncIterable$1;
164
164
 
165
- var bigint$2 = {};
165
+ var bigint$1 = {};
166
166
 
167
- bigint$2.isntBigInt = bigint$2.isBigInt = void 0;
168
- function isBigInt$2(val) {
167
+ bigint$1.isntBigInt = bigint$1.isBigInt = void 0;
168
+ function isBigInt$1(val) {
169
169
  return typeof val === 'bigint';
170
170
  }
171
- bigint$2.isBigInt = isBigInt$2;
172
- function isntBigInt$2(val) {
173
- return !isBigInt$2(val);
171
+ bigint$1.isBigInt = isBigInt$1;
172
+ function isntBigInt$1(val) {
173
+ return !isBigInt$1(val);
174
174
  }
175
- bigint$2.isntBigInt = isntBigInt$2;
175
+ bigint$1.isntBigInt = isntBigInt$1;
176
176
 
177
- var boolean$2 = {};
177
+ var boolean$1 = {};
178
178
 
179
- boolean$2.isntBoolean = boolean$2.isBoolean = void 0;
180
- function isBoolean$2(val) {
179
+ boolean$1.isntBoolean = boolean$1.isBoolean = void 0;
180
+ function isBoolean$1(val) {
181
181
  return typeof val === 'boolean';
182
182
  }
183
- boolean$2.isBoolean = isBoolean$2;
184
- function isntBoolean$2(val) {
185
- return !isBoolean$2(val);
183
+ boolean$1.isBoolean = isBoolean$1;
184
+ function isntBoolean$1(val) {
185
+ return !isBoolean$1(val);
186
186
  }
187
- boolean$2.isntBoolean = isntBoolean$2;
187
+ boolean$1.isntBoolean = isntBoolean$1;
188
188
 
189
- var char$2 = {};
189
+ var char$1 = {};
190
190
 
191
- var string$2 = {};
191
+ var string$1 = {};
192
192
 
193
- string$2.isntString = string$2.isString = void 0;
194
- function isString$2(val) {
193
+ string$1.isntString = string$1.isString = void 0;
194
+ function isString$1(val) {
195
195
  return typeof val === 'string';
196
196
  }
197
- string$2.isString = isString$2;
198
- function isntString$2(val) {
199
- return !isString$2(val);
197
+ string$1.isString = isString$1;
198
+ function isntString$1(val) {
199
+ return !isString$1(val);
200
200
  }
201
- string$2.isntString = isntString$2;
201
+ string$1.isntString = isntString$1;
202
202
 
203
- char$2.isntChar = char$2.isChar = void 0;
204
- const string_1$5 = string$2;
205
- function isChar$2(val) {
206
- return (0, string_1$5.isString)(val)
203
+ char$1.isntChar = char$1.isChar = void 0;
204
+ const string_1$3 = string$1;
205
+ function isChar$1(val) {
206
+ return (0, string_1$3.isString)(val)
207
207
  && val.length === 1;
208
208
  }
209
- char$2.isChar = isChar$2;
210
- function isntChar$2(val) {
211
- return !isChar$2(val);
209
+ char$1.isChar = isChar$1;
210
+ function isntChar$1(val) {
211
+ return !isChar$1(val);
212
212
  }
213
- char$2.isntChar = isntChar$2;
213
+ char$1.isntChar = isntChar$1;
214
214
 
215
- var date$2 = {};
215
+ var date$1 = {};
216
216
 
217
- date$2.isntDate = date$2.isDate = void 0;
218
- function isDate$2(val) {
217
+ date$1.isntDate = date$1.isDate = void 0;
218
+ function isDate$1(val) {
219
219
  return val instanceof Date;
220
220
  }
221
- date$2.isDate = isDate$2;
222
- function isntDate$2(val) {
223
- return !isDate$2(val);
221
+ date$1.isDate = isDate$1;
222
+ function isntDate$1(val) {
223
+ return !isDate$1(val);
224
224
  }
225
- date$2.isntDate = isntDate$2;
225
+ date$1.isntDate = isntDate$1;
226
226
 
227
- var _enum$3 = {};
227
+ var _enum$2 = {};
228
228
 
229
- _enum$3.inEnum = void 0;
230
- function inEnum$2(val, _enum) {
229
+ _enum$2.inEnum = void 0;
230
+ function inEnum$1(val, _enum) {
231
231
  return Object.values(_enum).includes(val);
232
232
  }
233
- _enum$3.inEnum = inEnum$2;
233
+ _enum$2.inEnum = inEnum$1;
234
234
 
235
- var error$2 = {};
235
+ var error$1 = {};
236
236
 
237
- error$2.isntError = error$2.isError = void 0;
238
- function isError$2(val) {
237
+ error$1.isntError = error$1.isError = void 0;
238
+ function isError$1(val) {
239
239
  return val instanceof Error;
240
240
  }
241
- error$2.isError = isError$2;
242
- function isntError$2(val) {
243
- return !isError$2(val);
241
+ error$1.isError = isError$1;
242
+ function isntError$1(val) {
243
+ return !isError$1(val);
244
244
  }
245
- error$2.isntError = isntError$2;
245
+ error$1.isntError = isntError$1;
246
246
 
247
- var falsy$2 = {};
247
+ var falsy$1 = {};
248
248
 
249
- falsy$2.isntFalsy = falsy$2.isFalsy = void 0;
250
- function isFalsy$2(val) {
249
+ falsy$1.isntFalsy = falsy$1.isFalsy = void 0;
250
+ function isFalsy$1(val) {
251
251
  return !val;
252
252
  }
253
- falsy$2.isFalsy = isFalsy$2;
254
- function isntFalsy$2(val) {
255
- return !isFalsy$2(val);
253
+ falsy$1.isFalsy = isFalsy$1;
254
+ function isntFalsy$1(val) {
255
+ return !isFalsy$1(val);
256
256
  }
257
- falsy$2.isntFalsy = isntFalsy$2;
257
+ falsy$1.isntFalsy = isntFalsy$1;
258
258
 
259
- var _function$2 = {};
259
+ var _function$1 = {};
260
260
 
261
- _function$2.isntFunction = _function$2.isFunction = void 0;
262
- function isFunction$2(val) {
261
+ _function$1.isntFunction = _function$1.isFunction = void 0;
262
+ function isFunction$1(val) {
263
263
  return typeof val === 'function';
264
264
  }
265
- _function$2.isFunction = isFunction$2;
266
- function isntFunction$2(val) {
267
- return !isFunction$2(val);
265
+ _function$1.isFunction = isFunction$1;
266
+ function isntFunction$1(val) {
267
+ return !isFunction$1(val);
268
268
  }
269
- _function$2.isntFunction = isntFunction$2;
269
+ _function$1.isntFunction = isntFunction$1;
270
270
 
271
- var iterable$2 = {};
271
+ var iterable$1 = {};
272
272
 
273
- iterable$2.isntIterable = iterable$2.isIterable = void 0;
274
- const null_1$4 = _null$2;
275
- const undefined_1$7 = _undefined$2;
276
- function isIterable$2(val) {
277
- return (0, null_1$4.isntNull)(val)
278
- && (0, undefined_1$7.isntUndefined)(val)
273
+ iterable$1.isntIterable = iterable$1.isIterable = void 0;
274
+ const null_1$2 = _null$1;
275
+ const undefined_1$4 = _undefined$1;
276
+ function isIterable$1(val) {
277
+ return (0, null_1$2.isntNull)(val)
278
+ && (0, undefined_1$4.isntUndefined)(val)
279
279
  && typeof val[Symbol.iterator] === 'function';
280
280
  }
281
- iterable$2.isIterable = isIterable$2;
282
- function isntIterable$2(val) {
283
- return !isIterable$2(val);
281
+ iterable$1.isIterable = isIterable$1;
282
+ function isntIterable$1(val) {
283
+ return !isIterable$1(val);
284
284
  }
285
- iterable$2.isntIterable = isntIterable$2;
285
+ iterable$1.isntIterable = isntIterable$1;
286
286
 
287
- var jsonRpc$2 = {};
287
+ var jsonRpc$1 = {};
288
288
 
289
- var object$2 = {};
289
+ var object$1 = {};
290
290
 
291
291
  /**
292
292
  * lodash (Custom Build) <https://lodash.com/>
@@ -412,7 +412,7 @@
412
412
  * _.isPlainObject(Object.create(null));
413
413
  * // => true
414
414
  */
415
- function isPlainObject$3(value) {
415
+ function isPlainObject$2(value) {
416
416
  if (!isObjectLike(value) ||
417
417
  objectToString.call(value) != objectTag || isHostObject(value)) {
418
418
  return false;
@@ -426,119 +426,119 @@
426
426
  Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString);
427
427
  }
428
428
 
429
- var lodash_isplainobject = isPlainObject$3;
429
+ var lodash_isplainobject = isPlainObject$2;
430
430
 
431
- var __importDefault$3 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
431
+ var __importDefault$2 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
432
432
  return (mod && mod.__esModule) ? mod : { "default": mod };
433
- };object$2.isntEmptyObject = object$2.isEmptyObject = object$2.isntPlainObject = object$2.isPlainObject = object$2.isntObject = object$2.isObject = void 0;
434
- const lodash_isplainobject_1$2 = __importDefault$3(lodash_isplainobject);
435
- function isObject$2(val) {
433
+ };object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
434
+ const lodash_isplainobject_1$1 = __importDefault$2(lodash_isplainobject);
435
+ function isObject$1(val) {
436
436
  return val !== null
437
437
  && typeof val === 'object';
438
438
  }
439
- object$2.isObject = isObject$2;
440
- function isntObject$2(val) {
441
- return !isObject$2(val);
439
+ object$1.isObject = isObject$1;
440
+ function isntObject$1(val) {
441
+ return !isObject$1(val);
442
442
  }
443
- object$2.isntObject = isntObject$2;
444
- function isPlainObject$2(val) {
445
- return (0, lodash_isplainobject_1$2.default)(val);
443
+ object$1.isntObject = isntObject$1;
444
+ function isPlainObject$1(val) {
445
+ return (0, lodash_isplainobject_1$1.default)(val);
446
446
  }
447
- object$2.isPlainObject = isPlainObject$2;
448
- function isntPlainObject$2(val) {
449
- return !isPlainObject$2(val);
447
+ object$1.isPlainObject = isPlainObject$1;
448
+ function isntPlainObject$1(val) {
449
+ return !isPlainObject$1(val);
450
450
  }
451
- object$2.isntPlainObject = isntPlainObject$2;
452
- function isEmptyObject$2(val) {
451
+ object$1.isntPlainObject = isntPlainObject$1;
452
+ function isEmptyObject$1(val) {
453
453
  return Object.keys(val).length === 0;
454
454
  }
455
- object$2.isEmptyObject = isEmptyObject$2;
456
- function isntEmptyObject$2(val) {
455
+ object$1.isEmptyObject = isEmptyObject$1;
456
+ function isntEmptyObject$1(val) {
457
457
  return Object.keys(val).length !== 0;
458
458
  }
459
- object$2.isntEmptyObject = isntEmptyObject$2;
459
+ object$1.isntEmptyObject = isntEmptyObject$1;
460
460
 
461
- var number$2 = {};
461
+ var number$1 = {};
462
462
 
463
- number$2.isntNumber = number$2.isNumber = void 0;
464
- function isNumber$2(val) {
463
+ number$1.isntNumber = number$1.isNumber = void 0;
464
+ function isNumber$1(val) {
465
465
  return typeof val === 'number';
466
466
  }
467
- number$2.isNumber = isNumber$2;
468
- function isntNumber$2(val) {
469
- return !isNumber$2(val);
470
- }
471
- number$2.isntNumber = isntNumber$2;
472
-
473
- jsonRpc$2.isntJsonRpcError = jsonRpc$2.isJsonRpcError = jsonRpc$2.isntJsonRpcSuccess = jsonRpc$2.isJsonRpcSuccess = jsonRpc$2.isntJsonRpcRequest = jsonRpc$2.isJsonRpcRequest = jsonRpc$2.isntJsonRpcNotification = jsonRpc$2.isJsonRpcNotification = void 0;
474
- const array_1$2 = array$2;
475
- const object_1$2 = object$2;
476
- const string_1$4 = string$2;
477
- const number_1$2 = number$2;
478
- const undefined_1$6 = _undefined$2;
479
- function isJsonRpcId$2(val) {
480
- return (0, string_1$4.isString)(val) || (0, number_1$2.isNumber)(val);
481
- }
482
- function isJsonRpcParams$2(val) {
483
- return (0, array_1$2.isArray)(val) || (0, object_1$2.isObject)(val);
484
- }
485
- function isJsonRpcNotification$2(val) {
486
- return (0, object_1$2.isPlainObject)(val)
487
- && (0, string_1$4.isString)(val.jsonrpc)
488
- && (0, string_1$4.isString)(val.method)
489
- && (0, undefined_1$6.isUndefined)(val.id)
490
- && isJsonRpcParams$2(val.params);
491
- }
492
- jsonRpc$2.isJsonRpcNotification = isJsonRpcNotification$2;
493
- function isntJsonRpcNotification$2(val) {
494
- return !isJsonRpcNotification$2(val);
495
- }
496
- jsonRpc$2.isntJsonRpcNotification = isntJsonRpcNotification$2;
497
- function isJsonRpcRequest$2(val) {
498
- return (0, object_1$2.isPlainObject)(val)
499
- && (0, string_1$4.isString)(val.jsonrpc)
500
- && (0, string_1$4.isString)(val.method)
501
- && isJsonRpcId$2(val.id)
502
- && isJsonRpcParams$2(val.params);
503
- }
504
- jsonRpc$2.isJsonRpcRequest = isJsonRpcRequest$2;
505
- function isntJsonRpcRequest$2(val) {
506
- return !isJsonRpcRequest$2(val);
507
- }
508
- jsonRpc$2.isntJsonRpcRequest = isntJsonRpcRequest$2;
509
- function isJsonRpcSuccess$2(val) {
510
- return (0, object_1$2.isPlainObject)(val)
511
- && (0, string_1$4.isString)(val.jsonrpc)
512
- && (0, string_1$4.isString)(val.id)
467
+ number$1.isNumber = isNumber$1;
468
+ function isntNumber$1(val) {
469
+ return !isNumber$1(val);
470
+ }
471
+ number$1.isntNumber = isntNumber$1;
472
+
473
+ 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;
474
+ const array_1$1 = array$1;
475
+ const object_1$1 = object$1;
476
+ const string_1$2 = string$1;
477
+ const number_1$1 = number$1;
478
+ const undefined_1$3 = _undefined$1;
479
+ function isJsonRpcId$1(val) {
480
+ return (0, string_1$2.isString)(val) || (0, number_1$1.isNumber)(val);
481
+ }
482
+ function isJsonRpcParams$1(val) {
483
+ return (0, array_1$1.isArray)(val) || (0, object_1$1.isObject)(val);
484
+ }
485
+ function isJsonRpcNotification$1(val) {
486
+ return (0, object_1$1.isPlainObject)(val)
487
+ && (0, string_1$2.isString)(val.jsonrpc)
488
+ && (0, string_1$2.isString)(val.method)
489
+ && (0, undefined_1$3.isUndefined)(val.id)
490
+ && isJsonRpcParams$1(val.params);
491
+ }
492
+ jsonRpc$1.isJsonRpcNotification = isJsonRpcNotification$1;
493
+ function isntJsonRpcNotification$1(val) {
494
+ return !isJsonRpcNotification$1(val);
495
+ }
496
+ jsonRpc$1.isntJsonRpcNotification = isntJsonRpcNotification$1;
497
+ function isJsonRpcRequest$1(val) {
498
+ return (0, object_1$1.isPlainObject)(val)
499
+ && (0, string_1$2.isString)(val.jsonrpc)
500
+ && (0, string_1$2.isString)(val.method)
501
+ && isJsonRpcId$1(val.id)
502
+ && isJsonRpcParams$1(val.params);
503
+ }
504
+ jsonRpc$1.isJsonRpcRequest = isJsonRpcRequest$1;
505
+ function isntJsonRpcRequest$1(val) {
506
+ return !isJsonRpcRequest$1(val);
507
+ }
508
+ jsonRpc$1.isntJsonRpcRequest = isntJsonRpcRequest$1;
509
+ function isJsonRpcSuccess$1(val) {
510
+ return (0, object_1$1.isPlainObject)(val)
511
+ && (0, string_1$2.isString)(val.jsonrpc)
512
+ && (0, string_1$2.isString)(val.id)
513
513
  && 'result' in val;
514
514
  }
515
- jsonRpc$2.isJsonRpcSuccess = isJsonRpcSuccess$2;
516
- function isntJsonRpcSuccess$2(val) {
517
- return !isJsonRpcSuccess$2(val);
515
+ jsonRpc$1.isJsonRpcSuccess = isJsonRpcSuccess$1;
516
+ function isntJsonRpcSuccess$1(val) {
517
+ return !isJsonRpcSuccess$1(val);
518
518
  }
519
- jsonRpc$2.isntJsonRpcSuccess = isntJsonRpcSuccess$2;
520
- function isJsonRpcError$2(val) {
521
- return (0, object_1$2.isPlainObject)(val)
522
- && (0, string_1$4.isString)(val.jsonrpc)
523
- && isJsonRpcId$2(val.id)
524
- && isJsonRpcErrorObject$2(val.error);
519
+ jsonRpc$1.isntJsonRpcSuccess = isntJsonRpcSuccess$1;
520
+ function isJsonRpcError$1(val) {
521
+ return (0, object_1$1.isPlainObject)(val)
522
+ && (0, string_1$2.isString)(val.jsonrpc)
523
+ && isJsonRpcId$1(val.id)
524
+ && isJsonRpcErrorObject$1(val.error);
525
525
  }
526
- jsonRpc$2.isJsonRpcError = isJsonRpcError$2;
527
- function isntJsonRpcError$2(val) {
528
- return !isJsonRpcError$2(val);
526
+ jsonRpc$1.isJsonRpcError = isJsonRpcError$1;
527
+ function isntJsonRpcError$1(val) {
528
+ return !isJsonRpcError$1(val);
529
529
  }
530
- jsonRpc$2.isntJsonRpcError = isntJsonRpcError$2;
531
- function isJsonRpcErrorObject$2(val) {
532
- return (0, object_1$2.isPlainObject)(val)
533
- && (0, number_1$2.isNumber)(val.code)
534
- && (0, string_1$4.isString)(val.message)
535
- && ((0, undefined_1$6.isUndefined)(val.data) || (0, object_1$2.isObject)(val.data));
530
+ jsonRpc$1.isntJsonRpcError = isntJsonRpcError$1;
531
+ function isJsonRpcErrorObject$1(val) {
532
+ return (0, object_1$1.isPlainObject)(val)
533
+ && (0, number_1$1.isNumber)(val.code)
534
+ && (0, string_1$2.isString)(val.message)
535
+ && ((0, undefined_1$3.isUndefined)(val.data) || (0, object_1$1.isObject)(val.data));
536
536
  }
537
537
 
538
- var json$4 = {};
538
+ var json$3 = {};
539
539
 
540
- json$4.isntJson = json$4.isJson = void 0;
541
- function isJson$2(val) {
540
+ json$3.isntJson = json$3.isJson = void 0;
541
+ function isJson$1(val) {
542
542
  try {
543
543
  JSON.stringify(val);
544
544
  return true;
@@ -547,16 +547,16 @@
547
547
  return false;
548
548
  }
549
549
  }
550
- json$4.isJson = isJson$2;
551
- function isntJson$2(val) {
552
- return !isntJson$2();
550
+ json$3.isJson = isJson$1;
551
+ function isntJson$1(val) {
552
+ return !isntJson$1();
553
553
  }
554
- json$4.isntJson = isntJson$2;
554
+ json$3.isntJson = isntJson$1;
555
555
 
556
- var url$4 = {};
556
+ var url$3 = {};
557
557
 
558
- url$4.isAbsoluteURL = void 0;
559
- function isAbsoluteURL$2(str) {
558
+ url$3.isAbsoluteURL = void 0;
559
+ function isAbsoluteURL$1(str) {
560
560
  try {
561
561
  new URL(str);
562
562
  return true;
@@ -565,7 +565,7 @@
565
565
  return false;
566
566
  }
567
567
  }
568
- url$4.isAbsoluteURL = isAbsoluteURL$2;
568
+ url$3.isAbsoluteURL = isAbsoluteURL$1;
569
569
 
570
570
  (function (exports) {
571
571
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -577,31 +577,31 @@
577
577
  }));
578
578
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
579
579
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
580
- };__exportStar(array$2, exports);
581
- __exportStar(asyncIterable$2, exports);
582
- __exportStar(bigint$2, exports);
583
- __exportStar(boolean$2, exports);
584
- __exportStar(char$2, exports);
585
- __exportStar(date$2, exports);
586
- __exportStar(_enum$3, exports);
587
- __exportStar(error$2, exports);
588
- __exportStar(falsy$2, exports);
589
- __exportStar(_function$2, exports);
590
- __exportStar(iterable$2, exports);
591
- __exportStar(jsonRpc$2, exports);
592
- __exportStar(json$4, exports);
593
- __exportStar(_null$2, exports);
594
- __exportStar(number$2, exports);
595
- __exportStar(object$2, exports);
596
- __exportStar(string$2, exports);
597
- __exportStar(_undefined$2, exports);
598
- __exportStar(url$4, exports);
580
+ };__exportStar(array$1, exports);
581
+ __exportStar(asyncIterable$1, exports);
582
+ __exportStar(bigint$1, exports);
583
+ __exportStar(boolean$1, exports);
584
+ __exportStar(char$1, exports);
585
+ __exportStar(date$1, exports);
586
+ __exportStar(_enum$2, exports);
587
+ __exportStar(error$1, exports);
588
+ __exportStar(falsy$1, exports);
589
+ __exportStar(_function$1, exports);
590
+ __exportStar(iterable$1, exports);
591
+ __exportStar(jsonRpc$1, exports);
592
+ __exportStar(json$3, exports);
593
+ __exportStar(_null$1, exports);
594
+ __exportStar(number$1, exports);
595
+ __exportStar(object$1, exports);
596
+ __exportStar(string$1, exports);
597
+ __exportStar(_undefined$1, exports);
598
+ __exportStar(url$3, exports);
599
599
 
600
- }(es2018$b));
600
+ }(es2018$a));
601
601
 
602
602
  request$1.del = request$1.patch = request$1.put = request$1.post = request$1.head = request$1.get = void 0;
603
- const extra_fetch_1$7 = es2018$d;
604
- const types_1$n = es2018$b;
603
+ const extra_fetch_1$7 = es2018$c;
604
+ const types_1$n = es2018$a;
605
605
  function get(...transformers) {
606
606
  return request('GET', ...transformers);
607
607
  }
@@ -654,14 +654,14 @@
654
654
  };__exportStar(require$$0$1, exports);
655
655
  __exportStar(request$1, exports);
656
656
 
657
- }(es2018$c));
657
+ }(es2018$b));
658
658
 
659
659
  var transformers = {};
660
660
 
661
- var url$3 = {};
661
+ var url$2 = {};
662
662
 
663
- url$3.url = void 0;
664
- function url$2(...urls) {
663
+ url$2.url = void 0;
664
+ function url$1(...urls) {
665
665
  return (options) => {
666
666
  const url = new URL(urls.reduce((acc, cur) => new URL(cur, acc).href));
667
667
  return {
@@ -670,12 +670,12 @@
670
670
  };
671
671
  };
672
672
  }
673
- url$3.url = url$2;
673
+ url$2.url = url$1;
674
674
 
675
675
  var text$1 = {};
676
676
 
677
677
  text$1.text = void 0;
678
- const extra_fetch_1$6 = es2018$d;
678
+ const extra_fetch_1$6 = es2018$c;
679
679
  function text(payload) {
680
680
  return (options) => {
681
681
  const headers = new extra_fetch_1$6.Headers(options.headers);
@@ -689,11 +689,11 @@
689
689
  }
690
690
  text$1.text = text;
691
691
 
692
- var json$3 = {};
692
+ var json$2 = {};
693
693
 
694
- json$3.json = void 0;
695
- const extra_fetch_1$5 = es2018$d;
696
- function json$2(payload) {
694
+ json$2.json = void 0;
695
+ const extra_fetch_1$5 = es2018$c;
696
+ function json$1(payload) {
697
697
  return (options) => {
698
698
  const headers = new extra_fetch_1$5.Headers(options.headers);
699
699
  headers.set('Content-Type', 'application/json');
@@ -704,7 +704,7 @@
704
704
  };
705
705
  };
706
706
  }
707
- json$3.json = json$2;
707
+ json$2.json = json$1;
708
708
 
709
709
  var csv$1 = {};
710
710
 
@@ -721,7 +721,7 @@
721
721
  !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});
722
722
  }(papaparse_min));
723
723
 
724
- var es2018$a = {};
724
+ var es2018$9 = {};
725
725
 
726
726
  var customError$3 = {};
727
727
 
@@ -799,12 +799,12 @@
799
799
  __exportStar(refute$5, exports);
800
800
  __exportStar(assert$7, exports);
801
801
 
802
- }(es2018$a));
802
+ }(es2018$9));
803
803
 
804
804
  csv$1.csv = void 0;
805
- const extra_fetch_1$4 = es2018$d;
805
+ const extra_fetch_1$4 = es2018$c;
806
806
  const papaparse_1$1 = papaparse_min.exports;
807
- const errors_1$i = es2018$a;
807
+ const errors_1$i = es2018$9;
808
808
  function csv(payload) {
809
809
  (0, errors_1$i.assert)(payload.length > 0, 'payload must be a non-empty array');
810
810
  return (options) => {
@@ -839,7 +839,7 @@
839
839
  var header$1 = {};
840
840
 
841
841
  header$1.header = void 0;
842
- const extra_fetch_1$3 = es2018$d;
842
+ const extra_fetch_1$3 = es2018$c;
843
843
  function header(name, value) {
844
844
  return (options) => {
845
845
  const headers = new extra_fetch_1$3.Headers(options.headers);
@@ -855,7 +855,7 @@
855
855
  var appendHeader$1 = {};
856
856
 
857
857
  appendHeader$1.appendHeader = void 0;
858
- const extra_fetch_1$2 = es2018$d;
858
+ const extra_fetch_1$2 = es2018$c;
859
859
  function appendHeader(name, value) {
860
860
  return (options) => {
861
861
  const headers = new extra_fetch_1$2.Headers(options.headers);
@@ -871,7 +871,7 @@
871
871
  var headers$1 = {};
872
872
 
873
873
  headers$1.headers = void 0;
874
- const extra_fetch_1$1 = es2018$d;
874
+ const extra_fetch_1$1 = es2018$c;
875
875
  function headers(headers) {
876
876
  return (options) => {
877
877
  const newHeaders = new extra_fetch_1$1.Headers(options.headers);
@@ -1011,8 +1011,8 @@
1011
1011
  var formDataField$1 = {};
1012
1012
 
1013
1013
  formDataField$1.formDataField = void 0;
1014
- const extra_fetch_1 = es2018$d;
1015
- const types_1$m = es2018$b;
1014
+ const extra_fetch_1 = es2018$c;
1015
+ const types_1$m = es2018$a;
1016
1016
  function formDataField(name, value) {
1017
1017
  return (options) => {
1018
1018
  const formData = options.payload instanceof extra_fetch_1.FormData
@@ -1384,9 +1384,9 @@
1384
1384
  }));
1385
1385
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
1386
1386
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
1387
- };__exportStar(url$3, exports);
1387
+ };__exportStar(url$2, exports);
1388
1388
  __exportStar(text$1, exports);
1389
- __exportStar(json$3, exports);
1389
+ __exportStar(json$2, exports);
1390
1390
  __exportStar(csv$1, exports);
1391
1391
  __exportStar(signal$1, exports);
1392
1392
  __exportStar(header$1, exports);
@@ -1407,7 +1407,7 @@
1407
1407
 
1408
1408
  }(transformers));
1409
1409
 
1410
- var es2018$9 = {};
1410
+ var es2018$8 = {};
1411
1411
 
1412
1412
  var httpStatus = /*#__PURE__*/Object.freeze({
1413
1413
  __proto__: null
@@ -1417,7 +1417,7 @@
1417
1417
 
1418
1418
  var httpError = {};
1419
1419
 
1420
- var es2018$8 = {};
1420
+ var es2018$7 = {};
1421
1421
 
1422
1422
  var customError$2 = {};
1423
1423
 
@@ -1495,10 +1495,10 @@
1495
1495
  __exportStar(refute$3, exports);
1496
1496
  __exportStar(assert$5, exports);
1497
1497
 
1498
- }(es2018$8));
1498
+ }(es2018$7));
1499
1499
 
1500
1500
  httpError.HTTPError = void 0;
1501
- const errors_1$h = es2018$8;
1501
+ const errors_1$h = es2018$7;
1502
1502
  class HTTPError extends errors_1$h.CustomError {
1503
1503
  constructor(code, message) {
1504
1504
  super(message);
@@ -1509,7 +1509,7 @@
1509
1509
 
1510
1510
  var httpInformational = {};
1511
1511
 
1512
- var _enum$2 = {};
1512
+ var _enum$1 = {};
1513
1513
 
1514
1514
  (function (exports) {
1515
1515
  exports.ServerError = exports.ClientError = exports.Redirection = exports.Successful = exports.Informational = void 0;
@@ -1582,10 +1582,10 @@
1582
1582
  ServerError[ServerError["NetworkAuthenticationRequired"] = 511] = "NetworkAuthenticationRequired";
1583
1583
  })(exports.ServerError || (exports.ServerError = {}));
1584
1584
 
1585
- }(_enum$2));
1585
+ }(_enum$1));
1586
1586
 
1587
1587
  httpInformational.EarlyHints = httpInformational.Processing = httpInformational.SwitchingProtocol = httpInformational.Continue = httpInformational.HTTPInformational = void 0;
1588
- const enum_1$4 = _enum$2;
1588
+ const enum_1$4 = _enum$1;
1589
1589
  class HTTPInformational {
1590
1590
  constructor(code, message) {
1591
1591
  this.code = code;
@@ -1621,7 +1621,7 @@
1621
1621
  var httpSuccessful = {};
1622
1622
 
1623
1623
  httpSuccessful.IMUsed = httpSuccessful.AlreadyReported = httpSuccessful.MultiStatus = httpSuccessful.PartialContent = httpSuccessful.ResetContent = httpSuccessful.NoContent = httpSuccessful.NonAuthoritativeInformation = httpSuccessful.Accepted = httpSuccessful.Created = httpSuccessful.OK = httpSuccessful.HTTPSuccessful = void 0;
1624
- const enum_1$3 = _enum$2;
1624
+ const enum_1$3 = _enum$1;
1625
1625
  class HTTPSuccessful {
1626
1626
  constructor(code, message) {
1627
1627
  this.code = code;
@@ -1693,7 +1693,7 @@
1693
1693
  var httpRedirection = {};
1694
1694
 
1695
1695
  httpRedirection.PermanentRedirect = httpRedirection.TemporaryRedirect = httpRedirection.NotModified = httpRedirection.SeeOther = httpRedirection.Found = httpRedirection.MovedPermanently = httpRedirection.MultipleChoice = httpRedirection.HTTPRedirection = void 0;
1696
- const enum_1$2 = _enum$2;
1696
+ const enum_1$2 = _enum$1;
1697
1697
  class HTTPRedirection {
1698
1698
  constructor(code, message) {
1699
1699
  this.code = code;
@@ -1748,7 +1748,7 @@
1748
1748
 
1749
1749
  httpClientError.UnavailableForLegalReasons = httpClientError.RequestHeaderFieldsTooLarge = httpClientError.TooManyRequests = httpClientError.PreconditionRequired = httpClientError.UpgradeRequired = httpClientError.FailedDependency = httpClientError.Locked = httpClientError.UnprocessableEntity = httpClientError.MisdirectedRequest = httpClientError.ExpectationFailed = httpClientError.RangeNotSatisfiable = httpClientError.UnsupportedMediaType = httpClientError.URITooLong = httpClientError.PayloadTooLarge = httpClientError.PreconditionFailed = httpClientError.LengthRequired = httpClientError.Gone = httpClientError.Conflict = httpClientError.RequestTimeout = httpClientError.ProxyAuthenticationRequired = httpClientError.NotAcceptable = httpClientError.MethodNotAllowed = httpClientError.NotFound = httpClientError.Forbidden = httpClientError.Unauthorized = httpClientError.BadRequest = httpClientError.HTTPClientError = void 0;
1750
1750
  const http_error_1$1 = httpError;
1751
- const enum_1$1 = _enum$2;
1751
+ const enum_1$1 = _enum$1;
1752
1752
  class HTTPClientError extends http_error_1$1.HTTPError {
1753
1753
  }
1754
1754
  httpClientError.HTTPClientError = HTTPClientError;
@@ -1913,7 +1913,7 @@
1913
1913
 
1914
1914
  httpServerError.NetworkAuthenticationRequired = httpServerError.NotExtended = httpServerError.LoopDetected = httpServerError.InsufficientStorage = httpServerError.VariantAlsoNegotiates = httpServerError.HTTPVersionNotSupported = httpServerError.GatewayTimeout = httpServerError.ServiceUnavailable = httpServerError.BadGateway = httpServerError.NotImplemented = httpServerError.InternalServerError = httpServerError.HTTPServerError = void 0;
1915
1915
  const http_error_1 = httpError;
1916
- const enum_1 = _enum$2;
1916
+ const enum_1 = _enum$1;
1917
1917
  class HTTPServerError extends http_error_1.HTTPError {
1918
1918
  }
1919
1919
  httpServerError.HTTPServerError = HTTPServerError;
@@ -2083,16 +2083,16 @@
2083
2083
  __exportStar(httpServerError, exports);
2084
2084
  __exportStar(utils$1, exports);
2085
2085
 
2086
- }(es2018$9));
2086
+ }(es2018$8));
2087
2087
 
2088
- var es2018$7 = {};
2088
+ var es2018$6 = {};
2089
2089
 
2090
2090
  var ok = {};
2091
2091
 
2092
2092
  (function (exports) {
2093
2093
  exports.ok = exports.HTTPError = void 0;
2094
- const http_status_1 = es2018$9;
2095
- var http_status_2 = es2018$9;
2094
+ const http_status_1 = es2018$8;
2095
+ var http_status_2 = es2018$8;
2096
2096
  Object.defineProperty(exports, "HTTPError", { enumerable: true, get: function () { return http_status_2.HTTPError; } });
2097
2097
  /**
2098
2098
  * @throws {HTTPError}
@@ -2157,13 +2157,13 @@
2157
2157
 
2158
2158
  var toNdjson = {};
2159
2159
 
2160
- var es2018$6 = {};
2160
+ var es2018$5 = {};
2161
2161
 
2162
2162
  var middleware = {};
2163
2163
 
2164
2164
  var chunkAsync$1 = {};
2165
2165
 
2166
- var es2018$5 = {};
2166
+ var es2018$4 = {};
2167
2167
 
2168
2168
  var go$1 = {};
2169
2169
 
@@ -2185,9 +2185,9 @@
2185
2185
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
2186
2186
  };__exportStar(go$1, exports);
2187
2187
 
2188
- }(es2018$5));
2188
+ }(es2018$4));
2189
2189
 
2190
- var es2018$4 = {};
2190
+ var es2018$3 = {};
2191
2191
 
2192
2192
  var customError$1 = {};
2193
2193
 
@@ -2265,11 +2265,11 @@
2265
2265
  __exportStar(refute$1, exports);
2266
2266
  __exportStar(assert$3, exports);
2267
2267
 
2268
- }(es2018$4));
2268
+ }(es2018$3));
2269
2269
 
2270
2270
  chunkAsync$1.chunkAsync = void 0;
2271
- const go_1$f = es2018$5;
2272
- const errors_1$g = es2018$4;
2271
+ const go_1$f = es2018$4;
2272
+ const errors_1$g = es2018$3;
2273
2273
  function chunkAsync(iterable, size) {
2274
2274
  (0, errors_1$g.assert)(Number.isInteger(size), 'The parameter size must be an integer');
2275
2275
  (0, errors_1$g.assert)(size > 0, 'The parameter size must be greater than 0');
@@ -2290,305 +2290,305 @@
2290
2290
 
2291
2291
  var chunkByAsync$1 = {};
2292
2292
 
2293
- var es2018$3 = {};
2293
+ var es2018$2 = {};
2294
2294
 
2295
- var array$1 = {};
2295
+ var array = {};
2296
2296
 
2297
- array$1.isntEmptyArray = array$1.isEmptyArray = array$1.isntArray = array$1.isArray = void 0;
2298
- function isArray$1(val) {
2297
+ array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
2298
+ function isArray(val) {
2299
2299
  return Array.isArray(val);
2300
2300
  }
2301
- array$1.isArray = isArray$1;
2302
- function isntArray$1(val) {
2303
- return !isArray$1(val);
2301
+ array.isArray = isArray;
2302
+ function isntArray(val) {
2303
+ return !isArray(val);
2304
2304
  }
2305
- array$1.isntArray = isntArray$1;
2306
- function isEmptyArray$1(val) {
2305
+ array.isntArray = isntArray;
2306
+ function isEmptyArray(val) {
2307
2307
  return val.length === 0;
2308
2308
  }
2309
- array$1.isEmptyArray = isEmptyArray$1;
2310
- function isntEmptyArray$1(val) {
2309
+ array.isEmptyArray = isEmptyArray;
2310
+ function isntEmptyArray(val) {
2311
2311
  return val.length !== 0;
2312
2312
  }
2313
- array$1.isntEmptyArray = isntEmptyArray$1;
2313
+ array.isntEmptyArray = isntEmptyArray;
2314
2314
 
2315
- var asyncIterable$1 = {};
2315
+ var asyncIterable = {};
2316
2316
 
2317
- var _null$1 = {};
2317
+ var _null = {};
2318
2318
 
2319
- _null$1.isntNull = _null$1.isNull = void 0;
2320
- function isNull$1(val) {
2319
+ _null.isntNull = _null.isNull = void 0;
2320
+ function isNull(val) {
2321
2321
  return val === null;
2322
2322
  }
2323
- _null$1.isNull = isNull$1;
2324
- function isntNull$1(val) {
2325
- return !isNull$1(val);
2323
+ _null.isNull = isNull;
2324
+ function isntNull(val) {
2325
+ return !isNull(val);
2326
2326
  }
2327
- _null$1.isntNull = isntNull$1;
2327
+ _null.isntNull = isntNull;
2328
2328
 
2329
- var _undefined$1 = {};
2329
+ var _undefined = {};
2330
2330
 
2331
- _undefined$1.isntUndefined = _undefined$1.isUndefined = void 0;
2332
- function isUndefined$1(val) {
2331
+ _undefined.isntUndefined = _undefined.isUndefined = void 0;
2332
+ function isUndefined(val) {
2333
2333
  return val === undefined;
2334
2334
  }
2335
- _undefined$1.isUndefined = isUndefined$1;
2336
- function isntUndefined$1(val) {
2337
- return !isUndefined$1(val);
2335
+ _undefined.isUndefined = isUndefined;
2336
+ function isntUndefined(val) {
2337
+ return !isUndefined(val);
2338
2338
  }
2339
- _undefined$1.isntUndefined = isntUndefined$1;
2339
+ _undefined.isntUndefined = isntUndefined;
2340
2340
 
2341
- asyncIterable$1.isntAsyncIterable = asyncIterable$1.isAsyncIterable = void 0;
2342
- const null_1$3 = _null$1;
2343
- const undefined_1$5 = _undefined$1;
2344
- function isAsyncIterable$1(val) {
2345
- return (0, null_1$3.isntNull)(val)
2346
- && (0, undefined_1$5.isntUndefined)(val)
2341
+ asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
2342
+ const null_1$1 = _null;
2343
+ const undefined_1$2 = _undefined;
2344
+ function isAsyncIterable(val) {
2345
+ return (0, null_1$1.isntNull)(val)
2346
+ && (0, undefined_1$2.isntUndefined)(val)
2347
2347
  && typeof val[Symbol.asyncIterator] === 'function';
2348
2348
  }
2349
- asyncIterable$1.isAsyncIterable = isAsyncIterable$1;
2350
- function isntAsyncIterable$1(val) {
2351
- return !isAsyncIterable$1(val);
2349
+ asyncIterable.isAsyncIterable = isAsyncIterable;
2350
+ function isntAsyncIterable(val) {
2351
+ return !isAsyncIterable(val);
2352
2352
  }
2353
- asyncIterable$1.isntAsyncIterable = isntAsyncIterable$1;
2353
+ asyncIterable.isntAsyncIterable = isntAsyncIterable;
2354
2354
 
2355
- var bigint$1 = {};
2355
+ var bigint = {};
2356
2356
 
2357
- bigint$1.isntBigInt = bigint$1.isBigInt = void 0;
2358
- function isBigInt$1(val) {
2357
+ bigint.isntBigInt = bigint.isBigInt = void 0;
2358
+ function isBigInt(val) {
2359
2359
  return typeof val === 'bigint';
2360
2360
  }
2361
- bigint$1.isBigInt = isBigInt$1;
2362
- function isntBigInt$1(val) {
2363
- return !isBigInt$1(val);
2361
+ bigint.isBigInt = isBigInt;
2362
+ function isntBigInt(val) {
2363
+ return !isBigInt(val);
2364
2364
  }
2365
- bigint$1.isntBigInt = isntBigInt$1;
2365
+ bigint.isntBigInt = isntBigInt;
2366
2366
 
2367
- var boolean$1 = {};
2367
+ var boolean = {};
2368
2368
 
2369
- boolean$1.isntBoolean = boolean$1.isBoolean = void 0;
2370
- function isBoolean$1(val) {
2369
+ boolean.isntBoolean = boolean.isBoolean = void 0;
2370
+ function isBoolean(val) {
2371
2371
  return typeof val === 'boolean';
2372
2372
  }
2373
- boolean$1.isBoolean = isBoolean$1;
2374
- function isntBoolean$1(val) {
2375
- return !isBoolean$1(val);
2373
+ boolean.isBoolean = isBoolean;
2374
+ function isntBoolean(val) {
2375
+ return !isBoolean(val);
2376
2376
  }
2377
- boolean$1.isntBoolean = isntBoolean$1;
2377
+ boolean.isntBoolean = isntBoolean;
2378
2378
 
2379
- var char$1 = {};
2379
+ var char = {};
2380
2380
 
2381
- var string$1 = {};
2381
+ var string = {};
2382
2382
 
2383
- string$1.isntString = string$1.isString = void 0;
2384
- function isString$1(val) {
2383
+ string.isntString = string.isString = void 0;
2384
+ function isString(val) {
2385
2385
  return typeof val === 'string';
2386
2386
  }
2387
- string$1.isString = isString$1;
2388
- function isntString$1(val) {
2389
- return !isString$1(val);
2387
+ string.isString = isString;
2388
+ function isntString(val) {
2389
+ return !isString(val);
2390
2390
  }
2391
- string$1.isntString = isntString$1;
2391
+ string.isntString = isntString;
2392
2392
 
2393
- char$1.isntChar = char$1.isChar = void 0;
2394
- const string_1$3 = string$1;
2395
- function isChar$1(val) {
2396
- return (0, string_1$3.isString)(val)
2393
+ char.isntChar = char.isChar = void 0;
2394
+ const string_1$1 = string;
2395
+ function isChar(val) {
2396
+ return (0, string_1$1.isString)(val)
2397
2397
  && val.length === 1;
2398
2398
  }
2399
- char$1.isChar = isChar$1;
2400
- function isntChar$1(val) {
2401
- return !isChar$1(val);
2399
+ char.isChar = isChar;
2400
+ function isntChar(val) {
2401
+ return !isChar(val);
2402
2402
  }
2403
- char$1.isntChar = isntChar$1;
2403
+ char.isntChar = isntChar;
2404
2404
 
2405
- var date$1 = {};
2405
+ var date = {};
2406
2406
 
2407
- date$1.isntDate = date$1.isDate = void 0;
2408
- function isDate$1(val) {
2407
+ date.isntDate = date.isDate = void 0;
2408
+ function isDate(val) {
2409
2409
  return val instanceof Date;
2410
2410
  }
2411
- date$1.isDate = isDate$1;
2412
- function isntDate$1(val) {
2413
- return !isDate$1(val);
2411
+ date.isDate = isDate;
2412
+ function isntDate(val) {
2413
+ return !isDate(val);
2414
2414
  }
2415
- date$1.isntDate = isntDate$1;
2415
+ date.isntDate = isntDate;
2416
2416
 
2417
- var _enum$1 = {};
2417
+ var _enum = {};
2418
2418
 
2419
- _enum$1.inEnum = void 0;
2420
- function inEnum$1(val, _enum) {
2419
+ _enum.inEnum = void 0;
2420
+ function inEnum(val, _enum) {
2421
2421
  return Object.values(_enum).includes(val);
2422
2422
  }
2423
- _enum$1.inEnum = inEnum$1;
2423
+ _enum.inEnum = inEnum;
2424
2424
 
2425
- var error$1 = {};
2425
+ var error = {};
2426
2426
 
2427
- error$1.isntError = error$1.isError = void 0;
2428
- function isError$1(val) {
2427
+ error.isntError = error.isError = void 0;
2428
+ function isError(val) {
2429
2429
  return val instanceof Error;
2430
2430
  }
2431
- error$1.isError = isError$1;
2432
- function isntError$1(val) {
2433
- return !isError$1(val);
2431
+ error.isError = isError;
2432
+ function isntError(val) {
2433
+ return !isError(val);
2434
2434
  }
2435
- error$1.isntError = isntError$1;
2435
+ error.isntError = isntError;
2436
2436
 
2437
- var falsy$1 = {};
2437
+ var falsy = {};
2438
2438
 
2439
- falsy$1.isntFalsy = falsy$1.isFalsy = void 0;
2440
- function isFalsy$1(val) {
2439
+ falsy.isntFalsy = falsy.isFalsy = void 0;
2440
+ function isFalsy(val) {
2441
2441
  return !val;
2442
2442
  }
2443
- falsy$1.isFalsy = isFalsy$1;
2444
- function isntFalsy$1(val) {
2445
- return !isFalsy$1(val);
2443
+ falsy.isFalsy = isFalsy;
2444
+ function isntFalsy(val) {
2445
+ return !isFalsy(val);
2446
2446
  }
2447
- falsy$1.isntFalsy = isntFalsy$1;
2447
+ falsy.isntFalsy = isntFalsy;
2448
2448
 
2449
- var _function$1 = {};
2449
+ var _function = {};
2450
2450
 
2451
- _function$1.isntFunction = _function$1.isFunction = void 0;
2452
- function isFunction$1(val) {
2451
+ _function.isntFunction = _function.isFunction = void 0;
2452
+ function isFunction(val) {
2453
2453
  return typeof val === 'function';
2454
2454
  }
2455
- _function$1.isFunction = isFunction$1;
2456
- function isntFunction$1(val) {
2457
- return !isFunction$1(val);
2455
+ _function.isFunction = isFunction;
2456
+ function isntFunction(val) {
2457
+ return !isFunction(val);
2458
2458
  }
2459
- _function$1.isntFunction = isntFunction$1;
2459
+ _function.isntFunction = isntFunction;
2460
2460
 
2461
- var iterable$1 = {};
2461
+ var iterable = {};
2462
2462
 
2463
- iterable$1.isntIterable = iterable$1.isIterable = void 0;
2464
- const null_1$2 = _null$1;
2465
- const undefined_1$4 = _undefined$1;
2466
- function isIterable$1(val) {
2467
- return (0, null_1$2.isntNull)(val)
2468
- && (0, undefined_1$4.isntUndefined)(val)
2463
+ iterable.isntIterable = iterable.isIterable = void 0;
2464
+ const null_1 = _null;
2465
+ const undefined_1$1 = _undefined;
2466
+ function isIterable(val) {
2467
+ return (0, null_1.isntNull)(val)
2468
+ && (0, undefined_1$1.isntUndefined)(val)
2469
2469
  && typeof val[Symbol.iterator] === 'function';
2470
2470
  }
2471
- iterable$1.isIterable = isIterable$1;
2472
- function isntIterable$1(val) {
2473
- return !isIterable$1(val);
2471
+ iterable.isIterable = isIterable;
2472
+ function isntIterable(val) {
2473
+ return !isIterable(val);
2474
2474
  }
2475
- iterable$1.isntIterable = isntIterable$1;
2475
+ iterable.isntIterable = isntIterable;
2476
2476
 
2477
- var jsonRpc$1 = {};
2477
+ var jsonRpc = {};
2478
2478
 
2479
- var object$1 = {};
2479
+ var object = {};
2480
2480
 
2481
- var __importDefault$2 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
2481
+ var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
2482
2482
  return (mod && mod.__esModule) ? mod : { "default": mod };
2483
- };object$1.isntEmptyObject = object$1.isEmptyObject = object$1.isntPlainObject = object$1.isPlainObject = object$1.isntObject = object$1.isObject = void 0;
2484
- const lodash_isplainobject_1$1 = __importDefault$2(lodash_isplainobject);
2485
- function isObject$1(val) {
2483
+ };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
2484
+ const lodash_isplainobject_1 = __importDefault$1(lodash_isplainobject);
2485
+ function isObject(val) {
2486
2486
  return val !== null
2487
2487
  && typeof val === 'object';
2488
2488
  }
2489
- object$1.isObject = isObject$1;
2490
- function isntObject$1(val) {
2491
- return !isObject$1(val);
2489
+ object.isObject = isObject;
2490
+ function isntObject(val) {
2491
+ return !isObject(val);
2492
2492
  }
2493
- object$1.isntObject = isntObject$1;
2494
- function isPlainObject$1(val) {
2495
- return (0, lodash_isplainobject_1$1.default)(val);
2493
+ object.isntObject = isntObject;
2494
+ function isPlainObject(val) {
2495
+ return (0, lodash_isplainobject_1.default)(val);
2496
2496
  }
2497
- object$1.isPlainObject = isPlainObject$1;
2498
- function isntPlainObject$1(val) {
2499
- return !isPlainObject$1(val);
2497
+ object.isPlainObject = isPlainObject;
2498
+ function isntPlainObject(val) {
2499
+ return !isPlainObject(val);
2500
2500
  }
2501
- object$1.isntPlainObject = isntPlainObject$1;
2502
- function isEmptyObject$1(val) {
2501
+ object.isntPlainObject = isntPlainObject;
2502
+ function isEmptyObject(val) {
2503
2503
  return Object.keys(val).length === 0;
2504
2504
  }
2505
- object$1.isEmptyObject = isEmptyObject$1;
2506
- function isntEmptyObject$1(val) {
2505
+ object.isEmptyObject = isEmptyObject;
2506
+ function isntEmptyObject(val) {
2507
2507
  return Object.keys(val).length !== 0;
2508
2508
  }
2509
- object$1.isntEmptyObject = isntEmptyObject$1;
2509
+ object.isntEmptyObject = isntEmptyObject;
2510
2510
 
2511
- var number$1 = {};
2511
+ var number = {};
2512
2512
 
2513
- number$1.isntNumber = number$1.isNumber = void 0;
2514
- function isNumber$1(val) {
2513
+ number.isntNumber = number.isNumber = void 0;
2514
+ function isNumber(val) {
2515
2515
  return typeof val === 'number';
2516
2516
  }
2517
- number$1.isNumber = isNumber$1;
2518
- function isntNumber$1(val) {
2519
- return !isNumber$1(val);
2517
+ number.isNumber = isNumber;
2518
+ function isntNumber(val) {
2519
+ return !isNumber(val);
2520
2520
  }
2521
- number$1.isntNumber = isntNumber$1;
2521
+ number.isntNumber = isntNumber;
2522
2522
 
2523
- 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;
2524
- const array_1$1 = array$1;
2525
- const object_1$1 = object$1;
2526
- const string_1$2 = string$1;
2527
- const number_1$1 = number$1;
2528
- const undefined_1$3 = _undefined$1;
2529
- function isJsonRpcId$1(val) {
2530
- return (0, string_1$2.isString)(val) || (0, number_1$1.isNumber)(val);
2523
+ jsonRpc.isntJsonRpcError = jsonRpc.isJsonRpcError = jsonRpc.isntJsonRpcSuccess = jsonRpc.isJsonRpcSuccess = jsonRpc.isntJsonRpcRequest = jsonRpc.isJsonRpcRequest = jsonRpc.isntJsonRpcNotification = jsonRpc.isJsonRpcNotification = void 0;
2524
+ const array_1 = array;
2525
+ const object_1 = object;
2526
+ const string_1 = string;
2527
+ const number_1 = number;
2528
+ const undefined_1 = _undefined;
2529
+ function isJsonRpcId(val) {
2530
+ return (0, string_1.isString)(val) || (0, number_1.isNumber)(val);
2531
2531
  }
2532
- function isJsonRpcParams$1(val) {
2533
- return (0, array_1$1.isArray)(val) || (0, object_1$1.isObject)(val);
2532
+ function isJsonRpcParams(val) {
2533
+ return (0, array_1.isArray)(val) || (0, object_1.isObject)(val);
2534
2534
  }
2535
- function isJsonRpcNotification$1(val) {
2536
- return (0, object_1$1.isPlainObject)(val)
2537
- && (0, string_1$2.isString)(val.jsonrpc)
2538
- && (0, string_1$2.isString)(val.method)
2539
- && (0, undefined_1$3.isUndefined)(val.id)
2540
- && isJsonRpcParams$1(val.params);
2535
+ function isJsonRpcNotification(val) {
2536
+ return (0, object_1.isPlainObject)(val)
2537
+ && (0, string_1.isString)(val.jsonrpc)
2538
+ && (0, string_1.isString)(val.method)
2539
+ && (0, undefined_1.isUndefined)(val.id)
2540
+ && isJsonRpcParams(val.params);
2541
2541
  }
2542
- jsonRpc$1.isJsonRpcNotification = isJsonRpcNotification$1;
2543
- function isntJsonRpcNotification$1(val) {
2544
- return !isJsonRpcNotification$1(val);
2542
+ jsonRpc.isJsonRpcNotification = isJsonRpcNotification;
2543
+ function isntJsonRpcNotification(val) {
2544
+ return !isJsonRpcNotification(val);
2545
2545
  }
2546
- jsonRpc$1.isntJsonRpcNotification = isntJsonRpcNotification$1;
2547
- function isJsonRpcRequest$1(val) {
2548
- return (0, object_1$1.isPlainObject)(val)
2549
- && (0, string_1$2.isString)(val.jsonrpc)
2550
- && (0, string_1$2.isString)(val.method)
2551
- && isJsonRpcId$1(val.id)
2552
- && isJsonRpcParams$1(val.params);
2546
+ jsonRpc.isntJsonRpcNotification = isntJsonRpcNotification;
2547
+ function isJsonRpcRequest(val) {
2548
+ return (0, object_1.isPlainObject)(val)
2549
+ && (0, string_1.isString)(val.jsonrpc)
2550
+ && (0, string_1.isString)(val.method)
2551
+ && isJsonRpcId(val.id)
2552
+ && isJsonRpcParams(val.params);
2553
2553
  }
2554
- jsonRpc$1.isJsonRpcRequest = isJsonRpcRequest$1;
2555
- function isntJsonRpcRequest$1(val) {
2556
- return !isJsonRpcRequest$1(val);
2554
+ jsonRpc.isJsonRpcRequest = isJsonRpcRequest;
2555
+ function isntJsonRpcRequest(val) {
2556
+ return !isJsonRpcRequest(val);
2557
2557
  }
2558
- jsonRpc$1.isntJsonRpcRequest = isntJsonRpcRequest$1;
2559
- function isJsonRpcSuccess$1(val) {
2560
- return (0, object_1$1.isPlainObject)(val)
2561
- && (0, string_1$2.isString)(val.jsonrpc)
2562
- && (0, string_1$2.isString)(val.id)
2558
+ jsonRpc.isntJsonRpcRequest = isntJsonRpcRequest;
2559
+ function isJsonRpcSuccess(val) {
2560
+ return (0, object_1.isPlainObject)(val)
2561
+ && (0, string_1.isString)(val.jsonrpc)
2562
+ && (0, string_1.isString)(val.id)
2563
2563
  && 'result' in val;
2564
2564
  }
2565
- jsonRpc$1.isJsonRpcSuccess = isJsonRpcSuccess$1;
2566
- function isntJsonRpcSuccess$1(val) {
2567
- return !isJsonRpcSuccess$1(val);
2565
+ jsonRpc.isJsonRpcSuccess = isJsonRpcSuccess;
2566
+ function isntJsonRpcSuccess(val) {
2567
+ return !isJsonRpcSuccess(val);
2568
2568
  }
2569
- jsonRpc$1.isntJsonRpcSuccess = isntJsonRpcSuccess$1;
2570
- function isJsonRpcError$1(val) {
2571
- return (0, object_1$1.isPlainObject)(val)
2572
- && (0, string_1$2.isString)(val.jsonrpc)
2573
- && isJsonRpcId$1(val.id)
2574
- && isJsonRpcErrorObject$1(val.error);
2569
+ jsonRpc.isntJsonRpcSuccess = isntJsonRpcSuccess;
2570
+ function isJsonRpcError(val) {
2571
+ return (0, object_1.isPlainObject)(val)
2572
+ && (0, string_1.isString)(val.jsonrpc)
2573
+ && isJsonRpcId(val.id)
2574
+ && isJsonRpcErrorObject(val.error);
2575
2575
  }
2576
- jsonRpc$1.isJsonRpcError = isJsonRpcError$1;
2577
- function isntJsonRpcError$1(val) {
2578
- return !isJsonRpcError$1(val);
2576
+ jsonRpc.isJsonRpcError = isJsonRpcError;
2577
+ function isntJsonRpcError(val) {
2578
+ return !isJsonRpcError(val);
2579
2579
  }
2580
- jsonRpc$1.isntJsonRpcError = isntJsonRpcError$1;
2581
- function isJsonRpcErrorObject$1(val) {
2582
- return (0, object_1$1.isPlainObject)(val)
2583
- && (0, number_1$1.isNumber)(val.code)
2584
- && (0, string_1$2.isString)(val.message)
2585
- && ((0, undefined_1$3.isUndefined)(val.data) || (0, object_1$1.isObject)(val.data));
2580
+ jsonRpc.isntJsonRpcError = isntJsonRpcError;
2581
+ function isJsonRpcErrorObject(val) {
2582
+ return (0, object_1.isPlainObject)(val)
2583
+ && (0, number_1.isNumber)(val.code)
2584
+ && (0, string_1.isString)(val.message)
2585
+ && ((0, undefined_1.isUndefined)(val.data) || (0, object_1.isObject)(val.data));
2586
2586
  }
2587
2587
 
2588
- var json$1 = {};
2588
+ var json = {};
2589
2589
 
2590
- json$1.isntJson = json$1.isJson = void 0;
2591
- function isJson$1(val) {
2590
+ json.isntJson = json.isJson = void 0;
2591
+ function isJson(val) {
2592
2592
  try {
2593
2593
  JSON.stringify(val);
2594
2594
  return true;
@@ -2597,16 +2597,16 @@
2597
2597
  return false;
2598
2598
  }
2599
2599
  }
2600
- json$1.isJson = isJson$1;
2601
- function isntJson$1(val) {
2602
- return !isntJson$1();
2600
+ json.isJson = isJson;
2601
+ function isntJson(val) {
2602
+ return !isntJson();
2603
2603
  }
2604
- json$1.isntJson = isntJson$1;
2604
+ json.isntJson = isntJson;
2605
2605
 
2606
- var url$1 = {};
2606
+ var url = {};
2607
2607
 
2608
- url$1.isAbsoluteURL = void 0;
2609
- function isAbsoluteURL$1(str) {
2608
+ url.isAbsoluteURL = void 0;
2609
+ function isAbsoluteURL(str) {
2610
2610
  try {
2611
2611
  new URL(str);
2612
2612
  return true;
@@ -2615,7 +2615,7 @@
2615
2615
  return false;
2616
2616
  }
2617
2617
  }
2618
- url$1.isAbsoluteURL = isAbsoluteURL$1;
2618
+ url.isAbsoluteURL = isAbsoluteURL;
2619
2619
 
2620
2620
  (function (exports) {
2621
2621
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -2627,30 +2627,30 @@
2627
2627
  }));
2628
2628
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
2629
2629
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
2630
- };__exportStar(array$1, exports);
2631
- __exportStar(asyncIterable$1, exports);
2632
- __exportStar(bigint$1, exports);
2633
- __exportStar(boolean$1, exports);
2634
- __exportStar(char$1, exports);
2635
- __exportStar(date$1, exports);
2636
- __exportStar(_enum$1, exports);
2637
- __exportStar(error$1, exports);
2638
- __exportStar(falsy$1, exports);
2639
- __exportStar(_function$1, exports);
2640
- __exportStar(iterable$1, exports);
2641
- __exportStar(jsonRpc$1, exports);
2642
- __exportStar(json$1, exports);
2643
- __exportStar(_null$1, exports);
2644
- __exportStar(number$1, exports);
2645
- __exportStar(object$1, exports);
2646
- __exportStar(string$1, exports);
2647
- __exportStar(_undefined$1, exports);
2648
- __exportStar(url$1, exports);
2630
+ };__exportStar(array, exports);
2631
+ __exportStar(asyncIterable, exports);
2632
+ __exportStar(bigint, exports);
2633
+ __exportStar(boolean, exports);
2634
+ __exportStar(char, exports);
2635
+ __exportStar(date, exports);
2636
+ __exportStar(_enum, exports);
2637
+ __exportStar(error, exports);
2638
+ __exportStar(falsy, exports);
2639
+ __exportStar(_function, exports);
2640
+ __exportStar(iterable, exports);
2641
+ __exportStar(jsonRpc, exports);
2642
+ __exportStar(json, exports);
2643
+ __exportStar(_null, exports);
2644
+ __exportStar(number, exports);
2645
+ __exportStar(object, exports);
2646
+ __exportStar(string, exports);
2647
+ __exportStar(_undefined, exports);
2648
+ __exportStar(url, exports);
2649
2649
 
2650
- }(es2018$3));
2650
+ }(es2018$2));
2651
2651
 
2652
2652
  chunkByAsync$1.chunkByAsync = void 0;
2653
- const types_1$l = es2018$3;
2653
+ const types_1$l = es2018$2;
2654
2654
  function chunkByAsync(iterable, predicate) {
2655
2655
  if ((0, types_1$l.isAsyncIterable)(iterable)) {
2656
2656
  return chunkByAsyncIterable(iterable);
@@ -2711,8 +2711,8 @@
2711
2711
  var chunk$1 = {};
2712
2712
 
2713
2713
  chunk$1.chunk = void 0;
2714
- const go_1$e = es2018$5;
2715
- const errors_1$f = es2018$4;
2714
+ const go_1$e = es2018$4;
2715
+ const errors_1$f = es2018$3;
2716
2716
  function chunk(iterable, size) {
2717
2717
  (0, errors_1$f.assert)(Number.isInteger(size), 'The parameter size must be an integer');
2718
2718
  (0, errors_1$f.assert)(size > 0, 'The parameter size must be greater than 0');
@@ -2734,8 +2734,8 @@
2734
2734
  var concatAsync$1 = {};
2735
2735
 
2736
2736
  concatAsync$1.concatAsync = void 0;
2737
- const types_1$k = es2018$3;
2738
- const go_1$d = es2018$5;
2737
+ const types_1$k = es2018$2;
2738
+ const go_1$d = es2018$4;
2739
2739
  function concatAsync(iterable, ...otherIterables) {
2740
2740
  return (0, go_1$d.go)(async function* () {
2741
2741
  for (const iter of [iterable, ...otherIterables]) {
@@ -2757,7 +2757,7 @@
2757
2757
  var concat$1 = {};
2758
2758
 
2759
2759
  concat$1.concat = void 0;
2760
- const go_1$c = es2018$5;
2760
+ const go_1$c = es2018$4;
2761
2761
  function concat(iterable, ...otherIterables) {
2762
2762
  return (0, go_1$c.go)(function* () {
2763
2763
  for (const iter of [iterable, ...otherIterables]) {
@@ -2786,9 +2786,9 @@
2786
2786
  utils.copyIterable = copyIterable;
2787
2787
 
2788
2788
  dropAsync$1.dropAsync = void 0;
2789
- const go_1$b = es2018$5;
2789
+ const go_1$b = es2018$4;
2790
2790
  const utils_1$3 = utils;
2791
- const errors_1$e = es2018$4;
2791
+ const errors_1$e = es2018$3;
2792
2792
  function dropAsync(iterable, count) {
2793
2793
  (0, errors_1$e.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2794
2794
  (0, errors_1$e.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2821,9 +2821,9 @@
2821
2821
  var dropRightAsync$1 = {};
2822
2822
 
2823
2823
  dropRightAsync$1.dropRightAsync = void 0;
2824
- const go_1$a = es2018$5;
2824
+ const go_1$a = es2018$4;
2825
2825
  const utils_1$2 = utils;
2826
- const errors_1$d = es2018$4;
2826
+ const errors_1$d = es2018$3;
2827
2827
  function dropRightAsync(iterable, count) {
2828
2828
  (0, errors_1$d.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2829
2829
  (0, errors_1$d.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2849,9 +2849,9 @@
2849
2849
  var dropRight$1 = {};
2850
2850
 
2851
2851
  dropRight$1.dropRight = void 0;
2852
- const go_1$9 = es2018$5;
2852
+ const go_1$9 = es2018$4;
2853
2853
  const utils_1$1 = utils;
2854
- const errors_1$c = es2018$4;
2854
+ const errors_1$c = es2018$3;
2855
2855
  function dropRight(iterable, count) {
2856
2856
  (0, errors_1$c.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2857
2857
  (0, errors_1$c.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2867,7 +2867,7 @@
2867
2867
  var dropUntilAsync$1 = {};
2868
2868
 
2869
2869
  dropUntilAsync$1.dropUntilAsync = void 0;
2870
- const types_1$j = es2018$3;
2870
+ const types_1$j = es2018$2;
2871
2871
  function dropUntilAsync(iterable, predicate) {
2872
2872
  if ((0, types_1$j.isAsyncIterable)(iterable)) {
2873
2873
  return dropUntilAsyncIterable(iterable);
@@ -2949,9 +2949,9 @@
2949
2949
  var drop$1 = {};
2950
2950
 
2951
2951
  drop$1.drop = void 0;
2952
- const go_1$8 = es2018$5;
2952
+ const go_1$8 = es2018$4;
2953
2953
  const utils_1 = utils;
2954
- const errors_1$b = es2018$4;
2954
+ const errors_1$b = es2018$3;
2955
2955
  function drop(iterable, count) {
2956
2956
  (0, errors_1$b.assert)(Number.isInteger(count), 'The parameter count must be an integer');
2957
2957
  (0, errors_1$b.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -2984,7 +2984,7 @@
2984
2984
  var filterAsync$1 = {};
2985
2985
 
2986
2986
  filterAsync$1.filterAsync = void 0;
2987
- const types_1$i = es2018$3;
2987
+ const types_1$i = es2018$2;
2988
2988
  function filterAsync(iterable, predicate) {
2989
2989
  if ((0, types_1$i.isAsyncIterable)(iterable)) {
2990
2990
  return filterAsyncIterable(iterable);
@@ -3031,7 +3031,7 @@
3031
3031
  var flattenByAsync$1 = {};
3032
3032
 
3033
3033
  flattenByAsync$1.flattenByAsync = void 0;
3034
- const types_1$h = es2018$3;
3034
+ const types_1$h = es2018$2;
3035
3035
  function flattenByAsync(iterable, predicate) {
3036
3036
  if ((0, types_1$h.isAsyncIterable)(iterable)) {
3037
3037
  return flattenByAsyncIterable(iterable);
@@ -3071,7 +3071,7 @@
3071
3071
 
3072
3072
  flattenDeepAsync$1.flattenDeepAsync = void 0;
3073
3073
  const flatten_by_async_1 = flattenByAsync$1;
3074
- const errors_1$a = es2018$4;
3074
+ const errors_1$a = es2018$3;
3075
3075
  function flattenDeepAsync(iterable, depth = Infinity) {
3076
3076
  (0, errors_1$a.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
3077
3077
  (0, errors_1$a.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -3089,7 +3089,7 @@
3089
3089
  var flattenBy$1 = {};
3090
3090
 
3091
3091
  flattenBy$1.flattenBy = void 0;
3092
- const types_1$g = es2018$3;
3092
+ const types_1$g = es2018$2;
3093
3093
  function flattenBy(iterable, predicate) {
3094
3094
  return flatten(iterable, 1);
3095
3095
  function* flatten(iterable, level) {
@@ -3112,7 +3112,7 @@
3112
3112
 
3113
3113
  flattenDeep$1.flattenDeep = void 0;
3114
3114
  const flatten_by_1 = flattenBy$1;
3115
- const errors_1$9 = es2018$4;
3115
+ const errors_1$9 = es2018$3;
3116
3116
  function flattenDeep(iterable, depth = Infinity) {
3117
3117
  (0, errors_1$9.assert)(depth === Infinity || Number.isInteger(depth), 'The parameter depth must be an integer');
3118
3118
  (0, errors_1$9.assert)(depth >= 0, 'The parameter depth must be greater than or equal to 0');
@@ -3132,7 +3132,7 @@
3132
3132
  var mapAsync$1 = {};
3133
3133
 
3134
3134
  mapAsync$1.mapAsync = void 0;
3135
- const types_1$f = es2018$3;
3135
+ const types_1$f = es2018$2;
3136
3136
  function mapAsync(iterable, fn) {
3137
3137
  if ((0, types_1$f.isAsyncIterable)(iterable)) {
3138
3138
  return mapAsyncIterable(iterable);
@@ -3172,8 +3172,8 @@
3172
3172
  var repeatAsync$1 = {};
3173
3173
 
3174
3174
  repeatAsync$1.repeatAsync = void 0;
3175
- const go_1$7 = es2018$5;
3176
- const errors_1$8 = es2018$4;
3175
+ const go_1$7 = es2018$4;
3176
+ const errors_1$8 = es2018$3;
3177
3177
  function repeatAsync(iterable, times) {
3178
3178
  (0, errors_1$8.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
3179
3179
  (0, errors_1$8.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -3207,8 +3207,8 @@
3207
3207
  var repeat$1 = {};
3208
3208
 
3209
3209
  repeat$1.repeat = void 0;
3210
- const go_1$6 = es2018$5;
3211
- const errors_1$7 = es2018$4;
3210
+ const go_1$6 = es2018$4;
3211
+ const errors_1$7 = es2018$3;
3212
3212
  function repeat(iterable, times) {
3213
3213
  (0, errors_1$7.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
3214
3214
  (0, errors_1$7.assert)(times >= 0, 'The parameter times must be greater than or equal to 0');
@@ -3242,8 +3242,8 @@
3242
3242
  var sliceAsync$1 = {};
3243
3243
 
3244
3244
  sliceAsync$1.sliceAsync = void 0;
3245
- const go_1$5 = es2018$5;
3246
- const errors_1$6 = es2018$4;
3245
+ const go_1$5 = es2018$4;
3246
+ const errors_1$6 = es2018$3;
3247
3247
  function sliceAsync(iterable, start, end = Infinity) {
3248
3248
  (0, errors_1$6.assert)(Number.isInteger(start), 'The parameter start must be an integer');
3249
3249
  (0, errors_1$6.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -3265,8 +3265,8 @@
3265
3265
  var slice$1 = {};
3266
3266
 
3267
3267
  slice$1.slice = void 0;
3268
- const go_1$4 = es2018$5;
3269
- const errors_1$5 = es2018$4;
3268
+ const go_1$4 = es2018$4;
3269
+ const errors_1$5 = es2018$3;
3270
3270
  function slice(iterable, start, end = Infinity) {
3271
3271
  (0, errors_1$5.assert)(Number.isInteger(start), 'The parameter start must be an integer');
3272
3272
  (0, errors_1$5.assert)(start >= 0, 'The parameter start must be greater than or equal to 0');
@@ -3306,7 +3306,7 @@
3306
3306
  var splitByAsync$1 = {};
3307
3307
 
3308
3308
  splitByAsync$1.splitByAsync = void 0;
3309
- const types_1$e = es2018$3;
3309
+ const types_1$e = es2018$2;
3310
3310
  function splitByAsync(iterable, predicate) {
3311
3311
  if ((0, types_1$e.isAsyncIterable)(iterable)) {
3312
3312
  return splitByAsyncIterable(iterable);
@@ -3388,8 +3388,8 @@
3388
3388
  var takeAsync$1 = {};
3389
3389
 
3390
3390
  takeAsync$1.takeAsync = void 0;
3391
- const go_1$3 = es2018$5;
3392
- const errors_1$4 = es2018$4;
3391
+ const go_1$3 = es2018$4;
3392
+ const errors_1$4 = es2018$3;
3393
3393
  function takeAsync(iterable, count) {
3394
3394
  (0, errors_1$4.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3395
3395
  (0, errors_1$4.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3409,8 +3409,8 @@
3409
3409
  var takeRightAsync$1 = {};
3410
3410
 
3411
3411
  takeRightAsync$1.takeRightAsync = void 0;
3412
- const go_1$2 = es2018$5;
3413
- const errors_1$3 = es2018$4;
3412
+ const go_1$2 = es2018$4;
3413
+ const errors_1$3 = es2018$3;
3414
3414
  function takeRightAsync(iterable, count) {
3415
3415
  (0, errors_1$3.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3416
3416
  (0, errors_1$3.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3439,8 +3439,8 @@
3439
3439
  var takeRight$1 = {};
3440
3440
 
3441
3441
  takeRight$1.takeRight = void 0;
3442
- const go_1$1 = es2018$5;
3443
- const errors_1$2 = es2018$4;
3442
+ const go_1$1 = es2018$4;
3443
+ const errors_1$2 = es2018$3;
3444
3444
  function takeRight(iterable, count) {
3445
3445
  (0, errors_1$2.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3446
3446
  (0, errors_1$2.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3469,7 +3469,7 @@
3469
3469
  var takeUntilAsync$1 = {};
3470
3470
 
3471
3471
  takeUntilAsync$1.takeUntilAsync = void 0;
3472
- const types_1$d = es2018$3;
3472
+ const types_1$d = es2018$2;
3473
3473
  function takeUntilAsync(iterable, predicate) {
3474
3474
  if ((0, types_1$d.isAsyncIterable)(iterable)) {
3475
3475
  return takeUntilAsyncIterable(iterable);
@@ -3515,8 +3515,8 @@
3515
3515
  var take$1 = {};
3516
3516
 
3517
3517
  take$1.take = void 0;
3518
- const go_1 = es2018$5;
3519
- const errors_1$1 = es2018$4;
3518
+ const go_1 = es2018$4;
3519
+ const errors_1$1 = es2018$3;
3520
3520
  function take(iterable, count) {
3521
3521
  (0, errors_1$1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
3522
3522
  (0, errors_1$1.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
@@ -3536,7 +3536,7 @@
3536
3536
  var tapAsync$1 = {};
3537
3537
 
3538
3538
  tapAsync$1.tapAsync = void 0;
3539
- const types_1$c = es2018$3;
3539
+ const types_1$c = es2018$2;
3540
3540
  function tapAsync(iterable, fn) {
3541
3541
  if ((0, types_1$c.isAsyncIterable)(iterable)) {
3542
3542
  return tapAsyncIterable(iterable);
@@ -3619,7 +3619,7 @@
3619
3619
  var uniqByAsync$1 = {};
3620
3620
 
3621
3621
  uniqByAsync$1.uniqByAsync = void 0;
3622
- const types_1$b = es2018$3;
3622
+ const types_1$b = es2018$2;
3623
3623
  function uniqByAsync(iterable, fn) {
3624
3624
  if ((0, types_1$b.isAsyncIterable)(iterable)) {
3625
3625
  return uniqByAsyncIterable(iterable);
@@ -3688,7 +3688,7 @@
3688
3688
  var zipAsync$1 = {};
3689
3689
 
3690
3690
  zipAsync$1.zipAsync = void 0;
3691
- const types_1$a = es2018$3;
3691
+ const types_1$a = es2018$2;
3692
3692
  var Kind;
3693
3693
  (function (Kind) {
3694
3694
  Kind[Kind["Sync"] = 0] = "Sync";
@@ -3848,7 +3848,7 @@
3848
3848
  var eachAsync$1 = {};
3849
3849
 
3850
3850
  eachAsync$1.eachAsync = void 0;
3851
- const types_1$9 = es2018$3;
3851
+ const types_1$9 = es2018$2;
3852
3852
  function eachAsync(iterable, fn) {
3853
3853
  if ((0, types_1$9.isAsyncIterable)(iterable)) {
3854
3854
  return eachAsyncIterable(iterable);
@@ -3888,7 +3888,7 @@
3888
3888
  var everyAsync$1 = {};
3889
3889
 
3890
3890
  everyAsync$1.everyAsync = void 0;
3891
- const types_1$8 = es2018$3;
3891
+ const types_1$8 = es2018$2;
3892
3892
  function everyAsync(iterable, predicate) {
3893
3893
  if ((0, types_1$8.isAsyncIterable)(iterable)) {
3894
3894
  return everyAsyncIterable(iterable);
@@ -3934,7 +3934,7 @@
3934
3934
  var findAsync$1 = {};
3935
3935
 
3936
3936
  findAsync$1.findAsync = void 0;
3937
- const types_1$7 = es2018$3;
3937
+ const types_1$7 = es2018$2;
3938
3938
  function findAsync(iterable, predicate) {
3939
3939
  if ((0, types_1$7.isAsyncIterable)(iterable)) {
3940
3940
  return findAsyncIterable(iterable);
@@ -4058,7 +4058,7 @@
4058
4058
  var reduceAsync$1 = {};
4059
4059
 
4060
4060
  reduceAsync$1.reduceAsync = void 0;
4061
- const types_1$6 = es2018$3;
4061
+ const types_1$6 = es2018$2;
4062
4062
  function reduceAsync(iterable, fn, initialValue) {
4063
4063
  if ((0, types_1$6.isUndefined)(initialValue)) {
4064
4064
  return reduceAsyncWithoutInitialValue(iterable, fn);
@@ -4154,7 +4154,7 @@
4154
4154
  var reduce$1 = {};
4155
4155
 
4156
4156
  reduce$1.reduce = void 0;
4157
- const types_1$5 = es2018$3;
4157
+ const types_1$5 = es2018$2;
4158
4158
  function reduce(iterable, fn, initialValue) {
4159
4159
  if ((0, types_1$5.isUndefined)(initialValue)) {
4160
4160
  return reduceWithoutInitialValue(iterable, fn);
@@ -4201,7 +4201,7 @@
4201
4201
  var someAsync$1 = {};
4202
4202
 
4203
4203
  someAsync$1.someAsync = void 0;
4204
- const types_1$4 = es2018$3;
4204
+ const types_1$4 = es2018$2;
4205
4205
  function someAsync(iterable, predicate) {
4206
4206
  if ((0, types_1$4.isAsyncIterable)(iterable)) {
4207
4207
  return someAsyncIterable(iterable);
@@ -4258,536 +4258,83 @@
4258
4258
  result = value;
4259
4259
  }
4260
4260
  return result;
4261
- }
4262
- finally {
4263
- if (!done)
4264
- await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));
4265
- }
4266
- }
4267
- lastAsync$1.lastAsync = lastAsync;
4268
-
4269
- var last$1 = {};
4270
-
4271
- last$1.last = void 0;
4272
- function last(iterable) {
4273
- var _a;
4274
- const iterator = iterable[Symbol.iterator]();
4275
- let done;
4276
- try {
4277
- let value;
4278
- let result;
4279
- while ({ value, done } = iterator.next(), !done) {
4280
- result = value;
4281
- }
4282
- return result;
4283
- }
4284
- finally {
4285
- if (!done)
4286
- (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);
4287
- }
4288
- }
4289
- last$1.last = last;
4290
-
4291
- var toArrayAsync$1 = {};
4292
-
4293
- toArrayAsync$1.toArrayAsync = void 0;
4294
- const consume_1$3 = consume$1;
4295
- function toArrayAsync(iterable) {
4296
- return (0, consume_1$3.consume)(iterable, async (iterable) => {
4297
- const result = [];
4298
- for await (const element of iterable) {
4299
- result.push(element);
4300
- }
4301
- return result;
4302
- });
4303
- }
4304
- toArrayAsync$1.toArrayAsync = toArrayAsync;
4305
-
4306
- var toArray$1 = {};
4307
-
4308
- toArray$1.toArray = void 0;
4309
- const consume_1$2 = consume$1;
4310
- function toArray(iterable) {
4311
- return (0, consume_1$2.consume)(iterable, iterable => Array.from(iterable));
4312
- }
4313
- toArray$1.toArray = toArray;
4314
-
4315
- var toSetAsync$1 = {};
4316
-
4317
- toSetAsync$1.toSetAsync = void 0;
4318
- const consume_1$1 = consume$1;
4319
- function toSetAsync(iterable) {
4320
- return (0, consume_1$1.consume)(iterable, async (iterable) => {
4321
- const result = new Set();
4322
- for await (const element of iterable) {
4323
- result.add(element);
4324
- }
4325
- return result;
4326
- });
4327
- }
4328
- toSetAsync$1.toSetAsync = toSetAsync;
4329
-
4330
- var toSet$1 = {};
4331
-
4332
- toSet$1.toSet = void 0;
4333
- const consume_1 = consume$1;
4334
- function toSet(iterable) {
4335
- return (0, consume_1.consume)(iterable, iterable => new Set(iterable));
4336
- }
4337
- toSet$1.toSet = toSet;
4338
-
4339
- (function (exports) {
4340
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4341
- if (k2 === undefined) k2 = k;
4342
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4343
- }) : (function(o, m, k, k2) {
4344
- if (k2 === undefined) k2 = k;
4345
- o[k2] = m[k];
4346
- }));
4347
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4348
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4349
- };__exportStar(consume$1, exports);
4350
- __exportStar(eachAsync$1, exports);
4351
- __exportStar(each$1, exports);
4352
- __exportStar(everyAsync$1, exports);
4353
- __exportStar(every$1, exports);
4354
- __exportStar(findAsync$1, exports);
4355
- __exportStar(find$1, exports);
4356
- __exportStar(firstAsync$1, exports);
4357
- __exportStar(first$1, exports);
4358
- __exportStar(includesAsync$1, exports);
4359
- __exportStar(includes$1, exports);
4360
- __exportStar(matchAsync$1, exports);
4361
- __exportStar(match$1, exports);
4362
- __exportStar(reduceAsync$1, exports);
4363
- __exportStar(reduce$1, exports);
4364
- __exportStar(someAsync$1, exports);
4365
- __exportStar(some$1, exports);
4366
- __exportStar(lastAsync$1, exports);
4367
- __exportStar(last$1, exports);
4368
- __exportStar(toArrayAsync$1, exports);
4369
- __exportStar(toArray$1, exports);
4370
- __exportStar(toSetAsync$1, exports);
4371
- __exportStar(toSet$1, exports);
4372
-
4373
- }(output));
4374
-
4375
- (function (exports) {
4376
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4377
- if (k2 === undefined) k2 = k;
4378
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4379
- }) : (function(o, m, k, k2) {
4380
- if (k2 === undefined) k2 = k;
4381
- o[k2] = m[k];
4382
- }));
4383
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4384
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4385
- };__exportStar(middleware, exports);
4386
- __exportStar(output, exports);
4387
-
4388
- }(es2018$6));
4389
-
4390
- toNdjson.toNDJSON = void 0;
4391
- const iterable_operator_1$3 = es2018$6;
4392
- const to_lines_1 = toLines$1;
4393
- function toNDJSON(res) {
4394
- return (0, iterable_operator_1$3.mapAsync)((0, to_lines_1.toLines)(res), text => JSON.parse(text));
4395
- }
4396
- toNdjson.toNDJSON = toNDJSON;
4397
-
4398
- var toCsv = {};
4399
-
4400
- toCsv.toCSV = void 0;
4401
- const papaparse_1 = papaparse_min.exports;
4402
- async function toCSV(res) {
4403
- const text = await res.text();
4404
- const result = (0, papaparse_1.parse)(text, {
4405
- header: true,
4406
- skipEmptyLines: 'greedy'
4407
- });
4408
- return result.data;
4409
- }
4410
- toCsv.toCSV = toCSV;
4411
-
4412
- (function (exports) {
4413
- var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4414
- if (k2 === undefined) k2 = k;
4415
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4416
- }) : (function(o, m, k, k2) {
4417
- if (k2 === undefined) k2 = k;
4418
- o[k2] = m[k];
4419
- }));
4420
- var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4421
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4422
- };__exportStar(ok, exports);
4423
- __exportStar(toJson, exports);
4424
- __exportStar(toText$1, exports);
4425
- __exportStar(toLines$1, exports);
4426
- __exportStar(toNdjson, exports);
4427
- __exportStar(toCsv, exports);
4428
-
4429
- }(es2018$7));
4430
-
4431
- var es2018$2 = {};
4432
-
4433
- var abortController = {};
4434
-
4435
- var browser = {exports: {}};
4436
-
4437
- /*globals self, window */
4438
-
4439
- /*eslint-disable @mysticatea/prettier */
4440
- const { AbortController, AbortSignal } =
4441
- typeof self !== "undefined" ? self :
4442
- typeof window !== "undefined" ? window :
4443
- /* otherwise */ undefined;
4444
- /*eslint-enable @mysticatea/prettier */
4445
-
4446
- browser.exports = AbortController;
4447
- browser.exports.AbortSignal = AbortSignal;
4448
- browser.exports.default = AbortController;
4449
-
4450
- var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
4451
- return (mod && mod.__esModule) ? mod : { "default": mod };
4452
- };
4453
- var _a$1;abortController.AbortController = void 0;
4454
- const abort_controller_1$3 = __importDefault$1(browser.exports);
4455
- abortController.AbortController = (_a$1 = globalThis.AbortController) !== null && _a$1 !== void 0 ? _a$1 : abort_controller_1$3.default;
4456
-
4457
- var abortError = {};
4458
-
4459
- var es2018$1 = {};
4460
-
4461
- var customError = {};
4462
-
4463
- var getErrorNames$1 = {};
4464
-
4465
- var es2018 = {};
4466
-
4467
- var array = {};
4468
-
4469
- array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
4470
- function isArray(val) {
4471
- return Array.isArray(val);
4472
- }
4473
- array.isArray = isArray;
4474
- function isntArray(val) {
4475
- return !isArray(val);
4476
- }
4477
- array.isntArray = isntArray;
4478
- function isEmptyArray(val) {
4479
- return val.length === 0;
4480
- }
4481
- array.isEmptyArray = isEmptyArray;
4482
- function isntEmptyArray(val) {
4483
- return val.length !== 0;
4484
- }
4485
- array.isntEmptyArray = isntEmptyArray;
4486
-
4487
- var asyncIterable = {};
4488
-
4489
- var _null = {};
4490
-
4491
- _null.isntNull = _null.isNull = void 0;
4492
- function isNull(val) {
4493
- return val === null;
4494
- }
4495
- _null.isNull = isNull;
4496
- function isntNull(val) {
4497
- return !isNull(val);
4498
- }
4499
- _null.isntNull = isntNull;
4500
-
4501
- var _undefined = {};
4502
-
4503
- _undefined.isntUndefined = _undefined.isUndefined = void 0;
4504
- function isUndefined(val) {
4505
- return val === undefined;
4506
- }
4507
- _undefined.isUndefined = isUndefined;
4508
- function isntUndefined(val) {
4509
- return !isUndefined(val);
4510
- }
4511
- _undefined.isntUndefined = isntUndefined;
4512
-
4513
- asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
4514
- const null_1$1 = _null;
4515
- const undefined_1$2 = _undefined;
4516
- function isAsyncIterable(val) {
4517
- return (0, null_1$1.isntNull)(val)
4518
- && (0, undefined_1$2.isntUndefined)(val)
4519
- && typeof val[Symbol.asyncIterator] === 'function';
4520
- }
4521
- asyncIterable.isAsyncIterable = isAsyncIterable;
4522
- function isntAsyncIterable(val) {
4523
- return !isAsyncIterable(val);
4524
- }
4525
- asyncIterable.isntAsyncIterable = isntAsyncIterable;
4526
-
4527
- var bigint = {};
4528
-
4529
- bigint.isntBigInt = bigint.isBigInt = void 0;
4530
- function isBigInt(val) {
4531
- return typeof val === 'bigint';
4532
- }
4533
- bigint.isBigInt = isBigInt;
4534
- function isntBigInt(val) {
4535
- return !isBigInt(val);
4536
- }
4537
- bigint.isntBigInt = isntBigInt;
4538
-
4539
- var boolean = {};
4540
-
4541
- boolean.isntBoolean = boolean.isBoolean = void 0;
4542
- function isBoolean(val) {
4543
- return typeof val === 'boolean';
4544
- }
4545
- boolean.isBoolean = isBoolean;
4546
- function isntBoolean(val) {
4547
- return !isBoolean(val);
4548
- }
4549
- boolean.isntBoolean = isntBoolean;
4550
-
4551
- var char = {};
4552
-
4553
- var string = {};
4554
-
4555
- string.isntString = string.isString = void 0;
4556
- function isString(val) {
4557
- return typeof val === 'string';
4558
- }
4559
- string.isString = isString;
4560
- function isntString(val) {
4561
- return !isString(val);
4562
- }
4563
- string.isntString = isntString;
4564
-
4565
- char.isntChar = char.isChar = void 0;
4566
- const string_1$1 = string;
4567
- function isChar(val) {
4568
- return (0, string_1$1.isString)(val)
4569
- && val.length === 1;
4570
- }
4571
- char.isChar = isChar;
4572
- function isntChar(val) {
4573
- return !isChar(val);
4574
- }
4575
- char.isntChar = isntChar;
4576
-
4577
- var date = {};
4578
-
4579
- date.isntDate = date.isDate = void 0;
4580
- function isDate(val) {
4581
- return val instanceof Date;
4582
- }
4583
- date.isDate = isDate;
4584
- function isntDate(val) {
4585
- return !isDate(val);
4586
- }
4587
- date.isntDate = isntDate;
4588
-
4589
- var _enum = {};
4590
-
4591
- _enum.inEnum = void 0;
4592
- function inEnum(val, _enum) {
4593
- return Object.values(_enum).includes(val);
4594
- }
4595
- _enum.inEnum = inEnum;
4596
-
4597
- var error = {};
4598
-
4599
- error.isntError = error.isError = void 0;
4600
- function isError(val) {
4601
- return val instanceof Error;
4602
- }
4603
- error.isError = isError;
4604
- function isntError(val) {
4605
- return !isError(val);
4606
- }
4607
- error.isntError = isntError;
4608
-
4609
- var falsy = {};
4610
-
4611
- falsy.isntFalsy = falsy.isFalsy = void 0;
4612
- function isFalsy(val) {
4613
- return !val;
4614
- }
4615
- falsy.isFalsy = isFalsy;
4616
- function isntFalsy(val) {
4617
- return !isFalsy(val);
4618
- }
4619
- falsy.isntFalsy = isntFalsy;
4620
-
4621
- var _function = {};
4622
-
4623
- _function.isntFunction = _function.isFunction = void 0;
4624
- function isFunction(val) {
4625
- return typeof val === 'function';
4626
- }
4627
- _function.isFunction = isFunction;
4628
- function isntFunction(val) {
4629
- return !isFunction(val);
4630
- }
4631
- _function.isntFunction = isntFunction;
4632
-
4633
- var iterable = {};
4634
-
4635
- iterable.isntIterable = iterable.isIterable = void 0;
4636
- const null_1 = _null;
4637
- const undefined_1$1 = _undefined;
4638
- function isIterable(val) {
4639
- return (0, null_1.isntNull)(val)
4640
- && (0, undefined_1$1.isntUndefined)(val)
4641
- && typeof val[Symbol.iterator] === 'function';
4642
- }
4643
- iterable.isIterable = isIterable;
4644
- function isntIterable(val) {
4645
- return !isIterable(val);
4646
- }
4647
- iterable.isntIterable = isntIterable;
4648
-
4649
- var jsonRpc = {};
4650
-
4651
- var object = {};
4652
-
4653
- var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
4654
- return (mod && mod.__esModule) ? mod : { "default": mod };
4655
- };object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
4656
- const lodash_isplainobject_1 = __importDefault(lodash_isplainobject);
4657
- function isObject(val) {
4658
- return val !== null
4659
- && typeof val === 'object';
4660
- }
4661
- object.isObject = isObject;
4662
- function isntObject(val) {
4663
- return !isObject(val);
4664
- }
4665
- object.isntObject = isntObject;
4666
- function isPlainObject(val) {
4667
- return (0, lodash_isplainobject_1.default)(val);
4668
- }
4669
- object.isPlainObject = isPlainObject;
4670
- function isntPlainObject(val) {
4671
- return !isPlainObject(val);
4672
- }
4673
- object.isntPlainObject = isntPlainObject;
4674
- function isEmptyObject(val) {
4675
- return Object.keys(val).length === 0;
4676
- }
4677
- object.isEmptyObject = isEmptyObject;
4678
- function isntEmptyObject(val) {
4679
- return Object.keys(val).length !== 0;
4680
- }
4681
- object.isntEmptyObject = isntEmptyObject;
4682
-
4683
- var number = {};
4684
-
4685
- number.isntNumber = number.isNumber = void 0;
4686
- function isNumber(val) {
4687
- return typeof val === 'number';
4688
- }
4689
- number.isNumber = isNumber;
4690
- function isntNumber(val) {
4691
- return !isNumber(val);
4692
- }
4693
- number.isntNumber = isntNumber;
4694
-
4695
- jsonRpc.isntJsonRpcError = jsonRpc.isJsonRpcError = jsonRpc.isntJsonRpcSuccess = jsonRpc.isJsonRpcSuccess = jsonRpc.isntJsonRpcRequest = jsonRpc.isJsonRpcRequest = jsonRpc.isntJsonRpcNotification = jsonRpc.isJsonRpcNotification = void 0;
4696
- const array_1 = array;
4697
- const object_1 = object;
4698
- const string_1 = string;
4699
- const number_1 = number;
4700
- const undefined_1 = _undefined;
4701
- function isJsonRpcId(val) {
4702
- return (0, string_1.isString)(val) || (0, number_1.isNumber)(val);
4703
- }
4704
- function isJsonRpcParams(val) {
4705
- return (0, array_1.isArray)(val) || (0, object_1.isObject)(val);
4706
- }
4707
- function isJsonRpcNotification(val) {
4708
- return (0, object_1.isPlainObject)(val)
4709
- && (0, string_1.isString)(val.jsonrpc)
4710
- && (0, string_1.isString)(val.method)
4711
- && (0, undefined_1.isUndefined)(val.id)
4712
- && isJsonRpcParams(val.params);
4713
- }
4714
- jsonRpc.isJsonRpcNotification = isJsonRpcNotification;
4715
- function isntJsonRpcNotification(val) {
4716
- return !isJsonRpcNotification(val);
4717
- }
4718
- jsonRpc.isntJsonRpcNotification = isntJsonRpcNotification;
4719
- function isJsonRpcRequest(val) {
4720
- return (0, object_1.isPlainObject)(val)
4721
- && (0, string_1.isString)(val.jsonrpc)
4722
- && (0, string_1.isString)(val.method)
4723
- && isJsonRpcId(val.id)
4724
- && isJsonRpcParams(val.params);
4725
- }
4726
- jsonRpc.isJsonRpcRequest = isJsonRpcRequest;
4727
- function isntJsonRpcRequest(val) {
4728
- return !isJsonRpcRequest(val);
4729
- }
4730
- jsonRpc.isntJsonRpcRequest = isntJsonRpcRequest;
4731
- function isJsonRpcSuccess(val) {
4732
- return (0, object_1.isPlainObject)(val)
4733
- && (0, string_1.isString)(val.jsonrpc)
4734
- && (0, string_1.isString)(val.id)
4735
- && 'result' in val;
4736
- }
4737
- jsonRpc.isJsonRpcSuccess = isJsonRpcSuccess;
4738
- function isntJsonRpcSuccess(val) {
4739
- return !isJsonRpcSuccess(val);
4740
- }
4741
- jsonRpc.isntJsonRpcSuccess = isntJsonRpcSuccess;
4742
- function isJsonRpcError(val) {
4743
- return (0, object_1.isPlainObject)(val)
4744
- && (0, string_1.isString)(val.jsonrpc)
4745
- && isJsonRpcId(val.id)
4746
- && isJsonRpcErrorObject(val.error);
4747
- }
4748
- jsonRpc.isJsonRpcError = isJsonRpcError;
4749
- function isntJsonRpcError(val) {
4750
- return !isJsonRpcError(val);
4751
- }
4752
- jsonRpc.isntJsonRpcError = isntJsonRpcError;
4753
- function isJsonRpcErrorObject(val) {
4754
- return (0, object_1.isPlainObject)(val)
4755
- && (0, number_1.isNumber)(val.code)
4756
- && (0, string_1.isString)(val.message)
4757
- && ((0, undefined_1.isUndefined)(val.data) || (0, object_1.isObject)(val.data));
4261
+ }
4262
+ finally {
4263
+ if (!done)
4264
+ await ((_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator));
4265
+ }
4758
4266
  }
4267
+ lastAsync$1.lastAsync = lastAsync;
4759
4268
 
4760
- var json = {};
4269
+ var last$1 = {};
4761
4270
 
4762
- json.isntJson = json.isJson = void 0;
4763
- function isJson(val) {
4271
+ last$1.last = void 0;
4272
+ function last(iterable) {
4273
+ var _a;
4274
+ const iterator = iterable[Symbol.iterator]();
4275
+ let done;
4764
4276
  try {
4765
- JSON.stringify(val);
4766
- return true;
4277
+ let value;
4278
+ let result;
4279
+ while ({ value, done } = iterator.next(), !done) {
4280
+ result = value;
4281
+ }
4282
+ return result;
4767
4283
  }
4768
- catch (_a) {
4769
- return false;
4284
+ finally {
4285
+ if (!done)
4286
+ (_a = iterator.return) === null || _a === void 0 ? void 0 : _a.call(iterator);
4770
4287
  }
4771
4288
  }
4772
- json.isJson = isJson;
4773
- function isntJson(val) {
4774
- return !isntJson();
4289
+ last$1.last = last;
4290
+
4291
+ var toArrayAsync$1 = {};
4292
+
4293
+ toArrayAsync$1.toArrayAsync = void 0;
4294
+ const consume_1$3 = consume$1;
4295
+ function toArrayAsync(iterable) {
4296
+ return (0, consume_1$3.consume)(iterable, async (iterable) => {
4297
+ const result = [];
4298
+ for await (const element of iterable) {
4299
+ result.push(element);
4300
+ }
4301
+ return result;
4302
+ });
4775
4303
  }
4776
- json.isntJson = isntJson;
4304
+ toArrayAsync$1.toArrayAsync = toArrayAsync;
4777
4305
 
4778
- var url = {};
4306
+ var toArray$1 = {};
4779
4307
 
4780
- url.isAbsoluteURL = void 0;
4781
- function isAbsoluteURL(str) {
4782
- try {
4783
- new URL(str);
4784
- return true;
4785
- }
4786
- catch (_a) {
4787
- return false;
4788
- }
4308
+ toArray$1.toArray = void 0;
4309
+ const consume_1$2 = consume$1;
4310
+ function toArray(iterable) {
4311
+ return (0, consume_1$2.consume)(iterable, iterable => Array.from(iterable));
4789
4312
  }
4790
- url.isAbsoluteURL = isAbsoluteURL;
4313
+ toArray$1.toArray = toArray;
4314
+
4315
+ var toSetAsync$1 = {};
4316
+
4317
+ toSetAsync$1.toSetAsync = void 0;
4318
+ const consume_1$1 = consume$1;
4319
+ function toSetAsync(iterable) {
4320
+ return (0, consume_1$1.consume)(iterable, async (iterable) => {
4321
+ const result = new Set();
4322
+ for await (const element of iterable) {
4323
+ result.add(element);
4324
+ }
4325
+ return result;
4326
+ });
4327
+ }
4328
+ toSetAsync$1.toSetAsync = toSetAsync;
4329
+
4330
+ var toSet$1 = {};
4331
+
4332
+ toSet$1.toSet = void 0;
4333
+ const consume_1 = consume$1;
4334
+ function toSet(iterable) {
4335
+ return (0, consume_1.consume)(iterable, iterable => new Set(iterable));
4336
+ }
4337
+ toSet$1.toSet = toSet;
4791
4338
 
4792
4339
  (function (exports) {
4793
4340
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
@@ -4799,27 +4346,121 @@
4799
4346
  }));
4800
4347
  var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4801
4348
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4802
- };__exportStar(array, exports);
4803
- __exportStar(asyncIterable, exports);
4804
- __exportStar(bigint, exports);
4805
- __exportStar(boolean, exports);
4806
- __exportStar(char, exports);
4807
- __exportStar(date, exports);
4808
- __exportStar(_enum, exports);
4809
- __exportStar(error, exports);
4810
- __exportStar(falsy, exports);
4811
- __exportStar(_function, exports);
4812
- __exportStar(iterable, exports);
4813
- __exportStar(jsonRpc, exports);
4814
- __exportStar(json, exports);
4815
- __exportStar(_null, exports);
4816
- __exportStar(number, exports);
4817
- __exportStar(object, exports);
4818
- __exportStar(string, exports);
4819
- __exportStar(_undefined, exports);
4820
- __exportStar(url, exports);
4349
+ };__exportStar(consume$1, exports);
4350
+ __exportStar(eachAsync$1, exports);
4351
+ __exportStar(each$1, exports);
4352
+ __exportStar(everyAsync$1, exports);
4353
+ __exportStar(every$1, exports);
4354
+ __exportStar(findAsync$1, exports);
4355
+ __exportStar(find$1, exports);
4356
+ __exportStar(firstAsync$1, exports);
4357
+ __exportStar(first$1, exports);
4358
+ __exportStar(includesAsync$1, exports);
4359
+ __exportStar(includes$1, exports);
4360
+ __exportStar(matchAsync$1, exports);
4361
+ __exportStar(match$1, exports);
4362
+ __exportStar(reduceAsync$1, exports);
4363
+ __exportStar(reduce$1, exports);
4364
+ __exportStar(someAsync$1, exports);
4365
+ __exportStar(some$1, exports);
4366
+ __exportStar(lastAsync$1, exports);
4367
+ __exportStar(last$1, exports);
4368
+ __exportStar(toArrayAsync$1, exports);
4369
+ __exportStar(toArray$1, exports);
4370
+ __exportStar(toSetAsync$1, exports);
4371
+ __exportStar(toSet$1, exports);
4821
4372
 
4822
- }(es2018));
4373
+ }(output));
4374
+
4375
+ (function (exports) {
4376
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4377
+ if (k2 === undefined) k2 = k;
4378
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4379
+ }) : (function(o, m, k, k2) {
4380
+ if (k2 === undefined) k2 = k;
4381
+ o[k2] = m[k];
4382
+ }));
4383
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4384
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4385
+ };__exportStar(middleware, exports);
4386
+ __exportStar(output, exports);
4387
+
4388
+ }(es2018$5));
4389
+
4390
+ toNdjson.toNDJSON = void 0;
4391
+ const iterable_operator_1$3 = es2018$5;
4392
+ const to_lines_1 = toLines$1;
4393
+ function toNDJSON(res) {
4394
+ return (0, iterable_operator_1$3.mapAsync)((0, to_lines_1.toLines)(res), text => JSON.parse(text));
4395
+ }
4396
+ toNdjson.toNDJSON = toNDJSON;
4397
+
4398
+ var toCsv = {};
4399
+
4400
+ toCsv.toCSV = void 0;
4401
+ const papaparse_1 = papaparse_min.exports;
4402
+ async function toCSV(res) {
4403
+ const text = await res.text();
4404
+ const result = (0, papaparse_1.parse)(text, {
4405
+ header: true,
4406
+ skipEmptyLines: 'greedy'
4407
+ });
4408
+ return result.data;
4409
+ }
4410
+ toCsv.toCSV = toCSV;
4411
+
4412
+ (function (exports) {
4413
+ var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4414
+ if (k2 === undefined) k2 = k;
4415
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4416
+ }) : (function(o, m, k, k2) {
4417
+ if (k2 === undefined) k2 = k;
4418
+ o[k2] = m[k];
4419
+ }));
4420
+ var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
4421
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
4422
+ };__exportStar(ok, exports);
4423
+ __exportStar(toJson, exports);
4424
+ __exportStar(toText$1, exports);
4425
+ __exportStar(toLines$1, exports);
4426
+ __exportStar(toNdjson, exports);
4427
+ __exportStar(toCsv, exports);
4428
+
4429
+ }(es2018$6));
4430
+
4431
+ var es2018$1 = {};
4432
+
4433
+ var abortController = {};
4434
+
4435
+ var browser = {exports: {}};
4436
+
4437
+ /*globals self, window */
4438
+
4439
+ /*eslint-disable @mysticatea/prettier */
4440
+ const { AbortController, AbortSignal } =
4441
+ typeof self !== "undefined" ? self :
4442
+ typeof window !== "undefined" ? window :
4443
+ /* otherwise */ undefined;
4444
+ /*eslint-enable @mysticatea/prettier */
4445
+
4446
+ browser.exports = AbortController;
4447
+ browser.exports.AbortSignal = AbortSignal;
4448
+ browser.exports.default = AbortController;
4449
+
4450
+ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
4451
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4452
+ };
4453
+ var _a$1;abortController.AbortController = void 0;
4454
+ const abort_controller_1$3 = __importDefault(browser.exports);
4455
+ abortController.AbortController = (_a$1 = globalThis.AbortController) !== null && _a$1 !== void 0 ? _a$1 : abort_controller_1$3.default;
4456
+
4457
+ var abortError = {};
4458
+
4459
+ var es2018 = {};
4460
+
4461
+ var customError = {};
4462
+
4463
+ var getErrorNames$1 = {};
4823
4464
 
4824
4465
  var traverseErrorPrototypeChain$1 = {};
4825
4466
 
@@ -4835,7 +4476,7 @@
4835
4476
  traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
4836
4477
 
4837
4478
  getErrorNames$1.getErrorNames = void 0;
4838
- const types_1$3 = es2018;
4479
+ const types_1$3 = es2018$2;
4839
4480
  const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
4840
4481
  function* getErrorNames(err) {
4841
4482
  var _a;
@@ -4856,7 +4497,7 @@
4856
4497
  var serializableError = {};
4857
4498
 
4858
4499
  serializableError.isSerializableError = void 0;
4859
- const types_1$2 = es2018;
4500
+ const types_1$2 = es2018$2;
4860
4501
  function isSerializableError(val) {
4861
4502
  return (0, types_1$2.isObject)(val)
4862
4503
  && (0, types_1$2.isString)(val.name)
@@ -4867,9 +4508,9 @@
4867
4508
  serializableError.isSerializableError = isSerializableError;
4868
4509
 
4869
4510
  customError.CustomError = void 0;
4870
- const iterable_operator_1$2 = es2018$6;
4511
+ const iterable_operator_1$2 = es2018$5;
4871
4512
  const get_error_names_1$1 = getErrorNames$1;
4872
- const types_1$1 = es2018;
4513
+ const types_1$1 = es2018$2;
4873
4514
  const serializable_error_1 = serializableError;
4874
4515
  class CustomError extends Error {
4875
4516
  get name() {
@@ -4905,7 +4546,7 @@
4905
4546
 
4906
4547
  normalize$1.normalize = void 0;
4907
4548
  const get_error_names_1 = getErrorNames$1;
4908
- const iterable_operator_1$1 = es2018$6;
4549
+ const iterable_operator_1$1 = es2018$5;
4909
4550
  function normalize(err) {
4910
4551
  var _a;
4911
4552
  const [name, ...ancestors] = (0, iterable_operator_1$1.toArray)((0, get_error_names_1.getErrorNames)(err));
@@ -4946,12 +4587,12 @@
4946
4587
  __exportStar(getErrorNames$1, exports);
4947
4588
  __exportStar(traverseErrorPrototypeChain$1, exports);
4948
4589
 
4949
- }(es2018$1));
4590
+ }(es2018));
4950
4591
 
4951
4592
  abortError.AbortError = void 0;
4952
- const errors_1 = es2018$1;
4953
- const types_1 = es2018;
4954
- const iterable_operator_1 = es2018$6;
4593
+ const errors_1 = es2018;
4594
+ const types_1 = es2018$2;
4595
+ const iterable_operator_1 = es2018$5;
4955
4596
  class AbortError extends errors_1.CustomError {
4956
4597
  static [Symbol.hasInstance](instance) {
4957
4598
  if ((0, types_1.isError)(instance)) {
@@ -5051,7 +4692,27 @@
5051
4692
  __exportStar(timeoutSignal$1, exports);
5052
4693
  __exportStar(withAbortSignal$1, exports);
5053
4694
 
5054
- }(es2018$2));
4695
+ }(es2018$1));
4696
+
4697
+ const expectedVersion = '0.1.0';
4698
+ class EStoreManagerBase {
4699
+ constructor(options) {
4700
+ this.options = options;
4701
+ }
4702
+ getCommonTransformers(options) {
4703
+ var _a, _b;
4704
+ return [
4705
+ transformers.url(this.options.server),
4706
+ transformers.bearerAuth(this.options.adminPassword),
4707
+ transformers.signal(es2018$1.raceAbortSignals([
4708
+ options.signal,
4709
+ options.timeout !== false && ((_a = (options.timeout && es2018$1.timeoutSignal(options.timeout))) !== null && _a !== void 0 ? _a : (this.options.timeout && es2018$1.timeoutSignal(this.options.timeout)))
4710
+ ])),
4711
+ transformers.keepalive((_b = options.keepalive) !== null && _b !== void 0 ? _b : this.options.keepalive),
4712
+ transformers.header('Accept-Version', expectedVersion)
4713
+ ];
4714
+ }
4715
+ }
5055
4716
 
5056
4717
  class EStoreClient {
5057
4718
  constructor(options) {
@@ -5067,32 +4728,33 @@
5067
4728
  transformers.url(this.options.server),
5068
4729
  auth && transformers.basicAuth(auth.username, auth.password),
5069
4730
  token && transformers.searchParams({ token }),
5070
- transformers.signal(es2018$2.raceAbortSignals([
4731
+ transformers.signal(es2018$1.raceAbortSignals([
5071
4732
  options.signal,
5072
- options.timeout !== false && ((_b = (options.timeout && es2018$2.timeoutSignal(options.timeout))) !== null && _b !== void 0 ? _b : (this.options.timeout && es2018$2.timeoutSignal(this.options.timeout)))
4733
+ options.timeout !== false && ((_b = (options.timeout && es2018$1.timeoutSignal(options.timeout))) !== null && _b !== void 0 ? _b : (this.options.timeout && es2018$1.timeoutSignal(this.options.timeout)))
5073
4734
  ])),
5074
- transformers.keepalive((_c = options.keepalive) !== null && _c !== void 0 ? _c : this.options.keepalive)
4735
+ transformers.keepalive((_c = options.keepalive) !== null && _c !== void 0 ? _c : this.options.keepalive),
4736
+ transformers.header('Accept-Version', expectedVersion)
5075
4737
  ];
5076
4738
  }
5077
4739
  /**
5078
4740
  * @throws {AbortError}
5079
4741
  */
5080
4742
  async append(namespace, itemId, payload, index, options = {}) {
5081
- const req = es2018$c.post(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`), es2018.isntUndefined(index) && transformers.header('If-Match', `${index}`), transformers.json(payload));
5082
- await es2018$d.fetch(req).then(es2018$7.ok);
4743
+ const req = es2018$b.post(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`), es2018$2.isntUndefined(index) && transformers.header('If-Match', `${index}`), transformers.json(payload));
4744
+ await es2018$c.fetch(req).then(es2018$6.ok);
5083
4745
  }
5084
4746
  /**
5085
4747
  * @throws {AbortError}
5086
4748
  */
5087
4749
  async getEvent(namespace, itemId, index, options = {}) {
5088
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events/${index}`));
4750
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events/${index}`));
5089
4751
  try {
5090
- return await es2018$d.fetch(req)
5091
- .then(es2018$7.ok)
5092
- .then(es2018$7.toJSON);
4752
+ return await es2018$c.fetch(req)
4753
+ .then(es2018$6.ok)
4754
+ .then(es2018$6.toJSON);
5093
4755
  }
5094
4756
  catch (e) {
5095
- if (e instanceof es2018$9.NotFound)
4757
+ if (e instanceof es2018$8.NotFound)
5096
4758
  return undefined;
5097
4759
  throw e;
5098
4760
  }
@@ -5101,14 +4763,14 @@
5101
4763
  * @throws {AbortError}
5102
4764
  */
5103
4765
  async getEvents(namespace, itemId, options = {}) {
5104
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`));
4766
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`));
5105
4767
  try {
5106
- return await es2018$d.fetch(req)
5107
- .then(es2018$7.ok)
5108
- .then(es2018$7.toJSON);
4768
+ return await es2018$c.fetch(req)
4769
+ .then(es2018$6.ok)
4770
+ .then(es2018$6.toJSON);
5109
4771
  }
5110
4772
  catch (e) {
5111
- if (e instanceof es2018$9.NotFound)
4773
+ if (e instanceof es2018$8.NotFound)
5112
4774
  return undefined;
5113
4775
  throw e;
5114
4776
  }
@@ -5117,22 +4779,22 @@
5117
4779
  * @throws {AbortError}
5118
4780
  */
5119
4781
  async getSize(namespace, itemId, options = {}) {
5120
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/size`));
5121
- return await es2018$d.fetch(req)
5122
- .then(es2018$7.ok)
5123
- .then(es2018$7.toJSON);
4782
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/size`));
4783
+ return await es2018$c.fetch(req)
4784
+ .then(es2018$6.ok)
4785
+ .then(es2018$6.toJSON);
5124
4786
  }
5125
4787
  /**
5126
4788
  * @throws {AbortError}
5127
4789
  */
5128
4790
  async has(namespace, itemId, options = {}) {
5129
- const req = es2018$c.head(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
4791
+ const req = es2018$b.head(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
5130
4792
  try {
5131
- await es2018$d.fetch(req).then(es2018$7.ok);
4793
+ await es2018$c.fetch(req).then(es2018$6.ok);
5132
4794
  return true;
5133
4795
  }
5134
4796
  catch (e) {
5135
- if (e instanceof es2018$9.NotFound)
4797
+ if (e instanceof es2018$8.NotFound)
5136
4798
  return false;
5137
4799
  throw e;
5138
4800
  }
@@ -5141,61 +4803,42 @@
5141
4803
  * @throws {AbortError}
5142
4804
  */
5143
4805
  async del(namespace, itemId, options = {}) {
5144
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
5145
- await es2018$d.fetch(req).then(es2018$7.ok);
4806
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
4807
+ await es2018$c.fetch(req).then(es2018$6.ok);
5146
4808
  }
5147
4809
  /**
5148
4810
  * @throws {AbortError}
5149
4811
  */
5150
4812
  async clear(namespace, options = {}) {
5151
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}`));
5152
- await es2018$d.fetch(req).then(es2018$7.ok);
4813
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}`));
4814
+ await es2018$c.fetch(req).then(es2018$6.ok);
5153
4815
  }
5154
4816
  /**
5155
4817
  * @throws {AbortError}
5156
4818
  */
5157
4819
  async getAllItemIds(namespace, options = {}) {
5158
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items`));
5159
- return await es2018$d.fetch(req)
5160
- .then(es2018$7.ok)
5161
- .then(es2018$7.toJSON);
4820
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items`));
4821
+ return await es2018$c.fetch(req)
4822
+ .then(es2018$6.ok)
4823
+ .then(es2018$6.toJSON);
5162
4824
  }
5163
4825
  /**
5164
4826
  * @throws {AbortError}
5165
4827
  */
5166
4828
  async getAllNamespaces(options = {}) {
5167
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/estore'));
5168
- return await es2018$d.fetch(req)
5169
- .then(es2018$7.ok)
5170
- .then(es2018$7.toJSON);
4829
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/estore'));
4830
+ return await es2018$c.fetch(req)
4831
+ .then(es2018$6.ok)
4832
+ .then(es2018$6.toJSON);
5171
4833
  }
5172
4834
  /**
5173
4835
  * @throws {AbortError}
5174
4836
  */
5175
4837
  async stats(namespace, options = {}) {
5176
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/stats`));
5177
- return await es2018$d.fetch(req)
5178
- .then(es2018$7.ok)
5179
- .then(es2018$7.toJSON);
5180
- }
5181
- }
5182
-
5183
- class EStoreManagerBase {
5184
- constructor(options) {
5185
- this.options = options;
5186
- }
5187
- getCommonTransformers(options) {
5188
- var _a, _b;
5189
- return [
5190
- transformers.url(this.options.server),
5191
- transformers.bearerAuth(this.options.adminPassword),
5192
- transformers.signal(es2018$2.raceAbortSignals([
5193
- options.signal,
5194
- options.timeout !== false && ((_a = (options.timeout && es2018$2.timeoutSignal(options.timeout))) !== null && _a !== void 0 ? _a : (this.options.timeout && es2018$2.timeoutSignal(this.options.timeout)))
5195
- ])),
5196
- transformers.keepalive((_b = options.keepalive) !== null && _b !== void 0 ? _b : this.options.keepalive),
5197
- transformers.header('Accept-Version', '0.1.0')
5198
- ];
4838
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/stats`));
4839
+ return await es2018$c.fetch(req)
4840
+ .then(es2018$6.ok)
4841
+ .then(es2018$6.toJSON);
5199
4842
  }
5200
4843
  }
5201
4844
 
@@ -5204,33 +4847,33 @@
5204
4847
  * @throws {AbortError}
5205
4848
  */
5206
4849
  async getNamespaces(options = {}) {
5207
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-json-schema'));
5208
- return await es2018$d.fetch(req)
5209
- .then(es2018$7.ok)
5210
- .then(es2018$7.toJSON);
4850
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-json-schema'));
4851
+ return await es2018$c.fetch(req)
4852
+ .then(es2018$6.ok)
4853
+ .then(es2018$6.toJSON);
5211
4854
  }
5212
4855
  /**
5213
4856
  * @throws {AbortError}
5214
4857
  */
5215
4858
  async get(namespace, options = {}) {
5216
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
5217
- return await es2018$d.fetch(req)
5218
- .then(es2018$7.ok)
5219
- .then(es2018$7.toJSON);
4859
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
4860
+ return await es2018$c.fetch(req)
4861
+ .then(es2018$6.ok)
4862
+ .then(es2018$6.toJSON);
5220
4863
  }
5221
4864
  /**
5222
4865
  * @throws {AbortError}
5223
4866
  */
5224
4867
  async set(namespace, schema, options = {}) {
5225
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`), transformers.json(schema));
5226
- await es2018$d.fetch(req).then(es2018$7.ok);
4868
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`), transformers.json(schema));
4869
+ await es2018$c.fetch(req).then(es2018$6.ok);
5227
4870
  }
5228
4871
  /**
5229
4872
  * @throws {AbortError}
5230
4873
  */
5231
4874
  async remove(namespace, options = {}) {
5232
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
5233
- await es2018$d.fetch(req).then(es2018$7.ok);
4875
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
4876
+ await es2018$c.fetch(req).then(es2018$6.ok);
5234
4877
  }
5235
4878
  }
5236
4879
 
@@ -5239,24 +4882,24 @@
5239
4882
  * @throws {AbortError}
5240
4883
  */
5241
4884
  async getNamespaces(options = {}) {
5242
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/blacklist'));
5243
- return await es2018$d.fetch(req)
5244
- .then(es2018$7.ok)
5245
- .then(es2018$7.toJSON);
4885
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/blacklist'));
4886
+ return await es2018$c.fetch(req)
4887
+ .then(es2018$6.ok)
4888
+ .then(es2018$6.toJSON);
5246
4889
  }
5247
4890
  /**
5248
4891
  * @throws {AbortError}
5249
4892
  */
5250
4893
  async add(namespace, options = {}) {
5251
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
5252
- await es2018$d.fetch(req).then(es2018$7.ok);
4894
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
4895
+ await es2018$c.fetch(req).then(es2018$6.ok);
5253
4896
  }
5254
4897
  /**
5255
4898
  * @throws {AbortError}
5256
4899
  */
5257
4900
  async remove(namespace, options = {}) {
5258
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
5259
- await es2018$d.fetch(req).then(es2018$7.ok);
4901
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
4902
+ await es2018$c.fetch(req).then(es2018$6.ok);
5260
4903
  }
5261
4904
  }
5262
4905
 
@@ -5265,24 +4908,24 @@
5265
4908
  * @throws {AbortError}
5266
4909
  */
5267
4910
  async getNamespaces(options = {}) {
5268
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/whitelist'));
5269
- return await es2018$d.fetch(req)
5270
- .then(es2018$7.ok)
5271
- .then(es2018$7.toJSON);
4911
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/whitelist'));
4912
+ return await es2018$c.fetch(req)
4913
+ .then(es2018$6.ok)
4914
+ .then(es2018$6.toJSON);
5272
4915
  }
5273
4916
  /**
5274
4917
  * @throws {AbortError}
5275
4918
  */
5276
4919
  async add(namespace, options = {}) {
5277
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
5278
- await es2018$d.fetch(req).then(es2018$7.ok);
4920
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
4921
+ await es2018$c.fetch(req).then(es2018$6.ok);
5279
4922
  }
5280
4923
  /**
5281
4924
  * @throws {AbortError}
5282
4925
  */
5283
4926
  async remove(namespace, options = {}) {
5284
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
5285
- await es2018$d.fetch(req).then(es2018$7.ok);
4927
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
4928
+ await es2018$c.fetch(req).then(es2018$6.ok);
5286
4929
  }
5287
4930
  }
5288
4931
 
@@ -5291,61 +4934,61 @@
5291
4934
  * @throws {AbortError}
5292
4935
  */
5293
4936
  async getNamespaces(options = {}) {
5294
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-token-policies'));
5295
- return await es2018$d.fetch(req)
5296
- .then(es2018$7.ok)
5297
- .then(es2018$7.toJSON);
4937
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-token-policies'));
4938
+ return await es2018$c.fetch(req)
4939
+ .then(es2018$6.ok)
4940
+ .then(es2018$6.toJSON);
5298
4941
  }
5299
4942
  /**
5300
4943
  * @throws {AbortError}
5301
4944
  */
5302
4945
  async get(namespace, options = {}) {
5303
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies`));
5304
- return await es2018$d.fetch(req)
5305
- .then(es2018$7.ok)
5306
- .then(es2018$7.toJSON);
4946
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies`));
4947
+ return await es2018$c.fetch(req)
4948
+ .then(es2018$6.ok)
4949
+ .then(es2018$6.toJSON);
5307
4950
  }
5308
4951
  /**
5309
4952
  * @throws {AbortError}
5310
4953
  */
5311
4954
  async setWriteTokenRequired(namespace, val, options = {}) {
5312
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`), transformers.json(val));
5313
- await es2018$d.fetch(req).then(es2018$7.ok);
4955
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`), transformers.json(val));
4956
+ await es2018$c.fetch(req).then(es2018$6.ok);
5314
4957
  }
5315
4958
  /**
5316
4959
  * @throws {AbortError}
5317
4960
  */
5318
4961
  async removeWriteTokenRequired(namespace, options = {}) {
5319
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`));
5320
- await es2018$d.fetch(req).then(es2018$7.ok);
4962
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`));
4963
+ await es2018$c.fetch(req).then(es2018$6.ok);
5321
4964
  }
5322
4965
  /**
5323
4966
  * @throws {AbortError}
5324
4967
  */
5325
4968
  async setReadTokenRequired(namespace, val, options = {}) {
5326
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`), transformers.json(val));
5327
- await es2018$d.fetch(req).then(es2018$7.ok);
4969
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`), transformers.json(val));
4970
+ await es2018$c.fetch(req).then(es2018$6.ok);
5328
4971
  }
5329
4972
  /**
5330
4973
  * @throws {AbortError}
5331
4974
  */
5332
4975
  async removeReadTokenRequired(namespace, options = {}) {
5333
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`));
5334
- await es2018$d.fetch(req).then(es2018$7.ok);
4976
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`));
4977
+ await es2018$c.fetch(req).then(es2018$6.ok);
5335
4978
  }
5336
4979
  /**
5337
4980
  * @throws {AbortError}
5338
4981
  */
5339
4982
  async setDeleteTokenRequired(namespace, val, options = {}) {
5340
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`), transformers.json(val));
5341
- await es2018$d.fetch(req).then(es2018$7.ok);
4983
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`), transformers.json(val));
4984
+ await es2018$c.fetch(req).then(es2018$6.ok);
5342
4985
  }
5343
4986
  /**
5344
4987
  * @throws {AbortError}
5345
4988
  */
5346
4989
  async removeDeleteTokenRequired(namespace, options = {}) {
5347
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`));
5348
- await es2018$d.fetch(req).then(es2018$7.ok);
4990
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`));
4991
+ await es2018$c.fetch(req).then(es2018$6.ok);
5349
4992
  }
5350
4993
  }
5351
4994
 
@@ -5354,61 +4997,61 @@
5354
4997
  * @throws {AbortError}
5355
4998
  */
5356
4999
  async getNamespaces(options = {}) {
5357
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-tokens'));
5358
- return await es2018$d.fetch(req)
5359
- .then(es2018$7.ok)
5360
- .then(es2018$7.toJSON);
5000
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-tokens'));
5001
+ return await es2018$c.fetch(req)
5002
+ .then(es2018$6.ok)
5003
+ .then(es2018$6.toJSON);
5361
5004
  }
5362
5005
  /**
5363
5006
  * @throws {AbortError}
5364
5007
  */
5365
5008
  async getTokens(namespace, options = {}) {
5366
- const req = es2018$c.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens`));
5367
- return await es2018$d.fetch(req)
5368
- .then(es2018$7.ok)
5369
- .then(es2018$7.toJSON);
5009
+ const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens`));
5010
+ return await es2018$c.fetch(req)
5011
+ .then(es2018$6.ok)
5012
+ .then(es2018$6.toJSON);
5370
5013
  }
5371
5014
  /**
5372
5015
  * @throws {AbortError}
5373
5016
  */
5374
5017
  async addWriteToken(namespace, token, options = {}) {
5375
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
5376
- await es2018$d.fetch(req).then(es2018$7.ok);
5018
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
5019
+ await es2018$c.fetch(req).then(es2018$6.ok);
5377
5020
  }
5378
5021
  /**
5379
5022
  * @throws {AbortError}
5380
5023
  */
5381
5024
  async removeWriteToken(namespace, token, options = {}) {
5382
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
5383
- await es2018$d.fetch(req).then(es2018$7.ok);
5025
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
5026
+ await es2018$c.fetch(req).then(es2018$6.ok);
5384
5027
  }
5385
5028
  /**
5386
5029
  * @throws {AbortError}
5387
5030
  */
5388
5031
  async addReadToken(namespace, token, options = {}) {
5389
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
5390
- await es2018$d.fetch(req).then(es2018$7.ok);
5032
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
5033
+ await es2018$c.fetch(req).then(es2018$6.ok);
5391
5034
  }
5392
5035
  /**
5393
5036
  * @throws {AbortError}
5394
5037
  */
5395
5038
  async removeReadToken(namespace, token, options = {}) {
5396
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
5397
- await es2018$d.fetch(req).then(es2018$7.ok);
5039
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
5040
+ await es2018$c.fetch(req).then(es2018$6.ok);
5398
5041
  }
5399
5042
  /**
5400
5043
  * @throws {AbortError}
5401
5044
  */
5402
5045
  async addDeleteToken(namespace, token, options = {}) {
5403
- const req = es2018$c.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
5404
- await es2018$d.fetch(req).then(es2018$7.ok);
5046
+ const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
5047
+ await es2018$c.fetch(req).then(es2018$6.ok);
5405
5048
  }
5406
5049
  /**
5407
5050
  * @throws {AbortError}
5408
5051
  */
5409
5052
  async removeDeleteToken(namespace, token, options = {}) {
5410
- const req = es2018$c.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
5411
- await es2018$d.fetch(req).then(es2018$7.ok);
5053
+ const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
5054
+ await es2018$c.fetch(req).then(es2018$6.ok);
5412
5055
  }
5413
5056
  }
5414
5057
 
@@ -5423,11 +5066,11 @@
5423
5066
  }
5424
5067
  }
5425
5068
 
5426
- exports.AbortError = es2018$d.AbortError;
5069
+ exports.AbortError = es2018$c.AbortError;
5427
5070
  exports.EStoreClient = EStoreClient;
5428
5071
  exports.EStoreManager = EStoreManager;
5429
- exports.HTTPClientError = es2018$9.HTTPClientError;
5430
- exports.HTTPError = es2018$7.HTTPError;
5072
+ exports.HTTPClientError = es2018$8.HTTPClientError;
5073
+ exports.HTTPError = es2018$6.HTTPError;
5431
5074
 
5432
5075
  Object.defineProperty(exports, '__esModule', { value: true });
5433
5076