@qikdev/sdk 1.0.6 → 1.0.7

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/dist/main.js CHANGED
@@ -55,19 +55,19 @@ function Qr() {
55
55
  return !0;
56
56
  }), Ze;
57
57
  }
58
- var Qe, Cr;
58
+ var Qe, Or;
59
59
  function Yr() {
60
- if (Cr) return Qe;
61
- Cr = 1;
60
+ if (Or) return Qe;
61
+ Or = 1;
62
62
  var e = typeof Symbol < "u" && Symbol, r = Qr();
63
63
  return Qe = function() {
64
64
  return typeof e != "function" || typeof Symbol != "function" || typeof e("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : r();
65
65
  }, Qe;
66
66
  }
67
- var Ye, Or;
67
+ var Ye, Cr;
68
68
  function Xr() {
69
- if (Or) return Ye;
70
- Or = 1;
69
+ if (Cr) return Ye;
70
+ Cr = 1;
71
71
  var e = "Function.prototype.bind called on incompatible ", r = Object.prototype.toString, a = Math.max, t = "[object Function]", n = function(p, m) {
72
72
  for (var w = [], b = 0; b < p.length; b += 1)
73
73
  w[b] = p[b];
@@ -99,8 +99,8 @@ function Xr() {
99
99
  p,
100
100
  n(w, arguments)
101
101
  );
102
- }, o = a(0, m.length - w.length), f = [], h = 0; h < o; h++)
103
- f[h] = "$" + h;
102
+ }, o = a(0, m.length - w.length), f = [], g = 0; g < o; g++)
103
+ f[g] = "$" + g;
104
104
  if (b = Function("binder", "return function (" + y(f, ",") + "){ return binder.apply(this,arguments); }")(u), m.prototype) {
105
105
  var c = function() {
106
106
  };
@@ -219,22 +219,22 @@ function hr() {
219
219
  "%WeakMap%": typeof WeakMap > "u" ? e : WeakMap,
220
220
  "%WeakRef%": typeof WeakRef > "u" ? e : WeakRef,
221
221
  "%WeakSet%": typeof WeakSet > "u" ? e : WeakSet
222
- }, o = function $(N) {
222
+ }, o = function $(L) {
223
223
  var F;
224
- if (N === "%AsyncFunction%")
224
+ if (L === "%AsyncFunction%")
225
225
  F = n("async function () {}");
226
- else if (N === "%GeneratorFunction%")
226
+ else if (L === "%GeneratorFunction%")
227
227
  F = n("function* () {}");
228
- else if (N === "%AsyncGeneratorFunction%")
228
+ else if (L === "%AsyncGeneratorFunction%")
229
229
  F = n("async function* () {}");
230
- else if (N === "%AsyncGenerator%") {
231
- var I = $("%AsyncGeneratorFunction%");
232
- I && (F = I.prototype);
233
- } else if (N === "%AsyncIteratorPrototype%") {
234
- var k = $("%AsyncGenerator%");
235
- k && (F = m(k.prototype));
230
+ else if (L === "%AsyncGenerator%") {
231
+ var k = $("%AsyncGeneratorFunction%");
232
+ k && (F = k.prototype);
233
+ } else if (L === "%AsyncIteratorPrototype%") {
234
+ var I = $("%AsyncGenerator%");
235
+ I && (F = m(I.prototype));
236
236
  }
237
- return u[N] = F, F;
237
+ return u[L] = F, F;
238
238
  }, f = {
239
239
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
240
240
  "%ArrayPrototype%": ["Array", "prototype"],
@@ -287,52 +287,52 @@ function hr() {
287
287
  "%URIErrorPrototype%": ["URIError", "prototype"],
288
288
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
289
289
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
290
- }, h = yr(), c = et(), s = h.call(Function.call, Array.prototype.concat), A = h.call(Function.apply, Array.prototype.splice), S = h.call(Function.call, String.prototype.replace), P = h.call(Function.call, String.prototype.slice), x = h.call(Function.call, RegExp.prototype.exec), T = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, L = /\\(\\)?/g, M = function(N) {
291
- var F = P(N, 0, 1), I = P(N, -1);
292
- if (F === "%" && I !== "%")
290
+ }, g = yr(), c = et(), s = g.call(Function.call, Array.prototype.concat), A = g.call(Function.apply, Array.prototype.splice), S = g.call(Function.call, String.prototype.replace), P = g.call(Function.call, String.prototype.slice), x = g.call(Function.call, RegExp.prototype.exec), T = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, N = /\\(\\)?/g, M = function(L) {
291
+ var F = P(L, 0, 1), k = P(L, -1);
292
+ if (F === "%" && k !== "%")
293
293
  throw new r("invalid intrinsic syntax, expected closing `%`");
294
- if (I === "%" && F !== "%")
294
+ if (k === "%" && F !== "%")
295
295
  throw new r("invalid intrinsic syntax, expected opening `%`");
296
- var k = [];
297
- return S(N, T, function(U, z, _, Z) {
298
- k[k.length] = _ ? S(Z, L, "$1") : z || U;
299
- }), k;
300
- }, V = function(N, F) {
301
- var I = N, k;
302
- if (c(f, I) && (k = f[I], I = "%" + k[0] + "%"), c(u, I)) {
303
- var U = u[I];
304
- if (U === w && (U = o(I)), typeof U > "u" && !F)
305
- throw new t("intrinsic " + N + " exists, but is not available. Please file an issue!");
296
+ var I = [];
297
+ return S(L, T, function(U, z, _, Z) {
298
+ I[I.length] = _ ? S(Z, N, "$1") : z || U;
299
+ }), I;
300
+ }, V = function(L, F) {
301
+ var k = L, I;
302
+ if (c(f, k) && (I = f[k], k = "%" + I[0] + "%"), c(u, k)) {
303
+ var U = u[k];
304
+ if (U === w && (U = o(k)), typeof U > "u" && !F)
305
+ throw new t("intrinsic " + L + " exists, but is not available. Please file an issue!");
306
306
  return {
307
- alias: k,
308
- name: I,
307
+ alias: I,
308
+ name: k,
309
309
  value: U
310
310
  };
311
311
  }
312
- throw new r("intrinsic " + N + " does not exist!");
312
+ throw new r("intrinsic " + L + " does not exist!");
313
313
  };
314
- return rr = function(N, F) {
315
- if (typeof N != "string" || N.length === 0)
314
+ return rr = function(L, F) {
315
+ if (typeof L != "string" || L.length === 0)
316
316
  throw new t("intrinsic name must be a non-empty string");
317
317
  if (arguments.length > 1 && typeof F != "boolean")
318
318
  throw new t('"allowMissing" argument must be a boolean');
319
- if (x(/^%?[^%]*%?$/, N) === null)
319
+ if (x(/^%?[^%]*%?$/, L) === null)
320
320
  throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
321
- var I = M(N), k = I.length > 0 ? I[0] : "", U = V("%" + k + "%", F), z = U.name, _ = U.value, Z = !1, Q = U.alias;
322
- Q && (k = Q[0], A(I, s([0, 1], Q)));
323
- for (var ne = 1, X = !0; ne < I.length; ne += 1) {
324
- var W = I[ne], ie = P(W, 0, 1), re = P(W, -1);
321
+ var k = M(L), I = k.length > 0 ? k[0] : "", U = V("%" + I + "%", F), z = U.name, _ = U.value, Z = !1, Q = U.alias;
322
+ Q && (I = Q[0], A(k, s([0, 1], Q)));
323
+ for (var ne = 1, X = !0; ne < k.length; ne += 1) {
324
+ var W = k[ne], ie = P(W, 0, 1), re = P(W, -1);
325
325
  if ((ie === '"' || ie === "'" || ie === "`" || re === '"' || re === "'" || re === "`") && ie !== re)
326
326
  throw new r("property names with quotes must have matching quotes");
327
- if ((W === "constructor" || !X) && (Z = !0), k += "." + W, z = "%" + k + "%", c(u, z))
327
+ if ((W === "constructor" || !X) && (Z = !0), I += "." + W, z = "%" + I + "%", c(u, z))
328
328
  _ = u[z];
329
329
  else if (_ != null) {
330
330
  if (!(W in _)) {
331
331
  if (!F)
332
- throw new t("base intrinsic for " + N + " exists, but the property is not available.");
332
+ throw new t("base intrinsic for " + L + " exists, but the property is not available.");
333
333
  return;
334
334
  }
335
- if (i && ne + 1 >= I.length) {
335
+ if (i && ne + 1 >= k.length) {
336
336
  var te = i(_, W);
337
337
  X = !!te, X && "get" in te && !("originalValue" in te.get) ? _ = te.get : _ = _[W];
338
338
  } else
@@ -343,9 +343,9 @@ function hr() {
343
343
  return _;
344
344
  }, rr;
345
345
  }
346
- var tr = { exports: {} }, Ir;
346
+ var tr = { exports: {} }, kr;
347
347
  function rt() {
348
- return Ir || (Ir = 1, (function(e) {
348
+ return kr || (kr = 1, (function(e) {
349
349
  var r = yr(), a = hr(), t = a("%Function.prototype.apply%"), n = a("%Function.prototype.call%"), i = a("%Reflect.apply%", !0) || r.call(n, t), y = a("%Object.getOwnPropertyDescriptor%", !0), l = a("%Object.defineProperty%", !0), p = a("%Math.max%");
350
350
  if (l)
351
351
  try {
@@ -371,10 +371,10 @@ function rt() {
371
371
  l ? l(e.exports, "apply", { value: m }) : e.exports.apply = m;
372
372
  })(tr)), tr.exports;
373
373
  }
374
- var ar, kr;
374
+ var ar, Ir;
375
375
  function tt() {
376
- if (kr) return ar;
377
- kr = 1;
376
+ if (Ir) return ar;
377
+ Ir = 1;
378
378
  var e = hr(), r = rt(), a = r(e("String.prototype.indexOf"));
379
379
  return ar = function(n, i) {
380
380
  var y = e(n, !!i);
@@ -389,37 +389,37 @@ var nr, _r;
389
389
  function ot() {
390
390
  if (_r) return nr;
391
391
  _r = 1;
392
- var e = typeof Map == "function" && Map.prototype, r = Object.getOwnPropertyDescriptor && e ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, a = e && r && typeof r.get == "function" ? r.get : null, t = e && Map.prototype.forEach, n = typeof Set == "function" && Set.prototype, i = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, y = n && i && typeof i.get == "function" ? i.get : null, l = n && Set.prototype.forEach, p = typeof WeakMap == "function" && WeakMap.prototype, m = p ? WeakMap.prototype.has : null, w = typeof WeakSet == "function" && WeakSet.prototype, b = w ? WeakSet.prototype.has : null, u = typeof WeakRef == "function" && WeakRef.prototype, o = u ? WeakRef.prototype.deref : null, f = Boolean.prototype.valueOf, h = Object.prototype.toString, c = Function.prototype.toString, s = String.prototype.match, A = String.prototype.slice, S = String.prototype.replace, P = String.prototype.toUpperCase, x = String.prototype.toLowerCase, T = RegExp.prototype.test, L = Array.prototype.concat, M = Array.prototype.join, V = Array.prototype.slice, $ = Math.floor, N = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, F = Object.getOwnPropertySymbols, I = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, k = typeof Symbol == "function" && typeof Symbol.iterator == "object", U = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === k || !0) ? Symbol.toStringTag : null, z = Object.prototype.propertyIsEnumerable, _ = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(g) {
393
- return g.__proto__;
392
+ var e = typeof Map == "function" && Map.prototype, r = Object.getOwnPropertyDescriptor && e ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, a = e && r && typeof r.get == "function" ? r.get : null, t = e && Map.prototype.forEach, n = typeof Set == "function" && Set.prototype, i = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, y = n && i && typeof i.get == "function" ? i.get : null, l = n && Set.prototype.forEach, p = typeof WeakMap == "function" && WeakMap.prototype, m = p ? WeakMap.prototype.has : null, w = typeof WeakSet == "function" && WeakSet.prototype, b = w ? WeakSet.prototype.has : null, u = typeof WeakRef == "function" && WeakRef.prototype, o = u ? WeakRef.prototype.deref : null, f = Boolean.prototype.valueOf, g = Object.prototype.toString, c = Function.prototype.toString, s = String.prototype.match, A = String.prototype.slice, S = String.prototype.replace, P = String.prototype.toUpperCase, x = String.prototype.toLowerCase, T = RegExp.prototype.test, N = Array.prototype.concat, M = Array.prototype.join, V = Array.prototype.slice, $ = Math.floor, L = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, F = Object.getOwnPropertySymbols, k = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, I = typeof Symbol == "function" && typeof Symbol.iterator == "object", U = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === I || !0) ? Symbol.toStringTag : null, z = Object.prototype.propertyIsEnumerable, _ = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(h) {
393
+ return h.__proto__;
394
394
  } : null);
395
- function Z(g, v) {
396
- if (g === 1 / 0 || g === -1 / 0 || g !== g || g && g > -1e3 && g < 1e3 || T.call(/e/, v))
395
+ function Z(h, v) {
396
+ if (h === 1 / 0 || h === -1 / 0 || h !== h || h && h > -1e3 && h < 1e3 || T.call(/e/, v))
397
397
  return v;
398
398
  var D = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
399
- if (typeof g == "number") {
400
- var d = g < 0 ? -$(-g) : $(g);
401
- if (d !== g) {
402
- var E = String(d), C = A.call(v, E.length + 1);
403
- return S.call(E, D, "$&_") + "." + S.call(S.call(C, /([0-9]{3})/g, "$&_"), /_$/, "");
399
+ if (typeof h == "number") {
400
+ var d = h < 0 ? -$(-h) : $(h);
401
+ if (d !== h) {
402
+ var E = String(d), O = A.call(v, E.length + 1);
403
+ return S.call(E, D, "$&_") + "." + S.call(S.call(O, /([0-9]{3})/g, "$&_"), /_$/, "");
404
404
  }
405
405
  }
406
406
  return S.call(v, D, "$&_");
407
407
  }
408
408
  var Q = it, ne = Q.custom, X = se(ne) ? ne : null;
409
- nr = function g(v, D, d, E) {
410
- var C = D || {};
411
- if (J(C, "quoteStyle") && C.quoteStyle !== "single" && C.quoteStyle !== "double")
409
+ nr = function h(v, D, d, E) {
410
+ var O = D || {};
411
+ if (J(O, "quoteStyle") && O.quoteStyle !== "single" && O.quoteStyle !== "double")
412
412
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
413
- if (J(C, "maxStringLength") && (typeof C.maxStringLength == "number" ? C.maxStringLength < 0 && C.maxStringLength !== 1 / 0 : C.maxStringLength !== null))
413
+ if (J(O, "maxStringLength") && (typeof O.maxStringLength == "number" ? O.maxStringLength < 0 && O.maxStringLength !== 1 / 0 : O.maxStringLength !== null))
414
414
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
415
- var G = J(C, "customInspect") ? C.customInspect : !0;
415
+ var G = J(O, "customInspect") ? O.customInspect : !0;
416
416
  if (typeof G != "boolean" && G !== "symbol")
417
417
  throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
418
- if (J(C, "indent") && C.indent !== null && C.indent !== " " && !(parseInt(C.indent, 10) === C.indent && C.indent > 0))
418
+ if (J(O, "indent") && O.indent !== null && O.indent !== " " && !(parseInt(O.indent, 10) === O.indent && O.indent > 0))
419
419
  throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
420
- if (J(C, "numericSeparator") && typeof C.numericSeparator != "boolean")
420
+ if (J(O, "numericSeparator") && typeof O.numericSeparator != "boolean")
421
421
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
422
- var ae = C.numericSeparator;
422
+ var ae = O.numericSeparator;
423
423
  if (typeof v > "u")
424
424
  return "undefined";
425
425
  if (v === null)
@@ -427,7 +427,7 @@ function ot() {
427
427
  if (typeof v == "boolean")
428
428
  return v ? "true" : "false";
429
429
  if (typeof v == "string")
430
- return Ce(v, C);
430
+ return Oe(v, O);
431
431
  if (typeof v == "number") {
432
432
  if (v === 0)
433
433
  return 1 / 0 / v > 0 ? "0" : "-0";
@@ -435,13 +435,13 @@ function ot() {
435
435
  return ae ? Z(v, K) : K;
436
436
  }
437
437
  if (typeof v == "bigint") {
438
- var O = String(v) + "n";
439
- return ae ? Z(v, O) : O;
438
+ var C = String(v) + "n";
439
+ return ae ? Z(v, C) : C;
440
440
  }
441
- var B = typeof C.depth > "u" ? 5 : C.depth;
441
+ var B = typeof O.depth > "u" ? 5 : O.depth;
442
442
  if (typeof d > "u" && (d = 0), d >= B && B > 0 && typeof v == "object")
443
443
  return re(v) ? "[Array]" : "[Object]";
444
- var j = Ne(C, d);
444
+ var j = Le(O, d);
445
445
  if (typeof E > "u")
446
446
  E = [];
447
447
  else if (xe(E, v) >= 0)
@@ -449,34 +449,34 @@ function ot() {
449
449
  function H(Me, Be, Jr) {
450
450
  if (Be && (E = V.call(E), E.push(Be)), Jr) {
451
451
  var xr = {
452
- depth: C.depth
452
+ depth: O.depth
453
453
  };
454
- return J(C, "quoteStyle") && (xr.quoteStyle = C.quoteStyle), g(Me, xr, d + 1, E);
454
+ return J(O, "quoteStyle") && (xr.quoteStyle = O.quoteStyle), h(Me, xr, d + 1, E);
455
455
  }
456
- return g(Me, C, d + 1, E);
456
+ return h(Me, O, d + 1, E);
457
457
  }
458
458
  if (typeof v == "function" && !ce(v)) {
459
459
  var Y = Re(v), Ee = ge(v, H);
460
460
  return "[Function" + (Y ? ": " + Y : " (anonymous)") + "]" + (Ee.length > 0 ? " { " + M.call(Ee, ", ") + " }" : "");
461
461
  }
462
462
  if (se(v)) {
463
- var Ar = k ? S.call(String(v), /^(Symbol\(.*\))_[^)]*$/, "$1") : I.call(v);
464
- return typeof v == "object" && !k ? le(Ar) : Ar;
463
+ var Ar = I ? S.call(String(v), /^(Symbol\(.*\))_[^)]*$/, "$1") : k.call(v);
464
+ return typeof v == "object" && !I ? le(Ar) : Ar;
465
465
  }
466
466
  if (_e(v)) {
467
467
  for (var Fe = "<" + x.call(String(v.nodeName)), ze = v.attributes || [], $e = 0; $e < ze.length; $e++)
468
- Fe += " " + ze[$e].name + "=" + W(ie(ze[$e].value), "double", C);
468
+ Fe += " " + ze[$e].name + "=" + W(ie(ze[$e].value), "double", O);
469
469
  return Fe += ">", v.childNodes && v.childNodes.length && (Fe += "..."), Fe += "</" + x.call(String(v.nodeName)) + ">", Fe;
470
470
  }
471
471
  if (re(v)) {
472
472
  if (v.length === 0)
473
473
  return "[]";
474
474
  var We = ge(v, H);
475
- return j && !Oe(We) ? "[" + he(We, j) + "]" : "[ " + M.call(We, ", ") + " ]";
475
+ return j && !Ce(We) ? "[" + he(We, j) + "]" : "[ " + M.call(We, ", ") + " ]";
476
476
  }
477
477
  if (ue(v)) {
478
478
  var Ke = ge(v, H);
479
- return !("cause" in Error.prototype) && "cause" in v && !z.call(v, "cause") ? "{ [" + String(v) + "] " + M.call(L.call("[cause]: " + H(v.cause), Ke), ", ") + " }" : Ke.length === 0 ? "[" + String(v) + "]" : "{ [" + String(v) + "] " + M.call(Ke, ", ") + " }";
479
+ return !("cause" in Error.prototype) && "cause" in v && !z.call(v, "cause") ? "{ [" + String(v) + "] " + M.call(N.call("[cause]: " + H(v.cause), Ke), ", ") + " }" : Ke.length === 0 ? "[" + String(v) + "]" : "{ [" + String(v) + "] " + M.call(Ke, ", ") + " }";
480
480
  }
481
481
  if (typeof v == "object" && G) {
482
482
  if (X && typeof v[X] == "function" && Q)
@@ -490,7 +490,7 @@ function ot() {
490
490
  br.push(H(Be, v, !0) + " => " + H(Me, v));
491
491
  }), we("Map", a.call(v), br, j);
492
492
  }
493
- if (Ie(v)) {
493
+ if (ke(v)) {
494
494
  var Sr = [];
495
495
  return l.call(v, function(Me) {
496
496
  Sr.push(H(Me, v));
@@ -498,179 +498,179 @@ function ot() {
498
498
  }
499
499
  if (me(v))
500
500
  return fe("WeakMap");
501
- if (ke(v))
501
+ if (Ie(v))
502
502
  return fe("WeakSet");
503
503
  if (Pe(v))
504
504
  return fe("WeakRef");
505
505
  if (de(v))
506
506
  return le(H(Number(v)));
507
507
  if (ye(v))
508
- return le(H(N.call(v)));
508
+ return le(H(L.call(v)));
509
509
  if (pe(v))
510
510
  return le(f.call(v));
511
511
  if (oe(v))
512
512
  return le(H(String(v)));
513
513
  if (!te(v) && !ce(v)) {
514
- var He = ge(v, H), wr = _ ? _(v) === Object.prototype : v instanceof Object || v.constructor === Object, Je = v instanceof Object ? "" : "null prototype", Er = !wr && U && Object(v) === v && U in v ? A.call(ee(v), 8, -1) : Je ? "Object" : "", Hr = wr || typeof v.constructor != "function" ? "" : v.constructor.name ? v.constructor.name + " " : "", qe = Hr + (Er || Je ? "[" + M.call(L.call([], Er || [], Je || []), ": ") + "] " : "");
514
+ var He = ge(v, H), wr = _ ? _(v) === Object.prototype : v instanceof Object || v.constructor === Object, Je = v instanceof Object ? "" : "null prototype", Er = !wr && U && Object(v) === v && U in v ? A.call(ee(v), 8, -1) : Je ? "Object" : "", Hr = wr || typeof v.constructor != "function" ? "" : v.constructor.name ? v.constructor.name + " " : "", qe = Hr + (Er || Je ? "[" + M.call(N.call([], Er || [], Je || []), ": ") + "] " : "");
515
515
  return He.length === 0 ? qe + "{}" : j ? qe + "{" + he(He, j) + "}" : qe + "{ " + M.call(He, ", ") + " }";
516
516
  }
517
517
  return String(v);
518
518
  };
519
- function W(g, v, D) {
519
+ function W(h, v, D) {
520
520
  var d = (D.quoteStyle || v) === "double" ? '"' : "'";
521
- return d + g + d;
521
+ return d + h + d;
522
522
  }
523
- function ie(g) {
524
- return S.call(String(g), /"/g, "&quot;");
523
+ function ie(h) {
524
+ return S.call(String(h), /"/g, "&quot;");
525
525
  }
526
- function re(g) {
527
- return ee(g) === "[object Array]" && (!U || !(typeof g == "object" && U in g));
526
+ function re(h) {
527
+ return ee(h) === "[object Array]" && (!U || !(typeof h == "object" && U in h));
528
528
  }
529
- function te(g) {
530
- return ee(g) === "[object Date]" && (!U || !(typeof g == "object" && U in g));
529
+ function te(h) {
530
+ return ee(h) === "[object Date]" && (!U || !(typeof h == "object" && U in h));
531
531
  }
532
- function ce(g) {
533
- return ee(g) === "[object RegExp]" && (!U || !(typeof g == "object" && U in g));
532
+ function ce(h) {
533
+ return ee(h) === "[object RegExp]" && (!U || !(typeof h == "object" && U in h));
534
534
  }
535
- function ue(g) {
536
- return ee(g) === "[object Error]" && (!U || !(typeof g == "object" && U in g));
535
+ function ue(h) {
536
+ return ee(h) === "[object Error]" && (!U || !(typeof h == "object" && U in h));
537
537
  }
538
- function oe(g) {
539
- return ee(g) === "[object String]" && (!U || !(typeof g == "object" && U in g));
538
+ function oe(h) {
539
+ return ee(h) === "[object String]" && (!U || !(typeof h == "object" && U in h));
540
540
  }
541
- function de(g) {
542
- return ee(g) === "[object Number]" && (!U || !(typeof g == "object" && U in g));
541
+ function de(h) {
542
+ return ee(h) === "[object Number]" && (!U || !(typeof h == "object" && U in h));
543
543
  }
544
- function pe(g) {
545
- return ee(g) === "[object Boolean]" && (!U || !(typeof g == "object" && U in g));
544
+ function pe(h) {
545
+ return ee(h) === "[object Boolean]" && (!U || !(typeof h == "object" && U in h));
546
546
  }
547
- function se(g) {
548
- if (k)
549
- return g && typeof g == "object" && g instanceof Symbol;
550
- if (typeof g == "symbol")
547
+ function se(h) {
548
+ if (I)
549
+ return h && typeof h == "object" && h instanceof Symbol;
550
+ if (typeof h == "symbol")
551
551
  return !0;
552
- if (!g || typeof g != "object" || !I)
552
+ if (!h || typeof h != "object" || !k)
553
553
  return !1;
554
554
  try {
555
- return I.call(g), !0;
555
+ return k.call(h), !0;
556
556
  } catch {
557
557
  }
558
558
  return !1;
559
559
  }
560
- function ye(g) {
561
- if (!g || typeof g != "object" || !N)
560
+ function ye(h) {
561
+ if (!h || typeof h != "object" || !L)
562
562
  return !1;
563
563
  try {
564
- return N.call(g), !0;
564
+ return L.call(h), !0;
565
565
  } catch {
566
566
  }
567
567
  return !1;
568
568
  }
569
- var Se = Object.prototype.hasOwnProperty || function(g) {
570
- return g in this;
569
+ var Se = Object.prototype.hasOwnProperty || function(h) {
570
+ return h in this;
571
571
  };
572
- function J(g, v) {
573
- return Se.call(g, v);
572
+ function J(h, v) {
573
+ return Se.call(h, v);
574
574
  }
575
- function ee(g) {
576
- return h.call(g);
575
+ function ee(h) {
576
+ return g.call(h);
577
577
  }
578
- function Re(g) {
579
- if (g.name)
580
- return g.name;
581
- var v = s.call(c.call(g), /^function\s*([\w$]+)/);
578
+ function Re(h) {
579
+ if (h.name)
580
+ return h.name;
581
+ var v = s.call(c.call(h), /^function\s*([\w$]+)/);
582
582
  return v ? v[1] : null;
583
583
  }
584
- function xe(g, v) {
585
- if (g.indexOf)
586
- return g.indexOf(v);
587
- for (var D = 0, d = g.length; D < d; D++)
588
- if (g[D] === v)
584
+ function xe(h, v) {
585
+ if (h.indexOf)
586
+ return h.indexOf(v);
587
+ for (var D = 0, d = h.length; D < d; D++)
588
+ if (h[D] === v)
589
589
  return D;
590
590
  return -1;
591
591
  }
592
- function Te(g) {
593
- if (!a || !g || typeof g != "object")
592
+ function Te(h) {
593
+ if (!a || !h || typeof h != "object")
594
594
  return !1;
595
595
  try {
596
- a.call(g);
596
+ a.call(h);
597
597
  try {
598
- y.call(g);
598
+ y.call(h);
599
599
  } catch {
600
600
  return !0;
601
601
  }
602
- return g instanceof Map;
602
+ return h instanceof Map;
603
603
  } catch {
604
604
  }
605
605
  return !1;
606
606
  }
607
- function me(g) {
608
- if (!m || !g || typeof g != "object")
607
+ function me(h) {
608
+ if (!m || !h || typeof h != "object")
609
609
  return !1;
610
610
  try {
611
- m.call(g, m);
611
+ m.call(h, m);
612
612
  try {
613
- b.call(g, b);
613
+ b.call(h, b);
614
614
  } catch {
615
615
  return !0;
616
616
  }
617
- return g instanceof WeakMap;
617
+ return h instanceof WeakMap;
618
618
  } catch {
619
619
  }
620
620
  return !1;
621
621
  }
622
- function Pe(g) {
623
- if (!o || !g || typeof g != "object")
622
+ function Pe(h) {
623
+ if (!o || !h || typeof h != "object")
624
624
  return !1;
625
625
  try {
626
- return o.call(g), !0;
626
+ return o.call(h), !0;
627
627
  } catch {
628
628
  }
629
629
  return !1;
630
630
  }
631
- function Ie(g) {
632
- if (!y || !g || typeof g != "object")
631
+ function ke(h) {
632
+ if (!y || !h || typeof h != "object")
633
633
  return !1;
634
634
  try {
635
- y.call(g);
635
+ y.call(h);
636
636
  try {
637
- a.call(g);
637
+ a.call(h);
638
638
  } catch {
639
639
  return !0;
640
640
  }
641
- return g instanceof Set;
641
+ return h instanceof Set;
642
642
  } catch {
643
643
  }
644
644
  return !1;
645
645
  }
646
- function ke(g) {
647
- if (!b || !g || typeof g != "object")
646
+ function Ie(h) {
647
+ if (!b || !h || typeof h != "object")
648
648
  return !1;
649
649
  try {
650
- b.call(g, b);
650
+ b.call(h, b);
651
651
  try {
652
- m.call(g, m);
652
+ m.call(h, m);
653
653
  } catch {
654
654
  return !0;
655
655
  }
656
- return g instanceof WeakSet;
656
+ return h instanceof WeakSet;
657
657
  } catch {
658
658
  }
659
659
  return !1;
660
660
  }
661
- function _e(g) {
662
- return !g || typeof g != "object" ? !1 : typeof HTMLElement < "u" && g instanceof HTMLElement ? !0 : typeof g.nodeName == "string" && typeof g.getAttribute == "function";
661
+ function _e(h) {
662
+ return !h || typeof h != "object" ? !1 : typeof HTMLElement < "u" && h instanceof HTMLElement ? !0 : typeof h.nodeName == "string" && typeof h.getAttribute == "function";
663
663
  }
664
- function Ce(g, v) {
665
- if (g.length > v.maxStringLength) {
666
- var D = g.length - v.maxStringLength, d = "... " + D + " more character" + (D > 1 ? "s" : "");
667
- return Ce(A.call(g, 0, v.maxStringLength), v) + d;
664
+ function Oe(h, v) {
665
+ if (h.length > v.maxStringLength) {
666
+ var D = h.length - v.maxStringLength, d = "... " + D + " more character" + (D > 1 ? "s" : "");
667
+ return Oe(A.call(h, 0, v.maxStringLength), v) + d;
668
668
  }
669
- var E = S.call(S.call(g, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, Le);
669
+ var E = S.call(S.call(h, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, Ne);
670
670
  return W(E, "single", v);
671
671
  }
672
- function Le(g) {
673
- var v = g.charCodeAt(0), D = {
672
+ function Ne(h) {
673
+ var v = h.charCodeAt(0), D = {
674
674
  8: "b",
675
675
  9: "t",
676
676
  10: "n",
@@ -679,29 +679,29 @@ function ot() {
679
679
  }[v];
680
680
  return D ? "\\" + D : "\\x" + (v < 16 ? "0" : "") + P.call(v.toString(16));
681
681
  }
682
- function le(g) {
683
- return "Object(" + g + ")";
682
+ function le(h) {
683
+ return "Object(" + h + ")";
684
684
  }
685
- function fe(g) {
686
- return g + " { ? }";
685
+ function fe(h) {
686
+ return h + " { ? }";
687
687
  }
688
- function we(g, v, D, d) {
688
+ function we(h, v, D, d) {
689
689
  var E = d ? he(D, d) : M.call(D, ", ");
690
- return g + " (" + v + ") {" + E + "}";
690
+ return h + " (" + v + ") {" + E + "}";
691
691
  }
692
- function Oe(g) {
693
- for (var v = 0; v < g.length; v++)
694
- if (xe(g[v], `
692
+ function Ce(h) {
693
+ for (var v = 0; v < h.length; v++)
694
+ if (xe(h[v], `
695
695
  `) >= 0)
696
696
  return !1;
697
697
  return !0;
698
698
  }
699
- function Ne(g, v) {
699
+ function Le(h, v) {
700
700
  var D;
701
- if (g.indent === " ")
701
+ if (h.indent === " ")
702
702
  D = " ";
703
- else if (typeof g.indent == "number" && g.indent > 0)
704
- D = M.call(Array(g.indent + 1), " ");
703
+ else if (typeof h.indent == "number" && h.indent > 0)
704
+ D = M.call(Array(h.indent + 1), " ");
705
705
  else
706
706
  return null;
707
707
  return {
@@ -709,40 +709,40 @@ function ot() {
709
709
  prev: M.call(Array(v + 1), D)
710
710
  };
711
711
  }
712
- function he(g, v) {
713
- if (g.length === 0)
712
+ function he(h, v) {
713
+ if (h.length === 0)
714
714
  return "";
715
715
  var D = `
716
716
  ` + v.prev + v.base;
717
- return D + M.call(g, "," + D) + `
717
+ return D + M.call(h, "," + D) + `
718
718
  ` + v.prev;
719
719
  }
720
- function ge(g, v) {
721
- var D = re(g), d = [];
720
+ function ge(h, v) {
721
+ var D = re(h), d = [];
722
722
  if (D) {
723
- d.length = g.length;
724
- for (var E = 0; E < g.length; E++)
725
- d[E] = J(g, E) ? v(g[E], g) : "";
723
+ d.length = h.length;
724
+ for (var E = 0; E < h.length; E++)
725
+ d[E] = J(h, E) ? v(h[E], h) : "";
726
726
  }
727
- var C = typeof F == "function" ? F(g) : [], G;
728
- if (k) {
727
+ var O = typeof F == "function" ? F(h) : [], G;
728
+ if (I) {
729
729
  G = {};
730
- for (var ae = 0; ae < C.length; ae++)
731
- G["$" + C[ae]] = C[ae];
730
+ for (var ae = 0; ae < O.length; ae++)
731
+ G["$" + O[ae]] = O[ae];
732
732
  }
733
- for (var K in g)
734
- J(g, K) && (D && String(Number(K)) === K && K < g.length || k && G["$" + K] instanceof Symbol || (T.call(/[^\w$]/, K) ? d.push(v(K, g) + ": " + v(g[K], g)) : d.push(K + ": " + v(g[K], g))));
733
+ for (var K in h)
734
+ J(h, K) && (D && String(Number(K)) === K && K < h.length || I && G["$" + K] instanceof Symbol || (T.call(/[^\w$]/, K) ? d.push(v(K, h) + ": " + v(h[K], h)) : d.push(K + ": " + v(h[K], h))));
735
735
  if (typeof F == "function")
736
- for (var O = 0; O < C.length; O++)
737
- z.call(g, C[O]) && d.push("[" + v(C[O]) + "]: " + v(g[C[O]], g));
736
+ for (var C = 0; C < O.length; C++)
737
+ z.call(h, O[C]) && d.push("[" + v(O[C]) + "]: " + v(h[O[C]], h));
738
738
  return d;
739
739
  }
740
740
  return nr;
741
741
  }
742
- var ir, Lr;
742
+ var ir, Nr;
743
743
  function st() {
744
- if (Lr) return ir;
745
- Lr = 1;
744
+ if (Nr) return ir;
745
+ Nr = 1;
746
746
  var e = hr(), r = tt(), a = /* @__PURE__ */ ot(), t = e("%TypeError%"), n = e("%WeakMap%", !0), i = e("%Map%", !0), y = r("WeakMap.prototype.get", !0), l = r("WeakMap.prototype.set", !0), p = r("WeakMap.prototype.has", !0), m = r("Map.prototype.get", !0), w = r("Map.prototype.set", !0), b = r("Map.prototype.has", !0), u = function(c, s) {
747
747
  for (var A = c, S; (S = A.next) !== null; A = S)
748
748
  if (S.key === s)
@@ -758,7 +758,7 @@ function st() {
758
758
  next: c.next,
759
759
  value: A
760
760
  };
761
- }, h = function(c, s) {
761
+ }, g = function(c, s) {
762
762
  return !!u(c, s);
763
763
  };
764
764
  return ir = function() {
@@ -785,7 +785,7 @@ function st() {
785
785
  if (A)
786
786
  return b(A, x);
787
787
  } else if (S)
788
- return h(S, x);
788
+ return g(S, x);
789
789
  return !1;
790
790
  },
791
791
  set: function(x, T) {
@@ -795,10 +795,10 @@ function st() {
795
795
  return P;
796
796
  }, ir;
797
797
  }
798
- var or, Nr;
798
+ var or, Lr;
799
799
  function gr() {
800
- if (Nr) return or;
801
- Nr = 1;
800
+ if (Lr) return or;
801
+ Lr = 1;
802
802
  var e = String.prototype.replace, r = /%20/g, a = {
803
803
  RFC1738: "RFC1738",
804
804
  RFC3986: "RFC3986"
@@ -822,9 +822,9 @@ function Wr() {
822
822
  if (Fr) return sr;
823
823
  Fr = 1;
824
824
  var e = gr(), r = Object.prototype.hasOwnProperty, a = Array.isArray, t = (function() {
825
- for (var h = [], c = 0; c < 256; ++c)
826
- h.push("%" + ((c < 16 ? "0" : "") + c.toString(16)).toUpperCase());
827
- return h;
825
+ for (var g = [], c = 0; c < 256; ++c)
826
+ g.push("%" + ((c < 16 ? "0" : "") + c.toString(16)).toUpperCase());
827
+ return g;
828
828
  })(), n = function(c) {
829
829
  for (; c.length > 1; ) {
830
830
  var s = c.pop(), A = s.obj[s.prop];
@@ -838,7 +838,7 @@ function Wr() {
838
838
  for (var A = s && s.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, S = 0; S < c.length; ++S)
839
839
  typeof c[S] < "u" && (A[S] = c[S]);
840
840
  return A;
841
- }, y = function h(c, s, A) {
841
+ }, y = function g(c, s, A) {
842
842
  if (!s)
843
843
  return c;
844
844
  if (typeof s != "object") {
@@ -856,19 +856,19 @@ function Wr() {
856
856
  return a(c) && !a(s) && (S = i(c, A)), a(c) && a(s) ? (s.forEach(function(P, x) {
857
857
  if (r.call(c, x)) {
858
858
  var T = c[x];
859
- T && typeof T == "object" && P && typeof P == "object" ? c[x] = h(T, P, A) : c.push(P);
859
+ T && typeof T == "object" && P && typeof P == "object" ? c[x] = g(T, P, A) : c.push(P);
860
860
  } else
861
861
  c[x] = P;
862
862
  }), c) : Object.keys(s).reduce(function(P, x) {
863
863
  var T = s[x];
864
- return r.call(P, x) ? P[x] = h(P[x], T, A) : P[x] = T, P;
864
+ return r.call(P, x) ? P[x] = g(P[x], T, A) : P[x] = T, P;
865
865
  }, S);
866
866
  }, l = function(c, s) {
867
867
  return Object.keys(s).reduce(function(A, S) {
868
868
  return A[S] = s[S], A;
869
869
  }, c);
870
- }, p = function(h, c, s) {
871
- var A = h.replace(/\+/g, " ");
870
+ }, p = function(g, c, s) {
871
+ var A = g.replace(/\+/g, " ");
872
872
  if (s === "iso-8859-1")
873
873
  return A.replace(/%[0-9a-f]{2}/gi, unescape);
874
874
  try {
@@ -884,10 +884,10 @@ function Wr() {
884
884
  return escape(x).replace(/%u[0-9a-f]{4}/gi, function(V) {
885
885
  return "%26%23" + parseInt(V.slice(2), 16) + "%3B";
886
886
  });
887
- for (var T = "", L = 0; L < x.length; ++L) {
888
- var M = x.charCodeAt(L);
887
+ for (var T = "", N = 0; N < x.length; ++N) {
888
+ var M = x.charCodeAt(N);
889
889
  if (M === 45 || M === 46 || M === 95 || M === 126 || M >= 48 && M <= 57 || M >= 65 && M <= 90 || M >= 97 && M <= 122 || P === e.RFC1738 && (M === 40 || M === 41)) {
890
- T += x.charAt(L);
890
+ T += x.charAt(N);
891
891
  continue;
892
892
  }
893
893
  if (M < 128) {
@@ -902,13 +902,13 @@ function Wr() {
902
902
  T = T + (t[224 | M >> 12] + t[128 | M >> 6 & 63] + t[128 | M & 63]);
903
903
  continue;
904
904
  }
905
- L += 1, M = 65536 + ((M & 1023) << 10 | x.charCodeAt(L) & 1023), T += t[240 | M >> 18] + t[128 | M >> 12 & 63] + t[128 | M >> 6 & 63] + t[128 | M & 63];
905
+ N += 1, M = 65536 + ((M & 1023) << 10 | x.charCodeAt(N) & 1023), T += t[240 | M >> 18] + t[128 | M >> 12 & 63] + t[128 | M >> 6 & 63] + t[128 | M & 63];
906
906
  }
907
907
  return T;
908
908
  }, w = function(c) {
909
909
  for (var s = [{ obj: { o: c }, prop: "o" }], A = [], S = 0; S < s.length; ++S)
910
- for (var P = s[S], x = P.obj[P.prop], T = Object.keys(x), L = 0; L < T.length; ++L) {
911
- var M = T[L], V = x[M];
910
+ for (var P = s[S], x = P.obj[P.prop], T = Object.keys(x), N = 0; N < T.length; ++N) {
911
+ var M = T[N], V = x[M];
912
912
  typeof V == "object" && V !== null && A.indexOf(V) === -1 && (s.push({ obj: x, prop: M }), A.push(V));
913
913
  }
914
914
  return n(s), c;
@@ -976,7 +976,7 @@ function ut() {
976
976
  strictNullHandling: !1
977
977
  }, u = function(s) {
978
978
  return typeof s == "string" || typeof s == "number" || typeof s == "boolean" || typeof s == "symbol" || typeof s == "bigint";
979
- }, o = {}, f = function c(s, A, S, P, x, T, L, M, V, $, N, F, I, k, U, z) {
979
+ }, o = {}, f = function c(s, A, S, P, x, T, N, M, V, $, L, F, k, I, U, z) {
980
980
  for (var _ = s, Z = z, Q = 0, ne = !1; (Z = Z.get(o)) !== void 0 && !ne; ) {
981
981
  var X = Z.get(s);
982
982
  if (Q += 1, typeof X < "u") {
@@ -986,24 +986,24 @@ function ut() {
986
986
  }
987
987
  typeof Z.get(o) > "u" && (Q = 0);
988
988
  }
989
- if (typeof M == "function" ? _ = M(A, _) : _ instanceof Date ? _ = N(_) : S === "comma" && i(_) && (_ = r.maybeMap(_, function(ee) {
990
- return ee instanceof Date ? N(ee) : ee;
989
+ if (typeof M == "function" ? _ = M(A, _) : _ instanceof Date ? _ = L(_) : S === "comma" && i(_) && (_ = r.maybeMap(_, function(ee) {
990
+ return ee instanceof Date ? L(ee) : ee;
991
991
  })), _ === null) {
992
992
  if (x)
993
- return L && !k ? L(A, b.encoder, U, "key", F) : A;
993
+ return N && !I ? N(A, b.encoder, U, "key", F) : A;
994
994
  _ = "";
995
995
  }
996
996
  if (u(_) || r.isBuffer(_)) {
997
- if (L) {
998
- var W = k ? A : L(A, b.encoder, U, "key", F);
999
- if (S === "comma" && k) {
997
+ if (N) {
998
+ var W = I ? A : N(A, b.encoder, U, "key", F);
999
+ if (S === "comma" && I) {
1000
1000
  for (var ie = y.call(String(_), ","), re = "", te = 0; te < ie.length; ++te)
1001
- re += (te === 0 ? "" : ",") + I(L(ie[te], b.encoder, U, "value", F));
1002
- return [I(W) + (P && i(_) && ie.length === 1 ? "[]" : "") + "=" + re];
1001
+ re += (te === 0 ? "" : ",") + k(N(ie[te], b.encoder, U, "value", F));
1002
+ return [k(W) + (P && i(_) && ie.length === 1 ? "[]" : "") + "=" + re];
1003
1003
  }
1004
- return [I(W) + "=" + I(L(_, b.encoder, U, "value", F))];
1004
+ return [k(W) + "=" + k(N(_, b.encoder, U, "value", F))];
1005
1005
  }
1006
- return [I(A) + "=" + I(String(_))];
1006
+ return [k(A) + "=" + k(String(_))];
1007
1007
  }
1008
1008
  var ce = [];
1009
1009
  if (typeof _ > "u")
@@ -1030,21 +1030,21 @@ function ut() {
1030
1030
  P,
1031
1031
  x,
1032
1032
  T,
1033
- L,
1033
+ N,
1034
1034
  M,
1035
1035
  V,
1036
1036
  $,
1037
- N,
1037
+ L,
1038
1038
  F,
1039
- I,
1040
1039
  k,
1040
+ I,
1041
1041
  U,
1042
1042
  J
1043
1043
  ));
1044
1044
  }
1045
1045
  }
1046
1046
  return ce;
1047
- }, h = function(s) {
1047
+ }, g = function(s) {
1048
1048
  if (!s)
1049
1049
  return b;
1050
1050
  if (s.encoder !== null && typeof s.encoder < "u" && typeof s.encoder != "function")
@@ -1078,20 +1078,20 @@ function ut() {
1078
1078
  };
1079
1079
  };
1080
1080
  return ur = function(c, s) {
1081
- var A = c, S = h(s), P, x;
1081
+ var A = c, S = g(s), P, x;
1082
1082
  typeof S.filter == "function" ? (x = S.filter, A = x("", A)) : i(S.filter) && (x = S.filter, P = x);
1083
1083
  var T = [];
1084
1084
  if (typeof A != "object" || A === null)
1085
1085
  return "";
1086
- var L;
1087
- s && s.arrayFormat in n ? L = s.arrayFormat : s && "indices" in s ? L = s.indices ? "indices" : "repeat" : L = "indices";
1088
- var M = n[L];
1086
+ var N;
1087
+ s && s.arrayFormat in n ? N = s.arrayFormat : s && "indices" in s ? N = s.indices ? "indices" : "repeat" : N = "indices";
1088
+ var M = n[N];
1089
1089
  if (s && "commaRoundTrip" in s && typeof s.commaRoundTrip != "boolean")
1090
1090
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1091
1091
  var V = M === "comma" && s && s.commaRoundTrip;
1092
1092
  P || (P = Object.keys(A)), S.sort && P.sort(S.sort);
1093
- for (var $ = e(), N = 0; N < P.length; ++N) {
1094
- var F = P[N];
1093
+ for (var $ = e(), L = 0; L < P.length; ++L) {
1094
+ var F = P[L];
1095
1095
  S.skipNulls && A[F] === null || p(T, f(
1096
1096
  A[F],
1097
1097
  F,
@@ -1111,8 +1111,8 @@ function ut() {
1111
1111
  $
1112
1112
  ));
1113
1113
  }
1114
- var I = T.join(S.delimiter), k = S.addQueryPrefix === !0 ? "?" : "";
1115
- return S.charsetSentinel && (S.charset === "iso-8859-1" ? k += "utf8=%26%2310003%3B&" : k += "utf8=%E2%9C%93&"), I.length > 0 ? k + I : "";
1114
+ var k = T.join(S.delimiter), I = S.addQueryPrefix === !0 ? "?" : "";
1115
+ return S.charsetSentinel && (S.charset === "iso-8859-1" ? I += "utf8=%26%2310003%3B&" : I += "utf8=%E2%9C%93&"), k.length > 0 ? I + k : "";
1116
1116
  }, ur;
1117
1117
  }
1118
1118
  var cr, $r;
@@ -1143,23 +1143,23 @@ function ct() {
1143
1143
  }, i = function(u, o) {
1144
1144
  return u && typeof u == "string" && o.comma && u.indexOf(",") > -1 ? u.split(",") : u;
1145
1145
  }, y = "utf8=%26%2310003%3B", l = "utf8=%E2%9C%93", p = function(o, f) {
1146
- var h = {}, c = f.ignoreQueryPrefix ? o.replace(/^\?/, "") : o, s = f.parameterLimit === 1 / 0 ? void 0 : f.parameterLimit, A = c.split(f.delimiter, s), S = -1, P, x = f.charset;
1146
+ var g = {}, c = f.ignoreQueryPrefix ? o.replace(/^\?/, "") : o, s = f.parameterLimit === 1 / 0 ? void 0 : f.parameterLimit, A = c.split(f.delimiter, s), S = -1, P, x = f.charset;
1147
1147
  if (f.charsetSentinel)
1148
1148
  for (P = 0; P < A.length; ++P)
1149
1149
  A[P].indexOf("utf8=") === 0 && (A[P] === l ? x = "utf-8" : A[P] === y && (x = "iso-8859-1"), S = P, P = A.length);
1150
1150
  for (P = 0; P < A.length; ++P)
1151
1151
  if (P !== S) {
1152
- var T = A[P], L = T.indexOf("]="), M = L === -1 ? T.indexOf("=") : L + 1, V, $;
1152
+ var T = A[P], N = T.indexOf("]="), M = N === -1 ? T.indexOf("=") : N + 1, V, $;
1153
1153
  M === -1 ? (V = f.decoder(T, t.decoder, x, "key"), $ = f.strictNullHandling ? null : "") : (V = f.decoder(T.slice(0, M), t.decoder, x, "key"), $ = e.maybeMap(
1154
1154
  i(T.slice(M + 1), f),
1155
- function(N) {
1156
- return f.decoder(N, t.decoder, x, "value");
1155
+ function(L) {
1156
+ return f.decoder(L, t.decoder, x, "value");
1157
1157
  }
1158
- )), $ && f.interpretNumericEntities && x === "iso-8859-1" && ($ = n($)), T.indexOf("[]=") > -1 && ($ = a($) ? [$] : $), r.call(h, V) ? h[V] = e.combine(h[V], $) : h[V] = $;
1158
+ )), $ && f.interpretNumericEntities && x === "iso-8859-1" && ($ = n($)), T.indexOf("[]=") > -1 && ($ = a($) ? [$] : $), r.call(g, V) ? g[V] = e.combine(g[V], $) : g[V] = $;
1159
1159
  }
1160
- return h;
1161
- }, m = function(u, o, f, h) {
1162
- for (var c = h ? o : i(o, f), s = u.length - 1; s >= 0; --s) {
1160
+ return g;
1161
+ }, m = function(u, o, f, g) {
1162
+ for (var c = g ? o : i(o, f), s = u.length - 1; s >= 0; --s) {
1163
1163
  var A, S = u[s];
1164
1164
  if (S === "[]" && f.parseArrays)
1165
1165
  A = [].concat(c);
@@ -1171,20 +1171,20 @@ function ct() {
1171
1171
  c = A;
1172
1172
  }
1173
1173
  return c;
1174
- }, w = function(o, f, h, c) {
1174
+ }, w = function(o, f, g, c) {
1175
1175
  if (o) {
1176
- var s = h.allowDots ? o.replace(/\.([^.[]+)/g, "[$1]") : o, A = /(\[[^[\]]*])/, S = /(\[[^[\]]*])/g, P = h.depth > 0 && A.exec(s), x = P ? s.slice(0, P.index) : s, T = [];
1176
+ var s = g.allowDots ? o.replace(/\.([^.[]+)/g, "[$1]") : o, A = /(\[[^[\]]*])/, S = /(\[[^[\]]*])/g, P = g.depth > 0 && A.exec(s), x = P ? s.slice(0, P.index) : s, T = [];
1177
1177
  if (x) {
1178
- if (!h.plainObjects && r.call(Object.prototype, x) && !h.allowPrototypes)
1178
+ if (!g.plainObjects && r.call(Object.prototype, x) && !g.allowPrototypes)
1179
1179
  return;
1180
1180
  T.push(x);
1181
1181
  }
1182
- for (var L = 0; h.depth > 0 && (P = S.exec(s)) !== null && L < h.depth; ) {
1183
- if (L += 1, !h.plainObjects && r.call(Object.prototype, P[1].slice(1, -1)) && !h.allowPrototypes)
1182
+ for (var N = 0; g.depth > 0 && (P = S.exec(s)) !== null && N < g.depth; ) {
1183
+ if (N += 1, !g.plainObjects && r.call(Object.prototype, P[1].slice(1, -1)) && !g.allowPrototypes)
1184
1184
  return;
1185
1185
  T.push(P[1]);
1186
1186
  }
1187
- return P && T.push("[" + s.slice(P.index) + "]"), m(T, f, h, c);
1187
+ return P && T.push("[" + s.slice(P.index) + "]"), m(T, f, g, c);
1188
1188
  }
1189
1189
  }, b = function(o) {
1190
1190
  if (!o)
@@ -1218,8 +1218,8 @@ function ct() {
1218
1218
  var f = b(o);
1219
1219
  if (u === "" || u === null || typeof u > "u")
1220
1220
  return f.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
1221
- for (var h = typeof u == "string" ? p(u, f) : u, c = f.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, s = Object.keys(h), A = 0; A < s.length; ++A) {
1222
- var S = s[A], P = w(S, h[S], f, typeof u == "string");
1221
+ for (var g = typeof u == "string" ? p(u, f) : u, c = f.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, s = Object.keys(g), A = 0; A < s.length; ++A) {
1222
+ var S = s[A], P = w(S, g[S], f, typeof u == "string");
1223
1223
  c = e.merge(c, P, f);
1224
1224
  }
1225
1225
  return f.allowSparse === !0 ? c : e.compact(c);
@@ -1237,7 +1237,7 @@ function lt() {
1237
1237
  }, lr;
1238
1238
  }
1239
1239
  var ft = lt();
1240
- const dt = /* @__PURE__ */ mr(ft), vr = "1.0.6", pt = Ae.CancelToken;
1240
+ const dt = /* @__PURE__ */ mr(ft), vr = "1.0.7", pt = Ae.CancelToken;
1241
1241
  var mt = function(e) {
1242
1242
  var r;
1243
1243
  typeof window < "u" && (r = e.cache.get("api"));
@@ -1314,9 +1314,9 @@ var mt = function(e) {
1314
1314
  switch (o) {
1315
1315
  case 204:
1316
1316
  if (w < 5)
1317
- return w++, new Promise(function(f, h) {
1317
+ return w++, new Promise(function(f, g) {
1318
1318
  setTimeout(function() {
1319
- return m.request(u).then(f, h);
1319
+ return m.request(u).then(f, g);
1320
1320
  }, 800);
1321
1321
  });
1322
1322
  console.log("Failed after 5 retries"), w = 0;
@@ -1337,11 +1337,11 @@ var mt = function(e) {
1337
1337
  var f = parseInt(
1338
1338
  b?.response?.headers?.["retry-after"],
1339
1339
  10
1340
- ), h = Number.isFinite(f) ? f * 1e3 : 800 * o.__retry429, c = Math.floor(Math.random() * 500);
1340
+ ), g = Number.isFinite(f) ? f * 1e3 : 800 * o.__retry429, c = Math.floor(Math.random() * 500);
1341
1341
  return new Promise(function(s, A) {
1342
1342
  setTimeout(function() {
1343
1343
  return m.request(o).then(s, A);
1344
- }, h + c);
1344
+ }, g + c);
1345
1345
  });
1346
1346
  }
1347
1347
  break;
@@ -1367,7 +1367,7 @@ function yt() {
1367
1367
  if (Gr) return fr;
1368
1368
  Gr = 1;
1369
1369
  var e = "Expected a function", r = "__lodash_hash_undefined__", a = "[object Function]", t = "[object GeneratorFunction]", n = "[object Symbol]", i = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, y = /^\w*$/, l = /^\./, p = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, m = /[\\^$.*+?()[\]{}|]/g, w = /\\(\\)?/g, b = /^\[object .+?Constructor\]$/, u = typeof be == "object" && be && be.Object === Object && be, o = typeof self == "object" && self && self.Object === Object && self, f = u || o || Function("return this")();
1370
- function h(d, E) {
1370
+ function g(d, E) {
1371
1371
  return d?.[E];
1372
1372
  }
1373
1373
  function c(d) {
@@ -1382,42 +1382,42 @@ function yt() {
1382
1382
  var s = Array.prototype, A = Function.prototype, S = Object.prototype, P = f["__core-js_shared__"], x = (function() {
1383
1383
  var d = /[^.]+$/.exec(P && P.keys && P.keys.IE_PROTO || "");
1384
1384
  return d ? "Symbol(src)_1." + d : "";
1385
- })(), T = A.toString, L = S.hasOwnProperty, M = S.toString, V = RegExp(
1386
- "^" + T.call(L).replace(m, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1387
- ), $ = f.Symbol, N = s.splice, F = Pe(f, "Map"), I = Pe(Object, "create"), k = $ ? $.prototype : void 0, U = k ? k.toString : void 0;
1385
+ })(), T = A.toString, N = S.hasOwnProperty, M = S.toString, V = RegExp(
1386
+ "^" + T.call(N).replace(m, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1387
+ ), $ = f.Symbol, L = s.splice, F = Pe(f, "Map"), k = Pe(Object, "create"), I = $ ? $.prototype : void 0, U = I ? I.toString : void 0;
1388
1388
  function z(d) {
1389
- var E = -1, C = d ? d.length : 0;
1390
- for (this.clear(); ++E < C; ) {
1389
+ var E = -1, O = d ? d.length : 0;
1390
+ for (this.clear(); ++E < O; ) {
1391
1391
  var G = d[E];
1392
1392
  this.set(G[0], G[1]);
1393
1393
  }
1394
1394
  }
1395
1395
  function _() {
1396
- this.__data__ = I ? I(null) : {};
1396
+ this.__data__ = k ? k(null) : {};
1397
1397
  }
1398
1398
  function Z(d) {
1399
1399
  return this.has(d) && delete this.__data__[d];
1400
1400
  }
1401
1401
  function Q(d) {
1402
1402
  var E = this.__data__;
1403
- if (I) {
1404
- var C = E[d];
1405
- return C === r ? void 0 : C;
1403
+ if (k) {
1404
+ var O = E[d];
1405
+ return O === r ? void 0 : O;
1406
1406
  }
1407
- return L.call(E, d) ? E[d] : void 0;
1407
+ return N.call(E, d) ? E[d] : void 0;
1408
1408
  }
1409
1409
  function ne(d) {
1410
1410
  var E = this.__data__;
1411
- return I ? E[d] !== void 0 : L.call(E, d);
1411
+ return k ? E[d] !== void 0 : N.call(E, d);
1412
1412
  }
1413
1413
  function X(d, E) {
1414
- var C = this.__data__;
1415
- return C[d] = I && E === void 0 ? r : E, this;
1414
+ var O = this.__data__;
1415
+ return O[d] = k && E === void 0 ? r : E, this;
1416
1416
  }
1417
1417
  z.prototype.clear = _, z.prototype.delete = Z, z.prototype.get = Q, z.prototype.has = ne, z.prototype.set = X;
1418
1418
  function W(d) {
1419
- var E = -1, C = d ? d.length : 0;
1420
- for (this.clear(); ++E < C; ) {
1419
+ var E = -1, O = d ? d.length : 0;
1420
+ for (this.clear(); ++E < O; ) {
1421
1421
  var G = d[E];
1422
1422
  this.set(G[0], G[1]);
1423
1423
  }
@@ -1426,27 +1426,27 @@ function yt() {
1426
1426
  this.__data__ = [];
1427
1427
  }
1428
1428
  function re(d) {
1429
- var E = this.__data__, C = J(E, d);
1430
- if (C < 0)
1429
+ var E = this.__data__, O = J(E, d);
1430
+ if (O < 0)
1431
1431
  return !1;
1432
1432
  var G = E.length - 1;
1433
- return C == G ? E.pop() : N.call(E, C, 1), !0;
1433
+ return O == G ? E.pop() : L.call(E, O, 1), !0;
1434
1434
  }
1435
1435
  function te(d) {
1436
- var E = this.__data__, C = J(E, d);
1437
- return C < 0 ? void 0 : E[C][1];
1436
+ var E = this.__data__, O = J(E, d);
1437
+ return O < 0 ? void 0 : E[O][1];
1438
1438
  }
1439
1439
  function ce(d) {
1440
1440
  return J(this.__data__, d) > -1;
1441
1441
  }
1442
1442
  function ue(d, E) {
1443
- var C = this.__data__, G = J(C, d);
1444
- return G < 0 ? C.push([d, E]) : C[G][1] = E, this;
1443
+ var O = this.__data__, G = J(O, d);
1444
+ return G < 0 ? O.push([d, E]) : O[G][1] = E, this;
1445
1445
  }
1446
1446
  W.prototype.clear = ie, W.prototype.delete = re, W.prototype.get = te, W.prototype.has = ce, W.prototype.set = ue;
1447
1447
  function oe(d) {
1448
- var E = -1, C = d ? d.length : 0;
1449
- for (this.clear(); ++E < C; ) {
1448
+ var E = -1, O = d ? d.length : 0;
1449
+ for (this.clear(); ++E < O; ) {
1450
1450
  var G = d[E];
1451
1451
  this.set(G[0], G[1]);
1452
1452
  }
@@ -1472,64 +1472,64 @@ function yt() {
1472
1472
  }
1473
1473
  oe.prototype.clear = de, oe.prototype.delete = pe, oe.prototype.get = se, oe.prototype.has = ye, oe.prototype.set = Se;
1474
1474
  function J(d, E) {
1475
- for (var C = d.length; C--; )
1476
- if (we(d[C][0], E))
1477
- return C;
1475
+ for (var O = d.length; O--; )
1476
+ if (we(d[O][0], E))
1477
+ return O;
1478
1478
  return -1;
1479
1479
  }
1480
1480
  function ee(d, E) {
1481
- E = Ie(E, d) ? [E] : Te(E);
1482
- for (var C = 0, G = E.length; d != null && C < G; )
1483
- d = d[Le(E[C++])];
1484
- return C && C == G ? d : void 0;
1481
+ E = ke(E, d) ? [E] : Te(E);
1482
+ for (var O = 0, G = E.length; d != null && O < G; )
1483
+ d = d[Ne(E[O++])];
1484
+ return O && O == G ? d : void 0;
1485
1485
  }
1486
1486
  function Re(d) {
1487
1487
  if (!he(d) || _e(d))
1488
1488
  return !1;
1489
- var E = Ne(d) || c(d) ? V : b;
1489
+ var E = Le(d) || c(d) ? V : b;
1490
1490
  return E.test(le(d));
1491
1491
  }
1492
1492
  function xe(d) {
1493
1493
  if (typeof d == "string")
1494
1494
  return d;
1495
- if (g(d))
1495
+ if (h(d))
1496
1496
  return U ? U.call(d) : "";
1497
1497
  var E = d + "";
1498
1498
  return E == "0" && 1 / d == -1 / 0 ? "-0" : E;
1499
1499
  }
1500
1500
  function Te(d) {
1501
- return Oe(d) ? d : Ce(d);
1501
+ return Ce(d) ? d : Oe(d);
1502
1502
  }
1503
1503
  function me(d, E) {
1504
- var C = d.__data__;
1505
- return ke(E) ? C[typeof E == "string" ? "string" : "hash"] : C.map;
1504
+ var O = d.__data__;
1505
+ return Ie(E) ? O[typeof E == "string" ? "string" : "hash"] : O.map;
1506
1506
  }
1507
1507
  function Pe(d, E) {
1508
- var C = h(d, E);
1509
- return Re(C) ? C : void 0;
1508
+ var O = g(d, E);
1509
+ return Re(O) ? O : void 0;
1510
1510
  }
1511
- function Ie(d, E) {
1512
- if (Oe(d))
1511
+ function ke(d, E) {
1512
+ if (Ce(d))
1513
1513
  return !1;
1514
- var C = typeof d;
1515
- return C == "number" || C == "symbol" || C == "boolean" || d == null || g(d) ? !0 : y.test(d) || !i.test(d) || E != null && d in Object(E);
1514
+ var O = typeof d;
1515
+ return O == "number" || O == "symbol" || O == "boolean" || d == null || h(d) ? !0 : y.test(d) || !i.test(d) || E != null && d in Object(E);
1516
1516
  }
1517
- function ke(d) {
1517
+ function Ie(d) {
1518
1518
  var E = typeof d;
1519
1519
  return E == "string" || E == "number" || E == "symbol" || E == "boolean" ? d !== "__proto__" : d === null;
1520
1520
  }
1521
1521
  function _e(d) {
1522
1522
  return !!x && x in d;
1523
1523
  }
1524
- var Ce = fe(function(d) {
1524
+ var Oe = fe(function(d) {
1525
1525
  d = v(d);
1526
1526
  var E = [];
1527
- return l.test(d) && E.push(""), d.replace(p, function(C, G, ae, K) {
1528
- E.push(ae ? K.replace(w, "$1") : G || C);
1527
+ return l.test(d) && E.push(""), d.replace(p, function(O, G, ae, K) {
1528
+ E.push(ae ? K.replace(w, "$1") : G || O);
1529
1529
  }), E;
1530
1530
  });
1531
- function Le(d) {
1532
- if (typeof d == "string" || g(d))
1531
+ function Ne(d) {
1532
+ if (typeof d == "string" || h(d))
1533
1533
  return d;
1534
1534
  var E = d + "";
1535
1535
  return E == "0" && 1 / d == -1 / 0 ? "-0" : E;
@@ -1550,21 +1550,21 @@ function yt() {
1550
1550
  function fe(d, E) {
1551
1551
  if (typeof d != "function" || E && typeof E != "function")
1552
1552
  throw new TypeError(e);
1553
- var C = function() {
1554
- var G = arguments, ae = E ? E.apply(this, G) : G[0], K = C.cache;
1553
+ var O = function() {
1554
+ var G = arguments, ae = E ? E.apply(this, G) : G[0], K = O.cache;
1555
1555
  if (K.has(ae))
1556
1556
  return K.get(ae);
1557
- var O = d.apply(this, G);
1558
- return C.cache = K.set(ae, O), O;
1557
+ var C = d.apply(this, G);
1558
+ return O.cache = K.set(ae, C), C;
1559
1559
  };
1560
- return C.cache = new (fe.Cache || oe)(), C;
1560
+ return O.cache = new (fe.Cache || oe)(), O;
1561
1561
  }
1562
1562
  fe.Cache = oe;
1563
1563
  function we(d, E) {
1564
1564
  return d === E || d !== d && E !== E;
1565
1565
  }
1566
- var Oe = Array.isArray;
1567
- function Ne(d) {
1566
+ var Ce = Array.isArray;
1567
+ function Le(d) {
1568
1568
  var E = he(d) ? M.call(d) : "";
1569
1569
  return E == a || E == t;
1570
1570
  }
@@ -1575,15 +1575,15 @@ function yt() {
1575
1575
  function ge(d) {
1576
1576
  return !!d && typeof d == "object";
1577
1577
  }
1578
- function g(d) {
1578
+ function h(d) {
1579
1579
  return typeof d == "symbol" || ge(d) && M.call(d) == n;
1580
1580
  }
1581
1581
  function v(d) {
1582
1582
  return d == null ? "" : xe(d);
1583
1583
  }
1584
- function D(d, E, C) {
1584
+ function D(d, E, O) {
1585
1585
  var G = d == null ? void 0 : ee(d, E);
1586
- return G === void 0 ? C : G;
1586
+ return G === void 0 ? O : G;
1587
1587
  }
1588
1588
  return fr = D, fr;
1589
1589
  }
@@ -1593,14 +1593,14 @@ var dr, Dr;
1593
1593
  function gt() {
1594
1594
  if (Dr) return dr;
1595
1595
  Dr = 1;
1596
- var e = "[object Symbol]", r = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, a = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, t = "\\ud800-\\udfff", n = "\\u0300-\\u036f\\ufe20-\\ufe23", i = "\\u20d0-\\u20f0", y = "\\u2700-\\u27bf", l = "a-z\\xdf-\\xf6\\xf8-\\xff", p = "\\xac\\xb1\\xd7\\xf7", m = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", w = "\\u2000-\\u206f", b = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", u = "A-Z\\xc0-\\xd6\\xd8-\\xde", o = "\\ufe0e\\ufe0f", f = p + m + w + b, h = "['’]", c = "[" + t + "]", s = "[" + f + "]", A = "[" + n + i + "]", S = "\\d+", P = "[" + y + "]", x = "[" + l + "]", T = "[^" + t + f + S + y + l + u + "]", L = "\\ud83c[\\udffb-\\udfff]", M = "(?:" + A + "|" + L + ")", V = "[^" + t + "]", $ = "(?:\\ud83c[\\udde6-\\uddff]){2}", N = "[\\ud800-\\udbff][\\udc00-\\udfff]", F = "[" + u + "]", I = "\\u200d", k = "(?:" + x + "|" + T + ")", U = "(?:" + F + "|" + T + ")", z = "(?:" + h + "(?:d|ll|m|re|s|t|ve))?", _ = "(?:" + h + "(?:D|LL|M|RE|S|T|VE))?", Z = M + "?", Q = "[" + o + "]?", ne = "(?:" + I + "(?:" + [V, $, N].join("|") + ")" + Q + Z + ")*", X = Q + Z + ne, W = "(?:" + [P, $, N].join("|") + ")" + X, ie = "(?:" + [V + A + "?", A, $, N, c].join("|") + ")", re = RegExp(h, "g"), te = RegExp(A, "g"), ce = RegExp(L + "(?=" + L + ")|" + ie + X, "g"), ue = RegExp([
1596
+ var e = "[object Symbol]", r = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, a = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, t = "\\ud800-\\udfff", n = "\\u0300-\\u036f\\ufe20-\\ufe23", i = "\\u20d0-\\u20f0", y = "\\u2700-\\u27bf", l = "a-z\\xdf-\\xf6\\xf8-\\xff", p = "\\xac\\xb1\\xd7\\xf7", m = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", w = "\\u2000-\\u206f", b = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", u = "A-Z\\xc0-\\xd6\\xd8-\\xde", o = "\\ufe0e\\ufe0f", f = p + m + w + b, g = "['’]", c = "[" + t + "]", s = "[" + f + "]", A = "[" + n + i + "]", S = "\\d+", P = "[" + y + "]", x = "[" + l + "]", T = "[^" + t + f + S + y + l + u + "]", N = "\\ud83c[\\udffb-\\udfff]", M = "(?:" + A + "|" + N + ")", V = "[^" + t + "]", $ = "(?:\\ud83c[\\udde6-\\uddff]){2}", L = "[\\ud800-\\udbff][\\udc00-\\udfff]", F = "[" + u + "]", k = "\\u200d", I = "(?:" + x + "|" + T + ")", U = "(?:" + F + "|" + T + ")", z = "(?:" + g + "(?:d|ll|m|re|s|t|ve))?", _ = "(?:" + g + "(?:D|LL|M|RE|S|T|VE))?", Z = M + "?", Q = "[" + o + "]?", ne = "(?:" + k + "(?:" + [V, $, L].join("|") + ")" + Q + Z + ")*", X = Q + Z + ne, W = "(?:" + [P, $, L].join("|") + ")" + X, ie = "(?:" + [V + A + "?", A, $, L, c].join("|") + ")", re = RegExp(g, "g"), te = RegExp(A, "g"), ce = RegExp(N + "(?=" + N + ")|" + ie + X, "g"), ue = RegExp([
1597
1597
  F + "?" + x + "+" + z + "(?=" + [s, F, "$"].join("|") + ")",
1598
- U + "+" + _ + "(?=" + [s, F + k, "$"].join("|") + ")",
1599
- F + "?" + k + "+" + z,
1598
+ U + "+" + _ + "(?=" + [s, F + I, "$"].join("|") + ")",
1599
+ F + "?" + I + "+" + z,
1600
1600
  F + "+" + _,
1601
1601
  S,
1602
1602
  W
1603
- ].join("|"), "g"), oe = RegExp("[" + I + t + n + i + o + "]"), de = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, pe = {
1603
+ ].join("|"), "g"), oe = RegExp("[" + k + t + n + i + o + "]"), de = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, pe = {
1604
1604
  // Latin-1 Supplement block.
1605
1605
  À: "A",
1606
1606
  Á: "A",
@@ -1794,91 +1794,91 @@ function gt() {
1794
1794
  ʼn: "'n",
1795
1795
  ſ: "ss"
1796
1796
  }, se = typeof be == "object" && be && be.Object === Object && be, ye = typeof self == "object" && self && self.Object === Object && self, Se = se || ye || Function("return this")();
1797
- function J(O, B, j, H) {
1798
- for (var Y = -1, Ee = O ? O.length : 0; ++Y < Ee; )
1799
- j = B(j, O[Y], Y, O);
1797
+ function J(C, B, j, H) {
1798
+ for (var Y = -1, Ee = C ? C.length : 0; ++Y < Ee; )
1799
+ j = B(j, C[Y], Y, C);
1800
1800
  return j;
1801
1801
  }
1802
- function ee(O) {
1803
- return O.split("");
1802
+ function ee(C) {
1803
+ return C.split("");
1804
1804
  }
1805
- function Re(O) {
1806
- return O.match(r) || [];
1805
+ function Re(C) {
1806
+ return C.match(r) || [];
1807
1807
  }
1808
- function xe(O) {
1808
+ function xe(C) {
1809
1809
  return function(B) {
1810
- return O?.[B];
1810
+ return C?.[B];
1811
1811
  };
1812
1812
  }
1813
1813
  var Te = xe(pe);
1814
- function me(O) {
1815
- return oe.test(O);
1814
+ function me(C) {
1815
+ return oe.test(C);
1816
1816
  }
1817
- function Pe(O) {
1818
- return de.test(O);
1817
+ function Pe(C) {
1818
+ return de.test(C);
1819
1819
  }
1820
- function Ie(O) {
1821
- return me(O) ? ke(O) : ee(O);
1820
+ function ke(C) {
1821
+ return me(C) ? Ie(C) : ee(C);
1822
1822
  }
1823
- function ke(O) {
1824
- return O.match(ce) || [];
1823
+ function Ie(C) {
1824
+ return C.match(ce) || [];
1825
1825
  }
1826
- function _e(O) {
1827
- return O.match(ue) || [];
1826
+ function _e(C) {
1827
+ return C.match(ue) || [];
1828
1828
  }
1829
- var Ce = Object.prototype, Le = Ce.toString, le = Se.Symbol, fe = le ? le.prototype : void 0, we = fe ? fe.toString : void 0;
1830
- function Oe(O, B, j) {
1831
- var H = -1, Y = O.length;
1829
+ var Oe = Object.prototype, Ne = Oe.toString, le = Se.Symbol, fe = le ? le.prototype : void 0, we = fe ? fe.toString : void 0;
1830
+ function Ce(C, B, j) {
1831
+ var H = -1, Y = C.length;
1832
1832
  B < 0 && (B = -B > Y ? 0 : Y + B), j = j > Y ? Y : j, j < 0 && (j += Y), Y = B > j ? 0 : j - B >>> 0, B >>>= 0;
1833
1833
  for (var Ee = Array(Y); ++H < Y; )
1834
- Ee[H] = O[H + B];
1834
+ Ee[H] = C[H + B];
1835
1835
  return Ee;
1836
1836
  }
1837
- function Ne(O) {
1838
- if (typeof O == "string")
1839
- return O;
1840
- if (D(O))
1841
- return we ? we.call(O) : "";
1842
- var B = O + "";
1843
- return B == "0" && 1 / O == -1 / 0 ? "-0" : B;
1837
+ function Le(C) {
1838
+ if (typeof C == "string")
1839
+ return C;
1840
+ if (D(C))
1841
+ return we ? we.call(C) : "";
1842
+ var B = C + "";
1843
+ return B == "0" && 1 / C == -1 / 0 ? "-0" : B;
1844
1844
  }
1845
- function he(O, B, j) {
1846
- var H = O.length;
1847
- return j = j === void 0 ? H : j, !B && j >= H ? O : Oe(O, B, j);
1845
+ function he(C, B, j) {
1846
+ var H = C.length;
1847
+ return j = j === void 0 ? H : j, !B && j >= H ? C : Ce(C, B, j);
1848
1848
  }
1849
- function ge(O) {
1849
+ function ge(C) {
1850
1850
  return function(B) {
1851
1851
  B = d(B);
1852
- var j = me(B) ? Ie(B) : void 0, H = j ? j[0] : B.charAt(0), Y = j ? he(j, 1).join("") : B.slice(1);
1853
- return H[O]() + Y;
1852
+ var j = me(B) ? ke(B) : void 0, H = j ? j[0] : B.charAt(0), Y = j ? he(j, 1).join("") : B.slice(1);
1853
+ return H[C]() + Y;
1854
1854
  };
1855
1855
  }
1856
- function g(O) {
1856
+ function h(C) {
1857
1857
  return function(B) {
1858
- return J(K(G(B).replace(re, "")), O, "");
1858
+ return J(K(G(B).replace(re, "")), C, "");
1859
1859
  };
1860
1860
  }
1861
- function v(O) {
1862
- return !!O && typeof O == "object";
1861
+ function v(C) {
1862
+ return !!C && typeof C == "object";
1863
1863
  }
1864
- function D(O) {
1865
- return typeof O == "symbol" || v(O) && Le.call(O) == e;
1864
+ function D(C) {
1865
+ return typeof C == "symbol" || v(C) && Ne.call(C) == e;
1866
1866
  }
1867
- function d(O) {
1868
- return O == null ? "" : Ne(O);
1867
+ function d(C) {
1868
+ return C == null ? "" : Le(C);
1869
1869
  }
1870
- var E = g(function(O, B, j) {
1871
- return B = B.toLowerCase(), O + (j ? C(B) : B);
1870
+ var E = h(function(C, B, j) {
1871
+ return B = B.toLowerCase(), C + (j ? O(B) : B);
1872
1872
  });
1873
- function C(O) {
1874
- return ae(d(O).toLowerCase());
1873
+ function O(C) {
1874
+ return ae(d(C).toLowerCase());
1875
1875
  }
1876
- function G(O) {
1877
- return O = d(O), O && O.replace(a, Te).replace(te, "");
1876
+ function G(C) {
1877
+ return C = d(C), C && C.replace(a, Te).replace(te, "");
1878
1878
  }
1879
1879
  var ae = ge("toUpperCase");
1880
- function K(O, B, j) {
1881
- return O = d(O), B = B, B === void 0 ? Pe(O) ? _e(O) : Re(O) : O.match(B) || [];
1880
+ function K(C, B, j) {
1881
+ return C = d(C), B = B, B === void 0 ? Pe(C) ? _e(C) : Re(C) : C.match(B) || [];
1882
1882
  }
1883
1883
  return dr = E, dr;
1884
1884
  }
@@ -2204,11 +2204,11 @@ R.mapFields = function(e, r) {
2204
2204
  var a = [], t = [], n = [], i = 1, y = r.depth, l = r.arrayDelimeter || "[]";
2205
2205
  e.forEach(p);
2206
2206
  function p(m, w) {
2207
- var b = m.key, u = m.type == "group", o = m.minimum === m.maximum && m.minimum === 1, f = m.asObject, h = u && !f, c = r.original ? m : R.clone(m);
2208
- c.trail = t.slice(), c.trail.push(b), c.path = c.trail.join("."), c.titles = n.slice(), c.titles.push(m.filterTitle || m.title || ""), (!h || r.includeLayout) && a.push(c);
2207
+ var b = m.key, u = m.type == "group", o = m.minimum === m.maximum && m.minimum === 1, f = m.asObject, g = u && !f, c = r.original ? m : R.clone(m);
2208
+ c.trail = t.slice(), c.trail.push(b), c.path = c.trail.join("."), c.titles = n.slice(), c.titles.push(m.filterTitle || m.title || ""), (!g || r.includeLayout) && a.push(c);
2209
2209
  var A = y && i >= y;
2210
2210
  if (m.fields && m.fields.length)
2211
- if (h)
2211
+ if (g)
2212
2212
  m.fields.forEach(p);
2213
2213
  else {
2214
2214
  if (A)
@@ -2817,8 +2817,8 @@ var Pt = function(e) {
2817
2817
  if (t.set(f.data), i(), p)
2818
2818
  m("cookie_token_refreshed");
2819
2819
  else {
2820
- const h = f.data.token?.accessToken;
2821
- h ? m(h) : w(new Error("No access token in refresh response"));
2820
+ const g = f.data.token?.accessToken;
2821
+ g ? m(g) : w(new Error("No access token in refresh response"));
2822
2822
  }
2823
2823
  setTimeout(function() {
2824
2824
  y.inflightRefreshRequest = null;
@@ -2874,10 +2874,10 @@ var Pt = function(e) {
2874
2874
  return p;
2875
2875
  if (!u)
2876
2876
  return p;
2877
- var h = /* @__PURE__ */ new Date();
2878
- h.setSeconds(h.getSeconds() + a);
2877
+ var g = /* @__PURE__ */ new Date();
2878
+ g.setSeconds(g.getSeconds() + a);
2879
2879
  var c = new Date(o);
2880
- return h < c ? p : new Promise(async function(s, A) {
2880
+ return g < c ? p : new Promise(async function(s, A) {
2881
2881
  await t.refreshAccessToken(u).then(function(S) {
2882
2882
  return p.headers.Authorization = `Bearer ${S}`, s(p);
2883
2883
  }).catch(function(S) {
@@ -2993,7 +2993,7 @@ q.filterChangeString = function(e) {
2993
2993
  var r = q.activeFilters(e);
2994
2994
  return JSON.stringify(r);
2995
2995
  };
2996
- function Ct(e) {
2996
+ function Ot(e) {
2997
2997
  var r = {};
2998
2998
  return r.downloadUrl = function(a, t, n, i) {
2999
2999
  return i = i || {}, n = n || {}, n.download = !0, t = e.utils.id(t), e.api.generateEndpointURL(`/${a}/${t}`, n, i);
@@ -3047,7 +3047,7 @@ function Ct(e) {
3047
3047
  }
3048
3048
  }, r;
3049
3049
  }
3050
- var Ue = {}, Ot = {
3050
+ var Ue = {}, Ct = {
3051
3051
  ///////////////////////////////////////////////////
3052
3052
  /**
3053
3053
  * A helper function to reset all caches, useful if changing organisation or logging in or out as another user
@@ -3196,8 +3196,8 @@ var Ue = {}, Ot = {
3196
3196
  if (f)
3197
3197
  return !0;
3198
3198
  }
3199
- var h = r.isOwner(a, t);
3200
- if (h) {
3199
+ var g = r.isOwner(a, t);
3200
+ if (g) {
3201
3201
  var c, s = `access-${a?.cacheKey}-${i}-${p}-${l}`;
3202
3202
  if (y.cache[s])
3203
3203
  c = y.cache[s];
@@ -3312,8 +3312,8 @@ function Rt(e) {
3312
3312
  };
3313
3313
  t = e.api.post("/variables", { keys: u }), t.then(c, c);
3314
3314
  }
3315
- const { data: h } = await t;
3316
- a.data = h, e.dispatch("variables", h);
3315
+ const { data: g } = await t;
3316
+ a.data = g, e.dispatch("variables", g);
3317
3317
  }
3318
3318
  return a.data;
3319
3319
  };
@@ -3325,14 +3325,14 @@ function Rt(e) {
3325
3325
  });
3326
3326
  }
3327
3327
  async function l({ _s: u, _k: o, types: f }) {
3328
- function h(A) {
3328
+ function g(A) {
3329
3329
  if (typeof A == "string" && A[0] === "~")
3330
3330
  return u[parseInt(A.slice(1))];
3331
- if (Array.isArray(A)) return A.map(h);
3331
+ if (Array.isArray(A)) return A.map(g);
3332
3332
  if (A && typeof A == "object") {
3333
3333
  const S = {};
3334
3334
  for (const [P, x] of Object.entries(A))
3335
- S[o[P] || P] = h(x);
3335
+ S[o[P] || P] = g(x);
3336
3336
  return S;
3337
3337
  }
3338
3338
  return A;
@@ -3340,13 +3340,13 @@ function Rt(e) {
3340
3340
  const c = 50, s = [];
3341
3341
  for (let A = 0; A < f.length; A += c) {
3342
3342
  const S = f.slice(A, A + c);
3343
- s.push(...S.map(h)), A + c < f.length && await y();
3343
+ s.push(...S.map(g)), A + c < f.length && await y();
3344
3344
  }
3345
3345
  return s;
3346
3346
  }
3347
3347
  r.glossary = async function(u) {
3348
3348
  u = u || {};
3349
- let o = n.get("glossary"), h = !!!u.uncompressed;
3349
+ let o = n.get("glossary"), g = !!!u.uncompressed;
3350
3350
  var c = u.refresh || u.reload || !o;
3351
3351
  if (c) {
3352
3352
  if (!i) {
@@ -3354,7 +3354,7 @@ function Rt(e) {
3354
3354
  i = null, r.loadingGlossary = !1;
3355
3355
  };
3356
3356
  r.loadingGlossary = !0;
3357
- const P = h ? "/glossary/compressed" : "/glossary";
3357
+ const P = g ? "/glossary/compressed" : "/glossary";
3358
3358
  i = e.api.get(P, { cache: !1 }), i.then(x, x);
3359
3359
  }
3360
3360
  const { data: A } = await i, S = A._s && A._k && A.types ? await l(A) : A;
@@ -3384,8 +3384,8 @@ function Rt(e) {
3384
3384
  cache: !1
3385
3385
  }), m.then(c, c);
3386
3386
  }
3387
- const { data: h } = await m;
3388
- p.data = h;
3387
+ const { data: g } = await m;
3388
+ p.data = g;
3389
3389
  }
3390
3390
  if (u.hash) {
3391
3391
  var f = e.utils.hash(p.data, "_id");
@@ -3399,8 +3399,8 @@ function Rt(e) {
3399
3399
  var o = u.reload || u.refresh || !w.data;
3400
3400
  if (o) {
3401
3401
  const { data: f } = await e.api.get("/system/comparators");
3402
- f.available = {}, Object.entries(f.types).forEach(([h, c]) => {
3403
- f.available[h] = c.map(function(s) {
3402
+ f.available = {}, Object.entries(f.types).forEach(([g, c]) => {
3403
+ f.available[g] = c.map(function(s) {
3404
3404
  return f.hash[s];
3405
3405
  });
3406
3406
  }), w.data = f;
@@ -3413,13 +3413,13 @@ function Rt(e) {
3413
3413
  }
3414
3414
  return r.meetsValidationRequirements = function(u, o, f) {
3415
3415
  if (f.minLength) {
3416
- var h = String(u).length;
3417
- if (h < f.minLength)
3416
+ var g = String(u).length;
3417
+ if (g < f.minLength)
3418
3418
  return `Must be at least ${f.minLength} characters`;
3419
3419
  }
3420
3420
  if (f.maxLength) {
3421
- var h = String(u).length;
3422
- if (h > f.maxLength)
3421
+ var g = String(u).length;
3422
+ if (g > f.maxLength)
3423
3423
  return `Can be no more than ${f.maxLength} characters`;
3424
3424
  }
3425
3425
  if (f.minValue && u !== void 0) {
@@ -3434,7 +3434,7 @@ function Rt(e) {
3434
3434
  }
3435
3435
  }, r.validateField = function(u, o, f) {
3436
3436
  f = f || {};
3437
- var h = o.type || "string", { minimum: c, maximum: s } = b(o), A = o.type == "group" && o.asObject, S = A ? c === s && s === 1 : s === 1, P = !S, x = e.utils.exists(u);
3437
+ var g = o.type || "string", { minimum: c, maximum: s } = b(o), A = o.type == "group" && o.asObject, S = A ? c === s && s === 1 : s === 1, P = !S, x = e.utils.exists(u);
3438
3438
  if (o.type === "boolean" && u !== !0 && (x = !1), c) {
3439
3439
  if (!x)
3440
3440
  return {
@@ -3458,9 +3458,9 @@ function Rt(e) {
3458
3458
  status: 400
3459
3459
  });
3460
3460
  var T = u;
3461
- if (T = T.filter(function(I) {
3462
- var k = I == null || I === "";
3463
- return !k;
3461
+ if (T = T.filter(function(k) {
3462
+ var I = k == null || k === "";
3463
+ return !I;
3464
3464
  }), c == s && c && T.length != c)
3465
3465
  return {
3466
3466
  valid: !1,
@@ -3479,63 +3479,63 @@ function Rt(e) {
3479
3479
  message: `${o.title} requires at least ${c} values`,
3480
3480
  status: 400
3481
3481
  };
3482
- var L;
3483
- if (T.find(function(I) {
3484
- var k = h;
3485
- o.type === "group" && (k = "object"), o.type === "reference" && o.widget === "form" && (k = "object");
3482
+ var N;
3483
+ if (T.find(function(k) {
3484
+ var I = g;
3485
+ o.type === "group" && (I = "object"), o.type === "reference" && o.widget === "form" && (I = "object");
3486
3486
  var U = e.utils.isValidValue(
3487
- I,
3488
3487
  k,
3488
+ I,
3489
3489
  f.strict
3490
3490
  );
3491
3491
  if (!U)
3492
- return L = !0, !0;
3492
+ return N = !0, !0;
3493
3493
  if (o.validation) {
3494
3494
  var z = r.meetsValidationRequirements(
3495
- I,
3496
- h,
3495
+ k,
3496
+ g,
3497
3497
  o.validation
3498
3498
  );
3499
3499
  if (z)
3500
- return L = !0, !0;
3500
+ return N = !0, !0;
3501
3501
  }
3502
- }), L)
3502
+ }), N)
3503
3503
  return {
3504
3504
  valid: !1,
3505
3505
  message: `Invalid input for ${o.title}`,
3506
3506
  status: 400
3507
3507
  };
3508
3508
  } else {
3509
- var M = h, V = o.widget;
3509
+ var M = g, V = o.widget;
3510
3510
  M === "group" && (M = "object"), M === "reference" && V === "form" && (M = "object");
3511
- var $ = r.getCleanedValue(u, M, f), N = e.utils.isValidValue(
3511
+ var $ = r.getCleanedValue(u, M, f), L = e.utils.isValidValue(
3512
3512
  $,
3513
3513
  M,
3514
3514
  f.strict
3515
3515
  );
3516
- if (!N)
3516
+ if (!L)
3517
3517
  return {
3518
3518
  valid: !1,
3519
3519
  message: `Single value '${u}' is not a valid ${M} for ${o.title}`,
3520
3520
  criteria: {
3521
- isValidValue: N,
3521
+ isValidValue: L,
3522
3522
  cleanedValue: $,
3523
- fieldType: h,
3523
+ fieldType: g,
3524
3524
  options: f
3525
3525
  },
3526
3526
  status: 400
3527
3527
  };
3528
- let I = !1;
3529
- const k = {};
3530
- if (String(o.minValue) && (k.minValue = parseInt(o.minValue), I = !0), String(o.maxValue) && (k.maxValue = parseInt(o.maxValue), I = !0), String(o.minLength) && (k.minLength = parseInt(o.minLength), I = !0), String(o.maxLength) && (k.maxLength = parseInt(o.maxLength), I = !0), I) {
3528
+ let k = !1;
3529
+ const I = {};
3530
+ if (String(o.minValue) && (I.minValue = parseInt(o.minValue), k = !0), String(o.maxValue) && (I.maxValue = parseInt(o.maxValue), k = !0), String(o.minLength) && (I.minLength = parseInt(o.minLength), k = !0), String(o.maxLength) && (I.maxLength = parseInt(o.maxLength), k = !0), k) {
3531
3531
  const U = Object.assign(
3532
3532
  {},
3533
- k,
3533
+ I,
3534
3534
  o.validation || {}
3535
3535
  );
3536
3536
  var F = r.meetsValidationRequirements(
3537
3537
  u,
3538
- h,
3538
+ g,
3539
3539
  U
3540
3540
  );
3541
3541
  if (F)
@@ -3569,37 +3569,37 @@ function Rt(e) {
3569
3569
  return u;
3570
3570
  }, r.list = async function(u, o, f) {
3571
3571
  f || (f = {});
3572
- const h = f.remoteURL || `/content/${u}/list`;
3572
+ const g = f.remoteURL || `/content/${u}/list`;
3573
3573
  if (f.cancellable) {
3574
3574
  f.config || (f.config = {});
3575
3575
  const s = e.api.CancelToken.source();
3576
3576
  return f.config.cancelToken = s.token, {
3577
- promise: e.api.post(h, o, f.config),
3577
+ promise: e.api.post(g, o, f.config),
3578
3578
  cancel(S) {
3579
3579
  s.cancel(S || "Operation canceled by the user.");
3580
3580
  }
3581
3581
  };
3582
3582
  } else {
3583
- const { data: c } = await e.api.post(h, o, f.config);
3583
+ const { data: c } = await e.api.post(g, o, f.config);
3584
3584
  return c;
3585
3585
  }
3586
3586
  }, r.create = async function(u, o) {
3587
3587
  const f = { ...o };
3588
3588
  f.meta?.scopes && (f.meta.scopes = e.utils.ids(f.meta.scopes));
3589
- const { data: h } = await e.api.post(`/content/${u}/create`, f);
3590
- return h;
3589
+ const { data: g } = await e.api.post(`/content/${u}/create`, f);
3590
+ return g;
3591
3591
  }, r.update = async function(u, o) {
3592
3592
  u = e.utils.id(u);
3593
3593
  const f = { ...o };
3594
3594
  f.meta?.scopes && (f.meta.scopes = e.utils.ids(f.meta.scopes));
3595
- const { data: h } = await e.api.put(`/content/${u}`, f);
3596
- return h;
3595
+ const { data: g } = await e.api.put(`/content/${u}`, f);
3596
+ return g;
3597
3597
  }, r.patch = async function(u, o) {
3598
3598
  u = e.utils.id(u);
3599
3599
  const f = { ...o };
3600
3600
  f.meta?.scopes && (f.meta.scopes = e.utils.ids(f.meta.scopes));
3601
- const { data: h } = await e.api.patch(`/content/${u}`, f);
3602
- return h;
3601
+ const { data: g } = await e.api.patch(`/content/${u}`, f);
3602
+ return g;
3603
3603
  }, r.get = async function(u, o) {
3604
3604
  u = e.utils.id(u), o = o || {};
3605
3605
  const { data: f } = await e.api.get(`/content/${u}`, o);
@@ -3629,7 +3629,7 @@ function Tt(e) {
3629
3629
  })), a;
3630
3630
  }, r;
3631
3631
  }
3632
- function It(e) {
3632
+ function kt(e) {
3633
3633
  var r = {};
3634
3634
  function a() {
3635
3635
  return !(typeof window > "u" || !window.navigator || !window.navigator.geolocation);
@@ -4372,7 +4372,7 @@ function It(e) {
4372
4372
  }
4373
4373
  }, r;
4374
4374
  }
4375
- const kt = function(e, r) {
4375
+ const It = function(e, r) {
4376
4376
  if (r = r || "production", !e.auth)
4377
4377
  throw new Error("Can't Instantiate QikSocket before QikAuth exists");
4378
4378
  const a = e.utils.guid();
@@ -4384,38 +4384,47 @@ const kt = function(e, r) {
4384
4384
  autoreconnect: !0
4385
4385
  }, n, i = {};
4386
4386
  const y = {}, l = new De();
4387
- l.bootstrap(t), t.channel = async function(h) {
4388
- if (i[h])
4389
- return i[h];
4387
+ l.bootstrap(t), t.channel = async function(g) {
4388
+ if (i[g])
4389
+ return i[g];
4390
4390
  const c = new De();
4391
4391
  function s(A) {
4392
4392
  c.dispatch("message", A);
4393
4393
  }
4394
4394
  return c.destroy = function() {
4395
- t.removeEventListener(h, s), t.unsubscribe(h), c.removeAllListeners(), delete i[h];
4396
- }, i[h] = c, t.connected || await t.connect(), t.subscribe(h), t.addEventListener(h, s), i[h];
4395
+ t.removeEventListener(g, s), t.unsubscribe(g), c.removeAllListeners(), delete i[g];
4396
+ }, i[g] = c, t.connected || await t.connect(), t.subscribe(g), t.addEventListener(g, s), i[g];
4397
4397
  };
4398
- function p(h) {
4399
- t.debug && console.log("[socket] Connection open", h), t.connected = !0, l.dispatch("connected", h);
4398
+ function p(g) {
4399
+ t.debug && console.log("[socket] Connection open", g), t.connected = !0, l.dispatch("connected", g), Object.keys(y).forEach(function(c) {
4400
+ u({
4401
+ action: "subscribe",
4402
+ channel: c
4403
+ });
4404
+ });
4400
4405
  }
4401
- async function m(h) {
4402
- h.wasClean ? t.debug && console.log(`[socket] Connection closed cleanly, code=${h.code} reason=${h.reason}`) : t.debug && console.log("[socket] - connection closed due to error", h), t.connected = !1, l.dispatch("disconnected", h), n = null, t.autoreconnect && t.reconnect();
4406
+ async function m(g) {
4407
+ g.wasClean ? t.debug && console.log(`[socket] Connection closed cleanly, code=${g.code} reason=${g.reason}`) : t.debug && console.log("[socket] - connection closed due to error", g), t.connected = !1, l.dispatch("disconnected", g), n = null, t.autoreconnect && t.reconnect();
4403
4408
  }
4404
- function w(h) {
4405
- console.log("[event] socketError", event), t.debug && console.log("[socket] Error", h), l.dispatch("error", h);
4409
+ function w(g) {
4410
+ console.log("[event] socketError", event), t.debug && console.log("[socket] Error", g), l.dispatch("error", g);
4406
4411
  }
4407
- function b(h) {
4408
- const c = JSON.parse(h.data);
4412
+ function b(g) {
4413
+ const c = JSON.parse(g.data);
4409
4414
  t.debug && console.log("[socket] message received", c), l.dispatch("message", c), c.channel && l.dispatch(c.channel, c);
4410
4415
  }
4411
- async function u(h) {
4412
- n.send(JSON.stringify(h));
4416
+ async function u(g) {
4417
+ if (!n || n.readyState !== WebSocket.OPEN) {
4418
+ t.debug && console.log("[socket] - frame dropped, socket not open", g);
4419
+ return;
4420
+ }
4421
+ n.send(JSON.stringify(g));
4413
4422
  }
4414
4423
  function o() {
4415
- return new Promise(function(h) {
4424
+ return new Promise(function(g) {
4416
4425
  function c() {
4417
4426
  if (t.connected)
4418
- return h(n);
4427
+ return g(n);
4419
4428
  setTimeout(c, 1e3);
4420
4429
  }
4421
4430
  c();
@@ -4424,49 +4433,44 @@ const kt = function(e, r) {
4424
4433
  t.connect = async function() {
4425
4434
  if (n)
4426
4435
  return n.connected ? (console.log("[socket] - Socket is already connected"), n) : o();
4427
- const h = e.auth.getCurrentToken();
4428
- if (!h) {
4436
+ const g = e.auth.getCurrentToken();
4437
+ if (!g) {
4429
4438
  t.debug && console.log("[socket] - Must be authenticated to connect to socket");
4430
4439
  return;
4431
4440
  }
4432
- return n = new WebSocket(`${t.url}?access_token=${h}&windowid=${a}`), n.addEventListener("close", m), n.addEventListener("error", w), n.addEventListener("open", p), n.addEventListener("message", b), t.debug && console.log("[socket] - Connected with event listeners"), o();
4441
+ return n = new WebSocket(`${t.url}?access_token=${g}&windowid=${a}`), n.addEventListener("close", m), n.addEventListener("error", w), n.addEventListener("open", p), n.addEventListener("message", b), t.debug && console.log("[socket] - Connected with event listeners"), o();
4433
4442
  }, t.reconnect = async function() {
4434
- if (t.connected)
4435
- return;
4436
- t.debug && console.log("[socket] reconnecting...");
4437
- const h = await t.connect();
4438
- return Object.keys(y).forEach(function(s) {
4439
- t.subscribe(s);
4440
- }), h;
4443
+ if (!t.connected)
4444
+ return t.debug && console.log("[socket] reconnecting..."), await t.connect();
4441
4445
  }, t.close = async function() {
4442
4446
  if (!n) {
4443
4447
  console.log("[socket] - Socket is not connected");
4444
4448
  return;
4445
4449
  }
4446
- const h = t.autoreconnect;
4447
- t.autoreconnect = !1, n.close(), n.removeEventListener("close", m), n.removeEventListener("error", w), n.removeEventListener("open", p), n.removeEventListener("message", b), n = null, m({ wasClean: !0 }), t.autoreconnect = h;
4448
- }, t.disconnect = t.close, t.subscribe = async function(h) {
4450
+ const g = t.autoreconnect;
4451
+ t.autoreconnect = !1, n.close(), n.removeEventListener("close", m), n.removeEventListener("error", w), n.removeEventListener("open", p), n.removeEventListener("message", b), n = null, m({ wasClean: !0 }), t.autoreconnect = g;
4452
+ }, t.disconnect = t.close, t.subscribe = async function(g) {
4449
4453
  if (!n) {
4450
4454
  console.log("[socket] - Can't subscribe to channel as socket is not connected");
4451
4455
  return;
4452
4456
  }
4453
4457
  u({
4454
4458
  action: "subscribe",
4455
- channel: h
4456
- }), y[h] = !0, l.dispatch("subscribe", h), t.debug && console.log(`[socket] - subscribed to ${h}`);
4457
- }, t.unsubscribe = async function(h) {
4459
+ channel: g
4460
+ }), y[g] = !0, l.dispatch("subscribe", g), t.debug && console.log(`[socket] - subscribed to ${g}`);
4461
+ }, t.unsubscribe = async function(g) {
4458
4462
  if (!n) {
4459
4463
  console.log("[socket] - Can't unsubscribe from channel as socket is not connected");
4460
4464
  return;
4461
4465
  }
4462
4466
  u({
4463
4467
  action: "unsubscribe",
4464
- channel: h
4465
- }), delete y[h], l.dispatch("unsubscribe", h), t.debug && console.log(`[socket] - unsubscribed from ${h}`);
4468
+ channel: g
4469
+ }), delete y[g], l.dispatch("unsubscribe", g), t.debug && console.log(`[socket] - unsubscribed from ${g}`);
4466
4470
  };
4467
4471
  let f = e.utils.id(e.auth.getCurrentUser()?.organisation);
4468
- return e.auth.addEventListener("change", async function(h) {
4469
- const c = e.utils.id(h?.organisation);
4472
+ return e.auth.addEventListener("change", async function(g) {
4473
+ const c = e.utils.id(g?.organisation);
4470
4474
  c !== f && (f = c, n && (t.debug && console.log("[socket] - organisation changed, reconnecting"), await t.close(), await t.reconnect()));
4471
4475
  }), t;
4472
4476
  };
@@ -4491,7 +4495,7 @@ function Ft(e) {
4491
4495
  global: {}
4492
4496
  });
4493
4497
  Object.defineProperty(r, "cache", {
4494
- value: Ot,
4498
+ value: Ct,
4495
4499
  writable: !1
4496
4500
  });
4497
4501
  const t = R;
@@ -4502,14 +4506,14 @@ function Ft(e) {
4502
4506
  value: q,
4503
4507
  writable: !1
4504
4508
  });
4505
- const i = new Ct(r);
4509
+ const i = new Ot(r);
4506
4510
  Object.defineProperty(r, "files", {
4507
4511
  value: i,
4508
4512
  writable: !1
4509
4513
  }), new De().bootstrap(r), r.error = function(f) {
4510
4514
  return r.dispatch("error", t.errorMessage(f));
4511
- }, r.notify = function(f, h) {
4512
- return r.dispatch("notification", { message: f, options: h });
4515
+ }, r.notify = function(f, g) {
4516
+ return r.dispatch("notification", { message: f, options: g });
4513
4517
  };
4514
4518
  const l = new mt(r);
4515
4519
  Object.defineProperty(r, "api", {
@@ -4521,7 +4525,7 @@ function Ft(e) {
4521
4525
  value: p,
4522
4526
  writable: !1
4523
4527
  });
4524
- const m = new kt(r);
4528
+ const m = new It(r);
4525
4529
  Object.defineProperty(r, "socket", {
4526
4530
  value: m,
4527
4531
  writable: !1
@@ -4536,7 +4540,7 @@ function Ft(e) {
4536
4540
  value: b,
4537
4541
  writable: !1
4538
4542
  });
4539
- const u = new It(r);
4543
+ const u = new kt(r);
4540
4544
  Object.defineProperty(r, "geo", {
4541
4545
  value: u,
4542
4546
  writable: !1