@firstnoodle-ui/bui 0.0.77 → 0.0.78

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,12 +1,12 @@
1
1
  var Lt = Object.defineProperty;
2
2
  var yt = (n, t, e) => t in n ? Lt(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var I1 = (n, t, e) => yt(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { createElementBlock as i, openBlock as o, renderSlot as E, createElementVNode as d, defineComponent as $, toDisplayString as K, ref as y, watch as r1, computed as O, createBlock as V, createCommentVNode as k, normalizeClass as T, normalizeStyle as n1, createVNode as w, unref as p, withCtx as Z, resolveDynamicComponent as D1, provide as Ht, onMounted as a1, withModifiers as F, Fragment as M, renderList as m1, onBeforeMount as A1, toRef as Vt, onUnmounted as N1, onBeforeUnmount as T1, nextTick as V1, createStaticVNode as p1, Teleport as U1, withDirectives as W1, vShow as G1, Transition as ue, useSlots as R1, withKeys as _, createSlots as Re, vModelText as kt, reactive as Ee, mergeProps as wt, createTextVNode as Oe, resolveComponent as Mt, getCurrentInstance as Ie } from "vue";
5
- import { useRoute as J1, useRouter as pe, onBeforeRouteUpdate as xe } from "vue-router";
6
- import { size as Pe, autoUpdate as Zt, offset as $t, flip as Dt, shift as Ve, limitShift as Tt, computePosition as St } from "@floating-ui/dom";
4
+ import { createElementBlock as i, openBlock as o, renderSlot as E, createElementVNode as d, defineComponent as $, toDisplayString as K, ref as y, watch as r1, computed as O, createBlock as V, createCommentVNode as k, normalizeClass as T, normalizeStyle as n1, createVNode as w, unref as f, withCtx as Z, resolveDynamicComponent as D1, provide as Ht, onMounted as a1, withModifiers as F, Fragment as M, renderList as m1, onBeforeMount as A1, toRef as Vt, onUnmounted as N1, onBeforeUnmount as T1, nextTick as V1, createStaticVNode as f1, Teleport as U1, withDirectives as W1, vShow as G1, Transition as ue, useSlots as R1, withKeys as _, createSlots as Re, vModelText as kt, reactive as Ee, mergeProps as wt, createTextVNode as Oe, resolveComponent as Mt, getCurrentInstance as Ie } from "vue";
5
+ import { useRoute as J1, useRouter as fe, onBeforeRouteUpdate as xe } from "vue-router";
6
+ import { size as Pe, autoUpdate as Zt, offset as $t, flip as Dt, shift as Ve, limitShift as Tt, computePosition as Bt } from "@floating-ui/dom";
7
7
  import oe from "debounce";
8
8
  import { Extension as Fe } from "@tiptap/core";
9
- import { Plugin as Bt, PluginKey as zt } from "prosemirror-state";
9
+ import { Plugin as St, PluginKey as zt } from "prosemirror-state";
10
10
  import Ne from "@tiptap/extension-bold";
11
11
  import Ue from "@tiptap/extension-bullet-list";
12
12
  import We from "@tiptap/extension-document";
@@ -82,7 +82,7 @@ const rs = /* @__PURE__ */ Z1(Ot, [["render", xt]]), Pt = { class: "w-full space
82
82
  },
83
83
  emits: ["update:modelValue", "change"],
84
84
  setup(n, { emit: t }) {
85
- const e = n, l = t, s = y(), r = y(), a = y(), f = y(), h = y(null), m = y(null), C = y(e.modelValue), u = y(100), g = y(!1), c = y(0), b = y(0), v = y(1), L = y(1), D = y(0), A = y(0), H = y(0), S = y(0);
85
+ const e = n, l = t, s = y(), r = y(), a = y(), p = y(), h = y(null), m = y(null), C = y(e.modelValue), u = y(100), g = y(!1), c = y(0), b = y(0), v = y(1), L = y(1), D = y(0), A = y(0), H = y(0), B = y(0);
86
86
  r1(
87
87
  () => e.modelValue,
88
88
  (N) => {
@@ -107,7 +107,7 @@ const rs = /* @__PURE__ */ Z1(Ot, [["render", xt]]), Pt = { class: "w-full space
107
107
  const s1 = Math.min(i1 / N.width, i1 / N.height);
108
108
  v.value = Math.max(s1, W);
109
109
  const v1 = N.width * v.value, x = N.height * v.value;
110
- H.value = (i1 - v1) / 2, S.value = (i1 - x) / 2;
110
+ H.value = (i1 - v1) / 2, B.value = (i1 - x) / 2;
111
111
  }, N.src = m.value;
112
112
  } else
113
113
  P();
@@ -128,33 +128,33 @@ const rs = /* @__PURE__ */ Z1(Ot, [["render", xt]]), Pt = { class: "w-full space
128
128
  const w1 = Math.min(i1 / d1.width, i1 / d1.height);
129
129
  v.value = Math.max(w1, L1);
130
130
  const z = d1.width * v.value, J = d1.height * v.value;
131
- H.value = (i1 - z) / 2, S.value = (i1 - J) / 2, setTimeout(() => {
131
+ H.value = (i1 - z) / 2, B.value = (i1 - J) / 2, setTimeout(() => {
132
132
  }, 10);
133
133
  }, d1.src = q;
134
134
  }, x.readAsDataURL(s1);
135
135
  }
136
136
  W.value = "";
137
137
  }, Q = (N) => {
138
- g.value = !0, c.value = N.clientX - H.value, b.value = N.clientY - S.value, window.addEventListener("mousemove", Y), window.addEventListener("mouseup", l1);
138
+ g.value = !0, c.value = N.clientX - H.value, b.value = N.clientY - B.value, window.addEventListener("mousemove", Y), window.addEventListener("mouseup", l1);
139
139
  }, Y = (N) => {
140
140
  if (g.value) {
141
141
  let W = N.clientX - c.value, s1 = N.clientY - b.value;
142
142
  const v1 = i1 / 2, x = i1 / 2, U = v1 - u.value / 2, q = v1 + u.value / 2, d1 = x - u.value / 2, k1 = x + u.value / 2, L1 = D.value * v.value, w1 = A.value * v.value;
143
- W = Math.min(W, U), W = Math.max(W, q - L1), s1 = Math.min(s1, d1), s1 = Math.max(s1, k1 - w1), H.value = W, S.value = s1;
143
+ W = Math.min(W, U), W = Math.max(W, q - L1), s1 = Math.min(s1, d1), s1 = Math.max(s1, k1 - w1), H.value = W, B.value = s1;
144
144
  }
145
145
  }, l1 = () => {
146
146
  g.value = !1, window.removeEventListener("mousemove", Y), window.removeEventListener("mouseup", l1);
147
- }, B = (N) => {
147
+ }, S = (N) => {
148
148
  const W = Math.max(L.value, Math.min(v.value + N, 3));
149
149
  W !== v.value && (v.value = W);
150
- }, R = () => B(0.1), G = () => B(-0.1), S1 = () => {
150
+ }, R = () => S(0.1), G = () => S(-0.1), B1 = () => {
151
151
  var z;
152
152
  if (!h.value || !r.value) return;
153
153
  const N = r.value, W = N.getContext("2d");
154
154
  if (!W) return;
155
155
  const s1 = 512;
156
156
  N.width = s1, N.height = s1;
157
- const v1 = i1 / 2, x = i1 / 2, U = v1 - u.value / 2, q = x - u.value / 2, d1 = (U - H.value) / v.value, k1 = (q - S.value) / v.value, L1 = u.value / v.value;
157
+ const v1 = i1 / 2, x = i1 / 2, U = v1 - u.value / 2, q = x - u.value / 2, d1 = (U - H.value) / v.value, k1 = (q - B.value) / v.value, L1 = u.value / v.value;
158
158
  W.fillStyle = "#ffffff", W.fillRect(0, 0, s1, s1), e.cropShape === "circle" && (W.save(), W.beginPath(), W.arc(s1 / 2, s1 / 2, s1 / 2, 0, Math.PI * 2), W.closePath(), W.clip()), W.drawImage(
159
159
  h.value,
160
160
  d1,
@@ -167,10 +167,10 @@ const rs = /* @__PURE__ */ Z1(Ot, [["render", xt]]), Pt = { class: "w-full space
167
167
  s1
168
168
  ), e.cropShape === "circle" && W.restore();
169
169
  const w1 = N.toDataURL("image/png");
170
- C.value = w1, l("update:modelValue", w1), l("change", w1), (z = f.value) == null || z.close();
170
+ C.value = w1, l("update:modelValue", w1), l("change", w1), (z = p.value) == null || z.close();
171
171
  }, g1 = () => {
172
172
  var N;
173
- (N = f.value) == null || N.close(), h.value = null;
173
+ (N = p.value) == null || N.close(), h.value = null;
174
174
  };
175
175
  return (N, W) => (o(), i("div", Ut, [
176
176
  d("div", {
@@ -184,11 +184,11 @@ const rs = /* @__PURE__ */ Z1(Ot, [["render", xt]]), Pt = { class: "w-full space
184
184
  alt: "Avatar",
185
185
  class: "w-full h-full object-cover"
186
186
  }, null, 8, Wt)) : (o(), i("div", Yt, [
187
- w(p(t1), { name: "user" }),
187
+ w(f(t1), { name: "user" }),
188
188
  W[0] || (W[0] = d("span", { class: "text-center" }, "Click to add an avatar", -1))
189
189
  ])),
190
190
  N.disabled ? k("", !0) : (o(), i("div", jt, [
191
- w(p(t1), {
191
+ w(f(t1), {
192
192
  name: "edit",
193
193
  class: "text-white size-8"
194
194
  })
@@ -202,10 +202,10 @@ const rs = /* @__PURE__ */ Z1(Ot, [["render", xt]]), Pt = { class: "w-full space
202
202
  class: "hidden",
203
203
  onChange: u1
204
204
  }, null, 544),
205
- h.value ? (o(), V(p(i2), {
205
+ h.value ? (o(), V(f(i2), {
206
206
  key: 0,
207
207
  ref_key: "cropModalRef",
208
- ref: f,
208
+ ref: p,
209
209
  title: "Crop Avatar",
210
210
  "width-class": "max-w-xl",
211
211
  onClose: g1
@@ -224,7 +224,7 @@ const rs = /* @__PURE__ */ Z1(Ot, [["render", xt]]), Pt = { class: "w-full space
224
224
  width: `${D.value * v.value}px`,
225
225
  height: `${A.value * v.value}px`,
226
226
  left: `${H.value}px`,
227
- top: `${S.value}px`
227
+ top: `${B.value}px`
228
228
  })
229
229
  }, [
230
230
  h.value ? (o(), i("img", {
@@ -285,7 +285,7 @@ const rs = /* @__PURE__ */ Z1(Ot, [["render", xt]]), Pt = { class: "w-full space
285
285
  ], -1)),
286
286
  d("div", e5, [
287
287
  d("section", t5, [
288
- w(p(j), {
288
+ w(f(j), {
289
289
  icon: "plus",
290
290
  variant: "outlineSubtle",
291
291
  class: "z-0 hover:z-10 focus:z-10 active:z-10",
@@ -293,7 +293,7 @@ const rs = /* @__PURE__ */ Z1(Ot, [["render", xt]]), Pt = { class: "w-full space
293
293
  style: { borderRadius: "8px 0 0 8px" },
294
294
  onClick: R
295
295
  }, null, 8, ["disabled"]),
296
- w(p(j), {
296
+ w(f(j), {
297
297
  icon: "dash",
298
298
  variant: "outlineSubtle",
299
299
  class: "z-0 hover:z-10 focus:z-10 active:z-10 -ml-px",
@@ -312,12 +312,12 @@ const rs = /* @__PURE__ */ Z1(Ot, [["render", xt]]), Pt = { class: "w-full space
312
312
  ])
313
313
  ]),
314
314
  footer: Z(() => [
315
- w(p(o1), {
315
+ w(f(o1), {
316
316
  class: "w-full",
317
317
  justify: "between"
318
318
  }, {
319
319
  default: Z(() => [
320
- w(p(j), {
320
+ w(f(j), {
321
321
  disabled: N.disabled,
322
322
  variant: "outlineSubtle",
323
323
  label: "Upload",
@@ -325,13 +325,13 @@ const rs = /* @__PURE__ */ Z1(Ot, [["render", xt]]), Pt = { class: "w-full space
325
325
  onClick: P
326
326
  }, null, 8, ["disabled"]),
327
327
  d("div", l5, [
328
- w(p(Y1), {
328
+ w(f(Y1), {
329
329
  order: "confirm-last",
330
330
  "confirm-icon": "check",
331
331
  "confirm-label": "Save",
332
332
  "cancel-variant": "text",
333
333
  onCancel: g1,
334
- onConfirm: S1
334
+ onConfirm: B1
335
335
  })
336
336
  ])
337
337
  ]),
@@ -377,7 +377,7 @@ const we = /* @__PURE__ */ Z1(o5, [["render", a5]]), r5 = { class: "w-3 h-3 bg-o
377
377
  right: t.inside ? "0.15em" : "-0.3em"
378
378
  })
379
379
  }, [
380
- w(p(et))
380
+ w(f(et))
381
381
  ], 4));
382
382
  }
383
383
  }), j = /* @__PURE__ */ $({
@@ -407,7 +407,7 @@ const we = /* @__PURE__ */ Z1(o5, [["render", a5]]), r5 = { class: "w-3 h-3 bg-o
407
407
  },
408
408
  emits: ["click", "blur"],
409
409
  setup(n, { expose: t, emit: e }) {
410
- const l = n, s = e, r = y(l.routerLinkTo ? "router-link" : "button"), a = y(), f = y(), h = O(() => {
410
+ const l = n, s = e, r = y(l.routerLinkTo ? "router-link" : "button"), a = y(), p = y(), h = O(() => {
411
411
  const c = ["flex-none size-4"];
412
412
  return l.variant === "fill" || l.variant === "destructive" ? c.push("text-light") : l.variant === "outline" || l.variant === "text" ? c.push("text-blue-500") : l.variant === "outlineSubtle" || l.variant === "textSubtle" ? c.push("text-slate-700 dark:text-slate-200") : l.variant === "outlineDestructive" && c.push("text-red-500"), c.join(" ");
413
413
  }), m = O(() => {
@@ -498,12 +498,12 @@ const we = /* @__PURE__ */ Z1(o5, [["render", a5]]), r5 = { class: "w-3 h-3 bg-o
498
498
  return l.classes && c.push(l.classes), c.filter((b) => b).join(" ");
499
499
  }), C = O(() => l.disabled ? l.variant === "fill" || l.variant === "destructive" ? { filter: "grayscale(50%)" } : { opacity: "0.5" } : {}), u = (c) => {
500
500
  var b;
501
- l.stopPropagation && c.stopPropagation(), !l.disabled && !l.loading && (l.href && window.open(l.href, "_blank"), l.mailto && window.open(`mailto:${l.mailto}`), l.tooltip && ((b = f.value) == null || b.hide()), s("click"));
501
+ l.stopPropagation && c.stopPropagation(), !l.disabled && !l.loading && (l.href && window.open(l.href, "_blank"), l.mailto && window.open(`mailto:${l.mailto}`), l.tooltip && ((b = p.value) == null || b.hide()), s("click"));
502
502
  };
503
- return t({ focus: () => a.value.focus() }), (c, b) => c.tooltip ? (o(), V(p(te), {
503
+ return t({ focus: () => a.value.focus() }), (c, b) => c.tooltip ? (o(), V(f(te), {
504
504
  key: 0,
505
505
  ref_key: "tooltipRef",
506
- ref: f,
506
+ ref: p,
507
507
  text: c.tooltip,
508
508
  delay: c.tooltipDelay,
509
509
  placement: c.tooltipPlacement,
@@ -521,28 +521,28 @@ const we = /* @__PURE__ */ Z1(o5, [["render", a5]]), r5 = { class: "w-3 h-3 bg-o
521
521
  onBlur: b[0] || (b[0] = (v) => s("blur"))
522
522
  }, {
523
523
  default: Z(() => [
524
- w(p(we), null, {
524
+ w(f(we), null, {
525
525
  default: Z(() => [
526
- c.loading ? (o(), V(p(F1), {
526
+ c.loading ? (o(), V(f(F1), {
527
527
  key: 0,
528
528
  class: T(h.value)
529
- }, null, 8, ["class"])) : c.icon ? (o(), V(p(t1), {
529
+ }, null, 8, ["class"])) : c.icon ? (o(), V(f(t1), {
530
530
  key: 1,
531
531
  name: c.icon
532
532
  }, null, 8, ["name"])) : k("", !0),
533
- c.label ? (o(), V(p(ke), {
533
+ c.label ? (o(), V(f(ke), {
534
534
  key: 2,
535
535
  label: c.label
536
536
  }, null, 8, ["label"])) : k("", !0)
537
537
  ]),
538
538
  _: 1
539
539
  }),
540
- c.iconAfter ? (o(), V(p(t1), {
540
+ c.iconAfter ? (o(), V(f(t1), {
541
541
  key: 0,
542
542
  name: c.iconAfter,
543
543
  class: "opacity-75"
544
544
  }, null, 8, ["name"])) : k("", !0),
545
- c.notification ? (o(), V(p(Me), {
545
+ c.notification ? (o(), V(f(Me), {
546
546
  key: 1,
547
547
  inside: c.variant === "text" || c.variant === "textSubtle"
548
548
  }, null, 8, ["inside"])) : k("", !0)
@@ -564,27 +564,27 @@ const we = /* @__PURE__ */ Z1(o5, [["render", a5]]), r5 = { class: "w-3 h-3 bg-o
564
564
  onBlur: b[1] || (b[1] = (v) => s("blur"))
565
565
  }, {
566
566
  default: Z(() => [
567
- w(p(we), null, {
567
+ w(f(we), null, {
568
568
  default: Z(() => [
569
- c.loading ? (o(), V(p(F1), {
569
+ c.loading ? (o(), V(f(F1), {
570
570
  key: 0,
571
571
  class: T(h.value)
572
- }, null, 8, ["class"])) : c.icon ? (o(), V(p(t1), {
572
+ }, null, 8, ["class"])) : c.icon ? (o(), V(f(t1), {
573
573
  key: 1,
574
574
  name: c.icon
575
575
  }, null, 8, ["name"])) : k("", !0),
576
- c.label ? (o(), V(p(ke), {
576
+ c.label ? (o(), V(f(ke), {
577
577
  key: 2,
578
578
  label: c.label
579
579
  }, null, 8, ["label"])) : k("", !0)
580
580
  ]),
581
581
  _: 1
582
582
  }),
583
- c.iconAfter ? (o(), V(p(t1), {
583
+ c.iconAfter ? (o(), V(f(t1), {
584
584
  key: 0,
585
585
  name: c.iconAfter
586
586
  }, null, 8, ["name"])) : k("", !0),
587
- c.notification ? (o(), V(p(Me), {
587
+ c.notification ? (o(), V(f(Me), {
588
588
  key: 1,
589
589
  inside: c.variant === "text" || c.variant === "textSubtle"
590
590
  }, null, 8, ["inside"])) : k("", !0)
@@ -603,9 +603,9 @@ const we = /* @__PURE__ */ Z1(o5, [["render", a5]]), r5 = { class: "w-3 h-3 bg-o
603
603
  Ht("childOfButtonGroup", !0);
604
604
  const s = () => {
605
605
  const r = [];
606
- t.fullwidth ? r.push("flex w-full") : r.push("inline-flex"), t.direction === "vertical" ? r.push("flex-col items-stretch") : r.push("items-center"), e.value = r.join(" "), l.value && Array.from(l.value.children).forEach((a, f) => {
606
+ t.fullwidth ? r.push("flex w-full") : r.push("inline-flex"), t.direction === "vertical" ? r.push("flex-col items-stretch") : r.push("items-center"), e.value = r.join(" "), l.value && Array.from(l.value.children).forEach((a, p) => {
607
607
  var h, m, C, u;
608
- t.direction === "vertical" ? (a.classList.add("-mt-px"), a.classList.add("first:mt-0"), f === 0 ? a.nodeName === "BUTTON" ? a.classList.add("rounded-t-md") : (h = a.querySelector("button")) == null || h.classList.add("rounded-t-md") : f === l.value.children.length - 1 && (a.nodeName === "BUTTON" ? a.classList.add("rounded-b-md") : (m = a.querySelector("button")) == null || m.classList.add("rounded-b-md"))) : (a.classList.add("-ml-px"), a.classList.add("first:ml-0"), f === 0 ? a.nodeName === "BUTTON" ? a.classList.add("rounded-l-md") : (C = a.querySelector("button")) == null || C.classList.add("rounded-l-md") : f === l.value.children.length - 1 && (a.nodeName === "BUTTON" ? a.classList.add("rounded-r-md") : (u = a.querySelector("button")) == null || u.classList.add("rounded-r-md")));
608
+ t.direction === "vertical" ? (a.classList.add("-mt-px"), a.classList.add("first:mt-0"), p === 0 ? a.nodeName === "BUTTON" ? a.classList.add("rounded-t-md") : (h = a.querySelector("button")) == null || h.classList.add("rounded-t-md") : p === l.value.children.length - 1 && (a.nodeName === "BUTTON" ? a.classList.add("rounded-b-md") : (m = a.querySelector("button")) == null || m.classList.add("rounded-b-md"))) : (a.classList.add("-ml-px"), a.classList.add("first:ml-0"), p === 0 ? a.nodeName === "BUTTON" ? a.classList.add("rounded-l-md") : (C = a.querySelector("button")) == null || C.classList.add("rounded-l-md") : p === l.value.children.length - 1 && (a.nodeName === "BUTTON" ? a.classList.add("rounded-r-md") : (u = a.querySelector("button")) == null || u.classList.add("rounded-r-md")));
609
609
  });
610
610
  };
611
611
  return a1(s), (r, a) => (o(), i("div", {
@@ -633,7 +633,7 @@ const Ze = {
633
633
  Y: "YEAR",
634
634
  DC: "DECADE"
635
635
  /* DECADE */
636
- }, fe = {
636
+ }, pe = {
637
637
  MILLISECOND: 1,
638
638
  SECOND: 1e3,
639
639
  MINUTE: 6e4,
@@ -648,7 +648,7 @@ const Ze = {
648
648
  if (Object.keys(X).includes(n))
649
649
  return n;
650
650
  throw new Error(`Invalid time unit [${n}}]`);
651
- }, d5 = { class: "w-56 grid grid-cols-7" }, u5 = { class: "col-span-5 flex items-center justify-center text-sm" }, p5 = { class: "w-56 grid grid-cols-2 py-8" }, f5 = /* @__PURE__ */ $({
651
+ }, d5 = { class: "w-56 grid grid-cols-7" }, u5 = { class: "col-span-5 flex items-center justify-center text-sm" }, f5 = { class: "w-56 grid grid-cols-2 py-8" }, p5 = /* @__PURE__ */ $({
652
652
  __name: "DecadeView",
653
653
  props: {
654
654
  viewData: {}
@@ -658,29 +658,29 @@ const Ze = {
658
658
  const e = n, l = t, s = O(() => `${e.viewData[0].label} - ${e.viewData[e.viewData.length - 1].label}`);
659
659
  return (r, a) => (o(), i("div", null, [
660
660
  d("nav", d5, [
661
- w(p(j), {
661
+ w(f(j), {
662
662
  icon: "chevron-left",
663
663
  variant: "textSubtle",
664
- onClick: a[0] || (a[0] = (f) => l("move", { amount: -10, unit: p(X).YEAR }))
664
+ onClick: a[0] || (a[0] = (p) => l("move", { amount: -10, unit: f(X).YEAR }))
665
665
  }),
666
666
  d("div", u5, K(s.value), 1),
667
- w(p(j), {
667
+ w(f(j), {
668
668
  icon: "chevron-right",
669
669
  variant: "textSubtle",
670
- onClick: a[1] || (a[1] = (f) => l("move", { amount: 10, unit: p(X).YEAR }))
670
+ onClick: a[1] || (a[1] = (p) => l("move", { amount: 10, unit: f(X).YEAR }))
671
671
  })
672
672
  ]),
673
- d("main", p5, [
674
- (o(!0), i(M, null, m1(r.viewData, (f) => (o(), V(p(j), {
675
- key: f.label,
676
- variant: f.selected ? "fill" : f.current ? "text" : "textSubtle",
677
- label: f.label.toString(),
673
+ d("main", f5, [
674
+ (o(!0), i(M, null, m1(r.viewData, (p) => (o(), V(f(j), {
675
+ key: p.label,
676
+ variant: p.selected ? "fill" : p.current ? "text" : "textSubtle",
677
+ label: p.label.toString(),
678
678
  onMouseup: F((h) => l(
679
679
  "select",
680
680
  {
681
- value: f.label,
682
- unit: p(X).YEAR,
683
- view: p(X).MONTH
681
+ value: p.label,
682
+ unit: f(X).YEAR,
683
+ view: f(X).MONTH
684
684
  }
685
685
  ), ["stop"])
686
686
  }, null, 8, ["variant", "label", "onMouseup"]))), 128))
@@ -724,37 +724,37 @@ const c5 = /* @__PURE__ */ $({
724
724
  const e = t;
725
725
  return (l, s) => (o(), i("div", null, [
726
726
  d("nav", C5, [
727
- w(p(j), {
727
+ w(f(j), {
728
728
  variant: "textSubtle",
729
729
  icon: "chevron-left-double",
730
- onClick: s[0] || (s[0] = (r) => e("move", { amount: -1, unit: p(X).YEAR }))
730
+ onClick: s[0] || (s[0] = (r) => e("move", { amount: -1, unit: f(X).YEAR }))
731
731
  }),
732
- w(p(j), {
732
+ w(f(j), {
733
733
  variant: "textSubtle",
734
734
  icon: "chevron-left",
735
- onClick: s[1] || (s[1] = (r) => e("move", { amount: -1, unit: p(X).MONTH }))
735
+ onClick: s[1] || (s[1] = (r) => e("move", { amount: -1, unit: f(X).MONTH }))
736
736
  }),
737
737
  d("div", v5, [
738
- w(p(j), {
738
+ w(f(j), {
739
739
  variant: "textSubtle",
740
- label: p(lt)(l.currentMonth.slice(0, 3)),
741
- onClick: s[2] || (s[2] = (r) => e("change-view", p(X).YEAR))
740
+ label: f(lt)(l.currentMonth.slice(0, 3)),
741
+ onClick: s[2] || (s[2] = (r) => e("change-view", f(X).YEAR))
742
742
  }, null, 8, ["label"]),
743
- w(p(j), {
743
+ w(f(j), {
744
744
  variant: "textSubtle",
745
745
  label: l.currentYear.toString(),
746
- onClick: s[3] || (s[3] = (r) => e("change-view", p(X).DECADE))
746
+ onClick: s[3] || (s[3] = (r) => e("change-view", f(X).DECADE))
747
747
  }, null, 8, ["label"])
748
748
  ]),
749
- w(p(j), {
749
+ w(f(j), {
750
750
  variant: "textSubtle",
751
751
  icon: "chevron-right",
752
- onClick: s[4] || (s[4] = (r) => e("move", { amount: 1, unit: p(X).MONTH }))
752
+ onClick: s[4] || (s[4] = (r) => e("move", { amount: 1, unit: f(X).MONTH }))
753
753
  }),
754
- w(p(j), {
754
+ w(f(j), {
755
755
  variant: "textSubtle",
756
756
  icon: "chevron-right-double",
757
- onClick: s[5] || (s[5] = (r) => e("move", { amount: 1, unit: p(X).YEAR }))
757
+ onClick: s[5] || (s[5] = (r) => e("move", { amount: 1, unit: f(X).YEAR }))
758
758
  })
759
759
  ]),
760
760
  d("header", h5, [
@@ -769,7 +769,7 @@ const c5 = /* @__PURE__ */ $({
769
769
  return o(), V(c5, {
770
770
  key: (a = r.date) == null ? void 0 : a.toISOString(),
771
771
  date: r,
772
- onClick: (f) => e("select", r)
772
+ onClick: (p) => e("select", r)
773
773
  }, null, 8, ["date", "onClick"]);
774
774
  }), 128))
775
775
  ])
@@ -786,29 +786,29 @@ const c5 = /* @__PURE__ */ $({
786
786
  const e = t;
787
787
  return (l, s) => (o(), i("div", null, [
788
788
  d("nav", b5, [
789
- w(p(j), {
789
+ w(f(j), {
790
790
  icon: "chevron-left",
791
791
  variant: "textSubtle",
792
792
  onClick: s[0] || (s[0] = (r) => e("move", { amount: -1, unit: "YEAR" }))
793
793
  }),
794
794
  d("div", L5, K(l.currentYear), 1),
795
- w(p(j), {
795
+ w(f(j), {
796
796
  icon: "chevron-right",
797
797
  variant: "textSubtle",
798
798
  onClick: s[1] || (s[1] = (r) => e("move", { amount: 1, unit: "YEAR" }))
799
799
  })
800
800
  ]),
801
801
  d("main", y5, [
802
- (o(!0), i(M, null, m1(l.viewData, (r, a) => (o(), V(p(j), {
802
+ (o(!0), i(M, null, m1(l.viewData, (r, a) => (o(), V(f(j), {
803
803
  key: r.label,
804
804
  variant: r.selected ? "fill" : r.current ? "text" : "textSubtle",
805
- label: p(lt)(r.label.toString()),
806
- onClick: (f) => e(
805
+ label: f(lt)(r.label.toString()),
806
+ onClick: (p) => e(
807
807
  "select",
808
808
  {
809
809
  value: a,
810
- unit: p(X).MONTH,
811
- view: p(X).MONTH
810
+ unit: f(X).MONTH,
811
+ view: f(X).MONTH
812
812
  }
813
813
  )
814
814
  }, null, 8, ["variant", "label", "onClick"]))), 128))
@@ -823,7 +823,7 @@ const C1 = (n) => {
823
823
  if (!Number.isNaN(t.getTime()) && !t.toString().includes("Thu Jan 01 1970"))
824
824
  return new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate()));
825
825
  throw new Error(`Invalid date [${n}]`);
826
- }, ps = (n, t, e) => {
826
+ }, fs = (n, t, e) => {
827
827
  if (n == null || t == null) return null;
828
828
  n = C1(n), t = C1(t);
829
829
  const l = tt(e);
@@ -831,17 +831,17 @@ const C1 = (n) => {
831
831
  return null;
832
832
  if (l === X.MONTH || l === X.YEAR)
833
833
  throw new Error("Cannot calculate delta in months or years");
834
- return (n.getTime() - t.getTime()) / fe[l];
835
- }, B1 = (n, t) => (n = C1(n), t = C1(t), !n || !t ? !1 : n.getUTCFullYear() === t.getUTCFullYear() && n.getUTCMonth() === t.getUTCMonth() && n.getUTCDate() === t.getUTCDate()), V5 = (n, t, e = !1) => (n = C1(n), t = C1(t), n.getTime() > t.getTime() || e && B1(n, t)), k5 = (n, t, e = !1) => (n = C1(n), t = C1(t), n.getTime() < t.getTime() || e && B1(n, t)), fs = (n, t, e, l = !1) => V5(n, t, l) && k5(n, e, l), w5 = (n) => (n = C1(n), Math.floor(n.getUTCFullYear() / 10) * 10), cs = (n) => {
834
+ return (n.getTime() - t.getTime()) / pe[l];
835
+ }, S1 = (n, t) => (n = C1(n), t = C1(t), !n || !t ? !1 : n.getUTCFullYear() === t.getUTCFullYear() && n.getUTCMonth() === t.getUTCMonth() && n.getUTCDate() === t.getUTCDate()), V5 = (n, t, e = !1) => (n = C1(n), t = C1(t), n.getTime() > t.getTime() || e && S1(n, t)), k5 = (n, t, e = !1) => (n = C1(n), t = C1(t), n.getTime() < t.getTime() || e && S1(n, t)), ps = (n, t, e, l = !1) => V5(n, t, l) && k5(n, e, l), w5 = (n) => (n = C1(n), Math.floor(n.getUTCFullYear() / 10) * 10), cs = (n) => {
836
836
  const t = C1(n);
837
837
  t.setUTCDate(t.getUTCDate() + 4 - (t.getUTCDay() || 7));
838
838
  const e = new Date(Date.UTC(t.getUTCFullYear(), 0, 1));
839
- return t && e ? Math.ceil(((t.getTime() - e.getTime()) / fe.DAY + 1) / 7) : 0;
839
+ return t && e ? Math.ceil(((t.getTime() - e.getTime()) / pe.DAY + 1) / 7) : 0;
840
840
  }, x1 = (n, t, e) => {
841
841
  const l = C1(n), s = tt(e);
842
842
  if (s === X.MONTH) throw new Error("Cannot move date by month");
843
843
  let r = l.getTime();
844
- return r += t * fe[s], l.setTime(r), l;
844
+ return r += t * pe[s], l.setTime(r), l;
845
845
  }, Cs = (n) => {
846
846
  console.log(
847
847
  n.toISOString().substr(0, 16).replace("T", " ")
@@ -900,8 +900,8 @@ class D5 {
900
900
  date: new Date(t),
901
901
  disabled: this.options.disabledDates ? this.options.disabledDates.some((r) => r(t)) : !1,
902
902
  inactive: t.getUTCMonth() !== this.dateCursor.getUTCMonth(),
903
- selected: !!this.selectedDate && B1(t, this.selectedDate),
904
- current: B1(t, this.today)
903
+ selected: !!this.selectedDate && S1(t, this.selectedDate),
904
+ current: S1(t, this.today)
905
905
  }), t.setUTCDate(t.getUTCDate() + 1);
906
906
  return l;
907
907
  }
@@ -925,8 +925,8 @@ class D5 {
925
925
  date: new Date(t),
926
926
  disabled: this.options.disabledDates ? this.options.disabledDates.some((r) => r(t)) : !1,
927
927
  inactive: t.getUTCMonth() !== this.dateCursor.getUTCMonth(),
928
- selected: !!this.selectedDate && B1(t, this.selectedDate),
929
- current: B1(t, this.today)
928
+ selected: !!this.selectedDate && S1(t, this.selectedDate),
929
+ current: S1(t, this.today)
930
930
  }), t.setUTCDate(t.getUTCDate() + 1);
931
931
  return l;
932
932
  }
@@ -1000,7 +1000,7 @@ class D5 {
1000
1000
  }
1001
1001
  var h1 = ((n) => (n[n.DATE = X.DAY] = "DATE", n[n.WEEK = X.WEEK] = "WEEK", n[n.MONTH = X.MONTH] = "MONTH", n[n.YEAR = X.YEAR] = "YEAR", n[n.DECADE = X.DECADE] = "DECADE", n))(h1 || {});
1002
1002
  const T5 = (n = null, t) => {
1003
- const e = new D5(t, n), l = y([]), s = y(h1.MONTH), r = y(""), a = y(0), f = (b) => {
1003
+ const e = new D5(t, n), l = y([]), s = y(h1.MONTH), r = y(""), a = y(0), p = (b) => {
1004
1004
  if (!Object.keys(h1).includes(b)) {
1005
1005
  console.warn(`[changeView] wrong view type: ${b}`);
1006
1006
  return;
@@ -1022,15 +1022,15 @@ const T5 = (n = null, t) => {
1022
1022
  break;
1023
1023
  }
1024
1024
  }, h = () => {
1025
- f(s.value), r.value = e.getDateCursorMonthName(), a.value = e.dateCursor.getUTCFullYear();
1025
+ p(s.value), r.value = e.getDateCursorMonthName(), a.value = e.dateCursor.getUTCFullYear();
1026
1026
  }, m = (b) => {
1027
1027
  e.setSelectedDate(b), h();
1028
1028
  };
1029
1029
  A1(() => {
1030
- m(n), f(s.value);
1030
+ m(n), p(s.value);
1031
1031
  });
1032
1032
  const C = (b, v = !1) => {
1033
- e.moveSelectedDate(b), !v && s.value !== h1.MONTH ? f(h1.DATE) : h();
1033
+ e.moveSelectedDate(b), !v && s.value !== h1.MONTH ? p(h1.DATE) : h();
1034
1034
  }, u = ({ amount: b, unit: v }) => {
1035
1035
  switch (v) {
1036
1036
  case X.DAY:
@@ -1066,7 +1066,7 @@ const T5 = (n = null, t) => {
1066
1066
  }
1067
1067
  h();
1068
1068
  }, c = ({ value: b, unit: v, view: L }) => {
1069
- g(b, v), f(L);
1069
+ g(b, v), p(L);
1070
1070
  };
1071
1071
  return {
1072
1072
  selectedDate: e.selectedDate,
@@ -1074,14 +1074,14 @@ const T5 = (n = null, t) => {
1074
1074
  viewType: s,
1075
1075
  viewMonth: r,
1076
1076
  viewYear: a,
1077
- changeView: f,
1077
+ changeView: p,
1078
1078
  moveRequest: C,
1079
1079
  moveViewDate: u,
1080
1080
  setSelectedDate: m,
1081
1081
  setViewDate: g,
1082
1082
  setViewDateAndChangeView: c
1083
1083
  };
1084
- }, S5 = { class: "flex flex-col" }, B5 = { class: "p-4" }, z5 = {
1084
+ }, B5 = { class: "flex flex-col" }, S5 = { class: "p-4" }, z5 = {
1085
1085
  key: 0,
1086
1086
  class: "flex items-center justify-end p-4 border-t border-default"
1087
1087
  }, A5 = /* @__PURE__ */ $({
@@ -1101,7 +1101,7 @@ const T5 = (n = null, t) => {
1101
1101
  viewType: s,
1102
1102
  viewMonth: r,
1103
1103
  viewYear: a,
1104
- changeView: f,
1104
+ changeView: p,
1105
1105
  moveViewDate: h,
1106
1106
  moveRequest: m,
1107
1107
  setSelectedDate: C,
@@ -1135,34 +1135,34 @@ const T5 = (n = null, t) => {
1135
1135
  document.addEventListener("keydown", v);
1136
1136
  }), N1(() => {
1137
1137
  document.removeEventListener("keydown", v);
1138
- }), (L, D) => (o(), i("section", S5, [
1139
- d("main", B5, [
1140
- p(s) === p(h1).MONTH ? (o(), V(g5, {
1138
+ }), (L, D) => (o(), i("section", B5, [
1139
+ d("main", S5, [
1140
+ f(s) === f(h1).MONTH ? (o(), V(g5, {
1141
1141
  key: 0,
1142
1142
  "current-month": g.value,
1143
- "current-year": p(a),
1144
- "view-data": p(l),
1143
+ "current-year": f(a),
1144
+ "view-data": f(l),
1145
1145
  weekdays: c.value,
1146
- onMove: p(h),
1147
- onChangeView: p(f),
1146
+ onMove: f(h),
1147
+ onChangeView: f(p),
1148
1148
  onSelect: b
1149
1149
  }, null, 8, ["current-month", "current-year", "view-data", "weekdays", "onMove", "onChangeView"])) : k("", !0),
1150
- p(s) === p(h1).YEAR ? (o(), V(H5, {
1150
+ f(s) === f(h1).YEAR ? (o(), V(H5, {
1151
1151
  key: 1,
1152
- "current-year": p(a),
1153
- "view-data": p(l),
1154
- onMove: p(h),
1155
- onSelect: p(u)
1152
+ "current-year": f(a),
1153
+ "view-data": f(l),
1154
+ onMove: f(h),
1155
+ onSelect: f(u)
1156
1156
  }, null, 8, ["current-year", "view-data", "onMove", "onSelect"])) : k("", !0),
1157
- p(s) === p(h1).DECADE ? (o(), V(f5, {
1157
+ f(s) === f(h1).DECADE ? (o(), V(p5, {
1158
1158
  key: 2,
1159
- "view-data": p(l),
1160
- onMove: p(h),
1161
- onSelect: p(u)
1159
+ "view-data": f(l),
1160
+ onMove: f(h),
1161
+ onSelect: f(u)
1162
1162
  }, null, 8, ["view-data", "onMove", "onSelect"])) : k("", !0)
1163
1163
  ]),
1164
1164
  L.clearable ? (o(), i("footer", z5, [
1165
- w(p(j), {
1165
+ w(f(j), {
1166
1166
  square: "",
1167
1167
  size: "tiny",
1168
1168
  variant: "outlineSubtle",
@@ -1175,13 +1175,13 @@ const T5 = (n = null, t) => {
1175
1175
  ]));
1176
1176
  }
1177
1177
  }), _1 = (n, t = !0, e = !1) => {
1178
- const l = new Date(n), s = new Intl.DateTimeFormat("en-001", { weekday: "short" }).format(l), r = l.getDate().toString().padStart(2, "0"), a = new Intl.DateTimeFormat("en-001", { month: "short" }).format(l), f = l.getFullYear(), h = l.getHours().toString().padStart(2, "0"), m = l.getMinutes().toString().padStart(2, "0");
1179
- let C = `${r} ${a} ${f}`;
1178
+ const l = new Date(n), s = new Intl.DateTimeFormat("en-001", { weekday: "short" }).format(l), r = l.getDate().toString().padStart(2, "0"), a = new Intl.DateTimeFormat("en-001", { month: "short" }).format(l), p = l.getFullYear(), h = l.getHours().toString().padStart(2, "0"), m = l.getMinutes().toString().padStart(2, "0");
1179
+ let C = `${r} ${a} ${p}`;
1180
1180
  return t && (C = `${s} ${C}`), e && (C = `${C} ${h}:${m}`), C;
1181
1181
  }, R5 = (n) => _1(n, !1, !1), E5 = (n) => _1(n, !0, !1), O5 = (n) => _1(n, !1, !0), I5 = (n) => _1(n, !0, !0), nt = (n, t = !1) => {
1182
- const e = new Date(n), l = e.getFullYear(), s = (e.getMonth() + 1).toString().padStart(2, "0"), r = e.getDate().toString().padStart(2, "0"), a = e.getHours().toString().padStart(2, "0"), f = e.getMinutes().toString().padStart(2, "0");
1182
+ const e = new Date(n), l = e.getFullYear(), s = (e.getMonth() + 1).toString().padStart(2, "0"), r = e.getDate().toString().padStart(2, "0"), a = e.getHours().toString().padStart(2, "0"), p = e.getMinutes().toString().padStart(2, "0");
1183
1183
  let h = `${l}-${s}-${r}`;
1184
- return t && (h = `${h} ${a}:${f}`), h;
1184
+ return t && (h = `${h} ${a}:${p}`), h;
1185
1185
  }, x5 = (n) => nt(n, !1), P5 = (n) => nt(n, !0), ms = {
1186
1186
  readableDate: R5,
1187
1187
  readableDateWithDay: E5,
@@ -1206,7 +1206,7 @@ const T5 = (n = null, t) => {
1206
1206
  "border-default bg-secondary hover:bg-secondary": e.disabled && !e.value
1207
1207
  }])
1208
1208
  }, [
1209
- t.value ? (o(), V(p(t1), {
1209
+ t.value ? (o(), V(f(t1), {
1210
1210
  key: 0,
1211
1211
  name: t.value,
1212
1212
  class: "text-white"
@@ -1309,7 +1309,7 @@ const T5 = (n = null, t) => {
1309
1309
  },
1310
1310
  emits: ["toggle"],
1311
1311
  setup(n, { emit: t }) {
1312
- const e = n, l = t, s = y(), r = y(), a = y(!1), f = O(() => e.open ? e.borderClassOpen : e.borderClassClosed), h = O(() => a.value ? {
1312
+ const e = n, l = t, s = y(), r = y(), a = y(!1), p = O(() => e.open ? e.borderClassOpen : e.borderClassClosed), h = O(() => a.value ? {
1313
1313
  top: "-1px",
1314
1314
  paddingTop: "1px"
1315
1315
  } : {});
@@ -1342,7 +1342,7 @@ const T5 = (n = null, t) => {
1342
1342
  "shadow-sm-xs border-strong sticky z-10": a.value,
1343
1343
  relative: !a.value
1344
1344
  },
1345
- f.value,
1345
+ p.value,
1346
1346
  C.headerBgClass
1347
1347
  ]]),
1348
1348
  style: n1(h.value)
@@ -1352,7 +1352,7 @@ const T5 = (n = null, t) => {
1352
1352
  E(C.$slots, "header", { sticky: a.value })
1353
1353
  ])) : k("", !0),
1354
1354
  d("div", Q5, [
1355
- C.$slots.content ? (o(), V(p(j), {
1355
+ C.$slots.content ? (o(), V(f(j), {
1356
1356
  key: 0,
1357
1357
  small: "",
1358
1358
  variant: "textSubtle",
@@ -1390,12 +1390,12 @@ const T5 = (n = null, t) => {
1390
1390
  emits: ["confirm", "cancel"],
1391
1391
  setup(n, { emit: t }) {
1392
1392
  const e = t, l = O(() => n.order === "confirm-first");
1393
- return (s, r) => (o(), V(p(o1), {
1393
+ return (s, r) => (o(), V(f(o1), {
1394
1394
  col: s.vertical,
1395
1395
  class: "gap-2"
1396
1396
  }, {
1397
1397
  default: Z(() => [
1398
- l.value ? (o(), V(p(j), {
1398
+ l.value ? (o(), V(f(j), {
1399
1399
  key: 0,
1400
1400
  small: s.small,
1401
1401
  "stop-propagation": "",
@@ -1407,7 +1407,7 @@ const T5 = (n = null, t) => {
1407
1407
  class: T({ "flex-1": s.fillContainer }),
1408
1408
  onClick: r[0] || (r[0] = (a) => e("confirm"))
1409
1409
  }, null, 8, ["small", "icon", "label", "variant", "disabled", "loading", "class"])) : k("", !0),
1410
- w(p(j), {
1410
+ w(f(j), {
1411
1411
  variant: s.cancelVariant,
1412
1412
  "stop-propagation": "",
1413
1413
  disabled: s.cancelDisabled,
@@ -1417,7 +1417,7 @@ const T5 = (n = null, t) => {
1417
1417
  class: T({ "flex-1": s.fillContainer }),
1418
1418
  onClick: r[1] || (r[1] = (a) => e("cancel"))
1419
1419
  }, null, 8, ["variant", "disabled", "small", "icon", "label", "class"]),
1420
- l.value ? k("", !0) : (o(), V(p(j), {
1420
+ l.value ? k("", !0) : (o(), V(f(j), {
1421
1421
  key: 1,
1422
1422
  small: s.small,
1423
1423
  "stop-propagation": "",
@@ -1438,9 +1438,9 @@ function ce(n) {
1438
1438
  const t = "pointerdown";
1439
1439
  let e;
1440
1440
  const l = (a) => {
1441
- e = (f) => {
1442
- let h = p(a);
1443
- !h || ("length" in h || (h = [h]), h.some((C) => C === f.target || f.composedPath().includes(C))) || n(f);
1441
+ e = (p) => {
1442
+ let h = f(a);
1443
+ !h || ("length" in h || (h = [h]), h.some((C) => C === p.target || p.composedPath().includes(C))) || n(p);
1444
1444
  }, window.addEventListener(t, e);
1445
1445
  }, s = () => {
1446
1446
  e && window.removeEventListener(t, e);
@@ -1469,21 +1469,21 @@ const G5 = () => {
1469
1469
  });
1470
1470
  }
1471
1471
  }), j1 = (n, t = !1) => {
1472
- const e = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])', l = () => n.value ? Array.from(n.value.querySelectorAll(e)) : [], s = (f) => {
1472
+ const e = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])', l = () => n.value ? Array.from(n.value.querySelectorAll(e)) : [], s = (p) => {
1473
1473
  var g;
1474
- if (f.key !== "Tab") return;
1474
+ if (p.key !== "Tab") return;
1475
1475
  const h = l();
1476
1476
  if (h.length === 0) return;
1477
1477
  const m = h[0], C = h[h.length - 1], u = document.activeElement;
1478
- !u || !((g = n.value) != null && g.contains(u)) ? ((f.shiftKey ? C : m).focus(), f.preventDefault()) : f.shiftKey && u === m ? (C.focus(), f.preventDefault()) : !f.shiftKey && u === C && (m.focus(), f.preventDefault());
1478
+ !u || !((g = n.value) != null && g.contains(u)) ? ((p.shiftKey ? C : m).focus(), p.preventDefault()) : p.shiftKey && u === m ? (C.focus(), p.preventDefault()) : !p.shiftKey && u === C && (m.focus(), p.preventDefault());
1479
1479
  }, r = () => {
1480
1480
  if (!n.value) {
1481
1481
  console.warn("[useTrapFocus] trapElement is not present");
1482
1482
  return;
1483
1483
  }
1484
1484
  if (document.addEventListener("keydown", s), t) {
1485
- const f = l();
1486
- f.length > 0 && f[0].focus();
1485
+ const p = l();
1486
+ p.length > 0 && p[0].focus();
1487
1487
  }
1488
1488
  }, a = () => {
1489
1489
  document.removeEventListener("keydown", s);
@@ -1500,7 +1500,7 @@ const G5 = () => {
1500
1500
  }, $e = 120, Ls = /* @__PURE__ */ $({
1501
1501
  __name: "ContentSlider",
1502
1502
  setup(n, { expose: t }) {
1503
- const e = y(0), l = y(null), s = y(null), r = y(l.value ? l.value.clientWidth : 0), a = y(s.value ? s.value.scrollWidth : 0), f = () => e.value = Math.max(0, e.value - $e), h = () => {
1503
+ const e = y(0), l = y(null), s = y(null), r = y(l.value ? l.value.clientWidth : 0), a = y(s.value ? s.value.scrollWidth : 0), p = () => e.value = Math.max(0, e.value - $e), h = () => {
1504
1504
  e.value = Math.min(a.value - r.value, e.value + $e);
1505
1505
  }, m = O(() => e.value > 0), C = O(() => e.value < a.value - r.value), { nextFrame: u } = ve(), g = () => {
1506
1506
  V1(() => {
@@ -1515,12 +1515,12 @@ const G5 = () => {
1515
1515
  class: "relative flex-1 flex items-center py-1 overflow-hidden whitespace-nowrap"
1516
1516
  }, [
1517
1517
  m.value ? (o(), i("aside", J5, [
1518
- w(p(j), {
1518
+ w(f(j), {
1519
1519
  small: "",
1520
1520
  icon: "chevron-left",
1521
1521
  variant: "outline",
1522
1522
  class: "shadow-sm",
1523
- onClick: f
1523
+ onClick: p
1524
1524
  })
1525
1525
  ])) : k("", !0),
1526
1526
  d("main", {
@@ -1532,7 +1532,7 @@ const G5 = () => {
1532
1532
  E(c.$slots, "default")
1533
1533
  ], 4),
1534
1534
  C.value ? (o(), i("aside", _5, [
1535
- C.value ? (o(), V(p(j), {
1535
+ C.value ? (o(), V(f(j), {
1536
1536
  key: 0,
1537
1537
  small: "",
1538
1538
  icon: "chevron-right",
@@ -1578,10 +1578,10 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
1578
1578
  key: 13,
1579
1579
  "fill-rule": "evenodd",
1580
1580
  d: "M8 1C4.13401 1 1 4.13401 1 8H0C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C4.96894 16 2.33236 14.3141 0.975485 11.8313L0.801925 11.5137L1.14071 11.1522L5 7.29289L7 9.29289L10.2929 6H8V5H12V9H11V6.70711L7 10.7071L5 8.70711L2.03764 11.6695C3.27087 13.6689 5.48031 15 8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1Z"
1581
- }, pl = {
1581
+ }, fl = {
1582
1582
  key: 15,
1583
1583
  d: "M8 2.29297L12.7071 7.00007L12 7.70718L8.49989 4.20697L8.5 14.0001H7.5L7.49989 4.20697L4 7.70718L3.29289 7.00007L8 2.29297Z"
1584
- }, fl = {
1584
+ }, pl = {
1585
1585
  key: 16,
1586
1586
  d: "M8.21165 14.8807C7.125 14.8807 6.16442 14.7315 5.3299 14.4332C4.49538 14.1385 3.79403 13.7035 3.22585 13.1282C2.65767 12.5529 2.22798 11.848 1.93679 11.0135C1.6456 10.179 1.5 9.22372 1.5 8.14773C1.5 7.10724 1.64737 6.17685 1.94212 5.35653C2.24041 4.53622 2.67188 3.8402 3.23651 3.26847C3.80469 2.69318 4.49361 2.25462 5.30327 1.95277C6.11648 1.65092 7.03622 1.5 8.0625 1.5C9.06037 1.5 9.93395 1.66335 10.6832 1.99006C11.4361 2.31321 12.0646 2.75178 12.5689 3.30575C13.0767 3.85618 13.4567 4.47585 13.7088 5.16477C13.9645 5.85369 14.0923 6.56392 14.0923 7.29545C14.0923 7.81037 14.0675 8.33239 14.0178 8.86151C13.968 9.39063 13.8633 9.87713 13.7035 10.321C13.5437 10.7614 13.2969 11.1165 12.9631 11.3864C12.6328 11.6562 12.1854 11.7912 11.6207 11.7912C11.3722 11.7912 11.0987 11.7521 10.8004 11.674C10.5021 11.5959 10.2376 11.4663 10.0067 11.2852C9.77592 11.104 9.6392 10.8608 9.59659 10.5554H9.53267C9.44744 10.7614 9.31605 10.9567 9.13849 11.1413C8.96449 11.326 8.73544 11.4734 8.45135 11.5835C8.17081 11.6935 7.82812 11.7415 7.4233 11.7273C6.96165 11.7095 6.55504 11.6065 6.20348 11.4183C5.85192 11.2266 5.55717 10.9673 5.31925 10.6406C5.08487 10.3104 4.90732 9.92862 4.78658 9.49538C4.66939 9.05859 4.6108 8.58807 4.6108 8.08381C4.6108 7.6044 4.68182 7.16584 4.82386 6.76811C4.96591 6.37038 5.163 6.02237 5.41513 5.72408C5.67081 5.42578 5.9691 5.18786 6.31001 5.0103C6.65447 4.82919 7.02557 4.71733 7.4233 4.67472C7.77841 4.63921 8.10156 4.65519 8.39276 4.72266C8.68395 4.78658 8.92365 4.88423 9.11186 5.01563C9.30007 5.14347 9.41903 5.28551 9.46875 5.44176H9.53267V4.84517H10.6619V9.66051C10.6619 9.95881 10.7454 10.2216 10.9123 10.4489C11.0792 10.6761 11.3224 10.7898 11.642 10.7898C12.0043 10.7898 12.2812 10.6655 12.473 10.4169C12.6683 10.1683 12.8015 9.7848 12.8725 9.26634C12.9471 8.74787 12.9844 8.08381 12.9844 7.27415C12.9844 6.7983 12.9187 6.32955 12.7873 5.8679C12.6594 5.4027 12.4641 4.96769 12.2013 4.56286C11.9421 4.15803 11.6136 3.80114 11.2159 3.49219C10.8182 3.18324 10.3512 2.94176 9.81499 2.76776C9.28232 2.5902 8.67685 2.50142 7.99858 2.50142C7.16406 2.50142 6.41655 2.63104 5.75604 2.89027C5.09908 3.14595 4.53977 3.5206 4.07812 4.0142C3.62003 4.50426 3.27024 5.10085 3.02876 5.80398C2.79084 6.50355 2.67187 7.29901 2.67187 8.19034C2.67187 9.09588 2.79084 9.90021 3.02876 10.6033C3.27024 11.3065 3.62536 11.8995 4.09411 12.3825C4.56641 12.8654 5.15057 13.2312 5.84659 13.4798C6.54261 13.7319 7.34517 13.858 8.25426 13.858C8.64489 13.858 9.03018 13.8207 9.41016 13.7461C9.79013 13.6715 10.1257 13.5898 10.4169 13.5011C10.7081 13.4123 10.9176 13.3466 11.0455 13.304L11.3438 14.2841C11.1236 14.3764 10.8359 14.4688 10.4808 14.5611C10.1293 14.6534 9.75284 14.7298 9.35156 14.7901C8.95384 14.8505 8.57386 14.8807 8.21165 14.8807ZM7.59375 10.6406C8.0696 10.6406 8.4549 10.5447 8.74964 10.353C9.04439 10.1612 9.25923 9.8718 9.39418 9.48473C9.52912 9.09766 9.59659 8.60938 9.59659 8.01989C9.59659 7.4233 9.52202 6.9581 9.37287 6.62429C9.22372 6.29048 9.00355 6.05611 8.71236 5.92117C8.42116 5.78622 8.0625 5.71875 7.63636 5.71875C7.23153 5.71875 6.8853 5.82528 6.59766 6.03835C6.31357 6.24787 6.09517 6.52841 5.94247 6.87997C5.79332 7.22798 5.71875 7.60795 5.71875 8.01989C5.71875 8.47443 5.77912 8.90234 5.89986 9.30362C6.0206 9.70135 6.21768 10.0245 6.49112 10.2731C6.76456 10.5181 7.1321 10.6406 7.59375 10.6406Z"
1587
1587
  }, cl = {
@@ -1640,10 +1640,10 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
1640
1640
  }, Tl = {
1641
1641
  key: 45,
1642
1642
  d: "M5 2V14H1V2H5ZM10 2V14H6V2H10ZM15 2V14H11V2H15ZM4 3H2V13H4V3ZM9 3H7V13H9V3ZM14 3H12V13H14V3Z"
1643
- }, Sl = {
1643
+ }, Bl = {
1644
1644
  key: 49,
1645
1645
  d: "M8.5 0L8.50033 1.51897C11.6916 1.7619 14.2387 4.30926 14.4811 7.50067L16 7.5V8.5L14.481 8.50033C14.2381 11.6913 11.6913 14.2381 8.50033 14.481L8.5 16H7.5L7.50067 14.4811C4.30926 14.2387 1.7619 11.6916 1.51897 8.50033L0 8.5V7.5L1.51889 7.50067C1.76136 4.30893 4.30893 1.76136 7.50067 1.51889L7.5 0H8.5ZM8.50061 2.52239L8.5 4H7.5L7.50039 2.52239C4.86151 2.76 2.76 4.86151 2.52239 7.50039L4 7.5V8.5L2.52239 8.50061C2.76053 11.139 4.86184 13.24 7.50039 13.4776L7.5 12H8.5L8.50061 13.4776C11.1387 13.2395 13.2395 11.1387 13.4776 8.50061L12 8.5V7.5L13.4776 7.50039C13.247 4.93945 11.261 2.8846 8.73199 2.54828L8.50061 2.52239Z"
1646
- }, Bl = {
1646
+ }, Sl = {
1647
1647
  key: 50,
1648
1648
  d: "M13 7.5V8.5H3V7.5H13Z"
1649
1649
  }, zl = {
@@ -1749,10 +1749,10 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
1749
1749
  key: 124,
1750
1750
  "fill-rule": "evenodd",
1751
1751
  d: "M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM7.5 14.9824V1.01758C3.86736 1.27396 1 4.30212 1 8C1 11.6979 3.86736 14.726 7.5 14.9824ZM15 8C15 11.6979 12.1326 14.726 8.5 14.9824V1.01758C12.1326 1.27396 15 4.30212 15 8Z"
1752
- }, pn = {
1752
+ }, fn = {
1753
1753
  key: 126,
1754
1754
  d: "M7 2V9H14C14 12.866 10.866 16 7 16C3.13401 16 0 12.866 0 9C0 5.21455 3.00478 2.1309 6.75935 2.00406L7 2ZM6 3.084L5.89765 3.10104C3.11046 3.61862 1 6.06285 1 9C1 12.3137 3.68629 15 7 15C9.93715 15 12.3814 12.8895 12.899 10.1023L12.915 10H6V3.084ZM8 1C11.7855 1 14.8691 4.00478 14.9959 7.75935L15 8H8V1ZM9 2.084V7H13.915L13.899 6.89765C13.4477 4.46779 11.5322 2.55227 9.10235 2.10104L9 2.084Z"
1755
- }, fn = {
1755
+ }, pn = {
1756
1756
  key: 127,
1757
1757
  d: "M3.74609 2.56933C3.89878 2.47949 4.0883 2.47646 4.24316 2.5625L13.2432 7.5625C13.4018 7.65069 13.5 7.81845 13.5 8C13.5 8.18155 13.4018 8.3493 13.2432 8.4375L4.24316 13.4375C4.0883 13.5235 3.89878 13.5205 3.74609 13.4307C3.59363 13.3408 3.5 13.177 3.5 13V3C3.5 2.82298 3.59363 2.65922 3.74609 2.56933ZM4.5 12.1494L11.9688 8L4.5 3.84961V12.1494Z"
1758
1758
  }, cn = {
@@ -1815,10 +1815,10 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
1815
1815
  }, Tn = {
1816
1816
  key: 158,
1817
1817
  d: "M12 10C14.1614 10 15.8922 11.6993 15.9952 13.8494L16 14.0523V14.74C16 15.3912 15.5054 15.9288 14.8713 15.9935L14.7428 16H6.25723C5.60616 16 5.07086 15.5031 5.00649 14.8686L5 14.74V14.0523C5 11.8071 6.77109 10 9 10C9.27614 10 9.5 10.2239 9.5 10.5C9.5 10.7761 9.27614 11 9 11C7.38766 11 6.09529 12.2599 6.00504 13.8718L6 14.0523V14.74C6 14.8629 6.08528 14.9661 6.19853 14.9931L6.25723 15H14.7428C14.8638 15 14.9663 14.9143 14.9932 14.7995L15 14.74V14.0523C15 12.355 13.6721 11 12 11C11.7239 11 11.5 10.7761 11.5 10.5C11.5 10.2239 11.7239 10 12 10ZM4 6C4.27614 6 4.5 6.22386 4.5 6.5C4.5 6.77614 4.27614 7 4 7C2.32794 7 1 8.35497 1 10.0523C1 10.1752 1.08528 10.2784 1.19853 10.3054L1.25723 10.3123H5.06104C5.33718 10.3123 5.56104 10.5362 5.56104 10.8123C5.56104 11.0578 5.38416 11.2619 5.15091 11.3042L5.06104 11.3123H1.25723C0.562755 11.3123 0 10.7469 0 10.0523C0 7.80715 1.77109 6 4 6ZM10.5 4C12.1569 4 13.5 5.34315 13.5 7C13.5 8.65685 12.1569 10 10.5 10C8.84313 10 7.5 8.65685 7.5 7C7.5 5.34315 8.84313 4 10.5 4ZM10.5 5C9.39542 5 8.5 5.89543 8.5 7C8.5 8.10457 9.39542 9 10.5 9C11.6046 9 12.5 8.10457 12.5 7C12.5 5.89543 11.6046 5 10.5 5ZM6 6C6.29398 6 6.58346 6.03145 6.86497 6.09332C7.13468 6.1526 7.30526 6.41929 7.24598 6.689C7.1867 6.9587 6.92001 7.12929 6.65031 7.07001C6.43929 7.02363 6.22178 7 6 7C5.72386 7 5.5 6.77614 5.5 6.5C5.5 6.22386 5.72386 6 6 6ZM5 1C6.38072 1 7.5 2.11929 7.5 3.5C7.5 4.88071 6.38072 6 5 6C3.61928 6 2.5 4.88071 2.5 3.5C2.5 2.11929 3.61928 1 5 1ZM5 2C4.17157 2 3.5 2.67157 3.5 3.5C3.5 4.32843 4.17157 5 5 5C5.82843 5 6.5 4.32843 6.5 3.5C6.5 2.67157 5.82843 2 5 2Z"
1818
- }, Sn = {
1818
+ }, Bn = {
1819
1819
  key: 159,
1820
1820
  d: "M13.8545 0.115723L15.9067 5.75388L9.41795 8.11525C9.47132 8.29552 9.49997 8.48641 9.49997 8.68399C9.49997 9.42163 9.10064 10.066 8.50637 10.4127L10.6548 15.5167L9.73318 15.9048L7.53406 10.6827L7.46567 10.6837L5.26676 15.9048L4.34512 15.5167L6.49387 10.4129C5.89944 10.0662 5.49997 9.42175 5.49997 8.68399C5.49997 8.58006 5.5079 8.47799 5.52318 8.37834L1.45414 9.85898L0.0860596 6.10021L4.77006 4.39472L4.45758 3.53592L13.8545 0.115723ZM7.49997 7.68399C6.94768 7.68399 6.49997 8.13171 6.49997 8.68399C6.49997 9.23628 6.94768 9.68399 7.49997 9.68399C8.05225 9.68399 8.49997 9.23628 8.49997 8.68399C8.49997 8.13171 8.05225 7.68399 7.49997 7.68399ZM5.11206 5.33472L1.36723 6.69745L2.05127 8.57683L5.79606 7.21372L5.11206 5.33472ZM13.2564 1.39659L5.73884 4.13275L6.72397 6.84011C6.96258 6.73957 7.22479 6.68399 7.49997 6.68399C8.03847 6.68399 8.52727 6.89682 8.88683 7.24294L14.6245 5.15536L13.2564 1.39659Z"
1821
- }, Bn = {
1821
+ }, Sn = {
1822
1822
  key: 160,
1823
1823
  d: "M11 1V2H9V14H11V15H6V14H8V2H6V1H11Z"
1824
1824
  }, zn = {
@@ -1900,7 +1900,7 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
1900
1900
  ], 64)) : t.name === "arrow-down" ? (o(), i("path", ol)) : t.name === "arrow-from" ? (o(), i("path", sl)) : t.name === "arrow-left" ? (o(), i("path", al)) : t.name === "arrow-move" ? (o(), i("path", rl)) : t.name === "arrow-right" ? (o(), i("path", il)) : t.name === "arrow-sub" ? (o(), i("path", dl)) : t.name === "arrow-trend" ? (o(), i("path", ul)) : t.name === "arrow-up-plus" ? (o(), i(M, { key: 14 }, [
1901
1901
  e[14] || (e[14] = d("path", { d: "M10.7071 6.00007L6.00001 1.29297L1.29291 6.00007L2.00001 6.70718L5.49991 3.20697L5.50001 15.0001H6.50001L6.49991 3.20697L10 6.70718L10.7071 6.00007Z" }, null, -1)),
1902
1902
  e[15] || (e[15] = d("path", { d: "M13 11.5V9.5H12V11.5H10V12.5H12V14.5H13V12.5H15V11.5H13Z" }, null, -1))
1903
- ], 64)) : t.name === "arrow-up" ? (o(), i("path", pl)) : t.name === "at-symbol" ? (o(), i("path", fl)) : t.name === "audio" ? (o(), i(M, { key: 17 }, [
1903
+ ], 64)) : t.name === "arrow-up" ? (o(), i("path", fl)) : t.name === "at-symbol" ? (o(), i("path", pl)) : t.name === "audio" ? (o(), i(M, { key: 17 }, [
1904
1904
  e[16] || (e[16] = d("path", {
1905
1905
  "fill-rule": "evenodd",
1906
1906
  d: "M8.1709 2.12429C8.31855 1.9951 8.52838 1.96412 8.70703 2.04519C8.88538 2.12637 9 2.30427 9 2.50027V14.0003C8.99989 14.2024 8.87813 14.3848 8.69141 14.4622C8.50465 14.5395 8.28946 14.4967 8.14648 14.3538L4.29297 10.5003H1.5C1.22394 10.5003 1.00014 10.2763 1 10.0003V6.00027C1 5.72412 1.22386 5.50027 1.5 5.50027H4.3125L8.1709 2.12429ZM4.8291 6.37624C4.73797 6.45592 4.62105 6.50027 4.5 6.50027H2V9.50027H4.5C4.63261 9.50027 4.75975 9.55298 4.85352 9.64675L8 12.7932V3.60085L4.8291 6.37624Z"
@@ -1935,9 +1935,9 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
1935
1935
  d: "M7.84189 1.02566C7.94452 0.991447 8.05548 0.991447 8.15811 1.02566L15.6581 3.52566C15.8623 3.59372 16 3.78478 16 4C16 4.21522 15.8623 4.40628 15.6581 4.47434L8.15811 6.97434C8.05548 7.00855 7.94452 7.00855 7.84189 6.97434L0.341886 4.47434C0.137715 4.40628 0 4.21521 0 4C0 3.78478 0.137715 3.59372 0.341886 3.52566L7.84189 1.02566ZM2.08114 4L8 5.97295L13.9189 4L8 2.02705L2.08114 4Z"
1936
1936
  }, null, -1))
1937
1937
  ], 64)) : t.name === "building" ? (o(), i("path", hl)) : t.name === "bullet-list" ? (o(), i(M, { key: 25 }, [
1938
- e[28] || (e[28] = p1('<path fill-rule="evenodd" d="M14 4H6V3H14V4Z"></path><path fill-rule="evenodd" d="M4 4H2V3H4V4Z"></path><path fill-rule="evenodd" d="M14 9H6V8H14V9Z"></path><path fill-rule="evenodd" d="M4 9H2V8H4V9Z"></path><path fill-rule="evenodd" d="M14 14H6V13H14V14Z"></path><path fill-rule="evenodd" d="M4 14H2V13H4V14Z"></path>', 6))
1938
+ e[28] || (e[28] = f1('<path fill-rule="evenodd" d="M14 4H6V3H14V4Z"></path><path fill-rule="evenodd" d="M4 4H2V3H4V4Z"></path><path fill-rule="evenodd" d="M14 9H6V8H14V9Z"></path><path fill-rule="evenodd" d="M4 9H2V8H4V9Z"></path><path fill-rule="evenodd" d="M14 14H6V13H14V14Z"></path><path fill-rule="evenodd" d="M4 14H2V13H4V14Z"></path>', 6))
1939
1939
  ], 64)) : t.name === "calendar" ? (o(), i(M, { key: 26 }, [
1940
- e[29] || (e[29] = p1('<path d="M5 9V10H3V9H5Z"></path><path d="M9 10V9H7V10H9Z"></path><path d="M13 9V10H11V9H13Z"></path><path d="M5 13V12H3V13H5Z"></path><path d="M9 12V13H7V12H9Z"></path><path d="M13 13V12H11V13H13Z"></path><path fill-rule="evenodd" d="M5 2V0H4V2H0V16H16V2H12V0H11V2H5ZM1 3H14.999L14.9992 6H1V3ZM1 7V14.999H15L14.9993 7H1Z"></path>', 7))
1940
+ e[29] || (e[29] = f1('<path d="M5 9V10H3V9H5Z"></path><path d="M9 10V9H7V10H9Z"></path><path d="M13 9V10H11V9H13Z"></path><path d="M5 13V12H3V13H5Z"></path><path d="M9 12V13H7V12H9Z"></path><path d="M13 13V12H11V13H13Z"></path><path fill-rule="evenodd" d="M5 2V0H4V2H0V16H16V2H12V0H11V2H5ZM1 3H14.999L14.9992 6H1V3ZM1 7V14.999H15L14.9993 7H1Z"></path>', 7))
1941
1941
  ], 64)) : t.name === "camera" ? (o(), i(M, { key: 27 }, [
1942
1942
  e[30] || (e[30] = d("path", {
1943
1943
  "fill-rule": "evenodd",
@@ -1988,21 +1988,21 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
1988
1988
  d: "M12 12V0H0V12H12ZM1 1H11V11H1V1Z"
1989
1989
  }, null, -1)),
1990
1990
  e[47] || (e[47] = d("path", { d: "M16 16V3H13V4H15V15H4V13H3V16H16Z" }, null, -1))
1991
- ], 64)) : t.name === "crosshair" ? (o(), i("path", Sl)) : t.name === "dash" ? (o(), i("path", Bl)) : t.name === "dashboard" ? (o(), i("path", zl)) : t.name === "delete" ? (o(), i(M, { key: 52 }, [
1991
+ ], 64)) : t.name === "crosshair" ? (o(), i("path", Bl)) : t.name === "dash" ? (o(), i("path", Sl)) : t.name === "dashboard" ? (o(), i("path", zl)) : t.name === "delete" ? (o(), i(M, { key: 52 }, [
1992
1992
  e[48] || (e[48] = d("path", { d: "M11.3536 6.35353L10.6465 5.64642L9.00042 7.29342L7.35353 5.64642L6.64642 6.35353L8.29342 8.00042L6.64642 9.64642L7.35353 10.3536L9.00042 8.70742L10.6465 10.3536L11.3536 9.64642L9.70742 8.00042L11.3536 6.35353Z" }, null, -1)),
1993
1993
  e[49] || (e[49] = d("path", {
1994
1994
  "fill-rule": "evenodd",
1995
1995
  d: "M15.5 2.5H4.75968L0.35968 8L4.75968 13.5H15.5V2.5ZM1.6403 8L5.2403 3.5H14.5V12.5H5.2403L1.6403 8Z"
1996
1996
  }, null, -1))
1997
1997
  ], 64)) : t.name === "delta" ? (o(), i("path", Al)) : t.name === "download" ? (o(), i("path", Rl)) : t.name === "drag" ? (o(), i(M, { key: 55 }, [
1998
- e[50] || (e[50] = p1('<path fill-rule="evenodd" d="M4.99997 1.5C5.8284 1.5 6.49997 2.17157 6.49997 3C6.49997 3.82843 5.8284 4.5 4.99997 4.5C4.17154 4.5 3.49997 3.82843 3.49997 3C3.49997 2.17157 4.17154 1.5 4.99997 1.5ZM4.99997 3.5C5.27611 3.5 5.49997 3.27614 5.49997 3C5.49997 2.72386 5.27611 2.5 4.99997 2.5C4.72383 2.5 4.49997 2.72386 4.49997 3C4.49997 3.27614 4.72383 3.5 4.99997 3.5Z"></path><path fill-rule="evenodd" d="M6.49997 8C6.49997 7.17157 5.8284 6.5 4.99997 6.5C4.17154 6.5 3.49997 7.17157 3.49997 8C3.49997 8.82843 4.17154 9.5 4.99997 9.5C5.8284 9.5 6.49997 8.82843 6.49997 8ZM5.49997 8C5.49997 8.27614 5.27611 8.5 4.99997 8.5C4.72383 8.5 4.49997 8.27614 4.49997 8C4.49997 7.72386 4.72383 7.5 4.99997 7.5C5.27611 7.5 5.49997 7.72386 5.49997 8Z"></path><path fill-rule="evenodd" d="M4.99997 11.5C5.8284 11.5 6.49997 12.1716 6.49997 13C6.49997 13.8284 5.8284 14.5 4.99997 14.5C4.17154 14.5 3.49997 13.8284 3.49997 13C3.49997 12.1716 4.17154 11.5 4.99997 11.5ZM4.99997 13.5C5.27611 13.5 5.49997 13.2761 5.49997 13C5.49997 12.7239 5.27611 12.5 4.99997 12.5C4.72383 12.5 4.49997 12.7239 4.49997 13C4.49997 13.2761 4.72383 13.5 4.99997 13.5Z"></path><path fill-rule="evenodd" d="M11 1.5C11.8284 1.5 12.5 2.17157 12.5 3C12.5 3.82843 11.8284 4.5 11 4.5C10.1715 4.5 9.49997 3.82843 9.49997 3C9.49997 2.17157 10.1715 1.5 11 1.5ZM11 3.5C11.2761 3.5 11.5 3.27614 11.5 3C11.5 2.72386 11.2761 2.5 11 2.5C10.7238 2.5 10.5 2.72386 10.5 3C10.5 3.27614 10.7238 3.5 11 3.5Z"></path><path fill-rule="evenodd" d="M12.5 8C12.5 7.17157 11.8284 6.5 11 6.5C10.1715 6.5 9.49997 7.17157 9.49997 8C9.49997 8.82843 10.1715 9.5 11 9.5C11.8284 9.5 12.5 8.82843 12.5 8ZM11.5 8C11.5 8.27614 11.2761 8.5 11 8.5C10.7238 8.5 10.5 8.27614 10.5 8C10.5 7.72386 10.7238 7.5 11 7.5C11.2761 7.5 11.5 7.72386 11.5 8Z"></path><path fill-rule="evenodd" d="M11 11.5C11.8284 11.5 12.5 12.1716 12.5 13C12.5 13.8284 11.8284 14.5 11 14.5C10.1715 14.5 9.49997 13.8284 9.49997 13C9.49997 12.1716 10.1715 11.5 11 11.5ZM11 13.5C11.2761 13.5 11.5 13.2761 11.5 13C11.5 12.7239 11.2761 12.5 11 12.5C10.7238 12.5 10.5 12.7239 10.5 13C10.5 13.2761 10.7238 13.5 11 13.5Z"></path>', 6))
1998
+ e[50] || (e[50] = f1('<path fill-rule="evenodd" d="M4.99997 1.5C5.8284 1.5 6.49997 2.17157 6.49997 3C6.49997 3.82843 5.8284 4.5 4.99997 4.5C4.17154 4.5 3.49997 3.82843 3.49997 3C3.49997 2.17157 4.17154 1.5 4.99997 1.5ZM4.99997 3.5C5.27611 3.5 5.49997 3.27614 5.49997 3C5.49997 2.72386 5.27611 2.5 4.99997 2.5C4.72383 2.5 4.49997 2.72386 4.49997 3C4.49997 3.27614 4.72383 3.5 4.99997 3.5Z"></path><path fill-rule="evenodd" d="M6.49997 8C6.49997 7.17157 5.8284 6.5 4.99997 6.5C4.17154 6.5 3.49997 7.17157 3.49997 8C3.49997 8.82843 4.17154 9.5 4.99997 9.5C5.8284 9.5 6.49997 8.82843 6.49997 8ZM5.49997 8C5.49997 8.27614 5.27611 8.5 4.99997 8.5C4.72383 8.5 4.49997 8.27614 4.49997 8C4.49997 7.72386 4.72383 7.5 4.99997 7.5C5.27611 7.5 5.49997 7.72386 5.49997 8Z"></path><path fill-rule="evenodd" d="M4.99997 11.5C5.8284 11.5 6.49997 12.1716 6.49997 13C6.49997 13.8284 5.8284 14.5 4.99997 14.5C4.17154 14.5 3.49997 13.8284 3.49997 13C3.49997 12.1716 4.17154 11.5 4.99997 11.5ZM4.99997 13.5C5.27611 13.5 5.49997 13.2761 5.49997 13C5.49997 12.7239 5.27611 12.5 4.99997 12.5C4.72383 12.5 4.49997 12.7239 4.49997 13C4.49997 13.2761 4.72383 13.5 4.99997 13.5Z"></path><path fill-rule="evenodd" d="M11 1.5C11.8284 1.5 12.5 2.17157 12.5 3C12.5 3.82843 11.8284 4.5 11 4.5C10.1715 4.5 9.49997 3.82843 9.49997 3C9.49997 2.17157 10.1715 1.5 11 1.5ZM11 3.5C11.2761 3.5 11.5 3.27614 11.5 3C11.5 2.72386 11.2761 2.5 11 2.5C10.7238 2.5 10.5 2.72386 10.5 3C10.5 3.27614 10.7238 3.5 11 3.5Z"></path><path fill-rule="evenodd" d="M12.5 8C12.5 7.17157 11.8284 6.5 11 6.5C10.1715 6.5 9.49997 7.17157 9.49997 8C9.49997 8.82843 10.1715 9.5 11 9.5C11.8284 9.5 12.5 8.82843 12.5 8ZM11.5 8C11.5 8.27614 11.2761 8.5 11 8.5C10.7238 8.5 10.5 8.27614 10.5 8C10.5 7.72386 10.7238 7.5 11 7.5C11.2761 7.5 11.5 7.72386 11.5 8Z"></path><path fill-rule="evenodd" d="M11 11.5C11.8284 11.5 12.5 12.1716 12.5 13C12.5 13.8284 11.8284 14.5 11 14.5C10.1715 14.5 9.49997 13.8284 9.49997 13C9.49997 12.1716 10.1715 11.5 11 11.5ZM11 13.5C11.2761 13.5 11.5 13.2761 11.5 13C11.5 12.7239 11.2761 12.5 11 12.5C10.7238 12.5 10.5 12.7239 10.5 13C10.5 13.2761 10.7238 13.5 11 13.5Z"></path>', 6))
1999
1999
  ], 64)) : t.name === "drag-vertical" ? (o(), i(M, { key: 56 }, [
2000
2000
  e[51] || (e[51] = d("path", { d: "M10.3535 13.3535L8 15.707L5.64648 13.3535L6.35352 12.6465L8 14.293L9.64648 12.6465L10.3535 13.3535Z" }, null, -1)),
2001
2001
  e[52] || (e[52] = d("path", { d: "M14 10H2V9H14V10Z" }, null, -1)),
2002
2002
  e[53] || (e[53] = d("path", { d: "M14 7H2V6H14V7Z" }, null, -1)),
2003
2003
  e[54] || (e[54] = d("path", { d: "M10.3535 2.64648L9.64648 3.35352L8 1.70703L6.35352 3.35352L5.64648 2.64648L8 0.292969L10.3535 2.64648Z" }, null, -1))
2004
2004
  ], 64)) : t.name === "drilldown" ? (o(), i(M, { key: 57 }, [
2005
- e[55] || (e[55] = p1('<path d="M0.85359 2.14636L0.146484 2.85347L2.50004 5.20702L4.85359 2.85347L4.14648 2.14636L2.50004 3.79281L0.85359 2.14636Z"></path><path d="M6 3H15V4H6V3Z"></path><path d="M9 8H15V9H9V8Z"></path><path d="M9 13H15V14H9V13Z"></path><path d="M6.35353 15.3535L5.64642 14.6464L6.79287 13.5L5.64642 12.3535L6.35353 11.6464L8.20708 13.5L6.35353 15.3535Z"></path><path d="M5.64642 9.64642L6.35353 10.3535L8.20708 8.49997L6.35353 6.64642L5.64642 7.35353L6.79287 8.49997L5.64642 9.64642Z"></path>', 6))
2005
+ e[55] || (e[55] = f1('<path d="M0.85359 2.14636L0.146484 2.85347L2.50004 5.20702L4.85359 2.85347L4.14648 2.14636L2.50004 3.79281L0.85359 2.14636Z"></path><path d="M6 3H15V4H6V3Z"></path><path d="M9 8H15V9H9V8Z"></path><path d="M9 13H15V14H9V13Z"></path><path d="M6.35353 15.3535L5.64642 14.6464L6.79287 13.5L5.64642 12.3535L6.35353 11.6464L8.20708 13.5L6.35353 15.3535Z"></path><path d="M5.64642 9.64642L6.35353 10.3535L8.20708 8.49997L6.35353 6.64642L5.64642 7.35353L6.79287 8.49997L5.64642 9.64642Z"></path>', 6))
2006
2006
  ], 64)) : t.name === "edit" ? (o(), i(M, { key: 58 }, [
2007
2007
  e[56] || (e[56] = d("path", {
2008
2008
  "fill-rule": "evenodd",
@@ -2069,9 +2069,9 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
2069
2069
  d: "M11.2383 1.89399C12.1091 1.60371 13.0349 2.15649 13.1914 3.06099L13.6846 5.91548L13.6865 5.92427L13.9287 7.50044H15.5C15.7761 7.50044 16 7.7243 16 8.00044C15.9998 8.27638 15.776 8.50044 15.5 8.50044H0.5C0.224003 8.50044 0.000235454 8.27638 0 8.00044C0 7.7243 0.223858 7.50044 0.5 7.50044H2.07129L2.31348 5.92427L2.31445 5.91548L2.80859 3.06099C2.96514 2.15649 3.89088 1.60371 4.76172 1.89399L5.62793 2.18306C7.16735 2.69617 8.83265 2.69617 10.3721 2.18306L11.2383 1.89399ZM3.08301 7.50044H12.917L12.7637 6.50044H3.23633L3.08301 7.50044ZM11.5547 2.84224L10.6875 3.1313C8.94301 3.71268 7.05699 3.71268 5.3125 3.1313L4.44531 2.84224C4.15503 2.74548 3.84613 2.93038 3.79395 3.23188L3.40234 5.50044H12.5977L12.2061 3.23188C12.1539 2.93038 11.845 2.74548 11.5547 2.84224Z"
2070
2070
  }, null, -1))
2071
2071
  ], 64)) : t.name === "indent-left" ? (o(), i(M, { key: 81 }, [
2072
- e[83] || (e[83] = p1('<path d="M15 2H1V1H15V2Z"></path><path d="M15 6H10V5H15V6Z"></path><path d="M10 11H15V10H10V11Z"></path><path d="M15 15H1V14H15V15Z"></path><path d="M1 7.00001L4.70711 3.29291L5.41421 4.00001L2.91511 6.49991L8.70711 6.50001V7.50001L2.91511 7.49991L5.41421 10L4.70711 10.7071L1 7.00001Z"></path>', 5))
2072
+ e[83] || (e[83] = f1('<path d="M15 2H1V1H15V2Z"></path><path d="M15 6H10V5H15V6Z"></path><path d="M10 11H15V10H10V11Z"></path><path d="M15 15H1V14H15V15Z"></path><path d="M1 7.00001L4.70711 3.29291L5.41421 4.00001L2.91511 6.49991L8.70711 6.50001V7.50001L2.91511 7.49991L5.41421 10L4.70711 10.7071L1 7.00001Z"></path>', 5))
2073
2073
  ], 64)) : t.name === "indent-right" ? (o(), i(M, { key: 82 }, [
2074
- e[84] || (e[84] = p1('<path d="M15 2H1V1H15V2Z"></path><path d="M15 6H10V5H15V6Z"></path><path d="M10 11H15V10H10V11Z"></path><path d="M15 15H1V14H15V15Z"></path><path d="M8.70711 7.00001L5 3.29291L4.29289 4.00001L6.792 6.49991L1 6.50001V7.50001L6.792 7.49991L4.29289 10L5 10.7071L8.70711 7.00001Z"></path>', 5))
2074
+ e[84] || (e[84] = f1('<path d="M15 2H1V1H15V2Z"></path><path d="M15 6H10V5H15V6Z"></path><path d="M10 11H15V10H10V11Z"></path><path d="M15 15H1V14H15V15Z"></path><path d="M8.70711 7.00001L5 3.29291L4.29289 4.00001L6.792 6.49991L1 6.50001V7.50001L6.792 7.49991L4.29289 10L5 10.7071L8.70711 7.00001Z"></path>', 5))
2075
2075
  ], 64)) : t.name === "information" ? (o(), i(M, { key: 83 }, [
2076
2076
  e[85] || (e[85] = d("path", { d: "M7.5 5V4H8.5V5H7.5Z" }, null, -1)),
2077
2077
  e[86] || (e[86] = d("path", { d: "M7.5 7V12H8.5V7H7.5Z" }, null, -1)),
@@ -2085,9 +2085,9 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
2085
2085
  e[90] || (e[90] = d("path", { d: "M13 5H3V4H13V5Z" }, null, -1)),
2086
2086
  e[91] || (e[91] = d("path", { d: "M13 2H3V1H13V2Z" }, null, -1))
2087
2087
  ], 64)) : t.name === "italics" ? (o(), i("path", Ql)) : t.name === "itenary" ? (o(), i(M, { key: 86 }, [
2088
- e[92] || (e[92] = p1('<path d="M6 3V4H4V3H6Z"></path><path d="M6 7V6H4V7H6Z"></path><path d="M6 9V10H4V9H6Z"></path><path d="M6 13V12H4V13H6Z"></path><path d="M12 3V4H7V3H12Z"></path><path d="M12 7V6H7V7H12Z"></path><path d="M12 9V10H7V9H12Z"></path><path d="M12 13V12H7V13H12Z"></path><path fill-rule="evenodd" d="M15 0V16H1V0H15ZM14 1H2V15H14V1Z"></path>', 9))
2088
+ e[92] || (e[92] = f1('<path d="M6 3V4H4V3H6Z"></path><path d="M6 7V6H4V7H6Z"></path><path d="M6 9V10H4V9H6Z"></path><path d="M6 13V12H4V13H6Z"></path><path d="M12 3V4H7V3H12Z"></path><path d="M12 7V6H7V7H12Z"></path><path d="M12 9V10H7V9H12Z"></path><path d="M12 13V12H7V13H12Z"></path><path fill-rule="evenodd" d="M15 0V16H1V0H15ZM14 1H2V15H14V1Z"></path>', 9))
2089
2089
  ], 64)) : t.name === "keyboard" ? (o(), i(M, { key: 87 }, [
2090
- e[93] || (e[93] = p1('<path fill-rule="evenodd" d="M1 3V6H4V3H1ZM3 4H2V5H3V4Z"></path><path fill-rule="evenodd" d="M5 3V6H8V3H5ZM7 4H6V5H7V4Z"></path><path fill-rule="evenodd" d="M1 7H4V10H1V7ZM2 8H3V9H2V8Z"></path><path fill-rule="evenodd" d="M5 11V14H12V11H5ZM11 12H6V13H11V12Z"></path><path fill-rule="evenodd" d="M9 3H12V6H9V3ZM10 4H11V5H10V4Z"></path><path fill-rule="evenodd" d="M5 7V10H8V7H5ZM7 8H6V9H7V8Z"></path><path fill-rule="evenodd" d="M13 3H16V6H13V3ZM14 4H15V5H14V4Z"></path><path fill-rule="evenodd" d="M9 7V10H12V7H9ZM11 8H10V9H11V8Z"></path><path fill-rule="evenodd" d="M13 7H16V10H13V7ZM14 8H15V9H14V8Z"></path>', 9))
2090
+ e[93] || (e[93] = f1('<path fill-rule="evenodd" d="M1 3V6H4V3H1ZM3 4H2V5H3V4Z"></path><path fill-rule="evenodd" d="M5 3V6H8V3H5ZM7 4H6V5H7V4Z"></path><path fill-rule="evenodd" d="M1 7H4V10H1V7ZM2 8H3V9H2V8Z"></path><path fill-rule="evenodd" d="M5 11V14H12V11H5ZM11 12H6V13H11V12Z"></path><path fill-rule="evenodd" d="M9 3H12V6H9V3ZM10 4H11V5H10V4Z"></path><path fill-rule="evenodd" d="M5 7V10H8V7H5ZM7 8H6V9H7V8Z"></path><path fill-rule="evenodd" d="M13 3H16V6H13V3ZM14 4H15V5H14V4Z"></path><path fill-rule="evenodd" d="M9 7V10H12V7H9ZM11 8H10V9H11V8Z"></path><path fill-rule="evenodd" d="M13 7H16V10H13V7ZM14 8H15V9H14V8Z"></path>', 9))
2091
2091
  ], 64)) : t.name === "key-cmd" ? (o(), i("path", ql)) : t.name === "key-ctrl" ? (o(), i(M, { key: 89 }, [
2092
2092
  e[94] || (e[94] = d("path", { d: "M3.60059 5.36523C3.96488 5.36523 4.30402 5.41631 4.61719 5.51855C4.9304 5.62083 5.21005 5.7706 5.45508 5.96875C5.70007 6.16475 5.90094 6.40594 6.05859 6.69141C6.21839 6.97479 6.32306 7.29874 6.37207 7.66309H5.17676C5.14267 7.46706 5.0799 7.29288 4.98828 7.1416C4.89672 6.98835 4.78272 6.85841 4.64648 6.75195C4.51018 6.64546 4.35431 6.56596 4.17969 6.5127C4.0071 6.4573 3.8204 6.42969 3.62012 6.42969C3.26433 6.4297 2.94866 6.51928 2.67383 6.69824C2.39919 6.87508 2.18377 7.13469 2.02832 7.47754C1.87279 7.81844 1.79492 8.23537 1.79492 8.72754C1.79495 9.22813 1.87281 9.65019 2.02832 9.99316C2.18596 10.334 2.4012 10.5919 2.67383 10.7666C2.94869 10.9392 3.26349 11.0254 3.61719 11.0254C3.81315 11.0254 3.99659 10.9994 4.16699 10.9482C4.33945 10.895 4.4936 10.8171 4.62988 10.7148C4.76838 10.6126 4.88477 10.487 4.97852 10.3379C5.07429 10.1889 5.14053 10.0187 5.17676 9.82715L6.37207 9.83301C6.32733 10.1441 6.2302 10.4363 6.08105 10.709C5.93412 10.9815 5.74135 11.222 5.50293 11.4307C5.26429 11.6373 4.98464 11.7998 4.66504 11.917C4.34551 12.032 3.99039 12.0898 3.60059 12.0898C3.02557 12.0898 2.51209 11.9566 2.06055 11.6904C1.60884 11.4241 1.25311 11.039 0.993164 10.5361C0.733267 10.0334 0.603548 9.43053 0.603516 8.72754C0.603516 8.02228 0.73402 7.41868 0.996094 6.91797C1.25816 6.41523 1.61574 6.03095 2.06738 5.76465C2.5189 5.49849 3.02987 5.36531 3.60059 5.36523Z" }, null, -1)),
2093
2093
  e[95] || (e[95] = d("path", { d: "M8.7998 7.09082H9.76758V7.98535H8.7998V10.5234C8.7998 10.679 8.82324 10.7987 8.87012 10.8818C8.91907 10.9626 8.98286 11.0181 9.06152 11.0479C9.14036 11.0777 9.22834 11.0928 9.32422 11.0928C9.39633 11.0928 9.46205 11.0868 9.52148 11.0762C9.58294 11.0656 9.63016 11.0563 9.66211 11.0479L9.85742 11.9521C9.79564 11.9734 9.70677 11.9969 9.5918 12.0225C9.47896 12.048 9.34059 12.0631 9.17676 12.0674C8.887 12.0759 8.62579 12.0324 8.39355 11.9365C8.16136 11.8385 7.97717 11.6869 7.84082 11.4824C7.70659 11.2779 7.64045 11.0217 7.64258 10.7148V7.98535H6.94629V7.09082H7.64258V5.91504H8.7998V7.09082Z" }, null, -1)),
@@ -2166,7 +2166,7 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
2166
2166
  }, null, -1)),
2167
2167
  e[125] || (e[125] = d("path", { d: "M5 5V7H7V8H5V10H4V8H2V7H4V5H5Z" }, null, -1))
2168
2168
  ], 64)) : t.name === "news" ? (o(), i("path", sn)) : t.name === "numbered-list" ? (o(), i(M, { key: 111 }, [
2169
- e[126] || (e[126] = p1('<path d="M2.76288 2.07468C2.91029 2.16578 3.00002 2.32671 3.00002 2.5V6H4.00002V7H1.00001V6H2.00002V3.30902L1.27641 3.67082L0.829193 2.77639L2.27641 2.05279C2.43141 1.97529 2.61548 1.98357 2.76288 2.07468Z"></path><path d="M1.77978 10.4083C1.72505 10.4724 1.66828 10.5388 1.60356 10.6036L0.896449 9.89645L0.899051 9.89369L0.907402 9.88438C0.914905 9.87582 0.924156 9.8649 0.936372 9.85022L0.95822 9.8238C0.978608 9.79909 1.00411 9.76818 1.02919 9.73868C1.10391 9.65077 1.20503 9.53881 1.33419 9.43004C1.59924 9.20684 1.9802 9 2.5 9C2.83674 9 3.21235 9.09412 3.51225 9.35028C3.82537 9.61774 4 10.0144 4 10.5C4 10.8755 3.85969 11.2168 3.68088 11.5102C3.50179 11.8041 3.26329 12.0836 3.02102 12.342C2.85943 12.5143 2.68235 12.6914 2.51227 12.8616L2.51151 12.8623C2.46502 12.9088 2.41905 12.9548 2.37407 13H4V14H1.25C1.06062 14 0.887485 13.893 0.802789 13.7236C0.718093 13.5542 0.736371 13.3515 0.850003 13.2C1.05871 12.9217 1.31288 12.652 1.56165 12.3992C1.64988 12.3096 1.73629 12.2232 1.82098 12.1385C1.9839 11.9757 2.14051 11.8191 2.29148 11.658C2.51797 11.4164 2.70134 11.1959 2.82694 10.9898C2.95282 10.7832 3 10.6245 3 10.5C3 10.2668 2.92463 10.1635 2.86276 10.1107C2.78766 10.0465 2.66327 10 2.5 10C2.12849 10 1.96593 10.1903 1.77978 10.4083Z"></path><path d="M15.5 3H6.5V4H15.5V3Z"></path><path d="M6.5 8H15.5V9H6.5V8Z"></path><path d="M15.5 13H6.5V14H15.5V13Z"></path>', 5))
2169
+ e[126] || (e[126] = f1('<path d="M2.76288 2.07468C2.91029 2.16578 3.00002 2.32671 3.00002 2.5V6H4.00002V7H1.00001V6H2.00002V3.30902L1.27641 3.67082L0.829193 2.77639L2.27641 2.05279C2.43141 1.97529 2.61548 1.98357 2.76288 2.07468Z"></path><path d="M1.77978 10.4083C1.72505 10.4724 1.66828 10.5388 1.60356 10.6036L0.896449 9.89645L0.899051 9.89369L0.907402 9.88438C0.914905 9.87582 0.924156 9.8649 0.936372 9.85022L0.95822 9.8238C0.978608 9.79909 1.00411 9.76818 1.02919 9.73868C1.10391 9.65077 1.20503 9.53881 1.33419 9.43004C1.59924 9.20684 1.9802 9 2.5 9C2.83674 9 3.21235 9.09412 3.51225 9.35028C3.82537 9.61774 4 10.0144 4 10.5C4 10.8755 3.85969 11.2168 3.68088 11.5102C3.50179 11.8041 3.26329 12.0836 3.02102 12.342C2.85943 12.5143 2.68235 12.6914 2.51227 12.8616L2.51151 12.8623C2.46502 12.9088 2.41905 12.9548 2.37407 13H4V14H1.25C1.06062 14 0.887485 13.893 0.802789 13.7236C0.718093 13.5542 0.736371 13.3515 0.850003 13.2C1.05871 12.9217 1.31288 12.652 1.56165 12.3992C1.64988 12.3096 1.73629 12.2232 1.82098 12.1385C1.9839 11.9757 2.14051 11.8191 2.29148 11.658C2.51797 11.4164 2.70134 11.1959 2.82694 10.9898C2.95282 10.7832 3 10.6245 3 10.5C3 10.2668 2.92463 10.1635 2.86276 10.1107C2.78766 10.0465 2.66327 10 2.5 10C2.12849 10 1.96593 10.1903 1.77978 10.4083Z"></path><path d="M15.5 3H6.5V4H15.5V3Z"></path><path d="M6.5 8H15.5V9H6.5V8Z"></path><path d="M15.5 13H6.5V14H15.5V13Z"></path>', 5))
2170
2170
  ], 64)) : t.name === "open-link" ? (o(), i(M, { key: 112 }, [
2171
2171
  e[127] || (e[127] = d("path", { d: "M15 6H16V0H9.99997V1H14.2915L7.14642 8.14645L7.85353 8.85355L14.9995 1.707L15 6Z" }, null, -1)),
2172
2172
  e[128] || (e[128] = d("path", { d: "M7 3V2H0V16H14V7H13L12.999 15H1V3H7Z" }, null, -1))
@@ -2184,15 +2184,15 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
2184
2184
  d: "M13 6.5C12.1716 6.5 11.5 7.17157 11.5 8C11.5 8.82843 12.1716 9.5 13 9.5C13.8284 9.5 14.5 8.82843 14.5 8C14.5 7.17157 13.8284 6.5 13 6.5ZM13 7.5C13.2761 7.5 13.5 7.72386 13.5 8C13.5 8.27614 13.2761 8.5 13 8.5C12.7239 8.5 12.5 8.27614 12.5 8C12.5 7.72386 12.7239 7.5 13 7.5Z"
2185
2185
  }, null, -1))
2186
2186
  ], 64)) : t.name === "page" ? (o(), i(M, { key: 114 }, [
2187
- e[132] || (e[132] = p1('<path d="M8 3V4H4V3H8Z"></path><path d="M12 7V6H4V7H12Z"></path><path d="M12 9V10H4V9H12Z"></path><path d="M12 13V12H4V13H12Z"></path><path fill-rule="evenodd" d="M15 0V16H1V0H15ZM14 1H2V15H14V1Z"></path>', 5))
2187
+ e[132] || (e[132] = f1('<path d="M8 3V4H4V3H8Z"></path><path d="M12 7V6H4V7H12Z"></path><path d="M12 9V10H4V9H12Z"></path><path d="M12 13V12H4V13H12Z"></path><path fill-rule="evenodd" d="M15 0V16H1V0H15ZM14 1H2V15H14V1Z"></path>', 5))
2188
2188
  ], 64)) : t.name === "panel-left-show" ? (o(), i(M, { key: 115 }, [
2189
- e[133] || (e[133] = p1('<path d="M4.5 9C4.77614 9 5 9.22386 5 9.5C5 9.77614 4.77614 10 4.5 10H2.5C2.22386 10 2 9.77614 2 9.5C2 9.22386 2.22386 9 2.5 9H4.5Z"></path><path d="M4.5 7C4.77614 7 5 7.22386 5 7.5C5 7.77614 4.77614 8 4.5 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H4.5Z"></path><path d="M4.5 5C4.77614 5 5 5.22386 5 5.5C5 5.77614 4.77614 6 4.5 6H2.5C2.22386 6 2 5.77614 2 5.5C2 5.22386 2.22386 5 2.5 5H4.5Z"></path><path d="M4.5 3C4.77614 3 5 3.22386 5 3.5C5 3.77614 4.77614 4 4.5 4H2.5C2.22386 4 2 3.77614 2 3.5C2 3.22386 2.22386 3 2.5 3H4.5Z"></path><path d="M11.7246 4.58203C11.9187 4.45387 12.1827 4.47562 12.3535 4.64648C12.5244 4.81735 12.5461 5.08132 12.418 5.27539L12.3535 5.35352L10.707 7L12.3535 8.64648C12.5488 8.84174 12.5488 9.15825 12.3535 9.35352C12.1583 9.54877 11.8417 9.54877 11.6465 9.35352L9.29297 7L11.6465 4.64648L11.7246 4.58203Z"></path><path fill-rule="evenodd" d="M14 0C15.1046 0 16 0.895431 16 2V13L15.9893 13.2041C15.8938 14.1457 15.1457 14.8938 14.2041 14.9893L14 15H2L1.7959 14.9893C0.854347 14.8938 0.1062 14.1457 0.0107422 13.2041L0 13V2C0 0.964349 0.787223 0.113005 1.7959 0.0107422L2 0H14ZM2 1C1.48232 1 1.05621 1.39333 1.00488 1.89746L1 2V13C1 13.5523 1.44772 14 2 14H6V1H2ZM7 14H14C14.5523 14 15 13.5523 15 13V2C15 1.44772 14.5523 1 14 1H7V14Z"></path><path d="M4.5 11C4.77614 11 5 11.2239 5 11.5C5 11.7761 4.77614 12 4.5 12H2.5C2.22386 12 2 11.7761 2 11.5C2 11.2239 2.22386 11 2.5 11H4.5Z"></path>', 7))
2189
+ e[133] || (e[133] = f1('<path d="M4.5 9C4.77614 9 5 9.22386 5 9.5C5 9.77614 4.77614 10 4.5 10H2.5C2.22386 10 2 9.77614 2 9.5C2 9.22386 2.22386 9 2.5 9H4.5Z"></path><path d="M4.5 7C4.77614 7 5 7.22386 5 7.5C5 7.77614 4.77614 8 4.5 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H4.5Z"></path><path d="M4.5 5C4.77614 5 5 5.22386 5 5.5C5 5.77614 4.77614 6 4.5 6H2.5C2.22386 6 2 5.77614 2 5.5C2 5.22386 2.22386 5 2.5 5H4.5Z"></path><path d="M4.5 3C4.77614 3 5 3.22386 5 3.5C5 3.77614 4.77614 4 4.5 4H2.5C2.22386 4 2 3.77614 2 3.5C2 3.22386 2.22386 3 2.5 3H4.5Z"></path><path d="M11.7246 4.58203C11.9187 4.45387 12.1827 4.47562 12.3535 4.64648C12.5244 4.81735 12.5461 5.08132 12.418 5.27539L12.3535 5.35352L10.707 7L12.3535 8.64648C12.5488 8.84174 12.5488 9.15825 12.3535 9.35352C12.1583 9.54877 11.8417 9.54877 11.6465 9.35352L9.29297 7L11.6465 4.64648L11.7246 4.58203Z"></path><path fill-rule="evenodd" d="M14 0C15.1046 0 16 0.895431 16 2V13L15.9893 13.2041C15.8938 14.1457 15.1457 14.8938 14.2041 14.9893L14 15H2L1.7959 14.9893C0.854347 14.8938 0.1062 14.1457 0.0107422 13.2041L0 13V2C0 0.964349 0.787223 0.113005 1.7959 0.0107422L2 0H14ZM2 1C1.48232 1 1.05621 1.39333 1.00488 1.89746L1 2V13C1 13.5523 1.44772 14 2 14H6V1H2ZM7 14H14C14.5523 14 15 13.5523 15 13V2C15 1.44772 14.5523 1 14 1H7V14Z"></path><path d="M4.5 11C4.77614 11 5 11.2239 5 11.5C5 11.7761 4.77614 12 4.5 12H2.5C2.22386 12 2 11.7761 2 11.5C2 11.2239 2.22386 11 2.5 11H4.5Z"></path>', 7))
2190
2190
  ], 64)) : t.name === "panel-left-hide" ? (o(), i(M, { key: 116 }, [
2191
- e[134] || (e[134] = p1('<path d="M4.5 9C4.77614 9 5 9.22386 5 9.5C5 9.77614 4.77614 10 4.5 10H2.5C2.22386 10 2 9.77614 2 9.5C2 9.22386 2.22386 9 2.5 9H4.5Z"></path><path d="M4.5 7C4.77614 7 5 7.22386 5 7.5C5 7.77614 4.77614 8 4.5 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H4.5Z"></path><path d="M4.5 5C4.77614 5 5 5.22386 5 5.5C5 5.77614 4.77614 6 4.5 6H2.5C2.22386 6 2 5.77614 2 5.5C2 5.22386 2.22386 5 2.5 5H4.5Z"></path><path d="M4.5 3C4.77614 3 5 3.22386 5 3.5C5 3.77614 4.77614 4 4.5 4H2.5C2.22386 4 2 3.77614 2 3.5C2 3.22386 2.22386 3 2.5 3H4.5Z"></path><path d="M9.93945 4.64648C10.1103 4.47565 10.3743 4.45388 10.5684 4.58203L10.6465 4.64648L13 7L10.6465 9.35352C10.4512 9.54876 10.1347 9.54874 9.93945 9.35352C9.7442 9.15825 9.74419 8.84174 9.93945 8.64648L11.5859 7L9.93945 5.35352L9.875 5.27539C9.74684 5.08132 9.7686 4.81735 9.93945 4.64648Z"></path><path fill-rule="evenodd" d="M14 0C15.1046 0 16 0.895431 16 2V13L15.9893 13.2041C15.8938 14.1457 15.1457 14.8938 14.2041 14.9893L14 15H2L1.7959 14.9893C0.854347 14.8938 0.1062 14.1457 0.0107422 13.2041L0 13V2C0 0.964349 0.787223 0.113005 1.7959 0.0107422L2 0H14ZM2 1C1.48232 1 1.05621 1.39333 1.00488 1.89746L1 2V13C1 13.5523 1.44772 14 2 14H6V1H2ZM7 14H14C14.5523 14 15 13.5523 15 13V2C15 1.44772 14.5523 1 14 1H7V14Z"></path><path d="M4.5 11C4.77614 11 5 11.2239 5 11.5C5 11.7761 4.77614 12 4.5 12H2.5C2.22386 12 2 11.7761 2 11.5C2 11.2239 2.22386 11 2.5 11H4.5Z"></path>', 7))
2191
+ e[134] || (e[134] = f1('<path d="M4.5 9C4.77614 9 5 9.22386 5 9.5C5 9.77614 4.77614 10 4.5 10H2.5C2.22386 10 2 9.77614 2 9.5C2 9.22386 2.22386 9 2.5 9H4.5Z"></path><path d="M4.5 7C4.77614 7 5 7.22386 5 7.5C5 7.77614 4.77614 8 4.5 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H4.5Z"></path><path d="M4.5 5C4.77614 5 5 5.22386 5 5.5C5 5.77614 4.77614 6 4.5 6H2.5C2.22386 6 2 5.77614 2 5.5C2 5.22386 2.22386 5 2.5 5H4.5Z"></path><path d="M4.5 3C4.77614 3 5 3.22386 5 3.5C5 3.77614 4.77614 4 4.5 4H2.5C2.22386 4 2 3.77614 2 3.5C2 3.22386 2.22386 3 2.5 3H4.5Z"></path><path d="M9.93945 4.64648C10.1103 4.47565 10.3743 4.45388 10.5684 4.58203L10.6465 4.64648L13 7L10.6465 9.35352C10.4512 9.54876 10.1347 9.54874 9.93945 9.35352C9.7442 9.15825 9.74419 8.84174 9.93945 8.64648L11.5859 7L9.93945 5.35352L9.875 5.27539C9.74684 5.08132 9.7686 4.81735 9.93945 4.64648Z"></path><path fill-rule="evenodd" d="M14 0C15.1046 0 16 0.895431 16 2V13L15.9893 13.2041C15.8938 14.1457 15.1457 14.8938 14.2041 14.9893L14 15H2L1.7959 14.9893C0.854347 14.8938 0.1062 14.1457 0.0107422 13.2041L0 13V2C0 0.964349 0.787223 0.113005 1.7959 0.0107422L2 0H14ZM2 1C1.48232 1 1.05621 1.39333 1.00488 1.89746L1 2V13C1 13.5523 1.44772 14 2 14H6V1H2ZM7 14H14C14.5523 14 15 13.5523 15 13V2C15 1.44772 14.5523 1 14 1H7V14Z"></path><path d="M4.5 11C4.77614 11 5 11.2239 5 11.5C5 11.7761 4.77614 12 4.5 12H2.5C2.22386 12 2 11.7761 2 11.5C2 11.2239 2.22386 11 2.5 11H4.5Z"></path>', 7))
2192
2192
  ], 64)) : t.name === "panel-right-show" ? (o(), i(M, { key: 117 }, [
2193
- e[135] || (e[135] = p1('<path d="M3.93945 4.64648C4.11032 4.47566 4.37429 4.45388 4.56836 4.58203L4.64648 4.64648L7 7L4.64648 9.35352C4.45123 9.54876 4.13471 9.54873 3.93945 9.35352C3.7442 9.15825 3.7442 8.84174 3.93945 8.64648L5.58594 7L3.93945 5.35352L3.875 5.27539C3.74684 5.08132 3.7686 4.81735 3.93945 4.64648Z"></path><path d="M13.5 9C13.7761 9 14 9.22386 14 9.5C14 9.77614 13.7761 10 13.5 10H11.5C11.2239 10 11 9.77614 11 9.5C11 9.22386 11.2239 9 11.5 9H13.5Z"></path><path d="M13.5 7C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H11.5C11.2239 8 11 7.77614 11 7.5C11 7.22386 11.2239 7 11.5 7H13.5Z"></path><path d="M13.5 5C13.7761 5 14 5.22386 14 5.5C14 5.77614 13.7761 6 13.5 6H11.5C11.2239 6 11 5.77614 11 5.5C11 5.22386 11.2239 5 11.5 5H13.5Z"></path><path d="M13.5 3C13.7761 3 14 3.22386 14 3.5C14 3.77614 13.7761 4 13.5 4H11.5C11.2239 4 11 3.77614 11 3.5C11 3.22386 11.2239 3 11.5 3H13.5Z"></path><path fill-rule="evenodd" d="M14 0C15.1046 0 16 0.895431 16 2V13L15.9893 13.2041C15.8938 14.1457 15.1457 14.8938 14.2041 14.9893L14 15H2L1.7959 14.9893C0.854347 14.8938 0.1062 14.1457 0.0107422 13.2041L0 13V2C0 0.964349 0.787223 0.113005 1.7959 0.0107422L2 0H14ZM2 1C1.48232 1 1.05621 1.39333 1.00488 1.89746L1 2V13C1 13.5523 1.44772 14 2 14H9V1H2ZM10 14H14C14.5523 14 15 13.5523 15 13V2C15 1.44772 14.5523 1 14 1H10V14Z"></path><path d="M13.5 11C13.7761 11 14 11.2239 14 11.5C14 11.7761 13.7761 12 13.5 12H11.5C11.2239 12 11 11.7761 11 11.5C11 11.2239 11.2239 11 11.5 11H13.5Z"></path>', 7))
2193
+ e[135] || (e[135] = f1('<path d="M3.93945 4.64648C4.11032 4.47566 4.37429 4.45388 4.56836 4.58203L4.64648 4.64648L7 7L4.64648 9.35352C4.45123 9.54876 4.13471 9.54873 3.93945 9.35352C3.7442 9.15825 3.7442 8.84174 3.93945 8.64648L5.58594 7L3.93945 5.35352L3.875 5.27539C3.74684 5.08132 3.7686 4.81735 3.93945 4.64648Z"></path><path d="M13.5 9C13.7761 9 14 9.22386 14 9.5C14 9.77614 13.7761 10 13.5 10H11.5C11.2239 10 11 9.77614 11 9.5C11 9.22386 11.2239 9 11.5 9H13.5Z"></path><path d="M13.5 7C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H11.5C11.2239 8 11 7.77614 11 7.5C11 7.22386 11.2239 7 11.5 7H13.5Z"></path><path d="M13.5 5C13.7761 5 14 5.22386 14 5.5C14 5.77614 13.7761 6 13.5 6H11.5C11.2239 6 11 5.77614 11 5.5C11 5.22386 11.2239 5 11.5 5H13.5Z"></path><path d="M13.5 3C13.7761 3 14 3.22386 14 3.5C14 3.77614 13.7761 4 13.5 4H11.5C11.2239 4 11 3.77614 11 3.5C11 3.22386 11.2239 3 11.5 3H13.5Z"></path><path fill-rule="evenodd" d="M14 0C15.1046 0 16 0.895431 16 2V13L15.9893 13.2041C15.8938 14.1457 15.1457 14.8938 14.2041 14.9893L14 15H2L1.7959 14.9893C0.854347 14.8938 0.1062 14.1457 0.0107422 13.2041L0 13V2C0 0.964349 0.787223 0.113005 1.7959 0.0107422L2 0H14ZM2 1C1.48232 1 1.05621 1.39333 1.00488 1.89746L1 2V13C1 13.5523 1.44772 14 2 14H9V1H2ZM10 14H14C14.5523 14 15 13.5523 15 13V2C15 1.44772 14.5523 1 14 1H10V14Z"></path><path d="M13.5 11C13.7761 11 14 11.2239 14 11.5C14 11.7761 13.7761 12 13.5 12H11.5C11.2239 12 11 11.7761 11 11.5C11 11.2239 11.2239 11 11.5 11H13.5Z"></path>', 7))
2194
2194
  ], 64)) : t.name === "panel-right-hide" ? (o(), i(M, { key: 118 }, [
2195
- e[136] || (e[136] = p1('<path d="M5.72461 4.58203C5.91869 4.45387 6.18265 4.47562 6.35352 4.64648C6.52437 4.81735 6.54613 5.08132 6.41797 5.27539L6.35352 5.35352L4.70703 7L6.35352 8.64648C6.54877 8.84174 6.54877 9.15825 6.35352 9.35352C6.15826 9.54877 5.84175 9.54877 5.64648 9.35352L3.29297 7L5.64648 4.64648L5.72461 4.58203Z"></path><path d="M13.5 9C13.7761 9 14 9.22386 14 9.5C14 9.77614 13.7761 10 13.5 10H11.5C11.2239 10 11 9.77614 11 9.5C11 9.22386 11.2239 9 11.5 9H13.5Z"></path><path d="M13.5 7C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H11.5C11.2239 8 11 7.77614 11 7.5C11 7.22386 11.2239 7 11.5 7H13.5Z"></path><path d="M13.5 5C13.7761 5 14 5.22386 14 5.5C14 5.77614 13.7761 6 13.5 6H11.5C11.2239 6 11 5.77614 11 5.5C11 5.22386 11.2239 5 11.5 5H13.5Z"></path><path d="M13.5 3C13.7761 3 14 3.22386 14 3.5C14 3.77614 13.7761 4 13.5 4H11.5C11.2239 4 11 3.77614 11 3.5C11 3.22386 11.2239 3 11.5 3H13.5Z"></path><path fill-rule="evenodd" d="M14 0C15.1046 0 16 0.895431 16 2V13L15.9893 13.2041C15.8938 14.1457 15.1457 14.8938 14.2041 14.9893L14 15H2L1.7959 14.9893C0.854347 14.8938 0.1062 14.1457 0.0107422 13.2041L0 13V2C0 0.964349 0.787223 0.113005 1.7959 0.0107422L2 0H14ZM2 1C1.48232 1 1.05621 1.39333 1.00488 1.89746L1 2V13C1 13.5523 1.44772 14 2 14H9V1H2ZM10 14H14C14.5523 14 15 13.5523 15 13V2C15 1.44772 14.5523 1 14 1H10V14Z"></path><path d="M13.5 11C13.7761 11 14 11.2239 14 11.5C14 11.7761 13.7761 12 13.5 12H11.5C11.2239 12 11 11.7761 11 11.5C11 11.2239 11.2239 11 11.5 11H13.5Z"></path>', 7))
2195
+ e[136] || (e[136] = f1('<path d="M5.72461 4.58203C5.91869 4.45387 6.18265 4.47562 6.35352 4.64648C6.52437 4.81735 6.54613 5.08132 6.41797 5.27539L6.35352 5.35352L4.70703 7L6.35352 8.64648C6.54877 8.84174 6.54877 9.15825 6.35352 9.35352C6.15826 9.54877 5.84175 9.54877 5.64648 9.35352L3.29297 7L5.64648 4.64648L5.72461 4.58203Z"></path><path d="M13.5 9C13.7761 9 14 9.22386 14 9.5C14 9.77614 13.7761 10 13.5 10H11.5C11.2239 10 11 9.77614 11 9.5C11 9.22386 11.2239 9 11.5 9H13.5Z"></path><path d="M13.5 7C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H11.5C11.2239 8 11 7.77614 11 7.5C11 7.22386 11.2239 7 11.5 7H13.5Z"></path><path d="M13.5 5C13.7761 5 14 5.22386 14 5.5C14 5.77614 13.7761 6 13.5 6H11.5C11.2239 6 11 5.77614 11 5.5C11 5.22386 11.2239 5 11.5 5H13.5Z"></path><path d="M13.5 3C13.7761 3 14 3.22386 14 3.5C14 3.77614 13.7761 4 13.5 4H11.5C11.2239 4 11 3.77614 11 3.5C11 3.22386 11.2239 3 11.5 3H13.5Z"></path><path fill-rule="evenodd" d="M14 0C15.1046 0 16 0.895431 16 2V13L15.9893 13.2041C15.8938 14.1457 15.1457 14.8938 14.2041 14.9893L14 15H2L1.7959 14.9893C0.854347 14.8938 0.1062 14.1457 0.0107422 13.2041L0 13V2C0 0.964349 0.787223 0.113005 1.7959 0.0107422L2 0H14ZM2 1C1.48232 1 1.05621 1.39333 1.00488 1.89746L1 2V13C1 13.5523 1.44772 14 2 14H9V1H2ZM10 14H14C14.5523 14 15 13.5523 15 13V2C15 1.44772 14.5523 1 14 1H10V14Z"></path><path d="M13.5 11C13.7761 11 14 11.2239 14 11.5C14 11.7761 13.7761 12 13.5 12H11.5C11.2239 12 11 11.7761 11 11.5C11 11.2239 11.2239 11 11.5 11H13.5Z"></path>', 7))
2196
2196
  ], 64)) : t.name === "paper-plane" ? (o(), i("path", an)) : t.name === "paper" ? (o(), i("path", rn)) : t.name === "pause" ? (o(), i("path", dn)) : t.name === "pdf" ? (o(), i(M, { key: 122 }, [
2197
2197
  e[137] || (e[137] = d("path", {
2198
2198
  "fill-rule": "evenodd",
@@ -2222,7 +2222,7 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
2222
2222
  "fill-rule": "evenodd",
2223
2223
  d: "M0 2V14H16V2H0ZM15 3H1V10.5284L3.98146 8.3988L8.01149 10.9176L11.5115 8.91757L15 11.0979V3ZM15 12.2771L11.4885 10.0825L7.98851 12.0825L4.01854 9.60122L1 11.7573V13H15V12.2771Z"
2224
2224
  }, null, -1))
2225
- ], 64)) : t.name === "pie-chart" ? (o(), i("path", pn)) : t.name === "play" ? (o(), i("path", fn)) : t.name === "plus" ? (o(), i("path", cn)) : t.name === "point-left" ? (o(), i("path", Cn)) : t.name === "point-up" ? (o(), i("path", vn)) : t.name === "popup" ? (o(), i(M, { key: 131 }, [
2225
+ ], 64)) : t.name === "pie-chart" ? (o(), i("path", fn)) : t.name === "play" ? (o(), i("path", pn)) : t.name === "plus" ? (o(), i("path", cn)) : t.name === "point-left" ? (o(), i("path", Cn)) : t.name === "point-up" ? (o(), i("path", vn)) : t.name === "popup" ? (o(), i(M, { key: 131 }, [
2226
2226
  e[145] || (e[145] = d("path", { d: "M12 9V4H7.00001V5L10.2935 4.999L5.64645 9.64645L6.35356 10.3536L10.9995 5.707L11 9H12Z" }, null, -1)),
2227
2227
  e[146] || (e[146] = d("path", {
2228
2228
  "fill-rule": "evenodd",
@@ -2236,7 +2236,7 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
2236
2236
  d: "M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15Z"
2237
2237
  }, null, -1))
2238
2238
  ], 64)) : t.name === "radio-tower" ? (o(), i("path", hn)) : t.name === "recycle" ? (o(), i("path", mn)) : t.name === "redo" ? (o(), i("path", gn)) : t.name === "refresh" ? (o(), i("path", bn)) : t.name === "route" ? (o(), i("path", Ln)) : t.name === "rows" ? (o(), i("path", yn)) : t.name === "scope" ? (o(), i(M, { key: 139 }, [
2239
- e[150] || (e[150] = p1('<path d="M2 3.5C2 2.67157 2.67157 2 3.5 2H4.75V1H3.5C2.11929 1 1 2.11929 1 3.5V4.75H2V3.5Z"></path><path d="M11.25 2H12.5C13.3284 2 14 2.67157 14 3.5V4.75H15V3.5C15 2.11929 13.8807 1 12.5 1H11.25V2Z"></path><path d="M2 12.5V11.25H1V12.5C1 13.8807 2.11929 15 3.5 15H4.75V14H3.5C2.67157 14 2 13.3284 2 12.5Z"></path><path d="M14 11.25V12.5C14 13.3284 13.3284 14 12.5 14H11.25V15H12.5C13.8807 15 15 13.8807 15 12.5V11.25H14Z"></path><path fill-rule="evenodd" d="M5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8ZM10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10C9.10457 10 10 9.10457 10 8Z"></path>', 5))
2239
+ e[150] || (e[150] = f1('<path d="M2 3.5C2 2.67157 2.67157 2 3.5 2H4.75V1H3.5C2.11929 1 1 2.11929 1 3.5V4.75H2V3.5Z"></path><path d="M11.25 2H12.5C13.3284 2 14 2.67157 14 3.5V4.75H15V3.5C15 2.11929 13.8807 1 12.5 1H11.25V2Z"></path><path d="M2 12.5V11.25H1V12.5C1 13.8807 2.11929 15 3.5 15H4.75V14H3.5C2.67157 14 2 13.3284 2 12.5Z"></path><path d="M14 11.25V12.5C14 13.3284 13.3284 14 12.5 14H11.25V15H12.5C13.8807 15 15 13.8807 15 12.5V11.25H14Z"></path><path fill-rule="evenodd" d="M5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8ZM10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10C9.10457 10 10 9.10457 10 8Z"></path>', 5))
2240
2240
  ], 64)) : t.name === "settings" ? (o(), i(M, { key: 140 }, [
2241
2241
  e[151] || (e[151] = d("path", {
2242
2242
  "fill-rule": "evenodd",
@@ -2256,11 +2256,11 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
2256
2256
  e[157] || (e[157] = d("path", { d: "M13 2H12V1H2.00098V14.999H12V13H13V16H1V0H13V2Z" }, null, -1)),
2257
2257
  e[158] || (e[158] = d("path", { d: "M15.707 7.5L12 11.207L11.293 10.5L13.792 8H5V7H13.7939L11.293 4.5L12 3.79297L15.707 7.5Z" }, null, -1))
2258
2258
  ], 64)) : t.name === "sign-up" ? (o(), i("path", Hn)) : t.name === "slideshow" ? (o(), i("path", Vn)) : t.name === "sort-down" ? (o(), i(M, { key: 146 }, [
2259
- e[159] || (e[159] = p1('<path d="M10 3V2H0V3H10Z"></path><path d="M12.9999 12.793L13 3H12L11.9999 12.793L9.50001 10.2929L8.79291 11L12.5 14.7071L16.2071 11L15.5 10.2929L12.9999 12.793Z"></path><path d="M6 9V8H0V9H6Z"></path><path d="M2 14V15H0V14H2Z"></path><path d="M8 5V6H0V5H8Z"></path><path d="M4 12V11H0V12H4Z"></path>', 6))
2259
+ e[159] || (e[159] = f1('<path d="M10 3V2H0V3H10Z"></path><path d="M12.9999 12.793L13 3H12L11.9999 12.793L9.50001 10.2929L8.79291 11L12.5 14.7071L16.2071 11L15.5 10.2929L12.9999 12.793Z"></path><path d="M6 9V8H0V9H6Z"></path><path d="M2 14V15H0V14H2Z"></path><path d="M8 5V6H0V5H8Z"></path><path d="M4 12V11H0V12H4Z"></path>', 6))
2260
2260
  ], 64)) : t.name === "sort-up" ? (o(), i(M, { key: 147 }, [
2261
- e[160] || (e[160] = p1('<path d="M2 1V2H0V1H2Z"></path><path d="M6 8V7H0V8H6Z"></path><path d="M10 14V13H0V14H10Z"></path><path d="M4 5V4H0V5H4Z"></path><path d="M8 10V11H0V10H8Z"></path><path d="M16.2071 5.00002L12.5 1.29291L8.79291 5.00002L9.50001 5.70713L11.9999 3.20591L12 13H13L12.9999 3.20591L15.5 5.70713L16.2071 5.00002Z"></path>', 6))
2261
+ e[160] || (e[160] = f1('<path d="M2 1V2H0V1H2Z"></path><path d="M6 8V7H0V8H6Z"></path><path d="M10 14V13H0V14H10Z"></path><path d="M4 5V4H0V5H4Z"></path><path d="M8 10V11H0V10H8Z"></path><path d="M16.2071 5.00002L12.5 1.29291L8.79291 5.00002L9.50001 5.70713L11.9999 3.20591L12 13H13L12.9999 3.20591L15.5 5.70713L16.2071 5.00002Z"></path>', 6))
2262
2262
  ], 64)) : t.name === "sort" ? (o(), i(M, { key: 148 }, [
2263
- e[161] || (e[161] = p1('<path d="M15 2V1H1V2H15Z"></path><path d="M9 8V7H1V8H9Z"></path><path d="M3 13V14H1V13H3Z"></path><path d="M12 4V5H1V4H12Z"></path><path d="M6 11V10H1V11H6Z"></path>', 5))
2263
+ e[161] || (e[161] = f1('<path d="M15 2V1H1V2H15Z"></path><path d="M9 8V7H1V8H9Z"></path><path d="M3 13V14H1V13H3Z"></path><path d="M12 4V5H1V4H12Z"></path><path d="M6 11V10H1V11H6Z"></path>', 5))
2264
2264
  ], 64)) : t.name === "square-solid" ? (o(), i("path", kn)) : t.name === "star-solid" ? (o(), i("path", wn)) : t.name === "star" ? (o(), i("path", Mn)) : t.name === "stop-watch" ? (o(), i(M, { key: 152 }, [
2265
2265
  e[162] || (e[162] = d("path", { d: "M10.5 1.5C10.5 1.22386 10.2761 1 10 1H6L5.91012 1.00806C5.67688 1.05039 5.5 1.25454 5.5 1.5C5.5 1.77614 5.72386 2 6 2H10L10.0899 1.99194C10.3231 1.94961 10.5 1.74546 10.5 1.5Z" }, null, -1)),
2266
2266
  e[163] || (e[163] = d("path", { d: "M4.64645 5.64645C4.82001 5.47288 5.08944 5.4536 5.28431 5.58859L5.35355 5.64645L8.43834 8.73123C8.6336 8.92649 8.6336 9.24308 8.43834 9.43834C8.26477 9.61191 7.99535 9.63119 7.80048 9.49619L7.73123 9.43834L4.64645 6.35355C4.45118 6.15829 4.45118 5.84171 4.64645 5.64645Z" }, null, -1)),
@@ -2269,14 +2269,14 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
2269
2269
  d: "M8 2.5C9.61487 2.5 11.0922 3.08889 12.2289 4.06364L13.1464 3.14645C13.3417 2.95118 13.6583 2.95118 13.8536 3.14645C14.0271 3.32001 14.0464 3.58944 13.9114 3.78431L13.8536 3.85355L12.9364 4.77106C13.9111 5.90781 14.5 7.38513 14.5 9C14.5 12.5899 11.5899 15.5 8 15.5C4.41015 15.5 1.5 12.5899 1.5 9C1.5 5.41015 4.41015 2.5 8 2.5ZM8 3.5C4.96243 3.5 2.5 5.96243 2.5 9C2.5 12.0376 4.96243 14.5 8 14.5C11.0376 14.5 13.5 12.0376 13.5 9C13.5 5.96243 11.0376 3.5 8 3.5Z"
2270
2270
  }, null, -1))
2271
2271
  ], 64)) : t.name === "structure" ? (o(), i("path", Zn)) : t.name === "sun" ? (o(), i(M, { key: 154 }, [
2272
- e[165] || (e[165] = p1('<path d="M7.5 2V0H8.5V2H7.5Z"></path><path d="M7.5 16V14H8.5V16H7.5Z"></path><path d="M16 8.5H14V7.5H16V8.5Z"></path><path d="M2 8.5H0V7.5H2V8.5Z"></path><path d="M13.3032 1.98956L14.0103 2.69667L12.5961 4.11088L11.889 3.40378L13.3032 1.98956Z"></path><path d="M2.69666 14.0104L1.98955 13.3033L3.40376 11.8891L4.11087 12.5962L2.69666 14.0104Z"></path><path d="M14.0103 13.3033L13.3032 14.0104L11.889 12.5962L12.5961 11.8891L14.0103 13.3033Z"></path><path d="M3.40373 4.11088L1.98952 2.69667L2.69662 1.98956L4.11084 3.40378L3.40373 4.11088Z"></path><path fill-rule="evenodd" d="M12 8C12 10.2091 10.2091 12 8 12C5.79086 12 4 10.2091 4 8C4 5.79086 5.79086 4 8 4C10.2091 4 12 5.79086 12 8ZM11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z"></path>', 9))
2272
+ e[165] || (e[165] = f1('<path d="M7.5 2V0H8.5V2H7.5Z"></path><path d="M7.5 16V14H8.5V16H7.5Z"></path><path d="M16 8.5H14V7.5H16V8.5Z"></path><path d="M2 8.5H0V7.5H2V8.5Z"></path><path d="M13.3032 1.98956L14.0103 2.69667L12.5961 4.11088L11.889 3.40378L13.3032 1.98956Z"></path><path d="M2.69666 14.0104L1.98955 13.3033L3.40376 11.8891L4.11087 12.5962L2.69666 14.0104Z"></path><path d="M14.0103 13.3033L13.3032 14.0104L11.889 12.5962L12.5961 11.8891L14.0103 13.3033Z"></path><path d="M3.40373 4.11088L1.98952 2.69667L2.69662 1.98956L4.11084 3.40378L3.40373 4.11088Z"></path><path fill-rule="evenodd" d="M12 8C12 10.2091 10.2091 12 8 12C5.79086 12 4 10.2091 4 8C4 5.79086 5.79086 4 8 4C10.2091 4 12 5.79086 12 8ZM11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z"></path>', 9))
2273
2273
  ], 64)) : t.name === "table" ? (o(), i("path", $n)) : t.name === "tag" ? (o(), i("path", Dn)) : t.name === "teacher" ? (o(), i(M, { key: 157 }, [
2274
2274
  e[166] || (e[166] = d("path", { d: "M1.40723 2.00879C1.67823 1.95759 1.93959 2.13621 1.99121 2.40723L3.47559 10.1992C3.80186 10.0706 4.14524 10 4.5 10C4.77614 10 5 10.2239 5 10.5C5 10.7761 4.77614 11 4.5 11C4.20999 11 3.93019 11.0728 3.66602 11.2021L3.99121 12.9062C4.04276 13.1773 3.86476 13.4394 3.59375 13.4912C3.32267 13.5427 3.0606 13.3648 3.00879 13.0938L2.78027 11.8965C2.06441 12.6854 1.58136 13.8537 1.51074 14.8115C1.53638 14.9013 1.60803 14.9716 1.69824 14.9932L1.75684 15H14.2432C14.3639 14.9998 14.4662 14.9143 14.4932 14.7998L14.5 14.7402V13.0527C14.5 11.3554 13.1721 10 11.5 10C11.2239 10 11 9.77614 11 9.5C11 9.22386 11.2239 9 11.5 9C13.6614 9 15.3921 10.6995 15.4951 12.8496L15.5 13.0527V14.7402C15.4999 15.3913 15.0051 15.9285 14.3711 15.9932L14.2432 16H1.75684C1.10594 15.9998 0.571192 15.5025 0.506836 14.8682L0.504883 14.8398C0.501451 14.9111 0.5 14.9824 0.5 15.0527V14.7402L0.504883 14.8359C0.577532 13.3532 1.38349 11.6777 2.55957 10.7393L1.00879 2.59277C0.957587 2.32177 1.13621 2.06041 1.40723 2.00879Z" }, null, -1)),
2275
2275
  e[167] || (e[167] = d("path", {
2276
2276
  "fill-rule": "evenodd",
2277
2277
  d: "M8 0C10.2251 0 12 2.02847 12 4.5C12 6.97153 10.2251 9 8 9C5.77489 9 4 6.97153 4 4.5C4 2.02847 5.77489 0 8 0ZM8 1C6.35909 1 5 2.55326 5 4.5C5 6.44674 6.35909 8 8 8C9.64091 8 11 6.44674 11 4.5C11 2.55326 9.64091 1 8 1Z"
2278
2278
  }, null, -1))
2279
- ], 64)) : t.name === "team" ? (o(), i("path", Tn)) : t.name === "telescope" ? (o(), i("path", Sn)) : t.name === "text-select" ? (o(), i("path", Bn)) : t.name === "trash" ? (o(), i(M, { key: 161 }, [
2279
+ ], 64)) : t.name === "team" ? (o(), i("path", Tn)) : t.name === "telescope" ? (o(), i("path", Bn)) : t.name === "text-select" ? (o(), i("path", Sn)) : t.name === "trash" ? (o(), i(M, { key: 161 }, [
2280
2280
  e[168] || (e[168] = d("path", { d: "M11 13V5H10V13H11Z" }, null, -1)),
2281
2281
  e[169] || (e[169] = d("path", { d: "M6 5V13H5V5H6Z" }, null, -1)),
2282
2282
  e[170] || (e[170] = d("path", { d: "M8.5 13V5H7.5V13H8.5Z" }, null, -1)),
@@ -2294,7 +2294,7 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
2294
2294
  }, null, -1)),
2295
2295
  e[175] || (e[175] = d("path", { d: "M15.4952 12.8494C15.3922 10.6993 13.6614 9 11.5 9C11.2239 9 11 9.22386 11 9.5C11 9.77614 11.2239 10 11.5 10C13.1721 10 14.5 11.355 14.5 13.0523V14.74L14.4932 14.7995C14.4663 14.9143 14.3638 15 14.2428 15H1.75723L1.69853 14.9931C1.58528 14.9661 1.5 14.8629 1.5 14.74V13.0523L1.50504 12.8718C1.59529 11.2599 2.88766 10 4.5 10C4.77614 10 5 9.77614 5 9.5C5 9.22386 4.77614 9 4.5 9C2.27109 9 0.5 10.8071 0.5 13.0523V14.74L0.50649 14.8686C0.570859 15.5031 1.10616 16 1.75723 16H14.2428L14.3713 15.9935C15.0054 15.9288 15.5 15.3912 15.5 14.74V13.0523L15.4952 12.8494Z" }, null, -1))
2296
2296
  ], 64)) : t.name === "venn" ? (o(), i("path", En)) : t.name === "video" ? (o(), i("path", On)) : t.name === "visibility-off-alt" ? (o(), i(M, { key: 169 }, [
2297
- e[176] || (e[176] = p1('<path d="M14.1873 3.1816C14.3939 2.99839 14.4129 2.68238 14.2297 2.47577C14.0465 2.26916 13.7305 2.25019 13.5239 2.4334L1.81263 12.8183C1.60602 13.0016 1.58706 13.3176 1.77027 13.5242C1.95348 13.7308 2.26949 13.7498 2.4761 13.5666L14.1873 3.1816Z"></path><path d="M9.97039 3.26198C10.347 3.36379 10.434 3.83673 10.1421 4.09559C10.0061 4.21618 9.81754 4.25579 9.6416 4.21015C9.18473 4.09163 8.72341 4.02336 8.25756 4.00501L7.99999 3.99994C5.67785 3.99994 3.46772 5.22992 1.3611 7.73033L1.13799 7.99994L1.3611 8.26955C1.84697 8.84624 2.33835 9.35535 2.83533 9.79738C3.06497 10.0017 3.07413 10.3632 2.84418 10.5671C2.66124 10.7293 2.38675 10.7348 2.20352 10.5729C1.48721 9.94001 0.787738 9.18431 0.105324 8.30692C-0.035108 8.12636 -0.035108 7.87352 0.105324 7.69297C2.52575 4.581 5.16083 2.99994 7.99999 2.99994C8.66813 2.99994 9.32498 3.08751 9.97039 3.26198Z"></path><path d="M8.00002 4.99994C8.42927 4.99994 8.54791 5.50926 8.22674 5.79405L8.1656 5.84827C8.05537 5.94601 7.91267 5.99641 7.76635 6.01344C6.92866 6.11092 6.24892 6.72603 6.05541 7.53049C6.02096 7.67375 5.95395 7.80946 5.84371 7.90721L5.51375 8.19981C5.31238 8.37837 5.00002 8.26908 5.00002 7.99994C5.00002 6.34308 6.34315 4.99994 8.00002 4.99994Z"></path><path d="M9.94462 8.46937C9.97908 8.3261 10.0461 8.19038 10.1563 8.09262L10.4862 7.80008C10.6876 7.62149 11 7.73079 11 7.99996C11 9.65682 9.65688 11 8.00002 11C7.57072 11 7.45208 10.4906 7.77328 10.2058L7.83435 10.1517C7.94458 10.0539 8.08728 10.0035 8.23362 9.98647C9.07135 9.88902 9.75111 9.27387 9.94462 8.46937Z"></path><path d="M6.35836 11.7898C6.18242 11.7441 5.99382 11.7837 5.85782 11.9043C5.56591 12.1632 5.65292 12.6361 6.02955 12.7379C6.67497 12.9124 7.33183 13 7.99999 13C10.7445 13 13.2984 11.5226 15.6519 8.61303L15.8932 8.3058C16.0344 8.1261 16.035 7.87336 15.8947 7.69299C15.2123 6.81558 14.5128 6.05988 13.7965 5.427C13.6132 5.26511 13.3387 5.27063 13.1558 5.43285C12.9258 5.63675 12.935 5.99826 13.1647 6.2025C13.6616 6.64453 14.153 7.15365 14.6389 7.73035L14.861 7.99996L14.6389 8.26957C12.5323 10.77 10.3222 12 7.99999 12L7.74244 11.9949C7.27657 11.9766 6.81524 11.9083 6.35836 11.7898Z"></path>', 5))
2297
+ e[176] || (e[176] = f1('<path d="M14.1873 3.1816C14.3939 2.99839 14.4129 2.68238 14.2297 2.47577C14.0465 2.26916 13.7305 2.25019 13.5239 2.4334L1.81263 12.8183C1.60602 13.0016 1.58706 13.3176 1.77027 13.5242C1.95348 13.7308 2.26949 13.7498 2.4761 13.5666L14.1873 3.1816Z"></path><path d="M9.97039 3.26198C10.347 3.36379 10.434 3.83673 10.1421 4.09559C10.0061 4.21618 9.81754 4.25579 9.6416 4.21015C9.18473 4.09163 8.72341 4.02336 8.25756 4.00501L7.99999 3.99994C5.67785 3.99994 3.46772 5.22992 1.3611 7.73033L1.13799 7.99994L1.3611 8.26955C1.84697 8.84624 2.33835 9.35535 2.83533 9.79738C3.06497 10.0017 3.07413 10.3632 2.84418 10.5671C2.66124 10.7293 2.38675 10.7348 2.20352 10.5729C1.48721 9.94001 0.787738 9.18431 0.105324 8.30692C-0.035108 8.12636 -0.035108 7.87352 0.105324 7.69297C2.52575 4.581 5.16083 2.99994 7.99999 2.99994C8.66813 2.99994 9.32498 3.08751 9.97039 3.26198Z"></path><path d="M8.00002 4.99994C8.42927 4.99994 8.54791 5.50926 8.22674 5.79405L8.1656 5.84827C8.05537 5.94601 7.91267 5.99641 7.76635 6.01344C6.92866 6.11092 6.24892 6.72603 6.05541 7.53049C6.02096 7.67375 5.95395 7.80946 5.84371 7.90721L5.51375 8.19981C5.31238 8.37837 5.00002 8.26908 5.00002 7.99994C5.00002 6.34308 6.34315 4.99994 8.00002 4.99994Z"></path><path d="M9.94462 8.46937C9.97908 8.3261 10.0461 8.19038 10.1563 8.09262L10.4862 7.80008C10.6876 7.62149 11 7.73079 11 7.99996C11 9.65682 9.65688 11 8.00002 11C7.57072 11 7.45208 10.4906 7.77328 10.2058L7.83435 10.1517C7.94458 10.0539 8.08728 10.0035 8.23362 9.98647C9.07135 9.88902 9.75111 9.27387 9.94462 8.46937Z"></path><path d="M6.35836 11.7898C6.18242 11.7441 5.99382 11.7837 5.85782 11.9043C5.56591 12.1632 5.65292 12.6361 6.02955 12.7379C6.67497 12.9124 7.33183 13 7.99999 13C10.7445 13 13.2984 11.5226 15.6519 8.61303L15.8932 8.3058C16.0344 8.1261 16.035 7.87336 15.8947 7.69299C15.2123 6.81558 14.5128 6.05988 13.7965 5.427C13.6132 5.26511 13.3387 5.27063 13.1558 5.43285C12.9258 5.63675 12.935 5.99826 13.1647 6.2025C13.6616 6.64453 14.153 7.15365 14.6389 7.73035L14.861 7.99996L14.6389 8.26957C12.5323 10.77 10.3222 12 7.99999 12L7.74244 11.9949C7.27657 11.9766 6.81524 11.9083 6.35836 11.7898Z"></path>', 5))
2298
2298
  ], 64)) : t.name === "visibility-off" ? (o(), i("path", In)) : t.name === "visibility-on" ? (o(), i(M, { key: 171 }, [
2299
2299
  e[177] || (e[177] = d("path", {
2300
2300
  "fill-rule": "evenodd",
@@ -2328,7 +2328,7 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
2328
2328
  class: "flex items-center justify-center w-4 h-4 rounded-full hover:bg-black/15 focus-visible:bg-black/15 active:bg-black/25 dark:hover:bg-white/15 dark:focus-visible:bg-white/15 dark:active:bg-white/25 text-tertiary hover:text-secondary active:text-tertiary cursor-pointer",
2329
2329
  onClick: e[0] || (e[0] = F((l) => t.$emit("click"), ["stop", "prevent"]))
2330
2330
  }, [
2331
- w(p(t1), { name: "close" })
2331
+ w(f(t1), { name: "close" })
2332
2332
  ]));
2333
2333
  }
2334
2334
  }), Pn = { class: "flex items-center justify-between w-full h-12" }, Fn = { key: 0 }, Nn = { key: 1 }, Un = { class: "flex items-center h-12" }, Hs = /* @__PURE__ */ $({
@@ -2344,38 +2344,38 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
2344
2344
  const l = e, s = y(!1), r = y(), a = O(() => {
2345
2345
  var u;
2346
2346
  return (u = r.value) == null ? void 0 : u.$el;
2347
- }), { trapFocus: f, releaseFocus: h } = j1(a, !0);
2347
+ }), { trapFocus: p, releaseFocus: h } = j1(a, !0);
2348
2348
  a1(() => s.value = !0);
2349
2349
  const m = () => {
2350
2350
  h(), s.value = !1;
2351
2351
  }, C = () => n.closeable && m();
2352
2352
  return n.closeable && Ce(C), t({ close: m }), (u, g) => (o(), V(U1, { to: u.target }, [
2353
- w(p(he), {
2353
+ w(f(he), {
2354
2354
  show: s.value,
2355
2355
  type: u.overlayType,
2356
2356
  onClick: C,
2357
2357
  onClose: g[1] || (g[1] = (c) => l("close"))
2358
2358
  }, {
2359
2359
  default: Z(() => [
2360
- w(p(st), {
2360
+ w(f(st), {
2361
2361
  onTransitionAfterEnter: g[0] || (g[0] = () => {
2362
- p(f)(), l("open");
2362
+ f(p)(), l("open");
2363
2363
  })
2364
2364
  }, {
2365
2365
  default: Z(() => [
2366
- W1(w(p(ge), {
2366
+ W1(w(f(ge), {
2367
2367
  ref_key: "windowRef",
2368
2368
  ref: r,
2369
2369
  class: "h-64 max-w-2xl md:w-1/2 md:max-w-lg p-4 md:px-8"
2370
2370
  }, {
2371
2371
  default: Z(() => [
2372
- w(p(me), null, {
2372
+ w(f(me), null, {
2373
2373
  header: Z(() => [
2374
2374
  d("header", Pn, [
2375
2375
  u.title ? (o(), i("h4", Fn, K(u.title), 1)) : (o(), i("h4", Nn, [
2376
2376
  E(u.$slots, "title", { close: m })
2377
2377
  ])),
2378
- u.closeable ? (o(), V(p(j), {
2378
+ u.closeable ? (o(), V(f(j), {
2379
2379
  key: 2,
2380
2380
  small: "",
2381
2381
  icon: "close",
@@ -2455,7 +2455,7 @@ const ys = /* @__PURE__ */ Z1(el, [["render", tl]]), ll = {
2455
2455
  }, [
2456
2456
  d("span", Wn, K(t.label), 1),
2457
2457
  t.active && t.count ? (o(), i("span", Yn, K(t.count), 1)) : k("", !0),
2458
- t.deletable && t.active ? (o(), V(p(xn), {
2458
+ t.deletable && t.active ? (o(), V(f(xn), {
2459
2459
  key: 1,
2460
2460
  onClick: e[0] || (e[0] = (l) => t.$emit("delete"))
2461
2461
  })) : k("", !0)
@@ -2550,8 +2550,8 @@ const Xn = () => {
2550
2550
  let l = t.offsetParent;
2551
2551
  for (; l && n !== l && n.contains(l); )
2552
2552
  e.push(l), l = l.offsetParent;
2553
- const s = t.offsetTop + e.reduce((h, m) => h + m.offsetTop, 0), r = s + t.offsetHeight, a = n.scrollTop, f = a + n.clientHeight;
2554
- s < a ? n.scrollTop = s : r > f && (n.scrollTop = r - n.clientHeight);
2553
+ const s = t.offsetTop + e.reduce((h, m) => h + m.offsetTop, 0), r = s + t.offsetHeight, a = n.scrollTop, p = a + n.clientHeight;
2554
+ s < a ? n.scrollTop = s : r > p && (n.scrollTop = r - n.clientHeight);
2555
2555
  }, de = (n) => n != null, ws = (n) => de(n) && (typeof n == "string" ? n !== "" : !0) && (Array.isArray(n) ? n.length > 0 : !0), Gn = ["aria-label"], De = /* @__PURE__ */ $({
2556
2556
  __name: "Aside",
2557
2557
  props: {
@@ -2568,13 +2568,13 @@ const Xn = () => {
2568
2568
  e.side === "left" ? "left-0" : "right-0",
2569
2569
  e.border ? e.side === "left" ? "border-r border-default" : "border-l border-default" : ""
2570
2570
  ]);
2571
- let a, f;
2571
+ let a, p;
2572
2572
  const h = y(!1);
2573
2573
  function m(c) {
2574
- a = c.pageX, f = e.width, h.value = !0, window.addEventListener("mouseup", u), window.addEventListener("mousemove", C), l("resize-start");
2574
+ a = c.pageX, p = e.width, h.value = !0, window.addEventListener("mouseup", u), window.addEventListener("mousemove", C), l("resize-start");
2575
2575
  }
2576
2576
  function C(c) {
2577
- const b = e.side === "left" ? c.pageX - a : a - c.pageX, v = f + b, L = P1(v, e.minWidth, e.maxWidth);
2577
+ const b = e.side === "left" ? c.pageX - a : a - c.pageX, v = p + b, L = P1(v, e.minWidth, e.maxWidth);
2578
2578
  L !== e.width && l("resize", L);
2579
2579
  }
2580
2580
  function u() {
@@ -2628,15 +2628,15 @@ const Xn = () => {
2628
2628
  },
2629
2629
  emits: ["aside-left-resize", "aside-left-resize-end", "aside-left-resize-start", "aside-left-transition-end", "aside-right-resize", "aside-right-resize-end", "aside-right-resize-start", "aside-right-transition-end"],
2630
2630
  setup(n, { emit: t }) {
2631
- const e = n, l = t, s = y(!1), r = y(e.asideLeftWidth), a = y(e.asideRightWidth), f = y(e.asideLeftWidth), h = y(e.asideRightWidth), m = O(() => ({
2632
- paddingLeft: `${f.value}px`,
2631
+ const e = n, l = t, s = y(!1), r = y(e.asideLeftWidth), a = y(e.asideRightWidth), p = y(e.asideLeftWidth), h = y(e.asideRightWidth), m = O(() => ({
2632
+ paddingLeft: `${p.value}px`,
2633
2633
  paddingRight: `${h.value}px`
2634
2634
  })), C = () => {
2635
2635
  s.value = !1, l("aside-left-resize-end");
2636
2636
  }, u = () => {
2637
2637
  s.value = !0, l("aside-left-resize-start");
2638
2638
  }, g = (H) => {
2639
- r.value = f.value = H, l("aside-left-resize", H);
2639
+ r.value = p.value = H, l("aside-left-resize", H);
2640
2640
  }, c = (H) => !H && l("aside-left-transition-end"), b = () => {
2641
2641
  s.value = !1, l("aside-right-resize-end");
2642
2642
  }, v = () => {
@@ -2646,22 +2646,22 @@ const Xn = () => {
2646
2646
  }, D = (H) => !H && l("aside-right-transition-end");
2647
2647
  r1(
2648
2648
  () => e.asideLeftVisible,
2649
- (H) => f.value = H ? r.value : 0
2649
+ (H) => p.value = H ? r.value : 0
2650
2650
  ), r1(
2651
2651
  () => e.asideRightVisible,
2652
2652
  (H) => h.value = H ? a.value : 0
2653
2653
  ), r1(
2654
2654
  () => e.asideLeftWidth,
2655
- (H) => r.value = f.value = H
2655
+ (H) => r.value = p.value = H
2656
2656
  ), r1(
2657
2657
  () => e.asideRightWidth,
2658
2658
  (H) => a.value = h.value = H
2659
2659
  );
2660
2660
  const A = R1();
2661
2661
  return a1(() => {
2662
- f.value = e.asideLeftVisible && A["aside-left"] ? r.value : 0, h.value = e.asideRightVisible && A["aside-right"] ? a.value : 0;
2663
- }), (H, S) => (o(), i("div", Jn, [
2664
- p(A)["aside-left"] && H.asideLeftVisible ? (o(), V(De, {
2662
+ p.value = e.asideLeftVisible && A["aside-left"] ? r.value : 0, h.value = e.asideRightVisible && A["aside-right"] ? a.value : 0;
2663
+ }), (H, B) => (o(), i("div", Jn, [
2664
+ f(A)["aside-left"] && H.asideLeftVisible ? (o(), V(De, {
2665
2665
  key: 0,
2666
2666
  side: "left",
2667
2667
  border: e.borders,
@@ -2683,7 +2683,7 @@ const Xn = () => {
2683
2683
  }, [
2684
2684
  E(H.$slots, "main")
2685
2685
  ], 6),
2686
- p(A)["aside-right"] && H.asideRightVisible ? (o(), V(De, {
2686
+ f(A)["aside-right"] && H.asideRightVisible ? (o(), V(De, {
2687
2687
  key: 1,
2688
2688
  side: "right",
2689
2689
  border: e.borders,
@@ -2704,26 +2704,26 @@ const Xn = () => {
2704
2704
  }), Zs = /* @__PURE__ */ $({
2705
2705
  __name: "InlineFormWrapper",
2706
2706
  setup(n) {
2707
- return (t, e) => (o(), V(p(o1), {
2707
+ return (t, e) => (o(), V(f(o1), {
2708
2708
  col: "",
2709
2709
  tabindex: "0",
2710
2710
  class: "border border-default bg-primary rounded-lg focus:outline-none focus-within:shadow-sm focus-within:border-action"
2711
2711
  }, {
2712
2712
  default: Z(() => [
2713
2713
  E(t.$slots, "default"),
2714
- w(p(o1), {
2714
+ w(f(o1), {
2715
2715
  tag: "footer",
2716
2716
  justify: "between",
2717
2717
  class: "gap-2 px-2 py-2 border-t border-default"
2718
2718
  }, {
2719
2719
  default: Z(() => [
2720
- w(p(o1), { class: "flex-1" }, {
2720
+ w(f(o1), { class: "flex-1" }, {
2721
2721
  default: Z(() => [
2722
2722
  E(t.$slots, "footer-left")
2723
2723
  ]),
2724
2724
  _: 3
2725
2725
  }),
2726
- w(p(o1), { class: "flex-none" }, {
2726
+ w(f(o1), { class: "flex-none" }, {
2727
2727
  default: Z(() => [
2728
2728
  E(t.$slots, "footer-right")
2729
2729
  ]),
@@ -2762,7 +2762,7 @@ const Xn = () => {
2762
2762
  });
2763
2763
  const a = () => {
2764
2764
  n.multiline ? s.value.focus() : r.value.focus();
2765
- }, f = (u) => {
2765
+ }, p = (u) => {
2766
2766
  u.target && l("change", u.target.value);
2767
2767
  }, h = (u) => {
2768
2768
  u.stopPropagation(), u.preventDefault(), l("enter");
@@ -2796,7 +2796,7 @@ const Xn = () => {
2796
2796
  "px-1.5": u.size === "small"
2797
2797
  }])
2798
2798
  }, [
2799
- w(p(t1), {
2799
+ w(f(t1), {
2800
2800
  name: u.icon,
2801
2801
  class: "text-secondary"
2802
2802
  }, null, 8, ["name"])
@@ -2813,7 +2813,7 @@ const Xn = () => {
2813
2813
  "text-xs": u.size === "small",
2814
2814
  "text-sm": u.size === "default"
2815
2815
  }]),
2816
- onInput: F(f, ["stop", "prevent"])
2816
+ onInput: F(p, ["stop", "prevent"])
2817
2817
  }, null, 42, _n)) : (o(), i("input", {
2818
2818
  key: 2,
2819
2819
  ref_key: "inputRef",
@@ -2836,12 +2836,12 @@ const Xn = () => {
2836
2836
  onKeyup: g[1] || (g[1] = _(F(() => {
2837
2837
  }, ["stop", "prevent"]), ["enter"])),
2838
2838
  onBlur: C,
2839
- onInput: F(f, ["stop", "prevent"])
2839
+ onInput: F(p, ["stop", "prevent"])
2840
2840
  }, null, 42, e2)),
2841
2841
  u.$slots["inline-controls"] ? (o(), i("section", t2, [
2842
2842
  E(u.$slots, "inline-controls")
2843
2843
  ])) : k("", !0),
2844
- u.clearable && u.value.length ? (o(), V(p(j), {
2844
+ u.clearable && u.value.length ? (o(), V(f(j), {
2845
2845
  key: 4,
2846
2846
  small: "",
2847
2847
  icon: "close",
@@ -2870,9 +2870,9 @@ const Xn = () => {
2870
2870
  "h-[calc(--spacing(3)+1px)] rounded-br-lg": r.direction === "down" && r.size === "small",
2871
2871
  "bg-tertiary": s.value
2872
2872
  }]),
2873
- onClick: a[0] || (a[0] = (f) => l("click"))
2873
+ onClick: a[0] || (a[0] = (p) => l("click"))
2874
2874
  }, [
2875
- w(p(t1), {
2875
+ w(f(t1), {
2876
2876
  name: r.direction === "up" ? "chevron-up-small" : "chevron-down-small"
2877
2877
  }, null, 8, ["name"])
2878
2878
  ], 2));
@@ -2894,7 +2894,7 @@ const Xn = () => {
2894
2894
  },
2895
2895
  emits: ["change", "enter"],
2896
2896
  setup(n, { expose: t, emit: e }) {
2897
- const l = e, s = y(), r = y(), a = y(), f = () => {
2897
+ const l = e, s = y(), r = y(), a = y(), p = () => {
2898
2898
  s.value.focus();
2899
2899
  }, h = (c) => {
2900
2900
  c.target && l("change", Number.parseInt(c.target.value));
@@ -2908,7 +2908,7 @@ const Xn = () => {
2908
2908
  }, g = (c) => {
2909
2909
  c.stopImmediatePropagation(), c.stopPropagation(), c.preventDefault();
2910
2910
  };
2911
- return t({ focus: f }), (c, b) => (o(), i("div", {
2911
+ return t({ focus: p }), (c, b) => (o(), i("div", {
2912
2912
  class: T(["relative flex-1 w-full overflow-hidden overscroll-none inline-flex items-center pr-0 rounded-lg border focus:shadow-sm-inner focus:outline-hidden focus-within:border-action", {
2913
2913
  "bg-primary border-default text-primary": c.variant === "border" && !c.disabled,
2914
2914
  "bg-secondary border-weak text-secondary": c.variant === "border" && c.disabled,
@@ -2928,7 +2928,7 @@ const Xn = () => {
2928
2928
  "px-1.5": c.size === "small"
2929
2929
  }])
2930
2930
  }, [
2931
- w(p(t1), {
2931
+ w(f(t1), {
2932
2932
  name: c.icon,
2933
2933
  class: "text-secondary"
2934
2934
  }, null, 8, ["name"])
@@ -3024,10 +3024,10 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3024
3024
  },
3025
3025
  emits: ["close", "ready"],
3026
3026
  setup(n, { expose: t, emit: e }) {
3027
- const l = n, s = e, r = R1(), a = y(), f = O(() => {
3027
+ const l = n, s = e, r = R1(), a = y(), p = O(() => {
3028
3028
  var b;
3029
3029
  return (b = a.value) == null ? void 0 : b.$el;
3030
- }), h = y(!1), { trapFocus: m, releaseFocus: C } = j1(f, !0);
3030
+ }), h = y(!1), { trapFocus: m, releaseFocus: C } = j1(p, !0);
3031
3031
  a1(() => {
3032
3032
  r.default && (l.title || r.header || r.main || r.footer) && console.warn(
3033
3033
  "You are using named slots (or props.title) and default slot at the same time. This is not supported. Please use either named slots (and props.title) or the default slot."
@@ -3043,28 +3043,28 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3043
3043
  m(), s("ready");
3044
3044
  };
3045
3045
  return t({ close: u }), (b, v) => (o(), V(U1, { to: b.target }, [
3046
- w(p(he), {
3046
+ w(f(he), {
3047
3047
  show: h.value,
3048
3048
  type: b.overlayType,
3049
3049
  onClick: g,
3050
3050
  onClose: v[0] || (v[0] = (L) => s("close"))
3051
3051
  }, {
3052
3052
  default: Z(() => [
3053
- w(p(st), { onTransitionAfterEnter: c }, {
3053
+ w(f(st), { onTransitionAfterEnter: c }, {
3054
3054
  default: Z(() => [
3055
- W1(w(p(ge), {
3055
+ W1(w(f(ge), {
3056
3056
  ref_key: "windowRef",
3057
3057
  ref: a,
3058
3058
  class: T(["h-full", [
3059
3059
  l.widthClass,
3060
3060
  {
3061
- "px-8 py-6": !p(r).default,
3061
+ "px-8 py-6": !f(r).default,
3062
3062
  "md:h-auto": !l.expandVertically
3063
3063
  }
3064
3064
  ]])
3065
3065
  }, {
3066
3066
  default: Z(() => [
3067
- b.$slots.default ? E(b.$slots, "default", { key: 0 }) : (o(), V(p(me), { key: 1 }, Re({
3067
+ b.$slots.default ? E(b.$slots, "default", { key: 0 }) : (o(), V(f(me), { key: 1 }, Re({
3068
3068
  main: Z(() => [
3069
3069
  E(b.$slots, "main", { close: u })
3070
3070
  ]),
@@ -3075,7 +3075,7 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3075
3075
  fn: Z(() => [
3076
3076
  l.title ? (o(), i("header", a2, [
3077
3077
  d("h4", null, K(l.title), 1),
3078
- b.closeable ? (o(), V(p(j), {
3078
+ b.closeable ? (o(), V(f(j), {
3079
3079
  key: 0,
3080
3080
  icon: "close",
3081
3081
  variant: "textSubtle",
@@ -3134,7 +3134,7 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3134
3134
  "bg-primary text-secondary opacity-50 hover:bg-secondary": !(l.isActive || l.isExactActive)
3135
3135
  }])
3136
3136
  }, [
3137
- l.icon ? (o(), V(p(t1), {
3137
+ l.icon ? (o(), V(f(t1), {
3138
3138
  key: 0,
3139
3139
  name: l.icon
3140
3140
  }, null, 8, ["name"])) : k("", !0),
@@ -3153,7 +3153,7 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3153
3153
  "bg-primary text-secondary opacity-50 hover:bg-secondary active:bg-tertiary": !(l.isActive || l.isExactActive)
3154
3154
  }])
3155
3155
  }, [
3156
- l.icon ? (o(), V(p(t1), {
3156
+ l.icon ? (o(), V(f(t1), {
3157
3157
  key: 0,
3158
3158
  name: l.icon
3159
3159
  }, null, 8, ["name"])) : k("", !0),
@@ -3163,10 +3163,10 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3163
3163
  ], 2)
3164
3164
  ]));
3165
3165
  }
3166
- }), p2 = {
3166
+ }), f2 = {
3167
3167
  "data-theme": "dark",
3168
3168
  class: "inline-flex items-stretch h-10 px-1 rounded-xl bg-black shadow-xl pointer-events-auto justify-between"
3169
- }, f2 = { class: "text-sm cursor-default truncate min-w-0" }, Ts = /* @__PURE__ */ $({
3169
+ }, p2 = { class: "text-sm cursor-default truncate min-w-0" }, Ts = /* @__PURE__ */ $({
3170
3170
  __name: "Notification",
3171
3171
  props: {
3172
3172
  showDetailsButton: { type: Boolean },
@@ -3176,8 +3176,8 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3176
3176
  emits: ["close", "show-details"],
3177
3177
  setup(n, { emit: t }) {
3178
3178
  const e = t, l = O(() => n.type === "default" ? "information" : n.type === "error" ? "error" : n.type === "warning" ? "warning" : "check-circled");
3179
- return (s, r) => (o(), i("div", p2, [
3180
- w(p(o1), {
3179
+ return (s, r) => (o(), i("div", f2, [
3180
+ w(f(o1), {
3181
3181
  class: T(["gap-2 px-3 rounded-l-lg flex-1 overflow-hidden", {
3182
3182
  "text-stone-300": s.type === "default",
3183
3183
  "text-amber-300": s.type === "warning",
@@ -3186,16 +3186,16 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3186
3186
  }])
3187
3187
  }, {
3188
3188
  default: Z(() => [
3189
- w(p(t1), { name: l.value }, null, 8, ["name"]),
3190
- d("span", f2, K(s.text), 1)
3189
+ w(f(t1), { name: l.value }, null, 8, ["name"]),
3190
+ d("span", p2, K(s.text), 1)
3191
3191
  ]),
3192
3192
  _: 1
3193
3193
  }, 8, ["class"]),
3194
- w(p(o1), null, {
3194
+ w(f(o1), null, {
3195
3195
  default: Z(() => [
3196
- w(p(o1), { class: "px-2" }, {
3196
+ w(f(o1), { class: "px-2" }, {
3197
3197
  default: Z(() => [
3198
- s.showDetailsButton ? (o(), V(p(j), {
3198
+ s.showDetailsButton ? (o(), V(f(j), {
3199
3199
  key: 0,
3200
3200
  small: "",
3201
3201
  variant: "outline",
@@ -3205,9 +3205,9 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3205
3205
  ]),
3206
3206
  _: 1
3207
3207
  }),
3208
- w(p(o1), { class: "px-1" }, {
3208
+ w(f(o1), { class: "px-1" }, {
3209
3209
  default: Z(() => [
3210
- w(p(j), {
3210
+ w(f(j), {
3211
3211
  small: "",
3212
3212
  variant: "textSubtle",
3213
3213
  icon: "close",
@@ -3221,7 +3221,7 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3221
3221
  })
3222
3222
  ]));
3223
3223
  }
3224
- }), Ss = /* @__PURE__ */ $({
3224
+ }), Bs = /* @__PURE__ */ $({
3225
3225
  __name: "Pagination",
3226
3226
  props: {
3227
3227
  borders: { type: Boolean, default: !1 },
@@ -3231,7 +3231,7 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3231
3231
  },
3232
3232
  emits: ["change"],
3233
3233
  setup(n, { emit: t }) {
3234
- const e = t, l = y(), s = O(() => i5(0, n.lastPage).map((u) => ({ id: `${u + 1}`, label: `${u + 1}` }))), r = O(() => n.borders ? { borderRadius: "8px 0 0 8px" } : void 0), a = O(() => n.borders ? { borderRadius: "0px 8px 8px 0px" } : void 0), f = O(() => n.borders ? { borderRadius: "0" } : void 0), h = O(() => n.borders ? "outlineSubtle" : "textSubtle"), m = (u) => {
3234
+ const e = t, l = y(), s = O(() => i5(0, n.lastPage).map((u) => ({ id: `${u + 1}`, label: `${u + 1}` }))), r = O(() => n.borders ? { borderRadius: "8px 0 0 8px" } : void 0), a = O(() => n.borders ? { borderRadius: "0px 8px 8px 0px" } : void 0), p = O(() => n.borders ? { borderRadius: "0" } : void 0), h = O(() => n.borders ? "outlineSubtle" : "textSubtle"), m = (u) => {
3235
3235
  let g = n.currentPage + u;
3236
3236
  g > n.lastPage && (g = 1), g < 1 && (g = n.lastPage), e("change", g);
3237
3237
  }, C = (u) => {
@@ -3242,14 +3242,14 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3242
3242
  ref: l,
3243
3243
  class: "relative z-0 inline-flex"
3244
3244
  }, [
3245
- w(p(j), {
3245
+ w(f(j), {
3246
3246
  variant: h.value,
3247
3247
  icon: u.orientation === "horizontal" ? "chevron-left" : "chevron-up",
3248
3248
  style: n1(r.value),
3249
3249
  class: "z-0 hover:z-10 focus:z-10 active:z-10",
3250
3250
  onClick: g[0] || (g[0] = (c) => m(-1))
3251
3251
  }, null, 8, ["variant", "icon", "style"]),
3252
- w(p(rt), {
3252
+ w(f(rt), {
3253
3253
  "same-width-as-element": l.value,
3254
3254
  placement: "bottom",
3255
3255
  value: u.currentPage,
@@ -3257,17 +3257,17 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3257
3257
  onSelect: C
3258
3258
  }, {
3259
3259
  trigger: Z((c) => [
3260
- w(p(j), {
3260
+ w(f(j), {
3261
3261
  variant: h.value,
3262
3262
  label: `${u.currentPage} / ${u.lastPage}`,
3263
- style: n1(f.value),
3263
+ style: n1(p.value),
3264
3264
  focus: c && c.visible,
3265
3265
  class: "z-0 hover:z-10 focus:z-10 active:z-10 -ml-px"
3266
3266
  }, null, 8, ["variant", "label", "style", "focus"])
3267
3267
  ]),
3268
3268
  _: 1
3269
3269
  }, 8, ["same-width-as-element", "value", "options"]),
3270
- w(p(j), {
3270
+ w(f(j), {
3271
3271
  variant: h.value,
3272
3272
  icon: u.orientation === "horizontal" ? "chevron-right" : "chevron-down",
3273
3273
  style: n1(a.value),
@@ -3276,7 +3276,7 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3276
3276
  }, null, 8, ["variant", "icon", "style"])
3277
3277
  ], 512));
3278
3278
  }
3279
- }), c2 = ["aria-label"], Se = /* @__PURE__ */ $({
3279
+ }), c2 = ["aria-label"], Be = /* @__PURE__ */ $({
3280
3280
  __name: "ResizablePanel",
3281
3281
  props: {
3282
3282
  size: { default: 256 },
@@ -3294,7 +3294,7 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3294
3294
  v,
3295
3295
  L
3296
3296
  ];
3297
- }), f = O(() => {
3297
+ }), p = O(() => {
3298
3298
  const v = [];
3299
3299
  return s.value === "horizontal" ? (v.push(e.placement === "left" ? "right-0 border-r" : "left-0 border-l"), v.push("top-0 h-full w-1 cursor-ew-resize")) : (v.push(e.placement === "top" ? "bottom-0 border-b" : "top-0 border-t"), v.push("left-0 w-full h-1 cursor-ns-resize")), v;
3300
3300
  });
@@ -3336,7 +3336,7 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3336
3336
  tabindex: "0",
3337
3337
  "aria-label": `Resize ${e.placement} panel`,
3338
3338
  class: T(["absolute z-10 hover:border-action", [
3339
- f.value,
3339
+ p.value,
3340
3340
  C.value ? "border-action bg-action" : "border-transparent bg-transparent hover:bg-tertiary focus:outline-none focus:border-action focus:bg-tertiary"
3341
3341
  ]]),
3342
3342
  onMousedown: u,
@@ -3344,7 +3344,7 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3344
3344
  }, null, 42, c2)) : k("", !0)
3345
3345
  ], 6));
3346
3346
  }
3347
- }), C2 = { class: "relative w-full h-full overflow-hidden bg-primary" }, Bs = /* @__PURE__ */ $({
3347
+ }), C2 = { class: "relative w-full h-full overflow-hidden bg-primary" }, Ss = /* @__PURE__ */ $({
3348
3348
  __name: "PanelLayout",
3349
3349
  props: {
3350
3350
  borders: { type: Boolean, default: !1 },
@@ -3360,15 +3360,15 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3360
3360
  },
3361
3361
  emits: ["start-panel-resize", "start-panel-resize-end", "start-panel-resize-start", "start-panel-transition-end", "end-panel-resize", "end-panel-resize-end", "end-panel-resize-start", "end-panel-transition-end"],
3362
3362
  setup(n, { emit: t }) {
3363
- const e = n, l = t, s = y(!1), r = y(e.startPanelSize), a = y(e.endPanelSize), f = y(e.startPanelSize), h = y(e.endPanelSize), m = O(() => ({
3364
- [e.orientation === "horizontal" ? "paddingLeft" : "paddingTop"]: `${f.value}px`,
3363
+ const e = n, l = t, s = y(!1), r = y(e.startPanelSize), a = y(e.endPanelSize), p = y(e.startPanelSize), h = y(e.endPanelSize), m = O(() => ({
3364
+ [e.orientation === "horizontal" ? "paddingLeft" : "paddingTop"]: `${p.value}px`,
3365
3365
  [e.orientation === "horizontal" ? "paddingRight" : "paddingBottom"]: `${h.value}px`
3366
3366
  })), C = () => {
3367
3367
  s.value = !1, l("start-panel-resize-end");
3368
3368
  }, u = () => {
3369
3369
  s.value = !0, l("start-panel-resize-start");
3370
3370
  }, g = (H) => {
3371
- r.value = f.value = H, l("start-panel-resize", H);
3371
+ r.value = p.value = H, l("start-panel-resize", H);
3372
3372
  }, c = (H) => !H && l("start-panel-transition-end"), b = () => {
3373
3373
  s.value = !1, l("end-panel-resize-end");
3374
3374
  }, v = () => {
@@ -3378,22 +3378,22 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3378
3378
  }, D = (H) => !H && l("end-panel-transition-end");
3379
3379
  r1(
3380
3380
  () => e.startPanelVisible,
3381
- (H) => f.value = H ? r.value : 0
3381
+ (H) => p.value = H ? r.value : 0
3382
3382
  ), r1(
3383
3383
  () => e.endPanelVisible,
3384
3384
  (H) => h.value = H ? a.value : 0
3385
3385
  ), r1(
3386
3386
  () => e.startPanelSize,
3387
- (H) => r.value = f.value = H
3387
+ (H) => r.value = p.value = H
3388
3388
  ), r1(
3389
3389
  () => e.endPanelSize,
3390
3390
  (H) => a.value = h.value = H
3391
3391
  );
3392
3392
  const A = R1();
3393
3393
  return a1(() => {
3394
- f.value = e.startPanelVisible && A["start-panel"] ? r.value : 0, h.value = e.endPanelVisible && A["end-panel"] ? a.value : 0;
3395
- }), (H, S) => (o(), i("div", C2, [
3396
- p(A)["start-panel"] && H.startPanelVisible ? (o(), V(Se, {
3394
+ p.value = e.startPanelVisible && A["start-panel"] ? r.value : 0, h.value = e.endPanelVisible && A["end-panel"] ? a.value : 0;
3395
+ }), (H, B) => (o(), i("div", C2, [
3396
+ f(A)["start-panel"] && H.startPanelVisible ? (o(), V(Be, {
3397
3397
  key: 0,
3398
3398
  placement: H.orientation === "horizontal" ? "left" : "top",
3399
3399
  border: e.borders,
@@ -3415,7 +3415,7 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3415
3415
  }, [
3416
3416
  E(H.$slots, "main")
3417
3417
  ], 6),
3418
- p(A)["end-panel"] && H.endPanelVisible ? (o(), V(Se, {
3418
+ f(A)["end-panel"] && H.endPanelVisible ? (o(), V(Be, {
3419
3419
  key: 1,
3420
3420
  placement: H.orientation === "horizontal" ? "right" : "bottom",
3421
3421
  border: e.borders,
@@ -3450,8 +3450,10 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3450
3450
  props: {
3451
3451
  closeDelay: { default: 20 },
3452
3452
  closeOnClickOutside: { type: Boolean, default: !0 },
3453
+ closeOnEscapeKey: { type: Boolean, default: !1 },
3453
3454
  disabled: { type: Boolean, default: !1 },
3454
3455
  flipOptions: { default: () => ({}) },
3456
+ focusTriggerOnClose: { type: Boolean, default: !1 },
3455
3457
  limitShiftOptions: {},
3456
3458
  offsetOptions: { default: () => ({}) },
3457
3459
  shiftOptions: { default: () => ({}) },
@@ -3470,62 +3472,62 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3470
3472
  setup(n, { expose: t, emit: e }) {
3471
3473
  const l = n, s = e, r = R1();
3472
3474
  let a;
3473
- const f = y(), h = y(), m = y(), C = y(!1), { mounted: u } = G5(), { disableClickOutside: g, enableClickOutside: c, updateClickOutside: b } = ce(() => u1()), { trapFocus: v, releaseFocus: L } = j1(h), D = (B) => {
3474
- B.key === "Escape" && H();
3475
+ const p = y(), h = y(), m = y(), C = y(!1), { mounted: u } = G5(), { disableClickOutside: g, enableClickOutside: c, updateClickOutside: b } = ce(() => u1()), { trapFocus: v, releaseFocus: L } = j1(h), D = (S) => {
3476
+ S.key === "Escape" && H();
3475
3477
  }, A = async () => {
3476
3478
  if (m.value && h.value) {
3477
- const B = [];
3478
- l.offsetOptions && B.push($t(l.offsetOptions)), l.flipOptions && B.push(Dt(l.flipOptions)), l.limitShiftOptions ? B.push(
3479
+ const S = [];
3480
+ l.offsetOptions && S.push($t(l.offsetOptions)), l.flipOptions && S.push(Dt(l.flipOptions)), l.limitShiftOptions ? S.push(
3479
3481
  Ve({
3480
3482
  ...l.shiftOptions,
3481
3483
  limiter: Tt(l.limitShiftOptions)
3482
3484
  })
3483
- ) : l.shiftOptions && B.push(Ve(l.shiftOptions)), l.popperWidthClass || (l.sameWidthAsTrigger ? B.push(v2) : l.sameWidthAsElement && B.push(h2(l.sameWidthAsElement)));
3484
- const R = await St(m.value, h.value, {
3485
+ ) : l.shiftOptions && S.push(Ve(l.shiftOptions)), l.popperWidthClass || (l.sameWidthAsTrigger ? S.push(v2) : l.sameWidthAsElement && S.push(h2(l.sameWidthAsElement)));
3486
+ const R = await Bt(m.value, h.value, {
3485
3487
  placement: l.placement,
3486
- middleware: B
3488
+ middleware: S
3487
3489
  });
3488
3490
  h.value.style.left = `${R.x}px`, h.value.style.top = `${R.y}px`;
3489
3491
  }
3490
3492
  };
3491
3493
  a1(() => {
3492
- const B = r.default && r.default({ visible: C.value });
3493
- if (B && B.length > 1)
3494
- return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${B.length} child nodes.`);
3494
+ const S = r.default && r.default({ visible: C.value });
3495
+ if (S && S.length > 1)
3496
+ return console.error(`[Popper]: The <Popper> component expects only one child element at its root. You passed ${S.length} child nodes.`);
3495
3497
  l.popperWidthClass ? (l.sameWidthAsElement || l.sameWidthAsTrigger) && console.warn("[Popper]: The props 'sameWidthAsElement' or 'sameWidthAsTrigger' will be ignored because the 'popperWidthClass' is set") : l.sameWidthAsElement && l.sameWidthAsTrigger && console.warn("[Popper]: The 'sameWidthAsElement' prop will be ignored because 'sameWidthAsTrigger' is set to true"), l.trigger === "manual" && l.show && I();
3496
3498
  }), N1(() => {
3497
3499
  I.clear(), a && (a(), a = null);
3498
3500
  });
3499
3501
  const H = () => {
3500
- var B, R;
3501
- I.clear(), C.value && (L(), window.removeEventListener("keydown", D), C.value = !1, l.trigger !== "hover" && ((R = ((B = m.value) == null ? void 0 : B.querySelector("button, [href], input, select, textarea, [tabindex]")) ?? m.value) == null || R.focus()), s("close"), l.closeOnClickOutside && g(), a && (a(), a = null));
3502
- }, S = async () => {
3503
- C.value || (C.value = !0, await V1(), s("open", [m.value, h.value]), a = Zt(m.value, h.value, A), l.closeOnClickOutside && h.value && m.value && c([h.value, m.value]), l.trigger !== "hover" && (V1(v), window.addEventListener("keydown", D)));
3504
- }, I = oe(S, l.openDelay), P = oe(H, l.closeDelay), e1 = async () => {
3502
+ var S, R;
3503
+ I.clear(), C.value && (L(), l.closeOnEscapeKey && window.removeEventListener("keydown", D), C.value = !1, l.focusTriggerOnClose && l.trigger !== "hover" && ((R = ((S = m.value) == null ? void 0 : S.querySelector("button, [href], input, select, textarea, [tabindex]")) ?? m.value) == null || R.focus()), s("close"), l.closeOnClickOutside && g(), a && (a(), a = null));
3504
+ }, B = async () => {
3505
+ C.value || (C.value = !0, await V1(), s("open", [m.value, h.value]), a = Zt(m.value, h.value, A), l.closeOnClickOutside && h.value && m.value && c([h.value, m.value]), l.trigger !== "hover" && (V1(v), l.closeOnEscapeKey && window.addEventListener("keydown", D)));
3506
+ }, I = oe(B, l.openDelay), P = oe(H, l.closeDelay), e1 = async () => {
3505
3507
  l.disabled || (P.clear(), I());
3506
3508
  }, u1 = async () => {
3507
3509
  I.clear(), P();
3508
- }, Q = (B) => {
3509
- l.trigger === "click" && (B.preventDefault(), B.stopPropagation(), l1());
3510
- }, Y = (B) => {
3511
- h.value && m.value && b([h.value, m.value, ...B]);
3510
+ }, Q = (S) => {
3511
+ l.trigger === "click" && (S.preventDefault(), S.stopPropagation(), l1());
3512
+ }, Y = (S) => {
3513
+ h.value && m.value && b([h.value, m.value, ...S]);
3512
3514
  }, l1 = () => C.value ? u1() : e1();
3513
3515
  return r1(
3514
3516
  () => l.disabled,
3515
- (B) => C.value && B && H()
3517
+ (S) => C.value && S && H()
3516
3518
  ), r1(
3517
3519
  () => l.show,
3518
- (B) => {
3519
- l.trigger === "manual" ? B ? I() : P() : console.warn("[Popper]: The 'show' prop is only available when the 'trigger' prop is set to 'manual'");
3520
+ (S) => {
3521
+ l.trigger === "manual" ? S ? I() : P() : console.warn("[Popper]: The 'show' prop is only available when the 'trigger' prop is set to 'manual'");
3520
3522
  }
3521
3523
  ), t({
3522
3524
  close: H,
3523
- containerRef: f,
3524
- open: S,
3525
+ containerRef: p,
3526
+ open: B,
3525
3527
  updateClickOutsideTargets: Y
3526
- }), (B, R) => (o(), i("div", {
3528
+ }), (S, R) => (o(), i("div", {
3527
3529
  ref_key: "containerRef",
3528
- ref: f,
3530
+ ref: p,
3529
3531
  class: T(l.rootClass),
3530
3532
  onMouseleave: R[5] || (R[5] = (G) => l.trigger === "hover" && u1())
3531
3533
  }, [
@@ -3538,11 +3540,11 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3538
3540
  onFocus: R[1] || (R[1] = (G) => l.trigger === "focus" && e1()),
3539
3541
  onKeyup: R[2] || (R[2] = _((G) => u1(), ["esc"]))
3540
3542
  }, [
3541
- E(B.$slots, "default", { visible: C.value })
3543
+ E(S.$slots, "default", { visible: C.value })
3542
3544
  ], 34),
3543
- p(u) ? (o(), V(U1, {
3545
+ f(u) ? (o(), V(U1, {
3544
3546
  key: 0,
3545
- to: B.teleportTarget
3547
+ to: S.teleportTarget
3546
3548
  }, [
3547
3549
  !l.disabled && C.value ? (o(), i("div", {
3548
3550
  key: 0,
@@ -3552,7 +3554,7 @@ const F1 = /* @__PURE__ */ Z1(n2, [["render", s2]]), a2 = {
3552
3554
  onMouseover: R[3] || (R[3] = (G) => l.trigger === "hover" && e1()),
3553
3555
  onMouseleave: R[4] || (R[4] = (G) => l.trigger === "hover" && u1())
3554
3556
  }, [
3555
- E(B.$slots, "content", {
3557
+ E(S.$slots, "content", {
3556
3558
  close: H,
3557
3559
  isOpen: C.value
3558
3560
  })
@@ -3590,16 +3592,18 @@ const O1 = /* @__PURE__ */ Z1(m2, [["render", b2]]), L2 = {
3590
3592
  }, a = () => {
3591
3593
  var m;
3592
3594
  e("change", s.value), (m = l.value) == null || m.close();
3593
- }, f = () => {
3595
+ }, p = () => {
3594
3596
  var m;
3595
3597
  n.mode === "immediate" ? (e("change", null), (m = l.value) == null || m.close()) : s.value = null;
3596
3598
  }, h = (m) => {
3597
3599
  n.mode === "confirmation" && (s.value = n.value), e("open", m);
3598
3600
  };
3599
- return (m, C) => (o(), V(p(E1), {
3601
+ return (m, C) => (o(), V(f(E1), {
3600
3602
  ref_key: "popperRef",
3601
3603
  ref: l,
3602
3604
  trigger: "click",
3605
+ "focus-trigger-on-close": "",
3606
+ "close-on-escape-key": "",
3603
3607
  placement: m.placement,
3604
3608
  disabled: m.disabled,
3605
3609
  onClose: C[0] || (C[0] = (u) => e("close")),
@@ -3611,23 +3615,23 @@ const O1 = /* @__PURE__ */ Z1(m2, [["render", b2]]), L2 = {
3611
3615
  })
3612
3616
  ]),
3613
3617
  content: Z(() => [
3614
- w(p(O1), null, {
3618
+ w(f(O1), null, {
3615
3619
  default: Z(() => [
3616
- w(p(A5), {
3620
+ w(f(A5), {
3617
3621
  value: m.mode === "confirmation" ? s.value : m.value,
3618
3622
  format: m.format,
3619
3623
  "disabled-dates": m.disabledDates,
3620
3624
  onChange: r
3621
3625
  }, null, 8, ["value", "format", "disabled-dates"]),
3622
3626
  m.mode === "confirmation" || m.clearable ? (o(), i("footer", L2, [
3623
- m.clearable ? (o(), V(p(j), {
3627
+ m.clearable ? (o(), V(f(j), {
3624
3628
  key: 0,
3625
3629
  icon: "trash",
3626
3630
  label: "Clear",
3627
3631
  variant: "outlineSubtle",
3628
- onClick: f
3632
+ onClick: p
3629
3633
  })) : k("", !0),
3630
- m.mode === "confirmation" ? (o(), V(p(j), {
3634
+ m.mode === "confirmation" ? (o(), V(f(j), {
3631
3635
  key: 1,
3632
3636
  icon: "check",
3633
3637
  label: "Done",
@@ -3671,18 +3675,20 @@ const O1 = /* @__PURE__ */ Z1(m2, [["render", b2]]), L2 = {
3671
3675
  setup(n, { emit: t }) {
3672
3676
  const e = t, l = y(), s = y(), { trapFocus: r } = j1(s), a = () => {
3673
3677
  e("close"), l.value && l.value.close();
3674
- }, f = () => V1(r), h = () => {
3678
+ }, p = () => V1(r), h = () => {
3675
3679
  a(), e("cancel");
3676
3680
  }, m = () => {
3677
3681
  a(), e("confirm");
3678
3682
  };
3679
- return (C, u) => (o(), V(p(E1), {
3683
+ return (C, u) => (o(), V(f(E1), {
3680
3684
  ref_key: "popperRef",
3681
3685
  ref: l,
3682
3686
  trigger: "click",
3687
+ "focus-trigger-on-close": "",
3688
+ "close-on-escape-key": "",
3683
3689
  placement: C.placement,
3684
3690
  "offset-options": C.offsetOptions || { mainAxis: 4 },
3685
- onOpen: f,
3691
+ onOpen: p,
3686
3692
  onClose: a
3687
3693
  }, {
3688
3694
  default: Z((g) => [
@@ -3693,7 +3699,7 @@ const O1 = /* @__PURE__ */ Z1(m2, [["render", b2]]), L2 = {
3693
3699
  ])
3694
3700
  ]),
3695
3701
  content: Z(() => [
3696
- w(p(O1), null, {
3702
+ w(f(O1), null, {
3697
3703
  default: Z(() => [
3698
3704
  d("div", {
3699
3705
  ref_key: "contentRef",
@@ -3707,7 +3713,7 @@ const O1 = /* @__PURE__ */ Z1(m2, [["render", b2]]), L2 = {
3707
3713
  d("h5", null, K(C.title), 1),
3708
3714
  d("p", V2, K(C.description), 1)
3709
3715
  ])) : k("", !0),
3710
- w(p(Y1), {
3716
+ w(f(Y1), {
3711
3717
  vertical: !(C.title || C.description),
3712
3718
  small: C.small,
3713
3719
  "cancel-variant": C.cancelVariant,
@@ -3750,23 +3756,23 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
3750
3756
  const e = n, l = t, s = y(), r = O(() => e.hoveredOption && e.hoveredOption.id === e.option.id), a = () => {
3751
3757
  e.option.disabled || l("click");
3752
3758
  };
3753
- return (f, h) => (o(), i("div", {
3759
+ return (p, h) => (o(), i("div", {
3754
3760
  ref_key: "root",
3755
3761
  ref: s,
3756
3762
  tabindex: "0",
3757
3763
  class: T(["flex items-center justify-between w-full h-8 px-3 space-x-2 text-sm focus:outline-hidden", {
3758
- "cursor-not-allowed text-muted ": f.option.disabled,
3759
- "cursor-pointer text-primary hover:bg-secondary focus:bg-secondary active:bg-tertiary": !f.option.disabled && !f.selected,
3760
- "cursor-pointer text-light-blue font-medium hover:bg-secondary focus:bg-secondary active:bg-tertiary": f.selected,
3764
+ "cursor-not-allowed text-muted ": p.option.disabled,
3765
+ "cursor-pointer text-primary hover:bg-secondary focus:bg-secondary active:bg-tertiary": !p.option.disabled && !p.selected,
3766
+ "cursor-pointer text-light-blue font-medium hover:bg-secondary focus:bg-secondary active:bg-tertiary": p.selected,
3761
3767
  "bg-secondary": r.value,
3762
3768
  "bg-primary": !r.value
3763
3769
  }]),
3764
3770
  onClick: a,
3765
3771
  onKeydown: _(F(a, ["prevent"]), ["enter"]),
3766
- onMouseover: h[0] || (h[0] = (m) => l("hover", f.option.id)),
3767
- onFocus: h[1] || (h[1] = (m) => l("focus", f.option.id))
3772
+ onMouseover: h[0] || (h[0] = (m) => l("hover", p.option.id)),
3773
+ onFocus: h[1] || (h[1] = (m) => l("focus", p.option.id))
3768
3774
  }, [
3769
- E(f.$slots, "default")
3775
+ E(p.$slots, "default")
3770
3776
  ], 42, M2));
3771
3777
  }
3772
3778
  }), $2 = { class: "flex items-center px-2 pb-2 space-x-2" }, D2 = /* @__PURE__ */ $({
@@ -3780,7 +3786,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
3780
3786
  setup(n, { emit: t }) {
3781
3787
  const e = t;
3782
3788
  return (l, s) => (o(), i("section", $2, [
3783
- (o(!0), i(M, null, m1(l.filters, (r) => (o(), V(p(jn), {
3789
+ (o(!0), i(M, null, m1(l.filters, (r) => (o(), V(f(jn), {
3784
3790
  key: r.name,
3785
3791
  active: !!(l.selected && l.selected.name === r.name),
3786
3792
  count: r.count,
@@ -3793,10 +3799,10 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
3793
3799
  }), T2 = {
3794
3800
  key: 0,
3795
3801
  class: "border-b border-default"
3796
- }, S2 = {
3802
+ }, B2 = {
3797
3803
  key: 0,
3798
3804
  class: "flex items-center w-full px-3 space-x-2 bg-primary overflow-hidden"
3799
- }, B2 = ["placeholder", "onKeydown"], z2 = {
3805
+ }, S2 = ["placeholder", "onKeydown"], z2 = {
3800
3806
  key: 2,
3801
3807
  class: "flex-1"
3802
3808
  }, A2 = { class: "flex items-center space-x-2 bg-primary text-tertiary py-3 px-3" }, R2 = { class: "italic leading-none text-sm" }, E2 = {
@@ -3839,14 +3845,14 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
3839
3845
  },
3840
3846
  emits: ["close", "save-custom", "select"],
3841
3847
  setup(n, { expose: t, emit: e }) {
3842
- const l = n, s = e, r = R1(), a = y(null), f = y([]), h = y(""), m = y(), C = y(), u = y(), g = y(), c = y(), b = y(), v = y(l.resultFilters || []), L = y(l.resultFilters ? l.resultFilters[0] : null), { nextFrame: D } = ve(), A = O(() => l.selected ? Array.isArray(l.selected) ? l.selected : [l.selected] : []), H = O(() => f.value.every((x) => x.disabled)), S = O(() => !h.value.length && !f.value.length), I = O(() => h.value.length && !f.value.length), P = O(() => {
3848
+ const l = n, s = e, r = R1(), a = y(null), p = y([]), h = y(""), m = y(), C = y(), u = y(), g = y(), c = y(), b = y(), v = y(l.resultFilters || []), L = y(l.resultFilters ? l.resultFilters[0] : null), { nextFrame: D } = ve(), A = O(() => l.selected ? Array.isArray(l.selected) ? l.selected : [l.selected] : []), H = O(() => p.value.every((x) => x.disabled)), B = O(() => !h.value.length && !p.value.length), I = O(() => h.value.length && !p.value.length), P = O(() => {
3843
3849
  if (C.value) return b1.ERROR;
3844
3850
  if (l.loading) return b1.LOADING;
3845
3851
  if (I.value && !l.loading) return b1.NO_MATCH;
3846
- if (S.value && !l.loading) return b1.IDLE;
3847
- if (f.value.length && !l.loading) return b1.MATCH;
3852
+ if (B.value && !l.loading) return b1.IDLE;
3853
+ if (p.value.length && !l.loading) return b1.MATCH;
3848
3854
  }), e1 = (x) => {
3849
- f.value = L.value ? x.filter(L.value.execute) : x, l.resultFilters && v.value.forEach((U) => {
3855
+ p.value = L.value ? x.filter(L.value.execute) : x, l.resultFilters && v.value.forEach((U) => {
3850
3856
  U.count = x.filter(U.execute).length;
3851
3857
  });
3852
3858
  };
@@ -3864,36 +3870,38 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
3864
3870
  });
3865
3871
  }, l1 = () => {
3866
3872
  l.keepOpen || (a.value = null, l.resetOnClose && (h.value = "", l.remoteMethod ? l.remoteMethod("") : e1([]), L.value = l.resultFilters ? l.resultFilters[0] : null), s("close"));
3867
- }, B = (x) => {
3873
+ }, S = (x) => {
3868
3874
  s("select", x), l.keepOpen || u1();
3869
- }, R = (x) => f.value = l.options.filter((U) => U.label.toLowerCase().includes(x.toLowerCase())), S1 = qn(async (x) => {
3875
+ }, R = (x) => p.value = l.options.filter((U) => U.label.toLowerCase().includes(x.toLowerCase())), B1 = qn(async (x) => {
3870
3876
  const U = x.target.value;
3871
3877
  a.value = null, l.filterable ? R(U) : l.remoteMethod && await l.remoteMethod(U);
3872
3878
  }, l.debounceMs), g1 = (x) => {
3873
- a.value = f.value.find((U) => U.id === x) || null;
3879
+ a.value = p.value.find((U) => U.id === x) || null;
3874
3880
  }, N = (x) => {
3875
3881
  if (!g.value.length) return;
3876
- const U = g.value[f.value.findIndex((q) => q.label === x.label)].$el;
3882
+ const U = g.value[p.value.findIndex((q) => q.label === x.label)].$el;
3877
3883
  if (b.value && U) {
3878
3884
  const q = b.value.$el.querySelector(".scrollbar__wrap");
3879
3885
  q && (at(q, U), b.value.handleScroll());
3880
3886
  }
3881
3887
  }, W = async (x) => {
3882
- if (f.value.length === 0) return;
3883
- let U = f.value.findIndex((q) => {
3888
+ if (p.value.length === 0) return;
3889
+ let U = p.value.findIndex((q) => {
3884
3890
  var d1;
3885
3891
  return q.label === ((d1 = a.value) == null ? void 0 : d1.label);
3886
3892
  });
3887
- H.value || (x === "next" ? (U++, U === f.value.length && (U = 0)) : x === "prev" && (U--, U < 0 && (U = f.value.length - 1)), a.value = f.value[U], a.value.disabled === !0 && W(x), await V1(), a.value && N(a.value));
3893
+ H.value || (x === "next" ? (U++, U === p.value.length && (U = 0)) : x === "prev" && (U--, U < 0 && (U = p.value.length - 1)), a.value = p.value[U], a.value.disabled === !0 && W(x), await V1(), a.value && N(a.value));
3888
3894
  }, s1 = () => {
3889
- a.value ? B(a.value) : h.value.length && s("save-custom", h.value);
3895
+ a.value ? S(a.value) : h.value.length && s("save-custom", h.value);
3890
3896
  }, v1 = (x) => {
3891
3897
  L.value = x, e1(l.options), u.value.focus();
3892
3898
  };
3893
- return t({ close: u1, focus: Q }), (x, U) => (o(), V(p(E1), {
3899
+ return t({ close: u1, focus: Q }), (x, U) => (o(), V(f(E1), {
3894
3900
  ref_key: "popperRef",
3895
3901
  ref: c,
3896
3902
  trigger: "click",
3903
+ "focus-trigger-on-close": "",
3904
+ "close-on-escape-key": "",
3897
3905
  placement: x.placement,
3898
3906
  disabled: x.disabled,
3899
3907
  "popper-width-class": x.popperWidthClass,
@@ -3911,15 +3919,15 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
3911
3919
  })
3912
3920
  ]),
3913
3921
  content: Z(() => [
3914
- w(p(O1), {
3922
+ w(f(O1), {
3915
3923
  ref_key: "contentRef",
3916
3924
  ref: m,
3917
3925
  class: T(["flex flex-col", { "h-72": x.fixedHeight }])
3918
3926
  }, {
3919
3927
  default: Z(() => [
3920
3928
  x.filterable || x.remoteMethod || x.resultFilters ? (o(), i("header", T2, [
3921
- x.filterable || x.remoteMethod ? (o(), i("header", S2, [
3922
- w(p(t1), {
3929
+ x.filterable || x.remoteMethod ? (o(), i("header", B2, [
3930
+ w(f(t1), {
3923
3931
  name: "magnifying-glass",
3924
3932
  class: "text-light-blue"
3925
3933
  }),
@@ -3933,14 +3941,14 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
3933
3941
  onClick: U[1] || (U[1] = F(() => {
3934
3942
  }, ["stop", "prevent"])),
3935
3943
  onInput: U[2] || (U[2] = //@ts-ignore
3936
- (...q) => p(S1) && p(S1)(...q)),
3944
+ (...q) => f(B1) && f(B1)(...q)),
3937
3945
  onKeydown: [
3938
3946
  U[3] || (U[3] = _(F((q) => W("next"), ["prevent"]), ["down"])),
3939
3947
  U[4] || (U[4] = _(F((q) => W("prev"), ["prevent"]), ["up"])),
3940
3948
  _(F(s1, ["prevent"]), ["enter"]),
3941
3949
  _(F(l1, ["stop", "prevent"]), ["esc"])
3942
3950
  ]
3943
- }, null, 40, B2), [
3951
+ }, null, 40, S2), [
3944
3952
  [kt, h.value]
3945
3953
  ])
3946
3954
  ])) : k("", !0),
@@ -3959,30 +3967,30 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
3959
3967
  class: "flex-1 bg-primary h-full"
3960
3968
  }, [
3961
3969
  E(x.$slots, "error")
3962
- ], 512)) : P.value === p(b1).LOADING ? (o(), i("div", z2, [
3970
+ ], 512)) : P.value === f(b1).LOADING ? (o(), i("div", z2, [
3963
3971
  d("div", A2, [
3964
- w(p(F1), { class: "w-4 h-4 text-granite-grey" }),
3972
+ w(f(F1), { class: "w-4 h-4 text-granite-grey" }),
3965
3973
  d("span", R2, K(x.loadingText), 1)
3966
3974
  ])
3967
- ])) : P.value === p(b1).NO_MATCH ? (o(), i("div", E2, [
3975
+ ])) : P.value === f(b1).NO_MATCH ? (o(), i("div", E2, [
3968
3976
  d("div", O2, [
3969
3977
  U[5] || (U[5] = d("div", { class: "w-4 h-4 text-center leading-none" }, " ... ", -1)),
3970
3978
  d("span", I2, K(x.noMatchText), 1)
3971
3979
  ])
3972
- ])) : P.value === p(b1).IDLE ? (o(), i("div", x2, [
3980
+ ])) : P.value === f(b1).IDLE ? (o(), i("div", x2, [
3973
3981
  d("div", P2, [
3974
- w(p(t1), { name: x.emptyStateIcon }, null, 8, ["name"]),
3982
+ w(f(t1), { name: x.emptyStateIcon }, null, 8, ["name"]),
3975
3983
  d("span", F2, K(x.emptyStateText), 1)
3976
3984
  ]),
3977
3985
  U[6] || (U[6] = d("div", { class: "h-8 w-full bg-primary" }, null, -1))
3978
- ])) : P.value === p(b1).MATCH ? (o(), V(p(X1), {
3986
+ ])) : P.value === f(b1).MATCH ? (o(), V(f(X1), {
3979
3987
  key: 5,
3980
3988
  ref_key: "scrollbarRef",
3981
3989
  ref: b
3982
3990
  }, {
3983
3991
  default: Z(() => [
3984
3992
  d("div", N2, [
3985
- (o(!0), i(M, null, m1(f.value, (q) => (o(), V(Z2, {
3993
+ (o(!0), i(M, null, m1(p.value, (q) => (o(), V(Z2, {
3986
3994
  ref_for: !0,
3987
3995
  ref_key: "optionsRef",
3988
3996
  ref: g,
@@ -3992,15 +4000,15 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
3992
4000
  selected: A.value.includes(q),
3993
4001
  onFocus: g1,
3994
4002
  onHover: g1,
3995
- onClick: (d1) => B(q)
4003
+ onClick: (d1) => S(q)
3996
4004
  }, {
3997
4005
  default: Z(() => [
3998
4006
  d("div", U2, [
3999
- q.icon ? (o(), V(p(t1), {
4007
+ q.icon ? (o(), V(f(t1), {
4000
4008
  key: 0,
4001
4009
  name: q.icon
4002
4010
  }, null, 8, ["name"])) : k("", !0),
4003
- w(p(dt), {
4011
+ w(f(dt), {
4004
4012
  "background-color": "yellow",
4005
4013
  value: q.label,
4006
4014
  highlight: h.value
@@ -4014,7 +4022,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4014
4022
  ]),
4015
4023
  _: 1
4016
4024
  }, 512)) : k("", !0),
4017
- p(r).footer ? (o(), i("footer", Y2, [
4025
+ f(r).footer ? (o(), i("footer", Y2, [
4018
4026
  E(x.$slots, "footer")
4019
4027
  ])) : k("", !0)
4020
4028
  ]),
@@ -4049,7 +4057,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4049
4057
  }, null, 6),
4050
4058
  d("div", K2, [
4051
4059
  t.value ? (o(), i("div", X2, [
4052
- w(p(t1), { name: "check" })
4060
+ w(f(t1), { name: "check" })
4053
4061
  ])) : (o(), i("div", Q2, [
4054
4062
  e.prefix ? (o(), i("span", q2, K(e.prefix), 1)) : k("", !0),
4055
4063
  d("span", null, K(Math.round(e.percentage)) + "%", 1)
@@ -4068,20 +4076,20 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4068
4076
  const e = n, l = t, s = y(""), r = Ee({ backdropFilter: "" });
4069
4077
  return A1(() => {
4070
4078
  e.type === "default" ? (s.value = "bg-black/25 dark:bg-black/50", r.backdropFilter = "") : e.type === "blurred" && (s.value = "bg-black/25", r.backdropFilter = "blur(3px)");
4071
- }), (a, f) => (o(), V(ue, {
4079
+ }), (a, p) => (o(), V(ue, {
4072
4080
  "enter-active-class": "transform transition ease-in-out duration-200",
4073
4081
  "enter-from-class": "opacity-0",
4074
4082
  "enter-to-class": "",
4075
4083
  "leave-active-class": "transform transition ease-in-out duration-500",
4076
4084
  "leave-class": "translate-y-0 opacity-100",
4077
4085
  "leave-to-class": "opacity-0",
4078
- onAfterLeave: f[1] || (f[1] = (h) => l("close"))
4086
+ onAfterLeave: p[1] || (p[1] = (h) => l("close"))
4079
4087
  }, {
4080
4088
  default: Z(() => [
4081
4089
  W1(d("div", {
4082
4090
  class: T(["z-40 fixed w-screen h-screen top-0 left-0 flex items-center justify-center pointer-events-auto p-4", s.value]),
4083
4091
  style: n1(r),
4084
- onMousedown: f[0] || (f[0] = F((h) => l("click"), ["self"]))
4092
+ onMousedown: p[0] || (p[0] = F((h) => l("click"), ["self"]))
4085
4093
  }, [
4086
4094
  E(a.$slots, "default")
4087
4095
  ], 38), [
@@ -4109,7 +4117,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4109
4117
  axis: "Y",
4110
4118
  client: "clientY",
4111
4119
  direction: "top"
4112
- }, _2 = ["tabindex", "aria-label", "aria-valuenow"], Be = /* @__PURE__ */ $({
4120
+ }, _2 = ["tabindex", "aria-label", "aria-valuenow"], Se = /* @__PURE__ */ $({
4113
4121
  __name: "Bar",
4114
4122
  props: {
4115
4123
  vertical: { type: Boolean },
@@ -4118,17 +4126,17 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4118
4126
  },
4119
4127
  emits: ["move", "update"],
4120
4128
  setup(n, { emit: t }) {
4121
- const e = n, l = t, s = y(), r = y(), a = y(!1), f = e.vertical ? J2 : G2, h = y(0), m = (L) => {
4129
+ const e = n, l = t, s = y(), r = y(), a = y(!1), p = e.vertical ? J2 : G2, h = y(0), m = (L) => {
4122
4130
  if (!a.value) return;
4123
4131
  const D = h.value;
4124
4132
  if (!D) return;
4125
4133
  const A = s.value.getBoundingClientRect();
4126
4134
  if (A) {
4127
- const H = ((A[f.direction] || 0) - (L[f.client] || 0)) * -1, S = r.value && typeof r.value[f.offset] == "number" ? r.value[f.offset] - D : 0, I = s.value ? Number(s.value[f.offset]) : 0, P = I ? (H - S) * 100 / I : 0;
4135
+ const H = ((A[p.direction] || 0) - (L[p.client] || 0)) * -1, B = r.value && typeof r.value[p.offset] == "number" ? r.value[p.offset] - D : 0, I = s.value ? Number(s.value[p.offset]) : 0, P = I ? (H - B) * 100 / I : 0;
4128
4136
  l("update", {
4129
- scrollReference: f.scroll,
4137
+ scrollReference: p.scroll,
4130
4138
  positionPercentage: P,
4131
- scrollSize: f.scrollSize
4139
+ scrollSize: p.scrollSize
4132
4140
  });
4133
4141
  }
4134
4142
  }, C = () => {
@@ -4137,23 +4145,23 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4137
4145
  L.stopImmediatePropagation(), a.value = !0, document.addEventListener("mousemove", m), document.addEventListener("mouseup", C), document.onselectstart = () => !1;
4138
4146
  }, g = (L) => {
4139
4147
  if (!(L.ctrlKey || L.button === 2) && (u(L), L.currentTarget)) {
4140
- const D = L.currentTarget[f.offset], A = L[f.client], S = L.currentTarget.getBoundingClientRect()[f.direction];
4141
- h.value = D - (A - S);
4148
+ const D = L.currentTarget[p.offset], A = L[p.client], B = L.currentTarget.getBoundingClientRect()[p.direction];
4149
+ h.value = D - (A - B);
4142
4150
  }
4143
4151
  }, c = (L) => {
4144
4152
  const D = L.target.getBoundingClientRect();
4145
4153
  if (D) {
4146
- const A = D[f.direction], H = L[f.client], S = Math.abs((A ? Number(A) : 0) - (H ? Number(H) : 0)), I = r.value[f.offset] / 2, P = s.value ? Number(s.value[f.offset]) : 0, e1 = P ? (S - I) * 100 / P : 0;
4154
+ const A = D[p.direction], H = L[p.client], B = Math.abs((A ? Number(A) : 0) - (H ? Number(H) : 0)), I = r.value[p.offset] / 2, P = s.value ? Number(s.value[p.offset]) : 0, e1 = P ? (B - I) * 100 / P : 0;
4147
4155
  l("update", {
4148
- scrollReference: f.scroll,
4156
+ scrollReference: p.scroll,
4149
4157
  positionPercentage: e1,
4150
- scrollSize: f.scrollSize
4158
+ scrollSize: p.scrollSize
4151
4159
  });
4152
4160
  }
4153
4161
  }, b = () => {
4154
- const L = `translate${f.axis}(${e.move}%)`;
4162
+ const L = `translate${p.axis}(${e.move}%)`;
4155
4163
  return {
4156
- [f.size]: e.size,
4164
+ [p.size]: e.size,
4157
4165
  transform: L,
4158
4166
  msTransform: L,
4159
4167
  webkitTransform: L
@@ -4164,7 +4172,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4164
4172
  return (L, D) => (o(), i("div", {
4165
4173
  ref_key: "scrollbarRef",
4166
4174
  ref: s,
4167
- class: T(`scrollbar__bar is-${p(f).key}`),
4175
+ class: T(`scrollbar__bar is-${f(p).key}`),
4168
4176
  onClick: D[1] || (D[1] = F(() => {
4169
4177
  }, ["stop", "prevent"])),
4170
4178
  onMousedown: F(c, ["stop", "prevent"])
@@ -4205,13 +4213,13 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4205
4213
  setup(n, { expose: t, emit: e }) {
4206
4214
  const l = n, s = e;
4207
4215
  let r;
4208
- const a = y(6), f = y(0), h = y(0), m = y(0), C = y("0"), u = y("0"), g = Ee({
4216
+ const a = y(6), p = y(0), h = y(0), m = y(0), C = y("0"), u = y("0"), g = Ee({
4209
4217
  marginRight: "",
4210
4218
  marginBottom: ""
4211
4219
  }), c = { height: 100, width: 100 }, b = ["scrollbar__wrap"];
4212
4220
  !a.value && b.push("scrollbar__wrap--hidden-default"), l.wrapClass && b.push(l.wrapClass);
4213
4221
  const v = y(), L = y(), D = () => {
4214
- h.value = v.value.scrollTop * 100 / v.value.clientHeight, f.value = v.value.scrollLeft * 100 / v.value.clientWidth, s("scroll", v.value.scrollTop);
4222
+ h.value = v.value.scrollTop * 100 / v.value.clientHeight, p.value = v.value.scrollLeft * 100 / v.value.clientWidth, s("scroll", v.value.scrollTop);
4215
4223
  const Q = v.value.scrollTop + v.value.clientHeight, Y = v.value.scrollHeight;
4216
4224
  if (m.value > 0 && v.value.scrollTop === 0 ? s("intersect", { edge: "top", hit: !0 }) : m.value === 0 && v.value.scrollTop > 0 ? s("intersect", { edge: "top", hit: !1 }) : m.value + v.value.clientHeight < Y && Q === Y ? s("intersect", { edge: "bottom", hit: !0 }) : m.value + v.value.clientHeight === Y && Q < Y && s("intersect", { edge: "bottom", hit: !1 }), l.triggers)
4217
4225
  for (const l1 of l.triggers)
@@ -4234,7 +4242,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4234
4242
  }), T1(() => {
4235
4243
  !l.noresize && r.disconnect(), l.windowResize && window.removeEventListener("resize", H);
4236
4244
  });
4237
- const S = (Q) => {
4245
+ const B = (Q) => {
4238
4246
  v.value[Q.scrollReference] = Q.positionPercentage * v.value[Q.scrollSize] / 100;
4239
4247
  }, I = (Q, Y) => {
4240
4248
  Q === "x" ? v.value.scrollBy({ left: Y, behavior: "smooth" }) : v.value.scrollBy({ top: Y, behavior: "smooth" }), D();
@@ -4267,20 +4275,20 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4267
4275
  _: 3
4268
4276
  }, 8, ["class"]))
4269
4277
  ], 38),
4270
- Q.disableX ? k("", !0) : (o(), V(Be, {
4278
+ Q.disableX ? k("", !0) : (o(), V(Se, {
4271
4279
  key: 0,
4272
- move: f.value,
4280
+ move: p.value,
4273
4281
  size: u.value,
4274
4282
  onMove: Y[0] || (Y[0] = (l1) => I("x", l1 * 40)),
4275
- onUpdate: S
4283
+ onUpdate: B
4276
4284
  }, null, 8, ["move", "size"])),
4277
- Q.disableY ? k("", !0) : (o(), V(Be, {
4285
+ Q.disableY ? k("", !0) : (o(), V(Se, {
4278
4286
  key: 1,
4279
4287
  vertical: "",
4280
4288
  move: h.value,
4281
4289
  size: C.value,
4282
4290
  onMove: Y[1] || (Y[1] = (l1) => I("y", l1 * 40)),
4283
- onUpdate: S
4291
+ onUpdate: B
4284
4292
  }, null, 8, ["move", "size"]))
4285
4293
  ], 2));
4286
4294
  }
@@ -4299,7 +4307,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4299
4307
  ref: l,
4300
4308
  class: "w-full h-16 flex items-center justify-center bg-white"
4301
4309
  }, [
4302
- r.$slots.default ? E(r.$slots, "default", { key: 0 }) : (o(), V(p(F1), {
4310
+ r.$slots.default ? E(r.$slots, "default", { key: 0 }) : (o(), V(f(F1), {
4303
4311
  key: 1,
4304
4312
  class: "w-6 h-6 text-granite-grey"
4305
4313
  }))
@@ -4328,7 +4336,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4328
4336
  }]),
4329
4337
  onClick: s[0] || (s[0] = (r) => e("click"))
4330
4338
  }, [
4331
- l.segment.icon ? (o(), V(p(t1), {
4339
+ l.segment.icon ? (o(), V(f(t1), {
4332
4340
  key: 0,
4333
4341
  name: l.segment.icon
4334
4342
  }, null, 8, ["name"])) : k("", !0),
@@ -4345,14 +4353,14 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4345
4353
  emits: ["select"],
4346
4354
  setup(n, { emit: t }) {
4347
4355
  const e = t, l = (s) => s.label === n.selectedSegment.label;
4348
- return (s, r) => (o(), V(p(o1), { class: "gap-0.5 p-1 rounded-lg bg-secondary" }, {
4356
+ return (s, r) => (o(), V(f(o1), { class: "gap-0.5 p-1 rounded-lg bg-secondary" }, {
4349
4357
  default: Z(() => [
4350
4358
  (o(!0), i(M, null, m1(s.segments, (a) => (o(), V(t0, {
4351
4359
  key: a.label,
4352
4360
  segment: a,
4353
4361
  active: l(a),
4354
4362
  size: s.size,
4355
- onClick: (f) => e("select", a)
4363
+ onClick: (p) => e("select", a)
4356
4364
  }, null, 8, ["segment", "active", "size", "onClick"]))), 128))
4357
4365
  ]),
4358
4366
  _: 1
@@ -4389,7 +4397,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4389
4397
  emits: ["click", "delete", "focus", "hover"],
4390
4398
  setup(n, { emit: t }) {
4391
4399
  const e = t, l = O(() => n.variant === "checkbox" || n.variant === "single"), s = O(() => n.hoveredOption ? "id" in n.hoveredOption && "id" in n.option ? n.hoveredOption.id === n.option.id : n.hoveredOption && n.hoveredOption.label === n.option.label : !1), r = () => e("click");
4392
- return (a, f) => (o(), i("li", l0, [
4400
+ return (a, p) => (o(), i("li", l0, [
4393
4401
  (o(), V(D1(l.value ? "button" : "div"), {
4394
4402
  disabled: a.option.disabled,
4395
4403
  class: T(["w-full overflow-hidden rounded-lg flex items-center px-2 py-1 gap-2", {
@@ -4401,19 +4409,19 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4401
4409
  "cursor-not-allowed": a.option.disabled
4402
4410
  }]),
4403
4411
  onClick: r,
4404
- onMouseover: f[1] || (f[1] = (h) => e("hover", a.option)),
4405
- onFocus: f[2] || (f[2] = (h) => e("focus", a.option))
4412
+ onMouseover: p[1] || (p[1] = (h) => e("hover", a.option)),
4413
+ onFocus: p[2] || (p[2] = (h) => e("focus", a.option))
4406
4414
  }, {
4407
4415
  default: Z(() => [
4408
4416
  d("main", n0, [
4409
- a.variant === "checkbox" ? (o(), V(p(ot), {
4417
+ a.variant === "checkbox" ? (o(), V(f(ot), {
4410
4418
  key: 0,
4411
4419
  disabled: a.option.disabled,
4412
4420
  checked: a.selected,
4413
4421
  class: "flex-0",
4414
4422
  onClick: r
4415
4423
  }, null, 8, ["disabled", "checked"])) : k("", !0),
4416
- a.option.icon ? (o(), V(p(t1), {
4424
+ a.option.icon ? (o(), V(f(t1), {
4417
4425
  key: 1,
4418
4426
  name: a.option.icon,
4419
4427
  class: T(["w-4 h-4 flex-0", {
@@ -4422,7 +4430,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4422
4430
  "text-primary": a.variant !== "single" && !a.option.disabled
4423
4431
  }])
4424
4432
  }, null, 8, ["name", "class"])) : k("", !0),
4425
- w(p(dt), {
4433
+ w(f(dt), {
4426
4434
  "background-color": "yellow",
4427
4435
  value: a.option.label,
4428
4436
  highlight: a.search,
@@ -4444,12 +4452,12 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4444
4452
  "text-tertiary": a.option.disabled
4445
4453
  }])
4446
4454
  }, K(a.option.suffix), 3)) : k("", !0),
4447
- a.variant === "deletable" ? (o(), V(p(j), {
4455
+ a.variant === "deletable" ? (o(), V(f(j), {
4448
4456
  key: 1,
4449
4457
  small: "",
4450
4458
  icon: "close",
4451
4459
  variant: "text",
4452
- onClick: f[0] || (f[0] = (h) => e("delete"))
4460
+ onClick: p[0] || (p[0] = (h) => e("delete"))
4453
4461
  })) : k("", !0)
4454
4462
  ]),
4455
4463
  _: 1
@@ -4484,7 +4492,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4484
4492
  message: {}
4485
4493
  },
4486
4494
  setup(n) {
4487
- return (t, e) => (o(), V(p(ee), {
4495
+ return (t, e) => (o(), V(f(ee), {
4488
4496
  status: t.message,
4489
4497
  variant: "error"
4490
4498
  }, {
@@ -4539,7 +4547,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4539
4547
  }), d0 = /* @__PURE__ */ $({
4540
4548
  __name: "IdleCard",
4541
4549
  setup(n) {
4542
- return (t, e) => (o(), V(p(ee), {
4550
+ return (t, e) => (o(), V(f(ee), {
4543
4551
  status: "Type to search",
4544
4552
  variant: "idle"
4545
4553
  }, {
@@ -4565,20 +4573,20 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4565
4573
  }), u0 = /* @__PURE__ */ $({
4566
4574
  __name: "LoadingCard",
4567
4575
  setup(n) {
4568
- return (t, e) => (o(), V(p(ee), {
4576
+ return (t, e) => (o(), V(f(ee), {
4569
4577
  status: "Loading",
4570
4578
  variant: "loading"
4571
4579
  }, {
4572
4580
  default: Z(() => [
4573
- w(p(F1))
4581
+ w(f(F1))
4574
4582
  ]),
4575
4583
  _: 1
4576
4584
  }));
4577
4585
  }
4578
- }), p0 = /* @__PURE__ */ $({
4586
+ }), f0 = /* @__PURE__ */ $({
4579
4587
  __name: "NoMatchCard",
4580
4588
  setup(n) {
4581
- return (t, e) => (o(), V(p(ee), {
4589
+ return (t, e) => (o(), V(f(ee), {
4582
4590
  status: "No matches",
4583
4591
  variant: "no match"
4584
4592
  }, {
@@ -4630,7 +4638,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4630
4638
  _: 1
4631
4639
  }));
4632
4640
  }
4633
- }), f0 = {
4641
+ }), p0 = {
4634
4642
  key: 0,
4635
4643
  class: "flex-0 flex flex-col gap-2 p-2 border-b border-default"
4636
4644
  }, c0 = {
@@ -4667,15 +4675,15 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4667
4675
  },
4668
4676
  emits: ["escape", "selectQuery", "select"],
4669
4677
  setup(n, { expose: t, emit: e }) {
4670
- const l = n, s = e, { nextFrame: r } = ve(), a = y(null), f = y([]), h = y(""), m = y(), C = y(), u = y(), g = y(), c = y(), b = y(l.filters ? l.filters[0] : null), v = y(!1), L = y(!1), D = y(""), A = (z) => {
4678
+ const l = n, s = e, { nextFrame: r } = ve(), a = y(null), p = y([]), h = y(""), m = y(), C = y(), u = y(), g = y(), c = y(), b = y(l.filters ? l.filters[0] : null), v = y(!1), L = y(!1), D = y(""), A = (z) => {
4671
4679
  if (!Array.isArray(z)) throw new Error("Item passed must be an Array");
4672
4680
  return z.length === 0 ? !1 : "options" in z[0];
4673
- }, H = O(() => A(l.options)), S = O(() => H.value ? l.options.flatMap((z) => z.options) : l.options), I = O(() => l.loading ? "loading" : l.errorMessage ? "error" : h.value.length && !f.value.length ? "no match" : f.value.length ? "match" : "idle"), P = O(() => l.selected && "length" in l.selected), e1 = O(() => l.selected ? P.value ? l.selected.length : 1 : 0), u1 = O(() => l.selected ? b.value ? l.selected.length >= S.value.filter(b.value.execute).length : P.value ? l.selected.length === S.value.length : !1 : !1), Q = O(() => l.selected ? P.value ? !l.selected.length : !l.selected : !0);
4681
+ }, H = O(() => A(l.options)), B = O(() => H.value ? l.options.flatMap((z) => z.options) : l.options), I = O(() => l.loading ? "loading" : l.errorMessage ? "error" : h.value.length && !p.value.length ? "no match" : p.value.length ? "match" : "idle"), P = O(() => l.selected && "length" in l.selected), e1 = O(() => l.selected ? P.value ? l.selected.length : 1 : 0), u1 = O(() => l.selected ? b.value ? l.selected.length >= B.value.filter(b.value.execute).length : P.value ? l.selected.length === B.value.length : !1 : !1), Q = O(() => l.selected ? P.value ? !l.selected.length : !l.selected : !0);
4674
4682
  r1(() => l.selected, (z) => {
4675
4683
  z && v.value && r(() => {
4676
4684
  if (u.value.update(), P.value && e1.value) {
4677
- const J = g.value[g.value.length - 1].$el, f1 = c.value.$el.querySelector(".scrollbar__wrap");
4678
- f1 && (at(f1, J), c.value.handleScroll());
4685
+ const J = g.value[g.value.length - 1].$el, p1 = c.value.$el.querySelector(".scrollbar__wrap");
4686
+ p1 && (at(p1, J), c.value.handleScroll());
4679
4687
  }
4680
4688
  });
4681
4689
  }), r1(() => l.options, (z) => {
@@ -4686,22 +4694,22 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4686
4694
  });
4687
4695
  }), T1(() => m.value.removeEventListener("keydown", Y));
4688
4696
  const Y = (z) => {
4689
- z.key === "Enter" ? B() : z.key === "Escape" ? s("escape") : z.key === "ArrowDown" ? x("next") : z.key === "ArrowUp" && x("prev");
4697
+ z.key === "Enter" ? S() : z.key === "Escape" ? s("escape") : z.key === "ArrowDown" ? x("next") : z.key === "ArrowUp" && x("prev");
4690
4698
  }, l1 = (z) => {
4691
4699
  if (P.value) {
4692
- const J = l.selected.map((f1) => f1.label).includes(z.label) ? [...l.selected.filter((f1) => f1.label !== z.label)] : [...l.selected, z];
4700
+ const J = l.selected.map((p1) => p1.label).includes(z.label) ? [...l.selected.filter((p1) => p1.label !== z.label)] : [...l.selected, z];
4693
4701
  s("select", J);
4694
4702
  } else
4695
4703
  s("select", z);
4696
- }, B = () => {
4704
+ }, S = () => {
4697
4705
  a.value ? l1(a.value) : h.value.length && s("selectQuery", h.value);
4698
4706
  }, R = (z) => l.selected ? P.value ? l.selected.some((J) => J[l.identifier] === z[l.identifier]) : z[l.identifier] === l.selected[l.identifier] : !1, G = async (z) => {
4699
4707
  h.value = z, a.value = null, l.searchFunction && await l.searchFunction(z);
4700
- }, S1 = l.searchDebounce ? oe(G, l.searchDebounce) : G, g1 = (z) => {
4708
+ }, B1 = l.searchDebounce ? oe(G, l.searchDebounce) : G, g1 = (z) => {
4701
4709
  var J;
4702
4710
  if (H.value) {
4703
- const f1 = z;
4704
- f.value = f1.map(($1) => {
4711
+ const p1 = z;
4712
+ p.value = p1.map(($1) => {
4705
4713
  var He;
4706
4714
  return {
4707
4715
  ...$1,
@@ -4709,24 +4717,24 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4709
4717
  };
4710
4718
  });
4711
4719
  } else {
4712
- const f1 = z;
4713
- f.value = b.value ? f1.filter((J = b.value) == null ? void 0 : J.execute) : f1;
4720
+ const p1 = z;
4721
+ p.value = b.value ? p1.filter((J = b.value) == null ? void 0 : J.execute) : p1;
4714
4722
  }
4715
4723
  }, N = (z) => {
4716
4724
  b.value = z, g1(l.options);
4717
4725
  }, W = () => {
4718
4726
  if (!P.value) throw new Error('[SelectList@onToggleAll] method should not be called when "isMultiselect=false"');
4719
- e1.value === 0 || e1.value && !u1.value ? s("select", b.value ? S.value.filter(b.value.execute) : S.value) : s("select", []);
4720
- }, s1 = (z) => a.value = S.value.find((J) => J[l.identifier] === z[l.identifier]) || null, v1 = O(() => {
4721
- const z = Array.isArray(f.value) && f.value.length > 0 && "options" in f.value[0] ? f.value.flatMap((J) => J.options) : f.value;
4727
+ e1.value === 0 || e1.value && !u1.value ? s("select", b.value ? B.value.filter(b.value.execute) : B.value) : s("select", []);
4728
+ }, s1 = (z) => a.value = B.value.find((J) => J[l.identifier] === z[l.identifier]) || null, v1 = O(() => {
4729
+ const z = Array.isArray(p.value) && p.value.length > 0 && "options" in p.value[0] ? p.value.flatMap((J) => J.options) : p.value;
4722
4730
  return z.length > 0 && z.every((J) => !!J.disabled);
4723
4731
  }), x = async (z) => {
4724
- if (f.value.length === 0) return;
4725
- let J = S.value.findIndex((f1) => {
4732
+ if (p.value.length === 0) return;
4733
+ let J = B.value.findIndex((p1) => {
4726
4734
  var $1;
4727
- return f1.label === (($1 = a.value) == null ? void 0 : $1.label);
4735
+ return p1.label === (($1 = a.value) == null ? void 0 : $1.label);
4728
4736
  });
4729
- v1.value || (z === "next" ? (J++, J === f.value.length && (J = 0)) : z === "prev" && (J--, J < 0 && (J = f.value.length - 1)), a.value = S.value[J], a.value.disabled === !0 && x(z), await V1(), a.value && U(a.value));
4737
+ v1.value || (z === "next" ? (J++, J === p.value.length && (J = 0)) : z === "prev" && (J--, J < 0 && (J = p.value.length - 1)), a.value = B.value[J], a.value.disabled === !0 && x(z), await V1(), a.value && U(a.value));
4730
4738
  }, U = (z) => {
4731
4739
  if (!C.value.children.length) return;
4732
4740
  const J = null;
@@ -4755,26 +4763,26 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4755
4763
  maxHeight: z.searchFunction ? void 0 : "100%"
4756
4764
  })
4757
4765
  }, [
4758
- z.$slots.header || z.searchFunction || z.filters || z.selectAll ? (o(), i("header", f0, [
4766
+ z.$slots.header || z.searchFunction || z.filters || z.selectAll ? (o(), i("header", p0, [
4759
4767
  E(z.$slots, "header"),
4760
4768
  z.searchFunction ? (o(), i("section", c0, [
4761
- w(p(z1), {
4769
+ w(f(z1), {
4762
4770
  class: "w-full",
4763
4771
  clearable: "",
4764
4772
  value: h.value,
4765
4773
  placeholder: z.placeholder,
4766
- onChange: p(S1),
4767
- onClear: J[0] || (J[0] = (f1) => G(""))
4774
+ onChange: f(B1),
4775
+ onClear: J[0] || (J[0] = (p1) => G(""))
4768
4776
  }, null, 8, ["value", "placeholder", "onChange"])
4769
4777
  ])) : k("", !0),
4770
4778
  z.filters ? (o(), i("section", C0, [
4771
- (o(!0), i(M, null, m1(z.filters, (f1) => (o(), V(p(j), {
4772
- key: f1.name,
4779
+ (o(!0), i(M, null, m1(z.filters, (p1) => (o(), V(f(j), {
4780
+ key: p1.name,
4773
4781
  small: "",
4774
4782
  variant: "textSubtle",
4775
- focus: !!(b.value && b.value.name === f1.name),
4776
- label: f1.name,
4777
- onClick: ($1) => N(f1)
4783
+ focus: !!(b.value && b.value.name === p1.name),
4784
+ label: p1.name,
4785
+ onClick: ($1) => N(p1)
4778
4786
  }, null, 8, ["focus", "label", "onClick"]))), 128))
4779
4787
  ])) : k("", !0),
4780
4788
  z.selectAll ? (o(), i("button", {
@@ -4782,7 +4790,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4782
4790
  class: "cursor-pointer flex items-center gap-2 p-1 rounded-lg hover:bg-secondary active:bg-tertiary",
4783
4791
  onClick: W
4784
4792
  }, [
4785
- w(p(ot), {
4793
+ w(f(ot), {
4786
4794
  indeterminate: !!(e1.value && !u1.value),
4787
4795
  checked: u1.value,
4788
4796
  onClick: W
@@ -4791,10 +4799,10 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4791
4799
  ])) : k("", !0)
4792
4800
  ])) : k("", !0),
4793
4801
  d("main", h0, [
4794
- I.value === "error" ? (o(), V(p(i0), {
4802
+ I.value === "error" ? (o(), V(f(i0), {
4795
4803
  key: 0,
4796
4804
  message: z.errorMessage
4797
- }, null, 8, ["message"])) : I.value === "loading" ? (o(), V(p(u0), { key: 1 })) : I.value === "no match" ? (o(), V(p(p0), { key: 2 })) : I.value === "idle" ? (o(), V(p(d0), { key: 3 })) : I.value === "match" ? (o(), V(p(X1), {
4805
+ }, null, 8, ["message"])) : I.value === "loading" ? (o(), V(f(u0), { key: 1 })) : I.value === "no match" ? (o(), V(f(f0), { key: 2 })) : I.value === "idle" ? (o(), V(f(d0), { key: 3 })) : I.value === "match" ? (o(), V(f(X1), {
4798
4806
  key: 4,
4799
4807
  ref_key: "scrollbarRef",
4800
4808
  ref: u,
@@ -4811,7 +4819,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4811
4819
  }])
4812
4820
  }, [
4813
4821
  E(z.$slots, "options", {
4814
- options: f.value,
4822
+ options: p.value,
4815
4823
  hover: s1,
4816
4824
  hoveredOption: a.value,
4817
4825
  select: l1,
@@ -4825,7 +4833,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4825
4833
  z.$slots.footer ? (o(), i("footer", m0, [
4826
4834
  z.showSelection ? (o(), i(M, { key: 0 }, [
4827
4835
  d("header", g0, [
4828
- w(p(j), {
4836
+ w(f(j), {
4829
4837
  square: "",
4830
4838
  size: "tiny",
4831
4839
  variant: "text",
@@ -4835,7 +4843,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4835
4843
  onClick: q
4836
4844
  }, null, 8, ["label", "trailing-icon"])
4837
4845
  ]),
4838
- w(p(X1), {
4846
+ w(f(X1), {
4839
4847
  ref_key: "selectionScrollbarRef",
4840
4848
  ref: c,
4841
4849
  show: "",
@@ -4876,10 +4884,10 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4876
4884
  },
4877
4885
  emits: ["close", "open"],
4878
4886
  setup(n, { expose: t, emit: e }) {
4879
- const l = e, s = R1(), r = y(!1), a = y(), f = O(() => {
4887
+ const l = e, s = R1(), r = y(!1), a = y(), p = O(() => {
4880
4888
  var c;
4881
4889
  return (c = a.value) == null ? void 0 : c.$el;
4882
- }), { trapFocus: h, releaseFocus: m } = j1(f, !0);
4890
+ }), { trapFocus: h, releaseFocus: m } = j1(p, !0);
4883
4891
  a1(() => r.value = !0);
4884
4892
  const C = () => {
4885
4893
  m(), r.value = !1;
@@ -4891,7 +4899,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4891
4899
  h(), l("open");
4892
4900
  };
4893
4901
  return t({ close: C }), (c, b) => (o(), V(U1, { to: c.target }, [
4894
- w(p(he), {
4902
+ w(f(he), {
4895
4903
  show: r.value,
4896
4904
  type: c.overlayType,
4897
4905
  class: "p-4",
@@ -4909,18 +4917,18 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4909
4917
  onAfterEnter: g
4910
4918
  }, {
4911
4919
  default: Z(() => [
4912
- W1(w(p(ge), {
4920
+ W1(w(f(ge), {
4913
4921
  ref_key: "windowRef",
4914
4922
  ref: a,
4915
4923
  class: T(["flex flex-col overflow-hidden w-full h-full focus:outline-hidden", [c.widthClass, {
4916
- "py-4": !p(s).default,
4924
+ "py-4": !f(s).default,
4917
4925
  "ml-auto": c.placement === "right",
4918
4926
  "mr-auto": c.placement === "left"
4919
4927
  }]]),
4920
4928
  style: { "pointer-events": "auto" }
4921
4929
  }, {
4922
4930
  default: Z(() => [
4923
- c.$slots.default ? E(c.$slots, "default", { key: 0 }) : (o(), V(p(me), { key: 1 }, Re({
4931
+ c.$slots.default ? E(c.$slots, "default", { key: 0 }) : (o(), V(f(me), { key: 1 }, Re({
4924
4932
  main: Z(() => [
4925
4933
  d("main", H0, [
4926
4934
  E(c.$slots, "main", { close: C })
@@ -4938,7 +4946,7 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
4938
4946
  fn: Z(() => [
4939
4947
  c.title ? (o(), i("header", y0, [
4940
4948
  d("h4", null, K(c.title), 1),
4941
- c.closeable ? (o(), V(p(j), {
4949
+ c.closeable ? (o(), V(f(j), {
4942
4950
  key: 0,
4943
4951
  small: "",
4944
4952
  icon: "close",
@@ -5015,16 +5023,16 @@ const M2 = ["onKeydown"], Z2 = /* @__PURE__ */ $({
5015
5023
  }
5016
5024
  });
5017
5025
  function k0(n, t) {
5018
- const e = y(), l = y([]), s = y(), r = y([]), a = y([]), f = y(/* @__PURE__ */ new Map()), h = y(0);
5026
+ const e = y(), l = y([]), s = y(), r = y([]), a = y([]), p = y(/* @__PURE__ */ new Map()), h = y(0);
5019
5027
  function m() {
5020
5028
  if (!e.value) return;
5021
5029
  const g = n();
5022
5030
  l.value.forEach((I, P) => {
5023
- I && r.value[P] && f.value.set(r.value[P], I.offsetWidth);
5031
+ I && r.value[P] && p.value.set(r.value[P], I.offsetWidth);
5024
5032
  }), r.value.length === 0 && l.value.forEach((I, P) => {
5025
- I && g[P] && f.value.set(g[P].id, I.offsetWidth);
5033
+ I && g[P] && p.value.set(g[P].id, I.offsetWidth);
5026
5034
  }), s.value && (h.value = s.value.offsetWidth);
5027
- const c = e.value.clientWidth, b = g.map((I) => f.value.get(I.id) ?? 0), v = h.value;
5035
+ const c = e.value.clientWidth, b = g.map((I) => p.value.get(I.id) ?? 0), v = h.value;
5028
5036
  let L = 0, D = n().length;
5029
5037
  for (let I = 0; I < b.length; I++) {
5030
5038
  const e1 = b.length - I - 1 > 0;
@@ -5034,12 +5042,12 @@ function k0(n, t) {
5034
5042
  }
5035
5043
  L += b[I];
5036
5044
  }
5037
- const A = n().slice(0, D).map((I) => I.id), H = n().slice(D).map((I) => I.id), S = t();
5038
- if (H.includes(S)) {
5039
- const I = H.indexOf(S);
5045
+ const A = n().slice(0, D).map((I) => I.id), H = n().slice(D).map((I) => I.id), B = t();
5046
+ if (H.includes(B)) {
5047
+ const I = H.indexOf(B);
5040
5048
  H.splice(I, 1);
5041
5049
  const P = A.pop();
5042
- P && H.unshift(P), A.push(S);
5050
+ P && H.unshift(P), A.push(B);
5043
5051
  }
5044
5052
  r.value = A, a.value = H;
5045
5053
  }
@@ -5097,12 +5105,12 @@ const w0 = /* @__PURE__ */ $({
5097
5105
  },
5098
5106
  emits: ["select"],
5099
5107
  setup(n, { emit: t }) {
5100
- const e = n, l = t, { containerRef: s, tabRefs: r, overflowTriggerRef: a, visibleIds: f, overflowIds: h, onKeydown: m } = k0(
5108
+ const e = n, l = t, { containerRef: s, tabRefs: r, overflowTriggerRef: a, visibleIds: p, overflowIds: h, onKeydown: m } = k0(
5101
5109
  () => e.tabs,
5102
5110
  () => e.selectedTabId
5103
5111
  ), C = (c, b) => {
5104
5112
  b && (r.value[c] = b);
5105
- }, u = O(() => e.tabs.filter((c) => f.value.includes(c.id))), g = O(() => e.tabs.filter((c) => h.value.includes(c.id)));
5113
+ }, u = O(() => e.tabs.filter((c) => p.value.includes(c.id))), g = O(() => e.tabs.filter((c) => h.value.includes(c.id)));
5106
5114
  return (c, b) => (o(), i("div", {
5107
5115
  ref_key: "containerRef",
5108
5116
  ref: s,
@@ -5120,7 +5128,7 @@ const w0 = /* @__PURE__ */ $({
5120
5128
  tabindex: v.id === c.selectedTabId ? 0 : -1,
5121
5129
  "aria-selected": v.id === c.selectedTabId,
5122
5130
  "aria-controls": `panel-${v.id}`,
5123
- onKeydown: p(m),
5131
+ onKeydown: f(m),
5124
5132
  ref: (D) => C(L, D)
5125
5133
  },
5126
5134
  select: () => l("select", v.id)
@@ -5139,7 +5147,7 @@ const w0 = /* @__PURE__ */ $({
5139
5147
  ], 512)) : k("", !0)
5140
5148
  ], 512));
5141
5149
  }
5142
- }), M0 = { class: "border-b border-default gap-0" }, Z0 = { class: "-mx-2 -mb-px" }, $0 = { class: "group flex flex-col justify-center gap-1" }, D0 = ["onClick"], T0 = { class: "relative text-xs font-medium truncate" }, S0 = { class: "flex w-full h-px px-2" }, B0 = { class: "group -mb-px flex flex-col justify-center gap-1" }, z0 = { class: "relative text-xs font-medium truncate" }, Qs = /* @__PURE__ */ $({
5150
+ }), M0 = { class: "border-b border-default gap-0" }, Z0 = { class: "-mx-2 -mb-px" }, $0 = { class: "group flex flex-col justify-center gap-1" }, D0 = ["onClick"], T0 = { class: "relative text-xs font-medium truncate" }, B0 = { class: "flex w-full h-px px-2" }, S0 = { class: "group -mb-px flex flex-col justify-center gap-1" }, z0 = { class: "relative text-xs font-medium truncate" }, Qs = /* @__PURE__ */ $({
5143
5151
  __name: "Example",
5144
5152
  setup(n) {
5145
5153
  const t = [
@@ -5176,21 +5184,21 @@ const w0 = /* @__PURE__ */ $({
5176
5184
  tabs: t,
5177
5185
  onSelect: s[0] || (s[0] = (r) => e.value = r)
5178
5186
  }, {
5179
- tab: Z(({ tab: r, selected: a, attrs: f, select: h }) => [
5187
+ tab: Z(({ tab: r, selected: a, attrs: p, select: h }) => [
5180
5188
  d("div", $0, [
5181
- d("button", wt(f, {
5189
+ d("button", wt(p, {
5182
5190
  class: ["flex items-center gap-1 h-6 px-2 rounded-lg cursor-pointer", {
5183
5191
  "text-action border-action": a,
5184
5192
  "text-tertiary border-default hover:bg-tertiary": !a
5185
5193
  }],
5186
5194
  onClick: h
5187
5195
  }), [
5188
- w(p(t1), {
5196
+ w(f(t1), {
5189
5197
  name: r.icon
5190
5198
  }, null, 8, ["name"]),
5191
5199
  d("span", T0, K(r.label), 1)
5192
5200
  ], 16, D0),
5193
- d("div", S0, [
5201
+ d("div", B0, [
5194
5202
  d("div", {
5195
5203
  class: T(["flex w-full h-full border-b", {
5196
5204
  "border-action": a,
@@ -5200,13 +5208,13 @@ const w0 = /* @__PURE__ */ $({
5200
5208
  ])
5201
5209
  ])
5202
5210
  ]),
5203
- "overflow-trigger": Z(({ count: r, tabs: a, select: f }) => [
5204
- w(p(E1), {
5211
+ "overflow-trigger": Z(({ count: r, tabs: a, select: p }) => [
5212
+ w(f(E1), {
5205
5213
  trigger: "click",
5206
5214
  placement: "bottom-end"
5207
5215
  }, {
5208
5216
  default: Z(({ visible: h }) => [
5209
- d("div", B0, [
5217
+ d("div", S0, [
5210
5218
  d("button", {
5211
5219
  class: T(["flex items-center gap-1 h-6 px-2 rounded-lg cursor-pointer", {
5212
5220
  "text-action border-action bg-tertiary": h,
@@ -5214,7 +5222,7 @@ const w0 = /* @__PURE__ */ $({
5214
5222
  }])
5215
5223
  }, [
5216
5224
  d("span", z0, K(`More (${r})`), 1),
5217
- w(p(t1), {
5225
+ w(f(t1), {
5218
5226
  name: h ? "chevron-up-small" : "chevron-down-small"
5219
5227
  }, null, 8, ["name"])
5220
5228
  ], 2),
@@ -5224,16 +5232,16 @@ const w0 = /* @__PURE__ */ $({
5224
5232
  ])
5225
5233
  ]),
5226
5234
  content: Z(({ close: h }) => [
5227
- w(p(O1), null, {
5235
+ w(f(O1), null, {
5228
5236
  default: Z(() => [
5229
- (o(!0), i(M, null, m1(a, (m) => (o(), V(p(o0), {
5237
+ (o(!0), i(M, null, m1(a, (m) => (o(), V(f(o0), {
5230
5238
  key: m.id,
5231
5239
  small: "",
5232
5240
  option: m,
5233
5241
  variant: "single",
5234
5242
  selected: !1,
5235
5243
  onClick: (C) => {
5236
- f(m.id), h();
5244
+ p(m.id), h();
5237
5245
  }
5238
5246
  }, null, 8, ["option", "onClick"]))), 128))
5239
5247
  ]),
@@ -5269,7 +5277,7 @@ const w0 = /* @__PURE__ */ $({
5269
5277
  const e = n, l = t, s = y(), r = () => {
5270
5278
  s.value.blur(), l("select", e.name);
5271
5279
  };
5272
- return (a, f) => (o(), i("button", {
5280
+ return (a, p) => (o(), i("button", {
5273
5281
  ref_key: "tabRef",
5274
5282
  ref: s,
5275
5283
  disabled: a.disabled,
@@ -5289,14 +5297,14 @@ const w0 = /* @__PURE__ */ $({
5289
5297
  }]),
5290
5298
  onClick: F(r, ["stop", "prevent"])
5291
5299
  }, [
5292
- a.icon && a.size === "default" ? (o(), V(p(t1), {
5300
+ a.icon && a.size === "default" ? (o(), V(f(t1), {
5293
5301
  key: 0,
5294
5302
  name: a.icon
5295
5303
  }, null, 8, ["name"])) : k("", !0),
5296
5304
  d("span", R0, [
5297
5305
  Oe(K(a.name) + " ", 1),
5298
5306
  a.notification ? (o(), i("div", E0, [
5299
- w(p(et))
5307
+ w(f(et))
5300
5308
  ])) : k("", !0)
5301
5309
  ])
5302
5310
  ], 10, A0));
@@ -5311,7 +5319,7 @@ const w0 = /* @__PURE__ */ $({
5311
5319
  emits: ["delete"],
5312
5320
  setup(n, { emit: t }) {
5313
5321
  const e = t;
5314
- return (l, s) => (o(), V(p(o1), {
5322
+ return (l, s) => (o(), V(f(o1), {
5315
5323
  inline: "",
5316
5324
  class: T(["h-5 truncate text-xs rounded-sm text-tertiary bg-tertiary", {
5317
5325
  "px-1": !l.deletable,
@@ -5319,9 +5327,9 @@ const w0 = /* @__PURE__ */ $({
5319
5327
  }])
5320
5328
  }, {
5321
5329
  default: Z(() => [
5322
- w(p(o1), { class: "gap-1" }, {
5330
+ w(f(o1), { class: "gap-1" }, {
5323
5331
  default: Z(() => [
5324
- l.icon ? (o(), V(p(t1), {
5332
+ l.icon ? (o(), V(f(t1), {
5325
5333
  key: 0,
5326
5334
  name: l.icon
5327
5335
  }, null, 8, ["name"])) : k("", !0),
@@ -5329,7 +5337,7 @@ const w0 = /* @__PURE__ */ $({
5329
5337
  ]),
5330
5338
  _: 1
5331
5339
  }),
5332
- l.deletable ? (o(), V(p(j), {
5340
+ l.deletable ? (o(), V(f(j), {
5333
5341
  key: 0,
5334
5342
  small: "",
5335
5343
  variant: "textSubtle",
@@ -5358,7 +5366,7 @@ const w0 = /* @__PURE__ */ $({
5358
5366
  const e = n, l = y();
5359
5367
  return t({ hide: () => {
5360
5368
  l.value && l.value.close();
5361
- } }), (s, r) => (o(), V(p(E1), {
5369
+ } }), (s, r) => (o(), V(f(E1), {
5362
5370
  ref_key: "popperRef",
5363
5371
  ref: l,
5364
5372
  "disable-click-outside": "",
@@ -5392,16 +5400,16 @@ const w0 = /* @__PURE__ */ $({
5392
5400
  emits: ["delete"],
5393
5401
  setup(n, { emit: t }) {
5394
5402
  const e = t, l = () => e("delete", n.entry.id);
5395
- return (s, r) => (o(), V(p(te), {
5403
+ return (s, r) => (o(), V(f(te), {
5396
5404
  text: s.entry.error
5397
5405
  }, {
5398
5406
  default: Z(() => [
5399
- w(p(o1), {
5407
+ w(f(o1), {
5400
5408
  id: s.entry.id,
5401
5409
  tabindex: "1",
5402
5410
  class: T(["gap-0.5 h-6 pl-1 pr-0.5 rounded-md border cursor-default", {
5403
- "border-strong text-primary": !p(de)(s.entry.error),
5404
- "border-red-400 text-red-400 focus:bg-red-400 focus:text-white": p(de)(s.entry.error)
5411
+ "border-strong text-primary": !f(de)(s.entry.error),
5412
+ "border-red-400 text-red-400 focus:bg-red-400 focus:text-white": f(de)(s.entry.error)
5405
5413
  }]),
5406
5414
  onKeyup: _(l, ["delete"])
5407
5415
  }, {
@@ -5411,7 +5419,7 @@ const w0 = /* @__PURE__ */ $({
5411
5419
  class: "group cursor-pointer w-4 h-4 rounded hover:bg-secondary active:bg-tertiary",
5412
5420
  onClick: l
5413
5421
  }, [
5414
- w(p(t1), {
5422
+ w(f(t1), {
5415
5423
  name: "close",
5416
5424
  class: "text-tertiary dark:text-muted group-hover:text-primary"
5417
5425
  })
@@ -5431,14 +5439,14 @@ const w0 = /* @__PURE__ */ $({
5431
5439
  },
5432
5440
  emits: ["update:entries", "raw-input-parsed", "enter-key-up"],
5433
5441
  setup(n, { expose: t, emit: e }) {
5434
- const l = e, s = y(), r = y(""), a = y([]), f = (b) => {
5442
+ const l = e, s = y(), r = y(""), a = y([]), p = (b) => {
5435
5443
  a.value = [...a.value, ...C(b)], l("update:entries", a.value);
5436
5444
  }, h = (b) => {
5437
5445
  a.value = [...C(b)], l("update:entries", a.value);
5438
5446
  }, m = (b) => {
5439
5447
  b.target && (r.value = b.target.value, b.data === "," || r.value.includes(",") ? (a.value = [...a.value, ...C(r.value)], r.value = "", l("update:entries", a.value), l("raw-input-parsed", null)) : l("raw-input-parsed", C(r.value)[0]));
5440
5448
  }, C = (b) => b.trim().split(",").filter((v) => v.length).map((v, L) => {
5441
- const D = v.trim(), A = [...n.validators].reduce((H, S, I, P) => (S.validate(D) || (H = S.errorMessage(D), P.splice(1)), H), null);
5449
+ const D = v.trim(), A = [...n.validators].reduce((H, B, I, P) => (B.validate(D) || (H = B.errorMessage(D), P.splice(1)), H), null);
5442
5450
  return {
5443
5451
  id: L + D + Date.now(),
5444
5452
  value: D,
@@ -5454,9 +5462,9 @@ const w0 = /* @__PURE__ */ $({
5454
5462
  };
5455
5463
  return t({ clear: () => {
5456
5464
  a.value = [], r.value = "", l("update:entries", a.value);
5457
- }, importEntries: f, inputElement: s, replaceEntries: h }), (b, v) => (o(), V(p(o1), { class: "flex-1 flex-wrap gap-1 px-2 py-1" }, {
5465
+ }, importEntries: p, inputElement: s, replaceEntries: h }), (b, v) => (o(), V(f(o1), { class: "flex-1 flex-wrap gap-1 px-2 py-1" }, {
5458
5466
  default: Z(() => [
5459
- (o(!0), i(M, null, m1(a.value, (L) => (o(), V(p(x0), {
5467
+ (o(!0), i(M, null, m1(a.value, (L) => (o(), V(f(x0), {
5460
5468
  key: L.id,
5461
5469
  entry: L,
5462
5470
  onDelete: g
@@ -5499,12 +5507,12 @@ const w0 = /* @__PURE__ */ $({
5499
5507
  emits: ["click"],
5500
5508
  setup(n, { emit: t }) {
5501
5509
  const e = t;
5502
- return (l, s) => (o(), V(p(te), {
5510
+ return (l, s) => (o(), V(f(te), {
5503
5511
  text: l.tooltip,
5504
5512
  delay: 200
5505
5513
  }, {
5506
5514
  default: Z(() => [
5507
- w(p(o1), {
5515
+ w(f(o1), {
5508
5516
  tag: "button",
5509
5517
  inline: "",
5510
5518
  justify: "center",
@@ -5520,7 +5528,7 @@ const w0 = /* @__PURE__ */ $({
5520
5528
  onClick: s[0] || (s[0] = (r) => !l.disabled && e("click"))
5521
5529
  }, {
5522
5530
  default: Z(() => [
5523
- l.icon ? (o(), V(p(t1), {
5531
+ l.icon ? (o(), V(f(t1), {
5524
5532
  key: 0,
5525
5533
  name: l.icon
5526
5534
  }, null, 8, ["name"])) : k("", !0),
@@ -5590,26 +5598,26 @@ const _s = /* @__PURE__ */ Z1(N0, [["render", W0]]), ze = Fe.create({
5590
5598
  let a = r - 1;
5591
5599
  for (; a >= 0 && /\w/.test(s[a]); )
5592
5600
  a--;
5593
- let f = r;
5594
- for (; f < s.length && /\w/.test(s[f]); )
5595
- f++;
5596
- return s.slice(a + 1, f) || null;
5601
+ let p = r;
5602
+ for (; p < s.length && /\w/.test(s[p]); )
5603
+ p++;
5604
+ return s.slice(a + 1, p) || null;
5597
5605
  }, j0 = Fe.create({
5598
5606
  name: "pasteImage",
5599
5607
  addProseMirrorPlugins() {
5600
5608
  return [
5601
- new Bt({
5609
+ new St({
5602
5610
  key: new zt("pasteImage"),
5603
5611
  props: {
5604
5612
  handlePaste: (n, t) => {
5605
5613
  var a;
5606
- const l = Array.from(((a = t.clipboardData) == null ? void 0 : a.items) || []).find((f) => f.type.startsWith("image/"));
5614
+ const l = Array.from(((a = t.clipboardData) == null ? void 0 : a.items) || []).find((p) => p.type.startsWith("image/"));
5607
5615
  if (!l) return !1;
5608
5616
  const s = l.getAsFile();
5609
5617
  if (!s) return !1;
5610
5618
  const r = new FileReader();
5611
5619
  return r.onload = () => {
5612
- const f = r.result, { tr: h } = n.state, m = n.state.schema.nodes.image.create({ src: f });
5620
+ const p = r.result, { tr: h } = n.state, m = n.state.schema.nodes.image.create({ src: p });
5613
5621
  n.dispatch(h.replaceSelectionWith(m));
5614
5622
  }, r.readAsDataURL(s), !0;
5615
5623
  }
@@ -5623,19 +5631,19 @@ const _s = /* @__PURE__ */ Z1(N0, [["render", W0]]), ze = Fe.create({
5623
5631
  const r = e.doc.textBetween(0, e.doc.content.size, `
5624
5632
  `, `
5625
5633
  `), a = l;
5626
- let f = a - 1;
5627
- for (; f >= 0 && /\w/.test(r[f]); )
5628
- f--;
5634
+ let p = a - 1;
5635
+ for (; p >= 0 && /\w/.test(r[p]); )
5636
+ p--;
5629
5637
  let h = a;
5630
5638
  for (; h < r.length && /\w/.test(r[h]); )
5631
5639
  h++;
5632
- const m = f + 1, C = h;
5640
+ const m = p + 1, C = h;
5633
5641
  n.chain().focus().command(({ tr: u }) => (u.insertText(t, m, C), !0)).run();
5634
5642
  };
5635
5643
  function Q0(n, t, e) {
5636
5644
  const l = y(null), s = () => {
5637
- var a, f, h;
5638
- const r = ((h = (f = (a = n.value) == null ? void 0 : a.storage) == null ? void 0 : f[t]) == null ? void 0 : h[e]) ?? null;
5645
+ var a, p, h;
5646
+ const r = ((h = (p = (a = n.value) == null ? void 0 : a.storage) == null ? void 0 : p[t]) == null ? void 0 : h[e]) ?? null;
5639
5647
  l.value !== r && (l.value = r);
5640
5648
  };
5641
5649
  return a1(() => {
@@ -5653,16 +5661,16 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5653
5661
  },
5654
5662
  emits: ["cancel", "inserted", "updateTargets"],
5655
5663
  setup(n, { emit: t }) {
5656
- const e = n, l = t, s = y(), r = y(), a = y(""), f = (H) => a.value = H, h = () => {
5664
+ const e = n, l = t, s = y(), r = y(), a = y(""), p = (H) => a.value = H, h = () => {
5657
5665
  var H;
5658
5666
  c.value ? A() : (H = C.value) == null || H.focus();
5659
5667
  }, m = y(""), C = y(), u = (H) => m.value = H, g = () => {
5660
5668
  c.value && A();
5661
5669
  }, c = O(() => {
5662
- var H, S;
5663
- return !m.value || !a.value ? !1 : ((H = m.value) == null ? void 0 : H.trim().length) > 0 && ((S = a.value) == null ? void 0 : S.trim().length) > 0;
5664
- }), b = y(!1), v = ([H, S]) => {
5665
- var l1, B;
5670
+ var H, B;
5671
+ return !m.value || !a.value ? !1 : ((H = m.value) == null ? void 0 : H.trim().length) > 0 && ((B = a.value) == null ? void 0 : B.trim().length) > 0;
5672
+ }), b = y(!1), v = ([H, B]) => {
5673
+ var l1, S;
5666
5674
  const { state: I, view: P } = e.editor, { empty: e1, from: u1 } = I.selection, Y = I.doc.resolve(u1).marks().find((R) => R.type.name === "link");
5667
5675
  if (Y)
5668
5676
  m.value = Y.attrs.href;
@@ -5672,7 +5680,7 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5672
5680
  const { from: R, to: G } = P.state.selection;
5673
5681
  a.value = I.doc.textBetween(R, G, "");
5674
5682
  }
5675
- a.value.trim().length ? (l1 = C.value) == null || l1.focus() : (B = r.value) == null || B.focus(), l("updateTargets", [S]);
5683
+ a.value.trim().length ? (l1 = C.value) == null || l1.focus() : (S = r.value) == null || S.focus(), l("updateTargets", [B]);
5676
5684
  }, L = () => l("updateTargets", []), D = () => {
5677
5685
  m.value = "", a.value = "";
5678
5686
  }, A = () => {
@@ -5681,14 +5689,14 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5681
5689
  if (e.editor.chain().focus().extendMarkRange("link").setLink({ href: m.value }).run(), b.value)
5682
5690
  K0(e.editor, a.value);
5683
5691
  else {
5684
- const S = e.editor.state.tr.insertText(a.value);
5685
- e.editor.view.dispatch(S);
5692
+ const B = e.editor.state.tr.insertText(a.value);
5693
+ e.editor.view.dispatch(B);
5686
5694
  }
5687
5695
  l("inserted");
5688
5696
  }
5689
5697
  (H = s.value) == null || H.close(), D();
5690
5698
  };
5691
- return (H, S) => (o(), V(p(E1), {
5699
+ return (H, B) => (o(), V(f(E1), {
5692
5700
  ref_key: "popperRef",
5693
5701
  ref: s,
5694
5702
  placement: "top",
@@ -5703,29 +5711,29 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5703
5711
  }, null, 8, ["active"])
5704
5712
  ]),
5705
5713
  content: Z(({ close: I }) => [
5706
- w(p(O1), { class: "p-4 flex flex-col gap-4" }, {
5714
+ w(f(O1), { class: "p-4 flex flex-col gap-4" }, {
5707
5715
  default: Z(() => [
5708
- S[2] || (S[2] = d("p", { class: "text-sm" }, " Insert link ", -1)),
5716
+ B[2] || (B[2] = d("p", { class: "text-sm" }, " Insert link ", -1)),
5709
5717
  d("section", q0, [
5710
- S[0] || (S[0] = d("div", {
5718
+ B[0] || (B[0] = d("div", {
5711
5719
  style: { "font-size": "11px" },
5712
5720
  class: "text-secondary font-medium"
5713
5721
  }, " Text to display ", -1)),
5714
- w(p(z1), {
5722
+ w(f(z1), {
5715
5723
  ref_key: "displayNameRef",
5716
5724
  ref: r,
5717
5725
  placeholder: "Text to display",
5718
5726
  value: a.value,
5719
- onChange: f,
5727
+ onChange: p,
5720
5728
  onEnter: h
5721
5729
  }, null, 8, ["value"])
5722
5730
  ]),
5723
5731
  d("section", X0, [
5724
- S[1] || (S[1] = d("div", {
5732
+ B[1] || (B[1] = d("div", {
5725
5733
  style: { "font-size": "11px" },
5726
5734
  class: "text-secondary font-medium"
5727
5735
  }, " Address ", -1)),
5728
- w(p(z1), {
5736
+ w(f(z1), {
5729
5737
  ref_key: "linkAddressRef",
5730
5738
  ref: C,
5731
5739
  placeholder: "Link to a web page",
@@ -5734,7 +5742,7 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5734
5742
  onEnter: g
5735
5743
  }, null, 8, ["value"])
5736
5744
  ]),
5737
- w(p(Y1), {
5745
+ w(f(Y1), {
5738
5746
  "fill-container": "",
5739
5747
  order: "confirm-last",
5740
5748
  "confirm-label": "Insert",
@@ -5758,8 +5766,8 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5758
5766
  },
5759
5767
  setup(n) {
5760
5768
  const t = y(), e = (s) => {
5761
- var f;
5762
- const r = (f = s.target.files) == null ? void 0 : f[0];
5769
+ var p;
5770
+ const r = (p = s.target.files) == null ? void 0 : p[0];
5763
5771
  if (!r) return;
5764
5772
  const a = new FileReader();
5765
5773
  a.onload = () => {
@@ -5788,7 +5796,7 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5788
5796
  __name: "Dialog",
5789
5797
  setup(n) {
5790
5798
  return (t, e) => (o(), V(U1, { to: "#modals" }, [
5791
- w(p(O1), { class: "w-96" }, {
5799
+ w(f(O1), { class: "w-96" }, {
5792
5800
  default: Z(() => [
5793
5801
  d("div", G0, [
5794
5802
  E(t.$slots, "default")
@@ -5805,7 +5813,7 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5805
5813
  },
5806
5814
  emits: ["cancel", "inserted"],
5807
5815
  setup(n, { emit: t }) {
5808
- const e = n, l = t, s = y(null), r = y(null), a = y(), f = () => {
5816
+ const e = n, l = t, s = y(null), r = y(null), a = y(), p = () => {
5809
5817
  s.value = e.editor.getAttributes("link").href;
5810
5818
  const { view: u, state: g } = e.editor;
5811
5819
  if (s.value) {
@@ -5818,7 +5826,7 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5818
5826
  r.value = g.doc.textBetween(c, b, "");
5819
5827
  }
5820
5828
  };
5821
- A1(() => f()), a1(() => a.value.focus());
5829
+ A1(() => p()), a1(() => a.value.focus());
5822
5830
  const h = (u) => s.value = u, m = (u) => r.value = u, C = () => {
5823
5831
  if (s.value && !s.value.includes("http") && (s.value = `https://${s.value}`), s.value) {
5824
5832
  e.editor.chain().focus().extendMarkRange("link").setLink({ href: s.value }).run();
@@ -5831,7 +5839,7 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5831
5839
  g[3] || (g[3] = d("header", null, "Insert link", -1)),
5832
5840
  d("section", J0, [
5833
5841
  g[1] || (g[1] = d("div", { class: "text-xs text-secondary" }, " Text to display ", -1)),
5834
- w(p(z1), {
5842
+ w(f(z1), {
5835
5843
  ref_key: "inputRef",
5836
5844
  ref: a,
5837
5845
  placeholder: "Text to display",
@@ -5841,13 +5849,13 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5841
5849
  ]),
5842
5850
  d("section", _0, [
5843
5851
  g[2] || (g[2] = d("div", { class: "text-xs text-secondary" }, " Address ", -1)),
5844
- w(p(z1), {
5852
+ w(f(z1), {
5845
5853
  placeholder: "Link to a web page",
5846
5854
  value: s.value || "",
5847
5855
  onChange: h
5848
5856
  }, null, 8, ["value"])
5849
5857
  ]),
5850
- w(p(Y1), {
5858
+ w(f(Y1), {
5851
5859
  "confirm-label": "Insert",
5852
5860
  onConfirm: C,
5853
5861
  onCancel: g[0] || (g[0] = (c) => l("cancel"))
@@ -5864,14 +5872,14 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5864
5872
  a1(() => s.value.focus());
5865
5873
  const r = () => {
5866
5874
  e("cancel"), l.value = null;
5867
- }, a = (h) => l.value = h, f = () => {
5875
+ }, a = (h) => l.value = h, p = () => {
5868
5876
  e("insert", l.value), l.value = null;
5869
5877
  };
5870
5878
  return (h, m) => (o(), V(it, null, {
5871
5879
  default: Z(() => [
5872
5880
  m[0] || (m[0] = d("header", null, "Insert text", -1)),
5873
5881
  d("section", to, [
5874
- w(p(z1), {
5882
+ w(f(z1), {
5875
5883
  ref_key: "inputRef",
5876
5884
  ref: s,
5877
5885
  placeholder: "Text to be inserted",
@@ -5880,9 +5888,9 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5880
5888
  }, null, 8, ["value"])
5881
5889
  ]),
5882
5890
  d("div", lo, [
5883
- w(p(Y1), {
5891
+ w(f(Y1), {
5884
5892
  "confirm-label": "Insert",
5885
- onConfirm: f,
5893
+ onConfirm: p,
5886
5894
  onCancel: r
5887
5895
  })
5888
5896
  ])
@@ -5920,7 +5928,7 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5920
5928
  },
5921
5929
  emits: ["blur", "change", "focus"],
5922
5930
  setup(n, { expose: t, emit: e }) {
5923
- const l = n, s = e, r = y(!1), a = y(!1), f = y(!1), h = y(!1), m = y(), { disableClickOutside: C, enableClickOutside: u } = ce(() => a.value = !1), g = Je({
5931
+ const l = n, s = e, r = y(!1), a = y(!1), p = y(!1), h = y(!1), m = y(), { disableClickOutside: C, enableClickOutside: u } = ce(() => a.value = !1), g = Je({
5924
5932
  content: l.content,
5925
5933
  extensions: [
5926
5934
  Ne,
@@ -5943,7 +5951,7 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5943
5951
  onCreate: () => {
5944
5952
  m.value && u([m.value]);
5945
5953
  },
5946
- onUpdate: ({ editor: B }) => s("change", B.getHTML()),
5954
+ onUpdate: ({ editor: S }) => s("change", S.getHTML()),
5947
5955
  onFocus: () => {
5948
5956
  r.value = a.value = !0, s("focus");
5949
5957
  },
@@ -5952,66 +5960,66 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
5952
5960
  }
5953
5961
  });
5954
5962
  T1(() => C());
5955
- const c = O(() => l.showMenu !== void 0 ? l.showMenu : a.value || !l.autoHideMenu), b = O(() => a.value ? "bg-1 border-b border-default opacity-100" : "bg-2 border-b border-subtle opacity-50"), v = O(() => a.value ? "bg-2 border-t border-default opacity-100" : "bg-2 border-t border-subtle opacity-50"), L = ["start", "end", "all"], D = (B) => {
5963
+ const c = O(() => l.showMenu !== void 0 ? l.showMenu : a.value || !l.autoHideMenu), b = O(() => a.value ? "bg-1 border-b border-default opacity-100" : "bg-2 border-b border-subtle opacity-50"), v = O(() => a.value ? "bg-2 border-t border-default opacity-100" : "bg-2 border-t border-subtle opacity-50"), L = ["start", "end", "all"], D = (S) => {
5956
5964
  var G;
5957
- const R = L.includes(B) ? B : "end";
5965
+ const R = L.includes(S) ? S : "end";
5958
5966
  (G = g.value) == null || G.commands.focus(R);
5959
5967
  }, A = () => {
5960
- var B;
5961
- (B = g.value) == null || B.commands.blur(), a.value = !1;
5962
- }, H = () => h.value = !1, S = () => a.value = !0, I = () => h.value = !1, P = (B) => {
5968
+ var S;
5969
+ (S = g.value) == null || S.commands.blur(), a.value = !1;
5970
+ }, H = () => h.value = !1, B = () => a.value = !0, I = () => h.value = !1, P = (S) => {
5963
5971
  var R;
5964
- return (R = g.value) == null ? void 0 : R.commands.insertContent(B);
5965
- }, e1 = (B) => {
5966
- P(B), f.value = !1;
5967
- }, u1 = () => h.value = !0, Q = () => f.value = !0;
5968
- return t({ blur: A, closeInsert: () => f.value = !1, focus: D, setContent: (B) => {
5972
+ return (R = g.value) == null ? void 0 : R.commands.insertContent(S);
5973
+ }, e1 = (S) => {
5974
+ P(S), p.value = !1;
5975
+ }, u1 = () => h.value = !0, Q = () => p.value = !0;
5976
+ return t({ blur: A, closeInsert: () => p.value = !1, focus: D, setContent: (S) => {
5969
5977
  var R;
5970
- return (R = g.value) == null ? void 0 : R.commands.setContent(B);
5971
- } }), (B, R) => p(g) ? (o(), i("section", {
5978
+ return (R = g.value) == null ? void 0 : R.commands.setContent(S);
5979
+ } }), (S, R) => f(g) ? (o(), i("section", {
5972
5980
  key: 0,
5973
5981
  ref_key: "editorRef",
5974
5982
  ref: m,
5975
5983
  class: "relative w-full"
5976
5984
  }, [
5977
- w(p(o1), {
5985
+ w(f(o1), {
5978
5986
  col: "",
5979
5987
  align: "stretch",
5980
5988
  class: T(["relative rounded-lg font-normal focus-within:border-default", {
5981
- border: !B.embedded,
5982
- "flex-1 min-h-0": B.expandVertically,
5989
+ border: !S.embedded,
5990
+ "flex-1 min-h-0": S.expandVertically,
5983
5991
  "shadow-sm-outline border-action": a.value,
5984
- "border-transparent": !a.value && B.embedded,
5985
- "border-subtle": !a.value && !B.embedded
5992
+ "border-transparent": !a.value && S.embedded,
5993
+ "border-subtle": !a.value && !S.embedded
5986
5994
  }])
5987
5995
  }, {
5988
5996
  default: Z(() => [
5989
- B.headerLabel || B.headerIcon ? (o(), V(p(o1), {
5997
+ S.headerLabel || S.headerIcon ? (o(), V(f(o1), {
5990
5998
  key: 0,
5991
5999
  tag: "header",
5992
6000
  class: T(["flex-0 h-10 px-3 gap-2 text-sm text-primary rounded-t-lg overflow-hidden", b.value])
5993
6001
  }, {
5994
6002
  default: Z(() => [
5995
- B.headerIcon ? (o(), V(p(t1), {
6003
+ S.headerIcon ? (o(), V(f(t1), {
5996
6004
  key: 0,
5997
- name: B.headerIcon
6005
+ name: S.headerIcon
5998
6006
  }, null, 8, ["name"])) : k("", !0),
5999
- B.headerLabel ? (o(), i("span", oo, K(B.headerLabel), 1)) : k("", !0)
6007
+ S.headerLabel ? (o(), i("span", oo, K(S.headerLabel), 1)) : k("", !0)
6000
6008
  ]),
6001
6009
  _: 1
6002
6010
  }, 8, ["class"])) : k("", !0),
6003
- w(p(o1), {
6011
+ w(f(o1), {
6004
6012
  tag: "main",
6005
6013
  align: "start",
6006
6014
  fullwidth: ""
6007
6015
  }, {
6008
6016
  default: Z(() => [
6009
- w(p(_e), {
6017
+ w(f(_e), {
6010
6018
  class: T(["flex-1 overflow-y-auto rounded-t-lg focus:outline-hidden", {
6011
- [B.editorContentClasses]: !a.value,
6012
- [B.editorContentFocusClasses]: a.value
6019
+ [S.editorContentClasses]: !a.value,
6020
+ [S.editorContentFocusClasses]: a.value
6013
6021
  }]),
6014
- editor: p(g)
6022
+ editor: f(g)
6015
6023
  }, null, 8, ["class", "editor"])
6016
6024
  ]),
6017
6025
  _: 1
@@ -6020,128 +6028,128 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
6020
6028
  key: 1,
6021
6029
  class: T(["flex-0 min-h-0 p-1 rounded-b-lg overflow-hidden", v.value])
6022
6030
  }, [
6023
- w(p(o1), { justify: "between" }, {
6031
+ w(f(o1), { justify: "between" }, {
6024
6032
  default: Z(() => [
6025
- w(p(o1), { class: "gap-0.5" }, {
6033
+ w(f(o1), { class: "gap-0.5" }, {
6026
6034
  default: Z(() => [
6027
- p(re) ? (o(), i(M, { key: 0 }, [
6035
+ f(re) ? (o(), i(M, { key: 0 }, [
6028
6036
  w(c1, {
6029
6037
  icon: "undo",
6030
6038
  tooltip: "Undo",
6031
6039
  onClick: R[0] || (R[0] = (G) => {
6032
- p(g).chain().focus().undo().run(), S();
6040
+ f(g).chain().focus().undo().run(), B();
6033
6041
  })
6034
6042
  }),
6035
6043
  w(c1, {
6036
6044
  icon: "redo",
6037
6045
  tooltip: "Redo",
6038
6046
  onClick: R[1] || (R[1] = (G) => {
6039
- p(g).chain().focus().redo().run(), S();
6047
+ f(g).chain().focus().redo().run(), B();
6040
6048
  })
6041
6049
  })
6042
6050
  ], 64)) : k("", !0),
6043
- B.emphasis ? (o(), i(M, { key: 1 }, [
6051
+ S.emphasis ? (o(), i(M, { key: 1 }, [
6044
6052
  w(c1, {
6045
6053
  icon: "bold",
6046
6054
  tooltip: "Bold",
6047
- active: p(g).isActive("bold"),
6055
+ active: f(g).isActive("bold"),
6048
6056
  onClick: R[2] || (R[2] = (G) => {
6049
- p(g).chain().focus().toggleBold().run(), S();
6057
+ f(g).chain().focus().toggleBold().run(), B();
6050
6058
  })
6051
6059
  }, null, 8, ["active"]),
6052
6060
  w(c1, {
6053
6061
  icon: "italics",
6054
6062
  tooltip: "Italic",
6055
- active: p(g).isActive("italic"),
6063
+ active: f(g).isActive("italic"),
6056
6064
  onClick: R[3] || (R[3] = (G) => {
6057
- p(g).chain().focus().toggleItalic().run(), S();
6065
+ f(g).chain().focus().toggleItalic().run(), B();
6058
6066
  })
6059
6067
  }, null, 8, ["active"]),
6060
6068
  w(c1, {
6061
6069
  icon: "underline",
6062
6070
  tooltip: "Underline",
6063
- active: p(g).isActive("underline"),
6071
+ active: f(g).isActive("underline"),
6064
6072
  onClick: R[4] || (R[4] = (G) => {
6065
- p(g).chain().focus().toggleUnderline().run(), S();
6073
+ f(g).chain().focus().toggleUnderline().run(), B();
6066
6074
  })
6067
6075
  }, null, 8, ["active"])
6068
6076
  ], 64)) : k("", !0),
6069
- p(ae) ? (o(), V(c1, {
6077
+ f(ae) ? (o(), V(c1, {
6070
6078
  key: 2,
6071
6079
  icon: "square-solid",
6072
6080
  tooltip: "Yellow highlight",
6073
- active: p(g).isActive("highlight"),
6081
+ active: f(g).isActive("highlight"),
6074
6082
  onClick: R[5] || (R[5] = (G) => {
6075
- p(g).chain().focus().toggleHighlight().run(), S();
6083
+ f(g).chain().focus().toggleHighlight().run(), B();
6076
6084
  })
6077
6085
  }, null, 8, ["active"])) : k("", !0),
6078
- p(se) ? (o(), V(c1, {
6086
+ f(se) ? (o(), V(c1, {
6079
6087
  key: 3,
6080
6088
  icon: "heading",
6081
6089
  tooltip: "Heading",
6082
- active: p(g).isActive("heading", { level: 1 }),
6090
+ active: f(g).isActive("heading", { level: 1 }),
6083
6091
  onClick: R[6] || (R[6] = (G) => {
6084
- p(g).chain().focus().toggleHeading({ level: 1 }).run(), S();
6092
+ f(g).chain().focus().toggleHeading({ level: 1 }).run(), B();
6085
6093
  })
6086
6094
  }, null, 8, ["active"])) : k("", !0),
6087
- p(ie) ? (o(), V(c1, {
6095
+ f(ie) ? (o(), V(c1, {
6088
6096
  key: 4,
6089
6097
  icon: "link",
6090
6098
  tooltip: "Add link",
6091
- active: p(g).isActive("link"),
6099
+ active: f(g).isActive("link"),
6092
6100
  onClick: R[7] || (R[7] = (G) => {
6093
- u1(), S();
6101
+ u1(), B();
6094
6102
  })
6095
6103
  }, null, 8, ["active"])) : k("", !0),
6096
- B.listStyles ? (o(), i(M, { key: 5 }, [
6104
+ S.listStyles ? (o(), i(M, { key: 5 }, [
6097
6105
  w(c1, {
6098
6106
  icon: "bullet-list",
6099
6107
  tooltip: "Bullet list",
6100
- active: p(g).isActive("bulletList"),
6108
+ active: f(g).isActive("bulletList"),
6101
6109
  onClick: R[8] || (R[8] = (G) => {
6102
- p(g).chain().focus().toggleBulletList().run(), S();
6110
+ f(g).chain().focus().toggleBulletList().run(), B();
6103
6111
  })
6104
6112
  }, null, 8, ["active"]),
6105
6113
  w(c1, {
6106
6114
  icon: "numbered-list",
6107
6115
  tooltip: "Numbered list",
6108
- active: p(g).isActive("orderedList"),
6116
+ active: f(g).isActive("orderedList"),
6109
6117
  onClick: R[9] || (R[9] = (G) => {
6110
- p(g).chain().focus().toggleOrderedList().run(), S();
6118
+ f(g).chain().focus().toggleOrderedList().run(), B();
6111
6119
  })
6112
6120
  }, null, 8, ["active"]),
6113
6121
  w(c1, {
6114
6122
  icon: "indent-right",
6115
6123
  tooltip: "Indent right",
6116
- disabled: !p(g).can().sinkListItem("listItem"),
6124
+ disabled: !f(g).can().sinkListItem("listItem"),
6117
6125
  onClick: R[10] || (R[10] = (G) => {
6118
- p(g).chain().focus().sinkListItem("listItem").run(), S();
6126
+ f(g).chain().focus().sinkListItem("listItem").run(), B();
6119
6127
  })
6120
6128
  }, null, 8, ["disabled"]),
6121
6129
  w(c1, {
6122
6130
  icon: "indent-left",
6123
6131
  tooltip: "Indent left",
6124
- disabled: !p(g).can().liftListItem("listItem"),
6132
+ disabled: !f(g).can().liftListItem("listItem"),
6125
6133
  onClick: R[11] || (R[11] = (G) => {
6126
- p(g).chain().focus().liftListItem("listItem").run(), S();
6134
+ f(g).chain().focus().liftListItem("listItem").run(), B();
6127
6135
  })
6128
6136
  }, null, 8, ["disabled"])
6129
6137
  ], 64)) : k("", !0),
6130
- B.insert ? (o(), V(c1, {
6138
+ S.insert ? (o(), V(c1, {
6131
6139
  key: 6,
6132
6140
  highlight: "",
6133
- icon: B.insertIcon,
6134
- tooltip: B.insertTooltip,
6135
- active: p(g).isActive("insert"),
6141
+ icon: S.insertIcon,
6142
+ tooltip: S.insertTooltip,
6143
+ active: f(g).isActive("insert"),
6136
6144
  onClick: R[12] || (R[12] = (G) => {
6137
- Q(), S();
6145
+ Q(), B();
6138
6146
  })
6139
6147
  }, null, 8, ["icon", "tooltip", "active"])) : k("", !0)
6140
6148
  ]),
6141
6149
  _: 1
6142
6150
  }),
6143
- B.$slots.menuRight ? (o(), i("div", so, [
6144
- E(B.$slots, "menuRight")
6151
+ S.$slots.menuRight ? (o(), i("div", so, [
6152
+ E(S.$slots, "menuRight")
6145
6153
  ])) : k("", !0)
6146
6154
  ]),
6147
6155
  _: 3
@@ -6149,15 +6157,15 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
6149
6157
  ], 2)) : k("", !0),
6150
6158
  h.value ? (o(), V(eo, {
6151
6159
  key: 2,
6152
- editor: p(g),
6160
+ editor: f(g),
6153
6161
  onInserted: I,
6154
6162
  onCancel: H
6155
6163
  }, null, 8, ["editor"])) : k("", !0),
6156
- f.value ? (o(), i(M, { key: 3 }, [
6157
- B.$slots.insert ? E(B.$slots, "insert", { key: 0 }) : (o(), V(no, {
6164
+ p.value ? (o(), i(M, { key: 3 }, [
6165
+ S.$slots.insert ? E(S.$slots, "insert", { key: 0 }) : (o(), V(no, {
6158
6166
  key: 1,
6159
6167
  onInsert: e1,
6160
- onCancel: R[13] || (R[13] = (G) => f.value = !1)
6168
+ onCancel: R[13] || (R[13] = (G) => p.value = !1)
6161
6169
  }))
6162
6170
  ], 64)) : k("", !0)
6163
6171
  ]),
@@ -6201,10 +6209,10 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
6201
6209
  }), s = (r, a) => {
6202
6210
  if (!r || !a) return [];
6203
6211
  if (typeof r != "string" || typeof a != "string") return [];
6204
- const f = r.toLowerCase(), h = a.toLowerCase(), m = [];
6212
+ const p = r.toLowerCase(), h = a.toLowerCase(), m = [];
6205
6213
  let C = -1;
6206
6214
  do
6207
- C = f.indexOf(h, C + 1), C !== -1 && m.push(C, C + h.length);
6215
+ C = p.indexOf(h, C + 1), C !== -1 && m.push(C, C + h.length);
6208
6216
  while (C > -1);
6209
6217
  const u = [];
6210
6218
  let g = 0;
@@ -6222,10 +6230,10 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
6222
6230
  ), (r, a) => (o(), i("span", ao, [
6223
6231
  e.value.length === 0 ? (o(), i(M, { key: 0 }, [
6224
6232
  Oe(K(r.value), 1)
6225
- ], 64)) : (o(!0), i(M, { key: 1 }, m1(e.value, (f, h) => (o(), i(M, {
6226
- key: `${f}_${h}`
6233
+ ], 64)) : (o(!0), i(M, { key: 1 }, m1(e.value, (p, h) => (o(), i(M, {
6234
+ key: `${p}_${h}`
6227
6235
  }, [
6228
- r.highlight && f.toLowerCase() === r.highlight.toLowerCase() ? (o(), i("span", {
6236
+ r.highlight && p.toLowerCase() === r.highlight.toLowerCase() ? (o(), i("span", {
6229
6237
  key: 0,
6230
6238
  class: T(["relative z-0 rounded", [
6231
6239
  {
@@ -6235,17 +6243,17 @@ const q0 = { class: "space-y-1" }, X0 = { class: "space-y-1" }, e4 = /* @__PURE_
6235
6243
  l.value,
6236
6244
  r.textColorClass
6237
6245
  ]])
6238
- }, K(f), 3)) : (o(), i("span", ro, K(f), 1))
6246
+ }, K(p), 3)) : (o(), i("span", ro, K(p), 1))
6239
6247
  ], 64))), 128))
6240
6248
  ]));
6241
6249
  }
6242
6250
  }), io = {}, uo = { class: "ProseMirror" };
6243
- function po(n, t) {
6251
+ function fo(n, t) {
6244
6252
  return o(), i("section", uo, [
6245
6253
  E(n.$slots, "default")
6246
6254
  ]);
6247
6255
  }
6248
- const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6256
+ const n4 = /* @__PURE__ */ Z1(io, [["render", fo]]), o4 = /* @__PURE__ */ $({
6249
6257
  __name: "TiptapEditor",
6250
6258
  props: {
6251
6259
  content: {},
@@ -6308,9 +6316,9 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6308
6316
  (g = (u = r.value) == null ? void 0 : u.extensionManager.extensions.find((c) => c.name === "placeholder")) == null || g.options.configure({ placeholder: C });
6309
6317
  }
6310
6318
  );
6311
- const f = ["start", "end", "all"], h = (C) => {
6319
+ const p = ["start", "end", "all"], h = (C) => {
6312
6320
  var g;
6313
- const u = f.includes(C) ? C : "end";
6321
+ const u = p.includes(C) ? C : "end";
6314
6322
  (g = r.value) == null || g.commands.focus(u);
6315
6323
  };
6316
6324
  return t({
@@ -6340,13 +6348,13 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6340
6348
  toggleOrderedList: () => r.value.chain().focus().toggleOrderedList().run(),
6341
6349
  toggleUnderline: () => r.value.chain().focus().toggleUnderline().run(),
6342
6350
  undo: () => r.value.chain().focus().undo().run()
6343
- }), (C, u) => p(r) ? (o(), V(p(_e), {
6351
+ }), (C, u) => f(r) ? (o(), V(f(_e), {
6344
6352
  key: 0,
6345
6353
  class: "flex-1 focus:outline-hidden",
6346
- editor: p(r)
6354
+ editor: f(r)
6347
6355
  }, null, 8, ["editor"])) : k("", !0);
6348
6356
  }
6349
- }), fo = ["disabled"], co = { key: 1 }, s4 = /* @__PURE__ */ $({
6357
+ }), po = ["disabled"], co = { key: 1 }, s4 = /* @__PURE__ */ $({
6350
6358
  __name: "ToggleButton",
6351
6359
  props: {
6352
6360
  active: { type: Boolean },
@@ -6380,10 +6388,10 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6380
6388
  "dark:text-slate-200 dark:hover:text-slate-100 dark:focus-visible:text-slate-100 dark:active:text-white"
6381
6389
  ]
6382
6390
  ), C.filter((u) => u).join(" ");
6383
- }), f = O(() => l.disabled ? { background: "hsl(0 0% 90%)" } : {}), h = (C) => {
6391
+ }), p = O(() => l.disabled ? { background: "hsl(0 0% 90%)" } : {}), h = (C) => {
6384
6392
  l.stopPropagation && C.stopPropagation(), l.disabled || s("click");
6385
6393
  };
6386
- return t({ focus: () => r.value.focus() }), (C, u) => C.tooltip ? (o(), V(p(te), {
6394
+ return t({ focus: () => r.value.focus() }), (C, u) => C.tooltip ? (o(), V(f(te), {
6387
6395
  key: 0,
6388
6396
  hover: "",
6389
6397
  text: C.tooltip,
@@ -6396,16 +6404,16 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6396
6404
  ref: r,
6397
6405
  class: T(["z-0 relative inline-flex items-center justify-center gap-1 h-6 leading-none text-sm border focus:z-10 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-black dark:focus-visible:outline-white", a.value]),
6398
6406
  disabled: C.disabled,
6399
- style: n1(f.value),
6407
+ style: n1(p.value),
6400
6408
  onClick: h,
6401
6409
  onBlur: u[0] || (u[0] = (g) => s("blur"))
6402
6410
  }, [
6403
- C.icon ? (o(), V(p(t1), {
6411
+ C.icon ? (o(), V(f(t1), {
6404
6412
  key: 0,
6405
6413
  name: C.icon
6406
6414
  }, null, 8, ["name"])) : k("", !0),
6407
6415
  C.label ? (o(), i("div", co, K(C.label), 1)) : k("", !0)
6408
- ], 46, fo)
6416
+ ], 46, po)
6409
6417
  ]),
6410
6418
  _: 1
6411
6419
  }, 8, ["text", "delay", "placement"])) : k("", !0);
@@ -6462,9 +6470,9 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6462
6470
  treeIsOpen: s,
6463
6471
  actions: r
6464
6472
  }) => {
6465
- const a = /* @__PURE__ */ new Map(), f = n.find((u) => u[e] === null);
6466
- if (!f) throw new Error("Cannot construct tree, since no root item exists");
6467
- const h = n.filter((u) => u[t] !== f[t]);
6473
+ const a = /* @__PURE__ */ new Map(), p = n.find((u) => u[e] === null);
6474
+ if (!p) throw new Error("Cannot construct tree, since no root item exists");
6475
+ const h = n.filter((u) => u[t] !== p[t]);
6468
6476
  for (const u of h)
6469
6477
  a.set(u[t], {
6470
6478
  id: u[t],
@@ -6475,10 +6483,10 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6475
6483
  children: []
6476
6484
  });
6477
6485
  const m = {
6478
- id: f[t],
6479
- label: f[l],
6486
+ id: p[t],
6487
+ label: p[l],
6480
6488
  open: s,
6481
- data: f,
6489
+ data: p,
6482
6490
  actions: r,
6483
6491
  children: []
6484
6492
  }, C = [m];
@@ -6511,14 +6519,14 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6511
6519
  var C;
6512
6520
  a([s.value.$el]), (C = l.value) == null || C.focus();
6513
6521
  }), T1(() => r());
6514
- const f = (C) => {
6522
+ const p = (C) => {
6515
6523
  C.target && e("change", C.target.value);
6516
6524
  }, h = (C) => {
6517
6525
  C.stopPropagation(), C.preventDefault(), e("save");
6518
6526
  }, m = (C) => {
6519
6527
  C.stopImmediatePropagation(), C.stopPropagation(), C.preventDefault(), e("cancel");
6520
6528
  };
6521
- return (C, u) => (o(), V(p(o1), {
6529
+ return (C, u) => (o(), V(f(o1), {
6522
6530
  ref_key: "container",
6523
6531
  ref: s,
6524
6532
  class: "h-8 gap-1 pr-1",
@@ -6542,18 +6550,18 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6542
6550
  ],
6543
6551
  onKeyup: u[1] || (u[1] = _(F(() => {
6544
6552
  }, ["stop", "prevent"]), ["enter"])),
6545
- onInput: F(f, ["stop", "prevent"])
6553
+ onInput: F(p, ["stop", "prevent"])
6546
6554
  }, null, 40, mo)
6547
6555
  ]),
6548
6556
  d("aside", go, [
6549
- w(p(j), {
6557
+ w(f(j), {
6550
6558
  small: "",
6551
6559
  icon: "check",
6552
6560
  variant: "outlineSubtle",
6553
6561
  loading: C.saving,
6554
6562
  onClick: u[2] || (u[2] = (g) => e("save"))
6555
6563
  }, null, 8, ["loading"]),
6556
- w(p(j), {
6564
+ w(f(j), {
6557
6565
  small: "",
6558
6566
  icon: "close",
6559
6567
  variant: "outlineSubtle",
@@ -6570,7 +6578,7 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6570
6578
  }, yo = { class: "text-xs truncate" }, Ho = {
6571
6579
  key: 0,
6572
6580
  class: "relative"
6573
- }, p4 = /* @__PURE__ */ $({
6581
+ }, f4 = /* @__PURE__ */ $({
6574
6582
  __name: "TreeList",
6575
6583
  props: {
6576
6584
  indentationAmount: { default: 20 },
@@ -6585,7 +6593,7 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6585
6593
  r1(() => s.value, (v, L) => {
6586
6594
  !v && L && a.value && (a.value = !1), r.value = "";
6587
6595
  });
6588
- const r = y(""), a = y(!1), f = () => {
6596
+ const r = y(""), a = y(!1), p = () => {
6589
6597
  e("save", r.value), a.value = !0;
6590
6598
  }, h = () => {
6591
6599
  e("cancel-new-child"), r.value = "";
@@ -6604,7 +6612,7 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6604
6612
  var A;
6605
6613
  const D = Mt("TreeList", !0);
6606
6614
  return o(), i(M, null, [
6607
- w(p(o1), {
6615
+ w(f(o1), {
6608
6616
  tag: "button",
6609
6617
  justify: "between",
6610
6618
  class: T(["w-full h-8 pr-1 gap-0 border-b border-default cursor-pointer", {
@@ -6631,16 +6639,16 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6631
6639
  ]
6632
6640
  }, {
6633
6641
  default: Z(() => [
6634
- w(p(o1), { class: "flex-1 min-w-0 pl-1 gap-1" }, {
6642
+ w(f(o1), { class: "flex-1 min-w-0 pl-1 gap-1" }, {
6635
6643
  default: Z(() => {
6636
6644
  var H;
6637
6645
  return [
6638
6646
  (H = v.node.children) != null && H.length || s.value ? (o(), i("button", {
6639
6647
  key: 0,
6640
6648
  class: "w-4 h-4 flex items-center justify-center rounded cursor-pointer",
6641
- onClick: L[0] || (L[0] = F((S) => e("toggle", { path: [v.node], targetNode: v.node }), ["stop", "prevent"]))
6649
+ onClick: L[0] || (L[0] = F((B) => e("toggle", { path: [v.node], targetNode: v.node }), ["stop", "prevent"]))
6642
6650
  }, [
6643
- w(p(t1), {
6651
+ w(f(t1), {
6644
6652
  name: v.node.open ? "chevron-down-small" : "chevron-right-small"
6645
6653
  }, null, 8, ["name"])
6646
6654
  ])) : (o(), i("div", Lo)),
@@ -6649,18 +6657,18 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6649
6657
  }),
6650
6658
  _: 1
6651
6659
  }),
6652
- v.node.actions.length > 0 ? (o(), V(p(o1), {
6660
+ v.node.actions.length > 0 ? (o(), V(f(o1), {
6653
6661
  key: 0,
6654
6662
  class: "flex-none"
6655
6663
  }, {
6656
6664
  default: Z(() => [
6657
- w(p(rt), {
6665
+ w(f(rt), {
6658
6666
  options: v.node.actions,
6659
6667
  placement: "bottom-end",
6660
6668
  onSelect: C
6661
6669
  }, {
6662
6670
  trigger: Z(() => [
6663
- w(p(j), {
6671
+ w(f(j), {
6664
6672
  icon: "options",
6665
6673
  small: "",
6666
6674
  variant: "textSubtle"
@@ -6681,7 +6689,7 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6681
6689
  indentation: (v.level + 1) * v.indentationAmount,
6682
6690
  saving: a.value,
6683
6691
  onChange: L[10] || (L[10] = (H) => r.value = H),
6684
- onSave: f,
6692
+ onSave: p,
6685
6693
  onCancel: h
6686
6694
  }, null, 8, ["value", "indentation", "saving"])) : k("", !0),
6687
6695
  (o(!0), i(M, null, m1(v.node.children, (H) => (o(), V(D, {
@@ -6692,17 +6700,17 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6692
6700
  "create-new-path": v.createNewPath,
6693
6701
  selection: v.selection,
6694
6702
  onAction: u,
6695
- onCancelNewChild: L[11] || (L[11] = (S) => e("cancel-new-child")),
6696
- onSave: L[12] || (L[12] = (S) => e("save", S)),
6697
- onKey: L[13] || (L[13] = (S) => g(S.path)),
6698
- onSelect: L[14] || (L[14] = (S) => c(S.path)),
6699
- onToggle: L[15] || (L[15] = (S) => b(S.path))
6703
+ onCancelNewChild: L[11] || (L[11] = (B) => e("cancel-new-child")),
6704
+ onSave: L[12] || (L[12] = (B) => e("save", B)),
6705
+ onKey: L[13] || (L[13] = (B) => g(B.path)),
6706
+ onSelect: L[14] || (L[14] = (B) => c(B.path)),
6707
+ onToggle: L[15] || (L[15] = (B) => b(B.path))
6700
6708
  }, null, 8, ["indentation-amount", "level", "node", "create-new-path", "selection"]))), 128))
6701
6709
  ])) : k("", !0)
6702
6710
  ], 64);
6703
6711
  };
6704
6712
  }
6705
- }), f4 = ["fill", "outline", "outlineSubtle", "text", "textSubtle", "destructive", "outlineDestructive"], c4 = ["default", "primary", "error"], C4 = ["default", "circle"], v4 = ["horizontal", "vertical"], Vo = ["start", "center", "end", "stretch"], h4 = [...Vo, "between", "around", "evenly"], m4 = ["default", "blurred"], g4 = ["click", "hover", "focus", "manual"], b4 = ["Ok", "Not Ok", "Not Applicable"], L4 = [
6713
+ }), p4 = ["fill", "outline", "outlineSubtle", "text", "textSubtle", "destructive", "outlineDestructive"], c4 = ["default", "primary", "error"], C4 = ["default", "circle"], v4 = ["horizontal", "vertical"], Vo = ["start", "center", "end", "stretch"], h4 = [...Vo, "between", "around", "evenly"], m4 = ["default", "blurred"], g4 = ["click", "hover", "focus", "manual"], b4 = ["Ok", "Not Ok", "Not Applicable"], L4 = [
6706
6714
  "admin",
6707
6715
  "agent",
6708
6716
  "agent-flow",
@@ -6890,15 +6898,15 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6890
6898
  if (t.heightClass === "h-auto") {
6891
6899
  if (e.value) {
6892
6900
  a = 0;
6893
- for (const f of e.value.children)
6894
- a += f.offsetHeight;
6901
+ for (const p of e.value.children)
6902
+ a += p.offsetHeight;
6895
6903
  a = `${a}px`;
6896
6904
  }
6897
6905
  return { height: a };
6898
6906
  }
6899
6907
  return {};
6900
6908
  });
6901
- return (a, f) => (o(), V(D1(a.type), {
6909
+ return (a, p) => (o(), V(D1(a.type), {
6902
6910
  ref_key: "containerRef",
6903
6911
  ref: e,
6904
6912
  class: T(["relative flex-none w-full overflow-hidden transition-height duration-500 ease-in-out", s.value]),
@@ -6921,7 +6929,7 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6921
6929
  },
6922
6930
  setup(n) {
6923
6931
  const t = n, e = [t.widthClass, t.windowFrame ? "px-8 py-6 bg-light shadow-sm-xl rounded-lg" : ""];
6924
- return (l, s) => (o(), V(p(o1), {
6932
+ return (l, s) => (o(), V(f(o1), {
6925
6933
  col: "",
6926
6934
  align: "stretch",
6927
6935
  justify: "start",
@@ -6939,7 +6947,7 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6939
6947
  ]),
6940
6948
  _: 3
6941
6949
  }, 8, ["border", "height-class"])) : k("", !0),
6942
- w(p(X1), {
6950
+ w(f(X1), {
6943
6951
  "window-resize": "",
6944
6952
  "wrap-class": "h-full"
6945
6953
  }, {
@@ -6978,14 +6986,14 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
6978
6986
  E(s.$slots, "default")
6979
6987
  ], 512));
6980
6988
  }
6981
- }), q1 = "+", ut = "[", pt = "]", y1 = ":", ko = ["asc", "desc"], H4 = ["=", "!=", "<", "<=", ">", ">="], V4 = ["eq", "ne", "lt", "le", "gt", "ge"], wo = {
6989
+ }), q1 = "+", ut = "[", ft = "]", y1 = ":", ko = ["asc", "desc"], H4 = ["=", "!=", "<", "<=", ">", ">="], V4 = ["eq", "ne", "lt", "le", "gt", "ge"], wo = {
6982
6990
  eq: "=",
6983
6991
  ne: "!=",
6984
6992
  lt: "<",
6985
6993
  le: "<=",
6986
6994
  gt: ">",
6987
6995
  ge: ">="
6988
- }, ft = {
6996
+ }, pt = {
6989
6997
  "=": "eq",
6990
6998
  "!=": "ne",
6991
6999
  "<": "lt",
@@ -7017,7 +7025,7 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
7017
7025
  content: ye(e, t),
7018
7026
  value: n[e]
7019
7027
  } : null;
7020
- }, ye = (n, t) => n.replace(t + be, "").replace(Le, ""), Mo = (n, t) => Object.keys(n).reduce((e, l) => (le(l, t) || (e[l] = n[l]), e), {}), Ct = (n, t, e) => Object.keys(n).reduce((l, s) => (le(s, t) ? e !== ye(s, t) && (l[s] = n[s]) : l[s] = n[s], l), {}), vt = "sort", ht = (n, t) => `${n}${y1}${t}`, Zo = (n, t) => `${n}${y1}${t}`, mt = (n, t, e) => `${n}${ut}${ht(t, e)}${pt}`, $o = (n, t) => `${n}${ut}${Zo("sort", t)}${pt}`, Do = (n) => {
7028
+ }, ye = (n, t) => n.replace(t + be, "").replace(Le, ""), Mo = (n, t) => Object.keys(n).reduce((e, l) => (le(l, t) || (e[l] = n[l]), e), {}), Ct = (n, t, e) => Object.keys(n).reduce((l, s) => (le(s, t) ? e !== ye(s, t) && (l[s] = n[s]) : l[s] = n[s], l), {}), vt = "sort", ht = (n, t) => `${n}${y1}${t}`, Zo = (n, t) => `${n}${y1}${t}`, mt = (n, t, e) => `${n}${ut}${ht(t, e)}${ft}`, $o = (n, t) => `${n}${ut}${Zo("sort", t)}${ft}`, Do = (n) => {
7021
7029
  if (!n.includes(y1))
7022
7030
  throw new Error(`Error in filter syntax: Filter must contain a filter separator "${y1}"`);
7023
7031
  if (!n.indexOf(y1) || n.indexOf(y1) === n.length - 1)
@@ -7029,39 +7037,39 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
7029
7037
  return t === vt && ko.includes(e);
7030
7038
  }, bt = (n, t) => {
7031
7039
  const e = ct(n, t), [l] = e.filter((r) => gt(r)).map((r) => {
7032
- const [a, f] = r.content.split(y1);
7040
+ const [a, p] = r.content.split(y1);
7033
7041
  return {
7034
- direction: f,
7042
+ direction: p,
7035
7043
  field: r.value
7036
7044
  };
7037
7045
  });
7038
7046
  return e.map((r) => {
7039
- const { id: a, operator: f } = Do(r.content);
7047
+ const { id: a, operator: p } = Do(r.content);
7040
7048
  return {
7041
7049
  id: a,
7042
- operator: wo[f],
7043
- value: n[mt(t, a, f)]
7050
+ operator: wo[p],
7051
+ value: n[mt(t, a, p)]
7044
7052
  };
7045
7053
  }).reduce((r, a) => (a.id === vt && a.operator === void 0 ? r.sorting = l : r.filters.push(a), r), { sorting: void 0, filters: [] });
7046
- }, To = (n, t, e) => bt(n, t).filters.find((l) => l.id === e), So = (n, t) => Mo(n, t), Bo = (n, t, e) => {
7054
+ }, To = (n, t, e) => bt(n, t).filters.find((l) => l.id === e), Bo = (n, t) => Mo(n, t), So = (n, t, e) => {
7047
7055
  const l = To(n, t, e);
7048
7056
  if (!l) return n;
7049
- const s = ht(l.id, ft[l.operator]);
7057
+ const s = ht(l.id, pt[l.operator]);
7050
7058
  return Ct(n, t, s);
7051
7059
  }, zo = (n, t) => {
7052
7060
  const e = ct(n, t).find((l) => gt(l));
7053
7061
  return e ? Ct(n, t, e.content) : n;
7054
7062
  }, Ao = (n, t, e, l, s) => {
7055
7063
  const r = { ...n };
7056
- return r[mt(t, e, ft[l])] = s, r;
7064
+ return r[mt(t, e, pt[l])] = s, r;
7057
7065
  }, Ro = (n, t, e, l) => {
7058
7066
  const s = { ...n };
7059
7067
  return s[$o(t, e)] = l, s;
7060
7068
  }, $4 = (n, t) => {
7061
- const e = J1(), l = pe();
7069
+ const e = J1(), l = fe();
7062
7070
  if (!Ie())
7063
7071
  throw new Error("useEmit must be called within a setup function.");
7064
- const r = () => m(null), a = O(() => !!t.value && !!t.value.split(q1).length), f = O(() => t.value ? t.value.split(q1) : []), h = (C) => {
7072
+ const r = () => m(null), a = O(() => !!t.value && !!t.value.split(q1).length), p = O(() => t.value ? t.value.split(q1) : []), h = (C) => {
7065
7073
  if (C.length === 0) {
7066
7074
  r();
7067
7075
  return;
@@ -7069,25 +7077,25 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
7069
7077
  const u = C.join(q1);
7070
7078
  m(u);
7071
7079
  }, m = async (C) => {
7072
- let u = Bo(e.query, n, t.id);
7080
+ let u = So(e.query, n, t.id);
7073
7081
  C && (u = Ao(u, n, t.id, t.operator, C)), await l.push({ query: u });
7074
7082
  };
7075
- return { clearFilter: r, isActive: a, updateFilter: h, values: f };
7083
+ return { clearFilter: r, isActive: a, updateFilter: h, values: p };
7076
7084
  }, D4 = ({ groupId: n, filters: t, sorting: e, items: l, remoteFilterMethod: s }) => {
7077
- const r = J1(), a = pe();
7085
+ const r = J1(), a = fe();
7078
7086
  a1(() => v(r.query)), xe((A) => v(A.query));
7079
- const f = y(!1), h = y([]), m = y(t), C = O(() => m.value.filter((A) => !!A.value)), u = O(() => !!C.value.length), g = y(e.default), c = async () => {
7087
+ const p = y(!1), h = y([]), m = y(t), C = O(() => m.value.filter((A) => !!A.value)), u = O(() => !!C.value.length), g = y(e.default), c = async () => {
7080
7088
  if (s && l)
7081
7089
  throw new Error("You should only pass either 'items' (frontend filtering) or 'remoteFilterMethod' (backend filtering). You passed both.");
7082
7090
  if (!s && !l)
7083
7091
  throw new Error("Filters have to have either items or remoteFilterMethod to work. None was provided.");
7084
7092
  if (s)
7085
7093
  try {
7086
- f.value = !0;
7094
+ p.value = !0;
7087
7095
  const A = await s(g.value, C.value);
7088
- h.value = A, f.value = !1;
7096
+ h.value = A, p.value = !1;
7089
7097
  } catch {
7090
- f.value = !1;
7098
+ p.value = !1;
7091
7099
  }
7092
7100
  else l && (h.value = e.sortingMethod ? e.sortingMethod(
7093
7101
  g.value,
@@ -7096,13 +7104,13 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
7096
7104
  };
7097
7105
  r1(l ? [g, C, l] : [g, C], () => c(), { immediate: !0, deep: !0 });
7098
7106
  const v = (A) => {
7099
- const { filters: H, sorting: S } = bt(A, n);
7100
- g.value = S ? D(S) : e.default, m.value.forEach((I) => {
7107
+ const { filters: H, sorting: B } = bt(A, n);
7108
+ g.value = B ? D(B) : e.default, m.value.forEach((I) => {
7101
7109
  const P = H.find((e1) => e1.id === I.id);
7102
7110
  P ? (I.operator = P.operator, I.value = P.value) : (I.operator = "=", I.value = null);
7103
7111
  });
7104
7112
  }, L = async () => {
7105
- const A = So(r.query, n);
7113
+ const A = Bo(r.query, n);
7106
7114
  await a.push({ query: A });
7107
7115
  }, D = (A) => ({
7108
7116
  direction: A.direction,
@@ -7114,22 +7122,22 @@ const n4 = /* @__PURE__ */ Z1(io, [["render", po]]), o4 = /* @__PURE__ */ $({
7114
7122
  availableFilters: m,
7115
7123
  filteringActive: u,
7116
7124
  filteredItems: h,
7117
- loadingItems: f,
7125
+ loadingItems: p,
7118
7126
  applyFilters: c,
7119
7127
  clearFilters: L
7120
7128
  };
7121
7129
  }, T4 = (n) => {
7122
7130
  const t = J1();
7123
7131
  a1(() => n(t.query)), xe((e) => n(e.query));
7124
- }, S4 = (n) => {
7125
- const t = J1(), e = pe();
7132
+ }, B4 = (n) => {
7133
+ const t = J1(), e = fe();
7126
7134
  if (!Ie())
7127
7135
  throw new Error("useEmit must be called within a setup function.");
7128
7136
  return { updateSorting: async (r) => {
7129
7137
  let a = zo(t.query, n);
7130
7138
  a = Ro(a, n, r.direction, r.field), await e.push({ query: a });
7131
7139
  } };
7132
- }, B4 = (n) => n === "asc" ? "desc" : "asc";
7140
+ }, S4 = (n) => n === "asc" ? "desc" : "asc";
7133
7141
  function z4(n, t) {
7134
7142
  if (!t || t.length === 0)
7135
7143
  return t;
@@ -7185,8 +7193,8 @@ export {
7185
7193
  Ds as BNavItem,
7186
7194
  Ts as BNotification,
7187
7195
  et as BNotificationBadge,
7188
- Ss as BPagination,
7189
- Bs as BPanelLayout,
7196
+ Bs as BPagination,
7197
+ Ss as BPanelLayout,
7190
7198
  zs as BPopCalendar,
7191
7199
  As as BPopConfirm,
7192
7200
  rt as BPopSelect,
@@ -7194,7 +7202,7 @@ export {
7194
7202
  E1 as BPopper,
7195
7203
  O1 as BPopperContent,
7196
7204
  Es as BProgress,
7197
- Se as BResizablePanel,
7205
+ Be as BResizablePanel,
7198
7206
  Ae as BRunningSection,
7199
7207
  he as BScreenOverlay,
7200
7208
  Os as BScrollBottomLoader,
@@ -7215,7 +7223,7 @@ export {
7215
7223
  o4 as BTiptapEditor,
7216
7224
  s4 as BToggleButton,
7217
7225
  te as BTooltip,
7218
- p4 as BTreeList,
7226
+ f4 as BTreeList,
7219
7227
  me as BVerticalLayout,
7220
7228
  ge as BWindowFrame,
7221
7229
  c4 as ButtonType,
@@ -7229,20 +7237,20 @@ export {
7229
7237
  Ro as addSortingToQuery,
7230
7238
  k4 as applyOperator,
7231
7239
  u4 as buildTree,
7232
- f4 as buttonVariants,
7240
+ p4 as buttonVariants,
7233
7241
  C4 as checkboxTypes,
7234
7242
  P1 as clamp,
7235
- ps as dateDelta,
7243
+ fs as dateDelta,
7236
7244
  gs as dateFormat,
7237
7245
  V5 as dateIsAfter,
7238
7246
  k5 as dateIsBefore,
7239
- fs as dateIsBetween,
7240
- B1 as datesAreEqual,
7247
+ ps as dateIsBetween,
7248
+ S1 as datesAreEqual,
7241
7249
  x5 as dbDate,
7242
7250
  P5 as dbDateTime,
7243
7251
  qn as debounce,
7244
7252
  Is as egdes,
7245
- pt as filterEndingBracket,
7253
+ ft as filterEndingBracket,
7246
7254
  y1 as filterSeparator,
7247
7255
  ut as filterStartingBracket,
7248
7256
  q1 as filterValueSeparator,
@@ -7261,13 +7269,13 @@ export {
7261
7269
  de as hasValue,
7262
7270
  ws as hasValueAndNotEmpty,
7263
7271
  L4 as icons,
7264
- B4 as invertSortingDirection,
7272
+ S4 as invertSortingDirection,
7265
7273
  wo as lettersToOperator,
7266
7274
  K1 as loopRange,
7267
7275
  x1 as moveDate,
7268
7276
  a4 as openPath,
7269
7277
  V4 as operatorLetters,
7270
- ft as operatorToLetters,
7278
+ pt as operatorToLetters,
7271
7279
  H4 as operators,
7272
7280
  C1 as parseDate,
7273
7281
  Cs as printDate,
@@ -7276,8 +7284,8 @@ export {
7276
7284
  O5 as readableDateTime,
7277
7285
  I5 as readableDateTimeWithDay,
7278
7286
  E5 as readableDateWithDay,
7279
- Bo as removeFilterFromQuery,
7280
- So as removeFiltersFromQuery,
7287
+ So as removeFilterFromQuery,
7288
+ Bo as removeFiltersFromQuery,
7281
7289
  Ct as removeQueryObjectFromQuery,
7282
7290
  Mo as removeQueryObjectsFromQuery,
7283
7291
  zo as removeSortingFromQuery,
@@ -7302,6 +7310,6 @@ export {
7302
7310
  G5 as useMounted,
7303
7311
  T4 as useMountedAndRouterUpdate,
7304
7312
  ve as useNextFrame,
7305
- S4 as useSortingComponent,
7313
+ B4 as useSortingComponent,
7306
7314
  j1 as useTrapFocus
7307
7315
  };