my-header-yichong 3.4.8 → 3.4.9

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
@@ -169,7 +169,7 @@ const Ec = (e) => {
169
169
  return o;
170
170
  };
171
171
  return n(e, 0);
172
- }, Sc = Ge("AsyncFunction"), kc = (e) => e && (go(e) || Te(e)) && Te(e.then) && Te(e.catch), E = {
172
+ }, Sc = Ge("AsyncFunction"), kc = (e) => e && (go(e) || Te(e)) && Te(e.then) && Te(e.catch), S = {
173
173
  isArray: en,
174
174
  isArrayBuffer: Pa,
175
175
  isBuffer: Gl,
@@ -226,7 +226,7 @@ const Ec = (e) => {
226
226
  function J(e, t, n, o, r) {
227
227
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), o && (this.request = o), r && (this.response = r);
228
228
  }
229
- E.inherits(J, Error, {
229
+ S.inherits(J, Error, {
230
230
  toJSON: function() {
231
231
  return {
232
232
  // Standard
@@ -241,7 +241,7 @@ E.inherits(J, Error, {
241
241
  columnNumber: this.columnNumber,
242
242
  stack: this.stack,
243
243
  // Axios
244
- config: E.toJSONObject(this.config),
244
+ config: S.toJSONObject(this.config),
245
245
  code: this.code,
246
246
  status: this.response && this.response.status ? this.response.status : null
247
247
  };
@@ -269,16 +269,16 @@ Object.defineProperties(J, La);
269
269
  Object.defineProperty(Ra, "isAxiosError", { value: !0 });
270
270
  J.from = (e, t, n, o, r, s) => {
271
271
  const a = Object.create(Ra);
272
- return E.toFlatObject(e, a, function(c) {
272
+ return S.toFlatObject(e, a, function(c) {
273
273
  return c !== Error.prototype;
274
274
  }, (i) => i !== "isAxiosError"), J.call(a, e.message, t, n, o, r), a.cause = e, a.name = e.name, s && Object.assign(a, s), a;
275
275
  };
276
276
  const Oc = null;
277
277
  function er(e) {
278
- return E.isPlainObject(e) || E.isArray(e);
278
+ return S.isPlainObject(e) || S.isArray(e);
279
279
  }
280
280
  function Fa(e) {
281
- return E.endsWith(e, "[]") ? e.slice(0, -2) : e;
281
+ return S.endsWith(e, "[]") ? e.slice(0, -2) : e;
282
282
  }
283
283
  function ds(e, t, n) {
284
284
  return e ? e.concat(t).map(function(r, s) {
@@ -286,41 +286,41 @@ function ds(e, t, n) {
286
286
  }).join(n ? "." : "") : t;
287
287
  }
288
288
  function Tc(e) {
289
- return E.isArray(e) && !e.some(er);
289
+ return S.isArray(e) && !e.some(er);
290
290
  }
291
- const Pc = E.toFlatObject(E, {}, null, function(t) {
291
+ const Pc = S.toFlatObject(S, {}, null, function(t) {
292
292
  return /^is[A-Z]/.test(t);
293
293
  });
294
294
  function bo(e, t, n) {
295
- if (!E.isObject(e))
295
+ if (!S.isObject(e))
296
296
  throw new TypeError("target must be an object");
297
- t = t || new FormData(), n = E.toFlatObject(n, {
297
+ t = t || new FormData(), n = S.toFlatObject(n, {
298
298
  metaTokens: !0,
299
299
  dots: !1,
300
300
  indexes: !1
301
301
  }, !1, function(m, w) {
302
- return !E.isUndefined(w[m]);
302
+ return !S.isUndefined(w[m]);
303
303
  });
304
- const o = n.metaTokens, r = n.visitor || u, s = n.dots, a = n.indexes, c = (n.Blob || typeof Blob < "u" && Blob) && E.isSpecCompliantForm(t);
305
- if (!E.isFunction(r))
304
+ const o = n.metaTokens, r = n.visitor || u, s = n.dots, a = n.indexes, c = (n.Blob || typeof Blob < "u" && Blob) && S.isSpecCompliantForm(t);
305
+ if (!S.isFunction(r))
306
306
  throw new TypeError("visitor must be a function");
307
307
  function l(p) {
308
308
  if (p === null)
309
309
  return "";
310
- if (E.isDate(p))
310
+ if (S.isDate(p))
311
311
  return p.toISOString();
312
- if (!c && E.isBlob(p))
312
+ if (!c && S.isBlob(p))
313
313
  throw new J("Blob is not supported. Use a Buffer instead.");
314
- return E.isArrayBuffer(p) || E.isTypedArray(p) ? c && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
314
+ return S.isArrayBuffer(p) || S.isTypedArray(p) ? c && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
315
315
  }
316
316
  function u(p, m, w) {
317
317
  let g = p;
318
318
  if (p && !w && typeof p == "object") {
319
- if (E.endsWith(m, "{}"))
319
+ if (S.endsWith(m, "{}"))
320
320
  m = o ? m : m.slice(0, -2), p = JSON.stringify(p);
321
- else if (E.isArray(p) && Tc(p) || (E.isFileList(p) || E.endsWith(m, "[]")) && (g = E.toArray(p)))
321
+ else if (S.isArray(p) && Tc(p) || (S.isFileList(p) || S.endsWith(m, "[]")) && (g = S.toArray(p)))
322
322
  return m = Fa(m), g.forEach(function(C, A) {
323
- !(E.isUndefined(C) || C === null) && t.append(
323
+ !(S.isUndefined(C) || C === null) && t.append(
324
324
  // eslint-disable-next-line no-nested-ternary
325
325
  a === !0 ? ds([m], A, s) : a === null ? m : m + "[]",
326
326
  l(C)
@@ -335,21 +335,21 @@ function bo(e, t, n) {
335
335
  isVisitable: er
336
336
  });
337
337
  function v(p, m) {
338
- if (!E.isUndefined(p)) {
338
+ if (!S.isUndefined(p)) {
339
339
  if (d.indexOf(p) !== -1)
340
340
  throw Error("Circular reference detected in " + m.join("."));
341
- d.push(p), E.forEach(p, function(g, S) {
342
- (!(E.isUndefined(g) || g === null) && r.call(
341
+ d.push(p), S.forEach(p, function(g, E) {
342
+ (!(S.isUndefined(g) || g === null) && r.call(
343
343
  t,
344
344
  g,
345
- E.isString(S) ? S.trim() : S,
345
+ S.isString(E) ? E.trim() : E,
346
346
  m,
347
347
  f
348
- )) === !0 && v(g, m ? m.concat(S) : [S]);
348
+ )) === !0 && v(g, m ? m.concat(E) : [E]);
349
349
  }), d.pop();
350
350
  }
351
351
  }
352
- if (!E.isObject(e))
352
+ if (!S.isObject(e))
353
353
  throw new TypeError("data must be an object");
354
354
  return v(e), t;
355
355
  }
@@ -390,7 +390,7 @@ function Da(e, t, n) {
390
390
  return e;
391
391
  const o = n && n.encode || Cc, r = n && n.serialize;
392
392
  let s;
393
- if (r ? s = r(t, n) : s = E.isURLSearchParams(t) ? t.toString() : new xr(t, n).toString(o), s) {
393
+ if (r ? s = r(t, n) : s = S.isURLSearchParams(t) ? t.toString() : new xr(t, n).toString(o), s) {
394
394
  const a = e.indexOf("#");
395
395
  a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + s;
396
396
  }
@@ -445,7 +445,7 @@ class Ac {
445
445
  * @returns {void}
446
446
  */
447
447
  forEach(t) {
448
- E.forEach(this.handlers, function(o) {
448
+ S.forEach(this.handlers, function(o) {
449
449
  o !== null && t(o);
450
450
  });
451
451
  }
@@ -472,12 +472,12 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
472
472
  function Lc(e, t) {
473
473
  return bo(e, new Be.classes.URLSearchParams(), Object.assign({
474
474
  visitor: function(n, o, r, s) {
475
- return Be.isNode && E.isBuffer(n) ? (this.append(o, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
475
+ return Be.isNode && S.isBuffer(n) ? (this.append(o, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
476
476
  }
477
477
  }, t));
478
478
  }
479
479
  function Fc(e) {
480
- return E.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
480
+ return S.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
481
481
  }
482
482
  function jc(e) {
483
483
  const t = {}, n = Object.keys(e);
@@ -492,11 +492,11 @@ function Ha(e) {
492
492
  function t(n, o, r, s) {
493
493
  let a = n[s++];
494
494
  const i = Number.isFinite(+a), c = s >= n.length;
495
- return a = !a && E.isArray(r) ? r.length : a, c ? (E.hasOwnProp(r, a) ? r[a] = [r[a], o] : r[a] = o, !i) : ((!r[a] || !E.isObject(r[a])) && (r[a] = []), t(n, o, r[a], s) && E.isArray(r[a]) && (r[a] = jc(r[a])), !i);
495
+ return a = !a && S.isArray(r) ? r.length : a, c ? (S.hasOwnProp(r, a) ? r[a] = [r[a], o] : r[a] = o, !i) : ((!r[a] || !S.isObject(r[a])) && (r[a] = []), t(n, o, r[a], s) && S.isArray(r[a]) && (r[a] = jc(r[a])), !i);
496
496
  }
497
- if (E.isFormData(e) && E.isFunction(e.entries)) {
497
+ if (S.isFormData(e) && S.isFunction(e.entries)) {
498
498
  const n = {};
499
- return E.forEachEntry(e, (o, r) => {
499
+ return S.forEachEntry(e, (o, r) => {
500
500
  t(Fc(o), r, n, 0);
501
501
  }), n;
502
502
  }
@@ -506,9 +506,9 @@ const Dc = {
506
506
  "Content-Type": void 0
507
507
  };
508
508
  function Bc(e, t, n) {
509
- if (E.isString(e))
509
+ if (S.isString(e))
510
510
  try {
511
- return (t || JSON.parse)(e), E.trim(e);
511
+ return (t || JSON.parse)(e), S.trim(e);
512
512
  } catch (o) {
513
513
  if (o.name !== "SyntaxError")
514
514
  throw o;
@@ -519,20 +519,20 @@ const yo = {
519
519
  transitional: Ba,
520
520
  adapter: ["xhr", "http"],
521
521
  transformRequest: [function(t, n) {
522
- const o = n.getContentType() || "", r = o.indexOf("application/json") > -1, s = E.isObject(t);
523
- if (s && E.isHTMLForm(t) && (t = new FormData(t)), E.isFormData(t))
522
+ const o = n.getContentType() || "", r = o.indexOf("application/json") > -1, s = S.isObject(t);
523
+ if (s && S.isHTMLForm(t) && (t = new FormData(t)), S.isFormData(t))
524
524
  return r && r ? JSON.stringify(Ha(t)) : t;
525
- if (E.isArrayBuffer(t) || E.isBuffer(t) || E.isStream(t) || E.isFile(t) || E.isBlob(t))
525
+ if (S.isArrayBuffer(t) || S.isBuffer(t) || S.isStream(t) || S.isFile(t) || S.isBlob(t))
526
526
  return t;
527
- if (E.isArrayBufferView(t))
527
+ if (S.isArrayBufferView(t))
528
528
  return t.buffer;
529
- if (E.isURLSearchParams(t))
529
+ if (S.isURLSearchParams(t))
530
530
  return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
531
531
  let i;
532
532
  if (s) {
533
533
  if (o.indexOf("application/x-www-form-urlencoded") > -1)
534
534
  return Lc(t, this.formSerializer).toString();
535
- if ((i = E.isFileList(t)) || o.indexOf("multipart/form-data") > -1) {
535
+ if ((i = S.isFileList(t)) || o.indexOf("multipart/form-data") > -1) {
536
536
  const c = this.env && this.env.FormData;
537
537
  return bo(
538
538
  i ? { "files[]": t } : t,
@@ -545,7 +545,7 @@ const yo = {
545
545
  }],
546
546
  transformResponse: [function(t) {
547
547
  const n = this.transitional || yo.transitional, o = n && n.forcedJSONParsing, r = this.responseType === "json";
548
- if (t && E.isString(t) && (o && !this.responseType || r)) {
548
+ if (t && S.isString(t) && (o && !this.responseType || r)) {
549
549
  const a = !(n && n.silentJSONParsing) && r;
550
550
  try {
551
551
  return JSON.parse(t);
@@ -578,13 +578,13 @@ const yo = {
578
578
  }
579
579
  }
580
580
  };
581
- E.forEach(["delete", "get", "head"], function(t) {
581
+ S.forEach(["delete", "get", "head"], function(t) {
582
582
  yo.headers[t] = {};
583
583
  });
584
- E.forEach(["post", "put", "patch"], function(t) {
585
- yo.headers[t] = E.merge(Dc);
584
+ S.forEach(["post", "put", "patch"], function(t) {
585
+ yo.headers[t] = S.merge(Dc);
586
586
  });
587
- const Er = yo, Hc = E.toObjectSet([
587
+ const Er = yo, Hc = S.toObjectSet([
588
588
  "age",
589
589
  "authorization",
590
590
  "content-length",
@@ -614,7 +614,7 @@ function an(e) {
614
614
  return e && String(e).trim().toLowerCase();
615
615
  }
616
616
  function Yn(e) {
617
- return e === !1 || e == null ? e : E.isArray(e) ? e.map(Yn) : String(e);
617
+ return e === !1 || e == null ? e : S.isArray(e) ? e.map(Yn) : String(e);
618
618
  }
619
619
  function Uc(e) {
620
620
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -625,12 +625,12 @@ function Uc(e) {
625
625
  }
626
626
  const Vc = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
627
627
  function No(e, t, n, o, r) {
628
- if (E.isFunction(o))
628
+ if (S.isFunction(o))
629
629
  return o.call(this, t, n);
630
- if (r && (t = n), !!E.isString(t)) {
631
- if (E.isString(o))
630
+ if (r && (t = n), !!S.isString(t)) {
631
+ if (S.isString(o))
632
632
  return t.indexOf(o) !== -1;
633
- if (E.isRegExp(o))
633
+ if (S.isRegExp(o))
634
634
  return o.test(t);
635
635
  }
636
636
  }
@@ -638,7 +638,7 @@ function Wc(e) {
638
638
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, o) => n.toUpperCase() + o);
639
639
  }
640
640
  function qc(e, t) {
641
- const n = E.toCamelCase(" " + t);
641
+ const n = S.toCamelCase(" " + t);
642
642
  ["get", "set", "has"].forEach((o) => {
643
643
  Object.defineProperty(e, o + n, {
644
644
  value: function(r, s, a) {
@@ -658,24 +658,24 @@ class _o {
658
658
  const u = an(c);
659
659
  if (!u)
660
660
  throw new Error("header name must be a non-empty string");
661
- const d = E.findKey(r, u);
661
+ const d = S.findKey(r, u);
662
662
  (!d || r[d] === void 0 || l === !0 || l === void 0 && r[d] !== !1) && (r[d || c] = Yn(i));
663
663
  }
664
- const a = (i, c) => E.forEach(i, (l, u) => s(l, u, c));
665
- return E.isPlainObject(t) || t instanceof this.constructor ? a(t, n) : E.isString(t) && (t = t.trim()) && !Vc(t) ? a(zc(t), n) : t != null && s(n, t, o), this;
664
+ const a = (i, c) => S.forEach(i, (l, u) => s(l, u, c));
665
+ return S.isPlainObject(t) || t instanceof this.constructor ? a(t, n) : S.isString(t) && (t = t.trim()) && !Vc(t) ? a(zc(t), n) : t != null && s(n, t, o), this;
666
666
  }
667
667
  get(t, n) {
668
668
  if (t = an(t), t) {
669
- const o = E.findKey(this, t);
669
+ const o = S.findKey(this, t);
670
670
  if (o) {
671
671
  const r = this[o];
672
672
  if (!n)
673
673
  return r;
674
674
  if (n === !0)
675
675
  return Uc(r);
676
- if (E.isFunction(n))
676
+ if (S.isFunction(n))
677
677
  return n.call(this, r, o);
678
- if (E.isRegExp(n))
678
+ if (S.isRegExp(n))
679
679
  return n.exec(r);
680
680
  throw new TypeError("parser must be boolean|regexp|function");
681
681
  }
@@ -683,7 +683,7 @@ class _o {
683
683
  }
684
684
  has(t, n) {
685
685
  if (t = an(t), t) {
686
- const o = E.findKey(this, t);
686
+ const o = S.findKey(this, t);
687
687
  return !!(o && this[o] !== void 0 && (!n || No(this, this[o], o, n)));
688
688
  }
689
689
  return !1;
@@ -693,11 +693,11 @@ class _o {
693
693
  let r = !1;
694
694
  function s(a) {
695
695
  if (a = an(a), a) {
696
- const i = E.findKey(o, a);
696
+ const i = S.findKey(o, a);
697
697
  i && (!n || No(o, o[i], i, n)) && (delete o[i], r = !0);
698
698
  }
699
699
  }
700
- return E.isArray(t) ? t.forEach(s) : s(t), r;
700
+ return S.isArray(t) ? t.forEach(s) : s(t), r;
701
701
  }
702
702
  clear(t) {
703
703
  const n = Object.keys(this);
@@ -710,8 +710,8 @@ class _o {
710
710
  }
711
711
  normalize(t) {
712
712
  const n = this, o = {};
713
- return E.forEach(this, (r, s) => {
714
- const a = E.findKey(o, s);
713
+ return S.forEach(this, (r, s) => {
714
+ const a = S.findKey(o, s);
715
715
  if (a) {
716
716
  n[a] = Yn(r), delete n[s];
717
717
  return;
@@ -725,8 +725,8 @@ class _o {
725
725
  }
726
726
  toJSON(t) {
727
727
  const n = /* @__PURE__ */ Object.create(null);
728
- return E.forEach(this, (o, r) => {
729
- o != null && o !== !1 && (n[r] = t && E.isArray(o) ? o.join(", ") : o);
728
+ return S.forEach(this, (o, r) => {
729
+ o != null && o !== !1 && (n[r] = t && S.isArray(o) ? o.join(", ") : o);
730
730
  }), n;
731
731
  }
732
732
  [Symbol.iterator]() {
@@ -754,17 +754,17 @@ class _o {
754
754
  const i = an(a);
755
755
  o[i] || (qc(r, a), o[i] = !0);
756
756
  }
757
- return E.isArray(t) ? t.forEach(s) : s(t), this;
757
+ return S.isArray(t) ? t.forEach(s) : s(t), this;
758
758
  }
759
759
  }
760
760
  _o.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
761
- E.freezeMethods(_o.prototype);
762
- E.freezeMethods(_o);
761
+ S.freezeMethods(_o.prototype);
762
+ S.freezeMethods(_o);
763
763
  const tt = _o;
764
764
  function Ro(e, t) {
765
765
  const n = this || Er, o = t || n, r = tt.from(o.headers);
766
766
  let s = o.data;
767
- return E.forEach(e, function(i) {
767
+ return S.forEach(e, function(i) {
768
768
  s = i.call(n, s, r.normalize(), t ? t.status : void 0);
769
769
  }), r.normalize(), s;
770
770
  }
@@ -774,7 +774,7 @@ function za(e) {
774
774
  function An(e, t, n) {
775
775
  J.call(this, e ?? "canceled", J.ERR_CANCELED, t, n), this.name = "CanceledError";
776
776
  }
777
- E.inherits(An, J, {
777
+ S.inherits(An, J, {
778
778
  __CANCEL__: !0
779
779
  });
780
780
  function Gc(e, t, n) {
@@ -793,7 +793,7 @@ const Kc = Be.isStandardBrowserEnv ? (
793
793
  return {
794
794
  write: function(n, o, r, s, a, i) {
795
795
  const c = [];
796
- c.push(n + "=" + encodeURIComponent(o)), E.isNumber(r) && c.push("expires=" + new Date(r).toGMTString()), E.isString(s) && c.push("path=" + s), E.isString(a) && c.push("domain=" + a), i === !0 && c.push("secure"), document.cookie = c.join("; ");
796
+ c.push(n + "=" + encodeURIComponent(o)), S.isNumber(r) && c.push("expires=" + new Date(r).toGMTString()), S.isString(s) && c.push("path=" + s), S.isString(a) && c.push("domain=" + a), i === !0 && c.push("secure"), document.cookie = c.join("; ");
797
797
  },
798
798
  read: function(n) {
799
799
  const o = document.cookie.match(new RegExp("(^|;\\s*)(" + n + ")=([^;]*)"));
@@ -847,7 +847,7 @@ const Zc = Be.isStandardBrowserEnv ? (
847
847
  };
848
848
  }
849
849
  return o = r(window.location.href), function(a) {
850
- const i = E.isString(a) ? r(a) : a;
850
+ const i = S.isString(a) ? r(a) : a;
851
851
  return i.protocol === o.protocol && i.host === o.host;
852
852
  };
853
853
  }()
@@ -905,7 +905,7 @@ const eu = typeof XMLHttpRequest < "u", tu = eu && function(e) {
905
905
  function c() {
906
906
  e.cancelToken && e.cancelToken.unsubscribe(i), e.signal && e.signal.removeEventListener("abort", i);
907
907
  }
908
- E.isFormData(r) && (Be.isStandardBrowserEnv || Be.isStandardBrowserWebWorkerEnv ? s.setContentType(!1) : s.setContentType("multipart/form-data;", !1));
908
+ S.isFormData(r) && (Be.isStandardBrowserEnv || Be.isStandardBrowserWebWorkerEnv ? s.setContentType(!1) : s.setContentType("multipart/form-data;", !1));
909
909
  let l = new XMLHttpRequest();
910
910
  if (e.auth) {
911
911
  const v = e.auth.username || "", p = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
@@ -951,9 +951,9 @@ const eu = typeof XMLHttpRequest < "u", tu = eu && function(e) {
951
951
  const v = (e.withCredentials || Zc(u)) && e.xsrfCookieName && Kc.read(e.xsrfCookieName);
952
952
  v && s.set(e.xsrfHeaderName, v);
953
953
  }
954
- r === void 0 && s.setContentType(null), "setRequestHeader" in l && E.forEach(s.toJSON(), function(p, m) {
954
+ r === void 0 && s.setContentType(null), "setRequestHeader" in l && S.forEach(s.toJSON(), function(p, m) {
955
955
  l.setRequestHeader(m, p);
956
- }), E.isUndefined(e.withCredentials) || (l.withCredentials = !!e.withCredentials), a && a !== "json" && (l.responseType = e.responseType), typeof e.onDownloadProgress == "function" && l.addEventListener("progress", ms(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", ms(e.onUploadProgress)), (e.cancelToken || e.signal) && (i = (v) => {
956
+ }), S.isUndefined(e.withCredentials) || (l.withCredentials = !!e.withCredentials), a && a !== "json" && (l.responseType = e.responseType), typeof e.onDownloadProgress == "function" && l.addEventListener("progress", ms(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", ms(e.onUploadProgress)), (e.cancelToken || e.signal) && (i = (v) => {
957
957
  l && (o(!v || v.type ? new An(null, e, l) : v), l.abort(), l = null);
958
958
  }, e.cancelToken && e.cancelToken.subscribe(i), e.signal && (e.signal.aborted ? i() : e.signal.addEventListener("abort", i)));
959
959
  const f = Qc(u);
@@ -967,7 +967,7 @@ const eu = typeof XMLHttpRequest < "u", tu = eu && function(e) {
967
967
  http: Oc,
968
968
  xhr: tu
969
969
  };
970
- E.forEach(Zn, (e, t) => {
970
+ S.forEach(Zn, (e, t) => {
971
971
  if (e) {
972
972
  try {
973
973
  Object.defineProperty(e, "name", { value: t });
@@ -978,19 +978,19 @@ E.forEach(Zn, (e, t) => {
978
978
  });
979
979
  const nu = {
980
980
  getAdapter: (e) => {
981
- e = E.isArray(e) ? e : [e];
981
+ e = S.isArray(e) ? e : [e];
982
982
  const { length: t } = e;
983
983
  let n, o;
984
- for (let r = 0; r < t && (n = e[r], !(o = E.isString(n) ? Zn[n.toLowerCase()] : n)); r++)
984
+ for (let r = 0; r < t && (n = e[r], !(o = S.isString(n) ? Zn[n.toLowerCase()] : n)); r++)
985
985
  ;
986
986
  if (!o)
987
987
  throw o === !1 ? new J(
988
988
  `Adapter ${n} is not supported by the environment`,
989
989
  "ERR_NOT_SUPPORT"
990
990
  ) : new Error(
991
- E.hasOwnProp(Zn, n) ? `Adapter '${n}' is not available in the build` : `Unknown adapter '${n}'`
991
+ S.hasOwnProp(Zn, n) ? `Adapter '${n}' is not available in the build` : `Unknown adapter '${n}'`
992
992
  );
993
- if (!E.isFunction(o))
993
+ if (!S.isFunction(o))
994
994
  throw new TypeError("adapter is not a function");
995
995
  return o;
996
996
  },
@@ -1023,22 +1023,22 @@ function Bt(e, t) {
1023
1023
  t = t || {};
1024
1024
  const n = {};
1025
1025
  function o(l, u, d) {
1026
- return E.isPlainObject(l) && E.isPlainObject(u) ? E.merge.call({ caseless: d }, l, u) : E.isPlainObject(u) ? E.merge({}, u) : E.isArray(u) ? u.slice() : u;
1026
+ return S.isPlainObject(l) && S.isPlainObject(u) ? S.merge.call({ caseless: d }, l, u) : S.isPlainObject(u) ? S.merge({}, u) : S.isArray(u) ? u.slice() : u;
1027
1027
  }
1028
1028
  function r(l, u, d) {
1029
- if (E.isUndefined(u)) {
1030
- if (!E.isUndefined(l))
1029
+ if (S.isUndefined(u)) {
1030
+ if (!S.isUndefined(l))
1031
1031
  return o(void 0, l, d);
1032
1032
  } else
1033
1033
  return o(l, u, d);
1034
1034
  }
1035
1035
  function s(l, u) {
1036
- if (!E.isUndefined(u))
1036
+ if (!S.isUndefined(u))
1037
1037
  return o(void 0, u);
1038
1038
  }
1039
1039
  function a(l, u) {
1040
- if (E.isUndefined(u)) {
1041
- if (!E.isUndefined(l))
1040
+ if (S.isUndefined(u)) {
1041
+ if (!S.isUndefined(l))
1042
1042
  return o(void 0, l);
1043
1043
  } else
1044
1044
  return o(void 0, u);
@@ -1079,9 +1079,9 @@ function Bt(e, t) {
1079
1079
  validateStatus: i,
1080
1080
  headers: (l, u) => r(gs(l), gs(u), !0)
1081
1081
  };
1082
- return E.forEach(Object.keys(Object.assign({}, e, t)), function(u) {
1082
+ return S.forEach(Object.keys(Object.assign({}, e, t)), function(u) {
1083
1083
  const d = c[u] || r, f = d(e[u], t[u], u);
1084
- E.isUndefined(f) && d !== i || (n[u] = f);
1084
+ S.isUndefined(f) && d !== i || (n[u] = f);
1085
1085
  }), n;
1086
1086
  }
1087
1087
  const Va = "1.4.0", Sr = {};
@@ -1152,17 +1152,17 @@ class io {
1152
1152
  silentJSONParsing: rt.transitional(rt.boolean),
1153
1153
  forcedJSONParsing: rt.transitional(rt.boolean),
1154
1154
  clarifyTimeoutError: rt.transitional(rt.boolean)
1155
- }, !1), r != null && (E.isFunction(r) ? n.paramsSerializer = {
1155
+ }, !1), r != null && (S.isFunction(r) ? n.paramsSerializer = {
1156
1156
  serialize: r
1157
1157
  } : tr.assertOptions(r, {
1158
1158
  encode: rt.function,
1159
1159
  serialize: rt.function
1160
1160
  }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1161
1161
  let a;
1162
- a = s && E.merge(
1162
+ a = s && S.merge(
1163
1163
  s.common,
1164
1164
  s[n.method]
1165
- ), a && E.forEach(
1165
+ ), a && S.forEach(
1166
1166
  ["delete", "get", "head", "post", "put", "patch", "common"],
1167
1167
  (p) => {
1168
1168
  delete s[p];
@@ -1210,7 +1210,7 @@ class io {
1210
1210
  return Da(n, t.params, t.paramsSerializer);
1211
1211
  }
1212
1212
  }
1213
- E.forEach(["delete", "get", "head", "options"], function(t) {
1213
+ S.forEach(["delete", "get", "head", "options"], function(t) {
1214
1214
  io.prototype[t] = function(n, o) {
1215
1215
  return this.request(Bt(o || {}, {
1216
1216
  method: t,
@@ -1219,7 +1219,7 @@ E.forEach(["delete", "get", "head", "options"], function(t) {
1219
1219
  }));
1220
1220
  };
1221
1221
  });
1222
- E.forEach(["post", "put", "patch"], function(t) {
1222
+ S.forEach(["post", "put", "patch"], function(t) {
1223
1223
  function n(o) {
1224
1224
  return function(s, a, i) {
1225
1225
  return this.request(Bt(i || {}, {
@@ -1310,7 +1310,7 @@ function su(e) {
1310
1310
  };
1311
1311
  }
1312
1312
  function au(e) {
1313
- return E.isObject(e) && e.isAxiosError === !0;
1313
+ return S.isObject(e) && e.isAxiosError === !0;
1314
1314
  }
1315
1315
  const nr = {
1316
1316
  Continue: 100,
@@ -1383,7 +1383,7 @@ Object.entries(nr).forEach(([e, t]) => {
1383
1383
  const iu = nr;
1384
1384
  function Wa(e) {
1385
1385
  const t = new Qn(e), n = Ta(Qn.prototype.request, t);
1386
- return E.extend(n, Qn.prototype, t, { allOwnKeys: !0 }), E.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
1386
+ return S.extend(n, Qn.prototype, t, { allOwnKeys: !0 }), S.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
1387
1387
  return Wa(Bt(e, r));
1388
1388
  }, n;
1389
1389
  }
@@ -1403,7 +1403,7 @@ ce.spread = su;
1403
1403
  ce.isAxiosError = au;
1404
1404
  ce.mergeConfig = Bt;
1405
1405
  ce.AxiosHeaders = tt;
1406
- ce.formToJSON = (e) => Ha(E.isHTMLForm(e) ? new FormData(e) : e);
1406
+ ce.formToJSON = (e) => Ha(S.isHTMLForm(e) ? new FormData(e) : e);
1407
1407
  ce.HttpStatusCode = iu;
1408
1408
  ce.default = ce;
1409
1409
  const lu = ce, qa = lu.create({
@@ -2431,7 +2431,7 @@ const Op = (e) => (t, n) => Tp(t, n, _(e)), Tp = (e, t, n) => tp(n, e, e).replac
2431
2431
  }) => {
2432
2432
  const f = je(), { emit: v } = f, p = f.props, m = x(() => mt(p[n])), w = x(() => p[e] === null), g = (y) => {
2433
2433
  a.value !== !0 && (a.value = !0, i && (i.value = y), mt(u) && u(y));
2434
- }, S = (y) => {
2434
+ }, E = (y) => {
2435
2435
  a.value !== !1 && (a.value = !1, i && (i.value = y), mt(d) && d(y));
2436
2436
  }, C = (y) => {
2437
2437
  if (p.disabled === !0 || mt(l) && !l())
@@ -2442,9 +2442,9 @@ const Op = (e) => (t, n) => Tp(t, n, _(e)), Tp = (e, t, n) => tp(n, e, e).replac
2442
2442
  if (p.disabled === !0 || !ve)
2443
2443
  return;
2444
2444
  const F = m.value && ve;
2445
- F && v(t, !1), (w.value || !F) && S(y);
2445
+ F && v(t, !1), (w.value || !F) && E(y);
2446
2446
  }, I = (y) => {
2447
- ti(y) && (p.disabled && y ? m.value && v(t, !1) : a.value !== y && (y ? g() : S()));
2447
+ ti(y) && (p.disabled && y ? m.value && v(t, !1) : a.value !== y && (y ? g() : E()));
2448
2448
  }, M = () => {
2449
2449
  a.value ? A() : C();
2450
2450
  };
@@ -2615,7 +2615,7 @@ var Yp = function(e, t) {
2615
2615
  function Zp(e) {
2616
2616
  var t, n = e.state, o = e.name, r = e.options, s = n.elements.arrow, a = n.modifiersData.popperOffsets, i = ze(n.placement), c = jr(i), l = [we, Ie].indexOf(i) >= 0, u = l ? "height" : "width";
2617
2617
  if (!(!s || !a)) {
2618
- var d = Yp(r.padding, n), f = Fr(s), v = c === "y" ? _e : we, p = c === "y" ? Ae : Ie, m = n.rects.reference[u] + n.rects.reference[c] - a[c] - n.rects.popper[u], w = a[c] - n.rects.reference[c], g = $n(s), S = g ? c === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, C = m / 2 - w / 2, A = d[v], I = S - f[u] - d[p], M = S / 2 - f[u] / 2 + C, y = bn(A, M, I), F = c;
2618
+ var d = Yp(r.padding, n), f = Fr(s), v = c === "y" ? _e : we, p = c === "y" ? Ae : Ie, m = n.rects.reference[u] + n.rects.reference[c] - a[c] - n.rects.popper[u], w = a[c] - n.rects.reference[c], g = $n(s), E = g ? c === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, C = m / 2 - w / 2, A = d[v], I = E - f[u] - d[p], M = E / 2 - f[u] / 2 + C, y = bn(A, M, I), F = c;
2619
2619
  n.modifiersData[o] = (t = {}, t[F] = y, t.centerOffset = y - M, t);
2620
2620
  }
2621
2621
  }
@@ -2635,7 +2635,7 @@ function tf(e) {
2635
2635
  function js(e) {
2636
2636
  var t, n = e.popper, o = e.popperRect, r = e.placement, s = e.variation, a = e.offsets, i = e.position, c = e.gpuAcceleration, l = e.adaptive, u = e.roundOffsets, d = e.isFixed, f = a.x, v = f === void 0 ? 0 : f, p = a.y, m = p === void 0 ? 0 : p, w = typeof u == "function" ? u({ x: v, y: m }) : { x: v, y: m };
2637
2637
  v = w.x, m = w.y;
2638
- var g = a.hasOwnProperty("x"), S = a.hasOwnProperty("y"), C = we, A = _e, I = window;
2638
+ var g = a.hasOwnProperty("x"), E = a.hasOwnProperty("y"), C = we, A = _e, I = window;
2639
2639
  if (l) {
2640
2640
  var M = $n(n), y = "clientHeight", F = "clientWidth";
2641
2641
  if (M === De(n) && (M = ct(n), nt(M).position !== "static" && i === "absolute" && (y = "scrollHeight", F = "scrollWidth")), M = M, r === _e || (r === we || r === Ie) && s === kn) {
@@ -2652,9 +2652,9 @@ function js(e) {
2652
2652
  var b = Object.assign({ position: i }, l && ef), P = u === !0 ? tf({ x: v, y: m }) : { x: v, y: m };
2653
2653
  if (v = P.x, m = P.y, c) {
2654
2654
  var N;
2655
- return Object.assign({}, b, (N = {}, N[A] = S ? "0" : "", N[C] = g ? "0" : "", N.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + v + "px, " + m + "px)" : "translate3d(" + v + "px, " + m + "px, 0)", N));
2655
+ return Object.assign({}, b, (N = {}, N[A] = E ? "0" : "", N[C] = g ? "0" : "", N.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + v + "px, " + m + "px)" : "translate3d(" + v + "px, " + m + "px, 0)", N));
2656
2656
  }
2657
- return Object.assign({}, b, (t = {}, t[A] = S ? m + "px" : "", t[C] = g ? v + "px" : "", t.transform = "", t));
2657
+ return Object.assign({}, b, (t = {}, t[A] = E ? m + "px" : "", t[C] = g ? v + "px" : "", t.transform = "", t));
2658
2658
  }
2659
2659
  function nf(e) {
2660
2660
  var t = e.state, n = e.options, o = n.gpuAcceleration, r = o === void 0 ? !0 : o, s = n.adaptive, a = s === void 0 ? !0 : s, i = n.roundOffsets, c = i === void 0 ? !0 : i, l = { placement: ze(t.placement), variation: qt(t.placement), popper: t.elements.popper, popperRect: t.rects.popper, gpuAcceleration: r, isFixed: t.options.strategy === "fixed" };
@@ -2769,7 +2769,7 @@ function wi(e) {
2769
2769
  }
2770
2770
  function On(e, t) {
2771
2771
  t === void 0 && (t = {});
2772
- var n = t, o = n.placement, r = o === void 0 ? e.placement : o, s = n.boundary, a = s === void 0 ? Mp : s, i = n.rootBoundary, c = i === void 0 ? pi : i, l = n.elementContext, u = l === void 0 ? dn : l, d = n.altBoundary, f = d === void 0 ? !1 : d, v = n.padding, p = v === void 0 ? 0 : v, m = vi(typeof p != "number" ? p : gi(p, In)), w = u === dn ? Np : dn, g = e.rects.popper, S = e.elements[f ? w : u], C = df(Ut(S) ? S : S.contextElement || ct(e.elements.popper), a, c), A = Wt(e.elements.reference), I = wi({ reference: A, element: g, strategy: "absolute", placement: r }), M = sr(Object.assign({}, g, I)), y = u === dn ? M : A, F = { top: C.top - y.top + m.top, bottom: y.bottom - C.bottom + m.bottom, left: C.left - y.left + m.left, right: y.right - C.right + m.right }, L = e.modifiersData.offset;
2772
+ var n = t, o = n.placement, r = o === void 0 ? e.placement : o, s = n.boundary, a = s === void 0 ? Mp : s, i = n.rootBoundary, c = i === void 0 ? pi : i, l = n.elementContext, u = l === void 0 ? dn : l, d = n.altBoundary, f = d === void 0 ? !1 : d, v = n.padding, p = v === void 0 ? 0 : v, m = vi(typeof p != "number" ? p : gi(p, In)), w = u === dn ? Np : dn, g = e.rects.popper, E = e.elements[f ? w : u], C = df(Ut(E) ? E : E.contextElement || ct(e.elements.popper), a, c), A = Wt(e.elements.reference), I = wi({ reference: A, element: g, strategy: "absolute", placement: r }), M = sr(Object.assign({}, g, I)), y = u === dn ? M : A, F = { top: C.top - y.top + m.top, bottom: y.bottom - C.bottom + m.bottom, left: C.left - y.left + m.left, right: y.right - C.right + m.right }, L = e.modifiersData.offset;
2773
2773
  if (u === dn && L) {
2774
2774
  var T = L[r];
2775
2775
  Object.keys(F).forEach(function(b) {
@@ -2803,7 +2803,7 @@ function ff(e) {
2803
2803
  function hf(e) {
2804
2804
  var t = e.state, n = e.options, o = e.name;
2805
2805
  if (!t.modifiersData[o]._skip) {
2806
- for (var r = n.mainAxis, s = r === void 0 ? !0 : r, a = n.altAxis, i = a === void 0 ? !0 : a, c = n.fallbackPlacements, l = n.padding, u = n.boundary, d = n.rootBoundary, f = n.altBoundary, v = n.flipVariations, p = v === void 0 ? !0 : v, m = n.allowedAutoPlacements, w = t.options.placement, g = ze(w), S = g === w, C = c || (S || !p ? [ro(w)] : ff(w)), A = [w].concat(C).reduce(function(ut, Ye) {
2806
+ for (var r = n.mainAxis, s = r === void 0 ? !0 : r, a = n.altAxis, i = a === void 0 ? !0 : a, c = n.fallbackPlacements, l = n.padding, u = n.boundary, d = n.rootBoundary, f = n.altBoundary, v = n.flipVariations, p = v === void 0 ? !0 : v, m = n.allowedAutoPlacements, w = t.options.placement, g = ze(w), E = g === w, C = c || (E || !p ? [ro(w)] : ff(w)), A = [w].concat(C).reduce(function(ut, Ye) {
2807
2807
  return ut.concat(ze(Ye) === Nr ? pf(t, { placement: Ye, boundary: u, rootBoundary: d, padding: l, flipVariations: p, allowedAutoPlacements: m }) : Ye);
2808
2808
  }, []), I = t.rects.reference, M = t.rects.popper, y = /* @__PURE__ */ new Map(), F = !0, L = A[0], T = 0; T < A.length; T++) {
2809
2809
  var b = A[T], P = ze(b), N = qt(b) === zt, W = [_e, Ae].indexOf(P) >= 0, q = W ? "width" : "height", z = On(t, { placement: b, boundary: u, rootBoundary: d, altBoundary: f, padding: l }), k = W ? N ? Ie : we : N ? Ae : _e;
@@ -2870,10 +2870,10 @@ function xf(e) {
2870
2870
  return e === "x" ? "y" : "x";
2871
2871
  }
2872
2872
  function Ef(e) {
2873
- var t = e.state, n = e.options, o = e.name, r = n.mainAxis, s = r === void 0 ? !0 : r, a = n.altAxis, i = a === void 0 ? !1 : a, c = n.boundary, l = n.rootBoundary, u = n.altBoundary, d = n.padding, f = n.tether, v = f === void 0 ? !0 : f, p = n.tetherOffset, m = p === void 0 ? 0 : p, w = On(t, { boundary: c, rootBoundary: l, padding: d, altBoundary: u }), g = ze(t.placement), S = qt(t.placement), C = !S, A = jr(g), I = xf(A), M = t.modifiersData.popperOffsets, y = t.rects.reference, F = t.rects.popper, L = typeof m == "function" ? m(Object.assign({}, t.rects, { placement: t.placement })) : m, T = typeof L == "number" ? { mainAxis: L, altAxis: L } : Object.assign({ mainAxis: 0, altAxis: 0 }, L), b = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, P = { x: 0, y: 0 };
2873
+ var t = e.state, n = e.options, o = e.name, r = n.mainAxis, s = r === void 0 ? !0 : r, a = n.altAxis, i = a === void 0 ? !1 : a, c = n.boundary, l = n.rootBoundary, u = n.altBoundary, d = n.padding, f = n.tether, v = f === void 0 ? !0 : f, p = n.tetherOffset, m = p === void 0 ? 0 : p, w = On(t, { boundary: c, rootBoundary: l, padding: d, altBoundary: u }), g = ze(t.placement), E = qt(t.placement), C = !E, A = jr(g), I = xf(A), M = t.modifiersData.popperOffsets, y = t.rects.reference, F = t.rects.popper, L = typeof m == "function" ? m(Object.assign({}, t.rects, { placement: t.placement })) : m, T = typeof L == "number" ? { mainAxis: L, altAxis: L } : Object.assign({ mainAxis: 0, altAxis: 0 }, L), b = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, P = { x: 0, y: 0 };
2874
2874
  if (M) {
2875
2875
  if (s) {
2876
- var N, W = A === "y" ? _e : we, q = A === "y" ? Ae : Ie, z = A === "y" ? "height" : "width", k = M[A], D = k + w[W], K = k - w[q], te = v ? -F[z] / 2 : 0, Je = S === zt ? y[z] : F[z], ke = S === zt ? -F[z] : -y[z], Nn = t.elements.arrow, ut = v && Nn ? Fr(Nn) : { width: 0, height: 0 }, Ye = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : mi(), Rn = Ye[W], sn = Ye[q], Nt = bn(0, y[z], ut[z]), Tl = C ? y[z] / 2 - te - Nt - Rn - T.mainAxis : Je - Nt - Rn - T.mainAxis, Pl = C ? -y[z] / 2 + te + Nt + sn + T.mainAxis : ke + Nt + sn + T.mainAxis, Ao = t.elements.arrow && $n(t.elements.arrow), Cl = Ao ? A === "y" ? Ao.clientTop || 0 : Ao.clientLeft || 0 : 0, Xr = (N = b == null ? void 0 : b[A]) != null ? N : 0, Al = k + Tl - Xr - Cl, Il = k + Pl - Xr, es = bn(v ? uo(D, Al) : D, k, v ? yt(K, Il) : K);
2876
+ var N, W = A === "y" ? _e : we, q = A === "y" ? Ae : Ie, z = A === "y" ? "height" : "width", k = M[A], D = k + w[W], K = k - w[q], te = v ? -F[z] / 2 : 0, Je = E === zt ? y[z] : F[z], ke = E === zt ? -F[z] : -y[z], Nn = t.elements.arrow, ut = v && Nn ? Fr(Nn) : { width: 0, height: 0 }, Ye = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : mi(), Rn = Ye[W], sn = Ye[q], Nt = bn(0, y[z], ut[z]), Tl = C ? y[z] / 2 - te - Nt - Rn - T.mainAxis : Je - Nt - Rn - T.mainAxis, Pl = C ? -y[z] / 2 + te + Nt + sn + T.mainAxis : ke + Nt + sn + T.mainAxis, Ao = t.elements.arrow && $n(t.elements.arrow), Cl = Ao ? A === "y" ? Ao.clientTop || 0 : Ao.clientLeft || 0 : 0, Xr = (N = b == null ? void 0 : b[A]) != null ? N : 0, Al = k + Tl - Xr - Cl, Il = k + Pl - Xr, es = bn(v ? uo(D, Al) : D, k, v ? yt(K, Il) : K);
2877
2877
  M[A] = es, P[A] = es - k;
2878
2878
  }
2879
2879
  if (i) {
@@ -2962,8 +2962,8 @@ function zr(e) {
2962
2962
  var w = typeof m == "function" ? m(l.options) : m;
2963
2963
  p(), l.options = Object.assign({}, s, l.options, w), l.scrollParents = { reference: Ut(a) ? yn(a) : a.contextElement ? yn(a.contextElement) : [], popper: yn(i) };
2964
2964
  var g = Af($f([].concat(o, l.options.modifiers)));
2965
- return l.orderedModifiers = g.filter(function(S) {
2966
- return S.enabled;
2965
+ return l.orderedModifiers = g.filter(function(E) {
2966
+ return E.enabled;
2967
2967
  }), v(), f.update();
2968
2968
  }, forceUpdate: function() {
2969
2969
  if (!d) {
@@ -2972,12 +2972,12 @@ function zr(e) {
2972
2972
  l.rects = { reference: Pf(w, $n(g), l.options.strategy === "fixed"), popper: Fr(g) }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(F) {
2973
2973
  return l.modifiersData[F.name] = Object.assign({}, F.data);
2974
2974
  });
2975
- for (var S = 0; S < l.orderedModifiers.length; S++) {
2975
+ for (var E = 0; E < l.orderedModifiers.length; E++) {
2976
2976
  if (l.reset === !0) {
2977
- l.reset = !1, S = -1;
2977
+ l.reset = !1, E = -1;
2978
2978
  continue;
2979
2979
  }
2980
- var C = l.orderedModifiers[S], A = C.fn, I = C.options, M = I === void 0 ? {} : I, y = C.name;
2980
+ var C = l.orderedModifiers[E], A = C.fn, I = C.options, M = I === void 0 ? {} : I, y = C.name;
2981
2981
  typeof A == "function" && (l = A({ state: l, options: M, name: y, instance: f }) || l);
2982
2982
  }
2983
2983
  }
@@ -2996,9 +2996,9 @@ function zr(e) {
2996
2996
  });
2997
2997
  function v() {
2998
2998
  l.orderedModifiers.forEach(function(m) {
2999
- var w = m.name, g = m.options, S = g === void 0 ? {} : g, C = m.effect;
2999
+ var w = m.name, g = m.options, E = g === void 0 ? {} : g, C = m.effect;
3000
3000
  if (typeof C == "function") {
3001
- var A = C({ state: l, name: w, instance: f, options: S }), I = function() {
3001
+ var A = C({ state: l, name: w, instance: f, options: E }), I = function() {
3002
3002
  };
3003
3003
  u.push(A || I);
3004
3004
  }
@@ -3659,7 +3659,7 @@ const bh = () => {
3659
3659
  }, i = (p) => {
3660
3660
  if (!e.loop && !e.trapped || a.paused)
3661
3661
  return;
3662
- const { key: m, altKey: w, ctrlKey: g, metaKey: S, currentTarget: C, shiftKey: A } = p, { loop: I } = e, M = m === me.tab && !w && !g && !S, y = document.activeElement;
3662
+ const { key: m, altKey: w, ctrlKey: g, metaKey: E, currentTarget: C, shiftKey: A } = p, { loop: I } = e, M = m === me.tab && !w && !g && !E, y = document.activeElement;
3663
3663
  if (M && y) {
3664
3664
  const F = C, [L, T] = vh(F);
3665
3665
  if (L && T) {
@@ -3696,8 +3696,8 @@ const bh = () => {
3696
3696
  const m = _(n);
3697
3697
  if (!m)
3698
3698
  return;
3699
- const w = p.target, g = p.relatedTarget, S = w && m.contains(w);
3700
- e.trapped || g && m.contains(g) || (o = g), S && t("focusin", p), !a.paused && e.trapped && (S ? r = w : st(r, !0));
3699
+ const w = p.target, g = p.relatedTarget, E = w && m.contains(w);
3700
+ e.trapped || g && m.contains(g) || (o = g), E && t("focusin", p), !a.paused && e.trapped && (E ? r = w : st(r, !0));
3701
3701
  }, d = (p) => {
3702
3702
  const m = _(n);
3703
3703
  if (!(a.paused || !m))
@@ -3725,8 +3725,8 @@ const bh = () => {
3725
3725
  if (o = m, !p.contains(m)) {
3726
3726
  const g = new Event(Ho, Zs);
3727
3727
  p.addEventListener(Ho, c), p.dispatchEvent(g), g.defaultPrevented || Ue(() => {
3728
- let S = e.focusStartEl;
3729
- ye(S) || (st(S), document.activeElement !== S && (S = "first")), S === "first" && yh(ji(p), !0), (document.activeElement === m || S === "container") && st(p);
3728
+ let E = e.focusStartEl;
3729
+ ye(E) || (st(E), document.activeElement !== E && (E = "first")), E === "first" && yh(ji(p), !0), (document.activeElement === m || E === "container") && st(p);
3730
3730
  });
3731
3731
  }
3732
3732
  }
@@ -3901,12 +3901,12 @@ const $h = 0, Mh = (e) => {
3901
3901
  enabled: !!e.visible
3902
3902
  })), c = x(() => {
3903
3903
  var g;
3904
- const S = _(s), C = (g = _(a)) != null ? g : $h;
3904
+ const E = _(s), C = (g = _(a)) != null ? g : $h;
3905
3905
  return {
3906
3906
  name: "arrow",
3907
- enabled: !np(S),
3907
+ enabled: !np(E),
3908
3908
  options: {
3909
- element: S,
3909
+ element: E,
3910
3910
  padding: C
3911
3911
  }
3912
3912
  };
@@ -4001,7 +4001,7 @@ const $h = 0, Mh = (e) => {
4001
4001
  onFocusoutPrevented: l,
4002
4002
  onReleaseRequested: u
4003
4003
  } = Rh(o, n), { attributes: d, arrowRef: f, contentRef: v, styles: p, instanceRef: m, role: w, update: g } = Mh(o), {
4004
- ariaModal: S,
4004
+ ariaModal: E,
4005
4005
  arrowStyle: C,
4006
4006
  contentAttrs: A,
4007
4007
  contentClass: I,
@@ -4031,7 +4031,7 @@ const $h = 0, Mh = (e) => {
4031
4031
  Y(() => o.triggerTargetEl, (N, W) => {
4032
4032
  T == null || T(), T = void 0;
4033
4033
  const q = _(N || v.value), z = _(W || v.value);
4034
- Sn(q) && (T = Y([w, () => o.ariaLabel, S, () => o.id], (k) => {
4034
+ Sn(q) && (T = Y([w, () => o.ariaLabel, E, () => o.id], (k) => {
4035
4035
  ["role", "aria-label", "aria-modal", "id"].forEach((D, K) => {
4036
4036
  En(k[K]) ? q.removeAttribute(D) : q.setAttribute(D, k[K]);
4037
4037
  });
@@ -4148,7 +4148,7 @@ const Dh = At(rh), qr = Symbol("elTooltip"), Bi = ue({
4148
4148
  return !0;
4149
4149
  }, f = et(n, "trigger"), v = Qe(d, Rt(f, "hover", i)), p = Qe(d, Rt(f, "hover", c)), m = Qe(d, Rt(f, "click", (A) => {
4150
4150
  A.button === 0 && l(A);
4151
- })), w = Qe(d, Rt(f, "focus", i)), g = Qe(d, Rt(f, "focus", c)), S = Qe(d, Rt(f, "contextmenu", (A) => {
4151
+ })), w = Qe(d, Rt(f, "focus", i)), g = Qe(d, Rt(f, "focus", c)), E = Qe(d, Rt(f, "contextmenu", (A) => {
4152
4152
  A.preventDefault(), l(A);
4153
4153
  })), C = Qe(d, (A) => {
4154
4154
  const { code: I } = A;
@@ -4164,7 +4164,7 @@ const Dh = At(rh), qr = Symbol("elTooltip"), Bi = ue({
4164
4164
  class: se(_(o).e("trigger")),
4165
4165
  onBlur: _(g),
4166
4166
  onClick: _(m),
4167
- onContextmenu: _(S),
4167
+ onContextmenu: _(E),
4168
4168
  onFocus: _(w),
4169
4169
  onMouseenter: _(v),
4170
4170
  onMouseleave: _(p),
@@ -4196,11 +4196,11 @@ const Jh = H({
4196
4196
  onHide: p,
4197
4197
  onBeforeShow: m,
4198
4198
  onBeforeHide: w
4199
- } = Z(qr, void 0), g = x(() => n.transition || `${r.namespace.value}-fade-in-linear`), S = x(() => process.env.NODE_ENV === "test" ? !0 : n.persistent);
4199
+ } = Z(qr, void 0), g = x(() => n.transition || `${r.namespace.value}-fade-in-linear`), E = x(() => process.env.NODE_ENV === "test" ? !0 : n.persistent);
4200
4200
  qe(() => {
4201
4201
  a.value = !0;
4202
4202
  });
4203
- const C = x(() => _(S) ? !0 : _(l)), A = x(() => n.disabled ? !1 : _(l)), I = x(() => n.appendTo || o.value), M = x(() => {
4203
+ const C = x(() => _(E) ? !0 : _(l)), A = x(() => n.disabled ? !1 : _(l)), I = x(() => n.appendTo || o.value), M = x(() => {
4204
4204
  var k;
4205
4205
  return (k = n.style) != null ? k : {};
4206
4206
  }), y = x(() => !_(l)), F = () => {
@@ -4305,8 +4305,8 @@ const Qh = ["innerHTML"], Xh = { key: 1 }, em = H({
4305
4305
  zf();
4306
4306
  const r = Df(), s = $(), a = $(), i = () => {
4307
4307
  var g;
4308
- const S = _(s);
4309
- S && ((g = S.popperInstanceRef) == null || g.update());
4308
+ const E = _(s);
4309
+ E && ((g = E.popperInstanceRef) == null || g.update());
4310
4310
  }, c = $(!1), l = $(), { show: u, hide: d, hasUpdateHandler: f } = zh({
4311
4311
  indicator: c,
4312
4312
  toggleReason: l
@@ -4348,8 +4348,8 @@ const Qh = ["innerHTML"], Xh = { key: 1 }, em = H({
4348
4348
  g && c.value && (c.value = !1);
4349
4349
  });
4350
4350
  const w = (g) => {
4351
- var S, C;
4352
- const A = (C = (S = a.value) == null ? void 0 : S.contentRef) == null ? void 0 : C.popperContentRef, I = (g == null ? void 0 : g.relatedTarget) || document.activeElement;
4351
+ var E, C;
4352
+ const A = (C = (E = a.value) == null ? void 0 : E.contentRef) == null ? void 0 : C.popperContentRef, I = (g == null ? void 0 : g.relatedTarget) || document.activeElement;
4353
4353
  return A && A.contains(I);
4354
4354
  };
4355
4355
  return jl(() => c.value && d()), t({
@@ -4360,7 +4360,7 @@ const Qh = ["innerHTML"], Xh = { key: 1 }, em = H({
4360
4360
  onOpen: v,
4361
4361
  onClose: p,
4362
4362
  hide: d
4363
- }), (g, S) => (O(), ee(_(Dh), {
4363
+ }), (g, E) => (O(), ee(_(Dh), {
4364
4364
  ref_key: "popperRef",
4365
4365
  ref: s,
4366
4366
  role: g.role
@@ -5373,11 +5373,11 @@ var Gr = H({
5373
5373
  l || co(Wn, "can not inject sub menu");
5374
5374
  const u = $({}), d = $({});
5375
5375
  let f;
5376
- const v = $(!1), p = $(), m = $(null), w = x(() => F.value === "horizontal" && S.value ? "bottom-start" : "right-start"), g = x(() => F.value === "horizontal" && S.value || F.value === "vertical" && !c.props.collapse ? e.expandCloseIcon && e.expandOpenIcon ? M.value ? e.expandOpenIcon : e.expandCloseIcon : cp : e.collapseCloseIcon && e.collapseOpenIcon ? M.value ? e.collapseOpenIcon : e.collapseCloseIcon : dp), S = x(() => l.level === 0), C = x(() => {
5376
+ const v = $(!1), p = $(), m = $(null), w = x(() => F.value === "horizontal" && E.value ? "bottom-start" : "right-start"), g = x(() => F.value === "horizontal" && E.value || F.value === "vertical" && !c.props.collapse ? e.expandCloseIcon && e.expandOpenIcon ? M.value ? e.expandOpenIcon : e.expandCloseIcon : cp : e.collapseCloseIcon && e.collapseOpenIcon ? M.value ? e.collapseOpenIcon : e.collapseCloseIcon : dp), E = x(() => l.level === 0), C = x(() => {
5377
5377
  var z;
5378
5378
  const k = (z = e.teleported) != null ? z : e.popperAppendToBody;
5379
- return k === void 0 ? S.value : k;
5380
- }), A = x(() => c.props.collapse ? `${a.namespace.value}-zoom-in-left` : `${a.namespace.value}-zoom-in-top`), I = x(() => F.value === "horizontal" && S.value ? [
5379
+ return k === void 0 ? E.value : k;
5380
+ }), A = x(() => c.props.collapse ? `${a.namespace.value}-zoom-in-left` : `${a.namespace.value}-zoom-in-top`), I = x(() => F.value === "horizontal" && E.value ? [
5381
5381
  "bottom-start",
5382
5382
  "bottom-end",
5383
5383
  "top-start",
@@ -5593,13 +5593,13 @@ var Gm = H({
5593
5593
  }, g = (b) => {
5594
5594
  const P = u.value.indexOf(b);
5595
5595
  P !== -1 && u.value.splice(P, 1);
5596
- }, S = (b, P) => {
5596
+ }, E = (b, P) => {
5597
5597
  g(b), t("close", b, P);
5598
5598
  }, C = ({
5599
5599
  index: b,
5600
5600
  indexPath: P
5601
5601
  }) => {
5602
- u.value.includes(b) ? S(b, P) : w(b, P);
5602
+ u.value.includes(b) ? E(b, P) : w(b, P);
5603
5603
  }, A = (b) => {
5604
5604
  (e.mode === "horizontal" || e.collapse) && (u.value = []);
5605
5605
  const { index: P, indexPath: N } = b;
@@ -5669,7 +5669,7 @@ var Gm = H({
5669
5669
  addSubMenu: b,
5670
5670
  removeSubMenu: P,
5671
5671
  openMenu: w,
5672
- closeMenu: S,
5672
+ closeMenu: E,
5673
5673
  handleMenuItemClick: A,
5674
5674
  handleSubMenuClick: C
5675
5675
  })), re(`subMenu:${r.uid}`, {
@@ -5892,7 +5892,7 @@ function rv(e) {
5892
5892
  r: "20",
5893
5893
  fill: "none"
5894
5894
  })
5895
- ]), S = o.text ? V("p", { class: p.b("text") }, [o.text]) : void 0;
5895
+ ]), E = o.text ? V("p", { class: p.b("text") }, [o.text]) : void 0;
5896
5896
  return V(Tt, {
5897
5897
  name: p.b("fade"),
5898
5898
  onAfterLeave: c
@@ -5910,7 +5910,7 @@ function rv(e) {
5910
5910
  }, [
5911
5911
  V("div", {
5912
5912
  class: p.b("spinner")
5913
- }, [g, S])
5913
+ }, [g, E])
5914
5914
  ]), [[Yt, o.visible]])
5915
5915
  ])
5916
5916
  });
@@ -6122,7 +6122,7 @@ const cr = function(e = {}) {
6122
6122
  const f = x(() => n.type ? n.type === "error" ? "danger" : n.type : "info"), v = x(() => {
6123
6123
  const y = n.type;
6124
6124
  return { [r.bm("icon", y)]: y && Rs[y] };
6125
- }), p = x(() => n.icon || Rs[n.type] || ""), m = x(() => dv(n.id)), w = x(() => pv(n.id, n.offset) + m.value), g = x(() => u.value + w.value), S = x(() => ({
6125
+ }), p = x(() => n.icon || Rs[n.type] || ""), m = x(() => dv(n.id)), w = x(() => pv(n.id, n.offset) + m.value), g = x(() => u.value + w.value), E = x(() => ({
6126
6126
  top: `${w.value}px`,
6127
6127
  zIndex: a.value
6128
6128
  }));
@@ -6168,7 +6168,7 @@ const cr = function(e = {}) {
6168
6168
  _(r).is("closable", y.showClose),
6169
6169
  y.customClass
6170
6170
  ]),
6171
- style: Pn(_(S)),
6171
+ style: Pn(_(E)),
6172
6172
  role: "alert",
6173
6173
  onMouseenter: A,
6174
6174
  onMouseleave: C
@@ -6812,8 +6812,8 @@ let fn = Object.assign(H({ name: "FocusTrap", props: { as: { type: [Object, Stri
6812
6812
  m instanceof HTMLElement && m.dataset.headlessuiFocusGuard !== "true" && (ul(p, m) || (u.value ? Le(B(r), Se(c.value, { [Ee.Forwards]: () => fe.Next, [Ee.Backwards]: () => fe.Previous }) | fe.WrapAround, { relativeTo: v.target }) : v.target instanceof HTMLElement && _t(v.target)));
6813
6813
  }
6814
6814
  return () => {
6815
- let v = {}, p = { ref: r, onKeydown: d, onFocusout: f }, { features: m, initialFocus: w, containers: g, ...S } = e;
6816
- return V(ie, [!!(m & 4) && V(Kt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: kt.Focusable }), he({ ourProps: p, theirProps: { ...t, ...S }, slot: v, attrs: t, slots: n, name: "FocusTrap" }), !!(m & 4) && V(Kt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: kt.Focusable })]);
6815
+ let v = {}, p = { ref: r, onKeydown: d, onFocusout: f }, { features: m, initialFocus: w, containers: g, ...E } = e;
6816
+ return V(ie, [!!(m & 4) && V(Kt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: kt.Focusable }), he({ ourProps: p, theirProps: { ...t, ...E }, slot: v, attrs: t, slots: n, name: "FocusTrap" }), !!(m & 4) && V(Kt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: kt.Focusable })]);
6817
6817
  };
6818
6818
  } }), { features: cl }), ht = [];
6819
6819
  Uv(() => {
@@ -7172,7 +7172,7 @@ let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", c0 = H({ name: "Dialog", inheri
7172
7172
  throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
7173
7173
  if (typeof l.value != "boolean")
7174
7174
  throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l.value === Kn ? void 0 : e.open}`);
7175
- let f = x(() => a.value && l.value ? 0 : 1), v = x(() => f.value === 0), p = x(() => i.value > 1), m = Z(mr, null) !== null, [w, g] = fl(), { resolveContainers: S, mainTreeNodeRef: C, MainTreeNode: A } = gl({ portals: w, defaultContainers: [x(() => {
7175
+ let f = x(() => a.value && l.value ? 0 : 1), v = x(() => f.value === 0), p = x(() => i.value > 1), m = Z(mr, null) !== null, [w, g] = fl(), { resolveContainers: E, mainTreeNodeRef: C, MainTreeNode: A } = gl({ portals: w, defaultContainers: [x(() => {
7176
7176
  var k;
7177
7177
  return (k = N.panelRef.value) != null ? k : u.value;
7178
7178
  })] }), I = x(() => p.value ? "parent" : "leaf"), M = x(() => c !== null ? (c.value & Re.Closing) === Re.Closing : !1), y = x(() => m || M.value ? !1 : v.value), F = x(() => {
@@ -7195,7 +7195,7 @@ let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", c0 = H({ name: "Dialog", inheri
7195
7195
  } };
7196
7196
  re(mr, N);
7197
7197
  let W = x(() => !(!v.value || p.value));
7198
- sl(S, (k, D) => {
7198
+ sl(E, (k, D) => {
7199
7199
  N.close(), Ue(() => D == null ? void 0 : D.focus());
7200
7200
  }, W);
7201
7201
  let q = x(() => !(p.value || f.value !== 0));
@@ -7205,7 +7205,7 @@ let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", c0 = H({ name: "Dialog", inheri
7205
7205
  let z = x(() => !(M.value || f.value !== 0 || m));
7206
7206
  return i0(d, z, (k) => {
7207
7207
  var D;
7208
- return { containers: [...(D = k.containers) != null ? D : [], S] };
7208
+ return { containers: [...(D = k.containers) != null ? D : [], E] };
7209
7209
  }), $e((k) => {
7210
7210
  if (f.value !== 0)
7211
7211
  return;
@@ -7221,7 +7221,7 @@ let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", c0 = H({ name: "Dialog", inheri
7221
7221
  K.observe(D), k(() => K.disconnect());
7222
7222
  }), () => {
7223
7223
  let { id: k, open: D, initialFocus: K, ...te } = e, Je = { ...n, ref: u, id: k, role: "dialog", "aria-modal": f.value === 0 ? !0 : void 0, "aria-labelledby": P.value, "aria-describedby": b.value }, ke = { open: f.value === 0 };
7224
- return V(pr, { force: !0 }, () => [V(pl, () => V(Yv, { target: u.value }, () => V(pr, { force: !1 }, () => V(fn, { initialFocus: K, containers: S, features: v.value ? Se(I.value, { parent: fn.features.RestoreFocus, leaf: fn.features.All & ~fn.features.FocusLock }) : fn.features.None }, () => V(g, {}, () => he({ ourProps: Je, theirProps: { ...te, ...n }, slot: ke, attrs: n, slots: o, visible: f.value === 0, features: St.RenderStrategy | St.Static, name: "Dialog" })))))), V(A)]);
7224
+ return V(pr, { force: !0 }, () => [V(pl, () => V(Yv, { target: u.value }, () => V(pr, { force: !1 }, () => V(fn, { initialFocus: K, containers: E, features: v.value ? Se(I.value, { parent: fn.features.RestoreFocus, leaf: fn.features.All & ~fn.features.FocusLock }) : fn.features.None }, () => V(g, {}, () => he({ ourProps: Je, theirProps: { ...te, ...n }, slot: ke, attrs: n, slots: o, visible: f.value === 0, features: St.RenderStrategy | St.Static, name: "Dialog" })))))), V(A)]);
7225
7225
  };
7226
7226
  } });
7227
7227
  H({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-overlay-${Ce()}` } }, setup(e, { attrs: t, slots: n }) {
@@ -7307,7 +7307,7 @@ let xl = H({ name: "Popover", props: { as: { type: [Object, String], default: "d
7307
7307
  re(bl, v), $v(x(() => Se(a.value, { [0]: Re.Open, [1]: Re.Closed })));
7308
7308
  let p = { buttonId: v.buttonId, panelId: v.panelId, close() {
7309
7309
  v.closePopover();
7310
- } }, m = _l(), w = m == null ? void 0 : m.registerPopover, [g, S] = fl(), C = gl({ portals: g, defaultContainers: [i, u] });
7310
+ } }, m = _l(), w = m == null ? void 0 : m.registerPopover, [g, E] = fl(), C = gl({ portals: g, defaultContainers: [i, u] });
7311
7311
  function A() {
7312
7312
  var I, M, y, F;
7313
7313
  return (F = m == null ? void 0 : m.isFocusWithinPopoverGroup()) != null ? F : ((I = d.value) == null ? void 0 : I.activeElement) && (((M = B(i)) == null ? void 0 : M.contains(d.value.activeElement)) || ((y = B(u)) == null ? void 0 : y.contains(d.value.activeElement)));
@@ -7320,7 +7320,7 @@ let xl = H({ name: "Popover", props: { as: { type: [Object, String], default: "d
7320
7320
  v.closePopover(), ol(M, Jr.Loose) || (I.preventDefault(), (y = B(i)) == null || y.focus());
7321
7321
  }, x(() => a.value === 0)), () => {
7322
7322
  let I = { open: a.value === 0, close: v.close };
7323
- return V(S, {}, () => he({ theirProps: { ...e, ...n }, ourProps: { ref: s }, slot: I, slots: t, attrs: n, name: "Popover" }));
7323
+ return V(E, {}, () => he({ theirProps: { ...e, ...n }, ourProps: { ref: s }, slot: I, slots: t, attrs: n, name: "Popover" }));
7324
7324
  };
7325
7325
  } }), f0 = H({ name: "PopoverButton", props: { as: { type: [Object, String], default: "button" }, disabled: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-popover-button-${Ce()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
7326
7326
  let r = Co("PopoverButton"), s = x(() => Ke(r.button));
@@ -7371,7 +7371,7 @@ let xl = H({ name: "Popover", props: { as: { type: [Object, String], default: "d
7371
7371
  C.preventDefault(), C.stopPropagation();
7372
7372
  }
7373
7373
  let g = Yr();
7374
- function S() {
7374
+ function E() {
7375
7375
  let C = B(r.panel);
7376
7376
  if (!C)
7377
7377
  return;
@@ -7382,7 +7382,7 @@ let xl = H({ name: "Popover", props: { as: { type: [Object, String], default: "d
7382
7382
  }
7383
7383
  return () => {
7384
7384
  let C = r.popoverState.value === 0, A = { open: C }, { id: I, ...M } = e, y = l.value ? { ref: u, type: f.value, onKeydown: v, onClick: m } : { ref: u, id: I, type: f.value, "aria-expanded": e.disabled ? void 0 : r.popoverState.value === 0, "aria-controls": B(r.panel) ? r.panelId.value : void 0, disabled: e.disabled ? !0 : void 0, onKeydown: v, onKeyup: p, onClick: m, onMousedown: w };
7385
- return V(ie, [he({ ourProps: y, theirProps: { ...t, ...M }, slot: A, attrs: t, slots: n, name: "PopoverButton" }), C && !l.value && r.isPortalled.value && V(Kt, { id: d, features: kt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: S })]);
7385
+ return V(ie, [he({ ourProps: y, theirProps: { ...t, ...M }, slot: A, attrs: t, slots: n, name: "PopoverButton" }), C && !l.value && r.isPortalled.value && V(Kt, { id: d, features: kt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: E })]);
7386
7386
  };
7387
7387
  } });
7388
7388
  H({ 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 }) {
@@ -7405,24 +7405,24 @@ let h0 = H({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
7405
7405
  var w, g;
7406
7406
  if (!r || s.popoverState.value !== 0 || !s.panel)
7407
7407
  return;
7408
- let S = (w = a.value) == null ? void 0 : w.activeElement;
7409
- (g = B(s.panel)) != null && g.contains(S) || Le(B(s.panel), fe.First);
7408
+ let E = (w = a.value) == null ? void 0 : w.activeElement;
7409
+ (g = B(s.panel)) != null && g.contains(E) || Le(B(s.panel), fe.First);
7410
7410
  });
7411
7411
  let l = Kr(), u = x(() => l !== null ? (l.value & Re.Open) === Re.Open : s.popoverState.value === 0);
7412
7412
  function d(w) {
7413
- var g, S;
7413
+ var g, E;
7414
7414
  switch (w.key) {
7415
7415
  case Xe.Escape:
7416
7416
  if (s.popoverState.value !== 0 || !B(s.panel) || a.value && !((g = B(s.panel)) != null && g.contains(a.value.activeElement)))
7417
7417
  return;
7418
- w.preventDefault(), w.stopPropagation(), s.closePopover(), (S = B(s.button)) == null || S.focus();
7418
+ w.preventDefault(), w.stopPropagation(), s.closePopover(), (E = B(s.button)) == null || E.focus();
7419
7419
  break;
7420
7420
  }
7421
7421
  }
7422
7422
  function f(w) {
7423
- var g, S, C, A, I;
7423
+ var g, E, C, A, I;
7424
7424
  let M = w.relatedTarget;
7425
- M && B(s.panel) && ((g = B(s.panel)) != null && g.contains(M) || (s.closePopover(), ((C = (S = B(s.beforePanelSentinel)) == null ? void 0 : S.contains) != null && C.call(S, M) || (I = (A = B(s.afterPanelSentinel)) == null ? void 0 : A.contains) != null && I.call(A, M)) && M.focus({ preventScroll: !0 })));
7425
+ M && B(s.panel) && ((g = B(s.panel)) != null && g.contains(M) || (s.closePopover(), ((C = (E = B(s.beforePanelSentinel)) == null ? void 0 : E.contains) != null && C.call(E, M) || (I = (A = B(s.afterPanelSentinel)) == null ? void 0 : A.contains) != null && I.call(A, M)) && M.focus({ preventScroll: !0 })));
7426
7426
  }
7427
7427
  let v = Yr();
7428
7428
  function p() {
@@ -7431,11 +7431,11 @@ let h0 = H({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
7431
7431
  return;
7432
7432
  function g() {
7433
7433
  Se(v.value, { [Ee.Forwards]: () => {
7434
- var S;
7435
- Le(w, fe.First) === Tn.Error && ((S = B(s.afterPanelSentinel)) == null || S.focus());
7434
+ var E;
7435
+ Le(w, fe.First) === Tn.Error && ((E = B(s.afterPanelSentinel)) == null || E.focus());
7436
7436
  }, [Ee.Backwards]: () => {
7437
- var S;
7438
- (S = B(s.button)) == null || S.focus({ preventScroll: !0 });
7437
+ var E;
7438
+ (E = B(s.button)) == null || E.focus({ preventScroll: !0 });
7439
7439
  } });
7440
7440
  }
7441
7441
  g();
@@ -7446,10 +7446,10 @@ let h0 = H({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
7446
7446
  return;
7447
7447
  function g() {
7448
7448
  Se(v.value, { [Ee.Forwards]: () => {
7449
- let S = B(s.button), C = B(s.panel);
7450
- if (!S)
7449
+ let E = B(s.button), C = B(s.panel);
7450
+ if (!E)
7451
7451
  return;
7452
- let A = Po(), I = A.indexOf(S), M = A.slice(0, I + 1), y = [...A.slice(I + 1), ...M];
7452
+ let A = Po(), I = A.indexOf(E), M = A.slice(0, I + 1), y = [...A.slice(I + 1), ...M];
7453
7453
  for (let F of y.slice())
7454
7454
  if (F.dataset.headlessuiFocusGuard === "true" || C != null && C.contains(F)) {
7455
7455
  let L = y.indexOf(F);
@@ -7457,14 +7457,14 @@ let h0 = H({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
7457
7457
  }
7458
7458
  Le(y, fe.First, { sorted: !1 });
7459
7459
  }, [Ee.Backwards]: () => {
7460
- var S;
7461
- Le(w, fe.Previous) === Tn.Error && ((S = B(s.button)) == null || S.focus());
7460
+ var E;
7461
+ Le(w, fe.Previous) === Tn.Error && ((E = B(s.button)) == null || E.focus());
7462
7462
  } });
7463
7463
  }
7464
7464
  g();
7465
7465
  }
7466
7466
  return () => {
7467
- let w = { open: s.popoverState.value === 0, close: s.close }, { id: g, focus: S, ...C } = e, A = { ref: s.panel, id: g, onKeydown: d, onFocusout: r && s.popoverState.value === 0 ? f : void 0, tabIndex: -1 };
7467
+ let w = { open: s.popoverState.value === 0, close: s.close }, { id: g, focus: E, ...C } = e, A = { ref: s.panel, id: g, onKeydown: d, onFocusout: r && s.popoverState.value === 0 ? f : void 0, tabIndex: -1 };
7468
7468
  return he({ ourProps: A, theirProps: { ...t, ...C }, attrs: t, slot: w, slots: { ...n, default: (...I) => {
7469
7469
  var M;
7470
7470
  return [V(ie, [u.value && s.isPortalled.value && V(Kt, { id: i, ref: s.beforePanelSentinel, features: kt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: p }), (M = n.default) == null ? void 0 : M.call(n, ...I), u.value && s.isPortalled.value && V(Kt, { id: c, ref: s.afterPanelSentinel, features: kt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: m })])];
@@ -7978,7 +7978,7 @@ function V0(e, t, n, o, r, s) {
7978
7978
  </div> `)
7979
7979
  ]);
7980
7980
  }
7981
- const El = /* @__PURE__ */ $t(g0, [["render", V0], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/c/Desktop/workspace/z_liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
7981
+ const El = /* @__PURE__ */ $t(g0, [["render", V0], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/c/Desktop/worker code/workspace/z_liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
7982
7982
  const W0 = {
7983
7983
  data() {
7984
7984
  return {};
@@ -8034,7 +8034,7 @@ function Z0(e, t, n, o, r, s) {
8034
8034
  ])
8035
8035
  ]);
8036
8036
  }
8037
- const Q0 = /* @__PURE__ */ $t(W0, [["render", Z0], ["__scopeId", "data-v-47199182"], ["__file", "/Users/c/Desktop/workspace/z_liusenlin_project/Translation_Video/src/components/Login.vue"]]);
8037
+ const Q0 = /* @__PURE__ */ $t(W0, [["render", Z0], ["__scopeId", "data-v-47199182"], ["__file", "/Users/c/Desktop/worker code/workspace/z_liusenlin_project/Translation_Video/src/components/Login.vue"]]);
8038
8038
  /*!
8039
8039
  * pinia v2.1.4
8040
8040
  * (c) 2023 Eduardo San Martin Morote
@@ -8151,7 +8151,7 @@ function gr(e, t, n = {}, o, r, s) {
8151
8151
  w === P && (l = !0);
8152
8152
  }), u = !0, Lt(d, b, o.state.value[e]);
8153
8153
  }
8154
- const S = s ? function() {
8154
+ const E = s ? function() {
8155
8155
  const { state: b } = n, P = b ? b() : {};
8156
8156
  this.$patch((N) => {
8157
8157
  Oe(N, P);
@@ -8202,7 +8202,7 @@ function gr(e, t, n = {}, o, r, s) {
8202
8202
  $id: e,
8203
8203
  $onAction: ba.bind(null, f),
8204
8204
  $patch: g,
8205
- $reset: S,
8205
+ $reset: E,
8206
8206
  $subscribe(T, b = {}) {
8207
8207
  const P = ba(d, T, b.detached, () => N()), N = a.run(() => Y(() => o.state.value[e], (W) => {
8208
8208
  (b.flush === "sync" ? u : l) && T({
@@ -8360,12 +8360,12 @@ const sg = og("user", {
8360
8360
  actions: {
8361
8361
  getUser(e = !1) {
8362
8362
  return window.getUserStatusPromise = new Promise((t, n) => {
8363
- da(e).then(({ profile: o, subscription: r, team_subscription: s, drive: a }) => {
8364
- if (o) {
8365
- let { free_cnt: i, is_subscribed: c, detail: l } = r;
8366
- i || (i = 0), l && l.ends_at && (c = new Date(l.ends_at) > /* @__PURE__ */ new Date());
8367
- const u = s && s.detail || null, d = u && !0 || !1, f = c && l.name || d && u.name || "", v = { ...o, free_cnt: i, is_subscribed: c || d, subscribedType: f, detail: l || u, team_subscription: s, isMember: !c && s, drive: a };
8368
- this.user = v, window.userStatus = v;
8363
+ da(e).then(({ profile: o, subscription: r, team_subscription: s, drive: a, jwt: i }) => {
8364
+ if (i && (window.g_app_jwt = i), o) {
8365
+ let { free_cnt: c, is_subscribed: l, detail: u } = r;
8366
+ c || (c = 0), u && u.ends_at && (l = new Date(u.ends_at) > /* @__PURE__ */ new Date());
8367
+ const d = s && s.detail || null, f = d && !0 || !1, v = l && u.name || f && d.name || "", p = { ...o, free_cnt: c, is_subscribed: l || f, subscribedType: v, detail: u || d, team_subscription: s, isMember: !l && s, drive: a };
8368
+ this.user = p, window.userStatus = p;
8369
8369
  }
8370
8370
  t({ profile: o, subscription: r, is_subscribed: this.user && this.user.is_subscribed });
8371
8371
  }, (o) => {
@@ -8383,24 +8383,25 @@ const sg = og("user", {
8383
8383
  });
8384
8384
  let r = 1;
8385
8385
  const s = () => {
8386
- da(n).then(({ profile: a, subscription: i, team_subscription: c, drive: l }) => {
8387
- let { free_cnt: u, is_subscribed: d, detail: f } = i;
8388
- u || (u = 0), f && f.ends_at && (d = new Date(f.ends_at) > /* @__PURE__ */ new Date());
8389
- const v = c && c.detail || null, p = v && !0 || !1, m = d && f.name || p && v.name || "";
8390
- if (d || p || t == "purchase" && u) {
8391
- const w = { ...a, free_cnt: u, is_subscribed: d || p, subscribedType: m, detail: f || v, team_subscription: c, isMember: !d && c, drive: l };
8392
- if (this.user = w, window.userStatus = w, window.opener) {
8393
- const g = {
8386
+ da(n).then(({ profile: a, subscription: i, team_subscription: c, drive: l, jwt: u }) => {
8387
+ u && (window.g_app_jwt = u);
8388
+ let { free_cnt: d, is_subscribed: f, detail: v } = i;
8389
+ d || (d = 0), v && v.ends_at && (f = new Date(v.ends_at) > /* @__PURE__ */ new Date());
8390
+ const p = c && c.detail || null, m = p && !0 || !1, w = f && v.name || m && p.name || "";
8391
+ if (f || m || t == "purchase" && d) {
8392
+ const g = { ...a, free_cnt: d, is_subscribed: f || m, subscribedType: w, detail: v || p, team_subscription: c, isMember: !f && c, drive: l };
8393
+ if (this.user = g, window.userStatus = g, window.opener) {
8394
+ const E = {
8394
8395
  type: "subscribed"
8395
8396
  // token: profile.token,
8396
8397
  // expire_at: profile.expire_at
8397
8398
  };
8398
- Zi({ message: g, user: w }, "subscribed:success"), window.opener.postMessage(g, process.env.NODE_ENV == "development" ? "http://localhost:8080" : "*");
8399
+ Zi({ message: E, user: g }, "subscribed:success"), window.opener.postMessage(E, process.env.NODE_ENV == "development" ? "http://localhost:8080" : "*");
8399
8400
  }
8400
8401
  o.close(), c && c.quota > 1 ? this.isShowInvite = !0 : (this.isShowToast = !0, this.toastContent = t == "purchase" ? "purchased credits" : "upgraded to a member", setTimeout(() => {
8401
8402
  this.isShowToast = !1;
8402
- const g = Qi();
8403
- (window.opener && !e || g.product && g.product == "image_translator" || g.close) && window.close();
8403
+ const E = Qi();
8404
+ (window.opener && !e || E.product && E.product == "image_translator" || E.close) && window.close();
8404
8405
  }, 3e3));
8405
8406
  } else
8406
8407
  r > 20 ? o.close() : setTimeout(() => {
@@ -8629,7 +8630,7 @@ function Cg(e, t, n, o, r, s) {
8629
8630
  }, Pg, 8, Og)
8630
8631
  ]);
8631
8632
  }
8632
- const wa = /* @__PURE__ */ $t(ag, [["render", Cg], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/c/Desktop/workspace/z_liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
8633
+ const wa = /* @__PURE__ */ $t(ag, [["render", Cg], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/c/Desktop/worker code/workspace/z_liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
8633
8634
  const Ag = {
8634
8635
  props: ["content", "top"]
8635
8636
  }, Ig = (e) => (Qt("data-v-7b6def48"), e = e(), Xt(), e), $g = /* @__PURE__ */ Ig(() => /* @__PURE__ */ h(
@@ -8674,7 +8675,7 @@ function Mg(e, t, n, o, r, s) {
8674
8675
  /* STYLE */
8675
8676
  );
8676
8677
  }
8677
- const Ng = /* @__PURE__ */ $t(Ag, [["render", Mg], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/c/Desktop/workspace/z_liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
8678
+ const Ng = /* @__PURE__ */ $t(Ag, [["render", Mg], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/c/Desktop/worker code/workspace/z_liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
8678
8679
  const Rg = { class: "background-cover" }, Lg = /* @__PURE__ */ h(
8679
8680
  "div",
8680
8681
  { class: "invite-success" },
@@ -8759,7 +8760,7 @@ const Rg = { class: "background-cover" }, Lg = /* @__PURE__ */ h(
8759
8760
  ])
8760
8761
  ]));
8761
8762
  }
8762
- }, Vg = /* @__PURE__ */ $t(Ug, [["__file", "/Users/c/Desktop/workspace/z_liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
8763
+ }, Vg = /* @__PURE__ */ $t(Ug, [["__file", "/Users/c/Desktop/worker code/workspace/z_liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
8763
8764
  function Wg(e, t) {
8764
8765
  return O(), R("svg", {
8765
8766
  xmlns: "http://www.w3.org/2000/svg",
@@ -9250,7 +9251,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), qg = /* @__PURE__ *
9250
9251
  });
9251
9252
  };
9252
9253
  }
9253
- }, b1 = /* @__PURE__ */ $t(g1, [["__scopeId", "data-v-b9e2cd3f"], ["__file", "/Users/c/Desktop/workspace/z_liusenlin_project/Translation_Video/src/components/MobileMoreApps.vue"]]);
9254
+ }, b1 = /* @__PURE__ */ $t(g1, [["__scopeId", "data-v-b9e2cd3f"], ["__file", "/Users/c/Desktop/worker code/workspace/z_liusenlin_project/Translation_Video/src/components/MobileMoreApps.vue"]]);
9254
9255
  const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
9255
9256
  class: "flex items-center justify-between py-6 lg:px-0 px-6",
9256
9257
  "aria-label": "Global"
@@ -9866,7 +9867,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
9866
9867
  );
9867
9868
  });
9868
9869
  async function g() {
9869
- S();
9870
+ E();
9870
9871
  const L = Dt.service({
9871
9872
  text: "logining...",
9872
9873
  background: "rgba(0, 0, 0, 0.7)"
@@ -9878,7 +9879,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
9878
9879
  L.close();
9879
9880
  }
9880
9881
  }
9881
- function S() {
9882
+ function E() {
9882
9883
  n.userStore.showLogin(!1);
9883
9884
  }
9884
9885
  function C() {
@@ -10326,7 +10327,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
10326
10327
  e.userStore.isShowLogin ? (O(), ee(Q0, {
10327
10328
  key: 0,
10328
10329
  onSuccess: g,
10329
- onClose: S
10330
+ onClose: E
10330
10331
  })) : j("v-if", !0),
10331
10332
  e.userStore.isShowToast ? (O(), ee(Ng, {
10332
10333
  key: 1,
@@ -10341,7 +10342,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
10341
10342
  /* STABLE_FRAGMENT */
10342
10343
  ));
10343
10344
  }
10344
- }, Cb = /* @__PURE__ */ $t(Pb, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/c/Desktop/workspace/z_liusenlin_project/Translation_Video/src/components/Header.vue"]]), Nb = {
10345
+ }, Cb = /* @__PURE__ */ $t(Pb, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/c/Desktop/worker code/workspace/z_liusenlin_project/Translation_Video/src/components/Header.vue"]]), Nb = {
10345
10346
  install(e) {
10346
10347
  e.component("my-header", Cb);
10347
10348
  }