@opensecret/react 0.3.3 → 0.3.5

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.
@@ -53,11 +53,11 @@ function sy() {
53
53
  kf = 1;
54
54
  var r = wd, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
55
55
  function o(c, u, d) {
56
- var b, E = {}, Y = null, $ = null;
56
+ var b, S = {}, Y = null, $ = null;
57
57
  d !== void 0 && (Y = "" + d), u.key !== void 0 && (Y = "" + u.key), u.ref !== void 0 && ($ = u.ref);
58
- for (b in u) n.call(u, b) && !s.hasOwnProperty(b) && (E[b] = u[b]);
59
- if (c && c.defaultProps) for (b in u = c.defaultProps, u) E[b] === void 0 && (E[b] = u[b]);
60
- return { $$typeof: e, type: c, key: Y, ref: $, props: E, _owner: i.current };
58
+ for (b in u) n.call(u, b) && !s.hasOwnProperty(b) && (S[b] = u[b]);
59
+ if (c && c.defaultProps) for (b in u = c.defaultProps, u) S[b] === void 0 && (S[b] = u[b]);
60
+ return { $$typeof: e, type: c, key: Y, ref: $, props: S, _owner: i.current };
61
61
  }
62
62
  return Ss.Fragment = t, Ss.jsx = o, Ss.jsxs = o, Ss;
63
63
  }
@@ -74,11 +74,11 @@ var Es = {};
74
74
  var If;
75
75
  function oy() {
76
76
  return If || (If = 1, process.env.NODE_ENV !== "production" && function() {
77
- var r = wd, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), Y = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), w = Symbol.iterator, S = "@@iterator";
78
- function T(h) {
77
+ var r = wd, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), Y = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), w = Symbol.iterator, E = "@@iterator";
78
+ function B(h) {
79
79
  if (h === null || typeof h != "object")
80
80
  return null;
81
- var m = w && h[w] || h[S];
81
+ var m = w && h[w] || h[E];
82
82
  return typeof m == "function" ? m : null;
83
83
  }
84
84
  var I = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -102,7 +102,7 @@ function oy() {
102
102
  var z = !1, he = !1, ae = !1, de = !1, Re = !1, rt;
103
103
  rt = Symbol.for("react.module.reference");
104
104
  function ut(h) {
105
- return !!(typeof h == "string" || typeof h == "function" || h === n || h === s || Re || h === i || h === d || h === b || de || h === $ || z || he || ae || typeof h == "object" && h !== null && (h.$$typeof === Y || h.$$typeof === E || h.$$typeof === o || h.$$typeof === c || h.$$typeof === u || // This needs to include all possible module reference object
105
+ return !!(typeof h == "string" || typeof h == "function" || h === n || h === s || Re || h === i || h === d || h === b || de || h === $ || z || he || ae || typeof h == "object" && h !== null && (h.$$typeof === Y || h.$$typeof === S || h.$$typeof === o || h.$$typeof === c || h.$$typeof === u || // This needs to include all possible module reference object
106
106
  // types supported by any Flight configuration anywhere since
107
107
  // we don't know which Flight build this will end up being used
108
108
  // with.
@@ -149,7 +149,7 @@ function oy() {
149
149
  return At(_._context) + ".Provider";
150
150
  case u:
151
151
  return xt(h, h.render, "ForwardRef");
152
- case E:
152
+ case S:
153
153
  var N = h.displayName || null;
154
154
  return N !== null ? N : at(h.type) || "Memo";
155
155
  case Y: {
@@ -339,7 +339,7 @@ function oy() {
339
339
  switch (h.$$typeof) {
340
340
  case u:
341
341
  return di(h.render);
342
- case E:
342
+ case S:
343
343
  return Qr(h.type, m, _);
344
344
  case Y: {
345
345
  var N = h, Z = N._payload, F = N._init;
@@ -566,7 +566,7 @@ Check the top-level render call using <` + _ + ">.");
566
566
  else if (Me(h))
567
567
  h._store && (h._store.validated = !0);
568
568
  else if (h) {
569
- var Z = T(h);
569
+ var Z = B(h);
570
570
  if (typeof Z == "function" && Z !== h.entries)
571
571
  for (var F = Z.call(h), pe; !(pe = F.next()).done; )
572
572
  Me(pe.value) && Fn(pe.value, m);
@@ -583,7 +583,7 @@ Check the top-level render call using <` + _ + ">.");
583
583
  _ = m.propTypes;
584
584
  else if (typeof m == "object" && (m.$$typeof === u || // Note: Memo only checks outer props here.
585
585
  // Inner props are checked in the reconciler.
586
- m.$$typeof === E))
586
+ m.$$typeof === S))
587
587
  _ = m.propTypes;
588
588
  else
589
589
  return;
@@ -700,10 +700,10 @@ class cy {
700
700
  if (e.length === 0)
701
701
  return new Uint8Array(0);
702
702
  const t = this._getPaddingLength(e), n = e.length - t, i = new Uint8Array(this.maxDecodedLength(n));
703
- let s = 0, o = 0, c = 0, u = 0, d = 0, b = 0, E = 0;
703
+ let s = 0, o = 0, c = 0, u = 0, d = 0, b = 0, S = 0;
704
704
  for (; o < n - 4; o += 4)
705
- u = this._decodeChar(e.charCodeAt(o + 0)), d = this._decodeChar(e.charCodeAt(o + 1)), b = this._decodeChar(e.charCodeAt(o + 2)), E = this._decodeChar(e.charCodeAt(o + 3)), i[s++] = u << 2 | d >>> 4, i[s++] = d << 4 | b >>> 2, i[s++] = b << 6 | E, c |= u & fr, c |= d & fr, c |= b & fr, c |= E & fr;
706
- if (o < n - 1 && (u = this._decodeChar(e.charCodeAt(o)), d = this._decodeChar(e.charCodeAt(o + 1)), i[s++] = u << 2 | d >>> 4, c |= u & fr, c |= d & fr), o < n - 2 && (b = this._decodeChar(e.charCodeAt(o + 2)), i[s++] = d << 4 | b >>> 2, c |= b & fr), o < n - 3 && (E = this._decodeChar(e.charCodeAt(o + 3)), i[s++] = b << 6 | E, c |= E & fr), c !== 0)
705
+ u = this._decodeChar(e.charCodeAt(o + 0)), d = this._decodeChar(e.charCodeAt(o + 1)), b = this._decodeChar(e.charCodeAt(o + 2)), S = this._decodeChar(e.charCodeAt(o + 3)), i[s++] = u << 2 | d >>> 4, i[s++] = d << 4 | b >>> 2, i[s++] = b << 6 | S, c |= u & fr, c |= d & fr, c |= b & fr, c |= S & fr;
706
+ if (o < n - 1 && (u = this._decodeChar(e.charCodeAt(o)), d = this._decodeChar(e.charCodeAt(o + 1)), i[s++] = u << 2 | d >>> 4, c |= u & fr, c |= d & fr), o < n - 2 && (b = this._decodeChar(e.charCodeAt(o + 2)), i[s++] = d << 4 | b >>> 2, c |= b & fr), o < n - 3 && (S = this._decodeChar(e.charCodeAt(o + 3)), i[s++] = b << 6 | S, c |= S & fr), c !== 0)
707
707
  throw new Error("Base64Coder: incorrect characters for decoding");
708
708
  return i;
709
709
  }
@@ -756,10 +756,10 @@ function Or(r) {
756
756
  }
757
757
  const ly = 20;
758
758
  function uy(r, e, t) {
759
- let n = 1634760805, i = 857760878, s = 2036477234, o = 1797285236, c = t[3] << 24 | t[2] << 16 | t[1] << 8 | t[0], u = t[7] << 24 | t[6] << 16 | t[5] << 8 | t[4], d = t[11] << 24 | t[10] << 16 | t[9] << 8 | t[8], b = t[15] << 24 | t[14] << 16 | t[13] << 8 | t[12], E = t[19] << 24 | t[18] << 16 | t[17] << 8 | t[16], Y = t[23] << 24 | t[22] << 16 | t[21] << 8 | t[20], $ = t[27] << 24 | t[26] << 16 | t[25] << 8 | t[24], w = t[31] << 24 | t[30] << 16 | t[29] << 8 | t[28], S = e[3] << 24 | e[2] << 16 | e[1] << 8 | e[0], T = e[7] << 24 | e[6] << 16 | e[5] << 8 | e[4], I = e[11] << 24 | e[10] << 16 | e[9] << 8 | e[8], R = e[15] << 24 | e[14] << 16 | e[13] << 8 | e[12], P = n, z = i, he = s, ae = o, de = c, Re = u, rt = d, ut = b, xt = E, At = Y, at = $, dt = w, Ye = S, Ge = T, oe = I, Te = R;
759
+ let n = 1634760805, i = 857760878, s = 2036477234, o = 1797285236, c = t[3] << 24 | t[2] << 16 | t[1] << 8 | t[0], u = t[7] << 24 | t[6] << 16 | t[5] << 8 | t[4], d = t[11] << 24 | t[10] << 16 | t[9] << 8 | t[8], b = t[15] << 24 | t[14] << 16 | t[13] << 8 | t[12], S = t[19] << 24 | t[18] << 16 | t[17] << 8 | t[16], Y = t[23] << 24 | t[22] << 16 | t[21] << 8 | t[20], $ = t[27] << 24 | t[26] << 16 | t[25] << 8 | t[24], w = t[31] << 24 | t[30] << 16 | t[29] << 8 | t[28], E = e[3] << 24 | e[2] << 16 | e[1] << 8 | e[0], B = e[7] << 24 | e[6] << 16 | e[5] << 8 | e[4], I = e[11] << 24 | e[10] << 16 | e[9] << 8 | e[8], R = e[15] << 24 | e[14] << 16 | e[13] << 8 | e[12], P = n, z = i, he = s, ae = o, de = c, Re = u, rt = d, ut = b, xt = S, At = Y, at = $, dt = w, Ye = E, Ge = B, oe = I, Te = R;
760
760
  for (let ft = 0; ft < ly; ft += 2)
761
761
  P = P + de | 0, Ye ^= P, Ye = Ye >>> 16 | Ye << 16, xt = xt + Ye | 0, de ^= xt, de = de >>> 20 | de << 12, z = z + Re | 0, Ge ^= z, Ge = Ge >>> 16 | Ge << 16, At = At + Ge | 0, Re ^= At, Re = Re >>> 20 | Re << 12, he = he + rt | 0, oe ^= he, oe = oe >>> 16 | oe << 16, at = at + oe | 0, rt ^= at, rt = rt >>> 20 | rt << 12, ae = ae + ut | 0, Te ^= ae, Te = Te >>> 16 | Te << 16, dt = dt + Te | 0, ut ^= dt, ut = ut >>> 20 | ut << 12, he = he + rt | 0, oe ^= he, oe = oe >>> 24 | oe << 8, at = at + oe | 0, rt ^= at, rt = rt >>> 25 | rt << 7, ae = ae + ut | 0, Te ^= ae, Te = Te >>> 24 | Te << 8, dt = dt + Te | 0, ut ^= dt, ut = ut >>> 25 | ut << 7, z = z + Re | 0, Ge ^= z, Ge = Ge >>> 24 | Ge << 8, At = At + Ge | 0, Re ^= At, Re = Re >>> 25 | Re << 7, P = P + de | 0, Ye ^= P, Ye = Ye >>> 24 | Ye << 8, xt = xt + Ye | 0, de ^= xt, de = de >>> 25 | de << 7, P = P + Re | 0, Te ^= P, Te = Te >>> 16 | Te << 16, at = at + Te | 0, Re ^= at, Re = Re >>> 20 | Re << 12, z = z + rt | 0, Ye ^= z, Ye = Ye >>> 16 | Ye << 16, dt = dt + Ye | 0, rt ^= dt, rt = rt >>> 20 | rt << 12, he = he + ut | 0, Ge ^= he, Ge = Ge >>> 16 | Ge << 16, xt = xt + Ge | 0, ut ^= xt, ut = ut >>> 20 | ut << 12, ae = ae + de | 0, oe ^= ae, oe = oe >>> 16 | oe << 16, At = At + oe | 0, de ^= At, de = de >>> 20 | de << 12, he = he + ut | 0, Ge ^= he, Ge = Ge >>> 24 | Ge << 8, xt = xt + Ge | 0, ut ^= xt, ut = ut >>> 25 | ut << 7, ae = ae + de | 0, oe ^= ae, oe = oe >>> 24 | oe << 8, At = At + oe | 0, de ^= At, de = de >>> 25 | de << 7, z = z + rt | 0, Ye ^= z, Ye = Ye >>> 24 | Ye << 8, dt = dt + Ye | 0, rt ^= dt, rt = rt >>> 25 | rt << 7, P = P + Re | 0, Te ^= P, Te = Te >>> 24 | Te << 8, at = at + Te | 0, Re ^= at, Re = Re >>> 25 | Re << 7;
762
- Ft(P + n | 0, r, 0), Ft(z + i | 0, r, 4), Ft(he + s | 0, r, 8), Ft(ae + o | 0, r, 12), Ft(de + c | 0, r, 16), Ft(Re + u | 0, r, 20), Ft(rt + d | 0, r, 24), Ft(ut + b | 0, r, 28), Ft(xt + E | 0, r, 32), Ft(At + Y | 0, r, 36), Ft(at + $ | 0, r, 40), Ft(dt + w | 0, r, 44), Ft(Ye + S | 0, r, 48), Ft(Ge + T | 0, r, 52), Ft(oe + I | 0, r, 56), Ft(Te + R | 0, r, 60);
762
+ Ft(P + n | 0, r, 0), Ft(z + i | 0, r, 4), Ft(he + s | 0, r, 8), Ft(ae + o | 0, r, 12), Ft(de + c | 0, r, 16), Ft(Re + u | 0, r, 20), Ft(rt + d | 0, r, 24), Ft(ut + b | 0, r, 28), Ft(xt + S | 0, r, 32), Ft(At + Y | 0, r, 36), Ft(at + $ | 0, r, 40), Ft(dt + w | 0, r, 44), Ft(Ye + E | 0, r, 48), Ft(Ge + B | 0, r, 52), Ft(oe + I | 0, r, 56), Ft(Te + R | 0, r, 60);
763
763
  }
764
764
  function nl(r, e, t, n, i = 0) {
765
765
  if (r.length !== 32)
@@ -835,7 +835,7 @@ class yy {
835
835
  this._r[8] = (u >>> 8 | d << 8) & 8191, this._r[9] = d >>> 5 & 127, this._pad[0] = e[16] | e[17] << 8, this._pad[1] = e[18] | e[19] << 8, this._pad[2] = e[20] | e[21] << 8, this._pad[3] = e[22] | e[23] << 8, this._pad[4] = e[24] | e[25] << 8, this._pad[5] = e[26] | e[27] << 8, this._pad[6] = e[28] | e[29] << 8, this._pad[7] = e[30] | e[31] << 8;
836
836
  }
837
837
  _blocks(e, t, n) {
838
- let i = this._fin ? 0 : 2048, s = this._h[0], o = this._h[1], c = this._h[2], u = this._h[3], d = this._h[4], b = this._h[5], E = this._h[6], Y = this._h[7], $ = this._h[8], w = this._h[9], S = this._r[0], T = this._r[1], I = this._r[2], R = this._r[3], P = this._r[4], z = this._r[5], he = this._r[6], ae = this._r[7], de = this._r[8], Re = this._r[9];
838
+ let i = this._fin ? 0 : 2048, s = this._h[0], o = this._h[1], c = this._h[2], u = this._h[3], d = this._h[4], b = this._h[5], S = this._h[6], Y = this._h[7], $ = this._h[8], w = this._h[9], E = this._r[0], B = this._r[1], I = this._r[2], R = this._r[3], P = this._r[4], z = this._r[5], he = this._r[6], ae = this._r[7], de = this._r[8], Re = this._r[9];
839
839
  for (; n >= 16; ) {
840
840
  let rt = e[t + 0] | e[t + 1] << 8;
841
841
  s += rt & 8191;
@@ -848,33 +848,33 @@ class yy {
848
848
  let at = e[t + 8] | e[t + 9] << 8;
849
849
  d += (At >>> 4 | at << 12) & 8191, b += at >>> 1 & 8191;
850
850
  let dt = e[t + 10] | e[t + 11] << 8;
851
- E += (at >>> 14 | dt << 2) & 8191;
851
+ S += (at >>> 14 | dt << 2) & 8191;
852
852
  let Ye = e[t + 12] | e[t + 13] << 8;
853
853
  Y += (dt >>> 11 | Ye << 5) & 8191;
854
854
  let Ge = e[t + 14] | e[t + 15] << 8;
855
855
  $ += (Ye >>> 8 | Ge << 8) & 8191, w += Ge >>> 5 | i;
856
856
  let oe = 0, Te = oe;
857
- Te += s * S, Te += o * (5 * Re), Te += c * (5 * de), Te += u * (5 * ae), Te += d * (5 * he), oe = Te >>> 13, Te &= 8191, Te += b * (5 * z), Te += E * (5 * P), Te += Y * (5 * R), Te += $ * (5 * I), Te += w * (5 * T), oe += Te >>> 13, Te &= 8191;
857
+ Te += s * E, Te += o * (5 * Re), Te += c * (5 * de), Te += u * (5 * ae), Te += d * (5 * he), oe = Te >>> 13, Te &= 8191, Te += b * (5 * z), Te += S * (5 * P), Te += Y * (5 * R), Te += $ * (5 * I), Te += w * (5 * B), oe += Te >>> 13, Te &= 8191;
858
858
  let ft = oe;
859
- ft += s * T, ft += o * S, ft += c * (5 * Re), ft += u * (5 * de), ft += d * (5 * ae), oe = ft >>> 13, ft &= 8191, ft += b * (5 * he), ft += E * (5 * z), ft += Y * (5 * P), ft += $ * (5 * R), ft += w * (5 * I), oe += ft >>> 13, ft &= 8191;
859
+ ft += s * B, ft += o * E, ft += c * (5 * Re), ft += u * (5 * de), ft += d * (5 * ae), oe = ft >>> 13, ft &= 8191, ft += b * (5 * he), ft += S * (5 * z), ft += Y * (5 * P), ft += $ * (5 * R), ft += w * (5 * I), oe += ft >>> 13, ft &= 8191;
860
860
  let St = oe;
861
- St += s * I, St += o * T, St += c * S, St += u * (5 * Re), St += d * (5 * de), oe = St >>> 13, St &= 8191, St += b * (5 * ae), St += E * (5 * he), St += Y * (5 * z), St += $ * (5 * P), St += w * (5 * R), oe += St >>> 13, St &= 8191;
861
+ St += s * I, St += o * B, St += c * E, St += u * (5 * Re), St += d * (5 * de), oe = St >>> 13, St &= 8191, St += b * (5 * ae), St += S * (5 * he), St += Y * (5 * z), St += $ * (5 * P), St += w * (5 * R), oe += St >>> 13, St &= 8191;
862
862
  let Et = oe;
863
- Et += s * R, Et += o * I, Et += c * T, Et += u * S, Et += d * (5 * Re), oe = Et >>> 13, Et &= 8191, Et += b * (5 * de), Et += E * (5 * ae), Et += Y * (5 * he), Et += $ * (5 * z), Et += w * (5 * P), oe += Et >>> 13, Et &= 8191;
863
+ Et += s * R, Et += o * I, Et += c * B, Et += u * E, Et += d * (5 * Re), oe = Et >>> 13, Et &= 8191, Et += b * (5 * de), Et += S * (5 * ae), Et += Y * (5 * he), Et += $ * (5 * z), Et += w * (5 * P), oe += Et >>> 13, Et &= 8191;
864
864
  let ce = oe;
865
- ce += s * P, ce += o * R, ce += c * I, ce += u * T, ce += d * S, oe = ce >>> 13, ce &= 8191, ce += b * (5 * Re), ce += E * (5 * de), ce += Y * (5 * ae), ce += $ * (5 * he), ce += w * (5 * z), oe += ce >>> 13, ce &= 8191;
865
+ ce += s * P, ce += o * R, ce += c * I, ce += u * B, ce += d * E, oe = ce >>> 13, ce &= 8191, ce += b * (5 * Re), ce += S * (5 * de), ce += Y * (5 * ae), ce += $ * (5 * he), ce += w * (5 * z), oe += ce >>> 13, ce &= 8191;
866
866
  let Xe = oe;
867
- Xe += s * z, Xe += o * P, Xe += c * R, Xe += u * I, Xe += d * T, oe = Xe >>> 13, Xe &= 8191, Xe += b * S, Xe += E * (5 * Re), Xe += Y * (5 * de), Xe += $ * (5 * ae), Xe += w * (5 * he), oe += Xe >>> 13, Xe &= 8191;
867
+ Xe += s * z, Xe += o * P, Xe += c * R, Xe += u * I, Xe += d * B, oe = Xe >>> 13, Xe &= 8191, Xe += b * E, Xe += S * (5 * Re), Xe += Y * (5 * de), Xe += $ * (5 * ae), Xe += w * (5 * he), oe += Xe >>> 13, Xe &= 8191;
868
868
  let pt = oe;
869
- pt += s * he, pt += o * z, pt += c * P, pt += u * R, pt += d * I, oe = pt >>> 13, pt &= 8191, pt += b * T, pt += E * S, pt += Y * (5 * Re), pt += $ * (5 * de), pt += w * (5 * ae), oe += pt >>> 13, pt &= 8191;
869
+ pt += s * he, pt += o * z, pt += c * P, pt += u * R, pt += d * I, oe = pt >>> 13, pt &= 8191, pt += b * B, pt += S * E, pt += Y * (5 * Re), pt += $ * (5 * de), pt += w * (5 * ae), oe += pt >>> 13, pt &= 8191;
870
870
  let ee = oe;
871
- ee += s * ae, ee += o * he, ee += c * z, ee += u * P, ee += d * R, oe = ee >>> 13, ee &= 8191, ee += b * I, ee += E * T, ee += Y * S, ee += $ * (5 * Re), ee += w * (5 * de), oe += ee >>> 13, ee &= 8191;
871
+ ee += s * ae, ee += o * he, ee += c * z, ee += u * P, ee += d * R, oe = ee >>> 13, ee &= 8191, ee += b * I, ee += S * B, ee += Y * E, ee += $ * (5 * Re), ee += w * (5 * de), oe += ee >>> 13, ee &= 8191;
872
872
  let nt = oe;
873
- nt += s * de, nt += o * ae, nt += c * he, nt += u * z, nt += d * P, oe = nt >>> 13, nt &= 8191, nt += b * R, nt += E * I, nt += Y * T, nt += $ * S, nt += w * (5 * Re), oe += nt >>> 13, nt &= 8191;
873
+ nt += s * de, nt += o * ae, nt += c * he, nt += u * z, nt += d * P, oe = nt >>> 13, nt &= 8191, nt += b * R, nt += S * I, nt += Y * B, nt += $ * E, nt += w * (5 * Re), oe += nt >>> 13, nt &= 8191;
874
874
  let kt = oe;
875
- kt += s * Re, kt += o * de, kt += c * ae, kt += u * he, kt += d * z, oe = kt >>> 13, kt &= 8191, kt += b * P, kt += E * R, kt += Y * I, kt += $ * T, kt += w * S, oe += kt >>> 13, kt &= 8191, oe = (oe << 2) + oe | 0, oe = oe + Te | 0, Te = oe & 8191, oe = oe >>> 13, ft += oe, s = Te, o = ft, c = St, u = Et, d = ce, b = Xe, E = pt, Y = ee, $ = nt, w = kt, t += 16, n -= 16;
875
+ kt += s * Re, kt += o * de, kt += c * ae, kt += u * he, kt += d * z, oe = kt >>> 13, kt &= 8191, kt += b * P, kt += S * R, kt += Y * I, kt += $ * B, kt += w * E, oe += kt >>> 13, kt &= 8191, oe = (oe << 2) + oe | 0, oe = oe + Te | 0, Te = oe & 8191, oe = oe >>> 13, ft += oe, s = Te, o = ft, c = St, u = Et, d = ce, b = Xe, S = pt, Y = ee, $ = nt, w = kt, t += 16, n -= 16;
876
876
  }
877
- this._h[0] = s, this._h[1] = o, this._h[2] = c, this._h[3] = u, this._h[4] = d, this._h[5] = b, this._h[6] = E, this._h[7] = Y, this._h[8] = $, this._h[9] = w;
877
+ this._h[0] = s, this._h[1] = o, this._h[2] = c, this._h[3] = u, this._h[4] = d, this._h[5] = b, this._h[6] = S, this._h[7] = Y, this._h[8] = $, this._h[9] = w;
878
878
  }
879
879
  finish(e, t = 0) {
880
880
  const n = new Uint16Array(10);
@@ -1064,8 +1064,8 @@ var Nf;
1064
1064
  var t = typeof globalThis == "object" ? globalThis : typeof tl == "object" ? tl : typeof self == "object" ? self : typeof this == "object" ? this : c(), n = i(r);
1065
1065
  typeof t.Reflect < "u" && (n = i(t.Reflect, n)), e(n, t), typeof t.Reflect > "u" && (t.Reflect = r);
1066
1066
  function i(u, d) {
1067
- return function(b, E) {
1068
- Object.defineProperty(u, b, { configurable: !0, writable: !0, value: E }), d && d(b, E);
1067
+ return function(b, S) {
1068
+ Object.defineProperty(u, b, { configurable: !0, writable: !0, value: S }), d && d(b, S);
1069
1069
  };
1070
1070
  }
1071
1071
  function s() {
@@ -1103,7 +1103,7 @@ var Nf;
1103
1103
  } : function(k, C) {
1104
1104
  return k[C];
1105
1105
  }
1106
- }, E = Object.getPrototypeOf(Function), Y = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Dr(), $ = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : yi(), w = typeof WeakMap == "function" ? WeakMap : gi(), S = i ? Symbol.for("@reflect-metadata:registry") : void 0, T = pi(), I = Mn(T);
1106
+ }, S = Object.getPrototypeOf(Function), Y = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Dr(), $ = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : yi(), w = typeof WeakMap == "function" ? WeakMap : gi(), E = i ? Symbol.for("@reflect-metadata:registry") : void 0, B = pi(), I = Mn(B);
1107
1107
  function R(k, C, j, W) {
1108
1108
  if (ce(j)) {
1109
1109
  if (!hi(k))
@@ -1419,7 +1419,7 @@ var Nf;
1419
1419
  }
1420
1420
  function $n(k) {
1421
1421
  var C = Object.getPrototypeOf(k);
1422
- if (typeof k != "function" || k === E || C !== E)
1422
+ if (typeof k != "function" || k === S || C !== S)
1423
1423
  return C;
1424
1424
  var j = k.prototype, W = j && Object.getPrototypeOf(j);
1425
1425
  if (W == null || W === Object.prototype)
@@ -1429,7 +1429,7 @@ var Nf;
1429
1429
  }
1430
1430
  function bn() {
1431
1431
  var k;
1432
- !ce(S) && typeof t.Reflect < "u" && !(S in t.Reflect) && typeof t.Reflect.defineMetadata == "function" && (k = Vn(t.Reflect));
1432
+ !ce(E) && typeof t.Reflect < "u" && !(E in t.Reflect) && typeof t.Reflect.defineMetadata == "function" && (k = Vn(t.Reflect));
1433
1433
  var C, j, W, Ee = new w(), wt = {
1434
1434
  registerProvider: bt,
1435
1435
  getProvider: X,
@@ -1502,7 +1502,7 @@ var Nf;
1502
1502
  }
1503
1503
  function pi() {
1504
1504
  var k;
1505
- return !ce(S) && ee(t.Reflect) && Object.isExtensible(t.Reflect) && (k = t.Reflect[S]), ce(k) && (k = bn()), !ce(S) && ee(t.Reflect) && Object.isExtensible(t.Reflect) && Object.defineProperty(t.Reflect, S, {
1505
+ return !ce(E) && ee(t.Reflect) && Object.isExtensible(t.Reflect) && (k = t.Reflect[E]), ce(k) && (k = bn()), !ce(E) && ee(t.Reflect) && Object.isExtensible(t.Reflect) && Object.defineProperty(t.Reflect, E, {
1506
1506
  enumerable: !1,
1507
1507
  configurable: !1,
1508
1508
  writable: !1,
@@ -1521,7 +1521,7 @@ var Nf;
1521
1521
  OrdinaryOwnMetadataKeys: Ue,
1522
1522
  OrdinaryDeleteMetadata: X
1523
1523
  };
1524
- return T.registerProvider(j), j;
1524
+ return B.registerProvider(j), j;
1525
1525
  function W(te, re, ve) {
1526
1526
  var Me = C.get(te), Je = !1;
1527
1527
  if (ce(Me)) {
@@ -1623,11 +1623,11 @@ var Nf;
1623
1623
  return Ue;
1624
1624
  }
1625
1625
  function br(k, C, j) {
1626
- var W = T.getProvider(k, C);
1626
+ var W = B.getProvider(k, C);
1627
1627
  if (!ce(W))
1628
1628
  return W;
1629
1629
  if (j) {
1630
- if (T.setProvider(k, C, I))
1630
+ if (B.setProvider(k, C, I))
1631
1631
  return I;
1632
1632
  throw new Error("Illegal state.");
1633
1633
  }
@@ -2174,8 +2174,8 @@ function Ii(r, e, t = -1) {
2174
2174
  }
2175
2175
  const d = new Uint8Array(u);
2176
2176
  for (let b = c - 1; b >= 0; b--) {
2177
- const E = Math.pow(2, b * e);
2178
- d[s - b - 1] = Math.floor(i / E), i -= d[s - b - 1] * E;
2177
+ const S = Math.pow(2, b * e);
2178
+ d[s - b - 1] = Math.floor(i / S), i -= d[s - b - 1] * S;
2179
2179
  }
2180
2180
  return u;
2181
2181
  }
@@ -2470,10 +2470,10 @@ class kd extends gn(Hi) {
2470
2470
  }
2471
2471
  }
2472
2472
  this.blockLength = u + 1, d[u - 1] = s[u] & 127;
2473
- const E = new Uint8Array(u);
2473
+ const S = new Uint8Array(u);
2474
2474
  for (let Y = 0; Y < u; Y++)
2475
- E[Y] = d[Y];
2476
- d = this.valueHexView = new Uint8Array(u), d.set(E), this.blockLength <= 9 ? this.tagNumber = Xi(d, 7) : (this.isHexOnly = !0, this.warnings.push("Tag too long, represented as hex-coded"));
2475
+ S[Y] = d[Y];
2476
+ d = this.valueHexView = new Uint8Array(u), d.set(S), this.blockLength <= 9 ? this.tagNumber = Xi(d, 7) : (this.isHexOnly = !0, this.warnings.push("Tag too long, represented as hex-coded"));
2477
2477
  }
2478
2478
  if (this.tagClass === 1 && this.isConstructed)
2479
2479
  switch (this.tagNumber) {
@@ -3158,21 +3158,21 @@ function My(r, e) {
3158
3158
  const o = s.length - 1, c = i.slice(0), u = c.length - 1;
3159
3159
  let d = 0;
3160
3160
  const b = u < o ? o : u;
3161
- let E = 0;
3162
- for (let Y = b; Y >= 0; Y--, E++) {
3161
+ let S = 0;
3162
+ for (let Y = b; Y >= 0; Y--, S++) {
3163
3163
  switch (!0) {
3164
- case E < c.length:
3165
- d = s[o - E] + c[u - E] + t[0];
3164
+ case S < c.length:
3165
+ d = s[o - S] + c[u - S] + t[0];
3166
3166
  break;
3167
3167
  default:
3168
- d = s[o - E] + t[0];
3168
+ d = s[o - S] + t[0];
3169
3169
  }
3170
3170
  switch (t[0] = d / 10, !0) {
3171
- case E >= s.length:
3171
+ case S >= s.length:
3172
3172
  s = il(new Uint8Array([d % 10]), s);
3173
3173
  break;
3174
3174
  default:
3175
- s[o - E] = d % 10;
3175
+ s[o - S] = d % 10;
3176
3176
  }
3177
3177
  }
3178
3178
  return t[0] > 0 && (s = il(t, s)), s;
@@ -3194,7 +3194,7 @@ function Vy(r, e) {
3194
3194
  let t = 0;
3195
3195
  const n = new Uint8Array(r), i = new Uint8Array(e), s = n.slice(0), o = s.length - 1, c = i.slice(0), u = c.length - 1;
3196
3196
  let d, b = 0;
3197
- for (let E = u; E >= 0; E--, b++)
3197
+ for (let S = u; S >= 0; S--, b++)
3198
3198
  switch (d = s[o - b] - c[u - b] - t, !0) {
3199
3199
  case d < 0:
3200
3200
  t = 1, s[o - b] = d + 10;
@@ -3203,7 +3203,7 @@ function Vy(r, e) {
3203
3203
  t = 0, s[o - b] = d;
3204
3204
  }
3205
3205
  if (t > 0)
3206
- for (let E = o - u + 1; E >= 0; E--, b++)
3206
+ for (let S = o - u + 1; S >= 0; S--, b++)
3207
3207
  if (d = s[o - b] - t, d < 0)
3208
3208
  t = 1, s[o - b] = d + 10;
3209
3209
  else {
@@ -3925,8 +3925,8 @@ class tc extends go {
3925
3925
  if (e[e.length - 1] === "Z")
3926
3926
  n = e.substring(0, e.length - 1), t = !0;
3927
3927
  else {
3928
- const E = new Number(e[e.length - 1]);
3929
- if (isNaN(E.valueOf()))
3928
+ const S = new Number(e[e.length - 1]);
3929
+ if (isNaN(S.valueOf()))
3930
3930
  throw new Error("Wrong input string for conversion");
3931
3931
  n = e;
3932
3932
  }
@@ -3936,26 +3936,26 @@ class tc extends go {
3936
3936
  if (n.indexOf("-") !== -1)
3937
3937
  throw new Error("Wrong input string for conversion");
3938
3938
  } else {
3939
- let E = 1, Y = n.indexOf("+"), $ = "";
3940
- if (Y === -1 && (Y = n.indexOf("-"), E = -1), Y !== -1) {
3939
+ let S = 1, Y = n.indexOf("+"), $ = "";
3940
+ if (Y === -1 && (Y = n.indexOf("-"), S = -1), Y !== -1) {
3941
3941
  if ($ = n.substring(Y + 1), n = n.substring(0, Y), $.length !== 2 && $.length !== 4)
3942
3942
  throw new Error("Wrong input string for conversion");
3943
3943
  let w = parseInt($.substring(0, 2), 10);
3944
3944
  if (isNaN(w.valueOf()))
3945
3945
  throw new Error("Wrong input string for conversion");
3946
- if (c = E * w, $.length === 4) {
3946
+ if (c = S * w, $.length === 4) {
3947
3947
  if (w = parseInt($.substring(2, 4), 10), isNaN(w.valueOf()))
3948
3948
  throw new Error("Wrong input string for conversion");
3949
- u = E * w;
3949
+ u = S * w;
3950
3950
  }
3951
3951
  }
3952
3952
  }
3953
3953
  let d = n.indexOf(".");
3954
3954
  if (d === -1 && (d = n.indexOf(",")), d !== -1) {
3955
- const E = new Number(`0${n.substring(d)}`);
3956
- if (isNaN(E.valueOf()))
3955
+ const S = new Number(`0${n.substring(d)}`);
3956
+ if (isNaN(S.valueOf()))
3957
3957
  throw new Error("Wrong input string for conversion");
3958
- s = E.valueOf(), i = n.substring(0, d);
3958
+ s = S.valueOf(), i = n.substring(0, d);
3959
3959
  } else
3960
3960
  i = n;
3961
3961
  switch (!0) {
@@ -3965,20 +3965,20 @@ class tc extends go {
3965
3965
  break;
3966
3966
  case i.length === 10:
3967
3967
  if (o = /(\d{4})(\d{2})(\d{2})(\d{2})/ig, d !== -1) {
3968
- let E = 60 * s;
3969
- this.minute = Math.floor(E), E = 60 * (E - this.minute), this.second = Math.floor(E), E = 1e3 * (E - this.second), this.millisecond = Math.floor(E);
3968
+ let S = 60 * s;
3969
+ this.minute = Math.floor(S), S = 60 * (S - this.minute), this.second = Math.floor(S), S = 1e3 * (S - this.second), this.millisecond = Math.floor(S);
3970
3970
  }
3971
3971
  break;
3972
3972
  case i.length === 12:
3973
3973
  if (o = /(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})/ig, d !== -1) {
3974
- let E = 60 * s;
3975
- this.second = Math.floor(E), E = 1e3 * (E - this.second), this.millisecond = Math.floor(E);
3974
+ let S = 60 * s;
3975
+ this.second = Math.floor(S), S = 1e3 * (S - this.second), this.millisecond = Math.floor(S);
3976
3976
  }
3977
3977
  break;
3978
3978
  case i.length === 14:
3979
3979
  if (o = /(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})/ig, d !== -1) {
3980
- const E = 1e3 * s;
3981
- this.millisecond = Math.floor(E);
3980
+ const S = 1e3 * s;
3981
+ this.millisecond = Math.floor(S);
3982
3982
  }
3983
3983
  break;
3984
3984
  default:
@@ -3987,32 +3987,32 @@ class tc extends go {
3987
3987
  const b = o.exec(i);
3988
3988
  if (b === null)
3989
3989
  throw new Error("Wrong input string for conversion");
3990
- for (let E = 1; E < b.length; E++)
3991
- switch (E) {
3990
+ for (let S = 1; S < b.length; S++)
3991
+ switch (S) {
3992
3992
  case 1:
3993
- this.year = parseInt(b[E], 10);
3993
+ this.year = parseInt(b[S], 10);
3994
3994
  break;
3995
3995
  case 2:
3996
- this.month = parseInt(b[E], 10);
3996
+ this.month = parseInt(b[S], 10);
3997
3997
  break;
3998
3998
  case 3:
3999
- this.day = parseInt(b[E], 10);
3999
+ this.day = parseInt(b[S], 10);
4000
4000
  break;
4001
4001
  case 4:
4002
- this.hour = parseInt(b[E], 10) + c;
4002
+ this.hour = parseInt(b[S], 10) + c;
4003
4003
  break;
4004
4004
  case 5:
4005
- this.minute = parseInt(b[E], 10) + u;
4005
+ this.minute = parseInt(b[S], 10) + u;
4006
4006
  break;
4007
4007
  case 6:
4008
- this.second = parseInt(b[E], 10);
4008
+ this.second = parseInt(b[S], 10);
4009
4009
  break;
4010
4010
  default:
4011
4011
  throw new Error("Wrong input string for conversion");
4012
4012
  }
4013
4013
  if (t === !1) {
4014
- const E = new Date(this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);
4015
- this.year = E.getUTCFullYear(), this.month = E.getUTCMonth(), this.day = E.getUTCDay(), this.hour = E.getUTCHours(), this.minute = E.getUTCMinutes(), this.second = E.getUTCSeconds(), this.millisecond = E.getUTCMilliseconds();
4014
+ const S = new Date(this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);
4015
+ this.year = S.getUTCFullYear(), this.month = S.getUTCMonth(), this.day = S.getUTCDay(), this.hour = S.getUTCHours(), this.minute = S.getUTCMinutes(), this.second = S.getUTCSeconds(), this.millisecond = S.getUTCMilliseconds();
4016
4016
  }
4017
4017
  }
4018
4018
  toString(e = "iso") {
@@ -4591,10 +4591,10 @@ class fg {
4591
4591
  const o = n.items[s], c = t ? s : "";
4592
4592
  let u;
4593
4593
  if (typeof o.type == "number") {
4594
- const b = A[o.type], E = xp[b];
4595
- if (!E)
4594
+ const b = A[o.type], S = xp[b];
4595
+ if (!S)
4596
4596
  throw new Error(`Cannot get ASN1 class by name '${b}'`);
4597
- u = new E({ name: c });
4597
+ u = new S({ name: c });
4598
4598
  } else An(o.type) ? u = new o.type().toSchema(c) : o.optional ? this.get(o.type).type === L.Choice ? u = new Bi({ name: c }) : (u = this.create(o.type, !1), u.name = c) : u = new Bi({ name: c });
4599
4599
  const d = !!o.optional || o.defaultValue !== void 0;
4600
4600
  if (o.repeated) {
@@ -4625,15 +4625,15 @@ class fg {
4625
4625
  } else {
4626
4626
  this.cache(o.type);
4627
4627
  const b = !!o.repeated;
4628
- let E = b ? u : this.get(o.type, !0).schema;
4629
- E = "valueBlock" in E ? E.valueBlock.value : E.value, i.push(new gr({
4628
+ let S = b ? u : this.get(o.type, !0).schema;
4629
+ S = "valueBlock" in S ? S.valueBlock.value : S.value, i.push(new gr({
4630
4630
  name: b ? "" : c,
4631
4631
  optional: d,
4632
4632
  idBlock: {
4633
4633
  tagClass: 3,
4634
4634
  tagNumber: o.context
4635
4635
  },
4636
- value: E
4636
+ value: S
4637
4637
  }));
4638
4638
  }
4639
4639
  else
@@ -4733,35 +4733,35 @@ class hg {
4733
4733
  const d = o.result[u];
4734
4734
  if (!d)
4735
4735
  continue;
4736
- const b = i.items[u], E = b.type;
4737
- if (typeof E == "number" || An(E)) {
4738
- const Y = (n = b.converter) !== null && n !== void 0 ? n : An(E) ? new E() : null;
4736
+ const b = i.items[u], S = b.type;
4737
+ if (typeof S == "number" || An(S)) {
4738
+ const Y = (n = b.converter) !== null && n !== void 0 ? n : An(S) ? new S() : null;
4739
4739
  if (!Y)
4740
4740
  throw new Error("Converter is empty");
4741
4741
  if (b.repeated)
4742
4742
  if (b.implicit) {
4743
4743
  const $ = b.repeated === "sequence" ? Sn : En, w = new $();
4744
4744
  w.valueBlock = d.valueBlock;
4745
- const S = Wi(w.toBER(!1));
4746
- if (S.offset === -1)
4747
- throw new Error(`Cannot parse the child item. ${S.result.error}`);
4748
- if (!("value" in S.result.valueBlock && Array.isArray(S.result.valueBlock.value)))
4745
+ const E = Wi(w.toBER(!1));
4746
+ if (E.offset === -1)
4747
+ throw new Error(`Cannot parse the child item. ${E.result.error}`);
4748
+ if (!("value" in E.result.valueBlock && Array.isArray(E.result.valueBlock.value)))
4749
4749
  throw new Error("Cannot get items from the ASN.1 parsed value. ASN.1 object is not constructed.");
4750
- const T = S.result.valueBlock.value;
4751
- c[u] = Array.from(T, (I) => Y.fromASN(I));
4750
+ const B = E.result.valueBlock.value;
4751
+ c[u] = Array.from(B, (I) => Y.fromASN(I));
4752
4752
  } else
4753
4753
  c[u] = Array.from(d, ($) => Y.fromASN($));
4754
4754
  else {
4755
4755
  let $ = d;
4756
4756
  if (b.implicit) {
4757
4757
  let w;
4758
- if (An(E))
4759
- w = new E().toSchema("");
4758
+ if (An(S))
4759
+ w = new S().toSchema("");
4760
4760
  else {
4761
- const S = A[E], T = xp[S];
4762
- if (!T)
4763
- throw new Error(`Cannot get '${S}' class from asn1js module`);
4764
- w = new T();
4761
+ const E = A[S], B = xp[E];
4762
+ if (!B)
4763
+ throw new Error(`Cannot get '${E}' class from asn1js module`);
4764
+ w = new B();
4765
4765
  }
4766
4766
  w.valueBlock = $.valueBlock, $ = Wi(w.toBER(!1)).result;
4767
4767
  }
@@ -4770,9 +4770,9 @@ class hg {
4770
4770
  } else if (b.repeated) {
4771
4771
  if (!Array.isArray(d))
4772
4772
  throw new Error("Cannot get list of items from the ASN.1 parsed value. ASN.1 value should be iterable.");
4773
- c[u] = Array.from(d, (Y) => this.fromASN(Y, E));
4773
+ c[u] = Array.from(d, (Y) => this.fromASN(Y, S));
4774
4774
  } else
4775
- c[u] = this.fromASN(d, E);
4775
+ c[u] = this.fromASN(d, S);
4776
4776
  }
4777
4777
  return c;
4778
4778
  } catch (i) {
@@ -4928,38 +4928,38 @@ var Sp = { exports: {} };
4928
4928
  deprecatedTransitional: new RegExp(`^(?:::)(${t}\\.${t}\\.${t}\\.${t}(${o})?)$`, "i"),
4929
4929
  transitional: new RegExp(`^((?:${c})|(?:::)(?:${c})?)${t}\\.${t}\\.${t}\\.${t}(${o})?$`, "i")
4930
4930
  };
4931
- function d(w, S) {
4931
+ function d(w, E) {
4932
4932
  if (w.indexOf("::") !== w.lastIndexOf("::"))
4933
4933
  return null;
4934
- let T = 0, I = -1, R = (w.match(u.zoneIndex) || [])[0], P, z;
4934
+ let B = 0, I = -1, R = (w.match(u.zoneIndex) || [])[0], P, z;
4935
4935
  for (R && (R = R.substring(1), w = w.replace(/%.+$/, "")); (I = w.indexOf(":", I + 1)) >= 0; )
4936
- T++;
4937
- if (w.substr(0, 2) === "::" && T--, w.substr(-2, 2) === "::" && T--, T > S)
4936
+ B++;
4937
+ if (w.substr(0, 2) === "::" && B--, w.substr(-2, 2) === "::" && B--, B > E)
4938
4938
  return null;
4939
- for (z = S - T, P = ":"; z--; )
4939
+ for (z = E - B, P = ":"; z--; )
4940
4940
  P += "0:";
4941
- return w = w.replace("::", P), w[0] === ":" && (w = w.slice(1)), w[w.length - 1] === ":" && (w = w.slice(0, -1)), S = function() {
4941
+ return w = w.replace("::", P), w[0] === ":" && (w = w.slice(1)), w[w.length - 1] === ":" && (w = w.slice(0, -1)), E = function() {
4942
4942
  const he = w.split(":"), ae = [];
4943
4943
  for (let de = 0; de < he.length; de++)
4944
4944
  ae.push(parseInt(he[de], 16));
4945
4945
  return ae;
4946
4946
  }(), {
4947
- parts: S,
4947
+ parts: E,
4948
4948
  zoneId: R
4949
4949
  };
4950
4950
  }
4951
- function b(w, S, T, I) {
4952
- if (w.length !== S.length)
4951
+ function b(w, E, B, I) {
4952
+ if (w.length !== E.length)
4953
4953
  throw new Error("ipaddr: cannot match CIDR for objects with different lengths");
4954
4954
  let R = 0, P;
4955
4955
  for (; I > 0; ) {
4956
- if (P = T - I, P < 0 && (P = 0), w[R] >> P !== S[R] >> P)
4956
+ if (P = B - I, P < 0 && (P = 0), w[R] >> P !== E[R] >> P)
4957
4957
  return !1;
4958
- I -= T, R += 1;
4958
+ I -= B, R += 1;
4959
4959
  }
4960
4960
  return !0;
4961
4961
  }
4962
- function E(w) {
4962
+ function S(w) {
4963
4963
  if (s.test(w))
4964
4964
  return parseInt(w, 16);
4965
4965
  if (w[0] === "0" && !isNaN(parseInt(w[1], 10))) {
@@ -4969,21 +4969,21 @@ var Sp = { exports: {} };
4969
4969
  }
4970
4970
  return parseInt(w, 10);
4971
4971
  }
4972
- function Y(w, S) {
4973
- for (; w.length < S; )
4972
+ function Y(w, E) {
4973
+ for (; w.length < E; )
4974
4974
  w = `0${w}`;
4975
4975
  return w;
4976
4976
  }
4977
4977
  const $ = {};
4978
4978
  $.IPv4 = function() {
4979
- function w(S) {
4980
- if (S.length !== 4)
4979
+ function w(E) {
4980
+ if (E.length !== 4)
4981
4981
  throw new Error("ipaddr: ipv4 octet count should be 4");
4982
- let T, I;
4983
- for (T = 0; T < S.length; T++)
4984
- if (I = S[T], !(0 <= I && I <= 255))
4982
+ let B, I;
4983
+ for (B = 0; B < E.length; B++)
4984
+ if (I = E[B], !(0 <= I && I <= 255))
4985
4985
  throw new Error("ipaddr: ipv4 octet should fit in 8 bits");
4986
- this.octets = S;
4986
+ this.octets = E;
4987
4987
  }
4988
4988
  return w.prototype.SpecialRanges = {
4989
4989
  unspecified: [[new w([0, 0, 0, 0]), 8]],
@@ -5023,13 +5023,13 @@ var Sp = { exports: {} };
5023
5023
  ]
5024
5024
  }, w.prototype.kind = function() {
5025
5025
  return "ipv4";
5026
- }, w.prototype.match = function(S, T) {
5026
+ }, w.prototype.match = function(E, B) {
5027
5027
  let I;
5028
- if (T === void 0 && (I = S, S = I[0], T = I[1]), S.kind() !== "ipv4")
5028
+ if (B === void 0 && (I = E, E = I[0], B = I[1]), E.kind() !== "ipv4")
5029
5029
  throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");
5030
- return b(this.octets, S.octets, 8, T);
5030
+ return b(this.octets, E.octets, 8, B);
5031
5031
  }, w.prototype.prefixLengthFromSubnetMask = function() {
5032
- let S = 0, T = !1;
5032
+ let E = 0, B = !1;
5033
5033
  const I = {
5034
5034
  0: 8,
5035
5035
  128: 7,
@@ -5044,12 +5044,12 @@ var Sp = { exports: {} };
5044
5044
  let R, P, z;
5045
5045
  for (R = 3; R >= 0; R -= 1)
5046
5046
  if (P = this.octets[R], P in I) {
5047
- if (z = I[P], T && z !== 0)
5047
+ if (z = I[P], B && z !== 0)
5048
5048
  return null;
5049
- z !== 8 && (T = !0), S += z;
5049
+ z !== 8 && (B = !0), E += z;
5050
5050
  } else
5051
5051
  return null;
5052
- return 32 - S;
5052
+ return 32 - E;
5053
5053
  }, w.prototype.range = function() {
5054
5054
  return $.subnetMatch(this, this.SpecialRanges);
5055
5055
  }, w.prototype.toByteArray = function() {
@@ -5063,10 +5063,10 @@ var Sp = { exports: {} };
5063
5063
  }, w;
5064
5064
  }(), $.IPv4.broadcastAddressFromCIDR = function(w) {
5065
5065
  try {
5066
- const S = this.parseCIDR(w), T = S[0].toByteArray(), I = this.subnetMaskFromPrefixLength(S[1]).toByteArray(), R = [];
5066
+ const E = this.parseCIDR(w), B = E[0].toByteArray(), I = this.subnetMaskFromPrefixLength(E[1]).toByteArray(), R = [];
5067
5067
  let P = 0;
5068
5068
  for (; P < 4; )
5069
- R.push(parseInt(T[P], 10) | parseInt(I[P], 10) ^ 255), P++;
5069
+ R.push(parseInt(B[P], 10) | parseInt(I[P], 10) ^ 255), P++;
5070
5070
  return new this(R);
5071
5071
  } catch {
5072
5072
  throw new Error("ipaddr: the address does not have IPv4 CIDR format");
@@ -5088,25 +5088,25 @@ var Sp = { exports: {} };
5088
5088
  }, $.IPv4.isValidFourPartDecimal = function(w) {
5089
5089
  return !!($.IPv4.isValid(w) && w.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/));
5090
5090
  }, $.IPv4.networkAddressFromCIDR = function(w) {
5091
- let S, T, I, R, P;
5091
+ let E, B, I, R, P;
5092
5092
  try {
5093
- for (S = this.parseCIDR(w), I = S[0].toByteArray(), P = this.subnetMaskFromPrefixLength(S[1]).toByteArray(), R = [], T = 0; T < 4; )
5094
- R.push(parseInt(I[T], 10) & parseInt(P[T], 10)), T++;
5093
+ for (E = this.parseCIDR(w), I = E[0].toByteArray(), P = this.subnetMaskFromPrefixLength(E[1]).toByteArray(), R = [], B = 0; B < 4; )
5094
+ R.push(parseInt(I[B], 10) & parseInt(P[B], 10)), B++;
5095
5095
  return new this(R);
5096
5096
  } catch {
5097
5097
  throw new Error("ipaddr: the address does not have IPv4 CIDR format");
5098
5098
  }
5099
5099
  }, $.IPv4.parse = function(w) {
5100
- const S = this.parser(w);
5101
- if (S === null)
5100
+ const E = this.parser(w);
5101
+ if (E === null)
5102
5102
  throw new Error("ipaddr: string is not formatted like an IPv4 Address");
5103
- return new this(S);
5103
+ return new this(E);
5104
5104
  }, $.IPv4.parseCIDR = function(w) {
5105
- let S;
5106
- if (S = w.match(/^(.+)\/(\d+)$/)) {
5107
- const T = parseInt(S[2]);
5108
- if (T >= 0 && T <= 32) {
5109
- const I = [this.parse(S[1]), T];
5105
+ let E;
5106
+ if (E = w.match(/^(.+)\/(\d+)$/)) {
5107
+ const B = parseInt(E[2]);
5108
+ if (B >= 0 && B <= 32) {
5109
+ const I = [this.parse(E[1]), B];
5110
5110
  return Object.defineProperty(I, "toString", {
5111
5111
  value: function() {
5112
5112
  return this.join("/");
@@ -5116,16 +5116,16 @@ var Sp = { exports: {} };
5116
5116
  }
5117
5117
  throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range");
5118
5118
  }, $.IPv4.parser = function(w) {
5119
- let S, T, I;
5120
- if (S = w.match(n.fourOctet))
5119
+ let E, B, I;
5120
+ if (E = w.match(n.fourOctet))
5121
5121
  return function() {
5122
- const R = S.slice(1, 6), P = [];
5122
+ const R = E.slice(1, 6), P = [];
5123
5123
  for (let z = 0; z < R.length; z++)
5124
- T = R[z], P.push(E(T));
5124
+ B = R[z], P.push(S(B));
5125
5125
  return P;
5126
5126
  }();
5127
- if (S = w.match(n.longValue)) {
5128
- if (I = E(S[1]), I > 4294967295 || I < 0)
5127
+ if (E = w.match(n.longValue)) {
5128
+ if (I = S(E[1]), I > 4294967295 || I < 0)
5129
5129
  throw new Error("ipaddr: address outside defined range");
5130
5130
  return function() {
5131
5131
  const R = [];
@@ -5134,40 +5134,40 @@ var Sp = { exports: {} };
5134
5134
  R.push(I >> P & 255);
5135
5135
  return R;
5136
5136
  }().reverse();
5137
- } else return (S = w.match(n.twoOctet)) ? function() {
5138
- const R = S.slice(1, 4), P = [];
5139
- if (I = E(R[1]), I > 16777215 || I < 0)
5137
+ } else return (E = w.match(n.twoOctet)) ? function() {
5138
+ const R = E.slice(1, 4), P = [];
5139
+ if (I = S(R[1]), I > 16777215 || I < 0)
5140
5140
  throw new Error("ipaddr: address outside defined range");
5141
- return P.push(E(R[0])), P.push(I >> 16 & 255), P.push(I >> 8 & 255), P.push(I & 255), P;
5142
- }() : (S = w.match(n.threeOctet)) ? function() {
5143
- const R = S.slice(1, 5), P = [];
5144
- if (I = E(R[2]), I > 65535 || I < 0)
5141
+ return P.push(S(R[0])), P.push(I >> 16 & 255), P.push(I >> 8 & 255), P.push(I & 255), P;
5142
+ }() : (E = w.match(n.threeOctet)) ? function() {
5143
+ const R = E.slice(1, 5), P = [];
5144
+ if (I = S(R[2]), I > 65535 || I < 0)
5145
5145
  throw new Error("ipaddr: address outside defined range");
5146
- return P.push(E(R[0])), P.push(E(R[1])), P.push(I >> 8 & 255), P.push(I & 255), P;
5146
+ return P.push(S(R[0])), P.push(S(R[1])), P.push(I >> 8 & 255), P.push(I & 255), P;
5147
5147
  }() : null;
5148
5148
  }, $.IPv4.subnetMaskFromPrefixLength = function(w) {
5149
5149
  if (w = parseInt(w), w < 0 || w > 32)
5150
5150
  throw new Error("ipaddr: invalid IPv4 prefix length");
5151
- const S = [0, 0, 0, 0];
5152
- let T = 0;
5151
+ const E = [0, 0, 0, 0];
5152
+ let B = 0;
5153
5153
  const I = Math.floor(w / 8);
5154
- for (; T < I; )
5155
- S[T] = 255, T++;
5156
- return I < 4 && (S[I] = Math.pow(2, w % 8) - 1 << 8 - w % 8), new this(S);
5154
+ for (; B < I; )
5155
+ E[B] = 255, B++;
5156
+ return I < 4 && (E[I] = Math.pow(2, w % 8) - 1 << 8 - w % 8), new this(E);
5157
5157
  }, $.IPv6 = function() {
5158
- function w(S, T) {
5158
+ function w(E, B) {
5159
5159
  let I, R;
5160
- if (S.length === 16)
5160
+ if (E.length === 16)
5161
5161
  for (this.parts = [], I = 0; I <= 14; I += 2)
5162
- this.parts.push(S[I] << 8 | S[I + 1]);
5163
- else if (S.length === 8)
5164
- this.parts = S;
5162
+ this.parts.push(E[I] << 8 | E[I + 1]);
5163
+ else if (E.length === 8)
5164
+ this.parts = E;
5165
5165
  else
5166
5166
  throw new Error("ipaddr: ipv6 part count should be 8 or 16");
5167
5167
  for (I = 0; I < this.parts.length; I++)
5168
5168
  if (R = this.parts[I], !(0 <= R && R <= 65535))
5169
5169
  throw new Error("ipaddr: ipv6 part should fit in 16 bits");
5170
- T && (this.zoneId = T);
5170
+ B && (this.zoneId = B);
5171
5171
  }
5172
5172
  return w.prototype.SpecialRanges = {
5173
5173
  // RFC4291, here and after
@@ -5208,13 +5208,13 @@ var Sp = { exports: {} };
5208
5208
  return this.range() === "ipv4Mapped";
5209
5209
  }, w.prototype.kind = function() {
5210
5210
  return "ipv6";
5211
- }, w.prototype.match = function(S, T) {
5211
+ }, w.prototype.match = function(E, B) {
5212
5212
  let I;
5213
- if (T === void 0 && (I = S, S = I[0], T = I[1]), S.kind() !== "ipv6")
5213
+ if (B === void 0 && (I = E, E = I[0], B = I[1]), E.kind() !== "ipv6")
5214
5214
  throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");
5215
- return b(this.parts, S.parts, 16, T);
5215
+ return b(this.parts, E.parts, 16, B);
5216
5216
  }, w.prototype.prefixLengthFromSubnetMask = function() {
5217
- let S = 0, T = !1;
5217
+ let E = 0, B = !1;
5218
5218
  const I = {
5219
5219
  0: 16,
5220
5220
  32768: 15,
@@ -5237,61 +5237,61 @@ var Sp = { exports: {} };
5237
5237
  let R, P;
5238
5238
  for (let z = 7; z >= 0; z -= 1)
5239
5239
  if (R = this.parts[z], R in I) {
5240
- if (P = I[R], T && P !== 0)
5240
+ if (P = I[R], B && P !== 0)
5241
5241
  return null;
5242
- P !== 16 && (T = !0), S += P;
5242
+ P !== 16 && (B = !0), E += P;
5243
5243
  } else
5244
5244
  return null;
5245
- return 128 - S;
5245
+ return 128 - E;
5246
5246
  }, w.prototype.range = function() {
5247
5247
  return $.subnetMatch(this, this.SpecialRanges);
5248
5248
  }, w.prototype.toByteArray = function() {
5249
- let S;
5250
- const T = [], I = this.parts;
5249
+ let E;
5250
+ const B = [], I = this.parts;
5251
5251
  for (let R = 0; R < I.length; R++)
5252
- S = I[R], T.push(S >> 8), T.push(S & 255);
5253
- return T;
5252
+ E = I[R], B.push(E >> 8), B.push(E & 255);
5253
+ return B;
5254
5254
  }, w.prototype.toFixedLengthString = function() {
5255
- const S = (function() {
5255
+ const E = (function() {
5256
5256
  const I = [];
5257
5257
  for (let R = 0; R < this.parts.length; R++)
5258
5258
  I.push(Y(this.parts[R].toString(16), 4));
5259
5259
  return I;
5260
5260
  }).call(this).join(":");
5261
- let T = "";
5262
- return this.zoneId && (T = `%${this.zoneId}`), S + T;
5261
+ let B = "";
5262
+ return this.zoneId && (B = `%${this.zoneId}`), E + B;
5263
5263
  }, w.prototype.toIPv4Address = function() {
5264
5264
  if (!this.isIPv4MappedAddress())
5265
5265
  throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");
5266
- const S = this.parts.slice(-2), T = S[0], I = S[1];
5267
- return new $.IPv4([T >> 8, T & 255, I >> 8, I & 255]);
5266
+ const E = this.parts.slice(-2), B = E[0], I = E[1];
5267
+ return new $.IPv4([B >> 8, B & 255, I >> 8, I & 255]);
5268
5268
  }, w.prototype.toNormalizedString = function() {
5269
- const S = (function() {
5269
+ const E = (function() {
5270
5270
  const I = [];
5271
5271
  for (let R = 0; R < this.parts.length; R++)
5272
5272
  I.push(this.parts[R].toString(16));
5273
5273
  return I;
5274
5274
  }).call(this).join(":");
5275
- let T = "";
5276
- return this.zoneId && (T = `%${this.zoneId}`), S + T;
5275
+ let B = "";
5276
+ return this.zoneId && (B = `%${this.zoneId}`), E + B;
5277
5277
  }, w.prototype.toRFC5952String = function() {
5278
- const S = /((^|:)(0(:|$)){2,})/g, T = this.toNormalizedString();
5278
+ const E = /((^|:)(0(:|$)){2,})/g, B = this.toNormalizedString();
5279
5279
  let I = 0, R = -1, P;
5280
- for (; P = S.exec(T); )
5280
+ for (; P = E.exec(B); )
5281
5281
  P[0].length > R && (I = P.index, R = P[0].length);
5282
- return R < 0 ? T : `${T.substring(0, I)}::${T.substring(I + R)}`;
5282
+ return R < 0 ? B : `${B.substring(0, I)}::${B.substring(I + R)}`;
5283
5283
  }, w.prototype.toString = function() {
5284
5284
  return this.toRFC5952String();
5285
5285
  }, w;
5286
5286
  }(), $.IPv6.broadcastAddressFromCIDR = function(w) {
5287
5287
  try {
5288
- const S = this.parseCIDR(w), T = S[0].toByteArray(), I = this.subnetMaskFromPrefixLength(S[1]).toByteArray(), R = [];
5288
+ const E = this.parseCIDR(w), B = E[0].toByteArray(), I = this.subnetMaskFromPrefixLength(E[1]).toByteArray(), R = [];
5289
5289
  let P = 0;
5290
5290
  for (; P < 16; )
5291
- R.push(parseInt(T[P], 10) | parseInt(I[P], 10) ^ 255), P++;
5291
+ R.push(parseInt(B[P], 10) | parseInt(I[P], 10) ^ 255), P++;
5292
5292
  return new this(R);
5293
- } catch (S) {
5294
- throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${S})`);
5293
+ } catch (E) {
5294
+ throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${E})`);
5295
5295
  }
5296
5296
  }, $.IPv6.isIPv6 = function(w) {
5297
5297
  return this.parser(w) !== null;
@@ -5299,8 +5299,8 @@ var Sp = { exports: {} };
5299
5299
  if (typeof w == "string" && w.indexOf(":") === -1)
5300
5300
  return !1;
5301
5301
  try {
5302
- const S = this.parser(w);
5303
- return new this(S.parts, S.zoneId), !0;
5302
+ const E = this.parser(w);
5303
+ return new this(E.parts, E.zoneId), !0;
5304
5304
  } catch {
5305
5305
  return !1;
5306
5306
  }
@@ -5313,63 +5313,63 @@ var Sp = { exports: {} };
5313
5313
  return !1;
5314
5314
  }
5315
5315
  }, $.IPv6.networkAddressFromCIDR = function(w) {
5316
- let S, T, I, R, P;
5316
+ let E, B, I, R, P;
5317
5317
  try {
5318
- for (S = this.parseCIDR(w), I = S[0].toByteArray(), P = this.subnetMaskFromPrefixLength(S[1]).toByteArray(), R = [], T = 0; T < 16; )
5319
- R.push(parseInt(I[T], 10) & parseInt(P[T], 10)), T++;
5318
+ for (E = this.parseCIDR(w), I = E[0].toByteArray(), P = this.subnetMaskFromPrefixLength(E[1]).toByteArray(), R = [], B = 0; B < 16; )
5319
+ R.push(parseInt(I[B], 10) & parseInt(P[B], 10)), B++;
5320
5320
  return new this(R);
5321
5321
  } catch (z) {
5322
5322
  throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${z})`);
5323
5323
  }
5324
5324
  }, $.IPv6.parse = function(w) {
5325
- const S = this.parser(w);
5326
- if (S.parts === null)
5325
+ const E = this.parser(w);
5326
+ if (E.parts === null)
5327
5327
  throw new Error("ipaddr: string is not formatted like an IPv6 Address");
5328
- return new this(S.parts, S.zoneId);
5328
+ return new this(E.parts, E.zoneId);
5329
5329
  }, $.IPv6.parseCIDR = function(w) {
5330
- let S, T, I;
5331
- if ((T = w.match(/^(.+)\/(\d+)$/)) && (S = parseInt(T[2]), S >= 0 && S <= 128))
5332
- return I = [this.parse(T[1]), S], Object.defineProperty(I, "toString", {
5330
+ let E, B, I;
5331
+ if ((B = w.match(/^(.+)\/(\d+)$/)) && (E = parseInt(B[2]), E >= 0 && E <= 128))
5332
+ return I = [this.parse(B[1]), E], Object.defineProperty(I, "toString", {
5333
5333
  value: function() {
5334
5334
  return this.join("/");
5335
5335
  }
5336
5336
  }), I;
5337
5337
  throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range");
5338
5338
  }, $.IPv6.parser = function(w) {
5339
- let S, T, I, R, P, z;
5339
+ let E, B, I, R, P, z;
5340
5340
  if (I = w.match(u.deprecatedTransitional))
5341
5341
  return this.parser(`::ffff:${I[1]}`);
5342
5342
  if (u.native.test(w))
5343
5343
  return d(w, 8);
5344
- if ((I = w.match(u.transitional)) && (z = I[6] || "", S = I[1], I[1].endsWith("::") || (S = S.slice(0, -1)), S = d(S + z, 6), S.parts)) {
5344
+ if ((I = w.match(u.transitional)) && (z = I[6] || "", E = I[1], I[1].endsWith("::") || (E = E.slice(0, -1)), E = d(E + z, 6), E.parts)) {
5345
5345
  for (P = [
5346
5346
  parseInt(I[2]),
5347
5347
  parseInt(I[3]),
5348
5348
  parseInt(I[4]),
5349
5349
  parseInt(I[5])
5350
- ], T = 0; T < P.length; T++)
5351
- if (R = P[T], !(0 <= R && R <= 255))
5350
+ ], B = 0; B < P.length; B++)
5351
+ if (R = P[B], !(0 <= R && R <= 255))
5352
5352
  return null;
5353
- return S.parts.push(P[0] << 8 | P[1]), S.parts.push(P[2] << 8 | P[3]), {
5354
- parts: S.parts,
5355
- zoneId: S.zoneId
5353
+ return E.parts.push(P[0] << 8 | P[1]), E.parts.push(P[2] << 8 | P[3]), {
5354
+ parts: E.parts,
5355
+ zoneId: E.zoneId
5356
5356
  };
5357
5357
  }
5358
5358
  return null;
5359
5359
  }, $.IPv6.subnetMaskFromPrefixLength = function(w) {
5360
5360
  if (w = parseInt(w), w < 0 || w > 128)
5361
5361
  throw new Error("ipaddr: invalid IPv6 prefix length");
5362
- const S = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
5363
- let T = 0;
5362
+ const E = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
5363
+ let B = 0;
5364
5364
  const I = Math.floor(w / 8);
5365
- for (; T < I; )
5366
- S[T] = 255, T++;
5367
- return I < 16 && (S[I] = Math.pow(2, w % 8) - 1 << 8 - w % 8), new this(S);
5365
+ for (; B < I; )
5366
+ E[B] = 255, B++;
5367
+ return I < 16 && (E[I] = Math.pow(2, w % 8) - 1 << 8 - w % 8), new this(E);
5368
5368
  }, $.fromByteArray = function(w) {
5369
- const S = w.length;
5370
- if (S === 4)
5369
+ const E = w.length;
5370
+ if (E === 4)
5371
5371
  return new $.IPv4(w);
5372
- if (S === 16)
5372
+ if (E === 16)
5373
5373
  return new $.IPv6(w);
5374
5374
  throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address");
5375
5375
  }, $.isValid = function(w) {
@@ -5393,18 +5393,18 @@ var Sp = { exports: {} };
5393
5393
  }
5394
5394
  }
5395
5395
  }, $.process = function(w) {
5396
- const S = this.parse(w);
5397
- return S.kind() === "ipv6" && S.isIPv4MappedAddress() ? S.toIPv4Address() : S;
5398
- }, $.subnetMatch = function(w, S, T) {
5396
+ const E = this.parse(w);
5397
+ return E.kind() === "ipv6" && E.isIPv4MappedAddress() ? E.toIPv4Address() : E;
5398
+ }, $.subnetMatch = function(w, E, B) {
5399
5399
  let I, R, P, z;
5400
- T == null && (T = "unicast");
5401
- for (R in S)
5402
- if (Object.prototype.hasOwnProperty.call(S, R)) {
5403
- for (P = S[R], P[0] && !(P[0] instanceof Array) && (P = [P]), I = 0; I < P.length; I++)
5400
+ B == null && (B = "unicast");
5401
+ for (R in E)
5402
+ if (Object.prototype.hasOwnProperty.call(E, R)) {
5403
+ for (P = E[R], P[0] && !(P[0] instanceof Array) && (P = [P]), I = 0; I < P.length; I++)
5404
5404
  if (z = P[I], w.kind() === z[0].kind() && w.match.apply(w, z))
5405
5405
  return R;
5406
5406
  }
5407
- return T;
5407
+ return B;
5408
5408
  }, r.exports ? r.exports = $ : e.ipaddr = $;
5409
5409
  })(tl);
5410
5410
  })(Sp);
@@ -7454,15 +7454,15 @@ function Ug(r, e, t, n) {
7454
7454
  function c(b) {
7455
7455
  try {
7456
7456
  d(n.next(b));
7457
- } catch (E) {
7458
- o(E);
7457
+ } catch (S) {
7458
+ o(S);
7459
7459
  }
7460
7460
  }
7461
7461
  function u(b) {
7462
7462
  try {
7463
7463
  d(n.throw(b));
7464
- } catch (E) {
7465
- o(E);
7464
+ } catch (S) {
7465
+ o(S);
7466
7466
  }
7467
7467
  }
7468
7468
  function d(b) {
@@ -9124,13 +9124,13 @@ class yr {
9124
9124
  const u = c.split(new RegExp(us, "g"));
9125
9125
  let d = null;
9126
9126
  for (const b of u) {
9127
- const [E, Y] = b.split(/:(.*)/);
9127
+ const [S, Y] = b.split(/:(.*)/);
9128
9128
  if (Y === void 0) {
9129
9129
  if (!d)
9130
9130
  throw new Error("Cannot parse PEM string. Incorrect header value");
9131
- d.value += E.trim();
9131
+ d.value += S.trim();
9132
9132
  } else
9133
- d && o.headers.push(d), d = { key: E, value: Y.trim() };
9133
+ d && o.headers.push(d), d = { key: S, value: Y.trim() };
9134
9134
  }
9135
9135
  d && o.headers.push(d);
9136
9136
  }
@@ -10856,8 +10856,8 @@ function A0(r, e, t) {
10856
10856
  n += `Tag #${r.value}`;
10857
10857
  const u = r.children, [d] = u.contents.children, b = new We(u.tag, d);
10858
10858
  Ws(b, i);
10859
- const E = b.comment(e, r.depth);
10860
- E && (n += ": ", n += E), o || (o = b.noChildren);
10859
+ const S = b.comment(e, r.depth);
10860
+ S && (n += ": ", n += S), o || (o = b.noChildren);
10861
10861
  break;
10862
10862
  }
10863
10863
  case _e.SIMPLE_FLOAT:
@@ -12561,10 +12561,10 @@ class Tt extends Ze {
12561
12561
  o.includes(d) || c.push(d);
12562
12562
  const u = [];
12563
12563
  for (const d of o) {
12564
- const b = s[d], E = i.data[d];
12564
+ const b = s[d], S = i.data[d];
12565
12565
  u.push({
12566
12566
  key: { status: "valid", value: d },
12567
- value: b._parse(new pn(i, E, i.path, d)),
12567
+ value: b._parse(new pn(i, S, i.path, d)),
12568
12568
  alwaysSet: d in i.data
12569
12569
  });
12570
12570
  }
@@ -12585,11 +12585,11 @@ class Tt extends Ze {
12585
12585
  } else {
12586
12586
  const d = this._def.catchall;
12587
12587
  for (const b of c) {
12588
- const E = i.data[b];
12588
+ const S = i.data[b];
12589
12589
  u.push({
12590
12590
  key: { status: "valid", value: b },
12591
12591
  value: d._parse(
12592
- new pn(i, E, i.path, b)
12592
+ new pn(i, S, i.path, b)
12593
12593
  //, ctx.child(key), value, getParsedType(value)
12594
12594
  ),
12595
12595
  alwaysSet: b in i.data
@@ -12599,9 +12599,9 @@ class Tt extends Ze {
12599
12599
  return i.common.async ? Promise.resolve().then(async () => {
12600
12600
  const d = [];
12601
12601
  for (const b of u) {
12602
- const E = await b.key, Y = await b.value;
12602
+ const S = await b.key, Y = await b.value;
12603
12603
  d.push({
12604
- key: E,
12604
+ key: S,
12605
12605
  value: Y,
12606
12606
  alwaysSet: b.alwaysSet
12607
12607
  });
@@ -13276,9 +13276,9 @@ class Ji extends Ze {
13276
13276
  return lr(async function(...u) {
13277
13277
  const d = new _r([]), b = await c._def.args.parseAsync(u, s).catch(($) => {
13278
13278
  throw d.addIssue(n(u, $)), d;
13279
- }), E = await Reflect.apply(o, this, b);
13280
- return await c._def.returns._def.type.parseAsync(E, s).catch(($) => {
13281
- throw d.addIssue(i(E, $)), d;
13279
+ }), S = await Reflect.apply(o, this, b);
13280
+ return await c._def.returns._def.type.parseAsync(S, s).catch(($) => {
13281
+ throw d.addIssue(i(S, $)), d;
13282
13282
  });
13283
13283
  });
13284
13284
  } else {
@@ -13287,10 +13287,10 @@ class Ji extends Ze {
13287
13287
  const d = c._def.args.safeParse(u, s);
13288
13288
  if (!d.success)
13289
13289
  throw new _r([n(u, d.error)]);
13290
- const b = Reflect.apply(o, this, d.data), E = c._def.returns.safeParse(b, s);
13291
- if (!E.success)
13292
- throw new _r([i(b, E.error)]);
13293
- return E.data;
13290
+ const b = Reflect.apply(o, this, d.data), S = c._def.returns.safeParse(b, s);
13291
+ if (!S.success)
13292
+ throw new _r([i(b, S.error)]);
13293
+ return S.data;
13294
13294
  });
13295
13295
  }
13296
13296
  }
@@ -13980,23 +13980,23 @@ async function Pa(r, e, t) {
13980
13980
  const R = new $i(i.cabundle[I]);
13981
13981
  c.push(R);
13982
13982
  }
13983
- const d = new $i(i.certificate), E = await new gv({
13983
+ const d = new $i(i.certificate), S = await new gv({
13984
13984
  certificates: c
13985
13985
  }).build(d);
13986
- console.log("Chain items:", E);
13986
+ console.log("Chain items:", S);
13987
13987
  const $ = (/* @__PURE__ */ new Date()).getTime();
13988
- for (let I = 0; I < E.length; I++) {
13989
- const R = E[I];
13988
+ for (let I = 0; I < S.length; I++) {
13989
+ const R = S[I];
13990
13990
  if (console.log("CERT: ", I), console.log(R.subject), console.log("Not before:", R.notBefore), console.log("Not after:", R.notAfter), console.log(R.toString("pem")), R.notBefore.getTime() > $ || R.notAfter.getTime() < $)
13991
13991
  throw new Error("Certificate is expired.");
13992
13992
  console.log(`Certificate ${I} is not expired.`);
13993
13993
  }
13994
- if (E.length !== i.cabundle.length + 1)
13994
+ if (S.length !== i.cabundle.length + 1)
13995
13995
  throw new Error("Certificate chain length does not match length of cabundle.");
13996
13996
  const w = d.publicKey;
13997
13997
  console.log("PUBLIC KEY:"), console.log(Lr(new Uint8Array(w.rawData)));
13998
- const S = await w.export(), T = await J1(n, S);
13999
- if (console.log("Signature verified:", T), !T)
13998
+ const E = await w.export(), B = await J1(n, E);
13999
+ if (console.log("Signature verified:", B), !B)
14000
14000
  throw new Error("Signature verification failed.");
14001
14001
  return i;
14002
14002
  } catch (n) {
@@ -14012,8 +14012,8 @@ async function Q1(r) {
14012
14012
  }
14013
14013
  async function em(r) {
14014
14014
  try {
14015
- const e = await pm(r), t = "http://localhost:3000";
14016
- return t === "http://127.0.0.1:3000" || t === "http://localhost:3000" || t === "http://0.0.0.0:3000" ? (console.log("DEV MODE: Using fake attestation document"), await Q1(e)) : await Pa(e, ja, r);
14015
+ const e = await ym(r), t = cm();
14016
+ return t && (t === "http://127.0.0.1:3000" || t === "http://localhost:3000" || t === "http://0.0.0.0:3000") ? (console.log("DEV MODE: Using fake attestation document"), await Q1(e)) : await Pa(e, ja, r);
14017
14017
  } catch (e) {
14018
14018
  throw e instanceof Error ? (console.error("Error verifying attestation document:", e), new Error(`Couldn't process attestation document: ${e.message}`)) : (console.error("Error verifying attestation document:", e), new Error("Couldn't process attestation document."));
14019
14019
  }
@@ -14036,30 +14036,30 @@ const rm = {}, nm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
14036
14036
  throw new Error("no PRNG");
14037
14037
  }, i = new Uint8Array(16), s = new Uint8Array(32);
14038
14038
  s[0] = 9;
14039
- var o = t(), c = t([1]), u = t([56129, 1]), d = t([30883, 4953, 19914, 30187, 55467, 16705, 2637, 112, 59544, 30585, 16505, 36039, 65139, 11119, 27886, 20995]), b = t([61785, 9906, 39828, 60374, 45398, 33411, 5274, 224, 53552, 61171, 33010, 6542, 64743, 22239, 55772, 9222]), E = t([54554, 36645, 11616, 51542, 42930, 38181, 51040, 26924, 56412, 64982, 57905, 49316, 21502, 52590, 14035, 8553]), Y = t([26200, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214]), $ = t([41136, 18958, 6951, 50414, 58488, 44335, 6150, 12099, 55207, 15867, 153, 11085, 57099, 20417, 9344, 11139]);
14039
+ var o = t(), c = t([1]), u = t([56129, 1]), d = t([30883, 4953, 19914, 30187, 55467, 16705, 2637, 112, 59544, 30585, 16505, 36039, 65139, 11119, 27886, 20995]), b = t([61785, 9906, 39828, 60374, 45398, 33411, 5274, 224, 53552, 61171, 33010, 6542, 64743, 22239, 55772, 9222]), S = t([54554, 36645, 11616, 51542, 42930, 38181, 51040, 26924, 56412, 64982, 57905, 49316, 21502, 52590, 14035, 8553]), Y = t([26200, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214]), $ = t([41136, 18958, 6951, 50414, 58488, 44335, 6150, 12099, 55207, 15867, 153, 11085, 57099, 20417, 9344, 11139]);
14040
14040
  function w(l, y, p, a) {
14041
14041
  l[y] = p >> 24 & 255, l[y + 1] = p >> 16 & 255, l[y + 2] = p >> 8 & 255, l[y + 3] = p & 255, l[y + 4] = a >> 24 & 255, l[y + 5] = a >> 16 & 255, l[y + 6] = a >> 8 & 255, l[y + 7] = a & 255;
14042
14042
  }
14043
- function S(l, y, p, a, v) {
14043
+ function E(l, y, p, a, v) {
14044
14044
  var h, m = 0;
14045
14045
  for (h = 0; h < v; h++) m |= l[y + h] ^ p[a + h];
14046
14046
  return (1 & m - 1 >>> 8) - 1;
14047
14047
  }
14048
- function T(l, y, p, a) {
14049
- return S(l, y, p, a, 16);
14048
+ function B(l, y, p, a) {
14049
+ return E(l, y, p, a, 16);
14050
14050
  }
14051
14051
  function I(l, y, p, a) {
14052
- return S(l, y, p, a, 32);
14052
+ return E(l, y, p, a, 32);
14053
14053
  }
14054
14054
  function R(l, y, p, a) {
14055
- for (var v = a[0] & 255 | (a[1] & 255) << 8 | (a[2] & 255) << 16 | (a[3] & 255) << 24, h = p[0] & 255 | (p[1] & 255) << 8 | (p[2] & 255) << 16 | (p[3] & 255) << 24, m = p[4] & 255 | (p[5] & 255) << 8 | (p[6] & 255) << 16 | (p[7] & 255) << 24, _ = p[8] & 255 | (p[9] & 255) << 8 | (p[10] & 255) << 16 | (p[11] & 255) << 24, N = p[12] & 255 | (p[13] & 255) << 8 | (p[14] & 255) << 16 | (p[15] & 255) << 24, Z = a[4] & 255 | (a[5] & 255) << 8 | (a[6] & 255) << 16 | (a[7] & 255) << 24, F = y[0] & 255 | (y[1] & 255) << 8 | (y[2] & 255) << 16 | (y[3] & 255) << 24, pe = y[4] & 255 | (y[5] & 255) << 8 | (y[6] & 255) << 16 | (y[7] & 255) << 24, V = y[8] & 255 | (y[9] & 255) << 8 | (y[10] & 255) << 16 | (y[11] & 255) << 24, be = y[12] & 255 | (y[13] & 255) << 8 | (y[14] & 255) << 16 | (y[15] & 255) << 24, ye = a[8] & 255 | (a[9] & 255) << 8 | (a[10] & 255) << 16 | (a[11] & 255) << 24, xe = p[16] & 255 | (p[17] & 255) << 8 | (p[18] & 255) << 16 | (p[19] & 255) << 24, Ce = p[20] & 255 | (p[21] & 255) << 8 | (p[22] & 255) << 16 | (p[23] & 255) << 24, Be = p[24] & 255 | (p[25] & 255) << 8 | (p[26] & 255) << 16 | (p[27] & 255) << 24, Oe = p[28] & 255 | (p[29] & 255) << 8 | (p[30] & 255) << 16 | (p[31] & 255) << 24, Se = a[12] & 255 | (a[13] & 255) << 8 | (a[14] & 255) << 16 | (a[15] & 255) << 24, le = v, ke = h, ie = m, we = _, Ae = N, ne = Z, B = F, O = pe, H = V, U = be, D = ye, G = xe, Ne = Ce, Ve = Be, Fe = Oe, Le = Se, x, qe = 0; qe < 20; qe += 2)
14056
- x = le + Ne | 0, Ae ^= x << 7 | x >>> 25, x = Ae + le | 0, H ^= x << 9 | x >>> 23, x = H + Ae | 0, Ne ^= x << 13 | x >>> 19, x = Ne + H | 0, le ^= x << 18 | x >>> 14, x = ne + ke | 0, U ^= x << 7 | x >>> 25, x = U + ne | 0, Ve ^= x << 9 | x >>> 23, x = Ve + U | 0, ke ^= x << 13 | x >>> 19, x = ke + Ve | 0, ne ^= x << 18 | x >>> 14, x = D + B | 0, Fe ^= x << 7 | x >>> 25, x = Fe + D | 0, ie ^= x << 9 | x >>> 23, x = ie + Fe | 0, B ^= x << 13 | x >>> 19, x = B + ie | 0, D ^= x << 18 | x >>> 14, x = Le + G | 0, we ^= x << 7 | x >>> 25, x = we + Le | 0, O ^= x << 9 | x >>> 23, x = O + we | 0, G ^= x << 13 | x >>> 19, x = G + O | 0, Le ^= x << 18 | x >>> 14, x = le + we | 0, ke ^= x << 7 | x >>> 25, x = ke + le | 0, ie ^= x << 9 | x >>> 23, x = ie + ke | 0, we ^= x << 13 | x >>> 19, x = we + ie | 0, le ^= x << 18 | x >>> 14, x = ne + Ae | 0, B ^= x << 7 | x >>> 25, x = B + ne | 0, O ^= x << 9 | x >>> 23, x = O + B | 0, Ae ^= x << 13 | x >>> 19, x = Ae + O | 0, ne ^= x << 18 | x >>> 14, x = D + U | 0, G ^= x << 7 | x >>> 25, x = G + D | 0, H ^= x << 9 | x >>> 23, x = H + G | 0, U ^= x << 13 | x >>> 19, x = U + H | 0, D ^= x << 18 | x >>> 14, x = Le + Fe | 0, Ne ^= x << 7 | x >>> 25, x = Ne + Le | 0, Ve ^= x << 9 | x >>> 23, x = Ve + Ne | 0, Fe ^= x << 13 | x >>> 19, x = Fe + Ve | 0, Le ^= x << 18 | x >>> 14;
14057
- le = le + v | 0, ke = ke + h | 0, ie = ie + m | 0, we = we + _ | 0, Ae = Ae + N | 0, ne = ne + Z | 0, B = B + F | 0, O = O + pe | 0, H = H + V | 0, U = U + be | 0, D = D + ye | 0, G = G + xe | 0, Ne = Ne + Ce | 0, Ve = Ve + Be | 0, Fe = Fe + Oe | 0, Le = Le + Se | 0, l[0] = le >>> 0 & 255, l[1] = le >>> 8 & 255, l[2] = le >>> 16 & 255, l[3] = le >>> 24 & 255, l[4] = ke >>> 0 & 255, l[5] = ke >>> 8 & 255, l[6] = ke >>> 16 & 255, l[7] = ke >>> 24 & 255, l[8] = ie >>> 0 & 255, l[9] = ie >>> 8 & 255, l[10] = ie >>> 16 & 255, l[11] = ie >>> 24 & 255, l[12] = we >>> 0 & 255, l[13] = we >>> 8 & 255, l[14] = we >>> 16 & 255, l[15] = we >>> 24 & 255, l[16] = Ae >>> 0 & 255, l[17] = Ae >>> 8 & 255, l[18] = Ae >>> 16 & 255, l[19] = Ae >>> 24 & 255, l[20] = ne >>> 0 & 255, l[21] = ne >>> 8 & 255, l[22] = ne >>> 16 & 255, l[23] = ne >>> 24 & 255, l[24] = B >>> 0 & 255, l[25] = B >>> 8 & 255, l[26] = B >>> 16 & 255, l[27] = B >>> 24 & 255, l[28] = O >>> 0 & 255, l[29] = O >>> 8 & 255, l[30] = O >>> 16 & 255, l[31] = O >>> 24 & 255, l[32] = H >>> 0 & 255, l[33] = H >>> 8 & 255, l[34] = H >>> 16 & 255, l[35] = H >>> 24 & 255, l[36] = U >>> 0 & 255, l[37] = U >>> 8 & 255, l[38] = U >>> 16 & 255, l[39] = U >>> 24 & 255, l[40] = D >>> 0 & 255, l[41] = D >>> 8 & 255, l[42] = D >>> 16 & 255, l[43] = D >>> 24 & 255, l[44] = G >>> 0 & 255, l[45] = G >>> 8 & 255, l[46] = G >>> 16 & 255, l[47] = G >>> 24 & 255, l[48] = Ne >>> 0 & 255, l[49] = Ne >>> 8 & 255, l[50] = Ne >>> 16 & 255, l[51] = Ne >>> 24 & 255, l[52] = Ve >>> 0 & 255, l[53] = Ve >>> 8 & 255, l[54] = Ve >>> 16 & 255, l[55] = Ve >>> 24 & 255, l[56] = Fe >>> 0 & 255, l[57] = Fe >>> 8 & 255, l[58] = Fe >>> 16 & 255, l[59] = Fe >>> 24 & 255, l[60] = Le >>> 0 & 255, l[61] = Le >>> 8 & 255, l[62] = Le >>> 16 & 255, l[63] = Le >>> 24 & 255;
14055
+ for (var v = a[0] & 255 | (a[1] & 255) << 8 | (a[2] & 255) << 16 | (a[3] & 255) << 24, h = p[0] & 255 | (p[1] & 255) << 8 | (p[2] & 255) << 16 | (p[3] & 255) << 24, m = p[4] & 255 | (p[5] & 255) << 8 | (p[6] & 255) << 16 | (p[7] & 255) << 24, _ = p[8] & 255 | (p[9] & 255) << 8 | (p[10] & 255) << 16 | (p[11] & 255) << 24, N = p[12] & 255 | (p[13] & 255) << 8 | (p[14] & 255) << 16 | (p[15] & 255) << 24, Z = a[4] & 255 | (a[5] & 255) << 8 | (a[6] & 255) << 16 | (a[7] & 255) << 24, F = y[0] & 255 | (y[1] & 255) << 8 | (y[2] & 255) << 16 | (y[3] & 255) << 24, pe = y[4] & 255 | (y[5] & 255) << 8 | (y[6] & 255) << 16 | (y[7] & 255) << 24, V = y[8] & 255 | (y[9] & 255) << 8 | (y[10] & 255) << 16 | (y[11] & 255) << 24, be = y[12] & 255 | (y[13] & 255) << 8 | (y[14] & 255) << 16 | (y[15] & 255) << 24, ye = a[8] & 255 | (a[9] & 255) << 8 | (a[10] & 255) << 16 | (a[11] & 255) << 24, xe = p[16] & 255 | (p[17] & 255) << 8 | (p[18] & 255) << 16 | (p[19] & 255) << 24, Ce = p[20] & 255 | (p[21] & 255) << 8 | (p[22] & 255) << 16 | (p[23] & 255) << 24, Be = p[24] & 255 | (p[25] & 255) << 8 | (p[26] & 255) << 16 | (p[27] & 255) << 24, Oe = p[28] & 255 | (p[29] & 255) << 8 | (p[30] & 255) << 16 | (p[31] & 255) << 24, Se = a[12] & 255 | (a[13] & 255) << 8 | (a[14] & 255) << 16 | (a[15] & 255) << 24, le = v, ke = h, ie = m, we = _, Ae = N, ne = Z, O = F, T = pe, H = V, U = be, D = ye, G = xe, Ne = Ce, Ve = Be, Fe = Oe, Le = Se, x, qe = 0; qe < 20; qe += 2)
14056
+ x = le + Ne | 0, Ae ^= x << 7 | x >>> 25, x = Ae + le | 0, H ^= x << 9 | x >>> 23, x = H + Ae | 0, Ne ^= x << 13 | x >>> 19, x = Ne + H | 0, le ^= x << 18 | x >>> 14, x = ne + ke | 0, U ^= x << 7 | x >>> 25, x = U + ne | 0, Ve ^= x << 9 | x >>> 23, x = Ve + U | 0, ke ^= x << 13 | x >>> 19, x = ke + Ve | 0, ne ^= x << 18 | x >>> 14, x = D + O | 0, Fe ^= x << 7 | x >>> 25, x = Fe + D | 0, ie ^= x << 9 | x >>> 23, x = ie + Fe | 0, O ^= x << 13 | x >>> 19, x = O + ie | 0, D ^= x << 18 | x >>> 14, x = Le + G | 0, we ^= x << 7 | x >>> 25, x = we + Le | 0, T ^= x << 9 | x >>> 23, x = T + we | 0, G ^= x << 13 | x >>> 19, x = G + T | 0, Le ^= x << 18 | x >>> 14, x = le + we | 0, ke ^= x << 7 | x >>> 25, x = ke + le | 0, ie ^= x << 9 | x >>> 23, x = ie + ke | 0, we ^= x << 13 | x >>> 19, x = we + ie | 0, le ^= x << 18 | x >>> 14, x = ne + Ae | 0, O ^= x << 7 | x >>> 25, x = O + ne | 0, T ^= x << 9 | x >>> 23, x = T + O | 0, Ae ^= x << 13 | x >>> 19, x = Ae + T | 0, ne ^= x << 18 | x >>> 14, x = D + U | 0, G ^= x << 7 | x >>> 25, x = G + D | 0, H ^= x << 9 | x >>> 23, x = H + G | 0, U ^= x << 13 | x >>> 19, x = U + H | 0, D ^= x << 18 | x >>> 14, x = Le + Fe | 0, Ne ^= x << 7 | x >>> 25, x = Ne + Le | 0, Ve ^= x << 9 | x >>> 23, x = Ve + Ne | 0, Fe ^= x << 13 | x >>> 19, x = Fe + Ve | 0, Le ^= x << 18 | x >>> 14;
14057
+ le = le + v | 0, ke = ke + h | 0, ie = ie + m | 0, we = we + _ | 0, Ae = Ae + N | 0, ne = ne + Z | 0, O = O + F | 0, T = T + pe | 0, H = H + V | 0, U = U + be | 0, D = D + ye | 0, G = G + xe | 0, Ne = Ne + Ce | 0, Ve = Ve + Be | 0, Fe = Fe + Oe | 0, Le = Le + Se | 0, l[0] = le >>> 0 & 255, l[1] = le >>> 8 & 255, l[2] = le >>> 16 & 255, l[3] = le >>> 24 & 255, l[4] = ke >>> 0 & 255, l[5] = ke >>> 8 & 255, l[6] = ke >>> 16 & 255, l[7] = ke >>> 24 & 255, l[8] = ie >>> 0 & 255, l[9] = ie >>> 8 & 255, l[10] = ie >>> 16 & 255, l[11] = ie >>> 24 & 255, l[12] = we >>> 0 & 255, l[13] = we >>> 8 & 255, l[14] = we >>> 16 & 255, l[15] = we >>> 24 & 255, l[16] = Ae >>> 0 & 255, l[17] = Ae >>> 8 & 255, l[18] = Ae >>> 16 & 255, l[19] = Ae >>> 24 & 255, l[20] = ne >>> 0 & 255, l[21] = ne >>> 8 & 255, l[22] = ne >>> 16 & 255, l[23] = ne >>> 24 & 255, l[24] = O >>> 0 & 255, l[25] = O >>> 8 & 255, l[26] = O >>> 16 & 255, l[27] = O >>> 24 & 255, l[28] = T >>> 0 & 255, l[29] = T >>> 8 & 255, l[30] = T >>> 16 & 255, l[31] = T >>> 24 & 255, l[32] = H >>> 0 & 255, l[33] = H >>> 8 & 255, l[34] = H >>> 16 & 255, l[35] = H >>> 24 & 255, l[36] = U >>> 0 & 255, l[37] = U >>> 8 & 255, l[38] = U >>> 16 & 255, l[39] = U >>> 24 & 255, l[40] = D >>> 0 & 255, l[41] = D >>> 8 & 255, l[42] = D >>> 16 & 255, l[43] = D >>> 24 & 255, l[44] = G >>> 0 & 255, l[45] = G >>> 8 & 255, l[46] = G >>> 16 & 255, l[47] = G >>> 24 & 255, l[48] = Ne >>> 0 & 255, l[49] = Ne >>> 8 & 255, l[50] = Ne >>> 16 & 255, l[51] = Ne >>> 24 & 255, l[52] = Ve >>> 0 & 255, l[53] = Ve >>> 8 & 255, l[54] = Ve >>> 16 & 255, l[55] = Ve >>> 24 & 255, l[56] = Fe >>> 0 & 255, l[57] = Fe >>> 8 & 255, l[58] = Fe >>> 16 & 255, l[59] = Fe >>> 24 & 255, l[60] = Le >>> 0 & 255, l[61] = Le >>> 8 & 255, l[62] = Le >>> 16 & 255, l[63] = Le >>> 24 & 255;
14058
14058
  }
14059
14059
  function P(l, y, p, a) {
14060
- for (var v = a[0] & 255 | (a[1] & 255) << 8 | (a[2] & 255) << 16 | (a[3] & 255) << 24, h = p[0] & 255 | (p[1] & 255) << 8 | (p[2] & 255) << 16 | (p[3] & 255) << 24, m = p[4] & 255 | (p[5] & 255) << 8 | (p[6] & 255) << 16 | (p[7] & 255) << 24, _ = p[8] & 255 | (p[9] & 255) << 8 | (p[10] & 255) << 16 | (p[11] & 255) << 24, N = p[12] & 255 | (p[13] & 255) << 8 | (p[14] & 255) << 16 | (p[15] & 255) << 24, Z = a[4] & 255 | (a[5] & 255) << 8 | (a[6] & 255) << 16 | (a[7] & 255) << 24, F = y[0] & 255 | (y[1] & 255) << 8 | (y[2] & 255) << 16 | (y[3] & 255) << 24, pe = y[4] & 255 | (y[5] & 255) << 8 | (y[6] & 255) << 16 | (y[7] & 255) << 24, V = y[8] & 255 | (y[9] & 255) << 8 | (y[10] & 255) << 16 | (y[11] & 255) << 24, be = y[12] & 255 | (y[13] & 255) << 8 | (y[14] & 255) << 16 | (y[15] & 255) << 24, ye = a[8] & 255 | (a[9] & 255) << 8 | (a[10] & 255) << 16 | (a[11] & 255) << 24, xe = p[16] & 255 | (p[17] & 255) << 8 | (p[18] & 255) << 16 | (p[19] & 255) << 24, Ce = p[20] & 255 | (p[21] & 255) << 8 | (p[22] & 255) << 16 | (p[23] & 255) << 24, Be = p[24] & 255 | (p[25] & 255) << 8 | (p[26] & 255) << 16 | (p[27] & 255) << 24, Oe = p[28] & 255 | (p[29] & 255) << 8 | (p[30] & 255) << 16 | (p[31] & 255) << 24, Se = a[12] & 255 | (a[13] & 255) << 8 | (a[14] & 255) << 16 | (a[15] & 255) << 24, le = v, ke = h, ie = m, we = _, Ae = N, ne = Z, B = F, O = pe, H = V, U = be, D = ye, G = xe, Ne = Ce, Ve = Be, Fe = Oe, Le = Se, x, qe = 0; qe < 20; qe += 2)
14061
- x = le + Ne | 0, Ae ^= x << 7 | x >>> 25, x = Ae + le | 0, H ^= x << 9 | x >>> 23, x = H + Ae | 0, Ne ^= x << 13 | x >>> 19, x = Ne + H | 0, le ^= x << 18 | x >>> 14, x = ne + ke | 0, U ^= x << 7 | x >>> 25, x = U + ne | 0, Ve ^= x << 9 | x >>> 23, x = Ve + U | 0, ke ^= x << 13 | x >>> 19, x = ke + Ve | 0, ne ^= x << 18 | x >>> 14, x = D + B | 0, Fe ^= x << 7 | x >>> 25, x = Fe + D | 0, ie ^= x << 9 | x >>> 23, x = ie + Fe | 0, B ^= x << 13 | x >>> 19, x = B + ie | 0, D ^= x << 18 | x >>> 14, x = Le + G | 0, we ^= x << 7 | x >>> 25, x = we + Le | 0, O ^= x << 9 | x >>> 23, x = O + we | 0, G ^= x << 13 | x >>> 19, x = G + O | 0, Le ^= x << 18 | x >>> 14, x = le + we | 0, ke ^= x << 7 | x >>> 25, x = ke + le | 0, ie ^= x << 9 | x >>> 23, x = ie + ke | 0, we ^= x << 13 | x >>> 19, x = we + ie | 0, le ^= x << 18 | x >>> 14, x = ne + Ae | 0, B ^= x << 7 | x >>> 25, x = B + ne | 0, O ^= x << 9 | x >>> 23, x = O + B | 0, Ae ^= x << 13 | x >>> 19, x = Ae + O | 0, ne ^= x << 18 | x >>> 14, x = D + U | 0, G ^= x << 7 | x >>> 25, x = G + D | 0, H ^= x << 9 | x >>> 23, x = H + G | 0, U ^= x << 13 | x >>> 19, x = U + H | 0, D ^= x << 18 | x >>> 14, x = Le + Fe | 0, Ne ^= x << 7 | x >>> 25, x = Ne + Le | 0, Ve ^= x << 9 | x >>> 23, x = Ve + Ne | 0, Fe ^= x << 13 | x >>> 19, x = Fe + Ve | 0, Le ^= x << 18 | x >>> 14;
14062
- l[0] = le >>> 0 & 255, l[1] = le >>> 8 & 255, l[2] = le >>> 16 & 255, l[3] = le >>> 24 & 255, l[4] = ne >>> 0 & 255, l[5] = ne >>> 8 & 255, l[6] = ne >>> 16 & 255, l[7] = ne >>> 24 & 255, l[8] = D >>> 0 & 255, l[9] = D >>> 8 & 255, l[10] = D >>> 16 & 255, l[11] = D >>> 24 & 255, l[12] = Le >>> 0 & 255, l[13] = Le >>> 8 & 255, l[14] = Le >>> 16 & 255, l[15] = Le >>> 24 & 255, l[16] = B >>> 0 & 255, l[17] = B >>> 8 & 255, l[18] = B >>> 16 & 255, l[19] = B >>> 24 & 255, l[20] = O >>> 0 & 255, l[21] = O >>> 8 & 255, l[22] = O >>> 16 & 255, l[23] = O >>> 24 & 255, l[24] = H >>> 0 & 255, l[25] = H >>> 8 & 255, l[26] = H >>> 16 & 255, l[27] = H >>> 24 & 255, l[28] = U >>> 0 & 255, l[29] = U >>> 8 & 255, l[30] = U >>> 16 & 255, l[31] = U >>> 24 & 255;
14060
+ for (var v = a[0] & 255 | (a[1] & 255) << 8 | (a[2] & 255) << 16 | (a[3] & 255) << 24, h = p[0] & 255 | (p[1] & 255) << 8 | (p[2] & 255) << 16 | (p[3] & 255) << 24, m = p[4] & 255 | (p[5] & 255) << 8 | (p[6] & 255) << 16 | (p[7] & 255) << 24, _ = p[8] & 255 | (p[9] & 255) << 8 | (p[10] & 255) << 16 | (p[11] & 255) << 24, N = p[12] & 255 | (p[13] & 255) << 8 | (p[14] & 255) << 16 | (p[15] & 255) << 24, Z = a[4] & 255 | (a[5] & 255) << 8 | (a[6] & 255) << 16 | (a[7] & 255) << 24, F = y[0] & 255 | (y[1] & 255) << 8 | (y[2] & 255) << 16 | (y[3] & 255) << 24, pe = y[4] & 255 | (y[5] & 255) << 8 | (y[6] & 255) << 16 | (y[7] & 255) << 24, V = y[8] & 255 | (y[9] & 255) << 8 | (y[10] & 255) << 16 | (y[11] & 255) << 24, be = y[12] & 255 | (y[13] & 255) << 8 | (y[14] & 255) << 16 | (y[15] & 255) << 24, ye = a[8] & 255 | (a[9] & 255) << 8 | (a[10] & 255) << 16 | (a[11] & 255) << 24, xe = p[16] & 255 | (p[17] & 255) << 8 | (p[18] & 255) << 16 | (p[19] & 255) << 24, Ce = p[20] & 255 | (p[21] & 255) << 8 | (p[22] & 255) << 16 | (p[23] & 255) << 24, Be = p[24] & 255 | (p[25] & 255) << 8 | (p[26] & 255) << 16 | (p[27] & 255) << 24, Oe = p[28] & 255 | (p[29] & 255) << 8 | (p[30] & 255) << 16 | (p[31] & 255) << 24, Se = a[12] & 255 | (a[13] & 255) << 8 | (a[14] & 255) << 16 | (a[15] & 255) << 24, le = v, ke = h, ie = m, we = _, Ae = N, ne = Z, O = F, T = pe, H = V, U = be, D = ye, G = xe, Ne = Ce, Ve = Be, Fe = Oe, Le = Se, x, qe = 0; qe < 20; qe += 2)
14061
+ x = le + Ne | 0, Ae ^= x << 7 | x >>> 25, x = Ae + le | 0, H ^= x << 9 | x >>> 23, x = H + Ae | 0, Ne ^= x << 13 | x >>> 19, x = Ne + H | 0, le ^= x << 18 | x >>> 14, x = ne + ke | 0, U ^= x << 7 | x >>> 25, x = U + ne | 0, Ve ^= x << 9 | x >>> 23, x = Ve + U | 0, ke ^= x << 13 | x >>> 19, x = ke + Ve | 0, ne ^= x << 18 | x >>> 14, x = D + O | 0, Fe ^= x << 7 | x >>> 25, x = Fe + D | 0, ie ^= x << 9 | x >>> 23, x = ie + Fe | 0, O ^= x << 13 | x >>> 19, x = O + ie | 0, D ^= x << 18 | x >>> 14, x = Le + G | 0, we ^= x << 7 | x >>> 25, x = we + Le | 0, T ^= x << 9 | x >>> 23, x = T + we | 0, G ^= x << 13 | x >>> 19, x = G + T | 0, Le ^= x << 18 | x >>> 14, x = le + we | 0, ke ^= x << 7 | x >>> 25, x = ke + le | 0, ie ^= x << 9 | x >>> 23, x = ie + ke | 0, we ^= x << 13 | x >>> 19, x = we + ie | 0, le ^= x << 18 | x >>> 14, x = ne + Ae | 0, O ^= x << 7 | x >>> 25, x = O + ne | 0, T ^= x << 9 | x >>> 23, x = T + O | 0, Ae ^= x << 13 | x >>> 19, x = Ae + T | 0, ne ^= x << 18 | x >>> 14, x = D + U | 0, G ^= x << 7 | x >>> 25, x = G + D | 0, H ^= x << 9 | x >>> 23, x = H + G | 0, U ^= x << 13 | x >>> 19, x = U + H | 0, D ^= x << 18 | x >>> 14, x = Le + Fe | 0, Ne ^= x << 7 | x >>> 25, x = Ne + Le | 0, Ve ^= x << 9 | x >>> 23, x = Ve + Ne | 0, Fe ^= x << 13 | x >>> 19, x = Fe + Ve | 0, Le ^= x << 18 | x >>> 14;
14062
+ l[0] = le >>> 0 & 255, l[1] = le >>> 8 & 255, l[2] = le >>> 16 & 255, l[3] = le >>> 24 & 255, l[4] = ne >>> 0 & 255, l[5] = ne >>> 8 & 255, l[6] = ne >>> 16 & 255, l[7] = ne >>> 24 & 255, l[8] = D >>> 0 & 255, l[9] = D >>> 8 & 255, l[10] = D >>> 16 & 255, l[11] = D >>> 24 & 255, l[12] = Le >>> 0 & 255, l[13] = Le >>> 8 & 255, l[14] = Le >>> 16 & 255, l[15] = Le >>> 24 & 255, l[16] = O >>> 0 & 255, l[17] = O >>> 8 & 255, l[18] = O >>> 16 & 255, l[19] = O >>> 24 & 255, l[20] = T >>> 0 & 255, l[21] = T >>> 8 & 255, l[22] = T >>> 16 & 255, l[23] = T >>> 24 & 255, l[24] = H >>> 0 & 255, l[25] = H >>> 8 & 255, l[26] = H >>> 16 & 255, l[27] = H >>> 24 & 255, l[28] = U >>> 0 & 255, l[29] = U >>> 8 & 255, l[30] = U >>> 16 & 255, l[31] = U >>> 24 & 255;
14063
14063
  }
14064
14064
  function z(l, y, p, a) {
14065
14065
  R(l, y, p, a);
@@ -14114,9 +14114,9 @@ const rm = {}, nm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
14114
14114
  y = l[0] & 255 | (l[1] & 255) << 8, this.r[0] = y & 8191, p = l[2] & 255 | (l[3] & 255) << 8, this.r[1] = (y >>> 13 | p << 3) & 8191, a = l[4] & 255 | (l[5] & 255) << 8, this.r[2] = (p >>> 10 | a << 6) & 7939, v = l[6] & 255 | (l[7] & 255) << 8, this.r[3] = (a >>> 7 | v << 9) & 8191, h = l[8] & 255 | (l[9] & 255) << 8, this.r[4] = (v >>> 4 | h << 12) & 255, this.r[5] = h >>> 1 & 8190, m = l[10] & 255 | (l[11] & 255) << 8, this.r[6] = (h >>> 14 | m << 2) & 8191, _ = l[12] & 255 | (l[13] & 255) << 8, this.r[7] = (m >>> 11 | _ << 5) & 8065, N = l[14] & 255 | (l[15] & 255) << 8, this.r[8] = (_ >>> 8 | N << 8) & 8191, this.r[9] = N >>> 5 & 127, this.pad[0] = l[16] & 255 | (l[17] & 255) << 8, this.pad[1] = l[18] & 255 | (l[19] & 255) << 8, this.pad[2] = l[20] & 255 | (l[21] & 255) << 8, this.pad[3] = l[22] & 255 | (l[23] & 255) << 8, this.pad[4] = l[24] & 255 | (l[25] & 255) << 8, this.pad[5] = l[26] & 255 | (l[27] & 255) << 8, this.pad[6] = l[28] & 255 | (l[29] & 255) << 8, this.pad[7] = l[30] & 255 | (l[31] & 255) << 8;
14115
14115
  };
14116
14116
  xt.prototype.blocks = function(l, y, p) {
14117
- for (var a = this.fin ? 0 : 2048, v, h, m, _, N, Z, F, pe, V, be, ye, xe, Ce, Be, Oe, Se, le, ke, ie, we = this.h[0], Ae = this.h[1], ne = this.h[2], B = this.h[3], O = this.h[4], H = this.h[5], U = this.h[6], D = this.h[7], G = this.h[8], Ne = this.h[9], Ve = this.r[0], Fe = this.r[1], Le = this.r[2], x = this.r[3], qe = this.r[4], ct = this.r[5], lt = this.r[6], ze = this.r[7], it = this.r[8], st = this.r[9]; p >= 16; )
14118
- v = l[y + 0] & 255 | (l[y + 1] & 255) << 8, we += v & 8191, h = l[y + 2] & 255 | (l[y + 3] & 255) << 8, Ae += (v >>> 13 | h << 3) & 8191, m = l[y + 4] & 255 | (l[y + 5] & 255) << 8, ne += (h >>> 10 | m << 6) & 8191, _ = l[y + 6] & 255 | (l[y + 7] & 255) << 8, B += (m >>> 7 | _ << 9) & 8191, N = l[y + 8] & 255 | (l[y + 9] & 255) << 8, O += (_ >>> 4 | N << 12) & 8191, H += N >>> 1 & 8191, Z = l[y + 10] & 255 | (l[y + 11] & 255) << 8, U += (N >>> 14 | Z << 2) & 8191, F = l[y + 12] & 255 | (l[y + 13] & 255) << 8, D += (Z >>> 11 | F << 5) & 8191, pe = l[y + 14] & 255 | (l[y + 15] & 255) << 8, G += (F >>> 8 | pe << 8) & 8191, Ne += pe >>> 5 | a, V = 0, be = V, be += we * Ve, be += Ae * (5 * st), be += ne * (5 * it), be += B * (5 * ze), be += O * (5 * lt), V = be >>> 13, be &= 8191, be += H * (5 * ct), be += U * (5 * qe), be += D * (5 * x), be += G * (5 * Le), be += Ne * (5 * Fe), V += be >>> 13, be &= 8191, ye = V, ye += we * Fe, ye += Ae * Ve, ye += ne * (5 * st), ye += B * (5 * it), ye += O * (5 * ze), V = ye >>> 13, ye &= 8191, ye += H * (5 * lt), ye += U * (5 * ct), ye += D * (5 * qe), ye += G * (5 * x), ye += Ne * (5 * Le), V += ye >>> 13, ye &= 8191, xe = V, xe += we * Le, xe += Ae * Fe, xe += ne * Ve, xe += B * (5 * st), xe += O * (5 * it), V = xe >>> 13, xe &= 8191, xe += H * (5 * ze), xe += U * (5 * lt), xe += D * (5 * ct), xe += G * (5 * qe), xe += Ne * (5 * x), V += xe >>> 13, xe &= 8191, Ce = V, Ce += we * x, Ce += Ae * Le, Ce += ne * Fe, Ce += B * Ve, Ce += O * (5 * st), V = Ce >>> 13, Ce &= 8191, Ce += H * (5 * it), Ce += U * (5 * ze), Ce += D * (5 * lt), Ce += G * (5 * ct), Ce += Ne * (5 * qe), V += Ce >>> 13, Ce &= 8191, Be = V, Be += we * qe, Be += Ae * x, Be += ne * Le, Be += B * Fe, Be += O * Ve, V = Be >>> 13, Be &= 8191, Be += H * (5 * st), Be += U * (5 * it), Be += D * (5 * ze), Be += G * (5 * lt), Be += Ne * (5 * ct), V += Be >>> 13, Be &= 8191, Oe = V, Oe += we * ct, Oe += Ae * qe, Oe += ne * x, Oe += B * Le, Oe += O * Fe, V = Oe >>> 13, Oe &= 8191, Oe += H * Ve, Oe += U * (5 * st), Oe += D * (5 * it), Oe += G * (5 * ze), Oe += Ne * (5 * lt), V += Oe >>> 13, Oe &= 8191, Se = V, Se += we * lt, Se += Ae * ct, Se += ne * qe, Se += B * x, Se += O * Le, V = Se >>> 13, Se &= 8191, Se += H * Fe, Se += U * Ve, Se += D * (5 * st), Se += G * (5 * it), Se += Ne * (5 * ze), V += Se >>> 13, Se &= 8191, le = V, le += we * ze, le += Ae * lt, le += ne * ct, le += B * qe, le += O * x, V = le >>> 13, le &= 8191, le += H * Le, le += U * Fe, le += D * Ve, le += G * (5 * st), le += Ne * (5 * it), V += le >>> 13, le &= 8191, ke = V, ke += we * it, ke += Ae * ze, ke += ne * lt, ke += B * ct, ke += O * qe, V = ke >>> 13, ke &= 8191, ke += H * x, ke += U * Le, ke += D * Fe, ke += G * Ve, ke += Ne * (5 * st), V += ke >>> 13, ke &= 8191, ie = V, ie += we * st, ie += Ae * it, ie += ne * ze, ie += B * lt, ie += O * ct, V = ie >>> 13, ie &= 8191, ie += H * qe, ie += U * x, ie += D * Le, ie += G * Fe, ie += Ne * Ve, V += ie >>> 13, ie &= 8191, V = (V << 2) + V | 0, V = V + be | 0, be = V & 8191, V = V >>> 13, ye += V, we = be, Ae = ye, ne = xe, B = Ce, O = Be, H = Oe, U = Se, D = le, G = ke, Ne = ie, y += 16, p -= 16;
14119
- this.h[0] = we, this.h[1] = Ae, this.h[2] = ne, this.h[3] = B, this.h[4] = O, this.h[5] = H, this.h[6] = U, this.h[7] = D, this.h[8] = G, this.h[9] = Ne;
14117
+ for (var a = this.fin ? 0 : 2048, v, h, m, _, N, Z, F, pe, V, be, ye, xe, Ce, Be, Oe, Se, le, ke, ie, we = this.h[0], Ae = this.h[1], ne = this.h[2], O = this.h[3], T = this.h[4], H = this.h[5], U = this.h[6], D = this.h[7], G = this.h[8], Ne = this.h[9], Ve = this.r[0], Fe = this.r[1], Le = this.r[2], x = this.r[3], qe = this.r[4], ct = this.r[5], lt = this.r[6], ze = this.r[7], it = this.r[8], st = this.r[9]; p >= 16; )
14118
+ v = l[y + 0] & 255 | (l[y + 1] & 255) << 8, we += v & 8191, h = l[y + 2] & 255 | (l[y + 3] & 255) << 8, Ae += (v >>> 13 | h << 3) & 8191, m = l[y + 4] & 255 | (l[y + 5] & 255) << 8, ne += (h >>> 10 | m << 6) & 8191, _ = l[y + 6] & 255 | (l[y + 7] & 255) << 8, O += (m >>> 7 | _ << 9) & 8191, N = l[y + 8] & 255 | (l[y + 9] & 255) << 8, T += (_ >>> 4 | N << 12) & 8191, H += N >>> 1 & 8191, Z = l[y + 10] & 255 | (l[y + 11] & 255) << 8, U += (N >>> 14 | Z << 2) & 8191, F = l[y + 12] & 255 | (l[y + 13] & 255) << 8, D += (Z >>> 11 | F << 5) & 8191, pe = l[y + 14] & 255 | (l[y + 15] & 255) << 8, G += (F >>> 8 | pe << 8) & 8191, Ne += pe >>> 5 | a, V = 0, be = V, be += we * Ve, be += Ae * (5 * st), be += ne * (5 * it), be += O * (5 * ze), be += T * (5 * lt), V = be >>> 13, be &= 8191, be += H * (5 * ct), be += U * (5 * qe), be += D * (5 * x), be += G * (5 * Le), be += Ne * (5 * Fe), V += be >>> 13, be &= 8191, ye = V, ye += we * Fe, ye += Ae * Ve, ye += ne * (5 * st), ye += O * (5 * it), ye += T * (5 * ze), V = ye >>> 13, ye &= 8191, ye += H * (5 * lt), ye += U * (5 * ct), ye += D * (5 * qe), ye += G * (5 * x), ye += Ne * (5 * Le), V += ye >>> 13, ye &= 8191, xe = V, xe += we * Le, xe += Ae * Fe, xe += ne * Ve, xe += O * (5 * st), xe += T * (5 * it), V = xe >>> 13, xe &= 8191, xe += H * (5 * ze), xe += U * (5 * lt), xe += D * (5 * ct), xe += G * (5 * qe), xe += Ne * (5 * x), V += xe >>> 13, xe &= 8191, Ce = V, Ce += we * x, Ce += Ae * Le, Ce += ne * Fe, Ce += O * Ve, Ce += T * (5 * st), V = Ce >>> 13, Ce &= 8191, Ce += H * (5 * it), Ce += U * (5 * ze), Ce += D * (5 * lt), Ce += G * (5 * ct), Ce += Ne * (5 * qe), V += Ce >>> 13, Ce &= 8191, Be = V, Be += we * qe, Be += Ae * x, Be += ne * Le, Be += O * Fe, Be += T * Ve, V = Be >>> 13, Be &= 8191, Be += H * (5 * st), Be += U * (5 * it), Be += D * (5 * ze), Be += G * (5 * lt), Be += Ne * (5 * ct), V += Be >>> 13, Be &= 8191, Oe = V, Oe += we * ct, Oe += Ae * qe, Oe += ne * x, Oe += O * Le, Oe += T * Fe, V = Oe >>> 13, Oe &= 8191, Oe += H * Ve, Oe += U * (5 * st), Oe += D * (5 * it), Oe += G * (5 * ze), Oe += Ne * (5 * lt), V += Oe >>> 13, Oe &= 8191, Se = V, Se += we * lt, Se += Ae * ct, Se += ne * qe, Se += O * x, Se += T * Le, V = Se >>> 13, Se &= 8191, Se += H * Fe, Se += U * Ve, Se += D * (5 * st), Se += G * (5 * it), Se += Ne * (5 * ze), V += Se >>> 13, Se &= 8191, le = V, le += we * ze, le += Ae * lt, le += ne * ct, le += O * qe, le += T * x, V = le >>> 13, le &= 8191, le += H * Le, le += U * Fe, le += D * Ve, le += G * (5 * st), le += Ne * (5 * it), V += le >>> 13, le &= 8191, ke = V, ke += we * it, ke += Ae * ze, ke += ne * lt, ke += O * ct, ke += T * qe, V = ke >>> 13, ke &= 8191, ke += H * x, ke += U * Le, ke += D * Fe, ke += G * Ve, ke += Ne * (5 * st), V += ke >>> 13, ke &= 8191, ie = V, ie += we * st, ie += Ae * it, ie += ne * ze, ie += O * lt, ie += T * ct, V = ie >>> 13, ie &= 8191, ie += H * qe, ie += U * x, ie += D * Le, ie += G * Fe, ie += Ne * Ve, V += ie >>> 13, ie &= 8191, V = (V << 2) + V | 0, V = V + be | 0, be = V & 8191, V = V >>> 13, ye += V, we = be, Ae = ye, ne = xe, O = Ce, T = Be, H = Oe, U = Se, D = le, G = ke, Ne = ie, y += 16, p -= 16;
14119
+ this.h[0] = we, this.h[1] = Ae, this.h[2] = ne, this.h[3] = O, this.h[4] = T, this.h[5] = H, this.h[6] = U, this.h[7] = D, this.h[8] = G, this.h[9] = Ne;
14120
14120
  }, xt.prototype.finish = function(l, y) {
14121
14121
  var p = new Uint16Array(10), a, v, h, m;
14122
14122
  if (this.leftover) {
@@ -14153,7 +14153,7 @@ const rm = {}, nm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
14153
14153
  }
14154
14154
  function at(l, y, p, a, v, h) {
14155
14155
  var m = new Uint8Array(16);
14156
- return At(m, 0, p, a, v, h), T(l, y, m, 0);
14156
+ return At(m, 0, p, a, v, h), B(l, y, m, 0);
14157
14157
  }
14158
14158
  function dt(l, y, p, a, v) {
14159
14159
  var h;
@@ -14212,8 +14212,8 @@ const rm = {}, nm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
14212
14212
  for (var a = 0; a < 16; a++) l[a] = y[a] - p[a];
14213
14213
  }
14214
14214
  function ee(l, y, p) {
14215
- var a, v, h = 0, m = 0, _ = 0, N = 0, Z = 0, F = 0, pe = 0, V = 0, be = 0, ye = 0, xe = 0, Ce = 0, Be = 0, Oe = 0, Se = 0, le = 0, ke = 0, ie = 0, we = 0, Ae = 0, ne = 0, B = 0, O = 0, H = 0, U = 0, D = 0, G = 0, Ne = 0, Ve = 0, Fe = 0, Le = 0, x = p[0], qe = p[1], ct = p[2], lt = p[3], ze = p[4], it = p[5], st = p[6], Dt = p[7], vt = p[8], Nt = p[9], Rt = p[10], jt = p[11], Vt = p[12], Jt = p[13], Xt = p[14], Qt = p[15];
14216
- a = y[0], h += a * x, m += a * qe, _ += a * ct, N += a * lt, Z += a * ze, F += a * it, pe += a * st, V += a * Dt, be += a * vt, ye += a * Nt, xe += a * Rt, Ce += a * jt, Be += a * Vt, Oe += a * Jt, Se += a * Xt, le += a * Qt, a = y[1], m += a * x, _ += a * qe, N += a * ct, Z += a * lt, F += a * ze, pe += a * it, V += a * st, be += a * Dt, ye += a * vt, xe += a * Nt, Ce += a * Rt, Be += a * jt, Oe += a * Vt, Se += a * Jt, le += a * Xt, ke += a * Qt, a = y[2], _ += a * x, N += a * qe, Z += a * ct, F += a * lt, pe += a * ze, V += a * it, be += a * st, ye += a * Dt, xe += a * vt, Ce += a * Nt, Be += a * Rt, Oe += a * jt, Se += a * Vt, le += a * Jt, ke += a * Xt, ie += a * Qt, a = y[3], N += a * x, Z += a * qe, F += a * ct, pe += a * lt, V += a * ze, be += a * it, ye += a * st, xe += a * Dt, Ce += a * vt, Be += a * Nt, Oe += a * Rt, Se += a * jt, le += a * Vt, ke += a * Jt, ie += a * Xt, we += a * Qt, a = y[4], Z += a * x, F += a * qe, pe += a * ct, V += a * lt, be += a * ze, ye += a * it, xe += a * st, Ce += a * Dt, Be += a * vt, Oe += a * Nt, Se += a * Rt, le += a * jt, ke += a * Vt, ie += a * Jt, we += a * Xt, Ae += a * Qt, a = y[5], F += a * x, pe += a * qe, V += a * ct, be += a * lt, ye += a * ze, xe += a * it, Ce += a * st, Be += a * Dt, Oe += a * vt, Se += a * Nt, le += a * Rt, ke += a * jt, ie += a * Vt, we += a * Jt, Ae += a * Xt, ne += a * Qt, a = y[6], pe += a * x, V += a * qe, be += a * ct, ye += a * lt, xe += a * ze, Ce += a * it, Be += a * st, Oe += a * Dt, Se += a * vt, le += a * Nt, ke += a * Rt, ie += a * jt, we += a * Vt, Ae += a * Jt, ne += a * Xt, B += a * Qt, a = y[7], V += a * x, be += a * qe, ye += a * ct, xe += a * lt, Ce += a * ze, Be += a * it, Oe += a * st, Se += a * Dt, le += a * vt, ke += a * Nt, ie += a * Rt, we += a * jt, Ae += a * Vt, ne += a * Jt, B += a * Xt, O += a * Qt, a = y[8], be += a * x, ye += a * qe, xe += a * ct, Ce += a * lt, Be += a * ze, Oe += a * it, Se += a * st, le += a * Dt, ke += a * vt, ie += a * Nt, we += a * Rt, Ae += a * jt, ne += a * Vt, B += a * Jt, O += a * Xt, H += a * Qt, a = y[9], ye += a * x, xe += a * qe, Ce += a * ct, Be += a * lt, Oe += a * ze, Se += a * it, le += a * st, ke += a * Dt, ie += a * vt, we += a * Nt, Ae += a * Rt, ne += a * jt, B += a * Vt, O += a * Jt, H += a * Xt, U += a * Qt, a = y[10], xe += a * x, Ce += a * qe, Be += a * ct, Oe += a * lt, Se += a * ze, le += a * it, ke += a * st, ie += a * Dt, we += a * vt, Ae += a * Nt, ne += a * Rt, B += a * jt, O += a * Vt, H += a * Jt, U += a * Xt, D += a * Qt, a = y[11], Ce += a * x, Be += a * qe, Oe += a * ct, Se += a * lt, le += a * ze, ke += a * it, ie += a * st, we += a * Dt, Ae += a * vt, ne += a * Nt, B += a * Rt, O += a * jt, H += a * Vt, U += a * Jt, D += a * Xt, G += a * Qt, a = y[12], Be += a * x, Oe += a * qe, Se += a * ct, le += a * lt, ke += a * ze, ie += a * it, we += a * st, Ae += a * Dt, ne += a * vt, B += a * Nt, O += a * Rt, H += a * jt, U += a * Vt, D += a * Jt, G += a * Xt, Ne += a * Qt, a = y[13], Oe += a * x, Se += a * qe, le += a * ct, ke += a * lt, ie += a * ze, we += a * it, Ae += a * st, ne += a * Dt, B += a * vt, O += a * Nt, H += a * Rt, U += a * jt, D += a * Vt, G += a * Jt, Ne += a * Xt, Ve += a * Qt, a = y[14], Se += a * x, le += a * qe, ke += a * ct, ie += a * lt, we += a * ze, Ae += a * it, ne += a * st, B += a * Dt, O += a * vt, H += a * Nt, U += a * Rt, D += a * jt, G += a * Vt, Ne += a * Jt, Ve += a * Xt, Fe += a * Qt, a = y[15], le += a * x, ke += a * qe, ie += a * ct, we += a * lt, Ae += a * ze, ne += a * it, B += a * st, O += a * Dt, H += a * vt, U += a * Nt, D += a * Rt, G += a * jt, Ne += a * Vt, Ve += a * Jt, Fe += a * Xt, Le += a * Qt, h += 38 * ke, m += 38 * ie, _ += 38 * we, N += 38 * Ae, Z += 38 * ne, F += 38 * B, pe += 38 * O, V += 38 * H, be += 38 * U, ye += 38 * D, xe += 38 * G, Ce += 38 * Ne, Be += 38 * Ve, Oe += 38 * Fe, Se += 38 * Le, v = 1, a = h + v + 65535, v = Math.floor(a / 65536), h = a - v * 65536, a = m + v + 65535, v = Math.floor(a / 65536), m = a - v * 65536, a = _ + v + 65535, v = Math.floor(a / 65536), _ = a - v * 65536, a = N + v + 65535, v = Math.floor(a / 65536), N = a - v * 65536, a = Z + v + 65535, v = Math.floor(a / 65536), Z = a - v * 65536, a = F + v + 65535, v = Math.floor(a / 65536), F = a - v * 65536, a = pe + v + 65535, v = Math.floor(a / 65536), pe = a - v * 65536, a = V + v + 65535, v = Math.floor(a / 65536), V = a - v * 65536, a = be + v + 65535, v = Math.floor(a / 65536), be = a - v * 65536, a = ye + v + 65535, v = Math.floor(a / 65536), ye = a - v * 65536, a = xe + v + 65535, v = Math.floor(a / 65536), xe = a - v * 65536, a = Ce + v + 65535, v = Math.floor(a / 65536), Ce = a - v * 65536, a = Be + v + 65535, v = Math.floor(a / 65536), Be = a - v * 65536, a = Oe + v + 65535, v = Math.floor(a / 65536), Oe = a - v * 65536, a = Se + v + 65535, v = Math.floor(a / 65536), Se = a - v * 65536, a = le + v + 65535, v = Math.floor(a / 65536), le = a - v * 65536, h += v - 1 + 37 * (v - 1), v = 1, a = h + v + 65535, v = Math.floor(a / 65536), h = a - v * 65536, a = m + v + 65535, v = Math.floor(a / 65536), m = a - v * 65536, a = _ + v + 65535, v = Math.floor(a / 65536), _ = a - v * 65536, a = N + v + 65535, v = Math.floor(a / 65536), N = a - v * 65536, a = Z + v + 65535, v = Math.floor(a / 65536), Z = a - v * 65536, a = F + v + 65535, v = Math.floor(a / 65536), F = a - v * 65536, a = pe + v + 65535, v = Math.floor(a / 65536), pe = a - v * 65536, a = V + v + 65535, v = Math.floor(a / 65536), V = a - v * 65536, a = be + v + 65535, v = Math.floor(a / 65536), be = a - v * 65536, a = ye + v + 65535, v = Math.floor(a / 65536), ye = a - v * 65536, a = xe + v + 65535, v = Math.floor(a / 65536), xe = a - v * 65536, a = Ce + v + 65535, v = Math.floor(a / 65536), Ce = a - v * 65536, a = Be + v + 65535, v = Math.floor(a / 65536), Be = a - v * 65536, a = Oe + v + 65535, v = Math.floor(a / 65536), Oe = a - v * 65536, a = Se + v + 65535, v = Math.floor(a / 65536), Se = a - v * 65536, a = le + v + 65535, v = Math.floor(a / 65536), le = a - v * 65536, h += v - 1 + 37 * (v - 1), l[0] = h, l[1] = m, l[2] = _, l[3] = N, l[4] = Z, l[5] = F, l[6] = pe, l[7] = V, l[8] = be, l[9] = ye, l[10] = xe, l[11] = Ce, l[12] = Be, l[13] = Oe, l[14] = Se, l[15] = le;
14215
+ var a, v, h = 0, m = 0, _ = 0, N = 0, Z = 0, F = 0, pe = 0, V = 0, be = 0, ye = 0, xe = 0, Ce = 0, Be = 0, Oe = 0, Se = 0, le = 0, ke = 0, ie = 0, we = 0, Ae = 0, ne = 0, O = 0, T = 0, H = 0, U = 0, D = 0, G = 0, Ne = 0, Ve = 0, Fe = 0, Le = 0, x = p[0], qe = p[1], ct = p[2], lt = p[3], ze = p[4], it = p[5], st = p[6], Dt = p[7], vt = p[8], Nt = p[9], Rt = p[10], jt = p[11], Vt = p[12], Jt = p[13], Xt = p[14], Qt = p[15];
14216
+ a = y[0], h += a * x, m += a * qe, _ += a * ct, N += a * lt, Z += a * ze, F += a * it, pe += a * st, V += a * Dt, be += a * vt, ye += a * Nt, xe += a * Rt, Ce += a * jt, Be += a * Vt, Oe += a * Jt, Se += a * Xt, le += a * Qt, a = y[1], m += a * x, _ += a * qe, N += a * ct, Z += a * lt, F += a * ze, pe += a * it, V += a * st, be += a * Dt, ye += a * vt, xe += a * Nt, Ce += a * Rt, Be += a * jt, Oe += a * Vt, Se += a * Jt, le += a * Xt, ke += a * Qt, a = y[2], _ += a * x, N += a * qe, Z += a * ct, F += a * lt, pe += a * ze, V += a * it, be += a * st, ye += a * Dt, xe += a * vt, Ce += a * Nt, Be += a * Rt, Oe += a * jt, Se += a * Vt, le += a * Jt, ke += a * Xt, ie += a * Qt, a = y[3], N += a * x, Z += a * qe, F += a * ct, pe += a * lt, V += a * ze, be += a * it, ye += a * st, xe += a * Dt, Ce += a * vt, Be += a * Nt, Oe += a * Rt, Se += a * jt, le += a * Vt, ke += a * Jt, ie += a * Xt, we += a * Qt, a = y[4], Z += a * x, F += a * qe, pe += a * ct, V += a * lt, be += a * ze, ye += a * it, xe += a * st, Ce += a * Dt, Be += a * vt, Oe += a * Nt, Se += a * Rt, le += a * jt, ke += a * Vt, ie += a * Jt, we += a * Xt, Ae += a * Qt, a = y[5], F += a * x, pe += a * qe, V += a * ct, be += a * lt, ye += a * ze, xe += a * it, Ce += a * st, Be += a * Dt, Oe += a * vt, Se += a * Nt, le += a * Rt, ke += a * jt, ie += a * Vt, we += a * Jt, Ae += a * Xt, ne += a * Qt, a = y[6], pe += a * x, V += a * qe, be += a * ct, ye += a * lt, xe += a * ze, Ce += a * it, Be += a * st, Oe += a * Dt, Se += a * vt, le += a * Nt, ke += a * Rt, ie += a * jt, we += a * Vt, Ae += a * Jt, ne += a * Xt, O += a * Qt, a = y[7], V += a * x, be += a * qe, ye += a * ct, xe += a * lt, Ce += a * ze, Be += a * it, Oe += a * st, Se += a * Dt, le += a * vt, ke += a * Nt, ie += a * Rt, we += a * jt, Ae += a * Vt, ne += a * Jt, O += a * Xt, T += a * Qt, a = y[8], be += a * x, ye += a * qe, xe += a * ct, Ce += a * lt, Be += a * ze, Oe += a * it, Se += a * st, le += a * Dt, ke += a * vt, ie += a * Nt, we += a * Rt, Ae += a * jt, ne += a * Vt, O += a * Jt, T += a * Xt, H += a * Qt, a = y[9], ye += a * x, xe += a * qe, Ce += a * ct, Be += a * lt, Oe += a * ze, Se += a * it, le += a * st, ke += a * Dt, ie += a * vt, we += a * Nt, Ae += a * Rt, ne += a * jt, O += a * Vt, T += a * Jt, H += a * Xt, U += a * Qt, a = y[10], xe += a * x, Ce += a * qe, Be += a * ct, Oe += a * lt, Se += a * ze, le += a * it, ke += a * st, ie += a * Dt, we += a * vt, Ae += a * Nt, ne += a * Rt, O += a * jt, T += a * Vt, H += a * Jt, U += a * Xt, D += a * Qt, a = y[11], Ce += a * x, Be += a * qe, Oe += a * ct, Se += a * lt, le += a * ze, ke += a * it, ie += a * st, we += a * Dt, Ae += a * vt, ne += a * Nt, O += a * Rt, T += a * jt, H += a * Vt, U += a * Jt, D += a * Xt, G += a * Qt, a = y[12], Be += a * x, Oe += a * qe, Se += a * ct, le += a * lt, ke += a * ze, ie += a * it, we += a * st, Ae += a * Dt, ne += a * vt, O += a * Nt, T += a * Rt, H += a * jt, U += a * Vt, D += a * Jt, G += a * Xt, Ne += a * Qt, a = y[13], Oe += a * x, Se += a * qe, le += a * ct, ke += a * lt, ie += a * ze, we += a * it, Ae += a * st, ne += a * Dt, O += a * vt, T += a * Nt, H += a * Rt, U += a * jt, D += a * Vt, G += a * Jt, Ne += a * Xt, Ve += a * Qt, a = y[14], Se += a * x, le += a * qe, ke += a * ct, ie += a * lt, we += a * ze, Ae += a * it, ne += a * st, O += a * Dt, T += a * vt, H += a * Nt, U += a * Rt, D += a * jt, G += a * Vt, Ne += a * Jt, Ve += a * Xt, Fe += a * Qt, a = y[15], le += a * x, ke += a * qe, ie += a * ct, we += a * lt, Ae += a * ze, ne += a * it, O += a * st, T += a * Dt, H += a * vt, U += a * Nt, D += a * Rt, G += a * jt, Ne += a * Vt, Ve += a * Jt, Fe += a * Xt, Le += a * Qt, h += 38 * ke, m += 38 * ie, _ += 38 * we, N += 38 * Ae, Z += 38 * ne, F += 38 * O, pe += 38 * T, V += 38 * H, be += 38 * U, ye += 38 * D, xe += 38 * G, Ce += 38 * Ne, Be += 38 * Ve, Oe += 38 * Fe, Se += 38 * Le, v = 1, a = h + v + 65535, v = Math.floor(a / 65536), h = a - v * 65536, a = m + v + 65535, v = Math.floor(a / 65536), m = a - v * 65536, a = _ + v + 65535, v = Math.floor(a / 65536), _ = a - v * 65536, a = N + v + 65535, v = Math.floor(a / 65536), N = a - v * 65536, a = Z + v + 65535, v = Math.floor(a / 65536), Z = a - v * 65536, a = F + v + 65535, v = Math.floor(a / 65536), F = a - v * 65536, a = pe + v + 65535, v = Math.floor(a / 65536), pe = a - v * 65536, a = V + v + 65535, v = Math.floor(a / 65536), V = a - v * 65536, a = be + v + 65535, v = Math.floor(a / 65536), be = a - v * 65536, a = ye + v + 65535, v = Math.floor(a / 65536), ye = a - v * 65536, a = xe + v + 65535, v = Math.floor(a / 65536), xe = a - v * 65536, a = Ce + v + 65535, v = Math.floor(a / 65536), Ce = a - v * 65536, a = Be + v + 65535, v = Math.floor(a / 65536), Be = a - v * 65536, a = Oe + v + 65535, v = Math.floor(a / 65536), Oe = a - v * 65536, a = Se + v + 65535, v = Math.floor(a / 65536), Se = a - v * 65536, a = le + v + 65535, v = Math.floor(a / 65536), le = a - v * 65536, h += v - 1 + 37 * (v - 1), v = 1, a = h + v + 65535, v = Math.floor(a / 65536), h = a - v * 65536, a = m + v + 65535, v = Math.floor(a / 65536), m = a - v * 65536, a = _ + v + 65535, v = Math.floor(a / 65536), _ = a - v * 65536, a = N + v + 65535, v = Math.floor(a / 65536), N = a - v * 65536, a = Z + v + 65535, v = Math.floor(a / 65536), Z = a - v * 65536, a = F + v + 65535, v = Math.floor(a / 65536), F = a - v * 65536, a = pe + v + 65535, v = Math.floor(a / 65536), pe = a - v * 65536, a = V + v + 65535, v = Math.floor(a / 65536), V = a - v * 65536, a = be + v + 65535, v = Math.floor(a / 65536), be = a - v * 65536, a = ye + v + 65535, v = Math.floor(a / 65536), ye = a - v * 65536, a = xe + v + 65535, v = Math.floor(a / 65536), xe = a - v * 65536, a = Ce + v + 65535, v = Math.floor(a / 65536), Ce = a - v * 65536, a = Be + v + 65535, v = Math.floor(a / 65536), Be = a - v * 65536, a = Oe + v + 65535, v = Math.floor(a / 65536), Oe = a - v * 65536, a = Se + v + 65535, v = Math.floor(a / 65536), Se = a - v * 65536, a = le + v + 65535, v = Math.floor(a / 65536), le = a - v * 65536, h += v - 1 + 37 * (v - 1), l[0] = h, l[1] = m, l[2] = _, l[3] = N, l[4] = Z, l[5] = F, l[6] = pe, l[7] = V, l[8] = be, l[9] = ye, l[10] = xe, l[11] = Ce, l[12] = Be, l[13] = Oe, l[14] = Se, l[15] = le;
14217
14217
  }
14218
14218
  function nt(l, y) {
14219
14219
  ee(l, y, y);
@@ -14426,14 +14426,14 @@ const rm = {}, nm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
14426
14426
  1246189591
14427
14427
  ];
14428
14428
  function Dn(l, y, p, a) {
14429
- for (var v = new Int32Array(16), h = new Int32Array(16), m, _, N, Z, F, pe, V, be, ye, xe, Ce, Be, Oe, Se, le, ke, ie, we, Ae, ne, B, O, H, U, D, G, Ne = l[0], Ve = l[1], Fe = l[2], Le = l[3], x = l[4], qe = l[5], ct = l[6], lt = l[7], ze = y[0], it = y[1], st = y[2], Dt = y[3], vt = y[4], Nt = y[5], Rt = y[6], jt = y[7], Vt = 0; a >= 128; ) {
14429
+ for (var v = new Int32Array(16), h = new Int32Array(16), m, _, N, Z, F, pe, V, be, ye, xe, Ce, Be, Oe, Se, le, ke, ie, we, Ae, ne, O, T, H, U, D, G, Ne = l[0], Ve = l[1], Fe = l[2], Le = l[3], x = l[4], qe = l[5], ct = l[6], lt = l[7], ze = y[0], it = y[1], st = y[2], Dt = y[3], vt = y[4], Nt = y[5], Rt = y[6], jt = y[7], Vt = 0; a >= 128; ) {
14430
14430
  for (Ae = 0; Ae < 16; Ae++)
14431
14431
  ne = 8 * Ae + Vt, v[Ae] = p[ne + 0] << 24 | p[ne + 1] << 16 | p[ne + 2] << 8 | p[ne + 3], h[Ae] = p[ne + 4] << 24 | p[ne + 5] << 16 | p[ne + 6] << 8 | p[ne + 7];
14432
14432
  for (Ae = 0; Ae < 80; Ae++)
14433
- if (m = Ne, _ = Ve, N = Fe, Z = Le, F = x, pe = qe, V = ct, be = lt, ye = ze, xe = it, Ce = st, Be = Dt, Oe = vt, Se = Nt, le = Rt, ke = jt, B = lt, O = jt, H = O & 65535, U = O >>> 16, D = B & 65535, G = B >>> 16, B = (x >>> 14 | vt << 18) ^ (x >>> 18 | vt << 14) ^ (vt >>> 9 | x << 23), O = (vt >>> 14 | x << 18) ^ (vt >>> 18 | x << 14) ^ (x >>> 9 | vt << 23), H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, B = x & qe ^ ~x & ct, O = vt & Nt ^ ~vt & Rt, H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, B = Un[Ae * 2], O = Un[Ae * 2 + 1], H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, B = v[Ae % 16], O = h[Ae % 16], H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, ie = D & 65535 | G << 16, we = H & 65535 | U << 16, B = ie, O = we, H = O & 65535, U = O >>> 16, D = B & 65535, G = B >>> 16, B = (Ne >>> 28 | ze << 4) ^ (ze >>> 2 | Ne << 30) ^ (ze >>> 7 | Ne << 25), O = (ze >>> 28 | Ne << 4) ^ (Ne >>> 2 | ze << 30) ^ (Ne >>> 7 | ze << 25), H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, B = Ne & Ve ^ Ne & Fe ^ Ve & Fe, O = ze & it ^ ze & st ^ it & st, H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, be = D & 65535 | G << 16, ke = H & 65535 | U << 16, B = Z, O = Be, H = O & 65535, U = O >>> 16, D = B & 65535, G = B >>> 16, B = ie, O = we, H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, Z = D & 65535 | G << 16, Be = H & 65535 | U << 16, Ve = m, Fe = _, Le = N, x = Z, qe = F, ct = pe, lt = V, Ne = be, it = ye, st = xe, Dt = Ce, vt = Be, Nt = Oe, Rt = Se, jt = le, ze = ke, Ae % 16 === 15)
14433
+ if (m = Ne, _ = Ve, N = Fe, Z = Le, F = x, pe = qe, V = ct, be = lt, ye = ze, xe = it, Ce = st, Be = Dt, Oe = vt, Se = Nt, le = Rt, ke = jt, O = lt, T = jt, H = T & 65535, U = T >>> 16, D = O & 65535, G = O >>> 16, O = (x >>> 14 | vt << 18) ^ (x >>> 18 | vt << 14) ^ (vt >>> 9 | x << 23), T = (vt >>> 14 | x << 18) ^ (vt >>> 18 | x << 14) ^ (x >>> 9 | vt << 23), H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, O = x & qe ^ ~x & ct, T = vt & Nt ^ ~vt & Rt, H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, O = Un[Ae * 2], T = Un[Ae * 2 + 1], H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, O = v[Ae % 16], T = h[Ae % 16], H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, ie = D & 65535 | G << 16, we = H & 65535 | U << 16, O = ie, T = we, H = T & 65535, U = T >>> 16, D = O & 65535, G = O >>> 16, O = (Ne >>> 28 | ze << 4) ^ (ze >>> 2 | Ne << 30) ^ (ze >>> 7 | Ne << 25), T = (ze >>> 28 | Ne << 4) ^ (Ne >>> 2 | ze << 30) ^ (Ne >>> 7 | ze << 25), H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, O = Ne & Ve ^ Ne & Fe ^ Ve & Fe, T = ze & it ^ ze & st ^ it & st, H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, be = D & 65535 | G << 16, ke = H & 65535 | U << 16, O = Z, T = Be, H = T & 65535, U = T >>> 16, D = O & 65535, G = O >>> 16, O = ie, T = we, H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, Z = D & 65535 | G << 16, Be = H & 65535 | U << 16, Ve = m, Fe = _, Le = N, x = Z, qe = F, ct = pe, lt = V, Ne = be, it = ye, st = xe, Dt = Ce, vt = Be, Nt = Oe, Rt = Se, jt = le, ze = ke, Ae % 16 === 15)
14434
14434
  for (ne = 0; ne < 16; ne++)
14435
- B = v[ne], O = h[ne], H = O & 65535, U = O >>> 16, D = B & 65535, G = B >>> 16, B = v[(ne + 9) % 16], O = h[(ne + 9) % 16], H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, ie = v[(ne + 1) % 16], we = h[(ne + 1) % 16], B = (ie >>> 1 | we << 31) ^ (ie >>> 8 | we << 24) ^ ie >>> 7, O = (we >>> 1 | ie << 31) ^ (we >>> 8 | ie << 24) ^ (we >>> 7 | ie << 25), H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, ie = v[(ne + 14) % 16], we = h[(ne + 14) % 16], B = (ie >>> 19 | we << 13) ^ (we >>> 29 | ie << 3) ^ ie >>> 6, O = (we >>> 19 | ie << 13) ^ (ie >>> 29 | we << 3) ^ (we >>> 6 | ie << 26), H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, v[ne] = D & 65535 | G << 16, h[ne] = H & 65535 | U << 16;
14436
- B = Ne, O = ze, H = O & 65535, U = O >>> 16, D = B & 65535, G = B >>> 16, B = l[0], O = y[0], H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[0] = Ne = D & 65535 | G << 16, y[0] = ze = H & 65535 | U << 16, B = Ve, O = it, H = O & 65535, U = O >>> 16, D = B & 65535, G = B >>> 16, B = l[1], O = y[1], H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[1] = Ve = D & 65535 | G << 16, y[1] = it = H & 65535 | U << 16, B = Fe, O = st, H = O & 65535, U = O >>> 16, D = B & 65535, G = B >>> 16, B = l[2], O = y[2], H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[2] = Fe = D & 65535 | G << 16, y[2] = st = H & 65535 | U << 16, B = Le, O = Dt, H = O & 65535, U = O >>> 16, D = B & 65535, G = B >>> 16, B = l[3], O = y[3], H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[3] = Le = D & 65535 | G << 16, y[3] = Dt = H & 65535 | U << 16, B = x, O = vt, H = O & 65535, U = O >>> 16, D = B & 65535, G = B >>> 16, B = l[4], O = y[4], H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[4] = x = D & 65535 | G << 16, y[4] = vt = H & 65535 | U << 16, B = qe, O = Nt, H = O & 65535, U = O >>> 16, D = B & 65535, G = B >>> 16, B = l[5], O = y[5], H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[5] = qe = D & 65535 | G << 16, y[5] = Nt = H & 65535 | U << 16, B = ct, O = Rt, H = O & 65535, U = O >>> 16, D = B & 65535, G = B >>> 16, B = l[6], O = y[6], H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[6] = ct = D & 65535 | G << 16, y[6] = Rt = H & 65535 | U << 16, B = lt, O = jt, H = O & 65535, U = O >>> 16, D = B & 65535, G = B >>> 16, B = l[7], O = y[7], H += O & 65535, U += O >>> 16, D += B & 65535, G += B >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[7] = lt = D & 65535 | G << 16, y[7] = jt = H & 65535 | U << 16, Vt += 128, a -= 128;
14435
+ O = v[ne], T = h[ne], H = T & 65535, U = T >>> 16, D = O & 65535, G = O >>> 16, O = v[(ne + 9) % 16], T = h[(ne + 9) % 16], H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, ie = v[(ne + 1) % 16], we = h[(ne + 1) % 16], O = (ie >>> 1 | we << 31) ^ (ie >>> 8 | we << 24) ^ ie >>> 7, T = (we >>> 1 | ie << 31) ^ (we >>> 8 | ie << 24) ^ (we >>> 7 | ie << 25), H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, ie = v[(ne + 14) % 16], we = h[(ne + 14) % 16], O = (ie >>> 19 | we << 13) ^ (we >>> 29 | ie << 3) ^ ie >>> 6, T = (we >>> 19 | ie << 13) ^ (ie >>> 29 | we << 3) ^ (we >>> 6 | ie << 26), H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, v[ne] = D & 65535 | G << 16, h[ne] = H & 65535 | U << 16;
14436
+ O = Ne, T = ze, H = T & 65535, U = T >>> 16, D = O & 65535, G = O >>> 16, O = l[0], T = y[0], H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[0] = Ne = D & 65535 | G << 16, y[0] = ze = H & 65535 | U << 16, O = Ve, T = it, H = T & 65535, U = T >>> 16, D = O & 65535, G = O >>> 16, O = l[1], T = y[1], H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[1] = Ve = D & 65535 | G << 16, y[1] = it = H & 65535 | U << 16, O = Fe, T = st, H = T & 65535, U = T >>> 16, D = O & 65535, G = O >>> 16, O = l[2], T = y[2], H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[2] = Fe = D & 65535 | G << 16, y[2] = st = H & 65535 | U << 16, O = Le, T = Dt, H = T & 65535, U = T >>> 16, D = O & 65535, G = O >>> 16, O = l[3], T = y[3], H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[3] = Le = D & 65535 | G << 16, y[3] = Dt = H & 65535 | U << 16, O = x, T = vt, H = T & 65535, U = T >>> 16, D = O & 65535, G = O >>> 16, O = l[4], T = y[4], H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[4] = x = D & 65535 | G << 16, y[4] = vt = H & 65535 | U << 16, O = qe, T = Nt, H = T & 65535, U = T >>> 16, D = O & 65535, G = O >>> 16, O = l[5], T = y[5], H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[5] = qe = D & 65535 | G << 16, y[5] = Nt = H & 65535 | U << 16, O = ct, T = Rt, H = T & 65535, U = T >>> 16, D = O & 65535, G = O >>> 16, O = l[6], T = y[6], H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[6] = ct = D & 65535 | G << 16, y[6] = Rt = H & 65535 | U << 16, O = lt, T = jt, H = T & 65535, U = T >>> 16, D = O & 65535, G = O >>> 16, O = l[7], T = y[7], H += T & 65535, U += T >>> 16, D += O & 65535, G += O >>> 16, U += H >>> 16, D += U >>> 16, G += D >>> 16, l[7] = lt = D & 65535 | G << 16, y[7] = jt = H & 65535 | U << 16, Vt += 128, a -= 128;
14437
14437
  }
14438
14438
  return a;
14439
14439
  }
@@ -14463,7 +14463,7 @@ const rm = {}, nm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
14463
14463
  }
14464
14464
  function Mn(l, y) {
14465
14465
  var p = [t(), t(), t(), t()];
14466
- Ge(p[0], E), Ge(p[1], Y), Ge(p[2], c), ee(p[3], E, Y), pi(l, p, y);
14466
+ Ge(p[0], S), Ge(p[1], Y), Ge(p[2], c), ee(p[3], S, Y), pi(l, p, y);
14467
14467
  }
14468
14468
  function Vn(l, y, p) {
14469
14469
  var a = new Uint8Array(64), v = [t(), t(), t(), t()], h;
@@ -14529,7 +14529,7 @@ const rm = {}, nm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
14529
14529
  crypto_stream_salsa20: Re,
14530
14530
  crypto_onetimeauth: At,
14531
14531
  crypto_onetimeauth_verify: at,
14532
- crypto_verify_16: T,
14532
+ crypto_verify_16: B,
14533
14533
  crypto_verify_32: I,
14534
14534
  crypto_secretbox: dt,
14535
14535
  crypto_secretbox_open: Ye,
@@ -14673,7 +14673,7 @@ const rm = {}, nm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
14673
14673
  var y = new Uint8Array(Fn);
14674
14674
  return ir(y, l, l.length), y;
14675
14675
  }, e.hash.hashLength = Fn, e.verify = function(l, y) {
14676
- return sr(l, y), l.length === 0 || y.length === 0 || l.length !== y.length ? !1 : S(l, 0, y, 0, l.length) === 0;
14676
+ return sr(l, y), l.length === 0 || y.length === 0 || l.length !== y.length ? !1 : E(l, 0, y, 0, l.length) === 0;
14677
14677
  }, e.setPRNG = function(l) {
14678
14678
  n = l;
14679
14679
  }, function() {
@@ -14700,34 +14700,34 @@ const U0 = /* @__PURE__ */ ny(sm);
14700
14700
  function om() {
14701
14701
  return U0.box.keyPair();
14702
14702
  }
14703
- async function ho(r) {
14704
- const e = sessionStorage.getItem("sessionKey"), t = sessionStorage.getItem("sessionId");
14703
+ async function ho(r, e) {
14704
+ const t = sessionStorage.getItem("sessionKey"), n = sessionStorage.getItem("sessionId");
14705
14705
  console.groupCollapsed("Attestation");
14706
14706
  try {
14707
- if (e && t && !r) {
14708
- const s = Us(e);
14709
- return console.log("Using existing attestation from session storage."), { sessionKey: s, sessionId: t };
14710
- }
14711
- const n = window.crypto.randomUUID();
14712
- console.log("Generated attestation nonce:", n);
14713
- const i = await em(n);
14714
- if (i && i.public_key) {
14707
+ if (t && n && !r) {
14708
+ const o = Us(t);
14709
+ return console.log("Using existing attestation from session storage."), { sessionKey: o, sessionId: n };
14710
+ }
14711
+ const i = window.crypto.randomUUID();
14712
+ console.log("Generated attestation nonce:", i);
14713
+ const s = await em(i);
14714
+ if (s && s.public_key) {
14715
14715
  console.log("Attestation document verification succeeded");
14716
- const s = om();
14716
+ const o = om();
14717
14717
  console.log("Generated client key pair");
14718
- const o = new Uint8Array(i.public_key), { encrypted_session_key: c, session_id: u } = await ym(
14719
- Lr(s.publicKey),
14720
- n
14718
+ const c = new Uint8Array(s.public_key), { encrypted_session_key: u, session_id: d } = await gm(
14719
+ Lr(o.publicKey),
14720
+ i
14721
14721
  );
14722
14722
  console.log("Key exchange completed.");
14723
- const d = U0.scalarMult(s.secretKey, o), b = Us(c), E = 12, Y = b.slice(0, E), $ = b.slice(E), S = new Tu(d).open(Y, $);
14724
- if (S)
14725
- return console.log("Session key decrypted successfully"), window.sessionStorage.setItem("sessionKey", Lr(S)), window.sessionStorage.setItem("sessionId", u), { sessionKey: S, sessionId: u };
14723
+ const b = U0.scalarMult(o.secretKey, c), S = Us(u), Y = 12, $ = S.slice(0, Y), w = S.slice(Y), B = new Tu(b).open($, w);
14724
+ if (B)
14725
+ return console.log("Session key decrypted successfully"), window.sessionStorage.setItem("sessionKey", Lr(B)), window.sessionStorage.setItem("sessionId", d), { sessionKey: B, sessionId: d };
14726
14726
  throw new Error("Failed to decrypt session key");
14727
14727
  } else
14728
14728
  throw new Error("Invalid attestation document");
14729
- } catch (n) {
14730
- throw console.error("Error verifying attestation:", n), n;
14729
+ } catch (i) {
14730
+ throw console.error("Error verifying attestation:", i), i;
14731
14731
  } finally {
14732
14732
  console.groupEnd();
14733
14733
  }
@@ -14763,12 +14763,12 @@ async function D0(r, e, t, n, i) {
14763
14763
  let { sessionKey: s, sessionId: o } = await ho();
14764
14764
  const c = async (d, b = !1) => {
14765
14765
  if (b || !s || !o) {
14766
- const T = await ho(!0);
14767
- s = T.sessionKey, o = T.sessionId;
14766
+ const B = await ho(!0);
14767
+ s = B.sessionKey, o = B.sessionId;
14768
14768
  }
14769
14769
  if (!s || !o)
14770
14770
  throw new Error("Failed to make encrypted API call, no attestation available.");
14771
- const E = t ? JSON.stringify(t) : void 0, Y = E ? xd(s, E) : void 0, $ = {
14771
+ const S = t ? JSON.stringify(t) : void 0, Y = S ? xd(s, S) : void 0, $ = {
14772
14772
  "Content-Type": "application/json",
14773
14773
  "x-session-id": o
14774
14774
  };
@@ -14777,29 +14777,29 @@ async function D0(r, e, t, n, i) {
14777
14777
  method: e,
14778
14778
  headers: $,
14779
14779
  body: Y ? JSON.stringify({ encrypted: Y }) : void 0
14780
- }), S = {
14780
+ }), E = {
14781
14781
  status: w.status
14782
14782
  };
14783
14783
  if (w.ok)
14784
14784
  try {
14785
- const T = await w.json(), I = Ad(s, T.encrypted);
14786
- S.data = JSON.parse(I);
14787
- } catch (T) {
14788
- console.error("Error decrypting or parsing response:", T), S.status = 500, S.error = "Failed to decrypt or parse the response";
14785
+ const B = await w.json(), I = Ad(s, B.encrypted);
14786
+ E.data = JSON.parse(I);
14787
+ } catch (B) {
14788
+ console.error("Error decrypting or parsing response:", B), E.status = 500, E.error = "Failed to decrypt or parse the response";
14789
14789
  }
14790
14790
  else
14791
14791
  try {
14792
- const T = await w.json();
14793
- S.error = T.message || i || `HTTP error! Status: ${w.status}`;
14792
+ const B = await w.json();
14793
+ E.error = B.message || i || `HTTP error! Status: ${w.status}`;
14794
14794
  } catch {
14795
- S.error = i || `HTTP error! Status: ${w.status}`;
14795
+ E.error = i || `HTTP error! Status: ${w.status}`;
14796
14796
  }
14797
- return S;
14797
+ return E;
14798
14798
  }, u = async (d, b = !1) => {
14799
- var E;
14799
+ var S;
14800
14800
  try {
14801
14801
  const Y = await c(d, b);
14802
- return (Y.status === 400 || (E = Y.error) != null && E.includes("Encryption error")) && !b ? (console.log("Encryption error or Bad Request, attempting to renew attestation"), u(d, !0)) : Y;
14802
+ return (Y.status === 400 || (S = Y.error) != null && S.includes("Encryption error")) && !b ? (console.log("Encryption error or Bad Request, attempting to renew attestation"), u(d, !0)) : Y;
14803
14803
  } catch (Y) {
14804
14804
  return {
14805
14805
  status: 500,
@@ -14823,26 +14823,28 @@ async function Ir(r, e, t, n, i) {
14823
14823
  throw new Error("No data received from the server");
14824
14824
  return s.data;
14825
14825
  }
14826
- let ht = "http://localhost:3000";
14827
- console.log("API_URL:", ht);
14826
+ let ht = "";
14828
14827
  function am(r) {
14829
14828
  ht = r;
14830
14829
  }
14831
- async function cm(r, e) {
14830
+ function cm() {
14831
+ return ht;
14832
+ }
14833
+ async function lm(r, e) {
14832
14834
  return Ir(
14833
14835
  `${ht}/login`,
14834
14836
  "POST",
14835
14837
  { email: r, password: e }
14836
14838
  );
14837
14839
  }
14838
- async function lm(r, e) {
14840
+ async function um(r, e) {
14839
14841
  return Ir(
14840
14842
  `${ht}/login`,
14841
14843
  "POST",
14842
14844
  { id: r, password: e }
14843
14845
  );
14844
14846
  }
14845
- async function um(r, e, t, n) {
14847
+ async function fm(r, e, t, n) {
14846
14848
  return Ir(`${ht}/register`, "POST", {
14847
14849
  email: r,
14848
14850
  password: e,
@@ -14850,7 +14852,7 @@ async function um(r, e, t, n) {
14850
14852
  name: n
14851
14853
  });
14852
14854
  }
14853
- async function fm(r, e) {
14855
+ async function hm(r, e) {
14854
14856
  return Ir(`${ht}/register`, "POST", {
14855
14857
  password: r,
14856
14858
  inviteCode: e.toLowerCase()
@@ -14873,7 +14875,7 @@ async function jc() {
14873
14875
  throw console.error("Error refreshing token:", t), t;
14874
14876
  }
14875
14877
  }
14876
- async function hm() {
14878
+ async function dm() {
14877
14879
  return kr(
14878
14880
  `${ht}/protected/user`,
14879
14881
  "GET",
@@ -14918,7 +14920,7 @@ async function L0() {
14918
14920
  "Failed to list key-value pairs"
14919
14921
  );
14920
14922
  }
14921
- async function dm(r) {
14923
+ async function pm(r) {
14922
14924
  const e = { refresh_token: r };
14923
14925
  return Ir(`${ht}/logout`, "POST", e);
14924
14926
  }
@@ -14939,13 +14941,13 @@ async function Ua() {
14939
14941
  "Failed to request new verification code"
14940
14942
  );
14941
14943
  }
14942
- async function pm(r) {
14944
+ async function ym(r) {
14943
14945
  const e = await fetch(`${ht}/attestation/${r}`);
14944
14946
  if (!e.ok)
14945
14947
  throw new Error(`Request failed with status ${e.status}`);
14946
14948
  return (await e.json()).attestation_document;
14947
14949
  }
14948
- async function ym(r, e) {
14950
+ async function gm(r, e) {
14949
14951
  const t = await fetch(`${ht}/key_exchange`, {
14950
14952
  method: "POST",
14951
14953
  headers: {
@@ -14994,7 +14996,7 @@ async function z0(r, e) {
14994
14996
  "Failed to change password"
14995
14997
  );
14996
14998
  }
14997
- async function gm(r) {
14999
+ async function vm(r) {
14998
15000
  try {
14999
15001
  return await Ir(
15000
15002
  `${ht}/auth/github`,
@@ -15007,7 +15009,7 @@ async function gm(r) {
15007
15009
  throw e instanceof Error && e.message.includes("Invalid invite code") ? new Error("Invalid invite code. Please check and try again.") : e;
15008
15010
  }
15009
15011
  }
15010
- async function vm(r, e, t) {
15012
+ async function mm(r, e, t) {
15011
15013
  const n = { code: r, state: e, invite_code: t };
15012
15014
  try {
15013
15015
  return await Ir(
@@ -15025,7 +15027,7 @@ async function vm(r, e, t) {
15025
15027
  ) : new Error("Failed to authenticate with GitHub. Please try again.") : i;
15026
15028
  }
15027
15029
  }
15028
- async function mm(r) {
15030
+ async function wm(r) {
15029
15031
  try {
15030
15032
  return await Ir(
15031
15033
  `${ht}/auth/google`,
@@ -15038,7 +15040,7 @@ async function mm(r) {
15038
15040
  throw e instanceof Error && e.message.includes("Invalid invite code") ? new Error("Invalid invite code. Please check and try again.") : e;
15039
15041
  }
15040
15042
  }
15041
- async function wm(r, e, t) {
15043
+ async function bm(r, e, t) {
15042
15044
  const n = { code: r, state: e, invite_code: t };
15043
15045
  try {
15044
15046
  return await Ir(
@@ -15095,7 +15097,7 @@ async function W0(r, e) {
15095
15097
  "Failed to fetch public key"
15096
15098
  );
15097
15099
  }
15098
- async function bm(r, e, t) {
15100
+ async function xm(r, e, t) {
15099
15101
  const n = {
15100
15102
  email: r,
15101
15103
  password: e,
@@ -15108,7 +15110,7 @@ async function bm(r, e, t) {
15108
15110
  "Failed to convert guest account"
15109
15111
  );
15110
15112
  }
15111
- async function xm(r) {
15113
+ async function Am(r) {
15112
15114
  return kr(
15113
15115
  `${ht}/protected/third_party_token`,
15114
15116
  "POST",
@@ -15116,7 +15118,7 @@ async function xm(r) {
15116
15118
  "Failed to generate third party token"
15117
15119
  );
15118
15120
  }
15119
- function Am() {
15121
+ function _m() {
15120
15122
  return async (r, e) => {
15121
15123
  var n, i;
15122
15124
  const t = () => {
@@ -15148,17 +15150,17 @@ function Am() {
15148
15150
  ), new Error(`Request failed with status ${d.status}: ${b}`);
15149
15151
  }
15150
15152
  if ((n = d.headers.get("content-type")) != null && n.includes("text/event-stream")) {
15151
- const b = (i = d.body) == null ? void 0 : i.getReader(), E = new TextDecoder();
15153
+ const b = (i = d.body) == null ? void 0 : i.getReader(), S = new TextDecoder();
15152
15154
  let Y = "";
15153
15155
  const $ = new ReadableStream({
15154
15156
  async start(w) {
15155
15157
  for (; ; ) {
15156
- const { done: S, value: T } = await b.read();
15157
- if (S) break;
15158
- const I = E.decode(T);
15158
+ const { done: E, value: B } = await b.read();
15159
+ if (E) break;
15160
+ const I = S.decode(B);
15159
15161
  Y += I;
15160
15162
  let R;
15161
- for (; R = _m(Y); )
15163
+ for (; R = Sm(Y); )
15162
15164
  if (Y = Y.slice(R.length), R.trim().startsWith("data: ")) {
15163
15165
  const P = R.slice(6).trim();
15164
15166
  if (P === "[DONE]")
@@ -15202,13 +15204,13 @@ function Am() {
15202
15204
  }
15203
15205
  };
15204
15206
  }
15205
- function _m(r) {
15207
+ function Sm(r) {
15206
15208
  const e = r.indexOf(`
15207
15209
 
15208
15210
  `);
15209
15211
  return e === -1 ? null : r.slice(0, e + 2);
15210
15212
  }
15211
- const Sm = [
15213
+ const Em = [
15212
15214
  "eeddbb58f57c38894d6d5af5e575fbe791c5bf3bbcfb5df8da8cfcf0c2e1da1913108e6a762112444740b88c163d7f4b",
15213
15215
  "74ed417f88cb0ca76c4a3d10f278bd010f1d3f95eafb254d4732511bb50e404507a4049b779c5230137e4091a5582271",
15214
15216
  "9043fcab93b972d3c14ad2dc8fa78ca7ad374fc937c02435681772a003f7a72876bc4d578089b5c4cf3fe9b480f1aabb",
@@ -15216,7 +15218,7 @@ const Sm = [
15216
15218
  "91cb67311e910cce68cd5b7d0de77aa40610d87c6681439b44c46c3ff786ae643956ab2c812478a1da8745b259f07a45",
15217
15219
  "859065ac81b81d3735130ba08b8af72a7256b603fefb74faabae25ed28cca6edcaa7c10ea32b5948d675c18a9b0f2b1d",
15218
15220
  "acd82a7d3943e23e95a9dc3ce0b0107ea358d6287f9e3afa245622f7c7e3e0a66142a928b6efcc02f594a95366d3a99d"
15219
- ], Em = [
15221
+ ], km = [
15220
15222
  "62c0407056217a4c10764ed9045694c29fa93255d3cc04c2f989cdd9a1f8050c8b169714c71f1118ebce2fcc9951d1a9",
15221
15223
  "cb95519905443f9f66f05f63c548b61ad1561a27fd5717b69285861aaea3c3063fe12a2571773b67fea3c6c11b4d8ec6",
15222
15224
  "deb5895831b5e4286f5a2dcf5e9c27383821446f8df2b465f141d10743599be20ba3bb381ce063bf7139cc89f7f61d4c",
@@ -15225,8 +15227,8 @@ const Sm = [
15225
15227
  "a791bf92c25ffdfd372660e460a0e238c6778c090672df6509ae4bc065cf8668b6baac6b6a11d554af53ee0ff0172ad5",
15226
15228
  "c4285443b87b9b12a6cea3bef1064ec060f652b235a297095975af8f134e5ed65f92d70d4616fdec80af9dff48bb9f35"
15227
15229
  ];
15228
- function km(r, e) {
15229
- const t = [...(e == null ? void 0 : e.pcr0Values) || [], ...Sm], n = [...(e == null ? void 0 : e.pcr0DevValues) || [], ...Em];
15230
+ function Im(r, e) {
15231
+ const t = [...(e == null ? void 0 : e.pcr0Values) || [], ...Em], n = [...(e == null ? void 0 : e.pcr0DevValues) || [], ...km];
15230
15232
  return t.includes(r) ? {
15231
15233
  isMatch: !0,
15232
15234
  text: "PCR0 matches a known good value"
@@ -15242,25 +15244,25 @@ const Bu = ja, Y0 = "641a0321a3e244efe456463195d606317ed7cdcc3c1756e09893f3c68f7
15242
15244
  function J0(r) {
15243
15245
  return Array.from(r).map((e) => e.toString(16).padStart(2, "0")).join("");
15244
15246
  }
15245
- async function Im(r) {
15247
+ async function Cm(r) {
15246
15248
  const e = await crypto.subtle.digest("SHA-256", r);
15247
15249
  return J0(new Uint8Array(e));
15248
15250
  }
15249
15251
  async function Ou(r, e, t) {
15250
15252
  console.log("Raw timestamp:", r.timestamp), console.log("Date object:", new Date(r.timestamp));
15251
- const n = Array.from(r.pcrs.entries()).map(([b, E]) => ({
15253
+ const n = Array.from(r.pcrs.entries()).map(([b, S]) => ({
15252
15254
  id: b,
15253
- value: J0(E)
15254
- })).filter((b) => !b.value.match(/^0+$/)), i = n.find((b) => b.id === 0), s = i ? km(i.value, t) : null, o = [...e, r.certificate].map((b) => {
15255
- const E = new $i(b);
15255
+ value: J0(S)
15256
+ })).filter((b) => !b.value.match(/^0+$/)), i = n.find((b) => b.id === 0), s = i ? Im(i.value, t) : null, o = [...e, r.certificate].map((b) => {
15257
+ const S = new $i(b);
15256
15258
  return {
15257
- subject: E.subject,
15258
- notBefore: E.notBefore.toLocaleString(),
15259
- notAfter: E.notAfter.toLocaleString(),
15260
- pem: E.toString("pem"),
15261
- isRoot: E.subject === "C=US, O=Amazon, OU=AWS, CN=aws.nitro-enclaves"
15259
+ subject: S.subject,
15260
+ notBefore: S.notBefore.toLocaleString(),
15261
+ notAfter: S.notAfter.toLocaleString(),
15262
+ pem: S.toString("pem"),
15263
+ isRoot: S.subject === "C=US, O=Amazon, OU=AWS, CN=aws.nitro-enclaves"
15262
15264
  };
15263
- }), c = new TextDecoder(), u = new $i(e[0]), d = await Im(u.rawData);
15265
+ }), c = new TextDecoder(), u = new $i(e[0]), d = await Cm(u.rawData);
15264
15266
  return {
15265
15267
  moduleId: r.module_id,
15266
15268
  publicKey: r.public_key ? Lr(r.public_key) : null,
@@ -15339,7 +15341,7 @@ const X0 = ty({
15339
15341
  },
15340
15342
  generateThirdPartyToken: async () => ({ token: "" })
15341
15343
  });
15342
- function Ib({
15344
+ function Cb({
15343
15345
  children: r,
15344
15346
  apiUrl: e,
15345
15347
  pcrConfig: t = {}
@@ -15353,7 +15355,7 @@ function Ib({
15353
15355
  throw new Error("OpenSecretProvider requires a non-empty apiUrl. Please provide a valid API endpoint URL.");
15354
15356
  am(e);
15355
15357
  }, [e]), Dc(() => {
15356
- n.user ? o(() => Am()) : o(void 0);
15358
+ n.user ? o(() => _m()) : o(void 0);
15357
15359
  }, [n.user]);
15358
15360
  async function c() {
15359
15361
  const z = window.localStorage.getItem("access_token"), he = window.localStorage.getItem("refresh_token");
@@ -15365,7 +15367,7 @@ function Ib({
15365
15367
  return;
15366
15368
  }
15367
15369
  try {
15368
- const ae = await hm();
15370
+ const ae = await dm();
15369
15371
  i({
15370
15372
  loading: !1,
15371
15373
  user: ae
@@ -15383,7 +15385,7 @@ function Ib({
15383
15385
  async function u(z, he) {
15384
15386
  console.log("Signing in");
15385
15387
  try {
15386
- const { access_token: ae, refresh_token: de } = await cm(z, he);
15388
+ const { access_token: ae, refresh_token: de } = await lm(z, he);
15387
15389
  window.localStorage.setItem("access_token", ae), window.localStorage.setItem("refresh_token", de), await c();
15388
15390
  } catch (ae) {
15389
15391
  throw console.error(ae), ae;
@@ -15391,7 +15393,7 @@ function Ib({
15391
15393
  }
15392
15394
  async function d(z, he, ae, de) {
15393
15395
  try {
15394
- const { access_token: Re, refresh_token: rt } = await um(
15396
+ const { access_token: Re, refresh_token: rt } = await fm(
15395
15397
  z,
15396
15398
  he,
15397
15399
  ae,
@@ -15405,15 +15407,15 @@ function Ib({
15405
15407
  async function b(z, he) {
15406
15408
  console.log("Signing in Guest");
15407
15409
  try {
15408
- const { access_token: ae, refresh_token: de } = await lm(z, he);
15410
+ const { access_token: ae, refresh_token: de } = await um(z, he);
15409
15411
  window.localStorage.setItem("access_token", ae), window.localStorage.setItem("refresh_token", de), await c();
15410
15412
  } catch (ae) {
15411
15413
  throw console.error(ae), ae;
15412
15414
  }
15413
15415
  }
15414
- async function E(z, he) {
15416
+ async function S(z, he) {
15415
15417
  try {
15416
- const { access_token: ae, refresh_token: de, id: Re } = await fm(
15418
+ const { access_token: ae, refresh_token: de, id: Re } = await hm(
15417
15419
  z,
15418
15420
  he
15419
15421
  );
@@ -15424,7 +15426,7 @@ function Ib({
15424
15426
  }
15425
15427
  async function Y(z, he, ae) {
15426
15428
  try {
15427
- await bm(
15429
+ await xm(
15428
15430
  z,
15429
15431
  he,
15430
15432
  ae
@@ -15437,7 +15439,7 @@ function Ib({
15437
15439
  const z = window.localStorage.getItem("refresh_token");
15438
15440
  if (z)
15439
15441
  try {
15440
- await dm(z);
15442
+ await pm(z);
15441
15443
  } catch (he) {
15442
15444
  console.error("Error during logout:", he);
15443
15445
  }
@@ -15452,7 +15454,7 @@ function Ib({
15452
15454
  signInGuest: b,
15453
15455
  signOut: $,
15454
15456
  signUp: d,
15455
- signUpGuest: E,
15457
+ signUpGuest: S,
15456
15458
  convertGuestToUserAccount: Y,
15457
15459
  get: V0,
15458
15460
  put: $0,
@@ -15468,14 +15470,14 @@ function Ib({
15468
15470
  confirmPasswordReset: G0,
15469
15471
  initiateGitHubAuth: async (z) => {
15470
15472
  try {
15471
- return await gm(z);
15473
+ return await vm(z);
15472
15474
  } catch (he) {
15473
15475
  throw console.error("Failed to initiate GitHub auth:", he), he;
15474
15476
  }
15475
15477
  },
15476
15478
  handleGitHubCallback: async (z, he, ae) => {
15477
15479
  try {
15478
- const { access_token: de, refresh_token: Re } = await vm(
15480
+ const { access_token: de, refresh_token: Re } = await mm(
15479
15481
  z,
15480
15482
  he,
15481
15483
  ae
@@ -15487,14 +15489,14 @@ function Ib({
15487
15489
  },
15488
15490
  initiateGoogleAuth: async (z) => {
15489
15491
  try {
15490
- return await mm(z);
15492
+ return await wm(z);
15491
15493
  } catch (he) {
15492
15494
  throw console.error("Failed to initiate Google auth:", he), he;
15493
15495
  }
15494
15496
  },
15495
15497
  handleGoogleCallback: async (z, he, ae) => {
15496
15498
  try {
15497
- const { access_token: de, refresh_token: Re } = await wm(
15499
+ const { access_token: de, refresh_token: Re } = await bm(
15498
15500
  z,
15499
15501
  he,
15500
15502
  ae
@@ -15523,28 +15525,28 @@ function Ib({
15523
15525
  const ae = await he.json(), de = await Pa(ae.attestation_document, Bu, z);
15524
15526
  return Ou(de, de.cabundle, t);
15525
15527
  },
15526
- generateThirdPartyToken: xm
15528
+ generateThirdPartyToken: Am
15527
15529
  };
15528
15530
  return /* @__PURE__ */ ay.jsx(X0.Provider, { value: P, children: r });
15529
15531
  }
15530
- function Cb() {
15532
+ function Bb() {
15531
15533
  const r = ry(X0);
15532
15534
  if (!r)
15533
15535
  throw new Error("useOpenSecret must be used within an OpenSecretProvider");
15534
15536
  return r;
15535
15537
  }
15536
- function Bb() {
15538
+ function Ob() {
15537
15539
  const r = new Uint8Array(32);
15538
15540
  return crypto.getRandomValues(r), Array.from(r, (e) => e.toString(16).padStart(2, "0")).join("");
15539
15541
  }
15540
- async function Ob(r) {
15542
+ async function Tb(r) {
15541
15543
  const t = new TextEncoder().encode(r), n = await crypto.subtle.digest("SHA-256", t);
15542
15544
  return Array.from(new Uint8Array(n)).map((s) => s.toString(16).padStart(2, "0")).join("");
15543
15545
  }
15544
15546
  export {
15545
15547
  X0 as OpenSecretContext,
15546
- Ib as OpenSecretProvider,
15547
- Bb as generateSecureSecret,
15548
- Ob as hashSecret,
15549
- Cb as useOpenSecret
15548
+ Cb as OpenSecretProvider,
15549
+ Ob as generateSecureSecret,
15550
+ Tb as hashSecret,
15551
+ Bb as useOpenSecret
15550
15552
  };