qlfy-ecological-login 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { getCurrentInstance as se, inject as oe, ref as D, computed as E, unref as b, readonly as nr, getCurrentScope as rr, onScopeDispose as or, onMounted as Qt, nextTick as st, watch as Q, isRef as sr, warn as ir, provide as ar, defineComponent as B, createElementBlock as V, openBlock as P, mergeProps as lr, renderSlot as ye, createElementVNode as W, normalizeClass as K, createVNode as it, Transition as Yt, withCtx as Te, withDirectives as en, normalizeStyle as tn, createTextVNode as cr, toDisplayString as nn, vShow as rn, shallowReactive as ur, createBlock as pe, createCommentVNode as Oe, resolveDynamicComponent as fr, Fragment as dr, withModifiers as pr, isVNode as on, render as wt, onBeforeUnmount as hr } from "vue";
1
+ import { getCurrentInstance as se, inject as oe, ref as D, computed as E, unref as b, readonly as nr, getCurrentScope as rr, onScopeDispose as or, onMounted as Qt, nextTick as st, watch as Q, isRef as sr, warn as ir, provide as ar, defineComponent as B, createElementBlock as V, openBlock as A, mergeProps as lr, renderSlot as ye, createElementVNode as G, normalizeClass as W, createVNode as it, Transition as Yt, withCtx as Te, withDirectives as en, normalizeStyle as tn, createTextVNode as cr, toDisplayString as nn, vShow as rn, shallowReactive as ur, createBlock as pe, createCommentVNode as Oe, resolveDynamicComponent as fr, Fragment as dr, withModifiers as pr, isVNode as on, render as wt, onBeforeUnmount as hr } from "vue";
2
2
  const sn = Symbol(), Ce = "el", mr = "is-", Z = (e, t, n, r, o) => {
3
3
  let s = `${e}-${t}`;
4
4
  return n && (s += `-${n}`), r && (s += `__${r}`), o && (s += `--${o}`), s;
@@ -9,31 +9,31 @@ const sn = Symbol(), Ce = "el", mr = "is-", Z = (e, t, n, r, o) => {
9
9
  const n = gr(t);
10
10
  return {
11
11
  namespace: n,
12
- b: (d = "") => Z(n.value, e, d, "", ""),
13
- e: (d) => d ? Z(n.value, e, "", d, "") : "",
14
- m: (d) => d ? Z(n.value, e, "", "", d) : "",
15
- be: (d, p) => d && p ? Z(n.value, e, d, p, "") : "",
16
- em: (d, p) => d && p ? Z(n.value, e, "", d, p) : "",
17
- bm: (d, p) => d && p ? Z(n.value, e, d, "", p) : "",
18
- bem: (d, p, w) => d && p && w ? Z(n.value, e, d, p, w) : "",
19
- is: (d, ...p) => {
20
- const w = p.length >= 1 ? p[0] : !0;
21
- return d && w ? `${mr}${d}` : "";
12
+ b: (p = "") => Z(n.value, e, p, "", ""),
13
+ e: (p) => p ? Z(n.value, e, "", p, "") : "",
14
+ m: (p) => p ? Z(n.value, e, "", "", p) : "",
15
+ be: (p, h) => p && h ? Z(n.value, e, p, h, "") : "",
16
+ em: (p, h) => p && h ? Z(n.value, e, "", p, h) : "",
17
+ bm: (p, h) => p && h ? Z(n.value, e, p, "", h) : "",
18
+ bem: (p, h, w) => p && h && w ? Z(n.value, e, p, h, w) : "",
19
+ is: (p, ...h) => {
20
+ const w = h.length >= 1 ? h[0] : !0;
21
+ return p && w ? `${mr}${p}` : "";
22
22
  },
23
- cssVar: (d) => {
24
- const p = {};
25
- for (const w in d)
26
- d[w] && (p[`--${n.value}-${w}`] = d[w]);
27
- return p;
23
+ cssVar: (p) => {
24
+ const h = {};
25
+ for (const w in p)
26
+ p[w] && (h[`--${n.value}-${w}`] = p[w]);
27
+ return h;
28
28
  },
29
- cssVarName: (d) => `--${n.value}-${d}`,
30
- cssVarBlock: (d) => {
31
- const p = {};
32
- for (const w in d)
33
- d[w] && (p[`--${n.value}-${e}-${w}`] = d[w]);
34
- return p;
29
+ cssVarName: (p) => `--${n.value}-${p}`,
30
+ cssVarBlock: (p) => {
31
+ const h = {};
32
+ for (const w in p)
33
+ p[w] && (h[`--${n.value}-${e}-${w}`] = p[w]);
34
+ return h;
35
35
  },
36
- cssVarBlockName: (d) => `--${n.value}-${e}-${d}`
36
+ cssVarBlockName: (p) => `--${n.value}-${e}-${p}`
37
37
  };
38
38
  };
39
39
  /**
@@ -43,7 +43,7 @@ const sn = Symbol(), Ce = "el", mr = "is-", Z = (e, t, n, r, o) => {
43
43
  **/
44
44
  process.env.NODE_ENV !== "production" && Object.freeze({});
45
45
  process.env.NODE_ENV !== "production" && Object.freeze([]);
46
- const yr = Object.prototype.hasOwnProperty, _t = (e, t) => yr.call(e, t), Ae = (e) => typeof e == "function", be = (e) => typeof e == "string", ln = (e) => e !== null && typeof e == "object";
46
+ const yr = Object.prototype.hasOwnProperty, _t = (e, t) => yr.call(e, t), Pe = (e) => typeof e == "function", be = (e) => typeof e == "string", ln = (e) => e !== null && typeof e == "object";
47
47
  var br = typeof global == "object" && global && global.Object === Object && global, wr = typeof self == "object" && self && self.Object === Object && self, lt = br || wr || Function("return this")(), ie = lt.Symbol, cn = Object.prototype, _r = cn.hasOwnProperty, vr = cn.toString, he = ie ? ie.toStringTag : void 0;
48
48
  function Sr(e) {
49
49
  var t = _r.call(e, he), n = e[he];
@@ -70,7 +70,7 @@ var Nr = "[object Symbol]";
70
70
  function ct(e) {
71
71
  return typeof e == "symbol" || Rr(e) && un(e) == Nr;
72
72
  }
73
- function Ar(e, t) {
73
+ function Pr(e, t) {
74
74
  for (var n = -1, r = e == null ? 0 : e.length, o = Array(r); ++n < r; )
75
75
  o[n] = t(e[n], n, e);
76
76
  return o;
@@ -80,7 +80,7 @@ function fn(e) {
80
80
  if (typeof e == "string")
81
81
  return e;
82
82
  if (ut(e))
83
- return Ar(e, fn) + "";
83
+ return Pr(e, fn) + "";
84
84
  if (ct(e))
85
85
  return Et ? Et.call(e) : "";
86
86
  var t = e + "";
@@ -90,12 +90,12 @@ function dn(e) {
90
90
  var t = typeof e;
91
91
  return e != null && (t == "object" || t == "function");
92
92
  }
93
- var Pr = "[object AsyncFunction]", kr = "[object Function]", Ir = "[object GeneratorFunction]", Lr = "[object Proxy]";
94
- function $r(e) {
93
+ var Ar = "[object AsyncFunction]", kr = "[object Function]", Ir = "[object GeneratorFunction]", $r = "[object Proxy]";
94
+ function Lr(e) {
95
95
  if (!dn(e))
96
96
  return !1;
97
97
  var t = un(e);
98
- return t == kr || t == Ir || t == Pr || t == Lr;
98
+ return t == kr || t == Ir || t == Ar || t == $r;
99
99
  }
100
100
  var Je = lt["__core-js_shared__"], Ot = function() {
101
101
  var e = /[^.]+$/.exec(Je && Je.keys && Je.keys.IE_PROTO || "");
@@ -124,7 +124,7 @@ var Ur = /[\\^$.*+?()[\]{}|]/g, Mr = /^\[object .+?Constructor\]$/, zr = Functio
124
124
  function Kr(e) {
125
125
  if (!dn(e) || Fr(e))
126
126
  return !1;
127
- var t = $r(e) ? Jr : Mr;
127
+ var t = Lr(e) ? Jr : Mr;
128
128
  return t.test(jr(e));
129
129
  }
130
130
  function Wr(e, t) {
@@ -186,7 +186,7 @@ ee.prototype.set = co;
186
186
  function uo() {
187
187
  this.__data__ = [], this.size = 0;
188
188
  }
189
- function Le(e, t) {
189
+ function $e(e, t) {
190
190
  for (var n = e.length; n--; )
191
191
  if (Gr(e[n][0], t))
192
192
  return n;
@@ -194,21 +194,21 @@ function Le(e, t) {
194
194
  }
195
195
  var fo = Array.prototype, po = fo.splice;
196
196
  function ho(e) {
197
- var t = this.__data__, n = Le(t, e);
197
+ var t = this.__data__, n = $e(t, e);
198
198
  if (n < 0)
199
199
  return !1;
200
200
  var r = t.length - 1;
201
201
  return n == r ? t.pop() : po.call(t, n, 1), --this.size, !0;
202
202
  }
203
203
  function mo(e) {
204
- var t = this.__data__, n = Le(t, e);
204
+ var t = this.__data__, n = $e(t, e);
205
205
  return n < 0 ? void 0 : t[n][1];
206
206
  }
207
207
  function go(e) {
208
- return Le(this.__data__, e) > -1;
208
+ return $e(this.__data__, e) > -1;
209
209
  }
210
210
  function yo(e, t) {
211
- var n = this.__data__, r = Le(n, e);
211
+ var n = this.__data__, r = $e(n, e);
212
212
  return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
213
213
  }
214
214
  function ce(e) {
@@ -235,22 +235,22 @@ function _o(e) {
235
235
  var t = typeof e;
236
236
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
237
237
  }
238
- function $e(e, t) {
238
+ function Le(e, t) {
239
239
  var n = e.__data__;
240
240
  return _o(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
241
241
  }
242
242
  function vo(e) {
243
- var t = $e(this, e).delete(e);
243
+ var t = Le(this, e).delete(e);
244
244
  return this.size -= t ? 1 : 0, t;
245
245
  }
246
246
  function So(e) {
247
- return $e(this, e).get(e);
247
+ return Le(this, e).get(e);
248
248
  }
249
249
  function Eo(e) {
250
- return $e(this, e).has(e);
250
+ return Le(this, e).has(e);
251
251
  }
252
252
  function Oo(e, t) {
253
- var n = $e(this, e), r = n.size;
253
+ var n = Le(this, e), r = n.size;
254
254
  return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
255
255
  }
256
256
  function re(e) {
@@ -286,17 +286,17 @@ function xo(e) {
286
286
  }), n = t.cache;
287
287
  return t;
288
288
  }
289
- var Ro = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, No = /\\(\\)?/g, Ao = xo(function(e) {
289
+ var Ro = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, No = /\\(\\)?/g, Po = xo(function(e) {
290
290
  var t = [];
291
291
  return e.charCodeAt(0) === 46 && t.push(""), e.replace(Ro, function(n, r, o, s) {
292
292
  t.push(o ? s.replace(No, "$1") : r || n);
293
293
  }), t;
294
294
  });
295
- function Po(e) {
295
+ function Ao(e) {
296
296
  return e == null ? "" : fn(e);
297
297
  }
298
298
  function ko(e, t) {
299
- return ut(e) ? e : Qr(e, t) ? [e] : Ao(Po(e));
299
+ return ut(e) ? e : Qr(e, t) ? [e] : Po(Ao(e));
300
300
  }
301
301
  function Io(e) {
302
302
  if (typeof e == "string" || ct(e))
@@ -304,14 +304,14 @@ function Io(e) {
304
304
  var t = e + "";
305
305
  return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
306
306
  }
307
- function Lo(e, t) {
307
+ function $o(e, t) {
308
308
  t = ko(t, e);
309
309
  for (var n = 0, r = t.length; e != null && n < r; )
310
310
  e = e[Io(t[n++])];
311
311
  return n && n == r ? e : void 0;
312
312
  }
313
- function $o(e, t, n) {
314
- var r = e == null ? void 0 : Lo(e, t);
313
+ function Lo(e, t, n) {
314
+ var r = e == null ? void 0 : $o(e, t);
315
315
  return r === void 0 ? n : r;
316
316
  }
317
317
  function Fo(e) {
@@ -373,8 +373,8 @@ function Vo(...e) {
373
373
  Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
374
374
  const s = [], i = () => {
375
375
  s.forEach((c) => c()), s.length = 0;
376
- }, a = (c, h, y, v) => (c.addEventListener(h, y, v), () => c.removeEventListener(h, y, v)), f = Q(() => [hn(t), dt(o)], ([c, h]) => {
377
- i(), c && s.push(...n.flatMap((y) => r.map((v) => a(c, y, v, h))));
376
+ }, a = (c, d, g, v) => (c.addEventListener(d, g, v), () => c.removeEventListener(d, g, v)), f = Q(() => [hn(t), dt(o)], ([c, d]) => {
377
+ i(), c && s.push(...n.flatMap((g) => r.map((v) => a(c, g, v, d))));
378
378
  }, { immediate: !0, flush: "post" }), u = () => {
379
379
  f(), i();
380
380
  };
@@ -400,8 +400,8 @@ function Zo(e, t, n = {}) {
400
400
  let i;
401
401
  const a = Jo(() => o && "ResizeObserver" in o), f = () => {
402
402
  i && (i.disconnect(), i = void 0);
403
- }, u = Q(() => hn(e), (h) => {
404
- f(), a.value && o && h && (i = new ResizeObserver(t), i.observe(h, s));
403
+ }, u = Q(() => hn(e), (d) => {
404
+ f(), a.value && o && d && (i = new ResizeObserver(t), i.observe(d, s));
405
405
  }, { immediate: !0, flush: "post" }), c = () => {
406
406
  f(), u();
407
407
  };
@@ -414,12 +414,12 @@ var Nt;
414
414
  (function(e) {
415
415
  e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
416
416
  })(Nt || (Nt = {}));
417
- var Xo = Object.defineProperty, At = Object.getOwnPropertySymbols, Qo = Object.prototype.hasOwnProperty, Yo = Object.prototype.propertyIsEnumerable, Pt = (e, t, n) => t in e ? Xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, es = (e, t) => {
417
+ var Xo = Object.defineProperty, Pt = Object.getOwnPropertySymbols, Qo = Object.prototype.hasOwnProperty, Yo = Object.prototype.propertyIsEnumerable, At = (e, t, n) => t in e ? Xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, es = (e, t) => {
418
418
  for (var n in t || (t = {}))
419
- Qo.call(t, n) && Pt(e, n, t[n]);
420
- if (At)
421
- for (var n of At(t))
422
- Yo.call(t, n) && Pt(e, n, t[n]);
419
+ Qo.call(t, n) && At(e, n, t[n]);
420
+ if (Pt)
421
+ for (var n of Pt(t))
422
+ Yo.call(t, n) && At(e, n, t[n]);
423
423
  return e;
424
424
  };
425
425
  const ts = {
@@ -464,12 +464,12 @@ function Fe(e, t) {
464
464
  }
465
465
  const kt = {
466
466
  current: 0
467
- }, It = D(0), gn = 2e3, Lt = Symbol("elZIndexContextKey"), yn = Symbol("zIndexContextKey"), rs = (e) => {
468
- const t = se() ? oe(Lt, kt) : kt, n = e || (se() ? oe(yn, void 0) : void 0), r = E(() => {
467
+ }, It = D(0), gn = 2e3, $t = Symbol("elZIndexContextKey"), yn = Symbol("zIndexContextKey"), rs = (e) => {
468
+ const t = se() ? oe($t, kt) : kt, n = e || (se() ? oe(yn, void 0) : void 0), r = E(() => {
469
469
  const i = b(n);
470
470
  return te(i) ? i : gn;
471
471
  }), o = E(() => r.value + It.value), s = () => (t.current++, It.value = t.current, o.value);
472
- return !ue && !oe(Lt) && Fe("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
472
+ return !ue && !oe($t) && Fe("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
473
473
  usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`), {
474
474
  initialZIndex: r,
475
475
  currentZIndex: o,
@@ -655,7 +655,7 @@ var os = {
655
655
  }
656
656
  }
657
657
  };
658
- const ss = (e) => (t, n) => is(t, n, b(e)), is = (e, t, n) => $o(n, e, e).replace(/\{(\w+)\}/g, (r, o) => {
658
+ const ss = (e) => (t, n) => is(t, n, b(e)), is = (e, t, n) => Lo(n, e, e).replace(/\{(\w+)\}/g, (r, o) => {
659
659
  var s;
660
660
  return `${(s = t == null ? void 0 : t[o]) != null ? s : `{${o}}`}`;
661
661
  }), as = (e) => {
@@ -675,10 +675,10 @@ const ss = (e) => (t, n) => is(t, n, b(e)), is = (e, t, n) => $o(n, e, e).replac
675
675
  type: s,
676
676
  required: !!r,
677
677
  validator: n || i ? (u) => {
678
- let c = !1, h = [];
679
- if (n && (h = Array.from(n), _t(e, "default") && h.push(o), c || (c = h.includes(u))), i && (c || (c = i(u))), !c && h.length > 0) {
680
- const y = [...new Set(h)].map((v) => JSON.stringify(v)).join(", ");
681
- ir(`Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${y}], got value ${JSON.stringify(u)}.`);
678
+ let c = !1, d = [];
679
+ if (n && (d = Array.from(n), _t(e, "default") && d.push(o), c || (c = d.includes(u))), i && (c || (c = i(u))), !c && d.length > 0) {
680
+ const g = [...new Set(d)].map((v) => JSON.stringify(v)).join(", ");
681
+ ir(`Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${g}], got value ${JSON.stringify(u)}.`);
682
682
  }
683
683
  return c;
684
684
  } : void 0,
@@ -697,11 +697,11 @@ const ss = (e) => (t, n) => is(t, n, b(e)), is = (e, t, n) => $o(n, e, e).replac
697
697
  valueOnClear: {
698
698
  type: [String, Number, Boolean, Function],
699
699
  default: void 0,
700
- validator: (e) => Ae(e) ? !e() : !e
700
+ validator: (e) => Pe(e) ? !e() : !e
701
701
  }
702
- }), $t = (e) => Object.keys(e), Pe = D();
702
+ }), Lt = (e) => Object.keys(e), Ae = D();
703
703
  function vn(e, t = void 0) {
704
- return se() ? oe(sn, Pe) : Pe;
704
+ return se() ? oe(sn, Ae) : Ae;
705
705
  }
706
706
  function ms(e, t) {
707
707
  const n = vn(), r = at(e, E(() => {
@@ -740,9 +740,9 @@ const Sn = (e, t, n = !1) => {
740
740
  }), i(ps, E(() => ({
741
741
  emptyValues: a.value.emptyValues,
742
742
  valueOnClear: a.value.valueOnClear
743
- }))), (n || !Pe.value) && (Pe.value = a.value), a;
743
+ }))), (n || !Ae.value) && (Ae.value = a.value), a;
744
744
  }, gs = (e, t) => {
745
- const n = [.../* @__PURE__ */ new Set([...$t(e), ...$t(t)])], r = {};
745
+ const n = [.../* @__PURE__ */ new Set([...Lt(e), ...Lt(t)])], r = {};
746
746
  for (const o of n)
747
747
  r[o] = t[o] !== void 0 ? t[o] : e[o];
748
748
  return r;
@@ -789,7 +789,7 @@ const En = (e, t) => (e.install = (n) => {
789
789
  "--color": s
790
790
  };
791
791
  });
792
- return (o, s) => (P(), V("i", lr({
792
+ return (o, s) => (A(), V("i", lr({
793
793
  class: b(n).b(),
794
794
  style: b(r)
795
795
  }, o.$attrs), [
@@ -804,11 +804,11 @@ var Es = /* @__PURE__ */ B({
804
804
  name: "CircleCloseFilled",
805
805
  __name: "circle-close-filled",
806
806
  setup(e) {
807
- return (t, n) => (P(), V("svg", {
807
+ return (t, n) => (A(), V("svg", {
808
808
  xmlns: "http://www.w3.org/2000/svg",
809
809
  viewBox: "0 0 1024 1024"
810
810
  }, [
811
- W("path", {
811
+ G("path", {
812
812
  fill: "currentColor",
813
813
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"
814
814
  })
@@ -818,11 +818,11 @@ var Es = /* @__PURE__ */ B({
818
818
  name: "Close",
819
819
  __name: "close",
820
820
  setup(e) {
821
- return (t, n) => (P(), V("svg", {
821
+ return (t, n) => (A(), V("svg", {
822
822
  xmlns: "http://www.w3.org/2000/svg",
823
823
  viewBox: "0 0 1024 1024"
824
824
  }, [
825
- W("path", {
825
+ G("path", {
826
826
  fill: "currentColor",
827
827
  d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
828
828
  })
@@ -832,11 +832,11 @@ var Es = /* @__PURE__ */ B({
832
832
  name: "InfoFilled",
833
833
  __name: "info-filled",
834
834
  setup(e) {
835
- return (t, n) => (P(), V("svg", {
835
+ return (t, n) => (A(), V("svg", {
836
836
  xmlns: "http://www.w3.org/2000/svg",
837
837
  viewBox: "0 0 1024 1024"
838
838
  }, [
839
- W("path", {
839
+ G("path", {
840
840
  fill: "currentColor",
841
841
  d: "M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
842
842
  })
@@ -846,31 +846,31 @@ var Es = /* @__PURE__ */ B({
846
846
  name: "SuccessFilled",
847
847
  __name: "success-filled",
848
848
  setup(e) {
849
- return (t, n) => (P(), V("svg", {
849
+ return (t, n) => (A(), V("svg", {
850
850
  xmlns: "http://www.w3.org/2000/svg",
851
851
  viewBox: "0 0 1024 1024"
852
852
  }, [
853
- W("path", {
853
+ G("path", {
854
854
  fill: "currentColor",
855
855
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"
856
856
  })
857
857
  ]));
858
858
  }
859
- }), Ns = Rs, As = /* @__PURE__ */ B({
859
+ }), Ns = Rs, Ps = /* @__PURE__ */ B({
860
860
  name: "WarningFilled",
861
861
  __name: "warning-filled",
862
862
  setup(e) {
863
- return (t, n) => (P(), V("svg", {
863
+ return (t, n) => (A(), V("svg", {
864
864
  xmlns: "http://www.w3.org/2000/svg",
865
865
  viewBox: "0 0 1024 1024"
866
866
  }, [
867
- W("path", {
867
+ G("path", {
868
868
  fill: "currentColor",
869
869
  d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"
870
870
  })
871
871
  ]));
872
872
  }
873
- }), Ps = As;
873
+ }), As = Ps;
874
874
  const ks = M([
875
875
  String,
876
876
  Object,
@@ -880,10 +880,10 @@ const ks = M([
880
880
  }, Dt = {
881
881
  primary: Bt,
882
882
  success: Ns,
883
- warning: Ps,
883
+ warning: As,
884
884
  error: Os,
885
885
  info: Bt
886
- }, Ls = (e) => e, $s = {
886
+ }, $s = (e) => e, Ls = {
887
887
  esc: "Escape"
888
888
  }, Fs = ve({
889
889
  value: {
@@ -935,8 +935,8 @@ const ks = M([
935
935
  });
936
936
  return t({
937
937
  content: o
938
- }), (i, a) => (P(), V("div", {
939
- class: K(b(r).b())
938
+ }), (i, a) => (A(), V("div", {
939
+ class: W(b(r).b())
940
940
  }, [
941
941
  ye(i.$slots, "default"),
942
942
  it(Yt, {
@@ -944,8 +944,8 @@ const ks = M([
944
944
  persisted: ""
945
945
  }, {
946
946
  default: Te(() => [
947
- en(W("sup", {
948
- class: K([
947
+ en(G("sup", {
948
+ class: W([
949
949
  b(r).e("content"),
950
950
  b(r).em("content", i.type),
951
951
  b(r).is("fixed", !!i.$slots.default),
@@ -1017,7 +1017,7 @@ const On = [
1017
1017
  "info",
1018
1018
  "warning",
1019
1019
  "error"
1020
- ], A = Ls({
1020
+ ], P = $s({
1021
1021
  customClass: "",
1022
1022
  dangerouslyUseHTMLString: !1,
1023
1023
  duration: 3e3,
@@ -1036,23 +1036,23 @@ const On = [
1036
1036
  }), zs = ve({
1037
1037
  customClass: {
1038
1038
  type: String,
1039
- default: A.customClass
1039
+ default: P.customClass
1040
1040
  },
1041
1041
  dangerouslyUseHTMLString: {
1042
1042
  type: Boolean,
1043
- default: A.dangerouslyUseHTMLString
1043
+ default: P.dangerouslyUseHTMLString
1044
1044
  },
1045
1045
  duration: {
1046
1046
  type: Number,
1047
- default: A.duration
1047
+ default: P.duration
1048
1048
  },
1049
1049
  icon: {
1050
1050
  type: ks,
1051
- default: A.icon
1051
+ default: P.icon
1052
1052
  },
1053
1053
  id: {
1054
1054
  type: String,
1055
- default: A.id
1055
+ default: P.id
1056
1056
  },
1057
1057
  message: {
1058
1058
  type: M([
@@ -1060,40 +1060,40 @@ const On = [
1060
1060
  Object,
1061
1061
  Function
1062
1062
  ]),
1063
- default: A.message
1063
+ default: P.message
1064
1064
  },
1065
1065
  onClose: {
1066
1066
  type: M(Function),
1067
- default: A.onClose
1067
+ default: P.onClose
1068
1068
  },
1069
1069
  showClose: {
1070
1070
  type: Boolean,
1071
- default: A.showClose
1071
+ default: P.showClose
1072
1072
  },
1073
1073
  type: {
1074
1074
  type: String,
1075
1075
  values: On,
1076
- default: A.type
1076
+ default: P.type
1077
1077
  },
1078
1078
  plain: {
1079
1079
  type: Boolean,
1080
- default: A.plain
1080
+ default: P.plain
1081
1081
  },
1082
1082
  offset: {
1083
1083
  type: Number,
1084
- default: A.offset
1084
+ default: P.offset
1085
1085
  },
1086
1086
  zIndex: {
1087
1087
  type: Number,
1088
- default: A.zIndex
1088
+ default: P.zIndex
1089
1089
  },
1090
1090
  grouping: {
1091
1091
  type: Boolean,
1092
- default: A.grouping
1092
+ default: P.grouping
1093
1093
  },
1094
1094
  repeatNum: {
1095
1095
  type: Number,
1096
- default: A.repeatNum
1096
+ default: P.repeatNum
1097
1097
  }
1098
1098
  }), qs = {
1099
1099
  destroy: () => !0
@@ -1111,12 +1111,12 @@ const On = [
1111
1111
  props: zs,
1112
1112
  emits: qs,
1113
1113
  setup(e, { expose: t, emit: n }) {
1114
- const r = e, { Close: o } = Is, s = D(!1), { ns: i, zIndex: a } = ms("message"), { currentZIndex: f, nextZIndex: u } = a, c = D(), h = D(!1), y = D(0);
1114
+ const r = e, { Close: o } = Is, s = D(!1), { ns: i, zIndex: a } = ms("message"), { currentZIndex: f, nextZIndex: u } = a, c = D(), d = D(!1), g = D(0);
1115
1115
  let v;
1116
- const m = E(() => r.type ? r.type === "error" ? "danger" : r.type : "info"), d = E(() => {
1116
+ const m = E(() => r.type ? r.type === "error" ? "danger" : r.type : "info"), p = E(() => {
1117
1117
  const S = r.type;
1118
1118
  return { [i.bm("icon", S)]: S && Dt[S] };
1119
- }), p = E(() => r.icon || Dt[r.type] || ""), w = E(() => Vs(r.id)), O = E(() => Js(r.id, r.offset) + w.value), T = E(() => y.value + O.value), L = E(() => ({
1119
+ }), h = E(() => r.icon || Dt[r.type] || ""), w = E(() => Vs(r.id)), O = E(() => Js(r.id, r.offset) + w.value), T = E(() => g.value + O.value), $ = E(() => ({
1120
1120
  top: `${O.value}px`,
1121
1121
  zIndex: f.value
1122
1122
  }));
@@ -1125,29 +1125,29 @@ const On = [
1125
1125
  R();
1126
1126
  }, r.duration));
1127
1127
  }
1128
- function $() {
1128
+ function L() {
1129
1129
  v == null || v();
1130
1130
  }
1131
1131
  function R() {
1132
- h.value = !1, st(() => {
1132
+ d.value = !1, st(() => {
1133
1133
  var S;
1134
1134
  s.value || ((S = r.onClose) == null || S.call(r), n("destroy"));
1135
1135
  });
1136
1136
  }
1137
- function J({ code: S }) {
1138
- S === $s.esc && R();
1137
+ function K({ code: S }) {
1138
+ S === Ls.esc && R();
1139
1139
  }
1140
1140
  return Qt(() => {
1141
- x(), u(), h.value = !0;
1141
+ x(), u(), d.value = !0;
1142
1142
  }), Q(() => r.repeatNum, () => {
1143
- $(), x();
1144
- }), Vo(document, "keydown", J), Zo(c, () => {
1145
- y.value = c.value.getBoundingClientRect().height;
1143
+ L(), x();
1144
+ }), Vo(document, "keydown", K), Zo(c, () => {
1145
+ g.value = c.value.getBoundingClientRect().height;
1146
1146
  }), t({
1147
- visible: h,
1147
+ visible: d,
1148
1148
  bottom: T,
1149
1149
  close: R
1150
- }), (S, bt) => (P(), pe(Yt, {
1150
+ }), (S, bt) => (A(), pe(Yt, {
1151
1151
  name: b(i).b("fade"),
1152
1152
  onBeforeEnter: (He) => s.value = !0,
1153
1153
  onBeforeLeave: S.onClose,
@@ -1155,52 +1155,52 @@ const On = [
1155
1155
  persisted: ""
1156
1156
  }, {
1157
1157
  default: Te(() => [
1158
- en(W("div", {
1158
+ en(G("div", {
1159
1159
  id: S.id,
1160
1160
  ref_key: "messageRef",
1161
1161
  ref: c,
1162
- class: K([
1162
+ class: W([
1163
1163
  b(i).b(),
1164
1164
  { [b(i).m(S.type)]: S.type },
1165
1165
  b(i).is("closable", S.showClose),
1166
1166
  b(i).is("plain", S.plain),
1167
1167
  S.customClass
1168
1168
  ]),
1169
- style: tn(b(L)),
1169
+ style: tn(b($)),
1170
1170
  role: "alert",
1171
- onMouseenter: $,
1171
+ onMouseenter: L,
1172
1172
  onMouseleave: x
1173
1173
  }, [
1174
- S.repeatNum > 1 ? (P(), pe(b(Us), {
1174
+ S.repeatNum > 1 ? (A(), pe(b(Us), {
1175
1175
  key: 0,
1176
1176
  value: S.repeatNum,
1177
1177
  type: b(m),
1178
- class: K(b(i).e("badge"))
1178
+ class: W(b(i).e("badge"))
1179
1179
  }, null, 8, ["value", "type", "class"])) : Oe("v-if", !0),
1180
- b(p) ? (P(), pe(b(Ft), {
1180
+ b(h) ? (A(), pe(b(Ft), {
1181
1181
  key: 1,
1182
- class: K([b(i).e("icon"), b(d)])
1182
+ class: W([b(i).e("icon"), b(p)])
1183
1183
  }, {
1184
1184
  default: Te(() => [
1185
- (P(), pe(fr(b(p))))
1185
+ (A(), pe(fr(b(h))))
1186
1186
  ]),
1187
1187
  _: 1
1188
1188
  }, 8, ["class"])) : Oe("v-if", !0),
1189
1189
  ye(S.$slots, "default", {}, () => [
1190
- S.dangerouslyUseHTMLString ? (P(), V(dr, { key: 1 }, [
1190
+ S.dangerouslyUseHTMLString ? (A(), V(dr, { key: 1 }, [
1191
1191
  Oe(" Caution here, message could've been compromised, never use user's input as message "),
1192
- W("p", {
1193
- class: K(b(i).e("content")),
1192
+ G("p", {
1193
+ class: W(b(i).e("content")),
1194
1194
  innerHTML: S.message
1195
1195
  }, null, 10, ["innerHTML"])
1196
- ], 2112)) : (P(), V("p", {
1196
+ ], 2112)) : (A(), V("p", {
1197
1197
  key: 0,
1198
- class: K(b(i).e("content"))
1198
+ class: W(b(i).e("content"))
1199
1199
  }, nn(S.message), 3))
1200
1200
  ]),
1201
- S.showClose ? (P(), pe(b(Ft), {
1201
+ S.showClose ? (A(), pe(b(Ft), {
1202
1202
  key: 2,
1203
- class: K(b(i).e("closeBtn")),
1203
+ class: W(b(i).e("closeBtn")),
1204
1204
  onClick: pr(R, ["stop"])
1205
1205
  }, {
1206
1206
  default: Te(() => [
@@ -1209,7 +1209,7 @@ const On = [
1209
1209
  _: 1
1210
1210
  }, 8, ["class", "onClick"])) : Oe("v-if", !0)
1211
1211
  ], 46, ["id"]), [
1212
- [rn, h.value]
1212
+ [rn, d.value]
1213
1213
  ])
1214
1214
  ]),
1215
1215
  _: 3
@@ -1219,8 +1219,8 @@ const On = [
1219
1219
  var Gs = /* @__PURE__ */ ht(Ws, [["__file", "message.vue"]]);
1220
1220
  let Zs = 1;
1221
1221
  const Tn = (e) => {
1222
- const t = !e || be(e) || on(e) || Ae(e) ? { message: e } : e, n = {
1223
- ...A,
1222
+ const t = !e || be(e) || on(e) || Pe(e) ? { message: e } : e, n = {
1223
+ ...P,
1224
1224
  ...t
1225
1225
  };
1226
1226
  if (!n.appendTo)
@@ -1247,8 +1247,8 @@ const Tn = (e) => {
1247
1247
  onDestroy: () => {
1248
1248
  wt(null, s);
1249
1249
  }
1250
- }, a = it(Gs, i, Ae(i.message) || on(i.message) ? {
1251
- default: Ae(i.message) ? i.message : () => i.message
1250
+ }, a = it(Gs, i, Pe(i.message) || on(i.message) ? {
1251
+ default: Pe(i.message) ? i.message : () => i.message
1252
1252
  } : null);
1253
1253
  a.appContext = n || ae._context, wt(a, s), e.appendChild(s.firstElementChild);
1254
1254
  const f = a.component, c = {
@@ -1337,7 +1337,7 @@ function Se(e, t, { allOwnKeys: n = !1 } = {}) {
1337
1337
  a = s[r], t.call(null, e[a], a, e);
1338
1338
  }
1339
1339
  }
1340
- function An(e, t) {
1340
+ function Pn(e, t) {
1341
1341
  t = t.toLowerCase();
1342
1342
  const n = Object.keys(e);
1343
1343
  let r = n.length, o;
@@ -1346,10 +1346,10 @@ function An(e, t) {
1346
1346
  return o;
1347
1347
  return null;
1348
1348
  }
1349
- const X = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Pn = (e) => !_e(e) && e !== X;
1349
+ const X = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, An = (e) => !_e(e) && e !== X;
1350
1350
  function Qe() {
1351
- const { caseless: e } = Pn(this) && this || {}, t = {}, n = (r, o) => {
1352
- const s = e && An(t, o) || o;
1351
+ const { caseless: e } = An(this) && this || {}, t = {}, n = (r, o) => {
1352
+ const s = e && Pn(t, o) || o;
1353
1353
  xe(t[s]) && xe(r) ? t[s] = Qe(t[s], r) : xe(r) ? t[s] = Qe({}, r) : fe(r) ? t[s] = r.slice() : t[s] = r;
1354
1354
  };
1355
1355
  for (let r = 0, o = arguments.length; r < o; r++)
@@ -1409,7 +1409,7 @@ const bi = (e, t, n, { allOwnKeys: r } = {}) => (Se(t, (o, s) => {
1409
1409
  let i;
1410
1410
  (i = t(o, s, e)) !== !1 && (r[s] = i || o);
1411
1411
  }), Object.defineProperties(e, r);
1412
- }, Ai = (e) => {
1412
+ }, Pi = (e) => {
1413
1413
  kn(e, (t, n) => {
1414
1414
  if (k(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
1415
1415
  return !1;
@@ -1424,7 +1424,7 @@ const bi = (e, t, n, { allOwnKeys: r } = {}) => (Se(t, (o, s) => {
1424
1424
  });
1425
1425
  }
1426
1426
  });
1427
- }, Pi = (e, t) => {
1427
+ }, Ai = (e, t) => {
1428
1428
  const n = {}, r = (o) => {
1429
1429
  o.forEach((s) => {
1430
1430
  n[s] = !0;
@@ -1433,10 +1433,10 @@ const bi = (e, t, n, { allOwnKeys: r } = {}) => (Se(t, (o, s) => {
1433
1433
  return fe(e) ? r(e) : r(String(e).split(t)), n;
1434
1434
  }, ki = () => {
1435
1435
  }, Ii = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
1436
- function Li(e) {
1436
+ function $i(e) {
1437
1437
  return !!(e && k(e.append) && e[xn] === "FormData" && e[Be]);
1438
1438
  }
1439
- const $i = (e) => {
1439
+ const Li = (e) => {
1440
1440
  const t = new Array(10), n = (r, o) => {
1441
1441
  if (Ue(r)) {
1442
1442
  if (t.indexOf(r) >= 0)
@@ -1503,26 +1503,26 @@ const $i = (e) => {
1503
1503
  hasOwnProp: jt,
1504
1504
  // an alias to avoid ESLint no-prototype-builtins detection
1505
1505
  reduceDescriptors: kn,
1506
- freezeMethods: Ai,
1507
- toObjectSet: Pi,
1506
+ freezeMethods: Pi,
1507
+ toObjectSet: Ai,
1508
1508
  toCamelCase: Ri,
1509
1509
  noop: ki,
1510
1510
  toFiniteNumber: Ii,
1511
- findKey: An,
1511
+ findKey: Pn,
1512
1512
  global: X,
1513
- isContextDefined: Pn,
1514
- isSpecCompliantForm: Li,
1515
- toJSONObject: $i,
1513
+ isContextDefined: An,
1514
+ isSpecCompliantForm: $i,
1515
+ toJSONObject: Li,
1516
1516
  isAsyncFn: Fi,
1517
1517
  isThenable: Bi,
1518
1518
  setImmediate: In,
1519
1519
  asap: Di,
1520
1520
  isIterable: ji
1521
1521
  };
1522
- function g(e, t, n, r, o) {
1522
+ function y(e, t, n, r, o) {
1523
1523
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
1524
1524
  }
1525
- l.inherits(g, Error, {
1525
+ l.inherits(y, Error, {
1526
1526
  toJSON: function() {
1527
1527
  return {
1528
1528
  // Standard
@@ -1543,7 +1543,7 @@ l.inherits(g, Error, {
1543
1543
  };
1544
1544
  }
1545
1545
  });
1546
- const Ln = g.prototype, $n = {};
1546
+ const $n = y.prototype, Ln = {};
1547
1547
  [
1548
1548
  "ERR_BAD_OPTION_VALUE",
1549
1549
  "ERR_BAD_OPTION",
@@ -1559,15 +1559,15 @@ const Ln = g.prototype, $n = {};
1559
1559
  "ERR_INVALID_URL"
1560
1560
  // eslint-disable-next-line func-names
1561
1561
  ].forEach((e) => {
1562
- $n[e] = { value: e };
1562
+ Ln[e] = { value: e };
1563
1563
  });
1564
- Object.defineProperties(g, $n);
1565
- Object.defineProperty(Ln, "isAxiosError", { value: !0 });
1566
- g.from = (e, t, n, r, o, s) => {
1567
- const i = Object.create(Ln);
1564
+ Object.defineProperties(y, Ln);
1565
+ Object.defineProperty($n, "isAxiosError", { value: !0 });
1566
+ y.from = (e, t, n, r, o, s) => {
1567
+ const i = Object.create($n);
1568
1568
  return l.toFlatObject(e, i, function(f) {
1569
1569
  return f !== Error.prototype;
1570
- }, (a) => a !== "isAxiosError"), g.call(i, e.message, t, n, r, o), i.cause = e, i.name = e.name, s && Object.assign(i, s), i;
1570
+ }, (a) => a !== "isAxiosError"), y.call(i, e.message, t, n, r, o), i.cause = e, i.name = e.name, s && Object.assign(i, s), i;
1571
1571
  };
1572
1572
  const Ui = null;
1573
1573
  function Ye(e) {
@@ -1594,8 +1594,8 @@ function Me(e, t, n) {
1594
1594
  metaTokens: !0,
1595
1595
  dots: !1,
1596
1596
  indexes: !1
1597
- }, !1, function(d, p) {
1598
- return !l.isUndefined(p[d]);
1597
+ }, !1, function(p, h) {
1598
+ return !l.isUndefined(h[p]);
1599
1599
  });
1600
1600
  const r = n.metaTokens, o = n.visitor || c, s = n.dots, i = n.indexes, f = (n.Blob || typeof Blob < "u" && Blob) && l.isSpecCompliantForm(t);
1601
1601
  if (!l.isFunction(o))
@@ -1607,43 +1607,43 @@ function Me(e, t, n) {
1607
1607
  if (l.isBoolean(m))
1608
1608
  return m.toString();
1609
1609
  if (!f && l.isBlob(m))
1610
- throw new g("Blob is not supported. Use a Buffer instead.");
1610
+ throw new y("Blob is not supported. Use a Buffer instead.");
1611
1611
  return l.isArrayBuffer(m) || l.isTypedArray(m) ? f && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
1612
1612
  }
1613
- function c(m, d, p) {
1613
+ function c(m, p, h) {
1614
1614
  let w = m;
1615
- if (m && !p && typeof m == "object") {
1616
- if (l.endsWith(d, "{}"))
1617
- d = r ? d : d.slice(0, -2), m = JSON.stringify(m);
1618
- else if (l.isArray(m) && Mi(m) || (l.isFileList(m) || l.endsWith(d, "[]")) && (w = l.toArray(m)))
1619
- return d = Fn(d), w.forEach(function(T, L) {
1615
+ if (m && !h && typeof m == "object") {
1616
+ if (l.endsWith(p, "{}"))
1617
+ p = r ? p : p.slice(0, -2), m = JSON.stringify(m);
1618
+ else if (l.isArray(m) && Mi(m) || (l.isFileList(m) || l.endsWith(p, "[]")) && (w = l.toArray(m)))
1619
+ return p = Fn(p), w.forEach(function(T, $) {
1620
1620
  !(l.isUndefined(T) || T === null) && t.append(
1621
1621
  // eslint-disable-next-line no-nested-ternary
1622
- i === !0 ? Ut([d], L, s) : i === null ? d : d + "[]",
1622
+ i === !0 ? Ut([p], $, s) : i === null ? p : p + "[]",
1623
1623
  u(T)
1624
1624
  );
1625
1625
  }), !1;
1626
1626
  }
1627
- return Ye(m) ? !0 : (t.append(Ut(p, d, s), u(m)), !1);
1627
+ return Ye(m) ? !0 : (t.append(Ut(h, p, s), u(m)), !1);
1628
1628
  }
1629
- const h = [], y = Object.assign(zi, {
1629
+ const d = [], g = Object.assign(zi, {
1630
1630
  defaultVisitor: c,
1631
1631
  convertValue: u,
1632
1632
  isVisitable: Ye
1633
1633
  });
1634
- function v(m, d) {
1634
+ function v(m, p) {
1635
1635
  if (!l.isUndefined(m)) {
1636
- if (h.indexOf(m) !== -1)
1637
- throw Error("Circular reference detected in " + d.join("."));
1638
- h.push(m), l.forEach(m, function(w, O) {
1636
+ if (d.indexOf(m) !== -1)
1637
+ throw Error("Circular reference detected in " + p.join("."));
1638
+ d.push(m), l.forEach(m, function(w, O) {
1639
1639
  (!(l.isUndefined(w) || w === null) && o.call(
1640
1640
  t,
1641
1641
  w,
1642
1642
  l.isString(O) ? O.trim() : O,
1643
- d,
1644
- y
1645
- )) === !0 && v(w, d ? d.concat(O) : [O]);
1646
- }), h.pop();
1643
+ p,
1644
+ g
1645
+ )) === !0 && v(w, p ? p.concat(O) : [O]);
1646
+ }), d.pop();
1647
1647
  }
1648
1648
  }
1649
1649
  if (!l.isObject(e))
@@ -1857,7 +1857,7 @@ const Ee = {
1857
1857
  return JSON.parse(t);
1858
1858
  } catch (a) {
1859
1859
  if (i)
1860
- throw a.name === "SyntaxError" ? g.from(a, g.ERR_BAD_RESPONSE, this, null, this.response) : a;
1860
+ throw a.name === "SyntaxError" ? y.from(a, y.ERR_BAD_RESPONSE, this, null, this.response) : a;
1861
1861
  }
1862
1862
  }
1863
1863
  return t;
@@ -1962,8 +1962,8 @@ let I = class {
1962
1962
  const c = me(f);
1963
1963
  if (!c)
1964
1964
  throw new Error("header name must be a non-empty string");
1965
- const h = l.findKey(o, c);
1966
- (!h || o[h] === void 0 || u === !0 || u === void 0 && o[h] !== !1) && (o[h || f] = Re(a));
1965
+ const d = l.findKey(o, c);
1966
+ (!d || o[d] === void 0 || u === !0 || u === void 0 && o[d] !== !1) && (o[d || f] = Re(a));
1967
1967
  }
1968
1968
  const i = (a, f) => l.forEach(a, (u, c) => s(u, c, f));
1969
1969
  if (l.isPlainObject(t) || t instanceof this.constructor)
@@ -2100,16 +2100,16 @@ function Mn(e) {
2100
2100
  return !!(e && e.__CANCEL__);
2101
2101
  }
2102
2102
  function de(e, t, n) {
2103
- g.call(this, e ?? "canceled", g.ERR_CANCELED, t, n), this.name = "CanceledError";
2103
+ y.call(this, e ?? "canceled", y.ERR_CANCELED, t, n), this.name = "CanceledError";
2104
2104
  }
2105
- l.inherits(de, g, {
2105
+ l.inherits(de, y, {
2106
2106
  __CANCEL__: !0
2107
2107
  });
2108
2108
  function zn(e, t, n) {
2109
2109
  const r = n.config.validateStatus;
2110
- !n.status || !r || r(n.status) ? e(n) : t(new g(
2110
+ !n.status || !r || r(n.status) ? e(n) : t(new y(
2111
2111
  "Request failed with status code " + n.status,
2112
- [g.ERR_BAD_REQUEST, g.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
2112
+ [y.ERR_BAD_REQUEST, y.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
2113
2113
  n.config,
2114
2114
  n.request,
2115
2115
  n
@@ -2126,13 +2126,13 @@ function ca(e, t) {
2126
2126
  return t = t !== void 0 ? t : 1e3, function(f) {
2127
2127
  const u = Date.now(), c = r[s];
2128
2128
  i || (i = u), n[o] = f, r[o] = u;
2129
- let h = s, y = 0;
2130
- for (; h !== o; )
2131
- y += n[h++], h = h % e;
2129
+ let d = s, g = 0;
2130
+ for (; d !== o; )
2131
+ g += n[d++], d = d % e;
2132
2132
  if (o = (o + 1) % e, o === s && (s = (s + 1) % e), u - i < t)
2133
2133
  return;
2134
2134
  const v = c && u - c;
2135
- return v ? Math.round(y * 1e3 / v) : void 0;
2135
+ return v ? Math.round(g * 1e3 / v) : void 0;
2136
2136
  };
2137
2137
  }
2138
2138
  function ua(e, t) {
@@ -2141,10 +2141,10 @@ function ua(e, t) {
2141
2141
  n = c, o = null, s && (clearTimeout(s), s = null), e.apply(null, u);
2142
2142
  };
2143
2143
  return [(...u) => {
2144
- const c = Date.now(), h = c - n;
2145
- h >= r ? i(u, c) : (o = u, s || (s = setTimeout(() => {
2144
+ const c = Date.now(), d = c - n;
2145
+ d >= r ? i(u, c) : (o = u, s || (s = setTimeout(() => {
2146
2146
  s = null, i(o);
2147
- }, r - h)));
2147
+ }, r - d)));
2148
2148
  }, () => o && i(o)];
2149
2149
  }
2150
2150
  const ke = (e, t, n = 3) => {
@@ -2153,7 +2153,7 @@ const ke = (e, t, n = 3) => {
2153
2153
  return ua((s) => {
2154
2154
  const i = s.loaded, a = s.lengthComputable ? s.total : void 0, f = i - r, u = o(f), c = i <= a;
2155
2155
  r = i;
2156
- const h = {
2156
+ const d = {
2157
2157
  loaded: i,
2158
2158
  total: a,
2159
2159
  progress: a ? i / a : void 0,
@@ -2164,7 +2164,7 @@ const ke = (e, t, n = 3) => {
2164
2164
  lengthComputable: a != null,
2165
2165
  [t ? "download" : "upload"]: !0
2166
2166
  };
2167
- e(h);
2167
+ e(d);
2168
2168
  }, n);
2169
2169
  }, Ht = (e, t) => {
2170
2170
  const n = e != null;
@@ -2217,14 +2217,14 @@ const Jt = (e) => e instanceof I ? { ...e } : e;
2217
2217
  function ne(e, t) {
2218
2218
  t = t || {};
2219
2219
  const n = {};
2220
- function r(u, c, h, y) {
2221
- return l.isPlainObject(u) && l.isPlainObject(c) ? l.merge.call({ caseless: y }, u, c) : l.isPlainObject(c) ? l.merge({}, c) : l.isArray(c) ? c.slice() : c;
2220
+ function r(u, c, d, g) {
2221
+ return l.isPlainObject(u) && l.isPlainObject(c) ? l.merge.call({ caseless: g }, u, c) : l.isPlainObject(c) ? l.merge({}, c) : l.isArray(c) ? c.slice() : c;
2222
2222
  }
2223
- function o(u, c, h, y) {
2223
+ function o(u, c, d, g) {
2224
2224
  if (l.isUndefined(c)) {
2225
2225
  if (!l.isUndefined(u))
2226
- return r(void 0, u, h, y);
2227
- } else return r(u, c, h, y);
2226
+ return r(void 0, u, d, g);
2227
+ } else return r(u, c, d, g);
2228
2228
  }
2229
2229
  function s(u, c) {
2230
2230
  if (!l.isUndefined(c))
@@ -2236,10 +2236,10 @@ function ne(e, t) {
2236
2236
  return r(void 0, u);
2237
2237
  } else return r(void 0, c);
2238
2238
  }
2239
- function a(u, c, h) {
2240
- if (h in t)
2239
+ function a(u, c, d) {
2240
+ if (d in t)
2241
2241
  return r(u, c);
2242
- if (h in e)
2242
+ if (d in e)
2243
2243
  return r(void 0, u);
2244
2244
  }
2245
2245
  const f = {
@@ -2271,11 +2271,11 @@ function ne(e, t) {
2271
2271
  socketPath: i,
2272
2272
  responseEncoding: i,
2273
2273
  validateStatus: a,
2274
- headers: (u, c, h) => o(Jt(u), Jt(c), h, !0)
2274
+ headers: (u, c, d) => o(Jt(u), Jt(c), d, !0)
2275
2275
  };
2276
2276
  return l.forEach(Object.keys(Object.assign({}, e, t)), function(c) {
2277
- const h = f[c] || o, y = h(e[c], t[c], c);
2278
- l.isUndefined(y) && h !== a || (n[c] = y);
2277
+ const d = f[c] || o, g = d(e[c], t[c], c);
2278
+ l.isUndefined(g) && d !== a || (n[c] = g);
2279
2279
  }), n;
2280
2280
  }
2281
2281
  const Hn = (e) => {
@@ -2290,7 +2290,7 @@ const Hn = (e) => {
2290
2290
  if (N.hasStandardBrowserEnv || N.hasStandardBrowserWebWorkerEnv)
2291
2291
  i.setContentType(void 0);
2292
2292
  else if ((f = i.getContentType()) !== !1) {
2293
- const [u, ...c] = f ? f.split(";").map((h) => h.trim()).filter(Boolean) : [];
2293
+ const [u, ...c] = f ? f.split(";").map((d) => d.trim()).filter(Boolean) : [];
2294
2294
  i.setContentType([u || "multipart/form-data", ...c].join("; "));
2295
2295
  }
2296
2296
  }
@@ -2304,57 +2304,57 @@ const Hn = (e) => {
2304
2304
  const o = Hn(e);
2305
2305
  let s = o.data;
2306
2306
  const i = I.from(o.headers).normalize();
2307
- let { responseType: a, onUploadProgress: f, onDownloadProgress: u } = o, c, h, y, v, m;
2308
- function d() {
2307
+ let { responseType: a, onUploadProgress: f, onDownloadProgress: u } = o, c, d, g, v, m;
2308
+ function p() {
2309
2309
  v && v(), m && m(), o.cancelToken && o.cancelToken.unsubscribe(c), o.signal && o.signal.removeEventListener("abort", c);
2310
2310
  }
2311
- let p = new XMLHttpRequest();
2312
- p.open(o.method.toUpperCase(), o.url, !0), p.timeout = o.timeout;
2311
+ let h = new XMLHttpRequest();
2312
+ h.open(o.method.toUpperCase(), o.url, !0), h.timeout = o.timeout;
2313
2313
  function w() {
2314
- if (!p)
2314
+ if (!h)
2315
2315
  return;
2316
2316
  const T = I.from(
2317
- "getAllResponseHeaders" in p && p.getAllResponseHeaders()
2317
+ "getAllResponseHeaders" in h && h.getAllResponseHeaders()
2318
2318
  ), x = {
2319
- data: !a || a === "text" || a === "json" ? p.responseText : p.response,
2320
- status: p.status,
2321
- statusText: p.statusText,
2319
+ data: !a || a === "text" || a === "json" ? h.responseText : h.response,
2320
+ status: h.status,
2321
+ statusText: h.statusText,
2322
2322
  headers: T,
2323
2323
  config: e,
2324
- request: p
2324
+ request: h
2325
2325
  };
2326
2326
  zn(function(R) {
2327
- n(R), d();
2327
+ n(R), p();
2328
2328
  }, function(R) {
2329
- r(R), d();
2330
- }, x), p = null;
2331
- }
2332
- "onloadend" in p ? p.onloadend = w : p.onreadystatechange = function() {
2333
- !p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(w);
2334
- }, p.onabort = function() {
2335
- p && (r(new g("Request aborted", g.ECONNABORTED, e, p)), p = null);
2336
- }, p.onerror = function() {
2337
- r(new g("Network Error", g.ERR_NETWORK, e, p)), p = null;
2338
- }, p.ontimeout = function() {
2339
- let L = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
2329
+ r(R), p();
2330
+ }, x), h = null;
2331
+ }
2332
+ "onloadend" in h ? h.onloadend = w : h.onreadystatechange = function() {
2333
+ !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(w);
2334
+ }, h.onabort = function() {
2335
+ h && (r(new y("Request aborted", y.ECONNABORTED, e, h)), h = null);
2336
+ }, h.onerror = function() {
2337
+ r(new y("Network Error", y.ERR_NETWORK, e, h)), h = null;
2338
+ }, h.ontimeout = function() {
2339
+ let $ = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
2340
2340
  const x = o.transitional || jn;
2341
- o.timeoutErrorMessage && (L = o.timeoutErrorMessage), r(new g(
2342
- L,
2343
- x.clarifyTimeoutError ? g.ETIMEDOUT : g.ECONNABORTED,
2341
+ o.timeoutErrorMessage && ($ = o.timeoutErrorMessage), r(new y(
2342
+ $,
2343
+ x.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED,
2344
2344
  e,
2345
- p
2346
- )), p = null;
2347
- }, s === void 0 && i.setContentType(null), "setRequestHeader" in p && l.forEach(i.toJSON(), function(L, x) {
2348
- p.setRequestHeader(x, L);
2349
- }), l.isUndefined(o.withCredentials) || (p.withCredentials = !!o.withCredentials), a && a !== "json" && (p.responseType = o.responseType), u && ([y, m] = ke(u, !0), p.addEventListener("progress", y)), f && p.upload && ([h, v] = ke(f), p.upload.addEventListener("progress", h), p.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (c = (T) => {
2350
- p && (r(!T || T.type ? new de(null, e, p) : T), p.abort(), p = null);
2345
+ h
2346
+ )), h = null;
2347
+ }, s === void 0 && i.setContentType(null), "setRequestHeader" in h && l.forEach(i.toJSON(), function($, x) {
2348
+ h.setRequestHeader(x, $);
2349
+ }), l.isUndefined(o.withCredentials) || (h.withCredentials = !!o.withCredentials), a && a !== "json" && (h.responseType = o.responseType), u && ([g, m] = ke(u, !0), h.addEventListener("progress", g)), f && h.upload && ([d, v] = ke(f), h.upload.addEventListener("progress", d), h.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (c = (T) => {
2350
+ h && (r(!T || T.type ? new de(null, e, h) : T), h.abort(), h = null);
2351
2351
  }, o.cancelToken && o.cancelToken.subscribe(c), o.signal && (o.signal.aborted ? c() : o.signal.addEventListener("abort", c)));
2352
2352
  const O = la(o.url);
2353
2353
  if (O && N.protocols.indexOf(O) === -1) {
2354
- r(new g("Unsupported protocol " + O + ":", g.ERR_BAD_REQUEST, e));
2354
+ r(new y("Unsupported protocol " + O + ":", y.ERR_BAD_REQUEST, e));
2355
2355
  return;
2356
2356
  }
2357
- p.send(s || null);
2357
+ h.send(s || null);
2358
2358
  });
2359
2359
  }, ya = (e, t) => {
2360
2360
  const { length: n } = e = e ? e.filter(Boolean) : [];
@@ -2364,11 +2364,11 @@ const Hn = (e) => {
2364
2364
  if (!o) {
2365
2365
  o = !0, a();
2366
2366
  const c = u instanceof Error ? u : this.reason;
2367
- r.abort(c instanceof g ? c : new de(c instanceof Error ? c.message : c));
2367
+ r.abort(c instanceof y ? c : new de(c instanceof Error ? c.message : c));
2368
2368
  }
2369
2369
  };
2370
2370
  let i = t && setTimeout(() => {
2371
- i = null, s(new g(`timeout ${t} of ms exceeded`, g.ETIMEDOUT));
2371
+ i = null, s(new y(`timeout ${t} of ms exceeded`, y.ETIMEDOUT));
2372
2372
  }, t);
2373
2373
  const a = () => {
2374
2374
  e && (i && clearTimeout(i), i = null, e.forEach((u) => {
@@ -2420,10 +2420,10 @@ const Hn = (e) => {
2420
2420
  a(), f.close();
2421
2421
  return;
2422
2422
  }
2423
- let h = c.byteLength;
2423
+ let d = c.byteLength;
2424
2424
  if (n) {
2425
- let y = s += h;
2426
- n(y);
2425
+ let g = s += d;
2426
+ n(g);
2427
2427
  }
2428
2428
  f.enqueue(new Uint8Array(c));
2429
2429
  } catch (u) {
@@ -2458,7 +2458,7 @@ const Hn = (e) => {
2458
2458
  ze && ((e) => {
2459
2459
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
2460
2460
  !Ie[t] && (Ie[t] = l.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
2461
- throw new g(`Response type '${t}' is not supported`, g.ERR_NOT_SUPPORT, r);
2461
+ throw new y(`Response type '${t}' is not supported`, y.ERR_NOT_SUPPORT, r);
2462
2462
  });
2463
2463
  });
2464
2464
  })(new Response());
@@ -2491,64 +2491,64 @@ const Ea = async (e) => {
2491
2491
  onUploadProgress: f,
2492
2492
  responseType: u,
2493
2493
  headers: c,
2494
- withCredentials: h = "same-origin",
2495
- fetchOptions: y
2494
+ withCredentials: d = "same-origin",
2495
+ fetchOptions: g
2496
2496
  } = Hn(e);
2497
2497
  u = u ? (u + "").toLowerCase() : "text";
2498
2498
  let v = ya([o, s && s.toAbortSignal()], i), m;
2499
- const d = v && v.unsubscribe && (() => {
2499
+ const p = v && v.unsubscribe && (() => {
2500
2500
  v.unsubscribe();
2501
2501
  });
2502
- let p;
2502
+ let h;
2503
2503
  try {
2504
- if (f && Sa && n !== "get" && n !== "head" && (p = await Oa(c, r)) !== 0) {
2504
+ if (f && Sa && n !== "get" && n !== "head" && (h = await Oa(c, r)) !== 0) {
2505
2505
  let x = new Request(t, {
2506
2506
  method: "POST",
2507
2507
  body: r,
2508
2508
  duplex: "half"
2509
- }), $;
2510
- if (l.isFormData(r) && ($ = x.headers.get("content-type")) && c.setContentType($), x.body) {
2511
- const [R, J] = Ht(
2512
- p,
2509
+ }), L;
2510
+ if (l.isFormData(r) && (L = x.headers.get("content-type")) && c.setContentType(L), x.body) {
2511
+ const [R, K] = Ht(
2512
+ h,
2513
2513
  ke(Vt(f))
2514
2514
  );
2515
- r = Kt(x.body, Wt, R, J);
2515
+ r = Kt(x.body, Wt, R, K);
2516
2516
  }
2517
2517
  }
2518
- l.isString(h) || (h = h ? "include" : "omit");
2518
+ l.isString(d) || (d = d ? "include" : "omit");
2519
2519
  const w = "credentials" in Request.prototype;
2520
2520
  m = new Request(t, {
2521
- ...y,
2521
+ ...g,
2522
2522
  signal: v,
2523
2523
  method: n.toUpperCase(),
2524
2524
  headers: c.normalize().toJSON(),
2525
2525
  body: r,
2526
2526
  duplex: "half",
2527
- credentials: w ? h : void 0
2527
+ credentials: w ? d : void 0
2528
2528
  });
2529
- let O = await fetch(m, y);
2529
+ let O = await fetch(m, g);
2530
2530
  const T = tt && (u === "stream" || u === "response");
2531
- if (tt && (a || T && d)) {
2531
+ if (tt && (a || T && p)) {
2532
2532
  const x = {};
2533
2533
  ["status", "statusText", "headers"].forEach((S) => {
2534
2534
  x[S] = O[S];
2535
2535
  });
2536
- const $ = l.toFiniteNumber(O.headers.get("content-length")), [R, J] = a && Ht(
2537
- $,
2536
+ const L = l.toFiniteNumber(O.headers.get("content-length")), [R, K] = a && Ht(
2537
+ L,
2538
2538
  ke(Vt(a), !0)
2539
2539
  ) || [];
2540
2540
  O = new Response(
2541
2541
  Kt(O.body, Wt, R, () => {
2542
- J && J(), d && d();
2542
+ K && K(), p && p();
2543
2543
  }),
2544
2544
  x
2545
2545
  );
2546
2546
  }
2547
2547
  u = u || "text";
2548
- let L = await Ie[l.findKey(Ie, u) || "text"](O, e);
2549
- return !T && d && d(), await new Promise((x, $) => {
2550
- zn(x, $, {
2551
- data: L,
2548
+ let $ = await Ie[l.findKey(Ie, u) || "text"](O, e);
2549
+ return !T && p && p(), await new Promise((x, L) => {
2550
+ zn(x, L, {
2551
+ data: $,
2552
2552
  headers: I.from(O.headers),
2553
2553
  status: O.status,
2554
2554
  statusText: O.statusText,
@@ -2557,12 +2557,12 @@ const Ea = async (e) => {
2557
2557
  });
2558
2558
  });
2559
2559
  } catch (w) {
2560
- throw d && d(), w && w.name === "TypeError" && /Load failed|fetch/i.test(w.message) ? Object.assign(
2561
- new g("Network Error", g.ERR_NETWORK, e, m),
2560
+ throw p && p(), w && w.name === "TypeError" && /Load failed|fetch/i.test(w.message) ? Object.assign(
2561
+ new y("Network Error", y.ERR_NETWORK, e, m),
2562
2562
  {
2563
2563
  cause: w.cause || w
2564
2564
  }
2565
- ) : g.from(w, w && w.code, e, m);
2565
+ ) : y.from(w, w && w.code, e, m);
2566
2566
  }
2567
2567
  }), nt = {
2568
2568
  http: Ui,
@@ -2588,7 +2588,7 @@ const Gt = (e) => `- ${e}`, Ca = (e) => l.isFunction(e) || e === null || e === !
2588
2588
  n = e[s];
2589
2589
  let i;
2590
2590
  if (r = n, !Ca(n) && (r = nt[(i = String(n)).toLowerCase()], r === void 0))
2591
- throw new g(`Unknown adapter '${i}'`);
2591
+ throw new y(`Unknown adapter '${i}'`);
2592
2592
  if (r)
2593
2593
  break;
2594
2594
  o[i || "#" + s] = r;
@@ -2600,7 +2600,7 @@ const Gt = (e) => `- ${e}`, Ca = (e) => l.isFunction(e) || e === null || e === !
2600
2600
  let i = t ? s.length > 1 ? `since :
2601
2601
  ` + s.map(Gt).join(`
2602
2602
  `) : " " + Gt(s[0]) : "as no adapter specified";
2603
- throw new g(
2603
+ throw new y(
2604
2604
  "There is no suitable adapter to dispatch the request " + i,
2605
2605
  "ERR_NOT_SUPPORT"
2606
2606
  );
@@ -2644,9 +2644,9 @@ qe.transitional = function(t, n, r) {
2644
2644
  }
2645
2645
  return (s, i, a) => {
2646
2646
  if (t === !1)
2647
- throw new g(
2647
+ throw new y(
2648
2648
  o(i, " has been removed" + (n ? " in " + n : "")),
2649
- g.ERR_DEPRECATED
2649
+ y.ERR_DEPRECATED
2650
2650
  );
2651
2651
  return n && !Xt[i] && (Xt[i] = !0, console.warn(
2652
2652
  o(
@@ -2661,7 +2661,7 @@ qe.spelling = function(t) {
2661
2661
  };
2662
2662
  function xa(e, t, n) {
2663
2663
  if (typeof e != "object")
2664
- throw new g("options must be an object", g.ERR_BAD_OPTION_VALUE);
2664
+ throw new y("options must be an object", y.ERR_BAD_OPTION_VALUE);
2665
2665
  const r = Object.keys(e);
2666
2666
  let o = r.length;
2667
2667
  for (; o-- > 0; ) {
@@ -2669,11 +2669,11 @@ function xa(e, t, n) {
2669
2669
  if (i) {
2670
2670
  const a = e[s], f = a === void 0 || i(a, s, e);
2671
2671
  if (f !== !0)
2672
- throw new g("option " + s + " must be " + f, g.ERR_BAD_OPTION_VALUE);
2672
+ throw new y("option " + s + " must be " + f, y.ERR_BAD_OPTION_VALUE);
2673
2673
  continue;
2674
2674
  }
2675
2675
  if (n !== !0)
2676
- throw new g("Unknown option " + s, g.ERR_BAD_OPTION);
2676
+ throw new y("Unknown option " + s, y.ERR_BAD_OPTION);
2677
2677
  }
2678
2678
  }
2679
2679
  const Ne = {
@@ -2740,28 +2740,28 @@ let Y = class {
2740
2740
  ), n.headers = I.concat(i, s);
2741
2741
  const a = [];
2742
2742
  let f = !0;
2743
- this.interceptors.request.forEach(function(d) {
2744
- typeof d.runWhen == "function" && d.runWhen(n) === !1 || (f = f && d.synchronous, a.unshift(d.fulfilled, d.rejected));
2743
+ this.interceptors.request.forEach(function(p) {
2744
+ typeof p.runWhen == "function" && p.runWhen(n) === !1 || (f = f && p.synchronous, a.unshift(p.fulfilled, p.rejected));
2745
2745
  });
2746
2746
  const u = [];
2747
- this.interceptors.response.forEach(function(d) {
2748
- u.push(d.fulfilled, d.rejected);
2747
+ this.interceptors.response.forEach(function(p) {
2748
+ u.push(p.fulfilled, p.rejected);
2749
2749
  });
2750
- let c, h = 0, y;
2750
+ let c, d = 0, g;
2751
2751
  if (!f) {
2752
2752
  const m = [Zt.bind(this), void 0];
2753
- for (m.unshift.apply(m, a), m.push.apply(m, u), y = m.length, c = Promise.resolve(n); h < y; )
2754
- c = c.then(m[h++], m[h++]);
2753
+ for (m.unshift.apply(m, a), m.push.apply(m, u), g = m.length, c = Promise.resolve(n); d < g; )
2754
+ c = c.then(m[d++], m[d++]);
2755
2755
  return c;
2756
2756
  }
2757
- y = a.length;
2757
+ g = a.length;
2758
2758
  let v = n;
2759
- for (h = 0; h < y; ) {
2760
- const m = a[h++], d = a[h++];
2759
+ for (d = 0; d < g; ) {
2760
+ const m = a[d++], p = a[d++];
2761
2761
  try {
2762
2762
  v = m(v);
2763
- } catch (p) {
2764
- d.call(this, p);
2763
+ } catch (h) {
2764
+ p.call(this, h);
2765
2765
  break;
2766
2766
  }
2767
2767
  }
@@ -2770,8 +2770,8 @@ let Y = class {
2770
2770
  } catch (m) {
2771
2771
  return Promise.reject(m);
2772
2772
  }
2773
- for (h = 0, y = u.length; h < y; )
2774
- c = c.then(u[h++], u[h++]);
2773
+ for (d = 0, g = u.length; d < g; )
2774
+ c = c.then(u[d++], u[d++]);
2775
2775
  return c;
2776
2776
  }
2777
2777
  getUri(t) {
@@ -2882,7 +2882,7 @@ function Na(e) {
2882
2882
  return e.apply(null, n);
2883
2883
  };
2884
2884
  }
2885
- function Aa(e) {
2885
+ function Pa(e) {
2886
2886
  return l.isObject(e) && e.isAxiosError === !0;
2887
2887
  }
2888
2888
  const rt = {
@@ -2966,13 +2966,13 @@ C.CancelToken = Ra;
2966
2966
  C.isCancel = Mn;
2967
2967
  C.VERSION = Wn;
2968
2968
  C.toFormData = Me;
2969
- C.AxiosError = g;
2969
+ C.AxiosError = y;
2970
2970
  C.Cancel = C.CanceledError;
2971
2971
  C.all = function(t) {
2972
2972
  return Promise.all(t);
2973
2973
  };
2974
2974
  C.spread = Na;
2975
- C.isAxiosError = Aa;
2975
+ C.isAxiosError = Pa;
2976
2976
  C.mergeConfig = ne;
2977
2977
  C.AxiosHeaders = I;
2978
2978
  C.formToJSON = (e) => Un(l.isHTMLForm(e) ? new FormData(e) : e);
@@ -2980,22 +2980,22 @@ C.getAdapter = Kn.getAdapter;
2980
2980
  C.HttpStatusCode = rt;
2981
2981
  C.default = C;
2982
2982
  const {
2983
- Axios: ja,
2984
- AxiosError: Ua,
2985
- CanceledError: Ma,
2986
- isCancel: za,
2987
- CancelToken: qa,
2988
- VERSION: Ha,
2989
- all: Va,
2990
- Cancel: Ja,
2991
- isAxiosError: Ka,
2992
- spread: Wa,
2993
- toFormData: Ga,
2994
- AxiosHeaders: Za,
2995
- HttpStatusCode: Xa,
2996
- formToJSON: Qa,
2997
- getAdapter: Ya,
2998
- mergeConfig: el
2983
+ Axios: Ma,
2984
+ AxiosError: za,
2985
+ CanceledError: qa,
2986
+ isCancel: Ha,
2987
+ CancelToken: Va,
2988
+ VERSION: Ja,
2989
+ all: Ka,
2990
+ Cancel: Wa,
2991
+ isAxiosError: Ga,
2992
+ spread: Za,
2993
+ toFormData: Xa,
2994
+ AxiosHeaders: Qa,
2995
+ HttpStatusCode: Ya,
2996
+ formToJSON: el,
2997
+ getAdapter: tl,
2998
+ mergeConfig: nl
2999
2999
  } = C;
3000
3000
  class Xn {
3001
3001
  /**
@@ -3054,8 +3054,8 @@ class Xn {
3054
3054
  }
3055
3055
  }
3056
3056
  const le = new Xn();
3057
- function Pa(e = !0, t, n) {
3058
- const r = G().props;
3057
+ function Aa(e = !0, t, n) {
3058
+ const r = J().props;
3059
3059
  if (!r || !r.isEnabled) {
3060
3060
  n && n(new Error("统一登陆未开启,请检查配置"));
3061
3061
  return;
@@ -3069,7 +3069,7 @@ function Pa(e = !0, t, n) {
3069
3069
  method: "post",
3070
3070
  url: r.loginServiceBaseAddress + "/admin-api/system/auth/logout",
3071
3071
  headers: {
3072
- "tenant-id": G().tenantId,
3072
+ "tenant-id": J().tenantId,
3073
3073
  Authorization: "Bearer " + o
3074
3074
  }
3075
3075
  }).then((s) => {
@@ -3079,42 +3079,77 @@ function Pa(e = !0, t, n) {
3079
3079
  });
3080
3080
  }
3081
3081
  function ot() {
3082
- const e = G().props;
3082
+ const e = J().props;
3083
3083
  return !e || !e.isEnabled ? null : le.get(e.tokenName);
3084
3084
  }
3085
- function tl() {
3086
- return G().refreshToken;
3085
+ function rl() {
3086
+ return J().refreshToken;
3087
3087
  }
3088
3088
  function Qn() {
3089
- const e = G().props, t = ka(e.loginPageBaseAddress, e.clientId, e.clientSecret, e.redirectPath);
3089
+ const e = J().props, t = ka(e.loginPageBaseAddress, e.clientId, e.clientSecret, e.redirectPath);
3090
3090
  t && window.open(t, "_self");
3091
3091
  }
3092
3092
  function ka(e, t, n, r) {
3093
3093
  return !t || !n ? (console.error("未配置应用id或应用密钥"), "") : (r = r || encodeURIComponent(window.location.href), `${e}/#/login?clientId=${t}&clientSecret=${n}&redirectUrl=${r}`);
3094
3094
  }
3095
3095
  function Ia() {
3096
- return G().userPermission;
3096
+ return J().userPermission;
3097
3097
  }
3098
3098
  function ge(e) {
3099
3099
  le.set("qlfyEcologicalLogin_loginInfo", e);
3100
3100
  }
3101
- function La() {
3101
+ function $a() {
3102
3102
  le.remove("qlfyEcologicalLogin_loginInfo");
3103
3103
  }
3104
- function G() {
3104
+ function J() {
3105
3105
  const e = le.get("qlfyEcologicalLogin_loginInfo");
3106
3106
  return e || {
3107
3107
  tenantId: 7,
3108
3108
  refreshToken: "",
3109
3109
  props: null,
3110
- userPermission: null
3110
+ userPermission: null,
3111
+ routerMode: ""
3111
3112
  };
3112
3113
  }
3113
3114
  function Yn() {
3114
- const e = G().props;
3115
- e && e.tokenName ? le.remove(e.tokenName) : le.remove("access_token"), La();
3115
+ const e = J().props;
3116
+ e && e.tokenName ? le.remove(e.tokenName) : le.remove("access_token"), $a();
3116
3117
  }
3117
- const $a = { style: { display: "none" } }, er = /* @__PURE__ */ B({
3118
+ function La() {
3119
+ if (window.location.href.includes("#")) {
3120
+ const t = window.location.href.indexOf("#"), n = window.location.href.substring(t + 1);
3121
+ if (n.startsWith("/") || n.includes("?"))
3122
+ return "hash";
3123
+ }
3124
+ return "history";
3125
+ }
3126
+ function Fa(e, t = J().routerMode) {
3127
+ if (!["hash", "history"].includes(t))
3128
+ throw new Error('路由模式必须是 "hash" 或 "history"');
3129
+ let n, r, o;
3130
+ if (t === "hash") {
3131
+ const s = window.location.href.indexOf("#");
3132
+ if (s === -1)
3133
+ return;
3134
+ r = window.location.href.substring(0, s + 1);
3135
+ const a = window.location.href.substring(s + 1).split("?"), f = a[0], u = a[1] || "";
3136
+ o = new URLSearchParams(u), e.forEach((g) => {
3137
+ o.delete(g);
3138
+ });
3139
+ const c = o.toString(), d = c ? `${f}?${c}` : f;
3140
+ n = `${r}${d}`;
3141
+ } else {
3142
+ n = new URL(window.location.href);
3143
+ const s = n.pathname;
3144
+ e.forEach((a) => {
3145
+ n.searchParams.delete(a);
3146
+ });
3147
+ const i = n.searchParams.toString();
3148
+ n = i ? `${s}?${i}` : s;
3149
+ }
3150
+ history.replaceState({}, "", n);
3151
+ }
3152
+ const Ba = { style: { display: "none" } }, er = /* @__PURE__ */ B({
3118
3153
  __name: "index",
3119
3154
  props: {
3120
3155
  clientId: {},
@@ -3134,10 +3169,10 @@ const $a = { style: { display: "none" } }, er = /* @__PURE__ */ B({
3134
3169
  emits: ["loggingIn", "loginFail", "loginSuccess"],
3135
3170
  setup(e, { expose: t, emit: n }) {
3136
3171
  const r = e, o = r.useRouter, s = r.useRouter.currentRoute, i = n, a = new Xn();
3137
- let f = null, u = null, c = G(), h = "";
3172
+ let f = null, u = null, c = J(), d = "";
3138
3173
  t({
3139
3174
  // 退出统一登陆
3140
- logout: Pa,
3175
+ logout: Aa,
3141
3176
  // 获取统一登录token
3142
3177
  getToken: ot,
3143
3178
  // 获取用户权限信息
@@ -3149,7 +3184,7 @@ const $a = { style: { display: "none" } }, er = /* @__PURE__ */ B({
3149
3184
  (_, j) => {
3150
3185
  u && clearTimeout(u), st(() => {
3151
3186
  u = setTimeout(() => {
3152
- r.isEnabled && y();
3187
+ r.isEnabled && g();
3153
3188
  }, 300);
3154
3189
  });
3155
3190
  },
@@ -3158,7 +3193,7 @@ const $a = { style: { display: "none" } }, er = /* @__PURE__ */ B({
3158
3193
  () => r.isEnabled,
3159
3194
  (_) => {
3160
3195
  setTimeout(() => {
3161
- _ && y(), _ || (Yn(), f && clearInterval(f));
3196
+ _ && g(), _ || (Yn(), f && clearInterval(f));
3162
3197
  });
3163
3198
  },
3164
3199
  { deep: !0 }
@@ -3168,15 +3203,15 @@ const $a = { style: { display: "none" } }, er = /* @__PURE__ */ B({
3168
3203
  },
3169
3204
  {}
3170
3205
  );
3171
- function y() {
3206
+ function g() {
3172
3207
  r.isEnabled && (bt(), v());
3173
3208
  }
3174
3209
  function v() {
3175
3210
  if (m()) {
3176
- d();
3211
+ p();
3177
3212
  return;
3178
3213
  }
3179
- if (p()) {
3214
+ if (h()) {
3180
3215
  w();
3181
3216
  return;
3182
3217
  }
@@ -3190,15 +3225,15 @@ const $a = { style: { display: "none" } }, er = /* @__PURE__ */ B({
3190
3225
  function m() {
3191
3226
  return !!r.token;
3192
3227
  }
3193
- function d() {
3228
+ function p() {
3194
3229
  r.token && (a.set(r.tokenName, r.token, r.tokenValidity), i("loggingIn", r.token), x(r.token));
3195
3230
  }
3196
- function p() {
3231
+ function h() {
3197
3232
  return !!s.value.query.token;
3198
3233
  }
3199
3234
  function w() {
3200
3235
  const _ = s.value.query.token, j = s.value.query.refreshToken;
3201
- i("loggingIn", _), a.set(r.tokenName, _, r.tokenValidity), c.refreshToken = j, ge(c), L(), x(_);
3236
+ i("loggingIn", _), a.set(r.tokenName, _, r.tokenValidity), c.refreshToken = j, ge(c), $(), x(_);
3202
3237
  }
3203
3238
  function O() {
3204
3239
  return a.get(r.tokenName);
@@ -3206,12 +3241,10 @@ const $a = { style: { display: "none" } }, er = /* @__PURE__ */ B({
3206
3241
  function T() {
3207
3242
  !r.forceMode || r.token ? i("loginFail", { msg: "未登录或登陆状态失效", data: null }) : Qn();
3208
3243
  }
3209
- function L() {
3244
+ function $() {
3245
+ Fa(["token", "refreshToken"]);
3210
3246
  let _ = { ...s.value.query };
3211
- delete _.token, delete _.refreshToken, o.replace({
3212
- path: s.value.path,
3213
- query: _
3214
- });
3247
+ delete _.token, delete _.refreshToken, o.currentRoute.value.query = _;
3215
3248
  }
3216
3249
  function x(_) {
3217
3250
  let j = { token: _ };
@@ -3227,18 +3260,18 @@ const $a = { style: { display: "none" } }, er = /* @__PURE__ */ B({
3227
3260
  R("Token验证失败", U);
3228
3261
  return;
3229
3262
  }
3230
- c.tenantId = U.data.data.tenant_id, ge(c), $(_);
3263
+ c.tenantId = U.data.data.tenant_id, ge(c), L(_);
3231
3264
  }).catch((U) => {
3232
3265
  R("Token验证请求失败", U);
3233
3266
  });
3234
3267
  }
3235
- function $(_) {
3236
- a.set(r.tokenName, _, r.tokenValidity), (!h || _ != h) && J(_), He();
3268
+ function L(_) {
3269
+ a.set(r.tokenName, _, r.tokenValidity), (!d || _ != d) && K(_), He();
3237
3270
  }
3238
3271
  function R(_, j) {
3239
3272
  tr(_, j), T();
3240
3273
  }
3241
- function J(_) {
3274
+ function K(_) {
3242
3275
  let j = { clientId: r.clientId };
3243
3276
  const Ve = {
3244
3277
  "tenant-id": c.tenantId,
@@ -3258,11 +3291,11 @@ const $a = { style: { display: "none" } }, er = /* @__PURE__ */ B({
3258
3291
  });
3259
3292
  }
3260
3293
  function S(_) {
3261
- h = ot(), c.userPermission = _, ge(c), i("loginSuccess", _);
3294
+ d = ot(), c.userPermission = _, ge(c), i("loginSuccess", _);
3262
3295
  }
3263
3296
  function bt() {
3264
3297
  const _ = { ...r };
3265
- delete _.useRouter, c.props = _, ge(c);
3298
+ delete _.useRouter, c.props = _, c.routerMode = La(), ge(c);
3266
3299
  }
3267
3300
  function He() {
3268
3301
  r.listenToken && (f && clearInterval(f), f = setInterval(() => {
@@ -3274,18 +3307,18 @@ const $a = { style: { display: "none" } }, er = /* @__PURE__ */ B({
3274
3307
  function tr(_, j) {
3275
3308
  console.error(`[qlfyEcologicalLogin] ${_}:`, j);
3276
3309
  }
3277
- return (_, j) => (P(), V("div", $a));
3310
+ return (_, j) => (A(), V("div", Ba));
3278
3311
  }
3279
- }), nl = er, rl = {
3312
+ }), ol = er, sl = {
3280
3313
  install(e) {
3281
3314
  e.component("qlfyEcologicalLogin", er);
3282
3315
  }
3283
3316
  };
3284
3317
  export {
3285
- rl as default,
3286
- tl as getRefreshToken,
3318
+ sl as default,
3319
+ rl as getRefreshToken,
3287
3320
  ot as getToken,
3288
3321
  Ia as getUserPermission,
3289
- Pa as logout,
3290
- nl as qlfyEcologicalLogin
3322
+ Aa as logout,
3323
+ ol as qlfyEcologicalLogin
3291
3324
  };