@stonecrop/desktop 0.2.54 → 0.2.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/desktop.js CHANGED
@@ -1,11 +1,11 @@
1
- import { defineComponent as X, ref as P, onMounted as Be, openBlock as I, createElementBlock as V, normalizeClass as Se, createElementVNode as B, Fragment as Ne, renderList as Ie, toDisplayString as ue, createCommentVNode as ye, withDirectives as Ze, vShow as on, computed as j, createBlock as xe, resolveDynamicComponent as rn, mergeProps as sn, effectScope as wo, markRaw as $e, inject as ae, onBeforeMount as Nr, shallowRef as Ir, toRaw as et, unref as $, shallowReactive as Cr, watch as F, nextTick as Re, hasInjectionContext as Pr, getCurrentInstance as We, reactive as ke, h as _o, provide as ft, isRef as tt, isReactive as an, toRef as ht, watchEffect as Dr, getCurrentScope as xt, onScopeDispose as St, toRefs as Cn, useTemplateRef as Nt, normalizeStyle as re, renderSlot as ve, createVNode as Et, withCtx as kt, readonly as Ar, customRef as Tr, createTextVNode as Eo, onBeforeUnmount as Rr, resolveComponent as Vr, withKeys as ct, vModelText as jr } from "vue";
2
- const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr = ["onClick"], Ur = { class: "dropdown-container" }, Hr = { class: "dropdown" }, Fr = ["onclick"], zr = ["href"], Gr = { class: "dropdown-item" }, qr = /* @__PURE__ */ X({
1
+ import { defineComponent as Z, ref as C, onMounted as Be, openBlock as I, createElementBlock as V, normalizeClass as Se, createElementVNode as M, Fragment as Ne, renderList as Ie, toDisplayString as ue, createCommentVNode as ye, withDirectives as Ze, vShow as on, computed as j, createBlock as xe, resolveDynamicComponent as rn, mergeProps as sn, effectScope as wo, markRaw as $e, inject as ae, onBeforeMount as Nr, shallowRef as Ir, toRaw as et, unref as k, shallowReactive as Cr, watch as z, nextTick as Re, hasInjectionContext as Pr, getCurrentInstance as We, reactive as ke, h as _o, provide as ft, isRef as tt, isReactive as an, toRef as ht, watchEffect as Dr, getCurrentScope as xt, onScopeDispose as St, toRefs as Cn, useTemplateRef as Nt, normalizeStyle as re, renderSlot as ve, createVNode as Et, withCtx as kt, readonly as Ar, customRef as Tr, createTextVNode as Eo, onBeforeUnmount as Rr, resolveComponent as Vr, withKeys as ct, vModelText as jr } from "vue";
2
+ const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr = ["onClick"], Ur = { class: "dropdown-container" }, Hr = { class: "dropdown" }, Fr = ["onclick"], zr = ["href"], Gr = { class: "dropdown-item" }, qr = /* @__PURE__ */ Z({
3
3
  __name: "ActionSet",
4
4
  props: {
5
5
  elements: {}
6
6
  },
7
7
  setup(e) {
8
- const t = P(e.elements), n = P(!1), o = P(null), r = P(!1), s = P(!1);
8
+ const t = C(e.elements), n = C(!1), o = C(null), r = C(!1), s = C(!1);
9
9
  Be(() => {
10
10
  i();
11
11
  });
@@ -27,12 +27,12 @@ const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr
27
27
  onMouseover: a,
28
28
  onMouseleave: c
29
29
  }, [
30
- B("div", Lr, [
31
- B("div", {
30
+ M("div", Lr, [
31
+ M("div", {
32
32
  id: "chevron",
33
33
  onClick: d[0] || (d[0] = (p) => s.value = !s.value)
34
34
  }, d[1] || (d[1] = [
35
- B("svg", {
35
+ M("svg", {
36
36
  class: "leftBar",
37
37
  version: "1.1",
38
38
  id: "Layer_1",
@@ -45,9 +45,9 @@ const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr
45
45
  width: "50",
46
46
  height: "50"
47
47
  }, [
48
- B("polygon", { points: "54.2,33.4 29.2,58.8 25,54.6 50,29.2 " })
48
+ M("polygon", { points: "54.2,33.4 29.2,58.8 25,54.6 50,29.2 " })
49
49
  ], -1),
50
- B("svg", {
50
+ M("svg", {
51
51
  class: "rightBar",
52
52
  version: "1.1",
53
53
  id: "Layer_1",
@@ -60,11 +60,11 @@ const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr
60
60
  width: "50",
61
61
  height: "50"
62
62
  }, [
63
- B("polygon", { points: "70.8,58.8 45.8,33.4 50,29.2 75,54.6 " })
63
+ M("polygon", { points: "70.8,58.8 45.8,33.4 50,29.2 75,54.6 " })
64
64
  ], -1)
65
65
  ]))
66
66
  ]),
67
- d[2] || (d[2] = B("div", { style: { "margin-right": "30px" } }, null, -1)),
67
+ d[2] || (d[2] = M("div", { style: { "margin-right": "30px" } }, null, -1)),
68
68
  (I(!0), V(Ne, null, Ie(t.value, (p, f) => (I(), V("div", {
69
69
  class: "action-element",
70
70
  key: p.label
@@ -75,12 +75,12 @@ const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr
75
75
  class: "button-default"
76
76
  }, ue(p.label), 9, Mr)) : ye("", !0),
77
77
  p.elementType == "dropdown" ? (I(), V("div", Br, [
78
- B("button", {
78
+ M("button", {
79
79
  class: "button-default",
80
80
  onClick: (m) => l(f)
81
81
  }, ue(p.label), 9, Wr),
82
- Ze(B("div", Ur, [
83
- B("div", Hr, [
82
+ Ze(M("div", Ur, [
83
+ M("div", Hr, [
84
84
  (I(!0), V(Ne, null, Ie(p.actions, (m) => (I(), V("div", {
85
85
  key: m.label
86
86
  }, [
@@ -92,7 +92,7 @@ const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr
92
92
  key: 1,
93
93
  href: m.link
94
94
  }, [
95
- B("button", Gr, ue(m.label), 1)
95
+ M("button", Gr, ue(m.label), 1)
96
96
  ], 8, zr)) : ye("", !0)
97
97
  ]))), 128))
98
98
  ])
@@ -119,7 +119,7 @@ const Qr = /* @__PURE__ */ ln(Kr, [["render", Yr]]), Xr = (e, t) => {
119
119
  return n;
120
120
  };
121
121
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
122
- const Zr = { class: "aform" }, es = /* @__PURE__ */ X({
122
+ const Zr = { class: "aform" }, es = /* @__PURE__ */ Z({
123
123
  __name: "AForm",
124
124
  props: {
125
125
  modelValue: {},
@@ -128,7 +128,7 @@ const Zr = { class: "aform" }, es = /* @__PURE__ */ X({
128
128
  },
129
129
  emits: ["update:modelValue"],
130
130
  setup(e, { emit: t }) {
131
- const n = t, o = P(e.data || {}), r = (i) => {
131
+ const n = t, o = C(e.data || {}), r = (i) => {
132
132
  let a = {};
133
133
  for (const [c, l] of Object.entries(i))
134
134
  ["component", "fieldtype"].includes(c) || (a[c] = l), c === "rows" && l && l.length === 0 && (a.rows = o.value[i.fieldname]);
@@ -159,7 +159,7 @@ const Zr = { class: "aform" }, es = /* @__PURE__ */ X({
159
159
  }
160
160
  }), ts = /* @__PURE__ */ Xr(es, [["__scopeId", "data-v-f3a1a760"]]);
161
161
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
162
- var ns = Object.defineProperty, os = (e, t, n) => t in e ? ns(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Q = (e, t, n) => os(e, typeof t != "symbol" ? t + "" : t, n);
162
+ var ns = Object.defineProperty, os = (e, t, n) => t in e ? ns(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, X = (e, t, n) => os(e, typeof t != "symbol" ? t + "" : t, n);
163
163
  function Gt(e) {
164
164
  this.message = e || "";
165
165
  }
@@ -188,7 +188,7 @@ const ko = class mt {
188
188
  * const stonecrop = new Stonecrop(registry, store, schema, workflow, actions)
189
189
  */
190
190
  constructor(t, n, o, r, s) {
191
- if (Q(this, "name", "Stonecrop"), Q(this, "registry"), Q(this, "schema"), Q(this, "workflow"), Q(this, "actions"), Q(this, "store"), mt._root)
191
+ if (X(this, "name", "Stonecrop"), X(this, "registry"), X(this, "schema"), X(this, "workflow"), X(this, "actions"), X(this, "store"), mt._root)
192
192
  return mt._root;
193
193
  mt._root = this, this.registry = t, this.store = n, this.schema = o, this.workflow = r, this.actions = s;
194
194
  }
@@ -305,7 +305,7 @@ const ko = class mt {
305
305
  });
306
306
  }
307
307
  };
308
- Q(ko, "_root");
308
+ X(ko, "_root");
309
309
  let rs = ko;
310
310
  var $o = !1;
311
311
  function ut(e, t, n) {
@@ -505,7 +505,7 @@ function ms(e, t, n, o) {
505
505
  }, 4e4);
506
506
  }
507
507
  }
508
- function H(e, t) {
508
+ function F(e, t) {
509
509
  const n = "🍍 " + e;
510
510
  typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(n, t) : t === "error" ? console.error(n) : t === "warn" ? console.warn(n) : console.log(n);
511
511
  }
@@ -514,29 +514,29 @@ function dn(e) {
514
514
  }
515
515
  function Co() {
516
516
  if (!("clipboard" in navigator))
517
- return H("Your browser doesn't support the Clipboard API", "error"), !0;
517
+ return F("Your browser doesn't support the Clipboard API", "error"), !0;
518
518
  }
519
519
  function Po(e) {
520
- return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (H('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
520
+ return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (F('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
521
521
  }
522
522
  async function vs(e) {
523
523
  if (!Co())
524
524
  try {
525
- await navigator.clipboard.writeText(JSON.stringify(e.state.value)), H("Global state copied to clipboard.");
525
+ await navigator.clipboard.writeText(JSON.stringify(e.state.value)), F("Global state copied to clipboard.");
526
526
  } catch (t) {
527
527
  if (Po(t))
528
528
  return;
529
- H("Failed to serialize the state. Check the console for more details.", "error"), console.error(t);
529
+ F("Failed to serialize the state. Check the console for more details.", "error"), console.error(t);
530
530
  }
531
531
  }
532
532
  async function gs(e) {
533
533
  if (!Co())
534
534
  try {
535
- Do(e, JSON.parse(await navigator.clipboard.readText())), H("Global state pasted from clipboard.");
535
+ Do(e, JSON.parse(await navigator.clipboard.readText())), F("Global state pasted from clipboard.");
536
536
  } catch (t) {
537
537
  if (Po(t))
538
538
  return;
539
- H("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(t);
539
+ F("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(t);
540
540
  }
541
541
  }
542
542
  async function ys(e) {
@@ -545,7 +545,7 @@ async function ys(e) {
545
545
  type: "text/plain;charset=utf-8"
546
546
  }), "pinia-state.json");
547
547
  } catch (t) {
548
- H("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
548
+ F("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
549
549
  }
550
550
  }
551
551
  let ie;
@@ -570,9 +570,9 @@ async function ws(e) {
570
570
  if (!t)
571
571
  return;
572
572
  const { text: n, file: o } = t;
573
- Do(e, JSON.parse(n)), H(`Global state imported from "${o.name}".`);
573
+ Do(e, JSON.parse(n)), F(`Global state imported from "${o.name}".`);
574
574
  } catch (t) {
575
- H("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(t);
575
+ F("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(t);
576
576
  }
577
577
  }
578
578
  function Do(e, t) {
@@ -660,7 +660,7 @@ function $s(e) {
660
660
  }
661
661
  }
662
662
  let Ae = !0;
663
- const bt = [], Ee = "pinia:mutations", G = "pinia", { assign: Os } = Object, $t = (e) => "🍍 " + e;
663
+ const bt = [], Ee = "pinia:mutations", q = "pinia", { assign: Os } = Object, $t = (e) => "🍍 " + e;
664
664
  function xs(e, t) {
665
665
  cn({
666
666
  id: "dev.esm.pinia",
@@ -671,12 +671,12 @@ function xs(e, t) {
671
671
  componentStateTypes: bt,
672
672
  app: e
673
673
  }, (n) => {
674
- typeof n.now != "function" && H("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), n.addTimelineLayer({
674
+ typeof n.now != "function" && F("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), n.addTimelineLayer({
675
675
  id: Ee,
676
676
  label: "Pinia 🍍",
677
677
  color: 15064968
678
678
  }), n.addInspector({
679
- id: G,
679
+ id: q,
680
680
  label: "Pinia 🍍",
681
681
  icon: "storage",
682
682
  treeFilterPlaceholder: "Search stores",
@@ -691,7 +691,7 @@ function xs(e, t) {
691
691
  {
692
692
  icon: "content_paste",
693
693
  action: async () => {
694
- await gs(t), n.sendInspectorTree(G), n.sendInspectorState(G);
694
+ await gs(t), n.sendInspectorTree(q), n.sendInspectorState(q);
695
695
  },
696
696
  tooltip: "Replace the state with the content of your clipboard"
697
697
  },
@@ -705,7 +705,7 @@ function xs(e, t) {
705
705
  {
706
706
  icon: "folder_open",
707
707
  action: async () => {
708
- await ws(t), n.sendInspectorTree(G), n.sendInspectorState(G);
708
+ await ws(t), n.sendInspectorTree(q), n.sendInspectorState(q);
709
709
  },
710
710
  tooltip: "Import the state from a JSON file"
711
711
  }
@@ -716,7 +716,7 @@ function xs(e, t) {
716
716
  tooltip: 'Reset the state (with "$reset")',
717
717
  action: (o) => {
718
718
  const r = t._s.get(o);
719
- r ? typeof r.$reset != "function" ? H(`Cannot reset "${o}" store because it doesn't have a "$reset" method implemented.`, "warn") : (r.$reset(), H(`Store "${o}" reset.`)) : H(`Cannot reset "${o}" store because it wasn't found.`, "warn");
719
+ r ? typeof r.$reset != "function" ? F(`Cannot reset "${o}" store because it doesn't have a "$reset" method implemented.`, "warn") : (r.$reset(), F(`Store "${o}" reset.`)) : F(`Cannot reset "${o}" store because it wasn't found.`, "warn");
720
720
  }
721
721
  }
722
722
  ]
@@ -760,22 +760,22 @@ function xs(e, t) {
760
760
  });
761
761
  }
762
762
  }), n.on.getInspectorTree((o) => {
763
- if (o.app === e && o.inspectorId === G) {
763
+ if (o.app === e && o.inspectorId === q) {
764
764
  let r = [t];
765
765
  r = r.concat(Array.from(t._s.values())), o.rootNodes = (o.filter ? r.filter((s) => "$id" in s ? s.$id.toLowerCase().includes(o.filter.toLowerCase()) : Ao.toLowerCase().includes(o.filter.toLowerCase())) : r).map(_s);
766
766
  }
767
767
  }), globalThis.$pinia = t, n.on.getInspectorState((o) => {
768
- if (o.app === e && o.inspectorId === G) {
768
+ if (o.app === e && o.inspectorId === q) {
769
769
  const r = o.nodeId === yt ? t : t._s.get(o.nodeId);
770
770
  if (!r)
771
771
  return;
772
772
  r && (o.nodeId !== yt && (globalThis.$store = et(r)), o.state = Es(r));
773
773
  }
774
774
  }), n.on.editInspectorState((o, r) => {
775
- if (o.app === e && o.inspectorId === G) {
775
+ if (o.app === e && o.inspectorId === q) {
776
776
  const s = o.nodeId === yt ? t : t._s.get(o.nodeId);
777
777
  if (!s)
778
- return H(`store "${o.nodeId}" not found`, "error");
778
+ return F(`store "${o.nodeId}" not found`, "error");
779
779
  const { path: i } = o;
780
780
  dn(s) ? i.unshift("state") : (i.length !== 1 || !s._customProperties.has(i[0]) || i[0] in s.$state) && i.unshift("$state"), Ae = !1, o.set(s, i, o.state.value), Ae = !0;
781
781
  }
@@ -783,10 +783,10 @@ function xs(e, t) {
783
783
  if (o.type.startsWith("🍍")) {
784
784
  const r = o.type.replace(/^🍍\s*/, ""), s = t._s.get(r);
785
785
  if (!s)
786
- return H(`store "${r}" not found`, "error");
786
+ return F(`store "${r}" not found`, "error");
787
787
  const { path: i } = o;
788
788
  if (i[0] !== "state")
789
- return H(`Invalid path for store "${r}":
789
+ return F(`Invalid path for store "${r}":
790
790
  ${i}
791
791
  Only state can be modified.`);
792
792
  i[0] = "$state", Ae = !1, o.set(s, i, o.state.value), Ae = !0;
@@ -867,8 +867,8 @@ function Ss(e, t) {
867
867
  });
868
868
  });
869
869
  }, !0), t._customProperties.forEach((i) => {
870
- F(() => $(t[i]), (a, c) => {
871
- n.notifyComponentUpdate(), n.sendInspectorState(G), Ae && n.addTimelineEvent({
870
+ z(() => k(t[i]), (a, c) => {
871
+ n.notifyComponentUpdate(), n.sendInspectorState(q), Ae && n.addTimelineEvent({
872
872
  layerId: Ee,
873
873
  event: {
874
874
  time: o(),
@@ -883,7 +883,7 @@ function Ss(e, t) {
883
883
  });
884
884
  }, { deep: !0 });
885
885
  }), t.$subscribe(({ events: i, type: a }, c) => {
886
- if (n.notifyComponentUpdate(), n.sendInspectorState(G), !Ae)
886
+ if (n.notifyComponentUpdate(), n.sendInspectorState(q), !Ae)
887
887
  return;
888
888
  const l = {
889
889
  time: o(),
@@ -916,12 +916,12 @@ function Ss(e, t) {
916
916
  info: te("HMR update")
917
917
  }
918
918
  }
919
- }), n.notifyComponentUpdate(), n.sendInspectorTree(G), n.sendInspectorState(G);
919
+ }), n.notifyComponentUpdate(), n.sendInspectorTree(q), n.sendInspectorState(q);
920
920
  });
921
921
  const { $dispose: s } = t;
922
922
  t.$dispose = () => {
923
- s(), n.notifyComponentUpdate(), n.sendInspectorTree(G), n.sendInspectorState(G), n.getSettings().logStoreChanges && H(`Disposed "${t.$id}" store 🗑`);
924
- }, n.notifyComponentUpdate(), n.sendInspectorTree(G), n.sendInspectorState(G), n.getSettings().logStoreChanges && H(`"${t.$id}" store installed 🆕`);
923
+ s(), n.notifyComponentUpdate(), n.sendInspectorTree(q), n.sendInspectorState(q), n.getSettings().logStoreChanges && F(`Disposed "${t.$id}" store 🗑`);
924
+ }, n.notifyComponentUpdate(), n.sendInspectorTree(q), n.sendInspectorState(q), n.getSettings().logStoreChanges && F(`"${t.$id}" store installed 🆕`);
925
925
  });
926
926
  }
927
927
  let To = 0, ge;
@@ -959,7 +959,7 @@ function Ns({ app: e, store: t, options: n }) {
959
959
  }
960
960
  }
961
961
  function Is() {
962
- const e = wo(!0), t = e.run(() => P({}));
962
+ const e = wo(!0), t = e.run(() => C({}));
963
963
  let n = [], o = [];
964
964
  const r = $e({
965
965
  install(s) {
@@ -1021,7 +1021,7 @@ const Ps = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration")
1021
1021
  function Ds(e) {
1022
1022
  return !Ce(e) || !e.hasOwnProperty(Ps);
1023
1023
  }
1024
- const { assign: Y } = Object;
1024
+ const { assign: Q } = Object;
1025
1025
  function Rn(e) {
1026
1026
  return !!(tt(e) && e.effect);
1027
1027
  }
@@ -1032,9 +1032,9 @@ function Vn(e, t, n, o) {
1032
1032
  !a && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
1033
1033
  const u = process.env.NODE_ENV !== "production" && o ? (
1034
1034
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
1035
- Cn(P(r ? r() : {}).value)
1035
+ Cn(C(r ? r() : {}).value)
1036
1036
  ) : Cn(n.state.value[e]);
1037
- return Y(u, s, Object.keys(i || {}).reduce((d, p) => (process.env.NODE_ENV !== "production" && p in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${p}" in store "${e}".`), d[p] = $e(j(() => {
1037
+ return Q(u, s, Object.keys(i || {}).reduce((d, p) => (process.env.NODE_ENV !== "production" && p in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${p}" in store "${e}".`), d[p] = $e(j(() => {
1038
1038
  nt(n);
1039
1039
  const f = n._s.get(e);
1040
1040
  return i[p].call(f, f);
@@ -1044,18 +1044,18 @@ function Vn(e, t, n, o) {
1044
1044
  }
1045
1045
  function Kt(e, t, n = {}, o, r, s) {
1046
1046
  let i;
1047
- const a = Y({ actions: {} }, n);
1047
+ const a = Q({ actions: {} }, n);
1048
1048
  if (process.env.NODE_ENV !== "production" && !o._e.active)
1049
1049
  throw new Error("Pinia destroyed");
1050
1050
  const c = { deep: !0 };
1051
1051
  process.env.NODE_ENV !== "production" && !$o && (c.onTrigger = (w) => {
1052
- l ? f = w : l == !1 && !k._hotUpdating && (Array.isArray(f) ? f.push(w) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
1052
+ l ? f = w : l == !1 && !E._hotUpdating && (Array.isArray(f) ? f.push(w) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
1053
1053
  });
1054
1054
  let l, u, d = [], p = [], f;
1055
1055
  const m = o.state.value[e];
1056
1056
  !s && !m && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
1057
- const v = P({});
1058
- let E;
1057
+ const v = C({});
1058
+ let $;
1059
1059
  function x(w) {
1060
1060
  let b;
1061
1061
  l = u = !1, process.env.NODE_ENV !== "production" && (f = []), typeof w == "function" ? (w(o.state.value[e]), b = {
@@ -1068,15 +1068,15 @@ function Kt(e, t, n = {}, o, r, s) {
1068
1068
  storeId: e,
1069
1069
  events: f
1070
1070
  });
1071
- const M = E = Symbol();
1071
+ const L = $ = Symbol();
1072
1072
  Re().then(() => {
1073
- E === M && (l = !0);
1073
+ $ === L && (l = !0);
1074
1074
  }), u = !0, De(d, b, o.state.value[e]);
1075
1075
  }
1076
1076
  const O = s ? function() {
1077
1077
  const { state: w } = n, b = w ? w() : {};
1078
- this.$patch((M) => {
1079
- Y(M, b);
1078
+ this.$patch((L) => {
1079
+ Q(L, b);
1080
1080
  });
1081
1081
  } : (
1082
1082
  /* istanbul ignore next */
@@ -1084,43 +1084,43 @@ function Kt(e, t, n = {}, o, r, s) {
1084
1084
  throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
1085
1085
  } : Vo
1086
1086
  );
1087
- function A() {
1087
+ function P() {
1088
1088
  i.stop(), d = [], p = [], o._s.delete(e);
1089
1089
  }
1090
- const C = (w, b = "") => {
1090
+ const U = (w, b = "") => {
1091
1091
  if (Tn in w)
1092
1092
  return w[jt] = b, w;
1093
- const M = function() {
1093
+ const L = function() {
1094
1094
  nt(o);
1095
- const J = Array.from(arguments), ee = [], Ue = [];
1096
- function He(z) {
1097
- ee.push(z);
1095
+ const K = Array.from(arguments), ee = [], Ue = [];
1096
+ function He(G) {
1097
+ ee.push(G);
1098
1098
  }
1099
- function it(z) {
1100
- Ue.push(z);
1099
+ function it(G) {
1100
+ Ue.push(G);
1101
1101
  }
1102
1102
  De(p, {
1103
- args: J,
1104
- name: M[jt],
1105
- store: k,
1103
+ args: K,
1104
+ name: L[jt],
1105
+ store: E,
1106
1106
  after: He,
1107
1107
  onError: it
1108
1108
  });
1109
1109
  let oe;
1110
1110
  try {
1111
- oe = w.apply(this && this.$id === e ? this : k, J);
1112
- } catch (z) {
1113
- throw De(Ue, z), z;
1111
+ oe = w.apply(this && this.$id === e ? this : E, K);
1112
+ } catch (G) {
1113
+ throw De(Ue, G), G;
1114
1114
  }
1115
- return oe instanceof Promise ? oe.then((z) => (De(ee, z), z)).catch((z) => (De(Ue, z), Promise.reject(z))) : (De(ee, oe), oe);
1115
+ return oe instanceof Promise ? oe.then((G) => (De(ee, G), G)).catch((G) => (De(Ue, G), Promise.reject(G))) : (De(ee, oe), oe);
1116
1116
  };
1117
- return M[Tn] = !0, M[jt] = b, M;
1118
- }, L = /* @__PURE__ */ $e({
1117
+ return L[Tn] = !0, L[jt] = b, L;
1118
+ }, D = /* @__PURE__ */ $e({
1119
1119
  actions: {},
1120
1120
  getters: {},
1121
1121
  state: [],
1122
1122
  hotState: v
1123
- }), Z = {
1123
+ }), B = {
1124
1124
  _p: o,
1125
1125
  // _s: scope,
1126
1126
  $id: e,
@@ -1128,78 +1128,78 @@ function Kt(e, t, n = {}, o, r, s) {
1128
1128
  $patch: x,
1129
1129
  $reset: O,
1130
1130
  $subscribe(w, b = {}) {
1131
- const M = An(d, w, b.detached, () => J()), J = i.run(() => F(() => o.state.value[e], (ee) => {
1131
+ const L = An(d, w, b.detached, () => K()), K = i.run(() => z(() => o.state.value[e], (ee) => {
1132
1132
  (b.flush === "sync" ? u : l) && w({
1133
1133
  storeId: e,
1134
1134
  type: se.direct,
1135
1135
  events: f
1136
1136
  }, ee);
1137
- }, Y({}, c, b)));
1138
- return M;
1137
+ }, Q({}, c, b)));
1138
+ return L;
1139
1139
  },
1140
- $dispose: A
1141
- }, k = ke(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Oe ? Y(
1140
+ $dispose: P
1141
+ }, E = ke(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Oe ? Q(
1142
1142
  {
1143
- _hmrPayload: L,
1143
+ _hmrPayload: D,
1144
1144
  _customProperties: $e(/* @__PURE__ */ new Set())
1145
1145
  // devtools custom properties
1146
1146
  },
1147
- Z
1147
+ B
1148
1148
  // must be added later
1149
1149
  // setupStore
1150
- ) : Z);
1151
- o._s.set(e, k);
1152
- const ne = (o._a && o._a.runWithContext || Cs)(() => o._e.run(() => (i = wo()).run(() => t({ action: C }))));
1150
+ ) : B);
1151
+ o._s.set(e, E);
1152
+ const ne = (o._a && o._a.runWithContext || Cs)(() => o._e.run(() => (i = wo()).run(() => t({ action: U }))));
1153
1153
  for (const w in ne) {
1154
1154
  const b = ne[w];
1155
1155
  if (tt(b) && !Rn(b) || an(b))
1156
- process.env.NODE_ENV !== "production" && r ? ut(v.value, w, ht(ne, w)) : s || (m && Ds(b) && (tt(b) ? b.value = m[w] : Jt(b, m[w])), o.state.value[e][w] = b), process.env.NODE_ENV !== "production" && L.state.push(w);
1156
+ process.env.NODE_ENV !== "production" && r ? ut(v.value, w, ht(ne, w)) : s || (m && Ds(b) && (tt(b) ? b.value = m[w] : Jt(b, m[w])), o.state.value[e][w] = b), process.env.NODE_ENV !== "production" && D.state.push(w);
1157
1157
  else if (typeof b == "function") {
1158
- const M = process.env.NODE_ENV !== "production" && r ? b : C(b, w);
1159
- ne[w] = M, process.env.NODE_ENV !== "production" && (L.actions[w] = b), a.actions[w] = b;
1160
- } else process.env.NODE_ENV !== "production" && Rn(b) && (L.getters[w] = s ? (
1158
+ const L = process.env.NODE_ENV !== "production" && r ? b : U(b, w);
1159
+ ne[w] = L, process.env.NODE_ENV !== "production" && (D.actions[w] = b), a.actions[w] = b;
1160
+ } else process.env.NODE_ENV !== "production" && Rn(b) && (D.getters[w] = s ? (
1161
1161
  // @ts-expect-error
1162
1162
  n.getters[w]
1163
1163
  ) : b, Oe && (ne._getters || // @ts-expect-error: same
1164
1164
  (ne._getters = $e([]))).push(w));
1165
1165
  }
1166
- if (Y(k, ne), Y(et(k), ne), Object.defineProperty(k, "$state", {
1166
+ if (Q(E, ne), Q(et(E), ne), Object.defineProperty(E, "$state", {
1167
1167
  get: () => process.env.NODE_ENV !== "production" && r ? v.value : o.state.value[e],
1168
1168
  set: (w) => {
1169
1169
  if (process.env.NODE_ENV !== "production" && r)
1170
1170
  throw new Error("cannot set hotState");
1171
1171
  x((b) => {
1172
- Y(b, w);
1172
+ Q(b, w);
1173
1173
  });
1174
1174
  }
1175
- }), process.env.NODE_ENV !== "production" && (k._hotUpdate = $e((w) => {
1176
- k._hotUpdating = !0, w._hmrPayload.state.forEach((b) => {
1177
- if (b in k.$state) {
1178
- const M = w.$state[b], J = k.$state[b];
1179
- typeof M == "object" && Ce(M) && Ce(J) ? Ro(M, J) : w.$state[b] = J;
1175
+ }), process.env.NODE_ENV !== "production" && (E._hotUpdate = $e((w) => {
1176
+ E._hotUpdating = !0, w._hmrPayload.state.forEach((b) => {
1177
+ if (b in E.$state) {
1178
+ const L = w.$state[b], K = E.$state[b];
1179
+ typeof L == "object" && Ce(L) && Ce(K) ? Ro(L, K) : w.$state[b] = K;
1180
1180
  }
1181
- ut(k, b, ht(w.$state, b));
1182
- }), Object.keys(k.$state).forEach((b) => {
1183
- b in w.$state || Vt(k, b);
1181
+ ut(E, b, ht(w.$state, b));
1182
+ }), Object.keys(E.$state).forEach((b) => {
1183
+ b in w.$state || Vt(E, b);
1184
1184
  }), l = !1, u = !1, o.state.value[e] = ht(w._hmrPayload, "hotState"), u = !0, Re().then(() => {
1185
1185
  l = !0;
1186
1186
  });
1187
1187
  for (const b in w._hmrPayload.actions) {
1188
- const M = w[b];
1189
- ut(k, b, C(M, b));
1188
+ const L = w[b];
1189
+ ut(E, b, U(L, b));
1190
1190
  }
1191
1191
  for (const b in w._hmrPayload.getters) {
1192
- const M = w._hmrPayload.getters[b], J = s ? (
1192
+ const L = w._hmrPayload.getters[b], K = s ? (
1193
1193
  // special handling of options api
1194
- j(() => (nt(o), M.call(k, k)))
1195
- ) : M;
1196
- ut(k, b, J);
1194
+ j(() => (nt(o), L.call(E, E)))
1195
+ ) : L;
1196
+ ut(E, b, K);
1197
1197
  }
1198
- Object.keys(k._hmrPayload.getters).forEach((b) => {
1199
- b in w._hmrPayload.getters || Vt(k, b);
1200
- }), Object.keys(k._hmrPayload.actions).forEach((b) => {
1201
- b in w._hmrPayload.actions || Vt(k, b);
1202
- }), k._hmrPayload = w._hmrPayload, k._getters = w._getters, k._hotUpdating = !1;
1198
+ Object.keys(E._hmrPayload.getters).forEach((b) => {
1199
+ b in w._hmrPayload.getters || Vt(E, b);
1200
+ }), Object.keys(E._hmrPayload.actions).forEach((b) => {
1201
+ b in w._hmrPayload.actions || Vt(E, b);
1202
+ }), E._hmrPayload = w._hmrPayload, E._getters = w._getters, E._hotUpdating = !1;
1203
1203
  })), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Oe) {
1204
1204
  const w = {
1205
1205
  writable: !0,
@@ -1208,28 +1208,28 @@ function Kt(e, t, n = {}, o, r, s) {
1208
1208
  enumerable: !1
1209
1209
  };
1210
1210
  ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((b) => {
1211
- Object.defineProperty(k, b, Y({ value: k[b] }, w));
1211
+ Object.defineProperty(E, b, Q({ value: E[b] }, w));
1212
1212
  });
1213
1213
  }
1214
1214
  return o._p.forEach((w) => {
1215
1215
  if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Oe) {
1216
1216
  const b = i.run(() => w({
1217
- store: k,
1217
+ store: E,
1218
1218
  app: o._a,
1219
1219
  pinia: o,
1220
1220
  options: a
1221
1221
  }));
1222
- Object.keys(b || {}).forEach((M) => k._customProperties.add(M)), Y(k, b);
1222
+ Object.keys(b || {}).forEach((L) => E._customProperties.add(L)), Q(E, b);
1223
1223
  } else
1224
- Y(k, i.run(() => w({
1225
- store: k,
1224
+ Q(E, i.run(() => w({
1225
+ store: E,
1226
1226
  app: o._a,
1227
1227
  pinia: o,
1228
1228
  options: a
1229
1229
  })));
1230
- }), process.env.NODE_ENV !== "production" && k.$state && typeof k.$state == "object" && typeof k.$state.constructor == "function" && !k.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
1230
+ }), process.env.NODE_ENV !== "production" && E.$state && typeof E.$state == "object" && typeof E.$state.constructor == "function" && !E.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
1231
1231
  state: () => new MyClass()
1232
- Found in store "${k.$id}".`), m && s && n.hydrate && n.hydrate(k.$state, m), l = !0, u = !0, k;
1232
+ Found in store "${E.$id}".`), m && s && n.hydrate && n.hydrate(E.$state, m), l = !0, u = !0, E;
1233
1233
  }
1234
1234
  // @__NO_SIDE_EFFECTS__
1235
1235
  function As(e, t, n) {
@@ -1247,7 +1247,7 @@ This will fail in production.`);
1247
1247
  a = qe, a._s.has(o) || (s ? Kt(o, t, r, a) : Vn(o, r, a), process.env.NODE_ENV !== "production" && (i._pinia = a));
1248
1248
  const u = a._s.get(o);
1249
1249
  if (process.env.NODE_ENV !== "production" && c) {
1250
- const d = "__hot:" + o, p = s ? Kt(d, t, r, a, !0) : Vn(d, Y({}, r), a, !0);
1250
+ const d = "__hot:" + o, p = s ? Kt(d, t, r, a, !0) : Vn(d, Q({}, r), a, !0);
1251
1251
  c._hotUpdate(p), delete a.state.value[d], a._s.delete(d);
1252
1252
  }
1253
1253
  if (process.env.NODE_ENV !== "production" && Oe) {
@@ -1263,12 +1263,12 @@ This will fail in production.`);
1263
1263
  return i.$id = o, i;
1264
1264
  }
1265
1265
  const Ts = /* @__PURE__ */ As("data", () => {
1266
- const e = P([]), t = P({});
1266
+ const e = C([]), t = C({});
1267
1267
  return { records: e, record: t };
1268
1268
  });
1269
1269
  function jo(e) {
1270
1270
  e || (e = ae("$registry"));
1271
- const t = Ts(), n = P(new rs(e, t)), o = P(!1);
1271
+ const t = Ts(), n = C(new rs(e, t)), o = C(!1);
1272
1272
  return Nr(async () => {
1273
1273
  var r, s;
1274
1274
  const i = e.router.currentRoute.value, a = (r = i.params.records) == null ? void 0 : r.toString().toLowerCase(), c = (s = i.params.record) == null ? void 0 : s.toString().toLowerCase();
@@ -1280,7 +1280,7 @@ function jo(e) {
1280
1280
  }
1281
1281
  const Rs = class wt {
1282
1282
  constructor(t, n) {
1283
- if (Q(this, "name"), Q(this, "router"), Q(this, "registry"), Q(this, "getMeta"), wt._root)
1283
+ if (X(this, "name"), X(this, "router"), X(this, "registry"), X(this, "getMeta"), wt._root)
1284
1284
  return wt._root;
1285
1285
  wt._root = this, this.name = "Registry", this.router = t, this.registry = {}, this.getMeta = n;
1286
1286
  }
@@ -1292,7 +1292,7 @@ const Rs = class wt {
1292
1292
  });
1293
1293
  }
1294
1294
  };
1295
- Q(Rs, "_root");
1295
+ X(Rs, "_root");
1296
1296
  /*!
1297
1297
  * vue-router v4.4.5
1298
1298
  * (c) 2024 Eduardo San Martin Morote
@@ -1312,12 +1312,12 @@ function Lt(e, t) {
1312
1312
  const n = {};
1313
1313
  for (const o in t) {
1314
1314
  const r = t[o];
1315
- n[o] = K(r) ? r.map(e) : e(r);
1315
+ n[o] = Y(r) ? r.map(e) : e(r);
1316
1316
  }
1317
1317
  return n;
1318
1318
  }
1319
1319
  const Ke = () => {
1320
- }, K = Array.isArray;
1320
+ }, Y = Array.isArray;
1321
1321
  function S(e) {
1322
1322
  const t = Array.from(arguments).slice(1);
1323
1323
  console.warn.apply(console, ["[Vue Router warn]: " + e].concat(t));
@@ -1384,10 +1384,10 @@ function Fo(e, t) {
1384
1384
  return !0;
1385
1385
  }
1386
1386
  function Zs(e, t) {
1387
- return K(e) ? Mn(e, t) : K(t) ? Mn(t, e) : e === t;
1387
+ return Y(e) ? Mn(e, t) : Y(t) ? Mn(t, e) : e === t;
1388
1388
  }
1389
1389
  function Mn(e, t) {
1390
- return K(t) ? e.length === t.length && e.every((n, o) => n === t[o]) : e.length === 1 && e[0] === t;
1390
+ return Y(t) ? e.length === t.length && e.every((n, o) => n === t[o]) : e.length === 1 && e[0] === t;
1391
1391
  }
1392
1392
  function ea(e, t) {
1393
1393
  if (e.startsWith("/"))
@@ -1501,20 +1501,20 @@ function ca(e, t, n, o) {
1501
1501
  let r = [], s = [], i = null;
1502
1502
  const a = ({ state: p }) => {
1503
1503
  const f = zo(e, location), m = n.value, v = t.value;
1504
- let E = 0;
1504
+ let $ = 0;
1505
1505
  if (p) {
1506
1506
  if (n.value = f, t.value = p, i && i === m) {
1507
1507
  i = null;
1508
1508
  return;
1509
1509
  }
1510
- E = v ? p.position - v.position : 0;
1510
+ $ = v ? p.position - v.position : 0;
1511
1511
  } else
1512
1512
  o(f);
1513
1513
  r.forEach((x) => {
1514
1514
  x(n.value, m, {
1515
- delta: E,
1515
+ delta: $,
1516
1516
  type: ot.pop,
1517
- direction: E ? E > 0 ? Ye.forward : Ye.back : Ye.unknown
1517
+ direction: $ ? $ > 0 ? Ye.forward : Ye.back : Ye.unknown
1518
1518
  });
1519
1519
  });
1520
1520
  };
@@ -1714,25 +1714,25 @@ function ga(e, t) {
1714
1714
  if (p.type === 0)
1715
1715
  d || (r += "/"), r += p.value.replace(va, "\\$&"), f += 40;
1716
1716
  else if (p.type === 1) {
1717
- const { value: m, repeatable: v, optional: E, regexp: x } = p;
1717
+ const { value: m, repeatable: v, optional: $, regexp: x } = p;
1718
1718
  s.push({
1719
1719
  name: m,
1720
1720
  repeatable: v,
1721
- optional: E
1721
+ optional: $
1722
1722
  });
1723
1723
  const O = x || Hn;
1724
1724
  if (O !== Hn) {
1725
1725
  f += 10;
1726
1726
  try {
1727
1727
  new RegExp(`(${O})`);
1728
- } catch (C) {
1729
- throw new Error(`Invalid custom RegExp for param "${m}" (${O}): ` + C.message);
1728
+ } catch (U) {
1729
+ throw new Error(`Invalid custom RegExp for param "${m}" (${O}): ` + U.message);
1730
1730
  }
1731
1731
  }
1732
- let A = v ? `((?:${O})(?:/(?:${O}))*)` : `(${O})`;
1733
- d || (A = // avoid an optional / if there are more segments e.g. /:p?-static
1732
+ let P = v ? `((?:${O})(?:/(?:${O}))*)` : `(${O})`;
1733
+ d || (P = // avoid an optional / if there are more segments e.g. /:p?-static
1734
1734
  // or /:p?-:p2
1735
- E && l.length < 2 ? `(?:/${A})` : "/" + A), E && (A += "?"), r += A, f += 20, E && (f += -8), v && (f += -20), O === ".*" && (f += -50);
1735
+ $ && l.length < 2 ? `(?:/${P})` : "/" + P), $ && (P += "?"), r += P, f += 20, $ && (f += -8), v && (f += -20), O === ".*" && (f += -50);
1736
1736
  }
1737
1737
  u.push(f);
1738
1738
  }
@@ -1762,12 +1762,12 @@ function ga(e, t) {
1762
1762
  if (f.type === 0)
1763
1763
  u += f.value;
1764
1764
  else if (f.type === 1) {
1765
- const { value: m, repeatable: v, optional: E } = f, x = m in l ? l[m] : "";
1766
- if (K(x) && !v)
1765
+ const { value: m, repeatable: v, optional: $ } = f, x = m in l ? l[m] : "";
1766
+ if (Y(x) && !v)
1767
1767
  throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);
1768
- const O = K(x) ? x.join("/") : x;
1768
+ const O = Y(x) ? x.join("/") : x;
1769
1769
  if (!O)
1770
- if (E)
1770
+ if ($)
1771
1771
  p.length < 2 && (u.endsWith("/") ? u = u.slice(0, -1) : d = !0);
1772
1772
  else
1773
1773
  throw new Error(`Missing required param "${m}"`);
@@ -1904,10 +1904,10 @@ function ka(e, t) {
1904
1904
  function s(d, p, f) {
1905
1905
  const m = !f, v = Gn(d);
1906
1906
  process.env.NODE_ENV !== "production" && Sa(v, p), v.aliasOf = f && f.record;
1907
- const E = Jn(t, d), x = [v];
1907
+ const $ = Jn(t, d), x = [v];
1908
1908
  if ("alias" in d) {
1909
- const C = typeof d.alias == "string" ? [d.alias] : d.alias;
1910
- for (const L of C)
1909
+ const U = typeof d.alias == "string" ? [d.alias] : d.alias;
1910
+ for (const D of U)
1911
1911
  x.push(
1912
1912
  // we need to normalize again to ensure the `mods` property
1913
1913
  // being non enumerable
@@ -1915,7 +1915,7 @@ function ka(e, t) {
1915
1915
  // this allows us to hold a copy of the `components` option
1916
1916
  // so that async components cache is hold on the original record
1917
1917
  components: f ? f.record.components : v.components,
1918
- path: L,
1918
+ path: D,
1919
1919
  // we might be the child of an alias
1920
1920
  aliasOf: f ? f.record : v
1921
1921
  // the aliases are always of the same kind as the original since they
@@ -1923,25 +1923,25 @@ function ka(e, t) {
1923
1923
  }))
1924
1924
  );
1925
1925
  }
1926
- let O, A;
1927
- for (const C of x) {
1928
- const { path: L } = C;
1929
- if (p && L[0] !== "/") {
1930
- const Z = p.record.path, k = Z[Z.length - 1] === "/" ? "" : "/";
1931
- C.path = p.record.path + (L && k + L);
1926
+ let O, P;
1927
+ for (const U of x) {
1928
+ const { path: D } = U;
1929
+ if (p && D[0] !== "/") {
1930
+ const B = p.record.path, E = B[B.length - 1] === "/" ? "" : "/";
1931
+ U.path = p.record.path + (D && E + D);
1932
1932
  }
1933
- if (process.env.NODE_ENV !== "production" && C.path === "*")
1933
+ if (process.env.NODE_ENV !== "production" && U.path === "*")
1934
1934
  throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
1935
1935
  See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);
1936
- if (O = Ea(C, p, E), process.env.NODE_ENV !== "production" && p && L[0] === "/" && Na(O, p), f ? (f.alias.push(O), process.env.NODE_ENV !== "production" && xa(f, O)) : (A = A || O, A !== O && A.alias.push(O), m && d.name && !qn(O) && i(d.name)), Jo(O) && c(O), v.children) {
1937
- const Z = v.children;
1938
- for (let k = 0; k < Z.length; k++)
1939
- s(Z[k], O, f && f.children[k]);
1936
+ if (O = Ea(U, p, $), process.env.NODE_ENV !== "production" && p && D[0] === "/" && Na(O, p), f ? (f.alias.push(O), process.env.NODE_ENV !== "production" && xa(f, O)) : (P = P || O, P !== O && P.alias.push(O), m && d.name && !qn(O) && i(d.name)), Jo(O) && c(O), v.children) {
1937
+ const B = v.children;
1938
+ for (let E = 0; E < B.length; E++)
1939
+ s(B[E], O, f && f.children[E]);
1940
1940
  }
1941
1941
  f = f || O;
1942
1942
  }
1943
- return A ? () => {
1944
- i(A);
1943
+ return P ? () => {
1944
+ i(P);
1945
1945
  } : Ke;
1946
1946
  }
1947
1947
  function i(d) {
@@ -1961,44 +1961,44 @@ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-
1961
1961
  n.splice(p, 0, d), d.record.name && !qn(d) && o.set(d.record.name, d);
1962
1962
  }
1963
1963
  function l(d, p) {
1964
- let f, m = {}, v, E;
1964
+ let f, m = {}, v, $;
1965
1965
  if ("name" in d && d.name) {
1966
1966
  if (f = o.get(d.name), !f)
1967
1967
  throw je(1, {
1968
1968
  location: d
1969
1969
  });
1970
1970
  if (process.env.NODE_ENV !== "production") {
1971
- const A = Object.keys(d.params || {}).filter((C) => !f.keys.find((L) => L.name === C));
1972
- A.length && S(`Discarded invalid param(s) "${A.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`);
1971
+ const P = Object.keys(d.params || {}).filter((U) => !f.keys.find((D) => D.name === U));
1972
+ P.length && S(`Discarded invalid param(s) "${P.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`);
1973
1973
  }
1974
- E = f.record.name, m = R(
1974
+ $ = f.record.name, m = R(
1975
1975
  // paramsFromLocation is a new object
1976
1976
  zn(
1977
1977
  p.params,
1978
1978
  // only keep params that exist in the resolved location
1979
1979
  // only keep optional params coming from a parent record
1980
- f.keys.filter((A) => !A.optional).concat(f.parent ? f.parent.keys.filter((A) => A.optional) : []).map((A) => A.name)
1980
+ f.keys.filter((P) => !P.optional).concat(f.parent ? f.parent.keys.filter((P) => P.optional) : []).map((P) => P.name)
1981
1981
  ),
1982
1982
  // discard any existing params in the current location that do not exist here
1983
1983
  // #1497 this ensures better active/exact matching
1984
- d.params && zn(d.params, f.keys.map((A) => A.name))
1984
+ d.params && zn(d.params, f.keys.map((P) => P.name))
1985
1985
  ), v = f.stringify(m);
1986
1986
  } else if (d.path != null)
1987
- v = d.path, process.env.NODE_ENV !== "production" && !v.startsWith("/") && S(`The Matcher cannot resolve relative paths but received "${v}". Unless you directly called \`matcher.resolve("${v}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`), f = n.find((A) => A.re.test(v)), f && (m = f.parse(v), E = f.record.name);
1987
+ v = d.path, process.env.NODE_ENV !== "production" && !v.startsWith("/") && S(`The Matcher cannot resolve relative paths but received "${v}". Unless you directly called \`matcher.resolve("${v}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`), f = n.find((P) => P.re.test(v)), f && (m = f.parse(v), $ = f.record.name);
1988
1988
  else {
1989
- if (f = p.name ? o.get(p.name) : n.find((A) => A.re.test(p.path)), !f)
1989
+ if (f = p.name ? o.get(p.name) : n.find((P) => P.re.test(p.path)), !f)
1990
1990
  throw je(1, {
1991
1991
  location: d,
1992
1992
  currentLocation: p
1993
1993
  });
1994
- E = f.record.name, m = R({}, p.params, d.params), v = f.stringify(m);
1994
+ $ = f.record.name, m = R({}, p.params, d.params), v = f.stringify(m);
1995
1995
  }
1996
1996
  const x = [];
1997
1997
  let O = f;
1998
1998
  for (; O; )
1999
1999
  x.unshift(O.record), O = O.parent;
2000
2000
  return {
2001
- name: E,
2001
+ name: $,
2002
2002
  path: v,
2003
2003
  params: m,
2004
2004
  matched: x,
@@ -2118,7 +2118,7 @@ function Pa(e) {
2118
2118
  const r = n[o].replace(Bo, " "), s = r.indexOf("="), i = Ve(s < 0 ? r : r.slice(0, s)), a = s < 0 ? null : Ve(r.slice(s + 1));
2119
2119
  if (i in t) {
2120
2120
  let c = t[i];
2121
- K(c) || (c = t[i] = [c]), c.push(a);
2121
+ Y(c) || (c = t[i] = [c]), c.push(a);
2122
2122
  } else
2123
2123
  t[i] = a;
2124
2124
  }
@@ -2132,7 +2132,7 @@ function Kn(e) {
2132
2132
  o !== void 0 && (t += (t.length ? "&" : "") + n);
2133
2133
  continue;
2134
2134
  }
2135
- (K(o) ? o.map((r) => r && Yt(r)) : [o && Yt(o)]).forEach((r) => {
2135
+ (Y(o) ? o.map((r) => r && Yt(r)) : [o && Yt(o)]).forEach((r) => {
2136
2136
  r !== void 0 && (t += (t.length ? "&" : "") + n, r != null && (t += "=" + r));
2137
2137
  });
2138
2138
  }
@@ -2142,7 +2142,7 @@ function Da(e) {
2142
2142
  const t = {};
2143
2143
  for (const n in e) {
2144
2144
  const o = e[n];
2145
- o !== void 0 && (t[n] = K(o) ? o.map((r) => r == null ? null : "" + r) : o == null ? o : "" + o);
2145
+ o !== void 0 && (t[n] = Y(o) ? o.map((r) => r == null ? null : "" + r) : o == null ? o : "" + o);
2146
2146
  }
2147
2147
  return t;
2148
2148
  }
@@ -2238,7 +2238,7 @@ function Qn(e) {
2238
2238
  const t = ae(fn), n = ae(Ko);
2239
2239
  let o = !1, r = null;
2240
2240
  const s = j(() => {
2241
- const u = $(e.to);
2241
+ const u = k(e.to);
2242
2242
  return process.env.NODE_ENV !== "production" && (!o || u !== r) && (Ot(u) || (o ? S(`Invalid value for prop "to" in useLink()
2243
2243
  - to:`, u, `
2244
2244
  - previous to:`, r, `
@@ -2263,8 +2263,8 @@ function Qn(e) {
2263
2263
  );
2264
2264
  }), a = j(() => i.value > -1 && La(n.params, s.value.params)), c = j(() => i.value > -1 && i.value === n.matched.length - 1 && Fo(n.params, s.value.params));
2265
2265
  function l(u = {}) {
2266
- return ja(u) ? t[$(e.replace) ? "replace" : "push"](
2267
- $(e.to)
2266
+ return ja(u) ? t[k(e.replace) ? "replace" : "push"](
2267
+ k(e.to)
2268
2268
  // avoid uncaught errors are they are logged anyway
2269
2269
  ).catch(Ke) : Promise.resolve();
2270
2270
  }
@@ -2278,7 +2278,7 @@ function Qn(e) {
2278
2278
  error: null
2279
2279
  };
2280
2280
  u.__vrl_devtools = u.__vrl_devtools || [], u.__vrl_devtools.push(d), Dr(() => {
2281
- d.route = s.value, d.isActive = a.value, d.isExactActive = c.value, d.error = Ot($(e.to)) ? null : 'Invalid "to" value';
2281
+ d.route = s.value, d.isActive = a.value, d.isExactActive = c.value, d.error = Ot(k(e.to)) ? null : 'Invalid "to" value';
2282
2282
  }, { flush: "post" });
2283
2283
  }
2284
2284
  }
@@ -2290,7 +2290,7 @@ function Qn(e) {
2290
2290
  navigate: l
2291
2291
  };
2292
2292
  }
2293
- const Ra = /* @__PURE__ */ X({
2293
+ const Ra = /* @__PURE__ */ Z({
2294
2294
  name: "RouterLink",
2295
2295
  compatConfig: { MODE: 3 },
2296
2296
  props: {
@@ -2348,7 +2348,7 @@ function La(e, t) {
2348
2348
  if (typeof o == "string") {
2349
2349
  if (o !== r)
2350
2350
  return !1;
2351
- } else if (!K(r) || r.length !== o.length || o.some((s, i) => s !== r[i]))
2351
+ } else if (!Y(r) || r.length !== o.length || o.some((s, i) => s !== r[i]))
2352
2352
  return !1;
2353
2353
  }
2354
2354
  return !0;
@@ -2356,7 +2356,7 @@ function La(e, t) {
2356
2356
  function Xn(e) {
2357
2357
  return e ? e.aliasOf ? e.aliasOf.path : e.path : "";
2358
2358
  }
2359
- const Zn = (e, t, n) => e ?? t ?? n, Ma = /* @__PURE__ */ X({
2359
+ const Zn = (e, t, n) => e ?? t ?? n, Ma = /* @__PURE__ */ Z({
2360
2360
  name: "RouterView",
2361
2361
  // #674 we manually inherit them
2362
2362
  inheritAttrs: !1,
@@ -2373,7 +2373,7 @@ const Zn = (e, t, n) => e ?? t ?? n, Ma = /* @__PURE__ */ X({
2373
2373
  setup(e, { attrs: t, slots: n }) {
2374
2374
  process.env.NODE_ENV !== "production" && Wa();
2375
2375
  const o = ae(en), r = j(() => e.route || o.value), s = ae(Yn, 0), i = j(() => {
2376
- let l = $(s);
2376
+ let l = k(s);
2377
2377
  const { matched: u } = r.value;
2378
2378
  let d;
2379
2379
  for (; (d = u[l]) && !d.components; )
@@ -2381,8 +2381,8 @@ const Zn = (e, t, n) => e ?? t ?? n, Ma = /* @__PURE__ */ X({
2381
2381
  return l;
2382
2382
  }), a = j(() => r.value.matched[i.value]);
2383
2383
  ft(Yn, j(() => i.value + 1)), ft(Aa, a), ft(en, r);
2384
- const c = P();
2385
- return F(() => [c.value, a.value, e.name], ([l, u, d], [p, f, m]) => {
2384
+ const c = C();
2385
+ return z(() => [c.value, a.value, e.name], ([l, u, d], [p, f, m]) => {
2386
2386
  u && (u.instances[d] = l, f && f !== u && l && l === p && (u.leaveGuards.size || (u.leaveGuards = f.leaveGuards), u.updateGuards.size || (u.updateGuards = f.updateGuards))), l && u && // if there is no instance but to and from are the same this might be
2387
2387
  // the first visit
2388
2388
  (!f || !be(u, f) || !p) && (u.enterCallbacks[d] || []).forEach((v) => v(l));
@@ -2391,20 +2391,20 @@ const Zn = (e, t, n) => e ?? t ?? n, Ma = /* @__PURE__ */ X({
2391
2391
  if (!p)
2392
2392
  return eo(n.default, { Component: p, route: l });
2393
2393
  const f = d.props[u], m = f ? f === !0 ? l.params : typeof f == "function" ? f(l) : f : null, v = _o(p, R({}, m, t, {
2394
- onVnodeUnmounted: (E) => {
2395
- E.component.isUnmounted && (d.instances[u] = null);
2394
+ onVnodeUnmounted: ($) => {
2395
+ $.component.isUnmounted && (d.instances[u] = null);
2396
2396
  },
2397
2397
  ref: c
2398
2398
  }));
2399
2399
  if (process.env.NODE_ENV !== "production" && ce && v.ref) {
2400
- const E = {
2400
+ const $ = {
2401
2401
  depth: i.value,
2402
2402
  name: d.name,
2403
2403
  path: d.path,
2404
2404
  meta: d.meta
2405
2405
  };
2406
- (K(v.ref) ? v.ref.map((x) => x.i) : [v.ref.i]).forEach((x) => {
2407
- x.__vrv_devtools = E;
2406
+ (Y(v.ref) ? v.ref.map((x) => x.i) : [v.ref.i]).forEach((x) => {
2407
+ x.__vrv_devtools = $;
2408
2408
  });
2409
2409
  }
2410
2410
  return (
@@ -2490,16 +2490,16 @@ function Ha(e, t, n) {
2490
2490
  backgroundColor: Yo
2491
2491
  });
2492
2492
  }
2493
- K(d.__vrl_devtools) && (d.__devtoolsApi = r, d.__vrl_devtools.forEach((p) => {
2494
- let f = p.route.path, m = Zo, v = "", E = 0;
2495
- p.error ? (f = p.error, m = Ja, E = Ka) : p.isExactActive ? (m = Xo, v = "This is exactly active") : p.isActive && (m = Qo, v = "This link is active"), u.tags.push({
2493
+ Y(d.__vrl_devtools) && (d.__devtoolsApi = r, d.__vrl_devtools.forEach((p) => {
2494
+ let f = p.route.path, m = Zo, v = "", $ = 0;
2495
+ p.error ? (f = p.error, m = Ja, $ = Ka) : p.isExactActive ? (m = Xo, v = "This is exactly active") : p.isActive && (m = Qo, v = "This link is active"), u.tags.push({
2496
2496
  label: f,
2497
- textColor: E,
2497
+ textColor: $,
2498
2498
  tooltip: v,
2499
2499
  backgroundColor: m
2500
2500
  });
2501
2501
  }));
2502
- }), F(t.currentRoute, () => {
2502
+ }), z(t.currentRoute, () => {
2503
2503
  c(), r.notifyComponentUpdate(), r.sendInspectorTree(a), r.sendInspectorState(a);
2504
2504
  });
2505
2505
  const s = "router:navigations:" + o;
@@ -2726,7 +2726,7 @@ function Za(e) {
2726
2726
  function v() {
2727
2727
  return t.getRoutes().map((h) => h.record);
2728
2728
  }
2729
- function E(h) {
2729
+ function $(h) {
2730
2730
  return !!t.getRecordMatcher(h);
2731
2731
  }
2732
2732
  function x(h, y) {
@@ -2758,12 +2758,12 @@ function Za(e) {
2758
2758
  }
2759
2759
  const _ = t.resolve(g, y), T = h.hash || "";
2760
2760
  process.env.NODE_ENV !== "production" && T && !T.startsWith("#") && S(`A \`hash\` should always start with the character "#". Replace "${T}" with "#${T}".`), _.params = u(p(_.params));
2761
- const U = Xs(o, R({}, h, {
2761
+ const H = Xs(o, R({}, h, {
2762
2762
  hash: Gs(T),
2763
2763
  path: _.path
2764
- })), D = r.createHref(U);
2765
- return process.env.NODE_ENV !== "production" && (D.startsWith("//") ? S(`Location "${h}" resolved to "${D}". A resolved location cannot start with multiple slashes.`) : _.matched.length || S(`No match found for location with path "${h.path != null ? h.path : h}"`)), R({
2766
- fullPath: U,
2764
+ })), A = r.createHref(H);
2765
+ return process.env.NODE_ENV !== "production" && (A.startsWith("//") ? S(`Location "${h}" resolved to "${A}". A resolved location cannot start with multiple slashes.`) : _.matched.length || S(`No match found for location with path "${h.path != null ? h.path : h}"`)), R({
2766
+ fullPath: H,
2767
2767
  // keep the hash encoded so fullPath is effectively path + encodedQuery +
2768
2768
  // hash
2769
2769
  hash: T,
@@ -2777,26 +2777,26 @@ function Za(e) {
2777
2777
  )
2778
2778
  }, _, {
2779
2779
  redirectedFrom: void 0,
2780
- href: D
2780
+ href: A
2781
2781
  });
2782
2782
  }
2783
2783
  function O(h) {
2784
2784
  return typeof h == "string" ? Mt(n, h, c.value.path) : R({}, h);
2785
2785
  }
2786
- function A(h, y) {
2786
+ function P(h, y) {
2787
2787
  if (l !== h)
2788
2788
  return je(8, {
2789
2789
  from: y,
2790
2790
  to: h
2791
2791
  });
2792
2792
  }
2793
- function C(h) {
2794
- return k(h);
2793
+ function U(h) {
2794
+ return E(h);
2795
2795
  }
2796
- function L(h) {
2797
- return C(R(O(h), { replace: !0 }));
2796
+ function D(h) {
2797
+ return U(R(O(h), { replace: !0 }));
2798
2798
  }
2799
- function Z(h) {
2799
+ function B(h) {
2800
2800
  const y = h.matched[h.matched.length - 1];
2801
2801
  if (y && y.redirect) {
2802
2802
  const { redirect: g } = y;
@@ -2816,14 +2816,14 @@ ${JSON.stringify(_, null, 2)}
2816
2816
  }, _);
2817
2817
  }
2818
2818
  }
2819
- function k(h, y) {
2820
- const g = l = x(h), _ = c.value, T = h.state, U = h.force, D = h.replace === !0, N = Z(g);
2819
+ function E(h, y) {
2820
+ const g = l = x(h), _ = c.value, T = h.state, H = h.force, A = h.replace === !0, N = B(g);
2821
2821
  if (N)
2822
- return k(
2822
+ return E(
2823
2823
  R(O(N), {
2824
2824
  state: typeof N == "object" ? R({}, T, N.state) : T,
2825
- force: U,
2826
- replace: D
2825
+ force: H,
2826
+ replace: A
2827
2827
  }),
2828
2828
  // keep original redirectedFrom if it exists
2829
2829
  y || g
@@ -2831,7 +2831,7 @@ ${JSON.stringify(_, null, 2)}
2831
2831
  const W = g;
2832
2832
  W.redirectedFrom = y;
2833
2833
  let we;
2834
- return !U && Ln(o, _, g) && (we = je(16, { to: W, from: _ }), In(
2834
+ return !H && Ln(o, _, g) && (we = je(16, { to: W, from: _ }), In(
2835
2835
  _,
2836
2836
  _,
2837
2837
  // this is a push, the only way for it to be triggered from a
@@ -2840,49 +2840,49 @@ ${JSON.stringify(_, null, 2)}
2840
2840
  // This cannot be the first navigation because the initial location
2841
2841
  // cannot be manually navigated to
2842
2842
  !1
2843
- )), (we ? Promise.resolve(we) : b(W, _)).catch((q) => le(q) ? (
2843
+ )), (we ? Promise.resolve(we) : b(W, _)).catch((J) => le(J) ? (
2844
2844
  // navigation redirects still mark the router as ready
2845
2845
  le(
2846
- q,
2846
+ J,
2847
2847
  2
2848
2848
  /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */
2849
- ) ? q : At(q)
2849
+ ) ? J : At(J)
2850
2850
  ) : (
2851
2851
  // reject any unknown error
2852
- z(q, W, _)
2853
- )).then((q) => {
2854
- if (q) {
2852
+ G(J, W, _)
2853
+ )).then((J) => {
2854
+ if (J) {
2855
2855
  if (le(
2856
- q,
2856
+ J,
2857
2857
  2
2858
2858
  /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */
2859
2859
  ))
2860
2860
  return process.env.NODE_ENV !== "production" && // we are redirecting to the same location we were already at
2861
- Ln(o, x(q.to), W) && // and we have done it a couple of times
2861
+ Ln(o, x(J.to), W) && // and we have done it a couple of times
2862
2862
  y && // @ts-expect-error: added only in dev
2863
2863
  (y._count = y._count ? (
2864
2864
  // @ts-expect-error
2865
2865
  y._count + 1
2866
2866
  ) : 1) > 30 ? (S(`Detected a possibly infinite redirection in a navigation guard when going from "${_.fullPath}" to "${W.fullPath}". Aborting to avoid a Stack Overflow.
2867
- Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`), Promise.reject(new Error("Infinite redirect in navigation guard"))) : k(
2867
+ Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`), Promise.reject(new Error("Infinite redirect in navigation guard"))) : E(
2868
2868
  // keep options
2869
2869
  R({
2870
2870
  // preserve an existing replacement but allow the redirect to override it
2871
- replace: D
2872
- }, O(q.to), {
2873
- state: typeof q.to == "object" ? R({}, T, q.to.state) : T,
2874
- force: U
2871
+ replace: A
2872
+ }, O(J.to), {
2873
+ state: typeof J.to == "object" ? R({}, T, J.to.state) : T,
2874
+ force: H
2875
2875
  }),
2876
2876
  // preserve the original redirectedFrom if any
2877
2877
  y || W
2878
2878
  );
2879
2879
  } else
2880
- q = J(W, _, !0, D, T);
2881
- return M(W, _, q), q;
2880
+ J = K(W, _, !0, A, T);
2881
+ return L(W, _, J), J;
2882
2882
  });
2883
2883
  }
2884
2884
  function ne(h, y) {
2885
- const g = A(h, y);
2885
+ const g = P(h, y);
2886
2886
  return g ? Promise.reject(g) : Promise.resolve();
2887
2887
  }
2888
2888
  function w(h) {
@@ -2891,78 +2891,78 @@ ${JSON.stringify(_, null, 2)}
2891
2891
  }
2892
2892
  function b(h, y) {
2893
2893
  let g;
2894
- const [_, T, U] = ei(h, y);
2894
+ const [_, T, H] = ei(h, y);
2895
2895
  g = Bt(_.reverse(), "beforeRouteLeave", h, y);
2896
2896
  for (const N of _)
2897
2897
  N.leaveGuards.forEach((W) => {
2898
2898
  g.push(me(W, h, y));
2899
2899
  });
2900
- const D = ne.bind(null, h, y);
2901
- return g.push(D), Pe(g).then(() => {
2900
+ const A = ne.bind(null, h, y);
2901
+ return g.push(A), Pe(g).then(() => {
2902
2902
  g = [];
2903
2903
  for (const N of s.list())
2904
2904
  g.push(me(N, h, y));
2905
- return g.push(D), Pe(g);
2905
+ return g.push(A), Pe(g);
2906
2906
  }).then(() => {
2907
2907
  g = Bt(T, "beforeRouteUpdate", h, y);
2908
2908
  for (const N of T)
2909
2909
  N.updateGuards.forEach((W) => {
2910
2910
  g.push(me(W, h, y));
2911
2911
  });
2912
- return g.push(D), Pe(g);
2912
+ return g.push(A), Pe(g);
2913
2913
  }).then(() => {
2914
2914
  g = [];
2915
- for (const N of U)
2915
+ for (const N of H)
2916
2916
  if (N.beforeEnter)
2917
- if (K(N.beforeEnter))
2917
+ if (Y(N.beforeEnter))
2918
2918
  for (const W of N.beforeEnter)
2919
2919
  g.push(me(W, h, y));
2920
2920
  else
2921
2921
  g.push(me(N.beforeEnter, h, y));
2922
- return g.push(D), Pe(g);
2923
- }).then(() => (h.matched.forEach((N) => N.enterCallbacks = {}), g = Bt(U, "beforeRouteEnter", h, y, w), g.push(D), Pe(g))).then(() => {
2922
+ return g.push(A), Pe(g);
2923
+ }).then(() => (h.matched.forEach((N) => N.enterCallbacks = {}), g = Bt(H, "beforeRouteEnter", h, y, w), g.push(A), Pe(g))).then(() => {
2924
2924
  g = [];
2925
2925
  for (const N of i.list())
2926
2926
  g.push(me(N, h, y));
2927
- return g.push(D), Pe(g);
2927
+ return g.push(A), Pe(g);
2928
2928
  }).catch((N) => le(
2929
2929
  N,
2930
2930
  8
2931
2931
  /* ErrorTypes.NAVIGATION_CANCELLED */
2932
2932
  ) ? N : Promise.reject(N));
2933
2933
  }
2934
- function M(h, y, g) {
2934
+ function L(h, y, g) {
2935
2935
  a.list().forEach((_) => w(() => _(h, y, g)));
2936
2936
  }
2937
- function J(h, y, g, _, T) {
2938
- const U = A(h, y);
2939
- if (U)
2940
- return U;
2941
- const D = y === he, N = ce ? history.state : {};
2942
- g && (_ || D ? r.replace(h.fullPath, R({
2943
- scroll: D && N && N.scroll
2944
- }, T)) : r.push(h.fullPath, T)), c.value = h, In(h, y, g, D), At();
2937
+ function K(h, y, g, _, T) {
2938
+ const H = P(h, y);
2939
+ if (H)
2940
+ return H;
2941
+ const A = y === he, N = ce ? history.state : {};
2942
+ g && (_ || A ? r.replace(h.fullPath, R({
2943
+ scroll: A && N && N.scroll
2944
+ }, T)) : r.push(h.fullPath, T)), c.value = h, In(h, y, g, A), At();
2945
2945
  }
2946
2946
  let ee;
2947
2947
  function Ue() {
2948
2948
  ee || (ee = r.listen((h, y, g) => {
2949
- const _ = x(h), T = Z(_);
2949
+ const _ = x(h), T = B(_);
2950
2950
  if (T) {
2951
- k(R(T, { replace: !0 }), _).catch(Ke);
2951
+ E(R(T, { replace: !0 }), _).catch(Ke);
2952
2952
  return;
2953
2953
  }
2954
2954
  l = _;
2955
- const U = c.value;
2956
- ce && aa(Bn(U.fullPath, g.delta), It()), b(_, U).catch((D) => le(
2957
- D,
2955
+ const H = c.value;
2956
+ ce && aa(Bn(H.fullPath, g.delta), It()), b(_, H).catch((A) => le(
2957
+ A,
2958
2958
  12
2959
2959
  /* ErrorTypes.NAVIGATION_CANCELLED */
2960
- ) ? D : le(
2961
- D,
2960
+ ) ? A : le(
2961
+ A,
2962
2962
  2
2963
2963
  /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */
2964
- ) ? (k(
2965
- D.to,
2964
+ ) ? (E(
2965
+ A.to,
2966
2966
  _
2967
2967
  // avoid an uncaught rejection, let push call triggerError
2968
2968
  ).then((N) => {
@@ -2971,28 +2971,28 @@ ${JSON.stringify(_, null, 2)}
2971
2971
  20
2972
2972
  /* ErrorTypes.NAVIGATION_DUPLICATED */
2973
2973
  ) && !g.delta && g.type === ot.pop && r.go(-1, !1);
2974
- }).catch(Ke), Promise.reject()) : (g.delta && r.go(-g.delta, !1), z(D, _, U))).then((D) => {
2975
- D = D || J(
2974
+ }).catch(Ke), Promise.reject()) : (g.delta && r.go(-g.delta, !1), G(A, _, H))).then((A) => {
2975
+ A = A || K(
2976
2976
  // after navigation, all matched components are resolved
2977
2977
  _,
2978
- U,
2978
+ H,
2979
2979
  !1
2980
- ), D && (g.delta && // a new navigation has been triggered, so we do not want to revert, that will change the current history
2980
+ ), A && (g.delta && // a new navigation has been triggered, so we do not want to revert, that will change the current history
2981
2981
  // entry while a different route is displayed
2982
2982
  !le(
2983
- D,
2983
+ A,
2984
2984
  8
2985
2985
  /* ErrorTypes.NAVIGATION_CANCELLED */
2986
2986
  ) ? r.go(-g.delta, !1) : g.type === ot.pop && le(
2987
- D,
2987
+ A,
2988
2988
  20
2989
2989
  /* ErrorTypes.NAVIGATION_DUPLICATED */
2990
- ) && r.go(-1, !1)), M(_, U, D);
2990
+ ) && r.go(-1, !1)), L(_, H, A);
2991
2991
  }).catch(Ke);
2992
2992
  }));
2993
2993
  }
2994
2994
  let He = ze(), it = ze(), oe;
2995
- function z(h, y, g) {
2995
+ function G(h, y, g) {
2996
2996
  At(h);
2997
2997
  const _ = it.list();
2998
2998
  return _.length ? _.forEach((T) => T(h, y, g)) : (process.env.NODE_ENV !== "production" && S("uncaught error during route navigation:"), console.error(h)), Promise.reject(h);
@@ -3009,8 +3009,8 @@ ${JSON.stringify(_, null, 2)}
3009
3009
  const { scrollBehavior: T } = e;
3010
3010
  if (!ce || !T)
3011
3011
  return Promise.resolve();
3012
- const U = !g && ia(Bn(h.fullPath, 0)) || (_ || !g) && history.state && history.state.scroll || null;
3013
- return Re().then(() => T(h, y, U)).then((D) => D && sa(D)).catch((D) => z(D, h, y));
3012
+ const H = !g && ia(Bn(h.fullPath, 0)) || (_ || !g) && history.state && history.state.scroll || null;
3013
+ return Re().then(() => T(h, y, H)).then((A) => A && sa(A)).catch((A) => G(A, h, y));
3014
3014
  }
3015
3015
  const Tt = (h) => r.go(h);
3016
3016
  let Rt;
@@ -3020,12 +3020,12 @@ ${JSON.stringify(_, null, 2)}
3020
3020
  addRoute: f,
3021
3021
  removeRoute: m,
3022
3022
  clearRoutes: t.clearRoutes,
3023
- hasRoute: E,
3023
+ hasRoute: $,
3024
3024
  getRoutes: v,
3025
3025
  resolve: x,
3026
3026
  options: e,
3027
- push: C,
3028
- replace: L,
3027
+ push: U,
3028
+ replace: D,
3029
3029
  go: Tt,
3030
3030
  back: () => Tt(-1),
3031
3031
  forward: () => Tt(1),
@@ -3038,10 +3038,10 @@ ${JSON.stringify(_, null, 2)}
3038
3038
  const y = this;
3039
3039
  h.component("RouterLink", Va), h.component("RouterView", Ba), h.config.globalProperties.$router = y, Object.defineProperty(h.config.globalProperties, "$route", {
3040
3040
  enumerable: !0,
3041
- get: () => $(c)
3041
+ get: () => k(c)
3042
3042
  }), ce && // used for the initial navigation client side to avoid pushing
3043
3043
  // multiple times when the router is used in multiple apps
3044
- !Rt && c.value === he && (Rt = !0, C(r.location).catch((T) => {
3044
+ !Rt && c.value === he && (Rt = !0, U(r.location).catch((T) => {
3045
3045
  process.env.NODE_ENV !== "production" && S("Unexpected error when starting the router:", T);
3046
3046
  }));
3047
3047
  const g = {};
@@ -3874,7 +3874,7 @@ function Ht(e) {
3874
3874
  }
3875
3875
  function al(e, t, { initialize: n, type: o }) {
3876
3876
  let r = `${t.$id}-${e.toString()}`, s = new yn(r, { type: o }), i = !1, a = 0;
3877
- F(() => t[e], (u) => {
3877
+ z(() => t[e], (u) => {
3878
3878
  i || (a = Date.now(), s.postMessage({ timestamp: a, state: io(lo(u)) })), i = !1;
3879
3879
  }, { deep: !0 }), s.onmessage = (u) => {
3880
3880
  if (u === void 0) {
@@ -3901,11 +3901,11 @@ cl.use(
3901
3901
  initialize: !0
3902
3902
  })
3903
3903
  );
3904
- const ul = /* @__PURE__ */ X({
3904
+ const ul = /* @__PURE__ */ Z({
3905
3905
  __name: "Doctype",
3906
3906
  setup(e) {
3907
- const { stonecrop: t, isReady: n } = jo(), o = P([]);
3908
- return F(n, () => {
3907
+ const { stonecrop: t, isReady: n } = jo(), o = C([]);
3908
+ return z(n, () => {
3909
3909
  if (n.value) {
3910
3910
  let r = t.value.schema.schema.toArray();
3911
3911
  r.forEach((s, i) => {
@@ -3913,7 +3913,7 @@ const ul = /* @__PURE__ */ X({
3913
3913
  r[i].value = c;
3914
3914
  }), o.value = r;
3915
3915
  }
3916
- }), (r, s) => $(n) ? (I(), xe($(ts), {
3916
+ }), (r, s) => k(n) ? (I(), xe(k(ts), {
3917
3917
  key: 0,
3918
3918
  class: "aform-main",
3919
3919
  modelValue: o.value,
@@ -3926,7 +3926,7 @@ function yr(e) {
3926
3926
  return xt() ? (St(e), !0) : !1;
3927
3927
  }
3928
3928
  function _n(e) {
3929
- return typeof e == "function" ? e() : $(e);
3929
+ return typeof e == "function" ? e() : k(e);
3930
3930
  }
3931
3931
  const fl = typeof window < "u" && typeof document < "u";
3932
3932
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -3944,7 +3944,7 @@ function st(...e) {
3944
3944
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
3945
3945
  const s = [], i = () => {
3946
3946
  s.forEach((u) => u()), s.length = 0;
3947
- }, a = (u, d, p, f) => (u.addEventListener(d, p, f), () => u.removeEventListener(d, p, f)), c = F(
3947
+ }, a = (u, d, p, f) => (u.addEventListener(d, p, f), () => u.removeEventListener(d, p, f)), c = z(
3948
3948
  () => [rt(t), _n(r)],
3949
3949
  ([u, d]) => {
3950
3950
  if (i(), !u)
@@ -3961,7 +3961,7 @@ function st(...e) {
3961
3961
  return yr(l), l;
3962
3962
  }
3963
3963
  function yl() {
3964
- const e = P(!1), t = We();
3964
+ const e = C(!1), t = We();
3965
3965
  return t && Be(() => {
3966
3966
  e.value = !0;
3967
3967
  }, t), e;
@@ -3978,7 +3978,7 @@ function wl(e, t, n = {}) {
3978
3978
  }, c = j(() => {
3979
3979
  const p = _n(e), f = (Array.isArray(p) ? p : [p]).map(rt).filter(hl);
3980
3980
  return new Set(f);
3981
- }), l = F(
3981
+ }), l = z(
3982
3982
  () => c.value,
3983
3983
  (p) => {
3984
3984
  a(), i.value && p.size && (s = new MutationObserver(t), p.forEach((f) => s.observe(f, r)));
@@ -4006,7 +4006,7 @@ function _l(e = {}) {
4006
4006
  for (; u != null && u.shadowRoot; )
4007
4007
  u = (l = u == null ? void 0 : u.shadowRoot) == null ? void 0 : l.activeElement;
4008
4008
  return u;
4009
- }, a = P(), c = () => {
4009
+ }, a = C(), c = () => {
4010
4010
  a.value = i();
4011
4011
  };
4012
4012
  return n && (st(n, "blur", (l) => {
@@ -4022,11 +4022,11 @@ function _l(e = {}) {
4022
4022
  }
4023
4023
  const El = "focusin", kl = "focusout";
4024
4024
  function $l(e, t = {}) {
4025
- const { window: n = at } = t, o = j(() => rt(e)), r = P(!1), s = j(() => r.value), i = _l(t);
4025
+ const { window: n = at } = t, o = j(() => rt(e)), r = C(!1), s = j(() => r.value), i = _l(t);
4026
4026
  return !n || !i.value ? { focused: s } : (st(o, El, () => r.value = !0), st(o, kl, () => r.value = !1), { focused: s });
4027
4027
  }
4028
4028
  function Ol(e, { window: t = at, scrollTarget: n } = {}) {
4029
- const o = P(!1), r = () => {
4029
+ const o = C(!1), r = () => {
4030
4030
  if (!t) return;
4031
4031
  const s = t.document, i = rt(e);
4032
4032
  if (!i)
@@ -4036,7 +4036,7 @@ function Ol(e, { window: t = at, scrollTarget: n } = {}) {
4036
4036
  o.value = a.top <= (t.innerHeight || s.documentElement.clientHeight) && a.left <= (t.innerWidth || s.documentElement.clientWidth) && a.bottom >= 0 && a.right >= 0;
4037
4037
  }
4038
4038
  };
4039
- return F(
4039
+ return z(
4040
4040
  () => rt(e),
4041
4041
  () => r(),
4042
4042
  { immediate: !0, flush: "post" }
@@ -4250,15 +4250,15 @@ function br(e) {
4250
4250
  for (const u of Object.keys(l)) {
4251
4251
  const [d, ...p] = u.split(".");
4252
4252
  if (d === "keydown" && p.includes(c)) {
4253
- const f = l[u], m = p.filter((E) => pt.includes(E)), v = pt.some((E) => {
4254
- const x = E.charAt(0).toUpperCase() + E.slice(1);
4253
+ const f = l[u], m = p.filter(($) => pt.includes($)), v = pt.some(($) => {
4254
+ const x = $.charAt(0).toUpperCase() + $.slice(1);
4255
4255
  return a.getModifierState(x);
4256
4256
  });
4257
4257
  if (m.length > 0) {
4258
4258
  if (v) {
4259
- for (const E of pt)
4260
- if (p.includes(E)) {
4261
- const x = E.charAt(0).toUpperCase() + E.slice(1);
4259
+ for (const $ of pt)
4260
+ if (p.includes($)) {
4261
+ const x = $.charAt(0).toUpperCase() + $.slice(1);
4262
4262
  a.getModifierState(x) && f(a);
4263
4263
  }
4264
4264
  }
@@ -4271,7 +4271,7 @@ function br(e) {
4271
4271
  for (const i of e) {
4272
4272
  const a = t(i), c = o(i), l = r(i), u = a ? [a] : c;
4273
4273
  for (const d of u) {
4274
- const { focused: p } = $l(P(d)), f = F(p, (m) => {
4274
+ const { focused: p } = $l(C(d)), f = z(p, (m) => {
4275
4275
  m ? d.addEventListener("keydown", l) : d.removeEventListener("keydown", l);
4276
4276
  });
4277
4277
  s.push(f);
@@ -4286,7 +4286,7 @@ function Sn(e) {
4286
4286
  return xt() ? (St(e), !0) : !1;
4287
4287
  }
4288
4288
  function Dt(e) {
4289
- return typeof e == "function" ? e() : $(e);
4289
+ return typeof e == "function" ? e() : k(e);
4290
4290
  }
4291
4291
  const Il = typeof window < "u" && typeof document < "u";
4292
4292
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -4311,7 +4311,7 @@ function vo(...e) {
4311
4311
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
4312
4312
  const s = [], i = () => {
4313
4313
  s.forEach((u) => u()), s.length = 0;
4314
- }, a = (u, d, p, f) => (u.addEventListener(d, p, f), () => u.removeEventListener(d, p, f)), c = F(
4314
+ }, a = (u, d, p, f) => (u.addEventListener(d, p, f), () => u.removeEventListener(d, p, f)), c = z(
4315
4315
  () => [Me(t), Dt(r)],
4316
4316
  ([u, d]) => {
4317
4317
  if (i(), !u)
@@ -4328,7 +4328,7 @@ function vo(...e) {
4328
4328
  return Sn(l), l;
4329
4329
  }
4330
4330
  function Vl() {
4331
- const e = P(!1), t = We();
4331
+ const e = C(!1), t = We();
4332
4332
  return t && Be(() => {
4333
4333
  e.value = !0;
4334
4334
  }, t), e;
@@ -4345,7 +4345,7 @@ function _r(e, t, n = {}) {
4345
4345
  }, c = j(() => {
4346
4346
  const p = Dt(e), f = (Array.isArray(p) ? p : [p]).map(Me).filter(Cl);
4347
4347
  return new Set(f);
4348
- }), l = F(
4348
+ }), l = z(
4349
4349
  () => c.value,
4350
4350
  (p) => {
4351
4351
  a(), i.value && p.size && (s = new MutationObserver(t), p.forEach((f) => s.observe(f, r)));
@@ -4368,7 +4368,7 @@ function jl(e, t, n = {}) {
4368
4368
  }, c = j(() => {
4369
4369
  const d = Dt(e);
4370
4370
  return Array.isArray(d) ? d.map((p) => Me(p)) : [Me(d)];
4371
- }), l = F(
4371
+ }), l = z(
4372
4372
  c,
4373
4373
  (d) => {
4374
4374
  if (a(), i.value && o) {
@@ -4393,7 +4393,7 @@ function Ll(e, t = {}) {
4393
4393
  windowScroll: r = !0,
4394
4394
  immediate: s = !0,
4395
4395
  updateTiming: i = "sync"
4396
- } = t, a = P(0), c = P(0), l = P(0), u = P(0), d = P(0), p = P(0), f = P(0), m = P(0);
4396
+ } = t, a = C(0), c = C(0), l = C(0), u = C(0), d = C(0), p = C(0), f = C(0), m = C(0);
4397
4397
  function v() {
4398
4398
  const x = Me(e);
4399
4399
  if (!x) {
@@ -4403,13 +4403,13 @@ function Ll(e, t = {}) {
4403
4403
  const O = x.getBoundingClientRect();
4404
4404
  a.value = O.height, c.value = O.bottom, l.value = O.left, u.value = O.right, d.value = O.top, p.value = O.width, f.value = O.x, m.value = O.y;
4405
4405
  }
4406
- function E() {
4406
+ function $() {
4407
4407
  i === "sync" ? v() : i === "next-frame" && requestAnimationFrame(() => v());
4408
4408
  }
4409
- return jl(e, E), F(() => Me(e), (x) => !x && E()), _r(e, E, {
4409
+ return jl(e, $), z(() => Me(e), (x) => !x && $()), _r(e, $, {
4410
4410
  attributeFilter: ["style", "class"]
4411
- }), r && vo("scroll", E, { capture: !0, passive: !0 }), o && vo("resize", E, { passive: !0 }), Rl(() => {
4412
- s && E();
4411
+ }), r && vo("scroll", $, { capture: !0, passive: !0 }), o && vo("resize", $, { passive: !0 }), Rl(() => {
4412
+ s && $();
4413
4413
  }), {
4414
4414
  height: a,
4415
4415
  bottom: c,
@@ -4419,13 +4419,13 @@ function Ll(e, t = {}) {
4419
4419
  width: p,
4420
4420
  x: f,
4421
4421
  y: m,
4422
- update: E
4422
+ update: $
4423
4423
  };
4424
4424
  }
4425
4425
  const Ml = (e) => {
4426
4426
  const t = new DOMParser().parseFromString(e, "text/html");
4427
4427
  return Array.from(t.body.childNodes).some((n) => n.nodeType === 1);
4428
- }, Bl = ["data-colindex", "data-rowindex", "data-editable", "contenteditable", "tabindex"], Wl = ["innerHTML"], Ul = { key: 2 }, Hl = /* @__PURE__ */ X({
4428
+ }, Bl = ["data-colindex", "data-rowindex", "data-editable", "contenteditable", "tabindex"], Wl = ["innerHTML"], Ul = { key: 2 }, Hl = /* @__PURE__ */ Z({
4429
4429
  __name: "ACell",
4430
4430
  props: {
4431
4431
  colIndex: {},
@@ -4436,72 +4436,75 @@ const Ml = (e) => {
4436
4436
  pinned: { type: Boolean }
4437
4437
  },
4438
4438
  setup(e) {
4439
- const t = ae(e.tableid), n = Nt("cell"), { bottom: o, left: r } = Ll(n), s = t.cellData(e.colIndex, e.rowIndex), i = P(""), a = P(!1), c = t.table, l = t.columns[e.colIndex], u = t.rows[e.rowIndex], d = l.align || "center", p = l.width || "40ch", f = j(() => typeof v.value == "string" ? Ml(v.value) : !1), m = j(() => {
4440
- var C;
4439
+ const t = ae(e.tableid), n = Nt("cell"), { bottom: o, left: r } = Ll(n), s = t.cellData(e.colIndex, e.rowIndex), i = C(""), a = C(!1), c = t.table, l = t.columns[e.colIndex], u = t.rows[e.rowIndex], d = l.align || "center", p = l.width || "40ch", f = j(() => typeof v.value == "string" ? Ml(v.value) : !1), m = j(() => {
4440
+ var D;
4441
4441
  return {
4442
4442
  textAlign: d,
4443
4443
  width: p,
4444
- backgroundColor: a.value ? "var(--cell-modified-color)" : "inherit",
4444
+ backgroundColor: a.value ? "var(--sc-cell-modified)" : "inherit",
4445
4445
  fontWeight: a.value ? "bold" : "inherit",
4446
- paddingLeft: A(e.colIndex, (C = t.display[e.rowIndex]) == null ? void 0 : C.indent)
4446
+ paddingLeft: U(e.colIndex, (D = t.display[e.rowIndex]) == null ? void 0 : D.indent)
4447
4447
  };
4448
4448
  }), v = j(() => {
4449
- const C = t.cellData(e.colIndex, e.rowIndex), L = l.format;
4450
- return L ? typeof L == "function" ? L(C, { table: c, row: u, column: l }) : typeof L == "string" ? Function(`"use strict";return (${L})`)()(C, { table: c, row: u, column: l }) : C : C;
4451
- }), E = () => {
4449
+ const D = t.cellData(e.colIndex, e.rowIndex);
4450
+ return $(D);
4451
+ }), $ = (D) => {
4452
+ const B = l.format;
4453
+ return B ? typeof B == "function" ? B(D, { table: c, row: u, column: l }) : typeof B == "string" ? Function(`"use strict";return (${B})`)()(D, { table: c, row: u, column: l }) : D : D;
4454
+ }, x = () => {
4452
4455
  l.mask, l.modalComponent && (t.modal.visible = !0, t.modal.colIndex = e.colIndex, t.modal.rowIndex = e.rowIndex, t.modal.parent = n.value, t.modal.top = o.value, t.modal.left = r.value, t.modal.width = p, typeof l.modalComponent == "function" ? t.modal.component = l.modalComponent({ table: c, row: u, column: l }) : t.modal.component = l.modalComponent, t.modal.componentProps = l.modalComponentExtraProps);
4453
4456
  };
4454
4457
  if (e.addNavigation) {
4455
- let C = {
4458
+ let D = {
4456
4459
  ...xn,
4457
- "keydown.f2": E,
4458
- "keydown.alt.up": E,
4459
- "keydown.alt.down": E,
4460
- "keydown.alt.left": E,
4461
- "keydown.alt.right": E
4460
+ "keydown.f2": x,
4461
+ "keydown.alt.up": x,
4462
+ "keydown.alt.down": x,
4463
+ "keydown.alt.left": x,
4464
+ "keydown.alt.right": x
4462
4465
  };
4463
- typeof e.addNavigation == "object" && (C = {
4464
- ...C,
4466
+ typeof e.addNavigation == "object" && (D = {
4467
+ ...D,
4465
4468
  ...e.addNavigation
4466
4469
  }), br([
4467
4470
  {
4468
4471
  selectors: n,
4469
- handlers: C
4472
+ handlers: D
4470
4473
  }
4471
4474
  ]);
4472
4475
  }
4473
- const x = () => {
4476
+ const O = () => {
4474
4477
  n.value && (i.value = n.value.textContent);
4475
- }, O = () => {
4476
- n.value && (a.value = n.value.textContent !== s, n.value.textContent !== i.value && (i.value = n.value.textContent, n.value.dispatchEvent(new Event("change")), l.format || t.setCellData(e.rowIndex, e.colIndex, i.value)));
4477
- }, A = (C, L) => L && C === 0 && L > 0 ? `${L}ch` : "inherit";
4478
- return (C, L) => (I(), V("td", {
4478
+ }, P = () => {
4479
+ n.value && (l.format ? a.value = n.value.textContent !== $(s) : a.value = n.value.textContent !== s, n.value.textContent !== i.value && (i.value = n.value.textContent, n.value.dispatchEvent(new Event("change")), l.format || t.setCellData(e.rowIndex, e.colIndex, i.value)));
4480
+ }, U = (D, B) => B && D === 0 && B > 0 ? `${B}ch` : "inherit";
4481
+ return (D, B) => (I(), V("td", {
4479
4482
  ref: "cell",
4480
- "data-colindex": C.colIndex,
4481
- "data-rowindex": C.rowIndex,
4482
- "data-editable": $(l).edit,
4483
- contenteditable: $(l).edit,
4484
- tabindex: C.tabIndex,
4483
+ "data-colindex": D.colIndex,
4484
+ "data-rowindex": D.rowIndex,
4485
+ "data-editable": k(l).edit,
4486
+ contenteditable: k(l).edit,
4487
+ tabindex: D.tabIndex,
4485
4488
  spellcheck: !1,
4486
4489
  style: re(m.value),
4487
- onFocus: x,
4488
- onPaste: O,
4489
- onBlur: O,
4490
- onInput: O,
4491
- onClick: E,
4492
- onMousedown: E,
4493
- class: Se(["atable__cell", C.pinned ? "sticky-column" : ""])
4490
+ onFocus: O,
4491
+ onPaste: P,
4492
+ onBlur: P,
4493
+ onInput: P,
4494
+ onClick: x,
4495
+ onMousedown: x,
4496
+ class: Se(["atable__cell", D.pinned ? "sticky-column" : ""])
4494
4497
  }, [
4495
- $(l).cellComponent ? (I(), xe(rn($(l).cellComponent), sn({
4498
+ k(l).cellComponent ? (I(), xe(rn(k(l).cellComponent), sn({
4496
4499
  key: 0,
4497
4500
  value: v.value
4498
- }, $(l).cellComponentProps), null, 16, ["value"])) : f.value ? (I(), V("span", {
4501
+ }, k(l).cellComponentProps), null, 16, ["value"])) : f.value ? (I(), V("span", {
4499
4502
  key: 1,
4500
4503
  innerHTML: v.value
4501
4504
  }, null, 8, Wl)) : (I(), V("span", Ul, ue(v.value), 1))
4502
4505
  ], 46, Bl));
4503
4506
  }
4504
- }), Fl = ["tabindex"], zl = /* @__PURE__ */ X({
4507
+ }), Fl = ["tabindex"], zl = /* @__PURE__ */ Z({
4505
4508
  __name: "ARow",
4506
4509
  props: {
4507
4510
  rowIndex: {},
@@ -4531,11 +4534,11 @@ const Ml = (e) => {
4531
4534
  class: "table-row"
4532
4535
  }, [
4533
4536
  ve(a.$slots, "index", {}, () => [
4534
- $(t).config.view === "list" ? (I(), V("td", {
4537
+ k(t).config.view === "list" ? (I(), V("td", {
4535
4538
  key: 0,
4536
4539
  tabIndex: -1,
4537
4540
  class: Se(["list-index", o.value ? "sticky-index" : ""])
4538
- }, ue(a.rowIndex + 1), 3)) : $(t).config.view === "tree" ? (I(), V("td", {
4541
+ }, ue(a.rowIndex + 1), 3)) : k(t).config.view === "tree" ? (I(), V("td", {
4539
4542
  key: 1,
4540
4543
  tabIndex: -1,
4541
4544
  class: Se(["tree-index", o.value ? "sticky-index" : ""]),
@@ -4552,7 +4555,7 @@ function Er(e) {
4552
4555
  return xt() ? (St(e), !0) : !1;
4553
4556
  }
4554
4557
  function Qe(e) {
4555
- return typeof e == "function" ? e() : $(e);
4558
+ return typeof e == "function" ? e() : k(e);
4556
4559
  }
4557
4560
  const kr = typeof window < "u" && typeof document < "u";
4558
4561
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -4571,7 +4574,7 @@ function Kl(...e) {
4571
4574
  if (e.length !== 1)
4572
4575
  return ht(...e);
4573
4576
  const t = e[0];
4574
- return typeof t == "function" ? Ar(Tr(() => ({ get: t, set: Xe }))) : P(t);
4577
+ return typeof t == "function" ? Ar(Tr(() => ({ get: t, set: Xe }))) : C(t);
4575
4578
  }
4576
4579
  function Je(e) {
4577
4580
  var t;
@@ -4586,7 +4589,7 @@ function _t(...e) {
4586
4589
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
4587
4590
  const s = [], i = () => {
4588
4591
  s.forEach((u) => u()), s.length = 0;
4589
- }, a = (u, d, p, f) => (u.addEventListener(d, p, f), () => u.removeEventListener(d, p, f)), c = F(
4592
+ }, a = (u, d, p, f) => (u.addEventListener(d, p, f), () => u.removeEventListener(d, p, f)), c = z(
4590
4593
  () => [Je(t), Qe(r)],
4591
4594
  ([u, d]) => {
4592
4595
  if (i(), !u)
@@ -4673,9 +4676,9 @@ function Ql(e) {
4673
4676
  }
4674
4677
  const zt = /* @__PURE__ */ new WeakMap();
4675
4678
  function Xl(e, t = !1) {
4676
- const n = P(t);
4679
+ const n = C(t);
4677
4680
  let o = null, r = "";
4678
- F(Kl(e), (a) => {
4681
+ z(Kl(e), (a) => {
4679
4682
  const c = Ft(Qe(a));
4680
4683
  if (c) {
4681
4684
  const l = c;
@@ -4712,13 +4715,13 @@ function Xl(e, t = !1) {
4712
4715
  }
4713
4716
  function Zl() {
4714
4717
  let e = !1;
4715
- const t = P(!1);
4718
+ const t = C(!1);
4716
4719
  return (n, o) => {
4717
4720
  if (t.value = o.value, e)
4718
4721
  return;
4719
4722
  e = !0;
4720
4723
  const r = Xl(n, o.value);
4721
- F(t, (s) => r.value = s);
4724
+ z(t, (s) => r.value = s);
4722
4725
  };
4723
4726
  }
4724
4727
  Zl();
@@ -4780,7 +4783,7 @@ const tc = {
4780
4783
  }, nc = {
4781
4784
  class: "atable-header-row",
4782
4785
  tabindex: "-1"
4783
- }, oc = /* @__PURE__ */ X({
4786
+ }, oc = /* @__PURE__ */ Z({
4784
4787
  __name: "ATableHeader",
4785
4788
  props: {
4786
4789
  columns: {},
@@ -4793,8 +4796,8 @@ const tc = {
4793
4796
  width: t.config.fullWidth ? "auto" : null
4794
4797
  });
4795
4798
  return (r, s) => r.columns.length ? (I(), V("thead", tc, [
4796
- B("tr", nc, [
4797
- $(t).zeroColumn ? (I(), V("th", {
4799
+ M("tr", nc, [
4800
+ k(t).zeroColumn ? (I(), V("th", {
4798
4801
  key: 0,
4799
4802
  id: "header-index",
4800
4803
  class: Se(n.value ? "sticky-index" : "")
@@ -4812,7 +4815,7 @@ const tc = {
4812
4815
  ])
4813
4816
  ])) : ye("", !0);
4814
4817
  }
4815
- }), rc = /* @__PURE__ */ X({
4818
+ }), rc = /* @__PURE__ */ Z({
4816
4819
  __name: "ATableModal",
4817
4820
  props: {
4818
4821
  colIndex: {},
@@ -4832,7 +4835,7 @@ const tc = {
4832
4835
  ve(n.$slots, "default")
4833
4836
  ], 32));
4834
4837
  }
4835
- }), sc = /* @__PURE__ */ X({
4838
+ }), sc = /* @__PURE__ */ Z({
4836
4839
  __name: "ATable",
4837
4840
  props: {
4838
4841
  id: {},
@@ -4844,7 +4847,7 @@ const tc = {
4844
4847
  emits: ["update:modelValue"],
4845
4848
  setup(e, { emit: t }) {
4846
4849
  const n = t, o = Nt("table"), r = e.modelValue ? e.modelValue : e.rows, s = new ec(e.id, e.columns, r, e.config);
4847
- ft(s.id, s), F(
4850
+ ft(s.id, s), z(
4848
4851
  () => s.rows,
4849
4852
  (c) => {
4850
4853
  n("update:modelValue", c);
@@ -4881,36 +4884,36 @@ const tc = {
4881
4884
  }), (c, l) => Ze((I(), V("table", {
4882
4885
  ref: "table",
4883
4886
  class: "atable",
4884
- style: re({ width: $(s).config.fullWidth ? "100%" : "auto" })
4887
+ style: re({ width: k(s).config.fullWidth ? "100%" : "auto" })
4885
4888
  }, [
4886
- ve(c.$slots, "header", { data: $(s) }, () => [
4889
+ ve(c.$slots, "header", { data: k(s) }, () => [
4887
4890
  Et(oc, {
4888
- columns: $(s).columns,
4889
- tableid: $(s).id
4891
+ columns: k(s).columns,
4892
+ tableid: k(s).id
4890
4893
  }, null, 8, ["columns", "tableid"])
4891
4894
  ], !0),
4892
- B("tbody", null, [
4893
- ve(c.$slots, "body", { data: $(s) }, () => [
4894
- (I(!0), V(Ne, null, Ie($(s).rows, (u, d) => (I(), xe(zl, {
4895
+ M("tbody", null, [
4896
+ ve(c.$slots, "body", { data: k(s) }, () => [
4897
+ (I(!0), V(Ne, null, Ie(k(s).rows, (u, d) => (I(), xe(zl, {
4895
4898
  key: u.id,
4896
4899
  row: u,
4897
4900
  rowIndex: d,
4898
- tableid: $(s).id
4901
+ tableid: k(s).id
4899
4902
  }, {
4900
4903
  default: kt(() => [
4901
- (I(!0), V(Ne, null, Ie($(s).columns, (p, f) => (I(), xe(Hl, {
4904
+ (I(!0), V(Ne, null, Ie(k(s).columns, (p, f) => (I(), xe(Hl, {
4902
4905
  key: p.name,
4903
- tableid: $(s).id,
4906
+ tableid: k(s).id,
4904
4907
  col: p,
4905
4908
  spellcheck: "false",
4906
4909
  pinned: p.pinned,
4907
4910
  rowIndex: d,
4908
- colIndex: f + ($(s).zeroColumn ? 0 : -1),
4911
+ colIndex: f + (k(s).zeroColumn ? 0 : -1),
4909
4912
  component: p.cellComponent,
4910
4913
  style: re({
4911
4914
  textAlign: (p == null ? void 0 : p.align) || "center",
4912
4915
  minWidth: (p == null ? void 0 : p.width) || "40ch",
4913
- width: $(s).config.fullWidth ? "auto" : null
4916
+ width: k(s).config.fullWidth ? "auto" : null
4914
4917
  })
4915
4918
  }, null, 8, ["tableid", "col", "pinned", "rowIndex", "colIndex", "component", "style"]))), 128))
4916
4919
  ]),
@@ -4918,33 +4921,33 @@ const tc = {
4918
4921
  }, 1032, ["row", "rowIndex", "tableid"]))), 128))
4919
4922
  ], !0)
4920
4923
  ]),
4921
- ve(c.$slots, "footer", { data: $(s) }, void 0, !0),
4922
- ve(c.$slots, "modal", { data: $(s) }, () => [
4924
+ ve(c.$slots, "footer", { data: k(s) }, void 0, !0),
4925
+ ve(c.$slots, "modal", { data: k(s) }, () => [
4923
4926
  Ze(Et(rc, {
4924
- colIndex: $(s).modal.colIndex,
4925
- rowIndex: $(s).modal.rowIndex,
4926
- tableid: $(s).id,
4927
+ colIndex: k(s).modal.colIndex,
4928
+ rowIndex: k(s).modal.rowIndex,
4929
+ tableid: k(s).id,
4927
4930
  style: re({
4928
- left: $(s).modal.left + "px",
4929
- top: $(s).modal.top + "px",
4930
- maxWidth: $(s).modal.width + "px"
4931
+ left: k(s).modal.left + "px",
4932
+ top: k(s).modal.top + "px",
4933
+ maxWidth: k(s).modal.width + "px"
4931
4934
  })
4932
4935
  }, {
4933
4936
  default: kt(() => [
4934
- (I(), xe(rn($(s).modal.component), sn({
4935
- key: `${$(s).modal.rowIndex}:${$(s).modal.colIndex}`,
4936
- colIndex: $(s).modal.colIndex,
4937
- rowIndex: $(s).modal.rowIndex,
4938
- tableid: $(s).id
4939
- }, $(s).modal.componentProps), null, 16, ["colIndex", "rowIndex", "tableid"]))
4937
+ (I(), xe(rn(k(s).modal.component), sn({
4938
+ key: `${k(s).modal.rowIndex}:${k(s).modal.colIndex}`,
4939
+ colIndex: k(s).modal.colIndex,
4940
+ rowIndex: k(s).modal.rowIndex,
4941
+ tableid: k(s).id
4942
+ }, k(s).modal.componentProps), null, 16, ["colIndex", "rowIndex", "tableid"]))
4940
4943
  ]),
4941
4944
  _: 1
4942
4945
  }, 8, ["colIndex", "rowIndex", "tableid", "style"]), [
4943
- [on, $(s).modal.visible]
4946
+ [on, k(s).modal.visible]
4944
4947
  ])
4945
4948
  ], !0)
4946
4949
  ], 4)), [
4947
- [$(Yl), a]
4950
+ [k(Yl), a]
4948
4951
  ]);
4949
4952
  }
4950
4953
  }), ac = (e, t) => {
@@ -4952,14 +4955,14 @@ const tc = {
4952
4955
  for (const [o, r] of t)
4953
4956
  n[o] = r;
4954
4957
  return n;
4955
- }, ic = /* @__PURE__ */ ac(sc, [["__scopeId", "data-v-2896bed9"]]), lc = /* @__PURE__ */ X({
4958
+ }, ic = /* @__PURE__ */ ac(sc, [["__scopeId", "data-v-2896bed9"]]), lc = /* @__PURE__ */ Z({
4956
4959
  __name: "Records",
4957
4960
  setup(e) {
4958
4961
  const { stonecrop: t, isReady: n } = jo(), o = { view: "list" };
4959
- return (r, s) => $(n) ? (I(), xe($(ic), {
4962
+ return (r, s) => k(n) ? (I(), xe(k(ic), {
4960
4963
  key: 0,
4961
- columns: $(t).schema.schema.toArray(),
4962
- rows: $(t).store.records,
4964
+ columns: k(t).schema.schema.toArray(),
4965
+ rows: k(t).store.records,
4963
4966
  config: o
4964
4967
  }, null, 8, ["columns", "rows"])) : ye("", !0);
4965
4968
  }
@@ -4973,13 +4976,13 @@ const tc = {
4973
4976
  viewBox: "0 0 424.098 424.098",
4974
4977
  style: { "enable-background": "new 0 0 424.098 424.098" },
4975
4978
  "xml:space": "preserve"
4976
- }, pc = { tabindex: "0" }, fc = { style: { width: "11pt" } }, hc = /* @__PURE__ */ X({
4979
+ }, pc = { tabindex: "0" }, fc = { style: { width: "11pt" } }, hc = /* @__PURE__ */ Z({
4977
4980
  __name: "SheetNav",
4978
4981
  props: {
4979
4982
  breadcrumbs: { default: () => [] }
4980
4983
  },
4981
4984
  setup(e) {
4982
- const t = P(!0), n = P(!1), o = P(""), r = Nt("searchinput"), s = j(() => t.value ? "unrotated" : "rotated"), i = () => {
4985
+ const t = C(!0), n = C(!1), o = C(""), r = Nt("searchinput"), s = j(() => t.value ? "unrotated" : "rotated"), i = () => {
4983
4986
  t.value = !t.value;
4984
4987
  }, a = async () => {
4985
4988
  n.value = !n.value, await Re(() => {
@@ -4994,19 +4997,19 @@ const tc = {
4994
4997
  return (d, p) => {
4995
4998
  const f = Vr("router-link");
4996
4999
  return I(), V("footer", null, [
4997
- B("ul", cc, [
4998
- B("li", {
5000
+ M("ul", cc, [
5001
+ M("li", {
4999
5002
  class: "hidebreadcrumbs",
5000
5003
  onClick: i,
5001
5004
  onKeydown: ct(i, ["enter"])
5002
5005
  }, [
5003
- B("a", uc, [
5004
- B("div", {
5006
+ M("a", uc, [
5007
+ M("div", {
5005
5008
  class: Se(s.value)
5006
5009
  }, "×", 2)
5007
5010
  ])
5008
5011
  ], 32),
5009
- B("li", {
5012
+ M("li", {
5010
5013
  class: "hometab",
5011
5014
  onClick: u,
5012
5015
  onKeydown: ct(u, ["enter"]),
@@ -5018,8 +5021,8 @@ const tc = {
5018
5021
  }, {
5019
5022
  default: kt(() => [
5020
5023
  (I(), V("svg", dc, p[5] || (p[5] = [
5021
- B("g", null, [
5022
- B("path", {
5024
+ M("g", null, [
5025
+ M("path", {
5023
5026
  style: { fill: "#010002" },
5024
5027
  d: `M351.191,401.923H72.901c-4.487,0-8.129-3.633-8.129-8.129V242.262l-56.664-0.114
5025
5028
  c-3.284-0.008-6.243-1.992-7.495-5.023c-1.252-3.04-0.553-6.527,1.764-8.852L206.104,24.546c1.853-1.845,4.503-2.666,7.047-2.276
@@ -5037,19 +5040,19 @@ const tc = {
5037
5040
  _: 1
5038
5041
  })
5039
5042
  ], 36),
5040
- B("li", {
5043
+ M("li", {
5041
5044
  class: "searchtab",
5042
5045
  onClick: a,
5043
5046
  onKeydown: ct(a, ["enter"]),
5044
5047
  style: re({ display: t.value ? "block" : "none" })
5045
5048
  }, [
5046
- B("a", pc, [
5047
- B("span", {
5049
+ M("a", pc, [
5050
+ M("span", {
5048
5051
  style: re({ display: n.value ? "none" : "block" })
5049
5052
  }, [
5050
5053
  (I(), V("svg", fc, p[6] || (p[6] = [
5051
- B("g", { transform: "matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)" }, [
5052
- B("path", {
5054
+ M("g", { transform: "matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)" }, [
5055
+ M("path", {
5053
5056
  d: "M 93.148438,80.832031 C 109.5,57.742188 104.03125,25.769531 80.941406,9.421875 57.851562,-6.925781 25.878906,-1.460938 9.53125,21.632812 -6.816406,44.722656 -1.351562,76.691406 21.742188,93.039062 38.222656,104.70703 60.011719,105.60547 77.394531,95.339844 l 37.769529,37.542966 c 4.07813,4.29297 10.86328,4.46485 15.15625,0.38672 4.29297,-4.07422 4.46485,-10.85937 0.39063,-15.15234 -0.12891,-0.13672 -0.25391,-0.26172 -0.39063,-0.39063 z m -41.839844,3.5 C 33.0625,84.335938 18.269531,69.554688 18.257812,51.308594 18.253906,33.0625 33.035156,18.269531 51.285156,18.261719 c 18.222656,-0.0078 33.007813,14.75 33.042969,32.972656 0.03125,18.25 -14.742187,33.066406 -32.996094,33.097656 -0.0078,0 -0.01172,0 -0.02344,0 z m 0,0",
5054
5057
  style: { fill: "#000000", "fill-opacity": "1", "fill-rule": "nonzero", stroke: "none" },
5055
5058
  id: "path2"
@@ -5057,7 +5060,7 @@ const tc = {
5057
5060
  ], -1)
5058
5061
  ])))
5059
5062
  ], 4),
5060
- Ze(B("input", {
5063
+ Ze(M("input", {
5061
5064
  "onUpdate:modelValue": p[0] || (p[0] = (m) => o.value = m),
5062
5065
  ref: "searchinput",
5063
5066
  style: re({ display: n.value ? "block" : "none" }),