zigap-utils 0.0.24 → 0.0.26

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,8 +1,8 @@
1
1
  "use client";
2
- var ca = Object.defineProperty;
3
- var da = (f, e, t) => e in f ? ca(f, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : f[e] = t;
4
- var wt = (f, e, t) => (da(f, typeof e != "symbol" ? e + "" : e, t), t);
5
- import * as ha from "react";
2
+ var da = Object.defineProperty;
3
+ var ha = (f, e, t) => e in f ? da(f, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : f[e] = t;
4
+ var wt = (f, e, t) => (ha(f, typeof e != "symbol" ? e + "" : e, t), t);
5
+ import * as ua from "react";
6
6
  import nr, { useRef as ei, useState as qf, useEffect as zt } from "react";
7
7
  var Pe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
8
8
  function sn(f) {
@@ -30,7 +30,7 @@ function on(f) {
30
30
  }), t;
31
31
  }
32
32
  var Cf = { exports: {} }, Xt = {};
33
- const cn = /* @__PURE__ */ on(ha);
33
+ const cn = /* @__PURE__ */ on(ua);
34
34
  /**
35
35
  * @license React
36
36
  * react-jsx-runtime.production.min.js
@@ -41,20 +41,20 @@ const cn = /* @__PURE__ */ on(ha);
41
41
  * LICENSE file in the root directory of this source tree.
42
42
  */
43
43
  var ti;
44
- function ua() {
44
+ function la() {
45
45
  if (ti)
46
46
  return Xt;
47
47
  ti = 1;
48
48
  var f = cn, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, a = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
49
49
  function y(x, u, o) {
50
- var c, b = {}, v = null, C = null;
51
- o !== void 0 && (v = "" + o), u.key !== void 0 && (v = "" + u.key), u.ref !== void 0 && (C = u.ref);
50
+ var c, v = {}, b = null, C = null;
51
+ o !== void 0 && (b = "" + o), u.key !== void 0 && (b = "" + u.key), u.ref !== void 0 && (C = u.ref);
52
52
  for (c in u)
53
- r.call(u, c) && !i.hasOwnProperty(c) && (b[c] = u[c]);
53
+ r.call(u, c) && !i.hasOwnProperty(c) && (v[c] = u[c]);
54
54
  if (x && x.defaultProps)
55
55
  for (c in u = x.defaultProps, u)
56
- b[c] === void 0 && (b[c] = u[c]);
57
- return { $$typeof: e, type: x, key: v, ref: C, props: b, _owner: a.current };
56
+ v[c] === void 0 && (v[c] = u[c]);
57
+ return { $$typeof: e, type: x, key: b, ref: C, props: v, _owner: a.current };
58
58
  }
59
59
  return Xt.Fragment = t, Xt.jsx = y, Xt.jsxs = y, Xt;
60
60
  }
@@ -69,9 +69,9 @@ var Zt = {};
69
69
  * LICENSE file in the root directory of this source tree.
70
70
  */
71
71
  var ri;
72
- function la() {
72
+ function xa() {
73
73
  return ri || (ri = 1, process.env.NODE_ENV !== "production" && function() {
74
- var f = cn, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), y = Symbol.for("react.provider"), x = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), o = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), w = Symbol.iterator, R = "@@iterator";
74
+ var f = cn, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), y = Symbol.for("react.provider"), x = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), o = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), w = Symbol.iterator, R = "@@iterator";
75
75
  function k(p) {
76
76
  if (p === null || typeof p != "object")
77
77
  return null;
@@ -99,7 +99,7 @@ function la() {
99
99
  var T = !1, H = !1, $ = !1, K = !1, X = !1, Q;
100
100
  Q = Symbol.for("react.module.reference");
101
101
  function U(p) {
102
- return !!(typeof p == "string" || typeof p == "function" || p === r || p === i || X || p === a || p === o || p === c || K || p === C || T || H || $ || typeof p == "object" && p !== null && (p.$$typeof === v || p.$$typeof === b || p.$$typeof === y || p.$$typeof === x || p.$$typeof === u || // This needs to include all possible module reference object
102
+ return !!(typeof p == "string" || typeof p == "function" || p === r || p === i || X || p === a || p === o || p === c || K || p === C || T || H || $ || typeof p == "object" && p !== null && (p.$$typeof === b || p.$$typeof === v || p.$$typeof === y || p.$$typeof === x || p.$$typeof === u || // This needs to include all possible module reference object
103
103
  // types supported by any Flight configuration anywhere since
104
104
  // we don't know which Flight build this will end up being used
105
105
  // with.
@@ -146,10 +146,10 @@ function la() {
146
146
  return n(L._context) + ".Provider";
147
147
  case u:
148
148
  return A(p, p.render, "ForwardRef");
149
- case b:
149
+ case v:
150
150
  var V = p.displayName || null;
151
151
  return V !== null ? V : d(p.type) || "Memo";
152
- case v: {
152
+ case b: {
153
153
  var ne = p, fe = ne._payload, he = ne._init;
154
154
  try {
155
155
  return d(he(fe));
@@ -336,9 +336,9 @@ function la() {
336
336
  switch (p.$$typeof) {
337
337
  case u:
338
338
  return Oe(p.render);
339
- case b:
339
+ case v:
340
340
  return Ge(p.type, I, L);
341
- case v: {
341
+ case b: {
342
342
  var V = p, ne = V._payload, fe = V._init;
343
343
  try {
344
344
  return Ge(fe(ne), I, L);
@@ -580,7 +580,7 @@ Check the top-level render call using <` + L + ">.");
580
580
  L = I.propTypes;
581
581
  else if (typeof I == "object" && (I.$$typeof === u || // Note: Memo only checks outer props here.
582
582
  // Inner props are checked in the reconciler.
583
- I.$$typeof === b))
583
+ I.$$typeof === v))
584
584
  L = I.propTypes;
585
585
  else
586
586
  return;
@@ -662,15 +662,15 @@ React keys must be passed directly to JSX without using spread:
662
662
  Zt.Fragment = r, Zt.jsx = s, Zt.jsxs = M;
663
663
  }()), Zt;
664
664
  }
665
- process.env.NODE_ENV === "production" ? Cf.exports = ua() : Cf.exports = la();
666
- var vr = Cf.exports, xa = Object.defineProperty, br = Object.getOwnPropertySymbols, dn = Object.prototype.hasOwnProperty, hn = Object.prototype.propertyIsEnumerable, fi = (f, e, t) => e in f ? xa(f, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : f[e] = t, ii = (f, e) => {
665
+ process.env.NODE_ENV === "production" ? Cf.exports = la() : Cf.exports = xa();
666
+ var vr = Cf.exports, va = Object.defineProperty, br = Object.getOwnPropertySymbols, dn = Object.prototype.hasOwnProperty, hn = Object.prototype.propertyIsEnumerable, fi = (f, e, t) => e in f ? va(f, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : f[e] = t, ii = (f, e) => {
667
667
  for (var t in e || (e = {}))
668
668
  dn.call(e, t) && fi(f, t, e[t]);
669
669
  if (br)
670
670
  for (var t of br(e))
671
671
  hn.call(e, t) && fi(f, t, e[t]);
672
672
  return f;
673
- }, va = (f, e) => {
673
+ }, ba = (f, e) => {
674
674
  var t = {};
675
675
  for (var r in f)
676
676
  dn.call(f, r) && e.indexOf(r) < 0 && (t[r] = f[r]);
@@ -687,28 +687,28 @@ var vr = Cf.exports, xa = Object.defineProperty, br = Object.getOwnPropertySymbo
687
687
  var St;
688
688
  ((f) => {
689
689
  const e = class {
690
- constructor(u, o, c, b) {
690
+ constructor(u, o, c, v) {
691
691
  if (this.version = u, this.errorCorrectionLevel = o, this.modules = [], this.isFunction = [], u < e.MIN_VERSION || u > e.MAX_VERSION)
692
692
  throw new RangeError("Version value out of range");
693
- if (b < -1 || b > 7)
693
+ if (v < -1 || v > 7)
694
694
  throw new RangeError("Mask value out of range");
695
695
  this.size = u * 4 + 17;
696
- let v = [];
696
+ let b = [];
697
697
  for (let w = 0; w < this.size; w++)
698
- v.push(!1);
698
+ b.push(!1);
699
699
  for (let w = 0; w < this.size; w++)
700
- this.modules.push(v.slice()), this.isFunction.push(v.slice());
700
+ this.modules.push(b.slice()), this.isFunction.push(b.slice());
701
701
  this.drawFunctionPatterns();
702
702
  const C = this.addEccAndInterleave(c);
703
- if (this.drawCodewords(C), b == -1) {
703
+ if (this.drawCodewords(C), v == -1) {
704
704
  let w = 1e9;
705
705
  for (let R = 0; R < 8; R++) {
706
706
  this.applyMask(R), this.drawFormatBits(R);
707
707
  const k = this.getPenaltyScore();
708
- k < w && (b = R, w = k), this.applyMask(R);
708
+ k < w && (v = R, w = k), this.applyMask(R);
709
709
  }
710
710
  }
711
- i(0 <= b && b <= 7), this.mask = b, this.applyMask(b), this.drawFormatBits(b), this.isFunction = [];
711
+ i(0 <= v && v <= 7), this.mask = v, this.applyMask(v), this.drawFormatBits(v), this.isFunction = [];
712
712
  }
713
713
  static encodeText(u, o) {
714
714
  const c = f.QrSegment.makeSegments(u);
@@ -718,8 +718,8 @@ var St;
718
718
  const c = f.QrSegment.makeBytes(u);
719
719
  return e.encodeSegments([c], o);
720
720
  }
721
- static encodeSegments(u, o, c = 1, b = 40, v = -1, C = !0) {
722
- if (!(e.MIN_VERSION <= c && c <= b && b <= e.MAX_VERSION) || v < -1 || v > 7)
721
+ static encodeSegments(u, o, c = 1, v = 40, b = -1, C = !0) {
722
+ if (!(e.MIN_VERSION <= c && c <= v && v <= e.MAX_VERSION) || b < -1 || b > 7)
723
723
  throw new RangeError("Invalid value");
724
724
  let w, R;
725
725
  for (w = c; ; w++) {
@@ -728,7 +728,7 @@ var St;
728
728
  R = T;
729
729
  break;
730
730
  }
731
- if (w >= b)
731
+ if (w >= v)
732
732
  throw new RangeError("Data too long");
733
733
  }
734
734
  for (const P of [e.Ecc.MEDIUM, e.Ecc.QUARTILE, e.Ecc.HIGH])
@@ -747,7 +747,7 @@ var St;
747
747
  let S = [];
748
748
  for (; S.length * 8 < k.length; )
749
749
  S.push(0);
750
- return k.forEach((P, T) => S[T >>> 3] |= P << 7 - (T & 7)), new e(w, o, S, v);
750
+ return k.forEach((P, T) => S[T >>> 3] |= P << 7 - (T & 7)), new e(w, o, S, b);
751
751
  }
752
752
  getModule(u, o) {
753
753
  return 0 <= u && u < this.size && 0 <= o && o < this.size && this.modules[o][u];
@@ -761,26 +761,26 @@ var St;
761
761
  this.drawFinderPattern(3, 3), this.drawFinderPattern(this.size - 4, 3), this.drawFinderPattern(3, this.size - 4);
762
762
  const u = this.getAlignmentPatternPositions(), o = u.length;
763
763
  for (let c = 0; c < o; c++)
764
- for (let b = 0; b < o; b++)
765
- c == 0 && b == 0 || c == 0 && b == o - 1 || c == o - 1 && b == 0 || this.drawAlignmentPattern(u[c], u[b]);
764
+ for (let v = 0; v < o; v++)
765
+ c == 0 && v == 0 || c == 0 && v == o - 1 || c == o - 1 && v == 0 || this.drawAlignmentPattern(u[c], u[v]);
766
766
  this.drawFormatBits(0), this.drawVersion();
767
767
  }
768
768
  drawFormatBits(u) {
769
769
  const o = this.errorCorrectionLevel.formatBits << 3 | u;
770
770
  let c = o;
771
- for (let v = 0; v < 10; v++)
771
+ for (let b = 0; b < 10; b++)
772
772
  c = c << 1 ^ (c >>> 9) * 1335;
773
- const b = (o << 10 | c) ^ 21522;
774
- i(b >>> 15 == 0);
775
- for (let v = 0; v <= 5; v++)
776
- this.setFunctionModule(8, v, a(b, v));
777
- this.setFunctionModule(8, 7, a(b, 6)), this.setFunctionModule(8, 8, a(b, 7)), this.setFunctionModule(7, 8, a(b, 8));
778
- for (let v = 9; v < 15; v++)
779
- this.setFunctionModule(14 - v, 8, a(b, v));
780
- for (let v = 0; v < 8; v++)
781
- this.setFunctionModule(this.size - 1 - v, 8, a(b, v));
782
- for (let v = 8; v < 15; v++)
783
- this.setFunctionModule(8, this.size - 15 + v, a(b, v));
773
+ const v = (o << 10 | c) ^ 21522;
774
+ i(v >>> 15 == 0);
775
+ for (let b = 0; b <= 5; b++)
776
+ this.setFunctionModule(8, b, a(v, b));
777
+ this.setFunctionModule(8, 7, a(v, 6)), this.setFunctionModule(8, 8, a(v, 7)), this.setFunctionModule(7, 8, a(v, 8));
778
+ for (let b = 9; b < 15; b++)
779
+ this.setFunctionModule(14 - b, 8, a(v, b));
780
+ for (let b = 0; b < 8; b++)
781
+ this.setFunctionModule(this.size - 1 - b, 8, a(v, b));
782
+ for (let b = 8; b < 15; b++)
783
+ this.setFunctionModule(8, this.size - 15 + b, a(v, b));
784
784
  this.setFunctionModule(8, this.size - 8, !0);
785
785
  }
786
786
  drawVersion() {
@@ -792,21 +792,21 @@ var St;
792
792
  const o = this.version << 12 | u;
793
793
  i(o >>> 18 == 0);
794
794
  for (let c = 0; c < 18; c++) {
795
- const b = a(o, c), v = this.size - 11 + c % 3, C = Math.floor(c / 3);
796
- this.setFunctionModule(v, C, b), this.setFunctionModule(C, v, b);
795
+ const v = a(o, c), b = this.size - 11 + c % 3, C = Math.floor(c / 3);
796
+ this.setFunctionModule(b, C, v), this.setFunctionModule(C, b, v);
797
797
  }
798
798
  }
799
799
  drawFinderPattern(u, o) {
800
800
  for (let c = -4; c <= 4; c++)
801
- for (let b = -4; b <= 4; b++) {
802
- const v = Math.max(Math.abs(b), Math.abs(c)), C = u + b, w = o + c;
803
- 0 <= C && C < this.size && 0 <= w && w < this.size && this.setFunctionModule(C, w, v != 2 && v != 4);
801
+ for (let v = -4; v <= 4; v++) {
802
+ const b = Math.max(Math.abs(v), Math.abs(c)), C = u + v, w = o + c;
803
+ 0 <= C && C < this.size && 0 <= w && w < this.size && this.setFunctionModule(C, w, b != 2 && b != 4);
804
804
  }
805
805
  }
806
806
  drawAlignmentPattern(u, o) {
807
807
  for (let c = -2; c <= 2; c++)
808
- for (let b = -2; b <= 2; b++)
809
- this.setFunctionModule(u + b, o + c, Math.max(Math.abs(b), Math.abs(c)) != 1);
808
+ for (let v = -2; v <= 2; v++)
809
+ this.setFunctionModule(u + v, o + c, Math.max(Math.abs(v), Math.abs(c)) != 1);
810
810
  }
811
811
  setFunctionModule(u, o, c) {
812
812
  this.modules[o][u] = c, this.isFunction[o][u] = !0;
@@ -815,11 +815,11 @@ var St;
815
815
  const o = this.version, c = this.errorCorrectionLevel;
816
816
  if (u.length != e.getNumDataCodewords(o, c))
817
817
  throw new RangeError("Invalid argument");
818
- const b = e.NUM_ERROR_CORRECTION_BLOCKS[c.ordinal][o], v = e.ECC_CODEWORDS_PER_BLOCK[c.ordinal][o], C = Math.floor(e.getNumRawDataModules(o) / 8), w = b - C % b, R = Math.floor(C / b);
818
+ const v = e.NUM_ERROR_CORRECTION_BLOCKS[c.ordinal][o], b = e.ECC_CODEWORDS_PER_BLOCK[c.ordinal][o], C = Math.floor(e.getNumRawDataModules(o) / 8), w = v - C % v, R = Math.floor(C / v);
819
819
  let k = [];
820
- const q = e.reedSolomonComputeDivisor(v);
821
- for (let P = 0, T = 0; P < b; P++) {
822
- let H = u.slice(T, T + R - v + (P < w ? 0 : 1));
820
+ const q = e.reedSolomonComputeDivisor(b);
821
+ for (let P = 0, T = 0; P < v; P++) {
822
+ let H = u.slice(T, T + R - b + (P < w ? 0 : 1));
823
823
  T += H.length;
824
824
  const $ = e.reedSolomonComputeRemainder(H, q);
825
825
  P < w && H.push(0), k.push(H.concat($));
@@ -827,7 +827,7 @@ var St;
827
827
  let S = [];
828
828
  for (let P = 0; P < k[0].length; P++)
829
829
  k.forEach((T, H) => {
830
- (P != R - v || H >= w) && S.push(T[P]);
830
+ (P != R - b || H >= w) && S.push(T[P]);
831
831
  });
832
832
  return i(S.length == C), S;
833
833
  }
@@ -837,9 +837,9 @@ var St;
837
837
  let o = 0;
838
838
  for (let c = this.size - 1; c >= 1; c -= 2) {
839
839
  c == 6 && (c = 5);
840
- for (let b = 0; b < this.size; b++)
841
- for (let v = 0; v < 2; v++) {
842
- const C = c - v, R = (c + 1 & 2) == 0 ? this.size - 1 - b : b;
840
+ for (let v = 0; v < this.size; v++)
841
+ for (let b = 0; b < 2; b++) {
842
+ const C = c - b, R = (c + 1 & 2) == 0 ? this.size - 1 - v : v;
843
843
  !this.isFunction[R][C] && o < u.length * 8 && (this.modules[R][C] = a(u[o >>> 3], 7 - (o & 7)), o++);
844
844
  }
845
845
  }
@@ -850,62 +850,62 @@ var St;
850
850
  throw new RangeError("Mask value out of range");
851
851
  for (let o = 0; o < this.size; o++)
852
852
  for (let c = 0; c < this.size; c++) {
853
- let b;
853
+ let v;
854
854
  switch (u) {
855
855
  case 0:
856
- b = (c + o) % 2 == 0;
856
+ v = (c + o) % 2 == 0;
857
857
  break;
858
858
  case 1:
859
- b = o % 2 == 0;
859
+ v = o % 2 == 0;
860
860
  break;
861
861
  case 2:
862
- b = c % 3 == 0;
862
+ v = c % 3 == 0;
863
863
  break;
864
864
  case 3:
865
- b = (c + o) % 3 == 0;
865
+ v = (c + o) % 3 == 0;
866
866
  break;
867
867
  case 4:
868
- b = (Math.floor(c / 3) + Math.floor(o / 2)) % 2 == 0;
868
+ v = (Math.floor(c / 3) + Math.floor(o / 2)) % 2 == 0;
869
869
  break;
870
870
  case 5:
871
- b = c * o % 2 + c * o % 3 == 0;
871
+ v = c * o % 2 + c * o % 3 == 0;
872
872
  break;
873
873
  case 6:
874
- b = (c * o % 2 + c * o % 3) % 2 == 0;
874
+ v = (c * o % 2 + c * o % 3) % 2 == 0;
875
875
  break;
876
876
  case 7:
877
- b = ((c + o) % 2 + c * o % 3) % 2 == 0;
877
+ v = ((c + o) % 2 + c * o % 3) % 2 == 0;
878
878
  break;
879
879
  default:
880
880
  throw new Error("Unreachable");
881
881
  }
882
- !this.isFunction[o][c] && b && (this.modules[o][c] = !this.modules[o][c]);
882
+ !this.isFunction[o][c] && v && (this.modules[o][c] = !this.modules[o][c]);
883
883
  }
884
884
  }
885
885
  getPenaltyScore() {
886
886
  let u = 0;
887
- for (let v = 0; v < this.size; v++) {
887
+ for (let b = 0; b < this.size; b++) {
888
888
  let C = !1, w = 0, R = [0, 0, 0, 0, 0, 0, 0];
889
889
  for (let k = 0; k < this.size; k++)
890
- this.modules[v][k] == C ? (w++, w == 5 ? u += e.PENALTY_N1 : w > 5 && u++) : (this.finderPenaltyAddHistory(w, R), C || (u += this.finderPenaltyCountPatterns(R) * e.PENALTY_N3), C = this.modules[v][k], w = 1);
890
+ this.modules[b][k] == C ? (w++, w == 5 ? u += e.PENALTY_N1 : w > 5 && u++) : (this.finderPenaltyAddHistory(w, R), C || (u += this.finderPenaltyCountPatterns(R) * e.PENALTY_N3), C = this.modules[b][k], w = 1);
891
891
  u += this.finderPenaltyTerminateAndCount(C, w, R) * e.PENALTY_N3;
892
892
  }
893
- for (let v = 0; v < this.size; v++) {
893
+ for (let b = 0; b < this.size; b++) {
894
894
  let C = !1, w = 0, R = [0, 0, 0, 0, 0, 0, 0];
895
895
  for (let k = 0; k < this.size; k++)
896
- this.modules[k][v] == C ? (w++, w == 5 ? u += e.PENALTY_N1 : w > 5 && u++) : (this.finderPenaltyAddHistory(w, R), C || (u += this.finderPenaltyCountPatterns(R) * e.PENALTY_N3), C = this.modules[k][v], w = 1);
896
+ this.modules[k][b] == C ? (w++, w == 5 ? u += e.PENALTY_N1 : w > 5 && u++) : (this.finderPenaltyAddHistory(w, R), C || (u += this.finderPenaltyCountPatterns(R) * e.PENALTY_N3), C = this.modules[k][b], w = 1);
897
897
  u += this.finderPenaltyTerminateAndCount(C, w, R) * e.PENALTY_N3;
898
898
  }
899
- for (let v = 0; v < this.size - 1; v++)
899
+ for (let b = 0; b < this.size - 1; b++)
900
900
  for (let C = 0; C < this.size - 1; C++) {
901
- const w = this.modules[v][C];
902
- w == this.modules[v][C + 1] && w == this.modules[v + 1][C] && w == this.modules[v + 1][C + 1] && (u += e.PENALTY_N2);
901
+ const w = this.modules[b][C];
902
+ w == this.modules[b][C + 1] && w == this.modules[b + 1][C] && w == this.modules[b + 1][C + 1] && (u += e.PENALTY_N2);
903
903
  }
904
904
  let o = 0;
905
- for (const v of this.modules)
906
- o = v.reduce((C, w) => C + (w ? 1 : 0), o);
907
- const c = this.size * this.size, b = Math.ceil(Math.abs(o * 20 - c * 10) / c) - 1;
908
- return i(0 <= b && b <= 9), u += b * e.PENALTY_N4, i(0 <= u && u <= 2568888), u;
905
+ for (const b of this.modules)
906
+ o = b.reduce((C, w) => C + (w ? 1 : 0), o);
907
+ const c = this.size * this.size, v = Math.ceil(Math.abs(o * 20 - c * 10) / c) - 1;
908
+ return i(0 <= v && v <= 9), u += v * e.PENALTY_N4, i(0 <= u && u <= 2568888), u;
909
909
  }
910
910
  getAlignmentPatternPositions() {
911
911
  if (this.version == 1)
@@ -913,8 +913,8 @@ var St;
913
913
  {
914
914
  const u = Math.floor(this.version / 7) + 2, o = this.version == 32 ? 26 : Math.ceil((this.version * 4 + 4) / (u * 2 - 2)) * 2;
915
915
  let c = [6];
916
- for (let b = this.size - 7; c.length < u; b -= o)
917
- c.splice(1, 0, b);
916
+ for (let v = this.size - 7; c.length < u; v -= o)
917
+ c.splice(1, 0, v);
918
918
  return c;
919
919
  }
920
920
  }
@@ -935,22 +935,22 @@ var St;
935
935
  if (u < 1 || u > 255)
936
936
  throw new RangeError("Degree out of range");
937
937
  let o = [];
938
- for (let b = 0; b < u - 1; b++)
938
+ for (let v = 0; v < u - 1; v++)
939
939
  o.push(0);
940
940
  o.push(1);
941
941
  let c = 1;
942
- for (let b = 0; b < u; b++) {
943
- for (let v = 0; v < o.length; v++)
944
- o[v] = e.reedSolomonMultiply(o[v], c), v + 1 < o.length && (o[v] ^= o[v + 1]);
942
+ for (let v = 0; v < u; v++) {
943
+ for (let b = 0; b < o.length; b++)
944
+ o[b] = e.reedSolomonMultiply(o[b], c), b + 1 < o.length && (o[b] ^= o[b + 1]);
945
945
  c = e.reedSolomonMultiply(c, 2);
946
946
  }
947
947
  return o;
948
948
  }
949
949
  static reedSolomonComputeRemainder(u, o) {
950
- let c = o.map((b) => 0);
951
- for (const b of u) {
952
- const v = b ^ c.shift();
953
- c.push(0), o.forEach((C, w) => c[w] ^= e.reedSolomonMultiply(C, v));
950
+ let c = o.map((v) => 0);
951
+ for (const v of u) {
952
+ const b = v ^ c.shift();
953
+ c.push(0), o.forEach((C, w) => c[w] ^= e.reedSolomonMultiply(C, b));
954
954
  }
955
955
  return c;
956
956
  }
@@ -958,8 +958,8 @@ var St;
958
958
  if (u >>> 8 || o >>> 8)
959
959
  throw new RangeError("Byte out of range");
960
960
  let c = 0;
961
- for (let b = 7; b >= 0; b--)
962
- c = c << 1 ^ (c >>> 7) * 285, c ^= (o >>> b & 1) * u;
961
+ for (let v = 7; v >= 0; v--)
962
+ c = c << 1 ^ (c >>> 7) * 285, c ^= (o >>> v & 1) * u;
963
963
  return i(c >>> 8 == 0), c;
964
964
  }
965
965
  finderPenaltyCountPatterns(u) {
@@ -990,8 +990,8 @@ var St;
990
990
  function r(u, o, c) {
991
991
  if (o < 0 || o > 31 || u >>> o)
992
992
  throw new RangeError("Value out of range");
993
- for (let b = o - 1; b >= 0; b--)
994
- c.push(u >>> b & 1);
993
+ for (let v = o - 1; v >= 0; v--)
994
+ c.push(u >>> v & 1);
995
995
  }
996
996
  function a(u, o) {
997
997
  return (u >>> o & 1) != 0;
@@ -1017,8 +1017,8 @@ var St;
1017
1017
  throw new RangeError("String contains non-numeric characters");
1018
1018
  let o = [];
1019
1019
  for (let c = 0; c < u.length; ) {
1020
- const b = Math.min(u.length - c, 3);
1021
- r(parseInt(u.substr(c, b), 10), b * 3 + 1, o), c += b;
1020
+ const v = Math.min(u.length - c, 3);
1021
+ r(parseInt(u.substr(c, v), 10), v * 3 + 1, o), c += v;
1022
1022
  }
1023
1023
  return new y(y.Mode.NUMERIC, u.length, o);
1024
1024
  }
@@ -1027,8 +1027,8 @@ var St;
1027
1027
  throw new RangeError("String contains unencodable characters in alphanumeric mode");
1028
1028
  let o = [], c;
1029
1029
  for (c = 0; c + 2 <= u.length; c += 2) {
1030
- let b = y.ALPHANUMERIC_CHARSET.indexOf(u.charAt(c)) * 45;
1031
- b += y.ALPHANUMERIC_CHARSET.indexOf(u.charAt(c + 1)), r(b, 11, o);
1030
+ let v = y.ALPHANUMERIC_CHARSET.indexOf(u.charAt(c)) * 45;
1031
+ v += y.ALPHANUMERIC_CHARSET.indexOf(u.charAt(c + 1)), r(v, 11, o);
1032
1032
  }
1033
1033
  return c < u.length && r(y.ALPHANUMERIC_CHARSET.indexOf(u.charAt(c)), 6, o), new y(y.Mode.ALPHANUMERIC, u.length, o);
1034
1034
  }
@@ -1060,11 +1060,11 @@ var St;
1060
1060
  }
1061
1061
  static getTotalBits(u, o) {
1062
1062
  let c = 0;
1063
- for (const b of u) {
1064
- const v = b.mode.numCharCountBits(o);
1065
- if (b.numChars >= 1 << v)
1063
+ for (const v of u) {
1064
+ const b = v.mode.numCharCountBits(o);
1065
+ if (v.numChars >= 1 << b)
1066
1066
  return 1 / 0;
1067
- c += 4 + v + b.bitData.length;
1067
+ c += 4 + b + v.bitData.length;
1068
1068
  }
1069
1069
  return c;
1070
1070
  }
@@ -1110,13 +1110,13 @@ var tr = St;
1110
1110
  * Copyright (c) Paul O'Shannessy
1111
1111
  * SPDX-License-Identifier: ISC
1112
1112
  */
1113
- var ba = {
1113
+ var pa = {
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
- }, pa = 128, ya = "L", ga = "#FFFFFF", ma = "#000000", _a = !1, un = 4, Aa = 0.1;
1119
- function Ea(f, e = 0) {
1118
+ }, ya = 128, ga = "L", ma = "#FFFFFF", _a = "#000000", Aa = !1, un = 4, Ea = 0.1;
1119
+ function wa(f, e = 0) {
1120
1120
  const t = [];
1121
1121
  return f.forEach(function(r, a) {
1122
1122
  let i = null;
@@ -1135,21 +1135,21 @@ function Ea(f, e = 0) {
1135
1135
  });
1136
1136
  }), t.join("");
1137
1137
  }
1138
- function wa(f, e) {
1138
+ function Ba(f, e) {
1139
1139
  return f.slice().map((t, r) => r < e.y || r >= e.y + e.h ? t : t.map((a, i) => i < e.x || i >= e.x + e.w ? a : !1));
1140
1140
  }
1141
- function Ba(f, e, t, r) {
1141
+ function Ca(f, e, t, r) {
1142
1142
  if (r == null)
1143
1143
  return null;
1144
- const a = t ? un : 0, i = f.length + a * 2, y = Math.floor(e * Aa), x = i / e, u = (r.width || y) * x, o = (r.height || y) * x, c = r.x == null ? f.length / 2 - u / 2 : r.x * x, b = r.y == null ? f.length / 2 - o / 2 : r.y * x;
1145
- let v = null;
1144
+ const a = t ? un : 0, i = f.length + a * 2, y = Math.floor(e * Ea), x = i / e, u = (r.width || y) * x, o = (r.height || y) * x, c = r.x == null ? f.length / 2 - u / 2 : r.x * x, v = r.y == null ? f.length / 2 - o / 2 : r.y * x;
1145
+ let b = null;
1146
1146
  if (r.excavate) {
1147
- let C = Math.floor(c), w = Math.floor(b), R = Math.ceil(u + c - C), k = Math.ceil(o + b - w);
1148
- v = { x: C, y: w, w: R, h: k };
1147
+ let C = Math.floor(c), w = Math.floor(v), R = Math.ceil(u + c - C), k = Math.ceil(o + v - w);
1148
+ b = { x: C, y: w, w: R, h: k };
1149
1149
  }
1150
- return { x: c, y: b, h: o, w: u, excavation: v };
1150
+ return { x: c, y: v, h: o, w: u, excavation: b };
1151
1151
  }
1152
- var Ca = function() {
1152
+ var Ma = function() {
1153
1153
  try {
1154
1154
  new Path2D().addPath(new Path2D());
1155
1155
  } catch {
@@ -1160,14 +1160,14 @@ var Ca = function() {
1160
1160
  function ln(f) {
1161
1161
  const e = f, {
1162
1162
  value: t,
1163
- size: r = pa,
1164
- level: a = ya,
1165
- bgColor: i = ga,
1166
- fgColor: y = ma,
1167
- includeMargin: x = _a,
1163
+ size: r = ya,
1164
+ level: a = ga,
1165
+ bgColor: i = ma,
1166
+ fgColor: y = _a,
1167
+ includeMargin: x = Aa,
1168
1168
  style: u,
1169
1169
  imageSettings: o
1170
- } = e, c = va(e, [
1170
+ } = e, c = ba(e, [
1171
1171
  "value",
1172
1172
  "size",
1173
1173
  "level",
@@ -1176,19 +1176,19 @@ function ln(f) {
1176
1176
  "includeMargin",
1177
1177
  "style",
1178
1178
  "imageSettings"
1179
- ]), b = o == null ? void 0 : o.src, v = ei(null), C = ei(null), [w, R] = qf(!1);
1179
+ ]), v = o == null ? void 0 : o.src, b = ei(null), C = ei(null), [w, R] = qf(!1);
1180
1180
  zt(() => {
1181
- if (v.current != null) {
1182
- const S = v.current, P = S.getContext("2d");
1181
+ if (b.current != null) {
1182
+ const S = b.current, P = S.getContext("2d");
1183
1183
  if (!P)
1184
1184
  return;
1185
- let T = tr.QrCode.encodeText(t, ba[a]).getModules();
1186
- const H = x ? un : 0, $ = T.length + H * 2, K = Ba(T, r, x, o), X = C.current, Q = K != null && X !== null && X.complete && X.naturalHeight !== 0 && X.naturalWidth !== 0;
1187
- Q && K.excavation != null && (T = wa(T, K.excavation));
1185
+ let T = tr.QrCode.encodeText(t, pa[a]).getModules();
1186
+ const H = x ? un : 0, $ = T.length + H * 2, K = Ca(T, r, x, o), X = C.current, Q = K != null && X !== null && X.complete && X.naturalHeight !== 0 && X.naturalWidth !== 0;
1187
+ Q && K.excavation != null && (T = Ba(T, K.excavation));
1188
1188
  const U = window.devicePixelRatio || 1;
1189
1189
  S.height = S.width = r * U;
1190
1190
  const A = r / $ * U;
1191
- P.scale(A, A), P.fillStyle = i, P.fillRect(0, 0, $, $), P.fillStyle = y, Ca ? P.fill(new Path2D(Ea(T, H))) : T.forEach(function(n, d) {
1191
+ P.scale(A, A), P.fillStyle = i, P.fillRect(0, 0, $, $), P.fillStyle = y, Ma ? P.fill(new Path2D(wa(T, H))) : T.forEach(function(n, d) {
1192
1192
  n.forEach(function(g, B) {
1193
1193
  g && P.fillRect(B + H, d + H, 1, 1);
1194
1194
  });
@@ -1196,12 +1196,12 @@ function ln(f) {
1196
1196
  }
1197
1197
  }), zt(() => {
1198
1198
  R(!1);
1199
- }, [b]);
1199
+ }, [v]);
1200
1200
  const k = ii({ height: r, width: r }, u);
1201
1201
  let q = null;
1202
- return b != null && (q = /* @__PURE__ */ nr.createElement("img", {
1203
- src: b,
1204
- key: b,
1202
+ return v != null && (q = /* @__PURE__ */ nr.createElement("img", {
1203
+ src: v,
1204
+ key: v,
1205
1205
  style: { display: "none" },
1206
1206
  onLoad: () => {
1207
1207
  R(!0);
@@ -1211,7 +1211,7 @@ function ln(f) {
1211
1211
  style: k,
1212
1212
  height: r,
1213
1213
  width: r,
1214
- ref: v
1214
+ ref: b
1215
1215
  }, c)), q);
1216
1216
  }
1217
1217
  var xn = { exports: {} };
@@ -1219,10 +1219,10 @@ function vn(f) {
1219
1219
  throw new Error('Could not dynamically require "' + f + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1220
1220
  }
1221
1221
  var Ir = { exports: {} };
1222
- const Ma = {}, Fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1222
+ const Fa = {}, Sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1223
1223
  __proto__: null,
1224
- default: Ma
1225
- }, Symbol.toStringTag, { value: "Module" })), mr = /* @__PURE__ */ on(Fa);
1224
+ default: Fa
1225
+ }, Symbol.toStringTag, { value: "Module" })), mr = /* @__PURE__ */ on(Sa);
1226
1226
  var ni;
1227
1227
  function $e() {
1228
1228
  return ni || (ni = 1, function(f, e) {
@@ -1342,7 +1342,7 @@ function $e() {
1342
1342
  return this.init.prototype.extend(this);
1343
1343
  }
1344
1344
  };
1345
- }(), b = o.WordArray = c.extend({
1345
+ }(), v = o.WordArray = c.extend({
1346
1346
  /**
1347
1347
  * Initializes a newly created word array.
1348
1348
  *
@@ -1437,9 +1437,9 @@ function $e() {
1437
1437
  random: function(S) {
1438
1438
  for (var P = [], T = 0; T < S; T += 4)
1439
1439
  P.push(y());
1440
- return new b.init(P, S);
1440
+ return new v.init(P, S);
1441
1441
  }
1442
- }), v = u.enc = {}, C = v.Hex = {
1442
+ }), b = u.enc = {}, C = b.Hex = {
1443
1443
  /**
1444
1444
  * Converts a word array to a hex string.
1445
1445
  *
@@ -1476,9 +1476,9 @@ function $e() {
1476
1476
  parse: function(S) {
1477
1477
  for (var P = S.length, T = [], H = 0; H < P; H += 2)
1478
1478
  T[H >>> 3] |= parseInt(S.substr(H, 2), 16) << 24 - H % 8 * 4;
1479
- return new b.init(T, P / 2);
1479
+ return new v.init(T, P / 2);
1480
1480
  }
1481
- }, w = v.Latin1 = {
1481
+ }, w = b.Latin1 = {
1482
1482
  /**
1483
1483
  * Converts a word array to a Latin1 string.
1484
1484
  *
@@ -1515,9 +1515,9 @@ function $e() {
1515
1515
  parse: function(S) {
1516
1516
  for (var P = S.length, T = [], H = 0; H < P; H++)
1517
1517
  T[H >>> 2] |= (S.charCodeAt(H) & 255) << 24 - H % 4 * 8;
1518
- return new b.init(T, P);
1518
+ return new v.init(T, P);
1519
1519
  }
1520
- }, R = v.Utf8 = {
1520
+ }, R = b.Utf8 = {
1521
1521
  /**
1522
1522
  * Converts a word array to a UTF-8 string.
1523
1523
  *
@@ -1563,7 +1563,7 @@ function $e() {
1563
1563
  * bufferedBlockAlgorithm.reset();
1564
1564
  */
1565
1565
  reset: function() {
1566
- this._data = new b.init(), this._nDataBytes = 0;
1566
+ this._data = new v.init(), this._nDataBytes = 0;
1567
1567
  },
1568
1568
  /**
1569
1569
  * Adds new data to this block algorithm's buffer.
@@ -1601,7 +1601,7 @@ function $e() {
1601
1601
  this._doProcessBlock(H, n);
1602
1602
  P = H.splice(0, U), T.sigBytes -= A;
1603
1603
  }
1604
- return new b.init(P, A);
1604
+ return new v.init(P, A);
1605
1605
  },
1606
1606
  /**
1607
1607
  * Creates a copy of this object.
@@ -1929,11 +1929,11 @@ function _r() {
1929
1929
  * var x32WordArray = x64WordArray.toX32();
1930
1930
  */
1931
1931
  toX32: function() {
1932
- for (var o = this.words, c = o.length, b = [], v = 0; v < c; v++) {
1933
- var C = o[v];
1934
- b.push(C.high), b.push(C.low);
1932
+ for (var o = this.words, c = o.length, v = [], b = 0; b < c; b++) {
1933
+ var C = o[b];
1934
+ v.push(C.high), v.push(C.low);
1935
1935
  }
1936
- return x.create(b, this.sigBytes);
1936
+ return x.create(v, this.sigBytes);
1937
1937
  },
1938
1938
  /**
1939
1939
  * Creates a copy of this word array.
@@ -1945,8 +1945,8 @@ function _r() {
1945
1945
  * var clone = x64WordArray.clone();
1946
1946
  */
1947
1947
  clone: function() {
1948
- for (var o = y.clone.call(this), c = o.words = this.words.slice(0), b = c.length, v = 0; v < b; v++)
1949
- c[v] = c[v].clone();
1948
+ for (var o = y.clone.call(this), c = o.words = this.words.slice(0), v = c.length, b = 0; b < v; b++)
1949
+ c[b] = c[b].clone();
1950
1950
  return o;
1951
1951
  }
1952
1952
  });
@@ -1955,7 +1955,7 @@ function _r() {
1955
1955
  }(Tr)), Tr.exports;
1956
1956
  }
1957
1957
  var Or = { exports: {} }, si;
1958
- function Sa() {
1958
+ function Da() {
1959
1959
  return si || (si = 1, function(f, e) {
1960
1960
  (function(t, r) {
1961
1961
  f.exports = r($e());
@@ -1964,8 +1964,8 @@ function Sa() {
1964
1964
  if (typeof ArrayBuffer == "function") {
1965
1965
  var r = t, a = r.lib, i = a.WordArray, y = i.init, x = i.init = function(u) {
1966
1966
  if (u instanceof ArrayBuffer && (u = new Uint8Array(u)), (u instanceof Int8Array || typeof Uint8ClampedArray < "u" && u instanceof Uint8ClampedArray || u instanceof Int16Array || u instanceof Uint16Array || u instanceof Int32Array || u instanceof Uint32Array || u instanceof Float32Array || u instanceof Float64Array) && (u = new Uint8Array(u.buffer, u.byteOffset, u.byteLength)), u instanceof Uint8Array) {
1967
- for (var o = u.byteLength, c = [], b = 0; b < o; b++)
1968
- c[b >>> 2] |= u[b] << 24 - b % 4 * 8;
1967
+ for (var o = u.byteLength, c = [], v = 0; v < o; v++)
1968
+ c[v >>> 2] |= u[v] << 24 - v % 4 * 8;
1969
1969
  y.call(this, c, o);
1970
1970
  } else
1971
1971
  y.apply(this, arguments);
@@ -1977,7 +1977,7 @@ function Sa() {
1977
1977
  }(Or)), Or.exports;
1978
1978
  }
1979
1979
  var zr = { exports: {} }, oi;
1980
- function Da() {
1980
+ function Ra() {
1981
1981
  return oi || (oi = 1, function(f, e) {
1982
1982
  (function(t, r) {
1983
1983
  f.exports = r($e());
@@ -1999,11 +1999,11 @@ function Da() {
1999
1999
  * var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
2000
2000
  */
2001
2001
  stringify: function(u) {
2002
- for (var o = u.words, c = u.sigBytes, b = [], v = 0; v < c; v += 2) {
2003
- var C = o[v >>> 2] >>> 16 - v % 4 * 8 & 65535;
2004
- b.push(String.fromCharCode(C));
2002
+ for (var o = u.words, c = u.sigBytes, v = [], b = 0; b < c; b += 2) {
2003
+ var C = o[b >>> 2] >>> 16 - b % 4 * 8 & 65535;
2004
+ v.push(String.fromCharCode(C));
2005
2005
  }
2006
- return b.join("");
2006
+ return v.join("");
2007
2007
  },
2008
2008
  /**
2009
2009
  * Converts a UTF-16 BE string to a word array.
@@ -2019,8 +2019,8 @@ function Da() {
2019
2019
  * var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
2020
2020
  */
2021
2021
  parse: function(u) {
2022
- for (var o = u.length, c = [], b = 0; b < o; b++)
2023
- c[b >>> 1] |= u.charCodeAt(b) << 16 - b % 2 * 16;
2022
+ for (var o = u.length, c = [], v = 0; v < o; v++)
2023
+ c[v >>> 1] |= u.charCodeAt(v) << 16 - v % 2 * 16;
2024
2024
  return i.create(c, o * 2);
2025
2025
  }
2026
2026
  }, y.Utf16LE = {
@@ -2038,11 +2038,11 @@ function Da() {
2038
2038
  * var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
2039
2039
  */
2040
2040
  stringify: function(u) {
2041
- for (var o = u.words, c = u.sigBytes, b = [], v = 0; v < c; v += 2) {
2042
- var C = x(o[v >>> 2] >>> 16 - v % 4 * 8 & 65535);
2043
- b.push(String.fromCharCode(C));
2041
+ for (var o = u.words, c = u.sigBytes, v = [], b = 0; b < c; b += 2) {
2042
+ var C = x(o[b >>> 2] >>> 16 - b % 4 * 8 & 65535);
2043
+ v.push(String.fromCharCode(C));
2044
2044
  }
2045
- return b.join("");
2045
+ return v.join("");
2046
2046
  },
2047
2047
  /**
2048
2048
  * Converts a UTF-16 LE string to a word array.
@@ -2058,8 +2058,8 @@ function Da() {
2058
2058
  * var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
2059
2059
  */
2060
2060
  parse: function(u) {
2061
- for (var o = u.length, c = [], b = 0; b < o; b++)
2062
- c[b >>> 1] |= x(u.charCodeAt(b) << 16 - b % 2 * 16);
2061
+ for (var o = u.length, c = [], v = 0; v < o; v++)
2062
+ c[v >>> 1] |= x(u.charCodeAt(v) << 16 - v % 2 * 16);
2063
2063
  return i.create(c, o * 2);
2064
2064
  }
2065
2065
  };
@@ -2093,16 +2093,16 @@ function Rt() {
2093
2093
  * var base64String = CryptoJS.enc.Base64.stringify(wordArray);
2094
2094
  */
2095
2095
  stringify: function(u) {
2096
- var o = u.words, c = u.sigBytes, b = this._map;
2096
+ var o = u.words, c = u.sigBytes, v = this._map;
2097
2097
  u.clamp();
2098
- for (var v = [], C = 0; C < c; C += 3)
2098
+ for (var b = [], C = 0; C < c; C += 3)
2099
2099
  for (var w = o[C >>> 2] >>> 24 - C % 4 * 8 & 255, R = o[C + 1 >>> 2] >>> 24 - (C + 1) % 4 * 8 & 255, k = o[C + 2 >>> 2] >>> 24 - (C + 2) % 4 * 8 & 255, q = w << 16 | R << 8 | k, S = 0; S < 4 && C + S * 0.75 < c; S++)
2100
- v.push(b.charAt(q >>> 6 * (3 - S) & 63));
2101
- var P = b.charAt(64);
2100
+ b.push(v.charAt(q >>> 6 * (3 - S) & 63));
2101
+ var P = v.charAt(64);
2102
2102
  if (P)
2103
- for (; v.length % 4; )
2104
- v.push(P);
2105
- return v.join("");
2103
+ for (; b.length % 4; )
2104
+ b.push(P);
2105
+ return b.join("");
2106
2106
  },
2107
2107
  /**
2108
2108
  * Converts a Base64 string to a word array.
@@ -2118,35 +2118,35 @@ function Rt() {
2118
2118
  * var wordArray = CryptoJS.enc.Base64.parse(base64String);
2119
2119
  */
2120
2120
  parse: function(u) {
2121
- var o = u.length, c = this._map, b = this._reverseMap;
2122
- if (!b) {
2123
- b = this._reverseMap = [];
2124
- for (var v = 0; v < c.length; v++)
2125
- b[c.charCodeAt(v)] = v;
2121
+ var o = u.length, c = this._map, v = this._reverseMap;
2122
+ if (!v) {
2123
+ v = this._reverseMap = [];
2124
+ for (var b = 0; b < c.length; b++)
2125
+ v[c.charCodeAt(b)] = b;
2126
2126
  }
2127
2127
  var C = c.charAt(64);
2128
2128
  if (C) {
2129
2129
  var w = u.indexOf(C);
2130
2130
  w !== -1 && (o = w);
2131
2131
  }
2132
- return x(u, o, b);
2132
+ return x(u, o, v);
2133
2133
  },
2134
2134
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
2135
2135
  };
2136
2136
  function x(u, o, c) {
2137
- for (var b = [], v = 0, C = 0; C < o; C++)
2137
+ for (var v = [], b = 0, C = 0; C < o; C++)
2138
2138
  if (C % 4) {
2139
2139
  var w = c[u.charCodeAt(C - 1)] << C % 4 * 2, R = c[u.charCodeAt(C)] >>> 6 - C % 4 * 2, k = w | R;
2140
- b[v >>> 2] |= k << 24 - v % 4 * 8, v++;
2140
+ v[b >>> 2] |= k << 24 - b % 4 * 8, b++;
2141
2141
  }
2142
- return i.create(b, v);
2142
+ return i.create(v, b);
2143
2143
  }
2144
2144
  }(), t.enc.Base64;
2145
2145
  });
2146
2146
  }(qr)), qr.exports;
2147
2147
  }
2148
2148
  var Nr = { exports: {} }, di;
2149
- function Ra() {
2149
+ function ka() {
2150
2150
  return di || (di = 1, function(f, e) {
2151
2151
  (function(t, r) {
2152
2152
  f.exports = r($e());
@@ -2171,12 +2171,12 @@ function Ra() {
2171
2171
  */
2172
2172
  stringify: function(u, o) {
2173
2173
  o === void 0 && (o = !0);
2174
- var c = u.words, b = u.sigBytes, v = o ? this._safe_map : this._map;
2174
+ var c = u.words, v = u.sigBytes, b = o ? this._safe_map : this._map;
2175
2175
  u.clamp();
2176
- for (var C = [], w = 0; w < b; w += 3)
2177
- for (var R = c[w >>> 2] >>> 24 - w % 4 * 8 & 255, k = c[w + 1 >>> 2] >>> 24 - (w + 1) % 4 * 8 & 255, q = c[w + 2 >>> 2] >>> 24 - (w + 2) % 4 * 8 & 255, S = R << 16 | k << 8 | q, P = 0; P < 4 && w + P * 0.75 < b; P++)
2178
- C.push(v.charAt(S >>> 6 * (3 - P) & 63));
2179
- var T = v.charAt(64);
2176
+ for (var C = [], w = 0; w < v; w += 3)
2177
+ for (var R = c[w >>> 2] >>> 24 - w % 4 * 8 & 255, k = c[w + 1 >>> 2] >>> 24 - (w + 1) % 4 * 8 & 255, q = c[w + 2 >>> 2] >>> 24 - (w + 2) % 4 * 8 & 255, S = R << 16 | k << 8 | q, P = 0; P < 4 && w + P * 0.75 < v; P++)
2178
+ C.push(b.charAt(S >>> 6 * (3 - P) & 63));
2179
+ var T = b.charAt(64);
2180
2180
  if (T)
2181
2181
  for (; C.length % 4; )
2182
2182
  C.push(T);
@@ -2199,29 +2199,29 @@ function Ra() {
2199
2199
  */
2200
2200
  parse: function(u, o) {
2201
2201
  o === void 0 && (o = !0);
2202
- var c = u.length, b = o ? this._safe_map : this._map, v = this._reverseMap;
2203
- if (!v) {
2204
- v = this._reverseMap = [];
2205
- for (var C = 0; C < b.length; C++)
2206
- v[b.charCodeAt(C)] = C;
2202
+ var c = u.length, v = o ? this._safe_map : this._map, b = this._reverseMap;
2203
+ if (!b) {
2204
+ b = this._reverseMap = [];
2205
+ for (var C = 0; C < v.length; C++)
2206
+ b[v.charCodeAt(C)] = C;
2207
2207
  }
2208
- var w = b.charAt(64);
2208
+ var w = v.charAt(64);
2209
2209
  if (w) {
2210
2210
  var R = u.indexOf(w);
2211
2211
  R !== -1 && (c = R);
2212
2212
  }
2213
- return x(u, c, v);
2213
+ return x(u, c, b);
2214
2214
  },
2215
2215
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
2216
2216
  _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
2217
2217
  };
2218
2218
  function x(u, o, c) {
2219
- for (var b = [], v = 0, C = 0; C < o; C++)
2219
+ for (var v = [], b = 0, C = 0; C < o; C++)
2220
2220
  if (C % 4) {
2221
2221
  var w = c[u.charCodeAt(C - 1)] << C % 4 * 2, R = c[u.charCodeAt(C)] >>> 6 - C % 4 * 2, k = w | R;
2222
- b[v >>> 2] |= k << 24 - v % 4 * 8, v++;
2222
+ v[b >>> 2] |= k << 24 - b % 4 * 8, b++;
2223
2223
  }
2224
- return i.create(b, v);
2224
+ return i.create(v, b);
2225
2225
  }
2226
2226
  }(), t.enc.Base64url;
2227
2227
  });
@@ -2254,7 +2254,7 @@ function kt() {
2254
2254
  R[S] = (P << 8 | P >>> 24) & 16711935 | (P << 24 | P >>> 8) & 4278255360;
2255
2255
  }
2256
2256
  var T = this._hash.words, H = R[k + 0], $ = R[k + 1], K = R[k + 2], X = R[k + 3], Q = R[k + 4], U = R[k + 5], A = R[k + 6], n = R[k + 7], d = R[k + 8], g = R[k + 9], B = R[k + 10], F = R[k + 11], z = R[k + 12], N = R[k + 13], D = R[k + 14], h = R[k + 15], E = T[0], j = T[1], Y = T[2], W = T[3];
2257
- E = b(E, j, Y, W, H, 7, o[0]), W = b(W, E, j, Y, $, 12, o[1]), Y = b(Y, W, E, j, K, 17, o[2]), j = b(j, Y, W, E, X, 22, o[3]), E = b(E, j, Y, W, Q, 7, o[4]), W = b(W, E, j, Y, U, 12, o[5]), Y = b(Y, W, E, j, A, 17, o[6]), j = b(j, Y, W, E, n, 22, o[7]), E = b(E, j, Y, W, d, 7, o[8]), W = b(W, E, j, Y, g, 12, o[9]), Y = b(Y, W, E, j, B, 17, o[10]), j = b(j, Y, W, E, F, 22, o[11]), E = b(E, j, Y, W, z, 7, o[12]), W = b(W, E, j, Y, N, 12, o[13]), Y = b(Y, W, E, j, D, 17, o[14]), j = b(j, Y, W, E, h, 22, o[15]), E = v(E, j, Y, W, $, 5, o[16]), W = v(W, E, j, Y, A, 9, o[17]), Y = v(Y, W, E, j, F, 14, o[18]), j = v(j, Y, W, E, H, 20, o[19]), E = v(E, j, Y, W, U, 5, o[20]), W = v(W, E, j, Y, B, 9, o[21]), Y = v(Y, W, E, j, h, 14, o[22]), j = v(j, Y, W, E, Q, 20, o[23]), E = v(E, j, Y, W, g, 5, o[24]), W = v(W, E, j, Y, D, 9, o[25]), Y = v(Y, W, E, j, X, 14, o[26]), j = v(j, Y, W, E, d, 20, o[27]), E = v(E, j, Y, W, N, 5, o[28]), W = v(W, E, j, Y, K, 9, o[29]), Y = v(Y, W, E, j, n, 14, o[30]), j = v(j, Y, W, E, z, 20, o[31]), E = C(E, j, Y, W, U, 4, o[32]), W = C(W, E, j, Y, d, 11, o[33]), Y = C(Y, W, E, j, F, 16, o[34]), j = C(j, Y, W, E, D, 23, o[35]), E = C(E, j, Y, W, $, 4, o[36]), W = C(W, E, j, Y, Q, 11, o[37]), Y = C(Y, W, E, j, n, 16, o[38]), j = C(j, Y, W, E, B, 23, o[39]), E = C(E, j, Y, W, N, 4, o[40]), W = C(W, E, j, Y, H, 11, o[41]), Y = C(Y, W, E, j, X, 16, o[42]), j = C(j, Y, W, E, A, 23, o[43]), E = C(E, j, Y, W, g, 4, o[44]), W = C(W, E, j, Y, z, 11, o[45]), Y = C(Y, W, E, j, h, 16, o[46]), j = C(j, Y, W, E, K, 23, o[47]), E = w(E, j, Y, W, H, 6, o[48]), W = w(W, E, j, Y, n, 10, o[49]), Y = w(Y, W, E, j, D, 15, o[50]), j = w(j, Y, W, E, U, 21, o[51]), E = w(E, j, Y, W, z, 6, o[52]), W = w(W, E, j, Y, X, 10, o[53]), Y = w(Y, W, E, j, B, 15, o[54]), j = w(j, Y, W, E, $, 21, o[55]), E = w(E, j, Y, W, d, 6, o[56]), W = w(W, E, j, Y, h, 10, o[57]), Y = w(Y, W, E, j, A, 15, o[58]), j = w(j, Y, W, E, N, 21, o[59]), E = w(E, j, Y, W, Q, 6, o[60]), W = w(W, E, j, Y, F, 10, o[61]), Y = w(Y, W, E, j, K, 15, o[62]), j = w(j, Y, W, E, g, 21, o[63]), T[0] = T[0] + E | 0, T[1] = T[1] + j | 0, T[2] = T[2] + Y | 0, T[3] = T[3] + W | 0;
2257
+ E = v(E, j, Y, W, H, 7, o[0]), W = v(W, E, j, Y, $, 12, o[1]), Y = v(Y, W, E, j, K, 17, o[2]), j = v(j, Y, W, E, X, 22, o[3]), E = v(E, j, Y, W, Q, 7, o[4]), W = v(W, E, j, Y, U, 12, o[5]), Y = v(Y, W, E, j, A, 17, o[6]), j = v(j, Y, W, E, n, 22, o[7]), E = v(E, j, Y, W, d, 7, o[8]), W = v(W, E, j, Y, g, 12, o[9]), Y = v(Y, W, E, j, B, 17, o[10]), j = v(j, Y, W, E, F, 22, o[11]), E = v(E, j, Y, W, z, 7, o[12]), W = v(W, E, j, Y, N, 12, o[13]), Y = v(Y, W, E, j, D, 17, o[14]), j = v(j, Y, W, E, h, 22, o[15]), E = b(E, j, Y, W, $, 5, o[16]), W = b(W, E, j, Y, A, 9, o[17]), Y = b(Y, W, E, j, F, 14, o[18]), j = b(j, Y, W, E, H, 20, o[19]), E = b(E, j, Y, W, U, 5, o[20]), W = b(W, E, j, Y, B, 9, o[21]), Y = b(Y, W, E, j, h, 14, o[22]), j = b(j, Y, W, E, Q, 20, o[23]), E = b(E, j, Y, W, g, 5, o[24]), W = b(W, E, j, Y, D, 9, o[25]), Y = b(Y, W, E, j, X, 14, o[26]), j = b(j, Y, W, E, d, 20, o[27]), E = b(E, j, Y, W, N, 5, o[28]), W = b(W, E, j, Y, K, 9, o[29]), Y = b(Y, W, E, j, n, 14, o[30]), j = b(j, Y, W, E, z, 20, o[31]), E = C(E, j, Y, W, U, 4, o[32]), W = C(W, E, j, Y, d, 11, o[33]), Y = C(Y, W, E, j, F, 16, o[34]), j = C(j, Y, W, E, D, 23, o[35]), E = C(E, j, Y, W, $, 4, o[36]), W = C(W, E, j, Y, Q, 11, o[37]), Y = C(Y, W, E, j, n, 16, o[38]), j = C(j, Y, W, E, B, 23, o[39]), E = C(E, j, Y, W, N, 4, o[40]), W = C(W, E, j, Y, H, 11, o[41]), Y = C(Y, W, E, j, X, 16, o[42]), j = C(j, Y, W, E, A, 23, o[43]), E = C(E, j, Y, W, g, 4, o[44]), W = C(W, E, j, Y, z, 11, o[45]), Y = C(Y, W, E, j, h, 16, o[46]), j = C(j, Y, W, E, K, 23, o[47]), E = w(E, j, Y, W, H, 6, o[48]), W = w(W, E, j, Y, n, 10, o[49]), Y = w(Y, W, E, j, D, 15, o[50]), j = w(j, Y, W, E, U, 21, o[51]), E = w(E, j, Y, W, z, 6, o[52]), W = w(W, E, j, Y, X, 10, o[53]), Y = w(Y, W, E, j, B, 15, o[54]), j = w(j, Y, W, E, $, 21, o[55]), E = w(E, j, Y, W, d, 6, o[56]), W = w(W, E, j, Y, h, 10, o[57]), Y = w(Y, W, E, j, A, 15, o[58]), j = w(j, Y, W, E, N, 21, o[59]), E = w(E, j, Y, W, Q, 6, o[60]), W = w(W, E, j, Y, F, 10, o[61]), Y = w(Y, W, E, j, K, 15, o[62]), j = w(j, Y, W, E, g, 21, o[63]), T[0] = T[0] + E | 0, T[1] = T[1] + j | 0, T[2] = T[2] + Y | 0, T[3] = T[3] + W | 0;
2258
2258
  },
2259
2259
  _doFinalize: function() {
2260
2260
  var R = this._data, k = R.words, q = this._nDataBytes * 8, S = R.sigBytes * 8;
@@ -2272,11 +2272,11 @@ function kt() {
2272
2272
  return R._hash = this._hash.clone(), R;
2273
2273
  }
2274
2274
  });
2275
- function b(R, k, q, S, P, T, H) {
2275
+ function v(R, k, q, S, P, T, H) {
2276
2276
  var $ = R + (k & q | ~k & S) + P + H;
2277
2277
  return ($ << T | $ >>> 32 - T) + k;
2278
2278
  }
2279
- function v(R, k, q, S, P, T, H) {
2279
+ function b(R, k, q, S, P, T, H) {
2280
2280
  var $ = R + (k & S | q & ~S) + P + H;
2281
2281
  return ($ << T | $ >>> 32 - T) + k;
2282
2282
  }
@@ -2310,10 +2310,10 @@ function bn() {
2310
2310
  3285377520
2311
2311
  ]);
2312
2312
  },
2313
- _doProcessBlock: function(c, b) {
2314
- for (var v = this._hash.words, C = v[0], w = v[1], R = v[2], k = v[3], q = v[4], S = 0; S < 80; S++) {
2313
+ _doProcessBlock: function(c, v) {
2314
+ for (var b = this._hash.words, C = b[0], w = b[1], R = b[2], k = b[3], q = b[4], S = 0; S < 80; S++) {
2315
2315
  if (S < 16)
2316
- u[S] = c[b + S] | 0;
2316
+ u[S] = c[v + S] | 0;
2317
2317
  else {
2318
2318
  var P = u[S - 3] ^ u[S - 8] ^ u[S - 14] ^ u[S - 16];
2319
2319
  u[S] = P << 1 | P >>> 31;
@@ -2321,11 +2321,11 @@ function bn() {
2321
2321
  var T = (C << 5 | C >>> 27) + q + u[S];
2322
2322
  S < 20 ? T += (w & R | ~w & k) + 1518500249 : S < 40 ? T += (w ^ R ^ k) + 1859775393 : S < 60 ? T += (w & R | w & k | R & k) - 1894007588 : T += (w ^ R ^ k) - 899497514, q = k, k = R, R = w << 30 | w >>> 2, w = C, C = T;
2323
2323
  }
2324
- v[0] = v[0] + C | 0, v[1] = v[1] + w | 0, v[2] = v[2] + R | 0, v[3] = v[3] + k | 0, v[4] = v[4] + q | 0;
2324
+ b[0] = b[0] + C | 0, b[1] = b[1] + w | 0, b[2] = b[2] + R | 0, b[3] = b[3] + k | 0, b[4] = b[4] + q | 0;
2325
2325
  },
2326
2326
  _doFinalize: function() {
2327
- var c = this._data, b = c.words, v = this._nDataBytes * 8, C = c.sigBytes * 8;
2328
- return b[C >>> 5] |= 128 << 24 - C % 32, b[(C + 64 >>> 9 << 4) + 14] = Math.floor(v / 4294967296), b[(C + 64 >>> 9 << 4) + 15] = v, c.sigBytes = b.length * 4, this._process(), this._hash;
2327
+ var c = this._data, v = c.words, b = this._nDataBytes * 8, C = c.sigBytes * 8;
2328
+ return v[C >>> 5] |= 128 << 24 - C % 32, v[(C + 64 >>> 9 << 4) + 14] = Math.floor(b / 4294967296), v[(C + 64 >>> 9 << 4) + 15] = b, c.sigBytes = v.length * 4, this._process(), this._hash;
2329
2329
  },
2330
2330
  clone: function() {
2331
2331
  var c = y.clone.call(this);
@@ -2358,19 +2358,19 @@ function Nf() {
2358
2358
  for (var R = 2, k = 0; k < 64; )
2359
2359
  C(R) && (k < 8 && (o[k] = w(r.pow(R, 1 / 2))), c[k] = w(r.pow(R, 1 / 3)), k++), R++;
2360
2360
  })();
2361
- var b = [], v = u.SHA256 = x.extend({
2361
+ var v = [], b = u.SHA256 = x.extend({
2362
2362
  _doReset: function() {
2363
2363
  this._hash = new y.init(o.slice(0));
2364
2364
  },
2365
2365
  _doProcessBlock: function(C, w) {
2366
2366
  for (var R = this._hash.words, k = R[0], q = R[1], S = R[2], P = R[3], T = R[4], H = R[5], $ = R[6], K = R[7], X = 0; X < 64; X++) {
2367
2367
  if (X < 16)
2368
- b[X] = C[w + X] | 0;
2368
+ v[X] = C[w + X] | 0;
2369
2369
  else {
2370
- var Q = b[X - 15], U = (Q << 25 | Q >>> 7) ^ (Q << 14 | Q >>> 18) ^ Q >>> 3, A = b[X - 2], n = (A << 15 | A >>> 17) ^ (A << 13 | A >>> 19) ^ A >>> 10;
2371
- b[X] = U + b[X - 7] + n + b[X - 16];
2370
+ var Q = v[X - 15], U = (Q << 25 | Q >>> 7) ^ (Q << 14 | Q >>> 18) ^ Q >>> 3, A = v[X - 2], n = (A << 15 | A >>> 17) ^ (A << 13 | A >>> 19) ^ A >>> 10;
2371
+ v[X] = U + v[X - 7] + n + v[X - 16];
2372
2372
  }
2373
- var d = T & H ^ ~T & $, g = k & q ^ k & S ^ q & S, B = (k << 30 | k >>> 2) ^ (k << 19 | k >>> 13) ^ (k << 10 | k >>> 22), F = (T << 26 | T >>> 6) ^ (T << 21 | T >>> 11) ^ (T << 7 | T >>> 25), z = K + F + d + c[X] + b[X], N = B + g;
2373
+ var d = T & H ^ ~T & $, g = k & q ^ k & S ^ q & S, B = (k << 30 | k >>> 2) ^ (k << 19 | k >>> 13) ^ (k << 10 | k >>> 22), F = (T << 26 | T >>> 6) ^ (T << 21 | T >>> 11) ^ (T << 7 | T >>> 25), z = K + F + d + c[X] + v[X], N = B + g;
2374
2374
  K = $, $ = H, H = T, T = P + z | 0, P = S, S = q, q = k, k = z + N | 0;
2375
2375
  }
2376
2376
  R[0] = R[0] + k | 0, R[1] = R[1] + q | 0, R[2] = R[2] + S | 0, R[3] = R[3] + P | 0, R[4] = R[4] + T | 0, R[5] = R[5] + H | 0, R[6] = R[6] + $ | 0, R[7] = R[7] + K | 0;
@@ -2384,13 +2384,13 @@ function Nf() {
2384
2384
  return C._hash = this._hash.clone(), C;
2385
2385
  }
2386
2386
  });
2387
- a.SHA256 = x._createHelper(v), a.HmacSHA256 = x._createHmacHelper(v);
2387
+ a.SHA256 = x._createHelper(b), a.HmacSHA256 = x._createHmacHelper(b);
2388
2388
  }(Math), t.SHA256;
2389
2389
  });
2390
2390
  }(Ur)), Ur.exports;
2391
2391
  }
2392
2392
  var $r = { exports: {} }, xi;
2393
- function ka() {
2393
+ function Pa() {
2394
2394
  return xi || (xi = 1, function(f, e) {
2395
2395
  (function(t, r, a) {
2396
2396
  f.exports = r($e(), Nf());
@@ -2430,7 +2430,7 @@ function pn() {
2430
2430
  function c() {
2431
2431
  return x.create.apply(x, arguments);
2432
2432
  }
2433
- var b = [
2433
+ var v = [
2434
2434
  c(1116352408, 3609767458),
2435
2435
  c(1899447441, 602891725),
2436
2436
  c(3049323471, 3964484399),
@@ -2511,10 +2511,10 @@ function pn() {
2511
2511
  c(1501505948, 4234509866),
2512
2512
  c(1607167915, 987167468),
2513
2513
  c(1816402316, 1246189591)
2514
- ], v = [];
2514
+ ], b = [];
2515
2515
  (function() {
2516
2516
  for (var w = 0; w < 80; w++)
2517
- v[w] = c();
2517
+ b[w] = c();
2518
2518
  })();
2519
2519
  var C = o.SHA512 = i.extend({
2520
2520
  _doReset: function() {
@@ -2531,14 +2531,14 @@ function pn() {
2531
2531
  },
2532
2532
  _doProcessBlock: function(w, R) {
2533
2533
  for (var k = this._hash.words, q = k[0], S = k[1], P = k[2], T = k[3], H = k[4], $ = k[5], K = k[6], X = k[7], Q = q.high, U = q.low, A = S.high, n = S.low, d = P.high, g = P.low, B = T.high, F = T.low, z = H.high, N = H.low, D = $.high, h = $.low, E = K.high, j = K.low, Y = X.high, W = X.low, re = Q, ce = U, we = A, Ae = n, Me = d, Fe = g, Z0 = B, We = F, Oe = z, _0 = N, Ge = D, Ye = h, $0 = E, Qe = j, ze = Y, O0 = W, qe = 0; qe < 80; qe++) {
2534
- var Se, F0, Je = v[qe];
2534
+ var Se, F0, Je = b[qe];
2535
2535
  if (qe < 16)
2536
2536
  F0 = Je.high = w[R + qe * 2] | 0, Se = Je.low = w[R + qe * 2 + 1] | 0;
2537
2537
  else {
2538
- var f0 = v[qe - 15], S0 = f0.high, Ne = f0.low, u0 = (S0 >>> 1 | Ne << 31) ^ (S0 >>> 8 | Ne << 24) ^ S0 >>> 7, G0 = (Ne >>> 1 | S0 << 31) ^ (Ne >>> 8 | S0 << 24) ^ (Ne >>> 7 | S0 << 25), l0 = v[qe - 2], He = l0.high, z0 = l0.low, a0 = (He >>> 19 | z0 << 13) ^ (He << 3 | z0 >>> 29) ^ He >>> 6, r0 = (z0 >>> 19 | He << 13) ^ (z0 << 3 | He >>> 29) ^ (z0 >>> 6 | He << 26), q0 = v[qe - 7], i0 = q0.high, s0 = q0.low, W0 = v[qe - 16], e0 = W0.high, n0 = W0.low;
2538
+ var f0 = b[qe - 15], S0 = f0.high, Ne = f0.low, u0 = (S0 >>> 1 | Ne << 31) ^ (S0 >>> 8 | Ne << 24) ^ S0 >>> 7, G0 = (Ne >>> 1 | S0 << 31) ^ (Ne >>> 8 | S0 << 24) ^ (Ne >>> 7 | S0 << 25), l0 = b[qe - 2], He = l0.high, z0 = l0.low, a0 = (He >>> 19 | z0 << 13) ^ (He << 3 | z0 >>> 29) ^ He >>> 6, r0 = (z0 >>> 19 | He << 13) ^ (z0 << 3 | He >>> 29) ^ (z0 >>> 6 | He << 26), q0 = b[qe - 7], i0 = q0.high, s0 = q0.low, W0 = b[qe - 16], e0 = W0.high, n0 = W0.low;
2539
2539
  Se = G0 + s0, F0 = u0 + i0 + (Se >>> 0 < G0 >>> 0 ? 1 : 0), Se = Se + r0, F0 = F0 + a0 + (Se >>> 0 < r0 >>> 0 ? 1 : 0), Se = Se + n0, F0 = F0 + e0 + (Se >>> 0 < n0 >>> 0 ? 1 : 0), Je.high = F0, Je.low = Se;
2540
2540
  }
2541
- var N0 = Oe & Ge ^ ~Oe & $0, o0 = _0 & Ye ^ ~_0 & Qe, x0 = re & we ^ re & Me ^ we & Me, D0 = ce & Ae ^ ce & Fe ^ Ae & Fe, t0 = (re >>> 28 | ce << 4) ^ (re << 30 | ce >>> 2) ^ (re << 25 | ce >>> 7), Ve = (ce >>> 28 | re << 4) ^ (ce << 30 | re >>> 2) ^ (ce << 25 | re >>> 7), tt = (Oe >>> 14 | _0 << 18) ^ (Oe >>> 18 | _0 << 14) ^ (Oe << 23 | _0 >>> 9), c0 = (_0 >>> 14 | Oe << 18) ^ (_0 >>> 18 | Oe << 14) ^ (_0 << 23 | Oe >>> 9), d0 = b[qe], yt = d0.high, Ie = d0.low, Re = O0 + c0, l = ze + tt + (Re >>> 0 < O0 >>> 0 ? 1 : 0), Re = Re + o0, l = l + N0 + (Re >>> 0 < o0 >>> 0 ? 1 : 0), Re = Re + Ie, l = l + yt + (Re >>> 0 < Ie >>> 0 ? 1 : 0), Re = Re + Se, l = l + F0 + (Re >>> 0 < Se >>> 0 ? 1 : 0), _ = Ve + D0, m = t0 + x0 + (_ >>> 0 < Ve >>> 0 ? 1 : 0);
2541
+ var N0 = Oe & Ge ^ ~Oe & $0, o0 = _0 & Ye ^ ~_0 & Qe, x0 = re & we ^ re & Me ^ we & Me, D0 = ce & Ae ^ ce & Fe ^ Ae & Fe, t0 = (re >>> 28 | ce << 4) ^ (re << 30 | ce >>> 2) ^ (re << 25 | ce >>> 7), Ve = (ce >>> 28 | re << 4) ^ (ce << 30 | re >>> 2) ^ (ce << 25 | re >>> 7), tt = (Oe >>> 14 | _0 << 18) ^ (Oe >>> 18 | _0 << 14) ^ (Oe << 23 | _0 >>> 9), c0 = (_0 >>> 14 | Oe << 18) ^ (_0 >>> 18 | Oe << 14) ^ (_0 << 23 | Oe >>> 9), d0 = v[qe], yt = d0.high, Ie = d0.low, Re = O0 + c0, l = ze + tt + (Re >>> 0 < O0 >>> 0 ? 1 : 0), Re = Re + o0, l = l + N0 + (Re >>> 0 < o0 >>> 0 ? 1 : 0), Re = Re + Ie, l = l + yt + (Re >>> 0 < Ie >>> 0 ? 1 : 0), Re = Re + Se, l = l + F0 + (Re >>> 0 < Se >>> 0 ? 1 : 0), _ = Ve + D0, m = t0 + x0 + (_ >>> 0 < Ve >>> 0 ? 1 : 0);
2542
2542
  ze = $0, O0 = Qe, $0 = Ge, Qe = Ye, Ge = Oe, Ye = _0, _0 = We + Re | 0, Oe = Z0 + l + (_0 >>> 0 < We >>> 0 ? 1 : 0) | 0, Z0 = Me, We = Fe, Me = we, Fe = Ae, we = re, Ae = ce, ce = Re + _ | 0, re = l + m + (ce >>> 0 < Re >>> 0 ? 1 : 0) | 0;
2543
2543
  }
2544
2544
  U = q.low = U + ce, q.high = Q + re + (U >>> 0 < ce >>> 0 ? 1 : 0), n = S.low = n + Ae, S.high = A + we + (n >>> 0 < Ae >>> 0 ? 1 : 0), g = P.low = g + Fe, P.high = d + Me + (g >>> 0 < Fe >>> 0 ? 1 : 0), F = T.low = F + We, T.high = B + Z0 + (F >>> 0 < We >>> 0 ? 1 : 0), N = H.low = N + _0, H.high = z + Oe + (N >>> 0 < _0 >>> 0 ? 1 : 0), h = $.low = h + Ye, $.high = D + Ge + (h >>> 0 < Ye >>> 0 ? 1 : 0), j = K.low = j + Qe, K.high = E + $0 + (j >>> 0 < Qe >>> 0 ? 1 : 0), W = X.low = W + O0, X.high = Y + ze + (W >>> 0 < O0 >>> 0 ? 1 : 0);
@@ -2561,7 +2561,7 @@ function pn() {
2561
2561
  }(Wr)), Wr.exports;
2562
2562
  }
2563
2563
  var Yr = { exports: {} }, bi;
2564
- function Pa() {
2564
+ function Ia() {
2565
2565
  return bi || (bi = 1, function(f, e) {
2566
2566
  (function(t, r, a) {
2567
2567
  f.exports = r($e(), _r(), pn());
@@ -2591,22 +2591,22 @@ function Pa() {
2591
2591
  }(Yr)), Yr.exports;
2592
2592
  }
2593
2593
  var Kr = { exports: {} }, pi;
2594
- function Ia() {
2594
+ function Ta() {
2595
2595
  return pi || (pi = 1, function(f, e) {
2596
2596
  (function(t, r, a) {
2597
2597
  f.exports = r($e(), _r());
2598
2598
  })(Pe, function(t) {
2599
2599
  return function(r) {
2600
- var a = t, i = a.lib, y = i.WordArray, x = i.Hasher, u = a.x64, o = u.Word, c = a.algo, b = [], v = [], C = [];
2600
+ var a = t, i = a.lib, y = i.WordArray, x = i.Hasher, u = a.x64, o = u.Word, c = a.algo, v = [], b = [], C = [];
2601
2601
  (function() {
2602
2602
  for (var k = 1, q = 0, S = 0; S < 24; S++) {
2603
- b[k + 5 * q] = (S + 1) * (S + 2) / 2 % 64;
2603
+ v[k + 5 * q] = (S + 1) * (S + 2) / 2 % 64;
2604
2604
  var P = q % 5, T = (2 * k + 3 * q) % 5;
2605
2605
  k = P, q = T;
2606
2606
  }
2607
2607
  for (var k = 0; k < 5; k++)
2608
2608
  for (var q = 0; q < 5; q++)
2609
- v[k + 5 * q] = q + (2 * k + 3 * q) % 5 * 5;
2609
+ b[k + 5 * q] = q + (2 * k + 3 * q) % 5 * 5;
2610
2610
  for (var H = 1, $ = 0; $ < 24; $++) {
2611
2611
  for (var K = 0, X = 0, Q = 0; Q < 7; Q++) {
2612
2612
  if (H & 1) {
@@ -2662,9 +2662,9 @@ function Ia() {
2662
2662
  K.high ^= U, K.low ^= A;
2663
2663
  }
2664
2664
  for (var N = 1; N < 25; N++) {
2665
- var U, A, K = S[N], D = K.high, h = K.low, E = b[N];
2665
+ var U, A, K = S[N], D = K.high, h = K.low, E = v[N];
2666
2666
  E < 32 ? (U = D << E | h >>> 32 - E, A = h << E | D >>> 32 - E) : (U = h << E - 32 | D >>> 64 - E, A = D << E - 32 | h >>> 64 - E);
2667
- var j = w[v[N]];
2667
+ var j = w[b[N]];
2668
2668
  j.high = U, j.low = A;
2669
2669
  }
2670
2670
  var Y = w[0], W = S[0];
@@ -2701,7 +2701,7 @@ function Ia() {
2701
2701
  }(Kr)), Kr.exports;
2702
2702
  }
2703
2703
  var jr = { exports: {} }, yi;
2704
- function Ta() {
2704
+ function Oa() {
2705
2705
  return yi || (yi = 1, function(f, e) {
2706
2706
  (function(t, r) {
2707
2707
  f.exports = r($e());
@@ -2879,7 +2879,7 @@ function Ta() {
2879
2879
  3,
2880
2880
  9,
2881
2881
  11
2882
- ]), b = y.create([
2882
+ ]), v = y.create([
2883
2883
  11,
2884
2884
  14,
2885
2885
  15,
@@ -2960,7 +2960,7 @@ function Ta() {
2960
2960
  8,
2961
2961
  5,
2962
2962
  6
2963
- ]), v = y.create([
2963
+ ]), b = y.create([
2964
2964
  8,
2965
2965
  9,
2966
2966
  9,
@@ -3050,7 +3050,7 @@ function Ta() {
3050
3050
  var Q = K + X, U = $[Q];
3051
3051
  $[Q] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360;
3052
3052
  }
3053
- var A = this._hash.words, n = C.words, d = w.words, g = o.words, B = c.words, F = b.words, z = v.words, N, D, h, E, j, Y, W, re, ce, we;
3053
+ var A = this._hash.words, n = C.words, d = w.words, g = o.words, B = c.words, F = v.words, z = b.words, N, D, h, E, j, Y, W, re, ce, we;
3054
3054
  Y = N = A[0], W = D = A[1], re = h = A[2], ce = E = A[3], we = j = A[4];
3055
3055
  for (var Ae, X = 0; X < 80; X += 1)
3056
3056
  Ae = N + $[K + g[X]] | 0, X < 16 ? Ae += k(D, h, E) + n[0] : X < 32 ? Ae += q(D, h, E) + n[1] : X < 48 ? Ae += S(D, h, E) + n[2] : X < 64 ? Ae += P(D, h, E) + n[3] : Ae += T(D, h, E) + n[4], Ae = Ae | 0, Ae = H(Ae, F[X]), Ae = Ae + j | 0, N = j, j = E, E = H(h, 10), h = D, D = Ae, Ae = Y + $[K + B[X]] | 0, X < 16 ? Ae += T(W, re, ce) + d[0] : X < 32 ? Ae += P(W, re, ce) + d[1] : X < 48 ? Ae += S(W, re, ce) + d[2] : X < 64 ? Ae += q(W, re, ce) + d[3] : Ae += k(W, re, ce) + d[4], Ae = Ae | 0, Ae = H(Ae, z[X]), Ae = Ae + we | 0, Y = we, we = ce, ce = H(re, 10), re = W, W = Ae;
@@ -3114,11 +3114,11 @@ function Lf() {
3114
3114
  */
3115
3115
  init: function(o, c) {
3116
3116
  o = this._hasher = new o.init(), typeof c == "string" && (c = x.parse(c));
3117
- var b = o.blockSize, v = b * 4;
3118
- c.sigBytes > v && (c = o.finalize(c)), c.clamp();
3119
- for (var C = this._oKey = c.clone(), w = this._iKey = c.clone(), R = C.words, k = w.words, q = 0; q < b; q++)
3117
+ var v = o.blockSize, b = v * 4;
3118
+ c.sigBytes > b && (c = o.finalize(c)), c.clamp();
3119
+ for (var C = this._oKey = c.clone(), w = this._iKey = c.clone(), R = C.words, k = w.words, q = 0; q < v; q++)
3120
3120
  R[q] ^= 1549556828, k[q] ^= 909522486;
3121
- C.sigBytes = w.sigBytes = v, this.reset();
3121
+ C.sigBytes = w.sigBytes = b, this.reset();
3122
3122
  },
3123
3123
  /**
3124
3124
  * Resets this HMAC to its initial state.
@@ -3161,10 +3161,10 @@ function Lf() {
3161
3161
  * var hmac = hmacHasher.finalize(wordArray);
3162
3162
  */
3163
3163
  finalize: function(o) {
3164
- var c = this._hasher, b = c.finalize(o);
3164
+ var c = this._hasher, v = c.finalize(o);
3165
3165
  c.reset();
3166
- var v = c.finalize(this._oKey.clone().concat(b));
3167
- return v;
3166
+ var b = c.finalize(this._oKey.clone().concat(v));
3167
+ return b;
3168
3168
  }
3169
3169
  });
3170
3170
  })();
@@ -3172,7 +3172,7 @@ function Lf() {
3172
3172
  }(Vr)), Vr.exports;
3173
3173
  }
3174
3174
  var Xr = { exports: {} }, mi;
3175
- function Oa() {
3175
+ function za() {
3176
3176
  return mi || (mi = 1, function(f, e) {
3177
3177
  (function(t, r, a) {
3178
3178
  f.exports = r($e(), Nf(), Lf());
@@ -3202,8 +3202,8 @@ function Oa() {
3202
3202
  * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });
3203
3203
  * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
3204
3204
  */
3205
- init: function(b) {
3206
- this.cfg = this.cfg.extend(b);
3205
+ init: function(v) {
3206
+ this.cfg = this.cfg.extend(v);
3207
3207
  },
3208
3208
  /**
3209
3209
  * Computes the Password-Based Key Derivation Function 2.
@@ -3217,9 +3217,9 @@ function Oa() {
3217
3217
  *
3218
3218
  * var key = kdf.compute(password, salt);
3219
3219
  */
3220
- compute: function(b, v) {
3221
- for (var C = this.cfg, w = o.create(C.hasher, b), R = y.create(), k = y.create([1]), q = R.words, S = k.words, P = C.keySize, T = C.iterations; q.length < P; ) {
3222
- var H = w.update(v).finalize(k);
3220
+ compute: function(v, b) {
3221
+ for (var C = this.cfg, w = o.create(C.hasher, v), R = y.create(), k = y.create([1]), q = R.words, S = k.words, P = C.keySize, T = C.iterations; q.length < P; ) {
3222
+ var H = w.update(b).finalize(k);
3223
3223
  w.reset();
3224
3224
  for (var $ = H.words, K = $.length, X = H, Q = 1; Q < T; Q++) {
3225
3225
  X = w.finalize(X), w.reset();
@@ -3231,8 +3231,8 @@ function Oa() {
3231
3231
  return R.sigBytes = P * 4, R;
3232
3232
  }
3233
3233
  });
3234
- r.PBKDF2 = function(b, v, C) {
3235
- return c.create(C).compute(b, v);
3234
+ r.PBKDF2 = function(v, b, C) {
3235
+ return c.create(C).compute(v, b);
3236
3236
  };
3237
3237
  }(), t.PBKDF2;
3238
3238
  });
@@ -3284,18 +3284,18 @@ function At() {
3284
3284
  *
3285
3285
  * var key = kdf.compute(password, salt);
3286
3286
  */
3287
- compute: function(c, b) {
3288
- for (var v, C = this.cfg, w = C.hasher.create(), R = y.create(), k = R.words, q = C.keySize, S = C.iterations; k.length < q; ) {
3289
- v && w.update(v), v = w.update(c).finalize(b), w.reset();
3287
+ compute: function(c, v) {
3288
+ for (var b, C = this.cfg, w = C.hasher.create(), R = y.create(), k = R.words, q = C.keySize, S = C.iterations; k.length < q; ) {
3289
+ b && w.update(b), b = w.update(c).finalize(v), w.reset();
3290
3290
  for (var P = 1; P < S; P++)
3291
- v = w.finalize(v), w.reset();
3292
- R.concat(v);
3291
+ b = w.finalize(b), w.reset();
3292
+ R.concat(b);
3293
3293
  }
3294
3294
  return R.sigBytes = q * 4, R;
3295
3295
  }
3296
3296
  });
3297
- r.EvpKDF = function(c, b, v) {
3298
- return o.create(v).compute(c, b);
3297
+ r.EvpKDF = function(c, v, b) {
3298
+ return o.create(b).compute(c, v);
3299
3299
  };
3300
3300
  }(), t.EvpKDF;
3301
3301
  });
@@ -3310,7 +3310,7 @@ function C0() {
3310
3310
  t.lib.Cipher || function(r) {
3311
3311
  var a = t, i = a.lib, y = i.Base, x = i.WordArray, u = i.BufferedBlockAlgorithm, o = a.enc;
3312
3312
  o.Utf8;
3313
- var c = o.Base64, b = a.algo, v = b.EvpKDF, C = i.Cipher = u.extend({
3313
+ var c = o.Base64, v = a.algo, b = v.EvpKDF, C = i.Cipher = u.extend({
3314
3314
  /**
3315
3315
  * Configuration options.
3316
3316
  *
@@ -3771,9 +3771,9 @@ function C0() {
3771
3771
  */
3772
3772
  execute: function(U, A, n, d, g) {
3773
3773
  if (d || (d = x.random(64 / 8)), g)
3774
- var B = v.create({ keySize: A + n, hasher: g }).compute(U, d);
3774
+ var B = b.create({ keySize: A + n, hasher: g }).compute(U, d);
3775
3775
  else
3776
- var B = v.create({ keySize: A + n }).compute(U, d);
3776
+ var B = b.create({ keySize: A + n }).compute(U, d);
3777
3777
  var F = x.create(B.words.slice(A), n * 4);
3778
3778
  return B.sigBytes = A * 4, P.create({ key: B, iv: F, salt: d });
3779
3779
  }
@@ -3840,7 +3840,7 @@ function C0() {
3840
3840
  }(Gr)), Gr.exports;
3841
3841
  }
3842
3842
  var Qr = { exports: {} }, Ei;
3843
- function za() {
3843
+ function qa() {
3844
3844
  return Ei || (Ei = 1, function(f, e) {
3845
3845
  (function(t, r, a) {
3846
3846
  f.exports = r($e(), C0());
@@ -3861,8 +3861,8 @@ function za() {
3861
3861
  function a(i, y, x, u) {
3862
3862
  var o, c = this._iv;
3863
3863
  c ? (o = c.slice(0), this._iv = void 0) : o = this._prevBlock, u.encryptBlock(o, 0);
3864
- for (var b = 0; b < x; b++)
3865
- i[y + b] ^= o[b];
3864
+ for (var v = 0; v < x; v++)
3865
+ i[y + v] ^= o[v];
3866
3866
  }
3867
3867
  return r;
3868
3868
  }(), t.mode.CFB;
@@ -3870,7 +3870,7 @@ function za() {
3870
3870
  }(Qr)), Qr.exports;
3871
3871
  }
3872
3872
  var Jr = { exports: {} }, wi;
3873
- function qa() {
3873
+ function Na() {
3874
3874
  return wi || (wi = 1, function(f, e) {
3875
3875
  (function(t, r, a) {
3876
3876
  f.exports = r($e(), C0());
@@ -3880,10 +3880,10 @@ function qa() {
3880
3880
  processBlock: function(i, y) {
3881
3881
  var x = this._cipher, u = x.blockSize, o = this._iv, c = this._counter;
3882
3882
  o && (c = this._counter = o.slice(0), this._iv = void 0);
3883
- var b = c.slice(0);
3884
- x.encryptBlock(b, 0), c[u - 1] = c[u - 1] + 1 | 0;
3885
- for (var v = 0; v < u; v++)
3886
- i[y + v] ^= b[v];
3883
+ var v = c.slice(0);
3884
+ x.encryptBlock(v, 0), c[u - 1] = c[u - 1] + 1 | 0;
3885
+ for (var b = 0; b < u; b++)
3886
+ i[y + b] ^= v[b];
3887
3887
  }
3888
3888
  });
3889
3889
  return r.Decryptor = a, r;
@@ -3892,7 +3892,7 @@ function qa() {
3892
3892
  }(Jr)), Jr.exports;
3893
3893
  }
3894
3894
  var ef = { exports: {} }, Bi;
3895
- function Na() {
3895
+ function La() {
3896
3896
  return Bi || (Bi = 1, function(f, e) {
3897
3897
  (function(t, r, a) {
3898
3898
  f.exports = r($e(), C0());
@@ -3917,9 +3917,9 @@ function Na() {
3917
3917
  }
3918
3918
  var y = r.Encryptor = r.extend({
3919
3919
  processBlock: function(x, u) {
3920
- var o = this._cipher, c = o.blockSize, b = this._iv, v = this._counter;
3921
- b && (v = this._counter = b.slice(0), this._iv = void 0), i(v);
3922
- var C = v.slice(0);
3920
+ var o = this._cipher, c = o.blockSize, v = this._iv, b = this._counter;
3921
+ v && (b = this._counter = v.slice(0), this._iv = void 0), i(b);
3922
+ var C = b.slice(0);
3923
3923
  o.encryptBlock(C, 0);
3924
3924
  for (var w = 0; w < c; w++)
3925
3925
  x[u + w] ^= C[w];
@@ -3931,7 +3931,7 @@ function Na() {
3931
3931
  }(ef)), ef.exports;
3932
3932
  }
3933
3933
  var tf = { exports: {} }, Ci;
3934
- function La() {
3934
+ function Ha() {
3935
3935
  return Ci || (Ci = 1, function(f, e) {
3936
3936
  (function(t, r, a) {
3937
3937
  f.exports = r($e(), C0());
@@ -3941,8 +3941,8 @@ function La() {
3941
3941
  processBlock: function(i, y) {
3942
3942
  var x = this._cipher, u = x.blockSize, o = this._iv, c = this._keystream;
3943
3943
  o && (c = this._keystream = o.slice(0), this._iv = void 0), x.encryptBlock(c, 0);
3944
- for (var b = 0; b < u; b++)
3945
- i[y + b] ^= c[b];
3944
+ for (var v = 0; v < u; v++)
3945
+ i[y + v] ^= c[v];
3946
3946
  }
3947
3947
  });
3948
3948
  return r.Decryptor = a, r;
@@ -3951,7 +3951,7 @@ function La() {
3951
3951
  }(tf)), tf.exports;
3952
3952
  }
3953
3953
  var rf = { exports: {} }, Mi;
3954
- function Ha() {
3954
+ function Ua() {
3955
3955
  return Mi || (Mi = 1, function(f, e) {
3956
3956
  (function(t, r, a) {
3957
3957
  f.exports = r($e(), C0());
@@ -3972,7 +3972,7 @@ function Ha() {
3972
3972
  }(rf)), rf.exports;
3973
3973
  }
3974
3974
  var ff = { exports: {} }, Fi;
3975
- function Ua() {
3975
+ function $a() {
3976
3976
  return Fi || (Fi = 1, function(f, e) {
3977
3977
  (function(t, r, a) {
3978
3978
  f.exports = r($e(), C0());
@@ -3991,7 +3991,7 @@ function Ua() {
3991
3991
  }(ff)), ff.exports;
3992
3992
  }
3993
3993
  var nf = { exports: {} }, Si;
3994
- function $a() {
3994
+ function Wa() {
3995
3995
  return Si || (Si = 1, function(f, e) {
3996
3996
  (function(t, r, a) {
3997
3997
  f.exports = r($e(), C0());
@@ -4010,7 +4010,7 @@ function $a() {
4010
4010
  }(nf)), nf.exports;
4011
4011
  }
4012
4012
  var af = { exports: {} }, Di;
4013
- function Wa() {
4013
+ function Ya() {
4014
4014
  return Di || (Di = 1, function(f, e) {
4015
4015
  (function(t, r, a) {
4016
4016
  f.exports = r($e(), C0());
@@ -4027,7 +4027,7 @@ function Wa() {
4027
4027
  }(af)), af.exports;
4028
4028
  }
4029
4029
  var sf = { exports: {} }, Ri;
4030
- function Ya() {
4030
+ function Ka() {
4031
4031
  return Ri || (Ri = 1, function(f, e) {
4032
4032
  (function(t, r, a) {
4033
4033
  f.exports = r($e(), C0());
@@ -4049,7 +4049,7 @@ function Ya() {
4049
4049
  }(sf)), sf.exports;
4050
4050
  }
4051
4051
  var of = { exports: {} }, ki;
4052
- function Ka() {
4052
+ function ja() {
4053
4053
  return ki || (ki = 1, function(f, e) {
4054
4054
  (function(t, r, a) {
4055
4055
  f.exports = r($e(), C0());
@@ -4064,7 +4064,7 @@ function Ka() {
4064
4064
  }(of)), of.exports;
4065
4065
  }
4066
4066
  var cf = { exports: {} }, Pi;
4067
- function ja() {
4067
+ function Va() {
4068
4068
  return Pi || (Pi = 1, function(f, e) {
4069
4069
  (function(t, r, a) {
4070
4070
  f.exports = r($e(), C0());
@@ -4102,8 +4102,8 @@ function ja() {
4102
4102
  * var cipherParams = CryptoJS.format.Hex.parse(hexString);
4103
4103
  */
4104
4104
  parse: function(c) {
4105
- var b = u.parse(c);
4106
- return y.create({ ciphertext: b });
4105
+ var v = u.parse(c);
4106
+ return y.create({ ciphertext: v });
4107
4107
  }
4108
4108
  };
4109
4109
  }(), t.format.Hex;
@@ -4111,13 +4111,13 @@ function ja() {
4111
4111
  }(cf)), cf.exports;
4112
4112
  }
4113
4113
  var df = { exports: {} }, Ii;
4114
- function Va() {
4114
+ function Xa() {
4115
4115
  return Ii || (Ii = 1, function(f, e) {
4116
4116
  (function(t, r, a) {
4117
4117
  f.exports = r($e(), Rt(), kt(), At(), C0());
4118
4118
  })(Pe, function(t) {
4119
4119
  return function() {
4120
- var r = t, a = r.lib, i = a.BlockCipher, y = r.algo, x = [], u = [], o = [], c = [], b = [], v = [], C = [], w = [], R = [], k = [];
4120
+ var r = t, a = r.lib, i = a.BlockCipher, y = r.algo, x = [], u = [], o = [], c = [], v = [], b = [], C = [], w = [], R = [], k = [];
4121
4121
  (function() {
4122
4122
  for (var P = [], T = 0; T < 256; T++)
4123
4123
  T < 128 ? P[T] = T << 1 : P[T] = T << 1 ^ 283;
@@ -4125,7 +4125,7 @@ function Va() {
4125
4125
  var K = $ ^ $ << 1 ^ $ << 2 ^ $ << 3 ^ $ << 4;
4126
4126
  K = K >>> 8 ^ K & 255 ^ 99, x[H] = K, u[K] = H;
4127
4127
  var X = P[H], Q = P[X], U = P[Q], A = P[K] * 257 ^ K * 16843008;
4128
- o[H] = A << 24 | A >>> 8, c[H] = A << 16 | A >>> 16, b[H] = A << 8 | A >>> 24, v[H] = A;
4128
+ o[H] = A << 24 | A >>> 8, c[H] = A << 16 | A >>> 16, v[H] = A << 8 | A >>> 24, b[H] = A;
4129
4129
  var A = U * 16843009 ^ Q * 65537 ^ X * 257 ^ H * 16843008;
4130
4130
  C[K] = A << 24 | A >>> 8, w[K] = A << 16 | A >>> 16, R[K] = A << 8 | A >>> 24, k[K] = A, H ? (H = X ^ P[P[P[U ^ X]]], $ ^= P[P[$]]) : H = $ = 1;
4131
4131
  }
@@ -4147,7 +4147,7 @@ function Va() {
4147
4147
  }
4148
4148
  },
4149
4149
  encryptBlock: function(P, T) {
4150
- this._doCryptBlock(P, T, this._keySchedule, o, c, b, v, x);
4150
+ this._doCryptBlock(P, T, this._keySchedule, o, c, v, b, x);
4151
4151
  },
4152
4152
  decryptBlock: function(P, T) {
4153
4153
  var H = P[T + 1];
@@ -4171,7 +4171,7 @@ function Va() {
4171
4171
  }(df)), df.exports;
4172
4172
  }
4173
4173
  var hf = { exports: {} }, Ti;
4174
- function Xa() {
4174
+ function Za() {
4175
4175
  return Ti || (Ti = 1, function(f, e) {
4176
4176
  (function(t, r, a) {
4177
4177
  f.exports = r($e(), Rt(), kt(), At(), C0());
@@ -4283,7 +4283,7 @@ function Xa() {
4283
4283
  36,
4284
4284
  29,
4285
4285
  32
4286
- ], c = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], b = [
4286
+ ], c = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28], v = [
4287
4287
  {
4288
4288
  0: 8421888,
4289
4289
  268435456: 32768,
@@ -4812,7 +4812,7 @@ function Xa() {
4812
4812
  2147483678: 131104,
4813
4813
  2147483679: 134350848
4814
4814
  }
4815
- ], v = [
4815
+ ], b = [
4816
4816
  4160749569,
4817
4817
  528482304,
4818
4818
  33030144,
@@ -4848,7 +4848,7 @@ function Xa() {
4848
4848
  this._lBlock = q[S], this._rBlock = q[S + 1], w.call(this, 4, 252645135), w.call(this, 16, 65535), R.call(this, 2, 858993459), R.call(this, 8, 16711935), w.call(this, 1, 1431655765);
4849
4849
  for (var T = 0; T < 16; T++) {
4850
4850
  for (var H = P[T], $ = this._lBlock, K = this._rBlock, X = 0, Q = 0; Q < 8; Q++)
4851
- X |= b[Q][((K ^ H[Q]) & v[Q]) >>> 0];
4851
+ X |= v[Q][((K ^ H[Q]) & b[Q]) >>> 0];
4852
4852
  this._lBlock = K, this._rBlock = $ ^ X;
4853
4853
  }
4854
4854
  var U = this._lBlock;
@@ -4891,7 +4891,7 @@ function Xa() {
4891
4891
  }(hf)), hf.exports;
4892
4892
  }
4893
4893
  var uf = { exports: {} }, Oi;
4894
- function Za() {
4894
+ function Ga() {
4895
4895
  return Oi || (Oi = 1, function(f, e) {
4896
4896
  (function(t, r, a) {
4897
4897
  f.exports = r($e(), Rt(), kt(), At(), C0());
@@ -4899,29 +4899,29 @@ function Za() {
4899
4899
  return function() {
4900
4900
  var r = t, a = r.lib, i = a.StreamCipher, y = r.algo, x = y.RC4 = i.extend({
4901
4901
  _doReset: function() {
4902
- for (var c = this._key, b = c.words, v = c.sigBytes, C = this._S = [], w = 0; w < 256; w++)
4902
+ for (var c = this._key, v = c.words, b = c.sigBytes, C = this._S = [], w = 0; w < 256; w++)
4903
4903
  C[w] = w;
4904
4904
  for (var w = 0, R = 0; w < 256; w++) {
4905
- var k = w % v, q = b[k >>> 2] >>> 24 - k % 4 * 8 & 255;
4905
+ var k = w % b, q = v[k >>> 2] >>> 24 - k % 4 * 8 & 255;
4906
4906
  R = (R + C[w] + q) % 256;
4907
4907
  var S = C[w];
4908
4908
  C[w] = C[R], C[R] = S;
4909
4909
  }
4910
4910
  this._i = this._j = 0;
4911
4911
  },
4912
- _doProcessBlock: function(c, b) {
4913
- c[b] ^= u.call(this);
4912
+ _doProcessBlock: function(c, v) {
4913
+ c[v] ^= u.call(this);
4914
4914
  },
4915
4915
  keySize: 256 / 32,
4916
4916
  ivSize: 0
4917
4917
  });
4918
4918
  function u() {
4919
- for (var c = this._S, b = this._i, v = this._j, C = 0, w = 0; w < 4; w++) {
4920
- b = (b + 1) % 256, v = (v + c[b]) % 256;
4921
- var R = c[b];
4922
- c[b] = c[v], c[v] = R, C |= c[(c[b] + c[v]) % 256] << 24 - w * 8;
4919
+ for (var c = this._S, v = this._i, b = this._j, C = 0, w = 0; w < 4; w++) {
4920
+ v = (v + 1) % 256, b = (b + c[v]) % 256;
4921
+ var R = c[v];
4922
+ c[v] = c[b], c[b] = R, C |= c[(c[v] + c[b]) % 256] << 24 - w * 8;
4923
4923
  }
4924
- return this._i = b, this._j = v, C;
4924
+ return this._i = v, this._j = b, C;
4925
4925
  }
4926
4926
  r.RC4 = i._createHelper(x);
4927
4927
  var o = y.RC4Drop = x.extend({
@@ -4945,7 +4945,7 @@ function Za() {
4945
4945
  }(uf)), uf.exports;
4946
4946
  }
4947
4947
  var lf = { exports: {} }, zi;
4948
- function Ga() {
4948
+ function Qa() {
4949
4949
  return zi || (zi = 1, function(f, e) {
4950
4950
  (function(t, r, a) {
4951
4951
  f.exports = r($e(), Rt(), kt(), At(), C0());
@@ -4953,57 +4953,57 @@ function Ga() {
4953
4953
  return function() {
4954
4954
  var r = t, a = r.lib, i = a.StreamCipher, y = r.algo, x = [], u = [], o = [], c = y.Rabbit = i.extend({
4955
4955
  _doReset: function() {
4956
- for (var v = this._key.words, C = this.cfg.iv, w = 0; w < 4; w++)
4957
- v[w] = (v[w] << 8 | v[w] >>> 24) & 16711935 | (v[w] << 24 | v[w] >>> 8) & 4278255360;
4956
+ for (var b = this._key.words, C = this.cfg.iv, w = 0; w < 4; w++)
4957
+ b[w] = (b[w] << 8 | b[w] >>> 24) & 16711935 | (b[w] << 24 | b[w] >>> 8) & 4278255360;
4958
4958
  var R = this._X = [
4959
- v[0],
4960
- v[3] << 16 | v[2] >>> 16,
4961
- v[1],
4962
- v[0] << 16 | v[3] >>> 16,
4963
- v[2],
4964
- v[1] << 16 | v[0] >>> 16,
4965
- v[3],
4966
- v[2] << 16 | v[1] >>> 16
4959
+ b[0],
4960
+ b[3] << 16 | b[2] >>> 16,
4961
+ b[1],
4962
+ b[0] << 16 | b[3] >>> 16,
4963
+ b[2],
4964
+ b[1] << 16 | b[0] >>> 16,
4965
+ b[3],
4966
+ b[2] << 16 | b[1] >>> 16
4967
4967
  ], k = this._C = [
4968
- v[2] << 16 | v[2] >>> 16,
4969
- v[0] & 4294901760 | v[1] & 65535,
4970
- v[3] << 16 | v[3] >>> 16,
4971
- v[1] & 4294901760 | v[2] & 65535,
4972
- v[0] << 16 | v[0] >>> 16,
4973
- v[2] & 4294901760 | v[3] & 65535,
4974
- v[1] << 16 | v[1] >>> 16,
4975
- v[3] & 4294901760 | v[0] & 65535
4968
+ b[2] << 16 | b[2] >>> 16,
4969
+ b[0] & 4294901760 | b[1] & 65535,
4970
+ b[3] << 16 | b[3] >>> 16,
4971
+ b[1] & 4294901760 | b[2] & 65535,
4972
+ b[0] << 16 | b[0] >>> 16,
4973
+ b[2] & 4294901760 | b[3] & 65535,
4974
+ b[1] << 16 | b[1] >>> 16,
4975
+ b[3] & 4294901760 | b[0] & 65535
4976
4976
  ];
4977
4977
  this._b = 0;
4978
4978
  for (var w = 0; w < 4; w++)
4979
- b.call(this);
4979
+ v.call(this);
4980
4980
  for (var w = 0; w < 8; w++)
4981
4981
  k[w] ^= R[w + 4 & 7];
4982
4982
  if (C) {
4983
4983
  var q = C.words, S = q[0], P = q[1], T = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, H = (P << 8 | P >>> 24) & 16711935 | (P << 24 | P >>> 8) & 4278255360, $ = T >>> 16 | H & 4294901760, K = H << 16 | T & 65535;
4984
4984
  k[0] ^= T, k[1] ^= $, k[2] ^= H, k[3] ^= K, k[4] ^= T, k[5] ^= $, k[6] ^= H, k[7] ^= K;
4985
4985
  for (var w = 0; w < 4; w++)
4986
- b.call(this);
4986
+ v.call(this);
4987
4987
  }
4988
4988
  },
4989
- _doProcessBlock: function(v, C) {
4989
+ _doProcessBlock: function(b, C) {
4990
4990
  var w = this._X;
4991
- b.call(this), x[0] = w[0] ^ w[5] >>> 16 ^ w[3] << 16, x[1] = w[2] ^ w[7] >>> 16 ^ w[5] << 16, x[2] = w[4] ^ w[1] >>> 16 ^ w[7] << 16, x[3] = w[6] ^ w[3] >>> 16 ^ w[1] << 16;
4991
+ v.call(this), x[0] = w[0] ^ w[5] >>> 16 ^ w[3] << 16, x[1] = w[2] ^ w[7] >>> 16 ^ w[5] << 16, x[2] = w[4] ^ w[1] >>> 16 ^ w[7] << 16, x[3] = w[6] ^ w[3] >>> 16 ^ w[1] << 16;
4992
4992
  for (var R = 0; R < 4; R++)
4993
- x[R] = (x[R] << 8 | x[R] >>> 24) & 16711935 | (x[R] << 24 | x[R] >>> 8) & 4278255360, v[C + R] ^= x[R];
4993
+ x[R] = (x[R] << 8 | x[R] >>> 24) & 16711935 | (x[R] << 24 | x[R] >>> 8) & 4278255360, b[C + R] ^= x[R];
4994
4994
  },
4995
4995
  blockSize: 128 / 32,
4996
4996
  ivSize: 64 / 32
4997
4997
  });
4998
- function b() {
4999
- for (var v = this._X, C = this._C, w = 0; w < 8; w++)
4998
+ function v() {
4999
+ for (var b = this._X, C = this._C, w = 0; w < 8; w++)
5000
5000
  u[w] = C[w];
5001
5001
  C[0] = C[0] + 1295307597 + this._b | 0, C[1] = C[1] + 3545052371 + (C[0] >>> 0 < u[0] >>> 0 ? 1 : 0) | 0, C[2] = C[2] + 886263092 + (C[1] >>> 0 < u[1] >>> 0 ? 1 : 0) | 0, C[3] = C[3] + 1295307597 + (C[2] >>> 0 < u[2] >>> 0 ? 1 : 0) | 0, C[4] = C[4] + 3545052371 + (C[3] >>> 0 < u[3] >>> 0 ? 1 : 0) | 0, C[5] = C[5] + 886263092 + (C[4] >>> 0 < u[4] >>> 0 ? 1 : 0) | 0, C[6] = C[6] + 1295307597 + (C[5] >>> 0 < u[5] >>> 0 ? 1 : 0) | 0, C[7] = C[7] + 3545052371 + (C[6] >>> 0 < u[6] >>> 0 ? 1 : 0) | 0, this._b = C[7] >>> 0 < u[7] >>> 0 ? 1 : 0;
5002
5002
  for (var w = 0; w < 8; w++) {
5003
- var R = v[w] + C[w], k = R & 65535, q = R >>> 16, S = ((k * k >>> 17) + k * q >>> 15) + q * q, P = ((R & 4294901760) * R | 0) + ((R & 65535) * R | 0);
5003
+ var R = b[w] + C[w], k = R & 65535, q = R >>> 16, S = ((k * k >>> 17) + k * q >>> 15) + q * q, P = ((R & 4294901760) * R | 0) + ((R & 65535) * R | 0);
5004
5004
  o[w] = S ^ P;
5005
5005
  }
5006
- v[0] = o[0] + (o[7] << 16 | o[7] >>> 16) + (o[6] << 16 | o[6] >>> 16) | 0, v[1] = o[1] + (o[0] << 8 | o[0] >>> 24) + o[7] | 0, v[2] = o[2] + (o[1] << 16 | o[1] >>> 16) + (o[0] << 16 | o[0] >>> 16) | 0, v[3] = o[3] + (o[2] << 8 | o[2] >>> 24) + o[1] | 0, v[4] = o[4] + (o[3] << 16 | o[3] >>> 16) + (o[2] << 16 | o[2] >>> 16) | 0, v[5] = o[5] + (o[4] << 8 | o[4] >>> 24) + o[3] | 0, v[6] = o[6] + (o[5] << 16 | o[5] >>> 16) + (o[4] << 16 | o[4] >>> 16) | 0, v[7] = o[7] + (o[6] << 8 | o[6] >>> 24) + o[5] | 0;
5006
+ b[0] = o[0] + (o[7] << 16 | o[7] >>> 16) + (o[6] << 16 | o[6] >>> 16) | 0, b[1] = o[1] + (o[0] << 8 | o[0] >>> 24) + o[7] | 0, b[2] = o[2] + (o[1] << 16 | o[1] >>> 16) + (o[0] << 16 | o[0] >>> 16) | 0, b[3] = o[3] + (o[2] << 8 | o[2] >>> 24) + o[1] | 0, b[4] = o[4] + (o[3] << 16 | o[3] >>> 16) + (o[2] << 16 | o[2] >>> 16) | 0, b[5] = o[5] + (o[4] << 8 | o[4] >>> 24) + o[3] | 0, b[6] = o[6] + (o[5] << 16 | o[5] >>> 16) + (o[4] << 16 | o[4] >>> 16) | 0, b[7] = o[7] + (o[6] << 8 | o[6] >>> 24) + o[5] | 0;
5007
5007
  }
5008
5008
  r.Rabbit = i._createHelper(c);
5009
5009
  }(), t.Rabbit;
@@ -5011,7 +5011,7 @@ function Ga() {
5011
5011
  }(lf)), lf.exports;
5012
5012
  }
5013
5013
  var xf = { exports: {} }, qi;
5014
- function Qa() {
5014
+ function Ja() {
5015
5015
  return qi || (qi = 1, function(f, e) {
5016
5016
  (function(t, r, a) {
5017
5017
  f.exports = r($e(), Rt(), kt(), At(), C0());
@@ -5019,55 +5019,55 @@ function Qa() {
5019
5019
  return function() {
5020
5020
  var r = t, a = r.lib, i = a.StreamCipher, y = r.algo, x = [], u = [], o = [], c = y.RabbitLegacy = i.extend({
5021
5021
  _doReset: function() {
5022
- var v = this._key.words, C = this.cfg.iv, w = this._X = [
5023
- v[0],
5024
- v[3] << 16 | v[2] >>> 16,
5025
- v[1],
5026
- v[0] << 16 | v[3] >>> 16,
5027
- v[2],
5028
- v[1] << 16 | v[0] >>> 16,
5029
- v[3],
5030
- v[2] << 16 | v[1] >>> 16
5022
+ var b = this._key.words, C = this.cfg.iv, w = this._X = [
5023
+ b[0],
5024
+ b[3] << 16 | b[2] >>> 16,
5025
+ b[1],
5026
+ b[0] << 16 | b[3] >>> 16,
5027
+ b[2],
5028
+ b[1] << 16 | b[0] >>> 16,
5029
+ b[3],
5030
+ b[2] << 16 | b[1] >>> 16
5031
5031
  ], R = this._C = [
5032
- v[2] << 16 | v[2] >>> 16,
5033
- v[0] & 4294901760 | v[1] & 65535,
5034
- v[3] << 16 | v[3] >>> 16,
5035
- v[1] & 4294901760 | v[2] & 65535,
5036
- v[0] << 16 | v[0] >>> 16,
5037
- v[2] & 4294901760 | v[3] & 65535,
5038
- v[1] << 16 | v[1] >>> 16,
5039
- v[3] & 4294901760 | v[0] & 65535
5032
+ b[2] << 16 | b[2] >>> 16,
5033
+ b[0] & 4294901760 | b[1] & 65535,
5034
+ b[3] << 16 | b[3] >>> 16,
5035
+ b[1] & 4294901760 | b[2] & 65535,
5036
+ b[0] << 16 | b[0] >>> 16,
5037
+ b[2] & 4294901760 | b[3] & 65535,
5038
+ b[1] << 16 | b[1] >>> 16,
5039
+ b[3] & 4294901760 | b[0] & 65535
5040
5040
  ];
5041
5041
  this._b = 0;
5042
5042
  for (var k = 0; k < 4; k++)
5043
- b.call(this);
5043
+ v.call(this);
5044
5044
  for (var k = 0; k < 8; k++)
5045
5045
  R[k] ^= w[k + 4 & 7];
5046
5046
  if (C) {
5047
5047
  var q = C.words, S = q[0], P = q[1], T = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, H = (P << 8 | P >>> 24) & 16711935 | (P << 24 | P >>> 8) & 4278255360, $ = T >>> 16 | H & 4294901760, K = H << 16 | T & 65535;
5048
5048
  R[0] ^= T, R[1] ^= $, R[2] ^= H, R[3] ^= K, R[4] ^= T, R[5] ^= $, R[6] ^= H, R[7] ^= K;
5049
5049
  for (var k = 0; k < 4; k++)
5050
- b.call(this);
5050
+ v.call(this);
5051
5051
  }
5052
5052
  },
5053
- _doProcessBlock: function(v, C) {
5053
+ _doProcessBlock: function(b, C) {
5054
5054
  var w = this._X;
5055
- b.call(this), x[0] = w[0] ^ w[5] >>> 16 ^ w[3] << 16, x[1] = w[2] ^ w[7] >>> 16 ^ w[5] << 16, x[2] = w[4] ^ w[1] >>> 16 ^ w[7] << 16, x[3] = w[6] ^ w[3] >>> 16 ^ w[1] << 16;
5055
+ v.call(this), x[0] = w[0] ^ w[5] >>> 16 ^ w[3] << 16, x[1] = w[2] ^ w[7] >>> 16 ^ w[5] << 16, x[2] = w[4] ^ w[1] >>> 16 ^ w[7] << 16, x[3] = w[6] ^ w[3] >>> 16 ^ w[1] << 16;
5056
5056
  for (var R = 0; R < 4; R++)
5057
- x[R] = (x[R] << 8 | x[R] >>> 24) & 16711935 | (x[R] << 24 | x[R] >>> 8) & 4278255360, v[C + R] ^= x[R];
5057
+ x[R] = (x[R] << 8 | x[R] >>> 24) & 16711935 | (x[R] << 24 | x[R] >>> 8) & 4278255360, b[C + R] ^= x[R];
5058
5058
  },
5059
5059
  blockSize: 128 / 32,
5060
5060
  ivSize: 64 / 32
5061
5061
  });
5062
- function b() {
5063
- for (var v = this._X, C = this._C, w = 0; w < 8; w++)
5062
+ function v() {
5063
+ for (var b = this._X, C = this._C, w = 0; w < 8; w++)
5064
5064
  u[w] = C[w];
5065
5065
  C[0] = C[0] + 1295307597 + this._b | 0, C[1] = C[1] + 3545052371 + (C[0] >>> 0 < u[0] >>> 0 ? 1 : 0) | 0, C[2] = C[2] + 886263092 + (C[1] >>> 0 < u[1] >>> 0 ? 1 : 0) | 0, C[3] = C[3] + 1295307597 + (C[2] >>> 0 < u[2] >>> 0 ? 1 : 0) | 0, C[4] = C[4] + 3545052371 + (C[3] >>> 0 < u[3] >>> 0 ? 1 : 0) | 0, C[5] = C[5] + 886263092 + (C[4] >>> 0 < u[4] >>> 0 ? 1 : 0) | 0, C[6] = C[6] + 1295307597 + (C[5] >>> 0 < u[5] >>> 0 ? 1 : 0) | 0, C[7] = C[7] + 3545052371 + (C[6] >>> 0 < u[6] >>> 0 ? 1 : 0) | 0, this._b = C[7] >>> 0 < u[7] >>> 0 ? 1 : 0;
5066
5066
  for (var w = 0; w < 8; w++) {
5067
- var R = v[w] + C[w], k = R & 65535, q = R >>> 16, S = ((k * k >>> 17) + k * q >>> 15) + q * q, P = ((R & 4294901760) * R | 0) + ((R & 65535) * R | 0);
5067
+ var R = b[w] + C[w], k = R & 65535, q = R >>> 16, S = ((k * k >>> 17) + k * q >>> 15) + q * q, P = ((R & 4294901760) * R | 0) + ((R & 65535) * R | 0);
5068
5068
  o[w] = S ^ P;
5069
5069
  }
5070
- v[0] = o[0] + (o[7] << 16 | o[7] >>> 16) + (o[6] << 16 | o[6] >>> 16) | 0, v[1] = o[1] + (o[0] << 8 | o[0] >>> 24) + o[7] | 0, v[2] = o[2] + (o[1] << 16 | o[1] >>> 16) + (o[0] << 16 | o[0] >>> 16) | 0, v[3] = o[3] + (o[2] << 8 | o[2] >>> 24) + o[1] | 0, v[4] = o[4] + (o[3] << 16 | o[3] >>> 16) + (o[2] << 16 | o[2] >>> 16) | 0, v[5] = o[5] + (o[4] << 8 | o[4] >>> 24) + o[3] | 0, v[6] = o[6] + (o[5] << 16 | o[5] >>> 16) + (o[4] << 16 | o[4] >>> 16) | 0, v[7] = o[7] + (o[6] << 8 | o[6] >>> 24) + o[5] | 0;
5070
+ b[0] = o[0] + (o[7] << 16 | o[7] >>> 16) + (o[6] << 16 | o[6] >>> 16) | 0, b[1] = o[1] + (o[0] << 8 | o[0] >>> 24) + o[7] | 0, b[2] = o[2] + (o[1] << 16 | o[1] >>> 16) + (o[0] << 16 | o[0] >>> 16) | 0, b[3] = o[3] + (o[2] << 8 | o[2] >>> 24) + o[1] | 0, b[4] = o[4] + (o[3] << 16 | o[3] >>> 16) + (o[2] << 16 | o[2] >>> 16) | 0, b[5] = o[5] + (o[4] << 8 | o[4] >>> 24) + o[3] | 0, b[6] = o[6] + (o[5] << 16 | o[5] >>> 16) + (o[4] << 16 | o[4] >>> 16) | 0, b[7] = o[7] + (o[6] << 8 | o[6] >>> 24) + o[5] | 0;
5071
5071
  }
5072
5072
  r.RabbitLegacy = i._createHelper(c);
5073
5073
  }(), t.RabbitLegacy;
@@ -5075,7 +5075,7 @@ function Qa() {
5075
5075
  }(xf)), xf.exports;
5076
5076
  }
5077
5077
  var vf = { exports: {} }, Ni;
5078
- function Ja() {
5078
+ function es() {
5079
5079
  return Ni || (Ni = 1, function(f, e) {
5080
5080
  (function(t, r, a) {
5081
5081
  f.exports = r($e(), Rt(), kt(), At(), C0());
@@ -6139,20 +6139,20 @@ function Ja() {
6139
6139
  pbox: [],
6140
6140
  sbox: []
6141
6141
  };
6142
- function b(k, q) {
6142
+ function v(k, q) {
6143
6143
  let S = q >> 24 & 255, P = q >> 16 & 255, T = q >> 8 & 255, H = q & 255, $ = k.sbox[0][S] + k.sbox[1][P];
6144
6144
  return $ = $ ^ k.sbox[2][T], $ = $ + k.sbox[3][H], $;
6145
6145
  }
6146
- function v(k, q, S) {
6146
+ function b(k, q, S) {
6147
6147
  let P = q, T = S, H;
6148
6148
  for (let $ = 0; $ < x; ++$)
6149
- P = P ^ k.pbox[$], T = b(k, P) ^ T, H = P, P = T, T = H;
6149
+ P = P ^ k.pbox[$], T = v(k, P) ^ T, H = P, P = T, T = H;
6150
6150
  return H = P, P = T, T = H, T = T ^ k.pbox[x], P = P ^ k.pbox[x + 1], { left: P, right: T };
6151
6151
  }
6152
6152
  function C(k, q, S) {
6153
6153
  let P = q, T = S, H;
6154
6154
  for (let $ = x + 1; $ > 1; --$)
6155
- P = P ^ k.pbox[$], T = b(k, P) ^ T, H = P, P = T, T = H;
6155
+ P = P ^ k.pbox[$], T = v(k, P) ^ T, H = P, P = T, T = H;
6156
6156
  return H = P, P = T, T = H, T = T ^ k.pbox[1], P = P ^ k.pbox[0], { left: P, right: T };
6157
6157
  }
6158
6158
  function w(k, q, S) {
@@ -6166,10 +6166,10 @@ function Ja() {
6166
6166
  k.pbox[K] = u[K] ^ q[P], P++, P >= S && (P = 0);
6167
6167
  let T = 0, H = 0, $ = 0;
6168
6168
  for (let K = 0; K < x + 2; K += 2)
6169
- $ = v(k, T, H), T = $.left, H = $.right, k.pbox[K] = T, k.pbox[K + 1] = H;
6169
+ $ = b(k, T, H), T = $.left, H = $.right, k.pbox[K] = T, k.pbox[K + 1] = H;
6170
6170
  for (let K = 0; K < 4; K++)
6171
6171
  for (let X = 0; X < 256; X += 2)
6172
- $ = v(k, T, H), T = $.left, H = $.right, k.sbox[K][X] = T, k.sbox[K][X + 1] = H;
6172
+ $ = b(k, T, H), T = $.left, H = $.right, k.sbox[K][X] = T, k.sbox[K][X + 1] = H;
6173
6173
  return !0;
6174
6174
  }
6175
6175
  var R = y.Blowfish = i.extend({
@@ -6180,7 +6180,7 @@ function Ja() {
6180
6180
  }
6181
6181
  },
6182
6182
  encryptBlock: function(k, q) {
6183
- var S = v(c, k[q], k[q + 1]);
6183
+ var S = b(c, k[q], k[q + 1]);
6184
6184
  k[q] = S.left, k[q + 1] = S.right;
6185
6185
  },
6186
6186
  decryptBlock: function(k, q) {
@@ -6198,33 +6198,33 @@ function Ja() {
6198
6198
  }
6199
6199
  (function(f, e) {
6200
6200
  (function(t, r, a) {
6201
- f.exports = r($e(), _r(), Sa(), Da(), Rt(), Ra(), kt(), bn(), Nf(), ka(), pn(), Pa(), Ia(), Ta(), Lf(), Oa(), At(), C0(), za(), qa(), Na(), La(), Ha(), Ua(), $a(), Wa(), Ya(), Ka(), ja(), Va(), Xa(), Za(), Ga(), Qa(), Ja());
6201
+ f.exports = r($e(), _r(), Da(), Ra(), Rt(), ka(), kt(), bn(), Nf(), Pa(), pn(), Ia(), Ta(), Oa(), Lf(), za(), At(), C0(), qa(), Na(), La(), Ha(), Ua(), $a(), Wa(), Ya(), Ka(), ja(), Va(), Xa(), Za(), Ga(), Qa(), Ja(), es());
6202
6202
  })(Pe, function(t) {
6203
6203
  return t;
6204
6204
  });
6205
6205
  })(xn);
6206
- var es = xn.exports;
6207
- const ut = /* @__PURE__ */ sn(es);
6206
+ var ts = xn.exports;
6207
+ const ut = /* @__PURE__ */ sn(ts);
6208
6208
  var yn = {};
6209
- const ts = "elliptic", rs = "6.5.5", fs = "EC cryptography", is = "lib/elliptic.js", ns = [
6209
+ const rs = "elliptic", fs = "6.5.5", is = "EC cryptography", ns = "lib/elliptic.js", as = [
6210
6210
  "lib"
6211
- ], as = {
6211
+ ], ss = {
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
- }, ss = {
6217
+ }, os = {
6218
6218
  type: "git",
6219
6219
  url: "git@github.com:indutny/elliptic"
6220
- }, os = [
6220
+ }, cs = [
6221
6221
  "EC",
6222
6222
  "Elliptic",
6223
6223
  "curve",
6224
6224
  "Cryptography"
6225
- ], cs = "Fedor Indutny <fedor@indutny.com>", ds = "MIT", hs = {
6225
+ ], ds = "Fedor Indutny <fedor@indutny.com>", hs = "MIT", us = {
6226
6226
  url: "https://github.com/indutny/elliptic/issues"
6227
- }, us = "https://github.com/indutny/elliptic", ls = {
6227
+ }, ls = "https://github.com/indutny/elliptic", xs = {
6228
6228
  brfs: "^2.0.2",
6229
6229
  coveralls: "^3.1.0",
6230
6230
  eslint: "^7.6.0",
@@ -6238,7 +6238,7 @@ const ts = "elliptic", rs = "6.5.5", fs = "EC cryptography", is = "lib/elliptic.
6238
6238
  "grunt-saucelabs": "^9.0.1",
6239
6239
  istanbul: "^0.4.5",
6240
6240
  mocha: "^8.0.1"
6241
- }, xs = {
6241
+ }, vs = {
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 ts = "elliptic", rs = "6.5.5", fs = "EC cryptography", is = "lib/elliptic.
6246
6246
  inherits: "^2.0.4",
6247
6247
  "minimalistic-assert": "^1.0.1",
6248
6248
  "minimalistic-crypto-utils": "^1.0.1"
6249
- }, vs = {
6250
- name: ts,
6251
- version: rs,
6252
- description: fs,
6253
- main: is,
6254
- files: ns,
6255
- scripts: as,
6256
- repository: ss,
6257
- keywords: os,
6258
- author: cs,
6259
- license: ds,
6260
- bugs: hs,
6261
- homepage: us,
6262
- devDependencies: ls,
6263
- dependencies: xs
6249
+ }, bs = {
6250
+ name: rs,
6251
+ version: fs,
6252
+ description: is,
6253
+ main: ns,
6254
+ files: as,
6255
+ scripts: ss,
6256
+ repository: os,
6257
+ keywords: cs,
6258
+ author: ds,
6259
+ license: hs,
6260
+ bugs: us,
6261
+ homepage: ls,
6262
+ devDependencies: xs,
6263
+ dependencies: vs
6264
6264
  };
6265
6265
  var Y0 = {}, Hf = { exports: {} };
6266
6266
  Hf.exports;
@@ -6417,7 +6417,7 @@ Hf.exports;
6417
6417
  "00000000000000000000000",
6418
6418
  "000000000000000000000000",
6419
6419
  "0000000000000000000000000"
6420
- ], b = [
6420
+ ], v = [
6421
6421
  0,
6422
6422
  0,
6423
6423
  25,
@@ -6455,7 +6455,7 @@ Hf.exports;
6455
6455
  5,
6456
6456
  5,
6457
6457
  5
6458
- ], v = [
6458
+ ], b = [
6459
6459
  0,
6460
6460
  0,
6461
6461
  33554432,
@@ -6508,7 +6508,7 @@ Hf.exports;
6508
6508
  return this.negative !== 0 && (g = "-" + g), g;
6509
6509
  }
6510
6510
  if (n === (n | 0) && n >= 2 && n <= 36) {
6511
- var h = b[n], E = v[n];
6511
+ var h = v[n], E = b[n];
6512
6512
  g = "";
6513
6513
  var j = this.clone();
6514
6514
  for (j.negative = 0; !j.isZero(); ) {
@@ -7471,8 +7471,8 @@ var Uf = {};
7471
7471
  x.push(parseInt(i[u] + i[u + 1], 16));
7472
7472
  } else
7473
7473
  for (var u = 0; u < i.length; u++) {
7474
- var o = i.charCodeAt(u), c = o >> 8, b = o & 255;
7475
- c ? x.push(c, b) : x.push(b);
7474
+ var o = i.charCodeAt(u), c = o >> 8, v = o & 255;
7475
+ c ? x.push(c, v) : x.push(v);
7476
7476
  }
7477
7477
  return x;
7478
7478
  }
@@ -7493,11 +7493,11 @@ var Uf = {};
7493
7493
  (function(f) {
7494
7494
  var e = f, t = pt, r = Pt, a = Uf;
7495
7495
  e.assert = r, e.toArray = a.toArray, e.zero2 = a.zero2, e.toHex = a.toHex, e.encode = a.encode;
7496
- function i(c, b, v) {
7497
- var C = new Array(Math.max(c.bitLength(), v) + 1), w;
7496
+ function i(c, v, b) {
7497
+ var C = new Array(Math.max(c.bitLength(), b) + 1), w;
7498
7498
  for (w = 0; w < C.length; w += 1)
7499
7499
  C[w] = 0;
7500
- var R = 1 << b + 1, k = c.clone();
7500
+ var R = 1 << v + 1, k = c.clone();
7501
7501
  for (w = 0; w < C.length; w++) {
7502
7502
  var q, S = k.andln(R - 1);
7503
7503
  k.isOdd() ? (S > (R >> 1) - 1 ? q = (R >> 1) - S : q = S, k.isubn(q)) : q = 0, C[w] = q, k.iushrn(1);
@@ -7505,27 +7505,27 @@ var Uf = {};
7505
7505
  return C;
7506
7506
  }
7507
7507
  e.getNAF = i;
7508
- function y(c, b) {
7509
- var v = [
7508
+ function y(c, v) {
7509
+ var b = [
7510
7510
  [],
7511
7511
  []
7512
7512
  ];
7513
- c = c.clone(), b = b.clone();
7514
- for (var C = 0, w = 0, R; c.cmpn(-C) > 0 || b.cmpn(-w) > 0; ) {
7515
- var k = c.andln(3) + C & 3, q = b.andln(3) + w & 3;
7513
+ c = c.clone(), v = v.clone();
7514
+ for (var C = 0, w = 0, R; c.cmpn(-C) > 0 || v.cmpn(-w) > 0; ) {
7515
+ var k = c.andln(3) + C & 3, q = v.andln(3) + w & 3;
7516
7516
  k === 3 && (k = -1), q === 3 && (q = -1);
7517
7517
  var S;
7518
- k & 1 ? (R = c.andln(7) + C & 7, (R === 3 || R === 5) && q === 2 ? S = -k : S = k) : S = 0, v[0].push(S);
7518
+ k & 1 ? (R = c.andln(7) + C & 7, (R === 3 || R === 5) && q === 2 ? S = -k : S = k) : S = 0, b[0].push(S);
7519
7519
  var P;
7520
- q & 1 ? (R = b.andln(7) + w & 7, (R === 3 || R === 5) && k === 2 ? P = -q : P = q) : P = 0, v[1].push(P), 2 * C === S + 1 && (C = 1 - C), 2 * w === P + 1 && (w = 1 - w), c.iushrn(1), b.iushrn(1);
7520
+ q & 1 ? (R = v.andln(7) + w & 7, (R === 3 || R === 5) && k === 2 ? P = -q : P = q) : P = 0, b[1].push(P), 2 * C === S + 1 && (C = 1 - C), 2 * w === P + 1 && (w = 1 - w), c.iushrn(1), v.iushrn(1);
7521
7521
  }
7522
- return v;
7522
+ return b;
7523
7523
  }
7524
7524
  e.getJSF = y;
7525
- function x(c, b, v) {
7526
- var C = "_" + b;
7527
- c.prototype[b] = function() {
7528
- return this[C] !== void 0 ? this[C] : this[C] = v.call(this);
7525
+ function x(c, v, b) {
7526
+ var C = "_" + v;
7527
+ c.prototype[v] = function() {
7528
+ return this[C] !== void 0 ? this[C] : this[C] = b.call(this);
7529
7529
  };
7530
7530
  }
7531
7531
  e.cachedProperty = x;
@@ -7576,7 +7576,7 @@ else
7576
7576
  };
7577
7577
  } catch {
7578
7578
  }
7579
- var mn = $f.exports, Wf = {}, Bt = pt, fr = Y0, pr = fr.getNAF, bs = fr.getJSF, yr = fr.assert;
7579
+ var mn = $f.exports, Wf = {}, Bt = pt, fr = Y0, pr = fr.getNAF, ps = fr.getJSF, yr = fr.assert;
7580
7580
  function Et(f, e) {
7581
7581
  this.type = f, this.p = new Bt(e.p, 16), this.red = e.prime ? Bt.red(e.prime) : Bt.mont(this.p), this.zero = new Bt(0).toRed(this.red), this.one = new Bt(1).toRed(this.red), this.two = new Bt(2).toRed(this.red), this.n = e.n && new Bt(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);
@@ -7600,10 +7600,10 @@ Et.prototype._fixedNafMul = function(e, t) {
7600
7600
  u = (u << 1) + a[o];
7601
7601
  y.push(u);
7602
7602
  }
7603
- for (var c = this.jpoint(null, null, null), b = this.jpoint(null, null, null), v = i; v > 0; v--) {
7603
+ for (var c = this.jpoint(null, null, null), v = this.jpoint(null, null, null), b = i; b > 0; b--) {
7604
7604
  for (x = 0; x < y.length; x++)
7605
- u = y[x], u === v ? b = b.mixedAdd(r.points[x]) : u === -v && (b = b.mixedAdd(r.points[x].neg()));
7606
- c = c.add(b);
7605
+ u = y[x], u === b ? v = v.mixedAdd(r.points[x]) : u === -b && (v = v.mixedAdd(r.points[x].neg()));
7606
+ c = c.add(v);
7607
7607
  }
7608
7608
  return c.toP();
7609
7609
  };
@@ -7621,10 +7621,10 @@ Et.prototype._wnafMul = function(e, t) {
7621
7621
  return e.type === "affine" ? x.toP() : x;
7622
7622
  };
7623
7623
  Et.prototype._wnafMulAdd = function(e, t, r, a, i) {
7624
- var y = this._wnafT1, x = this._wnafT2, u = this._wnafT3, o = 0, c, b, v;
7624
+ var y = this._wnafT1, x = this._wnafT2, u = this._wnafT3, o = 0, c, v, b;
7625
7625
  for (c = 0; c < a; c++) {
7626
- v = t[c];
7627
- var C = v._getNAFPoints(e);
7626
+ b = t[c];
7627
+ var C = b._getNAFPoints(e);
7628
7628
  y[c] = C.wnd, x[c] = C.points;
7629
7629
  }
7630
7630
  for (c = a - 1; c >= 1; c -= 2) {
@@ -7663,27 +7663,27 @@ Et.prototype._wnafMulAdd = function(e, t, r, a, i) {
7663
7663
  /* 1 0 */
7664
7664
  3
7665
7665
  /* 1 1 */
7666
- ], S = bs(r[w], r[R]);
7667
- for (o = Math.max(S[0].length, o), u[w] = new Array(o), u[R] = new Array(o), b = 0; b < o; b++) {
7668
- var P = S[0][b] | 0, T = S[1][b] | 0;
7669
- u[w][b] = q[(P + 1) * 3 + (T + 1)], u[R][b] = 0, x[w] = k;
7666
+ ], S = ps(r[w], r[R]);
7667
+ for (o = Math.max(S[0].length, o), u[w] = new Array(o), u[R] = new Array(o), v = 0; v < o; v++) {
7668
+ var P = S[0][v] | 0, T = S[1][v] | 0;
7669
+ u[w][v] = q[(P + 1) * 3 + (T + 1)], u[R][v] = 0, x[w] = k;
7670
7670
  }
7671
7671
  }
7672
7672
  var H = this.jpoint(null, null, null), $ = this._wnafT4;
7673
7673
  for (c = o; c >= 0; c--) {
7674
7674
  for (var K = 0; c >= 0; ) {
7675
7675
  var X = !0;
7676
- for (b = 0; b < a; b++)
7677
- $[b] = u[b][c] | 0, $[b] !== 0 && (X = !1);
7676
+ for (v = 0; v < a; v++)
7677
+ $[v] = u[v][c] | 0, $[v] !== 0 && (X = !1);
7678
7678
  if (!X)
7679
7679
  break;
7680
7680
  K++, c--;
7681
7681
  }
7682
7682
  if (c >= 0 && K++, H = H.dblp(K), c < 0)
7683
7683
  break;
7684
- for (b = 0; b < a; b++) {
7685
- var Q = $[b];
7686
- Q !== 0 && (Q > 0 ? v = x[b][Q - 1 >> 1] : Q < 0 && (v = x[b][-Q - 1 >> 1].neg()), v.type === "affine" ? H = H.mixedAdd(v) : H = H.add(v));
7684
+ for (v = 0; v < a; v++) {
7685
+ var Q = $[v];
7686
+ Q !== 0 && (Q > 0 ? b = x[v][Q - 1 >> 1] : Q < 0 && (b = x[v][-Q - 1 >> 1].neg()), b.type === "affine" ? H = H.mixedAdd(b) : H = H.add(b));
7687
7687
  }
7688
7688
  }
7689
7689
  for (c = 0; c < a; c++)
@@ -7789,12 +7789,12 @@ typeof Object.create == "function" ? Mf.exports = function(e, t) {
7789
7789
  r.prototype = t.prototype, e.prototype = new r(), e.prototype.constructor = e;
7790
7790
  }
7791
7791
  };
7792
- var Er = Mf.exports, ps = Y0, g0 = pt, Yf = Er, Ut = Ar, ys = ps.assert;
7792
+ var Er = Mf.exports, ys = Y0, g0 = pt, Yf = Er, Ut = Ar, gs = ys.assert;
7793
7793
  function X0(f) {
7794
7794
  Ut.call(this, "short", f), this.a = new g0(f.a, 16).toRed(this.red), this.b = new g0(f.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(f), this._endoWnafT1 = new Array(4), this._endoWnafT2 = new Array(4);
7795
7795
  }
7796
7796
  Yf(X0, Ut);
7797
- var gs = X0;
7797
+ var ms = X0;
7798
7798
  X0.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 @@ X0.prototype._getEndomorphism = function(e) {
7808
7808
  r = new g0(e.lambda, 16);
7809
7809
  else {
7810
7810
  var i = this._getEndoRoots(this.n);
7811
- this.g.mul(i[0]).x.cmp(this.g.x.redMul(t)) === 0 ? r = i[0] : (r = i[1], ys(this.g.mul(r).x.cmp(this.g.x.redMul(t)) === 0));
7811
+ this.g.mul(i[0]).x.cmp(this.g.x.redMul(t)) === 0 ? r = i[0] : (r = i[1], gs(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) {
@@ -7828,26 +7828,26 @@ X0.prototype._getEndoRoots = function(e) {
7828
7828
  return [y, x];
7829
7829
  };
7830
7830
  X0.prototype._getEndoBasis = function(e) {
7831
- for (var t = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), r = e, a = this.n.clone(), i = new g0(1), y = new g0(0), x = new g0(0), u = new g0(1), o, c, b, v, C, w, R, k = 0, q, S; r.cmpn(0) !== 0; ) {
7831
+ for (var t = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), r = e, a = this.n.clone(), i = new g0(1), y = new g0(0), x = new g0(0), u = new g0(1), o, c, v, b, C, w, R, k = 0, q, S; r.cmpn(0) !== 0; ) {
7832
7832
  var P = a.div(r);
7833
7833
  q = a.sub(P.mul(r)), S = x.sub(P.mul(i));
7834
7834
  var T = u.sub(P.mul(y));
7835
- if (!b && q.cmp(t) < 0)
7836
- o = R.neg(), c = i, b = q.neg(), v = S;
7837
- else if (b && ++k === 2)
7835
+ if (!v && q.cmp(t) < 0)
7836
+ o = R.neg(), c = i, v = q.neg(), b = S;
7837
+ else if (v && ++k === 2)
7838
7838
  break;
7839
7839
  R = q, a = r, r = q, x = i, i = S, u = y, y = T;
7840
7840
  }
7841
7841
  C = q.neg(), w = S;
7842
- var H = b.sqr().add(v.sqr()), $ = C.sqr().add(w.sqr());
7843
- return $.cmp(H) >= 0 && (C = o, w = c), b.negative && (b = b.neg(), v = v.neg()), C.negative && (C = C.neg(), w = w.neg()), [
7844
- { a: b, b: v },
7842
+ var H = v.sqr().add(b.sqr()), $ = C.sqr().add(w.sqr());
7843
+ return $.cmp(H) >= 0 && (C = o, w = c), v.negative && (v = v.neg(), b = b.neg()), C.negative && (C = C.neg(), w = w.neg()), [
7844
+ { a: v, b },
7845
7845
  { a: C, b: w }
7846
7846
  ];
7847
7847
  };
7848
7848
  X0.prototype._endoSplit = function(e) {
7849
- var t = this.endo.basis, r = t[0], a = t[1], i = a.b.mul(e).divRound(this.n), y = r.b.neg().mul(e).divRound(this.n), x = i.mul(r.a), u = y.mul(a.a), o = i.mul(r.b), c = y.mul(a.b), b = e.sub(x).sub(u), v = o.add(c).neg();
7850
- return { k1: b, k2: v };
7849
+ var t = this.endo.basis, r = t[0], a = t[1], i = a.b.mul(e).divRound(this.n), y = r.b.neg().mul(e).divRound(this.n), x = i.mul(r.a), u = y.mul(a.a), o = i.mul(r.b), c = y.mul(a.b), v = e.sub(x).sub(u), b = o.add(c).neg();
7850
+ return { k1: v, k2: b };
7851
7851
  };
7852
7852
  X0.prototype.pointFromX = function(e, t) {
7853
7853
  e = new g0(e, 16), e.red || (e = e.toRed(this.red));
@@ -7868,8 +7868,8 @@ X0.prototype._endoWnafMulAdd = function(e, t, r) {
7868
7868
  var x = this._endoSplit(t[y]), u = e[y], o = u._getBeta();
7869
7869
  x.k1.negative && (x.k1.ineg(), u = u.neg(!0)), x.k2.negative && (x.k2.ineg(), o = o.neg(!0)), a[y * 2] = u, a[y * 2 + 1] = o, i[y * 2] = x.k1, i[y * 2 + 1] = x.k2;
7870
7870
  }
7871
- for (var c = this._wnafMulAdd(1, a, i, y * 2, r), b = 0; b < y * 2; b++)
7872
- a[b] = null, i[b] = null;
7871
+ for (var c = this._wnafMulAdd(1, a, i, y * 2, r), v = 0; v < y * 2; v++)
7872
+ a[v] = null, i[v] = null;
7873
7873
  return c;
7874
7874
  };
7875
7875
  function M0(f, e, t, r) {
@@ -8042,7 +8042,7 @@ R0.prototype.add = function(e) {
8042
8042
  var t = e.z.redSqr(), r = this.z.redSqr(), a = this.x.redMul(t), i = e.x.redMul(r), y = this.y.redMul(t.redMul(e.z)), x = e.y.redMul(r.redMul(this.z)), u = a.redSub(i), o = y.redSub(x);
8043
8043
  if (u.cmpn(0) === 0)
8044
8044
  return o.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl();
8045
- var c = u.redSqr(), b = c.redMul(u), v = a.redMul(c), C = o.redSqr().redIAdd(b).redISub(v).redISub(v), w = o.redMul(v.redISub(C)).redISub(y.redMul(b)), R = this.z.redMul(e.z).redMul(u);
8045
+ var c = u.redSqr(), v = c.redMul(u), b = a.redMul(c), C = o.redSqr().redIAdd(v).redISub(b).redISub(b), w = o.redMul(b.redISub(C)).redISub(y.redMul(v)), R = this.z.redMul(e.z).redMul(u);
8046
8046
  return this.curve.jpoint(C, w, R);
8047
8047
  };
8048
8048
  R0.prototype.mixedAdd = function(e) {
@@ -8053,8 +8053,8 @@ R0.prototype.mixedAdd = function(e) {
8053
8053
  var t = this.z.redSqr(), r = this.x, a = e.x.redMul(t), i = this.y, y = e.y.redMul(t).redMul(this.z), x = r.redSub(a), u = i.redSub(y);
8054
8054
  if (x.cmpn(0) === 0)
8055
8055
  return u.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl();
8056
- var o = x.redSqr(), c = o.redMul(x), b = r.redMul(o), v = u.redSqr().redIAdd(c).redISub(b).redISub(b), C = u.redMul(b.redISub(v)).redISub(i.redMul(c)), w = this.z.redMul(x);
8057
- return this.curve.jpoint(v, C, w);
8056
+ var o = x.redSqr(), c = o.redMul(x), v = r.redMul(o), b = u.redSqr().redIAdd(c).redISub(v).redISub(v), C = u.redMul(v.redISub(b)).redISub(i.redMul(c)), w = this.z.redMul(x);
8057
+ return this.curve.jpoint(b, C, w);
8058
8058
  };
8059
8059
  R0.prototype.dblp = function(e) {
8060
8060
  if (e === 0)
@@ -8072,7 +8072,7 @@ R0.prototype.dblp = function(e) {
8072
8072
  }
8073
8073
  var a = this.curve.a, i = this.curve.tinv, y = this.x, x = this.y, u = this.z, o = u.redSqr().redSqr(), c = x.redAdd(x);
8074
8074
  for (t = 0; t < e; t++) {
8075
- var b = y.redSqr(), v = c.redSqr(), C = v.redSqr(), w = b.redAdd(b).redIAdd(b).redIAdd(a.redMul(o)), R = y.redMul(v), k = w.redSqr().redISub(R.redAdd(R)), q = R.redISub(k), S = w.redMul(q);
8075
+ var v = y.redSqr(), b = c.redSqr(), C = b.redSqr(), w = v.redAdd(v).redIAdd(v).redIAdd(a.redMul(o)), R = y.redMul(b), k = w.redSqr().redISub(R.redAdd(R)), q = R.redISub(k), S = w.redMul(q);
8076
8076
  S = S.redIAdd(S).redISub(C);
8077
8077
  var P = c.redMul(u);
8078
8078
  t + 1 < e && (o = o.redMul(C)), y = k, u = P, c = S;
@@ -8090,9 +8090,9 @@ R0.prototype._zeroDbl = function() {
8090
8090
  var u = a.redAdd(a).redIAdd(a), o = u.redSqr().redISub(x).redISub(x), c = y.redIAdd(y);
8091
8091
  c = c.redIAdd(c), c = c.redIAdd(c), e = o, t = u.redMul(x.redISub(o)).redISub(c), r = this.y.redAdd(this.y);
8092
8092
  } else {
8093
- var b = this.x.redSqr(), v = this.y.redSqr(), C = v.redSqr(), w = this.x.redAdd(v).redSqr().redISub(b).redISub(C);
8093
+ var v = this.x.redSqr(), b = this.y.redSqr(), C = b.redSqr(), w = this.x.redAdd(b).redSqr().redISub(v).redISub(C);
8094
8094
  w = w.redIAdd(w);
8095
- var R = b.redAdd(b).redIAdd(b), k = R.redSqr(), q = C.redIAdd(C);
8095
+ var R = v.redAdd(v).redIAdd(v), k = R.redSqr(), q = C.redIAdd(C);
8096
8096
  q = q.redIAdd(q), q = q.redIAdd(q), e = k.redISub(w).redISub(w), t = R.redMul(w.redISub(e)).redISub(q), r = this.y.redMul(this.z), r = r.redIAdd(r);
8097
8097
  }
8098
8098
  return this.curve.jpoint(e, t, r);
@@ -8107,13 +8107,13 @@ R0.prototype._threeDbl = function() {
8107
8107
  var c = y.redIAdd(y);
8108
8108
  c = c.redIAdd(c), c = c.redIAdd(c), t = u.redMul(x.redISub(o)).redISub(c), r = this.y.redAdd(this.y);
8109
8109
  } else {
8110
- var b = this.z.redSqr(), v = this.y.redSqr(), C = this.x.redMul(v), w = this.x.redSub(b).redMul(this.x.redAdd(b));
8110
+ var v = this.z.redSqr(), b = this.y.redSqr(), C = this.x.redMul(b), w = this.x.redSub(v).redMul(this.x.redAdd(v));
8111
8111
  w = w.redAdd(w).redIAdd(w);
8112
8112
  var R = C.redIAdd(C);
8113
8113
  R = R.redIAdd(R);
8114
8114
  var k = R.redAdd(R);
8115
- e = w.redSqr().redISub(k), r = this.y.redAdd(this.z).redSqr().redISub(v).redISub(b);
8116
- var q = v.redSqr();
8115
+ e = w.redSqr().redISub(k), r = this.y.redAdd(this.z).redSqr().redISub(b).redISub(v);
8116
+ var q = b.redSqr();
8117
8117
  q = q.redIAdd(q), q = q.redIAdd(q), q = q.redIAdd(q), t = w.redMul(R.redISub(e)).redISub(q);
8118
8118
  }
8119
8119
  return this.curve.jpoint(e, t, r);
@@ -8121,10 +8121,10 @@ R0.prototype._threeDbl = function() {
8121
8121
  R0.prototype._dbl = function() {
8122
8122
  var e = this.curve.a, t = this.x, r = this.y, a = this.z, i = a.redSqr().redSqr(), y = t.redSqr(), x = r.redSqr(), u = y.redAdd(y).redIAdd(y).redIAdd(e.redMul(i)), o = t.redAdd(t);
8123
8123
  o = o.redIAdd(o);
8124
- var c = o.redMul(x), b = u.redSqr().redISub(c.redAdd(c)), v = c.redISub(b), C = x.redSqr();
8124
+ var c = o.redMul(x), v = u.redSqr().redISub(c.redAdd(c)), b = c.redISub(v), C = x.redSqr();
8125
8125
  C = C.redIAdd(C), C = C.redIAdd(C), C = C.redIAdd(C);
8126
- var w = u.redMul(v).redISub(C), R = r.redAdd(r).redMul(a);
8127
- return this.curve.jpoint(b, w, R);
8126
+ var w = u.redMul(b).redISub(C), R = r.redAdd(r).redMul(a);
8127
+ return this.curve.jpoint(v, w, R);
8128
8128
  };
8129
8129
  R0.prototype.trpl = function() {
8130
8130
  if (!this.curve.zeroA)
@@ -8133,14 +8133,14 @@ R0.prototype.trpl = function() {
8133
8133
  x = x.redIAdd(x), x = x.redAdd(x).redIAdd(x), x = x.redISub(y);
8134
8134
  var u = x.redSqr(), o = a.redIAdd(a);
8135
8135
  o = o.redIAdd(o), o = o.redIAdd(o), o = o.redIAdd(o);
8136
- var c = i.redIAdd(x).redSqr().redISub(y).redISub(u).redISub(o), b = t.redMul(c);
8137
- b = b.redIAdd(b), b = b.redIAdd(b);
8138
- var v = this.x.redMul(u).redISub(b);
8136
+ var c = i.redIAdd(x).redSqr().redISub(y).redISub(u).redISub(o), v = t.redMul(c);
8139
8137
  v = v.redIAdd(v), v = v.redIAdd(v);
8138
+ var b = this.x.redMul(u).redISub(v);
8139
+ b = b.redIAdd(b), b = b.redIAdd(b);
8140
8140
  var C = this.y.redMul(c.redMul(o.redISub(c)).redISub(x.redMul(u)));
8141
8141
  C = C.redIAdd(C), C = C.redIAdd(C), C = C.redIAdd(C);
8142
8142
  var w = this.z.redAdd(x).redSqr().redISub(r).redISub(u);
8143
- return this.curve.jpoint(v, C, w);
8143
+ return this.curve.jpoint(b, C, w);
8144
8144
  };
8145
8145
  R0.prototype.mul = function(e, t) {
8146
8146
  return e = new g0(e, t), this.curve._wnafMul(this, e);
@@ -8173,12 +8173,12 @@ R0.prototype.inspect = function() {
8173
8173
  R0.prototype.isInfinity = function() {
8174
8174
  return this.z.cmpn(0) === 0;
8175
8175
  };
8176
- var Ot = pt, _n = Er, wr = Ar, ms = Y0;
8176
+ var Ot = pt, _n = Er, wr = Ar, _s = Y0;
8177
8177
  function $t(f) {
8178
8178
  wr.call(this, "mont", f), this.a = new Ot(f.a, 16).toRed(this.red), this.b = new Ot(f.b, 16).toRed(this.red), this.i4 = new Ot(4).toRed(this.red).redInvm(), this.two = new Ot(2).toRed(this.red), this.a24 = this.i4.redMul(this.a.redAdd(this.two));
8179
8179
  }
8180
8180
  _n($t, wr);
8181
- var _s = $t;
8181
+ var As = $t;
8182
8182
  $t.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), i = a.redSqrt();
8184
8184
  return i.redSqr().cmp(a) === 0;
@@ -8188,7 +8188,7 @@ function B0(f, e, t) {
8188
8188
  }
8189
8189
  _n(B0, wr.BasePoint);
8190
8190
  $t.prototype.decodePoint = function(e, t) {
8191
- return this.point(ms.toArray(e, t), 1);
8191
+ return this.point(_s.toArray(e, t), 1);
8192
8192
  };
8193
8193
  $t.prototype.point = function(e, t) {
8194
8194
  return new B0(this, e, t);
@@ -8243,12 +8243,12 @@ B0.prototype.normalize = function() {
8243
8243
  B0.prototype.getX = function() {
8244
8244
  return this.normalize(), this.x.fromRed();
8245
8245
  };
8246
- var As = Y0, lt = pt, An = Er, Br = Ar, Es = As.assert;
8246
+ var Es = Y0, lt = pt, An = Er, Br = Ar, ws = Es.assert;
8247
8247
  function dt(f) {
8248
- this.twisted = (f.a | 0) !== 1, this.mOneA = this.twisted && (f.a | 0) === -1, this.extended = this.mOneA, Br.call(this, "edwards", f), this.a = new lt(f.a, 16).umod(this.red.m), this.a = this.a.toRed(this.red), this.c = new lt(f.c, 16).toRed(this.red), this.c2 = this.c.redSqr(), this.d = new lt(f.d, 16).toRed(this.red), this.dd = this.d.redAdd(this.d), Es(!this.twisted || this.c.fromRed().cmpn(1) === 0), this.oneC = (f.c | 0) === 1;
8248
+ this.twisted = (f.a | 0) !== 1, this.mOneA = this.twisted && (f.a | 0) === -1, this.extended = this.mOneA, Br.call(this, "edwards", f), this.a = new lt(f.a, 16).umod(this.red.m), this.a = this.a.toRed(this.red), this.c = new lt(f.c, 16).toRed(this.red), this.c2 = this.c.redSqr(), this.d = new lt(f.d, 16).toRed(this.red), this.dd = this.d.redAdd(this.d), ws(!this.twisted || this.c.fromRed().cmpn(1) === 0), this.oneC = (f.c | 0) === 1;
8249
8249
  }
8250
8250
  An(dt, Br);
8251
- var ws = dt;
8251
+ var Bs = dt;
8252
8252
  dt.prototype._mulA = function(e) {
8253
8253
  return this.mOneA ? e.redNeg() : this.a.redMul(e);
8254
8254
  };
@@ -8308,8 +8308,8 @@ v0.prototype.isInfinity = function() {
8308
8308
  v0.prototype._extDbl = function() {
8309
8309
  var e = this.x.redSqr(), t = this.y.redSqr(), r = this.z.redSqr();
8310
8310
  r = r.redIAdd(r);
8311
- var a = this.curve._mulA(e), i = this.x.redAdd(this.y).redSqr().redISub(e).redISub(t), y = a.redAdd(t), x = y.redSub(r), u = a.redSub(t), o = i.redMul(x), c = y.redMul(u), b = i.redMul(u), v = x.redMul(y);
8312
- return this.curve.point(o, c, v, b);
8311
+ var a = this.curve._mulA(e), i = this.x.redAdd(this.y).redSqr().redISub(e).redISub(t), y = a.redAdd(t), x = y.redSub(r), u = a.redSub(t), o = i.redMul(x), c = y.redMul(u), v = i.redMul(u), b = x.redMul(y);
8312
+ return this.curve.point(o, c, b, v);
8313
8313
  };
8314
8314
  v0.prototype._projDbl = function() {
8315
8315
  var e = this.x.redAdd(this.y).redSqr(), t = this.x.redSqr(), r = this.y.redSqr(), a, i, y, x, u, o;
@@ -8325,12 +8325,12 @@ v0.prototype.dbl = function() {
8325
8325
  return this.isInfinity() ? this : this.curve.extended ? this._extDbl() : this._projDbl();
8326
8326
  };
8327
8327
  v0.prototype._extAdd = function(e) {
8328
- var t = this.y.redSub(this.x).redMul(e.y.redSub(e.x)), r = this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)), a = this.t.redMul(this.curve.dd).redMul(e.t), i = this.z.redMul(e.z.redAdd(e.z)), y = r.redSub(t), x = i.redSub(a), u = i.redAdd(a), o = r.redAdd(t), c = y.redMul(x), b = u.redMul(o), v = y.redMul(o), C = x.redMul(u);
8329
- return this.curve.point(c, b, C, v);
8328
+ var t = this.y.redSub(this.x).redMul(e.y.redSub(e.x)), r = this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)), a = this.t.redMul(this.curve.dd).redMul(e.t), i = this.z.redMul(e.z.redAdd(e.z)), y = r.redSub(t), x = i.redSub(a), u = i.redAdd(a), o = r.redAdd(t), c = y.redMul(x), v = u.redMul(o), b = y.redMul(o), C = x.redMul(u);
8329
+ return this.curve.point(c, v, C, b);
8330
8330
  };
8331
8331
  v0.prototype._projAdd = function(e) {
8332
- var t = this.z.redMul(e.z), r = t.redSqr(), a = this.x.redMul(e.x), i = this.y.redMul(e.y), y = this.curve.d.redMul(a).redMul(i), x = r.redSub(y), u = r.redAdd(y), o = this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(i), c = t.redMul(x).redMul(o), b, v;
8333
- return this.curve.twisted ? (b = t.redMul(u).redMul(i.redSub(this.curve._mulA(a))), v = x.redMul(u)) : (b = t.redMul(u).redMul(i.redSub(a)), v = this.curve._mulC(x).redMul(u)), this.curve.point(c, b, v);
8332
+ var t = this.z.redMul(e.z), r = t.redSqr(), a = this.x.redMul(e.x), i = this.y.redMul(e.y), y = this.curve.d.redMul(a).redMul(i), x = r.redSub(y), u = r.redAdd(y), o = this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(i), c = t.redMul(x).redMul(o), v, b;
8333
+ return this.curve.twisted ? (v = t.redMul(u).redMul(i.redSub(this.curve._mulA(a))), b = x.redMul(u)) : (v = t.redMul(u).redMul(i.redSub(a)), b = this.curve._mulC(x).redMul(u)), this.curve.point(c, v, b);
8334
8334
  };
8335
8335
  v0.prototype.add = function(e) {
8336
8336
  return this.isInfinity() ? e : e.isInfinity() ? this : this.curve.extended ? this._extAdd(e) : this._projAdd(e);
@@ -8382,14 +8382,14 @@ v0.prototype.toP = v0.prototype.normalize;
8382
8382
  v0.prototype.mixedAdd = v0.prototype.add;
8383
8383
  (function(f) {
8384
8384
  var e = f;
8385
- e.base = Ar, e.short = gs, e.mont = _s, e.edwards = ws;
8385
+ e.base = Ar, e.short = ms, e.mont = As, e.edwards = Bs;
8386
8386
  })(Wf);
8387
- var Cr = {}, Mr = {}, Le = {}, Bs = Pt, Cs = Er;
8388
- Le.inherits = Cs;
8389
- function Ms(f, e) {
8387
+ var Cr = {}, Mr = {}, Le = {}, Cs = Pt, Ms = Er;
8388
+ Le.inherits = Ms;
8389
+ function Fs(f, e) {
8390
8390
  return (f.charCodeAt(e) & 64512) !== 55296 || e < 0 || e + 1 >= f.length ? !1 : (f.charCodeAt(e + 1) & 64512) === 56320;
8391
8391
  }
8392
- function Fs(f, e) {
8392
+ function Ss(f, e) {
8393
8393
  if (Array.isArray(f))
8394
8394
  return f.slice();
8395
8395
  if (!f)
@@ -8403,33 +8403,33 @@ function Fs(f, e) {
8403
8403
  } else
8404
8404
  for (var r = 0, a = 0; a < f.length; a++) {
8405
8405
  var i = f.charCodeAt(a);
8406
- i < 128 ? t[r++] = i : i < 2048 ? (t[r++] = i >> 6 | 192, t[r++] = i & 63 | 128) : Ms(f, a) ? (i = 65536 + ((i & 1023) << 10) + (f.charCodeAt(++a) & 1023), t[r++] = i >> 18 | 240, t[r++] = i >> 12 & 63 | 128, t[r++] = i >> 6 & 63 | 128, t[r++] = i & 63 | 128) : (t[r++] = i >> 12 | 224, t[r++] = i >> 6 & 63 | 128, t[r++] = i & 63 | 128);
8406
+ i < 128 ? t[r++] = i : i < 2048 ? (t[r++] = i >> 6 | 192, t[r++] = i & 63 | 128) : Fs(f, a) ? (i = 65536 + ((i & 1023) << 10) + (f.charCodeAt(++a) & 1023), t[r++] = i >> 18 | 240, t[r++] = i >> 12 & 63 | 128, t[r++] = i >> 6 & 63 | 128, t[r++] = i & 63 | 128) : (t[r++] = i >> 12 | 224, t[r++] = i >> 6 & 63 | 128, t[r++] = i & 63 | 128);
8407
8407
  }
8408
8408
  else
8409
8409
  for (a = 0; a < f.length; a++)
8410
8410
  t[a] = f[a] | 0;
8411
8411
  return t;
8412
8412
  }
8413
- Le.toArray = Fs;
8414
- function Ss(f) {
8413
+ Le.toArray = Ss;
8414
+ function Ds(f) {
8415
8415
  for (var e = "", t = 0; t < f.length; t++)
8416
8416
  e += wn(f[t].toString(16));
8417
8417
  return e;
8418
8418
  }
8419
- Le.toHex = Ss;
8419
+ Le.toHex = Ds;
8420
8420
  function En(f) {
8421
8421
  var e = f >>> 24 | f >>> 8 & 65280 | f << 8 & 16711680 | (f & 255) << 24;
8422
8422
  return e >>> 0;
8423
8423
  }
8424
8424
  Le.htonl = En;
8425
- function Ds(f, e) {
8425
+ function Rs(f, e) {
8426
8426
  for (var t = "", r = 0; r < f.length; r++) {
8427
8427
  var a = f[r];
8428
8428
  e === "little" && (a = En(a)), t += Bn(a.toString(16));
8429
8429
  }
8430
8430
  return t;
8431
8431
  }
8432
- Le.toHex32 = Ds;
8432
+ Le.toHex32 = Rs;
8433
8433
  function wn(f) {
8434
8434
  return f.length === 1 ? "0" + f : f;
8435
8435
  }
@@ -8438,107 +8438,107 @@ function Bn(f) {
8438
8438
  return f.length === 7 ? "0" + f : f.length === 6 ? "00" + f : f.length === 5 ? "000" + f : f.length === 4 ? "0000" + f : f.length === 3 ? "00000" + f : f.length === 2 ? "000000" + f : f.length === 1 ? "0000000" + f : f;
8439
8439
  }
8440
8440
  Le.zero8 = Bn;
8441
- function Rs(f, e, t, r) {
8441
+ function ks(f, e, t, r) {
8442
8442
  var a = t - e;
8443
- Bs(a % 4 === 0);
8443
+ Cs(a % 4 === 0);
8444
8444
  for (var i = new Array(a / 4), y = 0, x = e; y < i.length; y++, x += 4) {
8445
8445
  var u;
8446
8446
  r === "big" ? u = f[x] << 24 | f[x + 1] << 16 | f[x + 2] << 8 | f[x + 3] : u = f[x + 3] << 24 | f[x + 2] << 16 | f[x + 1] << 8 | f[x], i[y] = u >>> 0;
8447
8447
  }
8448
8448
  return i;
8449
8449
  }
8450
- Le.join32 = Rs;
8451
- function ks(f, e) {
8450
+ Le.join32 = ks;
8451
+ function Ps(f, e) {
8452
8452
  for (var t = new Array(f.length * 4), r = 0, a = 0; r < f.length; r++, a += 4) {
8453
8453
  var i = f[r];
8454
8454
  e === "big" ? (t[a] = i >>> 24, t[a + 1] = i >>> 16 & 255, t[a + 2] = i >>> 8 & 255, t[a + 3] = i & 255) : (t[a + 3] = i >>> 24, t[a + 2] = i >>> 16 & 255, t[a + 1] = i >>> 8 & 255, t[a] = i & 255);
8455
8455
  }
8456
8456
  return t;
8457
8457
  }
8458
- Le.split32 = ks;
8459
- function Ps(f, e) {
8458
+ Le.split32 = Ps;
8459
+ function Is(f, e) {
8460
8460
  return f >>> e | f << 32 - e;
8461
8461
  }
8462
- Le.rotr32 = Ps;
8463
- function Is(f, e) {
8462
+ Le.rotr32 = Is;
8463
+ function Ts(f, e) {
8464
8464
  return f << e | f >>> 32 - e;
8465
8465
  }
8466
- Le.rotl32 = Is;
8467
- function Ts(f, e) {
8466
+ Le.rotl32 = Ts;
8467
+ function Os(f, e) {
8468
8468
  return f + e >>> 0;
8469
8469
  }
8470
- Le.sum32 = Ts;
8471
- function Os(f, e, t) {
8470
+ Le.sum32 = Os;
8471
+ function zs(f, e, t) {
8472
8472
  return f + e + t >>> 0;
8473
8473
  }
8474
- Le.sum32_3 = Os;
8475
- function zs(f, e, t, r) {
8474
+ Le.sum32_3 = zs;
8475
+ function qs(f, e, t, r) {
8476
8476
  return f + e + t + r >>> 0;
8477
8477
  }
8478
- Le.sum32_4 = zs;
8479
- function qs(f, e, t, r, a) {
8478
+ Le.sum32_4 = qs;
8479
+ function Ns(f, e, t, r, a) {
8480
8480
  return f + e + t + r + a >>> 0;
8481
8481
  }
8482
- Le.sum32_5 = qs;
8483
- function Ns(f, e, t, r) {
8482
+ Le.sum32_5 = Ns;
8483
+ function Ls(f, e, t, r) {
8484
8484
  var a = f[e], i = f[e + 1], y = r + i >>> 0, x = (y < r ? 1 : 0) + t + a;
8485
8485
  f[e] = x >>> 0, f[e + 1] = y;
8486
8486
  }
8487
- Le.sum64 = Ns;
8488
- function Ls(f, e, t, r) {
8487
+ Le.sum64 = Ls;
8488
+ function Hs(f, e, t, r) {
8489
8489
  var a = e + r >>> 0, i = (a < e ? 1 : 0) + f + t;
8490
8490
  return i >>> 0;
8491
8491
  }
8492
- Le.sum64_hi = Ls;
8493
- function Hs(f, e, t, r) {
8492
+ Le.sum64_hi = Hs;
8493
+ function Us(f, e, t, r) {
8494
8494
  var a = e + r;
8495
8495
  return a >>> 0;
8496
8496
  }
8497
- Le.sum64_lo = Hs;
8498
- function Us(f, e, t, r, a, i, y, x) {
8497
+ Le.sum64_lo = Us;
8498
+ function $s(f, e, t, r, a, i, y, x) {
8499
8499
  var u = 0, o = e;
8500
8500
  o = o + r >>> 0, u += o < e ? 1 : 0, o = o + i >>> 0, u += o < i ? 1 : 0, o = o + x >>> 0, u += o < x ? 1 : 0;
8501
8501
  var c = f + t + a + y + u;
8502
8502
  return c >>> 0;
8503
8503
  }
8504
- Le.sum64_4_hi = Us;
8505
- function $s(f, e, t, r, a, i, y, x) {
8504
+ Le.sum64_4_hi = $s;
8505
+ function Ws(f, e, t, r, a, i, y, x) {
8506
8506
  var u = e + r + i + x;
8507
8507
  return u >>> 0;
8508
8508
  }
8509
- Le.sum64_4_lo = $s;
8510
- function Ws(f, e, t, r, a, i, y, x, u, o) {
8511
- var c = 0, b = e;
8512
- b = b + r >>> 0, c += b < e ? 1 : 0, b = b + i >>> 0, c += b < i ? 1 : 0, b = b + x >>> 0, c += b < x ? 1 : 0, b = b + o >>> 0, c += b < o ? 1 : 0;
8513
- var v = f + t + a + y + u + c;
8514
- return v >>> 0;
8515
- }
8516
- Le.sum64_5_hi = Ws;
8509
+ Le.sum64_4_lo = Ws;
8517
8510
  function Ys(f, e, t, r, a, i, y, x, u, o) {
8511
+ var c = 0, v = e;
8512
+ v = v + r >>> 0, c += v < e ? 1 : 0, v = v + i >>> 0, c += v < i ? 1 : 0, v = v + x >>> 0, c += v < x ? 1 : 0, v = v + o >>> 0, c += v < o ? 1 : 0;
8513
+ var b = f + t + a + y + u + c;
8514
+ return b >>> 0;
8515
+ }
8516
+ Le.sum64_5_hi = Ys;
8517
+ function Ks(f, e, t, r, a, i, y, x, u, o) {
8518
8518
  var c = e + r + i + x + o;
8519
8519
  return c >>> 0;
8520
8520
  }
8521
- Le.sum64_5_lo = Ys;
8522
- function Ks(f, e, t) {
8521
+ Le.sum64_5_lo = Ks;
8522
+ function js(f, e, t) {
8523
8523
  var r = e << 32 - t | f >>> t;
8524
8524
  return r >>> 0;
8525
8525
  }
8526
- Le.rotr64_hi = Ks;
8527
- function js(f, e, t) {
8526
+ Le.rotr64_hi = js;
8527
+ function Vs(f, e, t) {
8528
8528
  var r = f << 32 - t | e >>> t;
8529
8529
  return r >>> 0;
8530
8530
  }
8531
- Le.rotr64_lo = js;
8532
- function Vs(f, e, t) {
8531
+ Le.rotr64_lo = Vs;
8532
+ function Xs(f, e, t) {
8533
8533
  return f >>> t;
8534
8534
  }
8535
- Le.shr64_hi = Vs;
8536
- function Xs(f, e, t) {
8535
+ Le.shr64_hi = Xs;
8536
+ function Zs(f, e, t) {
8537
8537
  var r = f << 32 - t | e >>> t;
8538
8538
  return r >>> 0;
8539
8539
  }
8540
- Le.shr64_lo = Xs;
8541
- var Wt = {}, Hi = Le, Zs = Pt;
8540
+ Le.shr64_lo = Zs;
8541
+ var Wt = {}, Hi = Le, Gs = Pt;
8542
8542
  function Fr() {
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
  }
@@ -8554,7 +8554,7 @@ Fr.prototype.update = function(e, t) {
8554
8554
  return this;
8555
8555
  };
8556
8556
  Fr.prototype.digest = function(e) {
8557
- return this.update(this._pad()), Zs(this.pending === null), this._digest(e);
8557
+ return this.update(this._pad()), Gs(this.pending === null), this._digest(e);
8558
8558
  };
8559
8559
  Fr.prototype._pad = function() {
8560
8560
  var e = this.pendingTotal, t = this._delta8, r = t - (e + this.padLength) % t, a = new Array(r + this.padLength);
@@ -8570,8 +8570,8 @@ Fr.prototype._pad = function() {
8570
8570
  a[i++] = 0;
8571
8571
  return a;
8572
8572
  };
8573
- var Yt = {}, ht = {}, Gs = Le, rt = Gs.rotr32;
8574
- function Qs(f, e, t, r) {
8573
+ var Yt = {}, ht = {}, Qs = Le, rt = Qs.rotr32;
8574
+ function Js(f, e, t, r) {
8575
8575
  if (f === 0)
8576
8576
  return Cn(e, t, r);
8577
8577
  if (f === 1 || f === 3)
@@ -8579,7 +8579,7 @@ function Qs(f, e, t, r) {
8579
8579
  if (f === 2)
8580
8580
  return Mn(e, t, r);
8581
8581
  }
8582
- ht.ft_1 = Qs;
8582
+ ht.ft_1 = Js;
8583
8583
  function Cn(f, e, t) {
8584
8584
  return f & e ^ ~f & t;
8585
8585
  }
@@ -8592,23 +8592,23 @@ function Fn(f, e, t) {
8592
8592
  return f ^ e ^ t;
8593
8593
  }
8594
8594
  ht.p32 = Fn;
8595
- function Js(f) {
8595
+ function eo(f) {
8596
8596
  return rt(f, 2) ^ rt(f, 13) ^ rt(f, 22);
8597
8597
  }
8598
- ht.s0_256 = Js;
8599
- function eo(f) {
8598
+ ht.s0_256 = eo;
8599
+ function to(f) {
8600
8600
  return rt(f, 6) ^ rt(f, 11) ^ rt(f, 25);
8601
8601
  }
8602
- ht.s1_256 = eo;
8603
- function to(f) {
8602
+ ht.s1_256 = to;
8603
+ function ro(f) {
8604
8604
  return rt(f, 7) ^ rt(f, 18) ^ f >>> 3;
8605
8605
  }
8606
- ht.g0_256 = to;
8607
- function ro(f) {
8606
+ ht.g0_256 = ro;
8607
+ function fo(f) {
8608
8608
  return rt(f, 17) ^ rt(f, 19) ^ f >>> 10;
8609
8609
  }
8610
- ht.g1_256 = ro;
8611
- var qt = Le, fo = Wt, io = ht, pf = qt.rotl32, Gt = qt.sum32, no = qt.sum32_5, ao = io.ft_1, Sn = fo.BlockHash, so = [
8610
+ ht.g1_256 = fo;
8611
+ var qt = Le, io = Wt, no = ht, pf = qt.rotl32, Gt = qt.sum32, ao = qt.sum32_5, so = no.ft_1, Sn = io.BlockHash, oo = [
8612
8612
  1518500249,
8613
8613
  1859775393,
8614
8614
  2400959708,
@@ -8626,7 +8626,7 @@ function at() {
8626
8626
  ], this.W = new Array(80);
8627
8627
  }
8628
8628
  qt.inherits(at, Sn);
8629
- var oo = at;
8629
+ var co = at;
8630
8630
  at.blockSize = 512;
8631
8631
  at.outSize = 160;
8632
8632
  at.hmacStrength = 80;
@@ -8638,15 +8638,15 @@ at.prototype._update = function(e, t) {
8638
8638
  r[a] = pf(r[a - 3] ^ r[a - 8] ^ r[a - 14] ^ r[a - 16], 1);
8639
8639
  var i = this.h[0], y = this.h[1], x = this.h[2], u = this.h[3], o = this.h[4];
8640
8640
  for (a = 0; a < r.length; a++) {
8641
- var c = ~~(a / 20), b = no(pf(i, 5), ao(c, y, x, u), o, r[a], so[c]);
8642
- o = u, u = x, x = pf(y, 30), y = i, i = b;
8641
+ var c = ~~(a / 20), v = ao(pf(i, 5), so(c, y, x, u), o, r[a], oo[c]);
8642
+ o = u, u = x, x = pf(y, 30), y = i, i = v;
8643
8643
  }
8644
8644
  this.h[0] = Gt(this.h[0], i), 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], o);
8645
8645
  };
8646
8646
  at.prototype._digest = function(e) {
8647
8647
  return e === "hex" ? qt.toHex32(this.h, "big") : qt.split32(this.h, "big");
8648
8648
  };
8649
- var Nt = Le, co = Wt, Kt = ht, ho = Pt, Q0 = Nt.sum32, uo = Nt.sum32_4, lo = Nt.sum32_5, xo = Kt.ch32, vo = Kt.maj32, bo = Kt.s0_256, po = Kt.s1_256, yo = Kt.g0_256, go = Kt.g1_256, Dn = co.BlockHash, mo = [
8649
+ var Nt = Le, ho = Wt, Kt = ht, uo = Pt, Q0 = Nt.sum32, lo = Nt.sum32_4, xo = Nt.sum32_5, vo = Kt.ch32, bo = Kt.maj32, po = Kt.s0_256, yo = Kt.s1_256, go = Kt.g0_256, mo = Kt.g1_256, Dn = ho.BlockHash, _o = [
8650
8650
  1116352408,
8651
8651
  1899447441,
8652
8652
  3049323471,
@@ -8724,7 +8724,7 @@ function st() {
8724
8724
  2600822924,
8725
8725
  528734635,
8726
8726
  1541459225
8727
- ], this.k = mo, this.W = new Array(64);
8727
+ ], this.k = _o, this.W = new Array(64);
8728
8728
  }
8729
8729
  Nt.inherits(st, Dn);
8730
8730
  var Rn = st;
@@ -8736,13 +8736,13 @@ st.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] = uo(go(r[a - 2]), r[a - 7], yo(r[a - 15]), r[a - 16]);
8740
- var i = this.h[0], y = this.h[1], x = this.h[2], u = this.h[3], o = this.h[4], c = this.h[5], b = this.h[6], v = this.h[7];
8741
- for (ho(this.k.length === r.length), a = 0; a < r.length; a++) {
8742
- var C = lo(v, po(o), xo(o, c, b), this.k[a], r[a]), w = Q0(bo(i), vo(i, y, x));
8743
- v = b, b = c, c = o, o = Q0(u, C), u = x, x = y, y = i, i = Q0(C, w);
8739
+ r[a] = lo(mo(r[a - 2]), r[a - 7], go(r[a - 15]), r[a - 16]);
8740
+ var i = this.h[0], y = this.h[1], x = this.h[2], u = this.h[3], o = this.h[4], c = this.h[5], v = this.h[6], b = this.h[7];
8741
+ for (uo(this.k.length === r.length), a = 0; a < r.length; a++) {
8742
+ var C = xo(b, yo(o), vo(o, c, v), this.k[a], r[a]), w = Q0(po(i), bo(i, y, x));
8743
+ b = v, v = c, c = o, o = Q0(u, C), u = x, x = y, y = i, i = Q0(C, w);
8744
8744
  }
8745
- this.h[0] = Q0(this.h[0], i), this.h[1] = Q0(this.h[1], y), this.h[2] = Q0(this.h[2], x), this.h[3] = Q0(this.h[3], u), this.h[4] = Q0(this.h[4], o), this.h[5] = Q0(this.h[5], c), this.h[6] = Q0(this.h[6], b), this.h[7] = Q0(this.h[7], v);
8745
+ this.h[0] = Q0(this.h[0], i), this.h[1] = Q0(this.h[1], y), this.h[2] = Q0(this.h[2], x), this.h[3] = Q0(this.h[3], u), this.h[4] = Q0(this.h[4], o), this.h[5] = Q0(this.h[5], c), this.h[6] = Q0(this.h[6], v), this.h[7] = Q0(this.h[7], b);
8746
8746
  };
8747
8747
  st.prototype._digest = function(e) {
8748
8748
  return e === "hex" ? Nt.toHex32(this.h, "big") : Nt.split32(this.h, "big");
@@ -8763,7 +8763,7 @@ function vt() {
8763
8763
  ];
8764
8764
  }
8765
8765
  Ff.inherits(vt, kn);
8766
- var _o = vt;
8766
+ var Ao = vt;
8767
8767
  vt.blockSize = 512;
8768
8768
  vt.outSize = 224;
8769
8769
  vt.hmacStrength = 192;
@@ -8771,7 +8771,7 @@ vt.padLength = 64;
8771
8771
  vt.prototype._digest = function(e) {
8772
8772
  return e === "hex" ? Ff.toHex32(this.h.slice(0, 7), "big") : Ff.split32(this.h.slice(0, 7), "big");
8773
8773
  };
8774
- var H0 = Le, Ao = Wt, Eo = Pt, ft = H0.rotr64_hi, it = H0.rotr64_lo, Pn = H0.shr64_hi, In = H0.shr64_lo, gt = H0.sum64, yf = H0.sum64_hi, gf = H0.sum64_lo, wo = H0.sum64_4_hi, Bo = H0.sum64_4_lo, Co = H0.sum64_5_hi, Mo = H0.sum64_5_lo, Tn = Ao.BlockHash, Fo = [
8774
+ var H0 = Le, Eo = Wt, wo = Pt, ft = H0.rotr64_hi, it = H0.rotr64_lo, Pn = H0.shr64_hi, In = H0.shr64_lo, gt = H0.sum64, yf = H0.sum64_hi, gf = H0.sum64_lo, Bo = H0.sum64_4_hi, Co = H0.sum64_4_lo, Mo = H0.sum64_5_hi, Fo = H0.sum64_5_lo, Tn = Eo.BlockHash, So = [
8775
8775
  1116352408,
8776
8776
  3609767458,
8777
8777
  1899447441,
@@ -8953,7 +8953,7 @@ function et() {
8953
8953
  4215389547,
8954
8954
  1541459225,
8955
8955
  327033209
8956
- ], this.k = Fo, this.W = new Array(160);
8956
+ ], this.k = So, this.W = new Array(160);
8957
8957
  }
8958
8958
  H0.inherits(et, Tn);
8959
8959
  var On = et;
@@ -8965,34 +8965,34 @@ et.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 i = No(r[a - 4], r[a - 3]), y = Lo(r[a - 4], r[a - 3]), x = r[a - 14], u = r[a - 13], o = zo(r[a - 30], r[a - 29]), c = qo(r[a - 30], r[a - 29]), b = r[a - 32], v = r[a - 31];
8969
- r[a] = wo(
8968
+ var i = Lo(r[a - 4], r[a - 3]), y = Ho(r[a - 4], r[a - 3]), x = r[a - 14], u = r[a - 13], o = qo(r[a - 30], r[a - 29]), c = No(r[a - 30], r[a - 29]), v = r[a - 32], b = r[a - 31];
8969
+ r[a] = Bo(
8970
8970
  i,
8971
8971
  y,
8972
8972
  x,
8973
8973
  u,
8974
8974
  o,
8975
8975
  c,
8976
- b,
8977
- v
8978
- ), r[a + 1] = Bo(
8976
+ v,
8977
+ b
8978
+ ), r[a + 1] = Co(
8979
8979
  i,
8980
8980
  y,
8981
8981
  x,
8982
8982
  u,
8983
8983
  o,
8984
8984
  c,
8985
- b,
8986
- v
8985
+ v,
8986
+ b
8987
8987
  );
8988
8988
  }
8989
8989
  };
8990
8990
  et.prototype._update = function(e, t) {
8991
8991
  this._prepareBlock(e, t);
8992
- var r = this.W, a = this.h[0], i = this.h[1], y = this.h[2], x = this.h[3], u = this.h[4], o = this.h[5], c = this.h[6], b = this.h[7], v = this.h[8], C = this.h[9], w = this.h[10], R = this.h[11], k = this.h[12], q = this.h[13], S = this.h[14], P = this.h[15];
8993
- Eo(this.k.length === r.length);
8992
+ var r = this.W, a = this.h[0], i = this.h[1], y = this.h[2], x = this.h[3], u = this.h[4], o = this.h[5], c = this.h[6], v = this.h[7], b = this.h[8], C = this.h[9], w = this.h[10], R = this.h[11], k = this.h[12], q = this.h[13], S = this.h[14], P = this.h[15];
8993
+ wo(this.k.length === r.length);
8994
8994
  for (var T = 0; T < r.length; T += 2) {
8995
- var H = S, $ = P, K = To(v, C), X = Oo(v, C), Q = So(v, C, w, R, k), U = Do(v, C, w, R, k, q), A = this.k[T], n = this.k[T + 1], d = r[T], g = r[T + 1], B = Co(
8995
+ var H = S, $ = P, K = Oo(b, C), X = zo(b, C), Q = Do(b, C, w, R, k), U = Ro(b, C, w, R, k, q), A = this.k[T], n = this.k[T + 1], d = r[T], g = r[T + 1], B = Mo(
8996
8996
  H,
8997
8997
  $,
8998
8998
  K,
@@ -9003,7 +9003,7 @@ et.prototype._update = function(e, t) {
9003
9003
  n,
9004
9004
  d,
9005
9005
  g
9006
- ), F = Mo(
9006
+ ), F = Fo(
9007
9007
  H,
9008
9008
  $,
9009
9009
  K,
@@ -9015,60 +9015,60 @@ et.prototype._update = function(e, t) {
9015
9015
  d,
9016
9016
  g
9017
9017
  );
9018
- H = Po(a, i), $ = Io(a, i), K = Ro(a, i, y, x, u), X = ko(a, i, y, x, u, o);
9018
+ H = Io(a, i), $ = To(a, i), K = ko(a, i, y, x, u), X = Po(a, i, y, x, u, o);
9019
9019
  var z = yf(H, $, K, X), N = gf(H, $, K, X);
9020
- S = k, P = q, k = w, q = R, w = v, R = C, v = yf(c, b, B, F), C = gf(b, b, B, F), c = u, b = o, u = y, o = x, y = a, x = i, a = yf(B, F, z, N), i = gf(B, F, z, N);
9020
+ S = k, P = q, k = w, q = R, w = b, R = C, b = yf(c, v, B, F), C = gf(v, v, B, F), c = u, v = o, u = y, o = x, y = a, x = i, a = yf(B, F, z, N), i = gf(B, F, z, N);
9021
9021
  }
9022
- gt(this.h, 0, a, i), gt(this.h, 2, y, x), gt(this.h, 4, u, o), gt(this.h, 6, c, b), gt(this.h, 8, v, C), gt(this.h, 10, w, R), gt(this.h, 12, k, q), gt(this.h, 14, S, P);
9022
+ gt(this.h, 0, a, i), gt(this.h, 2, y, x), gt(this.h, 4, u, o), gt(this.h, 6, c, v), gt(this.h, 8, b, C), gt(this.h, 10, w, R), gt(this.h, 12, k, q), gt(this.h, 14, S, P);
9023
9023
  };
9024
9024
  et.prototype._digest = function(e) {
9025
9025
  return e === "hex" ? H0.toHex32(this.h, "big") : H0.split32(this.h, "big");
9026
9026
  };
9027
- function So(f, e, t, r, a) {
9027
+ function Do(f, e, t, r, a) {
9028
9028
  var i = f & t ^ ~f & a;
9029
9029
  return i < 0 && (i += 4294967296), i;
9030
9030
  }
9031
- function Do(f, e, t, r, a, i) {
9031
+ function Ro(f, e, t, r, a, i) {
9032
9032
  var y = e & r ^ ~e & i;
9033
9033
  return y < 0 && (y += 4294967296), y;
9034
9034
  }
9035
- function Ro(f, e, t, r, a) {
9035
+ function ko(f, e, t, r, a) {
9036
9036
  var i = f & t ^ f & a ^ t & a;
9037
9037
  return i < 0 && (i += 4294967296), i;
9038
9038
  }
9039
- function ko(f, e, t, r, a, i) {
9039
+ function Po(f, e, t, r, a, i) {
9040
9040
  var y = e & r ^ e & i ^ r & i;
9041
9041
  return y < 0 && (y += 4294967296), y;
9042
9042
  }
9043
- function Po(f, e) {
9043
+ function Io(f, e) {
9044
9044
  var t = ft(f, e, 28), r = ft(e, f, 2), a = ft(e, f, 7), i = t ^ r ^ a;
9045
9045
  return i < 0 && (i += 4294967296), i;
9046
9046
  }
9047
- function Io(f, e) {
9047
+ function To(f, e) {
9048
9048
  var t = it(f, e, 28), r = it(e, f, 2), a = it(e, f, 7), i = t ^ r ^ a;
9049
9049
  return i < 0 && (i += 4294967296), i;
9050
9050
  }
9051
- function To(f, e) {
9051
+ function Oo(f, e) {
9052
9052
  var t = ft(f, e, 14), r = ft(f, e, 18), a = ft(e, f, 9), i = t ^ r ^ a;
9053
9053
  return i < 0 && (i += 4294967296), i;
9054
9054
  }
9055
- function Oo(f, e) {
9055
+ function zo(f, e) {
9056
9056
  var t = it(f, e, 14), r = it(f, e, 18), a = it(e, f, 9), i = t ^ r ^ a;
9057
9057
  return i < 0 && (i += 4294967296), i;
9058
9058
  }
9059
- function zo(f, e) {
9059
+ function qo(f, e) {
9060
9060
  var t = ft(f, e, 1), r = ft(f, e, 8), a = Pn(f, e, 7), i = t ^ r ^ a;
9061
9061
  return i < 0 && (i += 4294967296), i;
9062
9062
  }
9063
- function qo(f, e) {
9063
+ function No(f, e) {
9064
9064
  var t = it(f, e, 1), r = it(f, e, 8), a = In(f, e, 7), i = t ^ r ^ a;
9065
9065
  return i < 0 && (i += 4294967296), i;
9066
9066
  }
9067
- function No(f, e) {
9067
+ function Lo(f, e) {
9068
9068
  var t = ft(f, e, 19), r = ft(e, f, 29), a = Pn(f, e, 6), i = t ^ r ^ a;
9069
9069
  return i < 0 && (i += 4294967296), i;
9070
9070
  }
9071
- function Lo(f, e) {
9071
+ function Ho(f, e) {
9072
9072
  var t = it(f, e, 19), r = it(e, f, 29), a = In(f, e, 6), i = t ^ r ^ a;
9073
9073
  return i < 0 && (i += 4294967296), i;
9074
9074
  }
@@ -9096,7 +9096,7 @@ function bt() {
9096
9096
  ];
9097
9097
  }
9098
9098
  Sf.inherits(bt, zn);
9099
- var Ho = bt;
9099
+ var Uo = bt;
9100
9100
  bt.blockSize = 1024;
9101
9101
  bt.outSize = 384;
9102
9102
  bt.hmacStrength = 192;
@@ -9104,12 +9104,12 @@ bt.padLength = 128;
9104
9104
  bt.prototype._digest = function(e) {
9105
9105
  return e === "hex" ? Sf.toHex32(this.h.slice(0, 12), "big") : Sf.split32(this.h.slice(0, 12), "big");
9106
9106
  };
9107
- Yt.sha1 = oo;
9108
- Yt.sha224 = _o;
9107
+ Yt.sha1 = co;
9108
+ Yt.sha224 = Ao;
9109
9109
  Yt.sha256 = Rn;
9110
- Yt.sha384 = Ho;
9110
+ Yt.sha384 = Uo;
9111
9111
  Yt.sha512 = On;
9112
- var qn = {}, Dt = Le, Uo = Wt, ar = Dt.rotl32, Ui = Dt.sum32, Qt = Dt.sum32_3, $i = Dt.sum32_4, Nn = Uo.BlockHash;
9112
+ var qn = {}, Dt = Le, $o = Wt, ar = Dt.rotl32, Ui = Dt.sum32, Qt = Dt.sum32_3, $i = Dt.sum32_4, Nn = $o.BlockHash;
9113
9113
  function ot() {
9114
9114
  if (!(this instanceof ot))
9115
9115
  return new ot();
@@ -9122,23 +9122,23 @@ ot.outSize = 160;
9122
9122
  ot.hmacStrength = 192;
9123
9123
  ot.padLength = 64;
9124
9124
  ot.prototype._update = function(e, t) {
9125
- for (var r = this.h[0], a = this.h[1], i = this.h[2], y = this.h[3], x = this.h[4], u = r, o = a, c = i, b = y, v = x, C = 0; C < 80; C++) {
9125
+ for (var r = this.h[0], a = this.h[1], i = this.h[2], y = this.h[3], x = this.h[4], u = r, o = a, c = i, v = y, b = x, C = 0; C < 80; C++) {
9126
9126
  var w = Ui(
9127
9127
  ar(
9128
- $i(r, Wi(C, a, i, y), e[Yo[C] + t], $o(C)),
9129
- jo[C]
9128
+ $i(r, Wi(C, a, i, y), e[Ko[C] + t], Wo(C)),
9129
+ Vo[C]
9130
9130
  ),
9131
9131
  x
9132
9132
  );
9133
9133
  r = x, x = y, y = ar(i, 10), i = a, a = w, w = Ui(
9134
9134
  ar(
9135
- $i(u, Wi(79 - C, o, c, b), e[Ko[C] + t], Wo(C)),
9136
- Vo[C]
9135
+ $i(u, Wi(79 - C, o, c, v), e[jo[C] + t], Yo(C)),
9136
+ Xo[C]
9137
9137
  ),
9138
- v
9139
- ), u = v, v = b, b = ar(c, 10), c = o, o = w;
9138
+ b
9139
+ ), u = b, b = v, v = ar(c, 10), c = o, o = w;
9140
9140
  }
9141
- w = Qt(this.h[1], i, b), this.h[1] = Qt(this.h[2], y, v), this.h[2] = Qt(this.h[3], x, u), this.h[3] = Qt(this.h[4], r, o), this.h[4] = Qt(this.h[0], a, c), this.h[0] = w;
9141
+ w = Qt(this.h[1], i, v), this.h[1] = Qt(this.h[2], y, b), this.h[2] = Qt(this.h[3], x, u), this.h[3] = Qt(this.h[4], r, o), this.h[4] = Qt(this.h[0], a, c), this.h[0] = w;
9142
9142
  };
9143
9143
  ot.prototype._digest = function(e) {
9144
9144
  return e === "hex" ? Dt.toHex32(this.h, "little") : Dt.split32(this.h, "little");
@@ -9146,13 +9146,13 @@ ot.prototype._digest = function(e) {
9146
9146
  function Wi(f, e, t, r) {
9147
9147
  return f <= 15 ? e ^ t ^ r : f <= 31 ? e & t | ~e & r : f <= 47 ? (e | ~t) ^ r : f <= 63 ? e & r | t & ~r : e ^ (t | ~r);
9148
9148
  }
9149
- function $o(f) {
9149
+ function Wo(f) {
9150
9150
  return f <= 15 ? 0 : f <= 31 ? 1518500249 : f <= 47 ? 1859775393 : f <= 63 ? 2400959708 : 2840853838;
9151
9151
  }
9152
- function Wo(f) {
9152
+ function Yo(f) {
9153
9153
  return f <= 15 ? 1352829926 : f <= 31 ? 1548603684 : f <= 47 ? 1836072691 : f <= 63 ? 2053994217 : 0;
9154
9154
  }
9155
- var Yo = [
9155
+ var Ko = [
9156
9156
  0,
9157
9157
  1,
9158
9158
  2,
@@ -9233,7 +9233,7 @@ var Yo = [
9233
9233
  6,
9234
9234
  15,
9235
9235
  13
9236
- ], Ko = [
9236
+ ], jo = [
9237
9237
  5,
9238
9238
  14,
9239
9239
  7,
@@ -9314,7 +9314,7 @@ var Yo = [
9314
9314
  3,
9315
9315
  9,
9316
9316
  11
9317
- ], jo = [
9317
+ ], Vo = [
9318
9318
  11,
9319
9319
  14,
9320
9320
  15,
@@ -9395,7 +9395,7 @@ var Yo = [
9395
9395
  8,
9396
9396
  5,
9397
9397
  6
9398
- ], Vo = [
9398
+ ], Xo = [
9399
9399
  8,
9400
9400
  9,
9401
9401
  9,
@@ -9476,15 +9476,15 @@ var Yo = [
9476
9476
  13,
9477
9477
  11,
9478
9478
  11
9479
- ], Xo = Le, Zo = Pt;
9479
+ ], Zo = Le, Go = Pt;
9480
9480
  function Lt(f, e, t) {
9481
9481
  if (!(this instanceof Lt))
9482
9482
  return new Lt(f, e, t);
9483
- this.Hash = f, this.blockSize = f.blockSize / 8, this.outSize = f.outSize / 8, this.inner = null, this.outer = null, this._init(Xo.toArray(e, t));
9483
+ this.Hash = f, this.blockSize = f.blockSize / 8, this.outSize = f.outSize / 8, this.inner = null, this.outer = null, this._init(Zo.toArray(e, t));
9484
9484
  }
9485
- var Go = Lt;
9485
+ var Qo = Lt;
9486
9486
  Lt.prototype._init = function(e) {
9487
- e.length > this.blockSize && (e = new this.Hash().update(e).digest()), Zo(e.length <= this.blockSize);
9487
+ e.length > this.blockSize && (e = new this.Hash().update(e).digest()), Go(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,10 +9501,10 @@ Lt.prototype.digest = function(e) {
9501
9501
  };
9502
9502
  (function(f) {
9503
9503
  var e = f;
9504
- e.utils = Le, e.common = Wt, e.sha = Yt, e.ripemd = qn, e.hmac = Go, 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;
9504
+ e.utils = Le, e.common = Wt, e.sha = Yt, e.ripemd = qn, e.hmac = Qo, 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
9505
  })(Mr);
9506
9506
  var mf, Yi;
9507
- function Qo() {
9507
+ function Jo() {
9508
9508
  return Yi || (Yi = 1, mf = {
9509
9509
  doubles: {
9510
9510
  step: 4,
@@ -10297,12 +10297,12 @@ function Qo() {
10297
10297
  configurable: !0,
10298
10298
  enumerable: !0,
10299
10299
  get: function() {
10300
- var b = new y(c);
10300
+ var v = new y(c);
10301
10301
  return Object.defineProperty(e, o, {
10302
10302
  configurable: !0,
10303
10303
  enumerable: !0,
10304
- value: b
10305
- }), b;
10304
+ value: v
10305
+ }), v;
10306
10306
  }
10307
10307
  });
10308
10308
  }
@@ -10402,7 +10402,7 @@ function Qo() {
10402
10402
  });
10403
10403
  var u;
10404
10404
  try {
10405
- u = Qo();
10405
+ u = Jo();
10406
10406
  } catch {
10407
10407
  u = void 0;
10408
10408
  }
@@ -10436,7 +10436,7 @@ function Qo() {
10436
10436
  ]
10437
10437
  });
10438
10438
  })(Cr);
10439
- var Jo = Mr, Mt = Uf, Ln = Pt;
10439
+ var ec = Mr, Mt = Uf, Ln = Pt;
10440
10440
  function _t(f) {
10441
10441
  if (!(this instanceof _t))
10442
10442
  return new _t(f);
@@ -10447,7 +10447,7 @@ function _t(f) {
10447
10447
  "Not enough entropy. Minimum is: " + this.minEntropy + " bits"
10448
10448
  ), this._init(e, t, r);
10449
10449
  }
10450
- var ec = _t;
10450
+ var tc = _t;
10451
10451
  _t.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 @@ _t.prototype._init = function(e, t, r) {
10456
10456
  this._update(a), this._reseed = 1, this.reseedInterval = 281474976710656;
10457
10457
  };
10458
10458
  _t.prototype._hmac = function() {
10459
- return new Jo.hmac(this.hash, this.K);
10459
+ return new ec.hmac(this.hash, this.K);
10460
10460
  };
10461
10461
  _t.prototype._update = function(e) {
10462
10462
  var t = this._hmac().update(this.V).update([0]);
@@ -10477,11 +10477,11 @@ _t.prototype.generate = function(e, t, r, a) {
10477
10477
  var y = i.slice(0, e);
10478
10478
  return this._update(r), this._reseed++, Mt.encode(y, t);
10479
10479
  };
10480
- var tc = pt, rc = Y0, Df = rc.assert;
10480
+ var rc = pt, fc = Y0, Df = fc.assert;
10481
10481
  function T0(f, e) {
10482
10482
  this.ec = f, 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 fc = T0;
10484
+ var ic = T0;
10485
10485
  T0.fromPublic = function(e, t, r) {
10486
10486
  return t instanceof T0 ? t : new T0(e, {
10487
10487
  pub: t,
@@ -10505,7 +10505,7 @@ T0.prototype.getPrivate = function(e) {
10505
10505
  return e === "hex" ? this.priv.toString(16, 2) : this.priv;
10506
10506
  };
10507
10507
  T0.prototype._importPrivate = function(e, t) {
10508
- this.priv = new tc(e, t || 16), this.priv = this.priv.umod(this.ec.curve.n);
10508
+ this.priv = new rc(e, t || 16), this.priv = this.priv.umod(this.ec.curve.n);
10509
10509
  };
10510
10510
  T0.prototype._importPublic = function(e, t) {
10511
10511
  if (e.x || e.y) {
@@ -10526,14 +10526,14 @@ T0.prototype.verify = function(e, t) {
10526
10526
  T0.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 gr = pt, Kf = Y0, ic = Kf.assert;
10529
+ var gr = pt, Kf = Y0, nc = Kf.assert;
10530
10530
  function Sr(f, e) {
10531
10531
  if (f instanceof Sr)
10532
10532
  return f;
10533
- this._importDER(f, e) || (ic(f.r && f.s, "Signature without r or s"), this.r = new gr(f.r, 16), this.s = new gr(f.s, 16), f.recoveryParam === void 0 ? this.recoveryParam = null : this.recoveryParam = f.recoveryParam);
10533
+ this._importDER(f, e) || (nc(f.r && f.s, "Signature without r or s"), this.r = new gr(f.r, 16), this.s = new gr(f.s, 16), f.recoveryParam === void 0 ? this.recoveryParam = null : this.recoveryParam = f.recoveryParam);
10534
10534
  }
10535
- var nc = Sr;
10536
- function ac() {
10535
+ var ac = Sr;
10536
+ function sc() {
10537
10537
  this.place = 0;
10538
10538
  }
10539
10539
  function _f(f, e) {
@@ -10554,7 +10554,7 @@ function Ki(f) {
10554
10554
  }
10555
10555
  Sr.prototype._importDER = function(e, t) {
10556
10556
  e = Kf.toArray(e, t);
10557
- var r = new ac();
10557
+ var r = new sc();
10558
10558
  if (e[r.place++] !== 48)
10559
10559
  return !1;
10560
10560
  var a = _f(e, r);
@@ -10601,7 +10601,7 @@ Sr.prototype.toDER = function(e) {
10601
10601
  var i = a.concat(r), y = [48];
10602
10602
  return Af(y, i.length), y = y.concat(i), Kf.encode(y, e);
10603
10603
  };
10604
- var Ft = pt, Hn = ec, sc = Y0, Ef = Cr, oc = mn, Un = sc.assert, jf = fc, Dr = nc;
10604
+ var Ft = pt, Hn = tc, oc = Y0, Ef = Cr, cc = mn, Un = oc.assert, jf = ic, Dr = ac;
10605
10605
  function j0(f) {
10606
10606
  if (!(this instanceof j0))
10607
10607
  return new j0(f);
@@ -10610,7 +10610,7 @@ function j0(f) {
10610
10610
  "Unknown curve " + f
10611
10611
  ), f = Ef[f]), f instanceof Ef.PresetCurve && (f = { curve: f }), this.curve = f.curve.curve, this.n = this.curve.n, this.nh = this.n.ushrn(1), this.g = this.curve.g, this.g = f.curve.g, this.g.precompute(f.curve.n.bitLength() + 1), this.hash = f.hash || f.curve.hash;
10612
10612
  }
10613
- var cc = j0;
10613
+ var dc = j0;
10614
10614
  j0.prototype.keyPair = function(e) {
10615
10615
  return new jf(this, e);
10616
10616
  };
@@ -10626,7 +10626,7 @@ j0.prototype.genKeyPair = function(e) {
10626
10626
  hash: this.hash,
10627
10627
  pers: e.pers,
10628
10628
  persEnc: e.persEnc || "utf8",
10629
- entropy: e.entropy || oc(this.hash.hmacStrength),
10629
+ entropy: e.entropy || cc(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 Ft(2)); ; ) {
@@ -10648,15 +10648,15 @@ j0.prototype.sign = function(e, t, r, a) {
10648
10648
  pers: a.pers,
10649
10649
  persEnc: a.persEnc || "utf8"
10650
10650
  }), o = this.n.sub(new Ft(1)), c = 0; ; c++) {
10651
- var b = a.k ? a.k(c) : new Ft(u.generate(this.n.byteLength()));
10652
- if (b = this._truncateToN(b, !0), !(b.cmpn(1) <= 0 || b.cmp(o) >= 0)) {
10653
- var v = this.g.mul(b);
10654
- if (!v.isInfinity()) {
10655
- var C = v.getX(), w = C.umod(this.n);
10651
+ var v = a.k ? a.k(c) : new Ft(u.generate(this.n.byteLength()));
10652
+ if (v = this._truncateToN(v, !0), !(v.cmpn(1) <= 0 || v.cmp(o) >= 0)) {
10653
+ var b = this.g.mul(v);
10654
+ if (!b.isInfinity()) {
10655
+ var C = b.getX(), w = C.umod(this.n);
10656
10656
  if (w.cmpn(0) !== 0) {
10657
- var R = b.invm(this.n).mul(w.mul(t.getPrivate()).iadd(e));
10657
+ var R = v.invm(this.n).mul(w.mul(t.getPrivate()).iadd(e));
10658
10658
  if (R = R.umod(this.n), R.cmpn(0) !== 0) {
10659
- var k = (v.getY().isOdd() ? 1 : 0) | (C.cmp(w) !== 0 ? 2 : 0);
10659
+ var k = (b.getY().isOdd() ? 1 : 0) | (C.cmp(w) !== 0 ? 2 : 0);
10660
10660
  return a.canonical && R.cmp(this.nh) > 0 && (R = this.n.sub(R), k ^= 1), new Dr({ r: w, s: R, recoveryParam: k });
10661
10661
  }
10662
10662
  }
@@ -10678,8 +10678,8 @@ j0.prototype.recoverPubKey = function(f, e, t, r) {
10678
10678
  if (y.cmp(this.curve.p.umod(this.curve.n)) >= 0 && o)
10679
10679
  throw new Error("Unable to find sencond key candinate");
10680
10680
  o ? y = this.curve.pointFromX(y.add(this.curve.n), u) : y = this.curve.pointFromX(y, u);
10681
- var c = e.r.invm(a), b = a.sub(i).mul(c).umod(a), v = x.mul(c).umod(a);
10682
- return this.g.mulAdd(b, y, v);
10681
+ var c = e.r.invm(a), v = a.sub(i).mul(c).umod(a), b = x.mul(c).umod(a);
10682
+ return this.g.mulAdd(v, y, b);
10683
10683
  };
10684
10684
  j0.prototype.getKeyRecoveryParam = function(f, e, t, r) {
10685
10685
  if (e = new Dr(e, r), e.recoveryParam !== null)
@@ -10740,12 +10740,12 @@ w0.prototype.getSecret = function(e) {
10740
10740
  w0.prototype.getPublic = function(e) {
10741
10741
  return ir.encode(this.pubBytes(), e);
10742
10742
  };
10743
- var dc = w0, hc = pt, Rr = Y0, uc = Rr.assert, kr = Rr.cachedProperty, lc = Rr.parseBytes;
10743
+ var hc = w0, uc = pt, Rr = Y0, lc = Rr.assert, kr = Rr.cachedProperty, xc = Rr.parseBytes;
10744
10744
  function It(f, e) {
10745
- this.eddsa = f, typeof e != "object" && (e = lc(e)), Array.isArray(e) && (e = {
10745
+ this.eddsa = f, typeof e != "object" && (e = xc(e)), Array.isArray(e) && (e = {
10746
10746
  R: e.slice(0, f.encodingLength),
10747
10747
  S: e.slice(f.encodingLength)
10748
- }), uc(e.R && e.S, "Signature without R or S"), f.isPoint(e.R) && (this._R = e.R), e.S instanceof hc && (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
+ }), lc(e.R && e.S, "Signature without R or S"), f.isPoint(e.R) && (this._R = e.R), e.S instanceof uc && (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
10750
  kr(It, "S", function() {
10751
10751
  return this.eddsa.decodeInt(this.Sencoded());
@@ -10765,13 +10765,13 @@ It.prototype.toBytes = function() {
10765
10765
  It.prototype.toHex = function() {
10766
10766
  return Rr.encode(this.toBytes(), "hex").toUpperCase();
10767
10767
  };
10768
- var xc = It, vc = Mr, bc = Cr, Ht = Y0, pc = Ht.assert, Wn = Ht.parseBytes, Yn = dc, Vi = xc;
10768
+ var vc = It, bc = Mr, pc = Cr, Ht = Y0, yc = Ht.assert, Wn = Ht.parseBytes, Yn = hc, Vi = vc;
10769
10769
  function U0(f) {
10770
- if (pc(f === "ed25519", "only tested with ed25519 so far"), !(this instanceof U0))
10770
+ if (yc(f === "ed25519", "only tested with ed25519 so far"), !(this instanceof U0))
10771
10771
  return new U0(f);
10772
- f = bc[f].curve, this.curve = f, this.g = f.g, this.g.precompute(f.n.bitLength() + 1), this.pointClass = f.point().constructor, this.encodingLength = Math.ceil(f.n.bitLength() / 8), this.hash = vc.sha512;
10772
+ f = pc[f].curve, this.curve = f, this.g = f.g, this.g.precompute(f.n.bitLength() + 1), this.pointClass = f.point().constructor, this.encodingLength = Math.ceil(f.n.bitLength() / 8), this.hash = bc.sha512;
10773
10773
  }
10774
- var yc = U0;
10774
+ var gc = U0;
10775
10775
  U0.prototype.sign = function(e, t) {
10776
10776
  e = Wn(e);
10777
10777
  var r = this.keyFromSecret(t), a = this.hashInt(r.messagePrefix(), e), i = this.g.mul(a), y = this.encodePoint(i), x = this.hashInt(y, r.pubBytes(), e).mul(r.priv()), u = a.add(x).umod(this.curve.n);
@@ -10816,7 +10816,7 @@ U0.prototype.isPoint = function(e) {
10816
10816
  };
10817
10817
  (function(f) {
10818
10818
  var e = f;
10819
- e.version = vs.version, e.utils = Y0, e.rand = mn, e.curve = Wf, e.curves = Cr, e.ec = cc, e.eddsa = yc;
10819
+ e.version = bs.version, e.utils = Y0, e.rand = mn, e.curve = Wf, e.curves = Cr, e.ec = dc, e.eddsa = gc;
10820
10820
  })(yn);
10821
10821
  var Kn = { exports: {} };
10822
10822
  (function(f) {
@@ -10831,7 +10831,7 @@ var Kn = { exports: {} };
10831
10831
  throw new Error("no PRNG");
10832
10832
  }, a = new Uint8Array(16), i = new Uint8Array(32);
10833
10833
  i[0] = 9;
10834
- var y = t(), x = t([1]), u = t([56129, 1]), o = t([30883, 4953, 19914, 30187, 55467, 16705, 2637, 112, 59544, 30585, 16505, 36039, 65139, 11119, 27886, 20995]), c = t([61785, 9906, 39828, 60374, 45398, 33411, 5274, 224, 53552, 61171, 33010, 6542, 64743, 22239, 55772, 9222]), b = t([54554, 36645, 11616, 51542, 42930, 38181, 51040, 26924, 56412, 64982, 57905, 49316, 21502, 52590, 14035, 8553]), v = t([26200, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214]), C = t([41136, 18958, 6951, 50414, 58488, 44335, 6150, 12099, 55207, 15867, 153, 11085, 57099, 20417, 9344, 11139]);
10834
+ var y = t(), x = t([1]), u = t([56129, 1]), o = t([30883, 4953, 19914, 30187, 55467, 16705, 2637, 112, 59544, 30585, 16505, 36039, 65139, 11119, 27886, 20995]), c = t([61785, 9906, 39828, 60374, 45398, 33411, 5274, 224, 53552, 61171, 33010, 6542, 64743, 22239, 55772, 9222]), v = t([54554, 36645, 11616, 51542, 42930, 38181, 51040, 26924, 56412, 64982, 57905, 49316, 21502, 52590, 14035, 8553]), b = t([26200, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214, 26214]), C = t([41136, 18958, 6951, 50414, 58488, 44335, 6150, 12099, 55207, 15867, 153, 11085, 57099, 20417, 9344, 11139]);
10835
10835
  function w(l, _, m, s) {
10836
10836
  l[_] = m >> 24 & 255, l[_ + 1] = m >> 16 & 255, l[_ + 2] = m >> 8 & 255, l[_ + 3] = m & 255, l[_ + 4] = s >> 24 & 255, l[_ + 5] = s >> 16 & 255, l[_ + 6] = s >> 8 & 255, l[_ + 7] = s & 255;
10837
10837
  }
@@ -11288,7 +11288,7 @@ var Kn = { exports: {} };
11288
11288
  }
11289
11289
  function Je(l, _) {
11290
11290
  var m = [t(), t(), t(), t()];
11291
- F(m[0], b), F(m[1], v), F(m[2], x), re(m[3], b, v), F0(l, m, _);
11291
+ F(m[0], v), F(m[1], b), F(m[2], x), re(m[3], v, b), F0(l, m, _);
11292
11292
  }
11293
11293
  function f0(l, _, m) {
11294
11294
  var s = new Uint8Array(64), M = [t(), t(), t(), t()], p;
@@ -11554,9 +11554,9 @@ var Kn = { exports: {} };
11554
11554
  }();
11555
11555
  })(f.exports ? f.exports : self.nacl = self.nacl || {});
11556
11556
  })(Kn);
11557
- var gc = Kn.exports;
11558
- const Jt = /* @__PURE__ */ sn(gc);
11559
- class mc {
11557
+ var mc = Kn.exports;
11558
+ const Jt = /* @__PURE__ */ sn(mc);
11559
+ class _c {
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 mc {
11588
11588
  return typeof e != "string" ? !1 : /^[0-9a-fA-F]+$/.test(e) && e.length % 2 === 0;
11589
11589
  }
11590
11590
  }
11591
- const L0 = new mc();
11592
- class _c {
11591
+ const L0 = new _c();
11592
+ class Ac {
11593
11593
  string(e) {
11594
11594
  return L0.string(e);
11595
11595
  }
@@ -11613,8 +11613,8 @@ class _c {
11613
11613
  return L0.isHex(e);
11614
11614
  }
11615
11615
  }
11616
- const sr = new _c();
11617
- class Ac {
11616
+ const sr = new Ac();
11617
+ class Ec {
11618
11618
  constructor() {
11619
11619
  wt(this, "KEY_SIZE");
11620
11620
  wt(this, "SIGNATURE_SIZE");
@@ -11650,8 +11650,8 @@ class Ac {
11650
11650
  );
11651
11651
  }
11652
11652
  }
11653
- const Xi = new Ac();
11654
- class Ec {
11653
+ const Xi = new Ec();
11654
+ class wc {
11655
11655
  constructor() {
11656
11656
  wt(this, "ec");
11657
11657
  this.ec = new yn.ec("secp256k1");
@@ -11685,7 +11685,7 @@ class Ec {
11685
11685
  return ut.lib.WordArray.random(e).toString(ut.enc.Hex);
11686
11686
  }
11687
11687
  }
11688
- const jn = new Ec(), ct = /* @__PURE__ */ Object.create(null);
11688
+ const jn = new wc(), ct = /* @__PURE__ */ Object.create(null);
11689
11689
  ct.open = "0";
11690
11690
  ct.close = "1";
11691
11691
  ct.ping = "2";
@@ -11708,7 +11708,7 @@ function Gi(f) {
11708
11708
  return f instanceof Uint8Array ? f : f instanceof ArrayBuffer ? new Uint8Array(f) : new Uint8Array(f.buffer, f.byteOffset, f.byteLength);
11709
11709
  }
11710
11710
  let wf;
11711
- function wc(f, e) {
11711
+ function Bc(f, e) {
11712
11712
  if (Vn && f.data instanceof Blob)
11713
11713
  return f.data.arrayBuffer().then(Gi).then(e);
11714
11714
  if (Xn && (f.data instanceof ArrayBuffer || Zn(f.data)))
@@ -11720,14 +11720,14 @@ function wc(f, e) {
11720
11720
  const Qi = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", rr = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
11721
11721
  for (let f = 0; f < Qi.length; f++)
11722
11722
  rr[Qi.charCodeAt(f)] = f;
11723
- const Bc = (f) => {
11723
+ const Cc = (f) => {
11724
11724
  let e = f.length * 0.75, t = f.length, r, a = 0, i, y, x, u;
11725
11725
  f[f.length - 1] === "=" && (e--, f[f.length - 2] === "=" && e--);
11726
11726
  const o = new ArrayBuffer(e), c = new Uint8Array(o);
11727
11727
  for (r = 0; r < t; r += 4)
11728
11728
  i = rr[f.charCodeAt(r)], y = rr[f.charCodeAt(r + 1)], x = rr[f.charCodeAt(r + 2)], u = rr[f.charCodeAt(r + 3)], c[a++] = i << 2 | y >> 4, c[a++] = (y & 15) << 4 | x >> 2, c[a++] = (x & 3) << 6 | u & 63;
11729
11729
  return o;
11730
- }, Cc = typeof ArrayBuffer == "function", Xf = (f, e) => {
11730
+ }, Mc = typeof ArrayBuffer == "function", Xf = (f, e) => {
11731
11731
  if (typeof f != "string")
11732
11732
  return {
11733
11733
  type: "message",
@@ -11736,16 +11736,16 @@ const Bc = (f) => {
11736
11736
  const t = f.charAt(0);
11737
11737
  return t === "b" ? {
11738
11738
  type: "message",
11739
- data: Mc(f.substring(1), e)
11739
+ data: Fc(f.substring(1), e)
11740
11740
  } : ur[t] ? f.length > 1 ? {
11741
11741
  type: ur[t],
11742
11742
  data: f.substring(1)
11743
11743
  } : {
11744
11744
  type: ur[t]
11745
11745
  } : Rf;
11746
- }, Mc = (f, e) => {
11747
- if (Cc) {
11748
- const t = Bc(f);
11746
+ }, Fc = (f, e) => {
11747
+ if (Mc) {
11748
+ const t = Cc(f);
11749
11749
  return Gn(t, e);
11750
11750
  } else
11751
11751
  return { base64: !0, data: f };
@@ -11757,7 +11757,7 @@ const Bc = (f) => {
11757
11757
  default:
11758
11758
  return f instanceof ArrayBuffer ? f : f.buffer;
11759
11759
  }
11760
- }, Qn = "", Fc = (f, e) => {
11760
+ }, Qn = "", Sc = (f, e) => {
11761
11761
  const t = f.length, r = new Array(t);
11762
11762
  let a = 0;
11763
11763
  f.forEach((i, y) => {
@@ -11765,7 +11765,7 @@ const Bc = (f) => {
11765
11765
  r[y] = x, ++a === t && e(r.join(Qn));
11766
11766
  });
11767
11767
  });
11768
- }, Sc = (f, e) => {
11768
+ }, Dc = (f, e) => {
11769
11769
  const t = f.split(Qn), r = [];
11770
11770
  for (let a = 0; a < t.length; a++) {
11771
11771
  const i = Xf(t[a], e);
@@ -11774,10 +11774,10 @@ const Bc = (f) => {
11774
11774
  }
11775
11775
  return r;
11776
11776
  };
11777
- function Dc() {
11777
+ function Rc() {
11778
11778
  return new TransformStream({
11779
11779
  transform(f, e) {
11780
- wc(f, (t) => {
11780
+ Bc(f, (t) => {
11781
11781
  const r = t.length;
11782
11782
  let a;
11783
11783
  if (r < 126)
@@ -11809,7 +11809,7 @@ function cr(f, e) {
11809
11809
  t[a] = f[0][r++], r === f[0].length && (f.shift(), r = 0);
11810
11810
  return f.length && r < f[0].length && (f[0] = f[0].slice(r)), t;
11811
11811
  }
11812
- function Rc(f, e) {
11812
+ function kc(f, e) {
11813
11813
  Bf || (Bf = new TextDecoder());
11814
11814
  const t = [];
11815
11815
  let r = 0, a = -1, i = !1;
@@ -11852,9 +11852,9 @@ function Rc(f, e) {
11852
11852
  const Jn = 4;
11853
11853
  function A0(f) {
11854
11854
  if (f)
11855
- return kc(f);
11855
+ return Pc(f);
11856
11856
  }
11857
- function kc(f) {
11857
+ function Pc(f) {
11858
11858
  for (var e in A0.prototype)
11859
11859
  f[e] = A0.prototype[e];
11860
11860
  return f;
@@ -11905,27 +11905,27 @@ const K0 = typeof self < "u" ? self : typeof window < "u" ? window : Function("r
11905
11905
  function ea(f, ...e) {
11906
11906
  return e.reduce((t, r) => (f.hasOwnProperty(r) && (t[r] = f[r]), t), {});
11907
11907
  }
11908
- const Pc = K0.setTimeout, Ic = K0.clearTimeout;
11908
+ const Ic = K0.setTimeout, Tc = K0.clearTimeout;
11909
11909
  function Pr(f, e) {
11910
- e.useNativeTimers ? (f.setTimeoutFn = Pc.bind(K0), f.clearTimeoutFn = Ic.bind(K0)) : (f.setTimeoutFn = K0.setTimeout.bind(K0), f.clearTimeoutFn = K0.clearTimeout.bind(K0));
11911
- }
11912
- const Tc = 1.33;
11913
- function Oc(f) {
11914
- return typeof f == "string" ? zc(f) : Math.ceil((f.byteLength || f.size) * Tc);
11910
+ e.useNativeTimers ? (f.setTimeoutFn = Ic.bind(K0), f.clearTimeoutFn = Tc.bind(K0)) : (f.setTimeoutFn = K0.setTimeout.bind(K0), f.clearTimeoutFn = K0.clearTimeout.bind(K0));
11915
11911
  }
11912
+ const Oc = 1.33;
11916
11913
  function zc(f) {
11914
+ return typeof f == "string" ? qc(f) : Math.ceil((f.byteLength || f.size) * Oc);
11915
+ }
11916
+ function qc(f) {
11917
11917
  let e = 0, t = 0;
11918
11918
  for (let r = 0, a = f.length; r < a; r++)
11919
11919
  e = f.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 qc(f) {
11922
+ function Nc(f) {
11923
11923
  let e = "";
11924
11924
  for (let t in f)
11925
11925
  f.hasOwnProperty(t) && (e.length && (e += "&"), e += encodeURIComponent(t) + "=" + encodeURIComponent(f[t]));
11926
11926
  return e;
11927
11927
  }
11928
- function Nc(f) {
11928
+ function Lc(f) {
11929
11929
  let e = {}, t = f.split("&");
11930
11930
  for (let r = 0, a = t.length; r < a; r++) {
11931
11931
  let i = t[r].split("=");
@@ -11933,7 +11933,7 @@ function Nc(f) {
11933
11933
  }
11934
11934
  return e;
11935
11935
  }
11936
- class Lc extends Error {
11936
+ class Hc extends Error {
11937
11937
  constructor(e, t, r) {
11938
11938
  super(e), this.description = t, this.context = r, this.type = "TransportError";
11939
11939
  }
@@ -11958,7 +11958,7 @@ class Zf extends A0 {
11958
11958
  * @protected
11959
11959
  */
11960
11960
  onError(e, t, r) {
11961
- return super.emitReserved("error", new Lc(e, t, r)), this;
11961
+ return super.emitReserved("error", new Hc(e, t, r)), this;
11962
11962
  }
11963
11963
  /**
11964
11964
  * Opens the transport.
@@ -12032,11 +12032,11 @@ class Zf extends A0 {
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 = qc(e);
12035
+ const t = Nc(e);
12036
12036
  return t.length ? "?" + t : "";
12037
12037
  }
12038
12038
  }
12039
- const ta = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""), kf = 64, Hc = {};
12039
+ const ta = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""), kf = 64, Uc = {};
12040
12040
  let Ji = 0, dr = 0, en;
12041
12041
  function tn(f) {
12042
12042
  let e = "";
@@ -12050,17 +12050,17 @@ function ra() {
12050
12050
  return f !== en ? (Ji = 0, en = f) : f + "." + tn(Ji++);
12051
12051
  }
12052
12052
  for (; dr < kf; dr++)
12053
- Hc[ta[dr]] = dr;
12053
+ Uc[ta[dr]] = dr;
12054
12054
  let fa = !1;
12055
12055
  try {
12056
12056
  fa = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
12057
12057
  } catch {
12058
12058
  }
12059
- const Uc = fa;
12059
+ const $c = fa;
12060
12060
  function ia(f) {
12061
12061
  const e = f.xdomain;
12062
12062
  try {
12063
- if (typeof XMLHttpRequest < "u" && (!e || Uc))
12063
+ if (typeof XMLHttpRequest < "u" && (!e || $c))
12064
12064
  return new XMLHttpRequest();
12065
12065
  } catch {
12066
12066
  }
@@ -12070,14 +12070,14 @@ function ia(f) {
12070
12070
  } catch {
12071
12071
  }
12072
12072
  }
12073
- function $c() {
12073
+ function Wc() {
12074
12074
  }
12075
- const Wc = function() {
12075
+ const Yc = function() {
12076
12076
  return new ia({
12077
12077
  xdomain: !1
12078
12078
  }).responseType != null;
12079
12079
  }();
12080
- class Yc extends Zf {
12080
+ class Kc extends Zf {
12081
12081
  /**
12082
12082
  * XHR Polling constructor.
12083
12083
  *
@@ -12091,7 +12091,7 @@ class Yc extends Zf {
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 = Wc && !t, this.opts.withCredentials && (this.cookieJar = void 0);
12094
+ this.supportsBinary = Yc && !t, this.opts.withCredentials && (this.cookieJar = void 0);
12095
12095
  }
12096
12096
  get name() {
12097
12097
  return "polling";
@@ -12145,7 +12145,7 @@ class Yc extends Zf {
12145
12145
  return this.onClose({ description: "transport closed by the server" }), !1;
12146
12146
  this.onPacket(r);
12147
12147
  };
12148
- Sc(e, this.socket.binaryType).forEach(t), this.readyState !== "closed" && (this.polling = !1, this.emitReserved("pollComplete"), this.readyState === "open" && this.poll());
12148
+ Dc(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 Yc extends Zf {
12165
12165
  * @protected
12166
12166
  */
12167
12167
  write(e) {
12168
- this.writable = !1, Fc(e, (t) => {
12168
+ this.writable = !1, Sc(e, (t) => {
12169
12169
  this.doWrite(t, () => {
12170
12170
  this.writable = !0, this.emitReserved("drain");
12171
12171
  });
@@ -12285,7 +12285,7 @@ class nt extends A0 {
12285
12285
  */
12286
12286
  cleanup(e) {
12287
12287
  if (!(typeof this.xhr > "u" || this.xhr === null)) {
12288
- if (this.xhr.onreadystatechange = $c, e)
12288
+ if (this.xhr.onreadystatechange = Wc, e)
12289
12289
  try {
12290
12290
  this.xhr.abort();
12291
12291
  } catch {
@@ -12325,8 +12325,8 @@ function rn() {
12325
12325
  for (let f in nt.requests)
12326
12326
  nt.requests.hasOwnProperty(f) && nt.requests[f].abort();
12327
12327
  }
12328
- const Gf = typeof Promise == "function" && typeof Promise.resolve == "function" ? (e) => Promise.resolve().then(e) : (e, t) => t(e, 0), hr = K0.WebSocket || K0.MozWebSocket, fn = !0, Kc = "arraybuffer", nn = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
12329
- class jc extends Zf {
12328
+ const Gf = typeof Promise == "function" && typeof Promise.resolve == "function" ? (e) => Promise.resolve().then(e) : (e, t) => t(e, 0), hr = K0.WebSocket || K0.MozWebSocket, fn = !0, jc = "arraybuffer", nn = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
12329
+ class Vc extends Zf {
12330
12330
  /**
12331
12331
  * WebSocket transport constructor.
12332
12332
  *
@@ -12402,7 +12402,7 @@ class jc extends Zf {
12402
12402
  return !!hr;
12403
12403
  }
12404
12404
  }
12405
- class Vc extends Zf {
12405
+ class Xc extends Zf {
12406
12406
  get name() {
12407
12407
  return "webtransport";
12408
12408
  }
@@ -12413,7 +12413,7 @@ class Vc extends Zf {
12413
12413
  this.onError("webtransport error", e);
12414
12414
  }), this.transport.ready.then(() => {
12415
12415
  this.transport.createBidirectionalStream().then((e) => {
12416
- const t = Rc(Number.MAX_SAFE_INTEGER, this.socket.binaryType), r = e.readable.pipeThrough(t).getReader(), a = Dc();
12416
+ const t = kc(Number.MAX_SAFE_INTEGER, this.socket.binaryType), r = e.readable.pipeThrough(t).getReader(), a = Rc();
12417
12417
  a.readable.pipeTo(e.writable), this.writer = a.writable.getWriter();
12418
12418
  const i = () => {
12419
12419
  r.read().then(({ done: x, value: u }) => {
@@ -12443,11 +12443,11 @@ class Vc extends Zf {
12443
12443
  (e = this.transport) === null || e === void 0 || e.close();
12444
12444
  }
12445
12445
  }
12446
- const Xc = {
12447
- websocket: jc,
12448
- webtransport: Vc,
12449
- polling: Yc
12450
- }, Zc = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, Gc = [
12446
+ const Zc = {
12447
+ websocket: Vc,
12448
+ webtransport: Xc,
12449
+ polling: Kc
12450
+ }, Gc = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, Qc = [
12451
12451
  "source",
12452
12452
  "protocol",
12453
12453
  "authority",
@@ -12468,16 +12468,16 @@ function Pf(f) {
12468
12468
  throw "URI too long";
12469
12469
  const e = f, t = f.indexOf("["), r = f.indexOf("]");
12470
12470
  t != -1 && r != -1 && (f = f.substring(0, t) + f.substring(t, r).replace(/:/g, ";") + f.substring(r, f.length));
12471
- let a = Zc.exec(f || ""), i = {}, y = 14;
12471
+ let a = Gc.exec(f || ""), i = {}, y = 14;
12472
12472
  for (; y--; )
12473
- i[Gc[y]] = a[y] || "";
12474
- return t != -1 && r != -1 && (i.source = e, i.host = i.host.substring(1, i.host.length - 1).replace(/;/g, ":"), i.authority = i.authority.replace("[", "").replace("]", "").replace(/;/g, ":"), i.ipv6uri = !0), i.pathNames = Qc(i, i.path), i.queryKey = Jc(i, i.query), i;
12473
+ i[Qc[y]] = a[y] || "";
12474
+ return t != -1 && r != -1 && (i.source = e, i.host = i.host.substring(1, i.host.length - 1).replace(/;/g, ":"), i.authority = i.authority.replace("[", "").replace("]", "").replace(/;/g, ":"), i.ipv6uri = !0), i.pathNames = Jc(i, i.path), i.queryKey = e1(i, i.query), i;
12475
12475
  }
12476
- function Qc(f, e) {
12476
+ function Jc(f, 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 Jc(f, e) {
12480
+ function e1(f, e) {
12481
12481
  const t = {};
12482
12482
  return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g, function(r, a, i) {
12483
12483
  a && (t[a] = i);
@@ -12491,7 +12491,7 @@ let na = class Tt extends A0 {
12491
12491
  * @param {Object} opts - options
12492
12492
  */
12493
12493
  constructor(e, t = {}) {
12494
- super(), this.binaryType = Kc, this.writeBuffer = [], e && typeof e == "object" && (t = e, e = null), e ? (e = Pf(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 = Pf(t.host).host), Pr(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 = jc, this.writeBuffer = [], e && typeof e == "object" && (t = e, e = null), e ? (e = Pf(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 = Pf(t.host).host), Pr(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 na = class Tt extends A0 {
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 = Nc(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 = Lc(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", {
@@ -12534,7 +12534,7 @@ let na = class Tt extends A0 {
12534
12534
  secure: this.secure,
12535
12535
  port: this.port
12536
12536
  }, this.opts.transportOptions[e]);
12537
- return new Xc[e](r);
12537
+ return new Zc[e](r);
12538
12538
  }
12539
12539
  /**
12540
12540
  * Initializes transport to use and starts probe.
@@ -12579,26 +12579,26 @@ let na = class Tt extends A0 {
12579
12579
  let t = this.createTransport(e), r = !1;
12580
12580
  Tt.priorWebsocketSuccess = !1;
12581
12581
  const a = () => {
12582
- r || (t.send([{ type: "ping", data: "probe" }]), t.once("packet", (b) => {
12582
+ r || (t.send([{ type: "ping", data: "probe" }]), t.once("packet", (v) => {
12583
12583
  if (!r)
12584
- if (b.type === "pong" && b.data === "probe") {
12584
+ if (v.type === "pong" && v.data === "probe") {
12585
12585
  if (this.upgrading = !0, this.emitReserved("upgrading", t), !t)
12586
12586
  return;
12587
12587
  Tt.priorWebsocketSuccess = t.name === "websocket", this.transport.pause(() => {
12588
12588
  r || this.readyState !== "closed" && (c(), this.setTransport(t), t.send([{ type: "upgrade" }]), this.emitReserved("upgrade", t), t = null, this.upgrading = !1, this.flush());
12589
12589
  });
12590
12590
  } else {
12591
- const v = new Error("probe error");
12592
- v.transport = t.name, this.emitReserved("upgradeError", v);
12591
+ const b = new Error("probe error");
12592
+ b.transport = t.name, this.emitReserved("upgradeError", b);
12593
12593
  }
12594
12594
  }));
12595
12595
  };
12596
12596
  function i() {
12597
12597
  r || (r = !0, c(), t.close(), t = null);
12598
12598
  }
12599
- const y = (b) => {
12600
- const v = new Error("probe error: " + b);
12601
- v.transport = t.name, i(), this.emitReserved("upgradeError", v);
12599
+ const y = (v) => {
12600
+ const b = new Error("probe error: " + v);
12601
+ b.transport = t.name, i(), this.emitReserved("upgradeError", b);
12602
12602
  };
12603
12603
  function x() {
12604
12604
  y("transport closed");
@@ -12606,8 +12606,8 @@ let na = class Tt extends A0 {
12606
12606
  function u() {
12607
12607
  y("socket closed");
12608
12608
  }
12609
- function o(b) {
12610
- t && b.name !== t.name && i();
12609
+ function o(v) {
12610
+ t && v.name !== t.name && i();
12611
12611
  }
12612
12612
  const c = () => {
12613
12613
  t.removeListener("open", a), t.removeListener("error", y), t.removeListener("close", x), this.off("close", u), this.off("upgrading", o);
@@ -12702,7 +12702,7 @@ let na = class Tt extends A0 {
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 += Oc(a)), r > 0 && t > this.maxPayload)
12705
+ if (a && (t += zc(a)), r > 0 && t > this.maxPayload)
12706
12706
  return this.writeBuffer.slice(0, r);
12707
12707
  t += 2;
12708
12708
  }
@@ -12789,15 +12789,15 @@ let na = class Tt extends A0 {
12789
12789
  }
12790
12790
  };
12791
12791
  na.protocol = Jn;
12792
- function e1(f, e = "", t) {
12792
+ function t1(f, e = "", t) {
12793
12793
  let r = f;
12794
12794
  t = t || typeof location < "u" && location, f == null && (f = t.protocol + "//" + t.host), typeof f == "string" && (f.charAt(0) === "/" && (f.charAt(1) === "/" ? f = t.protocol + f : f = t.host + f), /^(https?|wss?):\/\//.test(f) || (typeof t < "u" ? f = t.protocol + "//" + f : f = "https://" + f), r = Pf(f)), 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 i = r.host.indexOf(":") !== -1 ? "[" + r.host + "]" : r.host;
12796
12796
  return r.id = r.protocol + "://" + i + ":" + r.port + e, r.href = r.protocol + "://" + i + (t && t.port === r.port ? "" : ":" + r.port), r;
12797
12797
  }
12798
- const t1 = typeof ArrayBuffer == "function", r1 = (f) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(f) : f.buffer instanceof ArrayBuffer, aa = Object.prototype.toString, f1 = typeof Blob == "function" || typeof Blob < "u" && aa.call(Blob) === "[object BlobConstructor]", i1 = typeof File == "function" || typeof File < "u" && aa.call(File) === "[object FileConstructor]";
12798
+ const r1 = typeof ArrayBuffer == "function", f1 = (f) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(f) : f.buffer instanceof ArrayBuffer, aa = Object.prototype.toString, i1 = typeof Blob == "function" || typeof Blob < "u" && aa.call(Blob) === "[object BlobConstructor]", n1 = typeof File == "function" || typeof File < "u" && aa.call(File) === "[object FileConstructor]";
12799
12799
  function Qf(f) {
12800
- return t1 && (f instanceof ArrayBuffer || r1(f)) || f1 && f instanceof Blob || i1 && f instanceof File;
12800
+ return r1 && (f instanceof ArrayBuffer || f1(f)) || i1 && f instanceof Blob || n1 && f instanceof File;
12801
12801
  }
12802
12802
  function lr(f, e) {
12803
12803
  if (!f || typeof f != "object")
@@ -12817,7 +12817,7 @@ function lr(f, e) {
12817
12817
  return !0;
12818
12818
  return !1;
12819
12819
  }
12820
- function n1(f) {
12820
+ function a1(f) {
12821
12821
  const e = [], t = f.data, r = f;
12822
12822
  return r.data = If(t, e), r.attachments = e.length, { packet: r, buffers: e };
12823
12823
  }
@@ -12840,7 +12840,7 @@ function If(f, e) {
12840
12840
  }
12841
12841
  return f;
12842
12842
  }
12843
- function a1(f, e) {
12843
+ function s1(f, e) {
12844
12844
  return f.data = Tf(f.data, e), delete f.attachments, f;
12845
12845
  }
12846
12846
  function Tf(f, e) {
@@ -12858,7 +12858,7 @@ function Tf(f, e) {
12858
12858
  Object.prototype.hasOwnProperty.call(f, t) && (f[t] = Tf(f[t], e));
12859
12859
  return f;
12860
12860
  }
12861
- const s1 = [
12861
+ const o1 = [
12862
12862
  "connect",
12863
12863
  "connect_error",
12864
12864
  "disconnect",
@@ -12866,12 +12866,12 @@ const s1 = [
12866
12866
  "newListener",
12867
12867
  "removeListener"
12868
12868
  // used by the Node.js EventEmitter
12869
- ], o1 = 5;
12869
+ ], c1 = 5;
12870
12870
  var Ue;
12871
12871
  (function(f) {
12872
12872
  f[f.CONNECT = 0] = "CONNECT", f[f.DISCONNECT = 1] = "DISCONNECT", f[f.EVENT = 2] = "EVENT", f[f.ACK = 3] = "ACK", f[f.CONNECT_ERROR = 4] = "CONNECT_ERROR", f[f.BINARY_EVENT = 5] = "BINARY_EVENT", f[f.BINARY_ACK = 6] = "BINARY_ACK";
12873
12873
  })(Ue || (Ue = {}));
12874
- class c1 {
12874
+ class d1 {
12875
12875
  /**
12876
12876
  * Encoder constructor
12877
12877
  *
@@ -12907,7 +12907,7 @@ class c1 {
12907
12907
  * a list of buffers.
12908
12908
  */
12909
12909
  encodeAsBinary(e) {
12910
- const t = n1(e), r = this.encodeAsString(t.packet), a = t.buffers;
12910
+ const t = a1(e), r = this.encodeAsString(t.packet), a = t.buffers;
12911
12911
  return a.unshift(r), a;
12912
12912
  }
12913
12913
  }
@@ -12935,7 +12935,7 @@ class Jf extends A0 {
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 d1(t), t.attachments === 0 && super.emitReserved("decoded", t)) : super.emitReserved("decoded", t);
12938
+ r || t.type === Ue.BINARY_ACK ? (t.type = r ? Ue.EVENT : Ue.ACK, this.reconstructor = new h1(t), t.attachments === 0 && super.emitReserved("decoded", t)) : super.emitReserved("decoded", t);
12939
12939
  } else if (Qf(e) || e.base64)
12940
12940
  if (this.reconstructor)
12941
12941
  t = this.reconstructor.takeBinaryData(e), t && (this.reconstructor = null, super.emitReserved("decoded", t));
@@ -13013,7 +13013,7 @@ class Jf extends A0 {
13013
13013
  return typeof t == "string" || an(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" && s1.indexOf(t[0]) === -1);
13016
+ return Array.isArray(t) && (typeof t[0] == "number" || typeof t[0] == "string" && o1.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 Jf extends A0 {
13026
13026
  this.reconstructor && (this.reconstructor.finishedReconstruction(), this.reconstructor = null);
13027
13027
  }
13028
13028
  }
13029
- class d1 {
13029
+ class h1 {
13030
13030
  constructor(e) {
13031
13031
  this.packet = e, this.buffers = [], this.reconPack = e;
13032
13032
  }
@@ -13040,7 +13040,7 @@ class d1 {
13040
13040
  */
13041
13041
  takeBinaryData(e) {
13042
13042
  if (this.buffers.push(e), this.buffers.length === this.reconPack.attachments) {
13043
- const t = a1(this.reconPack, this.buffers);
13043
+ const t = s1(this.reconPack, this.buffers);
13044
13044
  return this.finishedReconstruction(), t;
13045
13045
  }
13046
13046
  return null;
@@ -13052,21 +13052,21 @@ class d1 {
13052
13052
  this.reconPack = null, this.buffers = [];
13053
13053
  }
13054
13054
  }
13055
- const h1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13055
+ const u1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13056
13056
  __proto__: null,
13057
13057
  Decoder: Jf,
13058
- Encoder: c1,
13058
+ Encoder: d1,
13059
13059
  get PacketType() {
13060
13060
  return Ue;
13061
13061
  },
13062
- protocol: o1
13062
+ protocol: c1
13063
13063
  }, Symbol.toStringTag, { value: "Module" }));
13064
13064
  function J0(f, e, t) {
13065
13065
  return f.on(e, t), function() {
13066
13066
  f.off(e, t);
13067
13067
  };
13068
13068
  }
13069
- const u1 = Object.freeze({
13069
+ const l1 = Object.freeze({
13070
13070
  connect: 1,
13071
13071
  connect_error: 1,
13072
13072
  disconnect: 1,
@@ -13190,7 +13190,7 @@ class sa extends A0 {
13190
13190
  * @return self
13191
13191
  */
13192
13192
  emit(e, ...t) {
13193
- if (u1.hasOwnProperty(e))
13193
+ if (l1.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;
@@ -13697,7 +13697,7 @@ class Of extends A0 {
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 || h1;
13700
+ const a = t.parser || u1;
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) {
@@ -13918,7 +13918,7 @@ class Of extends A0 {
13918
13918
  const er = {};
13919
13919
  function xr(f, e) {
13920
13920
  typeof f == "object" && (e = f, f = void 0), e = e || {};
13921
- const t = e1(f, e.path || "/socket.io"), r = t.source, a = t.id, i = t.path, y = er[a] && i in er[a].nsps, x = e.forceNew || e["force new connection"] || e.multiplex === !1 || y;
13921
+ const t = t1(f, e.path || "/socket.io"), r = t.source, a = t.id, i = t.path, y = er[a] && i in er[a].nsps, x = e.forceNew || e["force new connection"] || e.multiplex === !1 || y;
13922
13922
  let u;
13923
13923
  return x ? u = new Of(r, e) : (er[a] || (er[a] = new Of(r, e)), u = er[a]), t.query && !e.query && (e.query = t.queryKey), u.socket(t.path, e);
13924
13924
  }
@@ -13928,10 +13928,10 @@ Object.assign(xr, {
13928
13928
  io: xr,
13929
13929
  connect: xr
13930
13930
  });
13931
- const l1 = "http://159.138.233.132:8080", Ct = class Ct {
13931
+ const x1 = "http://159.138.233.132:8080", Ct = class Ct {
13932
13932
  constructor() {
13933
13933
  wt(this, "socket");
13934
- this.socket = xr(l1);
13934
+ this.socket = xr(x1);
13935
13935
  }
13936
13936
  static getInstance() {
13937
13937
  return Ct.instance || (Ct.instance = new Ct()), Ct.instance;
@@ -13939,7 +13939,7 @@ const l1 = "http://159.138.233.132:8080", Ct = class Ct {
13939
13939
  };
13940
13940
  wt(Ct, "instance");
13941
13941
  let zf = Ct;
13942
- class x1 {
13942
+ class v1 {
13943
13943
  constructor() {
13944
13944
  wt(this, "socketInstance");
13945
13945
  this.socketInstance = zf.getInstance();
@@ -13967,8 +13967,8 @@ class x1 {
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 x1();
13971
- class v1 {
13970
+ const xt = new v1();
13971
+ class b1 {
13972
13972
  // 타입 가드 함수
13973
13973
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13974
13974
  isAccountCryptoType(e) {
@@ -14032,8 +14032,8 @@ Nonce: ${r}`, await this.sendMessage(e, t);
14032
14032
  }
14033
14033
  }
14034
14034
  }
14035
- const b1 = new v1();
14036
- class p1 {
14035
+ const p1 = new b1();
14036
+ class y1 {
14037
14037
  generateQrCode(e, t) {
14038
14038
  const r = ut.lib.WordArray.random(16).toString(ut.enc.Hex);
14039
14039
  let a = "";
@@ -14043,41 +14043,41 @@ class p1 {
14043
14043
  };
14044
14044
  }
14045
14045
  }
14046
- const oa = new p1(), A1 = ({ dapp: f, sigMessage: e, validTime: t, onReceive: r, ...a }) => {
14047
- const [i, y] = qf(!0), x = jn.generateNonce(16), { qrCode: u, roomId: o } = oa.generateQrCode("login", f);
14046
+ const oa = new y1(), ca = "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", E1 = ({ dapp: f, sigMessage: e, validTime: t, onReceive: r, isShowLogo: a = !0, ...i }) => {
14047
+ const [y, x] = qf(!0), u = jn.generateNonce(16), { qrCode: o, roomId: c } = oa.generateQrCode("login", f);
14048
14048
  return zt(() => {
14049
- const c = setTimeout(
14049
+ const v = setTimeout(
14050
14050
  () => {
14051
- xt.leaveRoom(o), y(!1);
14051
+ xt.leaveRoom(c), x(!1);
14052
14052
  },
14053
14053
  t * 60 * 1e3
14054
14054
  );
14055
- return () => clearTimeout(c);
14056
- }, [o, t]), zt(() => {
14055
+ return () => clearTimeout(v);
14056
+ }, [c, t]), zt(() => {
14057
14057
  (async () => {
14058
14058
  try {
14059
- console.log("roomId", o);
14060
- const v = {
14059
+ console.log("roomId", c);
14060
+ const C = {
14061
14061
  isSuccess: !0,
14062
- address: (await b1.qrLogin(o, e, x)).address
14062
+ address: (await p1.qrLogin(c, e, u)).address
14063
14063
  };
14064
- r(v);
14064
+ r(C);
14065
14065
  } catch {
14066
14066
  r({
14067
14067
  isSuccess: !1
14068
14068
  });
14069
14069
  }
14070
14070
  })();
14071
- }, [r, e]), i ? /* @__PURE__ */ vr.jsx(
14071
+ }, [r, e]), y ? /* @__PURE__ */ vr.jsx(
14072
14072
  ln,
14073
14073
  {
14074
- value: u,
14075
- ...a,
14076
- imageSettings: { src: "/public/zigap-icon.svg", height: 60, width: 60, excavate: !1 }
14074
+ value: o,
14075
+ ...a && { imageSettings: { src: ca, width: 60, height: 60, excavate: !1 } },
14076
+ ...i
14077
14077
  }
14078
14078
  ) : /* @__PURE__ */ vr.jsx("div", { children: "QR loading error" });
14079
14079
  };
14080
- class y1 {
14080
+ class g1 {
14081
14081
  // 타입 가드 함수
14082
14082
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
14083
14083
  isAccountType(e) {
@@ -14100,33 +14100,40 @@ class y1 {
14100
14100
  }
14101
14101
  }
14102
14102
  }
14103
- const g1 = new y1(), E1 = ({ dapp: f, validTime: e, onReceive: t, ...r }) => {
14104
- const [a, i] = qf(!0), { qrCode: y, roomId: x } = oa.generateQrCode("provide", f);
14103
+ const m1 = new g1(), w1 = ({ dapp: f, validTime: e, onReceive: t, isShowLogo: r = !0, ...a }) => {
14104
+ const [i, y] = qf(!0), { qrCode: x, roomId: u } = oa.generateQrCode("provide", f);
14105
14105
  return zt(() => {
14106
- const u = setTimeout(
14106
+ const o = setTimeout(
14107
14107
  () => {
14108
- xt.leaveRoom(x), i(!1);
14108
+ xt.leaveRoom(u), y(!1);
14109
14109
  },
14110
14110
  e * 60 * 1e3
14111
14111
  );
14112
- return () => clearTimeout(u);
14113
- }, [x, e]), zt(() => {
14112
+ return () => clearTimeout(o);
14113
+ }, [u, e]), zt(() => {
14114
14114
  (async () => {
14115
14115
  try {
14116
- const c = {
14116
+ const v = {
14117
14117
  isSuccess: !0,
14118
- address: (await g1.qrAddressProvide(x)).address
14118
+ address: (await m1.qrAddressProvide(u)).address
14119
14119
  };
14120
- t(c);
14120
+ t(v);
14121
14121
  } catch {
14122
14122
  t({
14123
14123
  isSuccess: !1
14124
14124
  });
14125
14125
  }
14126
14126
  })();
14127
- }, [t]), a ? /* @__PURE__ */ vr.jsx(ln, { value: y, ...r }) : /* @__PURE__ */ vr.jsx("div", { children: "QR loading error" });
14127
+ }, [t]), i ? /* @__PURE__ */ vr.jsx(
14128
+ ln,
14129
+ {
14130
+ value: x,
14131
+ ...r && { imageSettings: { src: ca, width: 60, height: 60, excavate: !1 } },
14132
+ ...a
14133
+ }
14134
+ ) : /* @__PURE__ */ vr.jsx("div", { children: "QR loading error" });
14128
14135
  };
14129
14136
  export {
14130
- E1 as AddressProvideQR,
14131
- A1 as LoginQR
14137
+ w1 as AddressProvideQR,
14138
+ E1 as LoginQR
14132
14139
  };