@opengis/table 0.0.38 → 0.0.39

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,5 +1,5 @@
1
- import * as Vr from "vue";
2
- import { getCurrentInstance as Os, ref as L, onMounted as tt, onUnmounted as Is, defineComponent as oe, useAttrs as Ds, computed as M, watch as De, onBeforeUnmount as As, createElementBlock as w, openBlock as b, Fragment as re, createElementVNode as d, createBlock as Ce, normalizeClass as F, unref as G, createStaticVNode as kn, Teleport as dt, createCommentVNode as J, normalizeStyle as ft, toDisplayString as T, withDirectives as Se, vModelText as It, withModifiers as ct, renderList as Oe, createTextVNode as _e, nextTick as En, renderSlot as Le, withKeys as nn, vModelSelect as Rr, useSlots as $s, provide as Mr, withCtx as Lr, resolveDynamicComponent as St, createVNode as Pr, inject as Fr, vShow as Vs, vModelCheckbox as Br, vModelRadio as sn } from "vue";
1
+ import * as Rr from "vue";
2
+ import { getCurrentInstance as Is, ref as L, onMounted as tt, onUnmounted as Ds, defineComponent as oe, useAttrs as As, computed as M, watch as Ae, onBeforeUnmount as $s, createElementBlock as w, openBlock as x, Fragment as re, createElementVNode as d, createBlock as Ce, normalizeClass as F, unref as G, createStaticVNode as kn, Teleport as dt, createCommentVNode as J, normalizeStyle as ft, toDisplayString as T, withDirectives as Se, vModelText as It, withModifiers as ct, renderList as Oe, createTextVNode as _e, nextTick as En, renderSlot as De, withKeys as nn, vModelSelect as Mr, useSlots as Vs, provide as Lr, withCtx as Pr, resolveDynamicComponent as St, createVNode as Fr, inject as Br, vShow as Rs, vModelCheckbox as jr, vModelRadio as sn } from "vue";
3
3
  const _t = {
4
4
  en: {
5
5
  table: {
@@ -62,7 +62,7 @@ const _t = {
62
62
  }
63
63
  }
64
64
  };
65
- function jr(e) {
65
+ function es(e) {
66
66
  const n = (() => {
67
67
  try {
68
68
  if (typeof localStorage < "u") {
@@ -80,8 +80,14 @@ function jr(e) {
80
80
  return i && typeof i == "string" ? i : e;
81
81
  }
82
82
  function Kt() {
83
- const e = Os();
84
- return e?.appContext?.config?.globalProperties?.$i18n ? e.appContext.config.globalProperties.$t : jr;
83
+ const e = Is();
84
+ if (!e?.appContext?.config?.globalProperties?.$i18n)
85
+ return es;
86
+ const t = e.appContext.config.globalProperties.$t;
87
+ return (n) => {
88
+ const s = t(n);
89
+ return s === n ? es(n) : s;
90
+ };
85
91
  }
86
92
  function Mt(e) {
87
93
  return e && e.toString().split("-")[0]?.toLowerCase() || "uk";
@@ -112,7 +118,7 @@ function we(e, t, n) {
112
118
  function Wt(e, t) {
113
119
  return we(e, t, "label") ?? we(e, t, "header") ?? we(e, t, "title") ?? we(e, t, "ua") ?? we(e, t, "name") ?? e?.name ?? "";
114
120
  }
115
- function Rs(e, t) {
121
+ function Ms(e, t) {
116
122
  return we(e, t, "info") ?? null;
117
123
  }
118
124
  function Hr(e, t) {
@@ -145,7 +151,7 @@ function Gt() {
145
151
  };
146
152
  return tt(() => {
147
153
  typeof window > "u" || window.addEventListener("storage", n);
148
- }), Is(() => {
154
+ }), Ds(() => {
149
155
  typeof window > "u" || window.removeEventListener("storage", n);
150
156
  }), e;
151
157
  }
@@ -156,14 +162,14 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
156
162
  },
157
163
  emits: ["update:columns"],
158
164
  setup(e, { emit: t }) {
159
- const n = Kt(), s = e, r = t, i = Ds(), o = L(!1), a = L(""), l = L(s.columns), c = L(null), m = L(null), u = L(null), p = L({ top: 0, left: 0 }), h = Gt(), k = (O) => Wt(O, h.value), y = M(() => {
165
+ const n = Kt(), s = e, r = t, i = As(), o = L(!1), a = L(""), l = L(s.columns), c = L(null), m = L(null), u = L(null), p = L({ top: 0, left: 0 }), h = Gt(), k = (O) => Wt(O, h.value), b = M(() => {
160
166
  if (!a.value) return l.value;
161
167
  const O = a.value.toLowerCase();
162
168
  return l.value.filter((X) => k(X).toLowerCase().includes(O));
163
169
  });
164
- De(l, (O) => {
170
+ Ae(l, (O) => {
165
171
  r("update:columns", O);
166
- }, { deep: !0 }), De(() => s.columns, (O) => {
172
+ }, { deep: !0 }), Ae(() => s.columns, (O) => {
167
173
  JSON.stringify(O) !== JSON.stringify(l.value) && (l.value = [...O]);
168
174
  }, { deep: !0 });
169
175
  function I(O) {
@@ -185,9 +191,9 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
185
191
  }
186
192
  return tt(() => {
187
193
  document.addEventListener("click", B, !0);
188
- }), As(() => {
194
+ }), $s(() => {
189
195
  document.removeEventListener("click", B, !0);
190
- }), (O, X) => (b(), w(re, null, [
196
+ }), (O, X) => (x(), w(re, null, [
191
197
  d("button", {
192
198
  onClick: C,
193
199
  ref_key: "buttonRef",
@@ -196,8 +202,8 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
196
202
  }, X[2] || (X[2] = [
197
203
  kn('<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)
198
204
  ]), 2),
199
- (b(), Ce(dt, { to: "body" }, [
200
- o.value ? (b(), w("div", {
205
+ (x(), Ce(dt, { to: "body" }, [
206
+ o.value ? (x(), w("div", {
201
207
  key: 0,
202
208
  ref_key: "modalRef",
203
209
  ref: m,
@@ -224,7 +230,7 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
224
230
  onClick: X[1] || (X[1] = ct(() => {
225
231
  }, ["stop"]))
226
232
  }, [
227
- (b(!0), w(re, null, Oe(y.value, (K) => (b(), w("div", {
233
+ (x(!0), w(re, null, Oe(b.value, (K) => (x(), w("div", {
228
234
  key: K.name,
229
235
  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",
230
236
  onClick: (ce) => I(K)
@@ -273,7 +279,7 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
273
279
  const t = e, n = M(() => t.value === null || t.value === void 0 ? "" : typeof t.value == "number" ? t.value.toFixed(2) : Intl.NumberFormat("uk-UA", {
274
280
  maximumFractionDigits: 2
275
281
  }).format(Number(t.value)));
276
- return (s, r) => (b(), w("span", null, T(n.value || "-"), 1));
282
+ return (s, r) => (x(), w("span", null, T(n.value || "-"), 1));
277
283
  }
278
284
  }), ri = /* @__PURE__ */ oe({
279
285
  name: "DateFormat",
@@ -292,7 +298,7 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
292
298
  return t.value;
293
299
  }
294
300
  });
295
- return (s, r) => (b(), w("span", null, T(n.value || "-"), 1));
301
+ return (s, r) => (x(), w("span", null, T(n.value || "-"), 1));
296
302
  }
297
303
  }), ii = /* @__PURE__ */ oe({
298
304
  name: "TextFormat",
@@ -304,7 +310,7 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
304
310
  },
305
311
  setup(e) {
306
312
  const t = e, { value: n } = t, s = M(() => Array.isArray(n) ? n.map((r) => r.text || r).join(",") : n?.text || n);
307
- return (r, i) => (b(), w("span", null, T(s.value || "-"), 1));
313
+ return (r, i) => (x(), w("span", null, T(s.value || "-"), 1));
308
314
  }
309
315
  }), oi = /* @__PURE__ */ oe({
310
316
  name: "BadgeFormat",
@@ -335,7 +341,7 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
335
341
  color: s(t.value.color, 0.8)
336
342
  } : i;
337
343
  });
338
- return (i, o) => i.value ? (b(), w("span", {
344
+ return (i, o) => i.value ? (x(), w("span", {
339
345
  key: 0,
340
346
  class: F(["badge", n.value]),
341
347
  style: ft(r.value)
@@ -356,8 +362,8 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
356
362
  },
357
363
  setup(e) {
358
364
  const t = e, n = M(() => t.value ? Array.isArray(t.value) ? t.value : [t.value] : []), s = (r) => r ? typeof r == "object" && r.name ? r.name : typeof r == "string" || typeof r == "number" ? String(r) : JSON.stringify(r) : "";
359
- return (r, i) => (b(), w("div", ci, [
360
- (b(!0), w(re, null, Oe(n.value, (o, a) => (b(), w("span", {
365
+ return (r, i) => (x(), w("div", ci, [
366
+ (x(!0), w(re, null, Oe(n.value, (o, a) => (x(), w("span", {
361
367
  key: a,
362
368
  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"
363
369
  }, T(s(o)), 1))), 128))
@@ -373,7 +379,7 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
373
379
  },
374
380
  setup(e) {
375
381
  const t = e, { value: n } = t, s = M(() => Array.isArray(n) ? n.map((r) => r.text || r).filter((r, i) => i < 2).join(", ") + (n.length > 2 ? ` +${n.length - 2}` : "") : n?.text || n);
376
- return (r, i) => (b(), w("span", null, T(s.value || "-"), 1));
382
+ return (r, i) => (x(), w("span", null, T(s.value || "-"), 1));
377
383
  }
378
384
  }), fi = {
379
385
  key: 0,
@@ -395,8 +401,8 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
395
401
  // text: resolveColorClass('text-cyan-500'),
396
402
  // hover: resolveColorClass('hover:text-border-cyan-500'),
397
403
  // bg: resolveColorClass('bg-border-cyan-500 hover:bg-border-cyan-500/90'),
398
- })), (t, n) => (b(), w(re, null, [
399
- t.value ? (b(), w("span", fi, n[0] || (n[0] = [
404
+ })), (t, n) => (x(), w(re, null, [
405
+ t.value ? (x(), w("span", fi, n[0] || (n[0] = [
400
406
  d("svg", {
401
407
  xmlns: "http://www.w3.org/2000/svg",
402
408
  width: "24",
@@ -436,8 +442,8 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
436
442
  }
437
443
  const p = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
438
444
  return document.querySelector(`script[src="${p}"]`) || await new Promise((h, k) => {
439
- const y = document.createElement("script");
440
- y.src = p, y.async = !0, y.onload = () => h(), y.onerror = k, document.body.appendChild(y);
445
+ const b = document.createElement("script");
446
+ b.src = p, b.async = !0, b.onload = () => h(), b.onerror = k, document.body.appendChild(b);
441
447
  }), r = window.L, r;
442
448
  }
443
449
  async function l() {
@@ -466,15 +472,15 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
466
472
  i.setView([k, h], 14);
467
473
  }
468
474
  }
469
- return De(
475
+ return Ae(
470
476
  () => t.value,
471
477
  (u) => {
472
478
  n.value && i && m(u);
473
479
  },
474
480
  { deep: !0 }
475
- ), Is(() => {
481
+ ), Ds(() => {
476
482
  o && (o.remove(), o = null), i && (i.remove(), i = null);
477
- }), (u, p) => (b(), w("div", null, [
483
+ }), (u, p) => (x(), w("div", null, [
478
484
  d("button", {
479
485
  type: "button",
480
486
  onClick: l,
@@ -503,8 +509,8 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
503
509
  })
504
510
  ], -1)
505
511
  ])),
506
- (b(), Ce(dt, { to: "body" }, [
507
- n.value ? (b(), w("div", hi, [
512
+ (x(), Ce(dt, { to: "body" }, [
513
+ n.value ? (x(), w("div", hi, [
508
514
  d("div", mi, [
509
515
  d("button", {
510
516
  type: "button",
@@ -538,7 +544,7 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
538
544
  ]))
539
545
  ]));
540
546
  }
541
- }), es = {
547
+ }), ts = {
542
548
  number: si,
543
549
  date: ri,
544
550
  text: ii,
@@ -547,7 +553,7 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
547
553
  select: di,
548
554
  boolean: pi,
549
555
  geom: gi
550
- }, vi = { class: "flex items-center space-x-4" }, yi = { class: "font-medium" }, bi = { class: "font-medium" }, xi = { class: "font-medium" }, wi = { class: "flex items-center space-x-2" }, ki = ["disabled"], Ei = { class: "flex items-center space-x-1" }, Si = ["onClick"], _i = ["disabled"], Ms = /* @__PURE__ */ oe({
556
+ }, vi = { class: "flex items-center space-x-4" }, yi = { class: "font-medium" }, bi = { class: "font-medium" }, xi = { class: "font-medium" }, wi = { class: "flex items-center space-x-2" }, ki = ["disabled"], Ei = { class: "flex items-center space-x-1" }, Si = ["onClick"], _i = ["disabled"], Ls = /* @__PURE__ */ oe({
551
557
  name: "Pagination",
552
558
  __name: "Pagination",
553
559
  props: {
@@ -607,15 +613,15 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
607
613
  else {
608
614
  u.push(1), n.page > 4 && u.push("...");
609
615
  const h = Math.max(2, n.page - 1), k = Math.min(o.value - 1, n.page + 1);
610
- for (let y = h; y <= k; y += 1)
611
- y !== 1 && y !== o.value && u.push(y);
616
+ for (let b = h; b <= k; b += 1)
617
+ b !== 1 && b !== o.value && u.push(b);
612
618
  n.page < o.value - 3 && u.push("..."), o.value > 1 && u.push(o.value);
613
619
  }
614
620
  return u;
615
621
  }), m = (u) => {
616
622
  u >= 1 && u <= o.value && u !== n.page && i("update:page", u);
617
623
  };
618
- return (u, p) => (b(), w("div", {
624
+ return (u, p) => (x(), w("div", {
619
625
  class: F(["flex items-center justify-between py-3 border-t", r.value.container])
620
626
  }, [
621
627
  d("div", vi, [
@@ -643,7 +649,7 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
643
649
  u.page <= 1 ? r.value.buttonDisabled : r.value.button
644
650
  ])
645
651
  }, [
646
- (b(), w("svg", {
652
+ (x(), w("svg", {
647
653
  class: F(s.value.icon),
648
654
  fill: "none",
649
655
  stroke: "currentColor",
@@ -658,11 +664,11 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
658
664
  ]), 2))
659
665
  ], 10, ki),
660
666
  d("div", Ei, [
661
- (b(!0), w(re, null, Oe(c.value, (h) => (b(), w(re, { key: h }, [
662
- h === "..." ? (b(), w("span", {
667
+ (x(!0), w(re, null, Oe(c.value, (h) => (x(), w(re, { key: h }, [
668
+ h === "..." ? (x(), w("span", {
663
669
  key: 0,
664
670
  class: F(["font-medium", s.value.button, r.value.ellipsis])
665
- }, " ... ", 2)) : (b(), w("button", {
671
+ }, " ... ", 2)) : (x(), w("button", {
666
672
  key: 1,
667
673
  onClick: (k) => m(h),
668
674
  class: F([
@@ -682,7 +688,7 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
682
688
  u.page >= o.value ? r.value.buttonDisabled : r.value.button
683
689
  ])
684
690
  }, [
685
- (b(), w("svg", {
691
+ (x(), w("svg", {
686
692
  class: F(s.value.icon),
687
693
  fill: "none",
688
694
  stroke: "currentColor",
@@ -707,7 +713,7 @@ const Gr = { class: "flex items-center justify-between h-[48px] px-4 py-2 gap-x-
707
713
  **/
708
714
  /*! #__NO_SIDE_EFFECTS__ */
709
715
  // @__NO_SIDE_EFFECTS__
710
- function $e(e) {
716
+ function Ve(e) {
711
717
  const t = /* @__PURE__ */ Object.create(null);
712
718
  for (const n of e.split(",")) t[n] = 1;
713
719
  return (n) => n in t;
@@ -716,10 +722,10 @@ const Ni = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
716
722
  process.env.NODE_ENV !== "production" && Object.freeze([]);
717
723
  const on = () => {
718
724
  }, Nt = () => !1, dn = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
719
- (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Ue = Object.assign, Ae = Array.isArray, ie = (e) => typeof e == "string", Sn = (e) => typeof e == "symbol", Ci = (e) => e !== null && typeof e == "object", ts = /* @__PURE__ */ $e(
725
+ (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Ue = Object.assign, $e = Array.isArray, ie = (e) => typeof e == "string", Sn = (e) => typeof e == "symbol", Ci = (e) => e !== null && typeof e == "object", ns = /* @__PURE__ */ Ve(
720
726
  // the leading comma is intentional so empty string "" is also included
721
727
  ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
722
- ), Ti = /* @__PURE__ */ $e(
728
+ ), Ti = /* @__PURE__ */ Ve(
723
729
  "bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
724
730
  ), _n = (e) => {
725
731
  const t = /* @__PURE__ */ Object.create(null);
@@ -757,15 +763,15 @@ function Ri(e) {
757
763
  }
758
764
  }), t;
759
765
  }
760
- const Mi = "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", Pi = "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", Fi = "area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr", Bi = /* @__PURE__ */ $e(Mi), ji = /* @__PURE__ */ $e(Li), Ui = /* @__PURE__ */ $e(Pi), Hi = /* @__PURE__ */ $e(Fi);
766
+ const Mi = "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", Pi = "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", Fi = "area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr", Bi = /* @__PURE__ */ Ve(Mi), ji = /* @__PURE__ */ Ve(Li), Ui = /* @__PURE__ */ Ve(Pi), Hi = /* @__PURE__ */ Ve(Fi);
761
767
  /**
762
768
  * @vue/compiler-core v3.5.17
763
769
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
764
770
  * @license MIT
765
771
  **/
766
- const pt = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), ut = Symbol(process.env.NODE_ENV !== "production" ? "Teleport" : ""), Cn = Symbol(process.env.NODE_ENV !== "production" ? "Suspense" : ""), Lt = Symbol(process.env.NODE_ENV !== "production" ? "KeepAlive" : ""), Ls = Symbol(
772
+ const pt = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), ut = Symbol(process.env.NODE_ENV !== "production" ? "Teleport" : ""), Cn = Symbol(process.env.NODE_ENV !== "production" ? "Suspense" : ""), Lt = Symbol(process.env.NODE_ENV !== "production" ? "KeepAlive" : ""), Ps = Symbol(
767
773
  process.env.NODE_ENV !== "production" ? "BaseTransition" : ""
768
- ), Xe = Symbol(process.env.NODE_ENV !== "production" ? "openBlock" : ""), Ps = Symbol(process.env.NODE_ENV !== "production" ? "createBlock" : ""), Fs = Symbol(
774
+ ), Xe = Symbol(process.env.NODE_ENV !== "production" ? "openBlock" : ""), Fs = Symbol(process.env.NODE_ENV !== "production" ? "createBlock" : ""), Bs = Symbol(
769
775
  process.env.NODE_ENV !== "production" ? "createElementBlock" : ""
770
776
  ), Tn = Symbol(process.env.NODE_ENV !== "production" ? "createVNode" : ""), On = Symbol(
771
777
  process.env.NODE_ENV !== "production" ? "createElementVNode" : ""
@@ -773,7 +779,7 @@ const pt = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), ut =
773
779
  process.env.NODE_ENV !== "production" ? "createCommentVNode" : ""
774
780
  ), In = Symbol(
775
781
  process.env.NODE_ENV !== "production" ? "createTextVNode" : ""
776
- ), Bs = Symbol(
782
+ ), js = Symbol(
777
783
  process.env.NODE_ENV !== "production" ? "createStaticVNode" : ""
778
784
  ), Dn = Symbol(
779
785
  process.env.NODE_ENV !== "production" ? "resolveComponent" : ""
@@ -785,7 +791,7 @@ const pt = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), ut =
785
791
  process.env.NODE_ENV !== "production" ? "resolveFilter" : ""
786
792
  ), Rn = Symbol(
787
793
  process.env.NODE_ENV !== "production" ? "withDirectives" : ""
788
- ), Mn = Symbol(process.env.NODE_ENV !== "production" ? "renderList" : ""), js = Symbol(process.env.NODE_ENV !== "production" ? "renderSlot" : ""), Us = Symbol(process.env.NODE_ENV !== "production" ? "createSlots" : ""), Jt = Symbol(
794
+ ), Mn = Symbol(process.env.NODE_ENV !== "production" ? "renderList" : ""), Us = Symbol(process.env.NODE_ENV !== "production" ? "renderSlot" : ""), Hs = Symbol(process.env.NODE_ENV !== "production" ? "createSlots" : ""), Jt = Symbol(
789
795
  process.env.NODE_ENV !== "production" ? "toDisplayString" : ""
790
796
  ), Pt = Symbol(process.env.NODE_ENV !== "production" ? "mergeProps" : ""), Ln = Symbol(
791
797
  process.env.NODE_ENV !== "production" ? "normalizeClass" : ""
@@ -799,28 +805,28 @@ const pt = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), ut =
799
805
  process.env.NODE_ENV !== "production" ? "toHandlerKey" : ""
800
806
  ), Ft = Symbol(
801
807
  process.env.NODE_ENV !== "production" ? "setBlockTracking" : ""
802
- ), qi = Symbol(process.env.NODE_ENV !== "production" ? "pushScopeId" : ""), Ki = Symbol(process.env.NODE_ENV !== "production" ? "popScopeId" : ""), Bn = Symbol(process.env.NODE_ENV !== "production" ? "withCtx" : ""), Wi = Symbol(process.env.NODE_ENV !== "production" ? "unref" : ""), Gi = Symbol(process.env.NODE_ENV !== "production" ? "isRef" : ""), jn = Symbol(process.env.NODE_ENV !== "production" ? "withMemo" : ""), Hs = Symbol(process.env.NODE_ENV !== "production" ? "isMemoSame" : ""), nt = {
808
+ ), qi = Symbol(process.env.NODE_ENV !== "production" ? "pushScopeId" : ""), Ki = Symbol(process.env.NODE_ENV !== "production" ? "popScopeId" : ""), Bn = Symbol(process.env.NODE_ENV !== "production" ? "withCtx" : ""), Wi = Symbol(process.env.NODE_ENV !== "production" ? "unref" : ""), Gi = Symbol(process.env.NODE_ENV !== "production" ? "isRef" : ""), jn = Symbol(process.env.NODE_ENV !== "production" ? "withMemo" : ""), zs = Symbol(process.env.NODE_ENV !== "production" ? "isMemoSame" : ""), nt = {
803
809
  [pt]: "Fragment",
804
810
  [ut]: "Teleport",
805
811
  [Cn]: "Suspense",
806
812
  [Lt]: "KeepAlive",
807
- [Ls]: "BaseTransition",
813
+ [Ps]: "BaseTransition",
808
814
  [Xe]: "openBlock",
809
- [Ps]: "createBlock",
810
- [Fs]: "createElementBlock",
815
+ [Fs]: "createBlock",
816
+ [Bs]: "createElementBlock",
811
817
  [Tn]: "createVNode",
812
818
  [On]: "createElementVNode",
813
819
  [bt]: "createCommentVNode",
814
820
  [In]: "createTextVNode",
815
- [Bs]: "createStaticVNode",
821
+ [js]: "createStaticVNode",
816
822
  [Dn]: "resolveComponent",
817
823
  [An]: "resolveDynamicComponent",
818
824
  [$n]: "resolveDirective",
819
825
  [Vn]: "resolveFilter",
820
826
  [Rn]: "withDirectives",
821
827
  [Mn]: "renderList",
822
- [js]: "renderSlot",
823
- [Us]: "createSlots",
828
+ [Us]: "renderSlot",
829
+ [Hs]: "createSlots",
824
830
  [Jt]: "toDisplayString",
825
831
  [Pt]: "mergeProps",
826
832
  [Ln]: "normalizeClass",
@@ -838,7 +844,7 @@ const pt = Symbol(process.env.NODE_ENV !== "production" ? "Fragment" : ""), ut =
838
844
  [Wi]: "unref",
839
845
  [Gi]: "isRef",
840
846
  [jn]: "withMemo",
841
- [Hs]: "isMemoSame"
847
+ [zs]: "isMemoSame"
842
848
  };
843
849
  function Ji(e) {
844
850
  Object.getOwnPropertySymbols(e).forEach((t) => {
@@ -969,13 +975,13 @@ function rt(e, t) {
969
975
  return e || t ? Tn : On;
970
976
  }
971
977
  function it(e, t) {
972
- return e || t ? Ps : Fs;
978
+ return e || t ? Fs : Bs;
973
979
  }
974
980
  function Un(e, { helper: t, removeHelper: n, inSSR: s }) {
975
981
  e.isBlock || (e.isBlock = !0, n(rt(s, e.isComponent)), t(Xe), t(it(s, e.isComponent)));
976
982
  }
977
- const ns = new Uint8Array([123, 123]), ss = new Uint8Array([125, 125]);
978
- function rs(e) {
983
+ const ss = new Uint8Array([123, 123]), rs = new Uint8Array([125, 125]);
984
+ function is(e) {
979
985
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
980
986
  }
981
987
  function xe(e) {
@@ -1019,13 +1025,13 @@ const ae = {
1019
1025
  };
1020
1026
  class Qi {
1021
1027
  constructor(t, n) {
1022
- this.stack = t, this.cbs = n, 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 = ns, this.delimiterClose = ss, this.delimiterIndex = -1, this.currentSequence = void 0, this.sequenceIndex = 0;
1028
+ this.stack = t, this.cbs = n, 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 = ss, this.delimiterClose = rs, this.delimiterIndex = -1, this.currentSequence = void 0, this.sequenceIndex = 0;
1023
1029
  }
1024
1030
  get inSFCRoot() {
1025
1031
  return this.mode === 2 && this.stack.length === 0;
1026
1032
  }
1027
1033
  reset() {
1028
- 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 = ns, this.delimiterClose = ss;
1034
+ 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 = ss, this.delimiterClose = rs;
1029
1035
  }
1030
1036
  /**
1031
1037
  * Generate Position object with line / column information using recorded
@@ -1136,7 +1142,7 @@ class Qi {
1136
1142
  this.inRCDATA = !0, this.currentSequence = t, this.sequenceIndex = n;
1137
1143
  }
1138
1144
  stateBeforeTagName(t) {
1139
- t === 33 ? (this.state = 22, this.sectionStart = this.index + 1) : t === 63 ? (this.state = 24, this.sectionStart = this.index + 1) : rs(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));
1145
+ t === 33 ? (this.state = 22, this.sectionStart = this.index + 1) : t === 63 ? (this.state = 24, this.sectionStart = this.index + 1) : is(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));
1140
1146
  }
1141
1147
  stateInTagName(t) {
1142
1148
  Fe(t) && this.handleTagName(t);
@@ -1151,7 +1157,7 @@ class Qi {
1151
1157
  this.cbs.onopentagname(this.sectionStart, this.index), this.sectionStart = -1, this.state = 11, this.stateBeforeAttrName(t);
1152
1158
  }
1153
1159
  stateBeforeClosingTagName(t) {
1154
- xe(t) || (t === 62 ? (process.env.NODE_ENV !== "production" && this.cbs.onerr(14, this.index), this.state = 1, this.sectionStart = this.index + 1) : (this.state = rs(t) ? 9 : 27, this.sectionStart = this.index));
1160
+ xe(t) || (t === 62 ? (process.env.NODE_ENV !== "production" && this.cbs.onerr(14, this.index), this.state = 1, this.sectionStart = this.index + 1) : (this.state = is(t) ? 9 : 27, this.sectionStart = this.index));
1155
1161
  }
1156
1162
  stateInClosingTagName(t) {
1157
1163
  (t === 62 || xe(t)) && (this.cbs.onclosetag(this.sectionStart, this.index), this.sectionStart = -1, this.state = 10, this.stateAfterClosingTagName(t));
@@ -1466,7 +1472,7 @@ function jt(e, t, n, ...s) {
1466
1472
  function Hn(e) {
1467
1473
  throw e;
1468
1474
  }
1469
- function zs(e) {
1475
+ function qs(e) {
1470
1476
  process.env.NODE_ENV !== "production" && console.warn(`[Vue warn] ${e.message}`);
1471
1477
  }
1472
1478
  function Y(e, t, n, s) {
@@ -1535,7 +1541,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
1535
1541
  // just to fulfill types
1536
1542
  53: ""
1537
1543
  }, be = (e) => e.type === 4 && e.isStatic;
1538
- function qs(e) {
1544
+ function Ks(e) {
1539
1545
  switch (e) {
1540
1546
  case "Teleport":
1541
1547
  case "teleport":
@@ -1548,11 +1554,11 @@ function qs(e) {
1548
1554
  return Lt;
1549
1555
  case "BaseTransition":
1550
1556
  case "base-transition":
1551
- return Ls;
1557
+ return Ps;
1552
1558
  }
1553
1559
  }
1554
- const no = /^\d|[^\$\w\xA0-\uFFFF]/, zn = (e) => !no.test(e), so = /[A-Za-z_$\xA0-\uFFFF]/, ro = /[\.\?\w$\xA0-\uFFFF]/, io = /\s+[.[]\s*|\s*[.[]\s+/g, Ks = (e) => e.type === 4 ? e.content : e.loc.source, oo = (e) => {
1555
- const t = Ks(e).trim().replace(io, (a) => a.trim());
1560
+ const no = /^\d|[^\$\w\xA0-\uFFFF]/, zn = (e) => !no.test(e), so = /[A-Za-z_$\xA0-\uFFFF]/, ro = /[\.\?\w$\xA0-\uFFFF]/, io = /\s+[.[]\s*|\s*[.[]\s+/g, Ws = (e) => e.type === 4 ? e.content : e.loc.source, oo = (e) => {
1561
+ const t = Ws(e).trim().replace(io, (a) => a.trim());
1556
1562
  let n = 0, s = [], r = 0, i = 0, o = null;
1557
1563
  for (let a = 0; a < t.length; a++) {
1558
1564
  const l = t.charAt(a);
@@ -1585,8 +1591,8 @@ const no = /^\d|[^\$\w\xA0-\uFFFF]/, zn = (e) => !no.test(e), so = /[A-Za-z_$\xA
1585
1591
  }
1586
1592
  }
1587
1593
  return !r && !i;
1588
- }, Ws = oo, ao = /^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/, lo = (e) => ao.test(Ks(e)), co = lo;
1589
- function is(e, t) {
1594
+ }, Gs = oo, ao = /^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/, lo = (e) => ao.test(Ws(e)), co = lo;
1595
+ function os(e, t) {
1590
1596
  if (!e)
1591
1597
  throw new Error(t || "unexpected compiler condition");
1592
1598
  }
@@ -1632,11 +1638,11 @@ function Ht(e) {
1632
1638
  return e.type === 1 && e.tagType === 2;
1633
1639
  }
1634
1640
  const po = /* @__PURE__ */ new Set([ht, xt]);
1635
- function Gs(e, t = []) {
1641
+ function Js(e, t = []) {
1636
1642
  if (e && !ie(e) && e.type === 14) {
1637
1643
  const n = e.callee;
1638
1644
  if (!ie(n) && po.has(n))
1639
- return Gs(
1645
+ return Js(
1640
1646
  e.arguments[0],
1641
1647
  t.concat(e)
1642
1648
  );
@@ -1646,24 +1652,24 @@ function Gs(e, t = []) {
1646
1652
  function zt(e, t, n) {
1647
1653
  let s, r = e.type === 13 ? e.props : e.arguments[2], i = [], o;
1648
1654
  if (r && !ie(r) && r.type === 14) {
1649
- const a = Gs(r);
1655
+ const a = Js(r);
1650
1656
  r = a[0], i = a[1], o = i[i.length - 1];
1651
1657
  }
1652
1658
  if (r == null || ie(r))
1653
1659
  s = Ne([t]);
1654
1660
  else if (r.type === 14) {
1655
1661
  const a = r.arguments[0];
1656
- !ie(a) && a.type === 15 ? os(t, a) || a.properties.unshift(t) : r.callee === Fn ? s = se(n.helper(Pt), [
1662
+ !ie(a) && a.type === 15 ? as(t, a) || a.properties.unshift(t) : r.callee === Fn ? s = se(n.helper(Pt), [
1657
1663
  Ne([t]),
1658
1664
  r
1659
1665
  ]) : r.arguments.unshift(Ne([t])), !s && (s = r);
1660
- } else r.type === 15 ? (os(t, r) || r.properties.unshift(t), s = r) : (s = se(n.helper(Pt), [
1666
+ } else r.type === 15 ? (as(t, r) || r.properties.unshift(t), s = r) : (s = se(n.helper(Pt), [
1661
1667
  Ne([t]),
1662
1668
  r
1663
1669
  ]), o && o.callee === xt && (o = i[i.length - 2]));
1664
1670
  e.type === 13 ? o ? o.arguments[0] = s : e.props = s : o ? o.arguments[0] = s : e.arguments[2] = s;
1665
1671
  }
1666
- function os(e, t) {
1672
+ function as(e, t) {
1667
1673
  let n = !1;
1668
1674
  if (e.key.type === 4) {
1669
1675
  const s = e.key.content;
@@ -1679,7 +1685,7 @@ function vt(e, t) {
1679
1685
  function ho(e) {
1680
1686
  return e.type === 14 && e.callee === jn ? e.arguments[1].returns : e;
1681
1687
  }
1682
- const mo = /([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/, Js = {
1688
+ const mo = /([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/, Ys = {
1683
1689
  parseMode: "base",
1684
1690
  ns: 0,
1685
1691
  delimiters: ["{{", "}}"],
@@ -1689,11 +1695,11 @@ const mo = /([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/, Js = {
1689
1695
  isIgnoreNewlineTag: Nt,
1690
1696
  isCustomElement: Nt,
1691
1697
  onError: Hn,
1692
- onWarn: zs,
1698
+ onWarn: qs,
1693
1699
  comments: process.env.NODE_ENV !== "production",
1694
1700
  prefixIdentifiers: !1
1695
1701
  };
1696
- let H = Js, yt = null, Pe = "", ue = null, q = null, ve = "", Me = -1, Ke = -1, qn = 0, Be = !1, gn = null;
1702
+ let H = Ys, yt = null, Pe = "", ue = null, q = null, ve = "", Le = -1, Ke = -1, qn = 0, Be = !1, gn = null;
1697
1703
  const Q = [], Z = new Qi(Q, {
1698
1704
  onerr: ge,
1699
1705
  ontext(e, t) {
@@ -1732,7 +1738,7 @@ const Q = [], Z = new Qi(Q, {
1732
1738
  };
1733
1739
  },
1734
1740
  onopentagend(e) {
1735
- ls(e);
1741
+ cs(e);
1736
1742
  },
1737
1743
  onclosetag(e, t) {
1738
1744
  const n = le(e, t);
@@ -1747,12 +1753,12 @@ const Q = [], Z = new Qi(Q, {
1747
1753
  }
1748
1754
  break;
1749
1755
  }
1750
- s || ge(23, Ys(e, 60));
1756
+ s || ge(23, Xs(e, 60));
1751
1757
  }
1752
1758
  },
1753
1759
  onselfclosingtag(e) {
1754
1760
  const t = ue.tag;
1755
- ue.isSelfClosing = !0, ls(e), Q[0] && Q[0].tag === t && At(Q.shift(), e);
1761
+ ue.isSelfClosing = !0, cs(e), Q[0] && Q[0].tag === t && At(Q.shift(), e);
1756
1762
  },
1757
1763
  onattribname(e, t) {
1758
1764
  q = {
@@ -1816,10 +1822,10 @@ const Q = [], Z = new Qi(Q, {
1816
1822
  }
1817
1823
  },
1818
1824
  onattribdata(e, t) {
1819
- ve += le(e, t), Me < 0 && (Me = e), Ke = t;
1825
+ ve += le(e, t), Le < 0 && (Le = e), Ke = t;
1820
1826
  },
1821
1827
  onattribentity(e, t, n) {
1822
- ve += e, Me < 0 && (Me = t), Ke = n;
1828
+ ve += e, Le < 0 && (Le = t), Ke = n;
1823
1829
  },
1824
1830
  onattribnameend(e) {
1825
1831
  const t = q.loc.start.offset, n = le(t, e);
@@ -1834,17 +1840,17 @@ const Q = [], Z = new Qi(Q, {
1834
1840
  ve,
1835
1841
  !0
1836
1842
  )), q.type === 6)
1837
- q.name === "class" && (ve = Zs(ve).trim()), e === 1 && !ve && ge(13, t), q.value = {
1843
+ q.name === "class" && (ve = Qs(ve).trim()), e === 1 && !ve && ge(13, t), q.value = {
1838
1844
  type: 2,
1839
1845
  content: ve,
1840
- loc: e === 1 ? te(Me, Ke) : te(Me - 1, Ke + 1)
1846
+ loc: e === 1 ? te(Le, Ke) : te(Le - 1, Ke + 1)
1841
1847
  }, Z.inSFCRoot && ue.tag === "template" && q.name === "lang" && ve && ve !== "html" && Z.enterRCDATA(Bt("</template"), 0);
1842
1848
  else {
1843
1849
  let n = 0;
1844
1850
  q.exp = $t(
1845
1851
  ve,
1846
1852
  !1,
1847
- te(Me, Ke),
1853
+ te(Le, Ke),
1848
1854
  0,
1849
1855
  n
1850
1856
  ), q.name === "for" && (q.forParseResult = vo(q.exp));
@@ -1860,7 +1866,7 @@ const Q = [], Z = new Qi(Q, {
1860
1866
  }
1861
1867
  (q.type !== 7 || q.name !== "pre") && ue.props.push(q);
1862
1868
  }
1863
- ve = "", Me = Ke = -1;
1869
+ ve = "", Le = Ke = -1;
1864
1870
  },
1865
1871
  oncomment(e, t) {
1866
1872
  H.comments && vn({
@@ -1918,16 +1924,16 @@ const Q = [], Z = new Qi(Q, {
1918
1924
  e - 1
1919
1925
  );
1920
1926
  }
1921
- }), as = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/, go = /^\(|\)$/g;
1927
+ }), ls = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/, go = /^\(|\)$/g;
1922
1928
  function vo(e) {
1923
1929
  const t = e.loc, n = e.content, s = n.match(mo);
1924
1930
  if (!s) return;
1925
1931
  const [, r, i] = s, o = (u, p, h = !1) => {
1926
- const k = t.start.offset + p, y = k + u.length;
1932
+ const k = t.start.offset + p, b = k + u.length;
1927
1933
  return $t(
1928
1934
  u,
1929
1935
  !1,
1930
- te(k, y),
1936
+ te(k, b),
1931
1937
  0,
1932
1938
  h ? 1 : 0
1933
1939
  /* Normal */
@@ -1940,9 +1946,9 @@ function vo(e) {
1940
1946
  finalized: !1
1941
1947
  };
1942
1948
  let l = r.trim().replace(go, "").trim();
1943
- const c = r.indexOf(l), m = l.match(as);
1949
+ const c = r.indexOf(l), m = l.match(ls);
1944
1950
  if (m) {
1945
- l = l.replace(as, "").trim();
1951
+ l = l.replace(ls, "").trim();
1946
1952
  const u = m[1].trim();
1947
1953
  let p;
1948
1954
  if (u && (p = n.indexOf(u, c + l.length), a.key = o(u, p, !0)), m[2]) {
@@ -1962,7 +1968,7 @@ function vo(e) {
1962
1968
  function le(e, t) {
1963
1969
  return Pe.slice(e, t);
1964
1970
  }
1965
- function ls(e) {
1971
+ function cs(e) {
1966
1972
  Z.inSFCRoot && (ue.innerLoc = te(e + 1, e + 1)), vn(ue);
1967
1973
  const { tag: t, ns: n } = ue;
1968
1974
  n === 0 && H.isPreTag(t) && qn++, H.isVoidTag(t) ? At(ue, e) : (Q.unshift(ue), (n === 1 || n === 2) && (Z.inXML = !0)), ue = null;
@@ -1980,12 +1986,12 @@ function Ct(e, t, n) {
1980
1986
  });
1981
1987
  }
1982
1988
  function At(e, t, n = !1) {
1983
- n ? Ge(e.loc, Ys(t, 60)) : Ge(e.loc, yo(t, 62) + 1), Z.inSFCRoot && (e.children.length ? e.innerLoc.end = Ue({}, e.children[e.children.length - 1].loc.end) : e.innerLoc.end = Ue({}, e.innerLoc.start), e.innerLoc.source = le(
1989
+ n ? Ge(e.loc, Xs(t, 60)) : Ge(e.loc, yo(t, 62) + 1), Z.inSFCRoot && (e.children.length ? e.innerLoc.end = Ue({}, e.children[e.children.length - 1].loc.end) : e.innerLoc.end = Ue({}, e.innerLoc.start), e.innerLoc.source = le(
1984
1990
  e.innerLoc.start.offset,
1985
1991
  e.innerLoc.end.offset
1986
1992
  ));
1987
1993
  const { tag: s, ns: r, children: i } = e;
1988
- if (Be || (s === "slot" ? e.tagType = 2 : cs(e) ? e.tagType = 3 : xo(e) && (e.tagType = 1)), Z.inRCDATA || (e.children = Xs(i)), r === 0 && H.isIgnoreNewlineTag(s)) {
1994
+ if (Be || (s === "slot" ? e.tagType = 2 : us(e) ? e.tagType = 3 : xo(e) && (e.tagType = 1)), Z.inRCDATA || (e.children = Zs(i)), r === 0 && H.isIgnoreNewlineTag(s)) {
1989
1995
  const o = i[0];
1990
1996
  o && o.type === 2 && (o.content = o.content.replace(/^\r?\n/, ""));
1991
1997
  }
@@ -2012,7 +2018,7 @@ function At(e, t, n = !1) {
2012
2018
  if (!Z.inSFCRoot && ze(
2013
2019
  "COMPILER_NATIVE_TEMPLATE",
2014
2020
  H
2015
- ) && e.tag === "template" && !cs(e)) {
2021
+ ) && e.tag === "template" && !us(e)) {
2016
2022
  process.env.NODE_ENV !== "production" && jt(
2017
2023
  "COMPILER_NATIVE_TEMPLATE",
2018
2024
  H,
@@ -2043,13 +2049,13 @@ function yo(e, t) {
2043
2049
  for (; Pe.charCodeAt(n) !== t && n < Pe.length - 1; ) n++;
2044
2050
  return n;
2045
2051
  }
2046
- function Ys(e, t) {
2052
+ function Xs(e, t) {
2047
2053
  let n = e;
2048
2054
  for (; Pe.charCodeAt(n) !== t && n >= 0; ) n--;
2049
2055
  return n;
2050
2056
  }
2051
2057
  const bo = /* @__PURE__ */ new Set(["if", "else", "else-if", "for", "slot"]);
2052
- function cs({ tag: e, props: t }) {
2058
+ function us({ tag: e, props: t }) {
2053
2059
  if (e === "template") {
2054
2060
  for (let n = 0; n < t.length; n++)
2055
2061
  if (t[n].type === 7 && bo.has(t[n].name))
@@ -2060,7 +2066,7 @@ function cs({ tag: e, props: t }) {
2060
2066
  function xo({ tag: e, props: t }) {
2061
2067
  if (H.isCustomElement(e))
2062
2068
  return !1;
2063
- if (e === "component" || wo(e.charCodeAt(0)) || qs(e) || H.isBuiltInComponent && H.isBuiltInComponent(e) || H.isNativeTag && !H.isNativeTag(e))
2069
+ if (e === "component" || wo(e.charCodeAt(0)) || Ks(e) || H.isBuiltInComponent && H.isBuiltInComponent(e) || H.isNativeTag && !H.isNativeTag(e))
2064
2070
  return !0;
2065
2071
  for (let n = 0; n < t.length; n++) {
2066
2072
  const s = t[n];
@@ -2091,7 +2097,7 @@ function wo(e) {
2091
2097
  return e > 64 && e < 91;
2092
2098
  }
2093
2099
  const ko = /\r\n/g;
2094
- function Xs(e) {
2100
+ function Zs(e) {
2095
2101
  const t = H.whitespace !== "preserve";
2096
2102
  let n = !1;
2097
2103
  for (let s = 0; s < e.length; s++) {
@@ -2103,7 +2109,7 @@ function Xs(e) {
2103
2109
  else if (Eo(r.content)) {
2104
2110
  const i = e[s - 1] && e[s - 1].type, o = e[s + 1] && e[s + 1].type;
2105
2111
  !i || !o || t && (i === 3 && (o === 3 || o === 1) || i === 1 && (o === 3 || o === 1 && So(r.content))) ? (n = !0, e[s] = null) : r.content = " ";
2106
- } else t && (r.content = Zs(r.content));
2112
+ } else t && (r.content = Qs(r.content));
2107
2113
  }
2108
2114
  return n ? e.filter(Boolean) : e;
2109
2115
  }
@@ -2121,7 +2127,7 @@ function So(e) {
2121
2127
  }
2122
2128
  return !1;
2123
2129
  }
2124
- function Zs(e) {
2130
+ function Qs(e) {
2125
2131
  let t = "", n = !1;
2126
2132
  for (let s = 0; s < e.length; s++)
2127
2133
  xe(e.charCodeAt(s)) ? n || (t += " ", n = !0) : (t += e[s], n = !1);
@@ -2175,10 +2181,10 @@ function ge(e, t, n) {
2175
2181
  );
2176
2182
  }
2177
2183
  function Co() {
2178
- Z.reset(), ue = null, q = null, ve = "", Me = -1, Ke = -1, Q.length = 0;
2184
+ Z.reset(), ue = null, q = null, ve = "", Le = -1, Ke = -1, Q.length = 0;
2179
2185
  }
2180
2186
  function To(e, t) {
2181
- if (Co(), Pe = e, H = Ue({}, Js), t) {
2187
+ if (Co(), Pe = e, H = Ue({}, Ys), t) {
2182
2188
  let r;
2183
2189
  for (r in t)
2184
2190
  t[r] != null && (H[r] = t[r]);
@@ -2191,7 +2197,7 @@ function To(e, t) {
2191
2197
  const n = t && t.delimiters;
2192
2198
  n && (Z.delimiterOpen = Bt(n[0]), Z.delimiterClose = Bt(n[1]));
2193
2199
  const s = yt = Yi([], e);
2194
- return Z.parse(Pe), s.loc = te(0, e.length), s.children = Xs(s.children), yt = null, s;
2200
+ return Z.parse(Pe), s.loc = te(0, e.length), s.children = Zs(s.children), yt = null, s;
2195
2201
  }
2196
2202
  function Oo(e, t) {
2197
2203
  Vt(
@@ -2200,10 +2206,10 @@ function Oo(e, t) {
2200
2206
  t,
2201
2207
  // Root node is unfortunately non-hoistable due to potential parent
2202
2208
  // fallthrough attributes.
2203
- !!Qs(e)
2209
+ !!er(e)
2204
2210
  );
2205
2211
  }
2206
- function Qs(e) {
2212
+ function er(e) {
2207
2213
  const t = e.children.filter((n) => n.type !== 3);
2208
2214
  return t.length === 1 && t[0].type === 1 && !Ht(t[0]) ? t[0] : null;
2209
2215
  }
@@ -2221,9 +2227,9 @@ function Vt(e, t, n, s = !1, r = !1) {
2221
2227
  } else {
2222
2228
  const k = p.codegenNode;
2223
2229
  if (k.type === 13) {
2224
- const y = k.patchFlag;
2225
- if ((y === void 0 || y === 512 || y === 1) && tr(p, n) >= 2) {
2226
- const I = nr(p);
2230
+ const b = k.patchFlag;
2231
+ if ((b === void 0 || b === 512 || b === 1) && nr(p, n) >= 2) {
2232
+ const I = sr(p);
2227
2233
  I && (k.props = n.hoist(I));
2228
2234
  }
2229
2235
  k.dynamicProps && (k.dynamicProps = n.hoist(k.dynamicProps));
@@ -2251,16 +2257,16 @@ function Vt(e, t, n, s = !1, r = !1) {
2251
2257
  let a = !1;
2252
2258
  const l = [];
2253
2259
  if (o.length === i.length && e.type === 1) {
2254
- if (e.tagType === 0 && e.codegenNode && e.codegenNode.type === 13 && Ae(e.codegenNode.children))
2260
+ if (e.tagType === 0 && e.codegenNode && e.codegenNode.type === 13 && $e(e.codegenNode.children))
2255
2261
  e.codegenNode.children = c(
2256
2262
  Ye(e.codegenNode.children)
2257
2263
  ), a = !0;
2258
- else if (e.tagType === 1 && e.codegenNode && e.codegenNode.type === 13 && e.codegenNode.children && !Ae(e.codegenNode.children) && e.codegenNode.children.type === 15) {
2264
+ else if (e.tagType === 1 && e.codegenNode && e.codegenNode.type === 13 && e.codegenNode.children && !$e(e.codegenNode.children) && e.codegenNode.children.type === 15) {
2259
2265
  const u = m(e.codegenNode, "default");
2260
2266
  u && (l.push(n.cached.length), u.returns = c(
2261
2267
  Ye(u.returns)
2262
2268
  ), a = !0);
2263
- } else if (e.tagType === 3 && t && t.type === 1 && t.tagType === 1 && t.codegenNode && t.codegenNode.type === 13 && t.codegenNode.children && !Ae(t.codegenNode.children) && t.codegenNode.children.type === 15) {
2269
+ } else if (e.tagType === 3 && t && t.type === 1 && t.tagType === 1 && t.codegenNode && t.codegenNode.type === 13 && t.codegenNode.children && !$e(t.codegenNode.children) && t.codegenNode.children.type === 15) {
2264
2270
  const u = ye(e, "slot", !0), p = u && u.arg && m(t.codegenNode, u.arg);
2265
2271
  p && (l.push(n.cached.length), p.returns = c(
2266
2272
  Ye(p.returns)
@@ -2270,7 +2276,7 @@ function Vt(e, t, n, s = !1, r = !1) {
2270
2276
  if (!a)
2271
2277
  for (const u of o)
2272
2278
  l.push(n.cached.length), u.codegenNode = n.cache(u.codegenNode);
2273
- l.length && e.type === 1 && e.tagType === 1 && e.codegenNode && e.codegenNode.type === 13 && e.codegenNode.children && !Ae(e.codegenNode.children) && e.codegenNode.children.type === 15 && e.codegenNode.children.properties.push(
2279
+ l.length && e.type === 1 && e.tagType === 1 && e.codegenNode && e.codegenNode.type === 13 && e.codegenNode.children && !$e(e.codegenNode.children) && e.codegenNode.children.type === 15 && e.codegenNode.children.properties.push(
2274
2280
  ee(
2275
2281
  "__",
2276
2282
  P(JSON.stringify(l), !1)
@@ -2281,7 +2287,7 @@ function Vt(e, t, n, s = !1, r = !1) {
2281
2287
  return r && n.hmr && (p.needArraySpread = !0), p;
2282
2288
  }
2283
2289
  function m(u, p) {
2284
- if (u.children && !Ae(u.children) && u.children.type === 15) {
2290
+ if (u.children && !$e(u.children) && u.children.type === 15) {
2285
2291
  const h = u.children.properties.find(
2286
2292
  (k) => k.key === p || k.key.content === p
2287
2293
  );
@@ -2304,7 +2310,7 @@ function ke(e, t) {
2304
2310
  return 0;
2305
2311
  if (r.patchFlag === void 0) {
2306
2312
  let o = 3;
2307
- const a = tr(e, t);
2313
+ const a = nr(e, t);
2308
2314
  if (a === 0)
2309
2315
  return n.set(e, 0), 0;
2310
2316
  a < o && (o = a);
@@ -2371,19 +2377,19 @@ const Io = /* @__PURE__ */ new Set([
2371
2377
  ht,
2372
2378
  xt
2373
2379
  ]);
2374
- function er(e, t) {
2380
+ function tr(e, t) {
2375
2381
  if (e.type === 14 && !ie(e.callee) && Io.has(e.callee)) {
2376
2382
  const n = e.arguments[0];
2377
2383
  if (n.type === 4)
2378
2384
  return ke(n, t);
2379
2385
  if (n.type === 14)
2380
- return er(n, t);
2386
+ return tr(n, t);
2381
2387
  }
2382
2388
  return 0;
2383
2389
  }
2384
- function tr(e, t) {
2390
+ function nr(e, t) {
2385
2391
  let n = 3;
2386
- const s = nr(e);
2392
+ const s = sr(e);
2387
2393
  if (s && s.type === 15) {
2388
2394
  const { properties: r } = s;
2389
2395
  for (let i = 0; i < r.length; i++) {
@@ -2392,14 +2398,14 @@ function tr(e, t) {
2392
2398
  return l;
2393
2399
  l < n && (n = l);
2394
2400
  let c;
2395
- if (a.type === 4 ? c = ke(a, t) : a.type === 14 ? c = er(a, t) : c = 0, c === 0)
2401
+ if (a.type === 4 ? c = ke(a, t) : a.type === 14 ? c = tr(a, t) : c = 0, c === 0)
2396
2402
  return c;
2397
2403
  c < n && (n = c);
2398
2404
  }
2399
2405
  }
2400
2406
  return n;
2401
2407
  }
2402
- function nr(e) {
2408
+ function sr(e) {
2403
2409
  const t = e.codegenNode;
2404
2410
  if (t.type === 13)
2405
2411
  return t.props;
@@ -2419,13 +2425,13 @@ function Do(e, {
2419
2425
  scopeId: p = null,
2420
2426
  slotted: h = !0,
2421
2427
  ssr: k = !1,
2422
- inSSR: y = !1,
2428
+ inSSR: b = !1,
2423
2429
  ssrCssVars: I = "",
2424
2430
  bindingMetadata: C = Ni,
2425
2431
  inline: B = !1,
2426
2432
  isTS: O = !1,
2427
2433
  onError: X = Hn,
2428
- onWarn: K = zs,
2434
+ onWarn: K = qs,
2429
2435
  compatConfig: ce
2430
2436
  }) {
2431
2437
  const ne = t.replace(/\?.*$/, "").match(/([^/\\]+)\.\w+$/), $ = {
@@ -2445,7 +2451,7 @@ function Do(e, {
2445
2451
  scopeId: p,
2446
2452
  slotted: h,
2447
2453
  ssr: k,
2448
- inSSR: y,
2454
+ inSSR: b,
2449
2455
  ssrCssVars: I,
2450
2456
  bindingMetadata: C,
2451
2457
  inline: B,
@@ -2541,7 +2547,7 @@ function Ao(e, t) {
2541
2547
  function $o(e, t) {
2542
2548
  const { helper: n } = t, { children: s } = e;
2543
2549
  if (s.length === 1) {
2544
- const r = Qs(e);
2550
+ const r = er(e);
2545
2551
  if (r && r.codegenNode) {
2546
2552
  const i = r.codegenNode;
2547
2553
  i.type === 13 && Un(i, t), e.codegenNode = i;
@@ -2578,7 +2584,7 @@ function Yt(e, t) {
2578
2584
  const { nodeTransforms: n } = t, s = [];
2579
2585
  for (let i = 0; i < n.length; i++) {
2580
2586
  const o = n[i](e, t);
2581
- if (o && (Ae(o) ? s.push(...o) : s.push(o)), t.currentNode)
2587
+ if (o && ($e(o) ? s.push(...o) : s.push(o)), t.currentNode)
2582
2588
  e = t.currentNode;
2583
2589
  else
2584
2590
  return;
@@ -2607,7 +2613,7 @@ function Yt(e, t) {
2607
2613
  for (; r--; )
2608
2614
  s[r]();
2609
2615
  }
2610
- function sr(e, t) {
2616
+ function rr(e, t) {
2611
2617
  const n = ie(e) ? (s) => s === e : (s) => e.test(s);
2612
2618
  return (s, r) => {
2613
2619
  if (s.type === 1) {
@@ -2627,7 +2633,7 @@ function sr(e, t) {
2627
2633
  }
2628
2634
  };
2629
2635
  }
2630
- const Xt = "/*@__PURE__*/", rr = (e) => `${nt[e]}: _${nt[e]}`;
2636
+ const Xt = "/*@__PURE__*/", ir = (e) => `${nt[e]}: _${nt[e]}`;
2631
2637
  function Ro(e, {
2632
2638
  mode: t = "function",
2633
2639
  prefixIdentifiers: n = t === "module",
@@ -2663,26 +2669,26 @@ function Ro(e, {
2663
2669
  indentLevel: 0,
2664
2670
  pure: !1,
2665
2671
  map: void 0,
2666
- helper(y) {
2667
- return `_${nt[y]}`;
2672
+ helper(b) {
2673
+ return `_${nt[b]}`;
2668
2674
  },
2669
- push(y, I = -2, C) {
2670
- h.code += y;
2675
+ push(b, I = -2, C) {
2676
+ h.code += b;
2671
2677
  },
2672
2678
  indent() {
2673
2679
  k(++h.indentLevel);
2674
2680
  },
2675
- deindent(y = !1) {
2676
- y ? --h.indentLevel : k(--h.indentLevel);
2681
+ deindent(b = !1) {
2682
+ b ? --h.indentLevel : k(--h.indentLevel);
2677
2683
  },
2678
2684
  newline() {
2679
2685
  k(h.indentLevel);
2680
2686
  }
2681
2687
  };
2682
- function k(y) {
2688
+ function k(b) {
2683
2689
  h.push(
2684
2690
  `
2685
- ` + " ".repeat(y),
2691
+ ` + " ".repeat(b),
2686
2692
  0
2687
2693
  /* Start */
2688
2694
  );
@@ -2703,9 +2709,9 @@ function Mo(e, t = {}) {
2703
2709
  ssr: m
2704
2710
  } = n, u = Array.from(e.helpers), p = u.length > 0, h = !i && s !== "module";
2705
2711
  Lo(e, n);
2706
- const y = m ? "ssrRender" : "render", C = (m ? ["_ctx", "_push", "_parent", "_attrs"] : ["_ctx", "_cache"]).join(", ");
2707
- if (r(`function ${y}(${C}) {`), o(), h && (r("with (_ctx) {"), o(), p && (r(
2708
- `const { ${u.map(rr).join(", ")} } = _Vue
2712
+ const b = m ? "ssrRender" : "render", C = (m ? ["_ctx", "_push", "_parent", "_attrs"] : ["_ctx", "_cache"]).join(", ");
2713
+ if (r(`function ${b}(${C}) {`), o(), h && (r("with (_ctx) {"), o(), p && (r(
2714
+ `const { ${u.map(ir).join(", ")} } = _Vue
2709
2715
  `,
2710
2716
  -1
2711
2717
  /* End */
@@ -2747,8 +2753,8 @@ function Lo(e, t) {
2747
2753
  On,
2748
2754
  bt,
2749
2755
  In,
2750
- Bs
2751
- ].filter((p) => m.includes(p)).map(rr).join(", ");
2756
+ js
2757
+ ].filter((p) => m.includes(p)).map(ir).join(", ");
2752
2758
  r(
2753
2759
  `const { ${u} } = _Vue
2754
2760
  `,
@@ -2786,7 +2792,7 @@ function Fo(e) {
2786
2792
  return ie(e) || e.type === 4 || e.type === 2 || e.type === 5 || e.type === 8;
2787
2793
  }
2788
2794
  function Kn(e, t) {
2789
- const n = e.length > 3 || process.env.NODE_ENV !== "production" && e.some((s) => Ae(s) || !Fo(s));
2795
+ const n = e.length > 3 || process.env.NODE_ENV !== "production" && e.some((s) => $e(s) || !Fo(s));
2790
2796
  t.push("["), n && t.indent(), wt(e, t, n), n && t.deindent(), t.push("]");
2791
2797
  }
2792
2798
  function wt(e, t, n = !1, s = !0) {
@@ -2797,7 +2803,7 @@ function wt(e, t, n = !1, s = !0) {
2797
2803
  a,
2798
2804
  -3
2799
2805
  /* Unknown */
2800
- ) : Ae(a) ? Kn(a, t) : de(a, t), o < e.length - 1 && (n ? (s && r(","), i()) : s && r(", "));
2806
+ ) : $e(a) ? Kn(a, t) : de(a, t), o < e.length - 1 && (n ? (s && r(","), i()) : s && r(", "));
2801
2807
  }
2802
2808
  }
2803
2809
  function de(e, t) {
@@ -2817,7 +2823,7 @@ function de(e, t) {
2817
2823
  case 1:
2818
2824
  case 9:
2819
2825
  case 11:
2820
- process.env.NODE_ENV !== "production" && is(
2826
+ process.env.NODE_ENV !== "production" && os(
2821
2827
  e.codegenNode != null,
2822
2828
  "Codegen node is missing for element/if/for node. Apply appropriate transforms first."
2823
2829
  ), de(e.codegenNode, t);
@@ -2826,7 +2832,7 @@ function de(e, t) {
2826
2832
  Bo(e, t);
2827
2833
  break;
2828
2834
  case 4:
2829
- ir(e, t);
2835
+ or(e, t);
2830
2836
  break;
2831
2837
  case 5:
2832
2838
  jo(e, t);
@@ -2835,7 +2841,7 @@ function de(e, t) {
2835
2841
  de(e.codegenNode, t);
2836
2842
  break;
2837
2843
  case 8:
2838
- or(e, t);
2844
+ ar(e, t);
2839
2845
  break;
2840
2846
  case 3:
2841
2847
  Ho(e, t);
@@ -2880,13 +2886,13 @@ function de(e, t) {
2880
2886
  break;
2881
2887
  default:
2882
2888
  if (process.env.NODE_ENV !== "production")
2883
- return is(!1, `unhandled codegen node type: ${e.type}`), e;
2889
+ return os(!1, `unhandled codegen node type: ${e.type}`), e;
2884
2890
  }
2885
2891
  }
2886
2892
  function Bo(e, t) {
2887
2893
  t.push(JSON.stringify(e.content), -3, e);
2888
2894
  }
2889
- function ir(e, t) {
2895
+ function or(e, t) {
2890
2896
  const { content: n, isStatic: s } = e;
2891
2897
  t.push(
2892
2898
  s ? JSON.stringify(n) : n,
@@ -2898,7 +2904,7 @@ function jo(e, t) {
2898
2904
  const { push: n, helper: s, pure: r } = t;
2899
2905
  r && n(Xt), n(`${s(Jt)}(`), de(e.content, t), n(")");
2900
2906
  }
2901
- function or(e, t) {
2907
+ function ar(e, t) {
2902
2908
  for (let n = 0; n < e.children.length; n++) {
2903
2909
  const s = e.children[n];
2904
2910
  ie(s) ? t.push(
@@ -2911,7 +2917,7 @@ function or(e, t) {
2911
2917
  function Uo(e, t) {
2912
2918
  const { push: n } = t;
2913
2919
  if (e.type === 8)
2914
- n("["), or(e, t), n("]");
2920
+ n("["), ar(e, t), n("]");
2915
2921
  else if (e.isStatic) {
2916
2922
  const s = zn(e.content) ? e.content : JSON.stringify(e.content);
2917
2923
  n(s, -2, e);
@@ -2950,8 +2956,8 @@ function zo(e, t) {
2950
2956
  else
2951
2957
  k = String(l);
2952
2958
  m && n(s(Rn) + "("), u && n(`(${s(Xe)}(${p ? "true" : ""}), `), r && n(Xt);
2953
- const y = u ? it(t.inSSR, h) : rt(t.inSSR, h);
2954
- n(s(y) + "(", -2, e), wt(
2959
+ const b = u ? it(t.inSSR, h) : rt(t.inSSR, h);
2960
+ n(s(b) + "(", -2, e), wt(
2955
2961
  qo([i, o, a, k, c]),
2956
2962
  t
2957
2963
  ), n(")"), u && n(")"), m && (n(", "), de(m, t), n(")"));
@@ -2985,13 +2991,13 @@ function Go(e, t) {
2985
2991
  }
2986
2992
  function Jo(e, t) {
2987
2993
  const { push: n, indent: s, deindent: r } = t, { params: i, returns: o, body: a, newline: l, isSlot: c } = e;
2988
- c && n(`_${nt[Bn]}(`), n("(", -2, e), Ae(i) ? wt(i, t) : i && de(i, t), n(") => "), (l || a) && (n("{"), s()), o ? (l && n("return "), Ae(o) ? Kn(o, t) : de(o, t)) : a && de(a, t), (l || a) && (r(), n("}")), c && (e.isNonScopedSlot && n(", undefined, true"), n(")"));
2994
+ c && n(`_${nt[Bn]}(`), n("(", -2, e), $e(i) ? wt(i, t) : i && de(i, t), n(") => "), (l || a) && (n("{"), s()), o ? (l && n("return "), $e(o) ? Kn(o, t) : de(o, t)) : a && de(a, t), (l || a) && (r(), n("}")), c && (e.isNonScopedSlot && n(", undefined, true"), n(")"));
2989
2995
  }
2990
2996
  function Yo(e, t) {
2991
2997
  const { test: n, consequent: s, alternate: r, newline: i } = e, { push: o, indent: a, deindent: l, newline: c } = t;
2992
2998
  if (n.type === 4) {
2993
2999
  const u = !zn(n.content);
2994
- u && o("("), ir(n, t), u && o(")");
3000
+ u && o("("), or(n, t), u && o(")");
2995
3001
  } else
2996
3002
  o("("), de(n, t), o(")");
2997
3003
  i && a(), t.indentLevel++, i || o(" "), o("? "), de(s, t), t.indentLevel--, i && c(), i || o(" "), o(": ");
@@ -3054,7 +3060,7 @@ const ea = (e, t) => {
3054
3060
  function cn(e, t, n = !1, s = !1, r = Object.create(t.identifiers)) {
3055
3061
  return process.env.NODE_ENV !== "production" && Je(e, t, n, s), e;
3056
3062
  }
3057
- const ta = sr(
3063
+ const ta = rr(
3058
3064
  /^(if|else|else-if)$/,
3059
3065
  (e, t, n) => na(e, t, n, (s, r, i) => {
3060
3066
  const o = n.parent.children;
@@ -3065,14 +3071,14 @@ const ta = sr(
3065
3071
  }
3066
3072
  return () => {
3067
3073
  if (i)
3068
- s.codegenNode = ds(
3074
+ s.codegenNode = fs(
3069
3075
  r,
3070
3076
  l,
3071
3077
  n
3072
3078
  );
3073
3079
  else {
3074
3080
  const c = ra(s.codegenNode);
3075
- c.alternate = ds(
3081
+ c.alternate = fs(
3076
3082
  r,
3077
3083
  l + s.branches.length - 1,
3078
3084
  n
@@ -3089,7 +3095,7 @@ function na(e, t, n, s) {
3089
3095
  ), t.exp = P("true", !1, r);
3090
3096
  }
3091
3097
  if (process.env.NODE_ENV !== "production" && t.exp && Je(t.exp, n), t.name === "if") {
3092
- const r = us(e, t), i = {
3098
+ const r = ds(e, t), i = {
3093
3099
  type: 9,
3094
3100
  loc: _o(e.loc),
3095
3101
  branches: [r]
@@ -3113,7 +3119,7 @@ function na(e, t, n, s) {
3113
3119
  t.name === "else-if" && a.branches[a.branches.length - 1].condition === void 0 && n.onError(
3114
3120
  Y(30, e.loc)
3115
3121
  ), n.removeNode();
3116
- const l = us(e, t);
3122
+ const l = ds(e, t);
3117
3123
  if (process.env.NODE_ENV !== "production" && i.length && // #3619 ignore comments if the v-if is direct child of <transition>
3118
3124
  !(n.parent && n.parent.type === 1 && (n.parent.tag === "transition" || n.parent.tag === "Transition")) && (l.children = [...i, ...l.children]), process.env.NODE_ENV !== "production") {
3119
3125
  const m = l.userKey;
@@ -3137,7 +3143,7 @@ function na(e, t, n, s) {
3137
3143
  }
3138
3144
  }
3139
3145
  }
3140
- function us(e, t) {
3146
+ function ds(e, t) {
3141
3147
  const n = e.tagType === 3;
3142
3148
  return {
3143
3149
  type: 10,
@@ -3148,19 +3154,19 @@ function us(e, t) {
3148
3154
  isTemplateIf: n
3149
3155
  };
3150
3156
  }
3151
- function ds(e, t, n) {
3157
+ function fs(e, t, n) {
3152
3158
  return e.condition ? hn(
3153
3159
  e.condition,
3154
- fs(e, t, n),
3160
+ ps(e, t, n),
3155
3161
  // make sure to pass in asBlock: true so that the comment node call
3156
3162
  // closes the current block.
3157
3163
  se(n.helper(bt), [
3158
3164
  process.env.NODE_ENV !== "production" ? '"v-if"' : '""',
3159
3165
  "true"
3160
3166
  ])
3161
- ) : fs(e, t, n);
3167
+ ) : ps(e, t, n);
3162
3168
  }
3163
- function fs(e, t, n) {
3169
+ function ps(e, t, n) {
3164
3170
  const { helper: s } = n, r = ee(
3165
3171
  "key",
3166
3172
  P(
@@ -3232,17 +3238,17 @@ const ia = (e, t, n) => {
3232
3238
  ee(i, P("", !0, r))
3233
3239
  ]
3234
3240
  };
3235
- ar(e), o = e.exp;
3241
+ lr(e), o = e.exp;
3236
3242
  }
3237
- return i.type !== 4 ? (i.children.unshift("("), i.children.push(') || ""')) : i.isStatic || (i.content = `${i.content} || ""`), s.some((a) => a.content === "camel") && (i.type === 4 ? i.isStatic ? i.content = He(i.content) : i.content = `${n.helperString(fn)}(${i.content})` : (i.children.unshift(`${n.helperString(fn)}(`), i.children.push(")"))), n.inSSR || (s.some((a) => a.content === "prop") && ps(i, "."), s.some((a) => a.content === "attr") && ps(i, "^")), {
3243
+ return i.type !== 4 ? (i.children.unshift("("), i.children.push(') || ""')) : i.isStatic || (i.content = `${i.content} || ""`), s.some((a) => a.content === "camel") && (i.type === 4 ? i.isStatic ? i.content = He(i.content) : i.content = `${n.helperString(fn)}(${i.content})` : (i.children.unshift(`${n.helperString(fn)}(`), i.children.push(")"))), n.inSSR || (s.some((a) => a.content === "prop") && hs(i, "."), s.some((a) => a.content === "attr") && hs(i, "^")), {
3238
3244
  props: [ee(i, o)]
3239
3245
  };
3240
- }, ar = (e, t) => {
3246
+ }, lr = (e, t) => {
3241
3247
  const n = e.arg, s = He(n.content);
3242
3248
  e.exp = P(s, !1, n.loc);
3243
- }, ps = (e, t) => {
3249
+ }, hs = (e, t) => {
3244
3250
  e.type === 4 ? e.isStatic ? e.content = t + e.content : e.content = `\`${t}\${${e.content}}\`` : (e.children.unshift(`'${t}' + (`), e.children.push(")"));
3245
- }, oa = sr(
3251
+ }, oa = rr(
3246
3252
  "for",
3247
3253
  (e, t, n) => {
3248
3254
  const { helper: s, removeHelper: r } = n;
@@ -3250,7 +3256,7 @@ const ia = (e, t, n) => {
3250
3256
  const o = se(s(Mn), [
3251
3257
  i.source
3252
3258
  ]), a = Ut(e), l = ye(e, "memo"), c = gt(e, "key", !1, !0);
3253
- c && c.type === 7 && !c.exp && ar(c);
3259
+ c && c.type === 7 && !c.exp && lr(c);
3254
3260
  let u = c && (c.type === 6 ? c.value ? P(c.value.content, !0) : void 0 : c.exp);
3255
3261
  const p = c && u ? ee("key", u) : null, h = i.source.type === 4 && i.source.constType > 0, k = h ? 64 : c ? 128 : 256;
3256
3262
  return i.codegenNode = mt(
@@ -3266,7 +3272,7 @@ const ia = (e, t, n) => {
3266
3272
  !1,
3267
3273
  e.loc
3268
3274
  ), () => {
3269
- let y;
3275
+ let b;
3270
3276
  const { children: I } = i;
3271
3277
  process.env.NODE_ENV !== "production" && a && e.children.some((O) => {
3272
3278
  if (O.type === 1) {
@@ -3281,7 +3287,7 @@ const ia = (e, t, n) => {
3281
3287
  }
3282
3288
  });
3283
3289
  const C = I.length !== 1 || I[0].type !== 1, B = Ht(e) ? e : a && e.children.length === 1 && Ht(e.children[0]) ? e.children[0] : null;
3284
- if (B ? (y = B.codegenNode, a && p && zt(y, p, n)) : C ? y = mt(
3290
+ if (B ? (b = B.codegenNode, a && p && zt(b, p, n)) : C ? b = mt(
3285
3291
  n,
3286
3292
  s(pt),
3287
3293
  p ? Ne([p]) : void 0,
@@ -3292,11 +3298,11 @@ const ia = (e, t, n) => {
3292
3298
  !0,
3293
3299
  void 0,
3294
3300
  !1
3295
- ) : (y = I[0].codegenNode, a && p && zt(y, p, n), y.isBlock !== !h && (y.isBlock ? (r(Xe), r(
3296
- it(n.inSSR, y.isComponent)
3301
+ ) : (b = I[0].codegenNode, a && p && zt(b, p, n), b.isBlock !== !h && (b.isBlock ? (r(Xe), r(
3302
+ it(n.inSSR, b.isComponent)
3297
3303
  )) : r(
3298
- rt(n.inSSR, y.isComponent)
3299
- )), y.isBlock = !h, y.isBlock ? (s(Xe), s(it(n.inSSR, y.isComponent))) : s(rt(n.inSSR, y.isComponent))), l) {
3304
+ rt(n.inSSR, b.isComponent)
3305
+ )), b.isBlock = !h, b.isBlock ? (s(Xe), s(it(n.inSSR, b.isComponent))) : s(rt(n.inSSR, b.isComponent))), l) {
3300
3306
  const O = st(
3301
3307
  yn(i.parseResult, [
3302
3308
  P("_cached")
@@ -3308,10 +3314,10 @@ const ia = (e, t, n) => {
3308
3314
  "if (_cached",
3309
3315
  ...u ? [" && _cached.key === ", u] : [],
3310
3316
  ` && ${n.helperString(
3311
- Hs
3317
+ zs
3312
3318
  )}(_cached, _memo)) return _cached`
3313
3319
  ]),
3314
- Ie(["const _item = ", y]),
3320
+ Ie(["const _item = ", b]),
3315
3321
  P("_item.memo = _memo"),
3316
3322
  P("return _item")
3317
3323
  ]), o.arguments.push(
@@ -3323,7 +3329,7 @@ const ia = (e, t, n) => {
3323
3329
  o.arguments.push(
3324
3330
  st(
3325
3331
  yn(i.parseResult),
3326
- y,
3332
+ b,
3327
3333
  !0
3328
3334
  )
3329
3335
  );
@@ -3345,7 +3351,7 @@ function aa(e, t, n, s) {
3345
3351
  );
3346
3352
  return;
3347
3353
  }
3348
- lr(r, n);
3354
+ cr(r, n);
3349
3355
  const { addIdentifiers: i, removeIdentifiers: o, scopes: a } = n, { source: l, value: c, key: m, index: u } = r, p = {
3350
3356
  type: 11,
3351
3357
  loc: t.loc,
@@ -3362,7 +3368,7 @@ function aa(e, t, n, s) {
3362
3368
  a.vFor--, h && h();
3363
3369
  };
3364
3370
  }
3365
- function lr(e, t) {
3371
+ function cr(e, t) {
3366
3372
  e.finalized || (process.env.NODE_ENV !== "production" && (Je(e.source, t), e.key && Je(
3367
3373
  e.key,
3368
3374
  t,
@@ -3386,7 +3392,7 @@ function la(e) {
3386
3392
  ;
3387
3393
  return e.slice(0, t + 1).map((n, s) => n || P("_".repeat(s + 1), !1));
3388
3394
  }
3389
- const hs = P("undefined", !1), ca = (e, t) => {
3395
+ const ms = P("undefined", !1), ca = (e, t) => {
3390
3396
  if (e.type === 1 && (e.tagType === 1 || e.tagType === 3)) {
3391
3397
  const n = ye(e, "slot");
3392
3398
  if (n)
@@ -3446,7 +3452,7 @@ function da(e, t, n = ua) {
3446
3452
  hn(
3447
3453
  j.exp,
3448
3454
  Tt(K, V, h++),
3449
- hs
3455
+ ms
3450
3456
  )
3451
3457
  );
3452
3458
  else if (E = ye(
@@ -3469,7 +3475,7 @@ function da(e, t, n = ua) {
3469
3475
  V,
3470
3476
  h++
3471
3477
  ),
3472
- hs
3478
+ ms
3473
3479
  ) : Tt(K, V, h++);
3474
3480
  } else
3475
3481
  t.onError(
@@ -3478,7 +3484,7 @@ function da(e, t, n = ua) {
3478
3484
  } else if (N) {
3479
3485
  a = !0;
3480
3486
  const g = N.forParseResult;
3481
- g ? (lr(g, t), o.push(
3487
+ g ? (cr(g, t), o.push(
3482
3488
  se(t.helper(Mn), [
3483
3489
  g.source,
3484
3490
  st(
@@ -3527,7 +3533,7 @@ function da(e, t, n = ua) {
3527
3533
  )) : i.push(I(void 0, s));
3528
3534
  }
3529
3535
  const k = a ? 2 : Rt(e.children) ? 3 : 1;
3530
- let y = Ne(
3536
+ let b = Ne(
3531
3537
  i.concat(
3532
3538
  ee(
3533
3539
  "_",
@@ -3541,11 +3547,11 @@ function da(e, t, n = ua) {
3541
3547
  ),
3542
3548
  r
3543
3549
  );
3544
- return o.length && (y = se(t.helper(Us), [
3545
- y,
3550
+ return o.length && (b = se(t.helper(Hs), [
3551
+ b,
3546
3552
  Ye(o)
3547
3553
  ])), {
3548
- slots: y,
3554
+ slots: b,
3549
3555
  hasDynamicSlots: a
3550
3556
  };
3551
3557
  }
@@ -3580,7 +3586,7 @@ function Rt(e) {
3580
3586
  function bn(e) {
3581
3587
  return e.type !== 2 && e.type !== 12 ? !0 : e.type === 2 ? !!e.content.trim() : bn(e.content);
3582
3588
  }
3583
- const cr = /* @__PURE__ */ new WeakMap(), fa = (e, t) => function() {
3589
+ const ur = /* @__PURE__ */ new WeakMap(), fa = (e, t) => function() {
3584
3590
  if (e = t.currentNode, !(e.type === 1 && (e.tagType === 0 || e.tagType === 1)))
3585
3591
  return;
3586
3592
  const { tag: s, props: r } = e, i = e.tagType === 1;
@@ -3595,18 +3601,18 @@ const cr = /* @__PURE__ */ new WeakMap(), fa = (e, t) => function() {
3595
3601
  (s === "svg" || s === "foreignObject" || s === "math")
3596
3602
  );
3597
3603
  if (r.length > 0) {
3598
- const y = ur(
3604
+ const b = dr(
3599
3605
  e,
3600
3606
  t,
3601
3607
  void 0,
3602
3608
  i,
3603
3609
  a
3604
3610
  );
3605
- l = y.props, m = y.patchFlag, p = y.dynamicPropNames;
3606
- const I = y.directives;
3611
+ l = b.props, m = b.patchFlag, p = b.dynamicPropNames;
3612
+ const I = b.directives;
3607
3613
  h = I && I.length ? Ye(
3608
3614
  I.map((C) => ma(C, t))
3609
- ) : void 0, y.shouldUseBlock && (k = !0);
3615
+ ) : void 0, b.shouldUseBlock && (k = !0);
3610
3616
  }
3611
3617
  if (e.children.length > 0)
3612
3618
  if (o === Lt && (k = !0, m |= 1024, process.env.NODE_ENV !== "production" && e.children.length > 1 && t.onError(
@@ -3659,17 +3665,17 @@ function pa(e, t, n = !1) {
3659
3665
  a
3660
3666
  ]);
3661
3667
  } else i.type === 6 && i.value.content.startsWith("vue:") && (s = i.value.content.slice(4));
3662
- const o = qs(s) || t.isBuiltInComponent(s);
3668
+ const o = Ks(s) || t.isBuiltInComponent(s);
3663
3669
  return o ? (n || t.helper(o), o) : (t.helper(Dn), t.components.add(s), vt(s, "component"));
3664
3670
  }
3665
- function ur(e, t, n = e.props, s, r, i = !1) {
3671
+ function dr(e, t, n = e.props, s, r, i = !1) {
3666
3672
  const { tag: o, loc: a, children: l } = e;
3667
3673
  let c = [];
3668
3674
  const m = [], u = [], p = l.length > 0;
3669
- let h = !1, k = 0, y = !1, I = !1, C = !1, B = !1, O = !1, X = !1;
3675
+ let h = !1, k = 0, b = !1, I = !1, C = !1, B = !1, O = !1, X = !1;
3670
3676
  const K = [], ce = (V) => {
3671
3677
  c.length && (m.push(
3672
- Ne(ms(c), a)
3678
+ Ne(gs(c), a)
3673
3679
  ), c = []), V && m.push(V);
3674
3680
  }, ne = () => {
3675
3681
  t.scopes.vFor > 0 && c.push(
@@ -3685,9 +3691,9 @@ function ur(e, t, n = e.props, s, r, i = !1) {
3685
3691
  // dedicated fast path.
3686
3692
  E.toLowerCase() !== "onclick" && // omit v-model handlers
3687
3693
  E !== "onUpdate:modelValue" && // omit onVnodeXXX hooks
3688
- !ts(E) && (B = !0), g && ts(E) && (X = !0), g && j.type === 14 && (j = j.arguments[0]), j.type === 20 || (j.type === 4 || j.type === 8) && ke(j, t) > 0)
3694
+ !ns(E) && (B = !0), g && ns(E) && (X = !0), g && j.type === 14 && (j = j.arguments[0]), j.type === 20 || (j.type === 4 || j.type === 8) && ke(j, t) > 0)
3689
3695
  return;
3690
- E === "ref" ? y = !0 : E === "class" ? I = !0 : E === "style" ? C = !0 : E !== "key" && !K.includes(E) && K.push(E), s && (E === "class" || E === "style") && !K.includes(E) && K.push(E);
3696
+ E === "ref" ? b = !0 : E === "class" ? I = !0 : E === "style" ? C = !0 : E !== "key" && !K.includes(E) && K.push(E), s && (E === "class" || E === "style") && !K.includes(E) && K.push(E);
3691
3697
  } else
3692
3698
  O = !0;
3693
3699
  };
@@ -3696,7 +3702,7 @@ function ur(e, t, n = e.props, s, r, i = !1) {
3696
3702
  if (j.type === 6) {
3697
3703
  const { loc: E, name: g, nameLoc: _, value: D } = j;
3698
3704
  let A = !0;
3699
- if (g === "ref" && (y = !0, ne()), g === "is" && (xn(o) || D && D.content.startsWith("vue:") || ze(
3705
+ if (g === "ref" && (b = !0, ne()), g === "is" && (xn(o) || D && D.content.startsWith("vue:") || ze(
3700
3706
  "COMPILER_IS_ON_ELEMENT",
3701
3707
  t
3702
3708
  )))
@@ -3732,7 +3738,7 @@ function ur(e, t, n = e.props, s, r, i = !1) {
3732
3738
  ) {
3733
3739
  if (O = !0, _)
3734
3740
  if (R) {
3735
- if (ce(), process.env.NODE_ENV !== "production" && m.some((me) => me.type === 15 ? me.properties.some(({ key: Re }) => Re.type !== 4 || !Re.isStatic ? !0 : Re.content !== "class" && Re.content !== "style" && !dn(Re.content)) : !0) && ot(
3741
+ if (ce(), process.env.NODE_ENV !== "production" && m.some((me) => me.type === 15 ? me.properties.some(({ key: Me }) => Me.type !== 4 || !Me.isStatic ? !0 : Me.content !== "class" && Me.content !== "style" && !dn(Me.content)) : !0) && ot(
3736
3742
  "COMPILER_V_BIND_OBJECT_ORDER",
3737
3743
  t,
3738
3744
  D
@@ -3761,10 +3767,10 @@ function ur(e, t, n = e.props, s, r, i = !1) {
3761
3767
  continue;
3762
3768
  }
3763
3769
  R && A.some((fe) => fe.content === "prop") && (k |= 32);
3764
- const Ve = t.directiveTransforms[E];
3765
- if (Ve) {
3766
- const { props: fe, needRuntime: me } = Ve(j, e, t);
3767
- !i && fe.forEach($), W && g && !be(g) ? ce(Ne(fe, a)) : c.push(...fe), me && (u.push(j), Sn(me) && cr.set(j, me));
3770
+ const Re = t.directiveTransforms[E];
3771
+ if (Re) {
3772
+ const { props: fe, needRuntime: me } = Re(j, e, t);
3773
+ !i && fe.forEach($), W && g && !be(g) ? ce(Ne(fe, a)) : c.push(...fe), me && (u.push(j), Sn(me) && ur.set(j, me));
3768
3774
  } else Ti(E) || (u.push(j), p && (h = !0));
3769
3775
  }
3770
3776
  }
@@ -3774,9 +3780,9 @@ function ur(e, t, n = e.props, s, r, i = !1) {
3774
3780
  m,
3775
3781
  a
3776
3782
  ) : N = m[0]) : c.length && (N = Ne(
3777
- ms(c),
3783
+ gs(c),
3778
3784
  a
3779
- )), O ? k |= 16 : (I && !s && (k |= 2), C && !s && (k |= 4), K.length && (k |= 8), B && (k |= 32)), !h && (k === 0 || k === 32) && (y || X || u.length > 0) && (k |= 512), !t.inSSR && N)
3785
+ )), O ? k |= 16 : (I && !s && (k |= 2), C && !s && (k |= 4), K.length && (k |= 8), B && (k |= 32)), !h && (k === 0 || k === 32) && (b || X || u.length > 0) && (k |= 512), !t.inSSR && N)
3780
3786
  switch (N.type) {
3781
3787
  case 15:
3782
3788
  let V = -1, j = -1, E = !1;
@@ -3821,7 +3827,7 @@ function ur(e, t, n = e.props, s, r, i = !1) {
3821
3827
  shouldUseBlock: h
3822
3828
  };
3823
3829
  }
3824
- function ms(e) {
3830
+ function gs(e) {
3825
3831
  const t = /* @__PURE__ */ new Map(), n = [];
3826
3832
  for (let s = 0; s < e.length; s++) {
3827
3833
  const r = e[s];
@@ -3841,7 +3847,7 @@ function ha(e, t) {
3841
3847
  );
3842
3848
  }
3843
3849
  function ma(e, t) {
3844
- const n = [], s = cr.get(e);
3850
+ const n = [], s = ur.get(e);
3845
3851
  s ? n.push(t.helperString(s)) : (t.helper($n), t.directives.add(e.name), n.push(vt(e.name, "directive")));
3846
3852
  const { loc: r } = e;
3847
3853
  if (e.exp && n.push(e.exp), e.arg && (e.exp || n.push("void 0"), n.push(e.arg)), Object.keys(e.modifiers).length) {
@@ -3878,7 +3884,7 @@ const va = (e, t) => {
3878
3884
  ];
3879
3885
  let a = 2;
3880
3886
  i && (o[2] = i, a = 3), n.length && (o[3] = st([], n, !1, !1, s), a = 4), t.scopeId && !t.slotted && (a = 5), o.splice(a), e.codegenNode = se(
3881
- t.helper(js),
3887
+ t.helper(Us),
3882
3888
  o,
3883
3889
  s
3884
3890
  );
@@ -3902,7 +3908,7 @@ function ya(e, t) {
3902
3908
  o.name === "bind" && o.arg && be(o.arg) && (o.arg.content = He(o.arg.content)), r.push(o);
3903
3909
  }
3904
3910
  if (r.length > 0) {
3905
- const { props: i, directives: o } = ur(
3911
+ const { props: i, directives: o } = dr(
3906
3912
  e,
3907
3913
  t,
3908
3914
  r,
@@ -3921,7 +3927,7 @@ function ya(e, t) {
3921
3927
  slotProps: s
3922
3928
  };
3923
3929
  }
3924
- const dr = (e, t, n, s) => {
3930
+ const fr = (e, t, n, s) => {
3925
3931
  const { loc: r, modifiers: i, arg: o } = e;
3926
3932
  !e.exp && !i.length && n.onError(Y(35, r));
3927
3933
  let a;
@@ -3951,7 +3957,7 @@ const dr = (e, t, n, s) => {
3951
3957
  l && !l.content.trim() && (l = void 0);
3952
3958
  let c = n.cacheHandlers && !l && !n.inVOnce;
3953
3959
  if (l) {
3954
- const u = Ws(l), p = !(u || co(l)), h = l.content.includes(";");
3960
+ const u = Gs(l), p = !(u || co(l)), h = l.content.includes(";");
3955
3961
  process.env.NODE_ENV !== "production" && Je(
3956
3962
  l,
3957
3963
  n,
@@ -4025,9 +4031,9 @@ const dr = (e, t, n, s) => {
4025
4031
  }
4026
4032
  }
4027
4033
  };
4028
- }, gs = /* @__PURE__ */ new WeakSet(), xa = (e, t) => {
4034
+ }, vs = /* @__PURE__ */ new WeakSet(), xa = (e, t) => {
4029
4035
  if (e.type === 1 && ye(e, "once", !0))
4030
- return gs.has(e) || t.inVOnce || t.inSSR ? void 0 : (gs.add(e), t.inVOnce = !0, t.helper(Ft), () => {
4036
+ return vs.has(e) || t.inVOnce || t.inSSR ? void 0 : (vs.add(e), t.inVOnce = !0, t.helper(Ft), () => {
4031
4037
  t.inVOnce = !1;
4032
4038
  const n = t.currentNode;
4033
4039
  n.codegenNode && (n.codegenNode = t.cache(
@@ -4036,7 +4042,7 @@ const dr = (e, t, n, s) => {
4036
4042
  !0
4037
4043
  ));
4038
4044
  });
4039
- }, fr = (e, t, n) => {
4045
+ }, pr = (e, t, n) => {
4040
4046
  const { exp: s, arg: r } = e;
4041
4047
  if (!s)
4042
4048
  return n.onError(
@@ -4045,7 +4051,7 @@ const dr = (e, t, n, s) => {
4045
4051
  const i = s.loc.source.trim(), o = s.type === 4 ? s.content : i, a = n.bindingMetadata[i];
4046
4052
  if (a === "props" || a === "props-aliased")
4047
4053
  return n.onError(Y(44, s.loc)), Ot();
4048
- if (!o.trim() || !Ws(s))
4054
+ if (!o.trim() || !Gs(s))
4049
4055
  return n.onError(
4050
4056
  Y(42, s.loc)
4051
4057
  ), Ot();
@@ -4064,7 +4070,7 @@ const dr = (e, t, n, s) => {
4064
4070
  ee(c, m)
4065
4071
  ];
4066
4072
  if (e.modifiers.length && t.tagType === 1) {
4067
- const h = e.modifiers.map((y) => y.content).map((y) => (zn(y) ? y : JSON.stringify(y)) + ": true").join(", "), k = r ? be(r) ? `${r.content}Modifiers` : Ie([r, ' + "Modifiers"']) : "modelModifiers";
4073
+ const h = e.modifiers.map((b) => b.content).map((b) => (zn(b) ? b : JSON.stringify(b)) + ": true").join(", "), k = r ? be(r) ? `${r.content}Modifiers` : Ie([r, ' + "Modifiers"']) : "modelModifiers";
4068
4074
  p.push(
4069
4075
  ee(
4070
4076
  k,
@@ -4089,16 +4095,16 @@ const wa = /[\w).+\-_$\]]/, ka = (e, t) => {
4089
4095
  };
4090
4096
  function qt(e, t) {
4091
4097
  if (e.type === 4)
4092
- vs(e, t);
4098
+ ys(e, t);
4093
4099
  else
4094
4100
  for (let n = 0; n < e.children.length; n++) {
4095
4101
  const s = e.children[n];
4096
- typeof s == "object" && (s.type === 4 ? vs(s, t) : s.type === 8 ? qt(e, t) : s.type === 5 && qt(s.content, t));
4102
+ typeof s == "object" && (s.type === 4 ? ys(s, t) : s.type === 8 ? qt(e, t) : s.type === 5 && qt(s.content, t));
4097
4103
  }
4098
4104
  }
4099
- function vs(e, t) {
4105
+ function ys(e, t) {
4100
4106
  const n = e.content;
4101
- let s = !1, r = !1, i = !1, o = !1, a = 0, l = 0, c = 0, m = 0, u, p, h, k, y = [];
4107
+ let s = !1, r = !1, i = !1, o = !1, a = 0, l = 0, c = 0, m = 0, u, p, h, k, b = [];
4102
4108
  for (h = 0; h < n.length; h++)
4103
4109
  if (p = u, u = n.charCodeAt(h), s)
4104
4110
  u === 39 && p !== 92 && (s = !1);
@@ -4158,15 +4164,15 @@ function vs(e, t) {
4158
4164
  }
4159
4165
  k === void 0 ? k = n.slice(0, h).trim() : m !== 0 && I();
4160
4166
  function I() {
4161
- y.push(n.slice(m, h).trim()), m = h + 1;
4167
+ b.push(n.slice(m, h).trim()), m = h + 1;
4162
4168
  }
4163
- if (y.length) {
4169
+ if (b.length) {
4164
4170
  for (process.env.NODE_ENV !== "production" && jt(
4165
4171
  "COMPILER_FILTERS",
4166
4172
  t,
4167
4173
  e.loc
4168
- ), h = 0; h < y.length; h++)
4169
- k = Ea(k, y[h], t);
4174
+ ), h = 0; h < b.length; h++)
4175
+ k = Ea(k, b[h], t);
4170
4176
  e.content = k, e.ast = void 0;
4171
4177
  }
4172
4178
  }
@@ -4180,10 +4186,10 @@ function Ea(e, t, n) {
4180
4186
  return n.filters.add(r), `${vt(r, "filter")}(${e}${i !== ")" ? "," + i : i}`;
4181
4187
  }
4182
4188
  }
4183
- const ys = /* @__PURE__ */ new WeakSet(), Sa = (e, t) => {
4189
+ const bs = /* @__PURE__ */ new WeakSet(), Sa = (e, t) => {
4184
4190
  if (e.type === 1) {
4185
4191
  const n = ye(e, "memo");
4186
- return !n || ys.has(e) ? void 0 : (ys.add(e), () => {
4192
+ return !n || bs.has(e) ? void 0 : (bs.add(e), () => {
4187
4193
  const s = e.codegenNode || t.currentNode.codegenNode;
4188
4194
  s && s.type === 13 && (e.tagType !== 1 && Un(s, t), e.codegenNode = se(t.helper(jn), [
4189
4195
  n.exp,
@@ -4209,9 +4215,9 @@ function _a(e) {
4209
4215
  ba
4210
4216
  ],
4211
4217
  {
4212
- on: dr,
4218
+ on: fr,
4213
4219
  bind: ia,
4214
- model: fr
4220
+ model: pr
4215
4221
  }
4216
4222
  ];
4217
4223
  }
@@ -4246,30 +4252,30 @@ const Ca = () => ({ props: [] });
4246
4252
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4247
4253
  * @license MIT
4248
4254
  **/
4249
- const pr = Symbol(process.env.NODE_ENV !== "production" ? "vModelRadio" : ""), hr = Symbol(
4255
+ const hr = Symbol(process.env.NODE_ENV !== "production" ? "vModelRadio" : ""), mr = Symbol(
4250
4256
  process.env.NODE_ENV !== "production" ? "vModelCheckbox" : ""
4251
- ), mr = Symbol(process.env.NODE_ENV !== "production" ? "vModelText" : ""), gr = Symbol(
4257
+ ), gr = Symbol(process.env.NODE_ENV !== "production" ? "vModelText" : ""), vr = Symbol(
4252
4258
  process.env.NODE_ENV !== "production" ? "vModelSelect" : ""
4253
4259
  ), wn = Symbol(
4254
4260
  process.env.NODE_ENV !== "production" ? "vModelDynamic" : ""
4255
- ), vr = Symbol(
4256
- process.env.NODE_ENV !== "production" ? "vOnModifiersGuard" : ""
4257
4261
  ), yr = Symbol(
4262
+ process.env.NODE_ENV !== "production" ? "vOnModifiersGuard" : ""
4263
+ ), br = Symbol(
4258
4264
  process.env.NODE_ENV !== "production" ? "vOnKeysGuard" : ""
4259
- ), br = Symbol(process.env.NODE_ENV !== "production" ? "vShow" : ""), Wn = Symbol(process.env.NODE_ENV !== "production" ? "Transition" : ""), xr = Symbol(
4265
+ ), xr = Symbol(process.env.NODE_ENV !== "production" ? "vShow" : ""), Wn = Symbol(process.env.NODE_ENV !== "production" ? "Transition" : ""), wr = Symbol(
4260
4266
  process.env.NODE_ENV !== "production" ? "TransitionGroup" : ""
4261
4267
  );
4262
4268
  Ji({
4263
- [pr]: "vModelRadio",
4264
- [hr]: "vModelCheckbox",
4265
- [mr]: "vModelText",
4266
- [gr]: "vModelSelect",
4269
+ [hr]: "vModelRadio",
4270
+ [mr]: "vModelCheckbox",
4271
+ [gr]: "vModelText",
4272
+ [vr]: "vModelSelect",
4267
4273
  [wn]: "vModelDynamic",
4268
- [vr]: "withModifiers",
4269
- [yr]: "withKeys",
4270
- [br]: "vShow",
4274
+ [yr]: "withModifiers",
4275
+ [br]: "withKeys",
4276
+ [xr]: "vShow",
4271
4277
  [Wn]: "Transition",
4272
- [xr]: "TransitionGroup"
4278
+ [wr]: "TransitionGroup"
4273
4279
  });
4274
4280
  let Qe;
4275
4281
  function Ta(e, t = !1) {
@@ -4286,7 +4292,7 @@ const Oa = {
4286
4292
  if (e === "Transition" || e === "transition")
4287
4293
  return Wn;
4288
4294
  if (e === "TransitionGroup" || e === "transition-group")
4289
- return xr;
4295
+ return wr;
4290
4296
  },
4291
4297
  // https://html.spec.whatwg.org/multipage/parsing.html#tree-construction-dispatcher
4292
4298
  getNamespace(e, t, n) {
@@ -4380,7 +4386,7 @@ const Aa = {
4380
4386
  ]
4381
4387
  };
4382
4388
  }, Ra = (e, t, n) => {
4383
- const s = fr(e, t, n);
4389
+ const s = pr(e, t, n);
4384
4390
  if (!s.props.length || t.tagType === 1)
4385
4391
  return s;
4386
4392
  e.arg && n.onError(
@@ -4400,7 +4406,7 @@ const Aa = {
4400
4406
  }
4401
4407
  const { tag: i } = t, o = n.isCustomElement(i);
4402
4408
  if (i === "input" || i === "textarea" || i === "select" || o) {
4403
- let a = mr, l = !1;
4409
+ let a = gr, l = !1;
4404
4410
  if (i === "input" || o) {
4405
4411
  const c = gt(t, "type");
4406
4412
  if (c) {
@@ -4409,10 +4415,10 @@ const Aa = {
4409
4415
  else if (c.value)
4410
4416
  switch (c.value.content) {
4411
4417
  case "radio":
4412
- a = pr;
4418
+ a = hr;
4413
4419
  break;
4414
4420
  case "checkbox":
4415
- a = hr;
4421
+ a = mr;
4416
4422
  break;
4417
4423
  case "file":
4418
4424
  l = !0, n.onError(
@@ -4427,7 +4433,7 @@ const Aa = {
4427
4433
  break;
4428
4434
  }
4429
4435
  } else uo(t) ? a = wn : process.env.NODE_ENV !== "production" && r();
4430
- } else i === "select" ? a = gr : process.env.NODE_ENV !== "production" && r();
4436
+ } else i === "select" ? a = vr : process.env.NODE_ENV !== "production" && r();
4431
4437
  l || (s.needRuntime = n.helper(a));
4432
4438
  } else
4433
4439
  n.onError(
@@ -4439,10 +4445,10 @@ const Aa = {
4439
4445
  return s.props = s.props.filter(
4440
4446
  (a) => !(a.key.type === 4 && a.key.content === "modelValue")
4441
4447
  ), s;
4442
- }, Ma = /* @__PURE__ */ $e("passive,once,capture"), La = /* @__PURE__ */ $e(
4448
+ }, Ma = /* @__PURE__ */ Ve("passive,once,capture"), La = /* @__PURE__ */ Ve(
4443
4449
  // event propagation management
4444
4450
  "stop,prevent,self,ctrl,shift,alt,meta,exact,middle"
4445
- ), Pa = /* @__PURE__ */ $e("left,right"), wr = /* @__PURE__ */ $e("onkeyup,onkeydown,onkeypress"), Fa = (e, t, n, s) => {
4451
+ ), Pa = /* @__PURE__ */ Ve("left,right"), kr = /* @__PURE__ */ Ve("onkeyup,onkeydown,onkeypress"), Fa = (e, t, n, s) => {
4446
4452
  const r = [], i = [], o = [];
4447
4453
  for (let a = 0; a < t.length; a++) {
4448
4454
  const l = t[a].content;
@@ -4450,29 +4456,29 @@ const Aa = {
4450
4456
  "COMPILER_V_ON_NATIVE",
4451
4457
  n,
4452
4458
  s
4453
- ) || Ma(l) ? o.push(l) : Pa(l) ? be(e) ? wr(e.content.toLowerCase()) ? r.push(l) : i.push(l) : (r.push(l), i.push(l)) : La(l) ? i.push(l) : r.push(l);
4459
+ ) || Ma(l) ? o.push(l) : Pa(l) ? be(e) ? kr(e.content.toLowerCase()) ? r.push(l) : i.push(l) : (r.push(l), i.push(l)) : La(l) ? i.push(l) : r.push(l);
4454
4460
  }
4455
4461
  return {
4456
4462
  keyModifiers: r,
4457
4463
  nonKeyModifiers: i,
4458
4464
  eventOptionModifiers: o
4459
4465
  };
4460
- }, bs = (e, t) => be(e) && e.content.toLowerCase() === "onclick" ? P(t, !0) : e.type !== 4 ? Ie([
4466
+ }, xs = (e, t) => be(e) && e.content.toLowerCase() === "onclick" ? P(t, !0) : e.type !== 4 ? Ie([
4461
4467
  "(",
4462
4468
  e,
4463
4469
  `) === "onClick" ? "${t}" : (`,
4464
4470
  e,
4465
4471
  ")"
4466
- ]) : e, Ba = (e, t, n) => dr(e, t, n, (s) => {
4472
+ ]) : e, Ba = (e, t, n) => fr(e, t, n, (s) => {
4467
4473
  const { modifiers: r } = e;
4468
4474
  if (!r.length) return s;
4469
4475
  let { key: i, value: o } = s.props[0];
4470
4476
  const { keyModifiers: a, nonKeyModifiers: l, eventOptionModifiers: c } = Fa(i, r, n, e.loc);
4471
- if (l.includes("right") && (i = bs(i, "onContextmenu")), l.includes("middle") && (i = bs(i, "onMouseup")), l.length && (o = se(n.helper(vr), [
4477
+ if (l.includes("right") && (i = xs(i, "onContextmenu")), l.includes("middle") && (i = xs(i, "onMouseup")), l.length && (o = se(n.helper(yr), [
4472
4478
  o,
4473
4479
  JSON.stringify(l)
4474
4480
  ])), a.length && // if event name is dynamic, always wrap with keys guard
4475
- (!be(i) || wr(i.content.toLowerCase())) && (o = se(n.helper(yr), [
4481
+ (!be(i) || kr(i.content.toLowerCase())) && (o = se(n.helper(br), [
4476
4482
  o,
4477
4483
  JSON.stringify(a)
4478
4484
  ])), c.length) {
@@ -4488,14 +4494,14 @@ const Aa = {
4488
4494
  Te(61, r)
4489
4495
  ), {
4490
4496
  props: [],
4491
- needRuntime: n.helper(br)
4497
+ needRuntime: n.helper(xr)
4492
4498
  };
4493
4499
  }, Ua = (e, t) => {
4494
4500
  if (e.type === 1 && e.tagType === 1 && t.isBuiltInComponent(e.tag) === Wn)
4495
4501
  return () => {
4496
4502
  if (!e.children.length)
4497
4503
  return;
4498
- kr(e) && t.onError(
4504
+ Er(e) && t.onError(
4499
4505
  Te(
4500
4506
  62,
4501
4507
  {
@@ -4517,11 +4523,11 @@ const Aa = {
4517
4523
  });
4518
4524
  };
4519
4525
  };
4520
- function kr(e) {
4526
+ function Er(e) {
4521
4527
  const t = e.children = e.children.filter(
4522
4528
  (s) => s.type !== 3 && !(s.type === 2 && !s.content.trim())
4523
4529
  ), n = t[0];
4524
- return t.length !== 1 || n.type === 11 || n.type === 9 && n.branches.some(kr);
4530
+ return t.length !== 1 || n.type === 11 || n.type === 9 && n.branches.some(Er);
4525
4531
  }
4526
4532
  const Ha = (e, t) => {
4527
4533
  e.type === 1 && e.tagType === 0 && (e.tag === "script" || e.tag === "style") && (process.env.NODE_ENV !== "production" && t.onError(
@@ -4532,9 +4538,9 @@ const Ha = (e, t) => {
4532
4538
  ), t.removeNode());
4533
4539
  };
4534
4540
  function za(e, t) {
4535
- return e === "template" ? !0 : e in xs ? xs[e].has(t) : t in ws ? ws[t].has(e) : !(e in ks && ks[e].has(t) || t in Es && Es[t].has(e));
4541
+ return e === "template" ? !0 : e in ws ? ws[e].has(t) : t in ks ? ks[t].has(e) : !(e in Es && Es[e].has(t) || t in Ss && Ss[t].has(e));
4536
4542
  }
4537
- const et = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), We = /* @__PURE__ */ new Set([]), xs = {
4543
+ const et = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), We = /* @__PURE__ */ new Set([]), ws = {
4538
4544
  head: /* @__PURE__ */ new Set([
4539
4545
  "base",
4540
4546
  "basefront",
@@ -4564,7 +4570,7 @@ const et = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), We = /
4564
4570
  textarea: We,
4565
4571
  style: We,
4566
4572
  title: We
4567
- }, ws = {
4573
+ }, ks = {
4568
4574
  // sections
4569
4575
  html: We,
4570
4576
  body: /* @__PURE__ */ new Set(["html"]),
@@ -4587,7 +4593,7 @@ const et = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), We = /
4587
4593
  // li: new Set(["ul", "ol"]),
4588
4594
  summary: /* @__PURE__ */ new Set(["details"]),
4589
4595
  area: /* @__PURE__ */ new Set(["map"])
4590
- }, ks = {
4596
+ }, Es = {
4591
4597
  p: /* @__PURE__ */ new Set([
4592
4598
  "address",
4593
4599
  "article",
@@ -4661,7 +4667,7 @@ const et = /* @__PURE__ */ new Set(["h1", "h2", "h3", "h4", "h5", "h6"]), We = /
4661
4667
  "ul",
4662
4668
  "var"
4663
4669
  ])
4664
- }, Es = {
4670
+ }, Ss = {
4665
4671
  a: /* @__PURE__ */ new Set(["a"]),
4666
4672
  button: /* @__PURE__ */ new Set(["button"]),
4667
4673
  dd: /* @__PURE__ */ new Set(["dd", "dt"]),
@@ -4716,7 +4722,7 @@ function Ga(e, t = {}) {
4716
4722
  );
4717
4723
  }
4718
4724
  function Ja(e, t) {
4719
- const n = e.trim().startsWith("<") ? e : `<span>${e}</span>`, { code: s } = Ga(n, { mode: "function" }), r = new Function("Vue", `${s}; return render`)(Vr);
4725
+ const n = e.trim().startsWith("<") ? e : `<span>${e}</span>`, { code: s } = Ga(n, { mode: "function" }), r = new Function("Vue", `${s}; return render`)(Rr);
4720
4726
  return oe({
4721
4727
  name: "DynamicFromString",
4722
4728
  props: t?.props ?? {},
@@ -4728,7 +4734,7 @@ function Ja(e, t) {
4728
4734
  });
4729
4735
  }
4730
4736
  const un = {};
4731
- function Ss(e) {
4737
+ function _s(e) {
4732
4738
  return un[e] || (un[e] = Ja(e, {
4733
4739
  props: { row: Object, value: null, data: Object, column: Object }
4734
4740
  })), un[e];
@@ -4741,7 +4747,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
4741
4747
  },
4742
4748
  setup(e) {
4743
4749
  const t = Kt(), n = e, s = M(() => n.title ?? t("table.noData.title")), r = M(() => n.description ?? t("table.noData.description"));
4744
- return (i, o) => (b(), w("div", Ya, [
4750
+ return (i, o) => (x(), w("div", Ya, [
4745
4751
  o[0] || (o[0] = kn('<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)),
4746
4752
  d("div", Xa, [
4747
4753
  d("p", Za, T(s.value), 1),
@@ -4804,8 +4810,8 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
4804
4810
  },
4805
4811
  emits: ["edit", "update"],
4806
4812
  setup(e, { emit: t }) {
4807
- const n = e, s = t, r = L(!1), i = L(null), o = L(null), a = L(n.value), l = L([]), c = Gt(), m = M(() => n.column?.schema?.[n.column?.name]), u = M(() => Wt(n.column || {}, c.value)), p = M(() => zr(n.column || {}, c.value) || ""), h = M(() => Rs(n.column || {}, c.value)), k = M(() => Hr(n.column || {}, c.value)), y = M(() => rn(m.value, c.value, "placeholder") || p.value || ""), I = M(() => rn(m.value, c.value, "info") || h.value || null), C = M(() => rn(m.value, c.value, "description") || k.value || null), B = M(() => y.value || "-- виберіть --");
4808
- De(() => n.value, (A) => {
4813
+ const n = e, s = t, r = L(!1), i = L(null), o = L(null), a = L(n.value), l = L([]), c = Gt(), m = M(() => n.column?.schema?.[n.column?.name]), u = M(() => Wt(n.column || {}, c.value)), p = M(() => zr(n.column || {}, c.value) || ""), h = M(() => Ms(n.column || {}, c.value)), k = M(() => Hr(n.column || {}, c.value)), b = M(() => rn(m.value, c.value, "placeholder") || p.value || ""), I = M(() => rn(m.value, c.value, "info") || h.value || null), C = M(() => rn(m.value, c.value, "description") || k.value || null), B = M(() => b.value || "-- виберіть --");
4814
+ Ae(() => n.value, (A) => {
4809
4815
  a.value = A;
4810
4816
  });
4811
4817
  const O = M(() => {
@@ -4853,7 +4859,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
4853
4859
  }
4854
4860
  tt(() => {
4855
4861
  document.addEventListener("click", N), document.addEventListener("close-all-popovers", V);
4856
- }), As(() => {
4862
+ }), $s(() => {
4857
4863
  document.removeEventListener("click", N), document.removeEventListener("close-all-popovers", V);
4858
4864
  });
4859
4865
  function j() {
@@ -4877,12 +4883,12 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
4877
4883
  console.error(`Не удалось загрузить options для ${n.column.name}`, A);
4878
4884
  }
4879
4885
  }
4880
- return (A, R) => (b(), w("div", {
4886
+ return (A, R) => (x(), w("div", {
4881
4887
  class: F(A.classContent ? A.classContent : "relative group w-full"),
4882
4888
  ref_key: "cellRef",
4883
4889
  ref: K
4884
4890
  }, [
4885
- O.value === "boolean" && A.editable ? (b(), w("button", {
4891
+ O.value === "boolean" && A.editable ? (x(), w("button", {
4886
4892
  key: 0,
4887
4893
  type: "button",
4888
4894
  role: "checkbox",
@@ -4896,7 +4902,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
4896
4902
  ]),
4897
4903
  onClick: ct(j, ["stop"])
4898
4904
  }, [
4899
- a.value ? (b(), w("span", nl, R[4] || (R[4] = [
4905
+ a.value ? (x(), w("span", nl, R[4] || (R[4] = [
4900
4906
  d("svg", {
4901
4907
  xmlns: "http://www.w3.org/2000/svg",
4902
4908
  width: "24",
@@ -4912,7 +4918,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
4912
4918
  d("path", { d: "M20 6 9 17l-5-5" })
4913
4919
  ], -1)
4914
4920
  ]))) : J("", !0)
4915
- ], 10, tl)) : (b(), w(re, { key: 1 }, [
4921
+ ], 10, tl)) : (x(), w(re, { key: 1 }, [
4916
4922
  d("div", {
4917
4923
  class: "flex items-start justify-between cursor-pointer gap-2",
4918
4924
  onClick: ct(ce, ["stop"])
@@ -4920,9 +4926,9 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
4920
4926
  d("span", {
4921
4927
  class: F(_.value)
4922
4928
  }, [
4923
- Le(A.$slots, "default")
4929
+ De(A.$slots, "default")
4924
4930
  ], 2),
4925
- A.editable ? (b(), w("svg", {
4931
+ A.editable ? (x(), w("svg", {
4926
4932
  key: 0,
4927
4933
  xmlns: "http://www.w3.org/2000/svg",
4928
4934
  fill: "none",
@@ -4938,14 +4944,14 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
4938
4944
  }, null, -1)
4939
4945
  ]), 2)) : J("", !0)
4940
4946
  ]),
4941
- r.value ? (b(), w("div", {
4947
+ r.value ? (x(), w("div", {
4942
4948
  key: 0,
4943
4949
  ref_key: "popoverRef",
4944
4950
  ref: o,
4945
4951
  class: F(["absolute top-0 left-[50px] ml-2 z-50 bg-white border rounded-lg shadow-lg", O.value === "select" ? "" : "w-[450px]"]),
4946
4952
  onKeydown: nn(ct($, ["stop", "prevent"]), ["esc"])
4947
4953
  }, [
4948
- O.value === "select" ? (b(), w("div", rl, [
4954
+ O.value === "select" ? (x(), w("div", rl, [
4949
4955
  d("div", il, [
4950
4956
  d("span", ol, [
4951
4957
  d("span", al, " Редагувати " + T(u.value), 1)
@@ -4953,7 +4959,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
4953
4959
  ]),
4954
4960
  d("div", ll, [
4955
4961
  d("div", cl, [
4956
- (b(!0), w(re, null, Oe(X.value, (W) => (b(), w("label", {
4962
+ (x(!0), w(re, null, Oe(X.value, (W) => (x(), w("label", {
4957
4963
  key: W.value.toString(),
4958
4964
  onClick: ct(() => {
4959
4965
  a.value = W.value, ne();
@@ -4966,40 +4972,40 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
4966
4972
  id: "hs-pro-chthuts1op",
4967
4973
  name: "hs-pro-chthuts1"
4968
4974
  }, null, -1)),
4969
- W.color ? (b(), w("span", dl, R[6] || (R[6] = [
4975
+ W.color ? (x(), w("span", dl, R[6] || (R[6] = [
4970
4976
  d("span", { class: "shrink-0 size-2 block mx-auto bg-emerald-500 rounded-full" }, null, -1)
4971
4977
  ]))) : J("", !0),
4972
4978
  _e(" " + T(W.label) + " ", 1),
4973
- a.value === W.value ? (b(), w("svg", fl, R[7] || (R[7] = [
4979
+ a.value === W.value ? (x(), w("svg", fl, R[7] || (R[7] = [
4974
4980
  d("path", { d: "M20 6 9 17l-5-5" }, null, -1)
4975
4981
  ]))) : J("", !0)
4976
4982
  ], 8, ul))), 128))
4977
4983
  ])
4978
4984
  ])
4979
- ])) : (b(), w("div", pl, [
4985
+ ])) : (x(), w("div", pl, [
4980
4986
  d("h3", hl, " Редагувати " + T(u.value), 1),
4981
4987
  d("div", ml, [
4982
4988
  d("label", gl, T(u.value), 1),
4983
- I.value ? (b(), w("p", vl, T(I.value), 1)) : J("", !0),
4984
- O.value === "text" ? Se((b(), w("input", {
4989
+ I.value ? (x(), w("p", vl, T(I.value), 1)) : J("", !0),
4990
+ O.value === "text" ? Se((x(), w("input", {
4985
4991
  key: 1,
4986
4992
  ref_key: "inputRef",
4987
4993
  ref: i,
4988
4994
  "onUpdate:modelValue": R[0] || (R[0] = (W) => a.value = W),
4989
4995
  type: "text",
4990
4996
  class: F(["w-full rounded-md border px-3 py-2 text-sm outline-none border-gray-300", g.value.ring, g.value.border]),
4991
- placeholder: y.value,
4997
+ placeholder: b.value,
4992
4998
  onKeyup: nn(ne, ["enter"])
4993
4999
  }, null, 42, yl)), [
4994
5000
  [It, a.value]
4995
- ]) : O.value === "number" ? Se((b(), w("input", {
5001
+ ]) : O.value === "number" ? Se((x(), w("input", {
4996
5002
  key: 2,
4997
5003
  ref_key: "inputRef",
4998
5004
  ref: i,
4999
5005
  "onUpdate:modelValue": R[1] || (R[1] = (W) => a.value = W),
5000
5006
  type: "number",
5001
5007
  class: F(["w-full rounded-md border px-3 py-2 text-sm outline-none border-gray-300", g.value.ring, g.value.border]),
5002
- placeholder: y.value,
5008
+ placeholder: b.value,
5003
5009
  onKeyup: nn(ne, ["enter"])
5004
5010
  }, null, 42, bl)), [
5005
5011
  [
@@ -5008,18 +5014,18 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5008
5014
  void 0,
5009
5015
  { number: !0 }
5010
5016
  ]
5011
- ]) : O.value === "date" ? Se((b(), w("input", {
5017
+ ]) : O.value === "date" ? Se((x(), w("input", {
5012
5018
  key: 3,
5013
5019
  ref_key: "inputRef",
5014
5020
  ref: i,
5015
5021
  "onUpdate:modelValue": R[2] || (R[2] = (W) => a.value = W),
5016
5022
  type: "date",
5017
5023
  class: F(["w-full rounded-md border px-3 py-2 text-sm outline-none border-gray-300", g.value.ring, g.value.border]),
5018
- placeholder: y.value,
5024
+ placeholder: b.value,
5019
5025
  onChange: ne
5020
5026
  }, null, 42, xl)), [
5021
5027
  [It, a.value]
5022
- ]) : O.value === "select" ? Se((b(), w("select", {
5028
+ ]) : O.value === "select" ? Se((x(), w("select", {
5023
5029
  key: 4,
5024
5030
  ref_key: "inputRef",
5025
5031
  ref: i,
@@ -5027,15 +5033,15 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5027
5033
  class: F(["w-full rounded-md border px-3 py-2 text-sm outline-none bg-white border-gray-300", g.value.ring, g.value.border])
5028
5034
  }, [
5029
5035
  d("option", wl, T(B.value), 1),
5030
- (b(!0), w(re, null, Oe(X.value, (W) => (b(), w("option", {
5036
+ (x(!0), w(re, null, Oe(X.value, (W) => (x(), w("option", {
5031
5037
  key: W.value.toString(),
5032
5038
  value: W.value
5033
5039
  }, T(W.label), 9, kl))), 128))
5034
5040
  ], 2)), [
5035
- [Rr, a.value]
5041
+ [Mr, a.value]
5036
5042
  ]) : J("", !0)
5037
5043
  ]),
5038
- C.value ? (b(), w("p", El, T(C.value), 1)) : J("", !0),
5044
+ C.value ? (x(), w("p", El, T(C.value), 1)) : J("", !0),
5039
5045
  d("div", Sl, [
5040
5046
  d("button", {
5041
5047
  type: "button",
@@ -5053,19 +5059,19 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5053
5059
  ], 64))
5054
5060
  ], 2));
5055
5061
  }
5056
- }), _s = typeof window < "u", Er = typeof document < "u", Nl = () => {
5057
- if (!Er)
5062
+ }), Ns = typeof window < "u", Sr = typeof document < "u", Nl = () => {
5063
+ if (!Sr)
5058
5064
  throw new Error("Tooltip requires document to be defined");
5059
5065
  const e = document.createElement("div");
5060
5066
  return e.className = "fixed z-[9999] w-56 p-2 bg-gray-900 text-white text-xs rounded-lg shadow-lg pointer-events-none transition-opacity duration-200", e.style.opacity = "0", e.style.visibility = "hidden", document.body.appendChild(e), e;
5061
- }, Ns = (e, t) => {
5062
- if (!Er || !_s)
5067
+ }, Cs = (e, t) => {
5068
+ if (!Sr || !Ns)
5063
5069
  return;
5064
5070
  const n = Nl(), s = {
5065
5071
  text: t,
5066
5072
  tooltipEl: n,
5067
5073
  show: (r) => {
5068
- if (!s.text || !_s)
5074
+ if (!s.text || !Ns)
5069
5075
  return;
5070
5076
  n.textContent = s.text;
5071
5077
  const i = r.currentTarget.getBoundingClientRect(), o = window.innerWidth - n.offsetWidth - 12, a = Math.max(12, Math.min(i.left, o));
@@ -5076,26 +5082,26 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5076
5082
  }
5077
5083
  };
5078
5084
  e.addEventListener("mouseenter", s.show), e.addEventListener("mouseleave", s.hide), e.addEventListener("focus", s.show), e.addEventListener("blur", s.hide), e.tooltipHandlers = s;
5079
- }, Cs = (e) => {
5085
+ }, Ts = (e) => {
5080
5086
  e.tooltipHandlers && (e.removeEventListener("mouseenter", e.tooltipHandlers.show), e.removeEventListener("mouseleave", e.tooltipHandlers.hide), e.removeEventListener("focus", e.tooltipHandlers.show), e.removeEventListener("blur", e.tooltipHandlers.hide), e.tooltipHandlers.tooltipEl.remove(), delete e.tooltipHandlers);
5081
5087
  }, Cl = {
5082
5088
  mounted(e, t) {
5083
- t.value && Ns(e, t.value);
5089
+ t.value && Cs(e, t.value);
5084
5090
  },
5085
5091
  updated(e, t) {
5086
5092
  const n = e;
5087
5093
  if (!t.value) {
5088
- Cs(n);
5094
+ Ts(n);
5089
5095
  return;
5090
5096
  }
5091
5097
  if (!n.tooltipHandlers) {
5092
- Ns(n, t.value);
5098
+ Cs(n, t.value);
5093
5099
  return;
5094
5100
  }
5095
5101
  n.tooltipHandlers.text = t.value;
5096
5102
  },
5097
5103
  unmounted(e) {
5098
- Cs(e);
5104
+ Ts(e);
5099
5105
  }
5100
5106
  }, Tl = {
5101
5107
  key: 0,
@@ -5112,7 +5118,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5112
5118
  }, Pl = ["onClick"], Fl = ["checked", "onChange"], Bl = ["onClick"], jl = {
5113
5119
  key: 1,
5114
5120
  class: "text-center"
5115
- }, Ul = ["colspan"], Ts = /* @__PURE__ */ oe({
5121
+ }, Ul = ["colspan"], Os = /* @__PURE__ */ oe({
5116
5122
  name: "DataTable",
5117
5123
  __name: "DataTable",
5118
5124
  props: {
@@ -5151,7 +5157,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5151
5157
  const n = e, s = Cl, r = t, i = L(n.selectedRows || []), o = L(n.defaultSort.map((f) => ({
5152
5158
  field: f.name,
5153
5159
  direction: f.asc ? "asc" : "desc"
5154
- }))), a = L([]), l = L([]), c = L(!1), m = L(null), u = L(n.router), p = $s(), h = M(() => p.action);
5160
+ }))), a = L([]), l = L([]), c = L(!1), m = L(null), u = L(n.router), p = Vs(), h = M(() => p.action);
5155
5161
  function k(f) {
5156
5162
  if (u.value) {
5157
5163
  u.value.push(f);
@@ -5159,7 +5165,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5159
5165
  }
5160
5166
  location.href = f;
5161
5167
  }
5162
- const y = M(() => {
5168
+ const b = M(() => {
5163
5169
  if (n.api)
5164
5170
  return a.value;
5165
5171
  if (n.sortable && o.value.length > 0) {
@@ -5168,11 +5174,11 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5168
5174
  for (const U of o.value) {
5169
5175
  if (!U.direction)
5170
5176
  return 0;
5171
- const x = S[U.field], z = v[U.field];
5172
- if (x == null) return 1;
5177
+ const y = S[U.field], z = v[U.field];
5178
+ if (y == null) return 1;
5173
5179
  if (z == null) return -1;
5174
5180
  let he = 0;
5175
- typeof x == "string" && typeof z == "string" ? he = x.localeCompare(z) : x < z ? he = -1 : x > z ? he = 1 : he = 0;
5181
+ typeof y == "string" && typeof z == "string" ? he = y.localeCompare(z) : y < z ? he = -1 : y > z ? he = 1 : he = 0;
5176
5182
  const Ze = U.direction === "desc" ? -he : he;
5177
5183
  if (Ze !== 0) return Ze;
5178
5184
  }
@@ -5181,33 +5187,33 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5181
5187
  }
5182
5188
  return n.rows;
5183
5189
  });
5184
- De(() => n.selectedRows, (f) => {
5190
+ Ae(() => n.selectedRows, (f) => {
5185
5191
  i.value = f || [];
5186
5192
  });
5187
5193
  const I = (f) => i.value.some((S) => S === f), C = (f) => {
5188
5194
  const S = i.value.findIndex((v) => v === f);
5189
5195
  S > -1 ? i.value.splice(S, 1) : i.value.push(f), r("update:selectedRows", [...i.value]);
5190
- }, B = M(() => y.value.length > 0 && i.value.length === y.value.length), O = M(() => i.value.length > 0 && i.value.length < y.value.length), X = () => {
5191
- B.value ? i.value = [] : i.value = [...y.value], r("update:selectedRows", [...i.value]);
5196
+ }, B = M(() => b.value.length > 0 && i.value.length === b.value.length), O = M(() => i.value.length > 0 && i.value.length < b.value.length), X = () => {
5197
+ B.value ? i.value = [] : i.value = [...b.value], r("update:selectedRows", [...i.value]);
5192
5198
  }, K = (f, S) => {
5193
5199
  if (!n.sortable) return;
5194
5200
  if (S?.ctrlKey || S?.metaKey) {
5195
- const x = o.value.findIndex((z) => z.field === f);
5196
- if (x >= 0) {
5197
- const z = o.value[x];
5198
- z.direction === "asc" ? z.direction = "desc" : z.direction === "desc" && o.value.splice(x, 1);
5201
+ const y = o.value.findIndex((z) => z.field === f);
5202
+ if (y >= 0) {
5203
+ const z = o.value[y];
5204
+ z.direction === "asc" ? z.direction = "desc" : z.direction === "desc" && o.value.splice(y, 1);
5199
5205
  } else
5200
5206
  o.value.unshift({
5201
5207
  field: f,
5202
5208
  direction: "asc"
5203
5209
  });
5204
5210
  } else {
5205
- const x = o.value.find((z) => z.field === f);
5206
- x ? x.direction === "asc" ? x.direction = "desc" : x.direction === "desc" && (o.value = []) : o.value = [{ field: f, direction: "asc" }];
5211
+ const y = o.value.find((z) => z.field === f);
5212
+ y ? y.direction === "asc" ? y.direction = "desc" : y.direction === "desc" && (o.value = []) : o.value = [{ field: f, direction: "asc" }];
5207
5213
  }
5208
- const U = o.value.filter((x) => x.direction).map((x) => ({
5209
- name: x.field,
5210
- asc: x.direction === "asc"
5214
+ const U = o.value.filter((y) => y.direction).map((y) => ({
5215
+ name: y.field,
5216
+ asc: y.direction === "asc"
5211
5217
  }));
5212
5218
  r("sort", U), n.api && kt();
5213
5219
  }, ce = (f) => o.value.find((v) => v.field === f)?.direction === "asc", ne = (f) => {
@@ -5231,17 +5237,17 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5231
5237
  if (n.getCellData || f.getCellData) {
5232
5238
  const U = f.getCellData || n.getCellData;
5233
5239
  if (U) {
5234
- const x = {
5240
+ const y = {
5235
5241
  name: f.name,
5236
5242
  row: S,
5237
5243
  value: v
5238
5244
  };
5239
- return U(x);
5245
+ return U(y);
5240
5246
  }
5241
5247
  }
5242
5248
  return ["_data", "_text"].map((U) => {
5243
- const x = `${f.name}${U}`;
5244
- return S[x] ? S[x] : null;
5249
+ const y = `${f.name}${U}`;
5250
+ return S[y] ? S[y] : null;
5245
5251
  }).find((U) => U) || (f.link ? v || "-" : v);
5246
5252
  }, j = (f) => {
5247
5253
  const S = (v) => v == null || v === "" ? "" : typeof v == "object" ? v?.text ? String(v.text) : v?.label ? String(v.label) : JSON.stringify(v) : String(v);
@@ -5252,7 +5258,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5252
5258
  const v = V(S, f);
5253
5259
  if (v != null)
5254
5260
  return j(v);
5255
- }, g = (f) => f.width ? f.width === "w-full" ? "w-full" : typeof f.width == "string" ? `w-[${f.width}px] max-w-[${f.width}px] min-w-[${f.width}px]` : typeof f.width == "number" ? `w-[${f.width}px] max-w-[${f.width}px] min-w-[${f.width}px]` : "" : "max-w-[350px]", _ = (f) => (typeof f?.overflow == "string" ? f.overflow.toLowerCase() : "") === "wrap" ? "wrap" : "clip", D = (f) => _(f) === "wrap" ? ["whitespace-normal", "break-words"] : ["truncate", "whitespace-nowrap"], A = L(n.page), R = L(n.limit), W = L(n.total), Ve = L(1), fe = L(10), me = L(0), Re = M(() => n.api ? Ve.value : A.value), at = M(() => n.api ? fe.value : R.value), Gn = M(() => n.api ? me.value : W.value), pe = M(() => {
5261
+ }, g = (f) => f.width ? f.width === "w-full" ? "w-full" : typeof f.width == "string" ? `w-[${f.width}px] max-w-[${f.width}px] min-w-[${f.width}px]` : typeof f.width == "number" ? `w-[${f.width}px] max-w-[${f.width}px] min-w-[${f.width}px]` : "" : "max-w-[350px]", _ = (f) => (typeof f?.overflow == "string" ? f.overflow.toLowerCase() : "") === "wrap" ? "wrap" : "clip", D = (f) => _(f) === "wrap" ? ["whitespace-normal", "break-words"] : ["truncate", "whitespace-nowrap"], A = L(n.page), R = L(n.limit), W = L(n.total), Re = L(1), fe = L(10), me = L(0), Me = M(() => n.api ? Re.value : A.value), at = M(() => n.api ? fe.value : R.value), Gn = M(() => n.api ? me.value : W.value), pe = M(() => {
5256
5262
  const { theme: f } = n;
5257
5263
  return f === "dark" ? {
5258
5264
  container: "dark",
@@ -5292,11 +5298,11 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5292
5298
  checkbox: "border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-blue-600 dark:text-blue-400"
5293
5299
  };
5294
5300
  });
5295
- De(() => n.page, (f) => {
5301
+ Ae(() => n.page, (f) => {
5296
5302
  A.value = f;
5297
- }), De(() => n.limit, (f) => {
5303
+ }), Ae(() => n.limit, (f) => {
5298
5304
  R.value = f;
5299
- }), De(() => n.total, (f) => {
5305
+ }), Ae(() => n.total, (f) => {
5300
5306
  W.value = f;
5301
5307
  });
5302
5308
  async function kt() {
@@ -5304,8 +5310,8 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5304
5310
  c.value = !0, m.value = null;
5305
5311
  try {
5306
5312
  const f = new URL(n.api, window.location.origin);
5307
- if (f.searchParams.set("page", Re.value.toString()), f.searchParams.set("limit", at.value.toString()), o.value.length > 0) {
5308
- const U = o.value.filter((x) => x.direction).map((x) => `${x.field}:${x.direction}`).join(",");
5313
+ if (f.searchParams.set("page", Me.value.toString()), f.searchParams.set("limit", at.value.toString()), o.value.length > 0) {
5314
+ const U = o.value.filter((y) => y.direction).map((y) => `${y.field}:${y.direction}`).join(",");
5309
5315
  U && f.searchParams.set("sort", U);
5310
5316
  }
5311
5317
  const S = await fetch(f.toString());
@@ -5320,9 +5326,9 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5320
5326
  }
5321
5327
  }
5322
5328
  }
5323
- const Sr = (f) => {
5324
- n.api ? Ve.value = f : (A.value = f, r("update:page", f)), n.api && kt();
5325
- }, _r = M(() => n.showPagination && Gn.value > 0), lt = M(() => ({
5329
+ const _r = (f) => {
5330
+ n.api ? Re.value = f : (A.value = f, r("update:page", f)), n.api && kt();
5331
+ }, Nr = M(() => n.showPagination && Gn.value > 0), lt = M(() => ({
5326
5332
  small: {
5327
5333
  header: "px-3 py-2 text-xs",
5328
5334
  cell: "px-3 py-2 text-xs"
@@ -5335,27 +5341,27 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5335
5341
  header: "px-8 py-4 text-sm",
5336
5342
  cell: "px-8 py-6 text-base"
5337
5343
  }
5338
- })[n.size]), Nr = (f) => {
5344
+ })[n.size]), Cr = (f) => {
5339
5345
  const S = [];
5340
5346
  return n.classTd ? S.push(n.classTd) : S.push(
5341
5347
  pe.value.td,
5342
5348
  lt.value.cell
5343
5349
  ), f.align && S.push(`text-${f.align}`), g(f) && S.push(g(f)), S.push(...D(f)), S.filter(Boolean);
5344
- }, Cr = Kt(), Jn = Gt();
5350
+ }, Tr = Kt(), Jn = Gt();
5345
5351
  tt(() => {
5346
- n.api && (n.page && (Ve.value = n.page), n.limit && (fe.value = n.limit), n.total && (me.value = n.total), kt());
5347
- }), De(() => n.api, (f) => {
5348
- f && (Ve.value = n.page || 1, fe.value = n.limit || 10, me.value = n.total || 0, kt());
5352
+ n.api && (n.page && (Re.value = n.page), n.limit && (fe.value = n.limit), n.total && (me.value = n.total), kt());
5353
+ }), Ae(() => n.api, (f) => {
5354
+ f && (Re.value = n.page || 1, fe.value = n.limit || 10, me.value = n.total || 0, kt());
5349
5355
  });
5350
5356
  const Yn = M(() => n.api ? l.value : n.columns), Zt = L([]), Et = L({});
5351
- Mr("registerColumn", (f, S) => {
5357
+ Lr("registerColumn", (f, S) => {
5352
5358
  Zt.value.push(f), S && f.slotName && (Et.value[f.name] = S);
5353
5359
  });
5354
5360
  const Qt = M(() => {
5355
5361
  const f = Yn.value || [], S = [], v = p.default?.();
5356
5362
  if (v) {
5357
- const U = v.filter((x) => x.type?.name === "Column" || x.type === "Column" || x.type && typeof x.type == "object" && x.type.name === "Column").map((x) => {
5358
- const z = x.props || x.componentProps || {}, he = z.field || z.name || "", Ze = z.header || z.label || "", Qn = x.children && x.children.body, tn = {
5363
+ const U = v.filter((y) => y.type?.name === "Column" || y.type === "Column" || y.type && typeof y.type == "object" && y.type.name === "Column").map((y) => {
5364
+ const z = y.props || y.componentProps || {}, he = z.field || z.name || "", Ze = z.header || z.label || "", Qn = y.children && y.children.body, tn = {
5359
5365
  name: he,
5360
5366
  // Use field as the name for data access
5361
5367
  ua: Ze,
@@ -5364,14 +5370,14 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5364
5370
  slotName: Qn ? "body" : void 0,
5365
5371
  ...z
5366
5372
  };
5367
- return Qn && tn.name && (Et.value[tn.name] = x.children.body), tn;
5373
+ return Qn && tn.name && (Et.value[tn.name] = y.children.body), tn;
5368
5374
  });
5369
5375
  S.push(...U);
5370
5376
  }
5371
5377
  if (Zt.value.length > 0 && S.push(...Zt.value), S.length > 0) {
5372
- const U = [], x = new Set(S.map((z) => z.name));
5378
+ const U = [], y = new Set(S.map((z) => z.name));
5373
5379
  return f.forEach((z) => {
5374
- x.has(z.name) || U.push(z);
5380
+ y.has(z.name) || U.push(z);
5375
5381
  }), U.push(...S), console.log("Combined columns:", {
5376
5382
  default: f.length,
5377
5383
  custom: S.length,
@@ -5379,8 +5385,8 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5379
5385
  }), U;
5380
5386
  }
5381
5387
  return f.length > 0 ? f : [];
5382
- }), Tr = (f = "text") => es[f.toLowerCase()] || es.text, qe = L({});
5383
- async function Or(f) {
5388
+ }), Or = (f = "text") => ts[f.toLowerCase()] || ts.text, qe = L({});
5389
+ async function Ir(f) {
5384
5390
  const { data: S, api: v } = Qt.value.find((U) => U.name === f);
5385
5391
  if (qe.value[f]) return qe.value[f];
5386
5392
  if (S || v) {
@@ -5392,45 +5398,45 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5392
5398
  }
5393
5399
  return qe.value[f];
5394
5400
  }
5395
- function Ir(f, S, v, U) {
5396
- const x = U;
5397
- x !== -1 && (n.rows[x] = { ...n.rows[x], [S]: v }), r("cell-update", f, S, v);
5401
+ function Dr(f, S, v, U) {
5402
+ const y = U;
5403
+ y !== -1 && (n.rows[y] = { ...n.rows[y], [S]: v }), r("cell-update", f, S, v);
5398
5404
  }
5399
5405
  function Xn(f) {
5400
- return Rs(f, Jn.value);
5406
+ return Ms(f, Jn.value);
5401
5407
  }
5402
- function Dr(f) {
5408
+ function Ar(f) {
5403
5409
  return Wt(f, Jn.value);
5404
5410
  }
5405
5411
  const en = L(null), Zn = L({ top: "0px", left: "0px" });
5406
- function Ar(f, S) {
5412
+ function $r(f, S) {
5407
5413
  const v = f.currentTarget.getBoundingClientRect();
5408
5414
  en.value = S, Zn.value = {
5409
5415
  top: `${v.bottom + 4}px`,
5410
5416
  left: `${Math.min(v.left, window.innerWidth - 230)}px`
5411
5417
  };
5412
5418
  }
5413
- function $r() {
5419
+ function Vr() {
5414
5420
  en.value = null;
5415
5421
  }
5416
- return De(() => n.form, async (f) => {
5422
+ return Ae(() => n.form, async (f) => {
5417
5423
  f && (qe.value = {});
5418
5424
  }), tt(() => {
5419
5425
  n.form && (qe.value = {});
5420
- }), (f, S) => (b(), w("div", {
5426
+ }), (f, S) => (x(), w("div", {
5421
5427
  class: F(["w-full", pe.value.container])
5422
5428
  }, [
5423
- c.value || n.loading ? (b(), w("div", Tl, [
5429
+ c.value || n.loading ? (x(), w("div", Tl, [
5424
5430
  d("div", Ol, [
5425
5431
  S[0] || (S[0] = d("div", { class: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-600" }, null, -1)),
5426
5432
  d("span", {
5427
5433
  class: F(pe.value.loading)
5428
5434
  }, "Loading...", 2)
5429
5435
  ])
5430
- ])) : m.value ? (b(), w("div", {
5436
+ ])) : m.value ? (x(), w("div", {
5431
5437
  key: 1,
5432
5438
  class: F(["text-center py-8", pe.value.error])
5433
- }, T(m.value), 3)) : n.loading ? J("", !0) : (b(), w("div", Il, [
5439
+ }, T(m.value), 3)) : n.loading ? J("", !0) : (x(), w("div", Il, [
5434
5440
  d("div", {
5435
5441
  class: F(f.classWrapper ? f.classWrapper : "relative w-full overflow-auto")
5436
5442
  }, [
@@ -5442,7 +5448,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5442
5448
  class: F(f.classThead || pe.value.thead)
5443
5449
  }, [
5444
5450
  d("tr", null, [
5445
- f.selectable ? (b(), w("th", {
5451
+ f.selectable ? (x(), w("th", {
5446
5452
  key: 0,
5447
5453
  class: F(["text-left font-medium uppercase tracking-wider", pe.value.th, lt.value.header, n.classTh, "w-12"])
5448
5454
  }, [
@@ -5454,7 +5460,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5454
5460
  class: F(["h-4 w-4 focus:ring-blue-500 rounded", pe.value.checkbox])
5455
5461
  }, null, 42, Dl)
5456
5462
  ], 2)) : J("", !0),
5457
- (b(!0), w(re, null, Oe(Qt.value.filter((v) => !v.hidden), (v) => (b(), w("th", {
5463
+ (x(!0), w(re, null, Oe(Qt.value.filter((v) => !v.hidden), (v) => (x(), w("th", {
5458
5464
  key: v.name,
5459
5465
  class: F([
5460
5466
  v.align ? `text-${v.align}` : "",
@@ -5471,9 +5477,9 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5471
5477
  }, [
5472
5478
  d("div", $l, [
5473
5479
  d("div", Vl, [
5474
- d("span", null, T(Dr(v)), 1),
5475
- Xn(v) ? (b(), w("div", Rl, [
5476
- (b(), w("svg", {
5480
+ d("span", null, T(Ar(v)), 1),
5481
+ Xn(v) ? (x(), w("div", Rl, [
5482
+ (x(), w("svg", {
5477
5483
  xmlns: "http://www.w3.org/2000/svg",
5478
5484
  width: "14",
5479
5485
  height: "14",
@@ -5484,8 +5490,8 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5484
5490
  "stroke-linecap": "round",
5485
5491
  "stroke-linejoin": "round",
5486
5492
  class: "text-gray-400 cursor-help",
5487
- onMouseenter: (U) => Ar(U, v.name),
5488
- onMouseleave: $r
5493
+ onMouseenter: (U) => $r(U, v.name),
5494
+ onMouseleave: Vr
5489
5495
  }, S[1] || (S[1] = [
5490
5496
  d("circle", {
5491
5497
  cx: "12",
@@ -5495,8 +5501,8 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5495
5501
  d("path", { d: "M12 16v-4" }, null, -1),
5496
5502
  d("path", { d: "M12 8h.01" }, null, -1)
5497
5503
  ]), 40, Ml)),
5498
- (b(), Ce(dt, { to: "body" }, [
5499
- en.value === v.name ? (b(), w("div", {
5504
+ (x(), Ce(dt, { to: "body" }, [
5505
+ en.value === v.name ? (x(), w("div", {
5500
5506
  key: 0,
5501
5507
  style: ft(Zn.value),
5502
5508
  class: "fixed z-[9999] w-56 p-2 bg-gray-900 text-white text-xs rounded-lg shadow-lg pointer-events-none transition-opacity duration-200"
@@ -5504,8 +5510,8 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5504
5510
  ]))
5505
5511
  ])) : J("", !0)
5506
5512
  ]),
5507
- $(v) ? (b(), w("span", Ll, [
5508
- Le(f.$slots, "sort", {
5513
+ $(v) ? (x(), w("span", Ll, [
5514
+ De(f.$slots, "sort", {
5509
5515
  asc: ce(v.name)
5510
5516
  }, () => [
5511
5517
  _e(T(ne(v.name)), 1)
@@ -5513,122 +5519,127 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5513
5519
  ])) : J("", !0)
5514
5520
  ])
5515
5521
  ], 10, Al))), 128)),
5516
- h.value ? (b(), w("th", {
5522
+ h.value ? (x(), w("th", {
5517
5523
  key: 1,
5518
5524
  class: F(["w-[100px]", n.classTh || [
5519
5525
  "text-left font-medium uppercase tracking-wider",
5520
5526
  pe.value.th,
5521
5527
  lt.value.header
5522
5528
  ]])
5523
- }, T(G(Cr)("table.actions")), 3)) : J("", !0)
5529
+ }, T(G(Tr)("table.actions")), 3)) : J("", !0)
5524
5530
  ])
5525
5531
  ], 2),
5526
- y.value.length ? (b(), w("tbody", {
5532
+ b.value.length ? (x(), w("tbody", {
5527
5533
  key: 0,
5528
5534
  class: F(f.classTbody || pe.value.tbody)
5529
5535
  }, [
5530
- (b(!0), w(re, null, Oe(y.value, (v, U) => (b(), w(re, { key: U }, [
5536
+ (x(!0), w(re, null, Oe(b.value, (v, U) => (x(), w(re, { key: U }, [
5531
5537
  d("tr", {
5532
5538
  class: F(n.classTr || [
5533
5539
  pe.value.tr,
5534
5540
  n.clickable ? "cursor-pointer" : ""
5535
5541
  ]),
5536
- onClick: (x) => n.clickable ? N(v) : void 0
5542
+ onClick: (y) => n.clickable ? N(v) : void 0
5537
5543
  }, [
5538
- f.selectable ? (b(), w("td", {
5544
+ f.selectable ? (x(), w("td", {
5539
5545
  key: 0,
5540
5546
  class: F(["whitespace-nowrap", pe.value.td, lt.value.cell, n.classTd, "w-12"])
5541
5547
  }, [
5542
5548
  d("input", {
5543
5549
  type: "checkbox",
5544
5550
  checked: I(v),
5545
- onChange: (x) => C(v),
5551
+ onChange: (y) => C(v),
5546
5552
  class: F(["h-4 w-4 focus:ring-blue-500 rounded", pe.value.checkbox])
5547
5553
  }, null, 42, Fl)
5548
5554
  ], 2)) : J("", !0),
5549
- (b(!0), w(re, null, Oe(Qt.value.filter((x) => !x.hidden), (x) => Se((b(), w("td", {
5550
- key: x.name,
5551
- class: F(Nr(x))
5555
+ (x(!0), w(re, null, Oe(Qt.value.filter((y) => !y.hidden), (y) => Se((x(), w("td", {
5556
+ key: y.name,
5557
+ class: F(Cr(y))
5552
5558
  }, [
5553
- (b(), Ce(_l, {
5559
+ (x(), Ce(_l, {
5554
5560
  "class-content": n.classContent,
5555
5561
  key: v,
5556
- editable: x.edit,
5562
+ editable: y.edit,
5557
5563
  row: v,
5558
- column: x,
5559
- value: v[x.name],
5560
- format: x.format,
5561
- options: qe.value[x.name] || [],
5564
+ column: y,
5565
+ value: v[y.name],
5566
+ format: y.format,
5567
+ options: qe.value[y.name] || [],
5562
5568
  color: f.color,
5563
- overflow: _(x),
5564
- onUpdate: (z, he, Ze) => Ir(z, he, Ze, U),
5565
- "fetch-options": Or
5569
+ overflow: _(y),
5570
+ onUpdate: (z, he, Ze) => Dr(z, he, Ze, U),
5571
+ "fetch-options": Ir
5566
5572
  }, {
5567
- default: Lr(() => [
5568
- x.action && h.value ? Le(f.$slots, "action", {
5573
+ default: Pr(() => [
5574
+ y.action && h.value ? De(f.$slots, "action", {
5569
5575
  key: 0,
5570
5576
  row: v
5571
- }) : G(p).number && x.format === "number" ? Le(f.$slots, "number", {
5577
+ }) : G(p).number && y.format === "number" ? De(f.$slots, "number", {
5572
5578
  key: 1,
5573
5579
  row: v,
5574
- value: V(x, v)
5575
- }) : G(p).badge && x.format === "badge" ? Le(f.$slots, "badge", {
5580
+ value: V(y, v)
5581
+ }) : G(p).badge && y.format === "badge" ? De(f.$slots, "badge", {
5576
5582
  key: 2,
5577
5583
  row: v,
5578
- value: V(x, v)
5579
- }) : G(p).array && x.format === "array" ? Le(f.$slots, "array", {
5584
+ value: V(y, v)
5585
+ }) : G(p).array && y.format === "array" ? De(f.$slots, "array", {
5580
5586
  key: 3,
5581
5587
  row: v,
5582
- value: V(x, v)
5583
- }) : x.slotName && Et.value[x.name] ? (b(), Ce(St(Et.value[x.name]), {
5588
+ value: V(y, v)
5589
+ }) : G(p)[y.format] ? De(f.$slots, y.format, {
5584
5590
  key: 4,
5585
- data: v,
5586
- value: V(x, v),
5587
5591
  row: v,
5588
- column: x
5589
- }, null, 8, ["data", "value", "row", "column"])) : x.link ? (b(), w("a", {
5592
+ value: V(y, v),
5593
+ column: y
5594
+ }) : y.slotName && Et.value[y.name] ? (x(), Ce(St(Et.value[y.name]), {
5590
5595
  key: 5,
5596
+ data: v,
5597
+ value: V(y, v),
5598
+ row: v,
5599
+ column: y
5600
+ }, null, 8, ["data", "value", "row", "column"])) : y.link ? (x(), w("a", {
5601
+ key: 6,
5591
5602
  class: F(f.classLink || "hover:text-blue-900 cursor-pointer text-blue-700 hover:underline"),
5592
- onClick: (z) => k(x.link.replace("{id}", v.id))
5603
+ onClick: (z) => k(y.link.replace("{id}", v.id))
5593
5604
  }, [
5594
- x.slot && typeof x.slot == "string" ? (b(), Ce(St(G(Ss)(x.slot)), {
5605
+ y.slot && typeof y.slot == "string" ? (x(), Ce(St(G(_s)(y.slot)), {
5595
5606
  key: 0,
5596
5607
  row: v,
5597
5608
  value: v,
5598
5609
  data: v,
5599
- column: x
5600
- }, null, 8, ["row", "value", "data", "column"])) : (b(), w(re, { key: 1 }, [
5601
- _e(T(V(x, v)), 1)
5610
+ column: y
5611
+ }, null, 8, ["row", "value", "data", "column"])) : (x(), w(re, { key: 1 }, [
5612
+ _e(T(V(y, v)), 1)
5602
5613
  ], 64))
5603
- ], 10, Bl)) : x.slot && x.format === "slot" && typeof x.slot == "string" ? (b(), Ce(St(G(Ss)(x.slot)), {
5604
- key: 6,
5614
+ ], 10, Bl)) : y.slot && y.format === "slot" && typeof y.slot == "string" ? (x(), Ce(St(G(_s)(y.slot)), {
5615
+ key: 7,
5605
5616
  row: v,
5606
- value: V(x, v),
5617
+ value: V(y, v),
5607
5618
  data: v,
5608
- column: x
5609
- }, null, 8, ["row", "value", "data", "column"])) : (b(), Ce(St(Tr(x.format)), {
5610
- key: 7,
5611
- value: V(x, v),
5619
+ column: y
5620
+ }, null, 8, ["row", "value", "data", "column"])) : (x(), Ce(St(Or(y.format)), {
5621
+ key: 8,
5622
+ value: V(y, v),
5612
5623
  row: v,
5613
- column: x,
5614
- href: x.link
5624
+ column: y,
5625
+ href: y.link
5615
5626
  }, null, 8, ["value", "row", "column", "href"]))
5616
5627
  ]),
5617
5628
  _: 2
5618
5629
  }, 1032, ["class-content", "editable", "row", "column", "value", "format", "options", "color", "overflow", "onUpdate"]))
5619
5630
  ], 2)), [
5620
- [G(s), E(v, x)]
5631
+ [G(s), E(v, y)]
5621
5632
  ])), 128)),
5622
- h.value ? (b(), w("td", jl, [
5623
- Le(f.$slots, "action", { row: v })
5633
+ h.value ? (x(), w("td", jl, [
5634
+ De(f.$slots, "action", { row: v })
5624
5635
  ])) : J("", !0)
5625
5636
  ], 10, Pl),
5626
5637
  d("tr", null, [
5627
- Le(f.$slots, "under-row", { row: v })
5638
+ De(f.$slots, "under-row", { row: v })
5628
5639
  ])
5629
5640
  ], 64))), 128))
5630
5641
  ], 2)) : J("", !0),
5631
- y.value.length === 0 ? (b(), w("tbody", {
5642
+ b.value.length === 0 ? (x(), w("tbody", {
5632
5643
  key: 1,
5633
5644
  class: F(["text-center py-8", pe.value.empty])
5634
5645
  }, [
@@ -5636,21 +5647,21 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5636
5647
  d("td", {
5637
5648
  colspan: Yn.value.length
5638
5649
  }, [
5639
- Pr(el)
5650
+ Fr(el)
5640
5651
  ], 8, Ul)
5641
5652
  ])
5642
5653
  ], 2)) : J("", !0)
5643
5654
  ], 6)
5644
5655
  ], 2)
5645
5656
  ])),
5646
- _r.value && !c.value && !n.loading && !m.value ? (b(), Ce(Ms, {
5657
+ Nr.value && !c.value && !n.loading && !m.value ? (x(), Ce(Ls, {
5647
5658
  key: 3,
5648
- page: Re.value,
5659
+ page: Me.value,
5649
5660
  limit: at.value,
5650
5661
  total: Gn.value,
5651
5662
  theme: n.theme,
5652
5663
  size: n.size,
5653
- "onUpdate:page": Sr
5664
+ "onUpdate:page": _r
5654
5665
  }, null, 8, ["page", "limit", "total", "theme", "size"])) : J("", !0)
5655
5666
  ], 2));
5656
5667
  }
@@ -5677,7 +5688,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5677
5688
  overflow: {}
5678
5689
  },
5679
5690
  setup(e) {
5680
- const t = e, n = $s(), s = Fr("registerColumn");
5691
+ const t = e, n = Vs(), s = Br("registerColumn");
5681
5692
  return tt(() => {
5682
5693
  if (s) {
5683
5694
  const {
@@ -5708,8 +5719,8 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5708
5719
  const O = n.body;
5709
5720
  s(B, O);
5710
5721
  }
5711
- }), (r, i) => (b(), w("div", Hl, [
5712
- Le(r.$slots, "body", { data: {} })
5722
+ }), (r, i) => (x(), w("div", Hl, [
5723
+ De(r.$slots, "body", { data: {} })
5713
5724
  ]));
5714
5725
  }
5715
5726
  }), ql = { class: "mt-4" }, Kl = { class: "text-sm text-gray-600 dark:text-gray-300" }, Wl = /* @__PURE__ */ oe({
@@ -5720,7 +5731,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5720
5731
  },
5721
5732
  setup(e) {
5722
5733
  const t = e, n = M(() => t.selectedRows.length);
5723
- return (s, r) => (b(), w("div", ql, [
5734
+ return (s, r) => (x(), w("div", ql, [
5724
5735
  d("div", Kl, " Обрано: " + T(n.value) + " з " + T(s.totalCount) + " записів ", 1)
5725
5736
  ]));
5726
5737
  }
@@ -5738,10 +5749,10 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5738
5749
  console.error("Помилка копіювання:", i);
5739
5750
  }
5740
5751
  };
5741
- return (r, i) => (b(), w("div", Gl, [
5752
+ return (r, i) => (x(), w("div", Gl, [
5742
5753
  d("div", Jl, [
5743
5754
  d("nav", Yl, [
5744
- (b(!0), w(re, null, Oe(r.tabs, (o) => (b(), w("button", {
5755
+ (x(!0), w(re, null, Oe(r.tabs, (o) => (x(), w("button", {
5745
5756
  key: o.id,
5746
5757
  onClick: (a) => n.value = o.id,
5747
5758
  class: F([
@@ -5752,7 +5763,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5752
5763
  ])
5753
5764
  ]),
5754
5765
  d("div", Zl, [
5755
- (b(!0), w(re, null, Oe(r.tabs, (o) => Se((b(), w("div", {
5766
+ (x(!0), w(re, null, Oe(r.tabs, (o) => Se((x(), w("div", {
5756
5767
  key: o.id
5757
5768
  }, [
5758
5769
  d("div", Ql, [
@@ -5783,7 +5794,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5783
5794
  ])
5784
5795
  ])
5785
5796
  ])), [
5786
- [Vs, n.value === o.id]
5797
+ [Rs, n.value === o.id]
5787
5798
  ])), 128))
5788
5799
  ])
5789
5800
  ]));
@@ -5833,11 +5844,11 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5833
5844
  columns: {}
5834
5845
  },
5835
5846
  setup(e) {
5836
- const t = Os(), n = Kt(), s = e, r = L(!1), i = L([]), o = L("json"), a = L(!1), l = L(!1), c = L(""), m = L(!1), u = L("all"), p = M(() => s.columns ?? []), h = Ds();
5847
+ const t = Is(), n = Kt(), s = e, r = L(!1), i = L([]), o = L("json"), a = L(!1), l = L(!1), c = L(""), m = L(!1), u = L("all"), p = M(() => s.columns ?? []), h = As();
5837
5848
  function k() {
5838
5849
  i.value = p.value.map((E) => E.name), o.value = "json", r.value = !0, m.value = !1;
5839
5850
  }
5840
- function y() {
5851
+ function b() {
5841
5852
  r.value = !1, m.value = !1;
5842
5853
  }
5843
5854
  function I() {
@@ -5867,12 +5878,12 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5867
5878
  });
5868
5879
  if (!g.ok) throw new Error("Export failed");
5869
5880
  if (g.headers.get("content-type")?.includes("text/event-stream")) {
5870
- if (y(), l.value = !0, m.value = !0, !await V(g, (A) => {
5881
+ if (b(), l.value = !0, m.value = !0, !await V(g, (A) => {
5871
5882
  c.value = A;
5872
5883
  })) throw new Error("Failed to process streamed export");
5873
5884
  c.value = n("table.preparingDownload"), await $(E), l.value = !1, m.value = !1;
5874
5885
  } else
5875
- await ne(g), y();
5886
+ await ne(g), b();
5876
5887
  } catch (g) {
5877
5888
  console.error(g);
5878
5889
  const { $notify: _ = console.log } = t?.appContext?.config?.globalProperties || {};
@@ -5913,8 +5924,8 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5913
5924
  const D = new TextDecoder();
5914
5925
  let A = "", R = !1;
5915
5926
  for (; ; ) {
5916
- const { value: W, done: Ve } = await _.read();
5917
- if (Ve) break;
5927
+ const { value: W, done: Re } = await _.read();
5928
+ if (Re) break;
5918
5929
  A += D.decode(W, { stream: !0 });
5919
5930
  let fe = A.indexOf(`
5920
5931
 
@@ -5943,7 +5954,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5943
5954
  return g && g(_), !!(A === "[done]" || A.startsWith("finish"));
5944
5955
  }
5945
5956
  }
5946
- return (E, g) => (b(), w(re, null, [
5957
+ return (E, g) => (x(), w(re, null, [
5947
5958
  d("button", {
5948
5959
  onClick: k,
5949
5960
  class: F([[G(h).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"])
@@ -5951,14 +5962,14 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5951
5962
  g[4] || (g[4] = kn('<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)),
5952
5963
  _e(" " + T(G(n)("table.export")), 1)
5953
5964
  ], 2),
5954
- (b(), Ce(dt, { to: "body" }, [
5955
- r.value ? (b(), w("div", ic, [
5965
+ (x(), Ce(dt, { to: "body" }, [
5966
+ r.value ? (x(), w("div", ic, [
5956
5967
  d("div", oc, [
5957
5968
  d("div", ac, [
5958
5969
  d("h3", lc, T(G(n)("table.exportTitle")), 1),
5959
5970
  d("button", {
5960
5971
  type: "button",
5961
- onClick: y,
5972
+ onClick: b,
5962
5973
  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"
5963
5974
  }, [
5964
5975
  d("span", cc, T(G(n)("table.close")), 1),
@@ -5989,7 +6000,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5989
6000
  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"
5990
6001
  }, [
5991
6002
  d("span", mc, [
5992
- u.value === "all" ? (b(), w("span", gc)) : J("", !0)
6003
+ u.value === "all" ? (x(), w("span", gc)) : J("", !0)
5993
6004
  ]),
5994
6005
  _e(" " + T(G(n)("table.selectAll")), 1)
5995
6006
  ]),
@@ -5998,7 +6009,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
5998
6009
  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"
5999
6010
  }, [
6000
6011
  d("span", vc, [
6001
- u.value === "active" ? (b(), w("span", yc)) : J("", !0)
6012
+ u.value === "active" ? (x(), w("span", yc)) : J("", !0)
6002
6013
  ]),
6003
6014
  _e(" " + T(G(n)("table.selectCurrent")), 1)
6004
6015
  ]),
@@ -6007,13 +6018,13 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
6007
6018
  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"
6008
6019
  }, [
6009
6020
  d("span", bc, [
6010
- u.value === "none" ? (b(), w("span", xc)) : J("", !0)
6021
+ u.value === "none" ? (x(), w("span", xc)) : J("", !0)
6011
6022
  ]),
6012
6023
  _e(" " + T(G(n)("table.none")), 1)
6013
6024
  ])
6014
6025
  ]),
6015
6026
  d("div", wc, [
6016
- (b(!0), w(re, null, Oe(p.value, (_) => (b(), w("div", {
6027
+ (x(!0), w(re, null, Oe(p.value, (_) => (x(), w("div", {
6017
6028
  class: "flex items-center",
6018
6029
  style: { width: "calc(50% - 5px)" },
6019
6030
  key: _.name
@@ -6027,7 +6038,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
6027
6038
  value: _.name,
6028
6039
  "onUpdate:modelValue": g[0] || (g[0] = (D) => i.value = D)
6029
6040
  }, null, 8, Sc), [
6030
- [Br, i.value]
6041
+ [jr, i.value]
6031
6042
  ]),
6032
6043
  d("label", {
6033
6044
  for: "radio-" + _.name,
@@ -6037,7 +6048,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
6037
6048
  class: "h-[16px] text-white w-[16px] flex items-center justify-center shrink-0 border rounded bg-white",
6038
6049
  style: ft(i.value.includes(_.name) ? "background-color: rgb(37,99,235); border-color: transparent;" : "")
6039
6050
  }, [
6040
- Se((b(), w("svg", Nc, g[6] || (g[6] = [
6051
+ Se((x(), w("svg", Nc, g[6] || (g[6] = [
6041
6052
  d("path", {
6042
6053
  stroke: "none",
6043
6054
  d: "M0 0h24v24H0z",
@@ -6045,7 +6056,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
6045
6056
  }, null, -1),
6046
6057
  d("path", { d: "M5 12l5 5l10 -10" }, null, -1)
6047
6058
  ]), 512)), [
6048
- [Vs, i.value.includes(_.name)]
6059
+ [Rs, i.value.includes(_.name)]
6049
6060
  ])
6050
6061
  ], 4),
6051
6062
  d("span", Cc, T(K(_)), 1)
@@ -6100,7 +6111,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
6100
6111
  ])
6101
6112
  ])
6102
6113
  ]),
6103
- l.value ? (b(), w("div", Lc, [
6114
+ l.value ? (x(), w("div", Lc, [
6104
6115
  d("div", Pc, [
6105
6116
  g[7] || (g[7] = d("svg", {
6106
6117
  class: "animate-spin h-4 w-4 text-blue-600",
@@ -6131,7 +6142,7 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
6131
6142
  d("div", Bc, [
6132
6143
  d("button", {
6133
6144
  type: "button",
6134
- onClick: y,
6145
+ onClick: b,
6135
6146
  class: "inline-flex items-center justify-center px-3 py-2 text-sm font-medium text-gray-800 align-middle bg-white border border-gray-200 rounded-lg shadow-sm text-nowrap text-start hover:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-700 dark:focus:bg-neutral-700"
6136
6147
  }, T(G(n)("table.cancel")), 1),
6137
6148
  d("button", {
@@ -6145,8 +6156,8 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
6145
6156
  ])
6146
6157
  ])) : J("", !0)
6147
6158
  ])),
6148
- (b(), Ce(dt, { to: "body" }, [
6149
- m.value ? (b(), w("div", Uc, [
6159
+ (x(), Ce(dt, { to: "body" }, [
6160
+ m.value ? (x(), w("div", Uc, [
6150
6161
  d("div", Hc, [
6151
6162
  g[8] || (g[8] = d("svg", {
6152
6163
  class: "mx-auto mb-4 h-8 w-8 animate-spin text-blue-600",
@@ -6176,8 +6187,8 @@ const Ya = { class: "py-10 flex flex-col justify-center items-center text-center
6176
6187
  ], 64));
6177
6188
  }
6178
6189
  });
6179
- Ts.install = function(t) {
6180
- t.component("DataTable", Ts), t.component("Column", zl), t.component("Pagination", Ms), t.component("SelectionInfo", Wl), t.component("CodeTabs", rc), t.component("ColumnsSettings", ni), t.component("Export", Kc);
6190
+ Os.install = function(t) {
6191
+ t.component("DataTable", Os), t.component("Column", zl), t.component("Pagination", Ls), t.component("SelectionInfo", Wl), t.component("CodeTabs", rc), t.component("ColumnsSettings", ni), t.component("Export", Kc);
6181
6192
  };
6182
6193
  export {
6183
6194
  ui as ArrayFormat,
@@ -6186,15 +6197,15 @@ export {
6186
6197
  rc as CodeTabs,
6187
6198
  zl as Column,
6188
6199
  ni as ColumnsSettings,
6189
- Ts as DataTable,
6200
+ Os as DataTable,
6190
6201
  ri as DateFormat,
6191
6202
  Kc as Export,
6192
6203
  gi as GeomFormat,
6193
6204
  si as NumberFormat,
6194
- Ms as Pagination,
6205
+ Ls as Pagination,
6195
6206
  di as SelectFormat,
6196
6207
  Wl as SelectionInfo,
6197
6208
  ii as TextFormat,
6198
- Ts as default,
6199
- es as formatComponents
6209
+ Os as default,
6210
+ ts as formatComponents
6200
6211
  };