my-header-yichong 3.6.0 → 3.6.2

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,29 +1,29 @@
1
- import { getCurrentScope as Ia, onScopeDispose as Ra, ref as M, readonly as Na, unref as w, getCurrentInstance as De, onMounted as ee, nextTick as Ge, watch as Z, defineComponent as B, openBlock as A, createElementBlock as N, createElementVNode as m, warn as Xl, isVNode as io, inject as X, computed as T, isRef as wt, shallowRef as Sr, onBeforeUnmount as Ze, onBeforeMount as Yl, provide as se, renderSlot as ne, mergeProps as Jt, normalizeClass as ae, normalizeStyle as Pn, withDirectives as qe, cloneVNode as La, Fragment as re, Text as Ql, Comment as ec, createVNode as te, createBlock as Q, withCtx as W, createCommentVNode as F, toRef as ot, Teleport as Fa, Transition as Ct, vShow as Zt, onDeactivated as tc, toDisplayString as Y, resolveDynamicComponent as kr, toHandlers as nc, reactive as Xt, h as V, watchEffect as Me, resolveComponent as oc, createTextVNode as ce, createApp as rc, toRefs as tr, shallowReactive as sc, withModifiers as nr, render as ms, onUnmounted as je, vModelText as Lo, pushScopeId as Yt, popScopeId as Qt, hasInjectionContext as ac, markRaw as mn, effectScope as ic, isReactive as Tr, toRaw as lc, renderList as Ve } from "vue";
2
- function ja(e, t) {
1
+ import { getCurrentScope as Ra, onScopeDispose as Na, ref as I, readonly as La, unref as w, getCurrentInstance as De, onMounted as ee, nextTick as Ge, watch as Z, defineComponent as B, openBlock as A, createElementBlock as N, createElementVNode as m, warn as Xl, isVNode as io, inject as X, computed as T, isRef as wt, shallowRef as kr, onBeforeUnmount as Ze, onBeforeMount as Yl, provide as se, renderSlot as ne, mergeProps as Jt, normalizeClass as ae, normalizeStyle as Pn, withDirectives as qe, cloneVNode as Fa, Fragment as re, Text as Ql, Comment as ec, createVNode as te, createBlock as Q, withCtx as W, createCommentVNode as F, toRef as ot, Teleport as ja, Transition as Ct, vShow as Zt, onDeactivated as tc, toDisplayString as Y, resolveDynamicComponent as Tr, toHandlers as nc, reactive as Xt, h as V, watchEffect as Ie, resolveComponent as oc, createTextVNode as ce, createApp as rc, toRefs as nr, shallowReactive as sc, withModifiers as or, render as gs, onUnmounted as je, vModelText as Fo, pushScopeId as Yt, popScopeId as Qt, hasInjectionContext as ac, markRaw as mn, effectScope as ic, isReactive as Or, toRaw as lc, renderList as Ve } from "vue";
2
+ function Da(e, t) {
3
3
  return function() {
4
4
  return e.apply(t, arguments);
5
5
  };
6
6
  }
7
- const { toString: cc } = Object.prototype, { getPrototypeOf: Or } = Object, bo = ((e) => (t) => {
7
+ const { toString: cc } = Object.prototype, { getPrototypeOf: Pr } = Object, yo = ((e) => (t) => {
8
8
  const n = cc.call(t);
9
9
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
10
- })(/* @__PURE__ */ Object.create(null)), Be = (e) => (e = e.toLowerCase(), (t) => bo(t) === e), yo = (e) => (t) => typeof t === e, { isArray: en } = Array, wn = yo("undefined");
10
+ })(/* @__PURE__ */ Object.create(null)), Be = (e) => (e = e.toLowerCase(), (t) => yo(t) === e), _o = (e) => (t) => typeof t === e, { isArray: en } = Array, wn = _o("undefined");
11
11
  function uc(e) {
12
12
  return e !== null && !wn(e) && e.constructor !== null && !wn(e.constructor) && Se(e.constructor.isBuffer) && e.constructor.isBuffer(e);
13
13
  }
14
- const Da = Be("ArrayBuffer");
14
+ const Ba = Be("ArrayBuffer");
15
15
  function dc(e) {
16
16
  let t;
17
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Da(e.buffer), t;
17
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ba(e.buffer), t;
18
18
  }
19
- const pc = yo("string"), Se = yo("function"), Ba = yo("number"), _o = (e) => e !== null && typeof e == "object", fc = (e) => e === !0 || e === !1, Zn = (e) => {
20
- if (bo(e) !== "object")
19
+ const pc = _o("string"), Se = _o("function"), Ha = _o("number"), wo = (e) => e !== null && typeof e == "object", fc = (e) => e === !0 || e === !1, Zn = (e) => {
20
+ if (yo(e) !== "object")
21
21
  return !1;
22
- const t = Or(e);
22
+ const t = Pr(e);
23
23
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
24
- }, hc = Be("Date"), mc = Be("File"), gc = Be("Blob"), vc = Be("FileList"), bc = (e) => _o(e) && Se(e.pipe), yc = (e) => {
24
+ }, hc = Be("Date"), mc = Be("File"), gc = Be("Blob"), vc = Be("FileList"), bc = (e) => wo(e) && Se(e.pipe), yc = (e) => {
25
25
  let t;
26
- return e && (typeof FormData == "function" && e instanceof FormData || Se(e.append) && ((t = bo(e)) === "formdata" || // detect form-data instance
26
+ return e && (typeof FormData == "function" && e instanceof FormData || Se(e.append) && ((t = yo(e)) === "formdata" || // detect form-data instance
27
27
  t === "object" && Se(e.toString) && e.toString() === "[object FormData]"));
28
28
  }, _c = Be("URLSearchParams"), [wc, xc, Ec, Sc] = ["ReadableStream", "Request", "Response", "Headers"].map(Be), kc = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
29
29
  function Cn(e, t, { allOwnKeys: n = !1 } = {}) {
@@ -40,7 +40,7 @@ function Cn(e, t, { allOwnKeys: n = !1 } = {}) {
40
40
  i = s[o], t.call(null, e[i], i, e);
41
41
  }
42
42
  }
43
- function Ha(e, t) {
43
+ function za(e, t) {
44
44
  t = t.toLowerCase();
45
45
  const n = Object.keys(e);
46
46
  let o = n.length, r;
@@ -49,18 +49,18 @@ function Ha(e, t) {
49
49
  return r;
50
50
  return null;
51
51
  }
52
- const ht = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), za = (e) => !wn(e) && e !== ht;
53
- function or() {
54
- const { caseless: e } = za(this) && this || {}, t = {}, n = (o, r) => {
55
- const s = e && Ha(t, r) || r;
56
- Zn(t[s]) && Zn(o) ? t[s] = or(t[s], o) : Zn(o) ? t[s] = or({}, o) : en(o) ? t[s] = o.slice() : t[s] = o;
52
+ const ht = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Ua = (e) => !wn(e) && e !== ht;
53
+ function rr() {
54
+ const { caseless: e } = Ua(this) && this || {}, t = {}, n = (o, r) => {
55
+ const s = e && za(t, r) || r;
56
+ Zn(t[s]) && Zn(o) ? t[s] = rr(t[s], o) : Zn(o) ? t[s] = rr({}, o) : en(o) ? t[s] = o.slice() : t[s] = o;
57
57
  };
58
58
  for (let o = 0, r = arguments.length; o < r; o++)
59
59
  arguments[o] && Cn(arguments[o], n);
60
60
  return t;
61
61
  }
62
62
  const Tc = (e, t, n, { allOwnKeys: o } = {}) => (Cn(t, (r, s) => {
63
- n && Se(r) ? e[s] = ja(r, n) : e[s] = r;
63
+ n && Se(r) ? e[s] = Da(r, n) : e[s] = r;
64
64
  }, { allOwnKeys: o }), e), Oc = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Pc = (e, t, n, o) => {
65
65
  e.prototype = Object.create(t.prototype, o), e.prototype.constructor = e, Object.defineProperty(e, "super", {
66
66
  value: t.prototype
@@ -73,7 +73,7 @@ const Tc = (e, t, n, { allOwnKeys: o } = {}) => (Cn(t, (r, s) => {
73
73
  do {
74
74
  for (r = Object.getOwnPropertyNames(e), s = r.length; s-- > 0; )
75
75
  a = r[s], (!o || o(a, e, t)) && !i[a] && (t[a] = e[a], i[a] = !0);
76
- e = n !== !1 && Or(e);
76
+ e = n !== !1 && Pr(e);
77
77
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
78
78
  return t;
79
79
  }, Ac = (e, t, n) => {
@@ -86,13 +86,13 @@ const Tc = (e, t, n, { allOwnKeys: o } = {}) => (Cn(t, (r, s) => {
86
86
  if (en(e))
87
87
  return e;
88
88
  let t = e.length;
89
- if (!Ba(t))
89
+ if (!Ha(t))
90
90
  return null;
91
91
  const n = new Array(t);
92
92
  for (; t-- > 0; )
93
93
  n[t] = e[t];
94
94
  return n;
95
- }, Mc = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Or(Uint8Array)), Ic = (e, t) => {
95
+ }, Ic = ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Pr(Uint8Array)), Mc = (e, t) => {
96
96
  const o = (e && e[Symbol.iterator]).call(e);
97
97
  let r;
98
98
  for (; (r = o.next()) && !r.done; ) {
@@ -110,14 +110,14 @@ const Tc = (e, t, n, { allOwnKeys: o } = {}) => (Cn(t, (r, s) => {
110
110
  function(n, o, r) {
111
111
  return o.toUpperCase() + r;
112
112
  }
113
- ), gs = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Fc = Be("RegExp"), Ua = (e, t) => {
113
+ ), vs = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Fc = Be("RegExp"), Va = (e, t) => {
114
114
  const n = Object.getOwnPropertyDescriptors(e), o = {};
115
115
  Cn(n, (r, s) => {
116
116
  let a;
117
117
  (a = t(r, s, e)) !== !1 && (o[s] = a || r);
118
118
  }), Object.defineProperties(e, o);
119
119
  }, jc = (e) => {
120
- Ua(e, (t, n) => {
120
+ Va(e, (t, n) => {
121
121
  if (Se(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
122
122
  return !1;
123
123
  const o = e[n];
@@ -139,11 +139,11 @@ const Tc = (e, t, n, { allOwnKeys: o } = {}) => (Cn(t, (r, s) => {
139
139
  };
140
140
  return en(e) ? o(e) : o(String(e).split(t)), n;
141
141
  }, Bc = () => {
142
- }, Hc = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, Fo = "abcdefghijklmnopqrstuvwxyz", vs = "0123456789", Va = {
143
- DIGIT: vs,
144
- ALPHA: Fo,
145
- ALPHA_DIGIT: Fo + Fo.toUpperCase() + vs
146
- }, zc = (e = 16, t = Va.ALPHA_DIGIT) => {
142
+ }, Hc = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, jo = "abcdefghijklmnopqrstuvwxyz", bs = "0123456789", qa = {
143
+ DIGIT: bs,
144
+ ALPHA: jo,
145
+ ALPHA_DIGIT: jo + jo.toUpperCase() + bs
146
+ }, zc = (e = 16, t = qa.ALPHA_DIGIT) => {
147
147
  let n = "";
148
148
  const { length: o } = t;
149
149
  for (; e--; )
@@ -155,7 +155,7 @@ function Uc(e) {
155
155
  }
156
156
  const Vc = (e) => {
157
157
  const t = new Array(10), n = (o, r) => {
158
- if (_o(o)) {
158
+ if (wo(o)) {
159
159
  if (t.indexOf(o) >= 0)
160
160
  return;
161
161
  if (!("toJSON" in o)) {
@@ -170,23 +170,23 @@ const Vc = (e) => {
170
170
  return o;
171
171
  };
172
172
  return n(e, 0);
173
- }, qc = Be("AsyncFunction"), Wc = (e) => e && (_o(e) || Se(e)) && Se(e.then) && Se(e.catch), qa = ((e, t) => e ? setImmediate : t ? ((n, o) => (ht.addEventListener("message", ({ source: r, data: s }) => {
173
+ }, qc = Be("AsyncFunction"), Wc = (e) => e && (wo(e) || Se(e)) && Se(e.then) && Se(e.catch), Wa = ((e, t) => e ? setImmediate : t ? ((n, o) => (ht.addEventListener("message", ({ source: r, data: s }) => {
174
174
  r === ht && s === n && o.length && o.shift()();
175
175
  }, !1), (r) => {
176
176
  o.push(r), ht.postMessage(n, "*");
177
177
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
178
178
  typeof setImmediate == "function",
179
179
  Se(ht.postMessage)
180
- ), Gc = typeof queueMicrotask < "u" ? queueMicrotask.bind(ht) : typeof process < "u" && process.nextTick || qa, E = {
180
+ ), Gc = typeof queueMicrotask < "u" ? queueMicrotask.bind(ht) : typeof process < "u" && process.nextTick || Wa, E = {
181
181
  isArray: en,
182
- isArrayBuffer: Da,
182
+ isArrayBuffer: Ba,
183
183
  isBuffer: uc,
184
184
  isFormData: yc,
185
185
  isArrayBufferView: dc,
186
186
  isString: pc,
187
- isNumber: Ba,
187
+ isNumber: Ha,
188
188
  isBoolean: fc,
189
- isObject: _o,
189
+ isObject: wo,
190
190
  isPlainObject: Zn,
191
191
  isReadableStream: wc,
192
192
  isRequest: xc,
@@ -200,41 +200,41 @@ const Vc = (e) => {
200
200
  isFunction: Se,
201
201
  isStream: bc,
202
202
  isURLSearchParams: _c,
203
- isTypedArray: Mc,
203
+ isTypedArray: Ic,
204
204
  isFileList: vc,
205
205
  forEach: Cn,
206
- merge: or,
206
+ merge: rr,
207
207
  extend: Tc,
208
208
  trim: kc,
209
209
  stripBOM: Oc,
210
210
  inherits: Pc,
211
211
  toFlatObject: Cc,
212
- kindOf: bo,
212
+ kindOf: yo,
213
213
  kindOfTest: Be,
214
214
  endsWith: Ac,
215
215
  toArray: $c,
216
- forEachEntry: Ic,
216
+ forEachEntry: Mc,
217
217
  matchAll: Rc,
218
218
  isHTMLForm: Nc,
219
- hasOwnProperty: gs,
220
- hasOwnProp: gs,
219
+ hasOwnProperty: vs,
220
+ hasOwnProp: vs,
221
221
  // an alias to avoid ESLint no-prototype-builtins detection
222
- reduceDescriptors: Ua,
222
+ reduceDescriptors: Va,
223
223
  freezeMethods: jc,
224
224
  toObjectSet: Dc,
225
225
  toCamelCase: Lc,
226
226
  noop: Bc,
227
227
  toFiniteNumber: Hc,
228
- findKey: Ha,
228
+ findKey: za,
229
229
  global: ht,
230
- isContextDefined: za,
231
- ALPHABET: Va,
230
+ isContextDefined: Ua,
231
+ ALPHABET: qa,
232
232
  generateString: zc,
233
233
  isSpecCompliantForm: Uc,
234
234
  toJSONObject: Vc,
235
235
  isAsyncFn: qc,
236
236
  isThenable: Wc,
237
- setImmediate: qa,
237
+ setImmediate: Wa,
238
238
  asap: Gc
239
239
  };
240
240
  function G(e, t, n, o, r) {
@@ -261,7 +261,7 @@ E.inherits(G, Error, {
261
261
  };
262
262
  }
263
263
  });
264
- const Wa = G.prototype, Ga = {};
264
+ const Ga = G.prototype, Ka = {};
265
265
  [
266
266
  "ERR_BAD_OPTION_VALUE",
267
267
  "ERR_BAD_OPTION",
@@ -277,35 +277,35 @@ const Wa = G.prototype, Ga = {};
277
277
  "ERR_INVALID_URL"
278
278
  // eslint-disable-next-line func-names
279
279
  ].forEach((e) => {
280
- Ga[e] = { value: e };
280
+ Ka[e] = { value: e };
281
281
  });
282
- Object.defineProperties(G, Ga);
283
- Object.defineProperty(Wa, "isAxiosError", { value: !0 });
282
+ Object.defineProperties(G, Ka);
283
+ Object.defineProperty(Ga, "isAxiosError", { value: !0 });
284
284
  G.from = (e, t, n, o, r, s) => {
285
- const a = Object.create(Wa);
285
+ const a = Object.create(Ga);
286
286
  return E.toFlatObject(e, a, function(c) {
287
287
  return c !== Error.prototype;
288
288
  }, (i) => i !== "isAxiosError"), G.call(a, e.message, t, n, o, r), a.cause = e, a.name = e.name, s && Object.assign(a, s), a;
289
289
  };
290
290
  const Kc = null;
291
- function rr(e) {
291
+ function sr(e) {
292
292
  return E.isPlainObject(e) || E.isArray(e);
293
293
  }
294
- function Ka(e) {
294
+ function Ja(e) {
295
295
  return E.endsWith(e, "[]") ? e.slice(0, -2) : e;
296
296
  }
297
- function bs(e, t, n) {
297
+ function ys(e, t, n) {
298
298
  return e ? e.concat(t).map(function(r, s) {
299
- return r = Ka(r), !n && s ? "[" + r + "]" : r;
299
+ return r = Ja(r), !n && s ? "[" + r + "]" : r;
300
300
  }).join(n ? "." : "") : t;
301
301
  }
302
302
  function Jc(e) {
303
- return E.isArray(e) && !e.some(rr);
303
+ return E.isArray(e) && !e.some(sr);
304
304
  }
305
305
  const Zc = E.toFlatObject(E, {}, null, function(t) {
306
306
  return /^is[A-Z]/.test(t);
307
307
  });
308
- function wo(e, t, n) {
308
+ function xo(e, t, n) {
309
309
  if (!E.isObject(e))
310
310
  throw new TypeError("target must be an object");
311
311
  t = t || new FormData(), n = E.toFlatObject(n, {
@@ -333,20 +333,20 @@ function wo(e, t, n) {
333
333
  if (E.endsWith(h, "{}"))
334
334
  h = o ? h : h.slice(0, -2), f = JSON.stringify(f);
335
335
  else if (E.isArray(f) && Jc(f) || (E.isFileList(f) || E.endsWith(h, "[]")) && (v = E.toArray(f)))
336
- return h = Ka(h), v.forEach(function(O, $) {
336
+ return h = Ja(h), v.forEach(function(O, $) {
337
337
  !(E.isUndefined(O) || O === null) && t.append(
338
338
  // eslint-disable-next-line no-nested-ternary
339
- a === !0 ? bs([h], $, s) : a === null ? h : h + "[]",
339
+ a === !0 ? ys([h], $, s) : a === null ? h : h + "[]",
340
340
  l(O)
341
341
  );
342
342
  }), !1;
343
343
  }
344
- return rr(f) ? !0 : (t.append(bs(b, h, s), l(f)), !1);
344
+ return sr(f) ? !0 : (t.append(ys(b, h, s), l(f)), !1);
345
345
  }
346
346
  const d = [], p = Object.assign(Zc, {
347
347
  defaultVisitor: u,
348
348
  convertValue: l,
349
- isVisitable: rr
349
+ isVisitable: sr
350
350
  });
351
351
  function g(f, h) {
352
352
  if (!E.isUndefined(f)) {
@@ -367,7 +367,7 @@ function wo(e, t, n) {
367
367
  throw new TypeError("data must be an object");
368
368
  return g(e), t;
369
369
  }
370
- function ys(e) {
370
+ function _s(e) {
371
371
  const t = {
372
372
  "!": "%21",
373
373
  "'": "%27",
@@ -381,17 +381,17 @@ function ys(e) {
381
381
  return t[o];
382
382
  });
383
383
  }
384
- function Pr(e, t) {
385
- this._pairs = [], e && wo(e, this, t);
384
+ function Cr(e, t) {
385
+ this._pairs = [], e && xo(e, this, t);
386
386
  }
387
- const Ja = Pr.prototype;
388
- Ja.append = function(t, n) {
387
+ const Za = Cr.prototype;
388
+ Za.append = function(t, n) {
389
389
  this._pairs.push([t, n]);
390
390
  };
391
- Ja.toString = function(t) {
391
+ Za.toString = function(t) {
392
392
  const n = t ? function(o) {
393
- return t.call(this, o, ys);
394
- } : ys;
393
+ return t.call(this, o, _s);
394
+ } : _s;
395
395
  return this._pairs.map(function(r) {
396
396
  return n(r[0]) + "=" + n(r[1]);
397
397
  }, "").join("&");
@@ -399,7 +399,7 @@ Ja.toString = function(t) {
399
399
  function Xc(e) {
400
400
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
401
401
  }
402
- function Za(e, t, n) {
402
+ function Xa(e, t, n) {
403
403
  if (!t)
404
404
  return e;
405
405
  const o = n && n.encode || Xc;
@@ -408,7 +408,7 @@ function Za(e, t, n) {
408
408
  });
409
409
  const r = n && n.serialize;
410
410
  let s;
411
- if (r ? s = r(t, n) : s = E.isURLSearchParams(t) ? t.toString() : new Pr(t, n).toString(o), s) {
411
+ if (r ? s = r(t, n) : s = E.isURLSearchParams(t) ? t.toString() : new Cr(t, n).toString(o), s) {
412
412
  const a = e.indexOf("#");
413
413
  a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + s;
414
414
  }
@@ -468,11 +468,11 @@ class Yc {
468
468
  });
469
469
  }
470
470
  }
471
- const _s = Yc, Xa = {
471
+ const ws = Yc, Ya = {
472
472
  silentJSONParsing: !0,
473
473
  forcedJSONParsing: !0,
474
474
  clarifyTimeoutError: !1
475
- }, Qc = typeof URLSearchParams < "u" ? URLSearchParams : Pr, eu = typeof FormData < "u" ? FormData : null, tu = typeof Blob < "u" ? Blob : null, nu = {
475
+ }, Qc = typeof URLSearchParams < "u" ? URLSearchParams : Cr, eu = typeof FormData < "u" ? FormData : null, tu = typeof Blob < "u" ? Blob : null, nu = {
476
476
  isBrowser: !0,
477
477
  classes: {
478
478
  URLSearchParams: Qc,
@@ -480,20 +480,20 @@ const _s = Yc, Xa = {
480
480
  Blob: tu
481
481
  },
482
482
  protocols: ["http", "https", "file", "blob", "url", "data"]
483
- }, Cr = typeof window < "u" && typeof document < "u", sr = typeof navigator == "object" && navigator || void 0, ou = Cr && (!sr || ["ReactNative", "NativeScript", "NS"].indexOf(sr.product) < 0), ru = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
484
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), su = Cr && window.location.href || "http://localhost", au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
483
+ }, Ar = typeof window < "u" && typeof document < "u", ar = typeof navigator == "object" && navigator || void 0, ou = Ar && (!ar || ["ReactNative", "NativeScript", "NS"].indexOf(ar.product) < 0), ru = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
484
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), su = Ar && window.location.href || "http://localhost", au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
485
485
  __proto__: null,
486
- hasBrowserEnv: Cr,
486
+ hasBrowserEnv: Ar,
487
487
  hasStandardBrowserEnv: ou,
488
488
  hasStandardBrowserWebWorkerEnv: ru,
489
- navigator: sr,
489
+ navigator: ar,
490
490
  origin: su
491
491
  }, Symbol.toStringTag, { value: "Module" })), fe = {
492
492
  ...au,
493
493
  ...nu
494
494
  };
495
495
  function iu(e, t) {
496
- return wo(e, new fe.classes.URLSearchParams(), Object.assign({
496
+ return xo(e, new fe.classes.URLSearchParams(), Object.assign({
497
497
  visitor: function(n, o, r, s) {
498
498
  return fe.isNode && E.isBuffer(n) ? (this.append(o, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
499
499
  }
@@ -511,7 +511,7 @@ function cu(e) {
511
511
  s = n[o], t[s] = e[s];
512
512
  return t;
513
513
  }
514
- function Ya(e) {
514
+ function Qa(e) {
515
515
  function t(n, o, r, s) {
516
516
  let a = n[s++];
517
517
  if (a === "__proto__")
@@ -537,13 +537,13 @@ function uu(e, t, n) {
537
537
  }
538
538
  return (n || JSON.stringify)(e);
539
539
  }
540
- const Ar = {
541
- transitional: Xa,
540
+ const $r = {
541
+ transitional: Ya,
542
542
  adapter: ["xhr", "http", "fetch"],
543
543
  transformRequest: [function(t, n) {
544
544
  const o = n.getContentType() || "", r = o.indexOf("application/json") > -1, s = E.isObject(t);
545
545
  if (s && E.isHTMLForm(t) && (t = new FormData(t)), E.isFormData(t))
546
- return r ? JSON.stringify(Ya(t)) : t;
546
+ return r ? JSON.stringify(Qa(t)) : t;
547
547
  if (E.isArrayBuffer(t) || E.isBuffer(t) || E.isStream(t) || E.isFile(t) || E.isBlob(t) || E.isReadableStream(t))
548
548
  return t;
549
549
  if (E.isArrayBufferView(t))
@@ -556,7 +556,7 @@ const Ar = {
556
556
  return iu(t, this.formSerializer).toString();
557
557
  if ((i = E.isFileList(t)) || o.indexOf("multipart/form-data") > -1) {
558
558
  const c = this.env && this.env.FormData;
559
- return wo(
559
+ return xo(
560
560
  i ? { "files[]": t } : t,
561
561
  c && new c(),
562
562
  this.formSerializer
@@ -566,7 +566,7 @@ const Ar = {
566
566
  return s || r ? (n.setContentType("application/json", !1), uu(t)) : t;
567
567
  }],
568
568
  transformResponse: [function(t) {
569
- const n = this.transitional || Ar.transitional, o = n && n.forcedJSONParsing, r = this.responseType === "json";
569
+ const n = this.transitional || $r.transitional, o = n && n.forcedJSONParsing, r = this.responseType === "json";
570
570
  if (E.isResponse(t) || E.isReadableStream(t))
571
571
  return t;
572
572
  if (t && E.isString(t) && (o && !this.responseType || r)) {
@@ -604,9 +604,9 @@ const Ar = {
604
604
  }
605
605
  };
606
606
  E.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
607
- Ar.headers[e] = {};
607
+ $r.headers[e] = {};
608
608
  });
609
- const $r = Ar, du = E.toObjectSet([
609
+ const Ir = $r, du = E.toObjectSet([
610
610
  "age",
611
611
  "authorization",
612
612
  "content-length",
@@ -631,7 +631,7 @@ const $r = Ar, du = E.toObjectSet([
631
631
  `).forEach(function(a) {
632
632
  r = a.indexOf(":"), n = a.substring(0, r).trim().toLowerCase(), o = a.substring(r + 1).trim(), !(!n || t[n] && du[n]) && (n === "set-cookie" ? t[n] ? t[n].push(o) : t[n] = [o] : t[n] = t[n] ? t[n] + ", " + o : o);
633
633
  }), t;
634
- }, ws = Symbol("internals");
634
+ }, xs = Symbol("internals");
635
635
  function ln(e) {
636
636
  return e && String(e).trim().toLowerCase();
637
637
  }
@@ -646,7 +646,7 @@ function fu(e) {
646
646
  return t;
647
647
  }
648
648
  const hu = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
649
- function jo(e, t, n, o, r) {
649
+ function Do(e, t, n, o, r) {
650
650
  if (E.isFunction(o))
651
651
  return o.call(this, t, n);
652
652
  if (r && (t = n), !!E.isString(t)) {
@@ -670,7 +670,7 @@ function gu(e, t) {
670
670
  });
671
671
  });
672
672
  }
673
- class xo {
673
+ class Eo {
674
674
  constructor(t) {
675
675
  t && this.set(t);
676
676
  }
@@ -715,7 +715,7 @@ class xo {
715
715
  has(t, n) {
716
716
  if (t = ln(t), t) {
717
717
  const o = E.findKey(this, t);
718
- return !!(o && this[o] !== void 0 && (!n || jo(this, this[o], o, n)));
718
+ return !!(o && this[o] !== void 0 && (!n || Do(this, this[o], o, n)));
719
719
  }
720
720
  return !1;
721
721
  }
@@ -725,7 +725,7 @@ class xo {
725
725
  function s(a) {
726
726
  if (a = ln(a), a) {
727
727
  const i = E.findKey(o, a);
728
- i && (!n || jo(o, o[i], i, n)) && (delete o[i], r = !0);
728
+ i && (!n || Do(o, o[i], i, n)) && (delete o[i], r = !0);
729
729
  }
730
730
  }
731
731
  return E.isArray(t) ? t.forEach(s) : s(t), r;
@@ -735,7 +735,7 @@ class xo {
735
735
  let o = n.length, r = !1;
736
736
  for (; o--; ) {
737
737
  const s = n[o];
738
- (!t || jo(this, this[s], s, t, !0)) && (delete this[s], r = !0);
738
+ (!t || Do(this, this[s], s, t, !0)) && (delete this[s], r = !0);
739
739
  }
740
740
  return r;
741
741
  }
@@ -778,7 +778,7 @@ class xo {
778
778
  return n.forEach((r) => o.set(r)), o;
779
779
  }
780
780
  static accessor(t) {
781
- const o = (this[ws] = this[ws] = {
781
+ const o = (this[xs] = this[xs] = {
782
782
  accessors: {}
783
783
  }).accessors, r = this.prototype;
784
784
  function s(a) {
@@ -788,8 +788,8 @@ class xo {
788
788
  return E.isArray(t) ? t.forEach(s) : s(t), this;
789
789
  }
790
790
  }
791
- xo.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
792
- E.reduceDescriptors(xo.prototype, ({ value: e }, t) => {
791
+ Eo.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
792
+ E.reduceDescriptors(Eo.prototype, ({ value: e }, t) => {
793
793
  let n = t[0].toUpperCase() + t.slice(1);
794
794
  return {
795
795
  get: () => e,
@@ -798,16 +798,16 @@ E.reduceDescriptors(xo.prototype, ({ value: e }, t) => {
798
798
  }
799
799
  };
800
800
  });
801
- E.freezeMethods(xo);
802
- const Fe = xo;
803
- function Do(e, t) {
804
- const n = this || $r, o = t || n, r = Fe.from(o.headers);
801
+ E.freezeMethods(Eo);
802
+ const Fe = Eo;
803
+ function Bo(e, t) {
804
+ const n = this || Ir, o = t || n, r = Fe.from(o.headers);
805
805
  let s = o.data;
806
806
  return E.forEach(e, function(i) {
807
807
  s = i.call(n, s, r.normalize(), t ? t.status : void 0);
808
808
  }), r.normalize(), s;
809
809
  }
810
- function Qa(e) {
810
+ function ei(e) {
811
811
  return !!(e && e.__CANCEL__);
812
812
  }
813
813
  function tn(e, t, n) {
@@ -816,7 +816,7 @@ function tn(e, t, n) {
816
816
  E.inherits(tn, G, {
817
817
  __CANCEL__: !0
818
818
  });
819
- function ei(e, t, n) {
819
+ function ti(e, t, n) {
820
820
  const o = n.config.validateStatus;
821
821
  !n.status || !o || o(n.status) ? e(n) : t(new G(
822
822
  "Request failed with status code " + n.status,
@@ -877,14 +877,14 @@ const lo = (e, t, n = 3) => {
877
877
  };
878
878
  e(d);
879
879
  }, n);
880
- }, xs = (e, t) => {
880
+ }, Es = (e, t) => {
881
881
  const n = e != null;
882
882
  return [(o) => t[0]({
883
883
  lengthComputable: n,
884
884
  total: e,
885
885
  loaded: o
886
886
  }), t[1]];
887
- }, Es = (e) => (...t) => E.asap(() => e(...t)), _u = fe.hasStandardBrowserEnv ? ((e, t) => (n) => (n = new URL(n, fe.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
887
+ }, Ss = (e) => (...t) => E.asap(() => e(...t)), _u = fe.hasStandardBrowserEnv ? ((e, t) => (n) => (n = new URL(n, fe.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
888
888
  new URL(fe.origin),
889
889
  fe.navigator && /(msie|trident)/i.test(fe.navigator.userAgent)
890
890
  ) : () => !0, wu = fe.hasStandardBrowserEnv ? (
@@ -920,10 +920,10 @@ function xu(e) {
920
920
  function Eu(e, t) {
921
921
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
922
922
  }
923
- function ti(e, t) {
923
+ function ni(e, t) {
924
924
  return e && !xu(t) ? Eu(e, t) : t;
925
925
  }
926
- const Ss = (e) => e instanceof Fe ? { ...e } : e;
926
+ const ks = (e) => e instanceof Fe ? { ...e } : e;
927
927
  function xt(e, t) {
928
928
  t = t || {};
929
929
  const n = {};
@@ -983,17 +983,17 @@ function xt(e, t) {
983
983
  socketPath: a,
984
984
  responseEncoding: a,
985
985
  validateStatus: i,
986
- headers: (l, u, d) => r(Ss(l), Ss(u), d, !0)
986
+ headers: (l, u, d) => r(ks(l), ks(u), d, !0)
987
987
  };
988
988
  return E.forEach(Object.keys(Object.assign({}, e, t)), function(u) {
989
989
  const d = c[u] || r, p = d(e[u], t[u], u);
990
990
  E.isUndefined(p) && d !== i || (n[u] = p);
991
991
  }), n;
992
992
  }
993
- const ni = (e) => {
993
+ const oi = (e) => {
994
994
  const t = xt({}, e);
995
995
  let { data: n, withXSRFToken: o, xsrfHeaderName: r, xsrfCookieName: s, headers: a, auth: i } = t;
996
- t.headers = a = Fe.from(a), t.url = Za(ti(t.baseURL, t.url), e.params, e.paramsSerializer), i && a.set(
996
+ t.headers = a = Fe.from(a), t.url = Xa(ni(t.baseURL, t.url), e.params, e.paramsSerializer), i && a.set(
997
997
  "Authorization",
998
998
  "Basic " + btoa((i.username || "") + ":" + (i.password ? unescape(encodeURIComponent(i.password)) : ""))
999
999
  );
@@ -1013,7 +1013,7 @@ const ni = (e) => {
1013
1013
  return t;
1014
1014
  }, Su = typeof XMLHttpRequest < "u", ku = Su && function(e) {
1015
1015
  return new Promise(function(n, o) {
1016
- const r = ni(e);
1016
+ const r = oi(e);
1017
1017
  let s = r.data;
1018
1018
  const a = Fe.from(r.headers).normalize();
1019
1019
  let { responseType: i, onUploadProgress: c, onDownloadProgress: l } = r, u, d, p, g, f;
@@ -1035,7 +1035,7 @@ const ni = (e) => {
1035
1035
  config: e,
1036
1036
  request: b
1037
1037
  };
1038
- ei(function(y) {
1038
+ ti(function(y) {
1039
1039
  n(y), h();
1040
1040
  }, function(y) {
1041
1041
  o(y), h();
@@ -1049,7 +1049,7 @@ const ni = (e) => {
1049
1049
  o(new G("Network Error", G.ERR_NETWORK, e, b)), b = null;
1050
1050
  }, b.ontimeout = function() {
1051
1051
  let $ = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
1052
- const P = r.transitional || Xa;
1052
+ const P = r.transitional || Ya;
1053
1053
  r.timeoutErrorMessage && ($ = r.timeoutErrorMessage), o(new G(
1054
1054
  $,
1055
1055
  P.clarifyTimeoutError ? G.ETIMEDOUT : G.ECONNABORTED,
@@ -1119,7 +1119,7 @@ const ni = (e) => {
1119
1119
  } finally {
1120
1120
  await t.cancel();
1121
1121
  }
1122
- }, ks = (e, t, n, o) => {
1122
+ }, Ts = (e, t, n, o) => {
1123
1123
  const r = Cu(e, t);
1124
1124
  let s = 0, a, i = (c) => {
1125
1125
  a || (a = !0, o && o(c));
@@ -1148,13 +1148,13 @@ const ni = (e) => {
1148
1148
  }, {
1149
1149
  highWaterMark: 2
1150
1150
  });
1151
- }, Eo = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", oi = Eo && typeof ReadableStream == "function", $u = Eo && (typeof TextEncoder == "function" ? ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), ri = (e, ...t) => {
1151
+ }, So = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", ri = So && typeof ReadableStream == "function", $u = So && (typeof TextEncoder == "function" ? ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), si = (e, ...t) => {
1152
1152
  try {
1153
1153
  return !!e(...t);
1154
1154
  } catch {
1155
1155
  return !1;
1156
1156
  }
1157
- }, Mu = oi && ri(() => {
1157
+ }, Iu = ri && si(() => {
1158
1158
  let e = !1;
1159
1159
  const t = new Request(fe.origin, {
1160
1160
  body: new ReadableStream(),
@@ -1164,17 +1164,17 @@ const ni = (e) => {
1164
1164
  }
1165
1165
  }).headers.has("Content-Type");
1166
1166
  return e && !t;
1167
- }), Ts = 64 * 1024, ar = oi && ri(() => E.isReadableStream(new Response("").body)), co = {
1168
- stream: ar && ((e) => e.body)
1167
+ }), Os = 64 * 1024, ir = ri && si(() => E.isReadableStream(new Response("").body)), co = {
1168
+ stream: ir && ((e) => e.body)
1169
1169
  };
1170
- Eo && ((e) => {
1170
+ So && ((e) => {
1171
1171
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
1172
1172
  !co[t] && (co[t] = E.isFunction(e[t]) ? (n) => n[t]() : (n, o) => {
1173
1173
  throw new G(`Response type '${t}' is not supported`, G.ERR_NOT_SUPPORT, o);
1174
1174
  });
1175
1175
  });
1176
1176
  })(new Response());
1177
- const Iu = async (e) => {
1177
+ const Mu = async (e) => {
1178
1178
  if (e == null)
1179
1179
  return 0;
1180
1180
  if (E.isBlob(e))
@@ -1190,8 +1190,8 @@ const Iu = async (e) => {
1190
1190
  return (await $u(e)).byteLength;
1191
1191
  }, Ru = async (e, t) => {
1192
1192
  const n = E.toFiniteNumber(e.getContentLength());
1193
- return n ?? Iu(t);
1194
- }, Nu = Eo && (async (e) => {
1193
+ return n ?? Mu(t);
1194
+ }, Nu = So && (async (e) => {
1195
1195
  let {
1196
1196
  url: t,
1197
1197
  method: n,
@@ -1205,7 +1205,7 @@ const Iu = async (e) => {
1205
1205
  headers: u,
1206
1206
  withCredentials: d = "same-origin",
1207
1207
  fetchOptions: p
1208
- } = ni(e);
1208
+ } = oi(e);
1209
1209
  l = l ? (l + "").toLowerCase() : "text";
1210
1210
  let g = Ou([r, s && s.toAbortSignal()], a), f;
1211
1211
  const h = g && g.unsubscribe && (() => {
@@ -1213,18 +1213,18 @@ const Iu = async (e) => {
1213
1213
  });
1214
1214
  let b;
1215
1215
  try {
1216
- if (c && Mu && n !== "get" && n !== "head" && (b = await Ru(u, o)) !== 0) {
1216
+ if (c && Iu && n !== "get" && n !== "head" && (b = await Ru(u, o)) !== 0) {
1217
1217
  let P = new Request(t, {
1218
1218
  method: "POST",
1219
1219
  body: o,
1220
1220
  duplex: "half"
1221
- }), I;
1222
- if (E.isFormData(o) && (I = P.headers.get("content-type")) && u.setContentType(I), P.body) {
1223
- const [y, L] = xs(
1221
+ }), M;
1222
+ if (E.isFormData(o) && (M = P.headers.get("content-type")) && u.setContentType(M), P.body) {
1223
+ const [y, L] = Es(
1224
1224
  b,
1225
- lo(Es(c))
1225
+ lo(Ss(c))
1226
1226
  );
1227
- o = ks(P.body, Ts, y, L);
1227
+ o = Ts(P.body, Os, y, L);
1228
1228
  }
1229
1229
  }
1230
1230
  E.isString(d) || (d = d ? "include" : "omit");
@@ -1239,18 +1239,18 @@ const Iu = async (e) => {
1239
1239
  credentials: v ? d : void 0
1240
1240
  });
1241
1241
  let S = await fetch(f);
1242
- const O = ar && (l === "stream" || l === "response");
1243
- if (ar && (i || O && h)) {
1242
+ const O = ir && (l === "stream" || l === "response");
1243
+ if (ir && (i || O && h)) {
1244
1244
  const P = {};
1245
1245
  ["status", "statusText", "headers"].forEach((z) => {
1246
1246
  P[z] = S[z];
1247
1247
  });
1248
- const I = E.toFiniteNumber(S.headers.get("content-length")), [y, L] = i && xs(
1249
- I,
1250
- lo(Es(i), !0)
1248
+ const M = E.toFiniteNumber(S.headers.get("content-length")), [y, L] = i && Es(
1249
+ M,
1250
+ lo(Ss(i), !0)
1251
1251
  ) || [];
1252
1252
  S = new Response(
1253
- ks(S.body, Ts, y, () => {
1253
+ Ts(S.body, Os, y, () => {
1254
1254
  L && L(), h && h();
1255
1255
  }),
1256
1256
  P
@@ -1258,8 +1258,8 @@ const Iu = async (e) => {
1258
1258
  }
1259
1259
  l = l || "text";
1260
1260
  let $ = await co[E.findKey(co, l) || "text"](S, e);
1261
- return !O && h && h(), await new Promise((P, I) => {
1262
- ei(P, I, {
1261
+ return !O && h && h(), await new Promise((P, M) => {
1262
+ ti(P, M, {
1263
1263
  data: $,
1264
1264
  headers: Fe.from(S.headers),
1265
1265
  status: S.status,
@@ -1276,12 +1276,12 @@ const Iu = async (e) => {
1276
1276
  }
1277
1277
  ) : G.from(v, v && v.code, e, f);
1278
1278
  }
1279
- }), ir = {
1279
+ }), lr = {
1280
1280
  http: Kc,
1281
1281
  xhr: ku,
1282
1282
  fetch: Nu
1283
1283
  };
1284
- E.forEach(ir, (e, t) => {
1284
+ E.forEach(lr, (e, t) => {
1285
1285
  if (e) {
1286
1286
  try {
1287
1287
  Object.defineProperty(e, "name", { value: t });
@@ -1290,7 +1290,7 @@ E.forEach(ir, (e, t) => {
1290
1290
  Object.defineProperty(e, "adapterName", { value: t });
1291
1291
  }
1292
1292
  });
1293
- const Os = (e) => `- ${e}`, Lu = (e) => E.isFunction(e) || e === null || e === !1, si = {
1293
+ const Ps = (e) => `- ${e}`, Lu = (e) => E.isFunction(e) || e === null || e === !1, ai = {
1294
1294
  getAdapter: (e) => {
1295
1295
  e = E.isArray(e) ? e : [e];
1296
1296
  const { length: t } = e;
@@ -1299,7 +1299,7 @@ const Os = (e) => `- ${e}`, Lu = (e) => E.isFunction(e) || e === null || e === !
1299
1299
  for (let s = 0; s < t; s++) {
1300
1300
  n = e[s];
1301
1301
  let a;
1302
- if (o = n, !Lu(n) && (o = ir[(a = String(n)).toLowerCase()], o === void 0))
1302
+ if (o = n, !Lu(n) && (o = lr[(a = String(n)).toLowerCase()], o === void 0))
1303
1303
  throw new G(`Unknown adapter '${a}'`);
1304
1304
  if (o)
1305
1305
  break;
@@ -1310,8 +1310,8 @@ const Os = (e) => `- ${e}`, Lu = (e) => E.isFunction(e) || e === null || e === !
1310
1310
  ([i, c]) => `adapter ${i} ` + (c === !1 ? "is not supported by the environment" : "is not available in the build")
1311
1311
  );
1312
1312
  let a = t ? s.length > 1 ? `since :
1313
- ` + s.map(Os).join(`
1314
- `) : " " + Os(s[0]) : "as no adapter specified";
1313
+ ` + s.map(Ps).join(`
1314
+ `) : " " + Ps(s[0]) : "as no adapter specified";
1315
1315
  throw new G(
1316
1316
  "There is no suitable adapter to dispatch the request " + a,
1317
1317
  "ERR_NOT_SUPPORT"
@@ -1319,40 +1319,40 @@ const Os = (e) => `- ${e}`, Lu = (e) => E.isFunction(e) || e === null || e === !
1319
1319
  }
1320
1320
  return o;
1321
1321
  },
1322
- adapters: ir
1322
+ adapters: lr
1323
1323
  };
1324
- function Bo(e) {
1324
+ function Ho(e) {
1325
1325
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1326
1326
  throw new tn(null, e);
1327
1327
  }
1328
- function Ps(e) {
1329
- return Bo(e), e.headers = Fe.from(e.headers), e.data = Do.call(
1328
+ function Cs(e) {
1329
+ return Ho(e), e.headers = Fe.from(e.headers), e.data = Bo.call(
1330
1330
  e,
1331
1331
  e.transformRequest
1332
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), si.getAdapter(e.adapter || $r.adapter)(e).then(function(o) {
1333
- return Bo(e), o.data = Do.call(
1332
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), ai.getAdapter(e.adapter || Ir.adapter)(e).then(function(o) {
1333
+ return Ho(e), o.data = Bo.call(
1334
1334
  e,
1335
1335
  e.transformResponse,
1336
1336
  o
1337
1337
  ), o.headers = Fe.from(o.headers), o;
1338
1338
  }, function(o) {
1339
- return Qa(o) || (Bo(e), o && o.response && (o.response.data = Do.call(
1339
+ return ei(o) || (Ho(e), o && o.response && (o.response.data = Bo.call(
1340
1340
  e,
1341
1341
  e.transformResponse,
1342
1342
  o.response
1343
1343
  ), o.response.headers = Fe.from(o.response.headers))), Promise.reject(o);
1344
1344
  });
1345
1345
  }
1346
- const ai = "1.7.8", So = {};
1346
+ const ii = "1.7.8", ko = {};
1347
1347
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1348
- So[e] = function(o) {
1348
+ ko[e] = function(o) {
1349
1349
  return typeof o === e || "a" + (t < 1 ? "n " : " ") + e;
1350
1350
  };
1351
1351
  });
1352
- const Cs = {};
1353
- So.transitional = function(t, n, o) {
1352
+ const As = {};
1353
+ ko.transitional = function(t, n, o) {
1354
1354
  function r(s, a) {
1355
- return "[Axios v" + ai + "] Transitional option '" + s + "'" + a + (o ? ". " + o : "");
1355
+ return "[Axios v" + ii + "] Transitional option '" + s + "'" + a + (o ? ". " + o : "");
1356
1356
  }
1357
1357
  return (s, a, i) => {
1358
1358
  if (t === !1)
@@ -1360,7 +1360,7 @@ So.transitional = function(t, n, o) {
1360
1360
  r(a, " has been removed" + (n ? " in " + n : "")),
1361
1361
  G.ERR_DEPRECATED
1362
1362
  );
1363
- return n && !Cs[a] && (Cs[a] = !0, console.warn(
1363
+ return n && !As[a] && (As[a] = !0, console.warn(
1364
1364
  r(
1365
1365
  a,
1366
1366
  " has been deprecated since v" + n + " and will be removed in the near future"
@@ -1368,7 +1368,7 @@ So.transitional = function(t, n, o) {
1368
1368
  )), t ? t(s, a, i) : !0;
1369
1369
  };
1370
1370
  };
1371
- So.spelling = function(t) {
1371
+ ko.spelling = function(t) {
1372
1372
  return (n, o) => (console.warn(`${o} is likely a misspelling of ${t}`), !0);
1373
1373
  };
1374
1374
  function Fu(e, t, n) {
@@ -1390,13 +1390,13 @@ function Fu(e, t, n) {
1390
1390
  }
1391
1391
  const Yn = {
1392
1392
  assertOptions: Fu,
1393
- validators: So
1393
+ validators: ko
1394
1394
  }, Ue = Yn.validators;
1395
1395
  class uo {
1396
1396
  constructor(t) {
1397
1397
  this.defaults = t, this.interceptors = {
1398
- request: new _s(),
1399
- response: new _s()
1398
+ request: new ws(),
1399
+ response: new ws()
1400
1400
  };
1401
1401
  }
1402
1402
  /**
@@ -1461,7 +1461,7 @@ class uo {
1461
1461
  });
1462
1462
  let u, d = 0, p;
1463
1463
  if (!c) {
1464
- const f = [Ps.bind(this), void 0];
1464
+ const f = [Cs.bind(this), void 0];
1465
1465
  for (f.unshift.apply(f, i), f.push.apply(f, l), p = f.length, u = Promise.resolve(n); d < p; )
1466
1466
  u = u.then(f[d++], f[d++]);
1467
1467
  return u;
@@ -1478,7 +1478,7 @@ class uo {
1478
1478
  }
1479
1479
  }
1480
1480
  try {
1481
- u = Ps.call(this, g);
1481
+ u = Cs.call(this, g);
1482
1482
  } catch (f) {
1483
1483
  return Promise.reject(f);
1484
1484
  }
@@ -1488,8 +1488,8 @@ class uo {
1488
1488
  }
1489
1489
  getUri(t) {
1490
1490
  t = xt(this.defaults, t);
1491
- const n = ti(t.baseURL, t.url);
1492
- return Za(n, t.params, t.paramsSerializer);
1491
+ const n = ni(t.baseURL, t.url);
1492
+ return Xa(n, t.params, t.paramsSerializer);
1493
1493
  }
1494
1494
  }
1495
1495
  E.forEach(["delete", "get", "head", "options"], function(t) {
@@ -1600,7 +1600,7 @@ function Du(e) {
1600
1600
  function Bu(e) {
1601
1601
  return E.isObject(e) && e.isAxiosError === !0;
1602
1602
  }
1603
- const lr = {
1603
+ const cr = {
1604
1604
  Continue: 100,
1605
1605
  SwitchingProtocols: 101,
1606
1606
  Processing: 102,
@@ -1665,23 +1665,23 @@ const lr = {
1665
1665
  NotExtended: 510,
1666
1666
  NetworkAuthenticationRequired: 511
1667
1667
  };
1668
- Object.entries(lr).forEach(([e, t]) => {
1669
- lr[t] = e;
1668
+ Object.entries(cr).forEach(([e, t]) => {
1669
+ cr[t] = e;
1670
1670
  });
1671
- const Hu = lr;
1672
- function ii(e) {
1673
- const t = new Qn(e), n = ja(Qn.prototype.request, t);
1671
+ const Hu = cr;
1672
+ function li(e) {
1673
+ const t = new Qn(e), n = Da(Qn.prototype.request, t);
1674
1674
  return E.extend(n, Qn.prototype, t, { allOwnKeys: !0 }), E.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
1675
- return ii(xt(e, r));
1675
+ return li(xt(e, r));
1676
1676
  }, n;
1677
1677
  }
1678
- const ie = ii($r);
1678
+ const ie = li(Ir);
1679
1679
  ie.Axios = Qn;
1680
1680
  ie.CanceledError = tn;
1681
1681
  ie.CancelToken = ju;
1682
- ie.isCancel = Qa;
1683
- ie.VERSION = ai;
1684
- ie.toFormData = wo;
1682
+ ie.isCancel = ei;
1683
+ ie.VERSION = ii;
1684
+ ie.toFormData = xo;
1685
1685
  ie.AxiosError = G;
1686
1686
  ie.Cancel = ie.CanceledError;
1687
1687
  ie.all = function(t) {
@@ -1691,20 +1691,20 @@ ie.spread = Du;
1691
1691
  ie.isAxiosError = Bu;
1692
1692
  ie.mergeConfig = xt;
1693
1693
  ie.AxiosHeaders = Fe;
1694
- ie.formToJSON = (e) => Ya(E.isHTMLForm(e) ? new FormData(e) : e);
1695
- ie.getAdapter = si.getAdapter;
1694
+ ie.formToJSON = (e) => Qa(E.isHTMLForm(e) ? new FormData(e) : e);
1695
+ ie.getAdapter = ai.getAdapter;
1696
1696
  ie.HttpStatusCode = Hu;
1697
1697
  ie.default = ie;
1698
- const zu = ie, li = zu.create({
1698
+ const zu = ie, ci = zu.create({
1699
1699
  // 配置对象
1700
1700
  // 基础路径:发请求的时候路径当中会出现api
1701
1701
  // 请求超时的时间5s
1702
1702
  baseURL: "https://ai.imgkits.com",
1703
1703
  timeout: 6e4
1704
1704
  });
1705
- li.interceptors.request.use((e) => e, (e) => Promise.reject(e));
1706
- li.interceptors.response.use((e) => e.data, (e) => Promise.reject(new Error(e)));
1707
- const Ho = "@", cn = window.localStorage, As = {
1705
+ ci.interceptors.request.use((e) => e, (e) => Promise.reject(e));
1706
+ ci.interceptors.response.use((e) => e.data, (e) => Promise.reject(new Error(e)));
1707
+ const zo = "@", cn = window.localStorage, $s = {
1708
1708
  number: {
1709
1709
  save: (e) => e,
1710
1710
  parse: (e) => Number.parseFloat(e)
@@ -1723,8 +1723,8 @@ const Ho = "@", cn = window.localStorage, As = {
1723
1723
  parse: (e) => e
1724
1724
  }
1725
1725
  };
1726
- function $s(e) {
1727
- return As[e] || As.default;
1726
+ function Is(e) {
1727
+ return $s[e] || $s.default;
1728
1728
  }
1729
1729
  const Fn = {
1730
1730
  get(e) {
@@ -1735,18 +1735,18 @@ const Fn = {
1735
1735
  return cn.removeItem(e), null;
1736
1736
  {
1737
1737
  let s = decodeURIComponent(n[1]);
1738
- return o = $s(n[0]).parse(s), o;
1738
+ return o = Is(n[0]).parse(s), o;
1739
1739
  }
1740
1740
  }
1741
1741
  return null;
1742
1742
  },
1743
1743
  put(e, t, n) {
1744
- const o = typeof t, r = $s(o);
1744
+ const o = typeof t, r = Is(o);
1745
1745
  if (!n)
1746
- t = o + Ho + encodeURIComponent(r.save(t));
1746
+ t = o + zo + encodeURIComponent(r.save(t));
1747
1747
  else {
1748
1748
  let s = n * 24 * 60 * 60 * 1e3 + (/* @__PURE__ */ new Date()).getTime();
1749
- t = o + Ho + encodeURIComponent(r.save(t)) + Ho + s;
1749
+ t = o + zo + encodeURIComponent(r.save(t)) + zo + s;
1750
1750
  }
1751
1751
  cn.setItem(e, t);
1752
1752
  },
@@ -1770,7 +1770,7 @@ var Uu = !1;
1770
1770
  function jn(e, t, n) {
1771
1771
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
1772
1772
  }
1773
- function zo(e, t) {
1773
+ function Uo(e, t) {
1774
1774
  if (Array.isArray(e)) {
1775
1775
  e.splice(t, 1);
1776
1776
  return;
@@ -1778,24 +1778,24 @@ function zo(e, t) {
1778
1778
  delete e[t];
1779
1779
  }
1780
1780
  var Ms;
1781
- const ve = typeof window < "u", Vu = (e) => typeof e == "string", ci = () => {
1781
+ const ve = typeof window < "u", Vu = (e) => typeof e == "string", ui = () => {
1782
1782
  }, qu = ve && ((Ms = window == null ? void 0 : window.navigator) == null ? void 0 : Ms.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
1783
- function Ir(e) {
1783
+ function Rr(e) {
1784
1784
  return typeof e == "function" ? e() : w(e);
1785
1785
  }
1786
1786
  function Wu(e) {
1787
1787
  return e;
1788
1788
  }
1789
- function ko(e) {
1790
- return Ia() ? (Ra(e), !0) : !1;
1789
+ function To(e) {
1790
+ return Ra() ? (Na(e), !0) : !1;
1791
1791
  }
1792
1792
  function Gu(e, t = !0) {
1793
1793
  De() ? ee(e) : t ? e() : Ge(e);
1794
1794
  }
1795
- function cr(e, t, n = {}) {
1795
+ function ur(e, t, n = {}) {
1796
1796
  const {
1797
1797
  immediate: o = !0
1798
- } = n, r = M(!1);
1798
+ } = n, r = I(!1);
1799
1799
  let s = null;
1800
1800
  function a() {
1801
1801
  s && (clearTimeout(s), s = null);
@@ -1806,40 +1806,40 @@ function cr(e, t, n = {}) {
1806
1806
  function c(...l) {
1807
1807
  a(), r.value = !0, s = setTimeout(() => {
1808
1808
  r.value = !1, s = null, e(...l);
1809
- }, Ir(t));
1809
+ }, Rr(t));
1810
1810
  }
1811
- return o && (r.value = !0, ve && c()), ko(i), {
1812
- isPending: Na(r),
1811
+ return o && (r.value = !0, ve && c()), To(i), {
1812
+ isPending: La(r),
1813
1813
  start: c,
1814
1814
  stop: i
1815
1815
  };
1816
1816
  }
1817
1817
  function at(e) {
1818
1818
  var t;
1819
- const n = Ir(e);
1819
+ const n = Rr(e);
1820
1820
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
1821
1821
  }
1822
- const Rr = ve ? window : void 0;
1822
+ const Nr = ve ? window : void 0;
1823
1823
  function to(...e) {
1824
1824
  let t, n, o, r;
1825
- if (Vu(e[0]) || Array.isArray(e[0]) ? ([n, o, r] = e, t = Rr) : [t, n, o, r] = e, !t)
1826
- return ci;
1825
+ if (Vu(e[0]) || Array.isArray(e[0]) ? ([n, o, r] = e, t = Nr) : [t, n, o, r] = e, !t)
1826
+ return ui;
1827
1827
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
1828
1828
  const s = [], a = () => {
1829
1829
  s.forEach((u) => u()), s.length = 0;
1830
- }, i = (u, d, p, g) => (u.addEventListener(d, p, g), () => u.removeEventListener(d, p, g)), c = Z(() => [at(t), Ir(r)], ([u, d]) => {
1830
+ }, i = (u, d, p, g) => (u.addEventListener(d, p, g), () => u.removeEventListener(d, p, g)), c = Z(() => [at(t), Rr(r)], ([u, d]) => {
1831
1831
  a(), u && s.push(...n.flatMap((p) => o.map((g) => i(u, p, g, d))));
1832
1832
  }, { immediate: !0, flush: "post" }), l = () => {
1833
1833
  c(), a();
1834
1834
  };
1835
- return ko(l), l;
1835
+ return To(l), l;
1836
1836
  }
1837
- let Is = !1;
1837
+ let Rs = !1;
1838
1838
  function Ku(e, t, n = {}) {
1839
- const { window: o = Rr, ignore: r = [], capture: s = !0, detectIframe: a = !1 } = n;
1839
+ const { window: o = Nr, ignore: r = [], capture: s = !0, detectIframe: a = !1 } = n;
1840
1840
  if (!o)
1841
1841
  return;
1842
- qu && !Is && (Is = !0, Array.from(o.document.body.children).forEach((p) => p.addEventListener("click", ci)));
1842
+ qu && !Rs && (Rs = !0, Array.from(o.document.body.children).forEach((p) => p.addEventListener("click", ui)));
1843
1843
  let i = !0;
1844
1844
  const c = (p) => r.some((g) => {
1845
1845
  if (typeof g == "string")
@@ -1872,22 +1872,22 @@ function Ku(e, t, n = {}) {
1872
1872
  return () => u.forEach((p) => p());
1873
1873
  }
1874
1874
  function Ju(e, t = !1) {
1875
- const n = M(), o = () => n.value = !!e();
1875
+ const n = I(), o = () => n.value = !!e();
1876
1876
  return o(), Gu(o, t), n;
1877
1877
  }
1878
- const Rs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ns = "__vueuse_ssr_handlers__";
1879
- Rs[Ns] = Rs[Ns] || {};
1880
- var Ls = Object.getOwnPropertySymbols, Zu = Object.prototype.hasOwnProperty, Xu = Object.prototype.propertyIsEnumerable, Yu = (e, t) => {
1878
+ const Ns = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ls = "__vueuse_ssr_handlers__";
1879
+ Ns[Ls] = Ns[Ls] || {};
1880
+ var Fs = Object.getOwnPropertySymbols, Zu = Object.prototype.hasOwnProperty, Xu = Object.prototype.propertyIsEnumerable, Yu = (e, t) => {
1881
1881
  var n = {};
1882
1882
  for (var o in e)
1883
1883
  Zu.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
1884
- if (e != null && Ls)
1885
- for (var o of Ls(e))
1884
+ if (e != null && Fs)
1885
+ for (var o of Fs(e))
1886
1886
  t.indexOf(o) < 0 && Xu.call(e, o) && (n[o] = e[o]);
1887
1887
  return n;
1888
1888
  };
1889
- function ui(e, t, n = {}) {
1890
- const o = n, { window: r = Rr } = o, s = Yu(o, ["window"]);
1889
+ function di(e, t, n = {}) {
1890
+ const o = n, { window: r = Nr } = o, s = Yu(o, ["window"]);
1891
1891
  let a;
1892
1892
  const i = Ju(() => r && "ResizeObserver" in r), c = () => {
1893
1893
  a && (a.disconnect(), a = void 0);
@@ -1896,21 +1896,21 @@ function ui(e, t, n = {}) {
1896
1896
  }, { immediate: !0, flush: "post" }), u = () => {
1897
1897
  c(), l();
1898
1898
  };
1899
- return ko(u), {
1899
+ return To(u), {
1900
1900
  isSupported: i,
1901
1901
  stop: u
1902
1902
  };
1903
1903
  }
1904
- var Fs;
1904
+ var js;
1905
1905
  (function(e) {
1906
1906
  e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
1907
- })(Fs || (Fs = {}));
1908
- var Qu = Object.defineProperty, js = Object.getOwnPropertySymbols, ed = Object.prototype.hasOwnProperty, td = Object.prototype.propertyIsEnumerable, Ds = (e, t, n) => t in e ? Qu(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, nd = (e, t) => {
1907
+ })(js || (js = {}));
1908
+ var Qu = Object.defineProperty, Ds = Object.getOwnPropertySymbols, ed = Object.prototype.hasOwnProperty, td = Object.prototype.propertyIsEnumerable, Bs = (e, t, n) => t in e ? Qu(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, nd = (e, t) => {
1909
1909
  for (var n in t || (t = {}))
1910
- ed.call(t, n) && Ds(e, n, t[n]);
1911
- if (js)
1912
- for (var n of js(t))
1913
- td.call(t, n) && Ds(e, n, t[n]);
1910
+ ed.call(t, n) && Bs(e, n, t[n]);
1911
+ if (Ds)
1912
+ for (var n of Ds(t))
1913
+ td.call(t, n) && Bs(e, n, t[n]);
1914
1914
  return e;
1915
1915
  };
1916
1916
  const od = {
@@ -1945,19 +1945,19 @@ nd({
1945
1945
  process.env.NODE_ENV !== "production" && Object.freeze({});
1946
1946
  process.env.NODE_ENV !== "production" && Object.freeze([]);
1947
1947
  const po = () => {
1948
- }, rd = Object.prototype.hasOwnProperty, Bs = (e, t) => rd.call(e, t), no = Array.isArray, mt = (e) => typeof e == "function", ye = (e) => typeof e == "string", At = (e) => e !== null && typeof e == "object", di = (e) => {
1948
+ }, rd = Object.prototype.hasOwnProperty, Hs = (e, t) => rd.call(e, t), no = Array.isArray, mt = (e) => typeof e == "function", ye = (e) => typeof e == "string", At = (e) => e !== null && typeof e == "object", pi = (e) => {
1949
1949
  const t = /* @__PURE__ */ Object.create(null);
1950
1950
  return (n) => t[n] || (t[n] = e(n));
1951
- }, sd = /-(\w)/g, ad = di((e) => e.replace(sd, (t, n) => n ? n.toUpperCase() : "")), id = /\B([A-Z])/g, ld = di(
1951
+ }, sd = /-(\w)/g, ad = pi((e) => e.replace(sd, (t, n) => n ? n.toUpperCase() : "")), id = /\B([A-Z])/g, ld = pi(
1952
1952
  (e) => e.replace(id, "-$1").toLowerCase()
1953
1953
  );
1954
1954
  var cd = typeof global == "object" && global && global.Object === Object && global;
1955
1955
  const ud = cd;
1956
1956
  var dd = typeof self == "object" && self && self.Object === Object && self, pd = ud || dd || Function("return this")();
1957
- const Nr = pd;
1958
- var fd = Nr.Symbol;
1957
+ const Lr = pd;
1958
+ var fd = Lr.Symbol;
1959
1959
  const Ht = fd;
1960
- var pi = Object.prototype, hd = pi.hasOwnProperty, md = pi.toString, un = Ht ? Ht.toStringTag : void 0;
1960
+ var fi = Object.prototype, hd = fi.hasOwnProperty, md = fi.toString, un = Ht ? Ht.toStringTag : void 0;
1961
1961
  function gd(e) {
1962
1962
  var t = hd.call(e, un), n = e[un];
1963
1963
  try {
@@ -1972,16 +1972,16 @@ var vd = Object.prototype, bd = vd.toString;
1972
1972
  function yd(e) {
1973
1973
  return bd.call(e);
1974
1974
  }
1975
- var _d = "[object Null]", wd = "[object Undefined]", Hs = Ht ? Ht.toStringTag : void 0;
1976
- function fi(e) {
1977
- return e == null ? e === void 0 ? wd : _d : Hs && Hs in Object(e) ? gd(e) : yd(e);
1975
+ var _d = "[object Null]", wd = "[object Undefined]", zs = Ht ? Ht.toStringTag : void 0;
1976
+ function hi(e) {
1977
+ return e == null ? e === void 0 ? wd : _d : zs && zs in Object(e) ? gd(e) : yd(e);
1978
1978
  }
1979
1979
  function xd(e) {
1980
1980
  return e != null && typeof e == "object";
1981
1981
  }
1982
1982
  var Ed = "[object Symbol]";
1983
- function Lr(e) {
1984
- return typeof e == "symbol" || xd(e) && fi(e) == Ed;
1983
+ function Fr(e) {
1984
+ return typeof e == "symbol" || xd(e) && hi(e) == Ed;
1985
1985
  }
1986
1986
  function Sd(e, t) {
1987
1987
  for (var n = -1, o = e == null ? 0 : e.length, r = Array(o); ++n < o; )
@@ -1989,37 +1989,37 @@ function Sd(e, t) {
1989
1989
  return r;
1990
1990
  }
1991
1991
  var kd = Array.isArray;
1992
- const Fr = kd;
1993
- var Td = 1 / 0, zs = Ht ? Ht.prototype : void 0, Us = zs ? zs.toString : void 0;
1994
- function hi(e) {
1992
+ const jr = kd;
1993
+ var Td = 1 / 0, Us = Ht ? Ht.prototype : void 0, Vs = Us ? Us.toString : void 0;
1994
+ function mi(e) {
1995
1995
  if (typeof e == "string")
1996
1996
  return e;
1997
+ if (jr(e))
1998
+ return Sd(e, mi) + "";
1997
1999
  if (Fr(e))
1998
- return Sd(e, hi) + "";
1999
- if (Lr(e))
2000
- return Us ? Us.call(e) : "";
2000
+ return Vs ? Vs.call(e) : "";
2001
2001
  var t = e + "";
2002
2002
  return t == "0" && 1 / e == -Td ? "-0" : t;
2003
2003
  }
2004
- function mi(e) {
2004
+ function gi(e) {
2005
2005
  var t = typeof e;
2006
2006
  return e != null && (t == "object" || t == "function");
2007
2007
  }
2008
2008
  var Od = "[object AsyncFunction]", Pd = "[object Function]", Cd = "[object GeneratorFunction]", Ad = "[object Proxy]";
2009
2009
  function $d(e) {
2010
- if (!mi(e))
2010
+ if (!gi(e))
2011
2011
  return !1;
2012
- var t = fi(e);
2012
+ var t = hi(e);
2013
2013
  return t == Pd || t == Cd || t == Od || t == Ad;
2014
2014
  }
2015
- var Md = Nr["__core-js_shared__"];
2016
- const Uo = Md;
2017
- var Vs = function() {
2018
- var e = /[^.]+$/.exec(Uo && Uo.keys && Uo.keys.IE_PROTO || "");
2015
+ var Id = Lr["__core-js_shared__"];
2016
+ const Vo = Id;
2017
+ var qs = function() {
2018
+ var e = /[^.]+$/.exec(Vo && Vo.keys && Vo.keys.IE_PROTO || "");
2019
2019
  return e ? "Symbol(src)_1." + e : "";
2020
2020
  }();
2021
- function Id(e) {
2022
- return !!Vs && Vs in e;
2021
+ function Md(e) {
2022
+ return !!qs && qs in e;
2023
2023
  }
2024
2024
  var Rd = Function.prototype, Nd = Rd.toString;
2025
2025
  function Ld(e) {
@@ -2039,7 +2039,7 @@ var Fd = /[\\^$.*+?()[\]{}|]/g, jd = /^\[object .+?Constructor\]$/, Dd = Functio
2039
2039
  "^" + Hd.call(zd).replace(Fd, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2040
2040
  );
2041
2041
  function Vd(e) {
2042
- if (!mi(e) || Id(e))
2042
+ if (!gi(e) || Md(e))
2043
2043
  return !1;
2044
2044
  var t = $d(e) ? Ud : jd;
2045
2045
  return t.test(Ld(e));
@@ -2047,7 +2047,7 @@ function Vd(e) {
2047
2047
  function qd(e, t) {
2048
2048
  return e == null ? void 0 : e[t];
2049
2049
  }
2050
- function gi(e, t) {
2050
+ function vi(e, t) {
2051
2051
  var n = qd(e, t);
2052
2052
  return Vd(n) ? n : void 0;
2053
2053
  }
@@ -2056,12 +2056,12 @@ function Wd(e, t) {
2056
2056
  }
2057
2057
  var Gd = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Kd = /^\w*$/;
2058
2058
  function Jd(e, t) {
2059
- if (Fr(e))
2059
+ if (jr(e))
2060
2060
  return !1;
2061
2061
  var n = typeof e;
2062
- return n == "number" || n == "symbol" || n == "boolean" || e == null || Lr(e) ? !0 : Kd.test(e) || !Gd.test(e) || t != null && e in Object(t);
2062
+ return n == "number" || n == "symbol" || n == "boolean" || e == null || Fr(e) ? !0 : Kd.test(e) || !Gd.test(e) || t != null && e in Object(t);
2063
2063
  }
2064
- var Zd = gi(Object, "create");
2064
+ var Zd = vi(Object, "create");
2065
2065
  const xn = Zd;
2066
2066
  function Xd() {
2067
2067
  this.__data__ = xn ? xn(null) : {}, this.size = 0;
@@ -2104,7 +2104,7 @@ Et.prototype.set = ip;
2104
2104
  function lp() {
2105
2105
  this.__data__ = [], this.size = 0;
2106
2106
  }
2107
- function To(e, t) {
2107
+ function Oo(e, t) {
2108
2108
  for (var n = e.length; n--; )
2109
2109
  if (Wd(e[n][0], t))
2110
2110
  return n;
@@ -2112,21 +2112,21 @@ function To(e, t) {
2112
2112
  }
2113
2113
  var cp = Array.prototype, up = cp.splice;
2114
2114
  function dp(e) {
2115
- var t = this.__data__, n = To(t, e);
2115
+ var t = this.__data__, n = Oo(t, e);
2116
2116
  if (n < 0)
2117
2117
  return !1;
2118
2118
  var o = t.length - 1;
2119
2119
  return n == o ? t.pop() : up.call(t, n, 1), --this.size, !0;
2120
2120
  }
2121
2121
  function pp(e) {
2122
- var t = this.__data__, n = To(t, e);
2122
+ var t = this.__data__, n = Oo(t, e);
2123
2123
  return n < 0 ? void 0 : t[n][1];
2124
2124
  }
2125
2125
  function fp(e) {
2126
- return To(this.__data__, e) > -1;
2126
+ return Oo(this.__data__, e) > -1;
2127
2127
  }
2128
2128
  function hp(e, t) {
2129
- var n = this.__data__, o = To(n, e);
2129
+ var n = this.__data__, o = Oo(n, e);
2130
2130
  return o < 0 ? (++this.size, n.push([e, t])) : n[o][1] = t, this;
2131
2131
  }
2132
2132
  function nn(e) {
@@ -2141,7 +2141,7 @@ nn.prototype.delete = dp;
2141
2141
  nn.prototype.get = pp;
2142
2142
  nn.prototype.has = fp;
2143
2143
  nn.prototype.set = hp;
2144
- var mp = gi(Nr, "Map");
2144
+ var mp = vi(Lr, "Map");
2145
2145
  const gp = mp;
2146
2146
  function vp() {
2147
2147
  this.size = 0, this.__data__ = {
@@ -2154,22 +2154,22 @@ function bp(e) {
2154
2154
  var t = typeof e;
2155
2155
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
2156
2156
  }
2157
- function Oo(e, t) {
2157
+ function Po(e, t) {
2158
2158
  var n = e.__data__;
2159
2159
  return bp(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
2160
2160
  }
2161
2161
  function yp(e) {
2162
- var t = Oo(this, e).delete(e);
2162
+ var t = Po(this, e).delete(e);
2163
2163
  return this.size -= t ? 1 : 0, t;
2164
2164
  }
2165
2165
  function _p(e) {
2166
- return Oo(this, e).get(e);
2166
+ return Po(this, e).get(e);
2167
2167
  }
2168
2168
  function wp(e) {
2169
- return Oo(this, e).has(e);
2169
+ return Po(this, e).has(e);
2170
2170
  }
2171
2171
  function xp(e, t) {
2172
- var n = Oo(this, e), o = n.size;
2172
+ var n = Po(this, e), o = n.size;
2173
2173
  return n.set(e, t), this.size += n.size == o ? 0 : 1, this;
2174
2174
  }
2175
2175
  function $t(e) {
@@ -2185,7 +2185,7 @@ $t.prototype.get = _p;
2185
2185
  $t.prototype.has = wp;
2186
2186
  $t.prototype.set = xp;
2187
2187
  var Ep = "Expected a function";
2188
- function jr(e, t) {
2188
+ function Dr(e, t) {
2189
2189
  if (typeof e != "function" || t != null && typeof t != "function")
2190
2190
  throw new TypeError(Ep);
2191
2191
  var n = function() {
@@ -2195,12 +2195,12 @@ function jr(e, t) {
2195
2195
  var a = e.apply(this, o);
2196
2196
  return n.cache = s.set(r, a) || s, a;
2197
2197
  };
2198
- return n.cache = new (jr.Cache || $t)(), n;
2198
+ return n.cache = new (Dr.Cache || $t)(), n;
2199
2199
  }
2200
- jr.Cache = $t;
2200
+ Dr.Cache = $t;
2201
2201
  var Sp = 500;
2202
2202
  function kp(e) {
2203
- var t = jr(e, function(o) {
2203
+ var t = Dr(e, function(o) {
2204
2204
  return n.size === Sp && n.clear(), o;
2205
2205
  }), n = t.cache;
2206
2206
  return t;
@@ -2213,29 +2213,29 @@ var Tp = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
2213
2213
  });
2214
2214
  const Cp = Pp;
2215
2215
  function Ap(e) {
2216
- return e == null ? "" : hi(e);
2216
+ return e == null ? "" : mi(e);
2217
2217
  }
2218
2218
  function $p(e, t) {
2219
- return Fr(e) ? e : Jd(e, t) ? [e] : Cp(Ap(e));
2219
+ return jr(e) ? e : Jd(e, t) ? [e] : Cp(Ap(e));
2220
2220
  }
2221
- var Mp = 1 / 0;
2222
- function Ip(e) {
2223
- if (typeof e == "string" || Lr(e))
2221
+ var Ip = 1 / 0;
2222
+ function Mp(e) {
2223
+ if (typeof e == "string" || Fr(e))
2224
2224
  return e;
2225
2225
  var t = e + "";
2226
- return t == "0" && 1 / e == -Mp ? "-0" : t;
2226
+ return t == "0" && 1 / e == -Ip ? "-0" : t;
2227
2227
  }
2228
2228
  function Rp(e, t) {
2229
2229
  t = $p(t, e);
2230
2230
  for (var n = 0, o = t.length; e != null && n < o; )
2231
- e = e[Ip(t[n++])];
2231
+ e = e[Mp(t[n++])];
2232
2232
  return n && n == o ? e : void 0;
2233
2233
  }
2234
2234
  function Np(e, t, n) {
2235
2235
  var o = e == null ? void 0 : Rp(e, t);
2236
2236
  return o === void 0 ? n : o;
2237
2237
  }
2238
- function ur(e) {
2238
+ function dr(e) {
2239
2239
  for (var t = -1, n = e == null ? 0 : e.length, o = {}; ++t < n; ) {
2240
2240
  var r = e[t];
2241
2241
  o[r[0]] = r[1];
@@ -2248,31 +2248,31 @@ function En(e) {
2248
2248
  function Lp(e) {
2249
2249
  return e === void 0;
2250
2250
  }
2251
- const Fp = (e) => e === void 0, vi = (e) => typeof e == "boolean", Ke = (e) => typeof e == "number", Sn = (e) => typeof Element > "u" ? !1 : e instanceof Element, jp = (e) => ye(e) ? !Number.isNaN(Number(e)) : !1, qs = (e) => Object.keys(e);
2252
- class bi extends Error {
2251
+ const Fp = (e) => e === void 0, bi = (e) => typeof e == "boolean", Ke = (e) => typeof e == "number", Sn = (e) => typeof Element > "u" ? !1 : e instanceof Element, jp = (e) => ye(e) ? !Number.isNaN(Number(e)) : !1, Ws = (e) => Object.keys(e);
2252
+ class yi extends Error {
2253
2253
  constructor(t) {
2254
2254
  super(t), this.name = "ElementPlusError";
2255
2255
  }
2256
2256
  }
2257
2257
  function fo(e, t) {
2258
- throw new bi(`[${e}] ${t}`);
2258
+ throw new yi(`[${e}] ${t}`);
2259
2259
  }
2260
2260
  function St(e, t) {
2261
2261
  if (process.env.NODE_ENV !== "production") {
2262
- const n = ye(e) ? new bi(`[${e}] ${t}`) : e;
2262
+ const n = ye(e) ? new yi(`[${e}] ${t}`) : e;
2263
2263
  console.warn(n);
2264
2264
  }
2265
2265
  }
2266
- const Dp = "utils/dom/style", yi = (e = "") => e.split(" ").filter((t) => !!t.trim()), Bp = (e, t) => {
2266
+ const Dp = "utils/dom/style", _i = (e = "") => e.split(" ").filter((t) => !!t.trim()), Bp = (e, t) => {
2267
2267
  if (!e || !t)
2268
2268
  return !1;
2269
2269
  if (t.includes(" "))
2270
2270
  throw new Error("className should not contain space.");
2271
2271
  return e.classList.contains(t);
2272
2272
  }, Dt = (e, t) => {
2273
- !e || !t.trim() || e.classList.add(...yi(t));
2273
+ !e || !t.trim() || e.classList.add(..._i(t));
2274
2274
  }, bt = (e, t) => {
2275
- !e || !t.trim() || e.classList.remove(...yi(t));
2275
+ !e || !t.trim() || e.classList.remove(..._i(t));
2276
2276
  }, dn = (e, t) => {
2277
2277
  var n;
2278
2278
  if (!ve || !e || !t)
@@ -2341,7 +2341,7 @@ var zp = /* @__PURE__ */ B({
2341
2341
  })
2342
2342
  ]));
2343
2343
  }
2344
- }), _i = Wp, Gp = /* @__PURE__ */ B({
2344
+ }), wi = Wp, Gp = /* @__PURE__ */ B({
2345
2345
  name: "Close",
2346
2346
  __name: "close",
2347
2347
  setup(e) {
@@ -2369,7 +2369,7 @@ var zp = /* @__PURE__ */ B({
2369
2369
  })
2370
2370
  ]));
2371
2371
  }
2372
- }), wi = Jp, Zp = /* @__PURE__ */ B({
2372
+ }), xi = Jp, Zp = /* @__PURE__ */ B({
2373
2373
  name: "More",
2374
2374
  __name: "more",
2375
2375
  setup(e) {
@@ -2397,7 +2397,7 @@ var zp = /* @__PURE__ */ B({
2397
2397
  })
2398
2398
  ]));
2399
2399
  }
2400
- }), xi = Yp, Qp = /* @__PURE__ */ B({
2400
+ }), Ei = Yp, Qp = /* @__PURE__ */ B({
2401
2401
  name: "WarningFilled",
2402
2402
  __name: "warning-filled",
2403
2403
  setup(e) {
@@ -2411,8 +2411,8 @@ var zp = /* @__PURE__ */ B({
2411
2411
  })
2412
2412
  ]));
2413
2413
  }
2414
- }), Ei = Qp;
2415
- const Si = "__epPropKey", K = (e) => e, ef = (e) => At(e) && !!e[Si], Po = (e, t) => {
2414
+ }), Si = Qp;
2415
+ const ki = "__epPropKey", K = (e) => e, ef = (e) => At(e) && !!e[ki], Co = (e, t) => {
2416
2416
  if (!At(e) || ef(e))
2417
2417
  return e;
2418
2418
  const { values: n, required: o, default: r, type: s, validator: a } = e, c = {
@@ -2420,34 +2420,34 @@ const Si = "__epPropKey", K = (e) => e, ef = (e) => At(e) && !!e[Si], Po = (e, t
2420
2420
  required: !!o,
2421
2421
  validator: n || a ? (l) => {
2422
2422
  let u = !1, d = [];
2423
- if (n && (d = Array.from(n), Bs(e, "default") && d.push(r), u || (u = d.includes(l))), a && (u || (u = a(l))), !u && d.length > 0) {
2423
+ if (n && (d = Array.from(n), Hs(e, "default") && d.push(r), u || (u = d.includes(l))), a && (u || (u = a(l))), !u && d.length > 0) {
2424
2424
  const p = [...new Set(d)].map((g) => JSON.stringify(g)).join(", ");
2425
2425
  Xl(`Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${p}], got value ${JSON.stringify(l)}.`);
2426
2426
  }
2427
2427
  return u;
2428
2428
  } : void 0,
2429
- [Si]: !0
2429
+ [ki]: !0
2430
2430
  };
2431
- return Bs(e, "default") && (c.default = r), c;
2432
- }, ue = (e) => ur(Object.entries(e).map(([t, n]) => [
2431
+ return Hs(e, "default") && (c.default = r), c;
2432
+ }, ue = (e) => dr(Object.entries(e).map(([t, n]) => [
2433
2433
  t,
2434
- Po(n, t)
2434
+ Co(n, t)
2435
2435
  ])), gn = K([
2436
2436
  String,
2437
2437
  Object,
2438
2438
  Function
2439
2439
  ]), tf = {
2440
2440
  Close: Kp,
2441
- SuccessFilled: xi,
2442
- InfoFilled: wi,
2443
- WarningFilled: Ei,
2444
- CircleCloseFilled: _i
2445
- }, Ws = {
2446
- success: xi,
2447
- warning: Ei,
2448
- error: _i,
2449
- info: wi
2450
- }, Mt = (e, t) => {
2441
+ SuccessFilled: Ei,
2442
+ InfoFilled: xi,
2443
+ WarningFilled: Si,
2444
+ CircleCloseFilled: wi
2445
+ }, Gs = {
2446
+ success: Ei,
2447
+ warning: Si,
2448
+ error: wi,
2449
+ info: xi
2450
+ }, It = (e, t) => {
2451
2451
  if (e.install = (n) => {
2452
2452
  for (const o of [e, ...Object.values(t ?? {})])
2453
2453
  n.component(o.name, o);
@@ -2457,7 +2457,7 @@ const Si = "__epPropKey", K = (e) => e, ef = (e) => At(e) && !!e[Si], Po = (e, t
2457
2457
  return e;
2458
2458
  }, nf = (e, t) => (e.install = (n) => {
2459
2459
  e._context = n._context, n.config.globalProperties[t] = e;
2460
- }, e), Dr = (e) => (e.install = po, e), ge = {
2460
+ }, e), Br = (e) => (e.install = po, e), ge = {
2461
2461
  tab: "Tab",
2462
2462
  enter: "Enter",
2463
2463
  space: "Space",
@@ -2654,23 +2654,23 @@ const af = (e) => (t, n) => lf(t, n, w(e)), lf = (e, t, n) => Np(n, e, e).replac
2654
2654
  var s;
2655
2655
  return `${(s = t == null ? void 0 : t[r]) != null ? s : `{${r}}`}`;
2656
2656
  }), cf = (e) => {
2657
- const t = T(() => w(e).name), n = wt(e) ? e : M(e);
2657
+ const t = T(() => w(e).name), n = wt(e) ? e : I(e);
2658
2658
  return {
2659
2659
  lang: t,
2660
2660
  locale: n,
2661
2661
  t: af(e)
2662
2662
  };
2663
- }, ki = Symbol("localeContextKey"), uf = (e) => {
2664
- const t = e || X(ki, M());
2663
+ }, Ti = Symbol("localeContextKey"), uf = (e) => {
2664
+ const t = e || X(Ti, I());
2665
2665
  return cf(T(() => t.value || sf));
2666
2666
  }, ro = "el", df = "is-", dt = (e, t, n, o, r) => {
2667
2667
  let s = `${e}-${t}`;
2668
2668
  return n && (s += `-${n}`), o && (s += `__${o}`), r && (s += `--${r}`), s;
2669
- }, Ti = Symbol("namespaceContextKey"), Br = (e) => {
2670
- const t = e || (De() ? X(Ti, M(ro)) : M(ro));
2669
+ }, Oi = Symbol("namespaceContextKey"), Hr = (e) => {
2670
+ const t = e || (De() ? X(Oi, I(ro)) : I(ro));
2671
2671
  return T(() => w(t) || ro);
2672
2672
  }, le = (e, t) => {
2673
- const n = Br(t);
2673
+ const n = Hr(t);
2674
2674
  return {
2675
2675
  namespace: n,
2676
2676
  b: (h = "") => dt(n.value, e, h, "", ""),
@@ -2699,12 +2699,12 @@ const af = (e) => (t, n) => lf(t, n, w(e)), lf = (e, t, n) => Np(n, e, e).replac
2699
2699
  },
2700
2700
  cssVarBlockName: (h) => `--${n.value}-${e}-${h}`
2701
2701
  };
2702
- }, pf = Po({
2702
+ }, pf = Co({
2703
2703
  type: K(Boolean),
2704
2704
  default: null
2705
- }), ff = Po({
2705
+ }), ff = Co({
2706
2706
  type: K(Function)
2707
- }), Oi = (e) => {
2707
+ }), Pi = (e) => {
2708
2708
  const t = `update:${e}`, n = `onUpdate:${e}`, o = [t], r = {
2709
2709
  [e]: pf,
2710
2710
  [n]: ff
@@ -2733,8 +2733,8 @@ const af = (e) => (t, n) => lf(t, n, w(e)), lf = (e, t, n) => Np(n, e, e).replac
2733
2733
  const L = h.value && ve;
2734
2734
  L && g(t, !1), (b.value || !L) && S(y);
2735
2735
  }, P = (y) => {
2736
- vi(y) && (f.disabled && y ? h.value && g(t, !1) : a.value !== y && (y ? v() : S()));
2737
- }, I = () => {
2736
+ bi(y) && (f.disabled && y ? h.value && g(t, !1) : a.value !== y && (y ? v() : S()));
2737
+ }, M = () => {
2738
2738
  a.value ? $() : O();
2739
2739
  };
2740
2740
  return Z(() => f[e], P), c && p.appContext.config.globalProperties.$route !== void 0 && Z(() => ({
@@ -2746,7 +2746,7 @@ const af = (e) => (t, n) => lf(t, n, w(e)), lf = (e, t, n) => Np(n, e, e).replac
2746
2746
  }), {
2747
2747
  hide: $,
2748
2748
  show: O,
2749
- toggle: I,
2749
+ toggle: M,
2750
2750
  hasUpdateHandler: h
2751
2751
  };
2752
2752
  },
@@ -2754,10 +2754,10 @@ const af = (e) => (t, n) => lf(t, n, w(e)), lf = (e, t, n) => Np(n, e, e).replac
2754
2754
  useModelToggleEmits: o
2755
2755
  };
2756
2756
  };
2757
- Oi("modelValue");
2758
- var _e = "top", Ae = "bottom", $e = "right", we = "left", Hr = "auto", An = [_e, Ae, $e, we], zt = "start", kn = "end", hf = "clippingParents", Pi = "viewport", pn = "popper", mf = "reference", Gs = An.reduce(function(e, t) {
2757
+ Pi("modelValue");
2758
+ var _e = "top", Ae = "bottom", $e = "right", we = "left", zr = "auto", An = [_e, Ae, $e, we], zt = "start", kn = "end", hf = "clippingParents", Ci = "viewport", pn = "popper", mf = "reference", Ks = An.reduce(function(e, t) {
2759
2759
  return e.concat([t + "-" + zt, t + "-" + kn]);
2760
- }, []), zr = [].concat(An, [Hr]).reduce(function(e, t) {
2760
+ }, []), Ur = [].concat(An, [zr]).reduce(function(e, t) {
2761
2761
  return e.concat([t, t + "-" + zt, t + "-" + kn]);
2762
2762
  }, []), gf = "beforeRead", vf = "read", bf = "afterRead", yf = "beforeMain", _f = "main", wf = "afterMain", xf = "beforeWrite", Ef = "write", Sf = "afterWrite", kf = [gf, vf, bf, yf, _f, wf, xf, Ef, Sf];
2763
2763
  function Je(e) {
@@ -2780,7 +2780,7 @@ function Pe(e) {
2780
2780
  var t = He(e).HTMLElement;
2781
2781
  return e instanceof t || e instanceof HTMLElement;
2782
2782
  }
2783
- function Ur(e) {
2783
+ function Vr(e) {
2784
2784
  if (typeof ShadowRoot > "u")
2785
2785
  return !1;
2786
2786
  var t = He(e).ShadowRoot;
@@ -2809,7 +2809,7 @@ function Of(e) {
2809
2809
  });
2810
2810
  };
2811
2811
  }
2812
- var Ci = { name: "applyStyles", enabled: !0, phase: "write", fn: Tf, effect: Of, requires: ["computeStyles"] };
2812
+ var Ai = { name: "applyStyles", enabled: !0, phase: "write", fn: Tf, effect: Of, requires: ["computeStyles"] };
2813
2813
  function We(e) {
2814
2814
  return e.split("-")[0];
2815
2815
  }
@@ -2823,15 +2823,15 @@ function qt(e, t) {
2823
2823
  }
2824
2824
  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 };
2825
2825
  }
2826
- function Vr(e) {
2826
+ function qr(e) {
2827
2827
  var t = qt(e), n = e.offsetWidth, o = e.offsetHeight;
2828
2828
  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 };
2829
2829
  }
2830
- function Ai(e, t) {
2830
+ function $i(e, t) {
2831
2831
  var n = t.getRootNode && t.getRootNode();
2832
2832
  if (e.contains(t))
2833
2833
  return !0;
2834
- if (n && Ur(n)) {
2834
+ if (n && Vr(n)) {
2835
2835
  var o = t;
2836
2836
  do {
2837
2837
  if (o && e.isSameNode(o))
@@ -2850,10 +2850,10 @@ function Pf(e) {
2850
2850
  function lt(e) {
2851
2851
  return ((Ut(e) ? e.ownerDocument : e.document) || window.document).documentElement;
2852
2852
  }
2853
- function Co(e) {
2854
- return Je(e) === "html" ? e : e.assignedSlot || e.parentNode || (Ur(e) ? e.host : null) || lt(e);
2853
+ function Ao(e) {
2854
+ return Je(e) === "html" ? e : e.assignedSlot || e.parentNode || (Vr(e) ? e.host : null) || lt(e);
2855
2855
  }
2856
- function Ks(e) {
2856
+ function Js(e) {
2857
2857
  return !Pe(e) || rt(e).position === "fixed" ? null : e.offsetParent;
2858
2858
  }
2859
2859
  function Cf(e) {
@@ -2863,8 +2863,8 @@ function Cf(e) {
2863
2863
  if (o.position === "fixed")
2864
2864
  return null;
2865
2865
  }
2866
- var r = Co(e);
2867
- for (Ur(r) && (r = r.host); Pe(r) && ["html", "body"].indexOf(Je(r)) < 0; ) {
2866
+ var r = Ao(e);
2867
+ for (Vr(r) && (r = r.host); Pe(r) && ["html", "body"].indexOf(Je(r)) < 0; ) {
2868
2868
  var s = rt(r);
2869
2869
  if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
2870
2870
  return r;
@@ -2873,11 +2873,11 @@ function Cf(e) {
2873
2873
  return null;
2874
2874
  }
2875
2875
  function $n(e) {
2876
- for (var t = He(e), n = Ks(e); n && Pf(n) && rt(n).position === "static"; )
2877
- n = Ks(n);
2876
+ for (var t = He(e), n = Js(e); n && Pf(n) && rt(n).position === "static"; )
2877
+ n = Js(n);
2878
2878
  return n && (Je(n) === "html" || Je(n) === "body" && rt(n).position === "static") ? t : n || Cf(e) || t;
2879
2879
  }
2880
- function qr(e) {
2880
+ function Wr(e) {
2881
2881
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
2882
2882
  }
2883
2883
  function bn(e, t, n) {
@@ -2887,32 +2887,32 @@ function Af(e, t, n) {
2887
2887
  var o = bn(e, t, n);
2888
2888
  return o > n ? n : o;
2889
2889
  }
2890
- function $i() {
2890
+ function Ii() {
2891
2891
  return { top: 0, right: 0, bottom: 0, left: 0 };
2892
2892
  }
2893
2893
  function Mi(e) {
2894
- return Object.assign({}, $i(), e);
2894
+ return Object.assign({}, Ii(), e);
2895
2895
  }
2896
- function Ii(e, t) {
2896
+ function Ri(e, t) {
2897
2897
  return t.reduce(function(n, o) {
2898
2898
  return n[o] = e, n;
2899
2899
  }, {});
2900
2900
  }
2901
2901
  var $f = function(e, t) {
2902
- return e = typeof e == "function" ? e(Object.assign({}, t.rects, { placement: t.placement })) : e, Mi(typeof e != "number" ? e : Ii(e, An));
2902
+ return e = typeof e == "function" ? e(Object.assign({}, t.rects, { placement: t.placement })) : e, Mi(typeof e != "number" ? e : Ri(e, An));
2903
2903
  };
2904
- function Mf(e) {
2905
- var t, n = e.state, o = e.name, r = e.options, s = n.elements.arrow, a = n.modifiersData.popperOffsets, i = We(n.placement), c = qr(i), l = [we, $e].indexOf(i) >= 0, u = l ? "height" : "width";
2904
+ function If(e) {
2905
+ var t, n = e.state, o = e.name, r = e.options, s = n.elements.arrow, a = n.modifiersData.popperOffsets, i = We(n.placement), c = Wr(i), l = [we, $e].indexOf(i) >= 0, u = l ? "height" : "width";
2906
2906
  if (!(!s || !a)) {
2907
- var d = $f(r.padding, n), p = Vr(s), g = c === "y" ? _e : we, f = c === "y" ? Ae : $e, h = n.rects.reference[u] + n.rects.reference[c] - a[c] - n.rects.popper[u], b = a[c] - n.rects.reference[c], v = $n(s), S = v ? c === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, O = h / 2 - b / 2, $ = d[g], P = S - p[u] - d[f], I = S / 2 - p[u] / 2 + O, y = bn($, I, P), L = c;
2908
- n.modifiersData[o] = (t = {}, t[L] = y, t.centerOffset = y - I, t);
2907
+ var d = $f(r.padding, n), p = qr(s), g = c === "y" ? _e : we, f = c === "y" ? Ae : $e, h = n.rects.reference[u] + n.rects.reference[c] - a[c] - n.rects.popper[u], b = a[c] - n.rects.reference[c], v = $n(s), S = v ? c === "y" ? v.clientHeight || 0 : v.clientWidth || 0 : 0, O = h / 2 - b / 2, $ = d[g], P = S - p[u] - d[f], M = S / 2 - p[u] / 2 + O, y = bn($, M, P), L = c;
2908
+ n.modifiersData[o] = (t = {}, t[L] = y, t.centerOffset = y - M, t);
2909
2909
  }
2910
2910
  }
2911
- function If(e) {
2911
+ function Mf(e) {
2912
2912
  var t = e.state, n = e.options, o = n.element, r = o === void 0 ? "[data-popper-arrow]" : o;
2913
- r != null && (typeof r == "string" && (r = t.elements.popper.querySelector(r), !r) || !Ai(t.elements.popper, r) || (t.elements.arrow = r));
2913
+ r != null && (typeof r == "string" && (r = t.elements.popper.querySelector(r), !r) || !$i(t.elements.popper, r) || (t.elements.arrow = r));
2914
2914
  }
2915
- var Rf = { name: "arrow", enabled: !0, phase: "main", fn: Mf, effect: If, requires: ["popperOffsets"], requiresIfExists: ["preventOverflow"] };
2915
+ var Rf = { name: "arrow", enabled: !0, phase: "main", fn: If, effect: Mf, requires: ["popperOffsets"], requiresIfExists: ["preventOverflow"] };
2916
2916
  function Wt(e) {
2917
2917
  return e.split("-")[1];
2918
2918
  }
@@ -2921,20 +2921,20 @@ function Lf(e) {
2921
2921
  var t = e.x, n = e.y, o = window, r = o.devicePixelRatio || 1;
2922
2922
  return { x: Vt(t * r) / r || 0, y: Vt(n * r) / r || 0 };
2923
2923
  }
2924
- function Js(e) {
2924
+ function Zs(e) {
2925
2925
  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, p = a.x, g = p === void 0 ? 0 : p, f = a.y, h = f === void 0 ? 0 : f, b = typeof u == "function" ? u({ x: g, y: h }) : { x: g, y: h };
2926
2926
  g = b.x, h = b.y;
2927
2927
  var v = a.hasOwnProperty("x"), S = a.hasOwnProperty("y"), O = we, $ = _e, P = window;
2928
2928
  if (l) {
2929
- var I = $n(n), y = "clientHeight", L = "clientWidth";
2930
- if (I === He(n) && (I = lt(n), rt(I).position !== "static" && i === "absolute" && (y = "scrollHeight", L = "scrollWidth")), I = I, r === _e || (r === we || r === $e) && s === kn) {
2929
+ var M = $n(n), y = "clientHeight", L = "clientWidth";
2930
+ if (M === He(n) && (M = lt(n), rt(M).position !== "static" && i === "absolute" && (y = "scrollHeight", L = "scrollWidth")), M = M, r === _e || (r === we || r === $e) && s === kn) {
2931
2931
  $ = Ae;
2932
- var z = d && I === P && P.visualViewport ? P.visualViewport.height : I[y];
2932
+ var z = d && M === P && P.visualViewport ? P.visualViewport.height : M[y];
2933
2933
  h -= z - o.height, h *= c ? 1 : -1;
2934
2934
  }
2935
2935
  if (r === we || (r === _e || r === Ae) && s === kn) {
2936
2936
  O = $e;
2937
- var k = d && I === P && P.visualViewport ? P.visualViewport.width : I[L];
2937
+ var k = d && M === P && P.visualViewport ? P.visualViewport.width : M[L];
2938
2938
  g -= k - o.width, g *= c ? 1 : -1;
2939
2939
  }
2940
2940
  }
@@ -2947,9 +2947,9 @@ function Js(e) {
2947
2947
  }
2948
2948
  function Ff(e) {
2949
2949
  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: We(t.placement), variation: Wt(t.placement), popper: t.elements.popper, popperRect: t.rects.popper, gpuAcceleration: r, isFixed: t.options.strategy === "fixed" };
2950
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Js(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, Js(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 });
2950
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Zs(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, Zs(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 });
2951
2951
  }
2952
- var Ri = { name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: Ff, data: {} }, Dn = { passive: !0 };
2952
+ var Ni = { name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: Ff, data: {} }, Dn = { passive: !0 };
2953
2953
  function jf(e) {
2954
2954
  var t = e.state, n = e.instance, o = e.options, r = o.scroll, s = r === void 0 ? !0 : r, a = o.resize, i = a === void 0 ? !0 : a, c = He(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
2955
2955
  return s && l.forEach(function(u) {
@@ -2960,7 +2960,7 @@ function jf(e) {
2960
2960
  }), i && c.removeEventListener("resize", n.update, Dn);
2961
2961
  };
2962
2962
  }
2963
- var Ni = { name: "eventListeners", enabled: !0, phase: "write", fn: function() {
2963
+ var Li = { name: "eventListeners", enabled: !0, phase: "write", fn: function() {
2964
2964
  }, effect: jf, data: {} }, Df = { left: "right", right: "left", bottom: "top", top: "bottom" };
2965
2965
  function so(e) {
2966
2966
  return e.replace(/left|right|bottom|top/g, function(t) {
@@ -2968,63 +2968,63 @@ function so(e) {
2968
2968
  });
2969
2969
  }
2970
2970
  var Bf = { start: "end", end: "start" };
2971
- function Zs(e) {
2971
+ function Xs(e) {
2972
2972
  return e.replace(/start|end/g, function(t) {
2973
2973
  return Bf[t];
2974
2974
  });
2975
2975
  }
2976
- function Wr(e) {
2976
+ function Gr(e) {
2977
2977
  var t = He(e), n = t.pageXOffset, o = t.pageYOffset;
2978
2978
  return { scrollLeft: n, scrollTop: o };
2979
2979
  }
2980
- function Gr(e) {
2981
- return qt(lt(e)).left + Wr(e).scrollLeft;
2980
+ function Kr(e) {
2981
+ return qt(lt(e)).left + Gr(e).scrollLeft;
2982
2982
  }
2983
2983
  function Hf(e) {
2984
2984
  var t = He(e), n = lt(e), o = t.visualViewport, r = n.clientWidth, s = n.clientHeight, a = 0, i = 0;
2985
- return o && (r = o.width, s = o.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (a = o.offsetLeft, i = o.offsetTop)), { width: r, height: s, x: a + Gr(e), y: i };
2985
+ return o && (r = o.width, s = o.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (a = o.offsetLeft, i = o.offsetTop)), { width: r, height: s, x: a + Kr(e), y: i };
2986
2986
  }
2987
2987
  function zf(e) {
2988
- var t, n = lt(e), o = Wr(e), r = (t = e.ownerDocument) == null ? void 0 : t.body, s = yt(n.scrollWidth, n.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), a = yt(n.scrollHeight, n.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), i = -o.scrollLeft + Gr(e), c = -o.scrollTop;
2988
+ var t, n = lt(e), o = Gr(e), r = (t = e.ownerDocument) == null ? void 0 : t.body, s = yt(n.scrollWidth, n.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), a = yt(n.scrollHeight, n.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), i = -o.scrollLeft + Kr(e), c = -o.scrollTop;
2989
2989
  return rt(r || n).direction === "rtl" && (i += yt(n.clientWidth, r ? r.clientWidth : 0) - s), { width: s, height: a, x: i, y: c };
2990
2990
  }
2991
- function Kr(e) {
2991
+ function Jr(e) {
2992
2992
  var t = rt(e), n = t.overflow, o = t.overflowX, r = t.overflowY;
2993
2993
  return /auto|scroll|overlay|hidden/.test(n + r + o);
2994
2994
  }
2995
- function Li(e) {
2996
- return ["html", "body", "#document"].indexOf(Je(e)) >= 0 ? e.ownerDocument.body : Pe(e) && Kr(e) ? e : Li(Co(e));
2995
+ function Fi(e) {
2996
+ return ["html", "body", "#document"].indexOf(Je(e)) >= 0 ? e.ownerDocument.body : Pe(e) && Jr(e) ? e : Fi(Ao(e));
2997
2997
  }
2998
2998
  function yn(e, t) {
2999
2999
  var n;
3000
3000
  t === void 0 && (t = []);
3001
- var o = Li(e), r = o === ((n = e.ownerDocument) == null ? void 0 : n.body), s = He(o), a = r ? [s].concat(s.visualViewport || [], Kr(o) ? o : []) : o, i = t.concat(a);
3002
- return r ? i : i.concat(yn(Co(a)));
3001
+ var o = Fi(e), r = o === ((n = e.ownerDocument) == null ? void 0 : n.body), s = He(o), a = r ? [s].concat(s.visualViewport || [], Jr(o) ? o : []) : o, i = t.concat(a);
3002
+ return r ? i : i.concat(yn(Ao(a)));
3003
3003
  }
3004
- function dr(e) {
3004
+ function pr(e) {
3005
3005
  return Object.assign({}, e, { left: e.x, top: e.y, right: e.x + e.width, bottom: e.y + e.height });
3006
3006
  }
3007
3007
  function Uf(e) {
3008
3008
  var t = qt(e);
3009
3009
  return t.top = t.top + e.clientTop, t.left = t.left + e.clientLeft, t.bottom = t.top + e.clientHeight, t.right = t.left + e.clientWidth, t.width = e.clientWidth, t.height = e.clientHeight, t.x = t.left, t.y = t.top, t;
3010
3010
  }
3011
- function Xs(e, t) {
3012
- return t === Pi ? dr(Hf(e)) : Ut(t) ? Uf(t) : dr(zf(lt(e)));
3011
+ function Ys(e, t) {
3012
+ return t === Ci ? pr(Hf(e)) : Ut(t) ? Uf(t) : pr(zf(lt(e)));
3013
3013
  }
3014
3014
  function Vf(e) {
3015
- var t = yn(Co(e)), n = ["absolute", "fixed"].indexOf(rt(e).position) >= 0, o = n && Pe(e) ? $n(e) : e;
3015
+ var t = yn(Ao(e)), n = ["absolute", "fixed"].indexOf(rt(e).position) >= 0, o = n && Pe(e) ? $n(e) : e;
3016
3016
  return Ut(o) ? t.filter(function(r) {
3017
- return Ut(r) && Ai(r, o) && Je(r) !== "body";
3017
+ return Ut(r) && $i(r, o) && Je(r) !== "body";
3018
3018
  }) : [];
3019
3019
  }
3020
3020
  function qf(e, t, n) {
3021
3021
  var o = t === "clippingParents" ? Vf(e) : [].concat(t), r = [].concat(o, [n]), s = r[0], a = r.reduce(function(i, c) {
3022
- var l = Xs(e, c);
3022
+ var l = Ys(e, c);
3023
3023
  return i.top = yt(l.top, i.top), i.right = ho(l.right, i.right), i.bottom = ho(l.bottom, i.bottom), i.left = yt(l.left, i.left), i;
3024
- }, Xs(e, s));
3024
+ }, Ys(e, s));
3025
3025
  return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
3026
3026
  }
3027
- function Fi(e) {
3027
+ function ji(e) {
3028
3028
  var t = e.reference, n = e.element, o = e.placement, r = o ? We(o) : null, s = o ? Wt(o) : null, a = t.x + t.width / 2 - n.width / 2, i = t.y + t.height / 2 - n.height / 2, c;
3029
3029
  switch (r) {
3030
3030
  case _e:
@@ -3042,7 +3042,7 @@ function Fi(e) {
3042
3042
  default:
3043
3043
  c = { x: t.x, y: t.y };
3044
3044
  }
3045
- var l = r ? qr(r) : null;
3045
+ var l = r ? Wr(r) : null;
3046
3046
  if (l != null) {
3047
3047
  var u = l === "y" ? "height" : "width";
3048
3048
  switch (s) {
@@ -3058,7 +3058,7 @@ function Fi(e) {
3058
3058
  }
3059
3059
  function Tn(e, t) {
3060
3060
  t === void 0 && (t = {});
3061
- var n = t, o = n.placement, r = o === void 0 ? e.placement : o, s = n.boundary, a = s === void 0 ? hf : s, i = n.rootBoundary, c = i === void 0 ? Pi : i, l = n.elementContext, u = l === void 0 ? pn : l, d = n.altBoundary, p = d === void 0 ? !1 : d, g = n.padding, f = g === void 0 ? 0 : g, h = Mi(typeof f != "number" ? f : Ii(f, An)), b = u === pn ? mf : pn, v = e.rects.popper, S = e.elements[p ? b : u], O = qf(Ut(S) ? S : S.contextElement || lt(e.elements.popper), a, c), $ = qt(e.elements.reference), P = Fi({ reference: $, element: v, strategy: "absolute", placement: r }), I = dr(Object.assign({}, v, P)), y = u === pn ? I : $, L = { top: O.top - y.top + h.top, bottom: y.bottom - O.bottom + h.bottom, left: O.left - y.left + h.left, right: y.right - O.right + h.right }, z = e.modifiersData.offset;
3061
+ var n = t, o = n.placement, r = o === void 0 ? e.placement : o, s = n.boundary, a = s === void 0 ? hf : s, i = n.rootBoundary, c = i === void 0 ? Ci : i, l = n.elementContext, u = l === void 0 ? pn : l, d = n.altBoundary, p = d === void 0 ? !1 : d, g = n.padding, f = g === void 0 ? 0 : g, h = Mi(typeof f != "number" ? f : Ri(f, An)), b = u === pn ? mf : pn, v = e.rects.popper, S = e.elements[p ? b : u], O = qf(Ut(S) ? S : S.contextElement || lt(e.elements.popper), a, c), $ = qt(e.elements.reference), P = ji({ reference: $, element: v, strategy: "absolute", placement: r }), M = pr(Object.assign({}, v, P)), y = u === pn ? M : $, L = { top: O.top - y.top + h.top, bottom: y.bottom - O.bottom + h.bottom, left: O.left - y.left + h.left, right: y.right - O.right + h.right }, z = e.modifiersData.offset;
3062
3062
  if (u === pn && z) {
3063
3063
  var k = z[r];
3064
3064
  Object.keys(L).forEach(function(_) {
@@ -3070,7 +3070,7 @@ function Tn(e, t) {
3070
3070
  }
3071
3071
  function Wf(e, t) {
3072
3072
  t === void 0 && (t = {});
3073
- 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 ? zr : c, u = Wt(o), d = u ? i ? Gs : Gs.filter(function(f) {
3073
+ 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 ? Ur : c, u = Wt(o), d = u ? i ? Ks : Ks.filter(function(f) {
3074
3074
  return Wt(f) === u;
3075
3075
  }) : An, p = d.filter(function(f) {
3076
3076
  return l.indexOf(f) >= 0;
@@ -3084,19 +3084,19 @@ function Wf(e, t) {
3084
3084
  });
3085
3085
  }
3086
3086
  function Gf(e) {
3087
- if (We(e) === Hr)
3087
+ if (We(e) === zr)
3088
3088
  return [];
3089
3089
  var t = so(e);
3090
- return [Zs(e), t, Zs(t)];
3090
+ return [Xs(e), t, Xs(t)];
3091
3091
  }
3092
3092
  function Kf(e) {
3093
3093
  var t = e.state, n = e.options, o = e.name;
3094
3094
  if (!t.modifiersData[o]._skip) {
3095
3095
  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, p = n.altBoundary, g = n.flipVariations, f = g === void 0 ? !0 : g, h = n.allowedAutoPlacements, b = t.options.placement, v = We(b), S = v === b, O = c || (S || !f ? [so(b)] : Gf(b)), $ = [b].concat(O).reduce(function(ct, Qe) {
3096
- return ct.concat(We(Qe) === Hr ? Wf(t, { placement: Qe, boundary: u, rootBoundary: d, padding: l, flipVariations: f, allowedAutoPlacements: h }) : Qe);
3097
- }, []), P = t.rects.reference, I = t.rects.popper, y = /* @__PURE__ */ new Map(), L = !0, z = $[0], k = 0; k < $.length; k++) {
3096
+ return ct.concat(We(Qe) === zr ? Wf(t, { placement: Qe, boundary: u, rootBoundary: d, padding: l, flipVariations: f, allowedAutoPlacements: h }) : Qe);
3097
+ }, []), P = t.rects.reference, M = t.rects.popper, y = /* @__PURE__ */ new Map(), L = !0, z = $[0], k = 0; k < $.length; k++) {
3098
3098
  var _ = $[k], x = We(_), R = Wt(_) === zt, U = [_e, Ae].indexOf(x) >= 0, q = U ? "width" : "height", H = Tn(t, { placement: _, boundary: u, rootBoundary: d, altBoundary: p, padding: l }), C = U ? R ? $e : we : R ? Ae : _e;
3099
- P[q] > I[q] && (C = so(C));
3099
+ P[q] > M[q] && (C = so(C));
3100
3100
  var j = so(C), J = [];
3101
3101
  if (s && J.push(H[x] <= 0), i && J.push(H[C] <= 0, H[j] <= 0), J.every(function(ct) {
3102
3102
  return ct;
@@ -3126,16 +3126,16 @@ function Kf(e) {
3126
3126
  }
3127
3127
  }
3128
3128
  var Jf = { name: "flip", enabled: !0, phase: "main", fn: Kf, requiresIfExists: ["offset"], data: { _skip: !1 } };
3129
- function Ys(e, t, n) {
3129
+ function Qs(e, t, n) {
3130
3130
  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 };
3131
3131
  }
3132
- function Qs(e) {
3132
+ function ea(e) {
3133
3133
  return [_e, $e, Ae, we].some(function(t) {
3134
3134
  return e[t] >= 0;
3135
3135
  });
3136
3136
  }
3137
3137
  function Zf(e) {
3138
- var t = e.state, n = e.name, o = t.rects.reference, r = t.rects.popper, s = t.modifiersData.preventOverflow, a = Tn(t, { elementContext: "reference" }), i = Tn(t, { altBoundary: !0 }), c = Ys(a, o), l = Ys(i, r, s), u = Qs(c), d = Qs(l);
3138
+ var t = e.state, n = e.name, o = t.rects.reference, r = t.rects.popper, s = t.modifiersData.preventOverflow, a = Tn(t, { elementContext: "reference" }), i = Tn(t, { altBoundary: !0 }), c = Qs(a, o), l = Qs(i, r, s), u = ea(c), d = ea(l);
3139
3139
  t.modifiersData[n] = { referenceClippingOffsets: c, popperEscapeOffsets: l, isReferenceHidden: u, hasPopperEscaped: d }, t.attributes.popper = Object.assign({}, t.attributes.popper, { "data-popper-reference-hidden": u, "data-popper-escaped": d });
3140
3140
  }
3141
3141
  var Xf = { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: Zf };
@@ -3144,7 +3144,7 @@ function Yf(e, t, n) {
3144
3144
  return a = a || 0, i = (i || 0) * r, [we, $e].indexOf(o) >= 0 ? { x: i, y: a } : { x: a, y: i };
3145
3145
  }
3146
3146
  function Qf(e) {
3147
- var t = e.state, n = e.options, o = e.name, r = n.offset, s = r === void 0 ? [0, 0] : r, a = zr.reduce(function(u, d) {
3147
+ var t = e.state, n = e.options, o = e.name, r = n.offset, s = r === void 0 ? [0, 0] : r, a = Ur.reduce(function(u, d) {
3148
3148
  return u[d] = Yf(d, t.rects, s), u;
3149
3149
  }, {}), i = a[t.placement], c = i.x, l = i.y;
3150
3150
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += l), t.modifiersData[o] = a;
@@ -3152,22 +3152,22 @@ function Qf(e) {
3152
3152
  var eh = { name: "offset", enabled: !0, phase: "main", requires: ["popperOffsets"], fn: Qf };
3153
3153
  function th(e) {
3154
3154
  var t = e.state, n = e.name;
3155
- t.modifiersData[n] = Fi({ reference: t.rects.reference, element: t.rects.popper, strategy: "absolute", placement: t.placement });
3155
+ t.modifiersData[n] = ji({ reference: t.rects.reference, element: t.rects.popper, strategy: "absolute", placement: t.placement });
3156
3156
  }
3157
- var ji = { name: "popperOffsets", enabled: !0, phase: "read", fn: th, data: {} };
3157
+ var Di = { name: "popperOffsets", enabled: !0, phase: "read", fn: th, data: {} };
3158
3158
  function nh(e) {
3159
3159
  return e === "x" ? "y" : "x";
3160
3160
  }
3161
3161
  function oh(e) {
3162
- 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, p = n.tether, g = p === void 0 ? !0 : p, f = n.tetherOffset, h = f === void 0 ? 0 : f, b = Tn(t, { boundary: c, rootBoundary: l, padding: d, altBoundary: u }), v = We(t.placement), S = Wt(t.placement), O = !S, $ = qr(v), P = nh($), I = t.modifiersData.popperOffsets, y = t.rects.reference, L = t.rects.popper, z = typeof h == "function" ? h(Object.assign({}, t.rects, { placement: t.placement })) : h, k = typeof z == "number" ? { mainAxis: z, altAxis: z } : Object.assign({ mainAxis: 0, altAxis: 0 }, z), _ = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, x = { x: 0, y: 0 };
3163
- if (I) {
3162
+ 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, p = n.tether, g = p === void 0 ? !0 : p, f = n.tetherOffset, h = f === void 0 ? 0 : f, b = Tn(t, { boundary: c, rootBoundary: l, padding: d, altBoundary: u }), v = We(t.placement), S = Wt(t.placement), O = !S, $ = Wr(v), P = nh($), M = t.modifiersData.popperOffsets, y = t.rects.reference, L = t.rects.popper, z = typeof h == "function" ? h(Object.assign({}, t.rects, { placement: t.placement })) : h, k = typeof z == "number" ? { mainAxis: z, altAxis: z } : Object.assign({ mainAxis: 0, altAxis: 0 }, z), _ = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, x = { x: 0, y: 0 };
3163
+ if (M) {
3164
3164
  if (s) {
3165
- var R, U = $ === "y" ? _e : we, q = $ === "y" ? Ae : $e, H = $ === "y" ? "height" : "width", C = I[$], j = C + b[U], J = C - b[q], oe = g ? -L[H] / 2 : 0, Ye = S === zt ? y[H] : L[H], Te = S === zt ? -L[H] : -y[H], Rn = t.elements.arrow, ct = g && Rn ? Vr(Rn) : { width: 0, height: 0 }, Qe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : $i(), Nn = Qe[U], an = Qe[q], Nt = bn(0, y[H], ct[H]), Vl = O ? y[H] / 2 - oe - Nt - Nn - k.mainAxis : Ye - Nt - Nn - k.mainAxis, ql = O ? -y[H] / 2 + oe + Nt + an + k.mainAxis : Te + Nt + an + k.mainAxis, Ro = t.elements.arrow && $n(t.elements.arrow), Wl = Ro ? $ === "y" ? Ro.clientTop || 0 : Ro.clientLeft || 0 : 0, as = (R = _ == null ? void 0 : _[$]) != null ? R : 0, Gl = C + Vl - as - Wl, Kl = C + ql - as, is = bn(g ? ho(j, Gl) : j, C, g ? yt(J, Kl) : J);
3166
- I[$] = is, x[$] = is - C;
3165
+ var R, U = $ === "y" ? _e : we, q = $ === "y" ? Ae : $e, H = $ === "y" ? "height" : "width", C = M[$], j = C + b[U], J = C - b[q], oe = g ? -L[H] / 2 : 0, Ye = S === zt ? y[H] : L[H], Te = S === zt ? -L[H] : -y[H], Rn = t.elements.arrow, ct = g && Rn ? qr(Rn) : { width: 0, height: 0 }, Qe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ii(), Nn = Qe[U], an = Qe[q], Nt = bn(0, y[H], ct[H]), Vl = O ? y[H] / 2 - oe - Nt - Nn - k.mainAxis : Ye - Nt - Nn - k.mainAxis, ql = O ? -y[H] / 2 + oe + Nt + an + k.mainAxis : Te + Nt + an + k.mainAxis, No = t.elements.arrow && $n(t.elements.arrow), Wl = No ? $ === "y" ? No.clientTop || 0 : No.clientLeft || 0 : 0, is = (R = _ == null ? void 0 : _[$]) != null ? R : 0, Gl = C + Vl - is - Wl, Kl = C + ql - is, ls = bn(g ? ho(j, Gl) : j, C, g ? yt(J, Kl) : J);
3166
+ M[$] = ls, x[$] = ls - C;
3167
3167
  }
3168
3168
  if (i) {
3169
- var ls, Jl = $ === "x" ? _e : we, Zl = $ === "x" ? Ae : $e, ut = I[P], Ln = P === "y" ? "height" : "width", cs = ut + b[Jl], us = ut - b[Zl], No = [_e, we].indexOf(v) !== -1, ds = (ls = _ == null ? void 0 : _[P]) != null ? ls : 0, ps = No ? cs : ut - y[Ln] - L[Ln] - ds + k.altAxis, fs = No ? ut + y[Ln] + L[Ln] - ds - k.altAxis : us, hs = g && No ? Af(ps, ut, fs) : bn(g ? ps : cs, ut, g ? fs : us);
3170
- I[P] = hs, x[P] = hs - ut;
3169
+ var cs, Jl = $ === "x" ? _e : we, Zl = $ === "x" ? Ae : $e, ut = M[P], Ln = P === "y" ? "height" : "width", us = ut + b[Jl], ds = ut - b[Zl], Lo = [_e, we].indexOf(v) !== -1, ps = (cs = _ == null ? void 0 : _[P]) != null ? cs : 0, fs = Lo ? us : ut - y[Ln] - L[Ln] - ps + k.altAxis, hs = Lo ? ut + y[Ln] + L[Ln] - ps - k.altAxis : ds, ms = g && Lo ? Af(fs, ut, hs) : bn(g ? fs : us, ut, g ? hs : ds);
3170
+ M[P] = ms, x[P] = ms - ut;
3171
3171
  }
3172
3172
  t.modifiersData[o] = x;
3173
3173
  }
@@ -3177,7 +3177,7 @@ function sh(e) {
3177
3177
  return { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop };
3178
3178
  }
3179
3179
  function ah(e) {
3180
- return e === He(e) || !Pe(e) ? Wr(e) : sh(e);
3180
+ return e === He(e) || !Pe(e) ? Gr(e) : sh(e);
3181
3181
  }
3182
3182
  function ih(e) {
3183
3183
  var t = e.getBoundingClientRect(), n = Vt(t.width) / e.offsetWidth || 1, o = Vt(t.height) / e.offsetHeight || 1;
@@ -3186,7 +3186,7 @@ function ih(e) {
3186
3186
  function lh(e, t, n) {
3187
3187
  n === void 0 && (n = !1);
3188
3188
  var o = Pe(t), r = Pe(t) && ih(t), s = lt(t), a = qt(e, r), i = { scrollLeft: 0, scrollTop: 0 }, c = { x: 0, y: 0 };
3189
- return (o || !o && !n) && ((Je(t) !== "body" || Kr(s)) && (i = ah(t)), Pe(t) ? (c = qt(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : s && (c.x = Gr(s))), { x: a.left + i.scrollLeft - c.x, y: a.top + i.scrollTop - c.y, width: a.width, height: a.height };
3189
+ return (o || !o && !n) && ((Je(t) !== "body" || Jr(s)) && (i = ah(t)), Pe(t) ? (c = qt(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : s && (c.x = Kr(s))), { x: a.left + i.scrollLeft - c.x, y: a.top + i.scrollTop - c.y, width: a.width, height: a.height };
3190
3190
  }
3191
3191
  function ch(e) {
3192
3192
  var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), o = [];
@@ -3234,20 +3234,20 @@ function ph(e) {
3234
3234
  return t[n];
3235
3235
  });
3236
3236
  }
3237
- var ea = { placement: "bottom", modifiers: [], strategy: "absolute" };
3238
- function ta() {
3237
+ var ta = { placement: "bottom", modifiers: [], strategy: "absolute" };
3238
+ function na() {
3239
3239
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
3240
3240
  t[n] = arguments[n];
3241
3241
  return !t.some(function(o) {
3242
3242
  return !(o && typeof o.getBoundingClientRect == "function");
3243
3243
  });
3244
3244
  }
3245
- function Jr(e) {
3245
+ function Zr(e) {
3246
3246
  e === void 0 && (e = {});
3247
- var t = e, n = t.defaultModifiers, o = n === void 0 ? [] : n, r = t.defaultOptions, s = r === void 0 ? ea : r;
3247
+ var t = e, n = t.defaultModifiers, o = n === void 0 ? [] : n, r = t.defaultOptions, s = r === void 0 ? ta : r;
3248
3248
  return function(a, i, c) {
3249
3249
  c === void 0 && (c = s);
3250
- var l = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, ea, s), modifiersData: {}, elements: { reference: a, popper: i }, attributes: {}, styles: {} }, u = [], d = !1, p = { state: l, setOptions: function(h) {
3250
+ var l = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, ta, s), modifiersData: {}, elements: { reference: a, popper: i }, attributes: {}, styles: {} }, u = [], d = !1, p = { state: l, setOptions: function(h) {
3251
3251
  var b = typeof h == "function" ? h(l.options) : h;
3252
3252
  f(), l.options = Object.assign({}, s, l.options, b), l.scrollParents = { reference: Ut(a) ? yn(a) : a.contextElement ? yn(a.contextElement) : [], popper: yn(i) };
3253
3253
  var v = uh(ph([].concat(o, l.options.modifiers)));
@@ -3257,8 +3257,8 @@ function Jr(e) {
3257
3257
  }, forceUpdate: function() {
3258
3258
  if (!d) {
3259
3259
  var h = l.elements, b = h.reference, v = h.popper;
3260
- if (ta(b, v)) {
3261
- l.rects = { reference: lh(b, $n(v), l.options.strategy === "fixed"), popper: Vr(v) }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(L) {
3260
+ if (na(b, v)) {
3261
+ l.rects = { reference: lh(b, $n(v), l.options.strategy === "fixed"), popper: qr(v) }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(L) {
3262
3262
  return l.modifiersData[L.name] = Object.assign({}, L.data);
3263
3263
  });
3264
3264
  for (var S = 0; S < l.orderedModifiers.length; S++) {
@@ -3266,8 +3266,8 @@ function Jr(e) {
3266
3266
  l.reset = !1, S = -1;
3267
3267
  continue;
3268
3268
  }
3269
- var O = l.orderedModifiers[S], $ = O.fn, P = O.options, I = P === void 0 ? {} : P, y = O.name;
3270
- typeof $ == "function" && (l = $({ state: l, options: I, name: y, instance: p }) || l);
3269
+ var O = l.orderedModifiers[S], $ = O.fn, P = O.options, M = P === void 0 ? {} : P, y = O.name;
3270
+ typeof $ == "function" && (l = $({ state: l, options: M, name: y, instance: p }) || l);
3271
3271
  }
3272
3272
  }
3273
3273
  }
@@ -3278,7 +3278,7 @@ function Jr(e) {
3278
3278
  }), destroy: function() {
3279
3279
  f(), d = !0;
3280
3280
  } };
3281
- if (!ta(a, i))
3281
+ if (!na(a, i))
3282
3282
  return p;
3283
3283
  p.setOptions(c).then(function(h) {
3284
3284
  !d && c.onFirstUpdate && c.onFirstUpdate(h);
@@ -3301,10 +3301,10 @@ function Jr(e) {
3301
3301
  return p;
3302
3302
  };
3303
3303
  }
3304
- Jr();
3305
- var fh = [Ni, ji, Ri, Ci];
3306
- Jr({ defaultModifiers: fh });
3307
- var hh = [Ni, ji, Ri, Ci, eh, Jf, rh, Rf, Xf], mh = Jr({ defaultModifiers: hh });
3304
+ Zr();
3305
+ var fh = [Li, Di, Ni, Ai];
3306
+ Zr({ defaultModifiers: fh });
3307
+ var hh = [Li, Di, Ni, Ai, eh, Jf, rh, Rf, Xf], mh = Zr({ defaultModifiers: hh });
3308
3308
  const gh = (e, t, n = {}) => {
3309
3309
  const o = {
3310
3310
  name: "updateState",
@@ -3327,7 +3327,7 @@ const gh = (e, t, n = {}) => {
3327
3327
  { name: "applyStyles", enabled: !1 }
3328
3328
  ]
3329
3329
  };
3330
- }), s = Sr(), a = M({
3330
+ }), s = kr(), a = I({
3331
3331
  styles: {
3332
3332
  popper: {
3333
3333
  position: w(r).strategy,
@@ -3370,49 +3370,49 @@ const gh = (e, t, n = {}) => {
3370
3370
  };
3371
3371
  };
3372
3372
  function vh(e) {
3373
- const t = Object.keys(e.elements), n = ur(t.map((r) => [r, e.styles[r] || {}])), o = ur(t.map((r) => [r, e.attributes[r]]));
3373
+ const t = Object.keys(e.elements), n = dr(t.map((r) => [r, e.styles[r] || {}])), o = dr(t.map((r) => [r, e.attributes[r]]));
3374
3374
  return {
3375
3375
  styles: n,
3376
3376
  attributes: o
3377
3377
  };
3378
3378
  }
3379
- function na() {
3379
+ function oa() {
3380
3380
  let e;
3381
3381
  const t = (o, r) => {
3382
3382
  n(), e = window.setTimeout(o, r);
3383
3383
  }, n = () => window.clearTimeout(e);
3384
- return ko(() => n()), {
3384
+ return To(() => n()), {
3385
3385
  registerTimeout: t,
3386
3386
  cancelTimeout: n
3387
3387
  };
3388
3388
  }
3389
- const pr = {
3389
+ const fr = {
3390
3390
  prefix: Math.floor(Math.random() * 1e4),
3391
3391
  current: 0
3392
- }, bh = Symbol("elIdInjection"), Di = () => De() ? X(bh, pr) : pr, yh = (e) => {
3393
- const t = Di();
3394
- !ve && t === pr && St("IdInjection", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
3392
+ }, bh = Symbol("elIdInjection"), Bi = () => De() ? X(bh, fr) : fr, yh = (e) => {
3393
+ const t = Bi();
3394
+ !ve && t === fr && St("IdInjection", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
3395
3395
  usage: app.provide(ID_INJECTION_KEY, {
3396
3396
  prefix: number,
3397
3397
  current: number,
3398
3398
  })`);
3399
- const n = Br();
3399
+ const n = Hr();
3400
3400
  return T(() => w(e) || `${n.value}-id-${t.prefix}-${t.current++}`);
3401
3401
  };
3402
3402
  let jt = [];
3403
- const oa = (e) => {
3403
+ const ra = (e) => {
3404
3404
  const t = e;
3405
3405
  t.key === ge.esc && jt.forEach((n) => n(t));
3406
3406
  }, _h = (e) => {
3407
3407
  ee(() => {
3408
- jt.length === 0 && document.addEventListener("keydown", oa), ve && jt.push(e);
3408
+ jt.length === 0 && document.addEventListener("keydown", ra), ve && jt.push(e);
3409
3409
  }), Ze(() => {
3410
- jt = jt.filter((t) => t !== e), jt.length === 0 && ve && document.removeEventListener("keydown", oa);
3410
+ jt = jt.filter((t) => t !== e), jt.length === 0 && ve && document.removeEventListener("keydown", ra);
3411
3411
  });
3412
3412
  };
3413
- let ra;
3414
- const Bi = () => {
3415
- const e = Br(), t = Di(), n = T(() => `${e.value}-popper-container-${t.prefix}`), o = T(() => `#${n.value}`);
3413
+ let sa;
3414
+ const Hi = () => {
3415
+ const e = Hr(), t = Bi(), n = T(() => `${e.value}-popper-container-${t.prefix}`), o = T(() => `#${n.value}`);
3416
3416
  return {
3417
3417
  id: n,
3418
3418
  selector: o
@@ -3421,9 +3421,9 @@ const Bi = () => {
3421
3421
  const t = document.createElement("div");
3422
3422
  return t.id = e, document.body.appendChild(t), t;
3423
3423
  }, xh = () => {
3424
- const { id: e, selector: t } = Bi();
3424
+ const { id: e, selector: t } = Hi();
3425
3425
  return Yl(() => {
3426
- ve && (process.env.NODE_ENV === "test" || !ra && !document.body.querySelector(t.value)) && (ra = wh(e.value));
3426
+ ve && (process.env.NODE_ENV === "test" || !sa && !document.body.querySelector(t.value)) && (sa = wh(e.value));
3427
3427
  }), {
3428
3428
  id: e,
3429
3429
  selector: t
@@ -3448,10 +3448,10 @@ const Bi = () => {
3448
3448
  open: o,
3449
3449
  close: r
3450
3450
  }) => {
3451
- const { registerTimeout: s } = na(), {
3451
+ const { registerTimeout: s } = oa(), {
3452
3452
  registerTimeout: a,
3453
3453
  cancelTimeout: i
3454
- } = na();
3454
+ } = oa();
3455
3455
  return {
3456
3456
  onOpen: (u) => {
3457
3457
  s(() => {
@@ -3468,8 +3468,8 @@ const Bi = () => {
3468
3468
  }, w(t));
3469
3469
  }
3470
3470
  };
3471
- }, Hi = Symbol("elForwardRef"), kh = (e) => {
3472
- se(Hi, {
3471
+ }, zi = Symbol("elForwardRef"), kh = (e) => {
3472
+ se(zi, {
3473
3473
  setForwardRef: (n) => {
3474
3474
  e.value = n;
3475
3475
  }
@@ -3484,52 +3484,52 @@ const Bi = () => {
3484
3484
  unmounted() {
3485
3485
  e(null);
3486
3486
  }
3487
- }), sa = M(0), zi = 2e3, Ui = Symbol("zIndexContextKey"), Vi = (e) => {
3488
- const t = e || (De() ? X(Ui, void 0) : void 0), n = T(() => {
3487
+ }), aa = I(0), Ui = 2e3, Vi = Symbol("zIndexContextKey"), qi = (e) => {
3488
+ const t = e || (De() ? X(Vi, void 0) : void 0), n = T(() => {
3489
3489
  const s = w(t);
3490
- return Ke(s) ? s : zi;
3491
- }), o = T(() => n.value + sa.value);
3490
+ return Ke(s) ? s : Ui;
3491
+ }), o = T(() => n.value + aa.value);
3492
3492
  return {
3493
3493
  initialZIndex: n,
3494
3494
  currentZIndex: o,
3495
- nextZIndex: () => (sa.value++, o.value)
3495
+ nextZIndex: () => (aa.value++, o.value)
3496
3496
  };
3497
- }, Oh = Po({
3497
+ }, Oh = Co({
3498
3498
  type: String,
3499
3499
  values: of,
3500
3500
  required: !1
3501
- }), Ph = Symbol("size"), qi = Symbol(), mo = M();
3502
- function Wi(e, t = void 0) {
3503
- const n = De() ? X(qi, mo) : mo;
3501
+ }), Ph = Symbol("size"), Wi = Symbol(), mo = I();
3502
+ function Gi(e, t = void 0) {
3503
+ const n = De() ? X(Wi, mo) : mo;
3504
3504
  return e ? T(() => {
3505
3505
  var o, r;
3506
3506
  return (r = (o = n.value) == null ? void 0 : o[e]) != null ? r : t;
3507
3507
  }) : n;
3508
3508
  }
3509
- function Gi(e, t) {
3510
- const n = Wi(), o = le(e, T(() => {
3509
+ function Ki(e, t) {
3510
+ const n = Gi(), o = le(e, T(() => {
3511
3511
  var i;
3512
3512
  return ((i = n.value) == null ? void 0 : i.namespace) || ro;
3513
3513
  })), r = uf(T(() => {
3514
3514
  var i;
3515
3515
  return (i = n.value) == null ? void 0 : i.locale;
3516
- })), s = Vi(T(() => {
3516
+ })), s = qi(T(() => {
3517
3517
  var i;
3518
- return ((i = n.value) == null ? void 0 : i.zIndex) || zi;
3518
+ return ((i = n.value) == null ? void 0 : i.zIndex) || Ui;
3519
3519
  })), a = T(() => {
3520
3520
  var i;
3521
3521
  return w(t) || ((i = n.value) == null ? void 0 : i.size) || "";
3522
3522
  });
3523
- return Ki(T(() => w(n) || {})), {
3523
+ return Ji(T(() => w(n) || {})), {
3524
3524
  ns: o,
3525
3525
  locale: r,
3526
3526
  zIndex: s,
3527
3527
  size: a
3528
3528
  };
3529
3529
  }
3530
- const Ki = (e, t, n = !1) => {
3530
+ const Ji = (e, t, n = !1) => {
3531
3531
  var o;
3532
- const r = !!De(), s = r ? Wi() : void 0, a = (o = t == null ? void 0 : t.provide) != null ? o : r ? se : void 0;
3532
+ const r = !!De(), s = r ? Gi() : void 0, a = (o = t == null ? void 0 : t.provide) != null ? o : r ? se : void 0;
3533
3533
  if (!a) {
3534
3534
  St("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
3535
3535
  return;
@@ -3538,12 +3538,12 @@ const Ki = (e, t, n = !1) => {
3538
3538
  const c = w(e);
3539
3539
  return s != null && s.value ? Ch(s.value, c) : c;
3540
3540
  });
3541
- return a(qi, i), a(ki, T(() => i.value.locale)), a(Ti, T(() => i.value.namespace)), a(Ui, T(() => i.value.zIndex)), a(Ph, {
3541
+ return a(Wi, i), a(Ti, T(() => i.value.locale)), a(Oi, T(() => i.value.namespace)), a(Vi, T(() => i.value.zIndex)), a(Ph, {
3542
3542
  size: T(() => i.value.size || "")
3543
3543
  }), (n || !mo.value) && (mo.value = i.value), i;
3544
3544
  }, Ch = (e, t) => {
3545
3545
  var n;
3546
- const o = [.../* @__PURE__ */ new Set([...qs(e), ...qs(t)])], r = {};
3546
+ const o = [.../* @__PURE__ */ new Set([...Ws(e), ...Ws(t)])], r = {};
3547
3547
  for (const s of o)
3548
3548
  r[s] = (n = t[s]) != null ? n : e[s];
3549
3549
  return r;
@@ -3574,15 +3574,15 @@ const Ki = (e, t, n = !1) => {
3574
3574
  type: String,
3575
3575
  default: "el"
3576
3576
  }
3577
- }), fr = {};
3577
+ }), hr = {};
3578
3578
  B({
3579
3579
  name: "ElConfigProvider",
3580
3580
  props: Ah,
3581
3581
  setup(e, { slots: t }) {
3582
3582
  Z(() => e.message, (o) => {
3583
- Object.assign(fr, o ?? {});
3583
+ Object.assign(hr, o ?? {});
3584
3584
  }, { immediate: !0, deep: !0 });
3585
- const n = Ki(e);
3585
+ const n = Ji(e);
3586
3586
  return () => ne(t, "default", { config: n == null ? void 0 : n.value });
3587
3587
  }
3588
3588
  });
@@ -3599,11 +3599,11 @@ const $h = ue({
3599
3599
  color: {
3600
3600
  type: String
3601
3601
  }
3602
- }), Mh = B({
3602
+ }), Ih = B({
3603
3603
  name: "ElIcon",
3604
3604
  inheritAttrs: !1
3605
- }), Ih = /* @__PURE__ */ B({
3606
- ...Mh,
3605
+ }), Mh = /* @__PURE__ */ B({
3606
+ ...Ih,
3607
3607
  props: $h,
3608
3608
  setup(e) {
3609
3609
  const t = e, n = le("icon"), o = T(() => {
@@ -3621,8 +3621,8 @@ const $h = ue({
3621
3621
  ], 16));
3622
3622
  }
3623
3623
  });
3624
- var Rh = /* @__PURE__ */ pe(Ih, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);
3625
- const go = Mt(Rh), aa = Symbol("formItemContextKey"), Zr = Symbol("popper"), Ji = Symbol("popperContent"), Nh = [
3624
+ var Rh = /* @__PURE__ */ pe(Mh, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);
3625
+ const go = It(Rh), ia = Symbol("formItemContextKey"), Xr = Symbol("popper"), Zi = Symbol("popperContent"), Nh = [
3626
3626
  "dialog",
3627
3627
  "grid",
3628
3628
  "group",
@@ -3631,7 +3631,7 @@ const go = Mt(Rh), aa = Symbol("formItemContextKey"), Zr = Symbol("popper"), Ji
3631
3631
  "navigation",
3632
3632
  "tooltip",
3633
3633
  "tree"
3634
- ], Zi = ue({
3634
+ ], Xi = ue({
3635
3635
  role: {
3636
3636
  type: String,
3637
3637
  values: Nh,
@@ -3642,20 +3642,20 @@ const go = Mt(Rh), aa = Symbol("formItemContextKey"), Zr = Symbol("popper"), Ji
3642
3642
  inheritAttrs: !1
3643
3643
  }), Fh = /* @__PURE__ */ B({
3644
3644
  ...Lh,
3645
- props: Zi,
3645
+ props: Xi,
3646
3646
  setup(e, { expose: t }) {
3647
- const n = e, o = M(), r = M(), s = M(), a = M(), i = T(() => n.role), c = {
3647
+ const n = e, o = I(), r = I(), s = I(), a = I(), i = T(() => n.role), c = {
3648
3648
  triggerRef: o,
3649
3649
  popperInstanceRef: r,
3650
3650
  contentRef: s,
3651
3651
  referenceRef: a,
3652
3652
  role: i
3653
3653
  };
3654
- return t(c), se(Zr, c), (l, u) => ne(l.$slots, "default");
3654
+ return t(c), se(Xr, c), (l, u) => ne(l.$slots, "default");
3655
3655
  }
3656
3656
  });
3657
3657
  var jh = /* @__PURE__ */ pe(Fh, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);
3658
- const Xi = ue({
3658
+ const Yi = ue({
3659
3659
  arrowOffset: {
3660
3660
  type: Number,
3661
3661
  default: 5
@@ -3665,9 +3665,9 @@ const Xi = ue({
3665
3665
  inheritAttrs: !1
3666
3666
  }), Bh = /* @__PURE__ */ B({
3667
3667
  ...Dh,
3668
- props: Xi,
3668
+ props: Yi,
3669
3669
  setup(e, { expose: t }) {
3670
- const n = e, o = le("popper"), { arrowOffset: r, arrowRef: s, arrowStyle: a } = X(Ji, void 0);
3670
+ const n = e, o = le("popper"), { arrowOffset: r, arrowRef: s, arrowStyle: a } = X(Zi, void 0);
3671
3671
  return Z(() => n.arrowOffset, (i) => {
3672
3672
  r.value = i;
3673
3673
  }), Ze(() => {
@@ -3684,27 +3684,27 @@ const Xi = ue({
3684
3684
  }
3685
3685
  });
3686
3686
  var Hh = /* @__PURE__ */ pe(Bh, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);
3687
- const Vo = "ElOnlyChild", zh = B({
3688
- name: Vo,
3687
+ const qo = "ElOnlyChild", zh = B({
3688
+ name: qo,
3689
3689
  setup(e, {
3690
3690
  slots: t,
3691
3691
  attrs: n
3692
3692
  }) {
3693
3693
  var o;
3694
- const r = X(Hi), s = Th((o = r == null ? void 0 : r.setForwardRef) != null ? o : po);
3694
+ const r = X(zi), s = Th((o = r == null ? void 0 : r.setForwardRef) != null ? o : po);
3695
3695
  return () => {
3696
3696
  var a;
3697
3697
  const i = (a = t.default) == null ? void 0 : a.call(t, n);
3698
3698
  if (!i)
3699
3699
  return null;
3700
3700
  if (i.length > 1)
3701
- return St(Vo, "requires exact only one valid child."), null;
3702
- const c = Yi(i);
3703
- return c ? qe(La(c, n), [[s]]) : (St(Vo, "no valid child node found"), null);
3701
+ return St(qo, "requires exact only one valid child."), null;
3702
+ const c = Qi(i);
3703
+ return c ? qe(Fa(c, n), [[s]]) : (St(qo, "no valid child node found"), null);
3704
3704
  };
3705
3705
  }
3706
3706
  });
3707
- function Yi(e) {
3707
+ function Qi(e) {
3708
3708
  if (!e)
3709
3709
  return null;
3710
3710
  const t = e;
@@ -3715,23 +3715,23 @@ function Yi(e) {
3715
3715
  continue;
3716
3716
  case Ql:
3717
3717
  case "svg":
3718
- return ia(n);
3718
+ return la(n);
3719
3719
  case re:
3720
- return Yi(n.children);
3720
+ return Qi(n.children);
3721
3721
  default:
3722
3722
  return n;
3723
3723
  }
3724
- return ia(n);
3724
+ return la(n);
3725
3725
  }
3726
3726
  return null;
3727
3727
  }
3728
- function ia(e) {
3728
+ function la(e) {
3729
3729
  const t = le("only-child");
3730
3730
  return te("span", {
3731
3731
  class: t.e("content")
3732
3732
  }, [e]);
3733
3733
  }
3734
- const Qi = ue({
3734
+ const el = ue({
3735
3735
  virtualRef: {
3736
3736
  type: K(Object)
3737
3737
  },
@@ -3764,9 +3764,9 @@ const Qi = ue({
3764
3764
  inheritAttrs: !1
3765
3765
  }), Vh = /* @__PURE__ */ B({
3766
3766
  ...Uh,
3767
- props: Qi,
3767
+ props: el,
3768
3768
  setup(e, { expose: t }) {
3769
- const n = e, { role: o, triggerRef: r } = X(Zr, void 0);
3769
+ const n = e, { role: o, triggerRef: r } = X(Xr, void 0);
3770
3770
  kh(r);
3771
3771
  const s = T(() => i.value ? n.id : void 0), a = T(() => {
3772
3772
  if (o && o.value === "tooltip")
@@ -3830,15 +3830,15 @@ const Qi = ue({
3830
3830
  }
3831
3831
  });
3832
3832
  var qh = /* @__PURE__ */ pe(Vh, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);
3833
- const qo = "focus-trap.focus-after-trapped", Wo = "focus-trap.focus-after-released", Wh = "focus-trap.focusout-prevented", la = {
3833
+ const Wo = "focus-trap.focus-after-trapped", Go = "focus-trap.focus-after-released", Wh = "focus-trap.focusout-prevented", ca = {
3834
3834
  cancelable: !0,
3835
3835
  bubbles: !1
3836
3836
  }, Gh = {
3837
3837
  cancelable: !0,
3838
3838
  bubbles: !1
3839
- }, ca = "focusAfterTrapped", ua = "focusAfterReleased", Kh = Symbol("elFocusTrap"), Xr = M(), Ao = M(0), Yr = M(0);
3839
+ }, ua = "focusAfterTrapped", da = "focusAfterReleased", Kh = Symbol("elFocusTrap"), Yr = I(), $o = I(0), Qr = I(0);
3840
3840
  let Bn = 0;
3841
- const el = (e) => {
3841
+ const tl = (e) => {
3842
3842
  const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
3843
3843
  acceptNode: (o) => {
3844
3844
  const r = o.tagName === "INPUT" && o.type === "hidden";
@@ -3848,7 +3848,7 @@ const el = (e) => {
3848
3848
  for (; n.nextNode(); )
3849
3849
  t.push(n.currentNode);
3850
3850
  return t;
3851
- }, da = (e, t) => {
3851
+ }, pa = (e, t) => {
3852
3852
  for (const n of e)
3853
3853
  if (!Jh(n, t))
3854
3854
  return n;
@@ -3866,15 +3866,15 @@ const el = (e) => {
3866
3866
  }
3867
3867
  return !1;
3868
3868
  }, Zh = (e) => {
3869
- const t = el(e), n = da(t, e), o = da(t.reverse(), e);
3869
+ const t = tl(e), n = pa(t, e), o = pa(t.reverse(), e);
3870
3870
  return [n, o];
3871
3871
  }, Xh = (e) => e instanceof HTMLInputElement && "select" in e, st = (e, t) => {
3872
3872
  if (e && e.focus) {
3873
3873
  const n = document.activeElement;
3874
- e.focus({ preventScroll: !0 }), Yr.value = window.performance.now(), e !== n && Xh(e) && t && e.select();
3874
+ e.focus({ preventScroll: !0 }), Qr.value = window.performance.now(), e !== n && Xh(e) && t && e.select();
3875
3875
  }
3876
3876
  };
3877
- function pa(e, t) {
3877
+ function fa(e, t) {
3878
3878
  const n = [...e], o = e.indexOf(t);
3879
3879
  return o !== -1 && n.splice(o, 1), n;
3880
3880
  }
@@ -3883,11 +3883,11 @@ const Yh = () => {
3883
3883
  return {
3884
3884
  push: (o) => {
3885
3885
  const r = e[0];
3886
- r && o !== r && r.pause(), e = pa(e, o), e.unshift(o);
3886
+ r && o !== r && r.pause(), e = fa(e, o), e.unshift(o);
3887
3887
  },
3888
3888
  remove: (o) => {
3889
3889
  var r, s;
3890
- e = pa(e, o), (s = (r = e[0]) == null ? void 0 : r.resume) == null || s.call(r);
3890
+ e = fa(e, o), (s = (r = e[0]) == null ? void 0 : r.resume) == null || s.call(r);
3891
3891
  }
3892
3892
  };
3893
3893
  }, Qh = (e, t = !1) => {
@@ -3895,18 +3895,18 @@ const Yh = () => {
3895
3895
  for (const o of e)
3896
3896
  if (st(o, t), document.activeElement !== n)
3897
3897
  return;
3898
- }, fa = Yh(), em = () => Ao.value > Yr.value, Hn = () => {
3899
- Xr.value = "pointer", Ao.value = window.performance.now();
3900
- }, ha = () => {
3901
- Xr.value = "keyboard", Ao.value = window.performance.now();
3898
+ }, ha = Yh(), em = () => $o.value > Qr.value, Hn = () => {
3899
+ Yr.value = "pointer", $o.value = window.performance.now();
3900
+ }, ma = () => {
3901
+ Yr.value = "keyboard", $o.value = window.performance.now();
3902
3902
  }, tm = () => (ee(() => {
3903
- Bn === 0 && (document.addEventListener("mousedown", Hn), document.addEventListener("touchstart", Hn), document.addEventListener("keydown", ha)), Bn++;
3903
+ Bn === 0 && (document.addEventListener("mousedown", Hn), document.addEventListener("touchstart", Hn), document.addEventListener("keydown", ma)), Bn++;
3904
3904
  }), Ze(() => {
3905
- Bn--, Bn <= 0 && (document.removeEventListener("mousedown", Hn), document.removeEventListener("touchstart", Hn), document.removeEventListener("keydown", ha));
3905
+ Bn--, Bn <= 0 && (document.removeEventListener("mousedown", Hn), document.removeEventListener("touchstart", Hn), document.removeEventListener("keydown", ma));
3906
3906
  }), {
3907
- focusReason: Xr,
3908
- lastUserFocusTimestamp: Ao,
3909
- lastAutomatedFocusTimestamp: Yr
3907
+ focusReason: Yr,
3908
+ lastUserFocusTimestamp: $o,
3909
+ lastAutomatedFocusTimestamp: Qr
3910
3910
  }), zn = (e) => new CustomEvent(Wh, {
3911
3911
  ...Gh,
3912
3912
  detail: e
@@ -3923,15 +3923,15 @@ const Yh = () => {
3923
3923
  }
3924
3924
  },
3925
3925
  emits: [
3926
- ca,
3927
3926
  ua,
3927
+ da,
3928
3928
  "focusin",
3929
3929
  "focusout",
3930
3930
  "focusout-prevented",
3931
3931
  "release-requested"
3932
3932
  ],
3933
3933
  setup(e, { emit: t }) {
3934
- const n = M();
3934
+ const n = I();
3935
3935
  let o, r;
3936
3936
  const { focusReason: s } = tm();
3937
3937
  _h((f) => {
@@ -3948,8 +3948,8 @@ const Yh = () => {
3948
3948
  }, i = (f) => {
3949
3949
  if (!e.loop && !e.trapped || a.paused)
3950
3950
  return;
3951
- const { key: h, altKey: b, ctrlKey: v, metaKey: S, currentTarget: O, shiftKey: $ } = f, { loop: P } = e, I = h === ge.tab && !b && !v && !S, y = document.activeElement;
3952
- if (I && y) {
3951
+ const { key: h, altKey: b, ctrlKey: v, metaKey: S, currentTarget: O, shiftKey: $ } = f, { loop: P } = e, M = h === ge.tab && !b && !v && !S, y = document.activeElement;
3952
+ if (M && y) {
3953
3953
  const L = O, [z, k] = Zh(L);
3954
3954
  if (z && k) {
3955
3955
  if (!$ && y === k) {
@@ -3980,8 +3980,8 @@ const Yh = () => {
3980
3980
  f && (f.addEventListener("keydown", i), f.addEventListener("focusin", u), f.addEventListener("focusout", d)), h && (h.removeEventListener("keydown", i), h.removeEventListener("focusin", u), h.removeEventListener("focusout", d));
3981
3981
  });
3982
3982
  const c = (f) => {
3983
- t(ca, f);
3984
- }, l = (f) => t(ua, f), u = (f) => {
3983
+ t(ua, f);
3984
+ }, l = (f) => t(da, f), u = (f) => {
3985
3985
  const h = w(n);
3986
3986
  if (!h)
3987
3987
  return;
@@ -4009,13 +4009,13 @@ const Yh = () => {
4009
4009
  await Ge();
4010
4010
  const f = w(n);
4011
4011
  if (f) {
4012
- fa.push(a);
4012
+ ha.push(a);
4013
4013
  const h = f.contains(document.activeElement) ? o : document.activeElement;
4014
4014
  if (o = h, !f.contains(h)) {
4015
- const v = new Event(qo, la);
4016
- f.addEventListener(qo, c), f.dispatchEvent(v), v.defaultPrevented || Ge(() => {
4015
+ const v = new Event(Wo, ca);
4016
+ f.addEventListener(Wo, c), f.dispatchEvent(v), v.defaultPrevented || Ge(() => {
4017
4017
  let S = e.focusStartEl;
4018
- ye(S) || (st(S), document.activeElement !== S && (S = "first")), S === "first" && Qh(el(f), !0), (document.activeElement === h || S === "container") && st(f);
4018
+ ye(S) || (st(S), document.activeElement !== S && (S = "first")), S === "first" && Qh(tl(f), !0), (document.activeElement === h || S === "container") && st(f);
4019
4019
  });
4020
4020
  }
4021
4021
  }
@@ -4023,14 +4023,14 @@ const Yh = () => {
4023
4023
  function g() {
4024
4024
  const f = w(n);
4025
4025
  if (f) {
4026
- f.removeEventListener(qo, c);
4027
- const h = new CustomEvent(Wo, {
4028
- ...la,
4026
+ f.removeEventListener(Wo, c);
4027
+ const h = new CustomEvent(Go, {
4028
+ ...ca,
4029
4029
  detail: {
4030
4030
  focusReason: s.value
4031
4031
  }
4032
4032
  });
4033
- f.addEventListener(Wo, l), f.dispatchEvent(h), !h.defaultPrevented && (s.value == "keyboard" || !em() || f.contains(document.activeElement)) && st(o ?? document.body), f.removeEventListener(Wo, l), fa.remove(a);
4033
+ f.addEventListener(Go, l), f.dispatchEvent(h), !h.defaultPrevented && (s.value == "keyboard" || !em() || f.contains(document.activeElement)) && st(o ?? document.body), f.removeEventListener(Go, l), ha.remove(a);
4034
4034
  }
4035
4035
  }
4036
4036
  return ee(() => {
@@ -4067,7 +4067,7 @@ const sm = ["fixed", "absolute"], am = ue({
4067
4067
  },
4068
4068
  placement: {
4069
4069
  type: String,
4070
- values: zr,
4070
+ values: Ur,
4071
4071
  default: "bottom"
4072
4072
  },
4073
4073
  popperOptions: {
@@ -4079,7 +4079,7 @@ const sm = ["fixed", "absolute"], am = ue({
4079
4079
  values: sm,
4080
4080
  default: "absolute"
4081
4081
  }
4082
- }), tl = ue({
4082
+ }), nl = ue({
4083
4083
  ...am,
4084
4084
  id: String,
4085
4085
  style: {
@@ -4185,7 +4185,7 @@ function dm(e, t) {
4185
4185
  t && (e.modifiers = [...e.modifiers, ...t ?? []]);
4186
4186
  }
4187
4187
  const pm = 0, fm = (e) => {
4188
- const { popperInstanceRef: t, contentRef: n, triggerRef: o, role: r } = X(Zr, void 0), s = M(), a = M(), i = T(() => ({
4188
+ const { popperInstanceRef: t, contentRef: n, triggerRef: o, role: r } = X(Xr, void 0), s = I(), a = I(), i = T(() => ({
4189
4189
  name: "eventListeners",
4190
4190
  enabled: !!e.visible
4191
4191
  })), c = T(() => {
@@ -4231,7 +4231,7 @@ const pm = 0, fm = (e) => {
4231
4231
  styles: n,
4232
4232
  role: o
4233
4233
  }) => {
4234
- const { nextZIndex: r } = Vi(), s = le("popper"), a = T(() => w(t).popper), i = M(Ke(e.zIndex) ? e.zIndex : r()), c = T(() => [
4234
+ const { nextZIndex: r } = qi(), s = le("popper"), a = T(() => w(t).popper), i = I(Ke(e.zIndex) ? e.zIndex : r()), c = T(() => [
4235
4235
  s.b(),
4236
4236
  s.is("pure", e.pure),
4237
4237
  s.is(e.effect),
@@ -4253,7 +4253,7 @@ const pm = 0, fm = (e) => {
4253
4253
  }
4254
4254
  };
4255
4255
  }, mm = (e, t) => {
4256
- const n = M(!1), o = M();
4256
+ const n = I(!1), o = I();
4257
4257
  return {
4258
4258
  focusStartRef: o,
4259
4259
  trapped: n,
@@ -4278,7 +4278,7 @@ const pm = 0, fm = (e) => {
4278
4278
  name: "ElPopperContent"
4279
4279
  }), vm = /* @__PURE__ */ B({
4280
4280
  ...gm,
4281
- props: tl,
4281
+ props: nl,
4282
4282
  emits: im,
4283
4283
  setup(e, { expose: t, emit: n }) {
4284
4284
  const o = e, {
@@ -4294,18 +4294,18 @@ const pm = 0, fm = (e) => {
4294
4294
  arrowStyle: O,
4295
4295
  contentAttrs: $,
4296
4296
  contentClass: P,
4297
- contentStyle: I,
4297
+ contentStyle: M,
4298
4298
  updateZIndex: y
4299
4299
  } = hm(o, {
4300
4300
  styles: f,
4301
4301
  attributes: d,
4302
4302
  role: b
4303
- }), L = X(aa, void 0), z = M();
4304
- se(Ji, {
4303
+ }), L = X(ia, void 0), z = I();
4304
+ se(Zi, {
4305
4305
  arrowStyle: O,
4306
4306
  arrowRef: p,
4307
4307
  arrowOffset: z
4308
- }), L && (L.addInputId || L.removeInputId) && se(aa, {
4308
+ }), L && (L.addInputId || L.removeInputId) && se(ia, {
4309
4309
  ...L,
4310
4310
  addInputId: po,
4311
4311
  removeInputId: po
@@ -4334,12 +4334,12 @@ const pm = 0, fm = (e) => {
4334
4334
  popperContentRef: g,
4335
4335
  popperInstanceRef: h,
4336
4336
  updatePopper: _,
4337
- contentStyle: I
4337
+ contentStyle: M
4338
4338
  }), (R, U) => (A(), N("div", Jt({
4339
4339
  ref_key: "contentRef",
4340
4340
  ref: g
4341
4341
  }, w($), {
4342
- style: w(I),
4342
+ style: w(M),
4343
4343
  class: w(P),
4344
4344
  tabindex: "-1",
4345
4345
  onMouseenter: U[0] || (U[0] = (q) => R.$emit("mouseenter", q)),
@@ -4365,9 +4365,9 @@ const pm = 0, fm = (e) => {
4365
4365
  }
4366
4366
  });
4367
4367
  var bm = /* @__PURE__ */ pe(vm, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);
4368
- const ym = Mt(jh), Qr = Symbol("elTooltip"), nl = ue({
4368
+ const ym = It(jh), es = Symbol("elTooltip"), ol = ue({
4369
4369
  ...Eh,
4370
- ...tl,
4370
+ ...nl,
4371
4371
  appendTo: {
4372
4372
  type: K([String, Object])
4373
4373
  },
@@ -4391,8 +4391,8 @@ const ym = Mt(jh), Qr = Symbol("elTooltip"), nl = ue({
4391
4391
  default: !0
4392
4392
  },
4393
4393
  disabled: Boolean
4394
- }), ol = ue({
4395
- ...Qi,
4394
+ }), rl = ue({
4395
+ ...el,
4396
4396
  disabled: Boolean,
4397
4397
  trigger: {
4398
4398
  type: K([String, Array]),
@@ -4406,12 +4406,12 @@ const ym = Mt(jh), Qr = Symbol("elTooltip"), nl = ue({
4406
4406
  useModelToggleProps: _m,
4407
4407
  useModelToggleEmits: wm,
4408
4408
  useModelToggle: xm
4409
- } = Oi("visible"), Em = ue({
4410
- ...Zi,
4409
+ } = Pi("visible"), Em = ue({
4410
+ ...Xi,
4411
4411
  ..._m,
4412
- ...nl,
4413
4412
  ...ol,
4414
- ...Xi,
4413
+ ...rl,
4414
+ ...Yi,
4415
4415
  showArrow: {
4416
4416
  type: Boolean,
4417
4417
  default: !0
@@ -4430,9 +4430,9 @@ const ym = Mt(jh), Qr = Symbol("elTooltip"), nl = ue({
4430
4430
  name: "ElTooltipTrigger"
4431
4431
  }), Om = /* @__PURE__ */ B({
4432
4432
  ...Tm,
4433
- props: ol,
4433
+ props: rl,
4434
4434
  setup(e, { expose: t }) {
4435
- const n = e, o = le("tooltip"), { controlled: r, id: s, open: a, onOpen: i, onClose: c, onToggle: l } = X(Qr, void 0), u = M(null), d = () => {
4435
+ const n = e, o = le("tooltip"), { controlled: r, id: s, open: a, onOpen: i, onClose: c, onToggle: l } = X(es, void 0), u = I(null), d = () => {
4436
4436
  if (w(r) || n.disabled)
4437
4437
  return !0;
4438
4438
  }, p = ot(n, "trigger"), g = tt(d, Lt(p, "hover", i)), f = tt(d, Lt(p, "hover", c)), h = tt(d, Lt(p, "click", ($) => {
@@ -4472,9 +4472,9 @@ const Cm = B({
4472
4472
  inheritAttrs: !1
4473
4473
  }), Am = /* @__PURE__ */ B({
4474
4474
  ...Cm,
4475
- props: nl,
4475
+ props: ol,
4476
4476
  setup(e, { expose: t }) {
4477
- const n = e, { selector: o } = Bi(), r = le("tooltip"), s = M(null), a = M(!1), {
4477
+ const n = e, { selector: o } = Hi(), r = le("tooltip"), s = I(null), a = I(!1), {
4478
4478
  controlled: i,
4479
4479
  id: c,
4480
4480
  open: l,
@@ -4485,11 +4485,11 @@ const Cm = B({
4485
4485
  onHide: f,
4486
4486
  onBeforeShow: h,
4487
4487
  onBeforeHide: b
4488
- } = X(Qr, void 0), v = T(() => n.transition || `${r.namespace.value}-fade-in-linear`), S = T(() => process.env.NODE_ENV === "test" ? !0 : n.persistent);
4488
+ } = X(es, void 0), v = T(() => n.transition || `${r.namespace.value}-fade-in-linear`), S = T(() => process.env.NODE_ENV === "test" ? !0 : n.persistent);
4489
4489
  Ze(() => {
4490
4490
  a.value = !0;
4491
4491
  });
4492
- const O = T(() => w(S) ? !0 : w(l)), $ = T(() => n.disabled ? !1 : w(l)), P = T(() => n.appendTo || o.value), I = T(() => {
4492
+ const O = T(() => w(S) ? !0 : w(l)), $ = T(() => n.disabled ? !1 : w(l)), P = T(() => n.appendTo || o.value), M = T(() => {
4493
4493
  var C;
4494
4494
  return (C = n.style) != null ? C : {};
4495
4495
  }), y = T(() => !w(l)), L = () => {
@@ -4528,7 +4528,7 @@ const Cm = B({
4528
4528
  (j = (C = s.value) == null ? void 0 : C.updatePopper) == null || j.call(C);
4529
4529
  }), t({
4530
4530
  contentRef: s
4531
- }), (C, j) => (A(), Q(Fa, {
4531
+ }), (C, j) => (A(), Q(ja, {
4532
4532
  disabled: !C.teleported,
4533
4533
  to: w(P)
4534
4534
  }, [
@@ -4559,7 +4559,7 @@ const Cm = B({
4559
4559
  enterable: C.enterable,
4560
4560
  pure: C.pure,
4561
4561
  "popper-class": C.popperClass,
4562
- "popper-style": [C.popperStyle, w(I)],
4562
+ "popper-style": [C.popperStyle, w(M)],
4563
4563
  "reference-el": C.referenceEl,
4564
4564
  "trigger-target-el": C.triggerTargetEl,
4565
4565
  visible: w($),
@@ -4583,7 +4583,7 @@ const Cm = B({
4583
4583
  }
4584
4584
  });
4585
4585
  var $m = /* @__PURE__ */ pe(Am, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);
4586
- const Mm = ["innerHTML"], Im = { key: 1 }, Rm = B({
4586
+ const Im = ["innerHTML"], Mm = { key: 1 }, Rm = B({
4587
4587
  name: "ElTooltip"
4588
4588
  }), Nm = /* @__PURE__ */ B({
4589
4589
  ...Rm,
@@ -4592,11 +4592,11 @@ const Mm = ["innerHTML"], Im = { key: 1 }, Rm = B({
4592
4592
  setup(e, { expose: t, emit: n }) {
4593
4593
  const o = e;
4594
4594
  xh();
4595
- const r = yh(), s = M(), a = M(), i = () => {
4595
+ const r = yh(), s = I(), a = I(), i = () => {
4596
4596
  var v;
4597
4597
  const S = w(s);
4598
4598
  S && ((v = S.popperInstanceRef) == null || v.update());
4599
- }, c = M(!1), l = M(), { show: u, hide: d, hasUpdateHandler: p } = xm({
4599
+ }, c = I(!1), l = I(), { show: u, hide: d, hasUpdateHandler: p } = xm({
4600
4600
  indicator: c,
4601
4601
  toggleReason: l
4602
4602
  }), { onOpen: g, onClose: f } = Sh({
@@ -4605,11 +4605,11 @@ const Mm = ["innerHTML"], Im = { key: 1 }, Rm = B({
4605
4605
  autoClose: ot(o, "autoClose"),
4606
4606
  open: u,
4607
4607
  close: d
4608
- }), h = T(() => vi(o.visible) && !p.value);
4609
- se(Qr, {
4608
+ }), h = T(() => bi(o.visible) && !p.value);
4609
+ se(es, {
4610
4610
  controlled: h,
4611
4611
  id: r,
4612
- open: Na(c),
4612
+ open: La(c),
4613
4613
  trigger: ot(o, "trigger"),
4614
4614
  onOpen: (v) => {
4615
4615
  g(v);
@@ -4702,7 +4702,7 @@ const Mm = ["innerHTML"], Im = { key: 1 }, Rm = B({
4702
4702
  v.rawContent ? (A(), N("span", {
4703
4703
  key: 0,
4704
4704
  innerHTML: v.content
4705
- }, null, 8, Mm)) : (A(), N("span", Im, Y(v.content), 1))
4705
+ }, null, 8, Im)) : (A(), N("span", Mm, Y(v.content), 1))
4706
4706
  ]),
4707
4707
  v.showArrow ? (A(), Q(w(Hh), {
4708
4708
  key: 0,
@@ -4717,7 +4717,7 @@ const Mm = ["innerHTML"], Im = { key: 1 }, Rm = B({
4717
4717
  }
4718
4718
  });
4719
4719
  var Lm = /* @__PURE__ */ pe(Nm, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);
4720
- const rl = Mt(Lm), Fm = ue({
4720
+ const sl = It(Lm), Fm = ue({
4721
4721
  value: {
4722
4722
  type: [String, Number],
4723
4723
  default: ""
@@ -4769,7 +4769,7 @@ const rl = Mt(Lm), Fm = ue({
4769
4769
  }
4770
4770
  });
4771
4771
  var Hm = /* @__PURE__ */ pe(Bm, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);
4772
- const zm = Mt(Hm);
4772
+ const zm = It(Hm);
4773
4773
  function de(e, t) {
4774
4774
  Um(e) && (e = "100%");
4775
4775
  var n = Vm(e);
@@ -4784,7 +4784,7 @@ function Um(e) {
4784
4784
  function Vm(e) {
4785
4785
  return typeof e == "string" && e.indexOf("%") !== -1;
4786
4786
  }
4787
- function sl(e) {
4787
+ function al(e) {
4788
4788
  return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
4789
4789
  }
4790
4790
  function Vn(e) {
@@ -4800,7 +4800,7 @@ function qm(e, t, n) {
4800
4800
  b: de(n, 255) * 255
4801
4801
  };
4802
4802
  }
4803
- function ma(e, t, n) {
4803
+ function ga(e, t, n) {
4804
4804
  e = de(e, 255), t = de(t, 255), n = de(n, 255);
4805
4805
  var o = Math.max(e, t, n), r = Math.min(e, t, n), s = 0, a = 0, i = (o + r) / 2;
4806
4806
  if (o === r)
@@ -4822,7 +4822,7 @@ function ma(e, t, n) {
4822
4822
  }
4823
4823
  return { h: s, s: a, l: i };
4824
4824
  }
4825
- function Go(e, t, n) {
4825
+ function Ko(e, t, n) {
4826
4826
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * (6 * n) : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
4827
4827
  }
4828
4828
  function Wm(e, t, n) {
@@ -4831,11 +4831,11 @@ function Wm(e, t, n) {
4831
4831
  r = n, s = n, o = n;
4832
4832
  else {
4833
4833
  var a = n < 0.5 ? n * (1 + t) : n + t - n * t, i = 2 * n - a;
4834
- o = Go(i, a, e + 1 / 3), r = Go(i, a, e), s = Go(i, a, e - 1 / 3);
4834
+ o = Ko(i, a, e + 1 / 3), r = Ko(i, a, e), s = Ko(i, a, e - 1 / 3);
4835
4835
  }
4836
4836
  return { r: o * 255, g: r * 255, b: s * 255 };
4837
4837
  }
4838
- function ga(e, t, n) {
4838
+ function va(e, t, n) {
4839
4839
  e = de(e, 255), t = de(t, 255), n = de(n, 255);
4840
4840
  var o = Math.max(e, t, n), r = Math.min(e, t, n), s = 0, a = o, i = o - r, c = o === 0 ? 0 : i / o;
4841
4841
  if (o === r)
@@ -4861,7 +4861,7 @@ function Gm(e, t, n) {
4861
4861
  var o = Math.floor(e), r = e - o, s = n * (1 - t), a = n * (1 - r * t), i = n * (1 - (1 - r) * t), c = o % 6, l = [n, a, s, s, i, n][c], u = [i, n, n, a, s, s][c], d = [s, s, i, n, n, a][c];
4862
4862
  return { r: l * 255, g: u * 255, b: d * 255 };
4863
4863
  }
4864
- function va(e, t, n, o) {
4864
+ function ba(e, t, n, o) {
4865
4865
  var r = [
4866
4866
  gt(Math.round(e).toString(16)),
4867
4867
  gt(Math.round(t).toString(16)),
@@ -4881,7 +4881,7 @@ function Km(e, t, n, o, r) {
4881
4881
  function Jm(e) {
4882
4882
  return Math.round(parseFloat(e) * 255).toString(16);
4883
4883
  }
4884
- function ba(e) {
4884
+ function ya(e) {
4885
4885
  return xe(e) / 255;
4886
4886
  }
4887
4887
  function xe(e) {
@@ -4894,7 +4894,7 @@ function Zm(e) {
4894
4894
  b: e & 255
4895
4895
  };
4896
4896
  }
4897
- var hr = {
4897
+ var mr = {
4898
4898
  aliceblue: "#f0f8ff",
4899
4899
  antiquewhite: "#faebd7",
4900
4900
  aqua: "#00ffff",
@@ -5046,7 +5046,7 @@ var hr = {
5046
5046
  };
5047
5047
  function Xm(e) {
5048
5048
  var t = { r: 0, g: 0, b: 0 }, n = 1, o = null, r = null, s = null, a = !1, i = !1;
5049
- return typeof e == "string" && (e = eg(e)), typeof e == "object" && (et(e.r) && et(e.g) && et(e.b) ? (t = qm(e.r, e.g, e.b), a = !0, i = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : et(e.h) && et(e.s) && et(e.v) ? (o = Vn(e.s), r = Vn(e.v), t = Gm(e.h, o, r), a = !0, i = "hsv") : et(e.h) && et(e.s) && et(e.l) && (o = Vn(e.s), s = Vn(e.l), t = Wm(e.h, o, s), a = !0, i = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = sl(n), {
5049
+ return typeof e == "string" && (e = eg(e)), typeof e == "object" && (et(e.r) && et(e.g) && et(e.b) ? (t = qm(e.r, e.g, e.b), a = !0, i = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : et(e.h) && et(e.s) && et(e.v) ? (o = Vn(e.s), r = Vn(e.v), t = Gm(e.h, o, r), a = !0, i = "hsv") : et(e.h) && et(e.s) && et(e.l) && (o = Vn(e.s), s = Vn(e.l), t = Wm(e.h, o, s), a = !0, i = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = al(n), {
5050
5050
  ok: a,
5051
5051
  format: e.format || i,
5052
5052
  r: Math.min(255, Math.max(t.r, 0)),
@@ -5055,14 +5055,14 @@ function Xm(e) {
5055
5055
  a: n
5056
5056
  };
5057
5057
  }
5058
- var Ym = "[-\\+]?\\d+%?", Qm = "[-\\+]?\\d*\\.\\d+%?", it = "(?:".concat(Qm, ")|(?:").concat(Ym, ")"), Ko = "[\\s|\\(]+(".concat(it, ")[,|\\s]+(").concat(it, ")[,|\\s]+(").concat(it, ")\\s*\\)?"), Jo = "[\\s|\\(]+(".concat(it, ")[,|\\s]+(").concat(it, ")[,|\\s]+(").concat(it, ")[,|\\s]+(").concat(it, ")\\s*\\)?"), Ie = {
5058
+ var Ym = "[-\\+]?\\d+%?", Qm = "[-\\+]?\\d*\\.\\d+%?", it = "(?:".concat(Qm, ")|(?:").concat(Ym, ")"), Jo = "[\\s|\\(]+(".concat(it, ")[,|\\s]+(").concat(it, ")[,|\\s]+(").concat(it, ")\\s*\\)?"), Zo = "[\\s|\\(]+(".concat(it, ")[,|\\s]+(").concat(it, ")[,|\\s]+(").concat(it, ")[,|\\s]+(").concat(it, ")\\s*\\)?"), Me = {
5059
5059
  CSS_UNIT: new RegExp(it),
5060
- rgb: new RegExp("rgb" + Ko),
5061
- rgba: new RegExp("rgba" + Jo),
5062
- hsl: new RegExp("hsl" + Ko),
5063
- hsla: new RegExp("hsla" + Jo),
5064
- hsv: new RegExp("hsv" + Ko),
5065
- hsva: new RegExp("hsva" + Jo),
5060
+ rgb: new RegExp("rgb" + Jo),
5061
+ rgba: new RegExp("rgba" + Zo),
5062
+ hsl: new RegExp("hsl" + Jo),
5063
+ hsla: new RegExp("hsla" + Zo),
5064
+ hsv: new RegExp("hsv" + Jo),
5065
+ hsva: new RegExp("hsva" + Zo),
5066
5066
  hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
5067
5067
  hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
5068
5068
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
@@ -5072,29 +5072,29 @@ function eg(e) {
5072
5072
  if (e = e.trim().toLowerCase(), e.length === 0)
5073
5073
  return !1;
5074
5074
  var t = !1;
5075
- if (hr[e])
5076
- e = hr[e], t = !0;
5075
+ if (mr[e])
5076
+ e = mr[e], t = !0;
5077
5077
  else if (e === "transparent")
5078
5078
  return { r: 0, g: 0, b: 0, a: 0, format: "name" };
5079
- var n = Ie.rgb.exec(e);
5080
- return n ? { r: n[1], g: n[2], b: n[3] } : (n = Ie.rgba.exec(e), n ? { r: n[1], g: n[2], b: n[3], a: n[4] } : (n = Ie.hsl.exec(e), n ? { h: n[1], s: n[2], l: n[3] } : (n = Ie.hsla.exec(e), n ? { h: n[1], s: n[2], l: n[3], a: n[4] } : (n = Ie.hsv.exec(e), n ? { h: n[1], s: n[2], v: n[3] } : (n = Ie.hsva.exec(e), n ? { h: n[1], s: n[2], v: n[3], a: n[4] } : (n = Ie.hex8.exec(e), n ? {
5079
+ var n = Me.rgb.exec(e);
5080
+ return n ? { r: n[1], g: n[2], b: n[3] } : (n = Me.rgba.exec(e), n ? { r: n[1], g: n[2], b: n[3], a: n[4] } : (n = Me.hsl.exec(e), n ? { h: n[1], s: n[2], l: n[3] } : (n = Me.hsla.exec(e), n ? { h: n[1], s: n[2], l: n[3], a: n[4] } : (n = Me.hsv.exec(e), n ? { h: n[1], s: n[2], v: n[3] } : (n = Me.hsva.exec(e), n ? { h: n[1], s: n[2], v: n[3], a: n[4] } : (n = Me.hex8.exec(e), n ? {
5081
5081
  r: xe(n[1]),
5082
5082
  g: xe(n[2]),
5083
5083
  b: xe(n[3]),
5084
- a: ba(n[4]),
5084
+ a: ya(n[4]),
5085
5085
  format: t ? "name" : "hex8"
5086
- } : (n = Ie.hex6.exec(e), n ? {
5086
+ } : (n = Me.hex6.exec(e), n ? {
5087
5087
  r: xe(n[1]),
5088
5088
  g: xe(n[2]),
5089
5089
  b: xe(n[3]),
5090
5090
  format: t ? "name" : "hex"
5091
- } : (n = Ie.hex4.exec(e), n ? {
5091
+ } : (n = Me.hex4.exec(e), n ? {
5092
5092
  r: xe(n[1] + n[1]),
5093
5093
  g: xe(n[2] + n[2]),
5094
5094
  b: xe(n[3] + n[3]),
5095
- a: ba(n[4] + n[4]),
5095
+ a: ya(n[4] + n[4]),
5096
5096
  format: t ? "name" : "hex8"
5097
- } : (n = Ie.hex3.exec(e), n ? {
5097
+ } : (n = Me.hex3.exec(e), n ? {
5098
5098
  r: xe(n[1] + n[1]),
5099
5099
  g: xe(n[2] + n[2]),
5100
5100
  b: xe(n[3] + n[3]),
@@ -5102,7 +5102,7 @@ function eg(e) {
5102
5102
  } : !1)))))))));
5103
5103
  }
5104
5104
  function et(e) {
5105
- return !!Ie.CSS_UNIT.exec(String(e));
5105
+ return !!Me.CSS_UNIT.exec(String(e));
5106
5106
  }
5107
5107
  var tg = (
5108
5108
  /** @class */
@@ -5129,24 +5129,24 @@ var tg = (
5129
5129
  }, e.prototype.getAlpha = function() {
5130
5130
  return this.a;
5131
5131
  }, e.prototype.setAlpha = function(t) {
5132
- return this.a = sl(t), this.roundA = Math.round(100 * this.a) / 100, this;
5132
+ return this.a = al(t), this.roundA = Math.round(100 * this.a) / 100, this;
5133
5133
  }, e.prototype.isMonochrome = function() {
5134
5134
  var t = this.toHsl().s;
5135
5135
  return t === 0;
5136
5136
  }, e.prototype.toHsv = function() {
5137
- var t = ga(this.r, this.g, this.b);
5137
+ var t = va(this.r, this.g, this.b);
5138
5138
  return { h: t.h * 360, s: t.s, v: t.v, a: this.a };
5139
5139
  }, e.prototype.toHsvString = function() {
5140
- var t = ga(this.r, this.g, this.b), n = Math.round(t.h * 360), o = Math.round(t.s * 100), r = Math.round(t.v * 100);
5140
+ var t = va(this.r, this.g, this.b), n = Math.round(t.h * 360), o = Math.round(t.s * 100), r = Math.round(t.v * 100);
5141
5141
  return this.a === 1 ? "hsv(".concat(n, ", ").concat(o, "%, ").concat(r, "%)") : "hsva(".concat(n, ", ").concat(o, "%, ").concat(r, "%, ").concat(this.roundA, ")");
5142
5142
  }, e.prototype.toHsl = function() {
5143
- var t = ma(this.r, this.g, this.b);
5143
+ var t = ga(this.r, this.g, this.b);
5144
5144
  return { h: t.h * 360, s: t.s, l: t.l, a: this.a };
5145
5145
  }, e.prototype.toHslString = function() {
5146
- var t = ma(this.r, this.g, this.b), n = Math.round(t.h * 360), o = Math.round(t.s * 100), r = Math.round(t.l * 100);
5146
+ var t = ga(this.r, this.g, this.b), n = Math.round(t.h * 360), o = Math.round(t.s * 100), r = Math.round(t.l * 100);
5147
5147
  return this.a === 1 ? "hsl(".concat(n, ", ").concat(o, "%, ").concat(r, "%)") : "hsla(".concat(n, ", ").concat(o, "%, ").concat(r, "%, ").concat(this.roundA, ")");
5148
5148
  }, e.prototype.toHex = function(t) {
5149
- return t === void 0 && (t = !1), va(this.r, this.g, this.b, t);
5149
+ return t === void 0 && (t = !1), ba(this.r, this.g, this.b, t);
5150
5150
  }, e.prototype.toHexString = function(t) {
5151
5151
  return t === void 0 && (t = !1), "#" + this.toHex(t);
5152
5152
  }, e.prototype.toHex8 = function(t) {
@@ -5185,7 +5185,7 @@ var tg = (
5185
5185
  return "transparent";
5186
5186
  if (this.a < 1)
5187
5187
  return !1;
5188
- for (var t = "#" + va(this.r, this.g, this.b, !1), n = 0, o = Object.entries(hr); n < o.length; n++) {
5188
+ for (var t = "#" + ba(this.r, this.g, this.b, !1), n = 0, o = Object.entries(mr); n < o.length; n++) {
5189
5189
  var r = o[n], s = r[0], a = r[1];
5190
5190
  if (t === a)
5191
5191
  return s;
@@ -5280,7 +5280,7 @@ var tg = (
5280
5280
  }, e;
5281
5281
  }()
5282
5282
  );
5283
- const al = Symbol("rowContextKey"), ng = [
5283
+ const il = Symbol("rowContextKey"), ng = [
5284
5284
  "start",
5285
5285
  "center",
5286
5286
  "end",
@@ -5312,7 +5312,7 @@ const al = Symbol("rowContextKey"), ng = [
5312
5312
  props: rg,
5313
5313
  setup(e) {
5314
5314
  const t = e, n = le("row"), o = T(() => t.gutter);
5315
- se(al, {
5315
+ se(il, {
5316
5316
  gutter: o
5317
5317
  });
5318
5318
  const r = T(() => {
@@ -5323,7 +5323,7 @@ const al = Symbol("rowContextKey"), ng = [
5323
5323
  n.is(`justify-${t.justify}`, t.justify !== "start"),
5324
5324
  n.is(`align-${t.align}`, !!t.align)
5325
5325
  ]);
5326
- return (a, i) => (A(), Q(kr(a.tag), {
5326
+ return (a, i) => (A(), Q(Tr(a.tag), {
5327
5327
  class: ae(w(s)),
5328
5328
  style: Pn(w(r))
5329
5329
  }, {
@@ -5335,7 +5335,7 @@ const al = Symbol("rowContextKey"), ng = [
5335
5335
  }
5336
5336
  });
5337
5337
  var ig = /* @__PURE__ */ pe(ag, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);
5338
- const lg = Mt(ig), cg = ue({
5338
+ const lg = It(ig), cg = ue({
5339
5339
  tag: {
5340
5340
  type: String,
5341
5341
  default: "div"
@@ -5382,7 +5382,7 @@ const lg = Mt(ig), cg = ue({
5382
5382
  ...ug,
5383
5383
  props: cg,
5384
5384
  setup(e) {
5385
- const t = e, { gutter: n } = X(al, { gutter: T(() => 0) }), o = le("col"), r = T(() => {
5385
+ const t = e, { gutter: n } = X(il, { gutter: T(() => 0) }), o = le("col"), r = T(() => {
5386
5386
  const a = {};
5387
5387
  return n.value && (a.paddingLeft = a.paddingRight = `${n.value / 2}px`), a;
5388
5388
  }), s = T(() => {
@@ -5396,7 +5396,7 @@ const lg = Mt(ig), cg = ue({
5396
5396
  });
5397
5397
  }), n.value && a.push(o.is("guttered")), [o.b(), a];
5398
5398
  });
5399
- return (a, i) => (A(), Q(kr(a.tag), {
5399
+ return (a, i) => (A(), Q(Tr(a.tag), {
5400
5400
  class: ae(w(s)),
5401
5401
  style: Pn(w(r))
5402
5402
  }, {
@@ -5408,7 +5408,7 @@ const lg = Mt(ig), cg = ue({
5408
5408
  }
5409
5409
  });
5410
5410
  var pg = /* @__PURE__ */ pe(dg, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);
5411
- const fg = Mt(pg), hg = B({
5411
+ const fg = It(pg), hg = B({
5412
5412
  name: "ElCollapseTransition"
5413
5413
  }), mg = /* @__PURE__ */ B({
5414
5414
  ...hg,
@@ -5571,7 +5571,7 @@ function wg(e, t, n, o, r, s) {
5571
5571
  }, 16);
5572
5572
  }
5573
5573
  var xg = /* @__PURE__ */ pe(_g, [["render", wg], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);
5574
- function il(e, t) {
5574
+ function ll(e, t) {
5575
5575
  const n = T(() => {
5576
5576
  let r = e.parent;
5577
5577
  const s = [t.value];
@@ -5595,7 +5595,7 @@ function Eg(e) {
5595
5595
  return n ? new tg(n).shade(20).toString() : "";
5596
5596
  });
5597
5597
  }
5598
- const ll = (e, t) => {
5598
+ const cl = (e, t) => {
5599
5599
  const n = le("menu");
5600
5600
  return T(() => n.cssVarBlock({
5601
5601
  "text-color": e.textColor || "",
@@ -5645,7 +5645,7 @@ const ll = (e, t) => {
5645
5645
  type: gn
5646
5646
  }
5647
5647
  }), qn = "ElSubMenu";
5648
- var es = B({
5648
+ var ts = B({
5649
5649
  name: qn,
5650
5650
  props: Sg,
5651
5651
  setup(e, { slots: t, expose: n }) {
@@ -5656,13 +5656,13 @@ var es = B({
5656
5656
  version: "2.3.0",
5657
5657
  ref: "https://element-plus.org/en-US/component/menu.html#submenu-attributes"
5658
5658
  }, T(() => e.popperAppendToBody !== void 0));
5659
- const o = De(), { indexPath: r, parentMenu: s } = il(o, T(() => e.index)), a = le("menu"), i = le("sub-menu"), c = X("rootMenu");
5659
+ const o = De(), { indexPath: r, parentMenu: s } = ll(o, T(() => e.index)), a = le("menu"), i = le("sub-menu"), c = X("rootMenu");
5660
5660
  c || fo(qn, "can not inject root menu");
5661
5661
  const l = X(`subMenu:${s.value.uid}`);
5662
5662
  l || fo(qn, "can not inject sub menu");
5663
- const u = M({}), d = M({});
5663
+ const u = I({}), d = I({});
5664
5664
  let p;
5665
- const g = M(!1), f = M(), h = M(null), b = T(() => L.value === "horizontal" && S.value ? "bottom-start" : "right-start"), v = T(() => L.value === "horizontal" && S.value || L.value === "vertical" && !c.props.collapse ? e.expandCloseIcon && e.expandOpenIcon ? I.value ? e.expandOpenIcon : e.expandCloseIcon : Up : e.collapseCloseIcon && e.collapseOpenIcon ? I.value ? e.collapseOpenIcon : e.collapseCloseIcon : qp), S = T(() => l.level === 0), O = T(() => {
5665
+ const g = I(!1), f = I(), h = I(null), b = T(() => L.value === "horizontal" && S.value ? "bottom-start" : "right-start"), v = T(() => L.value === "horizontal" && S.value || L.value === "vertical" && !c.props.collapse ? e.expandCloseIcon && e.expandOpenIcon ? M.value ? e.expandOpenIcon : e.expandCloseIcon : Up : e.collapseCloseIcon && e.collapseOpenIcon ? M.value ? e.collapseOpenIcon : e.collapseCloseIcon : qp), S = T(() => l.level === 0), O = T(() => {
5666
5666
  var H;
5667
5667
  const C = (H = e.teleported) != null ? H : e.popperAppendToBody;
5668
5668
  return C === void 0 ? S.value : C;
@@ -5682,7 +5682,7 @@ var es = B({
5682
5682
  "bottom-end",
5683
5683
  "top-start",
5684
5684
  "top-end"
5685
- ]), I = T(() => c.openedMenus.includes(e.index)), y = T(() => {
5685
+ ]), M = T(() => c.openedMenus.includes(e.index)), y = T(() => {
5686
5686
  let H = !1;
5687
5687
  return Object.values(u.value).forEach((C) => {
5688
5688
  C.active && (H = !0);
@@ -5693,7 +5693,7 @@ var es = B({
5693
5693
  index: e.index,
5694
5694
  indexPath: r,
5695
5695
  active: y
5696
- }), k = ll(c.props, l.level + 1), _ = () => {
5696
+ }), k = cl(c.props, l.level + 1), _ = () => {
5697
5697
  var H, C, j;
5698
5698
  return (j = (C = (H = h.value) == null ? void 0 : H.popperRef) == null ? void 0 : C.popperInstanceRef) == null ? void 0 : j.destroy();
5699
5699
  }, x = (H) => {
@@ -5706,12 +5706,12 @@ var es = B({
5706
5706
  });
5707
5707
  }, U = (H, C = e.showTimeout) => {
5708
5708
  var j;
5709
- H.type !== "focus" && (c.props.menuTrigger === "click" && c.props.mode === "horizontal" || !c.props.collapse && c.props.mode === "vertical" || e.disabled || (l.mouseInChild.value = !0, p == null || p(), { stop: p } = cr(() => {
5709
+ H.type !== "focus" && (c.props.menuTrigger === "click" && c.props.mode === "horizontal" || !c.props.collapse && c.props.mode === "vertical" || e.disabled || (l.mouseInChild.value = !0, p == null || p(), { stop: p } = ur(() => {
5710
5710
  c.openMenu(e.index, r.value);
5711
5711
  }, C), O.value && ((j = s.value.vnode.el) == null || j.dispatchEvent(new MouseEvent("mouseenter")))));
5712
5712
  }, q = (H = !1) => {
5713
5713
  var C, j;
5714
- c.props.menuTrigger === "click" && c.props.mode === "horizontal" || !c.props.collapse && c.props.mode === "vertical" || (p == null || p(), l.mouseInChild.value = !1, { stop: p } = cr(() => !g.value && c.closeMenu(e.index, r.value), e.hideTimeout), O.value && H && ((C = o.parent) == null ? void 0 : C.type.name) === "ElSubMenu" && ((j = l.handleMouseleave) == null || j.call(l, !0)));
5714
+ c.props.menuTrigger === "click" && c.props.mode === "horizontal" || !c.props.collapse && c.props.mode === "vertical" || (p == null || p(), l.mouseInChild.value = !1, { stop: p } = ur(() => !g.value && c.closeMenu(e.index, r.value), e.hideTimeout), O.value && H && ((C = o.parent) == null ? void 0 : C.type.name) === "ElSubMenu" && ((j = l.handleMouseleave) == null || j.call(l, !0)));
5715
5715
  };
5716
5716
  Z(() => c.props.collapse, (H) => x(!!H));
5717
5717
  {
@@ -5729,7 +5729,7 @@ var es = B({
5729
5729
  });
5730
5730
  }
5731
5731
  return n({
5732
- opened: I
5732
+ opened: M
5733
5733
  }), ee(() => {
5734
5734
  c.addSubMenu(z), l.addSubMenu(z);
5735
5735
  }), Ze(() => {
@@ -5741,14 +5741,14 @@ var es = B({
5741
5741
  V(go, {
5742
5742
  class: i.e("icon-arrow"),
5743
5743
  style: {
5744
- transform: I.value ? e.expandCloseIcon && e.expandOpenIcon || e.collapseCloseIcon && e.collapseOpenIcon && c.props.collapse ? "none" : "rotateZ(180deg)" : "none"
5744
+ transform: M.value ? e.expandCloseIcon && e.expandOpenIcon || e.collapseCloseIcon && e.collapseOpenIcon && c.props.collapse ? "none" : "rotateZ(180deg)" : "none"
5745
5745
  }
5746
5746
  }, {
5747
5747
  default: () => ye(v.value) ? V(o.appContext.components[v.value]) : V(v.value)
5748
5748
  })
5749
- ], j = c.isMenuPopup ? V(rl, {
5749
+ ], j = c.isMenuPopup ? V(sl, {
5750
5750
  ref: h,
5751
- visible: I.value,
5751
+ visible: M.value,
5752
5752
  effect: "light",
5753
5753
  pure: !0,
5754
5754
  offset: e.popperOffset,
@@ -5800,7 +5800,7 @@ var es = B({
5800
5800
  role: "menu",
5801
5801
  class: [a.b(), a.m("inline")],
5802
5802
  style: k.value
5803
- }, [(J = t.default) == null ? void 0 : J.call(t)]), [[Zt, I.value]]);
5803
+ }, [(J = t.default) == null ? void 0 : J.call(t)]), [[Zt, M.value]]);
5804
5804
  }
5805
5805
  })
5806
5806
  ]);
@@ -5808,12 +5808,12 @@ var es = B({
5808
5808
  class: [
5809
5809
  i.b(),
5810
5810
  i.is("active", y.value),
5811
- i.is("opened", I.value),
5811
+ i.is("opened", M.value),
5812
5812
  i.is("disabled", e.disabled)
5813
5813
  ],
5814
5814
  role: "menuitem",
5815
5815
  ariaHaspopup: !0,
5816
- ariaExpanded: I.value,
5816
+ ariaExpanded: M.value,
5817
5817
  onMouseenter: U,
5818
5818
  onMouseleave: () => q(!0),
5819
5819
  onFocus: U
@@ -5859,17 +5859,17 @@ const kg = ue({
5859
5859
  values: ["dark", "light"],
5860
5860
  default: "dark"
5861
5861
  }
5862
- }), Zo = (e) => Array.isArray(e) && e.every((t) => ye(t)), Tg = {
5863
- close: (e, t) => ye(e) && Zo(t),
5864
- open: (e, t) => ye(e) && Zo(t),
5865
- select: (e, t, n, o) => ye(e) && Zo(t) && At(n) && (o === void 0 || o instanceof Promise)
5862
+ }), Xo = (e) => Array.isArray(e) && e.every((t) => ye(t)), Tg = {
5863
+ close: (e, t) => ye(e) && Xo(t),
5864
+ open: (e, t) => ye(e) && Xo(t),
5865
+ select: (e, t, n, o) => ye(e) && Xo(t) && At(n) && (o === void 0 || o instanceof Promise)
5866
5866
  };
5867
5867
  var Og = B({
5868
5868
  name: "ElMenu",
5869
5869
  props: kg,
5870
5870
  emits: Tg,
5871
5871
  setup(e, { emit: t, slots: n, expose: o }) {
5872
- const r = De(), s = r.appContext.config.globalProperties.$router, a = M(), i = le("menu"), c = le("sub-menu"), l = M(-1), u = M(e.defaultOpeneds && !e.collapse ? e.defaultOpeneds.slice(0) : []), d = M(e.defaultActive), p = M({}), g = M({}), f = T(() => e.mode === "horizontal" || e.mode === "vertical" && e.collapse), h = () => {
5872
+ const r = De(), s = r.appContext.config.globalProperties.$router, a = I(), i = le("menu"), c = le("sub-menu"), l = I(-1), u = I(e.defaultOpeneds && !e.collapse ? e.defaultOpeneds.slice(0) : []), d = I(e.defaultActive), p = I({}), g = I({}), f = T(() => e.mode === "horizontal" || e.mode === "vertical" && e.collapse), h = () => {
5873
5873
  const _ = d.value && p.value[d.value];
5874
5874
  if (!_ || e.mode === "horizontal" || e.collapse)
5875
5875
  return;
@@ -5901,7 +5901,7 @@ var Og = B({
5901
5901
  }, P = (_) => {
5902
5902
  const x = p.value, R = x[_] || d.value && x[d.value] || x[e.defaultActive];
5903
5903
  R ? d.value = R.index : d.value = _;
5904
- }, I = () => {
5904
+ }, M = () => {
5905
5905
  var _, x;
5906
5906
  if (!a.value)
5907
5907
  return -1;
@@ -5922,7 +5922,7 @@ var Og = B({
5922
5922
  const z = () => {
5923
5923
  const _ = () => {
5924
5924
  l.value = -1, Ge(() => {
5925
- l.value = I();
5925
+ l.value = M();
5926
5926
  });
5927
5927
  };
5928
5928
  L ? _() : y(_)(), L = !1;
@@ -5933,8 +5933,8 @@ var Og = B({
5933
5933
  _ && (u.value = []);
5934
5934
  }), Z(p.value, h);
5935
5935
  let k;
5936
- Me(() => {
5937
- e.mode === "horizontal" && e.ellipsis ? k = ui(a, z).stop : k == null || k();
5936
+ Ie(() => {
5937
+ e.mode === "horizontal" && e.ellipsis ? k = di(a, z).stop : k == null || k();
5938
5938
  });
5939
5939
  {
5940
5940
  const _ = (q) => {
@@ -5964,7 +5964,7 @@ var Og = B({
5964
5964
  })), se(`subMenu:${r.uid}`, {
5965
5965
  addSubMenu: _,
5966
5966
  removeSubMenu: x,
5967
- mouseInChild: M(!1),
5967
+ mouseInChild: I(!1),
5968
5968
  level: 0
5969
5969
  });
5970
5970
  }
@@ -5983,7 +5983,7 @@ var Og = B({
5983
5983
  const U = [];
5984
5984
  if (e.mode === "horizontal" && a.value) {
5985
5985
  const C = oo(R), j = l.value === -1 ? C : C.slice(0, l.value), J = l.value === -1 ? [] : C.slice(l.value);
5986
- J != null && J.length && e.ellipsis && (R = j, U.push(V(es, {
5986
+ J != null && J.length && e.ellipsis && (R = j, U.push(V(ts, {
5987
5987
  index: "sub-menu-more",
5988
5988
  class: c.e("hide-arrow")
5989
5989
  }, {
@@ -5993,7 +5993,7 @@ var Og = B({
5993
5993
  default: () => J
5994
5994
  })));
5995
5995
  }
5996
- const q = ll(e, 0), H = V("ul", {
5996
+ const q = cl(e, 0), H = V("ul", {
5997
5997
  key: String(e.collapse),
5998
5998
  role: "menubar",
5999
5999
  ref: a,
@@ -6019,18 +6019,18 @@ const Pg = ue({
6019
6019
  disabled: Boolean
6020
6020
  }), Cg = {
6021
6021
  click: (e) => ye(e.index) && Array.isArray(e.indexPath)
6022
- }, Xo = "ElMenuItem", Ag = B({
6023
- name: Xo,
6022
+ }, Yo = "ElMenuItem", Ag = B({
6023
+ name: Yo,
6024
6024
  components: {
6025
- ElTooltip: rl
6025
+ ElTooltip: sl
6026
6026
  },
6027
6027
  props: Pg,
6028
6028
  emits: Cg,
6029
6029
  setup(e, { emit: t }) {
6030
6030
  const n = De(), o = X("rootMenu"), r = le("menu"), s = le("menu-item");
6031
- o || fo(Xo, "can not inject root menu");
6032
- const { parentMenu: a, indexPath: i } = il(n, ot(e, "index")), c = X(`subMenu:${a.value.uid}`);
6033
- c || fo(Xo, "can not inject sub menu");
6031
+ o || fo(Yo, "can not inject root menu");
6032
+ const { parentMenu: a, indexPath: i } = ll(n, ot(e, "index")), c = X(`subMenu:${a.value.uid}`);
6033
+ c || fo(Yo, "can not inject sub menu");
6034
6034
  const l = T(() => e.index === o.activeIndex), u = Xt({
6035
6035
  index: e.index,
6036
6036
  indexPath: i,
@@ -6092,12 +6092,12 @@ function $g(e, t, n, o, r, s) {
6092
6092
  ], 64))
6093
6093
  ], 2);
6094
6094
  }
6095
- var cl = /* @__PURE__ */ pe(Ag, [["render", $g], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);
6096
- const Mg = {
6095
+ var ul = /* @__PURE__ */ pe(Ag, [["render", $g], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);
6096
+ const Ig = {
6097
6097
  title: String
6098
- }, Ig = "ElMenuItemGroup", Rg = B({
6099
- name: Ig,
6100
- props: Mg,
6098
+ }, Mg = "ElMenuItemGroup", Rg = B({
6099
+ name: Mg,
6100
+ props: Ig,
6101
6101
  setup() {
6102
6102
  return {
6103
6103
  ns: le("menu-item-group")
@@ -6120,17 +6120,17 @@ function Ng(e, t, n, o, r, s) {
6120
6120
  ])
6121
6121
  ], 2);
6122
6122
  }
6123
- var ul = /* @__PURE__ */ pe(Rg, [["render", Ng], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);
6124
- const Lg = Mt(Og, {
6125
- MenuItem: cl,
6126
- MenuItemGroup: ul,
6127
- SubMenu: es
6128
- }), Wn = Dr(cl);
6129
- Dr(ul);
6130
- const Fg = Dr(es);
6123
+ var dl = /* @__PURE__ */ pe(Rg, [["render", Ng], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);
6124
+ const Lg = It(Og, {
6125
+ MenuItem: ul,
6126
+ MenuItemGroup: dl,
6127
+ SubMenu: ts
6128
+ }), Wn = Br(ul);
6129
+ Br(dl);
6130
+ const Fg = Br(ts);
6131
6131
  function jg(e) {
6132
6132
  let t;
6133
- const n = M(!1), o = Xt({
6133
+ const n = I(!1), o = Xt({
6134
6134
  ...e,
6135
6135
  originalPosition: "",
6136
6136
  originalOverflow: "",
@@ -6164,7 +6164,7 @@ function jg(e) {
6164
6164
  const l = B({
6165
6165
  name: "ElLoading",
6166
6166
  setup(p, { expose: g }) {
6167
- const { ns: f, zIndex: h } = Gi("loading");
6167
+ const { ns: f, zIndex: h } = Ki("loading");
6168
6168
  return g({
6169
6169
  ns: f,
6170
6170
  zIndex: h
@@ -6207,7 +6207,7 @@ function jg(e) {
6207
6207
  }
6208
6208
  }), u = rc(l), d = u.mount(document.createElement("div"));
6209
6209
  return {
6210
- ...tr(o),
6210
+ ...nr(o),
6211
6211
  setText: r,
6212
6212
  removeElLoadingChild: a,
6213
6213
  close: i,
@@ -6219,7 +6219,7 @@ function jg(e) {
6219
6219
  };
6220
6220
  }
6221
6221
  let Gn;
6222
- const mr = function(e = {}) {
6222
+ const gr = function(e = {}) {
6223
6223
  if (!ve)
6224
6224
  return;
6225
6225
  const t = Dg(e);
@@ -6232,7 +6232,7 @@ const mr = function(e = {}) {
6232
6232
  (r = t.closed) == null || r.call(t), t.fullscreen && (Gn = void 0);
6233
6233
  }
6234
6234
  });
6235
- Bg(t, t.parent, n), ya(t, t.parent, n), t.parent.vLoadingAddClassList = () => ya(t, t.parent, n);
6235
+ Bg(t, t.parent, n), _a(t, t.parent, n), t.parent.vLoadingAddClassList = () => _a(t, t.parent, n);
6236
6236
  let o = t.parent.getAttribute("loading-number");
6237
6237
  return o ? o = `${Number.parseInt(o) + 1}` : o = "1", t.parent.setAttribute("loading-number", o), t.parent.appendChild(n.$el), Ge(() => n.visible.value = t.visible), t.fullscreen && (Gn = n), n;
6238
6238
  }, Dg = (e) => {
@@ -6267,14 +6267,14 @@ const mr = function(e = {}) {
6267
6267
  n.originalPosition.value = dn(t, "position");
6268
6268
  for (const [s, a] of Object.entries(r))
6269
6269
  n.$el.style[s] = a;
6270
- }, ya = (e, t, n) => {
6270
+ }, _a = (e, t, n) => {
6271
6271
  const o = n.vm.ns || n.vm._.exposed.ns;
6272
6272
  ["absolute", "fixed", "sticky"].includes(n.originalPosition.value) ? bt(t, o.bm("parent", "relative")) : Dt(t, o.bm("parent", "relative")), e.fullscreen && e.lock ? Dt(t, o.bm("parent", "hidden")) : bt(t, o.bm("parent", "hidden"));
6273
- }, gr = Symbol("ElLoading"), _a = (e, t) => {
6273
+ }, vr = Symbol("ElLoading"), wa = (e, t) => {
6274
6274
  var n, o, r, s;
6275
6275
  const a = t.instance, i = (p) => At(t.value) ? t.value[p] : void 0, c = (p) => {
6276
6276
  const g = ye(p) && (a == null ? void 0 : a[p]) || p;
6277
- return g && M(g);
6277
+ return g && I(g);
6278
6278
  }, l = (p) => c(i(p) || e.getAttribute(`element-loading-${ld(p)}`)), u = (n = i("fullscreen")) != null ? n : t.modifiers.fullscreen, d = {
6279
6279
  text: l("text"),
6280
6280
  svg: l("svg"),
@@ -6287,32 +6287,32 @@ const mr = function(e = {}) {
6287
6287
  body: (r = i("body")) != null ? r : t.modifiers.body,
6288
6288
  lock: (s = i("lock")) != null ? s : t.modifiers.lock
6289
6289
  };
6290
- e[gr] = {
6290
+ e[vr] = {
6291
6291
  options: d,
6292
- instance: mr(d)
6292
+ instance: gr(d)
6293
6293
  };
6294
6294
  }, Hg = (e, t) => {
6295
6295
  for (const n of Object.keys(t))
6296
6296
  wt(t[n]) && (t[n].value = e[n]);
6297
- }, wa = {
6297
+ }, xa = {
6298
6298
  mounted(e, t) {
6299
- t.value && _a(e, t);
6299
+ t.value && wa(e, t);
6300
6300
  },
6301
6301
  updated(e, t) {
6302
- const n = e[gr];
6303
- t.oldValue !== t.value && (t.value && !t.oldValue ? _a(e, t) : t.value && t.oldValue ? At(t.value) && Hg(t.value, n.options) : n == null || n.instance.close());
6302
+ const n = e[vr];
6303
+ t.oldValue !== t.value && (t.value && !t.oldValue ? wa(e, t) : t.value && t.oldValue ? At(t.value) && Hg(t.value, n.options) : n == null || n.instance.close());
6304
6304
  },
6305
6305
  unmounted(e) {
6306
6306
  var t;
6307
- (t = e[gr]) == null || t.instance.close();
6307
+ (t = e[vr]) == null || t.instance.close();
6308
6308
  }
6309
6309
  }, Bt = {
6310
6310
  install(e) {
6311
- e.directive("loading", wa), e.config.globalProperties.$loading = mr;
6311
+ e.directive("loading", xa), e.config.globalProperties.$loading = gr;
6312
6312
  },
6313
- directive: wa,
6314
- service: mr
6315
- }, dl = ["success", "info", "warning", "error"], be = pt({
6313
+ directive: xa,
6314
+ service: gr
6315
+ }, pl = ["success", "info", "warning", "error"], be = pt({
6316
6316
  customClass: "",
6317
6317
  center: !1,
6318
6318
  dangerouslyUseHTMLString: !1,
@@ -6371,7 +6371,7 @@ const mr = function(e = {}) {
6371
6371
  },
6372
6372
  type: {
6373
6373
  type: String,
6374
- values: dl,
6374
+ values: pl,
6375
6375
  default: be.type
6376
6376
  },
6377
6377
  offset: {
@@ -6406,17 +6406,17 @@ const mr = function(e = {}) {
6406
6406
  props: zg,
6407
6407
  emits: Ug,
6408
6408
  setup(e, { expose: t }) {
6409
- const n = e, { Close: o } = tf, { ns: r, zIndex: s } = Gi("message"), { currentZIndex: a, nextZIndex: i } = s, c = M(), l = M(!1), u = M(0);
6409
+ const n = e, { Close: o } = tf, { ns: r, zIndex: s } = Ki("message"), { currentZIndex: a, nextZIndex: i } = s, c = I(), l = I(!1), u = I(0);
6410
6410
  let d;
6411
6411
  const p = T(() => n.type ? n.type === "error" ? "danger" : n.type : "info"), g = T(() => {
6412
6412
  const y = n.type;
6413
- return { [r.bm("icon", y)]: y && Ws[y] };
6414
- }), f = T(() => n.icon || Ws[n.type] || ""), h = T(() => qg(n.id)), b = T(() => Wg(n.id, n.offset) + h.value), v = T(() => u.value + b.value), S = T(() => ({
6413
+ return { [r.bm("icon", y)]: y && Gs[y] };
6414
+ }), f = T(() => n.icon || Gs[n.type] || ""), h = T(() => qg(n.id)), b = T(() => Wg(n.id, n.offset) + h.value), v = T(() => u.value + b.value), S = T(() => ({
6415
6415
  top: `${b.value}px`,
6416
6416
  zIndex: a.value
6417
6417
  }));
6418
6418
  function O() {
6419
- n.duration !== 0 && ({ stop: d } = cr(() => {
6419
+ n.duration !== 0 && ({ stop: d } = ur(() => {
6420
6420
  P();
6421
6421
  }, n.duration));
6422
6422
  }
@@ -6426,14 +6426,14 @@ const mr = function(e = {}) {
6426
6426
  function P() {
6427
6427
  l.value = !1;
6428
6428
  }
6429
- function I({ code: y }) {
6429
+ function M({ code: y }) {
6430
6430
  y === ge.esc && P();
6431
6431
  }
6432
6432
  return ee(() => {
6433
6433
  O(), i(), l.value = !0;
6434
6434
  }), Z(() => n.repeatNum, () => {
6435
6435
  $(), O();
6436
- }), to(document, "keydown", I), ui(c, () => {
6436
+ }), to(document, "keydown", M), di(c, () => {
6437
6437
  u.value = c.value.getBoundingClientRect().height;
6438
6438
  }), t({
6439
6439
  visible: l,
@@ -6473,7 +6473,7 @@ const mr = function(e = {}) {
6473
6473
  class: ae([w(r).e("icon"), w(g)])
6474
6474
  }, {
6475
6475
  default: W(() => [
6476
- (A(), Q(kr(w(f))))
6476
+ (A(), Q(Tr(w(f))))
6477
6477
  ]),
6478
6478
  _: 1
6479
6479
  }, 8, ["class"])) : F("v-if", !0),
@@ -6492,7 +6492,7 @@ const mr = function(e = {}) {
6492
6492
  y.showClose ? (A(), Q(w(go), {
6493
6493
  key: 2,
6494
6494
  class: ae(w(r).e("closeBtn")),
6495
- onClick: nr(P, ["stop"])
6495
+ onClick: or(P, ["stop"])
6496
6496
  }, {
6497
6497
  default: W(() => [
6498
6498
  te(w(o))
@@ -6509,7 +6509,7 @@ const mr = function(e = {}) {
6509
6509
  });
6510
6510
  var Xg = /* @__PURE__ */ pe(Zg, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);
6511
6511
  let Yg = 1;
6512
- const pl = (e) => {
6512
+ const fl = (e) => {
6513
6513
  const t = !e || ye(e) || io(e) || mt(e) ? { message: e } : e, n = {
6514
6514
  ...be,
6515
6515
  ...t
@@ -6536,12 +6536,12 @@ const pl = (e) => {
6536
6536
  r == null || r(), Qg(u);
6537
6537
  },
6538
6538
  onDestroy: () => {
6539
- ms(null, s);
6539
+ gs(null, s);
6540
6540
  }
6541
6541
  }, i = te(Xg, a, mt(a.message) || io(a.message) ? {
6542
6542
  default: mt(a.message) ? a.message : () => a.message
6543
6543
  } : null);
6544
- i.appContext = n || Gt._context, ms(i, s), e.appendChild(s.firstElementChild);
6544
+ i.appContext = n || Gt._context, gs(i, s), e.appendChild(s.firstElementChild);
6545
6545
  const c = i.component, u = {
6546
6546
  id: o,
6547
6547
  vnode: i,
@@ -6558,10 +6558,10 @@ const pl = (e) => {
6558
6558
  if (!ve)
6559
6559
  return { close: () => {
6560
6560
  } };
6561
- if (Ke(fr.max) && Re.length >= fr.max)
6561
+ if (Ke(hr.max) && Re.length >= hr.max)
6562
6562
  return { close: () => {
6563
6563
  } };
6564
- const n = pl(e);
6564
+ const n = fl(e);
6565
6565
  if (n.grouping && Re.length) {
6566
6566
  const r = Re.find(({ vnode: s }) => {
6567
6567
  var a;
@@ -6573,9 +6573,9 @@ const pl = (e) => {
6573
6573
  const o = ev(n, t);
6574
6574
  return Re.push(o), o.handler;
6575
6575
  };
6576
- dl.forEach((e) => {
6576
+ pl.forEach((e) => {
6577
6577
  Gt[e] = (t = {}, n) => {
6578
- const o = pl(t);
6578
+ const o = fl(t);
6579
6579
  return Gt({ ...o, type: e }, n);
6580
6580
  };
6581
6581
  });
@@ -6590,7 +6590,7 @@ function on() {
6590
6590
  let e = "";
6591
6591
  return typeof app_config == "object" && app_config && Object.keys(app_config).length > 0 && (e = app_config.base_url || ""), e;
6592
6592
  }
6593
- function fl() {
6593
+ function vo() {
6594
6594
  console.log("获取appName");
6595
6595
  const e = ml(), t = on();
6596
6596
  return e.product ? e.product : t ? t.slice(1) : location.href.indexOf("convert") != -1 ? "convert" : location.href.indexOf("translate") != -1 ? "translate" : (location.href.indexOf("recorder"), "recorder");
@@ -6614,7 +6614,7 @@ function kt({ url: e, data: t = null, method: n = "GET", headers: o = null, cach
6614
6614
  var a = new AbortController(), i = a.signal;
6615
6615
  } catch {
6616
6616
  }
6617
- const c = fl();
6617
+ const c = vo();
6618
6618
  let l = {
6619
6619
  method: n,
6620
6620
  headers: {
@@ -6639,33 +6639,44 @@ function kt({ url: e, data: t = null, method: n = "GET", headers: o = null, cach
6639
6639
  }) : Promise.reject(d.message || d.msg && d || "failed, please check your network and try again")).catch((d) => Promise.reject(d));
6640
6640
  }
6641
6641
  let rn = on();
6642
- function xa(e) {
6643
- const t = new URLSearchParams(window.location.search), n = window.user_token || t.get("user_tk");
6644
- if (n && n != "undefined" && typeof n == "string") {
6645
- const r = {
6642
+ function Ea(e) {
6643
+ const t = new URLSearchParams(window.location.search), n = window.user_token || t.get("user_tk"), o = [
6644
+ "web",
6645
+ "google_workspace",
6646
+ "chrome_addon",
6647
+ "edge_addon",
6648
+ "windows_app",
6649
+ "canva_addon",
6650
+ "office_app"
6651
+ ];
6652
+ let r = localStorage.getItem(vo() + "_app_type");
6653
+ o.includes(r) || (r = null);
6654
+ let s = r || window.app_type || "web";
6655
+ if (o.includes(s) || (s = "web"), console.log(r, "cache_app_type"), n && n != "undefined" && typeof n == "string") {
6656
+ const i = {
6646
6657
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
6647
- "X-Access-Channel": fl(),
6658
+ "X-Access-Channel": vo(),
6648
6659
  "x-access-ticket": n
6649
- }, s = {
6650
- app_type: window.app_type || "web"
6651
6660
  };
6652
6661
  return kt({
6653
6662
  url: "https://usa.imgkits.com/api/user/status",
6654
6663
  method: "POST",
6655
- headers: r,
6656
- data: s
6664
+ headers: i,
6665
+ data: {
6666
+ app_type: s
6667
+ }
6657
6668
  });
6658
6669
  } else {
6659
- const o = {
6670
+ const a = {
6660
6671
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
6661
6672
  };
6662
- let r = rn + "/api/user/status";
6663
- return e && (r += "?drive=1"), kt({
6664
- url: r,
6673
+ let i = rn + "/api/user/status";
6674
+ return e && (i += "?drive=1"), kt({
6675
+ url: i,
6665
6676
  method: "POST",
6666
- headers: o,
6677
+ headers: a,
6667
6678
  data: {
6668
- app_type: window.app_type || "web"
6679
+ app_type: s
6669
6680
  }
6670
6681
  });
6671
6682
  }
@@ -6725,7 +6736,7 @@ function sv(e, t, n) {
6725
6736
  // method: "POST"
6726
6737
  });
6727
6738
  }
6728
- const Ea = async (e, t) => {
6739
+ const Sa = async (e, t) => {
6729
6740
  try {
6730
6741
  const n = await fetch(`https://usa.imgkits.com/site/recommend?key=${e}&type=${t}`, {
6731
6742
  method: "GET",
@@ -6753,18 +6764,18 @@ function me({ visible: e = !0, features: t = 0, ourProps: n, theirProps: o, ...r
6753
6764
  var s;
6754
6765
  let a = bl(o, n), i = Object.assign(r, { props: a });
6755
6766
  if (e || t & 2 && a.static)
6756
- return Yo(i);
6767
+ return Qo(i);
6757
6768
  if (t & 1) {
6758
6769
  let c = (s = a.unmount) == null || s ? 0 : 1;
6759
6770
  return ke(c, { [0]() {
6760
6771
  return null;
6761
6772
  }, [1]() {
6762
- return Yo({ ...r, props: { ...a, hidden: !0, style: { display: "none" } } });
6773
+ return Qo({ ...r, props: { ...a, hidden: !0, style: { display: "none" } } });
6763
6774
  } });
6764
6775
  }
6765
- return Yo(i);
6776
+ return Qo(i);
6766
6777
  }
6767
- function Yo({ props: e, attrs: t, slots: n, slot: o, name: r }) {
6778
+ function Qo({ props: e, attrs: t, slots: n, slot: o, name: r }) {
6768
6779
  var s, a;
6769
6780
  let { as: i, ...c } = iv(e, ["unmount", "static"]), l = (s = n.default) == null ? void 0 : s.call(n, o), u = {};
6770
6781
  if (o) {
@@ -6781,7 +6792,7 @@ function Yo({ props: e, attrs: t, slots: n, slot: o, name: r }) {
6781
6792
  `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((h) => ` - ${h}`).join(`
6782
6793
  `)].join(`
6783
6794
  `));
6784
- let g = bl((a = d.props) != null ? a : {}, c), f = La(d, g);
6795
+ let g = bl((a = d.props) != null ? a : {}, c), f = Fa(d, g);
6785
6796
  for (let h in g)
6786
6797
  h.startsWith("on") && (f.props || (f.props = {}), f.props[h] = g[h]);
6787
6798
  return f;
@@ -6838,13 +6849,13 @@ function D(e) {
6838
6849
  }
6839
6850
  let yl = Symbol("Context");
6840
6851
  var Ne = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(Ne || {});
6841
- function ts() {
6852
+ function ns() {
6842
6853
  return X(yl, null);
6843
6854
  }
6844
6855
  function dv(e) {
6845
6856
  se(yl, e);
6846
6857
  }
6847
- function Sa(e, t) {
6858
+ function ka(e, t) {
6848
6859
  if (e)
6849
6860
  return e;
6850
6861
  let n = t ?? "button";
@@ -6852,18 +6863,18 @@ function Sa(e, t) {
6852
6863
  return "button";
6853
6864
  }
6854
6865
  function pv(e, t) {
6855
- let n = M(Sa(e.value.type, e.value.as));
6866
+ let n = I(ka(e.value.type, e.value.as));
6856
6867
  return ee(() => {
6857
- n.value = Sa(e.value.type, e.value.as);
6858
- }), Me(() => {
6868
+ n.value = ka(e.value.type, e.value.as);
6869
+ }), Ie(() => {
6859
6870
  var o;
6860
6871
  n.value || D(t) && D(t) instanceof HTMLButtonElement && !((o = D(t)) != null && o.hasAttribute("type")) && (n.value = "button");
6861
6872
  }), n;
6862
6873
  }
6863
- var fv = Object.defineProperty, hv = (e, t, n) => t in e ? fv(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ka = (e, t, n) => (hv(e, typeof t != "symbol" ? t + "" : t, n), n);
6874
+ var fv = Object.defineProperty, hv = (e, t, n) => t in e ? fv(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ta = (e, t, n) => (hv(e, typeof t != "symbol" ? t + "" : t, n), n);
6864
6875
  class mv {
6865
6876
  constructor() {
6866
- ka(this, "current", this.detect()), ka(this, "currentId", 0);
6877
+ Ta(this, "current", this.detect()), Ta(this, "currentId", 0);
6867
6878
  }
6868
6879
  set(t) {
6869
6880
  this.current !== t && (this.currentId = 0, this.current = t);
@@ -6884,9 +6895,9 @@ class mv {
6884
6895
  return typeof window > "u" || typeof document > "u" ? "server" : "client";
6885
6896
  }
6886
6897
  }
6887
- let $o = new mv();
6898
+ let Io = new mv();
6888
6899
  function Xe(e) {
6889
- if ($o.isServer)
6900
+ if (Io.isServer)
6890
6901
  return null;
6891
6902
  if (e instanceof Node)
6892
6903
  return e.ownerDocument;
@@ -6897,20 +6908,20 @@ function Xe(e) {
6897
6908
  }
6898
6909
  return document;
6899
6910
  }
6900
- let vr = ["[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(",");
6911
+ let br = ["[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(",");
6901
6912
  var he = ((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))(he || {}), On = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(On || {}), gv = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(gv || {});
6902
6913
  function Mo(e = document.body) {
6903
- return e == null ? [] : Array.from(e.querySelectorAll(vr)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
6914
+ return e == null ? [] : Array.from(e.querySelectorAll(br)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
6904
6915
  }
6905
- var ns = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(ns || {});
6916
+ var os = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(os || {});
6906
6917
  function _l(e, t = 0) {
6907
6918
  var n;
6908
6919
  return e === ((n = Xe(e)) == null ? void 0 : n.body) ? !1 : ke(t, { [0]() {
6909
- return e.matches(vr);
6920
+ return e.matches(br);
6910
6921
  }, [1]() {
6911
6922
  let o = e;
6912
6923
  for (; o !== null; ) {
6913
- if (o.matches(vr))
6924
+ if (o.matches(br))
6914
6925
  return !0;
6915
6926
  o = o.parentElement;
6916
6927
  }
@@ -6977,13 +6988,13 @@ function Le(e, t, { sorted: n = !0, relativeTo: o = null, skipElements: r = [] }
6977
6988
  } while (g !== a.activeElement);
6978
6989
  return t & 6 && yv(g) && g.select(), 2;
6979
6990
  }
6980
- function Ta(e, t, n) {
6981
- $o.isServer || Me((o) => {
6991
+ function Oa(e, t, n) {
6992
+ Io.isServer || Ie((o) => {
6982
6993
  document.addEventListener(e, t, n), o(() => document.removeEventListener(e, t, n));
6983
6994
  });
6984
6995
  }
6985
6996
  function wl(e, t, n) {
6986
- $o.isServer || Me((o) => {
6997
+ Io.isServer || Ie((o) => {
6987
6998
  window.addEventListener(e, t, n), o(() => window.removeEventListener(e, t, n));
6988
6999
  });
6989
7000
  }
@@ -7004,13 +7015,13 @@ function xl(e, t, n = T(() => !0)) {
7004
7015
  if (u != null && u.contains(i) || s.composed && s.composedPath().includes(u))
7005
7016
  return;
7006
7017
  }
7007
- return !_l(i, ns.Loose) && i.tabIndex !== -1 && s.preventDefault(), t(s, i);
7018
+ return !_l(i, os.Loose) && i.tabIndex !== -1 && s.preventDefault(), t(s, i);
7008
7019
  }
7009
- let r = M(null);
7010
- Ta("mousedown", (s) => {
7020
+ let r = I(null);
7021
+ Oa("mousedown", (s) => {
7011
7022
  var a, i;
7012
7023
  n.value && (r.value = ((i = (a = s.composedPath) == null ? void 0 : a.call(s)) == null ? void 0 : i[0]) || s.target);
7013
- }, !0), Ta("click", (s) => {
7024
+ }, !0), Oa("click", (s) => {
7014
7025
  r.value && (o(s, () => r.value), r.value = null);
7015
7026
  }, !0), wl("blur", (s) => o(s, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
7016
7027
  }
@@ -7059,14 +7070,14 @@ function El() {
7059
7070
  return t;
7060
7071
  }
7061
7072
  var Ee = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(Ee || {});
7062
- function os() {
7063
- let e = M(0);
7073
+ function rs() {
7074
+ let e = I(0);
7064
7075
  return wl("keydown", (t) => {
7065
7076
  t.key === "Tab" && (e.value = t.shiftKey ? 1 : 0);
7066
7077
  }), e;
7067
7078
  }
7068
- function rs(e, t, n, o) {
7069
- $o.isServer || Me((r) => {
7079
+ function ss(e, t, n, o) {
7080
+ Io.isServer || Ie((r) => {
7070
7081
  e = e ?? window, e.addEventListener(t, n, o), r(() => e.removeEventListener(t, n, o));
7071
7082
  });
7072
7083
  }
@@ -7094,14 +7105,14 @@ function kl(e) {
7094
7105
  return t;
7095
7106
  }
7096
7107
  var Tl = ((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))(Tl || {});
7097
- let fn = Object.assign(B({ 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 }) {
7098
- let r = M(null);
7108
+ let fn = Object.assign(B({ 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 }) {
7109
+ let r = I(null);
7099
7110
  o({ el: r, $el: r });
7100
- let s = T(() => Xe(r)), a = M(!1);
7111
+ let s = T(() => Xe(r)), a = I(!1);
7101
7112
  ee(() => a.value = !0), je(() => a.value = !1), Sv({ ownerDocument: s }, T(() => a.value && !!(e.features & 16)));
7102
7113
  let i = kv({ ownerDocument: s, container: r, initialFocus: T(() => e.initialFocus) }, T(() => a.value && !!(e.features & 2)));
7103
7114
  Tv({ ownerDocument: s, container: r, containers: e.containers, previousActiveElement: i }, T(() => a.value && !!(e.features & 8)));
7104
- let c = os();
7115
+ let c = rs();
7105
7116
  function l(g) {
7106
7117
  let f = D(r);
7107
7118
  f && ((h) => h())(() => {
@@ -7112,7 +7123,7 @@ let fn = Object.assign(B({ name: "FocusTrap", props: { as: { type: [Object, Stri
7112
7123
  } });
7113
7124
  });
7114
7125
  }
7115
- let u = M(!1);
7126
+ let u = I(!1);
7116
7127
  function d(g) {
7117
7128
  g.key === "Tab" && (u.value = !0, requestAnimationFrame(() => {
7118
7129
  u.value = !1;
@@ -7138,7 +7149,7 @@ xv(() => {
7138
7149
  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 });
7139
7150
  });
7140
7151
  function Ev(e) {
7141
- let t = M(ft.slice());
7152
+ let t = I(ft.slice());
7142
7153
  return Z([e], ([n], [o]) => {
7143
7154
  o === !0 && n === !1 ? Sl(() => {
7144
7155
  t.value.splice(0);
@@ -7151,7 +7162,7 @@ function Ev(e) {
7151
7162
  function Sv({ ownerDocument: e }, t) {
7152
7163
  let n = Ev(t);
7153
7164
  ee(() => {
7154
- Me(() => {
7165
+ Ie(() => {
7155
7166
  var o, r;
7156
7167
  t.value || ((o = e.value) == null ? void 0 : o.activeElement) === ((r = e.value) == null ? void 0 : r.body) && _t(n());
7157
7168
  }, { flush: "post" });
@@ -7160,7 +7171,7 @@ function Sv({ ownerDocument: e }, t) {
7160
7171
  });
7161
7172
  }
7162
7173
  function kv({ ownerDocument: e, container: t, initialFocus: n }, o) {
7163
- let r = M(null), s = M(!1);
7174
+ let r = I(null), s = I(!1);
7164
7175
  return ee(() => s.value = !0), je(() => s.value = !1), ee(() => {
7165
7176
  Z([t, n, o], (a, i) => {
7166
7177
  if (a.every((l, u) => (i == null ? void 0 : i[u]) === l) || !o.value)
@@ -7187,7 +7198,7 @@ function kv({ ownerDocument: e, container: t, initialFocus: n }, o) {
7187
7198
  }
7188
7199
  function Tv({ ownerDocument: e, container: t, containers: n, previousActiveElement: o }, r) {
7189
7200
  var s;
7190
- rs((s = e.value) == null ? void 0 : s.defaultView, "focus", (a) => {
7201
+ ss((s = e.value) == null ? void 0 : s.defaultView, "focus", (a) => {
7191
7202
  if (!r.value)
7192
7203
  return;
7193
7204
  let i = kl(n);
@@ -7205,9 +7216,9 @@ function Ol(e, t) {
7205
7216
  return !0;
7206
7217
  return !1;
7207
7218
  }
7208
- let Qo = /* @__PURE__ */ new Map(), hn = /* @__PURE__ */ new Map();
7209
- function Oa(e, t = M(!0)) {
7210
- Me((n) => {
7219
+ let er = /* @__PURE__ */ new Map(), hn = /* @__PURE__ */ new Map();
7220
+ function Pa(e, t = I(!0)) {
7221
+ Ie((n) => {
7211
7222
  var o;
7212
7223
  if (!t.value)
7213
7224
  return;
@@ -7221,18 +7232,18 @@ function Oa(e, t = M(!0)) {
7221
7232
  let i = (a = hn.get(r)) != null ? a : 1;
7222
7233
  if (i === 1 ? hn.delete(r) : hn.set(r, i - 1), i !== 1)
7223
7234
  return;
7224
- let c = Qo.get(r);
7225
- c && (c["aria-hidden"] === null ? r.removeAttribute("aria-hidden") : r.setAttribute("aria-hidden", c["aria-hidden"]), r.inert = c.inert, Qo.delete(r));
7235
+ let c = er.get(r);
7236
+ c && (c["aria-hidden"] === null ? r.removeAttribute("aria-hidden") : r.setAttribute("aria-hidden", c["aria-hidden"]), r.inert = c.inert, er.delete(r));
7226
7237
  });
7227
7238
  let s = (o = hn.get(r)) != null ? o : 0;
7228
- hn.set(r, s + 1), s === 0 && (Qo.set(r, { "aria-hidden": r.getAttribute("aria-hidden"), inert: r.inert }), r.setAttribute("aria-hidden", "true"), r.inert = !0);
7239
+ hn.set(r, s + 1), s === 0 && (er.set(r, { "aria-hidden": r.getAttribute("aria-hidden"), inert: r.inert }), r.setAttribute("aria-hidden", "true"), r.inert = !0);
7229
7240
  });
7230
7241
  }
7231
7242
  let Pl = Symbol("ForcePortalRootContext");
7232
7243
  function Ov() {
7233
7244
  return X(Pl, !1);
7234
7245
  }
7235
- let br = B({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(e, { slots: t, attrs: n }) {
7246
+ let yr = B({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(e, { slots: t, attrs: n }) {
7236
7247
  return se(Pl, e.force), () => {
7237
7248
  let { force: o, ...r } = e;
7238
7249
  return me({ theirProps: r, ourProps: {}, slot: {}, slots: t, attrs: n, name: "ForcePortalRoot" });
@@ -7252,11 +7263,11 @@ function Pv(e) {
7252
7263
  return o.setAttribute("id", "headlessui-portal-root"), t.body.appendChild(o);
7253
7264
  }
7254
7265
  let Cl = B({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(e, { slots: t, attrs: n }) {
7255
- let o = M(null), r = T(() => Xe(o)), s = Ov(), a = X($l, null), i = M(s === !0 || a == null ? Pv(o.value) : a.resolveTarget());
7256
- Me(() => {
7266
+ let o = I(null), r = T(() => Xe(o)), s = Ov(), a = X($l, null), i = I(s === !0 || a == null ? Pv(o.value) : a.resolveTarget());
7267
+ Ie(() => {
7257
7268
  s || a != null && (i.value = a.resolveTarget());
7258
7269
  });
7259
- let c = X(yr, null);
7270
+ let c = X(_r, null);
7260
7271
  return ee(() => {
7261
7272
  let l = D(o);
7262
7273
  l && c && je(c.register(l));
@@ -7268,11 +7279,11 @@ let Cl = B({ name: "Portal", props: { as: { type: [Object, String], default: "di
7268
7279
  if (i.value === null)
7269
7280
  return null;
7270
7281
  let l = { ref: o, "data-headlessui-portal": "" };
7271
- return V(Fa, { to: i.value }, me({ ourProps: l, theirProps: e, slot: {}, attrs: n, slots: t, name: "Portal" }));
7282
+ return V(ja, { to: i.value }, me({ ourProps: l, theirProps: e, slot: {}, attrs: n, slots: t, name: "Portal" }));
7272
7283
  };
7273
- } }), yr = Symbol("PortalParentContext");
7284
+ } }), _r = Symbol("PortalParentContext");
7274
7285
  function Al() {
7275
- let e = X(yr, null), t = M([]);
7286
+ let e = X(_r, null), t = I([]);
7276
7287
  function n(s) {
7277
7288
  return t.value.push(s), e && e.register(s), () => o(s);
7278
7289
  }
@@ -7282,7 +7293,7 @@ function Al() {
7282
7293
  }
7283
7294
  let r = { register: n, unregister: o, portals: t };
7284
7295
  return [t, B({ name: "PortalWrapper", setup(s, { slots: a }) {
7285
- return se(yr, r), () => {
7296
+ return se(_r, r), () => {
7286
7297
  var i;
7287
7298
  return (i = a.default) == null ? void 0 : i.call(a);
7288
7299
  };
@@ -7296,10 +7307,10 @@ let $l = Symbol("PortalGroupContext"), Cv = B({ name: "PortalGroup", props: { as
7296
7307
  let { target: r, ...s } = e;
7297
7308
  return me({ theirProps: s, ourProps: {}, slot: {}, attrs: t, slots: n, name: "PortalGroup" });
7298
7309
  };
7299
- } }), Ml = Symbol("StackContext");
7300
- var _r = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(_r || {});
7310
+ } }), Il = Symbol("StackContext");
7311
+ var wr = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(wr || {});
7301
7312
  function Av() {
7302
- return X(Ml, () => {
7313
+ return X(Il, () => {
7303
7314
  });
7304
7315
  }
7305
7316
  function $v({ type: e, enabled: t, element: n, onUpdate: o }) {
@@ -7313,34 +7324,34 @@ function $v({ type: e, enabled: t, element: n, onUpdate: o }) {
7313
7324
  }, { immediate: !0, flush: "sync" });
7314
7325
  }), je(() => {
7315
7326
  t.value && s(1, e, n);
7316
- }), se(Ml, s);
7327
+ }), se(Il, s);
7317
7328
  }
7318
- let Il = Symbol("DescriptionContext");
7319
- function Mv() {
7320
- let e = X(Il, null);
7329
+ let Ml = Symbol("DescriptionContext");
7330
+ function Iv() {
7331
+ let e = X(Ml, null);
7321
7332
  if (e === null)
7322
7333
  throw new Error("Missing parent");
7323
7334
  return e;
7324
7335
  }
7325
- function Iv({ slot: e = M({}), name: t = "Description", props: n = {} } = {}) {
7326
- let o = M([]);
7336
+ function Mv({ slot: e = I({}), name: t = "Description", props: n = {} } = {}) {
7337
+ let o = I([]);
7327
7338
  function r(s) {
7328
7339
  return o.value.push(s), () => {
7329
7340
  let a = o.value.indexOf(s);
7330
7341
  a !== -1 && o.value.splice(a, 1);
7331
7342
  };
7332
7343
  }
7333
- return se(Il, { register: r, slot: e, name: t, props: n }), T(() => o.value.length > 0 ? o.value.join(" ") : void 0);
7344
+ return se(Ml, { register: r, slot: e, name: t, props: n }), T(() => o.value.length > 0 ? o.value.join(" ") : void 0);
7334
7345
  }
7335
7346
  B({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${Ce()}` } }, setup(e, { attrs: t, slots: n }) {
7336
- let o = Mv();
7347
+ let o = Iv();
7337
7348
  return ee(() => je(o.register(e.id))), () => {
7338
- let { name: r = "Description", slot: s = M({}), props: a = {} } = o, { id: i, ...c } = e, l = { ...Object.entries(a).reduce((u, [d, p]) => Object.assign(u, { [d]: w(p) }), {}), id: i };
7349
+ let { name: r = "Description", slot: s = I({}), props: a = {} } = o, { id: i, ...c } = e, l = { ...Object.entries(a).reduce((u, [d, p]) => Object.assign(u, { [d]: w(p) }), {}), id: i };
7339
7350
  return me({ ourProps: l, theirProps: c, slot: s.value, attrs: t, slots: n, name: r });
7340
7351
  };
7341
7352
  } });
7342
7353
  function Rv(e) {
7343
- let t = Sr(e.getSnapshot());
7354
+ let t = kr(e.getSnapshot());
7344
7355
  return je(e.subscribe(() => {
7345
7356
  t.value = e.getSnapshot();
7346
7357
  })), t;
@@ -7447,7 +7458,7 @@ function Bv(e, t, n) {
7447
7458
  }, { immediate: !0 }), r;
7448
7459
  }
7449
7460
  function Rl({ defaultContainers: e = [], portals: t } = {}) {
7450
- let n = M(null), o = Xe(n);
7461
+ let n = I(null), o = Xe(n);
7451
7462
  function r() {
7452
7463
  var s;
7453
7464
  let a = [];
@@ -7467,61 +7478,61 @@ function Rl({ defaultContainers: e = [], portals: t } = {}) {
7467
7478
  } };
7468
7479
  }
7469
7480
  var Hv = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Hv || {});
7470
- let wr = Symbol("DialogContext");
7471
- function Mn(e) {
7472
- let t = X(wr, null);
7481
+ let xr = Symbol("DialogContext");
7482
+ function In(e) {
7483
+ let t = X(xr, null);
7473
7484
  if (t === null) {
7474
7485
  let n = new Error(`<${e} /> is missing a parent <Dialog /> component.`);
7475
- throw Error.captureStackTrace && Error.captureStackTrace(n, Mn), n;
7486
+ throw Error.captureStackTrace && Error.captureStackTrace(n, In), n;
7476
7487
  }
7477
7488
  return t;
7478
7489
  }
7479
7490
  let Jn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", zv = B({ 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: Jn }, 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 }) {
7480
7491
  var s;
7481
- let a = M(!1);
7492
+ let a = I(!1);
7482
7493
  ee(() => {
7483
7494
  a.value = !0;
7484
7495
  });
7485
- let i = M(0), c = ts(), l = T(() => e.open === Jn && c !== null ? (c.value & Ne.Open) === Ne.Open : e.open), u = M(null), d = T(() => Xe(u));
7496
+ let i = I(0), c = ns(), l = T(() => e.open === Jn && c !== null ? (c.value & Ne.Open) === Ne.Open : e.open), u = I(null), d = T(() => Xe(u));
7486
7497
  if (r({ el: u, $el: u }), !(e.open !== Jn || c !== null))
7487
7498
  throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
7488
7499
  if (typeof l.value != "boolean")
7489
7500
  throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l.value === Jn ? void 0 : e.open}`);
7490
- let p = T(() => a.value && l.value ? 0 : 1), g = T(() => p.value === 0), f = T(() => i.value > 1), h = X(wr, null) !== null, [b, v] = Al(), { resolveContainers: S, mainTreeNodeRef: O, MainTreeNode: $ } = Rl({ portals: b, defaultContainers: [T(() => {
7501
+ let p = T(() => a.value && l.value ? 0 : 1), g = T(() => p.value === 0), f = T(() => i.value > 1), h = X(xr, null) !== null, [b, v] = Al(), { resolveContainers: S, mainTreeNodeRef: O, MainTreeNode: $ } = Rl({ portals: b, defaultContainers: [T(() => {
7491
7502
  var C;
7492
7503
  return (C = R.panelRef.value) != null ? C : u.value;
7493
- })] }), P = T(() => f.value ? "parent" : "leaf"), I = T(() => c !== null ? (c.value & Ne.Closing) === Ne.Closing : !1), y = T(() => h || I.value ? !1 : g.value), L = T(() => {
7504
+ })] }), P = T(() => f.value ? "parent" : "leaf"), M = T(() => c !== null ? (c.value & Ne.Closing) === Ne.Closing : !1), y = T(() => h || M.value ? !1 : g.value), L = T(() => {
7494
7505
  var C, j, J;
7495
7506
  return (J = Array.from((j = (C = d.value) == null ? void 0 : C.querySelectorAll("body > *")) != null ? j : []).find((oe) => oe.id === "headlessui-portal-root" ? !1 : oe.contains(D(O)) && oe instanceof HTMLElement)) != null ? J : null;
7496
7507
  });
7497
- Oa(L, y);
7508
+ Pa(L, y);
7498
7509
  let z = T(() => f.value ? !0 : g.value), k = T(() => {
7499
7510
  var C, j, J;
7500
7511
  return (J = Array.from((j = (C = d.value) == null ? void 0 : C.querySelectorAll("[data-headlessui-portal]")) != null ? j : []).find((oe) => oe.contains(D(O)) && oe instanceof HTMLElement)) != null ? J : null;
7501
7512
  });
7502
- Oa(k, z), $v({ type: "Dialog", enabled: T(() => p.value === 0), element: u, onUpdate: (C, j) => {
7513
+ Pa(k, z), $v({ type: "Dialog", enabled: T(() => p.value === 0), element: u, onUpdate: (C, j) => {
7503
7514
  if (j === "Dialog")
7504
- return ke(C, { [_r.Add]: () => i.value += 1, [_r.Remove]: () => i.value -= 1 });
7515
+ return ke(C, { [wr.Add]: () => i.value += 1, [wr.Remove]: () => i.value -= 1 });
7505
7516
  } });
7506
- let _ = Iv({ name: "DialogDescription", slot: T(() => ({ open: l.value })) }), x = M(null), R = { titleId: x, panelRef: M(null), dialogState: p, setTitleId(C) {
7517
+ let _ = Mv({ name: "DialogDescription", slot: T(() => ({ open: l.value })) }), x = I(null), R = { titleId: x, panelRef: I(null), dialogState: p, setTitleId(C) {
7507
7518
  x.value !== C && (x.value = C);
7508
7519
  }, close() {
7509
7520
  t("close", !1);
7510
7521
  } };
7511
- se(wr, R);
7522
+ se(xr, R);
7512
7523
  let U = T(() => !(!g.value || f.value));
7513
7524
  xl(S, (C, j) => {
7514
7525
  R.close(), Ge(() => j == null ? void 0 : j.focus());
7515
7526
  }, U);
7516
7527
  let q = T(() => !(f.value || p.value !== 0));
7517
- rs((s = d.value) == null ? void 0 : s.defaultView, "keydown", (C) => {
7528
+ ss((s = d.value) == null ? void 0 : s.defaultView, "keydown", (C) => {
7518
7529
  q.value && (C.defaultPrevented || C.key === nt.Escape && (C.preventDefault(), C.stopPropagation(), R.close()));
7519
7530
  });
7520
- let H = T(() => !(I.value || p.value !== 0 || h));
7531
+ let H = T(() => !(M.value || p.value !== 0 || h));
7521
7532
  return Bv(d, H, (C) => {
7522
7533
  var j;
7523
7534
  return { containers: [...(j = C.containers) != null ? j : [], S] };
7524
- }), Me((C) => {
7535
+ }), Ie((C) => {
7525
7536
  if (p.value !== 0)
7526
7537
  return;
7527
7538
  let j = D(u);
@@ -7536,11 +7547,11 @@ let Jn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", zv = B({ name: "Dialog", inheri
7536
7547
  J.observe(j), C(() => J.disconnect());
7537
7548
  }), () => {
7538
7549
  let { id: C, open: j, initialFocus: J, ...oe } = e, Ye = { ...n, ref: u, id: C, role: "dialog", "aria-modal": p.value === 0 ? !0 : void 0, "aria-labelledby": x.value, "aria-describedby": _.value }, Te = { open: p.value === 0 };
7539
- return V(br, { force: !0 }, () => [V(Cl, () => V(Cv, { target: u.value }, () => V(br, { force: !1 }, () => V(fn, { initialFocus: J, containers: S, features: g.value ? ke(P.value, { parent: fn.features.RestoreFocus, leaf: fn.features.All & ~fn.features.FocusLock }) : fn.features.None }, () => V(v, {}, () => me({ ourProps: Ye, theirProps: { ...oe, ...n }, slot: Te, attrs: n, slots: o, visible: p.value === 0, features: Tt.RenderStrategy | Tt.Static, name: "Dialog" })))))), V($)]);
7550
+ return V(yr, { force: !0 }, () => [V(Cl, () => V(Cv, { target: u.value }, () => V(yr, { force: !1 }, () => V(fn, { initialFocus: J, containers: S, features: g.value ? ke(P.value, { parent: fn.features.RestoreFocus, leaf: fn.features.All & ~fn.features.FocusLock }) : fn.features.None }, () => V(v, {}, () => me({ ourProps: Ye, theirProps: { ...oe, ...n }, slot: Te, attrs: n, slots: o, visible: p.value === 0, features: Tt.RenderStrategy | Tt.Static, name: "Dialog" })))))), V($)]);
7540
7551
  };
7541
7552
  } });
7542
7553
  B({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-overlay-${Ce()}` } }, setup(e, { attrs: t, slots: n }) {
7543
- let o = Mn("DialogOverlay");
7554
+ let o = In("DialogOverlay");
7544
7555
  function r(s) {
7545
7556
  s.target === s.currentTarget && (s.preventDefault(), s.stopPropagation(), o.close());
7546
7557
  }
@@ -7550,17 +7561,17 @@ B({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div"
7550
7561
  };
7551
7562
  } });
7552
7563
  B({ 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 }) {
7553
- let r = Mn("DialogBackdrop"), s = M(null);
7564
+ let r = In("DialogBackdrop"), s = I(null);
7554
7565
  return o({ el: s, $el: s }), ee(() => {
7555
7566
  if (r.panelRef.value === null)
7556
7567
  throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
7557
7568
  }), () => {
7558
7569
  let { id: a, ...i } = e, c = { id: a, ref: s, "aria-hidden": !0 };
7559
- return V(br, { force: !0 }, () => V(Cl, () => me({ ourProps: c, theirProps: { ...t, ...i }, slot: { open: r.dialogState.value === 0 }, attrs: t, slots: n, name: "DialogBackdrop" })));
7570
+ return V(yr, { force: !0 }, () => V(Cl, () => me({ ourProps: c, theirProps: { ...t, ...i }, slot: { open: r.dialogState.value === 0 }, attrs: t, slots: n, name: "DialogBackdrop" })));
7560
7571
  };
7561
7572
  } });
7562
7573
  let Uv = B({ 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 }) {
7563
- let r = Mn("DialogPanel");
7574
+ let r = In("DialogPanel");
7564
7575
  o({ el: r.panelRef, $el: r.panelRef });
7565
7576
  function s(a) {
7566
7577
  a.stopPropagation();
@@ -7571,7 +7582,7 @@ let Uv = B({ name: "DialogPanel", props: { as: { type: [Object, String], default
7571
7582
  };
7572
7583
  } });
7573
7584
  B({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }, id: { type: String, default: () => `headlessui-dialog-title-${Ce()}` } }, setup(e, { attrs: t, slots: n }) {
7574
- let o = Mn("DialogTitle");
7585
+ let o = In("DialogTitle");
7575
7586
  return ee(() => {
7576
7587
  o.setTitleId(e.id), je(() => o.setTitleId(null));
7577
7588
  }), () => {
@@ -7581,11 +7592,11 @@ B({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" },
7581
7592
  } });
7582
7593
  var Vv = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Vv || {});
7583
7594
  let Nl = Symbol("PopoverContext");
7584
- function Io(e) {
7595
+ function Ro(e) {
7585
7596
  let t = X(Nl, null);
7586
7597
  if (t === null) {
7587
7598
  let n = new Error(`<${e} /> is missing a parent <${Dl.name} /> component.`);
7588
- throw Error.captureStackTrace && Error.captureStackTrace(n, Io), n;
7599
+ throw Error.captureStackTrace && Error.captureStackTrace(n, Ro), n;
7589
7600
  }
7590
7601
  return t;
7591
7602
  }
@@ -7599,65 +7610,65 @@ function qv() {
7599
7610
  }
7600
7611
  let Dl = B({ name: "Popover", props: { as: { type: [Object, String], default: "div" } }, setup(e, { slots: t, attrs: n, expose: o }) {
7601
7612
  var r;
7602
- let s = M(null);
7613
+ let s = I(null);
7603
7614
  o({ el: s, $el: s });
7604
- let a = M(1), i = M(null), c = M(null), l = M(null), u = M(null), d = T(() => Xe(s)), p = T(() => {
7605
- var P, I;
7615
+ let a = I(1), i = I(null), c = I(null), l = I(null), u = I(null), d = T(() => Xe(s)), p = T(() => {
7616
+ var P, M;
7606
7617
  if (!D(i) || !D(u))
7607
7618
  return !1;
7608
7619
  for (let R of document.querySelectorAll("body > *"))
7609
7620
  if (Number(R == null ? void 0 : R.contains(D(i))) ^ Number(R == null ? void 0 : R.contains(D(u))))
7610
7621
  return !0;
7611
7622
  let y = Mo(), L = y.indexOf(D(i)), z = (L + y.length - 1) % y.length, k = (L + 1) % y.length, _ = y[z], x = y[k];
7612
- return !((P = D(u)) != null && P.contains(_)) && !((I = D(u)) != null && I.contains(x));
7613
- }), g = { popoverState: a, buttonId: M(null), panelId: M(null), panel: u, button: i, isPortalled: p, beforePanelSentinel: c, afterPanelSentinel: l, togglePopover() {
7623
+ return !((P = D(u)) != null && P.contains(_)) && !((M = D(u)) != null && M.contains(x));
7624
+ }), g = { popoverState: a, buttonId: I(null), panelId: I(null), panel: u, button: i, isPortalled: p, beforePanelSentinel: c, afterPanelSentinel: l, togglePopover() {
7614
7625
  a.value = ke(a.value, { [0]: 1, [1]: 0 });
7615
7626
  }, closePopover() {
7616
7627
  a.value !== 1 && (a.value = 1);
7617
7628
  }, close(P) {
7618
7629
  g.closePopover();
7619
- let I = (() => P ? P instanceof HTMLElement ? P : P.value instanceof HTMLElement ? D(P) : D(g.button) : D(g.button))();
7620
- I == null || I.focus();
7630
+ let M = (() => P ? P instanceof HTMLElement ? P : P.value instanceof HTMLElement ? D(P) : D(g.button) : D(g.button))();
7631
+ M == null || M.focus();
7621
7632
  } };
7622
7633
  se(Nl, g), dv(T(() => ke(a.value, { [0]: Ne.Open, [1]: Ne.Closed })));
7623
7634
  let f = { buttonId: g.buttonId, panelId: g.panelId, close() {
7624
7635
  g.closePopover();
7625
7636
  } }, h = Fl(), b = h == null ? void 0 : h.registerPopover, [v, S] = Al(), O = Rl({ portals: v, defaultContainers: [i, u] });
7626
7637
  function $() {
7627
- var P, I, y, L;
7628
- return (L = h == null ? void 0 : h.isFocusWithinPopoverGroup()) != null ? L : ((P = d.value) == null ? void 0 : P.activeElement) && (((I = D(i)) == null ? void 0 : I.contains(d.value.activeElement)) || ((y = D(u)) == null ? void 0 : y.contains(d.value.activeElement)));
7638
+ var P, M, y, L;
7639
+ return (L = h == null ? void 0 : h.isFocusWithinPopoverGroup()) != null ? L : ((P = d.value) == null ? void 0 : P.activeElement) && (((M = D(i)) == null ? void 0 : M.contains(d.value.activeElement)) || ((y = D(u)) == null ? void 0 : y.contains(d.value.activeElement)));
7629
7640
  }
7630
- return Me(() => b == null ? void 0 : b(f)), rs((r = d.value) == null ? void 0 : r.defaultView, "focus", (P) => {
7631
- var I, y;
7632
- P.target !== window && P.target instanceof HTMLElement && a.value === 0 && ($() || i && u && (O.contains(P.target) || (I = D(g.beforePanelSentinel)) != null && I.contains(P.target) || (y = D(g.afterPanelSentinel)) != null && y.contains(P.target) || g.closePopover()));
7633
- }, !0), xl(O.resolveContainers, (P, I) => {
7641
+ return Ie(() => b == null ? void 0 : b(f)), ss((r = d.value) == null ? void 0 : r.defaultView, "focus", (P) => {
7642
+ var M, y;
7643
+ P.target !== window && P.target instanceof HTMLElement && a.value === 0 && ($() || i && u && (O.contains(P.target) || (M = D(g.beforePanelSentinel)) != null && M.contains(P.target) || (y = D(g.afterPanelSentinel)) != null && y.contains(P.target) || g.closePopover()));
7644
+ }, !0), xl(O.resolveContainers, (P, M) => {
7634
7645
  var y;
7635
- g.closePopover(), _l(I, ns.Loose) || (P.preventDefault(), (y = D(i)) == null || y.focus());
7646
+ g.closePopover(), _l(M, os.Loose) || (P.preventDefault(), (y = D(i)) == null || y.focus());
7636
7647
  }, T(() => a.value === 0)), () => {
7637
7648
  let P = { open: a.value === 0, close: g.close };
7638
7649
  return V(S, {}, () => me({ theirProps: { ...e, ...n }, ourProps: { ref: s }, slot: P, slots: t, attrs: n, name: "Popover" }));
7639
7650
  };
7640
7651
  } }), Wv = B({ 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 }) {
7641
- let r = Io("PopoverButton"), s = T(() => Xe(r.button));
7652
+ let r = Ro("PopoverButton"), s = T(() => Xe(r.button));
7642
7653
  o({ el: r.button, $el: r.button }), ee(() => {
7643
7654
  r.buttonId.value = e.id;
7644
7655
  }), je(() => {
7645
7656
  r.buttonId.value = null;
7646
7657
  });
7647
- let a = Fl(), i = a == null ? void 0 : a.closeOthers, c = qv(), l = T(() => c === null ? !1 : c.value === r.panelId.value), u = M(null), d = `headlessui-focus-sentinel-${Ce()}`;
7648
- l.value || Me(() => {
7658
+ let a = Fl(), i = a == null ? void 0 : a.closeOthers, c = qv(), l = T(() => c === null ? !1 : c.value === r.panelId.value), u = I(null), d = `headlessui-focus-sentinel-${Ce()}`;
7659
+ l.value || Ie(() => {
7649
7660
  r.button.value = u.value;
7650
7661
  });
7651
7662
  let p = pv(T(() => ({ as: e.as, type: t.type })), u);
7652
7663
  function g(O) {
7653
- var $, P, I, y, L;
7664
+ var $, P, M, y, L;
7654
7665
  if (l.value) {
7655
7666
  if (r.popoverState.value === 1)
7656
7667
  return;
7657
7668
  switch (O.key) {
7658
7669
  case nt.Space:
7659
7670
  case nt.Enter:
7660
- O.preventDefault(), (P = ($ = O.target).click) == null || P.call($), r.closePopover(), (I = D(r.button)) == null || I.focus();
7671
+ O.preventDefault(), (P = ($ = O.target).click) == null || P.call($), r.closePopover(), (M = D(r.button)) == null || M.focus();
7661
7672
  break;
7662
7673
  }
7663
7674
  } else
@@ -7685,7 +7696,7 @@ let Dl = B({ name: "Popover", props: { as: { type: [Object, String], default: "d
7685
7696
  function b(O) {
7686
7697
  O.preventDefault(), O.stopPropagation();
7687
7698
  }
7688
- let v = os();
7699
+ let v = rs();
7689
7700
  function S() {
7690
7701
  let O = D(r.panel);
7691
7702
  if (!O)
@@ -7696,12 +7707,12 @@ let Dl = B({ name: "Popover", props: { as: { type: [Object, String], default: "d
7696
7707
  $();
7697
7708
  }
7698
7709
  return () => {
7699
- let O = r.popoverState.value === 0, $ = { open: O }, { id: P, ...I } = e, y = l.value ? { ref: u, type: p.value, onKeydown: g, onClick: h } : { ref: u, id: P, type: p.value, "aria-expanded": e.disabled ? void 0 : r.popoverState.value === 0, "aria-controls": D(r.panel) ? r.panelId.value : void 0, disabled: e.disabled ? !0 : void 0, onKeydown: g, onKeyup: f, onClick: h, onMousedown: b };
7700
- return V(re, [me({ ourProps: y, theirProps: { ...t, ...I }, slot: $, attrs: t, slots: n, name: "PopoverButton" }), O && !l.value && r.isPortalled.value && V(Kt, { id: d, features: Ot.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: S })]);
7710
+ let O = r.popoverState.value === 0, $ = { open: O }, { id: P, ...M } = e, y = l.value ? { ref: u, type: p.value, onKeydown: g, onClick: h } : { ref: u, id: P, type: p.value, "aria-expanded": e.disabled ? void 0 : r.popoverState.value === 0, "aria-controls": D(r.panel) ? r.panelId.value : void 0, disabled: e.disabled ? !0 : void 0, onKeydown: g, onKeyup: f, onClick: h, onMousedown: b };
7711
+ return V(re, [me({ ourProps: y, theirProps: { ...t, ...M }, slot: $, attrs: t, slots: n, name: "PopoverButton" }), O && !l.value && r.isPortalled.value && V(Kt, { id: d, features: Ot.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: S })]);
7701
7712
  };
7702
7713
  } });
7703
7714
  B({ name: "PopoverOverlay", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 } }, setup(e, { attrs: t, slots: n }) {
7704
- let o = Io("PopoverOverlay"), r = `headlessui-popover-overlay-${Ce()}`, s = ts(), a = T(() => s !== null ? (s.value & Ne.Open) === Ne.Open : o.popoverState.value === 0);
7715
+ let o = Ro("PopoverOverlay"), r = `headlessui-popover-overlay-${Ce()}`, s = ns(), a = T(() => s !== null ? (s.value & Ne.Open) === Ne.Open : o.popoverState.value === 0);
7705
7716
  function i() {
7706
7717
  o.closePopover();
7707
7718
  }
@@ -7711,19 +7722,19 @@ B({ name: "PopoverOverlay", props: { as: { type: [Object, String], default: "div
7711
7722
  };
7712
7723
  } });
7713
7724
  let Gv = B({ 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 }) {
7714
- let { focus: r } = e, s = Io("PopoverPanel"), a = T(() => Xe(s.panel)), i = `headlessui-focus-sentinel-before-${Ce()}`, c = `headlessui-focus-sentinel-after-${Ce()}`;
7725
+ let { focus: r } = e, s = Ro("PopoverPanel"), a = T(() => Xe(s.panel)), i = `headlessui-focus-sentinel-before-${Ce()}`, c = `headlessui-focus-sentinel-after-${Ce()}`;
7715
7726
  o({ el: s.panel, $el: s.panel }), ee(() => {
7716
7727
  s.panelId.value = e.id;
7717
7728
  }), je(() => {
7718
7729
  s.panelId.value = null;
7719
- }), se(jl, s.panelId), Me(() => {
7730
+ }), se(jl, s.panelId), Ie(() => {
7720
7731
  var b, v;
7721
7732
  if (!r || s.popoverState.value !== 0 || !s.panel)
7722
7733
  return;
7723
7734
  let S = (b = a.value) == null ? void 0 : b.activeElement;
7724
7735
  (v = D(s.panel)) != null && v.contains(S) || Le(D(s.panel), he.First);
7725
7736
  });
7726
- let l = ts(), u = T(() => l !== null ? (l.value & Ne.Open) === Ne.Open : s.popoverState.value === 0);
7737
+ let l = ns(), u = T(() => l !== null ? (l.value & Ne.Open) === Ne.Open : s.popoverState.value === 0);
7727
7738
  function d(b) {
7728
7739
  var v, S;
7729
7740
  switch (b.key) {
@@ -7736,10 +7747,10 @@ let Gv = B({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
7736
7747
  }
7737
7748
  function p(b) {
7738
7749
  var v, S, O, $, P;
7739
- let I = b.relatedTarget;
7740
- I && D(s.panel) && ((v = D(s.panel)) != null && v.contains(I) || (s.closePopover(), ((O = (S = D(s.beforePanelSentinel)) == null ? void 0 : S.contains) != null && O.call(S, I) || (P = ($ = D(s.afterPanelSentinel)) == null ? void 0 : $.contains) != null && P.call($, I)) && I.focus({ preventScroll: !0 })));
7750
+ let M = b.relatedTarget;
7751
+ M && D(s.panel) && ((v = D(s.panel)) != null && v.contains(M) || (s.closePopover(), ((O = (S = D(s.beforePanelSentinel)) == null ? void 0 : S.contains) != null && O.call(S, M) || (P = ($ = D(s.afterPanelSentinel)) == null ? void 0 : $.contains) != null && P.call($, M)) && M.focus({ preventScroll: !0 })));
7741
7752
  }
7742
- let g = os();
7753
+ let g = rs();
7743
7754
  function f() {
7744
7755
  let b = D(s.panel);
7745
7756
  if (!b)
@@ -7764,7 +7775,7 @@ let Gv = B({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
7764
7775
  let S = D(s.button), O = D(s.panel);
7765
7776
  if (!S)
7766
7777
  return;
7767
- let $ = Mo(), P = $.indexOf(S), I = $.slice(0, P + 1), y = [...$.slice(P + 1), ...I];
7778
+ let $ = Mo(), P = $.indexOf(S), M = $.slice(0, P + 1), y = [...$.slice(P + 1), ...M];
7768
7779
  for (let L of y.slice())
7769
7780
  if (L.dataset.headlessuiFocusGuard === "true" || O != null && O.contains(L)) {
7770
7781
  let z = y.indexOf(L);
@@ -7781,13 +7792,13 @@ let Gv = B({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
7781
7792
  return () => {
7782
7793
  let b = { open: s.popoverState.value === 0, close: s.close }, { id: v, focus: S, ...O } = e, $ = { ref: s.panel, id: v, onKeydown: d, onFocusout: r && s.popoverState.value === 0 ? p : void 0, tabIndex: -1 };
7783
7794
  return me({ ourProps: $, theirProps: { ...t, ...O }, attrs: t, slot: b, slots: { ...n, default: (...P) => {
7784
- var I;
7785
- return [V(re, [u.value && s.isPortalled.value && V(Kt, { id: i, ref: s.beforePanelSentinel, features: Ot.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: f }), (I = n.default) == null ? void 0 : I.call(n, ...P), u.value && s.isPortalled.value && V(Kt, { id: c, ref: s.afterPanelSentinel, features: Ot.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: h })])];
7795
+ var M;
7796
+ return [V(re, [u.value && s.isPortalled.value && V(Kt, { id: i, ref: s.beforePanelSentinel, features: Ot.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: f }), (M = n.default) == null ? void 0 : M.call(n, ...P), u.value && s.isPortalled.value && V(Kt, { id: c, ref: s.afterPanelSentinel, features: Ot.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: h })])];
7786
7797
  } }, features: Tt.RenderStrategy | Tt.Static, visible: u.value, name: "PopoverPanel" });
7787
7798
  };
7788
7799
  } });
7789
7800
  B({ name: "PopoverGroup", props: { as: { type: [Object, String], default: "div" } }, setup(e, { attrs: t, slots: n, expose: o }) {
7790
- let r = M(null), s = Sr([]), a = T(() => Xe(r));
7801
+ let r = I(null), s = kr([]), a = T(() => Xe(r));
7791
7802
  o({ el: r, $el: r });
7792
7803
  function i(d) {
7793
7804
  let p = s.value.indexOf(d);
@@ -7847,15 +7858,15 @@ function Jv(e, t) {
7847
7858
  })
7848
7859
  ]);
7849
7860
  }
7850
- const It = (e, t) => {
7861
+ const Mt = (e, t) => {
7851
7862
  const n = e.__vccOpts || e;
7852
7863
  for (const [o, r] of t)
7853
7864
  n[o] = r;
7854
7865
  return n;
7855
- }, Pa = on(), Zv = {
7866
+ }, Ca = on(), Zv = {
7856
7867
  data() {
7857
7868
  return {
7858
- childPath: Pa,
7869
+ childPath: Ca,
7859
7870
  isSignup: !1,
7860
7871
  email: "",
7861
7872
  emailErrorHelp: "",
@@ -8050,7 +8061,7 @@ const It = (e, t) => {
8050
8061
  background: "rgba(0, 0, 0, 0.7)"
8051
8062
  });
8052
8063
  sv(this.email, this.name, this.password).then((n) => {
8053
- window.open(Pa + n.url, "_blank"), t.close();
8064
+ window.open(Ca + n.url, "_blank"), t.close();
8054
8065
  try {
8055
8066
  document.body.classList.remove("el-loading-parent--relative");
8056
8067
  } catch {
@@ -8220,7 +8231,7 @@ function E0(e, t, n, o, r, s) {
8220
8231
  544
8221
8232
  /* HYDRATE_EVENTS, NEED_PATCH */
8222
8233
  ), [
8223
- [Lo, r.email]
8234
+ [Fo, r.email]
8224
8235
  ]),
8225
8236
  r.emailErrorHelp ? (A(), N(
8226
8237
  "p",
@@ -8243,7 +8254,7 @@ function E0(e, t, n, o, r, s) {
8243
8254
  512
8244
8255
  /* NEED_PATCH */
8245
8256
  ), [
8246
- [Lo, r.name]
8257
+ [Fo, r.name]
8247
8258
  ])
8248
8259
  ])) : F("v-if", !0),
8249
8260
  m("div", h0, [
@@ -8262,7 +8273,7 @@ function E0(e, t, n, o, r, s) {
8262
8273
  544
8263
8274
  /* HYDRATE_EVENTS, NEED_PATCH */
8264
8275
  ), [
8265
- [Lo, r.password]
8276
+ [Fo, r.password]
8266
8277
  ]),
8267
8278
  r.passwordErrorHelp ? (A(), N("p", g0, [
8268
8279
  ce(
@@ -8303,7 +8314,7 @@ function E0(e, t, n, o, r, s) {
8303
8314
  </div> `)
8304
8315
  ]);
8305
8316
  }
8306
- const Bl = /* @__PURE__ */ It(Zv, [["render", E0], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
8317
+ const Bl = /* @__PURE__ */ Mt(Zv, [["render", E0], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
8307
8318
  const S0 = {
8308
8319
  data() {
8309
8320
  return {};
@@ -8359,14 +8370,14 @@ function A0(e, t, n, o, r, s) {
8359
8370
  ])
8360
8371
  ]);
8361
8372
  }
8362
- const $0 = /* @__PURE__ */ It(S0, [["render", A0], ["__scopeId", "data-v-47199182"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/Login.vue"]]);
8373
+ const $0 = /* @__PURE__ */ Mt(S0, [["render", A0], ["__scopeId", "data-v-47199182"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/Login.vue"]]);
8363
8374
  /*!
8364
8375
  * pinia v2.1.4
8365
8376
  * (c) 2023 Eduardo San Martin Morote
8366
8377
  * @license MIT
8367
8378
  */
8368
8379
  let vn;
8369
- const vo = (e) => vn = e, M0 = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
8380
+ const bo = (e) => vn = e, I0 = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
8370
8381
  /* istanbul ignore next */
8371
8382
  Symbol()
8372
8383
  );
@@ -8377,40 +8388,40 @@ var _n;
8377
8388
  (function(e) {
8378
8389
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
8379
8390
  })(_n || (_n = {}));
8380
- const ss = typeof window < "u", er = (process.env.NODE_ENV !== "production" || !1) && process.env.NODE_ENV !== "test" && ss;
8391
+ const as = typeof window < "u", tr = (process.env.NODE_ENV !== "production" || !1) && process.env.NODE_ENV !== "test" && as;
8381
8392
  function Hl(e, t) {
8382
8393
  for (const n in t) {
8383
8394
  const o = t[n];
8384
8395
  if (!(n in e))
8385
8396
  continue;
8386
8397
  const r = e[n];
8387
- Pt(r) && Pt(o) && !wt(o) && !Tr(o) ? e[n] = Hl(r, o) : e[n] = o;
8398
+ Pt(r) && Pt(o) && !wt(o) && !Or(o) ? e[n] = Hl(r, o) : e[n] = o;
8388
8399
  }
8389
8400
  return e;
8390
8401
  }
8391
8402
  const zl = () => {
8392
8403
  };
8393
- function Ca(e, t, n, o = zl) {
8404
+ function Aa(e, t, n, o = zl) {
8394
8405
  e.push(t);
8395
8406
  const r = () => {
8396
8407
  const s = e.indexOf(t);
8397
8408
  s > -1 && (e.splice(s, 1), o());
8398
8409
  };
8399
- return !n && Ia() && Ra(r), r;
8410
+ return !n && Ra() && Na(r), r;
8400
8411
  }
8401
8412
  function Ft(e, ...t) {
8402
8413
  e.slice().forEach((n) => {
8403
8414
  n(...t);
8404
8415
  });
8405
8416
  }
8406
- const I0 = (e) => e();
8407
- function xr(e, t) {
8417
+ const M0 = (e) => e();
8418
+ function Er(e, t) {
8408
8419
  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);
8409
8420
  for (const n in t) {
8410
8421
  if (!t.hasOwnProperty(n))
8411
8422
  continue;
8412
8423
  const o = t[n], r = e[n];
8413
- Pt(r) && Pt(o) && e.hasOwnProperty(n) && !wt(o) && !Tr(o) ? e[n] = xr(r, o) : e[n] = o;
8424
+ Pt(r) && Pt(o) && e.hasOwnProperty(n) && !wt(o) && !Or(o) ? e[n] = Er(r, o) : e[n] = o;
8414
8425
  }
8415
8426
  return e;
8416
8427
  }
@@ -8422,27 +8433,27 @@ function N0(e) {
8422
8433
  return !Pt(e) || !e.hasOwnProperty(R0);
8423
8434
  }
8424
8435
  const { assign: Oe } = Object;
8425
- function Aa(e) {
8436
+ function $a(e) {
8426
8437
  return !!(wt(e) && e.effect);
8427
8438
  }
8428
- function $a(e, t, n, o) {
8439
+ function Ia(e, t, n, o) {
8429
8440
  const { state: r, actions: s, getters: a } = t, i = n.state.value[e];
8430
8441
  let c;
8431
8442
  function l() {
8432
8443
  !i && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
8433
8444
  const u = process.env.NODE_ENV !== "production" && o ? (
8434
8445
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
8435
- tr(M(r ? r() : {}).value)
8436
- ) : tr(n.state.value[e]);
8446
+ nr(I(r ? r() : {}).value)
8447
+ ) : nr(n.state.value[e]);
8437
8448
  return Oe(u, s, Object.keys(a || {}).reduce((d, p) => (process.env.NODE_ENV !== "production" && p in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${p}" in store "${e}".`), d[p] = mn(T(() => {
8438
- vo(n);
8449
+ bo(n);
8439
8450
  const g = n._s.get(e);
8440
8451
  return a[p].call(g, g);
8441
8452
  })), d), {}));
8442
8453
  }
8443
- return c = Er(e, l, t, n, o, !0), c;
8454
+ return c = Sr(e, l, t, n, o, !0), c;
8444
8455
  }
8445
- function Er(e, t, n = {}, o, r, s) {
8456
+ function Sr(e, t, n = {}, o, r, s) {
8446
8457
  let a;
8447
8458
  const i = Oe({ actions: {} }, n);
8448
8459
  if (process.env.NODE_ENV !== "production" && !o._e.active)
@@ -8457,7 +8468,7 @@ function Er(e, t, n = {}, o, r, s) {
8457
8468
  let l, u, d = [], p = [], g;
8458
8469
  const f = o.state.value[e];
8459
8470
  !s && !f && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
8460
- const h = M({});
8471
+ const h = I({});
8461
8472
  let b;
8462
8473
  function v(k) {
8463
8474
  let _;
@@ -8465,7 +8476,7 @@ function Er(e, t, n = {}, o, r, s) {
8465
8476
  type: _n.patchFunction,
8466
8477
  storeId: e,
8467
8478
  events: g
8468
- }) : (xr(o.state.value[e], k), _ = {
8479
+ }) : (Er(o.state.value[e], k), _ = {
8469
8480
  type: _n.patchObject,
8470
8481
  payload: k,
8471
8482
  storeId: e,
@@ -8492,7 +8503,7 @@ function Er(e, t, n = {}, o, r, s) {
8492
8503
  }
8493
8504
  function $(k, _) {
8494
8505
  return function() {
8495
- vo(o);
8506
+ bo(o);
8496
8507
  const x = Array.from(arguments), R = [], U = [];
8497
8508
  function q(j) {
8498
8509
  R.push(j);
@@ -8521,15 +8532,15 @@ function Er(e, t, n = {}, o, r, s) {
8521
8532
  getters: {},
8522
8533
  state: [],
8523
8534
  hotState: h
8524
- }), I = {
8535
+ }), M = {
8525
8536
  _p: o,
8526
8537
  // _s: scope,
8527
8538
  $id: e,
8528
- $onAction: Ca.bind(null, p),
8539
+ $onAction: Aa.bind(null, p),
8529
8540
  $patch: v,
8530
8541
  $reset: S,
8531
8542
  $subscribe(k, _ = {}) {
8532
- const x = Ca(d, k, _.detached, () => R()), R = a.run(() => Z(() => o.state.value[e], (U) => {
8543
+ const x = Aa(d, k, _.detached, () => R()), R = a.run(() => Z(() => o.state.value[e], (U) => {
8533
8544
  (_.flush === "sync" ? u : l) && k({
8534
8545
  storeId: e,
8535
8546
  type: _n.direct,
@@ -8539,30 +8550,30 @@ function Er(e, t, n = {}, o, r, s) {
8539
8550
  return x;
8540
8551
  },
8541
8552
  $dispose: O
8542
- }, y = Xt(process.env.NODE_ENV !== "production" || er ? Oe(
8553
+ }, y = Xt(process.env.NODE_ENV !== "production" || tr ? Oe(
8543
8554
  {
8544
8555
  _hmrPayload: P,
8545
8556
  _customProperties: mn(/* @__PURE__ */ new Set())
8546
8557
  // devtools custom properties
8547
8558
  },
8548
- I
8559
+ M
8549
8560
  // must be added later
8550
8561
  // setupStore
8551
- ) : I);
8562
+ ) : M);
8552
8563
  o._s.set(e, y);
8553
- const L = o._a && o._a.runWithContext || I0, z = o._e.run(() => (a = ic(), L(() => a.run(t))));
8564
+ const L = o._a && o._a.runWithContext || M0, z = o._e.run(() => (a = ic(), L(() => a.run(t))));
8554
8565
  for (const k in z) {
8555
8566
  const _ = z[k];
8556
- if (wt(_) && !Aa(_) || Tr(_))
8557
- process.env.NODE_ENV !== "production" && r ? jn(h.value, k, ot(z, k)) : s || (f && N0(_) && (wt(_) ? _.value = f[k] : xr(_, f[k])), o.state.value[e][k] = _), process.env.NODE_ENV !== "production" && P.state.push(k);
8567
+ if (wt(_) && !$a(_) || Or(_))
8568
+ process.env.NODE_ENV !== "production" && r ? jn(h.value, k, ot(z, k)) : s || (f && N0(_) && (wt(_) ? _.value = f[k] : Er(_, f[k])), o.state.value[e][k] = _), process.env.NODE_ENV !== "production" && P.state.push(k);
8558
8569
  else if (typeof _ == "function") {
8559
8570
  const x = process.env.NODE_ENV !== "production" && r ? _ : $(k, _);
8560
8571
  z[k] = x, process.env.NODE_ENV !== "production" && (P.actions[k] = _), i.actions[k] = _;
8561
8572
  } else
8562
- process.env.NODE_ENV !== "production" && Aa(_) && (P.getters[k] = s ? (
8573
+ process.env.NODE_ENV !== "production" && $a(_) && (P.getters[k] = s ? (
8563
8574
  // @ts-expect-error
8564
8575
  n.getters[k]
8565
- ) : _, ss && (z._getters || // @ts-expect-error: same
8576
+ ) : _, as && (z._getters || // @ts-expect-error: same
8566
8577
  (z._getters = mn([]))).push(k));
8567
8578
  }
8568
8579
  if (Oe(y, z), Oe(lc(y), z), Object.defineProperty(y, "$state", {
@@ -8582,7 +8593,7 @@ function Er(e, t, n = {}, o, r, s) {
8582
8593
  }
8583
8594
  jn(y, _, ot(k.$state, _));
8584
8595
  }), Object.keys(y.$state).forEach((_) => {
8585
- _ in k.$state || zo(y, _);
8596
+ _ in k.$state || Uo(y, _);
8586
8597
  }), l = !1, u = !1, o.state.value[e] = ot(k._hmrPayload, "hotState"), u = !0, Ge().then(() => {
8587
8598
  l = !0;
8588
8599
  });
@@ -8593,16 +8604,16 @@ function Er(e, t, n = {}, o, r, s) {
8593
8604
  for (const _ in k._hmrPayload.getters) {
8594
8605
  const x = k._hmrPayload.getters[_], R = s ? (
8595
8606
  // special handling of options api
8596
- T(() => (vo(o), x.call(y, y)))
8607
+ T(() => (bo(o), x.call(y, y)))
8597
8608
  ) : x;
8598
8609
  jn(y, _, R);
8599
8610
  }
8600
8611
  Object.keys(y._hmrPayload.getters).forEach((_) => {
8601
- _ in k._hmrPayload.getters || zo(y, _);
8612
+ _ in k._hmrPayload.getters || Uo(y, _);
8602
8613
  }), Object.keys(y._hmrPayload.actions).forEach((_) => {
8603
- _ in k._hmrPayload.actions || zo(y, _);
8614
+ _ in k._hmrPayload.actions || Uo(y, _);
8604
8615
  }), y._hmrPayload = k._hmrPayload, y._getters = k._getters, y._hotUpdating = !1;
8605
- })), er) {
8616
+ })), tr) {
8606
8617
  const k = {
8607
8618
  writable: !0,
8608
8619
  configurable: !0,
@@ -8614,7 +8625,7 @@ function Er(e, t, n = {}, o, r, s) {
8614
8625
  });
8615
8626
  }
8616
8627
  return o._p.forEach((k) => {
8617
- if (er) {
8628
+ if (tr) {
8618
8629
  const _ = a.run(() => k({
8619
8630
  store: y,
8620
8631
  app: o._a,
@@ -8644,18 +8655,18 @@ function L0(e, t, n) {
8644
8655
  const l = ac();
8645
8656
  if (i = // in test mode, ignore the argument provided as we can always retrieve a
8646
8657
  // pinia instance with getActivePinia()
8647
- (process.env.NODE_ENV === "test" && vn && vn._testing ? null : i) || (l ? X(M0, null) : null), i && vo(i), process.env.NODE_ENV !== "production" && !vn)
8658
+ (process.env.NODE_ENV === "test" && vn && vn._testing ? null : i) || (l ? X(I0, null) : null), i && bo(i), process.env.NODE_ENV !== "production" && !vn)
8648
8659
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Did you forget to install pinia?
8649
8660
  const pinia = createPinia()
8650
8661
  app.use(pinia)
8651
8662
  This will fail in production.`);
8652
- i = vn, i._s.has(o) || (s ? Er(o, t, r, i) : $a(o, r, i), process.env.NODE_ENV !== "production" && (a._pinia = i));
8663
+ i = vn, i._s.has(o) || (s ? Sr(o, t, r, i) : Ia(o, r, i), process.env.NODE_ENV !== "production" && (a._pinia = i));
8653
8664
  const u = i._s.get(o);
8654
8665
  if (process.env.NODE_ENV !== "production" && c) {
8655
- const d = "__hot:" + o, p = s ? Er(d, t, r, i, !0) : $a(d, Oe({}, r), i, !0);
8666
+ const d = "__hot:" + o, p = s ? Sr(d, t, r, i, !0) : Ia(d, Oe({}, r), i, !0);
8656
8667
  c._hotUpdate(p), delete i.state.value[d], i._s.delete(d);
8657
8668
  }
8658
- if (process.env.NODE_ENV !== "production" && ss) {
8669
+ if (process.env.NODE_ENV !== "production" && as) {
8659
8670
  const d = De();
8660
8671
  if (d && d.proxy && // avoid adding stores that are just built for hot module replacement
8661
8672
  !c) {
@@ -8685,7 +8696,7 @@ const j0 = L0("user", {
8685
8696
  actions: {
8686
8697
  getUser(e = !1) {
8687
8698
  return console.log("yichong-user"), window.getUserStatusPromise = new Promise((t, n) => {
8688
- xa(e).then(({ profile: o, subscription: r, team_subscription: s, drive: a, jwt: i }) => {
8699
+ Ea(e).then(({ profile: o, subscription: r, team_subscription: s, drive: a, jwt: i }) => {
8689
8700
  if (i && (window.g_app_jwt = i), o) {
8690
8701
  let { free_cnt: c, is_subscribed: l, detail: u, monthly_usage_cnt: d } = r;
8691
8702
  console.log(r, "subscription"), console.log(d, "monthly_usage_cnt"), c || (c = 0), u && u.ends_at && (l = new Date(u.ends_at) > /* @__PURE__ */ new Date());
@@ -8708,7 +8719,7 @@ const j0 = L0("user", {
8708
8719
  });
8709
8720
  let s = 1;
8710
8721
  const a = () => {
8711
- xa(n).then(({ profile: i, subscription: c, team_subscription: l, drive: u, jwt: d }) => {
8722
+ Ea(n).then(({ profile: i, subscription: c, team_subscription: l, drive: u, jwt: d }) => {
8712
8723
  d && (window.g_app_jwt = d);
8713
8724
  let { free_cnt: p, is_subscribed: g, detail: f } = c;
8714
8725
  p || (p = 0), f && f.ends_at && (g = new Date(f.ends_at) > /* @__PURE__ */ new Date());
@@ -8955,7 +8966,7 @@ function l1(e, t, n, o, r, s) {
8955
8966
  }, i1, 8, s1)
8956
8967
  ]);
8957
8968
  }
8958
- const Ma = /* @__PURE__ */ It(D0, [["render", l1], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
8969
+ const Ma = /* @__PURE__ */ Mt(D0, [["render", l1], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
8959
8970
  const c1 = {
8960
8971
  props: ["content", "top"]
8961
8972
  }, u1 = (e) => (Yt("data-v-7b6def48"), e = e(), Qt(), e), d1 = /* @__PURE__ */ u1(() => /* @__PURE__ */ m(
@@ -9000,7 +9011,7 @@ function p1(e, t, n, o, r, s) {
9000
9011
  /* STYLE */
9001
9012
  );
9002
9013
  }
9003
- const f1 = /* @__PURE__ */ It(c1, [["render", p1], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
9014
+ const f1 = /* @__PURE__ */ Mt(c1, [["render", p1], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
9004
9015
  const h1 = { class: "background-cover" }, m1 = /* @__PURE__ */ m(
9005
9016
  "div",
9006
9017
  { class: "invite-success" },
@@ -9085,7 +9096,7 @@ const h1 = { class: "background-cover" }, m1 = /* @__PURE__ */ m(
9085
9096
  ])
9086
9097
  ]));
9087
9098
  }
9088
- }, E1 = /* @__PURE__ */ It(x1, [["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
9099
+ }, E1 = /* @__PURE__ */ Mt(x1, [["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
9089
9100
  function S1(e, t) {
9090
9101
  return A(), N("svg", {
9091
9102
  xmlns: "http://www.w3.org/2000/svg",
@@ -9100,13 +9111,13 @@ function S1(e, t) {
9100
9111
  })
9101
9112
  ]);
9102
9113
  }
9103
- const In = (e) => (Yt("data-v-b9e2cd3f"), e = e(), Qt(), e), k1 = /* @__PURE__ */ In(() => /* @__PURE__ */ m(
9114
+ const Mn = (e) => (Yt("data-v-b9e2cd3f"), e = e(), Qt(), e), k1 = /* @__PURE__ */ Mn(() => /* @__PURE__ */ m(
9104
9115
  "span",
9105
9116
  null,
9106
9117
  "Our other apps",
9107
9118
  -1
9108
9119
  /* HOISTED */
9109
- )), T1 = /* @__PURE__ */ In(() => /* @__PURE__ */ m(
9120
+ )), T1 = /* @__PURE__ */ Mn(() => /* @__PURE__ */ m(
9110
9121
  "img",
9111
9122
  {
9112
9123
  src: "https://statics.imgkits.com/lsl_ali_icon4392779680.png ",
@@ -9115,7 +9126,7 @@ const In = (e) => (Yt("data-v-b9e2cd3f"), e = e(), Qt(), e), k1 = /* @__PURE__ *
9115
9126
  null,
9116
9127
  -1
9117
9128
  /* HOISTED */
9118
- )), O1 = ["href"], P1 = ["src"], C1 = { class: "flex flex-col pl-1" }, A1 = { class: "text-lg font-semibold" }, $1 = { class: "text-gray-500 font-semibold text-sm truncate w-52" }, M1 = /* @__PURE__ */ In(() => /* @__PURE__ */ m(
9129
+ )), O1 = ["href"], P1 = ["src"], C1 = { class: "flex flex-col pl-1" }, A1 = { class: "text-lg font-semibold" }, $1 = { class: "text-gray-500 font-semibold text-sm truncate w-52" }, I1 = /* @__PURE__ */ Mn(() => /* @__PURE__ */ m(
9119
9130
  "img",
9120
9131
  {
9121
9132
  style: { width: "20px", height: "20px", marginRight: "8px" },
@@ -9125,13 +9136,13 @@ const In = (e) => (Yt("data-v-b9e2cd3f"), e = e(), Qt(), e), k1 = /* @__PURE__ *
9125
9136
  null,
9126
9137
  -1
9127
9138
  /* HOISTED */
9128
- )), I1 = ["href"], R1 = ["src"], N1 = {
9139
+ )), M1 = ["href"], R1 = ["src"], N1 = {
9129
9140
  key: 1,
9130
9141
  class: "ml-2 h-4 flex items-center font-normal bg-[#f16a41] text-white rounded-sm px-1 text-center"
9131
9142
  }, L1 = {
9132
9143
  key: 2,
9133
9144
  class: "ml-2 h-4 flex items-center font-normal bg-[#5b4fff] text-white rounded-sm px-1 text-center"
9134
- }, F1 = /* @__PURE__ */ In(() => /* @__PURE__ */ m(
9145
+ }, F1 = /* @__PURE__ */ Mn(() => /* @__PURE__ */ m(
9135
9146
  "svg",
9136
9147
  {
9137
9148
  class: "inline-block mr-2",
@@ -9304,7 +9315,7 @@ const In = (e) => (Yt("data-v-b9e2cd3f"), e = e(), Qt(), e), k1 = /* @__PURE__ *
9304
9315
  }, H1 = {
9305
9316
  key: 2,
9306
9317
  class: "ml-2 h-4 flex items-center font-normal bg-[#5b4fff] text-white rounded-sm px-1 text-center"
9307
- }, z1 = /* @__PURE__ */ In(() => /* @__PURE__ */ m(
9318
+ }, z1 = /* @__PURE__ */ Mn(() => /* @__PURE__ */ m(
9308
9319
  "img",
9309
9320
  {
9310
9321
  style: { width: "20px", height: "20px", marginRight: "8px" },
@@ -9329,7 +9340,7 @@ const In = (e) => (Yt("data-v-b9e2cd3f"), e = e(), Qt(), e), k1 = /* @__PURE__ *
9329
9340
  edge_addon_tools: Array
9330
9341
  },
9331
9342
  setup(e) {
9332
- const t = M(null);
9343
+ const t = I(null);
9333
9344
  return ee(() => {
9334
9345
  const n = new URL(location.href);
9335
9346
  t.value = n.searchParams.get("from") || null;
@@ -9404,7 +9415,7 @@ const In = (e) => (Yt("data-v-b9e2cd3f"), e = e(), Qt(), e), k1 = /* @__PURE__ *
9404
9415
  }),
9405
9416
  te(r, { index: "1-2" }, {
9406
9417
  title: W(() => [
9407
- M1,
9418
+ I1,
9408
9419
  ce(" Google Workspace Tools ")
9409
9420
  ]),
9410
9421
  default: W(() => [
@@ -9433,7 +9444,7 @@ const In = (e) => (Yt("data-v-b9e2cd3f"), e = e(), Qt(), e), k1 = /* @__PURE__ *
9433
9444
  ),
9434
9445
  i.type == 1 ? (A(), N("span", N1, "Hot")) : F("v-if", !0),
9435
9446
  i.type == 2 ? (A(), N("span", L1, "AI")) : F("v-if", !0)
9436
- ], 8, I1)
9447
+ ], 8, M1)
9437
9448
  ]),
9438
9449
  _: 2
9439
9450
  /* DYNAMIC */
@@ -9549,7 +9560,7 @@ const In = (e) => (Yt("data-v-b9e2cd3f"), e = e(), Qt(), e), k1 = /* @__PURE__ *
9549
9560
  });
9550
9561
  };
9551
9562
  }
9552
- }, K1 = /* @__PURE__ */ It(G1, [["__scopeId", "data-v-b9e2cd3f"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/MobileMoreApps.vue"]]);
9563
+ }, K1 = /* @__PURE__ */ Mt(G1, [["__scopeId", "data-v-b9e2cd3f"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/MobileMoreApps.vue"]]);
9553
9564
  const ze = (e) => (Yt("data-v-c970699f"), e = e(), Qt(), e), J1 = {
9554
9565
  class: "flex items-center justify-between py-6 lg:px-0 px-6",
9555
9566
  "aria-label": "Global"
@@ -9789,7 +9800,7 @@ const ze = (e) => (Yt("data-v-c970699f"), e = e(), Qt(), e), J1 = {
9789
9800
  ],
9790
9801
  -1
9791
9802
  /* HOISTED */
9792
- )), Ab = { class: "text-sm font-semibold leading-6 text-gray-900 pt-2" }, $b = ["href"], Mb = ["src"], Ib = {
9803
+ )), Ab = { class: "text-sm font-semibold leading-6 text-gray-900 pt-2" }, $b = ["href"], Ib = ["src"], Mb = {
9793
9804
  key: 0,
9794
9805
  class: "h-4 font-normal flex items-center bg-[#f16a41] text-white rounded-sm px-1 text-center"
9795
9806
  }, Rb = {
@@ -9869,7 +9880,7 @@ const ze = (e) => (Yt("data-v-c970699f"), e = e(), Qt(), e), J1 = {
9869
9880
  name: "Video Translator"
9870
9881
  };
9871
9882
  typeof app_config == "object" && app_config && Object.keys(app_config).length > 0 && (o = app_config);
9872
- const r = M(o), s = on(), a = M([
9883
+ const r = I(o), s = on(), a = I([
9873
9884
  {
9874
9885
  name: "AI Image Kits",
9875
9886
  desc: "Top AI Image Processing Tools Online",
@@ -9884,7 +9895,7 @@ const ze = (e) => (Yt("data-v-c970699f"), e = e(), Qt(), e), J1 = {
9884
9895
  url: "https://www.imgkits.com/ai-image-generator/generate",
9885
9896
  app_url: "https://www.imgkits.com/ai-image-generator"
9886
9897
  }
9887
- ]), i = M([
9898
+ ]), i = I([
9888
9899
  {
9889
9900
  name: "Live Polls Maker for Slides™",
9890
9901
  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.",
@@ -9961,7 +9972,7 @@ const ze = (e) => (Yt("data-v-c970699f"), e = e(), Qt(), e), J1 = {
9961
9972
  name: "More Google Workspace >",
9962
9973
  url: "https://www.livepolls.app/apps"
9963
9974
  }
9964
- ]), c = M([
9975
+ ]), c = I([
9965
9976
  {
9966
9977
  name: "AI Image Generator",
9967
9978
  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.",
@@ -10039,7 +10050,7 @@ const ze = (e) => (Yt("data-v-c970699f"), e = e(), Qt(), e), J1 = {
10039
10050
  chrome_addon_url: "https://www.livepolls.app/chrome_addons",
10040
10051
  edge_addon_url: "https://www.livepolls.app/edge_addons"
10041
10052
  }
10042
- ]), l = M([
10053
+ ]), l = I([
10043
10054
  {
10044
10055
  name: "AI Image Generator",
10045
10056
  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.",
@@ -10116,18 +10127,18 @@ const ze = (e) => (Yt("data-v-c970699f"), e = e(), Qt(), e), J1 = {
10116
10127
  name: "More Edge Extensions >",
10117
10128
  edge_addon_url: "https://www.livepolls.app/edge_addons"
10118
10129
  }
10119
- ]), u = M(n.isShenHe ? [{ name: "Privacy Policy", href: s + "/privacy", target: "_blank" }] : [{ name: "Pricing", href: s + "/pricing", target: "_self" }]), d = M(s || "/"), p = M(!1), g = M(null), f = (k, _) => {
10130
+ ]), u = I(n.isShenHe ? [{ name: "Privacy Policy", href: s + "/privacy", target: "_blank" }] : [{ name: "Pricing", href: s + "/pricing", target: "_self" }]), d = I(s || "/"), p = I(!1), g = I(null), f = (k, _) => {
10120
10131
  window.app_type ? k = `${k}?from=${window.app_type}` : g.value && (k = `${k}?from=${g.value}`), _ === "_blank" ? window.open(k, "_blank") : window.location.href = k;
10121
10132
  }, h = T(() => {
10122
10133
  var k;
10123
10134
  return (k = n.userStore) == null ? void 0 : k.user;
10124
10135
  }), b = () => {
10125
10136
  n.userStore.showLogin(!0);
10126
- }, v = M(!1);
10137
+ }, v = I(!1);
10127
10138
  ee(() => {
10128
- Ea(s.substring(1), "chrome_addon").then((k) => {
10139
+ Sa(s.substring(1), "chrome_addon").then((k) => {
10129
10140
  c.value = k.data.slice(0, 6), c.value.push({ name: "More Chrome Extensions >", chrome_addon_url: "https://www.livepolls.app/chrome_addons", edge_addon_url: "https://www.livepolls.app/apps" }), l.value = k.data.slice(0, 6), l.value.push({ name: "More Edge Extensions >", edge_addon_url: "https://www.livepolls.app/edge_addons" });
10130
- }), Ea(s.substring(1), "google_workspace").then((k) => {
10141
+ }), Sa(s.substring(1), "google_workspace").then((k) => {
10131
10142
  const _ = JSON.parse(k.message);
10132
10143
  a.value = _.map((x) => {
10133
10144
  const { desc: R, logo: U, name: q, url: H } = x;
@@ -10141,6 +10152,8 @@ const ze = (e) => (Yt("data-v-c970699f"), e = e(), Qt(), e), J1 = {
10141
10152
  }), Ge(() => {
10142
10153
  const k = new URL(location.href);
10143
10154
  g.value = window.app_type || k.searchParams.get("from");
10155
+ const _ = vo() + "_app_type";
10156
+ localStorage.getItem(_) || localStorage.setItem(_, g.value);
10144
10157
  }), n.userStore.getUser(n.driveQuery).then(
10145
10158
  ({ profile: k }) => {
10146
10159
  t("initUserCallback", k), !k && n.from != "login" && !n.isShenHe && y();
@@ -10171,7 +10184,7 @@ const ze = (e) => (Yt("data-v-c970699f"), e = e(), Qt(), e), J1 = {
10171
10184
  function P() {
10172
10185
  p.value = !1;
10173
10186
  }
10174
- function I() {
10187
+ function M() {
10175
10188
  p.value = !p.value;
10176
10189
  }
10177
10190
  function y(k) {
@@ -10419,14 +10432,14 @@ const ze = (e) => (Yt("data-v-c970699f"), e = e(), Qt(), e), J1 = {
10419
10432
  key: 0,
10420
10433
  class: "h-4 mr-2 w-4 inline-block",
10421
10434
  src: x.icon
10422
- }, null, 8, Mb)) : F("v-if", !0),
10435
+ }, null, 8, Ib)) : F("v-if", !0),
10423
10436
  ce(
10424
10437
  " " + Y(x.name),
10425
10438
  1
10426
10439
  /* TEXT */
10427
10440
  )
10428
10441
  ], 8, $b),
10429
- x.type == 1 ? (A(), N("span", Ib, "Hot")) : F("v-if", !0),
10442
+ x.type == 1 ? (A(), N("span", Mb, "Hot")) : F("v-if", !0),
10430
10443
  x.type == 2 ? (A(), N("span", Rb, "AI")) : F("v-if", !0)
10431
10444
  ]))),
10432
10445
  128
@@ -10456,7 +10469,7 @@ const ze = (e) => (Yt("data-v-c970699f"), e = e(), Qt(), e), J1 = {
10456
10469
  null,
10457
10470
  Ve(u.value, (x) => (A(), N("a", {
10458
10471
  key: x.name,
10459
- onClick: nr((R) => f(x.href, x.target), ["prevent"]),
10472
+ onClick: or((R) => f(x.href, x.target), ["prevent"]),
10460
10473
  class: "navigation-item inline-flex items-center text-sm h-7 leading-7 font-semibold text-gray-900"
10461
10474
  }, Y(x.name), 9, Nb))),
10462
10475
  128
@@ -10597,7 +10610,7 @@ const ze = (e) => (Yt("data-v-c970699f"), e = e(), Qt(), e), J1 = {
10597
10610
  null,
10598
10611
  Ve(u.value, (x) => (A(), N("a", {
10599
10612
  key: x.name,
10600
- onClick: nr((R) => f(x.href, x.target), ["prevent"]),
10613
+ onClick: or((R) => f(x.href, x.target), ["prevent"]),
10601
10614
  class: "-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
10602
10615
  }, Y(x.name), 9, ny))),
10603
10616
  128
@@ -10611,7 +10624,7 @@ const ze = (e) => (Yt("data-v-c970699f"), e = e(), Qt(), e), J1 = {
10611
10624
  h.value ? (A(), N("div", {
10612
10625
  key: 1,
10613
10626
  class: "relative sm-user-center-dialog block ml-10 py-6 right flew-center",
10614
- onClick: I
10627
+ onClick: M
10615
10628
  }, [
10616
10629
  h.value ? (A(), Q(Ma, {
10617
10630
  key: 0,
@@ -10665,7 +10678,7 @@ const ze = (e) => (Yt("data-v-c970699f"), e = e(), Qt(), e), J1 = {
10665
10678
  /* STABLE_FRAGMENT */
10666
10679
  ));
10667
10680
  }
10668
- }, ay = /* @__PURE__ */ It(sy, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/Header.vue"]]), dy = {
10681
+ }, ay = /* @__PURE__ */ Mt(sy, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/Header.vue"]]), dy = {
10669
10682
  install(e) {
10670
10683
  e.component("my-header", ay);
10671
10684
  }