@beaver-im/js-sdk 1.0.2 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,30 +1,30 @@
1
1
  var io = Object.defineProperty;
2
- var so = (e, t, n) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var nr = (e, t, n) => (so(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { defineComponent as wt, ref as c0, onUnmounted as ao, openBlock as x0, createElementBlock as h0, createElementVNode as X, createCommentVNode as m0, toDisplayString as k0, withDirectives as or, vModelText as co, vModelDynamic as xo, watch as fo, onMounted as uo, getCurrentInstance as lo, resolveComponent as ir, createBlock as sr, defineCustomElement as ho } from "vue";
2
+ var so = (e, r, n) => r in e ? io(e, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[r] = n;
3
+ var nr = (e, r, n) => (so(e, typeof r != "symbol" ? r + "" : r, n), n);
4
+ import { defineComponent as wt, ref as c0, onUnmounted as ao, openBlock as x0, createElementBlock as h0, createElementVNode as X, createCommentVNode as m0, toDisplayString as P0, withDirectives as or, vModelText as co, vModelDynamic as xo, watch as fo, onMounted as uo, getCurrentInstance as lo, resolveComponent as ir, createBlock as sr, defineCustomElement as ho } from "vue";
5
5
  var M = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
6
  function po(e) {
7
7
  if (e.__esModule)
8
8
  return e;
9
- var t = e.default;
10
- if (typeof t == "function") {
11
- var n = function r() {
12
- return this instanceof r ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
9
+ var r = e.default;
10
+ if (typeof r == "function") {
11
+ var n = function t() {
12
+ return this instanceof t ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
13
13
  };
14
- n.prototype = t.prototype;
14
+ n.prototype = r.prototype;
15
15
  } else
16
16
  n = {};
17
- return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
18
- var o = Object.getOwnPropertyDescriptor(e, r);
19
- Object.defineProperty(n, r, o.get ? o : {
17
+ return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(e).forEach(function(t) {
18
+ var o = Object.getOwnPropertyDescriptor(e, t);
19
+ Object.defineProperty(n, t, o.get ? o : {
20
20
  enumerable: !0,
21
21
  get: function() {
22
- return e[r];
22
+ return e[t];
23
23
  }
24
24
  });
25
25
  }), n;
26
26
  }
27
- var V0 = {}, vo = function() {
27
+ var G0 = {}, vo = function() {
28
28
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
29
29
  }, an = {}, o0 = {};
30
30
  let _t;
@@ -72,37 +72,37 @@ const go = [
72
72
  3532,
73
73
  3706
74
74
  ];
75
- o0.getSymbolSize = function(t) {
76
- if (!t)
75
+ o0.getSymbolSize = function(r) {
76
+ if (!r)
77
77
  throw new Error('"version" cannot be null or undefined');
78
- if (t < 1 || t > 40)
78
+ if (r < 1 || r > 40)
79
79
  throw new Error('"version" should be in range from 1 to 40');
80
- return t * 4 + 17;
80
+ return r * 4 + 17;
81
81
  };
82
- o0.getSymbolTotalCodewords = function(t) {
83
- return go[t];
82
+ o0.getSymbolTotalCodewords = function(r) {
83
+ return go[r];
84
84
  };
85
85
  o0.getBCHDigit = function(e) {
86
- let t = 0;
86
+ let r = 0;
87
87
  for (; e !== 0; )
88
- t++, e >>>= 1;
89
- return t;
88
+ r++, e >>>= 1;
89
+ return r;
90
90
  };
91
- o0.setToSJISFunction = function(t) {
92
- if (typeof t != "function")
91
+ o0.setToSJISFunction = function(r) {
92
+ if (typeof r != "function")
93
93
  throw new Error('"toSJISFunc" is not a valid function.');
94
- _t = t;
94
+ _t = r;
95
95
  };
96
96
  o0.isKanjiModeEnabled = function() {
97
97
  return typeof _t < "u";
98
98
  };
99
- o0.toSJIS = function(t) {
100
- return _t(t);
99
+ o0.toSJIS = function(r) {
100
+ return _t(r);
101
101
  };
102
102
  var he = {};
103
103
  (function(e) {
104
104
  e.L = { bit: 1 }, e.M = { bit: 0 }, e.Q = { bit: 3 }, e.H = { bit: 2 };
105
- function t(n) {
105
+ function r(n) {
106
106
  if (typeof n != "string")
107
107
  throw new Error("Param is not a string");
108
108
  switch (n.toLowerCase()) {
@@ -122,13 +122,13 @@ var he = {};
122
122
  throw new Error("Unknown EC Level: " + n);
123
123
  }
124
124
  }
125
- e.isValid = function(r) {
126
- return r && typeof r.bit < "u" && r.bit >= 0 && r.bit < 4;
127
- }, e.from = function(r, o) {
128
- if (e.isValid(r))
129
- return r;
125
+ e.isValid = function(t) {
126
+ return t && typeof t.bit < "u" && t.bit >= 0 && t.bit < 4;
127
+ }, e.from = function(t, o) {
128
+ if (e.isValid(t))
129
+ return t;
130
130
  try {
131
- return t(r);
131
+ return r(t);
132
132
  } catch {
133
133
  return o;
134
134
  }
@@ -139,52 +139,52 @@ function cn() {
139
139
  }
140
140
  cn.prototype = {
141
141
  get: function(e) {
142
- const t = Math.floor(e / 8);
143
- return (this.buffer[t] >>> 7 - e % 8 & 1) === 1;
142
+ const r = Math.floor(e / 8);
143
+ return (this.buffer[r] >>> 7 - e % 8 & 1) === 1;
144
144
  },
145
- put: function(e, t) {
146
- for (let n = 0; n < t; n++)
147
- this.putBit((e >>> t - n - 1 & 1) === 1);
145
+ put: function(e, r) {
146
+ for (let n = 0; n < r; n++)
147
+ this.putBit((e >>> r - n - 1 & 1) === 1);
148
148
  },
149
149
  getLengthInBits: function() {
150
150
  return this.length;
151
151
  },
152
152
  putBit: function(e) {
153
- const t = Math.floor(this.length / 8);
154
- this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
153
+ const r = Math.floor(this.length / 8);
154
+ this.buffer.length <= r && this.buffer.push(0), e && (this.buffer[r] |= 128 >>> this.length % 8), this.length++;
155
155
  }
156
156
  };
157
157
  var Eo = cn;
158
- function G0(e) {
158
+ function X0(e) {
159
159
  if (!e || e < 1)
160
160
  throw new Error("BitMatrix size must be defined and greater than 0");
161
161
  this.size = e, this.data = new Uint8Array(e * e), this.reservedBit = new Uint8Array(e * e);
162
162
  }
163
- G0.prototype.set = function(e, t, n, r) {
164
- const o = e * this.size + t;
165
- this.data[o] = n, r && (this.reservedBit[o] = !0);
163
+ X0.prototype.set = function(e, r, n, t) {
164
+ const o = e * this.size + r;
165
+ this.data[o] = n, t && (this.reservedBit[o] = !0);
166
166
  };
167
- G0.prototype.get = function(e, t) {
168
- return this.data[e * this.size + t];
167
+ X0.prototype.get = function(e, r) {
168
+ return this.data[e * this.size + r];
169
169
  };
170
- G0.prototype.xor = function(e, t, n) {
171
- this.data[e * this.size + t] ^= n;
170
+ X0.prototype.xor = function(e, r, n) {
171
+ this.data[e * this.size + r] ^= n;
172
172
  };
173
- G0.prototype.isReserved = function(e, t) {
174
- return this.reservedBit[e * this.size + t];
173
+ X0.prototype.isReserved = function(e, r) {
174
+ return this.reservedBit[e * this.size + r];
175
175
  };
176
- var Bo = G0, xn = {};
176
+ var Bo = X0, xn = {};
177
177
  (function(e) {
178
- const t = o0.getSymbolSize;
179
- e.getRowColCoords = function(r) {
180
- if (r === 1)
178
+ const r = o0.getSymbolSize;
179
+ e.getRowColCoords = function(t) {
180
+ if (t === 1)
181
181
  return [];
182
- const o = Math.floor(r / 7) + 2, i = t(r), a = i === 145 ? 26 : Math.ceil((i - 13) / (2 * o - 2)) * 2, s = [i - 7];
182
+ const o = Math.floor(t / 7) + 2, i = r(t), a = i === 145 ? 26 : Math.ceil((i - 13) / (2 * o - 2)) * 2, s = [i - 7];
183
183
  for (let x = 1; x < o - 1; x++)
184
184
  s[x] = s[x - 1] - a;
185
185
  return s.push(6), s.reverse();
186
- }, e.getPositions = function(r) {
187
- const o = [], i = e.getRowColCoords(r), a = i.length;
186
+ }, e.getPositions = function(t) {
187
+ const o = [], i = e.getRowColCoords(t), a = i.length;
188
188
  for (let s = 0; s < a; s++)
189
189
  for (let x = 0; x < a; x++)
190
190
  s === 0 && x === 0 || // top-left
@@ -195,8 +195,8 @@ var Bo = G0, xn = {};
195
195
  })(xn);
196
196
  var fn = {};
197
197
  const Co = o0.getSymbolSize, ar = 7;
198
- fn.getPositions = function(t) {
199
- const n = Co(t);
198
+ fn.getPositions = function(r) {
199
+ const n = Co(r);
200
200
  return [
201
201
  // top-left
202
202
  [0, 0],
@@ -218,7 +218,7 @@ var un = {};
218
218
  PATTERN110: 6,
219
219
  PATTERN111: 7
220
220
  };
221
- const t = {
221
+ const r = {
222
222
  N1: 3,
223
223
  N2: 3,
224
224
  N3: 40,
@@ -235,9 +235,9 @@ var un = {};
235
235
  s = x = 0, c = f = null;
236
236
  for (let l = 0; l < i; l++) {
237
237
  let p = o.get(C, l);
238
- p === c ? s++ : (s >= 5 && (a += t.N1 + (s - 5)), c = p, s = 1), p = o.get(l, C), p === f ? x++ : (x >= 5 && (a += t.N1 + (x - 5)), f = p, x = 1);
238
+ p === c ? s++ : (s >= 5 && (a += r.N1 + (s - 5)), c = p, s = 1), p = o.get(l, C), p === f ? x++ : (x >= 5 && (a += r.N1 + (x - 5)), f = p, x = 1);
239
239
  }
240
- s >= 5 && (a += t.N1 + (s - 5)), x >= 5 && (a += t.N1 + (x - 5));
240
+ s >= 5 && (a += r.N1 + (s - 5)), x >= 5 && (a += r.N1 + (x - 5));
241
241
  }
242
242
  return a;
243
243
  }, e.getPenaltyN2 = function(o) {
@@ -248,7 +248,7 @@ var un = {};
248
248
  const c = o.get(s, x) + o.get(s, x + 1) + o.get(s + 1, x) + o.get(s + 1, x + 1);
249
249
  (c === 4 || c === 0) && a++;
250
250
  }
251
- return a * t.N2;
251
+ return a * r.N2;
252
252
  }, e.getPenaltyN3 = function(o) {
253
253
  const i = o.size;
254
254
  let a = 0, s = 0, x = 0;
@@ -257,16 +257,16 @@ var un = {};
257
257
  for (let f = 0; f < i; f++)
258
258
  s = s << 1 & 2047 | o.get(c, f), f >= 10 && (s === 1488 || s === 93) && a++, x = x << 1 & 2047 | o.get(f, c), f >= 10 && (x === 1488 || x === 93) && a++;
259
259
  }
260
- return a * t.N3;
260
+ return a * r.N3;
261
261
  }, e.getPenaltyN4 = function(o) {
262
262
  let i = 0;
263
263
  const a = o.data.length;
264
264
  for (let x = 0; x < a; x++)
265
265
  i += o.data[x];
266
- return Math.abs(Math.ceil(i * 100 / a / 5) - 10) * t.N4;
266
+ return Math.abs(Math.ceil(i * 100 / a / 5) - 10) * r.N4;
267
267
  };
268
- function n(r, o, i) {
269
- switch (r) {
268
+ function n(t, o, i) {
269
+ switch (t) {
270
270
  case e.Patterns.PATTERN000:
271
271
  return (o + i) % 2 === 0;
272
272
  case e.Patterns.PATTERN001:
@@ -284,7 +284,7 @@ var un = {};
284
284
  case e.Patterns.PATTERN111:
285
285
  return (o * i % 3 + (o + i) % 2) % 2 === 0;
286
286
  default:
287
- throw new Error("bad maskPattern:" + r);
287
+ throw new Error("bad maskPattern:" + t);
288
288
  }
289
289
  }
290
290
  e.applyMask = function(o, i) {
@@ -629,78 +629,78 @@ const C0 = he, ne = [
629
629
  2040,
630
630
  2430
631
631
  ];
632
- pe.getBlocksCount = function(t, n) {
632
+ pe.getBlocksCount = function(r, n) {
633
633
  switch (n) {
634
634
  case C0.L:
635
- return ne[(t - 1) * 4 + 0];
635
+ return ne[(r - 1) * 4 + 0];
636
636
  case C0.M:
637
- return ne[(t - 1) * 4 + 1];
637
+ return ne[(r - 1) * 4 + 1];
638
638
  case C0.Q:
639
- return ne[(t - 1) * 4 + 2];
639
+ return ne[(r - 1) * 4 + 2];
640
640
  case C0.H:
641
- return ne[(t - 1) * 4 + 3];
641
+ return ne[(r - 1) * 4 + 3];
642
642
  default:
643
643
  return;
644
644
  }
645
645
  };
646
- pe.getTotalCodewordsCount = function(t, n) {
646
+ pe.getTotalCodewordsCount = function(r, n) {
647
647
  switch (n) {
648
648
  case C0.L:
649
- return oe[(t - 1) * 4 + 0];
649
+ return oe[(r - 1) * 4 + 0];
650
650
  case C0.M:
651
- return oe[(t - 1) * 4 + 1];
651
+ return oe[(r - 1) * 4 + 1];
652
652
  case C0.Q:
653
- return oe[(t - 1) * 4 + 2];
653
+ return oe[(r - 1) * 4 + 2];
654
654
  case C0.H:
655
- return oe[(t - 1) * 4 + 3];
655
+ return oe[(r - 1) * 4 + 3];
656
656
  default:
657
657
  return;
658
658
  }
659
659
  };
660
660
  var ln = {}, ve = {};
661
- const $0 = new Uint8Array(512), fe = new Uint8Array(256);
661
+ const K0 = new Uint8Array(512), fe = new Uint8Array(256);
662
662
  (function() {
663
- let t = 1;
663
+ let r = 1;
664
664
  for (let n = 0; n < 255; n++)
665
- $0[n] = t, fe[t] = n, t <<= 1, t & 256 && (t ^= 285);
665
+ K0[n] = r, fe[r] = n, r <<= 1, r & 256 && (r ^= 285);
666
666
  for (let n = 255; n < 512; n++)
667
- $0[n] = $0[n - 255];
667
+ K0[n] = K0[n - 255];
668
668
  })();
669
- ve.log = function(t) {
670
- if (t < 1)
671
- throw new Error("log(" + t + ")");
672
- return fe[t];
669
+ ve.log = function(r) {
670
+ if (r < 1)
671
+ throw new Error("log(" + r + ")");
672
+ return fe[r];
673
673
  };
674
- ve.exp = function(t) {
675
- return $0[t];
674
+ ve.exp = function(r) {
675
+ return K0[r];
676
676
  };
677
- ve.mul = function(t, n) {
678
- return t === 0 || n === 0 ? 0 : $0[fe[t] + fe[n]];
677
+ ve.mul = function(r, n) {
678
+ return r === 0 || n === 0 ? 0 : K0[fe[r] + fe[n]];
679
679
  };
680
680
  (function(e) {
681
- const t = ve;
682
- e.mul = function(r, o) {
683
- const i = new Uint8Array(r.length + o.length - 1);
684
- for (let a = 0; a < r.length; a++)
681
+ const r = ve;
682
+ e.mul = function(t, o) {
683
+ const i = new Uint8Array(t.length + o.length - 1);
684
+ for (let a = 0; a < t.length; a++)
685
685
  for (let s = 0; s < o.length; s++)
686
- i[a + s] ^= t.mul(r[a], o[s]);
686
+ i[a + s] ^= r.mul(t[a], o[s]);
687
687
  return i;
688
- }, e.mod = function(r, o) {
689
- let i = new Uint8Array(r);
688
+ }, e.mod = function(t, o) {
689
+ let i = new Uint8Array(t);
690
690
  for (; i.length - o.length >= 0; ) {
691
691
  const a = i[0];
692
692
  for (let x = 0; x < o.length; x++)
693
- i[x] ^= t.mul(o[x], a);
693
+ i[x] ^= r.mul(o[x], a);
694
694
  let s = 0;
695
695
  for (; s < i.length && i[s] === 0; )
696
696
  s++;
697
697
  i = i.slice(s);
698
698
  }
699
699
  return i;
700
- }, e.generateECPolynomial = function(r) {
700
+ }, e.generateECPolynomial = function(t) {
701
701
  let o = new Uint8Array([1]);
702
- for (let i = 0; i < r; i++)
703
- o = e.mul(o, new Uint8Array([1, t.exp(i)]));
702
+ for (let i = 0; i < t; i++)
703
+ o = e.mul(o, new Uint8Array([1, r.exp(i)]));
704
704
  return o;
705
705
  };
706
706
  })(ln);
@@ -708,48 +708,48 @@ const dn = ln;
708
708
  function Rt(e) {
709
709
  this.genPoly = void 0, this.degree = e, this.degree && this.initialize(this.degree);
710
710
  }
711
- Rt.prototype.initialize = function(t) {
712
- this.degree = t, this.genPoly = dn.generateECPolynomial(this.degree);
711
+ Rt.prototype.initialize = function(r) {
712
+ this.degree = r, this.genPoly = dn.generateECPolynomial(this.degree);
713
713
  };
714
- Rt.prototype.encode = function(t) {
714
+ Rt.prototype.encode = function(r) {
715
715
  if (!this.genPoly)
716
716
  throw new Error("Encoder not initialized");
717
- const n = new Uint8Array(t.length + this.degree);
718
- n.set(t);
719
- const r = dn.mod(n, this.genPoly), o = this.degree - r.length;
717
+ const n = new Uint8Array(r.length + this.degree);
718
+ n.set(r);
719
+ const t = dn.mod(n, this.genPoly), o = this.degree - t.length;
720
720
  if (o > 0) {
721
721
  const i = new Uint8Array(this.degree);
722
- return i.set(r, o), i;
722
+ return i.set(t, o), i;
723
723
  }
724
- return r;
724
+ return t;
725
725
  };
726
726
  var Ao = Rt, hn = {}, A0 = {}, St = {};
727
- St.isValid = function(t) {
728
- return !isNaN(t) && t >= 1 && t <= 40;
727
+ St.isValid = function(r) {
728
+ return !isNaN(r) && r >= 1 && r <= 40;
729
729
  };
730
730
  var p0 = {};
731
731
  const pn = "[0-9]+", bo = "[A-Z $%*+\\-./:]+";
732
- let K0 = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
733
- K0 = K0.replace(/u/g, "\\u");
734
- const yo = "(?:(?![A-Z0-9 $%*+\\-./:]|" + K0 + `)(?:.|[\r
732
+ let V0 = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
733
+ V0 = V0.replace(/u/g, "\\u");
734
+ const yo = "(?:(?![A-Z0-9 $%*+\\-./:]|" + V0 + `)(?:.|[\r
735
735
  ]))+`;
736
- p0.KANJI = new RegExp(K0, "g");
736
+ p0.KANJI = new RegExp(V0, "g");
737
737
  p0.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
738
738
  p0.BYTE = new RegExp(yo, "g");
739
739
  p0.NUMERIC = new RegExp(pn, "g");
740
740
  p0.ALPHANUMERIC = new RegExp(bo, "g");
741
- const mo = new RegExp("^" + K0 + "$"), Do = new RegExp("^" + pn + "$"), Fo = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
742
- p0.testKanji = function(t) {
743
- return mo.test(t);
741
+ const mo = new RegExp("^" + V0 + "$"), Do = new RegExp("^" + pn + "$"), Fo = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
742
+ p0.testKanji = function(r) {
743
+ return mo.test(r);
744
744
  };
745
- p0.testNumeric = function(t) {
746
- return Do.test(t);
745
+ p0.testNumeric = function(r) {
746
+ return Do.test(r);
747
747
  };
748
- p0.testAlphanumeric = function(t) {
749
- return Fo.test(t);
748
+ p0.testAlphanumeric = function(r) {
749
+ return Fo.test(r);
750
750
  };
751
751
  (function(e) {
752
- const t = St, n = p0;
752
+ const r = St, n = p0;
753
753
  e.NUMERIC = {
754
754
  id: "Numeric",
755
755
  bit: 1,
@@ -771,7 +771,7 @@ p0.testAlphanumeric = function(t) {
771
771
  }, e.getCharCountIndicator = function(i, a) {
772
772
  if (!i.ccBits)
773
773
  throw new Error("Invalid mode: " + i);
774
- if (!t.isValid(a))
774
+ if (!r.isValid(a))
775
775
  throw new Error("Invalid version: " + a);
776
776
  return a >= 1 && a < 10 ? i.ccBits[0] : a < 27 ? i.ccBits[1] : i.ccBits[2];
777
777
  }, e.getBestModeForData = function(i) {
@@ -783,7 +783,7 @@ p0.testAlphanumeric = function(t) {
783
783
  }, e.isValid = function(i) {
784
784
  return i && i.bit && i.ccBits;
785
785
  };
786
- function r(o) {
786
+ function t(o) {
787
787
  if (typeof o != "string")
788
788
  throw new Error("Param is not a string");
789
789
  switch (o.toLowerCase()) {
@@ -803,14 +803,14 @@ p0.testAlphanumeric = function(t) {
803
803
  if (e.isValid(i))
804
804
  return i;
805
805
  try {
806
- return r(i);
806
+ return t(i);
807
807
  } catch {
808
808
  return a;
809
809
  }
810
810
  };
811
811
  })(A0);
812
812
  (function(e) {
813
- const t = o0, n = pe, r = he, o = A0, i = St, a = 7973, s = t.getBCHDigit(a);
813
+ const r = o0, n = pe, t = he, o = A0, i = St, a = 7973, s = r.getBCHDigit(a);
814
814
  function x(l, p, g) {
815
815
  for (let v = 1; v <= 40; v++)
816
816
  if (p <= e.getCapacity(v, g, l))
@@ -837,7 +837,7 @@ p0.testAlphanumeric = function(t) {
837
837
  if (!i.isValid(p))
838
838
  throw new Error("Invalid QR Code version");
839
839
  typeof v > "u" && (v = o.BYTE);
840
- const h = t.getSymbolTotalCodewords(p), B = n.getTotalCodewordsCount(p, g), u = (h - B) * 8;
840
+ const h = r.getSymbolTotalCodewords(p), B = n.getTotalCodewordsCount(p, g), u = (h - B) * 8;
841
841
  if (v === o.MIXED)
842
842
  return u;
843
843
  const d = u - c(v, p);
@@ -854,7 +854,7 @@ p0.testAlphanumeric = function(t) {
854
854
  }
855
855
  }, e.getBestVersionForData = function(p, g) {
856
856
  let v;
857
- const h = r.from(g, r.M);
857
+ const h = t.from(g, t.M);
858
858
  if (Array.isArray(p)) {
859
859
  if (p.length > 1)
860
860
  return C(p, h);
@@ -868,42 +868,42 @@ p0.testAlphanumeric = function(t) {
868
868
  if (!i.isValid(p) || p < 7)
869
869
  throw new Error("Invalid QR Code version");
870
870
  let g = p << 12;
871
- for (; t.getBCHDigit(g) - s >= 0; )
872
- g ^= a << t.getBCHDigit(g) - s;
871
+ for (; r.getBCHDigit(g) - s >= 0; )
872
+ g ^= a << r.getBCHDigit(g) - s;
873
873
  return p << 12 | g;
874
874
  };
875
875
  })(hn);
876
876
  var vn = {};
877
877
  const Et = o0, gn = 1335, wo = 21522, cr = Et.getBCHDigit(gn);
878
- vn.getEncodedBits = function(t, n) {
879
- const r = t.bit << 3 | n;
880
- let o = r << 10;
878
+ vn.getEncodedBits = function(r, n) {
879
+ const t = r.bit << 3 | n;
880
+ let o = t << 10;
881
881
  for (; Et.getBCHDigit(o) - cr >= 0; )
882
882
  o ^= gn << Et.getBCHDigit(o) - cr;
883
- return (r << 10 | o) ^ wo;
883
+ return (t << 10 | o) ^ wo;
884
884
  };
885
885
  var En = {};
886
886
  const _o = A0;
887
- function P0(e) {
887
+ function T0(e) {
888
888
  this.mode = _o.NUMERIC, this.data = e.toString();
889
889
  }
890
- P0.getBitsLength = function(t) {
891
- return 10 * Math.floor(t / 3) + (t % 3 ? t % 3 * 3 + 1 : 0);
890
+ T0.getBitsLength = function(r) {
891
+ return 10 * Math.floor(r / 3) + (r % 3 ? r % 3 * 3 + 1 : 0);
892
892
  };
893
- P0.prototype.getLength = function() {
893
+ T0.prototype.getLength = function() {
894
894
  return this.data.length;
895
895
  };
896
- P0.prototype.getBitsLength = function() {
897
- return P0.getBitsLength(this.data.length);
896
+ T0.prototype.getBitsLength = function() {
897
+ return T0.getBitsLength(this.data.length);
898
898
  };
899
- P0.prototype.write = function(t) {
900
- let n, r, o;
899
+ T0.prototype.write = function(r) {
900
+ let n, t, o;
901
901
  for (n = 0; n + 3 <= this.data.length; n += 3)
902
- r = this.data.substr(n, 3), o = parseInt(r, 10), t.put(o, 10);
902
+ t = this.data.substr(n, 3), o = parseInt(t, 10), r.put(o, 10);
903
903
  const i = this.data.length - n;
904
- i > 0 && (r = this.data.substr(n), o = parseInt(r, 10), t.put(o, i * 3 + 1));
904
+ i > 0 && (t = this.data.substr(n), o = parseInt(t, 10), r.put(o, i * 3 + 1));
905
905
  };
906
- var Ro = P0;
906
+ var Ro = T0;
907
907
  const So = A0, _e = [
908
908
  "0",
909
909
  "1",
@@ -951,101 +951,101 @@ const So = A0, _e = [
951
951
  "/",
952
952
  ":"
953
953
  ];
954
- function T0(e) {
954
+ function I0(e) {
955
955
  this.mode = So.ALPHANUMERIC, this.data = e;
956
956
  }
957
- T0.getBitsLength = function(t) {
958
- return 11 * Math.floor(t / 2) + 6 * (t % 2);
957
+ I0.getBitsLength = function(r) {
958
+ return 11 * Math.floor(r / 2) + 6 * (r % 2);
959
959
  };
960
- T0.prototype.getLength = function() {
960
+ I0.prototype.getLength = function() {
961
961
  return this.data.length;
962
962
  };
963
- T0.prototype.getBitsLength = function() {
964
- return T0.getBitsLength(this.data.length);
963
+ I0.prototype.getBitsLength = function() {
964
+ return I0.getBitsLength(this.data.length);
965
965
  };
966
- T0.prototype.write = function(t) {
966
+ I0.prototype.write = function(r) {
967
967
  let n;
968
968
  for (n = 0; n + 2 <= this.data.length; n += 2) {
969
- let r = _e.indexOf(this.data[n]) * 45;
970
- r += _e.indexOf(this.data[n + 1]), t.put(r, 11);
969
+ let t = _e.indexOf(this.data[n]) * 45;
970
+ t += _e.indexOf(this.data[n + 1]), r.put(t, 11);
971
971
  }
972
- this.data.length % 2 && t.put(_e.indexOf(this.data[n]), 6);
972
+ this.data.length % 2 && r.put(_e.indexOf(this.data[n]), 6);
973
973
  };
974
- var ko = T0;
974
+ var ko = I0;
975
975
  const Po = A0;
976
- function I0(e) {
976
+ function L0(e) {
977
977
  this.mode = Po.BYTE, typeof e == "string" ? this.data = new TextEncoder().encode(e) : this.data = new Uint8Array(e);
978
978
  }
979
- I0.getBitsLength = function(t) {
980
- return t * 8;
979
+ L0.getBitsLength = function(r) {
980
+ return r * 8;
981
981
  };
982
- I0.prototype.getLength = function() {
982
+ L0.prototype.getLength = function() {
983
983
  return this.data.length;
984
984
  };
985
- I0.prototype.getBitsLength = function() {
986
- return I0.getBitsLength(this.data.length);
985
+ L0.prototype.getBitsLength = function() {
986
+ return L0.getBitsLength(this.data.length);
987
987
  };
988
- I0.prototype.write = function(e) {
989
- for (let t = 0, n = this.data.length; t < n; t++)
990
- e.put(this.data[t], 8);
988
+ L0.prototype.write = function(e) {
989
+ for (let r = 0, n = this.data.length; r < n; r++)
990
+ e.put(this.data[r], 8);
991
991
  };
992
- var To = I0;
992
+ var To = L0;
993
993
  const Io = A0, Lo = o0;
994
- function L0(e) {
994
+ function N0(e) {
995
995
  this.mode = Io.KANJI, this.data = e;
996
996
  }
997
- L0.getBitsLength = function(t) {
998
- return t * 13;
997
+ N0.getBitsLength = function(r) {
998
+ return r * 13;
999
999
  };
1000
- L0.prototype.getLength = function() {
1000
+ N0.prototype.getLength = function() {
1001
1001
  return this.data.length;
1002
1002
  };
1003
- L0.prototype.getBitsLength = function() {
1004
- return L0.getBitsLength(this.data.length);
1003
+ N0.prototype.getBitsLength = function() {
1004
+ return N0.getBitsLength(this.data.length);
1005
1005
  };
1006
- L0.prototype.write = function(e) {
1007
- let t;
1008
- for (t = 0; t < this.data.length; t++) {
1009
- let n = Lo.toSJIS(this.data[t]);
1006
+ N0.prototype.write = function(e) {
1007
+ let r;
1008
+ for (r = 0; r < this.data.length; r++) {
1009
+ let n = Lo.toSJIS(this.data[r]);
1010
1010
  if (n >= 33088 && n <= 40956)
1011
1011
  n -= 33088;
1012
1012
  else if (n >= 57408 && n <= 60351)
1013
1013
  n -= 49472;
1014
1014
  else
1015
1015
  throw new Error(
1016
- "Invalid SJIS character: " + this.data[t] + `
1016
+ "Invalid SJIS character: " + this.data[r] + `
1017
1017
  Make sure your charset is UTF-8`
1018
1018
  );
1019
1019
  n = (n >>> 8 & 255) * 192 + (n & 255), e.put(n, 13);
1020
1020
  }
1021
1021
  };
1022
- var No = L0, Bn = { exports: {} };
1022
+ var No = N0, Bn = { exports: {} };
1023
1023
  (function(e) {
1024
- var t = {
1025
- single_source_shortest_paths: function(n, r, o) {
1024
+ var r = {
1025
+ single_source_shortest_paths: function(n, t, o) {
1026
1026
  var i = {}, a = {};
1027
- a[r] = 0;
1028
- var s = t.PriorityQueue.make();
1029
- s.push(r, 0);
1027
+ a[t] = 0;
1028
+ var s = r.PriorityQueue.make();
1029
+ s.push(t, 0);
1030
1030
  for (var x, c, f, C, l, p, g, v, h; !s.empty(); ) {
1031
1031
  x = s.pop(), c = x.value, C = x.cost, l = n[c] || {};
1032
1032
  for (f in l)
1033
1033
  l.hasOwnProperty(f) && (p = l[f], g = C + p, v = a[f], h = typeof a[f] > "u", (h || v > g) && (a[f] = g, s.push(f, g), i[f] = c));
1034
1034
  }
1035
1035
  if (typeof o < "u" && typeof a[o] > "u") {
1036
- var B = ["Could not find a path from ", r, " to ", o, "."].join("");
1036
+ var B = ["Could not find a path from ", t, " to ", o, "."].join("");
1037
1037
  throw new Error(B);
1038
1038
  }
1039
1039
  return i;
1040
1040
  },
1041
- extract_shortest_path_from_predecessor_list: function(n, r) {
1042
- for (var o = [], i = r; i; )
1041
+ extract_shortest_path_from_predecessor_list: function(n, t) {
1042
+ for (var o = [], i = t; i; )
1043
1043
  o.push(i), n[i], i = n[i];
1044
1044
  return o.reverse(), o;
1045
1045
  },
1046
- find_path: function(n, r, o) {
1047
- var i = t.single_source_shortest_paths(n, r, o);
1048
- return t.extract_shortest_path_from_predecessor_list(
1046
+ find_path: function(n, t, o) {
1047
+ var i = r.single_source_shortest_paths(n, t, o);
1048
+ return r.extract_shortest_path_from_predecessor_list(
1049
1049
  i,
1050
1050
  o
1051
1051
  );
@@ -1055,21 +1055,21 @@ var No = L0, Bn = { exports: {} };
1055
1055
  */
1056
1056
  PriorityQueue: {
1057
1057
  make: function(n) {
1058
- var r = t.PriorityQueue, o = {}, i;
1058
+ var t = r.PriorityQueue, o = {}, i;
1059
1059
  n = n || {};
1060
- for (i in r)
1061
- r.hasOwnProperty(i) && (o[i] = r[i]);
1062
- return o.queue = [], o.sorter = n.sorter || r.default_sorter, o;
1060
+ for (i in t)
1061
+ t.hasOwnProperty(i) && (o[i] = t[i]);
1062
+ return o.queue = [], o.sorter = n.sorter || t.default_sorter, o;
1063
1063
  },
1064
- default_sorter: function(n, r) {
1065
- return n.cost - r.cost;
1064
+ default_sorter: function(n, t) {
1065
+ return n.cost - t.cost;
1066
1066
  },
1067
1067
  /**
1068
1068
  * Add a new item to the queue and ensure the highest priority element
1069
1069
  * is at the front of the queue.
1070
1070
  */
1071
- push: function(n, r) {
1072
- var o = { value: n, cost: r };
1071
+ push: function(n, t) {
1072
+ var o = { value: n, cost: t };
1073
1073
  this.queue.push(o), this.queue.sort(this.sorter);
1074
1074
  },
1075
1075
  /**
@@ -1083,11 +1083,11 @@ var No = L0, Bn = { exports: {} };
1083
1083
  }
1084
1084
  }
1085
1085
  };
1086
- e.exports = t;
1086
+ e.exports = r;
1087
1087
  })(Bn);
1088
1088
  var Oo = Bn.exports;
1089
1089
  (function(e) {
1090
- const t = A0, n = Ro, r = ko, o = To, i = No, a = p0, s = o0, x = Oo;
1090
+ const r = A0, n = Ro, t = ko, o = To, i = No, a = p0, s = o0, x = Oo;
1091
1091
  function c(B) {
1092
1092
  return unescape(encodeURIComponent(B)).length;
1093
1093
  }
@@ -1104,9 +1104,9 @@ var Oo = Bn.exports;
1104
1104
  return E;
1105
1105
  }
1106
1106
  function C(B) {
1107
- const u = f(a.NUMERIC, t.NUMERIC, B), d = f(a.ALPHANUMERIC, t.ALPHANUMERIC, B);
1107
+ const u = f(a.NUMERIC, r.NUMERIC, B), d = f(a.ALPHANUMERIC, r.ALPHANUMERIC, B);
1108
1108
  let E, A;
1109
- return s.isKanjiModeEnabled() ? (E = f(a.BYTE, t.BYTE, B), A = f(a.KANJI, t.KANJI, B)) : (E = f(a.BYTE_KANJI, t.BYTE, B), A = []), u.concat(d, E, A).sort(function(m, w) {
1109
+ return s.isKanjiModeEnabled() ? (E = f(a.BYTE, r.BYTE, B), A = f(a.KANJI, r.KANJI, B)) : (E = f(a.BYTE_KANJI, r.BYTE, B), A = []), u.concat(d, E, A).sort(function(m, w) {
1110
1110
  return m.index - w.index;
1111
1111
  }).map(function(m) {
1112
1112
  return {
@@ -1118,13 +1118,13 @@ var Oo = Bn.exports;
1118
1118
  }
1119
1119
  function l(B, u) {
1120
1120
  switch (u) {
1121
- case t.NUMERIC:
1121
+ case r.NUMERIC:
1122
1122
  return n.getBitsLength(B);
1123
- case t.ALPHANUMERIC:
1124
- return r.getBitsLength(B);
1125
- case t.KANJI:
1123
+ case r.ALPHANUMERIC:
1124
+ return t.getBitsLength(B);
1125
+ case r.KANJI:
1126
1126
  return i.getBitsLength(B);
1127
- case t.BYTE:
1127
+ case r.BYTE:
1128
1128
  return o.getBitsLength(B);
1129
1129
  }
1130
1130
  }
@@ -1139,28 +1139,28 @@ var Oo = Bn.exports;
1139
1139
  for (let d = 0; d < B.length; d++) {
1140
1140
  const E = B[d];
1141
1141
  switch (E.mode) {
1142
- case t.NUMERIC:
1142
+ case r.NUMERIC:
1143
1143
  u.push([
1144
1144
  E,
1145
- { data: E.data, mode: t.ALPHANUMERIC, length: E.length },
1146
- { data: E.data, mode: t.BYTE, length: E.length }
1145
+ { data: E.data, mode: r.ALPHANUMERIC, length: E.length },
1146
+ { data: E.data, mode: r.BYTE, length: E.length }
1147
1147
  ]);
1148
1148
  break;
1149
- case t.ALPHANUMERIC:
1149
+ case r.ALPHANUMERIC:
1150
1150
  u.push([
1151
1151
  E,
1152
- { data: E.data, mode: t.BYTE, length: E.length }
1152
+ { data: E.data, mode: r.BYTE, length: E.length }
1153
1153
  ]);
1154
1154
  break;
1155
- case t.KANJI:
1155
+ case r.KANJI:
1156
1156
  u.push([
1157
1157
  E,
1158
- { data: E.data, mode: t.BYTE, length: c(E.data) }
1158
+ { data: E.data, mode: r.BYTE, length: c(E.data) }
1159
1159
  ]);
1160
1160
  break;
1161
- case t.BYTE:
1161
+ case r.BYTE:
1162
1162
  u.push([
1163
- { data: E.data, mode: t.BYTE, length: c(E.data) }
1163
+ { data: E.data, mode: r.BYTE, length: c(E.data) }
1164
1164
  ]);
1165
1165
  }
1166
1166
  }
@@ -1176,7 +1176,7 @@ var Oo = Bn.exports;
1176
1176
  w.push(F), d[F] = { node: b, lastCount: 0 }, E[F] = {};
1177
1177
  for (let S = 0; S < A.length; S++) {
1178
1178
  const R = A[S];
1179
- d[R] && d[R].node.mode === b.mode ? (E[R][F] = l(d[R].lastCount + b.length, b.mode) - l(d[R].lastCount, b.mode), d[R].lastCount += b.length) : (d[R] && (d[R].lastCount = b.length), E[R][F] = l(b.length, b.mode) + 4 + t.getCharCountIndicator(b.mode, u));
1179
+ d[R] && d[R].node.mode === b.mode ? (E[R][F] = l(d[R].lastCount + b.length, b.mode) - l(d[R].lastCount, b.mode), d[R].lastCount += b.length) : (d[R] && (d[R].lastCount = b.length), E[R][F] = l(b.length, b.mode) + 4 + r.getCharCountIndicator(b.mode, u));
1180
1180
  }
1181
1181
  }
1182
1182
  A = w;
@@ -1187,18 +1187,18 @@ var Oo = Bn.exports;
1187
1187
  }
1188
1188
  function h(B, u) {
1189
1189
  let d;
1190
- const E = t.getBestModeForData(B);
1191
- if (d = t.from(u, E), d !== t.BYTE && d.bit < E.bit)
1192
- throw new Error('"' + B + '" cannot be encoded with mode ' + t.toString(d) + `.
1193
- Suggested mode is: ` + t.toString(E));
1194
- switch (d === t.KANJI && !s.isKanjiModeEnabled() && (d = t.BYTE), d) {
1195
- case t.NUMERIC:
1190
+ const E = r.getBestModeForData(B);
1191
+ if (d = r.from(u, E), d !== r.BYTE && d.bit < E.bit)
1192
+ throw new Error('"' + B + '" cannot be encoded with mode ' + r.toString(d) + `.
1193
+ Suggested mode is: ` + r.toString(E));
1194
+ switch (d === r.KANJI && !s.isKanjiModeEnabled() && (d = r.BYTE), d) {
1195
+ case r.NUMERIC:
1196
1196
  return new n(B);
1197
- case t.ALPHANUMERIC:
1198
- return new r(B);
1199
- case t.KANJI:
1197
+ case r.ALPHANUMERIC:
1198
+ return new t(B);
1199
+ case r.KANJI:
1200
1200
  return new i(B);
1201
- case t.BYTE:
1201
+ case r.BYTE:
1202
1202
  return new o(B);
1203
1203
  }
1204
1204
  }
@@ -1218,10 +1218,10 @@ var Oo = Bn.exports;
1218
1218
  };
1219
1219
  })(En);
1220
1220
  const ge = o0, Re = he, Ho = Eo, zo = Bo, Uo = xn, Mo = fn, Bt = un, Ct = pe, qo = Ao, ue = hn, jo = vn, $o = A0, Se = En;
1221
- function Wo(e, t) {
1222
- const n = e.size, r = Mo.getPositions(t);
1223
- for (let o = 0; o < r.length; o++) {
1224
- const i = r[o][0], a = r[o][1];
1221
+ function Wo(e, r) {
1222
+ const n = e.size, t = Mo.getPositions(r);
1223
+ for (let o = 0; o < t.length; o++) {
1224
+ const i = t[o][0], a = t[o][1];
1225
1225
  for (let s = -1; s <= 7; s++)
1226
1226
  if (!(i + s <= -1 || n <= i + s))
1227
1227
  for (let x = -1; x <= 7; x++)
@@ -1229,65 +1229,65 @@ function Wo(e, t) {
1229
1229
  }
1230
1230
  }
1231
1231
  function Ko(e) {
1232
- const t = e.size;
1233
- for (let n = 8; n < t - 8; n++) {
1234
- const r = n % 2 === 0;
1235
- e.set(n, 6, r, !0), e.set(6, n, r, !0);
1232
+ const r = e.size;
1233
+ for (let n = 8; n < r - 8; n++) {
1234
+ const t = n % 2 === 0;
1235
+ e.set(n, 6, t, !0), e.set(6, n, t, !0);
1236
1236
  }
1237
1237
  }
1238
- function Vo(e, t) {
1239
- const n = Uo.getPositions(t);
1240
- for (let r = 0; r < n.length; r++) {
1241
- const o = n[r][0], i = n[r][1];
1238
+ function Vo(e, r) {
1239
+ const n = Uo.getPositions(r);
1240
+ for (let t = 0; t < n.length; t++) {
1241
+ const o = n[t][0], i = n[t][1];
1242
1242
  for (let a = -2; a <= 2; a++)
1243
1243
  for (let s = -2; s <= 2; s++)
1244
1244
  a === -2 || a === 2 || s === -2 || s === 2 || a === 0 && s === 0 ? e.set(o + a, i + s, !0, !0) : e.set(o + a, i + s, !1, !0);
1245
1245
  }
1246
1246
  }
1247
- function Go(e, t) {
1248
- const n = e.size, r = ue.getEncodedBits(t);
1247
+ function Go(e, r) {
1248
+ const n = e.size, t = ue.getEncodedBits(r);
1249
1249
  let o, i, a;
1250
1250
  for (let s = 0; s < 18; s++)
1251
- o = Math.floor(s / 3), i = s % 3 + n - 8 - 3, a = (r >> s & 1) === 1, e.set(o, i, a, !0), e.set(i, o, a, !0);
1251
+ o = Math.floor(s / 3), i = s % 3 + n - 8 - 3, a = (t >> s & 1) === 1, e.set(o, i, a, !0), e.set(i, o, a, !0);
1252
1252
  }
1253
- function ke(e, t, n) {
1254
- const r = e.size, o = jo.getEncodedBits(t, n);
1253
+ function ke(e, r, n) {
1254
+ const t = e.size, o = jo.getEncodedBits(r, n);
1255
1255
  let i, a;
1256
1256
  for (i = 0; i < 15; i++)
1257
- a = (o >> i & 1) === 1, i < 6 ? e.set(i, 8, a, !0) : i < 8 ? e.set(i + 1, 8, a, !0) : e.set(r - 15 + i, 8, a, !0), i < 8 ? e.set(8, r - i - 1, a, !0) : i < 9 ? e.set(8, 15 - i - 1 + 1, a, !0) : e.set(8, 15 - i - 1, a, !0);
1258
- e.set(r - 8, 8, 1, !0);
1257
+ a = (o >> i & 1) === 1, i < 6 ? e.set(i, 8, a, !0) : i < 8 ? e.set(i + 1, 8, a, !0) : e.set(t - 15 + i, 8, a, !0), i < 8 ? e.set(8, t - i - 1, a, !0) : i < 9 ? e.set(8, 15 - i - 1 + 1, a, !0) : e.set(8, 15 - i - 1, a, !0);
1258
+ e.set(t - 8, 8, 1, !0);
1259
1259
  }
1260
- function Xo(e, t) {
1260
+ function Xo(e, r) {
1261
1261
  const n = e.size;
1262
- let r = -1, o = n - 1, i = 7, a = 0;
1262
+ let t = -1, o = n - 1, i = 7, a = 0;
1263
1263
  for (let s = n - 1; s > 0; s -= 2)
1264
1264
  for (s === 6 && s--; ; ) {
1265
1265
  for (let x = 0; x < 2; x++)
1266
1266
  if (!e.isReserved(o, s - x)) {
1267
1267
  let c = !1;
1268
- a < t.length && (c = (t[a] >>> i & 1) === 1), e.set(o, s - x, c), i--, i === -1 && (a++, i = 7);
1268
+ a < r.length && (c = (r[a] >>> i & 1) === 1), e.set(o, s - x, c), i--, i === -1 && (a++, i = 7);
1269
1269
  }
1270
- if (o += r, o < 0 || n <= o) {
1271
- o -= r, r = -r;
1270
+ if (o += t, o < 0 || n <= o) {
1271
+ o -= t, t = -t;
1272
1272
  break;
1273
1273
  }
1274
1274
  }
1275
1275
  }
1276
- function Qo(e, t, n) {
1277
- const r = new Ho();
1276
+ function Qo(e, r, n) {
1277
+ const t = new Ho();
1278
1278
  n.forEach(function(x) {
1279
- r.put(x.mode.bit, 4), r.put(x.getLength(), $o.getCharCountIndicator(x.mode, e)), x.write(r);
1279
+ t.put(x.mode.bit, 4), t.put(x.getLength(), $o.getCharCountIndicator(x.mode, e)), x.write(t);
1280
1280
  });
1281
- const o = ge.getSymbolTotalCodewords(e), i = Ct.getTotalCodewordsCount(e, t), a = (o - i) * 8;
1282
- for (r.getLengthInBits() + 4 <= a && r.put(0, 4); r.getLengthInBits() % 8 !== 0; )
1283
- r.putBit(0);
1284
- const s = (a - r.getLengthInBits()) / 8;
1281
+ const o = ge.getSymbolTotalCodewords(e), i = Ct.getTotalCodewordsCount(e, r), a = (o - i) * 8;
1282
+ for (t.getLengthInBits() + 4 <= a && t.put(0, 4); t.getLengthInBits() % 8 !== 0; )
1283
+ t.putBit(0);
1284
+ const s = (a - t.getLengthInBits()) / 8;
1285
1285
  for (let x = 0; x < s; x++)
1286
- r.put(x % 2 ? 17 : 236, 8);
1287
- return Zo(r, e, t);
1286
+ t.put(x % 2 ? 17 : 236, 8);
1287
+ return Zo(t, e, r);
1288
1288
  }
1289
- function Zo(e, t, n) {
1290
- const r = ge.getSymbolTotalCodewords(t), o = Ct.getTotalCodewordsCount(t, n), i = r - o, a = Ct.getBlocksCount(t, n), s = r % a, x = a - s, c = Math.floor(r / a), f = Math.floor(i / a), C = f + 1, l = c - f, p = new qo(l);
1289
+ function Zo(e, r, n) {
1290
+ const t = ge.getSymbolTotalCodewords(r), o = Ct.getTotalCodewordsCount(r, n), i = t - o, a = Ct.getBlocksCount(r, n), s = t % a, x = a - s, c = Math.floor(t / a), f = Math.floor(i / a), C = f + 1, l = c - f, p = new qo(l);
1291
1291
  let g = 0;
1292
1292
  const v = new Array(a), h = new Array(a);
1293
1293
  let B = 0;
@@ -1296,7 +1296,7 @@ function Zo(e, t, n) {
1296
1296
  const w = m < x ? f : C;
1297
1297
  v[m] = u.slice(g, g + w), h[m] = p.encode(v[m]), g += w, B = Math.max(B, w);
1298
1298
  }
1299
- const d = new Uint8Array(r);
1299
+ const d = new Uint8Array(t);
1300
1300
  let E = 0, A, y;
1301
1301
  for (A = 0; A < B; A++)
1302
1302
  for (y = 0; y < a; y++)
@@ -1306,12 +1306,12 @@ function Zo(e, t, n) {
1306
1306
  d[E++] = h[y][A];
1307
1307
  return d;
1308
1308
  }
1309
- function Yo(e, t, n, r) {
1309
+ function Yo(e, r, n, t) {
1310
1310
  let o;
1311
1311
  if (Array.isArray(e))
1312
1312
  o = Se.fromArray(e);
1313
1313
  else if (typeof e == "string") {
1314
- let c = t;
1314
+ let c = r;
1315
1315
  if (!c) {
1316
1316
  const f = Se.rawSplit(e);
1317
1317
  c = ue.getBestVersionForData(f, n);
@@ -1322,73 +1322,73 @@ function Yo(e, t, n, r) {
1322
1322
  const i = ue.getBestVersionForData(o, n);
1323
1323
  if (!i)
1324
1324
  throw new Error("The amount of data is too big to be stored in a QR Code");
1325
- if (!t)
1326
- t = i;
1327
- else if (t < i)
1325
+ if (!r)
1326
+ r = i;
1327
+ else if (r < i)
1328
1328
  throw new Error(
1329
1329
  `
1330
1330
  The chosen QR Code version cannot contain this amount of data.
1331
1331
  Minimum version required to store current data is: ` + i + `.
1332
1332
  `
1333
1333
  );
1334
- const a = Qo(t, n, o), s = ge.getSymbolSize(t), x = new zo(s);
1335
- return Wo(x, t), Ko(x), Vo(x, t), ke(x, n, 0), t >= 7 && Go(x, t), Xo(x, a), isNaN(r) && (r = Bt.getBestMask(
1334
+ const a = Qo(r, n, o), s = ge.getSymbolSize(r), x = new zo(s);
1335
+ return Wo(x, r), Ko(x), Vo(x, r), ke(x, n, 0), r >= 7 && Go(x, r), Xo(x, a), isNaN(t) && (t = Bt.getBestMask(
1336
1336
  x,
1337
1337
  ke.bind(null, x, n)
1338
- )), Bt.applyMask(r, x), ke(x, n, r), {
1338
+ )), Bt.applyMask(t, x), ke(x, n, t), {
1339
1339
  modules: x,
1340
- version: t,
1340
+ version: r,
1341
1341
  errorCorrectionLevel: n,
1342
- maskPattern: r,
1342
+ maskPattern: t,
1343
1343
  segments: o
1344
1344
  };
1345
1345
  }
1346
- an.create = function(t, n) {
1347
- if (typeof t > "u" || t === "")
1346
+ an.create = function(r, n) {
1347
+ if (typeof r > "u" || r === "")
1348
1348
  throw new Error("No input text");
1349
- let r = Re.M, o, i;
1350
- return typeof n < "u" && (r = Re.from(n.errorCorrectionLevel, Re.M), o = ue.from(n.version), i = Bt.from(n.maskPattern), n.toSJISFunc && ge.setToSJISFunction(n.toSJISFunc)), Yo(t, o, r, i);
1349
+ let t = Re.M, o, i;
1350
+ return typeof n < "u" && (t = Re.from(n.errorCorrectionLevel, Re.M), o = ue.from(n.version), i = Bt.from(n.maskPattern), n.toSJISFunc && ge.setToSJISFunction(n.toSJISFunc)), Yo(r, o, t, i);
1351
1351
  };
1352
1352
  var Cn = {}, kt = {};
1353
1353
  (function(e) {
1354
- function t(n) {
1354
+ function r(n) {
1355
1355
  if (typeof n == "number" && (n = n.toString()), typeof n != "string")
1356
1356
  throw new Error("Color should be defined as hex string");
1357
- let r = n.slice().replace("#", "").split("");
1358
- if (r.length < 3 || r.length === 5 || r.length > 8)
1357
+ let t = n.slice().replace("#", "").split("");
1358
+ if (t.length < 3 || t.length === 5 || t.length > 8)
1359
1359
  throw new Error("Invalid hex color: " + n);
1360
- (r.length === 3 || r.length === 4) && (r = Array.prototype.concat.apply([], r.map(function(i) {
1360
+ (t.length === 3 || t.length === 4) && (t = Array.prototype.concat.apply([], t.map(function(i) {
1361
1361
  return [i, i];
1362
- }))), r.length === 6 && r.push("F", "F");
1363
- const o = parseInt(r.join(""), 16);
1362
+ }))), t.length === 6 && t.push("F", "F");
1363
+ const o = parseInt(t.join(""), 16);
1364
1364
  return {
1365
1365
  r: o >> 24 & 255,
1366
1366
  g: o >> 16 & 255,
1367
1367
  b: o >> 8 & 255,
1368
1368
  a: o & 255,
1369
- hex: "#" + r.slice(0, 6).join("")
1369
+ hex: "#" + t.slice(0, 6).join("")
1370
1370
  };
1371
1371
  }
1372
- e.getOptions = function(r) {
1373
- r || (r = {}), r.color || (r.color = {});
1374
- const o = typeof r.margin > "u" || r.margin === null || r.margin < 0 ? 4 : r.margin, i = r.width && r.width >= 21 ? r.width : void 0, a = r.scale || 4;
1372
+ e.getOptions = function(t) {
1373
+ t || (t = {}), t.color || (t.color = {});
1374
+ const o = typeof t.margin > "u" || t.margin === null || t.margin < 0 ? 4 : t.margin, i = t.width && t.width >= 21 ? t.width : void 0, a = t.scale || 4;
1375
1375
  return {
1376
1376
  width: i,
1377
1377
  scale: i ? 4 : a,
1378
1378
  margin: o,
1379
1379
  color: {
1380
- dark: t(r.color.dark || "#000000ff"),
1381
- light: t(r.color.light || "#ffffffff")
1380
+ dark: r(t.color.dark || "#000000ff"),
1381
+ light: r(t.color.light || "#ffffffff")
1382
1382
  },
1383
- type: r.type,
1384
- rendererOpts: r.rendererOpts || {}
1383
+ type: t.type,
1384
+ rendererOpts: t.rendererOpts || {}
1385
1385
  };
1386
- }, e.getScale = function(r, o) {
1387
- return o.width && o.width >= r + o.margin * 2 ? o.width / (r + o.margin * 2) : o.scale;
1388
- }, e.getImageWidth = function(r, o) {
1389
- const i = e.getScale(r, o);
1390
- return Math.floor((r + o.margin * 2) * i);
1391
- }, e.qrToImageData = function(r, o, i) {
1386
+ }, e.getScale = function(t, o) {
1387
+ return o.width && o.width >= t + o.margin * 2 ? o.width / (t + o.margin * 2) : o.scale;
1388
+ }, e.getImageWidth = function(t, o) {
1389
+ const i = e.getScale(t, o);
1390
+ return Math.floor((t + o.margin * 2) * i);
1391
+ }, e.qrToImageData = function(t, o, i) {
1392
1392
  const a = o.modules.size, s = o.modules.data, x = e.getScale(a, i), c = Math.floor((a + i.margin * 2) * x), f = i.margin * x, C = [i.color.light, i.color.dark];
1393
1393
  for (let l = 0; l < c; l++)
1394
1394
  for (let p = 0; p < c; p++) {
@@ -1397,16 +1397,16 @@ var Cn = {}, kt = {};
1397
1397
  const h = Math.floor((l - f) / x), B = Math.floor((p - f) / x);
1398
1398
  v = C[s[h * a + B] ? 1 : 0];
1399
1399
  }
1400
- r[g++] = v.r, r[g++] = v.g, r[g++] = v.b, r[g] = v.a;
1400
+ t[g++] = v.r, t[g++] = v.g, t[g++] = v.b, t[g] = v.a;
1401
1401
  }
1402
1402
  };
1403
1403
  })(kt);
1404
1404
  (function(e) {
1405
- const t = kt;
1405
+ const r = kt;
1406
1406
  function n(o, i, a) {
1407
1407
  o.clearRect(0, 0, i.width, i.height), i.style || (i.style = {}), i.height = a, i.width = a, i.style.height = a + "px", i.style.width = a + "px";
1408
1408
  }
1409
- function r() {
1409
+ function t() {
1410
1410
  try {
1411
1411
  return document.createElement("canvas");
1412
1412
  } catch {
@@ -1415,9 +1415,9 @@ var Cn = {}, kt = {};
1415
1415
  }
1416
1416
  e.render = function(i, a, s) {
1417
1417
  let x = s, c = a;
1418
- typeof x > "u" && (!a || !a.getContext) && (x = a, a = void 0), a || (c = r()), x = t.getOptions(x);
1419
- const f = t.getImageWidth(i.modules.size, x), C = c.getContext("2d"), l = C.createImageData(f, f);
1420
- return t.qrToImageData(l.data, i, x), n(C, c, f), C.putImageData(l, 0, 0), c;
1418
+ typeof x > "u" && (!a || !a.getContext) && (x = a, a = void 0), a || (c = t()), x = r.getOptions(x);
1419
+ const f = r.getImageWidth(i.modules.size, x), C = c.getContext("2d"), l = C.createImageData(f, f);
1420
+ return r.qrToImageData(l.data, i, x), n(C, c, f), C.putImageData(l, 0, 0), c;
1421
1421
  }, e.renderToDataURL = function(i, a, s) {
1422
1422
  let x = s;
1423
1423
  typeof x > "u" && (!a || !a.getContext) && (x = a, a = void 0), x || (x = {});
@@ -1427,74 +1427,76 @@ var Cn = {}, kt = {};
1427
1427
  })(Cn);
1428
1428
  var An = {};
1429
1429
  const Jo = kt;
1430
- function xr(e, t) {
1431
- const n = e.a / 255, r = t + '="' + e.hex + '"';
1432
- return n < 1 ? r + " " + t + '-opacity="' + n.toFixed(2).slice(1) + '"' : r;
1430
+ function xr(e, r) {
1431
+ const n = e.a / 255, t = r + '="' + e.hex + '"';
1432
+ return n < 1 ? t + " " + r + '-opacity="' + n.toFixed(2).slice(1) + '"' : t;
1433
1433
  }
1434
- function Pe(e, t, n) {
1435
- let r = e + t;
1436
- return typeof n < "u" && (r += " " + n), r;
1434
+ function Pe(e, r, n) {
1435
+ let t = e + r;
1436
+ return typeof n < "u" && (t += " " + n), t;
1437
1437
  }
1438
- function ei(e, t, n) {
1439
- let r = "", o = 0, i = !1, a = 0;
1438
+ function ei(e, r, n) {
1439
+ let t = "", o = 0, i = !1, a = 0;
1440
1440
  for (let s = 0; s < e.length; s++) {
1441
- const x = Math.floor(s % t), c = Math.floor(s / t);
1442
- !x && !i && (i = !0), e[s] ? (a++, s > 0 && x > 0 && e[s - 1] || (r += i ? Pe("M", x + n, 0.5 + c + n) : Pe("m", o, 0), o = 0, i = !1), x + 1 < t && e[s + 1] || (r += Pe("h", a), a = 0)) : o++;
1441
+ const x = Math.floor(s % r), c = Math.floor(s / r);
1442
+ !x && !i && (i = !0), e[s] ? (a++, s > 0 && x > 0 && e[s - 1] || (t += i ? Pe("M", x + n, 0.5 + c + n) : Pe("m", o, 0), o = 0, i = !1), x + 1 < r && e[s + 1] || (t += Pe("h", a), a = 0)) : o++;
1443
1443
  }
1444
- return r;
1444
+ return t;
1445
1445
  }
1446
- An.render = function(t, n, r) {
1447
- const o = Jo.getOptions(n), i = t.modules.size, a = t.modules.data, s = i + o.margin * 2, x = o.color.light.a ? "<path " + xr(o.color.light, "fill") + ' d="M0 0h' + s + "v" + s + 'H0z"/>' : "", c = "<path " + xr(o.color.dark, "stroke") + ' d="' + ei(a, i, o.margin) + '"/>', f = 'viewBox="0 0 ' + s + " " + s + '"', l = '<svg xmlns="http://www.w3.org/2000/svg" ' + (o.width ? 'width="' + o.width + '" height="' + o.width + '" ' : "") + f + ' shape-rendering="crispEdges">' + x + c + `</svg>
1446
+ An.render = function(r, n, t) {
1447
+ const o = Jo.getOptions(n), i = r.modules.size, a = r.modules.data, s = i + o.margin * 2, x = o.color.light.a ? "<path " + xr(o.color.light, "fill") + ' d="M0 0h' + s + "v" + s + 'H0z"/>' : "", c = "<path " + xr(o.color.dark, "stroke") + ' d="' + ei(a, i, o.margin) + '"/>', f = 'viewBox="0 0 ' + s + " " + s + '"', l = '<svg xmlns="http://www.w3.org/2000/svg" ' + (o.width ? 'width="' + o.width + '" height="' + o.width + '" ' : "") + f + ' shape-rendering="crispEdges">' + x + c + `</svg>
1448
1448
  `;
1449
- return typeof r == "function" && r(null, l), l;
1449
+ return typeof t == "function" && t(null, l), l;
1450
1450
  };
1451
1451
  const ti = vo, At = an, bn = Cn, ri = An;
1452
- function Pt(e, t, n, r, o) {
1452
+ function Pt(e, r, n, t, o) {
1453
1453
  const i = [].slice.call(arguments, 1), a = i.length, s = typeof i[a - 1] == "function";
1454
1454
  if (!s && !ti())
1455
1455
  throw new Error("Callback required as last argument");
1456
1456
  if (s) {
1457
1457
  if (a < 2)
1458
1458
  throw new Error("Too few arguments provided");
1459
- a === 2 ? (o = n, n = t, t = r = void 0) : a === 3 && (t.getContext && typeof o > "u" ? (o = r, r = void 0) : (o = r, r = n, n = t, t = void 0));
1459
+ a === 2 ? (o = n, n = r, r = t = void 0) : a === 3 && (r.getContext && typeof o > "u" ? (o = t, t = void 0) : (o = t, t = n, n = r, r = void 0));
1460
1460
  } else {
1461
1461
  if (a < 1)
1462
1462
  throw new Error("Too few arguments provided");
1463
- return a === 1 ? (n = t, t = r = void 0) : a === 2 && !t.getContext && (r = n, n = t, t = void 0), new Promise(function(x, c) {
1463
+ return a === 1 ? (n = r, r = t = void 0) : a === 2 && !r.getContext && (t = n, n = r, r = void 0), new Promise(function(x, c) {
1464
1464
  try {
1465
- const f = At.create(n, r);
1466
- x(e(f, t, r));
1465
+ const f = At.create(n, t);
1466
+ x(e(f, r, t));
1467
1467
  } catch (f) {
1468
1468
  c(f);
1469
1469
  }
1470
1470
  });
1471
1471
  }
1472
1472
  try {
1473
- const x = At.create(n, r);
1474
- o(null, e(x, t, r));
1473
+ const x = At.create(n, t);
1474
+ o(null, e(x, r, t));
1475
1475
  } catch (x) {
1476
1476
  o(x);
1477
1477
  }
1478
1478
  }
1479
- V0.create = At.create;
1480
- V0.toCanvas = Pt.bind(null, bn.render);
1481
- V0.toDataURL = Pt.bind(null, bn.renderToDataURL);
1482
- V0.toString = Pt.bind(null, function(e, t, n) {
1479
+ G0.create = At.create;
1480
+ G0.toCanvas = Pt.bind(null, bn.render);
1481
+ G0.toDataURL = Pt.bind(null, bn.renderToDataURL);
1482
+ G0.toString = Pt.bind(null, function(e, r, n) {
1483
1483
  return ri.render(e, n);
1484
1484
  });
1485
- const W0 = {
1485
+ const k0 = {
1486
1486
  apiBase: "https://server.wsrh8888.com",
1487
- oauthBase: "https://oauth.wsrh8888.com"
1487
+ oauthBase: "https://oauth.wsrh8888.com",
1488
+ localClientBase: "http://127.0.0.1:38794"
1488
1489
  };
1489
1490
  class ni {
1490
1491
  constructor() {
1491
- nr(this, "data", { ...W0 });
1492
+ nr(this, "data", { ...k0 });
1492
1493
  }
1493
- init(t) {
1494
- var n, r;
1495
- console.log("partial", t), this.data = {
1496
- apiBase: ((n = t == null ? void 0 : t.apiBase) == null ? void 0 : n.trim()) || W0.apiBase,
1497
- oauthBase: ((r = t == null ? void 0 : t.oauthBase) == null ? void 0 : r.trim()) || W0.oauthBase
1494
+ init(r) {
1495
+ var n, t;
1496
+ this.data = {
1497
+ apiBase: ((n = r == null ? void 0 : r.apiBase) == null ? void 0 : n.trim()) || k0.apiBase,
1498
+ oauthBase: ((t = r == null ? void 0 : r.oauthBase) == null ? void 0 : t.trim()) || k0.oauthBase,
1499
+ localClientBase: k0.localClientBase
1498
1500
  };
1499
1501
  }
1500
1502
  get apiBase() {
@@ -1503,30 +1505,33 @@ class ni {
1503
1505
  get oauthBase() {
1504
1506
  return this.data.oauthBase;
1505
1507
  }
1508
+ get localClientBase() {
1509
+ return this.data.localClientBase;
1510
+ }
1506
1511
  }
1507
- const X0 = new ni();
1508
- function yn(e, t) {
1512
+ const H0 = new ni();
1513
+ function yn(e, r) {
1509
1514
  return function() {
1510
- return e.apply(t, arguments);
1515
+ return e.apply(r, arguments);
1511
1516
  };
1512
1517
  }
1513
- const { toString: oi } = Object.prototype, { getPrototypeOf: Ee } = Object, { iterator: Be, toStringTag: mn } = Symbol, Ce = ((e) => (t) => {
1514
- const n = oi.call(t);
1518
+ const { toString: oi } = Object.prototype, { getPrototypeOf: Ee } = Object, { iterator: Be, toStringTag: mn } = Symbol, Ce = ((e) => (r) => {
1519
+ const n = oi.call(r);
1515
1520
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
1516
- })(/* @__PURE__ */ Object.create(null)), d0 = (e) => (e = e.toLowerCase(), (t) => Ce(t) === e), Ae = (e) => (t) => typeof t === e, { isArray: O0 } = Array, N0 = Ae("undefined");
1521
+ })(/* @__PURE__ */ Object.create(null)), d0 = (e) => (e = e.toLowerCase(), (r) => Ce(r) === e), Ae = (e) => (r) => typeof r === e, { isArray: z0 } = Array, O0 = Ae("undefined");
1517
1522
  function Q0(e) {
1518
- return e !== null && !N0(e) && e.constructor !== null && !N0(e.constructor) && t0(e.constructor.isBuffer) && e.constructor.isBuffer(e);
1523
+ return e !== null && !O0(e) && e.constructor !== null && !O0(e.constructor) && t0(e.constructor.isBuffer) && e.constructor.isBuffer(e);
1519
1524
  }
1520
1525
  const Dn = d0("ArrayBuffer");
1521
1526
  function ii(e) {
1522
- let t;
1523
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Dn(e.buffer), t;
1527
+ let r;
1528
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? r = ArrayBuffer.isView(e) : r = e && e.buffer && Dn(e.buffer), r;
1524
1529
  }
1525
1530
  const si = Ae("string"), t0 = Ae("function"), Fn = Ae("number"), Z0 = (e) => e !== null && typeof e == "object", ai = (e) => e === !0 || e === !1, se = (e) => {
1526
1531
  if (Ce(e) !== "object")
1527
1532
  return !1;
1528
- const t = Ee(e);
1529
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(mn in e) && !(Be in e);
1533
+ const r = Ee(e);
1534
+ return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(mn in e) && !(Be in e);
1530
1535
  }, ci = (e) => {
1531
1536
  if (!Z0(e) || Q0(e))
1532
1537
  return !1;
@@ -1544,8 +1549,8 @@ const fr = vi(), ur = typeof fr.FormData < "u" ? fr.FormData : void 0, gi = (e)
1544
1549
  return !1;
1545
1550
  if (ur && e instanceof ur)
1546
1551
  return !0;
1547
- const t = Ee(e);
1548
- if (!t || t === Object.prototype || !t0(e.append))
1552
+ const r = Ee(e);
1553
+ if (!r || r === Object.prototype || !t0(e.append))
1549
1554
  return !1;
1550
1555
  const n = Ce(e);
1551
1556
  return n === "formdata" || // detect form-data instance
@@ -1556,47 +1561,47 @@ const fr = vi(), ur = typeof fr.FormData < "u" ? fr.FormData : void 0, gi = (e)
1556
1561
  "Response",
1557
1562
  "Headers"
1558
1563
  ].map(d0), yi = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
1559
- function Y0(e, t, { allOwnKeys: n = !1 } = {}) {
1564
+ function Y0(e, r, { allOwnKeys: n = !1 } = {}) {
1560
1565
  if (e === null || typeof e > "u")
1561
1566
  return;
1562
- let r, o;
1563
- if (typeof e != "object" && (e = [e]), O0(e))
1564
- for (r = 0, o = e.length; r < o; r++)
1565
- t.call(null, e[r], r, e);
1567
+ let t, o;
1568
+ if (typeof e != "object" && (e = [e]), z0(e))
1569
+ for (t = 0, o = e.length; t < o; t++)
1570
+ r.call(null, e[t], t, e);
1566
1571
  else {
1567
1572
  if (Q0(e))
1568
1573
  return;
1569
1574
  const i = n ? Object.getOwnPropertyNames(e) : Object.keys(e), a = i.length;
1570
1575
  let s;
1571
- for (r = 0; r < a; r++)
1572
- s = i[r], t.call(null, e[s], s, e);
1576
+ for (t = 0; t < a; t++)
1577
+ s = i[t], r.call(null, e[s], s, e);
1573
1578
  }
1574
1579
  }
1575
- function wn(e, t) {
1580
+ function wn(e, r) {
1576
1581
  if (Q0(e))
1577
1582
  return null;
1578
- t = t.toLowerCase();
1583
+ r = r.toLowerCase();
1579
1584
  const n = Object.keys(e);
1580
- let r = n.length, o;
1581
- for (; r-- > 0; )
1582
- if (o = n[r], t === o.toLowerCase())
1585
+ let t = n.length, o;
1586
+ for (; t-- > 0; )
1587
+ if (o = n[t], r === o.toLowerCase())
1583
1588
  return o;
1584
1589
  return null;
1585
1590
  }
1586
- const y0 = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), _n = (e) => !N0(e) && e !== y0;
1591
+ const y0 = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), _n = (e) => !O0(e) && e !== y0;
1587
1592
  function bt(...e) {
1588
- const { caseless: t, skipUndefined: n } = _n(this) && this || {}, r = {}, o = (i, a) => {
1593
+ const { caseless: r, skipUndefined: n } = _n(this) && this || {}, t = {}, o = (i, a) => {
1589
1594
  if (a === "__proto__" || a === "constructor" || a === "prototype")
1590
1595
  return;
1591
- const s = t && wn(r, a) || a, x = yt(r, s) ? r[s] : void 0;
1592
- se(x) && se(i) ? r[s] = bt(x, i) : se(i) ? r[s] = bt({}, i) : O0(i) ? r[s] = i.slice() : (!n || !N0(i)) && (r[s] = i);
1596
+ const s = r && wn(t, a) || a, x = yt(t, s) ? t[s] : void 0;
1597
+ se(x) && se(i) ? t[s] = bt(x, i) : se(i) ? t[s] = bt({}, i) : z0(i) ? t[s] = i.slice() : (!n || !O0(i)) && (t[s] = i);
1593
1598
  };
1594
1599
  for (let i = 0, a = e.length; i < a; i++)
1595
1600
  e[i] && Y0(e[i], o);
1596
- return r;
1601
+ return t;
1597
1602
  }
1598
- const mi = (e, t, n, { allOwnKeys: r } = {}) => (Y0(
1599
- t,
1603
+ const mi = (e, r, n, { allOwnKeys: t } = {}) => (Y0(
1604
+ r,
1600
1605
  (o, i) => {
1601
1606
  n && t0(o) ? Object.defineProperty(e, i, {
1602
1607
  // Null-proto descriptor so a polluted Object.prototype.get cannot
@@ -1614,9 +1619,9 @@ const mi = (e, t, n, { allOwnKeys: r } = {}) => (Y0(
1614
1619
  configurable: !0
1615
1620
  });
1616
1621
  },
1617
- { allOwnKeys: r }
1618
- ), e), Di = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Fi = (e, t, n, r) => {
1619
- e.prototype = Object.create(t.prototype, r), Object.defineProperty(e.prototype, "constructor", {
1622
+ { allOwnKeys: t }
1623
+ ), e), Di = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Fi = (e, r, n, t) => {
1624
+ e.prototype = Object.create(r.prototype, t), Object.defineProperty(e.prototype, "constructor", {
1620
1625
  __proto__: null,
1621
1626
  value: e,
1622
1627
  writable: !0,
@@ -1624,112 +1629,112 @@ const mi = (e, t, n, { allOwnKeys: r } = {}) => (Y0(
1624
1629
  configurable: !0
1625
1630
  }), Object.defineProperty(e, "super", {
1626
1631
  __proto__: null,
1627
- value: t.prototype
1632
+ value: r.prototype
1628
1633
  }), n && Object.assign(e.prototype, n);
1629
- }, wi = (e, t, n, r) => {
1634
+ }, wi = (e, r, n, t) => {
1630
1635
  let o, i, a;
1631
1636
  const s = {};
1632
- if (t = t || {}, e == null)
1633
- return t;
1637
+ if (r = r || {}, e == null)
1638
+ return r;
1634
1639
  do {
1635
1640
  for (o = Object.getOwnPropertyNames(e), i = o.length; i-- > 0; )
1636
- a = o[i], (!r || r(a, e, t)) && !s[a] && (t[a] = e[a], s[a] = !0);
1641
+ a = o[i], (!t || t(a, e, r)) && !s[a] && (r[a] = e[a], s[a] = !0);
1637
1642
  e = n !== !1 && Ee(e);
1638
- } while (e && (!n || n(e, t)) && e !== Object.prototype);
1639
- return t;
1640
- }, _i = (e, t, n) => {
1641
- e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
1642
- const r = e.indexOf(t, n);
1643
- return r !== -1 && r === n;
1643
+ } while (e && (!n || n(e, r)) && e !== Object.prototype);
1644
+ return r;
1645
+ }, _i = (e, r, n) => {
1646
+ e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= r.length;
1647
+ const t = e.indexOf(r, n);
1648
+ return t !== -1 && t === n;
1644
1649
  }, Ri = (e) => {
1645
1650
  if (!e)
1646
1651
  return null;
1647
- if (O0(e))
1652
+ if (z0(e))
1648
1653
  return e;
1649
- let t = e.length;
1650
- if (!Fn(t))
1654
+ let r = e.length;
1655
+ if (!Fn(r))
1651
1656
  return null;
1652
- const n = new Array(t);
1653
- for (; t-- > 0; )
1654
- n[t] = e[t];
1657
+ const n = new Array(r);
1658
+ for (; r-- > 0; )
1659
+ n[r] = e[r];
1655
1660
  return n;
1656
- }, Si = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Ee(Uint8Array)), ki = (e, t) => {
1657
- const r = (e && e[Be]).call(e);
1661
+ }, Si = ((e) => (r) => e && r instanceof e)(typeof Uint8Array < "u" && Ee(Uint8Array)), ki = (e, r) => {
1662
+ const t = (e && e[Be]).call(e);
1658
1663
  let o;
1659
- for (; (o = r.next()) && !o.done; ) {
1664
+ for (; (o = t.next()) && !o.done; ) {
1660
1665
  const i = o.value;
1661
- t.call(e, i[0], i[1]);
1666
+ r.call(e, i[0], i[1]);
1662
1667
  }
1663
- }, Pi = (e, t) => {
1668
+ }, Pi = (e, r) => {
1664
1669
  let n;
1665
- const r = [];
1666
- for (; (n = e.exec(t)) !== null; )
1667
- r.push(n);
1668
- return r;
1669
- }, Ti = d0("HTMLFormElement"), Ii = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, r, o) {
1670
- return r.toUpperCase() + o;
1671
- }), yt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Li = d0("RegExp"), Rn = (e, t) => {
1672
- const n = Object.getOwnPropertyDescriptors(e), r = {};
1670
+ const t = [];
1671
+ for (; (n = e.exec(r)) !== null; )
1672
+ t.push(n);
1673
+ return t;
1674
+ }, Ti = d0("HTMLFormElement"), Ii = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, t, o) {
1675
+ return t.toUpperCase() + o;
1676
+ }), yt = (({ hasOwnProperty: e }) => (r, n) => e.call(r, n))(Object.prototype), Li = d0("RegExp"), Rn = (e, r) => {
1677
+ const n = Object.getOwnPropertyDescriptors(e), t = {};
1673
1678
  Y0(n, (o, i) => {
1674
1679
  let a;
1675
- (a = t(o, i, e)) !== !1 && (r[i] = a || o);
1676
- }), Object.defineProperties(e, r);
1680
+ (a = r(o, i, e)) !== !1 && (t[i] = a || o);
1681
+ }), Object.defineProperties(e, t);
1677
1682
  }, Ni = (e) => {
1678
- Rn(e, (t, n) => {
1683
+ Rn(e, (r, n) => {
1679
1684
  if (t0(e) && ["arguments", "caller", "callee"].includes(n))
1680
1685
  return !1;
1681
- const r = e[n];
1682
- if (t0(r)) {
1683
- if (t.enumerable = !1, "writable" in t) {
1684
- t.writable = !1;
1686
+ const t = e[n];
1687
+ if (t0(t)) {
1688
+ if (r.enumerable = !1, "writable" in r) {
1689
+ r.writable = !1;
1685
1690
  return;
1686
1691
  }
1687
- t.set || (t.set = () => {
1692
+ r.set || (r.set = () => {
1688
1693
  throw Error("Can not rewrite read-only method '" + n + "'");
1689
1694
  });
1690
1695
  }
1691
1696
  });
1692
- }, Oi = (e, t) => {
1693
- const n = {}, r = (o) => {
1697
+ }, Oi = (e, r) => {
1698
+ const n = {}, t = (o) => {
1694
1699
  o.forEach((i) => {
1695
1700
  n[i] = !0;
1696
1701
  });
1697
1702
  };
1698
- return O0(e) ? r(e) : r(String(e).split(t)), n;
1703
+ return z0(e) ? t(e) : t(String(e).split(r)), n;
1699
1704
  }, Hi = () => {
1700
- }, zi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
1705
+ }, zi = (e, r) => e != null && Number.isFinite(e = +e) ? e : r;
1701
1706
  function Ui(e) {
1702
1707
  return !!(e && t0(e.append) && e[mn] === "FormData" && e[Be]);
1703
1708
  }
1704
1709
  const Mi = (e) => {
1705
- const t = new Array(10), n = (r, o) => {
1706
- if (Z0(r)) {
1707
- if (t.indexOf(r) >= 0)
1710
+ const r = new Array(10), n = (t, o) => {
1711
+ if (Z0(t)) {
1712
+ if (r.indexOf(t) >= 0)
1708
1713
  return;
1709
- if (Q0(r))
1710
- return r;
1711
- if (!("toJSON" in r)) {
1712
- t[o] = r;
1713
- const i = O0(r) ? [] : {};
1714
- return Y0(r, (a, s) => {
1714
+ if (Q0(t))
1715
+ return t;
1716
+ if (!("toJSON" in t)) {
1717
+ r[o] = t;
1718
+ const i = z0(t) ? [] : {};
1719
+ return Y0(t, (a, s) => {
1715
1720
  const x = n(a, o + 1);
1716
- !N0(x) && (i[s] = x);
1717
- }), t[o] = void 0, i;
1721
+ !O0(x) && (i[s] = x);
1722
+ }), r[o] = void 0, i;
1718
1723
  }
1719
1724
  }
1720
- return r;
1725
+ return t;
1721
1726
  };
1722
1727
  return n(e, 0);
1723
- }, qi = d0("AsyncFunction"), ji = (e) => e && (Z0(e) || t0(e)) && t0(e.then) && t0(e.catch), Sn = ((e, t) => e ? setImmediate : t ? ((n, r) => (y0.addEventListener(
1728
+ }, qi = d0("AsyncFunction"), ji = (e) => e && (Z0(e) || t0(e)) && t0(e.then) && t0(e.catch), Sn = ((e, r) => e ? setImmediate : r ? ((n, t) => (y0.addEventListener(
1724
1729
  "message",
1725
1730
  ({ source: o, data: i }) => {
1726
- o === y0 && i === n && r.length && r.shift()();
1731
+ o === y0 && i === n && t.length && t.shift()();
1727
1732
  },
1728
1733
  !1
1729
1734
  ), (o) => {
1730
- r.push(o), y0.postMessage(n, "*");
1735
+ t.push(o), y0.postMessage(n, "*");
1731
1736
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", t0(y0.postMessage)), $i = typeof queueMicrotask < "u" ? queueMicrotask.bind(y0) : typeof process < "u" && process.nextTick || Sn, Wi = (e) => e != null && t0(e[Be]), D = {
1732
- isArray: O0,
1737
+ isArray: z0,
1733
1738
  isArrayBuffer: Dn,
1734
1739
  isBuffer: Q0,
1735
1740
  isFormData: gi,
@@ -1744,7 +1749,7 @@ const Mi = (e) => {
1744
1749
  isRequest: Ci,
1745
1750
  isResponse: Ai,
1746
1751
  isHeaders: bi,
1747
- isUndefined: N0,
1752
+ isUndefined: O0,
1748
1753
  isDate: xi,
1749
1754
  isFile: fi,
1750
1755
  isReactNativeBlob: ui,
@@ -1808,30 +1813,30 @@ const Mi = (e) => {
1808
1813
  "retry-after",
1809
1814
  "user-agent"
1810
1815
  ]), Vi = (e) => {
1811
- const t = {};
1812
- let n, r, o;
1816
+ const r = {};
1817
+ let n, t, o;
1813
1818
  return e && e.split(`
1814
1819
  `).forEach(function(a) {
1815
- o = a.indexOf(":"), n = a.substring(0, o).trim().toLowerCase(), r = a.substring(o + 1).trim(), !(!n || t[n] && Ki[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
1816
- }), t;
1820
+ o = a.indexOf(":"), n = a.substring(0, o).trim().toLowerCase(), t = a.substring(o + 1).trim(), !(!n || r[n] && Ki[n]) && (n === "set-cookie" ? r[n] ? r[n].push(t) : r[n] = [t] : r[n] = r[n] ? r[n] + ", " + t : t);
1821
+ }), r;
1817
1822
  }, lr = Symbol("internals"), Gi = /[^\x09\x20-\x7E\x80-\xFF]/g;
1818
1823
  function Xi(e) {
1819
- let t = 0, n = e.length;
1820
- for (; t < n; ) {
1821
- const r = e.charCodeAt(t);
1822
- if (r !== 9 && r !== 32)
1824
+ let r = 0, n = e.length;
1825
+ for (; r < n; ) {
1826
+ const t = e.charCodeAt(r);
1827
+ if (t !== 9 && t !== 32)
1823
1828
  break;
1824
- t += 1;
1829
+ r += 1;
1825
1830
  }
1826
- for (; n > t; ) {
1827
- const r = e.charCodeAt(n - 1);
1828
- if (r !== 9 && r !== 32)
1831
+ for (; n > r; ) {
1832
+ const t = e.charCodeAt(n - 1);
1833
+ if (t !== 9 && t !== 32)
1829
1834
  break;
1830
1835
  n -= 1;
1831
1836
  }
1832
- return t === 0 && n === e.length ? e : e.slice(t, n);
1837
+ return r === 0 && n === e.length ? e : e.slice(r, n);
1833
1838
  }
1834
- function j0(e) {
1839
+ function W0(e) {
1835
1840
  return e && String(e).trim().toLowerCase();
1836
1841
  }
1837
1842
  function Qi(e) {
@@ -1841,140 +1846,140 @@ function ae(e) {
1841
1846
  return e === !1 || e == null ? e : D.isArray(e) ? e.map(ae) : Qi(String(e));
1842
1847
  }
1843
1848
  function Zi(e) {
1844
- const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
1845
- let r;
1846
- for (; r = n.exec(e); )
1847
- t[r[1]] = r[2];
1848
- return t;
1849
+ const r = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
1850
+ let t;
1851
+ for (; t = n.exec(e); )
1852
+ r[t[1]] = t[2];
1853
+ return r;
1849
1854
  }
1850
1855
  const Yi = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1851
- function Te(e, t, n, r, o) {
1852
- if (D.isFunction(r))
1853
- return r.call(this, t, n);
1854
- if (o && (t = n), !!D.isString(t)) {
1855
- if (D.isString(r))
1856
- return t.indexOf(r) !== -1;
1857
- if (D.isRegExp(r))
1858
- return r.test(t);
1856
+ function Te(e, r, n, t, o) {
1857
+ if (D.isFunction(t))
1858
+ return t.call(this, r, n);
1859
+ if (o && (r = n), !!D.isString(r)) {
1860
+ if (D.isString(t))
1861
+ return r.indexOf(t) !== -1;
1862
+ if (D.isRegExp(t))
1863
+ return t.test(r);
1859
1864
  }
1860
1865
  }
1861
1866
  function Ji(e) {
1862
- return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
1867
+ return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (r, n, t) => n.toUpperCase() + t);
1863
1868
  }
1864
- function es(e, t) {
1865
- const n = D.toCamelCase(" " + t);
1866
- ["get", "set", "has"].forEach((r) => {
1867
- Object.defineProperty(e, r + n, {
1869
+ function es(e, r) {
1870
+ const n = D.toCamelCase(" " + r);
1871
+ ["get", "set", "has"].forEach((t) => {
1872
+ Object.defineProperty(e, t + n, {
1868
1873
  // Null-proto descriptor so a polluted Object.prototype.get cannot turn
1869
1874
  // this data descriptor into an accessor descriptor on the way in.
1870
1875
  __proto__: null,
1871
1876
  value: function(o, i, a) {
1872
- return this[r].call(this, t, o, i, a);
1877
+ return this[t].call(this, r, o, i, a);
1873
1878
  },
1874
1879
  configurable: !0
1875
1880
  });
1876
1881
  });
1877
1882
  }
1878
1883
  class be {
1879
- constructor(t) {
1880
- t && this.set(t);
1884
+ constructor(r) {
1885
+ r && this.set(r);
1881
1886
  }
1882
- set(t, n, r) {
1887
+ set(r, n, t) {
1883
1888
  const o = this;
1884
1889
  function i(s, x, c) {
1885
- const f = j0(x);
1890
+ const f = W0(x);
1886
1891
  if (!f)
1887
1892
  throw new Error("header name must be a non-empty string");
1888
1893
  const C = D.findKey(o, f);
1889
1894
  (!C || o[C] === void 0 || c === !0 || c === void 0 && o[C] !== !1) && (o[C || x] = ae(s));
1890
1895
  }
1891
1896
  const a = (s, x) => D.forEach(s, (c, f) => i(c, f, x));
1892
- if (D.isPlainObject(t) || t instanceof this.constructor)
1893
- a(t, n);
1894
- else if (D.isString(t) && (t = t.trim()) && !Yi(t))
1895
- a(Vi(t), n);
1896
- else if (D.isObject(t) && D.isIterable(t)) {
1897
+ if (D.isPlainObject(r) || r instanceof this.constructor)
1898
+ a(r, n);
1899
+ else if (D.isString(r) && (r = r.trim()) && !Yi(r))
1900
+ a(Vi(r), n);
1901
+ else if (D.isObject(r) && D.isIterable(r)) {
1897
1902
  let s = {}, x, c;
1898
- for (const f of t) {
1903
+ for (const f of r) {
1899
1904
  if (!D.isArray(f))
1900
1905
  throw TypeError("Object iterator must return a key-value pair");
1901
1906
  s[c = f[0]] = (x = s[c]) ? D.isArray(x) ? [...x, f[1]] : [x, f[1]] : f[1];
1902
1907
  }
1903
1908
  a(s, n);
1904
1909
  } else
1905
- t != null && i(n, t, r);
1910
+ r != null && i(n, r, t);
1906
1911
  return this;
1907
1912
  }
1908
- get(t, n) {
1909
- if (t = j0(t), t) {
1910
- const r = D.findKey(this, t);
1911
- if (r) {
1912
- const o = this[r];
1913
+ get(r, n) {
1914
+ if (r = W0(r), r) {
1915
+ const t = D.findKey(this, r);
1916
+ if (t) {
1917
+ const o = this[t];
1913
1918
  if (!n)
1914
1919
  return o;
1915
1920
  if (n === !0)
1916
1921
  return Zi(o);
1917
1922
  if (D.isFunction(n))
1918
- return n.call(this, o, r);
1923
+ return n.call(this, o, t);
1919
1924
  if (D.isRegExp(n))
1920
1925
  return n.exec(o);
1921
1926
  throw new TypeError("parser must be boolean|regexp|function");
1922
1927
  }
1923
1928
  }
1924
1929
  }
1925
- has(t, n) {
1926
- if (t = j0(t), t) {
1927
- const r = D.findKey(this, t);
1928
- return !!(r && this[r] !== void 0 && (!n || Te(this, this[r], r, n)));
1930
+ has(r, n) {
1931
+ if (r = W0(r), r) {
1932
+ const t = D.findKey(this, r);
1933
+ return !!(t && this[t] !== void 0 && (!n || Te(this, this[t], t, n)));
1929
1934
  }
1930
1935
  return !1;
1931
1936
  }
1932
- delete(t, n) {
1933
- const r = this;
1937
+ delete(r, n) {
1938
+ const t = this;
1934
1939
  let o = !1;
1935
1940
  function i(a) {
1936
- if (a = j0(a), a) {
1937
- const s = D.findKey(r, a);
1938
- s && (!n || Te(r, r[s], s, n)) && (delete r[s], o = !0);
1941
+ if (a = W0(a), a) {
1942
+ const s = D.findKey(t, a);
1943
+ s && (!n || Te(t, t[s], s, n)) && (delete t[s], o = !0);
1939
1944
  }
1940
1945
  }
1941
- return D.isArray(t) ? t.forEach(i) : i(t), o;
1946
+ return D.isArray(r) ? r.forEach(i) : i(r), o;
1942
1947
  }
1943
- clear(t) {
1948
+ clear(r) {
1944
1949
  const n = Object.keys(this);
1945
- let r = n.length, o = !1;
1946
- for (; r--; ) {
1947
- const i = n[r];
1948
- (!t || Te(this, this[i], i, t, !0)) && (delete this[i], o = !0);
1950
+ let t = n.length, o = !1;
1951
+ for (; t--; ) {
1952
+ const i = n[t];
1953
+ (!r || Te(this, this[i], i, r, !0)) && (delete this[i], o = !0);
1949
1954
  }
1950
1955
  return o;
1951
1956
  }
1952
- normalize(t) {
1953
- const n = this, r = {};
1957
+ normalize(r) {
1958
+ const n = this, t = {};
1954
1959
  return D.forEach(this, (o, i) => {
1955
- const a = D.findKey(r, i);
1960
+ const a = D.findKey(t, i);
1956
1961
  if (a) {
1957
1962
  n[a] = ae(o), delete n[i];
1958
1963
  return;
1959
1964
  }
1960
- const s = t ? Ji(i) : String(i).trim();
1961
- s !== i && delete n[i], n[s] = ae(o), r[s] = !0;
1965
+ const s = r ? Ji(i) : String(i).trim();
1966
+ s !== i && delete n[i], n[s] = ae(o), t[s] = !0;
1962
1967
  }), this;
1963
1968
  }
1964
- concat(...t) {
1965
- return this.constructor.concat(this, ...t);
1969
+ concat(...r) {
1970
+ return this.constructor.concat(this, ...r);
1966
1971
  }
1967
- toJSON(t) {
1972
+ toJSON(r) {
1968
1973
  const n = /* @__PURE__ */ Object.create(null);
1969
- return D.forEach(this, (r, o) => {
1970
- r != null && r !== !1 && (n[o] = t && D.isArray(r) ? r.join(", ") : r);
1974
+ return D.forEach(this, (t, o) => {
1975
+ t != null && t !== !1 && (n[o] = r && D.isArray(t) ? t.join(", ") : t);
1971
1976
  }), n;
1972
1977
  }
1973
1978
  [Symbol.iterator]() {
1974
1979
  return Object.entries(this.toJSON())[Symbol.iterator]();
1975
1980
  }
1976
1981
  toString() {
1977
- return Object.entries(this.toJSON()).map(([t, n]) => t + ": " + n).join(`
1982
+ return Object.entries(this.toJSON()).map(([r, n]) => r + ": " + n).join(`
1978
1983
  `);
1979
1984
  }
1980
1985
  getSetCookie() {
@@ -1983,22 +1988,22 @@ class be {
1983
1988
  get [Symbol.toStringTag]() {
1984
1989
  return "AxiosHeaders";
1985
1990
  }
1986
- static from(t) {
1987
- return t instanceof this ? t : new this(t);
1991
+ static from(r) {
1992
+ return r instanceof this ? r : new this(r);
1988
1993
  }
1989
- static concat(t, ...n) {
1990
- const r = new this(t);
1991
- return n.forEach((o) => r.set(o)), r;
1994
+ static concat(r, ...n) {
1995
+ const t = new this(r);
1996
+ return n.forEach((o) => t.set(o)), t;
1992
1997
  }
1993
- static accessor(t) {
1994
- const r = (this[lr] = this[lr] = {
1998
+ static accessor(r) {
1999
+ const t = (this[lr] = this[lr] = {
1995
2000
  accessors: {}
1996
2001
  }).accessors, o = this.prototype;
1997
2002
  function i(a) {
1998
- const s = j0(a);
1999
- r[s] || (es(o, a), r[s] = !0);
2003
+ const s = W0(a);
2004
+ t[s] || (es(o, a), t[s] = !0);
2000
2005
  }
2001
- return D.isArray(t) ? t.forEach(i) : i(t), this;
2006
+ return D.isArray(r) ? r.forEach(i) : i(r), this;
2002
2007
  }
2003
2008
  }
2004
2009
  be.accessor([
@@ -2009,12 +2014,12 @@ be.accessor([
2009
2014
  "User-Agent",
2010
2015
  "Authorization"
2011
2016
  ]);
2012
- D.reduceDescriptors(be.prototype, ({ value: e }, t) => {
2013
- let n = t[0].toUpperCase() + t.slice(1);
2017
+ D.reduceDescriptors(be.prototype, ({ value: e }, r) => {
2018
+ let n = r[0].toUpperCase() + r.slice(1);
2014
2019
  return {
2015
2020
  get: () => e,
2016
- set(r) {
2017
- this[n] = r;
2021
+ set(t) {
2022
+ this[n] = t;
2018
2023
  }
2019
2024
  };
2020
2025
  });
@@ -2023,21 +2028,21 @@ const f0 = be, ts = "[REDACTED ****]";
2023
2028
  function rs(e) {
2024
2029
  if (D.hasOwnProp(e, "toJSON"))
2025
2030
  return !0;
2026
- let t = Object.getPrototypeOf(e);
2027
- for (; t && t !== Object.prototype; ) {
2028
- if (D.hasOwnProp(t, "toJSON"))
2031
+ let r = Object.getPrototypeOf(e);
2032
+ for (; r && r !== Object.prototype; ) {
2033
+ if (D.hasOwnProp(r, "toJSON"))
2029
2034
  return !0;
2030
- t = Object.getPrototypeOf(t);
2035
+ r = Object.getPrototypeOf(r);
2031
2036
  }
2032
2037
  return !1;
2033
2038
  }
2034
- function ns(e, t) {
2035
- const n = new Set(t.map((i) => String(i).toLowerCase())), r = [], o = (i) => {
2039
+ function ns(e, r) {
2040
+ const n = new Set(r.map((i) => String(i).toLowerCase())), t = [], o = (i) => {
2036
2041
  if (i === null || typeof i != "object" || D.isBuffer(i))
2037
2042
  return i;
2038
- if (r.indexOf(i) !== -1)
2043
+ if (t.indexOf(i) !== -1)
2039
2044
  return;
2040
- i instanceof f0 && (i = i.toJSON()), r.push(i);
2045
+ i instanceof f0 && (i = i.toJSON()), t.push(i);
2041
2046
  let a;
2042
2047
  if (D.isArray(i))
2043
2048
  a = [], i.forEach((s, x) => {
@@ -2046,21 +2051,21 @@ function ns(e, t) {
2046
2051
  });
2047
2052
  else {
2048
2053
  if (!D.isPlainObject(i) && rs(i))
2049
- return r.pop(), i;
2054
+ return t.pop(), i;
2050
2055
  a = /* @__PURE__ */ Object.create(null);
2051
2056
  for (const [s, x] of Object.entries(i)) {
2052
2057
  const c = n.has(s.toLowerCase()) ? ts : o(x);
2053
2058
  D.isUndefined(c) || (a[s] = c);
2054
2059
  }
2055
2060
  }
2056
- return r.pop(), a;
2061
+ return t.pop(), a;
2057
2062
  };
2058
2063
  return o(e);
2059
2064
  }
2060
2065
  class J extends Error {
2061
- static from(t, n, r, o, i, a) {
2062
- const s = new J(t.message, n || t.code, r, o, i);
2063
- return s.cause = t, s.name = t.name, t.status != null && s.status == null && (s.status = t.status), a && Object.assign(s, a), s;
2066
+ static from(r, n, t, o, i, a) {
2067
+ const s = new J(r.message, n || r.code, t, o, i);
2068
+ return s.cause = r, s.name = r.name, r.status != null && s.status == null && (s.status = r.status), a && Object.assign(s, a), s;
2064
2069
  }
2065
2070
  /**
2066
2071
  * Create an Error with the specified message, config, error code, request and response.
@@ -2073,19 +2078,19 @@ class J extends Error {
2073
2078
  *
2074
2079
  * @returns {Error} The created error.
2075
2080
  */
2076
- constructor(t, n, r, o, i) {
2077
- super(t), Object.defineProperty(this, "message", {
2081
+ constructor(r, n, t, o, i) {
2082
+ super(r), Object.defineProperty(this, "message", {
2078
2083
  // Null-proto descriptor so a polluted Object.prototype.get cannot turn
2079
2084
  // this data descriptor into an accessor descriptor on the way in.
2080
2085
  __proto__: null,
2081
- value: t,
2086
+ value: r,
2082
2087
  enumerable: !0,
2083
2088
  writable: !0,
2084
2089
  configurable: !0
2085
- }), this.name = "AxiosError", this.isAxiosError = !0, n && (this.code = n), r && (this.config = r), o && (this.request = o), i && (this.response = i, this.status = i.status);
2090
+ }), this.name = "AxiosError", this.isAxiosError = !0, n && (this.code = n), t && (this.config = t), o && (this.request = o), i && (this.response = i, this.status = i.status);
2086
2091
  }
2087
2092
  toJSON() {
2088
- const t = this.config, n = t && D.hasOwnProp(t, "redact") ? t.redact : void 0, r = D.isArray(n) && n.length > 0 ? ns(t, n) : D.toJSONObject(t);
2093
+ const r = this.config, n = r && D.hasOwnProp(r, "redact") ? r.redact : void 0, t = D.isArray(n) && n.length > 0 ? ns(r, n) : D.toJSONObject(r);
2089
2094
  return {
2090
2095
  // Standard
2091
2096
  message: this.message,
@@ -2099,7 +2104,7 @@ class J extends Error {
2099
2104
  columnNumber: this.columnNumber,
2100
2105
  stack: this.stack,
2101
2106
  // Axios
2102
- config: r,
2107
+ config: t,
2103
2108
  code: this.code,
2104
2109
  status: this.status
2105
2110
  };
@@ -2126,21 +2131,21 @@ function mt(e) {
2126
2131
  function kn(e) {
2127
2132
  return D.endsWith(e, "[]") ? e.slice(0, -2) : e;
2128
2133
  }
2129
- function Ie(e, t, n) {
2130
- return e ? e.concat(t).map(function(o, i) {
2134
+ function Ie(e, r, n) {
2135
+ return e ? e.concat(r).map(function(o, i) {
2131
2136
  return o = kn(o), !n && i ? "[" + o + "]" : o;
2132
- }).join(n ? "." : "") : t;
2137
+ }).join(n ? "." : "") : r;
2133
2138
  }
2134
2139
  function is(e) {
2135
2140
  return D.isArray(e) && !e.some(mt);
2136
2141
  }
2137
- const ss = D.toFlatObject(D, {}, null, function(t) {
2138
- return /^is[A-Z]/.test(t);
2142
+ const ss = D.toFlatObject(D, {}, null, function(r) {
2143
+ return /^is[A-Z]/.test(r);
2139
2144
  });
2140
- function ye(e, t, n) {
2145
+ function ye(e, r, n) {
2141
2146
  if (!D.isObject(e))
2142
2147
  throw new TypeError("target must be an object");
2143
- t = t || new FormData(), n = D.toFlatObject(
2148
+ r = r || new FormData(), n = D.toFlatObject(
2144
2149
  n,
2145
2150
  {
2146
2151
  metaTokens: !0,
@@ -2152,7 +2157,7 @@ function ye(e, t, n) {
2152
2157
  return !D.isUndefined(B[h]);
2153
2158
  }
2154
2159
  );
2155
- const r = n.metaTokens, o = n.visitor || C, i = n.dots, a = n.indexes, s = n.Blob || typeof Blob < "u" && Blob, x = n.maxDepth === void 0 ? 100 : n.maxDepth, c = s && D.isSpecCompliantForm(t);
2160
+ const t = n.metaTokens, o = n.visitor || C, i = n.dots, a = n.indexes, s = n.Blob || typeof Blob < "u" && Blob, x = n.maxDepth === void 0 ? 100 : n.maxDepth, c = s && D.isSpecCompliantForm(r);
2156
2161
  if (!D.isFunction(o))
2157
2162
  throw new TypeError("visitor must be a function");
2158
2163
  function f(v) {
@@ -2168,21 +2173,21 @@ function ye(e, t, n) {
2168
2173
  }
2169
2174
  function C(v, h, B) {
2170
2175
  let u = v;
2171
- if (D.isReactNative(t) && D.isReactNativeBlob(v))
2172
- return t.append(Ie(B, h, i), f(v)), !1;
2176
+ if (D.isReactNative(r) && D.isReactNativeBlob(v))
2177
+ return r.append(Ie(B, h, i), f(v)), !1;
2173
2178
  if (v && !B && typeof v == "object") {
2174
2179
  if (D.endsWith(h, "{}"))
2175
- h = r ? h : h.slice(0, -2), v = JSON.stringify(v);
2180
+ h = t ? h : h.slice(0, -2), v = JSON.stringify(v);
2176
2181
  else if (D.isArray(v) && is(v) || (D.isFileList(v) || D.endsWith(h, "[]")) && (u = D.toArray(v)))
2177
2182
  return h = kn(h), u.forEach(function(E, A) {
2178
- !(D.isUndefined(E) || E === null) && t.append(
2183
+ !(D.isUndefined(E) || E === null) && r.append(
2179
2184
  // eslint-disable-next-line no-nested-ternary
2180
2185
  a === !0 ? Ie([h], A, i) : a === null ? h : h + "[]",
2181
2186
  f(E)
2182
2187
  );
2183
2188
  }), !1;
2184
2189
  }
2185
- return mt(v) ? !0 : (t.append(Ie(B, h, i), f(v)), !1);
2190
+ return mt(v) ? !0 : (r.append(Ie(B, h, i), f(v)), !1);
2186
2191
  }
2187
2192
  const l = [], p = Object.assign(ss, {
2188
2193
  defaultVisitor: C,
@@ -2199,16 +2204,16 @@ function ye(e, t, n) {
2199
2204
  if (l.indexOf(v) !== -1)
2200
2205
  throw Error("Circular reference detected in " + h.join("."));
2201
2206
  l.push(v), D.forEach(v, function(d, E) {
2202
- (!(D.isUndefined(d) || d === null) && o.call(t, d, D.isString(E) ? E.trim() : E, h, p)) === !0 && g(d, h ? h.concat(E) : [E], B + 1);
2207
+ (!(D.isUndefined(d) || d === null) && o.call(r, d, D.isString(E) ? E.trim() : E, h, p)) === !0 && g(d, h ? h.concat(E) : [E], B + 1);
2203
2208
  }), l.pop();
2204
2209
  }
2205
2210
  }
2206
2211
  if (!D.isObject(e))
2207
2212
  throw new TypeError("data must be an object");
2208
- return g(e), t;
2213
+ return g(e), r;
2209
2214
  }
2210
2215
  function dr(e) {
2211
- const t = {
2216
+ const r = {
2212
2217
  "!": "%21",
2213
2218
  "'": "%27",
2214
2219
  "(": "%28",
@@ -2216,20 +2221,20 @@ function dr(e) {
2216
2221
  "~": "%7E",
2217
2222
  "%20": "+"
2218
2223
  };
2219
- return encodeURIComponent(e).replace(/[!'()~]|%20/g, function(r) {
2220
- return t[r];
2224
+ return encodeURIComponent(e).replace(/[!'()~]|%20/g, function(t) {
2225
+ return r[t];
2221
2226
  });
2222
2227
  }
2223
- function Tt(e, t) {
2224
- this._pairs = [], e && ye(e, this, t);
2228
+ function Tt(e, r) {
2229
+ this._pairs = [], e && ye(e, this, r);
2225
2230
  }
2226
2231
  const Pn = Tt.prototype;
2227
- Pn.append = function(t, n) {
2228
- this._pairs.push([t, n]);
2232
+ Pn.append = function(r, n) {
2233
+ this._pairs.push([r, n]);
2229
2234
  };
2230
- Pn.toString = function(t) {
2231
- const n = t ? function(r) {
2232
- return t.call(this, r, dr);
2235
+ Pn.toString = function(r) {
2236
+ const n = r ? function(t) {
2237
+ return r.call(this, t, dr);
2233
2238
  } : dr;
2234
2239
  return this._pairs.map(function(o) {
2235
2240
  return n(o[0]) + "=" + n(o[1]);
@@ -2238,14 +2243,14 @@ Pn.toString = function(t) {
2238
2243
  function as(e) {
2239
2244
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
2240
2245
  }
2241
- function Tn(e, t, n) {
2242
- if (!t)
2246
+ function Tn(e, r, n) {
2247
+ if (!r)
2243
2248
  return e;
2244
- const r = n && n.encode || as, o = D.isFunction(n) ? {
2249
+ const t = n && n.encode || as, o = D.isFunction(n) ? {
2245
2250
  serialize: n
2246
2251
  } : n, i = o && o.serialize;
2247
2252
  let a;
2248
- if (i ? a = i(t, o) : a = D.isURLSearchParams(t) ? t.toString() : new Tt(t, o).toString(r), a) {
2253
+ if (i ? a = i(r, o) : a = D.isURLSearchParams(r) ? r.toString() : new Tt(r, o).toString(t), a) {
2249
2254
  const s = e.indexOf("#");
2250
2255
  s !== -1 && (e = e.slice(0, s)), e += (e.indexOf("?") === -1 ? "?" : "&") + a;
2251
2256
  }
@@ -2264,12 +2269,12 @@ class cs {
2264
2269
  *
2265
2270
  * @return {Number} An ID used to remove interceptor later
2266
2271
  */
2267
- use(t, n, r) {
2272
+ use(r, n, t) {
2268
2273
  return this.handlers.push({
2269
- fulfilled: t,
2274
+ fulfilled: r,
2270
2275
  rejected: n,
2271
- synchronous: r ? r.synchronous : !1,
2272
- runWhen: r ? r.runWhen : null
2276
+ synchronous: t ? t.synchronous : !1,
2277
+ runWhen: t ? t.runWhen : null
2273
2278
  }), this.handlers.length - 1;
2274
2279
  }
2275
2280
  /**
@@ -2279,8 +2284,8 @@ class cs {
2279
2284
  *
2280
2285
  * @returns {void}
2281
2286
  */
2282
- eject(t) {
2283
- this.handlers[t] && (this.handlers[t] = null);
2287
+ eject(r) {
2288
+ this.handlers[r] && (this.handlers[r] = null);
2284
2289
  }
2285
2290
  /**
2286
2291
  * Clear all interceptors from the stack
@@ -2300,9 +2305,9 @@ class cs {
2300
2305
  *
2301
2306
  * @returns {void}
2302
2307
  */
2303
- forEach(t) {
2304
- D.forEach(this.handlers, function(r) {
2305
- r !== null && t(r);
2308
+ forEach(r) {
2309
+ D.forEach(this.handlers, function(t) {
2310
+ t !== null && r(t);
2306
2311
  });
2307
2312
  }
2308
2313
  }
@@ -2331,50 +2336,50 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
2331
2336
  ...vs,
2332
2337
  ...ls
2333
2338
  };
2334
- function gs(e, t) {
2339
+ function gs(e, r) {
2335
2340
  return ye(e, new e0.classes.URLSearchParams(), {
2336
- visitor: function(n, r, o, i) {
2337
- return e0.isNode && D.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
2341
+ visitor: function(n, t, o, i) {
2342
+ return e0.isNode && D.isBuffer(n) ? (this.append(t, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
2338
2343
  },
2339
- ...t
2344
+ ...r
2340
2345
  });
2341
2346
  }
2342
2347
  function Es(e) {
2343
- return D.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
2348
+ return D.matchAll(/\w+|\[(\w*)]/g, e).map((r) => r[0] === "[]" ? "" : r[1] || r[0]);
2344
2349
  }
2345
2350
  function Bs(e) {
2346
- const t = {}, n = Object.keys(e);
2347
- let r;
2351
+ const r = {}, n = Object.keys(e);
2352
+ let t;
2348
2353
  const o = n.length;
2349
2354
  let i;
2350
- for (r = 0; r < o; r++)
2351
- i = n[r], t[i] = e[i];
2352
- return t;
2355
+ for (t = 0; t < o; t++)
2356
+ i = n[t], r[i] = e[i];
2357
+ return r;
2353
2358
  }
2354
2359
  function In(e) {
2355
- function t(n, r, o, i) {
2360
+ function r(n, t, o, i) {
2356
2361
  let a = n[i++];
2357
2362
  if (a === "__proto__")
2358
2363
  return !0;
2359
2364
  const s = Number.isFinite(+a), x = i >= n.length;
2360
- return a = !a && D.isArray(o) ? o.length : a, x ? (D.hasOwnProp(o, a) ? o[a] = D.isArray(o[a]) ? o[a].concat(r) : [o[a], r] : o[a] = r, !s) : ((!o[a] || !D.isObject(o[a])) && (o[a] = []), t(n, r, o[a], i) && D.isArray(o[a]) && (o[a] = Bs(o[a])), !s);
2365
+ return a = !a && D.isArray(o) ? o.length : a, x ? (D.hasOwnProp(o, a) ? o[a] = D.isArray(o[a]) ? o[a].concat(t) : [o[a], t] : o[a] = t, !s) : ((!o[a] || !D.isObject(o[a])) && (o[a] = []), r(n, t, o[a], i) && D.isArray(o[a]) && (o[a] = Bs(o[a])), !s);
2361
2366
  }
2362
2367
  if (D.isFormData(e) && D.isFunction(e.entries)) {
2363
2368
  const n = {};
2364
- return D.forEachEntry(e, (r, o) => {
2365
- t(Es(r), o, n, 0);
2369
+ return D.forEachEntry(e, (t, o) => {
2370
+ r(Es(t), o, n, 0);
2366
2371
  }), n;
2367
2372
  }
2368
2373
  return null;
2369
2374
  }
2370
- const S0 = (e, t) => e != null && D.hasOwnProp(e, t) ? e[t] : void 0;
2371
- function Cs(e, t, n) {
2375
+ const S0 = (e, r) => e != null && D.hasOwnProp(e, r) ? e[r] : void 0;
2376
+ function Cs(e, r, n) {
2372
2377
  if (D.isString(e))
2373
2378
  try {
2374
- return (t || JSON.parse)(e), D.trim(e);
2375
- } catch (r) {
2376
- if (r.name !== "SyntaxError")
2377
- throw r;
2379
+ return (r || JSON.parse)(e), D.trim(e);
2380
+ } catch (t) {
2381
+ if (t.name !== "SyntaxError")
2382
+ throw t;
2378
2383
  }
2379
2384
  return (n || JSON.stringify)(e);
2380
2385
  }
@@ -2382,48 +2387,48 @@ const Nt = {
2382
2387
  transitional: It,
2383
2388
  adapter: ["xhr", "http", "fetch"],
2384
2389
  transformRequest: [
2385
- function(t, n) {
2386
- const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, i = D.isObject(t);
2387
- if (i && D.isHTMLForm(t) && (t = new FormData(t)), D.isFormData(t))
2388
- return o ? JSON.stringify(In(t)) : t;
2389
- if (D.isArrayBuffer(t) || D.isBuffer(t) || D.isStream(t) || D.isFile(t) || D.isBlob(t) || D.isReadableStream(t))
2390
- return t;
2391
- if (D.isArrayBufferView(t))
2392
- return t.buffer;
2393
- if (D.isURLSearchParams(t))
2394
- return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
2390
+ function(r, n) {
2391
+ const t = n.getContentType() || "", o = t.indexOf("application/json") > -1, i = D.isObject(r);
2392
+ if (i && D.isHTMLForm(r) && (r = new FormData(r)), D.isFormData(r))
2393
+ return o ? JSON.stringify(In(r)) : r;
2394
+ if (D.isArrayBuffer(r) || D.isBuffer(r) || D.isStream(r) || D.isFile(r) || D.isBlob(r) || D.isReadableStream(r))
2395
+ return r;
2396
+ if (D.isArrayBufferView(r))
2397
+ return r.buffer;
2398
+ if (D.isURLSearchParams(r))
2399
+ return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), r.toString();
2395
2400
  let s;
2396
2401
  if (i) {
2397
2402
  const x = S0(this, "formSerializer");
2398
- if (r.indexOf("application/x-www-form-urlencoded") > -1)
2399
- return gs(t, x).toString();
2400
- if ((s = D.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
2403
+ if (t.indexOf("application/x-www-form-urlencoded") > -1)
2404
+ return gs(r, x).toString();
2405
+ if ((s = D.isFileList(r)) || t.indexOf("multipart/form-data") > -1) {
2401
2406
  const c = S0(this, "env"), f = c && c.FormData;
2402
2407
  return ye(
2403
- s ? { "files[]": t } : t,
2408
+ s ? { "files[]": r } : r,
2404
2409
  f && new f(),
2405
2410
  x
2406
2411
  );
2407
2412
  }
2408
2413
  }
2409
- return i || o ? (n.setContentType("application/json", !1), Cs(t)) : t;
2414
+ return i || o ? (n.setContentType("application/json", !1), Cs(r)) : r;
2410
2415
  }
2411
2416
  ],
2412
2417
  transformResponse: [
2413
- function(t) {
2414
- const n = S0(this, "transitional") || Nt.transitional, r = n && n.forcedJSONParsing, o = S0(this, "responseType"), i = o === "json";
2415
- if (D.isResponse(t) || D.isReadableStream(t))
2416
- return t;
2417
- if (t && D.isString(t) && (r && !o || i)) {
2418
+ function(r) {
2419
+ const n = S0(this, "transitional") || Nt.transitional, t = n && n.forcedJSONParsing, o = S0(this, "responseType"), i = o === "json";
2420
+ if (D.isResponse(r) || D.isReadableStream(r))
2421
+ return r;
2422
+ if (r && D.isString(r) && (t && !o || i)) {
2418
2423
  const s = !(n && n.silentJSONParsing) && i;
2419
2424
  try {
2420
- return JSON.parse(t, S0(this, "parseReviver"));
2425
+ return JSON.parse(r, S0(this, "parseReviver"));
2421
2426
  } catch (x) {
2422
2427
  if (s)
2423
2428
  throw x.name === "SyntaxError" ? H.from(x, H.ERR_BAD_RESPONSE, this, null, S0(this, "response")) : x;
2424
2429
  }
2425
2430
  }
2426
- return t;
2431
+ return r;
2427
2432
  }
2428
2433
  ],
2429
2434
  /**
@@ -2439,8 +2444,8 @@ const Nt = {
2439
2444
  FormData: e0.classes.FormData,
2440
2445
  Blob: e0.classes.Blob
2441
2446
  },
2442
- validateStatus: function(t) {
2443
- return t >= 200 && t < 300;
2447
+ validateStatus: function(r) {
2448
+ return r >= 200 && r < 300;
2444
2449
  },
2445
2450
  headers: {
2446
2451
  common: {
@@ -2453,11 +2458,11 @@ D.forEach(["delete", "get", "head", "post", "put", "patch", "query"], (e) => {
2453
2458
  Nt.headers[e] = {};
2454
2459
  });
2455
2460
  const Ot = Nt;
2456
- function Le(e, t) {
2457
- const n = this || Ot, r = t || n, o = f0.from(r.headers);
2458
- let i = r.data;
2461
+ function Le(e, r) {
2462
+ const n = this || Ot, t = r || n, o = f0.from(t.headers);
2463
+ let i = t.data;
2459
2464
  return D.forEach(e, function(s) {
2460
- i = s.call(n, i, o.normalize(), t ? t.status : void 0);
2465
+ i = s.call(n, i, o.normalize(), r ? r.status : void 0);
2461
2466
  }), o.normalize(), i;
2462
2467
  }
2463
2468
  function Ln(e) {
@@ -2473,14 +2478,14 @@ class As extends H {
2473
2478
  *
2474
2479
  * @returns {CanceledError} The created error.
2475
2480
  */
2476
- constructor(t, n, r) {
2477
- super(t ?? "canceled", H.ERR_CANCELED, n, r), this.name = "CanceledError", this.__CANCEL__ = !0;
2481
+ constructor(r, n, t) {
2482
+ super(r ?? "canceled", H.ERR_CANCELED, n, t), this.name = "CanceledError", this.__CANCEL__ = !0;
2478
2483
  }
2479
2484
  }
2480
2485
  const J0 = As;
2481
- function Nn(e, t, n) {
2482
- const r = n.config.validateStatus;
2483
- !n.status || !r || r(n.status) ? e(n) : t(new H(
2486
+ function Nn(e, r, n) {
2487
+ const t = n.config.validateStatus;
2488
+ !n.status || !t || t(n.status) ? e(n) : r(new H(
2484
2489
  "Request failed with status code " + n.status,
2485
2490
  n.status >= 400 && n.status < 500 ? H.ERR_BAD_REQUEST : H.ERR_BAD_RESPONSE,
2486
2491
  n.config,
@@ -2489,43 +2494,43 @@ function Nn(e, t, n) {
2489
2494
  ));
2490
2495
  }
2491
2496
  function bs(e) {
2492
- const t = /^([-+\w]{1,25}):(?:\/\/)?/.exec(e);
2493
- return t && t[1] || "";
2497
+ const r = /^([-+\w]{1,25}):(?:\/\/)?/.exec(e);
2498
+ return r && r[1] || "";
2494
2499
  }
2495
- function ys(e, t) {
2500
+ function ys(e, r) {
2496
2501
  e = e || 10;
2497
- const n = new Array(e), r = new Array(e);
2502
+ const n = new Array(e), t = new Array(e);
2498
2503
  let o = 0, i = 0, a;
2499
- return t = t !== void 0 ? t : 1e3, function(x) {
2500
- const c = Date.now(), f = r[i];
2501
- a || (a = c), n[o] = x, r[o] = c;
2504
+ return r = r !== void 0 ? r : 1e3, function(x) {
2505
+ const c = Date.now(), f = t[i];
2506
+ a || (a = c), n[o] = x, t[o] = c;
2502
2507
  let C = i, l = 0;
2503
2508
  for (; C !== o; )
2504
2509
  l += n[C++], C = C % e;
2505
- if (o = (o + 1) % e, o === i && (i = (i + 1) % e), c - a < t)
2510
+ if (o = (o + 1) % e, o === i && (i = (i + 1) % e), c - a < r)
2506
2511
  return;
2507
2512
  const p = f && c - f;
2508
2513
  return p ? Math.round(l * 1e3 / p) : void 0;
2509
2514
  };
2510
2515
  }
2511
- function ms(e, t) {
2512
- let n = 0, r = 1e3 / t, o, i;
2516
+ function ms(e, r) {
2517
+ let n = 0, t = 1e3 / r, o, i;
2513
2518
  const a = (c, f = Date.now()) => {
2514
2519
  n = f, o = null, i && (clearTimeout(i), i = null), e(...c);
2515
2520
  };
2516
2521
  return [(...c) => {
2517
2522
  const f = Date.now(), C = f - n;
2518
- C >= r ? a(c, f) : (o = c, i || (i = setTimeout(() => {
2523
+ C >= t ? a(c, f) : (o = c, i || (i = setTimeout(() => {
2519
2524
  i = null, a(o);
2520
- }, r - C)));
2525
+ }, t - C)));
2521
2526
  }, () => o && a(o)];
2522
2527
  }
2523
- const le = (e, t, n = 3) => {
2524
- let r = 0;
2528
+ const le = (e, r, n = 3) => {
2529
+ let t = 0;
2525
2530
  const o = ys(50, 250);
2526
2531
  return ms((i) => {
2527
- const a = i.loaded, s = i.lengthComputable ? i.total : void 0, x = s != null ? Math.min(a, s) : a, c = Math.max(0, x - r), f = o(c);
2528
- r = Math.max(r, x);
2532
+ const a = i.loaded, s = i.lengthComputable ? i.total : void 0, x = s != null ? Math.min(a, s) : a, c = Math.max(0, x - t), f = o(c);
2533
+ t = Math.max(t, x);
2529
2534
  const C = {
2530
2535
  loaded: x,
2531
2536
  total: s,
@@ -2535,40 +2540,40 @@ const le = (e, t, n = 3) => {
2535
2540
  estimated: f && s ? (s - x) / f : void 0,
2536
2541
  event: i,
2537
2542
  lengthComputable: s != null,
2538
- [t ? "download" : "upload"]: !0
2543
+ [r ? "download" : "upload"]: !0
2539
2544
  };
2540
2545
  e(C);
2541
2546
  }, n);
2542
- }, pr = (e, t) => {
2547
+ }, pr = (e, r) => {
2543
2548
  const n = e != null;
2544
2549
  return [
2545
- (r) => t[0]({
2550
+ (t) => r[0]({
2546
2551
  lengthComputable: n,
2547
2552
  total: e,
2548
- loaded: r
2553
+ loaded: t
2549
2554
  }),
2550
- t[1]
2555
+ r[1]
2551
2556
  ];
2552
- }, vr = (e) => (...t) => D.asap(() => e(...t)), Ds = e0.hasStandardBrowserEnv ? ((e, t) => (n) => (n = new URL(n, e0.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
2557
+ }, vr = (e) => (...r) => D.asap(() => e(...r)), Ds = e0.hasStandardBrowserEnv ? ((e, r) => (n) => (n = new URL(n, e0.origin), e.protocol === n.protocol && e.host === n.host && (r || e.port === n.port)))(
2553
2558
  new URL(e0.origin),
2554
2559
  e0.navigator && /(msie|trident)/i.test(e0.navigator.userAgent)
2555
2560
  ) : () => !0, Fs = e0.hasStandardBrowserEnv ? (
2556
2561
  // Standard browser envs support document.cookie
2557
2562
  {
2558
- write(e, t, n, r, o, i, a) {
2563
+ write(e, r, n, t, o, i, a) {
2559
2564
  if (typeof document > "u")
2560
2565
  return;
2561
- const s = [`${e}=${encodeURIComponent(t)}`];
2562
- D.isNumber(n) && s.push(`expires=${new Date(n).toUTCString()}`), D.isString(r) && s.push(`path=${r}`), D.isString(o) && s.push(`domain=${o}`), i === !0 && s.push("secure"), D.isString(a) && s.push(`SameSite=${a}`), document.cookie = s.join("; ");
2566
+ const s = [`${e}=${encodeURIComponent(r)}`];
2567
+ D.isNumber(n) && s.push(`expires=${new Date(n).toUTCString()}`), D.isString(t) && s.push(`path=${t}`), D.isString(o) && s.push(`domain=${o}`), i === !0 && s.push("secure"), D.isString(a) && s.push(`SameSite=${a}`), document.cookie = s.join("; ");
2563
2568
  },
2564
2569
  read(e) {
2565
2570
  if (typeof document > "u")
2566
2571
  return null;
2567
- const t = document.cookie.split(";");
2568
- for (let n = 0; n < t.length; n++) {
2569
- const r = t[n].replace(/^\s+/, ""), o = r.indexOf("=");
2570
- if (o !== -1 && r.slice(0, o) === e)
2571
- return decodeURIComponent(r.slice(o + 1));
2572
+ const r = document.cookie.split(";");
2573
+ for (let n = 0; n < r.length; n++) {
2574
+ const t = r[n].replace(/^\s+/, ""), o = t.indexOf("=");
2575
+ if (o !== -1 && t.slice(0, o) === e)
2576
+ return decodeURIComponent(t.slice(o + 1));
2572
2577
  }
2573
2578
  return null;
2574
2579
  },
@@ -2591,16 +2596,16 @@ const le = (e, t, n = 3) => {
2591
2596
  function ws(e) {
2592
2597
  return typeof e != "string" ? !1 : /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
2593
2598
  }
2594
- function _s(e, t) {
2595
- return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
2599
+ function _s(e, r) {
2600
+ return r ? e.replace(/\/?\/$/, "") + "/" + r.replace(/^\/+/, "") : e;
2596
2601
  }
2597
- function On(e, t, n) {
2598
- let r = !ws(t);
2599
- return e && (r || n === !1) ? _s(e, t) : t;
2602
+ function On(e, r, n) {
2603
+ let t = !ws(r);
2604
+ return e && (t || n === !1) ? _s(e, r) : r;
2600
2605
  }
2601
2606
  const gr = (e) => e instanceof f0 ? { ...e } : e;
2602
- function D0(e, t) {
2603
- t = t || {};
2607
+ function D0(e, r) {
2608
+ r = r || {};
2604
2609
  const n = /* @__PURE__ */ Object.create(null);
2605
2610
  Object.defineProperty(n, "hasOwnProperty", {
2606
2611
  // Null-proto descriptor so a polluted Object.prototype.get cannot turn
@@ -2611,32 +2616,32 @@ function D0(e, t) {
2611
2616
  writable: !0,
2612
2617
  configurable: !0
2613
2618
  });
2614
- function r(c, f, C, l) {
2619
+ function t(c, f, C, l) {
2615
2620
  return D.isPlainObject(c) && D.isPlainObject(f) ? D.merge.call({ caseless: l }, c, f) : D.isPlainObject(f) ? D.merge({}, f) : D.isArray(f) ? f.slice() : f;
2616
2621
  }
2617
2622
  function o(c, f, C, l) {
2618
2623
  if (D.isUndefined(f)) {
2619
2624
  if (!D.isUndefined(c))
2620
- return r(void 0, c, C, l);
2625
+ return t(void 0, c, C, l);
2621
2626
  } else
2622
- return r(c, f, C, l);
2627
+ return t(c, f, C, l);
2623
2628
  }
2624
2629
  function i(c, f) {
2625
2630
  if (!D.isUndefined(f))
2626
- return r(void 0, f);
2631
+ return t(void 0, f);
2627
2632
  }
2628
2633
  function a(c, f) {
2629
2634
  if (D.isUndefined(f)) {
2630
2635
  if (!D.isUndefined(c))
2631
- return r(void 0, c);
2636
+ return t(void 0, c);
2632
2637
  } else
2633
- return r(void 0, f);
2638
+ return t(void 0, f);
2634
2639
  }
2635
2640
  function s(c, f, C) {
2636
- if (D.hasOwnProp(t, C))
2637
- return r(c, f);
2641
+ if (D.hasOwnProp(r, C))
2642
+ return t(c, f);
2638
2643
  if (D.hasOwnProp(e, C))
2639
- return r(void 0, c);
2644
+ return t(void 0, c);
2640
2645
  }
2641
2646
  const x = {
2642
2647
  url: i,
@@ -2670,46 +2675,46 @@ function D0(e, t) {
2670
2675
  validateStatus: s,
2671
2676
  headers: (c, f, C) => o(gr(c), gr(f), C, !0)
2672
2677
  };
2673
- return D.forEach(Object.keys({ ...e, ...t }), function(f) {
2678
+ return D.forEach(Object.keys({ ...e, ...r }), function(f) {
2674
2679
  if (f === "__proto__" || f === "constructor" || f === "prototype")
2675
2680
  return;
2676
- const C = D.hasOwnProp(x, f) ? x[f] : o, l = D.hasOwnProp(e, f) ? e[f] : void 0, p = D.hasOwnProp(t, f) ? t[f] : void 0, g = C(l, p, f);
2681
+ const C = D.hasOwnProp(x, f) ? x[f] : o, l = D.hasOwnProp(e, f) ? e[f] : void 0, p = D.hasOwnProp(r, f) ? r[f] : void 0, g = C(l, p, f);
2677
2682
  D.isUndefined(g) && C !== s || (n[f] = g);
2678
2683
  }), n;
2679
2684
  }
2680
2685
  const Rs = ["content-type", "content-length"];
2681
- function Ss(e, t, n) {
2686
+ function Ss(e, r, n) {
2682
2687
  if (n !== "content-only") {
2683
- e.set(t);
2688
+ e.set(r);
2684
2689
  return;
2685
2690
  }
2686
- Object.entries(t).forEach(([r, o]) => {
2687
- Rs.includes(r.toLowerCase()) && e.set(r, o);
2691
+ Object.entries(r).forEach(([t, o]) => {
2692
+ Rs.includes(t.toLowerCase()) && e.set(t, o);
2688
2693
  });
2689
2694
  }
2690
2695
  const ks = (e) => encodeURIComponent(e).replace(
2691
2696
  /%([0-9A-F]{2})/gi,
2692
- (t, n) => String.fromCharCode(parseInt(n, 16))
2697
+ (r, n) => String.fromCharCode(parseInt(n, 16))
2693
2698
  ), Hn = (e) => {
2694
- const t = D0({}, e), n = (l) => D.hasOwnProp(t, l) ? t[l] : void 0, r = n("data");
2699
+ const r = D0({}, e), n = (l) => D.hasOwnProp(r, l) ? r[l] : void 0, t = n("data");
2695
2700
  let o = n("withXSRFToken");
2696
2701
  const i = n("xsrfHeaderName"), a = n("xsrfCookieName");
2697
2702
  let s = n("headers");
2698
2703
  const x = n("auth"), c = n("baseURL"), f = n("allowAbsoluteUrls"), C = n("url");
2699
- if (t.headers = s = f0.from(s), t.url = Tn(
2704
+ if (r.headers = s = f0.from(s), r.url = Tn(
2700
2705
  On(c, C, f),
2701
2706
  e.params,
2702
2707
  e.paramsSerializer
2703
2708
  ), x && s.set(
2704
2709
  "Authorization",
2705
2710
  "Basic " + btoa((x.username || "") + ":" + (x.password ? ks(x.password) : ""))
2706
- ), D.isFormData(r) && (e0.hasStandardBrowserEnv || e0.hasStandardBrowserWebWorkerEnv ? s.setContentType(void 0) : D.isFunction(r.getHeaders) && Ss(s, r.getHeaders(), n("formDataHeaderPolicy"))), e0.hasStandardBrowserEnv && (D.isFunction(o) && (o = o(t)), o === !0 || o == null && Ds(t.url))) {
2711
+ ), D.isFormData(t) && (e0.hasStandardBrowserEnv || e0.hasStandardBrowserWebWorkerEnv ? s.setContentType(void 0) : D.isFunction(t.getHeaders) && Ss(s, t.getHeaders(), n("formDataHeaderPolicy"))), e0.hasStandardBrowserEnv && (D.isFunction(o) && (o = o(r)), o === !0 || o == null && Ds(r.url))) {
2707
2712
  const p = i && a && Fs.read(a);
2708
2713
  p && s.set(i, p);
2709
2714
  }
2710
- return t;
2715
+ return r;
2711
2716
  }, Ps = typeof XMLHttpRequest < "u", Ts = Ps && function(e) {
2712
- return new Promise(function(n, r) {
2717
+ return new Promise(function(n, t) {
2713
2718
  const o = Hn(e);
2714
2719
  let i = o.data;
2715
2720
  const a = f0.from(o.headers).normalize();
@@ -2737,7 +2742,7 @@ const ks = (e) => encodeURIComponent(e).replace(
2737
2742
  n(m), v();
2738
2743
  },
2739
2744
  function(m) {
2740
- r(m), v();
2745
+ t(m), v();
2741
2746
  },
2742
2747
  A
2743
2748
  ), h = null;
@@ -2745,14 +2750,14 @@ const ks = (e) => encodeURIComponent(e).replace(
2745
2750
  "onloadend" in h ? h.onloadend = B : h.onreadystatechange = function() {
2746
2751
  !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.startsWith("file:")) || setTimeout(B);
2747
2752
  }, h.onabort = function() {
2748
- h && (r(new H("Request aborted", H.ECONNABORTED, e, h)), v(), h = null);
2753
+ h && (t(new H("Request aborted", H.ECONNABORTED, e, h)), v(), h = null);
2749
2754
  }, h.onerror = function(E) {
2750
2755
  const A = E && E.message ? E.message : "Network Error", y = new H(A, H.ERR_NETWORK, e, h);
2751
- y.event = E || null, r(y), v(), h = null;
2756
+ y.event = E || null, t(y), v(), h = null;
2752
2757
  }, h.ontimeout = function() {
2753
2758
  let E = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
2754
2759
  const A = o.transitional || It;
2755
- o.timeoutErrorMessage && (E = o.timeoutErrorMessage), r(
2760
+ o.timeoutErrorMessage && (E = o.timeoutErrorMessage), t(
2756
2761
  new H(
2757
2762
  E,
2758
2763
  A.clarifyTimeoutError ? H.ETIMEDOUT : H.ECONNABORTED,
@@ -2763,11 +2768,11 @@ const ks = (e) => encodeURIComponent(e).replace(
2763
2768
  }, i === void 0 && a.setContentType(null), "setRequestHeader" in h && D.forEach(a.toJSON(), function(E, A) {
2764
2769
  h.setRequestHeader(A, E);
2765
2770
  }), D.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), s && s !== "json" && (h.responseType = o.responseType), c && ([l, g] = le(c, !0), h.addEventListener("progress", l)), x && h.upload && ([C, p] = le(x), h.upload.addEventListener("progress", C), h.upload.addEventListener("loadend", p)), (o.cancelToken || o.signal) && (f = (d) => {
2766
- h && (r(!d || d.type ? new J0(null, e, h) : d), h.abort(), v(), h = null);
2771
+ h && (t(!d || d.type ? new J0(null, e, h) : d), h.abort(), v(), h = null);
2767
2772
  }, o.cancelToken && o.cancelToken.subscribe(f), o.signal && (o.signal.aborted ? f() : o.signal.addEventListener("abort", f)));
2768
2773
  const u = bs(o.url);
2769
2774
  if (u && !e0.protocols.includes(u)) {
2770
- r(
2775
+ t(
2771
2776
  new H(
2772
2777
  "Unsupported protocol " + u + ":",
2773
2778
  H.ERR_BAD_REQUEST,
@@ -2778,63 +2783,63 @@ const ks = (e) => encodeURIComponent(e).replace(
2778
2783
  }
2779
2784
  h.send(i || null);
2780
2785
  });
2781
- }, Is = (e, t) => {
2786
+ }, Is = (e, r) => {
2782
2787
  const { length: n } = e = e ? e.filter(Boolean) : [];
2783
- if (t || n) {
2784
- let r = new AbortController(), o;
2788
+ if (r || n) {
2789
+ let t = new AbortController(), o;
2785
2790
  const i = function(c) {
2786
2791
  if (!o) {
2787
2792
  o = !0, s();
2788
2793
  const f = c instanceof Error ? c : this.reason;
2789
- r.abort(
2794
+ t.abort(
2790
2795
  f instanceof H ? f : new J0(f instanceof Error ? f.message : f)
2791
2796
  );
2792
2797
  }
2793
2798
  };
2794
- let a = t && setTimeout(() => {
2795
- a = null, i(new H(`timeout of ${t}ms exceeded`, H.ETIMEDOUT));
2796
- }, t);
2799
+ let a = r && setTimeout(() => {
2800
+ a = null, i(new H(`timeout of ${r}ms exceeded`, H.ETIMEDOUT));
2801
+ }, r);
2797
2802
  const s = () => {
2798
2803
  e && (a && clearTimeout(a), a = null, e.forEach((c) => {
2799
2804
  c.unsubscribe ? c.unsubscribe(i) : c.removeEventListener("abort", i);
2800
2805
  }), e = null);
2801
2806
  };
2802
2807
  e.forEach((c) => c.addEventListener("abort", i));
2803
- const { signal: x } = r;
2808
+ const { signal: x } = t;
2804
2809
  return x.unsubscribe = () => D.asap(s), x;
2805
2810
  }
2806
- }, Ls = Is, Ns = function* (e, t) {
2811
+ }, Ls = Is, Ns = function* (e, r) {
2807
2812
  let n = e.byteLength;
2808
- if (!t || n < t) {
2813
+ if (!r || n < r) {
2809
2814
  yield e;
2810
2815
  return;
2811
2816
  }
2812
- let r = 0, o;
2813
- for (; r < n; )
2814
- o = r + t, yield e.slice(r, o), r = o;
2815
- }, Os = async function* (e, t) {
2817
+ let t = 0, o;
2818
+ for (; t < n; )
2819
+ o = t + r, yield e.slice(t, o), t = o;
2820
+ }, Os = async function* (e, r) {
2816
2821
  for await (const n of Hs(e))
2817
- yield* Ns(n, t);
2822
+ yield* Ns(n, r);
2818
2823
  }, Hs = async function* (e) {
2819
2824
  if (e[Symbol.asyncIterator]) {
2820
2825
  yield* e;
2821
2826
  return;
2822
2827
  }
2823
- const t = e.getReader();
2828
+ const r = e.getReader();
2824
2829
  try {
2825
2830
  for (; ; ) {
2826
- const { done: n, value: r } = await t.read();
2831
+ const { done: n, value: t } = await r.read();
2827
2832
  if (n)
2828
2833
  break;
2829
- yield r;
2834
+ yield t;
2830
2835
  }
2831
2836
  } finally {
2832
- await t.cancel();
2837
+ await r.cancel();
2833
2838
  }
2834
- }, Er = (e, t, n, r) => {
2835
- const o = Os(e, t);
2839
+ }, Er = (e, r, n, t) => {
2840
+ const o = Os(e, r);
2836
2841
  let i = 0, a, s = (x) => {
2837
- a || (a = !0, r && r(x));
2842
+ a || (a = !0, t && t(x));
2838
2843
  };
2839
2844
  return new ReadableStream(
2840
2845
  {
@@ -2867,65 +2872,65 @@ const ks = (e) => encodeURIComponent(e).replace(
2867
2872
  function zs(e) {
2868
2873
  if (!e || typeof e != "string" || !e.startsWith("data:"))
2869
2874
  return 0;
2870
- const t = e.indexOf(",");
2871
- if (t < 0)
2875
+ const r = e.indexOf(",");
2876
+ if (r < 0)
2872
2877
  return 0;
2873
- const n = e.slice(5, t), r = e.slice(t + 1);
2878
+ const n = e.slice(5, r), t = e.slice(r + 1);
2874
2879
  if (/;base64/i.test(n)) {
2875
- let a = r.length;
2876
- const s = r.length;
2880
+ let a = t.length;
2881
+ const s = t.length;
2877
2882
  for (let p = 0; p < s; p++)
2878
- if (r.charCodeAt(p) === 37 && p + 2 < s) {
2879
- const g = r.charCodeAt(p + 1), v = r.charCodeAt(p + 2);
2883
+ if (t.charCodeAt(p) === 37 && p + 2 < s) {
2884
+ const g = t.charCodeAt(p + 1), v = t.charCodeAt(p + 2);
2880
2885
  (g >= 48 && g <= 57 || g >= 65 && g <= 70 || g >= 97 && g <= 102) && (v >= 48 && v <= 57 || v >= 65 && v <= 70 || v >= 97 && v <= 102) && (a -= 2, p += 2);
2881
2886
  }
2882
2887
  let x = 0, c = s - 1;
2883
- const f = (p) => p >= 2 && r.charCodeAt(p - 2) === 37 && // '%'
2884
- r.charCodeAt(p - 1) === 51 && // '3'
2885
- (r.charCodeAt(p) === 68 || r.charCodeAt(p) === 100);
2886
- c >= 0 && (r.charCodeAt(c) === 61 ? (x++, c--) : f(c) && (x++, c -= 3)), x === 1 && c >= 0 && (r.charCodeAt(c) === 61 || f(c)) && x++;
2888
+ const f = (p) => p >= 2 && t.charCodeAt(p - 2) === 37 && // '%'
2889
+ t.charCodeAt(p - 1) === 51 && // '3'
2890
+ (t.charCodeAt(p) === 68 || t.charCodeAt(p) === 100);
2891
+ c >= 0 && (t.charCodeAt(c) === 61 ? (x++, c--) : f(c) && (x++, c -= 3)), x === 1 && c >= 0 && (t.charCodeAt(c) === 61 || f(c)) && x++;
2887
2892
  const l = Math.floor(a / 4) * 3 - (x || 0);
2888
2893
  return l > 0 ? l : 0;
2889
2894
  }
2890
2895
  if (typeof Buffer < "u" && typeof Buffer.byteLength == "function")
2891
- return Buffer.byteLength(r, "utf8");
2896
+ return Buffer.byteLength(t, "utf8");
2892
2897
  let i = 0;
2893
- for (let a = 0, s = r.length; a < s; a++) {
2894
- const x = r.charCodeAt(a);
2898
+ for (let a = 0, s = t.length; a < s; a++) {
2899
+ const x = t.charCodeAt(a);
2895
2900
  if (x < 128)
2896
2901
  i += 1;
2897
2902
  else if (x < 2048)
2898
2903
  i += 2;
2899
2904
  else if (x >= 55296 && x <= 56319 && a + 1 < s) {
2900
- const c = r.charCodeAt(a + 1);
2905
+ const c = t.charCodeAt(a + 1);
2901
2906
  c >= 56320 && c <= 57343 ? (i += 4, a++) : i += 3;
2902
2907
  } else
2903
2908
  i += 3;
2904
2909
  }
2905
2910
  return i;
2906
2911
  }
2907
- const Ht = "1.16.0", Br = 64 * 1024, { isFunction: ie } = D, Cr = (e, ...t) => {
2912
+ const Ht = "1.16.0", Br = 64 * 1024, { isFunction: ie } = D, Cr = (e, ...r) => {
2908
2913
  try {
2909
- return !!e(...t);
2914
+ return !!e(...r);
2910
2915
  } catch {
2911
2916
  return !1;
2912
2917
  }
2913
2918
  }, Us = (e) => {
2914
- const t = D.global ?? globalThis, { ReadableStream: n, TextEncoder: r } = t;
2919
+ const r = D.global ?? globalThis, { ReadableStream: n, TextEncoder: t } = r;
2915
2920
  e = D.merge.call(
2916
2921
  {
2917
2922
  skipUndefined: !0
2918
2923
  },
2919
2924
  {
2920
- Request: t.Request,
2921
- Response: t.Response
2925
+ Request: r.Request,
2926
+ Response: r.Response
2922
2927
  },
2923
2928
  e
2924
2929
  );
2925
2930
  const { fetch: o, Request: i, Response: a } = e, s = o ? ie(o) : typeof fetch == "function", x = ie(i), c = ie(a);
2926
2931
  if (!s)
2927
2932
  return !1;
2928
- const f = s && ie(n), C = s && (typeof r == "function" ? ((B) => (u) => B.encode(u))(new r()) : async (B) => new Uint8Array(await new i(B).arrayBuffer())), l = x && f && Cr(() => {
2933
+ const f = s && ie(n), C = s && (typeof t == "function" ? ((B) => (u) => B.encode(u))(new t()) : async (B) => new Uint8Array(await new i(B).arrayBuffer())), l = x && f && Cr(() => {
2929
2934
  let B = !1;
2930
2935
  const u = new i(e0.origin, {
2931
2936
  body: new n(),
@@ -3091,7 +3096,7 @@ const Ht = "1.16.0", Br = 64 * 1024, { isFunction: ie } = D, Cr = (e, ...t) => {
3091
3096
  );
3092
3097
  if (z && !p && !K) {
3093
3098
  let N;
3094
- if (G != null && (typeof G.byteLength == "number" ? N = G.byteLength : typeof G.size == "number" ? N = G.size : typeof G == "string" && (N = typeof r == "function" ? new r().encode(G).byteLength : G.length)), typeof N == "number" && N > L)
3099
+ if (G != null && (typeof G.byteLength == "number" ? N = G.byteLength : typeof G.size == "number" ? N = G.size : typeof G == "string" && (N = typeof t == "function" ? new t().encode(G).byteLength : G.length)), typeof N == "number" && N > L)
3095
3100
  throw new H(
3096
3101
  "maxContentLength size of " + L + " exceeded",
3097
3102
  H.ERR_BAD_RESPONSE,
@@ -3129,11 +3134,11 @@ const Ht = "1.16.0", Br = 64 * 1024, { isFunction: ie } = D, Cr = (e, ...t) => {
3129
3134
  }
3130
3135
  };
3131
3136
  }, Ms = /* @__PURE__ */ new Map(), zn = (e) => {
3132
- let t = e && e.env || {};
3133
- const { fetch: n, Request: r, Response: o } = t, i = [r, o, n];
3137
+ let r = e && e.env || {};
3138
+ const { fetch: n, Request: t, Response: o } = r, i = [t, o, n];
3134
3139
  let a = i.length, s = a, x, c, f = Ms;
3135
3140
  for (; s--; )
3136
- x = i[s], c = f.get(x), c === void 0 && f.set(x, c = s ? /* @__PURE__ */ new Map() : Us(t)), f = c;
3141
+ x = i[s], c = f.get(x), c === void 0 && f.set(x, c = s ? /* @__PURE__ */ new Map() : Us(r)), f = c;
3137
3142
  return c;
3138
3143
  };
3139
3144
  zn();
@@ -3144,27 +3149,27 @@ const zt = {
3144
3149
  get: zn
3145
3150
  }
3146
3151
  };
3147
- D.forEach(zt, (e, t) => {
3152
+ D.forEach(zt, (e, r) => {
3148
3153
  if (e) {
3149
3154
  try {
3150
- Object.defineProperty(e, "name", { __proto__: null, value: t });
3155
+ Object.defineProperty(e, "name", { __proto__: null, value: r });
3151
3156
  } catch {
3152
3157
  }
3153
- Object.defineProperty(e, "adapterName", { __proto__: null, value: t });
3158
+ Object.defineProperty(e, "adapterName", { __proto__: null, value: r });
3154
3159
  }
3155
3160
  });
3156
3161
  const Ar = (e) => `- ${e}`, qs = (e) => D.isFunction(e) || e === null || e === !1;
3157
- function js(e, t) {
3162
+ function js(e, r) {
3158
3163
  e = D.isArray(e) ? e : [e];
3159
3164
  const { length: n } = e;
3160
- let r, o;
3165
+ let t, o;
3161
3166
  const i = {};
3162
3167
  for (let a = 0; a < n; a++) {
3163
- r = e[a];
3168
+ t = e[a];
3164
3169
  let s;
3165
- if (o = r, !qs(r) && (o = zt[(s = String(r)).toLowerCase()], o === void 0))
3170
+ if (o = t, !qs(t) && (o = zt[(s = String(t)).toLowerCase()], o === void 0))
3166
3171
  throw new H(`Unknown adapter '${s}'`);
3167
- if (o && (D.isFunction(o) || (o = o.get(t))))
3172
+ if (o && (D.isFunction(o) || (o = o.get(r))))
3168
3173
  break;
3169
3174
  i[s || "#" + a] = o;
3170
3175
  }
@@ -3200,46 +3205,46 @@ function Ne(e) {
3200
3205
  }
3201
3206
  function br(e) {
3202
3207
  return Ne(e), e.headers = f0.from(e.headers), e.data = Le.call(e, e.transformRequest), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Un.getAdapter(e.adapter || Ot.adapter, e)(e).then(
3203
- function(r) {
3204
- Ne(e), e.response = r;
3208
+ function(t) {
3209
+ Ne(e), e.response = t;
3205
3210
  try {
3206
- r.data = Le.call(e, e.transformResponse, r);
3211
+ t.data = Le.call(e, e.transformResponse, t);
3207
3212
  } finally {
3208
3213
  delete e.response;
3209
3214
  }
3210
- return r.headers = f0.from(r.headers), r;
3215
+ return t.headers = f0.from(t.headers), t;
3211
3216
  },
3212
- function(r) {
3213
- if (!Ln(r) && (Ne(e), r && r.response)) {
3214
- e.response = r.response;
3217
+ function(t) {
3218
+ if (!Ln(t) && (Ne(e), t && t.response)) {
3219
+ e.response = t.response;
3215
3220
  try {
3216
- r.response.data = Le.call(
3221
+ t.response.data = Le.call(
3217
3222
  e,
3218
3223
  e.transformResponse,
3219
- r.response
3224
+ t.response
3220
3225
  );
3221
3226
  } finally {
3222
3227
  delete e.response;
3223
3228
  }
3224
- r.response.headers = f0.from(r.response.headers);
3229
+ t.response.headers = f0.from(t.response.headers);
3225
3230
  }
3226
- return Promise.reject(r);
3231
+ return Promise.reject(t);
3227
3232
  }
3228
3233
  );
3229
3234
  }
3230
3235
  const me = {};
3231
- ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
3232
- me[e] = function(r) {
3233
- return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
3236
+ ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, r) => {
3237
+ me[e] = function(t) {
3238
+ return typeof t === e || "a" + (r < 1 ? "n " : " ") + e;
3234
3239
  };
3235
3240
  });
3236
3241
  const yr = {};
3237
- me.transitional = function(t, n, r) {
3242
+ me.transitional = function(r, n, t) {
3238
3243
  function o(i, a) {
3239
- return "[Axios v" + Ht + "] Transitional option '" + i + "'" + a + (r ? ". " + r : "");
3244
+ return "[Axios v" + Ht + "] Transitional option '" + i + "'" + a + (t ? ". " + t : "");
3240
3245
  }
3241
3246
  return (i, a, s) => {
3242
- if (t === !1)
3247
+ if (r === !1)
3243
3248
  throw new H(
3244
3249
  o(a, " has been removed" + (n ? " in " + n : "")),
3245
3250
  H.ERR_DEPRECATED
@@ -3249,19 +3254,19 @@ me.transitional = function(t, n, r) {
3249
3254
  a,
3250
3255
  " has been deprecated since v" + n + " and will be removed in the near future"
3251
3256
  )
3252
- )), t ? t(i, a, s) : !0;
3257
+ )), r ? r(i, a, s) : !0;
3253
3258
  };
3254
3259
  };
3255
- me.spelling = function(t) {
3256
- return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
3260
+ me.spelling = function(r) {
3261
+ return (n, t) => (console.warn(`${t} is likely a misspelling of ${r}`), !0);
3257
3262
  };
3258
- function $s(e, t, n) {
3263
+ function $s(e, r, n) {
3259
3264
  if (typeof e != "object")
3260
3265
  throw new H("options must be an object", H.ERR_BAD_OPTION_VALUE);
3261
- const r = Object.keys(e);
3262
- let o = r.length;
3266
+ const t = Object.keys(e);
3267
+ let o = t.length;
3263
3268
  for (; o-- > 0; ) {
3264
- const i = r[o], a = Object.prototype.hasOwnProperty.call(t, i) ? t[i] : void 0;
3269
+ const i = t[o], a = Object.prototype.hasOwnProperty.call(r, i) ? r[i] : void 0;
3265
3270
  if (a) {
3266
3271
  const s = e[i], x = s === void 0 || a(s, i, e);
3267
3272
  if (x !== !0)
@@ -3280,8 +3285,8 @@ const ce = {
3280
3285
  validators: me
3281
3286
  }, a0 = ce.validators;
3282
3287
  class de {
3283
- constructor(t) {
3284
- this.defaults = t || {}, this.interceptors = {
3288
+ constructor(r) {
3289
+ this.defaults = r || {}, this.interceptors = {
3285
3290
  request: new hr(),
3286
3291
  response: new hr()
3287
3292
  };
@@ -3294,11 +3299,11 @@ class de {
3294
3299
  *
3295
3300
  * @returns {Promise} The Promise to be fulfilled
3296
3301
  */
3297
- async request(t, n) {
3302
+ async request(r, n) {
3298
3303
  try {
3299
- return await this._request(t, n);
3300
- } catch (r) {
3301
- if (r instanceof Error) {
3304
+ return await this._request(r, n);
3305
+ } catch (t) {
3306
+ if (t instanceof Error) {
3302
3307
  let o = {};
3303
3308
  Error.captureStackTrace ? Error.captureStackTrace(o) : o = new Error();
3304
3309
  const i = (() => {
@@ -3309,26 +3314,26 @@ class de {
3309
3314
  return a === -1 ? "" : o.stack.slice(a + 1);
3310
3315
  })();
3311
3316
  try {
3312
- if (!r.stack)
3313
- r.stack = i;
3317
+ if (!t.stack)
3318
+ t.stack = i;
3314
3319
  else if (i) {
3315
3320
  const a = i.indexOf(`
3316
3321
  `), s = a === -1 ? -1 : i.indexOf(`
3317
3322
  `, a + 1), x = s === -1 ? "" : i.slice(s + 1);
3318
- String(r.stack).endsWith(x) || (r.stack += `
3323
+ String(t.stack).endsWith(x) || (t.stack += `
3319
3324
  ` + i);
3320
3325
  }
3321
3326
  } catch {
3322
3327
  }
3323
3328
  }
3324
- throw r;
3329
+ throw t;
3325
3330
  }
3326
3331
  }
3327
- _request(t, n) {
3328
- typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = D0(this.defaults, n);
3329
- const { transitional: r, paramsSerializer: o, headers: i } = n;
3330
- r !== void 0 && ce.assertOptions(
3331
- r,
3332
+ _request(r, n) {
3333
+ typeof r == "string" ? (n = n || {}, n.url = r) : n = r || {}, n = D0(this.defaults, n);
3334
+ const { transitional: t, paramsSerializer: o, headers: i } = n;
3335
+ t !== void 0 && ce.assertOptions(
3336
+ t,
3332
3337
  {
3333
3338
  silentJSONParsing: a0.transitional(a0.boolean),
3334
3339
  forcedJSONParsing: a0.transitional(a0.boolean),
@@ -3397,30 +3402,30 @@ class de {
3397
3402
  f = f.then(c[C++], c[C++]);
3398
3403
  return f;
3399
3404
  }
3400
- getUri(t) {
3401
- t = D0(this.defaults, t);
3402
- const n = On(t.baseURL, t.url, t.allowAbsoluteUrls);
3403
- return Tn(n, t.params, t.paramsSerializer);
3405
+ getUri(r) {
3406
+ r = D0(this.defaults, r);
3407
+ const n = On(r.baseURL, r.url, r.allowAbsoluteUrls);
3408
+ return Tn(n, r.params, r.paramsSerializer);
3404
3409
  }
3405
3410
  }
3406
- D.forEach(["delete", "get", "head", "options"], function(t) {
3407
- de.prototype[t] = function(n, r) {
3411
+ D.forEach(["delete", "get", "head", "options"], function(r) {
3412
+ de.prototype[r] = function(n, t) {
3408
3413
  return this.request(
3409
- D0(r || {}, {
3410
- method: t,
3414
+ D0(t || {}, {
3415
+ method: r,
3411
3416
  url: n,
3412
- data: (r || {}).data
3417
+ data: (t || {}).data
3413
3418
  })
3414
3419
  );
3415
3420
  };
3416
3421
  });
3417
- D.forEach(["post", "put", "patch", "query"], function(t) {
3418
- function n(r) {
3422
+ D.forEach(["post", "put", "patch", "query"], function(r) {
3423
+ function n(t) {
3419
3424
  return function(i, a, s) {
3420
3425
  return this.request(
3421
3426
  D0(s || {}, {
3422
- method: t,
3423
- headers: r ? {
3427
+ method: r,
3428
+ headers: t ? {
3424
3429
  "Content-Type": "multipart/form-data"
3425
3430
  } : {},
3426
3431
  url: i,
@@ -3429,35 +3434,35 @@ D.forEach(["post", "put", "patch", "query"], function(t) {
3429
3434
  );
3430
3435
  };
3431
3436
  }
3432
- de.prototype[t] = n(), t !== "query" && (de.prototype[t + "Form"] = n(!0));
3437
+ de.prototype[r] = n(), r !== "query" && (de.prototype[r + "Form"] = n(!0));
3433
3438
  });
3434
3439
  const xe = de;
3435
3440
  class Ut {
3436
- constructor(t) {
3437
- if (typeof t != "function")
3441
+ constructor(r) {
3442
+ if (typeof r != "function")
3438
3443
  throw new TypeError("executor must be a function.");
3439
3444
  let n;
3440
3445
  this.promise = new Promise(function(i) {
3441
3446
  n = i;
3442
3447
  });
3443
- const r = this;
3448
+ const t = this;
3444
3449
  this.promise.then((o) => {
3445
- if (!r._listeners)
3450
+ if (!t._listeners)
3446
3451
  return;
3447
- let i = r._listeners.length;
3452
+ let i = t._listeners.length;
3448
3453
  for (; i-- > 0; )
3449
- r._listeners[i](o);
3450
- r._listeners = null;
3454
+ t._listeners[i](o);
3455
+ t._listeners = null;
3451
3456
  }), this.promise.then = (o) => {
3452
3457
  let i;
3453
3458
  const a = new Promise((s) => {
3454
- r.subscribe(s), i = s;
3459
+ t.subscribe(s), i = s;
3455
3460
  }).then(o);
3456
3461
  return a.cancel = function() {
3457
- r.unsubscribe(i);
3462
+ t.unsubscribe(i);
3458
3463
  }, a;
3459
- }, t(function(i, a, s) {
3460
- r.reason || (r.reason = new J0(i, a, s), n(r.reason));
3464
+ }, r(function(i, a, s) {
3465
+ t.reason || (t.reason = new J0(i, a, s), n(t.reason));
3461
3466
  });
3462
3467
  }
3463
3468
  /**
@@ -3470,39 +3475,39 @@ class Ut {
3470
3475
  /**
3471
3476
  * Subscribe to the cancel signal
3472
3477
  */
3473
- subscribe(t) {
3478
+ subscribe(r) {
3474
3479
  if (this.reason) {
3475
- t(this.reason);
3480
+ r(this.reason);
3476
3481
  return;
3477
3482
  }
3478
- this._listeners ? this._listeners.push(t) : this._listeners = [t];
3483
+ this._listeners ? this._listeners.push(r) : this._listeners = [r];
3479
3484
  }
3480
3485
  /**
3481
3486
  * Unsubscribe from the cancel signal
3482
3487
  */
3483
- unsubscribe(t) {
3488
+ unsubscribe(r) {
3484
3489
  if (!this._listeners)
3485
3490
  return;
3486
- const n = this._listeners.indexOf(t);
3491
+ const n = this._listeners.indexOf(r);
3487
3492
  n !== -1 && this._listeners.splice(n, 1);
3488
3493
  }
3489
3494
  toAbortSignal() {
3490
- const t = new AbortController(), n = (r) => {
3491
- t.abort(r);
3495
+ const r = new AbortController(), n = (t) => {
3496
+ r.abort(t);
3492
3497
  };
3493
- return this.subscribe(n), t.signal.unsubscribe = () => this.unsubscribe(n), t.signal;
3498
+ return this.subscribe(n), r.signal.unsubscribe = () => this.unsubscribe(n), r.signal;
3494
3499
  }
3495
3500
  /**
3496
3501
  * Returns an object that contains a new `CancelToken` and a function that, when called,
3497
3502
  * cancels the `CancelToken`.
3498
3503
  */
3499
3504
  static source() {
3500
- let t;
3505
+ let r;
3501
3506
  return {
3502
3507
  token: new Ut(function(o) {
3503
- t = o;
3508
+ r = o;
3504
3509
  }),
3505
- cancel: t
3510
+ cancel: r
3506
3511
  };
3507
3512
  }
3508
3513
  }
@@ -3586,13 +3591,13 @@ const Ft = {
3586
3591
  SslHandshakeFailed: 525,
3587
3592
  InvalidSslCertificate: 526
3588
3593
  };
3589
- Object.entries(Ft).forEach(([e, t]) => {
3590
- Ft[t] = e;
3594
+ Object.entries(Ft).forEach(([e, r]) => {
3595
+ Ft[r] = e;
3591
3596
  });
3592
3597
  const Gs = Ft;
3593
3598
  function Mn(e) {
3594
- const t = new xe(e), n = yn(xe.prototype.request, t);
3595
- return D.extend(n, xe.prototype, t, { allOwnKeys: !0 }), D.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
3599
+ const r = new xe(e), n = yn(xe.prototype.request, r);
3600
+ return D.extend(n, xe.prototype, r, { allOwnKeys: !0 }), D.extend(n, r, null, { allOwnKeys: !0 }), n.create = function(o) {
3596
3601
  return Mn(D0(e, o));
3597
3602
  }, n;
3598
3603
  }
@@ -3605,8 +3610,8 @@ Q.VERSION = Ht;
3605
3610
  Q.toFormData = ye;
3606
3611
  Q.AxiosError = H;
3607
3612
  Q.Cancel = Q.CanceledError;
3608
- Q.all = function(t) {
3609
- return Promise.all(t);
3613
+ Q.all = function(r) {
3614
+ return Promise.all(r);
3610
3615
  };
3611
3616
  Q.spread = Ks;
3612
3617
  Q.isAxiosError = Vs;
@@ -3625,8 +3630,8 @@ const Xs = Q, Mt = Xs.create({
3625
3630
  });
3626
3631
  Mt.interceptors.request.use(
3627
3632
  (e) => {
3628
- const t = localStorage.getItem("beaver_access_token") || "", n = {
3629
- Authorization: t ? `Bearer ${t}` : ""
3633
+ const r = localStorage.getItem("beaver_access_token") || "", n = {
3634
+ Authorization: r ? `Bearer ${r}` : ""
3630
3635
  };
3631
3636
  return e.headers = Object.assign({}, e.headers, n), e;
3632
3637
  },
@@ -3634,45 +3639,45 @@ Mt.interceptors.request.use(
3634
3639
  );
3635
3640
  Mt.interceptors.response.use(
3636
3641
  (e) => {
3637
- const t = e.data;
3638
- return t.code !== 0 && t.msg.includes("token") ? (localStorage.removeItem("beaver_access_token"), localStorage.removeItem("beaver_refresh_token"), Promise.reject(new Error("认证失败,请重新登录"))) : e.data;
3642
+ const r = e.data;
3643
+ return r.code !== 0 && r.msg.includes("token") ? (localStorage.removeItem("beaver_access_token"), localStorage.removeItem("beaver_refresh_token"), Promise.reject(new Error("认证失败,请重新登录"))) : e.data;
3639
3644
  },
3640
3645
  (e) => Promise.reject(e)
3641
3646
  );
3642
3647
  function De(e) {
3643
- return Mt(e).then((t) => t).catch((t) => Promise.resolve({
3648
+ return Mt(e).then((r) => r).catch((r) => Promise.resolve({
3644
3649
  code: -1,
3645
- msg: t.message,
3650
+ msg: r.message,
3646
3651
  result: null
3647
3652
  }));
3648
3653
  }
3649
3654
  function Qs(e) {
3650
- return `${X0.oauthBase.replace(/\/$/, "")}/scan?sceneId=${encodeURIComponent(e)}`;
3655
+ return `${H0.oauthBase}/scan?sceneId=${encodeURIComponent(e)}`;
3651
3656
  }
3652
3657
  const Zs = (e) => De({
3653
3658
  method: "POST",
3654
- url: `${X0.apiBase}/api/open/oauth_public/v1/qrcode`,
3659
+ url: `${H0.apiBase}/beaver-open/api/open/oauth_public/v1/qrcode`,
3655
3660
  data: e
3656
3661
  }), Ys = (e) => De({
3657
3662
  method: "GET",
3658
- url: `${X0.apiBase}/api/open/oauth_public/v1/qrcode_status?sceneId=${e.sceneId}`
3659
- }), Js = "http://127.0.0.1:38794", ea = (e) => De({
3663
+ url: `${H0.apiBase}/beaver-open/api/open/oauth_public/v1/qrcode_status?sceneId=${e.sceneId}`
3664
+ }), Js = (e) => De({
3660
3665
  method: "GET",
3661
- url: `${Js}/auth/quick_sign?appid=${encodeURIComponent(e)}`
3662
- }), ta = wt({
3666
+ url: `${H0.localClientBase}/auth/quick_sign?appid=${encodeURIComponent(e)}`
3667
+ }), ea = wt({
3663
3668
  name: "QrcodeLoginView",
3664
3669
  props: {
3665
- appId: {
3670
+ oauthId: {
3666
3671
  type: String,
3667
3672
  required: !0
3668
3673
  }
3669
3674
  },
3670
3675
  emits: ["login-success"],
3671
- setup(e, { emit: t }) {
3672
- const n = c0(""), r = c0(""), o = c0(""), i = c0("waiting"), a = c0(300), s = c0(null);
3676
+ setup(e, { emit: r }) {
3677
+ const n = c0(""), t = c0(""), o = c0(""), i = c0("waiting"), a = c0(300), s = c0(null);
3673
3678
  let x = null, c = null;
3674
3679
  const f = async () => {
3675
- const u = await ea(e.appId);
3680
+ const u = await Js(e.oauthId);
3676
3681
  if (u.code !== 0 || !u.result) {
3677
3682
  console.error(u.msg);
3678
3683
  return;
@@ -3685,9 +3690,9 @@ const Zs = (e) => De({
3685
3690
  };
3686
3691
  }, C = () => {
3687
3692
  var u;
3688
- (u = s.value) != null && u.authCode && t("login-success", s.value.authCode);
3693
+ (u = s.value) != null && u.authCode && r("login-success", s.value.authCode);
3689
3694
  }, l = async (u) => {
3690
- const d = await V0.toDataURL(u, {
3695
+ const d = await G0.toDataURL(u, {
3691
3696
  width: 160,
3692
3697
  margin: 2,
3693
3698
  color: {
@@ -3699,17 +3704,17 @@ const Zs = (e) => De({
3699
3704
  n.value = d;
3700
3705
  }, p = async () => {
3701
3706
  o.value = "", i.value = "waiting";
3702
- const u = await Zs({ appId: e.appId });
3707
+ const u = await Zs({ oauthId: e.oauthId });
3703
3708
  if (u.code !== 0) {
3704
3709
  console.error(u.msg), o.value = u.msg;
3705
3710
  return;
3706
3711
  }
3707
- r.value = u.result.sceneId, a.value = u.result.expireIn, await l(Qs(u.result.sceneId)), g(), h();
3712
+ t.value = u.result.sceneId, a.value = u.result.expireIn, await l(Qs(u.result.sceneId)), g(), h();
3708
3713
  }, g = () => {
3709
3714
  v(), x = window.setInterval(async () => {
3710
- if (!r.value)
3715
+ if (!t.value)
3711
3716
  return;
3712
- const u = await Ys({ sceneId: r.value });
3717
+ const u = await Ys({ sceneId: t.value });
3713
3718
  if (u.code !== 0) {
3714
3719
  console.error(u.msg), o.value = u.msg, v(), B();
3715
3720
  return;
@@ -3722,7 +3727,7 @@ const Zs = (e) => De({
3722
3727
  console.error("授权码缺失"), o.value = "授权码缺失";
3723
3728
  return;
3724
3729
  }
3725
- t("login-success", u.result.code);
3730
+ r("login-success", u.result.code);
3726
3731
  } else
3727
3732
  (d === "expired" || d === "cancelled") && (v(), B(), o.value = d === "expired" ? "二维码已过期" : "已取消登录");
3728
3733
  }, 2e3);
@@ -3747,34 +3752,34 @@ const Zs = (e) => De({
3747
3752
  handleLocalLogin: C
3748
3753
  };
3749
3754
  }
3750
- }), ra = `.qrcode-login-view[data-v-3a819666]{min-height:280px;padding:20px 16px 24px;box-sizing:border-box}.login-columns[data-v-3a819666]{display:flex;justify-content:center;align-items:flex-start;gap:24px}.login-column[data-v-3a819666]{display:flex;flex-direction:column;align-items:center;width:160px}.login-column--clickable[data-v-3a819666]{cursor:pointer}.login-column--clickable:hover .user-card[data-v-3a819666]{border-color:#ff7d45}.login-card[data-v-3a819666]{width:160px;height:160px;border:1px solid #ebeef5;border-radius:8px;overflow:hidden;background:#ffffff;box-sizing:border-box}.qrcode-box[data-v-3a819666]{position:relative;display:flex;align-items:center;justify-content:center}.user-card[data-v-3a819666]{display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;transition:border-color .2s cubic-bezier(.33,1,.68,1)}.user-avatar[data-v-3a819666]{width:100%;height:100%;border-radius:8px;object-fit:cover}.login-column__label[data-v-3a819666]{margin-top:15px;font-size:14px;line-height:1.5;text-align:center;color:#2d3436;font-weight:500;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.login-column__label--action[data-v-3a819666]{color:#ff7d45;font-weight:500;cursor:pointer;transition:color .2s cubic-bezier(.33,1,.68,1);-webkit-user-select:none;user-select:none}.login-column__label--action[data-v-3a819666]:hover{color:#e86835}.qr-code-img[data-v-3a819666]{width:100%;height:100%;object-fit:contain}.qr-placeholder[data-v-3a819666]{color:#b2bec3;font-size:13px}.qrcode-mask[data-v-3a819666]{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(255,255,255,.95);display:flex;align-items:center;justify-content:center}.mask-content[data-v-3a819666]{text-align:center}.mask-content p[data-v-3a819666]{margin:4px 0;font-size:13px;color:#ff7d45;line-height:1.5}.login-error[data-v-3a819666]{margin:16px 0 0;font-size:12px;color:#ff5252;line-height:1.4;text-align:center}
3751
- `, qt = (e, t) => {
3755
+ }), ta = `.qrcode-login-view[data-v-51bb6762]{min-height:280px;padding:20px 16px 24px;box-sizing:border-box}.login-columns[data-v-51bb6762]{display:flex;justify-content:center;align-items:flex-start;gap:24px}.login-column[data-v-51bb6762]{display:flex;flex-direction:column;align-items:center;width:160px}.login-column--clickable[data-v-51bb6762]{cursor:pointer}.login-column--clickable:hover .user-card[data-v-51bb6762]{border-color:#ff7d45}.login-card[data-v-51bb6762]{width:160px;height:160px;border:1px solid #ebeef5;border-radius:8px;overflow:hidden;background:#ffffff;box-sizing:border-box}.qrcode-box[data-v-51bb6762]{position:relative;display:flex;align-items:center;justify-content:center}.user-card[data-v-51bb6762]{display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;transition:border-color .2s cubic-bezier(.33,1,.68,1)}.user-avatar[data-v-51bb6762]{width:100%;height:100%;border-radius:8px;object-fit:cover}.login-column__label[data-v-51bb6762]{margin-top:15px;font-size:14px;line-height:1.5;text-align:center;color:#2d3436;font-weight:500;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.login-column__label--action[data-v-51bb6762]{color:#ff7d45;font-weight:500;cursor:pointer;transition:color .2s cubic-bezier(.33,1,.68,1);-webkit-user-select:none;user-select:none}.login-column__label--action[data-v-51bb6762]:hover{color:#e86835}.qr-code-img[data-v-51bb6762]{width:100%;height:100%;object-fit:contain}.qr-placeholder[data-v-51bb6762]{color:#b2bec3;font-size:13px}.qrcode-mask[data-v-51bb6762]{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(255,255,255,.95);display:flex;align-items:center;justify-content:center}.mask-content[data-v-51bb6762]{text-align:center}.mask-content p[data-v-51bb6762]{margin:4px 0;font-size:13px;color:#ff7d45;line-height:1.5}.login-error[data-v-51bb6762]{margin:16px 0 0;font-size:12px;color:#ff5252;line-height:1.4;text-align:center}
3756
+ `, qt = (e, r) => {
3752
3757
  const n = e.__vccOpts || e;
3753
- for (const [r, o] of t)
3754
- n[r] = o;
3758
+ for (const [t, o] of r)
3759
+ n[t] = o;
3755
3760
  return n;
3756
- }, na = { class: "qrcode-login-view" }, oa = { class: "login-columns" }, ia = { class: "login-column" }, sa = { class: "login-card qrcode-box" }, aa = ["src"], ca = {
3761
+ }, ra = { class: "qrcode-login-view" }, na = { class: "login-columns" }, oa = { class: "login-column" }, ia = { class: "login-card qrcode-box" }, sa = ["src"], aa = {
3757
3762
  key: 1,
3758
3763
  class: "qr-placeholder"
3759
- }, xa = {
3764
+ }, ca = {
3760
3765
  key: 2,
3761
3766
  class: "qrcode-mask"
3762
- }, fa = { class: "login-card user-card" }, ua = ["src"], la = { class: "login-column__label" }, da = {
3767
+ }, xa = { class: "login-card user-card" }, fa = ["src"], ua = { class: "login-column__label" }, la = {
3763
3768
  key: 0,
3764
3769
  class: "login-error"
3765
3770
  };
3766
- function ha(e, t, n, r, o, i) {
3767
- return x0(), h0("div", na, [
3768
- X("div", oa, [
3769
- X("div", ia, [
3770
- X("div", sa, [
3771
+ function da(e, r, n, t, o, i) {
3772
+ return x0(), h0("div", ra, [
3773
+ X("div", na, [
3774
+ X("div", oa, [
3775
+ X("div", ia, [
3771
3776
  e.qrCodeDataUrl ? (x0(), h0("img", {
3772
3777
  key: 0,
3773
3778
  src: e.qrCodeDataUrl,
3774
3779
  alt: "二维码",
3775
3780
  class: "qr-code-img"
3776
- }, null, 8, aa)) : (x0(), h0("div", ca, "加载中...")),
3777
- e.scanStatus === "scanned" ? (x0(), h0("div", xa, [...t[2] || (t[2] = [
3781
+ }, null, 8, sa)) : (x0(), h0("div", aa, "加载中...")),
3782
+ e.scanStatus === "scanned" ? (x0(), h0("div", ca, [...r[2] || (r[2] = [
3778
3783
  X("div", { class: "mask-content" }, [
3779
3784
  X("p", null, "扫描成功"),
3780
3785
  X("p", null, "请在手机上确认登录")
@@ -3783,48 +3788,48 @@ function ha(e, t, n, r, o, i) {
3783
3788
  ]),
3784
3789
  X("span", {
3785
3790
  class: "login-column__label login-column__label--action",
3786
- onClick: t[0] || (t[0] = (...a) => e.initQrCode && e.initQrCode(...a))
3791
+ onClick: r[0] || (r[0] = (...a) => e.initQrCode && e.initQrCode(...a))
3787
3792
  }, " 刷新二维码 ")
3788
3793
  ]),
3789
3794
  e.localUserInfo ? (x0(), h0("div", {
3790
3795
  key: 0,
3791
3796
  class: "login-column login-column--clickable",
3792
- onClick: t[1] || (t[1] = (...a) => e.handleLocalLogin && e.handleLocalLogin(...a))
3797
+ onClick: r[1] || (r[1] = (...a) => e.handleLocalLogin && e.handleLocalLogin(...a))
3793
3798
  }, [
3794
- X("div", fa, [
3799
+ X("div", xa, [
3795
3800
  X("img", {
3796
3801
  src: e.localUserInfo.avatar,
3797
3802
  alt: "用户头像",
3798
3803
  class: "user-avatar"
3799
- }, null, 8, ua)
3804
+ }, null, 8, fa)
3800
3805
  ]),
3801
- X("span", la, k0(e.localUserInfo.nickname), 1)
3806
+ X("span", ua, P0(e.localUserInfo.nickname), 1)
3802
3807
  ])) : m0("", !0)
3803
3808
  ]),
3804
- e.error ? (x0(), h0("p", da, k0(e.error), 1)) : m0("", !0)
3809
+ e.error ? (x0(), h0("p", la, P0(e.error), 1)) : m0("", !0)
3805
3810
  ]);
3806
3811
  }
3807
- const pa = /* @__PURE__ */ qt(ta, [["render", ha], ["styles", [ra]], ["__scopeId", "data-v-3a819666"]]);
3812
+ const ha = /* @__PURE__ */ qt(ea, [["render", da], ["styles", [ta]], ["__scopeId", "data-v-51bb6762"]]);
3808
3813
  var qn = { exports: {} };
3809
- function va(e) {
3814
+ function pa(e) {
3810
3815
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
3811
3816
  }
3812
3817
  var Oe = { exports: {} };
3813
- const ga = {}, Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3818
+ const va = {}, ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3814
3819
  __proto__: null,
3815
- default: ga
3816
- }, Symbol.toStringTag, { value: "Module" })), Ba = /* @__PURE__ */ po(Ea);
3820
+ default: va
3821
+ }, Symbol.toStringTag, { value: "Module" })), Ea = /* @__PURE__ */ po(ga);
3817
3822
  var mr;
3818
3823
  function $() {
3819
- return mr || (mr = 1, function(e, t) {
3820
- (function(n, r) {
3821
- e.exports = r();
3824
+ return mr || (mr = 1, function(e, r) {
3825
+ (function(n, t) {
3826
+ e.exports = t();
3822
3827
  })(M, function() {
3823
- var n = n || function(r, o) {
3828
+ var n = n || function(t, o) {
3824
3829
  var i;
3825
- if (typeof window < "u" && window.crypto && (i = window.crypto), typeof self < "u" && self.crypto && (i = self.crypto), typeof globalThis < "u" && globalThis.crypto && (i = globalThis.crypto), !i && typeof window < "u" && window.msCrypto && (i = window.msCrypto), !i && typeof M < "u" && M.crypto && (i = M.crypto), !i && typeof va == "function")
3830
+ if (typeof window < "u" && window.crypto && (i = window.crypto), typeof self < "u" && self.crypto && (i = self.crypto), typeof globalThis < "u" && globalThis.crypto && (i = globalThis.crypto), !i && typeof window < "u" && window.msCrypto && (i = window.msCrypto), !i && typeof M < "u" && M.crypto && (i = M.crypto), !i && typeof pa == "function")
3826
3831
  try {
3827
- i = Ba;
3832
+ i = Ea;
3828
3833
  } catch {
3829
3834
  }
3830
3835
  var a = function() {
@@ -3997,7 +4002,7 @@ function $() {
3997
4002
  */
3998
4003
  clamp: function() {
3999
4004
  var u = this.words, d = this.sigBytes;
4000
- u[d >>> 2] &= 4294967295 << 32 - d % 4 * 8, u.length = r.ceil(d / 4);
4005
+ u[d >>> 2] &= 4294967295 << 32 - d % 4 * 8, u.length = t.ceil(d / 4);
4001
4006
  },
4002
4007
  /**
4003
4008
  * Creates a copy of this word array.
@@ -4185,8 +4190,8 @@ function $() {
4185
4190
  */
4186
4191
  _process: function(u) {
4187
4192
  var d, E = this._data, A = E.words, y = E.sigBytes, m = this.blockSize, w = m * 4, I = y / w;
4188
- u ? I = r.ceil(I) : I = r.max((I | 0) - this._minBufferSize, 0);
4189
- var b = I * m, F = r.min(b * 4, y);
4193
+ u ? I = t.ceil(I) : I = t.max((I | 0) - this._minBufferSize, 0);
4194
+ var b = I * m, F = t.min(b * 4, y);
4190
4195
  if (b) {
4191
4196
  for (var S = 0; S < b; S += m)
4192
4197
  this._doProcessBlock(A, S);
@@ -4317,11 +4322,11 @@ function $() {
4317
4322
  }
4318
4323
  var He = { exports: {} }, Dr;
4319
4324
  function Fe() {
4320
- return Dr || (Dr = 1, function(e, t) {
4321
- (function(n, r) {
4322
- e.exports = r($());
4325
+ return Dr || (Dr = 1, function(e, r) {
4326
+ (function(n, t) {
4327
+ e.exports = t($());
4323
4328
  })(M, function(n) {
4324
- return function(r) {
4329
+ return function(t) {
4325
4330
  var o = n, i = o.lib, a = i.Base, s = i.WordArray, x = o.x64 = {};
4326
4331
  x.Word = a.extend({
4327
4332
  /**
@@ -4508,7 +4513,7 @@ function Fe() {
4508
4513
  * ], 10);
4509
4514
  */
4510
4515
  init: function(c, f) {
4511
- c = this.words = c || [], f != r ? this.sigBytes = f : this.sigBytes = c.length * 8;
4516
+ c = this.words = c || [], f != t ? this.sigBytes = f : this.sigBytes = c.length * 8;
4512
4517
  },
4513
4518
  /**
4514
4519
  * Converts this 64-bit word array to a 32-bit word array.
@@ -4546,14 +4551,14 @@ function Fe() {
4546
4551
  }(He)), He.exports;
4547
4552
  }
4548
4553
  var ze = { exports: {} }, Fr;
4549
- function Ca() {
4550
- return Fr || (Fr = 1, function(e, t) {
4551
- (function(n, r) {
4552
- e.exports = r($());
4554
+ function Ba() {
4555
+ return Fr || (Fr = 1, function(e, r) {
4556
+ (function(n, t) {
4557
+ e.exports = t($());
4553
4558
  })(M, function(n) {
4554
4559
  return function() {
4555
4560
  if (typeof ArrayBuffer == "function") {
4556
- var r = n, o = r.lib, i = o.WordArray, a = i.init, s = i.init = function(x) {
4561
+ var t = n, o = t.lib, i = o.WordArray, a = i.init, s = i.init = function(x) {
4557
4562
  if (x instanceof ArrayBuffer && (x = new Uint8Array(x)), (x instanceof Int8Array || typeof Uint8ClampedArray < "u" && x instanceof Uint8ClampedArray || x instanceof Int16Array || x instanceof Uint16Array || x instanceof Int32Array || x instanceof Uint32Array || x instanceof Float32Array || x instanceof Float64Array) && (x = new Uint8Array(x.buffer, x.byteOffset, x.byteLength)), x instanceof Uint8Array) {
4558
4563
  for (var c = x.byteLength, f = [], C = 0; C < c; C++)
4559
4564
  f[C >>> 2] |= x[C] << 24 - C % 4 * 8;
@@ -4568,13 +4573,13 @@ function Ca() {
4568
4573
  }(ze)), ze.exports;
4569
4574
  }
4570
4575
  var Ue = { exports: {} }, wr;
4571
- function Aa() {
4572
- return wr || (wr = 1, function(e, t) {
4573
- (function(n, r) {
4574
- e.exports = r($());
4576
+ function Ca() {
4577
+ return wr || (wr = 1, function(e, r) {
4578
+ (function(n, t) {
4579
+ e.exports = t($());
4575
4580
  })(M, function(n) {
4576
4581
  return function() {
4577
- var r = n, o = r.lib, i = o.WordArray, a = r.enc;
4582
+ var t = n, o = t.lib, i = o.WordArray, a = t.enc;
4578
4583
  a.Utf16 = a.Utf16BE = {
4579
4584
  /**
4580
4585
  * Converts a word array to a UTF-16 BE string.
@@ -4663,12 +4668,12 @@ function Aa() {
4663
4668
  }
4664
4669
  var Me = { exports: {} }, _r;
4665
4670
  function F0() {
4666
- return _r || (_r = 1, function(e, t) {
4667
- (function(n, r) {
4668
- e.exports = r($());
4671
+ return _r || (_r = 1, function(e, r) {
4672
+ (function(n, t) {
4673
+ e.exports = t($());
4669
4674
  })(M, function(n) {
4670
4675
  return function() {
4671
- var r = n, o = r.lib, i = o.WordArray, a = r.enc;
4676
+ var t = n, o = t.lib, i = o.WordArray, a = t.enc;
4672
4677
  a.Base64 = {
4673
4678
  /**
4674
4679
  * Converts a word array to a Base64 string.
@@ -4737,13 +4742,13 @@ function F0() {
4737
4742
  }(Me)), Me.exports;
4738
4743
  }
4739
4744
  var qe = { exports: {} }, Rr;
4740
- function ba() {
4741
- return Rr || (Rr = 1, function(e, t) {
4742
- (function(n, r) {
4743
- e.exports = r($());
4745
+ function Aa() {
4746
+ return Rr || (Rr = 1, function(e, r) {
4747
+ (function(n, t) {
4748
+ e.exports = t($());
4744
4749
  })(M, function(n) {
4745
4750
  return function() {
4746
- var r = n, o = r.lib, i = o.WordArray, a = r.enc;
4751
+ var t = n, o = t.lib, i = o.WordArray, a = t.enc;
4747
4752
  a.Base64url = {
4748
4753
  /**
4749
4754
  * Converts a word array to a Base64url string.
@@ -4820,15 +4825,15 @@ function ba() {
4820
4825
  }
4821
4826
  var je = { exports: {} }, Sr;
4822
4827
  function w0() {
4823
- return Sr || (Sr = 1, function(e, t) {
4824
- (function(n, r) {
4825
- e.exports = r($());
4828
+ return Sr || (Sr = 1, function(e, r) {
4829
+ (function(n, t) {
4830
+ e.exports = t($());
4826
4831
  })(M, function(n) {
4827
- return function(r) {
4832
+ return function(t) {
4828
4833
  var o = n, i = o.lib, a = i.WordArray, s = i.Hasher, x = o.algo, c = [];
4829
4834
  (function() {
4830
4835
  for (var v = 0; v < 64; v++)
4831
- c[v] = r.abs(r.sin(v + 1)) * 4294967296 | 0;
4836
+ c[v] = t.abs(t.sin(v + 1)) * 4294967296 | 0;
4832
4837
  })();
4833
4838
  var f = x.MD5 = s.extend({
4834
4839
  _doReset: function() {
@@ -4850,7 +4855,7 @@ function w0() {
4850
4855
  _doFinalize: function() {
4851
4856
  var v = this._data, h = v.words, B = this._nDataBytes * 8, u = v.sigBytes * 8;
4852
4857
  h[u >>> 5] |= 128 << 24 - u % 32;
4853
- var d = r.floor(B / 4294967296), E = B;
4858
+ var d = t.floor(B / 4294967296), E = B;
4854
4859
  h[(u + 64 >>> 9 << 4) + 15] = (d << 8 | d >>> 24) & 16711935 | (d << 24 | d >>> 8) & 4278255360, h[(u + 64 >>> 9 << 4) + 14] = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360, v.sigBytes = (h.length + 1) * 4, this._process();
4855
4860
  for (var A = this._hash, y = A.words, m = 0; m < 4; m++) {
4856
4861
  var w = y[m];
@@ -4886,12 +4891,12 @@ function w0() {
4886
4891
  }
4887
4892
  var $e = { exports: {} }, kr;
4888
4893
  function jn() {
4889
- return kr || (kr = 1, function(e, t) {
4890
- (function(n, r) {
4891
- e.exports = r($());
4894
+ return kr || (kr = 1, function(e, r) {
4895
+ (function(n, t) {
4896
+ e.exports = t($());
4892
4897
  })(M, function(n) {
4893
4898
  return function() {
4894
- var r = n, o = r.lib, i = o.WordArray, a = o.Hasher, s = r.algo, x = [], c = s.SHA1 = a.extend({
4899
+ var t = n, o = t.lib, i = o.WordArray, a = o.Hasher, s = t.algo, x = [], c = s.SHA1 = a.extend({
4895
4900
  _doReset: function() {
4896
4901
  this._hash = new i.init([
4897
4902
  1732584193,
@@ -4923,22 +4928,22 @@ function jn() {
4923
4928
  return f._hash = this._hash.clone(), f;
4924
4929
  }
4925
4930
  });
4926
- r.SHA1 = a._createHelper(c), r.HmacSHA1 = a._createHmacHelper(c);
4931
+ t.SHA1 = a._createHelper(c), t.HmacSHA1 = a._createHmacHelper(c);
4927
4932
  }(), n.SHA1;
4928
4933
  });
4929
4934
  }($e)), $e.exports;
4930
4935
  }
4931
4936
  var We = { exports: {} }, Pr;
4932
4937
  function jt() {
4933
- return Pr || (Pr = 1, function(e, t) {
4934
- (function(n, r) {
4935
- e.exports = r($());
4938
+ return Pr || (Pr = 1, function(e, r) {
4939
+ (function(n, t) {
4940
+ e.exports = t($());
4936
4941
  })(M, function(n) {
4937
- return function(r) {
4942
+ return function(t) {
4938
4943
  var o = n, i = o.lib, a = i.WordArray, s = i.Hasher, x = o.algo, c = [], f = [];
4939
4944
  (function() {
4940
4945
  function p(B) {
4941
- for (var u = r.sqrt(B), d = 2; d <= u; d++)
4946
+ for (var u = t.sqrt(B), d = 2; d <= u; d++)
4942
4947
  if (!(B % d))
4943
4948
  return !1;
4944
4949
  return !0;
@@ -4947,7 +4952,7 @@ function jt() {
4947
4952
  return (B - (B | 0)) * 4294967296 | 0;
4948
4953
  }
4949
4954
  for (var v = 2, h = 0; h < 64; )
4950
- p(v) && (h < 8 && (c[h] = g(r.pow(v, 1 / 2))), f[h] = g(r.pow(v, 1 / 3)), h++), v++;
4955
+ p(v) && (h < 8 && (c[h] = g(t.pow(v, 1 / 2))), f[h] = g(t.pow(v, 1 / 3)), h++), v++;
4951
4956
  })();
4952
4957
  var C = [], l = x.SHA256 = s.extend({
4953
4958
  _doReset: function() {
@@ -4968,7 +4973,7 @@ function jt() {
4968
4973
  },
4969
4974
  _doFinalize: function() {
4970
4975
  var p = this._data, g = p.words, v = this._nDataBytes * 8, h = p.sigBytes * 8;
4971
- return g[h >>> 5] |= 128 << 24 - h % 32, g[(h + 64 >>> 9 << 4) + 14] = r.floor(v / 4294967296), g[(h + 64 >>> 9 << 4) + 15] = v, p.sigBytes = g.length * 4, this._process(), this._hash;
4976
+ return g[h >>> 5] |= 128 << 24 - h % 32, g[(h + 64 >>> 9 << 4) + 14] = t.floor(v / 4294967296), g[(h + 64 >>> 9 << 4) + 15] = v, p.sigBytes = g.length * 4, this._process(), this._hash;
4972
4977
  },
4973
4978
  clone: function() {
4974
4979
  var p = s.clone.call(this);
@@ -4981,13 +4986,13 @@ function jt() {
4981
4986
  }(We)), We.exports;
4982
4987
  }
4983
4988
  var Ke = { exports: {} }, Tr;
4984
- function ya() {
4985
- return Tr || (Tr = 1, function(e, t) {
4986
- (function(n, r, o) {
4987
- e.exports = r($(), jt());
4989
+ function ba() {
4990
+ return Tr || (Tr = 1, function(e, r) {
4991
+ (function(n, t, o) {
4992
+ e.exports = t($(), jt());
4988
4993
  })(M, function(n) {
4989
4994
  return function() {
4990
- var r = n, o = r.lib, i = o.WordArray, a = r.algo, s = a.SHA256, x = a.SHA224 = s.extend({
4995
+ var t = n, o = t.lib, i = o.WordArray, a = t.algo, s = a.SHA256, x = a.SHA224 = s.extend({
4991
4996
  _doReset: function() {
4992
4997
  this._hash = new i.init([
4993
4998
  3238371032,
@@ -5005,19 +5010,19 @@ function ya() {
5005
5010
  return c.sigBytes -= 4, c;
5006
5011
  }
5007
5012
  });
5008
- r.SHA224 = s._createHelper(x), r.HmacSHA224 = s._createHmacHelper(x);
5013
+ t.SHA224 = s._createHelper(x), t.HmacSHA224 = s._createHmacHelper(x);
5009
5014
  }(), n.SHA224;
5010
5015
  });
5011
5016
  }(Ke)), Ke.exports;
5012
5017
  }
5013
5018
  var Ve = { exports: {} }, Ir;
5014
5019
  function $n() {
5015
- return Ir || (Ir = 1, function(e, t) {
5016
- (function(n, r, o) {
5017
- e.exports = r($(), Fe());
5020
+ return Ir || (Ir = 1, function(e, r) {
5021
+ (function(n, t, o) {
5022
+ e.exports = t($(), Fe());
5018
5023
  })(M, function(n) {
5019
5024
  return function() {
5020
- var r = n, o = r.lib, i = o.Hasher, a = r.x64, s = a.Word, x = a.WordArray, c = r.algo;
5025
+ var t = n, o = t.lib, i = o.Hasher, a = t.x64, s = a.Word, x = a.WordArray, c = t.algo;
5021
5026
  function f() {
5022
5027
  return s.create.apply(s, arguments);
5023
5028
  }
@@ -5121,18 +5126,18 @@ function $n() {
5121
5126
  ]);
5122
5127
  },
5123
5128
  _doProcessBlock: function(g, v) {
5124
- for (var h = this._hash.words, B = h[0], u = h[1], d = h[2], E = h[3], A = h[4], y = h[5], m = h[6], w = h[7], I = B.high, b = B.low, F = u.high, S = u.low, R = d.high, L = d.low, O = E.high, z = E.low, V = A.high, W = A.low, q = y.high, U = y.low, _ = m.high, T = m.low, k = w.high, P = w.low, j = I, K = b, G = F, N = S, i0 = R, u0 = L, v0 = O, g0 = z, r0 = V, Z = W, ee = q, H0 = U, te = _, z0 = T, we = k, U0 = P, l0 = 0; l0 < 80; l0++) {
5129
+ for (var h = this._hash.words, B = h[0], u = h[1], d = h[2], E = h[3], A = h[4], y = h[5], m = h[6], w = h[7], I = B.high, b = B.low, F = u.high, S = u.low, R = d.high, L = d.low, O = E.high, z = E.low, V = A.high, W = A.low, q = y.high, U = y.low, _ = m.high, T = m.low, k = w.high, P = w.low, j = I, K = b, G = F, N = S, i0 = R, u0 = L, v0 = O, g0 = z, r0 = V, Z = W, ee = q, U0 = U, te = _, M0 = T, we = k, q0 = P, l0 = 0; l0 < 80; l0++) {
5125
5130
  var s0, E0, re = l[l0];
5126
5131
  if (l0 < 16)
5127
5132
  E0 = re.high = g[v + l0 * 2] | 0, s0 = re.low = g[v + l0 * 2 + 1] | 0;
5128
5133
  else {
5129
- var Wt = l[l0 - 15], _0 = Wt.high, M0 = Wt.low, Kn = (_0 >>> 1 | M0 << 31) ^ (_0 >>> 8 | M0 << 24) ^ _0 >>> 7, Kt = (M0 >>> 1 | _0 << 31) ^ (M0 >>> 8 | _0 << 24) ^ (M0 >>> 7 | _0 << 25), Vt = l[l0 - 2], R0 = Vt.high, q0 = Vt.low, Vn = (R0 >>> 19 | q0 << 13) ^ (R0 << 3 | q0 >>> 29) ^ R0 >>> 6, Gt = (q0 >>> 19 | R0 << 13) ^ (q0 << 3 | R0 >>> 29) ^ (q0 >>> 6 | R0 << 26), Xt = l[l0 - 7], Gn = Xt.high, Xn = Xt.low, Qt = l[l0 - 16], Qn = Qt.high, Zt = Qt.low;
5134
+ var Wt = l[l0 - 15], _0 = Wt.high, j0 = Wt.low, Kn = (_0 >>> 1 | j0 << 31) ^ (_0 >>> 8 | j0 << 24) ^ _0 >>> 7, Kt = (j0 >>> 1 | _0 << 31) ^ (j0 >>> 8 | _0 << 24) ^ (j0 >>> 7 | _0 << 25), Vt = l[l0 - 2], R0 = Vt.high, $0 = Vt.low, Vn = (R0 >>> 19 | $0 << 13) ^ (R0 << 3 | $0 >>> 29) ^ R0 >>> 6, Gt = ($0 >>> 19 | R0 << 13) ^ ($0 << 3 | R0 >>> 29) ^ ($0 >>> 6 | R0 << 26), Xt = l[l0 - 7], Gn = Xt.high, Xn = Xt.low, Qt = l[l0 - 16], Qn = Qt.high, Zt = Qt.low;
5130
5135
  s0 = Kt + Xn, E0 = Kn + Gn + (s0 >>> 0 < Kt >>> 0 ? 1 : 0), s0 = s0 + Gt, E0 = E0 + Vn + (s0 >>> 0 < Gt >>> 0 ? 1 : 0), s0 = s0 + Zt, E0 = E0 + Qn + (s0 >>> 0 < Zt >>> 0 ? 1 : 0), re.high = E0, re.low = s0;
5131
5136
  }
5132
- var Zn = r0 & ee ^ ~r0 & te, Yt = Z & H0 ^ ~Z & z0, Yn = j & G ^ j & i0 ^ G & i0, Jn = K & N ^ K & u0 ^ N & u0, eo = (j >>> 28 | K << 4) ^ (j << 30 | K >>> 2) ^ (j << 25 | K >>> 7), Jt = (K >>> 28 | j << 4) ^ (K << 30 | j >>> 2) ^ (K << 25 | j >>> 7), to = (r0 >>> 14 | Z << 18) ^ (r0 >>> 18 | Z << 14) ^ (r0 << 23 | Z >>> 9), ro = (Z >>> 14 | r0 << 18) ^ (Z >>> 18 | r0 << 14) ^ (Z << 23 | r0 >>> 9), er = C[l0], no = er.high, tr = er.low, n0 = U0 + ro, B0 = we + to + (n0 >>> 0 < U0 >>> 0 ? 1 : 0), n0 = n0 + Yt, B0 = B0 + Zn + (n0 >>> 0 < Yt >>> 0 ? 1 : 0), n0 = n0 + tr, B0 = B0 + no + (n0 >>> 0 < tr >>> 0 ? 1 : 0), n0 = n0 + s0, B0 = B0 + E0 + (n0 >>> 0 < s0 >>> 0 ? 1 : 0), rr = Jt + Jn, oo = eo + Yn + (rr >>> 0 < Jt >>> 0 ? 1 : 0);
5133
- we = te, U0 = z0, te = ee, z0 = H0, ee = r0, H0 = Z, Z = g0 + n0 | 0, r0 = v0 + B0 + (Z >>> 0 < g0 >>> 0 ? 1 : 0) | 0, v0 = i0, g0 = u0, i0 = G, u0 = N, G = j, N = K, K = n0 + rr | 0, j = B0 + oo + (K >>> 0 < n0 >>> 0 ? 1 : 0) | 0;
5137
+ var Zn = r0 & ee ^ ~r0 & te, Yt = Z & U0 ^ ~Z & M0, Yn = j & G ^ j & i0 ^ G & i0, Jn = K & N ^ K & u0 ^ N & u0, eo = (j >>> 28 | K << 4) ^ (j << 30 | K >>> 2) ^ (j << 25 | K >>> 7), Jt = (K >>> 28 | j << 4) ^ (K << 30 | j >>> 2) ^ (K << 25 | j >>> 7), to = (r0 >>> 14 | Z << 18) ^ (r0 >>> 18 | Z << 14) ^ (r0 << 23 | Z >>> 9), ro = (Z >>> 14 | r0 << 18) ^ (Z >>> 18 | r0 << 14) ^ (Z << 23 | r0 >>> 9), er = C[l0], no = er.high, tr = er.low, n0 = q0 + ro, B0 = we + to + (n0 >>> 0 < q0 >>> 0 ? 1 : 0), n0 = n0 + Yt, B0 = B0 + Zn + (n0 >>> 0 < Yt >>> 0 ? 1 : 0), n0 = n0 + tr, B0 = B0 + no + (n0 >>> 0 < tr >>> 0 ? 1 : 0), n0 = n0 + s0, B0 = B0 + E0 + (n0 >>> 0 < s0 >>> 0 ? 1 : 0), rr = Jt + Jn, oo = eo + Yn + (rr >>> 0 < Jt >>> 0 ? 1 : 0);
5138
+ we = te, q0 = M0, te = ee, M0 = U0, ee = r0, U0 = Z, Z = g0 + n0 | 0, r0 = v0 + B0 + (Z >>> 0 < g0 >>> 0 ? 1 : 0) | 0, v0 = i0, g0 = u0, i0 = G, u0 = N, G = j, N = K, K = n0 + rr | 0, j = B0 + oo + (K >>> 0 < n0 >>> 0 ? 1 : 0) | 0;
5134
5139
  }
5135
- b = B.low = b + K, B.high = I + j + (b >>> 0 < K >>> 0 ? 1 : 0), S = u.low = S + N, u.high = F + G + (S >>> 0 < N >>> 0 ? 1 : 0), L = d.low = L + u0, d.high = R + i0 + (L >>> 0 < u0 >>> 0 ? 1 : 0), z = E.low = z + g0, E.high = O + v0 + (z >>> 0 < g0 >>> 0 ? 1 : 0), W = A.low = W + Z, A.high = V + r0 + (W >>> 0 < Z >>> 0 ? 1 : 0), U = y.low = U + H0, y.high = q + ee + (U >>> 0 < H0 >>> 0 ? 1 : 0), T = m.low = T + z0, m.high = _ + te + (T >>> 0 < z0 >>> 0 ? 1 : 0), P = w.low = P + U0, w.high = k + we + (P >>> 0 < U0 >>> 0 ? 1 : 0);
5140
+ b = B.low = b + K, B.high = I + j + (b >>> 0 < K >>> 0 ? 1 : 0), S = u.low = S + N, u.high = F + G + (S >>> 0 < N >>> 0 ? 1 : 0), L = d.low = L + u0, d.high = R + i0 + (L >>> 0 < u0 >>> 0 ? 1 : 0), z = E.low = z + g0, E.high = O + v0 + (z >>> 0 < g0 >>> 0 ? 1 : 0), W = A.low = W + Z, A.high = V + r0 + (W >>> 0 < Z >>> 0 ? 1 : 0), U = y.low = U + U0, y.high = q + ee + (U >>> 0 < U0 >>> 0 ? 1 : 0), T = m.low = T + M0, m.high = _ + te + (T >>> 0 < M0 >>> 0 ? 1 : 0), P = w.low = P + q0, w.high = k + we + (P >>> 0 < q0 >>> 0 ? 1 : 0);
5136
5141
  },
5137
5142
  _doFinalize: function() {
5138
5143
  var g = this._data, v = g.words, h = this._nDataBytes * 8, B = g.sigBytes * 8;
@@ -5146,19 +5151,19 @@ function $n() {
5146
5151
  },
5147
5152
  blockSize: 1024 / 32
5148
5153
  });
5149
- r.SHA512 = i._createHelper(p), r.HmacSHA512 = i._createHmacHelper(p);
5154
+ t.SHA512 = i._createHelper(p), t.HmacSHA512 = i._createHmacHelper(p);
5150
5155
  }(), n.SHA512;
5151
5156
  });
5152
5157
  }(Ve)), Ve.exports;
5153
5158
  }
5154
5159
  var Ge = { exports: {} }, Lr;
5155
- function ma() {
5156
- return Lr || (Lr = 1, function(e, t) {
5157
- (function(n, r, o) {
5158
- e.exports = r($(), Fe(), $n());
5160
+ function ya() {
5161
+ return Lr || (Lr = 1, function(e, r) {
5162
+ (function(n, t, o) {
5163
+ e.exports = t($(), Fe(), $n());
5159
5164
  })(M, function(n) {
5160
5165
  return function() {
5161
- var r = n, o = r.x64, i = o.Word, a = o.WordArray, s = r.algo, x = s.SHA512, c = s.SHA384 = x.extend({
5166
+ var t = n, o = t.x64, i = o.Word, a = o.WordArray, s = t.algo, x = s.SHA512, c = s.SHA384 = x.extend({
5162
5167
  _doReset: function() {
5163
5168
  this._hash = new a.init([
5164
5169
  new i.init(3418070365, 3238371032),
@@ -5176,18 +5181,18 @@ function ma() {
5176
5181
  return f.sigBytes -= 16, f;
5177
5182
  }
5178
5183
  });
5179
- r.SHA384 = x._createHelper(c), r.HmacSHA384 = x._createHmacHelper(c);
5184
+ t.SHA384 = x._createHelper(c), t.HmacSHA384 = x._createHmacHelper(c);
5180
5185
  }(), n.SHA384;
5181
5186
  });
5182
5187
  }(Ge)), Ge.exports;
5183
5188
  }
5184
5189
  var Xe = { exports: {} }, Nr;
5185
- function Da() {
5186
- return Nr || (Nr = 1, function(e, t) {
5187
- (function(n, r, o) {
5188
- e.exports = r($(), Fe());
5190
+ function ma() {
5191
+ return Nr || (Nr = 1, function(e, r) {
5192
+ (function(n, t, o) {
5193
+ e.exports = t($(), Fe());
5189
5194
  })(M, function(n) {
5190
- return function(r) {
5195
+ return function(t) {
5191
5196
  var o = n, i = o.lib, a = i.WordArray, s = i.Hasher, x = o.x64, c = x.Word, f = o.algo, C = [], l = [], p = [];
5192
5197
  (function() {
5193
5198
  for (var h = 1, B = 0, u = 0; u < 24; u++) {
@@ -5273,7 +5278,7 @@ function Da() {
5273
5278
  var h = this._data, B = h.words;
5274
5279
  this._nDataBytes * 8;
5275
5280
  var u = h.sigBytes * 8, d = this.blockSize * 32;
5276
- B[u >>> 5] |= 1 << 24 - u % 32, B[(r.ceil((u + 1) / d) * d >>> 5) - 1] |= 128, h.sigBytes = B.length * 4, this._process();
5281
+ B[u >>> 5] |= 1 << 24 - u % 32, B[(t.ceil((u + 1) / d) * d >>> 5) - 1] |= 128, h.sigBytes = B.length * 4, this._process();
5277
5282
  for (var E = this._state, A = this.cfg.outputLength / 8, y = A / 8, m = [], w = 0; w < y; w++) {
5278
5283
  var I = E[w], b = I.high, F = I.low;
5279
5284
  b = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, F = (F << 8 | F >>> 24) & 16711935 | (F << 24 | F >>> 8) & 4278255360, m.push(F), m.push(b);
@@ -5292,10 +5297,10 @@ function Da() {
5292
5297
  }(Xe)), Xe.exports;
5293
5298
  }
5294
5299
  var Qe = { exports: {} }, Or;
5295
- function Fa() {
5296
- return Or || (Or = 1, function(e, t) {
5297
- (function(n, r) {
5298
- e.exports = r($());
5300
+ function Da() {
5301
+ return Or || (Or = 1, function(e, r) {
5302
+ (function(n, t) {
5303
+ e.exports = t($());
5299
5304
  })(M, function(n) {
5300
5305
  /** @preserve
5301
5306
  (c) 2012 by Cédric Mesnil. All rights reserved.
@@ -5307,7 +5312,7 @@ function Fa() {
5307
5312
 
5308
5313
  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5309
5314
  */
5310
- return function(r) {
5315
+ return function(t) {
5311
5316
  var o = n, i = o.lib, a = i.WordArray, s = i.Hasher, x = o.algo, c = a.create([
5312
5317
  0,
5313
5318
  1,
@@ -5686,12 +5691,12 @@ function Fa() {
5686
5691
  }
5687
5692
  var Ze = { exports: {} }, Hr;
5688
5693
  function $t() {
5689
- return Hr || (Hr = 1, function(e, t) {
5690
- (function(n, r) {
5691
- e.exports = r($());
5694
+ return Hr || (Hr = 1, function(e, r) {
5695
+ (function(n, t) {
5696
+ e.exports = t($());
5692
5697
  })(M, function(n) {
5693
5698
  (function() {
5694
- var r = n, o = r.lib, i = o.Base, a = r.enc, s = a.Utf8, x = r.algo;
5699
+ var t = n, o = t.lib, i = o.Base, a = t.enc, s = a.Utf8, x = t.algo;
5695
5700
  x.HMAC = i.extend({
5696
5701
  /**
5697
5702
  * Initializes a newly created HMAC.
@@ -5763,13 +5768,13 @@ function $t() {
5763
5768
  }(Ze)), Ze.exports;
5764
5769
  }
5765
5770
  var Ye = { exports: {} }, zr;
5766
- function wa() {
5767
- return zr || (zr = 1, function(e, t) {
5768
- (function(n, r, o) {
5769
- e.exports = r($(), jt(), $t());
5771
+ function Fa() {
5772
+ return zr || (zr = 1, function(e, r) {
5773
+ (function(n, t, o) {
5774
+ e.exports = t($(), jt(), $t());
5770
5775
  })(M, function(n) {
5771
5776
  return function() {
5772
- var r = n, o = r.lib, i = o.Base, a = o.WordArray, s = r.algo, x = s.SHA256, c = s.HMAC, f = s.PBKDF2 = i.extend({
5777
+ var t = n, o = t.lib, i = o.Base, a = o.WordArray, s = t.algo, x = s.SHA256, c = s.HMAC, f = s.PBKDF2 = i.extend({
5773
5778
  /**
5774
5779
  * Configuration options.
5775
5780
  *
@@ -5822,7 +5827,7 @@ function wa() {
5822
5827
  return v.sigBytes = d * 4, v;
5823
5828
  }
5824
5829
  });
5825
- r.PBKDF2 = function(C, l, p) {
5830
+ t.PBKDF2 = function(C, l, p) {
5826
5831
  return f.create(p).compute(C, l);
5827
5832
  };
5828
5833
  }(), n.PBKDF2;
@@ -5831,12 +5836,12 @@ function wa() {
5831
5836
  }
5832
5837
  var Je = { exports: {} }, Ur;
5833
5838
  function b0() {
5834
- return Ur || (Ur = 1, function(e, t) {
5835
- (function(n, r, o) {
5836
- e.exports = r($(), jn(), $t());
5839
+ return Ur || (Ur = 1, function(e, r) {
5840
+ (function(n, t, o) {
5841
+ e.exports = t($(), jn(), $t());
5837
5842
  })(M, function(n) {
5838
5843
  return function() {
5839
- var r = n, o = r.lib, i = o.Base, a = o.WordArray, s = r.algo, x = s.MD5, c = s.EvpKDF = i.extend({
5844
+ var t = n, o = t.lib, i = o.Base, a = o.WordArray, s = t.algo, x = s.MD5, c = s.EvpKDF = i.extend({
5840
5845
  /**
5841
5846
  * Configuration options.
5842
5847
  *
@@ -5885,7 +5890,7 @@ function b0() {
5885
5890
  return v.sigBytes = B * 4, v;
5886
5891
  }
5887
5892
  });
5888
- r.EvpKDF = function(f, C, l) {
5893
+ t.EvpKDF = function(f, C, l) {
5889
5894
  return c.create(l).compute(f, C);
5890
5895
  };
5891
5896
  }(), n.EvpKDF;
@@ -5894,11 +5899,11 @@ function b0() {
5894
5899
  }
5895
5900
  var et = { exports: {} }, Mr;
5896
5901
  function Y() {
5897
- return Mr || (Mr = 1, function(e, t) {
5898
- (function(n, r, o) {
5899
- e.exports = r($(), b0());
5902
+ return Mr || (Mr = 1, function(e, r) {
5903
+ (function(n, t, o) {
5904
+ e.exports = t($(), b0());
5900
5905
  })(M, function(n) {
5901
- n.lib.Cipher || function(r) {
5906
+ n.lib.Cipher || function(t) {
5902
5907
  var o = n, i = o.lib, a = i.Base, s = i.WordArray, x = i.BufferedBlockAlgorithm, c = o.enc;
5903
5908
  c.Utf8;
5904
5909
  var f = c.Base64, C = o.algo, l = C.EvpKDF, p = i.Cipher = x.extend({
@@ -6119,7 +6124,7 @@ function Y() {
6119
6124
  });
6120
6125
  function F(S, R, L) {
6121
6126
  var O, z = this._iv;
6122
- z ? (O = z, this._iv = r) : O = this._prevBlock;
6127
+ z ? (O = z, this._iv = t) : O = this._prevBlock;
6123
6128
  for (var V = 0; V < L; V++)
6124
6129
  S[R + V] ^= O[V];
6125
6130
  }
@@ -6431,19 +6436,19 @@ function Y() {
6431
6436
  }(et)), et.exports;
6432
6437
  }
6433
6438
  var tt = { exports: {} }, qr;
6434
- function _a() {
6435
- return qr || (qr = 1, function(e, t) {
6436
- (function(n, r, o) {
6437
- e.exports = r($(), Y());
6439
+ function wa() {
6440
+ return qr || (qr = 1, function(e, r) {
6441
+ (function(n, t, o) {
6442
+ e.exports = t($(), Y());
6438
6443
  })(M, function(n) {
6439
6444
  return n.mode.CFB = function() {
6440
- var r = n.lib.BlockCipherMode.extend();
6441
- r.Encryptor = r.extend({
6445
+ var t = n.lib.BlockCipherMode.extend();
6446
+ t.Encryptor = t.extend({
6442
6447
  processBlock: function(i, a) {
6443
6448
  var s = this._cipher, x = s.blockSize;
6444
6449
  o.call(this, i, a, x, s), this._prevBlock = i.slice(a, a + x);
6445
6450
  }
6446
- }), r.Decryptor = r.extend({
6451
+ }), t.Decryptor = t.extend({
6447
6452
  processBlock: function(i, a) {
6448
6453
  var s = this._cipher, x = s.blockSize, c = i.slice(a, a + x);
6449
6454
  o.call(this, i, a, x, s), this._prevBlock = c;
@@ -6455,19 +6460,19 @@ function _a() {
6455
6460
  for (var C = 0; C < s; C++)
6456
6461
  i[a + C] ^= c[C];
6457
6462
  }
6458
- return r;
6463
+ return t;
6459
6464
  }(), n.mode.CFB;
6460
6465
  });
6461
6466
  }(tt)), tt.exports;
6462
6467
  }
6463
6468
  var rt = { exports: {} }, jr;
6464
- function Ra() {
6465
- return jr || (jr = 1, function(e, t) {
6466
- (function(n, r, o) {
6467
- e.exports = r($(), Y());
6469
+ function _a() {
6470
+ return jr || (jr = 1, function(e, r) {
6471
+ (function(n, t, o) {
6472
+ e.exports = t($(), Y());
6468
6473
  })(M, function(n) {
6469
6474
  return n.mode.CTR = function() {
6470
- var r = n.lib.BlockCipherMode.extend(), o = r.Encryptor = r.extend({
6475
+ var t = n.lib.BlockCipherMode.extend(), o = t.Encryptor = t.extend({
6471
6476
  processBlock: function(i, a) {
6472
6477
  var s = this._cipher, x = s.blockSize, c = this._iv, f = this._counter;
6473
6478
  c && (f = this._counter = c.slice(0), this._iv = void 0);
@@ -6477,16 +6482,16 @@ function Ra() {
6477
6482
  i[a + l] ^= C[l];
6478
6483
  }
6479
6484
  });
6480
- return r.Decryptor = o, r;
6485
+ return t.Decryptor = o, t;
6481
6486
  }(), n.mode.CTR;
6482
6487
  });
6483
6488
  }(rt)), rt.exports;
6484
6489
  }
6485
6490
  var nt = { exports: {} }, $r;
6486
- function Sa() {
6487
- return $r || ($r = 1, function(e, t) {
6488
- (function(n, r, o) {
6489
- e.exports = r($(), Y());
6491
+ function Ra() {
6492
+ return $r || ($r = 1, function(e, r) {
6493
+ (function(n, t, o) {
6494
+ e.exports = t($(), Y());
6490
6495
  })(M, function(n) {
6491
6496
  /** @preserve
6492
6497
  * Counter block mode compatible with Dr Brian Gladman fileenc.c
@@ -6494,7 +6499,7 @@ function Sa() {
6494
6499
  * Jan Hruby jhruby.web@gmail.com
6495
6500
  */
6496
6501
  return n.mode.CTRGladman = function() {
6497
- var r = n.lib.BlockCipherMode.extend();
6502
+ var t = n.lib.BlockCipherMode.extend();
6498
6503
  function o(s) {
6499
6504
  if ((s >> 24 & 255) === 255) {
6500
6505
  var x = s >> 16 & 255, c = s >> 8 & 255, f = s & 255;
@@ -6506,7 +6511,7 @@ function Sa() {
6506
6511
  function i(s) {
6507
6512
  return (s[0] = o(s[0])) === 0 && (s[1] = o(s[1])), s;
6508
6513
  }
6509
- var a = r.Encryptor = r.extend({
6514
+ var a = t.Encryptor = t.extend({
6510
6515
  processBlock: function(s, x) {
6511
6516
  var c = this._cipher, f = c.blockSize, C = this._iv, l = this._counter;
6512
6517
  C && (l = this._counter = C.slice(0), this._iv = void 0), i(l);
@@ -6516,19 +6521,19 @@ function Sa() {
6516
6521
  s[x + g] ^= p[g];
6517
6522
  }
6518
6523
  });
6519
- return r.Decryptor = a, r;
6524
+ return t.Decryptor = a, t;
6520
6525
  }(), n.mode.CTRGladman;
6521
6526
  });
6522
6527
  }(nt)), nt.exports;
6523
6528
  }
6524
6529
  var ot = { exports: {} }, Wr;
6525
- function ka() {
6526
- return Wr || (Wr = 1, function(e, t) {
6527
- (function(n, r, o) {
6528
- e.exports = r($(), Y());
6530
+ function Sa() {
6531
+ return Wr || (Wr = 1, function(e, r) {
6532
+ (function(n, t, o) {
6533
+ e.exports = t($(), Y());
6529
6534
  })(M, function(n) {
6530
6535
  return n.mode.OFB = function() {
6531
- var r = n.lib.BlockCipherMode.extend(), o = r.Encryptor = r.extend({
6536
+ var t = n.lib.BlockCipherMode.extend(), o = t.Encryptor = t.extend({
6532
6537
  processBlock: function(i, a) {
6533
6538
  var s = this._cipher, x = s.blockSize, c = this._iv, f = this._keystream;
6534
6539
  c && (f = this._keystream = c.slice(0), this._iv = void 0), s.encryptBlock(f, 0);
@@ -6536,102 +6541,102 @@ function ka() {
6536
6541
  i[a + C] ^= f[C];
6537
6542
  }
6538
6543
  });
6539
- return r.Decryptor = o, r;
6544
+ return t.Decryptor = o, t;
6540
6545
  }(), n.mode.OFB;
6541
6546
  });
6542
6547
  }(ot)), ot.exports;
6543
6548
  }
6544
6549
  var it = { exports: {} }, Kr;
6545
- function Pa() {
6546
- return Kr || (Kr = 1, function(e, t) {
6547
- (function(n, r, o) {
6548
- e.exports = r($(), Y());
6550
+ function ka() {
6551
+ return Kr || (Kr = 1, function(e, r) {
6552
+ (function(n, t, o) {
6553
+ e.exports = t($(), Y());
6549
6554
  })(M, function(n) {
6550
6555
  return n.mode.ECB = function() {
6551
- var r = n.lib.BlockCipherMode.extend();
6552
- return r.Encryptor = r.extend({
6556
+ var t = n.lib.BlockCipherMode.extend();
6557
+ return t.Encryptor = t.extend({
6553
6558
  processBlock: function(o, i) {
6554
6559
  this._cipher.encryptBlock(o, i);
6555
6560
  }
6556
- }), r.Decryptor = r.extend({
6561
+ }), t.Decryptor = t.extend({
6557
6562
  processBlock: function(o, i) {
6558
6563
  this._cipher.decryptBlock(o, i);
6559
6564
  }
6560
- }), r;
6565
+ }), t;
6561
6566
  }(), n.mode.ECB;
6562
6567
  });
6563
6568
  }(it)), it.exports;
6564
6569
  }
6565
6570
  var st = { exports: {} }, Vr;
6566
- function Ta() {
6567
- return Vr || (Vr = 1, function(e, t) {
6568
- (function(n, r, o) {
6569
- e.exports = r($(), Y());
6571
+ function Pa() {
6572
+ return Vr || (Vr = 1, function(e, r) {
6573
+ (function(n, t, o) {
6574
+ e.exports = t($(), Y());
6570
6575
  })(M, function(n) {
6571
6576
  return n.pad.AnsiX923 = {
6572
- pad: function(r, o) {
6573
- var i = r.sigBytes, a = o * 4, s = a - i % a, x = i + s - 1;
6574
- r.clamp(), r.words[x >>> 2] |= s << 24 - x % 4 * 8, r.sigBytes += s;
6577
+ pad: function(t, o) {
6578
+ var i = t.sigBytes, a = o * 4, s = a - i % a, x = i + s - 1;
6579
+ t.clamp(), t.words[x >>> 2] |= s << 24 - x % 4 * 8, t.sigBytes += s;
6575
6580
  },
6576
- unpad: function(r) {
6577
- var o = r.words[r.sigBytes - 1 >>> 2] & 255;
6578
- r.sigBytes -= o;
6581
+ unpad: function(t) {
6582
+ var o = t.words[t.sigBytes - 1 >>> 2] & 255;
6583
+ t.sigBytes -= o;
6579
6584
  }
6580
6585
  }, n.pad.Ansix923;
6581
6586
  });
6582
6587
  }(st)), st.exports;
6583
6588
  }
6584
6589
  var at = { exports: {} }, Gr;
6585
- function Ia() {
6586
- return Gr || (Gr = 1, function(e, t) {
6587
- (function(n, r, o) {
6588
- e.exports = r($(), Y());
6590
+ function Ta() {
6591
+ return Gr || (Gr = 1, function(e, r) {
6592
+ (function(n, t, o) {
6593
+ e.exports = t($(), Y());
6589
6594
  })(M, function(n) {
6590
6595
  return n.pad.Iso10126 = {
6591
- pad: function(r, o) {
6592
- var i = o * 4, a = i - r.sigBytes % i;
6593
- r.concat(n.lib.WordArray.random(a - 1)).concat(n.lib.WordArray.create([a << 24], 1));
6596
+ pad: function(t, o) {
6597
+ var i = o * 4, a = i - t.sigBytes % i;
6598
+ t.concat(n.lib.WordArray.random(a - 1)).concat(n.lib.WordArray.create([a << 24], 1));
6594
6599
  },
6595
- unpad: function(r) {
6596
- var o = r.words[r.sigBytes - 1 >>> 2] & 255;
6597
- r.sigBytes -= o;
6600
+ unpad: function(t) {
6601
+ var o = t.words[t.sigBytes - 1 >>> 2] & 255;
6602
+ t.sigBytes -= o;
6598
6603
  }
6599
6604
  }, n.pad.Iso10126;
6600
6605
  });
6601
6606
  }(at)), at.exports;
6602
6607
  }
6603
6608
  var ct = { exports: {} }, Xr;
6604
- function La() {
6605
- return Xr || (Xr = 1, function(e, t) {
6606
- (function(n, r, o) {
6607
- e.exports = r($(), Y());
6609
+ function Ia() {
6610
+ return Xr || (Xr = 1, function(e, r) {
6611
+ (function(n, t, o) {
6612
+ e.exports = t($(), Y());
6608
6613
  })(M, function(n) {
6609
6614
  return n.pad.Iso97971 = {
6610
- pad: function(r, o) {
6611
- r.concat(n.lib.WordArray.create([2147483648], 1)), n.pad.ZeroPadding.pad(r, o);
6615
+ pad: function(t, o) {
6616
+ t.concat(n.lib.WordArray.create([2147483648], 1)), n.pad.ZeroPadding.pad(t, o);
6612
6617
  },
6613
- unpad: function(r) {
6614
- n.pad.ZeroPadding.unpad(r), r.sigBytes--;
6618
+ unpad: function(t) {
6619
+ n.pad.ZeroPadding.unpad(t), t.sigBytes--;
6615
6620
  }
6616
6621
  }, n.pad.Iso97971;
6617
6622
  });
6618
6623
  }(ct)), ct.exports;
6619
6624
  }
6620
6625
  var xt = { exports: {} }, Qr;
6621
- function Na() {
6622
- return Qr || (Qr = 1, function(e, t) {
6623
- (function(n, r, o) {
6624
- e.exports = r($(), Y());
6626
+ function La() {
6627
+ return Qr || (Qr = 1, function(e, r) {
6628
+ (function(n, t, o) {
6629
+ e.exports = t($(), Y());
6625
6630
  })(M, function(n) {
6626
6631
  return n.pad.ZeroPadding = {
6627
- pad: function(r, o) {
6632
+ pad: function(t, o) {
6628
6633
  var i = o * 4;
6629
- r.clamp(), r.sigBytes += i - (r.sigBytes % i || i);
6634
+ t.clamp(), t.sigBytes += i - (t.sigBytes % i || i);
6630
6635
  },
6631
- unpad: function(r) {
6632
- for (var o = r.words, i = r.sigBytes - 1, i = r.sigBytes - 1; i >= 0; i--)
6636
+ unpad: function(t) {
6637
+ for (var o = t.words, i = t.sigBytes - 1, i = t.sigBytes - 1; i >= 0; i--)
6633
6638
  if (o[i >>> 2] >>> 24 - i % 4 * 8 & 255) {
6634
- r.sigBytes = i + 1;
6639
+ t.sigBytes = i + 1;
6635
6640
  break;
6636
6641
  }
6637
6642
  }
@@ -6640,10 +6645,10 @@ function Na() {
6640
6645
  }(xt)), xt.exports;
6641
6646
  }
6642
6647
  var ft = { exports: {} }, Zr;
6643
- function Oa() {
6644
- return Zr || (Zr = 1, function(e, t) {
6645
- (function(n, r, o) {
6646
- e.exports = r($(), Y());
6648
+ function Na() {
6649
+ return Zr || (Zr = 1, function(e, r) {
6650
+ (function(n, t, o) {
6651
+ e.exports = t($(), Y());
6647
6652
  })(M, function(n) {
6648
6653
  return n.pad.NoPadding = {
6649
6654
  pad: function() {
@@ -6655,12 +6660,12 @@ function Oa() {
6655
6660
  }(ft)), ft.exports;
6656
6661
  }
6657
6662
  var ut = { exports: {} }, Yr;
6658
- function Ha() {
6659
- return Yr || (Yr = 1, function(e, t) {
6660
- (function(n, r, o) {
6661
- e.exports = r($(), Y());
6663
+ function Oa() {
6664
+ return Yr || (Yr = 1, function(e, r) {
6665
+ (function(n, t, o) {
6666
+ e.exports = t($(), Y());
6662
6667
  })(M, function(n) {
6663
- return function(r) {
6668
+ return function(t) {
6664
6669
  var o = n, i = o.lib, a = i.CipherParams, s = o.enc, x = s.Hex, c = o.format;
6665
6670
  c.Hex = {
6666
6671
  /**
@@ -6702,13 +6707,13 @@ function Ha() {
6702
6707
  }(ut)), ut.exports;
6703
6708
  }
6704
6709
  var lt = { exports: {} }, Jr;
6705
- function za() {
6706
- return Jr || (Jr = 1, function(e, t) {
6707
- (function(n, r, o) {
6708
- e.exports = r($(), F0(), w0(), b0(), Y());
6710
+ function Ha() {
6711
+ return Jr || (Jr = 1, function(e, r) {
6712
+ (function(n, t, o) {
6713
+ e.exports = t($(), F0(), w0(), b0(), Y());
6709
6714
  })(M, function(n) {
6710
6715
  return function() {
6711
- var r = n, o = r.lib, i = o.BlockCipher, a = r.algo, s = [], x = [], c = [], f = [], C = [], l = [], p = [], g = [], v = [], h = [];
6716
+ var t = n, o = t.lib, i = o.BlockCipher, a = t.algo, s = [], x = [], c = [], f = [], C = [], l = [], p = [], g = [], v = [], h = [];
6712
6717
  (function() {
6713
6718
  for (var d = [], E = 0; E < 256; E++)
6714
6719
  E < 128 ? d[E] = E << 1 : d[E] = E << 1 ^ 283;
@@ -6756,19 +6761,19 @@ function za() {
6756
6761
  },
6757
6762
  keySize: 256 / 32
6758
6763
  });
6759
- r.AES = i._createHelper(u);
6764
+ t.AES = i._createHelper(u);
6760
6765
  }(), n.AES;
6761
6766
  });
6762
6767
  }(lt)), lt.exports;
6763
6768
  }
6764
6769
  var dt = { exports: {} }, en;
6765
- function Ua() {
6766
- return en || (en = 1, function(e, t) {
6767
- (function(n, r, o) {
6768
- e.exports = r($(), F0(), w0(), b0(), Y());
6770
+ function za() {
6771
+ return en || (en = 1, function(e, r) {
6772
+ (function(n, t, o) {
6773
+ e.exports = t($(), F0(), w0(), b0(), Y());
6769
6774
  })(M, function(n) {
6770
6775
  return function() {
6771
- var r = n, o = r.lib, i = o.WordArray, a = o.BlockCipher, s = r.algo, x = [
6776
+ var t = n, o = t.lib, i = o.WordArray, a = o.BlockCipher, s = t.algo, x = [
6772
6777
  57,
6773
6778
  49,
6774
6779
  41,
@@ -7457,7 +7462,7 @@ function Ua() {
7457
7462
  var d = (this._rBlock >>> B ^ this._lBlock) & u;
7458
7463
  this._lBlock ^= d, this._rBlock ^= d << B;
7459
7464
  }
7460
- r.DES = a._createHelper(p);
7465
+ t.DES = a._createHelper(p);
7461
7466
  var h = s.TripleDES = a.extend({
7462
7467
  _doReset: function() {
7463
7468
  var B = this._key, u = B.words;
@@ -7476,19 +7481,19 @@ function Ua() {
7476
7481
  ivSize: 64 / 32,
7477
7482
  blockSize: 64 / 32
7478
7483
  });
7479
- r.TripleDES = a._createHelper(h);
7484
+ t.TripleDES = a._createHelper(h);
7480
7485
  }(), n.TripleDES;
7481
7486
  });
7482
7487
  }(dt)), dt.exports;
7483
7488
  }
7484
7489
  var ht = { exports: {} }, tn;
7485
- function Ma() {
7486
- return tn || (tn = 1, function(e, t) {
7487
- (function(n, r, o) {
7488
- e.exports = r($(), F0(), w0(), b0(), Y());
7490
+ function Ua() {
7491
+ return tn || (tn = 1, function(e, r) {
7492
+ (function(n, t, o) {
7493
+ e.exports = t($(), F0(), w0(), b0(), Y());
7489
7494
  })(M, function(n) {
7490
7495
  return function() {
7491
- var r = n, o = r.lib, i = o.StreamCipher, a = r.algo, s = a.RC4 = i.extend({
7496
+ var t = n, o = t.lib, i = o.StreamCipher, a = t.algo, s = a.RC4 = i.extend({
7492
7497
  _doReset: function() {
7493
7498
  for (var f = this._key, C = f.words, l = f.sigBytes, p = this._S = [], g = 0; g < 256; g++)
7494
7499
  p[g] = g;
@@ -7514,7 +7519,7 @@ function Ma() {
7514
7519
  }
7515
7520
  return this._i = C, this._j = l, p;
7516
7521
  }
7517
- r.RC4 = i._createHelper(s);
7522
+ t.RC4 = i._createHelper(s);
7518
7523
  var c = a.RC4Drop = s.extend({
7519
7524
  /**
7520
7525
  * Configuration options.
@@ -7530,19 +7535,19 @@ function Ma() {
7530
7535
  x.call(this);
7531
7536
  }
7532
7537
  });
7533
- r.RC4Drop = i._createHelper(c);
7538
+ t.RC4Drop = i._createHelper(c);
7534
7539
  }(), n.RC4;
7535
7540
  });
7536
7541
  }(ht)), ht.exports;
7537
7542
  }
7538
7543
  var pt = { exports: {} }, rn;
7539
- function qa() {
7540
- return rn || (rn = 1, function(e, t) {
7541
- (function(n, r, o) {
7542
- e.exports = r($(), F0(), w0(), b0(), Y());
7544
+ function Ma() {
7545
+ return rn || (rn = 1, function(e, r) {
7546
+ (function(n, t, o) {
7547
+ e.exports = t($(), F0(), w0(), b0(), Y());
7543
7548
  })(M, function(n) {
7544
7549
  return function() {
7545
- var r = n, o = r.lib, i = o.StreamCipher, a = r.algo, s = [], x = [], c = [], f = a.Rabbit = i.extend({
7550
+ var t = n, o = t.lib, i = o.StreamCipher, a = t.algo, s = [], x = [], c = [], f = a.Rabbit = i.extend({
7546
7551
  _doReset: function() {
7547
7552
  for (var l = this._key.words, p = this.cfg.iv, g = 0; g < 4; g++)
7548
7553
  l[g] = (l[g] << 8 | l[g] >>> 24) & 16711935 | (l[g] << 24 | l[g] >>> 8) & 4278255360;
@@ -7596,19 +7601,19 @@ function qa() {
7596
7601
  }
7597
7602
  l[0] = c[0] + (c[7] << 16 | c[7] >>> 16) + (c[6] << 16 | c[6] >>> 16) | 0, l[1] = c[1] + (c[0] << 8 | c[0] >>> 24) + c[7] | 0, l[2] = c[2] + (c[1] << 16 | c[1] >>> 16) + (c[0] << 16 | c[0] >>> 16) | 0, l[3] = c[3] + (c[2] << 8 | c[2] >>> 24) + c[1] | 0, l[4] = c[4] + (c[3] << 16 | c[3] >>> 16) + (c[2] << 16 | c[2] >>> 16) | 0, l[5] = c[5] + (c[4] << 8 | c[4] >>> 24) + c[3] | 0, l[6] = c[6] + (c[5] << 16 | c[5] >>> 16) + (c[4] << 16 | c[4] >>> 16) | 0, l[7] = c[7] + (c[6] << 8 | c[6] >>> 24) + c[5] | 0;
7598
7603
  }
7599
- r.Rabbit = i._createHelper(f);
7604
+ t.Rabbit = i._createHelper(f);
7600
7605
  }(), n.Rabbit;
7601
7606
  });
7602
7607
  }(pt)), pt.exports;
7603
7608
  }
7604
7609
  var vt = { exports: {} }, nn;
7605
- function ja() {
7606
- return nn || (nn = 1, function(e, t) {
7607
- (function(n, r, o) {
7608
- e.exports = r($(), F0(), w0(), b0(), Y());
7610
+ function qa() {
7611
+ return nn || (nn = 1, function(e, r) {
7612
+ (function(n, t, o) {
7613
+ e.exports = t($(), F0(), w0(), b0(), Y());
7609
7614
  })(M, function(n) {
7610
7615
  return function() {
7611
- var r = n, o = r.lib, i = o.StreamCipher, a = r.algo, s = [], x = [], c = [], f = a.RabbitLegacy = i.extend({
7616
+ var t = n, o = t.lib, i = o.StreamCipher, a = t.algo, s = [], x = [], c = [], f = a.RabbitLegacy = i.extend({
7612
7617
  _doReset: function() {
7613
7618
  var l = this._key.words, p = this.cfg.iv, g = this._X = [
7614
7619
  l[0],
@@ -7660,19 +7665,19 @@ function ja() {
7660
7665
  }
7661
7666
  l[0] = c[0] + (c[7] << 16 | c[7] >>> 16) + (c[6] << 16 | c[6] >>> 16) | 0, l[1] = c[1] + (c[0] << 8 | c[0] >>> 24) + c[7] | 0, l[2] = c[2] + (c[1] << 16 | c[1] >>> 16) + (c[0] << 16 | c[0] >>> 16) | 0, l[3] = c[3] + (c[2] << 8 | c[2] >>> 24) + c[1] | 0, l[4] = c[4] + (c[3] << 16 | c[3] >>> 16) + (c[2] << 16 | c[2] >>> 16) | 0, l[5] = c[5] + (c[4] << 8 | c[4] >>> 24) + c[3] | 0, l[6] = c[6] + (c[5] << 16 | c[5] >>> 16) + (c[4] << 16 | c[4] >>> 16) | 0, l[7] = c[7] + (c[6] << 8 | c[6] >>> 24) + c[5] | 0;
7662
7667
  }
7663
- r.RabbitLegacy = i._createHelper(f);
7668
+ t.RabbitLegacy = i._createHelper(f);
7664
7669
  }(), n.RabbitLegacy;
7665
7670
  });
7666
7671
  }(vt)), vt.exports;
7667
7672
  }
7668
7673
  var gt = { exports: {} }, on;
7669
- function $a() {
7670
- return on || (on = 1, function(e, t) {
7671
- (function(n, r, o) {
7672
- e.exports = r($(), F0(), w0(), b0(), Y());
7674
+ function ja() {
7675
+ return on || (on = 1, function(e, r) {
7676
+ (function(n, t, o) {
7677
+ e.exports = t($(), F0(), w0(), b0(), Y());
7673
7678
  })(M, function(n) {
7674
7679
  return function() {
7675
- var r = n, o = r.lib, i = o.BlockCipher, a = r.algo;
7680
+ var t = n, o = t.lib, i = o.BlockCipher, a = t.algo;
7676
7681
  const s = 16, x = [
7677
7682
  608135816,
7678
7683
  2242054355,
@@ -8782,37 +8787,37 @@ function $a() {
8782
8787
  keySize: 128 / 32,
8783
8788
  ivSize: 64 / 32
8784
8789
  });
8785
- r.Blowfish = i._createHelper(v);
8790
+ t.Blowfish = i._createHelper(v);
8786
8791
  }(), n.Blowfish;
8787
8792
  });
8788
8793
  }(gt)), gt.exports;
8789
8794
  }
8790
- (function(e, t) {
8791
- (function(n, r, o) {
8792
- e.exports = r($(), Fe(), Ca(), Aa(), F0(), ba(), w0(), jn(), jt(), ya(), $n(), ma(), Da(), Fa(), $t(), wa(), b0(), Y(), _a(), Ra(), Sa(), ka(), Pa(), Ta(), Ia(), La(), Na(), Oa(), Ha(), za(), Ua(), Ma(), qa(), ja(), $a());
8795
+ (function(e, r) {
8796
+ (function(n, t, o) {
8797
+ e.exports = t($(), Fe(), Ba(), Ca(), F0(), Aa(), w0(), jn(), jt(), ba(), $n(), ya(), ma(), Da(), $t(), Fa(), b0(), Y(), wa(), _a(), Ra(), Sa(), ka(), Pa(), Ta(), Ia(), La(), Na(), Oa(), Ha(), za(), Ua(), Ma(), qa(), ja());
8793
8798
  })(M, function(n) {
8794
8799
  return n;
8795
8800
  });
8796
8801
  })(qn);
8797
- var Wa = qn.exports;
8798
- const Ka = (e) => De({
8802
+ var $a = qn.exports;
8803
+ const Wa = (e) => De({
8799
8804
  method: "POST",
8800
- url: `${X0.apiBase}/api/open/oauth_public/v1/password_login`,
8805
+ url: `${H0.apiBase}/beaver-open/api/open/oauth_public/v1/password_login`,
8801
8806
  data: e
8802
- }), Va = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogICAgPHBhdGggZD0iTTEgMTJzNC04IDExLTggMTEgOCAxMSA4LTQgOC0xMSA4LTExLTgtMTEtOHoiPjwvcGF0aD4KICAgIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjMiPjwvY2lyY2xlPgo8L3N2Zz4K", Ga = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogICAgPHBhdGggZD0iTTE3Ljk0IDE3Ljk0QTEwLjA3IDEwLjA3IDAgMCAxIDEyIDIwYy03IDAtMTEtOC0xMS04YTE4LjQ1IDE4LjQ1IDAgMCAxIDUuMDYtNS45NE05LjkgNC4yNEE5LjEyIDkuMTIgMCAwIDEgMTIgNGM3IDAgMTEgOCAxMSA4YTE4LjUgMTguNSAwIDAgMS0yLjE2IDMuMTltLTYuNzItMS4wN2EzIDMgMCAxIDEtNC4yNC00LjI0Ij48L3BhdGg+CiAgICA8bGluZSB4MT0iMSIgeTE9IjEiIHgyPSIyMyIgeTI9IjIzIj48L2xpbmU+Cjwvc3ZnPgo=", Xa = wt({
8807
+ }), Ka = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogICAgPHBhdGggZD0iTTEgMTJzNC04IDExLTggMTEgOCAxMSA4LTQgOC0xMSA4LTExLTgtMTEtOHoiPjwvcGF0aD4KICAgIDxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjMiPjwvY2lyY2xlPgo8L3N2Zz4K", Va = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogICAgPHBhdGggZD0iTTE3Ljk0IDE3Ljk0QTEwLjA3IDEwLjA3IDAgMCAxIDEyIDIwYy03IDAtMTEtOC0xMS04YTE4LjQ1IDE4LjQ1IDAgMCAxIDUuMDYtNS45NE05LjkgNC4yNEE5LjEyIDkuMTIgMCAwIDEgMTIgNGM3IDAgMTEgOCAxMSA4YTE4LjUgMTguNSAwIDAgMS0yLjE2IDMuMTltLTYuNzItMS4wN2EzIDMgMCAxIDEtNC4yNC00LjI0Ij48L3BhdGg+CiAgICA8bGluZSB4MT0iMSIgeTE9IjEiIHgyPSIyMyIgeTI9IjIzIj48L2xpbmU+Cjwvc3ZnPgo=", Ga = wt({
8803
8808
  name: "PasswordLoginView",
8804
8809
  props: {
8805
- appId: {
8810
+ oauthId: {
8806
8811
  type: String,
8807
8812
  required: !0
8808
8813
  }
8809
8814
  },
8810
8815
  emits: ["login-success"],
8811
- setup(e, { emit: t }) {
8812
- const n = c0(""), r = c0(""), o = c0(!1), i = c0(""), a = c0(""), s = () => n.value ? (i.value = "", !0) : (i.value = "请输入邮箱", !1), x = () => r.value ? (a.value = "", !0) : (a.value = "请输入密码", !1);
8816
+ setup(e, { emit: r }) {
8817
+ const n = c0(""), t = c0(""), o = c0(!1), i = c0(""), a = c0(""), s = () => n.value ? (i.value = "", !0) : (i.value = "请输入邮箱", !1), x = () => t.value ? (a.value = "", !0) : (a.value = "请输入密码", !1);
8813
8818
  return {
8814
8819
  account: n,
8815
- password: r,
8820
+ password: t,
8816
8821
  showPassword: o,
8817
8822
  accountError: i,
8818
8823
  passwordError: a,
@@ -8821,8 +8826,8 @@ const Ka = (e) => De({
8821
8826
  handleLogin: async () => {
8822
8827
  if (!s() || !x())
8823
8828
  return;
8824
- const f = Wa.MD5(r.value).toString(), C = await Ka({
8825
- appId: e.appId,
8829
+ const f = $a.MD5(t.value).toString(), C = await Wa({
8830
+ oauthId: e.oauthId,
8826
8831
  account: n.value,
8827
8832
  password: f
8828
8833
  });
@@ -8830,81 +8835,81 @@ const Ka = (e) => De({
8830
8835
  a.value = C.msg;
8831
8836
  return;
8832
8837
  }
8833
- t("login-success", C.result.code);
8838
+ r("login-success", C.result.code);
8834
8839
  },
8835
- eyeIcon: Va,
8836
- eyeOffIcon: Ga
8840
+ eyeIcon: Ka,
8841
+ eyeOffIcon: Va
8837
8842
  };
8838
8843
  }
8839
- }), Qa = `.password-login-view[data-v-b1796c26]{min-height:280px}.login-form[data-v-b1796c26]{width:100%;margin:0 auto;padding:8px 0 24px}.input-wrap[data-v-b1796c26]{position:relative;font-size:13px;width:100%;max-width:274px;margin:0 auto 26px}.input-wrap input[data-v-b1796c26]{background:#f9fafb;box-sizing:border-box;border:1px solid #ebeef5;border-radius:6px;color:#2d3436;display:inline-block;font-size:13px;height:40px;line-height:40px;padding:0 12px;transition:border-color .2s cubic-bezier(.33,1,.68,1),box-shadow .2s cubic-bezier(.33,1,.68,1);width:100%;outline:none;-webkit-appearance:none}.input-wrap input[data-v-b1796c26]:focus{border-color:#ff7d45;background:#ffffff;box-shadow:0 0 0 3px #ffe6d9}.input-wrap input[data-v-b1796c26]::-webkit-input-placeholder{color:#b2bec3}.input-wrap input.password-input[data-v-b1796c26]{padding-right:40px}.password-toggle[data-v-b1796c26]{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:#b2bec3;cursor:pointer;transition:color .2s cubic-bezier(.33,1,.68,1)}.password-toggle[data-v-b1796c26]:hover{color:#636e72}.password-toggle img[data-v-b1796c26]{width:18px;height:18px;display:block}.error-text[data-v-b1796c26]{color:#ff5252;font-size:12px;line-height:1.2;padding-top:4px;margin:0;position:absolute;top:100%;left:0}.notice-text[data-v-b1796c26]{width:100%;max-width:274px;font-size:13px;color:#ff5252;font-weight:500;margin:0 auto;line-height:1.5;text-align:center}.login-btn[data-v-b1796c26]{width:100%;max-width:274px;background:#ff7d45;border-radius:6px;text-align:center;line-height:36px;height:36px;color:#fff;font-size:13px;font-weight:500;cursor:pointer;margin:38px auto 0;transition:background .2s cubic-bezier(.33,1,.68,1)}.login-btn[data-v-b1796c26]:hover{background:#e86835}
8840
- `, Za = { class: "password-login-view" }, Ya = { class: "login-form" }, Ja = { class: "input-wrap" }, ec = {
8844
+ }), Xa = `.password-login-view[data-v-104904b2]{min-height:280px}.login-form[data-v-104904b2]{width:100%;margin:0 auto;padding:8px 0 24px}.input-wrap[data-v-104904b2]{position:relative;font-size:13px;width:100%;max-width:274px;margin:0 auto 26px}.input-wrap input[data-v-104904b2]{background:#f9fafb;box-sizing:border-box;border:1px solid #ebeef5;border-radius:6px;color:#2d3436;display:inline-block;font-size:13px;height:40px;line-height:40px;padding:0 12px;transition:border-color .2s cubic-bezier(.33,1,.68,1),box-shadow .2s cubic-bezier(.33,1,.68,1);width:100%;outline:none;-webkit-appearance:none}.input-wrap input[data-v-104904b2]:focus{border-color:#ff7d45;background:#ffffff;box-shadow:0 0 0 3px #ffe6d9}.input-wrap input[data-v-104904b2]::-webkit-input-placeholder{color:#b2bec3}.input-wrap input.password-input[data-v-104904b2]{padding-right:40px}.password-toggle[data-v-104904b2]{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:#b2bec3;cursor:pointer;transition:color .2s cubic-bezier(.33,1,.68,1)}.password-toggle[data-v-104904b2]:hover{color:#636e72}.password-toggle img[data-v-104904b2]{width:18px;height:18px;display:block}.error-text[data-v-104904b2]{color:#ff5252;font-size:12px;line-height:1.2;padding-top:4px;margin:0;position:absolute;top:100%;left:0}.notice-text[data-v-104904b2]{width:100%;max-width:274px;font-size:13px;color:#ff5252;font-weight:500;margin:0 auto;line-height:1.5;text-align:center}.login-btn[data-v-104904b2]{width:100%;max-width:274px;background:#ff7d45;border-radius:6px;text-align:center;line-height:36px;height:36px;color:#fff;font-size:13px;font-weight:500;cursor:pointer;margin:38px auto 0;transition:background .2s cubic-bezier(.33,1,.68,1)}.login-btn[data-v-104904b2]:hover{background:#e86835}
8845
+ `, Qa = { class: "password-login-view" }, Za = { class: "login-form" }, Ya = { class: "input-wrap" }, Ja = {
8841
8846
  key: 0,
8842
8847
  class: "error-text"
8843
- }, tc = { class: "input-wrap" }, rc = ["type"], nc = ["src"], oc = {
8848
+ }, ec = { class: "input-wrap" }, tc = ["type"], rc = ["src"], nc = {
8844
8849
  key: 0,
8845
8850
  class: "error-text"
8846
8851
  };
8847
- function ic(e, t, n, r, o, i) {
8848
- return x0(), h0("div", Za, [
8849
- X("div", Ya, [
8850
- X("div", Ja, [
8852
+ function oc(e, r, n, t, o, i) {
8853
+ return x0(), h0("div", Qa, [
8854
+ X("div", Za, [
8855
+ X("div", Ya, [
8851
8856
  or(X("input", {
8852
8857
  type: "text",
8853
- "onUpdate:modelValue": t[0] || (t[0] = (a) => e.account = a),
8858
+ "onUpdate:modelValue": r[0] || (r[0] = (a) => e.account = a),
8854
8859
  placeholder: "请输入邮箱",
8855
- onBlur: t[1] || (t[1] = () => e.validateAccount())
8860
+ onBlur: r[1] || (r[1] = () => e.validateAccount())
8856
8861
  }, null, 544), [
8857
8862
  [co, e.account]
8858
8863
  ]),
8859
- e.accountError ? (x0(), h0("p", ec, k0(e.accountError), 1)) : m0("", !0)
8864
+ e.accountError ? (x0(), h0("p", Ja, P0(e.accountError), 1)) : m0("", !0)
8860
8865
  ]),
8861
- X("div", tc, [
8866
+ X("div", ec, [
8862
8867
  or(X("input", {
8863
8868
  type: e.showPassword ? "text" : "password",
8864
- "onUpdate:modelValue": t[2] || (t[2] = (a) => e.password = a),
8869
+ "onUpdate:modelValue": r[2] || (r[2] = (a) => e.password = a),
8865
8870
  placeholder: "请输入密码",
8866
8871
  autocomplete: "off",
8867
8872
  class: "password-input",
8868
- onBlur: t[3] || (t[3] = () => e.validatePassword())
8869
- }, null, 40, rc), [
8873
+ onBlur: r[3] || (r[3] = () => e.validatePassword())
8874
+ }, null, 40, tc), [
8870
8875
  [xo, e.password]
8871
8876
  ]),
8872
8877
  X("span", {
8873
8878
  class: "password-toggle",
8874
- onClick: t[4] || (t[4] = (a) => e.showPassword = !e.showPassword)
8879
+ onClick: r[4] || (r[4] = (a) => e.showPassword = !e.showPassword)
8875
8880
  }, [
8876
8881
  X("img", {
8877
8882
  src: e.showPassword ? e.eyeOffIcon : e.eyeIcon,
8878
8883
  alt: "切换密码可见性"
8879
- }, null, 8, nc)
8884
+ }, null, 8, rc)
8880
8885
  ]),
8881
- e.passwordError ? (x0(), h0("p", oc, k0(e.passwordError), 1)) : m0("", !0)
8886
+ e.passwordError ? (x0(), h0("p", nc, P0(e.passwordError), 1)) : m0("", !0)
8882
8887
  ]),
8883
8888
  X("div", {
8884
8889
  class: "login-btn",
8885
- onClick: t[5] || (t[5] = (...a) => e.handleLogin && e.handleLogin(...a))
8890
+ onClick: r[5] || (r[5] = (...a) => e.handleLogin && e.handleLogin(...a))
8886
8891
  }, " 登 录 ")
8887
8892
  ])
8888
8893
  ]);
8889
8894
  }
8890
- const sc = /* @__PURE__ */ qt(Xa, [["render", ic], ["styles", [Qa]], ["__scopeId", "data-v-b1796c26"]]), ac = wt({
8895
+ const ic = /* @__PURE__ */ qt(Ga, [["render", oc], ["styles", [Xa]], ["__scopeId", "data-v-104904b2"]]), sc = wt({
8891
8896
  name: "BeaverLogin",
8892
8897
  components: {
8893
- QrcodeLoginView: pa,
8894
- PasswordLoginView: sc
8898
+ QrcodeLoginView: ha,
8899
+ PasswordLoginView: ic
8895
8900
  },
8896
8901
  props: {
8897
- appId: {
8902
+ oauthId: {
8898
8903
  type: String,
8899
8904
  required: !0
8900
8905
  },
8901
8906
  apiBase: {
8902
8907
  type: String,
8903
- default: W0.apiBase
8908
+ default: k0.apiBase
8904
8909
  },
8905
8910
  oauthBase: {
8906
8911
  type: String,
8907
- default: W0.oauthBase
8912
+ default: k0.oauthBase
8908
8913
  },
8909
8914
  redirectUrl: {
8910
8915
  type: String,
@@ -8912,9 +8917,9 @@ const sc = /* @__PURE__ */ qt(Xa, [["render", ic], ["styles", [Qa]], ["__scopeId
8912
8917
  }
8913
8918
  },
8914
8919
  emits: ["login"],
8915
- setup(e, { emit: t }) {
8920
+ setup(e, { emit: r }) {
8916
8921
  const n = () => {
8917
- X0.init({
8922
+ H0.init({
8918
8923
  apiBase: e.apiBase,
8919
8924
  oauthBase: e.oauthBase
8920
8925
  });
@@ -8926,8 +8931,8 @@ const sc = /* @__PURE__ */ qt(Xa, [["render", ic], ["styles", [Qa]], ["__scopeId
8926
8931
  ), uo(() => {
8927
8932
  n();
8928
8933
  });
8929
- const r = c0("qrcode"), o = () => {
8930
- r.value = r.value === "qrcode" ? "password" : "qrcode";
8934
+ const t = c0("qrcode"), o = () => {
8935
+ t.value = t.value === "qrcode" ? "password" : "qrcode";
8931
8936
  }, i = (x) => {
8932
8937
  if (!e.redirectUrl)
8933
8938
  return !1;
@@ -8940,10 +8945,10 @@ const sc = /* @__PURE__ */ qt(Xa, [["render", ic], ["styles", [Qa]], ["__scopeId
8940
8945
  detail: x,
8941
8946
  bubbles: !0,
8942
8947
  composed: !0
8943
- })), t("login", x);
8948
+ })), r("login", x);
8944
8949
  };
8945
8950
  return {
8946
- currentMode: r,
8951
+ currentMode: t,
8947
8952
  toggleLoginMode: o,
8948
8953
  handleLoginSuccess: (x) => {
8949
8954
  i(x) || a({
@@ -8954,62 +8959,62 @@ const sc = /* @__PURE__ */ qt(Xa, [["render", ic], ["styles", [Qa]], ["__scopeId
8954
8959
  }
8955
8960
  };
8956
8961
  }
8957
- }), cc = `:host{display:block;width:100%}.beaver-login-container{width:100%;position:relative;padding:0 0 20px;font-family:PingFang SC,Microsoft YaHei,SF Pro,Roboto,sans-serif;box-sizing:border-box}.login-header{position:relative;padding:32px 24px 16px}.login-header__title{margin:0;font-size:22px;font-weight:500;color:#2d3436;text-align:center;line-height:1.3}.login-header__switch{position:absolute;right:20px;top:38px;font-size:13px;color:#636e72;cursor:pointer;transition:color .2s cubic-bezier(.33,1,.68,1);-webkit-user-select:none;user-select:none}.login-header__switch:hover{color:#ff7d45}.qrcode-login-container,.oauth-login-container{width:100%}
8958
- `, xc = { class: "beaver-login-container" }, fc = { class: "login-header" }, uc = { class: "login-header__title" };
8959
- function lc(e, t, n, r, o, i) {
8962
+ }), ac = `:host{display:block;width:100%}.beaver-login-container{width:100%;position:relative;padding:0 0 20px;font-family:PingFang SC,Microsoft YaHei,SF Pro,Roboto,sans-serif;box-sizing:border-box}.login-header{position:relative;padding:32px 24px 16px}.login-header__title{margin:0;font-size:22px;font-weight:500;color:#2d3436;text-align:center;line-height:1.3}.login-header__switch{position:absolute;right:20px;top:38px;font-size:13px;color:#636e72;cursor:pointer;transition:color .2s cubic-bezier(.33,1,.68,1);-webkit-user-select:none;user-select:none}.login-header__switch:hover{color:#ff7d45}.qrcode-login-container,.oauth-login-container{width:100%}
8963
+ `, cc = { class: "beaver-login-container" }, xc = { class: "login-header" }, fc = { class: "login-header__title" };
8964
+ function uc(e, r, n, t, o, i) {
8960
8965
  const a = ir("QrcodeLoginView"), s = ir("PasswordLoginView");
8961
- return x0(), h0("div", xc, [
8962
- X("div", fc, [
8963
- X("h2", uc, k0(e.currentMode === "qrcode" ? "扫码登录" : "账号登录"), 1),
8966
+ return x0(), h0("div", cc, [
8967
+ X("div", xc, [
8968
+ X("h2", fc, P0(e.currentMode === "qrcode" ? "扫码登录" : "账号登录"), 1),
8964
8969
  X("span", {
8965
8970
  class: "login-header__switch",
8966
- onClick: t[0] || (t[0] = (...x) => e.toggleLoginMode && e.toggleLoginMode(...x))
8967
- }, k0(e.currentMode === "qrcode" ? "密码登录" : "扫码登录"), 1)
8971
+ onClick: r[0] || (r[0] = (...x) => e.toggleLoginMode && e.toggleLoginMode(...x))
8972
+ }, P0(e.currentMode === "qrcode" ? "密码登录" : "扫码登录"), 1)
8968
8973
  ]),
8969
8974
  e.currentMode === "qrcode" ? (x0(), sr(a, {
8970
8975
  key: 0,
8971
- "app-id": e.appId,
8976
+ oauthId: e.oauthId,
8972
8977
  onLoginSuccess: e.handleLoginSuccess
8973
- }, null, 8, ["app-id", "onLoginSuccess"])) : m0("", !0),
8978
+ }, null, 8, ["oauthId", "onLoginSuccess"])) : m0("", !0),
8974
8979
  e.currentMode === "password" ? (x0(), sr(s, {
8975
8980
  key: 1,
8976
- "app-id": e.appId,
8981
+ oauthId: e.oauthId,
8977
8982
  onLoginSuccess: e.handleLoginSuccess
8978
- }, null, 8, ["app-id", "onLoginSuccess"])) : m0("", !0)
8983
+ }, null, 8, ["oauthId", "onLoginSuccess"])) : m0("", !0)
8979
8984
  ]);
8980
8985
  }
8981
- const sn = /* @__PURE__ */ qt(ac, [["render", lc], ["styles", [cc]]]), dc = "1.0.0";
8986
+ const sn = /* @__PURE__ */ qt(sc, [["render", uc], ["styles", [ac]]]), lc = "1.0.0";
8982
8987
  function Wn(e) {
8983
- const t = [];
8988
+ const r = [];
8984
8989
  if (!e)
8985
- return t;
8990
+ return r;
8986
8991
  let n = [];
8987
- if (e.__css__ ? n = e.__css__ : e.styles && (n = Array.isArray(e.styles) ? e.styles : [e.styles]), n.length > 0 && t.push(...n), e.components) {
8988
- const r = e.components;
8989
- for (const o in r) {
8990
- const i = r[o];
8991
- i && t.push(...Wn(i));
8992
+ if (e.__css__ ? n = e.__css__ : e.styles && (n = Array.isArray(e.styles) ? e.styles : [e.styles]), n.length > 0 && r.push(...n), e.components) {
8993
+ const t = e.components;
8994
+ for (const o in t) {
8995
+ const i = t[o];
8996
+ i && r.push(...Wn(i));
8992
8997
  }
8993
8998
  }
8994
- return t;
8999
+ return r;
8995
9000
  }
8996
- function hc() {
9001
+ function dc() {
8997
9002
  if (customElements.get("beaver-login"))
8998
9003
  return;
8999
- const e = Wn(sn), t = ho({
9004
+ const e = Wn(sn), r = ho({
9000
9005
  ...sn,
9001
9006
  styles: e
9002
9007
  });
9003
- customElements.define("beaver-login", t);
9008
+ customElements.define("beaver-login", r);
9004
9009
  }
9005
- const gc = {
9006
- version: dc,
9007
- register: hc
9010
+ const vc = {
9011
+ version: lc,
9012
+ register: dc
9008
9013
  };
9009
9014
  export {
9010
- W0 as DEFAULT_CONFIG,
9011
- X0 as configManager,
9012
- gc as default,
9013
- hc as register,
9014
- dc as version
9015
+ k0 as DEFAULT_CONFIG,
9016
+ H0 as configManager,
9017
+ vc as default,
9018
+ dc as register,
9019
+ lc as version
9015
9020
  };