@stonecrop/desktop 0.4.12 → 0.4.13

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,5 +1,5 @@
1
- import { defineComponent as fe, ref as C, onMounted as Ae, createElementBlock as A, openBlock as P, normalizeClass as Me, createElementVNode as x, Fragment as Ee, renderList as Pe, createCommentVNode as ue, toDisplayString as _e, withDirectives as st, vShow as _n, shallowRef as J, watch as K, toValue as $, computed as L, toRef as be, readonly as Qo, customRef as er, getCurrentScope as ft, onScopeDispose as pt, unref as V, createBlock as Se, resolveDynamicComponent as bt, mergeProps as tr, effectScope as vn, markRaw as te, toRaw as Ue, inject as gn, hasInjectionContext as nr, getCurrentInstance as ht, reactive as or, isRef as le, isReactive as Ge, nextTick as Ve, toRefs as Nt, useTemplateRef as Lt, normalizeStyle as ae, renderSlot as ve, createVNode as Dt, withCtx as At, createTextVNode as rr, withModifiers as Fn, onBeforeUnmount as Ss, watchEffect as Ts, resolveComponent as Is, withKeys as gt, vModelText as Ps } from "vue";
2
- const Vs = { class: "action-menu-icon" }, Cs = ["onclick"], Ns = { key: 1 }, Ds = ["onClick"], As = { class: "dropdown-container" }, Rs = { class: "dropdown" }, $s = ["onclick"], xs = ["href"], Ls = { class: "dropdown-item" }, js = /* @__PURE__ */ fe({
1
+ import { defineComponent as fe, ref as C, onMounted as Ae, createElementBlock as A, openBlock as V, normalizeClass as Ue, createElementVNode as L, Fragment as Ee, renderList as Pe, createCommentVNode as ue, toDisplayString as _e, withDirectives as st, vShow as _n, shallowRef as J, watch as K, toValue as $, computed as R, toRef as be, readonly as Qo, customRef as er, getCurrentScope as ft, onScopeDispose as pt, unref as P, createBlock as Se, resolveDynamicComponent as bt, mergeProps as tr, effectScope as vn, markRaw as te, toRaw as Me, inject as gn, hasInjectionContext as nr, getCurrentInstance as ht, reactive as or, isRef as le, isReactive as Ge, nextTick as Ve, toRefs as Nt, useTemplateRef as Lt, normalizeStyle as ae, renderSlot as ve, createVNode as Dt, withCtx as At, createTextVNode as rr, withModifiers as Fn, onBeforeUnmount as Ss, watchEffect as Is, resolveComponent as Ts, withKeys as gt, vModelText as Ps } from "vue";
2
+ const Vs = { class: "action-menu-icon" }, Cs = ["onclick"], Ns = { key: 1 }, Ds = ["onClick"], As = { class: "dropdown-container" }, xs = { class: "dropdown" }, $s = ["onclick"], Rs = ["href"], Ls = { class: "dropdown-item" }, js = /* @__PURE__ */ fe({
3
3
  __name: "ActionSet",
4
4
  props: {
5
5
  elements: {}
@@ -16,23 +16,23 @@ const Vs = { class: "action-menu-icon" }, Cs = ["onclick"], Ns = { key: 1 }, Ds
16
16
  r.value = !0, o.value = setTimeout(() => {
17
17
  r.value && (n.value = !0);
18
18
  }, 500);
19
- }, c = () => {
19
+ }, l = () => {
20
20
  r.value = !1, a.value = !1, clearTimeout(o.value), n.value = !1;
21
- }, l = (u) => {
21
+ }, c = (u) => {
22
22
  const d = !t.value[u].show;
23
23
  s(), t.value[u].show = d;
24
24
  };
25
- return (u, d) => (P(), A("div", {
26
- class: Me([{ "open-set": n.value, "hovered-and-closed": a.value }, "action-set collapse"]),
25
+ return (u, d) => (V(), A("div", {
26
+ class: Ue([{ "open-set": n.value, "hovered-and-closed": a.value }, "action-set collapse"]),
27
27
  onMouseover: i,
28
- onMouseleave: c
28
+ onMouseleave: l
29
29
  }, [
30
- x("div", Vs, [
31
- x("div", {
30
+ L("div", Vs, [
31
+ L("div", {
32
32
  id: "chevron",
33
- onClick: d[0] || (d[0] = (p) => a.value = !a.value)
33
+ onClick: d[0] || (d[0] = (f) => a.value = !a.value)
34
34
  }, d[1] || (d[1] = [
35
- x("svg", {
35
+ L("svg", {
36
36
  class: "leftBar",
37
37
  version: "1.1",
38
38
  id: "Layer_1",
@@ -45,9 +45,9 @@ const Vs = { class: "action-menu-icon" }, Cs = ["onclick"], Ns = { key: 1 }, Ds
45
45
  width: "50",
46
46
  height: "50"
47
47
  }, [
48
- x("polygon", { points: "54.2,33.4 29.2,58.8 25,54.6 50,29.2 " })
48
+ L("polygon", { points: "54.2,33.4 29.2,58.8 25,54.6 50,29.2 " })
49
49
  ], -1),
50
- x("svg", {
50
+ L("svg", {
51
51
  class: "rightBar",
52
52
  version: "1.1",
53
53
  id: "Layer_1",
@@ -60,44 +60,44 @@ const Vs = { class: "action-menu-icon" }, Cs = ["onclick"], Ns = { key: 1 }, Ds
60
60
  width: "50",
61
61
  height: "50"
62
62
  }, [
63
- x("polygon", { points: "70.8,58.8 45.8,33.4 50,29.2 75,54.6 " })
63
+ L("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] = x("div", { style: { "margin-right": "30px" } }, null, -1)),
68
- (P(!0), A(Ee, null, Pe(t.value, (p, f) => (P(), A("div", {
67
+ d[2] || (d[2] = L("div", { style: { "margin-right": "30px" } }, null, -1)),
68
+ (V(!0), A(Ee, null, Pe(t.value, (f, m) => (V(), A("div", {
69
69
  class: "action-element",
70
- key: p.label
70
+ key: f.label
71
71
  }, [
72
- p.type == "button" ? (P(), A("button", {
72
+ f.type == "button" ? (V(), A("button", {
73
73
  key: 0,
74
- onclick: p.action,
74
+ onclick: f.action,
75
75
  class: "button-default"
76
- }, _e(p.label), 9, Cs)) : ue("", !0),
77
- p.type == "dropdown" ? (P(), A("div", Ns, [
78
- x("button", {
76
+ }, _e(f.label), 9, Cs)) : ue("", !0),
77
+ f.type == "dropdown" ? (V(), A("div", Ns, [
78
+ L("button", {
79
79
  class: "button-default",
80
- onClick: (m) => l(f)
81
- }, _e(p.label), 9, Ds),
82
- st(x("div", As, [
83
- x("div", Rs, [
84
- (P(!0), A(Ee, null, Pe(p.actions, (m) => (P(), A("div", {
85
- key: m.label
80
+ onClick: (h) => c(m)
81
+ }, _e(f.label), 9, Ds),
82
+ st(L("div", As, [
83
+ L("div", xs, [
84
+ (V(!0), A(Ee, null, Pe(f.actions, (h) => (V(), A("div", {
85
+ key: h.label
86
86
  }, [
87
- m.action != null ? (P(), A("button", {
87
+ h.action != null ? (V(), A("button", {
88
88
  key: 0,
89
- onclick: m.action,
89
+ onclick: h.action,
90
90
  class: "dropdown-item"
91
- }, _e(m.label), 9, $s)) : m.link != null ? (P(), A("a", {
91
+ }, _e(h.label), 9, $s)) : h.link != null ? (V(), A("a", {
92
92
  key: 1,
93
- href: m.link
93
+ href: h.link
94
94
  }, [
95
- x("button", Ls, _e(m.label), 1)
96
- ], 8, xs)) : ue("", !0)
95
+ L("button", Ls, _e(h.label), 1)
96
+ ], 8, Rs)) : ue("", !0)
97
97
  ]))), 128))
98
98
  ])
99
99
  ], 512), [
100
- [_n, p.show]
100
+ [_n, f.show]
101
101
  ])
102
102
  ])) : ue("", !0)
103
103
  ]))), 128))
@@ -108,11 +108,11 @@ const Vs = { class: "action-menu-icon" }, Cs = ["onclick"], Ns = { key: 1 }, Ds
108
108
  for (const [o, r] of t)
109
109
  n[o] = r;
110
110
  return n;
111
- }, Ms = /* @__PURE__ */ yn(js, [["__scopeId", "data-v-38e7af34"]]), Us = {};
111
+ }, Us = /* @__PURE__ */ yn(js, [["__scopeId", "data-v-38e7af34"]]), Ms = {};
112
112
  function Hs(e, t) {
113
- return P(), A("dialog");
113
+ return V(), A("dialog");
114
114
  }
115
- const zs = /* @__PURE__ */ yn(Us, [["render", Hs]]), Bs = (e, t) => {
115
+ const zs = /* @__PURE__ */ yn(Ms, [["render", Hs]]), Bs = (e, t) => {
116
116
  const n = e.__vccOpts || e;
117
117
  for (const [o, r] of t)
118
118
  n[o] = r;
@@ -157,28 +157,28 @@ function Xs(e) {
157
157
  function Zs(...e) {
158
158
  const t = [], n = () => {
159
159
  t.forEach((i) => i()), t.length = 0;
160
- }, o = (i, c, l, u) => (i.addEventListener(c, l, u), () => i.removeEventListener(c, l, u)), r = L(() => {
161
- const i = Bt($(e[0])).filter((c) => c != null);
162
- return i.every((c) => typeof c != "string") ? i : void 0;
160
+ }, o = (i, l, c, u) => (i.addEventListener(l, c, u), () => i.removeEventListener(l, c, u)), r = R(() => {
161
+ const i = Bt($(e[0])).filter((l) => l != null);
162
+ return i.every((l) => typeof l != "string") ? i : void 0;
163
163
  }), a = qs(
164
164
  () => {
165
- var i, c;
165
+ var i, l;
166
166
  return [
167
- (c = (i = r.value) == null ? void 0 : i.map((l) => Xs(l))) != null ? c : [Js].filter((l) => l != null),
167
+ (l = (i = r.value) == null ? void 0 : i.map((c) => Xs(c))) != null ? l : [Js].filter((c) => c != null),
168
168
  Bt($(r.value ? e[1] : e[0])),
169
- Bt(V(r.value ? e[2] : e[1])),
169
+ Bt(P(r.value ? e[2] : e[1])),
170
170
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
171
171
  $(r.value ? e[3] : e[2])
172
172
  ];
173
173
  },
174
- ([i, c, l, u]) => {
175
- if (n(), !(i != null && i.length) || !(c != null && c.length) || !(l != null && l.length))
174
+ ([i, l, c, u]) => {
175
+ if (n(), !(i != null && i.length) || !(l != null && l.length) || !(c != null && c.length))
176
176
  return;
177
177
  const d = Ws(u) ? { ...u } : u;
178
178
  t.push(
179
179
  ...i.flatMap(
180
- (p) => c.flatMap(
181
- (f) => l.map((m) => o(p, f, m, d))
180
+ (f) => l.flatMap(
181
+ (m) => c.map((h) => o(f, m, h, d))
182
182
  )
183
183
  )
184
184
  );
@@ -210,13 +210,13 @@ function ea(e, t = !1) {
210
210
  const n = C(t);
211
211
  let o = null, r = "";
212
212
  K(Ys(e), (i) => {
213
- const c = Kt($(i));
214
- if (c) {
215
- const l = c;
216
- if (Wt.get(l) || Wt.set(l, l.style.overflow), l.style.overflow !== "hidden" && (r = l.style.overflow), l.style.overflow === "hidden")
213
+ const l = Kt($(i));
214
+ if (l) {
215
+ const c = l;
216
+ if (Wt.get(c) || Wt.set(c, c.style.overflow), c.style.overflow !== "hidden" && (r = c.style.overflow), c.style.overflow === "hidden")
217
217
  return n.value = !0;
218
218
  if (n.value)
219
- return l.style.overflow = "hidden";
219
+ return c.style.overflow = "hidden";
220
220
  }
221
221
  }, {
222
222
  immediate: !0
@@ -226,8 +226,8 @@ function ea(e, t = !1) {
226
226
  !i || n.value || (Gn && (o = Zs(
227
227
  i,
228
228
  "touchmove",
229
- (c) => {
230
- Qs(c);
229
+ (l) => {
230
+ Qs(l);
231
231
  },
232
232
  { passive: !1 }
233
233
  )), i.style.overflow = "hidden", n.value = !0);
@@ -235,7 +235,7 @@ function ea(e, t = !1) {
235
235
  const i = Kt($(e));
236
236
  !i || !n.value || (Gn && (o == null || o()), i.style.overflow = r, Wt.delete(i), n.value = !1);
237
237
  };
238
- return sr(s), L({
238
+ return sr(s), R({
239
239
  get() {
240
240
  return n.value;
241
241
  },
@@ -268,31 +268,31 @@ const na = { class: "aform" }, oa = /* @__PURE__ */ fe({
268
268
  setup(e, { emit: t }) {
269
269
  const n = t, o = C(e.data || {}), r = (s) => {
270
270
  let i = {};
271
- for (const [c, l] of Object.entries(s))
272
- ["component", "fieldtype"].includes(c) || (i[c] = l), c === "rows" && l && l.length === 0 && (i.rows = o.value[s.fieldname]);
271
+ for (const [l, c] of Object.entries(s))
272
+ ["component", "fieldtype"].includes(l) || (i[l] = c), l === "rows" && c && c.length === 0 && (i.rows = o.value[s.fieldname]);
273
273
  return i;
274
- }, a = L({
275
- get: () => e.modelValue.map((s, i) => L({
274
+ }, a = R({
275
+ get: () => e.modelValue.map((s, i) => R({
276
276
  get() {
277
277
  return s.value;
278
278
  },
279
- set: (c) => {
280
- e.modelValue[i].value = c, n("update:modelValue", e.modelValue);
279
+ set: (l) => {
280
+ e.modelValue[i].value = l, n("update:modelValue", e.modelValue);
281
281
  }
282
282
  })),
283
283
  set: () => {
284
284
  }
285
285
  });
286
- return (s, i) => (P(), A("form", na, [
287
- (P(!0), A(Ee, null, Pe(s.modelValue, (c, l) => (P(), Se(bt(c.component), tr({
288
- key: l,
289
- schema: c,
290
- modelValue: a.value[l].value,
291
- "onUpdate:modelValue": (u) => a.value[l].value = u,
292
- data: o.value[c.fieldname],
286
+ return (s, i) => (V(), A("form", na, [
287
+ (V(!0), A(Ee, null, Pe(s.modelValue, (l, c) => (V(), Se(bt(l.component), tr({
288
+ key: c,
289
+ schema: l,
290
+ modelValue: a.value[c].value,
291
+ "onUpdate:modelValue": (u) => a.value[c].value = u,
292
+ data: o.value[l.fieldname],
293
293
  readonly: s.readonly,
294
294
  ref_for: !0
295
- }, r(c)), null, 16, ["schema", "modelValue", "onUpdate:modelValue", "data", "readonly"]))), 128))
295
+ }, r(l)), null, 16, ["schema", "modelValue", "onUpdate:modelValue", "data", "readonly"]))), 128))
296
296
  ]));
297
297
  }
298
298
  }), ra = /* @__PURE__ */ Bs(oa, [["__scopeId", "data-v-68845234"]]);
@@ -485,113 +485,113 @@ var la = Object.create, cr = Object.defineProperty, ca = Object.getOwnPropertyDe
485
485
  function o(a) {
486
486
  if (a = a || {}, a.circles) return r(a);
487
487
  const s = /* @__PURE__ */ new Map();
488
- if (s.set(Date, (d) => new Date(d)), s.set(Map, (d, p) => new Map(c(Array.from(d), p))), s.set(Set, (d, p) => new Set(c(Array.from(d), p))), a.constructorHandlers)
488
+ if (s.set(Date, (d) => new Date(d)), s.set(Map, (d, f) => new Map(l(Array.from(d), f))), s.set(Set, (d, f) => new Set(l(Array.from(d), f))), a.constructorHandlers)
489
489
  for (const d of a.constructorHandlers)
490
490
  s.set(d[0], d[1]);
491
491
  let i = null;
492
- return a.proto ? u : l;
493
- function c(d, p) {
494
- const f = Object.keys(d), m = new Array(f.length);
495
- for (let E = 0; E < f.length; E++) {
496
- const h = f[E], w = d[h];
497
- typeof w != "object" || w === null ? m[h] = w : w.constructor !== Object && (i = s.get(w.constructor)) ? m[h] = i(w, p) : ArrayBuffer.isView(w) ? m[h] = n(w) : m[h] = p(w);
492
+ return a.proto ? u : c;
493
+ function l(d, f) {
494
+ const m = Object.keys(d), h = new Array(m.length);
495
+ for (let y = 0; y < m.length; y++) {
496
+ const p = m[y], b = d[p];
497
+ typeof b != "object" || b === null ? h[p] = b : b.constructor !== Object && (i = s.get(b.constructor)) ? h[p] = i(b, f) : ArrayBuffer.isView(b) ? h[p] = n(b) : h[p] = f(b);
498
498
  }
499
- return m;
499
+ return h;
500
500
  }
501
- function l(d) {
501
+ function c(d) {
502
502
  if (typeof d != "object" || d === null) return d;
503
- if (Array.isArray(d)) return c(d, l);
503
+ if (Array.isArray(d)) return l(d, c);
504
504
  if (d.constructor !== Object && (i = s.get(d.constructor)))
505
- return i(d, l);
506
- const p = {};
507
- for (const f in d) {
508
- if (Object.hasOwnProperty.call(d, f) === !1) continue;
509
- const m = d[f];
510
- typeof m != "object" || m === null ? p[f] = m : m.constructor !== Object && (i = s.get(m.constructor)) ? p[f] = i(m, l) : ArrayBuffer.isView(m) ? p[f] = n(m) : p[f] = l(m);
505
+ return i(d, c);
506
+ const f = {};
507
+ for (const m in d) {
508
+ if (Object.hasOwnProperty.call(d, m) === !1) continue;
509
+ const h = d[m];
510
+ typeof h != "object" || h === null ? f[m] = h : h.constructor !== Object && (i = s.get(h.constructor)) ? f[m] = i(h, c) : ArrayBuffer.isView(h) ? f[m] = n(h) : f[m] = c(h);
511
511
  }
512
- return p;
512
+ return f;
513
513
  }
514
514
  function u(d) {
515
515
  if (typeof d != "object" || d === null) return d;
516
- if (Array.isArray(d)) return c(d, u);
516
+ if (Array.isArray(d)) return l(d, u);
517
517
  if (d.constructor !== Object && (i = s.get(d.constructor)))
518
518
  return i(d, u);
519
- const p = {};
520
- for (const f in d) {
521
- const m = d[f];
522
- typeof m != "object" || m === null ? p[f] = m : m.constructor !== Object && (i = s.get(m.constructor)) ? p[f] = i(m, u) : ArrayBuffer.isView(m) ? p[f] = n(m) : p[f] = u(m);
519
+ const f = {};
520
+ for (const m in d) {
521
+ const h = d[m];
522
+ typeof h != "object" || h === null ? f[m] = h : h.constructor !== Object && (i = s.get(h.constructor)) ? f[m] = i(h, u) : ArrayBuffer.isView(h) ? f[m] = n(h) : f[m] = u(h);
523
523
  }
524
- return p;
524
+ return f;
525
525
  }
526
526
  }
527
527
  function r(a) {
528
- const s = [], i = [], c = /* @__PURE__ */ new Map();
529
- if (c.set(Date, (f) => new Date(f)), c.set(Map, (f, m) => new Map(u(Array.from(f), m))), c.set(Set, (f, m) => new Set(u(Array.from(f), m))), a.constructorHandlers)
530
- for (const f of a.constructorHandlers)
531
- c.set(f[0], f[1]);
532
- let l = null;
533
- return a.proto ? p : d;
534
- function u(f, m) {
535
- const E = Object.keys(f), h = new Array(E.length);
536
- for (let w = 0; w < E.length; w++) {
537
- const T = E[w], R = f[T];
538
- if (typeof R != "object" || R === null)
539
- h[T] = R;
540
- else if (R.constructor !== Object && (l = c.get(R.constructor)))
541
- h[T] = l(R, m);
542
- else if (ArrayBuffer.isView(R))
543
- h[T] = n(R);
528
+ const s = [], i = [], l = /* @__PURE__ */ new Map();
529
+ if (l.set(Date, (m) => new Date(m)), l.set(Map, (m, h) => new Map(u(Array.from(m), h))), l.set(Set, (m, h) => new Set(u(Array.from(m), h))), a.constructorHandlers)
530
+ for (const m of a.constructorHandlers)
531
+ l.set(m[0], m[1]);
532
+ let c = null;
533
+ return a.proto ? f : d;
534
+ function u(m, h) {
535
+ const y = Object.keys(m), p = new Array(y.length);
536
+ for (let b = 0; b < y.length; b++) {
537
+ const S = y[b], x = m[S];
538
+ if (typeof x != "object" || x === null)
539
+ p[S] = x;
540
+ else if (x.constructor !== Object && (c = l.get(x.constructor)))
541
+ p[S] = c(x, h);
542
+ else if (ArrayBuffer.isView(x))
543
+ p[S] = n(x);
544
544
  else {
545
- const U = s.indexOf(R);
546
- U !== -1 ? h[T] = i[U] : h[T] = m(R);
545
+ const M = s.indexOf(x);
546
+ M !== -1 ? p[S] = i[M] : p[S] = h(x);
547
547
  }
548
548
  }
549
- return h;
549
+ return p;
550
550
  }
551
- function d(f) {
552
- if (typeof f != "object" || f === null) return f;
553
- if (Array.isArray(f)) return u(f, d);
554
- if (f.constructor !== Object && (l = c.get(f.constructor)))
555
- return l(f, d);
556
- const m = {};
557
- s.push(f), i.push(m);
558
- for (const E in f) {
559
- if (Object.hasOwnProperty.call(f, E) === !1) continue;
560
- const h = f[E];
561
- if (typeof h != "object" || h === null)
562
- m[E] = h;
563
- else if (h.constructor !== Object && (l = c.get(h.constructor)))
564
- m[E] = l(h, d);
565
- else if (ArrayBuffer.isView(h))
566
- m[E] = n(h);
551
+ function d(m) {
552
+ if (typeof m != "object" || m === null) return m;
553
+ if (Array.isArray(m)) return u(m, d);
554
+ if (m.constructor !== Object && (c = l.get(m.constructor)))
555
+ return c(m, d);
556
+ const h = {};
557
+ s.push(m), i.push(h);
558
+ for (const y in m) {
559
+ if (Object.hasOwnProperty.call(m, y) === !1) continue;
560
+ const p = m[y];
561
+ if (typeof p != "object" || p === null)
562
+ h[y] = p;
563
+ else if (p.constructor !== Object && (c = l.get(p.constructor)))
564
+ h[y] = c(p, d);
565
+ else if (ArrayBuffer.isView(p))
566
+ h[y] = n(p);
567
567
  else {
568
- const w = s.indexOf(h);
569
- w !== -1 ? m[E] = i[w] : m[E] = d(h);
568
+ const b = s.indexOf(p);
569
+ b !== -1 ? h[y] = i[b] : h[y] = d(p);
570
570
  }
571
571
  }
572
- return s.pop(), i.pop(), m;
572
+ return s.pop(), i.pop(), h;
573
573
  }
574
- function p(f) {
575
- if (typeof f != "object" || f === null) return f;
576
- if (Array.isArray(f)) return u(f, p);
577
- if (f.constructor !== Object && (l = c.get(f.constructor)))
578
- return l(f, p);
579
- const m = {};
580
- s.push(f), i.push(m);
581
- for (const E in f) {
582
- const h = f[E];
583
- if (typeof h != "object" || h === null)
584
- m[E] = h;
585
- else if (h.constructor !== Object && (l = c.get(h.constructor)))
586
- m[E] = l(h, p);
587
- else if (ArrayBuffer.isView(h))
588
- m[E] = n(h);
574
+ function f(m) {
575
+ if (typeof m != "object" || m === null) return m;
576
+ if (Array.isArray(m)) return u(m, f);
577
+ if (m.constructor !== Object && (c = l.get(m.constructor)))
578
+ return c(m, f);
579
+ const h = {};
580
+ s.push(m), i.push(h);
581
+ for (const y in m) {
582
+ const p = m[y];
583
+ if (typeof p != "object" || p === null)
584
+ h[y] = p;
585
+ else if (p.constructor !== Object && (c = l.get(p.constructor)))
586
+ h[y] = c(p, f);
587
+ else if (ArrayBuffer.isView(p))
588
+ h[y] = n(p);
589
589
  else {
590
- const w = s.indexOf(h);
591
- w !== -1 ? m[E] = i[w] : m[E] = p(h);
590
+ const b = s.indexOf(p);
591
+ b !== -1 ? h[y] = i[b] : h[y] = f(p);
592
592
  }
593
593
  }
594
- return s.pop(), i.pop(), m;
594
+ return s.pop(), i.pop(), h;
595
595
  }
596
596
  }
597
597
  }
@@ -599,9 +599,9 @@ var la = Object.create, cr = Object.defineProperty, ca = Object.getOwnPropertyDe
599
599
  mt();
600
600
  mt();
601
601
  mt();
602
- var ur = typeof navigator < "u", O = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
603
- typeof O.chrome < "u" && O.chrome.devtools;
604
- ur && (O.self, O.top);
602
+ var ur = typeof navigator < "u", k = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
603
+ typeof k.chrome < "u" && k.chrome.devtools;
604
+ ur && (k.self, k.top);
605
605
  var Yn;
606
606
  typeof navigator < "u" && ((Yn = navigator.userAgent) == null || Yn.toLowerCase().includes("electron"));
607
607
  mt();
@@ -629,22 +629,22 @@ function He(e, t = 25, n = {}) {
629
629
  if (n = { ...wa, ...n }, !Number.isFinite(t))
630
630
  throw new TypeError("Expected `wait` to be a finite number");
631
631
  let o, r, a = [], s, i;
632
- const c = (l, u) => (s = Oa(e, l, u), s.finally(() => {
632
+ const l = (c, u) => (s = Oa(e, c, u), s.finally(() => {
633
633
  if (s = null, n.trailing && i && !r) {
634
- const d = c(l, i);
634
+ const d = l(c, i);
635
635
  return i = null, d;
636
636
  }
637
637
  }), s);
638
- return function(...l) {
639
- return s ? (n.trailing && (i = l), s) : new Promise((u) => {
638
+ return function(...c) {
639
+ return s ? (n.trailing && (i = c), s) : new Promise((u) => {
640
640
  const d = !r && n.leading;
641
641
  clearTimeout(r), r = setTimeout(() => {
642
642
  r = null;
643
- const p = n.leading ? o : c(this, l);
644
- for (const f of a)
645
- f(p);
643
+ const f = n.leading ? o : l(this, c);
644
+ for (const m of a)
645
+ m(f);
646
646
  a = [];
647
- }, t), d ? (o = c(this, l), u(o)) : a.push(u);
647
+ }, t), d ? (o = l(this, c), u(o)) : a.push(u);
648
648
  });
649
649
  };
650
650
  }
@@ -659,14 +659,14 @@ function tn(e, t = {}, n) {
659
659
  return t;
660
660
  }
661
661
  const ka = { run: (e) => e() }, Sa = () => ka, dr = typeof console.createTask < "u" ? console.createTask : Sa;
662
- function Ta(e, t) {
662
+ function Ia(e, t) {
663
663
  const n = t.shift(), o = dr(n);
664
664
  return e.reduce(
665
665
  (r, a) => r.then(() => o.run(() => a(...t))),
666
666
  Promise.resolve()
667
667
  );
668
668
  }
669
- function Ia(e, t) {
669
+ function Ta(e, t) {
670
670
  const n = t.shift(), o = dr(n);
671
671
  return Promise.all(e.map((r) => o.run(() => r(...t))));
672
672
  }
@@ -743,10 +743,10 @@ class Pa {
743
743
  delete this._hooks[t];
744
744
  }
745
745
  callHook(t, ...n) {
746
- return n.unshift(t), this.callHookWith(Ta, t, ...n);
746
+ return n.unshift(t), this.callHookWith(Ia, t, ...n);
747
747
  }
748
748
  callHookParallel(t, ...n) {
749
- return n.unshift(t), this.callHookWith(Ia, t, ...n);
749
+ return n.unshift(t), this.callHookWith(Ta, t, ...n);
750
750
  }
751
751
  callHookWith(t, n, ...o) {
752
752
  const r = this._before || this._after ? { name: n, args: o, context: {} } : void 0;
@@ -783,24 +783,24 @@ var Va = Object.create, pr = Object.defineProperty, Ca = Object.getOwnPropertyDe
783
783
  return e && (t = (0, e[bn(e)[0]])(e = 0)), t;
784
784
  }, hr = (e, t) => function() {
785
785
  return t || (0, e[bn(e)[0]])((t = { exports: {} }).exports, t), t.exports;
786
- }, Ra = (e, t, n, o) => {
786
+ }, xa = (e, t, n, o) => {
787
787
  if (t && typeof t == "object" || typeof t == "function")
788
788
  for (let r of bn(t))
789
789
  !Da.call(e, r) && r !== n && pr(e, r, { get: () => t[r], enumerable: !(o = Ca(t, r)) || o.enumerable });
790
790
  return e;
791
- }, $a = (e, t, n) => (n = e != null ? Va(Na(e)) : {}, Ra(
791
+ }, $a = (e, t, n) => (n = e != null ? Va(Na(e)) : {}, xa(
792
792
  // If the importer is in node compatibility mode or this is not an ESM
793
793
  // file that has been converted to a CommonJS file using a Babel-
794
794
  // compatible transform (i.e. "__esModule" has not been set), then set
795
795
  // "default" to the CommonJS "module.exports" for node compatibility.
796
796
  pr(n, "default", { value: e, enumerable: !0 }),
797
797
  e
798
- )), y = Aa({
798
+ )), E = Aa({
799
799
  "../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"() {
800
800
  }
801
- }), xa = hr({
801
+ }), Ra = hr({
802
802
  "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e, t) {
803
- y(), function(n) {
803
+ E(), function(n) {
804
804
  var o = {
805
805
  // latin
806
806
  À: "A",
@@ -2134,44 +2134,44 @@ var Va = Object.create, pr = Object.defineProperty, Ca = Object.getOwnPropertyDe
2134
2134
  "∑": "tong",
2135
2135
  "¤": "tien te"
2136
2136
  }
2137
- }, c = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), l = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), u = [".", "!", "~", "*", "'", "(", ")"].join(""), d = function(E, h) {
2138
- var w = "-", T = "", R = "", U = !0, M = {}, re, b, k, v, _, g, S, N, X, F, I, Z, D, H, me = "";
2139
- if (typeof E != "string")
2137
+ }, l = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), c = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), u = [".", "!", "~", "*", "'", "(", ")"].join(""), d = function(y, p) {
2138
+ var b = "-", S = "", x = "", M = !0, U = {}, re, w, O, v, _, g, I, N, X, F, T, Z, D, H, me = "";
2139
+ if (typeof y != "string")
2140
2140
  return "";
2141
- if (typeof h == "string" && (w = h), S = i.en, N = s.en, typeof h == "object") {
2142
- re = h.maintainCase || !1, M = h.custom && typeof h.custom == "object" ? h.custom : M, k = +h.truncate > 1 && h.truncate || !1, v = h.uric || !1, _ = h.uricNoSlash || !1, g = h.mark || !1, U = !(h.symbols === !1 || h.lang === !1), w = h.separator || w, v && (me += c), _ && (me += l), g && (me += u), S = h.lang && i[h.lang] && U ? i[h.lang] : U ? i.en : {}, N = h.lang && s[h.lang] ? s[h.lang] : h.lang === !1 || h.lang === !0 ? {} : s.en, h.titleCase && typeof h.titleCase.length == "number" && Array.prototype.toString.call(h.titleCase) ? (h.titleCase.forEach(function(ne) {
2143
- M[ne + ""] = ne + "";
2144
- }), b = !0) : b = !!h.titleCase, h.custom && typeof h.custom.length == "number" && Array.prototype.toString.call(h.custom) && h.custom.forEach(function(ne) {
2145
- M[ne + ""] = ne + "";
2146
- }), Object.keys(M).forEach(function(ne) {
2141
+ if (typeof p == "string" && (b = p), I = i.en, N = s.en, typeof p == "object") {
2142
+ re = p.maintainCase || !1, U = p.custom && typeof p.custom == "object" ? p.custom : U, O = +p.truncate > 1 && p.truncate || !1, v = p.uric || !1, _ = p.uricNoSlash || !1, g = p.mark || !1, M = !(p.symbols === !1 || p.lang === !1), b = p.separator || b, v && (me += l), _ && (me += c), g && (me += u), I = p.lang && i[p.lang] && M ? i[p.lang] : M ? i.en : {}, N = p.lang && s[p.lang] ? s[p.lang] : p.lang === !1 || p.lang === !0 ? {} : s.en, p.titleCase && typeof p.titleCase.length == "number" && Array.prototype.toString.call(p.titleCase) ? (p.titleCase.forEach(function(ne) {
2143
+ U[ne + ""] = ne + "";
2144
+ }), w = !0) : w = !!p.titleCase, p.custom && typeof p.custom.length == "number" && Array.prototype.toString.call(p.custom) && p.custom.forEach(function(ne) {
2145
+ U[ne + ""] = ne + "";
2146
+ }), Object.keys(U).forEach(function(ne) {
2147
2147
  var Xe;
2148
- ne.length > 1 ? Xe = new RegExp("\\b" + f(ne) + "\\b", "gi") : Xe = new RegExp(f(ne), "gi"), E = E.replace(Xe, M[ne]);
2148
+ ne.length > 1 ? Xe = new RegExp("\\b" + m(ne) + "\\b", "gi") : Xe = new RegExp(m(ne), "gi"), y = y.replace(Xe, U[ne]);
2149
2149
  });
2150
- for (I in M)
2151
- me += I;
2150
+ for (T in U)
2151
+ me += T;
2152
2152
  }
2153
- for (me += w, me = f(me), E = E.replace(/(^\s+|\s+$)/g, ""), D = !1, H = !1, F = 0, Z = E.length; F < Z; F++)
2154
- I = E[F], m(I, M) ? D = !1 : N[I] ? (I = D && N[I].match(/[A-Za-z0-9]/) ? " " + N[I] : N[I], D = !1) : I in o ? (F + 1 < Z && r.indexOf(E[F + 1]) >= 0 ? (R += I, I = "") : H === !0 ? (I = a[R] + o[I], R = "") : I = D && o[I].match(/[A-Za-z0-9]/) ? " " + o[I] : o[I], D = !1, H = !1) : I in a ? (R += I, I = "", F === Z - 1 && (I = a[R]), H = !0) : (
2153
+ for (me += b, me = m(me), y = y.replace(/(^\s+|\s+$)/g, ""), D = !1, H = !1, F = 0, Z = y.length; F < Z; F++)
2154
+ T = y[F], h(T, U) ? D = !1 : N[T] ? (T = D && N[T].match(/[A-Za-z0-9]/) ? " " + N[T] : N[T], D = !1) : T in o ? (F + 1 < Z && r.indexOf(y[F + 1]) >= 0 ? (x += T, T = "") : H === !0 ? (T = a[x] + o[T], x = "") : T = D && o[T].match(/[A-Za-z0-9]/) ? " " + o[T] : o[T], D = !1, H = !1) : T in a ? (x += T, T = "", F === Z - 1 && (T = a[x]), H = !0) : (
2155
2155
  /* process symbol chars */
2156
- S[I] && !(v && c.indexOf(I) !== -1) && !(_ && l.indexOf(I) !== -1) ? (I = D || T.substr(-1).match(/[A-Za-z0-9]/) ? w + S[I] : S[I], I += E[F + 1] !== void 0 && E[F + 1].match(/[A-Za-z0-9]/) ? w : "", D = !0) : (H === !0 ? (I = a[R] + I, R = "", H = !1) : D && (/[A-Za-z0-9]/.test(I) || T.substr(-1).match(/A-Za-z0-9]/)) && (I = " " + I), D = !1)
2157
- ), T += I.replace(new RegExp("[^\\w\\s" + me + "_-]", "g"), w);
2158
- return b && (T = T.replace(/(\w)(\S*)/g, function(ne, Xe, Wn) {
2156
+ I[T] && !(v && l.indexOf(T) !== -1) && !(_ && c.indexOf(T) !== -1) ? (T = D || S.substr(-1).match(/[A-Za-z0-9]/) ? b + I[T] : I[T], T += y[F + 1] !== void 0 && y[F + 1].match(/[A-Za-z0-9]/) ? b : "", D = !0) : (H === !0 ? (T = a[x] + T, x = "", H = !1) : D && (/[A-Za-z0-9]/.test(T) || S.substr(-1).match(/A-Za-z0-9]/)) && (T = " " + T), D = !1)
2157
+ ), S += T.replace(new RegExp("[^\\w\\s" + me + "_-]", "g"), b);
2158
+ return w && (S = S.replace(/(\w)(\S*)/g, function(ne, Xe, Wn) {
2159
2159
  var zt = Xe.toUpperCase() + (Wn !== null ? Wn : "");
2160
- return Object.keys(M).indexOf(zt.toLowerCase()) < 0 ? zt : zt.toLowerCase();
2161
- })), T = T.replace(/\s+/g, w).replace(new RegExp("\\" + w + "+", "g"), w).replace(new RegExp("(^\\" + w + "+|\\" + w + "+$)", "g"), ""), k && T.length > k && (X = T.charAt(k) === w, T = T.slice(0, k), X || (T = T.slice(0, T.lastIndexOf(w)))), !re && !b && (T = T.toLowerCase()), T;
2162
- }, p = function(E) {
2163
- return function(h) {
2164
- return d(h, E);
2160
+ return Object.keys(U).indexOf(zt.toLowerCase()) < 0 ? zt : zt.toLowerCase();
2161
+ })), S = S.replace(/\s+/g, b).replace(new RegExp("\\" + b + "+", "g"), b).replace(new RegExp("(^\\" + b + "+|\\" + b + "+$)", "g"), ""), O && S.length > O && (X = S.charAt(O) === b, S = S.slice(0, O), X || (S = S.slice(0, S.lastIndexOf(b)))), !re && !w && (S = S.toLowerCase()), S;
2162
+ }, f = function(y) {
2163
+ return function(p) {
2164
+ return d(p, y);
2165
2165
  };
2166
- }, f = function(E) {
2167
- return E.replace(/[-\\^$*+?.()|[\]{}\/]/g, "\\$&");
2168
- }, m = function(E, h) {
2169
- for (var w in h)
2170
- if (h[w] === E)
2166
+ }, m = function(y) {
2167
+ return y.replace(/[-\\^$*+?.()|[\]{}\/]/g, "\\$&");
2168
+ }, h = function(y, p) {
2169
+ for (var b in p)
2170
+ if (p[b] === y)
2171
2171
  return !0;
2172
2172
  };
2173
2173
  if (typeof t < "u" && t.exports)
2174
- t.exports = d, t.exports.createSlug = p;
2174
+ t.exports = d, t.exports.createSlug = f;
2175
2175
  else if (typeof define < "u" && define.amd)
2176
2176
  define([], function() {
2177
2177
  return d;
@@ -2180,30 +2180,30 @@ var Va = Object.create, pr = Object.defineProperty, Ca = Object.getOwnPropertyDe
2180
2180
  try {
2181
2181
  if (n.getSlug || n.createSlug)
2182
2182
  throw "speakingurl: globals exists /(getSlug|createSlug)/";
2183
- n.getSlug = d, n.createSlug = p;
2183
+ n.getSlug = d, n.createSlug = f;
2184
2184
  } catch {
2185
2185
  }
2186
2186
  }(e);
2187
2187
  }
2188
2188
  }), La = hr({
2189
2189
  "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e, t) {
2190
- y(), t.exports = xa();
2190
+ E(), t.exports = Ra();
2191
2191
  }
2192
2192
  });
2193
- y();
2194
- y();
2195
- y();
2196
- y();
2197
- y();
2198
- y();
2199
- y();
2200
- y();
2193
+ E();
2194
+ E();
2195
+ E();
2196
+ E();
2197
+ E();
2198
+ E();
2199
+ E();
2200
+ E();
2201
2201
  function ja(e) {
2202
2202
  var t;
2203
2203
  const n = e.name || e._componentTag || e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || e.__name;
2204
2204
  return n === "index" && (t = e.__file) != null && t.endsWith("index.vue") ? "" : n;
2205
2205
  }
2206
- function Ma(e) {
2206
+ function Ua(e) {
2207
2207
  const t = e.__file;
2208
2208
  if (t)
2209
2209
  return Ea(ba(t, ".vue"));
@@ -2235,9 +2235,9 @@ function jt(e) {
2235
2235
  for (const s in (o = e.appContext) == null ? void 0 : o.components)
2236
2236
  if (e.appContext.components[s] === (e == null ? void 0 : e.type))
2237
2237
  return Jn(e, s);
2238
- return Ma((e == null ? void 0 : e.type) || {}) || "Anonymous Component";
2238
+ return Ua((e == null ? void 0 : e.type) || {}) || "Anonymous Component";
2239
2239
  }
2240
- function Ua(e) {
2240
+ function Ma(e) {
2241
2241
  var t, n, o;
2242
2242
  const r = (o = (n = (t = e == null ? void 0 : e.appContext) == null ? void 0 : t.app) == null ? void 0 : n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__) != null ? o : 0, a = e === (e == null ? void 0 : e.root) ? "root" : e.uid;
2243
2243
  return `${r}:${a}`;
@@ -2296,7 +2296,7 @@ function Ce(e) {
2296
2296
  const t = e.subTree.el;
2297
2297
  return typeof window > "u" ? Xn : mr(e) ? Ba(e.subTree) : (t == null ? void 0 : t.nodeType) === 1 ? t == null ? void 0 : t.getBoundingClientRect() : e.subTree.component ? Ce(e.subTree.component) : Xn;
2298
2298
  }
2299
- y();
2299
+ E();
2300
2300
  function On(e) {
2301
2301
  return mr(e) ? Wa(e.subTree) : e.subTree ? [e.subTree.el] : [];
2302
2302
  }
@@ -2375,7 +2375,7 @@ function Sn(e) {
2375
2375
  const a = document.createElement("i");
2376
2376
  return a.id = yr, a.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(a.style, Ga), o.appendChild(r), o.appendChild(a), n.appendChild(o), document.body.appendChild(n), n;
2377
2377
  }
2378
- function Tn(e) {
2378
+ function In(e) {
2379
2379
  const t = Ye(), n = Ya(), o = Ja(), r = qa();
2380
2380
  t && (Object.assign(t.style, {
2381
2381
  ...Er,
@@ -2389,7 +2389,7 @@ function Xa(e) {
2389
2389
  if (!t.width && !t.height)
2390
2390
  return;
2391
2391
  const n = jt(e);
2392
- Ye() ? Tn({ bounds: t, name: n }) : Sn({ bounds: t, name: n });
2392
+ Ye() ? In({ bounds: t, name: n }) : Sn({ bounds: t, name: n });
2393
2393
  }
2394
2394
  function br() {
2395
2395
  const e = Ye();
@@ -2402,30 +2402,30 @@ function rn(e) {
2402
2402
  const n = t.__vueParentComponent;
2403
2403
  if (n && (on = n, n.vnode.el)) {
2404
2404
  const o = Ce(n), r = jt(n);
2405
- Ye() ? Tn({ bounds: o, name: r }) : Sn({ bounds: o, name: r });
2405
+ Ye() ? In({ bounds: o, name: r }) : Sn({ bounds: o, name: r });
2406
2406
  }
2407
2407
  }
2408
2408
  }
2409
2409
  function Za(e, t) {
2410
2410
  if (e.preventDefault(), e.stopPropagation(), on) {
2411
- const n = Ua(on);
2411
+ const n = Ma(on);
2412
2412
  t(n);
2413
2413
  }
2414
2414
  }
2415
- var Rt = null;
2415
+ var xt = null;
2416
2416
  function Qa() {
2417
- br(), window.removeEventListener("mouseover", rn), window.removeEventListener("click", Rt, !0), Rt = null;
2417
+ br(), window.removeEventListener("mouseover", rn), window.removeEventListener("click", xt, !0), xt = null;
2418
2418
  }
2419
2419
  function ei() {
2420
2420
  return window.addEventListener("mouseover", rn), new Promise((e) => {
2421
2421
  function t(n) {
2422
2422
  n.preventDefault(), n.stopPropagation(), Za(n, (o) => {
2423
- window.removeEventListener("click", t, !0), Rt = null, window.removeEventListener("mouseover", rn);
2423
+ window.removeEventListener("click", t, !0), xt = null, window.removeEventListener("mouseover", rn);
2424
2424
  const r = Ye();
2425
2425
  r && (r.style.display = "none"), e(JSON.stringify({ id: o }));
2426
2426
  });
2427
2427
  }
2428
- Rt = t, window.addEventListener("click", t, !0);
2428
+ xt = t, window.addEventListener("click", t, !0);
2429
2429
  });
2430
2430
  }
2431
2431
  function ti(e) {
@@ -2451,25 +2451,25 @@ function ti(e) {
2451
2451
  const o = Ce(t);
2452
2452
  if (o.width || o.height) {
2453
2453
  const r = jt(t), a = Ye();
2454
- a ? Tn({ ...e, name: r, bounds: o }) : Sn({ ...e, name: r, bounds: o }), setTimeout(() => {
2454
+ a ? In({ ...e, name: r, bounds: o }) : Sn({ ...e, name: r, bounds: o }), setTimeout(() => {
2455
2455
  a && (a.style.display = "none");
2456
2456
  }, 1500);
2457
2457
  }
2458
2458
  }, 1200);
2459
2459
  }
2460
2460
  }
2461
- y();
2461
+ E();
2462
2462
  var Zn;
2463
- (Zn = O).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ != null || (Zn.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = !0);
2463
+ (Zn = k).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ != null || (Zn.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = !0);
2464
2464
  function ni(e) {
2465
2465
  let t = 0;
2466
2466
  const n = setInterval(() => {
2467
- O.__VUE_INSPECTOR__ && (clearInterval(n), t += 30, e()), t >= /* 5s */
2467
+ k.__VUE_INSPECTOR__ && (clearInterval(n), t += 30, e()), t >= /* 5s */
2468
2468
  5e3 && clearInterval(n);
2469
2469
  }, 30);
2470
2470
  }
2471
2471
  function oi() {
2472
- const e = O.__VUE_INSPECTOR__, t = e.openInEditor;
2472
+ const e = k.__VUE_INSPECTOR__, t = e.openInEditor;
2473
2473
  e.openInEditor = async (...n) => {
2474
2474
  e.disable(), t(...n);
2475
2475
  };
@@ -2477,15 +2477,15 @@ function oi() {
2477
2477
  function ri() {
2478
2478
  return new Promise((e) => {
2479
2479
  function t() {
2480
- oi(), e(O.__VUE_INSPECTOR__);
2480
+ oi(), e(k.__VUE_INSPECTOR__);
2481
2481
  }
2482
- O.__VUE_INSPECTOR__ ? t() : ni(() => {
2482
+ k.__VUE_INSPECTOR__ ? t() : ni(() => {
2483
2483
  t();
2484
2484
  });
2485
2485
  });
2486
2486
  }
2487
- y();
2488
- y();
2487
+ E();
2488
+ E();
2489
2489
  function si(e) {
2490
2490
  return !!(e && e.__v_isReadonly);
2491
2491
  }
@@ -2567,9 +2567,9 @@ var ai = class {
2567
2567
  return Gt(e) || wr(e);
2568
2568
  }
2569
2569
  };
2570
- y();
2571
- y();
2572
- y();
2570
+ E();
2571
+ E();
2572
+ E();
2573
2573
  var li = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
2574
2574
  function ci() {
2575
2575
  if (!ur || typeof localStorage > "u" || localStorage === null)
@@ -2591,12 +2591,12 @@ function ci() {
2591
2591
  selected: ""
2592
2592
  };
2593
2593
  }
2594
- y();
2595
- y();
2596
- y();
2594
+ E();
2595
+ E();
2596
+ E();
2597
2597
  var Qn;
2598
- (Qn = O).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS != null || (Qn.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = []);
2599
- var ui = new Proxy(O.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
2598
+ (Qn = k).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS != null || (Qn.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = []);
2599
+ var ui = new Proxy(k.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
2600
2600
  get(e, t, n) {
2601
2601
  return Reflect.get(e, t, n);
2602
2602
  }
@@ -2609,8 +2609,8 @@ function di(e, t) {
2609
2609
  });
2610
2610
  }
2611
2611
  var eo;
2612
- (eo = O).__VUE_DEVTOOLS_KIT_INSPECTOR__ != null || (eo.__VUE_DEVTOOLS_KIT_INSPECTOR__ = []);
2613
- var In = new Proxy(O.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
2612
+ (eo = k).__VUE_DEVTOOLS_KIT_INSPECTOR__ != null || (eo.__VUE_DEVTOOLS_KIT_INSPECTOR__ = []);
2613
+ var Tn = new Proxy(k.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
2614
2614
  get(e, t, n) {
2615
2615
  return Reflect.get(e, t, n);
2616
2616
  }
@@ -2619,7 +2619,7 @@ var In = new Proxy(O.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
2619
2619
  });
2620
2620
  function fi(e, t) {
2621
2621
  var n, o;
2622
- In.push({
2622
+ Tn.push({
2623
2623
  options: e,
2624
2624
  descriptor: t,
2625
2625
  treeFilterPlaceholder: (n = e.treeFilterPlaceholder) != null ? n : "Search tree...",
@@ -2630,7 +2630,7 @@ function fi(e, t) {
2630
2630
  }), Or();
2631
2631
  }
2632
2632
  function kr() {
2633
- return In.filter((e) => e.descriptor.app === Y.value.app).filter((e) => e.descriptor.id !== "components").map((e) => {
2633
+ return Tn.filter((e) => e.descriptor.app === Y.value.app).filter((e) => e.descriptor.id !== "components").map((e) => {
2634
2634
  var t;
2635
2635
  const n = e.descriptor, o = e.options;
2636
2636
  return {
@@ -2645,7 +2645,7 @@ function kr() {
2645
2645
  });
2646
2646
  }
2647
2647
  function Ot(e, t) {
2648
- return In.find((n) => n.options.id === e && (t ? n.descriptor.app === t : !0));
2648
+ return Tn.find((n) => n.options.id === e && (t ? n.descriptor.app === t : !0));
2649
2649
  }
2650
2650
  function pi() {
2651
2651
  const e = fr();
@@ -2662,17 +2662,17 @@ function pi() {
2662
2662
  filter: (s == null ? void 0 : s.treeFilter) || "",
2663
2663
  rootNodes: []
2664
2664
  };
2665
- await new Promise((c) => {
2665
+ await new Promise((l) => {
2666
2666
  e.callHookWith(
2667
- async (l) => {
2668
- await Promise.all(l.map((u) => u(i))), c();
2667
+ async (c) => {
2668
+ await Promise.all(c.map((u) => u(i))), l();
2669
2669
  },
2670
2670
  "getInspectorTree"
2671
2671
  /* GET_INSPECTOR_TREE */
2672
2672
  );
2673
2673
  }), e.callHookWith(
2674
- async (c) => {
2675
- await Promise.all(c.map((l) => l({
2674
+ async (l) => {
2675
+ await Promise.all(l.map((c) => c({
2676
2676
  inspectorId: o,
2677
2677
  rootNodes: i.rootNodes
2678
2678
  })));
@@ -2691,20 +2691,20 @@ function pi() {
2691
2691
  inspectorId: o,
2692
2692
  nodeId: (s == null ? void 0 : s.selectedNodeId) || "",
2693
2693
  state: null
2694
- }, c = {
2694
+ }, l = {
2695
2695
  currentTab: `custom-inspector:${o}`
2696
2696
  };
2697
- i.nodeId && await new Promise((l) => {
2697
+ i.nodeId && await new Promise((c) => {
2698
2698
  e.callHookWith(
2699
2699
  async (u) => {
2700
- await Promise.all(u.map((d) => d(i, c))), l();
2700
+ await Promise.all(u.map((d) => d(i, l))), c();
2701
2701
  },
2702
2702
  "getInspectorState"
2703
2703
  /* GET_INSPECTOR_STATE */
2704
2704
  );
2705
2705
  }), e.callHookWith(
2706
- async (l) => {
2707
- await Promise.all(l.map((u) => u({
2706
+ async (c) => {
2707
+ await Promise.all(c.map((u) => u({
2708
2708
  inspectorId: o,
2709
2709
  nodeId: i.nodeId,
2710
2710
  state: i.state
@@ -2724,7 +2724,7 @@ function pi() {
2724
2724
  const s = ["performance", "component-event", "keyboard", "mouse"];
2725
2725
  z.highPerfModeEnabled || !((a = z.timelineLayersState) != null && a[r.descriptor.id]) && !s.includes(o.layerId) || e.callHookWith(
2726
2726
  async (i) => {
2727
- await Promise.all(i.map((c) => c(o)));
2727
+ await Promise.all(i.map((l) => l(o)));
2728
2728
  },
2729
2729
  "sendTimelineEventToClient"
2730
2730
  /* SEND_TIMELINE_EVENT_TO_CLIENT */
@@ -2743,16 +2743,16 @@ function pi() {
2743
2743
  }), e;
2744
2744
  }
2745
2745
  var to;
2746
- (to = O).__VUE_DEVTOOLS_KIT_APP_RECORDS__ != null || (to.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = []);
2746
+ (to = k).__VUE_DEVTOOLS_KIT_APP_RECORDS__ != null || (to.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = []);
2747
2747
  var no;
2748
- (no = O).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ != null || (no.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = {});
2748
+ (no = k).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ != null || (no.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = {});
2749
2749
  var oo;
2750
- (oo = O).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ != null || (oo.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = "");
2750
+ (oo = k).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ != null || (oo.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = "");
2751
2751
  var ro;
2752
- (ro = O).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ != null || (ro.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []);
2752
+ (ro = k).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ != null || (ro.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []);
2753
2753
  var so;
2754
- (so = O).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ != null || (so.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = []);
2755
- var Te = "__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";
2754
+ (so = k).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ != null || (so.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = []);
2755
+ var Ie = "__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";
2756
2756
  function hi() {
2757
2757
  return {
2758
2758
  connected: !1,
@@ -2769,74 +2769,74 @@ function hi() {
2769
2769
  };
2770
2770
  }
2771
2771
  var ao;
2772
- (ao = O)[Te] != null || (ao[Te] = hi());
2772
+ (ao = k)[Ie] != null || (ao[Ie] = hi());
2773
2773
  var mi = He((e) => {
2774
2774
  qe.hooks.callHook("devtoolsStateUpdated", { state: e });
2775
2775
  });
2776
2776
  He((e, t) => {
2777
2777
  qe.hooks.callHook("devtoolsConnectedUpdated", { state: e, oldState: t });
2778
2778
  });
2779
- var Mt = new Proxy(O.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
2779
+ var Ut = new Proxy(k.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
2780
2780
  get(e, t, n) {
2781
- return t === "value" ? O.__VUE_DEVTOOLS_KIT_APP_RECORDS__ : O.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t];
2781
+ return t === "value" ? k.__VUE_DEVTOOLS_KIT_APP_RECORDS__ : k.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t];
2782
2782
  }
2783
- }), Y = new Proxy(O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__, {
2783
+ }), Y = new Proxy(k.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__, {
2784
2784
  get(e, t, n) {
2785
- return t === "value" ? O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ : t === "id" ? O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ : O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t];
2785
+ return t === "value" ? k.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ : t === "id" ? k.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ : k.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t];
2786
2786
  }
2787
2787
  });
2788
2788
  function Sr() {
2789
2789
  mi({
2790
- ...O[Te],
2791
- appRecords: Mt.value,
2790
+ ...k[Ie],
2791
+ appRecords: Ut.value,
2792
2792
  activeAppRecordId: Y.id,
2793
- tabs: O.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,
2794
- commands: O.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__
2793
+ tabs: k.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,
2794
+ commands: k.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__
2795
2795
  });
2796
2796
  }
2797
2797
  function _i(e) {
2798
- O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = e, Sr();
2798
+ k.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = e, Sr();
2799
2799
  }
2800
2800
  function vi(e) {
2801
- O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = e, Sr();
2801
+ k.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = e, Sr();
2802
2802
  }
2803
- var z = new Proxy(O[Te], {
2803
+ var z = new Proxy(k[Ie], {
2804
2804
  get(e, t) {
2805
- return t === "appRecords" ? Mt : t === "activeAppRecordId" ? Y.id : t === "tabs" ? O.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ : t === "commands" ? O.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ : O[Te][t];
2805
+ return t === "appRecords" ? Ut : t === "activeAppRecordId" ? Y.id : t === "tabs" ? k.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ : t === "commands" ? k.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ : k[Ie][t];
2806
2806
  },
2807
2807
  deleteProperty(e, t) {
2808
2808
  return delete e[t], !0;
2809
2809
  },
2810
2810
  set(e, t, n) {
2811
- return { ...O[Te] }, e[t] = n, O[Te][t] = n, !0;
2811
+ return { ...k[Ie] }, e[t] = n, k[Ie][t] = n, !0;
2812
2812
  }
2813
2813
  });
2814
2814
  function gi(e = {}) {
2815
2815
  var t, n, o;
2816
- const { file: r, host: a, baseUrl: s = window.location.origin, line: i = 0, column: c = 0 } = e;
2816
+ const { file: r, host: a, baseUrl: s = window.location.origin, line: i = 0, column: l = 0 } = e;
2817
2817
  if (r) {
2818
2818
  if (a === "chrome-extension") {
2819
- const l = r.replace(/\\/g, "\\\\"), u = (n = (t = window.VUE_DEVTOOLS_CONFIG) == null ? void 0 : t.openInEditorHost) != null ? n : "/";
2819
+ const c = r.replace(/\\/g, "\\\\"), u = (n = (t = window.VUE_DEVTOOLS_CONFIG) == null ? void 0 : t.openInEditorHost) != null ? n : "/";
2820
2820
  fetch(`${u}__open-in-editor?file=${encodeURI(r)}`).then((d) => {
2821
2821
  if (!d.ok) {
2822
- const p = `Opening component ${l} failed`;
2823
- console.log(`%c${p}`, "color:red");
2822
+ const f = `Opening component ${c} failed`;
2823
+ console.log(`%c${f}`, "color:red");
2824
2824
  }
2825
2825
  });
2826
2826
  } else if (z.vitePluginDetected) {
2827
- const l = (o = O.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? o : s;
2828
- O.__VUE_INSPECTOR__.openInEditor(l, r, i, c);
2827
+ const c = (o = k.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? o : s;
2828
+ k.__VUE_INSPECTOR__.openInEditor(c, r, i, l);
2829
2829
  }
2830
2830
  }
2831
2831
  }
2832
- y();
2833
- y();
2834
- y();
2835
- y();
2836
- y();
2832
+ E();
2833
+ E();
2834
+ E();
2835
+ E();
2836
+ E();
2837
2837
  var io;
2838
- (io = O).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ != null || (io.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = []);
2839
- var Pn = new Proxy(O.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, {
2838
+ (io = k).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ != null || (io.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = []);
2839
+ var Pn = new Proxy(k.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, {
2840
2840
  get(e, t, n) {
2841
2841
  return Reflect.get(e, t, n);
2842
2842
  }
@@ -2858,7 +2858,7 @@ function yi(e) {
2858
2858
  })) == null ? void 0 : t[0]) != null ? n : null;
2859
2859
  return (o = r == null ? void 0 : r.settings) != null ? o : null;
2860
2860
  }
2861
- function Tr(e, t) {
2861
+ function Ir(e, t) {
2862
2862
  var n, o, r;
2863
2863
  const a = Vn(e);
2864
2864
  if (a) {
@@ -2883,7 +2883,7 @@ function bi(e, t, n) {
2883
2883
  };
2884
2884
  localStorage.setItem(o, JSON.stringify(s)), qe.hooks.callHookWith(
2885
2885
  (i) => {
2886
- i.forEach((c) => c({
2886
+ i.forEach((l) => l({
2887
2887
  pluginId: e,
2888
2888
  key: t,
2889
2889
  oldValue: a[t],
@@ -2895,18 +2895,18 @@ function bi(e, t, n) {
2895
2895
  /* SET_PLUGIN_SETTINGS */
2896
2896
  );
2897
2897
  }
2898
- y();
2899
- y();
2900
- y();
2901
- y();
2902
- y();
2903
- y();
2904
- y();
2905
- y();
2906
- y();
2907
- y();
2908
- y();
2909
- var lo, co, q = (co = (lo = O).__VUE_DEVTOOLS_HOOK) != null ? co : lo.__VUE_DEVTOOLS_HOOK = fr(), wi = {
2898
+ E();
2899
+ E();
2900
+ E();
2901
+ E();
2902
+ E();
2903
+ E();
2904
+ E();
2905
+ E();
2906
+ E();
2907
+ E();
2908
+ E();
2909
+ var lo, co, q = (co = (lo = k).__VUE_DEVTOOLS_HOOK) != null ? co : lo.__VUE_DEVTOOLS_HOOK = fr(), wi = {
2910
2910
  vueAppInit(e) {
2911
2911
  q.hook("app:init", e);
2912
2912
  },
@@ -2937,7 +2937,7 @@ var lo, co, q = (co = (lo = O).__VUE_DEVTOOLS_HOOK) != null ? co : lo.__VUE_DEVT
2937
2937
  perfEnd(e) {
2938
2938
  return q.hook("perf:end", e);
2939
2939
  }
2940
- }, Ir = {
2940
+ }, Tr = {
2941
2941
  on: wi,
2942
2942
  setupDevToolsPlugin(e, t) {
2943
2943
  return q.callHook("devtools-plugin:setup", e, t);
@@ -3032,7 +3032,7 @@ var lo, co, q = (co = (lo = O).__VUE_DEVTOOLS_HOOK) != null ? co : lo.__VUE_DEVT
3032
3032
  }
3033
3033
  // settings
3034
3034
  getSettings(e) {
3035
- return Tr(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
3035
+ return Ir(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
3036
3036
  }
3037
3037
  // utilities
3038
3038
  getComponentInstances(e) {
@@ -3055,29 +3055,29 @@ var lo, co, q = (co = (lo = O).__VUE_DEVTOOLS_HOOK) != null ? co : lo.__VUE_DEVT
3055
3055
  );
3056
3056
  }
3057
3057
  }, ki = Oi;
3058
- y();
3059
- y();
3060
- y();
3061
- y();
3062
- var Si = "__vue_devtool_undefined__", Ti = "__vue_devtool_infinity__", Ii = "__vue_devtool_negative_infinity__", Pi = "__vue_devtool_nan__";
3063
- y();
3064
- y();
3058
+ E();
3059
+ E();
3060
+ E();
3061
+ E();
3062
+ var Si = "__vue_devtool_undefined__", Ii = "__vue_devtool_infinity__", Ti = "__vue_devtool_negative_infinity__", Pi = "__vue_devtool_nan__";
3063
+ E();
3064
+ E();
3065
3065
  var Vi = {
3066
3066
  [Si]: "undefined",
3067
3067
  [Pi]: "NaN",
3068
- [Ti]: "Infinity",
3069
- [Ii]: "-Infinity"
3068
+ [Ii]: "Infinity",
3069
+ [Ti]: "-Infinity"
3070
3070
  };
3071
3071
  Object.entries(Vi).reduce((e, [t, n]) => (e[n] = t, e), {});
3072
- y();
3073
- y();
3074
- y();
3075
- y();
3076
- y();
3072
+ E();
3073
+ E();
3074
+ E();
3075
+ E();
3076
+ E();
3077
3077
  var uo;
3078
- (uo = O).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ != null || (uo.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set());
3078
+ (uo = k).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ != null || (uo.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set());
3079
3079
  function Pr(e, t) {
3080
- return Ir.setupDevToolsPlugin(e, t);
3080
+ return Tr.setupDevToolsPlugin(e, t);
3081
3081
  }
3082
3082
  function Ci(e, t) {
3083
3083
  const [n, o] = e;
@@ -3095,28 +3095,28 @@ function Ci(e, t) {
3095
3095
  }), o(r);
3096
3096
  }
3097
3097
  function Vr(e, t) {
3098
- O.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e) || z.highPerfModeEnabled && !(t != null && t.inspectingComponent) || (O.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e), Pn.forEach((n) => {
3098
+ k.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e) || z.highPerfModeEnabled && !(t != null && t.inspectingComponent) || (k.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e), Pn.forEach((n) => {
3099
3099
  Ci(n, e);
3100
3100
  }));
3101
3101
  }
3102
- y();
3103
- y();
3102
+ E();
3103
+ E();
3104
3104
  var at = "__VUE_DEVTOOLS_ROUTER__", ze = "__VUE_DEVTOOLS_ROUTER_INFO__", fo;
3105
- (fo = O)[ze] != null || (fo[ze] = {
3105
+ (fo = k)[ze] != null || (fo[ze] = {
3106
3106
  currentRoute: null,
3107
3107
  routes: []
3108
3108
  });
3109
3109
  var po;
3110
- (po = O)[at] != null || (po[at] = {});
3111
- new Proxy(O[ze], {
3110
+ (po = k)[at] != null || (po[at] = {});
3111
+ new Proxy(k[ze], {
3112
3112
  get(e, t) {
3113
- return O[ze][t];
3113
+ return k[ze][t];
3114
3114
  }
3115
3115
  });
3116
- new Proxy(O[at], {
3116
+ new Proxy(k[at], {
3117
3117
  get(e, t) {
3118
3118
  if (t === "value")
3119
- return O[at];
3119
+ return k[at];
3120
3120
  }
3121
3121
  });
3122
3122
  function Ni(e) {
@@ -3136,7 +3136,7 @@ function Cn(e) {
3136
3136
  }
3137
3137
  function Di(e) {
3138
3138
  if (e) {
3139
- const { fullPath: t, hash: n, href: o, path: r, name: a, matched: s, params: i, query: c } = e;
3139
+ const { fullPath: t, hash: n, href: o, path: r, name: a, matched: s, params: i, query: l } = e;
3140
3140
  return {
3141
3141
  fullPath: t,
3142
3142
  hash: n,
@@ -3144,7 +3144,7 @@ function Di(e) {
3144
3144
  path: r,
3145
3145
  name: a,
3146
3146
  params: i,
3147
- query: c,
3147
+ query: l,
3148
3148
  matched: Cn(s)
3149
3149
  };
3150
3150
  }
@@ -3155,17 +3155,17 @@ function Ai(e, t) {
3155
3155
  var o;
3156
3156
  const r = (o = e.app) == null ? void 0 : o.config.globalProperties.$router, a = Di(r == null ? void 0 : r.currentRoute.value), s = Cn(Ni(r)), i = console.warn;
3157
3157
  console.warn = () => {
3158
- }, O[ze] = {
3158
+ }, k[ze] = {
3159
3159
  currentRoute: a ? qn(a) : {},
3160
3160
  routes: qn(s)
3161
- }, O[at] = r, console.warn = i;
3161
+ }, k[at] = r, console.warn = i;
3162
3162
  }
3163
- n(), Ir.on.componentUpdated(He(() => {
3163
+ n(), Tr.on.componentUpdated(He(() => {
3164
3164
  var o;
3165
- ((o = t.value) == null ? void 0 : o.app) === e.app && (n(), !z.highPerfModeEnabled && qe.hooks.callHook("routerInfoUpdated", { state: O[ze] }));
3165
+ ((o = t.value) == null ? void 0 : o.app) === e.app && (n(), !z.highPerfModeEnabled && qe.hooks.callHook("routerInfoUpdated", { state: k[ze] }));
3166
3166
  }, 200));
3167
3167
  }
3168
- function Ri(e) {
3168
+ function xi(e) {
3169
3169
  return {
3170
3170
  // get inspector tree
3171
3171
  async getInspectorTree(t) {
@@ -3252,7 +3252,7 @@ function Ri(e) {
3252
3252
  getVueInspector: ri,
3253
3253
  // toggle app
3254
3254
  toggleApp(t, n) {
3255
- const o = Mt.value.find((r) => r.id === t);
3255
+ const o = Ut.value.find((r) => r.id === t);
3256
3256
  o && (vi(t), _i(o), Ai(o, Y), Or(), Vr(o.app, n));
3257
3257
  },
3258
3258
  // inspect dom
@@ -3260,7 +3260,7 @@ function Ri(e) {
3260
3260
  const n = nn(Y.value, t);
3261
3261
  if (n) {
3262
3262
  const [o] = On(n);
3263
- o && (O.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__ = o);
3263
+ o && (k.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__ = o);
3264
3264
  }
3265
3265
  },
3266
3266
  updatePluginSettings(t, n, o) {
@@ -3269,45 +3269,45 @@ function Ri(e) {
3269
3269
  getPluginSettings(t) {
3270
3270
  return {
3271
3271
  options: yi(t),
3272
- values: Tr(t)
3272
+ values: Ir(t)
3273
3273
  };
3274
3274
  }
3275
3275
  };
3276
3276
  }
3277
- y();
3277
+ E();
3278
3278
  var ho;
3279
- (ho = O).__VUE_DEVTOOLS_ENV__ != null || (ho.__VUE_DEVTOOLS_ENV__ = {
3279
+ (ho = k).__VUE_DEVTOOLS_ENV__ != null || (ho.__VUE_DEVTOOLS_ENV__ = {
3280
3280
  vitePluginDetected: !1
3281
3281
  });
3282
3282
  var mo = pi(), _o;
3283
- (_o = O).__VUE_DEVTOOLS_KIT_CONTEXT__ != null || (_o.__VUE_DEVTOOLS_KIT_CONTEXT__ = {
3283
+ (_o = k).__VUE_DEVTOOLS_KIT_CONTEXT__ != null || (_o.__VUE_DEVTOOLS_KIT_CONTEXT__ = {
3284
3284
  hooks: mo,
3285
3285
  get state() {
3286
3286
  return {
3287
3287
  ...z,
3288
3288
  activeAppRecordId: Y.id,
3289
3289
  activeAppRecord: Y.value,
3290
- appRecords: Mt.value
3290
+ appRecords: Ut.value
3291
3291
  };
3292
3292
  },
3293
- api: Ri(mo)
3293
+ api: xi(mo)
3294
3294
  });
3295
- var qe = O.__VUE_DEVTOOLS_KIT_CONTEXT__;
3296
- y();
3295
+ var qe = k.__VUE_DEVTOOLS_KIT_CONTEXT__;
3296
+ E();
3297
3297
  $a(La());
3298
3298
  var vo;
3299
- (vo = O).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ != null || (vo.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = {
3299
+ (vo = k).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ != null || (vo.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = {
3300
3300
  id: 0,
3301
3301
  appIds: /* @__PURE__ */ new Set()
3302
3302
  });
3303
- y();
3303
+ E();
3304
3304
  function $i(e) {
3305
3305
  z.highPerfModeEnabled = e ?? !z.highPerfModeEnabled, !e && Y.value && Vr(Y.value.app);
3306
3306
  }
3307
- y();
3308
- y();
3309
- y();
3310
- function xi(e) {
3307
+ E();
3308
+ E();
3309
+ E();
3310
+ function Ri(e) {
3311
3311
  z.devtoolsClientDetected = {
3312
3312
  ...z.devtoolsClientDetected,
3313
3313
  ...e
@@ -3316,14 +3316,14 @@ function xi(e) {
3316
3316
  $i(!t);
3317
3317
  }
3318
3318
  var go;
3319
- (go = O).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ != null || (go.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = xi);
3320
- y();
3321
- y();
3322
- y();
3323
- y();
3324
- y();
3325
- y();
3326
- y();
3319
+ (go = k).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ != null || (go.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = Ri);
3320
+ E();
3321
+ E();
3322
+ E();
3323
+ E();
3324
+ E();
3325
+ E();
3326
+ E();
3327
3327
  var Li = class {
3328
3328
  constructor() {
3329
3329
  this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
@@ -3367,9 +3367,9 @@ var Li = class {
3367
3367
  return this.classToAllowedProps.get(e);
3368
3368
  }
3369
3369
  };
3370
- y();
3371
- y();
3372
- function Mi(e) {
3370
+ E();
3371
+ E();
3372
+ function Ui(e) {
3373
3373
  if ("values" in Object)
3374
3374
  return Object.values(e);
3375
3375
  const t = [];
@@ -3377,8 +3377,8 @@ function Mi(e) {
3377
3377
  e.hasOwnProperty(n) && t.push(e[n]);
3378
3378
  return t;
3379
3379
  }
3380
- function Ui(e, t) {
3381
- const n = Mi(e);
3380
+ function Mi(e, t) {
3381
+ const n = Ui(e);
3382
3382
  if ("find" in n)
3383
3383
  return n.find(t);
3384
3384
  const o = n;
@@ -3409,16 +3409,16 @@ var Hi = class {
3409
3409
  this.transfomers[e.name] = e;
3410
3410
  }
3411
3411
  findApplicable(e) {
3412
- return Ui(this.transfomers, (t) => t.isApplicable(e));
3412
+ return Mi(this.transfomers, (t) => t.isApplicable(e));
3413
3413
  }
3414
3414
  findByName(e) {
3415
3415
  return this.transfomers[e];
3416
3416
  }
3417
3417
  };
3418
- y();
3419
- y();
3418
+ E();
3419
+ E();
3420
3420
  var zi = (e) => Object.prototype.toString.call(e).slice(8, -1), Nr = (e) => typeof e > "u", Bi = (e) => e === null, it = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, an = (e) => it(e) && Object.keys(e).length === 0, we = (e) => Array.isArray(e), Ki = (e) => typeof e == "string", Wi = (e) => typeof e == "number" && !isNaN(e), Fi = (e) => typeof e == "boolean", Gi = (e) => e instanceof RegExp, lt = (e) => e instanceof Map, ct = (e) => e instanceof Set, Dr = (e) => zi(e) === "Symbol", Yi = (e) => e instanceof Date && !isNaN(e.valueOf()), qi = (e) => e instanceof Error, Eo = (e) => typeof e == "number" && isNaN(e), Ji = (e) => Fi(e) || Bi(e) || Nr(e) || Wi(e) || Ki(e) || Dr(e), Xi = (e) => typeof e == "bigint", Zi = (e) => e === 1 / 0 || e === -1 / 0, Qi = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), el = (e) => e instanceof URL;
3421
- y();
3421
+ E();
3422
3422
  var Ar = (e) => e.replace(/\./g, "\\."), Yt = (e) => e.map(String).map(Ar).join("."), ot = (e) => {
3423
3423
  const t = [];
3424
3424
  let n = "";
@@ -3437,7 +3437,7 @@ var Ar = (e) => e.replace(/\./g, "\\."), Yt = (e) => e.map(String).map(Ar).join(
3437
3437
  const o = n;
3438
3438
  return t.push(o), t;
3439
3439
  };
3440
- y();
3440
+ E();
3441
3441
  function se(e, t, n, o) {
3442
3442
  return {
3443
3443
  isApplicable: e,
@@ -3446,7 +3446,7 @@ function se(e, t, n, o) {
3446
3446
  untransform: o
3447
3447
  };
3448
3448
  }
3449
- var Rr = [
3449
+ var xr = [
3450
3450
  se(Nr, "undefined", () => null, () => {
3451
3451
  }),
3452
3452
  se(Xi, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)),
@@ -3482,7 +3482,7 @@ var Rr = [
3482
3482
  se((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
3483
3483
  se(el, "URL", (e) => e.toString(), (e) => new URL(e))
3484
3484
  ];
3485
- function Ut(e, t, n, o) {
3485
+ function Mt(e, t, n, o) {
3486
3486
  return {
3487
3487
  isApplicable: e,
3488
3488
  annotation: t,
@@ -3490,7 +3490,7 @@ function Ut(e, t, n, o) {
3490
3490
  untransform: o
3491
3491
  };
3492
3492
  }
3493
- var $r = Ut((e, t) => Dr(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
3493
+ var $r = Mt((e, t) => Dr(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
3494
3494
  const o = n.symbolRegistry.getValue(t[1]);
3495
3495
  if (!o)
3496
3496
  throw new Error("Trying to deserialize unknown symbol");
@@ -3505,7 +3505,7 @@ var $r = Ut((e, t) => Dr(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
3505
3505
  Float32Array,
3506
3506
  Float64Array,
3507
3507
  Uint8ClampedArray
3508
- ].reduce((e, t) => (e[t.name] = t, e), {}), xr = Ut(Qi, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
3508
+ ].reduce((e, t) => (e[t.name] = t, e), {}), Rr = Mt(Qi, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
3509
3509
  const n = tl[t[1]];
3510
3510
  if (!n)
3511
3511
  throw new Error("Trying to deserialize unknown typed array");
@@ -3514,7 +3514,7 @@ var $r = Ut((e, t) => Dr(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
3514
3514
  function Lr(e, t) {
3515
3515
  return e != null && e.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
3516
3516
  }
3517
- var jr = Ut(Lr, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
3517
+ var jr = Mt(Lr, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
3518
3518
  const n = t.classRegistry.getAllowedProps(e.constructor);
3519
3519
  if (!n)
3520
3520
  return { ...e };
@@ -3527,27 +3527,27 @@ var jr = Ut(Lr, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
3527
3527
  if (!o)
3528
3528
  throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);
3529
3529
  return Object.assign(Object.create(o.prototype), e);
3530
- }), Mr = Ut((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, n) => {
3530
+ }), Ur = Mt((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, n) => {
3531
3531
  const o = n.customTransformerRegistry.findByName(t[1]);
3532
3532
  if (!o)
3533
3533
  throw new Error("Trying to deserialize unknown custom value");
3534
3534
  return o.deserialize(e);
3535
- }), nl = [jr, $r, Mr, xr], bo = (e, t) => {
3535
+ }), nl = [jr, $r, Ur, Rr], bo = (e, t) => {
3536
3536
  const n = yo(nl, (r) => r.isApplicable(e, t));
3537
3537
  if (n)
3538
3538
  return {
3539
3539
  value: n.transform(e, t),
3540
3540
  type: n.annotation(e, t)
3541
3541
  };
3542
- const o = yo(Rr, (r) => r.isApplicable(e, t));
3542
+ const o = yo(xr, (r) => r.isApplicable(e, t));
3543
3543
  if (o)
3544
3544
  return {
3545
3545
  value: o.transform(e, t),
3546
3546
  type: o.annotation
3547
3547
  };
3548
- }, Ur = {};
3549
- Rr.forEach((e) => {
3550
- Ur[e.annotation] = e;
3548
+ }, Mr = {};
3549
+ xr.forEach((e) => {
3550
+ Mr[e.annotation] = e;
3551
3551
  });
3552
3552
  var ol = (e, t, n) => {
3553
3553
  if (we(t))
@@ -3557,20 +3557,20 @@ var ol = (e, t, n) => {
3557
3557
  case "class":
3558
3558
  return jr.untransform(e, t, n);
3559
3559
  case "custom":
3560
- return Mr.untransform(e, t, n);
3560
+ return Ur.untransform(e, t, n);
3561
3561
  case "typed-array":
3562
- return xr.untransform(e, t, n);
3562
+ return Rr.untransform(e, t, n);
3563
3563
  default:
3564
3564
  throw new Error("Unknown transformation: " + t);
3565
3565
  }
3566
3566
  else {
3567
- const o = Ur[t];
3567
+ const o = Mr[t];
3568
3568
  if (!o)
3569
3569
  throw new Error("Unknown transformation: " + t);
3570
3570
  return o.untransform(e, n);
3571
3571
  }
3572
3572
  };
3573
- y();
3573
+ E();
3574
3574
  var Le = (e, t) => {
3575
3575
  if (t > e.size)
3576
3576
  throw new Error("index out of bounds");
@@ -3624,13 +3624,13 @@ var rl = (e, t) => {
3624
3624
  } else if (lt(o)) {
3625
3625
  if (a === t.length - 2)
3626
3626
  break;
3627
- const i = +s, c = +t[++a] == 0 ? "key" : "value", l = Le(o, i);
3628
- switch (c) {
3627
+ const i = +s, l = +t[++a] == 0 ? "key" : "value", c = Le(o, i);
3628
+ switch (l) {
3629
3629
  case "key":
3630
- o = l;
3630
+ o = c;
3631
3631
  break;
3632
3632
  case "value":
3633
- o = o.get(l);
3633
+ o = o.get(c);
3634
3634
  break;
3635
3635
  }
3636
3636
  }
@@ -3700,55 +3700,55 @@ function cl(e, t) {
3700
3700
  return e.forEach((r) => {
3701
3701
  if (r.length <= 1)
3702
3702
  return;
3703
- t || (r = r.map((i) => i.map(String)).sort((i, c) => i.length - c.length));
3703
+ t || (r = r.map((i) => i.map(String)).sort((i, l) => i.length - l.length));
3704
3704
  const [a, ...s] = r;
3705
3705
  a.length === 0 ? o = s.map(Yt) : n[Yt(a)] = s.map(Yt);
3706
3706
  }), o ? an(n) ? [o] : [o, n] : an(n) ? void 0 : n;
3707
3707
  }
3708
3708
  var zr = (e, t, n, o, r = [], a = [], s = /* @__PURE__ */ new Map()) => {
3709
3709
  var i;
3710
- const c = Ji(e);
3711
- if (!c) {
3710
+ const l = Ji(e);
3711
+ if (!l) {
3712
3712
  ll(e, r, t);
3713
- const m = s.get(e);
3714
- if (m)
3713
+ const h = s.get(e);
3714
+ if (h)
3715
3715
  return o ? {
3716
3716
  transformedValue: null
3717
- } : m;
3717
+ } : h;
3718
3718
  }
3719
3719
  if (!il(e, n)) {
3720
- const m = bo(e, n), E = m ? {
3721
- transformedValue: m.value,
3722
- annotations: [m.type]
3720
+ const h = bo(e, n), y = h ? {
3721
+ transformedValue: h.value,
3722
+ annotations: [h.type]
3723
3723
  } : {
3724
3724
  transformedValue: e
3725
3725
  };
3726
- return c || s.set(e, E), E;
3726
+ return l || s.set(e, y), y;
3727
3727
  }
3728
3728
  if (kt(a, e))
3729
3729
  return {
3730
3730
  transformedValue: null
3731
3731
  };
3732
- const l = bo(e, n), u = (i = l == null ? void 0 : l.value) != null ? i : e, d = we(u) ? [] : {}, p = {};
3733
- Be(u, (m, E) => {
3734
- if (E === "__proto__" || E === "constructor" || E === "prototype")
3735
- throw new Error(`Detected property ${E}. This is a prototype pollution risk, please remove it from your object.`);
3736
- const h = zr(m, t, n, o, [...r, E], [...a, e], s);
3737
- d[E] = h.transformedValue, we(h.annotations) ? p[E] = h.annotations : it(h.annotations) && Be(h.annotations, (w, T) => {
3738
- p[Ar(E) + "." + T] = w;
3732
+ const c = bo(e, n), u = (i = c == null ? void 0 : c.value) != null ? i : e, d = we(u) ? [] : {}, f = {};
3733
+ Be(u, (h, y) => {
3734
+ if (y === "__proto__" || y === "constructor" || y === "prototype")
3735
+ throw new Error(`Detected property ${y}. This is a prototype pollution risk, please remove it from your object.`);
3736
+ const p = zr(h, t, n, o, [...r, y], [...a, e], s);
3737
+ d[y] = p.transformedValue, we(p.annotations) ? f[y] = p.annotations : it(p.annotations) && Be(p.annotations, (b, S) => {
3738
+ f[Ar(y) + "." + S] = b;
3739
3739
  });
3740
3740
  });
3741
- const f = an(p) ? {
3741
+ const m = an(f) ? {
3742
3742
  transformedValue: d,
3743
- annotations: l ? [l.type] : void 0
3743
+ annotations: c ? [c.type] : void 0
3744
3744
  } : {
3745
3745
  transformedValue: d,
3746
- annotations: l ? [l.type, p] : p
3746
+ annotations: c ? [c.type, f] : f
3747
3747
  };
3748
- return c || s.set(e, f), f;
3748
+ return l || s.set(e, m), m;
3749
3749
  };
3750
- y();
3751
- y();
3750
+ E();
3751
+ E();
3752
3752
  function Br(e) {
3753
3753
  return Object.prototype.toString.call(e).slice(8, -1);
3754
3754
  }
@@ -3843,48 +3843,48 @@ j.registerClass = j.defaultInstance.registerClass.bind(j.defaultInstance);
3843
3843
  j.registerSymbol = j.defaultInstance.registerSymbol.bind(j.defaultInstance);
3844
3844
  j.registerCustom = j.defaultInstance.registerCustom.bind(j.defaultInstance);
3845
3845
  j.allowErrorProps = j.defaultInstance.allowErrorProps.bind(j.defaultInstance);
3846
- y();
3847
- y();
3848
- y();
3849
- y();
3850
- y();
3851
- y();
3852
- y();
3853
- y();
3854
- y();
3855
- y();
3856
- y();
3857
- y();
3858
- y();
3859
- y();
3860
- y();
3861
- y();
3862
- y();
3863
- y();
3864
- y();
3865
- y();
3866
- y();
3867
- y();
3868
- y();
3846
+ E();
3847
+ E();
3848
+ E();
3849
+ E();
3850
+ E();
3851
+ E();
3852
+ E();
3853
+ E();
3854
+ E();
3855
+ E();
3856
+ E();
3857
+ E();
3858
+ E();
3859
+ E();
3860
+ E();
3861
+ E();
3862
+ E();
3863
+ E();
3864
+ E();
3865
+ E();
3866
+ E();
3867
+ E();
3868
+ E();
3869
3869
  var Oo;
3870
- (Oo = O).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ != null || (Oo.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = []);
3870
+ (Oo = k).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ != null || (Oo.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = []);
3871
3871
  var ko;
3872
- (ko = O).__VUE_DEVTOOLS_KIT_RPC_CLIENT__ != null || (ko.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null);
3872
+ (ko = k).__VUE_DEVTOOLS_KIT_RPC_CLIENT__ != null || (ko.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null);
3873
3873
  var So;
3874
- (So = O).__VUE_DEVTOOLS_KIT_RPC_SERVER__ != null || (So.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = null);
3875
- var To;
3876
- (To = O).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ != null || (To.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = null);
3874
+ (So = k).__VUE_DEVTOOLS_KIT_RPC_SERVER__ != null || (So.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = null);
3877
3875
  var Io;
3878
- (Io = O).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ != null || (Io.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null);
3876
+ (Io = k).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ != null || (Io.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = null);
3877
+ var To;
3878
+ (To = k).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ != null || (To.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null);
3879
3879
  var Po;
3880
- (Po = O).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ != null || (Po.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null);
3881
- y();
3882
- y();
3883
- y();
3884
- y();
3885
- y();
3886
- y();
3887
- y();
3880
+ (Po = k).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ != null || (Po.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null);
3881
+ E();
3882
+ E();
3883
+ E();
3884
+ E();
3885
+ E();
3886
+ E();
3887
+ E();
3888
3888
  /*!
3889
3889
  * pinia v3.0.1
3890
3890
  * (c) 2025 Eduardo San Martin Morote
@@ -3931,11 +3931,11 @@ function St(e) {
3931
3931
  t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), e.dispatchEvent(t);
3932
3932
  }
3933
3933
  }
3934
- const Tt = typeof navigator == "object" ? navigator : { userAgent: "" }, Fr = /Macintosh/.test(Tt.userAgent) && /AppleWebKit/.test(Tt.userAgent) && !/Safari/.test(Tt.userAgent), Gr = ge ? (
3934
+ const It = typeof navigator == "object" ? navigator : { userAgent: "" }, Fr = /Macintosh/.test(It.userAgent) && /AppleWebKit/.test(It.userAgent) && !/Safari/.test(It.userAgent), Gr = ge ? (
3935
3935
  // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
3936
3936
  typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !Fr ? pl : (
3937
3937
  // Use msSaveOrOpenBlob as a second approach
3938
- "msSaveOrOpenBlob" in Tt ? hl : (
3938
+ "msSaveOrOpenBlob" in It ? hl : (
3939
3939
  // Fallback to using FileReader and a popup
3940
3940
  ml
3941
3941
  )
@@ -3970,10 +3970,10 @@ function ml(e, t, n, o) {
3970
3970
  if ((s || r && a || Fr) && typeof FileReader < "u") {
3971
3971
  const i = new FileReader();
3972
3972
  i.onloadend = function() {
3973
- let c = i.result;
3974
- if (typeof c != "string")
3973
+ let l = i.result;
3974
+ if (typeof l != "string")
3975
3975
  throw o = null, new Error("Wrong reader.result type");
3976
- c = s ? c : c.replace(/^data:[^;]*;/, "data:attachment/file;"), o ? o.location.href = c : location.assign(c), o = null;
3976
+ l = s ? l : l.replace(/^data:[^;]*;/, "data:attachment/file;"), o ? o.location.href = l : location.assign(l), o = null;
3977
3977
  }, i.readAsDataURL(e);
3978
3978
  } else {
3979
3979
  const i = URL.createObjectURL(e);
@@ -4065,10 +4065,10 @@ function oe(e) {
4065
4065
  }
4066
4066
  };
4067
4067
  }
4068
- const Xr = "🍍 Pinia (root)", It = "_root";
4068
+ const Xr = "🍍 Pinia (root)", Tt = "_root";
4069
4069
  function bl(e) {
4070
4070
  return Dn(e) ? {
4071
- id: It,
4071
+ id: Tt,
4072
4072
  label: Xr
4073
4073
  } : {
4074
4074
  id: e.$id,
@@ -4138,7 +4138,7 @@ function kl(e) {
4138
4138
  }
4139
4139
  let je = !0;
4140
4140
  const Pt = [], Oe = "pinia:mutations", W = "pinia", { assign: Sl } = Object, $t = (e) => "🍍 " + e;
4141
- function Tl(e, t) {
4141
+ function Il(e, t) {
4142
4142
  Pr({
4143
4143
  id: "dev.esm.pinia",
4144
4144
  label: "Pinia 🍍",
@@ -4208,7 +4208,7 @@ function Tl(e, t) {
4208
4208
  editable: !0,
4209
4209
  value: s._isOptionsAPI ? {
4210
4210
  _custom: {
4211
- value: Ue(s.$state),
4211
+ value: Me(s.$state),
4212
4212
  actions: [
4213
4213
  {
4214
4214
  icon: "restore",
@@ -4219,17 +4219,17 @@ function Tl(e, t) {
4219
4219
  }
4220
4220
  } : (
4221
4221
  // NOTE: workaround to unwrap transferred refs
4222
- Object.keys(s.$state).reduce((i, c) => (i[c] = s.$state[c], i), {})
4222
+ Object.keys(s.$state).reduce((i, l) => (i[l] = s.$state[l], i), {})
4223
4223
  )
4224
4224
  }), s._getters && s._getters.length && o.instanceData.state.push({
4225
4225
  type: $t(s.$id),
4226
4226
  key: "getters",
4227
4227
  editable: !1,
4228
- value: s._getters.reduce((i, c) => {
4228
+ value: s._getters.reduce((i, l) => {
4229
4229
  try {
4230
- i[c] = s[c];
4231
- } catch (l) {
4232
- i[c] = l;
4230
+ i[l] = s[l];
4231
+ } catch (c) {
4232
+ i[l] = c;
4233
4233
  }
4234
4234
  return i;
4235
4235
  }, {})
@@ -4243,14 +4243,14 @@ function Tl(e, t) {
4243
4243
  }
4244
4244
  }), globalThis.$pinia = t, n.on.getInspectorState((o) => {
4245
4245
  if (o.app === e && o.inspectorId === W) {
4246
- const r = o.nodeId === It ? t : t._s.get(o.nodeId);
4246
+ const r = o.nodeId === Tt ? t : t._s.get(o.nodeId);
4247
4247
  if (!r)
4248
4248
  return;
4249
- r && (o.nodeId !== It && (globalThis.$store = Ue(r)), o.state = wl(r));
4249
+ r && (o.nodeId !== Tt && (globalThis.$store = Me(r)), o.state = wl(r));
4250
4250
  }
4251
4251
  }), n.on.editInspectorState((o) => {
4252
4252
  if (o.app === e && o.inspectorId === W) {
4253
- const r = o.nodeId === It ? t : t._s.get(o.nodeId);
4253
+ const r = o.nodeId === Tt ? t : t._s.get(o.nodeId);
4254
4254
  if (!r)
4255
4255
  return B(`store "${o.nodeId}" not found`, "error");
4256
4256
  const { path: a } = o;
@@ -4271,7 +4271,7 @@ Only state can be modified.`);
4271
4271
  });
4272
4272
  });
4273
4273
  }
4274
- function Il(e, t) {
4274
+ function Tl(e, t) {
4275
4275
  Pt.includes($t(t.$id)) || Pt.push($t(t.$id)), Pr({
4276
4276
  id: "dev.esm.pinia",
4277
4277
  label: "Pinia 🍍",
@@ -4294,18 +4294,18 @@ function Il(e, t) {
4294
4294
  }
4295
4295
  }, (n) => {
4296
4296
  const o = typeof n.now == "function" ? n.now.bind(n) : Date.now;
4297
- t.$onAction(({ after: s, onError: i, name: c, args: l }) => {
4297
+ t.$onAction(({ after: s, onError: i, name: l, args: c }) => {
4298
4298
  const u = Zr++;
4299
4299
  n.addTimelineEvent({
4300
4300
  layerId: Oe,
4301
4301
  event: {
4302
4302
  time: o(),
4303
- title: "🛫 " + c,
4303
+ title: "🛫 " + l,
4304
4304
  subtitle: "start",
4305
4305
  data: {
4306
4306
  store: oe(t.$id),
4307
- action: oe(c),
4308
- args: l
4307
+ action: oe(l),
4308
+ args: c
4309
4309
  },
4310
4310
  groupId: u
4311
4311
  }
@@ -4314,12 +4314,12 @@ function Il(e, t) {
4314
4314
  layerId: Oe,
4315
4315
  event: {
4316
4316
  time: o(),
4317
- title: "🛬 " + c,
4317
+ title: "🛬 " + l,
4318
4318
  subtitle: "end",
4319
4319
  data: {
4320
4320
  store: oe(t.$id),
4321
- action: oe(c),
4322
- args: l,
4321
+ action: oe(l),
4322
+ args: c,
4323
4323
  result: d
4324
4324
  },
4325
4325
  groupId: u
@@ -4331,12 +4331,12 @@ function Il(e, t) {
4331
4331
  event: {
4332
4332
  time: o(),
4333
4333
  logType: "error",
4334
- title: "💥 " + c,
4334
+ title: "💥 " + l,
4335
4335
  subtitle: "end",
4336
4336
  data: {
4337
4337
  store: oe(t.$id),
4338
- action: oe(c),
4339
- args: l,
4338
+ action: oe(l),
4339
+ args: c,
4340
4340
  error: d
4341
4341
  },
4342
4342
  groupId: u
@@ -4344,7 +4344,7 @@ function Il(e, t) {
4344
4344
  });
4345
4345
  });
4346
4346
  }, !0), t._customProperties.forEach((s) => {
4347
- K(() => V(t[s]), (i, c) => {
4347
+ K(() => P(t[s]), (i, l) => {
4348
4348
  n.notifyComponentUpdate(), n.sendInspectorState(W), je && n.addTimelineEvent({
4349
4349
  layerId: Oe,
4350
4350
  event: {
@@ -4353,22 +4353,22 @@ function Il(e, t) {
4353
4353
  subtitle: s,
4354
4354
  data: {
4355
4355
  newValue: i,
4356
- oldValue: c
4356
+ oldValue: l
4357
4357
  },
4358
4358
  groupId: ye
4359
4359
  }
4360
4360
  });
4361
4361
  }, { deep: !0 });
4362
- }), t.$subscribe(({ events: s, type: i }, c) => {
4362
+ }), t.$subscribe(({ events: s, type: i }, l) => {
4363
4363
  if (n.notifyComponentUpdate(), n.sendInspectorState(W), !je)
4364
4364
  return;
4365
- const l = {
4365
+ const c = {
4366
4366
  time: o(),
4367
4367
  title: kl(i),
4368
4368
  data: Sl({ store: oe(t.$id) }, Ol(s)),
4369
4369
  groupId: ye
4370
4370
  };
4371
- i === ie.patchFunction ? l.subtitle = "⤵️" : i === ie.patchObject ? l.subtitle = "🧩" : s && !Array.isArray(s) && (l.subtitle = s.type), s && (l.data["rawEvent(s)"] = {
4371
+ i === ie.patchFunction ? c.subtitle = "⤵️" : i === ie.patchObject ? c.subtitle = "🧩" : s && !Array.isArray(s) && (c.subtitle = s.type), s && (c.data["rawEvent(s)"] = {
4372
4372
  _custom: {
4373
4373
  display: "DebuggerEvent",
4374
4374
  type: "object",
@@ -4377,7 +4377,7 @@ function Il(e, t) {
4377
4377
  }
4378
4378
  }), n.addTimelineEvent({
4379
4379
  layerId: Oe,
4380
- event: l
4380
+ event: c
4381
4381
  });
4382
4382
  }, { detached: !0, flush: "sync" });
4383
4383
  const r = t._hotUpdate;
@@ -4403,15 +4403,15 @@ function Il(e, t) {
4403
4403
  }
4404
4404
  let Zr = 0, ye;
4405
4405
  function Co(e, t, n) {
4406
- const o = t.reduce((r, a) => (r[a] = Ue(e)[a], r), {});
4406
+ const o = t.reduce((r, a) => (r[a] = Me(e)[a], r), {});
4407
4407
  for (const r in o)
4408
4408
  e[r] = function() {
4409
4409
  const a = Zr, s = n ? new Proxy(e, {
4410
- get(...c) {
4411
- return ye = a, Reflect.get(...c);
4410
+ get(...l) {
4411
+ return ye = a, Reflect.get(...l);
4412
4412
  },
4413
- set(...c) {
4414
- return ye = a, Reflect.set(...c);
4413
+ set(...l) {
4414
+ return ye = a, Reflect.set(...l);
4415
4415
  }
4416
4416
  }) : e;
4417
4417
  ye = a;
@@ -4424,11 +4424,11 @@ function Pl({ app: e, store: t, options: n }) {
4424
4424
  if (t._isOptionsAPI = !!n.state, !t._p._testing) {
4425
4425
  Co(t, Object.keys(n.actions), t._isOptionsAPI);
4426
4426
  const o = t._hotUpdate;
4427
- Ue(t)._hotUpdate = function(r) {
4427
+ Me(t)._hotUpdate = function(r) {
4428
4428
  o.apply(this, arguments), Co(t, Object.keys(r._hmrPayload.actions), !!t._isOptionsAPI);
4429
4429
  };
4430
4430
  }
4431
- Il(
4431
+ Tl(
4432
4432
  e,
4433
4433
  // FIXME: is there a way to allow the assignment from Store<Id, S, G, A> to StoreGeneric?
4434
4434
  t
@@ -4440,7 +4440,7 @@ function Vl() {
4440
4440
  let n = [], o = [];
4441
4441
  const r = te({
4442
4442
  install(a) {
4443
- ut(r), r._a = a, a.provide(Kr, r), a.config.globalProperties.$pinia = r, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ge && Tl(a, r), o.forEach((s) => n.push(s)), o = [];
4443
+ ut(r), r._a = a, a.provide(Kr, r), a.config.globalProperties.$pinia = r, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ge && Il(a, r), o.forEach((s) => n.push(s)), o = [];
4444
4444
  },
4445
4445
  use(a) {
4446
4446
  return this._a ? n.push(a) : o.push(a), this;
@@ -4475,7 +4475,7 @@ function No(e, t, n, o = es) {
4475
4475
  };
4476
4476
  return !n && ft() && pt(r), r;
4477
4477
  }
4478
- function Re(e, ...t) {
4478
+ function xe(e, ...t) {
4479
4479
  e.slice().forEach((n) => {
4480
4480
  n(...t);
4481
4481
  });
@@ -4502,55 +4502,55 @@ const { assign: Q } = Object;
4502
4502
  function Ao(e) {
4503
4503
  return !!(le(e) && e.effect);
4504
4504
  }
4505
- function Ro(e, t, n, o) {
4505
+ function xo(e, t, n, o) {
4506
4506
  const { state: r, actions: a, getters: s } = t, i = n.state.value[e];
4507
- let c;
4508
- function l() {
4507
+ let l;
4508
+ function c() {
4509
4509
  !i && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
4510
4510
  const u = process.env.NODE_ENV !== "production" && o ? (
4511
4511
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
4512
4512
  Nt(C(r ? r() : {}).value)
4513
4513
  ) : Nt(n.state.value[e]);
4514
- return Q(u, a, Object.keys(s || {}).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] = te(L(() => {
4514
+ return Q(u, a, Object.keys(s || {}).reduce((d, f) => (process.env.NODE_ENV !== "production" && f in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${f}" in store "${e}".`), d[f] = te(R(() => {
4515
4515
  ut(n);
4516
- const f = n._s.get(e);
4517
- return s[p].call(f, f);
4516
+ const m = n._s.get(e);
4517
+ return s[f].call(m, m);
4518
4518
  })), d), {}));
4519
4519
  }
4520
- return c = fn(e, l, t, n, o, !0), c;
4520
+ return l = fn(e, c, t, n, o, !0), l;
4521
4521
  }
4522
4522
  function fn(e, t, n = {}, o, r, a) {
4523
4523
  let s;
4524
4524
  const i = Q({ actions: {} }, n);
4525
4525
  if (process.env.NODE_ENV !== "production" && !o._e.active)
4526
4526
  throw new Error("Pinia destroyed");
4527
- const c = { deep: !0 };
4528
- process.env.NODE_ENV !== "production" && (c.onTrigger = (v) => {
4529
- l ? f = v : l == !1 && !b._hotUpdating && (Array.isArray(f) ? f.push(v) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
4527
+ const l = { deep: !0 };
4528
+ process.env.NODE_ENV !== "production" && (l.onTrigger = (v) => {
4529
+ c ? m = v : c == !1 && !w._hotUpdating && (Array.isArray(m) ? m.push(v) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
4530
4530
  });
4531
- let l, u, d = [], p = [], f;
4532
- const m = o.state.value[e];
4533
- !a && !m && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
4534
- const E = C({});
4535
- let h;
4536
- function w(v) {
4531
+ let c, u, d = [], f = [], m;
4532
+ const h = o.state.value[e];
4533
+ !a && !h && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
4534
+ const y = C({});
4535
+ let p;
4536
+ function b(v) {
4537
4537
  let _;
4538
- l = u = !1, process.env.NODE_ENV !== "production" && (f = []), typeof v == "function" ? (v(o.state.value[e]), _ = {
4538
+ c = u = !1, process.env.NODE_ENV !== "production" && (m = []), typeof v == "function" ? (v(o.state.value[e]), _ = {
4539
4539
  type: ie.patchFunction,
4540
4540
  storeId: e,
4541
- events: f
4541
+ events: m
4542
4542
  }) : (dn(o.state.value[e], v), _ = {
4543
4543
  type: ie.patchObject,
4544
4544
  payload: v,
4545
4545
  storeId: e,
4546
- events: f
4546
+ events: m
4547
4547
  });
4548
- const g = h = Symbol();
4548
+ const g = p = Symbol();
4549
4549
  Ve().then(() => {
4550
- h === g && (l = !0);
4551
- }), u = !0, Re(d, _, o.state.value[e]);
4550
+ p === g && (c = !0);
4551
+ }), u = !0, xe(d, _, o.state.value[e]);
4552
4552
  }
4553
- const T = a ? function() {
4553
+ const S = a ? function() {
4554
4554
  const { state: v } = n, _ = v ? v() : {};
4555
4555
  this.$patch((g) => {
4556
4556
  Q(g, _);
@@ -4561,63 +4561,63 @@ function fn(e, t, n = {}, o, r, a) {
4561
4561
  throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
4562
4562
  } : es
4563
4563
  );
4564
- function R() {
4565
- s.stop(), d = [], p = [], o._s.delete(e);
4564
+ function x() {
4565
+ s.stop(), d = [], f = [], o._s.delete(e);
4566
4566
  }
4567
- const U = (v, _ = "") => {
4567
+ const M = (v, _ = "") => {
4568
4568
  if (Do in v)
4569
4569
  return v[qt] = _, v;
4570
4570
  const g = function() {
4571
4571
  ut(o);
4572
- const S = Array.from(arguments), N = [], X = [];
4572
+ const I = Array.from(arguments), N = [], X = [];
4573
4573
  function F(D) {
4574
4574
  N.push(D);
4575
4575
  }
4576
- function I(D) {
4576
+ function T(D) {
4577
4577
  X.push(D);
4578
4578
  }
4579
- Re(p, {
4580
- args: S,
4579
+ xe(f, {
4580
+ args: I,
4581
4581
  name: g[qt],
4582
- store: b,
4582
+ store: w,
4583
4583
  after: F,
4584
- onError: I
4584
+ onError: T
4585
4585
  });
4586
4586
  let Z;
4587
4587
  try {
4588
- Z = v.apply(this && this.$id === e ? this : b, S);
4588
+ Z = v.apply(this && this.$id === e ? this : w, I);
4589
4589
  } catch (D) {
4590
- throw Re(X, D), D;
4590
+ throw xe(X, D), D;
4591
4591
  }
4592
- return Z instanceof Promise ? Z.then((D) => (Re(N, D), D)).catch((D) => (Re(X, D), Promise.reject(D))) : (Re(N, Z), Z);
4592
+ return Z instanceof Promise ? Z.then((D) => (xe(N, D), D)).catch((D) => (xe(X, D), Promise.reject(D))) : (xe(N, Z), Z);
4593
4593
  };
4594
4594
  return g[Do] = !0, g[qt] = _, g;
4595
- }, M = /* @__PURE__ */ te({
4595
+ }, U = /* @__PURE__ */ te({
4596
4596
  actions: {},
4597
4597
  getters: {},
4598
4598
  state: [],
4599
- hotState: E
4599
+ hotState: y
4600
4600
  }), re = {
4601
4601
  _p: o,
4602
4602
  // _s: scope,
4603
4603
  $id: e,
4604
- $onAction: No.bind(null, p),
4605
- $patch: w,
4606
- $reset: T,
4604
+ $onAction: No.bind(null, f),
4605
+ $patch: b,
4606
+ $reset: S,
4607
4607
  $subscribe(v, _ = {}) {
4608
- const g = No(d, v, _.detached, () => S()), S = s.run(() => K(() => o.state.value[e], (N) => {
4609
- (_.flush === "sync" ? u : l) && v({
4608
+ const g = No(d, v, _.detached, () => I()), I = s.run(() => K(() => o.state.value[e], (N) => {
4609
+ (_.flush === "sync" ? u : c) && v({
4610
4610
  storeId: e,
4611
4611
  type: ie.direct,
4612
- events: f
4612
+ events: m
4613
4613
  }, N);
4614
- }, Q({}, c, _)));
4614
+ }, Q({}, l, _)));
4615
4615
  return g;
4616
4616
  },
4617
- $dispose: R
4618
- }, b = or(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ge ? Q(
4617
+ $dispose: x
4618
+ }, w = or(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ge ? Q(
4619
4619
  {
4620
- _hmrPayload: M,
4620
+ _hmrPayload: U,
4621
4621
  _customProperties: te(/* @__PURE__ */ new Set())
4622
4622
  // devtools custom properties
4623
4623
  },
@@ -4625,60 +4625,60 @@ function fn(e, t, n = {}, o, r, a) {
4625
4625
  // must be added later
4626
4626
  // setupStore
4627
4627
  ) : re);
4628
- o._s.set(e, b);
4629
- const k = (o._a && o._a.runWithContext || Cl)(() => o._e.run(() => (s = vn()).run(() => t({ action: U }))));
4630
- for (const v in k) {
4631
- const _ = k[v];
4628
+ o._s.set(e, w);
4629
+ const O = (o._a && o._a.runWithContext || Cl)(() => o._e.run(() => (s = vn()).run(() => t({ action: M }))));
4630
+ for (const v in O) {
4631
+ const _ = O[v];
4632
4632
  if (le(_) && !Ao(_) || Ge(_))
4633
- process.env.NODE_ENV !== "production" && r ? E.value[v] = be(k, v) : a || (m && Dl(_) && (le(_) ? _.value = m[v] : dn(_, m[v])), o.state.value[e][v] = _), process.env.NODE_ENV !== "production" && M.state.push(v);
4633
+ process.env.NODE_ENV !== "production" && r ? y.value[v] = be(O, v) : a || (h && Dl(_) && (le(_) ? _.value = h[v] : dn(_, h[v])), o.state.value[e][v] = _), process.env.NODE_ENV !== "production" && U.state.push(v);
4634
4634
  else if (typeof _ == "function") {
4635
- const g = process.env.NODE_ENV !== "production" && r ? _ : U(_, v);
4636
- k[v] = g, process.env.NODE_ENV !== "production" && (M.actions[v] = _), i.actions[v] = _;
4637
- } else process.env.NODE_ENV !== "production" && Ao(_) && (M.getters[v] = a ? (
4635
+ const g = process.env.NODE_ENV !== "production" && r ? _ : M(_, v);
4636
+ O[v] = g, process.env.NODE_ENV !== "production" && (U.actions[v] = _), i.actions[v] = _;
4637
+ } else process.env.NODE_ENV !== "production" && Ao(_) && (U.getters[v] = a ? (
4638
4638
  // @ts-expect-error
4639
4639
  n.getters[v]
4640
- ) : _, ge && (k._getters || // @ts-expect-error: same
4641
- (k._getters = te([]))).push(v));
4640
+ ) : _, ge && (O._getters || // @ts-expect-error: same
4641
+ (O._getters = te([]))).push(v));
4642
4642
  }
4643
- if (Q(b, k), Q(Ue(b), k), Object.defineProperty(b, "$state", {
4644
- get: () => process.env.NODE_ENV !== "production" && r ? E.value : o.state.value[e],
4643
+ if (Q(w, O), Q(Me(w), O), Object.defineProperty(w, "$state", {
4644
+ get: () => process.env.NODE_ENV !== "production" && r ? y.value : o.state.value[e],
4645
4645
  set: (v) => {
4646
4646
  if (process.env.NODE_ENV !== "production" && r)
4647
4647
  throw new Error("cannot set hotState");
4648
- w((_) => {
4648
+ b((_) => {
4649
4649
  Q(_, v);
4650
4650
  });
4651
4651
  }
4652
- }), process.env.NODE_ENV !== "production" && (b._hotUpdate = te((v) => {
4653
- b._hotUpdating = !0, v._hmrPayload.state.forEach((_) => {
4654
- if (_ in b.$state) {
4655
- const g = v.$state[_], S = b.$state[_];
4656
- typeof g == "object" && Ne(g) && Ne(S) ? Qr(g, S) : v.$state[_] = S;
4652
+ }), process.env.NODE_ENV !== "production" && (w._hotUpdate = te((v) => {
4653
+ w._hotUpdating = !0, v._hmrPayload.state.forEach((_) => {
4654
+ if (_ in w.$state) {
4655
+ const g = v.$state[_], I = w.$state[_];
4656
+ typeof g == "object" && Ne(g) && Ne(I) ? Qr(g, I) : v.$state[_] = I;
4657
4657
  }
4658
- b[_] = be(v.$state, _);
4659
- }), Object.keys(b.$state).forEach((_) => {
4660
- _ in v.$state || delete b[_];
4661
- }), l = !1, u = !1, o.state.value[e] = be(v._hmrPayload, "hotState"), u = !0, Ve().then(() => {
4662
- l = !0;
4658
+ w[_] = be(v.$state, _);
4659
+ }), Object.keys(w.$state).forEach((_) => {
4660
+ _ in v.$state || delete w[_];
4661
+ }), c = !1, u = !1, o.state.value[e] = be(v._hmrPayload, "hotState"), u = !0, Ve().then(() => {
4662
+ c = !0;
4663
4663
  });
4664
4664
  for (const _ in v._hmrPayload.actions) {
4665
4665
  const g = v[_];
4666
- b[_] = //
4667
- U(g, _);
4666
+ w[_] = //
4667
+ M(g, _);
4668
4668
  }
4669
4669
  for (const _ in v._hmrPayload.getters) {
4670
- const g = v._hmrPayload.getters[_], S = a ? (
4670
+ const g = v._hmrPayload.getters[_], I = a ? (
4671
4671
  // special handling of options api
4672
- L(() => (ut(o), g.call(b, b)))
4672
+ R(() => (ut(o), g.call(w, w)))
4673
4673
  ) : g;
4674
- b[_] = //
4675
- S;
4674
+ w[_] = //
4675
+ I;
4676
4676
  }
4677
- Object.keys(b._hmrPayload.getters).forEach((_) => {
4678
- _ in v._hmrPayload.getters || delete b[_];
4679
- }), Object.keys(b._hmrPayload.actions).forEach((_) => {
4680
- _ in v._hmrPayload.actions || delete b[_];
4681
- }), b._hmrPayload = v._hmrPayload, b._getters = v._getters, b._hotUpdating = !1;
4677
+ Object.keys(w._hmrPayload.getters).forEach((_) => {
4678
+ _ in v._hmrPayload.getters || delete w[_];
4679
+ }), Object.keys(w._hmrPayload.actions).forEach((_) => {
4680
+ _ in v._hmrPayload.actions || delete w[_];
4681
+ }), w._hmrPayload = v._hmrPayload, w._getters = v._getters, w._hotUpdating = !1;
4682
4682
  })), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ge) {
4683
4683
  const v = {
4684
4684
  writable: !0,
@@ -4687,28 +4687,28 @@ function fn(e, t, n = {}, o, r, a) {
4687
4687
  enumerable: !1
4688
4688
  };
4689
4689
  ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((_) => {
4690
- Object.defineProperty(b, _, Q({ value: b[_] }, v));
4690
+ Object.defineProperty(w, _, Q({ value: w[_] }, v));
4691
4691
  });
4692
4692
  }
4693
4693
  return o._p.forEach((v) => {
4694
4694
  if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ge) {
4695
4695
  const _ = s.run(() => v({
4696
- store: b,
4696
+ store: w,
4697
4697
  app: o._a,
4698
4698
  pinia: o,
4699
4699
  options: i
4700
4700
  }));
4701
- Object.keys(_ || {}).forEach((g) => b._customProperties.add(g)), Q(b, _);
4701
+ Object.keys(_ || {}).forEach((g) => w._customProperties.add(g)), Q(w, _);
4702
4702
  } else
4703
- Q(b, s.run(() => v({
4704
- store: b,
4703
+ Q(w, s.run(() => v({
4704
+ store: w,
4705
4705
  app: o._a,
4706
4706
  pinia: o,
4707
4707
  options: i
4708
4708
  })));
4709
- }), process.env.NODE_ENV !== "production" && b.$state && typeof b.$state == "object" && typeof b.$state.constructor == "function" && !b.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
4709
+ }), process.env.NODE_ENV !== "production" && w.$state && typeof w.$state == "object" && typeof w.$state.constructor == "function" && !w.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
4710
4710
  state: () => new MyClass()
4711
- Found in store "${b.$id}".`), m && a && n.hydrate && n.hydrate(b.$state, m), l = !0, u = !0, b;
4711
+ Found in store "${w.$id}".`), h && a && n.hydrate && n.hydrate(w.$state, h), c = !0, u = !0, w;
4712
4712
  }
4713
4713
  /*! #__NO_SIDE_EFFECTS__ */
4714
4714
  // @__NO_SIDE_EFFECTS__
@@ -4717,32 +4717,32 @@ function Al(e, t, n) {
4717
4717
  const r = typeof t == "function";
4718
4718
  o = r ? n : t;
4719
4719
  function a(s, i) {
4720
- const c = nr();
4720
+ const l = nr();
4721
4721
  if (s = // in test mode, ignore the argument provided as we can always retrieve a
4722
4722
  // pinia instance with getActivePinia()
4723
- (process.env.NODE_ENV === "test" && Qe && Qe._testing ? null : s) || (c ? gn(Kr, null) : null), s && ut(s), process.env.NODE_ENV !== "production" && !Qe)
4723
+ (process.env.NODE_ENV === "test" && Qe && Qe._testing ? null : s) || (l ? gn(Kr, null) : null), s && ut(s), process.env.NODE_ENV !== "production" && !Qe)
4724
4724
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
4725
4725
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
4726
4726
  This will fail in production.`);
4727
- s = Qe, s._s.has(e) || (r ? fn(e, t, o, s) : Ro(e, o, s), process.env.NODE_ENV !== "production" && (a._pinia = s));
4728
- const l = s._s.get(e);
4727
+ s = Qe, s._s.has(e) || (r ? fn(e, t, o, s) : xo(e, o, s), process.env.NODE_ENV !== "production" && (a._pinia = s));
4728
+ const c = s._s.get(e);
4729
4729
  if (process.env.NODE_ENV !== "production" && i) {
4730
- const u = "__hot:" + e, d = r ? fn(u, t, o, s, !0) : Ro(u, Q({}, o), s, !0);
4730
+ const u = "__hot:" + e, d = r ? fn(u, t, o, s, !0) : xo(u, Q({}, o), s, !0);
4731
4731
  i._hotUpdate(d), delete s.state.value[u], s._s.delete(u);
4732
4732
  }
4733
4733
  if (process.env.NODE_ENV !== "production" && ge) {
4734
4734
  const u = ht();
4735
4735
  if (u && u.proxy && // avoid adding stores that are just built for hot module replacement
4736
4736
  !i) {
4737
- const d = u.proxy, p = "_pStores" in d ? d._pStores : d._pStores = {};
4738
- p[e] = l;
4737
+ const d = u.proxy, f = "_pStores" in d ? d._pStores : d._pStores = {};
4738
+ f[e] = c;
4739
4739
  }
4740
4740
  }
4741
- return l;
4741
+ return c;
4742
4742
  }
4743
4743
  return a.$id = e, a;
4744
4744
  }
4745
- const Rl = /* @__PURE__ */ Al("data", () => {
4745
+ const xl = /* @__PURE__ */ Al("data", () => {
4746
4746
  const e = C([]), t = C({});
4747
4747
  return { records: e, record: t };
4748
4748
  });
@@ -4753,16 +4753,16 @@ function ts(e) {
4753
4753
  e || (e = gn("$registry"));
4754
4754
  let a;
4755
4755
  try {
4756
- a = Rl();
4756
+ a = xl();
4757
4757
  } catch {
4758
4758
  throw new Error("Please enable the Stonecrop plugin before using the Stonecrop composable");
4759
4759
  }
4760
4760
  if (t.value = new ia(e, a), !e || !e.router) return;
4761
- const s = e.router.currentRoute.value, i = (n = s.params.records) == null ? void 0 : n.toString().toLowerCase(), c = (o = s.params.record) == null ? void 0 : o.toString().toLowerCase();
4762
- if (!i && !c)
4761
+ const s = e.router.currentRoute.value, i = (n = s.params.records) == null ? void 0 : n.toString().toLowerCase(), l = (o = s.params.record) == null ? void 0 : o.toString().toLowerCase();
4762
+ if (!i && !l)
4763
4763
  return;
4764
- const l = await ((r = e.getMeta) == null ? void 0 : r.call(e, i));
4765
- l && (e.addDoctype(l), t.value.setup(l), i && (c ? await t.value.getRecord(l, c) : await t.value.getRecords(l)), t.value.runAction(l, "LOAD", c ? [c] : void 0));
4764
+ const c = await ((r = e.getMeta) == null ? void 0 : r.call(e, i));
4765
+ c && (e.addDoctype(c), t.value.setup(c), i && (l ? await t.value.getRecord(c, l) : await t.value.getRecords(c)), t.value.runAction(c, "LOAD", l ? [l] : void 0));
4766
4766
  }), { stonecrop: t };
4767
4767
  }
4768
4768
  const $l = class Vt {
@@ -4786,7 +4786,7 @@ const $l = class Vt {
4786
4786
  }
4787
4787
  };
4788
4788
  G($l, "_root");
4789
- function xl(e) {
4789
+ function Rl(e) {
4790
4790
  return e && typeof e.then == "function";
4791
4791
  }
4792
4792
  Promise.resolve(!1);
@@ -4810,8 +4810,8 @@ function _t() {
4810
4810
  var e = Date.now() * 1e3;
4811
4811
  return e <= Jt && (e = Jt + 1), Jt = e, e;
4812
4812
  }
4813
- var jl = _t, Ml = "native";
4814
- function Ul(e) {
4813
+ var jl = _t, Ul = "native";
4814
+ function Ml(e) {
4815
4815
  var t = {
4816
4816
  time: _t(),
4817
4817
  messagesCallback: null,
@@ -4850,12 +4850,12 @@ function Wl() {
4850
4850
  return 150;
4851
4851
  }
4852
4852
  var Fl = {
4853
- create: Ul,
4853
+ create: Ml,
4854
4854
  close: Hl,
4855
4855
  onMessage: Bl,
4856
4856
  postMessage: zl,
4857
4857
  canBeUsed: Kl,
4858
- type: Ml,
4858
+ type: Ul,
4859
4859
  averageResponseTime: Wl,
4860
4860
  microSeconds: jl
4861
4861
  };
@@ -4891,7 +4891,7 @@ function Gl(e) {
4891
4891
  function rs() {
4892
4892
  return Date.now();
4893
4893
  }
4894
- function Rn() {
4894
+ function xn() {
4895
4895
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = JSON.parse(JSON.stringify(e));
4896
4896
  return typeof t.webWorkerSupport > "u" && (t.webWorkerSupport = !0), t.idb || (t.idb = {}), t.idb.ttl || (t.idb.ttl = 1e3 * 45), t.idb.fallbackInterval || (t.idb.fallbackInterval = 150), e.idb && typeof e.idb.onclose == "function" && (t.idb.onclose = e.idb.onclose), t.localstorage || (t.localstorage = {}), t.localstorage.removeTimeout || (t.localstorage.removeTimeout = 1e3 * 60), e.methods && (t.methods = e.methods), t.node || (t.node = {}), t.node.ttl || (t.node.ttl = 1e3 * 60 * 2), t.node.maxParallelWrites || (t.node.maxParallelWrites = 2048), typeof t.node.useFastPath > "u" && (t.node.useFastPath = !0), t;
4897
4897
  }
@@ -4935,22 +4935,22 @@ function Zl(e, t, n) {
4935
4935
  return new Promise(function(s, i) {
4936
4936
  a.oncomplete = function() {
4937
4937
  return s();
4938
- }, a.onerror = function(l) {
4939
- return i(l);
4938
+ }, a.onerror = function(c) {
4939
+ return i(c);
4940
4940
  };
4941
- var c = a.objectStore(de);
4942
- c.add(r), $n(a);
4941
+ var l = a.objectStore(de);
4942
+ l.add(r), $n(a);
4943
4943
  });
4944
4944
  }
4945
4945
  function Ql(e, t) {
4946
4946
  var n = e.transaction(de, "readonly", Ht), o = n.objectStore(de), r = [], a = IDBKeyRange.bound(t + 1, 1 / 0);
4947
4947
  if (o.getAll) {
4948
4948
  var s = o.getAll(a);
4949
- return new Promise(function(c, l) {
4949
+ return new Promise(function(l, c) {
4950
4950
  s.onerror = function(u) {
4951
- return l(u);
4951
+ return c(u);
4952
4952
  }, s.onsuccess = function(u) {
4953
- c(u.target.result);
4953
+ l(u.target.result);
4954
4954
  };
4955
4955
  });
4956
4956
  }
@@ -4961,13 +4961,13 @@ function Ql(e, t) {
4961
4961
  return o.openCursor();
4962
4962
  }
4963
4963
  }
4964
- return new Promise(function(c, l) {
4964
+ return new Promise(function(l, c) {
4965
4965
  var u = i();
4966
4966
  u.onerror = function(d) {
4967
- return l(d);
4967
+ return c(d);
4968
4968
  }, u.onsuccess = function(d) {
4969
- var p = d.target.result;
4970
- p ? p.value.id < t + 1 ? p.continue(t + 1) : (r.push(p.value), p.continue()) : ($n(n), c(r));
4969
+ var f = d.target.result;
4970
+ f ? f.value.id < t + 1 ? f.continue(t + 1) : (r.push(f.value), f.continue()) : ($n(n), l(r));
4971
4971
  };
4972
4972
  });
4973
4973
  }
@@ -4988,10 +4988,10 @@ function tc(e, t) {
4988
4988
  var n = Date.now() - t, o = e.transaction(de, "readonly", Ht), r = o.objectStore(de), a = [];
4989
4989
  return new Promise(function(s) {
4990
4990
  r.openCursor().onsuccess = function(i) {
4991
- var c = i.target.result;
4992
- if (c) {
4993
- var l = c.value;
4994
- l.time < n ? (a.push(l), c.continue()) : ($n(o), s(a));
4991
+ var l = i.target.result;
4992
+ if (l) {
4993
+ var c = l.value;
4994
+ c.time < n ? (a.push(c), l.continue()) : ($n(o), s(a));
4995
4995
  } else
4996
4996
  s(a);
4997
4997
  };
@@ -5005,7 +5005,7 @@ function nc(e) {
5005
5005
  });
5006
5006
  }
5007
5007
  function oc(e, t) {
5008
- return t = Rn(t), Xl(e).then(function(n) {
5008
+ return t = xn(t), Xl(e).then(function(n) {
5009
5009
  var o = {
5010
5010
  closed: !1,
5011
5011
  lastCursorId: 0,
@@ -5121,7 +5121,7 @@ function _c(e) {
5121
5121
  window.removeEventListener("storage", e);
5122
5122
  }
5123
5123
  function vc(e, t) {
5124
- if (t = Rn(t), !us())
5124
+ if (t = xn(t), !us())
5125
5125
  throw new Error("BroadcastChannel: localstorage cannot be used");
5126
5126
  var n = An(), o = new os(t.localstorage.removeTimeout), r = {
5127
5127
  channelName: e,
@@ -5163,23 +5163,23 @@ var bc = {
5163
5163
  type: pc,
5164
5164
  averageResponseTime: Ec,
5165
5165
  microSeconds: dc
5166
- }, ds = _t, wc = "simulate", xn = /* @__PURE__ */ new Set();
5166
+ }, ds = _t, wc = "simulate", Rn = /* @__PURE__ */ new Set();
5167
5167
  function Oc(e) {
5168
5168
  var t = {
5169
5169
  time: ds(),
5170
5170
  name: e,
5171
5171
  messagesCallback: null
5172
5172
  };
5173
- return xn.add(t), t;
5173
+ return Rn.add(t), t;
5174
5174
  }
5175
5175
  function kc(e) {
5176
- xn.delete(e);
5176
+ Rn.delete(e);
5177
5177
  }
5178
5178
  var fs = 5;
5179
5179
  function Sc(e, t) {
5180
5180
  return new Promise(function(n) {
5181
5181
  return setTimeout(function() {
5182
- var o = Array.from(xn);
5182
+ var o = Array.from(Rn);
5183
5183
  o.forEach(function(r) {
5184
5184
  r.name === e.name && // has same name
5185
5185
  r !== e && r.messagesCallback && // has subscribers
@@ -5188,10 +5188,10 @@ function Sc(e, t) {
5188
5188
  }, fs);
5189
5189
  });
5190
5190
  }
5191
- function Tc(e, t) {
5191
+ function Ic(e, t) {
5192
5192
  e.messagesCallback = t;
5193
5193
  }
5194
- function Ic() {
5194
+ function Tc() {
5195
5195
  return !0;
5196
5196
  }
5197
5197
  function Pc() {
@@ -5200,9 +5200,9 @@ function Pc() {
5200
5200
  var Vc = {
5201
5201
  create: Oc,
5202
5202
  close: kc,
5203
- onMessage: Tc,
5203
+ onMessage: Ic,
5204
5204
  postMessage: Sc,
5205
- canBeUsed: Ic,
5205
+ canBeUsed: Tc,
5206
5206
  type: wc,
5207
5207
  averageResponseTime: Pc,
5208
5208
  microSeconds: ds
@@ -5236,7 +5236,7 @@ function Cc(e) {
5236
5236
  })));
5237
5237
  }
5238
5238
  var ps = /* @__PURE__ */ new Set(), Nc = 0, Ln = function(e, t) {
5239
- this.id = Nc++, ps.add(this), this.name = e, this.options = Rn(t), this.method = Cc(this.options), this._iL = !1, this._onML = null, this._addEL = {
5239
+ this.id = Nc++, ps.add(this), this.name = e, this.options = xn(t), this.method = Cc(this.options), this._iL = !1, this._onML = null, this._addEL = {
5240
5240
  message: [],
5241
5241
  internal: []
5242
5242
  }, this._uMP = /* @__PURE__ */ new Set(), this._befC = [], this._prepP = null, Dc(this);
@@ -5251,10 +5251,10 @@ Ln.prototype = {
5251
5251
  * gives some clue about where in your application this happens.
5252
5252
  */
5253
5253
  JSON.stringify(e));
5254
- return xo(this, "message", e);
5254
+ return Ro(this, "message", e);
5255
5255
  },
5256
5256
  postInternal: function(e) {
5257
- return xo(this, "internal", e);
5257
+ return Ro(this, "internal", e);
5258
5258
  },
5259
5259
  set onmessage(e) {
5260
5260
  var t = this.method.microSeconds(), n = {
@@ -5299,7 +5299,7 @@ Ln.prototype = {
5299
5299
  return this.closed;
5300
5300
  }
5301
5301
  };
5302
- function xo(e, t, n) {
5302
+ function Ro(e, t, n) {
5303
5303
  var o = e.method.microSeconds(), r = {
5304
5304
  time: o,
5305
5305
  type: t,
@@ -5314,7 +5314,7 @@ function xo(e, t, n) {
5314
5314
  }
5315
5315
  function Dc(e) {
5316
5316
  var t = e.method.create(e.name, e.options);
5317
- xl(t) ? (e._prepP = t, t.then(function(n) {
5317
+ Rl(t) ? (e._prepP = t, t.then(function(n) {
5318
5318
  e._state = n;
5319
5319
  })) : e._state = t;
5320
5320
  }
@@ -5327,7 +5327,7 @@ function Lo(e, t, n) {
5327
5327
  function jo(e, t, n) {
5328
5328
  e._addEL[t] = e._addEL[t].filter(function(o) {
5329
5329
  return o !== n;
5330
- }), Rc(e);
5330
+ }), xc(e);
5331
5331
  }
5332
5332
  function Ac(e) {
5333
5333
  if (!e._iL && hs(e)) {
@@ -5341,59 +5341,59 @@ function Ac(e) {
5341
5341
  }) : (e._iL = !0, e.method.onMessage(e._state, t, n));
5342
5342
  }
5343
5343
  }
5344
- function Rc(e) {
5344
+ function xc(e) {
5345
5345
  if (e._iL && !hs(e)) {
5346
5346
  e._iL = !1;
5347
5347
  var t = e.method.microSeconds();
5348
5348
  e.method.onMessage(e._state, null, t);
5349
5349
  }
5350
5350
  }
5351
- function Mo(e, t = { serialize: JSON.stringify, deserialize: JSON.parse }) {
5351
+ function Uo(e, t = { serialize: JSON.stringify, deserialize: JSON.parse }) {
5352
5352
  return t.deserialize(t.serialize(e));
5353
5353
  }
5354
5354
  function $c(e, t) {
5355
5355
  return Object.keys(t).includes(e);
5356
5356
  }
5357
- function xc({
5357
+ function Rc({
5358
5358
  enable: e = !0,
5359
5359
  initialize: t = !0,
5360
5360
  type: n,
5361
5361
  serializer: o
5362
5362
  }) {
5363
5363
  return ({ store: r, options: a }) => {
5364
- var s, i, c;
5365
- const l = ((s = a == null ? void 0 : a.share) == null ? void 0 : s.enable) ?? e, u = ((i = a == null ? void 0 : a.share) == null ? void 0 : i.omit) ?? [];
5366
- if (!l)
5364
+ var s, i, l;
5365
+ const c = ((s = a == null ? void 0 : a.share) == null ? void 0 : s.enable) ?? e, u = ((i = a == null ? void 0 : a.share) == null ? void 0 : i.omit) ?? [];
5366
+ if (!c)
5367
5367
  return;
5368
5368
  const d = new Ln(r.$id, {
5369
5369
  type: n
5370
5370
  });
5371
- let p = 0, f = !1;
5372
- const m = Object.keys(r.$state).filter((E) => !u.includes(E) && $c(E, r.$state));
5373
- d.onmessage = (E) => {
5374
- if (E === void 0) {
5371
+ let f = 0, m = !1;
5372
+ const h = Object.keys(r.$state).filter((y) => !u.includes(y) && $c(y, r.$state));
5373
+ d.onmessage = (y) => {
5374
+ if (y === void 0) {
5375
5375
  d.postMessage({
5376
- timestamp: p,
5377
- state: Mo(r.$state, o)
5376
+ timestamp: f,
5377
+ state: Uo(r.$state, o)
5378
5378
  });
5379
5379
  return;
5380
5380
  }
5381
- E.timestamp <= p || (f = !0, p = E.timestamp, r.$patch((h) => {
5382
- m.forEach((w) => {
5383
- h[w] = E.state[w];
5381
+ y.timestamp <= f || (m = !0, f = y.timestamp, r.$patch((p) => {
5382
+ h.forEach((b) => {
5383
+ p[b] = y.state[b];
5384
5384
  });
5385
5385
  }));
5386
- }, (((c = a == null ? void 0 : a.share) == null ? void 0 : c.initialize) ?? t) && d.postMessage(void 0), r.$subscribe((E, h) => {
5387
- f || (p = Date.now(), d.postMessage({
5388
- timestamp: p,
5389
- state: Mo(h, o)
5390
- })), f = !1;
5386
+ }, (((l = a == null ? void 0 : a.share) == null ? void 0 : l.initialize) ?? t) && d.postMessage(void 0), r.$subscribe((y, p) => {
5387
+ m || (f = Date.now(), d.postMessage({
5388
+ timestamp: f,
5389
+ state: Uo(p, o)
5390
+ })), m = !1;
5391
5391
  });
5392
5392
  };
5393
5393
  }
5394
5394
  const Lc = Vl();
5395
5395
  Lc.use(
5396
- xc({
5396
+ Rc({
5397
5397
  enable: !0,
5398
5398
  initialize: !0
5399
5399
  })
@@ -5406,11 +5406,11 @@ const jc = /* @__PURE__ */ fe({
5406
5406
  if (n.value) {
5407
5407
  let r = t.value.schema.schema.toArray();
5408
5408
  r.forEach((a, s) => {
5409
- const c = t.value.store.record[a.fieldname];
5410
- r[s].value = c;
5409
+ const l = t.value.store.record[a.fieldname];
5410
+ r[s].value = l;
5411
5411
  }), o.value = r;
5412
5412
  }
5413
- }), (r, a) => V(n) ? (P(), Se(V(ra), {
5413
+ }), (r, a) => P(n) ? (V(), Se(P(ra), {
5414
5414
  key: 0,
5415
5415
  class: "aform-main",
5416
5416
  modelValue: o.value,
@@ -5424,7 +5424,7 @@ const jc = /* @__PURE__ */ fe({
5424
5424
  * @license MIT
5425
5425
  */
5426
5426
  let et;
5427
- const xt = (e) => et = e, Mc = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
5427
+ const Rt = (e) => et = e, Uc = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
5428
5428
  /* istanbul ignore next */
5429
5429
  Symbol()
5430
5430
  );
@@ -5448,7 +5448,7 @@ function ms(e, t) {
5448
5448
  }
5449
5449
  const _s = () => {
5450
5450
  };
5451
- function Uo(e, t, n, o = _s) {
5451
+ function Mo(e, t, n, o = _s) {
5452
5452
  e.push(t);
5453
5453
  const r = () => {
5454
5454
  const a = e.indexOf(t);
@@ -5461,7 +5461,7 @@ function $e(e, ...t) {
5461
5461
  n(...t);
5462
5462
  });
5463
5463
  }
5464
- const Uc = (e) => e(), Ho = Symbol(), Xt = Symbol();
5464
+ const Mc = (e) => e(), Ho = Symbol(), Xt = Symbol();
5465
5465
  function pn(e, t) {
5466
5466
  e instanceof Map && t instanceof Map ? t.forEach((n, o) => e.set(o, n)) : e instanceof Set && t instanceof Set && t.forEach(e.add, e);
5467
5467
  for (const n in t) {
@@ -5485,56 +5485,56 @@ function zo(e) {
5485
5485
  }
5486
5486
  function Bo(e, t, n, o) {
5487
5487
  const { state: r, actions: a, getters: s } = t, i = n.state.value[e];
5488
- let c;
5489
- function l() {
5488
+ let l;
5489
+ function c() {
5490
5490
  !i && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
5491
5491
  const u = process.env.NODE_ENV !== "production" && o ? (
5492
5492
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
5493
5493
  Nt(C(r ? r() : {}).value)
5494
5494
  ) : Nt(n.state.value[e]);
5495
- return ee(u, a, Object.keys(s || {}).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] = te(L(() => {
5496
- xt(n);
5497
- const f = n._s.get(e);
5498
- return s[p].call(f, f);
5495
+ return ee(u, a, Object.keys(s || {}).reduce((d, f) => (process.env.NODE_ENV !== "production" && f in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${f}" in store "${e}".`), d[f] = te(R(() => {
5496
+ Rt(n);
5497
+ const m = n._s.get(e);
5498
+ return s[f].call(m, m);
5499
5499
  })), d), {}));
5500
5500
  }
5501
- return c = hn(e, l, t, n, o, !0), c;
5501
+ return l = hn(e, c, t, n, o, !0), l;
5502
5502
  }
5503
5503
  function hn(e, t, n = {}, o, r, a) {
5504
5504
  let s;
5505
5505
  const i = ee({ actions: {} }, n);
5506
5506
  if (process.env.NODE_ENV !== "production" && !o._e.active)
5507
5507
  throw new Error("Pinia destroyed");
5508
- const c = { deep: !0 };
5509
- process.env.NODE_ENV !== "production" && (c.onTrigger = (_) => {
5510
- l ? f = _ : l == !1 && !b._hotUpdating && (Array.isArray(f) ? f.push(_) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
5508
+ const l = { deep: !0 };
5509
+ process.env.NODE_ENV !== "production" && (l.onTrigger = (_) => {
5510
+ c ? m = _ : c == !1 && !w._hotUpdating && (Array.isArray(m) ? m.push(_) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
5511
5511
  });
5512
- let l, u, d = [], p = [], f;
5513
- const m = o.state.value[e];
5514
- !a && !m && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
5515
- const E = C({});
5516
- let h;
5517
- function w(_) {
5512
+ let c, u, d = [], f = [], m;
5513
+ const h = o.state.value[e];
5514
+ !a && !h && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
5515
+ const y = C({});
5516
+ let p;
5517
+ function b(_) {
5518
5518
  let g;
5519
- l = u = !1, process.env.NODE_ENV !== "production" && (f = []), typeof _ == "function" ? (_(o.state.value[e]), g = {
5519
+ c = u = !1, process.env.NODE_ENV !== "production" && (m = []), typeof _ == "function" ? (_(o.state.value[e]), g = {
5520
5520
  type: rt.patchFunction,
5521
5521
  storeId: e,
5522
- events: f
5522
+ events: m
5523
5523
  }) : (pn(o.state.value[e], _), g = {
5524
5524
  type: rt.patchObject,
5525
5525
  payload: _,
5526
5526
  storeId: e,
5527
- events: f
5527
+ events: m
5528
5528
  });
5529
- const S = h = Symbol();
5529
+ const I = p = Symbol();
5530
5530
  Ve().then(() => {
5531
- h === S && (l = !0);
5531
+ p === I && (c = !0);
5532
5532
  }), u = !0, $e(d, g, o.state.value[e]);
5533
5533
  }
5534
- const T = a ? function() {
5535
- const { state: g } = n, S = g ? g() : {};
5534
+ const S = a ? function() {
5535
+ const { state: g } = n, I = g ? g() : {};
5536
5536
  this.$patch((N) => {
5537
- ee(N, S);
5537
+ ee(N, I);
5538
5538
  });
5539
5539
  } : (
5540
5540
  /* istanbul ignore next */
@@ -5542,63 +5542,63 @@ function hn(e, t, n = {}, o, r, a) {
5542
5542
  throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
5543
5543
  } : _s
5544
5544
  );
5545
- function R() {
5546
- s.stop(), d = [], p = [], o._s.delete(e);
5545
+ function x() {
5546
+ s.stop(), d = [], f = [], o._s.delete(e);
5547
5547
  }
5548
- const U = (_, g = "") => {
5548
+ const M = (_, g = "") => {
5549
5549
  if (Ho in _)
5550
5550
  return _[Xt] = g, _;
5551
- const S = function() {
5552
- xt(o);
5551
+ const I = function() {
5552
+ Rt(o);
5553
5553
  const N = Array.from(arguments), X = [], F = [];
5554
- function I(H) {
5554
+ function T(H) {
5555
5555
  X.push(H);
5556
5556
  }
5557
5557
  function Z(H) {
5558
5558
  F.push(H);
5559
5559
  }
5560
- $e(p, {
5560
+ $e(f, {
5561
5561
  args: N,
5562
- name: S[Xt],
5563
- store: b,
5564
- after: I,
5562
+ name: I[Xt],
5563
+ store: w,
5564
+ after: T,
5565
5565
  onError: Z
5566
5566
  });
5567
5567
  let D;
5568
5568
  try {
5569
- D = _.apply(this && this.$id === e ? this : b, N);
5569
+ D = _.apply(this && this.$id === e ? this : w, N);
5570
5570
  } catch (H) {
5571
5571
  throw $e(F, H), H;
5572
5572
  }
5573
5573
  return D instanceof Promise ? D.then((H) => ($e(X, H), H)).catch((H) => ($e(F, H), Promise.reject(H))) : ($e(X, D), D);
5574
5574
  };
5575
- return S[Ho] = !0, S[Xt] = g, S;
5576
- }, M = /* @__PURE__ */ te({
5575
+ return I[Ho] = !0, I[Xt] = g, I;
5576
+ }, U = /* @__PURE__ */ te({
5577
5577
  actions: {},
5578
5578
  getters: {},
5579
5579
  state: [],
5580
- hotState: E
5580
+ hotState: y
5581
5581
  }), re = {
5582
5582
  _p: o,
5583
5583
  // _s: scope,
5584
5584
  $id: e,
5585
- $onAction: Uo.bind(null, p),
5586
- $patch: w,
5587
- $reset: T,
5585
+ $onAction: Mo.bind(null, f),
5586
+ $patch: b,
5587
+ $reset: S,
5588
5588
  $subscribe(_, g = {}) {
5589
- const S = Uo(d, _, g.detached, () => N()), N = s.run(() => K(() => o.state.value[e], (X) => {
5590
- (g.flush === "sync" ? u : l) && _({
5589
+ const I = Mo(d, _, g.detached, () => N()), N = s.run(() => K(() => o.state.value[e], (X) => {
5590
+ (g.flush === "sync" ? u : c) && _({
5591
5591
  storeId: e,
5592
5592
  type: rt.direct,
5593
- events: f
5593
+ events: m
5594
5594
  }, X);
5595
- }, ee({}, c, g)));
5596
- return S;
5595
+ }, ee({}, l, g)));
5596
+ return I;
5597
5597
  },
5598
- $dispose: R
5599
- }, b = or(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && tt ? ee(
5598
+ $dispose: x
5599
+ }, w = or(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && tt ? ee(
5600
5600
  {
5601
- _hmrPayload: M,
5601
+ _hmrPayload: U,
5602
5602
  _customProperties: te(/* @__PURE__ */ new Set())
5603
5603
  // devtools custom properties
5604
5604
  },
@@ -5606,60 +5606,60 @@ function hn(e, t, n = {}, o, r, a) {
5606
5606
  // must be added later
5607
5607
  // setupStore
5608
5608
  ) : re);
5609
- o._s.set(e, b);
5610
- const v = (o._a && o._a.runWithContext || Uc)(() => o._e.run(() => (s = vn()).run(() => t({ action: U }))));
5609
+ o._s.set(e, w);
5610
+ const v = (o._a && o._a.runWithContext || Mc)(() => o._e.run(() => (s = vn()).run(() => t({ action: M }))));
5611
5611
  for (const _ in v) {
5612
5612
  const g = v[_];
5613
5613
  if (le(g) && !zo(g) || Ge(g))
5614
- process.env.NODE_ENV !== "production" && r ? E.value[_] = be(v, _) : a || (m && zc(g) && (le(g) ? g.value = m[_] : pn(g, m[_])), o.state.value[e][_] = g), process.env.NODE_ENV !== "production" && M.state.push(_);
5614
+ process.env.NODE_ENV !== "production" && r ? y.value[_] = be(v, _) : a || (h && zc(g) && (le(g) ? g.value = h[_] : pn(g, h[_])), o.state.value[e][_] = g), process.env.NODE_ENV !== "production" && U.state.push(_);
5615
5615
  else if (typeof g == "function") {
5616
- const S = process.env.NODE_ENV !== "production" && r ? g : U(g, _);
5617
- v[_] = S, process.env.NODE_ENV !== "production" && (M.actions[_] = g), i.actions[_] = g;
5618
- } else process.env.NODE_ENV !== "production" && zo(g) && (M.getters[_] = a ? (
5616
+ const I = process.env.NODE_ENV !== "production" && r ? g : M(g, _);
5617
+ v[_] = I, process.env.NODE_ENV !== "production" && (U.actions[_] = g), i.actions[_] = g;
5618
+ } else process.env.NODE_ENV !== "production" && zo(g) && (U.getters[_] = a ? (
5619
5619
  // @ts-expect-error
5620
5620
  n.getters[_]
5621
5621
  ) : g, tt && (v._getters || // @ts-expect-error: same
5622
5622
  (v._getters = te([]))).push(_));
5623
5623
  }
5624
- if (ee(b, v), ee(Ue(b), v), Object.defineProperty(b, "$state", {
5625
- get: () => process.env.NODE_ENV !== "production" && r ? E.value : o.state.value[e],
5624
+ if (ee(w, v), ee(Me(w), v), Object.defineProperty(w, "$state", {
5625
+ get: () => process.env.NODE_ENV !== "production" && r ? y.value : o.state.value[e],
5626
5626
  set: (_) => {
5627
5627
  if (process.env.NODE_ENV !== "production" && r)
5628
5628
  throw new Error("cannot set hotState");
5629
- w((g) => {
5629
+ b((g) => {
5630
5630
  ee(g, _);
5631
5631
  });
5632
5632
  }
5633
- }), process.env.NODE_ENV !== "production" && (b._hotUpdate = te((_) => {
5634
- b._hotUpdating = !0, _._hmrPayload.state.forEach((g) => {
5635
- if (g in b.$state) {
5636
- const S = _.$state[g], N = b.$state[g];
5637
- typeof S == "object" && De(S) && De(N) ? ms(S, N) : _.$state[g] = N;
5633
+ }), process.env.NODE_ENV !== "production" && (w._hotUpdate = te((_) => {
5634
+ w._hotUpdating = !0, _._hmrPayload.state.forEach((g) => {
5635
+ if (g in w.$state) {
5636
+ const I = _.$state[g], N = w.$state[g];
5637
+ typeof I == "object" && De(I) && De(N) ? ms(I, N) : _.$state[g] = N;
5638
5638
  }
5639
- b[g] = be(_.$state, g);
5640
- }), Object.keys(b.$state).forEach((g) => {
5641
- g in _.$state || delete b[g];
5642
- }), l = !1, u = !1, o.state.value[e] = be(_._hmrPayload, "hotState"), u = !0, Ve().then(() => {
5643
- l = !0;
5639
+ w[g] = be(_.$state, g);
5640
+ }), Object.keys(w.$state).forEach((g) => {
5641
+ g in _.$state || delete w[g];
5642
+ }), c = !1, u = !1, o.state.value[e] = be(_._hmrPayload, "hotState"), u = !0, Ve().then(() => {
5643
+ c = !0;
5644
5644
  });
5645
5645
  for (const g in _._hmrPayload.actions) {
5646
- const S = _[g];
5647
- b[g] = //
5648
- U(S, g);
5646
+ const I = _[g];
5647
+ w[g] = //
5648
+ M(I, g);
5649
5649
  }
5650
5650
  for (const g in _._hmrPayload.getters) {
5651
- const S = _._hmrPayload.getters[g], N = a ? (
5651
+ const I = _._hmrPayload.getters[g], N = a ? (
5652
5652
  // special handling of options api
5653
- L(() => (xt(o), S.call(b, b)))
5654
- ) : S;
5655
- b[g] = //
5653
+ R(() => (Rt(o), I.call(w, w)))
5654
+ ) : I;
5655
+ w[g] = //
5656
5656
  N;
5657
5657
  }
5658
- Object.keys(b._hmrPayload.getters).forEach((g) => {
5659
- g in _._hmrPayload.getters || delete b[g];
5660
- }), Object.keys(b._hmrPayload.actions).forEach((g) => {
5661
- g in _._hmrPayload.actions || delete b[g];
5662
- }), b._hmrPayload = _._hmrPayload, b._getters = _._getters, b._hotUpdating = !1;
5658
+ Object.keys(w._hmrPayload.getters).forEach((g) => {
5659
+ g in _._hmrPayload.getters || delete w[g];
5660
+ }), Object.keys(w._hmrPayload.actions).forEach((g) => {
5661
+ g in _._hmrPayload.actions || delete w[g];
5662
+ }), w._hmrPayload = _._hmrPayload, w._getters = _._getters, w._hotUpdating = !1;
5663
5663
  })), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && tt) {
5664
5664
  const _ = {
5665
5665
  writable: !0,
@@ -5668,28 +5668,28 @@ function hn(e, t, n = {}, o, r, a) {
5668
5668
  enumerable: !1
5669
5669
  };
5670
5670
  ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((g) => {
5671
- Object.defineProperty(b, g, ee({ value: b[g] }, _));
5671
+ Object.defineProperty(w, g, ee({ value: w[g] }, _));
5672
5672
  });
5673
5673
  }
5674
5674
  return o._p.forEach((_) => {
5675
5675
  if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && tt) {
5676
5676
  const g = s.run(() => _({
5677
- store: b,
5677
+ store: w,
5678
5678
  app: o._a,
5679
5679
  pinia: o,
5680
5680
  options: i
5681
5681
  }));
5682
- Object.keys(g || {}).forEach((S) => b._customProperties.add(S)), ee(b, g);
5682
+ Object.keys(g || {}).forEach((I) => w._customProperties.add(I)), ee(w, g);
5683
5683
  } else
5684
- ee(b, s.run(() => _({
5685
- store: b,
5684
+ ee(w, s.run(() => _({
5685
+ store: w,
5686
5686
  app: o._a,
5687
5687
  pinia: o,
5688
5688
  options: i
5689
5689
  })));
5690
- }), process.env.NODE_ENV !== "production" && b.$state && typeof b.$state == "object" && typeof b.$state.constructor == "function" && !b.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
5690
+ }), process.env.NODE_ENV !== "production" && w.$state && typeof w.$state == "object" && typeof w.$state.constructor == "function" && !w.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
5691
5691
  state: () => new MyClass()
5692
- Found in store "${b.$id}".`), m && a && n.hydrate && n.hydrate(b.$state, m), l = !0, u = !0, b;
5692
+ Found in store "${w.$id}".`), h && a && n.hydrate && n.hydrate(w.$state, h), c = !0, u = !0, w;
5693
5693
  }
5694
5694
  /*! #__NO_SIDE_EFFECTS__ */
5695
5695
  // @__NO_SIDE_EFFECTS__
@@ -5698,15 +5698,15 @@ function Bc(e, t, n) {
5698
5698
  const r = typeof t == "function";
5699
5699
  o = r ? n : t;
5700
5700
  function a(s, i) {
5701
- const c = nr();
5701
+ const l = nr();
5702
5702
  if (s = // in test mode, ignore the argument provided as we can always retrieve a
5703
5703
  // pinia instance with getActivePinia()
5704
- (process.env.NODE_ENV === "test" && et && et._testing ? null : s) || (c ? gn(Mc, null) : null), s && xt(s), process.env.NODE_ENV !== "production" && !et)
5704
+ (process.env.NODE_ENV === "test" && et && et._testing ? null : s) || (l ? gn(Uc, null) : null), s && Rt(s), process.env.NODE_ENV !== "production" && !et)
5705
5705
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
5706
5706
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
5707
5707
  This will fail in production.`);
5708
5708
  s = et, s._s.has(e) || (r ? hn(e, t, o, s) : Bo(e, o, s), process.env.NODE_ENV !== "production" && (a._pinia = s));
5709
- const l = s._s.get(e);
5709
+ const c = s._s.get(e);
5710
5710
  if (process.env.NODE_ENV !== "production" && i) {
5711
5711
  const u = "__hot:" + e, d = r ? hn(u, t, o, s, !0) : Bo(u, ee({}, o), s, !0);
5712
5712
  i._hotUpdate(d), delete s.state.value[u], s._s.delete(u);
@@ -5715,11 +5715,11 @@ This will fail in production.`);
5715
5715
  const u = ht();
5716
5716
  if (u && u.proxy && // avoid adding stores that are just built for hot module replacement
5717
5717
  !i) {
5718
- const d = u.proxy, p = "_pStores" in d ? d._pStores : d._pStores = {};
5719
- p[e] = l;
5718
+ const d = u.proxy, f = "_pStores" in d ? d._pStores : d._pStores = {};
5719
+ f[e] = c;
5720
5720
  }
5721
5721
  }
5722
- return l;
5722
+ return c;
5723
5723
  }
5724
5724
  return a.$id = e, a;
5725
5725
  }
@@ -5752,28 +5752,28 @@ function We(e) {
5752
5752
  function dt(...e) {
5753
5753
  const t = [], n = () => {
5754
5754
  t.forEach((i) => i()), t.length = 0;
5755
- }, o = (i, c, l, u) => (i.addEventListener(c, l, u), () => i.removeEventListener(c, l, u)), r = L(() => {
5756
- const i = Ct($(e[0])).filter((c) => c != null);
5757
- return i.every((c) => typeof c != "string") ? i : void 0;
5755
+ }, o = (i, l, c, u) => (i.addEventListener(l, c, u), () => i.removeEventListener(l, c, u)), r = R(() => {
5756
+ const i = Ct($(e[0])).filter((l) => l != null);
5757
+ return i.every((l) => typeof l != "string") ? i : void 0;
5758
5758
  }), a = qc(
5759
5759
  () => {
5760
- var i, c;
5760
+ var i, l;
5761
5761
  return [
5762
- (c = (i = r.value) == null ? void 0 : i.map((l) => We(l))) != null ? c : [Je].filter((l) => l != null),
5762
+ (l = (i = r.value) == null ? void 0 : i.map((c) => We(c))) != null ? l : [Je].filter((c) => c != null),
5763
5763
  Ct($(r.value ? e[1] : e[0])),
5764
- Ct(V(r.value ? e[2] : e[1])),
5764
+ Ct(P(r.value ? e[2] : e[1])),
5765
5765
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
5766
5766
  $(r.value ? e[3] : e[2])
5767
5767
  ];
5768
5768
  },
5769
- ([i, c, l, u]) => {
5770
- if (n(), !(i != null && i.length) || !(c != null && c.length) || !(l != null && l.length))
5769
+ ([i, l, c, u]) => {
5770
+ if (n(), !(i != null && i.length) || !(l != null && l.length) || !(c != null && c.length))
5771
5771
  return;
5772
5772
  const d = Gc(u) ? { ...u } : u;
5773
5773
  t.push(
5774
5774
  ...i.flatMap(
5775
- (p) => c.flatMap(
5776
- (f) => l.map((m) => o(p, f, m, d))
5775
+ (f) => l.flatMap(
5776
+ (m) => c.map((h) => o(f, m, h, d))
5777
5777
  )
5778
5778
  )
5779
5779
  );
@@ -5792,24 +5792,24 @@ function Jc() {
5792
5792
  }
5793
5793
  function Xc(e) {
5794
5794
  const t = Jc();
5795
- return L(() => (t.value, !!e()));
5795
+ return R(() => (t.value, !!e()));
5796
5796
  }
5797
5797
  function Zc(e, t, n = {}) {
5798
5798
  const { window: o = Je, ...r } = n;
5799
5799
  let a;
5800
5800
  const s = Xc(() => o && "MutationObserver" in o), i = () => {
5801
5801
  a && (a.disconnect(), a = void 0);
5802
- }, c = L(() => {
5803
- const p = $(e), f = Ct(p).map(We).filter(Wc);
5804
- return new Set(f);
5805
- }), l = K(
5806
- () => c.value,
5807
- (p) => {
5808
- i(), s.value && p.size && (a = new MutationObserver(t), p.forEach((f) => a.observe(f, r)));
5802
+ }, l = R(() => {
5803
+ const f = $(e), m = Ct(f).map(We).filter(Wc);
5804
+ return new Set(m);
5805
+ }), c = K(
5806
+ () => l.value,
5807
+ (f) => {
5808
+ i(), s.value && f.size && (a = new MutationObserver(t), f.forEach((m) => a.observe(m, r)));
5809
5809
  },
5810
5810
  { immediate: !0, flush: "post" }
5811
5811
  ), u = () => a == null ? void 0 : a.takeRecords(), d = () => {
5812
- l(), i();
5812
+ c(), i();
5813
5813
  };
5814
5814
  return jn(d), {
5815
5815
  isSupported: s,
@@ -5828,13 +5828,13 @@ function Qc(e, t, n = {}) {
5828
5828
  let s;
5829
5829
  const i = (u) => {
5830
5830
  s == null || s(), s = u;
5831
- }, c = Ts(() => {
5831
+ }, l = Is(() => {
5832
5832
  const u = We(e);
5833
5833
  if (u) {
5834
5834
  const { stop: d } = Zc(
5835
5835
  r,
5836
- (p) => {
5837
- p.map((f) => [...f.removedNodes]).flat().some((f) => f === u || f.contains(u)) && t(p);
5836
+ (f) => {
5837
+ f.map((m) => [...m.removedNodes]).flat().some((m) => m === u || m.contains(u)) && t(f);
5838
5838
  },
5839
5839
  {
5840
5840
  window: o,
@@ -5844,10 +5844,10 @@ function Qc(e, t, n = {}) {
5844
5844
  );
5845
5845
  i(d);
5846
5846
  }
5847
- }, { flush: a }), l = () => {
5848
- c(), i();
5847
+ }, { flush: a }), c = () => {
5848
+ l(), i();
5849
5849
  };
5850
- return jn(l), l;
5850
+ return jn(c), c;
5851
5851
  }
5852
5852
  function eu(e = {}) {
5853
5853
  var t;
@@ -5856,17 +5856,17 @@ function eu(e = {}) {
5856
5856
  deep: o = !0,
5857
5857
  triggerOnRemoval: r = !1
5858
5858
  } = e, a = (t = e.document) != null ? t : n == null ? void 0 : n.document, s = () => {
5859
- var l;
5859
+ var c;
5860
5860
  let u = a == null ? void 0 : a.activeElement;
5861
5861
  if (o)
5862
5862
  for (; u != null && u.shadowRoot; )
5863
- u = (l = u == null ? void 0 : u.shadowRoot) == null ? void 0 : l.activeElement;
5863
+ u = (c = u == null ? void 0 : u.shadowRoot) == null ? void 0 : c.activeElement;
5864
5864
  return u;
5865
- }, i = C(), c = () => {
5865
+ }, i = C(), l = () => {
5866
5866
  i.value = s();
5867
5867
  };
5868
5868
  if (n) {
5869
- const l = {
5869
+ const c = {
5870
5870
  capture: !0,
5871
5871
  passive: !0
5872
5872
  };
@@ -5874,27 +5874,27 @@ function eu(e = {}) {
5874
5874
  n,
5875
5875
  "blur",
5876
5876
  (u) => {
5877
- u.relatedTarget === null && c();
5877
+ u.relatedTarget === null && l();
5878
5878
  },
5879
- l
5879
+ c
5880
5880
  ), dt(
5881
5881
  n,
5882
5882
  "focus",
5883
- c,
5884
- l
5883
+ l,
5884
+ c
5885
5885
  );
5886
5886
  }
5887
- return r && Qc(i, c, { document: a }), c(), i;
5887
+ return r && Qc(i, l, { document: a }), l(), i;
5888
5888
  }
5889
5889
  const tu = "focusin", nu = "focusout", ou = ":focus-within";
5890
5890
  function ru(e, t = {}) {
5891
- const { window: n = Je } = t, o = L(() => We(e)), r = J(!1), a = L(() => r.value), s = eu(t);
5891
+ const { window: n = Je } = t, o = R(() => We(e)), r = J(!1), a = R(() => r.value), s = eu(t);
5892
5892
  if (!n || !s.value)
5893
5893
  return { focused: a };
5894
5894
  const i = { passive: !0 };
5895
5895
  return dt(o, tu, () => r.value = !0, i), dt(o, nu, () => {
5896
- var c, l, u;
5897
- return r.value = (u = (l = (c = o.value) == null ? void 0 : c.matches) == null ? void 0 : l.call(c, ou)) != null ? u : !1;
5896
+ var l, c, u;
5897
+ return r.value = (u = (c = (l = o.value) == null ? void 0 : l.matches) == null ? void 0 : c.call(l, ou)) != null ? u : !1;
5898
5898
  }, i), { focused: a };
5899
5899
  }
5900
5900
  function su(e, { window: t = Je, scrollTarget: n } = {}) {
@@ -5922,8 +5922,8 @@ const pe = (e) => {
5922
5922
  return t = t && e.offsetHeight > 0, t;
5923
5923
  }, he = (e) => e.tabIndex >= 0, Ko = (e) => {
5924
5924
  const t = e.target;
5925
- return Mn(t);
5926
- }, Mn = (e) => {
5925
+ return Un(t);
5926
+ }, Un = (e) => {
5927
5927
  var t;
5928
5928
  let n;
5929
5929
  if (e instanceof HTMLTableCellElement) {
@@ -5936,7 +5936,7 @@ const pe = (e) => {
5936
5936
  const o = e.previousElementSibling;
5937
5937
  o && (n = o);
5938
5938
  }
5939
- return n && (!he(n) || !pe(n)) ? Mn(n) : n;
5939
+ return n && (!he(n) || !pe(n)) ? Un(n) : n;
5940
5940
  }, au = (e) => {
5941
5941
  var t;
5942
5942
  const n = e.target;
@@ -5954,11 +5954,11 @@ const pe = (e) => {
5954
5954
  a && (o = a);
5955
5955
  }
5956
5956
  }
5957
- return o && (!he(o) || !pe(o)) ? Un(o) : o;
5957
+ return o && (!he(o) || !pe(o)) ? Mn(o) : o;
5958
5958
  }, Wo = (e) => {
5959
5959
  const t = e.target;
5960
- return Un(t);
5961
- }, Un = (e) => {
5960
+ return Mn(t);
5961
+ }, Mn = (e) => {
5962
5962
  var t;
5963
5963
  let n;
5964
5964
  if (e instanceof HTMLTableCellElement) {
@@ -5971,7 +5971,7 @@ const pe = (e) => {
5971
5971
  const o = e.nextElementSibling;
5972
5972
  o && (n = o);
5973
5973
  }
5974
- return n && (!he(n) || !pe(n)) ? Un(n) : n;
5974
+ return n && (!he(n) || !pe(n)) ? Mn(n) : n;
5975
5975
  }, iu = (e) => {
5976
5976
  var t;
5977
5977
  const n = e.target;
@@ -5989,7 +5989,7 @@ const pe = (e) => {
5989
5989
  a && (o = a);
5990
5990
  }
5991
5991
  }
5992
- return o && (!he(o) || !pe(o)) ? Mn(o) : o;
5992
+ return o && (!he(o) || !pe(o)) ? Un(o) : o;
5993
5993
  }, Fo = (e) => {
5994
5994
  const t = e.target;
5995
5995
  return Hn(t);
@@ -6097,58 +6097,58 @@ function cu(e) {
6097
6097
  return s.parent && (typeof s.parent == "string" ? i = document.querySelector(s.parent) : s.parent instanceof HTMLElement ? i = s.parent : i = s.parent.value), i;
6098
6098
  }, n = (s) => {
6099
6099
  var i;
6100
- const c = t(s);
6101
- let l = [];
6100
+ const l = t(s);
6101
+ let c = [];
6102
6102
  if (typeof s.selectors == "string")
6103
- l = c ? Array.from(c.querySelectorAll(s.selectors)) : Array.from(document.querySelectorAll(s.selectors));
6103
+ c = l ? Array.from(l.querySelectorAll(s.selectors)) : Array.from(document.querySelectorAll(s.selectors));
6104
6104
  else if (Array.isArray(s.selectors))
6105
6105
  for (const u of s.selectors)
6106
- u instanceof HTMLElement ? l.push(u) : l.push(u.$el);
6106
+ u instanceof HTMLElement ? c.push(u) : c.push(u.$el);
6107
6107
  else if (s.selectors instanceof HTMLElement)
6108
- l.push(s.selectors);
6108
+ c.push(s.selectors);
6109
6109
  else if ((i = s.selectors) != null && i.value)
6110
6110
  if (Array.isArray(s.selectors.value))
6111
6111
  for (const u of s.selectors.value)
6112
- u instanceof HTMLElement ? l.push(u) : l.push(u.$el);
6112
+ u instanceof HTMLElement ? c.push(u) : c.push(u.$el);
6113
6113
  else
6114
- l.push(s.selectors.value);
6115
- return l;
6114
+ c.push(s.selectors.value);
6115
+ return c;
6116
6116
  }, o = (s) => {
6117
6117
  const i = t(s);
6118
- let c = [];
6119
- return s.selectors ? c = n(s) : i && (c = Array.from(i.children).filter((l) => he(l) && pe(l))), c;
6118
+ let l = [];
6119
+ return s.selectors ? l = n(s) : i && (l = Array.from(i.children).filter((c) => he(c) && pe(c))), l;
6120
6120
  }, r = (s) => (i) => {
6121
- const c = lu[i.key] || i.key.toLowerCase();
6122
- if (Et.includes(c)) return;
6123
- const l = s.handlers || vs;
6124
- for (const u of Object.keys(l)) {
6125
- const [d, ...p] = u.split(".");
6126
- if (d === "keydown" && p.includes(c)) {
6127
- const f = l[u], m = p.filter((h) => Et.includes(h)), E = Et.some((h) => {
6128
- const w = h.charAt(0).toUpperCase() + h.slice(1);
6129
- return i.getModifierState(w);
6121
+ const l = lu[i.key] || i.key.toLowerCase();
6122
+ if (Et.includes(l)) return;
6123
+ const c = s.handlers || vs;
6124
+ for (const u of Object.keys(c)) {
6125
+ const [d, ...f] = u.split(".");
6126
+ if (d === "keydown" && f.includes(l)) {
6127
+ const m = c[u], h = f.filter((p) => Et.includes(p)), y = Et.some((p) => {
6128
+ const b = p.charAt(0).toUpperCase() + p.slice(1);
6129
+ return i.getModifierState(b);
6130
6130
  });
6131
- if (m.length > 0) {
6132
- if (E) {
6133
- for (const h of Et)
6134
- if (p.includes(h)) {
6135
- const w = h.charAt(0).toUpperCase() + h.slice(1);
6136
- i.getModifierState(w) && f(i);
6131
+ if (h.length > 0) {
6132
+ if (y) {
6133
+ for (const p of Et)
6134
+ if (f.includes(p)) {
6135
+ const b = p.charAt(0).toUpperCase() + p.slice(1);
6136
+ i.getModifierState(b) && m(i);
6137
6137
  }
6138
6138
  }
6139
6139
  } else
6140
- E || f(i);
6140
+ y || m(i);
6141
6141
  }
6142
6142
  }
6143
6143
  }, a = [];
6144
6144
  Ae(() => {
6145
6145
  for (const s of e) {
6146
- const i = t(s), c = o(s), l = r(s), u = i ? [i] : c;
6146
+ const i = t(s), l = o(s), c = r(s), u = i ? [i] : l;
6147
6147
  for (const d of u) {
6148
- const { focused: p } = ru(C(d)), f = K(p, (m) => {
6149
- m ? d.addEventListener("keydown", l) : d.removeEventListener("keydown", l);
6148
+ const { focused: f } = ru(C(d)), m = K(f, (h) => {
6149
+ h ? d.addEventListener("keydown", c) : d.removeEventListener("keydown", c);
6150
6150
  });
6151
- a.push(f);
6151
+ a.push(m);
6152
6152
  }
6153
6153
  }
6154
6154
  }), Ss(() => {
@@ -6170,7 +6170,7 @@ function fu() {
6170
6170
  function pu(e) {
6171
6171
  return ht();
6172
6172
  }
6173
- function Ie(e) {
6173
+ function Te(e) {
6174
6174
  return Array.isArray(e) ? e : [e];
6175
6175
  }
6176
6176
  function hu(...e) {
@@ -6201,28 +6201,28 @@ function Fe(e) {
6201
6201
  function Jo(...e) {
6202
6202
  const t = [], n = () => {
6203
6203
  t.forEach((i) => i()), t.length = 0;
6204
- }, o = (i, c, l, u) => (i.addEventListener(c, l, u), () => i.removeEventListener(c, l, u)), r = L(() => {
6205
- const i = Ie($(e[0])).filter((c) => c != null);
6206
- return i.every((c) => typeof c != "string") ? i : void 0;
6204
+ }, o = (i, l, c, u) => (i.addEventListener(l, c, u), () => i.removeEventListener(l, c, u)), r = R(() => {
6205
+ const i = Te($(e[0])).filter((l) => l != null);
6206
+ return i.every((l) => typeof l != "string") ? i : void 0;
6207
6207
  }), a = ys(
6208
6208
  () => {
6209
- var i, c;
6209
+ var i, l;
6210
6210
  return [
6211
- (c = (i = r.value) == null ? void 0 : i.map((l) => Fe(l))) != null ? c : [Kn].filter((l) => l != null),
6212
- Ie($(r.value ? e[1] : e[0])),
6213
- Ie(V(r.value ? e[2] : e[1])),
6211
+ (l = (i = r.value) == null ? void 0 : i.map((c) => Fe(c))) != null ? l : [Kn].filter((c) => c != null),
6212
+ Te($(r.value ? e[1] : e[0])),
6213
+ Te(P(r.value ? e[2] : e[1])),
6214
6214
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
6215
6215
  $(r.value ? e[3] : e[2])
6216
6216
  ];
6217
6217
  },
6218
- ([i, c, l, u]) => {
6219
- if (n(), !(i != null && i.length) || !(c != null && c.length) || !(l != null && l.length))
6218
+ ([i, l, c, u]) => {
6219
+ if (n(), !(i != null && i.length) || !(l != null && l.length) || !(c != null && c.length))
6220
6220
  return;
6221
6221
  const d = gs(u) ? { ...u } : u;
6222
6222
  t.push(
6223
6223
  ...i.flatMap(
6224
- (p) => c.flatMap(
6225
- (f) => l.map((m) => o(p, f, m, d))
6224
+ (f) => l.flatMap(
6225
+ (m) => c.map((h) => o(f, m, h, d))
6226
6226
  )
6227
6227
  )
6228
6228
  );
@@ -6241,24 +6241,24 @@ function _u() {
6241
6241
  }
6242
6242
  function Es(e) {
6243
6243
  const t = _u();
6244
- return L(() => (t.value, !!e()));
6244
+ return R(() => (t.value, !!e()));
6245
6245
  }
6246
6246
  function bs(e, t, n = {}) {
6247
6247
  const { window: o = Kn, ...r } = n;
6248
6248
  let a;
6249
6249
  const s = Es(() => o && "MutationObserver" in o), i = () => {
6250
6250
  a && (a.disconnect(), a = void 0);
6251
- }, c = L(() => {
6252
- const p = $(e), f = Ie(p).map(Fe).filter(uu);
6253
- return new Set(f);
6254
- }), l = K(
6255
- () => c.value,
6256
- (p) => {
6257
- i(), s.value && p.size && (a = new MutationObserver(t), p.forEach((f) => a.observe(f, r)));
6251
+ }, l = R(() => {
6252
+ const f = $(e), m = Te(f).map(Fe).filter(uu);
6253
+ return new Set(m);
6254
+ }), c = K(
6255
+ () => l.value,
6256
+ (f) => {
6257
+ i(), s.value && f.size && (a = new MutationObserver(t), f.forEach((m) => a.observe(m, r)));
6258
6258
  },
6259
6259
  { immediate: !0, flush: "post" }
6260
6260
  ), u = () => a == null ? void 0 : a.takeRecords(), d = () => {
6261
- l(), i();
6261
+ c(), i();
6262
6262
  };
6263
6263
  return vt(d), {
6264
6264
  isSupported: s,
@@ -6271,21 +6271,21 @@ function vu(e, t, n = {}) {
6271
6271
  let a;
6272
6272
  const s = Es(() => o && "ResizeObserver" in o), i = () => {
6273
6273
  a && (a.disconnect(), a = void 0);
6274
- }, c = L(() => {
6274
+ }, l = R(() => {
6275
6275
  const d = $(e);
6276
- return Array.isArray(d) ? d.map((p) => Fe(p)) : [Fe(d)];
6277
- }), l = K(
6278
- c,
6276
+ return Array.isArray(d) ? d.map((f) => Fe(f)) : [Fe(d)];
6277
+ }), c = K(
6278
+ l,
6279
6279
  (d) => {
6280
6280
  if (i(), s.value && o) {
6281
6281
  a = new ResizeObserver(t);
6282
- for (const p of d)
6283
- p && a.observe(p, r);
6282
+ for (const f of d)
6283
+ f && a.observe(f, r);
6284
6284
  }
6285
6285
  },
6286
6286
  { immediate: !0, flush: "post" }
6287
6287
  ), u = () => {
6288
- i(), l();
6288
+ i(), c();
6289
6289
  };
6290
6290
  return vt(u), {
6291
6291
  isSupported: s,
@@ -6299,33 +6299,33 @@ function gu(e, t = {}) {
6299
6299
  windowScroll: r = !0,
6300
6300
  immediate: a = !0,
6301
6301
  updateTiming: s = "sync"
6302
- } = t, i = J(0), c = J(0), l = J(0), u = J(0), d = J(0), p = J(0), f = J(0), m = J(0);
6303
- function E() {
6304
- const w = Fe(e);
6305
- if (!w) {
6306
- n && (i.value = 0, c.value = 0, l.value = 0, u.value = 0, d.value = 0, p.value = 0, f.value = 0, m.value = 0);
6302
+ } = t, i = J(0), l = J(0), c = J(0), u = J(0), d = J(0), f = J(0), m = J(0), h = J(0);
6303
+ function y() {
6304
+ const b = Fe(e);
6305
+ if (!b) {
6306
+ n && (i.value = 0, l.value = 0, c.value = 0, u.value = 0, d.value = 0, f.value = 0, m.value = 0, h.value = 0);
6307
6307
  return;
6308
6308
  }
6309
- const T = w.getBoundingClientRect();
6310
- i.value = T.height, c.value = T.bottom, l.value = T.left, u.value = T.right, d.value = T.top, p.value = T.width, f.value = T.x, m.value = T.y;
6309
+ const S = b.getBoundingClientRect();
6310
+ i.value = S.height, l.value = S.bottom, c.value = S.left, u.value = S.right, d.value = S.top, f.value = S.width, m.value = S.x, h.value = S.y;
6311
6311
  }
6312
- function h() {
6313
- s === "sync" ? E() : s === "next-frame" && requestAnimationFrame(() => E());
6312
+ function p() {
6313
+ s === "sync" ? y() : s === "next-frame" && requestAnimationFrame(() => y());
6314
6314
  }
6315
- return vu(e, h), K(() => Fe(e), (w) => !w && h()), bs(e, h, {
6315
+ return vu(e, p), K(() => Fe(e), (b) => !b && p()), bs(e, p, {
6316
6316
  attributeFilter: ["style", "class"]
6317
- }), r && Jo("scroll", h, { capture: !0, passive: !0 }), o && Jo("resize", h, { passive: !0 }), mu(() => {
6318
- a && h();
6317
+ }), r && Jo("scroll", p, { capture: !0, passive: !0 }), o && Jo("resize", p, { passive: !0 }), mu(() => {
6318
+ a && p();
6319
6319
  }), {
6320
6320
  height: i,
6321
- bottom: c,
6322
- left: l,
6321
+ bottom: l,
6322
+ left: c,
6323
6323
  right: u,
6324
6324
  top: d,
6325
- width: p,
6326
- x: f,
6327
- y: m,
6328
- update: h
6325
+ width: f,
6326
+ x: m,
6327
+ y: h,
6328
+ update: p
6329
6329
  };
6330
6330
  }
6331
6331
  const yu = (e = 8) => Array.from({ length: e }, () => Math.floor(Math.random() * 16).toString(16)).join(""), ws = (e, t) => {
@@ -6342,7 +6342,7 @@ const yu = (e = 8) => Array.from({ length: e }, () => Math.floor(Math.random() *
6342
6342
  addNavigation: { type: [Boolean, Object], default: !1 }
6343
6343
  },
6344
6344
  setup(e) {
6345
- const t = Lt("rowEl"), n = L(() => e.store.isRowVisible(e.rowIndex)), o = L(() => e.store.getRowExpandSymbol(e.rowIndex));
6345
+ const t = Lt("rowEl"), n = R(() => e.store.isRowVisible(e.rowIndex)), o = R(() => e.store.getRowExpandSymbol(e.rowIndex));
6346
6346
  if (e.addNavigation) {
6347
6347
  let r = vs;
6348
6348
  typeof e.addNavigation == "object" && (r = {
@@ -6355,20 +6355,20 @@ const yu = (e = 8) => Array.from({ length: e }, () => Math.floor(Math.random() *
6355
6355
  }
6356
6356
  ]);
6357
6357
  }
6358
- return (r, a) => st((P(), A("tr", {
6358
+ return (r, a) => st((V(), A("tr", {
6359
6359
  ref: "rowEl",
6360
6360
  tabindex: r.tabIndex,
6361
6361
  class: "atable-row"
6362
6362
  }, [
6363
6363
  r.store.config.view !== "uncounted" ? ve(r.$slots, "index", { key: 0 }, () => [
6364
- r.store.config.view === "list" ? (P(), A("td", {
6364
+ r.store.config.view === "list" ? (V(), A("td", {
6365
6365
  key: 0,
6366
6366
  tabIndex: -1,
6367
- class: Me(["list-index", r.store.hasPinnedColumns ? "sticky-index" : ""])
6368
- }, _e(r.rowIndex + 1), 3)) : r.store.config.view === "tree" ? (P(), A("td", {
6367
+ class: Ue(["list-index", r.store.hasPinnedColumns ? "sticky-index" : ""])
6368
+ }, _e(r.rowIndex + 1), 3)) : r.store.config.view === "tree" ? (V(), A("td", {
6369
6369
  key: 1,
6370
6370
  tabIndex: -1,
6371
- class: Me(["tree-index", r.store.hasPinnedColumns ? "sticky-index" : ""]),
6371
+ class: Ue(["tree-index", r.store.hasPinnedColumns ? "sticky-index" : ""]),
6372
6372
  onClick: a[0] || (a[0] = (s) => r.store.toggleRowExpand(r.rowIndex))
6373
6373
  }, _e(o.value), 3)) : ue("", !0)
6374
6374
  ], !0) : ue("", !0),
@@ -6383,31 +6383,31 @@ function nt(e) {
6383
6383
  const n = $(e);
6384
6384
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
6385
6385
  }
6386
- function xe(...e) {
6386
+ function Re(...e) {
6387
6387
  const t = [], n = () => {
6388
6388
  t.forEach((i) => i()), t.length = 0;
6389
- }, o = (i, c, l, u) => (i.addEventListener(c, l, u), () => i.removeEventListener(c, l, u)), r = L(() => {
6390
- const i = Ie($(e[0])).filter((c) => c != null);
6391
- return i.every((c) => typeof c != "string") ? i : void 0;
6389
+ }, o = (i, l, c, u) => (i.addEventListener(l, c, u), () => i.removeEventListener(l, c, u)), r = R(() => {
6390
+ const i = Te($(e[0])).filter((l) => l != null);
6391
+ return i.every((l) => typeof l != "string") ? i : void 0;
6392
6392
  }), a = ys(
6393
6393
  () => {
6394
- var i, c;
6394
+ var i, l;
6395
6395
  return [
6396
- (c = (i = r.value) == null ? void 0 : i.map((l) => nt(l))) != null ? c : [Os].filter((l) => l != null),
6397
- Ie($(r.value ? e[1] : e[0])),
6398
- Ie(V(r.value ? e[2] : e[1])),
6396
+ (l = (i = r.value) == null ? void 0 : i.map((c) => nt(c))) != null ? l : [Os].filter((c) => c != null),
6397
+ Te($(r.value ? e[1] : e[0])),
6398
+ Te(P(r.value ? e[2] : e[1])),
6399
6399
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
6400
6400
  $(r.value ? e[3] : e[2])
6401
6401
  ];
6402
6402
  },
6403
- ([i, c, l, u]) => {
6404
- if (n(), !(i != null && i.length) || !(c != null && c.length) || !(l != null && l.length))
6403
+ ([i, l, c, u]) => {
6404
+ if (n(), !(i != null && i.length) || !(l != null && l.length) || !(c != null && c.length))
6405
6405
  return;
6406
6406
  const d = gs(u) ? { ...u } : u;
6407
6407
  t.push(
6408
6408
  ...i.flatMap(
6409
- (p) => c.flatMap(
6410
- (f) => l.map((m) => o(p, f, m, d))
6409
+ (f) => l.flatMap(
6410
+ (m) => c.map((h) => o(f, m, h, d))
6411
6411
  )
6412
6412
  )
6413
6413
  );
@@ -6425,64 +6425,64 @@ function Zo(e, t, n = {}) {
6425
6425
  return i ? { stop: ke, cancel: ke, trigger: ke } : ke;
6426
6426
  if (mn && !Xo) {
6427
6427
  Xo = !0;
6428
- const h = { passive: !0 };
6429
- Array.from(o.document.body.children).forEach((w) => xe(w, "click", ke, h)), xe(o.document.documentElement, "click", ke, h);
6428
+ const p = { passive: !0 };
6429
+ Array.from(o.document.body.children).forEach((b) => Re(b, "click", ke, p)), Re(o.document.documentElement, "click", ke, p);
6430
6430
  }
6431
- let c = !0;
6432
- const l = (h) => $(r).some((w) => {
6433
- if (typeof w == "string")
6434
- return Array.from(o.document.querySelectorAll(w)).some((T) => T === h.target || h.composedPath().includes(T));
6431
+ let l = !0;
6432
+ const c = (p) => $(r).some((b) => {
6433
+ if (typeof b == "string")
6434
+ return Array.from(o.document.querySelectorAll(b)).some((S) => S === p.target || p.composedPath().includes(S));
6435
6435
  {
6436
- const T = nt(w);
6437
- return T && (h.target === T || h.composedPath().includes(T));
6436
+ const S = nt(b);
6437
+ return S && (p.target === S || p.composedPath().includes(S));
6438
6438
  }
6439
6439
  });
6440
- function u(h) {
6441
- const w = $(h);
6442
- return w && w.$.subTree.shapeFlag === 16;
6443
- }
6444
- function d(h, w) {
6445
- const T = $(h), R = T.$.subTree && T.$.subTree.children;
6446
- return R == null || !Array.isArray(R) ? !1 : R.some((U) => U.el === w.target || w.composedPath().includes(U.el));
6447
- }
6448
- const p = (h) => {
6449
- const w = nt(e);
6450
- if (h.target != null && !(!(w instanceof Element) && u(e) && d(e, h)) && !(!w || w === h.target || h.composedPath().includes(w))) {
6451
- if ("detail" in h && h.detail === 0 && (c = !l(h)), !c) {
6452
- c = !0;
6440
+ function u(p) {
6441
+ const b = $(p);
6442
+ return b && b.$.subTree.shapeFlag === 16;
6443
+ }
6444
+ function d(p, b) {
6445
+ const S = $(p), x = S.$.subTree && S.$.subTree.children;
6446
+ return x == null || !Array.isArray(x) ? !1 : x.some((M) => M.el === b.target || b.composedPath().includes(M.el));
6447
+ }
6448
+ const f = (p) => {
6449
+ const b = nt(e);
6450
+ if (p.target != null && !(!(b instanceof Element) && u(e) && d(e, p)) && !(!b || b === p.target || p.composedPath().includes(b))) {
6451
+ if ("detail" in p && p.detail === 0 && (l = !c(p)), !l) {
6452
+ l = !0;
6453
6453
  return;
6454
6454
  }
6455
- t(h);
6455
+ t(p);
6456
6456
  }
6457
6457
  };
6458
- let f = !1;
6459
- const m = [
6460
- xe(o, "click", (h) => {
6461
- f || (f = !0, setTimeout(() => {
6462
- f = !1;
6463
- }, 0), p(h));
6458
+ let m = !1;
6459
+ const h = [
6460
+ Re(o, "click", (p) => {
6461
+ m || (m = !0, setTimeout(() => {
6462
+ m = !1;
6463
+ }, 0), f(p));
6464
6464
  }, { passive: !0, capture: a }),
6465
- xe(o, "pointerdown", (h) => {
6466
- const w = nt(e);
6467
- c = !l(h) && !!(w && !h.composedPath().includes(w));
6465
+ Re(o, "pointerdown", (p) => {
6466
+ const b = nt(e);
6467
+ l = !c(p) && !!(b && !p.composedPath().includes(b));
6468
6468
  }, { passive: !0 }),
6469
- s && xe(o, "blur", (h) => {
6469
+ s && Re(o, "blur", (p) => {
6470
6470
  setTimeout(() => {
6471
- var w;
6472
- const T = nt(e);
6473
- ((w = o.document.activeElement) == null ? void 0 : w.tagName) === "IFRAME" && !(T != null && T.contains(o.document.activeElement)) && t(h);
6471
+ var b;
6472
+ const S = nt(e);
6473
+ ((b = o.document.activeElement) == null ? void 0 : b.tagName) === "IFRAME" && !(S != null && S.contains(o.document.activeElement)) && t(p);
6474
6474
  }, 0);
6475
6475
  }, { passive: !0 })
6476
- ].filter(Boolean), E = () => m.forEach((h) => h());
6476
+ ].filter(Boolean), y = () => h.forEach((p) => p());
6477
6477
  return i ? {
6478
- stop: E,
6478
+ stop: y,
6479
6479
  cancel: () => {
6480
- c = !1;
6480
+ l = !1;
6481
6481
  },
6482
- trigger: (h) => {
6483
- c = !0, p(h), c = !1;
6482
+ trigger: (p) => {
6483
+ l = !0, f(p), l = !1;
6484
6484
  }
6485
- } : E;
6485
+ } : y;
6486
6486
  }
6487
6487
  const Ou = {
6488
6488
  mounted(e, t) {
@@ -6519,24 +6519,24 @@ function Su(e, t = !1) {
6519
6519
  const n = C(t);
6520
6520
  let o = null, r = "";
6521
6521
  K(hu(e), (i) => {
6522
- const c = Zt($(i));
6523
- if (c) {
6524
- const l = c;
6525
- if (Qt.get(l) || Qt.set(l, l.style.overflow), l.style.overflow !== "hidden" && (r = l.style.overflow), l.style.overflow === "hidden")
6522
+ const l = Zt($(i));
6523
+ if (l) {
6524
+ const c = l;
6525
+ if (Qt.get(c) || Qt.set(c, c.style.overflow), c.style.overflow !== "hidden" && (r = c.style.overflow), c.style.overflow === "hidden")
6526
6526
  return n.value = !0;
6527
6527
  if (n.value)
6528
- return l.style.overflow = "hidden";
6528
+ return c.style.overflow = "hidden";
6529
6529
  }
6530
6530
  }, {
6531
6531
  immediate: !0
6532
6532
  });
6533
6533
  const a = () => {
6534
6534
  const i = Zt($(e));
6535
- !i || n.value || (mn && (o = xe(
6535
+ !i || n.value || (mn && (o = Re(
6536
6536
  i,
6537
6537
  "touchmove",
6538
- (c) => {
6539
- ku(c);
6538
+ (l) => {
6539
+ ku(l);
6540
6540
  },
6541
6541
  { passive: !1 }
6542
6542
  )), i.style.overflow = "hidden", n.value = !0);
@@ -6544,7 +6544,7 @@ function Su(e, t = !1) {
6544
6544
  const i = Zt($(e));
6545
6545
  !i || !n.value || (mn && (o == null || o()), i.style.overflow = r, Qt.delete(i), n.value = !1);
6546
6546
  };
6547
- return vt(s), L({
6547
+ return vt(s), R({
6548
6548
  get() {
6549
6549
  return n.value;
6550
6550
  },
@@ -6553,7 +6553,7 @@ function Su(e, t = !1) {
6553
6553
  }
6554
6554
  });
6555
6555
  }
6556
- function Tu() {
6556
+ function Iu() {
6557
6557
  let e = !1;
6558
6558
  const t = J(!1);
6559
6559
  return (n, o) => {
@@ -6564,8 +6564,8 @@ function Tu() {
6564
6564
  K(t, (a) => r.value = a);
6565
6565
  };
6566
6566
  }
6567
- Tu();
6568
- const Iu = {
6567
+ Iu();
6568
+ const Tu = {
6569
6569
  key: 0,
6570
6570
  id: "resizable"
6571
6571
  }, Pu = {
@@ -6578,22 +6578,22 @@ const Iu = {
6578
6578
  store: {}
6579
6579
  },
6580
6580
  setup(e) {
6581
- return (t, n) => t.columns.length ? (P(), A("thead", Iu, [
6582
- x("tr", Pu, [
6583
- t.store.zeroColumn ? (P(), A("th", {
6581
+ return (t, n) => t.columns.length ? (V(), A("thead", Tu, [
6582
+ L("tr", Pu, [
6583
+ t.store.zeroColumn ? (V(), A("th", {
6584
6584
  key: 0,
6585
6585
  id: "header-index",
6586
- class: Me([[
6586
+ class: Ue([[
6587
6587
  t.store.hasPinnedColumns ? "sticky-index" : "",
6588
6588
  t.store.config.view === "tree" ? "tree-index" : "",
6589
6589
  t.store.config.view === "list-expansion" ? "list-expansion-index" : ""
6590
6590
  ], "list-index"])
6591
6591
  }, null, 2)) : ue("", !0),
6592
- (P(!0), A(Ee, null, Pe(t.columns, (o, r) => (P(), A("th", {
6592
+ (V(!0), A(Ee, null, Pe(t.columns, (o, r) => (V(), A("th", {
6593
6593
  key: o.name,
6594
6594
  tabindex: "-1",
6595
6595
  style: ae(t.store.getHeaderCellStyle(o)),
6596
- class: Me(o.pinned ? "sticky-column" : "")
6596
+ class: Ue(o.pinned ? "sticky-column" : "")
6597
6597
  }, [
6598
6598
  ve(t.$slots, "default", {}, () => [
6599
6599
  rr(_e(o.label || String.fromCharCode(r + 97).toUpperCase()), 1)
@@ -6608,20 +6608,20 @@ const Iu = {
6608
6608
  store: {}
6609
6609
  },
6610
6610
  setup(e) {
6611
- const t = Lt("amodal"), { width: n, height: o } = gu(t), r = L(() => {
6612
- var a, s, i, c;
6611
+ const t = Lt("amodal"), { width: n, height: o } = gu(t), r = R(() => {
6612
+ var a, s, i, l;
6613
6613
  if (!(e.store.modal.height && e.store.modal.width && e.store.modal.left && e.store.modal.bottom)) return;
6614
- const l = (a = e.store.modal.cell) == null ? void 0 : a.closest("table"), u = l.offsetHeight || 0, d = l.offsetWidth || 0;
6615
- let p = ((s = e.store.modal.cell) == null ? void 0 : s.offsetTop) || 0;
6616
- const f = ((i = l.querySelector("thead")) == null ? void 0 : i.offsetHeight) || 0;
6617
- p += f, p = p + o.value < u ? p : p - (o.value + e.store.modal.height);
6618
- let m = ((c = e.store.modal.cell) == null ? void 0 : c.offsetLeft) || 0;
6619
- return m = m + n.value <= d ? m : m - (n.value - e.store.modal.width), {
6620
- left: `${m}px`,
6621
- top: `${p}px`
6614
+ const c = (a = e.store.modal.cell) == null ? void 0 : a.closest("table"), u = c.offsetHeight || 0, d = c.offsetWidth || 0;
6615
+ let f = ((s = e.store.modal.cell) == null ? void 0 : s.offsetTop) || 0;
6616
+ const m = ((i = c.querySelector("thead")) == null ? void 0 : i.offsetHeight) || 0;
6617
+ f += m, f = f + o.value < u ? f : f - (o.value + e.store.modal.height);
6618
+ let h = ((l = e.store.modal.cell) == null ? void 0 : l.offsetLeft) || 0;
6619
+ return h = h + n.value <= d ? h : h - (n.value - e.store.modal.width), {
6620
+ left: `${h}px`,
6621
+ top: `${f}px`
6622
6622
  };
6623
6623
  });
6624
- return (a, s) => (P(), A("div", {
6624
+ return (a, s) => (V(), A("div", {
6625
6625
  class: "amodal",
6626
6626
  ref: "amodal",
6627
6627
  tabindex: "-1",
@@ -6638,87 +6638,92 @@ const Iu = {
6638
6638
  const t = e.id || yu();
6639
6639
  return (/* @__PURE__ */ Bc(`table-${t}`, () => {
6640
6640
  const n = () => {
6641
- const k = {};
6641
+ const O = {};
6642
6642
  for (const [v, _] of r.value.entries())
6643
- for (const [g, S] of a.value.entries())
6644
- k[`${v}:${g}`] = S[_.name];
6645
- return k;
6646
- }, o = (k) => {
6643
+ for (const [g, I] of a.value.entries())
6644
+ O[`${v}:${g}`] = I[_.name];
6645
+ return O;
6646
+ }, o = (O) => {
6647
6647
  const v = [Object.assign({}, { rowModified: !1 })];
6648
- if (k && "0:0" in k)
6649
- return k;
6648
+ if (O && "0:0" in O)
6649
+ return O;
6650
6650
  const _ = /* @__PURE__ */ new Set();
6651
6651
  for (let g = a.value.length - 1; g >= 0; g--) {
6652
- const S = a.value[g];
6653
- S.parent && _.add(S.parent), v[g] = {
6652
+ const I = a.value[g];
6653
+ I.parent && _.add(I.parent), v[g] = {
6654
6654
  childrenOpen: !1,
6655
6655
  expanded: !1,
6656
- indent: S.indent || 0,
6656
+ indent: I.indent || 0,
6657
6657
  isParent: _.has(g),
6658
- isRoot: S.parent === null || S.parent === void 0,
6658
+ isRoot: I.parent === null || I.parent === void 0,
6659
6659
  rowModified: !1,
6660
- open: S.parent === null || S.parent === void 0,
6661
- parent: S.parent
6660
+ open: I.parent === null || I.parent === void 0,
6661
+ parent: I.parent
6662
6662
  };
6663
6663
  }
6664
6664
  return v;
6665
- }, r = C(e.columns), a = C(e.rows), s = C(e.config || {}), i = C(e.table || n()), c = C(o(e.display)), l = C(e.modal || { visible: !1 }), u = C({}), d = L(() => r.value.some((k) => k.pinned)), p = L(() => `${Math.ceil(a.value.length / 100 + 1)}ch`), f = L(
6665
+ }, r = C(e.columns), a = C(e.rows), s = C(e.config || {}), i = C(e.table || n()), l = C(o(e.display)), c = C(e.modal || { visible: !1 }), u = C({}), d = R(() => r.value.some((O) => O.pinned)), f = R(() => `${Math.ceil(a.value.length / 100 + 1)}ch`), m = R(
6666
6666
  () => s.value.view ? ["list", "tree", "list-expansion"].includes(s.value.view) : !1
6667
- ), m = (k, v) => i.value[`${k}:${v}`], E = (k, v, _) => {
6668
- const g = `${k}:${v}`, S = r.value[k];
6669
- i.value[g] !== _ && (c.value[v].rowModified = !0), i.value[g] = _, a.value[v][S.name] = _;
6670
- }, h = (k, v, _) => {
6671
- const g = `${k}:${v}`;
6672
- i.value[g] !== _ && (c.value[v].rowModified = !0, u.value[g] = _);
6673
- }, w = (k) => ({
6674
- minWidth: k.width || "40ch",
6675
- textAlign: k.align || "center",
6667
+ ), h = (O, v) => i.value[`${O}:${v}`], y = (O, v, _) => {
6668
+ const g = `${O}:${v}`, I = r.value[O];
6669
+ i.value[g] !== _ && (l.value[v].rowModified = !0), i.value[g] = _, a.value[v][I.name] = _;
6670
+ }, p = (O, v, _) => {
6671
+ const g = `${O}:${v}`;
6672
+ i.value[g] !== _ && (l.value[v].rowModified = !0, u.value[g] = _);
6673
+ }, b = (O) => ({
6674
+ minWidth: O.width || "40ch",
6675
+ textAlign: O.align || "center",
6676
6676
  width: s.value.fullWidth ? "auto" : void 0
6677
- }), T = (k) => {
6678
- const v = a.value[k];
6679
- return console.log(s.value.view, v.indent), s.value.view === "gantt" && v.indent === 0;
6680
- }, R = (k) => s.value.view !== "tree" || c.value[k].isRoot || c.value[k].open, U = (k) => s.value.view !== "tree" ? "" : c.value[k].isRoot || c.value[k].isParent ? c.value[k].childrenOpen ? "-" : "+" : "", M = (k) => {
6677
+ }), S = (O) => {
6678
+ const v = a.value[O];
6679
+ return s.value.view === "gantt" && v.indent === 0;
6680
+ }, x = (O) => s.value.view !== "tree" || l.value[O].isRoot || l.value[O].open, M = (O) => s.value.view !== "tree" ? "" : l.value[O].isRoot || l.value[O].isParent ? l.value[O].childrenOpen ? "-" : "+" : "", U = (O) => {
6681
6681
  if (s.value.view === "tree") {
6682
- c.value[k].childrenOpen = !c.value[k].childrenOpen;
6682
+ l.value[O].childrenOpen = !l.value[O].childrenOpen;
6683
6683
  for (let v = a.value.length - 1; v >= 0; v--)
6684
- c.value[v].parent === k && (c.value[v].open = !c.value[v].open, c.value[v].childrenOpen && M(v));
6685
- } else s.value.view === "list-expansion" && (c.value[k].expanded = !c.value[k].expanded);
6686
- }, re = (k, v) => {
6687
- const _ = m(k, v);
6688
- return b(k, v, _);
6689
- }, b = (k, v, _) => {
6690
- const g = r.value[k], S = a.value[v], N = g.format;
6691
- return N ? typeof N == "function" ? N(_, { table: i.value, row: S, column: g }) : typeof N == "string" ? Function(`"use strict";return (${N})`)()(_, { table: i.value, row: S, column: g }) : _ : _;
6684
+ l.value[v].parent === O && (l.value[v].open = !l.value[v].open, l.value[v].childrenOpen && U(v));
6685
+ } else s.value.view === "list-expansion" && (l.value[O].expanded = !l.value[O].expanded);
6686
+ }, re = (O, v) => {
6687
+ const _ = h(O, v);
6688
+ return w(O, v, _);
6689
+ }, w = (O, v, _) => {
6690
+ const g = r.value[O], I = a.value[v], N = g.format;
6691
+ return N ? typeof N == "function" ? N(_, { table: i.value, row: I, column: g }) : typeof N == "string" ? Function(`"use strict";return (${N})`)()(_, { table: i.value, row: I, column: g }) : _ : _;
6692
6692
  };
6693
6693
  return {
6694
6694
  // state
6695
6695
  columns: r,
6696
6696
  config: s,
6697
- display: c,
6698
- modal: l,
6697
+ display: l,
6698
+ modal: c,
6699
6699
  rows: a,
6700
6700
  table: i,
6701
6701
  updates: u,
6702
6702
  // getters
6703
6703
  hasPinnedColumns: d,
6704
- numberedRowWidth: p,
6705
- zeroColumn: f,
6704
+ numberedRowWidth: f,
6705
+ zeroColumn: m,
6706
6706
  // actions
6707
- closeModal: (k) => {
6707
+ closeModal: (O) => {
6708
6708
  var v;
6709
- k.target instanceof Node && (v = l.value.parent) != null && v.contains(k.target) || l.value.visible && (l.value.visible = !1);
6709
+ O.target instanceof Node && (v = c.value.parent) != null && v.contains(O.target) || c.value.visible && (c.value.visible = !1);
6710
6710
  },
6711
- getCellData: m,
6711
+ getCellData: h,
6712
6712
  getCellDisplayValue: re,
6713
- getFormattedValue: b,
6714
- getHeaderCellStyle: w,
6715
- getIndent: (k, v) => v && k === 0 && v > 0 ? `${v}ch` : "inherit",
6716
- getRowExpandSymbol: U,
6717
- isRowGantt: T,
6718
- isRowVisible: R,
6719
- setCellData: E,
6720
- setCellText: h,
6721
- toggleRowExpand: M
6713
+ getFormattedValue: w,
6714
+ getHeaderCellStyle: b,
6715
+ getIndent: (O, v) => v && O === 0 && v > 0 ? `${v}ch` : "inherit",
6716
+ getRowExpandSymbol: M,
6717
+ isRowGantt: S,
6718
+ isRowVisible: x,
6719
+ setCellData: y,
6720
+ setCellText: p,
6721
+ toggleRowExpand: U,
6722
+ updateGanttBar: (O) => {
6723
+ var v;
6724
+ const _ = (v = a.value[O.rowIndex]) == null ? void 0 : v.gantt;
6725
+ _ && (O.type === "resize" ? O.edge === "start" ? _.startIndex = O.value : O.edge === "end" && (_.endIndex = O.value) : O.type === "bar" && (_.startIndex = O.start, _.endIndex = O.end));
6726
+ }
6722
6727
  };
6723
6728
  }))();
6724
6729
  }, Du = /* @__PURE__ */ fe({
@@ -6730,155 +6735,170 @@ const Iu = {
6730
6735
  rows: { default: () => [] },
6731
6736
  config: { default: () => new Object() }
6732
6737
  },
6733
- emits: ["update:modelValue", "cellUpdate"],
6738
+ emits: ["update:modelValue", "cellUpdate", "gantt:drag"],
6734
6739
  setup(e, { expose: t, emit: n }) {
6735
6740
  const o = n, r = Lt("table"), a = e.modelValue ? e.modelValue : e.rows, s = Nu({ columns: e.columns, rows: a, id: e.id, config: e.config });
6736
- s.$onAction(({ name: l, store: u, args: d, after: p }) => {
6737
- if (l === "setCellData" || l === "setCellText") {
6738
- const [f, m, E] = d, h = u.getCellData(f, m);
6739
- p(() => {
6740
- o("cellUpdate", { colIndex: f, rowIndex: m, newValue: E, oldValue: h });
6741
+ s.$onAction(({ name: u, store: d, args: f, after: m }) => {
6742
+ var h;
6743
+ if (u === "setCellData" || u === "setCellText") {
6744
+ const [y, p, b] = f, S = d.getCellData(y, p);
6745
+ m(() => {
6746
+ o("cellUpdate", { colIndex: y, rowIndex: p, newValue: b, oldValue: S });
6741
6747
  });
6748
+ } else if (u === "updateGanttBar") {
6749
+ const [y] = f, p = (h = d.rows[y.rowIndex]) == null ? void 0 : h.gantt;
6750
+ if (p) {
6751
+ let b = !1;
6752
+ y.type === "resize" ? y.edge === "start" ? b = p.startIndex !== y.value : y.edge === "end" && (b = p.endIndex !== y.value) : y.type === "bar" && (b = p.startIndex !== y.start || p.endIndex !== y.end), b && m(() => {
6753
+ o("gantt:drag", y);
6754
+ });
6755
+ }
6742
6756
  }
6743
6757
  }), K(
6744
6758
  () => s.rows,
6745
- (l) => {
6746
- o("update:modelValue", l);
6759
+ (u) => {
6760
+ o("update:modelValue", u);
6747
6761
  },
6748
6762
  { deep: !0 }
6749
6763
  ), Ae(() => {
6750
- e.columns.some((l) => l.pinned) && (i(), s.config.view === "tree" && bs(r, i, { childList: !0, subtree: !0 }));
6764
+ e.columns.some((u) => u.pinned) && (l(), s.config.view === "tree" && bs(r, l, { childList: !0, subtree: !0 }));
6751
6765
  });
6752
- const i = () => {
6753
- const l = r.value, u = l == null ? void 0 : l.rows[0], d = l == null ? void 0 : l.rows[1], p = u ? Array.from(u.cells) : [];
6754
- for (const [f, m] of p.entries()) {
6755
- const E = d == null ? void 0 : d.cells[f];
6756
- E && (m.style.width = `${E.offsetWidth}px`);
6766
+ const i = R(() => s.columns.filter((u) => u.pinned).length), l = () => {
6767
+ const u = r.value, d = u == null ? void 0 : u.rows[0], f = u == null ? void 0 : u.rows[1], m = d ? Array.from(d.cells) : [];
6768
+ for (const [h, y] of m.entries()) {
6769
+ const p = f == null ? void 0 : f.cells[h];
6770
+ p && (y.style.width = `${p.offsetWidth}px`);
6757
6771
  }
6758
- for (const f of (l == null ? void 0 : l.rows) || []) {
6759
- let m = 0;
6760
- const E = [];
6761
- for (const h of f.cells)
6762
- (h.classList.contains("sticky-column") || h.classList.contains("sticky-index")) && (h.style.left = `${m}px`, m += h.offsetWidth, E.push(h));
6763
- E.length > 0 && E[E.length - 1].classList.add("sticky-column-edge");
6772
+ for (const h of (u == null ? void 0 : u.rows) || []) {
6773
+ let y = 0;
6774
+ const p = [];
6775
+ for (const b of h.cells)
6776
+ (b.classList.contains("sticky-column") || b.classList.contains("sticky-index")) && (b.style.left = `${y}px`, y += b.offsetWidth, p.push(b));
6777
+ p.length > 0 && p[p.length - 1].classList.add("sticky-column-edge");
6764
6778
  }
6765
6779
  };
6766
- window.addEventListener("keydown", (l) => {
6767
- if (l.key === "Escape" && s.modal.visible) {
6780
+ window.addEventListener("keydown", (u) => {
6781
+ if (u.key === "Escape" && s.modal.visible) {
6768
6782
  s.modal.visible = !1;
6769
- const u = s.modal.parent;
6770
- u && Ve().then(() => {
6771
- u.focus();
6783
+ const d = s.modal.parent;
6784
+ d && Ve().then(() => {
6785
+ d.focus();
6772
6786
  });
6773
6787
  }
6774
6788
  });
6775
- const c = (l) => {
6776
- const u = l.indent === 0, d = s.columns.filter((f) => f.pinned).length;
6777
- if (!u || d === 0)
6789
+ const c = (u) => {
6790
+ var d;
6791
+ if (u.indent !== 0 || i.value === 0)
6778
6792
  return s.columns;
6779
- const p = [];
6780
- for (let f = 0; f < d; f++) {
6781
- const m = { ...s.columns[f] };
6782
- m.originalIndex = f, p.push(m);
6793
+ const f = [];
6794
+ for (let m = 0; m < i.value; m++) {
6795
+ const h = { ...s.columns[m] };
6796
+ h.originalIndex = m, f.push(h);
6783
6797
  }
6784
- return p.push({
6785
- ...s.columns[d],
6798
+ return f.push({
6799
+ ...s.columns[i.value],
6786
6800
  isGantt: !0,
6787
- colspan: s.columns.length - d,
6788
- originalIndex: d,
6801
+ colspan: ((d = u.gantt) == null ? void 0 : d.colspan) || s.columns.length - i.value,
6802
+ originalIndex: i.value,
6789
6803
  width: "auto"
6790
6804
  // TODO: refactor to API that can detect when data exists in a cell. Might have be custom and not generalizable
6791
- }), p;
6805
+ }), f;
6792
6806
  };
6793
- return t({ store: s }), (l, u) => st((P(), A("table", {
6807
+ return t({ store: s }), (u, d) => st((V(), A("table", {
6794
6808
  ref: "table",
6795
6809
  class: "atable",
6796
6810
  style: ae({
6797
- width: V(s).config.fullWidth ? "100%" : "auto"
6811
+ width: P(s).config.fullWidth ? "100%" : "auto"
6798
6812
  })
6799
6813
  }, [
6800
- ve(l.$slots, "header", { data: V(s) }, () => [
6814
+ ve(u.$slots, "header", { data: P(s) }, () => [
6801
6815
  Dt(Vu, {
6802
- columns: V(s).columns,
6803
- store: V(s)
6816
+ columns: P(s).columns,
6817
+ store: P(s)
6804
6818
  }, null, 8, ["columns", "store"])
6805
6819
  ], !0),
6806
- x("tbody", null, [
6807
- ve(l.$slots, "body", { data: V(s) }, () => [
6808
- (P(!0), A(Ee, null, Pe(V(s).rows, (d, p) => (P(), Se(wu, {
6809
- key: d.id,
6810
- row: d,
6811
- rowIndex: p,
6812
- store: V(s)
6820
+ L("tbody", null, [
6821
+ ve(u.$slots, "body", { data: P(s) }, () => [
6822
+ (V(!0), A(Ee, null, Pe(P(s).rows, (f, m) => (V(), Se(wu, {
6823
+ key: f.id,
6824
+ row: f,
6825
+ rowIndex: m,
6826
+ store: P(s)
6813
6827
  }, {
6814
6828
  default: At(() => [
6815
- (P(!0), A(Ee, null, Pe(c(d), (f, m) => (P(), A(Ee, {
6816
- key: f.name
6817
- }, [
6818
- f.isGantt ? (P(), Se(bt(f.ganttComponent || "AGanttCell"), {
6819
- key: 0,
6820
- store: V(s),
6821
- color: d.gantt_color,
6822
- colspan: f.colspan,
6823
- pinned: f.pinned,
6824
- rowIndex: p,
6825
- colIndex: f.originalIndex ?? m,
6826
- style: ae({
6827
- textAlign: (f == null ? void 0 : f.align) || "center",
6828
- minWidth: (f == null ? void 0 : f.width) || "40ch",
6829
- width: V(s).config.fullWidth ? "auto" : null
6830
- })
6831
- }, null, 8, ["store", "color", "colspan", "pinned", "rowIndex", "colIndex", "style"])) : (P(), Se(bt(f.cellComponent || "ACell"), {
6832
- key: 1,
6833
- store: V(s),
6834
- pinned: f.pinned,
6835
- rowIndex: p,
6836
- colIndex: m,
6837
- style: ae({
6838
- textAlign: (f == null ? void 0 : f.align) || "center",
6839
- minWidth: (f == null ? void 0 : f.width) || "40ch",
6840
- width: V(s).config.fullWidth ? "auto" : null
6841
- }),
6842
- spellcheck: "false"
6843
- }, null, 8, ["store", "pinned", "rowIndex", "colIndex", "style"]))
6844
- ], 64))), 128))
6829
+ (V(!0), A(Ee, null, Pe(c(f), (h, y) => {
6830
+ var p, b, S;
6831
+ return V(), A(Ee, {
6832
+ key: h.name
6833
+ }, [
6834
+ h.isGantt ? (V(), Se(bt(h.ganttComponent || "AGanttCell"), {
6835
+ key: 0,
6836
+ store: P(s),
6837
+ columnsCount: P(s).columns.length - i.value,
6838
+ color: (p = f.gantt) == null ? void 0 : p.color,
6839
+ start: (b = f.gantt) == null ? void 0 : b.startIndex,
6840
+ end: (S = f.gantt) == null ? void 0 : S.endIndex,
6841
+ colspan: h.colspan,
6842
+ pinned: h.pinned,
6843
+ rowIndex: m,
6844
+ colIndex: h.originalIndex ?? y,
6845
+ style: ae({
6846
+ textAlign: (h == null ? void 0 : h.align) || "center",
6847
+ minWidth: (h == null ? void 0 : h.width) || "40ch",
6848
+ width: P(s).config.fullWidth ? "auto" : null
6849
+ })
6850
+ }, null, 8, ["store", "columnsCount", "color", "start", "end", "colspan", "pinned", "rowIndex", "colIndex", "style"])) : (V(), Se(bt(h.cellComponent || "ACell"), {
6851
+ key: 1,
6852
+ store: P(s),
6853
+ pinned: h.pinned,
6854
+ rowIndex: m,
6855
+ colIndex: y,
6856
+ style: ae({
6857
+ textAlign: (h == null ? void 0 : h.align) || "center",
6858
+ minWidth: (h == null ? void 0 : h.width) || "40ch",
6859
+ width: P(s).config.fullWidth ? "auto" : null
6860
+ }),
6861
+ spellcheck: "false"
6862
+ }, null, 8, ["store", "pinned", "rowIndex", "colIndex", "style"]))
6863
+ ], 64);
6864
+ }), 128))
6845
6865
  ]),
6846
6866
  _: 2
6847
6867
  }, 1032, ["row", "rowIndex", "store"]))), 128))
6848
6868
  ], !0)
6849
6869
  ]),
6850
- ve(l.$slots, "footer", { data: V(s) }, void 0, !0),
6851
- ve(l.$slots, "modal", { data: V(s) }, () => [
6852
- st(Dt(Cu, { store: V(s) }, {
6870
+ ve(u.$slots, "footer", { data: P(s) }, void 0, !0),
6871
+ ve(u.$slots, "modal", { data: P(s) }, () => [
6872
+ st(Dt(Cu, { store: P(s) }, {
6853
6873
  default: At(() => [
6854
- (P(), Se(bt(V(s).modal.component), tr({
6855
- key: `${V(s).modal.rowIndex}:${V(s).modal.colIndex}`,
6856
- colIndex: V(s).modal.colIndex,
6857
- rowIndex: V(s).modal.rowIndex,
6858
- store: V(s)
6859
- }, V(s).modal.componentProps), null, 16, ["colIndex", "rowIndex", "store"]))
6874
+ (V(), Se(bt(P(s).modal.component), tr({
6875
+ key: `${P(s).modal.rowIndex}:${P(s).modal.colIndex}`,
6876
+ colIndex: P(s).modal.colIndex,
6877
+ rowIndex: P(s).modal.rowIndex,
6878
+ store: P(s)
6879
+ }, P(s).modal.componentProps), null, 16, ["colIndex", "rowIndex", "store"]))
6860
6880
  ]),
6861
6881
  _: 1
6862
6882
  }, 8, ["store"]), [
6863
- [_n, V(s).modal.visible]
6883
+ [_n, P(s).modal.visible]
6864
6884
  ])
6865
6885
  ], !0)
6866
6886
  ], 4)), [
6867
- [V(Ou), V(s).closeModal]
6887
+ [P(Ou), P(s).closeModal]
6868
6888
  ]);
6869
6889
  }
6870
- }), Au = /* @__PURE__ */ ws(Du, [["__scopeId", "data-v-8ce56718"]]), Ru = /* @__PURE__ */ fe({
6890
+ }), Au = /* @__PURE__ */ ws(Du, [["__scopeId", "data-v-40408c70"]]), xu = /* @__PURE__ */ fe({
6871
6891
  __name: "Records",
6872
6892
  setup(e) {
6873
6893
  const { stonecrop: t, isReady: n } = ts(), o = { view: "list" };
6874
- return (r, a) => V(n) ? (P(), Se(V(Au), {
6894
+ return (r, a) => P(n) ? (V(), Se(P(Au), {
6875
6895
  key: 0,
6876
- columns: V(t).schema.schema.toArray(),
6877
- rows: V(t).store.records,
6896
+ columns: P(t).schema.schema.toArray(),
6897
+ rows: P(t).store.records,
6878
6898
  config: o
6879
6899
  }, null, 8, ["columns", "rows"])) : ue("", !0);
6880
6900
  }
6881
- }), $u = { class: "tabs" }, xu = { tabindex: "0" }, Lu = {
6901
+ }), $u = { class: "tabs" }, Ru = { tabindex: "0" }, Lu = {
6882
6902
  version: "1.1",
6883
6903
  id: "Capa_1",
6884
6904
  xmlns: "http://www.w3.org/2000/svg",
@@ -6888,53 +6908,53 @@ const Iu = {
6888
6908
  viewBox: "0 0 424.098 424.098",
6889
6909
  style: { "enable-background": "new 0 0 424.098 424.098" },
6890
6910
  "xml:space": "preserve"
6891
- }, ju = { tabindex: "0" }, Mu = { style: { width: "11pt" } }, Uu = /* @__PURE__ */ fe({
6911
+ }, ju = { tabindex: "0" }, Uu = { style: { width: "11pt" } }, Mu = /* @__PURE__ */ fe({
6892
6912
  __name: "SheetNav",
6893
6913
  props: {
6894
6914
  breadcrumbs: { default: () => [] }
6895
6915
  },
6896
6916
  setup(e) {
6897
- const t = C(!0), n = C(!1), o = C(""), r = Lt("searchinput"), a = L(() => t.value ? "unrotated" : "rotated"), s = () => {
6917
+ const t = C(!0), n = C(!1), o = C(""), r = Lt("searchinput"), a = R(() => t.value ? "unrotated" : "rotated"), s = () => {
6898
6918
  t.value = !t.value;
6899
6919
  }, i = async () => {
6900
6920
  n.value = !n.value, await Ve(() => {
6901
6921
  r.value.focus();
6902
6922
  });
6903
- }, c = (d) => {
6923
+ }, l = (d) => {
6904
6924
  d.preventDefault(), d.stopPropagation();
6905
- }, l = async (d) => {
6925
+ }, c = async (d) => {
6906
6926
  d.preventDefault(), d.stopPropagation(), await i();
6907
6927
  }, u = () => {
6908
6928
  };
6909
- return (d, p) => {
6910
- const f = Is("router-link");
6911
- return P(), A("footer", null, [
6912
- x("ul", $u, [
6913
- x("li", {
6929
+ return (d, f) => {
6930
+ const m = Ts("router-link");
6931
+ return V(), A("footer", null, [
6932
+ L("ul", $u, [
6933
+ L("li", {
6914
6934
  class: "hidebreadcrumbs",
6915
6935
  onClick: s,
6916
6936
  onKeydown: gt(s, ["enter"])
6917
6937
  }, [
6918
- x("a", xu, [
6919
- x("div", {
6920
- class: Me(a.value)
6938
+ L("a", Ru, [
6939
+ L("div", {
6940
+ class: Ue(a.value)
6921
6941
  }, "×", 2)
6922
6942
  ])
6923
6943
  ], 32),
6924
- x("li", {
6944
+ L("li", {
6925
6945
  class: "hometab",
6926
6946
  onClick: u,
6927
6947
  onKeydown: gt(u, ["enter"]),
6928
6948
  style: ae({ display: t.value ? "block" : "none" })
6929
6949
  }, [
6930
- Dt(f, {
6950
+ Dt(m, {
6931
6951
  to: "/home",
6932
6952
  tabindex: "0"
6933
6953
  }, {
6934
6954
  default: At(() => [
6935
- (P(), A("svg", Lu, p[5] || (p[5] = [
6936
- x("g", null, [
6937
- x("path", {
6955
+ (V(), A("svg", Lu, f[5] || (f[5] = [
6956
+ L("g", null, [
6957
+ L("path", {
6938
6958
  style: { fill: "#010002" },
6939
6959
  d: `M351.191,401.923H72.901c-4.487,0-8.129-3.633-8.129-8.129V242.262l-56.664-0.114
6940
6960
  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
@@ -6952,19 +6972,19 @@ const Iu = {
6952
6972
  _: 1
6953
6973
  })
6954
6974
  ], 36),
6955
- x("li", {
6975
+ L("li", {
6956
6976
  class: "searchtab",
6957
6977
  onClick: i,
6958
6978
  onKeydown: gt(i, ["enter"]),
6959
6979
  style: ae({ display: t.value ? "block" : "none" })
6960
6980
  }, [
6961
- x("a", ju, [
6962
- x("span", {
6981
+ L("a", ju, [
6982
+ L("span", {
6963
6983
  style: ae({ display: n.value ? "none" : "block" })
6964
6984
  }, [
6965
- (P(), A("svg", Mu, p[6] || (p[6] = [
6966
- x("g", { transform: "matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)" }, [
6967
- x("path", {
6985
+ (V(), A("svg", Uu, f[6] || (f[6] = [
6986
+ L("g", { transform: "matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)" }, [
6987
+ L("path", {
6968
6988
  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",
6969
6989
  style: { fill: "#000000", "fill-opacity": "1", "fill-rule": "nonzero", stroke: "none" },
6970
6990
  id: "path2"
@@ -6972,30 +6992,30 @@ const Iu = {
6972
6992
  ], -1)
6973
6993
  ])))
6974
6994
  ], 4),
6975
- st(x("input", {
6976
- "onUpdate:modelValue": p[0] || (p[0] = (m) => o.value = m),
6995
+ st(L("input", {
6996
+ "onUpdate:modelValue": f[0] || (f[0] = (h) => o.value = h),
6977
6997
  ref: "searchinput",
6978
6998
  style: ae({ display: n.value ? "block" : "none" }),
6979
- onClick: p[1] || (p[1] = (m) => c(m)),
6980
- onInput: p[2] || (p[2] = (m) => c(m)),
6981
- onBlur: p[3] || (p[3] = (m) => l(m)),
6982
- onKeydown: p[4] || (p[4] = gt((m) => l(m), ["enter"])),
6999
+ onClick: f[1] || (f[1] = (h) => l(h)),
7000
+ onInput: f[2] || (f[2] = (h) => l(h)),
7001
+ onBlur: f[3] || (f[3] = (h) => c(h)),
7002
+ onKeydown: f[4] || (f[4] = gt((h) => c(h), ["enter"])),
6983
7003
  type: "text"
6984
7004
  }, null, 36), [
6985
7005
  [Ps, o.value]
6986
7006
  ])
6987
7007
  ])
6988
7008
  ], 36),
6989
- (P(!0), A(Ee, null, Pe(d.breadcrumbs, (m) => (P(), A("li", {
6990
- key: m.title,
7009
+ (V(!0), A(Ee, null, Pe(d.breadcrumbs, (h) => (V(), A("li", {
7010
+ key: h.title,
6991
7011
  style: ae({ display: t.value ? "block" : "none" })
6992
7012
  }, [
6993
- Dt(f, {
7013
+ Dt(m, {
6994
7014
  tabindex: "0",
6995
- to: m.to
7015
+ to: h.to
6996
7016
  }, {
6997
7017
  default: At(() => [
6998
- rr(_e(m.title), 1)
7018
+ rr(_e(h.title), 1)
6999
7019
  ]),
7000
7020
  _: 2
7001
7021
  }, 1032, ["to"])
@@ -7004,16 +7024,16 @@ const Iu = {
7004
7024
  ]);
7005
7025
  };
7006
7026
  }
7007
- }), Hu = /* @__PURE__ */ yn(Uu, [["__scopeId", "data-v-a650f215"]]), Bu = {
7027
+ }), Hu = /* @__PURE__ */ yn(Mu, [["__scopeId", "data-v-a650f215"]]), Bu = {
7008
7028
  install: (e) => {
7009
- e.component("ActionSet", Ms), e.component("CommandPalette", zs), e.component("Doctype", jc), e.component("Records", Ru), e.component("SheetNav", Hu);
7029
+ e.component("ActionSet", Us), e.component("CommandPalette", zs), e.component("Doctype", jc), e.component("Records", xu), e.component("SheetNav", Hu);
7010
7030
  }
7011
7031
  };
7012
7032
  export {
7013
- Ms as ActionSet,
7033
+ Us as ActionSet,
7014
7034
  zs as CommandPalette,
7015
7035
  jc as Doctype,
7016
- Ru as Records,
7036
+ xu as Records,
7017
7037
  Hu as SheetNav,
7018
7038
  Bu as StonecropDesktop
7019
7039
  };