my-header-yichong 2.0.2 → 2.0.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/my-header.js CHANGED
@@ -1,36 +1,36 @@
1
- import { warn as So, inject as H, ref as T, computed as x, unref as z, isRef as Se, getCurrentInstance as pn, provide as oe, reactive as hn, defineComponent as U, h as j, Transition as dr, withCtx as be, withDirectives as Ke, createVNode as ue, vShow as fr, createApp as xo, toRefs as Xt, nextTick as Xe, cloneVNode as Po, Fragment as ve, onMounted as K, watchEffect as se, onUnmounted as re, watch as tt, Teleport as Oo, shallowRef as pr, openBlock as k, createElementBlock as $, createElementVNode as g, toDisplayString as J, createTextVNode as pt, createCommentVNode as B, vModelText as It, pushScopeId as nt, popScopeId as rt, resolveComponent as To, hasInjectionContext as Co, markRaw as Ge, effectScope as No, isReactive as mn, toRef as Bt, toRaw as Ao, getCurrentScope as ko, onScopeDispose as Lo, normalizeStyle as $o, normalizeClass as Fo, createBlock as Be, renderList as Mt } from "vue";
2
- function hr(e, t) {
1
+ import { warn as So, inject as H, ref as T, computed as x, unref as z, isRef as Se, getCurrentInstance as fn, provide as oe, reactive as pn, defineComponent as U, h as j, Transition as cr, withCtx as be, withDirectives as Je, createVNode as ue, vShow as dr, createApp as xo, toRefs as Yt, nextTick as Ye, cloneVNode as Po, Fragment as ve, onMounted as K, watchEffect as se, onUnmounted as re, watch as et, Teleport as Oo, shallowRef as fr, openBlock as k, createElementBlock as $, createElementVNode as g, toDisplayString as J, createTextVNode as ct, createCommentVNode as B, vModelText as jt, pushScopeId as bt, popScopeId as wt, resolveComponent as To, hasInjectionContext as Co, markRaw as qe, effectScope as No, isReactive as hn, toRef as It, toRaw as Ao, getCurrentScope as ko, onScopeDispose as Lo, normalizeStyle as $o, normalizeClass as Fo, createBlock as Ie, renderList as Bt } from "vue";
2
+ function pr(e, t) {
3
3
  return function() {
4
4
  return e.apply(t, arguments);
5
5
  };
6
6
  }
7
- const { toString: Ro } = Object.prototype, { getPrototypeOf: vn } = Object, Et = ((e) => (t) => {
7
+ const { toString: Ro } = Object.prototype, { getPrototypeOf: mn } = Object, _t = ((e) => (t) => {
8
8
  const n = Ro.call(t);
9
9
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
10
- })(/* @__PURE__ */ Object.create(null)), de = (e) => (e = e.toLowerCase(), (t) => Et(t) === e), St = (e) => (t) => typeof t === e, { isArray: Re } = Array, Ze = St("undefined");
10
+ })(/* @__PURE__ */ Object.create(null)), de = (e) => (e = e.toLowerCase(), (t) => _t(t) === e), Et = (e) => (t) => typeof t === e, { isArray: Fe } = Array, Xe = Et("undefined");
11
11
  function Do(e) {
12
- return e !== null && !Ze(e) && e.constructor !== null && !Ze(e.constructor) && Q(e.constructor.isBuffer) && e.constructor.isBuffer(e);
12
+ return e !== null && !Xe(e) && e.constructor !== null && !Xe(e.constructor) && Q(e.constructor.isBuffer) && e.constructor.isBuffer(e);
13
13
  }
14
- const mr = de("ArrayBuffer");
14
+ const hr = de("ArrayBuffer");
15
15
  function jo(e) {
16
16
  let t;
17
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && mr(e.buffer), t;
17
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && hr(e.buffer), t;
18
18
  }
19
- const Io = St("string"), Q = St("function"), vr = St("number"), xt = (e) => e !== null && typeof e == "object", Bo = (e) => e === !0 || e === !1, ht = (e) => {
20
- if (Et(e) !== "object")
19
+ const Io = Et("string"), Q = Et("function"), mr = Et("number"), St = (e) => e !== null && typeof e == "object", Bo = (e) => e === !0 || e === !1, dt = (e) => {
20
+ if (_t(e) !== "object")
21
21
  return !1;
22
- const t = vn(e);
22
+ const t = mn(e);
23
23
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
24
- }, Mo = de("Date"), Uo = de("File"), Ho = de("Blob"), Vo = de("FileList"), zo = (e) => xt(e) && Q(e.pipe), qo = (e) => {
24
+ }, Mo = de("Date"), Uo = de("File"), Ho = de("Blob"), Vo = de("FileList"), zo = (e) => St(e) && Q(e.pipe), qo = (e) => {
25
25
  let t;
26
- return e && (typeof FormData == "function" && e instanceof FormData || Q(e.append) && ((t = Et(e)) === "formdata" || // detect form-data instance
26
+ return e && (typeof FormData == "function" && e instanceof FormData || Q(e.append) && ((t = _t(e)) === "formdata" || // detect form-data instance
27
27
  t === "object" && Q(e.toString) && e.toString() === "[object FormData]"));
28
28
  }, Go = de("URLSearchParams"), Wo = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
29
- function ot(e, t, { allOwnKeys: n = !1 } = {}) {
29
+ function tt(e, t, { allOwnKeys: n = !1 } = {}) {
30
30
  if (e === null || typeof e > "u")
31
31
  return;
32
32
  let r, o;
33
- if (typeof e != "object" && (e = [e]), Re(e))
33
+ if (typeof e != "object" && (e = [e]), Fe(e))
34
34
  for (r = 0, o = e.length; r < o; r++)
35
35
  t.call(null, e[r], r, e);
36
36
  else {
@@ -40,7 +40,7 @@ function ot(e, t, { allOwnKeys: n = !1 } = {}) {
40
40
  i = s[r], t.call(null, e[i], i, e);
41
41
  }
42
42
  }
43
- function gr(e, t) {
43
+ function vr(e, t) {
44
44
  t = t.toLowerCase();
45
45
  const n = Object.keys(e);
46
46
  let r = n.length, o;
@@ -49,18 +49,18 @@ function gr(e, t) {
49
49
  return o;
50
50
  return null;
51
51
  }
52
- const yr = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), br = (e) => !Ze(e) && e !== yr;
53
- function Zt() {
54
- const { caseless: e } = br(this) && this || {}, t = {}, n = (r, o) => {
55
- const s = e && gr(t, o) || o;
56
- ht(t[s]) && ht(r) ? t[s] = Zt(t[s], r) : ht(r) ? t[s] = Zt({}, r) : Re(r) ? t[s] = r.slice() : t[s] = r;
52
+ const gr = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), yr = (e) => !Xe(e) && e !== gr;
53
+ function Xt() {
54
+ const { caseless: e } = yr(this) && this || {}, t = {}, n = (r, o) => {
55
+ const s = e && vr(t, o) || o;
56
+ dt(t[s]) && dt(r) ? t[s] = Xt(t[s], r) : dt(r) ? t[s] = Xt({}, r) : Fe(r) ? t[s] = r.slice() : t[s] = r;
57
57
  };
58
58
  for (let r = 0, o = arguments.length; r < o; r++)
59
- arguments[r] && ot(arguments[r], n);
59
+ arguments[r] && tt(arguments[r], n);
60
60
  return t;
61
61
  }
62
- const Jo = (e, t, n, { allOwnKeys: r } = {}) => (ot(t, (o, s) => {
63
- n && Q(o) ? e[s] = hr(o, n) : e[s] = o;
62
+ const Jo = (e, t, n, { allOwnKeys: r } = {}) => (tt(t, (o, s) => {
63
+ n && Q(o) ? e[s] = pr(o, n) : e[s] = o;
64
64
  }, { allOwnKeys: r }), e), Ko = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Yo = (e, t, n, r) => {
65
65
  e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
66
66
  value: t.prototype
@@ -73,7 +73,7 @@ const Jo = (e, t, n, { allOwnKeys: r } = {}) => (ot(t, (o, s) => {
73
73
  do {
74
74
  for (o = Object.getOwnPropertyNames(e), s = o.length; s-- > 0; )
75
75
  a = o[s], (!r || r(a, e, t)) && !i[a] && (t[a] = e[a], i[a] = !0);
76
- e = n !== !1 && vn(e);
76
+ e = n !== !1 && mn(e);
77
77
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
78
78
  return t;
79
79
  }, Zo = (e, t, n) => {
@@ -83,16 +83,16 @@ const Jo = (e, t, n, { allOwnKeys: r } = {}) => (ot(t, (o, s) => {
83
83
  }, Qo = (e) => {
84
84
  if (!e)
85
85
  return null;
86
- if (Re(e))
86
+ if (Fe(e))
87
87
  return e;
88
88
  let t = e.length;
89
- if (!vr(t))
89
+ if (!mr(t))
90
90
  return null;
91
91
  const n = new Array(t);
92
92
  for (; t-- > 0; )
93
93
  n[t] = e[t];
94
94
  return n;
95
- }, es = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && vn(Uint8Array)), ts = (e, t) => {
95
+ }, es = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && mn(Uint8Array)), ts = (e, t) => {
96
96
  const r = (e && e[Symbol.iterator]).call(e);
97
97
  let o;
98
98
  for (; (o = r.next()) && !o.done; ) {
@@ -110,13 +110,13 @@ const Jo = (e, t, n, { allOwnKeys: r } = {}) => (ot(t, (o, s) => {
110
110
  function(n, r, o) {
111
111
  return r.toUpperCase() + o;
112
112
  }
113
- ), Ln = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), ss = de("RegExp"), wr = (e, t) => {
113
+ ), kn = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), ss = de("RegExp"), br = (e, t) => {
114
114
  const n = Object.getOwnPropertyDescriptors(e), r = {};
115
- ot(n, (o, s) => {
115
+ tt(n, (o, s) => {
116
116
  t(o, s, e) !== !1 && (r[s] = o);
117
117
  }), Object.defineProperties(e, r);
118
118
  }, as = (e) => {
119
- wr(e, (t, n) => {
119
+ br(e, (t, n) => {
120
120
  if (Q(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
121
121
  return !1;
122
122
  const r = e[n];
@@ -136,13 +136,13 @@ const Jo = (e, t, n, { allOwnKeys: r } = {}) => (ot(t, (o, s) => {
136
136
  n[s] = !0;
137
137
  });
138
138
  };
139
- return Re(e) ? r(e) : r(String(e).split(t)), n;
139
+ return Fe(e) ? r(e) : r(String(e).split(t)), n;
140
140
  }, ls = () => {
141
- }, us = (e, t) => (e = +e, Number.isFinite(e) ? e : t), Ut = "abcdefghijklmnopqrstuvwxyz", $n = "0123456789", _r = {
142
- DIGIT: $n,
143
- ALPHA: Ut,
144
- ALPHA_DIGIT: Ut + Ut.toUpperCase() + $n
145
- }, cs = (e = 16, t = _r.ALPHA_DIGIT) => {
141
+ }, us = (e, t) => (e = +e, Number.isFinite(e) ? e : t), Mt = "abcdefghijklmnopqrstuvwxyz", Ln = "0123456789", wr = {
142
+ DIGIT: Ln,
143
+ ALPHA: Mt,
144
+ ALPHA_DIGIT: Mt + Mt.toUpperCase() + Ln
145
+ }, cs = (e = 16, t = wr.ALPHA_DIGIT) => {
146
146
  let n = "";
147
147
  const { length: r } = t;
148
148
  for (; e--; )
@@ -154,33 +154,33 @@ function ds(e) {
154
154
  }
155
155
  const fs = (e) => {
156
156
  const t = new Array(10), n = (r, o) => {
157
- if (xt(r)) {
157
+ if (St(r)) {
158
158
  if (t.indexOf(r) >= 0)
159
159
  return;
160
160
  if (!("toJSON" in r)) {
161
161
  t[o] = r;
162
- const s = Re(r) ? [] : {};
163
- return ot(r, (a, i) => {
162
+ const s = Fe(r) ? [] : {};
163
+ return tt(r, (a, i) => {
164
164
  const d = n(a, o + 1);
165
- !Ze(d) && (s[i] = d);
165
+ !Xe(d) && (s[i] = d);
166
166
  }), t[o] = void 0, s;
167
167
  }
168
168
  }
169
169
  return r;
170
170
  };
171
171
  return n(e, 0);
172
- }, ps = de("AsyncFunction"), hs = (e) => e && (xt(e) || Q(e)) && Q(e.then) && Q(e.catch), h = {
173
- isArray: Re,
174
- isArrayBuffer: mr,
172
+ }, ps = de("AsyncFunction"), hs = (e) => e && (St(e) || Q(e)) && Q(e.then) && Q(e.catch), h = {
173
+ isArray: Fe,
174
+ isArrayBuffer: hr,
175
175
  isBuffer: Do,
176
176
  isFormData: qo,
177
177
  isArrayBufferView: jo,
178
178
  isString: Io,
179
- isNumber: vr,
179
+ isNumber: mr,
180
180
  isBoolean: Bo,
181
- isObject: xt,
182
- isPlainObject: ht,
183
- isUndefined: Ze,
181
+ isObject: St,
182
+ isPlainObject: dt,
183
+ isUndefined: Xe,
184
184
  isDate: Mo,
185
185
  isFile: Uo,
186
186
  isBlob: Ho,
@@ -190,33 +190,33 @@ const fs = (e) => {
190
190
  isURLSearchParams: Go,
191
191
  isTypedArray: es,
192
192
  isFileList: Vo,
193
- forEach: ot,
194
- merge: Zt,
193
+ forEach: tt,
194
+ merge: Xt,
195
195
  extend: Jo,
196
196
  trim: Wo,
197
197
  stripBOM: Ko,
198
198
  inherits: Yo,
199
199
  toFlatObject: Xo,
200
- kindOf: Et,
200
+ kindOf: _t,
201
201
  kindOfTest: de,
202
202
  endsWith: Zo,
203
203
  toArray: Qo,
204
204
  forEachEntry: ts,
205
205
  matchAll: ns,
206
206
  isHTMLForm: rs,
207
- hasOwnProperty: Ln,
208
- hasOwnProp: Ln,
207
+ hasOwnProperty: kn,
208
+ hasOwnProp: kn,
209
209
  // an alias to avoid ESLint no-prototype-builtins detection
210
- reduceDescriptors: wr,
210
+ reduceDescriptors: br,
211
211
  freezeMethods: as,
212
212
  toObjectSet: is,
213
213
  toCamelCase: os,
214
214
  noop: ls,
215
215
  toFiniteNumber: us,
216
- findKey: gr,
217
- global: yr,
218
- isContextDefined: br,
219
- ALPHABET: _r,
216
+ findKey: vr,
217
+ global: gr,
218
+ isContextDefined: yr,
219
+ ALPHABET: wr,
220
220
  generateString: cs,
221
221
  isSpecCompliantForm: ds,
222
222
  toJSONObject: fs,
@@ -247,7 +247,7 @@ h.inherits(L, Error, {
247
247
  };
248
248
  }
249
249
  });
250
- const Er = L.prototype, Sr = {};
250
+ const _r = L.prototype, Er = {};
251
251
  [
252
252
  "ERR_BAD_OPTION_VALUE",
253
253
  "ERR_BAD_OPTION",
@@ -263,35 +263,35 @@ const Er = L.prototype, Sr = {};
263
263
  "ERR_INVALID_URL"
264
264
  // eslint-disable-next-line func-names
265
265
  ].forEach((e) => {
266
- Sr[e] = { value: e };
266
+ Er[e] = { value: e };
267
267
  });
268
- Object.defineProperties(L, Sr);
269
- Object.defineProperty(Er, "isAxiosError", { value: !0 });
268
+ Object.defineProperties(L, Er);
269
+ Object.defineProperty(_r, "isAxiosError", { value: !0 });
270
270
  L.from = (e, t, n, r, o, s) => {
271
- const a = Object.create(Er);
271
+ const a = Object.create(_r);
272
272
  return h.toFlatObject(e, a, function(d) {
273
273
  return d !== Error.prototype;
274
274
  }, (i) => i !== "isAxiosError"), L.call(a, e.message, t, n, r, o), a.cause = e, a.name = e.name, s && Object.assign(a, s), a;
275
275
  };
276
276
  const ms = null;
277
- function Qt(e) {
277
+ function Zt(e) {
278
278
  return h.isPlainObject(e) || h.isArray(e);
279
279
  }
280
- function xr(e) {
280
+ function Sr(e) {
281
281
  return h.endsWith(e, "[]") ? e.slice(0, -2) : e;
282
282
  }
283
- function Fn(e, t, n) {
283
+ function $n(e, t, n) {
284
284
  return e ? e.concat(t).map(function(o, s) {
285
- return o = xr(o), !n && s ? "[" + o + "]" : o;
285
+ return o = Sr(o), !n && s ? "[" + o + "]" : o;
286
286
  }).join(n ? "." : "") : t;
287
287
  }
288
288
  function vs(e) {
289
- return h.isArray(e) && !e.some(Qt);
289
+ return h.isArray(e) && !e.some(Zt);
290
290
  }
291
291
  const gs = h.toFlatObject(h, {}, null, function(t) {
292
292
  return /^is[A-Z]/.test(t);
293
293
  });
294
- function Pt(e, t, n) {
294
+ function xt(e, t, n) {
295
295
  if (!h.isObject(e))
296
296
  throw new TypeError("target must be an object");
297
297
  t = t || new FormData(), n = h.toFlatObject(n, {
@@ -319,20 +319,20 @@ function Pt(e, t, n) {
319
319
  if (h.endsWith(p, "{}"))
320
320
  p = r ? p : p.slice(0, -2), m = JSON.stringify(m);
321
321
  else if (h.isArray(m) && vs(m) || (h.isFileList(m) || h.endsWith(p, "[]")) && (S = h.toArray(m)))
322
- return p = xr(p), S.forEach(function(C, A) {
322
+ return p = Sr(p), S.forEach(function(C, A) {
323
323
  !(h.isUndefined(C) || C === null) && t.append(
324
324
  // eslint-disable-next-line no-nested-ternary
325
- a === !0 ? Fn([p], A, s) : a === null ? p : p + "[]",
325
+ a === !0 ? $n([p], A, s) : a === null ? p : p + "[]",
326
326
  l(C)
327
327
  );
328
328
  }), !1;
329
329
  }
330
- return Qt(m) ? !0 : (t.append(Fn(y, p, s), l(m)), !1);
330
+ return Zt(m) ? !0 : (t.append($n(y, p, s), l(m)), !1);
331
331
  }
332
332
  const u = [], f = Object.assign(gs, {
333
333
  defaultVisitor: c,
334
334
  convertValue: l,
335
- isVisitable: Qt
335
+ isVisitable: Zt
336
336
  });
337
337
  function v(m, p) {
338
338
  if (!h.isUndefined(m)) {
@@ -353,7 +353,7 @@ function Pt(e, t, n) {
353
353
  throw new TypeError("data must be an object");
354
354
  return v(e), t;
355
355
  }
356
- function Rn(e) {
356
+ function Fn(e) {
357
357
  const t = {
358
358
  "!": "%21",
359
359
  "'": "%27",
@@ -367,17 +367,17 @@ function Rn(e) {
367
367
  return t[r];
368
368
  });
369
369
  }
370
- function gn(e, t) {
371
- this._pairs = [], e && Pt(e, this, t);
370
+ function vn(e, t) {
371
+ this._pairs = [], e && xt(e, this, t);
372
372
  }
373
- const Pr = gn.prototype;
374
- Pr.append = function(t, n) {
373
+ const xr = vn.prototype;
374
+ xr.append = function(t, n) {
375
375
  this._pairs.push([t, n]);
376
376
  };
377
- Pr.toString = function(t) {
377
+ xr.toString = function(t) {
378
378
  const n = t ? function(r) {
379
- return t.call(this, r, Rn);
380
- } : Rn;
379
+ return t.call(this, r, Fn);
380
+ } : Fn;
381
381
  return this._pairs.map(function(o) {
382
382
  return n(o[0]) + "=" + n(o[1]);
383
383
  }, "").join("&");
@@ -385,12 +385,12 @@ Pr.toString = function(t) {
385
385
  function ys(e) {
386
386
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
387
387
  }
388
- function Or(e, t, n) {
388
+ function Pr(e, t, n) {
389
389
  if (!t)
390
390
  return e;
391
391
  const r = n && n.encode || ys, o = n && n.serialize;
392
392
  let s;
393
- if (o ? s = o(t, n) : s = h.isURLSearchParams(t) ? t.toString() : new gn(t, n).toString(r), s) {
393
+ if (o ? s = o(t, n) : s = h.isURLSearchParams(t) ? t.toString() : new vn(t, n).toString(r), s) {
394
394
  const a = e.indexOf("#");
395
395
  a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + s;
396
396
  }
@@ -450,11 +450,11 @@ class bs {
450
450
  });
451
451
  }
452
452
  }
453
- const Dn = bs, Tr = {
453
+ const Rn = bs, Or = {
454
454
  silentJSONParsing: !0,
455
455
  forcedJSONParsing: !0,
456
456
  clarifyTimeoutError: !1
457
- }, ws = typeof URLSearchParams < "u" ? URLSearchParams : gn, _s = typeof FormData < "u" ? FormData : null, Es = typeof Blob < "u" ? Blob : null, Ss = (() => {
457
+ }, ws = typeof URLSearchParams < "u" ? URLSearchParams : vn, _s = typeof FormData < "u" ? FormData : null, Es = typeof Blob < "u" ? Blob : null, Ss = (() => {
458
458
  let e;
459
459
  return typeof navigator < "u" && ((e = navigator.product) === "ReactNative" || e === "NativeScript" || e === "NS") ? !1 : typeof window < "u" && typeof document < "u";
460
460
  })(), xs = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
@@ -470,7 +470,7 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
470
470
  protocols: ["http", "https", "file", "blob", "url", "data"]
471
471
  };
472
472
  function Ps(e, t) {
473
- return Pt(e, new ce.classes.URLSearchParams(), Object.assign({
473
+ return xt(e, new ce.classes.URLSearchParams(), Object.assign({
474
474
  visitor: function(n, r, o, s) {
475
475
  return ce.isNode && h.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
476
476
  }
@@ -488,7 +488,7 @@ function Ts(e) {
488
488
  s = n[r], t[s] = e[s];
489
489
  return t;
490
490
  }
491
- function Cr(e) {
491
+ function Tr(e) {
492
492
  function t(n, r, o, s) {
493
493
  let a = n[s++];
494
494
  const i = Number.isFinite(+a), d = s >= n.length;
@@ -515,13 +515,13 @@ function Ns(e, t, n) {
515
515
  }
516
516
  return (n || JSON.stringify)(e);
517
517
  }
518
- const Ot = {
519
- transitional: Tr,
518
+ const Pt = {
519
+ transitional: Or,
520
520
  adapter: ["xhr", "http"],
521
521
  transformRequest: [function(t, n) {
522
522
  const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, s = h.isObject(t);
523
523
  if (s && h.isHTMLForm(t) && (t = new FormData(t)), h.isFormData(t))
524
- return o && o ? JSON.stringify(Cr(t)) : t;
524
+ return o && o ? JSON.stringify(Tr(t)) : t;
525
525
  if (h.isArrayBuffer(t) || h.isBuffer(t) || h.isStream(t) || h.isFile(t) || h.isBlob(t))
526
526
  return t;
527
527
  if (h.isArrayBufferView(t))
@@ -534,7 +534,7 @@ const Ot = {
534
534
  return Ps(t, this.formSerializer).toString();
535
535
  if ((i = h.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
536
536
  const d = this.env && this.env.FormData;
537
- return Pt(
537
+ return xt(
538
538
  i ? { "files[]": t } : t,
539
539
  d && new d(),
540
540
  this.formSerializer
@@ -544,7 +544,7 @@ const Ot = {
544
544
  return s || o ? (n.setContentType("application/json", !1), Ns(t)) : t;
545
545
  }],
546
546
  transformResponse: [function(t) {
547
- const n = this.transitional || Ot.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
547
+ const n = this.transitional || Pt.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
548
548
  if (t && h.isString(t) && (r && !this.responseType || o)) {
549
549
  const a = !(n && n.silentJSONParsing) && o;
550
550
  try {
@@ -579,12 +579,12 @@ const Ot = {
579
579
  }
580
580
  };
581
581
  h.forEach(["delete", "get", "head"], function(t) {
582
- Ot.headers[t] = {};
582
+ Pt.headers[t] = {};
583
583
  });
584
584
  h.forEach(["post", "put", "patch"], function(t) {
585
- Ot.headers[t] = h.merge(Cs);
585
+ Pt.headers[t] = h.merge(Cs);
586
586
  });
587
- const yn = Ot, As = h.toObjectSet([
587
+ const gn = Pt, As = h.toObjectSet([
588
588
  "age",
589
589
  "authorization",
590
590
  "content-length",
@@ -609,12 +609,12 @@ const yn = Ot, As = h.toObjectSet([
609
609
  `).forEach(function(a) {
610
610
  o = a.indexOf(":"), n = a.substring(0, o).trim().toLowerCase(), r = a.substring(o + 1).trim(), !(!n || t[n] && As[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
611
611
  }), t;
612
- }, jn = Symbol("internals");
613
- function Me(e) {
612
+ }, Dn = Symbol("internals");
613
+ function Be(e) {
614
614
  return e && String(e).trim().toLowerCase();
615
615
  }
616
- function mt(e) {
617
- return e === !1 || e == null ? e : h.isArray(e) ? e.map(mt) : String(e);
616
+ function ft(e) {
617
+ return e === !1 || e == null ? e : h.isArray(e) ? e.map(ft) : String(e);
618
618
  }
619
619
  function Ls(e) {
620
620
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -624,7 +624,7 @@ function Ls(e) {
624
624
  return t;
625
625
  }
626
626
  const $s = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
627
- function Ht(e, t, n, r, o) {
627
+ function Ut(e, t, n, r, o) {
628
628
  if (h.isFunction(r))
629
629
  return r.call(this, t, n);
630
630
  if (o && (t = n), !!h.isString(t)) {
@@ -648,24 +648,24 @@ function Rs(e, t) {
648
648
  });
649
649
  });
650
650
  }
651
- class Tt {
651
+ class Ot {
652
652
  constructor(t) {
653
653
  t && this.set(t);
654
654
  }
655
655
  set(t, n, r) {
656
656
  const o = this;
657
657
  function s(i, d, l) {
658
- const c = Me(d);
658
+ const c = Be(d);
659
659
  if (!c)
660
660
  throw new Error("header name must be a non-empty string");
661
661
  const u = h.findKey(o, c);
662
- (!u || o[u] === void 0 || l === !0 || l === void 0 && o[u] !== !1) && (o[u || d] = mt(i));
662
+ (!u || o[u] === void 0 || l === !0 || l === void 0 && o[u] !== !1) && (o[u || d] = ft(i));
663
663
  }
664
664
  const a = (i, d) => h.forEach(i, (l, c) => s(l, c, d));
665
665
  return h.isPlainObject(t) || t instanceof this.constructor ? a(t, n) : h.isString(t) && (t = t.trim()) && !$s(t) ? a(ks(t), n) : t != null && s(n, t, r), this;
666
666
  }
667
667
  get(t, n) {
668
- if (t = Me(t), t) {
668
+ if (t = Be(t), t) {
669
669
  const r = h.findKey(this, t);
670
670
  if (r) {
671
671
  const o = this[r];
@@ -682,9 +682,9 @@ class Tt {
682
682
  }
683
683
  }
684
684
  has(t, n) {
685
- if (t = Me(t), t) {
685
+ if (t = Be(t), t) {
686
686
  const r = h.findKey(this, t);
687
- return !!(r && this[r] !== void 0 && (!n || Ht(this, this[r], r, n)));
687
+ return !!(r && this[r] !== void 0 && (!n || Ut(this, this[r], r, n)));
688
688
  }
689
689
  return !1;
690
690
  }
@@ -692,9 +692,9 @@ class Tt {
692
692
  const r = this;
693
693
  let o = !1;
694
694
  function s(a) {
695
- if (a = Me(a), a) {
695
+ if (a = Be(a), a) {
696
696
  const i = h.findKey(r, a);
697
- i && (!n || Ht(r, r[i], i, n)) && (delete r[i], o = !0);
697
+ i && (!n || Ut(r, r[i], i, n)) && (delete r[i], o = !0);
698
698
  }
699
699
  }
700
700
  return h.isArray(t) ? t.forEach(s) : s(t), o;
@@ -704,7 +704,7 @@ class Tt {
704
704
  let r = n.length, o = !1;
705
705
  for (; r--; ) {
706
706
  const s = n[r];
707
- (!t || Ht(this, this[s], s, t, !0)) && (delete this[s], o = !0);
707
+ (!t || Ut(this, this[s], s, t, !0)) && (delete this[s], o = !0);
708
708
  }
709
709
  return o;
710
710
  }
@@ -713,11 +713,11 @@ class Tt {
713
713
  return h.forEach(this, (o, s) => {
714
714
  const a = h.findKey(r, s);
715
715
  if (a) {
716
- n[a] = mt(o), delete n[s];
716
+ n[a] = ft(o), delete n[s];
717
717
  return;
718
718
  }
719
719
  const i = t ? Fs(s) : String(s).trim();
720
- i !== s && delete n[s], n[i] = mt(o), r[i] = !0;
720
+ i !== s && delete n[s], n[i] = ft(o), r[i] = !0;
721
721
  }), this;
722
722
  }
723
723
  concat(...t) {
@@ -747,34 +747,34 @@ class Tt {
747
747
  return n.forEach((o) => r.set(o)), r;
748
748
  }
749
749
  static accessor(t) {
750
- const r = (this[jn] = this[jn] = {
750
+ const r = (this[Dn] = this[Dn] = {
751
751
  accessors: {}
752
752
  }).accessors, o = this.prototype;
753
753
  function s(a) {
754
- const i = Me(a);
754
+ const i = Be(a);
755
755
  r[i] || (Rs(o, a), r[i] = !0);
756
756
  }
757
757
  return h.isArray(t) ? t.forEach(s) : s(t), this;
758
758
  }
759
759
  }
760
- Tt.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
761
- h.freezeMethods(Tt.prototype);
762
- h.freezeMethods(Tt);
763
- const he = Tt;
764
- function Vt(e, t) {
765
- const n = this || yn, r = t || n, o = he.from(r.headers);
760
+ Ot.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
761
+ h.freezeMethods(Ot.prototype);
762
+ h.freezeMethods(Ot);
763
+ const he = Ot;
764
+ function Ht(e, t) {
765
+ const n = this || gn, r = t || n, o = he.from(r.headers);
766
766
  let s = r.data;
767
767
  return h.forEach(e, function(i) {
768
768
  s = i.call(n, s, o.normalize(), t ? t.status : void 0);
769
769
  }), o.normalize(), s;
770
770
  }
771
- function Nr(e) {
771
+ function Cr(e) {
772
772
  return !!(e && e.__CANCEL__);
773
773
  }
774
- function st(e, t, n) {
774
+ function nt(e, t, n) {
775
775
  L.call(this, e ?? "canceled", L.ERR_CANCELED, t, n), this.name = "CanceledError";
776
776
  }
777
- h.inherits(st, L, {
777
+ h.inherits(nt, L, {
778
778
  __CANCEL__: !0
779
779
  });
780
780
  function Ds(e, t, n) {
@@ -824,7 +824,7 @@ function Is(e) {
824
824
  function Bs(e, t) {
825
825
  return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e;
826
826
  }
827
- function Ar(e, t) {
827
+ function Nr(e, t) {
828
828
  return e && !Is(t) ? Bs(e, t) : t;
829
829
  }
830
830
  const Ms = ce.isStandardBrowserEnv ? (
@@ -879,7 +879,7 @@ function Hs(e, t) {
879
879
  return v ? Math.round(f * 1e3 / v) : void 0;
880
880
  };
881
881
  }
882
- function In(e, t) {
882
+ function jn(e, t) {
883
883
  let n = 0;
884
884
  const r = Hs(50, 250);
885
885
  return (o) => {
@@ -911,8 +911,8 @@ const Vs = typeof XMLHttpRequest < "u", zs = Vs && function(e) {
911
911
  const v = e.auth.username || "", m = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
912
912
  s.set("Authorization", "Basic " + btoa(v + ":" + m));
913
913
  }
914
- const c = Ar(e.baseURL, e.url);
915
- l.open(e.method.toUpperCase(), Or(c, e.params, e.paramsSerializer), !0), l.timeout = e.timeout;
914
+ const c = Nr(e.baseURL, e.url);
915
+ l.open(e.method.toUpperCase(), Pr(c, e.params, e.paramsSerializer), !0), l.timeout = e.timeout;
916
916
  function u() {
917
917
  if (!l)
918
918
  return;
@@ -940,7 +940,7 @@ const Vs = typeof XMLHttpRequest < "u", zs = Vs && function(e) {
940
940
  r(new L("Network Error", L.ERR_NETWORK, e, l)), l = null;
941
941
  }, l.ontimeout = function() {
942
942
  let m = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
943
- const p = e.transitional || Tr;
943
+ const p = e.transitional || Or;
944
944
  e.timeoutErrorMessage && (m = e.timeoutErrorMessage), r(new L(
945
945
  m,
946
946
  p.clarifyTimeoutError ? L.ETIMEDOUT : L.ECONNABORTED,
@@ -953,8 +953,8 @@ const Vs = typeof XMLHttpRequest < "u", zs = Vs && function(e) {
953
953
  }
954
954
  o === void 0 && s.setContentType(null), "setRequestHeader" in l && h.forEach(s.toJSON(), function(m, p) {
955
955
  l.setRequestHeader(p, m);
956
- }), h.isUndefined(e.withCredentials) || (l.withCredentials = !!e.withCredentials), a && a !== "json" && (l.responseType = e.responseType), typeof e.onDownloadProgress == "function" && l.addEventListener("progress", In(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", In(e.onUploadProgress)), (e.cancelToken || e.signal) && (i = (v) => {
957
- l && (r(!v || v.type ? new st(null, e, l) : v), l.abort(), l = null);
956
+ }), h.isUndefined(e.withCredentials) || (l.withCredentials = !!e.withCredentials), a && a !== "json" && (l.responseType = e.responseType), typeof e.onDownloadProgress == "function" && l.addEventListener("progress", jn(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", jn(e.onUploadProgress)), (e.cancelToken || e.signal) && (i = (v) => {
957
+ l && (r(!v || v.type ? new nt(null, e, l) : v), l.abort(), l = null);
958
958
  }, e.cancelToken && e.cancelToken.subscribe(i), e.signal && (e.signal.aborted ? i() : e.signal.addEventListener("abort", i)));
959
959
  const f = Us(c);
960
960
  if (f && ce.protocols.indexOf(f) === -1) {
@@ -963,11 +963,11 @@ const Vs = typeof XMLHttpRequest < "u", zs = Vs && function(e) {
963
963
  }
964
964
  l.send(o || null);
965
965
  });
966
- }, vt = {
966
+ }, pt = {
967
967
  http: ms,
968
968
  xhr: zs
969
969
  };
970
- h.forEach(vt, (e, t) => {
970
+ h.forEach(pt, (e, t) => {
971
971
  if (e) {
972
972
  try {
973
973
  Object.defineProperty(e, "name", { value: t });
@@ -981,45 +981,45 @@ const qs = {
981
981
  e = h.isArray(e) ? e : [e];
982
982
  const { length: t } = e;
983
983
  let n, r;
984
- for (let o = 0; o < t && (n = e[o], !(r = h.isString(n) ? vt[n.toLowerCase()] : n)); o++)
984
+ for (let o = 0; o < t && (n = e[o], !(r = h.isString(n) ? pt[n.toLowerCase()] : n)); o++)
985
985
  ;
986
986
  if (!r)
987
987
  throw r === !1 ? new L(
988
988
  `Adapter ${n} is not supported by the environment`,
989
989
  "ERR_NOT_SUPPORT"
990
990
  ) : new Error(
991
- h.hasOwnProp(vt, n) ? `Adapter '${n}' is not available in the build` : `Unknown adapter '${n}'`
991
+ h.hasOwnProp(pt, n) ? `Adapter '${n}' is not available in the build` : `Unknown adapter '${n}'`
992
992
  );
993
993
  if (!h.isFunction(r))
994
994
  throw new TypeError("adapter is not a function");
995
995
  return r;
996
996
  },
997
- adapters: vt
997
+ adapters: pt
998
998
  };
999
- function zt(e) {
999
+ function Vt(e) {
1000
1000
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1001
- throw new st(null, e);
1001
+ throw new nt(null, e);
1002
1002
  }
1003
- function Bn(e) {
1004
- return zt(e), e.headers = he.from(e.headers), e.data = Vt.call(
1003
+ function In(e) {
1004
+ return Vt(e), e.headers = he.from(e.headers), e.data = Ht.call(
1005
1005
  e,
1006
1006
  e.transformRequest
1007
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), qs.getAdapter(e.adapter || yn.adapter)(e).then(function(r) {
1008
- return zt(e), r.data = Vt.call(
1007
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), qs.getAdapter(e.adapter || gn.adapter)(e).then(function(r) {
1008
+ return Vt(e), r.data = Ht.call(
1009
1009
  e,
1010
1010
  e.transformResponse,
1011
1011
  r
1012
1012
  ), r.headers = he.from(r.headers), r;
1013
1013
  }, function(r) {
1014
- return Nr(r) || (zt(e), r && r.response && (r.response.data = Vt.call(
1014
+ return Cr(r) || (Vt(e), r && r.response && (r.response.data = Ht.call(
1015
1015
  e,
1016
1016
  e.transformResponse,
1017
1017
  r.response
1018
1018
  ), r.response.headers = he.from(r.response.headers))), Promise.reject(r);
1019
1019
  });
1020
1020
  }
1021
- const Mn = (e) => e instanceof he ? e.toJSON() : e;
1022
- function Le(e, t) {
1021
+ const Bn = (e) => e instanceof he ? e.toJSON() : e;
1022
+ function ke(e, t) {
1023
1023
  t = t || {};
1024
1024
  const n = {};
1025
1025
  function r(l, c, u) {
@@ -1077,23 +1077,23 @@ function Le(e, t) {
1077
1077
  socketPath: a,
1078
1078
  responseEncoding: a,
1079
1079
  validateStatus: i,
1080
- headers: (l, c) => o(Mn(l), Mn(c), !0)
1080
+ headers: (l, c) => o(Bn(l), Bn(c), !0)
1081
1081
  };
1082
1082
  return h.forEach(Object.keys(Object.assign({}, e, t)), function(c) {
1083
1083
  const u = d[c] || o, f = u(e[c], t[c], c);
1084
1084
  h.isUndefined(f) && u !== i || (n[c] = f);
1085
1085
  }), n;
1086
1086
  }
1087
- const kr = "1.4.0", bn = {};
1087
+ const Ar = "1.4.0", yn = {};
1088
1088
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1089
- bn[e] = function(r) {
1089
+ yn[e] = function(r) {
1090
1090
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
1091
1091
  };
1092
1092
  });
1093
- const Un = {};
1094
- bn.transitional = function(t, n, r) {
1093
+ const Mn = {};
1094
+ yn.transitional = function(t, n, r) {
1095
1095
  function o(s, a) {
1096
- return "[Axios v" + kr + "] Transitional option '" + s + "'" + a + (r ? ". " + r : "");
1096
+ return "[Axios v" + Ar + "] Transitional option '" + s + "'" + a + (r ? ". " + r : "");
1097
1097
  }
1098
1098
  return (s, a, i) => {
1099
1099
  if (t === !1)
@@ -1101,7 +1101,7 @@ bn.transitional = function(t, n, r) {
1101
1101
  o(a, " has been removed" + (n ? " in " + n : "")),
1102
1102
  L.ERR_DEPRECATED
1103
1103
  );
1104
- return n && !Un[a] && (Un[a] = !0, console.warn(
1104
+ return n && !Mn[a] && (Mn[a] = !0, console.warn(
1105
1105
  o(
1106
1106
  a,
1107
1107
  " has been deprecated since v" + n + " and will be removed in the near future"
@@ -1126,15 +1126,15 @@ function Gs(e, t, n) {
1126
1126
  throw new L("Unknown option " + s, L.ERR_BAD_OPTION);
1127
1127
  }
1128
1128
  }
1129
- const en = {
1129
+ const Qt = {
1130
1130
  assertOptions: Gs,
1131
- validators: bn
1132
- }, me = en.validators;
1133
- class yt {
1131
+ validators: yn
1132
+ }, me = Qt.validators;
1133
+ class mt {
1134
1134
  constructor(t) {
1135
1135
  this.defaults = t, this.interceptors = {
1136
- request: new Dn(),
1137
- response: new Dn()
1136
+ request: new Rn(),
1137
+ response: new Rn()
1138
1138
  };
1139
1139
  }
1140
1140
  /**
@@ -1146,15 +1146,15 @@ class yt {
1146
1146
  * @returns {Promise} The Promise to be fulfilled
1147
1147
  */
1148
1148
  request(t, n) {
1149
- typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = Le(this.defaults, n);
1149
+ typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = ke(this.defaults, n);
1150
1150
  const { transitional: r, paramsSerializer: o, headers: s } = n;
1151
- r !== void 0 && en.assertOptions(r, {
1151
+ r !== void 0 && Qt.assertOptions(r, {
1152
1152
  silentJSONParsing: me.transitional(me.boolean),
1153
1153
  forcedJSONParsing: me.transitional(me.boolean),
1154
1154
  clarifyTimeoutError: me.transitional(me.boolean)
1155
1155
  }, !1), o != null && (h.isFunction(o) ? n.paramsSerializer = {
1156
1156
  serialize: o
1157
- } : en.assertOptions(o, {
1157
+ } : Qt.assertOptions(o, {
1158
1158
  encode: me.function,
1159
1159
  serialize: me.function
1160
1160
  }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
@@ -1179,7 +1179,7 @@ class yt {
1179
1179
  });
1180
1180
  let c, u = 0, f;
1181
1181
  if (!d) {
1182
- const m = [Bn.bind(this), void 0];
1182
+ const m = [In.bind(this), void 0];
1183
1183
  for (m.unshift.apply(m, i), m.push.apply(m, l), f = m.length, c = Promise.resolve(n); u < f; )
1184
1184
  c = c.then(m[u++], m[u++]);
1185
1185
  return c;
@@ -1196,7 +1196,7 @@ class yt {
1196
1196
  }
1197
1197
  }
1198
1198
  try {
1199
- c = Bn.call(this, v);
1199
+ c = In.call(this, v);
1200
1200
  } catch (m) {
1201
1201
  return Promise.reject(m);
1202
1202
  }
@@ -1205,14 +1205,14 @@ class yt {
1205
1205
  return c;
1206
1206
  }
1207
1207
  getUri(t) {
1208
- t = Le(this.defaults, t);
1209
- const n = Ar(t.baseURL, t.url);
1210
- return Or(n, t.params, t.paramsSerializer);
1208
+ t = ke(this.defaults, t);
1209
+ const n = Nr(t.baseURL, t.url);
1210
+ return Pr(n, t.params, t.paramsSerializer);
1211
1211
  }
1212
1212
  }
1213
1213
  h.forEach(["delete", "get", "head", "options"], function(t) {
1214
- yt.prototype[t] = function(n, r) {
1215
- return this.request(Le(r || {}, {
1214
+ mt.prototype[t] = function(n, r) {
1215
+ return this.request(ke(r || {}, {
1216
1216
  method: t,
1217
1217
  url: n,
1218
1218
  data: (r || {}).data
@@ -1222,7 +1222,7 @@ h.forEach(["delete", "get", "head", "options"], function(t) {
1222
1222
  h.forEach(["post", "put", "patch"], function(t) {
1223
1223
  function n(r) {
1224
1224
  return function(s, a, i) {
1225
- return this.request(Le(i || {}, {
1225
+ return this.request(ke(i || {}, {
1226
1226
  method: t,
1227
1227
  headers: r ? {
1228
1228
  "Content-Type": "multipart/form-data"
@@ -1232,10 +1232,10 @@ h.forEach(["post", "put", "patch"], function(t) {
1232
1232
  }));
1233
1233
  };
1234
1234
  }
1235
- yt.prototype[t] = n(), yt.prototype[t + "Form"] = n(!0);
1235
+ mt.prototype[t] = n(), mt.prototype[t + "Form"] = n(!0);
1236
1236
  });
1237
- const gt = yt;
1238
- class wn {
1237
+ const ht = mt;
1238
+ class bn {
1239
1239
  constructor(t) {
1240
1240
  if (typeof t != "function")
1241
1241
  throw new TypeError("executor must be a function.");
@@ -1260,7 +1260,7 @@ class wn {
1260
1260
  r.unsubscribe(s);
1261
1261
  }, a;
1262
1262
  }, t(function(s, a, i) {
1263
- r.reason || (r.reason = new st(s, a, i), n(r.reason));
1263
+ r.reason || (r.reason = new nt(s, a, i), n(r.reason));
1264
1264
  });
1265
1265
  }
1266
1266
  /**
@@ -1296,14 +1296,14 @@ class wn {
1296
1296
  static source() {
1297
1297
  let t;
1298
1298
  return {
1299
- token: new wn(function(o) {
1299
+ token: new bn(function(o) {
1300
1300
  t = o;
1301
1301
  }),
1302
1302
  cancel: t
1303
1303
  };
1304
1304
  }
1305
1305
  }
1306
- const Ws = wn;
1306
+ const Ws = bn;
1307
1307
  function Js(e) {
1308
1308
  return function(n) {
1309
1309
  return e.apply(null, n);
@@ -1312,7 +1312,7 @@ function Js(e) {
1312
1312
  function Ks(e) {
1313
1313
  return h.isObject(e) && e.isAxiosError === !0;
1314
1314
  }
1315
- const tn = {
1315
+ const en = {
1316
1316
  Continue: 100,
1317
1317
  SwitchingProtocols: 101,
1318
1318
  Processing: 102,
@@ -1377,23 +1377,23 @@ const tn = {
1377
1377
  NotExtended: 510,
1378
1378
  NetworkAuthenticationRequired: 511
1379
1379
  };
1380
- Object.entries(tn).forEach(([e, t]) => {
1381
- tn[t] = e;
1380
+ Object.entries(en).forEach(([e, t]) => {
1381
+ en[t] = e;
1382
1382
  });
1383
- const Ys = tn;
1384
- function Lr(e) {
1385
- const t = new gt(e), n = hr(gt.prototype.request, t);
1386
- return h.extend(n, gt.prototype, t, { allOwnKeys: !0 }), h.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
1387
- return Lr(Le(e, o));
1383
+ const Ys = en;
1384
+ function kr(e) {
1385
+ const t = new ht(e), n = pr(ht.prototype.request, t);
1386
+ return h.extend(n, ht.prototype, t, { allOwnKeys: !0 }), h.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
1387
+ return kr(ke(e, o));
1388
1388
  }, n;
1389
1389
  }
1390
- const M = Lr(yn);
1391
- M.Axios = gt;
1392
- M.CanceledError = st;
1390
+ const M = kr(gn);
1391
+ M.Axios = ht;
1392
+ M.CanceledError = nt;
1393
1393
  M.CancelToken = Ws;
1394
- M.isCancel = Nr;
1395
- M.VERSION = kr;
1396
- M.toFormData = Pt;
1394
+ M.isCancel = Cr;
1395
+ M.VERSION = Ar;
1396
+ M.toFormData = xt;
1397
1397
  M.AxiosError = L;
1398
1398
  M.Cancel = M.CanceledError;
1399
1399
  M.all = function(t) {
@@ -1401,21 +1401,21 @@ M.all = function(t) {
1401
1401
  };
1402
1402
  M.spread = Js;
1403
1403
  M.isAxiosError = Ks;
1404
- M.mergeConfig = Le;
1404
+ M.mergeConfig = ke;
1405
1405
  M.AxiosHeaders = he;
1406
- M.formToJSON = (e) => Cr(h.isHTMLForm(e) ? new FormData(e) : e);
1406
+ M.formToJSON = (e) => Tr(h.isHTMLForm(e) ? new FormData(e) : e);
1407
1407
  M.HttpStatusCode = Ys;
1408
1408
  M.default = M;
1409
- const Xs = M, $r = Xs.create({
1409
+ const Xs = M, Lr = Xs.create({
1410
1410
  // 配置对象
1411
1411
  // 基础路径:发请求的时候路径当中会出现api
1412
1412
  // 请求超时的时间5s
1413
1413
  baseURL: "https://a2.imgkits.com",
1414
1414
  timeout: 5e4
1415
1415
  });
1416
- $r.interceptors.request.use((e) => (console.log(e), e), (e) => Promise.reject(e));
1417
- $r.interceptors.response.use((e) => e.data, (e) => Promise.reject(new Error(e)));
1418
- const qt = "@", Ue = window.localStorage, Hn = {
1416
+ Lr.interceptors.request.use((e) => (console.log(e), e), (e) => Promise.reject(e));
1417
+ Lr.interceptors.response.use((e) => e.data, (e) => Promise.reject(new Error(e)));
1418
+ const zt = "@", Me = window.localStorage, Un = {
1419
1419
  number: {
1420
1420
  save: (e) => e,
1421
1421
  parse: (e) => Number.parseFloat(e)
@@ -1434,93 +1434,93 @@ const qt = "@", Ue = window.localStorage, Hn = {
1434
1434
  parse: (e) => e
1435
1435
  }
1436
1436
  };
1437
- function Vn(e) {
1438
- return Hn[e] || Hn.default;
1437
+ function Hn(e) {
1438
+ return Un[e] || Un.default;
1439
1439
  }
1440
- const ut = {
1440
+ const at = {
1441
1441
  get(e) {
1442
- let t = Ue.getItem(e);
1442
+ let t = Me.getItem(e);
1443
1443
  if (t) {
1444
1444
  let n = t.split("@"), r, o = Date.now();
1445
1445
  if (n.length > 2 && n[2] < o)
1446
- return Ue.removeItem(e), null;
1446
+ return Me.removeItem(e), null;
1447
1447
  {
1448
1448
  let s = decodeURIComponent(n[1]);
1449
- return r = Vn(n[0]).parse(s), r;
1449
+ return r = Hn(n[0]).parse(s), r;
1450
1450
  }
1451
1451
  }
1452
1452
  return null;
1453
1453
  },
1454
1454
  put(e, t, n) {
1455
- const r = typeof t, o = Vn(r);
1455
+ const r = typeof t, o = Hn(r);
1456
1456
  if (!n)
1457
- t = r + qt + encodeURIComponent(o.save(t));
1457
+ t = r + zt + encodeURIComponent(o.save(t));
1458
1458
  else {
1459
1459
  let s = n * 24 * 60 * 60 * 1e3 + (/* @__PURE__ */ new Date()).getTime();
1460
- t = r + qt + encodeURIComponent(o.save(t)) + qt + s;
1460
+ t = r + zt + encodeURIComponent(o.save(t)) + zt + s;
1461
1461
  }
1462
- Ue.setItem(e, t);
1462
+ Me.setItem(e, t);
1463
1463
  },
1464
1464
  clear() {
1465
- Ue.clear();
1465
+ Me.clear();
1466
1466
  },
1467
1467
  remove(e) {
1468
- Ue.removeItem(e);
1468
+ Me.removeItem(e);
1469
1469
  }
1470
1470
  };
1471
1471
  var Zs = !1;
1472
- function ct(e, t, n) {
1472
+ function it(e, t, n) {
1473
1473
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
1474
1474
  }
1475
- function Gt(e, t) {
1475
+ function qt(e, t) {
1476
1476
  if (Array.isArray(e)) {
1477
1477
  e.splice(t, 1);
1478
1478
  return;
1479
1479
  }
1480
1480
  delete e[t];
1481
1481
  }
1482
- var zn;
1483
- const _n = typeof window < "u";
1484
- _n && ((zn = window == null ? void 0 : window.navigator) != null && zn.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1482
+ var Vn;
1483
+ const wn = typeof window < "u";
1484
+ wn && ((Vn = window == null ? void 0 : window.navigator) != null && Vn.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1485
1485
  process.env.NODE_ENV !== "production" && Object.freeze({});
1486
1486
  process.env.NODE_ENV !== "production" && Object.freeze([]);
1487
- const Qs = Object.prototype.hasOwnProperty, qn = (e, t) => Qs.call(e, t), En = (e) => typeof e == "string", Ct = (e) => e !== null && typeof e == "object", Fr = (e) => {
1487
+ const Qs = Object.prototype.hasOwnProperty, zn = (e, t) => Qs.call(e, t), _n = (e) => typeof e == "string", Tt = (e) => e !== null && typeof e == "object", $r = (e) => {
1488
1488
  const t = /* @__PURE__ */ Object.create(null);
1489
1489
  return (n) => t[n] || (t[n] = e(n));
1490
- }, ea = /-(\w)/g, ta = Fr((e) => e.replace(ea, (t, n) => n ? n.toUpperCase() : "")), na = /\B([A-Z])/g, ra = Fr(
1490
+ }, ea = /-(\w)/g, ta = $r((e) => e.replace(ea, (t, n) => n ? n.toUpperCase() : "")), na = /\B([A-Z])/g, ra = $r(
1491
1491
  (e) => e.replace(na, "-$1").toLowerCase()
1492
1492
  );
1493
1493
  var oa = typeof global == "object" && global && global.Object === Object && global;
1494
1494
  const sa = oa;
1495
1495
  var aa = typeof self == "object" && self && self.Object === Object && self, ia = sa || aa || Function("return this")();
1496
- const Sn = ia;
1497
- var la = Sn.Symbol;
1498
- const $e = la;
1499
- var Rr = Object.prototype, ua = Rr.hasOwnProperty, ca = Rr.toString, He = $e ? $e.toStringTag : void 0;
1496
+ const En = ia;
1497
+ var la = En.Symbol;
1498
+ const Le = la;
1499
+ var Fr = Object.prototype, ua = Fr.hasOwnProperty, ca = Fr.toString, Ue = Le ? Le.toStringTag : void 0;
1500
1500
  function da(e) {
1501
- var t = ua.call(e, He), n = e[He];
1501
+ var t = ua.call(e, Ue), n = e[Ue];
1502
1502
  try {
1503
- e[He] = void 0;
1503
+ e[Ue] = void 0;
1504
1504
  var r = !0;
1505
1505
  } catch {
1506
1506
  }
1507
1507
  var o = ca.call(e);
1508
- return r && (t ? e[He] = n : delete e[He]), o;
1508
+ return r && (t ? e[Ue] = n : delete e[Ue]), o;
1509
1509
  }
1510
1510
  var fa = Object.prototype, pa = fa.toString;
1511
1511
  function ha(e) {
1512
1512
  return pa.call(e);
1513
1513
  }
1514
- var ma = "[object Null]", va = "[object Undefined]", Gn = $e ? $e.toStringTag : void 0;
1515
- function Dr(e) {
1516
- return e == null ? e === void 0 ? va : ma : Gn && Gn in Object(e) ? da(e) : ha(e);
1514
+ var ma = "[object Null]", va = "[object Undefined]", qn = Le ? Le.toStringTag : void 0;
1515
+ function Rr(e) {
1516
+ return e == null ? e === void 0 ? va : ma : qn && qn in Object(e) ? da(e) : ha(e);
1517
1517
  }
1518
1518
  function ga(e) {
1519
1519
  return e != null && typeof e == "object";
1520
1520
  }
1521
1521
  var ya = "[object Symbol]";
1522
- function xn(e) {
1523
- return typeof e == "symbol" || ga(e) && Dr(e) == ya;
1522
+ function Sn(e) {
1523
+ return typeof e == "symbol" || ga(e) && Rr(e) == ya;
1524
1524
  }
1525
1525
  function ba(e, t) {
1526
1526
  for (var n = -1, r = e == null ? 0 : e.length, o = Array(r); ++n < r; )
@@ -1528,37 +1528,37 @@ function ba(e, t) {
1528
1528
  return o;
1529
1529
  }
1530
1530
  var wa = Array.isArray;
1531
- const Pn = wa;
1532
- var _a = 1 / 0, Wn = $e ? $e.prototype : void 0, Jn = Wn ? Wn.toString : void 0;
1533
- function jr(e) {
1531
+ const xn = wa;
1532
+ var _a = 1 / 0, Gn = Le ? Le.prototype : void 0, Wn = Gn ? Gn.toString : void 0;
1533
+ function Dr(e) {
1534
1534
  if (typeof e == "string")
1535
1535
  return e;
1536
- if (Pn(e))
1537
- return ba(e, jr) + "";
1538
1536
  if (xn(e))
1539
- return Jn ? Jn.call(e) : "";
1537
+ return ba(e, Dr) + "";
1538
+ if (Sn(e))
1539
+ return Wn ? Wn.call(e) : "";
1540
1540
  var t = e + "";
1541
1541
  return t == "0" && 1 / e == -_a ? "-0" : t;
1542
1542
  }
1543
- function Ir(e) {
1543
+ function jr(e) {
1544
1544
  var t = typeof e;
1545
1545
  return e != null && (t == "object" || t == "function");
1546
1546
  }
1547
1547
  var Ea = "[object AsyncFunction]", Sa = "[object Function]", xa = "[object GeneratorFunction]", Pa = "[object Proxy]";
1548
1548
  function Oa(e) {
1549
- if (!Ir(e))
1549
+ if (!jr(e))
1550
1550
  return !1;
1551
- var t = Dr(e);
1551
+ var t = Rr(e);
1552
1552
  return t == Sa || t == xa || t == Ea || t == Pa;
1553
1553
  }
1554
- var Ta = Sn["__core-js_shared__"];
1555
- const Wt = Ta;
1556
- var Kn = function() {
1557
- var e = /[^.]+$/.exec(Wt && Wt.keys && Wt.keys.IE_PROTO || "");
1554
+ var Ta = En["__core-js_shared__"];
1555
+ const Gt = Ta;
1556
+ var Jn = function() {
1557
+ var e = /[^.]+$/.exec(Gt && Gt.keys && Gt.keys.IE_PROTO || "");
1558
1558
  return e ? "Symbol(src)_1." + e : "";
1559
1559
  }();
1560
1560
  function Ca(e) {
1561
- return !!Kn && Kn in e;
1561
+ return !!Jn && Jn in e;
1562
1562
  }
1563
1563
  var Na = Function.prototype, Aa = Na.toString;
1564
1564
  function ka(e) {
@@ -1578,7 +1578,7 @@ var La = /[\\^$.*+?()[\]{}|]/g, $a = /^\[object .+?Constructor\]$/, Fa = Functio
1578
1578
  "^" + Da.call(ja).replace(La, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1579
1579
  );
1580
1580
  function Ba(e) {
1581
- if (!Ir(e) || Ca(e))
1581
+ if (!jr(e) || Ca(e))
1582
1582
  return !1;
1583
1583
  var t = Oa(e) ? Ia : $a;
1584
1584
  return t.test(ka(e));
@@ -1586,7 +1586,7 @@ function Ba(e) {
1586
1586
  function Ma(e, t) {
1587
1587
  return e == null ? void 0 : e[t];
1588
1588
  }
1589
- function Br(e, t) {
1589
+ function Ir(e, t) {
1590
1590
  var n = Ma(e, t);
1591
1591
  return Ba(n) ? n : void 0;
1592
1592
  }
@@ -1595,15 +1595,15 @@ function Ua(e, t) {
1595
1595
  }
1596
1596
  var Ha = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Va = /^\w*$/;
1597
1597
  function za(e, t) {
1598
- if (Pn(e))
1598
+ if (xn(e))
1599
1599
  return !1;
1600
1600
  var n = typeof e;
1601
- return n == "number" || n == "symbol" || n == "boolean" || e == null || xn(e) ? !0 : Va.test(e) || !Ha.test(e) || t != null && e in Object(t);
1601
+ return n == "number" || n == "symbol" || n == "boolean" || e == null || Sn(e) ? !0 : Va.test(e) || !Ha.test(e) || t != null && e in Object(t);
1602
1602
  }
1603
- var qa = Br(Object, "create");
1604
- const Qe = qa;
1603
+ var qa = Ir(Object, "create");
1604
+ const Ze = qa;
1605
1605
  function Ga() {
1606
- this.__data__ = Qe ? Qe(null) : {}, this.size = 0;
1606
+ this.__data__ = Ze ? Ze(null) : {}, this.size = 0;
1607
1607
  }
1608
1608
  function Wa(e) {
1609
1609
  var t = this.has(e) && delete this.__data__[e];
@@ -1612,7 +1612,7 @@ function Wa(e) {
1612
1612
  var Ja = "__lodash_hash_undefined__", Ka = Object.prototype, Ya = Ka.hasOwnProperty;
1613
1613
  function Xa(e) {
1614
1614
  var t = this.__data__;
1615
- if (Qe) {
1615
+ if (Ze) {
1616
1616
  var n = t[e];
1617
1617
  return n === Ja ? void 0 : n;
1618
1618
  }
@@ -1621,12 +1621,12 @@ function Xa(e) {
1621
1621
  var Za = Object.prototype, Qa = Za.hasOwnProperty;
1622
1622
  function ei(e) {
1623
1623
  var t = this.__data__;
1624
- return Qe ? t[e] !== void 0 : Qa.call(t, e);
1624
+ return Ze ? t[e] !== void 0 : Qa.call(t, e);
1625
1625
  }
1626
1626
  var ti = "__lodash_hash_undefined__";
1627
1627
  function ni(e, t) {
1628
1628
  var n = this.__data__;
1629
- return this.size += this.has(e) ? 0 : 1, n[e] = Qe && t === void 0 ? ti : t, this;
1629
+ return this.size += this.has(e) ? 0 : 1, n[e] = Ze && t === void 0 ? ti : t, this;
1630
1630
  }
1631
1631
  function xe(e) {
1632
1632
  var t = -1, n = e == null ? 0 : e.length;
@@ -1643,7 +1643,7 @@ xe.prototype.set = ni;
1643
1643
  function ri() {
1644
1644
  this.__data__ = [], this.size = 0;
1645
1645
  }
1646
- function Nt(e, t) {
1646
+ function Ct(e, t) {
1647
1647
  for (var n = e.length; n--; )
1648
1648
  if (Ua(e[n][0], t))
1649
1649
  return n;
@@ -1651,41 +1651,41 @@ function Nt(e, t) {
1651
1651
  }
1652
1652
  var oi = Array.prototype, si = oi.splice;
1653
1653
  function ai(e) {
1654
- var t = this.__data__, n = Nt(t, e);
1654
+ var t = this.__data__, n = Ct(t, e);
1655
1655
  if (n < 0)
1656
1656
  return !1;
1657
1657
  var r = t.length - 1;
1658
1658
  return n == r ? t.pop() : si.call(t, n, 1), --this.size, !0;
1659
1659
  }
1660
1660
  function ii(e) {
1661
- var t = this.__data__, n = Nt(t, e);
1661
+ var t = this.__data__, n = Ct(t, e);
1662
1662
  return n < 0 ? void 0 : t[n][1];
1663
1663
  }
1664
1664
  function li(e) {
1665
- return Nt(this.__data__, e) > -1;
1665
+ return Ct(this.__data__, e) > -1;
1666
1666
  }
1667
1667
  function ui(e, t) {
1668
- var n = this.__data__, r = Nt(n, e);
1668
+ var n = this.__data__, r = Ct(n, e);
1669
1669
  return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
1670
1670
  }
1671
- function De(e) {
1671
+ function Re(e) {
1672
1672
  var t = -1, n = e == null ? 0 : e.length;
1673
1673
  for (this.clear(); ++t < n; ) {
1674
1674
  var r = e[t];
1675
1675
  this.set(r[0], r[1]);
1676
1676
  }
1677
1677
  }
1678
- De.prototype.clear = ri;
1679
- De.prototype.delete = ai;
1680
- De.prototype.get = ii;
1681
- De.prototype.has = li;
1682
- De.prototype.set = ui;
1683
- var ci = Br(Sn, "Map");
1678
+ Re.prototype.clear = ri;
1679
+ Re.prototype.delete = ai;
1680
+ Re.prototype.get = ii;
1681
+ Re.prototype.has = li;
1682
+ Re.prototype.set = ui;
1683
+ var ci = Ir(En, "Map");
1684
1684
  const di = ci;
1685
1685
  function fi() {
1686
1686
  this.size = 0, this.__data__ = {
1687
1687
  hash: new xe(),
1688
- map: new (di || De)(),
1688
+ map: new (di || Re)(),
1689
1689
  string: new xe()
1690
1690
  };
1691
1691
  }
@@ -1693,22 +1693,22 @@ function pi(e) {
1693
1693
  var t = typeof e;
1694
1694
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
1695
1695
  }
1696
- function At(e, t) {
1696
+ function Nt(e, t) {
1697
1697
  var n = e.__data__;
1698
1698
  return pi(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
1699
1699
  }
1700
1700
  function hi(e) {
1701
- var t = At(this, e).delete(e);
1701
+ var t = Nt(this, e).delete(e);
1702
1702
  return this.size -= t ? 1 : 0, t;
1703
1703
  }
1704
1704
  function mi(e) {
1705
- return At(this, e).get(e);
1705
+ return Nt(this, e).get(e);
1706
1706
  }
1707
1707
  function vi(e) {
1708
- return At(this, e).has(e);
1708
+ return Nt(this, e).has(e);
1709
1709
  }
1710
1710
  function gi(e, t) {
1711
- var n = At(this, e), r = n.size;
1711
+ var n = Nt(this, e), r = n.size;
1712
1712
  return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
1713
1713
  }
1714
1714
  function Ce(e) {
@@ -1724,7 +1724,7 @@ Ce.prototype.get = mi;
1724
1724
  Ce.prototype.has = vi;
1725
1725
  Ce.prototype.set = gi;
1726
1726
  var yi = "Expected a function";
1727
- function On(e, t) {
1727
+ function Pn(e, t) {
1728
1728
  if (typeof e != "function" || t != null && typeof t != "function")
1729
1729
  throw new TypeError(yi);
1730
1730
  var n = function() {
@@ -1734,12 +1734,12 @@ function On(e, t) {
1734
1734
  var a = e.apply(this, r);
1735
1735
  return n.cache = s.set(o, a) || s, a;
1736
1736
  };
1737
- return n.cache = new (On.Cache || Ce)(), n;
1737
+ return n.cache = new (Pn.Cache || Ce)(), n;
1738
1738
  }
1739
- On.Cache = Ce;
1739
+ Pn.Cache = Ce;
1740
1740
  var bi = 500;
1741
1741
  function wi(e) {
1742
- var t = On(e, function(r) {
1742
+ var t = Pn(e, function(r) {
1743
1743
  return n.size === bi && n.clear(), r;
1744
1744
  }), n = t.cache;
1745
1745
  return t;
@@ -1752,14 +1752,14 @@ var _i = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
1752
1752
  });
1753
1753
  const xi = Si;
1754
1754
  function Pi(e) {
1755
- return e == null ? "" : jr(e);
1755
+ return e == null ? "" : Dr(e);
1756
1756
  }
1757
1757
  function Oi(e, t) {
1758
- return Pn(e) ? e : za(e, t) ? [e] : xi(Pi(e));
1758
+ return xn(e) ? e : za(e, t) ? [e] : xi(Pi(e));
1759
1759
  }
1760
1760
  var Ti = 1 / 0;
1761
1761
  function Ci(e) {
1762
- if (typeof e == "string" || xn(e))
1762
+ if (typeof e == "string" || Sn(e))
1763
1763
  return e;
1764
1764
  var t = e + "";
1765
1765
  return t == "0" && 1 / e == -Ti ? "-0" : t;
@@ -1774,7 +1774,7 @@ function Ai(e, t, n) {
1774
1774
  var r = e == null ? void 0 : Ni(e, t);
1775
1775
  return r === void 0 ? n : r;
1776
1776
  }
1777
- const ki = (e) => typeof e == "number", Yn = (e) => Object.keys(e);
1777
+ const ki = (e) => typeof e == "number", Kn = (e) => Object.keys(e);
1778
1778
  class Li extends Error {
1779
1779
  constructor(t) {
1780
1780
  super(t), this.name = "ElementPlusError";
@@ -1782,17 +1782,17 @@ class Li extends Error {
1782
1782
  }
1783
1783
  function $i(e, t) {
1784
1784
  if (process.env.NODE_ENV !== "production") {
1785
- const n = En(e) ? new Li(`[${e}] ${t}`) : e;
1785
+ const n = _n(e) ? new Li(`[${e}] ${t}`) : e;
1786
1786
  console.warn(n);
1787
1787
  }
1788
1788
  }
1789
- const Mr = (e = "") => e.split(" ").filter((t) => !!t.trim()), Xn = (e, t) => {
1790
- !e || !t.trim() || e.classList.add(...Mr(t));
1791
- }, bt = (e, t) => {
1792
- !e || !t.trim() || e.classList.remove(...Mr(t));
1793
- }, Ve = (e, t) => {
1789
+ const Br = (e = "") => e.split(" ").filter((t) => !!t.trim()), Yn = (e, t) => {
1790
+ !e || !t.trim() || e.classList.add(...Br(t));
1791
+ }, vt = (e, t) => {
1792
+ !e || !t.trim() || e.classList.remove(...Br(t));
1793
+ }, He = (e, t) => {
1794
1794
  var n;
1795
- if (!_n || !e || !t)
1795
+ if (!wn || !e || !t)
1796
1796
  return "";
1797
1797
  let r = ta(t);
1798
1798
  r === "float" && (r = "cssFloat");
@@ -1805,23 +1805,23 @@ const Mr = (e = "") => e.split(" ").filter((t) => !!t.trim()), Xn = (e, t) => {
1805
1805
  } catch {
1806
1806
  return e.style[r];
1807
1807
  }
1808
- }, Ur = "__epPropKey", Fi = (e) => Ct(e) && !!e[Ur], Ri = (e, t) => {
1809
- if (!Ct(e) || Fi(e))
1808
+ }, Mr = "__epPropKey", Fi = (e) => Tt(e) && !!e[Mr], Ri = (e, t) => {
1809
+ if (!Tt(e) || Fi(e))
1810
1810
  return e;
1811
1811
  const { values: n, required: r, default: o, type: s, validator: a } = e, d = {
1812
1812
  type: s,
1813
1813
  required: !!r,
1814
1814
  validator: n || a ? (l) => {
1815
1815
  let c = !1, u = [];
1816
- if (n && (u = Array.from(n), qn(e, "default") && u.push(o), c || (c = u.includes(l))), a && (c || (c = a(l))), !c && u.length > 0) {
1816
+ if (n && (u = Array.from(n), zn(e, "default") && u.push(o), c || (c = u.includes(l))), a && (c || (c = a(l))), !c && u.length > 0) {
1817
1817
  const f = [...new Set(u)].map((v) => JSON.stringify(v)).join(", ");
1818
1818
  So(`Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${f}], got value ${JSON.stringify(l)}.`);
1819
1819
  }
1820
1820
  return c;
1821
1821
  } : void 0,
1822
- [Ur]: !0
1822
+ [Mr]: !0
1823
1823
  };
1824
- return qn(e, "default") && (d.default = o), d;
1824
+ return zn(e, "default") && (d.default = o), d;
1825
1825
  }, Di = ["", "default", "small", "large"];
1826
1826
  var ji = {
1827
1827
  name: "en",
@@ -1995,15 +1995,15 @@ const Ii = (e) => (t, n) => Bi(t, n, z(e)), Bi = (e, t, n) => Ai(n, e, e).replac
1995
1995
  locale: n,
1996
1996
  t: Ii(e)
1997
1997
  };
1998
- }, Hr = Symbol("localeContextKey"), Ui = (e) => {
1999
- const t = e || H(Hr, T());
1998
+ }, Ur = Symbol("localeContextKey"), Ui = (e) => {
1999
+ const t = e || H(Ur, T());
2000
2000
  return Mi(x(() => t.value || ji));
2001
- }, nn = "el", Hi = "is-", ye = (e, t, n, r, o) => {
2001
+ }, tn = "el", Hi = "is-", ye = (e, t, n, r, o) => {
2002
2002
  let s = `${e}-${t}`;
2003
2003
  return n && (s += `-${n}`), r && (s += `__${r}`), o && (s += `--${o}`), s;
2004
- }, Vr = Symbol("namespaceContextKey"), Vi = (e) => {
2005
- const t = e || H(Vr, T(nn));
2006
- return x(() => z(t) || nn);
2004
+ }, Hr = Symbol("namespaceContextKey"), Vi = (e) => {
2005
+ const t = e || H(Hr, T(tn));
2006
+ return x(() => z(t) || tn);
2007
2007
  }, zi = (e, t) => {
2008
2008
  const n = Vi(t);
2009
2009
  return {
@@ -2034,15 +2034,15 @@ const Ii = (e) => (t, n) => Bi(t, n, z(e)), Bi = (e, t, n) => Ai(n, e, e).replac
2034
2034
  },
2035
2035
  cssVarBlockName: (p) => `--${n.value}-${e}-${p}`
2036
2036
  };
2037
- }, Zn = T(0), zr = 2e3, qr = Symbol("zIndexContextKey"), qi = (e) => {
2038
- const t = e || H(qr, void 0), n = x(() => {
2037
+ }, Xn = T(0), Vr = 2e3, zr = Symbol("zIndexContextKey"), qi = (e) => {
2038
+ const t = e || H(zr, void 0), n = x(() => {
2039
2039
  const s = z(t);
2040
- return ki(s) ? s : zr;
2041
- }), r = x(() => n.value + Zn.value);
2040
+ return ki(s) ? s : Vr;
2041
+ }), r = x(() => n.value + Xn.value);
2042
2042
  return {
2043
2043
  initialZIndex: n,
2044
2044
  currentZIndex: r,
2045
- nextZIndex: () => (Zn.value++, r.value)
2045
+ nextZIndex: () => (Xn.value++, r.value)
2046
2046
  };
2047
2047
  };
2048
2048
  Ri({
@@ -2050,24 +2050,24 @@ Ri({
2050
2050
  values: Di,
2051
2051
  required: !1
2052
2052
  });
2053
- const Gi = Symbol("size"), Gr = Symbol(), wt = T();
2054
- function Wr(e, t = void 0) {
2055
- const n = pn() ? H(Gr, wt) : wt;
2053
+ const Gi = Symbol("size"), qr = Symbol(), gt = T();
2054
+ function Gr(e, t = void 0) {
2055
+ const n = fn() ? H(qr, gt) : gt;
2056
2056
  return e ? x(() => {
2057
2057
  var r, o;
2058
2058
  return (o = (r = n.value) == null ? void 0 : r[e]) != null ? o : t;
2059
2059
  }) : n;
2060
2060
  }
2061
2061
  function Wi(e, t) {
2062
- const n = Wr(), r = zi(e, x(() => {
2062
+ const n = Gr(), r = zi(e, x(() => {
2063
2063
  var i;
2064
- return ((i = n.value) == null ? void 0 : i.namespace) || nn;
2064
+ return ((i = n.value) == null ? void 0 : i.namespace) || tn;
2065
2065
  })), o = Ui(x(() => {
2066
2066
  var i;
2067
2067
  return (i = n.value) == null ? void 0 : i.locale;
2068
2068
  })), s = qi(x(() => {
2069
2069
  var i;
2070
- return ((i = n.value) == null ? void 0 : i.zIndex) || zr;
2070
+ return ((i = n.value) == null ? void 0 : i.zIndex) || Vr;
2071
2071
  })), a = x(() => {
2072
2072
  var i;
2073
2073
  return z(t) || ((i = n.value) == null ? void 0 : i.size) || "";
@@ -2081,7 +2081,7 @@ function Wi(e, t) {
2081
2081
  }
2082
2082
  const Ji = (e, t, n = !1) => {
2083
2083
  var r;
2084
- const o = !!pn(), s = o ? Wr() : void 0, a = (r = t == null ? void 0 : t.provide) != null ? r : o ? oe : void 0;
2084
+ const o = !!fn(), s = o ? Gr() : void 0, a = (r = t == null ? void 0 : t.provide) != null ? r : o ? oe : void 0;
2085
2085
  if (!a) {
2086
2086
  $i("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
2087
2087
  return;
@@ -2090,19 +2090,19 @@ const Ji = (e, t, n = !1) => {
2090
2090
  const d = z(e);
2091
2091
  return s != null && s.value ? Ki(s.value, d) : d;
2092
2092
  });
2093
- return a(Gr, i), a(Hr, x(() => i.value.locale)), a(Vr, x(() => i.value.namespace)), a(qr, x(() => i.value.zIndex)), a(Gi, {
2093
+ return a(qr, i), a(Ur, x(() => i.value.locale)), a(Hr, x(() => i.value.namespace)), a(zr, x(() => i.value.zIndex)), a(Gi, {
2094
2094
  size: x(() => i.value.size || "")
2095
- }), (n || !wt.value) && (wt.value = i.value), i;
2095
+ }), (n || !gt.value) && (gt.value = i.value), i;
2096
2096
  }, Ki = (e, t) => {
2097
2097
  var n;
2098
- const r = [.../* @__PURE__ */ new Set([...Yn(e), ...Yn(t)])], o = {};
2098
+ const r = [.../* @__PURE__ */ new Set([...Kn(e), ...Kn(t)])], o = {};
2099
2099
  for (const s of r)
2100
2100
  o[s] = (n = t[s]) != null ? n : e[s];
2101
2101
  return o;
2102
2102
  };
2103
2103
  function Yi(e) {
2104
2104
  let t;
2105
- const n = T(!1), r = hn({
2105
+ const n = T(!1), r = pn({
2106
2106
  ...e,
2107
2107
  originalPosition: "",
2108
2108
  originalOverflow: "",
@@ -2115,7 +2115,7 @@ function Yi(e) {
2115
2115
  const f = r.parent, v = u.ns;
2116
2116
  if (!f.vLoadingAddClassList) {
2117
2117
  let m = f.getAttribute("loading-number");
2118
- m = Number.parseInt(m) - 1, m ? f.setAttribute("loading-number", m.toString()) : (bt(f, v.bm("parent", "relative")), f.removeAttribute("loading-number")), bt(f, v.bm("parent", "hidden"));
2118
+ m = Number.parseInt(m) - 1, m ? f.setAttribute("loading-number", m.toString()) : (vt(f, v.bm("parent", "relative")), f.removeAttribute("loading-number")), vt(f, v.bm("parent", "hidden"));
2119
2119
  }
2120
2120
  a(), c.unmount();
2121
2121
  }
@@ -2154,12 +2154,12 @@ function Yi(e) {
2154
2154
  fill: "none"
2155
2155
  })
2156
2156
  ]), N = r.text ? j("p", { class: m.b("text") }, [r.text]) : void 0;
2157
- return j(dr, {
2157
+ return j(cr, {
2158
2158
  name: m.b("fade"),
2159
2159
  onAfterLeave: d
2160
2160
  }, {
2161
2161
  default: be(() => [
2162
- Ke(ue("div", {
2162
+ Je(ue("div", {
2163
2163
  style: {
2164
2164
  backgroundColor: r.background || ""
2165
2165
  },
@@ -2172,14 +2172,14 @@ function Yi(e) {
2172
2172
  j("div", {
2173
2173
  class: m.b("spinner")
2174
2174
  }, [S, N])
2175
- ]), [[fr, r.visible]])
2175
+ ]), [[dr, r.visible]])
2176
2176
  ])
2177
2177
  });
2178
2178
  };
2179
2179
  }
2180
2180
  }), c = xo(l), u = c.mount(document.createElement("div"));
2181
2181
  return {
2182
- ...Xt(r),
2182
+ ...Yt(r),
2183
2183
  setText: o,
2184
2184
  removeElLoadingChild: a,
2185
2185
  close: i,
@@ -2190,27 +2190,27 @@ function Yi(e) {
2190
2190
  }
2191
2191
  };
2192
2192
  }
2193
- let dt;
2194
- const rn = function(e = {}) {
2195
- if (!_n)
2193
+ let lt;
2194
+ const nn = function(e = {}) {
2195
+ if (!wn)
2196
2196
  return;
2197
2197
  const t = Xi(e);
2198
- if (t.fullscreen && dt)
2199
- return dt;
2198
+ if (t.fullscreen && lt)
2199
+ return lt;
2200
2200
  const n = Yi({
2201
2201
  ...t,
2202
2202
  closed: () => {
2203
2203
  var o;
2204
- (o = t.closed) == null || o.call(t), t.fullscreen && (dt = void 0);
2204
+ (o = t.closed) == null || o.call(t), t.fullscreen && (lt = void 0);
2205
2205
  }
2206
2206
  });
2207
- Zi(t, t.parent, n), Qn(t, t.parent, n), t.parent.vLoadingAddClassList = () => Qn(t, t.parent, n);
2207
+ Zi(t, t.parent, n), Zn(t, t.parent, n), t.parent.vLoadingAddClassList = () => Zn(t, t.parent, n);
2208
2208
  let r = t.parent.getAttribute("loading-number");
2209
- return r ? r = `${Number.parseInt(r) + 1}` : r = "1", t.parent.setAttribute("loading-number", r), t.parent.appendChild(n.$el), Xe(() => n.visible.value = t.visible), t.fullscreen && (dt = n), n;
2209
+ return r ? r = `${Number.parseInt(r) + 1}` : r = "1", t.parent.setAttribute("loading-number", r), t.parent.appendChild(n.$el), Ye(() => n.visible.value = t.visible), t.fullscreen && (lt = n), n;
2210
2210
  }, Xi = (e) => {
2211
2211
  var t, n, r, o;
2212
2212
  let s;
2213
- return En(e.target) ? s = (t = document.querySelector(e.target)) != null ? t : document.body : s = e.target || document.body, {
2213
+ return _n(e.target) ? s = (t = document.querySelector(e.target)) != null ? t : document.body : s = e.target || document.body, {
2214
2214
  parent: s === document.body || e.body ? document.body : s,
2215
2215
  background: e.background || "",
2216
2216
  svg: e.svg || "",
@@ -2226,26 +2226,26 @@ const rn = function(e = {}) {
2226
2226
  }, Zi = async (e, t, n) => {
2227
2227
  const { nextZIndex: r } = n.vm.zIndex || n.vm._.exposed.zIndex, o = {};
2228
2228
  if (e.fullscreen)
2229
- n.originalPosition.value = Ve(document.body, "position"), n.originalOverflow.value = Ve(document.body, "overflow"), o.zIndex = r();
2229
+ n.originalPosition.value = He(document.body, "position"), n.originalOverflow.value = He(document.body, "overflow"), o.zIndex = r();
2230
2230
  else if (e.parent === document.body) {
2231
- n.originalPosition.value = Ve(document.body, "position"), await Xe();
2231
+ n.originalPosition.value = He(document.body, "position"), await Ye();
2232
2232
  for (const s of ["top", "left"]) {
2233
2233
  const a = s === "top" ? "scrollTop" : "scrollLeft";
2234
- o[s] = `${e.target.getBoundingClientRect()[s] + document.body[a] + document.documentElement[a] - Number.parseInt(Ve(document.body, `margin-${s}`), 10)}px`;
2234
+ o[s] = `${e.target.getBoundingClientRect()[s] + document.body[a] + document.documentElement[a] - Number.parseInt(He(document.body, `margin-${s}`), 10)}px`;
2235
2235
  }
2236
2236
  for (const s of ["height", "width"])
2237
2237
  o[s] = `${e.target.getBoundingClientRect()[s]}px`;
2238
2238
  } else
2239
- n.originalPosition.value = Ve(t, "position");
2239
+ n.originalPosition.value = He(t, "position");
2240
2240
  for (const [s, a] of Object.entries(o))
2241
2241
  n.$el.style[s] = a;
2242
- }, Qn = (e, t, n) => {
2242
+ }, Zn = (e, t, n) => {
2243
2243
  const r = n.vm.ns || n.vm._.exposed.ns;
2244
- ["absolute", "fixed", "sticky"].includes(n.originalPosition.value) ? bt(t, r.bm("parent", "relative")) : Xn(t, r.bm("parent", "relative")), e.fullscreen && e.lock ? Xn(t, r.bm("parent", "hidden")) : bt(t, r.bm("parent", "hidden"));
2245
- }, on = Symbol("ElLoading"), er = (e, t) => {
2244
+ ["absolute", "fixed", "sticky"].includes(n.originalPosition.value) ? vt(t, r.bm("parent", "relative")) : Yn(t, r.bm("parent", "relative")), e.fullscreen && e.lock ? Yn(t, r.bm("parent", "hidden")) : vt(t, r.bm("parent", "hidden"));
2245
+ }, rn = Symbol("ElLoading"), Qn = (e, t) => {
2246
2246
  var n, r, o, s;
2247
- const a = t.instance, i = (f) => Ct(t.value) ? t.value[f] : void 0, d = (f) => {
2248
- const v = En(f) && (a == null ? void 0 : a[f]) || f;
2247
+ const a = t.instance, i = (f) => Tt(t.value) ? t.value[f] : void 0, d = (f) => {
2248
+ const v = _n(f) && (a == null ? void 0 : a[f]) || f;
2249
2249
  return v && T(v);
2250
2250
  }, l = (f) => d(i(f) || e.getAttribute(`element-loading-${ra(f)}`)), c = (n = i("fullscreen")) != null ? n : t.modifiers.fullscreen, u = {
2251
2251
  text: l("text"),
@@ -2259,55 +2259,55 @@ const rn = function(e = {}) {
2259
2259
  body: (o = i("body")) != null ? o : t.modifiers.body,
2260
2260
  lock: (s = i("lock")) != null ? s : t.modifiers.lock
2261
2261
  };
2262
- e[on] = {
2262
+ e[rn] = {
2263
2263
  options: u,
2264
- instance: rn(u)
2264
+ instance: nn(u)
2265
2265
  };
2266
2266
  }, Qi = (e, t) => {
2267
2267
  for (const n of Object.keys(t))
2268
2268
  Se(t[n]) && (t[n].value = e[n]);
2269
- }, tr = {
2269
+ }, er = {
2270
2270
  mounted(e, t) {
2271
- t.value && er(e, t);
2271
+ t.value && Qn(e, t);
2272
2272
  },
2273
2273
  updated(e, t) {
2274
- const n = e[on];
2275
- t.oldValue !== t.value && (t.value && !t.oldValue ? er(e, t) : t.value && t.oldValue ? Ct(t.value) && Qi(t.value, n.options) : n == null || n.instance.close());
2274
+ const n = e[rn];
2275
+ t.oldValue !== t.value && (t.value && !t.oldValue ? Qn(e, t) : t.value && t.oldValue ? Tt(t.value) && Qi(t.value, n.options) : n == null || n.instance.close());
2276
2276
  },
2277
2277
  unmounted(e) {
2278
2278
  var t;
2279
- (t = e[on]) == null || t.instance.close();
2279
+ (t = e[rn]) == null || t.instance.close();
2280
2280
  }
2281
- }, We = {
2281
+ }, Ge = {
2282
2282
  install(e) {
2283
- e.directive("loading", tr), e.config.globalProperties.$loading = rn;
2283
+ e.directive("loading", er), e.config.globalProperties.$loading = nn;
2284
2284
  },
2285
- directive: tr,
2286
- service: rn
2285
+ directive: er,
2286
+ service: nn
2287
2287
  };
2288
- function kt() {
2288
+ function At() {
2289
2289
  let e = "";
2290
2290
  return typeof app_config == "object" && app_config && Object.keys(app_config).length > 0 && (e = app_config.base_url || ""), e;
2291
2291
  }
2292
2292
  function el() {
2293
- const e = tl(), t = kt();
2293
+ const e = Jr(), t = At();
2294
2294
  return e.product ? e.product : t ? t.slice(1) : location.href.indexOf("convert") != -1 ? "convert" : location.href.indexOf("translate") != -1 ? "translate" : "recorder";
2295
2295
  }
2296
- function Jr(e, t) {
2296
+ function Wr(e, t) {
2297
2297
  window.__bl && __bl.error(new Error(JSON.stringify(e)), {
2298
2298
  filename: t,
2299
2299
  lineno: 384,
2300
2300
  colno: 18
2301
2301
  });
2302
2302
  }
2303
- function tl() {
2303
+ function Jr() {
2304
2304
  var e = {};
2305
2305
  if (location.search.length > 1)
2306
2306
  for (var t, n = 0, r = location.search.substr(1).split("&"); n < r.length; n++)
2307
2307
  t = r[n].split("="), e[decodeURIComponent(t[0])] = t.length > 1 ? decodeURIComponent(t[1]) : "";
2308
2308
  return e;
2309
2309
  }
2310
- function je({ url: e, data: t = null, method: n = "GET", headers: r = null, cacheKey: o, cacheTime: s }) {
2310
+ function De({ url: e, data: t = null, method: n = "GET", headers: r = null, cacheKey: o, cacheTime: s }) {
2311
2311
  try {
2312
2312
  var a = new AbortController(), i = a.signal;
2313
2313
  } catch {
@@ -2331,21 +2331,21 @@ function je({ url: e, data: t = null, method: n = "GET", headers: r = null, cach
2331
2331
  u(new Response("timeout", { status: 504, statusText: "timeout" })), a && a.abort();
2332
2332
  }, 6e4);
2333
2333
  });
2334
- return Promise.race([c(), fetch(e, l).then((u) => u.json())]).then((u) => (console.log(u), u.success == !0 || u.ok === 0 || u.code == 0 ? (o && (s ? ut.put(o, u.data, s) : ut.put(o, u.data)), (u.message || u.message == 0) && (window.g_message = u.message), Promise.resolve(u.data)) : u && u.image || u && u.GOOGLE_ACCESS_TOKEN ? (o && (s ? ut.put(o, u, s) : ut.put(o, u)), Promise.resolve(u)) : u.statusText == "timeout" ? Promise.reject("The system is busy, please try again later") : Promise.reject(u.message || u.msg && u || "failed, please check your network and try again"))).catch((u) => Promise.reject(u));
2334
+ return Promise.race([c(), fetch(e, l).then((u) => u.json())]).then((u) => (console.log(u), u.success == !0 || u.ok === 0 || u.code == 0 ? (o && (s ? at.put(o, u.data, s) : at.put(o, u.data)), (u.message || u.message == 0) && (window.g_message = u.message), Promise.resolve(u.data)) : u && u.image || u && u.GOOGLE_ACCESS_TOKEN ? (o && (s ? at.put(o, u, s) : at.put(o, u)), Promise.resolve(u)) : u.statusText == "timeout" ? Promise.reject("The system is busy, please try again later") : Promise.reject(u.message || u.msg && u || "failed, please check your network and try again"))).catch((u) => Promise.reject(u));
2335
2335
  }
2336
- let Ie = kt();
2337
- function nr() {
2336
+ let je = At();
2337
+ function tr() {
2338
2338
  const e = {
2339
2339
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
2340
2340
  };
2341
- return je({
2342
- url: Ie + "/api/user/status",
2341
+ return De({
2342
+ url: je + "/api/user/status",
2343
2343
  method: "POST",
2344
2344
  headers: e
2345
2345
  });
2346
2346
  }
2347
- const nl = (e) => je({
2348
- url: Ie + "/api/user/active-passport",
2347
+ const tl = (e) => De({
2348
+ url: je + "/api/user/active-passport",
2349
2349
  data: {
2350
2350
  passport: e
2351
2351
  },
@@ -2354,9 +2354,9 @@ const nl = (e) => je({
2354
2354
  "Content-Type": "application/json"
2355
2355
  }
2356
2356
  });
2357
- function rl(e) {
2358
- return je({
2359
- url: Ie + "/api/user/facebooklogin",
2357
+ function nl(e) {
2358
+ return De({
2359
+ url: je + "/api/user/facebooklogin",
2360
2360
  data: {
2361
2361
  token: e
2362
2362
  },
@@ -2367,8 +2367,8 @@ function rl(e) {
2367
2367
  });
2368
2368
  }
2369
2369
  function Kr(e) {
2370
- return je({
2371
- url: Ie + "/api/user/google",
2370
+ return De({
2371
+ url: je + "/api/user/google",
2372
2372
  data: {
2373
2373
  token: e
2374
2374
  },
@@ -2378,9 +2378,9 @@ function Kr(e) {
2378
2378
  }
2379
2379
  });
2380
2380
  }
2381
- function ol(e, t) {
2382
- return je({
2383
- url: Ie + "/api/user/emaillogin?email=" + encodeURIComponent(e) + "&password=" + encodeURIComponent(t)
2381
+ function rl(e, t) {
2382
+ return De({
2383
+ url: je + "/api/user/emaillogin?email=" + encodeURIComponent(e) + "&password=" + encodeURIComponent(t)
2384
2384
  // data: {
2385
2385
  // email,
2386
2386
  // password
@@ -2388,9 +2388,9 @@ function ol(e, t) {
2388
2388
  // method: "POST"
2389
2389
  });
2390
2390
  }
2391
- function sl(e, t, n) {
2392
- return je({
2393
- url: Ie + "/api/user/emailsignup?email=" + encodeURIComponent(e) + "&username=" + encodeURIComponent(t) + "&password=" + encodeURIComponent(n)
2391
+ function ol(e, t, n) {
2392
+ return De({
2393
+ url: je + "/api/user/emailsignup?email=" + encodeURIComponent(e) + "&username=" + encodeURIComponent(t) + "&password=" + encodeURIComponent(n)
2394
2394
  // data: {
2395
2395
  // email,
2396
2396
  // username,
@@ -2407,25 +2407,25 @@ function X(e, t, ...n) {
2407
2407
  let r = new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((o) => `"${o}"`).join(", ")}.`);
2408
2408
  throw Error.captureStackTrace && Error.captureStackTrace(r, X), r;
2409
2409
  }
2410
- var Pe = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(Pe || {}), al = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(al || {});
2410
+ var Pe = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(Pe || {}), sl = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(sl || {});
2411
2411
  function G({ visible: e = !0, features: t = 0, ourProps: n, theirProps: r, ...o }) {
2412
2412
  var s;
2413
2413
  let a = Xr(r, n), i = Object.assign(o, { props: a });
2414
2414
  if (e || t & 2 && a.static)
2415
- return Jt(i);
2415
+ return Wt(i);
2416
2416
  if (t & 1) {
2417
2417
  let d = (s = a.unmount) == null || s ? 0 : 1;
2418
2418
  return X(d, { [0]() {
2419
2419
  return null;
2420
2420
  }, [1]() {
2421
- return Jt({ ...o, props: { ...a, hidden: !0, style: { display: "none" } } });
2421
+ return Wt({ ...o, props: { ...a, hidden: !0, style: { display: "none" } } });
2422
2422
  } });
2423
2423
  }
2424
- return Jt(i);
2424
+ return Wt(i);
2425
2425
  }
2426
- function Jt({ props: e, attrs: t, slots: n, slot: r, name: o }) {
2426
+ function Wt({ props: e, attrs: t, slots: n, slot: r, name: o }) {
2427
2427
  var s, a;
2428
- let { as: i, ...d } = il(e, ["unmount", "static"]), l = (s = n.default) == null ? void 0 : s.call(n, r), c = {};
2428
+ let { as: i, ...d } = al(e, ["unmount", "static"]), l = (s = n.default) == null ? void 0 : s.call(n, r), c = {};
2429
2429
  if (r) {
2430
2430
  let u = !1, f = [];
2431
2431
  for (let [v, m] of Object.entries(r))
@@ -2435,7 +2435,7 @@ function Jt({ props: e, attrs: t, slots: n, slot: r, name: o }) {
2435
2435
  if (i === "template") {
2436
2436
  if (l = Yr(l ?? []), Object.keys(d).length > 0 || Object.keys(t).length > 0) {
2437
2437
  let [u, ...f] = l ?? [];
2438
- if (!ll(u) || f.length > 0)
2438
+ if (!il(u) || f.length > 0)
2439
2439
  throw new Error(['Passing props on "template"!', "", `The current component <${o} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(d).concat(Object.keys(t)).map((p) => p.trim()).filter((p, y, S) => S.indexOf(p) === y).sort((p, y) => p.localeCompare(y)).map((p) => ` - ${p}`).join(`
2440
2440
  `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((p) => ` - ${p}`).join(`
2441
2441
  `)].join(`
@@ -2474,21 +2474,21 @@ function Xr(...e) {
2474
2474
  } });
2475
2475
  return t;
2476
2476
  }
2477
- function il(e, t = []) {
2477
+ function al(e, t = []) {
2478
2478
  let n = Object.assign({}, e);
2479
2479
  for (let r of t)
2480
2480
  r in n && delete n[r];
2481
2481
  return n;
2482
2482
  }
2483
- function ll(e) {
2483
+ function il(e) {
2484
2484
  return e == null ? !1 : typeof e.type == "string" || typeof e.type == "object" || typeof e.type == "function";
2485
2485
  }
2486
- let ul = 0;
2487
- function cl() {
2488
- return ++ul;
2486
+ let ll = 0;
2487
+ function ul() {
2488
+ return ++ll;
2489
2489
  }
2490
2490
  function ee() {
2491
- return cl();
2491
+ return ul();
2492
2492
  }
2493
2493
  var pe = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(pe || {});
2494
2494
  function _(e) {
@@ -2497,32 +2497,32 @@ function _(e) {
2497
2497
  }
2498
2498
  let Zr = Symbol("Context");
2499
2499
  var te = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(te || {});
2500
- function Tn() {
2500
+ function On() {
2501
2501
  return H(Zr, null);
2502
2502
  }
2503
- function dl(e) {
2503
+ function cl(e) {
2504
2504
  oe(Zr, e);
2505
2505
  }
2506
- function rr(e, t) {
2506
+ function nr(e, t) {
2507
2507
  if (e)
2508
2508
  return e;
2509
2509
  let n = t ?? "button";
2510
2510
  if (typeof n == "string" && n.toLowerCase() === "button")
2511
2511
  return "button";
2512
2512
  }
2513
- function fl(e, t) {
2514
- let n = T(rr(e.value.type, e.value.as));
2513
+ function dl(e, t) {
2514
+ let n = T(nr(e.value.type, e.value.as));
2515
2515
  return K(() => {
2516
- n.value = rr(e.value.type, e.value.as);
2516
+ n.value = nr(e.value.type, e.value.as);
2517
2517
  }), se(() => {
2518
2518
  var r;
2519
2519
  n.value || _(t) && _(t) instanceof HTMLButtonElement && !((r = _(t)) != null && r.hasAttribute("type")) && (n.value = "button");
2520
2520
  }), n;
2521
2521
  }
2522
- var pl = Object.defineProperty, hl = (e, t, n) => t in e ? pl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, or = (e, t, n) => (hl(e, typeof t != "symbol" ? t + "" : t, n), n);
2523
- class ml {
2522
+ var fl = Object.defineProperty, pl = (e, t, n) => t in e ? fl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, rr = (e, t, n) => (pl(e, typeof t != "symbol" ? t + "" : t, n), n);
2523
+ class hl {
2524
2524
  constructor() {
2525
- or(this, "current", this.detect()), or(this, "currentId", 0);
2525
+ rr(this, "current", this.detect()), rr(this, "currentId", 0);
2526
2526
  }
2527
2527
  set(t) {
2528
2528
  this.current !== t && (this.currentId = 0, this.current = t);
@@ -2543,9 +2543,9 @@ class ml {
2543
2543
  return typeof window > "u" || typeof document > "u" ? "server" : "client";
2544
2544
  }
2545
2545
  }
2546
- let Lt = new ml();
2546
+ let kt = new hl();
2547
2547
  function fe(e) {
2548
- if (Lt.isServer)
2548
+ if (kt.isServer)
2549
2549
  return null;
2550
2550
  if (e instanceof Node)
2551
2551
  return e.ownerDocument;
@@ -2556,27 +2556,27 @@ function fe(e) {
2556
2556
  }
2557
2557
  return document;
2558
2558
  }
2559
- let sn = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
2560
- var q = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(q || {}), et = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(et || {}), vl = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(vl || {});
2561
- function $t(e = document.body) {
2562
- return e == null ? [] : Array.from(e.querySelectorAll(sn)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
2559
+ let on = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
2560
+ var q = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(q || {}), Qe = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Qe || {}), ml = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(ml || {});
2561
+ function Lt(e = document.body) {
2562
+ return e == null ? [] : Array.from(e.querySelectorAll(on)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
2563
2563
  }
2564
- var Cn = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(Cn || {});
2564
+ var Tn = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(Tn || {});
2565
2565
  function Qr(e, t = 0) {
2566
2566
  var n;
2567
2567
  return e === ((n = fe(e)) == null ? void 0 : n.body) ? !1 : X(t, { [0]() {
2568
- return e.matches(sn);
2568
+ return e.matches(on);
2569
2569
  }, [1]() {
2570
2570
  let r = e;
2571
2571
  for (; r !== null; ) {
2572
- if (r.matches(sn))
2572
+ if (r.matches(on))
2573
2573
  return !0;
2574
2574
  r = r.parentElement;
2575
2575
  }
2576
2576
  return !1;
2577
2577
  } });
2578
2578
  }
2579
- var gl = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(gl || {});
2579
+ var vl = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(vl || {});
2580
2580
  typeof window < "u" && typeof document < "u" && (document.addEventListener("keydown", (e) => {
2581
2581
  e.metaKey || e.altKey || e.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
2582
2582
  }, !0), document.addEventListener("click", (e) => {
@@ -2585,12 +2585,12 @@ typeof window < "u" && typeof document < "u" && (document.addEventListener("keyd
2585
2585
  function Ee(e) {
2586
2586
  e == null || e.focus({ preventScroll: !0 });
2587
2587
  }
2588
- let yl = ["textarea", "input"].join(",");
2589
- function bl(e) {
2588
+ let gl = ["textarea", "input"].join(",");
2589
+ function yl(e) {
2590
2590
  var t, n;
2591
- return (n = (t = e == null ? void 0 : e.matches) == null ? void 0 : t.call(e, yl)) != null ? n : !1;
2591
+ return (n = (t = e == null ? void 0 : e.matches) == null ? void 0 : t.call(e, gl)) != null ? n : !1;
2592
2592
  }
2593
- function wl(e, t = (n) => n) {
2593
+ function bl(e, t = (n) => n) {
2594
2594
  return e.slice().sort((n, r) => {
2595
2595
  let o = t(n), s = t(r);
2596
2596
  if (o === null || s === null)
@@ -2601,7 +2601,7 @@ function wl(e, t = (n) => n) {
2601
2601
  }
2602
2602
  function ne(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] } = {}) {
2603
2603
  var s;
2604
- let a = (s = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e == null ? void 0 : e.ownerDocument) != null ? s : document, i = Array.isArray(e) ? n ? wl(e) : e : $t(e);
2604
+ let a = (s = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e == null ? void 0 : e.ownerDocument) != null ? s : document, i = Array.isArray(e) ? n ? bl(e) : e : Lt(e);
2605
2605
  o.length > 0 && i.length > 1 && (i = i.filter((m) => !o.includes(m))), r = r ?? a.activeElement;
2606
2606
  let d = (() => {
2607
2607
  if (t & 5)
@@ -2634,15 +2634,15 @@ function ne(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] }
2634
2634
  }
2635
2635
  v = i[m], v == null || v.focus(c), u += d;
2636
2636
  } while (v !== a.activeElement);
2637
- return t & 6 && bl(v) && v.select(), 2;
2637
+ return t & 6 && yl(v) && v.select(), 2;
2638
2638
  }
2639
- function sr(e, t, n) {
2640
- Lt.isServer || se((r) => {
2639
+ function or(e, t, n) {
2640
+ kt.isServer || se((r) => {
2641
2641
  document.addEventListener(e, t, n), r(() => document.removeEventListener(e, t, n));
2642
2642
  });
2643
2643
  }
2644
2644
  function eo(e, t, n) {
2645
- Lt.isServer || se((r) => {
2645
+ kt.isServer || se((r) => {
2646
2646
  window.addEventListener(e, t, n), r(() => window.removeEventListener(e, t, n));
2647
2647
  });
2648
2648
  }
@@ -2663,24 +2663,24 @@ function to(e, t, n = x(() => !0)) {
2663
2663
  if (c != null && c.contains(i) || s.composed && s.composedPath().includes(c))
2664
2664
  return;
2665
2665
  }
2666
- return !Qr(i, Cn.Loose) && i.tabIndex !== -1 && s.preventDefault(), t(s, i);
2666
+ return !Qr(i, Tn.Loose) && i.tabIndex !== -1 && s.preventDefault(), t(s, i);
2667
2667
  }
2668
2668
  let o = T(null);
2669
- sr("mousedown", (s) => {
2669
+ or("mousedown", (s) => {
2670
2670
  var a, i;
2671
2671
  n.value && (o.value = ((i = (a = s.composedPath) == null ? void 0 : a.call(s)) == null ? void 0 : i[0]) || s.target);
2672
- }, !0), sr("click", (s) => {
2672
+ }, !0), or("click", (s) => {
2673
2673
  o.value && (r(s, () => o.value), o.value = null);
2674
2674
  }, !0), eo("blur", (s) => r(s, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
2675
2675
  }
2676
2676
  var Oe = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(Oe || {});
2677
- let Fe = U({ name: "Hidden", props: { as: { type: [Object, String], default: "div" }, features: { type: Number, default: 1 } }, setup(e, { slots: t, attrs: n }) {
2677
+ let $e = U({ name: "Hidden", props: { as: { type: [Object, String], default: "div" }, features: { type: Number, default: 1 } }, setup(e, { slots: t, attrs: n }) {
2678
2678
  return () => {
2679
2679
  let { features: r, ...o } = e, s = { "aria-hidden": (r & 2) === 2 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(r & 4) === 4 && (r & 2) !== 2 && { display: "none" } } };
2680
2680
  return G({ ourProps: s, theirProps: o, slot: {}, attrs: n, slots: t, name: "Hidden" });
2681
2681
  };
2682
2682
  } });
2683
- function _l() {
2683
+ function wl() {
2684
2684
  return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
2685
2685
  }
2686
2686
  function no() {
@@ -2718,14 +2718,14 @@ function no() {
2718
2718
  return t;
2719
2719
  }
2720
2720
  var Y = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(Y || {});
2721
- function Nn() {
2721
+ function Cn() {
2722
2722
  let e = T(0);
2723
2723
  return eo("keydown", (t) => {
2724
2724
  t.key === "Tab" && (e.value = t.shiftKey ? 1 : 0);
2725
2725
  }), e;
2726
2726
  }
2727
- function An(e, t, n, r) {
2728
- Lt.isServer || se((o) => {
2727
+ function Nn(e, t, n, r) {
2728
+ kt.isServer || se((o) => {
2729
2729
  e = e ?? window, e.addEventListener(t, n, r), o(() => e.removeEventListener(t, n, r));
2730
2730
  });
2731
2731
  }
@@ -2734,7 +2734,7 @@ function ro(e) {
2734
2734
  throw t;
2735
2735
  }));
2736
2736
  }
2737
- function El(e) {
2737
+ function _l(e) {
2738
2738
  function t() {
2739
2739
  document.readyState !== "loading" && (e(), document.removeEventListener("DOMContentLoaded", t));
2740
2740
  }
@@ -2753,14 +2753,14 @@ function oo(e) {
2753
2753
  return t;
2754
2754
  }
2755
2755
  var so = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus", e[e.TabLock = 4] = "TabLock", e[e.FocusLock = 8] = "FocusLock", e[e.RestoreFocus = 16] = "RestoreFocus", e[e.All = 30] = "All", e))(so || {});
2756
- let ze = Object.assign(U({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: T(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: r }) {
2756
+ let Ve = Object.assign(U({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: T(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: r }) {
2757
2757
  let o = T(null);
2758
2758
  r({ el: o, $el: o });
2759
2759
  let s = x(() => fe(o)), a = T(!1);
2760
- K(() => a.value = !0), re(() => a.value = !1), xl({ ownerDocument: s }, x(() => a.value && !!(e.features & 16)));
2761
- let i = Pl({ ownerDocument: s, container: o, initialFocus: x(() => e.initialFocus) }, x(() => a.value && !!(e.features & 2)));
2762
- Ol({ ownerDocument: s, container: o, containers: e.containers, previousActiveElement: i }, x(() => a.value && !!(e.features & 8)));
2763
- let d = Nn();
2760
+ K(() => a.value = !0), re(() => a.value = !1), Sl({ ownerDocument: s }, x(() => a.value && !!(e.features & 16)));
2761
+ let i = xl({ ownerDocument: s, container: o, initialFocus: x(() => e.initialFocus) }, x(() => a.value && !!(e.features & 2)));
2762
+ Pl({ ownerDocument: s, container: o, containers: e.containers, previousActiveElement: i }, x(() => a.value && !!(e.features & 8)));
2763
+ let d = Cn();
2764
2764
  function l(v) {
2765
2765
  let m = _(o);
2766
2766
  m && ((p) => p())(() => {
@@ -2787,18 +2787,18 @@ let ze = Object.assign(U({ name: "FocusTrap", props: { as: { type: [Object, Stri
2787
2787
  }
2788
2788
  return () => {
2789
2789
  let v = {}, m = { ref: o, onKeydown: u, onFocusout: f }, { features: p, initialFocus: y, containers: S, ...N } = e;
2790
- return j(ve, [!!(p & 4) && j(Fe, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: Oe.Focusable }), G({ ourProps: m, theirProps: { ...t, ...N }, slot: v, attrs: t, slots: n, name: "FocusTrap" }), !!(p & 4) && j(Fe, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: Oe.Focusable })]);
2790
+ return j(ve, [!!(p & 4) && j($e, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: Oe.Focusable }), G({ ourProps: m, theirProps: { ...t, ...N }, slot: v, attrs: t, slots: n, name: "FocusTrap" }), !!(p & 4) && j($e, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: Oe.Focusable })]);
2791
2791
  };
2792
2792
  } }), { features: so }), we = [];
2793
- El(() => {
2793
+ _l(() => {
2794
2794
  function e(t) {
2795
2795
  t.target instanceof HTMLElement && t.target !== document.body && we[0] !== t.target && (we.unshift(t.target), we = we.filter((n) => n != null && n.isConnected), we.splice(10));
2796
2796
  }
2797
2797
  window.addEventListener("click", e, { capture: !0 }), window.addEventListener("mousedown", e, { capture: !0 }), window.addEventListener("focus", e, { capture: !0 }), document.body.addEventListener("click", e, { capture: !0 }), document.body.addEventListener("mousedown", e, { capture: !0 }), document.body.addEventListener("focus", e, { capture: !0 });
2798
2798
  });
2799
- function Sl(e) {
2799
+ function El(e) {
2800
2800
  let t = T(we.slice());
2801
- return tt([e], ([n], [r]) => {
2801
+ return et([e], ([n], [r]) => {
2802
2802
  r === !0 && n === !1 ? ro(() => {
2803
2803
  t.value.splice(0);
2804
2804
  }) : r === !1 && n === !0 && (t.value = we.slice());
@@ -2807,8 +2807,8 @@ function Sl(e) {
2807
2807
  return (n = t.value.find((r) => r != null && r.isConnected)) != null ? n : null;
2808
2808
  };
2809
2809
  }
2810
- function xl({ ownerDocument: e }, t) {
2811
- let n = Sl(t);
2810
+ function Sl({ ownerDocument: e }, t) {
2811
+ let n = El(t);
2812
2812
  K(() => {
2813
2813
  se(() => {
2814
2814
  var r, o;
@@ -2818,10 +2818,10 @@ function xl({ ownerDocument: e }, t) {
2818
2818
  t.value && Ee(n());
2819
2819
  });
2820
2820
  }
2821
- function Pl({ ownerDocument: e, container: t, initialFocus: n }, r) {
2821
+ function xl({ ownerDocument: e, container: t, initialFocus: n }, r) {
2822
2822
  let o = T(null), s = T(!1);
2823
2823
  return K(() => s.value = !0), re(() => s.value = !1), K(() => {
2824
- tt([t, n, r], (a, i) => {
2824
+ et([t, n, r], (a, i) => {
2825
2825
  if (a.every((l, c) => (i == null ? void 0 : i[c]) === l) || !r.value)
2826
2826
  return;
2827
2827
  let d = _(t);
@@ -2839,14 +2839,14 @@ function Pl({ ownerDocument: e, container: t, initialFocus: n }, r) {
2839
2839
  o.value = f;
2840
2840
  return;
2841
2841
  }
2842
- u ? Ee(u) : ne(d, q.First | q.NoScroll) === et.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), o.value = (c = e.value) == null ? void 0 : c.activeElement;
2842
+ u ? Ee(u) : ne(d, q.First | q.NoScroll) === Qe.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), o.value = (c = e.value) == null ? void 0 : c.activeElement;
2843
2843
  });
2844
2844
  }, { immediate: !0, flush: "post" });
2845
2845
  }), o;
2846
2846
  }
2847
- function Ol({ ownerDocument: e, container: t, containers: n, previousActiveElement: r }, o) {
2847
+ function Pl({ ownerDocument: e, container: t, containers: n, previousActiveElement: r }, o) {
2848
2848
  var s;
2849
- An((s = e.value) == null ? void 0 : s.defaultView, "focus", (a) => {
2849
+ Nn((s = e.value) == null ? void 0 : s.defaultView, "focus", (a) => {
2850
2850
  if (!o.value)
2851
2851
  return;
2852
2852
  let i = oo(n);
@@ -2864,8 +2864,8 @@ function ao(e, t) {
2864
2864
  return !0;
2865
2865
  return !1;
2866
2866
  }
2867
- let Kt = /* @__PURE__ */ new Map(), qe = /* @__PURE__ */ new Map();
2868
- function ar(e, t = T(!0)) {
2867
+ let Jt = /* @__PURE__ */ new Map(), ze = /* @__PURE__ */ new Map();
2868
+ function sr(e, t = T(!0)) {
2869
2869
  se((n) => {
2870
2870
  var r;
2871
2871
  if (!t.value)
@@ -2877,27 +2877,27 @@ function ar(e, t = T(!0)) {
2877
2877
  var a;
2878
2878
  if (!o)
2879
2879
  return;
2880
- let i = (a = qe.get(o)) != null ? a : 1;
2881
- if (i === 1 ? qe.delete(o) : qe.set(o, i - 1), i !== 1)
2880
+ let i = (a = ze.get(o)) != null ? a : 1;
2881
+ if (i === 1 ? ze.delete(o) : ze.set(o, i - 1), i !== 1)
2882
2882
  return;
2883
- let d = Kt.get(o);
2884
- d && (d["aria-hidden"] === null ? o.removeAttribute("aria-hidden") : o.setAttribute("aria-hidden", d["aria-hidden"]), o.inert = d.inert, Kt.delete(o));
2883
+ let d = Jt.get(o);
2884
+ d && (d["aria-hidden"] === null ? o.removeAttribute("aria-hidden") : o.setAttribute("aria-hidden", d["aria-hidden"]), o.inert = d.inert, Jt.delete(o));
2885
2885
  });
2886
- let s = (r = qe.get(o)) != null ? r : 0;
2887
- qe.set(o, s + 1), s === 0 && (Kt.set(o, { "aria-hidden": o.getAttribute("aria-hidden"), inert: o.inert }), o.setAttribute("aria-hidden", "true"), o.inert = !0);
2886
+ let s = (r = ze.get(o)) != null ? r : 0;
2887
+ ze.set(o, s + 1), s === 0 && (Jt.set(o, { "aria-hidden": o.getAttribute("aria-hidden"), inert: o.inert }), o.setAttribute("aria-hidden", "true"), o.inert = !0);
2888
2888
  });
2889
2889
  }
2890
2890
  let io = Symbol("ForcePortalRootContext");
2891
- function Tl() {
2891
+ function Ol() {
2892
2892
  return H(io, !1);
2893
2893
  }
2894
- let an = U({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(e, { slots: t, attrs: n }) {
2894
+ let sn = U({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(e, { slots: t, attrs: n }) {
2895
2895
  return oe(io, e.force), () => {
2896
2896
  let { force: r, ...o } = e;
2897
2897
  return G({ theirProps: o, ourProps: {}, slot: {}, slots: t, attrs: n, name: "ForcePortalRoot" });
2898
2898
  };
2899
2899
  } });
2900
- function Cl(e) {
2900
+ function Tl(e) {
2901
2901
  let t = fe(e);
2902
2902
  if (!t) {
2903
2903
  if (e === null)
@@ -2911,11 +2911,11 @@ function Cl(e) {
2911
2911
  return r.setAttribute("id", "headlessui-portal-root"), t.body.appendChild(r);
2912
2912
  }
2913
2913
  let lo = U({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(e, { slots: t, attrs: n }) {
2914
- let r = T(null), o = x(() => fe(r)), s = Tl(), a = H(co, null), i = T(s === !0 || a == null ? Cl(r.value) : a.resolveTarget());
2914
+ let r = T(null), o = x(() => fe(r)), s = Ol(), a = H(co, null), i = T(s === !0 || a == null ? Tl(r.value) : a.resolveTarget());
2915
2915
  se(() => {
2916
2916
  s || a != null && (i.value = a.resolveTarget());
2917
2917
  });
2918
- let d = H(ln, null);
2918
+ let d = H(an, null);
2919
2919
  return K(() => {
2920
2920
  let l = _(r);
2921
2921
  l && d && re(d.register(l));
@@ -2929,9 +2929,9 @@ let lo = U({ name: "Portal", props: { as: { type: [Object, String], default: "di
2929
2929
  let l = { ref: r, "data-headlessui-portal": "" };
2930
2930
  return j(Oo, { to: i.value }, G({ ourProps: l, theirProps: e, slot: {}, attrs: n, slots: t, name: "Portal" }));
2931
2931
  };
2932
- } }), ln = Symbol("PortalParentContext");
2932
+ } }), an = Symbol("PortalParentContext");
2933
2933
  function uo() {
2934
- let e = H(ln, null), t = T([]);
2934
+ let e = H(an, null), t = T([]);
2935
2935
  function n(s) {
2936
2936
  return t.value.push(s), e && e.register(s), () => r(s);
2937
2937
  }
@@ -2941,14 +2941,14 @@ function uo() {
2941
2941
  }
2942
2942
  let o = { register: n, unregister: r, portals: t };
2943
2943
  return [t, U({ name: "PortalWrapper", setup(s, { slots: a }) {
2944
- return oe(ln, o), () => {
2944
+ return oe(an, o), () => {
2945
2945
  var i;
2946
2946
  return (i = a.default) == null ? void 0 : i.call(a);
2947
2947
  };
2948
2948
  } })];
2949
2949
  }
2950
- let co = Symbol("PortalGroupContext"), Nl = U({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(e, { attrs: t, slots: n }) {
2951
- let r = hn({ resolveTarget() {
2950
+ let co = Symbol("PortalGroupContext"), Cl = U({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(e, { attrs: t, slots: n }) {
2951
+ let r = pn({ resolveTarget() {
2952
2952
  return e.target;
2953
2953
  } });
2954
2954
  return oe(co, r), () => {
@@ -2956,18 +2956,18 @@ let co = Symbol("PortalGroupContext"), Nl = U({ name: "PortalGroup", props: { as
2956
2956
  return G({ theirProps: s, ourProps: {}, slot: {}, attrs: t, slots: n, name: "PortalGroup" });
2957
2957
  };
2958
2958
  } }), fo = Symbol("StackContext");
2959
- var un = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(un || {});
2960
- function Al() {
2959
+ var ln = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(ln || {});
2960
+ function Nl() {
2961
2961
  return H(fo, () => {
2962
2962
  });
2963
2963
  }
2964
- function kl({ type: e, enabled: t, element: n, onUpdate: r }) {
2965
- let o = Al();
2964
+ function Al({ type: e, enabled: t, element: n, onUpdate: r }) {
2965
+ let o = Nl();
2966
2966
  function s(...a) {
2967
2967
  r == null || r(...a), o(...a);
2968
2968
  }
2969
2969
  K(() => {
2970
- tt(t, (a, i) => {
2970
+ et(t, (a, i) => {
2971
2971
  a ? s(0, e, n) : i === !0 && s(1, e, n);
2972
2972
  }, { immediate: !0, flush: "sync" });
2973
2973
  }), re(() => {
@@ -2975,13 +2975,13 @@ function kl({ type: e, enabled: t, element: n, onUpdate: r }) {
2975
2975
  }), oe(fo, s);
2976
2976
  }
2977
2977
  let po = Symbol("DescriptionContext");
2978
- function Ll() {
2978
+ function kl() {
2979
2979
  let e = H(po, null);
2980
2980
  if (e === null)
2981
2981
  throw new Error("Missing parent");
2982
2982
  return e;
2983
2983
  }
2984
- function $l({ slot: e = T({}), name: t = "Description", props: n = {} } = {}) {
2984
+ function Ll({ slot: e = T({}), name: t = "Description", props: n = {} } = {}) {
2985
2985
  let r = T([]);
2986
2986
  function o(s) {
2987
2987
  return r.value.push(s), () => {
@@ -2992,19 +2992,19 @@ function $l({ slot: e = T({}), name: t = "Description", props: n = {} } = {}) {
2992
2992
  return oe(po, { register: o, slot: e, name: t, props: n }), x(() => r.value.length > 0 ? r.value.join(" ") : void 0);
2993
2993
  }
2994
2994
  U({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${ee()}` } }, setup(e, { attrs: t, slots: n }) {
2995
- let r = Ll();
2995
+ let r = kl();
2996
2996
  return K(() => re(r.register(e.id))), () => {
2997
2997
  let { name: o = "Description", slot: s = T({}), props: a = {} } = r, { id: i, ...d } = e, l = { ...Object.entries(a).reduce((c, [u, f]) => Object.assign(c, { [u]: z(f) }), {}), id: i };
2998
2998
  return G({ ourProps: l, theirProps: d, slot: s.value, attrs: t, slots: n, name: o });
2999
2999
  };
3000
3000
  } });
3001
- function Fl(e) {
3002
- let t = pr(e.getSnapshot());
3001
+ function $l(e) {
3002
+ let t = fr(e.getSnapshot());
3003
3003
  return re(e.subscribe(() => {
3004
3004
  t.value = e.getSnapshot();
3005
3005
  })), t;
3006
3006
  }
3007
- function Rl(e, t) {
3007
+ function Fl(e, t) {
3008
3008
  let n = e(), r = /* @__PURE__ */ new Set();
3009
3009
  return { getSnapshot() {
3010
3010
  return n;
@@ -3015,7 +3015,7 @@ function Rl(e, t) {
3015
3015
  a && (n = a, r.forEach((i) => i()));
3016
3016
  } };
3017
3017
  }
3018
- function Dl() {
3018
+ function Rl() {
3019
3019
  let e;
3020
3020
  return { before({ doc: t }) {
3021
3021
  var n;
@@ -3026,8 +3026,8 @@ function Dl() {
3026
3026
  n.style(r, "paddingRight", `${s}px`);
3027
3027
  } };
3028
3028
  }
3029
- function jl() {
3030
- if (!_l())
3029
+ function Dl() {
3030
+ if (!wl())
3031
3031
  return {};
3032
3032
  let e;
3033
3033
  return { before() {
@@ -3055,18 +3055,18 @@ function jl() {
3055
3055
  });
3056
3056
  } };
3057
3057
  }
3058
- function Il() {
3058
+ function jl() {
3059
3059
  return { before({ doc: e, d: t }) {
3060
3060
  t.style(e.documentElement, "overflow", "hidden");
3061
3061
  } };
3062
3062
  }
3063
- function Bl(e) {
3063
+ function Il(e) {
3064
3064
  let t = {};
3065
3065
  for (let n of e)
3066
3066
  Object.assign(t, n(t));
3067
3067
  return t;
3068
3068
  }
3069
- let _e = Rl(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
3069
+ let _e = Fl(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
3070
3070
  var n;
3071
3071
  let r = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: no(), meta: /* @__PURE__ */ new Set() };
3072
3072
  return r.count++, r.meta.add(t), this.set(e, r), this;
@@ -3074,7 +3074,7 @@ let _e = Rl(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
3074
3074
  let n = this.get(e);
3075
3075
  return n && (n.count--, n.meta.delete(t)), this;
3076
3076
  }, SCROLL_PREVENT({ doc: e, d: t, meta: n }) {
3077
- let r = { doc: e, d: t, meta: Bl(n) }, o = [jl(), Dl(), Il()];
3077
+ let r = { doc: e, d: t, meta: Il(n) }, o = [Dl(), Rl(), jl()];
3078
3078
  o.forEach(({ before: s }) => s == null ? void 0 : s(r)), o.forEach(({ after: s }) => s == null ? void 0 : s(r));
3079
3079
  }, SCROLL_ALLOW({ d: e }) {
3080
3080
  e.dispose();
@@ -3090,12 +3090,12 @@ _e.subscribe(() => {
3090
3090
  (o && !r || !o && r) && _e.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && _e.dispatch("TEARDOWN", n);
3091
3091
  }
3092
3092
  });
3093
- function Ml(e, t, n) {
3094
- let r = Fl(_e), o = x(() => {
3093
+ function Bl(e, t, n) {
3094
+ let r = $l(_e), o = x(() => {
3095
3095
  let s = e.value ? r.value.get(e.value) : void 0;
3096
3096
  return s ? s.count > 0 : !1;
3097
3097
  });
3098
- return tt([e, t], ([s, a], [i], d) => {
3098
+ return et([e, t], ([s, a], [i], d) => {
3099
3099
  if (!s || !a)
3100
3100
  return;
3101
3101
  _e.dispatch("PUSH", s, n);
@@ -3122,62 +3122,62 @@ function ho({ defaultContainers: e = [], portals: t } = {}) {
3122
3122
  return { resolveContainers: o, contains(s) {
3123
3123
  return o().some((a) => a.contains(s));
3124
3124
  }, mainTreeNodeRef: n, MainTreeNode() {
3125
- return j(Fe, { features: Oe.Hidden, ref: n });
3125
+ return j($e, { features: Oe.Hidden, ref: n });
3126
3126
  } };
3127
3127
  }
3128
- var Ul = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Ul || {});
3129
- let cn = Symbol("DialogContext");
3130
- function at(e) {
3131
- let t = H(cn, null);
3128
+ var Ml = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Ml || {});
3129
+ let un = Symbol("DialogContext");
3130
+ function rt(e) {
3131
+ let t = H(un, null);
3132
3132
  if (t === null) {
3133
3133
  let n = new Error(`<${e} /> is missing a parent <Dialog /> component.`);
3134
- throw Error.captureStackTrace && Error.captureStackTrace(n, at), n;
3134
+ throw Error.captureStackTrace && Error.captureStackTrace(n, rt), n;
3135
3135
  }
3136
3136
  return t;
3137
3137
  }
3138
- let ft = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Hl = U({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: ft }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${ee()}` } }, emits: { close: (e) => !0 }, setup(e, { emit: t, attrs: n, slots: r, expose: o }) {
3138
+ let ut = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Ul = U({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: ut }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${ee()}` } }, emits: { close: (e) => !0 }, setup(e, { emit: t, attrs: n, slots: r, expose: o }) {
3139
3139
  var s;
3140
3140
  let a = T(!1);
3141
3141
  K(() => {
3142
3142
  a.value = !0;
3143
3143
  });
3144
- let i = T(0), d = Tn(), l = x(() => e.open === ft && d !== null ? (d.value & te.Open) === te.Open : e.open), c = T(null), u = x(() => fe(c));
3145
- if (o({ el: c, $el: c }), !(e.open !== ft || d !== null))
3144
+ let i = T(0), d = On(), l = x(() => e.open === ut && d !== null ? (d.value & te.Open) === te.Open : e.open), c = T(null), u = x(() => fe(c));
3145
+ if (o({ el: c, $el: c }), !(e.open !== ut || d !== null))
3146
3146
  throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
3147
3147
  if (typeof l.value != "boolean")
3148
- throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l.value === ft ? void 0 : e.open}`);
3149
- let f = x(() => a.value && l.value ? 0 : 1), v = x(() => f.value === 0), m = x(() => i.value > 1), p = H(cn, null) !== null, [y, S] = uo(), { resolveContainers: N, mainTreeNodeRef: C, MainTreeNode: A } = ho({ portals: y, defaultContainers: [x(() => {
3148
+ throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l.value === ut ? void 0 : e.open}`);
3149
+ let f = x(() => a.value && l.value ? 0 : 1), v = x(() => f.value === 0), m = x(() => i.value > 1), p = H(un, null) !== null, [y, S] = uo(), { resolveContainers: N, mainTreeNodeRef: C, MainTreeNode: A } = ho({ portals: y, defaultContainers: [x(() => {
3150
3150
  var F;
3151
3151
  return (F = I.panelRef.value) != null ? F : c.value;
3152
3152
  })] }), E = x(() => m.value ? "parent" : "leaf"), O = x(() => d !== null ? (d.value & te.Closing) === te.Closing : !1), b = x(() => p || O.value ? !1 : v.value), V = x(() => {
3153
3153
  var F, R, ie;
3154
3154
  return (ie = Array.from((R = (F = u.value) == null ? void 0 : F.querySelectorAll("body > *")) != null ? R : []).find((le) => le.id === "headlessui-portal-root" ? !1 : le.contains(_(C)) && le instanceof HTMLElement)) != null ? ie : null;
3155
3155
  });
3156
- ar(V, b);
3156
+ sr(V, b);
3157
3157
  let W = x(() => m.value ? !0 : v.value), P = x(() => {
3158
3158
  var F, R, ie;
3159
3159
  return (ie = Array.from((R = (F = u.value) == null ? void 0 : F.querySelectorAll("[data-headlessui-portal]")) != null ? R : []).find((le) => le.contains(_(C)) && le instanceof HTMLElement)) != null ? ie : null;
3160
3160
  });
3161
- ar(P, W), kl({ type: "Dialog", enabled: x(() => f.value === 0), element: c, onUpdate: (F, R) => {
3161
+ sr(P, W), Al({ type: "Dialog", enabled: x(() => f.value === 0), element: c, onUpdate: (F, R) => {
3162
3162
  if (R === "Dialog")
3163
- return X(F, { [un.Add]: () => i.value += 1, [un.Remove]: () => i.value -= 1 });
3163
+ return X(F, { [ln.Add]: () => i.value += 1, [ln.Remove]: () => i.value -= 1 });
3164
3164
  } });
3165
- let w = $l({ name: "DialogDescription", slot: x(() => ({ open: l.value })) }), D = T(null), I = { titleId: D, panelRef: T(null), dialogState: f, setTitleId(F) {
3165
+ let w = Ll({ name: "DialogDescription", slot: x(() => ({ open: l.value })) }), D = T(null), I = { titleId: D, panelRef: T(null), dialogState: f, setTitleId(F) {
3166
3166
  D.value !== F && (D.value = F);
3167
3167
  }, close() {
3168
3168
  t("close", !1);
3169
3169
  } };
3170
- oe(cn, I);
3170
+ oe(un, I);
3171
3171
  let ge = x(() => !(!v.value || m.value));
3172
3172
  to(N, (F, R) => {
3173
- I.close(), Xe(() => R == null ? void 0 : R.focus());
3173
+ I.close(), Ye(() => R == null ? void 0 : R.focus());
3174
3174
  }, ge);
3175
- let Rt = x(() => !(m.value || f.value !== 0));
3176
- An((s = u.value) == null ? void 0 : s.defaultView, "keydown", (F) => {
3177
- Rt.value && (F.defaultPrevented || F.key === pe.Escape && (F.preventDefault(), F.stopPropagation(), I.close()));
3175
+ let Ft = x(() => !(m.value || f.value !== 0));
3176
+ Nn((s = u.value) == null ? void 0 : s.defaultView, "keydown", (F) => {
3177
+ Ft.value && (F.defaultPrevented || F.key === pe.Escape && (F.preventDefault(), F.stopPropagation(), I.close()));
3178
3178
  });
3179
- let Dt = x(() => !(O.value || f.value !== 0 || p));
3180
- return Ml(u, Dt, (F) => {
3179
+ let Rt = x(() => !(O.value || f.value !== 0 || p));
3180
+ return Bl(u, Rt, (F) => {
3181
3181
  var R;
3182
3182
  return { containers: [...(R = F.containers) != null ? R : [], N] };
3183
3183
  }), se((F) => {
@@ -3187,19 +3187,19 @@ let ft = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Hl = U({ name: "Dialog", inheri
3187
3187
  if (!R)
3188
3188
  return;
3189
3189
  let ie = new ResizeObserver((le) => {
3190
- for (let jt of le) {
3191
- let Ae = jt.target.getBoundingClientRect();
3192
- Ae.x === 0 && Ae.y === 0 && Ae.width === 0 && Ae.height === 0 && I.close();
3190
+ for (let Dt of le) {
3191
+ let Ne = Dt.target.getBoundingClientRect();
3192
+ Ne.x === 0 && Ne.y === 0 && Ne.width === 0 && Ne.height === 0 && I.close();
3193
3193
  }
3194
3194
  });
3195
3195
  ie.observe(R), F(() => ie.disconnect());
3196
3196
  }), () => {
3197
- let { id: F, open: R, initialFocus: ie, ...le } = e, jt = { ...n, ref: c, id: F, role: "dialog", "aria-modal": f.value === 0 ? !0 : void 0, "aria-labelledby": D.value, "aria-describedby": w.value }, Ae = { open: f.value === 0 };
3198
- return j(an, { force: !0 }, () => [j(lo, () => j(Nl, { target: c.value }, () => j(an, { force: !1 }, () => j(ze, { initialFocus: ie, containers: N, features: v.value ? X(E.value, { parent: ze.features.RestoreFocus, leaf: ze.features.All & ~ze.features.FocusLock }) : ze.features.None }, () => j(S, {}, () => G({ ourProps: jt, theirProps: { ...le, ...n }, slot: Ae, attrs: n, slots: r, visible: f.value === 0, features: Pe.RenderStrategy | Pe.Static, name: "Dialog" })))))), j(A)]);
3197
+ let { id: F, open: R, initialFocus: ie, ...le } = e, Dt = { ...n, ref: c, id: F, role: "dialog", "aria-modal": f.value === 0 ? !0 : void 0, "aria-labelledby": D.value, "aria-describedby": w.value }, Ne = { open: f.value === 0 };
3198
+ return j(sn, { force: !0 }, () => [j(lo, () => j(Cl, { target: c.value }, () => j(sn, { force: !1 }, () => j(Ve, { initialFocus: ie, containers: N, features: v.value ? X(E.value, { parent: Ve.features.RestoreFocus, leaf: Ve.features.All & ~Ve.features.FocusLock }) : Ve.features.None }, () => j(S, {}, () => G({ ourProps: Dt, theirProps: { ...le, ...n }, slot: Ne, attrs: n, slots: r, visible: f.value === 0, features: Pe.RenderStrategy | Pe.Static, name: "Dialog" })))))), j(A)]);
3199
3199
  };
3200
3200
  } });
3201
3201
  U({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-overlay-${ee()}` } }, setup(e, { attrs: t, slots: n }) {
3202
- let r = at("DialogOverlay");
3202
+ let r = rt("DialogOverlay");
3203
3203
  function o(s) {
3204
3204
  s.target === s.currentTarget && (s.preventDefault(), s.stopPropagation(), r.close());
3205
3205
  }
@@ -3209,17 +3209,17 @@ U({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div"
3209
3209
  };
3210
3210
  } });
3211
3211
  U({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-backdrop-${ee()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: r }) {
3212
- let o = at("DialogBackdrop"), s = T(null);
3212
+ let o = rt("DialogBackdrop"), s = T(null);
3213
3213
  return r({ el: s, $el: s }), K(() => {
3214
3214
  if (o.panelRef.value === null)
3215
3215
  throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
3216
3216
  }), () => {
3217
3217
  let { id: a, ...i } = e, d = { id: a, ref: s, "aria-hidden": !0 };
3218
- return j(an, { force: !0 }, () => j(lo, () => G({ ourProps: d, theirProps: { ...t, ...i }, slot: { open: o.dialogState.value === 0 }, attrs: t, slots: n, name: "DialogBackdrop" })));
3218
+ return j(sn, { force: !0 }, () => j(lo, () => G({ ourProps: d, theirProps: { ...t, ...i }, slot: { open: o.dialogState.value === 0 }, attrs: t, slots: n, name: "DialogBackdrop" })));
3219
3219
  };
3220
3220
  } });
3221
- let Vl = U({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-panel-${ee()}` } }, setup(e, { attrs: t, slots: n, expose: r }) {
3222
- let o = at("DialogPanel");
3221
+ let Hl = U({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-panel-${ee()}` } }, setup(e, { attrs: t, slots: n, expose: r }) {
3222
+ let o = rt("DialogPanel");
3223
3223
  r({ el: o.panelRef, $el: o.panelRef });
3224
3224
  function s(a) {
3225
3225
  a.stopPropagation();
@@ -3230,7 +3230,7 @@ let Vl = U({ name: "DialogPanel", props: { as: { type: [Object, String], default
3230
3230
  };
3231
3231
  } });
3232
3232
  U({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }, id: { type: String, default: () => `headlessui-dialog-title-${ee()}` } }, setup(e, { attrs: t, slots: n }) {
3233
- let r = at("DialogTitle");
3233
+ let r = rt("DialogTitle");
3234
3234
  return K(() => {
3235
3235
  r.setTitleId(e.id), re(() => r.setTitleId(null));
3236
3236
  }), () => {
@@ -3238,13 +3238,13 @@ U({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" },
3238
3238
  return G({ ourProps: { id: o }, theirProps: s, slot: { open: r.dialogState.value === 0 }, attrs: t, slots: n, name: "DialogTitle" });
3239
3239
  };
3240
3240
  } });
3241
- var zl = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(zl || {});
3241
+ var Vl = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Vl || {});
3242
3242
  let mo = Symbol("PopoverContext");
3243
- function Ft(e) {
3243
+ function $t(e) {
3244
3244
  let t = H(mo, null);
3245
3245
  if (t === null) {
3246
3246
  let n = new Error(`<${e} /> is missing a parent <${bo.name} /> component.`);
3247
- throw Error.captureStackTrace && Error.captureStackTrace(n, Ft), n;
3247
+ throw Error.captureStackTrace && Error.captureStackTrace(n, $t), n;
3248
3248
  }
3249
3249
  return t;
3250
3250
  }
@@ -3253,7 +3253,7 @@ function go() {
3253
3253
  return H(vo, null);
3254
3254
  }
3255
3255
  let yo = Symbol("PopoverPanelContext");
3256
- function ql() {
3256
+ function zl() {
3257
3257
  return H(yo, null);
3258
3258
  }
3259
3259
  let bo = U({ name: "Popover", props: { as: { type: [Object, String], default: "div" } }, setup(e, { slots: t, attrs: n, expose: r }) {
@@ -3267,7 +3267,7 @@ let bo = U({ name: "Popover", props: { as: { type: [Object, String], default: "d
3267
3267
  for (let I of document.querySelectorAll("body > *"))
3268
3268
  if (Number(I == null ? void 0 : I.contains(_(i))) ^ Number(I == null ? void 0 : I.contains(_(c))))
3269
3269
  return !0;
3270
- let b = $t(), V = b.indexOf(_(i)), W = (V + b.length - 1) % b.length, P = (V + 1) % b.length, w = b[W], D = b[P];
3270
+ let b = Lt(), V = b.indexOf(_(i)), W = (V + b.length - 1) % b.length, P = (V + 1) % b.length, w = b[W], D = b[P];
3271
3271
  return !((E = _(c)) != null && E.contains(w)) && !((O = _(c)) != null && O.contains(D));
3272
3272
  }), v = { popoverState: a, buttonId: T(null), panelId: T(null), panel: c, button: i, isPortalled: f, beforePanelSentinel: d, afterPanelSentinel: l, togglePopover() {
3273
3273
  a.value = X(a.value, { [0]: 1, [1]: 0 });
@@ -3278,7 +3278,7 @@ let bo = U({ name: "Popover", props: { as: { type: [Object, String], default: "d
3278
3278
  let O = (() => E ? E instanceof HTMLElement ? E : E.value instanceof HTMLElement ? _(E) : _(v.button) : _(v.button))();
3279
3279
  O == null || O.focus();
3280
3280
  } };
3281
- oe(mo, v), dl(x(() => X(a.value, { [0]: te.Open, [1]: te.Closed })));
3281
+ oe(mo, v), cl(x(() => X(a.value, { [0]: te.Open, [1]: te.Closed })));
3282
3282
  let m = { buttonId: v.buttonId, panelId: v.panelId, close() {
3283
3283
  v.closePopover();
3284
3284
  } }, p = go(), y = p == null ? void 0 : p.registerPopover, [S, N] = uo(), C = ho({ portals: S, defaultContainers: [i, c] });
@@ -3286,28 +3286,28 @@ let bo = U({ name: "Popover", props: { as: { type: [Object, String], default: "d
3286
3286
  var E, O, b, V;
3287
3287
  return (V = p == null ? void 0 : p.isFocusWithinPopoverGroup()) != null ? V : ((E = u.value) == null ? void 0 : E.activeElement) && (((O = _(i)) == null ? void 0 : O.contains(u.value.activeElement)) || ((b = _(c)) == null ? void 0 : b.contains(u.value.activeElement)));
3288
3288
  }
3289
- return se(() => y == null ? void 0 : y(m)), An((o = u.value) == null ? void 0 : o.defaultView, "focus", (E) => {
3289
+ return se(() => y == null ? void 0 : y(m)), Nn((o = u.value) == null ? void 0 : o.defaultView, "focus", (E) => {
3290
3290
  var O, b;
3291
3291
  E.target !== window && E.target instanceof HTMLElement && a.value === 0 && (A() || i && c && (C.contains(E.target) || (O = _(v.beforePanelSentinel)) != null && O.contains(E.target) || (b = _(v.afterPanelSentinel)) != null && b.contains(E.target) || v.closePopover()));
3292
3292
  }, !0), to(C.resolveContainers, (E, O) => {
3293
3293
  var b;
3294
- v.closePopover(), Qr(O, Cn.Loose) || (E.preventDefault(), (b = _(i)) == null || b.focus());
3294
+ v.closePopover(), Qr(O, Tn.Loose) || (E.preventDefault(), (b = _(i)) == null || b.focus());
3295
3295
  }, x(() => a.value === 0)), () => {
3296
3296
  let E = { open: a.value === 0, close: v.close };
3297
3297
  return j(N, {}, () => G({ theirProps: { ...e, ...n }, ourProps: { ref: s }, slot: E, slots: t, attrs: n, name: "Popover" }));
3298
3298
  };
3299
- } }), Gl = U({ name: "PopoverButton", props: { as: { type: [Object, String], default: "button" }, disabled: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-popover-button-${ee()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: r }) {
3300
- let o = Ft("PopoverButton"), s = x(() => fe(o.button));
3299
+ } }), ql = U({ name: "PopoverButton", props: { as: { type: [Object, String], default: "button" }, disabled: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-popover-button-${ee()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: r }) {
3300
+ let o = $t("PopoverButton"), s = x(() => fe(o.button));
3301
3301
  r({ el: o.button, $el: o.button }), K(() => {
3302
3302
  o.buttonId.value = e.id;
3303
3303
  }), re(() => {
3304
3304
  o.buttonId.value = null;
3305
3305
  });
3306
- let a = go(), i = a == null ? void 0 : a.closeOthers, d = ql(), l = x(() => d === null ? !1 : d.value === o.panelId.value), c = T(null), u = `headlessui-focus-sentinel-${ee()}`;
3306
+ let a = go(), i = a == null ? void 0 : a.closeOthers, d = zl(), l = x(() => d === null ? !1 : d.value === o.panelId.value), c = T(null), u = `headlessui-focus-sentinel-${ee()}`;
3307
3307
  l.value || se(() => {
3308
3308
  o.button.value = c.value;
3309
3309
  });
3310
- let f = fl(x(() => ({ as: e.as, type: t.type })), c);
3310
+ let f = dl(x(() => ({ as: e.as, type: t.type })), c);
3311
3311
  function v(C) {
3312
3312
  var A, E, O, b, V;
3313
3313
  if (l.value) {
@@ -3344,23 +3344,23 @@ let bo = U({ name: "Popover", props: { as: { type: [Object, String], default: "d
3344
3344
  function y(C) {
3345
3345
  C.preventDefault(), C.stopPropagation();
3346
3346
  }
3347
- let S = Nn();
3347
+ let S = Cn();
3348
3348
  function N() {
3349
3349
  let C = _(o.panel);
3350
3350
  if (!C)
3351
3351
  return;
3352
3352
  function A() {
3353
- X(S.value, { [Y.Forwards]: () => ne(C, q.First), [Y.Backwards]: () => ne(C, q.Last) }) === et.Error && ne($t().filter((E) => E.dataset.headlessuiFocusGuard !== "true"), X(S.value, { [Y.Forwards]: q.Next, [Y.Backwards]: q.Previous }), { relativeTo: _(o.button) });
3353
+ X(S.value, { [Y.Forwards]: () => ne(C, q.First), [Y.Backwards]: () => ne(C, q.Last) }) === Qe.Error && ne(Lt().filter((E) => E.dataset.headlessuiFocusGuard !== "true"), X(S.value, { [Y.Forwards]: q.Next, [Y.Backwards]: q.Previous }), { relativeTo: _(o.button) });
3354
3354
  }
3355
3355
  A();
3356
3356
  }
3357
3357
  return () => {
3358
3358
  let C = o.popoverState.value === 0, A = { open: C }, { id: E, ...O } = e, b = l.value ? { ref: c, type: f.value, onKeydown: v, onClick: p } : { ref: c, id: E, type: f.value, "aria-expanded": e.disabled ? void 0 : o.popoverState.value === 0, "aria-controls": _(o.panel) ? o.panelId.value : void 0, disabled: e.disabled ? !0 : void 0, onKeydown: v, onKeyup: m, onClick: p, onMousedown: y };
3359
- return j(ve, [G({ ourProps: b, theirProps: { ...t, ...O }, slot: A, attrs: t, slots: n, name: "PopoverButton" }), C && !l.value && o.isPortalled.value && j(Fe, { id: u, features: Oe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: N })]);
3359
+ return j(ve, [G({ ourProps: b, theirProps: { ...t, ...O }, slot: A, attrs: t, slots: n, name: "PopoverButton" }), C && !l.value && o.isPortalled.value && j($e, { id: u, features: Oe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: N })]);
3360
3360
  };
3361
3361
  } });
3362
3362
  U({ name: "PopoverOverlay", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 } }, setup(e, { attrs: t, slots: n }) {
3363
- let r = Ft("PopoverOverlay"), o = `headlessui-popover-overlay-${ee()}`, s = Tn(), a = x(() => s !== null ? (s.value & te.Open) === te.Open : r.popoverState.value === 0);
3363
+ let r = $t("PopoverOverlay"), o = `headlessui-popover-overlay-${ee()}`, s = On(), a = x(() => s !== null ? (s.value & te.Open) === te.Open : r.popoverState.value === 0);
3364
3364
  function i() {
3365
3365
  r.closePopover();
3366
3366
  }
@@ -3369,8 +3369,8 @@ U({ name: "PopoverOverlay", props: { as: { type: [Object, String], default: "div
3369
3369
  return G({ ourProps: { id: o, "aria-hidden": !0, onClick: i }, theirProps: e, slot: d, attrs: t, slots: n, features: Pe.RenderStrategy | Pe.Static, visible: a.value, name: "PopoverOverlay" });
3370
3370
  };
3371
3371
  } });
3372
- let Wl = U({ name: "PopoverPanel", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, focus: { type: Boolean, default: !1 }, id: { type: String, default: () => `headlessui-popover-panel-${ee()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: r }) {
3373
- let { focus: o } = e, s = Ft("PopoverPanel"), a = x(() => fe(s.panel)), i = `headlessui-focus-sentinel-before-${ee()}`, d = `headlessui-focus-sentinel-after-${ee()}`;
3372
+ let Gl = U({ name: "PopoverPanel", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, focus: { type: Boolean, default: !1 }, id: { type: String, default: () => `headlessui-popover-panel-${ee()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: r }) {
3373
+ let { focus: o } = e, s = $t("PopoverPanel"), a = x(() => fe(s.panel)), i = `headlessui-focus-sentinel-before-${ee()}`, d = `headlessui-focus-sentinel-after-${ee()}`;
3374
3374
  r({ el: s.panel, $el: s.panel }), K(() => {
3375
3375
  s.panelId.value = e.id;
3376
3376
  }), re(() => {
@@ -3382,7 +3382,7 @@ let Wl = U({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
3382
3382
  let N = (y = a.value) == null ? void 0 : y.activeElement;
3383
3383
  (S = _(s.panel)) != null && S.contains(N) || ne(_(s.panel), q.First);
3384
3384
  });
3385
- let l = Tn(), c = x(() => l !== null ? (l.value & te.Open) === te.Open : s.popoverState.value === 0);
3385
+ let l = On(), c = x(() => l !== null ? (l.value & te.Open) === te.Open : s.popoverState.value === 0);
3386
3386
  function u(y) {
3387
3387
  var S, N;
3388
3388
  switch (y.key) {
@@ -3398,7 +3398,7 @@ let Wl = U({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
3398
3398
  let O = y.relatedTarget;
3399
3399
  O && _(s.panel) && ((S = _(s.panel)) != null && S.contains(O) || (s.closePopover(), ((C = (N = _(s.beforePanelSentinel)) == null ? void 0 : N.contains) != null && C.call(N, O) || (E = (A = _(s.afterPanelSentinel)) == null ? void 0 : A.contains) != null && E.call(A, O)) && O.focus({ preventScroll: !0 })));
3400
3400
  }
3401
- let v = Nn();
3401
+ let v = Cn();
3402
3402
  function m() {
3403
3403
  let y = _(s.panel);
3404
3404
  if (!y)
@@ -3406,7 +3406,7 @@ let Wl = U({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
3406
3406
  function S() {
3407
3407
  X(v.value, { [Y.Forwards]: () => {
3408
3408
  var N;
3409
- ne(y, q.First) === et.Error && ((N = _(s.afterPanelSentinel)) == null || N.focus());
3409
+ ne(y, q.First) === Qe.Error && ((N = _(s.afterPanelSentinel)) == null || N.focus());
3410
3410
  }, [Y.Backwards]: () => {
3411
3411
  var N;
3412
3412
  (N = _(s.button)) == null || N.focus({ preventScroll: !0 });
@@ -3423,7 +3423,7 @@ let Wl = U({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
3423
3423
  let N = _(s.button), C = _(s.panel);
3424
3424
  if (!N)
3425
3425
  return;
3426
- let A = $t(), E = A.indexOf(N), O = A.slice(0, E + 1), b = [...A.slice(E + 1), ...O];
3426
+ let A = Lt(), E = A.indexOf(N), O = A.slice(0, E + 1), b = [...A.slice(E + 1), ...O];
3427
3427
  for (let V of b.slice())
3428
3428
  if (V.dataset.headlessuiFocusGuard === "true" || C != null && C.contains(V)) {
3429
3429
  let W = b.indexOf(V);
@@ -3432,7 +3432,7 @@ let Wl = U({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
3432
3432
  ne(b, q.First, { sorted: !1 });
3433
3433
  }, [Y.Backwards]: () => {
3434
3434
  var N;
3435
- ne(y, q.Previous) === et.Error && ((N = _(s.button)) == null || N.focus());
3435
+ ne(y, q.Previous) === Qe.Error && ((N = _(s.button)) == null || N.focus());
3436
3436
  } });
3437
3437
  }
3438
3438
  S();
@@ -3441,12 +3441,12 @@ let Wl = U({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
3441
3441
  let y = { open: s.popoverState.value === 0, close: s.close }, { id: S, focus: N, ...C } = e, A = { ref: s.panel, id: S, onKeydown: u, onFocusout: o && s.popoverState.value === 0 ? f : void 0, tabIndex: -1 };
3442
3442
  return G({ ourProps: A, theirProps: { ...t, ...C }, attrs: t, slot: y, slots: { ...n, default: (...E) => {
3443
3443
  var O;
3444
- return [j(ve, [c.value && s.isPortalled.value && j(Fe, { id: i, ref: s.beforePanelSentinel, features: Oe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: m }), (O = n.default) == null ? void 0 : O.call(n, ...E), c.value && s.isPortalled.value && j(Fe, { id: d, ref: s.afterPanelSentinel, features: Oe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: p })])];
3444
+ return [j(ve, [c.value && s.isPortalled.value && j($e, { id: i, ref: s.beforePanelSentinel, features: Oe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: m }), (O = n.default) == null ? void 0 : O.call(n, ...E), c.value && s.isPortalled.value && j($e, { id: d, ref: s.afterPanelSentinel, features: Oe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: p })])];
3445
3445
  } }, features: Pe.RenderStrategy | Pe.Static, visible: c.value, name: "PopoverPanel" });
3446
3446
  };
3447
3447
  } });
3448
3448
  U({ name: "PopoverGroup", props: { as: { type: [Object, String], default: "div" } }, setup(e, { attrs: t, slots: n, expose: r }) {
3449
- let o = T(null), s = pr([]), a = x(() => fe(o));
3449
+ let o = T(null), s = fr([]), a = x(() => fe(o));
3450
3450
  r({ el: o, $el: o });
3451
3451
  function i(u) {
3452
3452
  let f = s.value.indexOf(u);
@@ -3474,7 +3474,7 @@ U({ name: "PopoverGroup", props: { as: { type: [Object, String], default: "div"
3474
3474
  }
3475
3475
  return oe(vo, { registerPopover: d, unregisterPopover: i, isFocusWithinPopoverGroup: l, closeOthers: c }), () => G({ ourProps: { ref: o }, theirProps: e, slot: {}, attrs: t, slots: n, name: "PopoverGroup" });
3476
3476
  } });
3477
- function Jl(e, t) {
3477
+ function Wl(e, t) {
3478
3478
  return k(), $("svg", {
3479
3479
  xmlns: "http://www.w3.org/2000/svg",
3480
3480
  fill: "none",
@@ -3490,7 +3490,7 @@ function Jl(e, t) {
3490
3490
  })
3491
3491
  ]);
3492
3492
  }
3493
- function Kl(e, t) {
3493
+ function Jl(e, t) {
3494
3494
  return k(), $("svg", {
3495
3495
  xmlns: "http://www.w3.org/2000/svg",
3496
3496
  fill: "none",
@@ -3506,12 +3506,12 @@ function Kl(e, t) {
3506
3506
  })
3507
3507
  ]);
3508
3508
  }
3509
- const it = (e, t) => {
3509
+ const ot = (e, t) => {
3510
3510
  const n = e.__vccOpts || e;
3511
3511
  for (const [r, o] of t)
3512
3512
  n[r] = o;
3513
3513
  return n;
3514
- }, Yl = {
3514
+ }, Kl = {
3515
3515
  data() {
3516
3516
  return {
3517
3517
  isSignup: !1,
@@ -3545,13 +3545,13 @@ const it = (e, t) => {
3545
3545
  methods: {
3546
3546
  handleFbLogin() {
3547
3547
  if (typeof FB < "u") {
3548
- const e = We.service({
3548
+ const e = Ge.service({
3549
3549
  text: "logining...",
3550
3550
  background: "rgba(0, 0, 0, 0.7)"
3551
3551
  });
3552
3552
  FB.login((t) => {
3553
3553
  if (console.log(t), t.status === "connected")
3554
- rl(t.authResponse.accessToken).then((n) => {
3554
+ nl(t.authResponse.accessToken).then((n) => {
3555
3555
  e.close(), this.$emit("success");
3556
3556
  try {
3557
3557
  document.body.classList.remove("el-loading-parent--relative");
@@ -3573,7 +3573,7 @@ const it = (e, t) => {
3573
3573
  handleCredentialResponse(e) {
3574
3574
  if (console.log(e, "response"), !e || !e.credential)
3575
3575
  return;
3576
- const t = We.service({
3576
+ const t = Ge.service({
3577
3577
  text: "logining...",
3578
3578
  background: "rgba(0, 0, 0, 0.7)"
3579
3579
  });
@@ -3628,11 +3628,11 @@ const it = (e, t) => {
3628
3628
  this.showToast("Password must no be empty");
3629
3629
  return;
3630
3630
  }
3631
- const e = We.service({
3631
+ const e = Ge.service({
3632
3632
  text: "logining...",
3633
3633
  background: "rgba(0, 0, 0, 0.7)"
3634
3634
  });
3635
- ol(this.email, this.password).then((t) => {
3635
+ rl(this.email, this.password).then((t) => {
3636
3636
  e.close(), this.$emit("success");
3637
3637
  try {
3638
3638
  document.body.classList.remove("el-loading-parent--relative");
@@ -3663,11 +3663,11 @@ const it = (e, t) => {
3663
3663
  this.showToast("Password must no be empty");
3664
3664
  return;
3665
3665
  }
3666
- const e = We.service({
3666
+ const e = Ge.service({
3667
3667
  text: "registering...",
3668
3668
  background: "rgba(0, 0, 0, 0.7)"
3669
3669
  });
3670
- sl(this.email, this.name, this.password).then((t) => {
3670
+ ol(this.email, this.name, this.password).then((t) => {
3671
3671
  e.close(), location.href = t.url;
3672
3672
  try {
3673
3673
  document.body.classList.remove("el-loading-parent--relative");
@@ -3685,19 +3685,19 @@ const it = (e, t) => {
3685
3685
  console.log(e, 4);
3686
3686
  }
3687
3687
  }
3688
- }, ae = (e) => (nt("data-v-4682235c"), e = e(), rt(), e), Xl = { class: "login-wapper" }, Zl = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3688
+ }, ae = (e) => (bt("data-v-4682235c"), e = e(), wt(), e), Yl = { class: "login-wapper" }, Xl = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3689
3689
  "span",
3690
3690
  null,
3691
3691
  "Login here",
3692
3692
  -1
3693
3693
  /* HOISTED */
3694
- )), Ql = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3694
+ )), Zl = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3695
3695
  "span",
3696
3696
  null,
3697
3697
  "Sign up here",
3698
3698
  -1
3699
3699
  /* HOISTED */
3700
- )), eu = { class: "accounts" }, tu = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3700
+ )), Ql = { class: "accounts" }, eu = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3701
3701
  "div",
3702
3702
  { class: "account" },
3703
3703
  [
@@ -3705,7 +3705,7 @@ const it = (e, t) => {
3705
3705
  ],
3706
3706
  -1
3707
3707
  /* HOISTED */
3708
- )), nu = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3708
+ )), tu = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3709
3709
  "svg",
3710
3710
  {
3711
3711
  t: "1661493482810",
@@ -3731,13 +3731,13 @@ const it = (e, t) => {
3731
3731
  ],
3732
3732
  -1
3733
3733
  /* HOISTED */
3734
- )), ru = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3734
+ )), nu = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3735
3735
  "div",
3736
3736
  { style: { flex: "1", "margin-left": "5px", "font-size": "14px", "font-weight": "500" } },
3737
3737
  "Login With Facebook",
3738
3738
  -1
3739
3739
  /* HOISTED */
3740
- )), ou = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3740
+ )), ru = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3741
3741
  "div",
3742
3742
  { class: "divider" },
3743
3743
  [
@@ -3745,34 +3745,34 @@ const it = (e, t) => {
3745
3745
  ],
3746
3746
  -1
3747
3747
  /* HOISTED */
3748
- )), su = { class: "form-group" }, au = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3748
+ )), ou = { class: "form-group" }, su = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3749
3749
  "label",
3750
3750
  { for: "user_email" },
3751
3751
  "Email",
3752
3752
  -1
3753
3753
  /* HOISTED */
3754
- )), iu = {
3754
+ )), au = {
3755
3755
  key: 0,
3756
3756
  class: "help-block-error"
3757
- }, lu = {
3757
+ }, iu = {
3758
3758
  key: 0,
3759
3759
  class: "form-group"
3760
- }, uu = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3760
+ }, lu = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3761
3761
  "label",
3762
3762
  { for: "user_name" },
3763
3763
  "Username",
3764
3764
  -1
3765
3765
  /* HOISTED */
3766
- )), cu = { class: "form-group" }, du = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3766
+ )), uu = { class: "form-group" }, cu = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3767
3767
  "label",
3768
3768
  { for: "user_password" },
3769
3769
  "Password",
3770
3770
  -1
3771
3771
  /* HOISTED */
3772
- )), fu = {
3772
+ )), du = {
3773
3773
  key: 0,
3774
3774
  class: "help-block-error"
3775
- }, pu = { key: 0 }, hu = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3775
+ }, fu = { key: 0 }, pu = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3776
3776
  "a",
3777
3777
  {
3778
3778
  href: "/user/resend-verify",
@@ -3781,12 +3781,12 @@ const it = (e, t) => {
3781
3781
  "Resend email",
3782
3782
  -1
3783
3783
  /* HOISTED */
3784
- )), mu = [
3785
- hu
3786
- ], vu = ["disabled"], gu = ["disabled"], yu = {
3784
+ )), hu = [
3785
+ pu
3786
+ ], mu = ["disabled"], vu = ["disabled"], gu = {
3787
3787
  key: 2,
3788
3788
  class: "link"
3789
- }, bu = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3789
+ }, yu = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
3790
3790
  "a",
3791
3791
  {
3792
3792
  href: "/user/password-reset",
@@ -3796,8 +3796,8 @@ const it = (e, t) => {
3796
3796
  -1
3797
3797
  /* HOISTED */
3798
3798
  ));
3799
- function wu(e, t, n, r, o, s) {
3800
- return k(), $("div", Xl, [
3799
+ function bu(e, t, n, r, o, s) {
3800
+ return k(), $("div", Yl, [
3801
3801
  g(
3802
3802
  "h1",
3803
3803
  null,
@@ -3810,25 +3810,25 @@ function wu(e, t, n, r, o, s) {
3810
3810
  class: "link",
3811
3811
  onClick: t[0] || (t[0] = (...a) => s.handleToLogin && s.handleToLogin(...a))
3812
3812
  }, [
3813
- pt("Already registered? "),
3814
- Zl
3813
+ ct("Already registered? "),
3814
+ Xl
3815
3815
  ])) : (k(), $("div", {
3816
3816
  key: 1,
3817
3817
  class: "link",
3818
3818
  onClick: t[1] || (t[1] = (...a) => s.handleToSignup && s.handleToSignup(...a))
3819
3819
  }, [
3820
- pt(
3820
+ ct(
3821
3821
  "New to " + J(o.appName) + "? ",
3822
3822
  1
3823
3823
  /* TEXT */
3824
3824
  ),
3825
- Ql
3825
+ Zl
3826
3826
  ])),
3827
- g("div", eu, [
3827
+ g("div", Ql, [
3828
3828
  B(` <div class="account">
3829
3829
  <div class="fb-login-button" scope="public_profile,email" data-width="255px" data-size="large" data-button-type="login_with" data-layout="default" data-auto-logout-link="false" data-use-continue-as="false" data-onlogin="checkLoginState"></div>
3830
3830
  </div> `),
3831
- tu,
3831
+ eu,
3832
3832
  g("div", {
3833
3833
  class: "account flew-row-v-center",
3834
3834
  style: { padding: "0 12px", "border-radius": "4px" },
@@ -3836,15 +3836,15 @@ function wu(e, t, n, r, o, s) {
3836
3836
  }, [
3837
3837
  B(` <img class="img" src="https://statics.imgkits.com/images/facebook_logo.png" alt="facebook logo" width="24" height="24" style="width: 24pxheight: 24px;margin: 8px 8px 8px 12px;">
3838
3838
  <div style="flex: 1;margin-right: 12px;color: #fff;font-size: 16px;text-align: center;font-weight: bold;">Log in With Facebook</div> `),
3839
- nu,
3840
- ru
3839
+ tu,
3840
+ nu
3841
3841
  ])
3842
3842
  ]),
3843
- ou,
3843
+ ru,
3844
3844
  g("div", null, [
3845
- g("div", su, [
3846
- au,
3847
- Ke(g(
3845
+ g("div", ou, [
3846
+ su,
3847
+ Je(g(
3848
3848
  "input",
3849
3849
  {
3850
3850
  id: "user_email",
@@ -3857,19 +3857,19 @@ function wu(e, t, n, r, o, s) {
3857
3857
  544
3858
3858
  /* HYDRATE_EVENTS, NEED_PATCH */
3859
3859
  ), [
3860
- [It, o.email]
3860
+ [jt, o.email]
3861
3861
  ]),
3862
3862
  o.emailErrorHelp ? (k(), $(
3863
3863
  "p",
3864
- iu,
3864
+ au,
3865
3865
  J(o.emailErrorHelp),
3866
3866
  1
3867
3867
  /* TEXT */
3868
3868
  )) : B("v-if", !0)
3869
3869
  ]),
3870
- o.isSignup ? (k(), $("div", lu, [
3871
- uu,
3872
- Ke(g(
3870
+ o.isSignup ? (k(), $("div", iu, [
3871
+ lu,
3872
+ Je(g(
3873
3873
  "input",
3874
3874
  {
3875
3875
  id: "user_name",
@@ -3880,12 +3880,12 @@ function wu(e, t, n, r, o, s) {
3880
3880
  512
3881
3881
  /* NEED_PATCH */
3882
3882
  ), [
3883
- [It, o.name]
3883
+ [jt, o.name]
3884
3884
  ])
3885
3885
  ])) : B("v-if", !0),
3886
- g("div", cu, [
3887
- du,
3888
- Ke(g(
3886
+ g("div", uu, [
3887
+ cu,
3888
+ Je(g(
3889
3889
  "input",
3890
3890
  {
3891
3891
  id: "user_password",
@@ -3897,15 +3897,15 @@ function wu(e, t, n, r, o, s) {
3897
3897
  544
3898
3898
  /* HYDRATE_EVENTS, NEED_PATCH */
3899
3899
  ), [
3900
- [It, o.password]
3900
+ [jt, o.password]
3901
3901
  ]),
3902
- o.passwordErrorHelp ? (k(), $("p", fu, [
3903
- pt(
3902
+ o.passwordErrorHelp ? (k(), $("p", du, [
3903
+ ct(
3904
3904
  J(o.passwordErrorHelp) + " ",
3905
3905
  1
3906
3906
  /* TEXT */
3907
3907
  ),
3908
- o.errCode == 2 ? (k(), $("span", pu, mu)) : B("v-if", !0)
3908
+ o.errCode == 2 ? (k(), $("span", fu, hu)) : B("v-if", !0)
3909
3909
  ])) : B("v-if", !0)
3910
3910
  ]),
3911
3911
  o.isSignup ? (k(), $("button", {
@@ -3913,15 +3913,15 @@ function wu(e, t, n, r, o, s) {
3913
3913
  class: "form-button",
3914
3914
  disabled: o.disabled,
3915
3915
  onClick: t[9] || (t[9] = (...a) => s.handleSignup && s.handleSignup(...a))
3916
- }, "Create Your Account", 8, vu)) : (k(), $("button", {
3916
+ }, "Create Your Account", 8, mu)) : (k(), $("button", {
3917
3917
  key: 2,
3918
3918
  class: "form-button",
3919
3919
  disabled: o.disabled,
3920
3920
  onClick: t[10] || (t[10] = (...a) => s.handleLogin && s.handleLogin(...a))
3921
- }, "Login", 8, gu))
3921
+ }, "Login", 8, vu))
3922
3922
  ]),
3923
- o.isSignup ? B("v-if", !0) : (k(), $("div", yu, [
3924
- bu,
3923
+ o.isSignup ? B("v-if", !0) : (k(), $("div", gu, [
3924
+ yu,
3925
3925
  B(' <a href="/user/resend-verification-email"> Need new verification email?</a> ')
3926
3926
  ])),
3927
3927
  B(` <div class="link">
@@ -3929,13 +3929,13 @@ function wu(e, t, n, r, o, s) {
3929
3929
  </div> `)
3930
3930
  ]);
3931
3931
  }
3932
- const _u = /* @__PURE__ */ it(Yl, [["render", wu], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
3933
- const Eu = {
3932
+ const wu = /* @__PURE__ */ ot(Kl, [["render", bu], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
3933
+ const _u = {
3934
3934
  data() {
3935
3935
  return {};
3936
3936
  },
3937
3937
  components: {
3938
- Login1: _u
3938
+ Login1: wu
3939
3939
  },
3940
3940
  mounted() {
3941
3941
  },
@@ -3943,13 +3943,13 @@ const Eu = {
3943
3943
  handleLoginSuccess() {
3944
3944
  this.$emit("success");
3945
3945
  const e = localStorage.getItem("cache_passport");
3946
- e && (nl(e), localStorage.removeItem("cache_passport"), Jr({ passport: e }, "active_passport_success"));
3946
+ e && (tl(e), localStorage.removeItem("cache_passport"), Wr({ passport: e }, "active_passport_success"));
3947
3947
  },
3948
3948
  handleClose() {
3949
3949
  this.$emit("close");
3950
3950
  }
3951
3951
  }
3952
- }, Su = (e) => (nt("data-v-47199182"), e = e(), rt(), e), xu = { class: "background-cover" }, Pu = { class: "login-content" }, Ou = /* @__PURE__ */ Su(() => /* @__PURE__ */ g(
3952
+ }, Eu = (e) => (bt("data-v-47199182"), e = e(), wt(), e), Su = { class: "background-cover" }, xu = { class: "login-content" }, Pu = /* @__PURE__ */ Eu(() => /* @__PURE__ */ g(
3953
3953
  "svg",
3954
3954
  {
3955
3955
  t: "1641536858080",
@@ -3970,53 +3970,53 @@ const Eu = {
3970
3970
  ],
3971
3971
  -1
3972
3972
  /* HOISTED */
3973
- )), Tu = [
3974
- Ou
3973
+ )), Ou = [
3974
+ Pu
3975
3975
  ];
3976
- function Cu(e, t, n, r, o, s) {
3976
+ function Tu(e, t, n, r, o, s) {
3977
3977
  const a = To("Login1");
3978
- return k(), $("div", xu, [
3979
- g("div", Pu, [
3978
+ return k(), $("div", Su, [
3979
+ g("div", xu, [
3980
3980
  ue(a, { onSuccess: s.handleLoginSuccess }, null, 8, ["onSuccess"]),
3981
3981
  g("div", {
3982
3982
  class: "cancel",
3983
3983
  onClick: t[0] || (t[0] = (...i) => s.handleClose && s.handleClose(...i))
3984
- }, Tu)
3984
+ }, Ou)
3985
3985
  ])
3986
3986
  ]);
3987
3987
  }
3988
- const Nu = /* @__PURE__ */ it(Eu, [["render", Cu], ["__scopeId", "data-v-47199182"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login.vue"]]);
3988
+ const Cu = /* @__PURE__ */ ot(_u, [["render", Tu], ["__scopeId", "data-v-47199182"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login.vue"]]);
3989
3989
  /*!
3990
3990
  * pinia v2.1.4
3991
3991
  * (c) 2023 Eduardo San Martin Morote
3992
3992
  * @license MIT
3993
3993
  */
3994
- let Je;
3995
- const _t = (e) => Je = e, Au = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
3994
+ let We;
3995
+ const yt = (e) => We = e, Nu = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
3996
3996
  /* istanbul ignore next */
3997
3997
  Symbol()
3998
3998
  );
3999
3999
  function Te(e) {
4000
4000
  return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
4001
4001
  }
4002
- var Ye;
4002
+ var Ke;
4003
4003
  (function(e) {
4004
4004
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
4005
- })(Ye || (Ye = {}));
4006
- const kn = typeof window < "u", Yt = (process.env.NODE_ENV !== "production" || !1) && process.env.NODE_ENV !== "test" && kn;
4005
+ })(Ke || (Ke = {}));
4006
+ const An = typeof window < "u", Kt = (process.env.NODE_ENV !== "production" || !1) && process.env.NODE_ENV !== "test" && An;
4007
4007
  function wo(e, t) {
4008
4008
  for (const n in t) {
4009
4009
  const r = t[n];
4010
4010
  if (!(n in e))
4011
4011
  continue;
4012
4012
  const o = e[n];
4013
- Te(o) && Te(r) && !Se(r) && !mn(r) ? e[n] = wo(o, r) : e[n] = r;
4013
+ Te(o) && Te(r) && !Se(r) && !hn(r) ? e[n] = wo(o, r) : e[n] = r;
4014
4014
  }
4015
4015
  return e;
4016
4016
  }
4017
4017
  const _o = () => {
4018
4018
  };
4019
- function ir(e, t, n, r = _o) {
4019
+ function ar(e, t, n, r = _o) {
4020
4020
  e.push(t);
4021
4021
  const o = () => {
4022
4022
  const s = e.indexOf(t);
@@ -4024,51 +4024,51 @@ function ir(e, t, n, r = _o) {
4024
4024
  };
4025
4025
  return !n && ko() && Lo(o), o;
4026
4026
  }
4027
- function ke(e, ...t) {
4027
+ function Ae(e, ...t) {
4028
4028
  e.slice().forEach((n) => {
4029
4029
  n(...t);
4030
4030
  });
4031
4031
  }
4032
- const ku = (e) => e();
4033
- function dn(e, t) {
4032
+ const Au = (e) => e();
4033
+ function cn(e, t) {
4034
4034
  e instanceof Map && t instanceof Map && t.forEach((n, r) => e.set(r, n)), e instanceof Set && t instanceof Set && t.forEach(e.add, e);
4035
4035
  for (const n in t) {
4036
4036
  if (!t.hasOwnProperty(n))
4037
4037
  continue;
4038
4038
  const r = t[n], o = e[n];
4039
- Te(o) && Te(r) && e.hasOwnProperty(n) && !Se(r) && !mn(r) ? e[n] = dn(o, r) : e[n] = r;
4039
+ Te(o) && Te(r) && e.hasOwnProperty(n) && !Se(r) && !hn(r) ? e[n] = cn(o, r) : e[n] = r;
4040
4040
  }
4041
4041
  return e;
4042
4042
  }
4043
- const Lu = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
4043
+ const ku = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
4044
4044
  /* istanbul ignore next */
4045
4045
  Symbol()
4046
4046
  );
4047
- function $u(e) {
4048
- return !Te(e) || !e.hasOwnProperty(Lu);
4047
+ function Lu(e) {
4048
+ return !Te(e) || !e.hasOwnProperty(ku);
4049
4049
  }
4050
4050
  const { assign: Z } = Object;
4051
- function lr(e) {
4051
+ function ir(e) {
4052
4052
  return !!(Se(e) && e.effect);
4053
4053
  }
4054
- function ur(e, t, n, r) {
4054
+ function lr(e, t, n, r) {
4055
4055
  const { state: o, actions: s, getters: a } = t, i = n.state.value[e];
4056
4056
  let d;
4057
4057
  function l() {
4058
4058
  !i && (process.env.NODE_ENV === "production" || !r) && (n.state.value[e] = o ? o() : {});
4059
4059
  const c = process.env.NODE_ENV !== "production" && r ? (
4060
4060
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
4061
- Xt(T(o ? o() : {}).value)
4062
- ) : Xt(n.state.value[e]);
4063
- return Z(c, s, Object.keys(a || {}).reduce((u, f) => (process.env.NODE_ENV !== "production" && f in c && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${f}" in store "${e}".`), u[f] = Ge(x(() => {
4064
- _t(n);
4061
+ Yt(T(o ? o() : {}).value)
4062
+ ) : Yt(n.state.value[e]);
4063
+ return Z(c, s, Object.keys(a || {}).reduce((u, f) => (process.env.NODE_ENV !== "production" && f in c && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${f}" in store "${e}".`), u[f] = qe(x(() => {
4064
+ yt(n);
4065
4065
  const v = n._s.get(e);
4066
4066
  return a[f].call(v, v);
4067
4067
  })), u), {}));
4068
4068
  }
4069
- return d = fn(e, l, t, n, r, !0), d;
4069
+ return d = dn(e, l, t, n, r, !0), d;
4070
4070
  }
4071
- function fn(e, t, n = {}, r, o, s) {
4071
+ function dn(e, t, n = {}, r, o, s) {
4072
4072
  let a;
4073
4073
  const i = Z({ actions: {} }, n);
4074
4074
  if (process.env.NODE_ENV !== "production" && !r._e.active)
@@ -4088,19 +4088,19 @@ function fn(e, t, n = {}, r, o, s) {
4088
4088
  function S(P) {
4089
4089
  let w;
4090
4090
  l = c = !1, process.env.NODE_ENV !== "production" && (v = []), typeof P == "function" ? (P(r.state.value[e]), w = {
4091
- type: Ye.patchFunction,
4091
+ type: Ke.patchFunction,
4092
4092
  storeId: e,
4093
4093
  events: v
4094
- }) : (dn(r.state.value[e], P), w = {
4095
- type: Ye.patchObject,
4094
+ }) : (cn(r.state.value[e], P), w = {
4095
+ type: Ke.patchObject,
4096
4096
  payload: P,
4097
4097
  storeId: e,
4098
4098
  events: v
4099
4099
  });
4100
4100
  const D = y = Symbol();
4101
- Xe().then(() => {
4101
+ Ye().then(() => {
4102
4102
  y === D && (l = !0);
4103
- }), c = !0, ke(u, w, r.state.value[e]);
4103
+ }), c = !0, Ae(u, w, r.state.value[e]);
4104
4104
  }
4105
4105
  const N = s ? function() {
4106
4106
  const { state: w } = n, D = w ? w() : {};
@@ -4118,31 +4118,31 @@ function fn(e, t, n = {}, r, o, s) {
4118
4118
  }
4119
4119
  function A(P, w) {
4120
4120
  return function() {
4121
- _t(r);
4121
+ yt(r);
4122
4122
  const D = Array.from(arguments), I = [], ge = [];
4123
- function Rt(R) {
4123
+ function Ft(R) {
4124
4124
  I.push(R);
4125
4125
  }
4126
- function Dt(R) {
4126
+ function Rt(R) {
4127
4127
  ge.push(R);
4128
4128
  }
4129
- ke(f, {
4129
+ Ae(f, {
4130
4130
  args: D,
4131
4131
  name: P,
4132
4132
  store: b,
4133
- after: Rt,
4134
- onError: Dt
4133
+ after: Ft,
4134
+ onError: Rt
4135
4135
  });
4136
4136
  let F;
4137
4137
  try {
4138
4138
  F = w.apply(this && this.$id === e ? this : b, D);
4139
4139
  } catch (R) {
4140
- throw ke(ge, R), R;
4140
+ throw Ae(ge, R), R;
4141
4141
  }
4142
- return F instanceof Promise ? F.then((R) => (ke(I, R), R)).catch((R) => (ke(ge, R), Promise.reject(R))) : (ke(I, F), F);
4142
+ return F instanceof Promise ? F.then((R) => (Ae(I, R), R)).catch((R) => (Ae(ge, R), Promise.reject(R))) : (Ae(I, F), F);
4143
4143
  };
4144
4144
  }
4145
- const E = /* @__PURE__ */ Ge({
4145
+ const E = /* @__PURE__ */ qe({
4146
4146
  actions: {},
4147
4147
  getters: {},
4148
4148
  state: [],
@@ -4151,24 +4151,24 @@ function fn(e, t, n = {}, r, o, s) {
4151
4151
  _p: r,
4152
4152
  // _s: scope,
4153
4153
  $id: e,
4154
- $onAction: ir.bind(null, f),
4154
+ $onAction: ar.bind(null, f),
4155
4155
  $patch: S,
4156
4156
  $reset: N,
4157
4157
  $subscribe(P, w = {}) {
4158
- const D = ir(u, P, w.detached, () => I()), I = a.run(() => tt(() => r.state.value[e], (ge) => {
4158
+ const D = ar(u, P, w.detached, () => I()), I = a.run(() => et(() => r.state.value[e], (ge) => {
4159
4159
  (w.flush === "sync" ? c : l) && P({
4160
4160
  storeId: e,
4161
- type: Ye.direct,
4161
+ type: Ke.direct,
4162
4162
  events: v
4163
4163
  }, ge);
4164
4164
  }, Z({}, d, w)));
4165
4165
  return D;
4166
4166
  },
4167
4167
  $dispose: C
4168
- }, b = hn(process.env.NODE_ENV !== "production" || Yt ? Z(
4168
+ }, b = pn(process.env.NODE_ENV !== "production" || Kt ? Z(
4169
4169
  {
4170
4170
  _hmrPayload: E,
4171
- _customProperties: Ge(/* @__PURE__ */ new Set())
4171
+ _customProperties: qe(/* @__PURE__ */ new Set())
4172
4172
  // devtools custom properties
4173
4173
  },
4174
4174
  O
@@ -4176,20 +4176,20 @@ function fn(e, t, n = {}, r, o, s) {
4176
4176
  // setupStore
4177
4177
  ) : O);
4178
4178
  r._s.set(e, b);
4179
- const V = r._a && r._a.runWithContext || ku, W = r._e.run(() => (a = No(), V(() => a.run(t))));
4179
+ const V = r._a && r._a.runWithContext || Au, W = r._e.run(() => (a = No(), V(() => a.run(t))));
4180
4180
  for (const P in W) {
4181
4181
  const w = W[P];
4182
- if (Se(w) && !lr(w) || mn(w))
4183
- process.env.NODE_ENV !== "production" && o ? ct(p.value, P, Bt(W, P)) : s || (m && $u(w) && (Se(w) ? w.value = m[P] : dn(w, m[P])), r.state.value[e][P] = w), process.env.NODE_ENV !== "production" && E.state.push(P);
4182
+ if (Se(w) && !ir(w) || hn(w))
4183
+ process.env.NODE_ENV !== "production" && o ? it(p.value, P, It(W, P)) : s || (m && Lu(w) && (Se(w) ? w.value = m[P] : cn(w, m[P])), r.state.value[e][P] = w), process.env.NODE_ENV !== "production" && E.state.push(P);
4184
4184
  else if (typeof w == "function") {
4185
4185
  const D = process.env.NODE_ENV !== "production" && o ? w : A(P, w);
4186
4186
  W[P] = D, process.env.NODE_ENV !== "production" && (E.actions[P] = w), i.actions[P] = w;
4187
4187
  } else
4188
- process.env.NODE_ENV !== "production" && lr(w) && (E.getters[P] = s ? (
4188
+ process.env.NODE_ENV !== "production" && ir(w) && (E.getters[P] = s ? (
4189
4189
  // @ts-expect-error
4190
4190
  n.getters[P]
4191
- ) : w, kn && (W._getters || // @ts-expect-error: same
4192
- (W._getters = Ge([]))).push(P));
4191
+ ) : w, An && (W._getters || // @ts-expect-error: same
4192
+ (W._getters = qe([]))).push(P));
4193
4193
  }
4194
4194
  if (Z(b, W), Z(Ao(b), W), Object.defineProperty(b, "$state", {
4195
4195
  get: () => process.env.NODE_ENV !== "production" && o ? p.value : r.state.value[e],
@@ -4200,35 +4200,35 @@ function fn(e, t, n = {}, r, o, s) {
4200
4200
  Z(w, P);
4201
4201
  });
4202
4202
  }
4203
- }), process.env.NODE_ENV !== "production" && (b._hotUpdate = Ge((P) => {
4203
+ }), process.env.NODE_ENV !== "production" && (b._hotUpdate = qe((P) => {
4204
4204
  b._hotUpdating = !0, P._hmrPayload.state.forEach((w) => {
4205
4205
  if (w in b.$state) {
4206
4206
  const D = P.$state[w], I = b.$state[w];
4207
4207
  typeof D == "object" && Te(D) && Te(I) ? wo(D, I) : P.$state[w] = I;
4208
4208
  }
4209
- ct(b, w, Bt(P.$state, w));
4209
+ it(b, w, It(P.$state, w));
4210
4210
  }), Object.keys(b.$state).forEach((w) => {
4211
- w in P.$state || Gt(b, w);
4212
- }), l = !1, c = !1, r.state.value[e] = Bt(P._hmrPayload, "hotState"), c = !0, Xe().then(() => {
4211
+ w in P.$state || qt(b, w);
4212
+ }), l = !1, c = !1, r.state.value[e] = It(P._hmrPayload, "hotState"), c = !0, Ye().then(() => {
4213
4213
  l = !0;
4214
4214
  });
4215
4215
  for (const w in P._hmrPayload.actions) {
4216
4216
  const D = P[w];
4217
- ct(b, w, A(w, D));
4217
+ it(b, w, A(w, D));
4218
4218
  }
4219
4219
  for (const w in P._hmrPayload.getters) {
4220
4220
  const D = P._hmrPayload.getters[w], I = s ? (
4221
4221
  // special handling of options api
4222
- x(() => (_t(r), D.call(b, b)))
4222
+ x(() => (yt(r), D.call(b, b)))
4223
4223
  ) : D;
4224
- ct(b, w, I);
4224
+ it(b, w, I);
4225
4225
  }
4226
4226
  Object.keys(b._hmrPayload.getters).forEach((w) => {
4227
- w in P._hmrPayload.getters || Gt(b, w);
4227
+ w in P._hmrPayload.getters || qt(b, w);
4228
4228
  }), Object.keys(b._hmrPayload.actions).forEach((w) => {
4229
- w in P._hmrPayload.actions || Gt(b, w);
4229
+ w in P._hmrPayload.actions || qt(b, w);
4230
4230
  }), b._hmrPayload = P._hmrPayload, b._getters = P._getters, b._hotUpdating = !1;
4231
- })), Yt) {
4231
+ })), Kt) {
4232
4232
  const P = {
4233
4233
  writable: !0,
4234
4234
  configurable: !0,
@@ -4240,7 +4240,7 @@ function fn(e, t, n = {}, r, o, s) {
4240
4240
  });
4241
4241
  }
4242
4242
  return r._p.forEach((P) => {
4243
- if (Yt) {
4243
+ if (Kt) {
4244
4244
  const w = a.run(() => P({
4245
4245
  store: b,
4246
4246
  app: r._a,
@@ -4259,7 +4259,7 @@ function fn(e, t, n = {}, r, o, s) {
4259
4259
  state: () => new MyClass()
4260
4260
  Found in store "${b.$id}".`), m && s && n.hydrate && n.hydrate(b.$state, m), l = !0, c = !0, b;
4261
4261
  }
4262
- function Fu(e, t, n) {
4262
+ function $u(e, t, n) {
4263
4263
  let r, o;
4264
4264
  const s = typeof t == "function";
4265
4265
  if (typeof e == "string")
@@ -4270,19 +4270,19 @@ function Fu(e, t, n) {
4270
4270
  const l = Co();
4271
4271
  if (i = // in test mode, ignore the argument provided as we can always retrieve a
4272
4272
  // pinia instance with getActivePinia()
4273
- (process.env.NODE_ENV === "test" && Je && Je._testing ? null : i) || (l ? H(Au, null) : null), i && _t(i), process.env.NODE_ENV !== "production" && !Je)
4273
+ (process.env.NODE_ENV === "test" && We && We._testing ? null : i) || (l ? H(Nu, null) : null), i && yt(i), process.env.NODE_ENV !== "production" && !We)
4274
4274
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Did you forget to install pinia?
4275
4275
  const pinia = createPinia()
4276
4276
  app.use(pinia)
4277
4277
  This will fail in production.`);
4278
- i = Je, i._s.has(r) || (s ? fn(r, t, o, i) : ur(r, o, i), process.env.NODE_ENV !== "production" && (a._pinia = i));
4278
+ i = We, i._s.has(r) || (s ? dn(r, t, o, i) : lr(r, o, i), process.env.NODE_ENV !== "production" && (a._pinia = i));
4279
4279
  const c = i._s.get(r);
4280
4280
  if (process.env.NODE_ENV !== "production" && d) {
4281
- const u = "__hot:" + r, f = s ? fn(u, t, o, i, !0) : ur(u, Z({}, o), i, !0);
4281
+ const u = "__hot:" + r, f = s ? dn(u, t, o, i, !0) : lr(u, Z({}, o), i, !0);
4282
4282
  d._hotUpdate(f), delete i.state.value[u], i._s.delete(u);
4283
4283
  }
4284
- if (process.env.NODE_ENV !== "production" && kn) {
4285
- const u = pn();
4284
+ if (process.env.NODE_ENV !== "production" && An) {
4285
+ const u = fn();
4286
4286
  if (u && u.proxy && // avoid adding stores that are just built for hot module replacement
4287
4287
  !d) {
4288
4288
  const f = u.proxy, v = "_pStores" in f ? f._pStores : f._pStores = {};
@@ -4293,14 +4293,14 @@ This will fail in production.`);
4293
4293
  }
4294
4294
  return a.$id = r, a;
4295
4295
  }
4296
- function Ru(e, t) {
4296
+ function Fu(e, t) {
4297
4297
  return Array.isArray(t) ? t.reduce((n, r) => (n[r] = function(...o) {
4298
4298
  return e(this.$pinia)[r](...o);
4299
4299
  }, n), {}) : Object.keys(t).reduce((n, r) => (n[r] = function(...o) {
4300
4300
  return e(this.$pinia)[t[r]](...o);
4301
4301
  }, n), {});
4302
4302
  }
4303
- const Du = Fu("user", {
4303
+ const Ru = $u("user", {
4304
4304
  state: () => ({
4305
4305
  user: null,
4306
4306
  isShowLogin: !1,
@@ -4310,7 +4310,7 @@ const Du = Fu("user", {
4310
4310
  actions: {
4311
4311
  getUser() {
4312
4312
  return window.getUserStatusPromise = new Promise((e, t) => {
4313
- nr().then(({ profile: n, subscription: r, drive: o }) => {
4313
+ tr().then(({ profile: n, subscription: r, drive: o }) => {
4314
4314
  if (n) {
4315
4315
  let { free_cnt: s, is_subscribed: a, detail: i } = r;
4316
4316
  s || (s = 0), i && i.ends_at && (a = new Date(i.ends_at) > /* @__PURE__ */ new Date());
@@ -4333,7 +4333,7 @@ const Du = Fu("user", {
4333
4333
  });
4334
4334
  let r = 1;
4335
4335
  const o = () => {
4336
- nr().then(({ profile: s, subscription: a, drive: i }) => {
4336
+ tr().then(({ profile: s, subscription: a, drive: i }) => {
4337
4337
  let { free_cnt: d, is_subscribed: l, detail: c } = a;
4338
4338
  if (d || (d = 0), c && c.ends_at && (l = new Date(c.ends_at) > /* @__PURE__ */ new Date()), l || t == "purchase" && d) {
4339
4339
  const u = { ...s, free_cnt: d, is_subscribed: l, subscribedType: l && c.name || "", detail: c, drive: i };
@@ -4343,10 +4343,12 @@ const Du = Fu("user", {
4343
4343
  // token: profile.token,
4344
4344
  // expire_at: profile.expire_at
4345
4345
  };
4346
- Jr({ message: f, user: u }, "subscribed:success"), window.opener.postMessage(f, process.env.NODE_ENV == "development" ? "http://localhost:8080" : "*");
4346
+ Wr({ message: f, user: u }, "subscribed:success"), window.opener.postMessage(f, process.env.NODE_ENV == "development" ? "http://localhost:8080" : "*");
4347
4347
  }
4348
4348
  n.close(), this.isShowToast = !0, this.toastContent = t == "purchase" ? "purchased credits" : "upgraded to a member", setTimeout(() => {
4349
- this.isShowToast = !1, window.opener && !e && window.close();
4349
+ this.isShowToast = !1;
4350
+ const f = Jr();
4351
+ (window.opener && !e || f.product && f.product == "image_translator" || f.close) && window.close();
4350
4352
  }, 3e3);
4351
4353
  } else
4352
4354
  r > 20 ? n.close() : setTimeout(() => {
@@ -4363,9 +4365,9 @@ const Du = Fu("user", {
4363
4365
  }
4364
4366
  }
4365
4367
  });
4366
- let Eo = kt();
4368
+ let Eo = At();
4367
4369
  console.log("childPath3", Eo);
4368
- const ju = {
4370
+ const Du = {
4369
4371
  props: ["user", "from"],
4370
4372
  data() {
4371
4373
  return {
@@ -4373,15 +4375,15 @@ const ju = {
4373
4375
  };
4374
4376
  },
4375
4377
  methods: {
4376
- ...Ru(Du, ["logout"]),
4378
+ ...Fu(Ru, ["logout"]),
4377
4379
  handlePay() {
4378
4380
  console.log("user", this.user), this.user.is_subscribed || this.$emit("subscribe");
4379
4381
  }
4380
4382
  }
4381
- }, lt = (e) => (nt("data-v-8580ad75"), e = e(), rt(), e), Iu = { class: "user-center-content" }, Bu = { class: "user-info flew-row-v-center" }, Mu = ["src"], Uu = {
4383
+ }, st = (e) => (bt("data-v-8580ad75"), e = e(), wt(), e), ju = { class: "user-center-content" }, Iu = { class: "user-info flew-row-v-center" }, Bu = ["src"], Mu = {
4382
4384
  class: "user-name",
4383
4385
  style: { color: "#000" }
4384
- }, Hu = { class: "user-email" }, Vu = { class: "flew-row-v-center" }, zu = {
4386
+ }, Uu = { class: "user-email" }, Hu = { class: "flew-row-v-center" }, Vu = {
4385
4387
  key: 0,
4386
4388
  t: "1637834706702",
4387
4389
  class: "user-item-icon",
@@ -4391,7 +4393,7 @@ const ju = {
4391
4393
  "p-id": "10206",
4392
4394
  width: "32",
4393
4395
  height: "32"
4394
- }, qu = /* @__PURE__ */ lt(() => /* @__PURE__ */ g(
4396
+ }, zu = /* @__PURE__ */ st(() => /* @__PURE__ */ g(
4395
4397
  "path",
4396
4398
  {
4397
4399
  d: "M319.786667 74.666667h384.490666A85.333333 85.333333 0 0 1 772.266667 108.458667l207.594666 273.834666a85.333333 85.333333 0 0 1-6.592 110.805334L573.866667 907.136a85.333333 85.333333 0 0 1-122.688 0.149333L50.88 494.144a85.333333 85.333333 0 0 1-6.805333-110.826667L251.733333 108.544A85.333333 85.333333 0 0 1 319.786667 74.666667z",
@@ -4403,7 +4405,7 @@ const ju = {
4403
4405
  null,
4404
4406
  -1
4405
4407
  /* HOISTED */
4406
- )), Gu = /* @__PURE__ */ lt(() => /* @__PURE__ */ g(
4408
+ )), qu = /* @__PURE__ */ st(() => /* @__PURE__ */ g(
4407
4409
  "path",
4408
4410
  {
4409
4411
  d: "M685.482667 350.72a32 32 0 0 1 47.445333 42.816l-2.197333 2.432-196.096 196.096a32 32 0 0 1-42.837334 2.197333l-2.432-2.197333-196.096-196.096a32 32 0 0 1 42.816-47.466667l2.432 2.197334L512 524.181333l173.482667-173.482666z",
@@ -4413,10 +4415,10 @@ const ju = {
4413
4415
  null,
4414
4416
  -1
4415
4417
  /* HOISTED */
4416
- )), Wu = [
4417
- qu,
4418
- Gu
4419
- ], Ju = {
4418
+ )), Gu = [
4419
+ zu,
4420
+ qu
4421
+ ], Wu = {
4420
4422
  key: 1,
4421
4423
  t: "1637055277290",
4422
4424
  class: "user-item-icon",
@@ -4426,7 +4428,7 @@ const ju = {
4426
4428
  "p-id": "8080",
4427
4429
  width: "32",
4428
4430
  height: "32"
4429
- }, Ku = /* @__PURE__ */ lt(() => /* @__PURE__ */ g(
4431
+ }, Ju = /* @__PURE__ */ st(() => /* @__PURE__ */ g(
4430
4432
  "path",
4431
4433
  {
4432
4434
  d: "M957.942003 407.418107c4.937452-6.197142 4.954849-15.143908-0.297782-21.406542L718.393185 100.883665c-1.357927-1.623987-2.981914-2.916423-4.738931-3.89368-2.765997-5.600555-8.532327-9.42772-15.193027-9.42772L326.247924 87.562265c-6.329149 0-11.978822 3.612271-14.877849 8.930393-2.15406 0.994654-4.142343 2.469238-5.733585 4.391007L66.386478 386.011564c-3.048429 3.628644-4.340865 8.16803-3.90903 12.541641-0.464581 4.391007 0.794086 8.964162 3.859911 12.625552L501.444085 929.709497c5.997598 7.175423 16.634866 8.037047 23.825638 2.02103 3.13234-2.650363 5.086855-6.145977 5.799076-9.841136 0.38067-0.379647 0.762363-0.777713 1.110287-1.209548L953.899944 418.089144C956.533934 414.956803 957.859116 411.17978 957.942003 407.418107zM520.830621 727.291344 754.099409 449.304076c8.963139-10.686387 25.00244-12.06171 35.754319-3.032056 10.852162 9.096169 12.211113 25.035186 3.230578 35.755342L542.071388 781.172509c-5.418406 6.445806-13.387915 9.509585-21.240767 8.930393-7.837502 0.579191-15.807011-2.484587-21.224394-8.930393L248.57489 482.027361c-8.979512-10.720156-7.605212-26.659173 3.247974-35.755342 10.769274-9.029654 26.774807-7.65433 35.754319 3.032056L520.830621 727.291344z",
@@ -4436,20 +4438,20 @@ const ju = {
4436
4438
  null,
4437
4439
  -1
4438
4440
  /* HOISTED */
4439
- )), Yu = [
4440
- Ku
4441
- ], Xu = {
4441
+ )), Ku = [
4442
+ Ju
4443
+ ], Yu = {
4442
4444
  key: 0,
4443
4445
  class: "user-upgrade"
4444
- }, Zu = /* @__PURE__ */ lt(() => /* @__PURE__ */ g(
4446
+ }, Xu = /* @__PURE__ */ st(() => /* @__PURE__ */ g(
4445
4447
  "span",
4446
4448
  null,
4447
4449
  "Upgrade",
4448
4450
  -1
4449
4451
  /* HOISTED */
4450
- )), Qu = [
4451
- Zu
4452
- ], ec = ["href"], tc = /* @__PURE__ */ lt(() => /* @__PURE__ */ g(
4452
+ )), Zu = [
4453
+ Xu
4454
+ ], Qu = ["href"], ec = /* @__PURE__ */ st(() => /* @__PURE__ */ g(
4453
4455
  "div",
4454
4456
  { class: "user-item user-item-active flew-row-v-center" },
4455
4457
  [
@@ -4478,19 +4480,19 @@ const ju = {
4478
4480
  ],
4479
4481
  -1
4480
4482
  /* HOISTED */
4481
- )), nc = [
4482
- tc
4483
+ )), tc = [
4484
+ ec
4483
4485
  ];
4484
- function rc(e, t, n, r, o, s) {
4485
- return k(), $("div", Iu, [
4486
- g("div", Bu, [
4486
+ function nc(e, t, n, r, o, s) {
4487
+ return k(), $("div", ju, [
4488
+ g("div", Iu, [
4487
4489
  g("img", {
4488
4490
  class: "user-avatar",
4489
4491
  src: n.user.avatar || "https://statics.imgkits.com/images/default_user_avatar_black.png",
4490
4492
  alt: "user avatar"
4491
- }, null, 8, Mu),
4493
+ }, null, 8, Bu),
4492
4494
  g("div", null, [
4493
- g("div", Uu, [
4495
+ g("div", Mu, [
4494
4496
  g(
4495
4497
  "span",
4496
4498
  null,
@@ -4499,7 +4501,7 @@ function rc(e, t, n, r, o, s) {
4499
4501
  /* TEXT */
4500
4502
  )
4501
4503
  ]),
4502
- g("div", Hu, [
4504
+ g("div", Uu, [
4503
4505
  g(
4504
4506
  "span",
4505
4507
  null,
@@ -4521,8 +4523,8 @@ function rc(e, t, n, r, o, s) {
4521
4523
  class: "user-item flew-row-v-center space-between",
4522
4524
  onClick: t[0] || (t[0] = (...a) => s.handlePay && s.handlePay(...a))
4523
4525
  }, [
4524
- g("div", Vu, [
4525
- n.user.is_subscribed ? (k(), $("svg", zu, Wu)) : (k(), $("svg", Ju, Yu)),
4526
+ g("div", Hu, [
4527
+ n.user.is_subscribed ? (k(), $("svg", Vu, Gu)) : (k(), $("svg", Wu, Ku)),
4526
4528
  g(
4527
4529
  "span",
4528
4530
  null,
@@ -4531,19 +4533,19 @@ function rc(e, t, n, r, o, s) {
4531
4533
  /* TEXT */
4532
4534
  )
4533
4535
  ]),
4534
- !n.user.is_subscribed && n.from == "addon" ? (k(), $("div", Xu, Qu)) : B("v-if", !0)
4536
+ !n.user.is_subscribed && n.from == "addon" ? (k(), $("div", Yu, Zu)) : B("v-if", !0)
4535
4537
  ]),
4536
4538
  n.from != "addon" ? (k(), $("a", {
4537
4539
  key: 0,
4538
4540
  rel: "nofollow",
4539
4541
  href: o.path + "/user/logout"
4540
- }, nc, 8, ec)) : B("v-if", !0)
4542
+ }, tc, 8, Qu)) : B("v-if", !0)
4541
4543
  ]);
4542
4544
  }
4543
- const cr = /* @__PURE__ */ it(ju, [["render", rc], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
4544
- const oc = {
4545
+ const ur = /* @__PURE__ */ ot(Du, [["render", nc], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
4546
+ const rc = {
4545
4547
  props: ["content", "top"]
4546
- }, sc = (e) => (nt("data-v-7b6def48"), e = e(), rt(), e), ac = /* @__PURE__ */ sc(() => /* @__PURE__ */ g(
4548
+ }, oc = (e) => (bt("data-v-7b6def48"), e = e(), wt(), e), sc = /* @__PURE__ */ oc(() => /* @__PURE__ */ g(
4547
4549
  "svg",
4548
4550
  {
4549
4551
  t: "1637907583780",
@@ -4564,7 +4566,7 @@ const oc = {
4564
4566
  -1
4565
4567
  /* HOISTED */
4566
4568
  ));
4567
- function ic(e, t, n, r, o, s) {
4569
+ function ac(e, t, n, r, o, s) {
4568
4570
  return k(), $(
4569
4571
  "div",
4570
4572
  {
@@ -4572,7 +4574,7 @@ function ic(e, t, n, r, o, s) {
4572
4574
  style: $o({ top: n.top || "60PX" })
4573
4575
  },
4574
4576
  [
4575
- ac,
4577
+ sc,
4576
4578
  g(
4577
4579
  "span",
4578
4580
  null,
@@ -4585,8 +4587,8 @@ function ic(e, t, n, r, o, s) {
4585
4587
  /* STYLE */
4586
4588
  );
4587
4589
  }
4588
- const lc = /* @__PURE__ */ it(oc, [["render", ic], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
4589
- function uc(e, t) {
4590
+ const ic = /* @__PURE__ */ ot(rc, [["render", ac], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
4591
+ function lc(e, t) {
4590
4592
  return k(), $("svg", {
4591
4593
  xmlns: "http://www.w3.org/2000/svg",
4592
4594
  viewBox: "0 0 20 20",
@@ -4600,69 +4602,69 @@ function uc(e, t) {
4600
4602
  })
4601
4603
  ]);
4602
4604
  }
4603
- const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
4605
+ const uc = {
4604
4606
  class: "flex items-center justify-between py-6 lg:px-0 px-6",
4605
4607
  "aria-label": "Global"
4606
- }, dc = { class: "flex lg:flex-1" }, fc = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g(
4608
+ }, cc = { class: "flex lg:flex-1" }, dc = /* @__PURE__ */ g(
4607
4609
  "span",
4608
4610
  { class: "hidden items-center gap-x-1 text-sm font-semibold h-7 leading-7 text-gray-900" },
4609
4611
  null,
4610
4612
  -1
4611
4613
  /* HOISTED */
4612
- )), pc = ["href"], hc = ["src", "alt"], mc = { class: "pl-2 text-xl" }, vc = { class: "flex lg:hidden" }, gc = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g(
4614
+ ), fc = ["href"], pc = ["src", "alt"], hc = { class: "pl-2 text-xl" }, mc = { class: "flex lg:hidden" }, vc = /* @__PURE__ */ g(
4613
4615
  "span",
4614
4616
  { class: "sr-only" },
4615
4617
  "Open main menu",
4616
4618
  -1
4617
4619
  /* HOISTED */
4618
- )), yc = { class: "hidden lg:flex lg:gap-x-12" }, bc = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g(
4620
+ ), gc = { class: "hidden lg:flex lg:gap-x-12" }, yc = /* @__PURE__ */ g(
4619
4621
  "span",
4620
4622
  null,
4621
4623
  "Apps",
4622
4624
  -1
4623
4625
  /* HOISTED */
4624
- )), wc = { class: "w-56 shrink rounded-xl bg-white p-4 text-sm font-semibold leading-6 text-gray-900 shadow-lg ring-1 ring-gray-900/5" }, _c = ["href"], Ec = ["href", "target"], Sc = {
4626
+ ), bc = { class: "w-56 shrink rounded-xl bg-white p-4 text-sm font-semibold leading-6 text-gray-900 shadow-lg ring-1 ring-gray-900/5" }, wc = ["href"], _c = ["href", "target"], Ec = {
4625
4627
  key: 0,
4626
4628
  class: "hidden lg:flex lg:flex-1 lg:justify-end"
4627
- }, xc = {
4629
+ }, Sc = {
4628
4630
  key: 1,
4629
4631
  class: "hidden lg:flex lg:flex-1 lg:justify-end"
4630
- }, Pc = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g(
4632
+ }, xc = /* @__PURE__ */ g(
4631
4633
  "span",
4632
4634
  { "aria-hidden": "true" },
4633
4635
  null,
4634
4636
  -1
4635
4637
  /* HOISTED */
4636
- )), Oc = {
4638
+ ), Pc = {
4637
4639
  key: 2,
4638
4640
  class: "hidden lg:flex lg:flex-1 lg:justify-end text-sm font-semibold leading-6 text-gray-900 items-center"
4639
- }, Tc = { class: "pr-4" }, Cc = ["src"], Nc = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g(
4641
+ }, Oc = { class: "pr-4" }, Tc = ["src"], Cc = /* @__PURE__ */ g(
4640
4642
  "div",
4641
4643
  { class: "open-icon" },
4642
4644
  null,
4643
4645
  -1
4644
4646
  /* HOISTED */
4645
- )), Ac = { class: "user-center-dialog shadow-xl" }, kc = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g(
4647
+ ), Nc = { class: "user-center-dialog shadow-xl" }, Ac = /* @__PURE__ */ g(
4646
4648
  "div",
4647
4649
  { class: "fixed inset-0 z-50" },
4648
4650
  null,
4649
4651
  -1
4650
4652
  /* HOISTED */
4651
- )), Lc = { class: "flex items-center justify-between" }, $c = ["href"], Fc = { class: "sr-only" }, Rc = ["src", "alt"], Dc = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g(
4653
+ ), kc = { class: "flex items-center justify-between" }, Lc = ["href"], $c = { class: "sr-only" }, Fc = ["src", "alt"], Rc = /* @__PURE__ */ g(
4652
4654
  "span",
4653
4655
  { class: "sr-only" },
4654
4656
  "Close menu",
4655
4657
  -1
4656
4658
  /* HOISTED */
4657
- )), jc = { class: "mt-6 flow-root" }, Ic = { class: "-my-6 divide-y divide-gray-500/10" }, Bc = { class: "space-y-2 py-6" }, Mc = {
4659
+ ), Dc = { class: "mt-6 flow-root" }, jc = { class: "-my-6 divide-y divide-gray-500/10" }, Ic = { class: "space-y-2 py-6" }, Bc = {
4658
4660
  key: 0,
4659
4661
  target: "_blank",
4660
4662
  href: "https://www.livepolls.app/apps",
4661
- class: "-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
4662
- }, Uc = ["href", "target"], Hc = {
4663
+ class: "-mx-3 inline-flex items-center rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
4664
+ }, Mc = ["href", "target"], Uc = {
4663
4665
  key: 0,
4664
4666
  class: "py-6"
4665
- }, Vc = {
4667
+ }, Hc = {
4666
4668
  __name: "Header",
4667
4669
  props: {
4668
4670
  isShenHe: {
@@ -4691,7 +4693,7 @@ const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
4691
4693
  name: "Video Translator"
4692
4694
  };
4693
4695
  typeof app_config == "object" && app_config && Object.keys(app_config).length > 0 && (r = app_config), console.log("appInfo", r);
4694
- const o = T(r), s = kt(), a = [
4696
+ const o = T(r), s = At(), a = [
4695
4697
  { name: "Live Poll Maker for Slides", href: "https://workspace.google.com/marketplace/app/live_polls_maker/964324417500" },
4696
4698
  { name: "Geocode for Sheets", href: "https://workspace.google.com/marketplace/app/geocode_for_sheets/1083994590944" },
4697
4699
  { name: "Slides Translator", href: "https://workspace.google.com/marketplace/app/translate_slides_slides_translator/552662411825" },
@@ -4718,7 +4720,7 @@ const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
4718
4720
  });
4719
4721
  async function v() {
4720
4722
  m();
4721
- const A = We.service({
4723
+ const A = Ge.service({
4722
4724
  text: "logining...",
4723
4725
  background: "rgba(0, 0, 0, 0.7)"
4724
4726
  });
@@ -4767,9 +4769,9 @@ const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
4767
4769
  class: Fo(["absolute inset-x-0 px-1 top-0 z-30 mx-auto", [e.className]])
4768
4770
  },
4769
4771
  [
4770
- g("nav", cc, [
4771
- g("div", dc, [
4772
- fc,
4772
+ g("nav", uc, [
4773
+ g("div", cc, [
4774
+ dc,
4773
4775
  g("a", {
4774
4776
  href: d.value,
4775
4777
  class: "-m-1.5 p-1.5 flex items-center"
@@ -4778,39 +4780,39 @@ const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
4778
4780
  class: "h-8 w-auto",
4779
4781
  src: o.value.logo,
4780
4782
  alt: o.value.name
4781
- }, null, 8, hc),
4783
+ }, null, 8, pc),
4782
4784
  g(
4783
4785
  "span",
4784
- mc,
4786
+ hc,
4785
4787
  J(o.value.name),
4786
4788
  1
4787
4789
  /* TEXT */
4788
4790
  )
4789
- ], 8, pc)
4791
+ ], 8, fc)
4790
4792
  ]),
4791
- g("div", vc, [
4793
+ g("div", mc, [
4792
4794
  g("button", {
4793
4795
  type: "button",
4794
4796
  class: "-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700",
4795
4797
  onClick: E[0] || (E[0] = (O) => f.value = !0)
4796
4798
  }, [
4797
- gc,
4798
- ue(z(Jl), {
4799
+ vc,
4800
+ ue(z(Wl), {
4799
4801
  class: "h-6 w-6",
4800
4802
  "aria-hidden": "true"
4801
4803
  })
4802
4804
  ])
4803
4805
  ]),
4804
- g("div", yc, [
4805
- e.isShenHe ? B("v-if", !0) : (k(), Be(z(bo), {
4806
+ g("div", gc, [
4807
+ e.isShenHe ? B("v-if", !0) : (k(), Ie(z(bo), {
4806
4808
  key: 0,
4807
4809
  class: "relative"
4808
4810
  }, {
4809
4811
  default: be(() => [
4810
- ue(z(Gl), { class: "inline-flex items-center gap-x-1 text-sm font-semibold h-7 leading-7 text-gray-900" }, {
4812
+ ue(z(ql), { class: "inline-flex bg_tm_header items-center gap-x-1 text-sm font-semibold h-7 leading-7 text-gray-900" }, {
4811
4813
  default: be(() => [
4812
- bc,
4813
- ue(z(uc), {
4814
+ yc,
4815
+ ue(z(lc), {
4814
4816
  class: "h-5 w-5",
4815
4817
  "aria-hidden": "true"
4816
4818
  })
@@ -4818,7 +4820,7 @@ const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
4818
4820
  _: 1
4819
4821
  /* STABLE */
4820
4822
  }),
4821
- ue(dr, {
4823
+ ue(cr, {
4822
4824
  "enter-active-class": "transition ease-out duration-200",
4823
4825
  "enter-from-class": "opacity-0 translate-y-1",
4824
4826
  "enter-to-class": "opacity-100 translate-y-0",
@@ -4827,18 +4829,18 @@ const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
4827
4829
  "leave-to-class": "opacity-0 translate-y-1"
4828
4830
  }, {
4829
4831
  default: be(() => [
4830
- ue(z(Wl), { class: "absolute left-1/2 z-10 mt-5 flex w-screen max-w-min -translate-x-1/2 px-4" }, {
4832
+ ue(z(Gl), { class: "absolute left-1/2 z-10 mt-5 flex w-screen max-w-min -translate-x-1/2 px-4" }, {
4831
4833
  default: be(() => [
4832
- g("div", wc, [
4834
+ g("div", bc, [
4833
4835
  (k(), $(
4834
4836
  ve,
4835
4837
  null,
4836
- Mt(a, (O) => g("a", {
4838
+ Bt(a, (O) => g("a", {
4837
4839
  key: O.name,
4838
4840
  href: O.href,
4839
4841
  class: "block p-2 hover:text-indigo-600",
4840
4842
  target: "_blank"
4841
- }, J(O.name), 9, _c)),
4843
+ }, J(O.name), 9, wc)),
4842
4844
  64
4843
4845
  /* STABLE_FRAGMENT */
4844
4846
  ))
@@ -4858,17 +4860,17 @@ const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
4858
4860
  (k(!0), $(
4859
4861
  ve,
4860
4862
  null,
4861
- Mt(i.value, (O) => (k(), $("a", {
4863
+ Bt(i.value, (O) => (k(), $("a", {
4862
4864
  key: O.name,
4863
4865
  href: O.href,
4864
4866
  target: O.target,
4865
4867
  class: "text-sm h-7 leading-7 font-semibold text-gray-900"
4866
- }, J(O.name), 9, Ec))),
4868
+ }, J(O.name), 9, _c))),
4867
4869
  128
4868
4870
  /* KEYED_FRAGMENT */
4869
4871
  ))
4870
4872
  ]),
4871
- e.isShenHe ? (k(), $("div", Sc)) : c.value ? (k(), $("div", Oc, [
4873
+ e.isShenHe ? (k(), $("div", Ec)) : c.value ? (k(), $("div", Pc, [
4872
4874
  g(
4873
4875
  "div",
4874
4876
  {
@@ -4877,7 +4879,7 @@ const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
4877
4879
  onMouseleave: y
4878
4880
  },
4879
4881
  [
4880
- g("div", Tc, [
4882
+ g("div", Oc, [
4881
4883
  g(
4882
4884
  "span",
4883
4885
  null,
@@ -4890,14 +4892,14 @@ const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
4890
4892
  class: "user-avatar h-10 rounded-full",
4891
4893
  src: c.value.avatar || "https://statics.imgkits.com/images/default_user_avatar_black.png",
4892
4894
  alt: "user avatar"
4893
- }, null, 8, Cc),
4894
- Nc,
4895
- Ke(g(
4895
+ }, null, 8, Tc),
4896
+ Cc,
4897
+ Je(g(
4896
4898
  "div",
4897
4899
  null,
4898
4900
  [
4899
- g("div", Ac, [
4900
- c.value ? (k(), Be(cr, {
4901
+ g("div", Nc, [
4902
+ c.value ? (k(), Ie(ur, {
4901
4903
  key: 0,
4902
4904
  user: c.value
4903
4905
  }, null, 8, ["user"])) : B("v-if", !0)
@@ -4906,41 +4908,41 @@ const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
4906
4908
  512
4907
4909
  /* NEED_PATCH */
4908
4910
  ), [
4909
- [fr, l.value]
4911
+ [dr, l.value]
4910
4912
  ])
4911
4913
  ],
4912
4914
  32
4913
4915
  /* HYDRATE_EVENTS */
4914
4916
  )
4915
- ])) : (k(), $("div", xc, [
4917
+ ])) : (k(), $("div", Sc, [
4916
4918
  g("a", {
4917
4919
  onClick: u,
4918
4920
  href: "javscript:void(0)",
4919
4921
  class: "text-sm leading-6 rounded-3xl bg-indigo-600 px-8 py-1.5 font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
4920
4922
  }, [
4921
- pt("Log in"),
4922
- Pc
4923
+ ct("Log in"),
4924
+ xc
4923
4925
  ])
4924
4926
  ]))
4925
4927
  ]),
4926
- ue(z(Hl), {
4928
+ ue(z(Ul), {
4927
4929
  as: "div",
4928
4930
  class: "lg:hidden",
4929
4931
  onClose: E[2] || (E[2] = (O) => f.value = !1),
4930
4932
  open: f.value
4931
4933
  }, {
4932
4934
  default: be(() => [
4933
- kc,
4934
- ue(z(Vl), { class: "fixed inset-y-0 right-0 z-50 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10" }, {
4935
+ Ac,
4936
+ ue(z(Hl), { class: "fixed inset-y-0 right-0 z-50 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10" }, {
4935
4937
  default: be(() => [
4936
- g("div", Lc, [
4938
+ g("div", kc, [
4937
4939
  g("a", {
4938
4940
  href: d.value,
4939
4941
  class: "-m-1.5 p-1.5"
4940
4942
  }, [
4941
4943
  g(
4942
4944
  "span",
4943
- Fc,
4945
+ $c,
4944
4946
  J(o.value.name),
4945
4947
  1
4946
4948
  /* TEXT */
@@ -4949,33 +4951,33 @@ const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
4949
4951
  class: "h-8 w-auto",
4950
4952
  src: o.value.logo,
4951
4953
  alt: o.value.name
4952
- }, null, 8, Rc)
4953
- ], 8, $c),
4954
+ }, null, 8, Fc)
4955
+ ], 8, Lc),
4954
4956
  g("button", {
4955
4957
  type: "button",
4956
4958
  class: "-m-2.5 rounded-md p-2.5 text-gray-700",
4957
4959
  onClick: E[1] || (E[1] = (O) => f.value = !1)
4958
4960
  }, [
4959
- Dc,
4960
- ue(z(Kl), {
4961
+ Rc,
4962
+ ue(z(Jl), {
4961
4963
  class: "h-6 w-6",
4962
4964
  "aria-hidden": "true"
4963
4965
  })
4964
4966
  ])
4965
4967
  ]),
4966
- g("div", jc, [
4967
- g("div", Ic, [
4968
- g("div", Bc, [
4969
- e.isShenHe ? B("v-if", !0) : (k(), $("a", Mc, "More Extensions")),
4968
+ g("div", Dc, [
4969
+ g("div", jc, [
4970
+ g("div", Ic, [
4971
+ e.isShenHe ? B("v-if", !0) : (k(), $("a", Bc, "More Extensions")),
4970
4972
  (k(!0), $(
4971
4973
  ve,
4972
4974
  null,
4973
- Mt(i.value, (O) => (k(), $("a", {
4975
+ Bt(i.value, (O) => (k(), $("a", {
4974
4976
  key: O.name,
4975
4977
  href: O.href,
4976
4978
  target: O.target,
4977
- class: "-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
4978
- }, J(O.name), 9, Uc))),
4979
+ class: "-mx-3 inline-flex items-center rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
4980
+ }, J(O.name), 9, Mc))),
4979
4981
  128
4980
4982
  /* KEYED_FRAGMENT */
4981
4983
  ))
@@ -4985,11 +4987,11 @@ const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
4985
4987
  class: "relative sm-user-center-dialog py-6 right flew-center",
4986
4988
  onClick: S
4987
4989
  }, [
4988
- c.value ? (k(), Be(cr, {
4990
+ c.value ? (k(), Ie(ur, {
4989
4991
  key: 0,
4990
4992
  user: c.value
4991
4993
  }, null, 8, ["user"])) : B("v-if", !0)
4992
- ])) : (k(), $("div", Hc, [
4994
+ ])) : (k(), $("div", Uc, [
4993
4995
  g("a", {
4994
4996
  href: "#",
4995
4997
  onClick: u,
@@ -5011,12 +5013,12 @@ const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
5011
5013
  /* CLASS */
5012
5014
  ),
5013
5015
  B(" 引入登录 "),
5014
- e.userStore.isShowLogin ? (k(), Be(Nu, {
5016
+ e.userStore.isShowLogin ? (k(), Ie(Cu, {
5015
5017
  key: 0,
5016
5018
  onSuccess: v,
5017
5019
  onClose: m
5018
5020
  })) : B("v-if", !0),
5019
- e.userStore.isShowToast ? (k(), Be(lc, {
5021
+ e.userStore.isShowToast ? (k(), Ie(ic, {
5020
5022
  key: 1,
5021
5023
  content: e.userStore.toastContent
5022
5024
  }, null, 8, ["content"])) : B("v-if", !0)
@@ -5025,11 +5027,11 @@ const Ne = (e) => (nt("data-v-c970699f"), e = e(), rt(), e), cc = {
5025
5027
  /* STABLE_FRAGMENT */
5026
5028
  ));
5027
5029
  }
5028
- }, zc = /* @__PURE__ */ it(Vc, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Header.vue"]]), Gc = {
5030
+ }, Vc = /* @__PURE__ */ ot(Hc, [["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Header.vue"]]), qc = {
5029
5031
  install(e) {
5030
- e.component("my-header", zc);
5032
+ e.component("my-header", Vc);
5031
5033
  }
5032
5034
  };
5033
5035
  export {
5034
- Gc as default
5036
+ qc as default
5035
5037
  };