flagmint-js-sdk 1.2.22 → 1.2.24

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.
@@ -1,13 +1,13 @@
1
1
  var uu = Object.defineProperty, lu = Object.defineProperties;
2
2
  var du = Object.getOwnPropertyDescriptors;
3
- var ra = Object.getOwnPropertySymbols;
3
+ var ia = Object.getOwnPropertySymbols;
4
4
  var cu = Object.prototype.hasOwnProperty, vu = Object.prototype.propertyIsEnumerable;
5
- var me = Math.pow, ia = (a, n, o) => n in a ? uu(a, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : a[n] = o, ni = (a, n) => {
5
+ var me = Math.pow, na = (a, n, o) => n in a ? uu(a, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : a[n] = o, ni = (a, n) => {
6
6
  for (var o in n || (n = {}))
7
- cu.call(n, o) && ia(a, o, n[o]);
8
- if (ra)
9
- for (var o of ra(n))
10
- vu.call(n, o) && ia(a, o, n[o]);
7
+ cu.call(n, o) && na(a, o, n[o]);
8
+ if (ia)
9
+ for (var o of ia(n))
10
+ vu.call(n, o) && na(a, o, n[o]);
11
11
  return a;
12
12
  }, cf = (a, n) => lu(a, du(n));
13
13
  var Ie = (a, n, o) => new Promise((s, m) => {
@@ -60,7 +60,7 @@ for (var fi = 0, bu = vf.length; fi < bu; ++fi)
60
60
  sr[fi] = vf[fi], He[vf.charCodeAt(fi)] = fi;
61
61
  He["-".charCodeAt(0)] = 62;
62
62
  He["_".charCodeAt(0)] = 63;
63
- function Ah(a) {
63
+ function Bh(a) {
64
64
  var n = a.length;
65
65
  if (n % 4 > 0)
66
66
  throw new Error("Invalid string. Length must be a multiple of 4");
@@ -70,14 +70,14 @@ function Ah(a) {
70
70
  return [o, s];
71
71
  }
72
72
  function yu(a) {
73
- var n = Ah(a), o = n[0], s = n[1];
73
+ var n = Bh(a), o = n[0], s = n[1];
74
74
  return (o + s) * 3 / 4 - s;
75
75
  }
76
76
  function wu(a, n, o) {
77
77
  return (n + o) * 3 / 4 - o;
78
78
  }
79
79
  function Mu(a) {
80
- var n, o = Ah(a), s = o[0], m = o[1], f = new gu(wu(a, s, m)), g = 0, y = m > 0 ? s - 4 : s, S;
80
+ var n, o = Bh(a), s = o[0], m = o[1], f = new gu(wu(a, s, m)), g = 0, y = m > 0 ? s - 4 : s, S;
81
81
  for (S = 0; S < y; S += 4)
82
82
  n = He[a.charCodeAt(S)] << 18 | He[a.charCodeAt(S + 1)] << 12 | He[a.charCodeAt(S + 2)] << 6 | He[a.charCodeAt(S + 3)], f[g++] = n >> 16 & 255, f[g++] = n >> 8 & 255, f[g++] = n & 255;
83
83
  return m === 2 && (n = He[a.charCodeAt(S)] << 2 | He[a.charCodeAt(S + 1)] >> 4, f[g++] = n & 255), m === 1 && (n = He[a.charCodeAt(S)] << 10 | He[a.charCodeAt(S + 1)] << 4 | He[a.charCodeAt(S + 2)] >> 2, f[g++] = n >> 8 & 255, f[g++] = n & 255), f;
@@ -1330,7 +1330,7 @@ class ku {
1330
1330
  this.socket.send(o);
1331
1331
  }
1332
1332
  }
1333
- function Bh(a, n) {
1333
+ function Eh(a, n) {
1334
1334
  if (a.type !== "rule")
1335
1335
  return !1;
1336
1336
  const o = a.attribute.split(".").reduce((s, m) => s == null ? void 0 : s[m], n);
@@ -1356,23 +1356,23 @@ function Bh(a, n) {
1356
1356
  }
1357
1357
  }
1358
1358
  function Iu(a, n) {
1359
- return a.rules.every((o) => Bh(o, n));
1359
+ return a.rules.every((o) => Eh(o, n));
1360
1360
  }
1361
1361
  var Lt = {};
1362
1362
  const Ki = typeof global != "undefined" ? global : typeof self != "undefined" ? self : typeof window != "undefined" ? window : {};
1363
- function Eh() {
1363
+ function kh() {
1364
1364
  throw new Error("setTimeout has not been defined");
1365
1365
  }
1366
- function kh() {
1366
+ function Ih() {
1367
1367
  throw new Error("clearTimeout has not been defined");
1368
1368
  }
1369
- var Fr = Eh, qr = kh;
1369
+ var Fr = kh, qr = Ih;
1370
1370
  typeof Ki.setTimeout == "function" && (Fr = setTimeout);
1371
1371
  typeof Ki.clearTimeout == "function" && (qr = clearTimeout);
1372
- function Ih(a) {
1372
+ function Rh(a) {
1373
1373
  if (Fr === setTimeout)
1374
1374
  return setTimeout(a, 0);
1375
- if ((Fr === Eh || !Fr) && setTimeout)
1375
+ if ((Fr === kh || !Fr) && setTimeout)
1376
1376
  return Fr = setTimeout, setTimeout(a, 0);
1377
1377
  try {
1378
1378
  return Fr(a, 0);
@@ -1387,7 +1387,7 @@ function Ih(a) {
1387
1387
  function Ru(a) {
1388
1388
  if (qr === clearTimeout)
1389
1389
  return clearTimeout(a);
1390
- if ((qr === kh || !qr) && clearTimeout)
1390
+ if ((qr === Ih || !qr) && clearTimeout)
1391
1391
  return qr = clearTimeout, clearTimeout(a);
1392
1392
  try {
1393
1393
  return qr(a);
@@ -1401,11 +1401,11 @@ function Ru(a) {
1401
1401
  }
1402
1402
  var xr = [], oi = !1, Wr, bn = -1;
1403
1403
  function Tu() {
1404
- !oi || !Wr || (oi = !1, Wr.length ? xr = Wr.concat(xr) : bn = -1, xr.length && Rh());
1404
+ !oi || !Wr || (oi = !1, Wr.length ? xr = Wr.concat(xr) : bn = -1, xr.length && Th());
1405
1405
  }
1406
- function Rh() {
1406
+ function Th() {
1407
1407
  if (!oi) {
1408
- var a = Ih(Tu);
1408
+ var a = Rh(Tu);
1409
1409
  oi = !0;
1410
1410
  for (var n = xr.length; n; ) {
1411
1411
  for (Wr = xr, xr = []; ++bn < n; )
@@ -1420,12 +1420,12 @@ function Cu(a) {
1420
1420
  if (arguments.length > 1)
1421
1421
  for (var o = 1; o < arguments.length; o++)
1422
1422
  n[o - 1] = arguments[o];
1423
- xr.push(new Th(a, n)), xr.length === 1 && !oi && Ih(Rh);
1423
+ xr.push(new Ch(a, n)), xr.length === 1 && !oi && Rh(Th);
1424
1424
  }
1425
- function Th(a, n) {
1425
+ function Ch(a, n) {
1426
1426
  this.fun = a, this.array = n;
1427
1427
  }
1428
- Th.prototype.run = function() {
1428
+ Ch.prototype.run = function() {
1429
1429
  this.fun.apply(null, this.array);
1430
1430
  };
1431
1431
  var Fu = "browser", qu = "browser", Pu = !0, Du = {}, Nu = [], $u = "", Lu = {}, Uu = {}, Ou = {};
@@ -1555,11 +1555,11 @@ const hl = {}, sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
1555
1555
  __proto__: null,
1556
1556
  default: hl
1557
1557
  }, Symbol.toStringTag, { value: "Module" })), Ne = /* @__PURE__ */ mu(sl);
1558
- var ar = zt.Buffer, Ch = Ne.Transform, ol = Gt;
1558
+ var ar = zt.Buffer, Fh = Ne.Transform, ol = Gt;
1559
1559
  function $r(a) {
1560
- Ch.call(this), this._block = ar.allocUnsafe(a), this._blockSize = a, this._blockOffset = 0, this._length = [0, 0, 0, 0], this._finalized = !1;
1560
+ Fh.call(this), this._block = ar.allocUnsafe(a), this._blockSize = a, this._blockOffset = 0, this._length = [0, 0, 0, 0], this._finalized = !1;
1561
1561
  }
1562
- ol($r, Ch);
1562
+ ol($r, Fh);
1563
1563
  $r.prototype._transform = function(a, n, o) {
1564
1564
  var s = null;
1565
1565
  try {
@@ -1626,11 +1626,11 @@ $r.prototype.digest = function(a) {
1626
1626
  $r.prototype._digest = function() {
1627
1627
  throw new Error("_digest is not implemented");
1628
1628
  };
1629
- var Fh = $r, cl = Gt, qh = Fh, vl = zt.Buffer, pl = new Array(16);
1629
+ var qh = $r, cl = Gt, Ph = qh, vl = zt.Buffer, pl = new Array(16);
1630
1630
  function Fn() {
1631
- qh.call(this, 64), this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878;
1631
+ Ph.call(this, 64), this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878;
1632
1632
  }
1633
- cl(Fn, qh);
1633
+ cl(Fn, Ph);
1634
1634
  Fn.prototype._update = function() {
1635
1635
  for (var a = pl, n = 0; n < 16; ++n)
1636
1636
  a[n] = this._block.readInt32LE(n * 4);
@@ -1657,7 +1657,7 @@ function Ce(a, n, o, s, m, f, g) {
1657
1657
  function Fe(a, n, o, s, m, f, g) {
1658
1658
  return qn(a + (o ^ (n | ~s)) + m + f | 0, g) + n | 0;
1659
1659
  }
1660
- var x0 = Fn, mf = br.Buffer, ml = Gt, Ph = Fh, gl = new Array(16), Ii = [
1660
+ var x0 = Fn, mf = br.Buffer, ml = Gt, Dh = qh, gl = new Array(16), Ii = [
1661
1661
  0,
1662
1662
  1,
1663
1663
  2,
@@ -1983,15 +1983,15 @@ var x0 = Fn, mf = br.Buffer, ml = Gt, Ph = Fh, gl = new Array(16), Ii = [
1983
1983
  11
1984
1984
  ], Fi = [0, 1518500249, 1859775393, 2400959708, 2840853838], qi = [1352829926, 1548603684, 1836072691, 2053994217, 0];
1985
1985
  function Pn() {
1986
- Ph.call(this, 64), this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878, this._e = 3285377520;
1986
+ Dh.call(this, 64), this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878, this._e = 3285377520;
1987
1987
  }
1988
- ml(Pn, Ph);
1988
+ ml(Pn, Dh);
1989
1989
  Pn.prototype._update = function() {
1990
1990
  for (var a = gl, n = 0; n < 16; ++n)
1991
1991
  a[n] = this._block.readInt32LE(n * 4);
1992
1992
  for (var o = this._a | 0, s = this._b | 0, m = this._c | 0, f = this._d | 0, g = this._e | 0, y = this._a | 0, S = this._b | 0, B = this._c | 0, M = this._d | 0, x = this._e | 0, I = 0; I < 80; I += 1) {
1993
1993
  var k, D;
1994
- I < 16 ? (k = na(o, s, m, f, g, a[Ii[I]], Fi[0], Ti[I]), D = sa(y, S, B, M, x, a[Ri[I]], qi[0], Ci[I])) : I < 32 ? (k = fa(o, s, m, f, g, a[Ii[I]], Fi[1], Ti[I]), D = ha(y, S, B, M, x, a[Ri[I]], qi[1], Ci[I])) : I < 48 ? (k = aa(o, s, m, f, g, a[Ii[I]], Fi[2], Ti[I]), D = aa(y, S, B, M, x, a[Ri[I]], qi[2], Ci[I])) : I < 64 ? (k = ha(o, s, m, f, g, a[Ii[I]], Fi[3], Ti[I]), D = fa(y, S, B, M, x, a[Ri[I]], qi[3], Ci[I])) : (k = sa(o, s, m, f, g, a[Ii[I]], Fi[4], Ti[I]), D = na(y, S, B, M, x, a[Ri[I]], qi[4], Ci[I])), o = g, g = f, f = Xr(m, 10), m = s, s = k, y = x, x = M, M = Xr(B, 10), B = S, S = D;
1994
+ I < 16 ? (k = fa(o, s, m, f, g, a[Ii[I]], Fi[0], Ti[I]), D = oa(y, S, B, M, x, a[Ri[I]], qi[0], Ci[I])) : I < 32 ? (k = aa(o, s, m, f, g, a[Ii[I]], Fi[1], Ti[I]), D = sa(y, S, B, M, x, a[Ri[I]], qi[1], Ci[I])) : I < 48 ? (k = ha(o, s, m, f, g, a[Ii[I]], Fi[2], Ti[I]), D = ha(y, S, B, M, x, a[Ri[I]], qi[2], Ci[I])) : I < 64 ? (k = sa(o, s, m, f, g, a[Ii[I]], Fi[3], Ti[I]), D = aa(y, S, B, M, x, a[Ri[I]], qi[3], Ci[I])) : (k = oa(o, s, m, f, g, a[Ii[I]], Fi[4], Ti[I]), D = fa(y, S, B, M, x, a[Ri[I]], qi[4], Ci[I])), o = g, g = f, f = Xr(m, 10), m = s, s = k, y = x, x = M, M = Xr(B, 10), B = S, S = D;
1995
1995
  }
1996
1996
  var U = this._b + m + M | 0;
1997
1997
  this._b = this._c + f + x | 0, this._c = this._d + g + y | 0, this._d = this._e + o + S | 0, this._e = this._a + s + B | 0, this._a = U;
@@ -2004,27 +2004,27 @@ Pn.prototype._digest = function() {
2004
2004
  function Xr(a, n) {
2005
2005
  return a << n | a >>> 32 - n;
2006
2006
  }
2007
- function na(a, n, o, s, m, f, g, y) {
2007
+ function fa(a, n, o, s, m, f, g, y) {
2008
2008
  return Xr(a + (n ^ o ^ s) + f + g | 0, y) + m | 0;
2009
2009
  }
2010
- function fa(a, n, o, s, m, f, g, y) {
2010
+ function aa(a, n, o, s, m, f, g, y) {
2011
2011
  return Xr(a + (n & o | ~n & s) + f + g | 0, y) + m | 0;
2012
2012
  }
2013
- function aa(a, n, o, s, m, f, g, y) {
2013
+ function ha(a, n, o, s, m, f, g, y) {
2014
2014
  return Xr(a + ((n | ~o) ^ s) + f + g | 0, y) + m | 0;
2015
2015
  }
2016
- function ha(a, n, o, s, m, f, g, y) {
2016
+ function sa(a, n, o, s, m, f, g, y) {
2017
2017
  return Xr(a + (n & s | o & ~s) + f + g | 0, y) + m | 0;
2018
2018
  }
2019
- function sa(a, n, o, s, m, f, g, y) {
2019
+ function oa(a, n, o, s, m, f, g, y) {
2020
2020
  return Xr(a + (n ^ (o | ~s)) + f + g | 0, y) + m | 0;
2021
2021
  }
2022
- var _0 = Pn, Dh = { exports: {} }, Nh = zt.Buffer;
2022
+ var _0 = Pn, Nh = { exports: {} }, $h = zt.Buffer;
2023
2023
  function Dn(a, n) {
2024
- this._block = Nh.alloc(a), this._finalSize = n, this._blockSize = a, this._len = 0;
2024
+ this._block = $h.alloc(a), this._finalSize = n, this._blockSize = a, this._len = 0;
2025
2025
  }
2026
2026
  Dn.prototype.update = function(a, n) {
2027
- typeof a == "string" && (n = n || "utf8", a = Nh.from(a, n));
2027
+ typeof a == "string" && (n = n || "utf8", a = $h.from(a, n));
2028
2028
  for (var o = this._block, s = this._blockSize, m = a.length, f = this._len, g = 0; g < m; ) {
2029
2029
  for (var y = f % s, S = Math.min(m - g, s - y), B = 0; B < S; B++)
2030
2030
  o[y + B] = a[g + B];
@@ -2049,16 +2049,16 @@ Dn.prototype.digest = function(a) {
2049
2049
  Dn.prototype._update = function() {
2050
2050
  throw new Error("_update must be implemented by subclass");
2051
2051
  };
2052
- var wi = Dn, bl = Gt, $h = wi, yl = zt.Buffer, wl = [
2052
+ var wi = Dn, bl = Gt, Lh = wi, yl = zt.Buffer, wl = [
2053
2053
  1518500249,
2054
2054
  1859775393,
2055
2055
  -1894007588,
2056
2056
  -899497514
2057
2057
  ], Ml = new Array(80);
2058
2058
  function Yi() {
2059
- this.init(), this._w = Ml, $h.call(this, 64, 56);
2059
+ this.init(), this._w = Ml, Lh.call(this, 64, 56);
2060
2060
  }
2061
- bl(Yi, $h);
2061
+ bl(Yi, Lh);
2062
2062
  Yi.prototype.init = function() {
2063
2063
  return this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878, this._e = 3285377520, this;
2064
2064
  };
@@ -2086,16 +2086,16 @@ Yi.prototype._hash = function() {
2086
2086
  var a = yl.allocUnsafe(20);
2087
2087
  return a.writeInt32BE(this._a | 0, 0), a.writeInt32BE(this._b | 0, 4), a.writeInt32BE(this._c | 0, 8), a.writeInt32BE(this._d | 0, 12), a.writeInt32BE(this._e | 0, 16), a;
2088
2088
  };
2089
- var Al = Yi, Bl = Gt, Lh = wi, El = zt.Buffer, kl = [
2089
+ var Al = Yi, Bl = Gt, Uh = wi, El = zt.Buffer, kl = [
2090
2090
  1518500249,
2091
2091
  1859775393,
2092
2092
  -1894007588,
2093
2093
  -899497514
2094
2094
  ], Il = new Array(80);
2095
2095
  function Ji() {
2096
- this.init(), this._w = Il, Lh.call(this, 64, 56);
2096
+ this.init(), this._w = Il, Uh.call(this, 64, 56);
2097
2097
  }
2098
- Bl(Ji, Lh);
2098
+ Bl(Ji, Uh);
2099
2099
  Ji.prototype.init = function() {
2100
2100
  return this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878, this._e = 3285377520, this;
2101
2101
  };
@@ -2126,7 +2126,7 @@ Ji.prototype._hash = function() {
2126
2126
  var a = El.allocUnsafe(20);
2127
2127
  return a.writeInt32BE(this._a | 0, 0), a.writeInt32BE(this._b | 0, 4), a.writeInt32BE(this._c | 0, 8), a.writeInt32BE(this._d | 0, 12), a.writeInt32BE(this._e | 0, 16), a;
2128
2128
  };
2129
- var ql = Ji, Pl = Gt, Uh = wi, Dl = zt.Buffer, Nl = [
2129
+ var ql = Ji, Pl = Gt, Oh = wi, Dl = zt.Buffer, Nl = [
2130
2130
  1116352408,
2131
2131
  1899447441,
2132
2132
  3049323471,
@@ -2193,9 +2193,9 @@ var ql = Ji, Pl = Gt, Uh = wi, Dl = zt.Buffer, Nl = [
2193
2193
  3329325298
2194
2194
  ], $l = new Array(64);
2195
2195
  function Gi() {
2196
- this.init(), this._w = $l, Uh.call(this, 64, 56);
2196
+ this.init(), this._w = $l, Oh.call(this, 64, 56);
2197
2197
  }
2198
- Pl(Gi, Uh);
2198
+ Pl(Gi, Oh);
2199
2199
  Gi.prototype.init = function() {
2200
2200
  return this._a = 1779033703, this._b = 3144134277, this._c = 1013904242, this._d = 2773480762, this._e = 1359893119, this._f = 2600822924, this._g = 528734635, this._h = 1541459225, this;
2201
2201
  };
@@ -2232,7 +2232,7 @@ Gi.prototype._hash = function() {
2232
2232
  var a = Dl.allocUnsafe(32);
2233
2233
  return a.writeInt32BE(this._a, 0), a.writeInt32BE(this._b, 4), a.writeInt32BE(this._c, 8), a.writeInt32BE(this._d, 12), a.writeInt32BE(this._e, 16), a.writeInt32BE(this._f, 20), a.writeInt32BE(this._g, 24), a.writeInt32BE(this._h, 28), a;
2234
2234
  };
2235
- var Oh = Gi, Zl = Gt, Wl = Oh, Vl = wi, Yl = zt.Buffer, Jl = new Array(64);
2235
+ var zh = Gi, Zl = Gt, Wl = zh, Vl = wi, Yl = zt.Buffer, Jl = new Array(64);
2236
2236
  function Nn() {
2237
2237
  this.init(), this._w = Jl, Vl.call(this, 64, 56);
2238
2238
  }
@@ -2244,7 +2244,7 @@ Nn.prototype._hash = function() {
2244
2244
  var a = Yl.allocUnsafe(28);
2245
2245
  return a.writeInt32BE(this._a, 0), a.writeInt32BE(this._b, 4), a.writeInt32BE(this._c, 8), a.writeInt32BE(this._d, 12), a.writeInt32BE(this._e, 16), a.writeInt32BE(this._f, 20), a.writeInt32BE(this._g, 24), a;
2246
2246
  };
2247
- var Gl = Nn, Xl = Gt, zh = wi, jl = zt.Buffer, oa = [
2247
+ var Gl = Nn, Xl = Gt, Kh = wi, jl = zt.Buffer, ua = [
2248
2248
  1116352408,
2249
2249
  3609767458,
2250
2250
  1899447441,
@@ -2407,22 +2407,22 @@ var Gl = Nn, Xl = Gt, zh = wi, jl = zt.Buffer, oa = [
2407
2407
  1246189591
2408
2408
  ], Ql = new Array(160);
2409
2409
  function Xi() {
2410
- this.init(), this._w = Ql, zh.call(this, 128, 112);
2410
+ this.init(), this._w = Ql, Kh.call(this, 128, 112);
2411
2411
  }
2412
- Xl(Xi, zh);
2412
+ Xl(Xi, Kh);
2413
2413
  Xi.prototype.init = function() {
2414
2414
  return this._ah = 1779033703, this._bh = 3144134277, this._ch = 1013904242, this._dh = 2773480762, this._eh = 1359893119, this._fh = 2600822924, this._gh = 528734635, this._hh = 1541459225, this._al = 4089235720, this._bl = 2227873595, this._cl = 4271175723, this._dl = 1595750129, this._el = 2917565137, this._fl = 725511199, this._gl = 4215389547, this._hl = 327033209, this;
2415
2415
  };
2416
- function ua(a, n, o) {
2416
+ function la(a, n, o) {
2417
2417
  return o ^ a & (n ^ o);
2418
2418
  }
2419
- function la(a, n, o) {
2419
+ function da(a, n, o) {
2420
2420
  return a & n | o & (a | n);
2421
2421
  }
2422
- function da(a, n) {
2422
+ function ca(a, n) {
2423
2423
  return (a >>> 28 | n << 4) ^ (n >>> 2 | a << 30) ^ (n >>> 7 | a << 25);
2424
2424
  }
2425
- function ca(a, n) {
2425
+ function va(a, n) {
2426
2426
  return (a >>> 14 | n << 18) ^ (a >>> 18 | n << 14) ^ (n >>> 9 | a << 23);
2427
2427
  }
2428
2428
  function td(a, n) {
@@ -2451,7 +2451,7 @@ Xi.prototype._update = function(a) {
2451
2451
  }
2452
2452
  for (var h = 0; h < 160; h += 2) {
2453
2453
  i = n[h], r = n[h + 1];
2454
- var d = la(o, s, m), c = la(M, x, I), v = da(o, M), u = da(M, o), e = ca(g, D), l = ca(D, g), b = oa[h], _ = oa[h + 1], C = ua(g, y, S), q = ua(D, U, W), O = z + l | 0, R = B + e + _e(O, z) | 0;
2454
+ var d = da(o, s, m), c = da(M, x, I), v = ca(o, M), u = ca(M, o), e = va(g, D), l = va(D, g), b = ua[h], _ = ua[h + 1], C = la(g, y, S), q = la(D, U, W), O = z + l | 0, R = B + e + _e(O, z) | 0;
2455
2455
  O = O + q | 0, R = R + C + _e(O, q) | 0, O = O + _ | 0, R = R + b + _e(O, _) | 0, O = O + r | 0, R = R + i + _e(O, r) | 0;
2456
2456
  var P = u + c | 0, N = v + d + _e(P, u) | 0;
2457
2457
  B = S, z = W, S = y, W = U, y = g, U = D, D = k + O | 0, g = f + R + _e(D, k) | 0, f = m, k = I, m = s, I = x, s = o, x = M, M = O + P | 0, o = R + N + _e(M, O) | 0;
@@ -2465,7 +2465,7 @@ Xi.prototype._hash = function() {
2465
2465
  }
2466
2466
  return n(this._ah, this._al, 0), n(this._bh, this._bl, 8), n(this._ch, this._cl, 16), n(this._dh, this._dl, 24), n(this._eh, this._el, 32), n(this._fh, this._fl, 40), n(this._gh, this._gl, 48), n(this._hh, this._hl, 56), a;
2467
2467
  };
2468
- var Kh = Xi, nd = Gt, fd = Kh, ad = wi, hd = zt.Buffer, sd = new Array(160);
2468
+ var Hh = Xi, nd = Gt, fd = Hh, ad = wi, hd = zt.Buffer, sd = new Array(160);
2469
2469
  function $n() {
2470
2470
  this.init(), this._w = sd, ad.call(this, 128, 112);
2471
2471
  }
@@ -2480,7 +2480,7 @@ $n.prototype._hash = function() {
2480
2480
  }
2481
2481
  return n(this._ah, this._al, 0), n(this._bh, this._bl, 8), n(this._ch, this._cl, 16), n(this._dh, this._dl, 24), n(this._eh, this._el, 32), n(this._fh, this._fl, 40), a;
2482
2482
  };
2483
- var od = $n, ei = Dh.exports = function(n) {
2483
+ var od = $n, ei = Nh.exports = function(n) {
2484
2484
  n = n.toLowerCase();
2485
2485
  var o = ei[n];
2486
2486
  if (!o)
@@ -2490,10 +2490,10 @@ var od = $n, ei = Dh.exports = function(n) {
2490
2490
  ei.sha = Al;
2491
2491
  ei.sha1 = ql;
2492
2492
  ei.sha224 = Gl;
2493
- ei.sha256 = Oh;
2493
+ ei.sha256 = zh;
2494
2494
  ei.sha384 = od;
2495
- ei.sha512 = Kh;
2496
- var S0 = Dh.exports, Sn = {}, n0 = { exports: {} };
2495
+ ei.sha512 = Hh;
2496
+ var S0 = Nh.exports, Sn = {}, n0 = { exports: {} };
2497
2497
  (function(a, n) {
2498
2498
  var o = br, s = o.Buffer;
2499
2499
  function m(g, y) {
@@ -2523,7 +2523,7 @@ var S0 = Dh.exports, Sn = {}, n0 = { exports: {} };
2523
2523
  return o.SlowBuffer(g);
2524
2524
  };
2525
2525
  })(n0, n0.exports);
2526
- var ud = n0.exports, A0 = ud.Buffer, va = A0.isEncoding || function(a) {
2526
+ var ud = n0.exports, A0 = ud.Buffer, pa = A0.isEncoding || function(a) {
2527
2527
  switch (a = "" + a, a && a.toLowerCase()) {
2528
2528
  case "hex":
2529
2529
  case "utf8":
@@ -2569,7 +2569,7 @@ function ld(a) {
2569
2569
  }
2570
2570
  function dd(a) {
2571
2571
  var n = ld(a);
2572
- if (typeof n != "string" && (A0.isEncoding === va || !va(a)))
2572
+ if (typeof n != "string" && (A0.isEncoding === pa || !pa(a)))
2573
2573
  throw new Error("Unknown encoding: " + a);
2574
2574
  return n || a;
2575
2575
  }
@@ -2686,11 +2686,11 @@ function xd(a) {
2686
2686
  function _d(a) {
2687
2687
  return a && a.length ? this.write(a) : "";
2688
2688
  }
2689
- var hr = zt.Buffer, Hh = Ne.Transform, Sd = Sn.StringDecoder, Ad = Gt;
2689
+ var hr = zt.Buffer, Zh = Ne.Transform, Sd = Sn.StringDecoder, Ad = Gt;
2690
2690
  function rr(a) {
2691
- Hh.call(this), this.hashMode = typeof a == "string", this.hashMode ? this[a] = this._finalOrDigest : this.final = this._finalOrDigest, this._final && (this.__final = this._final, this._final = null), this._decoder = null, this._encoding = null;
2691
+ Zh.call(this), this.hashMode = typeof a == "string", this.hashMode ? this[a] = this._finalOrDigest : this.final = this._finalOrDigest, this._final && (this.__final = this._final, this._final = null), this._decoder = null, this._encoding = null;
2692
2692
  }
2693
- Ad(rr, Hh);
2693
+ Ad(rr, Zh);
2694
2694
  var Bd = typeof Uint8Array != "undefined", Ed = typeof ArrayBuffer != "undefined" && typeof Uint8Array != "undefined" && ArrayBuffer.isView && (hr.prototype instanceof Uint8Array || hr.TYPED_ARRAY_SUPPORT);
2695
2695
  function kd(a, n) {
2696
2696
  if (a instanceof hr)
@@ -2752,11 +2752,11 @@ rr.prototype._toString = function(a, n, o) {
2752
2752
  var s = this._decoder.write(a);
2753
2753
  return o && (s += this._decoder.end()), s;
2754
2754
  };
2755
- var Lr = rr, Id = Gt, Rd = x0, Td = _0, Cd = S0, Zh = Lr;
2755
+ var Lr = rr, Id = Gt, Rd = x0, Td = _0, Cd = S0, Wh = Lr;
2756
2756
  function Ln(a) {
2757
- Zh.call(this, "digest"), this._hash = a;
2757
+ Wh.call(this, "digest"), this._hash = a;
2758
2758
  }
2759
- Id(Ln, Zh);
2759
+ Id(Ln, Wh);
2760
2760
  Ln.prototype._update = function(a) {
2761
2761
  this._hash.update(a);
2762
2762
  };
@@ -2765,14 +2765,14 @@ Ln.prototype._final = function() {
2765
2765
  };
2766
2766
  var Qi = function(n) {
2767
2767
  return n = n.toLowerCase(), n === "md5" ? new Rd() : n === "rmd160" || n === "ripemd160" ? new Td() : new Ln(Cd(n));
2768
- }, Fd = Gt, Vr = zt.Buffer, Wh = Lr, qd = Vr.alloc(128), ai = 64;
2768
+ }, Fd = Gt, Vr = zt.Buffer, Vh = Lr, qd = Vr.alloc(128), ai = 64;
2769
2769
  function Un(a, n) {
2770
- Wh.call(this, "digest"), typeof n == "string" && (n = Vr.from(n)), this._alg = a, this._key = n, n.length > ai ? n = a(n) : n.length < ai && (n = Vr.concat([n, qd], ai));
2770
+ Vh.call(this, "digest"), typeof n == "string" && (n = Vr.from(n)), this._alg = a, this._key = n, n.length > ai ? n = a(n) : n.length < ai && (n = Vr.concat([n, qd], ai));
2771
2771
  for (var o = this._ipad = Vr.allocUnsafe(ai), s = this._opad = Vr.allocUnsafe(ai), m = 0; m < ai; m++)
2772
2772
  o[m] = n[m] ^ 54, s[m] = n[m] ^ 92;
2773
2773
  this._hash = [o];
2774
2774
  }
2775
- Fd(Un, Wh);
2775
+ Fd(Un, Vh);
2776
2776
  Un.prototype._update = function(a) {
2777
2777
  this._hash.push(a);
2778
2778
  };
@@ -2780,11 +2780,11 @@ Un.prototype._final = function() {
2780
2780
  var a = this._alg(Vr.concat(this._hash));
2781
2781
  return this._alg(Vr.concat([this._opad, a]));
2782
2782
  };
2783
- var Pd = Un, Dd = x0, Vh = function(a) {
2783
+ var Pd = Un, Dd = x0, Yh = function(a) {
2784
2784
  return new Dd().update(a).digest();
2785
- }, Nd = Gt, $d = Pd, Yh = Lr, $i = zt.Buffer, Ld = Vh, f0 = _0, a0 = S0, Ud = $i.alloc(128);
2785
+ }, Nd = Gt, $d = Pd, Jh = Lr, $i = zt.Buffer, Ld = Yh, f0 = _0, a0 = S0, Ud = $i.alloc(128);
2786
2786
  function Hi(a, n) {
2787
- Yh.call(this, "digest"), typeof n == "string" && (n = $i.from(n));
2787
+ Jh.call(this, "digest"), typeof n == "string" && (n = $i.from(n));
2788
2788
  var o = a === "sha512" || a === "sha384" ? 128 : 64;
2789
2789
  if (this._alg = a, this._key = n, n.length > o) {
2790
2790
  var s = a === "rmd160" ? new f0() : a0(a);
@@ -2795,7 +2795,7 @@ function Hi(a, n) {
2795
2795
  m[g] = n[g] ^ 54, f[g] = n[g] ^ 92;
2796
2796
  this._hash = a === "rmd160" ? new f0() : a0(a), this._hash.update(m);
2797
2797
  }
2798
- Nd(Hi, Yh);
2798
+ Nd(Hi, Jh);
2799
2799
  Hi.prototype._update = function(a) {
2800
2800
  this._hash.update(a);
2801
2801
  };
@@ -2803,7 +2803,7 @@ Hi.prototype._final = function() {
2803
2803
  var a = this._hash.digest(), n = this._alg === "rmd160" ? new f0() : a0(this._alg);
2804
2804
  return n.update(this._opad).update(a).digest();
2805
2805
  };
2806
- var Jh = function(n, o) {
2806
+ var Gh = function(n, o) {
2807
2807
  return n = n.toLowerCase(), n === "rmd160" || n === "ripemd160" ? new Hi("rmd160", o) : n === "md5" ? new $d(Ld, o) : new Hi(n, o);
2808
2808
  };
2809
2809
  const Od = {
@@ -2850,7 +2850,7 @@ const Od = {
2850
2850
  sign: "rsa",
2851
2851
  hash: "md5",
2852
2852
  id: "3020300c06082a864886f70d020505000410"
2853
- }, Gh = {
2853
+ }, Xh = {
2854
2854
  sha224WithRSAEncryption: Od,
2855
2855
  "RSA-SHA224": {
2856
2856
  sign: "ecdsa/rsa",
@@ -2958,7 +2958,7 @@ const Od = {
2958
2958
  id: "3020300c06082a864886f70d020505000410"
2959
2959
  }
2960
2960
  };
2961
- var jd = Gh, On = {}, Qd = Math.pow(2, 30) - 1, Xh = function(a, n) {
2961
+ var jd = Xh, On = {}, Qd = Math.pow(2, 30) - 1, jh = function(a, n) {
2962
2962
  if (typeof a != "number")
2963
2963
  throw new TypeError("Iterations not a number");
2964
2964
  if (a < 0)
@@ -2975,7 +2975,7 @@ else if (Xt.process && Xt.process.version) {
2975
2975
  yn = tc >= 6 ? "utf-8" : "binary";
2976
2976
  } else
2977
2977
  yn = "utf-8";
2978
- var jh = yn, bf = zt.Buffer, Qh = function(a, n, o) {
2978
+ var Qh = yn, bf = zt.Buffer, ts = function(a, n, o) {
2979
2979
  if (bf.isBuffer(a))
2980
2980
  return a;
2981
2981
  if (typeof a == "string")
@@ -2983,7 +2983,7 @@ var jh = yn, bf = zt.Buffer, Qh = function(a, n, o) {
2983
2983
  if (ArrayBuffer.isView(a))
2984
2984
  return bf.from(a.buffer);
2985
2985
  throw new TypeError(o + " must be a string, a Buffer, a typed array or a DataView");
2986
- }, ec = Vh, rc = _0, ic = S0, Yr = zt.Buffer, nc = Xh, pa = jh, ma = Qh, fc = Yr.alloc(128), wn = {
2986
+ }, ec = Yh, rc = _0, ic = S0, Yr = zt.Buffer, nc = jh, ma = Qh, ga = ts, fc = Yr.alloc(128), wn = {
2987
2987
  md5: 16,
2988
2988
  sha1: 20,
2989
2989
  sha224: 28,
@@ -2993,7 +2993,7 @@ var jh = yn, bf = zt.Buffer, Qh = function(a, n, o) {
2993
2993
  rmd160: 20,
2994
2994
  ripemd160: 20
2995
2995
  };
2996
- function ts(a, n, o) {
2996
+ function es(a, n, o) {
2997
2997
  var s = ac(a), m = a === "sha512" || a === "sha384" ? 128 : 64;
2998
2998
  n.length > m ? n = s(n) : n.length < m && (n = Yr.concat([n, fc], m));
2999
2999
  for (var f = Yr.allocUnsafe(m + wn[a]), g = Yr.allocUnsafe(m + wn[a]), y = 0; y < m; y++)
@@ -3001,7 +3001,7 @@ function ts(a, n, o) {
3001
3001
  var S = Yr.allocUnsafe(m + o + 4);
3002
3002
  f.copy(S, 0, 0, m), this.ipad1 = S, this.ipad2 = f, this.opad = g, this.alg = a, this.blocksize = m, this.hash = s, this.size = wn[a];
3003
3003
  }
3004
- ts.prototype.run = function(a, n) {
3004
+ es.prototype.run = function(a, n) {
3005
3005
  a.copy(n, this.blocksize);
3006
3006
  var o = this.hash(n);
3007
3007
  return o.copy(this.opad, this.blocksize), this.hash(this.opad);
@@ -3016,8 +3016,8 @@ function ac(a) {
3016
3016
  return a === "rmd160" || a === "ripemd160" ? o : a === "md5" ? ec : n;
3017
3017
  }
3018
3018
  function hc(a, n, o, s, m) {
3019
- nc(o, s), a = ma(a, pa, "Password"), n = ma(n, pa, "Salt"), m = m || "sha1";
3020
- var f = new ts(m, a, n.length), g = Yr.allocUnsafe(s), y = Yr.allocUnsafe(n.length + 4);
3019
+ nc(o, s), a = ga(a, ma, "Password"), n = ga(n, ma, "Salt"), m = m || "sha1";
3020
+ var f = new es(m, a, n.length), g = Yr.allocUnsafe(s), y = Yr.allocUnsafe(n.length + 4);
3021
3021
  n.copy(y, 0, 0, n.length);
3022
3022
  for (var S = 0, B = wn[m], M = Math.ceil(s / B), x = 1; x <= M; x++) {
3023
3023
  y.writeUInt32BE(x, n.length);
@@ -3030,7 +3030,7 @@ function hc(a, n, o, s, m) {
3030
3030
  }
3031
3031
  return g;
3032
3032
  }
3033
- var es = hc, rs = zt.Buffer, sc = Xh, ga = jh, ba = es, ya = Qh, un, Oi = Xt.crypto && Xt.crypto.subtle, oc = {
3033
+ var rs = hc, is = zt.Buffer, sc = jh, ba = Qh, ya = rs, wa = ts, un, Oi = Xt.crypto && Xt.crypto.subtle, oc = {
3034
3034
  sha: "SHA-1",
3035
3035
  "sha-1": "SHA-1",
3036
3036
  sha1: "SHA-1",
@@ -3046,8 +3046,8 @@ function uc(a) {
3046
3046
  return Promise.resolve(!1);
3047
3047
  if (yf[a] !== void 0)
3048
3048
  return yf[a];
3049
- un = un || rs.alloc(8);
3050
- var n = is(un, un, 10, 128, a).then(function() {
3049
+ un = un || is.alloc(8);
3050
+ var n = ns(un, un, 10, 128, a).then(function() {
3051
3051
  return !0;
3052
3052
  }).catch(function() {
3053
3053
  return !1;
@@ -3058,7 +3058,7 @@ var Or;
3058
3058
  function h0() {
3059
3059
  return Or || (Xt.process && Xt.process.nextTick ? Or = Xt.process.nextTick : Xt.queueMicrotask ? Or = Xt.queueMicrotask : Xt.setImmediate ? Or = Xt.setImmediate : Or = Xt.setTimeout, Or);
3060
3060
  }
3061
- function is(a, n, o, s, m) {
3061
+ function ns(a, n, o, s, m) {
3062
3062
  return Oi.importKey(
3063
3063
  "raw",
3064
3064
  a,
@@ -3075,7 +3075,7 @@ function is(a, n, o, s, m) {
3075
3075
  }
3076
3076
  }, f, s << 3);
3077
3077
  }).then(function(f) {
3078
- return rs.from(f);
3078
+ return is.from(f);
3079
3079
  });
3080
3080
  }
3081
3081
  function lc(a, n) {
@@ -3096,7 +3096,7 @@ var dc = function(a, n, o, s, m, f) {
3096
3096
  h0()(function() {
3097
3097
  var y;
3098
3098
  try {
3099
- y = ba(a, n, o, s, m);
3099
+ y = ya(a, n, o, s, m);
3100
3100
  } catch (S) {
3101
3101
  return f(S);
3102
3102
  }
@@ -3104,14 +3104,14 @@ var dc = function(a, n, o, s, m, f) {
3104
3104
  });
3105
3105
  return;
3106
3106
  }
3107
- if (sc(o, s), a = ya(a, ga, "Password"), n = ya(n, ga, "Salt"), typeof f != "function")
3107
+ if (sc(o, s), a = wa(a, ba, "Password"), n = wa(n, ba, "Salt"), typeof f != "function")
3108
3108
  throw new Error("No callback provided to pbkdf2");
3109
3109
  lc(uc(g).then(function(y) {
3110
- return y ? is(a, n, o, s, g) : ba(a, n, o, s, m);
3110
+ return y ? ns(a, n, o, s, g) : ya(a, n, o, s, m);
3111
3111
  }), f);
3112
3112
  };
3113
3113
  On.pbkdf2 = dc;
3114
- On.pbkdf2Sync = es;
3114
+ On.pbkdf2Sync = rs;
3115
3115
  var tr = {}, Mi = {}, ze = {};
3116
3116
  ze.readUInt32BE = function(n, o) {
3117
3117
  var s = n[0 + o] << 24 | n[1 + o] << 16 | n[2 + o] << 8 | n[3 + o];
@@ -3234,7 +3234,7 @@ ze.expand = function(n, o, s) {
3234
3234
  f |= n >>> g & 63, f <<= 6;
3235
3235
  f |= (n & 31) << 1 | n >>> 31, o[s + 0] = m >>> 0, o[s + 1] = f >>> 0;
3236
3236
  };
3237
- var wa = [
3237
+ var Ma = [
3238
3238
  14,
3239
3239
  0,
3240
3240
  4,
@@ -3750,16 +3750,16 @@ var wa = [
3750
3750
  ];
3751
3751
  ze.substitute = function(n, o) {
3752
3752
  for (var s = 0, m = 0; m < 4; m++) {
3753
- var f = n >>> 18 - m * 6 & 63, g = wa[m * 64 + f];
3753
+ var f = n >>> 18 - m * 6 & 63, g = Ma[m * 64 + f];
3754
3754
  s <<= 4, s |= g;
3755
3755
  }
3756
3756
  for (var m = 0; m < 4; m++) {
3757
- var f = o >>> 18 - m * 6 & 63, g = wa[4 * 64 + m * 64 + f];
3757
+ var f = o >>> 18 - m * 6 & 63, g = Ma[4 * 64 + m * 64 + f];
3758
3758
  s <<= 4, s |= g;
3759
3759
  }
3760
3760
  return s >>> 0;
3761
3761
  };
3762
- var Ma = [
3762
+ var xa = [
3763
3763
  16,
3764
3764
  25,
3765
3765
  12,
@@ -3794,8 +3794,8 @@ var Ma = [
3794
3794
  7
3795
3795
  ];
3796
3796
  ze.permute = function(n) {
3797
- for (var o = 0, s = 0; s < Ma.length; s++)
3798
- o <<= 1, o |= n >>> Ma[s] & 1;
3797
+ for (var o = 0, s = 0; s < xa.length; s++)
3798
+ o <<= 1, o |= n >>> xa[s] & 1;
3799
3799
  return o >>> 0;
3800
3800
  };
3801
3801
  ze.padSplit = function(n, o, s) {
@@ -3805,12 +3805,12 @@ ze.padSplit = function(n, o, s) {
3805
3805
  f.push(m.slice(g, g + s));
3806
3806
  return f.join(" ");
3807
3807
  };
3808
- var Ve = ns;
3809
- function ns(a, n) {
3808
+ var Ve = fs;
3809
+ function fs(a, n) {
3810
3810
  if (!a)
3811
3811
  throw new Error(n || "Assertion failed");
3812
3812
  }
3813
- ns.equal = function(n, o, s) {
3813
+ fs.equal = function(n, o, s) {
3814
3814
  if (n != o)
3815
3815
  throw new Error(s || "Assertion failed: " + n + " != " + o);
3816
3816
  };
@@ -3873,17 +3873,17 @@ Ye.prototype._finalDecrypt = function() {
3873
3873
  var n = new Array(this.blockSize);
3874
3874
  return this._flushBuffer(n, 0), this._unpad(n);
3875
3875
  };
3876
- var fs = Ve, vc = Gt, xe = ze, as = B0;
3876
+ var as = Ve, vc = Gt, xe = ze, hs = B0;
3877
3877
  function pc() {
3878
3878
  this.tmp = new Array(2), this.keys = null;
3879
3879
  }
3880
3880
  function cr(a) {
3881
- as.call(this, a);
3881
+ hs.call(this, a);
3882
3882
  var n = new pc();
3883
3883
  this._desState = n, this.deriveKeys(n, a.key);
3884
3884
  }
3885
- vc(cr, as);
3886
- var hs = cr;
3885
+ vc(cr, hs);
3886
+ var ss = cr;
3887
3887
  cr.create = function(n) {
3888
3888
  return new cr(n);
3889
3889
  };
@@ -3906,7 +3906,7 @@ var mc = [
3906
3906
  1
3907
3907
  ];
3908
3908
  cr.prototype.deriveKeys = function(n, o) {
3909
- n.keys = new Array(16 * 2), fs.equal(o.length, this.blockSize, "Invalid key length");
3909
+ n.keys = new Array(16 * 2), as.equal(o.length, this.blockSize, "Invalid key length");
3910
3910
  var s = xe.readUInt32BE(o, 0), m = xe.readUInt32BE(o, 4);
3911
3911
  xe.pc1(s, m, n.tmp, 0), s = n.tmp[0], m = n.tmp[1];
3912
3912
  for (var f = 0; f < n.keys.length; f += 2) {
@@ -3929,7 +3929,7 @@ cr.prototype._unpad = function(n) {
3929
3929
  if (this.padding === !1)
3930
3930
  return n;
3931
3931
  for (var o = n[n.length - 1], s = n.length - o; s < n.length; s++)
3932
- fs.equal(n[s], o);
3932
+ as.equal(n[s], o);
3933
3933
  return n.slice(0, n.length - o);
3934
3934
  };
3935
3935
  cr.prototype._encrypt = function(n, o, s, m, f) {
@@ -3950,7 +3950,7 @@ cr.prototype._decrypt = function(n, o, s, m, f) {
3950
3950
  }
3951
3951
  xe.rip(g, y, m, f);
3952
3952
  };
3953
- var ss = {}, gc = Ve, bc = Gt, An = {};
3953
+ var os = {}, gc = Ve, bc = Gt, An = {};
3954
3954
  function yc(a) {
3955
3955
  gc.equal(a.length, 8, "Invalid IV length"), this.iv = new Array(8);
3956
3956
  for (var n = 0; n < this.iv.length; n++)
@@ -3969,7 +3969,7 @@ function wc(a) {
3969
3969
  return new n(g);
3970
3970
  }, n;
3971
3971
  }
3972
- ss.instantiate = wc;
3972
+ os.instantiate = wc;
3973
3973
  An._cbcInit = function() {
3974
3974
  var n = new yc(this.options.iv);
3975
3975
  this._cbcState = n;
@@ -3990,7 +3990,7 @@ An._update = function(n, o, s, m) {
3990
3990
  y[S] = n[o + S];
3991
3991
  }
3992
3992
  };
3993
- var Mc = Ve, xc = Gt, os = B0, Pr = hs;
3993
+ var Mc = Ve, xc = Gt, us = B0, Pr = ss;
3994
3994
  function _c(a, n) {
3995
3995
  Mc.equal(n.length, 24, "Invalid key length");
3996
3996
  var o = n.slice(0, 8), s = n.slice(8, 16), m = n.slice(16, 24);
@@ -4005,11 +4005,11 @@ function _c(a, n) {
4005
4005
  ];
4006
4006
  }
4007
4007
  function jr(a) {
4008
- os.call(this, a);
4008
+ us.call(this, a);
4009
4009
  var n = new _c(this.type, this.options.key);
4010
4010
  this._edeState = n;
4011
4011
  }
4012
- xc(jr, os);
4012
+ xc(jr, us);
4013
4013
  var Sc = jr;
4014
4014
  jr.create = function(n) {
4015
4015
  return new jr(n);
@@ -4022,10 +4022,10 @@ jr.prototype._pad = Pr.prototype._pad;
4022
4022
  jr.prototype._unpad = Pr.prototype._unpad;
4023
4023
  Mi.utils = ze;
4024
4024
  Mi.Cipher = B0;
4025
- Mi.DES = hs;
4026
- Mi.CBC = ss;
4025
+ Mi.DES = ss;
4026
+ Mi.CBC = os;
4027
4027
  Mi.EDE = Sc;
4028
- var us = Lr, Mr = Mi, Ac = Gt, Zr = zt.Buffer, Zi = {
4028
+ var ls = Lr, Mr = Mi, Ac = Gt, Zr = zt.Buffer, Zi = {
4029
4029
  "des-ede3-cbc": Mr.CBC.instantiate(Mr.EDE),
4030
4030
  "des-ede3": Mr.EDE,
4031
4031
  "des-ede-cbc": Mr.CBC.instantiate(Mr.EDE),
@@ -4036,9 +4036,9 @@ var us = Lr, Mr = Mi, Ac = Gt, Zr = zt.Buffer, Zi = {
4036
4036
  Zi.des = Zi["des-cbc"];
4037
4037
  Zi.des3 = Zi["des-ede3-cbc"];
4038
4038
  var Bc = zn;
4039
- Ac(zn, us);
4039
+ Ac(zn, ls);
4040
4040
  function zn(a) {
4041
- us.call(this);
4041
+ ls.call(this);
4042
4042
  var n = a.mode.toLowerCase(), o = Zi[n], s;
4043
4043
  a.decrypt ? s = "decrypt" : s = "encrypt";
4044
4044
  var m = a.key;
@@ -4064,14 +4064,14 @@ k0.decrypt = function(a, n) {
4064
4064
  return a._cipher.decryptBlock(n);
4065
4065
  };
4066
4066
  var I0 = {}, or = [], Ze = [], Ec = typeof Uint8Array != "undefined" ? Uint8Array : Array, R0 = !1;
4067
- function ls() {
4067
+ function ds() {
4068
4068
  R0 = !0;
4069
4069
  for (var a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", n = 0, o = a.length; n < o; ++n)
4070
4070
  or[n] = a[n], Ze[a.charCodeAt(n)] = n;
4071
4071
  Ze["-".charCodeAt(0)] = 62, Ze["_".charCodeAt(0)] = 63;
4072
4072
  }
4073
4073
  function kc(a) {
4074
- R0 || ls();
4074
+ R0 || ds();
4075
4075
  var n, o, s, m, f, g, y = a.length;
4076
4076
  if (y % 4 > 0)
4077
4077
  throw new Error("Invalid string. Length must be a multiple of 4");
@@ -4089,8 +4089,8 @@ function Rc(a, n, o) {
4089
4089
  s = (a[f] << 16) + (a[f + 1] << 8) + a[f + 2], m.push(Ic(s));
4090
4090
  return m.join("");
4091
4091
  }
4092
- function xa(a) {
4093
- R0 || ls();
4092
+ function _a(a) {
4093
+ R0 || ds();
4094
4094
  for (var n, o = a.length, s = o % 3, m = "", f = [], g = 16383, y = 0, S = o - s; y < S; y += g)
4095
4095
  f.push(Rc(a, y, y + g > S ? S : y + g));
4096
4096
  return s === 1 ? (n = a[o - 1], m += or[n >> 2], m += or[n << 4 & 63], m += "==") : s === 2 && (n = (a[o - 2] << 8) + a[o - 1], m += or[n >> 10], m += or[n >> 4 & 63], m += or[n << 2 & 63], m += "="), f.push(m), f.join("");
@@ -4110,7 +4110,7 @@ function Kn(a, n, o, s, m) {
4110
4110
  }
4111
4111
  return (k ? -1 : 1) * g * Math.pow(2, f - s);
4112
4112
  }
4113
- function ds(a, n, o, s, m, f) {
4113
+ function cs(a, n, o, s, m, f) {
4114
4114
  var g, y, S, B = f * 8 - m - 1, M = (1 << B) - 1, x = M >> 1, I = m === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, k = s ? 0 : f - 1, D = s ? 1 : -1, U = n < 0 || n === 0 && 1 / n < 0 ? 1 : 0;
4115
4115
  for (n = Math.abs(n), isNaN(n) || n === 1 / 0 ? (y = isNaN(n) ? 1 : 0, g = M) : (g = Math.floor(Math.log(n) / Math.LN2), n * (S = Math.pow(2, -g)) < 1 && (g--, S *= 2), g + x >= 1 ? n += I / S : n += I * Math.pow(2, 1 - x), n * S >= 2 && (g++, S /= 2), g + x >= M ? (y = 0, g = M) : g + x >= 1 ? (y = (n * S - 1) * Math.pow(2, m), g = g + x) : (y = n * Math.pow(2, x - 1) * Math.pow(2, m), g = 0)); m >= 8; a[o + k] = y & 255, k += D, y /= 256, m -= 8)
4116
4116
  ;
@@ -4118,7 +4118,7 @@ function ds(a, n, o, s, m, f) {
4118
4118
  ;
4119
4119
  a[o + k - D] |= U * 128;
4120
4120
  }
4121
- var Tc = {}.toString, cs = Array.isArray || function(a) {
4121
+ var Tc = {}.toString, vs = Array.isArray || function(a) {
4122
4122
  return Tc.call(a) == "[object Array]";
4123
4123
  };
4124
4124
  /*!
@@ -4148,35 +4148,35 @@ function mt(a, n, o) {
4148
4148
  );
4149
4149
  return T0(this, a);
4150
4150
  }
4151
- return vs(this, a, n, o);
4151
+ return ps(this, a, n, o);
4152
4152
  }
4153
4153
  mt.poolSize = 8192;
4154
4154
  mt._augment = function(a) {
4155
4155
  return a.__proto__ = mt.prototype, a;
4156
4156
  };
4157
- function vs(a, n, o, s) {
4157
+ function ps(a, n, o, s) {
4158
4158
  if (typeof n == "number")
4159
4159
  throw new TypeError('"value" argument must not be a number');
4160
4160
  return typeof ArrayBuffer != "undefined" && n instanceof ArrayBuffer ? Pc(a, n, o, s) : typeof n == "string" ? qc(a, n, o) : Dc(a, n);
4161
4161
  }
4162
4162
  mt.from = function(a, n, o) {
4163
- return vs(null, a, n, o);
4163
+ return ps(null, a, n, o);
4164
4164
  };
4165
4165
  mt.TYPED_ARRAY_SUPPORT && (mt.prototype.__proto__ = Uint8Array.prototype, mt.__proto__ = Uint8Array, typeof Symbol != "undefined" && Symbol.species && mt[Symbol.species]);
4166
- function ps(a) {
4166
+ function ms(a) {
4167
4167
  if (typeof a != "number")
4168
4168
  throw new TypeError('"size" argument must be a number');
4169
4169
  if (a < 0)
4170
4170
  throw new RangeError('"size" argument must not be negative');
4171
4171
  }
4172
4172
  function Fc(a, n, o, s) {
4173
- return ps(n), n <= 0 ? _r(a, n) : o !== void 0 ? typeof s == "string" ? _r(a, n).fill(o, s) : _r(a, n).fill(o) : _r(a, n);
4173
+ return ms(n), n <= 0 ? _r(a, n) : o !== void 0 ? typeof s == "string" ? _r(a, n).fill(o, s) : _r(a, n).fill(o) : _r(a, n);
4174
4174
  }
4175
4175
  mt.alloc = function(a, n, o) {
4176
4176
  return Fc(null, a, n, o);
4177
4177
  };
4178
4178
  function T0(a, n) {
4179
- if (ps(n), a = _r(a, n < 0 ? 0 : C0(n) | 0), !mt.TYPED_ARRAY_SUPPORT)
4179
+ if (ms(n), a = _r(a, n < 0 ? 0 : C0(n) | 0), !mt.TYPED_ARRAY_SUPPORT)
4180
4180
  for (var o = 0; o < n; ++o)
4181
4181
  a[o] = 0;
4182
4182
  return a;
@@ -4190,7 +4190,7 @@ mt.allocUnsafeSlow = function(a) {
4190
4190
  function qc(a, n, o) {
4191
4191
  if ((typeof o != "string" || o === "") && (o = "utf8"), !mt.isEncoding(o))
4192
4192
  throw new TypeError('"encoding" must be a valid string encoding');
4193
- var s = ms(n, o) | 0;
4193
+ var s = gs(n, o) | 0;
4194
4194
  a = _r(a, s);
4195
4195
  var m = a.write(n, o);
4196
4196
  return m !== s && (a = a.slice(0, m)), a;
@@ -4217,7 +4217,7 @@ function Dc(a, n) {
4217
4217
  if (n) {
4218
4218
  if (typeof ArrayBuffer != "undefined" && n.buffer instanceof ArrayBuffer || "length" in n)
4219
4219
  return typeof n.length != "number" || e1(n.length) ? _r(a, 0) : s0(a, n);
4220
- if (n.type === "Buffer" && cs(n.data))
4220
+ if (n.type === "Buffer" && vs(n.data))
4221
4221
  return s0(a, n.data);
4222
4222
  }
4223
4223
  throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");
@@ -4262,7 +4262,7 @@ mt.isEncoding = function(n) {
4262
4262
  }
4263
4263
  };
4264
4264
  mt.concat = function(n, o) {
4265
- if (!cs(n))
4265
+ if (!vs(n))
4266
4266
  throw new TypeError('"list" argument must be an Array of Buffers');
4267
4267
  if (n.length === 0)
4268
4268
  return mt.alloc(0);
@@ -4279,7 +4279,7 @@ mt.concat = function(n, o) {
4279
4279
  }
4280
4280
  return m;
4281
4281
  };
4282
- function ms(a, n) {
4282
+ function gs(a, n) {
4283
4283
  if (vr(a))
4284
4284
  return a.length;
4285
4285
  if (typeof ArrayBuffer != "undefined" && typeof ArrayBuffer.isView == "function" && (ArrayBuffer.isView(a) || a instanceof ArrayBuffer))
@@ -4306,14 +4306,14 @@ function ms(a, n) {
4306
4306
  case "hex":
4307
4307
  return o >>> 1;
4308
4308
  case "base64":
4309
- return _s(a).length;
4309
+ return Ss(a).length;
4310
4310
  default:
4311
4311
  if (s)
4312
4312
  return En(a).length;
4313
4313
  n = ("" + n).toLowerCase(), s = !0;
4314
4314
  }
4315
4315
  }
4316
- mt.byteLength = ms;
4316
+ mt.byteLength = gs;
4317
4317
  function Nc(a, n, o) {
4318
4318
  var s = !1;
4319
4319
  if ((n === void 0 || n < 0) && (n = 0), n > this.length || ((o === void 0 || o > this.length) && (o = this.length), o <= 0) || (o >>>= 0, n >>>= 0, o <= n))
@@ -4324,7 +4324,7 @@ function Nc(a, n, o) {
4324
4324
  return Vc(this, n, o);
4325
4325
  case "utf8":
4326
4326
  case "utf-8":
4327
- return ys(this, n, o);
4327
+ return ws(this, n, o);
4328
4328
  case "ascii":
4329
4329
  return Zc(this, n, o);
4330
4330
  case "latin1":
@@ -4374,7 +4374,7 @@ mt.prototype.swap64 = function() {
4374
4374
  };
4375
4375
  mt.prototype.toString = function() {
4376
4376
  var n = this.length | 0;
4377
- return n === 0 ? "" : arguments.length === 0 ? ys(this, 0, n) : Nc.apply(this, arguments);
4377
+ return n === 0 ? "" : arguments.length === 0 ? ws(this, 0, n) : Nc.apply(this, arguments);
4378
4378
  };
4379
4379
  mt.prototype.equals = function(n) {
4380
4380
  if (!vr(n))
@@ -4405,7 +4405,7 @@ mt.prototype.compare = function(n, o, s, m, f) {
4405
4405
  }
4406
4406
  return g < y ? -1 : y < g ? 1 : 0;
4407
4407
  };
4408
- function gs(a, n, o, s, m) {
4408
+ function bs(a, n, o, s, m) {
4409
4409
  if (a.length === 0)
4410
4410
  return -1;
4411
4411
  if (typeof o == "string" ? (s = o, o = 0) : o > 2147483647 ? o = 2147483647 : o < -2147483648 && (o = -2147483648), o = +o, isNaN(o) && (o = m ? 0 : a.length - 1), o < 0 && (o = a.length + o), o >= a.length) {
@@ -4418,12 +4418,12 @@ function gs(a, n, o, s, m) {
4418
4418
  else
4419
4419
  return -1;
4420
4420
  if (typeof n == "string" && (n = mt.from(n, s)), vr(n))
4421
- return n.length === 0 ? -1 : _a(a, n, o, s, m);
4421
+ return n.length === 0 ? -1 : Sa(a, n, o, s, m);
4422
4422
  if (typeof n == "number")
4423
- return n = n & 255, mt.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf == "function" ? m ? Uint8Array.prototype.indexOf.call(a, n, o) : Uint8Array.prototype.lastIndexOf.call(a, n, o) : _a(a, [n], o, s, m);
4423
+ return n = n & 255, mt.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf == "function" ? m ? Uint8Array.prototype.indexOf.call(a, n, o) : Uint8Array.prototype.lastIndexOf.call(a, n, o) : Sa(a, [n], o, s, m);
4424
4424
  throw new TypeError("val must be string, number or Buffer");
4425
4425
  }
4426
- function _a(a, n, o, s, m) {
4426
+ function Sa(a, n, o, s, m) {
4427
4427
  var f = 1, g = a.length, y = n.length;
4428
4428
  if (s !== void 0 && (s = String(s).toLowerCase(), s === "ucs2" || s === "ucs-2" || s === "utf16le" || s === "utf-16le")) {
4429
4429
  if (a.length < 2 || n.length < 2)
@@ -4458,10 +4458,10 @@ mt.prototype.includes = function(n, o, s) {
4458
4458
  return this.indexOf(n, o, s) !== -1;
4459
4459
  };
4460
4460
  mt.prototype.indexOf = function(n, o, s) {
4461
- return gs(this, n, o, s, !0);
4461
+ return bs(this, n, o, s, !0);
4462
4462
  };
4463
4463
  mt.prototype.lastIndexOf = function(n, o, s) {
4464
- return gs(this, n, o, s, !1);
4464
+ return bs(this, n, o, s, !1);
4465
4465
  };
4466
4466
  function $c(a, n, o, s) {
4467
4467
  o = Number(o) || 0;
@@ -4482,14 +4482,14 @@ function $c(a, n, o, s) {
4482
4482
  function Lc(a, n, o, s) {
4483
4483
  return Wn(En(n, a.length - o), a, o, s);
4484
4484
  }
4485
- function bs(a, n, o, s) {
4485
+ function ys(a, n, o, s) {
4486
4486
  return Wn(Qc(n), a, o, s);
4487
4487
  }
4488
4488
  function Uc(a, n, o, s) {
4489
- return bs(a, n, o, s);
4489
+ return ys(a, n, o, s);
4490
4490
  }
4491
4491
  function Oc(a, n, o, s) {
4492
- return Wn(_s(n), a, o, s);
4492
+ return Wn(Ss(n), a, o, s);
4493
4493
  }
4494
4494
  function zc(a, n, o, s) {
4495
4495
  return Wn(t1(n, a.length - o), a, o, s);
@@ -4517,7 +4517,7 @@ mt.prototype.write = function(n, o, s, m) {
4517
4517
  case "utf-8":
4518
4518
  return Lc(this, n, o, s);
4519
4519
  case "ascii":
4520
- return bs(this, n, o, s);
4520
+ return ys(this, n, o, s);
4521
4521
  case "latin1":
4522
4522
  case "binary":
4523
4523
  return Uc(this, n, o, s);
@@ -4541,9 +4541,9 @@ mt.prototype.toJSON = function() {
4541
4541
  };
4542
4542
  };
4543
4543
  function Kc(a, n, o) {
4544
- return n === 0 && o === a.length ? xa(a) : xa(a.slice(n, o));
4544
+ return n === 0 && o === a.length ? _a(a) : _a(a.slice(n, o));
4545
4545
  }
4546
- function ys(a, n, o) {
4546
+ function ws(a, n, o) {
4547
4547
  o = Math.min(a.length, o);
4548
4548
  for (var s = [], m = n; m < o; ) {
4549
4549
  var f = a[m], g = null, y = f > 239 ? 4 : f > 223 ? 3 : f > 191 ? 2 : 1;
@@ -4567,15 +4567,15 @@ function ys(a, n, o) {
4567
4567
  }
4568
4568
  return Hc(s);
4569
4569
  }
4570
- var Sa = 4096;
4570
+ var Aa = 4096;
4571
4571
  function Hc(a) {
4572
4572
  var n = a.length;
4573
- if (n <= Sa)
4573
+ if (n <= Aa)
4574
4574
  return String.fromCharCode.apply(String, a);
4575
4575
  for (var o = "", s = 0; s < n; )
4576
4576
  o += String.fromCharCode.apply(
4577
4577
  String,
4578
- a.slice(s, s += Sa)
4578
+ a.slice(s, s += Aa)
4579
4579
  );
4580
4580
  return o;
4581
4581
  }
@@ -4783,29 +4783,29 @@ mt.prototype.writeInt32LE = function(n, o, s) {
4783
4783
  mt.prototype.writeInt32BE = function(n, o, s) {
4784
4784
  return n = +n, o = o | 0, s || Ue(this, n, o, 4, 2147483647, -2147483648), n < 0 && (n = 4294967295 + n + 1), mt.TYPED_ARRAY_SUPPORT ? (this[o] = n >>> 24, this[o + 1] = n >>> 16, this[o + 2] = n >>> 8, this[o + 3] = n & 255) : Zn(this, n, o, !1), o + 4;
4785
4785
  };
4786
- function ws(a, n, o, s, m, f) {
4786
+ function Ms(a, n, o, s, m, f) {
4787
4787
  if (o + s > a.length)
4788
4788
  throw new RangeError("Index out of range");
4789
4789
  if (o < 0)
4790
4790
  throw new RangeError("Index out of range");
4791
4791
  }
4792
- function Ms(a, n, o, s, m) {
4793
- return m || ws(a, n, o, 4), ds(a, n, o, s, 23, 4), o + 4;
4792
+ function xs(a, n, o, s, m) {
4793
+ return m || Ms(a, n, o, 4), cs(a, n, o, s, 23, 4), o + 4;
4794
4794
  }
4795
4795
  mt.prototype.writeFloatLE = function(n, o, s) {
4796
- return Ms(this, n, o, !0, s);
4796
+ return xs(this, n, o, !0, s);
4797
4797
  };
4798
4798
  mt.prototype.writeFloatBE = function(n, o, s) {
4799
- return Ms(this, n, o, !1, s);
4799
+ return xs(this, n, o, !1, s);
4800
4800
  };
4801
- function xs(a, n, o, s, m) {
4802
- return m || ws(a, n, o, 8), ds(a, n, o, s, 52, 8), o + 8;
4801
+ function _s(a, n, o, s, m) {
4802
+ return m || Ms(a, n, o, 8), cs(a, n, o, s, 52, 8), o + 8;
4803
4803
  }
4804
4804
  mt.prototype.writeDoubleLE = function(n, o, s) {
4805
- return xs(this, n, o, !0, s);
4805
+ return _s(this, n, o, !0, s);
4806
4806
  };
4807
4807
  mt.prototype.writeDoubleBE = function(n, o, s) {
4808
- return xs(this, n, o, !1, s);
4808
+ return _s(this, n, o, !1, s);
4809
4809
  };
4810
4810
  mt.prototype.copy = function(n, o, s, m) {
4811
4811
  if (s || (s = 0), !m && m !== 0 && (m = this.length), o >= n.length && (o = n.length), o || (o = 0), m > 0 && m < s && (m = s), m === s || n.length === 0 || this.length === 0)
@@ -4939,7 +4939,7 @@ function t1(a, n) {
4939
4939
  o = a.charCodeAt(g), s = o >> 8, m = o % 256, f.push(m), f.push(s);
4940
4940
  return f;
4941
4941
  }
4942
- function _s(a) {
4942
+ function Ss(a) {
4943
4943
  return kc(Gc(a));
4944
4944
  }
4945
4945
  function Wn(a, n, o, s) {
@@ -4951,45 +4951,45 @@ function e1(a) {
4951
4951
  return a !== a;
4952
4952
  }
4953
4953
  function r1(a) {
4954
- return a != null && (!!a._isBuffer || Ss(a) || i1(a));
4954
+ return a != null && (!!a._isBuffer || As(a) || i1(a));
4955
4955
  }
4956
- function Ss(a) {
4956
+ function As(a) {
4957
4957
  return !!a.constructor && typeof a.constructor.isBuffer == "function" && a.constructor.isBuffer(a);
4958
4958
  }
4959
4959
  function i1(a) {
4960
- return typeof a.readFloatLE == "function" && typeof a.slice == "function" && Ss(a.slice(0, 0));
4960
+ return typeof a.readFloatLE == "function" && typeof a.slice == "function" && As(a.slice(0, 0));
4961
4961
  }
4962
4962
  var tn = function(n, o) {
4963
4963
  for (var s = Math.min(n.length, o.length), m = new mt(s), f = 0; f < s; ++f)
4964
4964
  m[f] = n[f] ^ o[f];
4965
4965
  return m;
4966
- }, As = tn;
4966
+ }, Bs = tn;
4967
4967
  I0.encrypt = function(a, n) {
4968
- var o = As(n, a._prev);
4968
+ var o = Bs(n, a._prev);
4969
4969
  return a._prev = a._cipher.encryptBlock(o), a._prev;
4970
4970
  };
4971
4971
  I0.decrypt = function(a, n) {
4972
4972
  var o = a._prev;
4973
4973
  a._prev = n;
4974
4974
  var s = a._cipher.decryptBlock(n);
4975
- return As(s, o);
4975
+ return Bs(s, o);
4976
4976
  };
4977
- var Bs = {}, Li = zt.Buffer, n1 = tn;
4978
- function Aa(a, n, o) {
4977
+ var Es = {}, Li = zt.Buffer, n1 = tn;
4978
+ function Ba(a, n, o) {
4979
4979
  var s = n.length, m = n1(n, a._cache);
4980
4980
  return a._cache = a._cache.slice(s), a._prev = Li.concat([a._prev, o ? n : m]), m;
4981
4981
  }
4982
- Bs.encrypt = function(a, n, o) {
4982
+ Es.encrypt = function(a, n, o) {
4983
4983
  for (var s = Li.allocUnsafe(0), m; n.length; )
4984
4984
  if (a._cache.length === 0 && (a._cache = a._cipher.encryptBlock(a._prev), a._prev = Li.allocUnsafe(0)), a._cache.length <= n.length)
4985
- m = a._cache.length, s = Li.concat([s, Aa(a, n.slice(0, m), o)]), n = n.slice(m);
4985
+ m = a._cache.length, s = Li.concat([s, Ba(a, n.slice(0, m), o)]), n = n.slice(m);
4986
4986
  else {
4987
- s = Li.concat([s, Aa(a, n, o)]);
4987
+ s = Li.concat([s, Ba(a, n, o)]);
4988
4988
  break;
4989
4989
  }
4990
4990
  return s;
4991
4991
  };
4992
- var Es = {}, o0 = zt.Buffer;
4992
+ var ks = {}, o0 = zt.Buffer;
4993
4993
  function f1(a, n, o) {
4994
4994
  var s = a._cipher.encryptBlock(a._prev), m = s[0] ^ n;
4995
4995
  return a._prev = o0.concat([
@@ -4997,12 +4997,12 @@ function f1(a, n, o) {
4997
4997
  o0.from([o ? n : m])
4998
4998
  ]), m;
4999
4999
  }
5000
- Es.encrypt = function(a, n, o) {
5000
+ ks.encrypt = function(a, n, o) {
5001
5001
  for (var s = n.length, m = o0.allocUnsafe(s), f = -1; ++f < s; )
5002
5002
  m[f] = f1(a, n[f], o);
5003
5003
  return m;
5004
5004
  };
5005
- var ks = {}, Mn = zt.Buffer;
5005
+ var Is = {}, Mn = zt.Buffer;
5006
5006
  function a1(a, n, o) {
5007
5007
  for (var s, m = -1, f = 8, g = 0, y, S; ++m < f; )
5008
5008
  s = a._cipher.encryptBlock(a._prev), y = n & 1 << 7 - m ? 128 : 0, S = s[0] ^ y, g += (S & 128) >> m % 8, a._prev = h1(a._prev, o ? y : S);
@@ -5014,16 +5014,16 @@ function h1(a, n) {
5014
5014
  m[s] = a[s] << 1 | a[s + 1] >> 7;
5015
5015
  return m;
5016
5016
  }
5017
- ks.encrypt = function(a, n, o) {
5017
+ Is.encrypt = function(a, n, o) {
5018
5018
  for (var s = n.length, m = Mn.allocUnsafe(s), f = -1; ++f < s; )
5019
5019
  m[f] = a1(a, n[f], o);
5020
5020
  return m;
5021
5021
  };
5022
- var Is = {}, s1 = tn;
5022
+ var Rs = {}, s1 = tn;
5023
5023
  function o1(a) {
5024
5024
  return a._prev = a._cipher.encryptBlock(a._prev), a._prev;
5025
5025
  }
5026
- Is.encrypt = function(a, n) {
5026
+ Rs.encrypt = function(a, n) {
5027
5027
  for (; a._cache.length < n.length; )
5028
5028
  a._cache = mt.concat([a._cache, o1(a)]);
5029
5029
  var o = a._cache.slice(0, n.length);
@@ -5039,7 +5039,7 @@ function u1(a) {
5039
5039
  break;
5040
5040
  }
5041
5041
  }
5042
- var Rs = u1, l1 = tn, Ba = zt.Buffer, d1 = Rs;
5042
+ var Ts = u1, l1 = tn, Ea = zt.Buffer, d1 = Ts;
5043
5043
  function c1(a) {
5044
5044
  var n = a._cipher.encryptBlockRaw(a._prev);
5045
5045
  return d1(a._prev), n;
@@ -5047,9 +5047,9 @@ function c1(a) {
5047
5047
  var wf = 16;
5048
5048
  u0.encrypt = function(a, n) {
5049
5049
  var o = Math.ceil(n.length / wf), s = a._cache.length;
5050
- a._cache = Ba.concat([
5050
+ a._cache = Ea.concat([
5051
5051
  a._cache,
5052
- Ba.allocUnsafe(o * wf)
5052
+ Ea.allocUnsafe(o * wf)
5053
5053
  ]);
5054
5054
  for (var m = 0; m < o; m++) {
5055
5055
  var f = c1(a), g = s + m * wf;
@@ -5076,7 +5076,7 @@ const v1 = {
5076
5076
  iv: 16,
5077
5077
  mode: "CBC",
5078
5078
  type: "block"
5079
- }, Ts = {
5079
+ }, Cs = {
5080
5080
  "aes-128-ecb": {
5081
5081
  cipher: "AES",
5082
5082
  key: 128,
@@ -5252,15 +5252,15 @@ const v1 = {
5252
5252
  var g1 = {
5253
5253
  ECB: k0,
5254
5254
  CBC: I0,
5255
- CFB: Bs,
5256
- CFB8: Es,
5257
- CFB1: ks,
5258
- OFB: Is,
5255
+ CFB: Es,
5256
+ CFB8: ks,
5257
+ CFB1: Is,
5258
+ OFB: Rs,
5259
5259
  CTR: u0,
5260
5260
  GCM: u0
5261
- }, xn = Ts;
5262
- for (var Ea in xn)
5263
- xn[Ea].module = g1[xn[Ea].mode];
5261
+ }, xn = Cs;
5262
+ for (var ka in xn)
5263
+ xn[ka].module = g1[xn[ka].mode];
5264
5264
  var F0 = xn, en = {}, kn = zt.Buffer;
5265
5265
  function q0(a) {
5266
5266
  kn.isBuffer(a) || (a = kn.from(a));
@@ -5272,7 +5272,7 @@ function Mf(a) {
5272
5272
  for (var n = 0; n < a.length; a++)
5273
5273
  a[n] = 0;
5274
5274
  }
5275
- function Cs(a, n, o, s, m) {
5275
+ function Fs(a, n, o, s, m) {
5276
5276
  for (var f = o[0], g = o[1], y = o[2], S = o[3], B = a[0] ^ n[0], M = a[1] ^ n[1], x = a[2] ^ n[2], I = a[3] ^ n[3], k, D, U, W, z = 4, $ = 1; $ < m; $++)
5277
5277
  k = f[B >>> 24] ^ g[M >>> 16 & 255] ^ y[x >>> 8 & 255] ^ S[I & 255] ^ n[z++], D = f[M >>> 24] ^ g[x >>> 16 & 255] ^ y[I >>> 8 & 255] ^ S[B & 255] ^ n[z++], U = f[x >>> 24] ^ g[I >>> 16 & 255] ^ y[B >>> 8 & 255] ^ S[M & 255] ^ n[z++], W = f[I >>> 24] ^ g[B >>> 16 & 255] ^ y[M >>> 8 & 255] ^ S[x & 255] ^ n[z++], B = k, M = D, x = U, I = W;
5278
5278
  return k = (s[B >>> 24] << 24 | s[M >>> 16 & 255] << 16 | s[x >>> 8 & 255] << 8 | s[I & 255]) ^ n[z++], D = (s[M >>> 24] << 24 | s[x >>> 16 & 255] << 16 | s[I >>> 8 & 255] << 8 | s[B & 255]) ^ n[z++], U = (s[x >>> 24] << 24 | s[I >>> 16 & 255] << 16 | s[B >>> 8 & 255] << 8 | s[M & 255]) ^ n[z++], W = (s[I >>> 24] << 24 | s[B >>> 16 & 255] << 16 | s[M >>> 8 & 255] << 8 | s[x & 255]) ^ n[z++], k = k >>> 0, D = D >>> 0, U = U >>> 0, W = W >>> 0, [k, D, U, W];
@@ -5314,7 +5314,7 @@ We.prototype._reset = function() {
5314
5314
  this._nRounds = o, this._keySchedule = m, this._invKeySchedule = y;
5315
5315
  };
5316
5316
  We.prototype.encryptBlockRaw = function(a) {
5317
- return a = q0(a), Cs(a, this._keySchedule, ye.SUB_MIX, ye.SBOX, this._nRounds);
5317
+ return a = q0(a), Fs(a, this._keySchedule, ye.SUB_MIX, ye.SBOX, this._nRounds);
5318
5318
  };
5319
5319
  We.prototype.encryptBlock = function(a) {
5320
5320
  var n = this.encryptBlockRaw(a), o = kn.allocUnsafe(16);
@@ -5324,7 +5324,7 @@ We.prototype.decryptBlock = function(a) {
5324
5324
  a = q0(a);
5325
5325
  var n = a[1];
5326
5326
  a[1] = a[3], a[3] = n;
5327
- var o = Cs(a, this._invKeySchedule, ye.INV_SUB_MIX, ye.INV_SBOX, this._nRounds), s = kn.allocUnsafe(16);
5327
+ var o = Fs(a, this._invKeySchedule, ye.INV_SUB_MIX, ye.INV_SBOX, this._nRounds), s = kn.allocUnsafe(16);
5328
5328
  return s.writeUInt32BE(o[0], 0), s.writeUInt32BE(o[3], 4), s.writeUInt32BE(o[2], 8), s.writeUInt32BE(o[1], 12), s;
5329
5329
  };
5330
5330
  We.prototype.scrub = function() {
@@ -5340,7 +5340,7 @@ function w1(a) {
5340
5340
  a.readUInt32BE(12)
5341
5341
  ];
5342
5342
  }
5343
- function Fs(a) {
5343
+ function qs(a) {
5344
5344
  var n = li.allocUnsafe(16);
5345
5345
  return n.writeUInt32BE(a[0] >>> 0, 0), n.writeUInt32BE(a[1] >>> 0, 4), n.writeUInt32BE(a[2] >>> 0, 8), n.writeUInt32BE(a[3] >>> 0, 12), n;
5346
5346
  }
@@ -5358,7 +5358,7 @@ rn.prototype._multiply = function() {
5358
5358
  a[o] = a[o] >>> 1 | (a[o - 1] & 1) << 31;
5359
5359
  a[0] = a[0] >>> 1, m && (a[0] = a[0] ^ 225 << 24);
5360
5360
  }
5361
- this.state = Fs(n);
5361
+ this.state = qs(n);
5362
5362
  };
5363
5363
  rn.prototype.update = function(a) {
5364
5364
  this.cache = li.concat([this.cache, a]);
@@ -5366,9 +5366,9 @@ rn.prototype.update = function(a) {
5366
5366
  n = this.cache.slice(0, 16), this.cache = this.cache.slice(16), this.ghash(n);
5367
5367
  };
5368
5368
  rn.prototype.final = function(a, n) {
5369
- return this.cache.length && this.ghash(li.concat([this.cache, y1], 16)), this.ghash(Fs([0, a, 0, n])), this.state;
5369
+ return this.cache.length && this.ghash(li.concat([this.cache, y1], 16)), this.ghash(qs([0, a, 0, n])), this.state;
5370
5370
  };
5371
- var M1 = rn, x1 = en, De = zt.Buffer, qs = Lr, _1 = Gt, Ps = M1, S1 = tn, A1 = Rs;
5371
+ var M1 = rn, x1 = en, De = zt.Buffer, Ps = Lr, _1 = Gt, Ds = M1, S1 = tn, A1 = Ts;
5372
5372
  function B1(a, n) {
5373
5373
  var o = 0;
5374
5374
  a.length !== n.length && o++;
@@ -5379,7 +5379,7 @@ function B1(a, n) {
5379
5379
  function E1(a, n, o) {
5380
5380
  if (n.length === 12)
5381
5381
  return a._finID = De.concat([n, De.from([0, 0, 0, 1])]), De.concat([n, De.from([0, 0, 0, 2])]);
5382
- var s = new Ps(o), m = n.length, f = m % 16;
5382
+ var s = new Ds(o), m = n.length, f = m % 16;
5383
5383
  s.update(n), f && (f = 16 - f, s.update(De.alloc(f, 0))), s.update(De.alloc(8, 0));
5384
5384
  var g = m * 8, y = De.alloc(8);
5385
5385
  y.writeUIntBE(g, 0, 8), s.update(y), a._finID = s.state;
@@ -5387,13 +5387,13 @@ function E1(a, n, o) {
5387
5387
  return A1(S), S;
5388
5388
  }
5389
5389
  function ri(a, n, o, s) {
5390
- qs.call(this);
5390
+ Ps.call(this);
5391
5391
  var m = De.alloc(4, 0);
5392
5392
  this._cipher = new x1.AES(n);
5393
5393
  var f = this._cipher.encryptBlock(m);
5394
- this._ghash = new Ps(f), o = E1(this, o, f), this._prev = De.from(o), this._cache = De.allocUnsafe(0), this._secCache = De.allocUnsafe(0), this._decrypt = s, this._alen = 0, this._len = 0, this._mode = a, this._authTag = null, this._called = !1;
5394
+ this._ghash = new Ds(f), o = E1(this, o, f), this._prev = De.from(o), this._cache = De.allocUnsafe(0), this._secCache = De.allocUnsafe(0), this._decrypt = s, this._alen = 0, this._len = 0, this._mode = a, this._authTag = null, this._called = !1;
5395
5395
  }
5396
- _1(ri, qs);
5396
+ _1(ri, Ps);
5397
5397
  ri.prototype._update = function(a) {
5398
5398
  if (!this._called && this._alen) {
5399
5399
  var n = 16 - this._alen % 16;
@@ -5426,18 +5426,18 @@ ri.prototype.setAAD = function(n) {
5426
5426
  throw new Error("Attempting to set AAD in unsupported state");
5427
5427
  this._ghash.update(n), this._alen += n.length;
5428
5428
  };
5429
- var Ds = ri, k1 = en, xf = zt.Buffer, Ns = Lr, I1 = Gt;
5429
+ var Ns = ri, k1 = en, xf = zt.Buffer, $s = Lr, I1 = Gt;
5430
5430
  function Vn(a, n, o, s) {
5431
- Ns.call(this), this._cipher = new k1.AES(n), this._prev = xf.from(o), this._cache = xf.allocUnsafe(0), this._secCache = xf.allocUnsafe(0), this._decrypt = s, this._mode = a;
5431
+ $s.call(this), this._cipher = new k1.AES(n), this._prev = xf.from(o), this._cache = xf.allocUnsafe(0), this._secCache = xf.allocUnsafe(0), this._decrypt = s, this._mode = a;
5432
5432
  }
5433
- I1(Vn, Ns);
5433
+ I1(Vn, $s);
5434
5434
  Vn.prototype._update = function(a) {
5435
5435
  return this._mode.encrypt(this, a, this._decrypt);
5436
5436
  };
5437
5437
  Vn.prototype._final = function() {
5438
5438
  this._cipher.scrub();
5439
5439
  };
5440
- var $s = Vn, zr = zt.Buffer, R1 = x0;
5440
+ var Ls = Vn, zr = zt.Buffer, R1 = x0;
5441
5441
  function T1(a, n, o, s) {
5442
5442
  if (zr.isBuffer(a) || (a = zr.from(a, "binary")), n && (zr.isBuffer(n) || (n = zr.from(n, "binary")), n.length !== 8))
5443
5443
  throw new RangeError("salt should be Buffer with 8 byte length");
@@ -5456,11 +5456,11 @@ function T1(a, n, o, s) {
5456
5456
  }
5457
5457
  return y.fill(0), { key: f, iv: g };
5458
5458
  }
5459
- var Yn = T1, Ls = F0, C1 = Ds, Br = zt.Buffer, F1 = $s, Us = Lr, q1 = en, P1 = Yn, D1 = Gt;
5459
+ var Yn = T1, Us = F0, C1 = Ns, Br = zt.Buffer, F1 = Ls, Os = Lr, q1 = en, P1 = Yn, D1 = Gt;
5460
5460
  function nn(a, n, o) {
5461
- Us.call(this), this._cache = new Jn(), this._cipher = new q1.AES(n), this._prev = Br.from(o), this._mode = a, this._autopadding = !0;
5461
+ Os.call(this), this._cache = new Jn(), this._cipher = new q1.AES(n), this._prev = Br.from(o), this._mode = a, this._autopadding = !0;
5462
5462
  }
5463
- D1(nn, Us);
5463
+ D1(nn, Os);
5464
5464
  nn.prototype._update = function(a) {
5465
5465
  this._cache.add(a);
5466
5466
  for (var n, o, s = []; n = this._cache.get(); )
@@ -5496,8 +5496,8 @@ Jn.prototype.flush = function() {
5496
5496
  n.writeUInt8(a, o);
5497
5497
  return Br.concat([this.cache, n]);
5498
5498
  };
5499
- function Os(a, n, o) {
5500
- var s = Ls[a.toLowerCase()];
5499
+ function zs(a, n, o) {
5500
+ var s = Us[a.toLowerCase()];
5501
5501
  if (!s)
5502
5502
  throw new TypeError("invalid suite type");
5503
5503
  if (typeof n == "string" && (n = Br.from(n)), n.length !== s.key / 8)
@@ -5507,19 +5507,19 @@ function Os(a, n, o) {
5507
5507
  return s.type === "stream" ? new F1(s.module, n, o) : s.type === "auth" ? new C1(s.module, n, o) : new nn(s.module, n, o);
5508
5508
  }
5509
5509
  function $1(a, n) {
5510
- var o = Ls[a.toLowerCase()];
5510
+ var o = Us[a.toLowerCase()];
5511
5511
  if (!o)
5512
5512
  throw new TypeError("invalid suite type");
5513
5513
  var s = P1(n, !1, o.key, o.iv);
5514
- return Os(a, s.key, s.iv);
5514
+ return zs(a, s.key, s.iv);
5515
5515
  }
5516
- E0.createCipheriv = Os;
5516
+ E0.createCipheriv = zs;
5517
5517
  E0.createCipher = $1;
5518
- var P0 = {}, L1 = Ds, di = zt.Buffer, zs = F0, U1 = $s, Ks = Lr, O1 = en, z1 = Yn, K1 = Gt;
5518
+ var P0 = {}, L1 = Ns, di = zt.Buffer, Ks = F0, U1 = Ls, Hs = Lr, O1 = en, z1 = Yn, K1 = Gt;
5519
5519
  function fn(a, n, o) {
5520
- Ks.call(this), this._cache = new Gn(), this._last = void 0, this._cipher = new O1.AES(n), this._prev = di.from(o), this._mode = a, this._autopadding = !0;
5520
+ Hs.call(this), this._cache = new Gn(), this._last = void 0, this._cipher = new O1.AES(n), this._prev = di.from(o), this._mode = a, this._autopadding = !0;
5521
5521
  }
5522
- K1(fn, Ks);
5522
+ K1(fn, Hs);
5523
5523
  fn.prototype._update = function(a) {
5524
5524
  this._cache.add(a);
5525
5525
  for (var n, o, s = []; n = this._cache.get(this._autopadding); )
@@ -5565,8 +5565,8 @@ function H1(a) {
5565
5565
  if (n !== 16)
5566
5566
  return a.slice(0, 16 - n);
5567
5567
  }
5568
- function Hs(a, n, o) {
5569
- var s = zs[a.toLowerCase()];
5568
+ function Zs(a, n, o) {
5569
+ var s = Ks[a.toLowerCase()];
5570
5570
  if (!s)
5571
5571
  throw new TypeError("invalid suite type");
5572
5572
  if (typeof o == "string" && (o = di.from(o)), s.mode !== "GCM" && o.length !== s.iv)
@@ -5576,24 +5576,24 @@ function Hs(a, n, o) {
5576
5576
  return s.type === "stream" ? new U1(s.module, n, o, !0) : s.type === "auth" ? new L1(s.module, n, o, !0) : new fn(s.module, n, o);
5577
5577
  }
5578
5578
  function Z1(a, n) {
5579
- var o = zs[a.toLowerCase()];
5579
+ var o = Ks[a.toLowerCase()];
5580
5580
  if (!o)
5581
5581
  throw new TypeError("invalid suite type");
5582
5582
  var s = z1(n, !1, o.key, o.iv);
5583
- return Hs(a, s.key, s.iv);
5583
+ return Zs(a, s.key, s.iv);
5584
5584
  }
5585
5585
  P0.createDecipher = Z1;
5586
- P0.createDecipheriv = Hs;
5587
- var Zs = E0, Ws = P0, W1 = Ts;
5586
+ P0.createDecipheriv = Zs;
5587
+ var Ws = E0, Vs = P0, W1 = Cs;
5588
5588
  function V1() {
5589
5589
  return Object.keys(W1);
5590
5590
  }
5591
- Oe.createCipher = Oe.Cipher = Zs.createCipher;
5592
- Oe.createCipheriv = Oe.Cipheriv = Zs.createCipheriv;
5593
- Oe.createDecipher = Oe.Decipher = Ws.createDecipher;
5594
- Oe.createDecipheriv = Oe.Decipheriv = Ws.createDecipheriv;
5591
+ Oe.createCipher = Oe.Cipher = Ws.createCipher;
5592
+ Oe.createCipheriv = Oe.Cipheriv = Ws.createCipheriv;
5593
+ Oe.createDecipher = Oe.Decipher = Vs.createDecipher;
5594
+ Oe.createDecipheriv = Oe.Decipheriv = Vs.createDecipheriv;
5595
5595
  Oe.listCiphers = Oe.getCiphers = V1;
5596
- var Vs = {};
5596
+ var Ys = {};
5597
5597
  (function(a) {
5598
5598
  a["des-ecb"] = {
5599
5599
  key: 8,
@@ -5614,8 +5614,8 @@ var Vs = {};
5614
5614
  key: 16,
5615
5615
  iv: 0
5616
5616
  };
5617
- })(Vs);
5618
- var Ys = Bc, D0 = Oe, Dr = F0, Ar = Vs, Js = Yn;
5617
+ })(Ys);
5618
+ var Js = Bc, D0 = Oe, Dr = F0, Ar = Ys, Gs = Yn;
5619
5619
  function Y1(a, n) {
5620
5620
  a = a.toLowerCase();
5621
5621
  var o, s;
@@ -5625,8 +5625,8 @@ function Y1(a, n) {
5625
5625
  o = Ar[a].key * 8, s = Ar[a].iv;
5626
5626
  else
5627
5627
  throw new TypeError("invalid suite type");
5628
- var m = Js(n, !1, o, s);
5629
- return Gs(a, m.key, m.iv);
5628
+ var m = Gs(n, !1, o, s);
5629
+ return Xs(a, m.key, m.iv);
5630
5630
  }
5631
5631
  function J1(a, n) {
5632
5632
  a = a.toLowerCase();
@@ -5637,30 +5637,30 @@ function J1(a, n) {
5637
5637
  o = Ar[a].key * 8, s = Ar[a].iv;
5638
5638
  else
5639
5639
  throw new TypeError("invalid suite type");
5640
- var m = Js(n, !1, o, s);
5641
- return Xs(a, m.key, m.iv);
5640
+ var m = Gs(n, !1, o, s);
5641
+ return js(a, m.key, m.iv);
5642
5642
  }
5643
- function Gs(a, n, o) {
5643
+ function Xs(a, n, o) {
5644
5644
  if (a = a.toLowerCase(), Dr[a])
5645
5645
  return D0.createCipheriv(a, n, o);
5646
5646
  if (Ar[a])
5647
- return new Ys({ key: n, iv: o, mode: a });
5647
+ return new Js({ key: n, iv: o, mode: a });
5648
5648
  throw new TypeError("invalid suite type");
5649
5649
  }
5650
- function Xs(a, n, o) {
5650
+ function js(a, n, o) {
5651
5651
  if (a = a.toLowerCase(), Dr[a])
5652
5652
  return D0.createDecipheriv(a, n, o);
5653
5653
  if (Ar[a])
5654
- return new Ys({ key: n, iv: o, mode: a, decrypt: !0 });
5654
+ return new Js({ key: n, iv: o, mode: a, decrypt: !0 });
5655
5655
  throw new TypeError("invalid suite type");
5656
5656
  }
5657
5657
  function G1() {
5658
5658
  return Object.keys(Ar).concat(D0.getCiphers());
5659
5659
  }
5660
5660
  tr.createCipher = tr.Cipher = Y1;
5661
- tr.createCipheriv = tr.Cipheriv = Gs;
5661
+ tr.createCipheriv = tr.Cipheriv = Xs;
5662
5662
  tr.createDecipher = tr.Decipher = J1;
5663
- tr.createDecipheriv = tr.Decipheriv = Xs;
5663
+ tr.createDecipheriv = tr.Decipheriv = js;
5664
5664
  tr.listCiphers = tr.getCiphers = G1;
5665
5665
  var Kr = {}, N0 = { exports: {} };
5666
5666
  N0.exports;
@@ -6842,7 +6842,7 @@ N0.exports;
6842
6842
  };
6843
6843
  })(a, Xt);
6844
6844
  })(N0);
6845
- var js = N0.exports, $0 = { exports: {} };
6845
+ var Qs = N0.exports, $0 = { exports: {} };
6846
6846
  $0.exports;
6847
6847
  (function(a) {
6848
6848
  (function(n, o) {
@@ -8022,11 +8022,11 @@ $0.exports;
8022
8022
  };
8023
8023
  })(a, Xt);
8024
8024
  })($0);
8025
- var X1 = $0.exports, dn = { exports: {} }, ka;
8025
+ var X1 = $0.exports, dn = { exports: {} }, Ia;
8026
8026
  function L0() {
8027
- if (ka)
8027
+ if (Ia)
8028
8028
  return dn.exports;
8029
- ka = 1;
8029
+ Ia = 1;
8030
8030
  var a;
8031
8031
  dn.exports = function(m) {
8032
8032
  return a || (a = new n(null)), a.generate(m);
@@ -8054,7 +8054,7 @@ function L0() {
8054
8054
  });
8055
8055
  else
8056
8056
  try {
8057
- var o = Qo();
8057
+ var o = tu();
8058
8058
  if (typeof o.randomBytes != "function")
8059
8059
  throw new Error("Not supported");
8060
8060
  n.prototype._rand = function(m) {
@@ -8064,11 +8064,11 @@ function L0() {
8064
8064
  }
8065
8065
  return dn.exports;
8066
8066
  }
8067
- var _f, Ia;
8068
- function Qs() {
8069
- if (Ia)
8067
+ var _f, Ra;
8068
+ function to() {
8069
+ if (Ra)
8070
8070
  return _f;
8071
- Ia = 1;
8071
+ Ra = 1;
8072
8072
  var a = X1, n = L0();
8073
8073
  function o(s) {
8074
8074
  this.rand = s || new n.Rand();
@@ -8129,14 +8129,14 @@ function Qs() {
8129
8129
  return !1;
8130
8130
  }, _f;
8131
8131
  }
8132
- var Sf, Ra;
8133
- function to() {
8134
- if (Ra)
8132
+ var Sf, Ta;
8133
+ function eo() {
8134
+ if (Ta)
8135
8135
  return Sf;
8136
- Ra = 1;
8136
+ Ta = 1;
8137
8137
  var a = yi;
8138
8138
  Sf = W, W.simpleSieve = D, W.fermatTest = U;
8139
- var n = js, o = new n(24), s = Qs(), m = new s(), f = new n(1), g = new n(2), y = new n(5);
8139
+ var n = Qs, o = new n(24), s = to(), m = new s(), f = new n(1), g = new n(2), y = new n(5);
8140
8140
  new n(16), new n(8);
8141
8141
  var S = new n(10), B = new n(3);
8142
8142
  new n(7);
@@ -8219,12 +8219,12 @@ const j1 = {
8219
8219
  modp17: nv,
8220
8220
  modp18: fv
8221
8221
  };
8222
- var Af, Ta;
8222
+ var Af, Ca;
8223
8223
  function hv() {
8224
- if (Ta)
8224
+ if (Ca)
8225
8225
  return Af;
8226
- Ta = 1;
8227
- var a = js, n = Qs(), o = new n(), s = new a(24), m = new a(11), f = new a(10), g = new a(3), y = new a(7), S = to(), B = yi;
8226
+ Ca = 1;
8227
+ var a = Qs, n = to(), o = new n(), s = new a(24), m = new a(11), f = new a(10), g = new a(3), y = new a(7), S = eo(), B = yi;
8228
8228
  Af = D;
8229
8229
  function M(W, z) {
8230
8230
  return z = z || "utf8", mt.isBuffer(W) || (W = new mt(W, z)), this._pub = new a(W), this;
@@ -8289,12 +8289,12 @@ function hv() {
8289
8289
  }
8290
8290
  return Af;
8291
8291
  }
8292
- var Ca;
8292
+ var Fa;
8293
8293
  function sv() {
8294
- if (Ca)
8294
+ if (Fa)
8295
8295
  return Kr;
8296
- Ca = 1;
8297
- var a = to(), n = av, o = hv();
8296
+ Fa = 1;
8297
+ var a = eo(), n = av, o = hv();
8298
8298
  function s(g) {
8299
8299
  var y = new mt(n[g].prime, "hex"), S = new mt(n[g].gen, "hex");
8300
8300
  return new o(y, S);
@@ -8341,7 +8341,7 @@ function ov(a, n, o, s) {
8341
8341
  }
8342
8342
  var Xn = d0.exports, uv = {}.toString, lv = Array.isArray || function(a) {
8343
8343
  return uv.call(a) == "[object Array]";
8344
- }, eo = Ne.EventEmitter, c0 = { exports: {} };
8344
+ }, ro = Ne.EventEmitter, c0 = { exports: {} };
8345
8345
  (function(a, n) {
8346
8346
  var o = br, s = o.Buffer;
8347
8347
  function m(g, y) {
@@ -8433,9 +8433,9 @@ Me.isBuffer = br.Buffer.isBuffer;
8433
8433
  function jn(a) {
8434
8434
  return Object.prototype.toString.call(a);
8435
8435
  }
8436
- var Bf = { exports: {} }, Fa;
8436
+ var Bf = { exports: {} }, qa;
8437
8437
  function Bv() {
8438
- return Fa || (Fa = 1, function(a) {
8438
+ return qa || (qa = 1, function(a) {
8439
8439
  function n(f, g) {
8440
8440
  if (!(f instanceof g))
8441
8441
  throw new TypeError("Cannot call a class as a function");
@@ -8493,7 +8493,7 @@ function kv() {
8493
8493
  function vn(a, n) {
8494
8494
  a.emit("error", n);
8495
8495
  }
8496
- var ro = {
8496
+ var io = {
8497
8497
  destroy: Ev,
8498
8498
  undestroy: kv
8499
8499
  }, Iv = Rv;
@@ -8521,11 +8521,11 @@ function Ef(a) {
8521
8521
  var n = Xt.localStorage[a];
8522
8522
  return n == null ? !1 : String(n).toLowerCase() === "true";
8523
8523
  }
8524
- var kf, qa;
8525
- function io() {
8526
- if (qa)
8524
+ var kf, Pa;
8525
+ function no() {
8526
+ if (Pa)
8527
8527
  return kf;
8528
- qa = 1;
8528
+ Pa = 1;
8529
8529
  var a = Xn;
8530
8530
  kf = U;
8531
8531
  function n(c) {
@@ -8540,7 +8540,7 @@ function io() {
8540
8540
  m.inherits = Gt;
8541
8541
  var f = {
8542
8542
  deprecate: Iv
8543
- }, g = eo, y = U0.Buffer, S = (typeof Xt != "undefined" ? Xt : typeof window != "undefined" ? window : typeof self != "undefined" ? self : {}).Uint8Array || function() {
8543
+ }, g = ro, y = U0.Buffer, S = (typeof Xt != "undefined" ? Xt : typeof window != "undefined" ? window : typeof self != "undefined" ? self : {}).Uint8Array || function() {
8544
8544
  };
8545
8545
  function B(c) {
8546
8546
  return y.from(c);
@@ -8548,7 +8548,7 @@ function io() {
8548
8548
  function M(c) {
8549
8549
  return y.isBuffer(c) || c instanceof S;
8550
8550
  }
8551
- var x = ro;
8551
+ var x = io;
8552
8552
  m.inherits(U, g);
8553
8553
  function I() {
8554
8554
  }
@@ -8734,11 +8734,11 @@ function io() {
8734
8734
  this.end(), v(c);
8735
8735
  }, kf;
8736
8736
  }
8737
- var If, Pa;
8737
+ var If, Da;
8738
8738
  function ci() {
8739
- if (Pa)
8739
+ if (Da)
8740
8740
  return If;
8741
- Pa = 1;
8741
+ Da = 1;
8742
8742
  var a = Xn, n = Object.keys || function(x) {
8743
8743
  var I = [];
8744
8744
  for (var k in x)
@@ -8748,7 +8748,7 @@ function ci() {
8748
8748
  If = S;
8749
8749
  var o = Object.create(Me);
8750
8750
  o.inherits = Gt;
8751
- var s = no(), m = io();
8751
+ var s = fo(), m = no();
8752
8752
  o.inherits(S, s);
8753
8753
  for (var f = n(m.prototype), g = 0; g < f.length; g++) {
8754
8754
  var y = f[g];
@@ -8785,18 +8785,18 @@ function ci() {
8785
8785
  this.push(null), this.end(), a.nextTick(I, x);
8786
8786
  }, If;
8787
8787
  }
8788
- var Rf, Da;
8789
- function no() {
8790
- if (Da)
8788
+ var Rf, Na;
8789
+ function fo() {
8790
+ if (Na)
8791
8791
  return Rf;
8792
- Da = 1;
8792
+ Na = 1;
8793
8793
  var a = Xn;
8794
8794
  Rf = $;
8795
8795
  var n = lv, o;
8796
8796
  $.ReadableState = z, Ne.EventEmitter;
8797
8797
  var s = function(R, P) {
8798
8798
  return R.listeners(P).length;
8799
- }, m = eo, f = U0.Buffer, g = (typeof Xt != "undefined" ? Xt : typeof window != "undefined" ? window : typeof self != "undefined" ? self : {}).Uint8Array || function() {
8799
+ }, m = ro, f = U0.Buffer, g = (typeof Xt != "undefined" ? Xt : typeof window != "undefined" ? window : typeof self != "undefined" ? self : {}).Uint8Array || function() {
8800
8800
  };
8801
8801
  function y(R) {
8802
8802
  return f.from(R);
@@ -8809,7 +8809,7 @@ function no() {
8809
8809
  var M = Ne, x = void 0;
8810
8810
  M && M.debuglog ? x = M.debuglog("stream") : x = function() {
8811
8811
  };
8812
- var I = Bv(), k = ro, D;
8812
+ var I = Bv(), k = io, D;
8813
8813
  B.inherits($, m);
8814
8814
  var U = ["error", "close", "destroy", "pause", "resume"];
8815
8815
  function W(R, P, N) {
@@ -9103,9 +9103,9 @@ function no() {
9103
9103
  }
9104
9104
  return Rf;
9105
9105
  }
9106
- var fo = Er, Qn = ci(), ao = Object.create(Me);
9107
- ao.inherits = Gt;
9108
- ao.inherits(Er, Qn);
9106
+ var ao = Er, Qn = ci(), ho = Object.create(Me);
9107
+ ho.inherits = Gt;
9108
+ ho.inherits(Er, Qn);
9109
9109
  function Tv(a, n) {
9110
9110
  var o = this._transformState;
9111
9111
  o.transforming = !1;
@@ -9131,8 +9131,8 @@ function Er(a) {
9131
9131
  function Cv() {
9132
9132
  var a = this;
9133
9133
  typeof this._flush == "function" ? this._flush(function(n, o) {
9134
- Na(a, n, o);
9135
- }) : Na(this, null, null);
9134
+ $a(a, n, o);
9135
+ }) : $a(this, null, null);
9136
9136
  }
9137
9137
  Er.prototype.push = function(a, n) {
9138
9138
  return this._transformState.needTransform = !1, Qn.prototype.push.call(this, a, n);
@@ -9157,7 +9157,7 @@ Er.prototype._destroy = function(a, n) {
9157
9157
  n(s), o.emit("close");
9158
9158
  });
9159
9159
  };
9160
- function Na(a, n, o) {
9160
+ function $a(a, n, o) {
9161
9161
  if (n)
9162
9162
  return a.emit("error", n);
9163
9163
  if (o != null && a.push(o), a._writableState.length)
@@ -9166,19 +9166,19 @@ function Na(a, n, o) {
9166
9166
  throw new Error("Calling transform done when still transforming");
9167
9167
  return a.push(null);
9168
9168
  }
9169
- var Fv = Wi, ho = fo, so = Object.create(Me);
9170
- so.inherits = Gt;
9171
- so.inherits(Wi, ho);
9169
+ var Fv = Wi, so = ao, oo = Object.create(Me);
9170
+ oo.inherits = Gt;
9171
+ oo.inherits(Wi, so);
9172
9172
  function Wi(a) {
9173
9173
  if (!(this instanceof Wi))
9174
9174
  return new Wi(a);
9175
- ho.call(this, a);
9175
+ so.call(this, a);
9176
9176
  }
9177
9177
  Wi.prototype._transform = function(a, n, o) {
9178
9178
  o(null, a);
9179
9179
  };
9180
9180
  (function(a, n) {
9181
- n = a.exports = no(), n.Stream = n, n.Readable = n, n.Writable = io(), n.Duplex = ci(), n.Transform = fo, n.PassThrough = Fv;
9181
+ n = a.exports = fo(), n.Stream = n, n.Readable = n, n.Writable = no(), n.Duplex = ci(), n.Transform = ao, n.PassThrough = Fv;
9182
9182
  })(l0, l0.exports);
9183
9183
  var qv = l0.exports, Pi = { exports: {} }, O0 = { exports: {} };
9184
9184
  O0.exports;
@@ -10335,7 +10335,7 @@ O0.exports;
10335
10335
  })(a, Xt);
10336
10336
  })(O0);
10337
10337
  var z0 = O0.exports, ui = z0, Pv = yi, Dv = zt.Buffer;
10338
- function oo(a) {
10338
+ function uo(a) {
10339
10339
  var n = a.modulus.byteLength(), o;
10340
10340
  do
10341
10341
  o = new ui(Pv(n));
@@ -10343,15 +10343,15 @@ function oo(a) {
10343
10343
  return o;
10344
10344
  }
10345
10345
  function Nv(a) {
10346
- var n = oo(a), o = n.toRed(ui.mont(a.modulus)).redPow(new ui(a.publicExponent)).fromRed();
10346
+ var n = uo(a), o = n.toRed(ui.mont(a.modulus)).redPow(new ui(a.publicExponent)).fromRed();
10347
10347
  return { blinder: o, unblinder: n.invm(a.modulus) };
10348
10348
  }
10349
- function uo(a, n) {
10349
+ function lo(a, n) {
10350
10350
  var o = Nv(n), s = n.modulus.byteLength(), m = new ui(a).mul(o.blinder).umod(n.modulus), f = m.toRed(ui.mont(n.prime1)), g = m.toRed(ui.mont(n.prime2)), y = n.coefficient, S = n.prime1, B = n.prime2, M = f.redPow(n.exponent1).fromRed(), x = g.redPow(n.exponent2).fromRed(), I = M.isub(x).imul(y).umod(S).imul(B);
10351
10351
  return x.iadd(I).imul(o.unblinder).umod(n.modulus).toArrayLike(Dv, "be", s);
10352
10352
  }
10353
- uo.getr = oo;
10354
- var K0 = uo, Tf = {};
10353
+ lo.getr = uo;
10354
+ var K0 = lo, Tf = {};
10355
10355
  const $v = "elliptic", Lv = "6.6.1", Uv = "EC cryptography", Ov = "lib/elliptic.js", zv = [
10356
10356
  "lib"
10357
10357
  ], Kv = {
@@ -12254,11 +12254,11 @@ ke.prototype.inspect = function() {
12254
12254
  ke.prototype.isInfinity = function() {
12255
12255
  return this.z.cmpn(0) === 0;
12256
12256
  };
12257
- var si = Tr, lo = Gt, ef = tf, ip = Ke;
12257
+ var si = Tr, co = Gt, ef = tf, ip = Ke;
12258
12258
  function _i(a) {
12259
12259
  ef.call(this, "mont", a), this.a = new si(a.a, 16).toRed(this.red), this.b = new si(a.b, 16).toRed(this.red), this.i4 = new si(4).toRed(this.red).redInvm(), this.two = new si(2).toRed(this.red), this.a24 = this.i4.redMul(this.a.redAdd(this.two));
12260
12260
  }
12261
- lo(_i, ef);
12261
+ co(_i, ef);
12262
12262
  var np = _i;
12263
12263
  _i.prototype.validate = function(n) {
12264
12264
  var o = n.normalize().x, s = o.redSqr(), m = s.redMul(o).redAdd(s.redMul(this.a)).redAdd(o), f = m.redSqrt();
@@ -12267,7 +12267,7 @@ _i.prototype.validate = function(n) {
12267
12267
  function Ae(a, n, o) {
12268
12268
  ef.BasePoint.call(this, a, "projective"), n === null && o === null ? (this.x = this.curve.one, this.z = this.curve.zero) : (this.x = new si(n, 16), this.z = new si(o, 16), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red)));
12269
12269
  }
12270
- lo(Ae, ef.BasePoint);
12270
+ co(Ae, ef.BasePoint);
12271
12271
  _i.prototype.decodePoint = function(n, o) {
12272
12272
  return this.point(ip.toArray(n, o), 1);
12273
12273
  };
@@ -12324,11 +12324,11 @@ Ae.prototype.normalize = function() {
12324
12324
  Ae.prototype.getX = function() {
12325
12325
  return this.normalize(), this.x.fromRed();
12326
12326
  };
12327
- var fp = Ke, Sr = Tr, co = Gt, rf = tf, ap = fp.assert;
12327
+ var fp = Ke, Sr = Tr, vo = Gt, rf = tf, ap = fp.assert;
12328
12328
  function yr(a) {
12329
12329
  this.twisted = (a.a | 0) !== 1, this.mOneA = this.twisted && (a.a | 0) === -1, this.extended = this.mOneA, rf.call(this, "edwards", a), this.a = new Sr(a.a, 16).umod(this.red.m), this.a = this.a.toRed(this.red), this.c = new Sr(a.c, 16).toRed(this.red), this.c2 = this.c.redSqr(), this.d = new Sr(a.d, 16).toRed(this.red), this.dd = this.d.redAdd(this.d), ap(!this.twisted || this.c.fromRed().cmpn(1) === 0), this.oneC = (a.c | 0) === 1;
12330
12330
  }
12331
- co(yr, rf);
12331
+ vo(yr, rf);
12332
12332
  var hp = yr;
12333
12333
  yr.prototype._mulA = function(n) {
12334
12334
  return this.mOneA ? n.redNeg() : this.a.redMul(n);
@@ -12370,7 +12370,7 @@ yr.prototype.validate = function(n) {
12370
12370
  function ge(a, n, o, s, m) {
12371
12371
  rf.BasePoint.call(this, a, "projective"), n === null && o === null && s === null ? (this.x = this.curve.zero, this.y = this.curve.one, this.z = this.curve.one, this.t = this.curve.zero, this.zOne = !0) : (this.x = new Sr(n, 16), this.y = new Sr(o, 16), this.z = s ? new Sr(s, 16) : this.curve.one, this.t = m && new Sr(m, 16), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red)), this.t && !this.t.red && (this.t = this.t.toRed(this.curve.red)), this.zOne = this.z === this.curve.one, this.curve.extended && !this.t && (this.t = this.x.redMul(this.y), this.zOne || (this.t = this.t.redMul(this.z.redInvm()))));
12372
12372
  }
12373
- co(ge, rf.BasePoint);
12373
+ vo(ge, rf.BasePoint);
12374
12374
  yr.prototype.pointFromJSON = function(n) {
12375
12375
  return ge.fromJSON(this, n);
12376
12376
  };
@@ -12494,31 +12494,31 @@ function lp(a, n) {
12494
12494
  jt.toArray = lp;
12495
12495
  function dp(a) {
12496
12496
  for (var n = "", o = 0; o < a.length; o++)
12497
- n += po(a[o].toString(16));
12497
+ n += mo(a[o].toString(16));
12498
12498
  return n;
12499
12499
  }
12500
12500
  jt.toHex = dp;
12501
- function vo(a) {
12501
+ function po(a) {
12502
12502
  var n = a >>> 24 | a >>> 8 & 65280 | a << 8 & 16711680 | (a & 255) << 24;
12503
12503
  return n >>> 0;
12504
12504
  }
12505
- jt.htonl = vo;
12505
+ jt.htonl = po;
12506
12506
  function cp(a, n) {
12507
12507
  for (var o = "", s = 0; s < a.length; s++) {
12508
12508
  var m = a[s];
12509
- n === "little" && (m = vo(m)), o += mo(m.toString(16));
12509
+ n === "little" && (m = po(m)), o += go(m.toString(16));
12510
12510
  }
12511
12511
  return o;
12512
12512
  }
12513
12513
  jt.toHex32 = cp;
12514
- function po(a) {
12514
+ function mo(a) {
12515
12515
  return a.length === 1 ? "0" + a : a;
12516
12516
  }
12517
- jt.zero2 = po;
12518
- function mo(a) {
12517
+ jt.zero2 = mo;
12518
+ function go(a) {
12519
12519
  return a.length === 7 ? "0" + a : a.length === 6 ? "00" + a : a.length === 5 ? "000" + a : a.length === 4 ? "0000" + a : a.length === 3 ? "00000" + a : a.length === 2 ? "000000" + a : a.length === 1 ? "0000000" + a : a;
12520
12520
  }
12521
- jt.zero8 = mo;
12521
+ jt.zero8 = go;
12522
12522
  function vp(a, n, o, s) {
12523
12523
  var m = o - n;
12524
12524
  sp(m % 4 === 0);
@@ -12619,16 +12619,16 @@ function Cp(a, n, o) {
12619
12619
  return s >>> 0;
12620
12620
  }
12621
12621
  jt.shr64_lo = Cp;
12622
- var Si = {}, $a = jt, Fp = Ve;
12622
+ var Si = {}, La = jt, Fp = Ve;
12623
12623
  function af() {
12624
12624
  this.pending = null, this.pendingTotal = 0, this.blockSize = this.constructor.blockSize, this.outSize = this.constructor.outSize, this.hmacStrength = this.constructor.hmacStrength, this.padLength = this.constructor.padLength / 8, this.endian = "big", this._delta8 = this.blockSize / 8, this._delta32 = this.blockSize / 32;
12625
12625
  }
12626
12626
  Si.BlockHash = af;
12627
12627
  af.prototype.update = function(n, o) {
12628
- if (n = $a.toArray(n, o), this.pending ? this.pending = this.pending.concat(n) : this.pending = n, this.pendingTotal += n.length, this.pending.length >= this._delta8) {
12628
+ if (n = La.toArray(n, o), this.pending ? this.pending = this.pending.concat(n) : this.pending = n, this.pendingTotal += n.length, this.pending.length >= this._delta8) {
12629
12629
  n = this.pending;
12630
12630
  var s = n.length % this._delta8;
12631
- this.pending = n.slice(n.length - s, n.length), this.pending.length === 0 && (this.pending = null), n = $a.join32(n, 0, n.length - s, this.endian);
12631
+ this.pending = n.slice(n.length - s, n.length), this.pending.length === 0 && (this.pending = null), n = La.join32(n, 0, n.length - s, this.endian);
12632
12632
  for (var m = 0; m < n.length; m += this._delta32)
12633
12633
  this._update(n, m, m + this._delta32);
12634
12634
  }
@@ -12654,25 +12654,25 @@ af.prototype._pad = function() {
12654
12654
  var Ai = {}, wr = {}, qp = jt, ur = qp.rotr32;
12655
12655
  function Pp(a, n, o, s) {
12656
12656
  if (a === 0)
12657
- return go(n, o, s);
12657
+ return bo(n, o, s);
12658
12658
  if (a === 1 || a === 3)
12659
- return yo(n, o, s);
12659
+ return wo(n, o, s);
12660
12660
  if (a === 2)
12661
- return bo(n, o, s);
12661
+ return yo(n, o, s);
12662
12662
  }
12663
12663
  wr.ft_1 = Pp;
12664
- function go(a, n, o) {
12664
+ function bo(a, n, o) {
12665
12665
  return a & n ^ ~a & o;
12666
12666
  }
12667
- wr.ch32 = go;
12668
- function bo(a, n, o) {
12667
+ wr.ch32 = bo;
12668
+ function yo(a, n, o) {
12669
12669
  return a & n ^ a & o ^ n & o;
12670
12670
  }
12671
- wr.maj32 = bo;
12672
- function yo(a, n, o) {
12671
+ wr.maj32 = yo;
12672
+ function wo(a, n, o) {
12673
12673
  return a ^ n ^ o;
12674
12674
  }
12675
- wr.p32 = yo;
12675
+ wr.p32 = wo;
12676
12676
  function Dp(a) {
12677
12677
  return ur(a, 2) ^ ur(a, 13) ^ ur(a, 22);
12678
12678
  }
@@ -12689,7 +12689,7 @@ function Lp(a) {
12689
12689
  return ur(a, 17) ^ ur(a, 19) ^ a >>> 10;
12690
12690
  }
12691
12691
  wr.g1_256 = Lp;
12692
- var vi = jt, Up = Si, Op = wr, Cf = vi.rotl32, Di = vi.sum32, zp = vi.sum32_5, Kp = Op.ft_1, wo = Up.BlockHash, Hp = [
12692
+ var vi = jt, Up = Si, Op = wr, Cf = vi.rotl32, Di = vi.sum32, zp = vi.sum32_5, Kp = Op.ft_1, Mo = Up.BlockHash, Hp = [
12693
12693
  1518500249,
12694
12694
  1859775393,
12695
12695
  2400959708,
@@ -12698,7 +12698,7 @@ var vi = jt, Up = Si, Op = wr, Cf = vi.rotl32, Di = vi.sum32, zp = vi.sum32_5, K
12698
12698
  function pr() {
12699
12699
  if (!(this instanceof pr))
12700
12700
  return new pr();
12701
- wo.call(this), this.h = [
12701
+ Mo.call(this), this.h = [
12702
12702
  1732584193,
12703
12703
  4023233417,
12704
12704
  2562383102,
@@ -12706,7 +12706,7 @@ function pr() {
12706
12706
  3285377520
12707
12707
  ], this.W = new Array(80);
12708
12708
  }
12709
- vi.inherits(pr, wo);
12709
+ vi.inherits(pr, Mo);
12710
12710
  var Zp = pr;
12711
12711
  pr.blockSize = 512;
12712
12712
  pr.outSize = 160;
@@ -12727,7 +12727,7 @@ pr.prototype._update = function(n, o) {
12727
12727
  pr.prototype._digest = function(n) {
12728
12728
  return n === "hex" ? vi.toHex32(this.h, "big") : vi.split32(this.h, "big");
12729
12729
  };
12730
- var pi = jt, Wp = Si, Bi = wr, Vp = Ve, je = pi.sum32, Yp = pi.sum32_4, Jp = pi.sum32_5, Gp = Bi.ch32, Xp = Bi.maj32, jp = Bi.s0_256, Qp = Bi.s1_256, tm = Bi.g0_256, em = Bi.g1_256, Mo = Wp.BlockHash, rm = [
12730
+ var pi = jt, Wp = Si, Bi = wr, Vp = Ve, je = pi.sum32, Yp = pi.sum32_4, Jp = pi.sum32_5, Gp = Bi.ch32, Xp = Bi.maj32, jp = Bi.s0_256, Qp = Bi.s1_256, tm = Bi.g0_256, em = Bi.g1_256, xo = Wp.BlockHash, rm = [
12731
12731
  1116352408,
12732
12732
  1899447441,
12733
12733
  3049323471,
@@ -12796,7 +12796,7 @@ var pi = jt, Wp = Si, Bi = wr, Vp = Ve, je = pi.sum32, Yp = pi.sum32_4, Jp = pi.
12796
12796
  function mr() {
12797
12797
  if (!(this instanceof mr))
12798
12798
  return new mr();
12799
- Mo.call(this), this.h = [
12799
+ xo.call(this), this.h = [
12800
12800
  1779033703,
12801
12801
  3144134277,
12802
12802
  1013904242,
@@ -12807,8 +12807,8 @@ function mr() {
12807
12807
  1541459225
12808
12808
  ], this.k = rm, this.W = new Array(64);
12809
12809
  }
12810
- pi.inherits(mr, Mo);
12811
- var xo = mr;
12810
+ pi.inherits(mr, xo);
12811
+ var _o = mr;
12812
12812
  mr.blockSize = 512;
12813
12813
  mr.outSize = 256;
12814
12814
  mr.hmacStrength = 192;
@@ -12828,11 +12828,11 @@ mr.prototype._update = function(n, o) {
12828
12828
  mr.prototype._digest = function(n) {
12829
12829
  return n === "hex" ? pi.toHex32(this.h, "big") : pi.split32(this.h, "big");
12830
12830
  };
12831
- var v0 = jt, _o = xo;
12831
+ var v0 = jt, So = _o;
12832
12832
  function kr() {
12833
12833
  if (!(this instanceof kr))
12834
12834
  return new kr();
12835
- _o.call(this), this.h = [
12835
+ So.call(this), this.h = [
12836
12836
  3238371032,
12837
12837
  914150663,
12838
12838
  812702999,
@@ -12843,7 +12843,7 @@ function kr() {
12843
12843
  3204075428
12844
12844
  ];
12845
12845
  }
12846
- v0.inherits(kr, _o);
12846
+ v0.inherits(kr, So);
12847
12847
  var im = kr;
12848
12848
  kr.blockSize = 512;
12849
12849
  kr.outSize = 224;
@@ -12852,7 +12852,7 @@ kr.padLength = 64;
12852
12852
  kr.prototype._digest = function(n) {
12853
12853
  return n === "hex" ? v0.toHex32(this.h.slice(0, 7), "big") : v0.split32(this.h.slice(0, 7), "big");
12854
12854
  };
12855
- var $e = jt, nm = Si, fm = Ve, lr = $e.rotr64_hi, dr = $e.rotr64_lo, So = $e.shr64_hi, Ao = $e.shr64_lo, Cr = $e.sum64, Ff = $e.sum64_hi, qf = $e.sum64_lo, am = $e.sum64_4_hi, hm = $e.sum64_4_lo, sm = $e.sum64_5_hi, om = $e.sum64_5_lo, Bo = nm.BlockHash, um = [
12855
+ var $e = jt, nm = Si, fm = Ve, lr = $e.rotr64_hi, dr = $e.rotr64_lo, Ao = $e.shr64_hi, Bo = $e.shr64_lo, Cr = $e.sum64, Ff = $e.sum64_hi, qf = $e.sum64_lo, am = $e.sum64_4_hi, hm = $e.sum64_4_lo, sm = $e.sum64_5_hi, om = $e.sum64_5_lo, Eo = nm.BlockHash, um = [
12856
12856
  1116352408,
12857
12857
  3609767458,
12858
12858
  1899447441,
@@ -13017,7 +13017,7 @@ var $e = jt, nm = Si, fm = Ve, lr = $e.rotr64_hi, dr = $e.rotr64_lo, So = $e.shr
13017
13017
  function er() {
13018
13018
  if (!(this instanceof er))
13019
13019
  return new er();
13020
- Bo.call(this), this.h = [
13020
+ Eo.call(this), this.h = [
13021
13021
  1779033703,
13022
13022
  4089235720,
13023
13023
  3144134277,
@@ -13036,8 +13036,8 @@ function er() {
13036
13036
  327033209
13037
13037
  ], this.k = um, this.W = new Array(160);
13038
13038
  }
13039
- $e.inherits(er, Bo);
13040
- var Eo = er;
13039
+ $e.inherits(er, Eo);
13040
+ var ko = er;
13041
13041
  er.blockSize = 1024;
13042
13042
  er.outSize = 512;
13043
13043
  er.hmacStrength = 192;
@@ -13138,26 +13138,26 @@ function bm(a, n) {
13138
13138
  return f < 0 && (f += 4294967296), f;
13139
13139
  }
13140
13140
  function ym(a, n) {
13141
- var o = lr(a, n, 1), s = lr(a, n, 8), m = So(a, n, 7), f = o ^ s ^ m;
13141
+ var o = lr(a, n, 1), s = lr(a, n, 8), m = Ao(a, n, 7), f = o ^ s ^ m;
13142
13142
  return f < 0 && (f += 4294967296), f;
13143
13143
  }
13144
13144
  function wm(a, n) {
13145
- var o = dr(a, n, 1), s = dr(a, n, 8), m = Ao(a, n, 7), f = o ^ s ^ m;
13145
+ var o = dr(a, n, 1), s = dr(a, n, 8), m = Bo(a, n, 7), f = o ^ s ^ m;
13146
13146
  return f < 0 && (f += 4294967296), f;
13147
13147
  }
13148
13148
  function Mm(a, n) {
13149
- var o = lr(a, n, 19), s = lr(n, a, 29), m = So(a, n, 6), f = o ^ s ^ m;
13149
+ var o = lr(a, n, 19), s = lr(n, a, 29), m = Ao(a, n, 6), f = o ^ s ^ m;
13150
13150
  return f < 0 && (f += 4294967296), f;
13151
13151
  }
13152
13152
  function xm(a, n) {
13153
- var o = dr(a, n, 19), s = dr(n, a, 29), m = Ao(a, n, 6), f = o ^ s ^ m;
13153
+ var o = dr(a, n, 19), s = dr(n, a, 29), m = Bo(a, n, 6), f = o ^ s ^ m;
13154
13154
  return f < 0 && (f += 4294967296), f;
13155
13155
  }
13156
- var p0 = jt, ko = Eo;
13156
+ var p0 = jt, Io = ko;
13157
13157
  function Ir() {
13158
13158
  if (!(this instanceof Ir))
13159
13159
  return new Ir();
13160
- ko.call(this), this.h = [
13160
+ Io.call(this), this.h = [
13161
13161
  3418070365,
13162
13162
  3238371032,
13163
13163
  1654270250,
@@ -13176,7 +13176,7 @@ function Ir() {
13176
13176
  3204075428
13177
13177
  ];
13178
13178
  }
13179
- p0.inherits(Ir, ko);
13179
+ p0.inherits(Ir, Io);
13180
13180
  var _m = Ir;
13181
13181
  Ir.blockSize = 1024;
13182
13182
  Ir.outSize = 384;
@@ -13187,33 +13187,33 @@ Ir.prototype._digest = function(n) {
13187
13187
  };
13188
13188
  Ai.sha1 = Zp;
13189
13189
  Ai.sha224 = im;
13190
- Ai.sha256 = xo;
13190
+ Ai.sha256 = _o;
13191
13191
  Ai.sha384 = _m;
13192
- Ai.sha512 = Eo;
13193
- var Io = {}, Qr = jt, Sm = Si, pn = Qr.rotl32, La = Qr.sum32, Ni = Qr.sum32_3, Ua = Qr.sum32_4, Ro = Sm.BlockHash;
13192
+ Ai.sha512 = ko;
13193
+ var Ro = {}, Qr = jt, Sm = Si, pn = Qr.rotl32, Ua = Qr.sum32, Ni = Qr.sum32_3, Oa = Qr.sum32_4, To = Sm.BlockHash;
13194
13194
  function gr() {
13195
13195
  if (!(this instanceof gr))
13196
13196
  return new gr();
13197
- Ro.call(this), this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.endian = "little";
13197
+ To.call(this), this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.endian = "little";
13198
13198
  }
13199
- Qr.inherits(gr, Ro);
13200
- Io.ripemd160 = gr;
13199
+ Qr.inherits(gr, To);
13200
+ Ro.ripemd160 = gr;
13201
13201
  gr.blockSize = 512;
13202
13202
  gr.outSize = 160;
13203
13203
  gr.hmacStrength = 192;
13204
13204
  gr.padLength = 64;
13205
13205
  gr.prototype._update = function(n, o) {
13206
13206
  for (var s = this.h[0], m = this.h[1], f = this.h[2], g = this.h[3], y = this.h[4], S = s, B = m, M = f, x = g, I = y, k = 0; k < 80; k++) {
13207
- var D = La(
13207
+ var D = Ua(
13208
13208
  pn(
13209
- Ua(s, Oa(k, m, f, g), n[Em[k] + o], Am(k)),
13209
+ Oa(s, za(k, m, f, g), n[Em[k] + o], Am(k)),
13210
13210
  Im[k]
13211
13211
  ),
13212
13212
  y
13213
13213
  );
13214
- s = y, y = g, g = pn(f, 10), f = m, m = D, D = La(
13214
+ s = y, y = g, g = pn(f, 10), f = m, m = D, D = Ua(
13215
13215
  pn(
13216
- Ua(S, Oa(79 - k, B, M, x), n[km[k] + o], Bm(k)),
13216
+ Oa(S, za(79 - k, B, M, x), n[km[k] + o], Bm(k)),
13217
13217
  Rm[k]
13218
13218
  ),
13219
13219
  I
@@ -13224,7 +13224,7 @@ gr.prototype._update = function(n, o) {
13224
13224
  gr.prototype._digest = function(n) {
13225
13225
  return n === "hex" ? Qr.toHex32(this.h, "little") : Qr.split32(this.h, "little");
13226
13226
  };
13227
- function Oa(a, n, o, s) {
13227
+ function za(a, n, o, s) {
13228
13228
  return a <= 15 ? n ^ o ^ s : a <= 31 ? n & o | ~n & s : a <= 47 ? (n | ~o) ^ s : a <= 63 ? n & s | o & ~s : n ^ (o | ~s);
13229
13229
  }
13230
13230
  function Am(a) {
@@ -13582,11 +13582,11 @@ mi.prototype.digest = function(n) {
13582
13582
  };
13583
13583
  (function(a) {
13584
13584
  var n = a;
13585
- n.utils = jt, n.common = Si, n.sha = Ai, n.ripemd = Io, n.hmac = Fm, n.sha1 = n.sha.sha1, n.sha256 = n.sha.sha256, n.sha224 = n.sha.sha224, n.sha384 = n.sha.sha384, n.sha512 = n.sha.sha512, n.ripemd160 = n.ripemd.ripemd160;
13585
+ n.utils = jt, n.common = Si, n.sha = Ai, n.ripemd = Ro, n.hmac = Fm, n.sha1 = n.sha.sha1, n.sha256 = n.sha.sha256, n.sha224 = n.sha.sha224, n.sha384 = n.sha.sha384, n.sha512 = n.sha.sha512, n.ripemd160 = n.ripemd.ripemd160;
13586
13586
  })(ff);
13587
- var Pf, za;
13587
+ var Pf, Ka;
13588
13588
  function qm() {
13589
- return za || (za = 1, Pf = {
13589
+ return Ka || (Ka = 1, Pf = {
13590
13590
  doubles: {
13591
13591
  step: 4,
13592
13592
  points: [
@@ -14517,13 +14517,13 @@ function qm() {
14517
14517
  ]
14518
14518
  });
14519
14519
  })(nf);
14520
- var Pm = ff, Gr = Z0, To = Ve;
14520
+ var Pm = ff, Gr = Z0, Co = Ve;
14521
14521
  function Nr(a) {
14522
14522
  if (!(this instanceof Nr))
14523
14523
  return new Nr(a);
14524
14524
  this.hash = a.hash, this.predResist = !!a.predResist, this.outLen = this.hash.outSize, this.minEntropy = a.minEntropy || this.hash.hmacStrength, this._reseed = null, this.reseedInterval = null, this.K = null, this.V = null;
14525
14525
  var n = Gr.toArray(a.entropy, a.entropyEnc || "hex"), o = Gr.toArray(a.nonce, a.nonceEnc || "hex"), s = Gr.toArray(a.pers, a.persEnc || "hex");
14526
- To(
14526
+ Co(
14527
14527
  n.length >= this.minEntropy / 8,
14528
14528
  "Not enough entropy. Minimum is: " + this.minEntropy + " bits"
14529
14529
  ), this._init(n, o, s);
@@ -14544,7 +14544,7 @@ Nr.prototype._update = function(n) {
14544
14544
  n && (o = o.update(n)), this.K = o.digest(), this.V = this._hmac().update(this.V).digest(), n && (this.K = this._hmac().update(this.V).update([1]).update(n).digest(), this.V = this._hmac().update(this.V).digest());
14545
14545
  };
14546
14546
  Nr.prototype.reseed = function(n, o, s, m) {
14547
- typeof o != "string" && (m = s, s = o, o = null), n = Gr.toArray(n, o), s = Gr.toArray(s, m), To(
14547
+ typeof o != "string" && (m = s, s = o, o = null), n = Gr.toArray(n, o), s = Gr.toArray(s, m), Co(
14548
14548
  n.length >= this.minEntropy / 8,
14549
14549
  "Not enough entropy. Minimum is: " + this.minEntropy + " bits"
14550
14550
  ), this._update(n.concat(s || [])), this._reseed = 1;
@@ -14628,7 +14628,7 @@ function Df(a, n) {
14628
14628
  m <<= 8, m |= a[g], m >>>= 0;
14629
14629
  return m <= 127 ? !1 : (n.place = g, m);
14630
14630
  }
14631
- function Ka(a) {
14631
+ function Ha(a) {
14632
14632
  for (var n = 0, o = a.length - 1; !a[n] && !(a[n + 1] & 128) && n < o; )
14633
14633
  n++;
14634
14634
  return n === 0 ? a : a.slice(n);
@@ -14675,18 +14675,18 @@ function Nf(a, n) {
14675
14675
  }
14676
14676
  hf.prototype.toDER = function(n) {
14677
14677
  var o = this.r.toArray(), s = this.s.toArray();
14678
- for (o[0] & 128 && (o = [0].concat(o)), s[0] & 128 && (s = [0].concat(s)), o = Ka(o), s = Ka(s); !s[0] && !(s[1] & 128); )
14678
+ for (o[0] & 128 && (o = [0].concat(o)), s[0] & 128 && (s = [0].concat(s)), o = Ha(o), s = Ha(s); !s[0] && !(s[1] & 128); )
14679
14679
  s = s.slice(1);
14680
14680
  var m = [2];
14681
14681
  Nf(m, o.length), m = m.concat(o), m.push(2), Nf(m, s.length);
14682
14682
  var f = m.concat(s), g = [48];
14683
14683
  return Nf(g, f.length), g = g.concat(f), Y0.encode(g, n);
14684
14684
  };
14685
- var $f, Ha;
14685
+ var $f, Za;
14686
14686
  function Km() {
14687
- if (Ha)
14687
+ if (Za)
14688
14688
  return $f;
14689
- Ha = 1;
14689
+ Za = 1;
14690
14690
  var a = Tr, n = Dm, o = Ke, s = nf, m = L0(), f = o.assert, g = Lm, y = Om;
14691
14691
  function S(B) {
14692
14692
  if (!(this instanceof S))
@@ -14794,9 +14794,9 @@ function Km() {
14794
14794
  throw new Error("Unable to find valid recovery factor");
14795
14795
  }, $f;
14796
14796
  }
14797
- var hn = Ke, Co = hn.assert, Za = hn.parseBytes, Ei = hn.cachedProperty;
14797
+ var hn = Ke, Fo = hn.assert, Wa = hn.parseBytes, Ei = hn.cachedProperty;
14798
14798
  function Se(a, n) {
14799
- this.eddsa = a, this._secret = Za(n.secret), a.isPoint(n.pub) ? this._pub = n.pub : this._pubBytes = Za(n.pub);
14799
+ this.eddsa = a, this._secret = Wa(n.secret), a.isPoint(n.pub) ? this._pub = n.pub : this._pubBytes = Wa(n.pub);
14800
14800
  }
14801
14801
  Se.fromPublic = function(n, o) {
14802
14802
  return o instanceof Se ? o : new Se(n, { pub: o });
@@ -14827,23 +14827,23 @@ Ei(Se, "messagePrefix", function() {
14827
14827
  return this.hash().slice(this.eddsa.encodingLength);
14828
14828
  });
14829
14829
  Se.prototype.sign = function(n) {
14830
- return Co(this._secret, "KeyPair can only verify"), this.eddsa.sign(n, this);
14830
+ return Fo(this._secret, "KeyPair can only verify"), this.eddsa.sign(n, this);
14831
14831
  };
14832
14832
  Se.prototype.verify = function(n, o) {
14833
14833
  return this.eddsa.verify(n, o, this);
14834
14834
  };
14835
14835
  Se.prototype.getSecret = function(n) {
14836
- return Co(this._secret, "KeyPair is public only"), hn.encode(this.secret(), n);
14836
+ return Fo(this._secret, "KeyPair is public only"), hn.encode(this.secret(), n);
14837
14837
  };
14838
14838
  Se.prototype.getPublic = function(n) {
14839
14839
  return hn.encode(this.pubBytes(), n);
14840
14840
  };
14841
- var Hm = Se, Zm = Tr, sf = Ke, Wa = sf.assert, of = sf.cachedProperty, Wm = sf.parseBytes;
14841
+ var Hm = Se, Zm = Tr, sf = Ke, Va = sf.assert, of = sf.cachedProperty, Wm = sf.parseBytes;
14842
14842
  function ii(a, n) {
14843
- this.eddsa = a, typeof n != "object" && (n = Wm(n)), Array.isArray(n) && (Wa(n.length === a.encodingLength * 2, "Signature has invalid size"), n = {
14843
+ this.eddsa = a, typeof n != "object" && (n = Wm(n)), Array.isArray(n) && (Va(n.length === a.encodingLength * 2, "Signature has invalid size"), n = {
14844
14844
  R: n.slice(0, a.encodingLength),
14845
14845
  S: n.slice(a.encodingLength)
14846
- }), Wa(n.R && n.S, "Signature without R or S"), a.isPoint(n.R) && (this._R = n.R), n.S instanceof Zm && (this._S = n.S), this._Rencoded = Array.isArray(n.R) ? n.R : n.Rencoded, this._Sencoded = Array.isArray(n.S) ? n.S : n.Sencoded;
14846
+ }), Va(n.R && n.S, "Signature without R or S"), a.isPoint(n.R) && (this._R = n.R), n.S instanceof Zm && (this._S = n.S), this._Rencoded = Array.isArray(n.R) ? n.R : n.Rencoded, this._Sencoded = Array.isArray(n.S) ? n.S : n.Sencoded;
14847
14847
  }
14848
14848
  of(ii, "S", function() {
14849
14849
  return this.eddsa.decodeInt(this.Sencoded());
@@ -14863,7 +14863,7 @@ ii.prototype.toBytes = function() {
14863
14863
  ii.prototype.toHex = function() {
14864
14864
  return sf.encode(this.toBytes(), "hex").toUpperCase();
14865
14865
  };
14866
- var Vm = ii, Ym = ff, Jm = nf, gi = Ke, Gm = gi.assert, Fo = gi.parseBytes, qo = Hm, Va = Vm;
14866
+ var Vm = ii, Ym = ff, Jm = nf, gi = Ke, Gm = gi.assert, qo = gi.parseBytes, Po = Hm, Ya = Vm;
14867
14867
  function Le(a) {
14868
14868
  if (Gm(a === "ed25519", "only tested with ed25519 so far"), !(this instanceof Le))
14869
14869
  return new Le(a);
@@ -14871,12 +14871,12 @@ function Le(a) {
14871
14871
  }
14872
14872
  var Xm = Le;
14873
14873
  Le.prototype.sign = function(n, o) {
14874
- n = Fo(n);
14874
+ n = qo(n);
14875
14875
  var s = this.keyFromSecret(o), m = this.hashInt(s.messagePrefix(), n), f = this.g.mul(m), g = this.encodePoint(f), y = this.hashInt(g, s.pubBytes(), n).mul(s.priv()), S = m.add(y).umod(this.curve.n);
14876
14876
  return this.makeSignature({ R: f, S, Rencoded: g });
14877
14877
  };
14878
14878
  Le.prototype.verify = function(n, o, s) {
14879
- if (n = Fo(n), o = this.makeSignature(o), o.S().gte(o.eddsa.curve.n) || o.S().isNeg())
14879
+ if (n = qo(n), o = this.makeSignature(o), o.S().gte(o.eddsa.curve.n) || o.S().isNeg())
14880
14880
  return !1;
14881
14881
  var m = this.keyFromPublic(s), f = this.hashInt(o.Rencoded(), m.pubBytes(), n), g = this.g.mul(o.S()), y = o.R().add(m.pub().mul(f));
14882
14882
  return y.eq(g);
@@ -14887,13 +14887,13 @@ Le.prototype.hashInt = function() {
14887
14887
  return gi.intFromLE(n.digest()).umod(this.curve.n);
14888
14888
  };
14889
14889
  Le.prototype.keyFromPublic = function(n) {
14890
- return qo.fromPublic(this, n);
14890
+ return Po.fromPublic(this, n);
14891
14891
  };
14892
14892
  Le.prototype.keyFromSecret = function(n) {
14893
- return qo.fromSecret(this, n);
14893
+ return Po.fromSecret(this, n);
14894
14894
  };
14895
14895
  Le.prototype.makeSignature = function(n) {
14896
- return n instanceof Va ? n : new Va(this, n);
14896
+ return n instanceof Ya ? n : new Ya(this, n);
14897
14897
  };
14898
14898
  Le.prototype.encodePoint = function(n) {
14899
14899
  var o = n.getY().toArray("le", this.encodingLength);
@@ -14913,9 +14913,9 @@ Le.prototype.decodeInt = function(n) {
14913
14913
  Le.prototype.isPoint = function(n) {
14914
14914
  return n instanceof this.pointClass;
14915
14915
  };
14916
- var Ya;
14916
+ var Ja;
14917
14917
  function J0() {
14918
- return Ya || (Ya = 1, function(a) {
14918
+ return Ja || (Ja = 1, function(a) {
14919
14919
  var n = a;
14920
14920
  n.version = jv.version, n.utils = Ke, n.rand = L0(), n.curve = W0, n.curves = nf, n.ec = Km(), n.eddsa = Xm;
14921
14921
  }(Tf)), Tf;
@@ -16100,9 +16100,9 @@ G0.exports;
16100
16100
  };
16101
16101
  })(a, Xt);
16102
16102
  })(G0);
16103
- var jm = G0.exports, Uf = {}, Ja;
16103
+ var jm = G0.exports, Uf = {}, Ga;
16104
16104
  function Qm() {
16105
- return Ja || (Ja = 1, function(a) {
16105
+ return Ga || (Ga = 1, function(a) {
16106
16106
  var n = sn(), o = Gt, s = a;
16107
16107
  s.define = function(g, y) {
16108
16108
  return new m(g, y);
@@ -16137,7 +16137,7 @@ function Qm() {
16137
16137
  };
16138
16138
  }(Uf)), Uf;
16139
16139
  }
16140
- var Of = {}, Po = {}, t2 = Gt;
16140
+ var Of = {}, Do = {}, t2 = Gt;
16141
16141
  function Xe(a) {
16142
16142
  this._reporterState = {
16143
16143
  obj: null,
@@ -16146,7 +16146,7 @@ function Xe(a) {
16146
16146
  errors: []
16147
16147
  };
16148
16148
  }
16149
- Po.Reporter = Xe;
16149
+ Do.Reporter = Xe;
16150
16150
  Xe.prototype.isError = function(n) {
16151
16151
  return n instanceof bi;
16152
16152
  };
@@ -16208,11 +16208,11 @@ bi.prototype.rethrow = function(n) {
16208
16208
  }
16209
16209
  return this;
16210
16210
  };
16211
- var mn = {}, Ga;
16212
- function Xa() {
16213
- if (Ga)
16211
+ var mn = {}, Xa;
16212
+ function ja() {
16213
+ if (Xa)
16214
16214
  return mn;
16215
- Ga = 1;
16215
+ Xa = 1;
16216
16216
  var a = Gt, n = zi().Reporter, o = br.Buffer;
16217
16217
  function s(f, g) {
16218
16218
  if (n.call(this, g), !o.isBuffer(f)) {
@@ -16260,11 +16260,11 @@ function Xa() {
16260
16260
  }) : (typeof this.value == "number" ? g[y] = this.value : typeof this.value == "string" ? g.write(this.value, y) : o.isBuffer(this.value) && this.value.copy(g, y), y += this.length)), g;
16261
16261
  }, mn;
16262
16262
  }
16263
- var zf, ja;
16263
+ var zf, Qa;
16264
16264
  function e2() {
16265
- if (ja)
16265
+ if (Qa)
16266
16266
  return zf;
16267
- ja = 1;
16267
+ Qa = 1;
16268
16268
  var a = zi().Reporter, n = zi().EncoderBuffer, o = zi().DecoderBuffer, s = Ve, m = [
16269
16269
  "seq",
16270
16270
  "seqof",
@@ -16585,17 +16585,17 @@ function e2() {
16585
16585
  return /^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(M);
16586
16586
  }, zf;
16587
16587
  }
16588
- var Qa;
16588
+ var th;
16589
16589
  function zi() {
16590
- return Qa || (Qa = 1, function(a) {
16590
+ return th || (th = 1, function(a) {
16591
16591
  var n = a;
16592
- n.Reporter = Po.Reporter, n.DecoderBuffer = Xa().DecoderBuffer, n.EncoderBuffer = Xa().EncoderBuffer, n.Node = e2();
16592
+ n.Reporter = Do.Reporter, n.DecoderBuffer = ja().DecoderBuffer, n.EncoderBuffer = ja().EncoderBuffer, n.Node = e2();
16593
16593
  }(Of)), Of;
16594
16594
  }
16595
- var Kf = {}, Hf = {}, th;
16595
+ var Kf = {}, Hf = {}, eh;
16596
16596
  function r2() {
16597
- return th || (th = 1, function(a) {
16598
- var n = Do();
16597
+ return eh || (eh = 1, function(a) {
16598
+ var n = No();
16599
16599
  a.tagClass = {
16600
16600
  0: "universal",
16601
16601
  1: "application",
@@ -16634,9 +16634,9 @@ function r2() {
16634
16634
  }, a.tagByName = n._reverse(a.tag);
16635
16635
  }(Hf)), Hf;
16636
16636
  }
16637
- var eh;
16638
- function Do() {
16639
- return eh || (eh = 1, function(a) {
16637
+ var rh;
16638
+ function No() {
16639
+ return rh || (rh = 1, function(a) {
16640
16640
  var n = a;
16641
16641
  n._reverse = function(s) {
16642
16642
  var m = {};
@@ -16648,11 +16648,11 @@ function Do() {
16648
16648
  }, n.der = r2();
16649
16649
  }(Kf)), Kf;
16650
16650
  }
16651
- var Zf = {}, Wf, rh;
16652
- function No() {
16653
- if (rh)
16651
+ var Zf = {}, Wf, ih;
16652
+ function $o() {
16653
+ if (ih)
16654
16654
  return Wf;
16655
- rh = 1;
16655
+ ih = 1;
16656
16656
  var a = Gt, n = sn(), o = n.base, s = n.bignum, m = n.constants.der;
16657
16657
  function f(B) {
16658
16658
  this.enc = "der", this.name = B.name, this.entity = B, this.tree = new g(), this.tree._init(B.body);
@@ -16819,12 +16819,12 @@ function No() {
16819
16819
  }
16820
16820
  return Wf;
16821
16821
  }
16822
- var Vf, ih;
16822
+ var Vf, nh;
16823
16823
  function i2() {
16824
- if (ih)
16824
+ if (nh)
16825
16825
  return Vf;
16826
- ih = 1;
16827
- var a = Gt, n = br.Buffer, o = No();
16826
+ nh = 1;
16827
+ var a = Gt, n = br.Buffer, o = $o();
16828
16828
  function s(m) {
16829
16829
  o.call(this, m), this.enc = "pem";
16830
16830
  }
@@ -16851,18 +16851,18 @@ function i2() {
16851
16851
  return o.prototype.decode.call(this, U, g);
16852
16852
  }, Vf;
16853
16853
  }
16854
- var nh;
16854
+ var fh;
16855
16855
  function n2() {
16856
- return nh || (nh = 1, function(a) {
16856
+ return fh || (fh = 1, function(a) {
16857
16857
  var n = a;
16858
- n.der = No(), n.pem = i2();
16858
+ n.der = $o(), n.pem = i2();
16859
16859
  }(Zf)), Zf;
16860
16860
  }
16861
- var Yf = {}, Jf, fh;
16862
- function $o() {
16863
- if (fh)
16861
+ var Yf = {}, Jf, ah;
16862
+ function Lo() {
16863
+ if (ah)
16864
16864
  return Jf;
16865
- fh = 1;
16865
+ ah = 1;
16866
16866
  var a = Gt, n = br.Buffer, o = sn(), s = o.base, m = o.constants.der;
16867
16867
  function f(B) {
16868
16868
  this.enc = "der", this.name = B.name, this.entity = B, this.tree = new g(), this.tree._init(B.body);
@@ -17007,12 +17007,12 @@ function $o() {
17007
17007
  }
17008
17008
  return Jf;
17009
17009
  }
17010
- var Gf, ah;
17010
+ var Gf, hh;
17011
17011
  function f2() {
17012
- if (ah)
17012
+ if (hh)
17013
17013
  return Gf;
17014
- ah = 1;
17015
- var a = Gt, n = $o();
17014
+ hh = 1;
17015
+ var a = Gt, n = Lo();
17016
17016
  function o(s) {
17017
17017
  n.call(this, s), this.enc = "pem";
17018
17018
  }
@@ -17023,21 +17023,21 @@ function f2() {
17023
17023
  `);
17024
17024
  }, Gf;
17025
17025
  }
17026
- var hh;
17026
+ var sh;
17027
17027
  function a2() {
17028
- return hh || (hh = 1, function(a) {
17028
+ return sh || (sh = 1, function(a) {
17029
17029
  var n = a;
17030
- n.der = $o(), n.pem = f2();
17030
+ n.der = Lo(), n.pem = f2();
17031
17031
  }(Yf)), Yf;
17032
17032
  }
17033
- var sh;
17033
+ var oh;
17034
17034
  function sn() {
17035
- return sh || (sh = 1, function(a) {
17035
+ return oh || (oh = 1, function(a) {
17036
17036
  var n = a;
17037
- n.bignum = jm, n.define = Qm().define, n.base = zi(), n.constants = Do(), n.decoders = n2(), n.encoders = a2();
17037
+ n.bignum = jm, n.define = Qm().define, n.base = zi(), n.constants = No(), n.decoders = n2(), n.encoders = a2();
17038
17038
  }(Lf)), Lf;
17039
17039
  }
17040
- var nr = sn(), oh = nr.define("Time", function() {
17040
+ var nr = sn(), uh = nr.define("Time", function() {
17041
17041
  this.choice({
17042
17042
  utcTime: this.utctime(),
17043
17043
  generalTime: this.gentime()
@@ -17062,14 +17062,14 @@ var nr = sn(), oh = nr.define("Time", function() {
17062
17062
  this.setof(h2);
17063
17063
  }), u2 = nr.define("RDNSequence", function() {
17064
17064
  this.seqof(o2);
17065
- }), uh = nr.define("Name", function() {
17065
+ }), lh = nr.define("Name", function() {
17066
17066
  this.choice({
17067
17067
  rdnSequence: this.use(u2)
17068
17068
  });
17069
17069
  }), l2 = nr.define("Validity", function() {
17070
17070
  this.seq().obj(
17071
- this.key("notBefore").use(oh),
17072
- this.key("notAfter").use(oh)
17071
+ this.key("notBefore").use(uh),
17072
+ this.key("notAfter").use(uh)
17073
17073
  );
17074
17074
  }), d2 = nr.define("Extension", function() {
17075
17075
  this.seq().obj(
@@ -17082,9 +17082,9 @@ var nr = sn(), oh = nr.define("Time", function() {
17082
17082
  this.key("version").explicit(0).int().optional(),
17083
17083
  this.key("serialNumber").int(),
17084
17084
  this.key("signature").use(X0),
17085
- this.key("issuer").use(uh),
17085
+ this.key("issuer").use(lh),
17086
17086
  this.key("validity").use(l2),
17087
- this.key("subject").use(uh),
17087
+ this.key("subject").use(lh),
17088
17088
  this.key("subjectPublicKeyInfo").use(s2),
17089
17089
  this.key("issuerUniqueID").implicit(1).bitstr().optional(),
17090
17090
  this.key("subjectUniqueID").implicit(2).bitstr().optional(),
@@ -17119,7 +17119,7 @@ var g2 = fr.define("RSAPublicKey", function() {
17119
17119
  );
17120
17120
  });
17121
17121
  ir.RSAPublicKey = g2;
17122
- var Lo = fr.define("AlgorithmIdentifier", function() {
17122
+ var Uo = fr.define("AlgorithmIdentifier", function() {
17123
17123
  this.seq().obj(
17124
17124
  this.key("algorithm").objid(),
17125
17125
  this.key("none").null_().optional(),
@@ -17132,7 +17132,7 @@ var Lo = fr.define("AlgorithmIdentifier", function() {
17132
17132
  );
17133
17133
  }), b2 = fr.define("SubjectPublicKeyInfo", function() {
17134
17134
  this.seq().obj(
17135
- this.key("algorithm").use(Lo),
17135
+ this.key("algorithm").use(Uo),
17136
17136
  this.key("subjectPublicKey").bitstr()
17137
17137
  );
17138
17138
  });
@@ -17140,7 +17140,7 @@ ir.PublicKey = b2;
17140
17140
  var y2 = fr.define("PrivateKeyInfo", function() {
17141
17141
  this.seq().obj(
17142
17142
  this.key("version").int(),
17143
- this.key("algorithm").use(Lo),
17143
+ this.key("algorithm").use(Uo),
17144
17144
  this.key("subjectPrivateKey").octstr()
17145
17145
  );
17146
17146
  });
@@ -17233,7 +17233,7 @@ function P2(a, n) {
17233
17233
  var o = a.algorithm.decrypt.kde.kdeparams.salt, s = parseInt(a.algorithm.decrypt.kde.kdeparams.iters.toString(), 10), m = T2[a.algorithm.decrypt.cipher.algo.join(".")], f = a.algorithm.decrypt.cipher.iv, g = a.subjectPrivateKey, y = parseInt(m.split("-")[1], 10) / 8, S = q2.pbkdf2Sync(n, o, s, y, "sha1"), B = F2.createDecipheriv(m, S, f), M = [];
17234
17234
  return M.push(B.update(g)), M.push(B.final()), g0.concat(M);
17235
17235
  }
17236
- function Uo(a) {
17236
+ function Oo(a) {
17237
17237
  var n;
17238
17238
  typeof a == "object" && !g0.isBuffer(a) && (n = a.passphrase, a = a.key), typeof a == "string" && (a = g0.from(a));
17239
17239
  var o = C2(a, n), s = o.tag, m = o.data, f, g;
@@ -17294,9 +17294,9 @@ function Uo(a) {
17294
17294
  throw new Error("unknown key type " + s);
17295
17295
  }
17296
17296
  }
17297
- Uo.signature = Pe.signature;
17298
- var uf = Uo;
17299
- const Oo = {
17297
+ Oo.signature = Pe.signature;
17298
+ var uf = Oo;
17299
+ const zo = {
17300
17300
  "1.3.132.0.10": "secp256k1",
17301
17301
  "1.3.132.0.33": "p224",
17302
17302
  "1.2.840.10045.3.1.1": "p192",
@@ -17304,12 +17304,12 @@ const Oo = {
17304
17304
  "1.3.132.0.34": "p384",
17305
17305
  "1.3.132.0.35": "p521"
17306
17306
  };
17307
- var lh;
17307
+ var dh;
17308
17308
  function D2() {
17309
- if (lh)
17309
+ if (dh)
17310
17310
  return Pi.exports;
17311
- lh = 1;
17312
- var a = zt.Buffer, n = Jh, o = K0, s = J0().ec, m = z0, f = uf, g = Oo, y = 1;
17311
+ dh = 1;
17312
+ var a = zt.Buffer, n = Gh, o = K0, s = J0().ec, m = z0, f = uf, g = zo, y = 1;
17313
17313
  function S(z, $, lt, H, At) {
17314
17314
  var Bt = f($);
17315
17315
  if (Bt.curve) {
@@ -17393,12 +17393,12 @@ function D2() {
17393
17393
  }
17394
17394
  return Pi.exports = S, Pi.exports.getKey = I, Pi.exports.makeKey = U, Pi.exports;
17395
17395
  }
17396
- var Xf, dh;
17396
+ var Xf, ch;
17397
17397
  function N2() {
17398
- if (dh)
17398
+ if (ch)
17399
17399
  return Xf;
17400
- dh = 1;
17401
- var a = zt.Buffer, n = z0, o = J0().ec, s = uf, m = Oo;
17400
+ ch = 1;
17401
+ var a = zt.Buffer, n = z0, o = J0().ec, s = uf, m = zo;
17402
17402
  function f(B, M, x, I, k) {
17403
17403
  var D = s(x);
17404
17404
  if (D.type === "ec") {
@@ -17447,12 +17447,12 @@ function N2() {
17447
17447
  }
17448
17448
  return Xf = f, Xf;
17449
17449
  }
17450
- var jf, ch;
17450
+ var jf, vh;
17451
17451
  function $2() {
17452
- if (ch)
17452
+ if (vh)
17453
17453
  return jf;
17454
- ch = 1;
17455
- var a = zt.Buffer, n = Qi, o = qv, s = Gt, m = D2(), f = N2(), g = Gh;
17454
+ vh = 1;
17455
+ var a = zt.Buffer, n = Qi, o = qv, s = Gt, m = D2(), f = N2(), g = Xh;
17456
17456
  Object.keys(g).forEach(function(x) {
17457
17457
  g[x].id = a.from(g[x].id, "hex"), g[x.toLowerCase()] = g[x];
17458
17458
  });
@@ -18682,11 +18682,11 @@ j0.exports;
18682
18682
  };
18683
18683
  })(a, Xt);
18684
18684
  })(j0);
18685
- var L2 = j0.exports, Qf, vh;
18685
+ var L2 = j0.exports, Qf, ph;
18686
18686
  function U2() {
18687
- if (vh)
18687
+ if (ph)
18688
18688
  return Qf;
18689
- vh = 1;
18689
+ ph = 1;
18690
18690
  var a = J0(), n = L2;
18691
18691
  Qf = function(g) {
18692
18692
  return new s(g);
@@ -18756,7 +18756,7 @@ function U2() {
18756
18756
  }
18757
18757
  return Qf;
18758
18758
  }
18759
- var zo = {}, O2 = Qi, b0 = zt.Buffer, Ko = function(a, n) {
18759
+ var Ko = {}, O2 = Qi, b0 = zt.Buffer, Ho = function(a, n) {
18760
18760
  for (var o = b0.alloc(0), s = 0, m; o.length < n; )
18761
18761
  m = z2(s++), o = b0.concat([o, O2("sha1").update(a).update(m).digest()]);
18762
18762
  return o.slice(0, n);
@@ -18765,7 +18765,7 @@ function z2(a) {
18765
18765
  var n = b0.allocUnsafe(4);
18766
18766
  return n.writeUInt32BE(a, 0), n;
18767
18767
  }
18768
- var Ho = function(n, o) {
18768
+ var Zo = function(n, o) {
18769
18769
  for (var s = n.length, m = -1; ++m < s; )
18770
18770
  n[m] ^= o[m];
18771
18771
  return n;
@@ -19949,11 +19949,11 @@ Q0.exports;
19949
19949
  };
19950
19950
  })(a, Xt);
19951
19951
  })(Q0);
19952
- var ta = Q0.exports, ph = ta, K2 = zt.Buffer;
19952
+ var ta = Q0.exports, mh = ta, K2 = zt.Buffer;
19953
19953
  function H2(a, n) {
19954
- return K2.from(a.toRed(ph.mont(n.modulus)).redPow(new ph(n.publicExponent)).fromRed().toArray());
19954
+ return K2.from(a.toRed(mh.mont(n.modulus)).redPow(new mh(n.publicExponent)).fromRed().toArray());
19955
19955
  }
19956
- var Zo = H2, Z2 = uf, y0 = yi, W2 = Qi, mh = Ko, gh = Ho, ea = ta, V2 = Zo, Y2 = K0, Qe = zt.Buffer, J2 = function(n, o, s) {
19956
+ var Wo = H2, Z2 = uf, y0 = yi, W2 = Qi, gh = Ho, bh = Zo, ea = ta, V2 = Wo, Y2 = K0, Qe = zt.Buffer, J2 = function(n, o, s) {
19957
19957
  var m;
19958
19958
  n.padding ? m = n.padding : s ? m = 1 : m = 4;
19959
19959
  var f = Z2(n), g;
@@ -19972,7 +19972,7 @@ function G2(a, n) {
19972
19972
  var o = a.modulus.byteLength(), s = n.length, m = W2("sha1").update(Qe.alloc(0)).digest(), f = m.length, g = 2 * f;
19973
19973
  if (s > o - g - 2)
19974
19974
  throw new Error("message too long");
19975
- var y = Qe.alloc(o - s - g - 2), S = o - f - 1, B = y0(f), M = gh(Qe.concat([m, y, Qe.alloc(1, 1), n], S), mh(B, S)), x = gh(B, mh(M, f));
19975
+ var y = Qe.alloc(o - s - g - 2), S = o - f - 1, B = y0(f), M = bh(Qe.concat([m, y, Qe.alloc(1, 1), n], S), gh(B, S)), x = bh(B, gh(M, f));
19976
19976
  return new ea(Qe.concat([Qe.alloc(1), x, M], o));
19977
19977
  }
19978
19978
  function X2(a, n, o) {
@@ -19987,14 +19987,14 @@ function j2(a) {
19987
19987
  m === s.length && (s = y0(a * 2), m = 0), f = s[m++], f && (n[o++] = f);
19988
19988
  return n;
19989
19989
  }
19990
- var Q2 = uf, bh = Ko, yh = Ho, wh = ta, tg = K0, eg = Qi, rg = Zo, Vi = zt.Buffer, ig = function(n, o, s) {
19990
+ var Q2 = uf, yh = Ho, wh = Zo, Mh = ta, tg = K0, eg = Qi, rg = Wo, Vi = zt.Buffer, ig = function(n, o, s) {
19991
19991
  var m;
19992
19992
  n.padding ? m = n.padding : s ? m = 1 : m = 4;
19993
19993
  var f = Q2(n), g = f.modulus.byteLength();
19994
- if (o.length > g || new wh(o).cmp(f.modulus) >= 0)
19994
+ if (o.length > g || new Mh(o).cmp(f.modulus) >= 0)
19995
19995
  throw new Error("decryption error");
19996
19996
  var y;
19997
- s ? y = rg(new wh(o), f) : y = tg(o, f);
19997
+ s ? y = rg(new Mh(o), f) : y = tg(o, f);
19998
19998
  var S = Vi.alloc(g - y.length);
19999
19999
  if (y = Vi.concat([S, y], g), m === 4)
20000
20000
  return ng(f, y);
@@ -20008,7 +20008,7 @@ function ng(a, n) {
20008
20008
  var o = a.modulus.byteLength(), s = eg("sha1").update(Vi.alloc(0)).digest(), m = s.length;
20009
20009
  if (n[0] !== 0)
20010
20010
  throw new Error("decryption error");
20011
- var f = n.slice(1, m + 1), g = n.slice(m + 1), y = yh(f, bh(g, m)), S = yh(g, bh(y, o - m - 1));
20011
+ var f = n.slice(1, m + 1), g = n.slice(m + 1), y = wh(f, yh(g, m)), S = wh(g, yh(y, o - m - 1));
20012
20012
  if (ag(s, S.slice(0, m)))
20013
20013
  throw new Error("decryption error");
20014
20014
  for (var B = m; S[B] === 0; )
@@ -20042,32 +20042,32 @@ function ag(a, n) {
20042
20042
  }, a.publicDecrypt = function(o, s) {
20043
20043
  return a.privateDecrypt(o, s, !0);
20044
20044
  };
20045
- })(zo);
20045
+ })(Ko);
20046
20046
  var Ui = {};
20047
- function Mh() {
20047
+ function xh() {
20048
20048
  throw new Error(`secure random number generation not supported by this browser
20049
20049
  use chrome, FireFox or Internet Explorer 11`);
20050
20050
  }
20051
- var Wo = zt, xh = yi, Vo = Wo.Buffer, Yo = Wo.kMaxLength, w0 = Xt.crypto || Xt.msCrypto, Jo = Math.pow(2, 32) - 1;
20052
- function Go(a, n) {
20051
+ var Vo = zt, _h = yi, Yo = Vo.Buffer, Jo = Vo.kMaxLength, w0 = Xt.crypto || Xt.msCrypto, Go = Math.pow(2, 32) - 1;
20052
+ function Xo(a, n) {
20053
20053
  if (typeof a != "number" || a !== a)
20054
20054
  throw new TypeError("offset must be a number");
20055
- if (a > Jo || a < 0)
20055
+ if (a > Go || a < 0)
20056
20056
  throw new TypeError("offset must be a uint32");
20057
- if (a > Yo || a > n)
20057
+ if (a > Jo || a > n)
20058
20058
  throw new RangeError("offset out of range");
20059
20059
  }
20060
- function Xo(a, n, o) {
20060
+ function jo(a, n, o) {
20061
20061
  if (typeof a != "number" || a !== a)
20062
20062
  throw new TypeError("size must be a number");
20063
- if (a > Jo || a < 0)
20063
+ if (a > Go || a < 0)
20064
20064
  throw new TypeError("size must be a uint32");
20065
- if (a + n > o || a > Yo)
20065
+ if (a + n > o || a > Jo)
20066
20066
  throw new RangeError("buffer too small");
20067
20067
  }
20068
- w0 && w0.getRandomValues || !we.browser ? (Ui.randomFill = hg, Ui.randomFillSync = sg) : (Ui.randomFill = Mh, Ui.randomFillSync = Mh);
20068
+ w0 && w0.getRandomValues || !we.browser ? (Ui.randomFill = hg, Ui.randomFillSync = sg) : (Ui.randomFill = xh, Ui.randomFillSync = xh);
20069
20069
  function hg(a, n, o, s) {
20070
- if (!Vo.isBuffer(a) && !(a instanceof Xt.Uint8Array))
20070
+ if (!Yo.isBuffer(a) && !(a instanceof Xt.Uint8Array))
20071
20071
  throw new TypeError('"buf" argument must be a Buffer or Uint8Array');
20072
20072
  if (typeof n == "function")
20073
20073
  s = n, n = 0, o = a.length;
@@ -20075,9 +20075,9 @@ function hg(a, n, o, s) {
20075
20075
  s = o, o = a.length - n;
20076
20076
  else if (typeof s != "function")
20077
20077
  throw new TypeError('"cb" argument must be a function');
20078
- return Go(n, a.length), Xo(o, n, a.length), jo(a, n, o, s);
20078
+ return Xo(n, a.length), jo(o, n, a.length), Qo(a, n, o, s);
20079
20079
  }
20080
- function jo(a, n, o, s) {
20080
+ function Qo(a, n, o, s) {
20081
20081
  if (we.browser) {
20082
20082
  var m = a.buffer, f = new Uint8Array(m, n, o);
20083
20083
  if (w0.getRandomValues(f), s) {
@@ -20089,26 +20089,26 @@ function jo(a, n, o, s) {
20089
20089
  return a;
20090
20090
  }
20091
20091
  if (s) {
20092
- xh(o, function(y, S) {
20092
+ _h(o, function(y, S) {
20093
20093
  if (y)
20094
20094
  return s(y);
20095
20095
  S.copy(a, n), s(null, a);
20096
20096
  });
20097
20097
  return;
20098
20098
  }
20099
- var g = xh(o);
20099
+ var g = _h(o);
20100
20100
  return g.copy(a, n), a;
20101
20101
  }
20102
20102
  function sg(a, n, o) {
20103
- if (typeof n == "undefined" && (n = 0), !Vo.isBuffer(a) && !(a instanceof Xt.Uint8Array))
20103
+ if (typeof n == "undefined" && (n = 0), !Yo.isBuffer(a) && !(a instanceof Xt.Uint8Array))
20104
20104
  throw new TypeError('"buf" argument must be a Buffer or Uint8Array');
20105
- return Go(n, a.length), o === void 0 && (o = a.length - n), Xo(o, n, a.length), jo(a, n, o);
20105
+ return Xo(n, a.length), o === void 0 && (o = a.length - n), jo(o, n, a.length), Qo(a, n, o);
20106
20106
  }
20107
- var _h;
20108
- function Qo() {
20109
- if (_h)
20107
+ var Sh;
20108
+ function tu() {
20109
+ if (Sh)
20110
20110
  return Lt;
20111
- _h = 1, Lt.randomBytes = Lt.rng = Lt.pseudoRandomBytes = Lt.prng = yi, Lt.createHash = Lt.Hash = Qi, Lt.createHmac = Lt.Hmac = Jh;
20111
+ Sh = 1, Lt.randomBytes = Lt.rng = Lt.pseudoRandomBytes = Lt.prng = yi, Lt.createHash = Lt.Hash = Qi, Lt.createHmac = Lt.Hmac = Gh;
20112
20112
  var a = jd, n = Object.keys(a), o = [
20113
20113
  "sha1",
20114
20114
  "sha224",
@@ -20129,7 +20129,7 @@ function Qo() {
20129
20129
  Lt.DiffieHellmanGroup = f.DiffieHellmanGroup, Lt.createDiffieHellmanGroup = f.createDiffieHellmanGroup, Lt.getDiffieHellman = f.getDiffieHellman, Lt.createDiffieHellman = f.createDiffieHellman, Lt.DiffieHellman = f.DiffieHellman;
20130
20130
  var g = $2();
20131
20131
  Lt.createSign = g.createSign, Lt.Sign = g.Sign, Lt.createVerify = g.createVerify, Lt.Verify = g.Verify, Lt.createECDH = U2();
20132
- var y = zo;
20132
+ var y = Ko;
20133
20133
  Lt.publicEncrypt = y.publicEncrypt, Lt.privateEncrypt = y.privateEncrypt, Lt.publicDecrypt = y.publicDecrypt, Lt.privateDecrypt = y.privateDecrypt;
20134
20134
  var S = Ui;
20135
20135
  return Lt.randomFill = S.randomFill, Lt.randomFillSync = S.randomFillSync, Lt.createCredentials = function() {
@@ -20154,16 +20154,16 @@ https://github.com/browserify/crypto-browserify`);
20154
20154
  POINT_CONVERSION_HYBRID: 6
20155
20155
  }, Lt;
20156
20156
  }
20157
- var og = Qo();
20157
+ var og = tu();
20158
20158
  const ug = /* @__PURE__ */ pu(og);
20159
- function tu(a) {
20159
+ function eu(a) {
20160
20160
  const n = ug.createHash("sha256").update(a).digest("hex");
20161
20161
  return parseInt(n.slice(0, 8), 16) % 1e4 / 100;
20162
20162
  }
20163
20163
  function lg(a, n) {
20164
20164
  if (!n || n.length === 0)
20165
20165
  return null;
20166
- const o = tu(a);
20166
+ const o = eu(a);
20167
20167
  let s = 0, m = 0;
20168
20168
  for (const g of n)
20169
20169
  m += g.weight;
@@ -20173,7 +20173,7 @@ function lg(a, n) {
20173
20173
  return g.value;
20174
20174
  return n[n.length - 1].value;
20175
20175
  }
20176
- function Sh(a, n) {
20176
+ function Ah(a, n) {
20177
20177
  var m, f, g;
20178
20178
  const o = n, s = ((m = o.user) == null ? void 0 : m.key) || // Standard nested structure
20179
20179
  ((f = o.organization) == null ? void 0 : f.key) || // Organization key
@@ -20188,7 +20188,7 @@ function Sh(a, n) {
20188
20188
  if (!("percentage" in a) || !("salt" in a))
20189
20189
  return null;
20190
20190
  const { percentage: y, salt: S } = a;
20191
- return typeof y != "number" || y < 0 || y > 100 ? null : tu(`${s}.${S}`) < y ? !0 : null;
20191
+ return typeof y != "number" || y < 0 || y > 100 ? null : eu(`${s}.${S}`) < y ? !0 : null;
20192
20192
  }
20193
20193
  case "variant": {
20194
20194
  if (!("variants" in a) || !("salt" in a))
@@ -20208,14 +20208,14 @@ function dg(a, n) {
20208
20208
  const B = (S = a.segmentsById) == null ? void 0 : S[y.segment_id];
20209
20209
  return B ? Iu(B, n) : !1;
20210
20210
  } else
20211
- return Bh(y, n);
20211
+ return Eh(y, n);
20212
20212
  }))
20213
20213
  return null;
20214
20214
  if (a.rollout) {
20215
20215
  if (a.rollout.strategy === "percentage")
20216
- return Sh(a.rollout, n) && (m = a.value) != null ? m : null;
20216
+ return Ah(a.rollout, n) && (m = a.value) != null ? m : null;
20217
20217
  {
20218
- const y = Sh(a.rollout, n);
20218
+ const y = Ah(a.rollout, n);
20219
20219
  return (f = y != null ? y : a.value) != null ? f : null;
20220
20220
  }
20221
20221
  }
@@ -20230,15 +20230,15 @@ let on = {
20230
20230
  function cg(a) {
20231
20231
  on = a;
20232
20232
  }
20233
- function eu(a) {
20233
+ function ru(a) {
20234
20234
  return `flagmint_${a}_flags`;
20235
20235
  }
20236
- function ru(a) {
20236
+ function iu(a) {
20237
20237
  return `flagmint_${a}_context`;
20238
20238
  }
20239
- function iu(a, n) {
20239
+ function nu(a, n) {
20240
20240
  try {
20241
- const o = on.getItem(eu(a));
20241
+ const o = on.getItem(ru(a));
20242
20242
  if (!o)
20243
20243
  return null;
20244
20244
  const s = JSON.parse(o);
@@ -20247,36 +20247,36 @@ function iu(a, n) {
20247
20247
  return null;
20248
20248
  }
20249
20249
  }
20250
- function nu(a, n) {
20250
+ function fu(a, n) {
20251
20251
  try {
20252
- on.setItem(eu(a), JSON.stringify({ ts: Date.now(), data: n }));
20252
+ on.setItem(ru(a), JSON.stringify({ ts: Date.now(), data: n }));
20253
20253
  } catch (o) {
20254
20254
  }
20255
20255
  }
20256
- function fu(a) {
20256
+ function au(a) {
20257
20257
  try {
20258
- const n = on.getItem(ru(a));
20258
+ const n = on.getItem(iu(a));
20259
20259
  return n ? JSON.parse(n) : null;
20260
20260
  } catch (n) {
20261
20261
  return null;
20262
20262
  }
20263
20263
  }
20264
- function au(a, n) {
20264
+ function hu(a, n) {
20265
20265
  try {
20266
- on.setItem(ru(a), JSON.stringify(n));
20266
+ on.setItem(iu(a), JSON.stringify(n));
20267
20267
  } catch (o) {
20268
20268
  }
20269
20269
  }
20270
20270
  const Sg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20271
20271
  __proto__: null,
20272
- loadCachedContext: fu,
20273
- loadCachedFlags: iu,
20274
- saveCachedContext: au,
20275
- saveCachedFlags: nu,
20272
+ loadCachedContext: au,
20273
+ loadCachedFlags: nu,
20274
+ saveCachedContext: hu,
20275
+ saveCachedFlags: fu,
20276
20276
  setCacheStorage: cg
20277
20277
  }, Symbol.toStringTag, { value: "Module" })), vg = 24 * 60 * 60 * 1e3;
20278
- function hu() {
20279
- switch (typeof process != "undefined" ? process.env.NEXT_PUBLIC_NODE_ENV || process.env.NODE_ENV : "development") {
20278
+ function ra(a) {
20279
+ switch (a || (typeof process != "undefined" ? process.env.NEXT_PUBLIC_NODE_ENV || process.env.NODE_ENV : "development")) {
20280
20280
  case "production":
20281
20281
  return {
20282
20282
  rest: "https://api.flagmint.com/evaluator/evaluate",
@@ -20295,28 +20295,30 @@ function hu() {
20295
20295
  };
20296
20296
  }
20297
20297
  }
20298
- const pg = hu().rest, mg = hu().ws;
20298
+ const pg = ra().rest, mg = ra().ws;
20299
20299
  class Ag {
20300
20300
  /**
20301
20301
  * Creates a new FlagClient instance.
20302
20302
  * @param options - Configuration options for the client.
20303
20303
  */
20304
20304
  constructor(n) {
20305
- var o, s, m, f, g, y, S;
20306
- if (this.flags = {}, this.refreshIntervalId = null, this.rawFlags = {}, this.isInitialized = !1, this.subscribers = /* @__PURE__ */ new Set(), this.apiKey = n.apiKey, this.enableOfflineCache = (o = n.enableOfflineCache) != null ? o : !0, this.persistContext = (s = n.persistContext) != null ? s : !1, this.cacheTTL = vg, this.onError = n.onError, this.restEndpoint = (m = n.restEndpoint) != null ? m : pg, this.wsEndpoint = (f = n.wsEndpoint) != null ? f : mg, this.cacheAdapter = (g = n.cacheAdapter) != null ? g : {
20307
- loadFlags: iu,
20308
- saveFlags: nu,
20309
- loadContext: fu,
20310
- saveContext: au
20311
- }, this.context = n.context || {}, this.rawFlags = (y = n.rawFlags) != null ? y : {}, this.previewMode = n.previewMode || !1, this.deferInitialization = (S = n.deferInitialization) != null ? S : !1, this.previewMode && this.rawFlags && Object.keys(this.rawFlags).length > 0) {
20305
+ var s, m, f, g, y, S, B;
20306
+ this.flags = {}, this.refreshIntervalId = null, this.rawFlags = {}, this.isInitialized = !1, this.subscribers = /* @__PURE__ */ new Set(), this.apiKey = n.apiKey, this.enableOfflineCache = (s = n.enableOfflineCache) != null ? s : !0, this.persistContext = (m = n.persistContext) != null ? m : !1, this.cacheTTL = vg, this.onError = n.onError;
20307
+ const o = n.env ? ra(n.env) : { rest: pg, ws: mg };
20308
+ if (this.restEndpoint = (f = n.restEndpoint) != null ? f : o.rest, this.wsEndpoint = (g = n.wsEndpoint) != null ? g : o.ws, this.cacheAdapter = (y = n.cacheAdapter) != null ? y : {
20309
+ loadFlags: nu,
20310
+ saveFlags: fu,
20311
+ loadContext: au,
20312
+ saveContext: hu
20313
+ }, this.context = n.context || {}, this.rawFlags = (S = n.rawFlags) != null ? S : {}, this.previewMode = n.previewMode || !1, this.deferInitialization = (B = n.deferInitialization) != null ? B : !1, this.previewMode && this.rawFlags && Object.keys(this.rawFlags).length > 0) {
20312
20314
  this.flags = this.evaluateLocally(this.rawFlags, this.context), this.readyPromise = Promise.resolve(), this.resolveReady = () => {
20313
20315
  }, this.rejectReady = () => {
20314
20316
  }, this.isInitialized = !0;
20315
20317
  return;
20316
20318
  } else
20317
20319
  this.previewMode && !this.rawFlags && Ot.error("[FlagClient] No raw flags provided for preview mode. Defaulting to remote fetch.");
20318
- this.readyPromise = new Promise((B, M) => {
20319
- this.resolveReady = B, this.rejectReady = M;
20320
+ this.readyPromise = new Promise((M, x) => {
20321
+ this.resolveReady = M, this.rejectReady = x;
20320
20322
  }), this.deferInitialization ? (Ot.log("[FlagClient] Initialization deferred. Call ready() to initialize."), this.initializationOptions = n) : this.initialize(n);
20321
20323
  }
20322
20324
  /**
@@ -20564,8 +20566,8 @@ export {
20564
20566
  ku as WebSocketTransport,
20565
20567
  Bg as asyncCache,
20566
20568
  dg as evaluateFlagValue,
20567
- Sh as evaluateRollout,
20568
- tu as hashToPercentage,
20569
+ Ah as evaluateRollout,
20570
+ eu as hashToPercentage,
20569
20571
  Iu as isInSegment,
20570
20572
  lg as pickVariant,
20571
20573
  Sg as syncCache