@dereekb/zoho 11.0.6 → 11.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs.js CHANGED
@@ -3,12 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var util = require('@dereekb/util');
6
- var makeError = require('make-error');
7
6
  var fetch = require('@dereekb/util/fetch');
7
+ var makeError = require('make-error');
8
8
 
9
9
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
10
10
 
11
- var fails$f = function (exec) {
11
+ var fails$c = function (exec) {
12
12
  try {
13
13
  return !!exec();
14
14
  } catch (error) {
@@ -16,17 +16,17 @@ var fails$f = function (exec) {
16
16
  }
17
17
  };
18
18
 
19
- var fails$e = fails$f;
19
+ var fails$b = fails$c;
20
20
 
21
21
  // Detect IE8's incomplete defineProperty implementation
22
- var descriptors = !fails$e(function () {
22
+ var descriptors = !fails$b(function () {
23
23
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
24
24
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
25
25
  });
26
26
 
27
- var fails$d = fails$f;
27
+ var fails$a = fails$c;
28
28
 
29
- var functionBindNative = !fails$d(function () {
29
+ var functionBindNative = !fails$a(function () {
30
30
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
31
31
  var test = (function () { /* empty */ }).bind();
32
32
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -36,12 +36,12 @@ var functionBindNative = !fails$d(function () {
36
36
  var NATIVE_BIND$3 = functionBindNative;
37
37
 
38
38
  var FunctionPrototype$2 = Function.prototype;
39
- var call$f = FunctionPrototype$2.call;
40
- var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$f, call$f);
39
+ var call$d = FunctionPrototype$2.call;
40
+ var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$d, call$d);
41
41
 
42
42
  var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
43
43
  return function () {
44
- return call$f.apply(fn, arguments);
44
+ return call$d.apply(fn, arguments);
45
45
  };
46
46
  };
47
47
 
@@ -64,37 +64,37 @@ var requireObjectCoercible$2 = function (it) {
64
64
 
65
65
  var requireObjectCoercible$1 = requireObjectCoercible$2;
66
66
 
67
- var $Object$4 = Object;
67
+ var $Object$3 = Object;
68
68
 
69
69
  // `ToObject` abstract operation
70
70
  // https://tc39.es/ecma262/#sec-toobject
71
- var toObject$4 = function (argument) {
72
- return $Object$4(requireObjectCoercible$1(argument));
71
+ var toObject$3 = function (argument) {
72
+ return $Object$3(requireObjectCoercible$1(argument));
73
73
  };
74
74
 
75
- var uncurryThis$f = functionUncurryThis;
76
- var toObject$3 = toObject$4;
75
+ var uncurryThis$e = functionUncurryThis;
76
+ var toObject$2 = toObject$3;
77
77
 
78
- var hasOwnProperty = uncurryThis$f({}.hasOwnProperty);
78
+ var hasOwnProperty = uncurryThis$e({}.hasOwnProperty);
79
79
 
80
80
  // `HasOwnProperty` abstract operation
81
81
  // https://tc39.es/ecma262/#sec-hasownproperty
82
82
  // eslint-disable-next-line es/no-object-hasown -- safe
83
83
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
84
- return hasOwnProperty(toObject$3(it), key);
84
+ return hasOwnProperty(toObject$2(it), key);
85
85
  };
86
86
 
87
- var DESCRIPTORS$d = descriptors;
88
- var hasOwn$b = hasOwnProperty_1;
87
+ var DESCRIPTORS$a = descriptors;
88
+ var hasOwn$9 = hasOwnProperty_1;
89
89
 
90
90
  var FunctionPrototype$1 = Function.prototype;
91
91
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
92
- var getDescriptor = DESCRIPTORS$d && Object.getOwnPropertyDescriptor;
92
+ var getDescriptor = DESCRIPTORS$a && Object.getOwnPropertyDescriptor;
93
93
 
94
- var EXISTS$1 = hasOwn$b(FunctionPrototype$1, 'name');
94
+ var EXISTS$1 = hasOwn$9(FunctionPrototype$1, 'name');
95
95
  // additional protection from minified / mangled / dropped function names
96
96
  var PROPER = EXISTS$1 && (function something() { /* empty */ }).name === 'something';
97
- var CONFIGURABLE$1 = EXISTS$1 && (!DESCRIPTORS$d || (DESCRIPTORS$d && getDescriptor(FunctionPrototype$1, 'name').configurable));
97
+ var CONFIGURABLE$1 = EXISTS$1 && (!DESCRIPTORS$a || (DESCRIPTORS$a && getDescriptor(FunctionPrototype$1, 'name').configurable));
98
98
 
99
99
  var functionName = {
100
100
  EXISTS: EXISTS$1,
@@ -108,7 +108,7 @@ var documentAll = typeof document == 'object' && document.all;
108
108
  // `IsCallable` abstract operation
109
109
  // https://tc39.es/ecma262/#sec-iscallable
110
110
  // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
111
- var isCallable$k = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
111
+ var isCallable$g = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
112
112
  return typeof argument == 'function' || argument === documentAll;
113
113
  } : function (argument) {
114
114
  return typeof argument == 'function';
@@ -121,7 +121,7 @@ var check = function (it) {
121
121
  };
122
122
 
123
123
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
124
- var global$k =
124
+ var global$i =
125
125
  // eslint-disable-next-line es/no-global-this -- safe
126
126
  check(typeof globalThis == 'object' && globalThis) ||
127
127
  check(typeof window == 'object' && window) ||
@@ -132,41 +132,41 @@ var global$k =
132
132
  // eslint-disable-next-line no-new-func -- fallback
133
133
  (function () { return this; })() || Function('return this')();
134
134
 
135
- var isCallable$j = isCallable$k;
135
+ var isCallable$f = isCallable$g;
136
136
 
137
- var isObject$b = function (it) {
138
- return typeof it == 'object' ? it !== null : isCallable$j(it);
137
+ var isObject$9 = function (it) {
138
+ return typeof it == 'object' ? it !== null : isCallable$f(it);
139
139
  };
140
140
 
141
- var global$j = global$k;
142
- var isObject$a = isObject$b;
141
+ var global$h = global$i;
142
+ var isObject$8 = isObject$9;
143
143
 
144
- var document$3 = global$j.document;
144
+ var document$3 = global$h.document;
145
145
  // typeof document.createElement is 'object' in old IE
146
- var EXISTS = isObject$a(document$3) && isObject$a(document$3.createElement);
146
+ var EXISTS = isObject$8(document$3) && isObject$8(document$3.createElement);
147
147
 
148
- var documentCreateElement$2 = function (it) {
148
+ var documentCreateElement$1 = function (it) {
149
149
  return EXISTS ? document$3.createElement(it) : {};
150
150
  };
151
151
 
152
- var DESCRIPTORS$c = descriptors;
153
- var fails$c = fails$f;
154
- var createElement$1 = documentCreateElement$2;
152
+ var DESCRIPTORS$9 = descriptors;
153
+ var fails$9 = fails$c;
154
+ var createElement$1 = documentCreateElement$1;
155
155
 
156
156
  // Thanks to IE8 for its funny defineProperty
157
- var ie8DomDefine = !DESCRIPTORS$c && !fails$c(function () {
157
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$9(function () {
158
158
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
159
159
  return Object.defineProperty(createElement$1('div'), 'a', {
160
160
  get: function () { return 7; }
161
161
  }).a !== 7;
162
162
  });
163
163
 
164
- var DESCRIPTORS$b = descriptors;
165
- var fails$b = fails$f;
164
+ var DESCRIPTORS$8 = descriptors;
165
+ var fails$8 = fails$c;
166
166
 
167
167
  // V8 ~ Chrome 36-
168
168
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
169
- var v8PrototypeDefineBug = DESCRIPTORS$b && fails$b(function () {
169
+ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$8(function () {
170
170
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
171
171
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
172
172
  value: 42,
@@ -174,47 +174,47 @@ var v8PrototypeDefineBug = DESCRIPTORS$b && fails$b(function () {
174
174
  }).prototype !== 42;
175
175
  });
176
176
 
177
- var isObject$9 = isObject$b;
177
+ var isObject$7 = isObject$9;
178
178
 
179
179
  var $String$5 = String;
180
180
  var $TypeError$c = TypeError;
181
181
 
182
182
  // `Assert: Type(argument) is Object`
183
- var anObject$d = function (argument) {
184
- if (isObject$9(argument)) return argument;
183
+ var anObject$c = function (argument) {
184
+ if (isObject$7(argument)) return argument;
185
185
  throw new $TypeError$c($String$5(argument) + ' is not an object');
186
186
  };
187
187
 
188
188
  var NATIVE_BIND$2 = functionBindNative;
189
189
 
190
- var call$e = Function.prototype.call;
190
+ var call$c = Function.prototype.call;
191
191
 
192
- var functionCall = NATIVE_BIND$2 ? call$e.bind(call$e) : function () {
193
- return call$e.apply(call$e, arguments);
192
+ var functionCall = NATIVE_BIND$2 ? call$c.bind(call$c) : function () {
193
+ return call$c.apply(call$c, arguments);
194
194
  };
195
195
 
196
- var global$i = global$k;
197
- var isCallable$i = isCallable$k;
196
+ var global$g = global$i;
197
+ var isCallable$e = isCallable$g;
198
198
 
199
199
  var aFunction = function (argument) {
200
- return isCallable$i(argument) ? argument : undefined;
200
+ return isCallable$e(argument) ? argument : undefined;
201
201
  };
202
202
 
203
203
  var getBuiltIn$7 = function (namespace, method) {
204
- return arguments.length < 2 ? aFunction(global$i[namespace]) : global$i[namespace] && global$i[namespace][method];
204
+ return arguments.length < 2 ? aFunction(global$g[namespace]) : global$g[namespace] && global$g[namespace][method];
205
205
  };
206
206
 
207
- var uncurryThis$e = functionUncurryThis;
207
+ var uncurryThis$d = functionUncurryThis;
208
208
 
209
- var objectIsPrototypeOf = uncurryThis$e({}.isPrototypeOf);
209
+ var objectIsPrototypeOf = uncurryThis$d({}.isPrototypeOf);
210
210
 
211
211
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
212
212
 
213
- var global$h = global$k;
213
+ var global$f = global$i;
214
214
  var userAgent$3 = engineUserAgent;
215
215
 
216
- var process$3 = global$h.process;
217
- var Deno$1 = global$h.Deno;
216
+ var process$3 = global$f.process;
217
+ var Deno$1 = global$f.Deno;
218
218
  var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
219
219
  var v8 = versions && versions.v8;
220
220
  var match, version;
@@ -240,13 +240,13 @@ var engineV8Version = version;
240
240
 
241
241
  /* eslint-disable es/no-symbol -- required for testing */
242
242
  var V8_VERSION$1 = engineV8Version;
243
- var fails$a = fails$f;
244
- var global$g = global$k;
243
+ var fails$7 = fails$c;
244
+ var global$e = global$i;
245
245
 
246
- var $String$4 = global$g.String;
246
+ var $String$4 = global$e.String;
247
247
 
248
248
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
249
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$a(function () {
249
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function () {
250
250
  var symbol = Symbol('symbol detection');
251
251
  // Chrome 38 Symbol has incorrect toString conversion
252
252
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -265,17 +265,17 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
265
265
  && typeof Symbol.iterator == 'symbol';
266
266
 
267
267
  var getBuiltIn$6 = getBuiltIn$7;
268
- var isCallable$h = isCallable$k;
268
+ var isCallable$d = isCallable$g;
269
269
  var isPrototypeOf$3 = objectIsPrototypeOf;
270
270
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
271
271
 
272
- var $Object$3 = Object;
272
+ var $Object$2 = Object;
273
273
 
274
274
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
275
275
  return typeof it == 'symbol';
276
276
  } : function (it) {
277
277
  var $Symbol = getBuiltIn$6('Symbol');
278
- return isCallable$h($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it));
278
+ return isCallable$d($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$2(it));
279
279
  };
280
280
 
281
281
  var $String$3 = String;
@@ -288,14 +288,14 @@ var tryToString$4 = function (argument) {
288
288
  }
289
289
  };
290
290
 
291
- var isCallable$g = isCallable$k;
291
+ var isCallable$c = isCallable$g;
292
292
  var tryToString$3 = tryToString$4;
293
293
 
294
294
  var $TypeError$b = TypeError;
295
295
 
296
296
  // `Assert: IsCallable(argument) is true`
297
297
  var aCallable$9 = function (argument) {
298
- if (isCallable$g(argument)) return argument;
298
+ if (isCallable$c(argument)) return argument;
299
299
  throw new $TypeError$b(tryToString$3(argument) + ' is not a function');
300
300
  };
301
301
 
@@ -309,9 +309,9 @@ var getMethod$3 = function (V, P) {
309
309
  return isNullOrUndefined$2(func) ? undefined : aCallable$8(func);
310
310
  };
311
311
 
312
- var call$d = functionCall;
313
- var isCallable$f = isCallable$k;
314
- var isObject$8 = isObject$b;
312
+ var call$b = functionCall;
313
+ var isCallable$b = isCallable$g;
314
+ var isObject$6 = isObject$9;
315
315
 
316
316
  var $TypeError$a = TypeError;
317
317
 
@@ -319,34 +319,32 @@ var $TypeError$a = TypeError;
319
319
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
320
320
  var ordinaryToPrimitive$1 = function (input, pref) {
321
321
  var fn, val;
322
- if (pref === 'string' && isCallable$f(fn = input.toString) && !isObject$8(val = call$d(fn, input))) return val;
323
- if (isCallable$f(fn = input.valueOf) && !isObject$8(val = call$d(fn, input))) return val;
324
- if (pref !== 'string' && isCallable$f(fn = input.toString) && !isObject$8(val = call$d(fn, input))) return val;
322
+ if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$6(val = call$b(fn, input))) return val;
323
+ if (isCallable$b(fn = input.valueOf) && !isObject$6(val = call$b(fn, input))) return val;
324
+ if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$6(val = call$b(fn, input))) return val;
325
325
  throw new $TypeError$a("Can't convert object to primitive value");
326
326
  };
327
327
 
328
328
  var shared$3 = {exports: {}};
329
329
 
330
- var isPure = false;
331
-
332
- var global$f = global$k;
330
+ var global$d = global$i;
333
331
 
334
332
  // eslint-disable-next-line es/no-object-defineproperty -- safe
335
- var defineProperty$6 = Object.defineProperty;
333
+ var defineProperty$5 = Object.defineProperty;
336
334
 
337
335
  var defineGlobalProperty$3 = function (key, value) {
338
336
  try {
339
- defineProperty$6(global$f, key, { value: value, configurable: true, writable: true });
337
+ defineProperty$5(global$d, key, { value: value, configurable: true, writable: true });
340
338
  } catch (error) {
341
- global$f[key] = value;
339
+ global$d[key] = value;
342
340
  } return value;
343
341
  };
344
342
 
345
- var global$e = global$k;
343
+ var global$c = global$i;
346
344
  var defineGlobalProperty$2 = defineGlobalProperty$3;
347
345
 
348
346
  var SHARED = '__core-js_shared__';
349
- var store$3 = global$e[SHARED] || defineGlobalProperty$2(SHARED, {});
347
+ var store$3 = global$c[SHARED] || defineGlobalProperty$2(SHARED, {});
350
348
 
351
349
  var sharedStore = store$3;
352
350
 
@@ -362,55 +360,55 @@ var store$2 = sharedStore;
362
360
  source: 'https://github.com/zloirock/core-js'
363
361
  });
364
362
 
365
- var uncurryThis$d = functionUncurryThis;
363
+ var uncurryThis$c = functionUncurryThis;
366
364
 
367
365
  var id = 0;
368
366
  var postfix = Math.random();
369
- var toString$2 = uncurryThis$d(1.0.toString);
367
+ var toString$2 = uncurryThis$c(1.0.toString);
370
368
 
371
369
  var uid$2 = function (key) {
372
370
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$2(++id + postfix, 36);
373
371
  };
374
372
 
375
- var global$d = global$k;
373
+ var global$b = global$i;
376
374
  var shared$2 = shared$3.exports;
377
- var hasOwn$a = hasOwnProperty_1;
375
+ var hasOwn$8 = hasOwnProperty_1;
378
376
  var uid$1 = uid$2;
379
377
  var NATIVE_SYMBOL = symbolConstructorDetection;
380
378
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
381
379
 
382
- var Symbol$1 = global$d.Symbol;
380
+ var Symbol$1 = global$b.Symbol;
383
381
  var WellKnownSymbolsStore = shared$2('wks');
384
382
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
385
383
 
386
- var wellKnownSymbol$h = function (name) {
387
- if (!hasOwn$a(WellKnownSymbolsStore, name)) {
388
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$a(Symbol$1, name)
384
+ var wellKnownSymbol$c = function (name) {
385
+ if (!hasOwn$8(WellKnownSymbolsStore, name)) {
386
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)
389
387
  ? Symbol$1[name]
390
388
  : createWellKnownSymbol('Symbol.' + name);
391
389
  } return WellKnownSymbolsStore[name];
392
390
  };
393
391
 
394
- var call$c = functionCall;
395
- var isObject$7 = isObject$b;
392
+ var call$a = functionCall;
393
+ var isObject$5 = isObject$9;
396
394
  var isSymbol$1 = isSymbol$2;
397
395
  var getMethod$2 = getMethod$3;
398
396
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
399
- var wellKnownSymbol$g = wellKnownSymbol$h;
397
+ var wellKnownSymbol$b = wellKnownSymbol$c;
400
398
 
401
399
  var $TypeError$9 = TypeError;
402
- var TO_PRIMITIVE = wellKnownSymbol$g('toPrimitive');
400
+ var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive');
403
401
 
404
402
  // `ToPrimitive` abstract operation
405
403
  // https://tc39.es/ecma262/#sec-toprimitive
406
404
  var toPrimitive$1 = function (input, pref) {
407
- if (!isObject$7(input) || isSymbol$1(input)) return input;
405
+ if (!isObject$5(input) || isSymbol$1(input)) return input;
408
406
  var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
409
407
  var result;
410
408
  if (exoticToPrim) {
411
409
  if (pref === undefined) pref = 'default';
412
- result = call$c(exoticToPrim, input, pref);
413
- if (!isObject$7(result) || isSymbol$1(result)) return result;
410
+ result = call$a(exoticToPrim, input, pref);
411
+ if (!isObject$5(result) || isSymbol$1(result)) return result;
414
412
  throw new $TypeError$9("Can't convert object to primitive value");
415
413
  }
416
414
  if (pref === undefined) pref = 'number';
@@ -427,10 +425,10 @@ var toPropertyKey$2 = function (argument) {
427
425
  return isSymbol(key) ? key : key + '';
428
426
  };
429
427
 
430
- var DESCRIPTORS$a = descriptors;
428
+ var DESCRIPTORS$7 = descriptors;
431
429
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
432
430
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
433
- var anObject$c = anObject$d;
431
+ var anObject$b = anObject$c;
434
432
  var toPropertyKey$1 = toPropertyKey$2;
435
433
 
436
434
  var $TypeError$8 = TypeError;
@@ -444,10 +442,10 @@ var WRITABLE = 'writable';
444
442
 
445
443
  // `Object.defineProperty` method
446
444
  // https://tc39.es/ecma262/#sec-object.defineproperty
447
- objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
448
- anObject$c(O);
445
+ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
446
+ anObject$b(O);
449
447
  P = toPropertyKey$1(P);
450
- anObject$c(Attributes);
448
+ anObject$b(Attributes);
451
449
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
452
450
  var current = $getOwnPropertyDescriptor$1(O, P);
453
451
  if (current && current[WRITABLE]) {
@@ -460,9 +458,9 @@ objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
460
458
  }
461
459
  } return $defineProperty(O, P, Attributes);
462
460
  } : $defineProperty : function defineProperty(O, P, Attributes) {
463
- anObject$c(O);
461
+ anObject$b(O);
464
462
  P = toPropertyKey$1(P);
465
- anObject$c(Attributes);
463
+ anObject$b(Attributes);
466
464
  if (IE8_DOM_DEFINE$1) try {
467
465
  return $defineProperty(O, P, Attributes);
468
466
  } catch (error) { /* empty */ }
@@ -473,14 +471,14 @@ objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
473
471
 
474
472
  var makeBuiltIn$3 = {exports: {}};
475
473
 
476
- var uncurryThis$c = functionUncurryThis;
477
- var isCallable$e = isCallable$k;
474
+ var uncurryThis$b = functionUncurryThis;
475
+ var isCallable$a = isCallable$g;
478
476
  var store$1 = sharedStore;
479
477
 
480
- var functionToString = uncurryThis$c(Function.toString);
478
+ var functionToString = uncurryThis$b(Function.toString);
481
479
 
482
480
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
483
- if (!isCallable$e(store$1.inspectSource)) {
481
+ if (!isCallable$a(store$1.inspectSource)) {
484
482
  store$1.inspectSource = function (it) {
485
483
  return functionToString(it);
486
484
  };
@@ -488,14 +486,14 @@ if (!isCallable$e(store$1.inspectSource)) {
488
486
 
489
487
  var inspectSource$3 = store$1.inspectSource;
490
488
 
491
- var global$c = global$k;
492
- var isCallable$d = isCallable$k;
489
+ var global$a = global$i;
490
+ var isCallable$9 = isCallable$g;
493
491
 
494
- var WeakMap$1 = global$c.WeakMap;
492
+ var WeakMap$1 = global$a.WeakMap;
495
493
 
496
- var weakMapBasicDetection = isCallable$d(WeakMap$1) && /native code/.test(String(WeakMap$1));
494
+ var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
497
495
 
498
- var createPropertyDescriptor$4 = function (bitmap, value) {
496
+ var createPropertyDescriptor$2 = function (bitmap, value) {
499
497
  return {
500
498
  enumerable: !(bitmap & 1),
501
499
  configurable: !(bitmap & 2),
@@ -504,12 +502,12 @@ var createPropertyDescriptor$4 = function (bitmap, value) {
504
502
  };
505
503
  };
506
504
 
507
- var DESCRIPTORS$9 = descriptors;
505
+ var DESCRIPTORS$6 = descriptors;
508
506
  var definePropertyModule$3 = objectDefineProperty;
509
- var createPropertyDescriptor$3 = createPropertyDescriptor$4;
507
+ var createPropertyDescriptor$1 = createPropertyDescriptor$2;
510
508
 
511
- var createNonEnumerableProperty$4 = DESCRIPTORS$9 ? function (object, key, value) {
512
- return definePropertyModule$3.f(object, key, createPropertyDescriptor$3(1, value));
509
+ var createNonEnumerableProperty$2 = DESCRIPTORS$6 ? function (object, key, value) {
510
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
513
511
  } : function (object, key, value) {
514
512
  object[key] = value;
515
513
  return object;
@@ -520,24 +518,24 @@ var uid = uid$2;
520
518
 
521
519
  var keys = shared$1('keys');
522
520
 
523
- var sharedKey$3 = function (key) {
521
+ var sharedKey$2 = function (key) {
524
522
  return keys[key] || (keys[key] = uid(key));
525
523
  };
526
524
 
527
525
  var hiddenKeys$4 = {};
528
526
 
529
527
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
530
- var global$b = global$k;
531
- var isObject$6 = isObject$b;
532
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
533
- var hasOwn$9 = hasOwnProperty_1;
528
+ var global$9 = global$i;
529
+ var isObject$4 = isObject$9;
530
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
531
+ var hasOwn$7 = hasOwnProperty_1;
534
532
  var shared = sharedStore;
535
- var sharedKey$2 = sharedKey$3;
533
+ var sharedKey$1 = sharedKey$2;
536
534
  var hiddenKeys$3 = hiddenKeys$4;
537
535
 
538
536
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
539
- var TypeError$3 = global$b.TypeError;
540
- var WeakMap = global$b.WeakMap;
537
+ var TypeError$2 = global$9.TypeError;
538
+ var WeakMap = global$9.WeakMap;
541
539
  var set$1, get, has;
542
540
 
543
541
  var enforce = function (it) {
@@ -547,8 +545,8 @@ var enforce = function (it) {
547
545
  var getterFor = function (TYPE) {
548
546
  return function (it) {
549
547
  var state;
550
- if (!isObject$6(it) || (state = get(it)).type !== TYPE) {
551
- throw new TypeError$3('Incompatible receiver, ' + TYPE + ' required');
548
+ if (!isObject$4(it) || (state = get(it)).type !== TYPE) {
549
+ throw new TypeError$2('Incompatible receiver, ' + TYPE + ' required');
552
550
  } return state;
553
551
  };
554
552
  };
@@ -561,7 +559,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
561
559
  store.set = store.set;
562
560
  /* eslint-enable no-self-assign -- prototype methods protection */
563
561
  set$1 = function (it, metadata) {
564
- if (store.has(it)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
562
+ if (store.has(it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
565
563
  metadata.facade = it;
566
564
  store.set(it, metadata);
567
565
  return metadata;
@@ -573,19 +571,19 @@ if (NATIVE_WEAK_MAP || shared.state) {
573
571
  return store.has(it);
574
572
  };
575
573
  } else {
576
- var STATE = sharedKey$2('state');
574
+ var STATE = sharedKey$1('state');
577
575
  hiddenKeys$3[STATE] = true;
578
576
  set$1 = function (it, metadata) {
579
- if (hasOwn$9(it, STATE)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
577
+ if (hasOwn$7(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
580
578
  metadata.facade = it;
581
- createNonEnumerableProperty$3(it, STATE, metadata);
579
+ createNonEnumerableProperty$1(it, STATE, metadata);
582
580
  return metadata;
583
581
  };
584
582
  get = function (it) {
585
- return hasOwn$9(it, STATE) ? it[STATE] : {};
583
+ return hasOwn$7(it, STATE) ? it[STATE] : {};
586
584
  };
587
585
  has = function (it) {
588
- return hasOwn$9(it, STATE);
586
+ return hasOwn$7(it, STATE);
589
587
  };
590
588
  }
591
589
 
@@ -597,71 +595,71 @@ var internalState = {
597
595
  getterFor: getterFor
598
596
  };
599
597
 
600
- var uncurryThis$b = functionUncurryThis;
601
- var fails$9 = fails$f;
602
- var isCallable$c = isCallable$k;
603
- var hasOwn$8 = hasOwnProperty_1;
604
- var DESCRIPTORS$8 = descriptors;
605
- var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
598
+ var uncurryThis$a = functionUncurryThis;
599
+ var fails$6 = fails$c;
600
+ var isCallable$8 = isCallable$g;
601
+ var hasOwn$6 = hasOwnProperty_1;
602
+ var DESCRIPTORS$5 = descriptors;
603
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
606
604
  var inspectSource$2 = inspectSource$3;
607
- var InternalStateModule$3 = internalState;
605
+ var InternalStateModule$1 = internalState;
608
606
 
609
- var enforceInternalState = InternalStateModule$3.enforce;
610
- var getInternalState$1 = InternalStateModule$3.get;
607
+ var enforceInternalState = InternalStateModule$1.enforce;
608
+ var getInternalState = InternalStateModule$1.get;
611
609
  var $String$2 = String;
612
610
  // eslint-disable-next-line es/no-object-defineproperty -- safe
613
- var defineProperty$5 = Object.defineProperty;
614
- var stringSlice$2 = uncurryThis$b(''.slice);
615
- var replace$1 = uncurryThis$b(''.replace);
616
- var join$1 = uncurryThis$b([].join);
611
+ var defineProperty$4 = Object.defineProperty;
612
+ var stringSlice$1 = uncurryThis$a(''.slice);
613
+ var replace = uncurryThis$a(''.replace);
614
+ var join = uncurryThis$a([].join);
617
615
 
618
- var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$9(function () {
619
- return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
616
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$6(function () {
617
+ return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
620
618
  });
621
619
 
622
620
  var TEMPLATE = String(String).split('String');
623
621
 
624
622
  var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
625
- if (stringSlice$2($String$2(name), 0, 7) === 'Symbol(') {
626
- name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
623
+ if (stringSlice$1($String$2(name), 0, 7) === 'Symbol(') {
624
+ name = '[' + replace($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
627
625
  }
628
626
  if (options && options.getter) name = 'get ' + name;
629
627
  if (options && options.setter) name = 'set ' + name;
630
- if (!hasOwn$8(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
631
- if (DESCRIPTORS$8) defineProperty$5(value, 'name', { value: name, configurable: true });
628
+ if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
629
+ if (DESCRIPTORS$5) defineProperty$4(value, 'name', { value: name, configurable: true });
632
630
  else value.name = name;
633
631
  }
634
- if (CONFIGURABLE_LENGTH && options && hasOwn$8(options, 'arity') && value.length !== options.arity) {
635
- defineProperty$5(value, 'length', { value: options.arity });
632
+ if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
633
+ defineProperty$4(value, 'length', { value: options.arity });
636
634
  }
637
635
  try {
638
- if (options && hasOwn$8(options, 'constructor') && options.constructor) {
639
- if (DESCRIPTORS$8) defineProperty$5(value, 'prototype', { writable: false });
636
+ if (options && hasOwn$6(options, 'constructor') && options.constructor) {
637
+ if (DESCRIPTORS$5) defineProperty$4(value, 'prototype', { writable: false });
640
638
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
641
639
  } else if (value.prototype) value.prototype = undefined;
642
640
  } catch (error) { /* empty */ }
643
641
  var state = enforceInternalState(value);
644
- if (!hasOwn$8(state, 'source')) {
645
- state.source = join$1(TEMPLATE, typeof name == 'string' ? name : '');
642
+ if (!hasOwn$6(state, 'source')) {
643
+ state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
646
644
  } return value;
647
645
  };
648
646
 
649
647
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
650
648
  // eslint-disable-next-line no-extend-native -- required
651
649
  Function.prototype.toString = makeBuiltIn$2(function toString() {
652
- return isCallable$c(this) && getInternalState$1(this).source || inspectSource$2(this);
650
+ return isCallable$8(this) && getInternalState(this).source || inspectSource$2(this);
653
651
  }, 'toString');
654
652
 
655
- var isCallable$b = isCallable$k;
653
+ var isCallable$7 = isCallable$g;
656
654
  var definePropertyModule$2 = objectDefineProperty;
657
655
  var makeBuiltIn$1 = makeBuiltIn$3.exports;
658
656
  var defineGlobalProperty$1 = defineGlobalProperty$3;
659
657
 
660
- var defineBuiltIn$8 = function (O, key, value, options) {
658
+ var defineBuiltIn$4 = function (O, key, value, options) {
661
659
  if (!options) options = {};
662
660
  var simple = options.enumerable;
663
661
  var name = options.name !== undefined ? options.name : key;
664
- if (isCallable$b(value)) makeBuiltIn$1(value, name, options);
662
+ if (isCallable$7(value)) makeBuiltIn$1(value, name, options);
665
663
  if (options.global) {
666
664
  if (simple) O[key] = value;
667
665
  else defineGlobalProperty$1(key, value);
@@ -680,31 +678,31 @@ var defineBuiltIn$8 = function (O, key, value, options) {
680
678
  } return O;
681
679
  };
682
680
 
683
- var wellKnownSymbol$f = wellKnownSymbol$h;
681
+ var wellKnownSymbol$a = wellKnownSymbol$c;
684
682
 
685
- var TO_STRING_TAG$2 = wellKnownSymbol$f('toStringTag');
683
+ var TO_STRING_TAG$2 = wellKnownSymbol$a('toStringTag');
686
684
  var test = {};
687
685
 
688
686
  test[TO_STRING_TAG$2] = 'z';
689
687
 
690
688
  var toStringTagSupport = String(test) === '[object z]';
691
689
 
692
- var uncurryThis$a = functionUncurryThis;
690
+ var uncurryThis$9 = functionUncurryThis;
693
691
 
694
- var toString$1 = uncurryThis$a({}.toString);
695
- var stringSlice$1 = uncurryThis$a(''.slice);
692
+ var toString$1 = uncurryThis$9({}.toString);
693
+ var stringSlice = uncurryThis$9(''.slice);
696
694
 
697
695
  var classofRaw$2 = function (it) {
698
- return stringSlice$1(toString$1(it), 8, -1);
696
+ return stringSlice(toString$1(it), 8, -1);
699
697
  };
700
698
 
701
699
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
702
- var isCallable$a = isCallable$k;
700
+ var isCallable$6 = isCallable$g;
703
701
  var classofRaw$1 = classofRaw$2;
704
- var wellKnownSymbol$e = wellKnownSymbol$h;
702
+ var wellKnownSymbol$9 = wellKnownSymbol$c;
705
703
 
706
- var TO_STRING_TAG$1 = wellKnownSymbol$e('toStringTag');
707
- var $Object$2 = Object;
704
+ var TO_STRING_TAG$1 = wellKnownSymbol$9('toStringTag');
705
+ var $Object$1 = Object;
708
706
 
709
707
  // ES3 wrong here
710
708
  var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
@@ -717,32 +715,32 @@ var tryGet = function (it, key) {
717
715
  };
718
716
 
719
717
  // getting tag from ES6+ `Object.prototype.toString`
720
- var classof$7 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
718
+ var classof$6 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
721
719
  var O, tag, result;
722
720
  return it === undefined ? 'Undefined' : it === null ? 'Null'
723
721
  // @@toStringTag case
724
- : typeof (tag = tryGet(O = $Object$2(it), TO_STRING_TAG$1)) == 'string' ? tag
722
+ : typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$1)) == 'string' ? tag
725
723
  // builtinTag case
726
724
  : CORRECT_ARGUMENTS ? classofRaw$1(O)
727
725
  // ES3 arguments fallback
728
- : (result = classofRaw$1(O)) === 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
726
+ : (result = classofRaw$1(O)) === 'Object' && isCallable$6(O.callee) ? 'Arguments' : result;
729
727
  };
730
728
 
731
- var classof$6 = classof$7;
729
+ var classof$5 = classof$6;
732
730
 
733
731
  var $String$1 = String;
734
732
 
735
733
  var toString = function (argument) {
736
- if (classof$6(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
734
+ if (classof$5(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
737
735
  return $String$1(argument);
738
736
  };
739
737
 
740
- var anObject$b = anObject$d;
738
+ var anObject$a = anObject$c;
741
739
 
742
740
  // `RegExp.prototype.flags` getter implementation
743
741
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
744
742
  var regexpFlags = function () {
745
- var that = anObject$b(this);
743
+ var that = anObject$a(this);
746
744
  var result = '';
747
745
  if (that.hasIndices) result += 'd';
748
746
  if (that.global) result += 'g';
@@ -755,8 +753,8 @@ var regexpFlags = function () {
755
753
  return result;
756
754
  };
757
755
 
758
- var call$b = functionCall;
759
- var hasOwn$7 = hasOwnProperty_1;
756
+ var call$9 = functionCall;
757
+ var hasOwn$5 = hasOwnProperty_1;
760
758
  var isPrototypeOf$2 = objectIsPrototypeOf;
761
759
  var regExpFlags = regexpFlags;
762
760
 
@@ -764,32 +762,32 @@ var RegExpPrototype$1 = RegExp.prototype;
764
762
 
765
763
  var regexpGetFlags = function (R) {
766
764
  var flags = R.flags;
767
- return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn$7(R, 'flags') && isPrototypeOf$2(RegExpPrototype$1, R)
768
- ? call$b(regExpFlags, R) : flags;
765
+ return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn$5(R, 'flags') && isPrototypeOf$2(RegExpPrototype$1, R)
766
+ ? call$9(regExpFlags, R) : flags;
769
767
  };
770
768
 
771
- var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
772
- var defineBuiltIn$7 = defineBuiltIn$8;
773
- var anObject$a = anObject$d;
774
- var $toString$1 = toString;
775
- var fails$8 = fails$f;
769
+ var PROPER_FUNCTION_NAME = functionName.PROPER;
770
+ var defineBuiltIn$3 = defineBuiltIn$4;
771
+ var anObject$9 = anObject$c;
772
+ var $toString = toString;
773
+ var fails$5 = fails$c;
776
774
  var getRegExpFlags = regexpGetFlags;
777
775
 
778
776
  var TO_STRING = 'toString';
779
777
  var RegExpPrototype = RegExp.prototype;
780
778
  var nativeToString = RegExpPrototype[TO_STRING];
781
779
 
782
- var NOT_GENERIC = fails$8(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
780
+ var NOT_GENERIC = fails$5(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
783
781
  // FF44- RegExp#toString has a wrong name
784
- var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name !== TO_STRING;
782
+ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
785
783
 
786
784
  // `RegExp.prototype.toString` method
787
785
  // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
788
786
  if (NOT_GENERIC || INCORRECT_NAME) {
789
- defineBuiltIn$7(RegExpPrototype, TO_STRING, function toString() {
790
- var R = anObject$a(this);
791
- var pattern = $toString$1(R.source);
792
- var flags = $toString$1(getRegExpFlags(R));
787
+ defineBuiltIn$3(RegExpPrototype, TO_STRING, function toString() {
788
+ var R = anObject$9(this);
789
+ var pattern = $toString(R.source);
790
+ var flags = $toString(getRegExpFlags(R));
793
791
  return '/' + pattern + '/' + flags;
794
792
  }, { unsafe: true });
795
793
  }
@@ -812,37 +810,37 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
812
810
  return !!descriptor && descriptor.enumerable;
813
811
  } : $propertyIsEnumerable;
814
812
 
815
- var uncurryThis$9 = functionUncurryThis;
816
- var fails$7 = fails$f;
817
- var classof$5 = classofRaw$2;
813
+ var uncurryThis$8 = functionUncurryThis;
814
+ var fails$4 = fails$c;
815
+ var classof$4 = classofRaw$2;
818
816
 
819
- var $Object$1 = Object;
820
- var split$1 = uncurryThis$9(''.split);
817
+ var $Object = Object;
818
+ var split = uncurryThis$8(''.split);
821
819
 
822
820
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
823
- var indexedObject = fails$7(function () {
821
+ var indexedObject = fails$4(function () {
824
822
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
825
823
  // eslint-disable-next-line no-prototype-builtins -- safe
826
- return !$Object$1('z').propertyIsEnumerable(0);
824
+ return !$Object('z').propertyIsEnumerable(0);
827
825
  }) ? function (it) {
828
- return classof$5(it) === 'String' ? split$1(it, '') : $Object$1(it);
829
- } : $Object$1;
826
+ return classof$4(it) === 'String' ? split(it, '') : $Object(it);
827
+ } : $Object;
830
828
 
831
829
  // toObject with fallback for non-array-like ES3 strings
832
830
  var IndexedObject$1 = indexedObject;
833
831
  var requireObjectCoercible = requireObjectCoercible$2;
834
832
 
835
- var toIndexedObject$5 = function (it) {
833
+ var toIndexedObject$4 = function (it) {
836
834
  return IndexedObject$1(requireObjectCoercible(it));
837
835
  };
838
836
 
839
- var DESCRIPTORS$7 = descriptors;
840
- var call$a = functionCall;
837
+ var DESCRIPTORS$4 = descriptors;
838
+ var call$8 = functionCall;
841
839
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
842
- var createPropertyDescriptor$2 = createPropertyDescriptor$4;
843
- var toIndexedObject$4 = toIndexedObject$5;
840
+ var createPropertyDescriptor = createPropertyDescriptor$2;
841
+ var toIndexedObject$3 = toIndexedObject$4;
844
842
  var toPropertyKey = toPropertyKey$2;
845
- var hasOwn$6 = hasOwnProperty_1;
843
+ var hasOwn$4 = hasOwnProperty_1;
846
844
  var IE8_DOM_DEFINE = ie8DomDefine;
847
845
 
848
846
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -850,26 +848,26 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
850
848
 
851
849
  // `Object.getOwnPropertyDescriptor` method
852
850
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
853
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
854
- O = toIndexedObject$4(O);
851
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$4 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
852
+ O = toIndexedObject$3(O);
855
853
  P = toPropertyKey(P);
856
854
  if (IE8_DOM_DEFINE) try {
857
855
  return $getOwnPropertyDescriptor(O, P);
858
856
  } catch (error) { /* empty */ }
859
- if (hasOwn$6(O, P)) return createPropertyDescriptor$2(!call$a(propertyIsEnumerableModule$1.f, O, P), O[P]);
857
+ if (hasOwn$4(O, P)) return createPropertyDescriptor(!call$8(propertyIsEnumerableModule$1.f, O, P), O[P]);
860
858
  };
861
859
 
862
860
  var objectGetOwnPropertyNames = {};
863
861
 
864
862
  var ceil = Math.ceil;
865
- var floor$1 = Math.floor;
863
+ var floor = Math.floor;
866
864
 
867
865
  // `Math.trunc` method
868
866
  // https://tc39.es/ecma262/#sec-math.trunc
869
867
  // eslint-disable-next-line es/no-math-trunc -- safe
870
868
  var mathTrunc = Math.trunc || function trunc(x) {
871
869
  var n = +x;
872
- return (n > 0 ? floor$1 : ceil)(n);
870
+ return (n > 0 ? floor : ceil)(n);
873
871
  };
874
872
 
875
873
  var trunc = mathTrunc;
@@ -914,14 +912,14 @@ var lengthOfArrayLike$4 = function (obj) {
914
912
  return toLength(obj.length);
915
913
  };
916
914
 
917
- var toIndexedObject$3 = toIndexedObject$5;
915
+ var toIndexedObject$2 = toIndexedObject$4;
918
916
  var toAbsoluteIndex = toAbsoluteIndex$1;
919
917
  var lengthOfArrayLike$3 = lengthOfArrayLike$4;
920
918
 
921
919
  // `Array.prototype.{ indexOf, includes }` methods implementation
922
920
  var createMethod = function (IS_INCLUDES) {
923
921
  return function ($this, el, fromIndex) {
924
- var O = toIndexedObject$3($this);
922
+ var O = toIndexedObject$2($this);
925
923
  var length = lengthOfArrayLike$3(O);
926
924
  var index = toAbsoluteIndex(fromIndex, length);
927
925
  var value;
@@ -947,23 +945,23 @@ var arrayIncludes = {
947
945
  indexOf: createMethod(false)
948
946
  };
949
947
 
950
- var uncurryThis$8 = functionUncurryThis;
951
- var hasOwn$5 = hasOwnProperty_1;
952
- var toIndexedObject$2 = toIndexedObject$5;
948
+ var uncurryThis$7 = functionUncurryThis;
949
+ var hasOwn$3 = hasOwnProperty_1;
950
+ var toIndexedObject$1 = toIndexedObject$4;
953
951
  var indexOf = arrayIncludes.indexOf;
954
952
  var hiddenKeys$2 = hiddenKeys$4;
955
953
 
956
- var push$1 = uncurryThis$8([].push);
954
+ var push = uncurryThis$7([].push);
957
955
 
958
956
  var objectKeysInternal = function (object, names) {
959
- var O = toIndexedObject$2(object);
957
+ var O = toIndexedObject$1(object);
960
958
  var i = 0;
961
959
  var result = [];
962
960
  var key;
963
- for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push$1(result, key);
961
+ for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
964
962
  // Don't enum bug & hidden keys
965
- while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
966
- ~indexOf(result, key) || push$1(result, key);
963
+ while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
964
+ ~indexOf(result, key) || push(result, key);
967
965
  }
968
966
  return result;
969
967
  };
@@ -997,21 +995,21 @@ var objectGetOwnPropertySymbols = {};
997
995
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
998
996
 
999
997
  var getBuiltIn$5 = getBuiltIn$7;
1000
- var uncurryThis$7 = functionUncurryThis;
998
+ var uncurryThis$6 = functionUncurryThis;
1001
999
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1002
1000
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1003
- var anObject$9 = anObject$d;
1001
+ var anObject$8 = anObject$c;
1004
1002
 
1005
- var concat$1 = uncurryThis$7([].concat);
1003
+ var concat$1 = uncurryThis$6([].concat);
1006
1004
 
1007
1005
  // all object keys, includes non-enumerable and symbols
1008
1006
  var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
1009
- var keys = getOwnPropertyNamesModule.f(anObject$9(it));
1007
+ var keys = getOwnPropertyNamesModule.f(anObject$8(it));
1010
1008
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
1011
1009
  return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
1012
1010
  };
1013
1011
 
1014
- var hasOwn$4 = hasOwnProperty_1;
1012
+ var hasOwn$2 = hasOwnProperty_1;
1015
1013
  var ownKeys = ownKeys$1;
1016
1014
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1017
1015
  var definePropertyModule$1 = objectDefineProperty;
@@ -1022,14 +1020,14 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
1022
1020
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1023
1021
  for (var i = 0; i < keys.length; i++) {
1024
1022
  var key = keys[i];
1025
- if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
1023
+ if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
1026
1024
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1027
1025
  }
1028
1026
  }
1029
1027
  };
1030
1028
 
1031
- var fails$6 = fails$f;
1032
- var isCallable$9 = isCallable$k;
1029
+ var fails$3 = fails$c;
1030
+ var isCallable$5 = isCallable$g;
1033
1031
 
1034
1032
  var replacement = /#|\.prototype\./;
1035
1033
 
@@ -1037,7 +1035,7 @@ var isForced$2 = function (feature, detection) {
1037
1035
  var value = data[normalize(feature)];
1038
1036
  return value === POLYFILL ? true
1039
1037
  : value === NATIVE ? false
1040
- : isCallable$9(detection) ? fails$6(detection)
1038
+ : isCallable$5(detection) ? fails$3(detection)
1041
1039
  : !!detection;
1042
1040
  };
1043
1041
 
@@ -1051,10 +1049,10 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
1051
1049
 
1052
1050
  var isForced_1 = isForced$2;
1053
1051
 
1054
- var global$a = global$k;
1052
+ var global$8 = global$i;
1055
1053
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
1056
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
1057
- var defineBuiltIn$6 = defineBuiltIn$8;
1054
+ var createNonEnumerableProperty = createNonEnumerableProperty$2;
1055
+ var defineBuiltIn$2 = defineBuiltIn$4;
1058
1056
  var defineGlobalProperty = defineGlobalProperty$3;
1059
1057
  var copyConstructorProperties = copyConstructorProperties$1;
1060
1058
  var isForced$1 = isForced_1;
@@ -1080,11 +1078,11 @@ var _export = function (options, source) {
1080
1078
  var STATIC = options.stat;
1081
1079
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1082
1080
  if (GLOBAL) {
1083
- target = global$a;
1081
+ target = global$8;
1084
1082
  } else if (STATIC) {
1085
- target = global$a[TARGET] || defineGlobalProperty(TARGET, {});
1083
+ target = global$8[TARGET] || defineGlobalProperty(TARGET, {});
1086
1084
  } else {
1087
- target = global$a[TARGET] && global$a[TARGET].prototype;
1085
+ target = global$8[TARGET] && global$8[TARGET].prototype;
1088
1086
  }
1089
1087
  if (target) for (key in source) {
1090
1088
  sourceProperty = source[key];
@@ -1100,9 +1098,9 @@ var _export = function (options, source) {
1100
1098
  }
1101
1099
  // add a flag to not completely full polyfills
1102
1100
  if (options.sham || (targetProperty && targetProperty.sham)) {
1103
- createNonEnumerableProperty$2(sourceProperty, 'sham', true);
1101
+ createNonEnumerableProperty(sourceProperty, 'sham', true);
1104
1102
  }
1105
- defineBuiltIn$6(target, key, sourceProperty, options);
1103
+ defineBuiltIn$2(target, key, sourceProperty, options);
1106
1104
  }
1107
1105
  };
1108
1106
 
@@ -1116,30 +1114,30 @@ var objectKeys$2 = Object.keys || function keys(O) {
1116
1114
  return internalObjectKeys(O, enumBugKeys$1);
1117
1115
  };
1118
1116
 
1119
- var DESCRIPTORS$6 = descriptors;
1120
- var uncurryThis$6 = functionUncurryThis;
1121
- var call$9 = functionCall;
1122
- var fails$5 = fails$f;
1117
+ var DESCRIPTORS$3 = descriptors;
1118
+ var uncurryThis$5 = functionUncurryThis;
1119
+ var call$7 = functionCall;
1120
+ var fails$2 = fails$c;
1123
1121
  var objectKeys$1 = objectKeys$2;
1124
1122
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1125
1123
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1126
- var toObject$2 = toObject$4;
1124
+ var toObject$1 = toObject$3;
1127
1125
  var IndexedObject = indexedObject;
1128
1126
 
1129
1127
  // eslint-disable-next-line es/no-object-assign -- safe
1130
1128
  var $assign = Object.assign;
1131
1129
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1132
- var defineProperty$4 = Object.defineProperty;
1133
- var concat = uncurryThis$6([].concat);
1130
+ var defineProperty$3 = Object.defineProperty;
1131
+ var concat = uncurryThis$5([].concat);
1134
1132
 
1135
1133
  // `Object.assign` method
1136
1134
  // https://tc39.es/ecma262/#sec-object.assign
1137
- var objectAssign = !$assign || fails$5(function () {
1135
+ var objectAssign = !$assign || fails$2(function () {
1138
1136
  // should have correct order of operations (Edge bug)
1139
- if (DESCRIPTORS$6 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
1137
+ if (DESCRIPTORS$3 && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', {
1140
1138
  enumerable: true,
1141
1139
  get: function () {
1142
- defineProperty$4(this, 'b', {
1140
+ defineProperty$3(this, 'b', {
1143
1141
  value: 3,
1144
1142
  enumerable: false
1145
1143
  });
@@ -1155,7 +1153,7 @@ var objectAssign = !$assign || fails$5(function () {
1155
1153
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1156
1154
  return $assign({}, A)[symbol] !== 7 || objectKeys$1($assign({}, B)).join('') !== alphabet;
1157
1155
  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1158
- var T = toObject$2(target);
1156
+ var T = toObject$1(target);
1159
1157
  var argumentsLength = arguments.length;
1160
1158
  var index = 1;
1161
1159
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
@@ -1168,640 +1166,63 @@ var objectAssign = !$assign || fails$5(function () {
1168
1166
  var key;
1169
1167
  while (length > j) {
1170
1168
  key = keys[j++];
1171
- if (!DESCRIPTORS$6 || call$9(propertyIsEnumerable, S, key)) T[key] = S[key];
1169
+ if (!DESCRIPTORS$3 || call$7(propertyIsEnumerable, S, key)) T[key] = S[key];
1172
1170
  }
1173
1171
  } return T;
1174
1172
  } : $assign;
1175
1173
 
1176
- var $$9 = _export;
1174
+ var $$7 = _export;
1177
1175
  var assign = objectAssign;
1178
1176
 
1179
1177
  // `Object.assign` method
1180
1178
  // https://tc39.es/ecma262/#sec-object.assign
1181
1179
  // eslint-disable-next-line es/no-object-assign -- required for testing
1182
- $$9({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1180
+ $$7({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1183
1181
  assign: assign
1184
1182
  });
1185
1183
 
1186
- var objectDefineProperties = {};
1187
-
1188
- var DESCRIPTORS$5 = descriptors;
1189
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1190
- var definePropertyModule = objectDefineProperty;
1191
- var anObject$8 = anObject$d;
1192
- var toIndexedObject$1 = toIndexedObject$5;
1193
- var objectKeys = objectKeys$2;
1194
-
1195
- // `Object.defineProperties` method
1196
- // https://tc39.es/ecma262/#sec-object.defineproperties
1197
- // eslint-disable-next-line es/no-object-defineproperties -- safe
1198
- objectDefineProperties.f = DESCRIPTORS$5 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1199
- anObject$8(O);
1200
- var props = toIndexedObject$1(Properties);
1201
- var keys = objectKeys(Properties);
1202
- var length = keys.length;
1203
- var index = 0;
1204
- var key;
1205
- while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1206
- return O;
1207
- };
1208
-
1209
- var getBuiltIn$4 = getBuiltIn$7;
1210
-
1211
- var html$2 = getBuiltIn$4('document', 'documentElement');
1212
-
1213
- /* global ActiveXObject -- old IE, WSH */
1214
- var anObject$7 = anObject$d;
1215
- var definePropertiesModule = objectDefineProperties;
1216
- var enumBugKeys = enumBugKeys$3;
1217
- var hiddenKeys = hiddenKeys$4;
1218
- var html$1 = html$2;
1219
- var documentCreateElement$1 = documentCreateElement$2;
1220
- var sharedKey$1 = sharedKey$3;
1221
-
1222
- var GT = '>';
1223
- var LT = '<';
1224
- var PROTOTYPE = 'prototype';
1225
- var SCRIPT = 'script';
1226
- var IE_PROTO$1 = sharedKey$1('IE_PROTO');
1227
-
1228
- var EmptyConstructor = function () { /* empty */ };
1229
-
1230
- var scriptTag = function (content) {
1231
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1232
- };
1233
-
1234
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1235
- var NullProtoObjectViaActiveX = function (activeXDocument) {
1236
- activeXDocument.write(scriptTag(''));
1237
- activeXDocument.close();
1238
- var temp = activeXDocument.parentWindow.Object;
1239
- activeXDocument = null; // avoid memory leak
1240
- return temp;
1241
- };
1242
-
1243
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
1244
- var NullProtoObjectViaIFrame = function () {
1245
- // Thrash, waste and sodomy: IE GC bug
1246
- var iframe = documentCreateElement$1('iframe');
1247
- var JS = 'java' + SCRIPT + ':';
1248
- var iframeDocument;
1249
- iframe.style.display = 'none';
1250
- html$1.appendChild(iframe);
1251
- // https://github.com/zloirock/core-js/issues/475
1252
- iframe.src = String(JS);
1253
- iframeDocument = iframe.contentWindow.document;
1254
- iframeDocument.open();
1255
- iframeDocument.write(scriptTag('document.F=Object'));
1256
- iframeDocument.close();
1257
- return iframeDocument.F;
1258
- };
1259
-
1260
- // Check for document.domain and active x support
1261
- // No need to use active x approach when document.domain is not set
1262
- // see https://github.com/es-shims/es5-shim/issues/150
1263
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1264
- // avoid IE GC bug
1265
- var activeXDocument;
1266
- var NullProtoObject = function () {
1267
- try {
1268
- activeXDocument = new ActiveXObject('htmlfile');
1269
- } catch (error) { /* ignore */ }
1270
- NullProtoObject = typeof document != 'undefined'
1271
- ? document.domain && activeXDocument
1272
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1273
- : NullProtoObjectViaIFrame()
1274
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
1275
- var length = enumBugKeys.length;
1276
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1277
- return NullProtoObject();
1278
- };
1279
-
1280
- hiddenKeys[IE_PROTO$1] = true;
1281
-
1282
- // `Object.create` method
1283
- // https://tc39.es/ecma262/#sec-object.create
1284
- // eslint-disable-next-line es/no-object-create -- safe
1285
- var objectCreate = Object.create || function create(O, Properties) {
1286
- var result;
1287
- if (O !== null) {
1288
- EmptyConstructor[PROTOTYPE] = anObject$7(O);
1289
- result = new EmptyConstructor();
1290
- EmptyConstructor[PROTOTYPE] = null;
1291
- // add "__proto__" for Object.getPrototypeOf polyfill
1292
- result[IE_PROTO$1] = O;
1293
- } else result = NullProtoObject();
1294
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1295
- };
1296
-
1297
- var wellKnownSymbol$d = wellKnownSymbol$h;
1298
- var create$2 = objectCreate;
1299
- var defineProperty$3 = objectDefineProperty.f;
1300
-
1301
- var UNSCOPABLES = wellKnownSymbol$d('unscopables');
1302
- var ArrayPrototype$1 = Array.prototype;
1303
-
1304
- // Array.prototype[@@unscopables]
1305
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1306
- if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
1307
- defineProperty$3(ArrayPrototype$1, UNSCOPABLES, {
1308
- configurable: true,
1309
- value: create$2(null)
1310
- });
1311
- }
1312
-
1313
- // add a key to Array.prototype[@@unscopables]
1314
- var addToUnscopables$2 = function (key) {
1315
- ArrayPrototype$1[UNSCOPABLES][key] = true;
1316
- };
1317
-
1318
- var iterators = {};
1319
-
1320
- var fails$4 = fails$f;
1321
-
1322
- var correctPrototypeGetter = !fails$4(function () {
1323
- function F() { /* empty */ }
1324
- F.prototype.constructor = null;
1325
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1326
- return Object.getPrototypeOf(new F()) !== F.prototype;
1327
- });
1328
-
1329
- var hasOwn$3 = hasOwnProperty_1;
1330
- var isCallable$8 = isCallable$k;
1331
- var toObject$1 = toObject$4;
1332
- var sharedKey = sharedKey$3;
1333
- var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1334
-
1335
- var IE_PROTO = sharedKey('IE_PROTO');
1336
- var $Object = Object;
1337
- var ObjectPrototype = $Object.prototype;
1338
-
1339
- // `Object.getPrototypeOf` method
1340
- // https://tc39.es/ecma262/#sec-object.getprototypeof
1341
- // eslint-disable-next-line es/no-object-getprototypeof -- safe
1342
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
1343
- var object = toObject$1(O);
1344
- if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
1345
- var constructor = object.constructor;
1346
- if (isCallable$8(constructor) && object instanceof constructor) {
1347
- return constructor.prototype;
1348
- } return object instanceof $Object ? ObjectPrototype : null;
1349
- };
1350
-
1351
- var fails$3 = fails$f;
1352
- var isCallable$7 = isCallable$k;
1353
- var isObject$5 = isObject$b;
1354
- var getPrototypeOf$1 = objectGetPrototypeOf;
1355
- var defineBuiltIn$5 = defineBuiltIn$8;
1356
- var wellKnownSymbol$c = wellKnownSymbol$h;
1357
-
1358
- var ITERATOR$7 = wellKnownSymbol$c('iterator');
1359
- var BUGGY_SAFARI_ITERATORS$1 = false;
1360
-
1361
- // `%IteratorPrototype%` object
1362
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
1363
- var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
1364
-
1365
- /* eslint-disable es/no-array-prototype-keys -- safe */
1366
- if ([].keys) {
1367
- arrayIterator = [].keys();
1368
- // Safari 8 has buggy iterators w/o `next`
1369
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
1370
- else {
1371
- PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
1372
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
1373
- }
1374
- }
1375
-
1376
- var NEW_ITERATOR_PROTOTYPE = !isObject$5(IteratorPrototype$2) || fails$3(function () {
1377
- var test = {};
1378
- // FF44- legacy iterators case
1379
- return IteratorPrototype$2[ITERATOR$7].call(test) !== test;
1380
- });
1381
-
1382
- if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1383
-
1384
- // `%IteratorPrototype%[@@iterator]()` method
1385
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1386
- if (!isCallable$7(IteratorPrototype$2[ITERATOR$7])) {
1387
- defineBuiltIn$5(IteratorPrototype$2, ITERATOR$7, function () {
1388
- return this;
1389
- });
1390
- }
1391
-
1392
- var iteratorsCore = {
1393
- IteratorPrototype: IteratorPrototype$2,
1394
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1395
- };
1396
-
1397
- var defineProperty$2 = objectDefineProperty.f;
1398
- var hasOwn$2 = hasOwnProperty_1;
1399
- var wellKnownSymbol$b = wellKnownSymbol$h;
1400
-
1401
- var TO_STRING_TAG = wellKnownSymbol$b('toStringTag');
1402
-
1403
- var setToStringTag$5 = function (target, TAG, STATIC) {
1404
- if (target && !STATIC) target = target.prototype;
1405
- if (target && !hasOwn$2(target, TO_STRING_TAG)) {
1406
- defineProperty$2(target, TO_STRING_TAG, { configurable: true, value: TAG });
1407
- }
1408
- };
1409
-
1410
- var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1411
- var create$1 = objectCreate;
1412
- var createPropertyDescriptor$1 = createPropertyDescriptor$4;
1413
- var setToStringTag$4 = setToStringTag$5;
1414
- var Iterators$4 = iterators;
1415
-
1416
- var returnThis$1 = function () { return this; };
1417
-
1418
- var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
1419
- var TO_STRING_TAG = NAME + ' Iterator';
1420
- IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
1421
- setToStringTag$4(IteratorConstructor, TO_STRING_TAG, false);
1422
- Iterators$4[TO_STRING_TAG] = returnThis$1;
1423
- return IteratorConstructor;
1424
- };
1425
-
1426
- var uncurryThis$5 = functionUncurryThis;
1427
- var aCallable$7 = aCallable$9;
1428
-
1429
- var functionUncurryThisAccessor = function (object, key, method) {
1430
- try {
1431
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1432
- return uncurryThis$5(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method]));
1433
- } catch (error) { /* empty */ }
1434
- };
1435
-
1436
- var isObject$4 = isObject$b;
1437
-
1438
- var isPossiblePrototype$1 = function (argument) {
1439
- return isObject$4(argument) || argument === null;
1440
- };
1441
-
1442
- var isPossiblePrototype = isPossiblePrototype$1;
1443
-
1444
- var $String = String;
1445
- var $TypeError$7 = TypeError;
1446
-
1447
- var aPossiblePrototype$1 = function (argument) {
1448
- if (isPossiblePrototype(argument)) return argument;
1449
- throw new $TypeError$7("Can't set " + $String(argument) + ' as a prototype');
1450
- };
1451
-
1452
- /* eslint-disable no-proto -- safe */
1453
- var uncurryThisAccessor = functionUncurryThisAccessor;
1454
- var anObject$6 = anObject$d;
1455
- var aPossiblePrototype = aPossiblePrototype$1;
1456
-
1457
- // `Object.setPrototypeOf` method
1458
- // https://tc39.es/ecma262/#sec-object.setprototypeof
1459
- // Works with __proto__ only. Old v8 can't work with null proto objects.
1460
- // eslint-disable-next-line es/no-object-setprototypeof -- safe
1461
- var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
1462
- var CORRECT_SETTER = false;
1463
- var test = {};
1464
- var setter;
1465
- try {
1466
- setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
1467
- setter(test, []);
1468
- CORRECT_SETTER = test instanceof Array;
1469
- } catch (error) { /* empty */ }
1470
- return function setPrototypeOf(O, proto) {
1471
- anObject$6(O);
1472
- aPossiblePrototype(proto);
1473
- if (CORRECT_SETTER) setter(O, proto);
1474
- else O.__proto__ = proto;
1475
- return O;
1476
- };
1477
- }() : undefined);
1478
-
1479
- var $$8 = _export;
1480
- var call$8 = functionCall;
1481
- var FunctionName = functionName;
1482
- var isCallable$6 = isCallable$k;
1483
- var createIteratorConstructor$1 = iteratorCreateConstructor;
1484
- var getPrototypeOf = objectGetPrototypeOf;
1485
- var setPrototypeOf$1 = objectSetPrototypeOf;
1486
- var setToStringTag$3 = setToStringTag$5;
1487
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
1488
- var defineBuiltIn$4 = defineBuiltIn$8;
1489
- var wellKnownSymbol$a = wellKnownSymbol$h;
1490
- var Iterators$3 = iterators;
1491
- var IteratorsCore = iteratorsCore;
1492
-
1493
- var PROPER_FUNCTION_NAME = FunctionName.PROPER;
1494
- var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1495
- var IteratorPrototype = IteratorsCore.IteratorPrototype;
1496
- var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1497
- var ITERATOR$6 = wellKnownSymbol$a('iterator');
1498
- var KEYS = 'keys';
1499
- var VALUES = 'values';
1500
- var ENTRIES = 'entries';
1501
-
1502
- var returnThis = function () { return this; };
1503
-
1504
- var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
1505
- createIteratorConstructor$1(IteratorConstructor, NAME, next);
1506
-
1507
- var getIterationMethod = function (KIND) {
1508
- if (KIND === DEFAULT && defaultIterator) return defaultIterator;
1509
- if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
1510
-
1511
- switch (KIND) {
1512
- case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
1513
- case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
1514
- case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
1515
- }
1516
-
1517
- return function () { return new IteratorConstructor(this); };
1518
- };
1519
-
1520
- var TO_STRING_TAG = NAME + ' Iterator';
1521
- var INCORRECT_VALUES_NAME = false;
1522
- var IterablePrototype = Iterable.prototype;
1523
- var nativeIterator = IterablePrototype[ITERATOR$6]
1524
- || IterablePrototype['@@iterator']
1525
- || DEFAULT && IterablePrototype[DEFAULT];
1526
- var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
1527
- var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
1528
- var CurrentIteratorPrototype, methods, KEY;
1529
-
1530
- // fix native
1531
- if (anyNativeIterator) {
1532
- CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
1533
- if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
1534
- if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1535
- if (setPrototypeOf$1) {
1536
- setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype);
1537
- } else if (!isCallable$6(CurrentIteratorPrototype[ITERATOR$6])) {
1538
- defineBuiltIn$4(CurrentIteratorPrototype, ITERATOR$6, returnThis);
1539
- }
1540
- }
1541
- // Set @@toStringTag to native iterators
1542
- setToStringTag$3(CurrentIteratorPrototype, TO_STRING_TAG, true);
1543
- }
1544
- }
1545
-
1546
- // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1547
- if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1548
- if (CONFIGURABLE_FUNCTION_NAME) {
1549
- createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
1550
- } else {
1551
- INCORRECT_VALUES_NAME = true;
1552
- defaultIterator = function values() { return call$8(nativeIterator, this); };
1553
- }
1554
- }
1555
-
1556
- // export additional methods
1557
- if (DEFAULT) {
1558
- methods = {
1559
- values: getIterationMethod(VALUES),
1560
- keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
1561
- entries: getIterationMethod(ENTRIES)
1562
- };
1563
- if (FORCED) for (KEY in methods) {
1564
- if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1565
- defineBuiltIn$4(IterablePrototype, KEY, methods[KEY]);
1566
- }
1567
- } else $$8({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1568
- }
1569
-
1570
- // define iterator
1571
- if (IterablePrototype[ITERATOR$6] !== defaultIterator) {
1572
- defineBuiltIn$4(IterablePrototype, ITERATOR$6, defaultIterator, { name: DEFAULT });
1573
- }
1574
- Iterators$3[NAME] = defaultIterator;
1575
-
1576
- return methods;
1577
- };
1578
-
1579
- // `CreateIterResultObject` abstract operation
1580
- // https://tc39.es/ecma262/#sec-createiterresultobject
1581
- var createIterResultObject$2 = function (value, done) {
1582
- return { value: value, done: done };
1583
- };
1584
-
1585
- var toIndexedObject = toIndexedObject$5;
1586
- var addToUnscopables$1 = addToUnscopables$2;
1587
- var Iterators$2 = iterators;
1588
- var InternalStateModule$2 = internalState;
1589
- var defineProperty$1 = objectDefineProperty.f;
1590
- var defineIterator = iteratorDefine;
1591
- var createIterResultObject$1 = createIterResultObject$2;
1592
- var DESCRIPTORS$4 = descriptors;
1593
-
1594
- var ARRAY_ITERATOR = 'Array Iterator';
1595
- var setInternalState$2 = InternalStateModule$2.set;
1596
- var getInternalState = InternalStateModule$2.getterFor(ARRAY_ITERATOR);
1597
-
1598
- // `Array.prototype.entries` method
1599
- // https://tc39.es/ecma262/#sec-array.prototype.entries
1600
- // `Array.prototype.keys` method
1601
- // https://tc39.es/ecma262/#sec-array.prototype.keys
1602
- // `Array.prototype.values` method
1603
- // https://tc39.es/ecma262/#sec-array.prototype.values
1604
- // `Array.prototype[@@iterator]` method
1605
- // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
1606
- // `CreateArrayIterator` internal method
1607
- // https://tc39.es/ecma262/#sec-createarrayiterator
1608
- var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
1609
- setInternalState$2(this, {
1610
- type: ARRAY_ITERATOR,
1611
- target: toIndexedObject(iterated), // target
1612
- index: 0, // next index
1613
- kind: kind // kind
1614
- });
1615
- // `%ArrayIteratorPrototype%.next` method
1616
- // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
1617
- }, function () {
1618
- var state = getInternalState(this);
1619
- var target = state.target;
1620
- var index = state.index++;
1621
- if (!target || index >= target.length) {
1622
- state.target = undefined;
1623
- return createIterResultObject$1(undefined, true);
1624
- }
1625
- switch (state.kind) {
1626
- case 'keys': return createIterResultObject$1(index, false);
1627
- case 'values': return createIterResultObject$1(target[index], false);
1628
- } return createIterResultObject$1([index, target[index]], false);
1629
- }, 'values');
1630
-
1631
- // argumentsList[@@iterator] is %ArrayProto_values%
1632
- // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
1633
- // https://tc39.es/ecma262/#sec-createmappedargumentsobject
1634
- var values = Iterators$2.Arguments = Iterators$2.Array;
1635
-
1636
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1637
- addToUnscopables$1('keys');
1638
- addToUnscopables$1('values');
1639
- addToUnscopables$1('entries');
1640
-
1641
- // V8 ~ Chrome 45- bug
1642
- if (DESCRIPTORS$4 && values.name !== 'values') try {
1643
- defineProperty$1(values, 'name', { value: 'values' });
1644
- } catch (error) { /* empty */ }
1645
-
1646
- // iterable DOM collections
1647
- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
1648
- var domIterables = {
1649
- CSSRuleList: 0,
1650
- CSSStyleDeclaration: 0,
1651
- CSSValueList: 0,
1652
- ClientRectList: 0,
1653
- DOMRectList: 0,
1654
- DOMStringList: 0,
1655
- DOMTokenList: 1,
1656
- DataTransferItemList: 0,
1657
- FileList: 0,
1658
- HTMLAllCollection: 0,
1659
- HTMLCollection: 0,
1660
- HTMLFormElement: 0,
1661
- HTMLSelectElement: 0,
1662
- MediaList: 0,
1663
- MimeTypeArray: 0,
1664
- NamedNodeMap: 0,
1665
- NodeList: 1,
1666
- PaintRequestList: 0,
1667
- Plugin: 0,
1668
- PluginArray: 0,
1669
- SVGLengthList: 0,
1670
- SVGNumberList: 0,
1671
- SVGPathSegList: 0,
1672
- SVGPointList: 0,
1673
- SVGStringList: 0,
1674
- SVGTransformList: 0,
1675
- SourceBufferList: 0,
1676
- StyleSheetList: 0,
1677
- TextTrackCueList: 0,
1678
- TextTrackList: 0,
1679
- TouchList: 0
1680
- };
1681
-
1682
- // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
1683
- var documentCreateElement = documentCreateElement$2;
1684
-
1685
- var classList = documentCreateElement('span').classList;
1686
- var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
1687
-
1688
- var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1689
-
1690
- var global$9 = global$k;
1691
- var DOMIterables = domIterables;
1692
- var DOMTokenListPrototype = domTokenListPrototype;
1693
- var ArrayIteratorMethods = es_array_iterator;
1694
- var createNonEnumerableProperty = createNonEnumerableProperty$4;
1695
- var setToStringTag$2 = setToStringTag$5;
1696
- var wellKnownSymbol$9 = wellKnownSymbol$h;
1697
-
1698
- var ITERATOR$5 = wellKnownSymbol$9('iterator');
1699
- var ArrayValues = ArrayIteratorMethods.values;
1184
+ /**
1185
+ * Creates a FetchPageFactory using the input ZohoFetchPageFetchFunction.
1186
+ *
1187
+ * @param fetch
1188
+ * @param defaults
1189
+ * @returns
1190
+ */
1191
+ function zohoFetchPageFactory(fetch$1, defaults) {
1192
+ return fetch.fetchPageFactory(Object.assign({}, defaults, {
1193
+ fetch: fetch$1,
1194
+ readFetchPageResultInfo: function (result) {
1195
+ var _result$info$more_rec, _result$info;
1196
+ return {
1197
+ hasNext: (_result$info$more_rec = (_result$info = result.info) == null ? void 0 : _result$info.more_records) != null ? _result$info$more_rec : false // if no info is returned, assume something wrong and there are no more records
1198
+ };
1199
+ },
1700
1200
 
1701
- var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1702
- if (CollectionPrototype) {
1703
- // some Chrome versions have non-configurable methods on DOMTokenList
1704
- if (CollectionPrototype[ITERATOR$5] !== ArrayValues) try {
1705
- createNonEnumerableProperty(CollectionPrototype, ITERATOR$5, ArrayValues);
1706
- } catch (error) {
1707
- CollectionPrototype[ITERATOR$5] = ArrayValues;
1708
- }
1709
- setToStringTag$2(CollectionPrototype, COLLECTION_NAME, true);
1710
- if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
1711
- // some Chrome versions have non-configurable methods on DOMTokenList
1712
- if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
1713
- createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1714
- } catch (error) {
1715
- CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
1716
- }
1201
+ buildInputForNextPage: function (pageResult, input, options) {
1202
+ var _options$maxItemsPerP;
1203
+ return Object.assign({}, input, {
1204
+ page: util.getNextPageNumber(pageResult),
1205
+ per_page: (_options$maxItemsPerP = options.maxItemsPerPage) != null ? _options$maxItemsPerP : input.per_page
1206
+ });
1717
1207
  }
1718
- }
1719
- };
1720
-
1721
- for (var COLLECTION_NAME in DOMIterables) {
1722
- handlePrototype(global$9[COLLECTION_NAME] && global$9[COLLECTION_NAME].prototype, COLLECTION_NAME);
1208
+ }));
1723
1209
  }
1724
1210
 
1725
- handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1726
-
1727
- var global$8 = global$k;
1728
- var DESCRIPTORS$3 = descriptors;
1729
-
1730
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1731
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1732
-
1733
- // Avoid NodeJS experimental warning
1734
- var safeGetBuiltIn$2 = function (name) {
1735
- if (!DESCRIPTORS$3) return global$8[name];
1736
- var descriptor = getOwnPropertyDescriptor(global$8, name);
1737
- return descriptor && descriptor.value;
1738
- };
1739
-
1740
- var fails$2 = fails$f;
1741
- var wellKnownSymbol$8 = wellKnownSymbol$h;
1742
- var DESCRIPTORS$2 = descriptors;
1743
- var IS_PURE = isPure;
1744
-
1745
- var ITERATOR$4 = wellKnownSymbol$8('iterator');
1746
-
1747
- var urlConstructorDetection = !fails$2(function () {
1748
- // eslint-disable-next-line unicorn/relative-url-style -- required for testing
1749
- var url = new URL('b?a=1&b=2&c=3', 'http://a');
1750
- var params = url.searchParams;
1751
- var params2 = new URLSearchParams('a=1&a=2&b=3');
1752
- var result = '';
1753
- url.pathname = 'c%20d';
1754
- params.forEach(function (value, key) {
1755
- params['delete']('b');
1756
- result += key + value;
1757
- });
1758
- params2['delete']('a', 2);
1759
- // `undefined` case is a Chromium 117 bug
1760
- // https://bugs.chromium.org/p/v8/issues/detail?id=14222
1761
- params2['delete']('b', undefined);
1762
- return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b')))
1763
- || (!params.size && (IS_PURE || !DESCRIPTORS$2))
1764
- || !params.sort
1765
- || url.href !== 'http://a/c%20d?a=1&c=3'
1766
- || params.get('c') !== '3'
1767
- || String(new URLSearchParams('?a=1')) !== 'a=1'
1768
- || !params[ITERATOR$4]
1769
- // throws in Edge
1770
- || new URL('https://a@b').username !== 'a'
1771
- || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
1772
- // not punycoded in Edge
1773
- || new URL('http://тест').host !== 'xn--e1aybc'
1774
- // not escaped in Chrome 62-
1775
- || new URL('http://a#б').hash !== '#%D0%B1'
1776
- // fails in Chrome 66-
1777
- || result !== 'a1c3'
1778
- // throws in Safari
1779
- || new URL('http://x', undefined).host !== 'x';
1780
- });
1781
-
1782
- var makeBuiltIn = makeBuiltIn$3.exports;
1783
- var defineProperty = objectDefineProperty;
1784
-
1785
- var defineBuiltInAccessor$2 = function (target, name, descriptor) {
1786
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
1787
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
1788
- return defineProperty.f(target, name, descriptor);
1789
- };
1790
-
1791
- var defineBuiltIn$3 = defineBuiltIn$8;
1211
+ var classof$3 = classofRaw$2;
1792
1212
 
1793
- var defineBuiltIns$1 = function (target, src, options) {
1794
- for (var key in src) defineBuiltIn$3(target, key, src[key], options);
1795
- return target;
1213
+ // `IsArray` abstract operation
1214
+ // https://tc39.es/ecma262/#sec-isarray
1215
+ // eslint-disable-next-line es/no-array-isarray -- safe
1216
+ var isArray$2 = Array.isArray || function isArray(argument) {
1217
+ return classof$3(argument) === 'Array';
1796
1218
  };
1797
1219
 
1798
- var isPrototypeOf$1 = objectIsPrototypeOf;
1799
-
1800
- var $TypeError$6 = TypeError;
1220
+ var $TypeError$7 = TypeError;
1221
+ var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
1801
1222
 
1802
- var anInstance$2 = function (it, Prototype) {
1803
- if (isPrototypeOf$1(Prototype, it)) return it;
1804
- throw new $TypeError$6('Incorrect invocation');
1223
+ var doesNotExceedSafeInteger$1 = function (it) {
1224
+ if (it > MAX_SAFE_INTEGER) throw $TypeError$7('Maximum allowed index exceeded');
1225
+ return it;
1805
1226
  };
1806
1227
 
1807
1228
  var classofRaw = classofRaw$2;
@@ -1815,526 +1236,17 @@ var functionUncurryThisClause = function (fn) {
1815
1236
  };
1816
1237
 
1817
1238
  var uncurryThis$3 = functionUncurryThisClause;
1818
- var aCallable$6 = aCallable$9;
1239
+ var aCallable$7 = aCallable$9;
1819
1240
  var NATIVE_BIND$1 = functionBindNative;
1820
1241
 
1821
- var bind$6 = uncurryThis$3(uncurryThis$3.bind);
1242
+ var bind$5 = uncurryThis$3(uncurryThis$3.bind);
1822
1243
 
1823
1244
  // optional / simple context binding
1824
1245
  var functionBindContext = function (fn, that) {
1825
- aCallable$6(fn);
1826
- return that === undefined ? fn : NATIVE_BIND$1 ? bind$6(fn, that) : function (/* ...args */) {
1246
+ aCallable$7(fn);
1247
+ return that === undefined ? fn : NATIVE_BIND$1 ? bind$5(fn, that) : function (/* ...args */) {
1827
1248
  return fn.apply(that, arguments);
1828
- };
1829
- };
1830
-
1831
- var classof$4 = classof$7;
1832
- var getMethod$1 = getMethod$3;
1833
- var isNullOrUndefined$1 = isNullOrUndefined$4;
1834
- var Iterators$1 = iterators;
1835
- var wellKnownSymbol$7 = wellKnownSymbol$h;
1836
-
1837
- var ITERATOR$3 = wellKnownSymbol$7('iterator');
1838
-
1839
- var getIteratorMethod$3 = function (it) {
1840
- if (!isNullOrUndefined$1(it)) return getMethod$1(it, ITERATOR$3)
1841
- || getMethod$1(it, '@@iterator')
1842
- || Iterators$1[classof$4(it)];
1843
- };
1844
-
1845
- var call$7 = functionCall;
1846
- var aCallable$5 = aCallable$9;
1847
- var anObject$5 = anObject$d;
1848
- var tryToString$2 = tryToString$4;
1849
- var getIteratorMethod$2 = getIteratorMethod$3;
1850
-
1851
- var $TypeError$5 = TypeError;
1852
-
1853
- var getIterator$2 = function (argument, usingIterator) {
1854
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod$2(argument) : usingIterator;
1855
- if (aCallable$5(iteratorMethod)) return anObject$5(call$7(iteratorMethod, argument));
1856
- throw new $TypeError$5(tryToString$2(argument) + ' is not iterable');
1857
- };
1858
-
1859
- var $TypeError$4 = TypeError;
1860
-
1861
- var validateArgumentsLength$2 = function (passed, required) {
1862
- if (passed < required) throw new $TypeError$4('Not enough arguments');
1863
- return passed;
1864
- };
1865
-
1866
- var uncurryThis$2 = functionUncurryThis;
1867
-
1868
- var arraySlice$2 = uncurryThis$2([].slice);
1869
-
1870
- var arraySlice$1 = arraySlice$2;
1871
-
1872
- var floor = Math.floor;
1873
-
1874
- var sort = function (array, comparefn) {
1875
- var length = array.length;
1876
-
1877
- if (length < 8) {
1878
- // insertion sort
1879
- var i = 1;
1880
- var element, j;
1881
-
1882
- while (i < length) {
1883
- j = i;
1884
- element = array[i];
1885
- while (j && comparefn(array[j - 1], element) > 0) {
1886
- array[j] = array[--j];
1887
- }
1888
- if (j !== i++) array[j] = element;
1889
- }
1890
- } else {
1891
- // merge sort
1892
- var middle = floor(length / 2);
1893
- var left = sort(arraySlice$1(array, 0, middle), comparefn);
1894
- var right = sort(arraySlice$1(array, middle), comparefn);
1895
- var llength = left.length;
1896
- var rlength = right.length;
1897
- var lindex = 0;
1898
- var rindex = 0;
1899
-
1900
- while (lindex < llength || rindex < rlength) {
1901
- array[lindex + rindex] = (lindex < llength && rindex < rlength)
1902
- ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
1903
- : lindex < llength ? left[lindex++] : right[rindex++];
1904
- }
1905
- }
1906
-
1907
- return array;
1908
- };
1909
-
1910
- var arraySort$1 = sort;
1911
-
1912
- // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
1913
-
1914
- var $$7 = _export;
1915
- var global$7 = global$k;
1916
- var safeGetBuiltIn$1 = safeGetBuiltIn$2;
1917
- var call$6 = functionCall;
1918
- var uncurryThis$1 = functionUncurryThis;
1919
- var DESCRIPTORS$1 = descriptors;
1920
- var USE_NATIVE_URL = urlConstructorDetection;
1921
- var defineBuiltIn$2 = defineBuiltIn$8;
1922
- var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
1923
- var defineBuiltIns = defineBuiltIns$1;
1924
- var setToStringTag$1 = setToStringTag$5;
1925
- var createIteratorConstructor = iteratorCreateConstructor;
1926
- var InternalStateModule$1 = internalState;
1927
- var anInstance$1 = anInstance$2;
1928
- var isCallable$5 = isCallable$k;
1929
- var hasOwn$1 = hasOwnProperty_1;
1930
- var bind$5 = functionBindContext;
1931
- var classof$3 = classof$7;
1932
- var anObject$4 = anObject$d;
1933
- var isObject$3 = isObject$b;
1934
- var $toString = toString;
1935
- var create = objectCreate;
1936
- var createPropertyDescriptor = createPropertyDescriptor$4;
1937
- var getIterator$1 = getIterator$2;
1938
- var getIteratorMethod$1 = getIteratorMethod$3;
1939
- var createIterResultObject = createIterResultObject$2;
1940
- var validateArgumentsLength$1 = validateArgumentsLength$2;
1941
- var wellKnownSymbol$6 = wellKnownSymbol$h;
1942
- var arraySort = arraySort$1;
1943
-
1944
- var ITERATOR$2 = wellKnownSymbol$6('iterator');
1945
- var URL_SEARCH_PARAMS = 'URLSearchParams';
1946
- var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
1947
- var setInternalState$1 = InternalStateModule$1.set;
1948
- var getInternalParamsState = InternalStateModule$1.getterFor(URL_SEARCH_PARAMS);
1949
- var getInternalIteratorState = InternalStateModule$1.getterFor(URL_SEARCH_PARAMS_ITERATOR);
1950
-
1951
- var nativeFetch = safeGetBuiltIn$1('fetch');
1952
- var NativeRequest = safeGetBuiltIn$1('Request');
1953
- var Headers = safeGetBuiltIn$1('Headers');
1954
- var RequestPrototype = NativeRequest && NativeRequest.prototype;
1955
- var HeadersPrototype = Headers && Headers.prototype;
1956
- var RegExp$1 = global$7.RegExp;
1957
- var TypeError$2 = global$7.TypeError;
1958
- var decodeURIComponent = global$7.decodeURIComponent;
1959
- var encodeURIComponent = global$7.encodeURIComponent;
1960
- var charAt = uncurryThis$1(''.charAt);
1961
- var join = uncurryThis$1([].join);
1962
- var push = uncurryThis$1([].push);
1963
- var replace = uncurryThis$1(''.replace);
1964
- var shift = uncurryThis$1([].shift);
1965
- var splice = uncurryThis$1([].splice);
1966
- var split = uncurryThis$1(''.split);
1967
- var stringSlice = uncurryThis$1(''.slice);
1968
-
1969
- var plus = /\+/g;
1970
- var sequences = Array(4);
1971
-
1972
- var percentSequence = function (bytes) {
1973
- return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp$1('((?:%[\\da-f]{2}){' + bytes + '})', 'gi'));
1974
- };
1975
-
1976
- var percentDecode = function (sequence) {
1977
- try {
1978
- return decodeURIComponent(sequence);
1979
- } catch (error) {
1980
- return sequence;
1981
- }
1982
- };
1983
-
1984
- var deserialize = function (it) {
1985
- var result = replace(it, plus, ' ');
1986
- var bytes = 4;
1987
- try {
1988
- return decodeURIComponent(result);
1989
- } catch (error) {
1990
- while (bytes) {
1991
- result = replace(result, percentSequence(bytes--), percentDecode);
1992
- }
1993
- return result;
1994
- }
1995
- };
1996
-
1997
- var find = /[!'()~]|%20/g;
1998
-
1999
- var replacements = {
2000
- '!': '%21',
2001
- "'": '%27',
2002
- '(': '%28',
2003
- ')': '%29',
2004
- '~': '%7E',
2005
- '%20': '+'
2006
- };
2007
-
2008
- var replacer = function (match) {
2009
- return replacements[match];
2010
- };
2011
-
2012
- var serialize = function (it) {
2013
- return replace(encodeURIComponent(it), find, replacer);
2014
- };
2015
-
2016
- var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {
2017
- setInternalState$1(this, {
2018
- type: URL_SEARCH_PARAMS_ITERATOR,
2019
- target: getInternalParamsState(params).entries,
2020
- index: 0,
2021
- kind: kind
2022
- });
2023
- }, URL_SEARCH_PARAMS, function next() {
2024
- var state = getInternalIteratorState(this);
2025
- var target = state.target;
2026
- var index = state.index++;
2027
- if (!target || index >= target.length) {
2028
- state.target = undefined;
2029
- return createIterResultObject(undefined, true);
2030
- }
2031
- var entry = target[index];
2032
- switch (state.kind) {
2033
- case 'keys': return createIterResultObject(entry.key, false);
2034
- case 'values': return createIterResultObject(entry.value, false);
2035
- } return createIterResultObject([entry.key, entry.value], false);
2036
- }, true);
2037
-
2038
- var URLSearchParamsState = function (init) {
2039
- this.entries = [];
2040
- this.url = null;
2041
-
2042
- if (init !== undefined) {
2043
- if (isObject$3(init)) this.parseObject(init);
2044
- else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init));
2045
- }
2046
- };
2047
-
2048
- URLSearchParamsState.prototype = {
2049
- type: URL_SEARCH_PARAMS,
2050
- bindURL: function (url) {
2051
- this.url = url;
2052
- this.update();
2053
- },
2054
- parseObject: function (object) {
2055
- var entries = this.entries;
2056
- var iteratorMethod = getIteratorMethod$1(object);
2057
- var iterator, next, step, entryIterator, entryNext, first, second;
2058
-
2059
- if (iteratorMethod) {
2060
- iterator = getIterator$1(object, iteratorMethod);
2061
- next = iterator.next;
2062
- while (!(step = call$6(next, iterator)).done) {
2063
- entryIterator = getIterator$1(anObject$4(step.value));
2064
- entryNext = entryIterator.next;
2065
- if (
2066
- (first = call$6(entryNext, entryIterator)).done ||
2067
- (second = call$6(entryNext, entryIterator)).done ||
2068
- !call$6(entryNext, entryIterator).done
2069
- ) throw new TypeError$2('Expected sequence with length 2');
2070
- push(entries, { key: $toString(first.value), value: $toString(second.value) });
2071
- }
2072
- } else for (var key in object) if (hasOwn$1(object, key)) {
2073
- push(entries, { key: key, value: $toString(object[key]) });
2074
- }
2075
- },
2076
- parseQuery: function (query) {
2077
- if (query) {
2078
- var entries = this.entries;
2079
- var attributes = split(query, '&');
2080
- var index = 0;
2081
- var attribute, entry;
2082
- while (index < attributes.length) {
2083
- attribute = attributes[index++];
2084
- if (attribute.length) {
2085
- entry = split(attribute, '=');
2086
- push(entries, {
2087
- key: deserialize(shift(entry)),
2088
- value: deserialize(join(entry, '='))
2089
- });
2090
- }
2091
- }
2092
- }
2093
- },
2094
- serialize: function () {
2095
- var entries = this.entries;
2096
- var result = [];
2097
- var index = 0;
2098
- var entry;
2099
- while (index < entries.length) {
2100
- entry = entries[index++];
2101
- push(result, serialize(entry.key) + '=' + serialize(entry.value));
2102
- } return join(result, '&');
2103
- },
2104
- update: function () {
2105
- this.entries.length = 0;
2106
- this.parseQuery(this.url.query);
2107
- },
2108
- updateURL: function () {
2109
- if (this.url) this.url.update();
2110
- }
2111
- };
2112
-
2113
- // `URLSearchParams` constructor
2114
- // https://url.spec.whatwg.org/#interface-urlsearchparams
2115
- var URLSearchParamsConstructor = function URLSearchParams(/* init */) {
2116
- anInstance$1(this, URLSearchParamsPrototype);
2117
- var init = arguments.length > 0 ? arguments[0] : undefined;
2118
- var state = setInternalState$1(this, new URLSearchParamsState(init));
2119
- if (!DESCRIPTORS$1) this.size = state.entries.length;
2120
- };
2121
-
2122
- var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;
2123
-
2124
- defineBuiltIns(URLSearchParamsPrototype, {
2125
- // `URLSearchParams.prototype.append` method
2126
- // https://url.spec.whatwg.org/#dom-urlsearchparams-append
2127
- append: function append(name, value) {
2128
- var state = getInternalParamsState(this);
2129
- validateArgumentsLength$1(arguments.length, 2);
2130
- push(state.entries, { key: $toString(name), value: $toString(value) });
2131
- if (!DESCRIPTORS$1) this.length++;
2132
- state.updateURL();
2133
- },
2134
- // `URLSearchParams.prototype.delete` method
2135
- // https://url.spec.whatwg.org/#dom-urlsearchparams-delete
2136
- 'delete': function (name /* , value */) {
2137
- var state = getInternalParamsState(this);
2138
- var length = validateArgumentsLength$1(arguments.length, 1);
2139
- var entries = state.entries;
2140
- var key = $toString(name);
2141
- var $value = length < 2 ? undefined : arguments[1];
2142
- var value = $value === undefined ? $value : $toString($value);
2143
- var index = 0;
2144
- while (index < entries.length) {
2145
- var entry = entries[index];
2146
- if (entry.key === key && (value === undefined || entry.value === value)) {
2147
- splice(entries, index, 1);
2148
- if (value !== undefined) break;
2149
- } else index++;
2150
- }
2151
- if (!DESCRIPTORS$1) this.size = entries.length;
2152
- state.updateURL();
2153
- },
2154
- // `URLSearchParams.prototype.get` method
2155
- // https://url.spec.whatwg.org/#dom-urlsearchparams-get
2156
- get: function get(name) {
2157
- var entries = getInternalParamsState(this).entries;
2158
- validateArgumentsLength$1(arguments.length, 1);
2159
- var key = $toString(name);
2160
- var index = 0;
2161
- for (; index < entries.length; index++) {
2162
- if (entries[index].key === key) return entries[index].value;
2163
- }
2164
- return null;
2165
- },
2166
- // `URLSearchParams.prototype.getAll` method
2167
- // https://url.spec.whatwg.org/#dom-urlsearchparams-getall
2168
- getAll: function getAll(name) {
2169
- var entries = getInternalParamsState(this).entries;
2170
- validateArgumentsLength$1(arguments.length, 1);
2171
- var key = $toString(name);
2172
- var result = [];
2173
- var index = 0;
2174
- for (; index < entries.length; index++) {
2175
- if (entries[index].key === key) push(result, entries[index].value);
2176
- }
2177
- return result;
2178
- },
2179
- // `URLSearchParams.prototype.has` method
2180
- // https://url.spec.whatwg.org/#dom-urlsearchparams-has
2181
- has: function has(name /* , value */) {
2182
- var entries = getInternalParamsState(this).entries;
2183
- var length = validateArgumentsLength$1(arguments.length, 1);
2184
- var key = $toString(name);
2185
- var $value = length < 2 ? undefined : arguments[1];
2186
- var value = $value === undefined ? $value : $toString($value);
2187
- var index = 0;
2188
- while (index < entries.length) {
2189
- var entry = entries[index++];
2190
- if (entry.key === key && (value === undefined || entry.value === value)) return true;
2191
- }
2192
- return false;
2193
- },
2194
- // `URLSearchParams.prototype.set` method
2195
- // https://url.spec.whatwg.org/#dom-urlsearchparams-set
2196
- set: function set(name, value) {
2197
- var state = getInternalParamsState(this);
2198
- validateArgumentsLength$1(arguments.length, 1);
2199
- var entries = state.entries;
2200
- var found = false;
2201
- var key = $toString(name);
2202
- var val = $toString(value);
2203
- var index = 0;
2204
- var entry;
2205
- for (; index < entries.length; index++) {
2206
- entry = entries[index];
2207
- if (entry.key === key) {
2208
- if (found) splice(entries, index--, 1);
2209
- else {
2210
- found = true;
2211
- entry.value = val;
2212
- }
2213
- }
2214
- }
2215
- if (!found) push(entries, { key: key, value: val });
2216
- if (!DESCRIPTORS$1) this.size = entries.length;
2217
- state.updateURL();
2218
- },
2219
- // `URLSearchParams.prototype.sort` method
2220
- // https://url.spec.whatwg.org/#dom-urlsearchparams-sort
2221
- sort: function sort() {
2222
- var state = getInternalParamsState(this);
2223
- arraySort(state.entries, function (a, b) {
2224
- return a.key > b.key ? 1 : -1;
2225
- });
2226
- state.updateURL();
2227
- },
2228
- // `URLSearchParams.prototype.forEach` method
2229
- forEach: function forEach(callback /* , thisArg */) {
2230
- var entries = getInternalParamsState(this).entries;
2231
- var boundFunction = bind$5(callback, arguments.length > 1 ? arguments[1] : undefined);
2232
- var index = 0;
2233
- var entry;
2234
- while (index < entries.length) {
2235
- entry = entries[index++];
2236
- boundFunction(entry.value, entry.key, this);
2237
- }
2238
- },
2239
- // `URLSearchParams.prototype.keys` method
2240
- keys: function keys() {
2241
- return new URLSearchParamsIterator(this, 'keys');
2242
- },
2243
- // `URLSearchParams.prototype.values` method
2244
- values: function values() {
2245
- return new URLSearchParamsIterator(this, 'values');
2246
- },
2247
- // `URLSearchParams.prototype.entries` method
2248
- entries: function entries() {
2249
- return new URLSearchParamsIterator(this, 'entries');
2250
- }
2251
- }, { enumerable: true });
2252
-
2253
- // `URLSearchParams.prototype[@@iterator]` method
2254
- defineBuiltIn$2(URLSearchParamsPrototype, ITERATOR$2, URLSearchParamsPrototype.entries, { name: 'entries' });
2255
-
2256
- // `URLSearchParams.prototype.toString` method
2257
- // https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
2258
- defineBuiltIn$2(URLSearchParamsPrototype, 'toString', function toString() {
2259
- return getInternalParamsState(this).serialize();
2260
- }, { enumerable: true });
2261
-
2262
- // `URLSearchParams.prototype.size` getter
2263
- // https://github.com/whatwg/url/pull/734
2264
- if (DESCRIPTORS$1) defineBuiltInAccessor$1(URLSearchParamsPrototype, 'size', {
2265
- get: function size() {
2266
- return getInternalParamsState(this).entries.length;
2267
- },
2268
- configurable: true,
2269
- enumerable: true
2270
- });
2271
-
2272
- setToStringTag$1(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
2273
-
2274
- $$7({ global: true, constructor: true, forced: !USE_NATIVE_URL }, {
2275
- URLSearchParams: URLSearchParamsConstructor
2276
- });
2277
-
2278
- // Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`
2279
- if (!USE_NATIVE_URL && isCallable$5(Headers)) {
2280
- var headersHas = uncurryThis$1(HeadersPrototype.has);
2281
- var headersSet = uncurryThis$1(HeadersPrototype.set);
2282
-
2283
- var wrapRequestOptions = function (init) {
2284
- if (isObject$3(init)) {
2285
- var body = init.body;
2286
- var headers;
2287
- if (classof$3(body) === URL_SEARCH_PARAMS) {
2288
- headers = init.headers ? new Headers(init.headers) : new Headers();
2289
- if (!headersHas(headers, 'content-type')) {
2290
- headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');
2291
- }
2292
- return create(init, {
2293
- body: createPropertyDescriptor(0, $toString(body)),
2294
- headers: createPropertyDescriptor(0, headers)
2295
- });
2296
- }
2297
- } return init;
2298
- };
2299
-
2300
- if (isCallable$5(nativeFetch)) {
2301
- $$7({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
2302
- fetch: function fetch(input /* , init */) {
2303
- return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
2304
- }
2305
- });
2306
- }
2307
-
2308
- if (isCallable$5(NativeRequest)) {
2309
- var RequestConstructor = function Request(input /* , init */) {
2310
- anInstance$1(this, RequestPrototype);
2311
- return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
2312
- };
2313
-
2314
- RequestPrototype.constructor = RequestConstructor;
2315
- RequestConstructor.prototype = RequestPrototype;
2316
-
2317
- $$7({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
2318
- Request: RequestConstructor
2319
- });
2320
- }
2321
- }
2322
-
2323
- var classof$2 = classofRaw$2;
2324
-
2325
- // `IsArray` abstract operation
2326
- // https://tc39.es/ecma262/#sec-isarray
2327
- // eslint-disable-next-line es/no-array-isarray -- safe
2328
- var isArray$2 = Array.isArray || function isArray(argument) {
2329
- return classof$2(argument) === 'Array';
2330
- };
2331
-
2332
- var $TypeError$3 = TypeError;
2333
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
2334
-
2335
- var doesNotExceedSafeInteger$1 = function (it) {
2336
- if (it > MAX_SAFE_INTEGER) throw $TypeError$3('Maximum allowed index exceeded');
2337
- return it;
1249
+ };
2338
1250
  };
2339
1251
 
2340
1252
  var isArray$1 = isArray$2;
@@ -2371,17 +1283,17 @@ var flattenIntoArray$1 = function (target, original, source, sourceLen, start, d
2371
1283
 
2372
1284
  var flattenIntoArray_1 = flattenIntoArray$1;
2373
1285
 
2374
- var uncurryThis = functionUncurryThis;
2375
- var fails$1 = fails$f;
2376
- var isCallable$4 = isCallable$k;
2377
- var classof$1 = classof$7;
2378
- var getBuiltIn$3 = getBuiltIn$7;
1286
+ var uncurryThis$2 = functionUncurryThis;
1287
+ var fails$1 = fails$c;
1288
+ var isCallable$4 = isCallable$g;
1289
+ var classof$2 = classof$6;
1290
+ var getBuiltIn$4 = getBuiltIn$7;
2379
1291
  var inspectSource$1 = inspectSource$3;
2380
1292
 
2381
1293
  var noop = function () { /* empty */ };
2382
- var construct = getBuiltIn$3('Reflect', 'construct');
1294
+ var construct = getBuiltIn$4('Reflect', 'construct');
2383
1295
  var constructorRegExp = /^\s*(?:class|function)\b/;
2384
- var exec = uncurryThis(constructorRegExp.exec);
1296
+ var exec = uncurryThis$2(constructorRegExp.exec);
2385
1297
  var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
2386
1298
 
2387
1299
  var isConstructorModern = function isConstructor(argument) {
@@ -2396,7 +1308,7 @@ var isConstructorModern = function isConstructor(argument) {
2396
1308
 
2397
1309
  var isConstructorLegacy = function isConstructor(argument) {
2398
1310
  if (!isCallable$4(argument)) return false;
2399
- switch (classof$1(argument)) {
1311
+ switch (classof$2(argument)) {
2400
1312
  case 'AsyncFunction':
2401
1313
  case 'GeneratorFunction':
2402
1314
  case 'AsyncGeneratorFunction': return false;
@@ -2425,10 +1337,10 @@ var isConstructor$2 = !construct || fails$1(function () {
2425
1337
 
2426
1338
  var isArray = isArray$2;
2427
1339
  var isConstructor$1 = isConstructor$2;
2428
- var isObject$2 = isObject$b;
2429
- var wellKnownSymbol$5 = wellKnownSymbol$h;
1340
+ var isObject$3 = isObject$9;
1341
+ var wellKnownSymbol$8 = wellKnownSymbol$c;
2430
1342
 
2431
- var SPECIES$3 = wellKnownSymbol$5('species');
1343
+ var SPECIES$3 = wellKnownSymbol$8('species');
2432
1344
  var $Array = Array;
2433
1345
 
2434
1346
  // a part of `ArraySpeciesCreate` abstract operation
@@ -2439,7 +1351,7 @@ var arraySpeciesConstructor$1 = function (originalArray) {
2439
1351
  C = originalArray.constructor;
2440
1352
  // cross-realm fallback
2441
1353
  if (isConstructor$1(C) && (C === $Array || isArray(C.prototype))) C = undefined;
2442
- else if (isObject$2(C)) {
1354
+ else if (isObject$3(C)) {
2443
1355
  C = C[SPECIES$3];
2444
1356
  if (C === null) C = undefined;
2445
1357
  }
@@ -2456,8 +1368,8 @@ var arraySpeciesCreate$1 = function (originalArray, length) {
2456
1368
 
2457
1369
  var $$6 = _export;
2458
1370
  var flattenIntoArray = flattenIntoArray_1;
2459
- var aCallable$4 = aCallable$9;
2460
- var toObject = toObject$4;
1371
+ var aCallable$6 = aCallable$9;
1372
+ var toObject = toObject$3;
2461
1373
  var lengthOfArrayLike$1 = lengthOfArrayLike$4;
2462
1374
  var arraySpeciesCreate = arraySpeciesCreate$1;
2463
1375
 
@@ -2468,16 +1380,148 @@ $$6({ target: 'Array', proto: true }, {
2468
1380
  var O = toObject(this);
2469
1381
  var sourceLen = lengthOfArrayLike$1(O);
2470
1382
  var A;
2471
- aCallable$4(callbackfn);
1383
+ aCallable$6(callbackfn);
2472
1384
  A = arraySpeciesCreate(O, 0);
2473
1385
  A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
2474
1386
  return A;
2475
1387
  }
2476
1388
  });
2477
1389
 
1390
+ var objectDefineProperties = {};
1391
+
1392
+ var DESCRIPTORS$2 = descriptors;
1393
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1394
+ var definePropertyModule = objectDefineProperty;
1395
+ var anObject$7 = anObject$c;
1396
+ var toIndexedObject = toIndexedObject$4;
1397
+ var objectKeys = objectKeys$2;
1398
+
1399
+ // `Object.defineProperties` method
1400
+ // https://tc39.es/ecma262/#sec-object.defineproperties
1401
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
1402
+ objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1403
+ anObject$7(O);
1404
+ var props = toIndexedObject(Properties);
1405
+ var keys = objectKeys(Properties);
1406
+ var length = keys.length;
1407
+ var index = 0;
1408
+ var key;
1409
+ while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1410
+ return O;
1411
+ };
1412
+
1413
+ var getBuiltIn$3 = getBuiltIn$7;
1414
+
1415
+ var html$2 = getBuiltIn$3('document', 'documentElement');
1416
+
1417
+ /* global ActiveXObject -- old IE, WSH */
1418
+ var anObject$6 = anObject$c;
1419
+ var definePropertiesModule = objectDefineProperties;
1420
+ var enumBugKeys = enumBugKeys$3;
1421
+ var hiddenKeys = hiddenKeys$4;
1422
+ var html$1 = html$2;
1423
+ var documentCreateElement = documentCreateElement$1;
1424
+ var sharedKey = sharedKey$2;
1425
+
1426
+ var GT = '>';
1427
+ var LT = '<';
1428
+ var PROTOTYPE = 'prototype';
1429
+ var SCRIPT = 'script';
1430
+ var IE_PROTO = sharedKey('IE_PROTO');
1431
+
1432
+ var EmptyConstructor = function () { /* empty */ };
1433
+
1434
+ var scriptTag = function (content) {
1435
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1436
+ };
1437
+
1438
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1439
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
1440
+ activeXDocument.write(scriptTag(''));
1441
+ activeXDocument.close();
1442
+ var temp = activeXDocument.parentWindow.Object;
1443
+ activeXDocument = null; // avoid memory leak
1444
+ return temp;
1445
+ };
1446
+
1447
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
1448
+ var NullProtoObjectViaIFrame = function () {
1449
+ // Thrash, waste and sodomy: IE GC bug
1450
+ var iframe = documentCreateElement('iframe');
1451
+ var JS = 'java' + SCRIPT + ':';
1452
+ var iframeDocument;
1453
+ iframe.style.display = 'none';
1454
+ html$1.appendChild(iframe);
1455
+ // https://github.com/zloirock/core-js/issues/475
1456
+ iframe.src = String(JS);
1457
+ iframeDocument = iframe.contentWindow.document;
1458
+ iframeDocument.open();
1459
+ iframeDocument.write(scriptTag('document.F=Object'));
1460
+ iframeDocument.close();
1461
+ return iframeDocument.F;
1462
+ };
1463
+
1464
+ // Check for document.domain and active x support
1465
+ // No need to use active x approach when document.domain is not set
1466
+ // see https://github.com/es-shims/es5-shim/issues/150
1467
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1468
+ // avoid IE GC bug
1469
+ var activeXDocument;
1470
+ var NullProtoObject = function () {
1471
+ try {
1472
+ activeXDocument = new ActiveXObject('htmlfile');
1473
+ } catch (error) { /* ignore */ }
1474
+ NullProtoObject = typeof document != 'undefined'
1475
+ ? document.domain && activeXDocument
1476
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1477
+ : NullProtoObjectViaIFrame()
1478
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
1479
+ var length = enumBugKeys.length;
1480
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1481
+ return NullProtoObject();
1482
+ };
1483
+
1484
+ hiddenKeys[IE_PROTO] = true;
1485
+
1486
+ // `Object.create` method
1487
+ // https://tc39.es/ecma262/#sec-object.create
1488
+ // eslint-disable-next-line es/no-object-create -- safe
1489
+ var objectCreate = Object.create || function create(O, Properties) {
1490
+ var result;
1491
+ if (O !== null) {
1492
+ EmptyConstructor[PROTOTYPE] = anObject$6(O);
1493
+ result = new EmptyConstructor();
1494
+ EmptyConstructor[PROTOTYPE] = null;
1495
+ // add "__proto__" for Object.getPrototypeOf polyfill
1496
+ result[IE_PROTO] = O;
1497
+ } else result = NullProtoObject();
1498
+ return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1499
+ };
1500
+
1501
+ var wellKnownSymbol$7 = wellKnownSymbol$c;
1502
+ var create = objectCreate;
1503
+ var defineProperty$2 = objectDefineProperty.f;
1504
+
1505
+ var UNSCOPABLES = wellKnownSymbol$7('unscopables');
1506
+ var ArrayPrototype$1 = Array.prototype;
1507
+
1508
+ // Array.prototype[@@unscopables]
1509
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1510
+ if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
1511
+ defineProperty$2(ArrayPrototype$1, UNSCOPABLES, {
1512
+ configurable: true,
1513
+ value: create(null)
1514
+ });
1515
+ }
1516
+
1517
+ // add a key to Array.prototype[@@unscopables]
1518
+ var addToUnscopables$1 = function (key) {
1519
+ ArrayPrototype$1[UNSCOPABLES][key] = true;
1520
+ };
1521
+
2478
1522
  // this method was added to unscopables after implementation
2479
1523
  // in popular engines, so it's moved to a separate module
2480
- var addToUnscopables = addToUnscopables$2;
1524
+ var addToUnscopables = addToUnscopables$1;
2481
1525
 
2482
1526
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
2483
1527
  addToUnscopables('flatMap');
@@ -2569,22 +1613,97 @@ function zohoRecruitSearchRecordsCriteriaEntryToCriteriaString(entry) {
2569
1613
  return `(${entry.field}:${entry.filter}:${escapedValue})`;
2570
1614
  }
2571
1615
 
2572
- var global$6 = global$k;
2573
- var classof = classofRaw$2;
1616
+ var global$7 = global$i;
1617
+ var classof$1 = classofRaw$2;
1618
+
1619
+ var engineIsNode = classof$1(global$7.process) === 'process';
1620
+
1621
+ var uncurryThis$1 = functionUncurryThis;
1622
+ var aCallable$5 = aCallable$9;
1623
+
1624
+ var functionUncurryThisAccessor = function (object, key, method) {
1625
+ try {
1626
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1627
+ return uncurryThis$1(aCallable$5(Object.getOwnPropertyDescriptor(object, key)[method]));
1628
+ } catch (error) { /* empty */ }
1629
+ };
1630
+
1631
+ var isObject$2 = isObject$9;
1632
+
1633
+ var isPossiblePrototype$1 = function (argument) {
1634
+ return isObject$2(argument) || argument === null;
1635
+ };
1636
+
1637
+ var isPossiblePrototype = isPossiblePrototype$1;
1638
+
1639
+ var $String = String;
1640
+ var $TypeError$6 = TypeError;
1641
+
1642
+ var aPossiblePrototype$1 = function (argument) {
1643
+ if (isPossiblePrototype(argument)) return argument;
1644
+ throw new $TypeError$6("Can't set " + $String(argument) + ' as a prototype');
1645
+ };
1646
+
1647
+ /* eslint-disable no-proto -- safe */
1648
+ var uncurryThisAccessor = functionUncurryThisAccessor;
1649
+ var anObject$5 = anObject$c;
1650
+ var aPossiblePrototype = aPossiblePrototype$1;
1651
+
1652
+ // `Object.setPrototypeOf` method
1653
+ // https://tc39.es/ecma262/#sec-object.setprototypeof
1654
+ // Works with __proto__ only. Old v8 can't work with null proto objects.
1655
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
1656
+ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
1657
+ var CORRECT_SETTER = false;
1658
+ var test = {};
1659
+ var setter;
1660
+ try {
1661
+ setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
1662
+ setter(test, []);
1663
+ CORRECT_SETTER = test instanceof Array;
1664
+ } catch (error) { /* empty */ }
1665
+ return function setPrototypeOf(O, proto) {
1666
+ anObject$5(O);
1667
+ aPossiblePrototype(proto);
1668
+ if (CORRECT_SETTER) setter(O, proto);
1669
+ else O.__proto__ = proto;
1670
+ return O;
1671
+ };
1672
+ }() : undefined);
1673
+
1674
+ var defineProperty$1 = objectDefineProperty.f;
1675
+ var hasOwn$1 = hasOwnProperty_1;
1676
+ var wellKnownSymbol$6 = wellKnownSymbol$c;
1677
+
1678
+ var TO_STRING_TAG = wellKnownSymbol$6('toStringTag');
1679
+
1680
+ var setToStringTag$1 = function (target, TAG, STATIC) {
1681
+ if (target && !STATIC) target = target.prototype;
1682
+ if (target && !hasOwn$1(target, TO_STRING_TAG)) {
1683
+ defineProperty$1(target, TO_STRING_TAG, { configurable: true, value: TAG });
1684
+ }
1685
+ };
1686
+
1687
+ var makeBuiltIn = makeBuiltIn$3.exports;
1688
+ var defineProperty = objectDefineProperty;
2574
1689
 
2575
- var engineIsNode = classof(global$6.process) === 'process';
1690
+ var defineBuiltInAccessor$1 = function (target, name, descriptor) {
1691
+ if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
1692
+ if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
1693
+ return defineProperty.f(target, name, descriptor);
1694
+ };
2576
1695
 
2577
1696
  var getBuiltIn$2 = getBuiltIn$7;
2578
- var defineBuiltInAccessor = defineBuiltInAccessor$2;
2579
- var wellKnownSymbol$4 = wellKnownSymbol$h;
2580
- var DESCRIPTORS = descriptors;
1697
+ var defineBuiltInAccessor = defineBuiltInAccessor$1;
1698
+ var wellKnownSymbol$5 = wellKnownSymbol$c;
1699
+ var DESCRIPTORS$1 = descriptors;
2581
1700
 
2582
- var SPECIES$2 = wellKnownSymbol$4('species');
1701
+ var SPECIES$2 = wellKnownSymbol$5('species');
2583
1702
 
2584
1703
  var setSpecies$1 = function (CONSTRUCTOR_NAME) {
2585
1704
  var Constructor = getBuiltIn$2(CONSTRUCTOR_NAME);
2586
1705
 
2587
- if (DESCRIPTORS && Constructor && !Constructor[SPECIES$2]) {
1706
+ if (DESCRIPTORS$1 && Constructor && !Constructor[SPECIES$2]) {
2588
1707
  defineBuiltInAccessor(Constructor, SPECIES$2, {
2589
1708
  configurable: true,
2590
1709
  get: function () { return this; }
@@ -2592,68 +1711,88 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
2592
1711
  }
2593
1712
  };
2594
1713
 
1714
+ var isPrototypeOf$1 = objectIsPrototypeOf;
1715
+
1716
+ var $TypeError$5 = TypeError;
1717
+
1718
+ var anInstance$1 = function (it, Prototype) {
1719
+ if (isPrototypeOf$1(Prototype, it)) return it;
1720
+ throw new $TypeError$5('Incorrect invocation');
1721
+ };
1722
+
2595
1723
  var isConstructor = isConstructor$2;
2596
- var tryToString$1 = tryToString$4;
1724
+ var tryToString$2 = tryToString$4;
2597
1725
 
2598
- var $TypeError$2 = TypeError;
1726
+ var $TypeError$4 = TypeError;
2599
1727
 
2600
1728
  // `Assert: IsConstructor(argument) is true`
2601
1729
  var aConstructor$1 = function (argument) {
2602
1730
  if (isConstructor(argument)) return argument;
2603
- throw new $TypeError$2(tryToString$1(argument) + ' is not a constructor');
1731
+ throw new $TypeError$4(tryToString$2(argument) + ' is not a constructor');
2604
1732
  };
2605
1733
 
2606
- var anObject$3 = anObject$d;
1734
+ var anObject$4 = anObject$c;
2607
1735
  var aConstructor = aConstructor$1;
2608
- var isNullOrUndefined = isNullOrUndefined$4;
2609
- var wellKnownSymbol$3 = wellKnownSymbol$h;
1736
+ var isNullOrUndefined$1 = isNullOrUndefined$4;
1737
+ var wellKnownSymbol$4 = wellKnownSymbol$c;
2610
1738
 
2611
- var SPECIES$1 = wellKnownSymbol$3('species');
1739
+ var SPECIES$1 = wellKnownSymbol$4('species');
2612
1740
 
2613
1741
  // `SpeciesConstructor` abstract operation
2614
1742
  // https://tc39.es/ecma262/#sec-speciesconstructor
2615
1743
  var speciesConstructor$1 = function (O, defaultConstructor) {
2616
- var C = anObject$3(O).constructor;
1744
+ var C = anObject$4(O).constructor;
2617
1745
  var S;
2618
- return C === undefined || isNullOrUndefined(S = anObject$3(C)[SPECIES$1]) ? defaultConstructor : aConstructor(S);
1746
+ return C === undefined || isNullOrUndefined$1(S = anObject$4(C)[SPECIES$1]) ? defaultConstructor : aConstructor(S);
2619
1747
  };
2620
1748
 
2621
1749
  var NATIVE_BIND = functionBindNative;
2622
1750
 
2623
1751
  var FunctionPrototype = Function.prototype;
2624
1752
  var apply$1 = FunctionPrototype.apply;
2625
- var call$5 = FunctionPrototype.call;
1753
+ var call$6 = FunctionPrototype.call;
2626
1754
 
2627
1755
  // eslint-disable-next-line es/no-reflect -- safe
2628
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$5.bind(apply$1) : function () {
2629
- return call$5.apply(apply$1, arguments);
1756
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$6.bind(apply$1) : function () {
1757
+ return call$6.apply(apply$1, arguments);
2630
1758
  });
2631
1759
 
1760
+ var uncurryThis = functionUncurryThis;
1761
+
1762
+ var arraySlice$1 = uncurryThis([].slice);
1763
+
1764
+ var $TypeError$3 = TypeError;
1765
+
1766
+ var validateArgumentsLength$1 = function (passed, required) {
1767
+ if (passed < required) throw new $TypeError$3('Not enough arguments');
1768
+ return passed;
1769
+ };
1770
+
2632
1771
  var userAgent$2 = engineUserAgent;
2633
1772
 
2634
1773
  // eslint-disable-next-line redos/no-vulnerable -- safe
2635
1774
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
2636
1775
 
2637
- var global$5 = global$k;
1776
+ var global$6 = global$i;
2638
1777
  var apply = functionApply;
2639
1778
  var bind$3 = functionBindContext;
2640
- var isCallable$3 = isCallable$k;
1779
+ var isCallable$3 = isCallable$g;
2641
1780
  var hasOwn = hasOwnProperty_1;
2642
- var fails = fails$f;
1781
+ var fails = fails$c;
2643
1782
  var html = html$2;
2644
- var arraySlice = arraySlice$2;
2645
- var createElement = documentCreateElement$2;
2646
- var validateArgumentsLength = validateArgumentsLength$2;
1783
+ var arraySlice = arraySlice$1;
1784
+ var createElement = documentCreateElement$1;
1785
+ var validateArgumentsLength = validateArgumentsLength$1;
2647
1786
  var IS_IOS$1 = engineIsIos;
2648
1787
  var IS_NODE$3 = engineIsNode;
2649
1788
 
2650
- var set = global$5.setImmediate;
2651
- var clear = global$5.clearImmediate;
2652
- var process$2 = global$5.process;
2653
- var Dispatch = global$5.Dispatch;
2654
- var Function$1 = global$5.Function;
2655
- var MessageChannel = global$5.MessageChannel;
2656
- var String$1 = global$5.String;
1789
+ var set = global$6.setImmediate;
1790
+ var clear = global$6.clearImmediate;
1791
+ var process$2 = global$6.process;
1792
+ var Dispatch = global$6.Dispatch;
1793
+ var Function$1 = global$6.Function;
1794
+ var MessageChannel = global$6.MessageChannel;
1795
+ var String$1 = global$6.String;
2657
1796
  var counter = 0;
2658
1797
  var queue$2 = {};
2659
1798
  var ONREADYSTATECHANGE = 'onreadystatechange';
@@ -2661,7 +1800,7 @@ var $location, defer, channel, port;
2661
1800
 
2662
1801
  fails(function () {
2663
1802
  // Deno throws a ReferenceError on `location` access without `--location` flag
2664
- $location = global$5.location;
1803
+ $location = global$6.location;
2665
1804
  });
2666
1805
 
2667
1806
  var run = function (id) {
@@ -2684,7 +1823,7 @@ var eventListener = function (event) {
2684
1823
 
2685
1824
  var globalPostMessageDefer = function (id) {
2686
1825
  // old engines have not location.origin
2687
- global$5.postMessage(String$1(id), $location.protocol + '//' + $location.host);
1826
+ global$6.postMessage(String$1(id), $location.protocol + '//' + $location.host);
2688
1827
  };
2689
1828
 
2690
1829
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
@@ -2722,14 +1861,14 @@ if (!set || !clear) {
2722
1861
  // Browsers with postMessage, skip WebWorkers
2723
1862
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
2724
1863
  } else if (
2725
- global$5.addEventListener &&
2726
- isCallable$3(global$5.postMessage) &&
2727
- !global$5.importScripts &&
1864
+ global$6.addEventListener &&
1865
+ isCallable$3(global$6.postMessage) &&
1866
+ !global$6.importScripts &&
2728
1867
  $location && $location.protocol !== 'file:' &&
2729
1868
  !fails(globalPostMessageDefer)
2730
1869
  ) {
2731
1870
  defer = globalPostMessageDefer;
2732
- global$5.addEventListener('message', eventListener, false);
1871
+ global$6.addEventListener('message', eventListener, false);
2733
1872
  // IE8-
2734
1873
  } else if (ONREADYSTATECHANGE in createElement('script')) {
2735
1874
  defer = function (id) {
@@ -2751,6 +1890,19 @@ var task$1 = {
2751
1890
  clear: clear
2752
1891
  };
2753
1892
 
1893
+ var global$5 = global$i;
1894
+ var DESCRIPTORS = descriptors;
1895
+
1896
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1897
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1898
+
1899
+ // Avoid NodeJS experimental warning
1900
+ var safeGetBuiltIn$1 = function (name) {
1901
+ if (!DESCRIPTORS) return global$5[name];
1902
+ var descriptor = getOwnPropertyDescriptor(global$5, name);
1903
+ return descriptor && descriptor.value;
1904
+ };
1905
+
2754
1906
  var Queue$2 = function () {
2755
1907
  this.head = null;
2756
1908
  this.tail = null;
@@ -2784,8 +1936,8 @@ var userAgent = engineUserAgent;
2784
1936
 
2785
1937
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
2786
1938
 
2787
- var global$4 = global$k;
2788
- var safeGetBuiltIn = safeGetBuiltIn$2;
1939
+ var global$4 = global$i;
1940
+ var safeGetBuiltIn = safeGetBuiltIn$1;
2789
1941
  var bind$2 = functionBindContext;
2790
1942
  var macrotask = task$1.set;
2791
1943
  var Queue$1 = queue$1;
@@ -2878,7 +2030,7 @@ var perform$3 = function (exec) {
2878
2030
  }
2879
2031
  };
2880
2032
 
2881
- var global$3 = global$k;
2033
+ var global$3 = global$i;
2882
2034
 
2883
2035
  var promiseNativeConstructor = global$3.Promise;
2884
2036
 
@@ -2892,18 +2044,18 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
2892
2044
  && typeof window == 'object'
2893
2045
  && typeof document == 'object';
2894
2046
 
2895
- var global$2 = global$k;
2047
+ var global$2 = global$i;
2896
2048
  var NativePromiseConstructor$3 = promiseNativeConstructor;
2897
- var isCallable$2 = isCallable$k;
2049
+ var isCallable$2 = isCallable$g;
2898
2050
  var isForced = isForced_1;
2899
2051
  var inspectSource = inspectSource$3;
2900
- var wellKnownSymbol$2 = wellKnownSymbol$h;
2052
+ var wellKnownSymbol$3 = wellKnownSymbol$c;
2901
2053
  var IS_BROWSER = engineIsBrowser;
2902
2054
  var IS_DENO = engineIsDeno;
2903
2055
  var V8_VERSION = engineV8Version;
2904
2056
 
2905
2057
  NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
2906
- var SPECIES = wellKnownSymbol$2('species');
2058
+ var SPECIES = wellKnownSymbol$3('species');
2907
2059
  var SUBCLASSING = false;
2908
2060
  var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$2(global$2.PromiseRejectionEvent);
2909
2061
 
@@ -2939,19 +2091,19 @@ var promiseConstructorDetection = {
2939
2091
 
2940
2092
  var newPromiseCapability$2 = {};
2941
2093
 
2942
- var aCallable$3 = aCallable$9;
2094
+ var aCallable$4 = aCallable$9;
2943
2095
 
2944
- var $TypeError$1 = TypeError;
2096
+ var $TypeError$2 = TypeError;
2945
2097
 
2946
2098
  var PromiseCapability = function (C) {
2947
2099
  var resolve, reject;
2948
2100
  this.promise = new C(function ($$resolve, $$reject) {
2949
- if (resolve !== undefined || reject !== undefined) throw new $TypeError$1('Bad Promise constructor');
2101
+ if (resolve !== undefined || reject !== undefined) throw new $TypeError$2('Bad Promise constructor');
2950
2102
  resolve = $$resolve;
2951
2103
  reject = $$reject;
2952
2104
  });
2953
- this.resolve = aCallable$3(resolve);
2954
- this.reject = aCallable$3(reject);
2105
+ this.resolve = aCallable$4(resolve);
2106
+ this.reject = aCallable$4(reject);
2955
2107
  };
2956
2108
 
2957
2109
  // `NewPromiseCapability` abstract operation
@@ -2962,16 +2114,16 @@ newPromiseCapability$2.f = function (C) {
2962
2114
 
2963
2115
  var $$5 = _export;
2964
2116
  var IS_NODE = engineIsNode;
2965
- var global$1 = global$k;
2966
- var call$4 = functionCall;
2967
- var defineBuiltIn$1 = defineBuiltIn$8;
2117
+ var global$1 = global$i;
2118
+ var call$5 = functionCall;
2119
+ var defineBuiltIn$1 = defineBuiltIn$4;
2968
2120
  var setPrototypeOf = objectSetPrototypeOf;
2969
- var setToStringTag = setToStringTag$5;
2121
+ var setToStringTag = setToStringTag$1;
2970
2122
  var setSpecies = setSpecies$1;
2971
- var aCallable$2 = aCallable$9;
2972
- var isCallable$1 = isCallable$k;
2973
- var isObject$1 = isObject$b;
2974
- var anInstance = anInstance$2;
2123
+ var aCallable$3 = aCallable$9;
2124
+ var isCallable$1 = isCallable$g;
2125
+ var isObject$1 = isObject$9;
2126
+ var anInstance = anInstance$1;
2975
2127
  var speciesConstructor = speciesConstructor$1;
2976
2128
  var task = task$1.set;
2977
2129
  var microtask = microtask_1;
@@ -3041,7 +2193,7 @@ var callReaction = function (reaction, state) {
3041
2193
  if (result === reaction.promise) {
3042
2194
  reject(new TypeError$1('Promise-chain cycle'));
3043
2195
  } else if (then = isThenable(result)) {
3044
- call$4(then, result, resolve, reject);
2196
+ call$5(then, result, resolve, reject);
3045
2197
  } else resolve(result);
3046
2198
  } else reject(value);
3047
2199
  } catch (error) {
@@ -3078,7 +2230,7 @@ var dispatchEvent = function (name, promise, reason) {
3078
2230
  };
3079
2231
 
3080
2232
  var onUnhandled = function (state) {
3081
- call$4(task, global$1, function () {
2233
+ call$5(task, global$1, function () {
3082
2234
  var promise = state.facade;
3083
2235
  var value = state.value;
3084
2236
  var IS_UNHANDLED = isUnhandled(state);
@@ -3101,7 +2253,7 @@ var isUnhandled = function (state) {
3101
2253
  };
3102
2254
 
3103
2255
  var onHandleUnhandled = function (state) {
3104
- call$4(task, global$1, function () {
2256
+ call$5(task, global$1, function () {
3105
2257
  var promise = state.facade;
3106
2258
  if (IS_NODE) {
3107
2259
  process.emit('rejectionHandled', promise);
@@ -3135,7 +2287,7 @@ var internalResolve = function (state, value, unwrap) {
3135
2287
  microtask(function () {
3136
2288
  var wrapper = { done: false };
3137
2289
  try {
3138
- call$4(then, value,
2290
+ call$5(then, value,
3139
2291
  bind$1(internalResolve, wrapper, state),
3140
2292
  bind$1(internalReject, wrapper, state)
3141
2293
  );
@@ -3158,8 +2310,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
3158
2310
  // 25.4.3.1 Promise(executor)
3159
2311
  PromiseConstructor = function Promise(executor) {
3160
2312
  anInstance(this, PromisePrototype);
3161
- aCallable$2(executor);
3162
- call$4(Internal, this);
2313
+ aCallable$3(executor);
2314
+ call$5(Internal, this);
3163
2315
  var state = getInternalPromiseState(this);
3164
2316
  try {
3165
2317
  executor(bind$1(internalResolve, state), bind$1(internalReject, state));
@@ -3222,7 +2374,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
3222
2374
  defineBuiltIn$1(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
3223
2375
  var that = this;
3224
2376
  return new PromiseConstructor(function (resolve, reject) {
3225
- call$4(nativeThen, that, resolve, reject);
2377
+ call$5(nativeThen, that, resolve, reject);
3226
2378
  }).then(onFulfilled, onRejected);
3227
2379
  // https://github.com/zloirock/core-js/issues/640
3228
2380
  }, { unsafe: true });
@@ -3247,19 +2399,49 @@ $$5({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTR
3247
2399
  setToStringTag(PromiseConstructor, PROMISE, false);
3248
2400
  setSpecies(PROMISE);
3249
2401
 
3250
- var wellKnownSymbol$1 = wellKnownSymbol$h;
3251
- var Iterators = iterators;
2402
+ var iterators = {};
3252
2403
 
3253
- var ITERATOR$1 = wellKnownSymbol$1('iterator');
2404
+ var wellKnownSymbol$2 = wellKnownSymbol$c;
2405
+ var Iterators$1 = iterators;
2406
+
2407
+ var ITERATOR$2 = wellKnownSymbol$2('iterator');
3254
2408
  var ArrayPrototype = Array.prototype;
3255
2409
 
3256
2410
  // check on default Array iterator
3257
2411
  var isArrayIteratorMethod$1 = function (it) {
3258
- return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR$1] === it);
2412
+ return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$2] === it);
2413
+ };
2414
+
2415
+ var classof = classof$6;
2416
+ var getMethod$1 = getMethod$3;
2417
+ var isNullOrUndefined = isNullOrUndefined$4;
2418
+ var Iterators = iterators;
2419
+ var wellKnownSymbol$1 = wellKnownSymbol$c;
2420
+
2421
+ var ITERATOR$1 = wellKnownSymbol$1('iterator');
2422
+
2423
+ var getIteratorMethod$2 = function (it) {
2424
+ if (!isNullOrUndefined(it)) return getMethod$1(it, ITERATOR$1)
2425
+ || getMethod$1(it, '@@iterator')
2426
+ || Iterators[classof(it)];
2427
+ };
2428
+
2429
+ var call$4 = functionCall;
2430
+ var aCallable$2 = aCallable$9;
2431
+ var anObject$3 = anObject$c;
2432
+ var tryToString$1 = tryToString$4;
2433
+ var getIteratorMethod$1 = getIteratorMethod$2;
2434
+
2435
+ var $TypeError$1 = TypeError;
2436
+
2437
+ var getIterator$1 = function (argument, usingIterator) {
2438
+ var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
2439
+ if (aCallable$2(iteratorMethod)) return anObject$3(call$4(iteratorMethod, argument));
2440
+ throw new $TypeError$1(tryToString$1(argument) + ' is not iterable');
3259
2441
  };
3260
2442
 
3261
2443
  var call$3 = functionCall;
3262
- var anObject$2 = anObject$d;
2444
+ var anObject$2 = anObject$c;
3263
2445
  var getMethod = getMethod$3;
3264
2446
 
3265
2447
  var iteratorClose$1 = function (iterator, kind, value) {
@@ -3284,13 +2466,13 @@ var iteratorClose$1 = function (iterator, kind, value) {
3284
2466
 
3285
2467
  var bind = functionBindContext;
3286
2468
  var call$2 = functionCall;
3287
- var anObject$1 = anObject$d;
2469
+ var anObject$1 = anObject$c;
3288
2470
  var tryToString = tryToString$4;
3289
2471
  var isArrayIteratorMethod = isArrayIteratorMethod$1;
3290
2472
  var lengthOfArrayLike = lengthOfArrayLike$4;
3291
2473
  var isPrototypeOf = objectIsPrototypeOf;
3292
- var getIterator = getIterator$2;
3293
- var getIteratorMethod = getIteratorMethod$3;
2474
+ var getIterator = getIterator$1;
2475
+ var getIteratorMethod = getIteratorMethod$2;
3294
2476
  var iteratorClose = iteratorClose$1;
3295
2477
 
3296
2478
  var $TypeError = TypeError;
@@ -3351,7 +2533,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
3351
2533
  } return new Result(false);
3352
2534
  };
3353
2535
 
3354
- var wellKnownSymbol = wellKnownSymbol$h;
2536
+ var wellKnownSymbol = wellKnownSymbol$c;
3355
2537
 
3356
2538
  var ITERATOR = wellKnownSymbol('iterator');
3357
2539
  var SAFE_CLOSING = false;
@@ -3443,8 +2625,8 @@ var $$3 = _export;
3443
2625
  var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
3444
2626
  var NativePromiseConstructor = promiseNativeConstructor;
3445
2627
  var getBuiltIn$1 = getBuiltIn$7;
3446
- var isCallable = isCallable$k;
3447
- var defineBuiltIn = defineBuiltIn$8;
2628
+ var isCallable = isCallable$g;
2629
+ var defineBuiltIn = defineBuiltIn$4;
3448
2630
 
3449
2631
  var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
3450
2632
 
@@ -3505,8 +2687,8 @@ $$1({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
3505
2687
  }
3506
2688
  });
3507
2689
 
3508
- var anObject = anObject$d;
3509
- var isObject = isObject$b;
2690
+ var anObject = anObject$c;
2691
+ var isObject = isObject$9;
3510
2692
  var newPromiseCapability = newPromiseCapability$2;
3511
2693
 
3512
2694
  var promiseResolve$1 = function (C, x) {
@@ -3980,9 +3162,15 @@ function searchRecords(context) {
3980
3162
  return urlParams;
3981
3163
  }
3982
3164
  return input => context.fetchJson(`/v2/${input.module}/search?${searchRecordsUrlSearchParams(input).toString()}`, zohoRecruitApiFetchJsonInput('GET')).then(x => x != null ? x : {
3983
- data: []
3165
+ data: [],
3166
+ info: {
3167
+ more_records: false
3168
+ }
3984
3169
  });
3985
3170
  }
3171
+ function searchRecordsPageFactory(context) {
3172
+ return zohoFetchPageFactory(searchRecords(context));
3173
+ }
3986
3174
  function createNotes(context) {
3987
3175
  return input => context.fetchJson(`/v2/Notes`, zohoRecruitApiFetchJsonInput('POST', {
3988
3176
  data: input.data
@@ -3990,8 +3178,18 @@ function createNotes(context) {
3990
3178
  return zohoRecruitMultiRecordResult(util.asArray(input.data), x.data);
3991
3179
  });
3992
3180
  }
3181
+ function deleteNotes(context) {
3182
+ return input => context.fetchJson(`/v2/Notes?${fetch.makeUrlSearchParams({
3183
+ ids: input.ids
3184
+ })}`, zohoRecruitApiFetchJsonInput('DELETE')).then(x => {
3185
+ return zohoRecruitMultiRecordResult(util.asArray(input.ids), x.data);
3186
+ });
3187
+ }
3993
3188
  function getNotesForRecord(context) {
3994
- return input => context.fetchJson(`/v2/${input.module}/${input.id}/Notes?${zohoRecruitUrlSearchParamsMinusModule(input.filter).toString()}`, zohoRecruitApiFetchJsonInput('GET'));
3189
+ return input => context.fetchJson(`/v2/${input.module}/${input.id}/Notes?${zohoRecruitUrlSearchParamsMinusIdAndModule(input, input.filter).toString()}`, zohoRecruitApiFetchJsonInput('GET'));
3190
+ }
3191
+ function getNotesForRecordPageFactory(context) {
3192
+ return zohoFetchPageFactory(getNotesForRecord(context));
3995
3193
  }
3996
3194
  function createNotesForRecord(context) {
3997
3195
  const createNotesInstance = createNotes(context);
@@ -4011,13 +3209,20 @@ function createNotesForRecord(context) {
4011
3209
  };
4012
3210
  }
4013
3211
  // MARK: Util
4014
- function zohoRecruitUrlSearchParamsMinusModule(input) {
4015
- const searchParams = new URLSearchParams(input);
4016
- if (searchParams) {
4017
- searchParams.delete('module');
4018
- }
4019
- return searchParams;
3212
+ function zohoRecruitUrlSearchParamsMinusModule(...input) {
3213
+ return fetch.makeUrlSearchParams(input, {
3214
+ omitKeys: 'module'
3215
+ });
4020
3216
  }
3217
+ function zohoRecruitUrlSearchParamsMinusIdAndModule(...input) {
3218
+ return fetch.makeUrlSearchParams(input, {
3219
+ omitKeys: ['id', 'module']
3220
+ });
3221
+ }
3222
+ /**
3223
+ * @deprecated use makeUrlSearchParams instead.
3224
+ */
3225
+ const zohoRecruitUrlSearchParams = fetch.makeUrlSearchParams;
4021
3226
  function zohoRecruitApiFetchJsonInput(method, body) {
4022
3227
  const result = {
4023
3228
  method,
@@ -4488,8 +3693,10 @@ exports.accessToken = accessToken;
4488
3693
  exports.assertRecordDataArrayResultHasContent = assertRecordDataArrayResultHasContent;
4489
3694
  exports.createNotes = createNotes;
4490
3695
  exports.createNotesForRecord = createNotesForRecord;
3696
+ exports.deleteNotes = deleteNotes;
4491
3697
  exports.escapeZohoFieldValueForCriteriaString = escapeZohoFieldValueForCriteriaString;
4492
3698
  exports.getNotesForRecord = getNotesForRecord;
3699
+ exports.getNotesForRecordPageFactory = getNotesForRecordPageFactory;
4493
3700
  exports.getRecordById = getRecordById;
4494
3701
  exports.getRecords = getRecords;
4495
3702
  exports.handleZohoAccountsErrorFetch = handleZohoAccountsErrorFetch;
@@ -4509,6 +3716,7 @@ exports.parseZohoRecruitError = parseZohoRecruitError;
4509
3716
  exports.parseZohoRecruitServerErrorResponseData = parseZohoRecruitServerErrorResponseData;
4510
3717
  exports.parseZohoServerErrorResponseData = parseZohoServerErrorResponseData;
4511
3718
  exports.searchRecords = searchRecords;
3719
+ exports.searchRecordsPageFactory = searchRecordsPageFactory;
4512
3720
  exports.tryFindZohoServerErrorData = tryFindZohoServerErrorData;
4513
3721
  exports.updateRecord = updateRecord;
4514
3722
  exports.upsertRecord = upsertRecord;
@@ -4517,6 +3725,7 @@ exports.zohoAccountsApiFetchJsonInput = zohoAccountsApiFetchJsonInput;
4517
3725
  exports.zohoAccountsConfigApiUrl = zohoAccountsConfigApiUrl;
4518
3726
  exports.zohoAccountsFactory = zohoAccountsFactory;
4519
3727
  exports.zohoAccountsZohoAccessTokenFactory = zohoAccountsZohoAccessTokenFactory;
3728
+ exports.zohoFetchPageFactory = zohoFetchPageFactory;
4520
3729
  exports.zohoRecruitApiFetchJsonInput = zohoRecruitApiFetchJsonInput;
4521
3730
  exports.zohoRecruitConfigApiUrl = zohoRecruitConfigApiUrl;
4522
3731
  exports.zohoRecruitFactory = zohoRecruitFactory;
@@ -4525,5 +3734,7 @@ exports.zohoRecruitRecordCrudError = zohoRecruitRecordCrudError;
4525
3734
  exports.zohoRecruitSearchRecordsCriteriaEntryToCriteriaString = zohoRecruitSearchRecordsCriteriaEntryToCriteriaString;
4526
3735
  exports.zohoRecruitSearchRecordsCriteriaString = zohoRecruitSearchRecordsCriteriaString;
4527
3736
  exports.zohoRecruitSearchRecordsCriteriaStringForTree = zohoRecruitSearchRecordsCriteriaStringForTree;
3737
+ exports.zohoRecruitUrlSearchParams = zohoRecruitUrlSearchParams;
3738
+ exports.zohoRecruitUrlSearchParamsMinusIdAndModule = zohoRecruitUrlSearchParamsMinusIdAndModule;
4528
3739
  exports.zohoRecruitUrlSearchParamsMinusModule = zohoRecruitUrlSearchParamsMinusModule;
4529
3740
  exports.zohoServerErrorData = zohoServerErrorData;