@kitbag/router 0.22.4 → 0.22.5

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.
@@ -1,18 +1,18 @@
1
- import { markRaw as _t, defineComponent as He, h as de, inject as Ne, provide as Do, onUnmounted as hn, toRefs as Vo, computed as H, reactive as bt, watch as pe, onServerPrefetch as xo, defineAsyncComponent as Mo, ref as tt, toValue as j, getCurrentInstance as Bo } from "vue";
2
- class jo extends Error {
1
+ import { markRaw as _t, defineComponent as He, h as de, inject as Ne, provide as Vo, onUnmounted as hn, toRefs as xo, computed as H, reactive as bt, watch as pe, onServerPrefetch as Mo, defineAsyncComponent as Bo, ref as tt, toValue as j, getCurrentInstance as jo } from "vue";
2
+ class Ho extends Error {
3
3
  constructor(t) {
4
4
  super(`Child property on meta for ${t} conflicts with the parent meta.`);
5
5
  }
6
6
  }
7
- function Ho(e, t) {
8
- return Zo(e, t), { ...e, ...t };
9
- }
10
7
  function Zo(e, t) {
8
+ return $o(e, t), { ...e, ...t };
9
+ }
10
+ function $o(e, t) {
11
11
  const n = Object.keys(e).find((r) => r in t && typeof t[r] != typeof e[r]);
12
12
  if (n)
13
- throw new jo(n);
13
+ throw new Ho(n);
14
14
  }
15
- class $o extends Error {
15
+ class Go extends Error {
16
16
  /**
17
17
  * Constructs a new DuplicateParamsError instance with a message indicating the problematic parameter.
18
18
  * @param paramName - The name of the parameter that was duplicated.
@@ -21,16 +21,16 @@ class $o extends Error {
21
21
  super(`Invalid Param "${t}": Router does not support multiple params by the same name. All param names must be unique.`);
22
22
  }
23
23
  }
24
- function Go(e, t) {
24
+ function Fo(e, t) {
25
25
  return e.filter((n) => t === n).length;
26
26
  }
27
27
  function nt(...e) {
28
28
  const t = e.flatMap((n) => Array.isArray(n) ? n : Object.keys(n));
29
29
  for (const n of t)
30
- if (Go(t, n) > 1)
31
- throw new $o(n);
30
+ if (Fo(t, n) > 1)
31
+ throw new Go(n);
32
32
  }
33
- function Fo(e, t) {
33
+ function qo(e, t) {
34
34
  return nt(e, t), { ...e, ...t };
35
35
  }
36
36
  function rr(e) {
@@ -51,8 +51,8 @@ function Vn(e) {
51
51
  function ir(e, t) {
52
52
  return {
53
53
  ...t,
54
- meta: Ho(e.meta, t.meta),
55
- state: Fo(e.state, t.state),
54
+ meta: Zo(e.meta, t.meta),
55
+ state: qo(e.state, t.state),
56
56
  hooks: [...e.hooks, ...t.hooks],
57
57
  matches: [...e.matches, t.matched],
58
58
  context: [...e.context, ...t.context],
@@ -62,7 +62,7 @@ function ir(e, t) {
62
62
  function re(e) {
63
63
  return typeof e != "string" ? !1 : /^(https?:\/\/|\/).*/g.test(e);
64
64
  }
65
- function qo(e) {
65
+ function zo(e) {
66
66
  return re(e) ? e : `/${e}`;
67
67
  }
68
68
  const ar = /* @__PURE__ */ Symbol("IS_URL_SYMBOL");
@@ -74,7 +74,7 @@ class Ze extends Error {
74
74
  super("Router not installed");
75
75
  }
76
76
  }
77
- class zo extends Error {
77
+ class Jo extends Error {
78
78
  /**
79
79
  * Constructs a new UseRouteInvalidError instance with a message that specifies both the given and expected route names.
80
80
  * This detailed error message aids in quickly identifying and resolving mismatches in route usage.
@@ -89,9 +89,9 @@ function At() {
89
89
  let e = 0;
90
90
  return () => (++e).toString();
91
91
  }
92
- const Jo = At()();
93
- function Wo(e) {
94
- return e === Jo;
92
+ const Wo = At()();
93
+ function Ko(e) {
94
+ return e === Wo;
95
95
  }
96
96
  const En = At();
97
97
  function cr(e) {
@@ -107,7 +107,7 @@ class Pe {
107
107
  onAfterRouteLeave = /* @__PURE__ */ new Set();
108
108
  onError = /* @__PURE__ */ new Set();
109
109
  }
110
- class Ko extends Error {
110
+ class Yo extends Error {
111
111
  /**
112
112
  * Constructs a new MultipleRouteRedirectsError instance with a message indicating the problematic route redirect.
113
113
  * @param routeName - The name of the route that has multiple redirects.
@@ -121,7 +121,7 @@ function It() {
121
121
  return {
122
122
  redirect: (l, E) => {
123
123
  if (e.redirects.size > 0)
124
- throw new Ko(l.name);
124
+ throw new Yo(l.name);
125
125
  const c = (g, { replace: f }) => {
126
126
  f(l.name, E?.(g.params));
127
127
  };
@@ -149,11 +149,11 @@ class gn extends Error {
149
149
  }
150
150
  }
151
151
  const rt = "[", kt = "]";
152
- function Yo(e) {
152
+ function Xo(e) {
153
153
  return e !== String && e !== Boolean && e !== Number && e !== Date;
154
154
  }
155
- function Xo(e) {
156
- return typeof e == "function" && Yo(e);
155
+ function Qo(e) {
156
+ return typeof e == "function" && Xo(e);
157
157
  }
158
158
  function Ct(e) {
159
159
  return typeof e == "object" && "get" in e && typeof e.get == "function" && "set" in e && typeof e.set == "function";
@@ -161,18 +161,18 @@ function Ct(e) {
161
161
  function ur(e) {
162
162
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean";
163
163
  }
164
- function Qo(e, t) {
164
+ function es(e, t) {
165
165
  return Ct(e) ? { ...e, defaultValue: t ?? e.defaultValue } : {
166
166
  get: (n) => we(n, { param: e }),
167
167
  set: (n) => ue(n, { param: e }),
168
168
  defaultValue: t
169
169
  };
170
170
  }
171
- function es(e) {
171
+ function fr(e) {
172
172
  return Ct(e) && e.defaultValue !== void 0;
173
173
  }
174
174
  function Kc(e, t) {
175
- return Qo(e, t);
175
+ return es(e, t);
176
176
  }
177
177
  function ts(e) {
178
178
  return e !== void 0;
@@ -271,10 +271,10 @@ async function os() {
271
271
  throw new Error("Failed to initialize Zod");
272
272
  }
273
273
  }
274
- function fr(e) {
274
+ function lr(e) {
275
275
  return O ? e instanceof O.ZodType : !1;
276
276
  }
277
- function lr(e) {
277
+ function dr(e) {
278
278
  return {
279
279
  get: (t, { invalid: n }) => {
280
280
  try {
@@ -424,10 +424,10 @@ function C(e, t) {
424
424
  function is(e) {
425
425
  return Le(e) && "type" in e && typeof e.type == "string" && "~standard" in e && Le(e["~standard"]) && "vendor" in e["~standard"] && e["~standard"].vendor === "valibot";
426
426
  }
427
- function dr(e) {
427
+ function pr(e) {
428
428
  return is(e);
429
429
  }
430
- function pr(e) {
430
+ function hr(e) {
431
431
  return {
432
432
  get: (t, { invalid: n }) => {
433
433
  try {
@@ -554,14 +554,14 @@ function en(e, t) {
554
554
  function cs(e, t) {
555
555
  return e[t] ?? String;
556
556
  }
557
- function hr(e) {
557
+ function Er(e) {
558
558
  return {
559
559
  invalid: (t) => {
560
560
  throw new gn({ ...e, message: t });
561
561
  }
562
562
  };
563
563
  }
564
- const Er = {
564
+ const gr = {
565
565
  get: (e) => e,
566
566
  set: (e, { invalid: t }) => {
567
567
  if (typeof e != "string")
@@ -593,7 +593,7 @@ const Er = {
593
593
  throw t(`Expected number value, received ${JSON.stringify(e)}`);
594
594
  return e.toString();
595
595
  }
596
- }, gr = {
596
+ }, _r = {
597
597
  get: (e, { invalid: t }) => {
598
598
  const n = new Date(e);
599
599
  if (isNaN(n.getTime()))
@@ -605,7 +605,7 @@ const Er = {
605
605
  throw t(`Expected date value, received ${JSON.stringify(e)}`);
606
606
  return e.toISOString();
607
607
  }
608
- }, _r = {
608
+ }, mr = {
609
609
  get: (e, { invalid: t }) => {
610
610
  try {
611
611
  return JSON.parse(e);
@@ -624,7 +624,7 @@ const Er = {
624
624
  function us(e, t, n) {
625
625
  switch (typeof t) {
626
626
  case "string":
627
- return Er.get(e, n) === t;
627
+ return gr.get(e, n) === t;
628
628
  case "number":
629
629
  return yn.get(e, n) === t;
630
630
  case "boolean":
@@ -634,25 +634,25 @@ function us(e, t, n) {
634
634
  }
635
635
  }
636
636
  function we(e, { param: t = String, isOptional: n = !1 } = {}) {
637
- const r = hr({ param: t, value: e, isGetter: !0 });
637
+ const r = Er({ param: t, value: e, isGetter: !0 });
638
638
  if (e === void 0 || !ae(e)) {
639
- if (es(t))
639
+ if (fr(t))
640
640
  return t.defaultValue;
641
641
  if (n)
642
642
  return;
643
643
  throw r.invalid(`Param is not optional, received ${JSON.stringify(e)}`);
644
644
  }
645
645
  if (t === String)
646
- return Er.get(e, r);
646
+ return gr.get(e, r);
647
647
  if (t === Boolean)
648
648
  return mn.get(e, r);
649
649
  if (t === Number)
650
650
  return yn.get(e, r);
651
651
  if (t === Date)
652
- return gr.get(e, r);
653
- if (t === JSON)
654
652
  return _r.get(e, r);
655
- if (Xo(t))
653
+ if (t === JSON)
654
+ return mr.get(e, r);
655
+ if (Qo(t))
656
656
  return t(e, r);
657
657
  if (Ct(t))
658
658
  return t.get(e, r);
@@ -666,7 +666,7 @@ function we(e, { param: t = String, isOptional: n = !1 } = {}) {
666
666
  return t;
667
667
  throw r.invalid(`Expected value to be ${t}, received ${JSON.stringify(e)}`);
668
668
  }
669
- return fr(t) ? lr(t).get(e, r) : dr(t) ? pr(t).get(e, r) : e;
669
+ return lr(t) ? dr(t).get(e, r) : pr(t) ? hr(t).get(e, r) : e;
670
670
  }
671
671
  function tn(e, t) {
672
672
  try {
@@ -687,7 +687,7 @@ function fs(e, t) {
687
687
  }
688
688
  }
689
689
  function ue(e, { param: t = String, isOptional: n = !1 } = {}) {
690
- const r = hr({ param: t, value: e, isSetter: !0 });
690
+ const r = Er({ param: t, value: e, isSetter: !0 });
691
691
  if (e === void 0) {
692
692
  if (n)
693
693
  return "";
@@ -698,9 +698,9 @@ function ue(e, { param: t = String, isOptional: n = !1 } = {}) {
698
698
  if (t === Number)
699
699
  return yn.set(e, r);
700
700
  if (t === Date)
701
- return gr.set(e, r);
702
- if (t === JSON)
703
701
  return _r.set(e, r);
702
+ if (t === JSON)
703
+ return mr.set(e, r);
704
704
  if (Ct(t))
705
705
  return t.set(e, r);
706
706
  if (ur(t)) {
@@ -708,10 +708,10 @@ function ue(e, { param: t = String, isOptional: n = !1 } = {}) {
708
708
  throw r.invalid(`Expected value to be literal ${t}, received ${JSON.stringify(e)}`);
709
709
  return e.toString();
710
710
  }
711
- if (fr(t))
712
- return lr(t).set(e, r);
713
- if (dr(t))
714
- return pr(t).set(e, r);
711
+ if (lr(t))
712
+ return dr(t).set(e, r);
713
+ if (pr(t))
714
+ return hr(t).set(e, r);
715
715
  try {
716
716
  return e.toString();
717
717
  } catch {
@@ -749,62 +749,62 @@ function Rs(e) {
749
749
  }
750
750
  function Ss(e) {
751
751
  const t = new URLSearchParams(e);
752
- return Array.from(t.entries()).filter(([, n]) => !yr(n)).map(([n, r]) => {
752
+ return Array.from(t.entries()).filter(([, n]) => !Rr(n)).map(([n, r]) => {
753
753
  const o = Lt(r);
754
754
  return new RegExp(`${Rn(n)}=${o}(&|$)`, "i");
755
755
  });
756
756
  }
757
757
  function Lt(e) {
758
- return _s(e, new RegExp(Ut, "g")).map((t) => t.startsWith(rt) ? mr(t) : Rn(t)).join("");
758
+ return _s(e, new RegExp(Ut, "g")).map((t) => t.startsWith(rt) ? yr(t) : Rn(t)).join("");
759
759
  }
760
- function mr(e) {
761
- return e.replace(new RegExp(Ut, "g"), (t) => Rr(t) ? hs : ps);
760
+ function yr(e) {
761
+ return e.replace(new RegExp(Ut, "g"), (t) => Sr(t) ? hs : ps);
762
762
  }
763
763
  function Os(e, t) {
764
- const n = Sr(t), { isGreedy: r = !1 } = e.params[t] ?? {}, o = r ? gs : Es;
764
+ const n = Or(t), { isGreedy: r = !1 } = e.params[t] ?? {}, o = r ? gs : Es;
765
765
  return e.value.replace(n, o);
766
766
  }
767
- function yr(e) {
767
+ function Rr(e) {
768
768
  return new RegExp(ls, "g").test(e);
769
769
  }
770
- function Rr(e) {
770
+ function Sr(e) {
771
771
  return new RegExp(ds, "g").test(e);
772
772
  }
773
773
  function Dt(e) {
774
- const [t] = Or(e, new RegExp(Ut, "g"));
774
+ const [t] = Tr(e, new RegExp(Ut, "g"));
775
775
  return t;
776
776
  }
777
- function Sr(e) {
777
+ function Or(e) {
778
778
  return new RegExp(`\\${rt}\\??${e}\\*?\\${kt}`, "g");
779
779
  }
780
- function Or(e, t) {
780
+ function Tr(e, t) {
781
781
  return Array.from(e.matchAll(t)).flatMap(([, ...r]) => r.map((o) => ae(o) ? o : ""));
782
782
  }
783
783
  function Ts(e = "", t = {}) {
784
784
  return ae(e) ? Array.from(e.matchAll(new RegExp(Ut, "g"))).reduce((r, [o, s]) => {
785
- const i = Dt(o), a = yr(o), u = Rr(o);
785
+ const i = Dt(o);
786
786
  if (!i)
787
787
  return r;
788
- const l = cs(t, i);
789
- return nt([i], r), r[s] = { param: l, isOptional: a, isGreedy: u }, r;
788
+ const a = cs(t, i), u = Rr(o) || fr(a), l = Sr(o);
789
+ return nt([i], r), r[s] = { param: a, isOptional: u, isGreedy: l }, r;
790
790
  }, {}) : {};
791
791
  }
792
- const Tr = /* @__PURE__ */ Symbol("UrlPartsWithParams");
793
- function wr(e) {
794
- return Le(e) && e[Tr] === !0;
792
+ const wr = /* @__PURE__ */ Symbol("UrlPartsWithParams");
793
+ function vr(e) {
794
+ return Le(e) && e[wr] === !0;
795
795
  }
796
796
  function oe(e) {
797
- return e === void 0 ? nn() : wr(e) ? e : nn(e, {});
797
+ return e === void 0 ? nn() : vr(e) ? e : nn(e, {});
798
798
  }
799
799
  function nn(e, t) {
800
800
  return {
801
801
  value: e ?? "",
802
802
  params: Ts(e, t),
803
- [Tr]: !0
803
+ [wr]: !0
804
804
  };
805
805
  }
806
806
  function Vt(e) {
807
- if (typeof e == "string" || typeof e > "u" || wr(e))
807
+ if (typeof e == "string" || typeof e > "u" || vr(e))
808
808
  return oe(e);
809
809
  const t = Array.isArray(e) ? e : Object.entries(e), n = [], r = {};
810
810
  for (const [o, s] of t)
@@ -817,14 +817,14 @@ function Vt(e) {
817
817
  return nn(n.join("&"), r);
818
818
  }
819
819
  function ws(e, t, n) {
820
- const r = Os(t, n), o = mr(r), [s] = Or(e, new RegExp(o, "g"));
820
+ const r = Os(t, n), o = yr(r), [s] = Tr(e, new RegExp(o, "g"));
821
821
  return s;
822
822
  }
823
823
  function vs(e, t, n, r) {
824
824
  const o = ue(r, t.params[n]);
825
- return e.replace(Sr(n), o);
825
+ return e.replace(Or(n), o);
826
826
  }
827
- function vr(...e) {
827
+ function Nr(...e) {
828
828
  const t = new URLSearchParams();
829
829
  for (const n of e) {
830
830
  const r = new URLSearchParams(n);
@@ -836,7 +836,7 @@ function vr(...e) {
836
836
  const ht = "https://internal.invalid";
837
837
  function Sn(e) {
838
838
  const t = new URL(e.host ?? ht, ht);
839
- return t.pathname = e.path ?? "", t.search = new URLSearchParams(e.query).toString(), t.hash = e.hash ?? "", qo(t.toString().replace(new RegExp(`^${ht}/*`), "/"));
839
+ return t.pathname = e.path ?? "", t.search = new URLSearchParams(e.query).toString(), t.hash = e.hash ?? "", zo(t.toString().replace(new RegExp(`^${ht}/*`), "/"));
840
840
  }
841
841
  function fe(e) {
842
842
  return !e.startsWith("http") ? Ps(e) : Ns(e);
@@ -850,7 +850,7 @@ function We(e, t) {
850
850
  return {
851
851
  host: ae(t.host) ? t.host : e.host,
852
852
  path: ae(t.path) ? t.path : e.path ?? "",
853
- query: vr(n, e.query),
853
+ query: Nr(n, e.query),
854
854
  hash: ae(t.hash) ? t.hash : e.hash ?? ""
855
855
  };
856
856
  }
@@ -1009,7 +1009,7 @@ class xn extends Error {
1009
1009
  function Mn(e) {
1010
1010
  return "redirect" in e;
1011
1011
  }
1012
- function Nr({ getRoute: e }) {
1012
+ function Pr({ getRoute: e }) {
1013
1013
  return {
1014
1014
  redirectTo: (...[r, o]) => {
1015
1015
  const s = e();
@@ -1069,7 +1069,7 @@ function Cs(e) {
1069
1069
  return Te(e);
1070
1070
  }
1071
1071
  function Ve(e, t) {
1072
- const n = En(), r = cr(e.name), o = oe(e.path), s = Vt(e.query), i = oe(e.hash), a = e.meta ?? {}, u = e.state ?? {}, l = e.context ?? [], { store: E, ...c } = It(), g = _t({ id: n, meta: a, state: u, ...e, props: t }), f = Nr({
1072
+ const n = En(), r = cr(e.name), o = oe(e.path), s = Vt(e.query), i = oe(e.hash), a = e.meta ?? {}, u = e.state ?? {}, l = e.context ?? [], { store: E, ...c } = It(), g = _t({ ...e, id: n, meta: a, state: u, props: t, name: r }), f = Pr({
1073
1073
  getRoute: () => y
1074
1074
  }), d = De({
1075
1075
  path: o,
@@ -1103,21 +1103,21 @@ function Ve(e, t) {
1103
1103
  }
1104
1104
  return y;
1105
1105
  }
1106
- function Pr(e) {
1106
+ function br(e) {
1107
1107
  return He(() => () => de("h1", e), {
1108
1108
  name: e,
1109
1109
  props: []
1110
1110
  });
1111
1111
  }
1112
1112
  function Yc(e) {
1113
- const t = e.component ?? Pr(e.type);
1113
+ const t = e.component ?? br(e.type);
1114
1114
  return {
1115
1115
  type: e.type,
1116
1116
  component: t
1117
1117
  };
1118
1118
  }
1119
1119
  function Xc(e) {
1120
- const t = En(), n = cr(e.name), r = oe(e.path), o = Vt(e.query), s = oe(e.hash), i = e.meta ?? {}, a = oe(e.host), u = e.context ?? [], { store: l, ...E } = It(), c = Nr({
1120
+ const t = En(), n = cr(e.name), r = oe(e.path), o = Vt(e.query), s = oe(e.hash), i = e.meta ?? {}, a = oe(e.host), u = e.context ?? [], { store: l, ...E } = It(), c = Pr({
1121
1121
  getRoute: () => d
1122
1122
  }), g = _t({ id: t, meta: {}, state: {}, ...e }), f = De({
1123
1123
  host: a,
@@ -1163,11 +1163,11 @@ function ot() {
1163
1163
  };
1164
1164
  }
1165
1165
  const Us = ot();
1166
- function br(e) {
1166
+ function Ar(e) {
1167
1167
  const t = Us(e);
1168
1168
  return ({ increment: n = !1 } = {}) => {
1169
1169
  const r = Ne(t, 0);
1170
- return n && Do(t, r + 1), r;
1170
+ return n && Vo(t, r + 1), r;
1171
1171
  };
1172
1172
  }
1173
1173
  const st = (e, t, n) => {
@@ -1230,7 +1230,7 @@ class ye extends xt {
1230
1230
  super("Uncaught ContextRejectionError"), this.response = { status: "REJECT", type: t };
1231
1231
  }
1232
1232
  }
1233
- class Ar extends xt {
1233
+ class Ir extends xt {
1234
1234
  response;
1235
1235
  constructor() {
1236
1236
  super("Uncaught ContextAbortError"), this.response = { status: "ABORT" };
@@ -1252,7 +1252,7 @@ function Ms(e, t, n) {
1252
1252
  it(e, t, s) && n.onAfterRouteLeave.forEach((i) => r.onAfterRouteLeave.add(i));
1253
1253
  }), r;
1254
1254
  }
1255
- function Ir() {
1255
+ function kr() {
1256
1256
  let e = null;
1257
1257
  function t(r) {
1258
1258
  e = r;
@@ -1292,12 +1292,12 @@ function ze({ to: e }) {
1292
1292
  };
1293
1293
  return n(e.name, l, u);
1294
1294
  }, abort: () => {
1295
- throw new Ar();
1295
+ throw new Ir();
1296
1296
  } };
1297
1297
  }
1298
- const kr = ot();
1298
+ const Cr = ot();
1299
1299
  function Bs() {
1300
- const { setVueApp: e, runWithContext: t } = Ir(), { store: n, ...r } = It(), o = new Pe(), s = async ({ to: E, from: c }) => {
1300
+ const { setVueApp: e, runWithContext: t } = kr(), { store: n, ...r } = It(), o = new Pe(), s = async ({ to: E, from: c }) => {
1301
1301
  const { reject: g, push: f, replace: d, update: y, abort: _ } = ze({ to: E }), m = Ds(E, c), T = xs(E, c, n), h = [
1302
1302
  ...m.redirects,
1303
1303
  ...T.onBeforeRouteEnter,
@@ -1321,7 +1321,7 @@ function Bs() {
1321
1321
  })));
1322
1322
  await Promise.all(p);
1323
1323
  } catch (p) {
1324
- if (p instanceof ce || p instanceof ye || p instanceof Ar)
1324
+ if (p instanceof ce || p instanceof ye || p instanceof Ir)
1325
1325
  return p.response;
1326
1326
  try {
1327
1327
  a(p, { to: E, from: c, source: "hook" });
@@ -1403,7 +1403,7 @@ function Bs() {
1403
1403
  };
1404
1404
  }
1405
1405
  function js(e) {
1406
- const t = kr(e);
1406
+ const t = Cr(e);
1407
1407
  return () => {
1408
1408
  const n = Ne(t);
1409
1409
  if (!n)
@@ -1412,7 +1412,7 @@ function js(e) {
1412
1412
  };
1413
1413
  }
1414
1414
  function lt(e, t) {
1415
- const n = br(e), r = js(e);
1415
+ const n = Ar(e), r = js(e);
1416
1416
  return (o) => {
1417
1417
  const s = n(), a = r().addComponentHook({ lifecycle: t, hook: o, depth: s - 1 });
1418
1418
  return hn(a), a;
@@ -1427,9 +1427,9 @@ function Hs(e) {
1427
1427
  onAfterRouteUpdate: o
1428
1428
  };
1429
1429
  }
1430
- const Cr = ot();
1430
+ const Ur = ot();
1431
1431
  function Zs(e) {
1432
- const t = Cr(e);
1432
+ const t = Ur(e);
1433
1433
  return () => {
1434
1434
  const n = Ne(t);
1435
1435
  if (!n)
@@ -1437,9 +1437,9 @@ function Zs(e) {
1437
1437
  return n;
1438
1438
  };
1439
1439
  }
1440
- const Ur = ot();
1441
- function Lr(e) {
1442
- const t = Ur(e);
1440
+ const Lr = ot();
1441
+ function Dr(e) {
1442
+ const t = Lr(e);
1443
1443
  return () => {
1444
1444
  const n = Ne(t);
1445
1445
  if (!n)
@@ -1455,9 +1455,9 @@ function ct(e) {
1455
1455
  return t;
1456
1456
  };
1457
1457
  }
1458
- const Dr = /* @__PURE__ */ Symbol("isRouterRouteSymbol");
1458
+ const Vr = /* @__PURE__ */ Symbol("isRouterRouteSymbol");
1459
1459
  function $s(e, t) {
1460
- return typeof t == "object" && t !== null && Dr in t && e in t;
1460
+ return typeof t == "object" && t !== null && Vr in t && e in t;
1461
1461
  }
1462
1462
  function Gs(e, t, n) {
1463
1463
  function r(h, p, w) {
@@ -1483,7 +1483,7 @@ function Gs(e, t, n) {
1483
1483
  }, i = (...h) => {
1484
1484
  const p = new URLSearchParams(t.query);
1485
1485
  p.delete(...h), r({}, { query: p });
1486
- }, { id: a, matched: u, matches: l, hooks: E, name: c, hash: g, href: f } = Vo(t), d = new Proxy({}, {
1486
+ }, { id: a, matched: u, matches: l, hooks: E, name: c, hash: g, href: f } = xo(t), d = new Proxy({}, {
1487
1487
  get(h, p, w) {
1488
1488
  return Reflect.get(t.params, p, w);
1489
1489
  },
@@ -1547,7 +1547,7 @@ function Gs(e, t, n) {
1547
1547
  name: c,
1548
1548
  href: f,
1549
1549
  update: r,
1550
- [Dr]: !0,
1550
+ [Vr]: !0,
1551
1551
  [e]: !0
1552
1552
  });
1553
1553
  }
@@ -1562,16 +1562,16 @@ function Mt(e) {
1562
1562
  if (!r)
1563
1563
  return;
1564
1564
  if (!n(s.route, r, o))
1565
- throw new zo(r, s.route.name);
1565
+ throw new Jo(r, s.route.name);
1566
1566
  }
1567
1567
  return pe(s.route, i, { immediate: !0, deep: !0 }), s.route;
1568
1568
  };
1569
1569
  }
1570
1570
  function wn(e) {
1571
- const t = Mt(e), n = ct(e), r = Lr(e), o = br(e), s = Zs(e);
1571
+ const t = Mt(e), n = ct(e), r = Dr(e), o = Ar(e), s = Zs(e);
1572
1572
  return He((i, a) => {
1573
1573
  const u = t(), l = n(), E = r(), c = o({ increment: !0 });
1574
- xo(async () => {
1574
+ Mo(async () => {
1575
1575
  await l.start();
1576
1576
  });
1577
1577
  const { getRouteComponents: g } = s(), f = H(() => {
@@ -1597,9 +1597,9 @@ function wn(e) {
1597
1597
  props: ["name"]
1598
1598
  });
1599
1599
  }
1600
- const Vr = ot();
1601
- function xr(e) {
1602
- const t = Vr(e);
1600
+ const xr = ot();
1601
+ function Mr(e) {
1602
+ const t = xr(e);
1603
1603
  return () => {
1604
1604
  const n = Ne(t);
1605
1605
  if (!n)
@@ -1614,7 +1614,7 @@ const Fs = "lazy", qs = {
1614
1614
  function dt(e) {
1615
1615
  return ["eager", "lazy", "intent"].includes(e);
1616
1616
  }
1617
- function Mr({ routerPrefetch: e, routePrefetch: t, linkPrefetch: n }, r) {
1617
+ function Br({ routerPrefetch: e, routePrefetch: t, linkPrefetch: n }, r) {
1618
1618
  const o = zt(n, r), s = zt(t, r), i = zt(e, r), a = [
1619
1619
  o,
1620
1620
  s,
@@ -1627,15 +1627,15 @@ function Mr({ routerPrefetch: e, routePrefetch: t, linkPrefetch: n }, r) {
1627
1627
  function zt(e, t) {
1628
1628
  return Le(e) ? e[t] : e;
1629
1629
  }
1630
- const zs = Mo(() => new Promise((e) => {
1630
+ const zs = Bo(() => new Promise((e) => {
1631
1631
  e({ default: { template: "foo" } });
1632
1632
  }));
1633
1633
  function Hn(e) {
1634
1634
  return e.name === zs.name && "__asyncLoader" in e;
1635
1635
  }
1636
- const Br = /* @__PURE__ */ Symbol("visibilityObserver");
1636
+ const jr = /* @__PURE__ */ Symbol("visibilityObserver");
1637
1637
  function Js(e) {
1638
- const t = Ne(Br);
1638
+ const t = Ne(jr);
1639
1639
  if (!t)
1640
1640
  throw new Ze();
1641
1641
  return pe(e, (r, o) => {
@@ -1654,7 +1654,7 @@ function Zn(e, t, n) {
1654
1654
  });
1655
1655
  }
1656
1656
  function Ws(e) {
1657
- const t = xr(e);
1657
+ const t = Mr(e);
1658
1658
  return (n) => {
1659
1659
  const r = /* @__PURE__ */ new Map(), o = tt(), { getPrefetchProps: s, setPrefetchProps: i } = t(), { isElementVisible: a } = Js(o), u = () => {
1660
1660
  const c = Array.from(r.values()).reduce((g, f) => (Object.assign(g, f), g), {});
@@ -1681,7 +1681,7 @@ function Ws(e) {
1681
1681
  }
1682
1682
  function Ks(e, t, n) {
1683
1683
  t.matches.forEach((r) => {
1684
- Mr({
1684
+ Br({
1685
1685
  ...n,
1686
1686
  routePrefetch: r.prefetch
1687
1687
  }, "components") === e && (or(r) && Hn(r.component) && r.component.__asyncLoader(), sr(r) && Object.values(r.components).forEach((s) => {
@@ -1689,7 +1689,7 @@ function Ks(e, t, n) {
1689
1689
  }));
1690
1690
  });
1691
1691
  }
1692
- function jr(e) {
1692
+ function Hr(e) {
1693
1693
  const t = ct(e), n = Ws(e), r = Tn(e);
1694
1694
  return (o, s = {}, i = {}) => {
1695
1695
  const a = t(), u = H(() => {
@@ -1713,7 +1713,7 @@ function jr(e) {
1713
1713
  m();
1714
1714
  const w = {
1715
1715
  replace: p?.replace ?? y.value.replace,
1716
- query: vr(y.value.query, p?.query),
1716
+ query: Nr(y.value.query, p?.query),
1717
1717
  hash: p?.hash ?? y.value.hash,
1718
1718
  state: { ...y.value.state, ...p?.state }
1719
1719
  }, b = j(o);
@@ -1733,8 +1733,8 @@ function jr(e) {
1733
1733
  };
1734
1734
  };
1735
1735
  }
1736
- function Hr(e) {
1737
- const t = ct(e), n = jr(e);
1736
+ function Zr(e) {
1737
+ const t = ct(e), n = Hr(e);
1738
1738
  return He((r, o) => {
1739
1739
  const s = t(), i = H(() => m(r.to)), a = H(() => T(r.to)), u = H(() => {
1740
1740
  const { to: p, ...w } = r;
@@ -1823,7 +1823,7 @@ function Xs(e) {
1823
1823
  onBeforeRouteUpdate: r,
1824
1824
  onAfterRouteLeave: o,
1825
1825
  onAfterRouteUpdate: s
1826
- } = Hs(t), i = Tn(t), a = wn(t), u = Hr(t), l = Mt(t), E = ct(t), c = Ys(t), g = jr(t), f = Lr(t);
1826
+ } = Hs(t), i = Tn(t), a = wn(t), u = Zr(t), l = Mt(t), E = ct(t), c = Ys(t), g = Hr(t), f = Dr(t);
1827
1827
  return {
1828
1828
  onBeforeRouteLeave: n,
1829
1829
  onBeforeRouteUpdate: r,
@@ -1928,7 +1928,7 @@ function Re(e, t) {
1928
1928
  }
1929
1929
  }
1930
1930
  }
1931
- var Rt = "beforeunload", ni = "hashchange", Zr = "popstate";
1931
+ var Rt = "beforeunload", ni = "hashchange", $r = "popstate";
1932
1932
  function $n(e) {
1933
1933
  e === void 0 && (e = {});
1934
1934
  var t = e, n = t.window, r = n === void 0 ? document.defaultView : n, o = r.history;
@@ -1970,7 +1970,7 @@ function $n(e) {
1970
1970
  T(v);
1971
1971
  }
1972
1972
  }
1973
- r.addEventListener(Zr, a);
1973
+ r.addEventListener($r, a);
1974
1974
  var u = K.Pop, l = s(), E = l[0], c = l[1], g = Me(), f = Me();
1975
1975
  E == null && (E = 0, o.replaceState(he({}, o.state, {
1976
1976
  idx: E
@@ -2108,7 +2108,7 @@ function ri(e) {
2108
2108
  h(R);
2109
2109
  }
2110
2110
  }
2111
- r.addEventListener(Zr, a), r.addEventListener(ni, function() {
2111
+ r.addEventListener($r, a), r.addEventListener(ni, function() {
2112
2112
  var R = s(), N = R[1];
2113
2113
  Se(N) !== Se(c) && a();
2114
2114
  });
@@ -2374,9 +2374,9 @@ function qn(e) {
2374
2374
  }
2375
2375
  }
2376
2376
  function ii() {
2377
- const { setVueApp: e, runWithContext: t } = Ir(), n = bt(/* @__PURE__ */ new Map()), r = (g, f, d) => {
2377
+ const { setVueApp: e, runWithContext: t } = kr(), n = bt(/* @__PURE__ */ new Map()), r = (g, f, d) => {
2378
2378
  const { push: y, replace: _, reject: m, update: T } = ze({ to: f });
2379
- return f.matches.filter((h) => Mr({ ...d, routePrefetch: h.prefetch }, "props") === g).flatMap((h) => E(h)).reduce((h, { id: p, name: w, props: b }) => {
2379
+ return f.matches.filter((h) => Br({ ...d, routePrefetch: h.prefetch }, "props") === g).flatMap((h) => E(h)).reduce((h, { id: p, name: w, props: b }) => {
2380
2380
  if (!b)
2381
2381
  return h;
2382
2382
  const v = l(p, w, f), R = t(() => qn(() => b(f, {
@@ -2523,7 +2523,7 @@ function ci(e = "auto") {
2523
2523
  throw new Error(`Switch is not exhaustive for mode: ${t}`);
2524
2524
  }
2525
2525
  }
2526
- function $r(e) {
2526
+ function Gr(e) {
2527
2527
  const t = new URLSearchParams(e);
2528
2528
  return {
2529
2529
  get: (...n) => t.get(...n),
@@ -2555,7 +2555,7 @@ function $r(e) {
2555
2555
  function ui(e) {
2556
2556
  const t = (s) => {
2557
2557
  const i = e.find((a) => a.type === s);
2558
- return _t(i?.component ?? Pr(s));
2558
+ return _t(i?.component ?? br(s));
2559
2559
  }, n = (s) => {
2560
2560
  const i = _t(t(s)), a = {
2561
2561
  id: En(),
@@ -2569,7 +2569,7 @@ function ui(e) {
2569
2569
  matches: [a],
2570
2570
  hooks: [],
2571
2571
  name: s,
2572
- query: $r(""),
2572
+ query: Gr(""),
2573
2573
  params: {},
2574
2574
  state: {},
2575
2575
  href: "/",
@@ -2601,12 +2601,12 @@ function li(e) {
2601
2601
  return window.location.toString();
2602
2602
  throw new fi();
2603
2603
  }
2604
- function Gr(e) {
2604
+ function Fr(e) {
2605
2605
  return !!e && typeof e == "object";
2606
2606
  }
2607
2607
  const Tt = { isOptional: !0, isGreedy: !1 };
2608
2608
  function di(e, t, n) {
2609
- if (Gr(e) && t in e) {
2609
+ if (Fr(e) && t in e) {
2610
2610
  const r = e[t];
2611
2611
  return typeof r == "string" ? we(r, { param: n, ...Tt }) : r;
2612
2612
  }
@@ -2621,7 +2621,7 @@ function pi(e, t) {
2621
2621
  return n;
2622
2622
  }
2623
2623
  function hi(e, t, n) {
2624
- if (Gr(e) && t in e) {
2624
+ if (Fr(e) && t in e) {
2625
2625
  const r = e[t];
2626
2626
  return ue(r, { param: n, ...Tt });
2627
2627
  }
@@ -2662,7 +2662,7 @@ class gi extends Error {
2662
2662
  super(`Route not found: "${t}"`);
2663
2663
  }
2664
2664
  }
2665
- function Fr(e, t = {}, n = {}) {
2665
+ function qr(e, t = {}, n = {}) {
2666
2666
  const r = e.stringify(t), o = We(r, {
2667
2667
  query: new URLSearchParams(n.query),
2668
2668
  hash: n.hash
@@ -2673,7 +2673,7 @@ function Fr(e, t = {}, n = {}) {
2673
2673
  matches: e.matches,
2674
2674
  name: e.name,
2675
2675
  hooks: e.hooks,
2676
- query: $r(s),
2676
+ query: Gr(s),
2677
2677
  state: pi(e.state, n.state),
2678
2678
  hash: i,
2679
2679
  params: t,
@@ -2689,7 +2689,7 @@ class _i extends Error {
2689
2689
  super(`Invalid Name "${t}": Router does not support multiple routes with the same name. All name names must be unique.`);
2690
2690
  }
2691
2691
  }
2692
- function qr(e) {
2692
+ function zr(e) {
2693
2693
  return "name" in e && ae(e.name);
2694
2694
  }
2695
2695
  function mi(e, t) {
@@ -2707,7 +2707,7 @@ function yi(e, t = [], n) {
2707
2707
  ...t.map((a) => a.routes)
2708
2708
  ];
2709
2709
  function s(a) {
2710
- if (!qr(a))
2710
+ if (!zr(a))
2711
2711
  return;
2712
2712
  const u = r.get(a.name);
2713
2713
  if (u && u.id !== a.id)
@@ -2750,12 +2750,12 @@ function Ti(e = []) {
2750
2750
  }), t;
2751
2751
  }
2752
2752
  function wi(e, { match: t, name: n, component: r }) {
2753
- const o = xr(e), s = Mt(e);
2753
+ const o = Mr(e), s = Mt(e);
2754
2754
  return He({
2755
2755
  name: "PropsWrapper",
2756
2756
  expose: [],
2757
2757
  setup() {
2758
- const i = Bo(), a = o(), u = s();
2758
+ const i = jo(), a = o(), u = s();
2759
2759
  return () => {
2760
2760
  const l = a.getProps(t.id, n, u);
2761
2761
  return l instanceof Error ? "" : _n(l) ? i?.suspense ? de(Ni, { component: r, props: l }) : de(vi, { component: r, props: l }) : de(r, l);
@@ -2799,23 +2799,23 @@ function Jn(e, t, n) {
2799
2799
  Object.entries(n).map(([r, o]) => [r, wi(e, { match: t, name: r, component: o })])
2800
2800
  );
2801
2801
  }
2802
- const zr = /* @__PURE__ */ Symbol();
2803
- var Ai = Object.create, Jr = Object.defineProperty, Ii = Object.getOwnPropertyDescriptor, Wr = Object.getOwnPropertyNames, ki = Object.getPrototypeOf, Ci = Object.prototype.hasOwnProperty, Ui = (e, t) => function() {
2804
- return t || (0, e[Wr(e)[0]])((t = { exports: {} }).exports, t), t.exports;
2802
+ const Jr = /* @__PURE__ */ Symbol();
2803
+ var Ai = Object.create, Wr = Object.defineProperty, Ii = Object.getOwnPropertyDescriptor, Kr = Object.getOwnPropertyNames, ki = Object.getPrototypeOf, Ci = Object.prototype.hasOwnProperty, Ui = (e, t) => function() {
2804
+ return t || (0, e[Kr(e)[0]])((t = { exports: {} }).exports, t), t.exports;
2805
2805
  }, Li = (e, t, n, r) => {
2806
- if (t && typeof t == "object" || typeof t == "function") for (var o = Wr(t), s = 0, i = o.length, a; s < i; s++)
2807
- a = o[s], !Ci.call(e, a) && a !== n && Jr(e, a, {
2806
+ if (t && typeof t == "object" || typeof t == "function") for (var o = Kr(t), s = 0, i = o.length, a; s < i; s++)
2807
+ a = o[s], !Ci.call(e, a) && a !== n && Wr(e, a, {
2808
2808
  get: ((u) => t[u]).bind(null, a),
2809
2809
  enumerable: !(r = Ii(t, a)) || r.enumerable
2810
2810
  });
2811
2811
  return e;
2812
- }, Di = (e, t, n) => (n = e != null ? Ai(ki(e)) : {}, Li(Jr(n, "default", {
2812
+ }, Di = (e, t, n) => (n = e != null ? Ai(ki(e)) : {}, Li(Wr(n, "default", {
2813
2813
  value: e,
2814
2814
  enumerable: !0
2815
2815
  }), e));
2816
- const Kr = typeof navigator < "u", S = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
2816
+ const Yr = typeof navigator < "u", S = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
2817
2817
  typeof S.chrome < "u" && S.chrome.devtools;
2818
- Kr && (S.self, S.top);
2818
+ Yr && (S.self, S.top);
2819
2819
  typeof navigator < "u" && navigator.userAgent?.toLowerCase().includes("electron");
2820
2820
  var Vi = /* @__PURE__ */ Ui({ "../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js": ((e, t) => {
2821
2821
  t.exports = r;
@@ -2978,16 +2978,16 @@ function on(e, t = {}, n) {
2978
2978
  }
2979
2979
  return t;
2980
2980
  }
2981
- const Gi = { run: (e) => e() }, Fi = () => Gi, Yr = typeof console.createTask < "u" ? console.createTask : Fi;
2981
+ const Gi = { run: (e) => e() }, Fi = () => Gi, Xr = typeof console.createTask < "u" ? console.createTask : Fi;
2982
2982
  function qi(e, t) {
2983
- const n = t.shift(), r = Yr(n);
2983
+ const n = t.shift(), r = Xr(n);
2984
2984
  return e.reduce(
2985
2985
  (o, s) => o.then(() => r.run(() => s(...t))),
2986
2986
  Promise.resolve()
2987
2987
  );
2988
2988
  }
2989
2989
  function zi(e, t) {
2990
- const n = t.shift(), r = Yr(n);
2990
+ const n = t.shift(), r = Xr(n);
2991
2991
  return Promise.all(e.map((o) => r.run(() => o(...t))));
2992
2992
  }
2993
2993
  function Jt(e, t) {
@@ -3096,19 +3096,19 @@ class Ji {
3096
3096
  };
3097
3097
  }
3098
3098
  }
3099
- function Xr() {
3099
+ function Qr() {
3100
3100
  return new Ji();
3101
3101
  }
3102
- var Wi = Object.create, Qr = Object.defineProperty, Ki = Object.getOwnPropertyDescriptor, eo = Object.getOwnPropertyNames, Yi = Object.getPrototypeOf, Xi = Object.prototype.hasOwnProperty, to = (e, t) => function() {
3103
- return t || (0, e[eo(e)[0]])((t = { exports: {} }).exports, t), t.exports;
3102
+ var Wi = Object.create, eo = Object.defineProperty, Ki = Object.getOwnPropertyDescriptor, to = Object.getOwnPropertyNames, Yi = Object.getPrototypeOf, Xi = Object.prototype.hasOwnProperty, no = (e, t) => function() {
3103
+ return t || (0, e[to(e)[0]])((t = { exports: {} }).exports, t), t.exports;
3104
3104
  }, Qi = (e, t, n, r) => {
3105
- if (t && typeof t == "object" || typeof t == "function") for (var o = eo(t), s = 0, i = o.length, a; s < i; s++)
3106
- a = o[s], !Xi.call(e, a) && a !== n && Qr(e, a, {
3105
+ if (t && typeof t == "object" || typeof t == "function") for (var o = to(t), s = 0, i = o.length, a; s < i; s++)
3106
+ a = o[s], !Xi.call(e, a) && a !== n && eo(e, a, {
3107
3107
  get: ((u) => t[u]).bind(null, a),
3108
3108
  enumerable: !(r = Ki(t, a)) || r.enumerable
3109
3109
  });
3110
3110
  return e;
3111
- }, ea = (e, t, n) => (n = e != null ? Wi(Yi(e)) : {}, Qi(Qr(n, "default", {
3111
+ }, ea = (e, t, n) => (n = e != null ? Wi(Yi(e)) : {}, Qi(eo(n, "default", {
3112
3112
  value: e,
3113
3113
  enumerable: !0
3114
3114
  }), e));
@@ -3127,7 +3127,7 @@ function vn(e) {
3127
3127
  if (e.__VUE_DEVTOOLS_NEXT_APP_RECORD__) return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
3128
3128
  if (e.root) return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
3129
3129
  }
3130
- function no(e) {
3130
+ function ro(e) {
3131
3131
  const t = e.subTree?.type, n = vn(e);
3132
3132
  return n ? n?.types?.Fragment === t : !1;
3133
3133
  }
@@ -3193,10 +3193,10 @@ const Yn = {
3193
3193
  };
3194
3194
  function ve(e) {
3195
3195
  const t = e.subTree.el;
3196
- return typeof window > "u" ? Yn : no(e) ? ia(e.subTree) : t?.nodeType === 1 ? t?.getBoundingClientRect() : e.subTree.component ? ve(e.subTree.component) : Yn;
3196
+ return typeof window > "u" ? Yn : ro(e) ? ia(e.subTree) : t?.nodeType === 1 ? t?.getBoundingClientRect() : e.subTree.component ? ve(e.subTree.component) : Yn;
3197
3197
  }
3198
3198
  function Nn(e) {
3199
- return no(e) ? ca(e.subTree) : e.subTree ? [e.subTree.el] : [];
3199
+ return ro(e) ? ca(e.subTree) : e.subTree ? [e.subTree.el] : [];
3200
3200
  }
3201
3201
  function ca(e) {
3202
3202
  if (!e.children) return [];
@@ -3205,7 +3205,7 @@ function ca(e) {
3205
3205
  n.component ? t.push(...Nn(n.component)) : n?.el && t.push(n.el);
3206
3206
  }), t;
3207
3207
  }
3208
- const ro = "__vue-devtools-component-inspector__", oo = "__vue-devtools-component-inspector__card__", so = "__vue-devtools-component-inspector__name__", io = "__vue-devtools-component-inspector__indicator__", ao = {
3208
+ const oo = "__vue-devtools-component-inspector__", so = "__vue-devtools-component-inspector__card__", io = "__vue-devtools-component-inspector__name__", ao = "__vue-devtools-component-inspector__indicator__", co = {
3209
3209
  display: "block",
3210
3210
  zIndex: 2147483640,
3211
3211
  position: "fixed",
@@ -3235,16 +3235,16 @@ const ro = "__vue-devtools-component-inspector__", oo = "__vue-devtools-componen
3235
3235
  opacity: 0.7
3236
3236
  };
3237
3237
  function $e() {
3238
- return document.getElementById(ro);
3238
+ return document.getElementById(oo);
3239
3239
  }
3240
3240
  function la() {
3241
- return document.getElementById(oo);
3241
+ return document.getElementById(so);
3242
3242
  }
3243
3243
  function da() {
3244
- return document.getElementById(io);
3244
+ return document.getElementById(ao);
3245
3245
  }
3246
3246
  function pa() {
3247
- return document.getElementById(so);
3247
+ return document.getElementById(io);
3248
3248
  }
3249
3249
  function Pn(e) {
3250
3250
  return {
@@ -3256,25 +3256,25 @@ function Pn(e) {
3256
3256
  }
3257
3257
  function bn(e) {
3258
3258
  const t = document.createElement("div");
3259
- t.id = e.elementId ?? ro, Object.assign(t.style, {
3260
- ...ao,
3259
+ t.id = e.elementId ?? oo, Object.assign(t.style, {
3260
+ ...co,
3261
3261
  ...Pn(e.bounds),
3262
3262
  ...e.style
3263
3263
  });
3264
3264
  const n = document.createElement("span");
3265
- n.id = oo, Object.assign(n.style, {
3265
+ n.id = so, Object.assign(n.style, {
3266
3266
  ...ua,
3267
3267
  top: e.bounds.top < 35 ? 0 : "-35px"
3268
3268
  });
3269
3269
  const r = document.createElement("span");
3270
- r.id = so, r.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`;
3270
+ r.id = io, r.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`;
3271
3271
  const o = document.createElement("i");
3272
- return o.id = io, o.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(o.style, fa), n.appendChild(r), n.appendChild(o), t.appendChild(n), document.body.appendChild(t), t;
3272
+ return o.id = ao, o.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(o.style, fa), n.appendChild(r), n.appendChild(o), t.appendChild(n), document.body.appendChild(t), t;
3273
3273
  }
3274
3274
  function An(e) {
3275
3275
  const t = $e(), n = la(), r = pa(), o = da();
3276
3276
  t && (Object.assign(t.style, {
3277
- ...ao,
3277
+ ...co,
3278
3278
  ...Pn(e.bounds)
3279
3279
  }), Object.assign(n.style, { top: e.bounds.top < 35 ? 0 : "-35px" }), r.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`, o.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`);
3280
3280
  }
@@ -3290,7 +3290,7 @@ function ha(e) {
3290
3290
  name: n
3291
3291
  });
3292
3292
  }
3293
- function co() {
3293
+ function uo() {
3294
3294
  const e = $e();
3295
3295
  e && (e.style.display = "none");
3296
3296
  }
@@ -3316,7 +3316,7 @@ function Ea(e, t) {
3316
3316
  }
3317
3317
  let wt = null;
3318
3318
  function ga() {
3319
- co(), window.removeEventListener("mouseover", cn), window.removeEventListener("click", wt, !0), wt = null;
3319
+ uo(), window.removeEventListener("mouseover", cn), window.removeEventListener("click", wt, !0), wt = null;
3320
3320
  }
3321
3321
  function _a() {
3322
3322
  return window.addEventListener("mouseover", cn), new Promise((e) => {
@@ -3392,8 +3392,8 @@ let vt = /* @__PURE__ */ (function(e) {
3392
3392
  function Oa(e) {
3393
3393
  return !!(e && e[vt.IS_READONLY]);
3394
3394
  }
3395
- function uo(e) {
3396
- return Oa(e) ? uo(e[vt.RAW]) : !!(e && e[vt.IS_REACTIVE]);
3395
+ function fo(e) {
3396
+ return Oa(e) ? fo(e[vt.RAW]) : !!(e && e[vt.IS_REACTIVE]);
3397
3397
  }
3398
3398
  function Wt(e) {
3399
3399
  return !!(e && e.__v_isRef === !0);
@@ -3464,12 +3464,12 @@ var Ta = class {
3464
3464
  return Wt(e) ? e.value : e;
3465
3465
  }
3466
3466
  isRef(e) {
3467
- return Wt(e) || uo(e);
3467
+ return Wt(e) || fo(e);
3468
3468
  }
3469
3469
  };
3470
3470
  const va = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
3471
3471
  function Na() {
3472
- if (typeof window > "u" || !Kr || typeof localStorage > "u" || localStorage === null) return {
3472
+ if (typeof window > "u" || !Yr || typeof localStorage > "u" || localStorage === null) return {
3473
3473
  recordingState: !1,
3474
3474
  mouseEventEnabled: !1,
3475
3475
  keyboardEventEnabled: !1,
@@ -3501,8 +3501,8 @@ function ba(e, t) {
3501
3501
  S.__VUE_DEVTOOLS_KIT_INSPECTOR__ ??= [];
3502
3502
  const In = new Proxy(S.__VUE_DEVTOOLS_KIT_INSPECTOR__, { get(e, t, n) {
3503
3503
  return Reflect.get(e, t, n);
3504
- } }), fo = Be(() => {
3505
- Ge.hooks.callHook(Oe.SEND_INSPECTOR_TO_CLIENT, lo());
3504
+ } }), lo = Be(() => {
3505
+ Ge.hooks.callHook(Oe.SEND_INSPECTOR_TO_CLIENT, po());
3506
3506
  });
3507
3507
  function Aa(e, t) {
3508
3508
  In.push({
@@ -3513,9 +3513,9 @@ function Aa(e, t) {
3513
3513
  treeFilter: "",
3514
3514
  selectedNodeId: "",
3515
3515
  appRecord: vn(t.app)
3516
- }), fo();
3516
+ }), lo();
3517
3517
  }
3518
- function lo() {
3518
+ function po() {
3519
3519
  return In.filter((e) => e.descriptor.app === z.value.app).filter((e) => e.descriptor.id !== "components").map((e) => {
3520
3520
  const t = e.descriptor, n = e.options;
3521
3521
  return {
@@ -3540,7 +3540,7 @@ let q = /* @__PURE__ */ (function(e) {
3540
3540
  return e.SEND_INSPECTOR_TREE_TO_CLIENT = "sendInspectorTreeToClient", e.SEND_INSPECTOR_STATE_TO_CLIENT = "sendInspectorStateToClient", e.SEND_TIMELINE_EVENT_TO_CLIENT = "sendTimelineEventToClient", e.SEND_INSPECTOR_TO_CLIENT = "sendInspectorToClient", e.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT = "sendActiveAppUpdatedToClient", e.DEVTOOLS_STATE_UPDATED = "devtoolsStateUpdated", e.DEVTOOLS_CONNECTED_UPDATED = "devtoolsConnectedUpdated", e.ROUTER_INFO_UPDATED = "routerInfoUpdated", e;
3541
3541
  })({});
3542
3542
  function Ia() {
3543
- const e = Xr();
3543
+ const e = Qr();
3544
3544
  e.hook(V.ADD_INSPECTOR, ({ inspector: r, plugin: o }) => {
3545
3545
  Aa(r, o.descriptor);
3546
3546
  });
@@ -3607,7 +3607,7 @@ function Ia() {
3607
3607
  const o = z.value.instanceMap.get(r);
3608
3608
  o && ha(o);
3609
3609
  }), e.hook(V.COMPONENT_UNHIGHLIGHT, () => {
3610
- co();
3610
+ uo();
3611
3611
  }), e;
3612
3612
  }
3613
3613
  S.__VUE_DEVTOOLS_KIT_APP_RECORDS__ ??= [];
@@ -3646,7 +3646,7 @@ const Ht = new Proxy(S.__VUE_DEVTOOLS_KIT_APP_RECORDS__, { get(e, t, n) {
3646
3646
  } }), z = new Proxy(S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__, { get(e, t, n) {
3647
3647
  return t === "value" ? S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ : t === "id" ? S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ : S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t];
3648
3648
  } });
3649
- function po() {
3649
+ function ho() {
3650
3650
  Ca({
3651
3651
  ...S[Ce],
3652
3652
  appRecords: Ht.value,
@@ -3656,10 +3656,10 @@ function po() {
3656
3656
  });
3657
3657
  }
3658
3658
  function Ua(e) {
3659
- S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = e, po();
3659
+ S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = e, ho();
3660
3660
  }
3661
3661
  function La(e) {
3662
- S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = e, po();
3662
+ S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = e, ho();
3663
3663
  }
3664
3664
  const Z = new Proxy(S[Ce], {
3665
3665
  get(e, t) {
@@ -3705,7 +3705,7 @@ function Cn(e) {
3705
3705
  function Va(e) {
3706
3706
  return (kn.find((t) => t[0].id === e && !!t[0]?.settings)?.[0] ?? null)?.settings ?? null;
3707
3707
  }
3708
- function ho(e, t) {
3708
+ function Eo(e, t) {
3709
3709
  const n = Cn(e);
3710
3710
  if (n) {
3711
3711
  const r = localStorage.getItem(n);
@@ -3735,7 +3735,7 @@ function Ma(e, t, n) {
3735
3735
  let X = /* @__PURE__ */ (function(e) {
3736
3736
  return e.APP_INIT = "app:init", e.APP_UNMOUNT = "app:unmount", e.COMPONENT_UPDATED = "component:updated", e.COMPONENT_ADDED = "component:added", e.COMPONENT_REMOVED = "component:removed", e.COMPONENT_EMIT = "component:emit", e.PERFORMANCE_START = "perf:start", e.PERFORMANCE_END = "perf:end", e.ADD_ROUTE = "router:add-route", e.REMOVE_ROUTE = "router:remove-route", e.RENDER_TRACKED = "render:tracked", e.RENDER_TRIGGERED = "render:triggered", e.APP_CONNECTED = "app:connected", e.SETUP_DEVTOOLS_PLUGIN = "devtools-plugin:setup", e;
3737
3737
  })({});
3738
- const Q = S.__VUE_DEVTOOLS_HOOK ??= Xr(), Ba = {
3738
+ const Q = S.__VUE_DEVTOOLS_HOOK ??= Qr(), Ba = {
3739
3739
  vueAppInit(e) {
3740
3740
  Q.hook(X.APP_INIT, e);
3741
3741
  },
@@ -3766,7 +3766,7 @@ const Q = S.__VUE_DEVTOOLS_HOOK ??= Xr(), Ba = {
3766
3766
  perfEnd(e) {
3767
3767
  return Q.hook(X.PERFORMANCE_END, e);
3768
3768
  }
3769
- }, Eo = {
3769
+ }, go = {
3770
3770
  on: Ba,
3771
3771
  setupDevToolsPlugin(e, t) {
3772
3772
  return Q.callHook(X.SETUP_DEVTOOLS_PLUGIN, e, t);
@@ -3809,7 +3809,7 @@ var ja = class {
3809
3809
  }
3810
3810
  notifyComponentUpdate(e) {
3811
3811
  if (Z.highPerfModeEnabled) return;
3812
- const t = lo().find((n) => n.packageName === this.plugin.descriptor.packageName);
3812
+ const t = po().find((n) => n.packageName === this.plugin.descriptor.packageName);
3813
3813
  if (t?.id) {
3814
3814
  if (e) {
3815
3815
  const n = [
@@ -3870,7 +3870,7 @@ var ja = class {
3870
3870
  });
3871
3871
  }
3872
3872
  getSettings(e) {
3873
- return ho(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
3873
+ return Eo(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
3874
3874
  }
3875
3875
  getComponentInstances(e) {
3876
3876
  return this.hooks.callHook(V.GET_COMPONENT_INSTANCES, { app: e });
@@ -3898,7 +3898,7 @@ const Ha = ja, Za = "__vue_devtool_undefined__", $a = "__vue_devtool_infinity__"
3898
3898
  Object.entries(qa).reduce((e, [t, n]) => (e[n] = t, e), {});
3899
3899
  S.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ ??= /* @__PURE__ */ new Set();
3900
3900
  function za(e, t) {
3901
- return Eo.setupDevToolsPlugin(e, t);
3901
+ return go.setupDevToolsPlugin(e, t);
3902
3902
  }
3903
3903
  function Ja(e, t) {
3904
3904
  const [n, r] = e;
@@ -3914,7 +3914,7 @@ function Ja(e, t) {
3914
3914
  o.sendInspectorState(s.inspectorId);
3915
3915
  }), r(o);
3916
3916
  }
3917
- function go(e, t) {
3917
+ function _o(e, t) {
3918
3918
  S.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e) || Z.highPerfModeEnabled && !t?.inspectingComponent || (S.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e), kn.forEach((n) => {
3919
3919
  Ja(n, e);
3920
3920
  }));
@@ -3971,7 +3971,7 @@ function Ya(e, t) {
3971
3971
  routes: Wn(s)
3972
3972
  }, S[Nt] = r, console.warn = i;
3973
3973
  }
3974
- n(), Eo.on.componentUpdated(Be(() => {
3974
+ n(), go.on.componentUpdated(Be(() => {
3975
3975
  t.value?.app === e.app && (n(), !Z.highPerfModeEnabled && Ge.hooks.callHook(Oe.ROUTER_INFO_UPDATED, { state: S[Ye] }));
3976
3976
  }, 200));
3977
3977
  }
@@ -4040,7 +4040,7 @@ function Xa(e) {
4040
4040
  getVueInspector: Sa,
4041
4041
  toggleApp(t, n) {
4042
4042
  const r = Ht.value.find((o) => o.id === t);
4043
- r && (La(t), Ua(r), Ya(r, z), fo(), go(r.app, n));
4043
+ r && (La(t), Ua(r), Ya(r, z), lo(), _o(r.app, n));
4044
4044
  },
4045
4045
  inspectDOM(t) {
4046
4046
  const n = sn(z.value, t);
@@ -4055,7 +4055,7 @@ function Xa(e) {
4055
4055
  getPluginSettings(t) {
4056
4056
  return {
4057
4057
  options: Va(t),
4058
- values: ho(t)
4058
+ values: Eo(t)
4059
4059
  };
4060
4060
  }
4061
4061
  };
@@ -4075,7 +4075,7 @@ S.__VUE_DEVTOOLS_KIT_CONTEXT__ ??= {
4075
4075
  api: Xa(Xn)
4076
4076
  };
4077
4077
  const Ge = S.__VUE_DEVTOOLS_KIT_CONTEXT__;
4078
- var Qa = /* @__PURE__ */ to({ "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js": ((e, t) => {
4078
+ var Qa = /* @__PURE__ */ no({ "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js": ((e, t) => {
4079
4079
  (function(n) {
4080
4080
  var r = {
4081
4081
  À: "A",
@@ -5387,7 +5387,7 @@ var Qa = /* @__PURE__ */ to({ "../../node_modules/.pnpm/speakingurl@14.0.1/node_
5387
5387
  } catch {
5388
5388
  }
5389
5389
  })(e);
5390
- }) }), ec = /* @__PURE__ */ to({ "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js": ((e, t) => {
5390
+ }) }), ec = /* @__PURE__ */ no({ "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js": ((e, t) => {
5391
5391
  t.exports = Qa();
5392
5392
  }) });
5393
5393
  ec();
@@ -5396,7 +5396,7 @@ S.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ ??= {
5396
5396
  appIds: /* @__PURE__ */ new Set()
5397
5397
  };
5398
5398
  function tc(e) {
5399
- Z.highPerfModeEnabled = e ?? !Z.highPerfModeEnabled, !e && z.value && go(z.value.app);
5399
+ Z.highPerfModeEnabled = e ?? !Z.highPerfModeEnabled, !e && z.value && _o(z.value.app);
5400
5400
  }
5401
5401
  function nc(e) {
5402
5402
  Z.devtoolsClientDetected = {
@@ -5421,7 +5421,7 @@ var rc = class {
5421
5421
  clear() {
5422
5422
  this.keyToValue.clear(), this.valueToKey.clear();
5423
5423
  }
5424
- }, _o = class {
5424
+ }, mo = class {
5425
5425
  constructor(e) {
5426
5426
  this.generateIdentifier = e, this.kv = new rc();
5427
5427
  }
@@ -5437,7 +5437,7 @@ var rc = class {
5437
5437
  getValue(e) {
5438
5438
  return this.kv.getByKey(e);
5439
5439
  }
5440
- }, oc = class extends _o {
5440
+ }, oc = class extends mo {
5441
5441
  constructor() {
5442
5442
  super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
5443
5443
  }
@@ -5489,7 +5489,7 @@ var ac = class {
5489
5489
  return this.transfomers[e];
5490
5490
  }
5491
5491
  };
5492
- const cc = (e) => Object.prototype.toString.call(e).slice(8, -1), mo = (e) => typeof e > "u", uc = (e) => e === null, Xe = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, fn = (e) => Xe(e) && Object.keys(e).length === 0, Ee = (e) => Array.isArray(e), fc = (e) => typeof e == "string", lc = (e) => typeof e == "number" && !isNaN(e), dc = (e) => typeof e == "boolean", pc = (e) => e instanceof RegExp, Qe = (e) => e instanceof Map, et = (e) => e instanceof Set, yo = (e) => cc(e) === "Symbol", hc = (e) => e instanceof Date && !isNaN(e.valueOf()), Ec = (e) => e instanceof Error, er = (e) => typeof e == "number" && isNaN(e), gc = (e) => dc(e) || uc(e) || mo(e) || lc(e) || fc(e) || yo(e), _c = (e) => typeof e == "bigint", mc = (e) => e === 1 / 0 || e === -1 / 0, yc = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), Rc = (e) => e instanceof URL, Ro = (e) => e.replace(/\./g, "\\."), Kt = (e) => e.map(String).map(Ro).join("."), Je = (e) => {
5492
+ const cc = (e) => Object.prototype.toString.call(e).slice(8, -1), yo = (e) => typeof e > "u", uc = (e) => e === null, Xe = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, fn = (e) => Xe(e) && Object.keys(e).length === 0, Ee = (e) => Array.isArray(e), fc = (e) => typeof e == "string", lc = (e) => typeof e == "number" && !isNaN(e), dc = (e) => typeof e == "boolean", pc = (e) => e instanceof RegExp, Qe = (e) => e instanceof Map, et = (e) => e instanceof Set, Ro = (e) => cc(e) === "Symbol", hc = (e) => e instanceof Date && !isNaN(e.valueOf()), Ec = (e) => e instanceof Error, er = (e) => typeof e == "number" && isNaN(e), gc = (e) => dc(e) || uc(e) || yo(e) || lc(e) || fc(e) || Ro(e), _c = (e) => typeof e == "bigint", mc = (e) => e === 1 / 0 || e === -1 / 0, yc = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), Rc = (e) => e instanceof URL, So = (e) => e.replace(/\./g, "\\."), Kt = (e) => e.map(String).map(So).join("."), Je = (e) => {
5493
5493
  const t = [];
5494
5494
  let n = "";
5495
5495
  for (let o = 0; o < e.length; o++) {
@@ -5515,8 +5515,8 @@ function ie(e, t, n, r) {
5515
5515
  untransform: r
5516
5516
  };
5517
5517
  }
5518
- const So = [
5519
- ie(mo, "undefined", () => null, () => {
5518
+ const Oo = [
5519
+ ie(yo, "undefined", () => null, () => {
5520
5520
  }),
5521
5521
  ie(_c, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)),
5522
5522
  ie(hc, "Date", (e) => e.toISOString(), (e) => new Date(e)),
@@ -5552,7 +5552,7 @@ function Zt(e, t, n, r) {
5552
5552
  untransform: r
5553
5553
  };
5554
5554
  }
5555
- const Oo = Zt((e, t) => yo(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
5555
+ const To = Zt((e, t) => Ro(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
5556
5556
  const r = n.symbolRegistry.getValue(t[1]);
5557
5557
  if (!r) throw new Error("Trying to deserialize unknown symbol");
5558
5558
  return r;
@@ -5566,15 +5566,15 @@ const Oo = Zt((e, t) => yo(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t)
5566
5566
  Float32Array,
5567
5567
  Float64Array,
5568
5568
  Uint8ClampedArray
5569
- ].reduce((e, t) => (e[t.name] = t, e), {}), To = Zt(yc, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
5569
+ ].reduce((e, t) => (e[t.name] = t, e), {}), wo = Zt(yc, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
5570
5570
  const n = Sc[t[1]];
5571
5571
  if (!n) throw new Error("Trying to deserialize unknown typed array");
5572
5572
  return new n(e);
5573
5573
  });
5574
- function wo(e, t) {
5574
+ function vo(e, t) {
5575
5575
  return e?.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
5576
5576
  }
5577
- const vo = Zt(wo, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
5577
+ const No = Zt(vo, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
5578
5578
  const n = t.classRegistry.getAllowedProps(e.constructor);
5579
5579
  if (!n) return { ...e };
5580
5580
  const r = {};
@@ -5585,45 +5585,45 @@ const vo = Zt(wo, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructo
5585
5585
  const r = n.classRegistry.getValue(t[1]);
5586
5586
  if (!r) throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);
5587
5587
  return Object.assign(Object.create(r.prototype), e);
5588
- }), No = Zt((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, n) => {
5588
+ }), Po = Zt((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, n) => {
5589
5589
  const r = n.customTransformerRegistry.findByName(t[1]);
5590
5590
  if (!r) throw new Error("Trying to deserialize unknown custom value");
5591
5591
  return r.deserialize(e);
5592
5592
  }), Oc = [
5593
- vo,
5594
- Oo,
5595
5593
  No,
5596
- To
5594
+ To,
5595
+ Po,
5596
+ wo
5597
5597
  ], tr = (e, t) => {
5598
5598
  const n = Qn(Oc, (o) => o.isApplicable(e, t));
5599
5599
  if (n) return {
5600
5600
  value: n.transform(e, t),
5601
5601
  type: n.annotation(e, t)
5602
5602
  };
5603
- const r = Qn(So, (o) => o.isApplicable(e, t));
5603
+ const r = Qn(Oo, (o) => o.isApplicable(e, t));
5604
5604
  if (r) return {
5605
5605
  value: r.transform(e, t),
5606
5606
  type: r.annotation
5607
5607
  };
5608
- }, Po = {};
5609
- So.forEach((e) => {
5610
- Po[e.annotation] = e;
5608
+ }, bo = {};
5609
+ Oo.forEach((e) => {
5610
+ bo[e.annotation] = e;
5611
5611
  });
5612
5612
  const Tc = (e, t, n) => {
5613
5613
  if (Ee(t)) switch (t[0]) {
5614
5614
  case "symbol":
5615
- return Oo.untransform(e, t, n);
5615
+ return To.untransform(e, t, n);
5616
5616
  case "class":
5617
- return vo.untransform(e, t, n);
5618
- case "custom":
5619
5617
  return No.untransform(e, t, n);
5618
+ case "custom":
5619
+ return Po.untransform(e, t, n);
5620
5620
  case "typed-array":
5621
- return To.untransform(e, t, n);
5621
+ return wo.untransform(e, t, n);
5622
5622
  default:
5623
5623
  throw new Error("Unknown transformation: " + t);
5624
5624
  }
5625
5625
  else {
5626
- const r = Po[t];
5626
+ const r = bo[t];
5627
5627
  if (!r) throw new Error("Unknown transformation: " + t);
5628
5628
  return r.untransform(e, n);
5629
5629
  }
@@ -5634,13 +5634,13 @@ const Tc = (e, t, n) => {
5634
5634
  n.next(), t--;
5635
5635
  return n.next().value;
5636
5636
  };
5637
- function bo(e) {
5637
+ function Ao(e) {
5638
5638
  if (gt(e, "__proto__")) throw new Error("__proto__ is not allowed as a property");
5639
5639
  if (gt(e, "prototype")) throw new Error("prototype is not allowed as a property");
5640
5640
  if (gt(e, "constructor")) throw new Error("constructor is not allowed as a property");
5641
5641
  }
5642
5642
  const wc = (e, t) => {
5643
- bo(t);
5643
+ Ao(t);
5644
5644
  for (let n = 0; n < t.length; n++) {
5645
5645
  const r = t[n];
5646
5646
  if (et(e)) e = Ue(e, +r);
@@ -5658,7 +5658,7 @@ const wc = (e, t) => {
5658
5658
  }
5659
5659
  return e;
5660
5660
  }, ln = (e, t, n) => {
5661
- if (bo(t), t.length === 0) return n(e);
5661
+ if (Ao(t), t.length === 0) return n(e);
5662
5662
  let r = e;
5663
5663
  for (let s = 0; s < t.length - 1; s++) {
5664
5664
  const i = t[s];
@@ -5733,7 +5733,7 @@ function Nc(e, t) {
5733
5733
  } else je(t, n);
5734
5734
  return e;
5735
5735
  }
5736
- const Pc = (e, t) => Xe(e) || Ee(e) || Qe(e) || et(e) || wo(e, t);
5736
+ const Pc = (e, t) => Xe(e) || Ee(e) || Qe(e) || et(e) || vo(e, t);
5737
5737
  function bc(e, t, n) {
5738
5738
  const r = n.get(e);
5739
5739
  r ? r.push(t) : n.set(e, [t]);
@@ -5748,7 +5748,7 @@ function Ac(e, t) {
5748
5748
  s.length === 0 ? r = i.map(Kt) : n[Kt(s)] = i.map(Kt);
5749
5749
  }), r ? fn(n) ? [r] : [r, n] : fn(n) ? void 0 : n;
5750
5750
  }
5751
- const Ao = (e, t, n, r, o = [], s = [], i = /* @__PURE__ */ new Map()) => {
5751
+ const Io = (e, t, n, r, o = [], s = [], i = /* @__PURE__ */ new Map()) => {
5752
5752
  const a = gc(e);
5753
5753
  if (!a) {
5754
5754
  bc(e, o, t);
@@ -5766,9 +5766,9 @@ const Ao = (e, t, n, r, o = [], s = [], i = /* @__PURE__ */ new Map()) => {
5766
5766
  const u = tr(e, n), l = u?.value ?? e, E = Ee(l) ? [] : {}, c = {};
5767
5767
  je(l, (f, d) => {
5768
5768
  if (d === "__proto__" || d === "constructor" || d === "prototype") throw new Error(`Detected property ${d}. This is a prototype pollution risk, please remove it from your object.`);
5769
- const y = Ao(f, t, n, r, [...o, d], [...s, e], i);
5769
+ const y = Io(f, t, n, r, [...o, d], [...s, e], i);
5770
5770
  E[d] = y.transformedValue, Ee(y.annotations) ? c[d] = y.annotations : Xe(y.annotations) && je(y.annotations, (_, m) => {
5771
- c[Ro(d) + "." + m] = _;
5771
+ c[So(d) + "." + m] = _;
5772
5772
  });
5773
5773
  });
5774
5774
  const g = fn(c) ? {
@@ -5780,14 +5780,14 @@ const Ao = (e, t, n, r, o = [], s = [], i = /* @__PURE__ */ new Map()) => {
5780
5780
  };
5781
5781
  return a || i.set(e, g), g;
5782
5782
  };
5783
- function Io(e) {
5783
+ function ko(e) {
5784
5784
  return Object.prototype.toString.call(e).slice(8, -1);
5785
5785
  }
5786
5786
  function nr(e) {
5787
- return Io(e) === "Array";
5787
+ return ko(e) === "Array";
5788
5788
  }
5789
5789
  function Ic(e) {
5790
- if (Io(e) !== "Object") return !1;
5790
+ if (ko(e) !== "Object") return !1;
5791
5791
  const t = Object.getPrototypeOf(e);
5792
5792
  return !!t && t.constructor === Object && t === Object.prototype;
5793
5793
  }
@@ -5815,10 +5815,10 @@ var U = class {
5815
5815
  * @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
5816
5816
  */
5817
5817
  constructor({ dedupe: e = !1 } = {}) {
5818
- this.classRegistry = new oc(), this.symbolRegistry = new _o((t) => t.description ?? ""), this.customTransformerRegistry = new ac(), this.allowedErrorProps = [], this.dedupe = e;
5818
+ this.classRegistry = new oc(), this.symbolRegistry = new mo((t) => t.description ?? ""), this.customTransformerRegistry = new ac(), this.allowedErrorProps = [], this.dedupe = e;
5819
5819
  }
5820
5820
  serialize(e) {
5821
- const t = /* @__PURE__ */ new Map(), n = Ao(e, t, this, this.dedupe), r = { json: n.transformedValue };
5821
+ const t = /* @__PURE__ */ new Map(), n = Io(e, t, this, this.dedupe), r = { json: n.transformedValue };
5822
5822
  n.annotations && (r.meta = {
5823
5823
  ...r.meta,
5824
5824
  values: n.annotations
@@ -5874,7 +5874,7 @@ S.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ ??= null;
5874
5874
  const Pt = { template: "<div>This is component</div>" }, Ln = Ve({
5875
5875
  name: "parentA",
5876
5876
  path: "/parentA/[paramA]"
5877
- }), ko = Ve({
5877
+ }), Co = Ve({
5878
5878
  parent: Ln,
5879
5879
  name: "parentA.childA",
5880
5880
  path: "/childA/[?paramB]"
@@ -5884,7 +5884,7 @@ const Pt = { template: "<div>This is component</div>" }, Ln = Ve({
5884
5884
  path: "/childB/[paramD]",
5885
5885
  component: Pt
5886
5886
  }), Uc = Ve({
5887
- parent: ko,
5887
+ parent: Co,
5888
5888
  name: "parentA.childA.grandChildA",
5889
5889
  path: "/[paramC]",
5890
5890
  component: Pt
@@ -6004,27 +6004,27 @@ function Fc({ router: e, app: t, routes: n }) {
6004
6004
  function qc(e, t, n = {}) {
6005
6005
  const { query: r, hash: o } = fe(We(t, n));
6006
6006
  for (const s of e) {
6007
- if (!qr(s))
6007
+ if (!zr(s))
6008
6008
  continue;
6009
6009
  const { success: i, params: a } = s.tryParse(t);
6010
6010
  if (i)
6011
- return Fr(s, a, { ...n, query: r, hash: o });
6011
+ return qr(s, a, { ...n, query: r, hash: o });
6012
6012
  }
6013
6013
  }
6014
- const Co = /^(\/.+?)\/+$/;
6014
+ const Uo = /^(\/.+?)\/+$/;
6015
6015
  function zc(e) {
6016
6016
  const { path: t, ...n } = fe(e);
6017
6017
  return Sn({
6018
6018
  ...n,
6019
- path: t.replace(Co, "$1")
6019
+ path: t.replace(Uo, "$1")
6020
6020
  });
6021
6021
  }
6022
6022
  function Jc(e) {
6023
6023
  const { path: t } = fe(e);
6024
- return Co.test(t);
6024
+ return Uo.test(t);
6025
6025
  }
6026
6026
  function nu(e, t, n = []) {
6027
- const o = t?.isGlobalRouter ?? !0 ? zr : /* @__PURE__ */ Symbol(), s = [
6027
+ const o = t?.isGlobalRouter ?? !0 ? Jr : /* @__PURE__ */ Symbol(), s = [
6028
6028
  ...n.flatMap((P) => P.rejections),
6029
6029
  ...t?.rejections ?? []
6030
6030
  ], i = t?.removeTrailingSlashes ?? !0, { routes: a, getRouteByName: u } = yi(e, n, t?.base), l = Bs();
@@ -6122,7 +6122,7 @@ function nu(e, t, n = []) {
6122
6122
  const W = u(P);
6123
6123
  if (!W)
6124
6124
  throw new gi(P);
6125
- return Fr(W, L, J);
6125
+ return qr(W, L, J);
6126
6126
  }, h = (P, L, J) => {
6127
6127
  if (re(P)) {
6128
6128
  const se = { ...L }, ft = We(P, {
@@ -6132,8 +6132,8 @@ function nu(e, t, n = []) {
6132
6132
  return _(ft, se);
6133
6133
  }
6134
6134
  if (typeof P == "string") {
6135
- const { replace: se, ...ft } = { ...J }, Uo = { ...L }, $t = T(P, Uo, ft), Lo = zn({ ...$t.matched.state }, { ...$t.state, ...ft.state });
6136
- return _($t.href, { replace: se, state: Lo });
6135
+ const { replace: se, ...ft } = { ...J }, Lo = { ...L }, $t = T(P, Lo, ft), Do = zn({ ...$t.matched.state }, { ...$t.state, ...ft.state });
6136
+ return _($t.href, { replace: se, state: Do });
6137
6137
  }
6138
6138
  const { replace: W, ...B } = { ...L }, F = zn({ ...P.matched.state }, { ...P.state, ...B.state }), be = We(P.href, {
6139
6139
  query: B.query,
@@ -6165,12 +6165,12 @@ function nu(e, t, n = []) {
6165
6165
  d.stopListening();
6166
6166
  }
6167
6167
  function _e(P) {
6168
- return Wo(P) ? null : { ...I };
6168
+ return Ko(P) ? null : { ...I };
6169
6169
  }
6170
6170
  function ut(P) {
6171
6171
  l.setVueApp(P), c.setVueApp(P);
6172
- const L = wn(o), J = Hr(o);
6173
- P.component("RouterView", L), P.component("RouterLink", J), P.provide(Ur(o), v), P.provide(kr(o), l), P.provide(Vr(o), c), P.provide(Cr(o), g), P.provide(Br, f), P.provide(o, me), Fc({ router: me, app: P, routes: a }), ne();
6172
+ const L = wn(o), J = Zr(o);
6173
+ P.component("RouterView", L), P.component("RouterLink", J), P.provide(Lr(o), v), P.provide(Cr(o), l), P.provide(xr(o), c), P.provide(Ur(o), g), P.provide(jr, f), P.provide(o, me), Fc({ router: me, app: P, routes: a }), ne();
6174
6174
  }
6175
6175
  const me = {
6176
6176
  route: k,
@@ -6201,20 +6201,20 @@ function nu(e, t, n = []) {
6201
6201
  };
6202
6202
  return me;
6203
6203
  }
6204
- const te = Xs(zr), ru = te.onBeforeRouteLeave, ou = te.onBeforeRouteUpdate, su = te.onAfterRouteLeave, iu = te.onAfterRouteUpdate, au = te.isRoute, cu = te.RouterView, uu = te.RouterLink, fu = te.useRoute, lu = te.useRouter, du = te.useQueryValue, pu = te.useLink, hu = te.useRejection;
6204
+ const te = Xs(Jr), ru = te.onBeforeRouteLeave, ou = te.onBeforeRouteUpdate, su = te.onAfterRouteLeave, iu = te.onAfterRouteUpdate, au = te.isRoute, cu = te.RouterView, uu = te.RouterLink, fu = te.useRoute, lu = te.useRouter, du = te.useQueryValue, pu = te.useLink, hu = te.useRejection;
6205
6205
  export {
6206
- $o as DuplicateParamsError,
6206
+ Go as DuplicateParamsError,
6207
6207
  ar as IS_URL_SYMBOL,
6208
- jo as MetaPropertyConflict,
6208
+ Ho as MetaPropertyConflict,
6209
6209
  uu as RouterLink,
6210
6210
  Ze as RouterNotInstalledError,
6211
6211
  cu as RouterView,
6212
- zo as UseRouteInvalidError,
6212
+ Jo as UseRouteInvalidError,
6213
6213
  eu as arrayOf,
6214
- qo as asUrlString,
6214
+ zo as asUrlString,
6215
6215
  ir as combineRoutes,
6216
6216
  Xc as createExternalRoute,
6217
- Qo as createParam,
6217
+ es as createParam,
6218
6218
  Yc as createRejection,
6219
6219
  Ve as createRoute,
6220
6220
  nu as createRouter,