@opengis/table 0.0.29 → 0.0.30

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/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import * as hr from "vue";
2
- import { getCurrentInstance as mn, defineComponent as ae, useAttrs as gn, ref as M, computed as q, onUnmounted as us, onMounted as Ge, watch as De, onBeforeUnmount as vn, createElementBlock as E, openBlock as v, Fragment as ne, createElementVNode as d, createBlock as $e, normalizeClass as L, unref as X, createStaticVNode as ds, Teleport as yn, createCommentVNode as te, normalizeStyle as Pt, toDisplayString as D, withDirectives as ke, vModelText as St, withModifiers as ot, renderList as Se, createTextVNode as be, nextTick as bn, renderSlot as Ie, withKeys as Kt, vModelSelect as mr, useSlots as xn, provide as gr, withCtx as vr, resolveDynamicComponent as bt, createVNode as yr, inject as br, vShow as En, vModelCheckbox as xr, vModelRadio as Wt } from "vue";
3
- const Bs = {
1
+ import * as mr from "vue";
2
+ import { getCurrentInstance as gn, defineComponent as ae, useAttrs as vn, ref as M, computed as q, onUnmounted as us, onMounted as Ge, watch as De, onBeforeUnmount as yn, createElementBlock as k, openBlock as v, Fragment as ne, createElementVNode as d, createBlock as Ve, normalizeClass as L, unref as X, createStaticVNode as ds, Teleport as bn, createCommentVNode as Z, normalizeStyle as Ft, toDisplayString as D, withDirectives as Ee, vModelText as _t, withModifiers as ot, renderList as Se, createTextVNode as be, nextTick as xn, renderSlot as Ie, withKeys as Kt, vModelSelect as gr, useSlots as kn, provide as vr, withCtx as yr, resolveDynamicComponent as xt, createVNode as br, inject as xr, vShow as En, vModelCheckbox as kr, vModelRadio as Wt } from "vue";
3
+ const js = {
4
4
  en: {
5
5
  choose: "Оберіть колонки для відображення",
6
6
  columns: "Колонки",
@@ -44,20 +44,20 @@ const Bs = {
44
44
  };
45
45
  function Er(e) {
46
46
  const t = e.split(".")[1];
47
- return (Bs[localStorage.language || navigator.language] || Bs.uk)[t];
47
+ return (js[localStorage.language || navigator.language] || js.uk)[t];
48
48
  }
49
49
  function fs() {
50
- const e = mn();
50
+ const e = gn();
51
51
  return e.appContext.config.globalProperties.$i18n ? e.appContext.config.globalProperties.$t : Er;
52
52
  }
53
- const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-2 text-sm font-medium text-gray-800" }, wr = { class: "relative p-1 border-gray-200 border-y dark:border-neutral-800" }, Sr = ["placeholder"], Nr = { class: "p-1 pt-3 max-h-80 overflow-y-auto" }, _r = { class: "block px-3 mb-2 text-xs text-gray-500 dark:text-neutral-500" }, Cr = ["onClick"], Tr = { class: "flex justify-between flex-1 items-center gap-x-2.5 cursor-pointer text-[13px] text-gray-800 dark:text-neutral-300 pointer-events-none" }, Or = ["value"], Ir = /* @__PURE__ */ ae({
53
+ const wr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-2 text-sm font-medium text-gray-800" }, Sr = { class: "relative p-1 border-gray-200 border-y dark:border-neutral-800" }, _r = ["placeholder"], Nr = { class: "p-1 pt-3 max-h-80 overflow-y-auto" }, Cr = { class: "block px-3 mb-2 text-xs text-gray-500 dark:text-neutral-500" }, Tr = ["onClick"], Or = { class: "flex justify-between flex-1 items-center gap-x-2.5 cursor-pointer text-[13px] text-gray-800 dark:text-neutral-300 pointer-events-none" }, Ir = ["value"], Dr = /* @__PURE__ */ ae({
54
54
  __name: "ColumnsSettings",
55
55
  props: {
56
56
  columns: {}
57
57
  },
58
58
  emits: ["update:columns"],
59
59
  setup(e, { emit: t }) {
60
- const s = fs(), n = e, r = t, i = gn(), o = M(!1), a = M(""), l = M(n.columns), c = M(null), m = M(null), u = M(null), f = M({ top: 0, left: 0 }), h = q(() => a.value ? l.value.filter((w) => w.ua.toLowerCase().includes(a.value.toLowerCase())) : l.value), x = M("uk"), y = (w) => {
60
+ const s = fs(), n = e, r = t, i = vn(), o = M(!1), a = M(""), l = M(n.columns), c = M(null), m = M(null), u = M(null), f = M({ top: 0, left: 0 }), h = q(() => a.value ? l.value.filter((w) => w.ua.toLowerCase().includes(a.value.toLowerCase())) : l.value), x = M("uk"), y = (w) => {
61
61
  w.detail.key === "locale" && (x.value = w.detail.newValue);
62
62
  };
63
63
  us(() => {
@@ -72,8 +72,8 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
72
72
  function O(w) {
73
73
  Object.assign(w, { hidden: !w.hidden });
74
74
  }
75
- function N() {
76
- o.value = !o.value, bn(() => {
75
+ function _() {
76
+ o.value = !o.value, xn(() => {
77
77
  if (o.value && (u.value?.focus(), c.value && m.value)) {
78
78
  const w = c.value.getBoundingClientRect();
79
79
  f.value = {
@@ -88,60 +88,60 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
88
88
  }
89
89
  return Ge(() => {
90
90
  document.addEventListener("click", R, !0);
91
- }), vn(() => {
91
+ }), yn(() => {
92
92
  document.removeEventListener("click", R, !0);
93
- }), (w, k) => (v(), E(ne, null, [
93
+ }), (w, E) => (v(), k(ne, null, [
94
94
  d("button", {
95
- onClick: N,
95
+ onClick: _,
96
96
  ref_key: "buttonRef",
97
97
  ref: c,
98
98
  class: L([[X(i).class], "py-2 max-h-[34px] px-2.5 md:inline-flex hidden items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"])
99
- }, k[2] || (k[2] = [
99
+ }, E[2] || (E[2] = [
100
100
  ds('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-columns" height="20" width="16"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l5.5 0"></path><path d="M4 10l5.5 0"></path><path d="M4 14l5.5 0"></path><path d="M4 18l5.5 0"></path><path d="M14.5 6l5.5 0"></path><path d="M14.5 10l5.5 0"></path><path d="M14.5 14l5.5 0"></path><path d="M14.5 18l5.5 0"></path></svg>', 1)
101
101
  ]), 2),
102
- (v(), $e(yn, { to: "body" }, [
103
- o.value ? (v(), E("div", {
102
+ (v(), Ve(bn, { to: "body" }, [
103
+ o.value ? (v(), k("div", {
104
104
  key: 0,
105
105
  ref_key: "modalRef",
106
106
  ref: m,
107
107
  class: "fixed z-10 w-64 transition-[opacity,margin] duration bg-white rounded-xl shadow-lg dark:bg-neutral-900",
108
- style: Pt([{ position: "fixed" }, { top: `${f.value.top}px`, left: `${f.value.left}px` }])
108
+ style: Ft([{ position: "fixed" }, { top: `${f.value.top}px`, left: `${f.value.left}px` }])
109
109
  }, [
110
- d("div", kr, D(X(s)("table.columns")), 1),
111
- d("div", wr, [
112
- ke(d("input", {
110
+ d("div", wr, D(X(s)("table.columns")), 1),
111
+ d("div", Sr, [
112
+ Ee(d("input", {
113
113
  type: "text",
114
114
  ref_key: "searchInput",
115
115
  ref: u,
116
- "onUpdate:modelValue": k[0] || (k[0] = (C) => a.value = C),
116
+ "onUpdate:modelValue": E[0] || (E[0] = (C) => a.value = C),
117
117
  class: "py-1.5 px-3 w-full rounded-xs sm:text-sm text-base placeholder:text-gray-500 hover:bg-gray-100 hover:border-blue-100 text-gray-800 focus:outline-none focus:bg-gray-100",
118
118
  placeholder: X(s)("table.search")
119
- }, null, 8, Sr), [
120
- [St, a.value]
119
+ }, null, 8, _r), [
120
+ [_t, a.value]
121
121
  ])
122
122
  ]),
123
123
  d("div", Nr, [
124
- d("span", _r, D(X(s)("table.choose")), 1),
124
+ d("span", Cr, D(X(s)("table.choose")), 1),
125
125
  d("div", {
126
126
  class: "space-y-1",
127
- onClick: k[1] || (k[1] = ot(() => {
127
+ onClick: E[1] || (E[1] = ot(() => {
128
128
  }, ["stop"]))
129
129
  }, [
130
- (v(!0), E(ne, null, Se(h.value, (C) => (v(), E("div", {
130
+ (v(!0), k(ne, null, Se(h.value, (C) => (v(), k("div", {
131
131
  key: C.name,
132
132
  class: "flex justify-between items-center py-1.5 px-3 cursor-pointer rounded-lg hover:bg-gray-100 has-[:disabled]:opacity-50 has-[:disabled]:pointer-events-none dark:hover:bg-neutral-800",
133
133
  onClick: (T) => O(C)
134
134
  }, [
135
- d("label", Tr, [
135
+ d("label", Or, [
136
136
  be(D(C[x.value] || C.ua || C.label) + " ", 1),
137
137
  d("input", {
138
138
  type: "checkbox",
139
139
  class: "hidden",
140
140
  value: C.hidden
141
- }, null, 8, Or),
141
+ }, null, 8, Ir),
142
142
  d("span", {
143
143
  class: L(["flex items-center justify-center text-white border border-gray-300 rounded shrink-0 size-4 focus:ring-blue-500 pointer-events-none", C.hidden ? "bg-white" : "bg-blue-600 border-0"])
144
- }, k[3] || (k[3] = [
144
+ }, E[3] || (E[3] = [
145
145
  d("svg", {
146
146
  xmlns: "http://www.w3.org/2000/svg",
147
147
  width: "12",
@@ -157,14 +157,14 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
157
157
  ], -1)
158
158
  ]), 2)
159
159
  ])
160
- ], 8, Cr))), 128))
160
+ ], 8, Tr))), 128))
161
161
  ])
162
162
  ])
163
- ], 4)) : te("", !0)
163
+ ], 4)) : Z("", !0)
164
164
  ]))
165
165
  ], 64));
166
166
  }
167
- }), Dr = /* @__PURE__ */ ae({
167
+ }), Ar = /* @__PURE__ */ ae({
168
168
  name: "NumberFormat",
169
169
  __name: "NumberFormat",
170
170
  props: {
@@ -176,9 +176,9 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
176
176
  const t = e, s = q(() => t.value === null || t.value === void 0 ? "" : typeof t.value == "number" ? t.value.toFixed(2) : Intl.NumberFormat("uk-UA", {
177
177
  maximumFractionDigits: 2
178
178
  }).format(Number(t.value)));
179
- return (n, r) => (v(), E("span", null, D(s.value || "-"), 1));
179
+ return (n, r) => (v(), k("span", null, D(s.value || "-"), 1));
180
180
  }
181
- }), Ar = /* @__PURE__ */ ae({
181
+ }), $r = /* @__PURE__ */ ae({
182
182
  name: "DateFormat",
183
183
  __name: "DateFormat",
184
184
  props: {
@@ -195,7 +195,7 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
195
195
  return t.value;
196
196
  }
197
197
  });
198
- return (n, r) => (v(), E("span", null, D(s.value || "-"), 1));
198
+ return (n, r) => (v(), k("span", null, D(s.value || "-"), 1));
199
199
  }
200
200
  }), Vr = /* @__PURE__ */ ae({
201
201
  name: "TextFormat",
@@ -207,9 +207,9 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
207
207
  },
208
208
  setup(e) {
209
209
  const t = e, { value: s } = t, n = q(() => Array.isArray(s) ? s.map((r) => r.text || r).join(",") : s?.text || s);
210
- return (r, i) => (v(), E("span", null, D(n.value || "-"), 1));
210
+ return (r, i) => (v(), k("span", null, D(n.value || "-"), 1));
211
211
  }
212
- }), $r = /* @__PURE__ */ ae({
212
+ }), Rr = /* @__PURE__ */ ae({
213
213
  name: "BadgeFormat",
214
214
  __name: "BadgeFormat",
215
215
  props: {
@@ -238,17 +238,17 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
238
238
  color: n(t.value.color, 0.8)
239
239
  } : i;
240
240
  });
241
- return (i, o) => (v(), E("span", {
241
+ return (i, o) => (v(), k("span", {
242
242
  class: L(["badge", s.value]),
243
- style: Pt(r.value)
243
+ style: Ft(r.value)
244
244
  }, D(i.value?.text || i.value || "-"), 7));
245
245
  }
246
- }), Rr = (e, t) => {
246
+ }), Mr = (e, t) => {
247
247
  const s = e.__vccOpts || e;
248
248
  for (const [n, r] of t)
249
249
  s[n] = r;
250
250
  return s;
251
- }, Mr = /* @__PURE__ */ Rr($r, [["__scopeId", "data-v-f4b15092"]]), Lr = { class: "flex flex-wrap gap-1" }, Pr = /* @__PURE__ */ ae({
251
+ }, Lr = /* @__PURE__ */ Mr(Rr, [["__scopeId", "data-v-f4b15092"]]), Pr = { class: "flex flex-wrap gap-1" }, Fr = /* @__PURE__ */ ae({
252
252
  name: "ArrayFormat",
253
253
  __name: "ArrayFormat",
254
254
  props: {
@@ -258,14 +258,14 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
258
258
  },
259
259
  setup(e) {
260
260
  const t = e, s = q(() => t.value ? Array.isArray(t.value) ? t.value : [t.value] : []), n = (r) => r ? typeof r == "object" && r.name ? r.name : typeof r == "string" || typeof r == "number" ? String(r) : JSON.stringify(r) : "";
261
- return (r, i) => (v(), E("div", Lr, [
262
- (v(!0), E(ne, null, Se(s.value, (o, a) => (v(), E("span", {
261
+ return (r, i) => (v(), k("div", Pr, [
262
+ (v(!0), k(ne, null, Se(s.value, (o, a) => (v(), k("span", {
263
263
  key: a,
264
264
  class: "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800 hover:bg-blue-200 transition-colors"
265
265
  }, D(n(o)), 1))), 128))
266
266
  ]));
267
267
  }
268
- }), Fr = /* @__PURE__ */ ae({
268
+ }), Br = /* @__PURE__ */ ae({
269
269
  name: "TextFormat",
270
270
  __name: "SelectFormat",
271
271
  props: {
@@ -275,14 +275,14 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
275
275
  },
276
276
  setup(e) {
277
277
  const t = e, { value: s } = t, n = q(() => Array.isArray(s) ? s.map((r) => r.text || r).filter((r, i) => i < 2).join(", ") + (s.length > 2 ? ` +${s.length - 2}` : "") : s?.text || s);
278
- return (r, i) => (v(), E("span", null, D(n.value || "-"), 1));
278
+ return (r, i) => (v(), k("span", null, D(n.value || "-"), 1));
279
279
  }
280
- }), Br = {
280
+ }), jr = {
281
281
  key: 0,
282
282
  "data-state": "checked",
283
283
  "data-slot": "checkbox-indicator",
284
284
  class: "pointer-none peer size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] h-4 w-4 flex items-center justify-center border-gray-400 focus:ring-blue-500 hover:bg-{c}/90 text-gray-400"
285
- }, jr = /* @__PURE__ */ ae({
285
+ }, Ur = /* @__PURE__ */ ae({
286
286
  name: "BooleanFormat",
287
287
  __name: "BooleanFormat",
288
288
  props: {
@@ -297,8 +297,8 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
297
297
  // text: resolveColorClass('text-cyan-500'),
298
298
  // hover: resolveColorClass('hover:text-border-cyan-500'),
299
299
  // bg: resolveColorClass('bg-border-cyan-500 hover:bg-border-cyan-500/90'),
300
- })), (t, s) => (v(), E(ne, null, [
301
- t.value ? (v(), E("span", Br, s[0] || (s[0] = [
300
+ })), (t, s) => (v(), k(ne, null, [
301
+ t.value ? (v(), k("span", jr, s[0] || (s[0] = [
302
302
  d("svg", {
303
303
  xmlns: "http://www.w3.org/2000/svg",
304
304
  width: "24",
@@ -313,19 +313,19 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
313
313
  }, [
314
314
  d("path", { d: "M20 6 9 17l-5-5" })
315
315
  ], -1)
316
- ]))) : te("", !0),
316
+ ]))) : Z("", !0),
317
317
  s[1] || (s[1] = d("span", null, null, -1))
318
318
  ], 64));
319
319
  }
320
- }), js = {
321
- number: Dr,
322
- date: Ar,
320
+ }), Us = {
321
+ number: Ar,
322
+ date: $r,
323
323
  text: Vr,
324
- badge: Mr,
325
- array: Pr,
326
- select: Fr,
327
- boolean: jr
328
- }, Ur = { class: "flex items-center space-x-4" }, Hr = { class: "font-medium" }, zr = { class: "font-medium" }, qr = { class: "font-medium" }, Kr = { class: "flex items-center space-x-2" }, Wr = ["disabled"], Gr = { class: "flex items-center space-x-1" }, Jr = ["onClick"], Yr = ["disabled"], kn = /* @__PURE__ */ ae({
324
+ badge: Lr,
325
+ array: Fr,
326
+ select: Br,
327
+ boolean: Ur
328
+ }, Hr = { class: "flex items-center space-x-4" }, zr = { class: "font-medium" }, qr = { class: "font-medium" }, Kr = { class: "font-medium" }, Wr = { class: "flex items-center space-x-2" }, Gr = ["disabled"], Jr = { class: "flex items-center space-x-1" }, Yr = ["onClick"], Xr = ["disabled"], wn = /* @__PURE__ */ ae({
329
329
  name: "Pagination",
330
330
  __name: "Pagination",
331
331
  props: {
@@ -393,25 +393,25 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
393
393
  }), m = (u) => {
394
394
  u >= 1 && u <= o.value && u !== s.page && i("update:page", u);
395
395
  };
396
- return (u, f) => (v(), E("div", {
396
+ return (u, f) => (v(), k("div", {
397
397
  class: L(["flex items-center justify-between py-3 border-t", r.value.container])
398
398
  }, [
399
- d("div", Ur, [
399
+ d("div", Hr, [
400
400
  d("div", {
401
401
  class: L(["flex items-center text-sm", r.value.text, n.value.text])
402
402
  }, [
403
403
  d("span", null, [
404
404
  f[2] || (f[2] = be(" Показано ", -1)),
405
- d("span", Hr, D(a.value), 1),
405
+ d("span", zr, D(a.value), 1),
406
406
  f[3] || (f[3] = be(" до ", -1)),
407
- d("span", zr, D(l.value), 1),
407
+ d("span", qr, D(l.value), 1),
408
408
  f[4] || (f[4] = be(" з ", -1)),
409
- d("span", qr, D(u.total), 1),
409
+ d("span", Kr, D(u.total), 1),
410
410
  f[5] || (f[5] = be(" результатів ", -1))
411
411
  ])
412
412
  ], 2)
413
413
  ]),
414
- d("div", Kr, [
414
+ d("div", Wr, [
415
415
  d("button", {
416
416
  onClick: f[0] || (f[0] = (h) => m(u.page - 1)),
417
417
  disabled: u.page <= 1,
@@ -421,7 +421,7 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
421
421
  u.page <= 1 ? r.value.buttonDisabled : r.value.button
422
422
  ])
423
423
  }, [
424
- (v(), E("svg", {
424
+ (v(), k("svg", {
425
425
  class: L(n.value.icon),
426
426
  fill: "none",
427
427
  stroke: "currentColor",
@@ -434,13 +434,13 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
434
434
  d: "M15 19l-7-7 7-7"
435
435
  }, null, -1)
436
436
  ]), 2))
437
- ], 10, Wr),
438
- d("div", Gr, [
439
- (v(!0), E(ne, null, Se(c.value, (h) => (v(), E(ne, { key: h }, [
440
- h === "..." ? (v(), E("span", {
437
+ ], 10, Gr),
438
+ d("div", Jr, [
439
+ (v(!0), k(ne, null, Se(c.value, (h) => (v(), k(ne, { key: h }, [
440
+ h === "..." ? (v(), k("span", {
441
441
  key: 0,
442
442
  class: L(["font-medium", n.value.button, r.value.ellipsis])
443
- }, " ... ", 2)) : (v(), E("button", {
443
+ }, " ... ", 2)) : (v(), k("button", {
444
444
  key: 1,
445
445
  onClick: (x) => m(h),
446
446
  class: L([
@@ -448,7 +448,7 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
448
448
  n.value.button,
449
449
  h === u.page ? r.value.buttonActive : r.value.button
450
450
  ])
451
- }, D(h), 11, Jr))
451
+ }, D(h), 11, Yr))
452
452
  ], 64))), 128))
453
453
  ]),
454
454
  d("button", {
@@ -460,7 +460,7 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
460
460
  u.page >= o.value ? r.value.buttonDisabled : r.value.button
461
461
  ])
462
462
  }, [
463
- (v(), E("svg", {
463
+ (v(), k("svg", {
464
464
  class: L(n.value.icon),
465
465
  fill: "none",
466
466
  stroke: "currentColor",
@@ -473,7 +473,7 @@ const kr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
473
473
  d: "M9 5l7 7-7 7"
474
474
  }, null, -1)
475
475
  ]), 2))
476
- ], 10, Yr)
476
+ ], 10, Xr)
477
477
  ])
478
478
  ], 2));
479
479
  }
@@ -490,21 +490,21 @@ function Te(e) {
490
490
  for (const s of e.split(",")) t[s] = 1;
491
491
  return (s) => s in t;
492
492
  }
493
- const Xr = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
493
+ const Qr = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
494
494
  process.env.NODE_ENV !== "production" && Object.freeze([]);
495
495
  const Gt = () => {
496
- }, xt = () => !1, Zt = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
497
- (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Le = Object.assign, Ce = Array.isArray, re = (e) => typeof e == "string", ps = (e) => typeof e == "symbol", Qr = (e) => e !== null && typeof e == "object", Us = /* @__PURE__ */ Te(
496
+ }, kt = () => !1, Zt = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
497
+ (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Le = Object.assign, Ce = Array.isArray, re = (e) => typeof e == "string", ps = (e) => typeof e == "symbol", Zr = (e) => e !== null && typeof e == "object", Hs = /* @__PURE__ */ Te(
498
498
  // the leading comma is intentional so empty string "" is also included
499
499
  ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
500
- ), Zr = /* @__PURE__ */ Te(
500
+ ), ei = /* @__PURE__ */ Te(
501
501
  "bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
502
502
  ), hs = (e) => {
503
503
  const t = /* @__PURE__ */ Object.create(null);
504
504
  return (s) => t[s] || (t[s] = e(s));
505
- }, ei = /-(\w)/g, Pe = hs(
506
- (e) => e.replace(ei, (t, s) => s ? s.toUpperCase() : "")
507
- ), ms = hs((e) => e.charAt(0).toUpperCase() + e.slice(1)), ti = hs(
505
+ }, ti = /-(\w)/g, Pe = hs(
506
+ (e) => e.replace(ti, (t, s) => s ? s.toUpperCase() : "")
507
+ ), ms = hs((e) => e.charAt(0).toUpperCase() + e.slice(1)), si = hs(
508
508
  (e) => e ? `on${ms(e)}` : ""
509
509
  ), at = {
510
510
  1: "TEXT",
@@ -521,29 +521,29 @@ const Gt = () => {
521
521
  2048: "DEV_ROOT_FRAGMENT",
522
522
  [-1]: "CACHED",
523
523
  [-2]: "BAIL"
524
- }, si = {
524
+ }, ni = {
525
525
  1: "STABLE",
526
526
  2: "DYNAMIC",
527
527
  3: "FORWARDED"
528
- }, ni = /;(?![^(]*\))/g, ri = /:([^]+)/, ii = /\/\*[^]*?\*\//g;
529
- function oi(e) {
528
+ }, ri = /;(?![^(]*\))/g, ii = /:([^]+)/, oi = /\/\*[^]*?\*\//g;
529
+ function ai(e) {
530
530
  const t = {};
531
- return e.replace(ii, "").split(ni).forEach((s) => {
531
+ return e.replace(oi, "").split(ri).forEach((s) => {
532
532
  if (s) {
533
- const n = s.split(ri);
533
+ const n = s.split(ii);
534
534
  n.length > 1 && (t[n[0].trim()] = n[1].trim());
535
535
  }
536
536
  }), t;
537
537
  }
538
- const ai = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", li = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view", ci = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics", ui = "area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr", di = /* @__PURE__ */ Te(ai), fi = /* @__PURE__ */ Te(li), pi = /* @__PURE__ */ Te(ci), hi = /* @__PURE__ */ Te(ui);
538
+ const li = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", ci = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view", ui = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics", di = "area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr", fi = /* @__PURE__ */ Te(li), pi = /* @__PURE__ */ Te(ci), hi = /* @__PURE__ */ Te(ui), mi = /* @__PURE__ */ Te(di);
539
539
  /**
540
540
  * @vue/compiler-core v3.5.18
541
541
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
542
542
  * @license MIT
543
543
  **/
544
- const ct = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), lt = Symbol(process.env.NODE_ENV !== "production" ? "Teleport" : ""), gs = Symbol(process.env.NODE_ENV !== "production" ? "Suspense" : ""), Ot = Symbol(process.env.NODE_ENV !== "production" ? "KeepAlive" : ""), wn = Symbol(
544
+ const ct = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), lt = Symbol(process.env.NODE_ENV !== "production" ? "Teleport" : ""), gs = Symbol(process.env.NODE_ENV !== "production" ? "Suspense" : ""), It = Symbol(process.env.NODE_ENV !== "production" ? "KeepAlive" : ""), Sn = Symbol(
545
545
  process.env.NODE_ENV !== "production" ? "BaseTransition" : ""
546
- ), Je = Symbol(process.env.NODE_ENV !== "production" ? "openBlock" : ""), Sn = Symbol(process.env.NODE_ENV !== "production" ? "createBlock" : ""), Nn = Symbol(
546
+ ), Je = Symbol(process.env.NODE_ENV !== "production" ? "openBlock" : ""), _n = Symbol(process.env.NODE_ENV !== "production" ? "createBlock" : ""), Nn = Symbol(
547
547
  process.env.NODE_ENV !== "production" ? "createElementBlock" : ""
548
548
  ), vs = Symbol(process.env.NODE_ENV !== "production" ? "createVNode" : ""), ys = Symbol(
549
549
  process.env.NODE_ENV !== "production" ? "createElementVNode" : ""
@@ -551,21 +551,21 @@ const ct = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), lt =
551
551
  process.env.NODE_ENV !== "production" ? "createCommentVNode" : ""
552
552
  ), bs = Symbol(
553
553
  process.env.NODE_ENV !== "production" ? "createTextVNode" : ""
554
- ), _n = Symbol(
554
+ ), Cn = Symbol(
555
555
  process.env.NODE_ENV !== "production" ? "createStaticVNode" : ""
556
556
  ), xs = Symbol(
557
557
  process.env.NODE_ENV !== "production" ? "resolveComponent" : ""
558
- ), Es = Symbol(
559
- process.env.NODE_ENV !== "production" ? "resolveDynamicComponent" : ""
560
558
  ), ks = Symbol(
559
+ process.env.NODE_ENV !== "production" ? "resolveDynamicComponent" : ""
560
+ ), Es = Symbol(
561
561
  process.env.NODE_ENV !== "production" ? "resolveDirective" : ""
562
562
  ), ws = Symbol(
563
563
  process.env.NODE_ENV !== "production" ? "resolveFilter" : ""
564
564
  ), Ss = Symbol(
565
565
  process.env.NODE_ENV !== "production" ? "withDirectives" : ""
566
- ), Ns = Symbol(process.env.NODE_ENV !== "production" ? "renderList" : ""), Cn = Symbol(process.env.NODE_ENV !== "production" ? "renderSlot" : ""), Tn = Symbol(process.env.NODE_ENV !== "production" ? "createSlots" : ""), Ft = Symbol(
566
+ ), _s = Symbol(process.env.NODE_ENV !== "production" ? "renderList" : ""), Tn = Symbol(process.env.NODE_ENV !== "production" ? "renderSlot" : ""), On = Symbol(process.env.NODE_ENV !== "production" ? "createSlots" : ""), Bt = Symbol(
567
567
  process.env.NODE_ENV !== "production" ? "toDisplayString" : ""
568
- ), It = Symbol(process.env.NODE_ENV !== "production" ? "mergeProps" : ""), _s = Symbol(
568
+ ), Dt = Symbol(process.env.NODE_ENV !== "production" ? "mergeProps" : ""), Ns = Symbol(
569
569
  process.env.NODE_ENV !== "production" ? "normalizeClass" : ""
570
570
  ), Cs = Symbol(
571
571
  process.env.NODE_ENV !== "production" ? "normalizeStyle" : ""
@@ -573,52 +573,52 @@ const ct = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), lt =
573
573
  process.env.NODE_ENV !== "production" ? "normalizeProps" : ""
574
574
  ), gt = Symbol(
575
575
  process.env.NODE_ENV !== "production" ? "guardReactiveProps" : ""
576
- ), Ts = Symbol(process.env.NODE_ENV !== "production" ? "toHandlers" : ""), es = Symbol(process.env.NODE_ENV !== "production" ? "camelize" : ""), mi = Symbol(process.env.NODE_ENV !== "production" ? "capitalize" : ""), ts = Symbol(
576
+ ), Ts = Symbol(process.env.NODE_ENV !== "production" ? "toHandlers" : ""), es = Symbol(process.env.NODE_ENV !== "production" ? "camelize" : ""), gi = Symbol(process.env.NODE_ENV !== "production" ? "capitalize" : ""), ts = Symbol(
577
577
  process.env.NODE_ENV !== "production" ? "toHandlerKey" : ""
578
- ), Dt = Symbol(
578
+ ), At = Symbol(
579
579
  process.env.NODE_ENV !== "production" ? "setBlockTracking" : ""
580
- ), gi = Symbol(process.env.NODE_ENV !== "production" ? "pushScopeId" : ""), vi = Symbol(process.env.NODE_ENV !== "production" ? "popScopeId" : ""), Os = Symbol(process.env.NODE_ENV !== "production" ? "withCtx" : ""), yi = Symbol(process.env.NODE_ENV !== "production" ? "unref" : ""), bi = Symbol(process.env.NODE_ENV !== "production" ? "isRef" : ""), Is = Symbol(process.env.NODE_ENV !== "production" ? "withMemo" : ""), On = Symbol(process.env.NODE_ENV !== "production" ? "isMemoSame" : ""), Ze = {
580
+ ), vi = Symbol(process.env.NODE_ENV !== "production" ? "pushScopeId" : ""), yi = Symbol(process.env.NODE_ENV !== "production" ? "popScopeId" : ""), Os = Symbol(process.env.NODE_ENV !== "production" ? "withCtx" : ""), bi = Symbol(process.env.NODE_ENV !== "production" ? "unref" : ""), xi = Symbol(process.env.NODE_ENV !== "production" ? "isRef" : ""), Is = Symbol(process.env.NODE_ENV !== "production" ? "withMemo" : ""), In = Symbol(process.env.NODE_ENV !== "production" ? "isMemoSame" : ""), Ze = {
581
581
  [ct]: "Fragment",
582
582
  [lt]: "Teleport",
583
583
  [gs]: "Suspense",
584
- [Ot]: "KeepAlive",
585
- [wn]: "BaseTransition",
584
+ [It]: "KeepAlive",
585
+ [Sn]: "BaseTransition",
586
586
  [Je]: "openBlock",
587
- [Sn]: "createBlock",
587
+ [_n]: "createBlock",
588
588
  [Nn]: "createElementBlock",
589
589
  [vs]: "createVNode",
590
590
  [ys]: "createElementVNode",
591
591
  [mt]: "createCommentVNode",
592
592
  [bs]: "createTextVNode",
593
- [_n]: "createStaticVNode",
593
+ [Cn]: "createStaticVNode",
594
594
  [xs]: "resolveComponent",
595
- [Es]: "resolveDynamicComponent",
596
- [ks]: "resolveDirective",
595
+ [ks]: "resolveDynamicComponent",
596
+ [Es]: "resolveDirective",
597
597
  [ws]: "resolveFilter",
598
598
  [Ss]: "withDirectives",
599
- [Ns]: "renderList",
600
- [Cn]: "renderSlot",
601
- [Tn]: "createSlots",
602
- [Ft]: "toDisplayString",
603
- [It]: "mergeProps",
604
- [_s]: "normalizeClass",
599
+ [_s]: "renderList",
600
+ [Tn]: "renderSlot",
601
+ [On]: "createSlots",
602
+ [Bt]: "toDisplayString",
603
+ [Dt]: "mergeProps",
604
+ [Ns]: "normalizeClass",
605
605
  [Cs]: "normalizeStyle",
606
606
  [ut]: "normalizeProps",
607
607
  [gt]: "guardReactiveProps",
608
608
  [Ts]: "toHandlers",
609
609
  [es]: "camelize",
610
- [mi]: "capitalize",
610
+ [gi]: "capitalize",
611
611
  [ts]: "toHandlerKey",
612
- [Dt]: "setBlockTracking",
613
- [gi]: "pushScopeId",
614
- [vi]: "popScopeId",
612
+ [At]: "setBlockTracking",
613
+ [vi]: "pushScopeId",
614
+ [yi]: "popScopeId",
615
615
  [Os]: "withCtx",
616
- [yi]: "unref",
617
- [bi]: "isRef",
616
+ [bi]: "unref",
617
+ [xi]: "isRef",
618
618
  [Is]: "withMemo",
619
- [On]: "isMemoSame"
619
+ [In]: "isMemoSame"
620
620
  };
621
- function xi(e) {
621
+ function ki(e) {
622
622
  Object.getOwnPropertySymbols(e).forEach((t) => {
623
623
  Ze[t] = e[t];
624
624
  });
@@ -673,15 +673,15 @@ function xe(e, t = ye) {
673
673
  properties: e
674
674
  };
675
675
  }
676
- function Z(e, t) {
676
+ function ee(e, t) {
677
677
  return {
678
678
  type: 16,
679
679
  loc: ye,
680
- key: re(e) ? A(e, !0) : e,
680
+ key: re(e) ? $(e, !0) : e,
681
681
  value: t
682
682
  };
683
683
  }
684
- function A(e, t = !1, s = ye, n = 0) {
684
+ function $(e, t = !1, s = ye, n = 0) {
685
685
  return {
686
686
  type: 4,
687
687
  loc: s,
@@ -690,7 +690,7 @@ function A(e, t = !1, s = ye, n = 0) {
690
690
  constType: t ? 3 : n
691
691
  };
692
692
  }
693
- function Ne(e, t = ye) {
693
+ function _e(e, t = ye) {
694
694
  return {
695
695
  type: 8,
696
696
  loc: t,
@@ -725,7 +725,7 @@ function ss(e, t, s, n = !0) {
725
725
  loc: ye
726
726
  };
727
727
  }
728
- function ki(e, t, s = !1, n = !1) {
728
+ function wi(e, t, s = !1, n = !1) {
729
729
  return {
730
730
  type: 20,
731
731
  index: e,
@@ -736,7 +736,7 @@ function ki(e, t, s = !1, n = !1) {
736
736
  loc: ye
737
737
  };
738
738
  }
739
- function wi(e) {
739
+ function Si(e) {
740
740
  return {
741
741
  type: 21,
742
742
  body: e,
@@ -747,22 +747,22 @@ function tt(e, t) {
747
747
  return e || t ? vs : ys;
748
748
  }
749
749
  function st(e, t) {
750
- return e || t ? Sn : Nn;
750
+ return e || t ? _n : Nn;
751
751
  }
752
752
  function Ds(e, { helper: t, removeHelper: s, inSSR: n }) {
753
753
  e.isBlock || (e.isBlock = !0, s(tt(n, e.isComponent)), t(Je), t(st(n, e.isComponent)));
754
754
  }
755
- const Hs = new Uint8Array([123, 123]), zs = new Uint8Array([125, 125]);
756
- function qs(e) {
755
+ const zs = new Uint8Array([123, 123]), qs = new Uint8Array([125, 125]);
756
+ function Ks(e) {
757
757
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
758
758
  }
759
759
  function ge(e) {
760
760
  return e === 32 || e === 10 || e === 9 || e === 12 || e === 13;
761
761
  }
762
- function Ve(e) {
762
+ function $e(e) {
763
763
  return e === 47 || e === 62 || ge(e);
764
764
  }
765
- function At(e) {
765
+ function $t(e) {
766
766
  const t = new Uint8Array(e.length);
767
767
  for (let s = 0; s < e.length; s++)
768
768
  t[s] = e.charCodeAt(s);
@@ -795,15 +795,15 @@ const ie = {
795
795
  ])
796
796
  // `</textarea
797
797
  };
798
- class Si {
798
+ class _i {
799
799
  constructor(t, s) {
800
- this.stack = t, this.cbs = s, this.state = 1, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = 1, this.inRCDATA = !1, this.inXML = !1, this.inVPre = !1, this.newlines = [], this.mode = 0, this.delimiterOpen = Hs, this.delimiterClose = zs, this.delimiterIndex = -1, this.currentSequence = void 0, this.sequenceIndex = 0;
800
+ this.stack = t, this.cbs = s, this.state = 1, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = 1, this.inRCDATA = !1, this.inXML = !1, this.inVPre = !1, this.newlines = [], this.mode = 0, this.delimiterOpen = zs, this.delimiterClose = qs, this.delimiterIndex = -1, this.currentSequence = void 0, this.sequenceIndex = 0;
801
801
  }
802
802
  get inSFCRoot() {
803
803
  return this.mode === 2 && this.stack.length === 0;
804
804
  }
805
805
  reset() {
806
- this.state = 1, this.mode = 0, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = 1, this.inRCDATA = !1, this.currentSequence = void 0, this.newlines.length = 0, this.delimiterOpen = Hs, this.delimiterClose = zs;
806
+ this.state = 1, this.mode = 0, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = 1, this.inRCDATA = !1, this.currentSequence = void 0, this.newlines.length = 0, this.delimiterOpen = zs, this.delimiterClose = qs;
807
807
  }
808
808
  /**
809
809
  * Generate Position object with line / column information using recorded
@@ -851,7 +851,7 @@ class Si {
851
851
  const s = this.sequenceIndex === this.currentSequence.length;
852
852
  if (!(s ? (
853
853
  // If we are at the end of the sequence, make sure the tag name has ended
854
- Ve(t)
854
+ $e(t)
855
855
  ) : (
856
856
  // Otherwise, do a case-insensitive comparison
857
857
  (t | 32) === this.currentSequence[this.sequenceIndex]
@@ -914,22 +914,22 @@ class Si {
914
914
  this.inRCDATA = !0, this.currentSequence = t, this.sequenceIndex = s;
915
915
  }
916
916
  stateBeforeTagName(t) {
917
- t === 33 ? (this.state = 22, this.sectionStart = this.index + 1) : t === 63 ? (this.state = 24, this.sectionStart = this.index + 1) : qs(t) ? (this.sectionStart = this.index, this.mode === 0 ? this.state = 6 : this.inSFCRoot ? this.state = 34 : this.inXML ? this.state = 6 : t === 116 ? this.state = 30 : this.state = t === 115 ? 29 : 6) : t === 47 ? this.state = 8 : (this.state = 1, this.stateText(t));
917
+ t === 33 ? (this.state = 22, this.sectionStart = this.index + 1) : t === 63 ? (this.state = 24, this.sectionStart = this.index + 1) : Ks(t) ? (this.sectionStart = this.index, this.mode === 0 ? this.state = 6 : this.inSFCRoot ? this.state = 34 : this.inXML ? this.state = 6 : t === 116 ? this.state = 30 : this.state = t === 115 ? 29 : 6) : t === 47 ? this.state = 8 : (this.state = 1, this.stateText(t));
918
918
  }
919
919
  stateInTagName(t) {
920
- Ve(t) && this.handleTagName(t);
920
+ $e(t) && this.handleTagName(t);
921
921
  }
922
922
  stateInSFCRootTagName(t) {
923
- if (Ve(t)) {
923
+ if ($e(t)) {
924
924
  const s = this.buffer.slice(this.sectionStart, this.index);
925
- s !== "template" && this.enterRCDATA(At("</" + s), 0), this.handleTagName(t);
925
+ s !== "template" && this.enterRCDATA($t("</" + s), 0), this.handleTagName(t);
926
926
  }
927
927
  }
928
928
  handleTagName(t) {
929
929
  this.cbs.onopentagname(this.sectionStart, this.index), this.sectionStart = -1, this.state = 11, this.stateBeforeAttrName(t);
930
930
  }
931
931
  stateBeforeClosingTagName(t) {
932
- ge(t) || (t === 62 ? (process.env.NODE_ENV !== "production" && this.cbs.onerr(14, this.index), this.state = 1, this.sectionStart = this.index + 1) : (this.state = qs(t) ? 9 : 27, this.sectionStart = this.index));
932
+ ge(t) || (t === 62 ? (process.env.NODE_ENV !== "production" && this.cbs.onerr(14, this.index), this.state = 1, this.sectionStart = this.index + 1) : (this.state = Ks(t) ? 9 : 27, this.sectionStart = this.index));
933
933
  }
934
934
  stateInClosingTagName(t) {
935
935
  (t === 62 || ge(t)) && (this.cbs.onclosetag(this.sectionStart, this.index), this.sectionStart = -1, this.state = 10, this.stateAfterClosingTagName(t));
@@ -950,25 +950,25 @@ class Si {
950
950
  t === 62 ? (this.cbs.onselfclosingtag(this.index), this.state = 1, this.sectionStart = this.index + 1, this.inRCDATA = !1) : ge(t) || (this.state = 11, this.stateBeforeAttrName(t));
951
951
  }
952
952
  stateInAttrName(t) {
953
- t === 61 || Ve(t) ? (this.cbs.onattribname(this.sectionStart, this.index), this.handleAttrNameEnd(t)) : process.env.NODE_ENV !== "production" && (t === 34 || t === 39 || t === 60) && this.cbs.onerr(
953
+ t === 61 || $e(t) ? (this.cbs.onattribname(this.sectionStart, this.index), this.handleAttrNameEnd(t)) : process.env.NODE_ENV !== "production" && (t === 34 || t === 39 || t === 60) && this.cbs.onerr(
954
954
  17,
955
955
  this.index
956
956
  );
957
957
  }
958
958
  stateInDirName(t) {
959
- t === 61 || Ve(t) ? (this.cbs.ondirname(this.sectionStart, this.index), this.handleAttrNameEnd(t)) : t === 58 ? (this.cbs.ondirname(this.sectionStart, this.index), this.state = 14, this.sectionStart = this.index + 1) : t === 46 && (this.cbs.ondirname(this.sectionStart, this.index), this.state = 16, this.sectionStart = this.index + 1);
959
+ t === 61 || $e(t) ? (this.cbs.ondirname(this.sectionStart, this.index), this.handleAttrNameEnd(t)) : t === 58 ? (this.cbs.ondirname(this.sectionStart, this.index), this.state = 14, this.sectionStart = this.index + 1) : t === 46 && (this.cbs.ondirname(this.sectionStart, this.index), this.state = 16, this.sectionStart = this.index + 1);
960
960
  }
961
961
  stateInDirArg(t) {
962
- t === 61 || Ve(t) ? (this.cbs.ondirarg(this.sectionStart, this.index), this.handleAttrNameEnd(t)) : t === 91 ? this.state = 15 : t === 46 && (this.cbs.ondirarg(this.sectionStart, this.index), this.state = 16, this.sectionStart = this.index + 1);
962
+ t === 61 || $e(t) ? (this.cbs.ondirarg(this.sectionStart, this.index), this.handleAttrNameEnd(t)) : t === 91 ? this.state = 15 : t === 46 && (this.cbs.ondirarg(this.sectionStart, this.index), this.state = 16, this.sectionStart = this.index + 1);
963
963
  }
964
964
  stateInDynamicDirArg(t) {
965
- t === 93 ? this.state = 14 : (t === 61 || Ve(t)) && (this.cbs.ondirarg(this.sectionStart, this.index + 1), this.handleAttrNameEnd(t), process.env.NODE_ENV !== "production" && this.cbs.onerr(
965
+ t === 93 ? this.state = 14 : (t === 61 || $e(t)) && (this.cbs.ondirarg(this.sectionStart, this.index + 1), this.handleAttrNameEnd(t), process.env.NODE_ENV !== "production" && this.cbs.onerr(
966
966
  27,
967
967
  this.index
968
968
  ));
969
969
  }
970
970
  stateInDirModifier(t) {
971
- t === 61 || Ve(t) ? (this.cbs.ondirmodifier(this.sectionStart, this.index), this.handleAttrNameEnd(t)) : t === 46 && (this.cbs.ondirmodifier(this.sectionStart, this.index), this.sectionStart = this.index + 1);
971
+ t === 61 || $e(t) ? (this.cbs.ondirmodifier(this.sectionStart, this.index), this.handleAttrNameEnd(t)) : t === 46 && (this.cbs.ondirmodifier(this.sectionStart, this.index), this.sectionStart = this.index + 1);
972
972
  }
973
973
  handleAttrNameEnd(t) {
974
974
  this.sectionStart = this.index, this.state = 17, this.cbs.onattribnameend(this.index), this.stateAfterAttrName(t);
@@ -1244,14 +1244,14 @@ function Vt(e, t, s, ...n) {
1244
1244
  function As(e) {
1245
1245
  throw e;
1246
1246
  }
1247
- function In(e) {
1247
+ function Dn(e) {
1248
1248
  process.env.NODE_ENV !== "production" && console.warn(`[Vue warn] ${e.message}`);
1249
1249
  }
1250
1250
  function K(e, t, s, n) {
1251
- const r = process.env.NODE_ENV !== "production" ? (s || _i)[e] + (n || "") : `https://vuejs.org/error-reference/#compiler-${e}`, i = new SyntaxError(String(r));
1251
+ const r = process.env.NODE_ENV !== "production" ? (s || Ci)[e] + (n || "") : `https://vuejs.org/error-reference/#compiler-${e}`, i = new SyntaxError(String(r));
1252
1252
  return i.code = e, i.loc = t, i;
1253
1253
  }
1254
- const _i = {
1254
+ const Ci = {
1255
1255
  // parse errors
1256
1256
  0: "Illegal comment.",
1257
1257
  1: "CDATA section is allowed only in XML context.",
@@ -1313,7 +1313,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
1313
1313
  // just to fulfill types
1314
1314
  53: ""
1315
1315
  }, he = (e) => e.type === 4 && e.isStatic;
1316
- function Dn(e) {
1316
+ function An(e) {
1317
1317
  switch (e) {
1318
1318
  case "Teleport":
1319
1319
  case "teleport":
@@ -1323,14 +1323,14 @@ function Dn(e) {
1323
1323
  return gs;
1324
1324
  case "KeepAlive":
1325
1325
  case "keep-alive":
1326
- return Ot;
1326
+ return It;
1327
1327
  case "BaseTransition":
1328
1328
  case "base-transition":
1329
- return wn;
1329
+ return Sn;
1330
1330
  }
1331
1331
  }
1332
- const Ci = /^$|^\d|[^\$\w\xA0-\uFFFF]/, Vs = (e) => !Ci.test(e), Ti = /[A-Za-z_$\xA0-\uFFFF]/, Oi = /[\.\?\w$\xA0-\uFFFF]/, Ii = /\s+[.[]\s*|\s*[.[]\s+/g, An = (e) => e.type === 4 ? e.content : e.loc.source, Di = (e) => {
1333
- const t = An(e).trim().replace(Ii, (a) => a.trim());
1332
+ const Ti = /^$|^\d|[^\$\w\xA0-\uFFFF]/, $s = (e) => !Ti.test(e), Oi = /[A-Za-z_$\xA0-\uFFFF]/, Ii = /[\.\?\w$\xA0-\uFFFF]/, Di = /\s+[.[]\s*|\s*[.[]\s+/g, $n = (e) => e.type === 4 ? e.content : e.loc.source, Ai = (e) => {
1333
+ const t = $n(e).trim().replace(Di, (a) => a.trim());
1334
1334
  let s = 0, n = [], r = 0, i = 0, o = null;
1335
1335
  for (let a = 0; a < t.length; a++) {
1336
1336
  const l = t.charAt(a);
@@ -1340,7 +1340,7 @@ const Ci = /^$|^\d|[^\$\w\xA0-\uFFFF]/, Vs = (e) => !Ci.test(e), Ti = /[A-Za-z_$
1340
1340
  n.push(s), s = 1, r++;
1341
1341
  else if (l === "(")
1342
1342
  n.push(s), s = 2, i++;
1343
- else if (!(a === 0 ? Ti : Oi).test(l))
1343
+ else if (!(a === 0 ? Oi : Ii).test(l))
1344
1344
  return !1;
1345
1345
  break;
1346
1346
  case 1:
@@ -1363,8 +1363,8 @@ const Ci = /^$|^\d|[^\$\w\xA0-\uFFFF]/, Vs = (e) => !Ci.test(e), Ti = /[A-Za-z_$
1363
1363
  }
1364
1364
  }
1365
1365
  return !r && !i;
1366
- }, Vn = Di, Ai = /^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/, Vi = (e) => Ai.test(An(e)), $i = Vi;
1367
- function Ks(e, t) {
1366
+ }, Vn = Ai, $i = /^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/, Vi = (e) => $i.test($n(e)), Ri = Vi;
1367
+ function Ws(e, t) {
1368
1368
  if (!e)
1369
1369
  throw new Error(t || "unexpected compiler condition");
1370
1370
  }
@@ -1389,7 +1389,7 @@ function ft(e, t, s = !1, n = !1) {
1389
1389
  function Me(e, t) {
1390
1390
  return !!(e && he(e) && e.content === t);
1391
1391
  }
1392
- function Ri(e) {
1392
+ function Mi(e) {
1393
1393
  return e.props.some(
1394
1394
  (t) => t.type === 7 && t.name === "bind" && (!t.arg || // v-bind="obj"
1395
1395
  t.arg.type !== 4 || // v-bind:[_ctx.foo]
@@ -1400,51 +1400,51 @@ function Ri(e) {
1400
1400
  function Jt(e) {
1401
1401
  return e.type === 5 || e.type === 2;
1402
1402
  }
1403
- function Ws(e) {
1403
+ function Gs(e) {
1404
1404
  return e.type === 7 && e.name === "pre";
1405
1405
  }
1406
- function Mi(e) {
1406
+ function Li(e) {
1407
1407
  return e.type === 7 && e.name === "slot";
1408
1408
  }
1409
- function $t(e) {
1409
+ function Rt(e) {
1410
1410
  return e.type === 1 && e.tagType === 3;
1411
1411
  }
1412
- function Rt(e) {
1412
+ function Mt(e) {
1413
1413
  return e.type === 1 && e.tagType === 2;
1414
1414
  }
1415
- const Li = /* @__PURE__ */ new Set([ut, gt]);
1416
- function $n(e, t = []) {
1415
+ const Pi = /* @__PURE__ */ new Set([ut, gt]);
1416
+ function Rn(e, t = []) {
1417
1417
  if (e && !re(e) && e.type === 14) {
1418
1418
  const s = e.callee;
1419
- if (!re(s) && Li.has(s))
1420
- return $n(
1419
+ if (!re(s) && Pi.has(s))
1420
+ return Rn(
1421
1421
  e.arguments[0],
1422
1422
  t.concat(e)
1423
1423
  );
1424
1424
  }
1425
1425
  return [e, t];
1426
1426
  }
1427
- function Mt(e, t, s) {
1427
+ function Lt(e, t, s) {
1428
1428
  let n, r = e.type === 13 ? e.props : e.arguments[2], i = [], o;
1429
1429
  if (r && !re(r) && r.type === 14) {
1430
- const a = $n(r);
1430
+ const a = Rn(r);
1431
1431
  r = a[0], i = a[1], o = i[i.length - 1];
1432
1432
  }
1433
1433
  if (r == null || re(r))
1434
1434
  n = xe([t]);
1435
1435
  else if (r.type === 14) {
1436
1436
  const a = r.arguments[0];
1437
- !re(a) && a.type === 15 ? Gs(t, a) || a.properties.unshift(t) : r.callee === Ts ? n = se(s.helper(It), [
1437
+ !re(a) && a.type === 15 ? Js(t, a) || a.properties.unshift(t) : r.callee === Ts ? n = se(s.helper(Dt), [
1438
1438
  xe([t]),
1439
1439
  r
1440
1440
  ]) : r.arguments.unshift(xe([t])), !n && (n = r);
1441
- } else r.type === 15 ? (Gs(t, r) || r.properties.unshift(t), n = r) : (n = se(s.helper(It), [
1441
+ } else r.type === 15 ? (Js(t, r) || r.properties.unshift(t), n = r) : (n = se(s.helper(Dt), [
1442
1442
  xe([t]),
1443
1443
  r
1444
1444
  ]), o && o.callee === gt && (o = i[i.length - 2]));
1445
1445
  e.type === 13 ? o ? o.arguments[0] = n : e.props = n : o ? o.arguments[0] = n : e.arguments[2] = n;
1446
1446
  }
1447
- function Gs(e, t) {
1447
+ function Js(e, t) {
1448
1448
  let s = !1;
1449
1449
  if (e.key.type === 4) {
1450
1450
  const n = e.key.content;
@@ -1457,25 +1457,25 @@ function Gs(e, t) {
1457
1457
  function pt(e, t) {
1458
1458
  return `_${t}_${e.replace(/[^\w]/g, (s, n) => s === "-" ? "_" : e.charCodeAt(n).toString())}`;
1459
1459
  }
1460
- function Pi(e) {
1460
+ function Fi(e) {
1461
1461
  return e.type === 14 && e.callee === Is ? e.arguments[1].returns : e;
1462
1462
  }
1463
- const Fi = /([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/, Rn = {
1463
+ const Bi = /([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/, Mn = {
1464
1464
  parseMode: "base",
1465
1465
  ns: 0,
1466
1466
  delimiters: ["{{", "}}"],
1467
1467
  getNamespace: () => 0,
1468
- isVoidTag: xt,
1469
- isPreTag: xt,
1470
- isIgnoreNewlineTag: xt,
1471
- isCustomElement: xt,
1468
+ isVoidTag: kt,
1469
+ isPreTag: kt,
1470
+ isIgnoreNewlineTag: kt,
1471
+ isCustomElement: kt,
1472
1472
  onError: As,
1473
- onWarn: In,
1473
+ onWarn: Dn,
1474
1474
  comments: process.env.NODE_ENV !== "production",
1475
1475
  prefixIdentifiers: !1
1476
1476
  };
1477
- let F = Rn, ht = null, Ae = "", le = null, P = null, fe = "", Oe = -1, He = -1, $s = 0, Re = !1, rs = null;
1478
- const Y = [], J = new Si(Y, {
1477
+ let F = Mn, ht = null, Ae = "", le = null, P = null, fe = "", Oe = -1, He = -1, Vs = 0, Re = !1, rs = null;
1478
+ const Y = [], J = new _i(Y, {
1479
1479
  onerr: de,
1480
1480
  ontext(e, t) {
1481
1481
  Et(oe(e, t), e, t);
@@ -1494,8 +1494,8 @@ const Y = [], J = new Si(Y, {
1494
1494
  let r = oe(s, n);
1495
1495
  r.includes("&") && (r = F.decodeEntities(r, !1)), is({
1496
1496
  type: 5,
1497
- content: _t(r, !1, ee(s, n)),
1498
- loc: ee(e, t)
1497
+ content: Ct(r, !1, te(s, n)),
1498
+ loc: te(e, t)
1499
1499
  });
1500
1500
  },
1501
1501
  onopentagname(e, t) {
@@ -1508,12 +1508,12 @@ const Y = [], J = new Si(Y, {
1508
1508
  // will be refined on tag close
1509
1509
  props: [],
1510
1510
  children: [],
1511
- loc: ee(e - 1, t),
1511
+ loc: te(e - 1, t),
1512
1512
  codegenNode: void 0
1513
1513
  };
1514
1514
  },
1515
1515
  onopentagend(e) {
1516
- Ys(e);
1516
+ Xs(e);
1517
1517
  },
1518
1518
  onclosetag(e, t) {
1519
1519
  const s = oe(e, t);
@@ -1528,20 +1528,20 @@ const Y = [], J = new Si(Y, {
1528
1528
  }
1529
1529
  break;
1530
1530
  }
1531
- n || de(23, Mn(e, 60));
1531
+ n || de(23, Ln(e, 60));
1532
1532
  }
1533
1533
  },
1534
1534
  onselfclosingtag(e) {
1535
1535
  const t = le.tag;
1536
- le.isSelfClosing = !0, Ys(e), Y[0] && Y[0].tag === t && Nt(Y.shift(), e);
1536
+ le.isSelfClosing = !0, Xs(e), Y[0] && Y[0].tag === t && Nt(Y.shift(), e);
1537
1537
  },
1538
1538
  onattribname(e, t) {
1539
1539
  P = {
1540
1540
  type: 6,
1541
1541
  name: oe(e, t),
1542
- nameLoc: ee(e, t),
1542
+ nameLoc: te(e, t),
1543
1543
  value: void 0,
1544
- loc: ee(e)
1544
+ loc: te(e)
1545
1545
  };
1546
1546
  },
1547
1547
  ondirname(e, t) {
@@ -1550,9 +1550,9 @@ const Y = [], J = new Si(Y, {
1550
1550
  P = {
1551
1551
  type: 6,
1552
1552
  name: s,
1553
- nameLoc: ee(e, t),
1553
+ nameLoc: te(e, t),
1554
1554
  value: void 0,
1555
- loc: ee(e)
1555
+ loc: te(e)
1556
1556
  };
1557
1557
  else if (P = {
1558
1558
  type: 7,
@@ -1560,39 +1560,39 @@ const Y = [], J = new Si(Y, {
1560
1560
  rawName: s,
1561
1561
  exp: void 0,
1562
1562
  arg: void 0,
1563
- modifiers: s === "." ? [A("prop")] : [],
1564
- loc: ee(e)
1563
+ modifiers: s === "." ? [$("prop")] : [],
1564
+ loc: te(e)
1565
1565
  }, n === "pre") {
1566
1566
  Re = J.inVPre = !0, rs = le;
1567
1567
  const r = le.props;
1568
1568
  for (let i = 0; i < r.length; i++)
1569
- r[i].type === 7 && (r[i] = Yi(r[i]));
1569
+ r[i].type === 7 && (r[i] = Xi(r[i]));
1570
1570
  }
1571
1571
  },
1572
1572
  ondirarg(e, t) {
1573
1573
  if (e === t) return;
1574
1574
  const s = oe(e, t);
1575
- if (Re && !Ws(P))
1575
+ if (Re && !Gs(P))
1576
1576
  P.name += s, qe(P.nameLoc, t);
1577
1577
  else {
1578
1578
  const n = s[0] !== "[";
1579
- P.arg = _t(
1579
+ P.arg = Ct(
1580
1580
  n ? s : s.slice(1, -1),
1581
1581
  n,
1582
- ee(e, t),
1582
+ te(e, t),
1583
1583
  n ? 3 : 0
1584
1584
  );
1585
1585
  }
1586
1586
  },
1587
1587
  ondirmodifier(e, t) {
1588
1588
  const s = oe(e, t);
1589
- if (Re && !Ws(P))
1589
+ if (Re && !Gs(P))
1590
1590
  P.name += "." + s, qe(P.nameLoc, t);
1591
1591
  else if (P.name === "slot") {
1592
1592
  const n = P.arg;
1593
1593
  n && (n.content += "." + s, qe(n.loc, t));
1594
1594
  } else {
1595
- const n = A(s, !0, ee(e, t));
1595
+ const n = $(s, !0, te(e, t));
1596
1596
  P.modifiers.push(n);
1597
1597
  }
1598
1598
  },
@@ -1615,20 +1615,20 @@ const Y = [], J = new Si(Y, {
1615
1615
  fe,
1616
1616
  !0
1617
1617
  )), P.type === 6)
1618
- P.name === "class" && (fe = Pn(fe).trim()), e === 1 && !fe && de(13, t), P.value = {
1618
+ P.name === "class" && (fe = Fn(fe).trim()), e === 1 && !fe && de(13, t), P.value = {
1619
1619
  type: 2,
1620
1620
  content: fe,
1621
- loc: e === 1 ? ee(Oe, He) : ee(Oe - 1, He + 1)
1622
- }, J.inSFCRoot && le.tag === "template" && P.name === "lang" && fe && fe !== "html" && J.enterRCDATA(At("</template"), 0);
1621
+ loc: e === 1 ? te(Oe, He) : te(Oe - 1, He + 1)
1622
+ }, J.inSFCRoot && le.tag === "template" && P.name === "lang" && fe && fe !== "html" && J.enterRCDATA($t("</template"), 0);
1623
1623
  else {
1624
1624
  let s = 0;
1625
- P.exp = _t(
1625
+ P.exp = Ct(
1626
1626
  fe,
1627
1627
  !1,
1628
- ee(Oe, He),
1628
+ te(Oe, He),
1629
1629
  0,
1630
1630
  s
1631
- ), P.name === "for" && (P.forParseResult = ji(P.exp));
1631
+ ), P.name === "for" && (P.forParseResult = Ui(P.exp));
1632
1632
  let n = -1;
1633
1633
  P.name === "bind" && (n = P.modifiers.findIndex(
1634
1634
  (r) => r.content === "sync"
@@ -1647,7 +1647,7 @@ const Y = [], J = new Si(Y, {
1647
1647
  F.comments && is({
1648
1648
  type: 3,
1649
1649
  content: oe(e, t),
1650
- loc: ee(e - 4, t + 3)
1650
+ loc: te(e - 4, t + 3)
1651
1651
  });
1652
1652
  },
1653
1653
  onend() {
@@ -1699,16 +1699,16 @@ const Y = [], J = new Si(Y, {
1699
1699
  e - 1
1700
1700
  );
1701
1701
  }
1702
- }), Js = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/, Bi = /^\(|\)$/g;
1703
- function ji(e) {
1704
- const t = e.loc, s = e.content, n = s.match(Fi);
1702
+ }), Ys = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/, ji = /^\(|\)$/g;
1703
+ function Ui(e) {
1704
+ const t = e.loc, s = e.content, n = s.match(Bi);
1705
1705
  if (!n) return;
1706
1706
  const [, r, i] = n, o = (u, f, h = !1) => {
1707
1707
  const x = t.start.offset + f, y = x + u.length;
1708
- return _t(
1708
+ return Ct(
1709
1709
  u,
1710
1710
  !1,
1711
- ee(x, y),
1711
+ te(x, y),
1712
1712
  0,
1713
1713
  h ? 1 : 0
1714
1714
  /* Normal */
@@ -1720,10 +1720,10 @@ function ji(e) {
1720
1720
  index: void 0,
1721
1721
  finalized: !1
1722
1722
  };
1723
- let l = r.trim().replace(Bi, "").trim();
1724
- const c = r.indexOf(l), m = l.match(Js);
1723
+ let l = r.trim().replace(ji, "").trim();
1724
+ const c = r.indexOf(l), m = l.match(Ys);
1725
1725
  if (m) {
1726
- l = l.replace(Js, "").trim();
1726
+ l = l.replace(Ys, "").trim();
1727
1727
  const u = m[1].trim();
1728
1728
  let f;
1729
1729
  if (u && (f = s.indexOf(u, c + l.length), a.key = o(u, f, !0)), m[2]) {
@@ -1743,10 +1743,10 @@ function ji(e) {
1743
1743
  function oe(e, t) {
1744
1744
  return Ae.slice(e, t);
1745
1745
  }
1746
- function Ys(e) {
1747
- J.inSFCRoot && (le.innerLoc = ee(e + 1, e + 1)), is(le);
1746
+ function Xs(e) {
1747
+ J.inSFCRoot && (le.innerLoc = te(e + 1, e + 1)), is(le);
1748
1748
  const { tag: t, ns: s } = le;
1749
- s === 0 && F.isPreTag(t) && $s++, F.isVoidTag(t) ? Nt(le, e) : (Y.unshift(le), (s === 1 || s === 2) && (J.inXML = !0)), le = null;
1749
+ s === 0 && F.isPreTag(t) && Vs++, F.isVoidTag(t) ? Nt(le, e) : (Y.unshift(le), (s === 1 || s === 2) && (J.inXML = !0)), le = null;
1750
1750
  }
1751
1751
  function Et(e, t, s) {
1752
1752
  {
@@ -1757,20 +1757,20 @@ function Et(e, t, s) {
1757
1757
  r && r.type === 2 ? (r.content += e, qe(r.loc, s)) : n.children.push({
1758
1758
  type: 2,
1759
1759
  content: e,
1760
- loc: ee(t, s)
1760
+ loc: te(t, s)
1761
1761
  });
1762
1762
  }
1763
1763
  function Nt(e, t, s = !1) {
1764
- s ? qe(e.loc, Mn(t, 60)) : qe(e.loc, Ui(t, 62) + 1), J.inSFCRoot && (e.children.length ? e.innerLoc.end = Le({}, e.children[e.children.length - 1].loc.end) : e.innerLoc.end = Le({}, e.innerLoc.start), e.innerLoc.source = oe(
1764
+ s ? qe(e.loc, Ln(t, 60)) : qe(e.loc, Hi(t, 62) + 1), J.inSFCRoot && (e.children.length ? e.innerLoc.end = Le({}, e.children[e.children.length - 1].loc.end) : e.innerLoc.end = Le({}, e.innerLoc.start), e.innerLoc.source = oe(
1765
1765
  e.innerLoc.start.offset,
1766
1766
  e.innerLoc.end.offset
1767
1767
  ));
1768
1768
  const { tag: n, ns: r, children: i } = e;
1769
- if (Re || (n === "slot" ? e.tagType = 2 : Xs(e) ? e.tagType = 3 : zi(e) && (e.tagType = 1)), J.inRCDATA || (e.children = Ln(i)), r === 0 && F.isIgnoreNewlineTag(n)) {
1769
+ if (Re || (n === "slot" ? e.tagType = 2 : Qs(e) ? e.tagType = 3 : qi(e) && (e.tagType = 1)), J.inRCDATA || (e.children = Pn(i)), r === 0 && F.isIgnoreNewlineTag(n)) {
1770
1770
  const o = i[0];
1771
1771
  o && o.type === 2 && (o.content = o.content.replace(/^\r?\n/, ""));
1772
1772
  }
1773
- r === 0 && F.isPreTag(n) && $s--, rs === e && (Re = J.inVPre = !1, rs = null), J.inXML && (Y[0] ? Y[0].ns : F.ns) === 0 && (J.inXML = !1);
1773
+ r === 0 && F.isPreTag(n) && Vs--, rs === e && (Re = J.inVPre = !1, rs = null), J.inXML && (Y[0] ? Y[0].ns : F.ns) === 0 && (J.inXML = !1);
1774
1774
  {
1775
1775
  const o = e.props;
1776
1776
  if (process.env.NODE_ENV !== "production" && Fe(
@@ -1793,7 +1793,7 @@ function Nt(e, t, s = !1) {
1793
1793
  if (!J.inSFCRoot && Fe(
1794
1794
  "COMPILER_NATIVE_TEMPLATE",
1795
1795
  F
1796
- ) && e.tag === "template" && !Xs(e)) {
1796
+ ) && e.tag === "template" && !Qs(e)) {
1797
1797
  process.env.NODE_ENV !== "production" && Vt(
1798
1798
  "COMPILER_NATIVE_TEMPLATE",
1799
1799
  F,
@@ -1819,29 +1819,29 @@ function Nt(e, t, s = !1) {
1819
1819
  });
1820
1820
  }
1821
1821
  }
1822
- function Ui(e, t) {
1822
+ function Hi(e, t) {
1823
1823
  let s = e;
1824
1824
  for (; Ae.charCodeAt(s) !== t && s < Ae.length - 1; ) s++;
1825
1825
  return s;
1826
1826
  }
1827
- function Mn(e, t) {
1827
+ function Ln(e, t) {
1828
1828
  let s = e;
1829
1829
  for (; Ae.charCodeAt(s) !== t && s >= 0; ) s--;
1830
1830
  return s;
1831
1831
  }
1832
- const Hi = /* @__PURE__ */ new Set(["if", "else", "else-if", "for", "slot"]);
1833
- function Xs({ tag: e, props: t }) {
1832
+ const zi = /* @__PURE__ */ new Set(["if", "else", "else-if", "for", "slot"]);
1833
+ function Qs({ tag: e, props: t }) {
1834
1834
  if (e === "template") {
1835
1835
  for (let s = 0; s < t.length; s++)
1836
- if (t[s].type === 7 && Hi.has(t[s].name))
1836
+ if (t[s].type === 7 && zi.has(t[s].name))
1837
1837
  return !0;
1838
1838
  }
1839
1839
  return !1;
1840
1840
  }
1841
- function zi({ tag: e, props: t }) {
1841
+ function qi({ tag: e, props: t }) {
1842
1842
  if (F.isCustomElement(e))
1843
1843
  return !1;
1844
- if (e === "component" || qi(e.charCodeAt(0)) || Dn(e) || F.isBuiltInComponent && F.isBuiltInComponent(e) || F.isNativeTag && !F.isNativeTag(e))
1844
+ if (e === "component" || Ki(e.charCodeAt(0)) || An(e) || F.isBuiltInComponent && F.isBuiltInComponent(e) || F.isNativeTag && !F.isNativeTag(e))
1845
1845
  return !0;
1846
1846
  for (let s = 0; s < t.length; s++) {
1847
1847
  const n = t[s];
@@ -1868,33 +1868,33 @@ function zi({ tag: e, props: t }) {
1868
1868
  }
1869
1869
  return !1;
1870
1870
  }
1871
- function qi(e) {
1871
+ function Ki(e) {
1872
1872
  return e > 64 && e < 91;
1873
1873
  }
1874
- const Ki = /\r\n/g;
1875
- function Ln(e) {
1874
+ const Wi = /\r\n/g;
1875
+ function Pn(e) {
1876
1876
  const t = F.whitespace !== "preserve";
1877
1877
  let s = !1;
1878
1878
  for (let n = 0; n < e.length; n++) {
1879
1879
  const r = e[n];
1880
1880
  if (r.type === 2)
1881
- if ($s)
1882
- r.content = r.content.replace(Ki, `
1881
+ if (Vs)
1882
+ r.content = r.content.replace(Wi, `
1883
1883
  `);
1884
- else if (Wi(r.content)) {
1884
+ else if (Gi(r.content)) {
1885
1885
  const i = e[n - 1] && e[n - 1].type, o = e[n + 1] && e[n + 1].type;
1886
- !i || !o || t && (i === 3 && (o === 3 || o === 1) || i === 1 && (o === 3 || o === 1 && Gi(r.content))) ? (s = !0, e[n] = null) : r.content = " ";
1887
- } else t && (r.content = Pn(r.content));
1886
+ !i || !o || t && (i === 3 && (o === 3 || o === 1) || i === 1 && (o === 3 || o === 1 && Ji(r.content))) ? (s = !0, e[n] = null) : r.content = " ";
1887
+ } else t && (r.content = Fn(r.content));
1888
1888
  }
1889
1889
  return s ? e.filter(Boolean) : e;
1890
1890
  }
1891
- function Wi(e) {
1891
+ function Gi(e) {
1892
1892
  for (let t = 0; t < e.length; t++)
1893
1893
  if (!ge(e.charCodeAt(t)))
1894
1894
  return !1;
1895
1895
  return !0;
1896
1896
  }
1897
- function Gi(e) {
1897
+ function Ji(e) {
1898
1898
  for (let t = 0; t < e.length; t++) {
1899
1899
  const s = e.charCodeAt(t);
1900
1900
  if (s === 10 || s === 13)
@@ -1902,7 +1902,7 @@ function Gi(e) {
1902
1902
  }
1903
1903
  return !1;
1904
1904
  }
1905
- function Pn(e) {
1905
+ function Fn(e) {
1906
1906
  let t = "", s = !1;
1907
1907
  for (let n = 0; n < e.length; n++)
1908
1908
  ge(e.charCodeAt(n)) ? s || (t += " ", s = !0) : (t += e[n], s = !1);
@@ -1911,7 +1911,7 @@ function Pn(e) {
1911
1911
  function is(e) {
1912
1912
  (Y[0] || ht).children.push(e);
1913
1913
  }
1914
- function ee(e, t) {
1914
+ function te(e, t) {
1915
1915
  return {
1916
1916
  start: J.getPos(e),
1917
1917
  // @ts-expect-error allow late attachment
@@ -1920,17 +1920,17 @@ function ee(e, t) {
1920
1920
  source: t == null ? t : oe(e, t)
1921
1921
  };
1922
1922
  }
1923
- function Ji(e) {
1924
- return ee(e.start.offset, e.end.offset);
1923
+ function Yi(e) {
1924
+ return te(e.start.offset, e.end.offset);
1925
1925
  }
1926
1926
  function qe(e, t) {
1927
1927
  e.end = J.getPos(t), e.source = oe(e.start.offset, t);
1928
1928
  }
1929
- function Yi(e) {
1929
+ function Xi(e) {
1930
1930
  const t = {
1931
1931
  type: 6,
1932
1932
  name: e.rawName,
1933
- nameLoc: ee(
1933
+ nameLoc: te(
1934
1934
  e.loc.start.offset,
1935
1935
  e.loc.start.offset + e.rawName.length
1936
1936
  ),
@@ -1947,19 +1947,19 @@ function Yi(e) {
1947
1947
  }
1948
1948
  return t;
1949
1949
  }
1950
- function _t(e, t = !1, s, n = 0, r = 0) {
1951
- return A(e, t, s, n);
1950
+ function Ct(e, t = !1, s, n = 0, r = 0) {
1951
+ return $(e, t, s, n);
1952
1952
  }
1953
1953
  function de(e, t, s) {
1954
1954
  F.onError(
1955
- K(e, ee(t, t), void 0, s)
1955
+ K(e, te(t, t), void 0, s)
1956
1956
  );
1957
1957
  }
1958
- function Xi() {
1958
+ function Qi() {
1959
1959
  J.reset(), le = null, P = null, fe = "", Oe = -1, He = -1, Y.length = 0;
1960
1960
  }
1961
- function Qi(e, t) {
1962
- if (Xi(), Ae = e, F = Le({}, Rn), t) {
1961
+ function Zi(e, t) {
1962
+ if (Qi(), Ae = e, F = Le({}, Mn), t) {
1963
1963
  let r;
1964
1964
  for (r in t)
1965
1965
  t[r] != null && (F[r] = t[r]);
@@ -1970,25 +1970,25 @@ function Qi(e, t) {
1970
1970
  );
1971
1971
  J.mode = F.parseMode === "html" ? 1 : F.parseMode === "sfc" ? 2 : 0, J.inXML = F.ns === 1 || F.ns === 2;
1972
1972
  const s = t && t.delimiters;
1973
- s && (J.delimiterOpen = At(s[0]), J.delimiterClose = At(s[1]));
1973
+ s && (J.delimiterOpen = $t(s[0]), J.delimiterClose = $t(s[1]));
1974
1974
  const n = ht = Ei([], e);
1975
- return J.parse(Ae), n.loc = ee(0, e.length), n.children = Ln(n.children), ht = null, n;
1975
+ return J.parse(Ae), n.loc = te(0, e.length), n.children = Pn(n.children), ht = null, n;
1976
1976
  }
1977
- function Zi(e, t) {
1978
- Ct(
1977
+ function eo(e, t) {
1978
+ Tt(
1979
1979
  e,
1980
1980
  void 0,
1981
1981
  t,
1982
1982
  // Root node is unfortunately non-hoistable due to potential parent
1983
1983
  // fallthrough attributes.
1984
- !!Fn(e)
1984
+ !!Bn(e)
1985
1985
  );
1986
1986
  }
1987
- function Fn(e) {
1987
+ function Bn(e) {
1988
1988
  const t = e.children.filter((s) => s.type !== 3);
1989
- return t.length === 1 && t[0].type === 1 && !Rt(t[0]) ? t[0] : null;
1989
+ return t.length === 1 && t[0].type === 1 && !Mt(t[0]) ? t[0] : null;
1990
1990
  }
1991
- function Ct(e, t, s, n = !1, r = !1) {
1991
+ function Tt(e, t, s, n = !1, r = !1) {
1992
1992
  const { children: i } = e, o = [];
1993
1993
  for (let u = 0; u < i.length; u++) {
1994
1994
  const f = i[u];
@@ -2003,8 +2003,8 @@ function Ct(e, t, s, n = !1, r = !1) {
2003
2003
  const x = f.codegenNode;
2004
2004
  if (x.type === 13) {
2005
2005
  const y = x.patchFlag;
2006
- if ((y === void 0 || y === 512 || y === 1) && jn(f, s) >= 2) {
2007
- const O = Un(f);
2006
+ if ((y === void 0 || y === 512 || y === 1) && Un(f, s) >= 2) {
2007
+ const O = Hn(f);
2008
2008
  O && (x.props = s.hoist(O));
2009
2009
  }
2010
2010
  x.dynamicProps && (x.dynamicProps = s.hoist(x.dynamicProps));
@@ -2018,12 +2018,12 @@ function Ct(e, t, s, n = !1, r = !1) {
2018
2018
  }
2019
2019
  if (f.type === 1) {
2020
2020
  const h = f.tagType === 1;
2021
- h && s.scopes.vSlot++, Ct(f, e, s, !1, r), h && s.scopes.vSlot--;
2021
+ h && s.scopes.vSlot++, Tt(f, e, s, !1, r), h && s.scopes.vSlot--;
2022
2022
  } else if (f.type === 11)
2023
- Ct(f, e, s, f.children.length === 1, !0);
2023
+ Tt(f, e, s, f.children.length === 1, !0);
2024
2024
  else if (f.type === 9)
2025
2025
  for (let h = 0; h < f.branches.length; h++)
2026
- Ct(
2026
+ Tt(
2027
2027
  f.branches[h],
2028
2028
  e,
2029
2029
  s,
@@ -2054,9 +2054,9 @@ function Ct(e, t, s, n = !1, r = !1) {
2054
2054
  for (const u of o)
2055
2055
  l.push(s.cached.length), u.codegenNode = s.cache(u.codegenNode);
2056
2056
  l.length && e.type === 1 && e.tagType === 1 && e.codegenNode && e.codegenNode.type === 13 && e.codegenNode.children && !Ce(e.codegenNode.children) && e.codegenNode.children.type === 15 && e.codegenNode.children.properties.push(
2057
- Z(
2057
+ ee(
2058
2058
  "__",
2059
- A(JSON.stringify(l), !1)
2059
+ $(JSON.stringify(l), !1)
2060
2060
  )
2061
2061
  );
2062
2062
  function c(u) {
@@ -2087,7 +2087,7 @@ function ve(e, t) {
2087
2087
  return 0;
2088
2088
  if (r.patchFlag === void 0) {
2089
2089
  let o = 3;
2090
- const a = jn(e, t);
2090
+ const a = Un(e, t);
2091
2091
  if (a === 0)
2092
2092
  return s.set(e, 0), 0;
2093
2093
  a < o && (o = a);
@@ -2148,25 +2148,25 @@ function ve(e, t) {
2148
2148
  return process.env.NODE_ENV, 0;
2149
2149
  }
2150
2150
  }
2151
- const eo = /* @__PURE__ */ new Set([
2152
- _s,
2151
+ const to = /* @__PURE__ */ new Set([
2152
+ Ns,
2153
2153
  Cs,
2154
2154
  ut,
2155
2155
  gt
2156
2156
  ]);
2157
- function Bn(e, t) {
2158
- if (e.type === 14 && !re(e.callee) && eo.has(e.callee)) {
2157
+ function jn(e, t) {
2158
+ if (e.type === 14 && !re(e.callee) && to.has(e.callee)) {
2159
2159
  const s = e.arguments[0];
2160
2160
  if (s.type === 4)
2161
2161
  return ve(s, t);
2162
2162
  if (s.type === 14)
2163
- return Bn(s, t);
2163
+ return jn(s, t);
2164
2164
  }
2165
2165
  return 0;
2166
2166
  }
2167
- function jn(e, t) {
2167
+ function Un(e, t) {
2168
2168
  let s = 3;
2169
- const n = Un(e);
2169
+ const n = Hn(e);
2170
2170
  if (n && n.type === 15) {
2171
2171
  const { properties: r } = n;
2172
2172
  for (let i = 0; i < r.length; i++) {
@@ -2175,19 +2175,19 @@ function jn(e, t) {
2175
2175
  return l;
2176
2176
  l < s && (s = l);
2177
2177
  let c;
2178
- if (a.type === 4 ? c = ve(a, t) : a.type === 14 ? c = Bn(a, t) : c = 0, c === 0)
2178
+ if (a.type === 4 ? c = ve(a, t) : a.type === 14 ? c = jn(a, t) : c = 0, c === 0)
2179
2179
  return c;
2180
2180
  c < s && (s = c);
2181
2181
  }
2182
2182
  }
2183
2183
  return s;
2184
2184
  }
2185
- function Un(e) {
2185
+ function Hn(e) {
2186
2186
  const t = e.codegenNode;
2187
2187
  if (t.type === 13)
2188
2188
  return t.props;
2189
2189
  }
2190
- function to(e, {
2190
+ function so(e, {
2191
2191
  filename: t = "",
2192
2192
  prefixIdentifiers: s = !1,
2193
2193
  hoistStatic: n = !1,
@@ -2204,11 +2204,11 @@ function to(e, {
2204
2204
  ssr: x = !1,
2205
2205
  inSSR: y = !1,
2206
2206
  ssrCssVars: O = "",
2207
- bindingMetadata: N = Xr,
2207
+ bindingMetadata: _ = Qr,
2208
2208
  inline: R = !1,
2209
2209
  isTS: w = !1,
2210
- onError: k = As,
2211
- onWarn: C = In,
2210
+ onError: E = As,
2211
+ onWarn: C = Dn,
2212
2212
  compatConfig: T
2213
2213
  }) {
2214
2214
  const I = t.replace(/\?.*$/, "").match(/([^/\\]+)\.\w+$/), S = {
@@ -2230,10 +2230,10 @@ function to(e, {
2230
2230
  ssr: x,
2231
2231
  inSSR: y,
2232
2232
  ssrCssVars: O,
2233
- bindingMetadata: N,
2233
+ bindingMetadata: _,
2234
2234
  inline: R,
2235
2235
  isTS: w,
2236
- onError: k,
2236
+ onError: E,
2237
2237
  onWarn: C,
2238
2238
  compatConfig: T,
2239
2239
  // state
@@ -2259,72 +2259,72 @@ function to(e, {
2259
2259
  childIndex: 0,
2260
2260
  inVOnce: !1,
2261
2261
  // methods
2262
- helper(_) {
2263
- const H = S.helpers.get(_) || 0;
2264
- return S.helpers.set(_, H + 1), _;
2262
+ helper(N) {
2263
+ const H = S.helpers.get(N) || 0;
2264
+ return S.helpers.set(N, H + 1), N;
2265
2265
  },
2266
- removeHelper(_) {
2267
- const H = S.helpers.get(_);
2266
+ removeHelper(N) {
2267
+ const H = S.helpers.get(N);
2268
2268
  if (H) {
2269
2269
  const B = H - 1;
2270
- B ? S.helpers.set(_, B) : S.helpers.delete(_);
2270
+ B ? S.helpers.set(N, B) : S.helpers.delete(N);
2271
2271
  }
2272
2272
  },
2273
- helperString(_) {
2274
- return `_${Ze[S.helper(_)]}`;
2273
+ helperString(N) {
2274
+ return `_${Ze[S.helper(N)]}`;
2275
2275
  },
2276
- replaceNode(_) {
2276
+ replaceNode(N) {
2277
2277
  if (process.env.NODE_ENV !== "production") {
2278
2278
  if (!S.currentNode)
2279
2279
  throw new Error("Node being replaced is already removed.");
2280
2280
  if (!S.parent)
2281
2281
  throw new Error("Cannot replace root node.");
2282
2282
  }
2283
- S.parent.children[S.childIndex] = S.currentNode = _;
2283
+ S.parent.children[S.childIndex] = S.currentNode = N;
2284
2284
  },
2285
- removeNode(_) {
2285
+ removeNode(N) {
2286
2286
  if (process.env.NODE_ENV !== "production" && !S.parent)
2287
2287
  throw new Error("Cannot remove root node.");
2288
- const H = S.parent.children, B = _ ? H.indexOf(_) : S.currentNode ? S.childIndex : -1;
2288
+ const H = S.parent.children, B = N ? H.indexOf(N) : S.currentNode ? S.childIndex : -1;
2289
2289
  if (process.env.NODE_ENV !== "production" && B < 0)
2290
2290
  throw new Error("node being removed is not a child of current parent");
2291
- !_ || _ === S.currentNode ? (S.currentNode = null, S.onNodeRemoved()) : S.childIndex > B && (S.childIndex--, S.onNodeRemoved()), S.parent.children.splice(B, 1);
2291
+ !N || N === S.currentNode ? (S.currentNode = null, S.onNodeRemoved()) : S.childIndex > B && (S.childIndex--, S.onNodeRemoved()), S.parent.children.splice(B, 1);
2292
2292
  },
2293
2293
  onNodeRemoved: Gt,
2294
- addIdentifiers(_) {
2294
+ addIdentifiers(N) {
2295
2295
  },
2296
- removeIdentifiers(_) {
2296
+ removeIdentifiers(N) {
2297
2297
  },
2298
- hoist(_) {
2299
- re(_) && (_ = A(_)), S.hoists.push(_);
2300
- const H = A(
2298
+ hoist(N) {
2299
+ re(N) && (N = $(N)), S.hoists.push(N);
2300
+ const H = $(
2301
2301
  `_hoisted_${S.hoists.length}`,
2302
2302
  !1,
2303
- _.loc,
2303
+ N.loc,
2304
2304
  2
2305
2305
  );
2306
- return H.hoisted = _, H;
2306
+ return H.hoisted = N, H;
2307
2307
  },
2308
- cache(_, H = !1, B = !1) {
2309
- const $ = ki(
2308
+ cache(N, H = !1, B = !1) {
2309
+ const V = wi(
2310
2310
  S.cached.length,
2311
- _,
2311
+ N,
2312
2312
  H,
2313
2313
  B
2314
2314
  );
2315
- return S.cached.push($), $;
2315
+ return S.cached.push(V), V;
2316
2316
  }
2317
2317
  };
2318
2318
  return S.filters = /* @__PURE__ */ new Set(), S;
2319
2319
  }
2320
- function so(e, t) {
2321
- const s = to(e, t);
2322
- Bt(e, s), t.hoistStatic && Zi(e, s), t.ssr || no(e, s), e.helpers = /* @__PURE__ */ new Set([...s.helpers.keys()]), e.components = [...s.components], e.directives = [...s.directives], e.imports = s.imports, e.hoists = s.hoists, e.temps = s.temps, e.cached = s.cached, e.transformed = !0, e.filters = [...s.filters];
2323
- }
2324
2320
  function no(e, t) {
2321
+ const s = so(e, t);
2322
+ jt(e, s), t.hoistStatic && eo(e, s), t.ssr || ro(e, s), e.helpers = /* @__PURE__ */ new Set([...s.helpers.keys()]), e.components = [...s.components], e.directives = [...s.directives], e.imports = s.imports, e.hoists = s.hoists, e.temps = s.temps, e.cached = s.cached, e.transformed = !0, e.filters = [...s.filters];
2323
+ }
2324
+ function ro(e, t) {
2325
2325
  const { helper: s } = t, { children: n } = e;
2326
2326
  if (n.length === 1) {
2327
- const r = Fn(e);
2327
+ const r = Bn(e);
2328
2328
  if (r && r.codegenNode) {
2329
2329
  const i = r.codegenNode;
2330
2330
  i.type === 13 && Ds(i, t), e.codegenNode = i;
@@ -2346,17 +2346,17 @@ function no(e, t) {
2346
2346
  );
2347
2347
  }
2348
2348
  }
2349
- function ro(e, t) {
2349
+ function io(e, t) {
2350
2350
  let s = 0;
2351
2351
  const n = () => {
2352
2352
  s--;
2353
2353
  };
2354
2354
  for (; s < e.children.length; s++) {
2355
2355
  const r = e.children[s];
2356
- re(r) || (t.grandParent = t.parent, t.parent = e, t.childIndex = s, t.onNodeRemoved = n, Bt(r, t));
2356
+ re(r) || (t.grandParent = t.parent, t.parent = e, t.childIndex = s, t.onNodeRemoved = n, jt(r, t));
2357
2357
  }
2358
2358
  }
2359
- function Bt(e, t) {
2359
+ function jt(e, t) {
2360
2360
  t.currentNode = e;
2361
2361
  const { nodeTransforms: s } = t, n = [];
2362
2362
  for (let i = 0; i < s.length; i++) {
@@ -2371,18 +2371,18 @@ function Bt(e, t) {
2371
2371
  t.ssr || t.helper(mt);
2372
2372
  break;
2373
2373
  case 5:
2374
- t.ssr || t.helper(Ft);
2374
+ t.ssr || t.helper(Bt);
2375
2375
  break;
2376
2376
  // for container types, further traverse downwards
2377
2377
  case 9:
2378
2378
  for (let i = 0; i < e.branches.length; i++)
2379
- Bt(e.branches[i], t);
2379
+ jt(e.branches[i], t);
2380
2380
  break;
2381
2381
  case 10:
2382
2382
  case 11:
2383
2383
  case 1:
2384
2384
  case 0:
2385
- ro(e, t);
2385
+ io(e, t);
2386
2386
  break;
2387
2387
  }
2388
2388
  t.currentNode = e;
@@ -2390,12 +2390,12 @@ function Bt(e, t) {
2390
2390
  for (; r--; )
2391
2391
  n[r]();
2392
2392
  }
2393
- function Hn(e, t) {
2393
+ function zn(e, t) {
2394
2394
  const s = re(e) ? (n) => n === e : (n) => e.test(n);
2395
2395
  return (n, r) => {
2396
2396
  if (n.type === 1) {
2397
2397
  const { props: i } = n;
2398
- if (n.tagType === 3 && i.some(Mi))
2398
+ if (n.tagType === 3 && i.some(Li))
2399
2399
  return;
2400
2400
  const o = [];
2401
2401
  for (let a = 0; a < i.length; a++) {
@@ -2410,8 +2410,8 @@ function Hn(e, t) {
2410
2410
  }
2411
2411
  };
2412
2412
  }
2413
- const jt = "/*@__PURE__*/", zn = (e) => `${Ze[e]}: _${Ze[e]}`;
2414
- function io(e, {
2413
+ const Ut = "/*@__PURE__*/", qn = (e) => `${Ze[e]}: _${Ze[e]}`;
2414
+ function oo(e, {
2415
2415
  mode: t = "function",
2416
2416
  prefixIdentifiers: s = t === "module",
2417
2417
  sourceMap: n = !1,
@@ -2449,7 +2449,7 @@ function io(e, {
2449
2449
  helper(y) {
2450
2450
  return `_${Ze[y]}`;
2451
2451
  },
2452
- push(y, O = -2, N) {
2452
+ push(y, O = -2, _) {
2453
2453
  h.code += y;
2454
2454
  },
2455
2455
  indent() {
@@ -2472,8 +2472,8 @@ function io(e, {
2472
2472
  }
2473
2473
  return h;
2474
2474
  }
2475
- function oo(e, t = {}) {
2476
- const s = io(e, t);
2475
+ function ao(e, t = {}) {
2476
+ const s = oo(e, t);
2477
2477
  t.onContextCreated && t.onContextCreated(s);
2478
2478
  const {
2479
2479
  mode: n,
@@ -2485,10 +2485,10 @@ function oo(e, t = {}) {
2485
2485
  scopeId: c,
2486
2486
  ssr: m
2487
2487
  } = s, u = Array.from(e.helpers), f = u.length > 0, h = !i && n !== "module";
2488
- ao(e, s);
2489
- const y = m ? "ssrRender" : "render", N = (m ? ["_ctx", "_push", "_parent", "_attrs"] : ["_ctx", "_cache"]).join(", ");
2490
- if (r(`function ${y}(${N}) {`), o(), h && (r("with (_ctx) {"), o(), f && (r(
2491
- `const { ${u.map(zn).join(", ")} } = _Vue
2488
+ lo(e, s);
2489
+ const y = m ? "ssrRender" : "render", _ = (m ? ["_ctx", "_push", "_parent", "_attrs"] : ["_ctx", "_cache"]).join(", ");
2490
+ if (r(`function ${y}(${_}) {`), o(), h && (r("with (_ctx) {"), o(), f && (r(
2491
+ `const { ${u.map(qn).join(", ")} } = _Vue
2492
2492
  `,
2493
2493
  -1
2494
2494
  /* End */
@@ -2509,7 +2509,7 @@ function oo(e, t = {}) {
2509
2509
  map: s.map ? s.map.toJSON() : void 0
2510
2510
  };
2511
2511
  }
2512
- function ao(e, t) {
2512
+ function lo(e, t) {
2513
2513
  const {
2514
2514
  ssr: s,
2515
2515
  prefixIdentifiers: n,
@@ -2530,8 +2530,8 @@ function ao(e, t) {
2530
2530
  ys,
2531
2531
  mt,
2532
2532
  bs,
2533
- _n
2534
- ].filter((f) => m.includes(f)).map(zn).join(", ");
2533
+ Cn
2534
+ ].filter((f) => m.includes(f)).map(qn).join(", ");
2535
2535
  r(
2536
2536
  `const { ${u} } = _Vue
2537
2537
  `,
@@ -2539,11 +2539,11 @@ function ao(e, t) {
2539
2539
  /* End */
2540
2540
  );
2541
2541
  }
2542
- lo(e.hoists, t), i(), r("return ");
2542
+ co(e.hoists, t), i(), r("return ");
2543
2543
  }
2544
2544
  function Yt(e, t, { helper: s, push: n, newline: r, isTS: i }) {
2545
2545
  const o = s(
2546
- t === "filter" ? ws : t === "component" ? xs : ks
2546
+ t === "filter" ? ws : t === "component" ? xs : Es
2547
2547
  );
2548
2548
  for (let a = 0; a < e.length; a++) {
2549
2549
  let l = e[a];
@@ -2553,7 +2553,7 @@ function Yt(e, t, { helper: s, push: n, newline: r, isTS: i }) {
2553
2553
  ), a < e.length - 1 && r();
2554
2554
  }
2555
2555
  }
2556
- function lo(e, t) {
2556
+ function co(e, t) {
2557
2557
  if (!e.length)
2558
2558
  return;
2559
2559
  t.pure = !0;
@@ -2565,11 +2565,11 @@ function lo(e, t) {
2565
2565
  }
2566
2566
  t.pure = !1;
2567
2567
  }
2568
- function co(e) {
2568
+ function uo(e) {
2569
2569
  return re(e) || e.type === 4 || e.type === 2 || e.type === 5 || e.type === 8;
2570
2570
  }
2571
2571
  function Rs(e, t) {
2572
- const s = e.length > 3 || process.env.NODE_ENV !== "production" && e.some((n) => Ce(n) || !co(n));
2572
+ const s = e.length > 3 || process.env.NODE_ENV !== "production" && e.some((n) => Ce(n) || !uo(n));
2573
2573
  t.push("["), s && t.indent(), vt(e, t, s), s && t.deindent(), t.push("]");
2574
2574
  }
2575
2575
  function vt(e, t, s = !1, n = !0) {
@@ -2600,49 +2600,49 @@ function ce(e, t) {
2600
2600
  case 1:
2601
2601
  case 9:
2602
2602
  case 11:
2603
- process.env.NODE_ENV !== "production" && Ks(
2603
+ process.env.NODE_ENV !== "production" && Ws(
2604
2604
  e.codegenNode != null,
2605
2605
  "Codegen node is missing for element/if/for node. Apply appropriate transforms first."
2606
2606
  ), ce(e.codegenNode, t);
2607
2607
  break;
2608
2608
  case 2:
2609
- uo(e, t);
2609
+ fo(e, t);
2610
2610
  break;
2611
2611
  case 4:
2612
- qn(e, t);
2612
+ Kn(e, t);
2613
2613
  break;
2614
2614
  case 5:
2615
- fo(e, t);
2615
+ po(e, t);
2616
2616
  break;
2617
2617
  case 12:
2618
2618
  ce(e.codegenNode, t);
2619
2619
  break;
2620
2620
  case 8:
2621
- Kn(e, t);
2621
+ Wn(e, t);
2622
2622
  break;
2623
2623
  case 3:
2624
- ho(e, t);
2624
+ mo(e, t);
2625
2625
  break;
2626
2626
  case 13:
2627
- mo(e, t);
2627
+ go(e, t);
2628
2628
  break;
2629
2629
  case 14:
2630
- vo(e, t);
2630
+ yo(e, t);
2631
2631
  break;
2632
2632
  case 15:
2633
- yo(e, t);
2633
+ bo(e, t);
2634
2634
  break;
2635
2635
  case 17:
2636
- bo(e, t);
2636
+ xo(e, t);
2637
2637
  break;
2638
2638
  case 18:
2639
- xo(e, t);
2639
+ ko(e, t);
2640
2640
  break;
2641
2641
  case 19:
2642
2642
  Eo(e, t);
2643
2643
  break;
2644
2644
  case 20:
2645
- ko(e, t);
2645
+ wo(e, t);
2646
2646
  break;
2647
2647
  case 21:
2648
2648
  vt(e.body, t, !0, !1);
@@ -2663,13 +2663,13 @@ function ce(e, t) {
2663
2663
  break;
2664
2664
  default:
2665
2665
  if (process.env.NODE_ENV !== "production")
2666
- return Ks(!1, `unhandled codegen node type: ${e.type}`), e;
2666
+ return Ws(!1, `unhandled codegen node type: ${e.type}`), e;
2667
2667
  }
2668
2668
  }
2669
- function uo(e, t) {
2669
+ function fo(e, t) {
2670
2670
  t.push(JSON.stringify(e.content), -3, e);
2671
2671
  }
2672
- function qn(e, t) {
2672
+ function Kn(e, t) {
2673
2673
  const { content: s, isStatic: n } = e;
2674
2674
  t.push(
2675
2675
  n ? JSON.stringify(s) : s,
@@ -2677,11 +2677,11 @@ function qn(e, t) {
2677
2677
  e
2678
2678
  );
2679
2679
  }
2680
- function fo(e, t) {
2680
+ function po(e, t) {
2681
2681
  const { push: s, helper: n, pure: r } = t;
2682
- r && s(jt), s(`${n(Ft)}(`), ce(e.content, t), s(")");
2682
+ r && s(Ut), s(`${n(Bt)}(`), ce(e.content, t), s(")");
2683
2683
  }
2684
- function Kn(e, t) {
2684
+ function Wn(e, t) {
2685
2685
  for (let s = 0; s < e.children.length; s++) {
2686
2686
  const n = e.children[s];
2687
2687
  re(n) ? t.push(
@@ -2691,25 +2691,25 @@ function Kn(e, t) {
2691
2691
  ) : ce(n, t);
2692
2692
  }
2693
2693
  }
2694
- function po(e, t) {
2694
+ function ho(e, t) {
2695
2695
  const { push: s } = t;
2696
2696
  if (e.type === 8)
2697
- s("["), Kn(e, t), s("]");
2697
+ s("["), Wn(e, t), s("]");
2698
2698
  else if (e.isStatic) {
2699
- const n = Vs(e.content) ? e.content : JSON.stringify(e.content);
2699
+ const n = $s(e.content) ? e.content : JSON.stringify(e.content);
2700
2700
  s(n, -2, e);
2701
2701
  } else
2702
2702
  s(`[${e.content}]`, -3, e);
2703
2703
  }
2704
- function ho(e, t) {
2704
+ function mo(e, t) {
2705
2705
  const { push: s, helper: n, pure: r } = t;
2706
- r && s(jt), s(
2706
+ r && s(Ut), s(
2707
2707
  `${n(mt)}(${JSON.stringify(e.content)})`,
2708
2708
  -3,
2709
2709
  e
2710
2710
  );
2711
2711
  }
2712
- function mo(e, t) {
2712
+ function go(e, t) {
2713
2713
  const { push: s, helper: n, pure: r } = t, {
2714
2714
  tag: i,
2715
2715
  props: o,
@@ -2727,29 +2727,29 @@ function mo(e, t) {
2727
2727
  if (l < 0)
2728
2728
  x = l + ` /* ${at[l]} */`;
2729
2729
  else {
2730
- const O = Object.keys(at).map(Number).filter((N) => N > 0 && l & N).map((N) => at[N]).join(", ");
2730
+ const O = Object.keys(at).map(Number).filter((_) => _ > 0 && l & _).map((_) => at[_]).join(", ");
2731
2731
  x = l + ` /* ${O} */`;
2732
2732
  }
2733
2733
  else
2734
2734
  x = String(l);
2735
- m && s(n(Ss) + "("), u && s(`(${n(Je)}(${f ? "true" : ""}), `), r && s(jt);
2735
+ m && s(n(Ss) + "("), u && s(`(${n(Je)}(${f ? "true" : ""}), `), r && s(Ut);
2736
2736
  const y = u ? st(t.inSSR, h) : tt(t.inSSR, h);
2737
2737
  s(n(y) + "(", -2, e), vt(
2738
- go([i, o, a, x, c]),
2738
+ vo([i, o, a, x, c]),
2739
2739
  t
2740
2740
  ), s(")"), u && s(")"), m && (s(", "), ce(m, t), s(")"));
2741
2741
  }
2742
- function go(e) {
2742
+ function vo(e) {
2743
2743
  let t = e.length;
2744
2744
  for (; t-- && e[t] == null; )
2745
2745
  ;
2746
2746
  return e.slice(0, t + 1).map((s) => s || "null");
2747
2747
  }
2748
- function vo(e, t) {
2748
+ function yo(e, t) {
2749
2749
  const { push: s, helper: n, pure: r } = t, i = re(e.callee) ? e.callee : n(e.callee);
2750
- r && s(jt), s(i + "(", -2, e), vt(e.arguments, t), s(")");
2750
+ r && s(Ut), s(i + "(", -2, e), vt(e.arguments, t), s(")");
2751
2751
  }
2752
- function yo(e, t) {
2752
+ function bo(e, t) {
2753
2753
  const { push: s, indent: n, deindent: r, newline: i } = t, { properties: o } = e;
2754
2754
  if (!o.length) {
2755
2755
  s("{}", -2, e);
@@ -2759,22 +2759,22 @@ function yo(e, t) {
2759
2759
  s(a ? "{" : "{ "), a && n();
2760
2760
  for (let l = 0; l < o.length; l++) {
2761
2761
  const { key: c, value: m } = o[l];
2762
- po(c, t), s(": "), ce(m, t), l < o.length - 1 && (s(","), i());
2762
+ ho(c, t), s(": "), ce(m, t), l < o.length - 1 && (s(","), i());
2763
2763
  }
2764
2764
  a && r(), s(a ? "}" : " }");
2765
2765
  }
2766
- function bo(e, t) {
2766
+ function xo(e, t) {
2767
2767
  Rs(e.elements, t);
2768
2768
  }
2769
- function xo(e, t) {
2769
+ function ko(e, t) {
2770
2770
  const { push: s, indent: n, deindent: r } = t, { params: i, returns: o, body: a, newline: l, isSlot: c } = e;
2771
2771
  c && s(`_${Ze[Os]}(`), s("(", -2, e), Ce(i) ? vt(i, t) : i && ce(i, t), s(") => "), (l || a) && (s("{"), n()), o ? (l && s("return "), Ce(o) ? Rs(o, t) : ce(o, t)) : a && ce(a, t), (l || a) && (r(), s("}")), c && (e.isNonScopedSlot && s(", undefined, true"), s(")"));
2772
2772
  }
2773
2773
  function Eo(e, t) {
2774
2774
  const { test: s, consequent: n, alternate: r, newline: i } = e, { push: o, indent: a, deindent: l, newline: c } = t;
2775
2775
  if (s.type === 4) {
2776
- const u = !Vs(s.content);
2777
- u && o("("), qn(s, t), u && o(")");
2776
+ const u = !$s(s.content);
2777
+ u && o("("), Kn(s, t), u && o(")");
2778
2778
  } else
2779
2779
  o("("), ce(s, t), o(")");
2780
2780
  i && a(), t.indentLevel++, i || o(" "), o("? "), ce(n, t), t.indentLevel--, i && c(), i || o(" "), o(": ");
@@ -2784,13 +2784,13 @@ function Eo(e, t) {
2784
2784
  /* without newline */
2785
2785
  );
2786
2786
  }
2787
- function ko(e, t) {
2787
+ function wo(e, t) {
2788
2788
  const { push: s, helper: n, indent: r, deindent: i, newline: o } = t, { needPauseTracking: a, needArraySpread: l } = e;
2789
- l && s("[...("), s(`_cache[${e.index}] || (`), a && (r(), s(`${n(Dt)}(-1`), e.inVOnce && s(", true"), s("),"), o(), s("(")), s(`_cache[${e.index}] = `), ce(e.value, t), a && (s(`).cacheIndex = ${e.index},`), o(), s(`${n(Dt)}(1),`), o(), s(`_cache[${e.index}]`), i()), s(")"), l && s(")]");
2789
+ l && s("[...("), s(`_cache[${e.index}] || (`), a && (r(), s(`${n(At)}(-1`), e.inVOnce && s(", true"), s("),"), o(), s("(")), s(`_cache[${e.index}] = `), ce(e.value, t), a && (s(`).cacheIndex = ${e.index},`), o(), s(`${n(At)}(1),`), o(), s(`_cache[${e.index}]`), i()), s(")"), l && s(")]");
2790
2790
  }
2791
- const wo = new RegExp(
2791
+ const So = new RegExp(
2792
2792
  "\\b" + "arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b") + "\\b"
2793
- ), So = /'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;
2793
+ ), _o = /'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;
2794
2794
  function Ke(e, t, s = !1, n = !1) {
2795
2795
  const r = e.content;
2796
2796
  if (r.trim())
@@ -2800,7 +2800,7 @@ function Ke(e, t, s = !1, n = !1) {
2800
2800
  );
2801
2801
  } catch (i) {
2802
2802
  let o = i.message;
2803
- const a = r.replace(So, "").match(wo);
2803
+ const a = r.replace(_o, "").match(So);
2804
2804
  a && (o = `avoid using JavaScript keyword as property name: "${a[0]}"`), t.onError(
2805
2805
  K(
2806
2806
  45,
@@ -2837,9 +2837,9 @@ const No = (e, t) => {
2837
2837
  function Xt(e, t, s = !1, n = !1, r = Object.create(t.identifiers)) {
2838
2838
  return process.env.NODE_ENV !== "production" && Ke(e, t, s, n), e;
2839
2839
  }
2840
- const _o = Hn(
2840
+ const Co = zn(
2841
2841
  /^(if|else|else-if)$/,
2842
- (e, t, s) => Co(e, t, s, (n, r, i) => {
2842
+ (e, t, s) => To(e, t, s, (n, r, i) => {
2843
2843
  const o = s.parent.children;
2844
2844
  let a = o.indexOf(n), l = 0;
2845
2845
  for (; a-- >= 0; ) {
@@ -2848,14 +2848,14 @@ const _o = Hn(
2848
2848
  }
2849
2849
  return () => {
2850
2850
  if (i)
2851
- n.codegenNode = Zs(
2851
+ n.codegenNode = en(
2852
2852
  r,
2853
2853
  l,
2854
2854
  s
2855
2855
  );
2856
2856
  else {
2857
- const c = Oo(n.codegenNode);
2858
- c.alternate = Zs(
2857
+ const c = Io(n.codegenNode);
2858
+ c.alternate = en(
2859
2859
  r,
2860
2860
  l + n.branches.length - 1,
2861
2861
  s
@@ -2864,17 +2864,17 @@ const _o = Hn(
2864
2864
  };
2865
2865
  })
2866
2866
  );
2867
- function Co(e, t, s, n) {
2867
+ function To(e, t, s, n) {
2868
2868
  if (t.name !== "else" && (!t.exp || !t.exp.content.trim())) {
2869
2869
  const r = t.exp ? t.exp.loc : e.loc;
2870
2870
  s.onError(
2871
2871
  K(28, t.loc)
2872
- ), t.exp = A("true", !1, r);
2872
+ ), t.exp = $("true", !1, r);
2873
2873
  }
2874
2874
  if (process.env.NODE_ENV !== "production" && t.exp && Ke(t.exp, s), t.name === "if") {
2875
- const r = Qs(e, t), i = {
2875
+ const r = Zs(e, t), i = {
2876
2876
  type: 9,
2877
- loc: Ji(e.loc),
2877
+ loc: Yi(e.loc),
2878
2878
  branches: [r]
2879
2879
  };
2880
2880
  if (s.replaceNode(i), n)
@@ -2896,12 +2896,12 @@ function Co(e, t, s, n) {
2896
2896
  t.name === "else-if" && a.branches[a.branches.length - 1].condition === void 0 && s.onError(
2897
2897
  K(30, e.loc)
2898
2898
  ), s.removeNode();
2899
- const l = Qs(e, t);
2899
+ const l = Zs(e, t);
2900
2900
  if (process.env.NODE_ENV !== "production" && i.length && // #3619 ignore comments if the v-if is direct child of <transition>
2901
2901
  !(s.parent && s.parent.type === 1 && (s.parent.tag === "transition" || s.parent.tag === "Transition")) && (l.children = [...i, ...l.children]), process.env.NODE_ENV !== "production") {
2902
2902
  const m = l.userKey;
2903
2903
  m && a.branches.forEach(({ userKey: u }) => {
2904
- To(u, m) && s.onError(
2904
+ Oo(u, m) && s.onError(
2905
2905
  K(
2906
2906
  29,
2907
2907
  l.userKey.loc
@@ -2911,7 +2911,7 @@ function Co(e, t, s, n) {
2911
2911
  }
2912
2912
  a.branches.push(l);
2913
2913
  const c = n && n(a, l, !1);
2914
- Bt(l, s), c && c(), s.currentNode = null;
2914
+ jt(l, s), c && c(), s.currentNode = null;
2915
2915
  } else
2916
2916
  s.onError(
2917
2917
  K(30, e.loc)
@@ -2920,7 +2920,7 @@ function Co(e, t, s, n) {
2920
2920
  }
2921
2921
  }
2922
2922
  }
2923
- function Qs(e, t) {
2923
+ function Zs(e, t) {
2924
2924
  const s = e.tagType === 3;
2925
2925
  return {
2926
2926
  type: 10,
@@ -2931,22 +2931,22 @@ function Qs(e, t) {
2931
2931
  isTemplateIf: s
2932
2932
  };
2933
2933
  }
2934
- function Zs(e, t, s) {
2934
+ function en(e, t, s) {
2935
2935
  return e.condition ? ss(
2936
2936
  e.condition,
2937
- en(e, t, s),
2937
+ tn(e, t, s),
2938
2938
  // make sure to pass in asBlock: true so that the comment node call
2939
2939
  // closes the current block.
2940
2940
  se(s.helper(mt), [
2941
2941
  process.env.NODE_ENV !== "production" ? '"v-if"' : '""',
2942
2942
  "true"
2943
2943
  ])
2944
- ) : en(e, t, s);
2944
+ ) : tn(e, t, s);
2945
2945
  }
2946
- function en(e, t, s) {
2947
- const { helper: n } = s, r = Z(
2946
+ function tn(e, t, s) {
2947
+ const { helper: n } = s, r = ee(
2948
2948
  "key",
2949
- A(
2949
+ $(
2950
2950
  `${t}`,
2951
2951
  !1,
2952
2952
  ye,
@@ -2956,7 +2956,7 @@ function en(e, t, s) {
2956
2956
  if (i.length !== 1 || o.type !== 1)
2957
2957
  if (i.length === 1 && o.type === 11) {
2958
2958
  const l = o.codegenNode;
2959
- return Mt(l, r, s), l;
2959
+ return Lt(l, r, s), l;
2960
2960
  } else {
2961
2961
  let l = 64;
2962
2962
  return process.env.NODE_ENV !== "production" && !e.isTemplateIf && i.filter((c) => c.type !== 3).length === 1 && (l |= 2048), dt(
@@ -2974,11 +2974,11 @@ function en(e, t, s) {
2974
2974
  );
2975
2975
  }
2976
2976
  else {
2977
- const l = o.codegenNode, c = Pi(l);
2978
- return c.type === 13 && Ds(c, s), Mt(c, r, s), l;
2977
+ const l = o.codegenNode, c = Fi(l);
2978
+ return c.type === 13 && Ds(c, s), Lt(c, r, s), l;
2979
2979
  }
2980
2980
  }
2981
- function To(e, t) {
2981
+ function Oo(e, t) {
2982
2982
  if (!e || e.type !== t.type)
2983
2983
  return !1;
2984
2984
  if (e.type === 6) {
@@ -2991,7 +2991,7 @@ function To(e, t) {
2991
2991
  }
2992
2992
  return !0;
2993
2993
  }
2994
- function Oo(e) {
2994
+ function Io(e) {
2995
2995
  for (; ; )
2996
2996
  if (e.type === 19)
2997
2997
  if (e.alternate.type === 19)
@@ -3000,7 +3000,7 @@ function Oo(e) {
3000
3000
  return e;
3001
3001
  else e.type === 20 && (e = e.value);
3002
3002
  }
3003
- const Io = (e, t, s) => {
3003
+ const Do = (e, t, s) => {
3004
3004
  const { modifiers: n, loc: r } = e, i = e.arg;
3005
3005
  let { exp: o } = e;
3006
3006
  if (o && o.type === 4 && !o.content.trim() && (o = void 0), !o) {
@@ -3012,30 +3012,30 @@ const Io = (e, t, s) => {
3012
3012
  )
3013
3013
  ), {
3014
3014
  props: [
3015
- Z(i, A("", !0, r))
3015
+ ee(i, $("", !0, r))
3016
3016
  ]
3017
3017
  };
3018
- Wn(e), o = e.exp;
3018
+ Gn(e), o = e.exp;
3019
3019
  }
3020
- return i.type !== 4 ? (i.children.unshift("("), i.children.push(') || ""')) : i.isStatic || (i.content = i.content ? `${i.content} || ""` : '""'), n.some((a) => a.content === "camel") && (i.type === 4 ? i.isStatic ? i.content = Pe(i.content) : i.content = `${s.helperString(es)}(${i.content})` : (i.children.unshift(`${s.helperString(es)}(`), i.children.push(")"))), s.inSSR || (n.some((a) => a.content === "prop") && tn(i, "."), n.some((a) => a.content === "attr") && tn(i, "^")), {
3021
- props: [Z(i, o)]
3020
+ return i.type !== 4 ? (i.children.unshift("("), i.children.push(') || ""')) : i.isStatic || (i.content = i.content ? `${i.content} || ""` : '""'), n.some((a) => a.content === "camel") && (i.type === 4 ? i.isStatic ? i.content = Pe(i.content) : i.content = `${s.helperString(es)}(${i.content})` : (i.children.unshift(`${s.helperString(es)}(`), i.children.push(")"))), s.inSSR || (n.some((a) => a.content === "prop") && sn(i, "."), n.some((a) => a.content === "attr") && sn(i, "^")), {
3021
+ props: [ee(i, o)]
3022
3022
  };
3023
- }, Wn = (e, t) => {
3023
+ }, Gn = (e, t) => {
3024
3024
  const s = e.arg, n = Pe(s.content);
3025
- e.exp = A(n, !1, s.loc);
3026
- }, tn = (e, t) => {
3025
+ e.exp = $(n, !1, s.loc);
3026
+ }, sn = (e, t) => {
3027
3027
  e.type === 4 ? e.isStatic ? e.content = t + e.content : e.content = `\`${t}\${${e.content}}\`` : (e.children.unshift(`'${t}' + (`), e.children.push(")"));
3028
- }, Do = Hn(
3028
+ }, Ao = zn(
3029
3029
  "for",
3030
3030
  (e, t, s) => {
3031
3031
  const { helper: n, removeHelper: r } = s;
3032
- return Ao(e, t, s, (i) => {
3033
- const o = se(n(Ns), [
3032
+ return $o(e, t, s, (i) => {
3033
+ const o = se(n(_s), [
3034
3034
  i.source
3035
- ]), a = $t(e), l = pe(e, "memo"), c = ft(e, "key", !1, !0);
3036
- c && c.type === 7 && !c.exp && Wn(c);
3037
- let u = c && (c.type === 6 ? c.value ? A(c.value.content, !0) : void 0 : c.exp);
3038
- const f = c && u ? Z("key", u) : null, h = i.source.type === 4 && i.source.constType > 0, x = h ? 64 : c ? 128 : 256;
3035
+ ]), a = Rt(e), l = pe(e, "memo"), c = ft(e, "key", !1, !0);
3036
+ c && c.type === 7 && !c.exp && Gn(c);
3037
+ let u = c && (c.type === 6 ? c.value ? $(c.value.content, !0) : void 0 : c.exp);
3038
+ const f = c && u ? ee("key", u) : null, h = i.source.type === 4 && i.source.constType > 0, x = h ? 64 : c ? 128 : 256;
3039
3039
  return i.codegenNode = dt(
3040
3040
  s,
3041
3041
  n(ct),
@@ -3053,18 +3053,18 @@ const Io = (e, t, s) => {
3053
3053
  const { children: O } = i;
3054
3054
  process.env.NODE_ENV !== "production" && a && e.children.some((w) => {
3055
3055
  if (w.type === 1) {
3056
- const k = ft(w, "key");
3057
- if (k)
3056
+ const E = ft(w, "key");
3057
+ if (E)
3058
3058
  return s.onError(
3059
3059
  K(
3060
3060
  33,
3061
- k.loc
3061
+ E.loc
3062
3062
  )
3063
3063
  ), !0;
3064
3064
  }
3065
3065
  });
3066
- const N = O.length !== 1 || O[0].type !== 1, R = Rt(e) ? e : a && e.children.length === 1 && Rt(e.children[0]) ? e.children[0] : null;
3067
- if (R ? (y = R.codegenNode, a && f && Mt(y, f, s)) : N ? y = dt(
3066
+ const _ = O.length !== 1 || O[0].type !== 1, R = Mt(e) ? e : a && e.children.length === 1 && Mt(e.children[0]) ? e.children[0] : null;
3067
+ if (R ? (y = R.codegenNode, a && f && Lt(y, f, s)) : _ ? y = dt(
3068
3068
  s,
3069
3069
  n(ct),
3070
3070
  f ? xe([f]) : void 0,
@@ -3075,32 +3075,32 @@ const Io = (e, t, s) => {
3075
3075
  !0,
3076
3076
  void 0,
3077
3077
  !1
3078
- ) : (y = O[0].codegenNode, a && f && Mt(y, f, s), y.isBlock !== !h && (y.isBlock ? (r(Je), r(
3078
+ ) : (y = O[0].codegenNode, a && f && Lt(y, f, s), y.isBlock !== !h && (y.isBlock ? (r(Je), r(
3079
3079
  st(s.inSSR, y.isComponent)
3080
3080
  )) : r(
3081
3081
  tt(s.inSSR, y.isComponent)
3082
3082
  )), y.isBlock = !h, y.isBlock ? (n(Je), n(st(s.inSSR, y.isComponent))) : n(tt(s.inSSR, y.isComponent))), l) {
3083
3083
  const w = et(
3084
3084
  os(i.parseResult, [
3085
- A("_cached")
3085
+ $("_cached")
3086
3086
  ])
3087
3087
  );
3088
- w.body = wi([
3089
- Ne(["const _memo = (", l.exp, ")"]),
3090
- Ne([
3088
+ w.body = Si([
3089
+ _e(["const _memo = (", l.exp, ")"]),
3090
+ _e([
3091
3091
  "if (_cached",
3092
3092
  ...u ? [" && _cached.key === ", u] : [],
3093
3093
  ` && ${s.helperString(
3094
- On
3094
+ In
3095
3095
  )}(_cached, _memo)) return _cached`
3096
3096
  ]),
3097
- Ne(["const _item = ", y]),
3098
- A("_item.memo = _memo"),
3099
- A("return _item")
3097
+ _e(["const _item = ", y]),
3098
+ $("_item.memo = _memo"),
3099
+ $("return _item")
3100
3100
  ]), o.arguments.push(
3101
3101
  w,
3102
- A("_cache"),
3103
- A(String(s.cached.length))
3102
+ $("_cache"),
3103
+ $(String(s.cached.length))
3104
3104
  ), s.cached.push(null);
3105
3105
  } else
3106
3106
  o.arguments.push(
@@ -3114,7 +3114,7 @@ const Io = (e, t, s) => {
3114
3114
  });
3115
3115
  }
3116
3116
  );
3117
- function Ao(e, t, s, n) {
3117
+ function $o(e, t, s, n) {
3118
3118
  if (!t.exp) {
3119
3119
  s.onError(
3120
3120
  K(31, t.loc)
@@ -3128,7 +3128,7 @@ function Ao(e, t, s, n) {
3128
3128
  );
3129
3129
  return;
3130
3130
  }
3131
- Gn(r, s);
3131
+ Jn(r, s);
3132
3132
  const { addIdentifiers: i, removeIdentifiers: o, scopes: a } = s, { source: l, value: c, key: m, index: u } = r, f = {
3133
3133
  type: 11,
3134
3134
  loc: t.loc,
@@ -3137,7 +3137,7 @@ function Ao(e, t, s, n) {
3137
3137
  keyAlias: m,
3138
3138
  objectIndexAlias: u,
3139
3139
  parseResult: r,
3140
- children: $t(e) ? e.children : [e]
3140
+ children: Rt(e) ? e.children : [e]
3141
3141
  };
3142
3142
  s.replaceNode(f), a.vFor++;
3143
3143
  const h = n && n(f);
@@ -3145,7 +3145,7 @@ function Ao(e, t, s, n) {
3145
3145
  a.vFor--, h && h();
3146
3146
  };
3147
3147
  }
3148
- function Gn(e, t) {
3148
+ function Jn(e, t) {
3149
3149
  e.finalized || (process.env.NODE_ENV !== "production" && (Ke(e.source, t), e.key && Ke(
3150
3150
  e.key,
3151
3151
  t,
@@ -3167,9 +3167,9 @@ function Vo(e) {
3167
3167
  let t = e.length;
3168
3168
  for (; t-- && !e[t]; )
3169
3169
  ;
3170
- return e.slice(0, t + 1).map((s, n) => s || A("_".repeat(n + 1), !1));
3170
+ return e.slice(0, t + 1).map((s, n) => s || $("_".repeat(n + 1), !1));
3171
3171
  }
3172
- const sn = A("undefined", !1), $o = (e, t) => {
3172
+ const nn = $("undefined", !1), Ro = (e, t) => {
3173
3173
  if (e.type === 1 && (e.tagType === 1 || e.tagType === 3)) {
3174
3174
  const s = pe(e, "slot");
3175
3175
  if (s)
@@ -3177,24 +3177,24 @@ const sn = A("undefined", !1), $o = (e, t) => {
3177
3177
  t.scopes.vSlot--;
3178
3178
  };
3179
3179
  }
3180
- }, Ro = (e, t, s, n) => et(
3180
+ }, Mo = (e, t, s, n) => et(
3181
3181
  e,
3182
3182
  s,
3183
3183
  !1,
3184
3184
  !0,
3185
3185
  s.length ? s[0].loc : n
3186
3186
  );
3187
- function Mo(e, t, s = Ro) {
3187
+ function Lo(e, t, s = Mo) {
3188
3188
  t.helper(Os);
3189
3189
  const { children: n, loc: r } = e, i = [], o = [];
3190
3190
  let a = t.scopes.vSlot > 0 || t.scopes.vFor > 0;
3191
3191
  const l = pe(e, "slot", !0);
3192
3192
  if (l) {
3193
- const { arg: O, exp: N } = l;
3193
+ const { arg: O, exp: _ } = l;
3194
3194
  O && !he(O) && (a = !0), i.push(
3195
- Z(
3196
- O || A("default", !0),
3197
- s(N, void 0, n, r)
3195
+ ee(
3196
+ O || $("default", !0),
3197
+ s(_, void 0, n, r)
3198
3198
  )
3199
3199
  );
3200
3200
  }
@@ -3202,10 +3202,10 @@ function Mo(e, t, s = Ro) {
3202
3202
  const u = [], f = /* @__PURE__ */ new Set();
3203
3203
  let h = 0;
3204
3204
  for (let O = 0; O < n.length; O++) {
3205
- const N = n[O];
3205
+ const _ = n[O];
3206
3206
  let R;
3207
- if (!$t(N) || !(R = pe(N, "slot", !0))) {
3208
- N.type !== 3 && u.push(N);
3207
+ if (!Rt(_) || !(R = pe(_, "slot", !0))) {
3208
+ _.type !== 3 && u.push(_);
3209
3209
  continue;
3210
3210
  }
3211
3211
  if (l) {
@@ -3215,25 +3215,25 @@ function Mo(e, t, s = Ro) {
3215
3215
  break;
3216
3216
  }
3217
3217
  c = !0;
3218
- const { children: w, loc: k } = N, {
3219
- arg: C = A("default", !0),
3218
+ const { children: w, loc: E } = _, {
3219
+ arg: C = $("default", !0),
3220
3220
  exp: T,
3221
3221
  loc: I
3222
3222
  } = R;
3223
3223
  let S;
3224
3224
  he(C) ? S = C ? C.content : "default" : a = !0;
3225
- const _ = pe(N, "for"), H = s(T, _, w, k);
3226
- let B, $;
3227
- if (B = pe(N, "if"))
3225
+ const N = pe(_, "for"), H = s(T, N, w, E);
3226
+ let B, V;
3227
+ if (B = pe(_, "if"))
3228
3228
  a = !0, o.push(
3229
3229
  ss(
3230
3230
  B.exp,
3231
- kt(C, H, h++),
3232
- sn
3231
+ wt(C, H, h++),
3232
+ nn
3233
3233
  )
3234
3234
  );
3235
- else if ($ = pe(
3236
- N,
3235
+ else if (V = pe(
3236
+ _,
3237
3237
  /^else(-if)?$/,
3238
3238
  !0
3239
3239
  /* allowEmpty */
@@ -3241,39 +3241,39 @@ function Mo(e, t, s = Ro) {
3241
3241
  let z = O, W;
3242
3242
  for (; z-- && (W = n[z], !(W.type !== 3 && as(W))); )
3243
3243
  ;
3244
- if (W && $t(W) && pe(W, /^(else-)?if$/)) {
3244
+ if (W && Rt(W) && pe(W, /^(else-)?if$/)) {
3245
3245
  let G = o[o.length - 1];
3246
3246
  for (; G.alternate.type === 19; )
3247
3247
  G = G.alternate;
3248
- G.alternate = $.exp ? ss(
3249
- $.exp,
3250
- kt(
3248
+ G.alternate = V.exp ? ss(
3249
+ V.exp,
3250
+ wt(
3251
3251
  C,
3252
3252
  H,
3253
3253
  h++
3254
3254
  ),
3255
- sn
3256
- ) : kt(C, H, h++);
3255
+ nn
3256
+ ) : wt(C, H, h++);
3257
3257
  } else
3258
3258
  t.onError(
3259
- K(30, $.loc)
3259
+ K(30, V.loc)
3260
3260
  );
3261
- } else if (_) {
3261
+ } else if (N) {
3262
3262
  a = !0;
3263
- const z = _.forParseResult;
3264
- z ? (Gn(z, t), o.push(
3265
- se(t.helper(Ns), [
3263
+ const z = N.forParseResult;
3264
+ z ? (Jn(z, t), o.push(
3265
+ se(t.helper(_s), [
3266
3266
  z.source,
3267
3267
  et(
3268
3268
  os(z),
3269
- kt(C, H),
3269
+ wt(C, H),
3270
3270
  !0
3271
3271
  )
3272
3272
  ])
3273
3273
  )) : t.onError(
3274
3274
  K(
3275
3275
  32,
3276
- _.loc
3276
+ N.loc
3277
3277
  )
3278
3278
  );
3279
3279
  } else {
@@ -3289,18 +3289,18 @@ function Mo(e, t, s = Ro) {
3289
3289
  }
3290
3290
  f.add(S), S === "default" && (m = !0);
3291
3291
  }
3292
- i.push(Z(C, H));
3292
+ i.push(ee(C, H));
3293
3293
  }
3294
3294
  }
3295
3295
  if (!l) {
3296
- const O = (N, R) => {
3297
- const w = s(N, void 0, R, r);
3298
- return t.compatConfig && (w.isNonScopedSlot = !0), Z("default", w);
3296
+ const O = (_, R) => {
3297
+ const w = s(_, void 0, R, r);
3298
+ return t.compatConfig && (w.isNonScopedSlot = !0), ee("default", w);
3299
3299
  };
3300
3300
  c ? u.length && // #3766
3301
3301
  // with whitespace: 'preserve', whitespaces between slots will end up in
3302
3302
  // implicitDefaultChildren. Ignore if all implicit children are whitespaces.
3303
- u.some((N) => as(N)) && (m ? t.onError(
3303
+ u.some((_) => as(_)) && (m ? t.onError(
3304
3304
  K(
3305
3305
  39,
3306
3306
  u[0].loc
@@ -3309,22 +3309,22 @@ function Mo(e, t, s = Ro) {
3309
3309
  O(void 0, u)
3310
3310
  )) : i.push(O(void 0, n));
3311
3311
  }
3312
- const x = a ? 2 : Tt(e.children) ? 3 : 1;
3312
+ const x = a ? 2 : Ot(e.children) ? 3 : 1;
3313
3313
  let y = xe(
3314
3314
  i.concat(
3315
- Z(
3315
+ ee(
3316
3316
  "_",
3317
3317
  // 2 = compiled but dynamic = can skip normalization, but must run diff
3318
3318
  // 1 = compiled and static = can skip normalization AND diff as optimized
3319
- A(
3320
- x + (process.env.NODE_ENV !== "production" ? ` /* ${si[x]} */` : ""),
3319
+ $(
3320
+ x + (process.env.NODE_ENV !== "production" ? ` /* ${ni[x]} */` : ""),
3321
3321
  !1
3322
3322
  )
3323
3323
  )
3324
3324
  ),
3325
3325
  r
3326
3326
  );
3327
- return o.length && (y = se(t.helper(Tn), [
3327
+ return o.length && (y = se(t.helper(On), [
3328
3328
  y,
3329
3329
  We(o)
3330
3330
  ])), {
@@ -3332,29 +3332,29 @@ function Mo(e, t, s = Ro) {
3332
3332
  hasDynamicSlots: a
3333
3333
  };
3334
3334
  }
3335
- function kt(e, t, s) {
3335
+ function wt(e, t, s) {
3336
3336
  const n = [
3337
- Z("name", e),
3338
- Z("fn", t)
3337
+ ee("name", e),
3338
+ ee("fn", t)
3339
3339
  ];
3340
3340
  return s != null && n.push(
3341
- Z("key", A(String(s), !0))
3341
+ ee("key", $(String(s), !0))
3342
3342
  ), xe(n);
3343
3343
  }
3344
- function Tt(e) {
3344
+ function Ot(e) {
3345
3345
  for (let t = 0; t < e.length; t++) {
3346
3346
  const s = e[t];
3347
3347
  switch (s.type) {
3348
3348
  case 1:
3349
- if (s.tagType === 2 || Tt(s.children))
3349
+ if (s.tagType === 2 || Ot(s.children))
3350
3350
  return !0;
3351
3351
  break;
3352
3352
  case 9:
3353
- if (Tt(s.branches)) return !0;
3353
+ if (Ot(s.branches)) return !0;
3354
3354
  break;
3355
3355
  case 10:
3356
3356
  case 11:
3357
- if (Tt(s.children)) return !0;
3357
+ if (Ot(s.children)) return !0;
3358
3358
  break;
3359
3359
  }
3360
3360
  }
@@ -3363,12 +3363,12 @@ function Tt(e) {
3363
3363
  function as(e) {
3364
3364
  return e.type !== 2 && e.type !== 12 ? !0 : e.type === 2 ? !!e.content.trim() : as(e.content);
3365
3365
  }
3366
- const Jn = /* @__PURE__ */ new WeakMap(), Lo = (e, t) => function() {
3366
+ const Yn = /* @__PURE__ */ new WeakMap(), Po = (e, t) => function() {
3367
3367
  if (e = t.currentNode, !(e.type === 1 && (e.tagType === 0 || e.tagType === 1)))
3368
3368
  return;
3369
3369
  const { tag: n, props: r } = e, i = e.tagType === 1;
3370
- let o = i ? Po(e, t) : `"${n}"`;
3371
- const a = Qr(o) && o.callee === Es;
3370
+ let o = i ? Fo(e, t) : `"${n}"`;
3371
+ const a = Zr(o) && o.callee === ks;
3372
3372
  let l, c, m = 0, u, f, h, x = (
3373
3373
  // dynamic component may resolve to plain elements
3374
3374
  a || o === lt || o === gs || !i && // <svg> and <foreignObject> must be forced into blocks so that block
@@ -3378,7 +3378,7 @@ const Jn = /* @__PURE__ */ new WeakMap(), Lo = (e, t) => function() {
3378
3378
  (n === "svg" || n === "foreignObject" || n === "math")
3379
3379
  );
3380
3380
  if (r.length > 0) {
3381
- const y = Yn(
3381
+ const y = Xn(
3382
3382
  e,
3383
3383
  t,
3384
3384
  void 0,
@@ -3388,11 +3388,11 @@ const Jn = /* @__PURE__ */ new WeakMap(), Lo = (e, t) => function() {
3388
3388
  l = y.props, m = y.patchFlag, f = y.dynamicPropNames;
3389
3389
  const O = y.directives;
3390
3390
  h = O && O.length ? We(
3391
- O.map((N) => Bo(N, t))
3391
+ O.map((_) => jo(_, t))
3392
3392
  ) : void 0, y.shouldUseBlock && (x = !0);
3393
3393
  }
3394
3394
  if (e.children.length > 0)
3395
- if (o === Ot && (x = !0, m |= 1024, process.env.NODE_ENV !== "production" && e.children.length > 1 && t.onError(
3395
+ if (o === It && (x = !0, m |= 1024, process.env.NODE_ENV !== "production" && e.children.length > 1 && t.onError(
3396
3396
  K(46, {
3397
3397
  start: e.children[0].loc.start,
3398
3398
  end: e.children[e.children.length - 1].loc.end,
@@ -3400,15 +3400,15 @@ const Jn = /* @__PURE__ */ new WeakMap(), Lo = (e, t) => function() {
3400
3400
  })
3401
3401
  )), i && // Teleport is not a real component and has dedicated runtime handling
3402
3402
  o !== lt && // explained above.
3403
- o !== Ot) {
3404
- const { slots: O, hasDynamicSlots: N } = Mo(e, t);
3405
- c = O, N && (m |= 1024);
3403
+ o !== It) {
3404
+ const { slots: O, hasDynamicSlots: _ } = Lo(e, t);
3405
+ c = O, _ && (m |= 1024);
3406
3406
  } else if (e.children.length === 1 && o !== lt) {
3407
- const O = e.children[0], N = O.type, R = N === 5 || N === 8;
3408
- R && ve(O, t) === 0 && (m |= 1), R || N === 2 ? c = O : c = e.children;
3407
+ const O = e.children[0], _ = O.type, R = _ === 5 || _ === 8;
3408
+ R && ve(O, t) === 0 && (m |= 1), R || _ === 2 ? c = O : c = e.children;
3409
3409
  } else
3410
3410
  c = e.children;
3411
- f && f.length && (u = jo(f)), e.codegenNode = dt(
3411
+ f && f.length && (u = Uo(f)), e.codegenNode = dt(
3412
3412
  t,
3413
3413
  o,
3414
3414
  l,
@@ -3422,7 +3422,7 @@ const Jn = /* @__PURE__ */ new WeakMap(), Lo = (e, t) => function() {
3422
3422
  e.loc
3423
3423
  );
3424
3424
  };
3425
- function Po(e, t, s = !1) {
3425
+ function Fo(e, t, s = !1) {
3426
3426
  let { tag: n } = e;
3427
3427
  const r = ls(n), i = ft(
3428
3428
  e,
@@ -3437,47 +3437,47 @@ function Po(e, t, s = !1) {
3437
3437
  t
3438
3438
  )) {
3439
3439
  let a;
3440
- if (i.type === 6 ? a = i.value && A(i.value.content, !0) : (a = i.exp, a || (a = A("is", !1, i.arg.loc))), a)
3441
- return se(t.helper(Es), [
3440
+ if (i.type === 6 ? a = i.value && $(i.value.content, !0) : (a = i.exp, a || (a = $("is", !1, i.arg.loc))), a)
3441
+ return se(t.helper(ks), [
3442
3442
  a
3443
3443
  ]);
3444
3444
  } else i.type === 6 && i.value.content.startsWith("vue:") && (n = i.value.content.slice(4));
3445
- const o = Dn(n) || t.isBuiltInComponent(n);
3445
+ const o = An(n) || t.isBuiltInComponent(n);
3446
3446
  return o ? (s || t.helper(o), o) : (t.helper(xs), t.components.add(n), pt(n, "component"));
3447
3447
  }
3448
- function Yn(e, t, s = e.props, n, r, i = !1) {
3448
+ function Xn(e, t, s = e.props, n, r, i = !1) {
3449
3449
  const { tag: o, loc: a, children: l } = e;
3450
3450
  let c = [];
3451
3451
  const m = [], u = [], f = l.length > 0;
3452
- let h = !1, x = 0, y = !1, O = !1, N = !1, R = !1, w = !1, k = !1;
3452
+ let h = !1, x = 0, y = !1, O = !1, _ = !1, R = !1, w = !1, E = !1;
3453
3453
  const C = [], T = (H) => {
3454
3454
  c.length && (m.push(
3455
- xe(nn(c), a)
3455
+ xe(rn(c), a)
3456
3456
  ), c = []), H && m.push(H);
3457
3457
  }, I = () => {
3458
3458
  t.scopes.vFor > 0 && c.push(
3459
- Z(
3460
- A("ref_for", !0),
3461
- A("true")
3459
+ ee(
3460
+ $("ref_for", !0),
3461
+ $("true")
3462
3462
  )
3463
3463
  );
3464
3464
  }, S = ({ key: H, value: B }) => {
3465
3465
  if (he(H)) {
3466
- const $ = H.content, z = Zt($);
3466
+ const V = H.content, z = Zt(V);
3467
3467
  if (z && (!n || r) && // omit the flag for click handlers because hydration gives click
3468
3468
  // dedicated fast path.
3469
- $.toLowerCase() !== "onclick" && // omit v-model handlers
3470
- $ !== "onUpdate:modelValue" && // omit onVnodeXXX hooks
3471
- !Us($) && (R = !0), z && Us($) && (k = !0), z && B.type === 14 && (B = B.arguments[0]), B.type === 20 || (B.type === 4 || B.type === 8) && ve(B, t) > 0)
3469
+ V.toLowerCase() !== "onclick" && // omit v-model handlers
3470
+ V !== "onUpdate:modelValue" && // omit onVnodeXXX hooks
3471
+ !Hs(V) && (R = !0), z && Hs(V) && (E = !0), z && B.type === 14 && (B = B.arguments[0]), B.type === 20 || (B.type === 4 || B.type === 8) && ve(B, t) > 0)
3472
3472
  return;
3473
- $ === "ref" ? y = !0 : $ === "class" ? O = !0 : $ === "style" ? N = !0 : $ !== "key" && !C.includes($) && C.push($), n && ($ === "class" || $ === "style") && !C.includes($) && C.push($);
3473
+ V === "ref" ? y = !0 : V === "class" ? O = !0 : V === "style" ? _ = !0 : V !== "key" && !C.includes(V) && C.push(V), n && (V === "class" || V === "style") && !C.includes(V) && C.push(V);
3474
3474
  } else
3475
3475
  w = !0;
3476
3476
  };
3477
3477
  for (let H = 0; H < s.length; H++) {
3478
3478
  const B = s[H];
3479
3479
  if (B.type === 6) {
3480
- const { loc: $, name: z, nameLoc: W, value: G } = B;
3480
+ const { loc: V, name: z, nameLoc: W, value: G } = B;
3481
3481
  let me = !0;
3482
3482
  if (z === "ref" && (y = !0, I()), z === "is" && (ls(o) || G && G.content.startsWith("vue:") || Fe(
3483
3483
  "COMPILER_IS_ON_ELEMENT",
@@ -3485,37 +3485,37 @@ function Yn(e, t, s = e.props, n, r, i = !1) {
3485
3485
  )))
3486
3486
  continue;
3487
3487
  c.push(
3488
- Z(
3489
- A(z, !0, W),
3490
- A(
3488
+ ee(
3489
+ $(z, !0, W),
3490
+ $(
3491
3491
  G ? G.content : "",
3492
3492
  me,
3493
- G ? G.loc : $
3493
+ G ? G.loc : V
3494
3494
  )
3495
3495
  )
3496
3496
  );
3497
3497
  } else {
3498
- const { name: $, arg: z, exp: W, loc: G, modifiers: me } = B, _e = $ === "bind", Be = $ === "on";
3499
- if ($ === "slot") {
3498
+ const { name: V, arg: z, exp: W, loc: G, modifiers: me } = B, Ne = V === "bind", Be = V === "on";
3499
+ if (V === "slot") {
3500
3500
  n || t.onError(
3501
3501
  K(40, G)
3502
3502
  );
3503
3503
  continue;
3504
3504
  }
3505
- if ($ === "once" || $ === "memo" || $ === "is" || _e && Me(z, "is") && (ls(o) || Fe(
3505
+ if (V === "once" || V === "memo" || V === "is" || Ne && Me(z, "is") && (ls(o) || Fe(
3506
3506
  "COMPILER_IS_ON_ELEMENT",
3507
3507
  t
3508
3508
  )) || Be && i)
3509
3509
  continue;
3510
3510
  if (
3511
3511
  // #938: elements with dynamic keys should be forced into blocks
3512
- (_e && Me(z, "key") || // inline before-update hooks need to force block so that it is invoked
3512
+ (Ne && Me(z, "key") || // inline before-update hooks need to force block so that it is invoked
3513
3513
  // before children
3514
- Be && f && Me(z, "vue:before-update")) && (h = !0), _e && Me(z, "ref") && I(), !z && (_e || Be)
3514
+ Be && f && Me(z, "vue:before-update")) && (h = !0), Ne && Me(z, "ref") && I(), !z && (Ne || Be)
3515
3515
  ) {
3516
3516
  if (w = !0, W)
3517
- if (_e) {
3518
- if (T(), process.env.NODE_ENV !== "production" && m.some((Ee) => Ee.type === 15 ? Ee.properties.some(({ key: je }) => je.type !== 4 || !je.isStatic ? !0 : je.content !== "class" && je.content !== "style" && !Zt(je.content)) : !0) && nt(
3517
+ if (Ne) {
3518
+ if (T(), process.env.NODE_ENV !== "production" && m.some((ke) => ke.type === 15 ? ke.properties.some(({ key: je }) => je.type !== 4 || !je.isStatic ? !0 : je.content !== "class" && je.content !== "style" && !Zt(je.content)) : !0) && nt(
3519
3519
  "COMPILER_V_BIND_OBJECT_ORDER",
3520
3520
  t,
3521
3521
  G
@@ -3537,46 +3537,46 @@ function Yn(e, t, s = e.props, n, r, i = !1) {
3537
3537
  else
3538
3538
  t.onError(
3539
3539
  K(
3540
- _e ? 34 : 35,
3540
+ Ne ? 34 : 35,
3541
3541
  G
3542
3542
  )
3543
3543
  );
3544
3544
  continue;
3545
3545
  }
3546
- _e && me.some((Q) => Q.content === "prop") && (x |= 32);
3547
- const rt = t.directiveTransforms[$];
3546
+ Ne && me.some((Q) => Q.content === "prop") && (x |= 32);
3547
+ const rt = t.directiveTransforms[V];
3548
3548
  if (rt) {
3549
- const { props: Q, needRuntime: Ee } = rt(B, e, t);
3550
- !i && Q.forEach(S), Be && z && !he(z) ? T(xe(Q, a)) : c.push(...Q), Ee && (u.push(B), ps(Ee) && Jn.set(B, Ee));
3551
- } else Zr($) || (u.push(B), f && (h = !0));
3549
+ const { props: Q, needRuntime: ke } = rt(B, e, t);
3550
+ !i && Q.forEach(S), Be && z && !he(z) ? T(xe(Q, a)) : c.push(...Q), ke && (u.push(B), ps(ke) && Yn.set(B, ke));
3551
+ } else ei(V) || (u.push(B), f && (h = !0));
3552
3552
  }
3553
3553
  }
3554
- let _;
3555
- if (m.length ? (T(), m.length > 1 ? _ = se(
3556
- t.helper(It),
3554
+ let N;
3555
+ if (m.length ? (T(), m.length > 1 ? N = se(
3556
+ t.helper(Dt),
3557
3557
  m,
3558
3558
  a
3559
- ) : _ = m[0]) : c.length && (_ = xe(
3560
- nn(c),
3559
+ ) : N = m[0]) : c.length && (N = xe(
3560
+ rn(c),
3561
3561
  a
3562
- )), w ? x |= 16 : (O && !n && (x |= 2), N && !n && (x |= 4), C.length && (x |= 8), R && (x |= 32)), !h && (x === 0 || x === 32) && (y || k || u.length > 0) && (x |= 512), !t.inSSR && _)
3563
- switch (_.type) {
3562
+ )), w ? x |= 16 : (O && !n && (x |= 2), _ && !n && (x |= 4), C.length && (x |= 8), R && (x |= 32)), !h && (x === 0 || x === 32) && (y || E || u.length > 0) && (x |= 512), !t.inSSR && N)
3563
+ switch (N.type) {
3564
3564
  case 15:
3565
- let H = -1, B = -1, $ = !1;
3566
- for (let G = 0; G < _.properties.length; G++) {
3567
- const me = _.properties[G].key;
3568
- he(me) ? me.content === "class" ? H = G : me.content === "style" && (B = G) : me.isHandlerKey || ($ = !0);
3565
+ let H = -1, B = -1, V = !1;
3566
+ for (let G = 0; G < N.properties.length; G++) {
3567
+ const me = N.properties[G].key;
3568
+ he(me) ? me.content === "class" ? H = G : me.content === "style" && (B = G) : me.isHandlerKey || (V = !0);
3569
3569
  }
3570
- const z = _.properties[H], W = _.properties[B];
3571
- $ ? _ = se(
3570
+ const z = N.properties[H], W = N.properties[B];
3571
+ V ? N = se(
3572
3572
  t.helper(ut),
3573
- [_]
3573
+ [N]
3574
3574
  ) : (z && !he(z.value) && (z.value = se(
3575
- t.helper(_s),
3575
+ t.helper(Ns),
3576
3576
  [z.value]
3577
3577
  )), W && // the static style is compiled into an object,
3578
3578
  // so use `hasStyleBinding` to ensure that it is a dynamic style binding
3579
- (N || W.value.type === 4 && W.value.content.trim()[0] === "[" || // v-bind:style and style both exist,
3579
+ (_ || W.value.type === 4 && W.value.content.trim()[0] === "[" || // v-bind:style and style both exist,
3580
3580
  // v-bind:style with static literal object
3581
3581
  W.value.type === 17) && (W.value = se(
3582
3582
  t.helper(Cs),
@@ -3586,25 +3586,25 @@ function Yn(e, t, s = e.props, n, r, i = !1) {
3586
3586
  case 14:
3587
3587
  break;
3588
3588
  default:
3589
- _ = se(
3589
+ N = se(
3590
3590
  t.helper(ut),
3591
3591
  [
3592
3592
  se(t.helper(gt), [
3593
- _
3593
+ N
3594
3594
  ])
3595
3595
  ]
3596
3596
  );
3597
3597
  break;
3598
3598
  }
3599
3599
  return {
3600
- props: _,
3600
+ props: N,
3601
3601
  directives: u,
3602
3602
  patchFlag: x,
3603
3603
  dynamicPropNames: C,
3604
3604
  shouldUseBlock: h
3605
3605
  };
3606
3606
  }
3607
- function nn(e) {
3607
+ function rn(e) {
3608
3608
  const t = /* @__PURE__ */ new Map(), s = [];
3609
3609
  for (let n = 0; n < e.length; n++) {
3610
3610
  const r = e[n];
@@ -3613,27 +3613,27 @@ function nn(e) {
3613
3613
  continue;
3614
3614
  }
3615
3615
  const i = r.key.content, o = t.get(i);
3616
- o ? (i === "style" || i === "class" || Zt(i)) && Fo(o, r) : (t.set(i, r), s.push(r));
3616
+ o ? (i === "style" || i === "class" || Zt(i)) && Bo(o, r) : (t.set(i, r), s.push(r));
3617
3617
  }
3618
3618
  return s;
3619
3619
  }
3620
- function Fo(e, t) {
3620
+ function Bo(e, t) {
3621
3621
  e.value.type === 17 ? e.value.elements.push(t.value) : e.value = We(
3622
3622
  [e.value, t.value],
3623
3623
  e.loc
3624
3624
  );
3625
3625
  }
3626
- function Bo(e, t) {
3627
- const s = [], n = Jn.get(e);
3628
- n ? s.push(t.helperString(n)) : (t.helper(ks), t.directives.add(e.name), s.push(pt(e.name, "directive")));
3626
+ function jo(e, t) {
3627
+ const s = [], n = Yn.get(e);
3628
+ n ? s.push(t.helperString(n)) : (t.helper(Es), t.directives.add(e.name), s.push(pt(e.name, "directive")));
3629
3629
  const { loc: r } = e;
3630
3630
  if (e.exp && s.push(e.exp), e.arg && (e.exp || s.push("void 0"), s.push(e.arg)), Object.keys(e.modifiers).length) {
3631
3631
  e.arg || (e.exp || s.push("void 0"), s.push("void 0"));
3632
- const i = A("true", !1, r);
3632
+ const i = $("true", !1, r);
3633
3633
  s.push(
3634
3634
  xe(
3635
3635
  e.modifiers.map(
3636
- (o) => Z(o, i)
3636
+ (o) => ee(o, i)
3637
3637
  ),
3638
3638
  r
3639
3639
  )
@@ -3641,7 +3641,7 @@ function Bo(e, t) {
3641
3641
  }
3642
3642
  return We(s, e.loc);
3643
3643
  }
3644
- function jo(e) {
3644
+ function Uo(e) {
3645
3645
  let t = "[";
3646
3646
  for (let s = 0, n = e.length; s < n; s++)
3647
3647
  t += JSON.stringify(e[s]), s < n - 1 && (t += ", ");
@@ -3650,9 +3650,9 @@ function jo(e) {
3650
3650
  function ls(e) {
3651
3651
  return e === "component" || e === "Component";
3652
3652
  }
3653
- const Uo = (e, t) => {
3654
- if (Rt(e)) {
3655
- const { children: s, loc: n } = e, { slotName: r, slotProps: i } = Ho(e, t), o = [
3653
+ const Ho = (e, t) => {
3654
+ if (Mt(e)) {
3655
+ const { children: s, loc: n } = e, { slotName: r, slotProps: i } = zo(e, t), o = [
3656
3656
  t.prefixIdentifiers ? "_ctx.$slots" : "$slots",
3657
3657
  r,
3658
3658
  "{}",
@@ -3661,13 +3661,13 @@ const Uo = (e, t) => {
3661
3661
  ];
3662
3662
  let a = 2;
3663
3663
  i && (o[2] = i, a = 3), s.length && (o[3] = et([], s, !1, !1, n), a = 4), t.scopeId && !t.slotted && (a = 5), o.splice(a), e.codegenNode = se(
3664
- t.helper(Cn),
3664
+ t.helper(Tn),
3665
3665
  o,
3666
3666
  n
3667
3667
  );
3668
3668
  }
3669
3669
  };
3670
- function Ho(e, t) {
3670
+ function zo(e, t) {
3671
3671
  let s = '"default"', n;
3672
3672
  const r = [];
3673
3673
  for (let i = 0; i < e.props.length; i++) {
@@ -3679,13 +3679,13 @@ function Ho(e, t) {
3679
3679
  s = o.exp;
3680
3680
  else if (o.arg && o.arg.type === 4) {
3681
3681
  const a = Pe(o.arg.content);
3682
- s = o.exp = A(a, !1, o.arg.loc);
3682
+ s = o.exp = $(a, !1, o.arg.loc);
3683
3683
  }
3684
3684
  } else
3685
3685
  o.name === "bind" && o.arg && he(o.arg) && (o.arg.content = Pe(o.arg.content)), r.push(o);
3686
3686
  }
3687
3687
  if (r.length > 0) {
3688
- const { props: i, directives: o } = Yn(
3688
+ const { props: i, directives: o } = Xn(
3689
3689
  e,
3690
3690
  t,
3691
3691
  r,
@@ -3704,7 +3704,7 @@ function Ho(e, t) {
3704
3704
  slotProps: n
3705
3705
  };
3706
3706
  }
3707
- const Xn = (e, t, s, n) => {
3707
+ const Qn = (e, t, s, n) => {
3708
3708
  const { loc: r, modifiers: i, arg: o } = e;
3709
3709
  !e.exp && !i.length && s.onError(K(35, r));
3710
3710
  let a;
@@ -3715,15 +3715,15 @@ const Xn = (e, t, s, n) => {
3715
3715
  const f = t.tagType !== 0 || u.startsWith("vnode") || !/[A-Z]/.test(u) ? (
3716
3716
  // for non-element and vnode lifecycle event listeners, auto convert
3717
3717
  // it to camelCase. See issue #2249
3718
- ti(Pe(u))
3718
+ si(Pe(u))
3719
3719
  ) : (
3720
3720
  // preserve case for plain element listeners that have uppercase
3721
3721
  // letters, as these may be custom elements' custom events
3722
3722
  `on:${u}`
3723
3723
  );
3724
- a = A(f, !0, o.loc);
3724
+ a = $(f, !0, o.loc);
3725
3725
  } else
3726
- a = Ne([
3726
+ a = _e([
3727
3727
  `${s.helperString(ts)}(`,
3728
3728
  o,
3729
3729
  ")"
@@ -3734,13 +3734,13 @@ const Xn = (e, t, s, n) => {
3734
3734
  l && !l.content.trim() && (l = void 0);
3735
3735
  let c = s.cacheHandlers && !l && !s.inVOnce;
3736
3736
  if (l) {
3737
- const u = Vn(l), f = !(u || $i(l)), h = l.content.includes(";");
3737
+ const u = Vn(l), f = !(u || Ri(l)), h = l.content.includes(";");
3738
3738
  process.env.NODE_ENV !== "production" && Ke(
3739
3739
  l,
3740
3740
  s,
3741
3741
  !1,
3742
3742
  h
3743
- ), (f || c && u) && (l = Ne([
3743
+ ), (f || c && u) && (l = _e([
3744
3744
  `${f ? "$event" : "(...args)"} => ${h ? "{" : "("}`,
3745
3745
  l,
3746
3746
  h ? "}" : ")"
@@ -3748,14 +3748,14 @@ const Xn = (e, t, s, n) => {
3748
3748
  }
3749
3749
  let m = {
3750
3750
  props: [
3751
- Z(
3751
+ ee(
3752
3752
  a,
3753
- l || A("() => {}", !1, r)
3753
+ l || $("() => {}", !1, r)
3754
3754
  )
3755
3755
  ]
3756
3756
  };
3757
3757
  return n && (m = n(m)), c && (m.props[0].value = s.cache(m.props[0].value)), m.props.forEach((u) => u.key.isHandlerKey = !0), m;
3758
- }, zo = (e, t) => {
3758
+ }, qo = (e, t) => {
3759
3759
  if (e.type === 0 || e.type === 1 || e.type === 11 || e.type === 10)
3760
3760
  return () => {
3761
3761
  const s = e.children;
@@ -3767,7 +3767,7 @@ const Xn = (e, t, s, n) => {
3767
3767
  for (let a = i + 1; a < s.length; a++) {
3768
3768
  const l = s[a];
3769
3769
  if (Jt(l))
3770
- n || (n = s[i] = Ne(
3770
+ n || (n = s[i] = _e(
3771
3771
  [o],
3772
3772
  o.loc
3773
3773
  )), n.children.push(" + ", l), s.splice(a, 1), a--;
@@ -3808,9 +3808,9 @@ const Xn = (e, t, s, n) => {
3808
3808
  }
3809
3809
  }
3810
3810
  };
3811
- }, rn = /* @__PURE__ */ new WeakSet(), qo = (e, t) => {
3811
+ }, on = /* @__PURE__ */ new WeakSet(), Ko = (e, t) => {
3812
3812
  if (e.type === 1 && pe(e, "once", !0))
3813
- return rn.has(e) || t.inVOnce || t.inSSR ? void 0 : (rn.add(e), t.inVOnce = !0, t.helper(Dt), () => {
3813
+ return on.has(e) || t.inVOnce || t.inSSR ? void 0 : (on.add(e), t.inVOnce = !0, t.helper(At), () => {
3814
3814
  t.inVOnce = !1;
3815
3815
  const s = t.currentNode;
3816
3816
  s.codegenNode && (s.codegenNode = t.cache(
@@ -3819,39 +3819,39 @@ const Xn = (e, t, s, n) => {
3819
3819
  !0
3820
3820
  ));
3821
3821
  });
3822
- }, Qn = (e, t, s) => {
3822
+ }, Zn = (e, t, s) => {
3823
3823
  const { exp: n, arg: r } = e;
3824
3824
  if (!n)
3825
3825
  return s.onError(
3826
3826
  K(41, e.loc)
3827
- ), wt();
3827
+ ), St();
3828
3828
  const i = n.loc.source.trim(), o = n.type === 4 ? n.content : i, a = s.bindingMetadata[i];
3829
3829
  if (a === "props" || a === "props-aliased")
3830
- return s.onError(K(44, n.loc)), wt();
3830
+ return s.onError(K(44, n.loc)), St();
3831
3831
  if (!o.trim() || !Vn(n))
3832
3832
  return s.onError(
3833
3833
  K(42, n.loc)
3834
- ), wt();
3835
- const l = r || A("modelValue", !0), c = r ? he(r) ? `onUpdate:${Pe(r.content)}` : Ne(['"onUpdate:" + ', r]) : "onUpdate:modelValue";
3834
+ ), St();
3835
+ const l = r || $("modelValue", !0), c = r ? he(r) ? `onUpdate:${Pe(r.content)}` : _e(['"onUpdate:" + ', r]) : "onUpdate:modelValue";
3836
3836
  let m;
3837
3837
  const u = s.isTS ? "($event: any)" : "$event";
3838
- m = Ne([
3838
+ m = _e([
3839
3839
  `${u} => ((`,
3840
3840
  n,
3841
3841
  ") = $event)"
3842
3842
  ]);
3843
3843
  const f = [
3844
3844
  // modelValue: foo
3845
- Z(l, e.exp),
3845
+ ee(l, e.exp),
3846
3846
  // "onUpdate:modelValue": $event => (foo = $event)
3847
- Z(c, m)
3847
+ ee(c, m)
3848
3848
  ];
3849
3849
  if (e.modifiers.length && t.tagType === 1) {
3850
- const h = e.modifiers.map((y) => y.content).map((y) => (Vs(y) ? y : JSON.stringify(y)) + ": true").join(", "), x = r ? he(r) ? `${r.content}Modifiers` : Ne([r, ' + "Modifiers"']) : "modelModifiers";
3850
+ const h = e.modifiers.map((y) => y.content).map((y) => ($s(y) ? y : JSON.stringify(y)) + ": true").join(", "), x = r ? he(r) ? `${r.content}Modifiers` : _e([r, ' + "Modifiers"']) : "modelModifiers";
3851
3851
  f.push(
3852
- Z(
3852
+ ee(
3853
3853
  x,
3854
- A(
3854
+ $(
3855
3855
  `{ ${h} }`,
3856
3856
  !1,
3857
3857
  e.loc,
@@ -3860,26 +3860,26 @@ const Xn = (e, t, s, n) => {
3860
3860
  )
3861
3861
  );
3862
3862
  }
3863
- return wt(f);
3863
+ return St(f);
3864
3864
  };
3865
- function wt(e = []) {
3865
+ function St(e = []) {
3866
3866
  return { props: e };
3867
3867
  }
3868
- const Ko = /[\w).+\-_$\]]/, Wo = (e, t) => {
3869
- Fe("COMPILER_FILTERS", t) && (e.type === 5 ? Lt(e.content, t) : e.type === 1 && e.props.forEach((s) => {
3870
- s.type === 7 && s.name !== "for" && s.exp && Lt(s.exp, t);
3868
+ const Wo = /[\w).+\-_$\]]/, Go = (e, t) => {
3869
+ Fe("COMPILER_FILTERS", t) && (e.type === 5 ? Pt(e.content, t) : e.type === 1 && e.props.forEach((s) => {
3870
+ s.type === 7 && s.name !== "for" && s.exp && Pt(s.exp, t);
3871
3871
  }));
3872
3872
  };
3873
- function Lt(e, t) {
3873
+ function Pt(e, t) {
3874
3874
  if (e.type === 4)
3875
- on(e, t);
3875
+ an(e, t);
3876
3876
  else
3877
3877
  for (let s = 0; s < e.children.length; s++) {
3878
3878
  const n = e.children[s];
3879
- typeof n == "object" && (n.type === 4 ? on(n, t) : n.type === 8 ? Lt(e, t) : n.type === 5 && Lt(n.content, t));
3879
+ typeof n == "object" && (n.type === 4 ? an(n, t) : n.type === 8 ? Pt(e, t) : n.type === 5 && Pt(n.content, t));
3880
3880
  }
3881
3881
  }
3882
- function on(e, t) {
3882
+ function an(e, t) {
3883
3883
  const s = e.content;
3884
3884
  let n = !1, r = !1, i = !1, o = !1, a = 0, l = 0, c = 0, m = 0, u, f, h, x, y = [];
3885
3885
  for (h = 0; h < s.length; h++)
@@ -3933,10 +3933,10 @@ function on(e, t) {
3933
3933
  break;
3934
3934
  }
3935
3935
  if (u === 47) {
3936
- let N = h - 1, R;
3937
- for (; N >= 0 && (R = s.charAt(N), R === " "); N--)
3936
+ let _ = h - 1, R;
3937
+ for (; _ >= 0 && (R = s.charAt(_), R === " "); _--)
3938
3938
  ;
3939
- (!R || !Ko.test(R)) && (o = !0);
3939
+ (!R || !Wo.test(R)) && (o = !0);
3940
3940
  }
3941
3941
  }
3942
3942
  x === void 0 ? x = s.slice(0, h).trim() : m !== 0 && O();
@@ -3949,11 +3949,11 @@ function on(e, t) {
3949
3949
  t,
3950
3950
  e.loc
3951
3951
  ), h = 0; h < y.length; h++)
3952
- x = Go(x, y[h], t);
3952
+ x = Jo(x, y[h], t);
3953
3953
  e.content = x, e.ast = void 0;
3954
3954
  }
3955
3955
  }
3956
- function Go(e, t, s) {
3956
+ function Jo(e, t, s) {
3957
3957
  s.helper(ws);
3958
3958
  const n = t.indexOf("(");
3959
3959
  if (n < 0)
@@ -3963,10 +3963,10 @@ function Go(e, t, s) {
3963
3963
  return s.filters.add(r), `${pt(r, "filter")}(${e}${i !== ")" ? "," + i : i}`;
3964
3964
  }
3965
3965
  }
3966
- const an = /* @__PURE__ */ new WeakSet(), Jo = (e, t) => {
3966
+ const ln = /* @__PURE__ */ new WeakSet(), Yo = (e, t) => {
3967
3967
  if (e.type === 1) {
3968
3968
  const s = pe(e, "memo");
3969
- return !s || an.has(e) ? void 0 : (an.add(e), () => {
3969
+ return !s || ln.has(e) ? void 0 : (ln.add(e), () => {
3970
3970
  const n = e.codegenNode || t.currentNode.codegenNode;
3971
3971
  n && n.type === 13 && (e.tagType !== 1 && Ds(n, t), e.codegenNode = se(t.helper(Is), [
3972
3972
  s.exp,
@@ -3977,36 +3977,36 @@ const an = /* @__PURE__ */ new WeakSet(), Jo = (e, t) => {
3977
3977
  });
3978
3978
  }
3979
3979
  };
3980
- function Yo(e) {
3980
+ function Xo(e) {
3981
3981
  return [
3982
3982
  [
3983
- qo,
3984
- _o,
3985
- Jo,
3986
- Do,
3987
- Wo,
3983
+ Ko,
3984
+ Co,
3985
+ Yo,
3986
+ Ao,
3987
+ Go,
3988
3988
  ...process.env.NODE_ENV !== "production" ? [No] : [],
3989
- Uo,
3990
- Lo,
3991
- $o,
3992
- zo
3989
+ Ho,
3990
+ Po,
3991
+ Ro,
3992
+ qo
3993
3993
  ],
3994
3994
  {
3995
- on: Xn,
3996
- bind: Io,
3997
- model: Qn
3995
+ on: Qn,
3996
+ bind: Do,
3997
+ model: Zn
3998
3998
  }
3999
3999
  ];
4000
4000
  }
4001
- function Xo(e, t = {}) {
4001
+ function Qo(e, t = {}) {
4002
4002
  const s = t.onError || As, n = t.mode === "module";
4003
4003
  t.prefixIdentifiers === !0 ? s(K(47)) : n && s(K(48));
4004
4004
  const r = !1;
4005
4005
  t.cacheHandlers && s(K(49)), t.scopeId && !n && s(K(50));
4006
4006
  const i = Le({}, t, {
4007
4007
  prefixIdentifiers: r
4008
- }), o = re(e) ? Qi(e, i) : e, [a, l] = Yo();
4009
- return so(
4008
+ }), o = re(e) ? Zi(e, i) : e, [a, l] = Xo();
4009
+ return no(
4010
4010
  o,
4011
4011
  Le({}, i, {
4012
4012
  nodeTransforms: [
@@ -4021,55 +4021,55 @@ function Xo(e, t = {}) {
4021
4021
  // user transforms
4022
4022
  )
4023
4023
  })
4024
- ), oo(o, i);
4024
+ ), ao(o, i);
4025
4025
  }
4026
- const Qo = () => ({ props: [] });
4026
+ const Zo = () => ({ props: [] });
4027
4027
  /**
4028
4028
  * @vue/compiler-dom v3.5.18
4029
4029
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4030
4030
  * @license MIT
4031
4031
  **/
4032
- const Zn = Symbol(process.env.NODE_ENV !== "production" ? "vModelRadio" : ""), er = Symbol(
4032
+ const er = Symbol(process.env.NODE_ENV !== "production" ? "vModelRadio" : ""), tr = Symbol(
4033
4033
  process.env.NODE_ENV !== "production" ? "vModelCheckbox" : ""
4034
- ), tr = Symbol(process.env.NODE_ENV !== "production" ? "vModelText" : ""), sr = Symbol(
4034
+ ), sr = Symbol(process.env.NODE_ENV !== "production" ? "vModelText" : ""), nr = Symbol(
4035
4035
  process.env.NODE_ENV !== "production" ? "vModelSelect" : ""
4036
4036
  ), cs = Symbol(
4037
4037
  process.env.NODE_ENV !== "production" ? "vModelDynamic" : ""
4038
- ), nr = Symbol(
4039
- process.env.NODE_ENV !== "production" ? "vOnModifiersGuard" : ""
4040
4038
  ), rr = Symbol(
4039
+ process.env.NODE_ENV !== "production" ? "vOnModifiersGuard" : ""
4040
+ ), ir = Symbol(
4041
4041
  process.env.NODE_ENV !== "production" ? "vOnKeysGuard" : ""
4042
- ), ir = Symbol(process.env.NODE_ENV !== "production" ? "vShow" : ""), Ms = Symbol(process.env.NODE_ENV !== "production" ? "Transition" : ""), or = Symbol(
4042
+ ), or = Symbol(process.env.NODE_ENV !== "production" ? "vShow" : ""), Ms = Symbol(process.env.NODE_ENV !== "production" ? "Transition" : ""), ar = Symbol(
4043
4043
  process.env.NODE_ENV !== "production" ? "TransitionGroup" : ""
4044
4044
  );
4045
- xi({
4046
- [Zn]: "vModelRadio",
4047
- [er]: "vModelCheckbox",
4048
- [tr]: "vModelText",
4049
- [sr]: "vModelSelect",
4045
+ ki({
4046
+ [er]: "vModelRadio",
4047
+ [tr]: "vModelCheckbox",
4048
+ [sr]: "vModelText",
4049
+ [nr]: "vModelSelect",
4050
4050
  [cs]: "vModelDynamic",
4051
- [nr]: "withModifiers",
4052
- [rr]: "withKeys",
4053
- [ir]: "vShow",
4051
+ [rr]: "withModifiers",
4052
+ [ir]: "withKeys",
4053
+ [or]: "vShow",
4054
4054
  [Ms]: "Transition",
4055
- [or]: "TransitionGroup"
4055
+ [ar]: "TransitionGroup"
4056
4056
  });
4057
4057
  let Xe;
4058
- function Zo(e, t = !1) {
4058
+ function ea(e, t = !1) {
4059
4059
  return Xe || (Xe = document.createElement("div")), t ? (Xe.innerHTML = `<div foo="${e.replace(/"/g, "&quot;")}">`, Xe.children[0].getAttribute("foo")) : (Xe.innerHTML = e, Xe.textContent);
4060
4060
  }
4061
- const ea = {
4061
+ const ta = {
4062
4062
  parseMode: "html",
4063
- isVoidTag: hi,
4064
- isNativeTag: (e) => di(e) || fi(e) || pi(e),
4063
+ isVoidTag: mi,
4064
+ isNativeTag: (e) => fi(e) || pi(e) || hi(e),
4065
4065
  isPreTag: (e) => e === "pre",
4066
4066
  isIgnoreNewlineTag: (e) => e === "pre" || e === "textarea",
4067
- decodeEntities: Zo,
4067
+ decodeEntities: ea,
4068
4068
  isBuiltInComponent: (e) => {
4069
4069
  if (e === "Transition" || e === "transition")
4070
4070
  return Ms;
4071
4071
  if (e === "TransitionGroup" || e === "transition-group")
4072
- return or;
4072
+ return ar;
4073
4073
  },
4074
4074
  // https://html.spec.whatwg.org/multipage/parsing.html#tree-construction-dispatcher
4075
4075
  getNamespace(e, t, s) {
@@ -4091,20 +4091,20 @@ const ea = {
4091
4091
  }
4092
4092
  return n;
4093
4093
  }
4094
- }, ta = (e) => {
4094
+ }, sa = (e) => {
4095
4095
  e.type === 1 && e.props.forEach((t, s) => {
4096
4096
  t.type === 6 && t.name === "style" && t.value && (e.props[s] = {
4097
4097
  type: 7,
4098
4098
  name: "bind",
4099
- arg: A("style", !0, t.loc),
4100
- exp: sa(t.value.content, t.loc),
4099
+ arg: $("style", !0, t.loc),
4100
+ exp: na(t.value.content, t.loc),
4101
4101
  modifiers: [],
4102
4102
  loc: t.loc
4103
4103
  });
4104
4104
  });
4105
- }, sa = (e, t) => {
4106
- const s = oi(e);
4107
- return A(
4105
+ }, na = (e, t) => {
4106
+ const s = ai(e);
4107
+ return $(
4108
4108
  JSON.stringify(s),
4109
4109
  !1,
4110
4110
  t,
@@ -4115,10 +4115,10 @@ function we(e, t) {
4115
4115
  return K(
4116
4116
  e,
4117
4117
  t,
4118
- process.env.NODE_ENV !== "production" ? na : void 0
4118
+ process.env.NODE_ENV !== "production" ? ra : void 0
4119
4119
  );
4120
4120
  }
4121
- const na = {
4121
+ const ra = {
4122
4122
  53: "v-html is missing expression.",
4123
4123
  54: "v-html will override element children.",
4124
4124
  55: "v-text is missing expression.",
@@ -4130,7 +4130,7 @@ const na = {
4130
4130
  61: "v-show is missing expression.",
4131
4131
  62: "<Transition> expects exactly one child element or component.",
4132
4132
  63: "Tags with side effect (<script> and <style>) are ignored in client component templates."
4133
- }, ra = (e, t, s) => {
4133
+ }, ia = (e, t, s) => {
4134
4134
  const { exp: n, loc: r } = e;
4135
4135
  return n || s.onError(
4136
4136
  we(53, r)
@@ -4138,13 +4138,13 @@ const na = {
4138
4138
  we(54, r)
4139
4139
  ), t.children.length = 0), {
4140
4140
  props: [
4141
- Z(
4142
- A("innerHTML", !0, r),
4143
- n || A("", !0)
4141
+ ee(
4142
+ $("innerHTML", !0, r),
4143
+ n || $("", !0)
4144
4144
  )
4145
4145
  ]
4146
4146
  };
4147
- }, ia = (e, t, s) => {
4147
+ }, oa = (e, t, s) => {
4148
4148
  const { exp: n, loc: r } = e;
4149
4149
  return n || s.onError(
4150
4150
  we(55, r)
@@ -4152,18 +4152,18 @@ const na = {
4152
4152
  we(56, r)
4153
4153
  ), t.children.length = 0), {
4154
4154
  props: [
4155
- Z(
4156
- A("textContent", !0),
4155
+ ee(
4156
+ $("textContent", !0),
4157
4157
  n ? ve(n, s) > 0 ? n : se(
4158
- s.helperString(Ft),
4158
+ s.helperString(Bt),
4159
4159
  [n],
4160
4160
  r
4161
- ) : A("", !0)
4161
+ ) : $("", !0)
4162
4162
  )
4163
4163
  ]
4164
4164
  };
4165
- }, oa = (e, t, s) => {
4166
- const n = Qn(e, t, s);
4165
+ }, aa = (e, t, s) => {
4166
+ const n = Zn(e, t, s);
4167
4167
  if (!n.props.length || t.tagType === 1)
4168
4168
  return n;
4169
4169
  e.arg && s.onError(
@@ -4183,7 +4183,7 @@ const na = {
4183
4183
  }
4184
4184
  const { tag: i } = t, o = s.isCustomElement(i);
4185
4185
  if (i === "input" || i === "textarea" || i === "select" || o) {
4186
- let a = tr, l = !1;
4186
+ let a = sr, l = !1;
4187
4187
  if (i === "input" || o) {
4188
4188
  const c = ft(t, "type");
4189
4189
  if (c) {
@@ -4192,10 +4192,10 @@ const na = {
4192
4192
  else if (c.value)
4193
4193
  switch (c.value.content) {
4194
4194
  case "radio":
4195
- a = Zn;
4195
+ a = er;
4196
4196
  break;
4197
4197
  case "checkbox":
4198
- a = er;
4198
+ a = tr;
4199
4199
  break;
4200
4200
  case "file":
4201
4201
  l = !0, s.onError(
@@ -4209,8 +4209,8 @@ const na = {
4209
4209
  process.env.NODE_ENV !== "production" && r();
4210
4210
  break;
4211
4211
  }
4212
- } else Ri(t) ? a = cs : process.env.NODE_ENV !== "production" && r();
4213
- } else i === "select" ? a = sr : process.env.NODE_ENV !== "production" && r();
4212
+ } else Mi(t) ? a = cs : process.env.NODE_ENV !== "production" && r();
4213
+ } else i === "select" ? a = nr : process.env.NODE_ENV !== "production" && r();
4214
4214
  l || (n.needRuntime = s.helper(a));
4215
4215
  } else
4216
4216
  s.onError(
@@ -4222,10 +4222,10 @@ const na = {
4222
4222
  return n.props = n.props.filter(
4223
4223
  (a) => !(a.key.type === 4 && a.key.content === "modelValue")
4224
4224
  ), n;
4225
- }, aa = /* @__PURE__ */ Te("passive,once,capture"), la = /* @__PURE__ */ Te(
4225
+ }, la = /* @__PURE__ */ Te("passive,once,capture"), ca = /* @__PURE__ */ Te(
4226
4226
  // event propagation management
4227
4227
  "stop,prevent,self,ctrl,shift,alt,meta,exact,middle"
4228
- ), ca = /* @__PURE__ */ Te("left,right"), ar = /* @__PURE__ */ Te("onkeyup,onkeydown,onkeypress"), ua = (e, t, s, n) => {
4228
+ ), ua = /* @__PURE__ */ Te("left,right"), lr = /* @__PURE__ */ Te("onkeyup,onkeydown,onkeypress"), da = (e, t, s, n) => {
4229
4229
  const r = [], i = [], o = [];
4230
4230
  for (let a = 0; a < t.length; a++) {
4231
4231
  const l = t[a].content;
@@ -4233,52 +4233,52 @@ const na = {
4233
4233
  "COMPILER_V_ON_NATIVE",
4234
4234
  s,
4235
4235
  n
4236
- ) || aa(l) ? o.push(l) : ca(l) ? he(e) ? ar(e.content.toLowerCase()) ? r.push(l) : i.push(l) : (r.push(l), i.push(l)) : la(l) ? i.push(l) : r.push(l);
4236
+ ) || la(l) ? o.push(l) : ua(l) ? he(e) ? lr(e.content.toLowerCase()) ? r.push(l) : i.push(l) : (r.push(l), i.push(l)) : ca(l) ? i.push(l) : r.push(l);
4237
4237
  }
4238
4238
  return {
4239
4239
  keyModifiers: r,
4240
4240
  nonKeyModifiers: i,
4241
4241
  eventOptionModifiers: o
4242
4242
  };
4243
- }, ln = (e, t) => he(e) && e.content.toLowerCase() === "onclick" ? A(t, !0) : e.type !== 4 ? Ne([
4243
+ }, cn = (e, t) => he(e) && e.content.toLowerCase() === "onclick" ? $(t, !0) : e.type !== 4 ? _e([
4244
4244
  "(",
4245
4245
  e,
4246
4246
  `) === "onClick" ? "${t}" : (`,
4247
4247
  e,
4248
4248
  ")"
4249
- ]) : e, da = (e, t, s) => Xn(e, t, s, (n) => {
4249
+ ]) : e, fa = (e, t, s) => Qn(e, t, s, (n) => {
4250
4250
  const { modifiers: r } = e;
4251
4251
  if (!r.length) return n;
4252
4252
  let { key: i, value: o } = n.props[0];
4253
- const { keyModifiers: a, nonKeyModifiers: l, eventOptionModifiers: c } = ua(i, r, s, e.loc);
4254
- if (l.includes("right") && (i = ln(i, "onContextmenu")), l.includes("middle") && (i = ln(i, "onMouseup")), l.length && (o = se(s.helper(nr), [
4253
+ const { keyModifiers: a, nonKeyModifiers: l, eventOptionModifiers: c } = da(i, r, s, e.loc);
4254
+ if (l.includes("right") && (i = cn(i, "onContextmenu")), l.includes("middle") && (i = cn(i, "onMouseup")), l.length && (o = se(s.helper(rr), [
4255
4255
  o,
4256
4256
  JSON.stringify(l)
4257
4257
  ])), a.length && // if event name is dynamic, always wrap with keys guard
4258
- (!he(i) || ar(i.content.toLowerCase())) && (o = se(s.helper(rr), [
4258
+ (!he(i) || lr(i.content.toLowerCase())) && (o = se(s.helper(ir), [
4259
4259
  o,
4260
4260
  JSON.stringify(a)
4261
4261
  ])), c.length) {
4262
4262
  const m = c.map(ms).join("");
4263
- i = he(i) ? A(`${i.content}${m}`, !0) : Ne(["(", i, `) + "${m}"`]);
4263
+ i = he(i) ? $(`${i.content}${m}`, !0) : _e(["(", i, `) + "${m}"`]);
4264
4264
  }
4265
4265
  return {
4266
- props: [Z(i, o)]
4266
+ props: [ee(i, o)]
4267
4267
  };
4268
- }), fa = (e, t, s) => {
4268
+ }), pa = (e, t, s) => {
4269
4269
  const { exp: n, loc: r } = e;
4270
4270
  return n || s.onError(
4271
4271
  we(61, r)
4272
4272
  ), {
4273
4273
  props: [],
4274
- needRuntime: s.helper(ir)
4274
+ needRuntime: s.helper(or)
4275
4275
  };
4276
- }, pa = (e, t) => {
4276
+ }, ha = (e, t) => {
4277
4277
  if (e.type === 1 && e.tagType === 1 && t.isBuiltInComponent(e.tag) === Ms)
4278
4278
  return () => {
4279
4279
  if (!e.children.length)
4280
4280
  return;
4281
- lr(e) && t.onError(
4281
+ cr(e) && t.onError(
4282
4282
  we(
4283
4283
  62,
4284
4284
  {
@@ -4300,13 +4300,13 @@ const na = {
4300
4300
  });
4301
4301
  };
4302
4302
  };
4303
- function lr(e) {
4303
+ function cr(e) {
4304
4304
  const t = e.children = e.children.filter(
4305
4305
  (n) => n.type !== 3 && !(n.type === 2 && !n.content.trim())
4306
4306
  ), s = t[0];
4307
- return t.length !== 1 || s.type === 11 || s.type === 9 && s.branches.some(lr);
4307
+ return t.length !== 1 || s.type === 11 || s.type === 9 && s.branches.some(cr);
4308
4308
  }
4309
- const ha = (e, t) => {
4309
+ const ma = (e, t) => {
4310
4310
  e.type === 1 && e.tagType === 0 && (e.tag === "script" || e.tag === "style") && (process.env.NODE_ENV !== "production" && t.onError(
4311
4311
  we(
4312
4312
  63,
@@ -4314,10 +4314,10 @@ const ha = (e, t) => {
4314
4314
  )
4315
4315
  ), t.removeNode());
4316
4316
  };
4317
- function ma(e, t) {
4318
- return e === "template" ? !0 : e in cn ? cn[e].has(t) : t in un ? un[t].has(e) : !(e in dn && dn[e].has(t) || t in fn && fn[t].has(e));
4317
+ function ga(e, t) {
4318
+ return e === "template" ? !0 : e in un ? un[e].has(t) : t in dn ? dn[t].has(e) : !(e in fn && fn[e].has(t) || t in pn && pn[t].has(e));
4319
4319
  }
4320
- const Qe = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), ze = /* @__PURE__ */ new Set([]), cn = {
4320
+ const Qe = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), ze = /* @__PURE__ */ new Set([]), un = {
4321
4321
  head: /* @__PURE__ */ new Set([
4322
4322
  "base",
4323
4323
  "basefront",
@@ -4347,7 +4347,7 @@ const Qe = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), ze = /
4347
4347
  textarea: ze,
4348
4348
  style: ze,
4349
4349
  title: ze
4350
- }, un = {
4350
+ }, dn = {
4351
4351
  // sections
4352
4352
  html: ze,
4353
4353
  body: /* @__PURE__ */ new Set(["html"]),
@@ -4370,7 +4370,7 @@ const Qe = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), ze = /
4370
4370
  // li: new Set(["ul", "ol"]),
4371
4371
  summary: /* @__PURE__ */ new Set(["details"]),
4372
4372
  area: /* @__PURE__ */ new Set(["map"])
4373
- }, dn = {
4373
+ }, fn = {
4374
4374
  p: /* @__PURE__ */ new Set([
4375
4375
  "address",
4376
4376
  "article",
@@ -4444,7 +4444,7 @@ const Qe = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), ze = /
4444
4444
  "ul",
4445
4445
  "var"
4446
4446
  ])
4447
- }, fn = {
4447
+ }, pn = {
4448
4448
  a: /* @__PURE__ */ new Set(["a"]),
4449
4449
  button: /* @__PURE__ */ new Set(["button"]),
4450
4450
  dd: /* @__PURE__ */ new Set(["dd", "dt"]),
@@ -4457,49 +4457,49 @@ const Qe = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), ze = /
4457
4457
  h4: Qe,
4458
4458
  h5: Qe,
4459
4459
  h6: Qe
4460
- }, ga = (e, t) => {
4461
- if (e.type === 1 && e.tagType === 0 && t.parent && t.parent.type === 1 && t.parent.tagType === 0 && !ma(t.parent.tag, e.tag)) {
4460
+ }, va = (e, t) => {
4461
+ if (e.type === 1 && e.tagType === 0 && t.parent && t.parent.type === 1 && t.parent.tagType === 0 && !ga(t.parent.tag, e.tag)) {
4462
4462
  const s = new SyntaxError(
4463
4463
  `<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`
4464
4464
  );
4465
4465
  s.loc = e.loc, t.onWarn(s);
4466
4466
  }
4467
- }, va = [
4468
- ta,
4469
- ...process.env.NODE_ENV !== "production" ? [pa, ga] : []
4470
- ], ya = {
4471
- cloak: Qo,
4472
- html: ra,
4473
- text: ia,
4474
- model: oa,
4467
+ }, ya = [
4468
+ sa,
4469
+ ...process.env.NODE_ENV !== "production" ? [ha, va] : []
4470
+ ], ba = {
4471
+ cloak: Zo,
4472
+ html: ia,
4473
+ text: oa,
4474
+ model: aa,
4475
4475
  // override compiler-core
4476
- on: da,
4476
+ on: fa,
4477
4477
  // override compiler-core
4478
- show: fa
4478
+ show: pa
4479
4479
  };
4480
- function ba(e, t = {}) {
4481
- return Xo(
4480
+ function xa(e, t = {}) {
4481
+ return Qo(
4482
4482
  e,
4483
- Le({}, ea, t, {
4483
+ Le({}, ta, t, {
4484
4484
  nodeTransforms: [
4485
4485
  // ignore <script> and <tag>
4486
4486
  // this is not put inside DOMNodeTransforms because that list is used
4487
4487
  // by compiler-ssr to generate vnode fallback branches
4488
- ha,
4489
- ...va,
4488
+ ma,
4489
+ ...ya,
4490
4490
  ...t.nodeTransforms || []
4491
4491
  ],
4492
4492
  directiveTransforms: Le(
4493
4493
  {},
4494
- ya,
4494
+ ba,
4495
4495
  t.directiveTransforms || {}
4496
4496
  ),
4497
4497
  transformHoist: null
4498
4498
  })
4499
4499
  );
4500
4500
  }
4501
- function xa(e, t) {
4502
- const s = e.trim().startsWith("<") ? e : `<span>${e}</span>`, { code: n } = ba(s, { mode: "function" }), r = new Function("Vue", `${n}; return render`)(hr);
4501
+ function ka(e, t) {
4502
+ const s = e.trim().startsWith("<") ? e : `<span>${e}</span>`, { code: n } = xa(s, { mode: "function" }), r = new Function("Vue", `${n}; return render`)(mr);
4503
4503
  return ae({
4504
4504
  name: "DynamicFromString",
4505
4505
  props: t?.props ?? {},
@@ -4511,41 +4511,41 @@ function xa(e, t) {
4511
4511
  });
4512
4512
  }
4513
4513
  const Qt = {};
4514
- function pn(e) {
4515
- return Qt[e] || (Qt[e] = xa(e, {
4514
+ function hn(e) {
4515
+ return Qt[e] || (Qt[e] = ka(e, {
4516
4516
  props: { row: Object, value: null, data: Object, column: Object }
4517
4517
  })), Qt[e];
4518
4518
  }
4519
- const Ea = { class: "py-10 flex flex-col justify-center items-center text-center" }, ka = { class: "max-w-sm mx-auto" }, wa = { class: "mt-2 font-medium text-gray-800 dark:text-neutral-200" }, Sa = { class: "mb-5 text-sm text-gray-500 dark:text-neutral-500" }, Na = /* @__PURE__ */ ae({
4519
+ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center" }, wa = { class: "max-w-sm mx-auto" }, Sa = { class: "mt-2 font-medium text-gray-800 dark:text-neutral-200" }, _a = { class: "mb-5 text-sm text-gray-500 dark:text-neutral-500" }, Na = /* @__PURE__ */ ae({
4520
4520
  __name: "nodata",
4521
4521
  props: {
4522
4522
  title: { default: "No data" },
4523
4523
  description: { default: "No data here yet. We will notify you when there's an update." }
4524
4524
  },
4525
4525
  setup(e) {
4526
- return (t, s) => (v(), E("div", Ea, [
4526
+ return (t, s) => (v(), k("div", Ea, [
4527
4527
  s[0] || (s[0] = ds('<svg class="w-48 mx-auto mb-4" width="178" height="90" viewBox="0 0 178 90" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="27" y="50.5" width="124" height="39" rx="7.5" fill="currentColor" class="fill-white dark:fill-neutral-800"></rect><rect x="27" y="50.5" width="124" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-50 dark:stroke-neutral-700/10"></rect><rect x="34.5" y="58" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="66.5" y="61" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="66.5" y="73" width="77" height="6" rx="3" fill="currentColor" class="fill-gray-50 dark:fill-neutral-700/30"></rect><rect x="19.5" y="28.5" width="139" height="39" rx="7.5" fill="currentColor" class="fill-white dark:fill-neutral-800"></rect><rect x="19.5" y="28.5" width="139" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-100 dark:stroke-neutral-700/30"></rect><rect x="27" y="36" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><rect x="59" y="39" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><rect x="59" y="51" width="92" height="6" rx="3" fill="currentColor" class="fill-gray-100 dark:fill-neutral-700/70"></rect><g filter="url(#filter19)"><rect x="12" y="6" width="154" height="40" rx="8" fill="currentColor" class="fill-white dark:fill-neutral-800" shape-rendering="crispEdges"></rect><rect x="12.5" y="6.5" width="153" height="39" rx="7.5" stroke="currentColor" class="stroke-gray-100 dark:stroke-neutral-700/60" shape-rendering="crispEdges"></rect><rect x="20" y="14" width="24" height="24" rx="4" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect><rect x="52" y="17" width="60" height="6" rx="3" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect><rect x="52" y="29" width="106" height="6" rx="3" fill="currentColor" class="fill-gray-200 dark:fill-neutral-700"></rect></g><defs><filter id="filter19" x="0" y="0" width="178" height="64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="6"></feOffset><feGaussianBlur stdDeviation="6"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1187_14810"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_1187_14810" result="shape"></feBlend></filter></defs></svg>', 1)),
4528
- d("div", ka, [
4529
- d("p", wa, D(t.title), 1),
4530
- d("p", Sa, D(t.description), 1)
4528
+ d("div", wa, [
4529
+ d("p", Sa, D(t.title), 1),
4530
+ d("p", _a, D(t.description), 1)
4531
4531
  ])
4532
4532
  ]));
4533
4533
  }
4534
- }), _a = ["aria-checked", "data-state"], Ca = {
4534
+ }), Ca = ["aria-checked", "data-state"], Ta = {
4535
4535
  key: 0,
4536
4536
  "data-state": "checked",
4537
4537
  "data-slot": "checkbox-indicator",
4538
4538
  class: "flex items-center justify-center transition-none text-white"
4539
- }, Ta = { class: "truncate" }, Oa = ["onKeydown"], Ia = {
4539
+ }, Oa = { class: "truncate" }, Ia = ["onKeydown"], Da = {
4540
4540
  key: 0,
4541
4541
  class: "hs-dropdown-menu hs-dropdown-open:opacity-100 w-44 transition-[opacity,margin] duration z-11 bg-white rounded-xl shadow-lg dark:bg-neutral-950",
4542
4542
  role: "menu",
4543
4543
  "aria-orientation": "vertical",
4544
4544
  "aria-labelledby": "hs-pro-inthmtdid1"
4545
- }, Da = { class: "py-2 px-4" }, Aa = { class: "block font-medium text-[13px] text-gray-800 dark:text-neutral-200" }, Va = { class: "truncate" }, $a = { class: "p-1 border-t border-gray-200 dark:border-neutral-800" }, Ra = { class: "space-y-0.5 max-h-48 overflow-y-auto [&::-webkit-scrollbar]:w-1 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" }, Ma = ["onClick"], La = {
4545
+ }, Aa = { class: "py-2 px-4" }, $a = { class: "block font-medium text-[13px] text-gray-800 dark:text-neutral-200" }, Va = { class: "truncate" }, Ra = { class: "p-1 border-t border-gray-200 dark:border-neutral-800" }, Ma = { class: "space-y-0.5 max-h-48 overflow-y-auto [&::-webkit-scrollbar]:w-1 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500" }, La = ["onClick"], Pa = {
4546
4546
  key: 0,
4547
4547
  class: "shrink-0 size-3.5 flex justify-center items-center"
4548
- }, Pa = {
4548
+ }, Fa = {
4549
4549
  key: 1,
4550
4550
  class: "shrink-0 size-3.5 ms-auto",
4551
4551
  xmlns: "http://www.w3.org/2000/svg",
@@ -4557,10 +4557,10 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4557
4557
  "stroke-width": "2",
4558
4558
  "stroke-linecap": "round",
4559
4559
  "stroke-linejoin": "round"
4560
- }, Fa = {
4560
+ }, Ba = {
4561
4561
  key: 1,
4562
4562
  class: "p-4"
4563
- }, Ba = { class: "text-base font-semibold text-gray-800 mb-3" }, ja = { class: "mb-4" }, Ua = { class: "block text-sm font-medium text-gray-700 mb-1" }, Ha = ["value"], za = { class: "flex justify-end gap-2 border-t pt-3" }, qa = /* @__PURE__ */ ae({
4563
+ }, ja = { class: "text-base font-semibold text-gray-800 mb-3" }, Ua = { class: "mb-4" }, Ha = { class: "block text-sm font-medium text-gray-700 mb-1" }, za = ["value"], qa = { class: "flex justify-end gap-2 border-t pt-3" }, Ka = /* @__PURE__ */ ae({
4564
4564
  __name: "EditableCell",
4565
4565
  props: {
4566
4566
  row: {},
@@ -4607,7 +4607,7 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4607
4607
  label: I.text ?? I.label
4608
4608
  }))), h = M(null);
4609
4609
  function x() {
4610
- s.editable && (r.value || document.dispatchEvent(new CustomEvent("close-all-popovers")), r.value = !r.value, r.value && bn(() => {
4610
+ s.editable && (r.value || document.dispatchEvent(new CustomEvent("close-all-popovers")), r.value = !r.value, r.value && xn(() => {
4611
4611
  i.value?.focus?.(), i.value?.showPicker?.(), u.value === "select" && C();
4612
4612
  }));
4613
4613
  }
@@ -4617,17 +4617,17 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4617
4617
  function O() {
4618
4618
  a.value = s.value, r.value = !1;
4619
4619
  }
4620
- function N(T) {
4620
+ function _(T) {
4621
4621
  if (!r.value) return;
4622
4622
  const I = T.target;
4623
4623
  h.value && !h.value.contains(I) && (r.value = !1);
4624
4624
  }
4625
4625
  Ge(() => {
4626
- document.addEventListener("click", N), window.addEventListener("storage", m), c.value = localStorage.locale, document.addEventListener("close-all-popovers", () => {
4626
+ document.addEventListener("click", _), window.addEventListener("storage", m), c.value = localStorage.locale, document.addEventListener("close-all-popovers", () => {
4627
4627
  r.value = !1;
4628
4628
  });
4629
- }), vn(() => {
4630
- document.removeEventListener("click", N), window.removeEventListener("storage", m), document.removeEventListener("close-all-popovers", () => {
4629
+ }), yn(() => {
4630
+ document.removeEventListener("click", _), window.removeEventListener("storage", m), document.removeEventListener("close-all-popovers", () => {
4631
4631
  r.value = !1;
4632
4632
  });
4633
4633
  });
@@ -4637,7 +4637,7 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4637
4637
  function w(T) {
4638
4638
  return s.color ? s.color.startsWith("#") ? T.replace("{c}", `[${s.color}]`) : T.replace("{c}", `${s.color}-500`) : T.replace("{c}", "cyan-500");
4639
4639
  }
4640
- const k = q(() => ({
4640
+ const E = q(() => ({
4641
4641
  border: w("border-{c}"),
4642
4642
  ring: w("focus:ring-{c}"),
4643
4643
  text: w("text-{c}"),
@@ -4652,12 +4652,12 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4652
4652
  console.error(`Не удалось загрузить options для ${s.column.name}`, T);
4653
4653
  }
4654
4654
  }
4655
- return (T, I) => (v(), E("div", {
4655
+ return (T, I) => (v(), k("div", {
4656
4656
  class: L(T.classContent ? T.classContent : "relative group w-full max-w-[350px]"),
4657
4657
  ref_key: "cellRef",
4658
4658
  ref: h
4659
4659
  }, [
4660
- u.value === "boolean" && T.editable ? (v(), E("button", {
4660
+ u.value === "boolean" && T.editable ? (v(), k("button", {
4661
4661
  key: 0,
4662
4662
  type: "button",
4663
4663
  role: "checkbox",
@@ -4665,13 +4665,13 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4665
4665
  "data-state": a.value ? "checked" : "unchecked",
4666
4666
  class: L([
4667
4667
  "peer size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] h-4 w-4 flex items-center justify-center",
4668
- a.value ? k.value.border : "",
4669
- k.value.ring,
4670
- a.value ? k.value.bg : ""
4668
+ a.value ? E.value.border : "",
4669
+ E.value.ring,
4670
+ a.value ? E.value.bg : ""
4671
4671
  ]),
4672
4672
  onClick: ot(R, ["stop"])
4673
4673
  }, [
4674
- a.value ? (v(), E("span", Ca, I[4] || (I[4] = [
4674
+ a.value ? (v(), k("span", Ta, I[4] || (I[4] = [
4675
4675
  d("svg", {
4676
4676
  xmlns: "http://www.w3.org/2000/svg",
4677
4677
  width: "24",
@@ -4686,22 +4686,22 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4686
4686
  }, [
4687
4687
  d("path", { d: "M20 6 9 17l-5-5" })
4688
4688
  ], -1)
4689
- ]))) : te("", !0)
4690
- ], 10, _a)) : (v(), E(ne, { key: 1 }, [
4689
+ ]))) : Z("", !0)
4690
+ ], 10, Ca)) : (v(), k(ne, { key: 1 }, [
4691
4691
  d("div", {
4692
4692
  class: "flex items-center justify-between cursor-pointer",
4693
4693
  onClick: ot(x, ["stop"])
4694
4694
  }, [
4695
- d("span", Ta, [
4695
+ d("span", Oa, [
4696
4696
  Ie(T.$slots, "default")
4697
4697
  ]),
4698
- T.editable ? (v(), E("svg", {
4698
+ T.editable ? (v(), k("svg", {
4699
4699
  key: 0,
4700
4700
  xmlns: "http://www.w3.org/2000/svg",
4701
4701
  fill: "none",
4702
4702
  viewBox: "0 0 24 24",
4703
4703
  stroke: "currentColor",
4704
- class: L(["w-4 h-4 opacity-0 group-hover:opacity-100 transition-opacity", k.value.text])
4704
+ class: L(["w-4 h-4 opacity-0 group-hover:opacity-100 transition-opacity", E.value.text])
4705
4705
  }, I[5] || (I[5] = [
4706
4706
  d("path", {
4707
4707
  "stroke-linecap": "round",
@@ -4709,24 +4709,24 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4709
4709
  "stroke-width": "2",
4710
4710
  d: "M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L7.5 21H3v-4.5L16.732 3.732z"
4711
4711
  }, null, -1)
4712
- ]), 2)) : te("", !0)
4712
+ ]), 2)) : Z("", !0)
4713
4713
  ]),
4714
- r.value ? (v(), E("div", {
4714
+ r.value ? (v(), k("div", {
4715
4715
  key: 0,
4716
4716
  ref_key: "popoverRef",
4717
4717
  ref: o,
4718
4718
  class: L(["absolute top-0 left-[50px] ml-2 z-50 bg-white border rounded-lg shadow-lg", u.value === "select" ? "" : "w-[450px]"]),
4719
4719
  onKeydown: Kt(ot(O, ["stop", "prevent"]), ["esc"])
4720
4720
  }, [
4721
- u.value === "select" ? (v(), E("div", Ia, [
4722
- d("div", Da, [
4723
- d("span", Aa, [
4721
+ u.value === "select" ? (v(), k("div", Da, [
4722
+ d("div", Aa, [
4723
+ d("span", $a, [
4724
4724
  d("span", Va, " Редагувати " + D(T.column[c.value] || T.column.header || T.column.ua || T.column.name), 1)
4725
4725
  ])
4726
4726
  ]),
4727
- d("div", $a, [
4728
- d("div", Ra, [
4729
- (v(!0), E(ne, null, Se(f.value, (S) => (v(), E("label", {
4727
+ d("div", Ra, [
4728
+ d("div", Ma, [
4729
+ (v(!0), k(ne, null, Se(f.value, (S) => (v(), k("label", {
4730
4730
  key: S.value.toString(),
4731
4731
  onClick: ot(() => {
4732
4732
  a.value = S.value, y();
@@ -4739,75 +4739,75 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4739
4739
  id: "hs-pro-chthuts1op",
4740
4740
  name: "hs-pro-chthuts1"
4741
4741
  }, null, -1)),
4742
- S.color ? (v(), E("span", La, I[6] || (I[6] = [
4742
+ S.color ? (v(), k("span", Pa, I[6] || (I[6] = [
4743
4743
  d("span", { class: "shrink-0 size-2 block mx-auto bg-emerald-500 rounded-full" }, null, -1)
4744
- ]))) : te("", !0),
4744
+ ]))) : Z("", !0),
4745
4745
  be(" " + D(S.label) + " ", 1),
4746
- a.value === S.value ? (v(), E("svg", Pa, I[7] || (I[7] = [
4746
+ a.value === S.value ? (v(), k("svg", Fa, I[7] || (I[7] = [
4747
4747
  d("path", { d: "M20 6 9 17l-5-5" }, null, -1)
4748
- ]))) : te("", !0)
4749
- ], 8, Ma))), 128))
4748
+ ]))) : Z("", !0)
4749
+ ], 8, La))), 128))
4750
4750
  ])
4751
4751
  ])
4752
- ])) : (v(), E("div", Fa, [
4753
- d("h3", Ba, " Редагувати " + D(T.column[c.value] || T.column.header || T.column.ua || T.column.name), 1),
4754
- d("div", ja, [
4755
- d("label", Ua, D(T.column[c.value] || T.column.header || T.column.ua || T.column.name), 1),
4756
- u.value === "text" ? ke((v(), E("input", {
4752
+ ])) : (v(), k("div", Ba, [
4753
+ d("h3", ja, " Редагувати " + D(T.column[c.value] || T.column.header || T.column.ua || T.column.name), 1),
4754
+ d("div", Ua, [
4755
+ d("label", Ha, D(T.column[c.value] || T.column.header || T.column.ua || T.column.name), 1),
4756
+ u.value === "text" ? Ee((v(), k("input", {
4757
4757
  key: 0,
4758
4758
  ref_key: "inputRef",
4759
4759
  ref: i,
4760
4760
  "onUpdate:modelValue": I[0] || (I[0] = (S) => a.value = S),
4761
4761
  type: "text",
4762
- class: L(["w-full rounded-md border px-3 py-2 text-sm outline-none border-gray-300", k.value.ring, k.value.border]),
4762
+ class: L(["w-full rounded-md border px-3 py-2 text-sm outline-none border-gray-300", E.value.ring, E.value.border]),
4763
4763
  onKeyup: Kt(y, ["enter"])
4764
4764
  }, null, 34)), [
4765
- [St, a.value]
4766
- ]) : u.value === "number" ? ke((v(), E("input", {
4765
+ [_t, a.value]
4766
+ ]) : u.value === "number" ? Ee((v(), k("input", {
4767
4767
  key: 1,
4768
4768
  ref_key: "inputRef",
4769
4769
  ref: i,
4770
4770
  "onUpdate:modelValue": I[1] || (I[1] = (S) => a.value = S),
4771
4771
  type: "number",
4772
- class: L(["w-full rounded-md border px-3 py-2 text-sm outline-none border-gray-300", k.value.ring, k.value.border]),
4772
+ class: L(["w-full rounded-md border px-3 py-2 text-sm outline-none border-gray-300", E.value.ring, E.value.border]),
4773
4773
  onKeyup: Kt(y, ["enter"])
4774
4774
  }, null, 34)), [
4775
4775
  [
4776
- St,
4776
+ _t,
4777
4777
  a.value,
4778
4778
  void 0,
4779
4779
  { number: !0 }
4780
4780
  ]
4781
- ]) : u.value === "date" ? ke((v(), E("input", {
4781
+ ]) : u.value === "date" ? Ee((v(), k("input", {
4782
4782
  key: 2,
4783
4783
  ref_key: "inputRef",
4784
4784
  ref: i,
4785
4785
  "onUpdate:modelValue": I[2] || (I[2] = (S) => a.value = S),
4786
4786
  type: "date",
4787
- class: L(["w-full rounded-md border px-3 py-2 text-sm outline-none border-gray-300", k.value.ring, k.value.border]),
4787
+ class: L(["w-full rounded-md border px-3 py-2 text-sm outline-none border-gray-300", E.value.ring, E.value.border]),
4788
4788
  onChange: y
4789
4789
  }, null, 34)), [
4790
- [St, a.value]
4791
- ]) : u.value === "select" ? ke((v(), E("select", {
4790
+ [_t, a.value]
4791
+ ]) : u.value === "select" ? Ee((v(), k("select", {
4792
4792
  key: 3,
4793
4793
  ref_key: "inputRef",
4794
4794
  ref: i,
4795
4795
  "onUpdate:modelValue": I[3] || (I[3] = (S) => a.value = S),
4796
- class: L(["w-full rounded-md border px-3 py-2 text-sm outline-none bg-white border-gray-300", k.value.ring, k.value.border])
4796
+ class: L(["w-full rounded-md border px-3 py-2 text-sm outline-none bg-white border-gray-300", E.value.ring, E.value.border])
4797
4797
  }, [
4798
4798
  I[9] || (I[9] = d("option", {
4799
4799
  disabled: "",
4800
4800
  value: ""
4801
4801
  }, "-- виберіть --", -1)),
4802
- (v(!0), E(ne, null, Se(f.value, (S) => (v(), E("option", {
4802
+ (v(!0), k(ne, null, Se(f.value, (S) => (v(), k("option", {
4803
4803
  key: S.value.toString(),
4804
4804
  value: S.value
4805
- }, D(S.label), 9, Ha))), 128))
4805
+ }, D(S.label), 9, za))), 128))
4806
4806
  ], 2)), [
4807
- [mr, a.value]
4808
- ]) : te("", !0)
4807
+ [gr, a.value]
4808
+ ]) : Z("", !0)
4809
4809
  ]),
4810
- d("div", za, [
4810
+ d("div", qa, [
4811
4811
  d("button", {
4812
4812
  type: "button",
4813
4813
  class: "px-4 py-1.5 text-sm rounded-md border border-gray-300 text-gray-700 bg-white hover:bg-gray-50",
@@ -4815,28 +4815,31 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4815
4815
  }, " Скасувати "),
4816
4816
  d("button", {
4817
4817
  type: "button",
4818
- class: L(["px-4 py-1.5 text-sm rounded-md text-white", k.value.bg]),
4818
+ class: L(["px-4 py-1.5 text-sm rounded-md text-white", E.value.bg]),
4819
4819
  onClick: y
4820
4820
  }, " Зберегти ", 2)
4821
4821
  ])
4822
4822
  ]))
4823
- ], 42, Oa)) : te("", !0)
4823
+ ], 42, Ia)) : Z("", !0)
4824
4824
  ], 64))
4825
4825
  ], 2));
4826
4826
  }
4827
- }), Ka = {
4827
+ }), Wa = {
4828
4828
  key: 0,
4829
4829
  class: "text-center py-8"
4830
- }, Wa = { class: "inline-flex items-center space-x-2" }, Ga = {
4830
+ }, Ga = { class: "inline-flex items-center space-x-2" }, Ja = {
4831
4831
  key: 2,
4832
4832
  class: "overflow-x-auto"
4833
- }, Ja = ["checked", "indeterminate"], Ya = ["onClick"], Xa = { class: "flex items-center justify-between" }, Qa = {
4833
+ }, Ya = ["checked", "indeterminate"], Xa = ["onClick"], Qa = { class: "flex items-center justify-between" }, Za = { class: "flex items-center gap-1.5" }, el = {
4834
+ key: 0,
4835
+ class: "relative group"
4836
+ }, tl = { class: "absolute left-0 top-6 z-50 w-56 p-2 bg-gray-900 text-white text-xs rounded-lg shadow-lg opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none" }, sl = {
4834
4837
  key: 0,
4835
4838
  class: "ml-1 text-xs"
4836
- }, Za = ["onClick"], el = ["checked", "onChange"], tl = ["onClick"], sl = {
4839
+ }, nl = ["onClick"], rl = ["checked", "onChange"], il = ["onClick"], ol = {
4837
4840
  key: 1,
4838
4841
  class: "text-center"
4839
- }, nl = ["colspan"], hn = /* @__PURE__ */ ae({
4842
+ }, al = ["colspan"], mn = /* @__PURE__ */ ae({
4840
4843
  name: "DataTable",
4841
4844
  __name: "DataTable",
4842
4845
  props: {
@@ -4875,7 +4878,7 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4875
4878
  const s = e, n = t, r = M(s.selectedRows || []), i = M(s.defaultSort.map((p) => ({
4876
4879
  field: p.name,
4877
4880
  direction: p.asc ? "asc" : "desc"
4878
- }))), o = M([]), a = M([]), l = M(!1), c = M(null), m = M(s.router), u = xn(), f = q(() => u.action);
4881
+ }))), o = M([]), a = M([]), l = M(!1), c = M(null), m = M(s.router), u = kn(), f = q(() => u.action);
4879
4882
  function h(p) {
4880
4883
  if (m.value) {
4881
4884
  m.value.push(p);
@@ -4888,11 +4891,11 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4888
4891
  return o.value;
4889
4892
  if (s.sortable && i.value.length > 0) {
4890
4893
  const p = [...s.rows];
4891
- return p.sort((V, b) => {
4894
+ return p.sort((A, b) => {
4892
4895
  for (const j of i.value) {
4893
4896
  if (!j.direction)
4894
4897
  return 0;
4895
- const g = V[j.field], U = b[j.field];
4898
+ const g = A[j.field], U = b[j.field];
4896
4899
  if (g == null) return 1;
4897
4900
  if (U == null) return -1;
4898
4901
  let ue = 0;
@@ -4908,14 +4911,14 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4908
4911
  De(() => s.selectedRows, (p) => {
4909
4912
  r.value = p || [];
4910
4913
  });
4911
- const y = (p) => r.value.some((V) => V === p), O = (p) => {
4912
- const V = r.value.findIndex((b) => b === p);
4913
- V > -1 ? r.value.splice(V, 1) : r.value.push(p), n("update:selectedRows", [...r.value]);
4914
- }, N = q(() => x.value.length > 0 && r.value.length === x.value.length), R = q(() => r.value.length > 0 && r.value.length < x.value.length), w = () => {
4915
- N.value ? r.value = [] : r.value = [...x.value], n("update:selectedRows", [...r.value]);
4916
- }, k = (p, V) => {
4914
+ const y = (p) => r.value.some((A) => A === p), O = (p) => {
4915
+ const A = r.value.findIndex((b) => b === p);
4916
+ A > -1 ? r.value.splice(A, 1) : r.value.push(p), n("update:selectedRows", [...r.value]);
4917
+ }, _ = q(() => x.value.length > 0 && r.value.length === x.value.length), R = q(() => r.value.length > 0 && r.value.length < x.value.length), w = () => {
4918
+ _.value ? r.value = [] : r.value = [...x.value], n("update:selectedRows", [...r.value]);
4919
+ }, E = (p, A) => {
4917
4920
  if (!s.sortable) return;
4918
- if (V?.ctrlKey || V?.metaKey) {
4921
+ if (A?.ctrlKey || A?.metaKey) {
4919
4922
  const g = i.value.findIndex((U) => U.field === p);
4920
4923
  if (g >= 0) {
4921
4924
  const U = i.value[g];
@@ -4933,12 +4936,12 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4933
4936
  name: g.field,
4934
4937
  asc: g.direction === "asc"
4935
4938
  }));
4936
- n("sort", j), s.api && Ee();
4939
+ n("sort", j), s.api && ke();
4937
4940
  }, C = (p) => i.value.find((b) => b.field === p)?.direction === "asc", T = (p) => {
4938
- const V = i.value.find((b) => b.field === p);
4939
- if (!V)
4941
+ const A = i.value.find((b) => b.field === p);
4942
+ if (!A)
4940
4943
  return "";
4941
- switch (V.direction) {
4944
+ switch (A.direction) {
4942
4945
  case "asc":
4943
4946
  return "↑";
4944
4947
  // Up arrow for ascending
@@ -4950,14 +4953,14 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4950
4953
  }
4951
4954
  }, I = (p) => s.sortable && p.sortable !== !1, S = (p) => {
4952
4955
  s.clickable && n("row-click", p);
4953
- }, _ = (p, V) => {
4954
- const b = V[p.name];
4956
+ }, N = (p, A) => {
4957
+ const b = A[p.name];
4955
4958
  if (s.getCellData || p.getCellData) {
4956
4959
  const j = p.getCellData || s.getCellData;
4957
4960
  if (j) {
4958
4961
  const g = {
4959
4962
  name: p.name,
4960
- row: V,
4963
+ row: A,
4961
4964
  value: b
4962
4965
  };
4963
4966
  return j(g);
@@ -4965,9 +4968,9 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
4965
4968
  }
4966
4969
  return ["_data", "_text"].map((j) => {
4967
4970
  const g = `${p.name}${j}`;
4968
- return V[g] ? V[g] : null;
4971
+ return A[g] ? A[g] : null;
4969
4972
  }).find((j) => j) || b;
4970
- }, H = (p) => p.width ? p.width === "w-full" ? "w-full" : typeof p.width == "string" ? `w-[${p.width}px]` : typeof p.width == "number" ? `w-[${p.width}px]` : "" : "", B = M(s.page), $ = M(s.limit), z = M(s.total), W = M(1), G = M(10), me = M(0), _e = q(() => s.api ? W.value : B.value), Be = q(() => s.api ? G.value : $.value), rt = q(() => s.api ? me.value : z.value), Q = q(() => {
4973
+ }, H = (p) => p.width ? p.width === "w-full" ? "w-full" : typeof p.width == "string" ? `w-[${p.width}px]` : typeof p.width == "number" ? `w-[${p.width}px]` : "" : "", B = M(s.page), V = M(s.limit), z = M(s.total), W = M(1), G = M(10), me = M(0), Ne = q(() => s.api ? W.value : B.value), Be = q(() => s.api ? G.value : V.value), rt = q(() => s.api ? me.value : z.value), Q = q(() => {
4971
4974
  const { theme: p } = s;
4972
4975
  return p === "dark" ? {
4973
4976
  container: "dark",
@@ -5010,23 +5013,23 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5010
5013
  De(() => s.page, (p) => {
5011
5014
  B.value = p;
5012
5015
  }), De(() => s.limit, (p) => {
5013
- $.value = p;
5016
+ V.value = p;
5014
5017
  }), De(() => s.total, (p) => {
5015
5018
  z.value = p;
5016
5019
  });
5017
- async function Ee() {
5020
+ async function ke() {
5018
5021
  if (s.api) {
5019
5022
  l.value = !0, c.value = null;
5020
5023
  try {
5021
5024
  const p = new URL(s.api, window.location.origin);
5022
- if (p.searchParams.set("page", _e.value.toString()), p.searchParams.set("limit", Be.value.toString()), i.value.length > 0) {
5025
+ if (p.searchParams.set("page", Ne.value.toString()), p.searchParams.set("limit", Be.value.toString()), i.value.length > 0) {
5023
5026
  const j = i.value.filter((g) => g.direction).map((g) => `${g.field}:${g.direction}`).join(",");
5024
5027
  j && p.searchParams.set("sort", j);
5025
5028
  }
5026
- const V = await fetch(p.toString());
5027
- if (!V.ok)
5028
- throw new Error(`HTTP error! status: ${V.status}`);
5029
- const b = await V.json();
5029
+ const A = await fetch(p.toString());
5030
+ if (!A.ok)
5031
+ throw new Error(`HTTP error! status: ${A.status}`);
5032
+ const b = await A.json();
5030
5033
  b.rows && Array.isArray(b.rows) && (o.value = b.rows), b.columns && Array.isArray(b.columns) && (a.value = b.columns), b.total !== void 0 && (s.api ? me.value = b.total : z.value = b.total);
5031
5034
  } catch (p) {
5032
5035
  c.value = p instanceof Error ? p.message : "Failed to fetch data", console.error("Error fetching data:", p);
@@ -5036,8 +5039,8 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5036
5039
  }
5037
5040
  }
5038
5041
  const je = (p) => {
5039
- s.api ? W.value = p : (B.value = p, n("update:page", p)), s.api && Ee();
5040
- }, cr = q(() => s.showPagination && rt.value > 0), it = q(() => ({
5042
+ s.api ? W.value = p : (B.value = p, n("update:page", p)), s.api && ke();
5043
+ }, ur = q(() => s.showPagination && rt.value > 0), it = q(() => ({
5041
5044
  small: {
5042
5045
  header: "px-3 py-2 text-xs",
5043
5046
  cell: "px-3 py-2 text-xs"
@@ -5050,54 +5053,54 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5050
5053
  header: "px-8 py-4 text-sm",
5051
5054
  cell: "px-8 py-6 text-base"
5052
5055
  }
5053
- })[s.size]), ur = fs(), Ut = M("uk"), Ls = (p) => {
5054
- p.detail.key === "locale" && (Ut.value = p.detail.newValue);
5056
+ })[s.size]), dr = fs(), yt = M("uk"), Ls = (p) => {
5057
+ p.detail.key === "locale" && (yt.value = p.detail.newValue);
5055
5058
  };
5056
5059
  us(() => {
5057
5060
  window.removeEventListener("resize", Ls);
5058
5061
  }), Ge(() => {
5059
- window.addEventListener("storage", Ls), Ut.value = localStorage.locale, s.api && (s.page && (W.value = s.page), s.limit && (G.value = s.limit), s.total && (me.value = s.total), Ee());
5062
+ window.addEventListener("storage", Ls), yt.value = localStorage.locale, s.api && (s.page && (W.value = s.page), s.limit && (G.value = s.limit), s.total && (me.value = s.total), ke());
5060
5063
  }), De(() => s.api, (p) => {
5061
- p && (W.value = s.page || 1, G.value = s.limit || 10, me.value = s.total || 0, Ee());
5064
+ p && (W.value = s.page || 1, G.value = s.limit || 10, me.value = s.total || 0, ke());
5062
5065
  });
5063
- const Ps = q(() => s.api ? a.value : s.columns), Ht = M([]), yt = M({});
5064
- gr("registerColumn", (p, V) => {
5065
- Ht.value.push(p), V && p.slotName && (yt.value[p.name] = V);
5066
+ const Ps = q(() => s.api ? a.value : s.columns), Ht = M([]), bt = M({});
5067
+ vr("registerColumn", (p, A) => {
5068
+ Ht.value.push(p), A && p.slotName && (bt.value[p.name] = A);
5066
5069
  });
5067
5070
  const zt = q(() => {
5068
- const p = Ps.value || [], V = [], b = u.default?.();
5071
+ const p = Ps.value || [], A = [], b = u.default?.();
5069
5072
  if (b) {
5070
5073
  const j = b.filter((g) => g.type?.name === "Column" || g.type === "Column" || g.type && typeof g.type == "object" && g.type.name === "Column").map((g) => {
5071
- const U = g.props || g.componentProps || {}, ue = U.field || U.name || "", Ye = U.header || U.label || "", Fs = g.children && g.children.body, qt = {
5074
+ const U = g.props || g.componentProps || {}, ue = U.field || U.name || "", Ye = U.header || U.label || "", Bs = g.children && g.children.body, qt = {
5072
5075
  name: ue,
5073
5076
  // Use field as the name for data access
5074
5077
  ua: Ye,
5075
5078
  // Use header as the display name
5076
5079
  format: U.format || "text",
5077
- slotName: Fs ? "body" : void 0,
5080
+ slotName: Bs ? "body" : void 0,
5078
5081
  ...U
5079
5082
  };
5080
- return Fs && qt.name && (yt.value[qt.name] = g.children.body), qt;
5083
+ return Bs && qt.name && (bt.value[qt.name] = g.children.body), qt;
5081
5084
  });
5082
- V.push(...j);
5085
+ A.push(...j);
5083
5086
  }
5084
- if (Ht.value.length > 0 && V.push(...Ht.value), V.length > 0) {
5085
- const j = [], g = new Set(V.map((U) => U.name));
5087
+ if (Ht.value.length > 0 && A.push(...Ht.value), A.length > 0) {
5088
+ const j = [], g = new Set(A.map((U) => U.name));
5086
5089
  return p.forEach((U) => {
5087
5090
  g.has(U.name) || j.push(U);
5088
- }), j.push(...V), console.log("Combined columns:", {
5091
+ }), j.push(...A), console.log("Combined columns:", {
5089
5092
  default: p.length,
5090
- custom: V.length,
5093
+ custom: A.length,
5091
5094
  combined: j.length
5092
5095
  }), j;
5093
5096
  }
5094
5097
  return p.length > 0 ? (console.log("Using default columns:", p.length), p) : [];
5095
- }), dr = (p = "text") => js[p.toLowerCase()] || js.text, Ue = M({});
5096
- async function fr(p) {
5097
- const { data: V, api: b } = zt.value.find((j) => j.name === p);
5098
+ }), fr = (p = "text") => Us[p.toLowerCase()] || Us.text, Ue = M({});
5099
+ async function pr(p) {
5100
+ const { data: A, api: b } = zt.value.find((j) => j.name === p);
5098
5101
  if (Ue.value[p]) return Ue.value[p];
5099
- if (V || b) {
5100
- const j = b || `/api/suggest/${V}?json=1`, U = await (await fetch(j)).json();
5102
+ if (A || b) {
5103
+ const j = b || `/api/suggest/${A}?json=1`, U = await (await fetch(j)).json();
5101
5104
  U.data && Array.isArray(U.data) && (Ue.value[p] = U.data.map((ue) => ({
5102
5105
  value: ue.id ?? ue.value,
5103
5106
  label: ue.text ?? ue.label
@@ -5105,52 +5108,56 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5105
5108
  }
5106
5109
  return Ue.value[p];
5107
5110
  }
5108
- function pr(p, V, b, j) {
5111
+ function hr(p, A, b, j) {
5109
5112
  const g = j;
5110
- g !== -1 && (s.rows[g] = { ...s.rows[g], [V]: b }), n("cell-update", p, V, b);
5113
+ g !== -1 && (s.rows[g] = { ...s.rows[g], [A]: b }), n("cell-update", p, A, b);
5114
+ }
5115
+ function Fs(p) {
5116
+ const b = `info:${yt.value}`;
5117
+ return p[b] ? p[b] : p.info ? p.info : null;
5111
5118
  }
5112
5119
  return De(() => s.form, async (p) => {
5113
5120
  p && (Ue.value = {});
5114
5121
  }), Ge(() => {
5115
5122
  s.form && (Ue.value = {});
5116
- }), (p, V) => (v(), E("div", {
5123
+ }), (p, A) => (v(), k("div", {
5117
5124
  class: L(["w-full", Q.value.container])
5118
5125
  }, [
5119
- l.value || s.loading ? (v(), E("div", Ka, [
5120
- d("div", Wa, [
5121
- V[0] || (V[0] = d("div", { class: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-600" }, null, -1)),
5126
+ l.value || s.loading ? (v(), k("div", Wa, [
5127
+ d("div", Ga, [
5128
+ A[0] || (A[0] = d("div", { class: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-600" }, null, -1)),
5122
5129
  d("span", {
5123
5130
  class: L(Q.value.loading)
5124
5131
  }, "Loading...", 2)
5125
5132
  ])
5126
- ])) : c.value ? (v(), E("div", {
5133
+ ])) : c.value ? (v(), k("div", {
5127
5134
  key: 1,
5128
5135
  class: L(["text-center py-8", Q.value.error])
5129
- }, D(c.value), 3)) : s.loading ? te("", !0) : (v(), E("div", Ga, [
5136
+ }, D(c.value), 3)) : s.loading ? Z("", !0) : (v(), k("div", Ja, [
5130
5137
  d("div", {
5131
5138
  class: L(p.classWrapper ? p.classWrapper : "relative w-full overflow-auto")
5132
5139
  }, [
5133
5140
  d("table", {
5134
5141
  class: L(p.classTable),
5135
- style: Pt(p.tableStyle)
5142
+ style: Ft(p.tableStyle)
5136
5143
  }, [
5137
5144
  d("thead", {
5138
5145
  class: L(p.classThead || Q.value.thead)
5139
5146
  }, [
5140
5147
  d("tr", null, [
5141
- p.selectable ? (v(), E("th", {
5148
+ p.selectable ? (v(), k("th", {
5142
5149
  key: 0,
5143
5150
  class: L(["text-left font-medium uppercase tracking-wider", Q.value.th, it.value.header, s.classTh, "w-12"])
5144
5151
  }, [
5145
5152
  d("input", {
5146
5153
  type: "checkbox",
5147
- checked: N.value,
5154
+ checked: _.value,
5148
5155
  indeterminate: R.value,
5149
5156
  onChange: w,
5150
5157
  class: L(["h-4 w-4 focus:ring-blue-500 rounded", Q.value.checkbox])
5151
- }, null, 42, Ja)
5152
- ], 2)) : te("", !0),
5153
- (v(!0), E(ne, null, Se(zt.value.filter((b) => !b.hidden), (b) => (v(), E("th", {
5158
+ }, null, 42, Ya)
5159
+ ], 2)) : Z("", !0),
5160
+ (v(!0), k(ne, null, Se(zt.value.filter((b) => !b.hidden), (b) => (v(), k("th", {
5154
5161
  key: b.name,
5155
5162
  class: L([
5156
5163
  b.align ? `text-${b.align}` : "",
@@ -5163,34 +5170,59 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5163
5170
  it.value.header
5164
5171
  ]
5165
5172
  )),
5166
- onClick: (j) => I(b) ? k(b.name, j) : void 0
5173
+ onClick: (j) => I(b) ? E(b.name, j) : void 0
5167
5174
  }, [
5168
- d("div", Xa, [
5169
- d("span", null, D(b[Ut.value] || b.header || b.ua || b.name), 1),
5170
- I(b) ? (v(), E("span", Qa, [
5175
+ d("div", Qa, [
5176
+ d("div", Za, [
5177
+ d("span", null, D(b[yt.value] || b.header || b.ua || b.name), 1),
5178
+ Fs(b) ? (v(), k("div", el, [
5179
+ A[1] || (A[1] = d("svg", {
5180
+ xmlns: "http://www.w3.org/2000/svg",
5181
+ width: "14",
5182
+ height: "14",
5183
+ viewBox: "0 0 24 24",
5184
+ fill: "none",
5185
+ stroke: "currentColor",
5186
+ "stroke-width": "2",
5187
+ "stroke-linecap": "round",
5188
+ "stroke-linejoin": "round",
5189
+ class: "text-gray-400 cursor-help"
5190
+ }, [
5191
+ d("circle", {
5192
+ cx: "12",
5193
+ cy: "12",
5194
+ r: "10"
5195
+ }),
5196
+ d("path", { d: "M12 16v-4" }),
5197
+ d("path", { d: "M12 8h.01" })
5198
+ ], -1)),
5199
+ d("div", tl, D(Fs(b)), 1)
5200
+ ])) : Z("", !0)
5201
+ ]),
5202
+ I(b) ? (v(), k("span", sl, [
5171
5203
  Ie(p.$slots, "sort", {
5172
5204
  asc: C(b.name)
5173
5205
  }, () => [
5174
5206
  be(D(T(b.name)), 1)
5175
5207
  ])
5176
- ])) : te("", !0)
5208
+ ])) : Z("", !0)
5177
5209
  ])
5178
- ], 10, Ya))), 128)),
5179
- f.value ? (v(), E("th", {
5210
+ ], 10, Xa))), 128)),
5211
+ f.value ? (v(), k("th", {
5180
5212
  key: 1,
5181
5213
  class: L(["w-[100px]", s.classTh || [
5182
5214
  "text-left font-medium uppercase tracking-wider",
5183
5215
  Q.value.th,
5184
5216
  it.value.header
5185
5217
  ]])
5186
- }, D(X(ur)("table.actions")), 3)) : te("", !0)
5218
+ }, D(X(dr)("table.actions")), 3)) : Z("", !0)
5187
5219
  ])
5188
5220
  ], 2),
5189
- x.value.length ? (v(), E("tbody", {
5221
+ x.value.length ? (v(), k("tbody", {
5190
5222
  key: 0,
5191
5223
  class: L(p.classTbody || Q.value.tbody)
5192
5224
  }, [
5193
- (v(!0), E(ne, null, Se(x.value, (b, j) => (v(), E(ne, { key: j }, [
5225
+ (v(!0), k(ne, null, Se(x.value, (b, j) => (v(), k(ne, { key: j }, [
5194
5226
  d("tr", {
5195
5227
  class: L(s.classTr || [
5196
5228
  Q.value.tr,
@@ -5198,7 +5230,7 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5198
5230
  ]),
5199
5231
  onClick: (g) => s.clickable ? S(b) : void 0
5200
5232
  }, [
5201
- p.selectable ? (v(), E("td", {
5233
+ p.selectable ? (v(), k("td", {
5202
5234
  key: 0,
5203
5235
  class: L(["whitespace-nowrap", Q.value.td, it.value.cell, s.classTd, "w-12"])
5204
5236
  }, [
@@ -5207,9 +5239,9 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5207
5239
  checked: y(b),
5208
5240
  onChange: (g) => O(b),
5209
5241
  class: L(["h-4 w-4 focus:ring-blue-500 rounded", Q.value.checkbox])
5210
- }, null, 42, el)
5211
- ], 2)) : te("", !0),
5212
- (v(!0), E(ne, null, Se(zt.value.filter((g) => !g.hidden), (g) => (v(), E("td", {
5242
+ }, null, 42, rl)
5243
+ ], 2)) : Z("", !0),
5244
+ (v(!0), k(ne, null, Se(zt.value.filter((g) => !g.hidden), (g) => (v(), k("td", {
5213
5245
  key: g.name,
5214
5246
  class: L(s.classTd || [
5215
5247
  "whitespace-nowrap",
@@ -5219,7 +5251,7 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5219
5251
  H(g)
5220
5252
  ])
5221
5253
  }, [
5222
- (v(), $e(qa, {
5254
+ (v(), Ve(Ka, {
5223
5255
  "class-content": s.classContent,
5224
5256
  key: b,
5225
5257
  editable: g.edit,
@@ -5229,54 +5261,54 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5229
5261
  format: g.format,
5230
5262
  options: Ue.value[g.name] || [],
5231
5263
  color: p.color,
5232
- onUpdate: (U, ue, Ye) => pr(U, ue, Ye, j),
5233
- "fetch-options": fr
5264
+ onUpdate: (U, ue, Ye) => hr(U, ue, Ye, j),
5265
+ "fetch-options": pr
5234
5266
  }, {
5235
- default: vr(() => [
5267
+ default: yr(() => [
5236
5268
  g.action && f.value ? Ie(p.$slots, "action", {
5237
5269
  key: 0,
5238
5270
  row: b
5239
5271
  }) : X(u).number && g.format === "number" ? Ie(p.$slots, "number", {
5240
5272
  key: 1,
5241
5273
  row: b,
5242
- value: _(g, b)
5274
+ value: N(g, b)
5243
5275
  }) : X(u).badge && g.format === "badge" ? Ie(p.$slots, "badge", {
5244
5276
  key: 2,
5245
5277
  row: b,
5246
- value: _(g, b)
5278
+ value: N(g, b)
5247
5279
  }) : X(u).array && g.format === "array" ? Ie(p.$slots, "array", {
5248
5280
  key: 3,
5249
5281
  row: b,
5250
- value: _(g, b)
5251
- }) : g.slotName && yt.value[g.name] ? (v(), $e(bt(yt.value[g.name]), {
5282
+ value: N(g, b)
5283
+ }) : g.slotName && bt.value[g.name] ? (v(), Ve(xt(bt.value[g.name]), {
5252
5284
  key: 4,
5253
5285
  data: b,
5254
- value: _(g, b),
5286
+ value: N(g, b),
5255
5287
  row: b,
5256
5288
  column: g
5257
- }, null, 8, ["data", "value", "row", "column"])) : g.link ? (v(), E("a", {
5289
+ }, null, 8, ["data", "value", "row", "column"])) : g.link ? (v(), k("a", {
5258
5290
  key: 5,
5259
5291
  class: L(p.classLink || "hover:text-blue-900 cursor-pointer text-blue-700 hover:underline"),
5260
5292
  onClick: (U) => h(g.link.replace("{id}", b.id))
5261
5293
  }, [
5262
- g.slot && typeof g.slot == "string" ? (v(), $e(bt(X(pn)(g.slot)), {
5294
+ g.slot && typeof g.slot == "string" ? (v(), Ve(xt(X(hn)(g.slot)), {
5263
5295
  key: 0,
5264
5296
  row: b,
5265
5297
  value: b,
5266
5298
  data: b,
5267
5299
  column: g
5268
- }, null, 8, ["row", "value", "data", "column"])) : (v(), E(ne, { key: 1 }, [
5269
- be(D(_(g, b)), 1)
5300
+ }, null, 8, ["row", "value", "data", "column"])) : (v(), k(ne, { key: 1 }, [
5301
+ be(D(N(g, b)), 1)
5270
5302
  ], 64))
5271
- ], 10, tl)) : g.slot && g.format === "slot" && typeof g.slot == "string" ? (v(), $e(bt(X(pn)(g.slot)), {
5303
+ ], 10, il)) : g.slot && g.format === "slot" && typeof g.slot == "string" ? (v(), Ve(xt(X(hn)(g.slot)), {
5272
5304
  key: 6,
5273
5305
  row: b,
5274
- value: _(g, b),
5306
+ value: N(g, b),
5275
5307
  data: b,
5276
5308
  column: g
5277
- }, null, 8, ["row", "value", "data", "column"])) : (v(), $e(bt(dr(g.format)), {
5309
+ }, null, 8, ["row", "value", "data", "column"])) : (v(), Ve(xt(fr(g.format)), {
5278
5310
  key: 7,
5279
- value: _(g, b),
5311
+ value: N(g, b),
5280
5312
  row: b,
5281
5313
  column: g,
5282
5314
  href: g.link
@@ -5285,16 +5317,16 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5285
5317
  _: 2
5286
5318
  }, 1032, ["class-content", "editable", "row", "column", "value", "format", "options", "color", "onUpdate"]))
5287
5319
  ], 2))), 128)),
5288
- f.value ? (v(), E("td", sl, [
5320
+ f.value ? (v(), k("td", ol, [
5289
5321
  Ie(p.$slots, "action", { row: b })
5290
- ])) : te("", !0)
5291
- ], 10, Za),
5322
+ ])) : Z("", !0)
5323
+ ], 10, nl),
5292
5324
  d("tr", null, [
5293
5325
  Ie(p.$slots, "under-row", { row: b })
5294
5326
  ])
5295
5327
  ], 64))), 128))
5296
- ], 2)) : te("", !0),
5297
- x.value.length === 0 ? (v(), E("tbody", {
5328
+ ], 2)) : Z("", !0),
5329
+ x.value.length === 0 ? (v(), k("tbody", {
5298
5330
  key: 1,
5299
5331
  class: L(["text-center py-8", Q.value.empty])
5300
5332
  }, [
@@ -5302,25 +5334,25 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5302
5334
  d("td", {
5303
5335
  colspan: Ps.value.length
5304
5336
  }, [
5305
- yr(Na)
5306
- ], 8, nl)
5337
+ br(Na)
5338
+ ], 8, al)
5307
5339
  ])
5308
- ], 2)) : te("", !0)
5340
+ ], 2)) : Z("", !0)
5309
5341
  ], 6)
5310
5342
  ], 2)
5311
5343
  ])),
5312
- cr.value && !l.value && !s.loading && !c.value ? (v(), $e(kn, {
5344
+ ur.value && !l.value && !s.loading && !c.value ? (v(), Ve(wn, {
5313
5345
  key: 3,
5314
- page: _e.value,
5346
+ page: Ne.value,
5315
5347
  limit: Be.value,
5316
5348
  total: rt.value,
5317
5349
  theme: s.theme,
5318
5350
  size: s.size,
5319
5351
  "onUpdate:page": je
5320
- }, null, 8, ["page", "limit", "total", "theme", "size"])) : te("", !0)
5352
+ }, null, 8, ["page", "limit", "total", "theme", "size"])) : Z("", !0)
5321
5353
  ], 2));
5322
5354
  }
5323
- }), rl = { style: { display: "none" } }, il = /* @__PURE__ */ ae({
5355
+ }), ll = { style: { display: "none" } }, cl = /* @__PURE__ */ ae({
5324
5356
  name: "Column",
5325
5357
  __name: "Column",
5326
5358
  props: {
@@ -5341,7 +5373,7 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5341
5373
  suffix: {}
5342
5374
  },
5343
5375
  setup(e) {
5344
- const t = e, s = xn(), n = br("registerColumn");
5376
+ const t = e, s = kn(), n = xr("registerColumn");
5345
5377
  return Ge(() => {
5346
5378
  if (n) {
5347
5379
  const {
@@ -5372,11 +5404,11 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5372
5404
  const w = s.body;
5373
5405
  n(R, w);
5374
5406
  }
5375
- }), (r, i) => (v(), E("div", rl, [
5407
+ }), (r, i) => (v(), k("div", ll, [
5376
5408
  Ie(r.$slots, "body", { data: {} })
5377
5409
  ]));
5378
5410
  }
5379
- }), ol = { class: "mt-4" }, al = { class: "text-sm text-gray-600 dark:text-gray-300" }, ll = /* @__PURE__ */ ae({
5411
+ }), ul = { class: "mt-4" }, dl = { class: "text-sm text-gray-600 dark:text-gray-300" }, fl = /* @__PURE__ */ ae({
5380
5412
  __name: "SelectionInfo",
5381
5413
  props: {
5382
5414
  selectedRows: {},
@@ -5384,11 +5416,11 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5384
5416
  },
5385
5417
  setup(e) {
5386
5418
  const t = e, s = q(() => t.selectedRows.length);
5387
- return (n, r) => (v(), E("div", ol, [
5388
- d("div", al, " Обрано: " + D(s.value) + " з " + D(n.totalCount) + " записів ", 1)
5419
+ return (n, r) => (v(), k("div", ul, [
5420
+ d("div", dl, " Обрано: " + D(s.value) + " з " + D(n.totalCount) + " записів ", 1)
5389
5421
  ]));
5390
5422
  }
5391
- }), cl = { class: "mt-4" }, ul = { class: "border-b border-gray-200 dark:border-gray-700" }, dl = { class: "-mb-px flex space-x-8" }, fl = ["onClick"], pl = { class: "mt-4" }, hl = { class: "bg-gray-900 rounded-lg overflow-hidden" }, ml = { class: "flex items-center justify-between px-4 py-2 bg-gray-800 border-b border-gray-700" }, gl = { class: "text-sm text-gray-300" }, vl = ["onClick"], yl = { class: "p-4 text-sm text-gray-100 overflow-x-auto" }, bl = /* @__PURE__ */ ae({
5423
+ }), pl = { class: "mt-4" }, hl = { class: "border-b border-gray-200 dark:border-gray-700" }, ml = { class: "-mb-px flex space-x-8" }, gl = ["onClick"], vl = { class: "mt-4" }, yl = { class: "bg-gray-900 rounded-lg overflow-hidden" }, bl = { class: "flex items-center justify-between px-4 py-2 bg-gray-800 border-b border-gray-700" }, xl = { class: "text-sm text-gray-300" }, kl = ["onClick"], El = { class: "p-4 text-sm text-gray-100 overflow-x-auto" }, wl = /* @__PURE__ */ ae({
5392
5424
  __name: "CodeTabs",
5393
5425
  props: {
5394
5426
  tabs: {},
@@ -5402,26 +5434,26 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5402
5434
  console.error("Помилка копіювання:", i);
5403
5435
  }
5404
5436
  };
5405
- return (r, i) => (v(), E("div", cl, [
5406
- d("div", ul, [
5407
- d("nav", dl, [
5408
- (v(!0), E(ne, null, Se(r.tabs, (o) => (v(), E("button", {
5437
+ return (r, i) => (v(), k("div", pl, [
5438
+ d("div", hl, [
5439
+ d("nav", ml, [
5440
+ (v(!0), k(ne, null, Se(r.tabs, (o) => (v(), k("button", {
5409
5441
  key: o.id,
5410
5442
  onClick: (a) => s.value = o.id,
5411
5443
  class: L([
5412
5444
  "py-2 px-1 border-b-2 font-medium text-sm transition-colors",
5413
5445
  s.value === o.id ? "border-blue-500 text-blue-600 dark:text-blue-400" : "border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:text-gray-300"
5414
5446
  ])
5415
- }, D(o.label), 11, fl))), 128))
5447
+ }, D(o.label), 11, gl))), 128))
5416
5448
  ])
5417
5449
  ]),
5418
- d("div", pl, [
5419
- (v(!0), E(ne, null, Se(r.tabs, (o) => ke((v(), E("div", {
5450
+ d("div", vl, [
5451
+ (v(!0), k(ne, null, Se(r.tabs, (o) => Ee((v(), k("div", {
5420
5452
  key: o.id
5421
5453
  }, [
5422
- d("div", hl, [
5423
- d("div", ml, [
5424
- d("span", gl, D(o.label), 1),
5454
+ d("div", yl, [
5455
+ d("div", bl, [
5456
+ d("span", xl, D(o.label), 1),
5425
5457
  d("button", {
5426
5458
  onClick: (a) => n(o.content),
5427
5459
  class: "text-gray-400 hover:text-white transition-colors",
@@ -5440,9 +5472,9 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5440
5472
  d: "M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"
5441
5473
  })
5442
5474
  ], -1)
5443
- ]), 8, vl)
5475
+ ]), 8, kl)
5444
5476
  ]),
5445
- d("pre", yl, [
5477
+ d("pre", El, [
5446
5478
  d("code", null, D(o.content), 1)
5447
5479
  ])
5448
5480
  ])
@@ -5452,19 +5484,19 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5452
5484
  ])
5453
5485
  ]));
5454
5486
  }
5455
- }), xl = {
5487
+ }), Sl = {
5456
5488
  key: 0,
5457
5489
  class: "vs-dialog-overlay vs-dialog w-full h-full fixed top-0 start-0 z-[80] bg-black bg-opacity-50"
5458
- }, El = { class: "m-[10px] fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 min-h-0 h-fit max-h-[80vh] overflow-hidden opacity-1 flex flex-col bg-white dark:bg-[#1A1A1A] border dark:border-[#454545] pointer-events-auto shadow-[0_10px_40px_10px_rgba(0,0,0,0.08)] rounded-xl md:w-5/12 w-9/12" }, kl = { class: "py-2.5 px-4 flex justify-between items-center border-0 border-b border-solid border-gray-200 dark:border-b-[#454545]" }, wl = { class: "font-medium text-gray-800 dark:text-[#ffffff]" }, Sl = { class: "sr-only" }, Nl = { class: "ui-dialog__content p-4" }, _l = { class: "p-4" }, Cl = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, Tl = { class: "text-sm font-[600] text-gray-500" }, Ol = { class: "flex items-center gap-[10px] -ml-[10px] my-[10px]" }, Il = { class: "h-[14px] w-[14px] border rounded-full flex items-center justify-center" }, Dl = {
5490
+ }, _l = { class: "m-[10px] fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 min-h-0 h-fit max-h-[80vh] overflow-hidden opacity-1 flex flex-col bg-white dark:bg-[#1A1A1A] border dark:border-[#454545] pointer-events-auto shadow-[0_10px_40px_10px_rgba(0,0,0,0.08)] rounded-xl md:w-5/12 w-9/12" }, Nl = { class: "py-2.5 px-4 flex justify-between items-center border-0 border-b border-solid border-gray-200 dark:border-b-[#454545]" }, Cl = { class: "font-medium text-gray-800 dark:text-[#ffffff]" }, Tl = { class: "sr-only" }, Ol = { class: "ui-dialog__content p-4" }, Il = { class: "p-4" }, Dl = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, Al = { class: "text-sm font-[600] text-gray-500" }, $l = { class: "flex items-center gap-[10px] -ml-[10px] my-[10px]" }, Vl = { class: "h-[14px] w-[14px] border rounded-full flex items-center justify-center" }, Rl = {
5459
5491
  key: 0,
5460
5492
  class: "block h-[8px] w-[8px] rounded-full bg-blue-500"
5461
- }, Al = { class: "h-[14px] w-[14px] border rounded-full flex items-center justify-center" }, Vl = {
5493
+ }, Ml = { class: "h-[14px] w-[14px] border rounded-full flex items-center justify-center" }, Ll = {
5462
5494
  key: 0,
5463
5495
  class: "block h-[8px] w-[8px] rounded-full bg-blue-500"
5464
- }, $l = { class: "h-[14px] w-[14px] border rounded-full flex items-center justify-center" }, Rl = {
5496
+ }, Pl = { class: "h-[14px] w-[14px] border rounded-full flex items-center justify-center" }, Fl = {
5465
5497
  key: 0,
5466
5498
  class: "block h-[8px] w-[8px] rounded-full bg-blue-500"
5467
- }, Ml = { class: "mt-2 flex row flex-wrap gap-y-[5px] gap-x-[10px]" }, Ll = { class: "flex items-center [&>label]:text-sm [&>label]:text-gray-800 [&>label]:ms-3 !gap-x-[1px] !p-0" }, Pl = { class: "flex items-center gap-[4px]" }, Fl = ["id", "value"], Bl = ["for"], jl = {
5499
+ }, Bl = { class: "mt-2 flex row flex-wrap gap-y-[5px] gap-x-[10px]" }, jl = { class: "flex items-center [&>label]:text-sm [&>label]:text-gray-800 [&>label]:ms-3 !gap-x-[1px] !p-0" }, Ul = { class: "flex items-center gap-[4px]" }, Hl = ["id", "value"], zl = ["for"], ql = {
5468
5500
  xmlns: "http://www.w3.org/2000/svg",
5469
5501
  viewBox: "0 0 24 24",
5470
5502
  fill: "none",
@@ -5475,23 +5507,23 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5475
5507
  class: "icon icon-tabler icons-tabler-outline icon-tabler-check",
5476
5508
  height: "12",
5477
5509
  width: "12"
5478
- }, Ul = { class: "text-[13px] text-gray-500 flex items-center gap-x-1 ml-1 dark:text-neutral-400" }, Hl = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, zl = { class: "text-sm font-[600] text-gray-500" }, ql = { class: "mt-2 space-y-2" }, Kl = { class: "flex items-center" }, Wl = {
5510
+ }, Kl = { class: "text-[13px] text-gray-500 flex items-center gap-x-1 ml-1 dark:text-neutral-400" }, Wl = { class: "pb-5 mb-5 border-b border-gray-200 last:pb-0 last:mb-0 last:border-b-0 dark:border-neutral-700" }, Gl = { class: "text-sm font-[600] text-gray-500" }, Jl = { class: "mt-2 space-y-2" }, Yl = { class: "flex items-center" }, Xl = {
5479
5511
  for: "json",
5480
5512
  class: "text-sm text-gray-800 ms-3 dark:text-neutral-400"
5481
- }, Gl = { class: "flex items-center" }, Jl = {
5513
+ }, Ql = { class: "flex items-center" }, Zl = {
5482
5514
  for: "csv",
5483
5515
  class: "text-sm text-gray-800 ms-3 dark:text-neutral-400"
5484
- }, Yl = { class: "flex items-center" }, Xl = {
5516
+ }, ec = { class: "flex items-center" }, tc = {
5485
5517
  for: "xlsx",
5486
5518
  class: "text-sm text-gray-800 ms-3 dark:text-neutral-400"
5487
- }, Ql = { class: "flex justify-end gap-x-2" }, Zl = { class: "flex w-full justify-end p-[20px] gap-[6px] border-t" }, ec = ["disabled"], tc = /* @__PURE__ */ ae({
5519
+ }, sc = { class: "flex justify-end gap-x-2" }, nc = { class: "flex w-full justify-end p-[20px] gap-[6px] border-t" }, rc = ["disabled"], ic = /* @__PURE__ */ ae({
5488
5520
  __name: "Export",
5489
5521
  props: {
5490
5522
  table: {},
5491
5523
  columns: {}
5492
5524
  },
5493
5525
  setup(e) {
5494
- const t = mn(), s = fs(), n = e, r = M(!1), i = M([]), o = M("json"), a = M(!1), l = M("all"), c = q(() => n.columns ?? []), m = gn();
5526
+ const t = gn(), s = fs(), n = e, r = M(!1), i = M([]), o = M("json"), a = M(!1), l = M("all"), c = q(() => n.columns ?? []), m = vn();
5495
5527
  function u() {
5496
5528
  i.value = c.value.map((w) => w.name), o.value = "json", r.value = !0;
5497
5529
  }
@@ -5502,8 +5534,8 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5502
5534
  i.value = c.value.map((w) => w.name), l.value = "all";
5503
5535
  }
5504
5536
  function x() {
5505
- const w = c.value.filter((k) => !k.hidden).map((k) => k.name);
5506
- i.value = w.length ? w : c.value.map((k) => k.name), l.value = "active";
5537
+ const w = c.value.filter((E) => !E.hidden).map((E) => E.name);
5538
+ i.value = w.length ? w : c.value.map((E) => E.name), l.value = "active";
5507
5539
  }
5508
5540
  function y() {
5509
5541
  i.value = [], l.value = "none";
@@ -5517,47 +5549,47 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5517
5549
  columns: i.value.join(",")
5518
5550
  });
5519
5551
  try {
5520
- const k = await fetch(`/api/export?${w.toString()}`, {
5552
+ const E = await fetch(`/api/export?${w.toString()}`, {
5521
5553
  method: "GET"
5522
5554
  });
5523
- if (!k.ok) throw new Error("Export failed");
5524
- const C = await k.blob(), T = URL.createObjectURL(C), I = document.createElement("a");
5555
+ if (!E.ok) throw new Error("Export failed");
5556
+ const C = await E.blob(), T = URL.createObjectURL(C), I = document.createElement("a");
5525
5557
  I.href = T, I.download = `${n.table}.${o.value}`, document.body.appendChild(I), I.click(), I.remove(), URL.revokeObjectURL(T), f();
5526
- } catch (k) {
5527
- console.error(k);
5558
+ } catch (E) {
5559
+ console.error(E);
5528
5560
  const { $notify: C = console.log } = t?.appContext?.config?.globalProperties || {};
5529
5561
  C({ type: "error", title: "Помилка", message: "Не вдалося єкспортувати файл" });
5530
5562
  } finally {
5531
5563
  a.value = !1;
5532
5564
  }
5533
5565
  }
5534
- const N = M("uk"), R = (w) => {
5535
- w.detail.key === "locale" && (N.value = w.detail.newValue);
5566
+ const _ = M("uk"), R = (w) => {
5567
+ w.detail.key === "locale" && (_.value = w.detail.newValue);
5536
5568
  };
5537
5569
  return us(() => {
5538
5570
  window.removeEventListener("storage", R);
5539
5571
  }), Ge(() => {
5540
- window.addEventListener("storage", R), N.value = localStorage.locale;
5541
- }), (w, k) => (v(), E(ne, null, [
5572
+ window.addEventListener("storage", R), _.value = localStorage.locale;
5573
+ }), (w, E) => (v(), k(ne, null, [
5542
5574
  d("button", {
5543
5575
  onClick: u,
5544
5576
  class: L([[X(m).class], "py-2 max-h-[34px] px-2.5 md:inline-flex hidden items-center gap-x-1.5 text-xs font-medium rounded-lg border border-gray-200 bg-white text-gray-800 shadow-sm hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-gray-50 dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"])
5545
5577
  }, [
5546
- k[4] || (k[4] = ds('<svg class="flex-shrink-0 mt-0.5 size-3.5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" height="16" width="16"><path d="m3 16 4 4 4-4"></path><path d="M7 20V4"></path><path d="m21 8-4-4-4 4"></path><path d="M17 4v16"></path></svg>', 1)),
5578
+ E[4] || (E[4] = ds('<svg class="flex-shrink-0 mt-0.5 size-3.5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" height="16" width="16"><path d="m3 16 4 4 4-4"></path><path d="M7 20V4"></path><path d="m21 8-4-4-4 4"></path><path d="M17 4v16"></path></svg>', 1)),
5547
5579
  be(" " + D(X(s)("table.export")), 1)
5548
5580
  ], 2),
5549
- (v(), $e(yn, { to: "body" }, [
5550
- r.value ? (v(), E("div", xl, [
5551
- d("div", El, [
5552
- d("div", kl, [
5553
- d("h3", wl, D(X(s)("table.exportTitle")), 1),
5581
+ (v(), Ve(bn, { to: "body" }, [
5582
+ r.value ? (v(), k("div", Sl, [
5583
+ d("div", _l, [
5584
+ d("div", Nl, [
5585
+ d("h3", Cl, D(X(s)("table.exportTitle")), 1),
5554
5586
  d("button", {
5555
5587
  type: "button",
5556
5588
  onClick: f,
5557
5589
  class: "size-8 inline-flex justify-center items-center gap-x-2 rounded-full border border-transparent bg-gray-100 text-gray-800 hover:bg-gray-200 focus:outline-none focus:bg-gray-200 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-700 dark:hover:bg-neutral-600 dark:text-neutral-400 dark:focus:bg-neutral-600"
5558
5590
  }, [
5559
- d("span", Sl, D(X(s)("table.close")), 1),
5560
- k[5] || (k[5] = d("svg", {
5591
+ d("span", Tl, D(X(s)("table.close")), 1),
5592
+ E[5] || (E[5] = d("svg", {
5561
5593
  class: "flex-shrink-0 w-4 h-4",
5562
5594
  xmlns: "http://www.w3.org/2000/svg",
5563
5595
  width: "24",
@@ -5574,17 +5606,17 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5574
5606
  ], -1))
5575
5607
  ])
5576
5608
  ]),
5577
- d("div", Nl, [
5578
- d("div", _l, [
5579
- d("div", Cl, [
5580
- d("h2", Tl, D(X(s)("table.chooseColumns")), 1),
5581
- d("div", Ol, [
5609
+ d("div", Ol, [
5610
+ d("div", Il, [
5611
+ d("div", Dl, [
5612
+ d("h2", Al, D(X(s)("table.chooseColumns")), 1),
5613
+ d("div", $l, [
5582
5614
  d("button", {
5583
5615
  onClick: h,
5584
5616
  class: "inline-flex items-center gap-[8px] justify-center px-3 py-2 text-sm font-medium text-gray-800 align-middle bg-white border-gray-200 text-nowrap text-start"
5585
5617
  }, [
5586
- d("span", Il, [
5587
- l.value === "all" ? (v(), E("span", Dl)) : te("", !0)
5618
+ d("span", Vl, [
5619
+ l.value === "all" ? (v(), k("span", Rl)) : Z("", !0)
5588
5620
  ]),
5589
5621
  be(" " + D(X(s)("table.selectAll")), 1)
5590
5622
  ]),
@@ -5592,8 +5624,8 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5592
5624
  onClick: x,
5593
5625
  class: "inline-flex items-center gap-[8px] justify-center px-3 py-2 text-sm font-medium text-gray-800 align-middle bg-white border-gray-200 text-nowrap text-start"
5594
5626
  }, [
5595
- d("span", Al, [
5596
- l.value === "active" ? (v(), E("span", Vl)) : te("", !0)
5627
+ d("span", Ml, [
5628
+ l.value === "active" ? (v(), k("span", Ll)) : Z("", !0)
5597
5629
  ]),
5598
5630
  be(" " + D(X(s)("table.selectCurrent")), 1)
5599
5631
  ]),
@@ -5601,28 +5633,28 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5601
5633
  onClick: y,
5602
5634
  class: "inline-flex items-center gap-[8px] justify-center px-3 py-2 text-sm font-medium text-gray-800 align-middle bg-white border-gray-200 text-nowrap text-start"
5603
5635
  }, [
5604
- d("span", $l, [
5605
- l.value === "none" ? (v(), E("span", Rl)) : te("", !0)
5636
+ d("span", Pl, [
5637
+ l.value === "none" ? (v(), k("span", Fl)) : Z("", !0)
5606
5638
  ]),
5607
5639
  be(" " + D(X(s)("table.none")), 1)
5608
5640
  ])
5609
5641
  ]),
5610
- d("div", Ml, [
5611
- (v(!0), E(ne, null, Se(c.value, (C) => (v(), E("div", {
5642
+ d("div", Bl, [
5643
+ (v(!0), k(ne, null, Se(c.value, (C) => (v(), k("div", {
5612
5644
  class: "flex items-center",
5613
5645
  style: { width: "calc(50% - 5px)" },
5614
5646
  key: C.name
5615
5647
  }, [
5616
- d("div", Ll, [
5617
- d("div", Pl, [
5618
- ke(d("input", {
5648
+ d("div", jl, [
5649
+ d("div", Ul, [
5650
+ Ee(d("input", {
5619
5651
  type: "checkbox",
5620
5652
  class: "shrink-0 border border-solid hidden border-gray-200 w-3.5 h-3.5 rounded text-blue-600 focus:ring-offset-0 dark:bg-neutral-800 dark:border-neutral-700 cursor-pointer",
5621
5653
  id: "radio-" + C.name,
5622
5654
  value: C.name,
5623
- "onUpdate:modelValue": k[0] || (k[0] = (T) => i.value = T)
5624
- }, null, 8, Fl), [
5625
- [xr, i.value]
5655
+ "onUpdate:modelValue": E[0] || (E[0] = (T) => i.value = T)
5656
+ }, null, 8, Hl), [
5657
+ [kr, i.value]
5626
5658
  ]),
5627
5659
  d("label", {
5628
5660
  for: "radio-" + C.name,
@@ -5630,9 +5662,9 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5630
5662
  }, [
5631
5663
  d("div", {
5632
5664
  class: "h-[16px] text-white w-[16px] flex items-center justify-center shrink-0 border rounded bg-white",
5633
- style: Pt(i.value.includes(C.name) ? "background-color: rgb(37,99,235); border-color: transparent;" : "")
5665
+ style: Ft(i.value.includes(C.name) ? "background-color: rgb(37,99,235); border-color: transparent;" : "")
5634
5666
  }, [
5635
- ke((v(), E("svg", jl, k[6] || (k[6] = [
5667
+ Ee((v(), k("svg", ql, E[6] || (E[6] = [
5636
5668
  d("path", {
5637
5669
  stroke: "none",
5638
5670
  d: "M0 0h24v24H0z",
@@ -5643,61 +5675,61 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5643
5675
  [En, i.value.includes(C.name)]
5644
5676
  ])
5645
5677
  ], 4),
5646
- d("span", Ul, D(C[N.value] || C.header || C.ua || C.name), 1)
5647
- ], 8, Bl)
5678
+ d("span", Kl, D(C[_.value] || C.header || C.ua || C.name), 1)
5679
+ ], 8, zl)
5648
5680
  ])
5649
5681
  ])
5650
5682
  ]))), 128))
5651
5683
  ])
5652
5684
  ]),
5653
- d("div", Hl, [
5654
- d("h2", zl, D(X(s)("table.chooseFormat")), 1),
5655
- d("div", ql, [
5656
- d("div", Kl, [
5657
- ke(d("input", {
5685
+ d("div", Wl, [
5686
+ d("h2", Gl, D(X(s)("table.chooseFormat")), 1),
5687
+ d("div", Jl, [
5688
+ d("div", Yl, [
5689
+ Ee(d("input", {
5658
5690
  type: "radio",
5659
5691
  name: "hs-pro-duecmfm",
5660
5692
  class: "text-blue-600 border-gray-300 rounded-full shrink-0 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-500 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800",
5661
5693
  id: "json",
5662
5694
  value: "json",
5663
- "onUpdate:modelValue": k[1] || (k[1] = (C) => o.value = C)
5695
+ "onUpdate:modelValue": E[1] || (E[1] = (C) => o.value = C)
5664
5696
  }, null, 512), [
5665
5697
  [Wt, o.value]
5666
5698
  ]),
5667
- d("label", Wl, D(X(s)("table.format.json")), 1)
5699
+ d("label", Xl, D(X(s)("table.format.json")), 1)
5668
5700
  ]),
5669
- d("div", Gl, [
5670
- ke(d("input", {
5701
+ d("div", Ql, [
5702
+ Ee(d("input", {
5671
5703
  type: "radio",
5672
5704
  name: "hs-pro-duecmfm",
5673
5705
  class: "text-blue-600 border-gray-300 rounded-full shrink-0 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-500 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800",
5674
5706
  id: "csv",
5675
5707
  value: "csv",
5676
- "onUpdate:modelValue": k[2] || (k[2] = (C) => o.value = C)
5708
+ "onUpdate:modelValue": E[2] || (E[2] = (C) => o.value = C)
5677
5709
  }, null, 512), [
5678
5710
  [Wt, o.value]
5679
5711
  ]),
5680
- d("label", Jl, D(X(s)("table.format.csv")), 1)
5712
+ d("label", Zl, D(X(s)("table.format.csv")), 1)
5681
5713
  ]),
5682
- d("div", Yl, [
5683
- ke(d("input", {
5714
+ d("div", ec, [
5715
+ Ee(d("input", {
5684
5716
  type: "radio",
5685
5717
  name: "hs-pro-duecmfm",
5686
5718
  class: "text-blue-600 border-gray-300 rounded-full shrink-0 focus:ring-blue-500 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-500 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800",
5687
5719
  id: "xlsx",
5688
5720
  value: "xlsx",
5689
- "onUpdate:modelValue": k[3] || (k[3] = (C) => o.value = C)
5721
+ "onUpdate:modelValue": E[3] || (E[3] = (C) => o.value = C)
5690
5722
  }, null, 512), [
5691
5723
  [Wt, o.value]
5692
5724
  ]),
5693
- d("label", Xl, D(X(s)("table.format.xlsx")), 1)
5725
+ d("label", tc, D(X(s)("table.format.xlsx")), 1)
5694
5726
  ])
5695
5727
  ])
5696
5728
  ])
5697
5729
  ])
5698
5730
  ]),
5699
- d("div", Ql, [
5700
- d("div", Zl, [
5731
+ d("div", sc, [
5732
+ d("div", nc, [
5701
5733
  d("button", {
5702
5734
  type: "button",
5703
5735
  onClick: f,
@@ -5708,33 +5740,33 @@ const Ea = { class: "py-10 flex flex-col justify-center items-center text-center
5708
5740
  onClick: O,
5709
5741
  disabled: i.value.length === 0 || a.value,
5710
5742
  class: "inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-white align-middle bg-blue-700 rounded-lg shadow-sm text-nowrap gap-x-2 text-start hover:bg-blue-800 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:ring-1 focus:ring-blue-300 dark:focus:ring-blue-500"
5711
- }, D(X(s)("table.download")), 9, ec)
5743
+ }, D(X(s)("table.download")), 9, rc)
5712
5744
  ])
5713
5745
  ])
5714
5746
  ])
5715
- ])) : te("", !0)
5747
+ ])) : Z("", !0)
5716
5748
  ]))
5717
5749
  ], 64));
5718
5750
  }
5719
5751
  });
5720
- hn.install = function(t) {
5721
- t.component("DataTable", hn), t.component("Column", il), t.component("Pagination", kn), t.component("SelectionInfo", ll), t.component("CodeTabs", bl), t.component("ColumnsSettings", Ir), t.component("Export", tc);
5752
+ mn.install = function(t) {
5753
+ t.component("DataTable", mn), t.component("Column", cl), t.component("Pagination", wn), t.component("SelectionInfo", fl), t.component("CodeTabs", wl), t.component("ColumnsSettings", Dr), t.component("Export", ic);
5722
5754
  };
5723
5755
  export {
5724
- Pr as ArrayFormat,
5725
- Mr as BadgeFormat,
5726
- jr as BooleanFormat,
5727
- bl as CodeTabs,
5728
- il as Column,
5729
- Ir as ColumnsSettings,
5730
- hn as DataTable,
5731
- Ar as DateFormat,
5732
- tc as Export,
5733
- Dr as NumberFormat,
5734
- kn as Pagination,
5735
- Fr as SelectFormat,
5736
- ll as SelectionInfo,
5756
+ Fr as ArrayFormat,
5757
+ Lr as BadgeFormat,
5758
+ Ur as BooleanFormat,
5759
+ wl as CodeTabs,
5760
+ cl as Column,
5761
+ Dr as ColumnsSettings,
5762
+ mn as DataTable,
5763
+ $r as DateFormat,
5764
+ ic as Export,
5765
+ Ar as NumberFormat,
5766
+ wn as Pagination,
5767
+ Br as SelectFormat,
5768
+ fl as SelectionInfo,
5737
5769
  Vr as TextFormat,
5738
- hn as default,
5739
- js as formatComponents
5770
+ mn as default,
5771
+ Us as formatComponents
5740
5772
  };