@streamlayer/react 0.29.1 → 0.29.2

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.
@@ -442,8 +442,8 @@ function ll(e) {
442
442
  var gr = {};
443
443
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
444
444
  gr.read = function(e, t, n, a, s) {
445
- var c, u, l = s * 8 - a - 1, p = (1 << l) - 1, y = p >> 1, h = -7, T = n ? s - 1 : 0, k = n ? -1 : 1, b = e[t + T];
446
- for (T += k, c = b & (1 << -h) - 1, b >>= -h, h += l; h > 0; c = c * 256 + e[t + T], T += k, h -= 8)
445
+ var c, u, l = s * 8 - a - 1, p = (1 << l) - 1, y = p >> 1, h = -7, T = n ? s - 1 : 0, k = n ? -1 : 1, E = e[t + T];
446
+ for (T += k, c = E & (1 << -h) - 1, E >>= -h, h += l; h > 0; c = c * 256 + e[t + T], T += k, h -= 8)
447
447
  ;
448
448
  for (u = c & (1 << -h) - 1, c >>= -h, h += a; h > 0; u = u * 256 + e[t + T], T += k, h -= 8)
449
449
  ;
@@ -451,18 +451,18 @@ gr.read = function(e, t, n, a, s) {
451
451
  c = 1 - y;
452
452
  else {
453
453
  if (c === p)
454
- return u ? NaN : (b ? -1 : 1) * (1 / 0);
454
+ return u ? NaN : (E ? -1 : 1) * (1 / 0);
455
455
  u = u + Math.pow(2, a), c = c - y;
456
456
  }
457
- return (b ? -1 : 1) * u * Math.pow(2, c - a);
457
+ return (E ? -1 : 1) * u * Math.pow(2, c - a);
458
458
  };
459
459
  gr.write = function(e, t, n, a, s, c) {
460
- var u, l, p, y = c * 8 - s - 1, h = (1 << y) - 1, T = h >> 1, k = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, b = a ? 0 : c - 1, R = a ? 1 : -1, N = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
461
- for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (l = isNaN(t) ? 1 : 0, u = h) : (u = Math.floor(Math.log(t) / Math.LN2), t * (p = Math.pow(2, -u)) < 1 && (u--, p *= 2), u + T >= 1 ? t += k / p : t += k * Math.pow(2, 1 - T), t * p >= 2 && (u++, p /= 2), u + T >= h ? (l = 0, u = h) : u + T >= 1 ? (l = (t * p - 1) * Math.pow(2, s), u = u + T) : (l = t * Math.pow(2, T - 1) * Math.pow(2, s), u = 0)); s >= 8; e[n + b] = l & 255, b += R, l /= 256, s -= 8)
460
+ var u, l, p, y = c * 8 - s - 1, h = (1 << y) - 1, T = h >> 1, k = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, E = a ? 0 : c - 1, R = a ? 1 : -1, I = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
461
+ for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (l = isNaN(t) ? 1 : 0, u = h) : (u = Math.floor(Math.log(t) / Math.LN2), t * (p = Math.pow(2, -u)) < 1 && (u--, p *= 2), u + T >= 1 ? t += k / p : t += k * Math.pow(2, 1 - T), t * p >= 2 && (u++, p /= 2), u + T >= h ? (l = 0, u = h) : u + T >= 1 ? (l = (t * p - 1) * Math.pow(2, s), u = u + T) : (l = t * Math.pow(2, T - 1) * Math.pow(2, s), u = 0)); s >= 8; e[n + E] = l & 255, E += R, l /= 256, s -= 8)
462
462
  ;
463
- for (u = u << s | l, y += s; y > 0; e[n + b] = u & 255, b += R, u /= 256, y -= 8)
463
+ for (u = u << s | l, y += s; y > 0; e[n + E] = u & 255, E += R, u /= 256, y -= 8)
464
464
  ;
465
- e[n + b - R] |= N * 128;
465
+ e[n + E - R] |= I * 128;
466
466
  };
467
467
  /*!
468
468
  * The buffer module from node.js, for the browser.
@@ -527,7 +527,7 @@ gr.write = function(e, t, n, a, s, c) {
527
527
  "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof o
528
528
  );
529
529
  if (de(o, ArrayBuffer) || o && de(o.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (de(o, SharedArrayBuffer) || o && de(o.buffer, SharedArrayBuffer)))
530
- return N(o, r, i);
530
+ return I(o, r, i);
531
531
  if (typeof o == "number")
532
532
  throw new TypeError(
533
533
  'The "value" argument must not be of type number. Received type number'
@@ -570,12 +570,12 @@ gr.write = function(e, t, n, a, s, c) {
570
570
  function k(o, r) {
571
571
  if ((typeof r != "string" || r === "") && (r = "utf8"), !l.isEncoding(r))
572
572
  throw new TypeError("Unknown encoding: " + r);
573
- const i = U(o, r) | 0;
573
+ const i = B(o, r) | 0;
574
574
  let d = u(i);
575
575
  const f = d.write(o, r);
576
576
  return f !== i && (d = d.slice(0, f)), d;
577
577
  }
578
- function b(o) {
578
+ function E(o) {
579
579
  const r = o.length < 0 ? 0 : v(o.length) | 0, i = u(r);
580
580
  for (let d = 0; d < r; d += 1)
581
581
  i[d] = o[d] & 255;
@@ -584,11 +584,11 @@ gr.write = function(e, t, n, a, s, c) {
584
584
  function R(o) {
585
585
  if (de(o, Uint8Array)) {
586
586
  const r = new Uint8Array(o);
587
- return N(r.buffer, r.byteOffset, r.byteLength);
587
+ return I(r.buffer, r.byteOffset, r.byteLength);
588
588
  }
589
- return b(o);
589
+ return E(o);
590
590
  }
591
- function N(o, r, i) {
591
+ function I(o, r, i) {
592
592
  if (r < 0 || o.byteLength < r)
593
593
  throw new RangeError('"offset" is outside of buffer bounds');
594
594
  if (o.byteLength < r + (i || 0))
@@ -602,9 +602,9 @@ gr.write = function(e, t, n, a, s, c) {
602
602
  return i.length === 0 || o.copy(i, 0, 0, r), i;
603
603
  }
604
604
  if (o.length !== void 0)
605
- return typeof o.length != "number" || _t(o.length) ? u(0) : b(o);
605
+ return typeof o.length != "number" || _t(o.length) ? u(0) : E(o);
606
606
  if (o.type === "Buffer" && Array.isArray(o.data))
607
- return b(o.data);
607
+ return E(o.data);
608
608
  }
609
609
  function v(o) {
610
610
  if (o >= s)
@@ -674,7 +674,7 @@ gr.write = function(e, t, n, a, s, c) {
674
674
  }
675
675
  return f;
676
676
  };
677
- function U(o, r) {
677
+ function B(o, r) {
678
678
  if (l.isBuffer(o))
679
679
  return o.length;
680
680
  if (ArrayBuffer.isView(o) || de(o, ArrayBuffer))
@@ -711,8 +711,8 @@ gr.write = function(e, t, n, a, s, c) {
711
711
  r = ("" + r).toLowerCase(), f = !0;
712
712
  }
713
713
  }
714
- l.byteLength = U;
715
- function B(o, r, i) {
714
+ l.byteLength = B;
715
+ function U(o, r, i) {
716
716
  let d = !1;
717
717
  if ((r === void 0 || r < 0) && (r = 0), r > this.length || ((i === void 0 || i > this.length) && (i = this.length), i <= 0) || (i >>>= 0, r >>>= 0, i <= r))
718
718
  return "";
@@ -769,7 +769,7 @@ gr.write = function(e, t, n, a, s, c) {
769
769
  return this;
770
770
  }, l.prototype.toString = function() {
771
771
  const r = this.length;
772
- return r === 0 ? "" : arguments.length === 0 ? ne(this, 0, r) : B.apply(this, arguments);
772
+ return r === 0 ? "" : arguments.length === 0 ? ne(this, 0, r) : U.apply(this, arguments);
773
773
  }, l.prototype.toLocaleString = l.prototype.toString, l.prototype.equals = function(r) {
774
774
  if (!l.isBuffer(r))
775
775
  throw new TypeError("Argument must be a Buffer");
@@ -884,7 +884,7 @@ gr.write = function(e, t, n, a, s, c) {
884
884
  return tt(Et(r), o, i, d);
885
885
  }
886
886
  function Te(o, r, i, d) {
887
- return tt(I(r, o.length - i), o, i, d);
887
+ return tt(N(r, o.length - i), o, i, d);
888
888
  }
889
889
  l.prototype.write = function(r, i, d, f) {
890
890
  if (i === void 0)
@@ -1097,7 +1097,7 @@ gr.write = function(e, t, n, a, s, c) {
1097
1097
  }, l.prototype.readDoubleBE = function(r, i) {
1098
1098
  return r = r >>> 0, i || q(r, 8, this.length), n.read(this, r, !1, 52, 8);
1099
1099
  };
1100
- function E(o, r, i, d, f, g) {
1100
+ function b(o, r, i, d, f, g) {
1101
1101
  if (!l.isBuffer(o))
1102
1102
  throw new TypeError('"buffer" argument must be a Buffer instance');
1103
1103
  if (r > f || r < g)
@@ -1108,7 +1108,7 @@ gr.write = function(e, t, n, a, s, c) {
1108
1108
  l.prototype.writeUintLE = l.prototype.writeUIntLE = function(r, i, d, f) {
1109
1109
  if (r = +r, i = i >>> 0, d = d >>> 0, !f) {
1110
1110
  const F = Math.pow(2, 8 * d) - 1;
1111
- E(this, r, i, d, F, 0);
1111
+ b(this, r, i, d, F, 0);
1112
1112
  }
1113
1113
  let g = 1, S = 0;
1114
1114
  for (this[i] = r & 255; ++S < d && (g *= 256); )
@@ -1117,22 +1117,22 @@ gr.write = function(e, t, n, a, s, c) {
1117
1117
  }, l.prototype.writeUintBE = l.prototype.writeUIntBE = function(r, i, d, f) {
1118
1118
  if (r = +r, i = i >>> 0, d = d >>> 0, !f) {
1119
1119
  const F = Math.pow(2, 8 * d) - 1;
1120
- E(this, r, i, d, F, 0);
1120
+ b(this, r, i, d, F, 0);
1121
1121
  }
1122
1122
  let g = d - 1, S = 1;
1123
1123
  for (this[i + g] = r & 255; --g >= 0 && (S *= 256); )
1124
1124
  this[i + g] = r / S & 255;
1125
1125
  return i + d;
1126
1126
  }, l.prototype.writeUint8 = l.prototype.writeUInt8 = function(r, i, d) {
1127
- return r = +r, i = i >>> 0, d || E(this, r, i, 1, 255, 0), this[i] = r & 255, i + 1;
1127
+ return r = +r, i = i >>> 0, d || b(this, r, i, 1, 255, 0), this[i] = r & 255, i + 1;
1128
1128
  }, l.prototype.writeUint16LE = l.prototype.writeUInt16LE = function(r, i, d) {
1129
- return r = +r, i = i >>> 0, d || E(this, r, i, 2, 65535, 0), this[i] = r & 255, this[i + 1] = r >>> 8, i + 2;
1129
+ return r = +r, i = i >>> 0, d || b(this, r, i, 2, 65535, 0), this[i] = r & 255, this[i + 1] = r >>> 8, i + 2;
1130
1130
  }, l.prototype.writeUint16BE = l.prototype.writeUInt16BE = function(r, i, d) {
1131
- return r = +r, i = i >>> 0, d || E(this, r, i, 2, 65535, 0), this[i] = r >>> 8, this[i + 1] = r & 255, i + 2;
1131
+ return r = +r, i = i >>> 0, d || b(this, r, i, 2, 65535, 0), this[i] = r >>> 8, this[i + 1] = r & 255, i + 2;
1132
1132
  }, l.prototype.writeUint32LE = l.prototype.writeUInt32LE = function(r, i, d) {
1133
- return r = +r, i = i >>> 0, d || E(this, r, i, 4, 4294967295, 0), this[i + 3] = r >>> 24, this[i + 2] = r >>> 16, this[i + 1] = r >>> 8, this[i] = r & 255, i + 4;
1133
+ return r = +r, i = i >>> 0, d || b(this, r, i, 4, 4294967295, 0), this[i + 3] = r >>> 24, this[i + 2] = r >>> 16, this[i + 1] = r >>> 8, this[i] = r & 255, i + 4;
1134
1134
  }, l.prototype.writeUint32BE = l.prototype.writeUInt32BE = function(r, i, d) {
1135
- return r = +r, i = i >>> 0, d || E(this, r, i, 4, 4294967295, 0), this[i] = r >>> 24, this[i + 1] = r >>> 16, this[i + 2] = r >>> 8, this[i + 3] = r & 255, i + 4;
1135
+ return r = +r, i = i >>> 0, d || b(this, r, i, 4, 4294967295, 0), this[i] = r >>> 24, this[i + 1] = r >>> 16, this[i + 2] = r >>> 8, this[i + 3] = r & 255, i + 4;
1136
1136
  };
1137
1137
  function A(o, r, i, d, f) {
1138
1138
  Ue(r, d, f, o, i, 7);
@@ -1155,7 +1155,7 @@ gr.write = function(e, t, n, a, s, c) {
1155
1155
  }), l.prototype.writeIntLE = function(r, i, d, f) {
1156
1156
  if (r = +r, i = i >>> 0, !f) {
1157
1157
  const W = Math.pow(2, 8 * d - 1);
1158
- E(this, r, i, d, W - 1, -W);
1158
+ b(this, r, i, d, W - 1, -W);
1159
1159
  }
1160
1160
  let g = 0, S = 1, F = 0;
1161
1161
  for (this[i] = r & 255; ++g < d && (S *= 256); )
@@ -1164,22 +1164,22 @@ gr.write = function(e, t, n, a, s, c) {
1164
1164
  }, l.prototype.writeIntBE = function(r, i, d, f) {
1165
1165
  if (r = +r, i = i >>> 0, !f) {
1166
1166
  const W = Math.pow(2, 8 * d - 1);
1167
- E(this, r, i, d, W - 1, -W);
1167
+ b(this, r, i, d, W - 1, -W);
1168
1168
  }
1169
1169
  let g = d - 1, S = 1, F = 0;
1170
1170
  for (this[i + g] = r & 255; --g >= 0 && (S *= 256); )
1171
1171
  r < 0 && F === 0 && this[i + g + 1] !== 0 && (F = 1), this[i + g] = (r / S >> 0) - F & 255;
1172
1172
  return i + d;
1173
1173
  }, l.prototype.writeInt8 = function(r, i, d) {
1174
- return r = +r, i = i >>> 0, d || E(this, r, i, 1, 127, -128), r < 0 && (r = 255 + r + 1), this[i] = r & 255, i + 1;
1174
+ return r = +r, i = i >>> 0, d || b(this, r, i, 1, 127, -128), r < 0 && (r = 255 + r + 1), this[i] = r & 255, i + 1;
1175
1175
  }, l.prototype.writeInt16LE = function(r, i, d) {
1176
- return r = +r, i = i >>> 0, d || E(this, r, i, 2, 32767, -32768), this[i] = r & 255, this[i + 1] = r >>> 8, i + 2;
1176
+ return r = +r, i = i >>> 0, d || b(this, r, i, 2, 32767, -32768), this[i] = r & 255, this[i + 1] = r >>> 8, i + 2;
1177
1177
  }, l.prototype.writeInt16BE = function(r, i, d) {
1178
- return r = +r, i = i >>> 0, d || E(this, r, i, 2, 32767, -32768), this[i] = r >>> 8, this[i + 1] = r & 255, i + 2;
1178
+ return r = +r, i = i >>> 0, d || b(this, r, i, 2, 32767, -32768), this[i] = r >>> 8, this[i + 1] = r & 255, i + 2;
1179
1179
  }, l.prototype.writeInt32LE = function(r, i, d) {
1180
- return r = +r, i = i >>> 0, d || E(this, r, i, 4, 2147483647, -2147483648), this[i] = r & 255, this[i + 1] = r >>> 8, this[i + 2] = r >>> 16, this[i + 3] = r >>> 24, i + 4;
1180
+ return r = +r, i = i >>> 0, d || b(this, r, i, 4, 2147483647, -2147483648), this[i] = r & 255, this[i + 1] = r >>> 8, this[i + 2] = r >>> 16, this[i + 3] = r >>> 24, i + 4;
1181
1181
  }, l.prototype.writeInt32BE = function(r, i, d) {
1182
- return r = +r, i = i >>> 0, d || E(this, r, i, 4, 2147483647, -2147483648), r < 0 && (r = 4294967295 + r + 1), this[i] = r >>> 24, this[i + 1] = r >>> 16, this[i + 2] = r >>> 8, this[i + 3] = r & 255, i + 4;
1182
+ return r = +r, i = i >>> 0, d || b(this, r, i, 4, 2147483647, -2147483648), r < 0 && (r = 4294967295 + r + 1), this[i] = r >>> 24, this[i + 1] = r >>> 16, this[i + 2] = r >>> 8, this[i + 3] = r & 255, i + 4;
1183
1183
  }, l.prototype.writeBigInt64LE = Re(function(r, i = 0) {
1184
1184
  return A(this, r, i, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
1185
1185
  }), l.prototype.writeBigInt64BE = Re(function(r, i = 0) {
@@ -1402,7 +1402,7 @@ gr.write = function(e, t, n, a, s, c) {
1402
1402
  r.push(o.charCodeAt(i) & 255);
1403
1403
  return r;
1404
1404
  }
1405
- function I(o, r) {
1405
+ function N(o, r) {
1406
1406
  let i, d, f;
1407
1407
  const g = [];
1408
1408
  for (let S = 0; S < o.length && !((r -= 2) < 0); ++S)
@@ -2059,25 +2059,25 @@ function Tl() {
2059
2059
  case "scalar":
2060
2060
  case "enum":
2061
2061
  const k = p.kind == "enum" ? C.INT32 : p.T;
2062
- let b = Gn;
2063
- if (p.kind == "scalar" && p.L > 0 && (b = Sl), h) {
2062
+ let E = Gn;
2063
+ if (p.kind == "scalar" && p.L > 0 && (E = Sl), h) {
2064
2064
  let v = y[T];
2065
2065
  if (l == pe.LengthDelimited && k != C.STRING && k != C.BYTES) {
2066
2066
  let O = t.uint32() + t.pos;
2067
2067
  for (; t.pos < O; )
2068
- v.push(b(t, k));
2068
+ v.push(E(t, k));
2069
2069
  } else
2070
- v.push(b(t, k));
2070
+ v.push(E(t, k));
2071
2071
  } else
2072
- y[T] = b(t, k);
2072
+ y[T] = E(t, k);
2073
2073
  break;
2074
2074
  case "message":
2075
2075
  const R = p.T;
2076
2076
  h ? y[T].push(Bn(t, new R(), a)) : y[T] instanceof Ze ? Bn(t, y[T], a) : (y[T] = Bn(t, new R(), a), R.fieldWrapper && !p.oneof && !p.repeated && (y[T] = R.fieldWrapper.unwrapField(y[T])));
2077
2077
  break;
2078
2078
  case "map":
2079
- let [N, x] = kl(p, t, a);
2080
- y[T][N] = x;
2079
+ let [I, x] = kl(p, t, a);
2080
+ y[T][I] = x;
2081
2081
  break;
2082
2082
  }
2083
2083
  }
@@ -2374,24 +2374,24 @@ function Rl(e) {
2374
2374
  if (!Array.isArray(p))
2375
2375
  throw new Error(`cannot decode field ${n.typeName}.${y.name} from JSON: ${this.debug(p)}`);
2376
2376
  const k = T[h];
2377
- for (const b of p) {
2378
- if (b === null)
2379
- throw new Error(`cannot decode field ${n.typeName}.${y.name} from JSON: ${this.debug(b)}`);
2377
+ for (const E of p) {
2378
+ if (E === null)
2379
+ throw new Error(`cannot decode field ${n.typeName}.${y.name} from JSON: ${this.debug(E)}`);
2380
2380
  let R;
2381
2381
  switch (y.kind) {
2382
2382
  case "message":
2383
- R = y.T.fromJson(b, s);
2383
+ R = y.T.fromJson(E, s);
2384
2384
  break;
2385
2385
  case "enum":
2386
- if (R = ka(y.T, b, s.ignoreUnknownFields), R === void 0)
2386
+ if (R = ka(y.T, E, s.ignoreUnknownFields), R === void 0)
2387
2387
  continue;
2388
2388
  break;
2389
2389
  case "scalar":
2390
2390
  try {
2391
- R = cn(y.T, b, y.L);
2392
- } catch (N) {
2393
- let x = `cannot decode field ${n.typeName}.${y.name} from JSON: ${this.debug(b)}`;
2394
- throw N instanceof Error && N.message.length > 0 && (x += `: ${N.message}`), new Error(x);
2391
+ R = cn(y.T, E, y.L);
2392
+ } catch (I) {
2393
+ let x = `cannot decode field ${n.typeName}.${y.name} from JSON: ${this.debug(E)}`;
2394
+ throw I instanceof Error && I.message.length > 0 && (x += `: ${I.message}`), new Error(x);
2395
2395
  }
2396
2396
  break;
2397
2397
  }
@@ -2403,21 +2403,21 @@ function Rl(e) {
2403
2403
  if (Array.isArray(p) || typeof p != "object")
2404
2404
  throw new Error(`cannot decode field ${n.typeName}.${y.name} from JSON: ${this.debug(p)}`);
2405
2405
  const k = T[h];
2406
- for (const [b, R] of Object.entries(p)) {
2406
+ for (const [E, R] of Object.entries(p)) {
2407
2407
  if (R === null)
2408
2408
  throw new Error(`cannot decode field ${n.typeName}.${y.name} from JSON: map value null`);
2409
- let N;
2409
+ let I;
2410
2410
  switch (y.V.kind) {
2411
2411
  case "message":
2412
- N = y.V.T.fromJson(R, s);
2412
+ I = y.V.T.fromJson(R, s);
2413
2413
  break;
2414
2414
  case "enum":
2415
- if (N = ka(y.V.T, R, s.ignoreUnknownFields), N === void 0)
2415
+ if (I = ka(y.V.T, R, s.ignoreUnknownFields), I === void 0)
2416
2416
  continue;
2417
2417
  break;
2418
2418
  case "scalar":
2419
2419
  try {
2420
- N = cn(y.V.T, R, Ut.BIGINT);
2420
+ I = cn(y.V.T, R, Ut.BIGINT);
2421
2421
  } catch (x) {
2422
2422
  let v = `cannot decode map value for field ${n.typeName}.${y.name} from JSON: ${this.debug(p)}`;
2423
2423
  throw x instanceof Error && x.message.length > 0 && (v += `: ${x.message}`), new Error(v);
@@ -2425,7 +2425,7 @@ function Rl(e) {
2425
2425
  break;
2426
2426
  }
2427
2427
  try {
2428
- k[cn(y.K, y.K == C.BOOL ? b == "true" ? !0 : b == "false" ? !1 : b : b, Ut.BIGINT).toString()] = N;
2428
+ k[cn(y.K, y.K == C.BOOL ? E == "true" ? !0 : E == "false" ? !1 : E : E, Ut.BIGINT).toString()] = I;
2429
2429
  } catch (x) {
2430
2430
  let v = `cannot decode map key for field ${n.typeName}.${y.name} from JSON: ${this.debug(p)}`;
2431
2431
  throw x instanceof Error && x.message.length > 0 && (v += `: ${x.message}`), new Error(v);
@@ -2443,15 +2443,15 @@ function Rl(e) {
2443
2443
  T[h] instanceof Ze ? T[h].fromJson(p, s) : (T[h] = k.fromJson(p, s), k.fieldWrapper && !y.oneof && (T[h] = k.fieldWrapper.unwrapField(T[h])));
2444
2444
  break;
2445
2445
  case "enum":
2446
- const b = ka(y.T, p, s.ignoreUnknownFields);
2447
- b !== void 0 && (T[h] = b);
2446
+ const E = ka(y.T, p, s.ignoreUnknownFields);
2447
+ E !== void 0 && (T[h] = E);
2448
2448
  break;
2449
2449
  case "scalar":
2450
2450
  try {
2451
2451
  T[h] = cn(y.T, p, y.L);
2452
2452
  } catch (R) {
2453
- let N = `cannot decode field ${n.typeName}.${y.name} from JSON: ${this.debug(p)}`;
2454
- throw R instanceof Error && R.message.length > 0 && (N += `: ${R.message}`), new Error(N);
2453
+ let I = `cannot decode field ${n.typeName}.${y.name} from JSON: ${this.debug(p)}`;
2454
+ throw R instanceof Error && R.message.length > 0 && (I += `: ${R.message}`), new Error(I);
2455
2455
  }
2456
2456
  break;
2457
2457
  }
@@ -2707,16 +2707,16 @@ function Il() {
2707
2707
  case "scalar":
2708
2708
  case "enum":
2709
2709
  if (a.V.T === C.BYTES)
2710
- for (const [b, R] of Object.entries(u[s]))
2711
- c[s][b] = ln(R);
2710
+ for (const [E, R] of Object.entries(u[s]))
2711
+ c[s][E] = ln(R);
2712
2712
  else
2713
2713
  Object.assign(c[s], u[s]);
2714
2714
  break;
2715
2715
  case "message":
2716
2716
  const k = a.V.T;
2717
- for (const b of Object.keys(u[s])) {
2718
- let R = u[s][b];
2719
- k.fieldWrapper || (R = new k(R)), c[s][b] = R;
2717
+ for (const E of Object.keys(u[s])) {
2718
+ let R = u[s][E];
2719
+ k.fieldWrapper || (R = new k(R)), c[s][E] = R;
2720
2720
  }
2721
2721
  break;
2722
2722
  }
@@ -6847,7 +6847,7 @@ var At;
6847
6847
  const B1 = ({ feature: e, sdk: t, children: n, className: a }) => {
6848
6848
  const s = ut(e.status), { slStreamId: c } = ut(t.sdkStore);
6849
6849
  return c != null && c.loading ? /* @__PURE__ */ D("div", { className: a, children: "event is loading..." }) : c != null && c.data ? s !== At.Ready ? /* @__PURE__ */ D("div", { className: a, children: "wait feature..." }) : n : /* @__PURE__ */ D("div", { className: a, children: "event is forbidden..." });
6850
- }, U1 = Uc(() => import("./index-fb783640.js")), x1 = ({
6850
+ }, U1 = Uc(() => import("./index-b0e4fdb9.js")), x1 = ({
6851
6851
  sdk: e,
6852
6852
  feature: t,
6853
6853
  className: n
@@ -6902,13 +6902,13 @@ function H1(e) {
6902
6902
  const { vars: T } = n;
6903
6903
  if (T) {
6904
6904
  const k = {};
6905
- for (const N in T) {
6906
- const x = T[N], v = x[0], O = x[1] || "", U = typeof v == "function" ? v(c) : v;
6907
- q1(U, n.name), k[`--${N}`] = `${U}${O}`;
6905
+ for (const I in T) {
6906
+ const x = T[I], v = x[0], O = x[1] || "", B = typeof v == "function" ? v(c) : v;
6907
+ q1(B, n.name), k[`--${I}`] = `${B}${O}`;
6908
6908
  }
6909
- const b = h.style || {}, R = Object.keys(b);
6910
- R.length > 0 && R.forEach((N) => {
6911
- k[N] = b[N];
6909
+ const E = h.style || {}, R = Object.keys(E);
6910
+ R.length > 0 && R.forEach((I) => {
6911
+ k[I] = E[I];
6912
6912
  }), h.style = k;
6913
6913
  }
6914
6914
  return e.__linaria && e !== l ? (h.as = l, wn.createElement(e, h)) : wn.createElement(l, h);
@@ -7846,49 +7846,49 @@ function Wd(e, t, n) {
7846
7846
  var p = t.length;
7847
7847
  if (p === 0)
7848
7848
  return e;
7849
- for (var y = "", h = 1 - s, T = -1, k = e && e.length || 0, b = 0; b < k; ) {
7850
- if (e.charCodeAt(b) === 37 && b + 1 < k) {
7851
- switch (T = T > -1 ? T : 0, e.charCodeAt(b + 1)) {
7849
+ for (var y = "", h = 1 - s, T = -1, k = e && e.length || 0, E = 0; E < k; ) {
7850
+ if (e.charCodeAt(E) === 37 && E + 1 < k) {
7851
+ switch (T = T > -1 ? T : 0, e.charCodeAt(E + 1)) {
7852
7852
  case 100:
7853
7853
  case 102:
7854
7854
  if (h >= p || t[h] == null)
7855
7855
  break;
7856
- T < b && (y += e.slice(T, b)), y += Number(t[h]), T = b + 2, b++;
7856
+ T < E && (y += e.slice(T, E)), y += Number(t[h]), T = E + 2, E++;
7857
7857
  break;
7858
7858
  case 105:
7859
7859
  if (h >= p || t[h] == null)
7860
7860
  break;
7861
- T < b && (y += e.slice(T, b)), y += Math.floor(Number(t[h])), T = b + 2, b++;
7861
+ T < E && (y += e.slice(T, E)), y += Math.floor(Number(t[h])), T = E + 2, E++;
7862
7862
  break;
7863
7863
  case 79:
7864
7864
  case 111:
7865
7865
  case 106:
7866
7866
  if (h >= p || t[h] === void 0)
7867
7867
  break;
7868
- T < b && (y += e.slice(T, b));
7868
+ T < E && (y += e.slice(T, E));
7869
7869
  var R = typeof t[h];
7870
7870
  if (R === "string") {
7871
- y += "'" + t[h] + "'", T = b + 2, b++;
7871
+ y += "'" + t[h] + "'", T = E + 2, E++;
7872
7872
  break;
7873
7873
  }
7874
7874
  if (R === "function") {
7875
- y += t[h].name || "<anonymous>", T = b + 2, b++;
7875
+ y += t[h].name || "<anonymous>", T = E + 2, E++;
7876
7876
  break;
7877
7877
  }
7878
- y += a(t[h]), T = b + 2, b++;
7878
+ y += a(t[h]), T = E + 2, E++;
7879
7879
  break;
7880
7880
  case 115:
7881
7881
  if (h >= p)
7882
7882
  break;
7883
- T < b && (y += e.slice(T, b)), y += String(t[h]), T = b + 2, b++;
7883
+ T < E && (y += e.slice(T, E)), y += String(t[h]), T = E + 2, E++;
7884
7884
  break;
7885
7885
  case 37:
7886
- T < b && (y += e.slice(T, b)), y += "%", T = b + 2, b++, h--;
7886
+ T < E && (y += e.slice(T, E)), y += "%", T = E + 2, E++, h--;
7887
7887
  break;
7888
7888
  }
7889
7889
  ++h;
7890
7890
  }
7891
- ++b;
7891
+ ++E;
7892
7892
  }
7893
7893
  return T === -1 ? e : (T < k && (y += e.slice(T)), y);
7894
7894
  }
@@ -7945,15 +7945,15 @@ function mt(e) {
7945
7945
  let c = e.browser.serialize;
7946
7946
  Array.isArray(e.browser.serialize) && e.browser.serialize.indexOf("!stdSerializers.err") > -1 && (c = !1);
7947
7947
  const u = Object.keys(e.customLevels || {}), l = ["error", "fatal", "warn", "info", "debug", "trace"].concat(u);
7948
- typeof n == "function" && l.forEach(function(N) {
7949
- n[N] = n;
7948
+ typeof n == "function" && l.forEach(function(I) {
7949
+ n[I] = n;
7950
7950
  }), (e.enabled === !1 || e.browser.disabled) && (e.level = "silent");
7951
7951
  const p = e.level || "info", y = Object.create(n);
7952
7952
  y.log || (y.log = Sn), Xd(y, l, n), gs({}, y), Object.defineProperty(y, "levelVal", {
7953
7953
  get: T
7954
7954
  }), Object.defineProperty(y, "level", {
7955
7955
  get: k,
7956
- set: b
7956
+ set: E
7957
7957
  });
7958
7958
  const h = {
7959
7959
  transmit: t,
@@ -7969,29 +7969,29 @@ function mt(e) {
7969
7969
  function k() {
7970
7970
  return this._level;
7971
7971
  }
7972
- function b(N) {
7973
- if (N !== "silent" && !this.levels.values[N])
7974
- throw Error("unknown level " + N);
7975
- this._level = N, vt(this, h, y, "error"), vt(this, h, y, "fatal"), vt(this, h, y, "warn"), vt(this, h, y, "info"), vt(this, h, y, "debug"), vt(this, h, y, "trace"), u.forEach((x) => {
7972
+ function E(I) {
7973
+ if (I !== "silent" && !this.levels.values[I])
7974
+ throw Error("unknown level " + I);
7975
+ this._level = I, vt(this, h, y, "error"), vt(this, h, y, "fatal"), vt(this, h, y, "warn"), vt(this, h, y, "info"), vt(this, h, y, "debug"), vt(this, h, y, "trace"), u.forEach((x) => {
7976
7976
  vt(this, h, y, x);
7977
7977
  });
7978
7978
  }
7979
- function R(N, x) {
7980
- if (!N)
7979
+ function R(I, x) {
7980
+ if (!I)
7981
7981
  throw new Error("missing bindings for child Pino");
7982
- x = x || {}, s && N.serializers && (x.serializers = N.serializers);
7982
+ x = x || {}, s && I.serializers && (x.serializers = I.serializers);
7983
7983
  const v = x.serializers;
7984
7984
  if (s && v) {
7985
- var O = Object.assign({}, a, v), U = e.browser.serialize === !0 ? Object.keys(O) : s;
7986
- delete N.serializers, sa([N], U, O, this._stdErrSerialize);
7985
+ var O = Object.assign({}, a, v), B = e.browser.serialize === !0 ? Object.keys(O) : s;
7986
+ delete I.serializers, sa([I], B, O, this._stdErrSerialize);
7987
7987
  }
7988
- function B(V) {
7989
- this._childLevel = (V._childLevel | 0) + 1, this.bindings = N, O && (this.serializers = O, this._serialize = U), t && (this._logEvent = nr(
7990
- [].concat(V._logEvent.bindings, N)
7988
+ function U(V) {
7989
+ this._childLevel = (V._childLevel | 0) + 1, this.bindings = I, O && (this.serializers = O, this._serialize = B), t && (this._logEvent = nr(
7990
+ [].concat(V._logEvent.bindings, I)
7991
7991
  ));
7992
7992
  }
7993
- B.prototype = this;
7994
- const L = new B(this);
7993
+ U.prototype = this;
7994
+ const L = new U(this);
7995
7995
  return gs(this, L), L.level = this.level, L;
7996
7996
  }
7997
7997
  return y;
@@ -8227,12 +8227,12 @@ const Tp = /* @__PURE__ */ X("div")({
8227
8227
  class: "rcr31jh",
8228
8228
  propsAsIs: !1
8229
8229
  }), kp = /* @__PURE__ */ X("div")({
8230
- name: "t",
8231
- class: "thj4z8w",
8230
+ name: "i",
8231
+ class: "ihj4z8w",
8232
8232
  propsAsIs: !1
8233
8233
  }), Sp = /* @__PURE__ */ X("h3")({
8234
- name: "i",
8235
- class: "i1oks4sz",
8234
+ name: "t",
8235
+ class: "t1oks4sz",
8236
8236
  propsAsIs: !1
8237
8237
  }), bp = /* @__PURE__ */ X("div")({
8238
8238
  name: "n",
@@ -8248,7 +8248,7 @@ const Tp = /* @__PURE__ */ X("div")({
8248
8248
  body: n,
8249
8249
  action: a
8250
8250
  }) => /* @__PURE__ */ Ke(Tp, { children: [
8251
- e && /* @__PURE__ */ D(hp, { source: e.url, poster: e.thumbnailUrl }),
8251
+ (e == null ? void 0 : e.url) && /* @__PURE__ */ D(hp, { source: e.url, poster: e.thumbnailUrl }),
8252
8252
  /* @__PURE__ */ Ke(kp, { children: [
8253
8253
  /* @__PURE__ */ D(Sp, { children: t }),
8254
8254
  /* @__PURE__ */ D(bp, { children: n }),
@@ -8584,15 +8584,15 @@ var zp = globalThis && globalThis.__asyncValues || function(e) {
8584
8584
  return this;
8585
8585
  }, s;
8586
8586
  function u(k) {
8587
- a[k] && (s[k] = function(b) {
8588
- return new Promise(function(R, N) {
8589
- c.push([k, b, R, N]) > 1 || l(k, b);
8587
+ a[k] && (s[k] = function(E) {
8588
+ return new Promise(function(R, I) {
8589
+ c.push([k, E, R, I]) > 1 || l(k, E);
8590
8590
  });
8591
8591
  });
8592
8592
  }
8593
- function l(k, b) {
8593
+ function l(k, E) {
8594
8594
  try {
8595
- p(a[k](b));
8595
+ p(a[k](E));
8596
8596
  } catch (R) {
8597
8597
  T(c[0][3], R);
8598
8598
  }
@@ -8606,8 +8606,8 @@ var zp = globalThis && globalThis.__asyncValues || function(e) {
8606
8606
  function h(k) {
8607
8607
  l("throw", k);
8608
8608
  }
8609
- function T(k, b) {
8610
- k(b), c.shift(), c.length && l(c[0][0], c[0][1]);
8609
+ function T(k, E) {
8610
+ k(E), c.shift(), c.length && l(c[0][0], c[0][1]);
8611
8611
  }
8612
8612
  }, Wp = globalThis && globalThis.__asyncDelegator || function(e) {
8613
8613
  var t, n;
@@ -8675,15 +8675,15 @@ function ef(e, t, n) {
8675
8675
  return function(a, s, c, u) {
8676
8676
  const l = new AbortController();
8677
8677
  async function p() {
8678
- var y, h, T, k, b, R;
8678
+ var y, h, T, k, E, R;
8679
8679
  u = gi(l, u);
8680
- const N = await e.stream(t, n, u.signal, u.timeoutMs, u.headers, yi([a]), u.contextValues);
8681
- (b = u.onHeader) === null || b === void 0 || b.call(u, N.header);
8680
+ const I = await e.stream(t, n, u.signal, u.timeoutMs, u.headers, yi([a]), u.contextValues);
8681
+ (E = u.onHeader) === null || E === void 0 || E.call(u, I.header);
8682
8682
  try {
8683
- for (var x = !0, v = Zp(N.message), O; O = await v.next(), y = O.done, !y; x = !0)
8683
+ for (var x = !0, v = Zp(I.message), O; O = await v.next(), y = O.done, !y; x = !0)
8684
8684
  k = O.value, x = !1, s(k);
8685
- } catch (U) {
8686
- h = { error: U };
8685
+ } catch (B) {
8686
+ h = { error: B };
8687
8687
  } finally {
8688
8688
  try {
8689
8689
  !x && !y && (T = v.return) && await T.call(v);
@@ -8692,7 +8692,7 @@ function ef(e, t, n) {
8692
8692
  throw h.error;
8693
8693
  }
8694
8694
  }
8695
- (R = u.onTrailer) === null || R === void 0 || R.call(u, N.trailer), c(void 0);
8695
+ (R = u.onTrailer) === null || R === void 0 || R.call(u, I.trailer), c(void 0);
8696
8696
  }
8697
8697
  return p().catch((y) => {
8698
8698
  const h = he.from(y, re.Internal);
@@ -8744,15 +8744,15 @@ var hi = globalThis && globalThis.__asyncValues || function(e) {
8744
8744
  return this;
8745
8745
  }, s;
8746
8746
  function u(k) {
8747
- a[k] && (s[k] = function(b) {
8748
- return new Promise(function(R, N) {
8749
- c.push([k, b, R, N]) > 1 || l(k, b);
8747
+ a[k] && (s[k] = function(E) {
8748
+ return new Promise(function(R, I) {
8749
+ c.push([k, E, R, I]) > 1 || l(k, E);
8750
8750
  });
8751
8751
  });
8752
8752
  }
8753
- function l(k, b) {
8753
+ function l(k, E) {
8754
8754
  try {
8755
- p(a[k](b));
8755
+ p(a[k](E));
8756
8756
  } catch (R) {
8757
8757
  T(c[0][3], R);
8758
8758
  }
@@ -8766,8 +8766,8 @@ var hi = globalThis && globalThis.__asyncValues || function(e) {
8766
8766
  function h(k) {
8767
8767
  l("throw", k);
8768
8768
  }
8769
- function T(k, b) {
8770
- k(b), c.shift(), c.length && l(c[0][0], c[0][1]);
8769
+ function T(k, E) {
8770
+ k(E), c.shift(), c.length && l(c[0][0], c[0][1]);
8771
8771
  }
8772
8772
  };
8773
8773
  function af(e, t) {
@@ -8805,13 +8805,13 @@ function of(e, t, n) {
8805
8805
  (y = s == null ? void 0 : s.onHeader) === null || y === void 0 || y.call(s, T.header);
8806
8806
  let k;
8807
8807
  try {
8808
- for (var b = !0, R = hi(T.message), N; N = await R.next(), c = N.done, !c; b = !0)
8809
- p = N.value, b = !1, k = p;
8808
+ for (var E = !0, R = hi(T.message), I; I = await R.next(), c = I.done, !c; E = !0)
8809
+ p = I.value, E = !1, k = p;
8810
8810
  } catch (x) {
8811
8811
  u = { error: x };
8812
8812
  } finally {
8813
8813
  try {
8814
- !b && !c && (l = R.return) && await l.call(R);
8814
+ !E && !c && (l = R.return) && await l.call(R);
8815
8815
  } finally {
8816
8816
  if (u)
8817
8817
  throw u.error;
@@ -9140,15 +9140,15 @@ var Ct = globalThis && globalThis.__await || function(e) {
9140
9140
  return this;
9141
9141
  }, s;
9142
9142
  function u(k) {
9143
- a[k] && (s[k] = function(b) {
9144
- return new Promise(function(R, N) {
9145
- c.push([k, b, R, N]) > 1 || l(k, b);
9143
+ a[k] && (s[k] = function(E) {
9144
+ return new Promise(function(R, I) {
9145
+ c.push([k, E, R, I]) > 1 || l(k, E);
9146
9146
  });
9147
9147
  });
9148
9148
  }
9149
- function l(k, b) {
9149
+ function l(k, E) {
9150
9150
  try {
9151
- p(a[k](b));
9151
+ p(a[k](E));
9152
9152
  } catch (R) {
9153
9153
  T(c[0][3], R);
9154
9154
  }
@@ -9162,8 +9162,8 @@ var Ct = globalThis && globalThis.__await || function(e) {
9162
9162
  function h(k) {
9163
9163
  l("throw", k);
9164
9164
  }
9165
- function T(k, b) {
9166
- k(b), c.shift(), c.length && l(c[0][0], c[0][1]);
9165
+ function T(k, E) {
9166
+ k(E), c.shift(), c.length && l(c[0][0], c[0][1]);
9167
9167
  }
9168
9168
  };
9169
9169
  function Af(e) {
@@ -9193,36 +9193,36 @@ function Af(e) {
9193
9193
  contextValues: y ?? ws(),
9194
9194
  message: p
9195
9195
  },
9196
- next: async (b) => {
9196
+ next: async (E) => {
9197
9197
  var R;
9198
- const x = await ((R = e.fetch) !== null && R !== void 0 ? R : globalThis.fetch)(b.url, Object.assign(Object.assign({}, b.init), { headers: b.header, signal: b.signal, body: vs(0, T(b.message)) }));
9198
+ const x = await ((R = e.fetch) !== null && R !== void 0 ? R : globalThis.fetch)(E.url, Object.assign(Object.assign({}, E.init), { headers: E.header, signal: E.signal, body: vs(0, T(E.message)) }));
9199
9199
  if (Ms(x.status, x.headers), !x.body)
9200
9200
  throw "missing response body";
9201
9201
  const v = _s(x.body).getReader();
9202
- let O, U;
9202
+ let O, B;
9203
9203
  for (; ; ) {
9204
- const B = await v.read();
9205
- if (B.done)
9204
+ const U = await v.read();
9205
+ if (U.done)
9206
9206
  break;
9207
- const { flags: L, data: V } = B.value;
9207
+ const { flags: L, data: V } = U.value;
9208
9208
  if (L === _a) {
9209
9209
  if (O !== void 0)
9210
9210
  throw "extra trailer";
9211
9211
  O = Rs(V);
9212
9212
  continue;
9213
9213
  }
9214
- if (U !== void 0)
9214
+ if (B !== void 0)
9215
9215
  throw "extra message";
9216
- U = k(V);
9216
+ B = k(V);
9217
9217
  }
9218
9218
  if (O === void 0)
9219
9219
  throw "missing trailer";
9220
- if (Os(O), U === void 0)
9220
+ if (Os(O), B === void 0)
9221
9221
  throw "missing message";
9222
9222
  return {
9223
9223
  stream: !1,
9224
9224
  header: x.headers,
9225
- message: U,
9225
+ message: B,
9226
9226
  trailer: O
9227
9227
  };
9228
9228
  }
@@ -9231,40 +9231,40 @@ function Af(e) {
9231
9231
  async stream(a, s, c, u, l, p, y) {
9232
9232
  var h;
9233
9233
  const { serialize: T, parse: k } = Cs(s, n, e.jsonOptions, e.binaryOptions);
9234
- function b(N, x, v) {
9234
+ function E(I, x, v) {
9235
9235
  return Rf(this, arguments, function* () {
9236
- const U = _s(N).getReader();
9236
+ const B = _s(I).getReader();
9237
9237
  if (x) {
9238
- if (!(yield Ct(U.read())).done)
9238
+ if (!(yield Ct(B.read())).done)
9239
9239
  throw "extra data for trailers-only";
9240
9240
  return yield Ct(void 0);
9241
9241
  }
9242
- let B = !1;
9242
+ let U = !1;
9243
9243
  for (; ; ) {
9244
- const L = yield Ct(U.read());
9244
+ const L = yield Ct(B.read());
9245
9245
  if (L.done)
9246
9246
  break;
9247
9247
  const { flags: V, data: P } = L.value;
9248
9248
  if ((V & _a) === _a) {
9249
- if (B)
9249
+ if (U)
9250
9250
  throw "extra trailer";
9251
- B = !0;
9251
+ U = !0;
9252
9252
  const z = Rs(P);
9253
9253
  Os(z), z.forEach((oe, ge) => v.set(ge, oe));
9254
9254
  continue;
9255
9255
  }
9256
- if (B)
9256
+ if (U)
9257
9257
  throw "extra message";
9258
9258
  yield yield Ct(k(P));
9259
9259
  }
9260
- if (!B)
9260
+ if (!U)
9261
9261
  throw "missing trailer";
9262
9262
  });
9263
9263
  }
9264
- async function R(N) {
9264
+ async function R(I) {
9265
9265
  if (s.kind != G.ServerStreaming)
9266
9266
  throw "The fetch API does not support streaming request bodies";
9267
- const x = await N[Symbol.asyncIterator]().next();
9267
+ const x = await I[Symbol.asyncIterator]().next();
9268
9268
  if (x.done == !0)
9269
9269
  throw "missing request message";
9270
9270
  return vs(0, T(x.value));
@@ -9288,13 +9288,13 @@ function Af(e) {
9288
9288
  contextValues: y ?? ws(),
9289
9289
  message: p
9290
9290
  },
9291
- next: async (N) => {
9291
+ next: async (I) => {
9292
9292
  var x;
9293
- const O = await ((x = e.fetch) !== null && x !== void 0 ? x : globalThis.fetch)(N.url, Object.assign(Object.assign({}, N.init), { headers: N.header, signal: N.signal, body: await R(N.message) })), { foundStatus: U } = Ms(O.status, O.headers);
9293
+ const O = await ((x = e.fetch) !== null && x !== void 0 ? x : globalThis.fetch)(I.url, Object.assign(Object.assign({}, I.init), { headers: I.header, signal: I.signal, body: await R(I.message) })), { foundStatus: B } = Ms(O.status, O.headers);
9294
9294
  if (!O.body)
9295
9295
  throw "missing response body";
9296
- const B = new Headers();
9297
- return Object.assign(Object.assign({}, N), { header: O.headers, trailer: B, message: b(O.body, U, B) });
9296
+ const U = new Headers();
9297
+ return Object.assign(Object.assign({}, I), { header: O.headers, trailer: U, message: E(O.body, B, U) });
9298
9298
  }
9299
9299
  });
9300
9300
  }
@@ -9327,29 +9327,29 @@ const If = ({
9327
9327
  }), Ds("online", () => a.emit(xs));
9328
9328
  const c = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map();
9329
9329
  let p = {};
9330
- const y = async ([v, O], U, B, L) => {
9330
+ const y = async ([v, O], B, U, L) => {
9331
9331
  var V;
9332
9332
  if (!s)
9333
9333
  return;
9334
9334
  const P = (le) => {
9335
- U.key === v && (U.set(le), a.emit(va, v, le, !0));
9335
+ B.key === v && (B.set(le), a.emit(va, v, le, !0));
9336
9336
  }, z = () => {
9337
9337
  P({
9338
- ...U.value,
9338
+ ...B.value,
9339
9339
  ...Vs,
9340
9340
  promise: l.get(v)
9341
9341
  });
9342
9342
  }, { dedupeTime: oe = 4e3, fetcher: ge } = {
9343
- ...B,
9343
+ ...U,
9344
9344
  ...p
9345
9345
  }, ce = Fs();
9346
9346
  if (l.has(v)) {
9347
- U.value.loading || z();
9347
+ B.value.loading || z();
9348
9348
  return;
9349
9349
  }
9350
9350
  if (!L) {
9351
9351
  const le = e.get(v);
9352
- le && U.value.data !== le && P({ data: le, ...gt });
9352
+ le && B.value.data !== le && P({ data: le, ...gt });
9353
9353
  const ne = u.get(v);
9354
9354
  if (ne && ne + oe > ce)
9355
9355
  return;
@@ -9361,33 +9361,33 @@ const If = ({
9361
9361
  const ne = await le;
9362
9362
  e.set(v, ne), P({ data: ne, ...gt }), u.set(v, Fs());
9363
9363
  } catch (le) {
9364
- (V = B.onError) == null || V.call(B, le), P({ data: U.value.data, error: le, ...gt });
9364
+ (V = U.onError) == null || V.call(U, le), P({ data: B.value.data, error: le, ...gt });
9365
9365
  } finally {
9366
9366
  Te(), l.delete(v);
9367
9367
  }
9368
9368
  }, h = (v, {
9369
9369
  fetcher: O = t,
9370
- ...U
9370
+ ...B
9371
9371
  } = {}) => {
9372
- const B = er({
9372
+ const U = er({
9373
9373
  ...gt
9374
- }), L = { ...n, ...U, fetcher: O };
9375
- B._ = Ri, B.invalidate = () => {
9376
- const { key: ne } = B;
9377
- ne && b(ne);
9378
- }, B.mutate = (ne) => {
9379
- const { key: me } = B;
9374
+ }), L = { ...n, ...B, fetcher: O };
9375
+ U._ = Ri, U.invalidate = () => {
9376
+ const { key: ne } = U;
9377
+ ne && E(ne);
9378
+ }, U.mutate = (ne) => {
9379
+ const { key: me } = U;
9380
9380
  me && R(me, ne);
9381
9381
  };
9382
9382
  let V, P, z, oe, ge, ce = [];
9383
- I1(B, () => {
9383
+ I1(U, () => {
9384
9384
  const ne = !V;
9385
9385
  [ge, V] = Nf(v), oe = ge.subscribe((we) => {
9386
9386
  if (we) {
9387
- const [q, E] = we;
9388
- B.key = q, y([q, E], B, L), P = q, z = E;
9387
+ const [q, b] = we;
9388
+ U.key = q, y([q, b], U, L), P = q, z = b;
9389
9389
  } else
9390
- B.key = P = z = void 0, B.set({ ...gt });
9390
+ U.key = P = z = void 0, U.set({ ...gt });
9391
9391
  });
9392
9392
  const me = ge.get();
9393
9393
  me && ([P, z] = me, ne && Te());
@@ -9396,58 +9396,58 @@ const If = ({
9396
9396
  refetchOnFocus: Xe,
9397
9397
  refetchOnReconnect: xe
9398
9398
  } = L, ve = () => {
9399
- P && y([P, z], B, L);
9399
+ P && y([P, z], U, L);
9400
9400
  };
9401
9401
  Be > 0 && c.set(
9402
9402
  v,
9403
9403
  setInterval(ve, Be)
9404
9404
  ), Xe && ce.push(a.on(Us, ve)), xe && ce.push(a.on(xs, ve)), ce.push(
9405
9405
  a.on(Ps, (we) => {
9406
- P && wa(P, we) && y([P, z], B, L, !0);
9406
+ P && wa(P, we) && y([P, z], U, L, !0);
9407
9407
  }),
9408
- a.on(va, (we, q, E) => {
9409
- P && wa(P, we) && B.value !== q && B.value.data !== q && B.set(
9410
- E ? q : { data: q, ...gt }
9408
+ a.on(va, (we, q, b) => {
9409
+ P && wa(P, we) && U.value !== q && U.value.data !== q && U.set(
9410
+ b ? q : { data: q, ...gt }
9411
9411
  );
9412
9412
  })
9413
9413
  );
9414
9414
  });
9415
9415
  const Te = () => {
9416
- P && z && y([P, z], B, L);
9417
- }, le = B.listen;
9418
- return B.listen = (ne) => {
9416
+ P && z && y([P, z], U, L);
9417
+ }, le = U.listen;
9418
+ return U.listen = (ne) => {
9419
9419
  const me = le(ne);
9420
- return ne(B.value), Te(), me;
9421
- }, N1(B, () => {
9422
- B.value = { ...gt }, V == null || V(), ce.forEach((me) => me()), ce = [], oe == null || oe();
9420
+ return ne(U.value), Te(), me;
9421
+ }, N1(U, () => {
9422
+ U.value = { ...gt }, V == null || V(), ce.forEach((me) => me()), ce = [], oe == null || oe();
9423
9423
  const ne = c.get(v);
9424
9424
  ne && clearInterval(ne);
9425
- }), B;
9425
+ }), U;
9426
9426
  }, T = (v) => {
9427
9427
  e.delete(v), u.delete(v);
9428
9428
  }, k = (v, O) => {
9429
- for (const U of e.keys())
9430
- wa(U, v) && O(U);
9431
- }, b = (v) => {
9429
+ for (const B of e.keys())
9430
+ wa(B, v) && O(B);
9431
+ }, E = (v) => {
9432
9432
  k(v, T), a.emit(Ps, v);
9433
9433
  }, R = (v, O) => {
9434
- k(v, (U) => {
9435
- O === void 0 ? T(U) : e.set(U, O);
9434
+ k(v, (B) => {
9435
+ O === void 0 ? T(B) : e.set(B, O);
9436
9436
  }), a.emit(va, v, O);
9437
9437
  };
9438
- function N(v) {
9439
- const O = async (B) => {
9438
+ function I(v) {
9439
+ const O = async (U) => {
9440
9440
  var L;
9441
9441
  const V = p.fetcher ?? v, P = [];
9442
9442
  try {
9443
- U.set({
9443
+ B.set({
9444
9444
  error: void 0,
9445
9445
  data: void 0,
9446
9446
  mutate: O,
9447
9447
  ...Vs
9448
9448
  });
9449
9449
  const z = await V({
9450
- data: B,
9450
+ data: U,
9451
9451
  invalidate: (oe) => {
9452
9452
  P.push(oe);
9453
9453
  },
@@ -9458,26 +9458,26 @@ const If = ({
9458
9458
  e.get(oe)
9459
9459
  ]
9460
9460
  });
9461
- return U.setKey("data", z), z;
9461
+ return B.setKey("data", z), z;
9462
9462
  } catch (z) {
9463
- (L = n == null ? void 0 : n.onError) == null || L.call(n, z), U.setKey("error", z);
9463
+ (L = n == null ? void 0 : n.onError) == null || L.call(n, z), B.setKey("error", z);
9464
9464
  } finally {
9465
- U.setKey("loading", !1), P.forEach(b);
9465
+ B.setKey("loading", !1), P.forEach(E);
9466
9466
  }
9467
- }, U = er({
9467
+ }, B = er({
9468
9468
  mutate: O,
9469
9469
  ...gt
9470
9470
  });
9471
- return U.mutate = O, U;
9471
+ return B.mutate = O, B;
9472
9472
  }
9473
9473
  return [
9474
9474
  h,
9475
- N,
9475
+ I,
9476
9476
  { __unsafeOverruleSettings: (v) => {
9477
9477
  console.warn(
9478
9478
  "You should only use __unsafeOverruleSettings in test environment"
9479
9479
  ), p = v;
9480
- }, invalidateKeys: b, mutateCache: R }
9480
+ }, invalidateKeys: E, mutateCache: R }
9481
9481
  ];
9482
9482
  };
9483
9483
  function Bs(e) {
@@ -15094,8 +15094,8 @@ function Lg(e) {
15094
15094
  var xr = {};
15095
15095
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
15096
15096
  xr.read = function(e, t, n, a, s) {
15097
- var c, u, l = s * 8 - a - 1, p = (1 << l) - 1, y = p >> 1, h = -7, T = n ? s - 1 : 0, k = n ? -1 : 1, b = e[t + T];
15098
- for (T += k, c = b & (1 << -h) - 1, b >>= -h, h += l; h > 0; c = c * 256 + e[t + T], T += k, h -= 8)
15097
+ var c, u, l = s * 8 - a - 1, p = (1 << l) - 1, y = p >> 1, h = -7, T = n ? s - 1 : 0, k = n ? -1 : 1, E = e[t + T];
15098
+ for (T += k, c = E & (1 << -h) - 1, E >>= -h, h += l; h > 0; c = c * 256 + e[t + T], T += k, h -= 8)
15099
15099
  ;
15100
15100
  for (u = c & (1 << -h) - 1, c >>= -h, h += a; h > 0; u = u * 256 + e[t + T], T += k, h -= 8)
15101
15101
  ;
@@ -15103,18 +15103,18 @@ xr.read = function(e, t, n, a, s) {
15103
15103
  c = 1 - y;
15104
15104
  else {
15105
15105
  if (c === p)
15106
- return u ? NaN : (b ? -1 : 1) * (1 / 0);
15106
+ return u ? NaN : (E ? -1 : 1) * (1 / 0);
15107
15107
  u = u + Math.pow(2, a), c = c - y;
15108
15108
  }
15109
- return (b ? -1 : 1) * u * Math.pow(2, c - a);
15109
+ return (E ? -1 : 1) * u * Math.pow(2, c - a);
15110
15110
  };
15111
15111
  xr.write = function(e, t, n, a, s, c) {
15112
- var u, l, p, y = c * 8 - s - 1, h = (1 << y) - 1, T = h >> 1, k = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, b = a ? 0 : c - 1, R = a ? 1 : -1, N = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
15113
- for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (l = isNaN(t) ? 1 : 0, u = h) : (u = Math.floor(Math.log(t) / Math.LN2), t * (p = Math.pow(2, -u)) < 1 && (u--, p *= 2), u + T >= 1 ? t += k / p : t += k * Math.pow(2, 1 - T), t * p >= 2 && (u++, p /= 2), u + T >= h ? (l = 0, u = h) : u + T >= 1 ? (l = (t * p - 1) * Math.pow(2, s), u = u + T) : (l = t * Math.pow(2, T - 1) * Math.pow(2, s), u = 0)); s >= 8; e[n + b] = l & 255, b += R, l /= 256, s -= 8)
15112
+ var u, l, p, y = c * 8 - s - 1, h = (1 << y) - 1, T = h >> 1, k = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, E = a ? 0 : c - 1, R = a ? 1 : -1, I = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
15113
+ for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (l = isNaN(t) ? 1 : 0, u = h) : (u = Math.floor(Math.log(t) / Math.LN2), t * (p = Math.pow(2, -u)) < 1 && (u--, p *= 2), u + T >= 1 ? t += k / p : t += k * Math.pow(2, 1 - T), t * p >= 2 && (u++, p /= 2), u + T >= h ? (l = 0, u = h) : u + T >= 1 ? (l = (t * p - 1) * Math.pow(2, s), u = u + T) : (l = t * Math.pow(2, T - 1) * Math.pow(2, s), u = 0)); s >= 8; e[n + E] = l & 255, E += R, l /= 256, s -= 8)
15114
15114
  ;
15115
- for (u = u << s | l, y += s; y > 0; e[n + b] = u & 255, b += R, u /= 256, y -= 8)
15115
+ for (u = u << s | l, y += s; y > 0; e[n + E] = u & 255, E += R, u /= 256, y -= 8)
15116
15116
  ;
15117
- e[n + b - R] |= N * 128;
15117
+ e[n + E - R] |= I * 128;
15118
15118
  };
15119
15119
  /*!
15120
15120
  * The buffer module from node.js, for the browser.
@@ -15179,7 +15179,7 @@ xr.write = function(e, t, n, a, s, c) {
15179
15179
  "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof o
15180
15180
  );
15181
15181
  if (de(o, ArrayBuffer) || o && de(o.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (de(o, SharedArrayBuffer) || o && de(o.buffer, SharedArrayBuffer)))
15182
- return N(o, r, i);
15182
+ return I(o, r, i);
15183
15183
  if (typeof o == "number")
15184
15184
  throw new TypeError(
15185
15185
  'The "value" argument must not be of type number. Received type number'
@@ -15222,12 +15222,12 @@ xr.write = function(e, t, n, a, s, c) {
15222
15222
  function k(o, r) {
15223
15223
  if ((typeof r != "string" || r === "") && (r = "utf8"), !l.isEncoding(r))
15224
15224
  throw new TypeError("Unknown encoding: " + r);
15225
- const i = U(o, r) | 0;
15225
+ const i = B(o, r) | 0;
15226
15226
  let d = u(i);
15227
15227
  const f = d.write(o, r);
15228
15228
  return f !== i && (d = d.slice(0, f)), d;
15229
15229
  }
15230
- function b(o) {
15230
+ function E(o) {
15231
15231
  const r = o.length < 0 ? 0 : v(o.length) | 0, i = u(r);
15232
15232
  for (let d = 0; d < r; d += 1)
15233
15233
  i[d] = o[d] & 255;
@@ -15236,11 +15236,11 @@ xr.write = function(e, t, n, a, s, c) {
15236
15236
  function R(o) {
15237
15237
  if (de(o, Uint8Array)) {
15238
15238
  const r = new Uint8Array(o);
15239
- return N(r.buffer, r.byteOffset, r.byteLength);
15239
+ return I(r.buffer, r.byteOffset, r.byteLength);
15240
15240
  }
15241
- return b(o);
15241
+ return E(o);
15242
15242
  }
15243
- function N(o, r, i) {
15243
+ function I(o, r, i) {
15244
15244
  if (r < 0 || o.byteLength < r)
15245
15245
  throw new RangeError('"offset" is outside of buffer bounds');
15246
15246
  if (o.byteLength < r + (i || 0))
@@ -15254,9 +15254,9 @@ xr.write = function(e, t, n, a, s, c) {
15254
15254
  return i.length === 0 || o.copy(i, 0, 0, r), i;
15255
15255
  }
15256
15256
  if (o.length !== void 0)
15257
- return typeof o.length != "number" || _t(o.length) ? u(0) : b(o);
15257
+ return typeof o.length != "number" || _t(o.length) ? u(0) : E(o);
15258
15258
  if (o.type === "Buffer" && Array.isArray(o.data))
15259
- return b(o.data);
15259
+ return E(o.data);
15260
15260
  }
15261
15261
  function v(o) {
15262
15262
  if (o >= s)
@@ -15326,7 +15326,7 @@ xr.write = function(e, t, n, a, s, c) {
15326
15326
  }
15327
15327
  return d;
15328
15328
  };
15329
- function U(o, r) {
15329
+ function B(o, r) {
15330
15330
  if (l.isBuffer(o))
15331
15331
  return o.length;
15332
15332
  if (ArrayBuffer.isView(o) || de(o, ArrayBuffer))
@@ -15363,8 +15363,8 @@ xr.write = function(e, t, n, a, s, c) {
15363
15363
  r = ("" + r).toLowerCase(), f = !0;
15364
15364
  }
15365
15365
  }
15366
- l.byteLength = U;
15367
- function B(o, r, i) {
15366
+ l.byteLength = B;
15367
+ function U(o, r, i) {
15368
15368
  let d = !1;
15369
15369
  if ((r === void 0 || r < 0) && (r = 0), r > this.length || ((i === void 0 || i > this.length) && (i = this.length), i <= 0) || (i >>>= 0, r >>>= 0, i <= r))
15370
15370
  return "";
@@ -15421,7 +15421,7 @@ xr.write = function(e, t, n, a, s, c) {
15421
15421
  return this;
15422
15422
  }, l.prototype.toString = function() {
15423
15423
  const o = this.length;
15424
- return o === 0 ? "" : arguments.length === 0 ? ne(this, 0, o) : B.apply(this, arguments);
15424
+ return o === 0 ? "" : arguments.length === 0 ? ne(this, 0, o) : U.apply(this, arguments);
15425
15425
  }, l.prototype.toLocaleString = l.prototype.toString, l.prototype.equals = function(o) {
15426
15426
  if (!l.isBuffer(o))
15427
15427
  throw new TypeError("Argument must be a Buffer");
@@ -15536,7 +15536,7 @@ xr.write = function(e, t, n, a, s, c) {
15536
15536
  return tt(Et(r), o, i, d);
15537
15537
  }
15538
15538
  function Te(o, r, i, d) {
15539
- return tt(I(r, o.length - i), o, i, d);
15539
+ return tt(N(r, o.length - i), o, i, d);
15540
15540
  }
15541
15541
  l.prototype.write = function(o, r, i, d) {
15542
15542
  if (r === void 0)
@@ -15749,7 +15749,7 @@ xr.write = function(e, t, n, a, s, c) {
15749
15749
  }, l.prototype.readDoubleBE = function(o, r) {
15750
15750
  return o = o >>> 0, r || q(o, 8, this.length), n.read(this, o, !1, 52, 8);
15751
15751
  };
15752
- function E(o, r, i, d, f, g) {
15752
+ function b(o, r, i, d, f, g) {
15753
15753
  if (!l.isBuffer(o))
15754
15754
  throw new TypeError('"buffer" argument must be a Buffer instance');
15755
15755
  if (r > f || r < g)
@@ -15760,7 +15760,7 @@ xr.write = function(e, t, n, a, s, c) {
15760
15760
  l.prototype.writeUintLE = l.prototype.writeUIntLE = function(o, r, i, d) {
15761
15761
  if (o = +o, r = r >>> 0, i = i >>> 0, !d) {
15762
15762
  const S = Math.pow(2, 8 * i) - 1;
15763
- E(this, o, r, i, S, 0);
15763
+ b(this, o, r, i, S, 0);
15764
15764
  }
15765
15765
  let f = 1, g = 0;
15766
15766
  for (this[r] = o & 255; ++g < i && (f *= 256); )
@@ -15769,22 +15769,22 @@ xr.write = function(e, t, n, a, s, c) {
15769
15769
  }, l.prototype.writeUintBE = l.prototype.writeUIntBE = function(o, r, i, d) {
15770
15770
  if (o = +o, r = r >>> 0, i = i >>> 0, !d) {
15771
15771
  const S = Math.pow(2, 8 * i) - 1;
15772
- E(this, o, r, i, S, 0);
15772
+ b(this, o, r, i, S, 0);
15773
15773
  }
15774
15774
  let f = i - 1, g = 1;
15775
15775
  for (this[r + f] = o & 255; --f >= 0 && (g *= 256); )
15776
15776
  this[r + f] = o / g & 255;
15777
15777
  return r + i;
15778
15778
  }, l.prototype.writeUint8 = l.prototype.writeUInt8 = function(o, r, i) {
15779
- return o = +o, r = r >>> 0, i || E(this, o, r, 1, 255, 0), this[r] = o & 255, r + 1;
15779
+ return o = +o, r = r >>> 0, i || b(this, o, r, 1, 255, 0), this[r] = o & 255, r + 1;
15780
15780
  }, l.prototype.writeUint16LE = l.prototype.writeUInt16LE = function(o, r, i) {
15781
- return o = +o, r = r >>> 0, i || E(this, o, r, 2, 65535, 0), this[r] = o & 255, this[r + 1] = o >>> 8, r + 2;
15781
+ return o = +o, r = r >>> 0, i || b(this, o, r, 2, 65535, 0), this[r] = o & 255, this[r + 1] = o >>> 8, r + 2;
15782
15782
  }, l.prototype.writeUint16BE = l.prototype.writeUInt16BE = function(o, r, i) {
15783
- return o = +o, r = r >>> 0, i || E(this, o, r, 2, 65535, 0), this[r] = o >>> 8, this[r + 1] = o & 255, r + 2;
15783
+ return o = +o, r = r >>> 0, i || b(this, o, r, 2, 65535, 0), this[r] = o >>> 8, this[r + 1] = o & 255, r + 2;
15784
15784
  }, l.prototype.writeUint32LE = l.prototype.writeUInt32LE = function(o, r, i) {
15785
- return o = +o, r = r >>> 0, i || E(this, o, r, 4, 4294967295, 0), this[r + 3] = o >>> 24, this[r + 2] = o >>> 16, this[r + 1] = o >>> 8, this[r] = o & 255, r + 4;
15785
+ return o = +o, r = r >>> 0, i || b(this, o, r, 4, 4294967295, 0), this[r + 3] = o >>> 24, this[r + 2] = o >>> 16, this[r + 1] = o >>> 8, this[r] = o & 255, r + 4;
15786
15786
  }, l.prototype.writeUint32BE = l.prototype.writeUInt32BE = function(o, r, i) {
15787
- return o = +o, r = r >>> 0, i || E(this, o, r, 4, 4294967295, 0), this[r] = o >>> 24, this[r + 1] = o >>> 16, this[r + 2] = o >>> 8, this[r + 3] = o & 255, r + 4;
15787
+ return o = +o, r = r >>> 0, i || b(this, o, r, 4, 4294967295, 0), this[r] = o >>> 24, this[r + 1] = o >>> 16, this[r + 2] = o >>> 8, this[r + 3] = o & 255, r + 4;
15788
15788
  };
15789
15789
  function A(o, r, i, d, f) {
15790
15790
  Ue(r, d, f, o, i, 7);
@@ -15807,7 +15807,7 @@ xr.write = function(e, t, n, a, s, c) {
15807
15807
  }), l.prototype.writeIntLE = function(o, r, i, d) {
15808
15808
  if (o = +o, r = r >>> 0, !d) {
15809
15809
  const F = Math.pow(2, 8 * i - 1);
15810
- E(this, o, r, i, F - 1, -F);
15810
+ b(this, o, r, i, F - 1, -F);
15811
15811
  }
15812
15812
  let f = 0, g = 1, S = 0;
15813
15813
  for (this[r] = o & 255; ++f < i && (g *= 256); )
@@ -15816,22 +15816,22 @@ xr.write = function(e, t, n, a, s, c) {
15816
15816
  }, l.prototype.writeIntBE = function(o, r, i, d) {
15817
15817
  if (o = +o, r = r >>> 0, !d) {
15818
15818
  const F = Math.pow(2, 8 * i - 1);
15819
- E(this, o, r, i, F - 1, -F);
15819
+ b(this, o, r, i, F - 1, -F);
15820
15820
  }
15821
15821
  let f = i - 1, g = 1, S = 0;
15822
15822
  for (this[r + f] = o & 255; --f >= 0 && (g *= 256); )
15823
15823
  o < 0 && S === 0 && this[r + f + 1] !== 0 && (S = 1), this[r + f] = (o / g >> 0) - S & 255;
15824
15824
  return r + i;
15825
15825
  }, l.prototype.writeInt8 = function(o, r, i) {
15826
- return o = +o, r = r >>> 0, i || E(this, o, r, 1, 127, -128), o < 0 && (o = 255 + o + 1), this[r] = o & 255, r + 1;
15826
+ return o = +o, r = r >>> 0, i || b(this, o, r, 1, 127, -128), o < 0 && (o = 255 + o + 1), this[r] = o & 255, r + 1;
15827
15827
  }, l.prototype.writeInt16LE = function(o, r, i) {
15828
- return o = +o, r = r >>> 0, i || E(this, o, r, 2, 32767, -32768), this[r] = o & 255, this[r + 1] = o >>> 8, r + 2;
15828
+ return o = +o, r = r >>> 0, i || b(this, o, r, 2, 32767, -32768), this[r] = o & 255, this[r + 1] = o >>> 8, r + 2;
15829
15829
  }, l.prototype.writeInt16BE = function(o, r, i) {
15830
- return o = +o, r = r >>> 0, i || E(this, o, r, 2, 32767, -32768), this[r] = o >>> 8, this[r + 1] = o & 255, r + 2;
15830
+ return o = +o, r = r >>> 0, i || b(this, o, r, 2, 32767, -32768), this[r] = o >>> 8, this[r + 1] = o & 255, r + 2;
15831
15831
  }, l.prototype.writeInt32LE = function(o, r, i) {
15832
- return o = +o, r = r >>> 0, i || E(this, o, r, 4, 2147483647, -2147483648), this[r] = o & 255, this[r + 1] = o >>> 8, this[r + 2] = o >>> 16, this[r + 3] = o >>> 24, r + 4;
15832
+ return o = +o, r = r >>> 0, i || b(this, o, r, 4, 2147483647, -2147483648), this[r] = o & 255, this[r + 1] = o >>> 8, this[r + 2] = o >>> 16, this[r + 3] = o >>> 24, r + 4;
15833
15833
  }, l.prototype.writeInt32BE = function(o, r, i) {
15834
- return o = +o, r = r >>> 0, i || E(this, o, r, 4, 2147483647, -2147483648), o < 0 && (o = 4294967295 + o + 1), this[r] = o >>> 24, this[r + 1] = o >>> 16, this[r + 2] = o >>> 8, this[r + 3] = o & 255, r + 4;
15834
+ return o = +o, r = r >>> 0, i || b(this, o, r, 4, 2147483647, -2147483648), o < 0 && (o = 4294967295 + o + 1), this[r] = o >>> 24, this[r + 1] = o >>> 16, this[r + 2] = o >>> 8, this[r + 3] = o & 255, r + 4;
15835
15835
  }, l.prototype.writeBigInt64LE = Re(function(o, r = 0) {
15836
15836
  return A(this, o, r, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
15837
15837
  }), l.prototype.writeBigInt64BE = Re(function(o, r = 0) {
@@ -16054,7 +16054,7 @@ xr.write = function(e, t, n, a, s, c) {
16054
16054
  r.push(o.charCodeAt(i) & 255);
16055
16055
  return r;
16056
16056
  }
16057
- function I(o, r) {
16057
+ function N(o, r) {
16058
16058
  let i, d, f;
16059
16059
  const g = [];
16060
16060
  for (let S = 0; S < o.length && !((r -= 2) < 0); ++S)
@@ -16951,36 +16951,36 @@ function Vr(e) {
16951
16951
  }
16952
16952
  function n(v) {
16953
16953
  let O = 0;
16954
- const U = v.length, B = new Array(U);
16955
- for (O = 0; O < U; ++O)
16956
- B[O] = b(v[O]);
16957
- return B;
16954
+ const B = v.length, U = new Array(B);
16955
+ for (O = 0; O < B; ++O)
16956
+ U[O] = E(v[O]);
16957
+ return U;
16958
16958
  }
16959
16959
  function a(v) {
16960
16960
  const O = {};
16961
16961
  if (p && Object.getPrototypeOf(v) !== fh)
16962
16962
  return p(v);
16963
- const U = l(v);
16964
- let B, L, V;
16965
- for (B = 0, L = U.length; B < L; ++B)
16966
- t(V = U[B]) && (O[V] = b(v[V]));
16963
+ const B = l(v);
16964
+ let U, L, V;
16965
+ for (U = 0, L = B.length; U < L; ++U)
16966
+ t(V = B[U]) && (O[V] = E(v[V]));
16967
16967
  return O;
16968
16968
  }
16969
16969
  function s(v, O) {
16970
- const U = v.length, B = O.length;
16970
+ const B = v.length, U = O.length;
16971
16971
  let L = 0;
16972
- const V = new Array(U + B);
16973
- for (L = 0; L < U; ++L)
16974
- V[L] = b(v[L]);
16972
+ const V = new Array(B + U);
16975
16973
  for (L = 0; L < B; ++L)
16976
- V[L + U] = b(O[L]);
16974
+ V[L] = E(v[L]);
16975
+ for (L = 0; L < U; ++L)
16976
+ V[L + B] = E(O[L]);
16977
16977
  return V;
16978
16978
  }
16979
16979
  const c = Object.prototype.propertyIsEnumerable;
16980
16980
  function u(v) {
16981
- const O = Object.keys(v), U = Object.getOwnPropertySymbols(v);
16982
- for (let B = 0, L = U.length; B < L; ++B)
16983
- c.call(v, U[B]) && O.push(U[B]);
16981
+ const O = Object.keys(v), B = Object.getOwnPropertySymbols(v);
16982
+ for (let U = 0, L = B.length; U < L; ++U)
16983
+ c.call(v, B[U]) && O.push(B[U]);
16984
16984
  return O;
16985
16985
  }
16986
16986
  const l = e && e.symbols ? u : Object.keys, p = typeof (e == null ? void 0 : e.cloneProtoObject) == "function" ? e.cloneProtoObject : void 0;
@@ -16990,39 +16990,39 @@ function Vr(e) {
16990
16990
  function h(v) {
16991
16991
  return typeof v != "object" || v === null;
16992
16992
  }
16993
- const T = typeof K.Buffer < "u" ? (v) => typeof v != "object" || v === null || v instanceof RegExp || v instanceof Date || v instanceof K.Buffer : (v) => typeof v != "object" || v === null || v instanceof RegExp || v instanceof Date, k = e && typeof e.mergeArray == "function" ? e.mergeArray({ clone: b, deepmerge: N, getKeys: l, isMergeableObject: y }) : s;
16994
- function b(v) {
16993
+ const T = typeof K.Buffer < "u" ? (v) => typeof v != "object" || v === null || v instanceof RegExp || v instanceof Date || v instanceof K.Buffer : (v) => typeof v != "object" || v === null || v instanceof RegExp || v instanceof Date, k = e && typeof e.mergeArray == "function" ? e.mergeArray({ clone: E, deepmerge: I, getKeys: l, isMergeableObject: y }) : s;
16994
+ function E(v) {
16995
16995
  return y(v) ? Array.isArray(v) ? n(v) : a(v) : v;
16996
16996
  }
16997
16997
  function R(v, O) {
16998
- const U = {}, B = l(v), L = l(O);
16998
+ const B = {}, U = l(v), L = l(O);
16999
16999
  let V, P, z;
17000
- for (V = 0, P = B.length; V < P; ++V)
17001
- t(z = B[V]) && L.indexOf(z) === -1 && (U[z] = b(v[z]));
17000
+ for (V = 0, P = U.length; V < P; ++V)
17001
+ t(z = U[V]) && L.indexOf(z) === -1 && (B[z] = E(v[z]));
17002
17002
  for (V = 0, P = L.length; V < P; ++V)
17003
- t(z = L[V]) && (z in v && (B.indexOf(z) !== -1 && (U[z] = N(v[z], O[z])), !0) || // eslint-disable-line no-mixed-operators
17004
- (U[z] = b(O[z])));
17005
- return U;
17003
+ t(z = L[V]) && (z in v && (U.indexOf(z) !== -1 && (B[z] = I(v[z], O[z])), !0) || // eslint-disable-line no-mixed-operators
17004
+ (B[z] = E(O[z])));
17005
+ return B;
17006
17006
  }
17007
- function N(v, O) {
17008
- const U = Array.isArray(O), B = Array.isArray(v);
17009
- return h(O) ? O : T(v) ? b(O) : U && B ? k(v, O) : U !== B ? b(O) : R(v, O);
17007
+ function I(v, O) {
17008
+ const B = Array.isArray(O), U = Array.isArray(v);
17009
+ return h(O) ? O : T(v) ? E(O) : B && U ? k(v, O) : B !== U ? E(O) : R(v, O);
17010
17010
  }
17011
17011
  function x() {
17012
17012
  switch (arguments.length) {
17013
17013
  case 0:
17014
17014
  return {};
17015
17015
  case 1:
17016
- return b(arguments[0]);
17016
+ return E(arguments[0]);
17017
17017
  case 2:
17018
- return N(arguments[0], arguments[1]);
17018
+ return I(arguments[0], arguments[1]);
17019
17019
  }
17020
17020
  let v;
17021
- for (let O = 0, U = arguments.length; O < U; ++O)
17022
- v = N(v, arguments[O]);
17021
+ for (let O = 0, B = arguments.length; O < B; ++O)
17022
+ v = I(v, arguments[O]);
17023
17023
  return v;
17024
17024
  }
17025
- return e && e.all ? x : N;
17025
+ return e && e.all ? x : I;
17026
17026
  }
17027
17027
  Fr.exports = Vr;
17028
17028
  Fr.exports.default = Vr;
@@ -17286,9 +17286,9 @@ const ro = {
17286
17286
  const k = await c({
17287
17287
  eventId: y,
17288
17288
  pagination: p
17289
- }), b = s.get().data || [];
17289
+ }), E = s.get().data || [];
17290
17290
  s.set({
17291
- data: [...b, ...k.data.map((R) => R.attributes)],
17291
+ data: [...E, ...k.data.map((R) => R.attributes)],
17292
17292
  loading: !1
17293
17293
  });
17294
17294
  }
@@ -17324,7 +17324,7 @@ const Ch = (e, t, n, a) => {
17324
17324
  (p === Ie.Optional || Ie.Required) && u(), p === Ie.Completed && t.activeQuestionId.invalidate();
17325
17325
  });
17326
17326
  const l = async () => {
17327
- var k, b, R, N, x;
17327
+ var k, E, R, I, x;
17328
17328
  const p = t.userId.get();
17329
17329
  if (!p)
17330
17330
  return;
@@ -17336,7 +17336,7 @@ const Ch = (e, t, n, a) => {
17336
17336
  const y = await t.moderation.getValue();
17337
17337
  if (c.get() === Ie.Completed)
17338
17338
  return;
17339
- const h = !!((k = y == null ? void 0 : y.options) != null && k.onboardingEnabled && ((R = (b = e.featureSettings.get().inplayGame) == null ? void 0 : b.onboarding) != null && R.completed)), T = !!((x = (N = e.featureSettings.get().inplayGame) == null ? void 0 : N.titleCard) != null && x.optIn);
17339
+ const h = !!((k = y == null ? void 0 : y.options) != null && k.onboardingEnabled && ((R = (E = e.featureSettings.get().inplayGame) == null ? void 0 : E.onboarding) != null && R.completed)), T = !!((x = (I = e.featureSettings.get().inplayGame) == null ? void 0 : I.titleCard) != null && x.optIn);
17340
17340
  h ? T ? c.set(Ie.Required) : c.set(Ie.Optional) : T ? c.set(Ie.Unavailable) : c.set(Ie.Disabled);
17341
17341
  };
17342
17342
  return l(), t.userId.subscribe((p) => {
@@ -17388,7 +17388,7 @@ class Nh extends Pr {
17388
17388
  if (c === We.RESOLVED && u === ie.PREDICTION) {
17389
17389
  const T = this.background.getCurrentSessionId({
17390
17390
  prefix: `notification-id:${l}`
17391
- }), k = (h = await zi(l, n)) == null ? void 0 : h.answers.find(({ correct: b }) => b);
17391
+ }), k = (h = await zi(l, n)) == null ? void 0 : h.answers.find(({ correct: E }) => E);
17392
17392
  this.notifications.add({
17393
17393
  type: Lt.QUESTION_RESOLVED,
17394
17394
  action: () => this.openQuestion(l),
@@ -17435,18 +17435,18 @@ class Nh extends Pr {
17435
17435
  this.background = Ki(s), this.storage = new Wi(), this.userSummary = new Ve(oh(this.background.slStreamId, this.background.userId, s.transport), "gamification:userSummary"), this.feedList = this.background.feedList, this.openedUser = Me(void 0), this.leaderboardId = new Ge(Me(this.settings.getValue("pinnedLeaderboardId")), "pinnedLeaderboardId").getStore(), this.onboardingStatus = Ch(this, this.background, s.transport, s.notifications), this.notifications = s.notifications, this.transport = s.transport, this.closeFeature = s.sdk.closeFeature, this.openFeature = () => s.sdk.openFeature(ue.GAMES), this.openedQuestion = this.background.openedQuestion, this.leaderboardList = Ah(this.transport, this.background.slStreamId), this.status.subscribe((c) => {
17436
17436
  c === Ot.Ready ? this.connect(s.transport) : this.disconnect();
17437
17437
  }), this.background.activeQuestionId.listen((c) => {
17438
- var u, l, p, y, h, T, k;
17438
+ var u, l, p, y, h, T, k, E, R, I, x;
17439
17439
  if (c && c.data && this.onboardingStatus.$store.get() && ((u = c.data.question) == null ? void 0 : u.id) !== void 0 && c.data.question.notification !== void 0 && ((p = (l = c.data.moderation) == null ? void 0 : l.bypassNotifications) == null ? void 0 : p.inAppSilence) !== Tr.ON && c.data.question.status === We.ACTIVE) {
17440
17440
  if (Ih.has(c.data.question.type))
17441
17441
  this.notifications.add({
17442
17442
  type: Lt.QUESTION,
17443
17443
  action: () => {
17444
- var b;
17445
- return ((b = c.data) == null ? void 0 : b.question) && this.openQuestion(c.data.question.id);
17444
+ var v;
17445
+ return ((v = c.data) == null ? void 0 : v.question) && this.openQuestion(c.data.question.id);
17446
17446
  },
17447
17447
  close: () => {
17448
- var b;
17449
- return ((b = c.data) == null ? void 0 : b.question) && this.closeQuestion(c.data.question.id);
17448
+ var v;
17449
+ return ((v = c.data) == null ? void 0 : v.question) && this.closeQuestion(c.data.question.id);
17450
17450
  },
17451
17451
  autoHideDuration: 1e3 * +(((h = (y = c.data.question) == null ? void 0 : y.appearance) == null ? void 0 : h.autoHideInterval) || "5"),
17452
17452
  id: this.background.getCurrentSessionId({ prefix: "notification", entity: c.data.question.id }),
@@ -17458,14 +17458,14 @@ class Nh extends Pr {
17458
17458
  }
17459
17459
  });
17460
17460
  else if (c.data.question.type === ie.FACTOID) {
17461
- const b = {
17462
- heading: "",
17463
- body: "",
17464
- image: "",
17461
+ const v = (T = c.data.question.options) == null ? void 0 : T.options.value, O = {
17462
+ heading: c.data.question.notification.title,
17463
+ body: c.data.question.notification.body,
17464
+ image: c.data.question.notification.image,
17465
17465
  video: {
17466
- id: "",
17467
- url: "",
17468
- thumbnailUrl: ""
17466
+ id: ((k = v == null ? void 0 : v.video) == null ? void 0 : k.id) || "",
17467
+ url: ((E = v == null ? void 0 : v.video) == null ? void 0 : E.url) || "",
17468
+ thumbnailUrl: ((R = v == null ? void 0 : v.video) == null ? void 0 : R.thumbnailUrl) || ""
17469
17469
  },
17470
17470
  webLink: {
17471
17471
  label: "",
@@ -17475,18 +17475,18 @@ class Nh extends Pr {
17475
17475
  this.notifications.add({
17476
17476
  type: Lt.QUESTION,
17477
17477
  action: () => {
17478
- var R;
17479
- return ((R = c.data) == null ? void 0 : R.question) && this.openQuestion(c.data.question.id);
17478
+ var B;
17479
+ return ((B = c.data) == null ? void 0 : B.question) && this.openQuestion(c.data.question.id);
17480
17480
  },
17481
17481
  close: () => {
17482
- var R;
17483
- return ((R = c.data) == null ? void 0 : R.question) && this.closeQuestion(c.data.question.id);
17482
+ var B;
17483
+ return ((B = c.data) == null ? void 0 : B.question) && this.closeQuestion(c.data.question.id);
17484
17484
  },
17485
- autoHideDuration: 1e3 * +(((k = (T = c.data.question) == null ? void 0 : T.appearance) == null ? void 0 : k.autoHideInterval) || "5"),
17485
+ autoHideDuration: 1e3 * +(((x = (I = c.data.question) == null ? void 0 : I.appearance) == null ? void 0 : x.autoHideInterval) || "5"),
17486
17486
  id: this.background.getCurrentSessionId({ prefix: "notification", entity: c.data.question.id }),
17487
17487
  data: {
17488
17488
  questionType: c.data.question.type,
17489
- insight: b
17489
+ insight: O
17490
17490
  }
17491
17491
  });
17492
17492
  }
@@ -17520,7 +17520,7 @@ class Oh extends Pr {
17520
17520
  this.background = Ki(s), this.notifications = s.notifications, this.transport = s.transport, this.closeFeature = s.sdk.closeFeature, this.openFeature = () => s.sdk.openFeature(ue.HIGHLIGHTS), this.status.subscribe((c) => {
17521
17521
  c === Ot.Ready ? this.connect() : this.disconnect();
17522
17522
  }), this.background.activeQuestionId.listen((c) => {
17523
- var u, l, p, y, h, T, k, b;
17523
+ var u, l, p, y, h, T, k, E;
17524
17524
  (l = (u = c == null ? void 0 : c.data) == null ? void 0 : u.question) != null && l.id && ((y = (p = c == null ? void 0 : c.data) == null ? void 0 : p.question) != null && y.notification) && ((T = (h = c.data.moderation) == null ? void 0 : h.bypassNotifications) == null ? void 0 : T.inAppSilence) !== Tr.ON && c.data.question.type === ie.FACTOID && c.data.question.status === We.ACTIVE && this.notifications.add({
17525
17525
  type: Lt.QUESTION,
17526
17526
  action: () => {
@@ -17531,7 +17531,7 @@ class Oh extends Pr {
17531
17531
  var R;
17532
17532
  return ((R = c.data) == null ? void 0 : R.question) && this.closeHighlight(c.data.question.id);
17533
17533
  },
17534
- autoHideDuration: 1e3 * +(((b = (k = c.data.question) == null ? void 0 : k.appearance) == null ? void 0 : b.autoHideInterval) || "5"),
17534
+ autoHideDuration: 1e3 * +(((E = (k = c.data.question) == null ? void 0 : k.appearance) == null ? void 0 : E.autoHideInterval) || "5"),
17535
17535
  id: this.background.getCurrentSessionId({ prefix: "notification", entity: c.data.question.id }),
17536
17536
  data: {
17537
17537
  questionType: c.data.question.type,
@@ -17626,22 +17626,22 @@ function Zi(e, t, n) {
17626
17626
  if (typeof e == "function" && (n = t, t = e, e = null), n < 1)
17627
17627
  throw new Error("fastqueue concurrency must be greater than 1");
17628
17628
  var a = Ph(Dh), s = null, c = null, u = 0, l = null, p = {
17629
- push: N,
17629
+ push: I,
17630
17630
  drain: Fe,
17631
17631
  saturated: Fe,
17632
17632
  pause: h,
17633
17633
  paused: !1,
17634
17634
  concurrency: n,
17635
17635
  running: y,
17636
- resume: b,
17636
+ resume: E,
17637
17637
  idle: R,
17638
17638
  length: T,
17639
17639
  getQueue: k,
17640
17640
  unshift: x,
17641
17641
  empty: Fe,
17642
17642
  kill: O,
17643
- killAndDrain: U,
17644
- error: B
17643
+ killAndDrain: B,
17644
+ error: U
17645
17645
  };
17646
17646
  return p;
17647
17647
  function y() {
@@ -17660,7 +17660,7 @@ function Zi(e, t, n) {
17660
17660
  V.push(L.value), L = L.next;
17661
17661
  return V;
17662
17662
  }
17663
- function b() {
17663
+ function E() {
17664
17664
  if (p.paused) {
17665
17665
  p.paused = !1;
17666
17666
  for (var L = 0; L < p.concurrency; L++)
@@ -17670,7 +17670,7 @@ function Zi(e, t, n) {
17670
17670
  function R() {
17671
17671
  return u === 0 && p.length() === 0;
17672
17672
  }
17673
- function N(L, V) {
17673
+ function I(L, V) {
17674
17674
  var P = a.get();
17675
17675
  P.context = e, P.release = v, P.value = L, P.callback = V || Fe, P.errorHandler = l, u === p.concurrency || p.paused ? c ? (c.next = P, c = P) : (s = P, c = P, p.saturated()) : (u++, t.call(e, P.value, P.worked));
17676
17676
  }
@@ -17686,10 +17686,10 @@ function Zi(e, t, n) {
17686
17686
  function O() {
17687
17687
  s = null, c = null, p.drain = Fe;
17688
17688
  }
17689
- function U() {
17689
+ function B() {
17690
17690
  s = null, c = null, p.drain(), p.drain = Fe;
17691
17691
  }
17692
- function B(L) {
17692
+ function U(L) {
17693
17693
  l = L;
17694
17694
  }
17695
17695
  }
@@ -17713,25 +17713,25 @@ function Fh(e, t, n) {
17713
17713
  var s = Zi(e, a, n), c = s.push, u = s.unshift;
17714
17714
  return s.push = l, s.unshift = p, s.drained = y, s;
17715
17715
  function l(h) {
17716
- var T = new Promise(function(k, b) {
17717
- c(h, function(R, N) {
17716
+ var T = new Promise(function(k, E) {
17717
+ c(h, function(R, I) {
17718
17718
  if (R) {
17719
- b(R);
17719
+ E(R);
17720
17720
  return;
17721
17721
  }
17722
- k(N);
17722
+ k(I);
17723
17723
  });
17724
17724
  });
17725
17725
  return T.catch(Fe), T;
17726
17726
  }
17727
17727
  function p(h) {
17728
- var T = new Promise(function(k, b) {
17729
- u(h, function(R, N) {
17728
+ var T = new Promise(function(k, E) {
17729
+ u(h, function(R, I) {
17730
17730
  if (R) {
17731
- b(R);
17731
+ E(R);
17732
17732
  return;
17733
17733
  }
17734
- k(N);
17734
+ k(I);
17735
17735
  });
17736
17736
  });
17737
17737
  return T.catch(Fe), T;
@@ -18249,8 +18249,8 @@ var u3 = function e(t) {
18249
18249
  var n = g3(e), a = n.length > 0 ? n[0] : "", s = h3("%" + a + "%", t), c = s.name, u = s.value, l = !1, p = s.alias;
18250
18250
  p && (a = p[0], d3(n, m3([0, 1], p)));
18251
18251
  for (var y = 1, h = !0; y < n.length; y += 1) {
18252
- var T = n[y], k = zn(T, 0, 1), b = zn(T, -1);
18253
- if ((k === '"' || k === "'" || k === "`" || b === '"' || b === "'" || b === "`") && k !== b)
18252
+ var T = n[y], k = zn(T, 0, 1), E = zn(T, -1);
18253
+ if ((k === '"' || k === "'" || k === "`" || E === '"' || E === "'" || E === "`") && k !== E)
18254
18254
  throw new tn("property names with quotes must have matching quotes");
18255
18255
  if ((T === "constructor" || !h) && (l = !0), a += "." + T, c = "%" + a + "%", Yn(Bt, c))
18256
18256
  u = Bt[c];
@@ -18542,184 +18542,184 @@ var s6 = function(e) {
18542
18542
  };
18543
18543
  (function(e) {
18544
18544
  var t = N3, n = U3, a = vc, s = c6;
18545
- function c(I) {
18546
- return I.call.bind(I);
18545
+ function c(N) {
18546
+ return N.call.bind(N);
18547
18547
  }
18548
18548
  var u = typeof BigInt < "u", l = typeof Symbol < "u", p = c(Object.prototype.toString), y = c(Number.prototype.valueOf), h = c(String.prototype.valueOf), T = c(Boolean.prototype.valueOf);
18549
18549
  if (u)
18550
18550
  var k = c(BigInt.prototype.valueOf);
18551
18551
  if (l)
18552
- var b = c(Symbol.prototype.valueOf);
18553
- function R(I, Et) {
18554
- if (typeof I != "object")
18552
+ var E = c(Symbol.prototype.valueOf);
18553
+ function R(N, Et) {
18554
+ if (typeof N != "object")
18555
18555
  return !1;
18556
18556
  try {
18557
- return Et(I), !0;
18557
+ return Et(N), !0;
18558
18558
  } catch {
18559
18559
  return !1;
18560
18560
  }
18561
18561
  }
18562
18562
  e.isArgumentsObject = t, e.isGeneratorFunction = n, e.isTypedArray = s;
18563
- function N(I) {
18564
- return typeof Promise < "u" && I instanceof Promise || I !== null && typeof I == "object" && typeof I.then == "function" && typeof I.catch == "function";
18563
+ function I(N) {
18564
+ return typeof Promise < "u" && N instanceof Promise || N !== null && typeof N == "object" && typeof N.then == "function" && typeof N.catch == "function";
18565
18565
  }
18566
- e.isPromise = N;
18567
- function x(I) {
18568
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(I) : s(I) || A(I);
18566
+ e.isPromise = I;
18567
+ function x(N) {
18568
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(N) : s(N) || A(N);
18569
18569
  }
18570
18570
  e.isArrayBufferView = x;
18571
- function v(I) {
18572
- return a(I) === "Uint8Array";
18571
+ function v(N) {
18572
+ return a(N) === "Uint8Array";
18573
18573
  }
18574
18574
  e.isUint8Array = v;
18575
- function O(I) {
18576
- return a(I) === "Uint8ClampedArray";
18575
+ function O(N) {
18576
+ return a(N) === "Uint8ClampedArray";
18577
18577
  }
18578
18578
  e.isUint8ClampedArray = O;
18579
- function U(I) {
18580
- return a(I) === "Uint16Array";
18579
+ function B(N) {
18580
+ return a(N) === "Uint16Array";
18581
18581
  }
18582
- e.isUint16Array = U;
18583
- function B(I) {
18584
- return a(I) === "Uint32Array";
18582
+ e.isUint16Array = B;
18583
+ function U(N) {
18584
+ return a(N) === "Uint32Array";
18585
18585
  }
18586
- e.isUint32Array = B;
18587
- function L(I) {
18588
- return a(I) === "Int8Array";
18586
+ e.isUint32Array = U;
18587
+ function L(N) {
18588
+ return a(N) === "Int8Array";
18589
18589
  }
18590
18590
  e.isInt8Array = L;
18591
- function V(I) {
18592
- return a(I) === "Int16Array";
18591
+ function V(N) {
18592
+ return a(N) === "Int16Array";
18593
18593
  }
18594
18594
  e.isInt16Array = V;
18595
- function P(I) {
18596
- return a(I) === "Int32Array";
18595
+ function P(N) {
18596
+ return a(N) === "Int32Array";
18597
18597
  }
18598
18598
  e.isInt32Array = P;
18599
- function z(I) {
18600
- return a(I) === "Float32Array";
18599
+ function z(N) {
18600
+ return a(N) === "Float32Array";
18601
18601
  }
18602
18602
  e.isFloat32Array = z;
18603
- function oe(I) {
18604
- return a(I) === "Float64Array";
18603
+ function oe(N) {
18604
+ return a(N) === "Float64Array";
18605
18605
  }
18606
18606
  e.isFloat64Array = oe;
18607
- function ge(I) {
18608
- return a(I) === "BigInt64Array";
18607
+ function ge(N) {
18608
+ return a(N) === "BigInt64Array";
18609
18609
  }
18610
18610
  e.isBigInt64Array = ge;
18611
- function ce(I) {
18612
- return a(I) === "BigUint64Array";
18611
+ function ce(N) {
18612
+ return a(N) === "BigUint64Array";
18613
18613
  }
18614
18614
  e.isBigUint64Array = ce;
18615
- function Te(I) {
18616
- return p(I) === "[object Map]";
18615
+ function Te(N) {
18616
+ return p(N) === "[object Map]";
18617
18617
  }
18618
18618
  Te.working = typeof Map < "u" && Te(/* @__PURE__ */ new Map());
18619
- function le(I) {
18620
- return typeof Map > "u" ? !1 : Te.working ? Te(I) : I instanceof Map;
18619
+ function le(N) {
18620
+ return typeof Map > "u" ? !1 : Te.working ? Te(N) : N instanceof Map;
18621
18621
  }
18622
18622
  e.isMap = le;
18623
- function ne(I) {
18624
- return p(I) === "[object Set]";
18623
+ function ne(N) {
18624
+ return p(N) === "[object Set]";
18625
18625
  }
18626
18626
  ne.working = typeof Set < "u" && ne(/* @__PURE__ */ new Set());
18627
- function me(I) {
18628
- return typeof Set > "u" ? !1 : ne.working ? ne(I) : I instanceof Set;
18627
+ function me(N) {
18628
+ return typeof Set > "u" ? !1 : ne.working ? ne(N) : N instanceof Set;
18629
18629
  }
18630
18630
  e.isSet = me;
18631
- function Be(I) {
18632
- return p(I) === "[object WeakMap]";
18631
+ function Be(N) {
18632
+ return p(N) === "[object WeakMap]";
18633
18633
  }
18634
18634
  Be.working = typeof WeakMap < "u" && Be(/* @__PURE__ */ new WeakMap());
18635
- function Xe(I) {
18636
- return typeof WeakMap > "u" ? !1 : Be.working ? Be(I) : I instanceof WeakMap;
18635
+ function Xe(N) {
18636
+ return typeof WeakMap > "u" ? !1 : Be.working ? Be(N) : N instanceof WeakMap;
18637
18637
  }
18638
18638
  e.isWeakMap = Xe;
18639
- function xe(I) {
18640
- return p(I) === "[object WeakSet]";
18639
+ function xe(N) {
18640
+ return p(N) === "[object WeakSet]";
18641
18641
  }
18642
18642
  xe.working = typeof WeakSet < "u" && xe(/* @__PURE__ */ new WeakSet());
18643
- function ve(I) {
18644
- return xe(I);
18643
+ function ve(N) {
18644
+ return xe(N);
18645
18645
  }
18646
18646
  e.isWeakSet = ve;
18647
- function we(I) {
18648
- return p(I) === "[object ArrayBuffer]";
18647
+ function we(N) {
18648
+ return p(N) === "[object ArrayBuffer]";
18649
18649
  }
18650
18650
  we.working = typeof ArrayBuffer < "u" && we(new ArrayBuffer());
18651
- function q(I) {
18652
- return typeof ArrayBuffer > "u" ? !1 : we.working ? we(I) : I instanceof ArrayBuffer;
18651
+ function q(N) {
18652
+ return typeof ArrayBuffer > "u" ? !1 : we.working ? we(N) : N instanceof ArrayBuffer;
18653
18653
  }
18654
18654
  e.isArrayBuffer = q;
18655
- function E(I) {
18656
- return p(I) === "[object DataView]";
18655
+ function b(N) {
18656
+ return p(N) === "[object DataView]";
18657
18657
  }
18658
- E.working = typeof ArrayBuffer < "u" && typeof DataView < "u" && E(new DataView(new ArrayBuffer(1), 0, 1));
18659
- function A(I) {
18660
- return typeof DataView > "u" ? !1 : E.working ? E(I) : I instanceof DataView;
18658
+ b.working = typeof ArrayBuffer < "u" && typeof DataView < "u" && b(new DataView(new ArrayBuffer(1), 0, 1));
18659
+ function A(N) {
18660
+ return typeof DataView > "u" ? !1 : b.working ? b(N) : N instanceof DataView;
18661
18661
  }
18662
18662
  e.isDataView = A;
18663
18663
  var M = typeof SharedArrayBuffer < "u" ? SharedArrayBuffer : void 0;
18664
- function H(I) {
18665
- return p(I) === "[object SharedArrayBuffer]";
18664
+ function H(N) {
18665
+ return p(N) === "[object SharedArrayBuffer]";
18666
18666
  }
18667
- function ae(I) {
18668
- return typeof M > "u" ? !1 : (typeof H.working > "u" && (H.working = H(new M())), H.working ? H(I) : I instanceof M);
18667
+ function ae(N) {
18668
+ return typeof M > "u" ? !1 : (typeof H.working > "u" && (H.working = H(new M())), H.working ? H(N) : N instanceof M);
18669
18669
  }
18670
18670
  e.isSharedArrayBuffer = ae;
18671
- function J(I) {
18672
- return p(I) === "[object AsyncFunction]";
18671
+ function J(N) {
18672
+ return p(N) === "[object AsyncFunction]";
18673
18673
  }
18674
18674
  e.isAsyncFunction = J;
18675
- function j(I) {
18676
- return p(I) === "[object Map Iterator]";
18675
+ function j(N) {
18676
+ return p(N) === "[object Map Iterator]";
18677
18677
  }
18678
18678
  e.isMapIterator = j;
18679
- function Z(I) {
18680
- return p(I) === "[object Set Iterator]";
18679
+ function Z(N) {
18680
+ return p(N) === "[object Set Iterator]";
18681
18681
  }
18682
18682
  e.isSetIterator = Z;
18683
- function te(I) {
18684
- return p(I) === "[object Generator]";
18683
+ function te(N) {
18684
+ return p(N) === "[object Generator]";
18685
18685
  }
18686
18686
  e.isGeneratorObject = te;
18687
- function Oe(I) {
18688
- return p(I) === "[object WebAssembly.Module]";
18687
+ function Oe(N) {
18688
+ return p(N) === "[object WebAssembly.Module]";
18689
18689
  }
18690
18690
  e.isWebAssemblyCompiledModule = Oe;
18691
- function Ue(I) {
18692
- return R(I, y);
18691
+ function Ue(N) {
18692
+ return R(N, y);
18693
18693
  }
18694
18694
  e.isNumberObject = Ue;
18695
- function ke(I) {
18696
- return R(I, h);
18695
+ function ke(N) {
18696
+ return R(N, h);
18697
18697
  }
18698
18698
  e.isStringObject = ke;
18699
- function Se(I) {
18700
- return R(I, T);
18699
+ function Se(N) {
18700
+ return R(N, T);
18701
18701
  }
18702
18702
  e.isBooleanObject = Se;
18703
- function ft(I) {
18704
- return u && R(I, k);
18703
+ function ft(N) {
18704
+ return u && R(N, k);
18705
18705
  }
18706
18706
  e.isBigIntObject = ft;
18707
- function Ft(I) {
18708
- return l && R(I, b);
18707
+ function Ft(N) {
18708
+ return l && R(N, E);
18709
18709
  }
18710
18710
  e.isSymbolObject = Ft;
18711
- function et(I) {
18712
- return Ue(I) || ke(I) || Se(I) || ft(I) || Ft(I);
18711
+ function et(N) {
18712
+ return Ue(N) || ke(N) || Se(N) || ft(N) || Ft(N);
18713
18713
  }
18714
18714
  e.isBoxedPrimitive = et;
18715
- function on(I) {
18716
- return typeof Uint8Array < "u" && (q(I) || ae(I));
18715
+ function on(N) {
18716
+ return typeof Uint8Array < "u" && (q(N) || ae(N));
18717
18717
  }
18718
- e.isAnyArrayBuffer = on, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(I) {
18719
- Object.defineProperty(e, I, {
18718
+ e.isAnyArrayBuffer = on, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(N) {
18719
+ Object.defineProperty(e, N, {
18720
18720
  enumerable: !1,
18721
18721
  value: function() {
18722
- throw new Error(I + " is not supported in userland");
18722
+ throw new Error(N + " is not supported in userland");
18723
18723
  }
18724
18724
  });
18725
18725
  });
@@ -18746,18 +18746,18 @@ typeof Object.create == "function" ? dr.exports = function(e, t) {
18746
18746
  };
18747
18747
  var u6 = dr.exports;
18748
18748
  (function(e) {
18749
- var t = Object.getOwnPropertyDescriptors || function(E) {
18750
- for (var A = Object.keys(E), M = {}, H = 0; H < A.length; H++)
18751
- M[A[H]] = Object.getOwnPropertyDescriptor(E, A[H]);
18749
+ var t = Object.getOwnPropertyDescriptors || function(b) {
18750
+ for (var A = Object.keys(b), M = {}, H = 0; H < A.length; H++)
18751
+ M[A[H]] = Object.getOwnPropertyDescriptor(b, A[H]);
18752
18752
  return M;
18753
18753
  }, n = /%[sdj%]/g;
18754
- e.format = function(E) {
18755
- if (!L(E)) {
18754
+ e.format = function(b) {
18755
+ if (!L(b)) {
18756
18756
  for (var A = [], M = 0; M < arguments.length; M++)
18757
18757
  A.push(u(arguments[M]));
18758
18758
  return A.join(" ");
18759
18759
  }
18760
- for (var M = 1, H = arguments, ae = H.length, J = String(E).replace(n, function(te) {
18760
+ for (var M = 1, H = arguments, ae = H.length, J = String(b).replace(n, function(te) {
18761
18761
  if (te === "%%")
18762
18762
  return "%";
18763
18763
  if (M >= ae)
@@ -18779,12 +18779,12 @@ var u6 = dr.exports;
18779
18779
  }), j = H[M]; M < ae; j = H[++M])
18780
18780
  O(j) || !oe(j) ? J += " " + j : J += " " + u(j);
18781
18781
  return J;
18782
- }, e.deprecate = function(E, A) {
18782
+ }, e.deprecate = function(b, A) {
18783
18783
  if (typeof K.process < "u" && K.process.noDeprecation === !0)
18784
- return E;
18784
+ return b;
18785
18785
  if (typeof K.process > "u")
18786
18786
  return function() {
18787
- return e.deprecate(E, A).apply(this, arguments);
18787
+ return e.deprecate(b, A).apply(this, arguments);
18788
18788
  };
18789
18789
  var M = !1;
18790
18790
  function H() {
@@ -18793,7 +18793,7 @@ var u6 = dr.exports;
18793
18793
  throw new Error(A);
18794
18794
  K.process.traceDeprecation ? console.trace(A) : console.error(A), M = !0;
18795
18795
  }
18796
- return E.apply(this, arguments);
18796
+ return b.apply(this, arguments);
18797
18797
  }
18798
18798
  return H;
18799
18799
  };
@@ -18802,25 +18802,25 @@ var u6 = dr.exports;
18802
18802
  var c = K.process.env.NODE_DEBUG;
18803
18803
  c = c.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase(), s = new RegExp("^" + c + "$", "i");
18804
18804
  }
18805
- e.debuglog = function(E) {
18806
- if (E = E.toUpperCase(), !a[E])
18807
- if (s.test(E)) {
18805
+ e.debuglog = function(b) {
18806
+ if (b = b.toUpperCase(), !a[b])
18807
+ if (s.test(b)) {
18808
18808
  var A = K.process.pid;
18809
- a[E] = function() {
18809
+ a[b] = function() {
18810
18810
  var M = e.format.apply(e, arguments);
18811
- console.error("%s %d: %s", E, A, M);
18811
+ console.error("%s %d: %s", b, A, M);
18812
18812
  };
18813
18813
  } else
18814
- a[E] = function() {
18814
+ a[b] = function() {
18815
18815
  };
18816
- return a[E];
18816
+ return a[b];
18817
18817
  };
18818
- function u(E, A) {
18818
+ function u(b, A) {
18819
18819
  var M = {
18820
18820
  seen: [],
18821
18821
  stylize: p
18822
18822
  };
18823
- return arguments.length >= 3 && (M.depth = arguments[2]), arguments.length >= 4 && (M.colors = arguments[3]), v(A) ? M.showHidden = A : A && e._extend(M, A), P(M.showHidden) && (M.showHidden = !1), P(M.depth) && (M.depth = 2), P(M.colors) && (M.colors = !1), P(M.customInspect) && (M.customInspect = !0), M.colors && (M.stylize = l), h(M, E, M.depth);
18823
+ return arguments.length >= 3 && (M.depth = arguments[2]), arguments.length >= 4 && (M.colors = arguments[3]), v(A) ? M.showHidden = A : A && e._extend(M, A), P(M.showHidden) && (M.showHidden = !1), P(M.depth) && (M.depth = 2), P(M.colors) && (M.colors = !1), P(M.customInspect) && (M.customInspect = !0), M.colors && (M.stylize = l), h(M, b, M.depth);
18824
18824
  }
18825
18825
  e.inspect = u, u.colors = {
18826
18826
  bold: [1, 22],
@@ -18847,41 +18847,41 @@ var u6 = dr.exports;
18847
18847
  // "name": intentionally not styling
18848
18848
  regexp: "red"
18849
18849
  };
18850
- function l(E, A) {
18850
+ function l(b, A) {
18851
18851
  var M = u.styles[A];
18852
- return M ? "\x1B[" + u.colors[M][0] + "m" + E + "\x1B[" + u.colors[M][1] + "m" : E;
18852
+ return M ? "\x1B[" + u.colors[M][0] + "m" + b + "\x1B[" + u.colors[M][1] + "m" : b;
18853
18853
  }
18854
- function p(E, A) {
18855
- return E;
18854
+ function p(b, A) {
18855
+ return b;
18856
18856
  }
18857
- function y(E) {
18857
+ function y(b) {
18858
18858
  var A = {};
18859
- return E.forEach(function(M, H) {
18859
+ return b.forEach(function(M, H) {
18860
18860
  A[M] = !0;
18861
18861
  }), A;
18862
18862
  }
18863
- function h(E, A, M) {
18864
- if (E.customInspect && A && Te(A.inspect) && // Filter out the util module, it's inspect function is special
18863
+ function h(b, A, M) {
18864
+ if (b.customInspect && A && Te(A.inspect) && // Filter out the util module, it's inspect function is special
18865
18865
  A.inspect !== e.inspect && // Also filter out any prototype objects using the circular check.
18866
18866
  !(A.constructor && A.constructor.prototype === A)) {
18867
- var H = A.inspect(M, E);
18868
- return L(H) || (H = h(E, H, M)), H;
18867
+ var H = A.inspect(M, b);
18868
+ return L(H) || (H = h(b, H, M)), H;
18869
18869
  }
18870
- var ae = T(E, A);
18870
+ var ae = T(b, A);
18871
18871
  if (ae)
18872
18872
  return ae;
18873
18873
  var J = Object.keys(A), j = y(J);
18874
- if (E.showHidden && (J = Object.getOwnPropertyNames(A)), ce(A) && (J.indexOf("message") >= 0 || J.indexOf("description") >= 0))
18874
+ if (b.showHidden && (J = Object.getOwnPropertyNames(A)), ce(A) && (J.indexOf("message") >= 0 || J.indexOf("description") >= 0))
18875
18875
  return k(A);
18876
18876
  if (J.length === 0) {
18877
18877
  if (Te(A)) {
18878
18878
  var Z = A.name ? ": " + A.name : "";
18879
- return E.stylize("[Function" + Z + "]", "special");
18879
+ return b.stylize("[Function" + Z + "]", "special");
18880
18880
  }
18881
18881
  if (z(A))
18882
- return E.stylize(RegExp.prototype.toString.call(A), "regexp");
18882
+ return b.stylize(RegExp.prototype.toString.call(A), "regexp");
18883
18883
  if (ge(A))
18884
- return E.stylize(Date.prototype.toString.call(A), "date");
18884
+ return b.stylize(Date.prototype.toString.call(A), "date");
18885
18885
  if (ce(A))
18886
18886
  return k(A);
18887
18887
  }
@@ -18893,34 +18893,34 @@ var u6 = dr.exports;
18893
18893
  if (z(A) && (te = " " + RegExp.prototype.toString.call(A)), ge(A) && (te = " " + Date.prototype.toUTCString.call(A)), ce(A) && (te = " " + k(A)), J.length === 0 && (!Oe || A.length == 0))
18894
18894
  return Ue[0] + te + Ue[1];
18895
18895
  if (M < 0)
18896
- return z(A) ? E.stylize(RegExp.prototype.toString.call(A), "regexp") : E.stylize("[Object]", "special");
18897
- E.seen.push(A);
18896
+ return z(A) ? b.stylize(RegExp.prototype.toString.call(A), "regexp") : b.stylize("[Object]", "special");
18897
+ b.seen.push(A);
18898
18898
  var Se;
18899
- return Oe ? Se = b(E, A, M, j, J) : Se = J.map(function(ft) {
18900
- return R(E, A, M, j, ft, Oe);
18901
- }), E.seen.pop(), N(Se, te, Ue);
18899
+ return Oe ? Se = E(b, A, M, j, J) : Se = J.map(function(ft) {
18900
+ return R(b, A, M, j, ft, Oe);
18901
+ }), b.seen.pop(), I(Se, te, Ue);
18902
18902
  }
18903
- function T(E, A) {
18903
+ function T(b, A) {
18904
18904
  if (P(A))
18905
- return E.stylize("undefined", "undefined");
18905
+ return b.stylize("undefined", "undefined");
18906
18906
  if (L(A)) {
18907
18907
  var M = "'" + JSON.stringify(A).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
18908
- return E.stylize(M, "string");
18908
+ return b.stylize(M, "string");
18909
18909
  }
18910
- if (B(A))
18911
- return E.stylize("" + A, "number");
18910
+ if (U(A))
18911
+ return b.stylize("" + A, "number");
18912
18912
  if (v(A))
18913
- return E.stylize("" + A, "boolean");
18913
+ return b.stylize("" + A, "boolean");
18914
18914
  if (O(A))
18915
- return E.stylize("null", "null");
18915
+ return b.stylize("null", "null");
18916
18916
  }
18917
- function k(E) {
18918
- return "[" + Error.prototype.toString.call(E) + "]";
18917
+ function k(b) {
18918
+ return "[" + Error.prototype.toString.call(b) + "]";
18919
18919
  }
18920
- function b(E, A, M, H, ae) {
18920
+ function E(b, A, M, H, ae) {
18921
18921
  for (var J = [], j = 0, Z = A.length; j < Z; ++j)
18922
18922
  xe(A, String(j)) ? J.push(R(
18923
- E,
18923
+ b,
18924
18924
  A,
18925
18925
  M,
18926
18926
  H,
@@ -18929,7 +18929,7 @@ var u6 = dr.exports;
18929
18929
  )) : J.push("");
18930
18930
  return ae.forEach(function(te) {
18931
18931
  te.match(/^\d+$/) || J.push(R(
18932
- E,
18932
+ b,
18933
18933
  A,
18934
18934
  M,
18935
18935
  H,
@@ -18938,9 +18938,9 @@ var u6 = dr.exports;
18938
18938
  ));
18939
18939
  }), J;
18940
18940
  }
18941
- function R(E, A, M, H, ae, J) {
18941
+ function R(b, A, M, H, ae, J) {
18942
18942
  var j, Z, te;
18943
- if (te = Object.getOwnPropertyDescriptor(A, ae) || { value: A[ae] }, te.get ? te.set ? Z = E.stylize("[Getter/Setter]", "special") : Z = E.stylize("[Getter]", "special") : te.set && (Z = E.stylize("[Setter]", "special")), xe(H, ae) || (j = "[" + ae + "]"), Z || (E.seen.indexOf(te.value) < 0 ? (O(M) ? Z = h(E, te.value, null) : Z = h(E, te.value, M - 1), Z.indexOf(`
18943
+ if (te = Object.getOwnPropertyDescriptor(A, ae) || { value: A[ae] }, te.get ? te.set ? Z = b.stylize("[Getter/Setter]", "special") : Z = b.stylize("[Getter]", "special") : te.set && (Z = b.stylize("[Setter]", "special")), xe(H, ae) || (j = "[" + ae + "]"), Z || (b.seen.indexOf(te.value) < 0 ? (O(M) ? Z = h(b, te.value, null) : Z = h(b, te.value, M - 1), Z.indexOf(`
18944
18944
  `) > -1 && (J ? Z = Z.split(`
18945
18945
  `).map(function(Oe) {
18946
18946
  return " " + Oe;
@@ -18950,85 +18950,85 @@ var u6 = dr.exports;
18950
18950
  `).map(function(Oe) {
18951
18951
  return " " + Oe;
18952
18952
  }).join(`
18953
- `))) : Z = E.stylize("[Circular]", "special")), P(j)) {
18953
+ `))) : Z = b.stylize("[Circular]", "special")), P(j)) {
18954
18954
  if (J && ae.match(/^\d+$/))
18955
18955
  return Z;
18956
- j = JSON.stringify("" + ae), j.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (j = j.slice(1, -1), j = E.stylize(j, "name")) : (j = j.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), j = E.stylize(j, "string"));
18956
+ j = JSON.stringify("" + ae), j.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (j = j.slice(1, -1), j = b.stylize(j, "name")) : (j = j.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), j = b.stylize(j, "string"));
18957
18957
  }
18958
18958
  return j + ": " + Z;
18959
18959
  }
18960
- function N(E, A, M) {
18961
- var H = E.reduce(function(ae, J) {
18960
+ function I(b, A, M) {
18961
+ var H = b.reduce(function(ae, J) {
18962
18962
  return J.indexOf(`
18963
18963
  `) >= 0, ae + J.replace(/\u001b\[\d\d?m/g, "").length + 1;
18964
18964
  }, 0);
18965
18965
  return H > 60 ? M[0] + (A === "" ? "" : A + `
18966
- `) + " " + E.join(`,
18967
- `) + " " + M[1] : M[0] + A + " " + E.join(", ") + " " + M[1];
18966
+ `) + " " + b.join(`,
18967
+ `) + " " + M[1] : M[0] + A + " " + b.join(", ") + " " + M[1];
18968
18968
  }
18969
18969
  e.types = cc;
18970
- function x(E) {
18971
- return Array.isArray(E);
18970
+ function x(b) {
18971
+ return Array.isArray(b);
18972
18972
  }
18973
18973
  e.isArray = x;
18974
- function v(E) {
18975
- return typeof E == "boolean";
18974
+ function v(b) {
18975
+ return typeof b == "boolean";
18976
18976
  }
18977
18977
  e.isBoolean = v;
18978
- function O(E) {
18979
- return E === null;
18978
+ function O(b) {
18979
+ return b === null;
18980
18980
  }
18981
18981
  e.isNull = O;
18982
- function U(E) {
18983
- return E == null;
18982
+ function B(b) {
18983
+ return b == null;
18984
18984
  }
18985
- e.isNullOrUndefined = U;
18986
- function B(E) {
18987
- return typeof E == "number";
18985
+ e.isNullOrUndefined = B;
18986
+ function U(b) {
18987
+ return typeof b == "number";
18988
18988
  }
18989
- e.isNumber = B;
18990
- function L(E) {
18991
- return typeof E == "string";
18989
+ e.isNumber = U;
18990
+ function L(b) {
18991
+ return typeof b == "string";
18992
18992
  }
18993
18993
  e.isString = L;
18994
- function V(E) {
18995
- return typeof E == "symbol";
18994
+ function V(b) {
18995
+ return typeof b == "symbol";
18996
18996
  }
18997
18997
  e.isSymbol = V;
18998
- function P(E) {
18999
- return E === void 0;
18998
+ function P(b) {
18999
+ return b === void 0;
19000
19000
  }
19001
19001
  e.isUndefined = P;
19002
- function z(E) {
19003
- return oe(E) && ne(E) === "[object RegExp]";
19002
+ function z(b) {
19003
+ return oe(b) && ne(b) === "[object RegExp]";
19004
19004
  }
19005
19005
  e.isRegExp = z, e.types.isRegExp = z;
19006
- function oe(E) {
19007
- return typeof E == "object" && E !== null;
19006
+ function oe(b) {
19007
+ return typeof b == "object" && b !== null;
19008
19008
  }
19009
19009
  e.isObject = oe;
19010
- function ge(E) {
19011
- return oe(E) && ne(E) === "[object Date]";
19010
+ function ge(b) {
19011
+ return oe(b) && ne(b) === "[object Date]";
19012
19012
  }
19013
19013
  e.isDate = ge, e.types.isDate = ge;
19014
- function ce(E) {
19015
- return oe(E) && (ne(E) === "[object Error]" || E instanceof Error);
19014
+ function ce(b) {
19015
+ return oe(b) && (ne(b) === "[object Error]" || b instanceof Error);
19016
19016
  }
19017
19017
  e.isError = ce, e.types.isNativeError = ce;
19018
- function Te(E) {
19019
- return typeof E == "function";
19018
+ function Te(b) {
19019
+ return typeof b == "function";
19020
19020
  }
19021
19021
  e.isFunction = Te;
19022
- function le(E) {
19023
- return E === null || typeof E == "boolean" || typeof E == "number" || typeof E == "string" || typeof E == "symbol" || // ES6 symbol
19024
- typeof E > "u";
19022
+ function le(b) {
19023
+ return b === null || typeof b == "boolean" || typeof b == "number" || typeof b == "string" || typeof b == "symbol" || // ES6 symbol
19024
+ typeof b > "u";
19025
19025
  }
19026
19026
  e.isPrimitive = le, e.isBuffer = l6;
19027
- function ne(E) {
19028
- return Object.prototype.toString.call(E);
19027
+ function ne(b) {
19028
+ return Object.prototype.toString.call(b);
19029
19029
  }
19030
- function me(E) {
19031
- return E < 10 ? "0" + E.toString(10) : E.toString(10);
19030
+ function me(b) {
19031
+ return b < 10 ? "0" + b.toString(10) : b.toString(10);
19032
19032
  }
19033
19033
  var Be = [
19034
19034
  "Jan",
@@ -19045,31 +19045,31 @@ var u6 = dr.exports;
19045
19045
  "Dec"
19046
19046
  ];
19047
19047
  function Xe() {
19048
- var E = /* @__PURE__ */ new Date(), A = [
19049
- me(E.getHours()),
19050
- me(E.getMinutes()),
19051
- me(E.getSeconds())
19048
+ var b = /* @__PURE__ */ new Date(), A = [
19049
+ me(b.getHours()),
19050
+ me(b.getMinutes()),
19051
+ me(b.getSeconds())
19052
19052
  ].join(":");
19053
- return [E.getDate(), Be[E.getMonth()], A].join(" ");
19053
+ return [b.getDate(), Be[b.getMonth()], A].join(" ");
19054
19054
  }
19055
19055
  e.log = function() {
19056
19056
  console.log("%s - %s", Xe(), e.format.apply(e, arguments));
19057
- }, e.inherits = u6, e._extend = function(E, A) {
19057
+ }, e.inherits = u6, e._extend = function(b, A) {
19058
19058
  if (!A || !oe(A))
19059
- return E;
19059
+ return b;
19060
19060
  for (var M = Object.keys(A), H = M.length; H--; )
19061
- E[M[H]] = A[M[H]];
19062
- return E;
19061
+ b[M[H]] = A[M[H]];
19062
+ return b;
19063
19063
  };
19064
- function xe(E, A) {
19065
- return Object.prototype.hasOwnProperty.call(E, A);
19064
+ function xe(b, A) {
19065
+ return Object.prototype.hasOwnProperty.call(b, A);
19066
19066
  }
19067
19067
  var ve = typeof Symbol < "u" ? Symbol("util.promisify.custom") : void 0;
19068
- e.promisify = function(E) {
19069
- if (typeof E != "function")
19068
+ e.promisify = function(b) {
19069
+ if (typeof b != "function")
19070
19070
  throw new TypeError('The "original" argument must be of type Function');
19071
- if (ve && E[ve]) {
19072
- var A = E[ve];
19071
+ if (ve && b[ve]) {
19072
+ var A = b[ve];
19073
19073
  if (typeof A != "function")
19074
19074
  throw new TypeError('The "util.promisify.custom" argument must be of type Function');
19075
19075
  return Object.defineProperty(A, ve, {
@@ -19088,31 +19088,31 @@ var u6 = dr.exports;
19088
19088
  Z ? H(Z) : M(te);
19089
19089
  });
19090
19090
  try {
19091
- E.apply(this, J);
19091
+ b.apply(this, J);
19092
19092
  } catch (Z) {
19093
19093
  H(Z);
19094
19094
  }
19095
19095
  return ae;
19096
19096
  }
19097
- return Object.setPrototypeOf(A, Object.getPrototypeOf(E)), ve && Object.defineProperty(A, ve, {
19097
+ return Object.setPrototypeOf(A, Object.getPrototypeOf(b)), ve && Object.defineProperty(A, ve, {
19098
19098
  value: A,
19099
19099
  enumerable: !1,
19100
19100
  writable: !1,
19101
19101
  configurable: !0
19102
19102
  }), Object.defineProperties(
19103
19103
  A,
19104
- t(E)
19104
+ t(b)
19105
19105
  );
19106
19106
  }, e.promisify.custom = ve;
19107
- function we(E, A) {
19108
- if (!E) {
19107
+ function we(b, A) {
19108
+ if (!b) {
19109
19109
  var M = new Error("Promise was rejected with a falsy value");
19110
- M.reason = E, E = M;
19110
+ M.reason = b, b = M;
19111
19111
  }
19112
- return A(E);
19112
+ return A(b);
19113
19113
  }
19114
- function q(E) {
19115
- if (typeof E != "function")
19114
+ function q(b) {
19115
+ if (typeof b != "function")
19116
19116
  throw new TypeError('The "original" argument must be of type Function');
19117
19117
  function A() {
19118
19118
  for (var M = [], H = 0; H < arguments.length; H++)
@@ -19123,7 +19123,7 @@ var u6 = dr.exports;
19123
19123
  var J = this, j = function() {
19124
19124
  return ae.apply(J, arguments);
19125
19125
  };
19126
- E.apply(this, M).then(
19126
+ b.apply(this, M).then(
19127
19127
  function(Z) {
19128
19128
  K.process.nextTick(j.bind(null, null, Z));
19129
19129
  },
@@ -19132,9 +19132,9 @@ var u6 = dr.exports;
19132
19132
  }
19133
19133
  );
19134
19134
  }
19135
- return Object.setPrototypeOf(A, Object.getPrototypeOf(E)), Object.defineProperties(
19135
+ return Object.setPrototypeOf(A, Object.getPrototypeOf(b)), Object.defineProperties(
19136
19136
  A,
19137
- t(E)
19137
+ t(b)
19138
19138
  ), A;
19139
19139
  }
19140
19140
  e.callbackify = q;
@@ -19283,8 +19283,8 @@ function g6() {
19283
19283
  h
19284
19284
  );
19285
19285
  if (T) {
19286
- var k = parseFloat(T[1]), b = (T[2] || "ms").toLowerCase();
19287
- switch (b) {
19286
+ var k = parseFloat(T[1]), E = (T[2] || "ms").toLowerCase();
19287
+ switch (E) {
19288
19288
  case "years":
19289
19289
  case "year":
19290
19290
  case "yrs":
@@ -19337,9 +19337,9 @@ function g6() {
19337
19337
  var T = Math.abs(h);
19338
19338
  return T >= a ? y(h, T, a, "day") : T >= n ? y(h, T, n, "hour") : T >= t ? y(h, T, t, "minute") : T >= e ? y(h, T, e, "second") : h + " ms";
19339
19339
  }
19340
- function y(h, T, k, b) {
19340
+ function y(h, T, k, E) {
19341
19341
  var R = T >= k * 1.5;
19342
- return Math.round(h / k) + " " + b + (R ? "s" : "");
19342
+ return Math.round(h / k) + " " + E + (R ? "s" : "");
19343
19343
  }
19344
19344
  return Ga;
19345
19345
  }
@@ -19355,33 +19355,33 @@ function h6(e) {
19355
19355
  }
19356
19356
  n.selectColor = t;
19357
19357
  function n(h) {
19358
- let T, k = null, b, R;
19359
- function N(...x) {
19360
- if (!N.enabled)
19358
+ let T, k = null, E, R;
19359
+ function I(...x) {
19360
+ if (!I.enabled)
19361
19361
  return;
19362
- const v = N, O = Number(/* @__PURE__ */ new Date()), U = O - (T || O);
19363
- v.diff = U, v.prev = T, v.curr = O, T = O, x[0] = n.coerce(x[0]), typeof x[0] != "string" && x.unshift("%O");
19364
- let B = 0;
19362
+ const v = I, O = Number(/* @__PURE__ */ new Date()), B = O - (T || O);
19363
+ v.diff = B, v.prev = T, v.curr = O, T = O, x[0] = n.coerce(x[0]), typeof x[0] != "string" && x.unshift("%O");
19364
+ let U = 0;
19365
19365
  x[0] = x[0].replace(/%([a-zA-Z%])/g, (L, V) => {
19366
19366
  if (L === "%%")
19367
19367
  return "%";
19368
- B++;
19368
+ U++;
19369
19369
  const P = n.formatters[V];
19370
19370
  if (typeof P == "function") {
19371
- const z = x[B];
19372
- L = P.call(v, z), x.splice(B, 1), B--;
19371
+ const z = x[U];
19372
+ L = P.call(v, z), x.splice(U, 1), U--;
19373
19373
  }
19374
19374
  return L;
19375
19375
  }), n.formatArgs.call(v, x), (v.log || n.log).apply(v, x);
19376
19376
  }
19377
- return N.namespace = h, N.useColors = n.useColors(), N.color = n.selectColor(h), N.extend = a, N.destroy = n.destroy, Object.defineProperty(N, "enabled", {
19377
+ return I.namespace = h, I.useColors = n.useColors(), I.color = n.selectColor(h), I.extend = a, I.destroy = n.destroy, Object.defineProperty(I, "enabled", {
19378
19378
  enumerable: !0,
19379
19379
  configurable: !1,
19380
- get: () => k !== null ? k : (b !== n.namespaces && (b = n.namespaces, R = n.enabled(h)), R),
19380
+ get: () => k !== null ? k : (E !== n.namespaces && (E = n.namespaces, R = n.enabled(h)), R),
19381
19381
  set: (x) => {
19382
19382
  k = x;
19383
19383
  }
19384
- }), typeof n.init == "function" && n.init(N), N;
19384
+ }), typeof n.init == "function" && n.init(I), I;
19385
19385
  }
19386
19386
  function a(h, T) {
19387
19387
  const k = n(this.namespace + (typeof T > "u" ? ":" : T) + h);
@@ -19390,8 +19390,8 @@ function h6(e) {
19390
19390
  function s(h) {
19391
19391
  n.save(h), n.namespaces = h, n.names = [], n.skips = [];
19392
19392
  let T;
19393
- const k = (typeof h == "string" ? h : "").split(/[\s,]+/), b = k.length;
19394
- for (T = 0; T < b; T++)
19393
+ const k = (typeof h == "string" ? h : "").split(/[\s,]+/), E = k.length;
19394
+ for (T = 0; T < E; T++)
19395
19395
  k[T] && (h = k[T].replace(/\*/g, ".*?"), h[0] === "-" ? n.skips.push(new RegExp("^" + h.slice(1) + "$")) : n.names.push(new RegExp("^" + h + "$")));
19396
19396
  }
19397
19397
  function c() {