zigap-utils 0.0.491 → 0.0.493

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,14 +1,14 @@
1
1
  "use client";
2
- var la = Object.defineProperty;
3
- var xa = (i, e, t) => e in i ? la(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
4
- var Bt = (i, e, t) => (xa(i, typeof e != "symbol" ? e + "" : e, t), t);
5
- import * as va from "react";
6
- import sr, { useRef as an, useState as nr, useEffect as _t } from "react";
2
+ var xa = Object.defineProperty;
3
+ var va = (i, e, t) => e in i ? xa(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
4
+ var Bt = (i, e, t) => (va(i, typeof e != "symbol" ? e + "" : e, t), t);
5
+ import * as ba from "react";
6
+ import sr, { useRef as sn, useState as nr, useEffect as _t } from "react";
7
7
  var ke = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
8
- function $i(i) {
8
+ function Hi(i) {
9
9
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
10
10
  }
11
- function uf(i) {
11
+ function lf(i) {
12
12
  if (i.__esModule)
13
13
  return i;
14
14
  var e = i.default;
@@ -29,8 +29,8 @@ function uf(i) {
29
29
  });
30
30
  }), t;
31
31
  }
32
- var Di = { exports: {} }, Xt = {};
33
- const lf = /* @__PURE__ */ uf(va);
32
+ var Fi = { exports: {} }, Xt = {};
33
+ const xf = /* @__PURE__ */ lf(ba);
34
34
  /**
35
35
  * @license React
36
36
  * react-jsx-runtime.production.min.js
@@ -40,12 +40,12 @@ const lf = /* @__PURE__ */ uf(va);
40
40
  * This source code is licensed under the MIT license found in the
41
41
  * LICENSE file in the root directory of this source tree.
42
42
  */
43
- var sn;
44
- function ba() {
45
- if (sn)
43
+ var on;
44
+ function pa() {
45
+ if (on)
46
46
  return Xt;
47
- sn = 1;
48
- var i = lf, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, a = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
47
+ on = 1;
48
+ var i = xf, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, a = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
49
49
  function y(x, u, c) {
50
50
  var d, v = {}, b = null, M = null;
51
51
  c !== void 0 && (b = "" + c), u.key !== void 0 && (b = "" + u.key), u.ref !== void 0 && (M = u.ref);
@@ -68,10 +68,10 @@ var Zt = {};
68
68
  * This source code is licensed under the MIT license found in the
69
69
  * LICENSE file in the root directory of this source tree.
70
70
  */
71
- var on;
72
- function pa() {
73
- return on || (on = 1, process.env.NODE_ENV !== "production" && function() {
74
- var i = lf, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), y = Symbol.for("react.provider"), x = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), M = Symbol.for("react.offscreen"), B = Symbol.iterator, R = "@@iterator";
71
+ var cn;
72
+ function ya() {
73
+ return cn || (cn = 1, process.env.NODE_ENV !== "production" && function() {
74
+ var i = xf, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), y = Symbol.for("react.provider"), x = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), M = Symbol.for("react.offscreen"), B = Symbol.iterator, R = "@@iterator";
75
75
  function k(m) {
76
76
  if (m === null || typeof m != "object")
77
77
  return null;
@@ -160,14 +160,14 @@ function pa() {
160
160
  }
161
161
  return null;
162
162
  }
163
- var p = Object.assign, g = 0, E, I, T, S, o, A, W;
163
+ var p = Object.assign, g = 0, E, I, T, S, o, A, Y;
164
164
  function K() {
165
165
  }
166
166
  K.__reactDisabledLog = !0;
167
- function Y() {
167
+ function W() {
168
168
  {
169
169
  if (g === 0) {
170
- E = console.log, I = console.info, T = console.warn, S = console.error, o = console.group, A = console.groupCollapsed, W = console.groupEnd;
170
+ E = console.log, I = console.info, T = console.warn, S = console.error, o = console.group, A = console.groupCollapsed, Y = console.groupEnd;
171
171
  var m = {
172
172
  configurable: !0,
173
173
  enumerable: !0,
@@ -215,7 +215,7 @@ function pa() {
215
215
  value: A
216
216
  }),
217
217
  groupEnd: p({}, m, {
218
- value: W
218
+ value: Y
219
219
  })
220
220
  });
221
221
  }
@@ -254,7 +254,7 @@ function pa() {
254
254
  var fe = Error.prepareStackTrace;
255
255
  Error.prepareStackTrace = void 0;
256
256
  var ie;
257
- ie = se.current, se.current = null, Y();
257
+ ie = se.current, se.current = null, W();
258
258
  try {
259
259
  if (z) {
260
260
  var he = function() {
@@ -348,7 +348,7 @@ function pa() {
348
348
  }
349
349
  return "";
350
350
  }
351
- var We = Object.prototype.hasOwnProperty, Y0 = {}, Qe = q.ReactDebugCurrentFrame;
351
+ var Ye = Object.prototype.hasOwnProperty, W0 = {}, Qe = q.ReactDebugCurrentFrame;
352
352
  function Ne(m) {
353
353
  if (m) {
354
354
  var z = m._owner, L = Ge(m.type, m._source, z ? z.type : null);
@@ -358,7 +358,7 @@ function pa() {
358
358
  }
359
359
  function z0(m, z, L, V, fe) {
360
360
  {
361
- var ie = Function.call.bind(We);
361
+ var ie = Function.call.bind(Ye);
362
362
  for (var he in m)
363
363
  if (ie(m, he)) {
364
364
  var re = void 0;
@@ -371,7 +371,7 @@ function pa() {
371
371
  } catch (ue) {
372
372
  re = ue;
373
373
  }
374
- re && !(re instanceof Error) && (Ne(fe), F("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", V || "React class", L, he, typeof re), Ne(null)), re instanceof Error && !(re.message in Y0) && (Y0[re.message] = !0, Ne(fe), F("Failed %s type: %s", L, re.message), Ne(null));
374
+ re && !(re instanceof Error) && (Ne(fe), F("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", V || "React class", L, he, typeof re), Ne(null)), re instanceof Error && !(re.message in W0) && (W0[re.message] = !0, Ne(fe), F("Failed %s type: %s", L, re.message), Ne(null));
375
375
  }
376
376
  }
377
377
  }
@@ -407,7 +407,7 @@ function pa() {
407
407
  }, Q0, l0, He;
408
408
  He = {};
409
409
  function q0(m) {
410
- if (We.call(m, "ref")) {
410
+ if (Ye.call(m, "ref")) {
411
411
  var z = Object.getOwnPropertyDescriptor(m, "ref").get;
412
412
  if (z && z.isReactWarning)
413
413
  return !1;
@@ -415,7 +415,7 @@ function pa() {
415
415
  return m.ref !== void 0;
416
416
  }
417
417
  function a0(m) {
418
- if (We.call(m, "key")) {
418
+ if (Ye.call(m, "key")) {
419
419
  var z = Object.getOwnPropertyDescriptor(m, "key").get;
420
420
  if (z && z.isReactWarning)
421
421
  return !1;
@@ -479,12 +479,12 @@ function pa() {
479
479
  value: fe
480
480
  }), Object.freeze && (Object.freeze(re.props), Object.freeze(re)), re;
481
481
  };
482
- function W0(m, z, L, V, fe) {
482
+ function Y0(m, z, L, V, fe) {
483
483
  {
484
484
  var ie, he = {}, re = null, xe = null;
485
485
  L !== void 0 && (F0(L), re = "" + L), a0(z) && (F0(z.key), re = "" + z.key), q0(z) && (xe = z.ref, r0(z, fe));
486
486
  for (ie in z)
487
- We.call(z, ie) && !u0.hasOwnProperty(ie) && (he[ie] = z[ie]);
487
+ Ye.call(z, ie) && !u0.hasOwnProperty(ie) && (he[ie] = z[ie]);
488
488
  if (m && m.defaultProps) {
489
489
  var ue = m.defaultProps;
490
490
  for (ie in ue)
@@ -619,7 +619,7 @@ Check the top-level render call using <` + L + ">.");
619
619
  var ue;
620
620
  m === null ? ue = "null" : Fe(m) ? ue = "array" : m !== void 0 && m.$$typeof === e ? (ue = "<" + (h(m.type) || "Unknown") + " />", re = " Did you accidentally export a JSX literal instead of a component?") : ue = typeof m, F("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ue, re);
621
621
  }
622
- var ve = W0(m, z, L, fe, ie);
622
+ var ve = Y0(m, z, L, fe, ie);
623
623
  if (ve == null)
624
624
  return ve;
625
625
  if (he) {
@@ -635,7 +635,7 @@ Check the top-level render call using <` + L + ">.");
635
635
  else
636
636
  d0(me, m);
637
637
  }
638
- if (We.call(z, "key")) {
638
+ if (Ye.call(z, "key")) {
639
639
  var Ae = h(m), pe = Object.keys(z).filter(function(ce) {
640
640
  return ce !== "key";
641
641
  }), de = pe.length > 0 ? "{key: someKey, " + pe.join(": ..., ") + ": ...}" : "{key: someKey}";
@@ -662,21 +662,21 @@ React keys must be passed directly to JSX without using spread:
662
662
  Zt.Fragment = r, Zt.jsx = s, Zt.jsxs = D;
663
663
  }()), Zt;
664
664
  }
665
- process.env.NODE_ENV === "production" ? Di.exports = ba() : Di.exports = pa();
666
- var yr = Di.exports, ya = Object.defineProperty, gr = Object.getOwnPropertySymbols, xf = Object.prototype.hasOwnProperty, vf = Object.prototype.propertyIsEnumerable, cn = (i, e, t) => e in i ? ya(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, dn = (i, e) => {
665
+ process.env.NODE_ENV === "production" ? Fi.exports = pa() : Fi.exports = ya();
666
+ var gr = Fi.exports, ga = Object.defineProperty, mr = Object.getOwnPropertySymbols, vf = Object.prototype.hasOwnProperty, bf = Object.prototype.propertyIsEnumerable, dn = (i, e, t) => e in i ? ga(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, hn = (i, e) => {
667
667
  for (var t in e || (e = {}))
668
- xf.call(e, t) && cn(i, t, e[t]);
669
- if (gr)
670
- for (var t of gr(e))
671
- vf.call(e, t) && cn(i, t, e[t]);
668
+ vf.call(e, t) && dn(i, t, e[t]);
669
+ if (mr)
670
+ for (var t of mr(e))
671
+ bf.call(e, t) && dn(i, t, e[t]);
672
672
  return i;
673
- }, ga = (i, e) => {
673
+ }, ma = (i, e) => {
674
674
  var t = {};
675
675
  for (var r in i)
676
- xf.call(i, r) && e.indexOf(r) < 0 && (t[r] = i[r]);
677
- if (i != null && gr)
678
- for (var r of gr(i))
679
- e.indexOf(r) < 0 && vf.call(i, r) && (t[r] = i[r]);
676
+ vf.call(i, r) && e.indexOf(r) < 0 && (t[r] = i[r]);
677
+ if (i != null && mr)
678
+ for (var r of mr(i))
679
+ e.indexOf(r) < 0 && bf.call(i, r) && (t[r] = i[r]);
680
680
  return t;
681
681
  };
682
682
  /**
@@ -1110,13 +1110,13 @@ var tr = Ft;
1110
1110
  * Copyright (c) Paul O'Shannessy
1111
1111
  * SPDX-License-Identifier: ISC
1112
1112
  */
1113
- var ma = {
1113
+ var _a = {
1114
1114
  L: tr.QrCode.Ecc.LOW,
1115
1115
  M: tr.QrCode.Ecc.MEDIUM,
1116
1116
  Q: tr.QrCode.Ecc.QUARTILE,
1117
1117
  H: tr.QrCode.Ecc.HIGH
1118
- }, _a = 128, Aa = "L", Ea = "#FFFFFF", wa = "#000000", Ba = !1, bf = 4, Ca = 0.1;
1119
- function Ma(i, e = 0) {
1118
+ }, Aa = 128, Ea = "L", wa = "#FFFFFF", Ba = "#000000", Ca = !1, pf = 4, Ma = 0.1;
1119
+ function Sa(i, e = 0) {
1120
1120
  const t = [];
1121
1121
  return i.forEach(function(r, a) {
1122
1122
  let n = null;
@@ -1135,13 +1135,13 @@ function Ma(i, e = 0) {
1135
1135
  });
1136
1136
  }), t.join("");
1137
1137
  }
1138
- function Sa(i, e) {
1138
+ function Da(i, e) {
1139
1139
  return i.slice().map((t, r) => r < e.y || r >= e.y + e.h ? t : t.map((a, n) => n < e.x || n >= e.x + e.w ? a : !1));
1140
1140
  }
1141
- function Da(i, e, t, r) {
1141
+ function Fa(i, e, t, r) {
1142
1142
  if (r == null)
1143
1143
  return null;
1144
- const a = t ? bf : 0, n = i.length + a * 2, y = Math.floor(e * Ca), x = n / e, u = (r.width || y) * x, c = (r.height || y) * x, d = r.x == null ? i.length / 2 - u / 2 : r.x * x, v = r.y == null ? i.length / 2 - c / 2 : r.y * x;
1144
+ const a = t ? pf : 0, n = i.length + a * 2, y = Math.floor(e * Ma), x = n / e, u = (r.width || y) * x, c = (r.height || y) * x, d = r.x == null ? i.length / 2 - u / 2 : r.x * x, v = r.y == null ? i.length / 2 - c / 2 : r.y * x;
1145
1145
  let b = null;
1146
1146
  if (r.excavate) {
1147
1147
  let M = Math.floor(d), B = Math.floor(v), R = Math.ceil(u + d - M), k = Math.ceil(c + v - B);
@@ -1149,7 +1149,7 @@ function Da(i, e, t, r) {
1149
1149
  }
1150
1150
  return { x: d, y: v, h: c, w: u, excavation: b };
1151
1151
  }
1152
- var Fa = function() {
1152
+ var Ra = function() {
1153
1153
  try {
1154
1154
  new Path2D().addPath(new Path2D());
1155
1155
  } catch {
@@ -1157,17 +1157,17 @@ var Fa = function() {
1157
1157
  }
1158
1158
  return !0;
1159
1159
  }();
1160
- function pf(i) {
1160
+ function yf(i) {
1161
1161
  const e = i, {
1162
1162
  value: t,
1163
- size: r = _a,
1164
- level: a = Aa,
1165
- bgColor: n = Ea,
1166
- fgColor: y = wa,
1167
- includeMargin: x = Ba,
1163
+ size: r = Aa,
1164
+ level: a = Ea,
1165
+ bgColor: n = wa,
1166
+ fgColor: y = Ba,
1167
+ includeMargin: x = Ca,
1168
1168
  style: u,
1169
1169
  imageSettings: c
1170
- } = e, d = ga(e, [
1170
+ } = e, d = ma(e, [
1171
1171
  "value",
1172
1172
  "size",
1173
1173
  "level",
@@ -1176,19 +1176,19 @@ function pf(i) {
1176
1176
  "includeMargin",
1177
1177
  "style",
1178
1178
  "imageSettings"
1179
- ]), v = c == null ? void 0 : c.src, b = an(null), M = an(null), [B, R] = nr(!1);
1179
+ ]), v = c == null ? void 0 : c.src, b = sn(null), M = sn(null), [B, R] = nr(!1);
1180
1180
  _t(() => {
1181
1181
  if (b.current != null) {
1182
1182
  const F = b.current, P = F.getContext("2d");
1183
1183
  if (!P)
1184
1184
  return;
1185
- let O = tr.QrCode.encodeText(t, ma[a]).getModules();
1186
- const H = x ? bf : 0, U = O.length + H * 2, j = Da(O, r, x, c), X = M.current, Q = j != null && X !== null && X.complete && X.naturalHeight !== 0 && X.naturalWidth !== 0;
1187
- Q && j.excavation != null && (O = Sa(O, j.excavation));
1185
+ let O = tr.QrCode.encodeText(t, _a[a]).getModules();
1186
+ const H = x ? pf : 0, U = O.length + H * 2, j = Fa(O, r, x, c), X = M.current, Q = j != null && X !== null && X.complete && X.naturalHeight !== 0 && X.naturalWidth !== 0;
1187
+ Q && j.excavation != null && (O = Da(O, j.excavation));
1188
1188
  const $ = window.devicePixelRatio || 1;
1189
1189
  F.height = F.width = r * $;
1190
1190
  const _ = r / U * $;
1191
- P.scale(_, _), P.fillStyle = n, P.fillRect(0, 0, U, U), P.fillStyle = y, Fa ? P.fill(new Path2D(Ma(O, H))) : O.forEach(function(f, h) {
1191
+ P.scale(_, _), P.fillStyle = n, P.fillRect(0, 0, U, U), P.fillStyle = y, Ra ? P.fill(new Path2D(Sa(O, H))) : O.forEach(function(f, h) {
1192
1192
  f.forEach(function(p, g) {
1193
1193
  p && P.fillRect(g + H, h + H, 1, 1);
1194
1194
  });
@@ -1197,7 +1197,7 @@ function pf(i) {
1197
1197
  }), _t(() => {
1198
1198
  R(!1);
1199
1199
  }, [v]);
1200
- const k = dn({ height: r, width: r }, u);
1200
+ const k = hn({ height: r, width: r }, u);
1201
1201
  let q = null;
1202
1202
  return v != null && (q = /* @__PURE__ */ sr.createElement("img", {
1203
1203
  src: v,
@@ -1207,33 +1207,33 @@ function pf(i) {
1207
1207
  R(!0);
1208
1208
  },
1209
1209
  ref: M
1210
- })), /* @__PURE__ */ sr.createElement(sr.Fragment, null, /* @__PURE__ */ sr.createElement("canvas", dn({
1210
+ })), /* @__PURE__ */ sr.createElement(sr.Fragment, null, /* @__PURE__ */ sr.createElement("canvas", hn({
1211
1211
  style: k,
1212
1212
  height: r,
1213
1213
  width: r,
1214
1214
  ref: b
1215
1215
  }, d)), q);
1216
1216
  }
1217
- var yf = { exports: {} };
1218
- function gf(i) {
1217
+ var gf = { exports: {} };
1218
+ function mf(i) {
1219
1219
  throw new Error('Could not dynamically require "' + i + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1220
1220
  }
1221
- var Nr = { exports: {} };
1222
- const Ra = {}, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1221
+ var qr = { exports: {} };
1222
+ const ka = {}, Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1223
1223
  __proto__: null,
1224
- default: Ra
1225
- }, Symbol.toStringTag, { value: "Module" })), wr = /* @__PURE__ */ uf(ka);
1226
- var hn;
1227
- function Ye() {
1228
- return hn || (hn = 1, function(i, e) {
1224
+ default: ka
1225
+ }, Symbol.toStringTag, { value: "Module" })), Br = /* @__PURE__ */ lf(Pa);
1226
+ var un;
1227
+ function We() {
1228
+ return un || (un = 1, function(i, e) {
1229
1229
  (function(t, r) {
1230
1230
  i.exports = r();
1231
1231
  })(ke, function() {
1232
1232
  var t = t || function(r, a) {
1233
1233
  var n;
1234
- if (typeof window < "u" && window.crypto && (n = window.crypto), typeof self < "u" && self.crypto && (n = self.crypto), typeof globalThis < "u" && globalThis.crypto && (n = globalThis.crypto), !n && typeof window < "u" && window.msCrypto && (n = window.msCrypto), !n && typeof ke < "u" && ke.crypto && (n = ke.crypto), !n && typeof gf == "function")
1234
+ if (typeof window < "u" && window.crypto && (n = window.crypto), typeof self < "u" && self.crypto && (n = self.crypto), typeof globalThis < "u" && globalThis.crypto && (n = globalThis.crypto), !n && typeof window < "u" && window.msCrypto && (n = window.msCrypto), !n && typeof ke < "u" && ke.crypto && (n = ke.crypto), !n && typeof mf == "function")
1235
1235
  try {
1236
- n = wr;
1236
+ n = Br;
1237
1237
  } catch {
1238
1238
  }
1239
1239
  var y = function() {
@@ -1722,13 +1722,13 @@ function Ye() {
1722
1722
  }(Math);
1723
1723
  return t;
1724
1724
  });
1725
- }(Nr)), Nr.exports;
1725
+ }(qr)), qr.exports;
1726
1726
  }
1727
- var qr = { exports: {} }, un;
1728
- function Br() {
1729
- return un || (un = 1, function(i, e) {
1727
+ var Lr = { exports: {} }, ln;
1728
+ function Cr() {
1729
+ return ln || (ln = 1, function(i, e) {
1730
1730
  (function(t, r) {
1731
- i.exports = r(Ye());
1731
+ i.exports = r(We());
1732
1732
  })(ke, function(t) {
1733
1733
  return function(r) {
1734
1734
  var a = t, n = a.lib, y = n.Base, x = n.WordArray, u = a.x64 = {};
@@ -1952,13 +1952,13 @@ function Br() {
1952
1952
  });
1953
1953
  }(), t;
1954
1954
  });
1955
- }(qr)), qr.exports;
1955
+ }(Lr)), Lr.exports;
1956
1956
  }
1957
- var Lr = { exports: {} }, ln;
1958
- function Pa() {
1959
- return ln || (ln = 1, function(i, e) {
1957
+ var $r = { exports: {} }, xn;
1958
+ function Ia() {
1959
+ return xn || (xn = 1, function(i, e) {
1960
1960
  (function(t, r) {
1961
- i.exports = r(Ye());
1961
+ i.exports = r(We());
1962
1962
  })(ke, function(t) {
1963
1963
  return function() {
1964
1964
  if (typeof ArrayBuffer == "function") {
@@ -1974,13 +1974,13 @@ function Pa() {
1974
1974
  }
1975
1975
  }(), t.lib.WordArray;
1976
1976
  });
1977
- }(Lr)), Lr.exports;
1977
+ }($r)), $r.exports;
1978
1978
  }
1979
- var $r = { exports: {} }, xn;
1980
- function Ia() {
1981
- return xn || (xn = 1, function(i, e) {
1979
+ var Hr = { exports: {} }, vn;
1980
+ function Ta() {
1981
+ return vn || (vn = 1, function(i, e) {
1982
1982
  (function(t, r) {
1983
- i.exports = r(Ye());
1983
+ i.exports = r(We());
1984
1984
  })(ke, function(t) {
1985
1985
  return function() {
1986
1986
  var r = t, a = r.lib, n = a.WordArray, y = r.enc;
@@ -2068,13 +2068,13 @@ function Ia() {
2068
2068
  }
2069
2069
  }(), t.enc.Utf16;
2070
2070
  });
2071
- }($r)), $r.exports;
2071
+ }(Hr)), Hr.exports;
2072
2072
  }
2073
- var Hr = { exports: {} }, vn;
2073
+ var Ur = { exports: {} }, bn;
2074
2074
  function kt() {
2075
- return vn || (vn = 1, function(i, e) {
2075
+ return bn || (bn = 1, function(i, e) {
2076
2076
  (function(t, r) {
2077
- i.exports = r(Ye());
2077
+ i.exports = r(We());
2078
2078
  })(ke, function(t) {
2079
2079
  return function() {
2080
2080
  var r = t, a = r.lib, n = a.WordArray, y = r.enc;
@@ -2143,13 +2143,13 @@ function kt() {
2143
2143
  }
2144
2144
  }(), t.enc.Base64;
2145
2145
  });
2146
- }(Hr)), Hr.exports;
2146
+ }(Ur)), Ur.exports;
2147
2147
  }
2148
- var Ur = { exports: {} }, bn;
2149
- function Ta() {
2150
- return bn || (bn = 1, function(i, e) {
2148
+ var Wr = { exports: {} }, pn;
2149
+ function Oa() {
2150
+ return pn || (pn = 1, function(i, e) {
2151
2151
  (function(t, r) {
2152
- i.exports = r(Ye());
2152
+ i.exports = r(We());
2153
2153
  })(ke, function(t) {
2154
2154
  return function() {
2155
2155
  var r = t, a = r.lib, n = a.WordArray, y = r.enc;
@@ -2225,13 +2225,13 @@ function Ta() {
2225
2225
  }
2226
2226
  }(), t.enc.Base64url;
2227
2227
  });
2228
- }(Ur)), Ur.exports;
2228
+ }(Wr)), Wr.exports;
2229
2229
  }
2230
- var Yr = { exports: {} }, pn;
2230
+ var Yr = { exports: {} }, yn;
2231
2231
  function Pt() {
2232
- return pn || (pn = 1, function(i, e) {
2232
+ return yn || (yn = 1, function(i, e) {
2233
2233
  (function(t, r) {
2234
- i.exports = r(Ye());
2234
+ i.exports = r(We());
2235
2235
  })(ke, function(t) {
2236
2236
  return function(r) {
2237
2237
  var a = t, n = a.lib, y = n.WordArray, x = n.Hasher, u = a.algo, c = [];
@@ -2253,8 +2253,8 @@ function Pt() {
2253
2253
  var F = k + q, P = R[F];
2254
2254
  R[F] = (P << 8 | P >>> 24) & 16711935 | (P << 24 | P >>> 8) & 4278255360;
2255
2255
  }
2256
- var O = this._hash.words, H = R[k + 0], U = R[k + 1], j = R[k + 2], X = R[k + 3], Q = R[k + 4], $ = R[k + 5], _ = R[k + 6], f = R[k + 7], h = R[k + 8], p = R[k + 9], g = R[k + 10], E = R[k + 11], I = R[k + 12], T = R[k + 13], S = R[k + 14], o = R[k + 15], A = O[0], W = O[1], K = O[2], Y = O[3];
2257
- A = v(A, W, K, Y, H, 7, c[0]), Y = v(Y, A, W, K, U, 12, c[1]), K = v(K, Y, A, W, j, 17, c[2]), W = v(W, K, Y, A, X, 22, c[3]), A = v(A, W, K, Y, Q, 7, c[4]), Y = v(Y, A, W, K, $, 12, c[5]), K = v(K, Y, A, W, _, 17, c[6]), W = v(W, K, Y, A, f, 22, c[7]), A = v(A, W, K, Y, h, 7, c[8]), Y = v(Y, A, W, K, p, 12, c[9]), K = v(K, Y, A, W, g, 17, c[10]), W = v(W, K, Y, A, E, 22, c[11]), A = v(A, W, K, Y, I, 7, c[12]), Y = v(Y, A, W, K, T, 12, c[13]), K = v(K, Y, A, W, S, 17, c[14]), W = v(W, K, Y, A, o, 22, c[15]), A = b(A, W, K, Y, U, 5, c[16]), Y = b(Y, A, W, K, _, 9, c[17]), K = b(K, Y, A, W, E, 14, c[18]), W = b(W, K, Y, A, H, 20, c[19]), A = b(A, W, K, Y, $, 5, c[20]), Y = b(Y, A, W, K, g, 9, c[21]), K = b(K, Y, A, W, o, 14, c[22]), W = b(W, K, Y, A, Q, 20, c[23]), A = b(A, W, K, Y, p, 5, c[24]), Y = b(Y, A, W, K, S, 9, c[25]), K = b(K, Y, A, W, X, 14, c[26]), W = b(W, K, Y, A, h, 20, c[27]), A = b(A, W, K, Y, T, 5, c[28]), Y = b(Y, A, W, K, j, 9, c[29]), K = b(K, Y, A, W, f, 14, c[30]), W = b(W, K, Y, A, I, 20, c[31]), A = M(A, W, K, Y, $, 4, c[32]), Y = M(Y, A, W, K, h, 11, c[33]), K = M(K, Y, A, W, E, 16, c[34]), W = M(W, K, Y, A, S, 23, c[35]), A = M(A, W, K, Y, U, 4, c[36]), Y = M(Y, A, W, K, Q, 11, c[37]), K = M(K, Y, A, W, f, 16, c[38]), W = M(W, K, Y, A, g, 23, c[39]), A = M(A, W, K, Y, T, 4, c[40]), Y = M(Y, A, W, K, H, 11, c[41]), K = M(K, Y, A, W, X, 16, c[42]), W = M(W, K, Y, A, _, 23, c[43]), A = M(A, W, K, Y, p, 4, c[44]), Y = M(Y, A, W, K, I, 11, c[45]), K = M(K, Y, A, W, o, 16, c[46]), W = M(W, K, Y, A, j, 23, c[47]), A = B(A, W, K, Y, H, 6, c[48]), Y = B(Y, A, W, K, f, 10, c[49]), K = B(K, Y, A, W, S, 15, c[50]), W = B(W, K, Y, A, $, 21, c[51]), A = B(A, W, K, Y, I, 6, c[52]), Y = B(Y, A, W, K, X, 10, c[53]), K = B(K, Y, A, W, g, 15, c[54]), W = B(W, K, Y, A, U, 21, c[55]), A = B(A, W, K, Y, h, 6, c[56]), Y = B(Y, A, W, K, o, 10, c[57]), K = B(K, Y, A, W, _, 15, c[58]), W = B(W, K, Y, A, T, 21, c[59]), A = B(A, W, K, Y, Q, 6, c[60]), Y = B(Y, A, W, K, E, 10, c[61]), K = B(K, Y, A, W, j, 15, c[62]), W = B(W, K, Y, A, p, 21, c[63]), O[0] = O[0] + A | 0, O[1] = O[1] + W | 0, O[2] = O[2] + K | 0, O[3] = O[3] + Y | 0;
2256
+ var O = this._hash.words, H = R[k + 0], U = R[k + 1], j = R[k + 2], X = R[k + 3], Q = R[k + 4], $ = R[k + 5], _ = R[k + 6], f = R[k + 7], h = R[k + 8], p = R[k + 9], g = R[k + 10], E = R[k + 11], I = R[k + 12], T = R[k + 13], S = R[k + 14], o = R[k + 15], A = O[0], Y = O[1], K = O[2], W = O[3];
2257
+ A = v(A, Y, K, W, H, 7, c[0]), W = v(W, A, Y, K, U, 12, c[1]), K = v(K, W, A, Y, j, 17, c[2]), Y = v(Y, K, W, A, X, 22, c[3]), A = v(A, Y, K, W, Q, 7, c[4]), W = v(W, A, Y, K, $, 12, c[5]), K = v(K, W, A, Y, _, 17, c[6]), Y = v(Y, K, W, A, f, 22, c[7]), A = v(A, Y, K, W, h, 7, c[8]), W = v(W, A, Y, K, p, 12, c[9]), K = v(K, W, A, Y, g, 17, c[10]), Y = v(Y, K, W, A, E, 22, c[11]), A = v(A, Y, K, W, I, 7, c[12]), W = v(W, A, Y, K, T, 12, c[13]), K = v(K, W, A, Y, S, 17, c[14]), Y = v(Y, K, W, A, o, 22, c[15]), A = b(A, Y, K, W, U, 5, c[16]), W = b(W, A, Y, K, _, 9, c[17]), K = b(K, W, A, Y, E, 14, c[18]), Y = b(Y, K, W, A, H, 20, c[19]), A = b(A, Y, K, W, $, 5, c[20]), W = b(W, A, Y, K, g, 9, c[21]), K = b(K, W, A, Y, o, 14, c[22]), Y = b(Y, K, W, A, Q, 20, c[23]), A = b(A, Y, K, W, p, 5, c[24]), W = b(W, A, Y, K, S, 9, c[25]), K = b(K, W, A, Y, X, 14, c[26]), Y = b(Y, K, W, A, h, 20, c[27]), A = b(A, Y, K, W, T, 5, c[28]), W = b(W, A, Y, K, j, 9, c[29]), K = b(K, W, A, Y, f, 14, c[30]), Y = b(Y, K, W, A, I, 20, c[31]), A = M(A, Y, K, W, $, 4, c[32]), W = M(W, A, Y, K, h, 11, c[33]), K = M(K, W, A, Y, E, 16, c[34]), Y = M(Y, K, W, A, S, 23, c[35]), A = M(A, Y, K, W, U, 4, c[36]), W = M(W, A, Y, K, Q, 11, c[37]), K = M(K, W, A, Y, f, 16, c[38]), Y = M(Y, K, W, A, g, 23, c[39]), A = M(A, Y, K, W, T, 4, c[40]), W = M(W, A, Y, K, H, 11, c[41]), K = M(K, W, A, Y, X, 16, c[42]), Y = M(Y, K, W, A, _, 23, c[43]), A = M(A, Y, K, W, p, 4, c[44]), W = M(W, A, Y, K, I, 11, c[45]), K = M(K, W, A, Y, o, 16, c[46]), Y = M(Y, K, W, A, j, 23, c[47]), A = B(A, Y, K, W, H, 6, c[48]), W = B(W, A, Y, K, f, 10, c[49]), K = B(K, W, A, Y, S, 15, c[50]), Y = B(Y, K, W, A, $, 21, c[51]), A = B(A, Y, K, W, I, 6, c[52]), W = B(W, A, Y, K, X, 10, c[53]), K = B(K, W, A, Y, g, 15, c[54]), Y = B(Y, K, W, A, U, 21, c[55]), A = B(A, Y, K, W, h, 6, c[56]), W = B(W, A, Y, K, o, 10, c[57]), K = B(K, W, A, Y, _, 15, c[58]), Y = B(Y, K, W, A, T, 21, c[59]), A = B(A, Y, K, W, Q, 6, c[60]), W = B(W, A, Y, K, E, 10, c[61]), K = B(K, W, A, Y, j, 15, c[62]), Y = B(Y, K, W, A, p, 21, c[63]), O[0] = O[0] + A | 0, O[1] = O[1] + Y | 0, O[2] = O[2] + K | 0, O[3] = O[3] + W | 0;
2258
2258
  },
2259
2259
  _doFinalize: function() {
2260
2260
  var R = this._data, k = R.words, q = this._nDataBytes * 8, F = R.sigBytes * 8;
@@ -2293,11 +2293,11 @@ function Pt() {
2293
2293
  });
2294
2294
  }(Yr)), Yr.exports;
2295
2295
  }
2296
- var Wr = { exports: {} }, yn;
2297
- function mf() {
2298
- return yn || (yn = 1, function(i, e) {
2296
+ var Kr = { exports: {} }, gn;
2297
+ function _f() {
2298
+ return gn || (gn = 1, function(i, e) {
2299
2299
  (function(t, r) {
2300
- i.exports = r(Ye());
2300
+ i.exports = r(We());
2301
2301
  })(ke, function(t) {
2302
2302
  return function() {
2303
2303
  var r = t, a = r.lib, n = a.WordArray, y = a.Hasher, x = r.algo, u = [], c = x.SHA1 = y.extend({
@@ -2335,13 +2335,13 @@ function mf() {
2335
2335
  r.SHA1 = y._createHelper(c), r.HmacSHA1 = y._createHmacHelper(c);
2336
2336
  }(), t.SHA1;
2337
2337
  });
2338
- }(Wr)), Wr.exports;
2338
+ }(Kr)), Kr.exports;
2339
2339
  }
2340
- var Kr = { exports: {} }, gn;
2341
- function Hi() {
2342
- return gn || (gn = 1, function(i, e) {
2340
+ var jr = { exports: {} }, mn;
2341
+ function Ui() {
2342
+ return mn || (mn = 1, function(i, e) {
2343
2343
  (function(t, r) {
2344
- i.exports = r(Ye());
2344
+ i.exports = r(We());
2345
2345
  })(ke, function(t) {
2346
2346
  return function(r) {
2347
2347
  var a = t, n = a.lib, y = n.WordArray, x = n.Hasher, u = a.algo, c = [], d = [];
@@ -2387,13 +2387,13 @@ function Hi() {
2387
2387
  a.SHA256 = x._createHelper(b), a.HmacSHA256 = x._createHmacHelper(b);
2388
2388
  }(Math), t.SHA256;
2389
2389
  });
2390
- }(Kr)), Kr.exports;
2390
+ }(jr)), jr.exports;
2391
2391
  }
2392
- var jr = { exports: {} }, mn;
2393
- function Oa() {
2394
- return mn || (mn = 1, function(i, e) {
2392
+ var Vr = { exports: {} }, _n;
2393
+ function za() {
2394
+ return _n || (_n = 1, function(i, e) {
2395
2395
  (function(t, r, a) {
2396
- i.exports = r(Ye(), Hi());
2396
+ i.exports = r(We(), Ui());
2397
2397
  })(ke, function(t) {
2398
2398
  return function() {
2399
2399
  var r = t, a = r.lib, n = a.WordArray, y = r.algo, x = y.SHA256, u = y.SHA224 = x.extend({
@@ -2417,13 +2417,13 @@ function Oa() {
2417
2417
  r.SHA224 = x._createHelper(u), r.HmacSHA224 = x._createHmacHelper(u);
2418
2418
  }(), t.SHA224;
2419
2419
  });
2420
- }(jr)), jr.exports;
2420
+ }(Vr)), Vr.exports;
2421
2421
  }
2422
- var Vr = { exports: {} }, _n;
2423
- function _f() {
2424
- return _n || (_n = 1, function(i, e) {
2422
+ var Xr = { exports: {} }, An;
2423
+ function Af() {
2424
+ return An || (An = 1, function(i, e) {
2425
2425
  (function(t, r, a) {
2426
- i.exports = r(Ye(), Br());
2426
+ i.exports = r(We(), Cr());
2427
2427
  })(ke, function(t) {
2428
2428
  return function() {
2429
2429
  var r = t, a = r.lib, n = a.Hasher, y = r.x64, x = y.Word, u = y.WordArray, c = r.algo;
@@ -2530,18 +2530,18 @@ function _f() {
2530
2530
  ]);
2531
2531
  },
2532
2532
  _doProcessBlock: function(B, R) {
2533
- for (var k = this._hash.words, q = k[0], F = k[1], P = k[2], O = k[3], H = k[4], U = k[5], j = k[6], X = k[7], Q = q.high, $ = q.low, _ = F.high, f = F.low, h = P.high, p = P.low, g = O.high, E = O.low, I = H.high, T = H.low, S = U.high, o = U.low, A = j.high, W = j.low, K = X.high, Y = X.low, J = Q, se = $, Ee = _, ge = f, Ce = h, we = p, _0 = g, Pe = E, Me = I, A0 = T, Ge = S, We = o, Y0 = A, Qe = W, Ne = K, z0 = Y, qe = 0; qe < 80; qe++) {
2533
+ for (var k = this._hash.words, q = k[0], F = k[1], P = k[2], O = k[3], H = k[4], U = k[5], j = k[6], X = k[7], Q = q.high, $ = q.low, _ = F.high, f = F.low, h = P.high, p = P.low, g = O.high, E = O.low, I = H.high, T = H.low, S = U.high, o = U.low, A = j.high, Y = j.low, K = X.high, W = X.low, J = Q, se = $, Ee = _, ge = f, Ce = h, we = p, _0 = g, Pe = E, Me = I, A0 = T, Ge = S, Ye = o, W0 = A, Qe = Y, Ne = K, z0 = W, qe = 0; qe < 80; qe++) {
2534
2534
  var Fe, D0, Je = b[qe];
2535
2535
  if (qe < 16)
2536
2536
  D0 = Je.high = B[R + qe * 2] | 0, Fe = Je.low = B[R + qe * 2 + 1] | 0;
2537
2537
  else {
2538
- var i0 = b[qe - 15], F0 = i0.high, Le = i0.low, u0 = (F0 >>> 1 | Le << 31) ^ (F0 >>> 8 | Le << 24) ^ F0 >>> 7, Q0 = (Le >>> 1 | F0 << 31) ^ (Le >>> 8 | F0 << 24) ^ (Le >>> 7 | F0 << 25), l0 = b[qe - 2], He = l0.high, q0 = l0.low, a0 = (He >>> 19 | q0 << 13) ^ (He << 3 | q0 >>> 29) ^ He >>> 6, r0 = (q0 >>> 19 | He << 13) ^ (q0 << 3 | He >>> 29) ^ (q0 >>> 6 | He << 26), L0 = b[qe - 7], n0 = L0.high, s0 = L0.low, W0 = b[qe - 16], e0 = W0.high, f0 = W0.low;
2538
+ var i0 = b[qe - 15], F0 = i0.high, Le = i0.low, u0 = (F0 >>> 1 | Le << 31) ^ (F0 >>> 8 | Le << 24) ^ F0 >>> 7, Q0 = (Le >>> 1 | F0 << 31) ^ (Le >>> 8 | F0 << 24) ^ (Le >>> 7 | F0 << 25), l0 = b[qe - 2], He = l0.high, q0 = l0.low, a0 = (He >>> 19 | q0 << 13) ^ (He << 3 | q0 >>> 29) ^ He >>> 6, r0 = (q0 >>> 19 | He << 13) ^ (q0 << 3 | He >>> 29) ^ (q0 >>> 6 | He << 26), L0 = b[qe - 7], n0 = L0.high, s0 = L0.low, Y0 = b[qe - 16], e0 = Y0.high, f0 = Y0.low;
2539
2539
  Fe = Q0 + s0, D0 = u0 + n0 + (Fe >>> 0 < Q0 >>> 0 ? 1 : 0), Fe = Fe + r0, D0 = D0 + a0 + (Fe >>> 0 < r0 >>> 0 ? 1 : 0), Fe = Fe + f0, D0 = D0 + e0 + (Fe >>> 0 < f0 >>> 0 ? 1 : 0), Je.high = D0, Je.low = Fe;
2540
2540
  }
2541
- var $0 = Me & Ge ^ ~Me & Y0, o0 = A0 & We ^ ~A0 & Qe, x0 = J & Ee ^ J & Ce ^ Ee & Ce, R0 = se & ge ^ se & we ^ ge & we, t0 = (J >>> 28 | se << 4) ^ (J << 30 | se >>> 2) ^ (J << 25 | se >>> 7), Ve = (se >>> 28 | J << 4) ^ (se << 30 | J >>> 2) ^ (se << 25 | J >>> 7), rt = (Me >>> 14 | A0 << 18) ^ (Me >>> 18 | A0 << 14) ^ (Me << 23 | A0 >>> 9), c0 = (A0 >>> 14 | Me << 18) ^ (A0 >>> 18 | Me << 14) ^ (A0 << 23 | Me >>> 9), d0 = v[qe], yt = d0.high, Oe = d0.low, Ie = z0 + c0, l = Ne + rt + (Ie >>> 0 < z0 >>> 0 ? 1 : 0), Ie = Ie + o0, l = l + $0 + (Ie >>> 0 < o0 >>> 0 ? 1 : 0), Ie = Ie + Oe, l = l + yt + (Ie >>> 0 < Oe >>> 0 ? 1 : 0), Ie = Ie + Fe, l = l + D0 + (Ie >>> 0 < Fe >>> 0 ? 1 : 0), C = Ve + R0, w = t0 + x0 + (C >>> 0 < Ve >>> 0 ? 1 : 0);
2542
- Ne = Y0, z0 = Qe, Y0 = Ge, Qe = We, Ge = Me, We = A0, A0 = Pe + Ie | 0, Me = _0 + l + (A0 >>> 0 < Pe >>> 0 ? 1 : 0) | 0, _0 = Ce, Pe = we, Ce = Ee, we = ge, Ee = J, ge = se, se = Ie + C | 0, J = l + w + (se >>> 0 < Ie >>> 0 ? 1 : 0) | 0;
2541
+ var $0 = Me & Ge ^ ~Me & W0, o0 = A0 & Ye ^ ~A0 & Qe, x0 = J & Ee ^ J & Ce ^ Ee & Ce, R0 = se & ge ^ se & we ^ ge & we, t0 = (J >>> 28 | se << 4) ^ (J << 30 | se >>> 2) ^ (J << 25 | se >>> 7), Ve = (se >>> 28 | J << 4) ^ (se << 30 | J >>> 2) ^ (se << 25 | J >>> 7), rt = (Me >>> 14 | A0 << 18) ^ (Me >>> 18 | A0 << 14) ^ (Me << 23 | A0 >>> 9), c0 = (A0 >>> 14 | Me << 18) ^ (A0 >>> 18 | Me << 14) ^ (A0 << 23 | Me >>> 9), d0 = v[qe], yt = d0.high, Oe = d0.low, Ie = z0 + c0, l = Ne + rt + (Ie >>> 0 < z0 >>> 0 ? 1 : 0), Ie = Ie + o0, l = l + $0 + (Ie >>> 0 < o0 >>> 0 ? 1 : 0), Ie = Ie + Oe, l = l + yt + (Ie >>> 0 < Oe >>> 0 ? 1 : 0), Ie = Ie + Fe, l = l + D0 + (Ie >>> 0 < Fe >>> 0 ? 1 : 0), C = Ve + R0, w = t0 + x0 + (C >>> 0 < Ve >>> 0 ? 1 : 0);
2542
+ Ne = W0, z0 = Qe, W0 = Ge, Qe = Ye, Ge = Me, Ye = A0, A0 = Pe + Ie | 0, Me = _0 + l + (A0 >>> 0 < Pe >>> 0 ? 1 : 0) | 0, _0 = Ce, Pe = we, Ce = Ee, we = ge, Ee = J, ge = se, se = Ie + C | 0, J = l + w + (se >>> 0 < Ie >>> 0 ? 1 : 0) | 0;
2543
2543
  }
2544
- $ = q.low = $ + se, q.high = Q + J + ($ >>> 0 < se >>> 0 ? 1 : 0), f = F.low = f + ge, F.high = _ + Ee + (f >>> 0 < ge >>> 0 ? 1 : 0), p = P.low = p + we, P.high = h + Ce + (p >>> 0 < we >>> 0 ? 1 : 0), E = O.low = E + Pe, O.high = g + _0 + (E >>> 0 < Pe >>> 0 ? 1 : 0), T = H.low = T + A0, H.high = I + Me + (T >>> 0 < A0 >>> 0 ? 1 : 0), o = U.low = o + We, U.high = S + Ge + (o >>> 0 < We >>> 0 ? 1 : 0), W = j.low = W + Qe, j.high = A + Y0 + (W >>> 0 < Qe >>> 0 ? 1 : 0), Y = X.low = Y + z0, X.high = K + Ne + (Y >>> 0 < z0 >>> 0 ? 1 : 0);
2544
+ $ = q.low = $ + se, q.high = Q + J + ($ >>> 0 < se >>> 0 ? 1 : 0), f = F.low = f + ge, F.high = _ + Ee + (f >>> 0 < ge >>> 0 ? 1 : 0), p = P.low = p + we, P.high = h + Ce + (p >>> 0 < we >>> 0 ? 1 : 0), E = O.low = E + Pe, O.high = g + _0 + (E >>> 0 < Pe >>> 0 ? 1 : 0), T = H.low = T + A0, H.high = I + Me + (T >>> 0 < A0 >>> 0 ? 1 : 0), o = U.low = o + Ye, U.high = S + Ge + (o >>> 0 < Ye >>> 0 ? 1 : 0), Y = j.low = Y + Qe, j.high = A + W0 + (Y >>> 0 < Qe >>> 0 ? 1 : 0), W = X.low = W + z0, X.high = K + Ne + (W >>> 0 < z0 >>> 0 ? 1 : 0);
2545
2545
  },
2546
2546
  _doFinalize: function() {
2547
2547
  var B = this._data, R = B.words, k = this._nDataBytes * 8, q = B.sigBytes * 8;
@@ -2558,13 +2558,13 @@ function _f() {
2558
2558
  r.SHA512 = n._createHelper(M), r.HmacSHA512 = n._createHmacHelper(M);
2559
2559
  }(), t.SHA512;
2560
2560
  });
2561
- }(Vr)), Vr.exports;
2561
+ }(Xr)), Xr.exports;
2562
2562
  }
2563
- var Xr = { exports: {} }, An;
2564
- function za() {
2565
- return An || (An = 1, function(i, e) {
2563
+ var Zr = { exports: {} }, En;
2564
+ function Na() {
2565
+ return En || (En = 1, function(i, e) {
2566
2566
  (function(t, r, a) {
2567
- i.exports = r(Ye(), Br(), _f());
2567
+ i.exports = r(We(), Cr(), Af());
2568
2568
  })(ke, function(t) {
2569
2569
  return function() {
2570
2570
  var r = t, a = r.x64, n = a.Word, y = a.WordArray, x = r.algo, u = x.SHA512, c = x.SHA384 = u.extend({
@@ -2588,13 +2588,13 @@ function za() {
2588
2588
  r.SHA384 = u._createHelper(c), r.HmacSHA384 = u._createHmacHelper(c);
2589
2589
  }(), t.SHA384;
2590
2590
  });
2591
- }(Xr)), Xr.exports;
2591
+ }(Zr)), Zr.exports;
2592
2592
  }
2593
- var Zr = { exports: {} }, En;
2594
- function Na() {
2595
- return En || (En = 1, function(i, e) {
2593
+ var Gr = { exports: {} }, wn;
2594
+ function qa() {
2595
+ return wn || (wn = 1, function(i, e) {
2596
2596
  (function(t, r, a) {
2597
- i.exports = r(Ye(), Br());
2597
+ i.exports = r(We(), Cr());
2598
2598
  })(ke, function(t) {
2599
2599
  return function(r) {
2600
2600
  var a = t, n = a.lib, y = n.WordArray, x = n.Hasher, u = a.x64, c = u.Word, d = a.algo, v = [], b = [], M = [];
@@ -2664,11 +2664,11 @@ function Na() {
2664
2664
  for (var T = 1; T < 25; T++) {
2665
2665
  var $, _, j = F[T], S = j.high, o = j.low, A = v[T];
2666
2666
  A < 32 ? ($ = S << A | o >>> 32 - A, _ = o << A | S >>> 32 - A) : ($ = o << A - 32 | S >>> 64 - A, _ = S << A - 32 | o >>> 64 - A);
2667
- var W = B[b[T]];
2668
- W.high = $, W.low = _;
2667
+ var Y = B[b[T]];
2668
+ Y.high = $, Y.low = _;
2669
2669
  }
2670
- var K = B[0], Y = F[0];
2671
- K.high = Y.high, K.low = Y.low;
2670
+ var K = B[0], W = F[0];
2671
+ K.high = W.high, K.low = W.low;
2672
2672
  for (var Q = 0; Q < 5; Q++)
2673
2673
  for (var f = 0; f < 5; f++) {
2674
2674
  var T = Q + 5 * f, j = F[T], J = B[T], se = B[(Q + 1) % 5 + 5 * f], Ee = B[(Q + 2) % 5 + 5 * f];
@@ -2698,13 +2698,13 @@ function Na() {
2698
2698
  a.SHA3 = x._createHelper(R), a.HmacSHA3 = x._createHmacHelper(R);
2699
2699
  }(Math), t.SHA3;
2700
2700
  });
2701
- }(Zr)), Zr.exports;
2701
+ }(Gr)), Gr.exports;
2702
2702
  }
2703
- var Gr = { exports: {} }, wn;
2704
- function qa() {
2705
- return wn || (wn = 1, function(i, e) {
2703
+ var Qr = { exports: {} }, Bn;
2704
+ function La() {
2705
+ return Bn || (Bn = 1, function(i, e) {
2706
2706
  (function(t, r) {
2707
- i.exports = r(Ye());
2707
+ i.exports = r(We());
2708
2708
  })(ke, function(t) {
2709
2709
  /** @preserve
2710
2710
  (c) 2012 by Cédric Mesnil. All rights reserved.
@@ -3050,11 +3050,11 @@ function qa() {
3050
3050
  var Q = j + X, $ = U[Q];
3051
3051
  U[Q] = ($ << 8 | $ >>> 24) & 16711935 | ($ << 24 | $ >>> 8) & 4278255360;
3052
3052
  }
3053
- var _ = this._hash.words, f = M.words, h = B.words, p = c.words, g = d.words, E = v.words, I = b.words, T, S, o, A, W, K, Y, J, se, Ee;
3054
- K = T = _[0], Y = S = _[1], J = o = _[2], se = A = _[3], Ee = W = _[4];
3053
+ var _ = this._hash.words, f = M.words, h = B.words, p = c.words, g = d.words, E = v.words, I = b.words, T, S, o, A, Y, K, W, J, se, Ee;
3054
+ K = T = _[0], W = S = _[1], J = o = _[2], se = A = _[3], Ee = Y = _[4];
3055
3055
  for (var ge, X = 0; X < 80; X += 1)
3056
- ge = T + U[j + p[X]] | 0, X < 16 ? ge += k(S, o, A) + f[0] : X < 32 ? ge += q(S, o, A) + f[1] : X < 48 ? ge += F(S, o, A) + f[2] : X < 64 ? ge += P(S, o, A) + f[3] : ge += O(S, o, A) + f[4], ge = ge | 0, ge = H(ge, E[X]), ge = ge + W | 0, T = W, W = A, A = H(o, 10), o = S, S = ge, ge = K + U[j + g[X]] | 0, X < 16 ? ge += O(Y, J, se) + h[0] : X < 32 ? ge += P(Y, J, se) + h[1] : X < 48 ? ge += F(Y, J, se) + h[2] : X < 64 ? ge += q(Y, J, se) + h[3] : ge += k(Y, J, se) + h[4], ge = ge | 0, ge = H(ge, I[X]), ge = ge + Ee | 0, K = Ee, Ee = se, se = H(J, 10), J = Y, Y = ge;
3057
- ge = _[1] + o + se | 0, _[1] = _[2] + A + Ee | 0, _[2] = _[3] + W + K | 0, _[3] = _[4] + T + Y | 0, _[4] = _[0] + S + J | 0, _[0] = ge;
3056
+ ge = T + U[j + p[X]] | 0, X < 16 ? ge += k(S, o, A) + f[0] : X < 32 ? ge += q(S, o, A) + f[1] : X < 48 ? ge += F(S, o, A) + f[2] : X < 64 ? ge += P(S, o, A) + f[3] : ge += O(S, o, A) + f[4], ge = ge | 0, ge = H(ge, E[X]), ge = ge + Y | 0, T = Y, Y = A, A = H(o, 10), o = S, S = ge, ge = K + U[j + g[X]] | 0, X < 16 ? ge += O(W, J, se) + h[0] : X < 32 ? ge += P(W, J, se) + h[1] : X < 48 ? ge += F(W, J, se) + h[2] : X < 64 ? ge += q(W, J, se) + h[3] : ge += k(W, J, se) + h[4], ge = ge | 0, ge = H(ge, I[X]), ge = ge + Ee | 0, K = Ee, Ee = se, se = H(J, 10), J = W, W = ge;
3057
+ ge = _[1] + o + se | 0, _[1] = _[2] + A + Ee | 0, _[2] = _[3] + Y + K | 0, _[3] = _[4] + T + W | 0, _[4] = _[0] + S + J | 0, _[0] = ge;
3058
3058
  },
3059
3059
  _doFinalize: function() {
3060
3060
  var U = this._data, j = U.words, X = this._nDataBytes * 8, Q = U.sigBytes * 8;
@@ -3091,13 +3091,13 @@ function qa() {
3091
3091
  a.RIPEMD160 = x._createHelper(R), a.HmacRIPEMD160 = x._createHmacHelper(R);
3092
3092
  }(), t.RIPEMD160;
3093
3093
  });
3094
- }(Gr)), Gr.exports;
3094
+ }(Qr)), Qr.exports;
3095
3095
  }
3096
- var Qr = { exports: {} }, Bn;
3097
- function Ui() {
3098
- return Bn || (Bn = 1, function(i, e) {
3096
+ var Jr = { exports: {} }, Cn;
3097
+ function Wi() {
3098
+ return Cn || (Cn = 1, function(i, e) {
3099
3099
  (function(t, r) {
3100
- i.exports = r(Ye());
3100
+ i.exports = r(We());
3101
3101
  })(ke, function(t) {
3102
3102
  (function() {
3103
3103
  var r = t, a = r.lib, n = a.Base, y = r.enc, x = y.Utf8, u = r.algo;
@@ -3169,13 +3169,13 @@ function Ui() {
3169
3169
  });
3170
3170
  })();
3171
3171
  });
3172
- }(Qr)), Qr.exports;
3172
+ }(Jr)), Jr.exports;
3173
3173
  }
3174
- var Jr = { exports: {} }, Cn;
3175
- function La() {
3176
- return Cn || (Cn = 1, function(i, e) {
3174
+ var ei = { exports: {} }, Mn;
3175
+ function $a() {
3176
+ return Mn || (Mn = 1, function(i, e) {
3177
3177
  (function(t, r, a) {
3178
- i.exports = r(Ye(), Hi(), Ui());
3178
+ i.exports = r(We(), Ui(), Wi());
3179
3179
  })(ke, function(t) {
3180
3180
  return function() {
3181
3181
  var r = t, a = r.lib, n = a.Base, y = a.WordArray, x = r.algo, u = x.SHA256, c = x.HMAC, d = x.PBKDF2 = n.extend({
@@ -3236,13 +3236,13 @@ function La() {
3236
3236
  };
3237
3237
  }(), t.PBKDF2;
3238
3238
  });
3239
- }(Jr)), Jr.exports;
3239
+ }(ei)), ei.exports;
3240
3240
  }
3241
- var ei = { exports: {} }, Mn;
3241
+ var ti = { exports: {} }, Sn;
3242
3242
  function Et() {
3243
- return Mn || (Mn = 1, function(i, e) {
3243
+ return Sn || (Sn = 1, function(i, e) {
3244
3244
  (function(t, r, a) {
3245
- i.exports = r(Ye(), mf(), Ui());
3245
+ i.exports = r(We(), _f(), Wi());
3246
3246
  })(ke, function(t) {
3247
3247
  return function() {
3248
3248
  var r = t, a = r.lib, n = a.Base, y = a.WordArray, x = r.algo, u = x.MD5, c = x.EvpKDF = n.extend({
@@ -3299,13 +3299,13 @@ function Et() {
3299
3299
  };
3300
3300
  }(), t.EvpKDF;
3301
3301
  });
3302
- }(ei)), ei.exports;
3302
+ }(ti)), ti.exports;
3303
3303
  }
3304
- var ti = { exports: {} }, Sn;
3304
+ var ri = { exports: {} }, Dn;
3305
3305
  function M0() {
3306
- return Sn || (Sn = 1, function(i, e) {
3306
+ return Dn || (Dn = 1, function(i, e) {
3307
3307
  (function(t, r, a) {
3308
- i.exports = r(Ye(), Et());
3308
+ i.exports = r(We(), Et());
3309
3309
  })(ke, function(t) {
3310
3310
  t.lib.Cipher || function(r) {
3311
3311
  var a = t, n = a.lib, y = n.Base, x = n.WordArray, u = n.BufferedBlockAlgorithm, c = a.enc;
@@ -3837,13 +3837,13 @@ function M0() {
3837
3837
  });
3838
3838
  }();
3839
3839
  });
3840
- }(ti)), ti.exports;
3840
+ }(ri)), ri.exports;
3841
3841
  }
3842
- var ri = { exports: {} }, Dn;
3843
- function $a() {
3844
- return Dn || (Dn = 1, function(i, e) {
3842
+ var ii = { exports: {} }, Fn;
3843
+ function Ha() {
3844
+ return Fn || (Fn = 1, function(i, e) {
3845
3845
  (function(t, r, a) {
3846
- i.exports = r(Ye(), M0());
3846
+ i.exports = r(We(), M0());
3847
3847
  })(ke, function(t) {
3848
3848
  return t.mode.CFB = function() {
3849
3849
  var r = t.lib.BlockCipherMode.extend();
@@ -3867,13 +3867,13 @@ function $a() {
3867
3867
  return r;
3868
3868
  }(), t.mode.CFB;
3869
3869
  });
3870
- }(ri)), ri.exports;
3870
+ }(ii)), ii.exports;
3871
3871
  }
3872
- var ii = { exports: {} }, Fn;
3873
- function Ha() {
3874
- return Fn || (Fn = 1, function(i, e) {
3872
+ var ni = { exports: {} }, Rn;
3873
+ function Ua() {
3874
+ return Rn || (Rn = 1, function(i, e) {
3875
3875
  (function(t, r, a) {
3876
- i.exports = r(Ye(), M0());
3876
+ i.exports = r(We(), M0());
3877
3877
  })(ke, function(t) {
3878
3878
  return t.mode.CTR = function() {
3879
3879
  var r = t.lib.BlockCipherMode.extend(), a = r.Encryptor = r.extend({
@@ -3889,13 +3889,13 @@ function Ha() {
3889
3889
  return r.Decryptor = a, r;
3890
3890
  }(), t.mode.CTR;
3891
3891
  });
3892
- }(ii)), ii.exports;
3892
+ }(ni)), ni.exports;
3893
3893
  }
3894
- var ni = { exports: {} }, Rn;
3895
- function Ua() {
3896
- return Rn || (Rn = 1, function(i, e) {
3894
+ var fi = { exports: {} }, kn;
3895
+ function Wa() {
3896
+ return kn || (kn = 1, function(i, e) {
3897
3897
  (function(t, r, a) {
3898
- i.exports = r(Ye(), M0());
3898
+ i.exports = r(We(), M0());
3899
3899
  })(ke, function(t) {
3900
3900
  /** @preserve
3901
3901
  * Counter block mode compatible with Dr Brian Gladman fileenc.c
@@ -3928,13 +3928,13 @@ function Ua() {
3928
3928
  return r.Decryptor = y, r;
3929
3929
  }(), t.mode.CTRGladman;
3930
3930
  });
3931
- }(ni)), ni.exports;
3931
+ }(fi)), fi.exports;
3932
3932
  }
3933
- var fi = { exports: {} }, kn;
3933
+ var ai = { exports: {} }, Pn;
3934
3934
  function Ya() {
3935
- return kn || (kn = 1, function(i, e) {
3935
+ return Pn || (Pn = 1, function(i, e) {
3936
3936
  (function(t, r, a) {
3937
- i.exports = r(Ye(), M0());
3937
+ i.exports = r(We(), M0());
3938
3938
  })(ke, function(t) {
3939
3939
  return t.mode.OFB = function() {
3940
3940
  var r = t.lib.BlockCipherMode.extend(), a = r.Encryptor = r.extend({
@@ -3948,13 +3948,13 @@ function Ya() {
3948
3948
  return r.Decryptor = a, r;
3949
3949
  }(), t.mode.OFB;
3950
3950
  });
3951
- }(fi)), fi.exports;
3951
+ }(ai)), ai.exports;
3952
3952
  }
3953
- var ai = { exports: {} }, Pn;
3954
- function Wa() {
3955
- return Pn || (Pn = 1, function(i, e) {
3953
+ var si = { exports: {} }, In;
3954
+ function Ka() {
3955
+ return In || (In = 1, function(i, e) {
3956
3956
  (function(t, r, a) {
3957
- i.exports = r(Ye(), M0());
3957
+ i.exports = r(We(), M0());
3958
3958
  })(ke, function(t) {
3959
3959
  return t.mode.ECB = function() {
3960
3960
  var r = t.lib.BlockCipherMode.extend();
@@ -3969,13 +3969,13 @@ function Wa() {
3969
3969
  }), r;
3970
3970
  }(), t.mode.ECB;
3971
3971
  });
3972
- }(ai)), ai.exports;
3972
+ }(si)), si.exports;
3973
3973
  }
3974
- var si = { exports: {} }, In;
3975
- function Ka() {
3976
- return In || (In = 1, function(i, e) {
3974
+ var oi = { exports: {} }, Tn;
3975
+ function ja() {
3976
+ return Tn || (Tn = 1, function(i, e) {
3977
3977
  (function(t, r, a) {
3978
- i.exports = r(Ye(), M0());
3978
+ i.exports = r(We(), M0());
3979
3979
  })(ke, function(t) {
3980
3980
  return t.pad.AnsiX923 = {
3981
3981
  pad: function(r, a) {
@@ -3988,13 +3988,13 @@ function Ka() {
3988
3988
  }
3989
3989
  }, t.pad.Ansix923;
3990
3990
  });
3991
- }(si)), si.exports;
3991
+ }(oi)), oi.exports;
3992
3992
  }
3993
- var oi = { exports: {} }, Tn;
3994
- function ja() {
3995
- return Tn || (Tn = 1, function(i, e) {
3993
+ var ci = { exports: {} }, On;
3994
+ function Va() {
3995
+ return On || (On = 1, function(i, e) {
3996
3996
  (function(t, r, a) {
3997
- i.exports = r(Ye(), M0());
3997
+ i.exports = r(We(), M0());
3998
3998
  })(ke, function(t) {
3999
3999
  return t.pad.Iso10126 = {
4000
4000
  pad: function(r, a) {
@@ -4007,13 +4007,13 @@ function ja() {
4007
4007
  }
4008
4008
  }, t.pad.Iso10126;
4009
4009
  });
4010
- }(oi)), oi.exports;
4010
+ }(ci)), ci.exports;
4011
4011
  }
4012
- var ci = { exports: {} }, On;
4013
- function Va() {
4014
- return On || (On = 1, function(i, e) {
4012
+ var di = { exports: {} }, zn;
4013
+ function Xa() {
4014
+ return zn || (zn = 1, function(i, e) {
4015
4015
  (function(t, r, a) {
4016
- i.exports = r(Ye(), M0());
4016
+ i.exports = r(We(), M0());
4017
4017
  })(ke, function(t) {
4018
4018
  return t.pad.Iso97971 = {
4019
4019
  pad: function(r, a) {
@@ -4024,13 +4024,13 @@ function Va() {
4024
4024
  }
4025
4025
  }, t.pad.Iso97971;
4026
4026
  });
4027
- }(ci)), ci.exports;
4027
+ }(di)), di.exports;
4028
4028
  }
4029
- var di = { exports: {} }, zn;
4030
- function Xa() {
4031
- return zn || (zn = 1, function(i, e) {
4029
+ var hi = { exports: {} }, Nn;
4030
+ function Za() {
4031
+ return Nn || (Nn = 1, function(i, e) {
4032
4032
  (function(t, r, a) {
4033
- i.exports = r(Ye(), M0());
4033
+ i.exports = r(We(), M0());
4034
4034
  })(ke, function(t) {
4035
4035
  return t.pad.ZeroPadding = {
4036
4036
  pad: function(r, a) {
@@ -4046,13 +4046,13 @@ function Xa() {
4046
4046
  }
4047
4047
  }, t.pad.ZeroPadding;
4048
4048
  });
4049
- }(di)), di.exports;
4049
+ }(hi)), hi.exports;
4050
4050
  }
4051
- var hi = { exports: {} }, Nn;
4052
- function Za() {
4053
- return Nn || (Nn = 1, function(i, e) {
4051
+ var ui = { exports: {} }, qn;
4052
+ function Ga() {
4053
+ return qn || (qn = 1, function(i, e) {
4054
4054
  (function(t, r, a) {
4055
- i.exports = r(Ye(), M0());
4055
+ i.exports = r(We(), M0());
4056
4056
  })(ke, function(t) {
4057
4057
  return t.pad.NoPadding = {
4058
4058
  pad: function() {
@@ -4061,13 +4061,13 @@ function Za() {
4061
4061
  }
4062
4062
  }, t.pad.NoPadding;
4063
4063
  });
4064
- }(hi)), hi.exports;
4064
+ }(ui)), ui.exports;
4065
4065
  }
4066
- var ui = { exports: {} }, qn;
4067
- function Ga() {
4068
- return qn || (qn = 1, function(i, e) {
4066
+ var li = { exports: {} }, Ln;
4067
+ function Qa() {
4068
+ return Ln || (Ln = 1, function(i, e) {
4069
4069
  (function(t, r, a) {
4070
- i.exports = r(Ye(), M0());
4070
+ i.exports = r(We(), M0());
4071
4071
  })(ke, function(t) {
4072
4072
  return function(r) {
4073
4073
  var a = t, n = a.lib, y = n.CipherParams, x = a.enc, u = x.Hex, c = a.format;
@@ -4108,13 +4108,13 @@ function Ga() {
4108
4108
  };
4109
4109
  }(), t.format.Hex;
4110
4110
  });
4111
- }(ui)), ui.exports;
4111
+ }(li)), li.exports;
4112
4112
  }
4113
- var li = { exports: {} }, Ln;
4114
- function Qa() {
4115
- return Ln || (Ln = 1, function(i, e) {
4113
+ var xi = { exports: {} }, $n;
4114
+ function Ja() {
4115
+ return $n || ($n = 1, function(i, e) {
4116
4116
  (function(t, r, a) {
4117
- i.exports = r(Ye(), kt(), Pt(), Et(), M0());
4117
+ i.exports = r(We(), kt(), Pt(), Et(), M0());
4118
4118
  })(ke, function(t) {
4119
4119
  return function() {
4120
4120
  var r = t, a = r.lib, n = a.BlockCipher, y = r.algo, x = [], u = [], c = [], d = [], v = [], b = [], M = [], B = [], R = [], k = [];
@@ -4168,13 +4168,13 @@ function Qa() {
4168
4168
  r.AES = n._createHelper(F);
4169
4169
  }(), t.AES;
4170
4170
  });
4171
- }(li)), li.exports;
4171
+ }(xi)), xi.exports;
4172
4172
  }
4173
- var xi = { exports: {} }, $n;
4174
- function Ja() {
4175
- return $n || ($n = 1, function(i, e) {
4173
+ var vi = { exports: {} }, Hn;
4174
+ function es() {
4175
+ return Hn || (Hn = 1, function(i, e) {
4176
4176
  (function(t, r, a) {
4177
- i.exports = r(Ye(), kt(), Pt(), Et(), M0());
4177
+ i.exports = r(We(), kt(), Pt(), Et(), M0());
4178
4178
  })(ke, function(t) {
4179
4179
  return function() {
4180
4180
  var r = t, a = r.lib, n = a.WordArray, y = a.BlockCipher, x = r.algo, u = [
@@ -4888,13 +4888,13 @@ function Ja() {
4888
4888
  r.TripleDES = y._createHelper(k);
4889
4889
  }(), t.TripleDES;
4890
4890
  });
4891
- }(xi)), xi.exports;
4891
+ }(vi)), vi.exports;
4892
4892
  }
4893
- var vi = { exports: {} }, Hn;
4894
- function es() {
4895
- return Hn || (Hn = 1, function(i, e) {
4893
+ var bi = { exports: {} }, Un;
4894
+ function ts() {
4895
+ return Un || (Un = 1, function(i, e) {
4896
4896
  (function(t, r, a) {
4897
- i.exports = r(Ye(), kt(), Pt(), Et(), M0());
4897
+ i.exports = r(We(), kt(), Pt(), Et(), M0());
4898
4898
  })(ke, function(t) {
4899
4899
  return function() {
4900
4900
  var r = t, a = r.lib, n = a.StreamCipher, y = r.algo, x = y.RC4 = n.extend({
@@ -4942,13 +4942,13 @@ function es() {
4942
4942
  r.RC4Drop = n._createHelper(c);
4943
4943
  }(), t.RC4;
4944
4944
  });
4945
- }(vi)), vi.exports;
4945
+ }(bi)), bi.exports;
4946
4946
  }
4947
- var bi = { exports: {} }, Un;
4948
- function ts() {
4949
- return Un || (Un = 1, function(i, e) {
4947
+ var pi = { exports: {} }, Wn;
4948
+ function rs() {
4949
+ return Wn || (Wn = 1, function(i, e) {
4950
4950
  (function(t, r, a) {
4951
- i.exports = r(Ye(), kt(), Pt(), Et(), M0());
4951
+ i.exports = r(We(), kt(), Pt(), Et(), M0());
4952
4952
  })(ke, function(t) {
4953
4953
  return function() {
4954
4954
  var r = t, a = r.lib, n = a.StreamCipher, y = r.algo, x = [], u = [], c = [], d = y.Rabbit = n.extend({
@@ -5008,13 +5008,13 @@ function ts() {
5008
5008
  r.Rabbit = n._createHelper(d);
5009
5009
  }(), t.Rabbit;
5010
5010
  });
5011
- }(bi)), bi.exports;
5011
+ }(pi)), pi.exports;
5012
5012
  }
5013
- var pi = { exports: {} }, Yn;
5014
- function rs() {
5013
+ var yi = { exports: {} }, Yn;
5014
+ function is() {
5015
5015
  return Yn || (Yn = 1, function(i, e) {
5016
5016
  (function(t, r, a) {
5017
- i.exports = r(Ye(), kt(), Pt(), Et(), M0());
5017
+ i.exports = r(We(), kt(), Pt(), Et(), M0());
5018
5018
  })(ke, function(t) {
5019
5019
  return function() {
5020
5020
  var r = t, a = r.lib, n = a.StreamCipher, y = r.algo, x = [], u = [], c = [], d = y.RabbitLegacy = n.extend({
@@ -5072,13 +5072,13 @@ function rs() {
5072
5072
  r.RabbitLegacy = n._createHelper(d);
5073
5073
  }(), t.RabbitLegacy;
5074
5074
  });
5075
- }(pi)), pi.exports;
5075
+ }(yi)), yi.exports;
5076
5076
  }
5077
- var yi = { exports: {} }, Wn;
5078
- function is() {
5079
- return Wn || (Wn = 1, function(i, e) {
5077
+ var gi = { exports: {} }, Kn;
5078
+ function ns() {
5079
+ return Kn || (Kn = 1, function(i, e) {
5080
5080
  (function(t, r, a) {
5081
- i.exports = r(Ye(), kt(), Pt(), Et(), M0());
5081
+ i.exports = r(We(), kt(), Pt(), Et(), M0());
5082
5082
  })(ke, function(t) {
5083
5083
  return function() {
5084
5084
  var r = t, a = r.lib, n = a.BlockCipher, y = r.algo;
@@ -6194,37 +6194,37 @@ function is() {
6194
6194
  r.Blowfish = n._createHelper(R);
6195
6195
  }(), t.Blowfish;
6196
6196
  });
6197
- }(yi)), yi.exports;
6197
+ }(gi)), gi.exports;
6198
6198
  }
6199
6199
  (function(i, e) {
6200
6200
  (function(t, r, a) {
6201
- i.exports = r(Ye(), Br(), Pa(), Ia(), kt(), Ta(), Pt(), mf(), Hi(), Oa(), _f(), za(), Na(), qa(), Ui(), La(), Et(), M0(), $a(), Ha(), Ua(), Ya(), Wa(), Ka(), ja(), Va(), Xa(), Za(), Ga(), Qa(), Ja(), es(), ts(), rs(), is());
6201
+ i.exports = r(We(), Cr(), Ia(), Ta(), kt(), Oa(), Pt(), _f(), Ui(), za(), Af(), Na(), qa(), La(), Wi(), $a(), Et(), M0(), Ha(), Ua(), Wa(), Ya(), Ka(), ja(), Va(), Xa(), Za(), Ga(), Qa(), Ja(), es(), ts(), rs(), is(), ns());
6202
6202
  })(ke, function(t) {
6203
6203
  return t;
6204
6204
  });
6205
- })(yf);
6206
- var ns = yf.exports;
6207
- const K0 = /* @__PURE__ */ $i(ns);
6208
- var Af = {};
6209
- const fs = "elliptic", as = "6.5.5", ss = "EC cryptography", os = "lib/elliptic.js", cs = [
6205
+ })(gf);
6206
+ var fs = gf.exports;
6207
+ const K0 = /* @__PURE__ */ Hi(fs);
6208
+ var Ef = {};
6209
+ const as = "elliptic", ss = "6.5.5", os = "EC cryptography", cs = "lib/elliptic.js", ds = [
6210
6210
  "lib"
6211
- ], ds = {
6211
+ ], hs = {
6212
6212
  lint: "eslint lib test",
6213
6213
  "lint:fix": "npm run lint -- --fix",
6214
6214
  unit: "istanbul test _mocha --reporter=spec test/index.js",
6215
6215
  test: "npm run lint && npm run unit",
6216
6216
  version: "grunt dist && git add dist/"
6217
- }, hs = {
6217
+ }, us = {
6218
6218
  type: "git",
6219
6219
  url: "git@github.com:indutny/elliptic"
6220
- }, us = [
6220
+ }, ls = [
6221
6221
  "EC",
6222
6222
  "Elliptic",
6223
6223
  "curve",
6224
6224
  "Cryptography"
6225
- ], ls = "Fedor Indutny <fedor@indutny.com>", xs = "MIT", vs = {
6225
+ ], xs = "Fedor Indutny <fedor@indutny.com>", vs = "MIT", bs = {
6226
6226
  url: "https://github.com/indutny/elliptic/issues"
6227
- }, bs = "https://github.com/indutny/elliptic", ps = {
6227
+ }, ps = "https://github.com/indutny/elliptic", ys = {
6228
6228
  brfs: "^2.0.2",
6229
6229
  coveralls: "^3.1.0",
6230
6230
  eslint: "^7.6.0",
@@ -6238,7 +6238,7 @@ const fs = "elliptic", as = "6.5.5", ss = "EC cryptography", os = "lib/elliptic.
6238
6238
  "grunt-saucelabs": "^9.0.1",
6239
6239
  istanbul: "^0.4.5",
6240
6240
  mocha: "^8.0.1"
6241
- }, ys = {
6241
+ }, gs = {
6242
6242
  "bn.js": "^4.11.9",
6243
6243
  brorand: "^1.1.0",
6244
6244
  "hash.js": "^1.0.0",
@@ -6246,21 +6246,21 @@ const fs = "elliptic", as = "6.5.5", ss = "EC cryptography", os = "lib/elliptic.
6246
6246
  inherits: "^2.0.4",
6247
6247
  "minimalistic-assert": "^1.0.1",
6248
6248
  "minimalistic-crypto-utils": "^1.0.1"
6249
- }, gs = {
6250
- name: fs,
6251
- version: as,
6252
- description: ss,
6253
- main: os,
6254
- files: cs,
6255
- scripts: ds,
6256
- repository: hs,
6257
- keywords: us,
6258
- author: ls,
6259
- license: xs,
6260
- bugs: vs,
6261
- homepage: bs,
6262
- devDependencies: ps,
6263
- dependencies: ys
6249
+ }, ms = {
6250
+ name: as,
6251
+ version: ss,
6252
+ description: os,
6253
+ main: cs,
6254
+ files: ds,
6255
+ scripts: hs,
6256
+ repository: us,
6257
+ keywords: ls,
6258
+ author: xs,
6259
+ license: vs,
6260
+ bugs: bs,
6261
+ homepage: ps,
6262
+ devDependencies: ys,
6263
+ dependencies: gs
6264
6264
  };
6265
6265
  var j0 = {}, Yi = { exports: {} };
6266
6266
  Yi.exports;
@@ -6284,7 +6284,7 @@ Yi.exports;
6284
6284
  typeof e == "object" ? e.exports = n : t.BN = n, n.BN = n, n.wordSize = 26;
6285
6285
  var y;
6286
6286
  try {
6287
- typeof window < "u" && typeof window.Buffer < "u" ? y = window.Buffer : y = wr.Buffer;
6287
+ typeof window < "u" && typeof window.Buffer < "u" ? y = window.Buffer : y = Br.Buffer;
6288
6288
  } catch {
6289
6289
  }
6290
6290
  n.isBN = function(f) {
@@ -6363,10 +6363,10 @@ Yi.exports;
6363
6363
  for (var I = f.length - p, T = I % g, S = Math.min(I, I - T) + p, o = 0, A = p; A < S; A += g)
6364
6364
  o = c(f, A, A + g, h), this.imuln(E), this.words[0] + o < 67108864 ? this.words[0] += o : this._iaddn(o);
6365
6365
  if (T !== 0) {
6366
- var W = 1;
6366
+ var Y = 1;
6367
6367
  for (o = c(f, A, f.length, h), A = 0; A < T; A++)
6368
- W *= h;
6369
- this.imuln(W), this.words[0] + o < 67108864 ? this.words[0] += o : this._iaddn(o);
6368
+ Y *= h;
6369
+ this.imuln(Y), this.words[0] + o < 67108864 ? this.words[0] += o : this._iaddn(o);
6370
6370
  }
6371
6371
  this.strip();
6372
6372
  }, n.prototype.copy = function(f) {
@@ -6510,10 +6510,10 @@ Yi.exports;
6510
6510
  if (f === (f | 0) && f >= 2 && f <= 36) {
6511
6511
  var o = v[f], A = b[f];
6512
6512
  p = "";
6513
- var W = this.clone();
6514
- for (W.negative = 0; !W.isZero(); ) {
6515
- var K = W.modn(A).toString(f);
6516
- W = W.idivn(A), W.isZero() ? p = K + p : p = d[o - K.length] + K + p;
6513
+ var Y = this.clone();
6514
+ for (Y.negative = 0; !Y.isZero(); ) {
6515
+ var K = Y.modn(A).toString(f);
6516
+ Y = Y.idivn(A), Y.isZero() ? p = K + p : p = d[o - K.length] + K + p;
6517
6517
  }
6518
6518
  for (this.isZero() && (p = "0" + p); p.length % h !== 0; )
6519
6519
  p = "0" + p;
@@ -6690,43 +6690,43 @@ Yi.exports;
6690
6690
  var g = _.words[0] | 0, E = f.words[0] | 0, I = g * E, T = I & 67108863, S = I / 67108864 | 0;
6691
6691
  h.words[0] = T;
6692
6692
  for (var o = 1; o < p; o++) {
6693
- for (var A = S >>> 26, W = S & 67108863, K = Math.min(o, f.length - 1), Y = Math.max(0, o - _.length + 1); Y <= K; Y++) {
6694
- var J = o - Y | 0;
6695
- g = _.words[J] | 0, E = f.words[Y] | 0, I = g * E + W, A += I / 67108864 | 0, W = I & 67108863;
6693
+ for (var A = S >>> 26, Y = S & 67108863, K = Math.min(o, f.length - 1), W = Math.max(0, o - _.length + 1); W <= K; W++) {
6694
+ var J = o - W | 0;
6695
+ g = _.words[J] | 0, E = f.words[W] | 0, I = g * E + Y, A += I / 67108864 | 0, Y = I & 67108863;
6696
6696
  }
6697
- h.words[o] = W | 0, S = A | 0;
6697
+ h.words[o] = Y | 0, S = A | 0;
6698
6698
  }
6699
6699
  return S !== 0 ? h.words[o] = S | 0 : h.length--, h.strip();
6700
6700
  }
6701
6701
  var R = function(f, h, p) {
6702
- var g = f.words, E = h.words, I = p.words, T = 0, S, o, A, W = g[0] | 0, K = W & 8191, Y = W >>> 13, J = g[1] | 0, se = J & 8191, Ee = J >>> 13, ge = g[2] | 0, Ce = ge & 8191, we = ge >>> 13, _0 = g[3] | 0, Pe = _0 & 8191, Me = _0 >>> 13, A0 = g[4] | 0, Ge = A0 & 8191, We = A0 >>> 13, Y0 = g[5] | 0, Qe = Y0 & 8191, Ne = Y0 >>> 13, z0 = g[6] | 0, qe = z0 & 8191, Fe = z0 >>> 13, D0 = g[7] | 0, Je = D0 & 8191, i0 = D0 >>> 13, F0 = g[8] | 0, Le = F0 & 8191, u0 = F0 >>> 13, Q0 = g[9] | 0, l0 = Q0 & 8191, He = Q0 >>> 13, q0 = E[0] | 0, a0 = q0 & 8191, r0 = q0 >>> 13, L0 = E[1] | 0, n0 = L0 & 8191, s0 = L0 >>> 13, W0 = E[2] | 0, e0 = W0 & 8191, f0 = W0 >>> 13, $0 = E[3] | 0, o0 = $0 & 8191, x0 = $0 >>> 13, R0 = E[4] | 0, t0 = R0 & 8191, Ve = R0 >>> 13, rt = E[5] | 0, c0 = rt & 8191, d0 = rt >>> 13, yt = E[6] | 0, Oe = yt & 8191, Ie = yt >>> 13, l = E[7] | 0, C = l & 8191, w = l >>> 13, s = E[8] | 0, D = s & 8191, m = s >>> 13, z = E[9] | 0, L = z & 8191, V = z >>> 13;
6703
- p.negative = f.negative ^ h.negative, p.length = 19, S = Math.imul(K, a0), o = Math.imul(K, r0), o = o + Math.imul(Y, a0) | 0, A = Math.imul(Y, r0);
6702
+ var g = f.words, E = h.words, I = p.words, T = 0, S, o, A, Y = g[0] | 0, K = Y & 8191, W = Y >>> 13, J = g[1] | 0, se = J & 8191, Ee = J >>> 13, ge = g[2] | 0, Ce = ge & 8191, we = ge >>> 13, _0 = g[3] | 0, Pe = _0 & 8191, Me = _0 >>> 13, A0 = g[4] | 0, Ge = A0 & 8191, Ye = A0 >>> 13, W0 = g[5] | 0, Qe = W0 & 8191, Ne = W0 >>> 13, z0 = g[6] | 0, qe = z0 & 8191, Fe = z0 >>> 13, D0 = g[7] | 0, Je = D0 & 8191, i0 = D0 >>> 13, F0 = g[8] | 0, Le = F0 & 8191, u0 = F0 >>> 13, Q0 = g[9] | 0, l0 = Q0 & 8191, He = Q0 >>> 13, q0 = E[0] | 0, a0 = q0 & 8191, r0 = q0 >>> 13, L0 = E[1] | 0, n0 = L0 & 8191, s0 = L0 >>> 13, Y0 = E[2] | 0, e0 = Y0 & 8191, f0 = Y0 >>> 13, $0 = E[3] | 0, o0 = $0 & 8191, x0 = $0 >>> 13, R0 = E[4] | 0, t0 = R0 & 8191, Ve = R0 >>> 13, rt = E[5] | 0, c0 = rt & 8191, d0 = rt >>> 13, yt = E[6] | 0, Oe = yt & 8191, Ie = yt >>> 13, l = E[7] | 0, C = l & 8191, w = l >>> 13, s = E[8] | 0, D = s & 8191, m = s >>> 13, z = E[9] | 0, L = z & 8191, V = z >>> 13;
6703
+ p.negative = f.negative ^ h.negative, p.length = 19, S = Math.imul(K, a0), o = Math.imul(K, r0), o = o + Math.imul(W, a0) | 0, A = Math.imul(W, r0);
6704
6704
  var fe = (T + S | 0) + ((o & 8191) << 13) | 0;
6705
- T = (A + (o >>> 13) | 0) + (fe >>> 26) | 0, fe &= 67108863, S = Math.imul(se, a0), o = Math.imul(se, r0), o = o + Math.imul(Ee, a0) | 0, A = Math.imul(Ee, r0), S = S + Math.imul(K, n0) | 0, o = o + Math.imul(K, s0) | 0, o = o + Math.imul(Y, n0) | 0, A = A + Math.imul(Y, s0) | 0;
6705
+ T = (A + (o >>> 13) | 0) + (fe >>> 26) | 0, fe &= 67108863, S = Math.imul(se, a0), o = Math.imul(se, r0), o = o + Math.imul(Ee, a0) | 0, A = Math.imul(Ee, r0), S = S + Math.imul(K, n0) | 0, o = o + Math.imul(K, s0) | 0, o = o + Math.imul(W, n0) | 0, A = A + Math.imul(W, s0) | 0;
6706
6706
  var ie = (T + S | 0) + ((o & 8191) << 13) | 0;
6707
- T = (A + (o >>> 13) | 0) + (ie >>> 26) | 0, ie &= 67108863, S = Math.imul(Ce, a0), o = Math.imul(Ce, r0), o = o + Math.imul(we, a0) | 0, A = Math.imul(we, r0), S = S + Math.imul(se, n0) | 0, o = o + Math.imul(se, s0) | 0, o = o + Math.imul(Ee, n0) | 0, A = A + Math.imul(Ee, s0) | 0, S = S + Math.imul(K, e0) | 0, o = o + Math.imul(K, f0) | 0, o = o + Math.imul(Y, e0) | 0, A = A + Math.imul(Y, f0) | 0;
6707
+ T = (A + (o >>> 13) | 0) + (ie >>> 26) | 0, ie &= 67108863, S = Math.imul(Ce, a0), o = Math.imul(Ce, r0), o = o + Math.imul(we, a0) | 0, A = Math.imul(we, r0), S = S + Math.imul(se, n0) | 0, o = o + Math.imul(se, s0) | 0, o = o + Math.imul(Ee, n0) | 0, A = A + Math.imul(Ee, s0) | 0, S = S + Math.imul(K, e0) | 0, o = o + Math.imul(K, f0) | 0, o = o + Math.imul(W, e0) | 0, A = A + Math.imul(W, f0) | 0;
6708
6708
  var he = (T + S | 0) + ((o & 8191) << 13) | 0;
6709
- T = (A + (o >>> 13) | 0) + (he >>> 26) | 0, he &= 67108863, S = Math.imul(Pe, a0), o = Math.imul(Pe, r0), o = o + Math.imul(Me, a0) | 0, A = Math.imul(Me, r0), S = S + Math.imul(Ce, n0) | 0, o = o + Math.imul(Ce, s0) | 0, o = o + Math.imul(we, n0) | 0, A = A + Math.imul(we, s0) | 0, S = S + Math.imul(se, e0) | 0, o = o + Math.imul(se, f0) | 0, o = o + Math.imul(Ee, e0) | 0, A = A + Math.imul(Ee, f0) | 0, S = S + Math.imul(K, o0) | 0, o = o + Math.imul(K, x0) | 0, o = o + Math.imul(Y, o0) | 0, A = A + Math.imul(Y, x0) | 0;
6709
+ T = (A + (o >>> 13) | 0) + (he >>> 26) | 0, he &= 67108863, S = Math.imul(Pe, a0), o = Math.imul(Pe, r0), o = o + Math.imul(Me, a0) | 0, A = Math.imul(Me, r0), S = S + Math.imul(Ce, n0) | 0, o = o + Math.imul(Ce, s0) | 0, o = o + Math.imul(we, n0) | 0, A = A + Math.imul(we, s0) | 0, S = S + Math.imul(se, e0) | 0, o = o + Math.imul(se, f0) | 0, o = o + Math.imul(Ee, e0) | 0, A = A + Math.imul(Ee, f0) | 0, S = S + Math.imul(K, o0) | 0, o = o + Math.imul(K, x0) | 0, o = o + Math.imul(W, o0) | 0, A = A + Math.imul(W, x0) | 0;
6710
6710
  var re = (T + S | 0) + ((o & 8191) << 13) | 0;
6711
- T = (A + (o >>> 13) | 0) + (re >>> 26) | 0, re &= 67108863, S = Math.imul(Ge, a0), o = Math.imul(Ge, r0), o = o + Math.imul(We, a0) | 0, A = Math.imul(We, r0), S = S + Math.imul(Pe, n0) | 0, o = o + Math.imul(Pe, s0) | 0, o = o + Math.imul(Me, n0) | 0, A = A + Math.imul(Me, s0) | 0, S = S + Math.imul(Ce, e0) | 0, o = o + Math.imul(Ce, f0) | 0, o = o + Math.imul(we, e0) | 0, A = A + Math.imul(we, f0) | 0, S = S + Math.imul(se, o0) | 0, o = o + Math.imul(se, x0) | 0, o = o + Math.imul(Ee, o0) | 0, A = A + Math.imul(Ee, x0) | 0, S = S + Math.imul(K, t0) | 0, o = o + Math.imul(K, Ve) | 0, o = o + Math.imul(Y, t0) | 0, A = A + Math.imul(Y, Ve) | 0;
6711
+ T = (A + (o >>> 13) | 0) + (re >>> 26) | 0, re &= 67108863, S = Math.imul(Ge, a0), o = Math.imul(Ge, r0), o = o + Math.imul(Ye, a0) | 0, A = Math.imul(Ye, r0), S = S + Math.imul(Pe, n0) | 0, o = o + Math.imul(Pe, s0) | 0, o = o + Math.imul(Me, n0) | 0, A = A + Math.imul(Me, s0) | 0, S = S + Math.imul(Ce, e0) | 0, o = o + Math.imul(Ce, f0) | 0, o = o + Math.imul(we, e0) | 0, A = A + Math.imul(we, f0) | 0, S = S + Math.imul(se, o0) | 0, o = o + Math.imul(se, x0) | 0, o = o + Math.imul(Ee, o0) | 0, A = A + Math.imul(Ee, x0) | 0, S = S + Math.imul(K, t0) | 0, o = o + Math.imul(K, Ve) | 0, o = o + Math.imul(W, t0) | 0, A = A + Math.imul(W, Ve) | 0;
6712
6712
  var xe = (T + S | 0) + ((o & 8191) << 13) | 0;
6713
- T = (A + (o >>> 13) | 0) + (xe >>> 26) | 0, xe &= 67108863, S = Math.imul(Qe, a0), o = Math.imul(Qe, r0), o = o + Math.imul(Ne, a0) | 0, A = Math.imul(Ne, r0), S = S + Math.imul(Ge, n0) | 0, o = o + Math.imul(Ge, s0) | 0, o = o + Math.imul(We, n0) | 0, A = A + Math.imul(We, s0) | 0, S = S + Math.imul(Pe, e0) | 0, o = o + Math.imul(Pe, f0) | 0, o = o + Math.imul(Me, e0) | 0, A = A + Math.imul(Me, f0) | 0, S = S + Math.imul(Ce, o0) | 0, o = o + Math.imul(Ce, x0) | 0, o = o + Math.imul(we, o0) | 0, A = A + Math.imul(we, x0) | 0, S = S + Math.imul(se, t0) | 0, o = o + Math.imul(se, Ve) | 0, o = o + Math.imul(Ee, t0) | 0, A = A + Math.imul(Ee, Ve) | 0, S = S + Math.imul(K, c0) | 0, o = o + Math.imul(K, d0) | 0, o = o + Math.imul(Y, c0) | 0, A = A + Math.imul(Y, d0) | 0;
6713
+ T = (A + (o >>> 13) | 0) + (xe >>> 26) | 0, xe &= 67108863, S = Math.imul(Qe, a0), o = Math.imul(Qe, r0), o = o + Math.imul(Ne, a0) | 0, A = Math.imul(Ne, r0), S = S + Math.imul(Ge, n0) | 0, o = o + Math.imul(Ge, s0) | 0, o = o + Math.imul(Ye, n0) | 0, A = A + Math.imul(Ye, s0) | 0, S = S + Math.imul(Pe, e0) | 0, o = o + Math.imul(Pe, f0) | 0, o = o + Math.imul(Me, e0) | 0, A = A + Math.imul(Me, f0) | 0, S = S + Math.imul(Ce, o0) | 0, o = o + Math.imul(Ce, x0) | 0, o = o + Math.imul(we, o0) | 0, A = A + Math.imul(we, x0) | 0, S = S + Math.imul(se, t0) | 0, o = o + Math.imul(se, Ve) | 0, o = o + Math.imul(Ee, t0) | 0, A = A + Math.imul(Ee, Ve) | 0, S = S + Math.imul(K, c0) | 0, o = o + Math.imul(K, d0) | 0, o = o + Math.imul(W, c0) | 0, A = A + Math.imul(W, d0) | 0;
6714
6714
  var ue = (T + S | 0) + ((o & 8191) << 13) | 0;
6715
- T = (A + (o >>> 13) | 0) + (ue >>> 26) | 0, ue &= 67108863, S = Math.imul(qe, a0), o = Math.imul(qe, r0), o = o + Math.imul(Fe, a0) | 0, A = Math.imul(Fe, r0), S = S + Math.imul(Qe, n0) | 0, o = o + Math.imul(Qe, s0) | 0, o = o + Math.imul(Ne, n0) | 0, A = A + Math.imul(Ne, s0) | 0, S = S + Math.imul(Ge, e0) | 0, o = o + Math.imul(Ge, f0) | 0, o = o + Math.imul(We, e0) | 0, A = A + Math.imul(We, f0) | 0, S = S + Math.imul(Pe, o0) | 0, o = o + Math.imul(Pe, x0) | 0, o = o + Math.imul(Me, o0) | 0, A = A + Math.imul(Me, x0) | 0, S = S + Math.imul(Ce, t0) | 0, o = o + Math.imul(Ce, Ve) | 0, o = o + Math.imul(we, t0) | 0, A = A + Math.imul(we, Ve) | 0, S = S + Math.imul(se, c0) | 0, o = o + Math.imul(se, d0) | 0, o = o + Math.imul(Ee, c0) | 0, A = A + Math.imul(Ee, d0) | 0, S = S + Math.imul(K, Oe) | 0, o = o + Math.imul(K, Ie) | 0, o = o + Math.imul(Y, Oe) | 0, A = A + Math.imul(Y, Ie) | 0;
6715
+ T = (A + (o >>> 13) | 0) + (ue >>> 26) | 0, ue &= 67108863, S = Math.imul(qe, a0), o = Math.imul(qe, r0), o = o + Math.imul(Fe, a0) | 0, A = Math.imul(Fe, r0), S = S + Math.imul(Qe, n0) | 0, o = o + Math.imul(Qe, s0) | 0, o = o + Math.imul(Ne, n0) | 0, A = A + Math.imul(Ne, s0) | 0, S = S + Math.imul(Ge, e0) | 0, o = o + Math.imul(Ge, f0) | 0, o = o + Math.imul(Ye, e0) | 0, A = A + Math.imul(Ye, f0) | 0, S = S + Math.imul(Pe, o0) | 0, o = o + Math.imul(Pe, x0) | 0, o = o + Math.imul(Me, o0) | 0, A = A + Math.imul(Me, x0) | 0, S = S + Math.imul(Ce, t0) | 0, o = o + Math.imul(Ce, Ve) | 0, o = o + Math.imul(we, t0) | 0, A = A + Math.imul(we, Ve) | 0, S = S + Math.imul(se, c0) | 0, o = o + Math.imul(se, d0) | 0, o = o + Math.imul(Ee, c0) | 0, A = A + Math.imul(Ee, d0) | 0, S = S + Math.imul(K, Oe) | 0, o = o + Math.imul(K, Ie) | 0, o = o + Math.imul(W, Oe) | 0, A = A + Math.imul(W, Ie) | 0;
6716
6716
  var ve = (T + S | 0) + ((o & 8191) << 13) | 0;
6717
- T = (A + (o >>> 13) | 0) + (ve >>> 26) | 0, ve &= 67108863, S = Math.imul(Je, a0), o = Math.imul(Je, r0), o = o + Math.imul(i0, a0) | 0, A = Math.imul(i0, r0), S = S + Math.imul(qe, n0) | 0, o = o + Math.imul(qe, s0) | 0, o = o + Math.imul(Fe, n0) | 0, A = A + Math.imul(Fe, s0) | 0, S = S + Math.imul(Qe, e0) | 0, o = o + Math.imul(Qe, f0) | 0, o = o + Math.imul(Ne, e0) | 0, A = A + Math.imul(Ne, f0) | 0, S = S + Math.imul(Ge, o0) | 0, o = o + Math.imul(Ge, x0) | 0, o = o + Math.imul(We, o0) | 0, A = A + Math.imul(We, x0) | 0, S = S + Math.imul(Pe, t0) | 0, o = o + Math.imul(Pe, Ve) | 0, o = o + Math.imul(Me, t0) | 0, A = A + Math.imul(Me, Ve) | 0, S = S + Math.imul(Ce, c0) | 0, o = o + Math.imul(Ce, d0) | 0, o = o + Math.imul(we, c0) | 0, A = A + Math.imul(we, d0) | 0, S = S + Math.imul(se, Oe) | 0, o = o + Math.imul(se, Ie) | 0, o = o + Math.imul(Ee, Oe) | 0, A = A + Math.imul(Ee, Ie) | 0, S = S + Math.imul(K, C) | 0, o = o + Math.imul(K, w) | 0, o = o + Math.imul(Y, C) | 0, A = A + Math.imul(Y, w) | 0;
6717
+ T = (A + (o >>> 13) | 0) + (ve >>> 26) | 0, ve &= 67108863, S = Math.imul(Je, a0), o = Math.imul(Je, r0), o = o + Math.imul(i0, a0) | 0, A = Math.imul(i0, r0), S = S + Math.imul(qe, n0) | 0, o = o + Math.imul(qe, s0) | 0, o = o + Math.imul(Fe, n0) | 0, A = A + Math.imul(Fe, s0) | 0, S = S + Math.imul(Qe, e0) | 0, o = o + Math.imul(Qe, f0) | 0, o = o + Math.imul(Ne, e0) | 0, A = A + Math.imul(Ne, f0) | 0, S = S + Math.imul(Ge, o0) | 0, o = o + Math.imul(Ge, x0) | 0, o = o + Math.imul(Ye, o0) | 0, A = A + Math.imul(Ye, x0) | 0, S = S + Math.imul(Pe, t0) | 0, o = o + Math.imul(Pe, Ve) | 0, o = o + Math.imul(Me, t0) | 0, A = A + Math.imul(Me, Ve) | 0, S = S + Math.imul(Ce, c0) | 0, o = o + Math.imul(Ce, d0) | 0, o = o + Math.imul(we, c0) | 0, A = A + Math.imul(we, d0) | 0, S = S + Math.imul(se, Oe) | 0, o = o + Math.imul(se, Ie) | 0, o = o + Math.imul(Ee, Oe) | 0, A = A + Math.imul(Ee, Ie) | 0, S = S + Math.imul(K, C) | 0, o = o + Math.imul(K, w) | 0, o = o + Math.imul(W, C) | 0, A = A + Math.imul(W, w) | 0;
6718
6718
  var me = (T + S | 0) + ((o & 8191) << 13) | 0;
6719
- T = (A + (o >>> 13) | 0) + (me >>> 26) | 0, me &= 67108863, S = Math.imul(Le, a0), o = Math.imul(Le, r0), o = o + Math.imul(u0, a0) | 0, A = Math.imul(u0, r0), S = S + Math.imul(Je, n0) | 0, o = o + Math.imul(Je, s0) | 0, o = o + Math.imul(i0, n0) | 0, A = A + Math.imul(i0, s0) | 0, S = S + Math.imul(qe, e0) | 0, o = o + Math.imul(qe, f0) | 0, o = o + Math.imul(Fe, e0) | 0, A = A + Math.imul(Fe, f0) | 0, S = S + Math.imul(Qe, o0) | 0, o = o + Math.imul(Qe, x0) | 0, o = o + Math.imul(Ne, o0) | 0, A = A + Math.imul(Ne, x0) | 0, S = S + Math.imul(Ge, t0) | 0, o = o + Math.imul(Ge, Ve) | 0, o = o + Math.imul(We, t0) | 0, A = A + Math.imul(We, Ve) | 0, S = S + Math.imul(Pe, c0) | 0, o = o + Math.imul(Pe, d0) | 0, o = o + Math.imul(Me, c0) | 0, A = A + Math.imul(Me, d0) | 0, S = S + Math.imul(Ce, Oe) | 0, o = o + Math.imul(Ce, Ie) | 0, o = o + Math.imul(we, Oe) | 0, A = A + Math.imul(we, Ie) | 0, S = S + Math.imul(se, C) | 0, o = o + Math.imul(se, w) | 0, o = o + Math.imul(Ee, C) | 0, A = A + Math.imul(Ee, w) | 0, S = S + Math.imul(K, D) | 0, o = o + Math.imul(K, m) | 0, o = o + Math.imul(Y, D) | 0, A = A + Math.imul(Y, m) | 0;
6719
+ T = (A + (o >>> 13) | 0) + (me >>> 26) | 0, me &= 67108863, S = Math.imul(Le, a0), o = Math.imul(Le, r0), o = o + Math.imul(u0, a0) | 0, A = Math.imul(u0, r0), S = S + Math.imul(Je, n0) | 0, o = o + Math.imul(Je, s0) | 0, o = o + Math.imul(i0, n0) | 0, A = A + Math.imul(i0, s0) | 0, S = S + Math.imul(qe, e0) | 0, o = o + Math.imul(qe, f0) | 0, o = o + Math.imul(Fe, e0) | 0, A = A + Math.imul(Fe, f0) | 0, S = S + Math.imul(Qe, o0) | 0, o = o + Math.imul(Qe, x0) | 0, o = o + Math.imul(Ne, o0) | 0, A = A + Math.imul(Ne, x0) | 0, S = S + Math.imul(Ge, t0) | 0, o = o + Math.imul(Ge, Ve) | 0, o = o + Math.imul(Ye, t0) | 0, A = A + Math.imul(Ye, Ve) | 0, S = S + Math.imul(Pe, c0) | 0, o = o + Math.imul(Pe, d0) | 0, o = o + Math.imul(Me, c0) | 0, A = A + Math.imul(Me, d0) | 0, S = S + Math.imul(Ce, Oe) | 0, o = o + Math.imul(Ce, Ie) | 0, o = o + Math.imul(we, Oe) | 0, A = A + Math.imul(we, Ie) | 0, S = S + Math.imul(se, C) | 0, o = o + Math.imul(se, w) | 0, o = o + Math.imul(Ee, C) | 0, A = A + Math.imul(Ee, w) | 0, S = S + Math.imul(K, D) | 0, o = o + Math.imul(K, m) | 0, o = o + Math.imul(W, D) | 0, A = A + Math.imul(W, m) | 0;
6720
6720
  var _e = (T + S | 0) + ((o & 8191) << 13) | 0;
6721
- T = (A + (o >>> 13) | 0) + (_e >>> 26) | 0, _e &= 67108863, S = Math.imul(l0, a0), o = Math.imul(l0, r0), o = o + Math.imul(He, a0) | 0, A = Math.imul(He, r0), S = S + Math.imul(Le, n0) | 0, o = o + Math.imul(Le, s0) | 0, o = o + Math.imul(u0, n0) | 0, A = A + Math.imul(u0, s0) | 0, S = S + Math.imul(Je, e0) | 0, o = o + Math.imul(Je, f0) | 0, o = o + Math.imul(i0, e0) | 0, A = A + Math.imul(i0, f0) | 0, S = S + Math.imul(qe, o0) | 0, o = o + Math.imul(qe, x0) | 0, o = o + Math.imul(Fe, o0) | 0, A = A + Math.imul(Fe, x0) | 0, S = S + Math.imul(Qe, t0) | 0, o = o + Math.imul(Qe, Ve) | 0, o = o + Math.imul(Ne, t0) | 0, A = A + Math.imul(Ne, Ve) | 0, S = S + Math.imul(Ge, c0) | 0, o = o + Math.imul(Ge, d0) | 0, o = o + Math.imul(We, c0) | 0, A = A + Math.imul(We, d0) | 0, S = S + Math.imul(Pe, Oe) | 0, o = o + Math.imul(Pe, Ie) | 0, o = o + Math.imul(Me, Oe) | 0, A = A + Math.imul(Me, Ie) | 0, S = S + Math.imul(Ce, C) | 0, o = o + Math.imul(Ce, w) | 0, o = o + Math.imul(we, C) | 0, A = A + Math.imul(we, w) | 0, S = S + Math.imul(se, D) | 0, o = o + Math.imul(se, m) | 0, o = o + Math.imul(Ee, D) | 0, A = A + Math.imul(Ee, m) | 0, S = S + Math.imul(K, L) | 0, o = o + Math.imul(K, V) | 0, o = o + Math.imul(Y, L) | 0, A = A + Math.imul(Y, V) | 0;
6721
+ T = (A + (o >>> 13) | 0) + (_e >>> 26) | 0, _e &= 67108863, S = Math.imul(l0, a0), o = Math.imul(l0, r0), o = o + Math.imul(He, a0) | 0, A = Math.imul(He, r0), S = S + Math.imul(Le, n0) | 0, o = o + Math.imul(Le, s0) | 0, o = o + Math.imul(u0, n0) | 0, A = A + Math.imul(u0, s0) | 0, S = S + Math.imul(Je, e0) | 0, o = o + Math.imul(Je, f0) | 0, o = o + Math.imul(i0, e0) | 0, A = A + Math.imul(i0, f0) | 0, S = S + Math.imul(qe, o0) | 0, o = o + Math.imul(qe, x0) | 0, o = o + Math.imul(Fe, o0) | 0, A = A + Math.imul(Fe, x0) | 0, S = S + Math.imul(Qe, t0) | 0, o = o + Math.imul(Qe, Ve) | 0, o = o + Math.imul(Ne, t0) | 0, A = A + Math.imul(Ne, Ve) | 0, S = S + Math.imul(Ge, c0) | 0, o = o + Math.imul(Ge, d0) | 0, o = o + Math.imul(Ye, c0) | 0, A = A + Math.imul(Ye, d0) | 0, S = S + Math.imul(Pe, Oe) | 0, o = o + Math.imul(Pe, Ie) | 0, o = o + Math.imul(Me, Oe) | 0, A = A + Math.imul(Me, Ie) | 0, S = S + Math.imul(Ce, C) | 0, o = o + Math.imul(Ce, w) | 0, o = o + Math.imul(we, C) | 0, A = A + Math.imul(we, w) | 0, S = S + Math.imul(se, D) | 0, o = o + Math.imul(se, m) | 0, o = o + Math.imul(Ee, D) | 0, A = A + Math.imul(Ee, m) | 0, S = S + Math.imul(K, L) | 0, o = o + Math.imul(K, V) | 0, o = o + Math.imul(W, L) | 0, A = A + Math.imul(W, V) | 0;
6722
6722
  var Ae = (T + S | 0) + ((o & 8191) << 13) | 0;
6723
- T = (A + (o >>> 13) | 0) + (Ae >>> 26) | 0, Ae &= 67108863, S = Math.imul(l0, n0), o = Math.imul(l0, s0), o = o + Math.imul(He, n0) | 0, A = Math.imul(He, s0), S = S + Math.imul(Le, e0) | 0, o = o + Math.imul(Le, f0) | 0, o = o + Math.imul(u0, e0) | 0, A = A + Math.imul(u0, f0) | 0, S = S + Math.imul(Je, o0) | 0, o = o + Math.imul(Je, x0) | 0, o = o + Math.imul(i0, o0) | 0, A = A + Math.imul(i0, x0) | 0, S = S + Math.imul(qe, t0) | 0, o = o + Math.imul(qe, Ve) | 0, o = o + Math.imul(Fe, t0) | 0, A = A + Math.imul(Fe, Ve) | 0, S = S + Math.imul(Qe, c0) | 0, o = o + Math.imul(Qe, d0) | 0, o = o + Math.imul(Ne, c0) | 0, A = A + Math.imul(Ne, d0) | 0, S = S + Math.imul(Ge, Oe) | 0, o = o + Math.imul(Ge, Ie) | 0, o = o + Math.imul(We, Oe) | 0, A = A + Math.imul(We, Ie) | 0, S = S + Math.imul(Pe, C) | 0, o = o + Math.imul(Pe, w) | 0, o = o + Math.imul(Me, C) | 0, A = A + Math.imul(Me, w) | 0, S = S + Math.imul(Ce, D) | 0, o = o + Math.imul(Ce, m) | 0, o = o + Math.imul(we, D) | 0, A = A + Math.imul(we, m) | 0, S = S + Math.imul(se, L) | 0, o = o + Math.imul(se, V) | 0, o = o + Math.imul(Ee, L) | 0, A = A + Math.imul(Ee, V) | 0;
6723
+ T = (A + (o >>> 13) | 0) + (Ae >>> 26) | 0, Ae &= 67108863, S = Math.imul(l0, n0), o = Math.imul(l0, s0), o = o + Math.imul(He, n0) | 0, A = Math.imul(He, s0), S = S + Math.imul(Le, e0) | 0, o = o + Math.imul(Le, f0) | 0, o = o + Math.imul(u0, e0) | 0, A = A + Math.imul(u0, f0) | 0, S = S + Math.imul(Je, o0) | 0, o = o + Math.imul(Je, x0) | 0, o = o + Math.imul(i0, o0) | 0, A = A + Math.imul(i0, x0) | 0, S = S + Math.imul(qe, t0) | 0, o = o + Math.imul(qe, Ve) | 0, o = o + Math.imul(Fe, t0) | 0, A = A + Math.imul(Fe, Ve) | 0, S = S + Math.imul(Qe, c0) | 0, o = o + Math.imul(Qe, d0) | 0, o = o + Math.imul(Ne, c0) | 0, A = A + Math.imul(Ne, d0) | 0, S = S + Math.imul(Ge, Oe) | 0, o = o + Math.imul(Ge, Ie) | 0, o = o + Math.imul(Ye, Oe) | 0, A = A + Math.imul(Ye, Ie) | 0, S = S + Math.imul(Pe, C) | 0, o = o + Math.imul(Pe, w) | 0, o = o + Math.imul(Me, C) | 0, A = A + Math.imul(Me, w) | 0, S = S + Math.imul(Ce, D) | 0, o = o + Math.imul(Ce, m) | 0, o = o + Math.imul(we, D) | 0, A = A + Math.imul(we, m) | 0, S = S + Math.imul(se, L) | 0, o = o + Math.imul(se, V) | 0, o = o + Math.imul(Ee, L) | 0, A = A + Math.imul(Ee, V) | 0;
6724
6724
  var pe = (T + S | 0) + ((o & 8191) << 13) | 0;
6725
- T = (A + (o >>> 13) | 0) + (pe >>> 26) | 0, pe &= 67108863, S = Math.imul(l0, e0), o = Math.imul(l0, f0), o = o + Math.imul(He, e0) | 0, A = Math.imul(He, f0), S = S + Math.imul(Le, o0) | 0, o = o + Math.imul(Le, x0) | 0, o = o + Math.imul(u0, o0) | 0, A = A + Math.imul(u0, x0) | 0, S = S + Math.imul(Je, t0) | 0, o = o + Math.imul(Je, Ve) | 0, o = o + Math.imul(i0, t0) | 0, A = A + Math.imul(i0, Ve) | 0, S = S + Math.imul(qe, c0) | 0, o = o + Math.imul(qe, d0) | 0, o = o + Math.imul(Fe, c0) | 0, A = A + Math.imul(Fe, d0) | 0, S = S + Math.imul(Qe, Oe) | 0, o = o + Math.imul(Qe, Ie) | 0, o = o + Math.imul(Ne, Oe) | 0, A = A + Math.imul(Ne, Ie) | 0, S = S + Math.imul(Ge, C) | 0, o = o + Math.imul(Ge, w) | 0, o = o + Math.imul(We, C) | 0, A = A + Math.imul(We, w) | 0, S = S + Math.imul(Pe, D) | 0, o = o + Math.imul(Pe, m) | 0, o = o + Math.imul(Me, D) | 0, A = A + Math.imul(Me, m) | 0, S = S + Math.imul(Ce, L) | 0, o = o + Math.imul(Ce, V) | 0, o = o + Math.imul(we, L) | 0, A = A + Math.imul(we, V) | 0;
6725
+ T = (A + (o >>> 13) | 0) + (pe >>> 26) | 0, pe &= 67108863, S = Math.imul(l0, e0), o = Math.imul(l0, f0), o = o + Math.imul(He, e0) | 0, A = Math.imul(He, f0), S = S + Math.imul(Le, o0) | 0, o = o + Math.imul(Le, x0) | 0, o = o + Math.imul(u0, o0) | 0, A = A + Math.imul(u0, x0) | 0, S = S + Math.imul(Je, t0) | 0, o = o + Math.imul(Je, Ve) | 0, o = o + Math.imul(i0, t0) | 0, A = A + Math.imul(i0, Ve) | 0, S = S + Math.imul(qe, c0) | 0, o = o + Math.imul(qe, d0) | 0, o = o + Math.imul(Fe, c0) | 0, A = A + Math.imul(Fe, d0) | 0, S = S + Math.imul(Qe, Oe) | 0, o = o + Math.imul(Qe, Ie) | 0, o = o + Math.imul(Ne, Oe) | 0, A = A + Math.imul(Ne, Ie) | 0, S = S + Math.imul(Ge, C) | 0, o = o + Math.imul(Ge, w) | 0, o = o + Math.imul(Ye, C) | 0, A = A + Math.imul(Ye, w) | 0, S = S + Math.imul(Pe, D) | 0, o = o + Math.imul(Pe, m) | 0, o = o + Math.imul(Me, D) | 0, A = A + Math.imul(Me, m) | 0, S = S + Math.imul(Ce, L) | 0, o = o + Math.imul(Ce, V) | 0, o = o + Math.imul(we, L) | 0, A = A + Math.imul(we, V) | 0;
6726
6726
  var de = (T + S | 0) + ((o & 8191) << 13) | 0;
6727
- T = (A + (o >>> 13) | 0) + (de >>> 26) | 0, de &= 67108863, S = Math.imul(l0, o0), o = Math.imul(l0, x0), o = o + Math.imul(He, o0) | 0, A = Math.imul(He, x0), S = S + Math.imul(Le, t0) | 0, o = o + Math.imul(Le, Ve) | 0, o = o + Math.imul(u0, t0) | 0, A = A + Math.imul(u0, Ve) | 0, S = S + Math.imul(Je, c0) | 0, o = o + Math.imul(Je, d0) | 0, o = o + Math.imul(i0, c0) | 0, A = A + Math.imul(i0, d0) | 0, S = S + Math.imul(qe, Oe) | 0, o = o + Math.imul(qe, Ie) | 0, o = o + Math.imul(Fe, Oe) | 0, A = A + Math.imul(Fe, Ie) | 0, S = S + Math.imul(Qe, C) | 0, o = o + Math.imul(Qe, w) | 0, o = o + Math.imul(Ne, C) | 0, A = A + Math.imul(Ne, w) | 0, S = S + Math.imul(Ge, D) | 0, o = o + Math.imul(Ge, m) | 0, o = o + Math.imul(We, D) | 0, A = A + Math.imul(We, m) | 0, S = S + Math.imul(Pe, L) | 0, o = o + Math.imul(Pe, V) | 0, o = o + Math.imul(Me, L) | 0, A = A + Math.imul(Me, V) | 0;
6727
+ T = (A + (o >>> 13) | 0) + (de >>> 26) | 0, de &= 67108863, S = Math.imul(l0, o0), o = Math.imul(l0, x0), o = o + Math.imul(He, o0) | 0, A = Math.imul(He, x0), S = S + Math.imul(Le, t0) | 0, o = o + Math.imul(Le, Ve) | 0, o = o + Math.imul(u0, t0) | 0, A = A + Math.imul(u0, Ve) | 0, S = S + Math.imul(Je, c0) | 0, o = o + Math.imul(Je, d0) | 0, o = o + Math.imul(i0, c0) | 0, A = A + Math.imul(i0, d0) | 0, S = S + Math.imul(qe, Oe) | 0, o = o + Math.imul(qe, Ie) | 0, o = o + Math.imul(Fe, Oe) | 0, A = A + Math.imul(Fe, Ie) | 0, S = S + Math.imul(Qe, C) | 0, o = o + Math.imul(Qe, w) | 0, o = o + Math.imul(Ne, C) | 0, A = A + Math.imul(Ne, w) | 0, S = S + Math.imul(Ge, D) | 0, o = o + Math.imul(Ge, m) | 0, o = o + Math.imul(Ye, D) | 0, A = A + Math.imul(Ye, m) | 0, S = S + Math.imul(Pe, L) | 0, o = o + Math.imul(Pe, V) | 0, o = o + Math.imul(Me, L) | 0, A = A + Math.imul(Me, V) | 0;
6728
6728
  var ye = (T + S | 0) + ((o & 8191) << 13) | 0;
6729
- T = (A + (o >>> 13) | 0) + (ye >>> 26) | 0, ye &= 67108863, S = Math.imul(l0, t0), o = Math.imul(l0, Ve), o = o + Math.imul(He, t0) | 0, A = Math.imul(He, Ve), S = S + Math.imul(Le, c0) | 0, o = o + Math.imul(Le, d0) | 0, o = o + Math.imul(u0, c0) | 0, A = A + Math.imul(u0, d0) | 0, S = S + Math.imul(Je, Oe) | 0, o = o + Math.imul(Je, Ie) | 0, o = o + Math.imul(i0, Oe) | 0, A = A + Math.imul(i0, Ie) | 0, S = S + Math.imul(qe, C) | 0, o = o + Math.imul(qe, w) | 0, o = o + Math.imul(Fe, C) | 0, A = A + Math.imul(Fe, w) | 0, S = S + Math.imul(Qe, D) | 0, o = o + Math.imul(Qe, m) | 0, o = o + Math.imul(Ne, D) | 0, A = A + Math.imul(Ne, m) | 0, S = S + Math.imul(Ge, L) | 0, o = o + Math.imul(Ge, V) | 0, o = o + Math.imul(We, L) | 0, A = A + Math.imul(We, V) | 0;
6729
+ T = (A + (o >>> 13) | 0) + (ye >>> 26) | 0, ye &= 67108863, S = Math.imul(l0, t0), o = Math.imul(l0, Ve), o = o + Math.imul(He, t0) | 0, A = Math.imul(He, Ve), S = S + Math.imul(Le, c0) | 0, o = o + Math.imul(Le, d0) | 0, o = o + Math.imul(u0, c0) | 0, A = A + Math.imul(u0, d0) | 0, S = S + Math.imul(Je, Oe) | 0, o = o + Math.imul(Je, Ie) | 0, o = o + Math.imul(i0, Oe) | 0, A = A + Math.imul(i0, Ie) | 0, S = S + Math.imul(qe, C) | 0, o = o + Math.imul(qe, w) | 0, o = o + Math.imul(Fe, C) | 0, A = A + Math.imul(Fe, w) | 0, S = S + Math.imul(Qe, D) | 0, o = o + Math.imul(Qe, m) | 0, o = o + Math.imul(Ne, D) | 0, A = A + Math.imul(Ne, m) | 0, S = S + Math.imul(Ge, L) | 0, o = o + Math.imul(Ge, V) | 0, o = o + Math.imul(Ye, L) | 0, A = A + Math.imul(Ye, V) | 0;
6730
6730
  var ce = (T + S | 0) + ((o & 8191) << 13) | 0;
6731
6731
  T = (A + (o >>> 13) | 0) + (ce >>> 26) | 0, ce &= 67108863, S = Math.imul(l0, c0), o = Math.imul(l0, d0), o = o + Math.imul(He, c0) | 0, A = Math.imul(He, d0), S = S + Math.imul(Le, Oe) | 0, o = o + Math.imul(Le, Ie) | 0, o = o + Math.imul(u0, Oe) | 0, A = A + Math.imul(u0, Ie) | 0, S = S + Math.imul(Je, C) | 0, o = o + Math.imul(Je, w) | 0, o = o + Math.imul(i0, C) | 0, A = A + Math.imul(i0, w) | 0, S = S + Math.imul(qe, D) | 0, o = o + Math.imul(qe, m) | 0, o = o + Math.imul(Fe, D) | 0, A = A + Math.imul(Fe, m) | 0, S = S + Math.imul(Qe, L) | 0, o = o + Math.imul(Qe, V) | 0, o = o + Math.imul(Ne, L) | 0, A = A + Math.imul(Ne, V) | 0;
6732
6732
  var le = (T + S | 0) + ((o & 8191) << 13) | 0;
@@ -6747,8 +6747,8 @@ Yi.exports;
6747
6747
  var I = g;
6748
6748
  g = 0;
6749
6749
  for (var T = p & 67108863, S = Math.min(E, f.length - 1), o = Math.max(0, E - _.length + 1); o <= S; o++) {
6750
- var A = E - o, W = _.words[A] | 0, K = f.words[o] | 0, Y = W * K, J = Y & 67108863;
6751
- I = I + (Y / 67108864 | 0) | 0, J = J + T | 0, T = J & 67108863, I = I + (J >>> 26) | 0, g += I >>> 26, I &= 67108863;
6750
+ var A = E - o, Y = _.words[A] | 0, K = f.words[o] | 0, W = Y * K, J = W & 67108863;
6751
+ I = I + (W / 67108864 | 0) | 0, J = J + T | 0, T = J & 67108863, I = I + (J >>> 26) | 0, g += I >>> 26, I &= 67108863;
6752
6752
  }
6753
6753
  h.words[E] = T, p = I, I = g;
6754
6754
  }
@@ -6781,10 +6781,10 @@ Yi.exports;
6781
6781
  }, F.prototype.transform = function(f, h, p, g, E, I) {
6782
6782
  this.permute(I, f, h, p, g, E);
6783
6783
  for (var T = 1; T < E; T <<= 1)
6784
- for (var S = T << 1, o = Math.cos(2 * Math.PI / S), A = Math.sin(2 * Math.PI / S), W = 0; W < E; W += S)
6785
- for (var K = o, Y = A, J = 0; J < T; J++) {
6786
- var se = p[W + J], Ee = g[W + J], ge = p[W + J + T], Ce = g[W + J + T], we = K * ge - Y * Ce;
6787
- Ce = K * Ce + Y * ge, ge = we, p[W + J] = se + ge, g[W + J] = Ee + Ce, p[W + J + T] = se - ge, g[W + J + T] = Ee - Ce, J !== S && (we = o * K - A * Y, Y = o * Y + A * K, K = we);
6784
+ for (var S = T << 1, o = Math.cos(2 * Math.PI / S), A = Math.sin(2 * Math.PI / S), Y = 0; Y < E; Y += S)
6785
+ for (var K = o, W = A, J = 0; J < T; J++) {
6786
+ var se = p[Y + J], Ee = g[Y + J], ge = p[Y + J + T], Ce = g[Y + J + T], we = K * ge - W * Ce;
6787
+ Ce = K * Ce + W * ge, ge = we, p[Y + J] = se + ge, g[Y + J] = Ee + Ce, p[Y + J + T] = se - ge, g[Y + J + T] = Ee - Ce, J !== S && (we = o * K - A * W, W = o * W + A * K, K = we);
6788
6788
  }
6789
6789
  }, F.prototype.guessLen13b = function(f, h) {
6790
6790
  var p = Math.max(h, f) | 1, g = p & 1, E = 0;
@@ -6814,13 +6814,13 @@ Yi.exports;
6814
6814
  h[p] = 0;
6815
6815
  return h;
6816
6816
  }, F.prototype.mulp = function(f, h, p) {
6817
- var g = 2 * this.guessLen13b(f.length, h.length), E = this.makeRBT(g), I = this.stub(g), T = new Array(g), S = new Array(g), o = new Array(g), A = new Array(g), W = new Array(g), K = new Array(g), Y = p.words;
6818
- Y.length = g, this.convert13b(f.words, f.length, T, g), this.convert13b(h.words, h.length, A, g), this.transform(T, I, S, o, g, E), this.transform(A, I, W, K, g, E);
6817
+ var g = 2 * this.guessLen13b(f.length, h.length), E = this.makeRBT(g), I = this.stub(g), T = new Array(g), S = new Array(g), o = new Array(g), A = new Array(g), Y = new Array(g), K = new Array(g), W = p.words;
6818
+ W.length = g, this.convert13b(f.words, f.length, T, g), this.convert13b(h.words, h.length, A, g), this.transform(T, I, S, o, g, E), this.transform(A, I, Y, K, g, E);
6819
6819
  for (var J = 0; J < g; J++) {
6820
- var se = S[J] * W[J] - o[J] * K[J];
6821
- o[J] = S[J] * K[J] + o[J] * W[J], S[J] = se;
6820
+ var se = S[J] * Y[J] - o[J] * K[J];
6821
+ o[J] = S[J] * K[J] + o[J] * Y[J], S[J] = se;
6822
6822
  }
6823
- return this.conjugate(S, o, g), this.transform(S, o, Y, I, g, E), this.conjugate(Y, I, g), this.normalize13b(Y, g), p.negative = f.negative ^ h.negative, p.length = f.length + h.length, p.strip();
6823
+ return this.conjugate(S, o, g), this.transform(S, o, W, I, g, E), this.conjugate(W, I, g), this.normalize13b(W, g), p.negative = f.negative ^ h.negative, p.length = f.length + h.length, p.strip();
6824
6824
  }, n.prototype.mul = function(f) {
6825
6825
  var h = new n(null);
6826
6826
  return h.words = new Array(this.length + f.length), this.mulTo(f, h);
@@ -6891,8 +6891,8 @@ Yi.exports;
6891
6891
  this.words[0] = 0, this.length = 1;
6892
6892
  var A = 0;
6893
6893
  for (o = this.length - 1; o >= 0 && (A !== 0 || o >= g); o--) {
6894
- var W = this.words[o] | 0;
6895
- this.words[o] = A << 26 - E | W >>> E, A = W & T;
6894
+ var Y = this.words[o] | 0;
6895
+ this.words[o] = A << 26 - E | Y >>> E, A = Y & T;
6896
6896
  }
6897
6897
  return S && A !== 0 && (S.words[S.length++] = A), this.length === 0 && (this.words[0] = 0, this.length = 1), this.strip();
6898
6898
  }, n.prototype.ishrn = function(f, h, p) {
@@ -6975,13 +6975,13 @@ Yi.exports;
6975
6975
  for (var A = 0; A < o.length; A++)
6976
6976
  o.words[A] = 0;
6977
6977
  }
6978
- var W = g.clone()._ishlnsubmul(E, 1, S);
6979
- W.negative === 0 && (g = W, o && (o.words[S] = 1));
6978
+ var Y = g.clone()._ishlnsubmul(E, 1, S);
6979
+ Y.negative === 0 && (g = Y, o && (o.words[S] = 1));
6980
6980
  for (var K = S - 1; K >= 0; K--) {
6981
- var Y = (g.words[E.length + K] | 0) * 67108864 + (g.words[E.length + K - 1] | 0);
6982
- for (Y = Math.min(Y / I | 0, 67108863), g._ishlnsubmul(E, Y, K); g.negative !== 0; )
6983
- Y--, g.negative = 0, g._ishlnsubmul(E, 1, K), g.isZero() || (g.negative ^= 1);
6984
- o && (o.words[K] = Y);
6981
+ var W = (g.words[E.length + K] | 0) * 67108864 + (g.words[E.length + K - 1] | 0);
6982
+ for (W = Math.min(W / I | 0, 67108863), g._ishlnsubmul(E, W, K); g.negative !== 0; )
6983
+ W--, g.negative = 0, g._ishlnsubmul(E, 1, K), g.isZero() || (g.negative ^= 1);
6984
+ o && (o.words[K] = W);
6985
6985
  }
6986
6986
  return o && o.strip(), g.strip(), h !== "div" && p !== 0 && g.iushrn(p), {
6987
6987
  div: o || null,
@@ -7049,15 +7049,15 @@ Yi.exports;
7049
7049
  for (var g = new n(1), E = new n(0), I = new n(0), T = new n(1), S = 0; h.isEven() && p.isEven(); )
7050
7050
  h.iushrn(1), p.iushrn(1), ++S;
7051
7051
  for (var o = p.clone(), A = h.clone(); !h.isZero(); ) {
7052
- for (var W = 0, K = 1; !(h.words[0] & K) && W < 26; ++W, K <<= 1)
7052
+ for (var Y = 0, K = 1; !(h.words[0] & K) && Y < 26; ++Y, K <<= 1)
7053
7053
  ;
7054
- if (W > 0)
7055
- for (h.iushrn(W); W-- > 0; )
7054
+ if (Y > 0)
7055
+ for (h.iushrn(Y); Y-- > 0; )
7056
7056
  (g.isOdd() || E.isOdd()) && (g.iadd(o), E.isub(A)), g.iushrn(1), E.iushrn(1);
7057
- for (var Y = 0, J = 1; !(p.words[0] & J) && Y < 26; ++Y, J <<= 1)
7057
+ for (var W = 0, J = 1; !(p.words[0] & J) && W < 26; ++W, J <<= 1)
7058
7058
  ;
7059
- if (Y > 0)
7060
- for (p.iushrn(Y); Y-- > 0; )
7059
+ if (W > 0)
7060
+ for (p.iushrn(W); W-- > 0; )
7061
7061
  (I.isOdd() || T.isOdd()) && (I.iadd(o), T.isub(A)), I.iushrn(1), T.iushrn(1);
7062
7062
  h.cmp(p) >= 0 ? (h.isub(p), g.isub(I), E.isub(T)) : (p.isub(h), I.isub(g), T.isub(E));
7063
7063
  }
@@ -7083,8 +7083,8 @@ Yi.exports;
7083
7083
  E.isOdd() && E.iadd(I), E.iushrn(1);
7084
7084
  h.cmp(p) >= 0 ? (h.isub(p), g.isub(E)) : (p.isub(h), E.isub(g));
7085
7085
  }
7086
- var W;
7087
- return h.cmpn(1) === 0 ? W = g : W = E, W.cmpn(0) < 0 && W.iadd(f), W;
7086
+ var Y;
7087
+ return h.cmpn(1) === 0 ? Y = g : Y = E, Y.cmpn(0) < 0 && Y.iadd(f), Y;
7088
7088
  }, n.prototype.gcd = function(f) {
7089
7089
  if (this.isZero())
7090
7090
  return f.abs();
@@ -7376,14 +7376,14 @@ Yi.exports;
7376
7376
  var I = new n(1).toRed(this), T = I.redNeg(), S = this.m.subn(1).iushrn(1), o = this.m.bitLength();
7377
7377
  for (o = new n(2 * o * o).toRed(this); this.pow(o, S).cmp(T) !== 0; )
7378
7378
  o.redIAdd(T);
7379
- for (var A = this.pow(o, g), W = this.pow(f, g.addn(1).iushrn(1)), K = this.pow(f, g), Y = E; K.cmp(I) !== 0; ) {
7379
+ for (var A = this.pow(o, g), Y = this.pow(f, g.addn(1).iushrn(1)), K = this.pow(f, g), W = E; K.cmp(I) !== 0; ) {
7380
7380
  for (var J = K, se = 0; J.cmp(I) !== 0; se++)
7381
7381
  J = J.redSqr();
7382
- r(se < Y);
7383
- var Ee = this.pow(A, new n(1).iushln(Y - se - 1));
7384
- W = W.redMul(Ee), A = Ee.redSqr(), K = K.redMul(A), Y = se;
7382
+ r(se < W);
7383
+ var Ee = this.pow(A, new n(1).iushln(W - se - 1));
7384
+ Y = Y.redMul(Ee), A = Ee.redSqr(), K = K.redMul(A), W = se;
7385
7385
  }
7386
- return W;
7386
+ return Y;
7387
7387
  }, Q.prototype.invm = function(f) {
7388
7388
  var h = f._invmp(this.m);
7389
7389
  return h.negative !== 0 ? (h.negative = 0, this.imod(h).redNeg()) : this.imod(h);
@@ -7398,13 +7398,13 @@ Yi.exports;
7398
7398
  g[E] = this.mul(g[E - 1], f);
7399
7399
  var I = g[0], T = 0, S = 0, o = h.bitLength() % 26;
7400
7400
  for (o === 0 && (o = 26), E = h.length - 1; E >= 0; E--) {
7401
- for (var A = h.words[E], W = o - 1; W >= 0; W--) {
7402
- var K = A >> W & 1;
7401
+ for (var A = h.words[E], Y = o - 1; Y >= 0; Y--) {
7402
+ var K = A >> Y & 1;
7403
7403
  if (I !== g[0] && (I = this.sqr(I)), K === 0 && T === 0) {
7404
7404
  S = 0;
7405
7405
  continue;
7406
7406
  }
7407
- T <<= 1, T |= K, S++, !(S !== p && (E !== 0 || W !== 0)) && (I = this.mul(I, g[T]), S = 0, T = 0);
7407
+ T <<= 1, T |= K, S++, !(S !== p && (E !== 0 || Y !== 0)) && (I = this.mul(I, g[T]), S = 0, T = 0);
7408
7408
  }
7409
7409
  o = 26;
7410
7410
  }
@@ -7442,16 +7442,16 @@ Yi.exports;
7442
7442
  };
7443
7443
  })(i, ke);
7444
7444
  })(Yi);
7445
- var pt = Yi.exports, It = Ef;
7446
- function Ef(i, e) {
7445
+ var pt = Yi.exports, It = wf;
7446
+ function wf(i, e) {
7447
7447
  if (!i)
7448
7448
  throw new Error(e || "Assertion failed");
7449
7449
  }
7450
- Ef.equal = function(e, t, r) {
7450
+ wf.equal = function(e, t, r) {
7451
7451
  if (e != t)
7452
7452
  throw new Error(r || "Assertion failed: " + e + " != " + t);
7453
7453
  };
7454
- var Wi = {};
7454
+ var Ki = {};
7455
7455
  (function(i) {
7456
7456
  var e = i;
7457
7457
  function t(n, y) {
@@ -7489,9 +7489,9 @@ var Wi = {};
7489
7489
  e.toHex = a, e.encode = function(y, x) {
7490
7490
  return x === "hex" ? a(y) : y;
7491
7491
  };
7492
- })(Wi);
7492
+ })(Ki);
7493
7493
  (function(i) {
7494
- var e = i, t = pt, r = It, a = Wi;
7494
+ var e = i, t = pt, r = It, a = Ki;
7495
7495
  e.assert = r, e.toArray = a.toArray, e.zero2 = a.zero2, e.toHex = a.toHex, e.encode = a.encode;
7496
7496
  function n(d, v, b) {
7497
7497
  var M = new Array(Math.max(d.bitLength(), b) + 1), B;
@@ -7538,14 +7538,14 @@ var Wi = {};
7538
7538
  }
7539
7539
  e.intFromLE = c;
7540
7540
  })(j0);
7541
- var Ki = { exports: {} }, gi;
7542
- Ki.exports = function(e) {
7543
- return gi || (gi = new mt(null)), gi.generate(e);
7541
+ var ji = { exports: {} }, mi;
7542
+ ji.exports = function(e) {
7543
+ return mi || (mi = new mt(null)), mi.generate(e);
7544
7544
  };
7545
7545
  function mt(i) {
7546
7546
  this.rand = i;
7547
7547
  }
7548
- Ki.exports.Rand = mt;
7548
+ ji.exports.Rand = mt;
7549
7549
  mt.prototype.generate = function(e) {
7550
7550
  return this._rand(e);
7551
7551
  };
@@ -7568,21 +7568,21 @@ if (typeof self == "object")
7568
7568
  });
7569
7569
  else
7570
7570
  try {
7571
- var Kn = wr;
7572
- if (typeof Kn.randomBytes != "function")
7571
+ var jn = Br;
7572
+ if (typeof jn.randomBytes != "function")
7573
7573
  throw new Error("Not supported");
7574
7574
  mt.prototype._rand = function(e) {
7575
- return Kn.randomBytes(e);
7575
+ return jn.randomBytes(e);
7576
7576
  };
7577
7577
  } catch {
7578
7578
  }
7579
- var wf = Ki.exports, ji = {}, Ct = pt, fr = j0, mr = fr.getNAF, ms = fr.getJSF, _r = fr.assert;
7579
+ var Bf = ji.exports, Vi = {}, Ct = pt, fr = j0, _r = fr.getNAF, _s = fr.getJSF, Ar = fr.assert;
7580
7580
  function wt(i, e) {
7581
7581
  this.type = i, this.p = new Ct(e.p, 16), this.red = e.prime ? Ct.red(e.prime) : Ct.mont(this.p), this.zero = new Ct(0).toRed(this.red), this.one = new Ct(1).toRed(this.red), this.two = new Ct(2).toRed(this.red), this.n = e.n && new Ct(e.n, 16), this.g = e.g && this.pointFromJSON(e.g, e.gRed), this._wnafT1 = new Array(4), this._wnafT2 = new Array(4), this._wnafT3 = new Array(4), this._wnafT4 = new Array(4), this._bitLength = this.n ? this.n.bitLength() : 0;
7582
7582
  var t = this.n && this.p.div(this.n);
7583
7583
  !t || t.cmpn(100) > 0 ? this.redN = null : (this._maxwellTrick = !0, this.redN = this.n.toRed(this.red));
7584
7584
  }
7585
- var Cr = wt;
7585
+ var Mr = wt;
7586
7586
  wt.prototype.point = function() {
7587
7587
  throw new Error("Not implemented");
7588
7588
  };
@@ -7590,8 +7590,8 @@ wt.prototype.validate = function() {
7590
7590
  throw new Error("Not implemented");
7591
7591
  };
7592
7592
  wt.prototype._fixedNafMul = function(e, t) {
7593
- _r(e.precomputed);
7594
- var r = e._getDoubles(), a = mr(t, 1, this._bitLength), n = (1 << r.step + 1) - (r.step % 2 === 0 ? 2 : 1);
7593
+ Ar(e.precomputed);
7594
+ var r = e._getDoubles(), a = _r(t, 1, this._bitLength), n = (1 << r.step + 1) - (r.step % 2 === 0 ? 2 : 1);
7595
7595
  n /= 3;
7596
7596
  var y = [], x, u;
7597
7597
  for (x = 0; x < a.length; x += r.step) {
@@ -7610,13 +7610,13 @@ wt.prototype._fixedNafMul = function(e, t) {
7610
7610
  wt.prototype._wnafMul = function(e, t) {
7611
7611
  var r = 4, a = e._getNAFPoints(r);
7612
7612
  r = a.wnd;
7613
- for (var n = a.points, y = mr(t, r, this._bitLength), x = this.jpoint(null, null, null), u = y.length - 1; u >= 0; u--) {
7613
+ for (var n = a.points, y = _r(t, r, this._bitLength), x = this.jpoint(null, null, null), u = y.length - 1; u >= 0; u--) {
7614
7614
  for (var c = 0; u >= 0 && y[u] === 0; u--)
7615
7615
  c++;
7616
7616
  if (u >= 0 && c++, x = x.dblp(c), u < 0)
7617
7617
  break;
7618
7618
  var d = y[u];
7619
- _r(d !== 0), e.type === "affine" ? d > 0 ? x = x.mixedAdd(n[d - 1 >> 1]) : x = x.mixedAdd(n[-d - 1 >> 1].neg()) : d > 0 ? x = x.add(n[d - 1 >> 1]) : x = x.add(n[-d - 1 >> 1].neg());
7619
+ Ar(d !== 0), e.type === "affine" ? d > 0 ? x = x.mixedAdd(n[d - 1 >> 1]) : x = x.mixedAdd(n[-d - 1 >> 1].neg()) : d > 0 ? x = x.add(n[d - 1 >> 1]) : x = x.add(n[-d - 1 >> 1].neg());
7620
7620
  }
7621
7621
  return e.type === "affine" ? x.toP() : x;
7622
7622
  };
@@ -7630,7 +7630,7 @@ wt.prototype._wnafMulAdd = function(e, t, r, a, n) {
7630
7630
  for (d = a - 1; d >= 1; d -= 2) {
7631
7631
  var B = d - 1, R = d;
7632
7632
  if (y[B] !== 1 || y[R] !== 1) {
7633
- u[B] = mr(r[B], y[B], this._bitLength), u[R] = mr(r[R], y[R], this._bitLength), c = Math.max(u[B].length, c), c = Math.max(u[R].length, c);
7633
+ u[B] = _r(r[B], y[B], this._bitLength), u[R] = _r(r[R], y[R], this._bitLength), c = Math.max(u[B].length, c), c = Math.max(u[R].length, c);
7634
7634
  continue;
7635
7635
  }
7636
7636
  var k = [
@@ -7663,7 +7663,7 @@ wt.prototype._wnafMulAdd = function(e, t, r, a, n) {
7663
7663
  /* 1 0 */
7664
7664
  3
7665
7665
  /* 1 1 */
7666
- ], F = ms(r[B], r[R]);
7666
+ ], F = _s(r[B], r[R]);
7667
7667
  for (c = Math.max(F[0].length, c), u[B] = new Array(c), u[R] = new Array(c), v = 0; v < c; v++) {
7668
7668
  var P = F[0][v] | 0, O = F[1][v] | 0;
7669
7669
  u[B][v] = q[(P + 1) * 3 + (O + 1)], u[R][v] = 0, x[B] = k;
@@ -7704,7 +7704,7 @@ wt.prototype.decodePoint = function(e, t) {
7704
7704
  e = fr.toArray(e, t);
7705
7705
  var r = this.p.byteLength();
7706
7706
  if ((e[0] === 4 || e[0] === 6 || e[0] === 7) && e.length - 1 === 2 * r) {
7707
- e[0] === 6 ? _r(e[e.length - 1] % 2 === 0) : e[0] === 7 && _r(e[e.length - 1] % 2 === 1);
7707
+ e[0] === 6 ? Ar(e[e.length - 1] % 2 === 0) : e[0] === 7 && Ar(e[e.length - 1] % 2 === 1);
7708
7708
  var a = this.point(
7709
7709
  e.slice(1, 1 + r),
7710
7710
  e.slice(1 + r, 1 + 2 * r)
@@ -7771,8 +7771,8 @@ Z0.prototype.dblp = function(e) {
7771
7771
  t = t.dbl();
7772
7772
  return t;
7773
7773
  };
7774
- var Fi = { exports: {} };
7775
- typeof Object.create == "function" ? Fi.exports = function(e, t) {
7774
+ var Ri = { exports: {} };
7775
+ typeof Object.create == "function" ? Ri.exports = function(e, t) {
7776
7776
  t && (e.super_ = t, e.prototype = Object.create(t.prototype, {
7777
7777
  constructor: {
7778
7778
  value: e,
@@ -7781,7 +7781,7 @@ typeof Object.create == "function" ? Fi.exports = function(e, t) {
7781
7781
  configurable: !0
7782
7782
  }
7783
7783
  }));
7784
- } : Fi.exports = function(e, t) {
7784
+ } : Ri.exports = function(e, t) {
7785
7785
  if (t) {
7786
7786
  e.super_ = t;
7787
7787
  var r = function() {
@@ -7789,12 +7789,12 @@ typeof Object.create == "function" ? Fi.exports = function(e, t) {
7789
7789
  r.prototype = t.prototype, e.prototype = new r(), e.prototype.constructor = e;
7790
7790
  }
7791
7791
  };
7792
- var Mr = Fi.exports, _s = j0, g0 = pt, Vi = Mr, Ht = Cr, As = _s.assert;
7792
+ var Sr = Ri.exports, As = j0, g0 = pt, Xi = Sr, Ht = Mr, Es = As.assert;
7793
7793
  function G0(i) {
7794
7794
  Ht.call(this, "short", i), this.a = new g0(i.a, 16).toRed(this.red), this.b = new g0(i.b, 16).toRed(this.red), this.tinv = this.two.redInvm(), this.zeroA = this.a.fromRed().cmpn(0) === 0, this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0, this.endo = this._getEndomorphism(i), this._endoWnafT1 = new Array(4), this._endoWnafT2 = new Array(4);
7795
7795
  }
7796
- Vi(G0, Ht);
7797
- var Es = G0;
7796
+ Xi(G0, Ht);
7797
+ var ws = G0;
7798
7798
  G0.prototype._getEndomorphism = function(e) {
7799
7799
  if (!(!this.zeroA || !this.g || !this.n || this.p.modn(3) !== 1)) {
7800
7800
  var t, r;
@@ -7808,7 +7808,7 @@ G0.prototype._getEndomorphism = function(e) {
7808
7808
  r = new g0(e.lambda, 16);
7809
7809
  else {
7810
7810
  var n = this._getEndoRoots(this.n);
7811
- this.g.mul(n[0]).x.cmp(this.g.x.redMul(t)) === 0 ? r = n[0] : (r = n[1], As(this.g.mul(r).x.cmp(this.g.x.redMul(t)) === 0));
7811
+ this.g.mul(n[0]).x.cmp(this.g.x.redMul(t)) === 0 ? r = n[0] : (r = n[1], Es(this.g.mul(r).x.cmp(this.g.x.redMul(t)) === 0));
7812
7812
  }
7813
7813
  var y;
7814
7814
  return e.basis ? y = e.basis.map(function(x) {
@@ -7875,7 +7875,7 @@ G0.prototype._endoWnafMulAdd = function(e, t, r) {
7875
7875
  function S0(i, e, t, r) {
7876
7876
  Ht.BasePoint.call(this, i, "affine"), e === null && t === null ? (this.x = null, this.y = null, this.inf = !0) : (this.x = new g0(e, 16), this.y = new g0(t, 16), r && (this.x.forceRed(this.curve.red), this.y.forceRed(this.curve.red)), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.inf = !1);
7877
7877
  }
7878
- Vi(S0, Ht.BasePoint);
7878
+ Xi(S0, Ht.BasePoint);
7879
7879
  G0.prototype.point = function(e, t, r) {
7880
7880
  return new S0(this, e, t, r);
7881
7881
  };
@@ -8021,7 +8021,7 @@ S0.prototype.toJ = function() {
8021
8021
  function k0(i, e, t, r) {
8022
8022
  Ht.BasePoint.call(this, i, "jacobian"), e === null && t === null && r === null ? (this.x = this.curve.one, this.y = this.curve.one, this.z = new g0(0)) : (this.x = new g0(e, 16), this.y = new g0(t, 16), this.z = new g0(r, 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.zOne = this.z === this.curve.one;
8023
8023
  }
8024
- Vi(k0, Ht.BasePoint);
8024
+ Xi(k0, Ht.BasePoint);
8025
8025
  G0.prototype.jpoint = function(e, t, r) {
8026
8026
  return new k0(this, e, t, r);
8027
8027
  };
@@ -8173,22 +8173,22 @@ k0.prototype.inspect = function() {
8173
8173
  k0.prototype.isInfinity = function() {
8174
8174
  return this.z.cmpn(0) === 0;
8175
8175
  };
8176
- var zt = pt, Bf = Mr, Sr = Cr, ws = j0;
8176
+ var zt = pt, Cf = Sr, Dr = Mr, Bs = j0;
8177
8177
  function Ut(i) {
8178
- Sr.call(this, "mont", i), this.a = new zt(i.a, 16).toRed(this.red), this.b = new zt(i.b, 16).toRed(this.red), this.i4 = new zt(4).toRed(this.red).redInvm(), this.two = new zt(2).toRed(this.red), this.a24 = this.i4.redMul(this.a.redAdd(this.two));
8178
+ Dr.call(this, "mont", i), this.a = new zt(i.a, 16).toRed(this.red), this.b = new zt(i.b, 16).toRed(this.red), this.i4 = new zt(4).toRed(this.red).redInvm(), this.two = new zt(2).toRed(this.red), this.a24 = this.i4.redMul(this.a.redAdd(this.two));
8179
8179
  }
8180
- Bf(Ut, Sr);
8181
- var Bs = Ut;
8180
+ Cf(Ut, Dr);
8181
+ var Cs = Ut;
8182
8182
  Ut.prototype.validate = function(e) {
8183
8183
  var t = e.normalize().x, r = t.redSqr(), a = r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t), n = a.redSqrt();
8184
8184
  return n.redSqr().cmp(a) === 0;
8185
8185
  };
8186
8186
  function C0(i, e, t) {
8187
- Sr.BasePoint.call(this, i, "projective"), e === null && t === null ? (this.x = this.curve.one, this.z = this.curve.zero) : (this.x = new zt(e, 16), this.z = new zt(t, 16), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red)));
8187
+ Dr.BasePoint.call(this, i, "projective"), e === null && t === null ? (this.x = this.curve.one, this.z = this.curve.zero) : (this.x = new zt(e, 16), this.z = new zt(t, 16), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red)));
8188
8188
  }
8189
- Bf(C0, Sr.BasePoint);
8189
+ Cf(C0, Dr.BasePoint);
8190
8190
  Ut.prototype.decodePoint = function(e, t) {
8191
- return this.point(ws.toArray(e, t), 1);
8191
+ return this.point(Bs.toArray(e, t), 1);
8192
8192
  };
8193
8193
  Ut.prototype.point = function(e, t) {
8194
8194
  return new C0(this, e, t);
@@ -8243,12 +8243,12 @@ C0.prototype.normalize = function() {
8243
8243
  C0.prototype.getX = function() {
8244
8244
  return this.normalize(), this.x.fromRed();
8245
8245
  };
8246
- var Cs = j0, lt = pt, Cf = Mr, Dr = Cr, Ms = Cs.assert;
8246
+ var Ms = j0, lt = pt, Mf = Sr, Fr = Mr, Ss = Ms.assert;
8247
8247
  function ht(i) {
8248
- this.twisted = (i.a | 0) !== 1, this.mOneA = this.twisted && (i.a | 0) === -1, this.extended = this.mOneA, Dr.call(this, "edwards", i), this.a = new lt(i.a, 16).umod(this.red.m), this.a = this.a.toRed(this.red), this.c = new lt(i.c, 16).toRed(this.red), this.c2 = this.c.redSqr(), this.d = new lt(i.d, 16).toRed(this.red), this.dd = this.d.redAdd(this.d), Ms(!this.twisted || this.c.fromRed().cmpn(1) === 0), this.oneC = (i.c | 0) === 1;
8248
+ this.twisted = (i.a | 0) !== 1, this.mOneA = this.twisted && (i.a | 0) === -1, this.extended = this.mOneA, Fr.call(this, "edwards", i), this.a = new lt(i.a, 16).umod(this.red.m), this.a = this.a.toRed(this.red), this.c = new lt(i.c, 16).toRed(this.red), this.c2 = this.c.redSqr(), this.d = new lt(i.d, 16).toRed(this.red), this.dd = this.d.redAdd(this.d), Ss(!this.twisted || this.c.fromRed().cmpn(1) === 0), this.oneC = (i.c | 0) === 1;
8249
8249
  }
8250
- Cf(ht, Dr);
8251
- var Ss = ht;
8250
+ Mf(ht, Fr);
8251
+ var Ds = ht;
8252
8252
  ht.prototype._mulA = function(e) {
8253
8253
  return this.mOneA ? e.redNeg() : this.a.redMul(e);
8254
8254
  };
@@ -8287,9 +8287,9 @@ ht.prototype.validate = function(e) {
8287
8287
  return a.cmp(n) === 0;
8288
8288
  };
8289
8289
  function v0(i, e, t, r, a) {
8290
- Dr.BasePoint.call(this, i, "projective"), e === null && t === null && r === 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 lt(e, 16), this.y = new lt(t, 16), this.z = r ? new lt(r, 16) : this.curve.one, this.t = a && new lt(a, 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()))));
8290
+ Fr.BasePoint.call(this, i, "projective"), e === null && t === null && r === 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 lt(e, 16), this.y = new lt(t, 16), this.z = r ? new lt(r, 16) : this.curve.one, this.t = a && new lt(a, 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()))));
8291
8291
  }
8292
- Cf(v0, Dr.BasePoint);
8292
+ Mf(v0, Fr.BasePoint);
8293
8293
  ht.prototype.pointFromJSON = function(e) {
8294
8294
  return v0.fromJSON(this, e);
8295
8295
  };
@@ -8382,14 +8382,14 @@ v0.prototype.toP = v0.prototype.normalize;
8382
8382
  v0.prototype.mixedAdd = v0.prototype.add;
8383
8383
  (function(i) {
8384
8384
  var e = i;
8385
- e.base = Cr, e.short = Es, e.mont = Bs, e.edwards = Ss;
8386
- })(ji);
8387
- var Fr = {}, Rr = {}, $e = {}, Ds = It, Fs = Mr;
8388
- $e.inherits = Fs;
8389
- function Rs(i, e) {
8385
+ e.base = Mr, e.short = ws, e.mont = Cs, e.edwards = Ds;
8386
+ })(Vi);
8387
+ var Rr = {}, kr = {}, $e = {}, Fs = It, Rs = Sr;
8388
+ $e.inherits = Rs;
8389
+ function ks(i, e) {
8390
8390
  return (i.charCodeAt(e) & 64512) !== 55296 || e < 0 || e + 1 >= i.length ? !1 : (i.charCodeAt(e + 1) & 64512) === 56320;
8391
8391
  }
8392
- function ks(i, e) {
8392
+ function Ps(i, e) {
8393
8393
  if (Array.isArray(i))
8394
8394
  return i.slice();
8395
8395
  if (!i)
@@ -8403,160 +8403,160 @@ function ks(i, e) {
8403
8403
  } else
8404
8404
  for (var r = 0, a = 0; a < i.length; a++) {
8405
8405
  var n = i.charCodeAt(a);
8406
- n < 128 ? t[r++] = n : n < 2048 ? (t[r++] = n >> 6 | 192, t[r++] = n & 63 | 128) : Rs(i, a) ? (n = 65536 + ((n & 1023) << 10) + (i.charCodeAt(++a) & 1023), t[r++] = n >> 18 | 240, t[r++] = n >> 12 & 63 | 128, t[r++] = n >> 6 & 63 | 128, t[r++] = n & 63 | 128) : (t[r++] = n >> 12 | 224, t[r++] = n >> 6 & 63 | 128, t[r++] = n & 63 | 128);
8406
+ n < 128 ? t[r++] = n : n < 2048 ? (t[r++] = n >> 6 | 192, t[r++] = n & 63 | 128) : ks(i, a) ? (n = 65536 + ((n & 1023) << 10) + (i.charCodeAt(++a) & 1023), t[r++] = n >> 18 | 240, t[r++] = n >> 12 & 63 | 128, t[r++] = n >> 6 & 63 | 128, t[r++] = n & 63 | 128) : (t[r++] = n >> 12 | 224, t[r++] = n >> 6 & 63 | 128, t[r++] = n & 63 | 128);
8407
8407
  }
8408
8408
  else
8409
8409
  for (a = 0; a < i.length; a++)
8410
8410
  t[a] = i[a] | 0;
8411
8411
  return t;
8412
8412
  }
8413
- $e.toArray = ks;
8414
- function Ps(i) {
8413
+ $e.toArray = Ps;
8414
+ function Is(i) {
8415
8415
  for (var e = "", t = 0; t < i.length; t++)
8416
- e += Sf(i[t].toString(16));
8416
+ e += Df(i[t].toString(16));
8417
8417
  return e;
8418
8418
  }
8419
- $e.toHex = Ps;
8420
- function Mf(i) {
8419
+ $e.toHex = Is;
8420
+ function Sf(i) {
8421
8421
  var e = i >>> 24 | i >>> 8 & 65280 | i << 8 & 16711680 | (i & 255) << 24;
8422
8422
  return e >>> 0;
8423
8423
  }
8424
- $e.htonl = Mf;
8425
- function Is(i, e) {
8424
+ $e.htonl = Sf;
8425
+ function Ts(i, e) {
8426
8426
  for (var t = "", r = 0; r < i.length; r++) {
8427
8427
  var a = i[r];
8428
- e === "little" && (a = Mf(a)), t += Df(a.toString(16));
8428
+ e === "little" && (a = Sf(a)), t += Ff(a.toString(16));
8429
8429
  }
8430
8430
  return t;
8431
8431
  }
8432
- $e.toHex32 = Is;
8433
- function Sf(i) {
8432
+ $e.toHex32 = Ts;
8433
+ function Df(i) {
8434
8434
  return i.length === 1 ? "0" + i : i;
8435
8435
  }
8436
- $e.zero2 = Sf;
8437
- function Df(i) {
8436
+ $e.zero2 = Df;
8437
+ function Ff(i) {
8438
8438
  return i.length === 7 ? "0" + i : i.length === 6 ? "00" + i : i.length === 5 ? "000" + i : i.length === 4 ? "0000" + i : i.length === 3 ? "00000" + i : i.length === 2 ? "000000" + i : i.length === 1 ? "0000000" + i : i;
8439
8439
  }
8440
- $e.zero8 = Df;
8441
- function Ts(i, e, t, r) {
8440
+ $e.zero8 = Ff;
8441
+ function Os(i, e, t, r) {
8442
8442
  var a = t - e;
8443
- Ds(a % 4 === 0);
8443
+ Fs(a % 4 === 0);
8444
8444
  for (var n = new Array(a / 4), y = 0, x = e; y < n.length; y++, x += 4) {
8445
8445
  var u;
8446
8446
  r === "big" ? u = i[x] << 24 | i[x + 1] << 16 | i[x + 2] << 8 | i[x + 3] : u = i[x + 3] << 24 | i[x + 2] << 16 | i[x + 1] << 8 | i[x], n[y] = u >>> 0;
8447
8447
  }
8448
8448
  return n;
8449
8449
  }
8450
- $e.join32 = Ts;
8451
- function Os(i, e) {
8450
+ $e.join32 = Os;
8451
+ function zs(i, e) {
8452
8452
  for (var t = new Array(i.length * 4), r = 0, a = 0; r < i.length; r++, a += 4) {
8453
8453
  var n = i[r];
8454
8454
  e === "big" ? (t[a] = n >>> 24, t[a + 1] = n >>> 16 & 255, t[a + 2] = n >>> 8 & 255, t[a + 3] = n & 255) : (t[a + 3] = n >>> 24, t[a + 2] = n >>> 16 & 255, t[a + 1] = n >>> 8 & 255, t[a] = n & 255);
8455
8455
  }
8456
8456
  return t;
8457
8457
  }
8458
- $e.split32 = Os;
8459
- function zs(i, e) {
8458
+ $e.split32 = zs;
8459
+ function Ns(i, e) {
8460
8460
  return i >>> e | i << 32 - e;
8461
8461
  }
8462
- $e.rotr32 = zs;
8463
- function Ns(i, e) {
8462
+ $e.rotr32 = Ns;
8463
+ function qs(i, e) {
8464
8464
  return i << e | i >>> 32 - e;
8465
8465
  }
8466
- $e.rotl32 = Ns;
8467
- function qs(i, e) {
8466
+ $e.rotl32 = qs;
8467
+ function Ls(i, e) {
8468
8468
  return i + e >>> 0;
8469
8469
  }
8470
- $e.sum32 = qs;
8471
- function Ls(i, e, t) {
8470
+ $e.sum32 = Ls;
8471
+ function $s(i, e, t) {
8472
8472
  return i + e + t >>> 0;
8473
8473
  }
8474
- $e.sum32_3 = Ls;
8475
- function $s(i, e, t, r) {
8474
+ $e.sum32_3 = $s;
8475
+ function Hs(i, e, t, r) {
8476
8476
  return i + e + t + r >>> 0;
8477
8477
  }
8478
- $e.sum32_4 = $s;
8479
- function Hs(i, e, t, r, a) {
8478
+ $e.sum32_4 = Hs;
8479
+ function Us(i, e, t, r, a) {
8480
8480
  return i + e + t + r + a >>> 0;
8481
8481
  }
8482
- $e.sum32_5 = Hs;
8483
- function Us(i, e, t, r) {
8482
+ $e.sum32_5 = Us;
8483
+ function Ws(i, e, t, r) {
8484
8484
  var a = i[e], n = i[e + 1], y = r + n >>> 0, x = (y < r ? 1 : 0) + t + a;
8485
8485
  i[e] = x >>> 0, i[e + 1] = y;
8486
8486
  }
8487
- $e.sum64 = Us;
8487
+ $e.sum64 = Ws;
8488
8488
  function Ys(i, e, t, r) {
8489
8489
  var a = e + r >>> 0, n = (a < e ? 1 : 0) + i + t;
8490
8490
  return n >>> 0;
8491
8491
  }
8492
8492
  $e.sum64_hi = Ys;
8493
- function Ws(i, e, t, r) {
8493
+ function Ks(i, e, t, r) {
8494
8494
  var a = e + r;
8495
8495
  return a >>> 0;
8496
8496
  }
8497
- $e.sum64_lo = Ws;
8498
- function Ks(i, e, t, r, a, n, y, x) {
8497
+ $e.sum64_lo = Ks;
8498
+ function js(i, e, t, r, a, n, y, x) {
8499
8499
  var u = 0, c = e;
8500
8500
  c = c + r >>> 0, u += c < e ? 1 : 0, c = c + n >>> 0, u += c < n ? 1 : 0, c = c + x >>> 0, u += c < x ? 1 : 0;
8501
8501
  var d = i + t + a + y + u;
8502
8502
  return d >>> 0;
8503
8503
  }
8504
- $e.sum64_4_hi = Ks;
8505
- function js(i, e, t, r, a, n, y, x) {
8504
+ $e.sum64_4_hi = js;
8505
+ function Vs(i, e, t, r, a, n, y, x) {
8506
8506
  var u = e + r + n + x;
8507
8507
  return u >>> 0;
8508
8508
  }
8509
- $e.sum64_4_lo = js;
8510
- function Vs(i, e, t, r, a, n, y, x, u, c) {
8509
+ $e.sum64_4_lo = Vs;
8510
+ function Xs(i, e, t, r, a, n, y, x, u, c) {
8511
8511
  var d = 0, v = e;
8512
8512
  v = v + r >>> 0, d += v < e ? 1 : 0, v = v + n >>> 0, d += v < n ? 1 : 0, v = v + x >>> 0, d += v < x ? 1 : 0, v = v + c >>> 0, d += v < c ? 1 : 0;
8513
8513
  var b = i + t + a + y + u + d;
8514
8514
  return b >>> 0;
8515
8515
  }
8516
- $e.sum64_5_hi = Vs;
8517
- function Xs(i, e, t, r, a, n, y, x, u, c) {
8516
+ $e.sum64_5_hi = Xs;
8517
+ function Zs(i, e, t, r, a, n, y, x, u, c) {
8518
8518
  var d = e + r + n + x + c;
8519
8519
  return d >>> 0;
8520
8520
  }
8521
- $e.sum64_5_lo = Xs;
8522
- function Zs(i, e, t) {
8521
+ $e.sum64_5_lo = Zs;
8522
+ function Gs(i, e, t) {
8523
8523
  var r = e << 32 - t | i >>> t;
8524
8524
  return r >>> 0;
8525
8525
  }
8526
- $e.rotr64_hi = Zs;
8527
- function Gs(i, e, t) {
8526
+ $e.rotr64_hi = Gs;
8527
+ function Qs(i, e, t) {
8528
8528
  var r = i << 32 - t | e >>> t;
8529
8529
  return r >>> 0;
8530
8530
  }
8531
- $e.rotr64_lo = Gs;
8532
- function Qs(i, e, t) {
8531
+ $e.rotr64_lo = Qs;
8532
+ function Js(i, e, t) {
8533
8533
  return i >>> t;
8534
8534
  }
8535
- $e.shr64_hi = Qs;
8536
- function Js(i, e, t) {
8535
+ $e.shr64_hi = Js;
8536
+ function eo(i, e, t) {
8537
8537
  var r = i << 32 - t | e >>> t;
8538
8538
  return r >>> 0;
8539
8539
  }
8540
- $e.shr64_lo = Js;
8541
- var Yt = {}, jn = $e, eo = It;
8542
- function kr() {
8540
+ $e.shr64_lo = eo;
8541
+ var Wt = {}, Vn = $e, to = It;
8542
+ function Pr() {
8543
8543
  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;
8544
8544
  }
8545
- Yt.BlockHash = kr;
8546
- kr.prototype.update = function(e, t) {
8547
- if (e = jn.toArray(e, t), this.pending ? this.pending = this.pending.concat(e) : this.pending = e, this.pendingTotal += e.length, this.pending.length >= this._delta8) {
8545
+ Wt.BlockHash = Pr;
8546
+ Pr.prototype.update = function(e, t) {
8547
+ if (e = Vn.toArray(e, t), this.pending ? this.pending = this.pending.concat(e) : this.pending = e, this.pendingTotal += e.length, this.pending.length >= this._delta8) {
8548
8548
  e = this.pending;
8549
8549
  var r = e.length % this._delta8;
8550
- this.pending = e.slice(e.length - r, e.length), this.pending.length === 0 && (this.pending = null), e = jn.join32(e, 0, e.length - r, this.endian);
8550
+ this.pending = e.slice(e.length - r, e.length), this.pending.length === 0 && (this.pending = null), e = Vn.join32(e, 0, e.length - r, this.endian);
8551
8551
  for (var a = 0; a < e.length; a += this._delta32)
8552
8552
  this._update(e, a, a + this._delta32);
8553
8553
  }
8554
8554
  return this;
8555
8555
  };
8556
- kr.prototype.digest = function(e) {
8557
- return this.update(this._pad()), eo(this.pending === null), this._digest(e);
8556
+ Pr.prototype.digest = function(e) {
8557
+ return this.update(this._pad()), to(this.pending === null), this._digest(e);
8558
8558
  };
8559
- kr.prototype._pad = function() {
8559
+ Pr.prototype._pad = function() {
8560
8560
  var e = this.pendingTotal, t = this._delta8, r = t - (e + this.padLength) % t, a = new Array(r + this.padLength);
8561
8561
  a[0] = 128;
8562
8562
  for (var n = 1; n < r; n++)
@@ -8570,45 +8570,45 @@ kr.prototype._pad = function() {
8570
8570
  a[n++] = 0;
8571
8571
  return a;
8572
8572
  };
8573
- var Wt = {}, ut = {}, to = $e, it = to.rotr32;
8574
- function ro(i, e, t, r) {
8573
+ var Yt = {}, ut = {}, ro = $e, it = ro.rotr32;
8574
+ function io(i, e, t, r) {
8575
8575
  if (i === 0)
8576
- return Ff(e, t, r);
8576
+ return Rf(e, t, r);
8577
8577
  if (i === 1 || i === 3)
8578
- return kf(e, t, r);
8578
+ return Pf(e, t, r);
8579
8579
  if (i === 2)
8580
- return Rf(e, t, r);
8580
+ return kf(e, t, r);
8581
8581
  }
8582
- ut.ft_1 = ro;
8583
- function Ff(i, e, t) {
8582
+ ut.ft_1 = io;
8583
+ function Rf(i, e, t) {
8584
8584
  return i & e ^ ~i & t;
8585
8585
  }
8586
- ut.ch32 = Ff;
8587
- function Rf(i, e, t) {
8586
+ ut.ch32 = Rf;
8587
+ function kf(i, e, t) {
8588
8588
  return i & e ^ i & t ^ e & t;
8589
8589
  }
8590
- ut.maj32 = Rf;
8591
- function kf(i, e, t) {
8590
+ ut.maj32 = kf;
8591
+ function Pf(i, e, t) {
8592
8592
  return i ^ e ^ t;
8593
8593
  }
8594
- ut.p32 = kf;
8595
- function io(i) {
8594
+ ut.p32 = Pf;
8595
+ function no(i) {
8596
8596
  return it(i, 2) ^ it(i, 13) ^ it(i, 22);
8597
8597
  }
8598
- ut.s0_256 = io;
8599
- function no(i) {
8598
+ ut.s0_256 = no;
8599
+ function fo(i) {
8600
8600
  return it(i, 6) ^ it(i, 11) ^ it(i, 25);
8601
8601
  }
8602
- ut.s1_256 = no;
8603
- function fo(i) {
8602
+ ut.s1_256 = fo;
8603
+ function ao(i) {
8604
8604
  return it(i, 7) ^ it(i, 18) ^ i >>> 3;
8605
8605
  }
8606
- ut.g0_256 = fo;
8607
- function ao(i) {
8606
+ ut.g0_256 = ao;
8607
+ function so(i) {
8608
8608
  return it(i, 17) ^ it(i, 19) ^ i >>> 10;
8609
8609
  }
8610
- ut.g1_256 = ao;
8611
- var Nt = $e, so = Yt, oo = ut, mi = Nt.rotl32, Gt = Nt.sum32, co = Nt.sum32_5, ho = oo.ft_1, Pf = so.BlockHash, uo = [
8610
+ ut.g1_256 = so;
8611
+ var Nt = $e, oo = Wt, co = ut, _i = Nt.rotl32, Gt = Nt.sum32, ho = Nt.sum32_5, uo = co.ft_1, If = oo.BlockHash, lo = [
8612
8612
  1518500249,
8613
8613
  1859775393,
8614
8614
  2400959708,
@@ -8617,7 +8617,7 @@ var Nt = $e, so = Yt, oo = ut, mi = Nt.rotl32, Gt = Nt.sum32, co = Nt.sum32_5, h
8617
8617
  function st() {
8618
8618
  if (!(this instanceof st))
8619
8619
  return new st();
8620
- Pf.call(this), this.h = [
8620
+ If.call(this), this.h = [
8621
8621
  1732584193,
8622
8622
  4023233417,
8623
8623
  2562383102,
@@ -8625,8 +8625,8 @@ function st() {
8625
8625
  3285377520
8626
8626
  ], this.W = new Array(80);
8627
8627
  }
8628
- Nt.inherits(st, Pf);
8629
- var lo = st;
8628
+ Nt.inherits(st, If);
8629
+ var xo = st;
8630
8630
  st.blockSize = 512;
8631
8631
  st.outSize = 160;
8632
8632
  st.hmacStrength = 80;
@@ -8635,18 +8635,18 @@ st.prototype._update = function(e, t) {
8635
8635
  for (var r = this.W, a = 0; a < 16; a++)
8636
8636
  r[a] = e[t + a];
8637
8637
  for (; a < r.length; a++)
8638
- r[a] = mi(r[a - 3] ^ r[a - 8] ^ r[a - 14] ^ r[a - 16], 1);
8638
+ r[a] = _i(r[a - 3] ^ r[a - 8] ^ r[a - 14] ^ r[a - 16], 1);
8639
8639
  var n = this.h[0], y = this.h[1], x = this.h[2], u = this.h[3], c = this.h[4];
8640
8640
  for (a = 0; a < r.length; a++) {
8641
- var d = ~~(a / 20), v = co(mi(n, 5), ho(d, y, x, u), c, r[a], uo[d]);
8642
- c = u, u = x, x = mi(y, 30), y = n, n = v;
8641
+ var d = ~~(a / 20), v = ho(_i(n, 5), uo(d, y, x, u), c, r[a], lo[d]);
8642
+ c = u, u = x, x = _i(y, 30), y = n, n = v;
8643
8643
  }
8644
8644
  this.h[0] = Gt(this.h[0], n), this.h[1] = Gt(this.h[1], y), this.h[2] = Gt(this.h[2], x), this.h[3] = Gt(this.h[3], u), this.h[4] = Gt(this.h[4], c);
8645
8645
  };
8646
8646
  st.prototype._digest = function(e) {
8647
8647
  return e === "hex" ? Nt.toHex32(this.h, "big") : Nt.split32(this.h, "big");
8648
8648
  };
8649
- var qt = $e, xo = Yt, Kt = ut, vo = It, J0 = qt.sum32, bo = qt.sum32_4, po = qt.sum32_5, yo = Kt.ch32, go = Kt.maj32, mo = Kt.s0_256, _o = Kt.s1_256, Ao = Kt.g0_256, Eo = Kt.g1_256, If = xo.BlockHash, wo = [
8649
+ var qt = $e, vo = Wt, Kt = ut, bo = It, J0 = qt.sum32, po = qt.sum32_4, yo = qt.sum32_5, go = Kt.ch32, mo = Kt.maj32, _o = Kt.s0_256, Ao = Kt.s1_256, Eo = Kt.g0_256, wo = Kt.g1_256, Tf = vo.BlockHash, Bo = [
8650
8650
  1116352408,
8651
8651
  1899447441,
8652
8652
  3049323471,
@@ -8715,7 +8715,7 @@ var qt = $e, xo = Yt, Kt = ut, vo = It, J0 = qt.sum32, bo = qt.sum32_4, po = qt.
8715
8715
  function ot() {
8716
8716
  if (!(this instanceof ot))
8717
8717
  return new ot();
8718
- If.call(this), this.h = [
8718
+ Tf.call(this), this.h = [
8719
8719
  1779033703,
8720
8720
  3144134277,
8721
8721
  1013904242,
@@ -8724,10 +8724,10 @@ function ot() {
8724
8724
  2600822924,
8725
8725
  528734635,
8726
8726
  1541459225
8727
- ], this.k = wo, this.W = new Array(64);
8727
+ ], this.k = Bo, this.W = new Array(64);
8728
8728
  }
8729
- qt.inherits(ot, If);
8730
- var Tf = ot;
8729
+ qt.inherits(ot, Tf);
8730
+ var Of = ot;
8731
8731
  ot.blockSize = 512;
8732
8732
  ot.outSize = 256;
8733
8733
  ot.hmacStrength = 192;
@@ -8736,10 +8736,10 @@ ot.prototype._update = function(e, t) {
8736
8736
  for (var r = this.W, a = 0; a < 16; a++)
8737
8737
  r[a] = e[t + a];
8738
8738
  for (; a < r.length; a++)
8739
- r[a] = bo(Eo(r[a - 2]), r[a - 7], Ao(r[a - 15]), r[a - 16]);
8739
+ r[a] = po(wo(r[a - 2]), r[a - 7], Eo(r[a - 15]), r[a - 16]);
8740
8740
  var n = this.h[0], y = this.h[1], x = this.h[2], u = this.h[3], c = this.h[4], d = this.h[5], v = this.h[6], b = this.h[7];
8741
- for (vo(this.k.length === r.length), a = 0; a < r.length; a++) {
8742
- var M = po(b, _o(c), yo(c, d, v), this.k[a], r[a]), B = J0(mo(n), go(n, y, x));
8741
+ for (bo(this.k.length === r.length), a = 0; a < r.length; a++) {
8742
+ var M = yo(b, Ao(c), go(c, d, v), this.k[a], r[a]), B = J0(_o(n), mo(n, y, x));
8743
8743
  b = v, v = d, d = c, c = J0(u, M), u = x, x = y, y = n, n = J0(M, B);
8744
8744
  }
8745
8745
  this.h[0] = J0(this.h[0], n), this.h[1] = J0(this.h[1], y), this.h[2] = J0(this.h[2], x), this.h[3] = J0(this.h[3], u), this.h[4] = J0(this.h[4], c), this.h[5] = J0(this.h[5], d), this.h[6] = J0(this.h[6], v), this.h[7] = J0(this.h[7], b);
@@ -8747,11 +8747,11 @@ ot.prototype._update = function(e, t) {
8747
8747
  ot.prototype._digest = function(e) {
8748
8748
  return e === "hex" ? qt.toHex32(this.h, "big") : qt.split32(this.h, "big");
8749
8749
  };
8750
- var Ri = $e, Of = Tf;
8750
+ var ki = $e, zf = Of;
8751
8751
  function vt() {
8752
8752
  if (!(this instanceof vt))
8753
8753
  return new vt();
8754
- Of.call(this), this.h = [
8754
+ zf.call(this), this.h = [
8755
8755
  3238371032,
8756
8756
  914150663,
8757
8757
  812702999,
@@ -8762,16 +8762,16 @@ function vt() {
8762
8762
  3204075428
8763
8763
  ];
8764
8764
  }
8765
- Ri.inherits(vt, Of);
8766
- var Bo = vt;
8765
+ ki.inherits(vt, zf);
8766
+ var Co = vt;
8767
8767
  vt.blockSize = 512;
8768
8768
  vt.outSize = 224;
8769
8769
  vt.hmacStrength = 192;
8770
8770
  vt.padLength = 64;
8771
8771
  vt.prototype._digest = function(e) {
8772
- return e === "hex" ? Ri.toHex32(this.h.slice(0, 7), "big") : Ri.split32(this.h.slice(0, 7), "big");
8772
+ return e === "hex" ? ki.toHex32(this.h.slice(0, 7), "big") : ki.split32(this.h.slice(0, 7), "big");
8773
8773
  };
8774
- var H0 = $e, Co = Yt, Mo = It, nt = H0.rotr64_hi, ft = H0.rotr64_lo, zf = H0.shr64_hi, Nf = H0.shr64_lo, gt = H0.sum64, _i = H0.sum64_hi, Ai = H0.sum64_lo, So = H0.sum64_4_hi, Do = H0.sum64_4_lo, Fo = H0.sum64_5_hi, Ro = H0.sum64_5_lo, qf = Co.BlockHash, ko = [
8774
+ var H0 = $e, Mo = Wt, So = It, nt = H0.rotr64_hi, ft = H0.rotr64_lo, Nf = H0.shr64_hi, qf = H0.shr64_lo, gt = H0.sum64, Ai = H0.sum64_hi, Ei = H0.sum64_lo, Do = H0.sum64_4_hi, Fo = H0.sum64_4_lo, Ro = H0.sum64_5_hi, ko = H0.sum64_5_lo, Lf = Mo.BlockHash, Po = [
8775
8775
  1116352408,
8776
8776
  3609767458,
8777
8777
  1899447441,
@@ -8936,7 +8936,7 @@ var H0 = $e, Co = Yt, Mo = It, nt = H0.rotr64_hi, ft = H0.rotr64_lo, zf = H0.shr
8936
8936
  function tt() {
8937
8937
  if (!(this instanceof tt))
8938
8938
  return new tt();
8939
- qf.call(this), this.h = [
8939
+ Lf.call(this), this.h = [
8940
8940
  1779033703,
8941
8941
  4089235720,
8942
8942
  3144134277,
@@ -8953,10 +8953,10 @@ function tt() {
8953
8953
  4215389547,
8954
8954
  1541459225,
8955
8955
  327033209
8956
- ], this.k = ko, this.W = new Array(160);
8956
+ ], this.k = Po, this.W = new Array(160);
8957
8957
  }
8958
- H0.inherits(tt, qf);
8959
- var Lf = tt;
8958
+ H0.inherits(tt, Lf);
8959
+ var $f = tt;
8960
8960
  tt.blockSize = 1024;
8961
8961
  tt.outSize = 512;
8962
8962
  tt.hmacStrength = 192;
@@ -8965,8 +8965,8 @@ tt.prototype._prepareBlock = function(e, t) {
8965
8965
  for (var r = this.W, a = 0; a < 32; a++)
8966
8966
  r[a] = e[t + a];
8967
8967
  for (; a < r.length; a += 2) {
8968
- var n = Uo(r[a - 4], r[a - 3]), y = Yo(r[a - 4], r[a - 3]), x = r[a - 14], u = r[a - 13], c = $o(r[a - 30], r[a - 29]), d = Ho(r[a - 30], r[a - 29]), v = r[a - 32], b = r[a - 31];
8969
- r[a] = So(
8968
+ var n = Wo(r[a - 4], r[a - 3]), y = Yo(r[a - 4], r[a - 3]), x = r[a - 14], u = r[a - 13], c = Ho(r[a - 30], r[a - 29]), d = Uo(r[a - 30], r[a - 29]), v = r[a - 32], b = r[a - 31];
8969
+ r[a] = Do(
8970
8970
  n,
8971
8971
  y,
8972
8972
  x,
@@ -8975,7 +8975,7 @@ tt.prototype._prepareBlock = function(e, t) {
8975
8975
  d,
8976
8976
  v,
8977
8977
  b
8978
- ), r[a + 1] = Do(
8978
+ ), r[a + 1] = Fo(
8979
8979
  n,
8980
8980
  y,
8981
8981
  x,
@@ -8990,9 +8990,9 @@ tt.prototype._prepareBlock = function(e, t) {
8990
8990
  tt.prototype._update = function(e, t) {
8991
8991
  this._prepareBlock(e, t);
8992
8992
  var r = this.W, a = this.h[0], n = this.h[1], y = this.h[2], x = this.h[3], u = this.h[4], c = this.h[5], d = this.h[6], v = this.h[7], b = this.h[8], M = this.h[9], B = this.h[10], R = this.h[11], k = this.h[12], q = this.h[13], F = this.h[14], P = this.h[15];
8993
- Mo(this.k.length === r.length);
8993
+ So(this.k.length === r.length);
8994
8994
  for (var O = 0; O < r.length; O += 2) {
8995
- var H = F, U = P, j = qo(b, M), X = Lo(b, M), Q = Po(b, M, B, R, k), $ = Io(b, M, B, R, k, q), _ = this.k[O], f = this.k[O + 1], h = r[O], p = r[O + 1], g = Fo(
8995
+ var H = F, U = P, j = Lo(b, M), X = $o(b, M), Q = Io(b, M, B, R, k), $ = To(b, M, B, R, k, q), _ = this.k[O], f = this.k[O + 1], h = r[O], p = r[O + 1], g = Ro(
8996
8996
  H,
8997
8997
  U,
8998
8998
  j,
@@ -9003,7 +9003,7 @@ tt.prototype._update = function(e, t) {
9003
9003
  f,
9004
9004
  h,
9005
9005
  p
9006
- ), E = Ro(
9006
+ ), E = ko(
9007
9007
  H,
9008
9008
  U,
9009
9009
  j,
@@ -9015,68 +9015,68 @@ tt.prototype._update = function(e, t) {
9015
9015
  h,
9016
9016
  p
9017
9017
  );
9018
- H = zo(a, n), U = No(a, n), j = To(a, n, y, x, u), X = Oo(a, n, y, x, u, c);
9019
- var I = _i(H, U, j, X), T = Ai(H, U, j, X);
9020
- F = k, P = q, k = B, q = R, B = b, R = M, b = _i(d, v, g, E), M = Ai(v, v, g, E), d = u, v = c, u = y, c = x, y = a, x = n, a = _i(g, E, I, T), n = Ai(g, E, I, T);
9018
+ H = No(a, n), U = qo(a, n), j = Oo(a, n, y, x, u), X = zo(a, n, y, x, u, c);
9019
+ var I = Ai(H, U, j, X), T = Ei(H, U, j, X);
9020
+ F = k, P = q, k = B, q = R, B = b, R = M, b = Ai(d, v, g, E), M = Ei(v, v, g, E), d = u, v = c, u = y, c = x, y = a, x = n, a = Ai(g, E, I, T), n = Ei(g, E, I, T);
9021
9021
  }
9022
9022
  gt(this.h, 0, a, n), gt(this.h, 2, y, x), gt(this.h, 4, u, c), gt(this.h, 6, d, v), gt(this.h, 8, b, M), gt(this.h, 10, B, R), gt(this.h, 12, k, q), gt(this.h, 14, F, P);
9023
9023
  };
9024
9024
  tt.prototype._digest = function(e) {
9025
9025
  return e === "hex" ? H0.toHex32(this.h, "big") : H0.split32(this.h, "big");
9026
9026
  };
9027
- function Po(i, e, t, r, a) {
9027
+ function Io(i, e, t, r, a) {
9028
9028
  var n = i & t ^ ~i & a;
9029
9029
  return n < 0 && (n += 4294967296), n;
9030
9030
  }
9031
- function Io(i, e, t, r, a, n) {
9031
+ function To(i, e, t, r, a, n) {
9032
9032
  var y = e & r ^ ~e & n;
9033
9033
  return y < 0 && (y += 4294967296), y;
9034
9034
  }
9035
- function To(i, e, t, r, a) {
9035
+ function Oo(i, e, t, r, a) {
9036
9036
  var n = i & t ^ i & a ^ t & a;
9037
9037
  return n < 0 && (n += 4294967296), n;
9038
9038
  }
9039
- function Oo(i, e, t, r, a, n) {
9039
+ function zo(i, e, t, r, a, n) {
9040
9040
  var y = e & r ^ e & n ^ r & n;
9041
9041
  return y < 0 && (y += 4294967296), y;
9042
9042
  }
9043
- function zo(i, e) {
9044
- var t = nt(i, e, 28), r = nt(e, i, 2), a = nt(e, i, 7), n = t ^ r ^ a;
9045
- return n < 0 && (n += 4294967296), n;
9046
- }
9047
9043
  function No(i, e) {
9048
- var t = ft(i, e, 28), r = ft(e, i, 2), a = ft(e, i, 7), n = t ^ r ^ a;
9044
+ var t = nt(i, e, 28), r = nt(e, i, 2), a = nt(e, i, 7), n = t ^ r ^ a;
9049
9045
  return n < 0 && (n += 4294967296), n;
9050
9046
  }
9051
9047
  function qo(i, e) {
9052
- var t = nt(i, e, 14), r = nt(i, e, 18), a = nt(e, i, 9), n = t ^ r ^ a;
9048
+ var t = ft(i, e, 28), r = ft(e, i, 2), a = ft(e, i, 7), n = t ^ r ^ a;
9053
9049
  return n < 0 && (n += 4294967296), n;
9054
9050
  }
9055
9051
  function Lo(i, e) {
9056
- var t = ft(i, e, 14), r = ft(i, e, 18), a = ft(e, i, 9), n = t ^ r ^ a;
9052
+ var t = nt(i, e, 14), r = nt(i, e, 18), a = nt(e, i, 9), n = t ^ r ^ a;
9057
9053
  return n < 0 && (n += 4294967296), n;
9058
9054
  }
9059
9055
  function $o(i, e) {
9060
- var t = nt(i, e, 1), r = nt(i, e, 8), a = zf(i, e, 7), n = t ^ r ^ a;
9056
+ var t = ft(i, e, 14), r = ft(i, e, 18), a = ft(e, i, 9), n = t ^ r ^ a;
9061
9057
  return n < 0 && (n += 4294967296), n;
9062
9058
  }
9063
9059
  function Ho(i, e) {
9064
- var t = ft(i, e, 1), r = ft(i, e, 8), a = Nf(i, e, 7), n = t ^ r ^ a;
9060
+ var t = nt(i, e, 1), r = nt(i, e, 8), a = Nf(i, e, 7), n = t ^ r ^ a;
9065
9061
  return n < 0 && (n += 4294967296), n;
9066
9062
  }
9067
9063
  function Uo(i, e) {
9068
- var t = nt(i, e, 19), r = nt(e, i, 29), a = zf(i, e, 6), n = t ^ r ^ a;
9064
+ var t = ft(i, e, 1), r = ft(i, e, 8), a = qf(i, e, 7), n = t ^ r ^ a;
9065
+ return n < 0 && (n += 4294967296), n;
9066
+ }
9067
+ function Wo(i, e) {
9068
+ var t = nt(i, e, 19), r = nt(e, i, 29), a = Nf(i, e, 6), n = t ^ r ^ a;
9069
9069
  return n < 0 && (n += 4294967296), n;
9070
9070
  }
9071
9071
  function Yo(i, e) {
9072
- var t = ft(i, e, 19), r = ft(e, i, 29), a = Nf(i, e, 6), n = t ^ r ^ a;
9072
+ var t = ft(i, e, 19), r = ft(e, i, 29), a = qf(i, e, 6), n = t ^ r ^ a;
9073
9073
  return n < 0 && (n += 4294967296), n;
9074
9074
  }
9075
- var ki = $e, $f = Lf;
9075
+ var Pi = $e, Hf = $f;
9076
9076
  function bt() {
9077
9077
  if (!(this instanceof bt))
9078
9078
  return new bt();
9079
- $f.call(this), this.h = [
9079
+ Hf.call(this), this.h = [
9080
9080
  3418070365,
9081
9081
  3238371032,
9082
9082
  1654270250,
@@ -9095,45 +9095,45 @@ function bt() {
9095
9095
  3204075428
9096
9096
  ];
9097
9097
  }
9098
- ki.inherits(bt, $f);
9099
- var Wo = bt;
9098
+ Pi.inherits(bt, Hf);
9099
+ var Ko = bt;
9100
9100
  bt.blockSize = 1024;
9101
9101
  bt.outSize = 384;
9102
9102
  bt.hmacStrength = 192;
9103
9103
  bt.padLength = 128;
9104
9104
  bt.prototype._digest = function(e) {
9105
- return e === "hex" ? ki.toHex32(this.h.slice(0, 12), "big") : ki.split32(this.h.slice(0, 12), "big");
9106
- };
9107
- Wt.sha1 = lo;
9108
- Wt.sha224 = Bo;
9109
- Wt.sha256 = Tf;
9110
- Wt.sha384 = Wo;
9111
- Wt.sha512 = Lf;
9112
- var Hf = {}, Rt = $e, Ko = Yt, or = Rt.rotl32, Vn = Rt.sum32, Qt = Rt.sum32_3, Xn = Rt.sum32_4, Uf = Ko.BlockHash;
9105
+ return e === "hex" ? Pi.toHex32(this.h.slice(0, 12), "big") : Pi.split32(this.h.slice(0, 12), "big");
9106
+ };
9107
+ Yt.sha1 = xo;
9108
+ Yt.sha224 = Co;
9109
+ Yt.sha256 = Of;
9110
+ Yt.sha384 = Ko;
9111
+ Yt.sha512 = $f;
9112
+ var Uf = {}, Rt = $e, jo = Wt, or = Rt.rotl32, Xn = Rt.sum32, Qt = Rt.sum32_3, Zn = Rt.sum32_4, Wf = jo.BlockHash;
9113
9113
  function ct() {
9114
9114
  if (!(this instanceof ct))
9115
9115
  return new ct();
9116
- Uf.call(this), this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.endian = "little";
9116
+ Wf.call(this), this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.endian = "little";
9117
9117
  }
9118
- Rt.inherits(ct, Uf);
9119
- Hf.ripemd160 = ct;
9118
+ Rt.inherits(ct, Wf);
9119
+ Uf.ripemd160 = ct;
9120
9120
  ct.blockSize = 512;
9121
9121
  ct.outSize = 160;
9122
9122
  ct.hmacStrength = 192;
9123
9123
  ct.padLength = 64;
9124
9124
  ct.prototype._update = function(e, t) {
9125
9125
  for (var r = this.h[0], a = this.h[1], n = this.h[2], y = this.h[3], x = this.h[4], u = r, c = a, d = n, v = y, b = x, M = 0; M < 80; M++) {
9126
- var B = Vn(
9126
+ var B = Xn(
9127
9127
  or(
9128
- Xn(r, Zn(M, a, n, y), e[Xo[M] + t], jo(M)),
9129
- Go[M]
9128
+ Zn(r, Gn(M, a, n, y), e[Zo[M] + t], Vo(M)),
9129
+ Qo[M]
9130
9130
  ),
9131
9131
  x
9132
9132
  );
9133
- r = x, x = y, y = or(n, 10), n = a, a = B, B = Vn(
9133
+ r = x, x = y, y = or(n, 10), n = a, a = B, B = Xn(
9134
9134
  or(
9135
- Xn(u, Zn(79 - M, c, d, v), e[Zo[M] + t], Vo(M)),
9136
- Qo[M]
9135
+ Zn(u, Gn(79 - M, c, d, v), e[Go[M] + t], Xo(M)),
9136
+ Jo[M]
9137
9137
  ),
9138
9138
  b
9139
9139
  ), u = b, b = v, v = or(d, 10), d = c, c = B;
@@ -9143,16 +9143,16 @@ ct.prototype._update = function(e, t) {
9143
9143
  ct.prototype._digest = function(e) {
9144
9144
  return e === "hex" ? Rt.toHex32(this.h, "little") : Rt.split32(this.h, "little");
9145
9145
  };
9146
- function Zn(i, e, t, r) {
9146
+ function Gn(i, e, t, r) {
9147
9147
  return i <= 15 ? e ^ t ^ r : i <= 31 ? e & t | ~e & r : i <= 47 ? (e | ~t) ^ r : i <= 63 ? e & r | t & ~r : e ^ (t | ~r);
9148
9148
  }
9149
- function jo(i) {
9149
+ function Vo(i) {
9150
9150
  return i <= 15 ? 0 : i <= 31 ? 1518500249 : i <= 47 ? 1859775393 : i <= 63 ? 2400959708 : 2840853838;
9151
9151
  }
9152
- function Vo(i) {
9152
+ function Xo(i) {
9153
9153
  return i <= 15 ? 1352829926 : i <= 31 ? 1548603684 : i <= 47 ? 1836072691 : i <= 63 ? 2053994217 : 0;
9154
9154
  }
9155
- var Xo = [
9155
+ var Zo = [
9156
9156
  0,
9157
9157
  1,
9158
9158
  2,
@@ -9233,7 +9233,7 @@ var Xo = [
9233
9233
  6,
9234
9234
  15,
9235
9235
  13
9236
- ], Zo = [
9236
+ ], Go = [
9237
9237
  5,
9238
9238
  14,
9239
9239
  7,
@@ -9314,7 +9314,7 @@ var Xo = [
9314
9314
  3,
9315
9315
  9,
9316
9316
  11
9317
- ], Go = [
9317
+ ], Qo = [
9318
9318
  11,
9319
9319
  14,
9320
9320
  15,
@@ -9395,7 +9395,7 @@ var Xo = [
9395
9395
  8,
9396
9396
  5,
9397
9397
  6
9398
- ], Qo = [
9398
+ ], Jo = [
9399
9399
  8,
9400
9400
  9,
9401
9401
  9,
@@ -9476,15 +9476,15 @@ var Xo = [
9476
9476
  13,
9477
9477
  11,
9478
9478
  11
9479
- ], Jo = $e, ec = It;
9479
+ ], ec = $e, tc = It;
9480
9480
  function Lt(i, e, t) {
9481
9481
  if (!(this instanceof Lt))
9482
9482
  return new Lt(i, e, t);
9483
- this.Hash = i, this.blockSize = i.blockSize / 8, this.outSize = i.outSize / 8, this.inner = null, this.outer = null, this._init(Jo.toArray(e, t));
9483
+ this.Hash = i, this.blockSize = i.blockSize / 8, this.outSize = i.outSize / 8, this.inner = null, this.outer = null, this._init(ec.toArray(e, t));
9484
9484
  }
9485
- var tc = Lt;
9485
+ var rc = Lt;
9486
9486
  Lt.prototype._init = function(e) {
9487
- e.length > this.blockSize && (e = new this.Hash().update(e).digest()), ec(e.length <= this.blockSize);
9487
+ e.length > this.blockSize && (e = new this.Hash().update(e).digest()), tc(e.length <= this.blockSize);
9488
9488
  for (var t = e.length; t < this.blockSize; t++)
9489
9489
  e.push(0);
9490
9490
  for (t = 0; t < e.length; t++)
@@ -9501,11 +9501,11 @@ Lt.prototype.digest = function(e) {
9501
9501
  };
9502
9502
  (function(i) {
9503
9503
  var e = i;
9504
- e.utils = $e, e.common = Yt, e.sha = Wt, e.ripemd = Hf, e.hmac = tc, e.sha1 = e.sha.sha1, e.sha256 = e.sha.sha256, e.sha224 = e.sha.sha224, e.sha384 = e.sha.sha384, e.sha512 = e.sha.sha512, e.ripemd160 = e.ripemd.ripemd160;
9505
- })(Rr);
9506
- var Ei, Gn;
9507
- function rc() {
9508
- return Gn || (Gn = 1, Ei = {
9504
+ e.utils = $e, e.common = Wt, e.sha = Yt, e.ripemd = Uf, e.hmac = rc, e.sha1 = e.sha.sha1, e.sha256 = e.sha.sha256, e.sha224 = e.sha.sha224, e.sha384 = e.sha.sha384, e.sha512 = e.sha.sha512, e.ripemd160 = e.ripemd.ripemd160;
9505
+ })(kr);
9506
+ var wi, Qn;
9507
+ function ic() {
9508
+ return Qn || (Qn = 1, wi = {
9509
9509
  doubles: {
9510
9510
  step: 4,
9511
9511
  points: [
@@ -10284,10 +10284,10 @@ function rc() {
10284
10284
  ]
10285
10285
  ]
10286
10286
  }
10287
- }), Ei;
10287
+ }), wi;
10288
10288
  }
10289
10289
  (function(i) {
10290
- var e = i, t = Rr, r = ji, a = j0, n = a.assert;
10290
+ var e = i, t = kr, r = Vi, a = j0, n = a.assert;
10291
10291
  function y(c) {
10292
10292
  c.type === "short" ? this.curve = new r.short(c) : c.type === "edwards" ? this.curve = new r.edwards(c) : this.curve = new r.mont(c), this.g = this.curve.g, this.n = this.curve.n, this.hash = c.hash, n(this.g.validate(), "Invalid curve"), n(this.g.mul(this.n).isInfinity(), "Invalid curve, G*N != O");
10293
10293
  }
@@ -10402,7 +10402,7 @@ function rc() {
10402
10402
  });
10403
10403
  var u;
10404
10404
  try {
10405
- u = rc();
10405
+ u = ic();
10406
10406
  } catch {
10407
10407
  u = void 0;
10408
10408
  }
@@ -10435,8 +10435,8 @@ function rc() {
10435
10435
  u
10436
10436
  ]
10437
10437
  });
10438
- })(Fr);
10439
- var ic = Rr, St = Wi, Yf = It;
10438
+ })(Rr);
10439
+ var nc = kr, St = Ki, Yf = It;
10440
10440
  function At(i) {
10441
10441
  if (!(this instanceof At))
10442
10442
  return new At(i);
@@ -10447,7 +10447,7 @@ function At(i) {
10447
10447
  "Not enough entropy. Minimum is: " + this.minEntropy + " bits"
10448
10448
  ), this._init(e, t, r);
10449
10449
  }
10450
- var nc = At;
10450
+ var fc = At;
10451
10451
  At.prototype._init = function(e, t, r) {
10452
10452
  var a = e.concat(t).concat(r);
10453
10453
  this.K = new Array(this.outLen / 8), this.V = new Array(this.outLen / 8);
@@ -10456,7 +10456,7 @@ At.prototype._init = function(e, t, r) {
10456
10456
  this._update(a), this._reseed = 1, this.reseedInterval = 281474976710656;
10457
10457
  };
10458
10458
  At.prototype._hmac = function() {
10459
- return new ic.hmac(this.hash, this.K);
10459
+ return new nc.hmac(this.hash, this.K);
10460
10460
  };
10461
10461
  At.prototype._update = function(e) {
10462
10462
  var t = this._hmac().update(this.V).update([0]);
@@ -10477,11 +10477,11 @@ At.prototype.generate = function(e, t, r, a) {
10477
10477
  var y = n.slice(0, e);
10478
10478
  return this._update(r), this._reseed++, St.encode(y, t);
10479
10479
  };
10480
- var fc = pt, ac = j0, Pi = ac.assert;
10480
+ var ac = pt, sc = j0, Ii = sc.assert;
10481
10481
  function O0(i, e) {
10482
10482
  this.ec = i, this.priv = null, this.pub = null, e.priv && this._importPrivate(e.priv, e.privEnc), e.pub && this._importPublic(e.pub, e.pubEnc);
10483
10483
  }
10484
- var sc = O0;
10484
+ var oc = O0;
10485
10485
  O0.fromPublic = function(e, t, r) {
10486
10486
  return t instanceof O0 ? t : new O0(e, {
10487
10487
  pub: t,
@@ -10505,17 +10505,17 @@ O0.prototype.getPrivate = function(e) {
10505
10505
  return e === "hex" ? this.priv.toString(16, 2) : this.priv;
10506
10506
  };
10507
10507
  O0.prototype._importPrivate = function(e, t) {
10508
- this.priv = new fc(e, t || 16), this.priv = this.priv.umod(this.ec.curve.n);
10508
+ this.priv = new ac(e, t || 16), this.priv = this.priv.umod(this.ec.curve.n);
10509
10509
  };
10510
10510
  O0.prototype._importPublic = function(e, t) {
10511
10511
  if (e.x || e.y) {
10512
- this.ec.curve.type === "mont" ? Pi(e.x, "Need x coordinate") : (this.ec.curve.type === "short" || this.ec.curve.type === "edwards") && Pi(e.x && e.y, "Need both x and y coordinate"), this.pub = this.ec.curve.point(e.x, e.y);
10512
+ this.ec.curve.type === "mont" ? Ii(e.x, "Need x coordinate") : (this.ec.curve.type === "short" || this.ec.curve.type === "edwards") && Ii(e.x && e.y, "Need both x and y coordinate"), this.pub = this.ec.curve.point(e.x, e.y);
10513
10513
  return;
10514
10514
  }
10515
10515
  this.pub = this.ec.curve.decodePoint(e, t);
10516
10516
  };
10517
10517
  O0.prototype.derive = function(e) {
10518
- return e.validate() || Pi(e.validate(), "public point not validated"), e.mul(this.priv).getX();
10518
+ return e.validate() || Ii(e.validate(), "public point not validated"), e.mul(this.priv).getX();
10519
10519
  };
10520
10520
  O0.prototype.sign = function(e, t, r) {
10521
10521
  return this.ec.sign(e, this, t, r);
@@ -10526,17 +10526,17 @@ O0.prototype.verify = function(e, t) {
10526
10526
  O0.prototype.inspect = function() {
10527
10527
  return "<Key priv: " + (this.priv && this.priv.toString(16, 2)) + " pub: " + (this.pub && this.pub.inspect()) + " >";
10528
10528
  };
10529
- var Ar = pt, Xi = j0, oc = Xi.assert;
10530
- function Pr(i, e) {
10531
- if (i instanceof Pr)
10529
+ var Er = pt, Zi = j0, cc = Zi.assert;
10530
+ function Ir(i, e) {
10531
+ if (i instanceof Ir)
10532
10532
  return i;
10533
- this._importDER(i, e) || (oc(i.r && i.s, "Signature without r or s"), this.r = new Ar(i.r, 16), this.s = new Ar(i.s, 16), i.recoveryParam === void 0 ? this.recoveryParam = null : this.recoveryParam = i.recoveryParam);
10533
+ this._importDER(i, e) || (cc(i.r && i.s, "Signature without r or s"), this.r = new Er(i.r, 16), this.s = new Er(i.s, 16), i.recoveryParam === void 0 ? this.recoveryParam = null : this.recoveryParam = i.recoveryParam);
10534
10534
  }
10535
- var cc = Pr;
10536
- function dc() {
10535
+ var dc = Ir;
10536
+ function hc() {
10537
10537
  this.place = 0;
10538
10538
  }
10539
- function wi(i, e) {
10539
+ function Bi(i, e) {
10540
10540
  var t = i[e.place++];
10541
10541
  if (!(t & 128))
10542
10542
  return t;
@@ -10547,26 +10547,26 @@ function wi(i, e) {
10547
10547
  a <<= 8, a |= i[y], a >>>= 0;
10548
10548
  return a <= 127 ? !1 : (e.place = y, a);
10549
10549
  }
10550
- function Qn(i) {
10550
+ function Jn(i) {
10551
10551
  for (var e = 0, t = i.length - 1; !i[e] && !(i[e + 1] & 128) && e < t; )
10552
10552
  e++;
10553
10553
  return e === 0 ? i : i.slice(e);
10554
10554
  }
10555
- Pr.prototype._importDER = function(e, t) {
10556
- e = Xi.toArray(e, t);
10557
- var r = new dc();
10555
+ Ir.prototype._importDER = function(e, t) {
10556
+ e = Zi.toArray(e, t);
10557
+ var r = new hc();
10558
10558
  if (e[r.place++] !== 48)
10559
10559
  return !1;
10560
- var a = wi(e, r);
10560
+ var a = Bi(e, r);
10561
10561
  if (a === !1 || a + r.place !== e.length || e[r.place++] !== 2)
10562
10562
  return !1;
10563
- var n = wi(e, r);
10563
+ var n = Bi(e, r);
10564
10564
  if (n === !1)
10565
10565
  return !1;
10566
10566
  var y = e.slice(r.place, n + r.place);
10567
10567
  if (r.place += n, e[r.place++] !== 2)
10568
10568
  return !1;
10569
- var x = wi(e, r);
10569
+ var x = Bi(e, r);
10570
10570
  if (x === !1 || e.length !== x + r.place)
10571
10571
  return !1;
10572
10572
  var u = e.slice(r.place, x + r.place);
@@ -10580,9 +10580,9 @@ Pr.prototype._importDER = function(e, t) {
10580
10580
  u = u.slice(1);
10581
10581
  else
10582
10582
  return !1;
10583
- return this.r = new Ar(y), this.s = new Ar(u), this.recoveryParam = null, !0;
10583
+ return this.r = new Er(y), this.s = new Er(u), this.recoveryParam = null, !0;
10584
10584
  };
10585
- function Bi(i, e) {
10585
+ function Ci(i, e) {
10586
10586
  if (e < 128) {
10587
10587
  i.push(e);
10588
10588
  return;
@@ -10592,41 +10592,41 @@ function Bi(i, e) {
10592
10592
  i.push(e >>> (t << 3) & 255);
10593
10593
  i.push(e);
10594
10594
  }
10595
- Pr.prototype.toDER = function(e) {
10595
+ Ir.prototype.toDER = function(e) {
10596
10596
  var t = this.r.toArray(), r = this.s.toArray();
10597
- for (t[0] & 128 && (t = [0].concat(t)), r[0] & 128 && (r = [0].concat(r)), t = Qn(t), r = Qn(r); !r[0] && !(r[1] & 128); )
10597
+ for (t[0] & 128 && (t = [0].concat(t)), r[0] & 128 && (r = [0].concat(r)), t = Jn(t), r = Jn(r); !r[0] && !(r[1] & 128); )
10598
10598
  r = r.slice(1);
10599
10599
  var a = [2];
10600
- Bi(a, t.length), a = a.concat(t), a.push(2), Bi(a, r.length);
10600
+ Ci(a, t.length), a = a.concat(t), a.push(2), Ci(a, r.length);
10601
10601
  var n = a.concat(r), y = [48];
10602
- return Bi(y, n.length), y = y.concat(n), Xi.encode(y, e);
10602
+ return Ci(y, n.length), y = y.concat(n), Zi.encode(y, e);
10603
10603
  };
10604
- var Dt = pt, Wf = nc, hc = j0, Ci = Fr, uc = wf, Kf = hc.assert, Zi = sc, Ir = cc;
10604
+ var Dt = pt, Kf = fc, uc = j0, Mi = Rr, lc = Bf, jf = uc.assert, Gi = oc, Tr = dc;
10605
10605
  function X0(i) {
10606
10606
  if (!(this instanceof X0))
10607
10607
  return new X0(i);
10608
- typeof i == "string" && (Kf(
10609
- Object.prototype.hasOwnProperty.call(Ci, i),
10608
+ typeof i == "string" && (jf(
10609
+ Object.prototype.hasOwnProperty.call(Mi, i),
10610
10610
  "Unknown curve " + i
10611
- ), i = Ci[i]), i instanceof Ci.PresetCurve && (i = { curve: i }), this.curve = i.curve.curve, this.n = this.curve.n, this.nh = this.n.ushrn(1), this.g = this.curve.g, this.g = i.curve.g, this.g.precompute(i.curve.n.bitLength() + 1), this.hash = i.hash || i.curve.hash;
10611
+ ), i = Mi[i]), i instanceof Mi.PresetCurve && (i = { curve: i }), this.curve = i.curve.curve, this.n = this.curve.n, this.nh = this.n.ushrn(1), this.g = this.curve.g, this.g = i.curve.g, this.g.precompute(i.curve.n.bitLength() + 1), this.hash = i.hash || i.curve.hash;
10612
10612
  }
10613
- var lc = X0;
10613
+ var xc = X0;
10614
10614
  X0.prototype.keyPair = function(e) {
10615
- return new Zi(this, e);
10615
+ return new Gi(this, e);
10616
10616
  };
10617
10617
  X0.prototype.keyFromPrivate = function(e, t) {
10618
- return Zi.fromPrivate(this, e, t);
10618
+ return Gi.fromPrivate(this, e, t);
10619
10619
  };
10620
10620
  X0.prototype.keyFromPublic = function(e, t) {
10621
- return Zi.fromPublic(this, e, t);
10621
+ return Gi.fromPublic(this, e, t);
10622
10622
  };
10623
10623
  X0.prototype.genKeyPair = function(e) {
10624
10624
  e || (e = {});
10625
- for (var t = new Wf({
10625
+ for (var t = new Kf({
10626
10626
  hash: this.hash,
10627
10627
  pers: e.pers,
10628
10628
  persEnc: e.persEnc || "utf8",
10629
- entropy: e.entropy || uc(this.hash.hmacStrength),
10629
+ entropy: e.entropy || lc(this.hash.hmacStrength),
10630
10630
  entropyEnc: e.entropy && e.entropyEnc || "utf8",
10631
10631
  nonce: this.n.toArray()
10632
10632
  }), r = this.n.byteLength(), a = this.n.sub(new Dt(2)); ; ) {
@@ -10641,7 +10641,7 @@ X0.prototype._truncateToN = function(e, t) {
10641
10641
  };
10642
10642
  X0.prototype.sign = function(e, t, r, a) {
10643
10643
  typeof r == "object" && (a = r, r = null), a || (a = {}), t = this.keyFromPrivate(t, r), e = this._truncateToN(new Dt(e, 16));
10644
- for (var n = this.n.byteLength(), y = t.getPrivate().toArray("be", n), x = e.toArray("be", n), u = new Wf({
10644
+ for (var n = this.n.byteLength(), y = t.getPrivate().toArray("be", n), x = e.toArray("be", n), u = new Kf({
10645
10645
  hash: this.hash,
10646
10646
  entropy: y,
10647
10647
  nonce: x,
@@ -10657,7 +10657,7 @@ X0.prototype.sign = function(e, t, r, a) {
10657
10657
  var R = v.invm(this.n).mul(B.mul(t.getPrivate()).iadd(e));
10658
10658
  if (R = R.umod(this.n), R.cmpn(0) !== 0) {
10659
10659
  var k = (b.getY().isOdd() ? 1 : 0) | (M.cmp(B) !== 0 ? 2 : 0);
10660
- return a.canonical && R.cmp(this.nh) > 0 && (R = this.n.sub(R), k ^= 1), new Ir({ r: B, s: R, recoveryParam: k });
10660
+ return a.canonical && R.cmp(this.nh) > 0 && (R = this.n.sub(R), k ^= 1), new Tr({ r: B, s: R, recoveryParam: k });
10661
10661
  }
10662
10662
  }
10663
10663
  }
@@ -10665,7 +10665,7 @@ X0.prototype.sign = function(e, t, r, a) {
10665
10665
  }
10666
10666
  };
10667
10667
  X0.prototype.verify = function(e, t, r, a) {
10668
- e = this._truncateToN(new Dt(e, 16)), r = this.keyFromPublic(r, a), t = new Ir(t, "hex");
10668
+ e = this._truncateToN(new Dt(e, 16)), r = this.keyFromPublic(r, a), t = new Tr(t, "hex");
10669
10669
  var n = t.r, y = t.s;
10670
10670
  if (n.cmpn(1) < 0 || n.cmp(this.n) >= 0 || y.cmpn(1) < 0 || y.cmp(this.n) >= 0)
10671
10671
  return !1;
@@ -10673,7 +10673,7 @@ X0.prototype.verify = function(e, t, r, a) {
10673
10673
  return this.curve._maxwellTrick ? (d = this.g.jmulAdd(u, r.getPublic(), c), d.isInfinity() ? !1 : d.eqXToP(n)) : (d = this.g.mulAdd(u, r.getPublic(), c), d.isInfinity() ? !1 : d.getX().umod(this.n).cmp(n) === 0);
10674
10674
  };
10675
10675
  X0.prototype.recoverPubKey = function(i, e, t, r) {
10676
- Kf((3 & t) === t, "The recovery param is more than two bits"), e = new Ir(e, r);
10676
+ jf((3 & t) === t, "The recovery param is more than two bits"), e = new Tr(e, r);
10677
10677
  var a = this.n, n = new Dt(i), y = e.r, x = e.s, u = t & 1, c = t >> 1;
10678
10678
  if (y.cmp(this.curve.p.umod(this.curve.n)) >= 0 && c)
10679
10679
  throw new Error("Unable to find sencond key candinate");
@@ -10682,7 +10682,7 @@ X0.prototype.recoverPubKey = function(i, e, t, r) {
10682
10682
  return this.g.mulAdd(v, y, b);
10683
10683
  };
10684
10684
  X0.prototype.getKeyRecoveryParam = function(i, e, t, r) {
10685
- if (e = new Ir(e, r), e.recoveryParam !== null)
10685
+ if (e = new Tr(e, r), e.recoveryParam !== null)
10686
10686
  return e.recoveryParam;
10687
10687
  for (var a = 0; a < 4; a++) {
10688
10688
  var n;
@@ -10696,9 +10696,9 @@ X0.prototype.getKeyRecoveryParam = function(i, e, t, r) {
10696
10696
  }
10697
10697
  throw new Error("Unable to find valid recovery factor");
10698
10698
  };
10699
- var ar = j0, jf = ar.assert, Jn = ar.parseBytes, jt = ar.cachedProperty;
10699
+ var ar = j0, Vf = ar.assert, ef = ar.parseBytes, jt = ar.cachedProperty;
10700
10700
  function B0(i, e) {
10701
- this.eddsa = i, this._secret = Jn(e.secret), i.isPoint(e.pub) ? this._pub = e.pub : this._pubBytes = Jn(e.pub);
10701
+ this.eddsa = i, this._secret = ef(e.secret), i.isPoint(e.pub) ? this._pub = e.pub : this._pubBytes = ef(e.pub);
10702
10702
  }
10703
10703
  B0.fromPublic = function(e, t) {
10704
10704
  return t instanceof B0 ? t : new B0(e, { pub: t });
@@ -10729,56 +10729,56 @@ jt(B0, "messagePrefix", function() {
10729
10729
  return this.hash().slice(this.eddsa.encodingLength);
10730
10730
  });
10731
10731
  B0.prototype.sign = function(e) {
10732
- return jf(this._secret, "KeyPair can only verify"), this.eddsa.sign(e, this);
10732
+ return Vf(this._secret, "KeyPair can only verify"), this.eddsa.sign(e, this);
10733
10733
  };
10734
10734
  B0.prototype.verify = function(e, t) {
10735
10735
  return this.eddsa.verify(e, t, this);
10736
10736
  };
10737
10737
  B0.prototype.getSecret = function(e) {
10738
- return jf(this._secret, "KeyPair is public only"), ar.encode(this.secret(), e);
10738
+ return Vf(this._secret, "KeyPair is public only"), ar.encode(this.secret(), e);
10739
10739
  };
10740
10740
  B0.prototype.getPublic = function(e) {
10741
10741
  return ar.encode(this.pubBytes(), e);
10742
10742
  };
10743
- var xc = B0, vc = pt, Tr = j0, bc = Tr.assert, Or = Tr.cachedProperty, pc = Tr.parseBytes;
10743
+ var vc = B0, bc = pt, Or = j0, pc = Or.assert, zr = Or.cachedProperty, yc = Or.parseBytes;
10744
10744
  function Tt(i, e) {
10745
- this.eddsa = i, typeof e != "object" && (e = pc(e)), Array.isArray(e) && (e = {
10745
+ this.eddsa = i, typeof e != "object" && (e = yc(e)), Array.isArray(e) && (e = {
10746
10746
  R: e.slice(0, i.encodingLength),
10747
10747
  S: e.slice(i.encodingLength)
10748
- }), bc(e.R && e.S, "Signature without R or S"), i.isPoint(e.R) && (this._R = e.R), e.S instanceof vc && (this._S = e.S), this._Rencoded = Array.isArray(e.R) ? e.R : e.Rencoded, this._Sencoded = Array.isArray(e.S) ? e.S : e.Sencoded;
10748
+ }), pc(e.R && e.S, "Signature without R or S"), i.isPoint(e.R) && (this._R = e.R), e.S instanceof bc && (this._S = e.S), this._Rencoded = Array.isArray(e.R) ? e.R : e.Rencoded, this._Sencoded = Array.isArray(e.S) ? e.S : e.Sencoded;
10749
10749
  }
10750
- Or(Tt, "S", function() {
10750
+ zr(Tt, "S", function() {
10751
10751
  return this.eddsa.decodeInt(this.Sencoded());
10752
10752
  });
10753
- Or(Tt, "R", function() {
10753
+ zr(Tt, "R", function() {
10754
10754
  return this.eddsa.decodePoint(this.Rencoded());
10755
10755
  });
10756
- Or(Tt, "Rencoded", function() {
10756
+ zr(Tt, "Rencoded", function() {
10757
10757
  return this.eddsa.encodePoint(this.R());
10758
10758
  });
10759
- Or(Tt, "Sencoded", function() {
10759
+ zr(Tt, "Sencoded", function() {
10760
10760
  return this.eddsa.encodeInt(this.S());
10761
10761
  });
10762
10762
  Tt.prototype.toBytes = function() {
10763
10763
  return this.Rencoded().concat(this.Sencoded());
10764
10764
  };
10765
10765
  Tt.prototype.toHex = function() {
10766
- return Tr.encode(this.toBytes(), "hex").toUpperCase();
10766
+ return Or.encode(this.toBytes(), "hex").toUpperCase();
10767
10767
  };
10768
- var yc = Tt, gc = Rr, mc = Fr, $t = j0, _c = $t.assert, Vf = $t.parseBytes, Xf = xc, ef = yc;
10768
+ var gc = Tt, mc = kr, _c = Rr, $t = j0, Ac = $t.assert, Xf = $t.parseBytes, Zf = vc, tf = gc;
10769
10769
  function U0(i) {
10770
- if (_c(i === "ed25519", "only tested with ed25519 so far"), !(this instanceof U0))
10770
+ if (Ac(i === "ed25519", "only tested with ed25519 so far"), !(this instanceof U0))
10771
10771
  return new U0(i);
10772
- i = mc[i].curve, this.curve = i, this.g = i.g, this.g.precompute(i.n.bitLength() + 1), this.pointClass = i.point().constructor, this.encodingLength = Math.ceil(i.n.bitLength() / 8), this.hash = gc.sha512;
10772
+ i = _c[i].curve, this.curve = i, this.g = i.g, this.g.precompute(i.n.bitLength() + 1), this.pointClass = i.point().constructor, this.encodingLength = Math.ceil(i.n.bitLength() / 8), this.hash = mc.sha512;
10773
10773
  }
10774
- var Ac = U0;
10774
+ var Ec = U0;
10775
10775
  U0.prototype.sign = function(e, t) {
10776
- e = Vf(e);
10776
+ e = Xf(e);
10777
10777
  var r = this.keyFromSecret(t), a = this.hashInt(r.messagePrefix(), e), n = this.g.mul(a), y = this.encodePoint(n), x = this.hashInt(y, r.pubBytes(), e).mul(r.priv()), u = a.add(x).umod(this.curve.n);
10778
10778
  return this.makeSignature({ R: n, S: u, Rencoded: y });
10779
10779
  };
10780
10780
  U0.prototype.verify = function(e, t, r) {
10781
- e = Vf(e), t = this.makeSignature(t);
10781
+ e = Xf(e), t = this.makeSignature(t);
10782
10782
  var a = this.keyFromPublic(r), n = this.hashInt(t.Rencoded(), a.pubBytes(), e), y = this.g.mul(t.S()), x = t.R().add(a.pub().mul(n));
10783
10783
  return x.eq(y);
10784
10784
  };
@@ -10788,13 +10788,13 @@ U0.prototype.hashInt = function() {
10788
10788
  return $t.intFromLE(e.digest()).umod(this.curve.n);
10789
10789
  };
10790
10790
  U0.prototype.keyFromPublic = function(e) {
10791
- return Xf.fromPublic(this, e);
10791
+ return Zf.fromPublic(this, e);
10792
10792
  };
10793
10793
  U0.prototype.keyFromSecret = function(e) {
10794
- return Xf.fromSecret(this, e);
10794
+ return Zf.fromSecret(this, e);
10795
10795
  };
10796
10796
  U0.prototype.makeSignature = function(e) {
10797
- return e instanceof ef ? e : new ef(this, e);
10797
+ return e instanceof tf ? e : new tf(this, e);
10798
10798
  };
10799
10799
  U0.prototype.encodePoint = function(e) {
10800
10800
  var t = e.getY().toArray("le", this.encodingLength);
@@ -10816,9 +10816,9 @@ U0.prototype.isPoint = function(e) {
10816
10816
  };
10817
10817
  (function(i) {
10818
10818
  var e = i;
10819
- e.version = gs.version, e.utils = j0, e.rand = wf, e.curve = ji, e.curves = Fr, e.ec = lc, e.eddsa = Ac;
10820
- })(Af);
10821
- var Zf = { exports: {} };
10819
+ e.version = ms.version, e.utils = j0, e.rand = Bf, e.curve = Vi, e.curves = Rr, e.ec = xc, e.eddsa = Ec;
10820
+ })(Ef);
10821
+ var Gf = { exports: {} };
10822
10822
  (function(i) {
10823
10823
  (function(e) {
10824
10824
  var t = function(l) {
@@ -11015,7 +11015,7 @@ var Zf = { exports: {} };
11015
11015
  var C = new Uint8Array(32);
11016
11016
  return S(C, l), C[0] & 1;
11017
11017
  }
11018
- function W(l, C) {
11018
+ function Y(l, C) {
11019
11019
  var w;
11020
11020
  for (w = 0; w < 16; w++)
11021
11021
  l[w] = C[2 * w] + (C[2 * w + 1] << 8);
@@ -11025,7 +11025,7 @@ var Zf = { exports: {} };
11025
11025
  for (var s = 0; s < 16; s++)
11026
11026
  l[s] = C[s] + w[s];
11027
11027
  }
11028
- function Y(l, C, w) {
11028
+ function W(l, C, w) {
11029
11029
  for (var s = 0; s < 16; s++)
11030
11030
  l[s] = C[s] - w[s];
11031
11031
  }
@@ -11058,10 +11058,10 @@ var Zf = { exports: {} };
11058
11058
  var s = new Uint8Array(32), D = new Float64Array(80), m, z, L = t(), V = t(), fe = t(), ie = t(), he = t(), re = t();
11059
11059
  for (z = 0; z < 31; z++)
11060
11060
  s[z] = C[z];
11061
- for (s[31] = C[31] & 127 | 64, s[0] &= 248, W(D, w), z = 0; z < 16; z++)
11061
+ for (s[31] = C[31] & 127 | 64, s[0] &= 248, Y(D, w), z = 0; z < 16; z++)
11062
11062
  V[z] = D[z], ie[z] = L[z] = fe[z] = 0;
11063
11063
  for (L[0] = ie[0] = 1, z = 254; z >= 0; --z)
11064
- m = s[z >>> 3] >>> (z & 7) & 1, T(L, V, m), T(fe, ie, m), K(he, L, fe), Y(L, L, fe), K(fe, V, ie), Y(V, V, ie), se(ie, he), se(re, L), J(L, fe, L), J(fe, V, he), K(he, L, fe), Y(L, L, fe), se(V, L), Y(fe, ie, re), J(L, fe, u), K(L, L, ie), J(fe, fe, L), J(L, ie, re), J(ie, V, D), se(V, he), T(L, V, m), T(fe, ie, m);
11064
+ m = s[z >>> 3] >>> (z & 7) & 1, T(L, V, m), T(fe, ie, m), K(he, L, fe), W(L, L, fe), K(fe, V, ie), W(V, V, ie), se(ie, he), se(re, L), J(L, fe, L), J(fe, V, he), K(he, L, fe), W(L, L, fe), se(V, L), W(fe, ie, re), J(L, fe, u), K(L, L, ie), J(fe, fe, L), J(L, ie, re), J(ie, V, D), se(V, he), T(L, V, m), T(fe, ie, m);
11065
11065
  for (z = 0; z < 16; z++)
11066
11066
  D[z + 16] = L[z], D[z + 32] = fe[z], D[z + 48] = V[z], D[z + 64] = ie[z];
11067
11067
  var xe = D.subarray(32), ue = D.subarray(16);
@@ -11082,11 +11082,11 @@ var Zf = { exports: {} };
11082
11082
  var z = new Uint8Array(32);
11083
11083
  return Pe(z, D, m), Me(l, C, w, s, z);
11084
11084
  }
11085
- function We(l, C, w, s, D, m) {
11085
+ function Ye(l, C, w, s, D, m) {
11086
11086
  var z = new Uint8Array(32);
11087
11087
  return Pe(z, D, m), A0(l, C, w, s, z);
11088
11088
  }
11089
- var Y0 = [
11089
+ var W0 = [
11090
11090
  1116352408,
11091
11091
  3609767458,
11092
11092
  1899447441,
@@ -11253,7 +11253,7 @@ var Zf = { exports: {} };
11253
11253
  for (be = 0; be < 16; be++)
11254
11254
  oe = 8 * be + w0, D[be] = w[oe + 0] << 24 | w[oe + 1] << 16 | w[oe + 2] << 8 | w[oe + 3], m[be] = w[oe + 4] << 24 | w[oe + 5] << 16 | w[oe + 6] << 8 | w[oe + 7];
11255
11255
  for (be = 0; be < 80; be++)
11256
- if (z = Be, L = Se, V = Re, fe = De, ie = N, he = ze, re = Xe, xe = Ze, ue = Te, ve = Ke, me = je, _e = m0, Ae = h0, pe = b0, de = p0, ye = y0, Z = Ze, G = y0, ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = (N >>> 14 | h0 << 18) ^ (N >>> 18 | h0 << 14) ^ (h0 >>> 9 | N << 23), G = (h0 >>> 14 | N << 18) ^ (h0 >>> 18 | N << 14) ^ (N >>> 9 | h0 << 23), ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, Z = N & ze ^ ~N & Xe, G = h0 & b0 ^ ~h0 & p0, ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, Z = Y0[be * 2], G = Y0[be * 2 + 1], ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, Z = D[be % 16], G = m[be % 16], ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, ce = te & 65535 | ae << 16, le = ne & 65535 | ee << 16, Z = ce, G = le, ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = (Be >>> 28 | Te << 4) ^ (Te >>> 2 | Be << 30) ^ (Te >>> 7 | Be << 25), G = (Te >>> 28 | Be << 4) ^ (Be >>> 2 | Te << 30) ^ (Be >>> 7 | Te << 25), ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, Z = Be & Se ^ Be & Re ^ Se & Re, G = Te & Ke ^ Te & je ^ Ke & je, ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, xe = te & 65535 | ae << 16, ye = ne & 65535 | ee << 16, Z = fe, G = _e, ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = ce, G = le, ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, fe = te & 65535 | ae << 16, _e = ne & 65535 | ee << 16, Se = z, Re = L, De = V, N = fe, ze = ie, Xe = he, Ze = re, Be = xe, Ke = ue, je = ve, m0 = me, h0 = _e, b0 = Ae, p0 = pe, y0 = de, Te = ye, be % 16 === 15)
11256
+ if (z = Be, L = Se, V = Re, fe = De, ie = N, he = ze, re = Xe, xe = Ze, ue = Te, ve = Ke, me = je, _e = m0, Ae = h0, pe = b0, de = p0, ye = y0, Z = Ze, G = y0, ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = (N >>> 14 | h0 << 18) ^ (N >>> 18 | h0 << 14) ^ (h0 >>> 9 | N << 23), G = (h0 >>> 14 | N << 18) ^ (h0 >>> 18 | N << 14) ^ (N >>> 9 | h0 << 23), ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, Z = N & ze ^ ~N & Xe, G = h0 & b0 ^ ~h0 & p0, ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, Z = W0[be * 2], G = W0[be * 2 + 1], ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, Z = D[be % 16], G = m[be % 16], ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, ce = te & 65535 | ae << 16, le = ne & 65535 | ee << 16, Z = ce, G = le, ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = (Be >>> 28 | Te << 4) ^ (Te >>> 2 | Be << 30) ^ (Te >>> 7 | Be << 25), G = (Te >>> 28 | Be << 4) ^ (Be >>> 2 | Te << 30) ^ (Be >>> 7 | Te << 25), ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, Z = Be & Se ^ Be & Re ^ Se & Re, G = Te & Ke ^ Te & je ^ Ke & je, ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, xe = te & 65535 | ae << 16, ye = ne & 65535 | ee << 16, Z = fe, G = _e, ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = ce, G = le, ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, fe = te & 65535 | ae << 16, _e = ne & 65535 | ee << 16, Se = z, Re = L, De = V, N = fe, ze = ie, Xe = he, Ze = re, Be = xe, Ke = ue, je = ve, m0 = me, h0 = _e, b0 = Ae, p0 = pe, y0 = de, Te = ye, be % 16 === 15)
11257
11257
  for (oe = 0; oe < 16; oe++)
11258
11258
  Z = D[oe], G = m[oe], ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = D[(oe + 9) % 16], G = m[(oe + 9) % 16], ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ce = D[(oe + 1) % 16], le = m[(oe + 1) % 16], Z = (ce >>> 1 | le << 31) ^ (ce >>> 8 | le << 24) ^ ce >>> 7, G = (le >>> 1 | ce << 31) ^ (le >>> 8 | ce << 24) ^ (le >>> 7 | ce << 25), ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ce = D[(oe + 14) % 16], le = m[(oe + 14) % 16], Z = (ce >>> 19 | le << 13) ^ (le >>> 29 | ce << 3) ^ ce >>> 6, G = (le >>> 19 | ce << 13) ^ (ce >>> 29 | le << 3) ^ (le >>> 6 | ce << 26), ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, D[oe] = te & 65535 | ae << 16, m[oe] = ne & 65535 | ee << 16;
11259
11259
  Z = Be, G = Te, ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = l[0], G = C[0], ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, l[0] = Be = te & 65535 | ae << 16, C[0] = Te = ne & 65535 | ee << 16, Z = Se, G = Ke, ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = l[1], G = C[1], ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, l[1] = Se = te & 65535 | ae << 16, C[1] = Ke = ne & 65535 | ee << 16, Z = Re, G = je, ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = l[2], G = C[2], ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, l[2] = Re = te & 65535 | ae << 16, C[2] = je = ne & 65535 | ee << 16, Z = De, G = m0, ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = l[3], G = C[3], ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, l[3] = De = te & 65535 | ae << 16, C[3] = m0 = ne & 65535 | ee << 16, Z = N, G = h0, ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = l[4], G = C[4], ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, l[4] = N = te & 65535 | ae << 16, C[4] = h0 = ne & 65535 | ee << 16, Z = ze, G = b0, ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = l[5], G = C[5], ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, l[5] = ze = te & 65535 | ae << 16, C[5] = b0 = ne & 65535 | ee << 16, Z = Xe, G = p0, ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = l[6], G = C[6], ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, l[6] = Xe = te & 65535 | ae << 16, C[6] = p0 = ne & 65535 | ee << 16, Z = Ze, G = y0, ne = G & 65535, ee = G >>> 16, te = Z & 65535, ae = Z >>> 16, Z = l[7], G = C[7], ne += G & 65535, ee += G >>> 16, te += Z & 65535, ae += Z >>> 16, ee += ne >>> 16, te += ee >>> 16, ae += te >>> 16, l[7] = Ze = te & 65535 | ae << 16, C[7] = y0 = ne & 65535 | ee << 16, w0 += 128, s -= 128;
@@ -11270,7 +11270,7 @@ var Zf = { exports: {} };
11270
11270
  }
11271
11271
  function z0(l, C) {
11272
11272
  var w = t(), s = t(), D = t(), m = t(), z = t(), L = t(), V = t(), fe = t(), ie = t();
11273
- Y(w, l[1], l[0]), Y(ie, C[1], C[0]), J(w, w, ie), K(s, l[0], l[1]), K(ie, C[0], C[1]), J(s, s, ie), J(D, l[3], C[3]), J(D, D, d), J(m, l[2], C[2]), K(m, m, m), Y(z, s, w), Y(L, m, D), K(V, m, D), K(fe, s, w), J(l[0], z, L), J(l[1], fe, V), J(l[2], V, L), J(l[3], z, fe);
11273
+ W(w, l[1], l[0]), W(ie, C[1], C[0]), J(w, w, ie), K(s, l[0], l[1]), K(ie, C[0], C[1]), J(s, s, ie), J(D, l[3], C[3]), J(D, D, d), J(m, l[2], C[2]), K(m, m, m), W(z, s, w), W(L, m, D), K(V, m, D), K(fe, s, w), J(l[0], z, L), J(l[1], fe, V), J(l[2], V, L), J(l[3], z, fe);
11274
11274
  }
11275
11275
  function qe(l, C, w) {
11276
11276
  var s;
@@ -11340,7 +11340,7 @@ var Zf = { exports: {} };
11340
11340
  }
11341
11341
  function l0(l, C) {
11342
11342
  var w = t(), s = t(), D = t(), m = t(), z = t(), L = t(), V = t();
11343
- return E(l[2], x), W(l[1], C), se(D, l[1]), J(m, D, c), Y(D, D, l[2]), K(m, l[2], m), se(z, m), se(L, z), J(V, L, z), J(w, V, D), J(w, w, m), ge(w, w), J(w, w, D), J(w, w, m), J(w, w, m), J(l[0], w, m), se(s, l[0]), J(s, s, m), o(s, D) && J(l[0], l[0], M), se(s, l[0]), J(s, s, m), o(s, D) ? -1 : (A(l[0]) === C[31] >> 7 && Y(l[0], y, l[0]), J(l[3], l[0], l[1]), 0);
11343
+ return E(l[2], x), Y(l[1], C), se(D, l[1]), J(m, D, c), W(D, D, l[2]), K(m, l[2], m), se(z, m), se(L, z), J(V, L, z), J(w, V, D), J(w, w, m), ge(w, w), J(w, w, D), J(w, w, m), J(w, w, m), J(l[0], w, m), se(s, l[0]), J(s, s, m), o(s, D) && J(l[0], l[0], M), se(s, l[0]), J(s, s, m), o(s, D) ? -1 : (A(l[0]) === C[31] >> 7 && W(l[0], y, l[0]), J(l[3], l[0], l[1]), 0);
11344
11344
  }
11345
11345
  function He(l, C, w, s) {
11346
11346
  var D, m = new Uint8Array(32), z = new Uint8Array(64), L = [t(), t(), t(), t()], V = [t(), t(), t(), t()];
@@ -11359,7 +11359,7 @@ var Zf = { exports: {} };
11359
11359
  l[D] = C[D + 64];
11360
11360
  return w;
11361
11361
  }
11362
- var q0 = 32, a0 = 24, r0 = 32, L0 = 16, n0 = 32, s0 = 32, W0 = 32, e0 = 32, f0 = 32, $0 = a0, o0 = r0, x0 = L0, R0 = 64, t0 = 32, Ve = 64, rt = 32, c0 = 64;
11362
+ var q0 = 32, a0 = 24, r0 = 32, L0 = 16, n0 = 32, s0 = 32, Y0 = 32, e0 = 32, f0 = 32, $0 = a0, o0 = r0, x0 = L0, R0 = 64, t0 = 32, Ve = 64, rt = 32, c0 = 64;
11363
11363
  e.lowlevel = {
11364
11364
  crypto_core_hsalsa20: H,
11365
11365
  crypto_stream_xor: $,
@@ -11377,7 +11377,7 @@ var Zf = { exports: {} };
11377
11377
  crypto_box_beforenm: Pe,
11378
11378
  crypto_box_afternm: Me,
11379
11379
  crypto_box: Ge,
11380
- crypto_box_open: We,
11380
+ crypto_box_open: Ye,
11381
11381
  crypto_box_keypair: _0,
11382
11382
  crypto_hash: Ne,
11383
11383
  crypto_sign: Q0,
@@ -11389,7 +11389,7 @@ var Zf = { exports: {} };
11389
11389
  crypto_secretbox_BOXZEROBYTES: L0,
11390
11390
  crypto_scalarmult_BYTES: n0,
11391
11391
  crypto_scalarmult_SCALARBYTES: s0,
11392
- crypto_box_PUBLICKEYBYTES: W0,
11392
+ crypto_box_PUBLICKEYBYTES: Y0,
11393
11393
  crypto_box_SECRETKEYBYTES: e0,
11394
11394
  crypto_box_BEFORENMBYTES: f0,
11395
11395
  crypto_box_NONCEBYTES: $0,
@@ -11404,11 +11404,11 @@ var Zf = { exports: {} };
11404
11404
  D: c,
11405
11405
  L: F0,
11406
11406
  pack25519: S,
11407
- unpack25519: W,
11407
+ unpack25519: Y,
11408
11408
  M: J,
11409
11409
  A: K,
11410
11410
  S: se,
11411
- Z: Y,
11411
+ Z: W,
11412
11412
  pow2523: ge,
11413
11413
  add: z0,
11414
11414
  set25519: E,
@@ -11423,7 +11423,7 @@ var Zf = { exports: {} };
11423
11423
  throw new Error("bad nonce size");
11424
11424
  }
11425
11425
  function yt(l, C) {
11426
- if (l.length !== W0)
11426
+ if (l.length !== Y0)
11427
11427
  throw new Error("bad public key size");
11428
11428
  if (C.length !== e0)
11429
11429
  throw new Error("bad secret key size");
@@ -11473,14 +11473,14 @@ var Zf = { exports: {} };
11473
11473
  var D = e.box.before(w, s);
11474
11474
  return e.secretbox.open(l, C, D);
11475
11475
  }, e.box.open.after = e.secretbox.open, e.box.keyPair = function() {
11476
- var l = new Uint8Array(W0), C = new Uint8Array(e0);
11476
+ var l = new Uint8Array(Y0), C = new Uint8Array(e0);
11477
11477
  return _0(l, C), { publicKey: l, secretKey: C };
11478
11478
  }, e.box.keyPair.fromSecretKey = function(l) {
11479
11479
  if (Oe(l), l.length !== e0)
11480
11480
  throw new Error("bad secret key size");
11481
- var C = new Uint8Array(W0);
11481
+ var C = new Uint8Array(Y0);
11482
11482
  return we(C, l), { publicKey: C, secretKey: new Uint8Array(l) };
11483
- }, e.box.publicKeyLength = W0, e.box.secretKeyLength = e0, e.box.sharedKeyLength = f0, e.box.nonceLength = $0, e.box.overheadLength = e.secretbox.overheadLength, e.sign = function(l, C) {
11483
+ }, e.box.publicKeyLength = Y0, e.box.secretKeyLength = e0, e.box.sharedKeyLength = f0, e.box.nonceLength = $0, e.box.overheadLength = e.secretbox.overheadLength, e.sign = function(l, C) {
11484
11484
  if (Oe(l, C), C.length !== Ve)
11485
11485
  throw new Error("bad secret key size");
11486
11486
  var w = new Uint8Array(R0 + l.length);
@@ -11545,7 +11545,7 @@ var Zf = { exports: {} };
11545
11545
  Ie(m);
11546
11546
  });
11547
11547
  } else
11548
- typeof gf < "u" && (l = wr, l && l.randomBytes && e.setPRNG(function(w, s) {
11548
+ typeof mf < "u" && (l = Br, l && l.randomBytes && e.setPRNG(function(w, s) {
11549
11549
  var D, m = l.randomBytes(s);
11550
11550
  for (D = 0; D < s; D++)
11551
11551
  w[D] = m[D];
@@ -11553,10 +11553,10 @@ var Zf = { exports: {} };
11553
11553
  }));
11554
11554
  }();
11555
11555
  })(i.exports ? i.exports : self.nacl = self.nacl || {});
11556
- })(Zf);
11557
- var Ec = Zf.exports;
11558
- const Jt = /* @__PURE__ */ $i(Ec);
11559
- class wc {
11556
+ })(Gf);
11557
+ var wc = Gf.exports;
11558
+ const Jt = /* @__PURE__ */ Hi(wc);
11559
+ class Bc {
11560
11560
  string(e) {
11561
11561
  let t;
11562
11562
  return typeof e == "object" && e !== null ? t = JSON.stringify(e) : t = String(e), this.stringToUnicode(t.replace(/\//g, "\\/"));
@@ -11588,8 +11588,8 @@ class wc {
11588
11588
  return typeof e != "string" ? !1 : /^[0-9a-fA-F]+$/.test(e) && e.length % 2 === 0;
11589
11589
  }
11590
11590
  }
11591
- const N0 = new wc();
11592
- class Bc {
11591
+ const N0 = new Bc();
11592
+ class Cc {
11593
11593
  string(e) {
11594
11594
  return N0.string(e);
11595
11595
  }
@@ -11613,8 +11613,8 @@ class Bc {
11613
11613
  return N0.isHex(e);
11614
11614
  }
11615
11615
  }
11616
- const rr = new Bc();
11617
- class Cc {
11616
+ const rr = new Cc();
11617
+ class Mc {
11618
11618
  constructor() {
11619
11619
  Bt(this, "KEY_SIZE");
11620
11620
  Bt(this, "SIGNATURE_SIZE");
@@ -11650,17 +11650,17 @@ class Cc {
11650
11650
  );
11651
11651
  }
11652
11652
  }
11653
- const Er = new Cc();
11654
- class Mc {
11653
+ const wr = new Mc();
11654
+ class Sc {
11655
11655
  constructor() {
11656
11656
  Bt(this, "ec");
11657
- this.ec = new Af.ec("secp256k1");
11657
+ this.ec = new Ef.ec("secp256k1");
11658
11658
  }
11659
11659
  xphereSign(e, t) {
11660
- return Er.signature(e, t);
11660
+ return wr.signature(e, t);
11661
11661
  }
11662
11662
  xphereVerify(e, t, r) {
11663
- return Er.signatureValidity(e, t, r);
11663
+ return wr.signatureValidity(e, t, r);
11664
11664
  }
11665
11665
  generateKeys() {
11666
11666
  const e = this.ec.genKeyPair(), t = e.getPrivate("hex"), r = e.getPublic("hex");
@@ -11685,7 +11685,7 @@ class Mc {
11685
11685
  return K0.lib.WordArray.random(e).toString(K0.enc.Hex);
11686
11686
  }
11687
11687
  }
11688
- const Gi = new Mc(), dt = /* @__PURE__ */ Object.create(null);
11688
+ const Qi = new Sc(), dt = /* @__PURE__ */ Object.create(null);
11689
11689
  dt.open = "0";
11690
11690
  dt.close = "1";
11691
11691
  dt.ping = "2";
@@ -11697,59 +11697,59 @@ const lr = /* @__PURE__ */ Object.create(null);
11697
11697
  Object.keys(dt).forEach((i) => {
11698
11698
  lr[dt[i]] = i;
11699
11699
  });
11700
- const Ii = { type: "error", data: "parser error" }, Gf = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", Qf = typeof ArrayBuffer == "function", Jf = (i) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(i) : i && i.buffer instanceof ArrayBuffer, Qi = ({ type: i, data: e }, t, r) => Gf && e instanceof Blob ? t ? r(e) : tf(e, r) : Qf && (e instanceof ArrayBuffer || Jf(e)) ? t ? r(e) : tf(new Blob([e]), r) : r(dt[i] + (e || "")), tf = (i, e) => {
11700
+ const Ti = { type: "error", data: "parser error" }, Qf = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", Jf = typeof ArrayBuffer == "function", ea = (i) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(i) : i && i.buffer instanceof ArrayBuffer, Ji = ({ type: i, data: e }, t, r) => Qf && e instanceof Blob ? t ? r(e) : rf(e, r) : Jf && (e instanceof ArrayBuffer || ea(e)) ? t ? r(e) : rf(new Blob([e]), r) : r(dt[i] + (e || "")), rf = (i, e) => {
11701
11701
  const t = new FileReader();
11702
11702
  return t.onload = function() {
11703
11703
  const r = t.result.split(",")[1];
11704
11704
  e("b" + (r || ""));
11705
11705
  }, t.readAsDataURL(i);
11706
11706
  };
11707
- function rf(i) {
11707
+ function nf(i) {
11708
11708
  return i instanceof Uint8Array ? i : i instanceof ArrayBuffer ? new Uint8Array(i) : new Uint8Array(i.buffer, i.byteOffset, i.byteLength);
11709
11709
  }
11710
- let Mi;
11711
- function Sc(i, e) {
11712
- if (Gf && i.data instanceof Blob)
11713
- return i.data.arrayBuffer().then(rf).then(e);
11714
- if (Qf && (i.data instanceof ArrayBuffer || Jf(i.data)))
11715
- return e(rf(i.data));
11716
- Qi(i, !1, (t) => {
11717
- Mi || (Mi = new TextEncoder()), e(Mi.encode(t));
11710
+ let Si;
11711
+ function Dc(i, e) {
11712
+ if (Qf && i.data instanceof Blob)
11713
+ return i.data.arrayBuffer().then(nf).then(e);
11714
+ if (Jf && (i.data instanceof ArrayBuffer || ea(i.data)))
11715
+ return e(nf(i.data));
11716
+ Ji(i, !1, (t) => {
11717
+ Si || (Si = new TextEncoder()), e(Si.encode(t));
11718
11718
  });
11719
11719
  }
11720
- const nf = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", ir = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
11721
- for (let i = 0; i < nf.length; i++)
11722
- ir[nf.charCodeAt(i)] = i;
11723
- const Dc = (i) => {
11720
+ const ff = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", ir = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
11721
+ for (let i = 0; i < ff.length; i++)
11722
+ ir[ff.charCodeAt(i)] = i;
11723
+ const Fc = (i) => {
11724
11724
  let e = i.length * 0.75, t = i.length, r, a = 0, n, y, x, u;
11725
11725
  i[i.length - 1] === "=" && (e--, i[i.length - 2] === "=" && e--);
11726
11726
  const c = new ArrayBuffer(e), d = new Uint8Array(c);
11727
11727
  for (r = 0; r < t; r += 4)
11728
11728
  n = ir[i.charCodeAt(r)], y = ir[i.charCodeAt(r + 1)], x = ir[i.charCodeAt(r + 2)], u = ir[i.charCodeAt(r + 3)], d[a++] = n << 2 | y >> 4, d[a++] = (y & 15) << 4 | x >> 2, d[a++] = (x & 3) << 6 | u & 63;
11729
11729
  return c;
11730
- }, Fc = typeof ArrayBuffer == "function", Ji = (i, e) => {
11730
+ }, Rc = typeof ArrayBuffer == "function", en = (i, e) => {
11731
11731
  if (typeof i != "string")
11732
11732
  return {
11733
11733
  type: "message",
11734
- data: ea(i, e)
11734
+ data: ta(i, e)
11735
11735
  };
11736
11736
  const t = i.charAt(0);
11737
11737
  return t === "b" ? {
11738
11738
  type: "message",
11739
- data: Rc(i.substring(1), e)
11739
+ data: kc(i.substring(1), e)
11740
11740
  } : lr[t] ? i.length > 1 ? {
11741
11741
  type: lr[t],
11742
11742
  data: i.substring(1)
11743
11743
  } : {
11744
11744
  type: lr[t]
11745
- } : Ii;
11746
- }, Rc = (i, e) => {
11747
- if (Fc) {
11748
- const t = Dc(i);
11749
- return ea(t, e);
11745
+ } : Ti;
11746
+ }, kc = (i, e) => {
11747
+ if (Rc) {
11748
+ const t = Fc(i);
11749
+ return ta(t, e);
11750
11750
  } else
11751
11751
  return { base64: !0, data: i };
11752
- }, ea = (i, e) => {
11752
+ }, ta = (i, e) => {
11753
11753
  switch (e) {
11754
11754
  case "blob":
11755
11755
  return i instanceof Blob ? i : new Blob([i]);
@@ -11757,27 +11757,27 @@ const Dc = (i) => {
11757
11757
  default:
11758
11758
  return i instanceof ArrayBuffer ? i : i.buffer;
11759
11759
  }
11760
- }, ta = "", kc = (i, e) => {
11760
+ }, ra = "", Pc = (i, e) => {
11761
11761
  const t = i.length, r = new Array(t);
11762
11762
  let a = 0;
11763
11763
  i.forEach((n, y) => {
11764
- Qi(n, !1, (x) => {
11765
- r[y] = x, ++a === t && e(r.join(ta));
11764
+ Ji(n, !1, (x) => {
11765
+ r[y] = x, ++a === t && e(r.join(ra));
11766
11766
  });
11767
11767
  });
11768
- }, Pc = (i, e) => {
11769
- const t = i.split(ta), r = [];
11768
+ }, Ic = (i, e) => {
11769
+ const t = i.split(ra), r = [];
11770
11770
  for (let a = 0; a < t.length; a++) {
11771
- const n = Ji(t[a], e);
11771
+ const n = en(t[a], e);
11772
11772
  if (r.push(n), n.type === "error")
11773
11773
  break;
11774
11774
  }
11775
11775
  return r;
11776
11776
  };
11777
- function Ic() {
11777
+ function Tc() {
11778
11778
  return new TransformStream({
11779
11779
  transform(i, e) {
11780
- Sc(i, (t) => {
11780
+ Dc(i, (t) => {
11781
11781
  const r = t.length;
11782
11782
  let a;
11783
11783
  if (r < 126)
@@ -11796,7 +11796,7 @@ function Ic() {
11796
11796
  }
11797
11797
  });
11798
11798
  }
11799
- let Si;
11799
+ let Di;
11800
11800
  function cr(i) {
11801
11801
  return i.reduce((e, t) => e + t.length, 0);
11802
11802
  }
@@ -11809,8 +11809,8 @@ function dr(i, e) {
11809
11809
  t[a] = i[0][r++], r === i[0].length && (i.shift(), r = 0);
11810
11810
  return i.length && r < i[0].length && (i[0] = i[0].slice(r)), t;
11811
11811
  }
11812
- function Tc(i, e) {
11813
- Si || (Si = new TextDecoder());
11812
+ function Oc(i, e) {
11813
+ Di || (Di = new TextDecoder());
11814
11814
  const t = [];
11815
11815
  let r = 0, a = -1, n = !1;
11816
11816
  return new TransformStream({
@@ -11831,7 +11831,7 @@ function Tc(i, e) {
11831
11831
  break;
11832
11832
  const u = dr(t, 8), c = new DataView(u.buffer, u.byteOffset, u.length), d = c.getUint32(0);
11833
11833
  if (d > Math.pow(2, 21) - 1) {
11834
- x.enqueue(Ii);
11834
+ x.enqueue(Ti);
11835
11835
  break;
11836
11836
  }
11837
11837
  a = d * Math.pow(2, 32) + c.getUint32(4), r = 3;
@@ -11839,22 +11839,22 @@ function Tc(i, e) {
11839
11839
  if (cr(t) < a)
11840
11840
  break;
11841
11841
  const u = dr(t, a);
11842
- x.enqueue(Ji(n ? u : Si.decode(u), e)), r = 0;
11842
+ x.enqueue(en(n ? u : Di.decode(u), e)), r = 0;
11843
11843
  }
11844
11844
  if (a === 0 || a > i) {
11845
- x.enqueue(Ii);
11845
+ x.enqueue(Ti);
11846
11846
  break;
11847
11847
  }
11848
11848
  }
11849
11849
  }
11850
11850
  });
11851
11851
  }
11852
- const ra = 4;
11852
+ const ia = 4;
11853
11853
  function E0(i) {
11854
11854
  if (i)
11855
- return Oc(i);
11855
+ return zc(i);
11856
11856
  }
11857
- function Oc(i) {
11857
+ function zc(i) {
11858
11858
  for (var e in E0.prototype)
11859
11859
  i[e] = E0.prototype[e];
11860
11860
  return i;
@@ -11902,30 +11902,30 @@ E0.prototype.hasListeners = function(i) {
11902
11902
  return !!this.listeners(i).length;
11903
11903
  };
11904
11904
  const V0 = typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")();
11905
- function ia(i, ...e) {
11905
+ function na(i, ...e) {
11906
11906
  return e.reduce((t, r) => (i.hasOwnProperty(r) && (t[r] = i[r]), t), {});
11907
11907
  }
11908
- const zc = V0.setTimeout, Nc = V0.clearTimeout;
11909
- function zr(i, e) {
11910
- e.useNativeTimers ? (i.setTimeoutFn = zc.bind(V0), i.clearTimeoutFn = Nc.bind(V0)) : (i.setTimeoutFn = V0.setTimeout.bind(V0), i.clearTimeoutFn = V0.clearTimeout.bind(V0));
11911
- }
11912
- const qc = 1.33;
11913
- function Lc(i) {
11914
- return typeof i == "string" ? $c(i) : Math.ceil((i.byteLength || i.size) * qc);
11908
+ const Nc = V0.setTimeout, qc = V0.clearTimeout;
11909
+ function Nr(i, e) {
11910
+ e.useNativeTimers ? (i.setTimeoutFn = Nc.bind(V0), i.clearTimeoutFn = qc.bind(V0)) : (i.setTimeoutFn = V0.setTimeout.bind(V0), i.clearTimeoutFn = V0.clearTimeout.bind(V0));
11915
11911
  }
11912
+ const Lc = 1.33;
11916
11913
  function $c(i) {
11914
+ return typeof i == "string" ? Hc(i) : Math.ceil((i.byteLength || i.size) * Lc);
11915
+ }
11916
+ function Hc(i) {
11917
11917
  let e = 0, t = 0;
11918
11918
  for (let r = 0, a = i.length; r < a; r++)
11919
11919
  e = i.charCodeAt(r), e < 128 ? t += 1 : e < 2048 ? t += 2 : e < 55296 || e >= 57344 ? t += 3 : (r++, t += 4);
11920
11920
  return t;
11921
11921
  }
11922
- function Hc(i) {
11922
+ function Uc(i) {
11923
11923
  let e = "";
11924
11924
  for (let t in i)
11925
11925
  i.hasOwnProperty(t) && (e.length && (e += "&"), e += encodeURIComponent(t) + "=" + encodeURIComponent(i[t]));
11926
11926
  return e;
11927
11927
  }
11928
- function Uc(i) {
11928
+ function Wc(i) {
11929
11929
  let e = {}, t = i.split("&");
11930
11930
  for (let r = 0, a = t.length; r < a; r++) {
11931
11931
  let n = t[r].split("=");
@@ -11938,7 +11938,7 @@ class Yc extends Error {
11938
11938
  super(e), this.description = t, this.context = r, this.type = "TransportError";
11939
11939
  }
11940
11940
  }
11941
- class en extends E0 {
11941
+ class tn extends E0 {
11942
11942
  /**
11943
11943
  * Transport abstract constructor.
11944
11944
  *
@@ -11946,7 +11946,7 @@ class en extends E0 {
11946
11946
  * @protected
11947
11947
  */
11948
11948
  constructor(e) {
11949
- super(), this.writable = !1, zr(this, e), this.opts = e, this.query = e.query, this.socket = e.socket;
11949
+ super(), this.writable = !1, Nr(this, e), this.opts = e, this.query = e.query, this.socket = e.socket;
11950
11950
  }
11951
11951
  /**
11952
11952
  * Emits an error.
@@ -11995,7 +11995,7 @@ class en extends E0 {
11995
11995
  * @protected
11996
11996
  */
11997
11997
  onData(e) {
11998
- const t = Ji(e, this.socket.binaryType);
11998
+ const t = en(e, this.socket.binaryType);
11999
11999
  this.onPacket(t);
12000
12000
  }
12001
12001
  /**
@@ -12032,35 +12032,35 @@ class en extends E0 {
12032
12032
  return this.opts.port && (this.opts.secure && +(this.opts.port !== 443) || !this.opts.secure && Number(this.opts.port) !== 80) ? ":" + this.opts.port : "";
12033
12033
  }
12034
12034
  _query(e) {
12035
- const t = Hc(e);
12035
+ const t = Uc(e);
12036
12036
  return t.length ? "?" + t : "";
12037
12037
  }
12038
12038
  }
12039
- const na = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""), Ti = 64, Wc = {};
12040
- let ff = 0, hr = 0, af;
12041
- function sf(i) {
12039
+ const fa = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""), Oi = 64, Kc = {};
12040
+ let af = 0, hr = 0, sf;
12041
+ function of(i) {
12042
12042
  let e = "";
12043
12043
  do
12044
- e = na[i % Ti] + e, i = Math.floor(i / Ti);
12044
+ e = fa[i % Oi] + e, i = Math.floor(i / Oi);
12045
12045
  while (i > 0);
12046
12046
  return e;
12047
12047
  }
12048
- function fa() {
12049
- const i = sf(+/* @__PURE__ */ new Date());
12050
- return i !== af ? (ff = 0, af = i) : i + "." + sf(ff++);
12048
+ function aa() {
12049
+ const i = of(+/* @__PURE__ */ new Date());
12050
+ return i !== sf ? (af = 0, sf = i) : i + "." + of(af++);
12051
12051
  }
12052
- for (; hr < Ti; hr++)
12053
- Wc[na[hr]] = hr;
12054
- let aa = !1;
12052
+ for (; hr < Oi; hr++)
12053
+ Kc[fa[hr]] = hr;
12054
+ let sa = !1;
12055
12055
  try {
12056
- aa = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
12056
+ sa = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
12057
12057
  } catch {
12058
12058
  }
12059
- const Kc = aa;
12060
- function sa(i) {
12059
+ const jc = sa;
12060
+ function oa(i) {
12061
12061
  const e = i.xdomain;
12062
12062
  try {
12063
- if (typeof XMLHttpRequest < "u" && (!e || Kc))
12063
+ if (typeof XMLHttpRequest < "u" && (!e || jc))
12064
12064
  return new XMLHttpRequest();
12065
12065
  } catch {
12066
12066
  }
@@ -12070,14 +12070,14 @@ function sa(i) {
12070
12070
  } catch {
12071
12071
  }
12072
12072
  }
12073
- function jc() {
12073
+ function Vc() {
12074
12074
  }
12075
- const Vc = function() {
12076
- return new sa({
12075
+ const Xc = function() {
12076
+ return new oa({
12077
12077
  xdomain: !1
12078
12078
  }).responseType != null;
12079
12079
  }();
12080
- class Xc extends en {
12080
+ class Zc extends tn {
12081
12081
  /**
12082
12082
  * XHR Polling constructor.
12083
12083
  *
@@ -12091,7 +12091,7 @@ class Xc extends en {
12091
12091
  a || (a = r ? "443" : "80"), this.xd = typeof location < "u" && e.hostname !== location.hostname || a !== e.port;
12092
12092
  }
12093
12093
  const t = e && e.forceBase64;
12094
- this.supportsBinary = Vc && !t, this.opts.withCredentials && (this.cookieJar = void 0);
12094
+ this.supportsBinary = Xc && !t, this.opts.withCredentials && (this.cookieJar = void 0);
12095
12095
  }
12096
12096
  get name() {
12097
12097
  return "polling";
@@ -12145,7 +12145,7 @@ class Xc extends en {
12145
12145
  return this.onClose({ description: "transport closed by the server" }), !1;
12146
12146
  this.onPacket(r);
12147
12147
  };
12148
- Pc(e, this.socket.binaryType).forEach(t), this.readyState !== "closed" && (this.polling = !1, this.emitReserved("pollComplete"), this.readyState === "open" && this.poll());
12148
+ Ic(e, this.socket.binaryType).forEach(t), this.readyState !== "closed" && (this.polling = !1, this.emitReserved("pollComplete"), this.readyState === "open" && this.poll());
12149
12149
  }
12150
12150
  /**
12151
12151
  * For polling, send a close packet.
@@ -12165,7 +12165,7 @@ class Xc extends en {
12165
12165
  * @protected
12166
12166
  */
12167
12167
  write(e) {
12168
- this.writable = !1, kc(e, (t) => {
12168
+ this.writable = !1, Pc(e, (t) => {
12169
12169
  this.doWrite(t, () => {
12170
12170
  this.writable = !0, this.emitReserved("drain");
12171
12171
  });
@@ -12178,7 +12178,7 @@ class Xc extends en {
12178
12178
  */
12179
12179
  uri() {
12180
12180
  const e = this.opts.secure ? "https" : "http", t = this.query || {};
12181
- return this.opts.timestampRequests !== !1 && (t[this.opts.timestampParam] = fa()), !this.supportsBinary && !t.sid && (t.b64 = 1), this.createUri(e, t);
12181
+ return this.opts.timestampRequests !== !1 && (t[this.opts.timestampParam] = aa()), !this.supportsBinary && !t.sid && (t.b64 = 1), this.createUri(e, t);
12182
12182
  }
12183
12183
  /**
12184
12184
  * Creates a request.
@@ -12225,7 +12225,7 @@ class at extends E0 {
12225
12225
  * @package
12226
12226
  */
12227
12227
  constructor(e, t) {
12228
- super(), zr(this, t), this.opts = t, this.method = t.method || "GET", this.uri = e, this.data = t.data !== void 0 ? t.data : null, this.create();
12228
+ super(), Nr(this, t), this.opts = t, this.method = t.method || "GET", this.uri = e, this.data = t.data !== void 0 ? t.data : null, this.create();
12229
12229
  }
12230
12230
  /**
12231
12231
  * Creates the XHR object and sends the request.
@@ -12234,9 +12234,9 @@ class at extends E0 {
12234
12234
  */
12235
12235
  create() {
12236
12236
  var e;
12237
- const t = ia(this.opts, "agent", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "autoUnref");
12237
+ const t = na(this.opts, "agent", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "autoUnref");
12238
12238
  t.xdomain = !!this.opts.xd;
12239
- const r = this.xhr = new sa(t);
12239
+ const r = this.xhr = new oa(t);
12240
12240
  try {
12241
12241
  r.open(this.method, this.uri, !0);
12242
12242
  try {
@@ -12285,7 +12285,7 @@ class at extends E0 {
12285
12285
  */
12286
12286
  cleanup(e) {
12287
12287
  if (!(typeof this.xhr > "u" || this.xhr === null)) {
12288
- if (this.xhr.onreadystatechange = jc, e)
12288
+ if (this.xhr.onreadystatechange = Vc, e)
12289
12289
  try {
12290
12290
  this.xhr.abort();
12291
12291
  } catch {
@@ -12315,18 +12315,18 @@ at.requestsCount = 0;
12315
12315
  at.requests = {};
12316
12316
  if (typeof document < "u") {
12317
12317
  if (typeof attachEvent == "function")
12318
- attachEvent("onunload", of);
12318
+ attachEvent("onunload", cf);
12319
12319
  else if (typeof addEventListener == "function") {
12320
12320
  const i = "onpagehide" in V0 ? "pagehide" : "unload";
12321
- addEventListener(i, of, !1);
12321
+ addEventListener(i, cf, !1);
12322
12322
  }
12323
12323
  }
12324
- function of() {
12324
+ function cf() {
12325
12325
  for (let i in at.requests)
12326
12326
  at.requests.hasOwnProperty(i) && at.requests[i].abort();
12327
12327
  }
12328
- const tn = typeof Promise == "function" && typeof Promise.resolve == "function" ? (e) => Promise.resolve().then(e) : (e, t) => t(e, 0), ur = V0.WebSocket || V0.MozWebSocket, cf = !0, Zc = "arraybuffer", df = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
12329
- class Gc extends en {
12328
+ const rn = typeof Promise == "function" && typeof Promise.resolve == "function" ? (e) => Promise.resolve().then(e) : (e, t) => t(e, 0), ur = V0.WebSocket || V0.MozWebSocket, df = !0, Gc = "arraybuffer", hf = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
12329
+ class Qc extends tn {
12330
12330
  /**
12331
12331
  * WebSocket transport constructor.
12332
12332
  *
@@ -12342,10 +12342,10 @@ class Gc extends en {
12342
12342
  doOpen() {
12343
12343
  if (!this.check())
12344
12344
  return;
12345
- const e = this.uri(), t = this.opts.protocols, r = df ? {} : ia(this.opts, "agent", "perMessageDeflate", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "localAddress", "protocolVersion", "origin", "maxPayload", "family", "checkServerIdentity");
12345
+ const e = this.uri(), t = this.opts.protocols, r = hf ? {} : na(this.opts, "agent", "perMessageDeflate", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "localAddress", "protocolVersion", "origin", "maxPayload", "family", "checkServerIdentity");
12346
12346
  this.opts.extraHeaders && (r.headers = this.opts.extraHeaders);
12347
12347
  try {
12348
- this.ws = cf && !df ? t ? new ur(e, t) : new ur(e) : new ur(e, t, r);
12348
+ this.ws = df && !hf ? t ? new ur(e, t) : new ur(e) : new ur(e, t, r);
12349
12349
  } catch (a) {
12350
12350
  return this.emitReserved("error", a);
12351
12351
  }
@@ -12368,13 +12368,13 @@ class Gc extends en {
12368
12368
  this.writable = !1;
12369
12369
  for (let t = 0; t < e.length; t++) {
12370
12370
  const r = e[t], a = t === e.length - 1;
12371
- Qi(r, this.supportsBinary, (n) => {
12371
+ Ji(r, this.supportsBinary, (n) => {
12372
12372
  const y = {};
12373
12373
  try {
12374
- cf && this.ws.send(n);
12374
+ df && this.ws.send(n);
12375
12375
  } catch {
12376
12376
  }
12377
- a && tn(() => {
12377
+ a && rn(() => {
12378
12378
  this.writable = !0, this.emitReserved("drain");
12379
12379
  }, this.setTimeoutFn);
12380
12380
  });
@@ -12390,7 +12390,7 @@ class Gc extends en {
12390
12390
  */
12391
12391
  uri() {
12392
12392
  const e = this.opts.secure ? "wss" : "ws", t = this.query || {};
12393
- return this.opts.timestampRequests && (t[this.opts.timestampParam] = fa()), this.supportsBinary || (t.b64 = 1), this.createUri(e, t);
12393
+ return this.opts.timestampRequests && (t[this.opts.timestampParam] = aa()), this.supportsBinary || (t.b64 = 1), this.createUri(e, t);
12394
12394
  }
12395
12395
  /**
12396
12396
  * Feature detection for WebSocket.
@@ -12402,7 +12402,7 @@ class Gc extends en {
12402
12402
  return !!ur;
12403
12403
  }
12404
12404
  }
12405
- class Qc extends en {
12405
+ class Jc extends tn {
12406
12406
  get name() {
12407
12407
  return "webtransport";
12408
12408
  }
@@ -12413,7 +12413,7 @@ class Qc extends en {
12413
12413
  this.onError("webtransport error", e);
12414
12414
  }), this.transport.ready.then(() => {
12415
12415
  this.transport.createBidirectionalStream().then((e) => {
12416
- const t = Tc(Number.MAX_SAFE_INTEGER, this.socket.binaryType), r = e.readable.pipeThrough(t).getReader(), a = Ic();
12416
+ const t = Oc(Number.MAX_SAFE_INTEGER, this.socket.binaryType), r = e.readable.pipeThrough(t).getReader(), a = Tc();
12417
12417
  a.readable.pipeTo(e.writable), this.writer = a.writable.getWriter();
12418
12418
  const n = () => {
12419
12419
  r.read().then(({ done: x, value: u }) => {
@@ -12432,7 +12432,7 @@ class Qc extends en {
12432
12432
  for (let t = 0; t < e.length; t++) {
12433
12433
  const r = e[t], a = t === e.length - 1;
12434
12434
  this.writer.write(r).then(() => {
12435
- a && tn(() => {
12435
+ a && rn(() => {
12436
12436
  this.writable = !0, this.emitReserved("drain");
12437
12437
  }, this.setTimeoutFn);
12438
12438
  });
@@ -12443,11 +12443,11 @@ class Qc extends en {
12443
12443
  (e = this.transport) === null || e === void 0 || e.close();
12444
12444
  }
12445
12445
  }
12446
- const Jc = {
12447
- websocket: Gc,
12448
- webtransport: Qc,
12449
- polling: Xc
12450
- }, ed = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, td = [
12446
+ const ed = {
12447
+ websocket: Qc,
12448
+ webtransport: Jc,
12449
+ polling: Zc
12450
+ }, td = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, rd = [
12451
12451
  "source",
12452
12452
  "protocol",
12453
12453
  "authority",
@@ -12463,27 +12463,27 @@ const Jc = {
12463
12463
  "query",
12464
12464
  "anchor"
12465
12465
  ];
12466
- function Oi(i) {
12466
+ function zi(i) {
12467
12467
  if (i.length > 2e3)
12468
12468
  throw "URI too long";
12469
12469
  const e = i, t = i.indexOf("["), r = i.indexOf("]");
12470
12470
  t != -1 && r != -1 && (i = i.substring(0, t) + i.substring(t, r).replace(/:/g, ";") + i.substring(r, i.length));
12471
- let a = ed.exec(i || ""), n = {}, y = 14;
12471
+ let a = td.exec(i || ""), n = {}, y = 14;
12472
12472
  for (; y--; )
12473
- n[td[y]] = a[y] || "";
12474
- return t != -1 && r != -1 && (n.source = e, n.host = n.host.substring(1, n.host.length - 1).replace(/;/g, ":"), n.authority = n.authority.replace("[", "").replace("]", "").replace(/;/g, ":"), n.ipv6uri = !0), n.pathNames = rd(n, n.path), n.queryKey = id(n, n.query), n;
12473
+ n[rd[y]] = a[y] || "";
12474
+ return t != -1 && r != -1 && (n.source = e, n.host = n.host.substring(1, n.host.length - 1).replace(/;/g, ":"), n.authority = n.authority.replace("[", "").replace("]", "").replace(/;/g, ":"), n.ipv6uri = !0), n.pathNames = id(n, n.path), n.queryKey = nd(n, n.query), n;
12475
12475
  }
12476
- function rd(i, e) {
12476
+ function id(i, e) {
12477
12477
  const t = /\/{2,9}/g, r = e.replace(t, "/").split("/");
12478
12478
  return (e.slice(0, 1) == "/" || e.length === 0) && r.splice(0, 1), e.slice(-1) == "/" && r.splice(r.length - 1, 1), r;
12479
12479
  }
12480
- function id(i, e) {
12480
+ function nd(i, e) {
12481
12481
  const t = {};
12482
12482
  return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g, function(r, a, n) {
12483
12483
  a && (t[a] = n);
12484
12484
  }), t;
12485
12485
  }
12486
- let oa = class Ot extends E0 {
12486
+ let ca = class Ot extends E0 {
12487
12487
  /**
12488
12488
  * Socket constructor.
12489
12489
  *
@@ -12491,7 +12491,7 @@ let oa = class Ot extends E0 {
12491
12491
  * @param {Object} opts - options
12492
12492
  */
12493
12493
  constructor(e, t = {}) {
12494
- super(), this.binaryType = Zc, this.writeBuffer = [], e && typeof e == "object" && (t = e, e = null), e ? (e = Oi(e), t.hostname = e.host, t.secure = e.protocol === "https" || e.protocol === "wss", t.port = e.port, e.query && (t.query = e.query)) : t.host && (t.hostname = Oi(t.host).host), zr(this, t), this.secure = t.secure != null ? t.secure : typeof location < "u" && location.protocol === "https:", t.hostname && !t.port && (t.port = this.secure ? "443" : "80"), this.hostname = t.hostname || (typeof location < "u" ? location.hostname : "localhost"), this.port = t.port || (typeof location < "u" && location.port ? location.port : this.secure ? "443" : "80"), this.transports = t.transports || [
12494
+ super(), this.binaryType = Gc, this.writeBuffer = [], e && typeof e == "object" && (t = e, e = null), e ? (e = zi(e), t.hostname = e.host, t.secure = e.protocol === "https" || e.protocol === "wss", t.port = e.port, e.query && (t.query = e.query)) : t.host && (t.hostname = zi(t.host).host), Nr(this, t), this.secure = t.secure != null ? t.secure : typeof location < "u" && location.protocol === "https:", t.hostname && !t.port && (t.port = this.secure ? "443" : "80"), this.hostname = t.hostname || (typeof location < "u" ? location.hostname : "localhost"), this.port = t.port || (typeof location < "u" && location.port ? location.port : this.secure ? "443" : "80"), this.transports = t.transports || [
12495
12495
  "polling",
12496
12496
  "websocket",
12497
12497
  "webtransport"
@@ -12509,7 +12509,7 @@ let oa = class Ot extends E0 {
12509
12509
  },
12510
12510
  transportOptions: {},
12511
12511
  closeOnBeforeunload: !1
12512
- }, t), this.opts.path = this.opts.path.replace(/\/$/, "") + (this.opts.addTrailingSlash ? "/" : ""), typeof this.opts.query == "string" && (this.opts.query = Uc(this.opts.query)), this.id = null, this.upgrades = null, this.pingInterval = null, this.pingTimeout = null, this.pingTimeoutTimer = null, typeof addEventListener == "function" && (this.opts.closeOnBeforeunload && (this.beforeunloadEventListener = () => {
12512
+ }, t), this.opts.path = this.opts.path.replace(/\/$/, "") + (this.opts.addTrailingSlash ? "/" : ""), typeof this.opts.query == "string" && (this.opts.query = Wc(this.opts.query)), this.id = null, this.upgrades = null, this.pingInterval = null, this.pingTimeout = null, this.pingTimeoutTimer = null, typeof addEventListener == "function" && (this.opts.closeOnBeforeunload && (this.beforeunloadEventListener = () => {
12513
12513
  this.transport && (this.transport.removeAllListeners(), this.transport.close());
12514
12514
  }, addEventListener("beforeunload", this.beforeunloadEventListener, !1)), this.hostname !== "localhost" && (this.offlineEventListener = () => {
12515
12515
  this.onClose("transport close", {
@@ -12526,7 +12526,7 @@ let oa = class Ot extends E0 {
12526
12526
  */
12527
12527
  createTransport(e) {
12528
12528
  const t = Object.assign({}, this.opts.query);
12529
- t.EIO = ra, t.transport = e, this.id && (t.sid = this.id);
12529
+ t.EIO = ia, t.transport = e, this.id && (t.sid = this.id);
12530
12530
  const r = Object.assign({}, this.opts, {
12531
12531
  query: t,
12532
12532
  socket: this,
@@ -12534,7 +12534,7 @@ let oa = class Ot extends E0 {
12534
12534
  secure: this.secure,
12535
12535
  port: this.port
12536
12536
  }, this.opts.transportOptions[e]);
12537
- return new Jc[e](r);
12537
+ return new ed[e](r);
12538
12538
  }
12539
12539
  /**
12540
12540
  * Initializes transport to use and starts probe.
@@ -12702,7 +12702,7 @@ let oa = class Ot extends E0 {
12702
12702
  let t = 1;
12703
12703
  for (let r = 0; r < this.writeBuffer.length; r++) {
12704
12704
  const a = this.writeBuffer[r].data;
12705
- if (a && (t += Lc(a)), r > 0 && t > this.maxPayload)
12705
+ if (a && (t += $c(a)), r > 0 && t > this.maxPayload)
12706
12706
  return this.writeBuffer.slice(0, r);
12707
12707
  t += 2;
12708
12708
  }
@@ -12788,16 +12788,16 @@ let oa = class Ot extends E0 {
12788
12788
  return t;
12789
12789
  }
12790
12790
  };
12791
- oa.protocol = ra;
12792
- function nd(i, e = "", t) {
12791
+ ca.protocol = ia;
12792
+ function fd(i, e = "", t) {
12793
12793
  let r = i;
12794
- t = t || typeof location < "u" && location, i == null && (i = t.protocol + "//" + t.host), typeof i == "string" && (i.charAt(0) === "/" && (i.charAt(1) === "/" ? i = t.protocol + i : i = t.host + i), /^(https?|wss?):\/\//.test(i) || (typeof t < "u" ? i = t.protocol + "//" + i : i = "https://" + i), r = Oi(i)), r.port || (/^(http|ws)$/.test(r.protocol) ? r.port = "80" : /^(http|ws)s$/.test(r.protocol) && (r.port = "443")), r.path = r.path || "/";
12794
+ t = t || typeof location < "u" && location, i == null && (i = t.protocol + "//" + t.host), typeof i == "string" && (i.charAt(0) === "/" && (i.charAt(1) === "/" ? i = t.protocol + i : i = t.host + i), /^(https?|wss?):\/\//.test(i) || (typeof t < "u" ? i = t.protocol + "//" + i : i = "https://" + i), r = zi(i)), r.port || (/^(http|ws)$/.test(r.protocol) ? r.port = "80" : /^(http|ws)s$/.test(r.protocol) && (r.port = "443")), r.path = r.path || "/";
12795
12795
  const n = r.host.indexOf(":") !== -1 ? "[" + r.host + "]" : r.host;
12796
12796
  return r.id = r.protocol + "://" + n + ":" + r.port + e, r.href = r.protocol + "://" + n + (t && t.port === r.port ? "" : ":" + r.port), r;
12797
12797
  }
12798
- const fd = typeof ArrayBuffer == "function", ad = (i) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(i) : i.buffer instanceof ArrayBuffer, ca = Object.prototype.toString, sd = typeof Blob == "function" || typeof Blob < "u" && ca.call(Blob) === "[object BlobConstructor]", od = typeof File == "function" || typeof File < "u" && ca.call(File) === "[object FileConstructor]";
12799
- function rn(i) {
12800
- return fd && (i instanceof ArrayBuffer || ad(i)) || sd && i instanceof Blob || od && i instanceof File;
12798
+ const ad = typeof ArrayBuffer == "function", sd = (i) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(i) : i.buffer instanceof ArrayBuffer, da = Object.prototype.toString, od = typeof Blob == "function" || typeof Blob < "u" && da.call(Blob) === "[object BlobConstructor]", cd = typeof File == "function" || typeof File < "u" && da.call(File) === "[object FileConstructor]";
12799
+ function nn(i) {
12800
+ return ad && (i instanceof ArrayBuffer || sd(i)) || od && i instanceof Blob || cd && i instanceof File;
12801
12801
  }
12802
12802
  function xr(i, e) {
12803
12803
  if (!i || typeof i != "object")
@@ -12808,7 +12808,7 @@ function xr(i, e) {
12808
12808
  return !0;
12809
12809
  return !1;
12810
12810
  }
12811
- if (rn(i))
12811
+ if (nn(i))
12812
12812
  return !0;
12813
12813
  if (i.toJSON && typeof i.toJSON == "function" && arguments.length === 1)
12814
12814
  return xr(i.toJSON(), !0);
@@ -12817,33 +12817,33 @@ function xr(i, e) {
12817
12817
  return !0;
12818
12818
  return !1;
12819
12819
  }
12820
- function cd(i) {
12820
+ function dd(i) {
12821
12821
  const e = [], t = i.data, r = i;
12822
- return r.data = zi(t, e), r.attachments = e.length, { packet: r, buffers: e };
12822
+ return r.data = Ni(t, e), r.attachments = e.length, { packet: r, buffers: e };
12823
12823
  }
12824
- function zi(i, e) {
12824
+ function Ni(i, e) {
12825
12825
  if (!i)
12826
12826
  return i;
12827
- if (rn(i)) {
12827
+ if (nn(i)) {
12828
12828
  const t = { _placeholder: !0, num: e.length };
12829
12829
  return e.push(i), t;
12830
12830
  } else if (Array.isArray(i)) {
12831
12831
  const t = new Array(i.length);
12832
12832
  for (let r = 0; r < i.length; r++)
12833
- t[r] = zi(i[r], e);
12833
+ t[r] = Ni(i[r], e);
12834
12834
  return t;
12835
12835
  } else if (typeof i == "object" && !(i instanceof Date)) {
12836
12836
  const t = {};
12837
12837
  for (const r in i)
12838
- Object.prototype.hasOwnProperty.call(i, r) && (t[r] = zi(i[r], e));
12838
+ Object.prototype.hasOwnProperty.call(i, r) && (t[r] = Ni(i[r], e));
12839
12839
  return t;
12840
12840
  }
12841
12841
  return i;
12842
12842
  }
12843
- function dd(i, e) {
12844
- return i.data = Ni(i.data, e), delete i.attachments, i;
12843
+ function hd(i, e) {
12844
+ return i.data = qi(i.data, e), delete i.attachments, i;
12845
12845
  }
12846
- function Ni(i, e) {
12846
+ function qi(i, e) {
12847
12847
  if (!i)
12848
12848
  return i;
12849
12849
  if (i && i._placeholder === !0) {
@@ -12852,13 +12852,13 @@ function Ni(i, e) {
12852
12852
  throw new Error("illegal attachments");
12853
12853
  } else if (Array.isArray(i))
12854
12854
  for (let t = 0; t < i.length; t++)
12855
- i[t] = Ni(i[t], e);
12855
+ i[t] = qi(i[t], e);
12856
12856
  else if (typeof i == "object")
12857
12857
  for (const t in i)
12858
- Object.prototype.hasOwnProperty.call(i, t) && (i[t] = Ni(i[t], e));
12858
+ Object.prototype.hasOwnProperty.call(i, t) && (i[t] = qi(i[t], e));
12859
12859
  return i;
12860
12860
  }
12861
- const hd = [
12861
+ const ud = [
12862
12862
  "connect",
12863
12863
  "connect_error",
12864
12864
  "disconnect",
@@ -12866,12 +12866,12 @@ const hd = [
12866
12866
  "newListener",
12867
12867
  "removeListener"
12868
12868
  // used by the Node.js EventEmitter
12869
- ], ud = 5;
12869
+ ], ld = 5;
12870
12870
  var Ue;
12871
12871
  (function(i) {
12872
12872
  i[i.CONNECT = 0] = "CONNECT", i[i.DISCONNECT = 1] = "DISCONNECT", i[i.EVENT = 2] = "EVENT", i[i.ACK = 3] = "ACK", i[i.CONNECT_ERROR = 4] = "CONNECT_ERROR", i[i.BINARY_EVENT = 5] = "BINARY_EVENT", i[i.BINARY_ACK = 6] = "BINARY_ACK";
12873
12873
  })(Ue || (Ue = {}));
12874
- class ld {
12874
+ class xd {
12875
12875
  /**
12876
12876
  * Encoder constructor
12877
12877
  *
@@ -12907,14 +12907,14 @@ class ld {
12907
12907
  * a list of buffers.
12908
12908
  */
12909
12909
  encodeAsBinary(e) {
12910
- const t = cd(e), r = this.encodeAsString(t.packet), a = t.buffers;
12910
+ const t = dd(e), r = this.encodeAsString(t.packet), a = t.buffers;
12911
12911
  return a.unshift(r), a;
12912
12912
  }
12913
12913
  }
12914
- function hf(i) {
12914
+ function uf(i) {
12915
12915
  return Object.prototype.toString.call(i) === "[object Object]";
12916
12916
  }
12917
- class nn extends E0 {
12917
+ class fn extends E0 {
12918
12918
  /**
12919
12919
  * Decoder constructor
12920
12920
  *
@@ -12935,8 +12935,8 @@ class nn extends E0 {
12935
12935
  throw new Error("got plaintext data when reconstructing a packet");
12936
12936
  t = this.decodeString(e);
12937
12937
  const r = t.type === Ue.BINARY_EVENT;
12938
- r || t.type === Ue.BINARY_ACK ? (t.type = r ? Ue.EVENT : Ue.ACK, this.reconstructor = new xd(t), t.attachments === 0 && super.emitReserved("decoded", t)) : super.emitReserved("decoded", t);
12939
- } else if (rn(e) || e.base64)
12938
+ r || t.type === Ue.BINARY_ACK ? (t.type = r ? Ue.EVENT : Ue.ACK, this.reconstructor = new vd(t), t.attachments === 0 && super.emitReserved("decoded", t)) : super.emitReserved("decoded", t);
12939
+ } else if (nn(e) || e.base64)
12940
12940
  if (this.reconstructor)
12941
12941
  t = this.reconstructor.takeBinaryData(e), t && (this.reconstructor = null, super.emitReserved("decoded", t));
12942
12942
  else
@@ -12989,7 +12989,7 @@ class nn extends E0 {
12989
12989
  }
12990
12990
  if (e.charAt(++t)) {
12991
12991
  const n = this.tryParse(e.substr(t));
12992
- if (nn.isPayloadValid(r.type, n))
12992
+ if (fn.isPayloadValid(r.type, n))
12993
12993
  r.data = n;
12994
12994
  else
12995
12995
  throw new Error("invalid payload");
@@ -13006,14 +13006,14 @@ class nn extends E0 {
13006
13006
  static isPayloadValid(e, t) {
13007
13007
  switch (e) {
13008
13008
  case Ue.CONNECT:
13009
- return hf(t);
13009
+ return uf(t);
13010
13010
  case Ue.DISCONNECT:
13011
13011
  return t === void 0;
13012
13012
  case Ue.CONNECT_ERROR:
13013
- return typeof t == "string" || hf(t);
13013
+ return typeof t == "string" || uf(t);
13014
13014
  case Ue.EVENT:
13015
13015
  case Ue.BINARY_EVENT:
13016
- return Array.isArray(t) && (typeof t[0] == "number" || typeof t[0] == "string" && hd.indexOf(t[0]) === -1);
13016
+ return Array.isArray(t) && (typeof t[0] == "number" || typeof t[0] == "string" && ud.indexOf(t[0]) === -1);
13017
13017
  case Ue.ACK:
13018
13018
  case Ue.BINARY_ACK:
13019
13019
  return Array.isArray(t);
@@ -13026,7 +13026,7 @@ class nn extends E0 {
13026
13026
  this.reconstructor && (this.reconstructor.finishedReconstruction(), this.reconstructor = null);
13027
13027
  }
13028
13028
  }
13029
- class xd {
13029
+ class vd {
13030
13030
  constructor(e) {
13031
13031
  this.packet = e, this.buffers = [], this.reconPack = e;
13032
13032
  }
@@ -13040,7 +13040,7 @@ class xd {
13040
13040
  */
13041
13041
  takeBinaryData(e) {
13042
13042
  if (this.buffers.push(e), this.buffers.length === this.reconPack.attachments) {
13043
- const t = dd(this.reconPack, this.buffers);
13043
+ const t = hd(this.reconPack, this.buffers);
13044
13044
  return this.finishedReconstruction(), t;
13045
13045
  }
13046
13046
  return null;
@@ -13052,21 +13052,21 @@ class xd {
13052
13052
  this.reconPack = null, this.buffers = [];
13053
13053
  }
13054
13054
  }
13055
- const vd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13055
+ const bd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13056
13056
  __proto__: null,
13057
- Decoder: nn,
13058
- Encoder: ld,
13057
+ Decoder: fn,
13058
+ Encoder: xd,
13059
13059
  get PacketType() {
13060
13060
  return Ue;
13061
13061
  },
13062
- protocol: ud
13062
+ protocol: ld
13063
13063
  }, Symbol.toStringTag, { value: "Module" }));
13064
13064
  function et(i, e, t) {
13065
13065
  return i.on(e, t), function() {
13066
13066
  i.off(e, t);
13067
13067
  };
13068
13068
  }
13069
- const bd = Object.freeze({
13069
+ const pd = Object.freeze({
13070
13070
  connect: 1,
13071
13071
  connect_error: 1,
13072
13072
  disconnect: 1,
@@ -13075,7 +13075,7 @@ const bd = Object.freeze({
13075
13075
  newListener: 1,
13076
13076
  removeListener: 1
13077
13077
  });
13078
- class da extends E0 {
13078
+ class ha extends E0 {
13079
13079
  /**
13080
13080
  * `Socket` constructor.
13081
13081
  */
@@ -13190,7 +13190,7 @@ class da extends E0 {
13190
13190
  * @return self
13191
13191
  */
13192
13192
  emit(e, ...t) {
13193
- if (bd.hasOwnProperty(e))
13193
+ if (pd.hasOwnProperty(e))
13194
13194
  throw new Error('"' + e.toString() + '" is a reserved event name');
13195
13195
  if (t.unshift(e), this._opts.retries && !this.flags.fromQueue && !this.flags.volatile)
13196
13196
  return this._addToQueue(t), this;
@@ -13689,15 +13689,15 @@ Vt.prototype.setMax = function(i) {
13689
13689
  Vt.prototype.setJitter = function(i) {
13690
13690
  this.jitter = i;
13691
13691
  };
13692
- class qi extends E0 {
13692
+ class Li extends E0 {
13693
13693
  constructor(e, t) {
13694
13694
  var r;
13695
- super(), this.nsps = {}, this.subs = [], e && typeof e == "object" && (t = e, e = void 0), t = t || {}, t.path = t.path || "/socket.io", this.opts = t, zr(this, t), this.reconnection(t.reconnection !== !1), this.reconnectionAttempts(t.reconnectionAttempts || 1 / 0), this.reconnectionDelay(t.reconnectionDelay || 1e3), this.reconnectionDelayMax(t.reconnectionDelayMax || 5e3), this.randomizationFactor((r = t.randomizationFactor) !== null && r !== void 0 ? r : 0.5), this.backoff = new Vt({
13695
+ super(), this.nsps = {}, this.subs = [], e && typeof e == "object" && (t = e, e = void 0), t = t || {}, t.path = t.path || "/socket.io", this.opts = t, Nr(this, t), this.reconnection(t.reconnection !== !1), this.reconnectionAttempts(t.reconnectionAttempts || 1 / 0), this.reconnectionDelay(t.reconnectionDelay || 1e3), this.reconnectionDelayMax(t.reconnectionDelayMax || 5e3), this.randomizationFactor((r = t.randomizationFactor) !== null && r !== void 0 ? r : 0.5), this.backoff = new Vt({
13696
13696
  min: this.reconnectionDelay(),
13697
13697
  max: this.reconnectionDelayMax(),
13698
13698
  jitter: this.randomizationFactor()
13699
13699
  }), this.timeout(t.timeout == null ? 2e4 : t.timeout), this._readyState = "closed", this.uri = e;
13700
- const a = t.parser || vd;
13700
+ const a = t.parser || bd;
13701
13701
  this.encoder = new a.Encoder(), this.decoder = new a.Decoder(), this._autoConnect = t.autoConnect !== !1, this._autoConnect && this.open();
13702
13702
  }
13703
13703
  reconnection(e) {
@@ -13740,7 +13740,7 @@ class qi extends E0 {
13740
13740
  open(e) {
13741
13741
  if (~this._readyState.indexOf("open"))
13742
13742
  return this;
13743
- this.engine = new oa(this.uri, this.opts);
13743
+ this.engine = new ca(this.uri, this.opts);
13744
13744
  const t = this.engine, r = this;
13745
13745
  this._readyState = "opening", this.skipReconnect = !1;
13746
13746
  const a = et(t, "open", function() {
@@ -13803,7 +13803,7 @@ class qi extends E0 {
13803
13803
  * @private
13804
13804
  */
13805
13805
  ondecoded(e) {
13806
- tn(() => {
13806
+ rn(() => {
13807
13807
  this.emitReserved("packet", e);
13808
13808
  }, this.setTimeoutFn);
13809
13809
  }
@@ -13823,7 +13823,7 @@ class qi extends E0 {
13823
13823
  */
13824
13824
  socket(e, t) {
13825
13825
  let r = this.nsps[e];
13826
- return r ? this._autoConnect && !r.active && r.connect() : (r = new da(this, e, t), this.nsps[e] = r), r;
13826
+ return r ? this._autoConnect && !r.active && r.connect() : (r = new ha(this, e, t), this.nsps[e] = r), r;
13827
13827
  }
13828
13828
  /**
13829
13829
  * Called upon a socket close.
@@ -13918,31 +13918,31 @@ class qi extends E0 {
13918
13918
  const er = {};
13919
13919
  function vr(i, e) {
13920
13920
  typeof i == "object" && (e = i, i = void 0), e = e || {};
13921
- const t = nd(i, e.path || "/socket.io"), r = t.source, a = t.id, n = t.path, y = er[a] && n in er[a].nsps, x = e.forceNew || e["force new connection"] || e.multiplex === !1 || y;
13921
+ const t = fd(i, e.path || "/socket.io"), r = t.source, a = t.id, n = t.path, y = er[a] && n in er[a].nsps, x = e.forceNew || e["force new connection"] || e.multiplex === !1 || y;
13922
13922
  let u;
13923
- return x ? u = new qi(r, e) : (er[a] || (er[a] = new qi(r, e)), u = er[a]), t.query && !e.query && (e.query = t.queryKey), u.socket(t.path, e);
13923
+ return x ? u = new Li(r, e) : (er[a] || (er[a] = new Li(r, e)), u = er[a]), t.query && !e.query && (e.query = t.queryKey), u.socket(t.path, e);
13924
13924
  }
13925
13925
  Object.assign(vr, {
13926
- Manager: qi,
13927
- Socket: da,
13926
+ Manager: Li,
13927
+ Socket: ha,
13928
13928
  io: vr,
13929
13929
  connect: vr
13930
13930
  });
13931
- const pd = "https://ws.zigap.io", Mt = class Mt {
13931
+ const yd = "https://ws.zigap.io", Mt = class Mt {
13932
13932
  constructor() {
13933
13933
  Bt(this, "socket");
13934
- this.socket = vr(pd);
13934
+ this.socket = vr(yd);
13935
13935
  }
13936
13936
  static getInstance() {
13937
13937
  return Mt.instance || (Mt.instance = new Mt()), Mt.instance;
13938
13938
  }
13939
13939
  };
13940
13940
  Bt(Mt, "instance");
13941
- let Li = Mt;
13942
- class yd {
13941
+ let $i = Mt;
13942
+ class gd {
13943
13943
  constructor() {
13944
13944
  Bt(this, "socketInstance");
13945
- this.socketInstance = Li.getInstance();
13945
+ this.socketInstance = $i.getInstance();
13946
13946
  }
13947
13947
  joinRoom(e) {
13948
13948
  this.socketInstance.socket.emit("joinRoom", e);
@@ -13967,8 +13967,8 @@ class yd {
13967
13967
  e === "accountInfo" ? this.socketInstance.socket.off("accountInfo") : e === "requestMessage" ? this.socketInstance.socket.off("requestMessage") : e === "addressProvide" && this.socketInstance.socket.off("addressProvide");
13968
13968
  }
13969
13969
  }
13970
- const xt = new yd();
13971
- class gd {
13970
+ const xt = new gd();
13971
+ class md {
13972
13972
  // 타입 가드 함수
13973
13973
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13974
13974
  isAccountCryptoType(e) {
@@ -14020,7 +14020,7 @@ class gd {
14020
14020
 
14021
14021
  Nonce: ${r}`, await this.sendMessage(e, t);
14022
14022
  const { publicKey: n, signature: y, address: x, network: u, nickName: c } = await this.getAccountCrypto();
14023
- if (!Gi.xphereVerify(t, n, y))
14023
+ if (!Qi.xphereVerify(t, n, y))
14024
14024
  throw new Error("Verification failed");
14025
14025
  return { address: x, network: u, signature: y, publicKey: n, nickName: c };
14026
14026
  } else
@@ -14032,8 +14032,8 @@ Nonce: ${r}`, await this.sendMessage(e, t);
14032
14032
  }
14033
14033
  }
14034
14034
  }
14035
- const md = new gd();
14036
- class _d {
14035
+ const _d = new md();
14036
+ class Ad {
14037
14037
  generateQrCode(e, t, r, a) {
14038
14038
  const n = K0.lib.WordArray.random(16).toString(K0.enc.Hex);
14039
14039
  let y = "";
@@ -14043,8 +14043,8 @@ class _d {
14043
14043
  };
14044
14044
  }
14045
14045
  }
14046
- const fn = new _d();
14047
- var ha = { exports: {} };
14046
+ const an = new Ad();
14047
+ var ua = { exports: {} };
14048
14048
  (function(i, e) {
14049
14049
  (function(t, r) {
14050
14050
  i.exports = r();
@@ -14114,8 +14114,8 @@ var ha = { exports: {} };
14114
14114
  if (typeof T == "string" && !/Z$/i.test(T)) {
14115
14115
  var o = T.match(k);
14116
14116
  if (o) {
14117
- var A = o[2] - 1 || 0, W = (o[7] || "0").substring(0, 3);
14118
- return S ? new Date(Date.UTC(o[1], A, o[3] || 1, o[4] || 0, o[5] || 0, o[6] || 0, W)) : new Date(o[1], A, o[3] || 1, o[4] || 0, o[5] || 0, o[6] || 0, W);
14117
+ var A = o[2] - 1 || 0, Y = (o[7] || "0").substring(0, 3);
14118
+ return S ? new Date(Date.UTC(o[1], A, o[3] || 1, o[4] || 0, o[5] || 0, o[6] || 0, Y)) : new Date(o[1], A, o[3] || 1, o[4] || 0, o[5] || 0, o[6] || 0, Y);
14119
14119
  }
14120
14120
  }
14121
14121
  return new Date(T);
@@ -14144,38 +14144,38 @@ var ha = { exports: {} };
14144
14144
  var T = this, S = !!_.u(I) || I, o = _.p(E), A = function(Ce, we) {
14145
14145
  var _0 = _.w(T.$u ? Date.UTC(T.$y, we, Ce) : new Date(T.$y, we, Ce), T);
14146
14146
  return S ? _0 : _0.endOf(c);
14147
- }, W = function(Ce, we) {
14147
+ }, Y = function(Ce, we) {
14148
14148
  return _.w(T.toDate()[Ce].apply(T.toDate("s"), (S ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(we)), T);
14149
- }, K = this.$W, Y = this.$M, J = this.$D, se = "set" + (this.$u ? "UTC" : "");
14149
+ }, K = this.$W, W = this.$M, J = this.$D, se = "set" + (this.$u ? "UTC" : "");
14150
14150
  switch (o) {
14151
14151
  case M:
14152
14152
  return S ? A(1, 0) : A(31, 11);
14153
14153
  case v:
14154
- return S ? A(1, Y) : A(0, Y + 1);
14154
+ return S ? A(1, W) : A(0, W + 1);
14155
14155
  case d:
14156
14156
  var Ee = this.$locale().weekStart || 0, ge = (K < Ee ? K + 7 : K) - Ee;
14157
- return A(S ? J - ge : J + (6 - ge), Y);
14157
+ return A(S ? J - ge : J + (6 - ge), W);
14158
14158
  case c:
14159
14159
  case B:
14160
- return W(se + "Hours", 0);
14160
+ return Y(se + "Hours", 0);
14161
14161
  case u:
14162
- return W(se + "Minutes", 1);
14162
+ return Y(se + "Minutes", 1);
14163
14163
  case x:
14164
- return W(se + "Seconds", 2);
14164
+ return Y(se + "Seconds", 2);
14165
14165
  case y:
14166
- return W(se + "Milliseconds", 3);
14166
+ return Y(se + "Milliseconds", 3);
14167
14167
  default:
14168
14168
  return this.clone();
14169
14169
  }
14170
14170
  }, g.endOf = function(E) {
14171
14171
  return this.startOf(E, !1);
14172
14172
  }, g.$set = function(E, I) {
14173
- var T, S = _.p(E), o = "set" + (this.$u ? "UTC" : ""), A = (T = {}, T[c] = o + "Date", T[B] = o + "Date", T[v] = o + "Month", T[M] = o + "FullYear", T[u] = o + "Hours", T[x] = o + "Minutes", T[y] = o + "Seconds", T[n] = o + "Milliseconds", T)[S], W = S === c ? this.$D + (I - this.$W) : I;
14173
+ var T, S = _.p(E), o = "set" + (this.$u ? "UTC" : ""), A = (T = {}, T[c] = o + "Date", T[B] = o + "Date", T[v] = o + "Month", T[M] = o + "FullYear", T[u] = o + "Hours", T[x] = o + "Minutes", T[y] = o + "Seconds", T[n] = o + "Milliseconds", T)[S], Y = S === c ? this.$D + (I - this.$W) : I;
14174
14174
  if (S === v || S === M) {
14175
14175
  var K = this.clone().set(B, 1);
14176
- K.$d[A](W), K.init(), this.$d = K.set(B, Math.min(this.$D, K.daysInMonth())).$d;
14176
+ K.$d[A](Y), K.init(), this.$d = K.set(B, Math.min(this.$D, K.daysInMonth())).$d;
14177
14177
  } else
14178
- A && this.$d[A](W);
14178
+ A && this.$d[A](Y);
14179
14179
  return this.init(), this;
14180
14180
  }, g.set = function(E, I) {
14181
14181
  return this.clone().$set(E, I);
@@ -14184,9 +14184,9 @@ var ha = { exports: {} };
14184
14184
  }, g.add = function(E, I) {
14185
14185
  var T, S = this;
14186
14186
  E = Number(E);
14187
- var o = _.p(I), A = function(Y) {
14187
+ var o = _.p(I), A = function(W) {
14188
14188
  var J = $(S);
14189
- return _.w(J.date(J.date() + Math.round(Y * E)), S);
14189
+ return _.w(J.date(J.date() + Math.round(W * E)), S);
14190
14190
  };
14191
14191
  if (o === v)
14192
14192
  return this.set(v, this.$M + E);
@@ -14196,7 +14196,7 @@ var ha = { exports: {} };
14196
14196
  return A(1);
14197
14197
  if (o === d)
14198
14198
  return A(7);
14199
- var W = (T = {}, T[x] = r, T[u] = a, T[y] = t, T)[o] || 1, K = this.$d.getTime() + E * W;
14199
+ var Y = (T = {}, T[x] = r, T[u] = a, T[y] = t, T)[o] || 1, K = this.$d.getTime() + E * Y;
14200
14200
  return _.w(K, this);
14201
14201
  }, g.subtract = function(E, I) {
14202
14202
  return this.add(-1 * E, I);
@@ -14204,7 +14204,7 @@ var ha = { exports: {} };
14204
14204
  var I = this, T = this.$locale();
14205
14205
  if (!this.isValid())
14206
14206
  return T.invalidDate || R;
14207
- var S = E || "YYYY-MM-DDTHH:mm:ssZ", o = _.z(this), A = this.$H, W = this.$m, K = this.$M, Y = T.weekdays, J = T.months, se = T.meridiem, Ee = function(we, _0, Pe, Me) {
14207
+ var S = E || "YYYY-MM-DDTHH:mm:ssZ", o = _.z(this), A = this.$H, Y = this.$m, K = this.$M, W = T.weekdays, J = T.months, se = T.meridiem, Ee = function(we, _0, Pe, Me) {
14208
14208
  return we && (we[_0] || we(I, S)) || Pe[_0].slice(0, Me);
14209
14209
  }, ge = function(we) {
14210
14210
  return _.s(A % 12 || 12, we, "0");
@@ -14234,11 +14234,11 @@ var ha = { exports: {} };
14234
14234
  case "d":
14235
14235
  return String(I.$W);
14236
14236
  case "dd":
14237
- return Ee(T.weekdaysMin, I.$W, Y, 2);
14237
+ return Ee(T.weekdaysMin, I.$W, W, 2);
14238
14238
  case "ddd":
14239
- return Ee(T.weekdaysShort, I.$W, Y, 3);
14239
+ return Ee(T.weekdaysShort, I.$W, W, 3);
14240
14240
  case "dddd":
14241
- return Y[I.$W];
14241
+ return W[I.$W];
14242
14242
  case "H":
14243
14243
  return String(A);
14244
14244
  case "HH":
@@ -14248,13 +14248,13 @@ var ha = { exports: {} };
14248
14248
  case "hh":
14249
14249
  return ge(2);
14250
14250
  case "a":
14251
- return Ce(A, W, !0);
14251
+ return Ce(A, Y, !0);
14252
14252
  case "A":
14253
- return Ce(A, W, !1);
14253
+ return Ce(A, Y, !1);
14254
14254
  case "m":
14255
- return String(W);
14255
+ return String(Y);
14256
14256
  case "mm":
14257
- return _.s(W, 2, "0");
14257
+ return _.s(Y, 2, "0");
14258
14258
  case "s":
14259
14259
  return String(I.$s);
14260
14260
  case "ss":
@@ -14270,8 +14270,8 @@ var ha = { exports: {} };
14270
14270
  }, g.utcOffset = function() {
14271
14271
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
14272
14272
  }, g.diff = function(E, I, T) {
14273
- var S, o = this, A = _.p(I), W = $(E), K = (W.utcOffset() - this.utcOffset()) * r, Y = this - W, J = function() {
14274
- return _.m(o, W);
14273
+ var S, o = this, A = _.p(I), Y = $(E), K = (Y.utcOffset() - this.utcOffset()) * r, W = this - Y, J = function() {
14274
+ return _.m(o, Y);
14275
14275
  };
14276
14276
  switch (A) {
14277
14277
  case M:
@@ -14284,22 +14284,22 @@ var ha = { exports: {} };
14284
14284
  S = J() / 3;
14285
14285
  break;
14286
14286
  case d:
14287
- S = (Y - K) / 6048e5;
14287
+ S = (W - K) / 6048e5;
14288
14288
  break;
14289
14289
  case c:
14290
- S = (Y - K) / 864e5;
14290
+ S = (W - K) / 864e5;
14291
14291
  break;
14292
14292
  case u:
14293
- S = Y / a;
14293
+ S = W / a;
14294
14294
  break;
14295
14295
  case x:
14296
- S = Y / r;
14296
+ S = W / r;
14297
14297
  break;
14298
14298
  case y:
14299
- S = Y / t;
14299
+ S = W / t;
14300
14300
  break;
14301
14301
  default:
14302
- S = Y;
14302
+ S = W;
14303
14303
  }
14304
14304
  return T ? S : _.a(S);
14305
14305
  }, g.daysInMonth = function() {
@@ -14333,9 +14333,9 @@ var ha = { exports: {} };
14333
14333
  return $(1e3 * p);
14334
14334
  }, $.en = U[H], $.Ls = U, $.p = {}, $;
14335
14335
  });
14336
- })(ha);
14337
- var Ad = ha.exports;
14338
- const br = /* @__PURE__ */ $i(Ad), pr = "userInfo", Fd = () => {
14336
+ })(ua);
14337
+ var Ed = ua.exports;
14338
+ const br = /* @__PURE__ */ Hi(Ed), pr = "userInfo", yr = "YYYY-MM-DD HH:MM:ss", Rd = () => {
14339
14339
  const [i, e] = nr(void 0), [t, r] = nr(void 0);
14340
14340
  _t(() => {
14341
14341
  const n = localStorage.getItem(pr);
@@ -14345,8 +14345,8 @@ const br = /* @__PURE__ */ $i(Ad), pr = "userInfo", Fd = () => {
14345
14345
  }
14346
14346
  }, []), _t(() => {
14347
14347
  if (i && i.expire.type !== "NONE") {
14348
- const { type: n, seconds: y } = i.expire, x = br().add(y, "seconds").format("YYYY-MM-DD hh:mm:ss"), u = br(i.issuedDateTime).add(y, "second").format("YYYY-MM-DD hh:mm:ss"), c = n === "EXTEND" ? x : u;
14349
- r(c), br().format("YYYY-MM-DD hh:mm:ss") > c && (localStorage.removeItem(pr), window.location.reload());
14348
+ const { type: n, seconds: y } = i.expire, x = br().add(y, "seconds").format(yr), u = br(i.issuedDateTime).add(y, "second").format(yr), c = n === "EXTEND" ? x : u;
14349
+ r(c), br().format(yr) > c && (localStorage.removeItem(pr), window.location.reload());
14350
14350
  }
14351
14351
  }, [i]);
14352
14352
  const a = () => {
@@ -14363,8 +14363,8 @@ const br = /* @__PURE__ */ $i(Ad), pr = "userInfo", Fd = () => {
14363
14363
  },
14364
14364
  logout: a
14365
14365
  };
14366
- }, ua = "data:image/svg+xml,%3csvg%20width='167'%20height='166'%20viewBox='0%200%20167%20166'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M116.052%20115.296H166.355H166.36V0H51.0675V50.3042H0.759995V165.6H116.052V115.296ZM90.3366%2065.3428L40.21%20115.296H40.4307L40.2551%20115.471H101.014V150.561H15.7981V65.3428H90.3366ZM76.7327%20100.257H151.317V15.0386H66.1006V50.1536L109.424%2050.3042H126.684L126.624%2050.364L126.669%2050.3642L113.846%2063.1431L76.7327%20100.257Z'%20fill='url(%23paint0_linear_2322_66)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2322_66'%20x1='167.74'%20y1='-2.07'%20x2='-3.37985'%20y2='172.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%231349F8'/%3e%3cstop%20offset='1'%20stop-color='%235C13F8'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
14367
- class Ed {
14366
+ }, la = "data:image/svg+xml,%3csvg%20width='167'%20height='166'%20viewBox='0%200%20167%20166'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M116.052%20115.296H166.355H166.36V0H51.0675V50.3042H0.759995V165.6H116.052V115.296ZM90.3366%2065.3428L40.21%20115.296H40.4307L40.2551%20115.471H101.014V150.561H15.7981V65.3428H90.3366ZM76.7327%20100.257H151.317V15.0386H66.1006V50.1536L109.424%2050.3042H126.684L126.624%2050.364L126.669%2050.3642L113.846%2063.1431L76.7327%20100.257Z'%20fill='url(%23paint0_linear_2322_66)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2322_66'%20x1='167.74'%20y1='-2.07'%20x2='-3.37985'%20y2='172.5'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%231349F8'/%3e%3cstop%20offset='1'%20stop-color='%235C13F8'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
14367
+ class wd {
14368
14368
  // Base64URL 인코딩 함수
14369
14369
  base64url(e) {
14370
14370
  return K0.enc.Base64.stringify(K0.enc.Utf8.parse(e)).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
@@ -14377,20 +14377,20 @@ class Ed {
14377
14377
  // token 검증 함수
14378
14378
  verifyToken(e) {
14379
14379
  const [t, r, a] = e.split("."), n = JSON.parse(K0.enc.Utf8.stringify(K0.enc.Base64.parse(r)));
14380
- if (Gi.xphereVerify(n.message, n.publicKey, a))
14380
+ if (Qi.xphereVerify(n.message, n.publicKey, a))
14381
14381
  return n;
14382
14382
  throw new Error("Invalid token");
14383
14383
  }
14384
14384
  getAddress(e) {
14385
- return Er.address(e);
14385
+ return wr.address(e);
14386
14386
  }
14387
14387
  }
14388
- const wd = new Ed(), Bd = {
14388
+ const Bd = new wd(), Cd = {
14389
14389
  Enc: rr,
14390
- Sign: Er,
14390
+ Sign: wr,
14391
14391
  Util: N0,
14392
- Validation: wd
14393
- }, Rd = ({
14392
+ Validation: Bd
14393
+ }, kd = ({
14394
14394
  availableNetworks: i,
14395
14395
  dapp: e,
14396
14396
  url: t,
@@ -14402,7 +14402,7 @@ const wd = new Ed(), Bd = {
14402
14402
  expire: u,
14403
14403
  ...c
14404
14404
  }) => {
14405
- const [d, v] = nr(!0), b = Gi.generateNonce(16), { qrCode: M, roomId: B } = fn.generateQrCode("login", e, t, i);
14405
+ const [d, v] = nr(!0), b = Qi.generateNonce(16), { qrCode: M, roomId: B } = an.generateQrCode("login", e, t, i);
14406
14406
  return _t(() => {
14407
14407
  const R = setTimeout(() => {
14408
14408
  xt.leaveRoom(B), v(!1);
@@ -14412,7 +14412,7 @@ const wd = new Ed(), Bd = {
14412
14412
  (async () => {
14413
14413
  try {
14414
14414
  console.log("roomId", B);
14415
- const k = await md.qrLogin(B, r, b), q = `${r}
14415
+ const k = await _d.qrLogin(B, r, b), q = `${r}
14416
14416
 
14417
14417
  Nonce: ${b}`, F = u.type, P = u.seconds, O = {
14418
14418
  publicKey: k.publicKey,
@@ -14421,8 +14421,8 @@ Nonce: ${b}`, F = u.type, P = u.seconds, O = {
14421
14421
  address: k.address,
14422
14422
  network: k.network,
14423
14423
  nickName: k.nickName,
14424
- token: Bd.Validation.createToken(O, k.signature),
14425
- issuedDateTime: br().format("YYYY-MM-DD hh:mm:ss"),
14424
+ token: Cd.Validation.createToken(O, k.signature),
14425
+ issuedDateTime: br().format(yr),
14426
14426
  expire: F === "NONE" ? { type: F } : { type: F, seconds: P }
14427
14427
  };
14428
14428
  a({ isSuccess: !0 }), localStorage.setItem(pr, JSON.stringify(H));
@@ -14430,16 +14430,16 @@ Nonce: ${b}`, F = u.type, P = u.seconds, O = {
14430
14430
  a({ isSuccess: !1 });
14431
14431
  }
14432
14432
  })();
14433
- }, [a, r]), d ? /* @__PURE__ */ yr.jsx(
14434
- pf,
14433
+ }, [a, r]), d ? /* @__PURE__ */ gr.jsx(
14434
+ yf,
14435
14435
  {
14436
14436
  value: M,
14437
- ...y && { imageSettings: { src: ua, width: x, height: x, excavate: !1 } },
14437
+ ...y && { imageSettings: { src: la, width: x, height: x, excavate: !1 } },
14438
14438
  ...c
14439
14439
  }
14440
- ) : /* @__PURE__ */ yr.jsx("div", { children: "QR loading error" });
14440
+ ) : /* @__PURE__ */ gr.jsx("div", { children: "QR loading error" });
14441
14441
  };
14442
- class Cd {
14442
+ class Md {
14443
14443
  // 타입 가드 함수
14444
14444
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
14445
14445
  isAccountType(e) {
@@ -14462,7 +14462,7 @@ class Cd {
14462
14462
  }
14463
14463
  }
14464
14464
  }
14465
- const Md = new Cd(), kd = ({
14465
+ const Sd = new Md(), Pd = ({
14466
14466
  availableNetworks: i,
14467
14467
  dapp: e,
14468
14468
  url: t,
@@ -14472,7 +14472,7 @@ const Md = new Cd(), kd = ({
14472
14472
  logoSize: y = 30,
14473
14473
  ...x
14474
14474
  }) => {
14475
- const [u, c] = nr(!0), { qrCode: d, roomId: v } = fn.generateQrCode("provide", e, t, i);
14475
+ const [u, c] = nr(!0), { qrCode: d, roomId: v } = an.generateQrCode("provide", e, t, i);
14476
14476
  return _t(() => {
14477
14477
  const b = setTimeout(
14478
14478
  () => {
@@ -14485,7 +14485,7 @@ const Md = new Cd(), kd = ({
14485
14485
  (async () => {
14486
14486
  try {
14487
14487
  console.log("roomId22", v);
14488
- const M = await Md.qrAddressProvide(v), B = {
14488
+ const M = await Sd.qrAddressProvide(v), B = {
14489
14489
  isSuccess: !0,
14490
14490
  address: M.address,
14491
14491
  network: M.network,
@@ -14496,21 +14496,21 @@ const Md = new Cd(), kd = ({
14496
14496
  a({ isSuccess: !1 });
14497
14497
  }
14498
14498
  })();
14499
- }, []), u ? /* @__PURE__ */ yr.jsx(
14500
- pf,
14499
+ }, []), u ? /* @__PURE__ */ gr.jsx(
14500
+ yf,
14501
14501
  {
14502
14502
  value: d,
14503
- ...n && { imageSettings: { src: ua, width: y, height: y, excavate: !1 } },
14503
+ ...n && { imageSettings: { src: la, width: y, height: y, excavate: !1 } },
14504
14504
  ...x
14505
14505
  }
14506
- ) : /* @__PURE__ */ yr.jsx("div", { children: "QR loading error" });
14507
- }, Pd = {
14508
- Qr: fn
14506
+ ) : /* @__PURE__ */ gr.jsx("div", { children: "QR loading error" });
14507
+ }, Id = {
14508
+ Qr: an
14509
14509
  };
14510
14510
  export {
14511
- kd as AddressProvideQR,
14512
- Rd as LoginQR,
14513
- Bd as Xphere,
14514
- Pd as Zigap,
14515
- Fd as useZigap
14511
+ Pd as AddressProvideQR,
14512
+ kd as LoginQR,
14513
+ Cd as Xphere,
14514
+ Id as Zigap,
14515
+ Rd as useZigap
14516
14516
  };