@kitbag/router 0.20.3 → 0.20.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.
@@ -1,14 +1,14 @@
1
- var Vr = Object.defineProperty;
2
- var Zr = (t, e, r) => e in t ? Vr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
- var T = (t, e, r) => Zr(t, typeof e != "symbol" ? e + "" : e, r);
4
- import { inject as it, markRaw as Ut, reactive as Ht, defineAsyncComponent as Or, watch as nt, onUnmounted as qt, computed as Z, ref as Pt, toValue as $, toRefs as jr, defineComponent as vt, createElementBlock as $r, openBlock as Oe, normalizeClass as _r, renderSlot as je, normalizeProps as $e, guardReactiveProps as Hr, unref as X, h as dt, getCurrentInstance as qr, onServerPrefetch as Ir, provide as Dr, createCommentVNode as Jr, mergeProps as Fr, createBlock as Tr, resolveDynamicComponent as Mr } from "vue";
1
+ var Zr = Object.defineProperty;
2
+ var Or = (t, e, r) => e in t ? Zr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
+ var T = (t, e, r) => Or(t, typeof e != "symbol" ? e + "" : e, r);
4
+ import { inject as it, markRaw as Ut, reactive as qt, defineAsyncComponent as jr, watch as ot, onUnmounted as Ht, computed as O, ref as Pt, toValue as V, toRefs as $r, defineComponent as vt, createElementBlock as _r, openBlock as $e, normalizeClass as qr, renderSlot as _e, normalizeProps as qe, guardReactiveProps as Hr, unref as tt, h as dt, getCurrentInstance as Ir, onServerPrefetch as Dr, provide as Jr, createCommentVNode as Fr, mergeProps as Tr, createBlock as Mr, resolveDynamicComponent as Wr } from "vue";
5
5
  function M(t) {
6
6
  return typeof t != "string" ? !1 : /^(https?:\/\/|\/).*/g.test(t);
7
7
  }
8
- function _e(t) {
8
+ function He(t) {
9
9
  return M(t) ? t : `/${t}`;
10
10
  }
11
- class Wr extends Error {
11
+ class Gr extends Error {
12
12
  /**
13
13
  * Constructs a new DuplicateParamsError instance with a message indicating the problematic parameter.
14
14
  * @param paramName - The name of the parameter that was duplicated.
@@ -17,7 +17,7 @@ class Wr extends Error {
17
17
  super(`Invalid Param "${e}": Router does not support multiple params by the same name. All param names must be unique.`);
18
18
  }
19
19
  }
20
- class Gr extends Error {
20
+ class Qr extends Error {
21
21
  constructor(e) {
22
22
  super(`Child property on meta for ${e} conflicts with the parent meta.`);
23
23
  }
@@ -38,9 +38,9 @@ class zr extends Error {
38
38
  super(`useRoute called with incorrect route. Given ${e}, expected ${r}`);
39
39
  }
40
40
  }
41
- const He = Symbol();
41
+ const Ie = Symbol();
42
42
  function It() {
43
- const t = it(He);
43
+ const t = it(Ie);
44
44
  if (!t)
45
45
  throw new Et();
46
46
  return t;
@@ -48,44 +48,44 @@ function It() {
48
48
  function ht(t) {
49
49
  return Array.isArray(t) ? t : [t];
50
50
  }
51
- function qe(t, e) {
51
+ function De(t, e) {
52
52
  return t.filter((r) => e === r).length;
53
53
  }
54
54
  function bt(...t) {
55
55
  const e = t.flatMap((r) => Array.isArray(r) ? r : Object.keys(r));
56
56
  for (const r of e)
57
- if (qe(e, r) > 1)
58
- throw new Wr(r);
57
+ if (De(e, r) > 1)
58
+ throw new Gr(r);
59
59
  }
60
- class z extends Error {
60
+ class Q extends Error {
61
61
  }
62
62
  const At = "[", Dt = "]";
63
- function Qr(t) {
63
+ function Kr(t) {
64
64
  return t !== String && t !== Boolean && t !== Number && t !== Date;
65
65
  }
66
- function Kr(t) {
67
- return typeof t == "function" && Qr(t);
66
+ function Yr(t) {
67
+ return typeof t == "function" && Kr(t);
68
68
  }
69
69
  function Jt(t) {
70
70
  return typeof t == "object" && "get" in t && typeof t.get == "function" && "set" in t && typeof t.set == "function";
71
71
  }
72
- function Ie(t) {
72
+ function Je(t) {
73
73
  return typeof t == "string" || typeof t == "number" || typeof t == "boolean";
74
74
  }
75
- function Yr(t, e) {
75
+ function Xr(t, e) {
76
76
  return Jt(t) ? { ...t, defaultValue: e ?? t.defaultValue } : {
77
- get: (r) => ot(r, t),
78
- set: (r) => at(r, t),
77
+ get: (r) => at(r, t),
78
+ set: (r) => z(r, t),
79
79
  defaultValue: e
80
80
  };
81
81
  }
82
- function Xr(t) {
82
+ function tn(t) {
83
83
  return Jt(t) && t.defaultValue !== void 0;
84
84
  }
85
85
  function Io(t, e) {
86
- return Yr(t, e);
86
+ return Xr(t, e);
87
87
  }
88
- function tn(t) {
88
+ function en(t) {
89
89
  return t !== void 0;
90
90
  }
91
91
  function mt(t) {
@@ -95,7 +95,7 @@ function W(t) {
95
95
  return typeof t == "string" && t.length > 0;
96
96
  }
97
97
  let w = null;
98
- async function en() {
98
+ async function rn() {
99
99
  const {
100
100
  ZodSchema: t,
101
101
  ZodString: e,
@@ -139,23 +139,23 @@ async function en() {
139
139
  ZodFunction: c
140
140
  };
141
141
  }
142
- function rn(t) {
142
+ function nn(t) {
143
143
  return Object.values(t).some((e) => Object.values(e.host.params).some((r) => Gt(r)) || Object.values(e.path.params).some((r) => Gt(r)) || Object.values(e.query.params).some((r) => Gt(r)));
144
144
  }
145
145
  function Gt(t) {
146
146
  return mt(t) && "parse" in t && typeof t.parse == "function" && "~standard" in t && mt(t["~standard"]) && "vendor" in t["~standard"] && t["~standard"].vendor === "zod";
147
147
  }
148
- async function nn() {
148
+ async function on() {
149
149
  try {
150
- w = await en();
150
+ w = await rn();
151
151
  } catch {
152
152
  throw new Error("Failed to initialize Zod");
153
153
  }
154
154
  }
155
- function De(t) {
155
+ function Fe(t) {
156
156
  return w ? t instanceof w.ZodSchema : !1;
157
157
  }
158
- function Je(t) {
158
+ function Te(t) {
159
159
  return {
160
160
  get: (e, { invalid: r }) => {
161
161
  try {
@@ -173,9 +173,9 @@ function Je(t) {
173
173
  }
174
174
  };
175
175
  }
176
- const on = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/;
176
+ const an = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/;
177
177
  function ct(t, e) {
178
- if (typeof e == "string" && on.test(e)) {
178
+ if (typeof e == "string" && an.test(e)) {
179
179
  const r = new Date(e);
180
180
  return isNaN(r.getTime()) ? e : r;
181
181
  }
@@ -290,24 +290,24 @@ function Yt(t, e) {
290
290
  throw new Error("Function schemas are not supported");
291
291
  return JSON.stringify(e.parse(t));
292
292
  }
293
- function ne(t) {
293
+ function oe(t) {
294
294
  return typeof t == "object" && t !== null && "then" in t;
295
295
  }
296
296
  function N(t, e) {
297
297
  const r = t["~standard"].validate(e);
298
- if (ne(r))
298
+ if (oe(r))
299
299
  throw new Error("Promise schemas are not supported");
300
300
  if (r.issues)
301
301
  throw new Error("Validation failed");
302
302
  return r.value;
303
303
  }
304
- function an(t) {
304
+ function sn(t) {
305
305
  return mt(t) && "type" in t && typeof t.type == "string" && "~standard" in t && mt(t["~standard"]) && "vendor" in t["~standard"] && t["~standard"].vendor === "valibot";
306
306
  }
307
- function Fe(t) {
308
- return an(t);
307
+ function Me(t) {
308
+ return sn(t);
309
309
  }
310
- function Te(t) {
310
+ function We(t) {
311
311
  return {
312
312
  get: (e, { invalid: r }) => {
313
313
  try {
@@ -325,9 +325,9 @@ function Te(t) {
325
325
  }
326
326
  };
327
327
  }
328
- const sn = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/;
328
+ const cn = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/;
329
329
  function ut(t, e) {
330
- if (typeof e == "string" && sn.test(e)) {
330
+ if (typeof e == "string" && cn.test(e)) {
331
331
  const r = new Date(e);
332
332
  return isNaN(r.getTime()) ? e : r;
333
333
  }
@@ -431,21 +431,21 @@ function te(t, e) {
431
431
  throw new Error("Function schemas are not supported");
432
432
  return JSON.stringify(N(e, t));
433
433
  }
434
- function cn(t, e) {
434
+ function un(t, e) {
435
435
  return t[e] ?? String;
436
436
  }
437
- const V = {
437
+ const Z = {
438
438
  invalid: (t) => {
439
- throw new z(t);
439
+ throw new Q(t);
440
440
  }
441
- }, Me = {
441
+ }, Ge = {
442
442
  get: (t) => t,
443
443
  set: (t, { invalid: e }) => {
444
444
  if (typeof t != "string")
445
445
  throw e();
446
446
  return t;
447
447
  }
448
- }, oe = {
448
+ }, ae = {
449
449
  get: (t, { invalid: e }) => {
450
450
  if (t === "true")
451
451
  return !0;
@@ -458,7 +458,7 @@ const V = {
458
458
  throw e();
459
459
  return t.toString();
460
460
  }
461
- }, ae = {
461
+ }, se = {
462
462
  get: (t, { invalid: e }) => {
463
463
  const r = Number(t);
464
464
  if (isNaN(r))
@@ -470,7 +470,7 @@ const V = {
470
470
  throw e();
471
471
  return t.toString();
472
472
  }
473
- }, We = {
473
+ }, Qe = {
474
474
  get: (t, { invalid: e }) => {
475
475
  const r = new Date(t);
476
476
  if (isNaN(r.getTime()))
@@ -482,7 +482,7 @@ const V = {
482
482
  throw e();
483
483
  return t.toISOString();
484
484
  }
485
- }, Ge = {
485
+ }, ze = {
486
486
  get: (t, { invalid: e }) => {
487
487
  try {
488
488
  return JSON.parse(t);
@@ -498,102 +498,102 @@ const V = {
498
498
  }
499
499
  }
500
500
  };
501
- function un(t, e) {
501
+ function fn(t, e) {
502
502
  switch (typeof e) {
503
503
  case "string":
504
- return Me.get(t, V) === e;
504
+ return Ge.get(t, Z) === e;
505
505
  case "number":
506
- return ae.get(t, V) === e;
506
+ return se.get(t, Z) === e;
507
507
  case "boolean":
508
- return oe.get(t, V) === e;
508
+ return ae.get(t, Z) === e;
509
509
  default:
510
510
  return !1;
511
511
  }
512
512
  }
513
- function ot(t, e, r = !1) {
513
+ function at(t, e, r = !1) {
514
514
  if (t === void 0 || !W(t)) {
515
- if (Xr(e))
515
+ if (tn(e))
516
516
  return e.defaultValue;
517
517
  if (r)
518
518
  return;
519
- throw new z();
519
+ throw new Q();
520
520
  }
521
521
  if (e === String)
522
- return Me.get(t, V);
522
+ return Ge.get(t, Z);
523
523
  if (e === Boolean)
524
- return oe.get(t, V);
524
+ return ae.get(t, Z);
525
525
  if (e === Number)
526
- return ae.get(t, V);
526
+ return se.get(t, Z);
527
527
  if (e === Date)
528
- return We.get(t, V);
528
+ return Qe.get(t, Z);
529
529
  if (e === JSON)
530
- return Ge.get(t, V);
531
- if (Kr(e))
532
- return e(t, V);
530
+ return ze.get(t, Z);
531
+ if (Yr(e))
532
+ return e(t, Z);
533
533
  if (Jt(e))
534
- return e.get(t, V);
534
+ return e.get(t, Z);
535
535
  if (e instanceof RegExp) {
536
536
  if (e.test(t))
537
537
  return t;
538
- throw new z();
538
+ throw new Q();
539
539
  }
540
- if (Ie(e)) {
541
- if (un(t, e))
540
+ if (Je(e)) {
541
+ if (fn(t, e))
542
542
  return e;
543
- throw new z();
543
+ throw new Q();
544
544
  }
545
- return De(e) ? Je(e).get(t, V) : Fe(e) ? Te(e).get(t, V) : t;
545
+ return Fe(e) ? Te(e).get(t, Z) : Me(e) ? We(e).get(t, Z) : t;
546
546
  }
547
- function fn(t, e, r = !1) {
547
+ function ee(t, e, r = !1) {
548
548
  try {
549
- return ot(t, e, r);
549
+ return at(t, e, r);
550
550
  } catch (n) {
551
- if (n instanceof z)
551
+ if (n instanceof Q)
552
552
  return;
553
553
  throw n;
554
554
  }
555
555
  }
556
556
  function ln(t, e, r = !1) {
557
557
  try {
558
- return at(t, e, r);
558
+ return z(t, e, r);
559
559
  } catch (n) {
560
- if (n instanceof z)
560
+ if (n instanceof Q)
561
561
  return;
562
562
  throw n;
563
563
  }
564
564
  }
565
- function at(t, e, r = !1) {
565
+ function z(t, e, r = !1) {
566
566
  if (t === void 0) {
567
567
  if (r)
568
568
  return "";
569
- throw new z();
569
+ throw new Q();
570
570
  }
571
571
  if (e === Boolean)
572
- return oe.set(t, V);
572
+ return ae.set(t, Z);
573
573
  if (e === Number)
574
- return ae.set(t, V);
574
+ return se.set(t, Z);
575
575
  if (e === Date)
576
- return We.set(t, V);
576
+ return Qe.set(t, Z);
577
577
  if (e === JSON)
578
- return Ge.set(t, V);
578
+ return ze.set(t, Z);
579
579
  if (Jt(e))
580
- return e.set(t, V);
581
- if (Ie(e)) {
580
+ return e.set(t, Z);
581
+ if (Je(e)) {
582
582
  if (e !== t)
583
- throw new z();
583
+ throw new Q();
584
584
  return t.toString();
585
585
  }
586
- if (De(e))
587
- return Je(e).set(t, V);
588
586
  if (Fe(e))
589
- return Te(e).set(t, V);
587
+ return Te(e).set(t, Z);
588
+ if (Me(e))
589
+ return We(e).set(t, Z);
590
590
  try {
591
591
  return t.toString();
592
592
  } catch {
593
- throw new z();
593
+ throw new Q();
594
594
  }
595
595
  }
596
- function se(t) {
596
+ function ie(t) {
597
597
  return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
598
598
  }
599
599
  function pn(t, e) {
@@ -602,7 +602,7 @@ function pn(t, e) {
602
602
  return [t];
603
603
  let n = 0;
604
604
  const o = r.reduce((s, p) => {
605
- const h = se(t.slice(n, p.index));
605
+ const h = ie(t.slice(n, p.index));
606
606
  h.length && s.push(h);
607
607
  const [u] = p;
608
608
  return s.push(u), n = p.index + u.length, s;
@@ -610,74 +610,74 @@ function pn(t, e) {
610
610
  return a && o.push(a), o;
611
611
  }
612
612
  function dn(t) {
613
- const e = ze(t.path.value);
613
+ const e = Ke(t.path.value);
614
614
  return new RegExp(`^${e}$`, "i");
615
615
  }
616
616
  function hn(t) {
617
617
  const e = new URLSearchParams(t.query.value);
618
- return Array.from(e.entries()).filter(([, r]) => !ce(r)).map(([r, n]) => {
619
- const o = ze(n);
620
- return new RegExp(`${se(r)}=${o}(&|$)`, "i");
618
+ return Array.from(e.entries()).filter(([, r]) => !ue(r)).map(([r, n]) => {
619
+ const o = Ke(n);
620
+ return new RegExp(`${ie(r)}=${o}(&|$)`, "i");
621
621
  });
622
622
  }
623
- function ze(t) {
624
- return pn(t, new RegExp(Ft, "g")).map((e) => e.startsWith(At) ? Qe(e) : se(e)).join("");
623
+ function Ke(t) {
624
+ return pn(t, new RegExp(Ft, "g")).map((e) => e.startsWith(At) ? Ye(e) : ie(e)).join("");
625
625
  }
626
- function Qe(t) {
626
+ function Ye(t) {
627
627
  return t.replace(new RegExp(Ft, "g"), ".+");
628
628
  }
629
629
  function yn(t, e) {
630
- const r = Ke(e);
630
+ const r = Xe(e);
631
631
  return t.replace(r, "(.*)");
632
632
  }
633
- function ie(t, e) {
633
+ function ce(t, e) {
634
634
  return gn(e).test(t.value);
635
635
  }
636
- function ce(t) {
636
+ function ue(t) {
637
637
  return new RegExp(mn, "g").test(t);
638
638
  }
639
639
  const Ft = `\\${At}\\??([\\w-_]+)\\${Dt}`, mn = `\\${At}\\?([\\w-_]+)\\${Dt}`;
640
- function ue(t) {
641
- const [e] = Ye(t, new RegExp(Ft, "g"));
640
+ function fe(t) {
641
+ const [e] = tr(t, new RegExp(Ft, "g"));
642
642
  return e;
643
643
  }
644
- function Ke(t) {
644
+ function Xe(t) {
645
645
  return new RegExp(`\\${At}\\??${t}\\${Dt}`, "g");
646
646
  }
647
647
  function gn(t) {
648
648
  return new RegExp(`\\${At}\\?${t}\\${Dt}`, "g");
649
649
  }
650
- function Ye(t, e) {
650
+ function tr(t, e) {
651
651
  return Array.from(t.matchAll(e)).flatMap(([, ...n]) => n.map((o) => W(o) ? o : ""));
652
652
  }
653
653
  function Rn(t = "", e = {}) {
654
654
  return W(t) ? Array.from(t.matchAll(new RegExp(Ft, "g"))).reduce((n, [o, a]) => {
655
- const s = ue(o);
655
+ const s = fe(o);
656
656
  if (!s)
657
657
  return n;
658
- const p = cn(e, s);
658
+ const p = un(e, s);
659
659
  return bt([s], n), n[a] = p, n;
660
660
  }, {}) : {};
661
661
  }
662
662
  function wn(t) {
663
663
  return mt(t) && typeof t.value == "string";
664
664
  }
665
- function tt(t) {
666
- return t === void 0 ? Q() : wn(t) ? t : Q(t, {});
665
+ function et(t) {
666
+ return t === void 0 ? K() : wn(t) ? t : K(t, {});
667
667
  }
668
- function Q(t, e) {
668
+ function K(t, e) {
669
669
  return {
670
670
  value: t ?? "",
671
671
  params: Rn(t, e)
672
672
  };
673
673
  }
674
- function Xe(t, e) {
674
+ function er(t, e) {
675
675
  bt(t.params, e.params);
676
676
  const r = `${t.value}${e.value}`;
677
- return Q(r, { ...t.params, ...e.params });
677
+ return K(r, { ...t.params, ...e.params });
678
678
  }
679
679
  function vn(t, e) {
680
- return Xe(t, e);
680
+ return er(t, e);
681
681
  }
682
682
  function En(t, e) {
683
683
  return bn(t, e), { ...t, ...e };
@@ -685,35 +685,35 @@ function En(t, e) {
685
685
  function bn(t, e) {
686
686
  const r = Object.keys(t).find((n) => n in e && typeof e[n] != typeof t[n]);
687
687
  if (r)
688
- throw new Gr(r);
688
+ throw new Qr(r);
689
689
  }
690
690
  function Sn(t, e) {
691
691
  bt(t.params, e.params);
692
692
  const r = [t.value, e.value].filter(W).join("&");
693
- return Q(r, { ...t.params, ...e.params });
693
+ return K(r, { ...t.params, ...e.params });
694
694
  }
695
695
  function Pn(t, e) {
696
696
  return bt(t, e), { ...t, ...e };
697
697
  }
698
- function tr(t) {
698
+ function rr(t) {
699
699
  return "parent" in t && !!t.parent;
700
700
  }
701
- function er(t) {
701
+ function nr(t) {
702
702
  return "component" in t && !!t.component;
703
703
  }
704
- function ve(t) {
704
+ function be(t) {
705
705
  return "props" in t && typeof t.props == "function";
706
706
  }
707
- function rr(t) {
707
+ function or(t) {
708
708
  return "components" in t && !!t.components;
709
709
  }
710
- function Ee(t) {
710
+ function Se(t) {
711
711
  return "props" in t && typeof t.props == "object";
712
712
  }
713
- function nr(t, e) {
713
+ function ar(t, e) {
714
714
  return {
715
715
  ...e,
716
- path: Xe(t.path, e.path),
716
+ path: er(t.path, e.path),
717
717
  query: Sn(t.query, e.query),
718
718
  meta: En(t.meta, e.meta),
719
719
  state: Pn(t.state, e.state),
@@ -723,10 +723,10 @@ function nr(t, e) {
723
723
  depth: t.depth + 1
724
724
  };
725
725
  }
726
- function fe() {
726
+ function le() {
727
727
  return typeof window < "u" && typeof window.document < "u";
728
728
  }
729
- function le(t) {
729
+ function pe(t) {
730
730
  const e = new URLSearchParams(t);
731
731
  return {
732
732
  get: (...r) => e.get(...r),
@@ -755,20 +755,20 @@ function le(t) {
755
755
  [Symbol.iterator]: () => e[Symbol.iterator]()
756
756
  };
757
757
  }
758
- function pe() {
758
+ function de() {
759
759
  let t = 0;
760
760
  return () => (++t).toString();
761
761
  }
762
- const An = pe()();
762
+ const An = de()();
763
763
  function kn(t) {
764
764
  return t === An;
765
765
  }
766
- const de = pe();
767
- function or(t) {
766
+ const he = de();
767
+ function sr(t) {
768
768
  return t === void 0 ? "" : t;
769
769
  }
770
770
  function gt(t, e) {
771
- const r = de(), n = or(t.name), o = tt(t.path), a = tt(t.query), s = tt(t.hash), p = t.meta ?? {}, h = t.state ?? {}, u = Ut({ id: r, meta: p, state: h, ...t, props: e }), m = {
771
+ const r = he(), n = sr(t.name), o = et(t.path), a = et(t.query), s = et(t.hash), p = t.meta ?? {}, h = t.state ?? {}, u = Ut({ id: r, meta: p, state: h, ...t, props: e }), m = {
772
772
  id: r,
773
773
  matched: u,
774
774
  matches: [u],
@@ -779,25 +779,25 @@ function gt(t, e) {
779
779
  meta: p,
780
780
  state: h,
781
781
  depth: 1,
782
- host: Q(),
782
+ host: K(),
783
783
  prefetch: t.prefetch
784
- }, R = tr(t) ? nr(t.parent, m) : m;
784
+ }, R = rr(t) ? ar(t.parent, m) : m;
785
785
  return bt(R.path.params, R.query.params, R.hash.params), R;
786
786
  }
787
- const Vt = { template: "<div>This is component</div>" }, he = gt({
787
+ const Vt = { template: "<div>This is component</div>" }, ye = gt({
788
788
  name: "parentA",
789
789
  path: "/parentA/[paramA]"
790
- }), ar = gt({
791
- parent: he,
790
+ }), ir = gt({
791
+ parent: ye,
792
792
  name: "parentA.childA",
793
793
  path: "/childA/[?paramB]"
794
794
  }), xn = gt({
795
- parent: he,
795
+ parent: ye,
796
796
  name: "parentA.childB",
797
797
  path: "/childB/[paramD]",
798
798
  component: Vt
799
799
  }), Nn = gt({
800
- parent: ar,
800
+ parent: ir,
801
801
  name: "parentA.childA.grandChildA",
802
802
  path: "/[paramC]",
803
803
  component: Vt
@@ -818,8 +818,8 @@ const Ln = "lazy", Un = {
818
818
  function Lt(t) {
819
819
  return ["eager", "lazy", "intent"].includes(t);
820
820
  }
821
- function sr({ routerPrefetch: t, routePrefetch: e, linkPrefetch: r }, n) {
822
- const o = zt(r, n), a = zt(e, n), s = zt(t, n), p = [
821
+ function cr({ routerPrefetch: t, routePrefetch: e, linkPrefetch: r }, n) {
822
+ const o = Qt(r, n), a = Qt(e, n), s = Qt(t, n), p = [
823
823
  o,
824
824
  a,
825
825
  s,
@@ -828,10 +828,10 @@ function sr({ routerPrefetch: t, routePrefetch: e, linkPrefetch: r }, n) {
828
828
  ].reduce((h, u) => Lt(h) ? h : h === !0 && Lt(u) ? u : h === !0 && !Lt(u) ? h : h === void 0 ? u : h, void 0);
829
829
  return Lt(p) ? p : !1;
830
830
  }
831
- function zt(t, e) {
831
+ function Qt(t, e) {
832
832
  return mt(t) ? t[e] : t;
833
833
  }
834
- class ir extends Error {
834
+ class ur extends Error {
835
835
  constructor() {
836
836
  super("Uncaught CallbackContextAbortError");
837
837
  T(this, "response");
@@ -852,7 +852,7 @@ class Zt extends Error {
852
852
  this.response = { status: "REJECT", type: r };
853
853
  }
854
854
  }
855
- function cr() {
855
+ function fr() {
856
856
  return { reject: (o) => {
857
857
  throw new Zt(o);
858
858
  }, push: (...o) => {
@@ -865,18 +865,18 @@ function cr() {
865
865
  const p = a, h = s ?? {};
866
866
  throw new yt([o, p, { ...h, replace: !0 }]);
867
867
  }, abort: () => {
868
- throw new ir();
868
+ throw new ur();
869
869
  } };
870
870
  }
871
- function be(t) {
871
+ function Pe(t) {
872
872
  try {
873
873
  const e = t();
874
- return ne(e) ? e.catch((r) => r) : e;
874
+ return oe(e) ? e.catch((r) => r) : e;
875
875
  } catch (e) {
876
876
  return e;
877
877
  }
878
878
  }
879
- function ur() {
879
+ function lr() {
880
880
  let t = null;
881
881
  function e(n) {
882
882
  t = n;
@@ -889,12 +889,12 @@ function ur() {
889
889
  runWithContext: r
890
890
  };
891
891
  }
892
- const fr = Symbol();
892
+ const pr = Symbol();
893
893
  function Bn() {
894
- const { setVueApp: t, runWithContext: e } = ur(), r = Ht(/* @__PURE__ */ new Map()), { push: n, replace: o, reject: a } = cr(), s = (v, i, f) => i.matches.filter((c) => sr({ ...f, routePrefetch: c.prefetch }, "props") === v).flatMap((c) => S(c)).reduce((c, { id: l, name: E, props: A }) => {
894
+ const { setVueApp: t, runWithContext: e } = lr(), r = qt(/* @__PURE__ */ new Map()), { push: n, replace: o, reject: a } = fr(), s = (v, i, f) => i.matches.filter((c) => cr({ ...f, routePrefetch: c.prefetch }, "props") === v).flatMap((c) => S(c)).reduce((c, { id: l, name: E, props: A }) => {
895
895
  if (!A)
896
896
  return c;
897
- const P = L(l, E, i), g = e(() => be(() => A(i, {
897
+ const P = L(l, E, i), g = e(() => Pe(() => A(i, {
898
898
  push: n,
899
899
  replace: o,
900
900
  reject: a,
@@ -912,7 +912,7 @@ function Bn() {
912
912
  continue;
913
913
  const P = L(l, E, v);
914
914
  if (f.push(P), !r.has(P)) {
915
- const g = e(() => be(() => A(v, {
915
+ const g = e(() => Pe(() => A(v, {
916
916
  push: n,
917
917
  replace: o,
918
918
  reject: a,
@@ -941,12 +941,12 @@ function Bn() {
941
941
  function m(v, i = !1) {
942
942
  const f = v.matches.at(-2);
943
943
  if (f)
944
- return ve(f) ? {
944
+ return be(f) ? {
945
945
  name: f.name ?? "",
946
946
  get props() {
947
947
  return R(f, "default", v, i);
948
948
  }
949
- } : Ee(f) ? {
949
+ } : Se(f) ? {
950
950
  name: f.name ?? "",
951
951
  props: new Proxy({}, {
952
952
  get(c, l) {
@@ -973,13 +973,13 @@ function Bn() {
973
973
  return [v, i, f.id, JSON.stringify(f.params)].join("-");
974
974
  }
975
975
  function S(v) {
976
- return ve(v) ? [
976
+ return be(v) ? [
977
977
  {
978
978
  id: v.id,
979
979
  name: "default",
980
980
  props: v.props
981
981
  }
982
- ] : Ee(v) ? Object.entries(v.props).map(([i, f]) => ({ id: v.id, name: i, props: f })) : [];
982
+ ] : Se(v) ? Object.entries(v.props).map(([i, f]) => ({ id: v.id, name: i, props: f })) : [];
983
983
  }
984
984
  function U(v) {
985
985
  for (const i of r.keys())
@@ -993,51 +993,51 @@ function Bn() {
993
993
  setVueApp: t
994
994
  };
995
995
  }
996
- function lr() {
997
- const t = it(fr);
996
+ function dr() {
997
+ const t = it(pr);
998
998
  if (!t)
999
999
  throw new Et();
1000
1000
  return t;
1001
1001
  }
1002
- const Cn = Or(() => new Promise((t) => {
1002
+ const Cn = jr(() => new Promise((t) => {
1003
1003
  t({ default: { template: "foo" } });
1004
1004
  }));
1005
- function Se(t) {
1005
+ function Ae(t) {
1006
1006
  return t.name === Cn.name && "__asyncLoader" in t;
1007
1007
  }
1008
- const pr = Symbol("visibilityObserver");
1008
+ const hr = Symbol("visibilityObserver");
1009
1009
  function Vn(t) {
1010
- const e = it(pr);
1010
+ const e = it(hr);
1011
1011
  if (!e)
1012
1012
  throw new Et();
1013
- return nt(t, (n, o) => {
1013
+ return ot(t, (n, o) => {
1014
1014
  n && e.observe(n), o && e.unobserve(o);
1015
- }, { immediate: !0 }), qt(() => {
1015
+ }, { immediate: !0 }), Ht(() => {
1016
1016
  t.value && e.unobserve(t.value);
1017
1017
  }), {
1018
- isElementVisible: Z(() => t.value ? e.isElementVisible(t.value) : !1)
1018
+ isElementVisible: O(() => t.value ? e.isElementVisible(t.value) : !1)
1019
1019
  };
1020
1020
  }
1021
- function Pe(t, e, r) {
1022
- nt(t, (n, o) => {
1021
+ function ke(t, e, r) {
1022
+ ot(t, (n, o) => {
1023
1023
  n && n.addEventListener(e, r), o && o.removeEventListener(e, r);
1024
- }, { immediate: !0 }), qt(() => {
1024
+ }, { immediate: !0 }), Ht(() => {
1025
1025
  t.value && t.value.removeEventListener(e, r);
1026
1026
  });
1027
1027
  }
1028
1028
  function Zn(t) {
1029
- const e = /* @__PURE__ */ new Map(), r = Pt(), { getPrefetchProps: n, setPrefetchProps: o } = lr(), { isElementVisible: a } = Vn(r), s = () => {
1029
+ const e = /* @__PURE__ */ new Map(), r = Pt(), { getPrefetchProps: n, setPrefetchProps: o } = dr(), { isElementVisible: a } = Vn(r), s = () => {
1030
1030
  const u = Array.from(e.values()).reduce((m, R) => (Object.assign(m, R), m), {});
1031
1031
  o(u);
1032
1032
  };
1033
- nt(() => $(t), ({ route: u, ...m }) => {
1033
+ ot(() => V(t), ({ route: u, ...m }) => {
1034
1034
  e.clear(), u && h("eager", u, m);
1035
- }, { immediate: !0 }), nt(a, (u) => {
1036
- const { route: m, ...R } = $(t);
1035
+ }, { immediate: !0 }), ot(a, (u) => {
1036
+ const { route: m, ...R } = V(t);
1037
1037
  !m || !u || h("lazy", m, R);
1038
- }, { immediate: !0 }), Pe(r, "focusin", p), Pe(r, "mouseover", p);
1038
+ }, { immediate: !0 }), ke(r, "focusin", p), ke(r, "mouseover", p);
1039
1039
  function p() {
1040
- const { route: u, ...m } = $(t);
1040
+ const { route: u, ...m } = V(t);
1041
1041
  u && h("intent", u, m);
1042
1042
  }
1043
1043
  function h(u, m, R) {
@@ -1050,17 +1050,17 @@ function Zn(t) {
1050
1050
  }
1051
1051
  function On(t, e, r) {
1052
1052
  e.matches.forEach((n) => {
1053
- sr({
1053
+ cr({
1054
1054
  ...r,
1055
1055
  routePrefetch: n.prefetch
1056
- }, "components") === t && (er(n) && Se(n.component) && n.component.__asyncLoader(), rr(n) && Object.values(n.components).forEach((a) => {
1057
- Se(a) && a.__asyncLoader();
1056
+ }, "components") === t && (nr(n) && Ae(n.component) && n.component.__asyncLoader(), or(n) && Object.values(n.components).forEach((a) => {
1057
+ Ae(a) && a.__asyncLoader();
1058
1058
  }));
1059
1059
  });
1060
1060
  }
1061
- const dr = Symbol("isRouterRouteSymbol");
1061
+ const yr = Symbol("isRouterRouteSymbol");
1062
1062
  function jn(t) {
1063
- return typeof t == "object" && t !== null && dr in t;
1063
+ return typeof t == "object" && t !== null && yr in t;
1064
1064
  }
1065
1065
  function $n(t, e) {
1066
1066
  function r(i, f, c) {
@@ -1086,7 +1086,7 @@ function $n(t, e) {
1086
1086
  }, a = (...i) => {
1087
1087
  const f = new URLSearchParams(t.query);
1088
1088
  f.delete(...i), r({}, { query: f });
1089
- }, { id: s, matched: p, matches: h, name: u, hash: m, href: R } = jr(t), L = Z({
1089
+ }, { id: s, matched: p, matches: h, name: u, hash: m, href: R } = $r(t), L = O({
1090
1090
  get() {
1091
1091
  return new Proxy(t.params, {
1092
1092
  set(i, f, c) {
@@ -1097,7 +1097,7 @@ function $n(t, e) {
1097
1097
  set(i) {
1098
1098
  r(i);
1099
1099
  }
1100
- }), S = Z({
1100
+ }), S = O({
1101
1101
  get() {
1102
1102
  return new Proxy(t.query, {
1103
1103
  get(i, f, c) {
@@ -1117,7 +1117,7 @@ function $n(t, e) {
1117
1117
  set(i) {
1118
1118
  r({}, { query: i });
1119
1119
  }
1120
- }), U = Z({
1120
+ }), U = O({
1121
1121
  get() {
1122
1122
  return new Proxy(t.state, {
1123
1123
  set(i, f, c) {
@@ -1129,7 +1129,7 @@ function $n(t, e) {
1129
1129
  r({}, { state: i });
1130
1130
  }
1131
1131
  });
1132
- return Ht({
1132
+ return qt({
1133
1133
  id: s,
1134
1134
  matched: p,
1135
1135
  matches: h,
@@ -1140,13 +1140,13 @@ function $n(t, e) {
1140
1140
  name: u,
1141
1141
  href: R,
1142
1142
  update: r,
1143
- [dr]: !0
1143
+ [yr]: !0
1144
1144
  });
1145
1145
  }
1146
- function ee(t, e, { exact: r } = {}) {
1146
+ function re(t, e, { exact: r } = {}) {
1147
1147
  return jn(t) ? e === void 0 ? !0 : r ? t.matched.name === e : t.matches.map((n) => n.name).includes(e) : !1;
1148
1148
  }
1149
- function ye(...t) {
1149
+ function me(...t) {
1150
1150
  const e = new URLSearchParams();
1151
1151
  for (const r of t) {
1152
1152
  const n = new URLSearchParams(r);
@@ -1156,28 +1156,28 @@ function ye(...t) {
1156
1156
  return e;
1157
1157
  }
1158
1158
  function _n(t, e = {}, r = {}) {
1159
- const n = It(), o = Z(() => {
1160
- const i = $(t);
1161
- return typeof i != "string" ? i : M(i) ? n.find(i, $(r)) : n.resolve(i, $(e), $(r));
1162
- }), a = Z(() => {
1159
+ const n = It(), o = O(() => {
1160
+ const i = V(t);
1161
+ return typeof i != "string" ? i : M(i) ? n.find(i, V(r)) : n.resolve(i, V(e), V(r));
1162
+ }), a = O(() => {
1163
1163
  if (o.value)
1164
1164
  return o.value.href;
1165
- const i = $(t);
1165
+ const i = V(t);
1166
1166
  if (M(i))
1167
1167
  return i;
1168
1168
  console.error(new Error("Failed to resolve route in RouterLink."));
1169
- }), s = Z(() => ee(n.route) && n.route.matches.some((i) => {
1169
+ }), s = O(() => re(n.route) && n.route.matches.some((i) => {
1170
1170
  var f;
1171
1171
  return i.id === ((f = o.value) == null ? void 0 : f.id);
1172
- })), p = Z(() => {
1172
+ })), p = O(() => {
1173
1173
  var i;
1174
1174
  return n.route.id === ((i = o.value) == null ? void 0 : i.id);
1175
- }), h = Z(() => ee(n.route) && tn(o.value) && n.route.href.startsWith(o.value.href)), u = Z(() => {
1175
+ }), h = O(() => re(n.route) && en(o.value) && n.route.href.startsWith(o.value.href)), u = O(() => {
1176
1176
  var i;
1177
1177
  return n.route.href === ((i = o.value) == null ? void 0 : i.href);
1178
- }), m = Z(() => !!a.value && n.isExternal(a.value)), R = Z(() => {
1179
- const i = $(t);
1180
- return typeof i != "string" || M(i) ? $(e) : $(r);
1178
+ }), m = O(() => !!a.value && n.isExternal(a.value)), R = O(() => {
1179
+ const i = V(t);
1180
+ return typeof i != "string" || M(i) ? V(e) : V(r);
1181
1181
  }), { element: L, commit: S } = Zn(() => ({
1182
1182
  route: o.value,
1183
1183
  routerPrefetch: n.prefetch,
@@ -1186,11 +1186,11 @@ function _n(t, e = {}, r = {}) {
1186
1186
  S();
1187
1187
  const f = {
1188
1188
  replace: (i == null ? void 0 : i.replace) ?? R.value.replace,
1189
- query: ye(R.value.query, i == null ? void 0 : i.query),
1189
+ query: me(R.value.query, i == null ? void 0 : i.query),
1190
1190
  hash: (i == null ? void 0 : i.hash) ?? R.value.hash,
1191
1191
  state: { ...R.value.state, ...i == null ? void 0 : i.state }
1192
- }, c = $(t);
1193
- return M(c) || typeof c == "object" ? n.push(c, f) : n.push(c, $(e), f);
1192
+ }, c = V(t);
1193
+ return M(c) || typeof c == "object" ? n.push(c, f) : n.push(c, V(e), f);
1194
1194
  };
1195
1195
  return {
1196
1196
  element: L,
@@ -1205,10 +1205,10 @@ function _n(t, e = {}, r = {}) {
1205
1205
  replace: (i) => U({ ...i, replace: !0 })
1206
1206
  };
1207
1207
  }
1208
- const Hn = ["href"], qn = {
1208
+ const qn = ["href"], Hn = {
1209
1209
  name: "RouterLink"
1210
1210
  }, In = /* @__PURE__ */ vt({
1211
- ...qn,
1211
+ ...Hn,
1212
1212
  props: {
1213
1213
  to: {},
1214
1214
  prefetch: { type: [Boolean, String, Object], default: void 0 },
@@ -1218,10 +1218,10 @@ const Hn = ["href"], qn = {
1218
1218
  state: {}
1219
1219
  },
1220
1220
  setup(t) {
1221
- const e = t, r = It(), n = Z(() => U(e.to)), o = Z(() => v(e.to)), a = Z(() => {
1221
+ const e = t, r = It(), n = O(() => U(e.to)), o = O(() => v(e.to)), a = O(() => {
1222
1222
  const { to: f, ...c } = e;
1223
1223
  return c;
1224
- }), { element: s, isMatch: p, isExactMatch: h, isActive: u, isExactActive: m, isExternal: R, push: L } = _n(() => typeof e.to == "function" ? e.to(r.resolve) : e.to, a), S = Z(() => ({
1224
+ }), { element: s, isMatch: p, isExactMatch: h, isActive: u, isExactActive: m, isExternal: R, push: L } = _n(() => typeof e.to == "function" ? e.to(r.resolve) : e.to, a), S = O(() => ({
1225
1225
  "router-link--match": p.value,
1226
1226
  "router-link--exact-match": h.value,
1227
1227
  "router-link--active": u.value,
@@ -1244,65 +1244,65 @@ const Hn = ["href"], qn = {
1244
1244
  function i(f) {
1245
1245
  f.preventDefault(), L();
1246
1246
  }
1247
- return (f, c) => (Oe(), $r("a", {
1247
+ return (f, c) => ($e(), _r("a", {
1248
1248
  ref_key: "element",
1249
1249
  ref: s,
1250
1250
  href: o.value,
1251
- class: _r(["router-link", S.value]),
1251
+ class: qr(["router-link", S.value]),
1252
1252
  onClick: i
1253
1253
  }, [
1254
- je(f.$slots, "default", $e(Hr({ route: n.value, isMatch: X(p), isExactMatch: X(h), isActive: X(u), isExactActive: X(m), isExternal: X(R) })))
1255
- ], 10, Hn));
1254
+ _e(f.$slots, "default", qe(Hr({ route: n.value, isMatch: tt(p), isExactMatch: tt(h), isActive: tt(u), isExactActive: tt(m), isExternal: tt(R) })))
1255
+ ], 10, qn));
1256
1256
  }
1257
- }), hr = Symbol();
1257
+ }), mr = Symbol();
1258
1258
  function Dn() {
1259
- const t = it(hr);
1259
+ const t = it(mr);
1260
1260
  if (!t)
1261
1261
  throw new Et();
1262
1262
  return t;
1263
1263
  }
1264
- function yr(t, e) {
1264
+ function ge(t, e) {
1265
1265
  const r = It();
1266
1266
  function n() {
1267
1267
  if (!t)
1268
1268
  return;
1269
- if (!ee(r.route, t, e))
1269
+ if (!re(r.route, t, e))
1270
1270
  throw new zr(t, r.route.name);
1271
1271
  }
1272
- return nt(r.route, n, { immediate: !0, deep: !0 }), r.route;
1272
+ return ot(r.route, n, { immediate: !0, deep: !0 }), r.route;
1273
1273
  }
1274
- const mr = Symbol();
1275
- function me() {
1276
- return it(mr, 0);
1274
+ const gr = Symbol();
1275
+ function Re() {
1276
+ return it(gr, 0);
1277
1277
  }
1278
1278
  function Jn(t, e, r) {
1279
1279
  return vt({
1280
1280
  name: "PropsWrapper",
1281
1281
  expose: [],
1282
1282
  setup() {
1283
- const n = qr(), o = lr(), a = yr();
1283
+ const n = Ir(), o = dr(), a = ge();
1284
1284
  return () => {
1285
1285
  const s = o.getProps(t.id, e, a);
1286
- return s instanceof Error ? "" : ne(s) ? n != null && n.suspense ? dt(Tn, { component: r, props: s }) : dt(Fn, { component: r, props: s }) : dt(r, s);
1286
+ return s instanceof Error ? "" : oe(s) ? n != null && n.suspense ? dt(Tn, { component: r, props: s }) : dt(Fn, { component: r, props: s }) : dt(r, s);
1287
1287
  };
1288
1288
  }
1289
1289
  });
1290
1290
  }
1291
1291
  const Fn = vt((t) => {
1292
1292
  const e = Pt();
1293
- return nt(() => t.props, async (r) => {
1293
+ return ot(() => t.props, async (r) => {
1294
1294
  e.value = await r;
1295
1295
  }, { immediate: !0, deep: !0 }), () => e.value instanceof Error ? "" : e.value ? dt(t.component, e.value) : "";
1296
1296
  }, {
1297
1297
  props: ["component", "props"]
1298
1298
  }), Tn = vt(async (t) => {
1299
1299
  const e = Pt();
1300
- return e.value = await t.props, nt(() => e.value, async (r) => {
1300
+ return e.value = await t.props, ot(() => e.value, async (r) => {
1301
1301
  e.value = await r;
1302
1302
  }, { deep: !0 }), () => e.value instanceof Error ? "" : e.value ? dt(t.component, e.value) : "";
1303
1303
  }, {
1304
1304
  props: ["component", "props"]
1305
- }), gr = Symbol();
1305
+ }), Rr = Symbol();
1306
1306
  function Mn() {
1307
1307
  const t = /* @__PURE__ */ new Map();
1308
1308
  return {
@@ -1316,34 +1316,34 @@ function Mn() {
1316
1316
  };
1317
1317
  }
1318
1318
  function Wn(t) {
1319
- return rr(t) ? Ae(t, t.components) : er(t) ? Ae(t, { default: t.component }) : { default: Rr };
1319
+ return or(t) ? xe(t, t.components) : nr(t) ? xe(t, { default: t.component }) : { default: wr };
1320
1320
  }
1321
- function Ae(t, e) {
1321
+ function xe(t, e) {
1322
1322
  return Object.fromEntries(
1323
1323
  Object.entries(e).map(([r, n]) => [r, Jn(t, r, n)])
1324
1324
  );
1325
1325
  }
1326
1326
  function Gn() {
1327
- const t = it(gr);
1327
+ const t = it(Rr);
1328
1328
  if (!t)
1329
1329
  throw new Et();
1330
1330
  return t;
1331
1331
  }
1332
- const zn = {
1332
+ const Qn = {
1333
1333
  name: "RouterView"
1334
- }, Rr = /* @__PURE__ */ vt({
1335
- ...zn,
1334
+ }, wr = /* @__PURE__ */ vt({
1335
+ ...Qn,
1336
1336
  props: {
1337
1337
  name: { default: "default" }
1338
1338
  },
1339
1339
  setup(t) {
1340
- const e = yr(), r = It(), n = Dn(), o = me();
1341
- Ir(async () => {
1340
+ const e = ge(), r = It(), n = Dn(), o = Re();
1341
+ Dr(async () => {
1342
1342
  await r.start();
1343
1343
  });
1344
1344
  const { getRouteComponents: a } = Gn();
1345
- Dr(mr, o + 1);
1346
- const s = Z(() => {
1345
+ Jr(gr, o + 1);
1346
+ const s = O(() => {
1347
1347
  if (!r.started.value)
1348
1348
  return null;
1349
1349
  if (n.value)
@@ -1351,11 +1351,39 @@ const zn = {
1351
1351
  const p = e.matches.at(o);
1352
1352
  return p ? a(p)[t.name] : null;
1353
1353
  });
1354
- return (p, h) => s.value ? je(p.$slots, "default", $e(Fr({ key: 0 }, { route: X(e), component: s.value, rejection: X(n) })), () => [
1355
- (Oe(), Tr(Mr(s.value)))
1356
- ]) : Jr("", !0);
1354
+ return (p, h) => s.value ? _e(p.$slots, "default", qe(Tr({ key: 0 }, { route: tt(e), component: s.value, rejection: tt(n) })), () => [
1355
+ ($e(), Mr(Wr(s.value)))
1356
+ ]) : Fr("", !0);
1357
1357
  }
1358
1358
  });
1359
+ function Do(t, e = String) {
1360
+ const r = ge(), n = O({
1361
+ get() {
1362
+ const a = r.query.get(V(t));
1363
+ return a === null ? null : ee(a, e);
1364
+ },
1365
+ set(a) {
1366
+ r.query.set(V(t), z(a, e));
1367
+ }
1368
+ }), o = O({
1369
+ get() {
1370
+ return r.query.getAll(V(t)).map((s) => ee(s, e)).filter((s) => s !== null);
1371
+ },
1372
+ set(a) {
1373
+ const s = new URLSearchParams(r.query);
1374
+ s.delete(V(t)), a.forEach((p) => {
1375
+ s.append(V(t), z(p, e));
1376
+ }), r.query = s;
1377
+ }
1378
+ });
1379
+ return {
1380
+ value: n,
1381
+ values: o,
1382
+ remove: () => {
1383
+ r.query.delete(V(t));
1384
+ }
1385
+ };
1386
+ }
1359
1387
  class st {
1360
1388
  constructor() {
1361
1389
  T(this, "onBeforeRouteEnter", /* @__PURE__ */ new Set());
@@ -1378,7 +1406,7 @@ const kt = (t, e, r) => {
1378
1406
  var n, o;
1379
1407
  return ((n = t.matches.at(r)) == null ? void 0 : n.id) === ((o = e == null ? void 0 : e.matches.at(r)) == null ? void 0 : o.id);
1380
1408
  };
1381
- function ke(t) {
1409
+ function Ne(t) {
1382
1410
  switch (t) {
1383
1411
  case "onBeforeRouteEnter":
1384
1412
  case "onAfterRouteEnter":
@@ -1393,7 +1421,7 @@ function ke(t) {
1393
1421
  throw new Error(`Switch is not exhaustive for lifecycle: ${t}`);
1394
1422
  }
1395
1423
  }
1396
- function Qn(t, e) {
1424
+ function zn(t, e) {
1397
1425
  const r = new st();
1398
1426
  return t.matches.forEach((n, o) => {
1399
1427
  n.onBeforeRouteEnter && kt(t, e, o) && ht(n.onBeforeRouteEnter).forEach((a) => r.onBeforeRouteEnter.add(a)), n.onBeforeRouteUpdate && Nt(t, e, o) && ht(n.onBeforeRouteUpdate).forEach((a) => r.onBeforeRouteUpdate.add(a));
@@ -1425,14 +1453,14 @@ function Xn(t, e, r) {
1425
1453
  xt(t, e, a) && r.onAfterRouteLeave.forEach((s) => n.onAfterRouteLeave.add(s));
1426
1454
  }), n;
1427
1455
  }
1428
- const wr = Symbol();
1456
+ const vr = Symbol();
1429
1457
  function to() {
1430
- const { setVueApp: t, runWithContext: e } = ur(), r = {
1458
+ const { setVueApp: t, runWithContext: e } = lr(), r = {
1431
1459
  global: new st(),
1432
1460
  component: new st()
1433
- }, { reject: n, push: o, replace: a, abort: s } = cr(), p = (c) => (r.global.onBeforeRouteEnter.add(c), () => r.global.onBeforeRouteEnter.delete(c)), h = (c) => (r.global.onBeforeRouteUpdate.add(c), () => r.global.onBeforeRouteUpdate.delete(c)), u = (c) => (r.global.onBeforeRouteLeave.add(c), () => r.global.onBeforeRouteLeave.delete(c)), m = (c) => (r.global.onAfterRouteEnter.add(c), () => r.global.onAfterRouteEnter.delete(c)), R = (c) => (r.global.onAfterRouteUpdate.add(c), () => r.global.onAfterRouteUpdate.delete(c)), L = (c) => (r.global.onAfterRouteLeave.add(c), () => r.global.onAfterRouteLeave.delete(c));
1461
+ }, { reject: n, push: o, replace: a, abort: s } = fr(), p = (c) => (r.global.onBeforeRouteEnter.add(c), () => r.global.onBeforeRouteEnter.delete(c)), h = (c) => (r.global.onBeforeRouteUpdate.add(c), () => r.global.onBeforeRouteUpdate.delete(c)), u = (c) => (r.global.onBeforeRouteLeave.add(c), () => r.global.onBeforeRouteLeave.delete(c)), m = (c) => (r.global.onAfterRouteEnter.add(c), () => r.global.onAfterRouteEnter.delete(c)), R = (c) => (r.global.onAfterRouteUpdate.add(c), () => r.global.onAfterRouteUpdate.delete(c)), L = (c) => (r.global.onAfterRouteLeave.add(c), () => r.global.onAfterRouteLeave.delete(c));
1434
1462
  async function S({ to: c, from: l }) {
1435
- const { global: E, component: A } = r, P = Qn(c, l), g = Yn(c, l, E), d = [
1463
+ const { global: E, component: A } = r, P = zn(c, l), g = Yn(c, l, E), d = [
1436
1464
  ...g.onBeforeRouteEnter,
1437
1465
  ...P.onBeforeRouteEnter,
1438
1466
  ...g.onBeforeRouteUpdate,
@@ -1452,7 +1480,7 @@ function to() {
1452
1480
  })));
1453
1481
  await Promise.all(y);
1454
1482
  } catch (y) {
1455
- if (y instanceof yt || y instanceof Zt || y instanceof ir)
1483
+ if (y instanceof yt || y instanceof Zt || y instanceof ur)
1456
1484
  return y.response;
1457
1485
  throw y;
1458
1486
  }
@@ -1493,14 +1521,14 @@ function to() {
1493
1521
  runBeforeRouteHooks: S,
1494
1522
  runAfterRouteHooks: U,
1495
1523
  addComponentBeforeRouteHook: ({ lifecycle: c, depth: l, hook: E }) => {
1496
- const A = ke(c), P = r.component[c], g = (d, y) => {
1524
+ const A = Ne(c), P = r.component[c], g = (d, y) => {
1497
1525
  if (A(d, y.from, l))
1498
1526
  return E(d, y);
1499
1527
  };
1500
1528
  return P.add(g), () => P.delete(g);
1501
1529
  },
1502
1530
  addComponentAfterRouteHook: ({ lifecycle: c, depth: l, hook: E }) => {
1503
- const A = ke(c), P = r.component[c], g = (d, y) => {
1531
+ const A = Ne(c), P = r.component[c], g = (d, y) => {
1504
1532
  if (A(d, y.from, l))
1505
1533
  return E(d, y);
1506
1534
  };
@@ -1518,44 +1546,44 @@ function to() {
1518
1546
  setVueApp: t
1519
1547
  };
1520
1548
  }
1521
- function vr() {
1522
- const t = it(wr);
1549
+ function Er() {
1550
+ const t = it(vr);
1523
1551
  if (!t)
1524
1552
  throw new Et();
1525
1553
  return t;
1526
1554
  }
1527
- function Er(t) {
1555
+ function br(t) {
1528
1556
  return (e) => {
1529
- const r = me(), o = vr().addComponentBeforeRouteHook({ lifecycle: t, hook: e, depth: r - 1 });
1530
- return qt(o), o;
1557
+ const r = Re(), o = Er().addComponentBeforeRouteHook({ lifecycle: t, hook: e, depth: r - 1 });
1558
+ return Ht(o), o;
1531
1559
  };
1532
1560
  }
1533
- function br(t) {
1561
+ function Sr(t) {
1534
1562
  return (e) => {
1535
- const r = me(), o = vr().addComponentAfterRouteHook({ lifecycle: t, hook: e, depth: r - 1 });
1536
- return qt(o), o;
1563
+ const r = Re(), o = Er().addComponentAfterRouteHook({ lifecycle: t, hook: e, depth: r - 1 });
1564
+ return Ht(o), o;
1537
1565
  };
1538
1566
  }
1539
- const Do = Er("onBeforeRouteLeave"), Jo = Er("onBeforeRouteUpdate"), Fo = br("onAfterRouteLeave"), To = br("onAfterRouteUpdate");
1540
- function Y() {
1541
- return Y = Object.assign ? Object.assign.bind() : function(t) {
1567
+ const Jo = br("onBeforeRouteLeave"), Fo = br("onBeforeRouteUpdate"), To = Sr("onAfterRouteLeave"), Mo = Sr("onAfterRouteUpdate");
1568
+ function X() {
1569
+ return X = Object.assign ? Object.assign.bind() : function(t) {
1542
1570
  for (var e = 1; e < arguments.length; e++) {
1543
1571
  var r = arguments[e];
1544
1572
  for (var n in r) ({}).hasOwnProperty.call(r, n) && (t[n] = r[n]);
1545
1573
  }
1546
1574
  return t;
1547
- }, Y.apply(null, arguments);
1575
+ }, X.apply(null, arguments);
1548
1576
  }
1549
- var j;
1577
+ var $;
1550
1578
  (function(t) {
1551
1579
  t.Pop = "POP", t.Push = "PUSH", t.Replace = "REPLACE";
1552
- })(j || (j = {}));
1580
+ })($ || ($ = {}));
1553
1581
  var Rt = process.env.NODE_ENV !== "production" ? function(t) {
1554
1582
  return Object.freeze(t);
1555
1583
  } : function(t) {
1556
1584
  return t;
1557
1585
  };
1558
- function et(t, e) {
1586
+ function rt(t, e) {
1559
1587
  if (!t) {
1560
1588
  typeof console < "u" && console.warn(e);
1561
1589
  try {
@@ -1564,8 +1592,8 @@ function et(t, e) {
1564
1592
  }
1565
1593
  }
1566
1594
  }
1567
- var Ot = "beforeunload", eo = "hashchange", Sr = "popstate";
1568
- function xe(t) {
1595
+ var Ot = "beforeunload", eo = "hashchange", Pr = "popstate";
1596
+ function Le(t) {
1569
1597
  t === void 0 && (t = {});
1570
1598
  var e = t, r = e.window, n = r === void 0 ? document.defaultView : r, o = n.history;
1571
1599
  function a() {
@@ -1583,7 +1611,7 @@ function xe(t) {
1583
1611
  if (s)
1584
1612
  S.call(s), s = null;
1585
1613
  else {
1586
- var g = j.Pop, d = a(), y = d[0], k = d[1];
1614
+ var g = $.Pop, d = a(), y = d[0], k = d[1];
1587
1615
  if (S.length)
1588
1616
  if (y != null) {
1589
1617
  var x = m - y;
@@ -1595,7 +1623,7 @@ function xe(t) {
1595
1623
  }
1596
1624
  }, A(x));
1597
1625
  } else
1598
- process.env.NODE_ENV !== "production" && et(
1626
+ process.env.NODE_ENV !== "production" && rt(
1599
1627
  !1,
1600
1628
  // TODO: Write up a doc that explains our blocking strategy in
1601
1629
  // detail and link to it here so people can understand better what
@@ -1606,16 +1634,16 @@ function xe(t) {
1606
1634
  c(g);
1607
1635
  }
1608
1636
  }
1609
- n.addEventListener(Sr, p);
1610
- var h = j.Pop, u = a(), m = u[0], R = u[1], L = wt(), S = wt();
1611
- m == null && (m = 0, o.replaceState(Y({}, o.state, {
1637
+ n.addEventListener(Pr, p);
1638
+ var h = $.Pop, u = a(), m = u[0], R = u[1], L = wt(), S = wt();
1639
+ m == null && (m = 0, o.replaceState(X({}, o.state, {
1612
1640
  idx: m
1613
1641
  }), ""));
1614
1642
  function U(g) {
1615
- return typeof g == "string" ? g : rt(g);
1643
+ return typeof g == "string" ? g : nt(g);
1616
1644
  }
1617
1645
  function v(g, d) {
1618
- return d === void 0 && (d = null), Rt(Y({
1646
+ return d === void 0 && (d = null), Rt(X({
1619
1647
  pathname: R.pathname,
1620
1648
  hash: "",
1621
1649
  search: ""
@@ -1647,14 +1675,14 @@ function xe(t) {
1647
1675
  });
1648
1676
  }
1649
1677
  function l(g, d) {
1650
- var y = j.Push, k = v(g, d);
1678
+ var y = $.Push, k = v(g, d);
1651
1679
  function x() {
1652
1680
  l(g, d);
1653
1681
  }
1654
1682
  if (f(y, k, x)) {
1655
- var C = i(k, m + 1), O = C[0], _ = C[1];
1683
+ var C = i(k, m + 1), j = C[0], _ = C[1];
1656
1684
  try {
1657
- o.pushState(O, "", _);
1685
+ o.pushState(j, "", _);
1658
1686
  } catch {
1659
1687
  n.location.assign(_);
1660
1688
  }
@@ -1662,13 +1690,13 @@ function xe(t) {
1662
1690
  }
1663
1691
  }
1664
1692
  function E(g, d) {
1665
- var y = j.Replace, k = v(g, d);
1693
+ var y = $.Replace, k = v(g, d);
1666
1694
  function x() {
1667
1695
  E(g, d);
1668
1696
  }
1669
1697
  if (f(y, k, x)) {
1670
- var C = i(k, m), O = C[0], _ = C[1];
1671
- o.replaceState(O, "", _), c(y);
1698
+ var C = i(k, m), j = C[0], _ = C[1];
1699
+ o.replaceState(j, "", _), c(y);
1672
1700
  }
1673
1701
  }
1674
1702
  function A(g) {
@@ -1707,13 +1735,13 @@ function ro(t) {
1707
1735
  t === void 0 && (t = {});
1708
1736
  var e = t, r = e.window, n = r === void 0 ? document.defaultView : r, o = n.history;
1709
1737
  function a() {
1710
- var d = St(n.location.hash.substr(1)), y = d.pathname, k = y === void 0 ? "/" : y, x = d.search, C = x === void 0 ? "" : x, O = d.hash, _ = O === void 0 ? "" : O, H = o.state || {};
1711
- return [H.idx, Rt({
1738
+ var d = St(n.location.hash.substr(1)), y = d.pathname, k = y === void 0 ? "/" : y, x = d.search, C = x === void 0 ? "" : x, j = d.hash, _ = j === void 0 ? "" : j, q = o.state || {};
1739
+ return [q.idx, Rt({
1712
1740
  pathname: k,
1713
1741
  search: C,
1714
1742
  hash: _,
1715
- state: H.usr || null,
1716
- key: H.key || "default"
1743
+ state: q.usr || null,
1744
+ key: q.key || "default"
1717
1745
  })];
1718
1746
  }
1719
1747
  var s = null;
@@ -1721,7 +1749,7 @@ function ro(t) {
1721
1749
  if (s)
1722
1750
  S.call(s), s = null;
1723
1751
  else {
1724
- var d = j.Pop, y = a(), k = y[0], x = y[1];
1752
+ var d = $.Pop, y = a(), k = y[0], x = y[1];
1725
1753
  if (S.length)
1726
1754
  if (k != null) {
1727
1755
  var C = m - k;
@@ -1733,7 +1761,7 @@ function ro(t) {
1733
1761
  }
1734
1762
  }, P(C));
1735
1763
  } else
1736
- process.env.NODE_ENV !== "production" && et(
1764
+ process.env.NODE_ENV !== "production" && rt(
1737
1765
  !1,
1738
1766
  // TODO: Write up a doc that explains our blocking strategy in
1739
1767
  // detail and link to it here so people can understand better
@@ -1744,12 +1772,12 @@ function ro(t) {
1744
1772
  l(d);
1745
1773
  }
1746
1774
  }
1747
- n.addEventListener(Sr, p), n.addEventListener(eo, function() {
1775
+ n.addEventListener(Pr, p), n.addEventListener(eo, function() {
1748
1776
  var d = a(), y = d[1];
1749
- rt(y) !== rt(R) && p();
1777
+ nt(y) !== nt(R) && p();
1750
1778
  });
1751
- var h = j.Pop, u = a(), m = u[0], R = u[1], L = wt(), S = wt();
1752
- m == null && (m = 0, o.replaceState(Y({}, o.state, {
1779
+ var h = $.Pop, u = a(), m = u[0], R = u[1], L = wt(), S = wt();
1780
+ m == null && (m = 0, o.replaceState(X({}, o.state, {
1753
1781
  idx: m
1754
1782
  }), ""));
1755
1783
  function U() {
@@ -1761,10 +1789,10 @@ function ro(t) {
1761
1789
  return y;
1762
1790
  }
1763
1791
  function v(d) {
1764
- return U() + "#" + (typeof d == "string" ? d : rt(d));
1792
+ return U() + "#" + (typeof d == "string" ? d : nt(d));
1765
1793
  }
1766
1794
  function i(d, y) {
1767
- return y === void 0 && (y = null), Rt(Y({
1795
+ return y === void 0 && (y = null), Rt(X({
1768
1796
  pathname: R.pathname,
1769
1797
  hash: "",
1770
1798
  search: ""
@@ -1796,28 +1824,28 @@ function ro(t) {
1796
1824
  });
1797
1825
  }
1798
1826
  function E(d, y) {
1799
- var k = j.Push, x = i(d, y);
1827
+ var k = $.Push, x = i(d, y);
1800
1828
  function C() {
1801
1829
  E(d, y);
1802
1830
  }
1803
- if (process.env.NODE_ENV !== "production" && et(x.pathname.charAt(0) === "/", "Relative pathnames are not supported in hash history.push(" + JSON.stringify(d) + ")"), c(k, x, C)) {
1804
- var O = f(x, m + 1), _ = O[0], H = O[1];
1831
+ if (process.env.NODE_ENV !== "production" && rt(x.pathname.charAt(0) === "/", "Relative pathnames are not supported in hash history.push(" + JSON.stringify(d) + ")"), c(k, x, C)) {
1832
+ var j = f(x, m + 1), _ = j[0], q = j[1];
1805
1833
  try {
1806
- o.pushState(_, "", H);
1834
+ o.pushState(_, "", q);
1807
1835
  } catch {
1808
- n.location.assign(H);
1836
+ n.location.assign(q);
1809
1837
  }
1810
1838
  l(k);
1811
1839
  }
1812
1840
  }
1813
1841
  function A(d, y) {
1814
- var k = j.Replace, x = i(d, y);
1842
+ var k = $.Replace, x = i(d, y);
1815
1843
  function C() {
1816
1844
  A(d, y);
1817
1845
  }
1818
- if (process.env.NODE_ENV !== "production" && et(x.pathname.charAt(0) === "/", "Relative pathnames are not supported in hash history.replace(" + JSON.stringify(d) + ")"), c(k, x, C)) {
1819
- var O = f(x, m), _ = O[0], H = O[1];
1820
- o.replaceState(_, "", H), l(k);
1846
+ if (process.env.NODE_ENV !== "production" && rt(x.pathname.charAt(0) === "/", "Relative pathnames are not supported in hash history.replace(" + JSON.stringify(d) + ")"), c(k, x, C)) {
1847
+ var j = f(x, m), _ = j[0], q = j[1];
1848
+ o.replaceState(_, "", q), l(k);
1821
1849
  }
1822
1850
  }
1823
1851
  function P(d) {
@@ -1852,23 +1880,23 @@ function ro(t) {
1852
1880
  };
1853
1881
  return g;
1854
1882
  }
1855
- function Ne(t) {
1883
+ function Ue(t) {
1856
1884
  t === void 0 && (t = {});
1857
1885
  var e = t, r = e.initialEntries, n = r === void 0 ? ["/"] : r, o = e.initialIndex, a = n.map(function(l) {
1858
- var E = Rt(Y({
1886
+ var E = Rt(X({
1859
1887
  pathname: "/",
1860
1888
  search: "",
1861
1889
  hash: "",
1862
1890
  state: null,
1863
1891
  key: $t()
1864
1892
  }, typeof l == "string" ? St(l) : l));
1865
- return process.env.NODE_ENV !== "production" && et(E.pathname.charAt(0) === "/", "Relative pathnames are not supported in createMemoryHistory({ initialEntries }) (invalid entry: " + JSON.stringify(l) + ")"), E;
1866
- }), s = Le(o ?? a.length - 1, 0, a.length - 1), p = j.Pop, h = a[s], u = wt(), m = wt();
1893
+ return process.env.NODE_ENV !== "production" && rt(E.pathname.charAt(0) === "/", "Relative pathnames are not supported in createMemoryHistory({ initialEntries }) (invalid entry: " + JSON.stringify(l) + ")"), E;
1894
+ }), s = Be(o ?? a.length - 1, 0, a.length - 1), p = $.Pop, h = a[s], u = wt(), m = wt();
1867
1895
  function R(l) {
1868
- return typeof l == "string" ? l : rt(l);
1896
+ return typeof l == "string" ? l : nt(l);
1869
1897
  }
1870
1898
  function L(l, E) {
1871
- return E === void 0 && (E = null), Rt(Y({
1899
+ return E === void 0 && (E = null), Rt(X({
1872
1900
  pathname: h.pathname,
1873
1901
  search: "",
1874
1902
  hash: ""
@@ -1891,21 +1919,21 @@ function Ne(t) {
1891
1919
  });
1892
1920
  }
1893
1921
  function v(l, E) {
1894
- var A = j.Push, P = L(l, E);
1922
+ var A = $.Push, P = L(l, E);
1895
1923
  function g() {
1896
1924
  v(l, E);
1897
1925
  }
1898
- process.env.NODE_ENV !== "production" && et(h.pathname.charAt(0) === "/", "Relative pathnames are not supported in memory history.push(" + JSON.stringify(l) + ")"), S(A, P, g) && (s += 1, a.splice(s, a.length, P), U(A, P));
1926
+ process.env.NODE_ENV !== "production" && rt(h.pathname.charAt(0) === "/", "Relative pathnames are not supported in memory history.push(" + JSON.stringify(l) + ")"), S(A, P, g) && (s += 1, a.splice(s, a.length, P), U(A, P));
1899
1927
  }
1900
1928
  function i(l, E) {
1901
- var A = j.Replace, P = L(l, E);
1929
+ var A = $.Replace, P = L(l, E);
1902
1930
  function g() {
1903
1931
  i(l, E);
1904
1932
  }
1905
- process.env.NODE_ENV !== "production" && et(h.pathname.charAt(0) === "/", "Relative pathnames are not supported in memory history.replace(" + JSON.stringify(l) + ")"), S(A, P, g) && (a[s] = P, U(A, P));
1933
+ process.env.NODE_ENV !== "production" && rt(h.pathname.charAt(0) === "/", "Relative pathnames are not supported in memory history.replace(" + JSON.stringify(l) + ")"), S(A, P, g) && (a[s] = P, U(A, P));
1906
1934
  }
1907
1935
  function f(l) {
1908
- var E = Le(s + l, 0, a.length - 1), A = j.Pop, P = a[E];
1936
+ var E = Be(s + l, 0, a.length - 1), A = $.Pop, P = a[E];
1909
1937
  function g() {
1910
1938
  f(l);
1911
1939
  }
@@ -1940,7 +1968,7 @@ function Ne(t) {
1940
1968
  };
1941
1969
  return c;
1942
1970
  }
1943
- function Le(t, e, r) {
1971
+ function Be(t, e, r) {
1944
1972
  return Math.min(Math.max(t, e), r);
1945
1973
  }
1946
1974
  function jt(t) {
@@ -1969,7 +1997,7 @@ function wt() {
1969
1997
  function $t() {
1970
1998
  return Math.random().toString(36).substr(2, 8);
1971
1999
  }
1972
- function rt(t) {
2000
+ function nt(t) {
1973
2001
  var e = t.pathname, r = e === void 0 ? "/" : e, n = t.search, o = n === void 0 ? "" : n, a = t.hash, s = a === void 0 ? "" : a;
1974
2002
  return o && o !== "?" && (r += o.charAt(0) === "?" ? o : "?" + o), s && s !== "#" && (r += s.charAt(0) === "#" ? s : "#" + s), r;
1975
2003
  }
@@ -1983,11 +2011,11 @@ function St(t) {
1983
2011
  }
1984
2012
  return e;
1985
2013
  }
1986
- const Pr = Symbol();
2014
+ const Ar = Symbol();
1987
2015
  function no(t, e) {
1988
- const r = Ht({ ...t }), n = (s) => {
2016
+ const r = qt({ ...t }), n = (s) => {
1989
2017
  Object.assign(r, {
1990
- [Pr]: !1,
2018
+ [Ar]: !1,
1991
2019
  ...s
1992
2020
  });
1993
2021
  }, o = r, a = $n(o, e);
@@ -2034,7 +2062,7 @@ function io({ mode: t, listener: e }) {
2034
2062
  }
2035
2063
  r.push(h, u == null ? void 0 : u.state);
2036
2064
  }, o = () => {
2037
- const h = rt(r.location);
2065
+ const h = nt(r.location);
2038
2066
  r.replace(h);
2039
2067
  };
2040
2068
  let a;
@@ -2053,11 +2081,11 @@ function io({ mode: t, listener: e }) {
2053
2081
  function co(t = "auto") {
2054
2082
  switch (t) {
2055
2083
  case "auto":
2056
- return fe() ? xe() : Ne();
2084
+ return le() ? Le() : Ue();
2057
2085
  case "browser":
2058
- return xe();
2086
+ return Le();
2059
2087
  case "memory":
2060
- return Ne();
2088
+ return Ue();
2061
2089
  case "hash":
2062
2090
  return ro();
2063
2091
  default:
@@ -2074,7 +2102,7 @@ function uo(t) {
2074
2102
  function fo(t) {
2075
2103
  const e = (a) => Ut(t[a] ?? uo(a)), r = (a) => {
2076
2104
  const s = Ut(e(a)), p = {
2077
- id: de(),
2105
+ id: he(),
2078
2106
  component: s,
2079
2107
  meta: {},
2080
2108
  state: {}
@@ -2084,12 +2112,12 @@ function fo(t) {
2084
2112
  matched: p,
2085
2113
  matches: [p],
2086
2114
  name: a,
2087
- query: le(""),
2115
+ query: pe(""),
2088
2116
  params: {},
2089
2117
  state: {},
2090
2118
  href: "/",
2091
2119
  hash: "",
2092
- [Pr]: !0
2120
+ [Ar]: !0
2093
2121
  };
2094
2122
  }, n = (a) => {
2095
2123
  if (!a) {
@@ -2113,22 +2141,22 @@ class lo extends Error {
2113
2141
  function po(t) {
2114
2142
  if (t)
2115
2143
  return t;
2116
- if (fe())
2144
+ if (le())
2117
2145
  return window.location.toString();
2118
2146
  throw new lo();
2119
2147
  }
2120
- function Ar(t) {
2148
+ function kr(t) {
2121
2149
  return !!t && typeof t == "object";
2122
2150
  }
2123
2151
  const _t = !0;
2124
2152
  function ho(t, e, r) {
2125
- if (Ar(t) && e in t) {
2153
+ if (kr(t) && e in t) {
2126
2154
  const n = t[e];
2127
- return typeof n == "string" ? ot(n, r, _t) : n;
2155
+ return typeof n == "string" ? at(n, r, _t) : n;
2128
2156
  }
2129
- return ot(void 0, r, _t);
2157
+ return at(void 0, r, _t);
2130
2158
  }
2131
- function kr(t, e) {
2159
+ function xr(t, e) {
2132
2160
  const r = {};
2133
2161
  for (const [n, o] of Object.entries(t)) {
2134
2162
  const a = ho(e, n, o);
@@ -2137,13 +2165,13 @@ function kr(t, e) {
2137
2165
  return r;
2138
2166
  }
2139
2167
  function yo(t, e, r) {
2140
- if (Ar(t) && e in t) {
2168
+ if (kr(t) && e in t) {
2141
2169
  const n = t[e];
2142
- return at(n, r, _t);
2170
+ return z(n, r, _t);
2143
2171
  }
2144
- return at(void 0, r, _t);
2172
+ return z(void 0, r, _t);
2145
2173
  }
2146
- const Ue = (t, e) => {
2174
+ const Ce = (t, e) => {
2147
2175
  const r = {};
2148
2176
  for (const [n, o] of Object.entries(t)) {
2149
2177
  const a = yo(e, n, o);
@@ -2152,7 +2180,7 @@ const Ue = (t, e) => {
2152
2180
  return r;
2153
2181
  };
2154
2182
  function mo() {
2155
- const t = Ht(/* @__PURE__ */ new Map()), e = fe() ? s() : null, r = (p) => {
2183
+ const t = qt(/* @__PURE__ */ new Map()), e = le() ? s() : null, r = (p) => {
2156
2184
  t.set(p, !1), e == null || e.observe(p);
2157
2185
  }, n = (p) => {
2158
2186
  t.delete(p), e == null || e.unobserve(p);
@@ -2178,64 +2206,64 @@ class go extends Error {
2178
2206
  super(`Route not found: "${e}"`);
2179
2207
  }
2180
2208
  }
2181
- function xr(t, e, r) {
2182
- const n = yn(e.value, r), o = Qe(n), [a] = Ye(t, new RegExp(o, "g"));
2209
+ function Nr(t, e, r) {
2210
+ const n = yn(e.value, r), o = Ye(n), [a] = tr(t, new RegExp(o, "g"));
2183
2211
  return a;
2184
2212
  }
2185
- function Nr(t, e, r, n) {
2186
- const o = ie(e, r), a = at(n, e.params[r], o);
2187
- return t.replace(Ke(r), a);
2213
+ function Lr(t, e, r, n) {
2214
+ const o = ce(e, r), a = z(n, e.params[r], o);
2215
+ return t.replace(Xe(r), a);
2188
2216
  }
2189
- function Lr({ protocol: t, host: e, pathname: r, search: n, searchParams: o, hash: a }) {
2217
+ function Ur({ protocol: t, host: e, pathname: r, search: n, searchParams: o, hash: a }) {
2190
2218
  const s = new URL("https://localhost");
2191
2219
  t && (s.protocol = t), e && (s.host = e), r && (s.pathname = r), o ? s.search = new URLSearchParams(o).toString() : n && (s.search = n), a && (s.hash = a);
2192
2220
  const p = s.toString().replace(/^https:\/\/localhost\/*/, "/");
2193
- return _e(p);
2221
+ return He(p);
2194
2222
  }
2195
2223
  function Ro(t, e = {}) {
2196
- const { params: r = {}, query: n } = e, o = vo(t.query, r), a = ye(o, n), s = Be(t.path, r), p = t.hash.value ? Be(t.hash, r) : e.hash, h = wo(t.host, r), { protocol: u, host: m } = I(h);
2197
- return Lr({ protocol: u, host: m, pathname: s, searchParams: a, hash: p });
2224
+ const { params: r = {}, query: n } = e, o = vo(t.query, r), a = me(o, n), s = Ve(t.path, r), p = t.hash.value ? Ve(t.hash, r) : e.hash, h = wo(t.host, r), { protocol: u, host: m } = I(h);
2225
+ return Ur({ protocol: u, host: m, pathname: s, searchParams: a, hash: p });
2198
2226
  }
2199
2227
  function wo(t, e) {
2200
2228
  const r = t.value && !t.value.startsWith("http") ? `https://${t.value}` : t.value;
2201
- return Object.keys(t.params).reduce((n, o) => Nr(n, t, o, e[o]), r);
2229
+ return Object.keys(t.params).reduce((n, o) => Lr(n, t, o, e[o]), r);
2202
2230
  }
2203
- function Be(t, e) {
2204
- return Object.keys(t.params).reduce((r, n) => Nr(r, t, n, e[n]), t.value);
2231
+ function Ve(t, e) {
2232
+ return Object.keys(t.params).reduce((r, n) => Lr(r, t, n, e[n]), t.value);
2205
2233
  }
2206
2234
  function vo(t, e) {
2207
2235
  const r = new URLSearchParams(t.value);
2208
2236
  if (!t.value)
2209
2237
  return r;
2210
2238
  for (const [n, o] of Array.from(r.entries())) {
2211
- const a = ue(o);
2239
+ const a = fe(o);
2212
2240
  if (!a)
2213
2241
  continue;
2214
- const p = ce(o), h = at(e[a], t.params[a], p), u = e[a] === void 0 && h === "";
2242
+ const p = ue(o), h = z(e[a], t.params[a], p), u = e[a] === void 0 && h === "";
2215
2243
  p && u ? r.delete(n, o) : r.set(n, h);
2216
2244
  }
2217
2245
  return r;
2218
2246
  }
2219
2247
  const Eo = (t, e) => {
2220
2248
  try {
2221
- ge(t, e);
2249
+ we(t, e);
2222
2250
  } catch {
2223
2251
  return !1;
2224
2252
  }
2225
2253
  return !0;
2226
- }, ge = (t, e) => {
2254
+ }, we = (t, e) => {
2227
2255
  const { protocol: r, host: n, pathname: o, search: a, hash: s } = I(e);
2228
2256
  return {
2229
- ...Qt(t.host, `${r}//${n}`),
2230
- ...Qt(t.path, o),
2257
+ ...zt(t.host, `${r}//${n}`),
2258
+ ...zt(t.path, o),
2231
2259
  ...bo(t.query, a),
2232
- ...Qt(t.hash, s)
2260
+ ...zt(t.hash, s)
2233
2261
  };
2234
2262
  };
2235
- function Qt(t, e) {
2263
+ function zt(t, e) {
2236
2264
  const r = {}, n = decodeURIComponent(e);
2237
2265
  for (const [o, a] of Object.entries(t.params)) {
2238
- const s = xr(n, t, o), p = ie(t, o), h = ot(s, a, p);
2266
+ const s = Nr(n, t, o), p = ce(t, o), h = at(s, a, p);
2239
2267
  r[o] = h;
2240
2268
  }
2241
2269
  return r;
@@ -2243,10 +2271,10 @@ function Qt(t, e) {
2243
2271
  function bo(t, e) {
2244
2272
  const r = {}, n = new URLSearchParams(t.value), o = new URLSearchParams(e);
2245
2273
  for (const [a, s] of Array.from(n.entries())) {
2246
- const p = ue(s);
2274
+ const p = fe(s);
2247
2275
  if (!p)
2248
2276
  continue;
2249
- const u = ce(s), m = o.get(a) ?? void 0, R = ot(m, t.params[p], u);
2277
+ const u = ue(s), m = o.get(a) ?? void 0, R = at(m, t.params[p], u);
2250
2278
  r[p] = R;
2251
2279
  }
2252
2280
  return r;
@@ -2262,9 +2290,9 @@ function So(t, e = {}, r = {}) {
2262
2290
  matched: t.matched,
2263
2291
  matches: t.matches,
2264
2292
  name: t.name,
2265
- query: le(o),
2266
- params: ge(t, n),
2267
- state: kr(t.state, r.state),
2293
+ query: pe(o),
2294
+ params: we(t, n),
2295
+ state: xr(t.state, r.state),
2268
2296
  hash: a,
2269
2297
  href: n
2270
2298
  };
@@ -2275,22 +2303,22 @@ const Po = (t) => "name" in t.matched && !!t.matched.name, Ao = (t, e) => {
2275
2303
  }, ko = (t, e) => {
2276
2304
  const { search: r } = I(e);
2277
2305
  return hn(t).every((o) => o.test(r));
2278
- }, re = (t, e) => {
2306
+ }, ne = (t, e) => {
2279
2307
  const { hash: r } = I(e), { value: n } = t.hash;
2280
2308
  return W(n) ? `#${n.replace(/^#*/, "")}`.toLowerCase() === r.toLowerCase() : !0;
2281
2309
  };
2282
2310
  function xo(t) {
2283
2311
  const { searchParams: e, pathname: r } = I(t), n = -1, o = 1;
2284
2312
  return (a, s) => {
2285
- const p = Ve(a, e), h = Ce(a, r), u = Ve(s, e), m = Ce(s, r);
2286
- return a.depth > s.depth ? n : a.depth < s.depth ? o : p + h > u + m ? n : p + h < u + m ? o : re(a, t) ? n : re(s, t) ? o : 0;
2313
+ const p = Oe(a, e), h = Ze(a, r), u = Oe(s, e), m = Ze(s, r);
2314
+ return a.depth > s.depth ? n : a.depth < s.depth ? o : p + h > u + m ? n : p + h < u + m ? o : ne(a, t) ? n : ne(s, t) ? o : 0;
2287
2315
  };
2288
2316
  }
2289
- function Ce(t, e) {
2290
- const r = Object.keys(t.path.params).filter((o) => ie(t.path, o)).map((o) => o), n = r.filter((o) => xr(e, t.path, o) === void 0);
2317
+ function Ze(t, e) {
2318
+ const r = Object.keys(t.path.params).filter((o) => ce(t.path, o)).map((o) => o), n = r.filter((o) => Nr(e, t.path, o) === void 0);
2291
2319
  return r.length - n.length;
2292
2320
  }
2293
- function Ve(t, e) {
2321
+ function Oe(t, e) {
2294
2322
  const r = new URLSearchParams(e), n = new URLSearchParams(t.query.value), o = Array.from(n.keys()), a = o.filter((s) => !r.has(s));
2295
2323
  return o.length - a.length;
2296
2324
  }
@@ -2298,7 +2326,7 @@ const No = [
2298
2326
  Po,
2299
2327
  Ao,
2300
2328
  ko,
2301
- re,
2329
+ ne,
2302
2330
  Eo
2303
2331
  ];
2304
2332
  function Lo(t, e) {
@@ -2315,20 +2343,20 @@ function Uo(t, e, r) {
2315
2343
  matched: o.matched,
2316
2344
  matches: o.matches,
2317
2345
  name: o.name,
2318
- query: le(a),
2319
- params: ge(o, e),
2320
- state: kr(o.state, r),
2346
+ query: pe(a),
2347
+ params: we(o, e),
2348
+ state: xr(o.state, r),
2321
2349
  hash: s,
2322
- href: _e(e)
2350
+ href: He(e)
2323
2351
  };
2324
2352
  }
2325
- function Ze(t, e) {
2353
+ function je(t, e) {
2326
2354
  const r = typeof t == "string" ? I(t) : t, n = typeof e == "string" ? I(e) : e, o = r.searchParams ?? new URLSearchParams(r.search), a = n.searchParams ?? new URLSearchParams(n.search);
2327
- return Lr({
2355
+ return Ur({
2328
2356
  protocol: W(n.protocol) ? n.protocol : r.protocol,
2329
2357
  host: W(n.host) ? n.host : r.host,
2330
2358
  pathname: W(n.pathname) ? n.pathname : r.pathname,
2331
- searchParams: ye(a, o),
2359
+ searchParams: me(a, o),
2332
2360
  hash: W(n.hash) ? n.hash : r.hash
2333
2361
  });
2334
2362
  }
@@ -2337,7 +2365,7 @@ function Bo(t, e) {
2337
2365
  const n = `${e}${r.path.value}`;
2338
2366
  return {
2339
2367
  ...r,
2340
- path: Q(n, r.path.params)
2368
+ path: K(n, r.path.params)
2341
2369
  };
2342
2370
  }) : t;
2343
2371
  }
@@ -2353,7 +2381,7 @@ class Co extends Error {
2353
2381
  function Vo(t) {
2354
2382
  const e = t.map(({ name: r }) => r);
2355
2383
  for (const r of e)
2356
- if (qe(e, r) > 1)
2384
+ if (De(e, r) > 1)
2357
2385
  throw new Co(r);
2358
2386
  }
2359
2387
  function Zo(t, e = [], r) {
@@ -2373,13 +2401,13 @@ function ft(t, e, r) {
2373
2401
  ...r.map((o) => o[t])
2374
2402
  ].flat().filter((o) => o !== void 0);
2375
2403
  }
2376
- function Mo(t, e, r = []) {
2404
+ function Wo(t, e, r = []) {
2377
2405
  const n = Zo(t, r, e == null ? void 0 : e.base), o = to();
2378
2406
  o.addGlobalRouteHooks(Oo(e, r));
2379
- const a = pe(), s = Bn(), p = Mn(), h = mo(), u = io({
2407
+ const a = de(), s = Bn(), p = Mn(), h = mo(), u = io({
2380
2408
  mode: e == null ? void 0 : e.historyMode,
2381
2409
  listener: ({ location: b }) => {
2382
- const B = rt(b);
2410
+ const B = nt(b);
2383
2411
  R(B, { state: b.state, replace: !0 });
2384
2412
  }
2385
2413
  });
@@ -2392,25 +2420,25 @@ function Mo(t, e, r = []) {
2392
2420
  u.update(b, B);
2393
2421
  return;
2394
2422
  }
2395
- const D = m(b, B) ?? c("NotFound"), q = Ur(G), K = await o.runBeforeRouteHooks({ to: D, from: q });
2396
- switch (K.status) {
2423
+ const D = m(b, B) ?? c("NotFound"), H = Br(G), Y = await o.runBeforeRouteHooks({ to: D, from: H });
2424
+ switch (Y.status) {
2397
2425
  // On abort do nothing
2398
2426
  case "ABORT":
2399
2427
  return;
2400
2428
  // On push update the history, and push new route, and return
2401
2429
  case "PUSH":
2402
- u.update(b, B), await S(...K.to);
2430
+ u.update(b, B), await S(...Y.to);
2403
2431
  return;
2404
2432
  // On reject update the history, the route, and set the rejection type
2405
2433
  case "REJECT":
2406
- u.update(b, B), i(K.type);
2434
+ u.update(b, B), i(Y.type);
2407
2435
  break;
2408
2436
  // On success update history, set the route, and clear the rejection
2409
2437
  case "SUCCESS":
2410
2438
  u.update(b, B), i(null);
2411
2439
  break;
2412
2440
  default:
2413
- throw new Error(`Switch is not exhaustive for before hook response status: ${JSON.stringify(K)}`);
2441
+ throw new Error(`Switch is not exhaustive for before hook response status: ${JSON.stringify(Y)}`);
2414
2442
  }
2415
2443
  const Tt = G;
2416
2444
  s.setProps(D).then((J) => {
@@ -2429,7 +2457,7 @@ function Mo(t, e, r = []) {
2429
2457
  throw new Error(`Switch is not exhaustive for prop store response status: ${JSON.stringify(Mt)}`);
2430
2458
  }
2431
2459
  }), P(D);
2432
- const F = await o.runAfterRouteHooks({ to: D, from: q });
2460
+ const F = await o.runAfterRouteHooks({ to: D, from: H });
2433
2461
  switch (F.status) {
2434
2462
  case "PUSH":
2435
2463
  await S(...F.to);
@@ -2446,35 +2474,35 @@ function Mo(t, e, r = []) {
2446
2474
  u.startListening();
2447
2475
  }
2448
2476
  const L = (b, B = {}, G = {}) => {
2449
- const D = n.find((q) => q.name === b);
2477
+ const D = n.find((H) => H.name === b);
2450
2478
  if (!D)
2451
2479
  throw new go(String(b));
2452
2480
  return So(D, B, G);
2453
2481
  }, S = (b, B, G) => {
2454
2482
  if (M(b)) {
2455
- const F = { ...B }, J = Ze(b, {
2483
+ const F = { ...B }, J = je(b, {
2456
2484
  searchParams: F.query,
2457
2485
  hash: F.hash
2458
2486
  });
2459
2487
  return R(J, F);
2460
2488
  }
2461
2489
  if (typeof b == "string") {
2462
- const { replace: F, ...J } = { ...G }, Mt = { ...B }, Wt = L(b, Mt, J), Cr = Ue({ ...Wt.matched.state }, { ...Wt.state, ...J.state });
2463
- return R(Wt.href, { replace: F, state: Cr });
2490
+ const { replace: F, ...J } = { ...G }, Mt = { ...B }, Wt = L(b, Mt, J), Vr = Ce({ ...Wt.matched.state }, { ...Wt.state, ...J.state });
2491
+ return R(Wt.href, { replace: F, state: Vr });
2464
2492
  }
2465
- const { replace: D, ...q } = { ...B }, K = Ue({ ...b.matched.state }, { ...b.state, ...q.state }), Tt = Ze(b.href, {
2466
- searchParams: q.query,
2467
- hash: q.hash
2493
+ const { replace: D, ...H } = { ...B }, Y = Ce({ ...b.matched.state }, { ...b.state, ...H.state }), Tt = je(b.href, {
2494
+ searchParams: H.query,
2495
+ hash: H.hash
2468
2496
  });
2469
- return R(Tt, { replace: D, state: K });
2497
+ return R(Tt, { replace: D, state: Y });
2470
2498
  }, U = (b, B, G) => {
2471
2499
  if (M(b)) {
2472
- const q = { ...B, replace: !0 };
2473
- return S(b, q);
2500
+ const H = { ...B, replace: !0 };
2501
+ return S(b, H);
2474
2502
  }
2475
2503
  if (typeof b == "string") {
2476
- const q = { ...G, replace: !0 }, K = { ...B };
2477
- return S(b, K, q);
2504
+ const H = { ...G, replace: !0 }, Y = { ...B };
2505
+ return S(b, Y, H);
2478
2506
  }
2479
2507
  const D = { ...B, replace: !0 };
2480
2508
  return S(b, D);
@@ -2485,22 +2513,22 @@ function Mo(t, e, r = []) {
2485
2513
  ...e == null ? void 0 : e.rejections
2486
2514
  }), l = c("NotFound"), { currentRoute: E, routerRoute: A, updateRoute: P } = no(l, S), g = po(e == null ? void 0 : e.initialUrl), d = u.location.state, { host: y } = I(g), k = so(y);
2487
2515
  let x = !1;
2488
- const C = Pt(!1), { promise: O, resolve: _ } = Promise.withResolvers();
2489
- async function H() {
2516
+ const C = Pt(!1), { promise: j, resolve: _ } = Promise.withResolvers();
2517
+ async function q() {
2490
2518
  if (x)
2491
- return O;
2492
- x = !0, rn(n) && await nn(), await R(g, { replace: !0, state: d }), u.startListening(), _(), C.value = !0;
2519
+ return j;
2520
+ x = !0, nn(n) && await on(), await R(g, { replace: !0, state: d }), u.startListening(), _(), C.value = !0;
2493
2521
  }
2494
- function Re() {
2522
+ function ve() {
2495
2523
  u.stopListening();
2496
2524
  }
2497
- function Ur(b) {
2525
+ function Br(b) {
2498
2526
  return kn(b) ? null : { ...E };
2499
2527
  }
2500
- function Br(b) {
2501
- o.setVueApp(b), s.setVueApp(b), b.component("RouterView", Rr), b.component("RouterLink", In), b.provide(hr, f), b.provide(wr, o), b.provide(fr, s), b.provide(gr, p), b.provide(pr, h), b.provide(He, we), H();
2528
+ function Cr(b) {
2529
+ o.setVueApp(b), s.setVueApp(b), b.component("RouterView", wr), b.component("RouterLink", In), b.provide(mr, f), b.provide(vr, o), b.provide(pr, s), b.provide(Rr, p), b.provide(hr, h), b.provide(Ie, Ee), q();
2502
2530
  }
2503
- const we = {
2531
+ const Ee = {
2504
2532
  route: A,
2505
2533
  resolve: L,
2506
2534
  find: m,
@@ -2511,7 +2539,7 @@ function Mo(t, e, r = []) {
2511
2539
  forward: u.forward,
2512
2540
  back: u.back,
2513
2541
  go: u.go,
2514
- install: Br,
2542
+ install: Cr,
2515
2543
  isExternal: k,
2516
2544
  onBeforeRouteEnter: o.onBeforeRouteEnter,
2517
2545
  onBeforeRouteUpdate: o.onBeforeRouteUpdate,
@@ -2520,13 +2548,13 @@ function Mo(t, e, r = []) {
2520
2548
  onAfterRouteUpdate: o.onAfterRouteUpdate,
2521
2549
  onAfterRouteLeave: o.onAfterRouteLeave,
2522
2550
  prefetch: e == null ? void 0 : e.prefetch,
2523
- start: H,
2551
+ start: q,
2524
2552
  started: C,
2525
- stop: Re
2553
+ stop: ve
2526
2554
  };
2527
- return we;
2555
+ return Ee;
2528
2556
  }
2529
- function Wo(t) {
2557
+ function Go(t) {
2530
2558
  return {
2531
2559
  routes: t.routes ?? [],
2532
2560
  rejections: t.rejections ?? {},
@@ -2537,7 +2565,7 @@ function jo(t) {
2537
2565
  return {
2538
2566
  get: (e, { invalid: r }) => {
2539
2567
  for (const n of t) {
2540
- const o = fn(e, n);
2568
+ const o = ee(e, n);
2541
2569
  if (o !== void 0)
2542
2570
  return o;
2543
2571
  }
@@ -2556,7 +2584,7 @@ function jo(t) {
2556
2584
  const $o = {
2557
2585
  separator: ","
2558
2586
  };
2559
- function Go(t, e = {}) {
2587
+ function Qo(t, e = {}) {
2560
2588
  const { separator: r } = { ...$o, ...e }, n = jo(t);
2561
2589
  return {
2562
2590
  get: (o, a) => o.split(r).map((s) => n.get(s, a)),
@@ -2575,20 +2603,20 @@ function zo(t, e = {}) {
2575
2603
  return {
2576
2604
  get: (n) => {
2577
2605
  const o = n.split(r);
2578
- return t.map((a, s) => ot(o.at(s), a));
2606
+ return t.map((a, s) => at(o.at(s), a));
2579
2607
  },
2580
2608
  set: (n, { invalid: o }) => {
2581
2609
  if (!Array.isArray(n))
2582
2610
  throw o("Expected a tuple");
2583
2611
  if (n.length !== t.length)
2584
2612
  throw o(`Expected tuple with ${t.length} values but received ${n.length} values`);
2585
- return t.map((a, s) => at(n.at(s), a)).join(r);
2613
+ return t.map((a, s) => z(n.at(s), a)).join(r);
2586
2614
  }
2587
2615
  };
2588
2616
  }
2589
- const Qo = Q, Ko = Q, Yo = Q;
2590
- function Xo(t) {
2591
- const e = de(), r = or(t.name), n = tt(t.path), o = tt(t.query), a = tt(t.hash), s = t.meta ?? {}, p = tt(t.host), h = Ut({ id: e, meta: {}, state: {}, ...t }), u = {
2617
+ const Ko = K, Yo = K, Xo = K;
2618
+ function ta(t) {
2619
+ const e = he(), r = sr(t.name), n = et(t.path), o = et(t.query), a = et(t.hash), s = t.meta ?? {}, p = et(t.host), h = Ut({ id: e, meta: {}, state: {}, ...t }), u = {
2592
2620
  id: e,
2593
2621
  matched: h,
2594
2622
  matches: [h],
@@ -2600,37 +2628,38 @@ function Xo(t) {
2600
2628
  meta: s,
2601
2629
  depth: 1,
2602
2630
  state: {}
2603
- }, m = tr(t) ? nr(t.parent, u) : u;
2631
+ }, m = rr(t) ? ar(t.parent, u) : u;
2604
2632
  return bt(m.path.params, m.query.params, m.host.params, m.hash.params), m;
2605
2633
  }
2606
2634
  export {
2607
- Wr as DuplicateParamsError,
2608
- Gr as MetaPropertyConflict,
2635
+ Gr as DuplicateParamsError,
2636
+ Qr as MetaPropertyConflict,
2609
2637
  In as RouterLink,
2610
2638
  Et as RouterNotInstalledError,
2611
- Rr as RouterView,
2639
+ wr as RouterView,
2612
2640
  zr as UseRouteInvalidError,
2613
- Go as arrayOf,
2614
- _e as asUrl,
2615
- Xo as createExternalRoute,
2616
- Yr as createParam,
2641
+ Qo as arrayOf,
2642
+ He as asUrl,
2643
+ ta as createExternalRoute,
2644
+ Xr as createParam,
2617
2645
  gt as createRoute,
2618
- Mo as createRouter,
2619
- Wo as createRouterPlugin,
2620
- Ko as host,
2621
- ee as isRoute,
2646
+ Wo as createRouter,
2647
+ Go as createRouterPlugin,
2648
+ Yo as host,
2649
+ re as isRoute,
2622
2650
  M as isUrl,
2623
- Fo as onAfterRouteLeave,
2624
- To as onAfterRouteUpdate,
2625
- Do as onBeforeRouteLeave,
2626
- Jo as onBeforeRouteUpdate,
2627
- Qo as path,
2628
- Yo as query,
2651
+ To as onAfterRouteLeave,
2652
+ Mo as onAfterRouteUpdate,
2653
+ Jo as onBeforeRouteLeave,
2654
+ Fo as onBeforeRouteUpdate,
2655
+ Ko as path,
2656
+ Xo as query,
2629
2657
  zo as tupleOf,
2630
2658
  jo as unionOf,
2631
2659
  _n as useLink,
2632
- yr as useRoute,
2660
+ Do as useQueryValue,
2661
+ ge as useRoute,
2633
2662
  It as useRouter,
2634
2663
  Io as withDefault,
2635
- Q as withParams
2664
+ K as withParams
2636
2665
  };