my-header-yichong 3.4.2 → 3.4.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,4 +1,4 @@
1
- import { getCurrentScope as wa, onScopeDispose as xa, ref as I, readonly as Ea, unref as y, getCurrentInstance as je, onMounted as X, nextTick as tt, watch as Y, defineComponent as H, openBlock as T, createElementBlock as R, createElementVNode as h, warn as $l, isVNode as ao, inject as Z, computed as E, isRef as wt, shallowRef as gr, onBeforeUnmount as We, onBeforeMount as Nl, provide as re, renderSlot as oe, mergeProps as Jt, normalizeClass as se, normalizeStyle as Pn, withDirectives as He, cloneVNode as Sa, Fragment as ie, Text as Rl, Comment as Fl, createVNode as Q, createBlock as ee, withCtx as U, createCommentVNode as D, toRef as Xe, Teleport as ka, Transition as Tt, vShow as Yt, onDeactivated as Ll, toDisplayString as ne, resolveDynamicComponent as br, toHandlers as jl, reactive as Zt, h as V, watchEffect as Ie, resolveComponent as Dl, createTextVNode as le, createApp as Bl, toRefs as Zo, shallowReactive as Hl, withModifiers as zl, render as is, onUnmounted as Le, vModelText as Io, pushScopeId as Qt, popScopeId as Xt, hasInjectionContext as Ul, markRaw as mn, effectScope as Vl, isReactive as yr, toRaw as Wl, renderList as at } from "vue";
1
+ import { getCurrentScope as wa, onScopeDispose as xa, ref as M, readonly as Ea, unref as y, getCurrentInstance as je, onMounted as X, nextTick as tt, watch as Y, defineComponent as H, openBlock as T, createElementBlock as R, createElementVNode as h, warn as $l, isVNode as ao, inject as Z, computed as E, isRef as wt, shallowRef as gr, onBeforeUnmount as We, onBeforeMount as Nl, provide as re, renderSlot as oe, mergeProps as Jt, normalizeClass as se, normalizeStyle as Pn, withDirectives as He, cloneVNode as Sa, Fragment as ie, Text as Rl, Comment as Ll, createVNode as Q, createBlock as ee, withCtx as U, createCommentVNode as j, toRef as Xe, Teleport as ka, Transition as Tt, vShow as Yt, onDeactivated as Fl, toDisplayString as ne, resolveDynamicComponent as br, toHandlers as jl, reactive as Zt, h as V, watchEffect as Me, resolveComponent as Dl, createTextVNode as le, createApp as Bl, toRefs as Zo, shallowReactive as Hl, withModifiers as zl, render as is, onUnmounted as Fe, vModelText as Mo, pushScopeId as Qt, popScopeId as Xt, hasInjectionContext as Ul, markRaw as mn, effectScope as Vl, isReactive as yr, toRaw as Wl, renderList as at } from "vue";
2
2
  function Oa(e, t) {
3
3
  return function() {
4
4
  return e.apply(t, arguments);
@@ -49,9 +49,9 @@ function Ca(e, t) {
49
49
  return r;
50
50
  return null;
51
51
  }
52
- const Aa = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Ma = (e) => !wn(e) && e !== Aa;
52
+ const Aa = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Ia = (e) => !wn(e) && e !== Aa;
53
53
  function Qo() {
54
- const { caseless: e } = Ma(this) && this || {}, t = {}, n = (o, r) => {
54
+ const { caseless: e } = Ia(this) && this || {}, t = {}, n = (o, r) => {
55
55
  const s = e && Ca(t, r) || r;
56
56
  Jn(t[s]) && Jn(o) ? t[s] = Qo(t[s], o) : Jn(o) ? t[s] = Qo({}, o) : en(o) ? t[s] = o.slice() : t[s] = o;
57
57
  };
@@ -110,13 +110,13 @@ const sc = (e, t, n, { allOwnKeys: o } = {}) => (Cn(t, (r, s) => {
110
110
  function(n, o, r) {
111
111
  return o.toUpperCase() + r;
112
112
  }
113
- ), ls = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), vc = qe("RegExp"), Ia = (e, t) => {
113
+ ), ls = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), vc = qe("RegExp"), Ma = (e, t) => {
114
114
  const n = Object.getOwnPropertyDescriptors(e), o = {};
115
115
  Cn(n, (r, s) => {
116
116
  t(r, s, e) !== !1 && (o[s] = r);
117
117
  }), Object.defineProperties(e, o);
118
118
  }, gc = (e) => {
119
- Ia(e, (t, n) => {
119
+ Ma(e, (t, n) => {
120
120
  if (Te(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
121
121
  return !1;
122
122
  const o = e[n];
@@ -207,7 +207,7 @@ const Ec = (e) => {
207
207
  hasOwnProperty: ls,
208
208
  hasOwnProp: ls,
209
209
  // an alias to avoid ESLint no-prototype-builtins detection
210
- reduceDescriptors: Ia,
210
+ reduceDescriptors: Ma,
211
211
  freezeMethods: gc,
212
212
  toObjectSet: bc,
213
213
  toCamelCase: mc,
@@ -215,7 +215,7 @@ const Ec = (e) => {
215
215
  toFiniteNumber: _c,
216
216
  findKey: Ca,
217
217
  global: Aa,
218
- isContextDefined: Ma,
218
+ isContextDefined: Ia,
219
219
  ALPHABET: $a,
220
220
  generateString: wc,
221
221
  isSpecCompliantForm: xc,
@@ -277,12 +277,12 @@ const Oc = null;
277
277
  function Xo(e) {
278
278
  return S.isPlainObject(e) || S.isArray(e);
279
279
  }
280
- function Fa(e) {
280
+ function La(e) {
281
281
  return S.endsWith(e, "[]") ? e.slice(0, -2) : e;
282
282
  }
283
283
  function us(e, t, n) {
284
284
  return e ? e.concat(t).map(function(r, s) {
285
- return r = Fa(r), !n && s ? "[" + r + "]" : r;
285
+ return r = La(r), !n && s ? "[" + r + "]" : r;
286
286
  }).join(n ? "." : "") : t;
287
287
  }
288
288
  function Tc(e) {
@@ -319,7 +319,7 @@ function bo(e, t, n) {
319
319
  if (S.endsWith(v, "{}"))
320
320
  v = o ? v : v.slice(0, -2), p = JSON.stringify(p);
321
321
  else if (S.isArray(p) && Tc(p) || (S.isFileList(p) || S.endsWith(v, "[]")) && (g = S.toArray(p)))
322
- return v = Fa(v), g.forEach(function(P, C) {
322
+ return v = La(v), g.forEach(function(P, C) {
323
323
  !(S.isUndefined(P) || P === null) && t.append(
324
324
  // eslint-disable-next-line no-nested-ternary
325
325
  a === !0 ? us([v], C, s) : a === null ? v : v + "[]",
@@ -370,11 +370,11 @@ function ds(e) {
370
370
  function wr(e, t) {
371
371
  this._pairs = [], e && bo(e, this, t);
372
372
  }
373
- const La = wr.prototype;
374
- La.append = function(t, n) {
373
+ const Fa = wr.prototype;
374
+ Fa.append = function(t, n) {
375
375
  this._pairs.push([t, n]);
376
376
  };
377
- La.toString = function(t) {
377
+ Fa.toString = function(t) {
378
378
  const n = t ? function(o) {
379
379
  return t.call(this, o, ds);
380
380
  } : ds;
@@ -454,29 +454,29 @@ const fs = Ac, Da = {
454
454
  silentJSONParsing: !0,
455
455
  forcedJSONParsing: !0,
456
456
  clarifyTimeoutError: !1
457
- }, Mc = typeof URLSearchParams < "u" ? URLSearchParams : wr, Ic = typeof FormData < "u" ? FormData : null, $c = typeof Blob < "u" ? Blob : null, Nc = (() => {
457
+ }, Ic = typeof URLSearchParams < "u" ? URLSearchParams : wr, Mc = typeof FormData < "u" ? FormData : null, $c = typeof Blob < "u" ? Blob : null, Nc = (() => {
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
  })(), Rc = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
461
461
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Be = {
462
462
  isBrowser: !0,
463
463
  classes: {
464
- URLSearchParams: Mc,
465
- FormData: Ic,
464
+ URLSearchParams: Ic,
465
+ FormData: Mc,
466
466
  Blob: $c
467
467
  },
468
468
  isStandardBrowserEnv: Nc,
469
469
  isStandardBrowserWebWorkerEnv: Rc,
470
470
  protocols: ["http", "https", "file", "blob", "url", "data"]
471
471
  };
472
- function Fc(e, t) {
472
+ function Lc(e, t) {
473
473
  return bo(e, new Be.classes.URLSearchParams(), Object.assign({
474
474
  visitor: function(n, o, r, s) {
475
475
  return Be.isNode && S.isBuffer(n) ? (this.append(o, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
476
476
  }
477
477
  }, t));
478
478
  }
479
- function Lc(e) {
479
+ function Fc(e) {
480
480
  return S.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
481
481
  }
482
482
  function jc(e) {
@@ -497,7 +497,7 @@ function Ba(e) {
497
497
  if (S.isFormData(e) && S.isFunction(e.entries)) {
498
498
  const n = {};
499
499
  return S.forEachEntry(e, (o, r) => {
500
- t(Lc(o), r, n, 0);
500
+ t(Fc(o), r, n, 0);
501
501
  }), n;
502
502
  }
503
503
  return null;
@@ -531,7 +531,7 @@ const yo = {
531
531
  let i;
532
532
  if (s) {
533
533
  if (o.indexOf("application/x-www-form-urlencoded") > -1)
534
- return Fc(t, this.formSerializer).toString();
534
+ return Lc(t, this.formSerializer).toString();
535
535
  if ((i = S.isFileList(t)) || o.indexOf("multipart/form-data") > -1) {
536
536
  const c = this.env && this.env.FormData;
537
537
  return bo(
@@ -996,22 +996,22 @@ const nu = {
996
996
  },
997
997
  adapters: Zn
998
998
  };
999
- function Fo(e) {
999
+ function Lo(e) {
1000
1000
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1001
1001
  throw new An(null, e);
1002
1002
  }
1003
1003
  function ms(e) {
1004
- return Fo(e), e.headers = et.from(e.headers), e.data = Ro.call(
1004
+ return Lo(e), e.headers = et.from(e.headers), e.data = Ro.call(
1005
1005
  e,
1006
1006
  e.transformRequest
1007
1007
  ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), nu.getAdapter(e.adapter || xr.adapter)(e).then(function(o) {
1008
- return Fo(e), o.data = Ro.call(
1008
+ return Lo(e), o.data = Ro.call(
1009
1009
  e,
1010
1010
  e.transformResponse,
1011
1011
  o
1012
1012
  ), o.headers = et.from(o.headers), o;
1013
1013
  }, function(o) {
1014
- return Ha(o) || (Fo(e), o && o.response && (o.response.data = Ro.call(
1014
+ return Ha(o) || (Lo(e), o && o.response && (o.response.data = Ro.call(
1015
1015
  e,
1016
1016
  e.transformResponse,
1017
1017
  o.response
@@ -1410,12 +1410,12 @@ const lu = ce, Wa = lu.create({
1410
1410
  // 配置对象
1411
1411
  // 基础路径:发请求的时候路径当中会出现api
1412
1412
  // 请求超时的时间5s
1413
- baseURL: "https://a2.imgkits.com",
1413
+ baseURL: "https://api.imgkits.com",
1414
1414
  timeout: 5e4
1415
1415
  });
1416
1416
  Wa.interceptors.request.use((e) => (console.log(e), e), (e) => Promise.reject(e));
1417
1417
  Wa.interceptors.response.use((e) => e.data, (e) => Promise.reject(new Error(e)));
1418
- const Lo = "@", ln = window.localStorage, bs = {
1418
+ const Fo = "@", ln = window.localStorage, bs = {
1419
1419
  number: {
1420
1420
  save: (e) => e,
1421
1421
  parse: (e) => Number.parseFloat(e)
@@ -1437,7 +1437,7 @@ const Lo = "@", ln = window.localStorage, bs = {
1437
1437
  function ys(e) {
1438
1438
  return bs[e] || bs.default;
1439
1439
  }
1440
- const Ln = {
1440
+ const Fn = {
1441
1441
  get(e) {
1442
1442
  let t = ln.getItem(e);
1443
1443
  if (t) {
@@ -1454,10 +1454,10 @@ const Ln = {
1454
1454
  put(e, t, n) {
1455
1455
  const o = typeof t, r = ys(o);
1456
1456
  if (!n)
1457
- t = o + Lo + encodeURIComponent(r.save(t));
1457
+ t = o + Fo + encodeURIComponent(r.save(t));
1458
1458
  else {
1459
1459
  let s = n * 24 * 60 * 60 * 1e3 + (/* @__PURE__ */ new Date()).getTime();
1460
- t = o + Lo + encodeURIComponent(r.save(t)) + Lo + s;
1460
+ t = o + Fo + encodeURIComponent(r.save(t)) + Fo + s;
1461
1461
  }
1462
1462
  ln.setItem(e, t);
1463
1463
  },
@@ -1506,7 +1506,7 @@ function pu(e, t = !0) {
1506
1506
  function nr(e, t, n = {}) {
1507
1507
  const {
1508
1508
  immediate: o = !0
1509
- } = n, r = I(!1);
1509
+ } = n, r = M(!1);
1510
1510
  let s = null;
1511
1511
  function a() {
1512
1512
  s && (clearTimeout(s), s = null);
@@ -1583,7 +1583,7 @@ function hu(e, t, n = {}) {
1583
1583
  return () => u.forEach((f) => f());
1584
1584
  }
1585
1585
  function mu(e, t = !1) {
1586
- const n = I(), o = () => n.value = !!e();
1586
+ const n = M(), o = () => n.value = !!e();
1587
1587
  return o(), pu(o, t), n;
1588
1588
  }
1589
1589
  const xs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Es = "__vueuse_ssr_handlers__";
@@ -1664,12 +1664,12 @@ const lo = () => {
1664
1664
  );
1665
1665
  var Cu = typeof global == "object" && global && global.Object === Object && global;
1666
1666
  const Au = Cu;
1667
- var Mu = typeof self == "object" && self && self.Object === Object && self, Iu = Au || Mu || Function("return this")();
1668
- const Tr = Iu;
1667
+ var Iu = typeof self == "object" && self && self.Object === Object && self, Mu = Au || Iu || Function("return this")();
1668
+ const Tr = Mu;
1669
1669
  var $u = Tr.Symbol;
1670
1670
  const Ht = $u;
1671
1671
  var Ja = Object.prototype, Nu = Ja.hasOwnProperty, Ru = Ja.toString, cn = Ht ? Ht.toStringTag : void 0;
1672
- function Fu(e) {
1672
+ function Lu(e) {
1673
1673
  var t = Nu.call(e, cn), n = e[cn];
1674
1674
  try {
1675
1675
  e[cn] = void 0;
@@ -1679,13 +1679,13 @@ function Fu(e) {
1679
1679
  var r = Ru.call(e);
1680
1680
  return o && (t ? e[cn] = n : delete e[cn]), r;
1681
1681
  }
1682
- var Lu = Object.prototype, ju = Lu.toString;
1682
+ var Fu = Object.prototype, ju = Fu.toString;
1683
1683
  function Du(e) {
1684
1684
  return ju.call(e);
1685
1685
  }
1686
1686
  var Bu = "[object Null]", Hu = "[object Undefined]", Cs = Ht ? Ht.toStringTag : void 0;
1687
1687
  function Ya(e) {
1688
- return e == null ? e === void 0 ? Hu : Bu : Cs && Cs in Object(e) ? Fu(e) : Du(e);
1688
+ return e == null ? e === void 0 ? Hu : Bu : Cs && Cs in Object(e) ? Lu(e) : Du(e);
1689
1689
  }
1690
1690
  function zu(e) {
1691
1691
  return e != null && typeof e == "object";
@@ -1701,14 +1701,14 @@ function Vu(e, t) {
1701
1701
  }
1702
1702
  var Wu = Array.isArray;
1703
1703
  const Cr = Wu;
1704
- var qu = 1 / 0, As = Ht ? Ht.prototype : void 0, Ms = As ? As.toString : void 0;
1704
+ var qu = 1 / 0, As = Ht ? Ht.prototype : void 0, Is = As ? As.toString : void 0;
1705
1705
  function Za(e) {
1706
1706
  if (typeof e == "string")
1707
1707
  return e;
1708
1708
  if (Cr(e))
1709
1709
  return Vu(e, Za) + "";
1710
1710
  if (Pr(e))
1711
- return Ms ? Ms.call(e) : "";
1711
+ return Is ? Is.call(e) : "";
1712
1712
  var t = e + "";
1713
1713
  return t == "0" && 1 / e == -qu ? "-0" : t;
1714
1714
  }
@@ -1725,12 +1725,12 @@ function Zu(e) {
1725
1725
  }
1726
1726
  var Qu = Tr["__core-js_shared__"];
1727
1727
  const Do = Qu;
1728
- var Is = function() {
1728
+ var Ms = function() {
1729
1729
  var e = /[^.]+$/.exec(Do && Do.keys && Do.keys.IE_PROTO || "");
1730
1730
  return e ? "Symbol(src)_1." + e : "";
1731
1731
  }();
1732
1732
  function Xu(e) {
1733
- return !!Is && Is in e;
1733
+ return !!Ms && Ms in e;
1734
1734
  }
1735
1735
  var ed = Function.prototype, td = ed.toString;
1736
1736
  function nd(e) {
@@ -1822,14 +1822,14 @@ function xo(e, t) {
1822
1822
  return -1;
1823
1823
  }
1824
1824
  var Cd = Array.prototype, Ad = Cd.splice;
1825
- function Md(e) {
1825
+ function Id(e) {
1826
1826
  var t = this.__data__, n = xo(t, e);
1827
1827
  if (n < 0)
1828
1828
  return !1;
1829
1829
  var o = t.length - 1;
1830
1830
  return n == o ? t.pop() : Ad.call(t, n, 1), --this.size, !0;
1831
1831
  }
1832
- function Id(e) {
1832
+ function Md(e) {
1833
1833
  var t = this.__data__, n = xo(t, e);
1834
1834
  return n < 0 ? void 0 : t[n][1];
1835
1835
  }
@@ -1848,16 +1848,16 @@ function tn(e) {
1848
1848
  }
1849
1849
  }
1850
1850
  tn.prototype.clear = Pd;
1851
- tn.prototype.delete = Md;
1852
- tn.prototype.get = Id;
1851
+ tn.prototype.delete = Id;
1852
+ tn.prototype.get = Md;
1853
1853
  tn.prototype.has = $d;
1854
1854
  tn.prototype.set = Nd;
1855
1855
  var Rd = Xa(Tr, "Map");
1856
- const Fd = Rd;
1857
- function Ld() {
1856
+ const Ld = Rd;
1857
+ function Fd() {
1858
1858
  this.size = 0, this.__data__ = {
1859
1859
  hash: new xt(),
1860
- map: new (Fd || tn)(),
1860
+ map: new (Ld || tn)(),
1861
1861
  string: new xt()
1862
1862
  };
1863
1863
  }
@@ -1890,7 +1890,7 @@ function Ct(e) {
1890
1890
  this.set(o[0], o[1]);
1891
1891
  }
1892
1892
  }
1893
- Ct.prototype.clear = Ld;
1893
+ Ct.prototype.clear = Fd;
1894
1894
  Ct.prototype.delete = Dd;
1895
1895
  Ct.prototype.get = Bd;
1896
1896
  Ct.prototype.has = Hd;
@@ -2168,7 +2168,7 @@ const ii = "__epPropKey", G = (e) => e, wf = (e) => Pt(e) && !!e[ii], So = (e, t
2168
2168
  return e;
2169
2169
  }, Ef = (e, t) => (e.install = (n) => {
2170
2170
  e._context = n._context, n.config.globalProperties[t] = e;
2171
- }, e), Mr = (e) => (e.install = lo, e), me = {
2171
+ }, e), Ir = (e) => (e.install = lo, e), me = {
2172
2172
  tab: "Tab",
2173
2173
  enter: "Enter",
2174
2174
  space: "Space",
@@ -2365,23 +2365,23 @@ const Tf = (e) => (t, n) => Pf(t, n, y(e)), Pf = (e, t, n) => tf(n, e, e).replac
2365
2365
  var s;
2366
2366
  return `${(s = t == null ? void 0 : t[r]) != null ? s : `{${r}}`}`;
2367
2367
  }), Cf = (e) => {
2368
- const t = E(() => y(e).name), n = wt(e) ? e : I(e);
2368
+ const t = E(() => y(e).name), n = wt(e) ? e : M(e);
2369
2369
  return {
2370
2370
  lang: t,
2371
2371
  locale: n,
2372
2372
  t: Tf(e)
2373
2373
  };
2374
2374
  }, li = Symbol("localeContextKey"), Af = (e) => {
2375
- const t = e || Z(li, I());
2375
+ const t = e || Z(li, M());
2376
2376
  return Cf(E(() => t.value || Of));
2377
- }, oo = "el", Mf = "is-", ft = (e, t, n, o, r) => {
2377
+ }, oo = "el", If = "is-", ft = (e, t, n, o, r) => {
2378
2378
  let s = `${e}-${t}`;
2379
2379
  return n && (s += `-${n}`), o && (s += `__${o}`), r && (s += `--${r}`), s;
2380
- }, ci = Symbol("namespaceContextKey"), Ir = (e) => {
2381
- const t = e || (je() ? Z(ci, I(oo)) : I(oo));
2380
+ }, ci = Symbol("namespaceContextKey"), Mr = (e) => {
2381
+ const t = e || (je() ? Z(ci, M(oo)) : M(oo));
2382
2382
  return E(() => y(t) || oo);
2383
2383
  }, ae = (e, t) => {
2384
- const n = Ir(t);
2384
+ const n = Mr(t);
2385
2385
  return {
2386
2386
  namespace: n,
2387
2387
  b: (v = "") => ft(n.value, e, v, "", ""),
@@ -2393,7 +2393,7 @@ const Tf = (e) => (t, n) => Pf(t, n, y(e)), Pf = (e, t, n) => tf(n, e, e).replac
2393
2393
  bem: (v, _, g) => v && _ && g ? ft(n.value, e, v, _, g) : "",
2394
2394
  is: (v, ..._) => {
2395
2395
  const g = _.length >= 1 ? _[0] : !0;
2396
- return v && g ? `${Mf}${v}` : "";
2396
+ return v && g ? `${If}${v}` : "";
2397
2397
  },
2398
2398
  cssVar: (v) => {
2399
2399
  const _ = {};
@@ -2410,14 +2410,14 @@ const Tf = (e) => (t, n) => Pf(t, n, y(e)), Pf = (e, t, n) => tf(n, e, e).replac
2410
2410
  },
2411
2411
  cssVarBlockName: (v) => `--${n.value}-${e}-${v}`
2412
2412
  };
2413
- }, If = So({
2413
+ }, Mf = So({
2414
2414
  type: G(Boolean),
2415
2415
  default: null
2416
2416
  }), $f = So({
2417
2417
  type: G(Function)
2418
2418
  }), ui = (e) => {
2419
2419
  const t = `update:${e}`, n = `onUpdate:${e}`, o = [t], r = {
2420
- [e]: If,
2420
+ [e]: Mf,
2421
2421
  [n]: $f
2422
2422
  };
2423
2423
  return {
@@ -2436,13 +2436,13 @@ const Tf = (e) => (t, n) => Pf(t, n, y(e)), Pf = (e, t, n) => tf(n, e, e).replac
2436
2436
  }, P = (b) => {
2437
2437
  if (p.disabled === !0 || mt(l) && !l())
2438
2438
  return;
2439
- const F = v.value && ve;
2440
- F && m(t, !0), (_.value || !F) && g(b);
2439
+ const L = v.value && ve;
2440
+ L && m(t, !0), (_.value || !L) && g(b);
2441
2441
  }, C = (b) => {
2442
2442
  if (p.disabled === !0 || !ve)
2443
2443
  return;
2444
- const F = v.value && ve;
2445
- F && m(t, !1), (_.value || !F) && O(b);
2444
+ const L = v.value && ve;
2445
+ L && m(t, !1), (_.value || !L) && O(b);
2446
2446
  }, A = (b) => {
2447
2447
  ei(b) && (p.disabled && b ? v.value && m(t, !1) : a.value !== b && (b ? g() : O()));
2448
2448
  }, $ = () => {
@@ -2466,11 +2466,11 @@ const Tf = (e) => (t, n) => Pf(t, n, y(e)), Pf = (e, t, n) => tf(n, e, e).replac
2466
2466
  };
2467
2467
  };
2468
2468
  ui("modelValue");
2469
- var _e = "top", Ae = "bottom", Me = "right", we = "left", $r = "auto", Mn = [_e, Ae, Me, we], zt = "start", kn = "end", Nf = "clippingParents", di = "viewport", dn = "popper", Rf = "reference", Rs = Mn.reduce(function(e, t) {
2469
+ var _e = "top", Ae = "bottom", Ie = "right", we = "left", $r = "auto", In = [_e, Ae, Ie, we], zt = "start", kn = "end", Nf = "clippingParents", di = "viewport", dn = "popper", Rf = "reference", Rs = In.reduce(function(e, t) {
2470
2470
  return e.concat([t + "-" + zt, t + "-" + kn]);
2471
- }, []), Nr = [].concat(Mn, [$r]).reduce(function(e, t) {
2471
+ }, []), Nr = [].concat(In, [$r]).reduce(function(e, t) {
2472
2472
  return e.concat([t, t + "-" + zt, t + "-" + kn]);
2473
- }, []), Ff = "beforeRead", Lf = "read", jf = "afterRead", Df = "beforeMain", Bf = "main", Hf = "afterMain", zf = "beforeWrite", Uf = "write", Vf = "afterWrite", Wf = [Ff, Lf, jf, Df, Bf, Hf, zf, Uf, Vf];
2473
+ }, []), Lf = "beforeRead", Ff = "read", jf = "afterRead", Df = "beforeMain", Bf = "main", Hf = "afterMain", zf = "beforeWrite", Uf = "write", Vf = "afterWrite", Wf = [Lf, Ff, jf, Df, Bf, Hf, zf, Uf, Vf];
2474
2474
  function Ve(e) {
2475
2475
  return e ? (e.nodeName || "").toLowerCase() : null;
2476
2476
  }
@@ -2534,7 +2534,7 @@ function Wt(e, t) {
2534
2534
  }
2535
2535
  return { width: n.width / o, height: n.height / r, top: n.top / r, right: n.right / o, bottom: n.bottom / r, left: n.left / o, x: n.left / o, y: n.top / r };
2536
2536
  }
2537
- function Fr(e) {
2537
+ function Lr(e) {
2538
2538
  var t = Wt(e), n = e.offsetWidth, o = e.offsetHeight;
2539
2539
  return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - o) <= 1 && (o = t.height), { x: e.offsetLeft, y: e.offsetTop, width: n, height: o };
2540
2540
  }
@@ -2564,7 +2564,7 @@ function ct(e) {
2564
2564
  function ko(e) {
2565
2565
  return Ve(e) === "html" ? e : e.assignedSlot || e.parentNode || (Rr(e) ? e.host : null) || ct(e);
2566
2566
  }
2567
- function Fs(e) {
2567
+ function Ls(e) {
2568
2568
  return !Pe(e) || nt(e).position === "fixed" ? null : e.offsetParent;
2569
2569
  }
2570
2570
  function Jf(e) {
@@ -2583,12 +2583,12 @@ function Jf(e) {
2583
2583
  }
2584
2584
  return null;
2585
2585
  }
2586
- function In(e) {
2587
- for (var t = De(e), n = Fs(e); n && Kf(n) && nt(n).position === "static"; )
2588
- n = Fs(n);
2586
+ function Mn(e) {
2587
+ for (var t = De(e), n = Ls(e); n && Kf(n) && nt(n).position === "static"; )
2588
+ n = Ls(n);
2589
2589
  return n && (Ve(n) === "html" || Ve(n) === "body" && nt(n).position === "static") ? t : n || Jf(e) || t;
2590
2590
  }
2591
- function Lr(e) {
2591
+ function Fr(e) {
2592
2592
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
2593
2593
  }
2594
2594
  function bn(e, t, n) {
@@ -2610,13 +2610,13 @@ function vi(e, t) {
2610
2610
  }, {});
2611
2611
  }
2612
2612
  var Zf = function(e, t) {
2613
- return e = typeof e == "function" ? e(Object.assign({}, t.rects, { placement: t.placement })) : e, mi(typeof e != "number" ? e : vi(e, Mn));
2613
+ return e = typeof e == "function" ? e(Object.assign({}, t.rects, { placement: t.placement })) : e, mi(typeof e != "number" ? e : vi(e, In));
2614
2614
  };
2615
2615
  function Qf(e) {
2616
- var t, n = e.state, o = e.name, r = e.options, s = n.elements.arrow, a = n.modifiersData.popperOffsets, i = ze(n.placement), c = Lr(i), l = [we, Me].indexOf(i) >= 0, u = l ? "height" : "width";
2616
+ var t, n = e.state, o = e.name, r = e.options, s = n.elements.arrow, a = n.modifiersData.popperOffsets, i = ze(n.placement), c = Fr(i), l = [we, Ie].indexOf(i) >= 0, u = l ? "height" : "width";
2617
2617
  if (!(!s || !a)) {
2618
- var d = Zf(r.padding, n), f = Fr(s), m = c === "y" ? _e : we, p = c === "y" ? Ae : Me, v = n.rects.reference[u] + n.rects.reference[c] - a[c] - n.rects.popper[u], _ = a[c] - n.rects.reference[c], g = In(s), O = g ? c === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, P = v / 2 - _ / 2, C = d[m], A = O - f[u] - d[p], $ = O / 2 - f[u] / 2 + P, b = bn(C, $, A), F = c;
2619
- n.modifiersData[o] = (t = {}, t[F] = b, t.centerOffset = b - $, t);
2618
+ var d = Zf(r.padding, n), f = Lr(s), m = c === "y" ? _e : we, p = c === "y" ? Ae : Ie, v = n.rects.reference[u] + n.rects.reference[c] - a[c] - n.rects.popper[u], _ = a[c] - n.rects.reference[c], g = Mn(s), O = g ? c === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, P = v / 2 - _ / 2, C = d[m], A = O - f[u] - d[p], $ = O / 2 - f[u] / 2 + P, b = bn(C, $, A), L = c;
2619
+ n.modifiersData[o] = (t = {}, t[L] = b, t.centerOffset = b - $, t);
2620
2620
  }
2621
2621
  }
2622
2622
  function Xf(e) {
@@ -2632,25 +2632,25 @@ function np(e) {
2632
2632
  var t = e.x, n = e.y, o = window, r = o.devicePixelRatio || 1;
2633
2633
  return { x: Vt(t * r) / r || 0, y: Vt(n * r) / r || 0 };
2634
2634
  }
2635
- function Ls(e) {
2635
+ function Fs(e) {
2636
2636
  var t, n = e.popper, o = e.popperRect, r = e.placement, s = e.variation, a = e.offsets, i = e.position, c = e.gpuAcceleration, l = e.adaptive, u = e.roundOffsets, d = e.isFixed, f = a.x, m = f === void 0 ? 0 : f, p = a.y, v = p === void 0 ? 0 : p, _ = typeof u == "function" ? u({ x: m, y: v }) : { x: m, y: v };
2637
2637
  m = _.x, v = _.y;
2638
2638
  var g = a.hasOwnProperty("x"), O = a.hasOwnProperty("y"), P = we, C = _e, A = window;
2639
2639
  if (l) {
2640
- var $ = In(n), b = "clientHeight", F = "clientWidth";
2641
- if ($ === De(n) && ($ = ct(n), nt($).position !== "static" && i === "absolute" && (b = "scrollHeight", F = "scrollWidth")), $ = $, r === _e || (r === we || r === Me) && s === kn) {
2640
+ var $ = Mn(n), b = "clientHeight", L = "clientWidth";
2641
+ if ($ === De(n) && ($ = ct(n), nt($).position !== "static" && i === "absolute" && (b = "scrollHeight", L = "scrollWidth")), $ = $, r === _e || (r === we || r === Ie) && s === kn) {
2642
2642
  C = Ae;
2643
- var L = d && $ === A && A.visualViewport ? A.visualViewport.height : $[b];
2644
- v -= L - o.height, v *= c ? 1 : -1;
2643
+ var F = d && $ === A && A.visualViewport ? A.visualViewport.height : $[b];
2644
+ v -= F - o.height, v *= c ? 1 : -1;
2645
2645
  }
2646
2646
  if (r === we || (r === _e || r === Ae) && s === kn) {
2647
- P = Me;
2648
- var x = d && $ === A && A.visualViewport ? A.visualViewport.width : $[F];
2647
+ P = Ie;
2648
+ var x = d && $ === A && A.visualViewport ? A.visualViewport.width : $[L];
2649
2649
  m -= x - o.width, m *= c ? 1 : -1;
2650
2650
  }
2651
2651
  }
2652
- var w = Object.assign({ position: i }, l && tp), M = u === !0 ? np({ x: m, y: v }) : { x: m, y: v };
2653
- if (m = M.x, v = M.y, c) {
2652
+ var w = Object.assign({ position: i }, l && tp), I = u === !0 ? np({ x: m, y: v }) : { x: m, y: v };
2653
+ if (m = I.x, v = I.y, c) {
2654
2654
  var N;
2655
2655
  return Object.assign({}, w, (N = {}, N[C] = O ? "0" : "", N[P] = g ? "0" : "", N.transform = (A.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + v + "px)" : "translate3d(" + m + "px, " + v + "px, 0)", N));
2656
2656
  }
@@ -2658,7 +2658,7 @@ function Ls(e) {
2658
2658
  }
2659
2659
  function op(e) {
2660
2660
  var t = e.state, n = e.options, o = n.gpuAcceleration, r = o === void 0 ? !0 : o, s = n.adaptive, a = s === void 0 ? !0 : s, i = n.roundOffsets, c = i === void 0 ? !0 : i, l = { placement: ze(t.placement), variation: qt(t.placement), popper: t.elements.popper, popperRect: t.rects.popper, gpuAcceleration: r, isFixed: t.options.strategy === "fixed" };
2661
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Ls(Object.assign({}, l, { offsets: t.modifiersData.popperOffsets, position: t.options.strategy, adaptive: a, roundOffsets: c })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Ls(Object.assign({}, l, { offsets: t.modifiersData.arrow, position: "absolute", adaptive: !1, roundOffsets: c })))), t.attributes.popper = Object.assign({}, t.attributes.popper, { "data-popper-placement": t.placement });
2661
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Fs(Object.assign({}, l, { offsets: t.modifiersData.popperOffsets, position: t.options.strategy, adaptive: a, roundOffsets: c })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Fs(Object.assign({}, l, { offsets: t.modifiersData.arrow, position: "absolute", adaptive: !1, roundOffsets: c })))), t.attributes.popper = Object.assign({}, t.attributes.popper, { "data-popper-placement": t.placement });
2662
2662
  }
2663
2663
  var gi = { name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: op, data: {} }, Dn = { passive: !0 };
2664
2664
  function rp(e) {
@@ -2723,7 +2723,7 @@ function Ds(e, t) {
2723
2723
  return t === di ? rr(ip(e)) : Ut(t) ? cp(t) : rr(lp(ct(e)));
2724
2724
  }
2725
2725
  function up(e) {
2726
- var t = yn(ko(e)), n = ["absolute", "fixed"].indexOf(nt(e).position) >= 0, o = n && Pe(e) ? In(e) : e;
2726
+ var t = yn(ko(e)), n = ["absolute", "fixed"].indexOf(nt(e).position) >= 0, o = n && Pe(e) ? Mn(e) : e;
2727
2727
  return Ut(o) ? t.filter(function(r) {
2728
2728
  return Ut(r) && pi(r, o) && Ve(r) !== "body";
2729
2729
  }) : [];
@@ -2744,7 +2744,7 @@ function _i(e) {
2744
2744
  case Ae:
2745
2745
  c = { x: a, y: t.y + t.height };
2746
2746
  break;
2747
- case Me:
2747
+ case Ie:
2748
2748
  c = { x: t.x + t.width, y: i };
2749
2749
  break;
2750
2750
  case we:
@@ -2753,7 +2753,7 @@ function _i(e) {
2753
2753
  default:
2754
2754
  c = { x: t.x, y: t.y };
2755
2755
  }
2756
- var l = r ? Lr(r) : null;
2756
+ var l = r ? Fr(r) : null;
2757
2757
  if (l != null) {
2758
2758
  var u = l === "y" ? "height" : "width";
2759
2759
  switch (s) {
@@ -2769,21 +2769,21 @@ function _i(e) {
2769
2769
  }
2770
2770
  function On(e, t) {
2771
2771
  t === void 0 && (t = {});
2772
- var n = t, o = n.placement, r = o === void 0 ? e.placement : o, s = n.boundary, a = s === void 0 ? Nf : s, i = n.rootBoundary, c = i === void 0 ? di : i, l = n.elementContext, u = l === void 0 ? dn : l, d = n.altBoundary, f = d === void 0 ? !1 : d, m = n.padding, p = m === void 0 ? 0 : m, v = mi(typeof p != "number" ? p : vi(p, Mn)), _ = u === dn ? Rf : dn, g = e.rects.popper, O = e.elements[f ? _ : u], P = dp(Ut(O) ? O : O.contextElement || ct(e.elements.popper), a, c), C = Wt(e.elements.reference), A = _i({ reference: C, element: g, strategy: "absolute", placement: r }), $ = rr(Object.assign({}, g, A)), b = u === dn ? $ : C, F = { top: P.top - b.top + v.top, bottom: b.bottom - P.bottom + v.bottom, left: P.left - b.left + v.left, right: b.right - P.right + v.right }, L = e.modifiersData.offset;
2773
- if (u === dn && L) {
2774
- var x = L[r];
2775
- Object.keys(F).forEach(function(w) {
2776
- var M = [Me, Ae].indexOf(w) >= 0 ? 1 : -1, N = [_e, Ae].indexOf(w) >= 0 ? "y" : "x";
2777
- F[w] += x[N] * M;
2772
+ var n = t, o = n.placement, r = o === void 0 ? e.placement : o, s = n.boundary, a = s === void 0 ? Nf : s, i = n.rootBoundary, c = i === void 0 ? di : i, l = n.elementContext, u = l === void 0 ? dn : l, d = n.altBoundary, f = d === void 0 ? !1 : d, m = n.padding, p = m === void 0 ? 0 : m, v = mi(typeof p != "number" ? p : vi(p, In)), _ = u === dn ? Rf : dn, g = e.rects.popper, O = e.elements[f ? _ : u], P = dp(Ut(O) ? O : O.contextElement || ct(e.elements.popper), a, c), C = Wt(e.elements.reference), A = _i({ reference: C, element: g, strategy: "absolute", placement: r }), $ = rr(Object.assign({}, g, A)), b = u === dn ? $ : C, L = { top: P.top - b.top + v.top, bottom: b.bottom - P.bottom + v.bottom, left: P.left - b.left + v.left, right: b.right - P.right + v.right }, F = e.modifiersData.offset;
2773
+ if (u === dn && F) {
2774
+ var x = F[r];
2775
+ Object.keys(L).forEach(function(w) {
2776
+ var I = [Ie, Ae].indexOf(w) >= 0 ? 1 : -1, N = [_e, Ae].indexOf(w) >= 0 ? "y" : "x";
2777
+ L[w] += x[N] * I;
2778
2778
  });
2779
2779
  }
2780
- return F;
2780
+ return L;
2781
2781
  }
2782
2782
  function fp(e, t) {
2783
2783
  t === void 0 && (t = {});
2784
2784
  var n = t, o = n.placement, r = n.boundary, s = n.rootBoundary, a = n.padding, i = n.flipVariations, c = n.allowedAutoPlacements, l = c === void 0 ? Nr : c, u = qt(o), d = u ? i ? Rs : Rs.filter(function(p) {
2785
2785
  return qt(p) === u;
2786
- }) : Mn, f = d.filter(function(p) {
2786
+ }) : In, f = d.filter(function(p) {
2787
2787
  return l.indexOf(p) >= 0;
2788
2788
  });
2789
2789
  f.length === 0 && (f = d);
@@ -2805,19 +2805,19 @@ function hp(e) {
2805
2805
  if (!t.modifiersData[o]._skip) {
2806
2806
  for (var r = n.mainAxis, s = r === void 0 ? !0 : r, a = n.altAxis, i = a === void 0 ? !0 : a, c = n.fallbackPlacements, l = n.padding, u = n.boundary, d = n.rootBoundary, f = n.altBoundary, m = n.flipVariations, p = m === void 0 ? !0 : m, v = n.allowedAutoPlacements, _ = t.options.placement, g = ze(_), O = g === _, P = c || (O || !p ? [ro(_)] : pp(_)), C = [_].concat(P).reduce(function(ut, Je) {
2807
2807
  return ut.concat(ze(Je) === $r ? fp(t, { placement: Je, boundary: u, rootBoundary: d, padding: l, flipVariations: p, allowedAutoPlacements: v }) : Je);
2808
- }, []), A = t.rects.reference, $ = t.rects.popper, b = /* @__PURE__ */ new Map(), F = !0, L = C[0], x = 0; x < C.length; x++) {
2809
- var w = C[x], M = ze(w), N = qt(w) === zt, W = [_e, Ae].indexOf(M) >= 0, q = W ? "width" : "height", z = On(t, { placement: w, boundary: u, rootBoundary: d, altBoundary: f, padding: l }), k = W ? N ? Me : we : N ? Ae : _e;
2808
+ }, []), A = t.rects.reference, $ = t.rects.popper, b = /* @__PURE__ */ new Map(), L = !0, F = C[0], x = 0; x < C.length; x++) {
2809
+ var w = C[x], I = ze(w), N = qt(w) === zt, W = [_e, Ae].indexOf(I) >= 0, q = W ? "width" : "height", z = On(t, { placement: w, boundary: u, rootBoundary: d, altBoundary: f, padding: l }), k = W ? N ? Ie : we : N ? Ae : _e;
2810
2810
  A[q] > $[q] && (k = ro(k));
2811
- var j = ro(k), K = [];
2812
- if (s && K.push(z[M] <= 0), i && K.push(z[k] <= 0, z[j] <= 0), K.every(function(ut) {
2811
+ var D = ro(k), K = [];
2812
+ if (s && K.push(z[I] <= 0), i && K.push(z[k] <= 0, z[D] <= 0), K.every(function(ut) {
2813
2813
  return ut;
2814
2814
  })) {
2815
- L = w, F = !1;
2815
+ F = w, L = !1;
2816
2816
  break;
2817
2817
  }
2818
2818
  b.set(w, K);
2819
2819
  }
2820
- if (F)
2820
+ if (L)
2821
2821
  for (var te = p ? 3 : 1, Ke = function(ut) {
2822
2822
  var Je = C.find(function(Rn) {
2823
2823
  var sn = b.get(Rn);
@@ -2827,13 +2827,13 @@ function hp(e) {
2827
2827
  });
2828
2828
  });
2829
2829
  if (Je)
2830
- return L = Je, "break";
2830
+ return F = Je, "break";
2831
2831
  }, ke = te; ke > 0; ke--) {
2832
2832
  var Nn = Ke(ke);
2833
2833
  if (Nn === "break")
2834
2834
  break;
2835
2835
  }
2836
- t.placement !== L && (t.modifiersData[o]._skip = !0, t.placement = L, t.reset = !0);
2836
+ t.placement !== F && (t.modifiersData[o]._skip = !0, t.placement = F, t.reset = !0);
2837
2837
  }
2838
2838
  }
2839
2839
  var mp = { name: "flip", enabled: !0, phase: "main", fn: hp, requiresIfExists: ["offset"], data: { _skip: !1 } };
@@ -2841,7 +2841,7 @@ function Bs(e, t, n) {
2841
2841
  return n === void 0 && (n = { x: 0, y: 0 }), { top: e.top - t.height - n.y, right: e.right - t.width + n.x, bottom: e.bottom - t.height + n.y, left: e.left - t.width - n.x };
2842
2842
  }
2843
2843
  function Hs(e) {
2844
- return [_e, Me, Ae, we].some(function(t) {
2844
+ return [_e, Ie, Ae, we].some(function(t) {
2845
2845
  return e[t] >= 0;
2846
2846
  });
2847
2847
  }
@@ -2852,7 +2852,7 @@ function vp(e) {
2852
2852
  var gp = { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: vp };
2853
2853
  function bp(e, t, n) {
2854
2854
  var o = ze(e), r = [we, _e].indexOf(o) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, { placement: e })) : n, a = s[0], i = s[1];
2855
- return a = a || 0, i = (i || 0) * r, [we, Me].indexOf(o) >= 0 ? { x: i, y: a } : { x: a, y: i };
2855
+ return a = a || 0, i = (i || 0) * r, [we, Ie].indexOf(o) >= 0 ? { x: i, y: a } : { x: a, y: i };
2856
2856
  }
2857
2857
  function yp(e) {
2858
2858
  var t = e.state, n = e.options, o = e.name, r = n.offset, s = r === void 0 ? [0, 0] : r, a = Nr.reduce(function(u, d) {
@@ -2870,17 +2870,17 @@ function xp(e) {
2870
2870
  return e === "x" ? "y" : "x";
2871
2871
  }
2872
2872
  function Ep(e) {
2873
- var t = e.state, n = e.options, o = e.name, r = n.mainAxis, s = r === void 0 ? !0 : r, a = n.altAxis, i = a === void 0 ? !1 : a, c = n.boundary, l = n.rootBoundary, u = n.altBoundary, d = n.padding, f = n.tether, m = f === void 0 ? !0 : f, p = n.tetherOffset, v = p === void 0 ? 0 : p, _ = On(t, { boundary: c, rootBoundary: l, padding: d, altBoundary: u }), g = ze(t.placement), O = qt(t.placement), P = !O, C = Lr(g), A = xp(C), $ = t.modifiersData.popperOffsets, b = t.rects.reference, F = t.rects.popper, L = typeof v == "function" ? v(Object.assign({}, t.rects, { placement: t.placement })) : v, x = typeof L == "number" ? { mainAxis: L, altAxis: L } : Object.assign({ mainAxis: 0, altAxis: 0 }, L), w = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, M = { x: 0, y: 0 };
2873
+ var t = e.state, n = e.options, o = e.name, r = n.mainAxis, s = r === void 0 ? !0 : r, a = n.altAxis, i = a === void 0 ? !1 : a, c = n.boundary, l = n.rootBoundary, u = n.altBoundary, d = n.padding, f = n.tether, m = f === void 0 ? !0 : f, p = n.tetherOffset, v = p === void 0 ? 0 : p, _ = On(t, { boundary: c, rootBoundary: l, padding: d, altBoundary: u }), g = ze(t.placement), O = qt(t.placement), P = !O, C = Fr(g), A = xp(C), $ = t.modifiersData.popperOffsets, b = t.rects.reference, L = t.rects.popper, F = typeof v == "function" ? v(Object.assign({}, t.rects, { placement: t.placement })) : v, x = typeof F == "number" ? { mainAxis: F, altAxis: F } : Object.assign({ mainAxis: 0, altAxis: 0 }, F), w = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, I = { x: 0, y: 0 };
2874
2874
  if ($) {
2875
2875
  if (s) {
2876
- var N, W = C === "y" ? _e : we, q = C === "y" ? Ae : Me, z = C === "y" ? "height" : "width", k = $[C], j = k + _[W], K = k - _[q], te = m ? -F[z] / 2 : 0, Ke = O === zt ? b[z] : F[z], ke = O === zt ? -F[z] : -b[z], Nn = t.elements.arrow, ut = m && Nn ? Fr(Nn) : { width: 0, height: 0 }, Je = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : hi(), Rn = Je[W], sn = Je[q], Nt = bn(0, b[z], ut[z]), Ol = P ? b[z] / 2 - te - Nt - Rn - x.mainAxis : Ke - Nt - Rn - x.mainAxis, Tl = P ? -b[z] / 2 + te + Nt + sn + x.mainAxis : ke + Nt + sn + x.mainAxis, Ao = t.elements.arrow && In(t.elements.arrow), Pl = Ao ? C === "y" ? Ao.clientTop || 0 : Ao.clientLeft || 0 : 0, Qr = (N = w == null ? void 0 : w[C]) != null ? N : 0, Cl = k + Ol - Qr - Pl, Al = k + Tl - Qr, Xr = bn(m ? uo(j, Cl) : j, k, m ? yt(K, Al) : K);
2877
- $[C] = Xr, M[C] = Xr - k;
2876
+ var N, W = C === "y" ? _e : we, q = C === "y" ? Ae : Ie, z = C === "y" ? "height" : "width", k = $[C], D = k + _[W], K = k - _[q], te = m ? -L[z] / 2 : 0, Ke = O === zt ? b[z] : L[z], ke = O === zt ? -L[z] : -b[z], Nn = t.elements.arrow, ut = m && Nn ? Lr(Nn) : { width: 0, height: 0 }, Je = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : hi(), Rn = Je[W], sn = Je[q], Nt = bn(0, b[z], ut[z]), Ol = P ? b[z] / 2 - te - Nt - Rn - x.mainAxis : Ke - Nt - Rn - x.mainAxis, Tl = P ? -b[z] / 2 + te + Nt + sn + x.mainAxis : ke + Nt + sn + x.mainAxis, Ao = t.elements.arrow && Mn(t.elements.arrow), Pl = Ao ? C === "y" ? Ao.clientTop || 0 : Ao.clientLeft || 0 : 0, Qr = (N = w == null ? void 0 : w[C]) != null ? N : 0, Cl = k + Ol - Qr - Pl, Al = k + Tl - Qr, Xr = bn(m ? uo(D, Cl) : D, k, m ? yt(K, Al) : K);
2877
+ $[C] = Xr, I[C] = Xr - k;
2878
2878
  }
2879
2879
  if (i) {
2880
- var es, Ml = C === "x" ? _e : we, Il = C === "x" ? Ae : Me, dt = $[A], Fn = A === "y" ? "height" : "width", ts = dt + _[Ml], ns = dt - _[Il], Mo = [_e, we].indexOf(g) !== -1, os = (es = w == null ? void 0 : w[A]) != null ? es : 0, rs = Mo ? ts : dt - b[Fn] - F[Fn] - os + x.altAxis, ss = Mo ? dt + b[Fn] + F[Fn] - os - x.altAxis : ns, as = m && Mo ? Yf(rs, dt, ss) : bn(m ? rs : ts, dt, m ? ss : ns);
2881
- $[A] = as, M[A] = as - dt;
2880
+ var es, Il = C === "x" ? _e : we, Ml = C === "x" ? Ae : Ie, dt = $[A], Ln = A === "y" ? "height" : "width", ts = dt + _[Il], ns = dt - _[Ml], Io = [_e, we].indexOf(g) !== -1, os = (es = w == null ? void 0 : w[A]) != null ? es : 0, rs = Io ? ts : dt - b[Ln] - L[Ln] - os + x.altAxis, ss = Io ? dt + b[Ln] + L[Ln] - os - x.altAxis : ns, as = m && Io ? Yf(rs, dt, ss) : bn(m ? rs : ts, dt, m ? ss : ns);
2881
+ $[A] = as, I[A] = as - dt;
2882
2882
  }
2883
- t.modifiersData[o] = M;
2883
+ t.modifiersData[o] = I;
2884
2884
  }
2885
2885
  }
2886
2886
  var Sp = { name: "preventOverflow", enabled: !0, phase: "main", fn: Ep, requiresIfExists: ["offset"] };
@@ -2926,7 +2926,7 @@ function Ap(e) {
2926
2926
  }));
2927
2927
  }, []);
2928
2928
  }
2929
- function Mp(e) {
2929
+ function Ip(e) {
2930
2930
  var t;
2931
2931
  return function() {
2932
2932
  return t || (t = new Promise(function(n) {
@@ -2936,7 +2936,7 @@ function Mp(e) {
2936
2936
  })), t;
2937
2937
  };
2938
2938
  }
2939
- function Ip(e) {
2939
+ function Mp(e) {
2940
2940
  var t = e.reduce(function(n, o) {
2941
2941
  var r = n[o.name];
2942
2942
  return n[o.name] = r ? Object.assign({}, r, o, { options: Object.assign({}, r.options, o.options), data: Object.assign({}, r.data, o.data) }) : o, n;
@@ -2961,7 +2961,7 @@ function Hr(e) {
2961
2961
  var l = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, zs, s), modifiersData: {}, elements: { reference: a, popper: i }, attributes: {}, styles: {} }, u = [], d = !1, f = { state: l, setOptions: function(v) {
2962
2962
  var _ = typeof v == "function" ? v(l.options) : v;
2963
2963
  p(), l.options = Object.assign({}, s, l.options, _), l.scrollParents = { reference: Ut(a) ? yn(a) : a.contextElement ? yn(a.contextElement) : [], popper: yn(i) };
2964
- var g = Ap(Ip([].concat(o, l.options.modifiers)));
2964
+ var g = Ap(Mp([].concat(o, l.options.modifiers)));
2965
2965
  return l.orderedModifiers = g.filter(function(O) {
2966
2966
  return O.enabled;
2967
2967
  }), m(), f.update();
@@ -2969,8 +2969,8 @@ function Hr(e) {
2969
2969
  if (!d) {
2970
2970
  var v = l.elements, _ = v.reference, g = v.popper;
2971
2971
  if (Us(_, g)) {
2972
- l.rects = { reference: Pp(_, In(g), l.options.strategy === "fixed"), popper: Fr(g) }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(F) {
2973
- return l.modifiersData[F.name] = Object.assign({}, F.data);
2972
+ l.rects = { reference: Pp(_, Mn(g), l.options.strategy === "fixed"), popper: Lr(g) }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(L) {
2973
+ return l.modifiersData[L.name] = Object.assign({}, L.data);
2974
2974
  });
2975
2975
  for (var O = 0; O < l.orderedModifiers.length; O++) {
2976
2976
  if (l.reset === !0) {
@@ -2982,7 +2982,7 @@ function Hr(e) {
2982
2982
  }
2983
2983
  }
2984
2984
  }
2985
- }, update: Mp(function() {
2985
+ }, update: Ip(function() {
2986
2986
  return new Promise(function(v) {
2987
2987
  f.forceUpdate(), v(l);
2988
2988
  });
@@ -3016,13 +3016,13 @@ Hr();
3016
3016
  var $p = [bi, wi, gi, fi];
3017
3017
  Hr({ defaultModifiers: $p });
3018
3018
  var Np = [bi, wi, gi, fi, _p, mp, Sp, ep, gp], Rp = Hr({ defaultModifiers: Np });
3019
- const Fp = (e, t, n = {}) => {
3019
+ const Lp = (e, t, n = {}) => {
3020
3020
  const o = {
3021
3021
  name: "updateState",
3022
3022
  enabled: !0,
3023
3023
  phase: "write",
3024
3024
  fn: ({ state: c }) => {
3025
- const l = Lp(c);
3025
+ const l = Fp(c);
3026
3026
  Object.assign(a.value, l);
3027
3027
  },
3028
3028
  requires: ["computeStyles"]
@@ -3038,7 +3038,7 @@ const Fp = (e, t, n = {}) => {
3038
3038
  { name: "applyStyles", enabled: !1 }
3039
3039
  ]
3040
3040
  };
3041
- }), s = gr(), a = I({
3041
+ }), s = gr(), a = M({
3042
3042
  styles: {
3043
3043
  popper: {
3044
3044
  position: y(r).strategy,
@@ -3080,7 +3080,7 @@ const Fp = (e, t, n = {}) => {
3080
3080
  instanceRef: E(() => y(s))
3081
3081
  };
3082
3082
  };
3083
- function Lp(e) {
3083
+ function Fp(e) {
3084
3084
  const t = Object.keys(e.elements), n = or(t.map((r) => [r, e.styles[r] || {}])), o = or(t.map((r) => [r, e.attributes[r]]));
3085
3085
  return {
3086
3086
  styles: n,
@@ -3107,23 +3107,23 @@ usage: app.provide(ID_INJECTION_KEY, {
3107
3107
  prefix: number,
3108
3108
  current: number,
3109
3109
  })`);
3110
- const n = Ir();
3110
+ const n = Mr();
3111
3111
  return E(() => y(e) || `${n.value}-id-${t.prefix}-${t.current++}`);
3112
3112
  };
3113
- let Lt = [];
3113
+ let Ft = [];
3114
3114
  const Ws = (e) => {
3115
3115
  const t = e;
3116
- t.key === me.esc && Lt.forEach((n) => n(t));
3116
+ t.key === me.esc && Ft.forEach((n) => n(t));
3117
3117
  }, Bp = (e) => {
3118
3118
  X(() => {
3119
- Lt.length === 0 && document.addEventListener("keydown", Ws), ve && Lt.push(e);
3119
+ Ft.length === 0 && document.addEventListener("keydown", Ws), ve && Ft.push(e);
3120
3120
  }), We(() => {
3121
- Lt = Lt.filter((t) => t !== e), Lt.length === 0 && ve && document.removeEventListener("keydown", Ws);
3121
+ Ft = Ft.filter((t) => t !== e), Ft.length === 0 && ve && document.removeEventListener("keydown", Ws);
3122
3122
  });
3123
3123
  };
3124
3124
  let qs;
3125
3125
  const Ei = () => {
3126
- const e = Ir(), t = xi(), n = E(() => `${e.value}-popper-container-${t.prefix}`), o = E(() => `#${n.value}`);
3126
+ const e = Mr(), t = xi(), n = E(() => `${e.value}-popper-container-${t.prefix}`), o = E(() => `#${n.value}`);
3127
3127
  return {
3128
3128
  id: n,
3129
3129
  selector: o
@@ -3195,7 +3195,7 @@ const Ei = () => {
3195
3195
  unmounted() {
3196
3196
  e(null);
3197
3197
  }
3198
- }), Gs = I(0), ki = 2e3, Oi = Symbol("zIndexContextKey"), Ti = (e) => {
3198
+ }), Gs = M(0), ki = 2e3, Oi = Symbol("zIndexContextKey"), Ti = (e) => {
3199
3199
  const t = e || (je() ? Z(Oi, void 0) : void 0), n = E(() => {
3200
3200
  const s = y(t);
3201
3201
  return Ue(s) ? s : ki;
@@ -3209,7 +3209,7 @@ const Ei = () => {
3209
3209
  type: String,
3210
3210
  values: Sf,
3211
3211
  required: !1
3212
- }), Kp = Symbol("size"), Pi = Symbol(), fo = I();
3212
+ }), Kp = Symbol("size"), Pi = Symbol(), fo = M();
3213
3213
  function Ci(e, t = void 0) {
3214
3214
  const n = je() ? Z(Pi, fo) : fo;
3215
3215
  return e ? E(() => {
@@ -3231,14 +3231,14 @@ function Ai(e, t) {
3231
3231
  var i;
3232
3232
  return y(t) || ((i = n.value) == null ? void 0 : i.size) || "";
3233
3233
  });
3234
- return Mi(E(() => y(n) || {})), {
3234
+ return Ii(E(() => y(n) || {})), {
3235
3235
  ns: o,
3236
3236
  locale: r,
3237
3237
  zIndex: s,
3238
3238
  size: a
3239
3239
  };
3240
3240
  }
3241
- const Mi = (e, t, n = !1) => {
3241
+ const Ii = (e, t, n = !1) => {
3242
3242
  var o;
3243
3243
  const r = !!je(), s = r ? Ci() : void 0, a = (o = t == null ? void 0 : t.provide) != null ? o : r ? re : void 0;
3244
3244
  if (!a) {
@@ -3293,7 +3293,7 @@ H({
3293
3293
  Y(() => e.message, (o) => {
3294
3294
  Object.assign(ar, o ?? {});
3295
3295
  }, { immediate: !0, deep: !0 });
3296
- const n = Mi(e);
3296
+ const n = Ii(e);
3297
3297
  return () => oe(t, "default", { config: n == null ? void 0 : n.value });
3298
3298
  }
3299
3299
  });
@@ -3333,7 +3333,7 @@ const Zp = ue({
3333
3333
  }
3334
3334
  });
3335
3335
  var eh = /* @__PURE__ */ fe(Xp, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);
3336
- const po = At(eh), Ks = Symbol("formItemContextKey"), zr = Symbol("popper"), Ii = Symbol("popperContent"), th = [
3336
+ const po = At(eh), Ks = Symbol("formItemContextKey"), zr = Symbol("popper"), Mi = Symbol("popperContent"), th = [
3337
3337
  "dialog",
3338
3338
  "grid",
3339
3339
  "group",
@@ -3355,7 +3355,7 @@ const po = At(eh), Ks = Symbol("formItemContextKey"), zr = Symbol("popper"), Ii
3355
3355
  ...nh,
3356
3356
  props: $i,
3357
3357
  setup(e, { expose: t }) {
3358
- const n = e, o = I(), r = I(), s = I(), a = I(), i = E(() => n.role), c = {
3358
+ const n = e, o = M(), r = M(), s = M(), a = M(), i = E(() => n.role), c = {
3359
3359
  triggerRef: o,
3360
3360
  popperInstanceRef: r,
3361
3361
  contentRef: s,
@@ -3378,7 +3378,7 @@ const Ni = ue({
3378
3378
  ...sh,
3379
3379
  props: Ni,
3380
3380
  setup(e, { expose: t }) {
3381
- const n = e, o = ae("popper"), { arrowOffset: r, arrowRef: s, arrowStyle: a } = Z(Ii, void 0);
3381
+ const n = e, o = ae("popper"), { arrowOffset: r, arrowRef: s, arrowStyle: a } = Z(Mi, void 0);
3382
3382
  return Y(() => n.arrowOffset, (i) => {
3383
3383
  r.value = i;
3384
3384
  }), We(() => {
@@ -3422,7 +3422,7 @@ function Ri(e) {
3422
3422
  for (const n of t) {
3423
3423
  if (Pt(n))
3424
3424
  switch (n.type) {
3425
- case Fl:
3425
+ case Ll:
3426
3426
  continue;
3427
3427
  case Rl:
3428
3428
  case "svg":
@@ -3442,7 +3442,7 @@ function Js(e) {
3442
3442
  class: t.e("content")
3443
3443
  }, [e]);
3444
3444
  }
3445
- const Fi = ue({
3445
+ const Li = ue({
3446
3446
  virtualRef: {
3447
3447
  type: G(Object)
3448
3448
  },
@@ -3475,7 +3475,7 @@ const Fi = ue({
3475
3475
  inheritAttrs: !1
3476
3476
  }), uh = /* @__PURE__ */ H({
3477
3477
  ...ch,
3478
- props: Fi,
3478
+ props: Li,
3479
3479
  setup(e, { expose: t }) {
3480
3480
  const n = e, { role: o, triggerRef: r } = Z(zr, void 0);
3481
3481
  Wp(r);
@@ -3527,7 +3527,7 @@ const Fi = ue({
3527
3527
  l == null || l(), l = void 0;
3528
3528
  }), t({
3529
3529
  triggerRef: r
3530
- }), (u, d) => u.virtualTriggering ? D("v-if", !0) : (T(), ee(y(lh), Jt({ key: 0 }, u.$attrs, {
3530
+ }), (u, d) => u.virtualTriggering ? j("v-if", !0) : (T(), ee(y(lh), Jt({ key: 0 }, u.$attrs, {
3531
3531
  "aria-controls": y(s),
3532
3532
  "aria-describedby": y(a),
3533
3533
  "aria-expanded": y(c),
@@ -3547,9 +3547,9 @@ const Ho = "focus-trap.focus-after-trapped", zo = "focus-trap.focus-after-releas
3547
3547
  }, ph = {
3548
3548
  cancelable: !0,
3549
3549
  bubbles: !1
3550
- }, Zs = "focusAfterTrapped", Qs = "focusAfterReleased", hh = Symbol("elFocusTrap"), Ur = I(), Oo = I(0), Vr = I(0);
3550
+ }, Zs = "focusAfterTrapped", Qs = "focusAfterReleased", hh = Symbol("elFocusTrap"), Ur = M(), Oo = M(0), Vr = M(0);
3551
3551
  let Bn = 0;
3552
- const Li = (e) => {
3552
+ const Fi = (e) => {
3553
3553
  const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
3554
3554
  acceptNode: (o) => {
3555
3555
  const r = o.tagName === "INPUT" && o.type === "hidden";
@@ -3577,7 +3577,7 @@ const Li = (e) => {
3577
3577
  }
3578
3578
  return !1;
3579
3579
  }, vh = (e) => {
3580
- const t = Li(e), n = Xs(t, e), o = Xs(t.reverse(), e);
3580
+ const t = Fi(e), n = Xs(t, e), o = Xs(t.reverse(), e);
3581
3581
  return [n, o];
3582
3582
  }, gh = (e) => e instanceof HTMLInputElement && "select" in e, st = (e, t) => {
3583
3583
  if (e && e.focus) {
@@ -3642,7 +3642,7 @@ const bh = () => {
3642
3642
  "release-requested"
3643
3643
  ],
3644
3644
  setup(e, { emit: t }) {
3645
- const n = I();
3645
+ const n = M();
3646
3646
  let o, r;
3647
3647
  const { focusReason: s } = wh();
3648
3648
  Bp((p) => {
@@ -3661,24 +3661,24 @@ const bh = () => {
3661
3661
  return;
3662
3662
  const { key: v, altKey: _, ctrlKey: g, metaKey: O, currentTarget: P, shiftKey: C } = p, { loop: A } = e, $ = v === me.tab && !_ && !g && !O, b = document.activeElement;
3663
3663
  if ($ && b) {
3664
- const F = P, [L, x] = vh(F);
3665
- if (L && x) {
3664
+ const L = P, [F, x] = vh(L);
3665
+ if (F && x) {
3666
3666
  if (!C && b === x) {
3667
- const M = zn({
3667
+ const I = zn({
3668
3668
  focusReason: s.value
3669
3669
  });
3670
- t("focusout-prevented", M), M.defaultPrevented || (p.preventDefault(), A && st(L, !0));
3671
- } else if (C && [L, F].includes(b)) {
3672
- const M = zn({
3670
+ t("focusout-prevented", I), I.defaultPrevented || (p.preventDefault(), A && st(F, !0));
3671
+ } else if (C && [F, L].includes(b)) {
3672
+ const I = zn({
3673
3673
  focusReason: s.value
3674
3674
  });
3675
- t("focusout-prevented", M), M.defaultPrevented || (p.preventDefault(), A && st(x, !0));
3675
+ t("focusout-prevented", I), I.defaultPrevented || (p.preventDefault(), A && st(x, !0));
3676
3676
  }
3677
- } else if (b === F) {
3678
- const M = zn({
3677
+ } else if (b === L) {
3678
+ const I = zn({
3679
3679
  focusReason: s.value
3680
3680
  });
3681
- t("focusout-prevented", M), M.defaultPrevented || p.preventDefault();
3681
+ t("focusout-prevented", I), I.defaultPrevented || p.preventDefault();
3682
3682
  }
3683
3683
  }
3684
3684
  };
@@ -3726,7 +3726,7 @@ const bh = () => {
3726
3726
  const g = new Event(Ho, Ys);
3727
3727
  p.addEventListener(Ho, c), p.dispatchEvent(g), g.defaultPrevented || tt(() => {
3728
3728
  let O = e.focusStartEl;
3729
- ye(O) || (st(O), document.activeElement !== O && (O = "first")), O === "first" && yh(Li(p), !0), (document.activeElement === v || O === "container") && st(p);
3729
+ ye(O) || (st(O), document.activeElement !== O && (O = "first")), O === "first" && yh(Fi(p), !0), (document.activeElement === v || O === "container") && st(p);
3730
3730
  });
3731
3731
  }
3732
3732
  }
@@ -3852,7 +3852,7 @@ const kh = ["fixed", "absolute"], Oh = ue({
3852
3852
  ...r,
3853
3853
  modifiers: [...Ah(e), ...t]
3854
3854
  };
3855
- return Mh(s, r == null ? void 0 : r.modifiers), s;
3855
+ return Ih(s, r == null ? void 0 : r.modifiers), s;
3856
3856
  }, Ch = (e) => {
3857
3857
  if (ve)
3858
3858
  return it(e);
@@ -3892,16 +3892,16 @@ function Ah(e) {
3892
3892
  }
3893
3893
  ];
3894
3894
  }
3895
- function Mh(e, t) {
3895
+ function Ih(e, t) {
3896
3896
  t && (e.modifiers = [...e.modifiers, ...t ?? []]);
3897
3897
  }
3898
- const Ih = 0, $h = (e) => {
3899
- const { popperInstanceRef: t, contentRef: n, triggerRef: o, role: r } = Z(zr, void 0), s = I(), a = I(), i = E(() => ({
3898
+ const Mh = 0, $h = (e) => {
3899
+ const { popperInstanceRef: t, contentRef: n, triggerRef: o, role: r } = Z(zr, void 0), s = M(), a = M(), i = E(() => ({
3900
3900
  name: "eventListeners",
3901
3901
  enabled: !!e.visible
3902
3902
  })), c = E(() => {
3903
3903
  var g;
3904
- const O = y(s), P = (g = y(a)) != null ? g : Ih;
3904
+ const O = y(s), P = (g = y(a)) != null ? g : Mh;
3905
3905
  return {
3906
3906
  name: "arrow",
3907
3907
  enabled: !nf(O),
@@ -3918,7 +3918,7 @@ const Ih = 0, $h = (e) => {
3918
3918
  y(c),
3919
3919
  y(i)
3920
3920
  ])
3921
- })), u = E(() => Ch(e.referenceEl) || y(o)), { attributes: d, state: f, styles: m, update: p, forceUpdate: v, instanceRef: _ } = Fp(u, n, l);
3921
+ })), u = E(() => Ch(e.referenceEl) || y(o)), { attributes: d, state: f, styles: m, update: p, forceUpdate: v, instanceRef: _ } = Lp(u, n, l);
3922
3922
  return Y(_, (g) => t.value = g), X(() => {
3923
3923
  Y(() => {
3924
3924
  var g;
@@ -3942,7 +3942,7 @@ const Ih = 0, $h = (e) => {
3942
3942
  styles: n,
3943
3943
  role: o
3944
3944
  }) => {
3945
- const { nextZIndex: r } = Ti(), s = ae("popper"), a = E(() => y(t).popper), i = I(Ue(e.zIndex) ? e.zIndex : r()), c = E(() => [
3945
+ const { nextZIndex: r } = Ti(), s = ae("popper"), a = E(() => y(t).popper), i = M(Ue(e.zIndex) ? e.zIndex : r()), c = E(() => [
3946
3946
  s.b(),
3947
3947
  s.is("pure", e.pure),
3948
3948
  s.is(e.effect),
@@ -3964,7 +3964,7 @@ const Ih = 0, $h = (e) => {
3964
3964
  }
3965
3965
  };
3966
3966
  }, Rh = (e, t) => {
3967
- const n = I(!1), o = I();
3967
+ const n = M(!1), o = M();
3968
3968
  return {
3969
3969
  focusStartRef: o,
3970
3970
  trapped: n,
@@ -3985,10 +3985,10 @@ const Ih = 0, $h = (e) => {
3985
3985
  n.value = !1, t("close");
3986
3986
  }
3987
3987
  };
3988
- }, Fh = H({
3988
+ }, Lh = H({
3989
3989
  name: "ElPopperContent"
3990
- }), Lh = /* @__PURE__ */ H({
3991
- ...Fh,
3990
+ }), Fh = /* @__PURE__ */ H({
3991
+ ...Lh,
3992
3992
  props: ji,
3993
3993
  emits: Th,
3994
3994
  setup(e, { expose: t, emit: n }) {
@@ -4011,20 +4011,20 @@ const Ih = 0, $h = (e) => {
4011
4011
  styles: p,
4012
4012
  attributes: d,
4013
4013
  role: _
4014
- }), F = Z(Ks, void 0), L = I();
4015
- re(Ii, {
4014
+ }), L = Z(Ks, void 0), F = M();
4015
+ re(Mi, {
4016
4016
  arrowStyle: P,
4017
4017
  arrowRef: f,
4018
- arrowOffset: L
4019
- }), F && (F.addInputId || F.removeInputId) && re(Ks, {
4020
- ...F,
4018
+ arrowOffset: F
4019
+ }), L && (L.addInputId || L.removeInputId) && re(Ks, {
4020
+ ...L,
4021
4021
  addInputId: lo,
4022
4022
  removeInputId: lo
4023
4023
  });
4024
4024
  let x;
4025
4025
  const w = (N = !0) => {
4026
4026
  g(), N && b();
4027
- }, M = () => {
4027
+ }, I = () => {
4028
4028
  w(!1), o.visible && o.focusOnShow ? s.value = !0 : o.visible === !1 && (s.value = !1);
4029
4029
  };
4030
4030
  return X(() => {
@@ -4032,13 +4032,13 @@ const Ih = 0, $h = (e) => {
4032
4032
  x == null || x(), x = void 0;
4033
4033
  const q = y(N || m.value), z = y(W || m.value);
4034
4034
  Sn(q) && (x = Y([_, () => o.ariaLabel, O, () => o.id], (k) => {
4035
- ["role", "aria-label", "aria-modal", "id"].forEach((j, K) => {
4036
- En(k[K]) ? q.removeAttribute(j) : q.setAttribute(j, k[K]);
4035
+ ["role", "aria-label", "aria-modal", "id"].forEach((D, K) => {
4036
+ En(k[K]) ? q.removeAttribute(D) : q.setAttribute(D, k[K]);
4037
4037
  });
4038
4038
  }, { immediate: !0 })), z !== q && Sn(z) && ["role", "aria-label", "aria-modal", "id"].forEach((k) => {
4039
4039
  z.removeAttribute(k);
4040
4040
  });
4041
- }, { immediate: !0 }), Y(() => o.visible, M, { immediate: !0 });
4041
+ }, { immediate: !0 }), Y(() => o.visible, I, { immediate: !0 });
4042
4042
  }), We(() => {
4043
4043
  x == null || x(), x = void 0;
4044
4044
  }), t({
@@ -4075,7 +4075,7 @@ const Ih = 0, $h = (e) => {
4075
4075
  ], 16));
4076
4076
  }
4077
4077
  });
4078
- var jh = /* @__PURE__ */ fe(Lh, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);
4078
+ var jh = /* @__PURE__ */ fe(Fh, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);
4079
4079
  const Dh = At(rh), Wr = Symbol("elTooltip"), Di = ue({
4080
4080
  ...Up,
4081
4081
  ...ji,
@@ -4103,7 +4103,7 @@ const Dh = At(rh), Wr = Symbol("elTooltip"), Di = ue({
4103
4103
  },
4104
4104
  disabled: Boolean
4105
4105
  }), Bi = ue({
4106
- ...Fi,
4106
+ ...Li,
4107
4107
  disabled: Boolean,
4108
4108
  trigger: {
4109
4109
  type: G([String, Array]),
@@ -4143,7 +4143,7 @@ const Dh = At(rh), Wr = Symbol("elTooltip"), Di = ue({
4143
4143
  ...qh,
4144
4144
  props: Bi,
4145
4145
  setup(e, { expose: t }) {
4146
- const n = e, o = ae("tooltip"), { controlled: r, id: s, open: a, onOpen: i, onClose: c, onToggle: l } = Z(Wr, void 0), u = I(null), d = () => {
4146
+ const n = e, o = ae("tooltip"), { controlled: r, id: s, open: a, onOpen: i, onClose: c, onToggle: l } = Z(Wr, void 0), u = M(null), d = () => {
4147
4147
  if (y(r) || n.disabled)
4148
4148
  return !0;
4149
4149
  }, f = Xe(n, "trigger"), m = Ze(d, Rt(f, "hover", i)), p = Ze(d, Rt(f, "hover", c)), v = Ze(d, Rt(f, "click", (C) => {
@@ -4185,7 +4185,7 @@ const Jh = H({
4185
4185
  ...Jh,
4186
4186
  props: Di,
4187
4187
  setup(e, { expose: t }) {
4188
- const n = e, { selector: o } = Ei(), r = ae("tooltip"), s = I(null), a = I(!1), {
4188
+ const n = e, { selector: o } = Ei(), r = ae("tooltip"), s = M(null), a = M(!1), {
4189
4189
  controlled: i,
4190
4190
  id: c,
4191
4191
  open: l,
@@ -4203,18 +4203,18 @@ const Jh = H({
4203
4203
  const P = E(() => y(O) ? !0 : y(l)), C = E(() => n.disabled ? !1 : y(l)), A = E(() => n.appendTo || o.value), $ = E(() => {
4204
4204
  var k;
4205
4205
  return (k = n.style) != null ? k : {};
4206
- }), b = E(() => !y(l)), F = () => {
4206
+ }), b = E(() => !y(l)), L = () => {
4207
4207
  p();
4208
- }, L = () => {
4208
+ }, F = () => {
4209
4209
  if (y(i))
4210
4210
  return !0;
4211
- }, x = Ze(L, () => {
4211
+ }, x = Ze(F, () => {
4212
4212
  n.enterable && y(u) === "hover" && f();
4213
- }), w = Ze(L, () => {
4213
+ }), w = Ze(F, () => {
4214
4214
  y(u) === "hover" && d();
4215
- }), M = () => {
4216
- var k, j;
4217
- (j = (k = s.value) == null ? void 0 : k.updatePopper) == null || j.call(k), v == null || v();
4215
+ }), I = () => {
4216
+ var k, D;
4217
+ (D = (k = s.value) == null ? void 0 : k.updatePopper) == null || D.call(k), v == null || v();
4218
4218
  }, N = () => {
4219
4219
  _ == null || _();
4220
4220
  }, W = () => {
@@ -4235,18 +4235,18 @@ const Jh = H({
4235
4235
  }, {
4236
4236
  flush: "post"
4237
4237
  }), Y(() => n.content, () => {
4238
- var k, j;
4239
- (j = (k = s.value) == null ? void 0 : k.updatePopper) == null || j.call(k);
4238
+ var k, D;
4239
+ (D = (k = s.value) == null ? void 0 : k.updatePopper) == null || D.call(k);
4240
4240
  }), t({
4241
4241
  contentRef: s
4242
- }), (k, j) => (T(), ee(ka, {
4242
+ }), (k, D) => (T(), ee(ka, {
4243
4243
  disabled: !k.teleported,
4244
4244
  to: y(A)
4245
4245
  }, [
4246
4246
  Q(Tt, {
4247
4247
  name: y(g),
4248
- onAfterLeave: F,
4249
- onBeforeEnter: M,
4248
+ onAfterLeave: L,
4249
+ onBeforeEnter: I,
4250
4250
  onAfterEnter: W,
4251
4251
  onBeforeLeave: N
4252
4252
  }, {
@@ -4281,12 +4281,12 @@ const Jh = H({
4281
4281
  onClose: y(d)
4282
4282
  }), {
4283
4283
  default: U(() => [
4284
- a.value ? D("v-if", !0) : oe(k.$slots, "default", { key: 0 })
4284
+ a.value ? j("v-if", !0) : oe(k.$slots, "default", { key: 0 })
4285
4285
  ]),
4286
4286
  _: 3
4287
4287
  }, 16, ["id", "aria-label", "aria-hidden", "boundaries-padding", "fallback-placements", "gpu-acceleration", "offset", "placement", "popper-options", "strategy", "effect", "enterable", "pure", "popper-class", "popper-style", "reference-el", "trigger-target-el", "visible", "z-index", "onMouseenter", "onMouseleave", "onClose"])), [
4288
4288
  [Yt, y(C)]
4289
- ]) : D("v-if", !0)
4289
+ ]) : j("v-if", !0)
4290
4290
  ]),
4291
4291
  _: 3
4292
4292
  }, 8, ["name"])
@@ -4303,11 +4303,11 @@ const Qh = ["innerHTML"], Xh = { key: 1 }, em = H({
4303
4303
  setup(e, { expose: t, emit: n }) {
4304
4304
  const o = e;
4305
4305
  zp();
4306
- const r = Dp(), s = I(), a = I(), i = () => {
4306
+ const r = Dp(), s = M(), a = M(), i = () => {
4307
4307
  var g;
4308
4308
  const O = y(s);
4309
4309
  O && ((g = O.popperInstanceRef) == null || g.update());
4310
- }, c = I(!1), l = I(), { show: u, hide: d, hasUpdateHandler: f } = zh({
4310
+ }, c = M(!1), l = M(), { show: u, hide: d, hasUpdateHandler: f } = zh({
4311
4311
  indicator: c,
4312
4312
  toggleReason: l
4313
4313
  }), { onOpen: m, onClose: p } = Vp({
@@ -4352,7 +4352,7 @@ const Qh = ["innerHTML"], Xh = { key: 1 }, em = H({
4352
4352
  const C = (P = (O = a.value) == null ? void 0 : O.contentRef) == null ? void 0 : P.popperContentRef, A = (g == null ? void 0 : g.relatedTarget) || document.activeElement;
4353
4353
  return C && C.contains(A);
4354
4354
  };
4355
- return Ll(() => c.value && d()), t({
4355
+ return Fl(() => c.value && d()), t({
4356
4356
  popperRef: s,
4357
4357
  contentRef: a,
4358
4358
  isFocusInsideContent: _,
@@ -4374,7 +4374,7 @@ const Qh = ["innerHTML"], Xh = { key: 1 }, em = H({
4374
4374
  "virtual-triggering": g.virtualTriggering
4375
4375
  }, {
4376
4376
  default: U(() => [
4377
- g.$slots.default ? oe(g.$slots, "default", { key: 0 }) : D("v-if", !0)
4377
+ g.$slots.default ? oe(g.$slots, "default", { key: 0 }) : j("v-if", !0)
4378
4378
  ]),
4379
4379
  _: 3
4380
4380
  }, 8, ["disabled", "trigger", "trigger-keys", "virtual-ref", "virtual-triggering"]),
@@ -4418,7 +4418,7 @@ const Qh = ["innerHTML"], Xh = { key: 1 }, em = H({
4418
4418
  g.showArrow ? (T(), ee(y(ih), {
4419
4419
  key: 0,
4420
4420
  "arrow-offset": g.arrowOffset
4421
- }, null, 8, ["arrow-offset"])) : D("v-if", !0)
4421
+ }, null, 8, ["arrow-offset"])) : j("v-if", !0)
4422
4422
  ]),
4423
4423
  _: 3
4424
4424
  }, 8, ["aria-label", "boundaries-padding", "content", "disabled", "effect", "enterable", "fallback-placements", "hide-after", "gpu-acceleration", "offset", "persistent", "popper-class", "popper-style", "placement", "popper-options", "pure", "raw-content", "reference-el", "trigger-target-el", "show-after", "strategy", "teleported", "transition", "virtual-triggering", "z-index", "append-to"])
@@ -5089,7 +5089,7 @@ const Pm = At(Tm), Cm = ue({
5089
5089
  }
5090
5090
  }), Am = H({
5091
5091
  name: "ElCol"
5092
- }), Mm = /* @__PURE__ */ H({
5092
+ }), Im = /* @__PURE__ */ H({
5093
5093
  ...Am,
5094
5094
  props: Cm,
5095
5095
  setup(e) {
@@ -5118,8 +5118,8 @@ const Pm = At(Tm), Cm = ue({
5118
5118
  }, 8, ["class", "style"]));
5119
5119
  }
5120
5120
  });
5121
- var Im = /* @__PURE__ */ fe(Mm, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);
5122
- const $m = At(Im), Nm = H({
5121
+ var Mm = /* @__PURE__ */ fe(Im, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);
5122
+ const $m = At(Mm), Nm = H({
5123
5123
  name: "ElCollapseTransition"
5124
5124
  }), Rm = /* @__PURE__ */ H({
5125
5125
  ...Nm,
@@ -5166,8 +5166,8 @@ var so = /* @__PURE__ */ fe(Rm, [["__file", "/home/runner/work/element-plus/elem
5166
5166
  so.install = (e) => {
5167
5167
  e.component(so.name, so);
5168
5168
  };
5169
- const Fm = so;
5170
- let Lm = class {
5169
+ const Lm = so;
5170
+ let Fm = class {
5171
5171
  constructor(t, n) {
5172
5172
  this.parent = t, this.domNode = n, this.subIndex = 0, this.subIndex = 0, this.init();
5173
5173
  }
@@ -5212,7 +5212,7 @@ let Lm = class {
5212
5212
  init(t) {
5213
5213
  this.domNode.setAttribute("tabindex", "0");
5214
5214
  const n = this.domNode.querySelector(`.${t}-menu`);
5215
- n && (this.submenu = new Lm(this, n)), this.addListeners();
5215
+ n && (this.submenu = new Fm(this, n)), this.addListeners();
5216
5216
  }
5217
5217
  addListeners() {
5218
5218
  this.domNode.addEventListener("keydown", (t) => {
@@ -5371,13 +5371,13 @@ var qr = H({
5371
5371
  c || co(Wn, "can not inject root menu");
5372
5372
  const l = Z(`subMenu:${s.value.uid}`);
5373
5373
  l || co(Wn, "can not inject sub menu");
5374
- const u = I({}), d = I({});
5374
+ const u = M({}), d = M({});
5375
5375
  let f;
5376
- const m = I(!1), p = I(), v = I(null), _ = E(() => F.value === "horizontal" && O.value ? "bottom-start" : "right-start"), g = E(() => F.value === "horizontal" && O.value || F.value === "vertical" && !c.props.collapse ? e.expandCloseIcon && e.expandOpenIcon ? $.value ? e.expandOpenIcon : e.expandCloseIcon : uf : e.collapseCloseIcon && e.collapseOpenIcon ? $.value ? e.collapseOpenIcon : e.collapseCloseIcon : ff), O = E(() => l.level === 0), P = E(() => {
5376
+ const m = M(!1), p = M(), v = M(null), _ = E(() => L.value === "horizontal" && O.value ? "bottom-start" : "right-start"), g = E(() => L.value === "horizontal" && O.value || L.value === "vertical" && !c.props.collapse ? e.expandCloseIcon && e.expandOpenIcon ? $.value ? e.expandOpenIcon : e.expandCloseIcon : uf : e.collapseCloseIcon && e.collapseOpenIcon ? $.value ? e.collapseOpenIcon : e.collapseCloseIcon : ff), O = E(() => l.level === 0), P = E(() => {
5377
5377
  var z;
5378
5378
  const k = (z = e.teleported) != null ? z : e.popperAppendToBody;
5379
5379
  return k === void 0 ? O.value : k;
5380
- }), C = E(() => c.props.collapse ? `${a.namespace.value}-zoom-in-left` : `${a.namespace.value}-zoom-in-top`), A = E(() => F.value === "horizontal" && O.value ? [
5380
+ }), C = E(() => c.props.collapse ? `${a.namespace.value}-zoom-in-left` : `${a.namespace.value}-zoom-in-top`), A = E(() => L.value === "horizontal" && O.value ? [
5381
5381
  "bottom-start",
5382
5382
  "bottom-end",
5383
5383
  "top-start",
@@ -5400,14 +5400,14 @@ var qr = H({
5400
5400
  }), Object.values(d.value).forEach((k) => {
5401
5401
  k.active && (z = !0);
5402
5402
  }), z;
5403
- }), F = E(() => c.props.mode), L = Zt({
5403
+ }), L = E(() => c.props.mode), F = Zt({
5404
5404
  index: e.index,
5405
5405
  indexPath: r,
5406
5406
  active: b
5407
5407
  }), x = Wi(c.props, l.level + 1), w = () => {
5408
- var z, k, j;
5409
- return (j = (k = (z = v.value) == null ? void 0 : z.popperRef) == null ? void 0 : k.popperInstanceRef) == null ? void 0 : j.destroy();
5410
- }, M = (z) => {
5408
+ var z, k, D;
5409
+ return (D = (k = (z = v.value) == null ? void 0 : z.popperRef) == null ? void 0 : k.popperInstanceRef) == null ? void 0 : D.destroy();
5410
+ }, I = (z) => {
5411
5411
  z || w();
5412
5412
  }, N = () => {
5413
5413
  c.props.menuTrigger === "hover" && c.props.mode === "horizontal" || c.props.collapse && c.props.mode === "vertical" || e.disabled || c.handleSubMenuClick({
@@ -5416,20 +5416,20 @@ var qr = H({
5416
5416
  active: b.value
5417
5417
  });
5418
5418
  }, W = (z, k = e.showTimeout) => {
5419
- var j;
5419
+ var D;
5420
5420
  z.type !== "focus" && (c.props.menuTrigger === "click" && c.props.mode === "horizontal" || !c.props.collapse && c.props.mode === "vertical" || e.disabled || (l.mouseInChild.value = !0, f == null || f(), { stop: f } = nr(() => {
5421
5421
  c.openMenu(e.index, r.value);
5422
- }, k), P.value && ((j = s.value.vnode.el) == null || j.dispatchEvent(new MouseEvent("mouseenter")))));
5422
+ }, k), P.value && ((D = s.value.vnode.el) == null || D.dispatchEvent(new MouseEvent("mouseenter")))));
5423
5423
  }, q = (z = !1) => {
5424
- var k, j;
5425
- c.props.menuTrigger === "click" && c.props.mode === "horizontal" || !c.props.collapse && c.props.mode === "vertical" || (f == null || f(), l.mouseInChild.value = !1, { stop: f } = nr(() => !m.value && c.closeMenu(e.index, r.value), e.hideTimeout), P.value && z && ((k = o.parent) == null ? void 0 : k.type.name) === "ElSubMenu" && ((j = l.handleMouseleave) == null || j.call(l, !0)));
5424
+ var k, D;
5425
+ c.props.menuTrigger === "click" && c.props.mode === "horizontal" || !c.props.collapse && c.props.mode === "vertical" || (f == null || f(), l.mouseInChild.value = !1, { stop: f } = nr(() => !m.value && c.closeMenu(e.index, r.value), e.hideTimeout), P.value && z && ((k = o.parent) == null ? void 0 : k.type.name) === "ElSubMenu" && ((D = l.handleMouseleave) == null || D.call(l, !0)));
5426
5426
  };
5427
- Y(() => c.props.collapse, (z) => M(!!z));
5427
+ Y(() => c.props.collapse, (z) => I(!!z));
5428
5428
  {
5429
- const z = (j) => {
5430
- d.value[j.index] = j;
5431
- }, k = (j) => {
5432
- delete d.value[j.index];
5429
+ const z = (D) => {
5430
+ d.value[D.index] = D;
5431
+ }, k = (D) => {
5432
+ delete d.value[D.index];
5433
5433
  };
5434
5434
  re(`subMenu:${o.uid}`, {
5435
5435
  addSubMenu: z,
@@ -5442,9 +5442,9 @@ var qr = H({
5442
5442
  return n({
5443
5443
  opened: $
5444
5444
  }), X(() => {
5445
- c.addSubMenu(L), l.addSubMenu(L);
5445
+ c.addSubMenu(F), l.addSubMenu(F);
5446
5446
  }), We(() => {
5447
- l.removeSubMenu(L), c.removeSubMenu(L);
5447
+ l.removeSubMenu(F), c.removeSubMenu(F);
5448
5448
  }), () => {
5449
5449
  var z;
5450
5450
  const k = [
@@ -5457,7 +5457,7 @@ var qr = H({
5457
5457
  }, {
5458
5458
  default: () => ye(g.value) ? V(o.appContext.components[g.value]) : V(g.value)
5459
5459
  })
5460
- ], j = c.isMenuPopup ? V(Hi, {
5460
+ ], D = c.isMenuPopup ? V(Hi, {
5461
5461
  ref: v,
5462
5462
  visible: $.value,
5463
5463
  effect: "light",
@@ -5476,7 +5476,7 @@ var qr = H({
5476
5476
  var K;
5477
5477
  return V("div", {
5478
5478
  class: [
5479
- a.m(F.value),
5479
+ a.m(L.value),
5480
5480
  a.m("popup-container"),
5481
5481
  e.popperClass
5482
5482
  ],
@@ -5504,7 +5504,7 @@ var qr = H({
5504
5504
  ref: p,
5505
5505
  onClick: N
5506
5506
  }, k),
5507
- V(Fm, {}, {
5507
+ V(Lm, {}, {
5508
5508
  default: () => {
5509
5509
  var K;
5510
5510
  return He(V("ul", {
@@ -5528,7 +5528,7 @@ var qr = H({
5528
5528
  onMouseenter: W,
5529
5529
  onMouseleave: () => q(!0),
5530
5530
  onFocus: W
5531
- }, [j]);
5531
+ }, [D]);
5532
5532
  };
5533
5533
  }
5534
5534
  });
@@ -5580,7 +5580,7 @@ var Gm = H({
5580
5580
  props: Wm,
5581
5581
  emits: qm,
5582
5582
  setup(e, { emit: t, slots: n, expose: o }) {
5583
- const r = je(), s = r.appContext.config.globalProperties.$router, a = I(), i = ae("menu"), c = ae("sub-menu"), l = I(-1), u = I(e.defaultOpeneds && !e.collapse ? e.defaultOpeneds.slice(0) : []), d = I(e.defaultActive), f = I({}), m = I({}), p = E(() => e.mode === "horizontal" || e.mode === "vertical" && e.collapse), v = () => {
5583
+ const r = je(), s = r.appContext.config.globalProperties.$router, a = M(), i = ae("menu"), c = ae("sub-menu"), l = M(-1), u = M(e.defaultOpeneds && !e.collapse ? e.defaultOpeneds.slice(0) : []), d = M(e.defaultActive), f = M({}), m = M({}), p = E(() => e.mode === "horizontal" || e.mode === "vertical" && e.collapse), v = () => {
5584
5584
  const w = d.value && f.value[d.value];
5585
5585
  if (!w || e.mode === "horizontal" || e.collapse)
5586
5586
  return;
@@ -5588,55 +5588,55 @@ var Gm = H({
5588
5588
  const W = m.value[N];
5589
5589
  W && _(N, W.indexPath);
5590
5590
  });
5591
- }, _ = (w, M) => {
5592
- u.value.includes(w) || (e.uniqueOpened && (u.value = u.value.filter((N) => M.includes(N))), u.value.push(w), t("open", w, M));
5591
+ }, _ = (w, I) => {
5592
+ u.value.includes(w) || (e.uniqueOpened && (u.value = u.value.filter((N) => I.includes(N))), u.value.push(w), t("open", w, I));
5593
5593
  }, g = (w) => {
5594
- const M = u.value.indexOf(w);
5595
- M !== -1 && u.value.splice(M, 1);
5596
- }, O = (w, M) => {
5597
- g(w), t("close", w, M);
5594
+ const I = u.value.indexOf(w);
5595
+ I !== -1 && u.value.splice(I, 1);
5596
+ }, O = (w, I) => {
5597
+ g(w), t("close", w, I);
5598
5598
  }, P = ({
5599
5599
  index: w,
5600
- indexPath: M
5600
+ indexPath: I
5601
5601
  }) => {
5602
- u.value.includes(w) ? O(w, M) : _(w, M);
5602
+ u.value.includes(w) ? O(w, I) : _(w, I);
5603
5603
  }, C = (w) => {
5604
5604
  (e.mode === "horizontal" || e.collapse) && (u.value = []);
5605
- const { index: M, indexPath: N } = w;
5606
- if (!(En(M) || En(N)))
5605
+ const { index: I, indexPath: N } = w;
5606
+ if (!(En(I) || En(N)))
5607
5607
  if (e.router && s) {
5608
- const W = w.route || M, q = s.push(W).then((z) => (z || (d.value = M), z));
5609
- t("select", M, N, { index: M, indexPath: N, route: W }, q);
5608
+ const W = w.route || I, q = s.push(W).then((z) => (z || (d.value = I), z));
5609
+ t("select", I, N, { index: I, indexPath: N, route: W }, q);
5610
5610
  } else
5611
- d.value = M, t("select", M, N, { index: M, indexPath: N });
5611
+ d.value = I, t("select", I, N, { index: I, indexPath: N });
5612
5612
  }, A = (w) => {
5613
- const M = f.value, N = M[w] || d.value && M[d.value] || M[e.defaultActive];
5613
+ const I = f.value, N = I[w] || d.value && I[d.value] || I[e.defaultActive];
5614
5614
  N ? d.value = N.index : d.value = w;
5615
5615
  }, $ = () => {
5616
- var w, M;
5616
+ var w, I;
5617
5617
  if (!a.value)
5618
5618
  return -1;
5619
- const N = Array.from((M = (w = a.value) == null ? void 0 : w.childNodes) != null ? M : []).filter((te) => te.nodeName !== "#comment" && (te.nodeName !== "#text" || te.nodeValue)), W = 64, q = Number.parseInt(getComputedStyle(a.value).paddingLeft, 10), z = Number.parseInt(getComputedStyle(a.value).paddingRight, 10), k = a.value.clientWidth - q - z;
5620
- let j = 0, K = 0;
5619
+ const N = Array.from((I = (w = a.value) == null ? void 0 : w.childNodes) != null ? I : []).filter((te) => te.nodeName !== "#comment" && (te.nodeName !== "#text" || te.nodeValue)), W = 64, q = Number.parseInt(getComputedStyle(a.value).paddingLeft, 10), z = Number.parseInt(getComputedStyle(a.value).paddingRight, 10), k = a.value.clientWidth - q - z;
5620
+ let D = 0, K = 0;
5621
5621
  return N.forEach((te, Ke) => {
5622
- j += te.offsetWidth || 0, j <= k - W && (K = Ke + 1);
5622
+ D += te.offsetWidth || 0, D <= k - W && (K = Ke + 1);
5623
5623
  }), K === N.length ? -1 : K;
5624
- }, b = (w, M = 33.34) => {
5624
+ }, b = (w, I = 33.34) => {
5625
5625
  let N;
5626
5626
  return () => {
5627
5627
  N && clearTimeout(N), N = setTimeout(() => {
5628
5628
  w();
5629
- }, M);
5629
+ }, I);
5630
5630
  };
5631
5631
  };
5632
- let F = !0;
5633
- const L = () => {
5632
+ let L = !0;
5633
+ const F = () => {
5634
5634
  const w = () => {
5635
5635
  l.value = -1, tt(() => {
5636
5636
  l.value = $();
5637
5637
  });
5638
5638
  };
5639
- F ? w() : b(w)(), F = !1;
5639
+ L ? w() : b(w)(), L = !1;
5640
5640
  };
5641
5641
  Y(() => e.defaultActive, (w) => {
5642
5642
  f.value[w] || (d.value = ""), A(w);
@@ -5644,13 +5644,13 @@ var Gm = H({
5644
5644
  w && (u.value = []);
5645
5645
  }), Y(f.value, v);
5646
5646
  let x;
5647
- Ie(() => {
5648
- e.mode === "horizontal" && e.ellipsis ? x = Ga(a, L).stop : x == null || x();
5647
+ Me(() => {
5648
+ e.mode === "horizontal" && e.ellipsis ? x = Ga(a, F).stop : x == null || x();
5649
5649
  });
5650
5650
  {
5651
5651
  const w = (q) => {
5652
5652
  m.value[q.index] = q;
5653
- }, M = (q) => {
5653
+ }, I = (q) => {
5654
5654
  delete m.value[q.index];
5655
5655
  };
5656
5656
  re("rootMenu", Zt({
@@ -5667,34 +5667,34 @@ var Gm = H({
5667
5667
  delete f.value[q.index];
5668
5668
  },
5669
5669
  addSubMenu: w,
5670
- removeSubMenu: M,
5670
+ removeSubMenu: I,
5671
5671
  openMenu: _,
5672
5672
  closeMenu: O,
5673
5673
  handleMenuItemClick: C,
5674
5674
  handleSubMenuClick: P
5675
5675
  })), re(`subMenu:${r.uid}`, {
5676
5676
  addSubMenu: w,
5677
- removeSubMenu: M,
5678
- mouseInChild: I(!1),
5677
+ removeSubMenu: I,
5678
+ mouseInChild: M(!1),
5679
5679
  level: 0
5680
5680
  });
5681
5681
  }
5682
5682
  return X(() => {
5683
5683
  e.mode === "horizontal" && new Dm(r.vnode.el, i.namespace.value);
5684
5684
  }), o({
5685
- open: (M) => {
5686
- const { indexPath: N } = m.value[M];
5685
+ open: (I) => {
5686
+ const { indexPath: N } = m.value[I];
5687
5687
  N.forEach((W) => _(W, N));
5688
5688
  },
5689
5689
  close: g,
5690
- handleResize: L
5690
+ handleResize: F
5691
5691
  }), () => {
5692
- var w, M;
5693
- let N = (M = (w = n.default) == null ? void 0 : w.call(n)) != null ? M : [];
5692
+ var w, I;
5693
+ let N = (I = (w = n.default) == null ? void 0 : w.call(n)) != null ? I : [];
5694
5694
  const W = [];
5695
5695
  if (e.mode === "horizontal" && a.value) {
5696
- const k = no(N), j = l.value === -1 ? k : k.slice(0, l.value), K = l.value === -1 ? [] : k.slice(l.value);
5697
- K != null && K.length && e.ellipsis && (N = j, W.push(V(qr, {
5696
+ const k = no(N), D = l.value === -1 ? k : k.slice(0, l.value), K = l.value === -1 ? [] : k.slice(l.value);
5697
+ K != null && K.length && e.ellipsis && (N = D, W.push(V(qr, {
5698
5698
  index: "sub-menu-more",
5699
5699
  class: c.e("hide-arrow")
5700
5700
  }, {
@@ -5836,12 +5836,12 @@ const nv = At(Gm, {
5836
5836
  MenuItem: qi,
5837
5837
  MenuItemGroup: Gi,
5838
5838
  SubMenu: qr
5839
- }), fn = Mr(qi);
5840
- Mr(Gi);
5841
- const ov = Mr(qr);
5839
+ }), fn = Ir(qi);
5840
+ Ir(Gi);
5841
+ const ov = Ir(qr);
5842
5842
  function rv(e) {
5843
5843
  let t;
5844
- const n = I(!1), o = Zt({
5844
+ const n = M(!1), o = Zt({
5845
5845
  ...e,
5846
5846
  originalPosition: "",
5847
5847
  originalOverflow: "",
@@ -5985,7 +5985,7 @@ const lr = function(e = {}) {
5985
5985
  var n, o, r, s;
5986
5986
  const a = t.instance, i = (f) => Pt(t.value) ? t.value[f] : void 0, c = (f) => {
5987
5987
  const m = ye(f) && (a == null ? void 0 : a[f]) || f;
5988
- return m && I(m);
5988
+ return m && M(m);
5989
5989
  }, l = (f) => c(i(f) || e.getAttribute(`element-loading-${Pu(f)}`)), u = (n = i("fullscreen")) != null ? n : t.modifiers.fullscreen, d = {
5990
5990
  text: l("text"),
5991
5991
  svg: l("svg"),
@@ -6117,7 +6117,7 @@ const lr = function(e = {}) {
6117
6117
  props: lv,
6118
6118
  emits: cv,
6119
6119
  setup(e, { expose: t }) {
6120
- const n = e, { Close: o } = xf, { ns: r, zIndex: s } = Ai("message"), { currentZIndex: a, nextZIndex: i } = s, c = I(), l = I(!1), u = I(0);
6120
+ const n = e, { Close: o } = xf, { ns: r, zIndex: s } = Ai("message"), { currentZIndex: a, nextZIndex: i } = s, c = M(), l = M(!1), u = M(0);
6121
6121
  let d;
6122
6122
  const f = E(() => n.type ? n.type === "error" ? "danger" : n.type : "info"), m = E(() => {
6123
6123
  const b = n.type;
@@ -6150,10 +6150,10 @@ const lr = function(e = {}) {
6150
6150
  visible: l,
6151
6151
  bottom: g,
6152
6152
  close: A
6153
- }), (b, F) => (T(), ee(Tt, {
6153
+ }), (b, L) => (T(), ee(Tt, {
6154
6154
  name: y(r).b("fade"),
6155
6155
  onBeforeLeave: b.onClose,
6156
- onAfterLeave: F[0] || (F[0] = (L) => b.$emit("destroy")),
6156
+ onAfterLeave: L[0] || (L[0] = (F) => b.$emit("destroy")),
6157
6157
  persisted: ""
6158
6158
  }, {
6159
6159
  default: U(() => [
@@ -6178,7 +6178,7 @@ const lr = function(e = {}) {
6178
6178
  value: b.repeatNum,
6179
6179
  type: y(f),
6180
6180
  class: se(y(r).e("badge"))
6181
- }, null, 8, ["value", "type", "class"])) : D("v-if", !0),
6181
+ }, null, 8, ["value", "type", "class"])) : j("v-if", !0),
6182
6182
  y(p) ? (T(), ee(y(po), {
6183
6183
  key: 1,
6184
6184
  class: se([y(r).e("icon"), y(m)])
@@ -6187,10 +6187,10 @@ const lr = function(e = {}) {
6187
6187
  (T(), ee(br(y(p))))
6188
6188
  ]),
6189
6189
  _: 1
6190
- }, 8, ["class"])) : D("v-if", !0),
6190
+ }, 8, ["class"])) : j("v-if", !0),
6191
6191
  oe(b.$slots, "default", {}, () => [
6192
6192
  b.dangerouslyUseHTMLString ? (T(), R(ie, { key: 1 }, [
6193
- D(" Caution here, message could've been compromised, never use user's input as message "),
6193
+ j(" Caution here, message could've been compromised, never use user's input as message "),
6194
6194
  h("p", {
6195
6195
  class: se(y(r).e("content")),
6196
6196
  innerHTML: b.message
@@ -6209,7 +6209,7 @@ const lr = function(e = {}) {
6209
6209
  Q(y(o))
6210
6210
  ]),
6211
6211
  _: 1
6212
- }, 8, ["class", "onClick"])) : D("v-if", !0)
6212
+ }, 8, ["class", "onClick"])) : j("v-if", !0)
6213
6213
  ], 46, pv), [
6214
6214
  [Yt, l.value]
6215
6215
  ])
@@ -6319,7 +6319,7 @@ function Zi() {
6319
6319
  t = o[n].split("="), e[decodeURIComponent(t[0])] = t.length > 1 ? decodeURIComponent(t[1]) : "";
6320
6320
  return e;
6321
6321
  }
6322
- function Mt({ url: e, data: t = null, method: n = "GET", headers: o = null, cacheKey: r, cacheTime: s }) {
6322
+ function It({ url: e, data: t = null, method: n = "GET", headers: o = null, cacheKey: r, cacheTime: s }) {
6323
6323
  try {
6324
6324
  var a = new AbortController(), i = a.signal;
6325
6325
  } catch {
@@ -6343,7 +6343,7 @@ function Mt({ url: e, data: t = null, method: n = "GET", headers: o = null, cach
6343
6343
  d(new Response("timeout", { status: 504, statusText: "timeout" })), a && a.abort();
6344
6344
  }, 6e4);
6345
6345
  });
6346
- return Promise.race([u(), fetch(e, l).then((d) => d.json())]).then((d) => (console.log(d), d.success == !0 || d.ok === 0 || d.code == 0 ? (r && (s ? Ln.put(r, d.data, s) : Ln.put(r, d.data)), (d.message || d.message == 0) && (window.g_message = d.message), Promise.resolve(d.data)) : d && d.image || d && d.GOOGLE_ACCESS_TOKEN ? (r && (s ? Ln.put(r, d, s) : Ln.put(r, d)), Promise.resolve(d)) : d.statusText == "timeout" ? Promise.reject("The system is busy, please try again later") : e.indexOf("/site/get") != -1 ? Promise.resolve({
6346
+ return Promise.race([u(), fetch(e, l).then((d) => d.json())]).then((d) => (console.log(d), d.success == !0 || d.ok === 0 || d.code == 0 ? (r && (s ? Fn.put(r, d.data, s) : Fn.put(r, d.data)), (d.message || d.message == 0) && (window.g_message = d.message), Promise.resolve(d.data)) : d && d.image || d && d.GOOGLE_ACCESS_TOKEN ? (r && (s ? Fn.put(r, d, s) : Fn.put(r, d)), Promise.resolve(d)) : d.statusText == "timeout" ? Promise.reject("The system is busy, please try again later") : e.indexOf("/site/get") != -1 ? Promise.resolve({
6347
6347
  key: "",
6348
6348
  value: JSON.stringify({
6349
6349
  month: 0,
@@ -6357,7 +6357,7 @@ function ua(e) {
6357
6357
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
6358
6358
  };
6359
6359
  let n = on + "/api/user/status";
6360
- return e && (n += "?drive=1"), Mt({
6360
+ return e && (n += "?drive=1"), It({
6361
6361
  url: n,
6362
6362
  method: "POST",
6363
6363
  headers: t,
@@ -6366,7 +6366,7 @@ function ua(e) {
6366
6366
  }
6367
6367
  });
6368
6368
  }
6369
- const Ev = (e) => Mt({
6369
+ const Ev = (e) => It({
6370
6370
  url: on + "/api/user/active-passport",
6371
6371
  data: {
6372
6372
  passport: e
@@ -6377,7 +6377,7 @@ const Ev = (e) => Mt({
6377
6377
  }
6378
6378
  });
6379
6379
  function Sv(e) {
6380
- return Mt({
6380
+ return It({
6381
6381
  url: on + "/api/user/facebooklogin",
6382
6382
  data: {
6383
6383
  token: e
@@ -6389,7 +6389,7 @@ function Sv(e) {
6389
6389
  });
6390
6390
  }
6391
6391
  function Qi(e) {
6392
- return Mt({
6392
+ return It({
6393
6393
  url: on + "/api/user/google",
6394
6394
  data: {
6395
6395
  token: e
@@ -6401,7 +6401,7 @@ function Qi(e) {
6401
6401
  });
6402
6402
  }
6403
6403
  function kv(e, t) {
6404
- return Mt({
6404
+ return It({
6405
6405
  url: on + "/api/user/emaillogin?email=" + encodeURIComponent(e) + "&password=" + encodeURIComponent(t)
6406
6406
  // data: {
6407
6407
  // email,
@@ -6411,7 +6411,7 @@ function kv(e, t) {
6411
6411
  });
6412
6412
  }
6413
6413
  function Ov(e, t, n) {
6414
- return Mt({
6414
+ return It({
6415
6415
  url: on + "/api/user/emailsignup?email=" + encodeURIComponent(e) + "&username=" + encodeURIComponent(t) + "&password=" + encodeURIComponent(n)
6416
6416
  // data: {
6417
6417
  // email,
@@ -6421,7 +6421,7 @@ function Ov(e, t, n) {
6421
6421
  // method: "POST"
6422
6422
  });
6423
6423
  }
6424
- const da = (e, t) => Mt({
6424
+ const da = (e, t) => It({
6425
6425
  url: `https://www.imgkits.com/site/recommend?key=${e}&type=${t}`,
6426
6426
  method: "GET",
6427
6427
  headers: {
@@ -6513,11 +6513,11 @@ function Cv(e) {
6513
6513
  return e == null ? !1 : typeof e.type == "string" || typeof e.type == "object" || typeof e.type == "function";
6514
6514
  }
6515
6515
  let Av = 0;
6516
- function Mv() {
6516
+ function Iv() {
6517
6517
  return ++Av;
6518
6518
  }
6519
6519
  function Ce() {
6520
- return Mv();
6520
+ return Iv();
6521
6521
  }
6522
6522
  var Qe = ((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))(Qe || {});
6523
6523
  function B(e) {
@@ -6529,7 +6529,7 @@ var Re = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closin
6529
6529
  function Gr() {
6530
6530
  return Z(tl, null);
6531
6531
  }
6532
- function Iv(e) {
6532
+ function Mv(e) {
6533
6533
  re(tl, e);
6534
6534
  }
6535
6535
  function fa(e, t) {
@@ -6540,16 +6540,16 @@ function fa(e, t) {
6540
6540
  return "button";
6541
6541
  }
6542
6542
  function $v(e, t) {
6543
- let n = I(fa(e.value.type, e.value.as));
6543
+ let n = M(fa(e.value.type, e.value.as));
6544
6544
  return X(() => {
6545
6545
  n.value = fa(e.value.type, e.value.as);
6546
- }), Ie(() => {
6546
+ }), Me(() => {
6547
6547
  var o;
6548
6548
  n.value || B(t) && B(t) instanceof HTMLButtonElement && !((o = B(t)) != null && o.hasAttribute("type")) && (n.value = "button");
6549
6549
  }), n;
6550
6550
  }
6551
6551
  var Nv = Object.defineProperty, Rv = (e, t, n) => t in e ? Nv(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, pa = (e, t, n) => (Rv(e, typeof t != "symbol" ? t + "" : t, n), n);
6552
- class Fv {
6552
+ class Lv {
6553
6553
  constructor() {
6554
6554
  pa(this, "current", this.detect()), pa(this, "currentId", 0);
6555
6555
  }
@@ -6572,7 +6572,7 @@ class Fv {
6572
6572
  return typeof window > "u" || typeof document > "u" ? "server" : "client";
6573
6573
  }
6574
6574
  }
6575
- let To = new Fv();
6575
+ let To = new Lv();
6576
6576
  function Ge(e) {
6577
6577
  if (To.isServer)
6578
6578
  return null;
@@ -6586,7 +6586,7 @@ function Ge(e) {
6586
6586
  return document;
6587
6587
  }
6588
6588
  let ur = ["[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(",");
6589
- var pe = ((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))(pe || {}), Tn = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Tn || {}), Lv = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Lv || {});
6589
+ var pe = ((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))(pe || {}), Tn = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Tn || {}), Fv = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Fv || {});
6590
6590
  function Po(e = document.body) {
6591
6591
  return e == null ? [] : Array.from(e.querySelectorAll(ur)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
6592
6592
  }
@@ -6628,7 +6628,7 @@ function Hv(e, t = (n) => n) {
6628
6628
  return a & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : a & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
6629
6629
  });
6630
6630
  }
6631
- function Fe(e, t, { sorted: n = !0, relativeTo: o = null, skipElements: r = [] } = {}) {
6631
+ function Le(e, t, { sorted: n = !0, relativeTo: o = null, skipElements: r = [] } = {}) {
6632
6632
  var s;
6633
6633
  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 ? Hv(e) : e : Po(e);
6634
6634
  r.length > 0 && i.length > 1 && (i = i.filter((p) => !r.includes(p))), o = o ?? a.activeElement;
@@ -6666,12 +6666,12 @@ function Fe(e, t, { sorted: n = !0, relativeTo: o = null, skipElements: r = [] }
6666
6666
  return t & 6 && Bv(m) && m.select(), 2;
6667
6667
  }
6668
6668
  function ha(e, t, n) {
6669
- To.isServer || Ie((o) => {
6669
+ To.isServer || Me((o) => {
6670
6670
  document.addEventListener(e, t, n), o(() => document.removeEventListener(e, t, n));
6671
6671
  });
6672
6672
  }
6673
6673
  function ol(e, t, n) {
6674
- To.isServer || Ie((o) => {
6674
+ To.isServer || Me((o) => {
6675
6675
  window.addEventListener(e, t, n), o(() => window.removeEventListener(e, t, n));
6676
6676
  });
6677
6677
  }
@@ -6694,7 +6694,7 @@ function rl(e, t, n = E(() => !0)) {
6694
6694
  }
6695
6695
  return !nl(i, Kr.Loose) && i.tabIndex !== -1 && s.preventDefault(), t(s, i);
6696
6696
  }
6697
- let r = I(null);
6697
+ let r = M(null);
6698
6698
  ha("mousedown", (s) => {
6699
6699
  var a, i;
6700
6700
  n.value && (r.value = ((i = (a = s.composedPath) == null ? void 0 : a.call(s)) == null ? void 0 : i[0]) || s.target);
@@ -6748,13 +6748,13 @@ function sl() {
6748
6748
  }
6749
6749
  var Ee = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(Ee || {});
6750
6750
  function Jr() {
6751
- let e = I(0);
6751
+ let e = M(0);
6752
6752
  return ol("keydown", (t) => {
6753
6753
  t.key === "Tab" && (e.value = t.shiftKey ? 1 : 0);
6754
6754
  }), e;
6755
6755
  }
6756
6756
  function Yr(e, t, n, o) {
6757
- To.isServer || Ie((r) => {
6757
+ To.isServer || Me((r) => {
6758
6758
  e = e ?? window, e.addEventListener(t, n, o), r(() => e.removeEventListener(t, n, o));
6759
6759
  });
6760
6760
  }
@@ -6782,11 +6782,11 @@ function il(e) {
6782
6782
  return t;
6783
6783
  }
6784
6784
  var ll = ((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))(ll || {});
6785
- let pn = Object.assign(H({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: I(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
6786
- let r = I(null);
6785
+ let pn = Object.assign(H({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: M(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
6786
+ let r = M(null);
6787
6787
  o({ el: r, $el: r });
6788
- let s = E(() => Ge(r)), a = I(!1);
6789
- X(() => a.value = !0), Le(() => a.value = !1), Wv({ ownerDocument: s }, E(() => a.value && !!(e.features & 16)));
6788
+ let s = E(() => Ge(r)), a = M(!1);
6789
+ X(() => a.value = !0), Fe(() => a.value = !1), Wv({ ownerDocument: s }, E(() => a.value && !!(e.features & 16)));
6790
6790
  let i = qv({ ownerDocument: s, container: r, initialFocus: E(() => e.initialFocus) }, E(() => a.value && !!(e.features & 2)));
6791
6791
  Gv({ ownerDocument: s, container: r, containers: e.containers, previousActiveElement: i }, E(() => a.value && !!(e.features & 8)));
6792
6792
  let c = Jr();
@@ -6794,13 +6794,13 @@ let pn = Object.assign(H({ name: "FocusTrap", props: { as: { type: [Object, Stri
6794
6794
  let p = B(r);
6795
6795
  p && ((v) => v())(() => {
6796
6796
  Se(c.value, { [Ee.Forwards]: () => {
6797
- Fe(p, pe.First, { skipElements: [m.relatedTarget] });
6797
+ Le(p, pe.First, { skipElements: [m.relatedTarget] });
6798
6798
  }, [Ee.Backwards]: () => {
6799
- Fe(p, pe.Last, { skipElements: [m.relatedTarget] });
6799
+ Le(p, pe.Last, { skipElements: [m.relatedTarget] });
6800
6800
  } });
6801
6801
  });
6802
6802
  }
6803
- let u = I(!1);
6803
+ let u = M(!1);
6804
6804
  function d(m) {
6805
6805
  m.key === "Tab" && (u.value = !0, requestAnimationFrame(() => {
6806
6806
  u.value = !1;
@@ -6812,7 +6812,7 @@ let pn = Object.assign(H({ name: "FocusTrap", props: { as: { type: [Object, Stri
6812
6812
  let p = il(e.containers);
6813
6813
  B(r) instanceof HTMLElement && p.add(B(r));
6814
6814
  let v = m.relatedTarget;
6815
- v instanceof HTMLElement && v.dataset.headlessuiFocusGuard !== "true" && (cl(p, v) || (u.value ? Fe(B(r), Se(c.value, { [Ee.Forwards]: () => pe.Next, [Ee.Backwards]: () => pe.Previous }) | pe.WrapAround, { relativeTo: m.target }) : m.target instanceof HTMLElement && _t(m.target)));
6815
+ v instanceof HTMLElement && v.dataset.headlessuiFocusGuard !== "true" && (cl(p, v) || (u.value ? Le(B(r), Se(c.value, { [Ee.Forwards]: () => pe.Next, [Ee.Backwards]: () => pe.Previous }) | pe.WrapAround, { relativeTo: m.target }) : m.target instanceof HTMLElement && _t(m.target)));
6816
6816
  }
6817
6817
  return () => {
6818
6818
  let m = {}, p = { ref: r, onKeydown: d, onFocusout: f }, { features: v, initialFocus: _, containers: g, ...O } = e;
@@ -6826,7 +6826,7 @@ Uv(() => {
6826
6826
  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 });
6827
6827
  });
6828
6828
  function Vv(e) {
6829
- let t = I(ht.slice());
6829
+ let t = M(ht.slice());
6830
6830
  return Y([e], ([n], [o]) => {
6831
6831
  o === !0 && n === !1 ? al(() => {
6832
6832
  t.value.splice(0);
@@ -6839,17 +6839,17 @@ function Vv(e) {
6839
6839
  function Wv({ ownerDocument: e }, t) {
6840
6840
  let n = Vv(t);
6841
6841
  X(() => {
6842
- Ie(() => {
6842
+ Me(() => {
6843
6843
  var o, r;
6844
6844
  t.value || ((o = e.value) == null ? void 0 : o.activeElement) === ((r = e.value) == null ? void 0 : r.body) && _t(n());
6845
6845
  }, { flush: "post" });
6846
- }), Le(() => {
6846
+ }), Fe(() => {
6847
6847
  t.value && _t(n());
6848
6848
  });
6849
6849
  }
6850
6850
  function qv({ ownerDocument: e, container: t, initialFocus: n }, o) {
6851
- let r = I(null), s = I(!1);
6852
- return X(() => s.value = !0), Le(() => s.value = !1), X(() => {
6851
+ let r = M(null), s = M(!1);
6852
+ return X(() => s.value = !0), Fe(() => s.value = !1), X(() => {
6853
6853
  Y([t, n, o], (a, i) => {
6854
6854
  if (a.every((l, u) => (i == null ? void 0 : i[u]) === l) || !o.value)
6855
6855
  return;
@@ -6868,7 +6868,7 @@ function qv({ ownerDocument: e, container: t, initialFocus: n }, o) {
6868
6868
  r.value = f;
6869
6869
  return;
6870
6870
  }
6871
- d ? _t(d) : Fe(c, pe.First | pe.NoScroll) === Tn.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), r.value = (u = e.value) == null ? void 0 : u.activeElement;
6871
+ d ? _t(d) : Le(c, pe.First | pe.NoScroll) === Tn.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), r.value = (u = e.value) == null ? void 0 : u.activeElement;
6872
6872
  });
6873
6873
  }, { immediate: !0, flush: "post" });
6874
6874
  }), r;
@@ -6894,8 +6894,8 @@ function cl(e, t) {
6894
6894
  return !1;
6895
6895
  }
6896
6896
  let Jo = /* @__PURE__ */ new Map(), hn = /* @__PURE__ */ new Map();
6897
- function ma(e, t = I(!0)) {
6898
- Ie((n) => {
6897
+ function ma(e, t = M(!0)) {
6898
+ Me((n) => {
6899
6899
  var o;
6900
6900
  if (!t.value)
6901
6901
  return;
@@ -6940,15 +6940,15 @@ function Jv(e) {
6940
6940
  return o.setAttribute("id", "headlessui-portal-root"), t.body.appendChild(o);
6941
6941
  }
6942
6942
  let dl = H({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(e, { slots: t, attrs: n }) {
6943
- let o = I(null), r = E(() => Ge(o)), s = Kv(), a = Z(pl, null), i = I(s === !0 || a == null ? Jv(o.value) : a.resolveTarget());
6944
- Ie(() => {
6943
+ let o = M(null), r = E(() => Ge(o)), s = Kv(), a = Z(pl, null), i = M(s === !0 || a == null ? Jv(o.value) : a.resolveTarget());
6944
+ Me(() => {
6945
6945
  s || a != null && (i.value = a.resolveTarget());
6946
6946
  });
6947
6947
  let c = Z(fr, null);
6948
6948
  return X(() => {
6949
6949
  let l = B(o);
6950
- l && c && Le(c.register(l));
6951
- }), Le(() => {
6950
+ l && c && Fe(c.register(l));
6951
+ }), Fe(() => {
6952
6952
  var l, u;
6953
6953
  let d = (l = r.value) == null ? void 0 : l.getElementById("headlessui-portal-root");
6954
6954
  d && i.value === d && i.value.children.length <= 0 && ((u = i.value.parentElement) == null || u.removeChild(i.value));
@@ -6960,7 +6960,7 @@ let dl = H({ name: "Portal", props: { as: { type: [Object, String], default: "di
6960
6960
  };
6961
6961
  } }), fr = Symbol("PortalParentContext");
6962
6962
  function fl() {
6963
- let e = Z(fr, null), t = I([]);
6963
+ let e = Z(fr, null), t = M([]);
6964
6964
  function n(s) {
6965
6965
  return t.value.push(s), e && e.register(s), () => o(s);
6966
6966
  }
@@ -6999,7 +6999,7 @@ function Qv({ type: e, enabled: t, element: n, onUpdate: o }) {
6999
6999
  Y(t, (a, i) => {
7000
7000
  a ? s(0, e, n) : i === !0 && s(1, e, n);
7001
7001
  }, { immediate: !0, flush: "sync" });
7002
- }), Le(() => {
7002
+ }), Fe(() => {
7003
7003
  t.value && s(1, e, n);
7004
7004
  }), re(hl, s);
7005
7005
  }
@@ -7010,8 +7010,8 @@ function Xv() {
7010
7010
  throw new Error("Missing parent");
7011
7011
  return e;
7012
7012
  }
7013
- function e0({ slot: e = I({}), name: t = "Description", props: n = {} } = {}) {
7014
- let o = I([]);
7013
+ function eg({ slot: e = M({}), name: t = "Description", props: n = {} } = {}) {
7014
+ let o = M([]);
7015
7015
  function r(s) {
7016
7016
  return o.value.push(s), () => {
7017
7017
  let a = o.value.indexOf(s);
@@ -7022,18 +7022,18 @@ function e0({ slot: e = I({}), name: t = "Description", props: n = {} } = {}) {
7022
7022
  }
7023
7023
  H({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${Ce()}` } }, setup(e, { attrs: t, slots: n }) {
7024
7024
  let o = Xv();
7025
- return X(() => Le(o.register(e.id))), () => {
7026
- let { name: r = "Description", slot: s = I({}), props: a = {} } = o, { id: i, ...c } = e, l = { ...Object.entries(a).reduce((u, [d, f]) => Object.assign(u, { [d]: y(f) }), {}), id: i };
7025
+ return X(() => Fe(o.register(e.id))), () => {
7026
+ let { name: r = "Description", slot: s = M({}), props: a = {} } = o, { id: i, ...c } = e, l = { ...Object.entries(a).reduce((u, [d, f]) => Object.assign(u, { [d]: y(f) }), {}), id: i };
7027
7027
  return he({ ourProps: l, theirProps: c, slot: s.value, attrs: t, slots: n, name: r });
7028
7028
  };
7029
7029
  } });
7030
- function t0(e) {
7030
+ function tg(e) {
7031
7031
  let t = gr(e.getSnapshot());
7032
- return Le(e.subscribe(() => {
7032
+ return Fe(e.subscribe(() => {
7033
7033
  t.value = e.getSnapshot();
7034
7034
  })), t;
7035
7035
  }
7036
- function n0(e, t) {
7036
+ function ng(e, t) {
7037
7037
  let n = e(), o = /* @__PURE__ */ new Set();
7038
7038
  return { getSnapshot() {
7039
7039
  return n;
@@ -7044,7 +7044,7 @@ function n0(e, t) {
7044
7044
  a && (n = a, o.forEach((i) => i()));
7045
7045
  } };
7046
7046
  }
7047
- function o0() {
7047
+ function og() {
7048
7048
  let e;
7049
7049
  return { before({ doc: t }) {
7050
7050
  var n;
@@ -7055,7 +7055,7 @@ function o0() {
7055
7055
  n.style(o, "paddingRight", `${s}px`);
7056
7056
  } };
7057
7057
  }
7058
- function r0() {
7058
+ function rg() {
7059
7059
  if (!zv())
7060
7060
  return {};
7061
7061
  let e;
@@ -7084,18 +7084,18 @@ function r0() {
7084
7084
  });
7085
7085
  } };
7086
7086
  }
7087
- function s0() {
7087
+ function sg() {
7088
7088
  return { before({ doc: e, d: t }) {
7089
7089
  t.style(e.documentElement, "overflow", "hidden");
7090
7090
  } };
7091
7091
  }
7092
- function a0(e) {
7092
+ function ag(e) {
7093
7093
  let t = {};
7094
7094
  for (let n of e)
7095
7095
  Object.assign(t, n(t));
7096
7096
  return t;
7097
7097
  }
7098
- let gt = n0(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
7098
+ let gt = ng(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
7099
7099
  var n;
7100
7100
  let o = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: sl(), meta: /* @__PURE__ */ new Set() };
7101
7101
  return o.count++, o.meta.add(t), this.set(e, o), this;
@@ -7103,7 +7103,7 @@ let gt = n0(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
7103
7103
  let n = this.get(e);
7104
7104
  return n && (n.count--, n.meta.delete(t)), this;
7105
7105
  }, SCROLL_PREVENT({ doc: e, d: t, meta: n }) {
7106
- let o = { doc: e, d: t, meta: a0(n) }, r = [r0(), o0(), s0()];
7106
+ let o = { doc: e, d: t, meta: ag(n) }, r = [rg(), og(), sg()];
7107
7107
  r.forEach(({ before: s }) => s == null ? void 0 : s(o)), r.forEach(({ after: s }) => s == null ? void 0 : s(o));
7108
7108
  }, SCROLL_ALLOW({ d: e }) {
7109
7109
  e.dispose();
@@ -7119,8 +7119,8 @@ gt.subscribe(() => {
7119
7119
  (r && !o || !r && o) && gt.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && gt.dispatch("TEARDOWN", n);
7120
7120
  }
7121
7121
  });
7122
- function i0(e, t, n) {
7123
- let o = t0(gt), r = E(() => {
7122
+ function ig(e, t, n) {
7123
+ let o = tg(gt), r = E(() => {
7124
7124
  let s = e.value ? o.value.get(e.value) : void 0;
7125
7125
  return s ? s.count > 0 : !1;
7126
7126
  });
@@ -7135,7 +7135,7 @@ function i0(e, t, n) {
7135
7135
  }, { immediate: !0 }), r;
7136
7136
  }
7137
7137
  function vl({ defaultContainers: e = [], portals: t } = {}) {
7138
- let n = I(null), o = Ge(n);
7138
+ let n = M(null), o = Ge(n);
7139
7139
  function r() {
7140
7140
  var s;
7141
7141
  let a = [];
@@ -7154,7 +7154,7 @@ function vl({ defaultContainers: e = [], portals: t } = {}) {
7154
7154
  return V(Kt, { features: kt.Hidden, ref: n });
7155
7155
  } };
7156
7156
  }
7157
- var l0 = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(l0 || {});
7157
+ var lg = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(lg || {});
7158
7158
  let hr = Symbol("DialogContext");
7159
7159
  function $n(e) {
7160
7160
  let t = Z(hr, null);
@@ -7164,13 +7164,13 @@ function $n(e) {
7164
7164
  }
7165
7165
  return t;
7166
7166
  }
7167
- let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", c0 = H({ 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: Kn }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${Ce()}` } }, emits: { close: (e) => !0 }, setup(e, { emit: t, attrs: n, slots: o, expose: r }) {
7167
+ let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", cg = H({ 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: Kn }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${Ce()}` } }, emits: { close: (e) => !0 }, setup(e, { emit: t, attrs: n, slots: o, expose: r }) {
7168
7168
  var s;
7169
- let a = I(!1);
7169
+ let a = M(!1);
7170
7170
  X(() => {
7171
7171
  a.value = !0;
7172
7172
  });
7173
- let i = I(0), c = Gr(), l = E(() => e.open === Kn && c !== null ? (c.value & Re.Open) === Re.Open : e.open), u = I(null), d = E(() => Ge(u));
7173
+ let i = M(0), c = Gr(), l = E(() => e.open === Kn && c !== null ? (c.value & Re.Open) === Re.Open : e.open), u = M(null), d = E(() => Ge(u));
7174
7174
  if (r({ el: u, $el: u }), !(e.open !== Kn || c !== null))
7175
7175
  throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
7176
7176
  if (typeof l.value != "boolean")
@@ -7178,42 +7178,42 @@ let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", c0 = H({ name: "Dialog", inheri
7178
7178
  let f = E(() => a.value && l.value ? 0 : 1), m = E(() => f.value === 0), p = E(() => i.value > 1), v = Z(hr, null) !== null, [_, g] = fl(), { resolveContainers: O, mainTreeNodeRef: P, MainTreeNode: C } = vl({ portals: _, defaultContainers: [E(() => {
7179
7179
  var k;
7180
7180
  return (k = N.panelRef.value) != null ? k : u.value;
7181
- })] }), A = E(() => p.value ? "parent" : "leaf"), $ = E(() => c !== null ? (c.value & Re.Closing) === Re.Closing : !1), b = E(() => v || $.value ? !1 : m.value), F = E(() => {
7182
- var k, j, K;
7183
- return (K = Array.from((j = (k = d.value) == null ? void 0 : k.querySelectorAll("body > *")) != null ? j : []).find((te) => te.id === "headlessui-portal-root" ? !1 : te.contains(B(P)) && te instanceof HTMLElement)) != null ? K : null;
7181
+ })] }), A = E(() => p.value ? "parent" : "leaf"), $ = E(() => c !== null ? (c.value & Re.Closing) === Re.Closing : !1), b = E(() => v || $.value ? !1 : m.value), L = E(() => {
7182
+ var k, D, K;
7183
+ return (K = Array.from((D = (k = d.value) == null ? void 0 : k.querySelectorAll("body > *")) != null ? D : []).find((te) => te.id === "headlessui-portal-root" ? !1 : te.contains(B(P)) && te instanceof HTMLElement)) != null ? K : null;
7184
7184
  });
7185
- ma(F, b);
7186
- let L = E(() => p.value ? !0 : m.value), x = E(() => {
7187
- var k, j, K;
7188
- return (K = Array.from((j = (k = d.value) == null ? void 0 : k.querySelectorAll("[data-headlessui-portal]")) != null ? j : []).find((te) => te.contains(B(P)) && te instanceof HTMLElement)) != null ? K : null;
7185
+ ma(L, b);
7186
+ let F = E(() => p.value ? !0 : m.value), x = E(() => {
7187
+ var k, D, K;
7188
+ return (K = Array.from((D = (k = d.value) == null ? void 0 : k.querySelectorAll("[data-headlessui-portal]")) != null ? D : []).find((te) => te.contains(B(P)) && te instanceof HTMLElement)) != null ? K : null;
7189
7189
  });
7190
- ma(x, L), Qv({ type: "Dialog", enabled: E(() => f.value === 0), element: u, onUpdate: (k, j) => {
7191
- if (j === "Dialog")
7190
+ ma(x, F), Qv({ type: "Dialog", enabled: E(() => f.value === 0), element: u, onUpdate: (k, D) => {
7191
+ if (D === "Dialog")
7192
7192
  return Se(k, { [pr.Add]: () => i.value += 1, [pr.Remove]: () => i.value -= 1 });
7193
7193
  } });
7194
- let w = e0({ name: "DialogDescription", slot: E(() => ({ open: l.value })) }), M = I(null), N = { titleId: M, panelRef: I(null), dialogState: f, setTitleId(k) {
7195
- M.value !== k && (M.value = k);
7194
+ let w = eg({ name: "DialogDescription", slot: E(() => ({ open: l.value })) }), I = M(null), N = { titleId: I, panelRef: M(null), dialogState: f, setTitleId(k) {
7195
+ I.value !== k && (I.value = k);
7196
7196
  }, close() {
7197
7197
  t("close", !1);
7198
7198
  } };
7199
7199
  re(hr, N);
7200
7200
  let W = E(() => !(!m.value || p.value));
7201
- rl(O, (k, j) => {
7202
- N.close(), tt(() => j == null ? void 0 : j.focus());
7201
+ rl(O, (k, D) => {
7202
+ N.close(), tt(() => D == null ? void 0 : D.focus());
7203
7203
  }, W);
7204
7204
  let q = E(() => !(p.value || f.value !== 0));
7205
7205
  Yr((s = d.value) == null ? void 0 : s.defaultView, "keydown", (k) => {
7206
7206
  q.value && (k.defaultPrevented || k.key === Qe.Escape && (k.preventDefault(), k.stopPropagation(), N.close()));
7207
7207
  });
7208
7208
  let z = E(() => !($.value || f.value !== 0 || v));
7209
- return i0(d, z, (k) => {
7210
- var j;
7211
- return { containers: [...(j = k.containers) != null ? j : [], O] };
7212
- }), Ie((k) => {
7209
+ return ig(d, z, (k) => {
7210
+ var D;
7211
+ return { containers: [...(D = k.containers) != null ? D : [], O] };
7212
+ }), Me((k) => {
7213
7213
  if (f.value !== 0)
7214
7214
  return;
7215
- let j = B(u);
7216
- if (!j)
7215
+ let D = B(u);
7216
+ if (!D)
7217
7217
  return;
7218
7218
  let K = new ResizeObserver((te) => {
7219
7219
  for (let Ke of te) {
@@ -7221,9 +7221,9 @@ let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", c0 = H({ name: "Dialog", inheri
7221
7221
  ke.x === 0 && ke.y === 0 && ke.width === 0 && ke.height === 0 && N.close();
7222
7222
  }
7223
7223
  });
7224
- K.observe(j), k(() => K.disconnect());
7224
+ K.observe(D), k(() => K.disconnect());
7225
7225
  }), () => {
7226
- let { id: k, open: j, initialFocus: K, ...te } = e, Ke = { ...n, ref: u, id: k, role: "dialog", "aria-modal": f.value === 0 ? !0 : void 0, "aria-labelledby": M.value, "aria-describedby": w.value }, ke = { open: f.value === 0 };
7226
+ let { id: k, open: D, initialFocus: K, ...te } = e, Ke = { ...n, ref: u, id: k, role: "dialog", "aria-modal": f.value === 0 ? !0 : void 0, "aria-labelledby": I.value, "aria-describedby": w.value }, ke = { open: f.value === 0 };
7227
7227
  return V(dr, { force: !0 }, () => [V(dl, () => V(Yv, { target: u.value }, () => V(dr, { force: !1 }, () => V(pn, { initialFocus: K, containers: O, features: m.value ? Se(A.value, { parent: pn.features.RestoreFocus, leaf: pn.features.All & ~pn.features.FocusLock }) : pn.features.None }, () => V(g, {}, () => he({ ourProps: Ke, theirProps: { ...te, ...n }, slot: ke, attrs: n, slots: o, visible: f.value === 0, features: St.RenderStrategy | St.Static, name: "Dialog" })))))), V(C)]);
7228
7228
  };
7229
7229
  } });
@@ -7238,7 +7238,7 @@ H({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div"
7238
7238
  };
7239
7239
  } });
7240
7240
  H({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-backdrop-${Ce()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
7241
- let r = $n("DialogBackdrop"), s = I(null);
7241
+ let r = $n("DialogBackdrop"), s = M(null);
7242
7242
  return o({ el: s, $el: s }), X(() => {
7243
7243
  if (r.panelRef.value === null)
7244
7244
  throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
@@ -7247,7 +7247,7 @@ H({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div
7247
7247
  return V(dr, { force: !0 }, () => V(dl, () => he({ ourProps: c, theirProps: { ...t, ...i }, slot: { open: r.dialogState.value === 0 }, attrs: t, slots: n, name: "DialogBackdrop" })));
7248
7248
  };
7249
7249
  } });
7250
- let u0 = H({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-panel-${Ce()}` } }, setup(e, { attrs: t, slots: n, expose: o }) {
7250
+ let ug = H({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-panel-${Ce()}` } }, setup(e, { attrs: t, slots: n, expose: o }) {
7251
7251
  let r = $n("DialogPanel");
7252
7252
  o({ el: r.panelRef, $el: r.panelRef });
7253
7253
  function s(a) {
@@ -7261,13 +7261,13 @@ let u0 = H({ name: "DialogPanel", props: { as: { type: [Object, String], default
7261
7261
  H({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }, id: { type: String, default: () => `headlessui-dialog-title-${Ce()}` } }, setup(e, { attrs: t, slots: n }) {
7262
7262
  let o = $n("DialogTitle");
7263
7263
  return X(() => {
7264
- o.setTitleId(e.id), Le(() => o.setTitleId(null));
7264
+ o.setTitleId(e.id), Fe(() => o.setTitleId(null));
7265
7265
  }), () => {
7266
7266
  let { id: r, ...s } = e;
7267
7267
  return he({ ourProps: { id: r }, theirProps: s, slot: { open: o.dialogState.value === 0 }, attrs: t, slots: n, name: "DialogTitle" });
7268
7268
  };
7269
7269
  } });
7270
- var d0 = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(d0 || {});
7270
+ var dg = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(dg || {});
7271
7271
  let gl = Symbol("PopoverContext");
7272
7272
  function Co(e) {
7273
7273
  let t = Z(gl, null);
@@ -7282,23 +7282,23 @@ function yl() {
7282
7282
  return Z(bl, null);
7283
7283
  }
7284
7284
  let _l = Symbol("PopoverPanelContext");
7285
- function f0() {
7285
+ function fg() {
7286
7286
  return Z(_l, null);
7287
7287
  }
7288
7288
  let wl = H({ name: "Popover", props: { as: { type: [Object, String], default: "div" } }, setup(e, { slots: t, attrs: n, expose: o }) {
7289
7289
  var r;
7290
- let s = I(null);
7290
+ let s = M(null);
7291
7291
  o({ el: s, $el: s });
7292
- let a = I(1), i = I(null), c = I(null), l = I(null), u = I(null), d = E(() => Ge(s)), f = E(() => {
7292
+ let a = M(1), i = M(null), c = M(null), l = M(null), u = M(null), d = E(() => Ge(s)), f = E(() => {
7293
7293
  var A, $;
7294
7294
  if (!B(i) || !B(u))
7295
7295
  return !1;
7296
7296
  for (let N of document.querySelectorAll("body > *"))
7297
7297
  if (Number(N == null ? void 0 : N.contains(B(i))) ^ Number(N == null ? void 0 : N.contains(B(u))))
7298
7298
  return !0;
7299
- let b = Po(), F = b.indexOf(B(i)), L = (F + b.length - 1) % b.length, x = (F + 1) % b.length, w = b[L], M = b[x];
7300
- return !((A = B(u)) != null && A.contains(w)) && !(($ = B(u)) != null && $.contains(M));
7301
- }), m = { popoverState: a, buttonId: I(null), panelId: I(null), panel: u, button: i, isPortalled: f, beforePanelSentinel: c, afterPanelSentinel: l, togglePopover() {
7299
+ let b = Po(), L = b.indexOf(B(i)), F = (L + b.length - 1) % b.length, x = (L + 1) % b.length, w = b[F], I = b[x];
7300
+ return !((A = B(u)) != null && A.contains(w)) && !(($ = B(u)) != null && $.contains(I));
7301
+ }), m = { popoverState: a, buttonId: M(null), panelId: M(null), panel: u, button: i, isPortalled: f, beforePanelSentinel: c, afterPanelSentinel: l, togglePopover() {
7302
7302
  a.value = Se(a.value, { [0]: 1, [1]: 0 });
7303
7303
  }, closePopover() {
7304
7304
  a.value !== 1 && (a.value = 1);
@@ -7307,15 +7307,15 @@ let wl = H({ name: "Popover", props: { as: { type: [Object, String], default: "d
7307
7307
  let $ = (() => A ? A instanceof HTMLElement ? A : A.value instanceof HTMLElement ? B(A) : B(m.button) : B(m.button))();
7308
7308
  $ == null || $.focus();
7309
7309
  } };
7310
- re(gl, m), Iv(E(() => Se(a.value, { [0]: Re.Open, [1]: Re.Closed })));
7310
+ re(gl, m), Mv(E(() => Se(a.value, { [0]: Re.Open, [1]: Re.Closed })));
7311
7311
  let p = { buttonId: m.buttonId, panelId: m.panelId, close() {
7312
7312
  m.closePopover();
7313
7313
  } }, v = yl(), _ = v == null ? void 0 : v.registerPopover, [g, O] = fl(), P = vl({ portals: g, defaultContainers: [i, u] });
7314
7314
  function C() {
7315
- var A, $, b, F;
7316
- return (F = v == null ? void 0 : v.isFocusWithinPopoverGroup()) != null ? F : ((A = d.value) == null ? void 0 : A.activeElement) && ((($ = B(i)) == null ? void 0 : $.contains(d.value.activeElement)) || ((b = B(u)) == null ? void 0 : b.contains(d.value.activeElement)));
7315
+ var A, $, b, L;
7316
+ return (L = v == null ? void 0 : v.isFocusWithinPopoverGroup()) != null ? L : ((A = d.value) == null ? void 0 : A.activeElement) && ((($ = B(i)) == null ? void 0 : $.contains(d.value.activeElement)) || ((b = B(u)) == null ? void 0 : b.contains(d.value.activeElement)));
7317
7317
  }
7318
- return Ie(() => _ == null ? void 0 : _(p)), Yr((r = d.value) == null ? void 0 : r.defaultView, "focus", (A) => {
7318
+ return Me(() => _ == null ? void 0 : _(p)), Yr((r = d.value) == null ? void 0 : r.defaultView, "focus", (A) => {
7319
7319
  var $, b;
7320
7320
  A.target !== window && A.target instanceof HTMLElement && a.value === 0 && (C() || i && u && (P.contains(A.target) || ($ = B(m.beforePanelSentinel)) != null && $.contains(A.target) || (b = B(m.afterPanelSentinel)) != null && b.contains(A.target) || m.closePopover()));
7321
7321
  }, !0), rl(P.resolveContainers, (A, $) => {
@@ -7325,20 +7325,20 @@ let wl = H({ name: "Popover", props: { as: { type: [Object, String], default: "d
7325
7325
  let A = { open: a.value === 0, close: m.close };
7326
7326
  return V(O, {}, () => he({ theirProps: { ...e, ...n }, ourProps: { ref: s }, slot: A, slots: t, attrs: n, name: "Popover" }));
7327
7327
  };
7328
- } }), p0 = H({ name: "PopoverButton", props: { as: { type: [Object, String], default: "button" }, disabled: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-popover-button-${Ce()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
7328
+ } }), pg = H({ name: "PopoverButton", props: { as: { type: [Object, String], default: "button" }, disabled: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-popover-button-${Ce()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
7329
7329
  let r = Co("PopoverButton"), s = E(() => Ge(r.button));
7330
7330
  o({ el: r.button, $el: r.button }), X(() => {
7331
7331
  r.buttonId.value = e.id;
7332
- }), Le(() => {
7332
+ }), Fe(() => {
7333
7333
  r.buttonId.value = null;
7334
7334
  });
7335
- let a = yl(), i = a == null ? void 0 : a.closeOthers, c = f0(), l = E(() => c === null ? !1 : c.value === r.panelId.value), u = I(null), d = `headlessui-focus-sentinel-${Ce()}`;
7336
- l.value || Ie(() => {
7335
+ let a = yl(), i = a == null ? void 0 : a.closeOthers, c = fg(), l = E(() => c === null ? !1 : c.value === r.panelId.value), u = M(null), d = `headlessui-focus-sentinel-${Ce()}`;
7336
+ l.value || Me(() => {
7337
7337
  r.button.value = u.value;
7338
7338
  });
7339
7339
  let f = $v(E(() => ({ as: e.as, type: t.type })), u);
7340
7340
  function m(P) {
7341
- var C, A, $, b, F;
7341
+ var C, A, $, b, L;
7342
7342
  if (l.value) {
7343
7343
  if (r.popoverState.value === 1)
7344
7344
  return;
@@ -7357,7 +7357,7 @@ let wl = H({ name: "Popover", props: { as: { type: [Object, String], default: "d
7357
7357
  case Qe.Escape:
7358
7358
  if (r.popoverState.value !== 0)
7359
7359
  return i == null ? void 0 : i(r.buttonId.value);
7360
- if (!B(r.button) || (b = s.value) != null && b.activeElement && !((F = B(r.button)) != null && F.contains(s.value.activeElement)))
7360
+ if (!B(r.button) || (b = s.value) != null && b.activeElement && !((L = B(r.button)) != null && L.contains(s.value.activeElement)))
7361
7361
  return;
7362
7362
  P.preventDefault(), P.stopPropagation(), r.closePopover();
7363
7363
  break;
@@ -7379,7 +7379,7 @@ let wl = H({ name: "Popover", props: { as: { type: [Object, String], default: "d
7379
7379
  if (!P)
7380
7380
  return;
7381
7381
  function C() {
7382
- Se(g.value, { [Ee.Forwards]: () => Fe(P, pe.First), [Ee.Backwards]: () => Fe(P, pe.Last) }) === Tn.Error && Fe(Po().filter((A) => A.dataset.headlessuiFocusGuard !== "true"), Se(g.value, { [Ee.Forwards]: pe.Next, [Ee.Backwards]: pe.Previous }), { relativeTo: B(r.button) });
7382
+ Se(g.value, { [Ee.Forwards]: () => Le(P, pe.First), [Ee.Backwards]: () => Le(P, pe.Last) }) === Tn.Error && Le(Po().filter((A) => A.dataset.headlessuiFocusGuard !== "true"), Se(g.value, { [Ee.Forwards]: pe.Next, [Ee.Backwards]: pe.Previous }), { relativeTo: B(r.button) });
7383
7383
  }
7384
7384
  C();
7385
7385
  }
@@ -7398,18 +7398,18 @@ H({ name: "PopoverOverlay", props: { as: { type: [Object, String], default: "div
7398
7398
  return he({ ourProps: { id: r, "aria-hidden": !0, onClick: i }, theirProps: e, slot: c, attrs: t, slots: n, features: St.RenderStrategy | St.Static, visible: a.value, name: "PopoverOverlay" });
7399
7399
  };
7400
7400
  } });
7401
- let h0 = H({ 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-${Ce()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
7401
+ let hg = H({ 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-${Ce()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
7402
7402
  let { focus: r } = e, s = Co("PopoverPanel"), a = E(() => Ge(s.panel)), i = `headlessui-focus-sentinel-before-${Ce()}`, c = `headlessui-focus-sentinel-after-${Ce()}`;
7403
7403
  o({ el: s.panel, $el: s.panel }), X(() => {
7404
7404
  s.panelId.value = e.id;
7405
- }), Le(() => {
7405
+ }), Fe(() => {
7406
7406
  s.panelId.value = null;
7407
- }), re(_l, s.panelId), Ie(() => {
7407
+ }), re(_l, s.panelId), Me(() => {
7408
7408
  var _, g;
7409
7409
  if (!r || s.popoverState.value !== 0 || !s.panel)
7410
7410
  return;
7411
7411
  let O = (_ = a.value) == null ? void 0 : _.activeElement;
7412
- (g = B(s.panel)) != null && g.contains(O) || Fe(B(s.panel), pe.First);
7412
+ (g = B(s.panel)) != null && g.contains(O) || Le(B(s.panel), pe.First);
7413
7413
  });
7414
7414
  let l = Gr(), u = E(() => l !== null ? (l.value & Re.Open) === Re.Open : s.popoverState.value === 0);
7415
7415
  function d(_) {
@@ -7435,7 +7435,7 @@ let h0 = H({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
7435
7435
  function g() {
7436
7436
  Se(m.value, { [Ee.Forwards]: () => {
7437
7437
  var O;
7438
- Fe(_, pe.First) === Tn.Error && ((O = B(s.afterPanelSentinel)) == null || O.focus());
7438
+ Le(_, pe.First) === Tn.Error && ((O = B(s.afterPanelSentinel)) == null || O.focus());
7439
7439
  }, [Ee.Backwards]: () => {
7440
7440
  var O;
7441
7441
  (O = B(s.button)) == null || O.focus({ preventScroll: !0 });
@@ -7453,15 +7453,15 @@ let h0 = H({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
7453
7453
  if (!O)
7454
7454
  return;
7455
7455
  let C = Po(), A = C.indexOf(O), $ = C.slice(0, A + 1), b = [...C.slice(A + 1), ...$];
7456
- for (let F of b.slice())
7457
- if (F.dataset.headlessuiFocusGuard === "true" || P != null && P.contains(F)) {
7458
- let L = b.indexOf(F);
7459
- L !== -1 && b.splice(L, 1);
7456
+ for (let L of b.slice())
7457
+ if (L.dataset.headlessuiFocusGuard === "true" || P != null && P.contains(L)) {
7458
+ let F = b.indexOf(L);
7459
+ F !== -1 && b.splice(F, 1);
7460
7460
  }
7461
- Fe(b, pe.First, { sorted: !1 });
7461
+ Le(b, pe.First, { sorted: !1 });
7462
7462
  }, [Ee.Backwards]: () => {
7463
7463
  var O;
7464
- Fe(_, pe.Previous) === Tn.Error && ((O = B(s.button)) == null || O.focus());
7464
+ Le(_, pe.Previous) === Tn.Error && ((O = B(s.button)) == null || O.focus());
7465
7465
  } });
7466
7466
  }
7467
7467
  g();
@@ -7475,7 +7475,7 @@ let h0 = H({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
7475
7475
  };
7476
7476
  } });
7477
7477
  H({ name: "PopoverGroup", props: { as: { type: [Object, String], default: "div" } }, setup(e, { attrs: t, slots: n, expose: o }) {
7478
- let r = I(null), s = gr([]), a = E(() => Ge(r));
7478
+ let r = M(null), s = gr([]), a = E(() => Ge(r));
7479
7479
  o({ el: r, $el: r });
7480
7480
  function i(d) {
7481
7481
  let f = s.value.indexOf(d);
@@ -7503,7 +7503,7 @@ H({ name: "PopoverGroup", props: { as: { type: [Object, String], default: "div"
7503
7503
  }
7504
7504
  return re(bl, { registerPopover: c, unregisterPopover: i, isFocusWithinPopoverGroup: l, closeOthers: u }), () => he({ ourProps: { ref: r }, theirProps: e, slot: {}, attrs: t, slots: n, name: "PopoverGroup" });
7505
7505
  } });
7506
- function m0(e, t) {
7506
+ function mg(e, t) {
7507
7507
  return T(), R("svg", {
7508
7508
  xmlns: "http://www.w3.org/2000/svg",
7509
7509
  fill: "none",
@@ -7519,7 +7519,7 @@ function m0(e, t) {
7519
7519
  })
7520
7520
  ]);
7521
7521
  }
7522
- function v0(e, t) {
7522
+ function vg(e, t) {
7523
7523
  return T(), R("svg", {
7524
7524
  xmlns: "http://www.w3.org/2000/svg",
7525
7525
  fill: "none",
@@ -7535,12 +7535,12 @@ function v0(e, t) {
7535
7535
  })
7536
7536
  ]);
7537
7537
  }
7538
- const It = (e, t) => {
7538
+ const Mt = (e, t) => {
7539
7539
  const n = e.__vccOpts || e;
7540
7540
  for (const [o, r] of t)
7541
7541
  n[o] = r;
7542
7542
  return n;
7543
- }, va = nn(), g0 = {
7543
+ }, va = nn(), gg = {
7544
7544
  data() {
7545
7545
  return {
7546
7546
  childPath: va,
@@ -7552,7 +7552,9 @@ const It = (e, t) => {
7552
7552
  passwordErrorHelp: "",
7553
7553
  errCode: 0,
7554
7554
  disabled: !1,
7555
- appName: "Video Translator"
7555
+ appName: "Video Translator",
7556
+ lastLoginType: "",
7557
+ lastSignupType: ""
7556
7558
  };
7557
7559
  },
7558
7560
  components: {},
@@ -7571,6 +7573,16 @@ const It = (e, t) => {
7571
7573
  document.getElementById("buttonDiv"),
7572
7574
  { theme: "outline", size: "large", width: "255px" }
7573
7575
  )), typeof app_config == "object" && app_config && Object.keys(app_config).length > 0 && (this.appName = app_config.name || "Video Translator");
7576
+ const e = localStorage.getItem("last_login_type_" + this.appName);
7577
+ if (e) {
7578
+ const n = JSON.parse(e);
7579
+ n && n.type && (this.lastLoginType = n.type);
7580
+ }
7581
+ const t = localStorage.getItem("last_signup_type_" + this.appName);
7582
+ if (t) {
7583
+ const n = JSON.parse(t);
7584
+ n && n.type && (this.lastSignupType = n.type);
7585
+ }
7574
7586
  },
7575
7587
  methods: {
7576
7588
  handleFbLogin() {
@@ -7622,6 +7634,7 @@ const It = (e, t) => {
7622
7634
  document.body.classList.remove("el-loading-parent--relative");
7623
7635
  } catch {
7624
7636
  }
7637
+ this.isSignup ? localStorage.setItem("last_signup_type_" + this.appName, JSON.stringify({ type: "google_signup", time: Date.now() })) : localStorage.setItem("last_login_type_" + this.appName, JSON.stringify({ type: "google_login", time: Date.now() }));
7625
7638
  }, (n) => {
7626
7639
  console.log(n, 2), t.close();
7627
7640
  try {
@@ -7686,6 +7699,7 @@ const It = (e, t) => {
7686
7699
  document.body.classList.remove("el-loading-parent--relative");
7687
7700
  } catch {
7688
7701
  }
7702
+ localStorage.setItem("last_login_type_" + this.appName, JSON.stringify({ type: "email_login", time: Date.now() }));
7689
7703
  }, (t) => {
7690
7704
  e.close(), this.passwordErrorHelp = t.msg, this.errCode = t.ok;
7691
7705
  try {
@@ -7721,6 +7735,7 @@ const It = (e, t) => {
7721
7735
  document.body.classList.remove("el-loading-parent--relative");
7722
7736
  } catch {
7723
7737
  }
7738
+ localStorage.setItem("last_signup_type_" + this.appName, JSON.stringify({ type: "email_signup", time: Date.now() }));
7724
7739
  }, (t) => {
7725
7740
  let n = t.msg;
7726
7741
  if (t.data && t.data.errors) {
@@ -7747,38 +7762,42 @@ const It = (e, t) => {
7747
7762
  });
7748
7763
  }
7749
7764
  }
7750
- }, $t = (e) => (Qt("data-v-4682235c"), e = e(), Xt(), e), b0 = { class: "login-wapper" }, y0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7765
+ }, $t = (e) => (Qt("data-v-4682235c"), e = e(), Xt(), e), bg = { class: "login-wapper" }, yg = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7751
7766
  "span",
7752
7767
  null,
7753
7768
  "Login here",
7754
7769
  -1
7755
7770
  /* HOISTED */
7756
- )), _0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7771
+ )), _g = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7757
7772
  "span",
7758
7773
  null,
7759
7774
  "Sign up here",
7760
7775
  -1
7761
7776
  /* HOISTED */
7762
- )), w0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7777
+ )), wg = { class: "accounts" }, xg = {
7778
+ class: "account",
7779
+ style: { position: "relative" }
7780
+ }, Eg = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7763
7781
  "div",
7764
- { class: "accounts" },
7765
- [
7766
- /* @__PURE__ */ D(` <div class="account">
7767
- <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>
7768
- </div> `),
7769
- /* @__PURE__ */ h("div", { class: "account" }, [
7770
- /* @__PURE__ */ h("div", { id: "buttonDiv" })
7771
- ]),
7772
- /* @__PURE__ */ D(' <div class="account flew-row-v-center" style="padding: 0 12px;border-radius: 4px;" @click="handleFbLogin"> '),
7773
- /* @__PURE__ */ D(` <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;">
7774
- <div style="flex: 1;margin-right: 12px;color: #fff;font-size: 16px;text-align: center;font-weight: bold;">Log in With Facebook</div> `),
7775
- /* @__PURE__ */ D(' <svg t="1661493482810" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3146" width="24" height="24"><path d="M512.262115 959.556658c247.175132 0 447.569968-200.366167 447.569968-447.556658 0-247.16387-200.394836-447.556658-447.569968-447.556658-247.17718 0-447.556658 200.392788-447.556658 447.556658-0.001024 247.190491 200.378454 447.556658 447.556658 447.556658" fill="#537BBC" p-id="3147"></path><path d="M404.292383 436.216104h46.269378v-44.969044c0-19.828563 0.499656-50.408946 14.904699-69.347753 15.172957-20.05689 36.000832-33.690947 71.826579-33.690946 58.371702 0 82.952117 8.326235 82.952118 8.326235l-11.564785 68.550147s-19.285904-5.576079-37.275569-5.57608c-17.99888 0-34.111763 6.449454-34.111764 24.438095v52.269346h73.791416l-5.152191 66.958004h-68.639225v232.604221h-86.731278V503.174108h-46.269378v-66.958004z" fill="#FFFFFF" p-id="3148"></path></svg> '),
7776
- /* @__PURE__ */ D(' <div style="flex: 1;margin-left: 5px;font-size: 14px;font-weight: 500;">Login With Facebook</div> '),
7777
- /* @__PURE__ */ D(" </div> ")
7778
- ],
7782
+ { id: "buttonDiv" },
7783
+ null,
7779
7784
  -1
7780
7785
  /* HOISTED */
7781
- )), x0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7786
+ )), Sg = {
7787
+ key: 0,
7788
+ class: "lastLogin"
7789
+ }, kg = {
7790
+ key: 1,
7791
+ class: "lastLogin"
7792
+ }, Og = { style: { position: "relative" } }, Tg = {
7793
+ key: 0,
7794
+ class: "lastLogin",
7795
+ style: { transform: "translate(-50%, -150%)" }
7796
+ }, Pg = {
7797
+ key: 1,
7798
+ class: "lastLogin",
7799
+ style: { transform: "translate(-50%, -150%)" }
7800
+ }, Cg = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7782
7801
  "div",
7783
7802
  { class: "divider" },
7784
7803
  [
@@ -7786,39 +7805,39 @@ const It = (e, t) => {
7786
7805
  ],
7787
7806
  -1
7788
7807
  /* HOISTED */
7789
- )), E0 = { class: "form-group" }, S0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7808
+ )), Ag = { class: "form-group" }, Ig = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7790
7809
  "label",
7791
7810
  { for: "user_email" },
7792
7811
  "Email",
7793
7812
  -1
7794
7813
  /* HOISTED */
7795
- )), k0 = {
7814
+ )), Mg = {
7796
7815
  key: 0,
7797
7816
  class: "help-block-error"
7798
- }, O0 = {
7817
+ }, $g = {
7799
7818
  key: 0,
7800
7819
  class: "form-group"
7801
- }, T0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7820
+ }, Ng = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7802
7821
  "label",
7803
7822
  { for: "user_name" },
7804
7823
  "Username",
7805
7824
  -1
7806
7825
  /* HOISTED */
7807
- )), P0 = { class: "form-group" }, C0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7826
+ )), Rg = { class: "form-group" }, Lg = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7808
7827
  "label",
7809
7828
  { for: "user_password" },
7810
7829
  "Password",
7811
7830
  -1
7812
7831
  /* HOISTED */
7813
- )), A0 = {
7832
+ )), Fg = {
7814
7833
  key: 0,
7815
7834
  class: "help-block-error"
7816
- }, M0 = { key: 0 }, I0 = ["href"], $0 = ["disabled"], N0 = ["disabled"], R0 = {
7835
+ }, jg = { key: 0 }, Dg = ["href"], Bg = ["disabled"], Hg = ["disabled"], zg = {
7817
7836
  key: 2,
7818
7837
  class: "link"
7819
- }, F0 = ["href"];
7820
- function L0(e, t, n, o, r, s) {
7821
- return T(), R("div", b0, [
7838
+ }, Ug = ["href"];
7839
+ function Vg(e, t, n, o, r, s) {
7840
+ return T(), R("div", bg, [
7822
7841
  h(
7823
7842
  "h1",
7824
7843
  null,
@@ -7832,7 +7851,7 @@ function L0(e, t, n, o, r, s) {
7832
7851
  onClick: t[0] || (t[0] = (...a) => s.handleToLogin && s.handleToLogin(...a))
7833
7852
  }, [
7834
7853
  le("Already registered? "),
7835
- y0
7854
+ yg
7836
7855
  ])) : (T(), R("div", {
7837
7856
  key: 1,
7838
7857
  class: "link",
@@ -7843,108 +7862,127 @@ function L0(e, t, n, o, r, s) {
7843
7862
  1
7844
7863
  /* TEXT */
7845
7864
  ),
7846
- _0
7865
+ _g
7847
7866
  ])),
7848
- w0,
7849
- x0,
7850
- h("div", null, [
7851
- h("div", E0, [
7852
- S0,
7853
- He(h(
7854
- "input",
7855
- {
7856
- id: "user_email",
7857
- type: "email",
7858
- "onUpdate:modelValue": t[2] || (t[2] = (a) => r.email = a),
7859
- onInput: t[3] || (t[3] = (...a) => s.handleInput && s.handleInput(...a)),
7860
- onBlur: t[4] || (t[4] = (...a) => s.handleInputBlur && s.handleInputBlur(...a))
7861
- },
7862
- null,
7863
- 544
7864
- /* HYDRATE_EVENTS, NEED_PATCH */
7865
- ), [
7866
- [Io, r.email]
7867
- ]),
7868
- r.emailErrorHelp ? (T(), R(
7869
- "p",
7870
- k0,
7871
- ne(r.emailErrorHelp),
7872
- 1
7873
- /* TEXT */
7874
- )) : D("v-if", !0)
7867
+ h("div", wg, [
7868
+ j(` <div class="account">
7869
+ <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>
7870
+ </div> `),
7871
+ h("div", xg, [
7872
+ Eg,
7873
+ r.lastLoginType == "google_login" && !r.isSignup ? (T(), R("div", Sg, "Last Login")) : j("v-if", !0),
7874
+ r.lastSignupType == "google_signup" && r.isSignup ? (T(), R("div", kg, "Last Sign up")) : j("v-if", !0)
7875
7875
  ]),
7876
- r.isSignup ? (T(), R("div", O0, [
7877
- T0,
7878
- He(h(
7879
- "input",
7880
- {
7881
- id: "user_name",
7882
- type: "text",
7883
- "onUpdate:modelValue": t[5] || (t[5] = (a) => r.name = a)
7884
- },
7885
- null,
7886
- 512
7887
- /* NEED_PATCH */
7888
- ), [
7889
- [Io, r.name]
7890
- ])
7891
- ])) : D("v-if", !0),
7892
- h("div", P0, [
7893
- C0,
7894
- He(h(
7895
- "input",
7896
- {
7897
- id: "user_password",
7898
- type: "password",
7899
- "onUpdate:modelValue": t[6] || (t[6] = (a) => r.password = a),
7900
- onInput: t[7] || (t[7] = (...a) => s.handleInput && s.handleInput(...a))
7901
- },
7902
- null,
7903
- 544
7904
- /* HYDRATE_EVENTS, NEED_PATCH */
7905
- ), [
7906
- [Io, r.password]
7907
- ]),
7908
- r.passwordErrorHelp ? (T(), R("p", A0, [
7909
- le(
7910
- ne(r.passwordErrorHelp) + " ",
7876
+ j(' <div class="account flew-row-v-center" style="padding: 0 12px;border-radius: 4px;" @click="handleFbLogin"> '),
7877
+ j(` <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;">
7878
+ <div style="flex: 1;margin-right: 12px;color: #fff;font-size: 16px;text-align: center;font-weight: bold;">Log in With Facebook</div> `),
7879
+ j(' <svg t="1661493482810" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3146" width="24" height="24"><path d="M512.262115 959.556658c247.175132 0 447.569968-200.366167 447.569968-447.556658 0-247.16387-200.394836-447.556658-447.569968-447.556658-247.17718 0-447.556658 200.392788-447.556658 447.556658-0.001024 247.190491 200.378454 447.556658 447.556658 447.556658" fill="#537BBC" p-id="3147"></path><path d="M404.292383 436.216104h46.269378v-44.969044c0-19.828563 0.499656-50.408946 14.904699-69.347753 15.172957-20.05689 36.000832-33.690947 71.826579-33.690946 58.371702 0 82.952117 8.326235 82.952118 8.326235l-11.564785 68.550147s-19.285904-5.576079-37.275569-5.57608c-17.99888 0-34.111763 6.449454-34.111764 24.438095v52.269346h73.791416l-5.152191 66.958004h-68.639225v232.604221h-86.731278V503.174108h-46.269378v-66.958004z" fill="#FFFFFF" p-id="3148"></path></svg> '),
7880
+ j(' <div style="flex: 1;margin-left: 5px;font-size: 14px;font-weight: 500;">Login With Facebook</div> '),
7881
+ j(" </div> ")
7882
+ ]),
7883
+ h("div", Og, [
7884
+ r.lastLoginType == "email_login" && !r.isSignup ? (T(), R("div", Tg, "Last Login")) : j("v-if", !0),
7885
+ r.lastSignupType == "email_signup" && r.isSignup ? (T(), R("div", Pg, "Last Sign up")) : j("v-if", !0),
7886
+ Cg,
7887
+ h("div", null, [
7888
+ h("div", Ag, [
7889
+ Ig,
7890
+ He(h(
7891
+ "input",
7892
+ {
7893
+ id: "user_email",
7894
+ type: "email",
7895
+ "onUpdate:modelValue": t[2] || (t[2] = (a) => r.email = a),
7896
+ onInput: t[3] || (t[3] = (...a) => s.handleInput && s.handleInput(...a)),
7897
+ onBlur: t[4] || (t[4] = (...a) => s.handleInputBlur && s.handleInputBlur(...a))
7898
+ },
7899
+ null,
7900
+ 544
7901
+ /* HYDRATE_EVENTS, NEED_PATCH */
7902
+ ), [
7903
+ [Mo, r.email]
7904
+ ]),
7905
+ r.emailErrorHelp ? (T(), R(
7906
+ "p",
7907
+ Mg,
7908
+ ne(r.emailErrorHelp),
7911
7909
  1
7912
7910
  /* TEXT */
7913
- ),
7914
- r.errCode == 2 ? (T(), R("span", M0, [
7915
- h("a", {
7916
- href: r.childPath + "/user/resend-verify",
7917
- target: "_blank"
7918
- }, "Resend email", 8, I0)
7919
- ])) : D("v-if", !0)
7920
- ])) : D("v-if", !0)
7921
- ]),
7922
- r.isSignup ? (T(), R("button", {
7923
- key: 1,
7924
- class: "form-button",
7925
- disabled: r.disabled,
7926
- onClick: t[8] || (t[8] = (...a) => s.handleSignup && s.handleSignup(...a))
7927
- }, "Create Your Account", 8, $0)) : (T(), R("button", {
7928
- key: 2,
7929
- class: "form-button",
7930
- disabled: r.disabled,
7931
- onClick: t[9] || (t[9] = (...a) => s.handleLogin && s.handleLogin(...a))
7932
- }, "Login", 8, N0))
7911
+ )) : j("v-if", !0)
7912
+ ]),
7913
+ r.isSignup ? (T(), R("div", $g, [
7914
+ Ng,
7915
+ He(h(
7916
+ "input",
7917
+ {
7918
+ id: "user_name",
7919
+ type: "text",
7920
+ "onUpdate:modelValue": t[5] || (t[5] = (a) => r.name = a)
7921
+ },
7922
+ null,
7923
+ 512
7924
+ /* NEED_PATCH */
7925
+ ), [
7926
+ [Mo, r.name]
7927
+ ])
7928
+ ])) : j("v-if", !0),
7929
+ h("div", Rg, [
7930
+ Lg,
7931
+ He(h(
7932
+ "input",
7933
+ {
7934
+ id: "user_password",
7935
+ type: "password",
7936
+ "onUpdate:modelValue": t[6] || (t[6] = (a) => r.password = a),
7937
+ onInput: t[7] || (t[7] = (...a) => s.handleInput && s.handleInput(...a))
7938
+ },
7939
+ null,
7940
+ 544
7941
+ /* HYDRATE_EVENTS, NEED_PATCH */
7942
+ ), [
7943
+ [Mo, r.password]
7944
+ ]),
7945
+ r.passwordErrorHelp ? (T(), R("p", Fg, [
7946
+ le(
7947
+ ne(r.passwordErrorHelp) + " ",
7948
+ 1
7949
+ /* TEXT */
7950
+ ),
7951
+ r.errCode == 2 ? (T(), R("span", jg, [
7952
+ h("a", {
7953
+ href: r.childPath + "/user/resend-verify",
7954
+ target: "_blank"
7955
+ }, "Resend email", 8, Dg)
7956
+ ])) : j("v-if", !0)
7957
+ ])) : j("v-if", !0)
7958
+ ]),
7959
+ r.isSignup ? (T(), R("button", {
7960
+ key: 1,
7961
+ class: "form-button",
7962
+ disabled: r.disabled,
7963
+ onClick: t[8] || (t[8] = (...a) => s.handleSignup && s.handleSignup(...a))
7964
+ }, "Create Your Account", 8, Bg)) : (T(), R("button", {
7965
+ key: 2,
7966
+ class: "form-button",
7967
+ disabled: r.disabled,
7968
+ onClick: t[9] || (t[9] = (...a) => s.handleLogin && s.handleLogin(...a))
7969
+ }, "Login", 8, Hg))
7970
+ ])
7933
7971
  ]),
7934
- r.isSignup ? D("v-if", !0) : (T(), R("div", R0, [
7972
+ r.isSignup ? j("v-if", !0) : (T(), R("div", zg, [
7935
7973
  h("a", {
7936
7974
  href: r.childPath + "/user/password-reset",
7937
7975
  target: "_blank"
7938
- }, "Forgot your password?", 8, F0),
7939
- D(' <a href="/user/resend-verification-email"> Need new verification email?</a> ')
7976
+ }, "Forgot your password?", 8, Ug),
7977
+ j(' <a href="/user/resend-verification-email"> Need new verification email?</a> ')
7940
7978
  ])),
7941
- D(` <div class="link">
7979
+ j(` <div class="link">
7942
7980
  By creating an account you agree to our <a href="/site/terms" style="color: #1778f2;">Terms of Use</a>
7943
7981
  </div> `)
7944
7982
  ]);
7945
7983
  }
7946
- const xl = /* @__PURE__ */ It(g0, [["render", L0], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/c/Desktop/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
7947
- const j0 = {
7984
+ const xl = /* @__PURE__ */ Mt(gg, [["render", Vg], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/yinheng/Desktop/code/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
7985
+ const Wg = {
7948
7986
  data() {
7949
7987
  return {};
7950
7988
  },
@@ -7963,7 +8001,7 @@ const j0 = {
7963
8001
  this.$emit("close");
7964
8002
  }
7965
8003
  }
7966
- }, D0 = (e) => (Qt("data-v-47199182"), e = e(), Xt(), e), B0 = { class: "background-cover" }, H0 = { class: "login-content" }, z0 = /* @__PURE__ */ D0(() => /* @__PURE__ */ h(
8004
+ }, qg = (e) => (Qt("data-v-47199182"), e = e(), Xt(), e), Gg = { class: "background-cover" }, Kg = { class: "login-content" }, Jg = /* @__PURE__ */ qg(() => /* @__PURE__ */ h(
7967
8005
  "svg",
7968
8006
  {
7969
8007
  t: "1641536858080",
@@ -7984,29 +8022,29 @@ const j0 = {
7984
8022
  ],
7985
8023
  -1
7986
8024
  /* HOISTED */
7987
- )), U0 = [
7988
- z0
8025
+ )), Yg = [
8026
+ Jg
7989
8027
  ];
7990
- function V0(e, t, n, o, r, s) {
8028
+ function Zg(e, t, n, o, r, s) {
7991
8029
  const a = xl;
7992
- return T(), R("div", B0, [
7993
- h("div", H0, [
8030
+ return T(), R("div", Gg, [
8031
+ h("div", Kg, [
7994
8032
  Q(a, { onSuccess: s.handleLoginSuccess }, null, 8, ["onSuccess"]),
7995
8033
  h("div", {
7996
8034
  class: "cancel",
7997
8035
  onClick: t[0] || (t[0] = (...i) => s.handleClose && s.handleClose(...i))
7998
- }, U0)
8036
+ }, Yg)
7999
8037
  ])
8000
8038
  ]);
8001
8039
  }
8002
- const W0 = /* @__PURE__ */ It(j0, [["render", V0], ["__scopeId", "data-v-47199182"], ["__file", "/Users/c/Desktop/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login.vue"]]);
8040
+ const Qg = /* @__PURE__ */ Mt(Wg, [["render", Zg], ["__scopeId", "data-v-47199182"], ["__file", "/Users/yinheng/Desktop/code/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login.vue"]]);
8003
8041
  /*!
8004
8042
  * pinia v2.1.4
8005
8043
  * (c) 2023 Eduardo San Martin Morote
8006
8044
  * @license MIT
8007
8045
  */
8008
8046
  let gn;
8009
- const ho = (e) => gn = e, q0 = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
8047
+ const ho = (e) => gn = e, Xg = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
8010
8048
  /* istanbul ignore next */
8011
8049
  Symbol()
8012
8050
  );
@@ -8038,12 +8076,12 @@ function ga(e, t, n, o = Sl) {
8038
8076
  };
8039
8077
  return !n && wa() && xa(r), r;
8040
8078
  }
8041
- function Ft(e, ...t) {
8079
+ function Lt(e, ...t) {
8042
8080
  e.slice().forEach((n) => {
8043
8081
  n(...t);
8044
8082
  });
8045
8083
  }
8046
- const G0 = (e) => e();
8084
+ const e0 = (e) => e();
8047
8085
  function mr(e, t) {
8048
8086
  e instanceof Map && t instanceof Map && t.forEach((n, o) => e.set(o, n)), e instanceof Set && t instanceof Set && t.forEach(e.add, e);
8049
8087
  for (const n in t) {
@@ -8054,12 +8092,12 @@ function mr(e, t) {
8054
8092
  }
8055
8093
  return e;
8056
8094
  }
8057
- const K0 = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
8095
+ const t0 = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
8058
8096
  /* istanbul ignore next */
8059
8097
  Symbol()
8060
8098
  );
8061
- function J0(e) {
8062
- return !Ot(e) || !e.hasOwnProperty(K0);
8099
+ function n0(e) {
8100
+ return !Ot(e) || !e.hasOwnProperty(t0);
8063
8101
  }
8064
8102
  const { assign: Oe } = Object;
8065
8103
  function ba(e) {
@@ -8072,7 +8110,7 @@ function ya(e, t, n, o) {
8072
8110
  !i && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
8073
8111
  const u = process.env.NODE_ENV !== "production" && o ? (
8074
8112
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
8075
- Zo(I(r ? r() : {}).value)
8113
+ Zo(M(r ? r() : {}).value)
8076
8114
  ) : Zo(n.state.value[e]);
8077
8115
  return Oe(u, s, Object.keys(a || {}).reduce((d, f) => (process.env.NODE_ENV !== "production" && f in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${f}" in store "${e}".`), d[f] = mn(E(() => {
8078
8116
  ho(n);
@@ -8097,7 +8135,7 @@ function vr(e, t, n = {}, o, r, s) {
8097
8135
  let l, u, d = [], f = [], m;
8098
8136
  const p = o.state.value[e];
8099
8137
  !s && !p && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
8100
- const v = I({});
8138
+ const v = M({});
8101
8139
  let _;
8102
8140
  function g(x) {
8103
8141
  let w;
@@ -8111,15 +8149,15 @@ function vr(e, t, n = {}, o, r, s) {
8111
8149
  storeId: e,
8112
8150
  events: m
8113
8151
  });
8114
- const M = _ = Symbol();
8152
+ const I = _ = Symbol();
8115
8153
  tt().then(() => {
8116
- _ === M && (l = !0);
8117
- }), u = !0, Ft(d, w, o.state.value[e]);
8154
+ _ === I && (l = !0);
8155
+ }), u = !0, Lt(d, w, o.state.value[e]);
8118
8156
  }
8119
8157
  const O = s ? function() {
8120
- const { state: w } = n, M = w ? w() : {};
8158
+ const { state: w } = n, I = w ? w() : {};
8121
8159
  this.$patch((N) => {
8122
- Oe(N, M);
8160
+ Oe(N, I);
8123
8161
  });
8124
8162
  } : (
8125
8163
  /* istanbul ignore next */
@@ -8133,15 +8171,15 @@ function vr(e, t, n = {}, o, r, s) {
8133
8171
  function C(x, w) {
8134
8172
  return function() {
8135
8173
  ho(o);
8136
- const M = Array.from(arguments), N = [], W = [];
8137
- function q(j) {
8138
- N.push(j);
8174
+ const I = Array.from(arguments), N = [], W = [];
8175
+ function q(D) {
8176
+ N.push(D);
8139
8177
  }
8140
- function z(j) {
8141
- W.push(j);
8178
+ function z(D) {
8179
+ W.push(D);
8142
8180
  }
8143
- Ft(f, {
8144
- args: M,
8181
+ Lt(f, {
8182
+ args: I,
8145
8183
  name: x,
8146
8184
  store: b,
8147
8185
  after: q,
@@ -8149,11 +8187,11 @@ function vr(e, t, n = {}, o, r, s) {
8149
8187
  });
8150
8188
  let k;
8151
8189
  try {
8152
- k = w.apply(this && this.$id === e ? this : b, M);
8153
- } catch (j) {
8154
- throw Ft(W, j), j;
8190
+ k = w.apply(this && this.$id === e ? this : b, I);
8191
+ } catch (D) {
8192
+ throw Lt(W, D), D;
8155
8193
  }
8156
- return k instanceof Promise ? k.then((j) => (Ft(N, j), j)).catch((j) => (Ft(W, j), Promise.reject(j))) : (Ft(N, k), k);
8194
+ return k instanceof Promise ? k.then((D) => (Lt(N, D), D)).catch((D) => (Lt(W, D), Promise.reject(D))) : (Lt(N, k), k);
8157
8195
  };
8158
8196
  }
8159
8197
  const A = /* @__PURE__ */ mn({
@@ -8169,14 +8207,14 @@ function vr(e, t, n = {}, o, r, s) {
8169
8207
  $patch: g,
8170
8208
  $reset: O,
8171
8209
  $subscribe(x, w = {}) {
8172
- const M = ga(d, x, w.detached, () => N()), N = a.run(() => Y(() => o.state.value[e], (W) => {
8210
+ const I = ga(d, x, w.detached, () => N()), N = a.run(() => Y(() => o.state.value[e], (W) => {
8173
8211
  (w.flush === "sync" ? u : l) && x({
8174
8212
  storeId: e,
8175
8213
  type: _n.direct,
8176
8214
  events: m
8177
8215
  }, W);
8178
8216
  }, Oe({}, c, w)));
8179
- return M;
8217
+ return I;
8180
8218
  },
8181
8219
  $dispose: P
8182
8220
  }, b = Zt(process.env.NODE_ENV !== "production" || Yo ? Oe(
@@ -8190,22 +8228,22 @@ function vr(e, t, n = {}, o, r, s) {
8190
8228
  // setupStore
8191
8229
  ) : $);
8192
8230
  o._s.set(e, b);
8193
- const F = o._a && o._a.runWithContext || G0, L = o._e.run(() => (a = Vl(), F(() => a.run(t))));
8194
- for (const x in L) {
8195
- const w = L[x];
8231
+ const L = o._a && o._a.runWithContext || e0, F = o._e.run(() => (a = Vl(), L(() => a.run(t))));
8232
+ for (const x in F) {
8233
+ const w = F[x];
8196
8234
  if (wt(w) && !ba(w) || yr(w))
8197
- process.env.NODE_ENV !== "production" && r ? jn(v.value, x, Xe(L, x)) : s || (p && J0(w) && (wt(w) ? w.value = p[x] : mr(w, p[x])), o.state.value[e][x] = w), process.env.NODE_ENV !== "production" && A.state.push(x);
8235
+ process.env.NODE_ENV !== "production" && r ? jn(v.value, x, Xe(F, x)) : s || (p && n0(w) && (wt(w) ? w.value = p[x] : mr(w, p[x])), o.state.value[e][x] = w), process.env.NODE_ENV !== "production" && A.state.push(x);
8198
8236
  else if (typeof w == "function") {
8199
- const M = process.env.NODE_ENV !== "production" && r ? w : C(x, w);
8200
- L[x] = M, process.env.NODE_ENV !== "production" && (A.actions[x] = w), i.actions[x] = w;
8237
+ const I = process.env.NODE_ENV !== "production" && r ? w : C(x, w);
8238
+ F[x] = I, process.env.NODE_ENV !== "production" && (A.actions[x] = w), i.actions[x] = w;
8201
8239
  } else
8202
8240
  process.env.NODE_ENV !== "production" && ba(w) && (A.getters[x] = s ? (
8203
8241
  // @ts-expect-error
8204
8242
  n.getters[x]
8205
- ) : w, Zr && (L._getters || // @ts-expect-error: same
8206
- (L._getters = mn([]))).push(x));
8243
+ ) : w, Zr && (F._getters || // @ts-expect-error: same
8244
+ (F._getters = mn([]))).push(x));
8207
8245
  }
8208
- if (Oe(b, L), Oe(Wl(b), L), Object.defineProperty(b, "$state", {
8246
+ if (Oe(b, F), Oe(Wl(b), F), Object.defineProperty(b, "$state", {
8209
8247
  get: () => process.env.NODE_ENV !== "production" && r ? v.value : o.state.value[e],
8210
8248
  set: (x) => {
8211
8249
  if (process.env.NODE_ENV !== "production" && r)
@@ -8217,8 +8255,8 @@ function vr(e, t, n = {}, o, r, s) {
8217
8255
  }), process.env.NODE_ENV !== "production" && (b._hotUpdate = mn((x) => {
8218
8256
  b._hotUpdating = !0, x._hmrPayload.state.forEach((w) => {
8219
8257
  if (w in b.$state) {
8220
- const M = x.$state[w], N = b.$state[w];
8221
- typeof M == "object" && Ot(M) && Ot(N) ? El(M, N) : x.$state[w] = N;
8258
+ const I = x.$state[w], N = b.$state[w];
8259
+ typeof I == "object" && Ot(I) && Ot(N) ? El(I, N) : x.$state[w] = N;
8222
8260
  }
8223
8261
  jn(b, w, Xe(x.$state, w));
8224
8262
  }), Object.keys(b.$state).forEach((w) => {
@@ -8227,14 +8265,14 @@ function vr(e, t, n = {}, o, r, s) {
8227
8265
  l = !0;
8228
8266
  });
8229
8267
  for (const w in x._hmrPayload.actions) {
8230
- const M = x[w];
8231
- jn(b, w, C(w, M));
8268
+ const I = x[w];
8269
+ jn(b, w, C(w, I));
8232
8270
  }
8233
8271
  for (const w in x._hmrPayload.getters) {
8234
- const M = x._hmrPayload.getters[w], N = s ? (
8272
+ const I = x._hmrPayload.getters[w], N = s ? (
8235
8273
  // special handling of options api
8236
- E(() => (ho(o), M.call(b, b)))
8237
- ) : M;
8274
+ E(() => (ho(o), I.call(b, b)))
8275
+ ) : I;
8238
8276
  jn(b, w, N);
8239
8277
  }
8240
8278
  Object.keys(b._hmrPayload.getters).forEach((w) => {
@@ -8261,7 +8299,7 @@ function vr(e, t, n = {}, o, r, s) {
8261
8299
  pinia: o,
8262
8300
  options: i
8263
8301
  }));
8264
- Object.keys(w || {}).forEach((M) => b._customProperties.add(M)), Oe(b, w);
8302
+ Object.keys(w || {}).forEach((I) => b._customProperties.add(I)), Oe(b, w);
8265
8303
  } else
8266
8304
  Oe(b, a.run(() => x({
8267
8305
  store: b,
@@ -8273,7 +8311,7 @@ function vr(e, t, n = {}, o, r, s) {
8273
8311
  state: () => new MyClass()
8274
8312
  Found in store "${b.$id}".`), p && s && n.hydrate && n.hydrate(b.$state, p), l = !0, u = !0, b;
8275
8313
  }
8276
- function Y0(e, t, n) {
8314
+ function o0(e, t, n) {
8277
8315
  let o, r;
8278
8316
  const s = typeof t == "function";
8279
8317
  if (typeof e == "string")
@@ -8284,7 +8322,7 @@ function Y0(e, t, n) {
8284
8322
  const l = Ul();
8285
8323
  if (i = // in test mode, ignore the argument provided as we can always retrieve a
8286
8324
  // pinia instance with getActivePinia()
8287
- (process.env.NODE_ENV === "test" && gn && gn._testing ? null : i) || (l ? Z(q0, null) : null), i && ho(i), process.env.NODE_ENV !== "production" && !gn)
8325
+ (process.env.NODE_ENV === "test" && gn && gn._testing ? null : i) || (l ? Z(Xg, null) : null), i && ho(i), process.env.NODE_ENV !== "production" && !gn)
8288
8326
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Did you forget to install pinia?
8289
8327
  const pinia = createPinia()
8290
8328
  app.use(pinia)
@@ -8307,14 +8345,14 @@ This will fail in production.`);
8307
8345
  }
8308
8346
  return a.$id = o, a;
8309
8347
  }
8310
- function Z0(e, t) {
8348
+ function r0(e, t) {
8311
8349
  return Array.isArray(t) ? t.reduce((n, o) => (n[o] = function(...r) {
8312
8350
  return e(this.$pinia)[o](...r);
8313
8351
  }, n), {}) : Object.keys(t).reduce((n, o) => (n[o] = function(...r) {
8314
8352
  return e(this.$pinia)[t[o]](...r);
8315
8353
  }, n), {});
8316
8354
  }
8317
- const Q0 = Y0("user", {
8355
+ const s0 = o0("user", {
8318
8356
  state: () => ({
8319
8357
  user: null,
8320
8358
  isShowLogin: !1,
@@ -8387,7 +8425,7 @@ const Q0 = Y0("user", {
8387
8425
  });
8388
8426
  let kl = nn();
8389
8427
  console.log("childPath3", kl);
8390
- const X0 = {
8428
+ const a0 = {
8391
8429
  props: ["user", "from"],
8392
8430
  data() {
8393
8431
  return {
@@ -8395,15 +8433,15 @@ const X0 = {
8395
8433
  };
8396
8434
  },
8397
8435
  methods: {
8398
- ...Z0(Q0, ["logout"]),
8436
+ ...r0(s0, ["logout"]),
8399
8437
  handlePay() {
8400
8438
  console.log("user", this.user), this.user.is_subscribed || this.$emit("subscribe");
8401
8439
  }
8402
8440
  }
8403
- }, rn = (e) => (Qt("data-v-8580ad75"), e = e(), Xt(), e), eg = { class: "user-center-content" }, tg = { class: "user-info flew-row-v-center" }, ng = ["src"], og = {
8441
+ }, rn = (e) => (Qt("data-v-8580ad75"), e = e(), Xt(), e), i0 = { class: "user-center-content" }, l0 = { class: "user-info flew-row-v-center" }, c0 = ["src"], u0 = {
8404
8442
  class: "user-name",
8405
8443
  style: { color: "#000" }
8406
- }, rg = { class: "user-email" }, sg = { class: "flew-row-v-center" }, ag = {
8444
+ }, d0 = { class: "user-email" }, f0 = { class: "flew-row-v-center" }, p0 = {
8407
8445
  key: 0,
8408
8446
  t: "1637834706702",
8409
8447
  class: "user-item-icon",
@@ -8413,7 +8451,7 @@ const X0 = {
8413
8451
  "p-id": "10206",
8414
8452
  width: "32",
8415
8453
  height: "32"
8416
- }, ig = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8454
+ }, h0 = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8417
8455
  "path",
8418
8456
  {
8419
8457
  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",
@@ -8425,7 +8463,7 @@ const X0 = {
8425
8463
  null,
8426
8464
  -1
8427
8465
  /* HOISTED */
8428
- )), lg = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8466
+ )), m0 = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8429
8467
  "path",
8430
8468
  {
8431
8469
  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",
@@ -8435,10 +8473,10 @@ const X0 = {
8435
8473
  null,
8436
8474
  -1
8437
8475
  /* HOISTED */
8438
- )), cg = [
8439
- ig,
8440
- lg
8441
- ], ug = {
8476
+ )), v0 = [
8477
+ h0,
8478
+ m0
8479
+ ], g0 = {
8442
8480
  key: 1,
8443
8481
  t: "1637055277290",
8444
8482
  class: "user-item-icon",
@@ -8448,7 +8486,7 @@ const X0 = {
8448
8486
  "p-id": "8080",
8449
8487
  width: "32",
8450
8488
  height: "32"
8451
- }, dg = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8489
+ }, b0 = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8452
8490
  "path",
8453
8491
  {
8454
8492
  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",
@@ -8458,9 +8496,9 @@ const X0 = {
8458
8496
  null,
8459
8497
  -1
8460
8498
  /* HOISTED */
8461
- )), fg = [
8462
- dg
8463
- ], pg = ["href"], hg = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8499
+ )), y0 = [
8500
+ b0
8501
+ ], _0 = ["href"], w0 = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8464
8502
  "button",
8465
8503
  { class: "upgrade_btn" },
8466
8504
  [
@@ -8468,9 +8506,9 @@ const X0 = {
8468
8506
  ],
8469
8507
  -1
8470
8508
  /* HOISTED */
8471
- )), mg = [
8472
- hg
8473
- ], vg = ["href"], gg = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8509
+ )), x0 = [
8510
+ w0
8511
+ ], E0 = ["href"], S0 = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8474
8512
  "div",
8475
8513
  { class: "user-item user-item-active flew-row-v-center" },
8476
8514
  [
@@ -8494,9 +8532,9 @@ const X0 = {
8494
8532
  ],
8495
8533
  -1
8496
8534
  /* HOISTED */
8497
- )), bg = [
8498
- gg
8499
- ], yg = ["href"], _g = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8535
+ )), k0 = [
8536
+ S0
8537
+ ], O0 = ["href"], T0 = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8500
8538
  "div",
8501
8539
  { class: "user-item user-item-active flew-row-v-center" },
8502
8540
  [
@@ -8525,19 +8563,19 @@ const X0 = {
8525
8563
  ],
8526
8564
  -1
8527
8565
  /* HOISTED */
8528
- )), wg = [
8529
- _g
8566
+ )), P0 = [
8567
+ T0
8530
8568
  ];
8531
- function xg(e, t, n, o, r, s) {
8532
- return T(), R("div", eg, [
8533
- h("div", tg, [
8569
+ function C0(e, t, n, o, r, s) {
8570
+ return T(), R("div", i0, [
8571
+ h("div", l0, [
8534
8572
  h("img", {
8535
8573
  class: "user-avatar",
8536
8574
  src: n.user.avatar || "https://statics.imgkits.com/images/default_user_avatar_black.png",
8537
8575
  alt: "user avatar"
8538
- }, null, 8, ng),
8576
+ }, null, 8, c0),
8539
8577
  h("div", null, [
8540
- h("div", og, [
8578
+ h("div", u0, [
8541
8579
  h(
8542
8580
  "span",
8543
8581
  null,
@@ -8546,7 +8584,7 @@ function xg(e, t, n, o, r, s) {
8546
8584
  /* TEXT */
8547
8585
  )
8548
8586
  ]),
8549
- h("div", rg, [
8587
+ h("div", d0, [
8550
8588
  h(
8551
8589
  "span",
8552
8590
  null,
@@ -8557,7 +8595,7 @@ function xg(e, t, n, o, r, s) {
8557
8595
  ])
8558
8596
  ])
8559
8597
  ]),
8560
- D(` <div v-if="!user.is_subscribed" class="user-item user-item-active flew-row-v-center space-between" @click="handlePay">
8598
+ j(` <div v-if="!user.is_subscribed" class="user-item user-item-active flew-row-v-center space-between" @click="handlePay">
8561
8599
  <div class="flew-row-v-center">
8562
8600
  <svg t="1637055176346" class="user-item-icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6419" width="32" height="32"><path d="M179.2 182.4c-34.4 16.8-51.2 35.2-51.2 55.2v55.2c0 20 16.8 38.4 51.2 55.2 34.4 16.8 80.8 30.4 140 40 59.2 9.6 123.2 14.4 192.8 14.4s133.6-4.8 192.8-14.4c59.2-9.6 105.6-23.2 140-40 34.4-16.8 51.2-35.2 51.2-55.2v-55.2c0-20-16.8-38.4-51.2-55.2-34.4-16.8-80.8-30.4-140-40C645.6 132.8 581.6 128 512 128s-133.6 4.8-192.8 14.4c-58.4 10.4-105.6 23.2-140 40M128 552v69.6c0 20 16.8 38.4 51.2 55.2s80.8 30.4 140 40c59.2 9.6 123.2 14.4 192.8 14.4s133.6-4.8 192.8-14.4c59.2-9.6 105.6-23.2 140-40 34.4-16.8 51.2-35.2 51.2-55.2v-72.8c-40 24-93.6 42.4-162.4 54.4-68.8 12.8-142.4 18.4-221.6 18.4s-152.8-5.6-221.6-18.4C221.6 591.2 168 572.8 128 548.8M128 712v74.4c0 20 16.8 38.4 51.2 55.2s80.8 30.4 140 40c59.2 9.6 123.2 14.4 192.8 14.4s133.6-4.8 192.8-14.4c59.2-9.6 105.6-23.2 140-40 34.4-16.8 51.2-35.2 51.2-55.2v-72.8c-40 24-93.6 42.4-162.4 54.4-68.8 12-142.4 18.4-221.6 18.4s-152.8-6.4-221.6-18.4C221.6 756 168 737.6 128 713.6M128 384v72.8c0 20 16.8 38.4 51.2 55.2s80.8 30.4 140 40c59.2 9.6 123.2 14.4 192.8 14.4s133.6-4.8 192.8-14.4c59.2-9.6 105.6-23.2 140-40 34.4-16.8 51.2-35.2 51.2-55.2V384c-40 24-93.6 42.4-162.4 54.4-68.8 12-142.4 18.4-221.6 18.4s-152.8-6.4-221.6-18.4C221.6 426.4 168 408 128 384" p-id="6420" fill="#969696"></path></svg>
8563
8601
  <span id="free_cnt">My Credit: {{user.free_cnt}}</span>
@@ -8568,8 +8606,8 @@ function xg(e, t, n, o, r, s) {
8568
8606
  class: "user-item flew-row-v-center space-between",
8569
8607
  onClick: t[0] || (t[0] = (...a) => s.handlePay && s.handlePay(...a))
8570
8608
  }, [
8571
- h("div", sg, [
8572
- n.user.is_subscribed ? (T(), R("svg", ag, cg)) : (T(), R("svg", ug, fg)),
8609
+ h("div", f0, [
8610
+ n.user.is_subscribed ? (T(), R("svg", p0, v0)) : (T(), R("svg", g0, y0)),
8573
8611
  h(
8574
8612
  "span",
8575
8613
  null,
@@ -8578,26 +8616,26 @@ function xg(e, t, n, o, r, s) {
8578
8616
  /* TEXT */
8579
8617
  )
8580
8618
  ]),
8581
- n.user.is_subscribed ? D("v-if", !0) : (T(), R("a", {
8619
+ n.user.is_subscribed ? j("v-if", !0) : (T(), R("a", {
8582
8620
  key: 0,
8583
8621
  href: r.path + "/pricing",
8584
8622
  target: "_self"
8585
- }, mg, 8, pg))
8623
+ }, x0, 8, _0))
8586
8624
  ]),
8587
8625
  h("a", {
8588
8626
  href: r.path + "/dashboard",
8589
8627
  target: "_blank"
8590
- }, bg, 8, vg),
8628
+ }, k0, 8, E0),
8591
8629
  h("a", {
8592
8630
  rel: "nofollow",
8593
8631
  href: r.path + "/user/logout"
8594
- }, wg, 8, yg)
8632
+ }, P0, 8, O0)
8595
8633
  ]);
8596
8634
  }
8597
- const _a = /* @__PURE__ */ It(X0, [["render", xg], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/c/Desktop/xiaochengxu/liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
8598
- const Eg = {
8635
+ const _a = /* @__PURE__ */ Mt(a0, [["render", C0], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/yinheng/Desktop/code/xiaochengxu/liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
8636
+ const A0 = {
8599
8637
  props: ["content", "top"]
8600
- }, Sg = (e) => (Qt("data-v-7b6def48"), e = e(), Xt(), e), kg = /* @__PURE__ */ Sg(() => /* @__PURE__ */ h(
8638
+ }, I0 = (e) => (Qt("data-v-7b6def48"), e = e(), Xt(), e), M0 = /* @__PURE__ */ I0(() => /* @__PURE__ */ h(
8601
8639
  "svg",
8602
8640
  {
8603
8641
  t: "1637907583780",
@@ -8618,7 +8656,7 @@ const Eg = {
8618
8656
  -1
8619
8657
  /* HOISTED */
8620
8658
  ));
8621
- function Og(e, t, n, o, r, s) {
8659
+ function $0(e, t, n, o, r, s) {
8622
8660
  return T(), R(
8623
8661
  "div",
8624
8662
  {
@@ -8626,7 +8664,7 @@ function Og(e, t, n, o, r, s) {
8626
8664
  style: Pn({ top: n.top || "60PX" })
8627
8665
  },
8628
8666
  [
8629
- kg,
8667
+ M0,
8630
8668
  h(
8631
8669
  "span",
8632
8670
  null,
@@ -8639,8 +8677,8 @@ function Og(e, t, n, o, r, s) {
8639
8677
  /* STYLE */
8640
8678
  );
8641
8679
  }
8642
- const Tg = /* @__PURE__ */ It(Eg, [["render", Og], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/c/Desktop/xiaochengxu/liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
8643
- const Pg = { class: "background-cover" }, Cg = /* @__PURE__ */ h(
8680
+ const N0 = /* @__PURE__ */ Mt(A0, [["render", $0], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/yinheng/Desktop/code/xiaochengxu/liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
8681
+ const R0 = { class: "background-cover" }, L0 = /* @__PURE__ */ h(
8644
8682
  "div",
8645
8683
  { class: "invite-success" },
8646
8684
  [
@@ -8667,7 +8705,7 @@ const Pg = { class: "background-cover" }, Cg = /* @__PURE__ */ h(
8667
8705
  ],
8668
8706
  -1
8669
8707
  /* HOISTED */
8670
- ), Ag = /* @__PURE__ */ h(
8708
+ ), F0 = /* @__PURE__ */ h(
8671
8709
  "div",
8672
8710
  { class: "invite-title" },
8673
8711
  [
@@ -8675,29 +8713,29 @@ const Pg = { class: "background-cover" }, Cg = /* @__PURE__ */ h(
8675
8713
  ],
8676
8714
  -1
8677
8715
  /* HOISTED */
8678
- ), Mg = /* @__PURE__ */ h(
8716
+ ), j0 = /* @__PURE__ */ h(
8679
8717
  "p",
8680
8718
  { class: "invite-desc" },
8681
8719
  "You have successfully subscribed to the business plan and now you have the right to add licenses for partners.",
8682
8720
  -1
8683
8721
  /* HOISTED */
8684
- ), Ig = /* @__PURE__ */ h(
8722
+ ), D0 = /* @__PURE__ */ h(
8685
8723
  "span",
8686
8724
  null,
8687
8725
  "Invite Partners Now",
8688
8726
  -1
8689
8727
  /* HOISTED */
8690
- ), $g = [
8691
- Ig
8692
- ], Ng = /* @__PURE__ */ h(
8728
+ ), B0 = [
8729
+ D0
8730
+ ], H0 = /* @__PURE__ */ h(
8693
8731
  "span",
8694
8732
  null,
8695
8733
  "Invite Later",
8696
8734
  -1
8697
8735
  /* HOISTED */
8698
- ), Rg = [
8699
- Ng
8700
- ], Fg = {
8736
+ ), z0 = [
8737
+ H0
8738
+ ], U0 = {
8701
8739
  __name: "TeamInvite",
8702
8740
  emits: ["cancel"],
8703
8741
  setup(e, { emit: t }) {
@@ -8706,26 +8744,26 @@ const Pg = { class: "background-cover" }, Cg = /* @__PURE__ */ h(
8706
8744
  }, r = () => {
8707
8745
  t("cancel");
8708
8746
  };
8709
- return (s, a) => (T(), R("div", Pg, [
8747
+ return (s, a) => (T(), R("div", R0, [
8710
8748
  h("div", { class: "invite-dialog" }, [
8711
- Cg,
8712
- Ag,
8713
- Mg,
8749
+ L0,
8750
+ F0,
8751
+ j0,
8714
8752
  h("div", null, [
8715
8753
  h("div", {
8716
8754
  class: "button button-up",
8717
8755
  onClick: o
8718
- }, $g),
8756
+ }, B0),
8719
8757
  h("div", {
8720
8758
  class: "button button-down",
8721
8759
  onClick: r
8722
- }, Rg)
8760
+ }, z0)
8723
8761
  ])
8724
8762
  ])
8725
8763
  ]));
8726
8764
  }
8727
- }, Lg = /* @__PURE__ */ It(Fg, [["__file", "/Users/c/Desktop/xiaochengxu/liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
8728
- function jg(e, t) {
8765
+ }, V0 = /* @__PURE__ */ Mt(U0, [["__file", "/Users/yinheng/Desktop/code/xiaochengxu/liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
8766
+ function W0(e, t) {
8729
8767
  return T(), R("svg", {
8730
8768
  xmlns: "http://www.w3.org/2000/svg",
8731
8769
  viewBox: "0 0 20 20",
@@ -8739,13 +8777,13 @@ function jg(e, t) {
8739
8777
  })
8740
8778
  ]);
8741
8779
  }
8742
- const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8780
+ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8743
8781
  "span",
8744
8782
  null,
8745
8783
  "Our other apps",
8746
8784
  -1
8747
8785
  /* HOISTED */
8748
- )), Bg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8786
+ )), G0 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8749
8787
  "img",
8750
8788
  {
8751
8789
  src: "https://statics.imgkits.com/lsl_ali_icon4392779680.png ",
@@ -8754,7 +8792,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8754
8792
  null,
8755
8793
  -1
8756
8794
  /* HOISTED */
8757
- )), Hg = ["href"], zg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8795
+ )), K0 = ["href"], J0 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8758
8796
  "img",
8759
8797
  {
8760
8798
  style: { height: "64px", width: "64px", marginRight: "4px", borderRadius: "4px" },
@@ -8764,7 +8802,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8764
8802
  null,
8765
8803
  -1
8766
8804
  /* HOISTED */
8767
- )), Ug = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8805
+ )), Y0 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8768
8806
  "div",
8769
8807
  { class: "flex flex-col pl-1" },
8770
8808
  [
@@ -8773,10 +8811,10 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8773
8811
  ],
8774
8812
  -1
8775
8813
  /* HOISTED */
8776
- )), Vg = [
8777
- zg,
8778
- Ug
8779
- ], Wg = ["href"], qg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8814
+ )), Z0 = [
8815
+ J0,
8816
+ Y0
8817
+ ], Q0 = ["href"], X0 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8780
8818
  "img",
8781
8819
  {
8782
8820
  style: { height: "64px", width: "64px", marginRight: "4px", borderRadius: "4px" },
@@ -8786,7 +8824,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8786
8824
  null,
8787
8825
  -1
8788
8826
  /* HOISTED */
8789
- )), Gg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8827
+ )), e1 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8790
8828
  "div",
8791
8829
  { class: "flex flex-col pl-1" },
8792
8830
  [
@@ -8795,10 +8833,10 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8795
8833
  ],
8796
8834
  -1
8797
8835
  /* HOISTED */
8798
- )), Kg = [
8799
- qg,
8800
- Gg
8801
- ], Jg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8836
+ )), t1 = [
8837
+ X0,
8838
+ e1
8839
+ ], n1 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8802
8840
  "img",
8803
8841
  {
8804
8842
  style: { width: "20px", height: "20px", marginRight: "8px" },
@@ -8808,13 +8846,13 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8808
8846
  null,
8809
8847
  -1
8810
8848
  /* HOISTED */
8811
- )), Yg = ["href"], Zg = ["src"], Qg = {
8849
+ )), o1 = ["href"], r1 = ["src"], s1 = {
8812
8850
  key: 1,
8813
8851
  class: "ml-2 h-4 flex items-center font-normal bg-[#f16a41] text-white rounded-sm px-1 text-center"
8814
- }, Xg = {
8852
+ }, a1 = {
8815
8853
  key: 2,
8816
8854
  class: "ml-2 h-4 flex items-center font-normal bg-[#5b4fff] text-white rounded-sm px-1 text-center"
8817
- }, e1 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8855
+ }, i1 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8818
8856
  "svg",
8819
8857
  {
8820
8858
  class: "inline-block mr-2",
@@ -8981,13 +9019,13 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8981
9019
  ],
8982
9020
  -1
8983
9021
  /* HOISTED */
8984
- )), t1 = ["href"], n1 = ["src"], o1 = {
9022
+ )), l1 = ["href"], c1 = ["src"], u1 = {
8985
9023
  key: 1,
8986
9024
  class: "ml-2 h-4 flex items-center font-normal bg-[#f16a41] text-white rounded-sm px-1 text-center"
8987
- }, r1 = {
9025
+ }, d1 = {
8988
9026
  key: 2,
8989
9027
  class: "ml-2 h-4 flex items-center font-normal bg-[#5b4fff] text-white rounded-sm px-1 text-center"
8990
- }, s1 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
9028
+ }, f1 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8991
9029
  "img",
8992
9030
  {
8993
9031
  style: { width: "20px", height: "20px", marginRight: "8px" },
@@ -8997,13 +9035,13 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8997
9035
  null,
8998
9036
  -1
8999
9037
  /* HOISTED */
9000
- )), a1 = ["href"], i1 = ["src"], l1 = {
9038
+ )), p1 = ["href"], h1 = ["src"], m1 = {
9001
9039
  key: 1,
9002
9040
  class: "ml-2 h-4 flex items-center font-normal bg-[#f16a41] text-white rounded-sm px-1 text-center"
9003
- }, c1 = {
9041
+ }, v1 = {
9004
9042
  key: 2,
9005
9043
  class: "ml-2 h-4 flex items-center font-normal bg-[#5b4fff] text-white rounded-sm px-1 text-center"
9006
- }, u1 = {
9044
+ }, g1 = {
9007
9045
  __name: "MobileMoreApps",
9008
9046
  props: {
9009
9047
  hotApps: Array,
@@ -9012,7 +9050,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9012
9050
  edge_addon_tools: Array
9013
9051
  },
9014
9052
  setup(e) {
9015
- const t = I(null);
9053
+ const t = M(null);
9016
9054
  return X(() => {
9017
9055
  const n = new URL(location.href);
9018
9056
  t.value = n.searchParams.get("from") || null;
@@ -9030,12 +9068,12 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9030
9068
  index: "1"
9031
9069
  }, {
9032
9070
  title: U(() => [
9033
- Dg
9071
+ q0
9034
9072
  ]),
9035
9073
  default: U(() => [
9036
9074
  Q(r, { index: "1-1" }, {
9037
9075
  title: U(() => [
9038
- Bg,
9076
+ G0,
9039
9077
  le(" Hot Tools ")
9040
9078
  ]),
9041
9079
  default: U(() => [
@@ -9048,7 +9086,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9048
9086
  target: "_blank",
9049
9087
  href: "https://www.imgkits.com" + (t.value ? "?from=" + t.value : ""),
9050
9088
  class: "cursor-pointer flex items-center bg-gradient-to-r h-24 mb-6 from-purple-100 via-blue-100 to-purple-200 rounded-2xl w-96 p-3"
9051
- }, Vg, 8, Hg)
9089
+ }, Z0, 8, K0)
9052
9090
  ]),
9053
9091
  _: 1
9054
9092
  /* STABLE */
@@ -9059,7 +9097,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9059
9097
  target: "_blank",
9060
9098
  href: "https://www.livepolls.app/ai_image_generator/image-generator" + (t.value ? "?from=" + t.value : ""),
9061
9099
  class: "cursor-pointer flex items-center bg-gradient-to-r h-24 from-purple-100 via-blue-100 to-purple-200 rounded-2xl w-96 p-3"
9062
- }, Kg, 8, Wg)
9100
+ }, t1, 8, Q0)
9063
9101
  ]),
9064
9102
  _: 1
9065
9103
  /* STABLE */
@@ -9070,7 +9108,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9070
9108
  }),
9071
9109
  Q(r, { index: "1-2" }, {
9072
9110
  title: U(() => [
9073
- Jg,
9111
+ n1,
9074
9112
  le(" Google Workspace Tools ")
9075
9113
  ]),
9076
9114
  default: U(() => [
@@ -9091,15 +9129,15 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9091
9129
  key: 0,
9092
9130
  class: "h-4 mr-2 w-4 inline-block",
9093
9131
  src: i.icon
9094
- }, null, 8, Zg)) : D("v-if", !0),
9132
+ }, null, 8, r1)) : j("v-if", !0),
9095
9133
  le(
9096
9134
  " " + ne(i.name) + " ",
9097
9135
  1
9098
9136
  /* TEXT */
9099
9137
  ),
9100
- i.type == 1 ? (T(), R("span", Qg, "Hot")) : D("v-if", !0),
9101
- i.type == 2 ? (T(), R("span", Xg, "AI")) : D("v-if", !0)
9102
- ], 8, Yg)
9138
+ i.type == 1 ? (T(), R("span", s1, "Hot")) : j("v-if", !0),
9139
+ i.type == 2 ? (T(), R("span", a1, "AI")) : j("v-if", !0)
9140
+ ], 8, o1)
9103
9141
  ]),
9104
9142
  _: 2
9105
9143
  /* DYNAMIC */
@@ -9113,7 +9151,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9113
9151
  }),
9114
9152
  Q(r, { index: "1-3" }, {
9115
9153
  title: U(() => [
9116
- e1,
9154
+ i1,
9117
9155
  le(" Chrome Extensions ")
9118
9156
  ]),
9119
9157
  default: U(() => [
@@ -9134,15 +9172,15 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9134
9172
  key: 0,
9135
9173
  class: "h-4 mr-2 w-4 inline-block",
9136
9174
  src: i.icon
9137
- }, null, 8, n1)) : D("v-if", !0),
9175
+ }, null, 8, c1)) : j("v-if", !0),
9138
9176
  le(
9139
9177
  " " + ne(i.name) + " ",
9140
9178
  1
9141
9179
  /* TEXT */
9142
9180
  ),
9143
- i.type == 1 ? (T(), R("span", o1, "Hot")) : D("v-if", !0),
9144
- i.type == 2 ? (T(), R("span", r1, "AI")) : D("v-if", !0)
9145
- ], 8, t1)
9181
+ i.type == 1 ? (T(), R("span", u1, "Hot")) : j("v-if", !0),
9182
+ i.type == 2 ? (T(), R("span", d1, "AI")) : j("v-if", !0)
9183
+ ], 8, l1)
9146
9184
  ]),
9147
9185
  _: 2
9148
9186
  /* DYNAMIC */
@@ -9156,7 +9194,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9156
9194
  }),
9157
9195
  Q(r, { index: "1-4" }, {
9158
9196
  title: U(() => [
9159
- s1,
9197
+ f1,
9160
9198
  le(" Edge Extensions ")
9161
9199
  ]),
9162
9200
  default: U(() => [
@@ -9177,15 +9215,15 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9177
9215
  key: 0,
9178
9216
  class: "h-4 mr-2 w-4 inline-block",
9179
9217
  src: i.icon
9180
- }, null, 8, i1)) : D("v-if", !0),
9218
+ }, null, 8, h1)) : j("v-if", !0),
9181
9219
  le(
9182
9220
  " " + ne(i.name) + " ",
9183
9221
  1
9184
9222
  /* TEXT */
9185
9223
  ),
9186
- i.type == 1 ? (T(), R("span", l1, "Hot")) : D("v-if", !0),
9187
- i.type == 2 ? (T(), R("span", c1, "AI")) : D("v-if", !0)
9188
- ], 8, a1)
9224
+ i.type == 1 ? (T(), R("span", m1, "Hot")) : j("v-if", !0),
9225
+ i.type == 2 ? (T(), R("span", v1, "AI")) : j("v-if", !0)
9226
+ ], 8, p1)
9189
9227
  ]),
9190
9228
  _: 2
9191
9229
  /* DYNAMIC */
@@ -9215,29 +9253,29 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9215
9253
  });
9216
9254
  };
9217
9255
  }
9218
- }, d1 = /* @__PURE__ */ It(u1, [["__scopeId", "data-v-b9e2cd3f"], ["__file", "/Users/c/Desktop/xiaochengxu/liusenlin_project/Translation_Video/src/components/MobileMoreApps.vue"]]);
9219
- const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9256
+ }, b1 = /* @__PURE__ */ Mt(g1, [["__scopeId", "data-v-b9e2cd3f"], ["__file", "/Users/yinheng/Desktop/code/xiaochengxu/liusenlin_project/Translation_Video/src/components/MobileMoreApps.vue"]]);
9257
+ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
9220
9258
  class: "flex items-center justify-between py-6 lg:px-0 px-6",
9221
9259
  "aria-label": "Global"
9222
- }, p1 = { class: "flex lg:flex-1" }, h1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9260
+ }, _1 = { class: "flex lg:flex-1" }, w1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9223
9261
  "span",
9224
9262
  { class: "hidden items-center gap-x-1 text-sm font-semibold h-7 leading-7 text-gray-900" },
9225
9263
  null,
9226
9264
  -1
9227
9265
  /* HOISTED */
9228
- )), m1 = ["href"], v1 = ["src", "alt"], g1 = { class: "pl-2 text-xl" }, b1 = { class: "flex lg:hidden" }, y1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9266
+ )), x1 = ["href"], E1 = ["src", "alt"], S1 = { class: "pl-2 text-xl" }, k1 = { class: "flex lg:hidden" }, O1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9229
9267
  "span",
9230
9268
  { class: "sr-only" },
9231
9269
  "Open main menu",
9232
9270
  -1
9233
9271
  /* HOISTED */
9234
- )), _1 = { class: "hidden lg:flex lg:gap-x-12" }, w1 = { class: "navigation-item inline-flex items-center gap-x-1 text-sm font-semibold h-7 leading-7 text-gray-900" }, x1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9272
+ )), T1 = { class: "hidden lg:flex lg:gap-x-12" }, P1 = { class: "navigation-item inline-flex items-center gap-x-1 text-sm font-semibold h-7 leading-7 text-gray-900" }, C1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9235
9273
  "span",
9236
9274
  null,
9237
9275
  "Our other apps",
9238
9276
  -1
9239
9277
  /* HOISTED */
9240
- )), E1 = { class: "hot w-1/4 border-r mr-10" }, S1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9278
+ )), A1 = { class: "hot w-1/4 border-r mr-10" }, I1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9241
9279
  "div",
9242
9280
  { class: "py-3 text-sm font-bold flex items-center leading-6" },
9243
9281
  [
@@ -9249,7 +9287,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9249
9287
  ],
9250
9288
  -1
9251
9289
  /* HOISTED */
9252
- )), k1 = { class: "h-[300px] pt-5 w-[97%]" }, O1 = ["href"], T1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9290
+ )), M1 = { class: "h-[300px] pt-5 w-[97%]" }, $1 = ["href"], N1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9253
9291
  "img",
9254
9292
  {
9255
9293
  class: "h-16 w-16 mr-1 rounded",
@@ -9258,7 +9296,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9258
9296
  null,
9259
9297
  -1
9260
9298
  /* HOISTED */
9261
- )), P1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9299
+ )), R1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9262
9300
  "div",
9263
9301
  { class: "flex flex-col pl-1" },
9264
9302
  [
@@ -9267,10 +9305,10 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9267
9305
  ],
9268
9306
  -1
9269
9307
  /* HOISTED */
9270
- )), C1 = [
9271
- T1,
9272
- P1
9273
- ], A1 = ["href"], M1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9308
+ )), L1 = [
9309
+ N1,
9310
+ R1
9311
+ ], F1 = ["href"], j1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9274
9312
  "img",
9275
9313
  {
9276
9314
  class: "h-16 w-16 mr-1 rounded",
@@ -9279,7 +9317,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9279
9317
  null,
9280
9318
  -1
9281
9319
  /* HOISTED */
9282
- )), I1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9320
+ )), D1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9283
9321
  "div",
9284
9322
  { class: "flex flex-col pl-1" },
9285
9323
  [
@@ -9288,10 +9326,10 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9288
9326
  ],
9289
9327
  -1
9290
9328
  /* HOISTED */
9291
- )), $1 = [
9292
- M1,
9293
- I1
9294
- ], N1 = { class: "flex w-1/4 border-r mr-10 flex-col" }, R1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9329
+ )), B1 = [
9330
+ j1,
9331
+ D1
9332
+ ], H1 = { class: "flex w-1/4 border-r mr-10 flex-col" }, z1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9295
9333
  "div",
9296
9334
  { class: "py-3 text-sm font-bold flex items-center leading-6" },
9297
9335
  [
@@ -9303,13 +9341,13 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9303
9341
  ],
9304
9342
  -1
9305
9343
  /* HOISTED */
9306
- )), F1 = { class: "h-[300px] w-[98%] text-sm font-semibold leading-6 text-gray-900 pt-2" }, L1 = ["href"], j1 = ["src"], D1 = {
9344
+ )), U1 = { class: "h-[300px] w-[98%] text-sm font-semibold leading-6 text-gray-900 pt-2" }, V1 = ["href"], W1 = ["src"], q1 = {
9307
9345
  key: 0,
9308
9346
  class: "h-4 flex items-center font-normal bg-[#f16a41] text-white rounded-sm px-1 text-center"
9309
- }, B1 = {
9347
+ }, G1 = {
9310
9348
  key: 1,
9311
9349
  class: "h-4 flex items-center font-normal bg-[#5b4fff] text-white rounded-sm px-1 text-center"
9312
- }, H1 = { class: "flex w-1/4 border-r mr-10 flex-col" }, z1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9350
+ }, K1 = { class: "flex w-1/4 border-r mr-10 flex-col" }, J1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9313
9351
  "div",
9314
9352
  { class: "py-3 text-sm font-bold flex items-center leading-6" },
9315
9353
  [
@@ -9479,13 +9517,13 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9479
9517
  ],
9480
9518
  -1
9481
9519
  /* HOISTED */
9482
- )), U1 = { class: "h-[300px] text-sm w-[98%] font-semibold leading-6 pt-2 text-gray-900" }, V1 = ["href"], W1 = ["src"], q1 = {
9520
+ )), Y1 = { class: "h-[300px] text-sm w-[98%] font-semibold leading-6 pt-2 text-gray-900" }, Z1 = ["href"], Q1 = ["src"], X1 = {
9483
9521
  key: 0,
9484
9522
  class: "h-4 font-normal flex items-center bg-[#f16a41] text-white rounded-sm px-1 text-center"
9485
- }, G1 = {
9523
+ }, eb = {
9486
9524
  key: 1,
9487
9525
  class: "h-4 font-normal flex items-center bg-[#5b4fff] text-white rounded-sm px-1 text-center"
9488
- }, K1 = { class: "flex w-1/4 mr-10 flex-col" }, J1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9526
+ }, tb = { class: "flex w-1/4 mr-10 flex-col" }, nb = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9489
9527
  "div",
9490
9528
  { class: "py-3 text-sm font-bold flex items-center leading-6" },
9491
9529
  [
@@ -9497,46 +9535,46 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9497
9535
  ],
9498
9536
  -1
9499
9537
  /* HOISTED */
9500
- )), Y1 = { class: "text-sm font-semibold leading-6 text-gray-900 pt-2" }, Z1 = ["href"], Q1 = ["src"], X1 = {
9538
+ )), ob = { class: "text-sm font-semibold leading-6 text-gray-900 pt-2" }, rb = ["href"], sb = ["src"], ab = {
9501
9539
  key: 0,
9502
9540
  class: "h-4 font-normal flex items-center bg-[#f16a41] text-white rounded-sm px-1 text-center"
9503
- }, eb = {
9541
+ }, ib = {
9504
9542
  key: 1,
9505
9543
  class: "h-4 font-normal flex items-center bg-[#5b4fff] text-white rounded-sm px-1 text-center"
9506
- }, tb = ["href", "target"], nb = {
9544
+ }, lb = ["href", "target"], cb = {
9507
9545
  key: 0,
9508
9546
  class: "hidden lg:flex lg:flex-1 lg:justify-end"
9509
- }, ob = {
9547
+ }, ub = {
9510
9548
  key: 1,
9511
9549
  class: "hidden lg:flex lg:flex-1 lg:justify-end"
9512
- }, rb = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9550
+ }, db = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9513
9551
  "span",
9514
9552
  { "aria-hidden": "true" },
9515
9553
  null,
9516
9554
  -1
9517
9555
  /* HOISTED */
9518
- )), sb = { class: "hidden lg:flex lg:flex-1 lg:justify-end text-sm font-semibold leading-6 text-gray-900 items-center" }, ab = { class: "pr-4" }, ib = ["src"], lb = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9556
+ )), fb = { class: "hidden lg:flex lg:flex-1 lg:justify-end text-sm font-semibold leading-6 text-gray-900 items-center" }, pb = { class: "pr-4" }, hb = ["src"], mb = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9519
9557
  "div",
9520
9558
  { class: "open-icon" },
9521
9559
  null,
9522
9560
  -1
9523
9561
  /* HOISTED */
9524
- )), cb = { class: "user-center-dialog shadow-xl" }, ub = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9562
+ )), vb = { class: "user-center-dialog shadow-xl" }, gb = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9525
9563
  "div",
9526
9564
  { class: "fixed inset-0 z-50" },
9527
9565
  null,
9528
9566
  -1
9529
9567
  /* HOISTED */
9530
- )), db = { class: "flex items-center justify-between" }, fb = ["href"], pb = { class: "sr-only" }, hb = ["src", "alt"], mb = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9568
+ )), bb = { class: "flex items-center justify-between" }, yb = ["href"], _b = { class: "sr-only" }, wb = ["src", "alt"], xb = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9531
9569
  "span",
9532
9570
  { class: "sr-only" },
9533
9571
  "Close menu",
9534
9572
  -1
9535
9573
  /* HOISTED */
9536
- )), vb = { class: "mt-6 flow-root" }, gb = { class: "-my-6 divide-y divide-gray-500/10" }, bb = { class: "space-y-2 py-6" }, yb = ["href", "target"], _b = {
9574
+ )), Eb = { class: "mt-6 flow-root" }, Sb = { class: "-my-6 divide-y divide-gray-500/10" }, kb = { class: "space-y-2 py-6" }, Ob = ["href", "target"], Tb = {
9537
9575
  key: 0,
9538
9576
  class: "py-6"
9539
- }, wb = {
9577
+ }, Pb = {
9540
9578
  __name: "Header",
9541
9579
  props: {
9542
9580
  isShenHe: {
@@ -9577,7 +9615,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9577
9615
  name: "Video Translator"
9578
9616
  };
9579
9617
  typeof app_config == "object" && app_config && Object.keys(app_config).length > 0 && (o = app_config), console.log("appInfo", o);
9580
- const r = I(o), s = nn(), a = I([
9618
+ const r = M(o), s = nn(), a = M([
9581
9619
  {
9582
9620
  name: "Live Polls Maker for Slides™",
9583
9621
  desc: "Make your meetings and classes more interactive by live polling to collect instant feedback. Include multiple choice, open text, word cloud, survey, Q&A, quizzes.",
@@ -9654,7 +9692,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9654
9692
  name: "More Google Workspace >",
9655
9693
  url: "https://www.livepolls.app/apps"
9656
9694
  }
9657
- ]), i = I([
9695
+ ]), i = M([
9658
9696
  {
9659
9697
  name: "AI Image Generator",
9660
9698
  desc: "Turn text prompts into an image with our AI Image Generator, you can get the best free stock photos without searching from Pexels or unsplash.",
@@ -9732,7 +9770,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9732
9770
  chrome_addon_url: "https://www.livepolls.app/chrome_addons",
9733
9771
  edge_addon_url: "https://www.livepolls.app/edge_addons"
9734
9772
  }
9735
- ]), c = I([
9773
+ ]), c = M([
9736
9774
  {
9737
9775
  name: "AI Image Generator",
9738
9776
  desc: "Turn text prompts into an image with our AI Image Generator, you can get the best free stock photos without searching from Pexels or unsplash.",
@@ -9809,19 +9847,19 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9809
9847
  name: "More Edge Extensions >",
9810
9848
  edge_addon_url: "https://www.livepolls.app/edge_addons"
9811
9849
  }
9812
- ]), l = I(n.isShenHe ? [{ name: "Privacy Policy", href: s + "/privacy", target: "_blank" }] : [{ name: "Pricing", href: s + "/pricing", target: "_self" }]), u = I(s || "/"), d = I(!1), f = I(null), m = E(() => n.userStore.user), p = () => {
9850
+ ]), l = M(n.isShenHe ? [{ name: "Privacy Policy", href: s + "/privacy", target: "_blank" }] : [{ name: "Pricing", href: s + "/pricing", target: "_self" }]), u = M(s || "/"), d = M(!1), f = M(null), m = E(() => n.userStore.user), p = () => {
9813
9851
  n.userStore.showLogin(!0);
9814
- }, v = I(!1);
9852
+ }, v = M(!1);
9815
9853
  X(() => {
9816
- da(s.substring(1), "chrome_addon").then((L) => {
9817
- i.value = L.slice(0, 6), i.value.push({ name: "More Chrome Extensions >", chrome_addon_url: "https://www.livepolls.app/chrome_addons", edge_addon_url: "https://www.livepolls.app/apps" }), c.value = L.slice(0, 6), c.value.push({ name: "More Edge Extensions >", edge_addon_url: "https://www.livepolls.app/edge_addons" });
9818
- }), da(s.substring(1), "google_workspace").then((L) => {
9819
- console.log(L, "google_workspace"), a.value = L.slice(0, 6), a.value.push({ name: "More Google Workspace >", url: "https://www.livepolls.app/apps" }), console.log(a.value, "workspace");
9854
+ da(s.substring(1), "chrome_addon").then((F) => {
9855
+ i.value = F.slice(0, 6), i.value.push({ name: "More Chrome Extensions >", chrome_addon_url: "https://www.livepolls.app/chrome_addons", edge_addon_url: "https://www.livepolls.app/apps" }), c.value = F.slice(0, 6), c.value.push({ name: "More Edge Extensions >", edge_addon_url: "https://www.livepolls.app/edge_addons" });
9856
+ }), da(s.substring(1), "google_workspace").then((F) => {
9857
+ console.log(F, "google_workspace"), a.value = F.slice(0, 6), a.value.push({ name: "More Google Workspace >", url: "https://www.livepolls.app/apps" }), console.log(a.value, "workspace");
9820
9858
  });
9821
- const F = new URL(location.href);
9822
- f.value = F.searchParams.get("from") || null, n.userStore.getUser(n.driveQuery).then(
9823
- ({ profile: L }) => {
9824
- t("initUserCallback", L), console.log("login", L), !L && n.from != "login" && !n.isShenHe && A();
9859
+ const L = new URL(location.href);
9860
+ f.value = L.searchParams.get("from") || null, n.userStore.getUser(n.driveQuery).then(
9861
+ ({ profile: F }) => {
9862
+ t("initUserCallback", F), console.log("login", F), !F && n.from != "login" && !n.isShenHe && A();
9825
9863
  },
9826
9864
  () => {
9827
9865
  }
@@ -9829,7 +9867,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9829
9867
  });
9830
9868
  async function _() {
9831
9869
  g();
9832
- const F = Dt.service({
9870
+ const L = Dt.service({
9833
9871
  text: "logining...",
9834
9872
  background: "rgba(0, 0, 0, 0.7)"
9835
9873
  });
@@ -9837,7 +9875,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9837
9875
  await n.userStore.getUser(n.driveQuery), t("loginSuccess");
9838
9876
  } catch {
9839
9877
  } finally {
9840
- F.close();
9878
+ L.close();
9841
9879
  }
9842
9880
  }
9843
9881
  function g() {
@@ -9852,26 +9890,26 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9852
9890
  function C() {
9853
9891
  d.value = !d.value;
9854
9892
  }
9855
- function A(F) {
9893
+ function A(L) {
9856
9894
  console.log("addGoogleAccountsScript:before"), typeof google < "u" && (google.accounts.id.initialize({
9857
9895
  client_id: "704677828444-ihbv6faprun043f3iuponnrctutdssgj.apps.googleusercontent.com",
9858
9896
  callback: $
9859
9897
  }), google.accounts.id.prompt());
9860
9898
  }
9861
- function $(F) {
9862
- !F || !F.credential || Qi(F.credential).then(
9863
- (L) => {
9864
- console.log("fetch_success", L), n.userStore ? n.userStore.getUser(n.driveQuery) : location.href = location.pathname;
9899
+ function $(L) {
9900
+ !L || !L.credential || Qi(L.credential).then(
9901
+ (F) => {
9902
+ console.log("fetch_success", F), n.userStore ? n.userStore.getUser(n.driveQuery) : location.href = location.pathname;
9865
9903
  },
9866
- (L) => {
9867
- console.log("fetch_fail", L);
9904
+ (F) => {
9905
+ console.log("fetch_fail", F);
9868
9906
  }
9869
9907
  );
9870
9908
  }
9871
9909
  function b() {
9872
9910
  n.userStore.hideInvite(!1);
9873
9911
  }
9874
- return (F, L) => (T(), R(
9912
+ return (L, F) => (T(), R(
9875
9913
  ie,
9876
9914
  null,
9877
9915
  [
@@ -9893,11 +9931,11 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9893
9931
  class: se(["absolute h-[84px] top-0 bg-white inset-x-0 z-30 mx-auto", [e.className]])
9894
9932
  },
9895
9933
  [
9896
- D(" nav "),
9897
- h("nav", f1, [
9898
- D(" 显示 当前项目产品logo和 名称 大小屏幕公用 "),
9899
- h("div", p1, [
9900
- h1,
9934
+ j(" nav "),
9935
+ h("nav", y1, [
9936
+ j(" 显示 当前项目产品logo和 名称 大小屏幕公用 "),
9937
+ h("div", _1, [
9938
+ w1,
9901
9939
  h("a", {
9902
9940
  href: u.value,
9903
9941
  class: "-m-1.5 p-1.5 flex items-center"
@@ -9906,43 +9944,43 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9906
9944
  class: "h-8 w-auto",
9907
9945
  src: r.value.logo,
9908
9946
  alt: r.value.name
9909
- }, null, 8, v1),
9947
+ }, null, 8, E1),
9910
9948
  h(
9911
9949
  "span",
9912
- g1,
9950
+ S1,
9913
9951
  ne(r.value.name),
9914
9952
  1
9915
9953
  /* TEXT */
9916
9954
  )
9917
- ], 8, m1)
9955
+ ], 8, x1)
9918
9956
  ]),
9919
- D(" 小屏幕 menu菜单栏 "),
9920
- h("div", b1, [
9957
+ j(" 小屏幕 menu菜单栏 "),
9958
+ h("div", k1, [
9921
9959
  h("button", {
9922
9960
  type: "button",
9923
9961
  class: "-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700",
9924
- onClick: L[0] || (L[0] = (x) => v.value = !0)
9962
+ onClick: F[0] || (F[0] = (x) => v.value = !0)
9925
9963
  }, [
9926
- y1,
9927
- Q(y(m0), {
9964
+ O1,
9965
+ Q(y(mg), {
9928
9966
  class: "h-6 w-6",
9929
9967
  "aria-hidden": "true"
9930
9968
  })
9931
9969
  ])
9932
9970
  ]),
9933
- D(" lg>屏幕 显示 workspace 产品推荐的组件 "),
9934
- h("div", _1, [
9935
- D(" 弹出菜单栏组件 "),
9936
- e.isShenHe ? D("v-if", !0) : (T(), ee(y(wl), {
9971
+ j(" lg>屏幕 显示 workspace 产品推荐的组件 "),
9972
+ h("div", T1, [
9973
+ j(" 弹出菜单栏组件 "),
9974
+ e.isShenHe ? j("v-if", !0) : (T(), ee(y(wl), {
9937
9975
  key: 0,
9938
9976
  class: "relative bug_buuton_wrap"
9939
9977
  }, {
9940
9978
  default: U(() => [
9941
- Q(y(p0), { class: "bg-transparent border-0 outline-none" }, {
9979
+ Q(y(pg), { class: "bg-transparent border-0 outline-none" }, {
9942
9980
  default: U(() => [
9943
- h("div", w1, [
9944
- x1,
9945
- Q(y(jg), {
9981
+ h("div", P1, [
9982
+ C1,
9983
+ Q(y(W0), {
9946
9984
  class: "h-5 w-5",
9947
9985
  "aria-hidden": "true"
9948
9986
  })
@@ -9960,35 +9998,35 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9960
9998
  "leave-to-class": "opacity-0 translate-y-1"
9961
9999
  }, {
9962
10000
  default: U(() => [
9963
- Q(y(h0), { class: "fixed mx-auto left-0 right-0 shadow-lg z-10 bg-white mt-5 flex w-screen ring-1 ring-gray-900/5" }, {
10001
+ Q(y(hg), { class: "fixed mx-auto left-0 right-0 shadow-lg z-10 bg-white mt-5 flex w-screen ring-1 ring-gray-900/5" }, {
9964
10002
  default: U(() => [
9965
- D(" 分三个模块 "),
10003
+ j(" 分三个模块 "),
9966
10004
  h(
9967
10005
  "div",
9968
10006
  {
9969
10007
  class: se(["flex w-screen mx-auto px-10", [e.PopoverPanelClass]])
9970
10008
  },
9971
10009
  [
9972
- h("div", E1, [
9973
- S1,
9974
- D(" face_swap_ai.png "),
9975
- h("div", k1, [
10010
+ h("div", A1, [
10011
+ I1,
10012
+ j(" face_swap_ai.png "),
10013
+ h("div", M1, [
9976
10014
  h("a", {
9977
10015
  target: "_blank",
9978
10016
  href: "https://www.imgkits.com" + (f.value ? "?from=" + f.value : ""),
9979
10017
  class: "cursor-pointer flex items-center bg-gradient-to-r h-24 mb-6 from-purple-100 via-blue-100 to-purple-200 rounded-2xl w-60 xl:w-72 p-3"
9980
- }, C1, 8, O1),
10018
+ }, L1, 8, $1),
9981
10019
  h("a", {
9982
10020
  target: "_blank",
9983
10021
  href: "https://www.livepolls.app/ai_image_generator/image-generator" + (f.value ? "?from=" + f.value : ""),
9984
10022
  class: "cursor-pointer flex items-center bg-gradient-to-r h-24 from-purple-100 via-blue-100 to-purple-200 rounded-2xl w-60 xl:w-72 p-3"
9985
- }, $1, 8, A1)
10023
+ }, B1, 8, F1)
9986
10024
  ])
9987
10025
  ]),
9988
- D(" workspace "),
9989
- h("div", N1, [
9990
- R1,
9991
- h("div", F1, [
10026
+ j(" workspace "),
10027
+ h("div", H1, [
10028
+ z1,
10029
+ h("div", U1, [
9992
10030
  (T(!0), R(
9993
10031
  ie,
9994
10032
  null,
@@ -10005,25 +10043,25 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10005
10043
  key: 0,
10006
10044
  class: "h-4 mr-2 w-4 inline-block",
10007
10045
  src: x.icon
10008
- }, null, 8, j1)) : D("v-if", !0),
10046
+ }, null, 8, W1)) : j("v-if", !0),
10009
10047
  le(
10010
10048
  " " + ne(x.name),
10011
10049
  1
10012
10050
  /* TEXT */
10013
10051
  )
10014
- ], 8, L1),
10015
- x.type == 1 ? (T(), R("span", D1, "Hot")) : D("v-if", !0),
10016
- x.type == 2 ? (T(), R("span", B1, "AI")) : D("v-if", !0)
10052
+ ], 8, V1),
10053
+ x.type == 1 ? (T(), R("span", q1, "Hot")) : j("v-if", !0),
10054
+ x.type == 2 ? (T(), R("span", G1, "AI")) : j("v-if", !0)
10017
10055
  ]))),
10018
10056
  128
10019
10057
  /* KEYED_FRAGMENT */
10020
10058
  ))
10021
10059
  ])
10022
10060
  ]),
10023
- D(" chrome_addon "),
10024
- h("div", H1, [
10025
- z1,
10026
- h("div", U1, [
10061
+ j(" chrome_addon "),
10062
+ h("div", K1, [
10063
+ J1,
10064
+ h("div", Y1, [
10027
10065
  (T(!0), R(
10028
10066
  ie,
10029
10067
  null,
@@ -10040,25 +10078,25 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10040
10078
  key: 0,
10041
10079
  class: "h-4 mr-2 w-4 inline-block",
10042
10080
  src: x.icon
10043
- }, null, 8, W1)) : D("v-if", !0),
10081
+ }, null, 8, Q1)) : j("v-if", !0),
10044
10082
  le(
10045
10083
  " " + ne(x.name),
10046
10084
  1
10047
10085
  /* TEXT */
10048
10086
  )
10049
- ], 8, V1),
10050
- x.type == 1 ? (T(), R("span", q1, "Hot")) : D("v-if", !0),
10051
- x.type == 2 ? (T(), R("span", G1, "AI")) : D("v-if", !0)
10087
+ ], 8, Z1),
10088
+ x.type == 1 ? (T(), R("span", X1, "Hot")) : j("v-if", !0),
10089
+ x.type == 2 ? (T(), R("span", eb, "AI")) : j("v-if", !0)
10052
10090
  ]))),
10053
10091
  128
10054
10092
  /* KEYED_FRAGMENT */
10055
10093
  ))
10056
10094
  ])
10057
10095
  ]),
10058
- D(" edge_addon "),
10059
- h("div", K1, [
10060
- J1,
10061
- h("div", Y1, [
10096
+ j(" edge_addon "),
10097
+ h("div", tb, [
10098
+ nb,
10099
+ h("div", ob, [
10062
10100
  (T(!0), R(
10063
10101
  ie,
10064
10102
  null,
@@ -10075,15 +10113,15 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10075
10113
  key: 0,
10076
10114
  class: "h-4 mr-2 w-4 inline-block",
10077
10115
  src: x.icon
10078
- }, null, 8, Q1)) : D("v-if", !0),
10116
+ }, null, 8, sb)) : j("v-if", !0),
10079
10117
  le(
10080
10118
  " " + ne(x.name),
10081
10119
  1
10082
10120
  /* TEXT */
10083
10121
  )
10084
- ], 8, Z1),
10085
- x.type == 1 ? (T(), R("span", X1, "Hot")) : D("v-if", !0),
10086
- x.type == 2 ? (T(), R("span", eb, "AI")) : D("v-if", !0)
10122
+ ], 8, rb),
10123
+ x.type == 1 ? (T(), R("span", ab, "Hot")) : j("v-if", !0),
10124
+ x.type == 2 ? (T(), R("span", ib, "AI")) : j("v-if", !0)
10087
10125
  ]))),
10088
10126
  128
10089
10127
  /* KEYED_FRAGMENT */
@@ -10106,7 +10144,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10106
10144
  _: 1
10107
10145
  /* STABLE */
10108
10146
  })),
10109
- D(" 下面这个非菜单栏 "),
10147
+ j(" 下面这个非菜单栏 "),
10110
10148
  (T(!0), R(
10111
10149
  ie,
10112
10150
  null,
@@ -10115,18 +10153,18 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10115
10153
  href: f.value ? x.href + "?from=" + f.value : x.href,
10116
10154
  target: x.target,
10117
10155
  class: "navigation-item inline-flex items-center text-sm h-7 leading-7 font-semibold text-gray-900"
10118
- }, ne(x.name), 9, tb))),
10156
+ }, ne(x.name), 9, lb))),
10119
10157
  128
10120
10158
  /* KEYED_FRAGMENT */
10121
10159
  ))
10122
10160
  ]),
10123
- D(" lg>屏幕 显示 非审核 显示login 已经登录显示用户信息 "),
10124
- e.isShenHe ? (T(), R("div", nb)) : m.value ? (T(), R(
10161
+ j(" lg>屏幕 显示 非审核 显示login 已经登录显示用户信息 "),
10162
+ e.isShenHe ? (T(), R("div", cb)) : m.value ? (T(), R(
10125
10163
  ie,
10126
10164
  { key: 2 },
10127
10165
  [
10128
- D(" 用户信息 "),
10129
- h("div", sb, [
10166
+ j(" 用户信息 "),
10167
+ h("div", fb, [
10130
10168
  h(
10131
10169
  "div",
10132
10170
  {
@@ -10135,7 +10173,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10135
10173
  onMouseleave: P
10136
10174
  },
10137
10175
  [
10138
- h("div", ab, [
10176
+ h("div", pb, [
10139
10177
  h(
10140
10178
  "span",
10141
10179
  null,
@@ -10148,18 +10186,18 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10148
10186
  class: "user-avatar h-10 rounded-full",
10149
10187
  src: m.value.avatar || "https://statics.imgkits.com/images/default_user_avatar_black.png",
10150
10188
  alt: "user avatar"
10151
- }, null, 8, ib),
10152
- lb,
10189
+ }, null, 8, hb),
10190
+ mb,
10153
10191
  He(h(
10154
10192
  "div",
10155
10193
  null,
10156
10194
  [
10157
- h("div", cb, [
10158
- D(" 用户信息 移入菜单栏 "),
10195
+ h("div", vb, [
10196
+ j(" 用户信息 移入菜单栏 "),
10159
10197
  m.value ? (T(), ee(_a, {
10160
10198
  key: 0,
10161
10199
  user: m.value
10162
- }, null, 8, ["user"])) : D("v-if", !0)
10200
+ }, null, 8, ["user"])) : j("v-if", !0)
10163
10201
  ])
10164
10202
  ],
10165
10203
  512
@@ -10175,36 +10213,36 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10175
10213
  ],
10176
10214
  2112
10177
10215
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
10178
- )) : (T(), R("div", ob, [
10216
+ )) : (T(), R("div", ub, [
10179
10217
  h("a", {
10180
10218
  onClick: p,
10181
10219
  href: "javscript:void(0)",
10182
10220
  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"
10183
10221
  }, [
10184
10222
  le("Log in"),
10185
- rb
10223
+ db
10186
10224
  ])
10187
10225
  ]))
10188
10226
  ]),
10189
- D(" 小屏幕 menu菜单栏 "),
10190
- Q(y(c0), {
10227
+ j(" 小屏幕 menu菜单栏 "),
10228
+ Q(y(cg), {
10191
10229
  as: "div",
10192
10230
  class: "lg:hidden",
10193
- onClose: L[2] || (L[2] = (x) => v.value = !1),
10231
+ onClose: F[2] || (F[2] = (x) => v.value = !1),
10194
10232
  open: v.value
10195
10233
  }, {
10196
10234
  default: U(() => [
10197
- ub,
10198
- Q(y(u0), { 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" }, {
10235
+ gb,
10236
+ Q(y(ug), { 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" }, {
10199
10237
  default: U(() => [
10200
- h("div", db, [
10238
+ h("div", bb, [
10201
10239
  h("a", {
10202
10240
  href: u.value,
10203
10241
  class: "-m-1.5 p-1.5"
10204
10242
  }, [
10205
10243
  h(
10206
10244
  "span",
10207
- pb,
10245
+ _b,
10208
10246
  ne(r.value.name),
10209
10247
  1
10210
10248
  /* TEXT */
@@ -10213,24 +10251,24 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10213
10251
  class: "h-8 w-auto",
10214
10252
  src: r.value.logo,
10215
10253
  alt: r.value.name
10216
- }, null, 8, hb)
10217
- ], 8, fb),
10254
+ }, null, 8, wb)
10255
+ ], 8, yb),
10218
10256
  h("button", {
10219
10257
  type: "button",
10220
10258
  class: "-m-2.5 rounded-md p-2.5 text-gray-700",
10221
- onClick: L[1] || (L[1] = (x) => v.value = !1)
10259
+ onClick: F[1] || (F[1] = (x) => v.value = !1)
10222
10260
  }, [
10223
- mb,
10224
- Q(y(v0), {
10261
+ xb,
10262
+ Q(y(vg), {
10225
10263
  class: "h-6 w-6",
10226
10264
  "aria-hidden": "true"
10227
10265
  })
10228
10266
  ])
10229
10267
  ]),
10230
- h("div", vb, [
10231
- h("div", gb, [
10232
- h("div", bb, [
10233
- Q(d1, {
10268
+ h("div", Eb, [
10269
+ h("div", Sb, [
10270
+ h("div", kb, [
10271
+ Q(b1, {
10234
10272
  workspaceTools: a.value,
10235
10273
  chrome_addon_tools: i.value,
10236
10274
  edge_addon_tools: c.value
@@ -10243,7 +10281,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10243
10281
  href: f.value ? x.href + "?from=" + f.value : x.href,
10244
10282
  target: x.target,
10245
10283
  class: "-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
10246
- }, ne(x.name), 9, yb))),
10284
+ }, ne(x.name), 9, Ob))),
10247
10285
  128
10248
10286
  /* KEYED_FRAGMENT */
10249
10287
  ))
@@ -10256,8 +10294,8 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10256
10294
  m.value ? (T(), ee(_a, {
10257
10295
  key: 0,
10258
10296
  user: m.value
10259
- }, null, 8, ["user"])) : D("v-if", !0)
10260
- ])) : (T(), R("div", _b, [
10297
+ }, null, 8, ["user"])) : j("v-if", !0)
10298
+ ])) : (T(), R("div", Tb, [
10261
10299
  h("a", {
10262
10300
  href: "#",
10263
10301
  onClick: p,
@@ -10286,30 +10324,30 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10286
10324
  2
10287
10325
  /* CLASS */
10288
10326
  ),
10289
- D(" 引入登录 "),
10290
- e.userStore.isShowLogin ? (T(), ee(W0, {
10327
+ j(" 引入登录 "),
10328
+ e.userStore.isShowLogin ? (T(), ee(Qg, {
10291
10329
  key: 0,
10292
10330
  onSuccess: _,
10293
10331
  onClose: g
10294
- })) : D("v-if", !0),
10295
- e.userStore.isShowToast ? (T(), ee(Tg, {
10332
+ })) : j("v-if", !0),
10333
+ e.userStore.isShowToast ? (T(), ee(N0, {
10296
10334
  key: 1,
10297
10335
  content: e.userStore.toastContent
10298
- }, null, 8, ["content"])) : D("v-if", !0),
10299
- e.userStore.isShowInvite ? (T(), ee(Lg, {
10336
+ }, null, 8, ["content"])) : j("v-if", !0),
10337
+ e.userStore.isShowInvite ? (T(), ee(V0, {
10300
10338
  key: 2,
10301
10339
  onCancel: b
10302
- })) : D("v-if", !0)
10340
+ })) : j("v-if", !0)
10303
10341
  ],
10304
10342
  64
10305
10343
  /* STABLE_FRAGMENT */
10306
10344
  ));
10307
10345
  }
10308
- }, xb = /* @__PURE__ */ It(wb, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/c/Desktop/xiaochengxu/liusenlin_project/Translation_Video/src/components/Header.vue"]]), Tb = {
10346
+ }, Cb = /* @__PURE__ */ Mt(Pb, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/yinheng/Desktop/code/xiaochengxu/liusenlin_project/Translation_Video/src/components/Header.vue"]]), Nb = {
10309
10347
  install(e) {
10310
- e.component("my-header", xb);
10348
+ e.component("my-header", Cb);
10311
10349
  }
10312
10350
  };
10313
10351
  export {
10314
- Tb as default
10352
+ Nb as default
10315
10353
  };