@roudanio/awesome-comment 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ const J = {}, gt = [], ke = () => {
8
8
  }, Ri = () => !1, Li = /^on[^a-z]/, hn = (e) => Li.test(e), os = (e) => e.startsWith("onUpdate:"), re = Object.assign, is = (e, t) => {
9
9
  const n = e.indexOf(t);
10
10
  n > -1 && e.splice(n, 1);
11
- }, Mi = Object.prototype.hasOwnProperty, N = (e, t) => Mi.call(e, t), R = Array.isArray, _t = (e) => pn(e) === "[object Map]", ko = (e) => pn(e) === "[object Set]", F = (e) => typeof e == "function", oe = (e) => typeof e == "string", rs = (e) => typeof e == "symbol", q = (e) => e !== null && typeof e == "object", xo = (e) => q(e) && F(e.then) && F(e.catch), Io = Object.prototype.toString, pn = (e) => Io.call(e), Fi = (e) => pn(e).slice(8, -1), To = (e) => pn(e) === "[object Object]", cs = (e) => oe(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Qt = /* @__PURE__ */ ss(
11
+ }, Mi = Object.prototype.hasOwnProperty, N = (e, t) => Mi.call(e, t), R = Array.isArray, _t = (e) => pn(e) === "[object Map]", xo = (e) => pn(e) === "[object Set]", F = (e) => typeof e == "function", oe = (e) => typeof e == "string", rs = (e) => typeof e == "symbol", q = (e) => e !== null && typeof e == "object", Io = (e) => q(e) && F(e.then) && F(e.catch), To = Object.prototype.toString, pn = (e) => To.call(e), Fi = (e) => pn(e).slice(8, -1), Co = (e) => pn(e) === "[object Object]", cs = (e) => oe(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Qt = /* @__PURE__ */ ss(
12
12
  // the leading comma is intentional so empty string "" is also included
13
13
  ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
14
14
  ), mn = (e) => {
@@ -16,10 +16,10 @@ const J = {}, gt = [], ke = () => {
16
16
  return (n) => t[n] || (t[n] = e(n));
17
17
  }, Ki = /-(\w)/g, yt = mn((e) => e.replace(Ki, (t, n) => n ? n.toUpperCase() : "")), zi = /\B([A-Z])/g, ct = mn(
18
18
  (e) => e.replace(zi, "-$1").toLowerCase()
19
- ), Co = mn(
19
+ ), Oo = mn(
20
20
  (e) => e.charAt(0).toUpperCase() + e.slice(1)
21
21
  ), jn = mn(
22
- (e) => e ? `on${Co(e)}` : ""
22
+ (e) => e ? `on${Oo(e)}` : ""
23
23
  ), Ft = (e, t) => !Object.is(e, t), en = (e, t) => {
24
24
  for (let n = 0; n < e.length; n++)
25
25
  e[n](t);
@@ -33,8 +33,8 @@ const J = {}, gt = [], ke = () => {
33
33
  const t = parseFloat(e);
34
34
  return isNaN(t) ? e : t;
35
35
  };
36
- let Ms;
37
- const Dn = () => Ms || (Ms = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
36
+ let Fs;
37
+ const Dn = () => Fs || (Fs = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
38
38
  function gn(e) {
39
39
  if (R(e)) {
40
40
  const t = {};
@@ -77,16 +77,16 @@ function _n(e) {
77
77
  return t.trim();
78
78
  }
79
79
  const Wi = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Hi = /* @__PURE__ */ ss(Wi);
80
- function Oo(e) {
80
+ function So(e) {
81
81
  return !!e || e === "";
82
82
  }
83
- const Fe = (e) => oe(e) ? e : e == null ? "" : R(e) || q(e) && (e.toString === Io || !F(e.toString)) ? JSON.stringify(e, So, 2) : String(e), So = (e, t) => t && t.__v_isRef ? So(e, t.value) : _t(t) ? {
83
+ const Fe = (e) => oe(e) ? e : e == null ? "" : R(e) || q(e) && (e.toString === To || !F(e.toString)) ? JSON.stringify(e, Po, 2) : String(e), Po = (e, t) => t && t.__v_isRef ? Po(e, t.value) : _t(t) ? {
84
84
  [`Map(${t.size})`]: [...t.entries()].reduce((n, [s, o]) => (n[`${s} =>`] = o, n), {})
85
- } : ko(t) ? {
85
+ } : xo(t) ? {
86
86
  [`Set(${t.size})`]: [...t.values()]
87
- } : q(t) && !R(t) && !To(t) ? String(t) : t;
87
+ } : q(t) && !R(t) && !Co(t) ? String(t) : t;
88
88
  let me;
89
- class Po {
89
+ class Eo {
90
90
  constructor(t = !1) {
91
91
  this.detached = t, this._active = !0, this.effects = [], this.cleanups = [], this.parent = me, !t && me && (this.index = (me.scopes || (me.scopes = [])).push(
92
92
  this
@@ -137,13 +137,13 @@ class Po {
137
137
  }
138
138
  }
139
139
  }
140
- function Eo(e) {
141
- return new Po(e);
140
+ function jo(e) {
141
+ return new Eo(e);
142
142
  }
143
143
  function Zi(e, t = me) {
144
144
  t && t.active && t.effects.push(e);
145
145
  }
146
- function jo() {
146
+ function Ao() {
147
147
  return me;
148
148
  }
149
149
  function Vi(e) {
@@ -152,7 +152,7 @@ function Vi(e) {
152
152
  const as = (e) => {
153
153
  const t = new Set(e);
154
154
  return t.w = 0, t.n = 0, t;
155
- }, Ao = (e) => (e.w & Ve) > 0, Ro = (e) => (e.n & Ve) > 0, Xi = ({ deps: e }) => {
155
+ }, Ro = (e) => (e.w & Ve) > 0, Lo = (e) => (e.n & Ve) > 0, Xi = ({ deps: e }) => {
156
156
  if (e.length)
157
157
  for (let t = 0; t < e.length; t++)
158
158
  e[t].w |= Ve;
@@ -162,7 +162,7 @@ const as = (e) => {
162
162
  let n = 0;
163
163
  for (let s = 0; s < t.length; s++) {
164
164
  const o = t[s];
165
- Ao(o) && !Ro(o) ? o.delete(e) : t[n++] = o, o.w &= ~Ve, o.n &= ~Ve;
165
+ Ro(o) && !Lo(o) ? o.delete(e) : t[n++] = o, o.w &= ~Ve, o.n &= ~Ve;
166
166
  }
167
167
  t.length = n;
168
168
  }
@@ -185,16 +185,16 @@ class ls {
185
185
  t = t.parent;
186
186
  }
187
187
  try {
188
- return this.parent = we, we = this, We = !0, Ve = 1 << ++Et, Et <= Wn ? Xi(this) : Fs(this), this.fn();
188
+ return this.parent = we, we = this, We = !0, Ve = 1 << ++Et, Et <= Wn ? Xi(this) : Ks(this), this.fn();
189
189
  } finally {
190
190
  Et <= Wn && Bi(this), Ve = 1 << --Et, we = this.parent, We = n, this.parent = void 0, this.deferStop && this.stop();
191
191
  }
192
192
  }
193
193
  stop() {
194
- we === this ? this.deferStop = !0 : this.active && (Fs(this), this.onStop && this.onStop(), this.active = !1);
194
+ we === this ? this.deferStop = !0 : this.active && (Ks(this), this.onStop && this.onStop(), this.active = !1);
195
195
  }
196
196
  }
197
- function Fs(e) {
197
+ function Ks(e) {
198
198
  const { deps: t } = e;
199
199
  if (t.length) {
200
200
  for (let n = 0; n < t.length; n++)
@@ -203,12 +203,12 @@ function Fs(e) {
203
203
  }
204
204
  }
205
205
  let We = !0;
206
- const Lo = [];
206
+ const Mo = [];
207
207
  function xt() {
208
- Lo.push(We), We = !1;
208
+ Mo.push(We), We = !1;
209
209
  }
210
210
  function It() {
211
- const e = Lo.pop();
211
+ const e = Mo.pop();
212
212
  We = e === void 0 ? !0 : e;
213
213
  }
214
214
  function de(e, t, n) {
@@ -216,12 +216,12 @@ function de(e, t, n) {
216
216
  let s = cn.get(e);
217
217
  s || cn.set(e, s = /* @__PURE__ */ new Map());
218
218
  let o = s.get(n);
219
- o || s.set(n, o = as()), Mo(o);
219
+ o || s.set(n, o = as()), Fo(o);
220
220
  }
221
221
  }
222
- function Mo(e, t) {
222
+ function Fo(e, t) {
223
223
  let n = !1;
224
- Et <= Wn ? Ro(e) || (e.n |= Ve, n = !Ao(e)) : n = !e.has(we), n && (e.add(we), we.deps.push(e));
224
+ Et <= Wn ? Lo(e) || (e.n |= Ve, n = !Ro(e)) : n = !e.has(we), n && (e.add(we), we.deps.push(e));
225
225
  }
226
226
  function Ke(e, t, n, s, o, i) {
227
227
  const r = cn.get(e);
@@ -259,20 +259,20 @@ function Ke(e, t, n, s, o, i) {
259
259
  function Zn(e, t) {
260
260
  const n = R(e) ? e : [...e];
261
261
  for (const s of n)
262
- s.computed && Ks(s);
262
+ s.computed && zs(s);
263
263
  for (const s of n)
264
- s.computed || Ks(s);
264
+ s.computed || zs(s);
265
265
  }
266
- function Ks(e, t) {
266
+ function zs(e, t) {
267
267
  (e !== we || e.allowRecurse) && (e.scheduler ? e.scheduler() : e.run());
268
268
  }
269
269
  function Ji(e, t) {
270
270
  var n;
271
271
  return (n = cn.get(e)) == null ? void 0 : n.get(t);
272
272
  }
273
- const Yi = /* @__PURE__ */ ss("__proto__,__v_isRef,__isVue"), Fo = new Set(
273
+ const Yi = /* @__PURE__ */ ss("__proto__,__v_isRef,__isVue"), Ko = new Set(
274
274
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(rs)
275
- ), qi = /* @__PURE__ */ us(), Gi = /* @__PURE__ */ us(!1, !0), Qi = /* @__PURE__ */ us(!0), zs = /* @__PURE__ */ er();
275
+ ), qi = /* @__PURE__ */ us(), Gi = /* @__PURE__ */ us(!1, !0), Qi = /* @__PURE__ */ us(!0), Ns = /* @__PURE__ */ er();
276
276
  function er() {
277
277
  const e = {};
278
278
  return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
@@ -303,21 +303,21 @@ function us(e = !1, t = !1) {
303
303
  return e;
304
304
  if (o === "__v_isShallow")
305
305
  return t;
306
- if (o === "__v_raw" && i === (e ? t ? _r : $o : t ? Uo : No).get(s))
306
+ if (o === "__v_raw" && i === (e ? t ? _r : Do : t ? $o : Uo).get(s))
307
307
  return s;
308
308
  const r = R(s);
309
309
  if (!e) {
310
- if (r && N(zs, o))
311
- return Reflect.get(zs, o, i);
310
+ if (r && N(Ns, o))
311
+ return Reflect.get(Ns, o, i);
312
312
  if (o === "hasOwnProperty")
313
313
  return tr;
314
314
  }
315
315
  const c = Reflect.get(s, o, i);
316
- return (rs(o) ? Fo.has(o) : Yi(o)) || (e || de(s, "get", o), t) ? c : te(c) ? r && cs(o) ? c : c.value : q(c) ? e ? Do(c) : yn(c) : c;
316
+ return (rs(o) ? Ko.has(o) : Yi(o)) || (e || de(s, "get", o), t) ? c : te(c) ? r && cs(o) ? c : c.value : q(c) ? e ? Wo(c) : yn(c) : c;
317
317
  };
318
318
  }
319
- const nr = /* @__PURE__ */ Ko(), sr = /* @__PURE__ */ Ko(!0);
320
- function Ko(e = !1) {
319
+ const nr = /* @__PURE__ */ zo(), sr = /* @__PURE__ */ zo(!0);
320
+ function zo(e = !1) {
321
321
  return function(n, s, o, i) {
322
322
  let r = n[s];
323
323
  if (wt(r) && te(r) && !te(o))
@@ -336,12 +336,12 @@ function or(e, t) {
336
336
  }
337
337
  function ir(e, t) {
338
338
  const n = Reflect.has(e, t);
339
- return (!rs(t) || !Fo.has(t)) && de(e, "has", t), n;
339
+ return (!rs(t) || !Ko.has(t)) && de(e, "has", t), n;
340
340
  }
341
341
  function rr(e) {
342
342
  return de(e, "iterate", R(e) ? "length" : st), Reflect.ownKeys(e);
343
343
  }
344
- const zo = {
344
+ const No = {
345
345
  get: qi,
346
346
  set: nr,
347
347
  deleteProperty: or,
@@ -357,7 +357,7 @@ const zo = {
357
357
  }
358
358
  }, ar = /* @__PURE__ */ re(
359
359
  {},
360
- zo,
360
+ No,
361
361
  {
362
362
  get: Gi,
363
363
  set: sr
@@ -381,12 +381,12 @@ function Xt(e, t = !1) {
381
381
  function Bt(e, t = !1) {
382
382
  return e = e.__v_raw, !t && de(U(e), "iterate", st), Reflect.get(e, "size", e);
383
383
  }
384
- function Ns(e) {
384
+ function Us(e) {
385
385
  e = U(e);
386
386
  const t = U(this);
387
387
  return bn(t).has.call(t, e) || (t.add(e), Ke(t, "add", e, e)), this;
388
388
  }
389
- function Us(e, t) {
389
+ function $s(e, t) {
390
390
  t = U(t);
391
391
  const n = U(this), { has: s, get: o } = bn(n);
392
392
  let i = s.call(n, e);
@@ -394,14 +394,14 @@ function Us(e, t) {
394
394
  const r = o.call(n, e);
395
395
  return n.set(e, t), i ? Ft(t, r) && Ke(n, "set", e, t) : Ke(n, "add", e, t), this;
396
396
  }
397
- function $s(e) {
397
+ function Ds(e) {
398
398
  const t = U(this), { has: n, get: s } = bn(t);
399
399
  let o = n.call(t, e);
400
400
  o || (e = U(e), o = n.call(t, e)), s && s.call(t, e);
401
401
  const i = t.delete(e);
402
402
  return o && Ke(t, "delete", e, void 0), i;
403
403
  }
404
- function Ds() {
404
+ function Ws() {
405
405
  const e = U(this), t = e.size !== 0, n = e.clear();
406
406
  return t && Ke(e, "clear", void 0, void 0), n;
407
407
  }
@@ -448,10 +448,10 @@ function lr() {
448
448
  return Bt(this);
449
449
  },
450
450
  has: Xt,
451
- add: Ns,
452
- set: Us,
453
- delete: $s,
454
- clear: Ds,
451
+ add: Us,
452
+ set: $s,
453
+ delete: Ds,
454
+ clear: Ws,
455
455
  forEach: Jt(!1, !1)
456
456
  }, t = {
457
457
  get(i) {
@@ -461,10 +461,10 @@ function lr() {
461
461
  return Bt(this);
462
462
  },
463
463
  has: Xt,
464
- add: Ns,
465
- set: Us,
466
- delete: $s,
467
- clear: Ds,
464
+ add: Us,
465
+ set: $s,
466
+ delete: Ds,
467
+ clear: Ws,
468
468
  forEach: Jt(!1, !0)
469
469
  }, n = {
470
470
  get(i) {
@@ -542,7 +542,7 @@ const pr = {
542
542
  get: /* @__PURE__ */ ds(!1, !0)
543
543
  }, gr = {
544
544
  get: /* @__PURE__ */ ds(!0, !1)
545
- }, No = /* @__PURE__ */ new WeakMap(), Uo = /* @__PURE__ */ new WeakMap(), $o = /* @__PURE__ */ new WeakMap(), _r = /* @__PURE__ */ new WeakMap();
545
+ }, Uo = /* @__PURE__ */ new WeakMap(), $o = /* @__PURE__ */ new WeakMap(), Do = /* @__PURE__ */ new WeakMap(), _r = /* @__PURE__ */ new WeakMap();
546
546
  function br(e) {
547
547
  switch (e) {
548
548
  case "Object":
@@ -564,9 +564,9 @@ function yn(e) {
564
564
  return wt(e) ? e : hs(
565
565
  e,
566
566
  !1,
567
- zo,
567
+ No,
568
568
  pr,
569
- No
569
+ Uo
570
570
  );
571
571
  }
572
572
  function wr(e) {
@@ -575,16 +575,16 @@ function wr(e) {
575
575
  !1,
576
576
  ar,
577
577
  mr,
578
- Uo
578
+ $o
579
579
  );
580
580
  }
581
- function Do(e) {
581
+ function Wo(e) {
582
582
  return hs(
583
583
  e,
584
584
  !0,
585
585
  cr,
586
586
  gr,
587
- $o
587
+ Do
588
588
  );
589
589
  }
590
590
  function hs(e, t, n, s, o) {
@@ -611,7 +611,7 @@ function wt(e) {
611
611
  function an(e) {
612
612
  return !!(e && e.__v_isShallow);
613
613
  }
614
- function Wo(e) {
614
+ function Ho(e) {
615
615
  return He(e) || wt(e);
616
616
  }
617
617
  function U(e) {
@@ -621,11 +621,11 @@ function U(e) {
621
621
  function wn(e) {
622
622
  return rn(e, "__v_skip", !0), e;
623
623
  }
624
- const Kt = (e) => q(e) ? yn(e) : e, ps = (e) => q(e) ? Do(e) : e;
625
- function Ho(e) {
626
- We && we && (e = U(e), Mo(e.dep || (e.dep = as())));
624
+ const Kt = (e) => q(e) ? yn(e) : e, ps = (e) => q(e) ? Wo(e) : e;
625
+ function Zo(e) {
626
+ We && we && (e = U(e), Fo(e.dep || (e.dep = as())));
627
627
  }
628
- function Zo(e, t) {
628
+ function Vo(e, t) {
629
629
  e = U(e);
630
630
  const n = e.dep;
631
631
  n && Zn(n);
@@ -644,24 +644,24 @@ class kr {
644
644
  this.__v_isShallow = n, this.dep = void 0, this.__v_isRef = !0, this._rawValue = n ? t : U(t), this._value = n ? t : Kt(t);
645
645
  }
646
646
  get value() {
647
- return Ho(this), this._value;
647
+ return Zo(this), this._value;
648
648
  }
649
649
  set value(t) {
650
650
  const n = this.__v_isShallow || an(t) || wt(t);
651
- t = n ? t : U(t), Ft(t, this._rawValue) && (this._rawValue = t, this._value = n ? t : Kt(t), Zo(this));
651
+ t = n ? t : U(t), Ft(t, this._rawValue) && (this._rawValue = t, this._value = n ? t : Kt(t), Vo(this));
652
652
  }
653
653
  }
654
- function D(e) {
654
+ function X(e) {
655
655
  return te(e) ? e.value : e;
656
656
  }
657
657
  const xr = {
658
- get: (e, t, n) => D(Reflect.get(e, t, n)),
658
+ get: (e, t, n) => X(Reflect.get(e, t, n)),
659
659
  set: (e, t, n, s) => {
660
660
  const o = e[t];
661
661
  return te(o) && !te(n) ? (o.value = n, !0) : Reflect.set(e, t, n, s);
662
662
  }
663
663
  };
664
- function Vo(e) {
664
+ function Xo(e) {
665
665
  return He(e) ? e : new Proxy(e, xr);
666
666
  }
667
667
  function Ir(e) {
@@ -696,12 +696,12 @@ function Cr(e, t, n) {
696
696
  class Or {
697
697
  constructor(t, n, s, o) {
698
698
  this._setter = n, this.dep = void 0, this.__v_isRef = !0, this.__v_isReadonly = !1, this._dirty = !0, this.effect = new ls(t, () => {
699
- this._dirty || (this._dirty = !0, Zo(this));
699
+ this._dirty || (this._dirty = !0, Vo(this));
700
700
  }), this.effect.computed = this, this.effect.active = this._cacheable = !o, this.__v_isReadonly = s;
701
701
  }
702
702
  get value() {
703
703
  const t = U(this);
704
- return Ho(t), (t._dirty || !t._cacheable) && (t._dirty = !1, t._value = t.effect.run()), t._value;
704
+ return Zo(t), (t._dirty || !t._cacheable) && (t._dirty = !1, t._value = t.effect.run()), t._value;
705
705
  }
706
706
  set value(t) {
707
707
  this._setter(t);
@@ -724,7 +724,7 @@ function Ze(e, t, n, s) {
724
724
  function xe(e, t, n, s) {
725
725
  if (F(e)) {
726
726
  const i = Ze(e, t, n, s);
727
- return i && xo(i) && i.catch((r) => {
727
+ return i && Io(i) && i.catch((r) => {
728
728
  vn(r, t, n);
729
729
  }), i;
730
730
  }
@@ -768,10 +768,10 @@ const le = [];
768
768
  let Ae = 0;
769
769
  const bt = [];
770
770
  let Me = null, Qe = 0;
771
- const Xo = /* @__PURE__ */ Promise.resolve();
771
+ const Bo = /* @__PURE__ */ Promise.resolve();
772
772
  let ms = null;
773
- function Bo(e) {
774
- const t = ms || Xo;
773
+ function Jo(e) {
774
+ const t = ms || Bo;
775
775
  return e ? t.then(this ? e.bind(this) : e) : t;
776
776
  }
777
777
  function Er(e) {
@@ -786,10 +786,10 @@ function gs(e) {
786
786
  (!le.length || !le.includes(
787
787
  e,
788
788
  zt && e.allowRecurse ? Ae + 1 : Ae
789
- )) && (e.id == null ? le.push(e) : le.splice(Er(e.id), 0, e), Jo());
789
+ )) && (e.id == null ? le.push(e) : le.splice(Er(e.id), 0, e), Yo());
790
790
  }
791
- function Jo() {
792
- !zt && !Vn && (Vn = !0, ms = Xo.then(qo));
791
+ function Yo() {
792
+ !zt && !Vn && (Vn = !0, ms = Bo.then(Go));
793
793
  }
794
794
  function jr(e) {
795
795
  const t = le.indexOf(e);
@@ -799,15 +799,15 @@ function Ar(e) {
799
799
  R(e) ? bt.push(...e) : (!Me || !Me.includes(
800
800
  e,
801
801
  e.allowRecurse ? Qe + 1 : Qe
802
- )) && bt.push(e), Jo();
802
+ )) && bt.push(e), Yo();
803
803
  }
804
- function Ws(e, t = zt ? Ae + 1 : 0) {
804
+ function Hs(e, t = zt ? Ae + 1 : 0) {
805
805
  for (; t < le.length; t++) {
806
806
  const n = le[t];
807
807
  n && n.pre && (le.splice(t, 1), t--, n());
808
808
  }
809
809
  }
810
- function Yo(e) {
810
+ function qo(e) {
811
811
  if (bt.length) {
812
812
  const t = [...new Set(bt)];
813
813
  if (bt.length = 0, Me) {
@@ -829,7 +829,7 @@ const Nt = (e) => e.id == null ? 1 / 0 : e.id, Rr = (e, t) => {
829
829
  }
830
830
  return n;
831
831
  };
832
- function qo(e) {
832
+ function Go(e) {
833
833
  Vn = !1, zt = !0, le.sort(Rr);
834
834
  const t = ke;
835
835
  try {
@@ -838,7 +838,7 @@ function qo(e) {
838
838
  n && n.active !== !1 && Ze(n, null, 14);
839
839
  }
840
840
  } finally {
841
- Ae = 0, le.length = 0, Yo(), zt = !1, ms = null, (le.length || bt.length) && qo();
841
+ Ae = 0, le.length = 0, qo(), zt = !1, ms = null, (le.length || bt.length) && Go();
842
842
  }
843
843
  }
844
844
  function Lr(e, t, ...n) {
@@ -873,7 +873,7 @@ function Lr(e, t, ...n) {
873
873
  );
874
874
  }
875
875
  }
876
- function Go(e, t, n = !1) {
876
+ function Qo(e, t, n = !1) {
877
877
  const s = t.emitsCache, o = s.get(e);
878
878
  if (o !== void 0)
879
879
  return o;
@@ -881,7 +881,7 @@ function Go(e, t, n = !1) {
881
881
  let r = {}, c = !1;
882
882
  if (!F(e)) {
883
883
  const a = (l) => {
884
- const f = Go(l, t, !0);
884
+ const f = Qo(l, t, !0);
885
885
  f && (c = !0, re(r, f));
886
886
  };
887
887
  !n && t.mixins.length && t.mixins.forEach(a), e.extends && a(e.extends), e.mixins && e.mixins.forEach(a);
@@ -891,22 +891,22 @@ function Go(e, t, n = !1) {
891
891
  function kn(e, t) {
892
892
  return !e || !hn(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), N(e, t[0].toLowerCase() + t.slice(1)) || N(e, ct(t)) || N(e, t));
893
893
  }
894
- let _e = null, Qo = null;
894
+ let _e = null, ei = null;
895
895
  function ln(e) {
896
896
  const t = _e;
897
- return _e = e, Qo = e && e.type.__scopeId || null, t;
897
+ return _e = e, ei = e && e.type.__scopeId || null, t;
898
898
  }
899
899
  function Mr(e, t = _e, n) {
900
900
  if (!t || e._n)
901
901
  return e;
902
902
  const s = (...o) => {
903
- s._d && Qs(-1);
903
+ s._d && eo(-1);
904
904
  const i = ln(t);
905
905
  let r;
906
906
  try {
907
907
  r = e(...o);
908
908
  } finally {
909
- ln(i), s._d && Qs(1);
909
+ ln(i), s._d && eo(1);
910
910
  }
911
911
  return r;
912
912
  };
@@ -964,8 +964,8 @@ function An(e) {
964
964
  }
965
965
  let M = S;
966
966
  if (P && v !== !1) {
967
- const A = Object.keys(P), { shapeFlag: Z } = M;
968
- A.length && Z & 7 && (r && A.some(os) && (P = Kr(
967
+ const A = Object.keys(P), { shapeFlag: H } = M;
968
+ A.length && H & 7 && (r && A.some(os) && (P = Kr(
969
969
  P,
970
970
  r
971
971
  )), M = vt(M, P));
@@ -991,7 +991,7 @@ function zr(e, t, n) {
991
991
  if (a & 1024)
992
992
  return !0;
993
993
  if (a & 16)
994
- return s ? Hs(s, r, l) : !!r;
994
+ return s ? Zs(s, r, l) : !!r;
995
995
  if (a & 8) {
996
996
  const f = t.dynamicProps;
997
997
  for (let d = 0; d < f.length; d++) {
@@ -1001,10 +1001,10 @@ function zr(e, t, n) {
1001
1001
  }
1002
1002
  }
1003
1003
  } else
1004
- return (o || c) && (!c || !c.$stable) ? !0 : s === r ? !1 : s ? r ? Hs(s, r, l) : !0 : !!r;
1004
+ return (o || c) && (!c || !c.$stable) ? !0 : s === r ? !1 : s ? r ? Zs(s, r, l) : !0 : !!r;
1005
1005
  return !1;
1006
1006
  }
1007
- function Hs(e, t, n) {
1007
+ function Zs(e, t, n) {
1008
1008
  const s = Object.keys(t);
1009
1009
  if (s.length !== Object.keys(e).length)
1010
1010
  return !0;
@@ -1025,11 +1025,11 @@ function $r(e, t) {
1025
1025
  }
1026
1026
  const qt = {};
1027
1027
  function tn(e, t, n) {
1028
- return ei(e, t, n);
1028
+ return ti(e, t, n);
1029
1029
  }
1030
- function ei(e, t, { immediate: n, deep: s, flush: o, onTrack: i, onTrigger: r } = J) {
1030
+ function ti(e, t, { immediate: n, deep: s, flush: o, onTrack: i, onTrigger: r } = J) {
1031
1031
  var c;
1032
- const a = jo() === ((c = ce) == null ? void 0 : c.scope) ? ce : null;
1032
+ const a = Ao() === ((c = ce) == null ? void 0 : c.scope) ? ce : null;
1033
1033
  let l, f = !1, d = !1;
1034
1034
  if (te(e) ? (l = () => e.value, f = an(e)) : He(e) ? (l = () => e, s = !0) : R(e) ? (d = !0, f = e.some((A) => He(A) || an(A)), l = () => e.map((A) => {
1035
1035
  if (te(A))
@@ -1071,7 +1071,7 @@ function ei(e, t, { immediate: n, deep: s, flush: o, onTrack: i, onTrigger: r }
1071
1071
  if (t) {
1072
1072
  const A = C.run();
1073
1073
  (s || f || (d ? A.some(
1074
- (Z, ge) => Ft(Z, v[ge])
1074
+ (H, ge) => Ft(H, v[ge])
1075
1075
  ) : Ft(A, v))) && (p && p(), xe(t, a, 3, [
1076
1076
  A,
1077
1077
  // pass undefined as the old value when it's changed for the first time
@@ -1095,15 +1095,15 @@ function ei(e, t, { immediate: n, deep: s, flush: o, onTrack: i, onTrigger: r }
1095
1095
  return _ && _.push(M), M;
1096
1096
  }
1097
1097
  function Dr(e, t, n) {
1098
- const s = this.proxy, o = oe(e) ? e.includes(".") ? ti(s, e) : () => s[e] : e.bind(s, s);
1098
+ const s = this.proxy, o = oe(e) ? e.includes(".") ? ni(s, e) : () => s[e] : e.bind(s, s);
1099
1099
  let i;
1100
1100
  F(t) ? i = t : (i = t.handler, n = t);
1101
1101
  const r = ce;
1102
1102
  kt(this);
1103
- const c = ei(o, i.bind(s), n);
1103
+ const c = ti(o, i.bind(s), n);
1104
1104
  return r ? kt(r) : it(), c;
1105
1105
  }
1106
- function ti(e, t) {
1106
+ function ni(e, t) {
1107
1107
  const n = t.split(".");
1108
1108
  return () => {
1109
1109
  let s = e;
@@ -1120,11 +1120,11 @@ function tt(e, t) {
1120
1120
  else if (R(e))
1121
1121
  for (let n = 0; n < e.length; n++)
1122
1122
  tt(e[n], t);
1123
- else if (ko(e) || _t(e))
1123
+ else if (xo(e) || _t(e))
1124
1124
  e.forEach((n) => {
1125
1125
  tt(n, t);
1126
1126
  });
1127
- else if (To(e))
1127
+ else if (Co(e))
1128
1128
  for (const n in e)
1129
1129
  tt(e[n], t);
1130
1130
  return e;
@@ -1171,14 +1171,14 @@ function _s(e, t) {
1171
1171
  /* @__PURE__ */ (() => re({ name: e.name }, t, { setup: e }))()
1172
1172
  ) : e;
1173
1173
  }
1174
- const nn = (e) => !!e.type.__asyncLoader, ni = (e) => e.type.__isKeepAlive;
1174
+ const nn = (e) => !!e.type.__asyncLoader, si = (e) => e.type.__isKeepAlive;
1175
1175
  function Hr(e, t) {
1176
- si(e, "a", t);
1176
+ oi(e, "a", t);
1177
1177
  }
1178
1178
  function Zr(e, t) {
1179
- si(e, "da", t);
1179
+ oi(e, "da", t);
1180
1180
  }
1181
- function si(e, t, n = ce) {
1181
+ function oi(e, t, n = ce) {
1182
1182
  const s = e.__wdc || (e.__wdc = () => {
1183
1183
  let o = n;
1184
1184
  for (; o; ) {
@@ -1191,7 +1191,7 @@ function si(e, t, n = ce) {
1191
1191
  if (xn(t, s, n), n) {
1192
1192
  let o = n.parent;
1193
1193
  for (; o && o.parent; )
1194
- ni(o.parent.vnode) && Vr(s, t, n, o), o = o.parent;
1194
+ si(o.parent.vnode) && Vr(s, t, n, o), o = o.parent;
1195
1195
  }
1196
1196
  }
1197
1197
  function Vr(e, t, n, s) {
@@ -1202,7 +1202,7 @@ function Vr(e, t, n, s) {
1202
1202
  !0
1203
1203
  /* prepend */
1204
1204
  );
1205
- oi(() => {
1205
+ ii(() => {
1206
1206
  is(s[t], o);
1207
1207
  }, n);
1208
1208
  }
@@ -1221,7 +1221,7 @@ function xn(e, t, n = ce, s = !1) {
1221
1221
  const ze = (e) => (t, n = ce) => (
1222
1222
  // post-create lifecycle registrations are noops during SSR (except for serverPrefetch)
1223
1223
  (!Dt || e === "sp") && xn(e, (...s) => t(...s), n)
1224
- ), Xr = ze("bm"), Br = ze("m"), Jr = ze("bu"), Yr = ze("u"), qr = ze("bum"), oi = ze("um"), Gr = ze("sp"), Qr = ze(
1224
+ ), Xr = ze("bm"), Br = ze("m"), Jr = ze("bu"), Yr = ze("u"), qr = ze("bum"), ii = ze("um"), Gr = ze("sp"), Qr = ze(
1225
1225
  "rtg"
1226
1226
  ), ec = ze(
1227
1227
  "rtc"
@@ -1259,7 +1259,7 @@ function sc(e, t, n, s) {
1259
1259
  o = [];
1260
1260
  return n && (n[s] = o), o;
1261
1261
  }
1262
- const Xn = (e) => e ? mi(e) ? Cn(e) || e.proxy : Xn(e.parent) : null, Rt = (
1262
+ const Xn = (e) => e ? gi(e) ? Cn(e) || e.proxy : Xn(e.parent) : null, Rt = (
1263
1263
  // Move PURE marker to new line to workaround compiler discarding it
1264
1264
  // due to type annotation
1265
1265
  /* @__PURE__ */ re(/* @__PURE__ */ Object.create(null), {
@@ -1275,7 +1275,7 @@ const Xn = (e) => e ? mi(e) ? Cn(e) || e.proxy : Xn(e.parent) : null, Rt = (
1275
1275
  $emit: (e) => e.emit,
1276
1276
  $options: (e) => bs(e),
1277
1277
  $forceUpdate: (e) => e.f || (e.f = () => gs(e.update)),
1278
- $nextTick: (e) => e.n || (e.n = Bo.bind(e.proxy)),
1278
+ $nextTick: (e) => e.n || (e.n = Jo.bind(e.proxy)),
1279
1279
  $watch: (e) => Dr.bind(e)
1280
1280
  })
1281
1281
  ), Rn = (e, t) => e !== J && !e.__isScriptSetup && N(e, t), oc = {
@@ -1342,7 +1342,7 @@ const Xn = (e) => e ? mi(e) ? Cn(e) || e.proxy : Xn(e.parent) : null, Rt = (
1342
1342
  return n.get != null ? e._.accessCache[t] = 0 : N(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
1343
1343
  }
1344
1344
  };
1345
- function Zs(e) {
1345
+ function Vs(e) {
1346
1346
  return R(e) ? e.reduce(
1347
1347
  (t, n) => (t[n] = null, t),
1348
1348
  {}
@@ -1351,7 +1351,7 @@ function Zs(e) {
1351
1351
  let Bn = !0;
1352
1352
  function ic(e) {
1353
1353
  const t = bs(e), n = e.proxy, s = e.ctx;
1354
- Bn = !1, t.beforeCreate && Vs(t.beforeCreate, e, "bc");
1354
+ Bn = !1, t.beforeCreate && Xs(t.beforeCreate, e, "bc");
1355
1355
  const {
1356
1356
  // state
1357
1357
  data: o,
@@ -1372,7 +1372,7 @@ function ic(e) {
1372
1372
  beforeUnmount: C,
1373
1373
  destroyed: M,
1374
1374
  unmounted: A,
1375
- render: Z,
1375
+ render: H,
1376
1376
  renderTracked: ge,
1377
1377
  renderTriggered: ne,
1378
1378
  errorCaptured: K,
@@ -1387,8 +1387,8 @@ function ic(e) {
1387
1387
  } = t;
1388
1388
  if (l && rc(l, s, null), r)
1389
1389
  for (const G in r) {
1390
- const V = r[G];
1391
- F(V) && (s[G] = V.bind(n));
1390
+ const Z = r[G];
1391
+ F(Z) && (s[G] = Z.bind(n));
1392
1392
  }
1393
1393
  if (o) {
1394
1394
  const G = o.call(n, n);
@@ -1396,7 +1396,7 @@ function ic(e) {
1396
1396
  }
1397
1397
  if (Bn = !0, i)
1398
1398
  for (const G in i) {
1399
- const V = i[G], Xe = F(V) ? V.bind(n, n) : F(V.get) ? V.get.bind(n, n) : ke, Ht = !F(V) && F(V.set) ? V.set.bind(n) : ke, Be = _i({
1399
+ const Z = i[G], Xe = F(Z) ? Z.bind(n, n) : F(Z.get) ? Z.get.bind(n, n) : ke, Ht = !F(Z) && F(Z.set) ? Z.set.bind(n) : ke, Be = ks({
1400
1400
  get: Xe,
1401
1401
  set: Ht
1402
1402
  });
@@ -1409,29 +1409,29 @@ function ic(e) {
1409
1409
  }
1410
1410
  if (c)
1411
1411
  for (const G in c)
1412
- ii(c[G], s, n, G);
1412
+ ri(c[G], s, n, G);
1413
1413
  if (a) {
1414
1414
  const G = F(a) ? a.call(n) : a;
1415
- Reflect.ownKeys(G).forEach((V) => {
1416
- dc(V, G[V]);
1415
+ Reflect.ownKeys(G).forEach((Z) => {
1416
+ dc(Z, G[Z]);
1417
1417
  });
1418
1418
  }
1419
- f && Vs(f, e, "c");
1420
- function W(G, V) {
1421
- R(V) ? V.forEach((Xe) => G(Xe.bind(n))) : V && G(V.bind(n));
1419
+ f && Xs(f, e, "c");
1420
+ function D(G, Z) {
1421
+ R(Z) ? Z.forEach((Xe) => G(Xe.bind(n))) : Z && G(Z.bind(n));
1422
1422
  }
1423
- if (W(Xr, d), W(Br, p), W(Jr, m), W(Yr, _), W(Hr, v), W(Zr, S), W(tc, K), W(ec, ge), W(Qr, ne), W(qr, C), W(oi, A), W(Gr, $), R(ie))
1423
+ if (D(Xr, d), D(Br, p), D(Jr, m), D(Yr, _), D(Hr, v), D(Zr, S), D(tc, K), D(ec, ge), D(Qr, ne), D(qr, C), D(ii, A), D(Gr, $), R(ie))
1424
1424
  if (ie.length) {
1425
1425
  const G = e.exposed || (e.exposed = {});
1426
- ie.forEach((V) => {
1427
- Object.defineProperty(G, V, {
1428
- get: () => n[V],
1429
- set: (Xe) => n[V] = Xe
1426
+ ie.forEach((Z) => {
1427
+ Object.defineProperty(G, Z, {
1428
+ get: () => n[Z],
1429
+ set: (Xe) => n[Z] = Xe
1430
1430
  });
1431
1431
  });
1432
1432
  } else
1433
1433
  e.exposed || (e.exposed = {});
1434
- Z && e.render === ke && (e.render = Z), he != null && (e.inheritAttrs = he), Ce && (e.components = Ce), at && (e.directives = at);
1434
+ H && e.render === ke && (e.render = H), he != null && (e.inheritAttrs = he), Ce && (e.components = Ce), at && (e.directives = at);
1435
1435
  }
1436
1436
  function rc(e, t, n = ke) {
1437
1437
  R(e) && (e = Jn(e));
@@ -1451,15 +1451,15 @@ function rc(e, t, n = ke) {
1451
1451
  }) : t[s] = i;
1452
1452
  }
1453
1453
  }
1454
- function Vs(e, t, n) {
1454
+ function Xs(e, t, n) {
1455
1455
  xe(
1456
1456
  R(e) ? e.map((s) => s.bind(t.proxy)) : e.bind(t.proxy),
1457
1457
  t,
1458
1458
  n
1459
1459
  );
1460
1460
  }
1461
- function ii(e, t, n, s) {
1462
- const o = s.includes(".") ? ti(n, s) : () => n[s];
1461
+ function ri(e, t, n, s) {
1462
+ const o = s.includes(".") ? ni(n, s) : () => n[s];
1463
1463
  if (oe(e)) {
1464
1464
  const i = t[e];
1465
1465
  F(i) && tn(o, i);
@@ -1467,7 +1467,7 @@ function ii(e, t, n, s) {
1467
1467
  tn(o, e.bind(n));
1468
1468
  else if (q(e))
1469
1469
  if (R(e))
1470
- e.forEach((i) => ii(i, t, n, s));
1470
+ e.forEach((i) => ri(i, t, n, s));
1471
1471
  else {
1472
1472
  const i = F(e.handler) ? e.handler.bind(n) : t[e.handler];
1473
1473
  F(i) && tn(o, i, e);
@@ -1497,9 +1497,9 @@ function un(e, t, n, s = !1) {
1497
1497
  return e;
1498
1498
  }
1499
1499
  const cc = {
1500
- data: Xs,
1501
- props: Bs,
1502
- emits: Bs,
1500
+ data: Bs,
1501
+ props: Js,
1502
+ emits: Js,
1503
1503
  // objects
1504
1504
  methods: jt,
1505
1505
  computed: jt,
@@ -1524,10 +1524,10 @@ const cc = {
1524
1524
  // watch
1525
1525
  watch: lc,
1526
1526
  // provide / inject
1527
- provide: Xs,
1527
+ provide: Bs,
1528
1528
  inject: ac
1529
1529
  };
1530
- function Xs(e, t) {
1530
+ function Bs(e, t) {
1531
1531
  return t ? e ? function() {
1532
1532
  return re(
1533
1533
  F(e) ? e.call(this, this) : e,
@@ -1553,11 +1553,11 @@ function ue(e, t) {
1553
1553
  function jt(e, t) {
1554
1554
  return e ? re(/* @__PURE__ */ Object.create(null), e, t) : t;
1555
1555
  }
1556
- function Bs(e, t) {
1556
+ function Js(e, t) {
1557
1557
  return e ? R(e) && R(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : re(
1558
1558
  /* @__PURE__ */ Object.create(null),
1559
- Zs(e),
1560
- Zs(t ?? {})
1559
+ Vs(e),
1560
+ Vs(t ?? {})
1561
1561
  ) : t;
1562
1562
  }
1563
1563
  function lc(e, t) {
@@ -1570,7 +1570,7 @@ function lc(e, t) {
1570
1570
  n[s] = ue(e[s], t[s]);
1571
1571
  return n;
1572
1572
  }
1573
- function ri() {
1573
+ function ci() {
1574
1574
  return {
1575
1575
  app: null,
1576
1576
  config: {
@@ -1595,7 +1595,7 @@ let uc = 0;
1595
1595
  function fc(e, t) {
1596
1596
  return function(s, o = null) {
1597
1597
  F(s) || (s = re({}, s)), o != null && !q(o) && (o = null);
1598
- const i = ri(), r = /* @__PURE__ */ new Set();
1598
+ const i = ci(), r = /* @__PURE__ */ new Set();
1599
1599
  let c = !1;
1600
1600
  const a = i.app = {
1601
1601
  _uid: uc++,
@@ -1672,7 +1672,7 @@ function hc() {
1672
1672
  }
1673
1673
  function pc(e, t, n, s = !1) {
1674
1674
  const o = {}, i = {};
1675
- rn(i, Tn, 1), e.propsDefaults = /* @__PURE__ */ Object.create(null), ci(e, t, o, i);
1675
+ rn(i, Tn, 1), e.propsDefaults = /* @__PURE__ */ Object.create(null), ai(e, t, o, i);
1676
1676
  for (const r in e.propsOptions[0])
1677
1677
  r in o || (o[r] = void 0);
1678
1678
  n ? e.props = s ? o : wr(o) : e.type.props ? e.props = o : e.props = i, e.attrs = i;
@@ -1717,7 +1717,7 @@ function mc(e, t, n, s) {
1717
1717
  }
1718
1718
  }
1719
1719
  } else {
1720
- ci(e, t, o, i) && (l = !0);
1720
+ ai(e, t, o, i) && (l = !0);
1721
1721
  let f;
1722
1722
  for (const d in c)
1723
1723
  (!t || // for camelCase
@@ -1740,7 +1740,7 @@ function mc(e, t, n, s) {
1740
1740
  }
1741
1741
  l && Ke(e, "set", "$attrs");
1742
1742
  }
1743
- function ci(e, t, n, s) {
1743
+ function ai(e, t, n, s) {
1744
1744
  const [o, i] = e.propsOptions;
1745
1745
  let r = !1, c;
1746
1746
  if (t)
@@ -1792,7 +1792,7 @@ function Yn(e, t, n, s, o, i) {
1792
1792
  }
1793
1793
  return s;
1794
1794
  }
1795
- function ai(e, t, n = !1) {
1795
+ function li(e, t, n = !1) {
1796
1796
  const s = t.propsCache, o = s.get(e);
1797
1797
  if (o)
1798
1798
  return o;
@@ -1801,7 +1801,7 @@ function ai(e, t, n = !1) {
1801
1801
  if (!F(e)) {
1802
1802
  const f = (d) => {
1803
1803
  a = !0;
1804
- const [p, m] = ai(d, t, !0);
1804
+ const [p, m] = li(d, t, !0);
1805
1805
  re(r, p), m && c.push(...m);
1806
1806
  };
1807
1807
  !n && t.mixins.length && t.mixins.forEach(f), e.extends && f(e.extends), e.mixins && e.mixins.forEach(f);
@@ -1811,15 +1811,15 @@ function ai(e, t, n = !1) {
1811
1811
  if (R(i))
1812
1812
  for (let f = 0; f < i.length; f++) {
1813
1813
  const d = yt(i[f]);
1814
- Js(d) && (r[d] = J);
1814
+ Ys(d) && (r[d] = J);
1815
1815
  }
1816
1816
  else if (i)
1817
1817
  for (const f in i) {
1818
1818
  const d = yt(f);
1819
- if (Js(d)) {
1819
+ if (Ys(d)) {
1820
1820
  const p = i[f], m = r[d] = R(p) || F(p) ? { type: p } : re({}, p);
1821
1821
  if (m) {
1822
- const _ = Gs(Boolean, m.type), v = Gs(String, m.type);
1822
+ const _ = Qs(Boolean, m.type), v = Qs(String, m.type);
1823
1823
  m[
1824
1824
  0
1825
1825
  /* shouldCast */
@@ -1833,28 +1833,28 @@ function ai(e, t, n = !1) {
1833
1833
  const l = [r, c];
1834
1834
  return q(e) && s.set(e, l), l;
1835
1835
  }
1836
- function Js(e) {
1836
+ function Ys(e) {
1837
1837
  return e[0] !== "$";
1838
1838
  }
1839
- function Ys(e) {
1839
+ function qs(e) {
1840
1840
  const t = e && e.toString().match(/^\s*(function|class) (\w+)/);
1841
1841
  return t ? t[2] : e === null ? "null" : "";
1842
1842
  }
1843
- function qs(e, t) {
1844
- return Ys(e) === Ys(t);
1845
- }
1846
1843
  function Gs(e, t) {
1847
- return R(t) ? t.findIndex((n) => qs(n, e)) : F(t) && qs(t, e) ? 0 : -1;
1844
+ return qs(e) === qs(t);
1848
1845
  }
1849
- const li = (e) => e[0] === "_" || e === "$stable", ys = (e) => R(e) ? e.map(Ee) : [Ee(e)], gc = (e, t, n) => {
1846
+ function Qs(e, t) {
1847
+ return R(t) ? t.findIndex((n) => Gs(n, e)) : F(t) && Gs(t, e) ? 0 : -1;
1848
+ }
1849
+ const ui = (e) => e[0] === "_" || e === "$stable", ys = (e) => R(e) ? e.map(Ee) : [Ee(e)], gc = (e, t, n) => {
1850
1850
  if (t._n)
1851
1851
  return t;
1852
1852
  const s = Mr((...o) => ys(t(...o)), n);
1853
1853
  return s._c = !1, s;
1854
- }, ui = (e, t, n) => {
1854
+ }, fi = (e, t, n) => {
1855
1855
  const s = e._ctx;
1856
1856
  for (const o in e) {
1857
- if (li(o))
1857
+ if (ui(o))
1858
1858
  continue;
1859
1859
  const i = e[o];
1860
1860
  if (F(i))
@@ -1864,30 +1864,30 @@ const li = (e) => e[0] === "_" || e === "$stable", ys = (e) => R(e) ? e.map(Ee)
1864
1864
  t[o] = () => r;
1865
1865
  }
1866
1866
  }
1867
- }, fi = (e, t) => {
1867
+ }, di = (e, t) => {
1868
1868
  const n = ys(t);
1869
1869
  e.slots.default = () => n;
1870
1870
  }, _c = (e, t) => {
1871
1871
  if (e.vnode.shapeFlag & 32) {
1872
1872
  const n = t._;
1873
- n ? (e.slots = U(t), rn(t, "_", n)) : ui(
1873
+ n ? (e.slots = U(t), rn(t, "_", n)) : fi(
1874
1874
  t,
1875
1875
  e.slots = {}
1876
1876
  );
1877
1877
  } else
1878
- e.slots = {}, t && fi(e, t);
1878
+ e.slots = {}, t && di(e, t);
1879
1879
  rn(e.slots, Tn, 1);
1880
1880
  }, bc = (e, t, n) => {
1881
1881
  const { vnode: s, slots: o } = e;
1882
1882
  let i = !0, r = J;
1883
1883
  if (s.shapeFlag & 32) {
1884
1884
  const c = t._;
1885
- c ? n && c === 1 ? i = !1 : (re(o, t), !n && c === 1 && delete o._) : (i = !t.$stable, ui(t, o)), r = t;
1885
+ c ? n && c === 1 ? i = !1 : (re(o, t), !n && c === 1 && delete o._) : (i = !t.$stable, fi(t, o)), r = t;
1886
1886
  } else
1887
- t && (fi(e, t), r = { default: 1 });
1887
+ t && (di(e, t), r = { default: 1 });
1888
1888
  if (i)
1889
1889
  for (const c in o)
1890
- !li(c) && !(c in r) && delete o[c];
1890
+ !ui(c) && !(c in r) && delete o[c];
1891
1891
  };
1892
1892
  function qn(e, t, n, s, o = !1) {
1893
1893
  if (R(e)) {
@@ -1970,7 +1970,7 @@ function wc(e, t) {
1970
1970
  );
1971
1971
  break;
1972
1972
  default:
1973
- O & 1 ? Z(
1973
+ O & 1 ? H(
1974
1974
  u,
1975
1975
  h,
1976
1976
  g,
@@ -2040,7 +2040,7 @@ function wc(e, t) {
2040
2040
  for (; u && u !== h; )
2041
2041
  g = p(u), o(u), u = g;
2042
2042
  o(h);
2043
- }, Z = (u, h, g, y, b, x, T, k, I) => {
2043
+ }, H = (u, h, g, y, b, x, T, k, I) => {
2044
2044
  T = T || h.type === "svg", u == null ? ge(
2045
2045
  h,
2046
2046
  g,
@@ -2077,12 +2077,12 @@ function wc(e, t) {
2077
2077
  T,
2078
2078
  k
2079
2079
  ), z && Je(u, null, y, "created"), ne(I, u, u.scopeId, T, y), O) {
2080
- for (const H in O)
2081
- H !== "value" && !Qt(H) && i(
2080
+ for (const W in O)
2081
+ W !== "value" && !Qt(W) && i(
2082
2082
  I,
2083
- H,
2083
+ W,
2084
2084
  null,
2085
- O[H],
2085
+ O[W],
2086
2086
  x,
2087
2087
  u.children,
2088
2088
  y,
@@ -2092,9 +2092,9 @@ function wc(e, t) {
2092
2092
  "value" in O && i(I, "value", null, O.value), (w = O.onVnodeBeforeMount) && Pe(w, y, u);
2093
2093
  }
2094
2094
  z && Je(u, null, y, "beforeMount");
2095
- const X = (!b || b && !b.pendingBranch) && L && !L.persisted;
2096
- X && L.beforeEnter(I), s(I, h, g), ((w = O && O.onVnodeMounted) || X || z) && fe(() => {
2097
- w && Pe(w, y, u), X && L.enter(I), z && Je(u, null, y, "mounted");
2095
+ const V = (!b || b && !b.pendingBranch) && L && !L.persisted;
2096
+ V && L.beforeEnter(I), s(I, h, g), ((w = O && O.onVnodeMounted) || V || z) && fe(() => {
2097
+ w && Pe(w, y, u), V && L.enter(I), z && Je(u, null, y, "mounted");
2098
2098
  }, b);
2099
2099
  }, ne = (u, h, g, y, b) => {
2100
2100
  if (g && m(u, g), y)
@@ -2144,7 +2144,7 @@ function wc(e, t) {
2144
2144
  y,
2145
2145
  z,
2146
2146
  x
2147
- ) : T || V(
2147
+ ) : T || Z(
2148
2148
  u,
2149
2149
  h,
2150
2150
  k,
@@ -2166,9 +2166,9 @@ function wc(e, t) {
2166
2166
  b
2167
2167
  );
2168
2168
  else if (I & 2 && O.class !== j.class && i(k, "class", null, j.class, b), I & 4 && i(k, "style", O.style, j.style, b), I & 8) {
2169
- const X = h.dynamicProps;
2170
- for (let H = 0; H < X.length; H++) {
2171
- const se = X[H], be = O[se], ut = j[se];
2169
+ const V = h.dynamicProps;
2170
+ for (let W = 0; W < V.length; W++) {
2171
+ const se = V[W], be = O[se], ut = j[se];
2172
2172
  (ut !== be || se === "value") && i(
2173
2173
  k,
2174
2174
  se,
@@ -2283,12 +2283,12 @@ function wc(e, t) {
2283
2283
  // get moved around. Make sure all root level vnodes inherit el.
2284
2284
  // #2134 or if it's a component root, it may also get moved around
2285
2285
  // as the component is being moved.
2286
- (h.key != null || b && h === b.subTree) && di(
2286
+ (h.key != null || b && h === b.subTree) && hi(
2287
2287
  u,
2288
2288
  h,
2289
2289
  !0
2290
2290
  /* shallow */
2291
- )) : V(
2291
+ )) : Z(
2292
2292
  u,
2293
2293
  h,
2294
2294
  g,
@@ -2321,14 +2321,14 @@ function wc(e, t) {
2321
2321
  y,
2322
2322
  b
2323
2323
  );
2324
- if (ni(u) && (k.ctx.renderer = lt), Ac(k), k.asyncDep) {
2325
- if (b && b.registerDep(k, W), !u.el) {
2324
+ if (si(u) && (k.ctx.renderer = lt), Ac(k), k.asyncDep) {
2325
+ if (b && b.registerDep(k, D), !u.el) {
2326
2326
  const I = k.subTree = Te(rt);
2327
2327
  P(null, I, h, g);
2328
2328
  }
2329
2329
  return;
2330
2330
  }
2331
- W(
2331
+ D(
2332
2332
  k,
2333
2333
  u,
2334
2334
  h,
@@ -2347,11 +2347,11 @@ function wc(e, t) {
2347
2347
  y.next = h, jr(y.update), y.update();
2348
2348
  else
2349
2349
  h.el = u.el, y.vnode = h;
2350
- }, W = (u, h, g, y, b, x, T) => {
2350
+ }, D = (u, h, g, y, b, x, T) => {
2351
2351
  const k = () => {
2352
2352
  if (u.isMounted) {
2353
- let { next: E, bu: O, u: j, parent: L, vnode: z } = u, X = E, H;
2354
- Ye(u, !1), E ? (E.el = z.el, G(u, E, T)) : E = z, O && en(O), (H = E.props && E.props.onVnodeBeforeUpdate) && Pe(H, L, E, z), Ye(u, !0);
2353
+ let { next: E, bu: O, u: j, parent: L, vnode: z } = u, V = E, W;
2354
+ Ye(u, !1), E ? (E.el = z.el, G(u, E, T)) : E = z, O && en(O), (W = E.props && E.props.onVnodeBeforeUpdate) && Pe(W, L, E, z), Ye(u, !0);
2355
2355
  const se = An(u), be = u.subTree;
2356
2356
  u.subTree = se, v(
2357
2357
  be,
@@ -2363,14 +2363,14 @@ function wc(e, t) {
2363
2363
  u,
2364
2364
  b,
2365
2365
  x
2366
- ), E.el = se.el, X === null && Nr(u, se.el), j && fe(j, b), (H = E.props && E.props.onVnodeUpdated) && fe(
2367
- () => Pe(H, L, E, z),
2366
+ ), E.el = se.el, V === null && Nr(u, se.el), j && fe(j, b), (W = E.props && E.props.onVnodeUpdated) && fe(
2367
+ () => Pe(W, L, E, z),
2368
2368
  b
2369
2369
  );
2370
2370
  } else {
2371
2371
  let E;
2372
- const { el: O, props: j } = h, { bm: L, m: z, parent: X } = u, H = nn(h);
2373
- if (Ye(u, !1), L && en(L), !H && (E = j && j.onVnodeBeforeMount) && Pe(E, X, h), Ye(u, !0), O && En) {
2372
+ const { el: O, props: j } = h, { bm: L, m: z, parent: V } = u, W = nn(h);
2373
+ if (Ye(u, !1), L && en(L), !W && (E = j && j.onVnodeBeforeMount) && Pe(E, V, h), Ye(u, !0), O && En) {
2374
2374
  const se = () => {
2375
2375
  u.subTree = An(u), En(
2376
2376
  O,
@@ -2380,7 +2380,7 @@ function wc(e, t) {
2380
2380
  null
2381
2381
  );
2382
2382
  };
2383
- H ? h.type.__asyncLoader().then(
2383
+ W ? h.type.__asyncLoader().then(
2384
2384
  // note: we are moving the render call into an async callback,
2385
2385
  // which means it won't track dependencies - but it's ok because
2386
2386
  // a server-rendered async wrapper is already in resolved state
@@ -2399,14 +2399,14 @@ function wc(e, t) {
2399
2399
  x
2400
2400
  ), h.el = se.el;
2401
2401
  }
2402
- if (z && fe(z, b), !H && (E = j && j.onVnodeMounted)) {
2402
+ if (z && fe(z, b), !W && (E = j && j.onVnodeMounted)) {
2403
2403
  const se = h;
2404
2404
  fe(
2405
- () => Pe(E, X, se),
2405
+ () => Pe(E, V, se),
2406
2406
  b
2407
2407
  );
2408
2408
  }
2409
- (h.shapeFlag & 256 || X && nn(X.vnode) && X.vnode.shapeFlag & 256) && u.a && fe(u.a, b), u.isMounted = !0, h = g = y = null;
2409
+ (h.shapeFlag & 256 || V && nn(V.vnode) && V.vnode.shapeFlag & 256) && u.a && fe(u.a, b), u.isMounted = !0, h = g = y = null;
2410
2410
  }
2411
2411
  }, I = u.effect = new ls(
2412
2412
  k,
@@ -2418,8 +2418,8 @@ function wc(e, t) {
2418
2418
  }, G = (u, h, g) => {
2419
2419
  h.component = u;
2420
2420
  const y = u.vnode.props;
2421
- u.vnode = h, u.next = null, mc(u, h.props, y, g), bc(u, h.children, g), xt(), Ws(), It();
2422
- }, V = (u, h, g, y, b, x, T, k, I = !1) => {
2421
+ u.vnode = h, u.next = null, mc(u, h.props, y, g), bc(u, h.children, g), xt(), Hs(), It();
2422
+ }, Z = (u, h, g, y, b, x, T, k, I = !1) => {
2423
2423
  const w = u && u.children, E = u ? u.shapeFlag : 0, O = h.children, { patchFlag: j, shapeFlag: L } = h;
2424
2424
  if (j > 0) {
2425
2425
  if (j & 128) {
@@ -2566,14 +2566,14 @@ function wc(e, t) {
2566
2566
  for (; w <= O; )
2567
2567
  Oe(u[w], b, x, !0), w++;
2568
2568
  else {
2569
- const L = w, z = w, X = /* @__PURE__ */ new Map();
2569
+ const L = w, z = w, V = /* @__PURE__ */ new Map();
2570
2570
  for (w = z; w <= j; w++) {
2571
2571
  const pe = h[w] = I ? De(h[w]) : Ee(h[w]);
2572
- pe.key != null && X.set(pe.key, w);
2572
+ pe.key != null && V.set(pe.key, w);
2573
2573
  }
2574
- let H, se = 0;
2574
+ let W, se = 0;
2575
2575
  const be = j - z + 1;
2576
- let ut = !1, As = 0;
2576
+ let ut = !1, Rs = 0;
2577
2577
  const Ct = new Array(be);
2578
2578
  for (w = 0; w < be; w++)
2579
2579
  Ct[w] = 0;
@@ -2585,14 +2585,14 @@ function wc(e, t) {
2585
2585
  }
2586
2586
  let Se;
2587
2587
  if (pe.key != null)
2588
- Se = X.get(pe.key);
2588
+ Se = V.get(pe.key);
2589
2589
  else
2590
- for (H = z; H <= j; H++)
2591
- if (Ct[H - z] === 0 && Ot(pe, h[H])) {
2592
- Se = H;
2590
+ for (W = z; W <= j; W++)
2591
+ if (Ct[W - z] === 0 && Ot(pe, h[W])) {
2592
+ Se = W;
2593
2593
  break;
2594
2594
  }
2595
- Se === void 0 ? Oe(pe, b, x, !0) : (Ct[Se - z] = w + 1, Se >= As ? As = Se : ut = !0, v(
2595
+ Se === void 0 ? Oe(pe, b, x, !0) : (Ct[Se - z] = w + 1, Se >= Rs ? Rs = Se : ut = !0, v(
2596
2596
  pe,
2597
2597
  h[Se],
2598
2598
  g,
@@ -2604,20 +2604,20 @@ function wc(e, t) {
2604
2604
  I
2605
2605
  ), se++);
2606
2606
  }
2607
- const Rs = ut ? vc(Ct) : gt;
2608
- for (H = Rs.length - 1, w = be - 1; w >= 0; w--) {
2609
- const pe = z + w, Se = h[pe], Ls = pe + 1 < E ? h[pe + 1].el : y;
2607
+ const Ls = ut ? vc(Ct) : gt;
2608
+ for (W = Ls.length - 1, w = be - 1; w >= 0; w--) {
2609
+ const pe = z + w, Se = h[pe], Ms = pe + 1 < E ? h[pe + 1].el : y;
2610
2610
  Ct[w] === 0 ? v(
2611
2611
  null,
2612
2612
  Se,
2613
2613
  g,
2614
- Ls,
2614
+ Ms,
2615
2615
  b,
2616
2616
  x,
2617
2617
  T,
2618
2618
  k,
2619
2619
  I
2620
- ) : ut && (H < 0 || w !== Rs[H] ? Be(Se, g, Ls, 2) : H--);
2620
+ ) : ut && (W < 0 || w !== Ls[W] ? Be(Se, g, Ms, 2) : W--);
2621
2621
  }
2622
2622
  }
2623
2623
  }, Be = (u, h, g, y, b = null) => {
@@ -2649,12 +2649,12 @@ function wc(e, t) {
2649
2649
  if (y === 0)
2650
2650
  k.beforeEnter(x), s(x, h, g), fe(() => k.enter(x), b);
2651
2651
  else {
2652
- const { leave: O, delayLeave: j, afterLeave: L } = k, z = () => s(x, h, g), X = () => {
2652
+ const { leave: O, delayLeave: j, afterLeave: L } = k, z = () => s(x, h, g), V = () => {
2653
2653
  O(x, () => {
2654
2654
  z(), L && L();
2655
2655
  });
2656
2656
  };
2657
- j ? j(x, z, X) : X();
2657
+ j ? j(x, z, V) : V();
2658
2658
  }
2659
2659
  else
2660
2660
  s(x, h, g);
@@ -2674,8 +2674,8 @@ function wc(e, t) {
2674
2674
  return;
2675
2675
  }
2676
2676
  const L = E & 1 && j, z = !nn(u);
2677
- let X;
2678
- if (z && (X = T && T.onVnodeBeforeUnmount) && Pe(X, h, u), E & 6)
2677
+ let V;
2678
+ if (z && (V = T && T.onVnodeBeforeUnmount) && Pe(V, h, u), E & 6)
2679
2679
  Ai(u.component, g, y);
2680
2680
  else {
2681
2681
  if (E & 128) {
@@ -2696,12 +2696,12 @@ function wc(e, t) {
2696
2696
  g,
2697
2697
  !1,
2698
2698
  !0
2699
- ) : (x === ye && O & 384 || !b && E & 16) && Le(I, h, g), y && Es(u);
2699
+ ) : (x === ye && O & 384 || !b && E & 16) && Le(I, h, g), y && js(u);
2700
2700
  }
2701
- (z && (X = T && T.onVnodeUnmounted) || L) && fe(() => {
2702
- X && Pe(X, h, u), L && Je(u, null, h, "unmounted");
2701
+ (z && (V = T && T.onVnodeUnmounted) || L) && fe(() => {
2702
+ V && Pe(V, h, u), L && Je(u, null, h, "unmounted");
2703
2703
  }, g);
2704
- }, Es = (u) => {
2704
+ }, js = (u) => {
2705
2705
  const { type: h, el: g, anchor: y, transition: b } = u;
2706
2706
  if (h === ye) {
2707
2707
  ji(g, y);
@@ -2732,16 +2732,16 @@ function wc(e, t) {
2732
2732
  }, Le = (u, h, g, y = !1, b = !1, x = 0) => {
2733
2733
  for (let T = x; T < u.length; T++)
2734
2734
  Oe(u[T], h, g, y, b);
2735
- }, Zt = (u) => u.shapeFlag & 6 ? Zt(u.component.subTree) : u.shapeFlag & 128 ? u.suspense.next() : p(u.anchor || u.el), js = (u, h, g) => {
2736
- u == null ? h._vnode && Oe(h._vnode, null, null, !0) : v(h._vnode || null, u, h, null, null, null, g), Ws(), Yo(), h._vnode = u;
2735
+ }, Zt = (u) => u.shapeFlag & 6 ? Zt(u.component.subTree) : u.shapeFlag & 128 ? u.suspense.next() : p(u.anchor || u.el), As = (u, h, g) => {
2736
+ u == null ? h._vnode && Oe(h._vnode, null, null, !0) : v(h._vnode || null, u, h, null, null, null, g), Hs(), qo(), h._vnode = u;
2737
2737
  }, lt = {
2738
2738
  p: v,
2739
2739
  um: Oe,
2740
2740
  m: Be,
2741
- r: Es,
2741
+ r: js,
2742
2742
  mt: Tt,
2743
2743
  mc: K,
2744
- pc: V,
2744
+ pc: Z,
2745
2745
  pbc: ie,
2746
2746
  n: Zt,
2747
2747
  o: e
@@ -2750,21 +2750,21 @@ function wc(e, t) {
2750
2750
  return t && ([Pn, En] = t(
2751
2751
  lt
2752
2752
  )), {
2753
- render: js,
2753
+ render: As,
2754
2754
  hydrate: Pn,
2755
- createApp: fc(js, Pn)
2755
+ createApp: fc(As, Pn)
2756
2756
  };
2757
2757
  }
2758
2758
  function Ye({ effect: e, update: t }, n) {
2759
2759
  e.allowRecurse = t.allowRecurse = n;
2760
2760
  }
2761
- function di(e, t, n = !1) {
2761
+ function hi(e, t, n = !1) {
2762
2762
  const s = e.children, o = t.children;
2763
2763
  if (R(s) && R(o))
2764
2764
  for (let i = 0; i < s.length; i++) {
2765
2765
  const r = s[i];
2766
2766
  let c = o[i];
2767
- c.shapeFlag & 1 && !c.dynamicChildren && ((c.patchFlag <= 0 || c.patchFlag === 32) && (c = o[i] = De(o[i]), c.el = r.el), n || di(r, c)), c.type === In && (c.el = r.el);
2767
+ c.shapeFlag & 1 && !c.dynamicChildren && ((c.patchFlag <= 0 || c.patchFlag === 32) && (c = o[i] = De(o[i]), c.el = r.el), n || hi(r, c)), c.type === In && (c.el = r.el);
2768
2768
  }
2769
2769
  }
2770
2770
  function vc(e) {
@@ -2796,14 +2796,14 @@ function xc() {
2796
2796
  Lt.pop(), ve = Lt[Lt.length - 1] || null;
2797
2797
  }
2798
2798
  let $t = 1;
2799
- function Qs(e) {
2799
+ function eo(e) {
2800
2800
  $t += e;
2801
2801
  }
2802
- function hi(e) {
2802
+ function pi(e) {
2803
2803
  return e.dynamicChildren = $t > 0 ? ve || gt : null, xc(), $t > 0 && ve && ve.push(e), e;
2804
2804
  }
2805
2805
  function ee(e, t, n, s, o, i) {
2806
- return hi(
2806
+ return pi(
2807
2807
  B(
2808
2808
  e,
2809
2809
  t,
@@ -2817,7 +2817,7 @@ function ee(e, t, n, s, o, i) {
2817
2817
  );
2818
2818
  }
2819
2819
  function Ic(e, t, n, s, o) {
2820
- return hi(
2820
+ return pi(
2821
2821
  Te(
2822
2822
  e,
2823
2823
  t,
@@ -2835,7 +2835,7 @@ function Tc(e) {
2835
2835
  function Ot(e, t) {
2836
2836
  return e.type === t.type && e.key === t.key;
2837
2837
  }
2838
- const Tn = "__vInternal", pi = ({ key: e }) => e ?? null, sn = ({
2838
+ const Tn = "__vInternal", mi = ({ key: e }) => e ?? null, sn = ({
2839
2839
  ref: e,
2840
2840
  ref_key: t,
2841
2841
  ref_for: n
@@ -2846,9 +2846,9 @@ function B(e, t = null, n = null, s = 0, o = null, i = e === ye ? 0 : 1, r = !1,
2846
2846
  __v_skip: !0,
2847
2847
  type: e,
2848
2848
  props: t,
2849
- key: t && pi(t),
2849
+ key: t && mi(t),
2850
2850
  ref: t && sn(t),
2851
- scopeId: Qo,
2851
+ scopeId: ei,
2852
2852
  slotScopeIds: null,
2853
2853
  children: n,
2854
2854
  component: null,
@@ -2893,7 +2893,7 @@ function Cc(e, t = null, n = null, s = 0, o = null, i = !1) {
2893
2893
  if (Fc(e) && (e = e.__vccOpts), t) {
2894
2894
  t = Oc(t);
2895
2895
  let { class: c, style: a } = t;
2896
- c && !oe(c) && (t.class = _n(c)), q(a) && (Wo(a) && !R(a) && (a = re({}, a)), t.style = gn(a));
2896
+ c && !oe(c) && (t.class = _n(c)), q(a) && (Ho(a) && !R(a) && (a = re({}, a)), t.style = gn(a));
2897
2897
  }
2898
2898
  const r = oe(e) ? 1 : Ur(e) ? 128 : kc(e) ? 64 : q(e) ? 4 : F(e) ? 2 : 0;
2899
2899
  return B(
@@ -2908,7 +2908,7 @@ function Cc(e, t = null, n = null, s = 0, o = null, i = !1) {
2908
2908
  );
2909
2909
  }
2910
2910
  function Oc(e) {
2911
- return e ? Wo(e) || Tn in e ? re({}, e) : e : null;
2911
+ return e ? Ho(e) || Tn in e ? re({}, e) : e : null;
2912
2912
  }
2913
2913
  function vt(e, t, n = !1) {
2914
2914
  const { props: s, ref: o, patchFlag: i, children: r } = e, c = t ? Sc(s || {}, t) : s;
@@ -2917,7 +2917,7 @@ function vt(e, t, n = !1) {
2917
2917
  __v_skip: !0,
2918
2918
  type: e.type,
2919
2919
  props: c,
2920
- key: c && pi(c),
2920
+ key: c && mi(c),
2921
2921
  ref: t && t.ref ? (
2922
2922
  // #2078 in the case of <component :is="vnode" ref="extra"/>
2923
2923
  // if the vnode itself already has a ref, cloneVNode will need to merge
@@ -3016,7 +3016,7 @@ function Pe(e, t, n, s = null) {
3016
3016
  s
3017
3017
  ]);
3018
3018
  }
3019
- const Pc = ri();
3019
+ const Pc = ci();
3020
3020
  let Ec = 0;
3021
3021
  function jc(e, t, n) {
3022
3022
  const s = e.type, o = (t ? t.appContext : e.appContext) || Pc, i = {
@@ -3033,7 +3033,7 @@ function jc(e, t, n) {
3033
3033
  effect: null,
3034
3034
  update: null,
3035
3035
  // will be set synchronously right after creation
3036
- scope: new Po(
3036
+ scope: new Eo(
3037
3037
  !0
3038
3038
  /* detached */
3039
3039
  ),
@@ -3049,8 +3049,8 @@ function jc(e, t, n) {
3049
3049
  components: null,
3050
3050
  directives: null,
3051
3051
  // resolved props and emits options
3052
- propsOptions: ai(s, o),
3053
- emitsOptions: Go(s, o),
3052
+ propsOptions: li(s, o),
3053
+ emitsOptions: Qo(s, o),
3054
3054
  // emit
3055
3055
  emit: null,
3056
3056
  // to be set immediately
@@ -3097,8 +3097,8 @@ function jc(e, t, n) {
3097
3097
  };
3098
3098
  return i.ctx = { _: i }, i.root = t ? t.root : i, i.emit = Lr.bind(null, i), e.ce && e.ce(i), i;
3099
3099
  }
3100
- let ce = null, vs, ft, eo = "__VUE_INSTANCE_SETTERS__";
3101
- (ft = Dn()[eo]) || (ft = Dn()[eo] = []), ft.push((e) => ce = e), vs = (e) => {
3100
+ let ce = null, vs, ft, to = "__VUE_INSTANCE_SETTERS__";
3101
+ (ft = Dn()[to]) || (ft = Dn()[to] = []), ft.push((e) => ce = e), vs = (e) => {
3102
3102
  ft.length > 1 ? ft.forEach((t) => t(e)) : ft[0](e);
3103
3103
  };
3104
3104
  const kt = (e) => {
@@ -3106,13 +3106,13 @@ const kt = (e) => {
3106
3106
  }, it = () => {
3107
3107
  ce && ce.scope.off(), vs(null);
3108
3108
  };
3109
- function mi(e) {
3109
+ function gi(e) {
3110
3110
  return e.vnode.shapeFlag & 4;
3111
3111
  }
3112
3112
  let Dt = !1;
3113
3113
  function Ac(e, t = !1) {
3114
3114
  Dt = t;
3115
- const { props: n, children: s } = e.vnode, o = mi(e);
3115
+ const { props: n, children: s } = e.vnode, o = gi(e);
3116
3116
  pc(e, n, o, t), _c(e, s);
3117
3117
  const i = o ? Rc(e, t) : void 0;
3118
3118
  return Dt = !1, i;
@@ -3130,27 +3130,27 @@ function Rc(e, t) {
3130
3130
  0,
3131
3131
  [e.props, o]
3132
3132
  );
3133
- if (It(), it(), xo(i)) {
3133
+ if (It(), it(), Io(i)) {
3134
3134
  if (i.then(it, it), t)
3135
3135
  return i.then((r) => {
3136
- to(e, r, t);
3136
+ no(e, r, t);
3137
3137
  }).catch((r) => {
3138
3138
  vn(r, e, 0);
3139
3139
  });
3140
3140
  e.asyncDep = i;
3141
3141
  } else
3142
- to(e, i, t);
3142
+ no(e, i, t);
3143
3143
  } else
3144
- gi(e, t);
3144
+ _i(e, t);
3145
3145
  }
3146
- function to(e, t, n) {
3147
- F(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : q(t) && (e.setupState = Vo(t)), gi(e, n);
3146
+ function no(e, t, n) {
3147
+ F(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : q(t) && (e.setupState = Xo(t)), _i(e, n);
3148
3148
  }
3149
- let no;
3150
- function gi(e, t, n) {
3149
+ let so;
3150
+ function _i(e, t, n) {
3151
3151
  const s = e.type;
3152
3152
  if (!e.render) {
3153
- if (!t && no && !s.render) {
3153
+ if (!t && so && !s.render) {
3154
3154
  const o = s.template || bs(e).template;
3155
3155
  if (o) {
3156
3156
  const { isCustomElement: i, compilerOptions: r } = e.appContext.config, { delimiters: c, compilerOptions: a } = s, l = re(
@@ -3163,7 +3163,7 @@ function gi(e, t, n) {
3163
3163
  ),
3164
3164
  a
3165
3165
  );
3166
- s.render = no(o, l);
3166
+ s.render = so(o, l);
3167
3167
  }
3168
3168
  }
3169
3169
  e.render = s.render || ke;
@@ -3195,7 +3195,7 @@ function Mc(e) {
3195
3195
  }
3196
3196
  function Cn(e) {
3197
3197
  if (e.exposed)
3198
- return e.exposeProxy || (e.exposeProxy = new Proxy(Vo(wn(e.exposed)), {
3198
+ return e.exposeProxy || (e.exposeProxy = new Proxy(Xo(wn(e.exposed)), {
3199
3199
  get(t, n) {
3200
3200
  if (n in t)
3201
3201
  return t[n];
@@ -3210,7 +3210,7 @@ function Cn(e) {
3210
3210
  function Fc(e) {
3211
3211
  return F(e) && "__vccOpts" in e;
3212
3212
  }
3213
- const _i = (e, t) => Sr(e, t, Dt), Kc = Symbol.for("v-scx"), zc = () => Ie(Kc), Nc = "3.3.4", Uc = "http://www.w3.org/2000/svg", et = typeof document < "u" ? document : null, so = et && /* @__PURE__ */ et.createElement("template"), $c = {
3213
+ const ks = (e, t) => Sr(e, t, Dt), Kc = Symbol.for("v-scx"), zc = () => Ie(Kc), Nc = "3.3.4", Uc = "http://www.w3.org/2000/svg", et = typeof document < "u" ? document : null, oo = et && /* @__PURE__ */ et.createElement("template"), $c = {
3214
3214
  insert: (e, t, n) => {
3215
3215
  t.insertBefore(e, n || null);
3216
3216
  },
@@ -3246,8 +3246,8 @@ const _i = (e, t) => Sr(e, t, Dt), Kc = Symbol.for("v-scx"), zc = () => Ie(Kc),
3246
3246
  for (; t.insertBefore(o.cloneNode(!0), n), !(o === i || !(o = o.nextSibling)); )
3247
3247
  ;
3248
3248
  else {
3249
- so.innerHTML = s ? `<svg>${e}</svg>` : e;
3250
- const c = so.content;
3249
+ oo.innerHTML = s ? `<svg>${e}</svg>` : e;
3250
+ const c = oo.content;
3251
3251
  if (s) {
3252
3252
  const a = c.firstChild;
3253
3253
  for (; a.firstChild; )
@@ -3281,7 +3281,7 @@ function Wc(e, t, n) {
3281
3281
  o ? t !== n && (s.cssText = n) : t && e.removeAttribute("style"), "_vod" in e && (s.display = i);
3282
3282
  }
3283
3283
  }
3284
- const oo = /\s*!important$/;
3284
+ const io = /\s*!important$/;
3285
3285
  function Gn(e, t, n) {
3286
3286
  if (R(n))
3287
3287
  n.forEach((s) => Gn(e, t, s));
@@ -3289,14 +3289,14 @@ function Gn(e, t, n) {
3289
3289
  e.setProperty(t, n);
3290
3290
  else {
3291
3291
  const s = Hc(e, t);
3292
- oo.test(n) ? e.setProperty(
3292
+ io.test(n) ? e.setProperty(
3293
3293
  ct(s),
3294
- n.replace(oo, ""),
3294
+ n.replace(io, ""),
3295
3295
  "important"
3296
3296
  ) : e[s] = n;
3297
3297
  }
3298
3298
  }
3299
- const io = ["Webkit", "Moz", "ms"], Mn = {};
3299
+ const ro = ["Webkit", "Moz", "ms"], Mn = {};
3300
3300
  function Hc(e, t) {
3301
3301
  const n = Mn[t];
3302
3302
  if (n)
@@ -3304,21 +3304,21 @@ function Hc(e, t) {
3304
3304
  let s = yt(t);
3305
3305
  if (s !== "filter" && s in e)
3306
3306
  return Mn[t] = s;
3307
- s = Co(s);
3308
- for (let o = 0; o < io.length; o++) {
3309
- const i = io[o] + s;
3307
+ s = Oo(s);
3308
+ for (let o = 0; o < ro.length; o++) {
3309
+ const i = ro[o] + s;
3310
3310
  if (i in e)
3311
3311
  return Mn[t] = i;
3312
3312
  }
3313
3313
  return t;
3314
3314
  }
3315
- const ro = "http://www.w3.org/1999/xlink";
3315
+ const co = "http://www.w3.org/1999/xlink";
3316
3316
  function Zc(e, t, n, s, o) {
3317
3317
  if (s && t.startsWith("xlink:"))
3318
- n == null ? e.removeAttributeNS(ro, t.slice(6, t.length)) : e.setAttributeNS(ro, t, n);
3318
+ n == null ? e.removeAttributeNS(co, t.slice(6, t.length)) : e.setAttributeNS(co, t, n);
3319
3319
  else {
3320
3320
  const i = Hi(t);
3321
- n == null || i && !Oo(n) ? e.removeAttribute(t) : e.setAttribute(t, i ? "" : n);
3321
+ n == null || i && !So(n) ? e.removeAttribute(t) : e.setAttribute(t, i ? "" : n);
3322
3322
  }
3323
3323
  }
3324
3324
  function Vc(e, t, n, s, o, i, r) {
@@ -3337,7 +3337,7 @@ function Vc(e, t, n, s, o, i, r) {
3337
3337
  let a = !1;
3338
3338
  if (n === "" || n == null) {
3339
3339
  const l = typeof e[t];
3340
- l === "boolean" ? n = Oo(n) : n == null && l === "string" ? (n = "", a = !0) : l === "number" && (n = 0, a = !0);
3340
+ l === "boolean" ? n = So(n) : n == null && l === "string" ? (n = "", a = !0) : l === "number" && (n = 0, a = !0);
3341
3341
  }
3342
3342
  try {
3343
3343
  e[t] = n;
@@ -3364,13 +3364,13 @@ function Bc(e, t, n, s, o = null) {
3364
3364
  r && (Xc(e, c, r, a), i[t] = void 0);
3365
3365
  }
3366
3366
  }
3367
- const co = /(?:Once|Passive|Capture)$/;
3367
+ const ao = /(?:Once|Passive|Capture)$/;
3368
3368
  function Jc(e) {
3369
3369
  let t;
3370
- if (co.test(e)) {
3370
+ if (ao.test(e)) {
3371
3371
  t = {};
3372
3372
  let s;
3373
- for (; s = e.match(co); )
3373
+ for (; s = e.match(ao); )
3374
3374
  e = e.slice(0, e.length - s[0].length), t[s[0].toLowerCase()] = !0;
3375
3375
  }
3376
3376
  return [e[2] === ":" ? e.slice(3) : ct(e.slice(2)), t];
@@ -3401,7 +3401,7 @@ function Qc(e, t) {
3401
3401
  } else
3402
3402
  return t;
3403
3403
  }
3404
- const ao = /^on[a-z]/, ea = (e, t, n, s, o = !1, i, r, c, a) => {
3404
+ const lo = /^on[a-z]/, ea = (e, t, n, s, o = !1, i, r, c, a) => {
3405
3405
  t === "class" ? Dc(e, s, o) : t === "style" ? Wc(e, n, s) : hn(t) ? os(t) || Bc(e, t, n, s, r) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : ta(e, t, s, o)) ? Vc(
3406
3406
  e,
3407
3407
  t,
@@ -3413,22 +3413,22 @@ const ao = /^on[a-z]/, ea = (e, t, n, s, o = !1, i, r, c, a) => {
3413
3413
  ) : (t === "true-value" ? e._trueValue = s : t === "false-value" && (e._falseValue = s), Zc(e, t, s, o));
3414
3414
  };
3415
3415
  function ta(e, t, n, s) {
3416
- return s ? !!(t === "innerHTML" || t === "textContent" || t in e && ao.test(t) && F(n)) : t === "spellcheck" || t === "draggable" || t === "translate" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA" || ao.test(t) && oe(n) ? !1 : t in e;
3416
+ return s ? !!(t === "innerHTML" || t === "textContent" || t in e && lo.test(t) && F(n)) : t === "spellcheck" || t === "draggable" || t === "translate" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA" || lo.test(t) && oe(n) ? !1 : t in e;
3417
3417
  }
3418
- const lo = (e) => {
3418
+ const uo = (e) => {
3419
3419
  const t = e.props["onUpdate:modelValue"] || !1;
3420
3420
  return R(t) ? (n) => en(t, n) : t;
3421
3421
  };
3422
3422
  function na(e) {
3423
3423
  e.target.composing = !0;
3424
3424
  }
3425
- function uo(e) {
3425
+ function fo(e) {
3426
3426
  const t = e.target;
3427
3427
  t.composing && (t.composing = !1, t.dispatchEvent(new Event("input")));
3428
3428
  }
3429
3429
  const sa = {
3430
3430
  created(e, { modifiers: { lazy: t, trim: n, number: s } }, o) {
3431
- e._assign = lo(o);
3431
+ e._assign = uo(o);
3432
3432
  const i = s || o.props && o.props.type === "number";
3433
3433
  ht(e, t ? "change" : "input", (r) => {
3434
3434
  if (r.target.composing)
@@ -3437,14 +3437,14 @@ const sa = {
3437
3437
  n && (c = c.trim()), i && (c = $n(c)), e._assign(c);
3438
3438
  }), n && ht(e, "change", () => {
3439
3439
  e.value = e.value.trim();
3440
- }), t || (ht(e, "compositionstart", na), ht(e, "compositionend", uo), ht(e, "change", uo));
3440
+ }), t || (ht(e, "compositionstart", na), ht(e, "compositionend", fo), ht(e, "change", fo));
3441
3441
  },
3442
3442
  // set value on mounted so it's after min/max for type="range"
3443
3443
  mounted(e, { value: t }) {
3444
3444
  e.value = t ?? "";
3445
3445
  },
3446
3446
  beforeUpdate(e, { value: t, modifiers: { lazy: n, trim: s, number: o } }, i) {
3447
- if (e._assign = lo(i), e.composing || document.activeElement === e && e.type !== "range" && (n || s && e.value.trim() === t || (o || e.type === "number") && $n(e.value) === t))
3447
+ if (e._assign = uo(i), e.composing || document.activeElement === e && e.type !== "range" && (n || s && e.value.trim() === t || (o || e.type === "number") && $n(e.value) === t))
3448
3448
  return;
3449
3449
  const r = t ?? "";
3450
3450
  e.value !== r && (e.value = r);
@@ -3483,9 +3483,9 @@ const sa = {
3483
3483
  if (t.some((o) => o === s || ca[o] === s))
3484
3484
  return e(n);
3485
3485
  }, la = /* @__PURE__ */ re({ patchProp: ea }, $c);
3486
- let fo;
3486
+ let ho;
3487
3487
  function ua() {
3488
- return fo || (fo = yc(la));
3488
+ return ho || (ho = yc(la));
3489
3489
  }
3490
3490
  const fa = (...e) => {
3491
3491
  const t = ua().createApp(...e), { mount: n } = t;
@@ -3521,7 +3521,7 @@ var Mt;
3521
3521
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
3522
3522
  })(Mt || (Mt = {}));
3523
3523
  function pa() {
3524
- const e = Eo(!0), t = e.run(() => Y({}));
3524
+ const e = jo(!0), t = e.run(() => Y({}));
3525
3525
  let n = [], s = [];
3526
3526
  const o = wn({
3527
3527
  install(i) {
@@ -3542,13 +3542,13 @@ function pa() {
3542
3542
  }
3543
3543
  const wi = () => {
3544
3544
  };
3545
- function ho(e, t, n, s = wi) {
3545
+ function po(e, t, n, s = wi) {
3546
3546
  e.push(t);
3547
3547
  const o = () => {
3548
3548
  const i = e.indexOf(t);
3549
3549
  i > -1 && (e.splice(i, 1), s());
3550
3550
  };
3551
- return !n && jo() && Vi(o), o;
3551
+ return !n && Ao() && Vi(o), o;
3552
3552
  }
3553
3553
  function dt(e, ...t) {
3554
3554
  e.slice().forEach((n) => {
@@ -3583,7 +3583,7 @@ function ya(e, t, n, s) {
3583
3583
  function l() {
3584
3584
  c || (n.state.value[e] = o ? o() : {});
3585
3585
  const f = Ir(n.state.value[e]);
3586
- return $e(f, i, Object.keys(r || {}).reduce((d, p) => (d[p] = wn(_i(() => {
3586
+ return $e(f, i, Object.keys(r || {}).reduce((d, p) => (d[p] = wn(ks(() => {
3587
3587
  On(n);
3588
3588
  const m = n._s.get(e);
3589
3589
  return r[p].call(m, m);
@@ -3614,7 +3614,7 @@ function vi(e, t, n = {}, s, o, i) {
3614
3614
  events: m
3615
3615
  });
3616
3616
  const ie = v = Symbol();
3617
- Bo().then(() => {
3617
+ Jo().then(() => {
3618
3618
  v === ie && (l = !0);
3619
3619
  }), f = !0, dt(d, $, s.state.value[e]);
3620
3620
  }
@@ -3634,37 +3634,37 @@ function vi(e, t, n = {}, s, o, i) {
3634
3634
  return function() {
3635
3635
  On(s);
3636
3636
  const ie = Array.from(arguments), he = [], Ce = [];
3637
- function at(W) {
3638
- he.push(W);
3637
+ function at(D) {
3638
+ he.push(D);
3639
3639
  }
3640
- function Tt(W) {
3641
- Ce.push(W);
3640
+ function Tt(D) {
3641
+ Ce.push(D);
3642
3642
  }
3643
3643
  dt(p, {
3644
3644
  args: ie,
3645
3645
  name: K,
3646
- store: Z,
3646
+ store: H,
3647
3647
  after: at,
3648
3648
  onError: Tt
3649
3649
  });
3650
3650
  let Ne;
3651
3651
  try {
3652
- Ne = $.apply(this && this.$id === e ? this : Z, ie);
3653
- } catch (W) {
3654
- throw dt(Ce, W), W;
3652
+ Ne = $.apply(this && this.$id === e ? this : H, ie);
3653
+ } catch (D) {
3654
+ throw dt(Ce, D), D;
3655
3655
  }
3656
- return Ne instanceof Promise ? Ne.then((W) => (dt(he, W), W)).catch((W) => (dt(Ce, W), Promise.reject(W))) : (dt(he, Ne), Ne);
3656
+ return Ne instanceof Promise ? Ne.then((D) => (dt(he, D), D)).catch((D) => (dt(Ce, D), Promise.reject(D))) : (dt(he, Ne), Ne);
3657
3657
  };
3658
3658
  }
3659
3659
  const A = {
3660
3660
  _p: s,
3661
3661
  // _s: scope,
3662
3662
  $id: e,
3663
- $onAction: ho.bind(null, p),
3663
+ $onAction: po.bind(null, p),
3664
3664
  $patch: S,
3665
3665
  $reset: P,
3666
3666
  $subscribe(K, $ = {}) {
3667
- const ie = ho(d, K, $.detached, () => he()), he = r.run(() => tn(() => s.state.value[e], (Ce) => {
3667
+ const ie = po(d, K, $.detached, () => he()), he = r.run(() => tn(() => s.state.value[e], (Ce) => {
3668
3668
  ($.flush === "sync" ? f : l) && K({
3669
3669
  storeId: e,
3670
3670
  type: Mt.direct,
@@ -3674,9 +3674,9 @@ function vi(e, t, n = {}, s, o, i) {
3674
3674
  return ie;
3675
3675
  },
3676
3676
  $dispose: C
3677
- }, Z = yn(A);
3678
- s._s.set(e, Z);
3679
- const ge = s._a && s._a.runWithContext || ma, ne = s._e.run(() => (r = Eo(), ge(() => r.run(t))));
3677
+ }, H = yn(A);
3678
+ s._s.set(e, H);
3679
+ const ge = s._a && s._a.runWithContext || ma, ne = s._e.run(() => (r = jo(), ge(() => r.run(t))));
3680
3680
  for (const K in ne) {
3681
3681
  const $ = ne[K];
3682
3682
  if (te($) && !ba($) || He($))
@@ -3686,7 +3686,7 @@ function vi(e, t, n = {}, s, o, i) {
3686
3686
  ne[K] = ie, c.actions[K] = $;
3687
3687
  }
3688
3688
  }
3689
- return $e(Z, ne), $e(U(Z), ne), Object.defineProperty(Z, "$state", {
3689
+ return $e(H, ne), $e(U(H), ne), Object.defineProperty(H, "$state", {
3690
3690
  get: () => s.state.value[e],
3691
3691
  set: (K) => {
3692
3692
  S(($) => {
@@ -3694,13 +3694,13 @@ function vi(e, t, n = {}, s, o, i) {
3694
3694
  });
3695
3695
  }
3696
3696
  }), s._p.forEach((K) => {
3697
- $e(Z, r.run(() => K({
3698
- store: Z,
3697
+ $e(H, r.run(() => K({
3698
+ store: H,
3699
3699
  app: s._a,
3700
3700
  pinia: s,
3701
3701
  options: c
3702
3702
  })));
3703
- }), _ && i && n.hydrate && n.hydrate(Z.$state, _), l = !0, f = !0, Z;
3703
+ }), _ && i && n.hydrate && n.hydrate(H.$state, _), l = !0, f = !0, H;
3704
3704
  }
3705
3705
  function wa(e, t, n) {
3706
3706
  let s, o;
@@ -3727,13 +3727,13 @@ function je(e, t) {
3727
3727
  return n;
3728
3728
  }
3729
3729
  var mt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3730
- function ks(e) {
3730
+ function xs(e) {
3731
3731
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
3732
3732
  }
3733
- function xs(e, t) {
3733
+ function Is(e, t) {
3734
3734
  return e(t = { exports: {} }, t.exports), t.exports;
3735
3735
  }
3736
- var Ge = xs(function(e, t) {
3736
+ var Ge = Is(function(e, t) {
3737
3737
  Object.defineProperty(t, "__esModule", { value: !0 });
3738
3738
  var n = function() {
3739
3739
  function s() {
@@ -3764,8 +3764,8 @@ var Ge = xs(function(e, t) {
3764
3764
  return n.getInstance();
3765
3765
  };
3766
3766
  });
3767
- ks(Ge);
3768
- var va = ks(xs(function(e, t) {
3767
+ xs(Ge);
3768
+ var va = xs(Is(function(e, t) {
3769
3769
  var n = mt && mt.__awaiter || function(a, l, f, d) {
3770
3770
  return new (f || (f = Promise))(function(p, m) {
3771
3771
  function _(P) {
@@ -3984,7 +3984,7 @@ var va = ks(xs(function(e, t) {
3984
3984
  }();
3985
3985
  t.default = c;
3986
3986
  }));
3987
- const ka = { timeoutInSeconds: 60 }, xi = { name: "auth0-spa-js", version: "2.1.1" }, Ii = () => Date.now();
3987
+ const ka = { timeoutInSeconds: 60 }, xi = { name: "auth0-spa-js", version: "2.1.2" }, Ii = () => Date.now();
3988
3988
  class ae extends Error {
3989
3989
  constructor(t, n) {
3990
3990
  super(n), this.error = t, this.error_description = n, Object.setPrototypeOf(this, ae.prototype);
@@ -3993,9 +3993,9 @@ class ae extends Error {
3993
3993
  return new ae(t, n);
3994
3994
  }
3995
3995
  }
3996
- class Is extends ae {
3996
+ class Ts extends ae {
3997
3997
  constructor(t, n, s, o = null) {
3998
- super(t, n), this.state = s, this.appState = o, Object.setPrototypeOf(this, Is.prototype);
3998
+ super(t, n), this.state = s, this.appState = o, Object.setPrototypeOf(this, Ts.prototype);
3999
3999
  }
4000
4000
  }
4001
4001
  class Wt extends ae {
@@ -4003,37 +4003,37 @@ class Wt extends ae {
4003
4003
  super("timeout", "Timeout"), Object.setPrototypeOf(this, Wt.prototype);
4004
4004
  }
4005
4005
  }
4006
- class Ts extends Wt {
4006
+ class Cs extends Wt {
4007
4007
  constructor(t) {
4008
- super(), this.popup = t, Object.setPrototypeOf(this, Ts.prototype);
4008
+ super(), this.popup = t, Object.setPrototypeOf(this, Cs.prototype);
4009
4009
  }
4010
4010
  }
4011
- class Cs extends ae {
4011
+ class Os extends ae {
4012
4012
  constructor(t) {
4013
- super("cancelled", "Popup closed"), this.popup = t, Object.setPrototypeOf(this, Cs.prototype);
4013
+ super("cancelled", "Popup closed"), this.popup = t, Object.setPrototypeOf(this, Os.prototype);
4014
4014
  }
4015
4015
  }
4016
- class Os extends ae {
4016
+ class Ss extends ae {
4017
4017
  constructor(t, n, s) {
4018
- super(t, n), this.mfa_token = s, Object.setPrototypeOf(this, Os.prototype);
4018
+ super(t, n), this.mfa_token = s, Object.setPrototypeOf(this, Ss.prototype);
4019
4019
  }
4020
4020
  }
4021
4021
  class Sn extends ae {
4022
4022
  constructor(t, n) {
4023
- super("missing_refresh_token", `Missing Refresh Token (audience: '${po(t, ["default"])}', scope: '${po(n)}')`), this.audience = t, this.scope = n, Object.setPrototypeOf(this, Sn.prototype);
4023
+ super("missing_refresh_token", `Missing Refresh Token (audience: '${mo(t, ["default"])}', scope: '${mo(n)}')`), this.audience = t, this.scope = n, Object.setPrototypeOf(this, Sn.prototype);
4024
4024
  }
4025
4025
  }
4026
- function po(e, t = []) {
4026
+ function mo(e, t = []) {
4027
4027
  return e && !t.includes(e) ? e : "";
4028
4028
  }
4029
4029
  const on = () => window.crypto, Kn = () => {
4030
4030
  const e = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_~.";
4031
4031
  let t = "";
4032
4032
  return Array.from(on().getRandomValues(new Uint8Array(43))).forEach((n) => t += e[n % e.length]), t;
4033
- }, mo = (e) => btoa(e), ts = (e) => {
4033
+ }, go = (e) => btoa(e), ts = (e) => {
4034
4034
  var { clientId: t } = e, n = je(e, ["clientId"]);
4035
4035
  return new URLSearchParams(((s) => Object.keys(s).filter((o) => s[o] !== void 0).reduce((o, i) => Object.assign(Object.assign({}, o), { [i]: s[i] }), {}))(Object.assign({ client_id: t }, n))).toString();
4036
- }, go = (e) => ((t) => decodeURIComponent(atob(t).split("").map((n) => "%" + ("00" + n.charCodeAt(0).toString(16)).slice(-2)).join("")))(e.replace(/_/g, "/").replace(/-/g, "+")), xa = async (e, t) => {
4036
+ }, _o = (e) => ((t) => decodeURIComponent(atob(t).split("").map((n) => "%" + ("00" + n.charCodeAt(0).toString(16)).slice(-2)).join("")))(e.replace(/_/g, "/").replace(/-/g, "+")), xa = async (e, t) => {
4037
4037
  const n = await fetch(e, t);
4038
4038
  return { ok: n.ok, json: await n.json() };
4039
4039
  }, Ia = async (e, t, n, s, o, i, r = 1e4) => o ? (async (c, a, l, f, d, p, m) => {
@@ -4069,10 +4069,10 @@ async function Ta(e, t) {
4069
4069
  }
4070
4070
  if (C)
4071
4071
  throw C;
4072
- const M = P.json, { error: A, error_description: Z } = M, ge = je(M, ["error", "error_description"]), { ok: ne } = P;
4072
+ const M = P.json, { error: A, error_description: H } = M, ge = je(M, ["error", "error_description"]), { ok: ne } = P;
4073
4073
  if (!ne) {
4074
- const K = Z || `HTTP error. Unable to fetch ${f}`;
4075
- throw A === "mfa_required" ? new Os(A, K, ge.mfa_token) : A === "missing_refresh_token" ? new Sn(p, m) : new ae(A || "request_error", K);
4074
+ const K = H || `HTTP error. Unable to fetch ${f}`;
4075
+ throw A === "mfa_required" ? new Ss(A, K, ge.mfa_token) : A === "missing_refresh_token" ? new Sn(p, m) : new ae(A || "request_error", K);
4076
4076
  }
4077
4077
  return ge;
4078
4078
  }(`${n}/oauth/token`, s, o || "default", i, { method: "POST", body: l, headers: { "Content-Type": c ? "application/x-www-form-urlencoded" : "application/json", "Auth0-Client": btoa(JSON.stringify(r || xi)) } }, t, c);
@@ -4212,7 +4212,7 @@ class Sa {
4212
4212
  }
4213
4213
  }
4214
4214
  const St = (e) => typeof e == "number", Pa = ["iss", "aud", "exp", "nbf", "iat", "jti", "azp", "nonce", "auth_time", "at_hash", "c_hash", "acr", "amr", "sub_jwk", "cnf", "sip_from_tag", "sip_date", "sip_callid", "sip_cseq_num", "sip_via_branch", "orig", "dest", "mky", "events", "toe", "txn", "rph", "sid", "vot", "vtm"];
4215
- var nt = xs(function(e, t) {
4215
+ var nt = Is(function(e, t) {
4216
4216
  var n = mt && mt.__assign || function() {
4217
4217
  return n = Object.assign || function(a) {
4218
4218
  for (var l, f = 1, d = arguments.length; f < d; f++)
@@ -4259,7 +4259,7 @@ var nt = xs(function(e, t) {
4259
4259
  c(a, "", n(n({}, l), { expires: -1 }));
4260
4260
  };
4261
4261
  });
4262
- ks(nt), nt.encode, nt.parse, nt.getAll;
4262
+ xs(nt), nt.encode, nt.parse, nt.getAll;
4263
4263
  var Ea = nt.get, Ci = nt.set, Oi = nt.remove;
4264
4264
  const pt = { get(e) {
4265
4265
  const t = Ea(e);
@@ -4329,7 +4329,7 @@ class La {
4329
4329
  return `@@auth0spajs@@::${t}`;
4330
4330
  }
4331
4331
  }
4332
- const Ma = { memory: () => new Ti().enclosedCache, localstorage: () => new Ca() }, _o = (e) => Ma[e], bo = (e) => {
4332
+ const Ma = { memory: () => new Ti().enclosedCache, localstorage: () => new Ca() }, bo = (e) => Ma[e], yo = (e) => {
4333
4333
  const { openUrl: t, onRedirect: n } = e, s = je(e, ["openUrl", "onRedirect"]);
4334
4334
  return Object.assign(Object.assign({}, s), { openUrl: t === !1 || t ? t : n });
4335
4335
  }, Un = new va();
@@ -4348,9 +4348,9 @@ class Fa {
4348
4348
  })(), t.cache && t.cacheLocation && console.warn("Both `cache` and `cacheLocation` options have been specified in the Auth0Client configuration; ignoring `cacheLocation` and using `cache`."), t.cache)
4349
4349
  s = t.cache;
4350
4350
  else {
4351
- if (n = t.cacheLocation || "memory", !_o(n))
4351
+ if (n = t.cacheLocation || "memory", !bo(n))
4352
4352
  throw new Error(`Invalid cache location "${n}"`);
4353
- s = _o(n)();
4353
+ s = bo(n)();
4354
4354
  }
4355
4355
  this.httpTimeoutMs = t.httpTimeoutInSeconds ? 1e3 * t.httpTimeoutInSeconds : 1e4, this.cookieStorage = t.legacySameSiteCookie === !1 ? pt : ja, this.orgHintCookieName = `auth0.${this.options.clientId}.organization_hint`, this.isAuthenticatedCookieName = ((r) => `auth0.${this.options.clientId}.is.authenticated`)(), this.sessionCheckExpiryDays = t.sessionCheckExpiryDays || 1;
4356
4356
  const o = t.useCookiesForTransactions ? this.cookieStorage : Aa;
@@ -4373,10 +4373,10 @@ class Fa {
4373
4373
  const p = d.split("."), [m, _, v] = p;
4374
4374
  if (p.length !== 3 || !m || !_ || !v)
4375
4375
  throw new Error("ID token could not be decoded");
4376
- const S = JSON.parse(go(_)), P = { __raw: d }, C = {};
4376
+ const S = JSON.parse(_o(_)), P = { __raw: d }, C = {};
4377
4377
  return Object.keys(S).forEach((M) => {
4378
4378
  P[M] = S[M], Pa.includes(M) || (C[M] = S[M]);
4379
- }), { encoded: { header: m, payload: _, signature: v }, header: JSON.parse(go(m)), claims: P, user: C };
4379
+ }), { encoded: { header: m, payload: _, signature: v }, header: JSON.parse(_o(m)), claims: P, user: C };
4380
4380
  })(r.id_token);
4381
4381
  if (!c.claims.iss)
4382
4382
  throw new Error("Issuer (iss) claim must be a string present in the ID token");
@@ -4448,7 +4448,7 @@ class Fa {
4448
4448
  t ? this.cookieStorage.save(this.orgHintCookieName, t, { daysUntilExpire: this.sessionCheckExpiryDays, cookieDomain: this.options.cookieDomain }) : this.cookieStorage.remove(this.orgHintCookieName, { cookieDomain: this.options.cookieDomain });
4449
4449
  }
4450
4450
  async _prepareAuthorizeUrl(t, n, s) {
4451
- const o = mo(Kn()), i = mo(Kn()), r = Kn(), c = ((f) => {
4451
+ const o = go(Kn()), i = go(Kn()), r = Kn(), c = ((f) => {
4452
4452
  const d = new Uint8Array(f);
4453
4453
  return ((p) => {
4454
4454
  const m = { "+": "-", "/": "_", "=": "" };
@@ -4469,9 +4469,9 @@ class Fa {
4469
4469
  const i = await ((c) => new Promise((a, l) => {
4470
4470
  let f;
4471
4471
  const d = setInterval(() => {
4472
- c.popup && c.popup.closed && (clearInterval(d), clearTimeout(p), window.removeEventListener("message", f, !1), l(new Cs(c.popup)));
4472
+ c.popup && c.popup.closed && (clearInterval(d), clearTimeout(p), window.removeEventListener("message", f, !1), l(new Os(c.popup)));
4473
4473
  }, 1e3), p = setTimeout(() => {
4474
- clearInterval(d), l(new Ts(c.popup)), window.removeEventListener("message", f, !1);
4474
+ clearInterval(d), l(new Cs(c.popup)), window.removeEventListener("message", f, !1);
4475
4475
  }, 1e3 * (c.timeoutInSeconds || 60));
4476
4476
  f = function(m) {
4477
4477
  if (m.data && m.data.type === "authorization_response") {
@@ -4498,7 +4498,7 @@ class Fa {
4498
4498
  }
4499
4499
  async loginWithRedirect(t = {}) {
4500
4500
  var n;
4501
- const s = bo(t), { openUrl: o, fragment: i, appState: r } = s, c = je(s, ["openUrl", "fragment", "appState"]), a = ((n = c.authorizationParams) === null || n === void 0 ? void 0 : n.organization) || this.options.authorizationParams.organization, l = await this._prepareAuthorizeUrl(c.authorizationParams || {}), { url: f } = l, d = je(l, ["url"]);
4501
+ const s = yo(t), { openUrl: o, fragment: i, appState: r } = s, c = je(s, ["openUrl", "fragment", "appState"]), a = ((n = c.authorizationParams) === null || n === void 0 ? void 0 : n.organization) || this.options.authorizationParams.organization, l = await this._prepareAuthorizeUrl(c.authorizationParams || {}), { url: f } = l, d = je(l, ["url"]);
4502
4502
  this.transactionManager.create(Object.assign(Object.assign(Object.assign({}, d), { appState: r }), a && { organization: a }));
4503
4503
  const p = i ? `${f}#${i}` : f;
4504
4504
  o ? await o(p) : window.location.assign(p);
@@ -4515,7 +4515,7 @@ class Fa {
4515
4515
  if (!c)
4516
4516
  throw new ae("missing_transaction", "Invalid state");
4517
4517
  if (this.transactionManager.remove(), i)
4518
- throw new Is(i, r || i, s, c.appState);
4518
+ throw new Ts(i, r || i, s, c.appState);
4519
4519
  if (!c.code_verifier || c.state && c.state !== s)
4520
4520
  throw new ae("state_mismatch", "Invalid state");
4521
4521
  const a = c.organization, l = c.nonce, f = c.redirect_uri;
@@ -4584,7 +4584,7 @@ class Fa {
4584
4584
  return this._url(`/v2/logout?${ts(Object.assign({ clientId: t.clientId }, o))}`) + i;
4585
4585
  }
4586
4586
  async logout(t = {}) {
4587
- const n = bo(t), { openUrl: s } = n, o = je(n, ["openUrl"]);
4587
+ const n = yo(t), { openUrl: s } = n, o = je(n, ["openUrl"]);
4588
4588
  t.clientId === null ? await this.cacheManager.clear() : await this.cacheManager.clear(t.clientId || this.options.clientId), this.cookieStorage.remove(this.orgHintCookieName, { cookieDomain: this.options.cookieDomain }), this.cookieStorage.remove(this.isAuthenticatedCookieName, { cookieDomain: this.options.cookieDomain }), this.userCache.remove("@@user@@");
4589
4589
  const i = this._buildLogoutUrl(o);
4590
4590
  s ? await s(i) : s !== !1 && window.location.assign(i);
@@ -4600,18 +4600,18 @@ class Fa {
4600
4600
  const M = window.document.createElement("iframe");
4601
4601
  M.setAttribute("width", "0"), M.setAttribute("height", "0"), M.style.display = "none";
4602
4602
  const A = () => {
4603
- window.document.body.contains(M) && (window.document.body.removeChild(M), window.removeEventListener("message", Z, !1));
4603
+ window.document.body.contains(M) && (window.document.body.removeChild(M), window.removeEventListener("message", H, !1));
4604
4604
  };
4605
- let Z;
4605
+ let H;
4606
4606
  const ge = setTimeout(() => {
4607
4607
  C(new Wt()), A();
4608
4608
  }, 1e3 * S);
4609
- Z = function(ne) {
4609
+ H = function(ne) {
4610
4610
  if (ne.origin != v || !ne.data || ne.data.type !== "authorization_response")
4611
4611
  return;
4612
4612
  const K = ne.source;
4613
- K && K.close(), ne.data.response.error ? C(ae.fromPayload(ne.data.response)) : P(ne.data.response), clearTimeout(ge), window.removeEventListener("message", Z, !1), setTimeout(A, 2e3);
4614
- }, window.addEventListener("message", Z, !1), window.document.body.appendChild(M), M.setAttribute("src", _);
4613
+ K && K.close(), ne.data.response.error ? C(ae.fromPayload(ne.data.response)) : P(ne.data.response), clearTimeout(ge), window.removeEventListener("message", H, !1), setTimeout(A, 2e3);
4614
+ }, window.addEventListener("message", H, !1), window.document.body.appendChild(M), M.setAttribute("src", _);
4615
4615
  }))(o, this.domainUrl, d);
4616
4616
  if (i !== p.state)
4617
4617
  throw new ae("state_mismatch", "Invalid state");
@@ -4655,7 +4655,7 @@ class Fa {
4655
4655
  }
4656
4656
  async _requestToken(t, n) {
4657
4657
  const { nonceIn: s, organization: o } = n || {}, i = await Ta(Object.assign({ baseUrl: this.domainUrl, client_id: this.options.clientId, auth0Client: this.options.auth0Client, useFormData: this.options.useFormData, timeout: this.httpTimeoutMs }, t), this.worker), r = await this._verifyIdToken(i.id_token, s, o);
4658
- return await this._saveEntryInCache(Object.assign(Object.assign(Object.assign(Object.assign({}, i), { decodedToken: r, scope: t.scope, audience: t.audience || "default" }), i.scope ? { oauthTokenScope: i.scope } : null), { client_id: this.options.clientId })), this.cookieStorage.save(this.isAuthenticatedCookieName, !0, { daysUntilExpire: this.sessionCheckExpiryDays, cookieDomain: this.options.cookieDomain }), this._processOrgHint(o), Object.assign(Object.assign({}, i), { decodedToken: r });
4658
+ return await this._saveEntryInCache(Object.assign(Object.assign(Object.assign(Object.assign({}, i), { decodedToken: r, scope: t.scope, audience: t.audience || "default" }), i.scope ? { oauthTokenScope: i.scope } : null), { client_id: this.options.clientId })), this.cookieStorage.save(this.isAuthenticatedCookieName, !0, { daysUntilExpire: this.sessionCheckExpiryDays, cookieDomain: this.options.cookieDomain }), this._processOrgHint(o || r.claims.org_id), Object.assign(Object.assign({}, i), { decodedToken: r });
4659
4659
  }
4660
4660
  }
4661
4661
  function At(e) {
@@ -4670,7 +4670,7 @@ class Na {
4670
4670
  this.clientOptions = t, this.pluginOptions = n, this.isLoading = Y(!0), this.isAuthenticated = Y(!1), this.user = Y({}), this.idTokenClaims = Y(), this.error = Y(null), s = this, o = ["constructor"], Object.getOwnPropertyNames(Object.getPrototypeOf(s)).filter((i) => !o.includes(i)).forEach((i) => s[i] = s[i].bind(s));
4671
4671
  }
4672
4672
  install(t) {
4673
- this._client = new Fa(Object.assign(Object.assign({}, this.clientOptions), { auth0Client: { name: "auth0-vue", version: "2.3.0" } })), this.__checkSession(t.config.globalProperties.$router), t.config.globalProperties.$auth0 = this, t.provide(ki, this), za.value = this;
4673
+ this._client = new Fa(Object.assign(Object.assign({}, this.clientOptions), { auth0Client: { name: "auth0-vue", version: "2.3.1" } })), this.__checkSession(t.config.globalProperties.$router), t.config.globalProperties.$auth0 = this, t.provide(ki, this), za.value = this;
4674
4674
  }
4675
4675
  async loginWithRedirect(t) {
4676
4676
  return At(t), this._client.loginWithRedirect(t);
@@ -4727,8 +4727,8 @@ function Si(e, t) {
4727
4727
  function Pi() {
4728
4728
  return Ie(ki);
4729
4729
  }
4730
- var Ss = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Approved = 1] = "Approved", e[e.Rejected = 2] = "Rejected", e))(Ss || {});
4731
- const Ps = wa("store", () => {
4730
+ var Ps = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Approved = 1] = "Approved", e[e.Rejected = 2] = "Rejected", e))(Ps || {});
4731
+ const Es = wa("store", () => {
4732
4732
  const e = Ie("postId"), t = Ie("comments"), n = Y(!!t?.length), s = Y(0), o = Y(""), i = Y(f(t || [])), r = Y(0), c = Ie("ApiBaseUrl"), a = Y(!1), l = Y(!1);
4733
4733
  function f(m) {
4734
4734
  return m.map((_) => {
@@ -4757,7 +4757,7 @@ const Ps = wa("store", () => {
4757
4757
  }
4758
4758
  i.value.push(...f(v.data || []));
4759
4759
  const S = v.data?.length || 0;
4760
- return S >= 20 ? l.value = !0 : l.value = !1, r.value += S, n.value = !0, a.value = !1, v;
4760
+ return l.value = S >= 20, r.value += S, n.value = !0, a.value = !1, v;
4761
4761
  }
4762
4762
  function p(m, _, v) {
4763
4763
  const {
@@ -4780,7 +4780,7 @@ const Ps = wa("store", () => {
4780
4780
  name: A || P
4781
4781
  },
4782
4782
  userId: S,
4783
- status: Ss.Pending,
4783
+ status: Ps.Pending,
4784
4784
  isNew: !0
4785
4785
  }), r.value++;
4786
4786
  }
@@ -4810,12 +4810,12 @@ const Ps = wa("store", () => {
4810
4810
  }, Ya = /* @__PURE__ */ _s({
4811
4811
  ...Ja,
4812
4812
  setup(e) {
4813
- const t = Pi(), n = Ps(), s = Ie("ApiBaseUrl"), o = Ie("Auth0Domain"), i = "0.2.2", r = Y(!1), c = Y(""), a = Y("");
4813
+ const t = Pi(), n = Es(), s = Ie("ApiBaseUrl"), o = Ie("Auth0Domain"), i = "0.2.4", r = Y(!1), c = Y(""), a = Y("");
4814
4814
  async function l(p) {
4815
4815
  if (!t.user.value)
4816
4816
  return f();
4817
4817
  if (!p.target.matches(":invalid")) {
4818
- r.value = !0;
4818
+ r.value = !0, a.value = "";
4819
4819
  try {
4820
4820
  const m = await t.getAccessTokenSilently(), _ = await fetch(s + "/api/comment", {
4821
4821
  method: "POST",
@@ -4864,7 +4864,7 @@ const Ps = wa("store", () => {
4864
4864
  [sa, c.value]
4865
4865
  ]),
4866
4866
  B("div", Ha, [
4867
- B("div", Za, "v" + Fe(D(i)), 1),
4867
+ B("div", Za, "v" + Fe(X(i)), 1),
4868
4868
  a.value ? (Q(), ee("div", Va, [
4869
4869
  B("p", null, Fe(a.value), 1)
4870
4870
  ])) : ot("", !0),
@@ -4881,7 +4881,7 @@ const Ps = wa("store", () => {
4881
4881
  }
4882
4882
  });
4883
4883
  var qa = { "": ["<em>", "</em>"], _: ["<strong>", "</strong>"], "*": ["<strong>", "</strong>"], "~": ["<s>", "</s>"], "\n": ["<br />"], " ": ["<br />"], "-": ["<hr />"] };
4884
- function yo(e) {
4884
+ function wo(e) {
4885
4885
  return e.replace(RegExp("^" + (e.match(/^(\t| )+/) || "")[0], "gm"), "");
4886
4886
  }
4887
4887
  function Pt(e) {
@@ -4901,19 +4901,19 @@ function ns(e, t) {
4901
4901
  for (e = e.replace(/^\[(.+?)\]:\s*(.+)$/gm, function(_, v, S) {
4902
4902
  return f[v.toLowerCase()] = S, "";
4903
4903
  }).replace(/^\n+|\n+$/g, ""); o = c.exec(e); )
4904
- s = e.substring(d, o.index), d = c.lastIndex, n = o[0], s.match(/[^\\](\\\\)*\\$/) || ((r = o[3] || o[4]) ? n = '<pre class="code ' + (o[4] ? "poetry" : o[2].toLowerCase()) + '"><code' + (o[2] ? ' class="language-' + o[2].toLowerCase() + '"' : "") + ">" + yo(Pt(r).replace(/^\n+|\n+$/g, "")) + "</code></pre>" : (r = o[6]) ? (r.match(/\./) && (o[5] = o[5].replace(/^\d+/gm, "")), i = ns(yo(o[5].replace(/^\s*[>*+.-]/gm, ""))), r == ">" ? r = "blockquote" : (r = r.match(/\./) ? "ol" : "ul", i = i.replace(/^(.*)(\n|$)/gm, "<li>$1</li>")), n = "<" + r + ">" + i + "</" + r + ">") : o[8] ? n = '<img src="' + Pt(o[8]) + '" alt="' + Pt(o[7]) + '">' : o[10] ? (l = l.replace("<a>", '<a href="' + Pt(o[11] || f[s.toLowerCase()]) + '">'), n = m() + "</a>") : o[9] ? n = "<a>" : o[12] || o[14] ? n = "<" + (r = "h" + (o[14] ? o[14].length : o[13] > "=" ? 1 : 2)) + ">" + ns(o[12] || o[15], f) + "</" + r + ">" : o[16] ? n = "<code>" + Pt(o[16]) + "</code>" : (o[17] || o[1]) && (n = p(o[17] || "--"))), l += s, l += n;
4904
+ s = e.substring(d, o.index), d = c.lastIndex, n = o[0], s.match(/[^\\](\\\\)*\\$/) || ((r = o[3] || o[4]) ? n = '<pre class="code ' + (o[4] ? "poetry" : o[2].toLowerCase()) + '"><code' + (o[2] ? ' class="language-' + o[2].toLowerCase() + '"' : "") + ">" + wo(Pt(r).replace(/^\n+|\n+$/g, "")) + "</code></pre>" : (r = o[6]) ? (r.match(/\./) && (o[5] = o[5].replace(/^\d+/gm, "")), i = ns(wo(o[5].replace(/^\s*[>*+.-]/gm, ""))), r == ">" ? r = "blockquote" : (r = r.match(/\./) ? "ol" : "ul", i = i.replace(/^(.*)(\n|$)/gm, "<li>$1</li>")), n = "<" + r + ">" + i + "</" + r + ">") : o[8] ? n = '<img src="' + Pt(o[8]) + '" alt="' + Pt(o[7]) + '">' : o[10] ? (l = l.replace("<a>", '<a href="' + Pt(o[11] || f[s.toLowerCase()]) + '">'), n = m() + "</a>") : o[9] ? n = "<a>" : o[12] || o[14] ? n = "<" + (r = "h" + (o[14] ? o[14].length : o[13] > "=" ? 1 : 2)) + ">" + ns(o[12] || o[15], f) + "</" + r + ">" : o[16] ? n = "<code>" + Pt(o[16]) + "</code>" : (o[17] || o[1]) && (n = p(o[17] || "--"))), l += s, l += n;
4905
4905
  return (l + e.substring(d) + m()).replace(/^\n+|\n+$/g, "");
4906
4906
  }
4907
4907
  function dn(e) {
4908
4908
  return e < 10 ? `0${e}` : `${e}`;
4909
4909
  }
4910
- function wo(e) {
4910
+ function vo(e) {
4911
4911
  const t = e.getFullYear(), n = e.getMonth() + 1, s = e.getDate();
4912
4912
  return `${t}-${dn(n)}-${dn(s)}`;
4913
4913
  }
4914
4914
  function Ga(e) {
4915
- const t = /* @__PURE__ */ new Date(), n = wo(e);
4916
- if (wo(t) === n) {
4915
+ const t = /* @__PURE__ */ new Date(), n = vo(e);
4916
+ if (vo(t) === n) {
4917
4917
  const s = e.getHours(), o = e.getMinutes();
4918
4918
  return `${dn(s)}:${dn(o)}`;
4919
4919
  }
@@ -4949,13 +4949,13 @@ const el = {
4949
4949
  }, gl = /* @__PURE__ */ _s({
4950
4950
  ...ml,
4951
4951
  setup(e) {
4952
- const t = Ps();
4952
+ const t = Es();
4953
4953
  t.loadComments();
4954
4954
  function n() {
4955
4955
  t.start += 20, t.loadComments();
4956
4956
  }
4957
- return (s, o) => D(t).isLoaded ? (Q(), ee("div", el, [
4958
- (Q(!0), ee(ye, null, sc(D(t).comments, (i) => (Q(), ee("article", {
4957
+ return (s, o) => X(t).isLoaded ? (Q(), ee("div", el, [
4958
+ (Q(!0), ee(ye, null, sc(X(t).comments, (i) => (Q(), ee("article", {
4959
4959
  class: _n(["p-6 text-base bg-base-200 rounded-lg mb-4 dark:bg-gray-900", { "animated flash": i.isNew }]),
4960
4960
  key: i.id,
4961
4961
  onAnimationend: (r) => i.isNew = !1
@@ -4971,7 +4971,7 @@ const el = {
4971
4971
  }, null, 8, il)) : (Q(), ee("div", {
4972
4972
  key: 1,
4973
4973
  class: "avatar-char rounded-full w-6 h-6 mr-2 text-center",
4974
- style: gn({ "background-color": D(Qa)(i.user.name || "Anonymous") })
4974
+ style: gn({ "background-color": X(Qa)(i.user.name || "Anonymous") })
4975
4975
  }, [
4976
4976
  B("span", rl, Fe((i.user.name || "Anonymous").substring(0, 1)), 1)
4977
4977
  ], 4))
@@ -4982,23 +4982,23 @@ const el = {
4982
4982
  pubdate: "",
4983
4983
  datetime: i.createdAt,
4984
4984
  title: i.createdAt
4985
- }, Fe(D(Ga)(i.createdAt)), 9, cl)
4985
+ }, Fe(X(Ga)(i.createdAt)), 9, cl)
4986
4986
  ])
4987
4987
  ]),
4988
4988
  B("p", {
4989
4989
  class: "text-gray-500 dark:text-gray-400",
4990
- innerHTML: D(ns)(i.content)
4990
+ innerHTML: X(ns)(i.content)
4991
4991
  }, null, 8, al),
4992
- i.status === D(Ss).Pending ? (Q(), ee("p", ll, "comments normally got approved within 24 hours")) : ot("", !0)
4992
+ i.status === X(Ps).Pending ? (Q(), ee("p", ll, "comments normally got approved within 24 hours")) : ot("", !0)
4993
4993
  ], 42, tl))), 128)),
4994
- D(t).hasMore ? (Q(), ee("button", {
4994
+ X(t).hasMore ? (Q(), ee("button", {
4995
4995
  key: 0,
4996
4996
  class: "ac-btn ac-btn-neutral ac-btn-sm ac-btn-block",
4997
4997
  type: "button",
4998
4998
  onClick: n,
4999
- disabled: D(t).loadingMore
4999
+ disabled: X(t).loadingMore
5000
5000
  }, [
5001
- D(t).loadingMore ? (Q(), ee("span", fl)) : ot("", !0),
5001
+ X(t).loadingMore ? (Q(), ee("span", fl)) : ot("", !0),
5002
5002
  fn("Load More")
5003
5003
  ], 8, ul)) : ot("", !0)
5004
5004
  ])) : (Q(), ee("div", dl, pl));
@@ -5029,48 +5029,55 @@ const el = {
5029
5029
  }, Pl = { class: "text-base-content" }, El = ["disabled"], jl = ["disabled"], Al = /* @__PURE__ */ _s({
5030
5030
  __name: "App",
5031
5031
  setup(e) {
5032
- const t = Ps(), {
5032
+ const t = Es(), {
5033
5033
  isAuthenticated: n,
5034
5034
  isLoading: s,
5035
5035
  user: o,
5036
5036
  loginWithPopup: i,
5037
5037
  logout: r
5038
- } = Pi();
5039
- function c() {
5038
+ } = Pi(), c = ks(() => {
5039
+ const f = t.total > 20 || t.total === 20 && t.hasMore ? "20+" : t.total, d = new CustomEvent("AwesomeComment:total", {
5040
+ bubbles: !0,
5041
+ cancelable: !0,
5042
+ detail: f
5043
+ });
5044
+ return document.body.dispatchEvent(d), f;
5045
+ });
5046
+ function a() {
5040
5047
  i();
5041
5048
  }
5042
- function a() {
5049
+ function l() {
5043
5050
  r({
5044
5051
  openUrl: !1
5045
5052
  });
5046
5053
  }
5047
- return (l, f) => (Q(), ee("div", _l, [
5048
- D(t).message ? (Q(), ee("div", bl, [
5049
- B("p", null, Fe(D(t).message), 1)
5054
+ return (f, d) => (Q(), ee("div", _l, [
5055
+ X(t).message ? (Q(), ee("div", bl, [
5056
+ B("p", null, Fe(X(t).message), 1)
5050
5057
  ])) : ot("", !0),
5051
5058
  B("header", yl, [
5052
- B("h2", wl, "Discussion (" + Fe(D(t).total > 20 || D(t).total === 20 && D(t).hasMore ? "20+" : D(t).total) + ")", 1),
5053
- D(s) ? (Q(), ee("span", vl)) : (Q(), ee("div", kl, [
5054
- D(n) && D(o) ? (Q(), ee(ye, { key: 0 }, [
5055
- D(o).picture ? (Q(), ee("label", xl, [
5059
+ B("h2", wl, "Discussion (" + Fe(c.value) + ")", 1),
5060
+ X(s) ? (Q(), ee("span", vl)) : (Q(), ee("div", kl, [
5061
+ X(n) && X(o) ? (Q(), ee(ye, { key: 0 }, [
5062
+ X(o).picture ? (Q(), ee("label", xl, [
5056
5063
  B("div", Il, [
5057
5064
  B("img", {
5058
5065
  class: "w-full h-full block",
5059
- alt: D(o).name || D(o).email,
5060
- src: D(o).picture
5066
+ alt: X(o).name || X(o).email,
5067
+ src: X(o).picture
5061
5068
  }, null, 8, Tl)
5062
5069
  ])
5063
- ])) : (Q(), ee("label", Cl, Fe(D(o).email), 1)),
5070
+ ])) : (Q(), ee("label", Cl, Fe(X(o).email), 1)),
5064
5071
  B("ul", Ol, [
5065
- D(o).picture ? (Q(), ee("li", Sl, [
5066
- B("span", Pl, Fe(D(o).email), 1)
5072
+ X(o).picture ? (Q(), ee("li", Sl, [
5073
+ B("span", Pl, Fe(X(o).email), 1)
5067
5074
  ])) : ot("", !0),
5068
5075
  B("li", null, [
5069
5076
  B("button", {
5070
5077
  class: "border-0 bg-base-100",
5071
5078
  type: "button",
5072
- disabled: D(s),
5073
- onClick: a
5079
+ disabled: X(s),
5080
+ onClick: l
5074
5081
  }, "Logout", 8, El)
5075
5082
  ])
5076
5083
  ])
@@ -5078,8 +5085,8 @@ const el = {
5078
5085
  key: 1,
5079
5086
  class: "ac-btn ac-btn-secondary ac-btn-xs",
5080
5087
  type: "button",
5081
- disabled: D(s),
5082
- onClick: c
5088
+ disabled: X(s),
5089
+ onClick: a
5083
5090
  }, "Login", 8, jl))
5084
5091
  ]))
5085
5092
  ]),
@@ -5087,7 +5094,7 @@ const el = {
5087
5094
  Te(gl)
5088
5095
  ]));
5089
5096
  }
5090
- }), vo = [];
5097
+ }), ko = [];
5091
5098
  let Ei = null;
5092
5099
  function Rl(e, t) {
5093
5100
  const n = fa(Al), s = pa(), o = Ei || Si({
@@ -5107,7 +5114,7 @@ const Ll = {
5107
5114
  init(e, t, n, s, o) {
5108
5115
  t ??= this.postId, n ??= this.apiUrl, s ??= this.domain, o ??= this.clientId;
5109
5116
  const i = Rl(s, o);
5110
- i.provide("ApiBaseUrl", n), i.provide("postId", t), i.provide("Auth0Domain", s), i.provide("comments", vo), i.mount(e);
5117
+ i.provide("ApiBaseUrl", n), i.provide("postId", t), i.provide("Auth0Domain", s), i.provide("comments", ko), i.mount(e);
5111
5118
  },
5112
5119
  async preload(e, t, n, s) {
5113
5120
  this.postId = e, this.apiUrl = t, this.domain = n, this.clientId = s, Ei = Si({
@@ -5120,7 +5127,7 @@ const Ll = {
5120
5127
  const o = await fetch(`${t}/api/comments?postId=${e}`);
5121
5128
  o.ok || console.log("[Awesome comment] Failed to preload comments.");
5122
5129
  const i = await o.json();
5123
- i.data && vo.push(...i.data);
5130
+ i.data && ko.push(...i.data);
5124
5131
  }
5125
5132
  };
5126
5133
  export {