@rotki/ui-library 1.1.1 → 1.1.2

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.
@@ -1,5 +1,5 @@
1
- import { defineComponent as ne, useCssModule as he, toRefs as be, computed as V, openBlock as _, createElementBlock as y, normalizeClass as g, unref as e, createElementVNode as O, useCssVars as yt, Fragment as Ae, createCommentVNode as B, toDisplayString as ue, useSlots as He, createBlock as U, resolveDynamicComponent as qt, mergeProps as se, withCtx as ee, renderSlot as F, createVNode as J, createTextVNode as Ie, useAttrs as tt, withModifiers as Ge, ref as N, onMounted as St, watchEffect as bn, TransitionGroup as Hs, watch as xe, withKeys as Ue, normalizeProps as Ce, guardReactiveProps as Re, Teleport as is, nextTick as st, mergeModels as _s, useModel as Ht, isRef as Rt, renderList as Ve, normalizeStyle as rt, isVNode as ys, withDirectives as bs, vModelCheckbox as Xn, vModelText as wn, Transition as It, createSlots as lt, useSSRContext as Yn, onServerPrefetch as Qn, vModelSelect as Jn, inject as Zn, resolveComponent as ea, onUnmounted as ta, reactive as Is, getCurrentInstance as $n } from "vue";
2
- import { get as i, objectPick as Es, objectOmit as kn, toValue as Ls, set as x, isClient as sa, throttleFilter as Qs, clamp as Wt } from "@vueuse/shared";
1
+ import { defineComponent as ne, useCssModule as he, toRefs as be, computed as V, openBlock as _, createElementBlock as y, normalizeClass as g, unref as e, createElementVNode as P, useCssVars as yt, Fragment as Ae, createCommentVNode as B, toDisplayString as ue, useSlots as He, createBlock as U, resolveDynamicComponent as qt, mergeProps as se, withCtx as ee, renderSlot as F, createVNode as J, createTextVNode as Ie, useAttrs as tt, withModifiers as Ge, ref as N, onMounted as St, watchEffect as bn, TransitionGroup as Hs, watch as xe, withKeys as Ue, normalizeProps as Ce, guardReactiveProps as Re, Teleport as is, nextTick as st, mergeModels as _s, useModel as Ht, isRef as Rt, renderList as Ve, normalizeStyle as rt, isVNode as ys, withDirectives as bs, vModelCheckbox as Xn, vModelText as wn, Transition as It, createSlots as lt, useSSRContext as Yn, onServerPrefetch as Qn, vModelSelect as Jn, inject as Zn, resolveComponent as ea, onUnmounted as ta, reactive as Is, getCurrentInstance as $n } from "vue";
2
+ import { get as i, objectPick as Es, objectOmit as kn, toValue as Ls, set as A, isClient as sa, throttleFilter as Qs, clamp as Wt } from "@vueuse/shared";
3
3
  import { unrefElement as Js, useResizeObserver as Et, useElementSize as ns, onClickOutside as xn, useVirtualList as na, useArrayMap as aa, watchOnce as oa, useFocusWithin as Zs, refDebounced as en, useFocus as ws, isDefined as as, watchDebounced as Mn, useElementBounding as hs, watchImmediate as Ct, createGlobalState as ra, useFetch as ia, useEventListener as Rs, useMutationObserver as la, useScroll as ca, watchTriggerable as tn, whenever as qs, useDebounceFn as sn, useClipboard as da } from "@vueuse/core";
4
4
  import { useRoute as ua, useRouter as pa } from "vue-router";
5
5
  import { u as fa, c as _a, s as ha } from "./index-NNlkUY_M.js";
@@ -25,7 +25,7 @@ const ma = ["height", "width"], va = ["d"], ga = /* @__PURE__ */ ne({
25
25
  viewBox: "0 0 24 24",
26
26
  xmlns: "http://www.w3.org/2000/svg"
27
27
  }, [
28
- O("path", {
28
+ P("path", {
29
29
  d: e(r),
30
30
  fill: "currentColor"
31
31
  }, null, 8, va)
@@ -64,7 +64,7 @@ const ma = ["height", "width"], va = ["d"], ga = /* @__PURE__ */ ne({
64
64
  size: { default: 32 }
65
65
  },
66
66
  setup(n) {
67
- yt((M) => ({
67
+ yt((x) => ({
68
68
  "79bc561b": e(l),
69
69
  "53397ccc": e(f),
70
70
  "2d07d5ae": e(h),
@@ -78,29 +78,29 @@ const ma = ["height", "width"], va = ["d"], ga = /* @__PURE__ */ ne({
78
78
  ), p = V(
79
79
  () => +i(f) * 32 / +i(l)
80
80
  ), w = V(() => 40 + i(p));
81
- return (M, b) => (_(), y("div", {
81
+ return (x, b) => (_(), y("div", {
82
82
  class: g([
83
83
  e(t).wrapper,
84
- M.circular ? "inline-flex" : "w-full",
85
- { [e(t)["has-label"]]: M.showLabel && e(a) !== "indeterminate" }
84
+ x.circular ? "inline-flex" : "w-full",
85
+ { [e(t)["has-label"]]: x.showLabel && e(a) !== "indeterminate" }
86
86
  ])
87
87
  }, [
88
- O("div", {
88
+ P("div", {
89
89
  "aria-valuenow": e(o),
90
90
  class: g([
91
- M.circular && e(a) !== "buffer" ? e(t).circular : e(t).progress,
91
+ x.circular && e(a) !== "buffer" ? e(t).circular : e(t).progress,
92
92
  e(t)[e(a) ?? ""],
93
- e(t)[M.color ?? ""]
93
+ e(t)[x.color ?? ""]
94
94
  ]),
95
95
  "aria-valuemax": "100",
96
96
  "aria-valuemin": "0",
97
97
  role: "progressbar"
98
98
  }, [
99
- M.circular && e(a) !== "buffer" ? (_(), y("svg", {
99
+ x.circular && e(a) !== "buffer" ? (_(), y("svg", {
100
100
  key: 0,
101
101
  viewBox: `0 0 ${e(w)} ${e(w)}`
102
102
  }, [
103
- O("circle", {
103
+ P("circle", {
104
104
  cx: "50%",
105
105
  cy: "50%",
106
106
  fill: "none",
@@ -112,15 +112,15 @@ const ma = ["height", "width"], va = ["d"], ga = /* @__PURE__ */ ne({
112
112
  key: 0,
113
113
  class: g(e(t)["buffer-dots"])
114
114
  }, null, 2)) : B("", !0),
115
- O("div", {
115
+ P("div", {
116
116
  class: g([e(t).rail, { [e(t)["buffer-rail"]]: e(a) === "buffer" }])
117
117
  }, null, 2),
118
- O("div", {
118
+ P("div", {
119
119
  class: g(e(t)[e(a) ?? ""])
120
120
  }, null, 2)
121
121
  ], 64))
122
122
  ], 10, Ra),
123
- M.showLabel && e(a) !== "indeterminate" ? (_(), y("div", {
123
+ x.showLabel && e(a) !== "indeterminate" ? (_(), y("div", {
124
124
  key: 0,
125
125
  class: g(e(t).label)
126
126
  }, ue(e(c)), 3)) : B("", !0)
@@ -271,7 +271,7 @@ const ma = ["height", "width"], va = ["d"], ga = /* @__PURE__ */ ne({
271
271
  return (c, d) => (_(), y("div", se({
272
272
  class: [e(l).alert, e(l)[e(r)], e(l)[c.variant]]
273
273
  }, c.$attrs), [
274
- O("div", mo, [
274
+ P("div", mo, [
275
275
  e(f) ? (_(), y("div", {
276
276
  key: 0,
277
277
  class: g(e(l).icon)
@@ -281,7 +281,7 @@ const ma = ["height", "width"], va = ["d"], ga = /* @__PURE__ */ ne({
281
281
  size: "22"
282
282
  }, null, 8, ["name"])
283
283
  ], 2)) : B("", !0),
284
- O("div", {
284
+ P("div", {
285
285
  class: g(["space-y-1 flex-grow", e(l).texts])
286
286
  }, [
287
287
  e(u).title || c.title ? (_(), y("div", {
@@ -418,8 +418,8 @@ const Ho = ["disabled"], Io = /* @__PURE__ */ ne({
418
418
  i(jt(os(o), r)) || a("click", p);
419
419
  }
420
420
  const c = he(), d = He(), h = tt(), m = V(() => {
421
- const p = {}, w = i(f), M = i(l);
422
- return w && (p.backgroundColor = w), M && (p.color = M), p;
421
+ const p = {}, w = i(f), x = i(l);
422
+ return w && (p.backgroundColor = w), x && (p.color = x), p;
423
423
  });
424
424
  return (p, w) => (_(), y("div", se({
425
425
  class: [
@@ -437,7 +437,7 @@ const Ho = ["disabled"], Io = /* @__PURE__ */ ne({
437
437
  role: "button",
438
438
  tabindex: "0"
439
439
  }, e(kn)(e(h), ["onClick"]), {
440
- onClick: w[1] || (w[1] = (M) => u(M))
440
+ onClick: w[1] || (w[1] = (x) => u(x))
441
441
  }), [
442
442
  e(d).prepend ? (_(), y("div", {
443
443
  key: 0,
@@ -445,7 +445,7 @@ const Ho = ["disabled"], Io = /* @__PURE__ */ ne({
445
445
  }, [
446
446
  F(p.$slots, "prepend")
447
447
  ], 2)) : B("", !0),
448
- O("span", {
448
+ P("span", {
449
449
  class: g(e(c).chip__label)
450
450
  }, [
451
451
  F(p.$slots, "default")
@@ -455,7 +455,7 @@ const Ho = ["disabled"], Io = /* @__PURE__ */ ne({
455
455
  class: g(e(c).chip__close),
456
456
  disabled: e(r),
457
457
  type: "button",
458
- onClick: w[0] || (w[0] = Ge((M) => a("click:close"), ["stop"]))
458
+ onClick: w[0] || (w[0] = Ge((x) => a("click:close"), ["stop"]))
459
459
  }, [
460
460
  J(ce, {
461
461
  class: g(e(c).chip__close_icon),
@@ -858,19 +858,19 @@ function Pn(n, s) {
858
858
  }
859
859
  function Ys(n, s) {
860
860
  s === void 0 && (s = {});
861
- var t = s, a = t.placement, o = a === void 0 ? n.placement : a, r = t.strategy, f = r === void 0 ? n.strategy : r, l = t.boundary, u = l === void 0 ? wr : l, c = t.rootBoundary, d = c === void 0 ? Sn : c, h = t.elementContext, m = h === void 0 ? Jt : h, p = t.altBoundary, w = p === void 0 ? !1 : p, M = t.padding, b = M === void 0 ? 0 : M, $ = On(typeof b != "number" ? b : Pn(b, cs)), A = m === Jt ? $r : Jt, j = n.rects.popper, P = n.elements[w ? A : m], D = Lr(Lt(P) ? P : P.contextElement || zt(n.elements.popper), u, d, f), S = Gt(n.elements.reference), C = Vn({
862
- reference: S,
863
- element: j,
861
+ var t = s, a = t.placement, o = a === void 0 ? n.placement : a, r = t.strategy, f = r === void 0 ? n.strategy : r, l = t.boundary, u = l === void 0 ? wr : l, c = t.rootBoundary, d = c === void 0 ? Sn : c, h = t.elementContext, m = h === void 0 ? Jt : h, p = t.altBoundary, w = p === void 0 ? !1 : p, x = t.padding, b = x === void 0 ? 0 : x, $ = On(typeof b != "number" ? b : Pn(b, cs)), M = m === Jt ? $r : Jt, T = n.rects.popper, H = n.elements[w ? M : m], j = Lr(Lt(H) ? H : H.contextElement || zt(n.elements.popper), u, d, f), R = Gt(n.elements.reference), S = Vn({
862
+ reference: R,
863
+ element: T,
864
864
  strategy: "absolute",
865
865
  placement: o
866
- }), E = Ts(Object.assign({}, j, C)), H = m === Jt ? E : S, W = {
867
- top: D.top - H.top + $.top,
868
- bottom: H.bottom - D.bottom + $.bottom,
869
- left: D.left - H.left + $.left,
870
- right: H.right - D.right + $.right
871
- }, R = n.modifiersData.offset;
872
- if (m === Jt && R) {
873
- var Q = R[o];
866
+ }), D = Ts(Object.assign({}, T, S)), I = m === Jt ? D : R, W = {
867
+ top: j.top - I.top + $.top,
868
+ bottom: I.bottom - j.bottom + $.bottom,
869
+ left: j.left - I.left + $.left,
870
+ right: I.right - j.right + $.right
871
+ }, C = n.modifiersData.offset;
872
+ if (m === Jt && C) {
873
+ var Q = C[o];
874
874
  Object.keys(W).forEach(function(L) {
875
875
  var G = [dt, ct].indexOf(L) >= 0 ? 1 : -1, ae = [Je, ct].indexOf(L) >= 0 ? "y" : "x";
876
876
  W[L] += Q[ae] * G;
@@ -909,14 +909,14 @@ function qr(n) {
909
909
  }, h = [], m = !1, p = {
910
910
  state: d,
911
911
  setOptions: function($) {
912
- var A = typeof $ == "function" ? $(d.options) : $;
913
- M(), d.options = Object.assign({}, r, d.options, A), d.scrollParents = {
912
+ var M = typeof $ == "function" ? $(d.options) : $;
913
+ x(), d.options = Object.assign({}, r, d.options, M), d.scrollParents = {
914
914
  reference: Lt(l) ? ts(l) : l.contextElement ? ts(l.contextElement) : [],
915
915
  popper: ts(u)
916
916
  };
917
- var j = Or(jr([].concat(a, d.options.modifiers)));
918
- return d.orderedModifiers = j.filter(function(P) {
919
- return P.enabled;
917
+ var T = Or(jr([].concat(a, d.options.modifiers)));
918
+ return d.orderedModifiers = T.filter(function(H) {
919
+ return H.enabled;
920
920
  }), w(), p.update();
921
921
  },
922
922
  // Sync update – it will always be executed, even if not necessary. This
@@ -926,24 +926,24 @@ function qr(n) {
926
926
  // prefer the async Popper#update method
927
927
  forceUpdate: function() {
928
928
  if (!m) {
929
- var $ = d.elements, A = $.reference, j = $.popper;
930
- if (ln(A, j)) {
929
+ var $ = d.elements, M = $.reference, T = $.popper;
930
+ if (ln(M, T)) {
931
931
  d.rects = {
932
- reference: gr(A, ls(j), d.options.strategy === "fixed"),
933
- popper: Gs(j)
932
+ reference: gr(M, ls(T), d.options.strategy === "fixed"),
933
+ popper: Gs(T)
934
934
  }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(W) {
935
935
  return d.modifiersData[W.name] = Object.assign({}, W.data);
936
936
  });
937
- for (var P = 0; P < d.orderedModifiers.length; P++) {
937
+ for (var H = 0; H < d.orderedModifiers.length; H++) {
938
938
  if (d.reset === !0) {
939
- d.reset = !1, P = -1;
939
+ d.reset = !1, H = -1;
940
940
  continue;
941
941
  }
942
- var D = d.orderedModifiers[P], S = D.fn, C = D.options, E = C === void 0 ? {} : C, H = D.name;
943
- typeof S == "function" && (d = S({
942
+ var j = d.orderedModifiers[H], R = j.fn, S = j.options, D = S === void 0 ? {} : S, I = j.name;
943
+ typeof R == "function" && (d = R({
944
944
  state: d,
945
- options: E,
946
- name: H,
945
+ options: D,
946
+ name: I,
947
947
  instance: p
948
948
  }) || d);
949
949
  }
@@ -958,7 +958,7 @@ function qr(n) {
958
958
  });
959
959
  }),
960
960
  destroy: function() {
961
- M(), m = !0;
961
+ x(), m = !0;
962
962
  }
963
963
  };
964
964
  if (!ln(l, u))
@@ -968,20 +968,20 @@ function qr(n) {
968
968
  });
969
969
  function w() {
970
970
  d.orderedModifiers.forEach(function(b) {
971
- var $ = b.name, A = b.options, j = A === void 0 ? {} : A, P = b.effect;
972
- if (typeof P == "function") {
973
- var D = P({
971
+ var $ = b.name, M = b.options, T = M === void 0 ? {} : M, H = b.effect;
972
+ if (typeof H == "function") {
973
+ var j = H({
974
974
  state: d,
975
975
  name: $,
976
976
  instance: p,
977
- options: j
978
- }), S = function() {
977
+ options: T
978
+ }), R = function() {
979
979
  };
980
- h.push(D || S);
980
+ h.push(j || R);
981
981
  }
982
982
  });
983
983
  }
984
- function M() {
984
+ function x() {
985
985
  h.forEach(function(b) {
986
986
  return b();
987
987
  }), h = [];
@@ -1041,48 +1041,48 @@ function Gr(n, s) {
1041
1041
  };
1042
1042
  }
1043
1043
  function cn(n) {
1044
- var s, t = n.popper, a = n.popperRect, o = n.placement, r = n.variation, f = n.offsets, l = n.position, u = n.gpuAcceleration, c = n.adaptive, d = n.roundOffsets, h = n.isFixed, m = f.x, p = m === void 0 ? 0 : m, w = f.y, M = w === void 0 ? 0 : w, b = typeof d == "function" ? d({
1044
+ var s, t = n.popper, a = n.popperRect, o = n.placement, r = n.variation, f = n.offsets, l = n.position, u = n.gpuAcceleration, c = n.adaptive, d = n.roundOffsets, h = n.isFixed, m = f.x, p = m === void 0 ? 0 : m, w = f.y, x = w === void 0 ? 0 : w, b = typeof d == "function" ? d({
1045
1045
  x: p,
1046
- y: M
1046
+ y: x
1047
1047
  }) : {
1048
1048
  x: p,
1049
- y: M
1049
+ y: x
1050
1050
  };
1051
- p = b.x, M = b.y;
1052
- var $ = f.hasOwnProperty("x"), A = f.hasOwnProperty("y"), j = Ze, P = Je, D = window;
1051
+ p = b.x, x = b.y;
1052
+ var $ = f.hasOwnProperty("x"), M = f.hasOwnProperty("y"), T = Ze, H = Je, j = window;
1053
1053
  if (c) {
1054
- var S = ls(t), C = "clientHeight", E = "clientWidth";
1055
- if (S === et(t) && (S = zt(t), gt(S).position !== "static" && l === "absolute" && (C = "scrollHeight", E = "scrollWidth")), S = S, o === Je || (o === Ze || o === dt) && r === rs) {
1056
- P = ct;
1057
- var H = h && S === D && D.visualViewport ? D.visualViewport.height : (
1054
+ var R = ls(t), S = "clientHeight", D = "clientWidth";
1055
+ if (R === et(t) && (R = zt(t), gt(R).position !== "static" && l === "absolute" && (S = "scrollHeight", D = "scrollWidth")), R = R, o === Je || (o === Ze || o === dt) && r === rs) {
1056
+ H = ct;
1057
+ var I = h && R === j && j.visualViewport ? j.visualViewport.height : (
1058
1058
  // $FlowFixMe[prop-missing]
1059
- S[C]
1059
+ R[S]
1060
1060
  );
1061
- M -= H - a.height, M *= u ? 1 : -1;
1061
+ x -= I - a.height, x *= u ? 1 : -1;
1062
1062
  }
1063
1063
  if (o === Ze || (o === Je || o === ct) && r === rs) {
1064
- j = dt;
1065
- var W = h && S === D && D.visualViewport ? D.visualViewport.width : (
1064
+ T = dt;
1065
+ var W = h && R === j && j.visualViewport ? j.visualViewport.width : (
1066
1066
  // $FlowFixMe[prop-missing]
1067
- S[E]
1067
+ R[D]
1068
1068
  );
1069
1069
  p -= W - a.width, p *= u ? 1 : -1;
1070
1070
  }
1071
1071
  }
1072
- var R = Object.assign({
1072
+ var C = Object.assign({
1073
1073
  position: l
1074
1074
  }, c && Ur), Q = d === !0 ? Gr({
1075
1075
  x: p,
1076
- y: M
1076
+ y: x
1077
1077
  }, et(t)) : {
1078
1078
  x: p,
1079
- y: M
1079
+ y: x
1080
1080
  };
1081
- if (p = Q.x, M = Q.y, u) {
1081
+ if (p = Q.x, x = Q.y, u) {
1082
1082
  var L;
1083
- return Object.assign({}, R, (L = {}, L[P] = A ? "0" : "", L[j] = $ ? "0" : "", L.transform = (D.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + M + "px)" : "translate3d(" + p + "px, " + M + "px, 0)", L));
1083
+ return Object.assign({}, C, (L = {}, L[H] = M ? "0" : "", L[T] = $ ? "0" : "", L.transform = (j.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + x + "px)" : "translate3d(" + p + "px, " + x + "px, 0)", L));
1084
1084
  }
1085
- return Object.assign({}, R, (s = {}, s[P] = A ? M + "px" : "", s[j] = $ ? p + "px" : "", s.transform = "", s));
1085
+ return Object.assign({}, C, (s = {}, s[H] = M ? x + "px" : "", s[T] = $ ? p + "px" : "", s.transform = "", s));
1086
1086
  }
1087
1087
  function Kr(n) {
1088
1088
  var s = n.state, t = n.options, a = t.gpuAcceleration, o = a === void 0 ? !0 : a, r = t.adaptive, f = r === void 0 ? !0 : r, l = t.roundOffsets, u = l === void 0 ? !0 : l, c = {
@@ -1172,8 +1172,8 @@ var ei = function(s, t) {
1172
1172
  function ti(n) {
1173
1173
  var s, t = n.state, a = n.name, o = n.options, r = t.elements.arrow, f = t.modifiersData.popperOffsets, l = pt(t.placement), u = Xs(l), c = [Ze, dt].indexOf(l) >= 0, d = c ? "height" : "width";
1174
1174
  if (!(!r || !f)) {
1175
- var h = ei(o.padding, t), m = Gs(r), p = u === "y" ? Je : Ze, w = u === "y" ? ct : dt, M = t.rects.reference[d] + t.rects.reference[u] - f[u] - t.rects.popper[d], b = f[u] - t.rects.reference[u], $ = ls(r), A = $ ? u === "y" ? $.clientHeight || 0 : $.clientWidth || 0 : 0, j = M / 2 - b / 2, P = h[p], D = A - m[d] - h[w], S = A / 2 - m[d] / 2 + j, C = ss(P, S, D), E = u;
1176
- t.modifiersData[a] = (s = {}, s[E] = C, s.centerOffset = C - S, s);
1175
+ var h = ei(o.padding, t), m = Gs(r), p = u === "y" ? Je : Ze, w = u === "y" ? ct : dt, x = t.rects.reference[d] + t.rects.reference[u] - f[u] - t.rects.popper[d], b = f[u] - t.rects.reference[u], $ = ls(r), M = $ ? u === "y" ? $.clientHeight || 0 : $.clientWidth || 0 : 0, T = x / 2 - b / 2, H = h[p], j = M - m[d] - h[w], R = M / 2 - m[d] / 2 + T, S = ss(H, R, j), D = u;
1176
+ t.modifiersData[a] = (s = {}, s[D] = S, s.centerOffset = S - R, s);
1177
1177
  }
1178
1178
  }
1179
1179
  function si(n) {
@@ -1217,16 +1217,16 @@ function ri(n, s) {
1217
1217
  return c.indexOf(w) >= 0;
1218
1218
  });
1219
1219
  m.length === 0 && (m = h);
1220
- var p = m.reduce(function(w, M) {
1221
- return w[M] = Ys(n, {
1222
- placement: M,
1220
+ var p = m.reduce(function(w, x) {
1221
+ return w[x] = Ys(n, {
1222
+ placement: x,
1223
1223
  boundary: o,
1224
1224
  rootBoundary: r,
1225
1225
  padding: f
1226
- })[pt(M)], w;
1226
+ })[pt(x)], w;
1227
1227
  }, {});
1228
- return Object.keys(p).sort(function(w, M) {
1229
- return p[w] - p[M];
1228
+ return Object.keys(p).sort(function(w, x) {
1229
+ return p[w] - p[x];
1230
1230
  });
1231
1231
  }
1232
1232
  function ii(n) {
@@ -1238,49 +1238,49 @@ function ii(n) {
1238
1238
  function li(n) {
1239
1239
  var s = n.state, t = n.options, a = n.name;
1240
1240
  if (!s.modifiersData[a]._skip) {
1241
- for (var o = t.mainAxis, r = o === void 0 ? !0 : o, f = t.altAxis, l = f === void 0 ? !0 : f, u = t.fallbackPlacements, c = t.padding, d = t.boundary, h = t.rootBoundary, m = t.altBoundary, p = t.flipVariations, w = p === void 0 ? !0 : p, M = t.allowedAutoPlacements, b = s.options.placement, $ = pt(b), A = $ === b, j = u || (A || !w ? [fs(b)] : ii(b)), P = [b].concat(j).reduce(function(ge, Se) {
1241
+ for (var o = t.mainAxis, r = o === void 0 ? !0 : o, f = t.altAxis, l = f === void 0 ? !0 : f, u = t.fallbackPlacements, c = t.padding, d = t.boundary, h = t.rootBoundary, m = t.altBoundary, p = t.flipVariations, w = p === void 0 ? !0 : p, x = t.allowedAutoPlacements, b = s.options.placement, $ = pt(b), M = $ === b, T = u || (M || !w ? [fs(b)] : ii(b)), H = [b].concat(T).reduce(function(ge, Se) {
1242
1242
  return ge.concat(pt(Se) === Ks ? ri(s, {
1243
1243
  placement: Se,
1244
1244
  boundary: d,
1245
1245
  rootBoundary: h,
1246
1246
  padding: c,
1247
1247
  flipVariations: w,
1248
- allowedAutoPlacements: M
1248
+ allowedAutoPlacements: x
1249
1249
  }) : Se);
1250
- }, []), D = s.rects.reference, S = s.rects.popper, C = /* @__PURE__ */ new Map(), E = !0, H = P[0], W = 0; W < P.length; W++) {
1251
- var R = P[W], Q = pt(R), L = Xt(R) === Kt, G = [Je, ct].indexOf(Q) >= 0, ae = G ? "width" : "height", de = Ys(s, {
1252
- placement: R,
1250
+ }, []), j = s.rects.reference, R = s.rects.popper, S = /* @__PURE__ */ new Map(), D = !0, I = H[0], W = 0; W < H.length; W++) {
1251
+ var C = H[W], Q = pt(C), L = Xt(C) === Kt, G = [Je, ct].indexOf(Q) >= 0, ae = G ? "width" : "height", de = Ys(s, {
1252
+ placement: C,
1253
1253
  boundary: d,
1254
1254
  rootBoundary: h,
1255
1255
  altBoundary: m,
1256
1256
  padding: c
1257
- }), T = G ? L ? dt : Ze : L ? ct : Je;
1258
- D[ae] > S[ae] && (T = fs(T));
1259
- var Z = fs(T), ke = [];
1260
- if (r && ke.push(de[Q] <= 0), l && ke.push(de[T] <= 0, de[Z] <= 0), ke.every(function(ge) {
1257
+ }), O = G ? L ? dt : Ze : L ? ct : Je;
1258
+ j[ae] > R[ae] && (O = fs(O));
1259
+ var Z = fs(O), ke = [];
1260
+ if (r && ke.push(de[Q] <= 0), l && ke.push(de[O] <= 0, de[Z] <= 0), ke.every(function(ge) {
1261
1261
  return ge;
1262
1262
  })) {
1263
- H = R, E = !1;
1263
+ I = C, D = !1;
1264
1264
  break;
1265
1265
  }
1266
- C.set(R, ke);
1266
+ S.set(C, ke);
1267
1267
  }
1268
- if (E)
1268
+ if (D)
1269
1269
  for (var K = w ? 3 : 1, we = function(Se) {
1270
- var Ee = P.find(function(re) {
1271
- var te = C.get(re);
1270
+ var Ee = H.find(function(re) {
1271
+ var te = S.get(re);
1272
1272
  if (te)
1273
1273
  return te.slice(0, Se).every(function($e) {
1274
1274
  return $e;
1275
1275
  });
1276
1276
  });
1277
1277
  if (Ee)
1278
- return H = Ee, "break";
1278
+ return I = Ee, "break";
1279
1279
  }, pe = K; pe > 0; pe--) {
1280
1280
  var oe = we(pe);
1281
1281
  if (oe === "break") break;
1282
1282
  }
1283
- s.placement !== H && (s.modifiersData[a]._skip = !0, s.placement = H, s.reset = !0);
1283
+ s.placement !== I && (s.modifiersData[a]._skip = !0, s.placement = I, s.reset = !0);
1284
1284
  }
1285
1285
  }
1286
1286
  const ci = {
@@ -1322,34 +1322,34 @@ function fi(n) {
1322
1322
  return n === "x" ? "y" : "x";
1323
1323
  }
1324
1324
  function _i(n) {
1325
- var s = n.state, t = n.options, a = n.name, o = t.mainAxis, r = o === void 0 ? !0 : o, f = t.altAxis, l = f === void 0 ? !1 : f, u = t.boundary, c = t.rootBoundary, d = t.altBoundary, h = t.padding, m = t.tether, p = m === void 0 ? !0 : m, w = t.tetherOffset, M = w === void 0 ? 0 : w, b = Ys(s, {
1325
+ var s = n.state, t = n.options, a = n.name, o = t.mainAxis, r = o === void 0 ? !0 : o, f = t.altAxis, l = f === void 0 ? !1 : f, u = t.boundary, c = t.rootBoundary, d = t.altBoundary, h = t.padding, m = t.tether, p = m === void 0 ? !0 : m, w = t.tetherOffset, x = w === void 0 ? 0 : w, b = Ys(s, {
1326
1326
  boundary: u,
1327
1327
  rootBoundary: c,
1328
1328
  padding: h,
1329
1329
  altBoundary: d
1330
- }), $ = pt(s.placement), A = Xt(s.placement), j = !A, P = Xs($), D = fi(P), S = s.modifiersData.popperOffsets, C = s.rects.reference, E = s.rects.popper, H = typeof M == "function" ? M(Object.assign({}, s.rects, {
1330
+ }), $ = pt(s.placement), M = Xt(s.placement), T = !M, H = Xs($), j = fi(H), R = s.modifiersData.popperOffsets, S = s.rects.reference, D = s.rects.popper, I = typeof x == "function" ? x(Object.assign({}, s.rects, {
1331
1331
  placement: s.placement
1332
- })) : M, W = typeof H == "number" ? {
1333
- mainAxis: H,
1334
- altAxis: H
1332
+ })) : x, W = typeof I == "number" ? {
1333
+ mainAxis: I,
1334
+ altAxis: I
1335
1335
  } : Object.assign({
1336
1336
  mainAxis: 0,
1337
1337
  altAxis: 0
1338
- }, H), R = s.modifiersData.offset ? s.modifiersData.offset[s.placement] : null, Q = {
1338
+ }, I), C = s.modifiersData.offset ? s.modifiersData.offset[s.placement] : null, Q = {
1339
1339
  x: 0,
1340
1340
  y: 0
1341
1341
  };
1342
- if (S) {
1342
+ if (R) {
1343
1343
  if (r) {
1344
- var L, G = P === "y" ? Je : Ze, ae = P === "y" ? ct : dt, de = P === "y" ? "height" : "width", T = S[P], Z = T + b[G], ke = T - b[ae], K = p ? -E[de] / 2 : 0, we = A === Kt ? C[de] : E[de], pe = A === Kt ? -E[de] : -C[de], oe = s.elements.arrow, ge = p && oe ? Gs(oe) : {
1344
+ var L, G = H === "y" ? Je : Ze, ae = H === "y" ? ct : dt, de = H === "y" ? "height" : "width", O = R[H], Z = O + b[G], ke = O - b[ae], K = p ? -D[de] / 2 : 0, we = M === Kt ? S[de] : D[de], pe = M === Kt ? -D[de] : -S[de], oe = s.elements.arrow, ge = p && oe ? Gs(oe) : {
1345
1345
  width: 0,
1346
1346
  height: 0
1347
- }, Se = s.modifiersData["arrow#persistent"] ? s.modifiersData["arrow#persistent"].padding : Tn(), Ee = Se[G], re = Se[ae], te = ss(0, C[de], ge[de]), $e = j ? C[de] / 2 - K - te - Ee - W.mainAxis : we - te - Ee - W.mainAxis, De = j ? -C[de] / 2 + K + te + re + W.mainAxis : pe + te + re + W.mainAxis, ye = s.elements.arrow && ls(s.elements.arrow), Be = ye ? P === "y" ? ye.clientTop || 0 : ye.clientLeft || 0 : 0, qe = (L = R == null ? void 0 : R[P]) != null ? L : 0, Pe = T + $e - qe - Be, wt = T + De - qe, Fe = ss(p ? vs(Z, Pe) : Z, T, p ? Dt(ke, wt) : ke);
1348
- S[P] = Fe, Q[P] = Fe - T;
1347
+ }, Se = s.modifiersData["arrow#persistent"] ? s.modifiersData["arrow#persistent"].padding : Tn(), Ee = Se[G], re = Se[ae], te = ss(0, S[de], ge[de]), $e = T ? S[de] / 2 - K - te - Ee - W.mainAxis : we - te - Ee - W.mainAxis, De = T ? -S[de] / 2 + K + te + re + W.mainAxis : pe + te + re + W.mainAxis, ye = s.elements.arrow && ls(s.elements.arrow), Be = ye ? H === "y" ? ye.clientTop || 0 : ye.clientLeft || 0 : 0, qe = (L = C == null ? void 0 : C[H]) != null ? L : 0, Pe = O + $e - qe - Be, wt = O + De - qe, Fe = ss(p ? vs(Z, Pe) : Z, O, p ? Dt(ke, wt) : ke);
1348
+ R[H] = Fe, Q[H] = Fe - O;
1349
1349
  }
1350
1350
  if (l) {
1351
- var Ke, Oe = P === "x" ? Je : Ze, $t = P === "x" ? ct : dt, Xe = S[D], kt = D === "y" ? "height" : "width", xt = Xe + b[Oe], Ot = Xe - b[$t], Mt = [Je, Ze].indexOf($) !== -1, At = (Ke = R == null ? void 0 : R[D]) != null ? Ke : 0, _t = Mt ? xt : Xe - C[kt] - E[kt] - At + W.altAxis, ht = Mt ? Xe + C[kt] + E[kt] - At - W.altAxis : Ot, mt = p && Mt ? Zr(_t, Xe, ht) : ss(p ? _t : xt, Xe, p ? ht : Ot);
1352
- S[D] = mt, Q[D] = mt - Xe;
1351
+ var Ke, Oe = H === "x" ? Je : Ze, $t = H === "x" ? ct : dt, Xe = R[j], kt = j === "y" ? "height" : "width", xt = Xe + b[Oe], Ot = Xe - b[$t], Mt = [Je, Ze].indexOf($) !== -1, At = (Ke = C == null ? void 0 : C[j]) != null ? Ke : 0, _t = Mt ? xt : Xe - S[kt] - D[kt] - At + W.altAxis, ht = Mt ? Xe + S[kt] + D[kt] - At - W.altAxis : Ot, mt = p && Mt ? Zr(_t, Xe, ht) : ss(p ? _t : xt, Xe, p ? ht : Ot);
1352
+ R[j] = mt, Q[j] = mt - Xe;
1353
1353
  }
1354
1354
  s.modifiersData[a] = Q;
1355
1355
  }
@@ -1384,50 +1384,50 @@ const hi = {
1384
1384
  });
1385
1385
  function Hn(n, s = N(!1), t = N(0), a = N(0), o) {
1386
1386
  const r = N(null), f = N(null), l = N(null), u = N(!1), c = N(), d = N(), h = N(!1), m = N(!1), p = () => {
1387
- x(h, !1);
1387
+ A(h, !1);
1388
1388
  }, w = () => {
1389
- var A;
1390
- (A = i(l)) == null || A.update();
1391
- }, M = (A = !1) => {
1392
- if (!i(s) && (i(d) && (clearTimeout(i(d)), x(d, void 0)), x(m, !1), !i(c))) {
1393
- x(h, !0);
1394
- const j = setTimeout(() => {
1395
- x(u, !0), x(c, void 0);
1396
- }, A ? 0 : i(t));
1397
- x(c, j);
1389
+ var M;
1390
+ (M = i(l)) == null || M.update();
1391
+ }, x = (M = !1) => {
1392
+ if (!i(s) && (i(d) && (clearTimeout(i(d)), A(d, void 0)), A(m, !1), !i(c))) {
1393
+ A(h, !0);
1394
+ const T = setTimeout(() => {
1395
+ A(u, !0), A(c, void 0);
1396
+ }, M ? 0 : i(t));
1397
+ A(c, T);
1398
1398
  }
1399
- }, b = (A = !1) => {
1400
- if (!i(s) && (i(c) && (clearTimeout(i(c)), x(c, void 0)), !i(d))) {
1401
- const j = setTimeout(() => {
1402
- i(u) || p(), x(u, !1), x(d, void 0);
1403
- }, A ? 0 : i(a));
1404
- x(d, j);
1399
+ }, b = (M = !1) => {
1400
+ if (!i(s) && (i(c) && (clearTimeout(i(c)), A(c, void 0)), !i(d))) {
1401
+ const T = setTimeout(() => {
1402
+ i(u) || p(), A(u, !1), A(d, void 0);
1403
+ }, M ? 0 : i(a));
1404
+ A(d, T);
1405
1405
  }
1406
1406
  }, $ = () => {
1407
- x(m, !0);
1407
+ A(m, !0);
1408
1408
  };
1409
1409
  return St(() => {
1410
- bn((A) => {
1410
+ bn((M) => {
1411
1411
  if (!i(f) || !i(r) && !i(o))
1412
1412
  return;
1413
- const j = Js(f), P = i(o) || Js(r);
1414
- if (!(j instanceof HTMLElement) || !P)
1413
+ const T = Js(f), H = i(o) || Js(r);
1414
+ if (!(T instanceof HTMLElement) || !H)
1415
1415
  return;
1416
1416
  const {
1417
- adaptive: D = ut.adaptive,
1418
- gpuAcceleration: S = ut.gpuAcceleration,
1419
- locked: C = ut.locked,
1420
- offsetDistance: E = ut.offsetDistance,
1421
- offsetSkid: H = ut.offsetSkid,
1417
+ adaptive: j = ut.adaptive,
1418
+ gpuAcceleration: R = ut.gpuAcceleration,
1419
+ locked: S = ut.locked,
1420
+ offsetDistance: D = ut.offsetDistance,
1421
+ offsetSkid: I = ut.offsetSkid,
1422
1422
  overflowPadding: W = ut.overflowPadding,
1423
- placement: R = ut.placement,
1423
+ placement: C = ut.placement,
1424
1424
  resize: Q = ut.resize,
1425
1425
  scroll: L = ut.scroll,
1426
1426
  strategy: G = ut.strategy
1427
- } = i(n), ae = mi(P, j, {
1427
+ } = i(n), ae = mi(H, T, {
1428
1428
  modifiers: [
1429
1429
  {
1430
- enabled: !C,
1430
+ enabled: !S,
1431
1431
  name: "flip"
1432
1432
  },
1433
1433
  {
@@ -1439,14 +1439,14 @@ function Hn(n, s = N(!1), t = N(0), a = N(0), o) {
1439
1439
  {
1440
1440
  name: "offset",
1441
1441
  options: {
1442
- offset: [H, E]
1442
+ offset: [I, D]
1443
1443
  }
1444
1444
  },
1445
1445
  {
1446
1446
  name: "computeStyles",
1447
1447
  options: {
1448
- adaptive: D,
1449
- gpuAcceleration: S
1448
+ adaptive: j,
1449
+ gpuAcceleration: R
1450
1450
  }
1451
1451
  },
1452
1452
  {
@@ -1463,20 +1463,20 @@ function Hn(n, s = N(!1), t = N(0), a = N(0), o) {
1463
1463
  }
1464
1464
  }
1465
1465
  ],
1466
- placement: R,
1466
+ placement: C,
1467
1467
  strategy: G
1468
1468
  });
1469
- x(l, ae), A(ae.destroy);
1469
+ A(l, ae), M(ae.destroy);
1470
1470
  });
1471
1471
  }), Et([r, f], async () => {
1472
- const A = i(l);
1473
- i(u) && A && await A.update();
1472
+ const M = i(l);
1473
+ i(u) && M && await M.update();
1474
1474
  }), {
1475
1475
  instance: l,
1476
1476
  leavePending: m,
1477
1477
  onClose: b,
1478
1478
  onLeavePending: $,
1479
- onOpen: M,
1479
+ onOpen: x,
1480
1480
  onPopperLeave: p,
1481
1481
  open: u,
1482
1482
  popper: f,
@@ -1576,42 +1576,42 @@ const vi = {
1576
1576
  openOnHover: m,
1577
1577
  errorMessages: p,
1578
1578
  successMessages: w,
1579
- persistent: M
1579
+ persistent: x
1580
1580
  } = be(t), {
1581
1581
  reference: b,
1582
1582
  popper: $,
1583
- open: A,
1584
- popperEnter: j,
1585
- leavePending: P,
1586
- onLeavePending: D,
1587
- onOpen: S,
1588
- onClose: C,
1589
- onPopperLeave: E,
1590
- updatePopper: H
1591
- } = Hn(u, c, l, f), { width: W } = ns(b), R = N(!1);
1592
- function Q(T) {
1593
- i(A) && (C(), x(R, !1), T == null || T.stopPropagation());
1583
+ open: M,
1584
+ popperEnter: T,
1585
+ leavePending: H,
1586
+ onLeavePending: j,
1587
+ onOpen: R,
1588
+ onClose: S,
1589
+ onPopperLeave: D,
1590
+ updatePopper: I
1591
+ } = Hn(u, c, l, f), { width: W } = ns(b), C = N(!1);
1592
+ function Q(O) {
1593
+ i(M) && (S(), A(C, !1), O == null || O.stopPropagation());
1594
1594
  }
1595
1595
  function L() {
1596
- i(A) && i(R) ? i(d) || Q() : (S(), x(R, !0));
1596
+ i(M) && i(C) ? i(d) || Q() : (R(), A(C, !0));
1597
1597
  }
1598
- xe(r, (T) => {
1599
- T ? (S(), x(R, !0)) : Q();
1600
- }), xe(A, (T) => {
1601
- a("update:model-value", T);
1598
+ xe(r, (O) => {
1599
+ O ? (R(), A(C, !0)) : Q();
1600
+ }), xe(M, (O) => {
1601
+ a("update:model-value", O);
1602
1602
  }), xn($, () => {
1603
- i(A) && !i(M) && Q();
1603
+ i(M) && !i(x) && Q();
1604
1604
  }, { ignore: [b] });
1605
1605
  const G = V(() => {
1606
1606
  if (i(c))
1607
1607
  return {};
1608
- const T = i(m), Z = i(R);
1608
+ const O = i(m), Z = i(C);
1609
1609
  return {
1610
1610
  onMouseover: () => {
1611
- T && S();
1611
+ O && R();
1612
1612
  },
1613
1613
  onMouseleave: () => {
1614
- T && !Z && C();
1614
+ O && !Z && S();
1615
1615
  },
1616
1616
  onClick: L
1617
1617
  };
@@ -1619,30 +1619,30 @@ const vi = {
1619
1619
  p,
1620
1620
  w
1621
1621
  );
1622
- return (T, Z) => {
1622
+ return (O, Z) => {
1623
1623
  var ke;
1624
1624
  return _(), y("div", {
1625
1625
  onKeydown: Z[4] || (Z[4] = Ue((K) => Q(), ["esc"]))
1626
1626
  }, [
1627
- O("div", {
1627
+ P("div", {
1628
1628
  ref_key: "activator",
1629
1629
  ref: b,
1630
- class: g([e(o).wrapper, T.wrapperClass, { "w-full": T.fullWidth }]),
1630
+ class: g([e(o).wrapper, O.wrapperClass, { "w-full": O.fullWidth }]),
1631
1631
  "data-menu-disabled": e(c)
1632
1632
  }, [
1633
- F(T.$slots, "activator", Ce(Re({ attrs: e(G), open: e(A), disabled: e(c), hasError: e(ae), hasSuccess: e(de) })))
1633
+ F(O.$slots, "activator", Ce(Re({ attrs: e(G), open: e(M), disabled: e(c), hasError: e(ae), hasSuccess: e(de) })))
1634
1634
  ], 10, bi),
1635
1635
  e(c) ? B("", !0) : (_(), U(is, {
1636
1636
  key: 0,
1637
1637
  to: "body"
1638
1638
  }, [
1639
- e(j) ? (_(), y("div", {
1639
+ e(T) ? (_(), y("div", {
1640
1640
  key: 0,
1641
1641
  ref_key: "menu",
1642
1642
  ref: $,
1643
1643
  class: g([
1644
1644
  e(o).menu,
1645
- T.menuClass,
1645
+ O.menuClass,
1646
1646
  e(o)[`menu__${((ke = e(u)) == null ? void 0 : ke.strategy) ?? "absolute"}`]
1647
1647
  ]),
1648
1648
  role: "menu",
@@ -1655,29 +1655,29 @@ const vi = {
1655
1655
  "leave-active-class": "transition ease-in duration-150",
1656
1656
  "leave-from-class": "opacity-100 translate-y-0",
1657
1657
  "leave-to-class": "opacity-0 translate-y-1",
1658
- onBeforeEnter: Z[0] || (Z[0] = (K) => e(H)()),
1659
- onAfterLeave: Z[1] || (Z[1] = (K) => e(P) ? e(E)() : void 0),
1660
- onBeforeLeave: Z[2] || (Z[2] = (K) => e(D)())
1658
+ onBeforeEnter: Z[0] || (Z[0] = (K) => e(I)()),
1659
+ onAfterLeave: Z[1] || (Z[1] = (K) => e(H) ? e(D)() : void 0),
1660
+ onBeforeLeave: Z[2] || (Z[2] = (K) => e(j)())
1661
1661
  }, {
1662
1662
  default: ee(() => [
1663
- e(A) ? (_(), y("div", {
1663
+ e(M) ? (_(), y("div", {
1664
1664
  key: "menu",
1665
1665
  class: g(e(o).base),
1666
1666
  role: "menu-content"
1667
1667
  }, [
1668
- F(T.$slots, "default", Ce(Re({ width: e(W) })))
1668
+ F(O.$slots, "default", Ce(Re({ width: e(W) })))
1669
1669
  ], 2)) : B("", !0)
1670
1670
  ]),
1671
1671
  _: 3
1672
1672
  })
1673
1673
  ], 2)) : B("", !0)
1674
1674
  ])),
1675
- T.showDetails ? (_(), U(Tt, {
1675
+ O.showDetails ? (_(), U(Tt, {
1676
1676
  key: 1,
1677
- class: g(["pt-1", [T.dense ? "px-2" : "px-4"]]),
1677
+ class: g(["pt-1", [O.dense ? "px-2" : "px-4"]]),
1678
1678
  "error-messages": e(p),
1679
1679
  "success-messages": e(w),
1680
- hint: T.hint
1680
+ hint: O.hint
1681
1681
  }, null, 8, ["class", "error-messages", "success-messages", "hint"])) : B("", !0)
1682
1682
  ], 32);
1683
1683
  };
@@ -1750,110 +1750,110 @@ function Ln({
1750
1750
  value: p
1751
1751
  }) {
1752
1752
  const w = V(() => {
1753
- const T = i(u);
1754
- return o ? T.filter((Z) => !Q(Z)) : T;
1755
- }), { getIdentifier: M, getText: b } = En({
1753
+ const O = i(u);
1754
+ return o ? O.filter((Z) => !Q(Z)) : O;
1755
+ }), { getIdentifier: x, getText: b } = En({
1756
1756
  keyAttr: f,
1757
1757
  textAttr: m
1758
- }), { containerProps: $, list: A, scrollTo: j, wrapperProps: P } = na(
1758
+ }), { containerProps: $, list: M, scrollTo: T, wrapperProps: H } = na(
1759
1759
  w,
1760
1760
  {
1761
1761
  itemHeight: r,
1762
1762
  overscan: c
1763
1763
  }
1764
- ), D = aa(A, ({ data: T, index: Z }) => ({ index: Z, item: T })), S = N(!1), C = V(() => {
1765
- const T = i(p);
1766
- return !f || !T ? T : Array.isArray(T) ? T.map((Z) => Z[f]) : T[f];
1767
- }), E = N(i(t) ? 0 : -1), H = V(() => {
1768
- const T = { max: 0, min: 0 }, Z = 30, ke = 1.5, K = i(a) ? 12 : 13;
1764
+ ), j = aa(M, ({ data: O, index: Z }) => ({ index: Z, item: O })), R = N(!1), S = V(() => {
1765
+ const O = i(p);
1766
+ return !f || !O ? O : Array.isArray(O) ? O.map((Z) => Z[f]) : O[f];
1767
+ }), D = N(i(t) ? 0 : -1), I = V(() => {
1768
+ const O = { max: 0, min: 0 }, Z = 30, ke = 1.5, K = i(a) ? 12 : 13;
1769
1769
  i(w).forEach((oe) => {
1770
1770
  var Se, Ee;
1771
1771
  const ge = ((Ee = (Se = b(oe)) == null ? void 0 : Se.toString()) == null ? void 0 : Ee.length) ?? 0;
1772
- T.min === 0 && T.max === 0 ? (T.min = ge, T.max = ge) : ge < T.min ? T.min = ge : ge > T.max && (T.max = ge);
1772
+ O.min === 0 && O.max === 0 ? (O.min = ge, O.max = ge) : ge < O.min ? O.min = ge : ge > O.max && (O.max = ge);
1773
1773
  });
1774
- const we = T.max - T.min;
1774
+ const we = O.max - O.min;
1775
1775
  function pe(oe) {
1776
1776
  const ge = (d ? d + 0.5 : 0) + (n ? n + 0.5 : 0);
1777
1777
  return `${Math.min(oe * K / 16 + ke + ge, Z)}rem`;
1778
1778
  }
1779
- return we <= 5 ? pe(T.max) : pe(T.min + we / 2);
1779
+ return we <= 5 ? pe(O.max) : pe(O.min + we / 2);
1780
1780
  });
1781
- function W(T = !1) {
1782
- x(S, T);
1781
+ function W(O = !1) {
1782
+ A(R, O);
1783
1783
  }
1784
- function R(T) {
1784
+ function C(O) {
1785
1785
  const Z = i(p), ke = Array.isArray(Z) ? Z : Z ? [Z] : [];
1786
- return ke.length === 0 ? -1 : ke.findIndex((K) => f ? K[f] === T[f] : K === T);
1786
+ return ke.length === 0 ? -1 : ke.findIndex((K) => f ? K[f] === O[f] : K === O);
1787
1787
  }
1788
- function Q(T) {
1789
- return R(T) !== -1;
1788
+ function Q(O) {
1789
+ return C(O) !== -1;
1790
1790
  }
1791
- async function L(T = !1) {
1792
- const Z = i(E);
1791
+ async function L(O = !1) {
1792
+ const Z = i(D);
1793
1793
  Z > -1 && await st(() => {
1794
1794
  var K, we;
1795
1795
  if ((K = i(l)) == null ? void 0 : K.parentElement) {
1796
1796
  const pe = i(l).getElementsByClassName("highlighted")[0];
1797
1797
  if (pe)
1798
- (we = pe.scrollIntoView) == null || we.call(pe, { behavior: T ? "smooth" : "auto", block: "nearest" }), i(s) && "focus" in pe && typeof pe.focus == "function" && (pe == null || pe.focus());
1799
- else if (j(Z), i(s)) {
1798
+ (we = pe.scrollIntoView) == null || we.call(pe, { behavior: O ? "smooth" : "auto", block: "nearest" }), i(s) && "focus" in pe && typeof pe.focus == "function" && (pe == null || pe.focus());
1799
+ else if (T(Z), i(s)) {
1800
1800
  const oe = i(l).getElementsByClassName("highlighted")[0];
1801
1801
  oe && "focus" in oe && typeof oe.focus == "function" && oe.focus();
1802
1802
  }
1803
1803
  }
1804
1804
  });
1805
1805
  }
1806
- async function G(T) {
1806
+ async function G(O) {
1807
1807
  await st(() => {
1808
- if (T) {
1808
+ if (O) {
1809
1809
  const Z = i(p);
1810
1810
  if (Array.isArray(Z) && Z.length > 0 || Z) {
1811
1811
  const ke = i(w).findIndex(Q);
1812
- ke > -1 && x(E, ke);
1812
+ ke > -1 && A(D, ke);
1813
1813
  }
1814
- oa(A, async () => {
1814
+ oa(M, async () => {
1815
1815
  await L();
1816
1816
  });
1817
1817
  }
1818
1818
  });
1819
1819
  }
1820
- return xe(S, G), xe(E, async (T, Z) => {
1821
- T !== Z && await L(!0);
1820
+ return xe(R, G), xe(D, async (O, Z) => {
1821
+ O !== Z && await L(!0);
1822
1822
  }), xe(w, async () => {
1823
- i(E) !== -1 ? i(t) ? (x(E, 0), await L()) : (x(E, -1), j(0)) : j(0);
1823
+ i(D) !== -1 ? i(t) ? (A(D, 0), await L()) : (A(D, -1), T(0)) : T(0);
1824
1824
  }), {
1825
1825
  applyHighlighted: () => {
1826
- if (!h || !i(S))
1826
+ if (!h || !i(R))
1827
1827
  return;
1828
- const T = i(E);
1829
- if (T === -1)
1828
+ const O = i(D);
1829
+ if (O === -1)
1830
1830
  return;
1831
- const Z = i(w).find((ke, K) => T === K);
1831
+ const Z = i(w).find((ke, K) => O === K);
1832
1832
  Z && h(Z);
1833
1833
  },
1834
1834
  containerProps: $,
1835
- getIdentifier: M,
1835
+ getIdentifier: x,
1836
1836
  getText: b,
1837
- highlightedIndex: E,
1837
+ highlightedIndex: D,
1838
1838
  isActiveItem: Q,
1839
- isOpen: S,
1840
- itemIndexInValue: R,
1841
- menuWidth: H,
1842
- moveHighlight: (T) => {
1843
- if (!i(S)) {
1839
+ isOpen: R,
1840
+ itemIndexInValue: C,
1841
+ menuWidth: I,
1842
+ moveHighlight: (O) => {
1843
+ if (!i(R)) {
1844
1844
  W(!0);
1845
1845
  return;
1846
1846
  }
1847
- let Z = i(E);
1848
- Z += T ? -1 : 1;
1847
+ let Z = i(D);
1848
+ Z += O ? -1 : 1;
1849
1849
  const K = i(w).length;
1850
- Z >= K ? x(E, 0) : Z < 0 ? x(E, K - 1) : x(E, Z);
1850
+ Z >= K ? A(D, 0) : Z < 0 ? A(D, K - 1) : A(D, Z);
1851
1851
  },
1852
1852
  optionsWithSelectedHidden: w,
1853
- renderedData: D,
1853
+ renderedData: j,
1854
1854
  toggle: W,
1855
- valueKey: C,
1856
- wrapperProps: P
1855
+ valueKey: S,
1856
+ wrapperProps: H
1857
1857
  };
1858
1858
  }
1859
1859
  const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
@@ -1912,9 +1912,9 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
1912
1912
  const t = n, a = Ht(n, "modelValue"), o = Ht(n, "searchInput"), r = he(), f = He(), { dense: l, variant: u, disabled: c, options: d } = be(t), { getText: h, getIdentifier: m } = En({
1913
1913
  keyAttr: t.keyAttr,
1914
1914
  textAttr: t.textAttr
1915
- }), p = N(), w = N(), M = N(), b = N(), { focused: $ } = Zs(w), { focused: A } = Zs(b), j = jt($, A), P = en(j, 100), D = jt(P, j), S = N([]), C = V(() => i(S).slice(0, Math.min(5, i(pe).length)).reduce((X, me) => X + me.$el.offsetHeight, 0)), E = V(() => Array.isArray(i(a))), H = V(() => !(f.selection || i(E) || t.chips)), { focused: W } = ws(p), R = N(""), Q = en(R, 100);
1915
+ }), p = N(), w = N(), x = N(), b = N(), { focused: $ } = Zs(w), { focused: M } = Zs(b), T = jt($, M), H = en(T, 100), j = jt(H, T), R = N([]), S = V(() => i(R).slice(0, Math.min(5, i(pe).length)).reduce((X, me) => X + me.$el.offsetHeight, 0)), D = V(() => Array.isArray(i(a))), I = V(() => !(f.selection || i(D) || t.chips)), { focused: W } = ws(p), C = N(""), Q = en(C, 100);
1916
1916
  xe(o, (z) => {
1917
- x(R, z);
1917
+ A(C, z);
1918
1918
  }, { immediate: !0 });
1919
1919
  const L = N(!1), G = V(() => {
1920
1920
  const z = i(Q), X = t.options;
@@ -1929,13 +1929,13 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
1929
1929
  return X.filter((Me) => ie(Me, z));
1930
1930
  });
1931
1931
  function ae(z) {
1932
- x(a, z);
1932
+ A(a, z);
1933
1933
  }
1934
1934
  function de(z) {
1935
1935
  const X = t.keyAttr, me = X && !t.returnObject ? z.map((ve) => ve[X]) : z;
1936
- return i(E) ? ae(me) : me.length === 0 ? ae(void 0) : ae(me[0]);
1936
+ return i(D) ? ae(me) : me.length === 0 ? ae(void 0) : ae(me[0]);
1937
1937
  }
1938
- const T = V({
1938
+ const O = V({
1939
1939
  get: () => {
1940
1940
  const z = i(a), X = t.keyAttr, me = Array.isArray(z);
1941
1941
  if (X && t.returnObject) {
@@ -1947,10 +1947,10 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
1947
1947
  if (t.customValue)
1948
1948
  return ie.push(xt(Me));
1949
1949
  }), me || ie.length === 0)
1950
- return i(H) && !i(D) && Pe(), ie;
1950
+ return i(I) && !i(j) && Pe(), ie;
1951
1951
  {
1952
1952
  const Me = ie[0];
1953
- return i(H) && !i(D) && Pe(h(Me)), [Me];
1953
+ return i(I) && !i(j) && Pe(h(Me)), [Me];
1954
1954
  }
1955
1955
  } else {
1956
1956
  const ve = z ? me ? z : [z] : [], ie = [];
@@ -1960,13 +1960,13 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
1960
1960
  return ie.push(v);
1961
1961
  if (t.customValue)
1962
1962
  return ie.push(xt(Me));
1963
- }), i(H) && !i(D) && (ie.length > 0 ? Pe(h(ie[0])) : Pe()), ie;
1963
+ }), i(I) && !i(j) && (ie.length > 0 ? Pe(h(ie[0])) : Pe()), ie;
1964
1964
  }
1965
1965
  },
1966
1966
  set: (z) => {
1967
1967
  de(z);
1968
1968
  }
1969
- }), Z = V(() => i(T).length > 0), ke = V(() => t.label ? `' ${t.label} '` : '"\\200B"'), {
1969
+ }), Z = V(() => i(O).length > 0), ke = V(() => t.label ? `' ${t.label} '` : '"\\200B"'), {
1970
1970
  containerProps: K,
1971
1971
  wrapperProps: we,
1972
1972
  renderedData: pe,
@@ -1984,8 +1984,8 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
1984
1984
  textAttr: t.textAttr,
1985
1985
  options: G,
1986
1986
  dense: l,
1987
- value: T,
1988
- menuRef: M,
1987
+ value: O,
1988
+ menuRef: x,
1989
1989
  setValue: Fe,
1990
1990
  autoSelectFirst: t.autoSelectFirst,
1991
1991
  hideSelected: t.hideSelected
@@ -2001,52 +2001,52 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2001
2001
  ref: K.ref
2002
2002
  }));
2003
2003
  function Pe(z = "") {
2004
- x(o, z), x(R, z);
2004
+ A(o, z), A(C, z);
2005
2005
  }
2006
2006
  function wt(z) {
2007
2007
  const X = z.target.value;
2008
- x(oe, !0), Pe(X), x(L, !1);
2008
+ A(oe, !0), Pe(X), A(L, !1);
2009
2009
  }
2010
2010
  async function Fe(z, X, me = !1) {
2011
- if (as(X) && x(re, X), i(E)) {
2012
- const ve = [...i(T)], ie = Ee(z);
2013
- ie === -1 ? (Pe(), ve.push(z)) : ve.splice(ie, 1), x(T, ve);
2011
+ if (as(X) && A(re, X), i(D)) {
2012
+ const ve = [...i(O)], ie = Ee(z);
2013
+ ie === -1 ? (Pe(), ve.push(z)) : ve.splice(ie, 1), A(O, ve);
2014
2014
  } else
2015
2015
  await st(() => {
2016
- x(oe, !1);
2017
- }), i(H) ? Pe(h(z)) : Pe(), x(T, [z]);
2018
- me || x(W, !0);
2016
+ A(oe, !1);
2017
+ }), i(I) ? Pe(h(z)) : Pe(), A(O, [z]);
2018
+ me || A(W, !0);
2019
2019
  }
2020
2020
  async function Ke() {
2021
2021
  await st(() => {
2022
- x(W, !0);
2022
+ A(W, !0);
2023
2023
  });
2024
2024
  }
2025
2025
  const Oe = N(-1);
2026
2026
  function $t(z) {
2027
- x(Oe, z);
2027
+ A(Oe, z);
2028
2028
  }
2029
- xe(T, () => {
2030
- x(Oe, -1);
2029
+ xe(O, () => {
2030
+ A(Oe, -1);
2031
2031
  }), xe(Oe, async (z) => {
2032
- z === -1 || !i(E) || await st(() => {
2033
- const X = t.keyAttr, me = i(T)[z], ve = X ? me[X] : me, ie = i(w).querySelector(`[data-value="${ve}"]`);
2032
+ z === -1 || !i(D) || await st(() => {
2033
+ const X = t.keyAttr, me = i(O)[z], ve = X ? me[X] : me, ie = i(w).querySelector(`[data-value="${ve}"]`);
2034
2034
  ie == null || ie.focus();
2035
2035
  });
2036
2036
  });
2037
2037
  function Xe(z, X) {
2038
- if (!i(E) || i(R).length > 0)
2038
+ if (!i(D) || i(C).length > 0)
2039
2039
  return;
2040
2040
  z.preventDefault();
2041
- const me = i(T).length;
2041
+ const me = i(O).length;
2042
2042
  let ve = i(Oe);
2043
2043
  if (ve === -1) {
2044
- x(Oe, X ? 0 : me - 1);
2044
+ A(Oe, X ? 0 : me - 1);
2045
2045
  return;
2046
2046
  }
2047
- ve += X ? 1 : -1, ve < 0 || ve >= me ? (x(Oe, -1), x(W, !0)) : x(Oe, ve);
2047
+ ve += X ? 1 : -1, ve < 0 || ve >= me ? (A(Oe, -1), A(W, !0)) : A(Oe, ve);
2048
2048
  }
2049
- const kt = V(() => (!i(j) || i(c)) && !i(H) ? "w-0 h-0" : i(R) ? "flex-1 min-w-[4rem]" : "flex-1 min-w-0");
2049
+ const kt = V(() => (!i(T) || i(c)) && !i(I) ? "w-0 h-0" : i(C) ? "flex-1 min-w-[4rem]" : "flex-1 min-w-0");
2050
2050
  function xt(z) {
2051
2051
  const X = t.keyAttr, me = t.textAttr;
2052
2052
  return X ? {
@@ -2055,28 +2055,28 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2055
2055
  } : z;
2056
2056
  }
2057
2057
  function Ot() {
2058
- const z = i(R);
2058
+ const z = i(C);
2059
2059
  if (!z)
2060
2060
  return;
2061
2061
  const X = xt(z);
2062
2062
  Fe(X, void 0, !0);
2063
2063
  }
2064
- Mn(j, (z) => {
2065
- z || (x(oe, !1), t.customValue && i(G).length === 0 && i(R) && Ot(), i(H) || Pe());
2064
+ Mn(T, (z) => {
2065
+ z || (A(oe, !1), t.customValue && i(G).length === 0 && i(C) && Ot(), i(I) || Pe());
2066
2066
  }, {
2067
2067
  debounce: 200,
2068
2068
  maxWait: 400
2069
2069
  });
2070
2070
  function Mt() {
2071
2071
  var z;
2072
- x(Oe, -1), i(H) && ((z = i(p)) == null || z.select()), i(oe) || x(L, !0);
2072
+ A(Oe, -1), i(I) && ((z = i(p)) == null || z.select()), i(oe) || A(L, !0);
2073
2073
  }
2074
2074
  function At() {
2075
- Pe(), x(a, Array.isArray(i(a)) ? [] : void 0);
2075
+ Pe(), A(a, Array.isArray(i(a)) ? [] : void 0);
2076
2076
  }
2077
2077
  function _t() {
2078
- const z = i(T).length;
2079
- !i(R) && z > 0 && (i(E) ? x(Oe, z - 1) : At());
2078
+ const z = i(O).length;
2079
+ !i(C) && z > 0 && (i(D) ? A(Oe, z - 1) : At());
2080
2080
  }
2081
2081
  function ht(z, X) {
2082
2082
  return {
@@ -2094,20 +2094,20 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2094
2094
  };
2095
2095
  }
2096
2096
  function mt(z) {
2097
- i(G).length > 0 && i(re) > -1 && i(oe) ? ($e(), z.preventDefault()) : i(d).length > 0 && t.customValue ? (Ot(), i(E) || x(oe, !1), z.preventDefault()) : !i(oe) && i(T).length === 0 && (x(oe, !0), z.preventDefault());
2097
+ i(G).length > 0 && i(re) > -1 && i(oe) ? ($e(), z.preventDefault()) : i(d).length > 0 && t.customValue ? (Ot(), i(D) || A(oe, !1), z.preventDefault()) : !i(oe) && i(O).length === 0 && (A(oe, !0), z.preventDefault());
2098
2098
  }
2099
2099
  function Yt(z) {
2100
- i(oe) && i(G).length > 0 && i(re) > -1 && !i(E) && ($e(), z.preventDefault());
2100
+ i(oe) && i(G).length > 0 && i(re) > -1 && !i(D) && ($e(), z.preventDefault());
2101
2101
  }
2102
2102
  function Ft(z, X) {
2103
2103
  var me, ve;
2104
- x(W, !0), (ve = (me = i(p)) == null ? void 0 : me.setSelectionRange) == null || ve.call(me, z, X);
2104
+ A(W, !0), (ve = (me = i(p)) == null ? void 0 : me.setSelectionRange) == null || ve.call(me, z, X);
2105
2105
  }
2106
2106
  xe(d, (z, X) => {
2107
- Os(z, X) || t.customValue || de(i(T));
2107
+ Os(z, X) || t.customValue || de(i(O));
2108
2108
  });
2109
2109
  function Ms(z) {
2110
- i(oe) && (x(oe, !1), z.stopPropagation());
2110
+ i(oe) && (A(oe, !1), z.stopPropagation());
2111
2111
  }
2112
2112
  return s({
2113
2113
  focus: Ke,
@@ -2137,8 +2137,8 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2137
2137
  disabled: e(c)
2138
2138
  }), {
2139
2139
  activator: ee(({ attrs: ve, open: ie, hasError: Me, hasSuccess: v }) => [
2140
- F(z.$slots, "activator", Ce(Re({ disabled: e(c), value: e(T), variant: e(u), readOnly: z.readOnly, attrs: ve, open: ie, hasError: Me, hasSuccess: v })), () => [
2141
- O("div", se(
2140
+ F(z.$slots, "activator", Ce(Re({ disabled: e(c), value: e(O), variant: e(u), readOnly: z.readOnly, attrs: ve, open: ie, hasError: Me, hasSuccess: v })), () => [
2141
+ P("div", se(
2142
2142
  {
2143
2143
  ref_key: "activator",
2144
2144
  ref: w,
@@ -2187,14 +2187,14 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2187
2187
  }
2188
2188
  ])
2189
2189
  }, [
2190
- F(z.$slots, "activator.label", Ce(Re({ value: e(T) })), () => [
2190
+ F(z.$slots, "activator.label", Ce(Re({ value: e(O) })), () => [
2191
2191
  Ie(ue(z.label), 1)
2192
2192
  ])
2193
2193
  ], 2)) : B("", !0),
2194
- O("div", {
2194
+ P("div", {
2195
2195
  class: g(e(r).value)
2196
2196
  }, [
2197
- (_(!0), y(Ae, null, Ve(e(T), (k, q) => (_(), y(Ae, {
2197
+ (_(!0), y(Ae, null, Ve(e(O), (k, q) => (_(), y(Ae, {
2198
2198
  key: e(m)(k)
2199
2199
  }, [
2200
2200
  z.chips ? (_(), U(_r, se({
@@ -2207,7 +2207,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2207
2207
  ref_for: !0
2208
2208
  }, ht(k, q)), {
2209
2209
  default: ee(() => [
2210
- O("div", Bi, [
2210
+ P("div", Bi, [
2211
2211
  F(z.$slots, "selection.prepend", se({
2212
2212
  index: q,
2213
2213
  ref_for: !0
@@ -2221,12 +2221,12 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2221
2221
  ])
2222
2222
  ]),
2223
2223
  _: 2
2224
- }, 1040, ["size", "class"])) : e(E) || e(f)["selection.prepend"] || e(f).selection ? (_(), y("div", zi, [
2224
+ }, 1040, ["size", "class"])) : e(D) || e(f)["selection.prepend"] || e(f).selection ? (_(), y("div", zi, [
2225
2225
  F(z.$slots, "selection.prepend", se({
2226
2226
  index: q,
2227
2227
  ref_for: !0
2228
2228
  }, { item: k })),
2229
- e(E) || e(f).selection ? F(z.$slots, "selection", se({
2229
+ e(D) || e(f).selection ? F(z.$slots, "selection", se({
2230
2230
  key: 0,
2231
2231
  index: q,
2232
2232
  ref_for: !0
@@ -2235,11 +2235,11 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2235
2235
  ]) : B("", !0)
2236
2236
  ])) : B("", !0)
2237
2237
  ], 64))), 128)),
2238
- O("input", {
2238
+ P("input", {
2239
2239
  ref_key: "textInput",
2240
2240
  ref: p,
2241
2241
  disabled: e(c),
2242
- value: e(R),
2242
+ value: e(C),
2243
2243
  class: g(["bg-transparent outline-none", e(kt)]),
2244
2244
  type: "text",
2245
2245
  placeholder: z.placeholder,
@@ -2250,7 +2250,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2250
2250
  ], 2),
2251
2251
  z.clearable && e(Z) && !e(c) ? (_(), y("span", {
2252
2252
  key: 1,
2253
- class: g(["group-hover:!visible", [e(r).clear, e(j) && "!visible"]]),
2253
+ class: g(["group-hover:!visible", [e(r).clear, e(T) && "!visible"]]),
2254
2254
  onClick: X[3] || (X[3] = Ge((k) => At(), ["stop", "prevent"]))
2255
2255
  }, [
2256
2256
  J(ce, {
@@ -2259,7 +2259,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2259
2259
  size: "18"
2260
2260
  })
2261
2261
  ], 2)) : B("", !0),
2262
- O("span", {
2262
+ P("span", {
2263
2263
  class: g(e(r).icon__wrapper),
2264
2264
  onClick: X[4] || (X[4] = (k) => Ms(k))
2265
2265
  }, [
@@ -2281,21 +2281,21 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2281
2281
  key: 0,
2282
2282
  class: g(e(r).fieldset)
2283
2283
  }, [
2284
- O("legend", {
2284
+ P("legend", {
2285
2285
  class: g({ "px-2": e(Be) })
2286
2286
  }, null, 2)
2287
2287
  ], 2)) : B("", !0)
2288
2288
  ])
2289
2289
  ]),
2290
2290
  default: ee(({ width: ve }) => [
2291
- O("div", {
2291
+ P("div", {
2292
2292
  ref_key: "menuWrapperRef",
2293
2293
  ref: b
2294
2294
  }, [
2295
2295
  e(De).length > 0 ? (_(), y("div", se({
2296
2296
  key: 0,
2297
2297
  class: [e(r).menu, z.menuClass],
2298
- style: { width: `${ve}px`, minWidth: e(ge), minHeight: `${e(C)}px` }
2298
+ style: { width: `${ve}px`, minWidth: e(ge), minHeight: `${e(S)}px` }
2299
2299
  }, e(qe), {
2300
2300
  onScroll: X[13] || (X[13] = //@ts-ignore
2301
2301
  (...ie) => e(K).onScroll && e(K).onScroll(...ie)),
@@ -2304,16 +2304,16 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2304
2304
  X[15] || (X[15] = Ue(Ge((ie) => e(te)(!1), ["prevent"]), ["down"]))
2305
2305
  ]
2306
2306
  }), [
2307
- O("div", se(e(we), {
2307
+ P("div", se(e(we), {
2308
2308
  ref_key: "menuRef",
2309
- ref: M
2309
+ ref: x
2310
2310
  }), [
2311
2311
  (_(!0), y(Ae, null, Ve(e(pe), ({ item: ie, index: Me }) => {
2312
2312
  var v;
2313
2313
  return _(), U(Te, {
2314
2314
  ref_for: !0,
2315
2315
  ref_key: "renderedOptions",
2316
- ref: S,
2316
+ ref: R,
2317
2317
  key: (v = e(m)(ie)) == null ? void 0 : v.toString(),
2318
2318
  active: e(Se)(ie),
2319
2319
  size: e(l) ? "sm" : void 0,
@@ -2397,49 +2397,53 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2397
2397
  },
2398
2398
  emits: ["update:modelValue"],
2399
2399
  setup(n, { emit: s }) {
2400
- const t = n, a = s, o = He(), { modelValue: r, required: f, disabled: l, color: u, variant: c, size: d } = be(t), h = V(() => {
2400
+ const t = n, a = s, o = He(), { modelValue: r, required: f, disabled: l, color: u, variant: c, size: d } = be(t);
2401
+ function h(M) {
2402
+ return M.flatMap((T) => T.type === Ae && Array.isArray(T.children) && T.children.length > 0 ? h(T.children.filter(ys)) : [T]).flat();
2403
+ }
2404
+ const m = V(() => {
2401
2405
  var S;
2402
- const $ = i(l), A = i(u), j = i(r), P = ((S = o.default) == null ? void 0 : S.call(o)) ?? [];
2403
- return (P.length === 1 && P[0].type === Ae ? Array.isArray(P[0].children) ? P[0].children.filter(ys) : [] : P).map((C, E) => {
2404
- var W;
2405
- const H = (W = C.props) == null ? void 0 : W["model-value"];
2406
- return C.props = {
2407
- ...C.props,
2408
- active: m(H ?? E, j)
2409
- }, $ && (C.props.disabled = !0), A && (C.props.color = A), C.props.active && t.activeColor && (C.props.color = t.activeColor), C;
2406
+ const M = i(l), T = i(u), H = i(r), j = ((S = o.default) == null ? void 0 : S.call(o)) ?? [];
2407
+ return h(j).map((D, I) => {
2408
+ var C;
2409
+ const W = (C = D.props) == null ? void 0 : C["model-value"];
2410
+ return D.props = {
2411
+ ...D.props,
2412
+ active: p(W ?? I, H)
2413
+ }, M && (D.props.disabled = !0), T && (D.props.color = T), D.props.active && t.activeColor && (D.props.color = t.activeColor), D;
2410
2414
  });
2411
2415
  });
2412
- function m($, A) {
2413
- return Array.isArray(A) ? A.includes($) : A === $;
2416
+ function p(M, T) {
2417
+ return Array.isArray(T) ? T.includes(M) : T === M;
2414
2418
  }
2415
- function p($) {
2416
- const A = i(r), j = i(f);
2417
- if (Array.isArray(A)) {
2418
- const P = A.indexOf($);
2419
- P >= 0 ? (!j || A.length !== 1) && A.splice(P, 1) : A.push($), a("update:modelValue", A);
2420
- } else j ? a("update:modelValue", $) : a("update:modelValue", m($, A) ? void 0 : $);
2419
+ function w(M) {
2420
+ const T = i(r), H = i(f);
2421
+ if (Array.isArray(T)) {
2422
+ const j = T.indexOf(M);
2423
+ j >= 0 ? (!H || T.length !== 1) && T.splice(j, 1) : T.push(M), a("update:modelValue", T);
2424
+ } else H ? a("update:modelValue", M) : a("update:modelValue", p(M, T) ? void 0 : M);
2421
2425
  }
2422
- const w = he(), M = V(() => t.color ? w[t.color] : void 0), b = V(
2423
- () => t.variant ? w[t.variant] : void 0
2426
+ const x = he(), b = V(() => t.color ? x[t.color] : void 0), $ = V(
2427
+ () => t.variant ? x[t.variant] : void 0
2424
2428
  );
2425
- return ($, A) => (_(), y("div", se({
2429
+ return (M, T) => (_(), y("div", se({
2426
2430
  class: [
2427
- e(w).wrapper,
2428
- e(M),
2431
+ e(x).wrapper,
2429
2432
  e(b),
2433
+ e($),
2430
2434
  {
2431
- [e(w).wrapper__vertical]: $.vertical,
2432
- [e(w).separated]: !!$.gap,
2433
- [e(w)[`separated__${$.gap}`]]: !!$.gap
2435
+ [e(x).wrapper__vertical]: M.vertical,
2436
+ [e(x).separated]: !!M.gap,
2437
+ [e(x)[`separated__${M.gap}`]]: !!M.gap
2434
2438
  }
2435
2439
  ]
2436
- }, $.$attrs), [
2437
- (_(!0), y(Ae, null, Ve(e(h), (j, P) => (_(), U(qt(j), {
2438
- key: P,
2439
- class: g(e(w).button),
2440
+ }, M.$attrs), [
2441
+ (_(!0), y(Ae, null, Ve(e(m), (H, j) => (_(), U(qt(H), {
2442
+ key: j,
2443
+ class: g(e(x).button),
2440
2444
  size: e(d),
2441
2445
  variant: e(c),
2442
- "onUpdate:modelValue": (D) => p(D ?? P)
2446
+ "onUpdate:modelValue": (R) => w(R ?? j)
2443
2447
  }, null, 8, ["class", "size", "variant", "onUpdate:modelValue"]))), 128))
2444
2448
  ], 16));
2445
2449
  }
@@ -2491,7 +2495,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2491
2495
  }), h = V(() => {
2492
2496
  const b = i(o);
2493
2497
  return b === "lg" ? 28 : b === "sm" ? 20 : 24;
2494
- }), m = he(), p = tt(), { hasError: w, hasSuccess: M } = Vt(
2498
+ }), m = he(), p = tt(), { hasError: w, hasSuccess: x } = Vt(
2495
2499
  l,
2496
2500
  u
2497
2501
  );
@@ -2502,7 +2506,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2502
2506
  const $ = i(c);
2503
2507
  $ && $.checked !== b && ($.checked = b);
2504
2508
  }), (b, $) => (_(), y("div", Ce(Re(e(bt)(e(p)))), [
2505
- O("label", se({
2509
+ P("label", se({
2506
2510
  class: [
2507
2511
  e(m).wrapper,
2508
2512
  e(m)[e(o) ?? ""],
@@ -2511,17 +2515,17 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2511
2515
  }
2512
2516
  ]
2513
2517
  }, e(Es)(e(p), ["onClick"])), [
2514
- bs(O("input", se({
2518
+ bs(P("input", se({
2515
2519
  ref_key: "el",
2516
2520
  ref: c,
2517
- "onUpdate:modelValue": $[0] || ($[0] = (A) => Rt(d) ? d.value = A : null),
2521
+ "onUpdate:modelValue": $[0] || ($[0] = (M) => Rt(d) ? d.value = M : null),
2518
2522
  type: "checkbox",
2519
2523
  class: e(m).input,
2520
2524
  disabled: b.disabled
2521
2525
  }, e(Bt)(e(p), ["onInput", "onClick"])), null, 16, gl), [
2522
2526
  [Xn, e(d)]
2523
2527
  ]),
2524
- O("span", {
2528
+ P("span", {
2525
2529
  class: g([
2526
2530
  e(m).checkbox,
2527
2531
  e(m)[b.color ?? ""],
@@ -2530,7 +2534,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2530
2534
  [e(m).checked]: e(r) || e(f),
2531
2535
  [e(m).disabled]: b.disabled,
2532
2536
  [e(m)["with-error"]]: e(w),
2533
- [e(m)["with-success"]]: e(M) && !e(w)
2537
+ [e(m)["with-success"]]: e(x) && !e(w)
2534
2538
  }
2535
2539
  ])
2536
2540
  }, [
@@ -2615,7 +2619,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2615
2619
  l
2616
2620
  );
2617
2621
  return (p, w) => (_(), y("div", Ce(Re(e(bt)(e(d)))), [
2618
- O("label", {
2622
+ P("label", {
2619
2623
  class: g([
2620
2624
  e(c).wrapper,
2621
2625
  e(c)[e(o) ?? ""],
@@ -2628,18 +2632,18 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2628
2632
  }
2629
2633
  ])
2630
2634
  }, [
2631
- O("div", {
2635
+ P("div", {
2632
2636
  class: g(e(c).inner)
2633
2637
  }, [
2634
- O("input", se({
2638
+ P("input", se({
2635
2639
  checked: e(r),
2636
2640
  type: "checkbox",
2637
2641
  class: e(c).input,
2638
2642
  disabled: p.disabled
2639
2643
  }, e(Bt)(e(d)), {
2640
- onInput: w[0] || (w[0] = (M) => u(M))
2644
+ onInput: w[0] || (w[0] = (x) => u(x))
2641
2645
  }), null, 16, jl),
2642
- O("div", {
2646
+ P("div", {
2643
2647
  class: g(e(c).toggle)
2644
2648
  }, null, 2)
2645
2649
  ], 2),
@@ -2710,94 +2714,94 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2710
2714
  },
2711
2715
  emits: ["update:model-value"],
2712
2716
  setup(n, { emit: s }) {
2713
- yt((H) => ({
2714
- 11629430: e(C),
2715
- "3b33259d": e(S),
2717
+ yt((I) => ({
2718
+ 11629430: e(S),
2719
+ "3b33259d": e(R),
2716
2720
  "04a60003": e(b),
2717
- "4c39bd9a": e(E)
2721
+ "4c39bd9a": e(D)
2718
2722
  }));
2719
2723
  const t = n, a = s, { modelValue: o, max: r, min: f, step: l, errorMessages: u, successMessages: c, vertical: d, tickSize: h } = be(t), m = V({
2720
2724
  get() {
2721
2725
  return i(o);
2722
2726
  },
2723
- set(H) {
2724
- a("update:model-value", H);
2727
+ set(I) {
2728
+ a("update:model-value", I);
2725
2729
  }
2726
- }), p = he(), w = tt(), M = V(() => {
2727
- const H = i(f), W = i(l), Q = (i(r) - H) / W;
2728
- return [Math.round((i(o) - H) / W), Q];
2730
+ }), p = he(), w = tt(), x = V(() => {
2731
+ const I = i(f), W = i(l), Q = (i(r) - I) / W;
2732
+ return [Math.round((i(o) - I) / W), Q];
2729
2733
  }), b = V(() => {
2730
- const [H, W] = i(M);
2731
- return `${Math.min(100, Math.max(0, Math.round(H / W * 100)))}%`;
2732
- }), { hasError: $, hasSuccess: A } = Vt(
2734
+ const [I, W] = i(x);
2735
+ return `${Math.min(100, Math.max(0, Math.round(I / W * 100)))}%`;
2736
+ }), { hasError: $, hasSuccess: M } = Vt(
2733
2737
  u,
2734
2738
  c
2735
- ), j = N(), { width: P, height: D } = hs(j), S = V(() => `${i(P)}px`), C = V(() => `${i(D)}px`), E = V(() => `${i(h)}px`);
2736
- return (H, W) => (_(), y("div", Ce(Re(e(bt)(e(w)))), [
2737
- O("label", {
2739
+ ), T = N(), { width: H, height: j } = hs(T), R = V(() => `${i(H)}px`), S = V(() => `${i(j)}px`), D = V(() => `${i(h)}px`);
2740
+ return (I, W) => (_(), y("div", Ce(Re(e(bt)(e(w)))), [
2741
+ P("label", {
2738
2742
  class: g([
2739
2743
  e(p).wrapper,
2740
2744
  {
2741
- [e(p).disabled]: H.disabled,
2745
+ [e(p).disabled]: I.disabled,
2742
2746
  [e(p).vertical]: e(d),
2743
- [e(p)[H.color]]: H.color,
2744
- [e(p)["hide-track"]]: H.hideTrack,
2747
+ [e(p)[I.color]]: I.color,
2748
+ [e(p)["hide-track"]]: I.hideTrack,
2745
2749
  [e(p)["big-tick"]]: e(h) > 4,
2746
2750
  [e(p)["with-error"]]: e($),
2747
- [e(p)["with-success"]]: e(A) && !e($)
2751
+ [e(p)["with-success"]]: e(M) && !e($)
2748
2752
  }
2749
2753
  ])
2750
2754
  }, [
2751
- H.label ? (_(), y("div", {
2755
+ I.label ? (_(), y("div", {
2752
2756
  key: 0,
2753
2757
  class: g([e(p).label, "text-body-1"])
2754
- }, ue(H.label), 3)) : B("", !0),
2755
- O("div", {
2758
+ }, ue(I.label), 3)) : B("", !0),
2759
+ P("div", {
2756
2760
  ref_key: "outer",
2757
- ref: j,
2761
+ ref: T,
2758
2762
  class: g(e(p).outer)
2759
2763
  }, [
2760
- O("div", {
2764
+ P("div", {
2761
2765
  class: g(e(p).inner)
2762
2766
  }, [
2763
- bs(O("input", se({
2764
- "onUpdate:modelValue": W[0] || (W[0] = (R) => Rt(m) ? m.value = R : null),
2767
+ bs(P("input", se({
2768
+ "onUpdate:modelValue": W[0] || (W[0] = (C) => Rt(m) ? m.value = C : null),
2765
2769
  class: e(p).input,
2766
2770
  type: "range",
2767
2771
  max: e(r),
2768
2772
  min: e(f),
2769
2773
  step: e(l),
2770
- disabled: H.disabled
2774
+ disabled: I.disabled
2771
2775
  }, e(Bt)(e(w))), null, 16, ec), [
2772
2776
  [wn, e(m)]
2773
2777
  ]),
2774
- O("div", {
2778
+ P("div", {
2775
2779
  class: g(e(p).slider)
2776
2780
  }, [
2777
- O("div", {
2781
+ P("div", {
2778
2782
  class: g(e(p).slider__inner)
2779
2783
  }, [
2780
- O("div", {
2781
- class: g([e(p).slider__container, H.sliderClass])
2784
+ P("div", {
2785
+ class: g([e(p).slider__container, I.sliderClass])
2782
2786
  }, [
2783
- H.hideTrack ? B("", !0) : (_(), y("div", {
2787
+ I.hideTrack ? B("", !0) : (_(), y("div", {
2784
2788
  key: 0,
2785
2789
  class: g(e(p).slider__container__track)
2786
2790
  }, null, 2)),
2787
- H.showTicks && !H.disabled ? (_(), y("div", {
2791
+ I.showTicks && !I.disabled ? (_(), y("div", {
2788
2792
  key: 1,
2789
2793
  class: g(e(p).slider__ticks)
2790
2794
  }, [
2791
- (_(!0), y(Ae, null, Ve(e(M)[1] + 1, (R) => (_(), y("span", {
2792
- key: R,
2793
- class: g(H.hideTrack ? [H.tickClass] : { [e(p).highlighted]: R - 1 <= e(M)[0], [H.tickClass]: R - 1 > e(M)[0] })
2795
+ (_(!0), y(Ae, null, Ve(e(x)[1] + 1, (C) => (_(), y("span", {
2796
+ key: C,
2797
+ class: g(I.hideTrack ? [I.tickClass] : { [e(p).highlighted]: C - 1 <= e(x)[0], [I.tickClass]: C - 1 > e(x)[0] })
2794
2798
  }, null, 2))), 128))
2795
2799
  ], 2)) : B("", !0)
2796
2800
  ], 2),
2797
- O("div", {
2801
+ P("div", {
2798
2802
  class: g(e(p).slider__thumb)
2799
2803
  }, null, 2),
2800
- H.showThumbLabel && !H.disabled ? (_(), y("div", {
2804
+ I.showThumbLabel && !I.disabled ? (_(), y("div", {
2801
2805
  key: 0,
2802
2806
  class: g(e(p).slider__thumb_label)
2803
2807
  }, ue(e(o)), 3)) : B("", !0)
@@ -2806,12 +2810,12 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2806
2810
  ], 2)
2807
2811
  ], 2)
2808
2812
  ], 2),
2809
- H.hideDetails ? B("", !0) : (_(), U(Tt, {
2813
+ I.hideDetails ? B("", !0) : (_(), U(Tt, {
2810
2814
  key: 0,
2811
2815
  class: "pt-1",
2812
2816
  "error-messages": e(u),
2813
2817
  "success-messages": e(c),
2814
- hint: H.hint
2818
+ hint: I.hint
2815
2819
  }, null, 8, ["error-messages", "success-messages", "hint"]))
2816
2820
  ], 16));
2817
2821
  }
@@ -2995,12 +2999,12 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
2995
2999
  { [e(t)["icon-top"]]: d.iconTop, [e(t).custom]: e(a) }
2996
3000
  ], "no-scrollbar overflow-auto"])
2997
3001
  }, [
2998
- (_(!0), y(Ae, null, Ve(e(u), ({ title: m, description: p, state: w, loading: M }, b) => (_(), y(Ae, { key: b }, [
3002
+ (_(!0), y(Ae, null, Ve(e(u), ({ title: m, description: p, state: w, loading: x }, b) => (_(), y(Ae, { key: b }, [
2999
3003
  b > 0 ? (_(), y("hr", {
3000
3004
  key: 0,
3001
3005
  class: g(e(t).divider)
3002
3006
  }, null, 2)) : B("", !0),
3003
- O("div", {
3007
+ P("div", {
3004
3008
  class: g([
3005
3009
  e(t).step,
3006
3010
  e(t)[w ?? e(Le).inactive],
@@ -3010,7 +3014,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3010
3014
  ])
3011
3015
  }, [
3012
3016
  F(d.$slots, "icon", se({ ref_for: !0 }, { state: w, index: b + 1 }), () => [
3013
- O("div", Lc, [
3017
+ P("div", Lc, [
3014
3018
  e(a) ? (_(), U(Ec, {
3015
3019
  key: 0,
3016
3020
  index: b + 1,
@@ -3020,7 +3024,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3020
3024
  index: b + 1,
3021
3025
  state: w
3022
3026
  }, null, 8, ["index", "state"])),
3023
- M ? (_(), U(Nt, {
3027
+ x ? (_(), U(Nt, {
3024
3028
  key: 2,
3025
3029
  class: "absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2",
3026
3030
  size: "32",
@@ -3069,7 +3073,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3069
3073
  success: od
3070
3074
  }, id = {
3071
3075
  $style: rd
3072
- }, S2 = /* @__PURE__ */ fe(qc, [["__cssModules", id]]), ld = ["value"], cd = ["placeholder", "disabled", "readonly"], dd = /* @__PURE__ */ O("legend", null, null, -1), ud = [
3076
+ }, S2 = /* @__PURE__ */ fe(qc, [["__cssModules", id]]), ld = ["value"], cd = ["placeholder", "disabled", "readonly"], dd = /* @__PURE__ */ P("legend", null, null, -1), ud = [
3073
3077
  dd
3074
3078
  ], pd = /* @__PURE__ */ ne({
3075
3079
  name: "RuiTextArea",
@@ -3103,9 +3107,9 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3103
3107
  emits: /* @__PURE__ */ _s(["click:clear"], ["update:modelValue"]),
3104
3108
  setup(n, { emit: s }) {
3105
3109
  yt((K) => ({
3106
- "612d6e78": e(R),
3110
+ "612d6e78": e(C),
3107
3111
  "7e7afea8": e(W),
3108
- "1da88d96": e(E)
3112
+ "1da88d96": e(D)
3109
3113
  }));
3110
3114
  const t = n, a = s, o = Ht(n, "modelValue"), {
3111
3115
  label: r,
@@ -3118,127 +3122,127 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3118
3122
  noResize: m,
3119
3123
  rowHeight: p,
3120
3124
  errorMessages: w,
3121
- successMessages: M
3122
- } = be(t), b = N(), $ = N(), A = N(), j = N(), P = N(!1), D = he(), S = tt(), C = He(), E = V(() => i(r) ? `' ${i(r)} '` : '"\\200B"'), H = V(() => {
3125
+ successMessages: x
3126
+ } = be(t), b = N(), $ = N(), M = N(), T = N(), H = N(!1), j = he(), R = tt(), S = He(), D = V(() => i(r) ? `' ${i(r)} '` : '"\\200B"'), I = V(() => {
3123
3127
  const K = Number(i(p)), we = Number(i(d)), pe = Number(i(h)), oe = {
3124
3128
  minHeight: `${we * K + 0.75}rem`
3125
3129
  };
3126
3130
  return pe && (oe.maxHeight = `${pe * K + 0.75}rem`), oe;
3127
- }), W = N("0px"), R = N("0px");
3131
+ }), W = N("0px"), C = N("0px");
3128
3132
  Et(b, (K) => {
3129
3133
  const [we] = K, { width: pe, left: oe } = we.contentRect;
3130
- x(W, `${pe + oe + 24}px`);
3134
+ A(W, `${pe + oe + 24}px`);
3131
3135
  }), Et($, (K) => {
3132
3136
  const [we] = K, { width: pe, right: oe } = we.contentRect;
3133
- x(R, `${pe + oe + 24}px`);
3137
+ A(C, `${pe + oe + 24}px`);
3134
3138
  });
3135
- const Q = V(() => t.color ? D[t.color] : void 0), L = $s(
3139
+ const Q = V(() => t.color ? j[t.color] : void 0), L = $s(
3136
3140
  l,
3137
3141
  o,
3138
3142
  os(u),
3139
3143
  os(c)
3140
3144
  ), { hasError: G, hasSuccess: ae, hasMessages: de } = Vt(
3141
3145
  w,
3142
- M
3146
+ x
3143
3147
  );
3144
- function T() {
3145
- x(o, ""), a("click:clear");
3148
+ function O() {
3149
+ A(o, ""), a("click:clear");
3146
3150
  }
3147
3151
  function Z(K, we) {
3148
3152
  if (!i(f))
3149
3153
  return;
3150
- const pe = i(A), oe = K ?? i(o), ge = i(j);
3154
+ const pe = i(M), oe = K ?? i(o), ge = i(T);
3151
3155
  pe && ge && st(() => {
3152
- pe.style.minHeight = i(H).minHeight;
3156
+ pe.style.minHeight = i(I).minHeight;
3153
3157
  const Se = ge.scrollHeight, Ee = pe.scrollHeight;
3154
3158
  let re = `${Math.max(Se, Ee) / 16}rem`;
3155
3159
  we && we.length > oe.length && (re = `${Math.min(Se, Ee) / 16}rem`), pe.style.height = re;
3156
3160
  });
3157
3161
  }
3158
- const { focused: ke } = ws(A);
3162
+ const { focused: ke } = ws(M);
3159
3163
  return Mn(
3160
3164
  ke,
3161
3165
  (K) => {
3162
- x(P, K);
3166
+ A(H, K);
3163
3167
  },
3164
3168
  { debounce: 500 }
3165
- ), xe(o, Z), St(Z), (K, we) => (_(), y("div", Ce(Re(("getRootAttrs" in K ? K.getRootAttrs : e(bt))(e(S)))), [
3166
- O("div", {
3169
+ ), xe(o, Z), St(Z), (K, we) => (_(), y("div", Ce(Re(("getRootAttrs" in K ? K.getRootAttrs : e(bt))(e(R)))), [
3170
+ P("div", {
3167
3171
  class: g([
3168
- e(D).wrapper,
3172
+ e(j).wrapper,
3169
3173
  e(Q),
3170
- e(D)[K.variant],
3174
+ e(j)[K.variant],
3171
3175
  {
3172
- [e(D).dense]: K.dense,
3173
- [e(D).disabled]: e(u),
3174
- [e(D)["no-label"]]: !e(r),
3175
- [e(D)["with-error"]]: e(G),
3176
- [e(D)["with-success"]]: e(ae) && !e(G),
3177
- [e(D)[`text_${K.textColor}`]]: K.textColor && !e(de)
3176
+ [e(j).dense]: K.dense,
3177
+ [e(j).disabled]: e(u),
3178
+ [e(j)["no-label"]]: !e(r),
3179
+ [e(j)["with-error"]]: e(G),
3180
+ [e(j)["with-success"]]: e(ae) && !e(G),
3181
+ [e(j)[`text_${K.textColor}`]]: K.textColor && !e(de)
3178
3182
  }
3179
3183
  ])
3180
3184
  }, [
3181
- e(C).prepend || K.prependIcon ? (_(), y("div", {
3185
+ e(S).prepend || K.prependIcon ? (_(), y("div", {
3182
3186
  key: 0,
3183
3187
  ref_key: "prepend",
3184
3188
  ref: b,
3185
- class: g(["flex items-center gap-1 shrink-0", e(D).prepend])
3189
+ class: g(["flex items-center gap-1 shrink-0", e(j).prepend])
3186
3190
  }, [
3187
- e(C).prepend ? F(K.$slots, "prepend", { key: 0 }) : K.prependIcon ? (_(), y("div", {
3191
+ e(S).prepend ? F(K.$slots, "prepend", { key: 0 }) : K.prependIcon ? (_(), y("div", {
3188
3192
  key: 1,
3189
- class: g([e(D).icon])
3193
+ class: g([e(j).icon])
3190
3194
  }, [
3191
3195
  J(ce, { name: K.prependIcon }, null, 8, ["name"])
3192
3196
  ], 2)) : B("", !0)
3193
3197
  ], 2)) : B("", !0),
3194
- O("div", {
3195
- class: g(e(D).inner_wrapper)
3198
+ P("div", {
3199
+ class: g(e(j).inner_wrapper)
3196
3200
  }, [
3197
3201
  e(f) ? (_(), y("textarea", {
3198
3202
  key: 0,
3199
3203
  ref_key: "textareaSizer",
3200
- ref: j,
3204
+ ref: T,
3201
3205
  value: o.value,
3202
- class: g([e(D).textarea_sizer]),
3203
- style: rt(e(H)),
3206
+ class: g([e(j).textarea_sizer]),
3207
+ style: rt(e(I)),
3204
3208
  "aria-hidden": "true",
3205
3209
  disabled: "",
3206
3210
  readonly: ""
3207
3211
  }, null, 14, ld)) : B("", !0),
3208
- bs(O("textarea", se({
3212
+ bs(P("textarea", se({
3209
3213
  ref_key: "textarea",
3210
- ref: A,
3214
+ ref: M,
3211
3215
  "onUpdate:modelValue": we[0] || (we[0] = (pe) => o.value = pe),
3212
3216
  placeholder: K.placeholder || " ",
3213
- class: [e(D).textarea, e(m) ? "resize-none" : "resize-y"],
3214
- style: e(H),
3217
+ class: [e(j).textarea, e(m) ? "resize-none" : "resize-y"],
3218
+ style: e(I),
3215
3219
  disabled: e(u),
3216
3220
  readonly: e(c)
3217
- }, ("getNonRootAttrs" in K ? K.getNonRootAttrs : e(Bt))(e(S))), null, 16, cd), [
3221
+ }, ("getNonRootAttrs" in K ? K.getNonRootAttrs : e(Bt))(e(R))), null, 16, cd), [
3218
3222
  [wn, o.value]
3219
3223
  ]),
3220
- O("label", {
3221
- class: g(e(D).label)
3224
+ P("label", {
3225
+ class: g(e(j).label)
3222
3226
  }, ue(e(r)), 3),
3223
3227
  K.variant === "outlined" ? (_(), y("fieldset", {
3224
3228
  key: 1,
3225
- class: g(e(D).fieldset)
3229
+ class: g(e(j).fieldset)
3226
3230
  }, ud, 2)) : B("", !0)
3227
3231
  ], 2),
3228
- e(C).append || K.appendIcon || e(L) ? (_(), y("div", {
3232
+ e(S).append || K.appendIcon || e(L) ? (_(), y("div", {
3229
3233
  key: 1,
3230
3234
  ref_key: "append",
3231
3235
  ref: $,
3232
- class: g(["flex items-center gap-1 shrink-0", e(D).append])
3236
+ class: g(["flex items-center gap-1 shrink-0", e(j).append])
3233
3237
  }, [
3234
3238
  e(L) ? (_(), U(Te, {
3235
3239
  key: 0,
3236
- class: g([{ hidden: !e(P) }, "!p-2"]),
3240
+ class: g([{ hidden: !e(H) }, "!p-2"]),
3237
3241
  variant: "text",
3238
3242
  type: "button",
3239
3243
  icon: "",
3240
3244
  color: K.color,
3241
- onClick: we[1] || (we[1] = (pe) => T())
3245
+ onClick: we[1] || (we[1] = (pe) => O())
3242
3246
  }, {
3243
3247
  default: ee(() => [
3244
3248
  J(ce, {
@@ -3248,9 +3252,9 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3248
3252
  ]),
3249
3253
  _: 1
3250
3254
  }, 8, ["class", "color"])) : B("", !0),
3251
- e(C).append ? F(K.$slots, "append", { key: 1 }) : K.appendIcon ? (_(), y("div", {
3255
+ e(S).append ? F(K.$slots, "append", { key: 1 }) : K.appendIcon ? (_(), y("div", {
3252
3256
  key: 2,
3253
- class: g([e(D).icon])
3257
+ class: g([e(j).icon])
3254
3258
  }, [
3255
3259
  J(ce, { name: K.appendIcon }, null, 8, ["name"])
3256
3260
  ], 2)) : B("", !0)
@@ -3260,7 +3264,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3260
3264
  key: 0,
3261
3265
  class: "pt-1 px-3",
3262
3266
  "error-messages": e(w),
3263
- "success-messages": e(M),
3267
+ "success-messages": e(x),
3264
3268
  hint: K.hint
3265
3269
  }, null, 8, ["error-messages", "success-messages", "hint"]))
3266
3270
  ], 16));
@@ -3331,7 +3335,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3331
3335
  setup(n, { emit: s }) {
3332
3336
  yt((L) => ({
3333
3337
  "71ace141": e($),
3334
- "45da2743": e(A),
3338
+ "45da2743": e(M),
3335
3339
  "3d7d1ceb": e(m)
3336
3340
  }));
3337
3341
  const t = n, a = s, {
@@ -3350,18 +3354,18 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3350
3354
  const m = V(() => {
3351
3355
  const L = i(o);
3352
3356
  return L ? `' ${L} '` : '"\\200B"';
3353
- }), p = N(), w = N(), M = N(), b = N(), $ = N("0px"), A = N("0px"), { width: j } = hs(M);
3357
+ }), p = N(), w = N(), x = N(), b = N(), $ = N("0px"), M = N("0px"), { width: T } = hs(x);
3354
3358
  Et(p, (L) => {
3355
3359
  const [G] = L, { width: ae, left: de } = G.contentRect;
3356
- x($, `${ae + de}px`);
3360
+ A($, `${ae + de}px`);
3357
3361
  }), Et(w, (L) => {
3358
3362
  const [G] = L, { width: ae, right: de } = G.contentRect;
3359
- x(A, `${ae + de}px`);
3363
+ A(M, `${ae + de}px`);
3360
3364
  });
3361
- const { hasError: P, hasSuccess: D, hasMessages: S } = Vt(
3365
+ const { hasError: H, hasSuccess: j, hasMessages: R } = Vt(
3362
3366
  c,
3363
3367
  d
3364
- ), C = he(), E = tt(), H = He(), { focused: W } = ws(b), R = $s(
3368
+ ), S = he(), D = tt(), I = He(), { focused: W } = ws(b), C = $s(
3365
3369
  f,
3366
3370
  r,
3367
3371
  os(l),
@@ -3370,76 +3374,76 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3370
3374
  function Q() {
3371
3375
  a("update:modelValue", ""), a("clear");
3372
3376
  }
3373
- return (L, G) => (_(), y("div", Ce(Re(e(bt)(e(E)))), [
3374
- O("div", {
3377
+ return (L, G) => (_(), y("div", Ce(Re(e(bt)(e(D)))), [
3378
+ P("div", {
3375
3379
  class: g([
3376
- e(C).wrapper,
3377
- e(C)[L.color ?? ""],
3378
- e(C)[L.variant],
3380
+ e(S).wrapper,
3381
+ e(S)[L.color ?? ""],
3382
+ e(S)[L.variant],
3379
3383
  {
3380
- [e(C).dense]: L.dense,
3381
- [e(C).disabled]: e(l),
3382
- [e(C)["no-label"]]: !e(o),
3383
- [e(C)["with-error"]]: e(P),
3384
- [e(C)["with-success"]]: e(D) && !e(P),
3385
- [e(C)[`text_${L.textColor}`]]: L.textColor && !e(S)
3384
+ [e(S).dense]: L.dense,
3385
+ [e(S).disabled]: e(l),
3386
+ [e(S)["no-label"]]: !e(o),
3387
+ [e(S)["with-error"]]: e(H),
3388
+ [e(S)["with-success"]]: e(j) && !e(H),
3389
+ [e(S)[`text_${L.textColor}`]]: L.textColor && !e(R)
3386
3390
  }
3387
3391
  ])
3388
3392
  }, [
3389
- e(H).prepend || L.prependIcon ? (_(), y("div", {
3393
+ e(I).prepend || L.prependIcon ? (_(), y("div", {
3390
3394
  key: 0,
3391
3395
  ref_key: "prepend",
3392
3396
  ref: p,
3393
- class: g(["flex items-center gap-1 shrink-0", e(C).prepend])
3397
+ class: g(["flex items-center gap-1 shrink-0", e(S).prepend])
3394
3398
  }, [
3395
- e(H).prepend ? F(L.$slots, "prepend", { key: 0 }) : L.prependIcon ? (_(), y("div", {
3399
+ e(I).prepend ? F(L.$slots, "prepend", { key: 0 }) : L.prependIcon ? (_(), y("div", {
3396
3400
  key: 1,
3397
- class: g([e(C).icon])
3401
+ class: g([e(S).icon])
3398
3402
  }, [
3399
3403
  J(ce, { name: L.prependIcon }, null, 8, ["name"])
3400
3404
  ], 2)) : B("", !0)
3401
3405
  ], 2)) : B("", !0),
3402
- O("div", {
3406
+ P("div", {
3403
3407
  ref_key: "innerWrapper",
3404
- ref: M,
3408
+ ref: x,
3405
3409
  class: "flex flex-1 overflow-hidden",
3406
3410
  onClick: G[3] || (G[3] = (ae) => a("focus-input", ae))
3407
3411
  }, [
3408
3412
  (_(), U(qt(L.as), se({
3409
3413
  value: e(r),
3410
3414
  placeholder: L.placeholder || " ",
3411
- class: e(C).input,
3415
+ class: e(S).input,
3412
3416
  disabled: e(l),
3413
3417
  dense: L.dense,
3414
3418
  variant: L.variant,
3415
3419
  readonly: e(u),
3416
- "wrapper-width": e(j)
3417
- }, e(Bt)(e(E)), {
3420
+ "wrapper-width": e(T)
3421
+ }, e(Bt)(e(D)), {
3418
3422
  onInput: G[0] || (G[0] = (ae) => h(ae)),
3419
3423
  onBlur: G[1] || (G[1] = (ae) => a("blur", ae)),
3420
3424
  onRemove: G[2] || (G[2] = (ae) => a("remove", ae))
3421
3425
  }), null, 16, ["value", "placeholder", "class", "disabled", "dense", "variant", "readonly", "wrapper-width"])),
3422
- O("label", {
3423
- class: g(e(C).label)
3426
+ P("label", {
3427
+ class: g(e(S).label)
3424
3428
  }, [
3425
- O("span", null, ue(e(o)), 1)
3429
+ P("span", null, ue(e(o)), 1)
3426
3430
  ], 2),
3427
3431
  L.variant === "outlined" ? (_(), y("fieldset", {
3428
3432
  key: 0,
3429
- class: g(e(C).fieldset)
3433
+ class: g(e(S).fieldset)
3430
3434
  }, [
3431
- O("legend", {
3432
- class: g({ [e(C).show]: e(o) })
3435
+ P("legend", {
3436
+ class: g({ [e(S).show]: e(o) })
3433
3437
  }, null, 2)
3434
3438
  ], 2)) : B("", !0)
3435
3439
  ], 512),
3436
- e(H).append || L.appendIcon || e(R) ? (_(), y("div", {
3440
+ e(I).append || L.appendIcon || e(C) ? (_(), y("div", {
3437
3441
  key: 1,
3438
3442
  ref_key: "append",
3439
3443
  ref: w,
3440
- class: g(["flex items-center gap-1 shrink-0", e(C).append])
3444
+ class: g(["flex items-center gap-1 shrink-0", e(S).append])
3441
3445
  }, [
3442
- e(R) ? (_(), U(Te, {
3446
+ e(C) ? (_(), U(Te, {
3443
3447
  key: 0,
3444
3448
  class: g([{ hidden: !e(W) }, "!p-2"]),
3445
3449
  variant: "text",
@@ -3456,9 +3460,9 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3456
3460
  ]),
3457
3461
  _: 1
3458
3462
  }, 8, ["class", "color"])) : B("", !0),
3459
- e(H).append ? F(L.$slots, "append", { key: 1 }) : L.appendIcon ? (_(), y("div", {
3463
+ e(I).append ? F(L.$slots, "append", { key: 1 }) : L.appendIcon ? (_(), y("div", {
3460
3464
  key: 2,
3461
- class: g([e(C).icon])
3465
+ class: g([e(S).icon])
3462
3466
  }, [
3463
3467
  J(ce, { name: L.appendIcon }, null, 8, ["name"])
3464
3468
  ], 2)) : B("", !0)
@@ -3533,20 +3537,20 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3533
3537
  onOpen: m,
3534
3538
  onClose: p,
3535
3539
  onPopperLeave: w,
3536
- updatePopper: M
3540
+ updatePopper: x
3537
3541
  } = Hn(f, l, r, o);
3538
3542
  return s({
3539
3543
  onOpen: m,
3540
3544
  onClose: p
3541
3545
  }), (b, $) => {
3542
- var A;
3546
+ var M;
3543
3547
  return _(), y("div", {
3544
3548
  ref_key: "activator",
3545
3549
  ref: u,
3546
3550
  class: g(e(a).wrapper),
3547
3551
  "data-tooltip-disabled": e(l),
3548
- onMouseover: $[4] || ($[4] = (j) => e(m)()),
3549
- onMouseleave: $[5] || ($[5] = (j) => e(p)())
3552
+ onMouseover: $[4] || ($[4] = (T) => e(m)()),
3553
+ onMouseleave: $[5] || ($[5] = (T) => e(p)())
3550
3554
  }, [
3551
3555
  F(b.$slots, "activator", {
3552
3556
  open: e(d),
@@ -3563,7 +3567,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3563
3567
  class: g([
3564
3568
  e(a).tooltip,
3565
3569
  b.tooltipClass,
3566
- e(a)[`tooltip__${((A = e(f)) == null ? void 0 : A.strategy) ?? "absolute"}`]
3570
+ e(a)[`tooltip__${((M = e(f)) == null ? void 0 : M.strategy) ?? "absolute"}`]
3567
3571
  ]),
3568
3572
  role: "tooltip"
3569
3573
  }, [
@@ -3574,16 +3578,16 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3574
3578
  "leave-active-class": "transition ease-in duration-150",
3575
3579
  "leave-from-class": "opacity-100 translate-y-0",
3576
3580
  "leave-to-class": "opacity-0 translate-y-1",
3577
- onBeforeEnter: $[2] || ($[2] = (j) => e(M)()),
3578
- onAfterLeave: $[3] || ($[3] = (j) => e(w)())
3581
+ onBeforeEnter: $[2] || ($[2] = (T) => e(x)()),
3582
+ onAfterLeave: $[3] || ($[3] = (T) => e(w)())
3579
3583
  }, {
3580
3584
  default: ee(() => [
3581
3585
  e(d) ? (_(), y("div", {
3582
3586
  key: "tooltip",
3583
3587
  class: g(e(a).base),
3584
3588
  role: "tooltip-content",
3585
- onMouseover: $[0] || ($[0] = (j) => b.persistOnTooltipHover && e(m)()),
3586
- onMouseleave: $[1] || ($[1] = (j) => b.persistOnTooltipHover && e(p)())
3589
+ onMouseover: $[0] || ($[0] = (T) => b.persistOnTooltipHover && e(m)()),
3590
+ onMouseleave: $[1] || ($[1] = (T) => b.persistOnTooltipHover && e(p)())
3587
3591
  }, [
3588
3592
  F(b.$slots, "default", {}, () => [
3589
3593
  Ie(ue(b.text), 1)
@@ -3673,7 +3677,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3673
3677
  ])
3674
3678
  }, [
3675
3679
  F(m.$slots, "badge", {}, () => [
3676
- O("span", null, ue(e(u)), 1)
3680
+ P("span", null, ue(e(u)), 1)
3677
3681
  ]),
3678
3682
  F(m.$slots, "icon", {}, () => [
3679
3683
  e(l) ? (_(), U(ce, {
@@ -3741,25 +3745,25 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3741
3745
  } = be(t), c = N(!1), d = N(!1);
3742
3746
  Ct(r, ($) => {
3743
3747
  st(() => {
3744
- x(c, $);
3748
+ A(c, $);
3745
3749
  });
3746
3750
  }), xe(c, ($) => {
3747
3751
  $ ? st(() => {
3748
- x(d, $);
3752
+ A(d, $);
3749
3753
  }) : setTimeout(() => {
3750
- x(d, $);
3754
+ A(d, $);
3751
3755
  }, 100);
3752
3756
  });
3753
3757
  function h($) {
3754
3758
  a("update:model-value", $), $ || a("closed");
3755
3759
  }
3756
3760
  xe(d, ($) => {
3757
- $ ? (h($), x(c, $)) : setTimeout(() => {
3758
- h($), x(c, $);
3761
+ $ ? (h($), A(c, $)) : setTimeout(() => {
3762
+ h($), A(c, $);
3759
3763
  }, 100);
3760
3764
  });
3761
3765
  function m() {
3762
- x(d, !1);
3766
+ A(d, !1);
3763
3767
  }
3764
3768
  const p = V(() => ({
3765
3769
  width: ms(i(f)),
@@ -3770,10 +3774,10 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3770
3774
  $.focus();
3771
3775
  });
3772
3776
  });
3773
- const M = V(() => ({
3777
+ const x = V(() => ({
3774
3778
  onClick: () => {
3775
3779
  const $ = !i(c);
3776
- x(c, $), h($);
3780
+ A(c, $), h($);
3777
3781
  }
3778
3782
  })), b = V(() => i(u) ? {
3779
3783
  enterFromClass: "translate-y-full",
@@ -3790,15 +3794,15 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3790
3794
  leaveActiveClass: "ease-in duration-100",
3791
3795
  leaveToClass: "opacity-0 scale-75"
3792
3796
  });
3793
- return ($, A) => (_(), y("div", null, [
3794
- F($.$slots, "activator", Ce(Re({ attrs: e(M), isOpen: e(d) }))),
3797
+ return ($, M) => (_(), y("div", null, [
3798
+ F($.$slots, "activator", Ce(Re({ attrs: e(x), isOpen: e(d) }))),
3795
3799
  (_(), U(is, { to: "body" }, [
3796
3800
  e(d) || e(c) ? (_(), y("div", {
3797
3801
  key: 0,
3798
3802
  class: g(e(o).wrapper),
3799
3803
  role: "dialog",
3800
3804
  tabindex: "0",
3801
- onKeydown: A[1] || (A[1] = Ue(Ge((j) => !$.persistent && m(), ["stop"]), ["esc"]))
3805
+ onKeydown: M[1] || (M[1] = Ue(Ge((T) => !$.persistent && m(), ["stop"]), ["esc"]))
3802
3806
  }, [
3803
3807
  J(It, {
3804
3808
  "enter-from-class": "opacity-0",
@@ -3812,7 +3816,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3812
3816
  e(d) && e(c) ? (_(), y("div", {
3813
3817
  key: 0,
3814
3818
  class: g(e(o).overlay),
3815
- onClick: A[0] || (A[0] = Ge((j) => !$.persistent && m(), ["stop"]))
3819
+ onClick: M[0] || (M[0] = Ge((T) => !$.persistent && m(), ["stop"]))
3816
3820
  }, null, 2)) : B("", !0)
3817
3821
  ]),
3818
3822
  _: 1
@@ -3975,7 +3979,7 @@ const Si = ["tabindex"], Bi = { class: "flex" }, zi = {
3975
3979
  const n = N(0);
3976
3980
  return { count: n, nextId: () => {
3977
3981
  const t = i(n) + 1;
3978
- return x(n, t), t;
3982
+ return A(n, t), t;
3979
3983
  } };
3980
3984
  });
3981
3985
  function Fn(n = "") {
@@ -4005,7 +4009,7 @@ const yp = {
4005
4009
  setup(n, { emit: s }) {
4006
4010
  const t = s, a = N("");
4007
4011
  St(() => {
4008
- x(a, Fn("radio-group"));
4012
+ A(a, Fn("radio-group"));
4009
4013
  });
4010
4014
  const o = He(), r = V(() => {
4011
4015
  var u;
@@ -4014,7 +4018,7 @@ const yp = {
4014
4018
  }), f = he();
4015
4019
  return (l, u) => (_(), y("div", Ce(Re(l.$attrs)), [
4016
4020
  l.label ? (_(), y("div", yp, ue(l.label), 1)) : B("", !0),
4017
- O("div", {
4021
+ P("div", {
4018
4022
  class: g([e(f).wrapper, { [e(f).wrapper__inline]: l.inline }])
4019
4023
  }, [
4020
4024
  (_(!0), y(Ae, null, Ve(e(r), (c, d) => (_(), U(qt(c), se({ ref_for: !0 }, e(Es)(l.$props, ["disabled", "color", "size"]), {
@@ -4062,12 +4066,12 @@ const yp = {
4062
4066
  const d = V(() => {
4063
4067
  const b = i(r);
4064
4068
  return b === "lg" ? 28 : b === "sm" ? 20 : 24;
4065
- }), h = V(() => i(o) === i(f)), m = he(), p = tt(), { hasError: w, hasSuccess: M } = Vt(
4069
+ }), h = V(() => i(o) === i(f)), m = he(), p = tt(), { hasError: w, hasSuccess: x } = Vt(
4066
4070
  u,
4067
4071
  l
4068
4072
  );
4069
4073
  return (b, $) => (_(), y("div", Ce(Re(e(bt)(e(p)))), [
4070
- O("label", {
4074
+ P("label", {
4071
4075
  class: g([
4072
4076
  e(m).wrapper,
4073
4077
  e(m)[e(r) ?? ""],
@@ -4076,16 +4080,16 @@ const yp = {
4076
4080
  }
4077
4081
  ])
4078
4082
  }, [
4079
- O("input", se({
4083
+ P("input", se({
4080
4084
  checked: e(h),
4081
4085
  type: "radio",
4082
4086
  class: e(m).input,
4083
4087
  disabled: b.disabled
4084
4088
  }, e(Bt)(e(p)), {
4085
4089
  value: e(f),
4086
- onInput: $[0] || ($[0] = (A) => c(A))
4090
+ onInput: $[0] || ($[0] = (M) => c(M))
4087
4091
  }), null, 16, xp),
4088
- O("div", {
4092
+ P("div", {
4089
4093
  class: g([
4090
4094
  e(m).radio,
4091
4095
  e(m)[b.color ?? ""],
@@ -4094,7 +4098,7 @@ const yp = {
4094
4098
  [e(m).checked]: e(h),
4095
4099
  [e(m).disabled]: b.disabled,
4096
4100
  [e(m)["with-error"]]: e(w),
4097
- [e(m)["with-success"]]: e(M) && !e(w)
4101
+ [e(m)["with-success"]]: e(x) && !e(w)
4098
4102
  }
4099
4103
  ])
4100
4104
  }, [
@@ -4108,7 +4112,7 @@ const yp = {
4108
4112
  size: e(d)
4109
4113
  }, null, 8, ["size"]))
4110
4114
  ], 2),
4111
- O("div", {
4115
+ P("div", {
4112
4116
  class: g([e(m).label, "text-body-1"])
4113
4117
  }, [
4114
4118
  F(b.$slots, "default", {}, () => [
@@ -4176,7 +4180,7 @@ const yp = {
4176
4180
  type: e(t) ? "password" : "text"
4177
4181
  }), lt({
4178
4182
  append: ee(() => [
4179
- O("div", qp, [
4183
+ P("div", qp, [
4180
4184
  J(Te, {
4181
4185
  disabled: r.disabled,
4182
4186
  tabindex: "-1",
@@ -4231,7 +4235,7 @@ const yp = {
4231
4235
  }), u = V(() => {
4232
4236
  const d = i(l), { logo: h } = s;
4233
4237
  if (!h || !d[h]) {
4234
- x(o, i(r));
4238
+ A(o, i(r));
4235
4239
  return;
4236
4240
  }
4237
4241
  const m = `https://raw.githubusercontent.com/rotki/data/${s.branch}/assets/icons/${d[h]}`;
@@ -4240,15 +4244,15 @@ const yp = {
4240
4244
  async function c() {
4241
4245
  var d;
4242
4246
  if (s.logo) {
4243
- x(r, !0);
4247
+ A(r, !0);
4244
4248
  try {
4245
4249
  const { data: h } = await ia(
4246
4250
  `https://raw.githubusercontent.com/rotki/data/${s.branch}/constants/asset-mappings.json`
4247
4251
  ), m = Do((d = JSON.parse(i(h) ?? "null")) == null ? void 0 : d.logo, "camelCase");
4248
- m && x(l, m);
4252
+ m && A(l, m);
4249
4253
  } catch {
4250
4254
  }
4251
- x(r, !1);
4255
+ A(r, !1);
4252
4256
  }
4253
4257
  }
4254
4258
  return xe(
@@ -4258,7 +4262,7 @@ const yp = {
4258
4262
  },
4259
4263
  (d) => {
4260
4264
  var h;
4261
- d && ((h = i(t)) == null || h.decode().catch(() => x(a, !0)).finally(() => x(o, !1)));
4265
+ d && ((h = i(t)) == null || h.decode().catch(() => A(a, !0)).finally(() => A(o, !1)));
4262
4266
  }
4263
4267
  ), bn(c), sa || Yn(), Qn(async () => {
4264
4268
  await c();
@@ -4311,7 +4315,7 @@ const yp = {
4311
4315
  return (l, u) => (_(), y("div", se({
4312
4316
  class: e(r).wrapper
4313
4317
  }, l.$attrs), [
4314
- bs(O("select", {
4318
+ bs(P("select", {
4315
4319
  "onUpdate:modelValue": u[0] || (u[0] = (c) => Rt(f) ? f.value = c : null),
4316
4320
  class: g([
4317
4321
  e(r).select,
@@ -4328,7 +4332,7 @@ const yp = {
4328
4332
  ], 10, Gp), [
4329
4333
  [Jn, e(f)]
4330
4334
  ]),
4331
- O("span", {
4335
+ P("span", {
4332
4336
  class: g(e(r).icon__wrapper)
4333
4337
  }, [
4334
4338
  J(ce, {
@@ -4418,30 +4422,30 @@ const yp = {
4418
4422
  }),
4419
4423
  emits: ["update:modelValue"],
4420
4424
  setup(n) {
4421
- yt((R) => ({
4425
+ yt((C) => ({
4422
4426
  "0acc8e2a": e(d)
4423
4427
  }));
4424
4428
  const s = n, t = Ht(n, "modelValue"), a = he(), { dense: o, options: r } = be(s), f = N(), l = N(), { focused: u } = ws(l), c = V({
4425
4429
  get: () => {
4426
- const R = s.keyAttr, Q = i(t);
4427
- return R ? s.options.find((L) => L[R] === Q) : Q;
4430
+ const C = s.keyAttr, Q = i(t);
4431
+ return C ? s.options.find((L) => L[C] === Q) : Q;
4428
4432
  },
4429
- set: (R) => {
4430
- const Q = s.keyAttr, L = Q && R ? R[Q] : R;
4431
- x(t, L);
4433
+ set: (C) => {
4434
+ const Q = s.keyAttr, L = Q && C ? C[Q] : C;
4435
+ A(t, L);
4432
4436
  }
4433
4437
  }), d = V(() => s.label ? `' ${s.label} '` : '"\\200B"'), {
4434
4438
  containerProps: h,
4435
4439
  wrapperProps: m,
4436
4440
  renderedData: p,
4437
4441
  isOpen: w,
4438
- menuWidth: M,
4442
+ menuWidth: x,
4439
4443
  getText: b,
4440
4444
  getIdentifier: $,
4441
- isActiveItem: A,
4442
- highlightedIndex: j,
4443
- moveHighlight: P,
4444
- valueKey: D
4445
+ isActiveItem: M,
4446
+ highlightedIndex: T,
4447
+ moveHighlight: H,
4448
+ valueKey: j
4445
4449
  } = Ln({
4446
4450
  itemHeight: s.itemHeight ?? (s.dense ? 30 : 48),
4447
4451
  keyAttr: s.keyAttr,
@@ -4452,91 +4456,91 @@ const yp = {
4452
4456
  value: c,
4453
4457
  menuRef: f,
4454
4458
  autoSelectFirst: s.autoSelectFirst
4455
- }), S = V(() => s.variant === "outlined"), C = V(() => (i(w) || !!i(c)) && i(S)), E = V(() => ({
4459
+ }), R = V(() => s.variant === "outlined"), S = V(() => (i(w) || !!i(c)) && i(R)), D = V(() => ({
4456
4460
  style: h.style,
4457
4461
  ref: h.ref
4458
4462
  }));
4459
- function H(R, Q) {
4460
- as(Q) && x(j, Q), x(c, R), x(u, !0);
4463
+ function I(C, Q) {
4464
+ as(Q) && A(T, Q), A(c, C), A(u, !0);
4461
4465
  }
4462
4466
  function W() {
4463
- x(t, void 0);
4467
+ A(t, void 0);
4464
4468
  }
4465
- return (R, Q) => (_(), U(In, se({
4469
+ return (C, Q) => (_(), U(In, se({
4466
4470
  modelValue: e(w),
4467
4471
  "onUpdate:modelValue": Q[6] || (Q[6] = (L) => Rt(w) ? w.value = L : null),
4468
4472
  class: e(a).wrapper
4469
4473
  }, {
4470
- ...("getRootAttrs" in R ? R.getRootAttrs : e(bt))(R.$attrs),
4474
+ ...("getRootAttrs" in C ? C.getRootAttrs : e(bt))(C.$attrs),
4471
4475
  placement: "bottom-start",
4472
4476
  closeOnContentClick: !0,
4473
4477
  fullWidth: !0,
4474
- ...R.menuOptions,
4475
- errorMessages: R.errorMessages,
4476
- successMessages: R.successMessages,
4477
- hint: R.hint,
4478
+ ...C.menuOptions,
4479
+ errorMessages: C.errorMessages,
4480
+ successMessages: C.successMessages,
4481
+ hint: C.hint,
4478
4482
  dense: e(o),
4479
- showDetails: !R.hideDetails,
4480
- disabled: R.disabled
4483
+ showDetails: !C.hideDetails,
4484
+ disabled: C.disabled
4481
4485
  }), {
4482
4486
  activator: ee(({ attrs: L, open: G, hasError: ae, hasSuccess: de }) => [
4483
- F(R.$slots, "activator", Ce(Re({ disabled: R.disabled, value: e(c), variant: R.variant, readOnly: R.readOnly, attrs: L, open: G, hasError: ae, hasSuccess: de })), () => [
4484
- O("button", se({
4487
+ F(C.$slots, "activator", Ce(Re({ disabled: C.disabled, value: e(c), variant: C.variant, readOnly: C.readOnly, attrs: L, open: G, hasError: ae, hasSuccess: de })), () => [
4488
+ P("button", se({
4485
4489
  ref_key: "activator",
4486
4490
  ref: l,
4487
- disabled: R.disabled,
4488
- "aria-disabled": R.disabled,
4491
+ disabled: C.disabled,
4492
+ "aria-disabled": C.disabled,
4489
4493
  type: "button",
4490
- tabindex: R.disabled || R.readOnly ? -1 : 0,
4494
+ tabindex: C.disabled || C.readOnly ? -1 : 0,
4491
4495
  class: ["group", [
4492
4496
  e(a).activator,
4493
- R.labelClass,
4497
+ C.labelClass,
4494
4498
  {
4495
- [e(a).disabled]: R.disabled,
4496
- [e(a).readonly]: R.readOnly,
4497
- [e(a).outlined]: e(S),
4499
+ [e(a).disabled]: C.disabled,
4500
+ [e(a).readonly]: C.readOnly,
4501
+ [e(a).outlined]: e(R),
4498
4502
  [e(a).dense]: e(o),
4499
- [e(a).float]: e(C),
4503
+ [e(a).float]: e(S),
4500
4504
  [e(a).opened]: G,
4501
4505
  [e(a)["with-value"]]: !!e(c),
4502
4506
  [e(a)["with-error"]]: ae,
4503
4507
  [e(a)["with-success"]]: de && !ae
4504
4508
  }
4505
4509
  ]]
4506
- }, { ...("getNonRootAttrs" in R ? R.getNonRootAttrs : e(Bt))(R.$attrs), ...R.readOnly ? {} : L }, {
4510
+ }, { ...("getNonRootAttrs" in C ? C.getNonRootAttrs : e(Bt))(C.$attrs), ...C.readOnly ? {} : L }, {
4507
4511
  "data-id": "activator",
4508
4512
  onKeydown: [
4509
- Q[1] || (Q[1] = Ue(Ge((T) => e(P)(!0), ["prevent"]), ["up"])),
4510
- Q[2] || (Q[2] = Ue(Ge((T) => e(P)(!1), ["prevent"]), ["down"]))
4513
+ Q[1] || (Q[1] = Ue(Ge((O) => e(H)(!0), ["prevent"]), ["up"])),
4514
+ Q[2] || (Q[2] = Ue(Ge((O) => e(H)(!1), ["prevent"]), ["down"]))
4511
4515
  ]
4512
4516
  }), [
4513
- e(S) || !e(c) ? (_(), y("span", {
4517
+ e(R) || !e(c) ? (_(), y("span", {
4514
4518
  key: 0,
4515
4519
  class: g([
4516
4520
  e(a).label,
4517
4521
  {
4518
- absolute: e(S),
4519
- "pr-2": !e(c) && !G && e(S)
4522
+ absolute: e(R),
4523
+ "pr-2": !e(c) && !G && e(R)
4520
4524
  }
4521
4525
  ])
4522
4526
  }, [
4523
- F(R.$slots, "activator.label", Ce(Re({ value: e(c) })), () => [
4524
- Ie(ue(R.label), 1)
4527
+ F(C.$slots, "activator.label", Ce(Re({ value: e(c) })), () => [
4528
+ Ie(ue(C.label), 1)
4525
4529
  ])
4526
4530
  ], 2)) : B("", !0),
4527
4531
  e(c) ? (_(), y("span", {
4528
4532
  key: 1,
4529
4533
  class: g(["w-full", e(a).value])
4530
4534
  }, [
4531
- F(R.$slots, "selection.prepend", Ce(Re({ item: e(c) }))),
4532
- F(R.$slots, "selection", Ce(Re({ item: e(c) })), () => [
4535
+ F(C.$slots, "selection.prepend", Ce(Re({ item: e(c) }))),
4536
+ F(C.$slots, "selection", Ce(Re({ item: e(c) })), () => [
4533
4537
  Ie(ue(e(b)(e(c))), 1)
4534
4538
  ])
4535
4539
  ], 2)) : B("", !0),
4536
- R.clearable && e(c) && !R.disabled ? (_(), y("span", {
4540
+ C.clearable && e(c) && !C.disabled ? (_(), y("span", {
4537
4541
  key: 2,
4538
4542
  class: g(["group-hover:!visible", [e(a).clear, e(u) && "!visible"]]),
4539
- onClick: Q[0] || (Q[0] = Ge((T) => W(), ["stop", "prevent"]))
4543
+ onClick: Q[0] || (Q[0] = Ge((O) => W(), ["stop", "prevent"]))
4540
4544
  }, [
4541
4545
  J(ce, {
4542
4546
  color: "error",
@@ -4544,7 +4548,7 @@ const yp = {
4544
4548
  size: "18"
4545
4549
  })
4546
4550
  ], 2)) : B("", !0),
4547
- O("span", {
4551
+ P("span", {
4548
4552
  class: g(e(a).icon__wrapper)
4549
4553
  }, [
4550
4554
  J(ce, {
@@ -4553,7 +4557,7 @@ const yp = {
4553
4557
  name: "arrow-drop-down-fill"
4554
4558
  }, null, 8, ["class", "size"])
4555
4559
  ], 2),
4556
- R.loading ? (_(), U(Nt, {
4560
+ C.loading ? (_(), U(Nt, {
4557
4561
  key: 3,
4558
4562
  class: "absolute left-0 bottom-0 w-full",
4559
4563
  color: "primary",
@@ -4561,17 +4565,17 @@ const yp = {
4561
4565
  variant: "indeterminate"
4562
4566
  })) : B("", !0)
4563
4567
  ], 16, df),
4564
- e(S) ? (_(), y("fieldset", {
4568
+ e(R) ? (_(), y("fieldset", {
4565
4569
  key: 0,
4566
4570
  class: g(e(a).fieldset)
4567
4571
  }, [
4568
- O("legend", {
4569
- class: g({ "px-2": e(C) })
4572
+ P("legend", {
4573
+ class: g({ "px-2": e(S) })
4570
4574
  }, null, 2)
4571
4575
  ], 2)) : B("", !0)
4572
4576
  ]),
4573
- O("input", {
4574
- value: e(D),
4577
+ P("input", {
4578
+ value: e(j),
4575
4579
  class: "hidden",
4576
4580
  type: "hidden"
4577
4581
  }, null, 8, uf)
@@ -4579,54 +4583,54 @@ const yp = {
4579
4583
  default: ee(({ width: L }) => [
4580
4584
  e(r).length > 0 ? (_(), y("div", se({
4581
4585
  key: 0,
4582
- class: [e(a).menu, R.menuClass],
4583
- style: { width: `${L}px`, minWidth: e(M) }
4584
- }, e(E), {
4586
+ class: [e(a).menu, C.menuClass],
4587
+ style: { width: `${L}px`, minWidth: e(x) }
4588
+ }, e(D), {
4585
4589
  onScroll: Q[3] || (Q[3] = //@ts-ignore
4586
4590
  (...G) => e(h).onScroll && e(h).onScroll(...G)),
4587
4591
  onKeydown: [
4588
- Q[4] || (Q[4] = Ue(Ge((G) => e(P)(!0), ["prevent"]), ["up"])),
4589
- Q[5] || (Q[5] = Ue(Ge((G) => e(P)(!1), ["prevent"]), ["down"]))
4592
+ Q[4] || (Q[4] = Ue(Ge((G) => e(H)(!0), ["prevent"]), ["up"])),
4593
+ Q[5] || (Q[5] = Ue(Ge((G) => e(H)(!1), ["prevent"]), ["down"]))
4590
4594
  ]
4591
4595
  }), [
4592
- O("div", se(e(m), {
4596
+ P("div", se(e(m), {
4593
4597
  ref_key: "menuRef",
4594
4598
  ref: f
4595
4599
  }), [
4596
4600
  (_(!0), y(Ae, null, Ve(e(p), ({ item: G, index: ae }) => (_(), U(Te, {
4597
4601
  key: ae,
4598
- active: e(A)(G),
4602
+ active: e(M)(G),
4599
4603
  size: e(o) ? "sm" : void 0,
4600
4604
  "model-value": e($)(G),
4601
4605
  variant: "list",
4602
4606
  class: g({
4603
- highlighted: e(j) === ae,
4604
- [e(a).highlighted]: !e(A)(G) && e(j) === ae
4607
+ highlighted: e(T) === ae,
4608
+ [e(a).highlighted]: !e(M)(G) && e(T) === ae
4605
4609
  }),
4606
- "onUpdate:modelValue": (de) => H(G, ae),
4607
- onMousedown: (de) => j.value = ae
4610
+ "onUpdate:modelValue": (de) => I(G, ae),
4611
+ onMousedown: (de) => T.value = ae
4608
4612
  }, {
4609
4613
  prepend: ee(() => [
4610
- F(R.$slots, "item.prepend", se({ ref_for: !0 }, { disabled: R.disabled, item: G, active: e(A)(G) }))
4614
+ F(C.$slots, "item.prepend", se({ ref_for: !0 }, { disabled: C.disabled, item: G, active: e(M)(G) }))
4611
4615
  ]),
4612
4616
  append: ee(() => [
4613
- F(R.$slots, "item.append", se({ ref_for: !0 }, { disabled: R.disabled, item: G, active: e(A)(G) }))
4617
+ F(C.$slots, "item.append", se({ ref_for: !0 }, { disabled: C.disabled, item: G, active: e(M)(G) }))
4614
4618
  ]),
4615
4619
  default: ee(() => [
4616
- F(R.$slots, "item", se({ ref_for: !0 }, { disabled: R.disabled, item: G, active: e(A)(G) }), () => [
4620
+ F(C.$slots, "item", se({ ref_for: !0 }, { disabled: C.disabled, item: G, active: e(M)(G) }), () => [
4617
4621
  Ie(ue(e(b)(G)), 1)
4618
4622
  ])
4619
4623
  ]),
4620
4624
  _: 2
4621
4625
  }, 1032, ["active", "size", "model-value", "class", "onUpdate:modelValue", "onMousedown"]))), 128))
4622
4626
  ], 16)
4623
- ], 16)) : R.hideNoData ? B("", !0) : (_(), y("div", {
4627
+ ], 16)) : C.hideNoData ? B("", !0) : (_(), y("div", {
4624
4628
  key: 1,
4625
- style: rt({ width: `${L}px`, minWidth: e(M) }),
4626
- class: g(R.menuClass)
4629
+ style: rt({ width: `${L}px`, minWidth: e(x) }),
4630
+ class: g(C.menuClass)
4627
4631
  }, [
4628
- F(R.$slots, "no-data", {}, () => [
4629
- O("div", pf, ue(R.noDataText), 1)
4632
+ F(C.$slots, "no-data", {}, () => [
4633
+ P("div", pf, ue(C.noDataText), 1)
4630
4634
  ])
4631
4635
  ], 6))
4632
4636
  ]),
@@ -4682,72 +4686,72 @@ const Of = /* @__PURE__ */ ne({
4682
4686
  },
4683
4687
  emits: ["update:model-value"],
4684
4688
  setup(n, { emit: s }) {
4685
- const t = n, a = s, { modelValue: o } = be(t), r = he(), f = Wn(), l = V(() => (i(o).limits ?? i(f.limits)).map((S) => ({ limit: S }))), u = V({
4689
+ const t = n, a = s, { modelValue: o } = be(t), r = he(), f = Wn(), l = V(() => (i(o).limits ?? i(f.limits)).map((R) => ({ limit: R }))), u = V({
4686
4690
  get: () => i(o).limit,
4687
- set: (S) => a("update:model-value", {
4691
+ set: (R) => a("update:model-value", {
4688
4692
  ...i(o),
4689
- limit: Number(S),
4693
+ limit: Number(R),
4690
4694
  page: 1
4691
4695
  })
4692
4696
  }), c = V(() => {
4693
- const { limit: S, total: C } = i(o);
4694
- return C ? Math.ceil(C / S) : 0;
4697
+ const { limit: R, total: S } = i(o);
4698
+ return S ? Math.ceil(S / R) : 0;
4695
4699
  }), d = V(() => {
4696
- const S = [];
4697
- for (let C = 1; C <= i(c); C++)
4698
- S.push({ page: C, text: b(C) });
4699
- return S;
4700
+ const R = [];
4701
+ for (let S = 1; S <= i(c); S++)
4702
+ R.push({ page: S, text: b(S) });
4703
+ return R;
4700
4704
  }), h = V(() => {
4701
- const { total: S } = i(o);
4702
- return `${S ? "" : "0 "}of ${Ss(S)}`;
4705
+ const { total: R } = i(o);
4706
+ return `${R ? "" : "0 "}of ${Ss(R)}`;
4703
4707
  }), m = V({
4704
4708
  get: () => i(o).page,
4705
- set: (S) => a("update:model-value", {
4709
+ set: (R) => a("update:model-value", {
4706
4710
  ...i(o),
4707
- page: S
4711
+ page: R
4708
4712
  })
4709
4713
  }), p = V(() => i(o).page > 1), w = V(() => i(c) > i(o).page);
4710
- function M(S) {
4714
+ function x(R) {
4711
4715
  a("update:model-value", {
4712
4716
  ...i(o),
4713
- page: S
4717
+ page: R
4714
4718
  });
4715
4719
  }
4716
- function b(S) {
4717
- const { limit: C, total: E } = i(o);
4718
- return `${Ss((S - 1) * C + 1)} - ${Ss(
4719
- Math.min(S * C, E)
4720
+ function b(R) {
4721
+ const { limit: S, total: D } = i(o);
4722
+ return `${Ss((R - 1) * S + 1)} - ${Ss(
4723
+ Math.min(R * S, D)
4720
4724
  )}`;
4721
4725
  }
4722
- function $(S) {
4723
- M(i(o).page + S);
4726
+ function $(R) {
4727
+ x(i(o).page + R);
4724
4728
  }
4725
- function A() {
4729
+ function M() {
4726
4730
  i(p) && $(-1);
4727
4731
  }
4728
- function j() {
4732
+ function T() {
4729
4733
  i(w) && $(1);
4730
4734
  }
4731
- function P() {
4732
- i(p) && M(1);
4735
+ function H() {
4736
+ i(p) && x(1);
4733
4737
  }
4734
- function D() {
4735
- i(w) && M(i(c));
4738
+ function j() {
4739
+ i(w) && x(i(c));
4736
4740
  }
4737
- return (S, C) => (_(), y("div", {
4741
+ return (R, S) => (_(), y("div", {
4738
4742
  class: g(e(r).wrapper)
4739
4743
  }, [
4740
- O("div", {
4744
+ P("div", {
4741
4745
  class: g(e(r).limit)
4742
4746
  }, [
4743
- O("span", {
4747
+ P("span", {
4744
4748
  class: g(e(r).limit__text)
4745
4749
  }, "Rows per page:", 2),
4746
4750
  J(pn, {
4747
4751
  modelValue: e(u),
4748
- "onUpdate:modelValue": C[0] || (C[0] = (E) => Rt(u) ? u.value = E : null),
4752
+ "onUpdate:modelValue": S[0] || (S[0] = (D) => Rt(u) ? u.value = D : null),
4749
4753
  options: e(l),
4750
- disabled: S.loading || S.disablePerPage,
4754
+ disabled: R.loading || R.disablePerPage,
4751
4755
  "label-class": "!text-xs !min-h-8",
4752
4756
  name: "limit",
4753
4757
  "key-attr": "limit",
@@ -4756,18 +4760,18 @@ const Of = /* @__PURE__ */ ne({
4756
4760
  dense: ""
4757
4761
  }, null, 8, ["modelValue", "options", "disabled"])
4758
4762
  ], 2),
4759
- O("div", {
4763
+ P("div", {
4760
4764
  class: g(e(r).ranges)
4761
4765
  }, [
4762
- O("span", {
4766
+ P("span", {
4763
4767
  class: g(e(r).ranges__text)
4764
4768
  }, "Items #", 2),
4765
4769
  e(d).length > 0 ? (_(), U(pn, {
4766
4770
  key: 0,
4767
4771
  modelValue: e(m),
4768
- "onUpdate:modelValue": C[1] || (C[1] = (E) => Rt(m) ? m.value = E : null),
4772
+ "onUpdate:modelValue": S[1] || (S[1] = (D) => Rt(m) ? m.value = D : null),
4769
4773
  options: e(d),
4770
- disabled: S.loading,
4774
+ disabled: R.loading,
4771
4775
  "label-class": "!text-xs !min-h-8",
4772
4776
  name: "ranges",
4773
4777
  "key-attr": "page",
@@ -4775,19 +4779,19 @@ const Of = /* @__PURE__ */ ne({
4775
4779
  "hide-details": "",
4776
4780
  dense: ""
4777
4781
  }, null, 8, ["modelValue", "options", "disabled"])) : B("", !0),
4778
- O("span", {
4782
+ P("span", {
4779
4783
  class: g(e(r).indicator)
4780
4784
  }, ue(e(h)), 3)
4781
4785
  ], 2),
4782
- O("div", {
4786
+ P("div", {
4783
4787
  class: g(e(r).navigation)
4784
4788
  }, [
4785
4789
  J(Te, {
4786
- size: S.dense ? "sm" : void 0,
4787
- disabled: !e(p) || S.loading,
4790
+ size: R.dense ? "sm" : void 0,
4791
+ disabled: !e(p) || R.loading,
4788
4792
  variant: "text",
4789
4793
  icon: "",
4790
- onClick: C[2] || (C[2] = (E) => P())
4794
+ onClick: S[2] || (S[2] = (D) => H())
4791
4795
  }, {
4792
4796
  default: ee(() => [
4793
4797
  J(ce, { name: "arrow-left-double-line" })
@@ -4795,11 +4799,11 @@ const Of = /* @__PURE__ */ ne({
4795
4799
  _: 1
4796
4800
  }, 8, ["size", "disabled"]),
4797
4801
  J(Te, {
4798
- size: S.dense ? "sm" : void 0,
4799
- disabled: !e(p) || S.loading,
4802
+ size: R.dense ? "sm" : void 0,
4803
+ disabled: !e(p) || R.loading,
4800
4804
  variant: "text",
4801
4805
  icon: "",
4802
- onClick: C[3] || (C[3] = (E) => A())
4806
+ onClick: S[3] || (S[3] = (D) => M())
4803
4807
  }, {
4804
4808
  default: ee(() => [
4805
4809
  J(ce, { name: "arrow-left-s-line" })
@@ -4807,11 +4811,11 @@ const Of = /* @__PURE__ */ ne({
4807
4811
  _: 1
4808
4812
  }, 8, ["size", "disabled"]),
4809
4813
  J(Te, {
4810
- size: S.dense ? "sm" : void 0,
4811
- disabled: !e(w) || S.loading,
4814
+ size: R.dense ? "sm" : void 0,
4815
+ disabled: !e(w) || R.loading,
4812
4816
  variant: "text",
4813
4817
  icon: "",
4814
- onClick: C[4] || (C[4] = (E) => j())
4818
+ onClick: S[4] || (S[4] = (D) => T())
4815
4819
  }, {
4816
4820
  default: ee(() => [
4817
4821
  J(ce, { name: "arrow-right-s-line" })
@@ -4819,11 +4823,11 @@ const Of = /* @__PURE__ */ ne({
4819
4823
  _: 1
4820
4824
  }, 8, ["size", "disabled"]),
4821
4825
  J(Te, {
4822
- size: S.dense ? "sm" : void 0,
4823
- disabled: !e(w) || S.loading,
4826
+ size: R.dense ? "sm" : void 0,
4827
+ disabled: !e(w) || R.loading,
4824
4828
  variant: "text",
4825
4829
  icon: "",
4826
- onClick: C[5] || (C[5] = (E) => D())
4830
+ onClick: S[5] || (S[5] = (D) => j())
4827
4831
  }, {
4828
4832
  default: ee(() => [
4829
4833
  J(ce, { name: "arrow-right-double-line" })
@@ -4892,7 +4896,7 @@ const Of = /* @__PURE__ */ ne({
4892
4896
  }
4893
4897
  ])
4894
4898
  }, [
4895
- O("tr", {
4899
+ P("tr", {
4896
4900
  class: g(e(o).tr)
4897
4901
  }, [
4898
4902
  d.selectable ? (_(), y("th", {
@@ -4961,7 +4965,7 @@ const Of = /* @__PURE__ */ ne({
4961
4965
  }, null, 8, ["class"])) : B("", !0)
4962
4966
  ]),
4963
4967
  default: ee(() => [
4964
- O("span", {
4968
+ P("span", {
4965
4969
  class: g(e(o).column__text)
4966
4970
  }, [
4967
4971
  F(d.$slots, `header.text.${m.key.toString()}`, { column: m }, () => [
@@ -5000,12 +5004,12 @@ const Of = /* @__PURE__ */ ne({
5000
5004
  key: 0,
5001
5005
  class: g([e(o).thead__loader, e(o).thead__loader_linear])
5002
5006
  }, [
5003
- O("th", {
5007
+ P("th", {
5004
5008
  class: g(e(o).progress),
5005
5009
  colspan: d.colspan,
5006
5010
  scope: "col"
5007
5011
  }, [
5008
- O("div", {
5012
+ P("div", {
5009
5013
  class: g(e(o).progress__wrapper)
5010
5014
  }, [
5011
5015
  J(Nt, {
@@ -5058,10 +5062,10 @@ function g0(n = N(!1), s) {
5058
5062
  const p = h == null ? void 0 : h.querySelectorAll(
5059
5063
  f.th
5060
5064
  ), w = d == null ? void 0 : d.querySelectorAll(f.th);
5061
- w == null || w.forEach((M, b) => {
5062
- Et(M, ($) => {
5063
- const A = $[0].target.getBoundingClientRect(), j = p == null ? void 0 : p.item(b);
5064
- j && (j.style.width = `${A.width}px`);
5065
+ w == null || w.forEach((x, b) => {
5066
+ Et(x, ($) => {
5067
+ const M = $[0].target.getBoundingClientRect(), T = p == null ? void 0 : p.item(b);
5068
+ T && (T.style.width = `${M.width}px`);
5065
5069
  });
5066
5070
  });
5067
5071
  };
@@ -5074,7 +5078,7 @@ function g0(n = N(!1), s) {
5074
5078
  subtree: !0
5075
5079
  }), m();
5076
5080
  }, u = () => {
5077
- var C;
5081
+ var S;
5078
5082
  const c = i(t);
5079
5083
  if (!i(n) || !c)
5080
5084
  return;
@@ -5084,18 +5088,18 @@ function g0(n = N(!1), s) {
5084
5088
  if (!d || !m || !p || !h || !w)
5085
5089
  return;
5086
5090
  const {
5087
- height: M,
5091
+ height: x,
5088
5092
  left: b,
5089
5093
  width: $
5090
- } = m, { bottom: A, top: j } = d, P = i(s) ?? 0;
5094
+ } = m, { bottom: M, top: T } = d, H = i(s) ?? 0;
5091
5095
  p.style.width = `${$}px`;
5092
- const D = c.querySelectorAll(f.row), S = (C = D.item(D.length - 1)) == null ? void 0 : C.getBoundingClientRect();
5093
- if (j <= P && A > P && D.length > 1) {
5094
- x(o, !0), p.style.left = `${b + r}px`;
5095
- const E = (S == null ? void 0 : S.height) ?? 0;
5096
- A <= E + M + P ? p.style.top = `${A - E - M}px` : p.style.top = `${P}px`;
5096
+ const j = c.querySelectorAll(f.row), R = (S = j.item(j.length - 1)) == null ? void 0 : S.getBoundingClientRect();
5097
+ if (T <= H && M > H && j.length > 1) {
5098
+ A(o, !0), p.style.left = `${b + r}px`;
5099
+ const D = (R == null ? void 0 : R.height) ?? 0;
5100
+ M <= D + x + H ? p.style.top = `${M - D - x}px` : p.style.top = `${H}px`;
5097
5101
  } else
5098
- x(o, !1), p.style.left = `${r}px`, p.style.top = "0";
5102
+ A(o, !1), p.style.left = `${r}px`, p.style.top = "0";
5099
5103
  };
5100
5104
  return St(() => {
5101
5105
  u(), Rs(a, "scroll", u), Rs(document.body, "scroll", u), Rs(window, "resize", u), l();
@@ -5150,21 +5154,21 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5150
5154
  function m(v) {
5151
5155
  return v.startsWith("header.");
5152
5156
  }
5153
- const p = he(), { stick: w, table: M, tableScroller: b } = g0(
5157
+ const p = he(), { stick: w, table: x, tableScroller: b } = g0(
5154
5158
  r,
5155
5159
  i(d)
5156
- ), $ = V(() => t.expanded && o["expanded-item"]), A = V(
5160
+ ), $ = V(() => t.expanded && o["expanded-item"]), M = V(
5157
5161
  () => Object.keys(o).filter(m)
5158
- ), j = V(() => t.globalItemsPerPage !== void 0 ? t.globalItemsPerPage : i(c.globalItemsPerPage)), P = (v) => Object.keys(v), D = V(() => {
5162
+ ), T = V(() => t.globalItemsPerPage !== void 0 ? t.globalItemsPerPage : i(c.globalItemsPerPage)), H = (v) => Object.keys(v), j = V(() => {
5159
5163
  const v = t.group;
5160
5164
  return v ? Array.isArray(v) ? v : [v] : [];
5161
- }), S = V(() => i(D).join(":")), C = V(() => !!i(S)), E = V(() => {
5162
- const v = t.cols ?? P(t.rows[0] ?? {}).map(
5163
- (I) => ({
5164
- key: I,
5165
- [t.columnAttr]: I.toString()
5165
+ }), R = V(() => i(j).join(":")), S = V(() => !!i(R)), D = V(() => {
5166
+ const v = t.cols ?? H(t.rows[0] ?? {}).map(
5167
+ (E) => ({
5168
+ key: E,
5169
+ [t.columnAttr]: E.toString()
5166
5170
  })
5167
- ), k = v.some((I) => I.key === "expand");
5171
+ ), k = v.some((E) => E.key === "expand");
5168
5172
  if (i($) && !k)
5169
5173
  return [
5170
5174
  ...v,
@@ -5176,49 +5180,49 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5176
5180
  align: "end"
5177
5181
  }
5178
5182
  ];
5179
- const q = i(D);
5183
+ const q = i(j);
5180
5184
  return q.length === 0 ? v : v.filter(
5181
- (I) => !q.includes(I.key)
5185
+ (E) => !q.includes(E.key)
5182
5186
  );
5183
- }), H = N(0), W = V({
5187
+ }), I = N(0), W = V({
5184
5188
  get() {
5185
5189
  return i(l);
5186
5190
  },
5187
5191
  set(v) {
5188
5192
  a("update:model-value", v);
5189
5193
  }
5190
- }), R = N([]);
5194
+ }), C = N([]);
5191
5195
  Ct(l, (v) => {
5192
- x(R, v);
5196
+ A(C, v);
5193
5197
  });
5194
5198
  const Q = V(() => t.rowAttr), L = N(), G = N([]), ae = V(() => t.pagination);
5195
5199
  Ct(ae, (v) => {
5196
- x(L, v);
5200
+ A(L, v);
5197
5201
  }), Ct(f, (v) => {
5198
- x(G, v ?? []);
5202
+ A(G, v ?? []);
5199
5203
  });
5200
5204
  const de = V({
5201
5205
  get() {
5202
5206
  var k;
5203
5207
  const v = i(L);
5204
5208
  return v ? (k = t.paginationModifiers) != null && k.external ? v : {
5205
- total: i(H),
5209
+ total: i(I),
5206
5210
  limit: v.limit,
5207
5211
  page: v.page,
5208
5212
  limits: v.limits
5209
5213
  } : {
5210
- total: i(H),
5214
+ total: i(I),
5211
5215
  limit: t.itemsPerPage,
5212
5216
  page: 1
5213
5217
  };
5214
5218
  },
5215
5219
  set(v) {
5216
- x(L, v), a("update:pagination", v), a("update:options", {
5220
+ A(L, v), a("update:pagination", v), a("update:options", {
5217
5221
  pagination: v,
5218
5222
  sort: t.sort
5219
5223
  });
5220
5224
  }
5221
- }), T = V({
5225
+ }), O = V({
5222
5226
  get() {
5223
5227
  return t.sort;
5224
5228
  },
@@ -5229,22 +5233,22 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5229
5233
  });
5230
5234
  }
5231
5235
  }), Z = V(() => {
5232
- const v = {}, k = i(T);
5233
- return k ? Array.isArray(k) ? k.reduce((q, I) => I.column ? { ...q, [I.column]: I } : q, v) : (k.column && (v[k.column] = k), v) : v;
5236
+ const v = {}, k = i(O);
5237
+ return k ? Array.isArray(k) ? k.reduce((q, E) => E.column ? { ...q, [E.column]: E } : q, v) : (k.column && (v[k.column] = k), v) : v;
5234
5238
  }), ke = V(() => {
5235
5239
  var k;
5236
5240
  const v = (k = t.search) == null ? void 0 : k.toLocaleLowerCase();
5237
5241
  return v ? t.rows.filter(
5238
- (q) => P(q).some(
5239
- (I) => `${q[I]}`.toLocaleLowerCase().includes(v)
5242
+ (q) => H(q).some(
5243
+ (E) => `${q[E]}`.toLocaleLowerCase().includes(v)
5240
5244
  )
5241
5245
  ) : t.rows;
5242
5246
  }), K = V(() => {
5243
5247
  var _e;
5244
- const v = i(T), k = [...i(ke)];
5248
+ const v = i(O), k = [...i(ke)];
5245
5249
  if (!v || (_e = t.sortModifiers) != null && _e.external)
5246
5250
  return k;
5247
- const q = { sensitivity: "accent", usage: "sort" }, I = (le) => {
5251
+ const q = { sensitivity: "accent", usage: "sort" }, E = (le) => {
5248
5252
  k.sort((We, Pt) => {
5249
5253
  const Ye = le.column;
5250
5254
  if (!Ye)
@@ -5259,30 +5263,30 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5259
5263
  );
5260
5264
  });
5261
5265
  };
5262
- return Array.isArray(v) ? v.forEach(I) : I(v), k;
5266
+ return Array.isArray(v) ? v.forEach(E) : E(v), k;
5263
5267
  }), we = V(() => {
5264
- if (!i(C))
5268
+ if (!i(S))
5265
5269
  return {};
5266
5270
  const v = i(K), k = t.rowAttr;
5267
- return v.reduce((q, I) => {
5268
- if (!as(I[k]) || I[k] === "")
5271
+ return v.reduce((q, E) => {
5272
+ if (!as(E[k]) || E[k] === "")
5269
5273
  return q;
5270
- const _e = wt(I), le = Object.values(_e).filter(as).join(",");
5274
+ const _e = wt(E), le = Object.values(_e).filter(as).join(",");
5271
5275
  return q[le] || (q[le] = [
5272
5276
  {
5273
5277
  __header__: !0,
5274
5278
  group: _e,
5275
5279
  identifier: le
5276
5280
  }
5277
- ]), q[le].push(I), q;
5281
+ ]), q[le].push(E), q;
5278
5282
  }, {});
5279
5283
  }), pe = V(() => {
5280
5284
  const v = i(K);
5281
- return i(S) ? Object.values(i(we)).flatMap((q) => q) : v;
5285
+ return i(R) ? Object.values(i(we)).flatMap((q) => q) : v;
5282
5286
  }), oe = V(() => {
5283
- var I;
5287
+ var E;
5284
5288
  const v = i(pe), k = i(de), q = k.limit;
5285
- if (k && !((I = t.paginationModifiers) != null && I.external)) {
5289
+ if (k && !((E = t.paginationModifiers) != null && E.external)) {
5286
5290
  const _e = (k.page - 1) * q, le = _e + q, We = v.slice(0, _e + 1).filter((Ne) => !h(Ne)), Pt = v.slice(_e + 1, le + We.length).filter((Ne) => !h(Ne)), Ye = v.slice(_e + We.length, le + We.length + Pt.length), at = We.at(-1);
5287
5291
  if (Ye.length > 0) {
5288
5292
  h(Ye[0]) && at && Ye.unshift(at);
@@ -5302,11 +5306,11 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5302
5306
  const v = i(W);
5303
5307
  return v ? v.length > 0 && !i(Se) : !1;
5304
5308
  }), re = V(() => i(oe).length === 0), te = V(() => {
5305
- let v = i(E).length;
5309
+ let v = i(D).length;
5306
5310
  return i(W) && v++, v;
5307
5311
  }), $e = (v) => v in i(Z);
5308
5312
  function De(v) {
5309
- const k = i(T);
5313
+ const k = i(O);
5310
5314
  return !k || !Array.isArray(k) || !$e(v) ? -1 : k.findIndex((q) => q.column === v) ?? -1;
5311
5315
  }
5312
5316
  function ye(v) {
@@ -5316,7 +5320,7 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5316
5320
  function Be(v) {
5317
5321
  var q;
5318
5322
  const k = t.rowAttr;
5319
- return k ? !!((q = i(u)) != null && q.some((I) => v === I[k])) : !1;
5323
+ return k ? !!((q = i(u)) != null && q.some((E) => v === E[k])) : !1;
5320
5324
  }
5321
5325
  function qe(v) {
5322
5326
  const { expanded: k } = t;
@@ -5326,42 +5330,42 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5326
5330
  const { expanded: k } = t;
5327
5331
  if (!k)
5328
5332
  return;
5329
- const q = t.rowAttr, I = qe(v[q]);
5330
- return t.singleExpand ? a("update:expanded", I ? [] : [v]) : a(
5333
+ const q = t.rowAttr, E = qe(v[q]);
5334
+ return t.singleExpand ? a("update:expanded", E ? [] : [v]) : a(
5331
5335
  "update:expanded",
5332
- I ? k.filter((_e) => _e[q] !== v[q]) : [...k, v]
5336
+ E ? k.filter((_e) => _e[q] !== v[q]) : [...k, v]
5333
5337
  );
5334
5338
  }
5335
5339
  function wt(v) {
5336
- return i(D).reduce((k, q) => ({ ...k, [q]: v[q] }), {});
5340
+ return i(j).reduce((k, q) => ({ ...k, [q]: v[q] }), {});
5337
5341
  }
5338
5342
  function Fe(v) {
5339
- return i(C) ? i(we)[v].filter(h) : [];
5343
+ return i(S) ? i(we)[v].filter(h) : [];
5340
5344
  }
5341
5345
  function Ke(v, k) {
5342
- const q = i(D);
5343
- return q.length === 0 ? !1 : q.every((I) => v[I] === k[I]);
5346
+ const q = i(j);
5347
+ return q.length === 0 ? !1 : q.every((E) => v[E] === k[E]);
5344
5348
  }
5345
5349
  function Oe(v) {
5346
5350
  return i(G).every((k) => !Ke(k, v));
5347
5351
  }
5348
5352
  function $t(v) {
5349
5353
  const k = t.rowAttr;
5350
- return i(C) && i(G).some(
5354
+ return i(S) && i(G).some(
5351
5355
  (q) => h(v) && v[k] === q[k]
5352
5356
  );
5353
5357
  }
5354
5358
  function Xe(v, k) {
5355
5359
  if (!k)
5356
5360
  return;
5357
- const q = i(G), I = Oe(v), _e = Fe(k);
5358
- x(
5361
+ const q = i(G), E = Oe(v), _e = Fe(k);
5362
+ A(
5359
5363
  G,
5360
- I ? [...q, ..._e] : q.filter((le) => !Ke(le, v))
5364
+ E ? [...q, ..._e] : q.filter((le) => !Ke(le, v))
5361
5365
  ), a("update:collapsed", i(G));
5362
5366
  }
5363
5367
  function kt() {
5364
- x(G, []), a("update:collapsed", []), a("update:group", Array.isArray(t.group) ? [] : void 0);
5368
+ A(G, []), a("update:collapsed", []), a("update:group", Array.isArray(t.group) ? [] : void 0);
5365
5369
  }
5366
5370
  function xt(v) {
5367
5371
  a("copy:group", v);
@@ -5370,24 +5374,24 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5370
5374
  key: v,
5371
5375
  direction: k
5372
5376
  }) {
5373
- const q = i(T);
5377
+ const q = i(O);
5374
5378
  if (q) {
5375
5379
  if (!Array.isArray(q)) {
5376
5380
  if ($e(v)) {
5377
- const I = !k || k === "asc" ? "desc" : "asc";
5378
- q.direction === I ? x(T, { ...q, column: void 0, direction: "asc" }) : x(T, {
5381
+ const E = !k || k === "asc" ? "desc" : "asc";
5382
+ q.direction === E ? A(O, { ...q, column: void 0, direction: "asc" }) : A(O, {
5379
5383
  ...q,
5380
5384
  direction: q.direction === "asc" ? "desc" : "asc"
5381
5385
  });
5382
5386
  } else
5383
- x(T, { column: v, direction: k || "asc" });
5387
+ A(O, { column: v, direction: k || "asc" });
5384
5388
  return;
5385
5389
  }
5386
5390
  if ($e(v)) {
5387
- const I = !k || k === "asc" ? "desc" : "asc", _e = De(v), le = q[_e];
5388
- le.direction === I ? q.splice(_e, 1) : le.direction = le.direction === "asc" ? "desc" : "asc", x(T, q);
5391
+ const E = !k || k === "asc" ? "desc" : "asc", _e = De(v), le = q[_e];
5392
+ le.direction === E ? q.splice(_e, 1) : le.direction = le.direction === "asc" ? "desc" : "asc", A(O, q);
5389
5393
  } else
5390
- x(T, [...q, { column: v, direction: k || "asc" }]);
5394
+ A(O, [...q, { column: v, direction: k || "asc" }]);
5391
5395
  }
5392
5396
  }
5393
5397
  function Mt(v) {
@@ -5398,7 +5402,7 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5398
5402
  }
5399
5403
  function _t(v) {
5400
5404
  const k = i(W) ?? [];
5401
- t.multiPageSelect ? v ? x(
5405
+ t.multiPageSelect ? v ? A(
5402
5406
  W,
5403
5407
  Array.from(/* @__PURE__ */ new Set(
5404
5408
  [
@@ -5406,30 +5410,30 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5406
5410
  ...i(ge).filter(Mt)
5407
5411
  ]
5408
5412
  ))
5409
- ) : x(
5413
+ ) : A(
5410
5414
  W,
5411
5415
  k.filter((q) => !i(ge).includes(q) || i(ge).filter(At).includes(q))
5412
- ) : v ? x(W, i(ge).filter(Mt)) : x(W, i(ge).filter(At));
5416
+ ) : v ? A(W, i(ge).filter(Mt)) : A(W, i(ge).filter(At));
5413
5417
  }
5414
5418
  const ht = N(!1), mt = N(-1);
5415
5419
  function Yt() {
5416
- x(ht, !1), x(mt, -1);
5420
+ A(ht, !1), A(mt, -1);
5417
5421
  }
5418
5422
  function Ft(v, k, q = !1) {
5419
5423
  if (i(ht) && q)
5420
5424
  return;
5421
- const I = i(R);
5422
- if (!I)
5425
+ const E = i(C);
5426
+ if (!E)
5423
5427
  return !1;
5424
5428
  const _e = ye(k);
5425
- v && !_e ? x(R, [...I, k]) : !v && _e && x(
5426
- R,
5427
- [...I].filter((le) => le !== k)
5428
- ), q && x(W, i(R));
5429
+ v && !_e ? A(C, [...E, k]) : !v && _e && A(
5430
+ C,
5431
+ [...E].filter((le) => le !== k)
5432
+ ), q && A(W, i(C));
5429
5433
  }
5430
5434
  function Ms(v, k, q) {
5431
- const I = v.currentTarget.querySelector("input"), _e = v.target.nodeName, le = v.shiftKey;
5432
- x(ht, le), I && _e !== "INPUT" && (le ? setTimeout(() => {
5435
+ const E = v.currentTarget.querySelector("input"), _e = v.target.nodeName, le = v.shiftKey;
5436
+ A(ht, le), E && _e !== "INPUT" && (le ? setTimeout(() => {
5433
5437
  let We = i(mt);
5434
5438
  We === -1 && (We = q);
5435
5439
  const Pt = i(oe), Ye = Pt[We];
@@ -5444,9 +5448,9 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5444
5448
  h(Cs) && !Be(Cs[at]) && Ft(Ne, Cs[at]);
5445
5449
  }
5446
5450
  }
5447
- x(mt, q), x(W, i(R));
5451
+ A(mt, q), A(W, i(C));
5448
5452
  }
5449
- }, 1) : x(mt, q));
5453
+ }, 1) : A(mt, q));
5450
5454
  }
5451
5455
  const z = V(() => t.search);
5452
5456
  function X() {
@@ -5456,13 +5460,13 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5456
5460
  });
5457
5461
  }
5458
5462
  function me() {
5459
- const { top: v } = hs(M), { top: k } = hs(t.scroller), q = t.scroller ?? document.body, I = i(M);
5460
- if (!(I && q))
5463
+ const { top: v } = hs(x), { top: k } = hs(t.scroller), q = t.scroller ?? document.body, E = i(x);
5464
+ if (!(E && q))
5461
5465
  return;
5462
5466
  const _e = i(v);
5463
5467
  setTimeout(() => {
5464
5468
  let le = _e + q.scrollTop - 2;
5465
- t.scroller ? (le -= i(k) - I.scrollTop, q.style.scrollBehavior = "smooth") : le -= i(d) ?? 0, q.scrollTop > le && (q.scrollTop = le);
5469
+ t.scroller ? (le -= i(k) - E.scrollTop, q.style.scrollBehavior = "smooth") : le -= i(d) ?? 0, q.scrollTop > le && (q.scrollTop = le);
5466
5470
  }, 10);
5467
5471
  }
5468
5472
  function ve() {
@@ -5470,27 +5474,27 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5470
5474
  }
5471
5475
  function ie(v) {
5472
5476
  var k;
5473
- (k = t.paginationModifiers) != null && k.external || x(H, v.filter(h).length);
5477
+ (k = t.paginationModifiers) != null && k.external || A(I, v.filter(h).length);
5474
5478
  }
5475
5479
  function Me(v, k) {
5476
5480
  return v[k];
5477
5481
  }
5478
5482
  return xe(L, (v) => {
5479
- v != null && v.limit && i(j) && x(c.itemsPerPage, v.limit);
5483
+ v != null && v.limit && i(T) && A(c.itemsPerPage, v.limit);
5480
5484
  }), xe(c.itemsPerPage, (v) => {
5481
- i(j) && x(de, {
5485
+ i(T) && A(de, {
5482
5486
  ...i(de),
5483
5487
  limit: v
5484
5488
  });
5485
5489
  }), xe(z, () => {
5486
- x(de, {
5490
+ A(de, {
5487
5491
  ...i(de),
5488
5492
  page: 1
5489
5493
  }), _t(!1), Yt();
5490
5494
  }), xe(K, (v) => {
5491
5495
  t.multiPageSelect || X(), ie(v);
5492
5496
  }), St(() => {
5493
- ie(i(K)), i(j) && x(de, {
5497
+ ie(i(K)), i(T) && A(de, {
5494
5498
  ...i(de),
5495
5499
  limit: i(c.itemsPerPage)
5496
5500
  });
@@ -5503,14 +5507,14 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5503
5507
  { [e(p).outlined]: v.outlined }
5504
5508
  ])
5505
5509
  }, [
5506
- O("div", {
5510
+ P("div", {
5507
5511
  ref_key: "tableScroller",
5508
5512
  ref: b,
5509
5513
  class: g(e(p).scroller)
5510
5514
  }, [
5511
- O("table", {
5515
+ P("table", {
5512
5516
  ref_key: "table",
5513
- ref: M,
5517
+ ref: x,
5514
5518
  class: g([e(p).table, { [e(p).dense]: v.dense }]),
5515
5519
  "aria-label": ""
5516
5520
  }, [
@@ -5520,23 +5524,23 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5520
5524
  "capitalize-headers": !v.cols,
5521
5525
  colspan: e(te),
5522
5526
  "column-attr": v.columnAttr,
5523
- columns: e(E),
5527
+ columns: e(D),
5524
5528
  dense: v.dense,
5525
5529
  "disable-check-all": !((q = e(oe)) != null && q.length),
5526
5530
  "is-all-selected": e(Se),
5527
5531
  "no-data": e(re),
5528
5532
  selectable: !!e(W),
5529
- "sort-data": e(T),
5533
+ "sort-data": e(O),
5530
5534
  "sorted-map": e(Z),
5531
5535
  stick: e(w),
5532
5536
  "sticky-header": e(r),
5533
- onSort: k[0] || (k[0] = (I) => Ot(I)),
5534
- "onSelect:all": k[1] || (k[1] = (I) => _t(I))
5537
+ onSort: k[0] || (k[0] = (E) => Ot(E)),
5538
+ "onSelect:all": k[1] || (k[1] = (E) => _t(E))
5535
5539
  }, lt({ _: 2 }, [
5536
- Ve(e(A), (I) => ({
5537
- name: I,
5540
+ Ve(e(M), (E) => ({
5541
+ name: E,
5538
5542
  fn: ee((_e) => [
5539
- F(v.$slots, I, Ce(Re(_e)))
5543
+ F(v.$slots, E, Ce(Re(_e)))
5540
5544
  ])
5541
5545
  }))
5542
5546
  ]), 1032, ["loading", "indeterminate", "capitalize-headers", "colspan", "column-attr", "columns", "dense", "disable-check-all", "is-all-selected", "no-data", "selectable", "sort-data", "sorted-map", "stick", "sticky-header"]),
@@ -5546,37 +5550,37 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5546
5550
  "capitalize-headers": !v.cols,
5547
5551
  colspan: e(te),
5548
5552
  "column-attr": v.columnAttr,
5549
- columns: e(E),
5553
+ columns: e(D),
5550
5554
  dense: v.dense,
5551
5555
  "no-data": e(re),
5552
5556
  selectable: !!e(W),
5553
- "sort-data": e(T),
5557
+ "sort-data": e(O),
5554
5558
  "sorted-map": e(Z),
5555
5559
  "data-id": "head-clone",
5556
5560
  class: "opacity-0 invisible"
5557
5561
  }, lt({ _: 2 }, [
5558
- Ve(e(A), (I) => ({
5559
- name: I,
5562
+ Ve(e(M), (E) => ({
5563
+ name: E,
5560
5564
  fn: ee((_e) => [
5561
- F(v.$slots, I, Ce(Re(_e)))
5565
+ F(v.$slots, E, Ce(Re(_e)))
5562
5566
  ])
5563
5567
  }))
5564
5568
  ]), 1032, ["loading", "capitalize-headers", "colspan", "column-attr", "columns", "dense", "no-data", "selectable", "sort-data", "sorted-map"])) : B("", !0),
5565
- O("tbody", {
5569
+ P("tbody", {
5566
5570
  class: g([e(p).tbody, { [e(p)["tbody--striped"]]: v.striped }])
5567
5571
  }, [
5568
5572
  o["body.prepend"] ? F(v.$slots, "body.prepend", {
5569
5573
  key: 0,
5570
5574
  colspan: e(te)
5571
5575
  }) : B("", !0),
5572
- (_(!0), y(Ae, null, Ve(e(oe), (I, _e) => (_(), y(Ae, null, [
5573
- h(I) ? (_(), y(Ae, { key: 1 }, [
5576
+ (_(!0), y(Ae, null, Ve(e(oe), (E, _e) => (_(), y(Ae, null, [
5577
+ h(E) ? (_(), y(Ae, { key: 1 }, [
5574
5578
  (_(), y("tr", {
5575
5579
  key: `row-${_e}`,
5576
5580
  class: g([
5577
5581
  e(p).tr,
5578
- { [e(p).tr__selected]: ye(I[e(Q)]) },
5579
- typeof v.itemClass == "string" ? v.itemClass : v.itemClass(I)
5582
+ { [e(p).tr__selected]: ye(E[e(Q)]) },
5583
+ typeof v.itemClass == "string" ? v.itemClass : v.itemClass(E)
5580
5584
  ])
5581
5585
  }, [
5582
5586
  e(W) ? (_(), y("td", {
@@ -5587,17 +5591,17 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5587
5591
  }, [
5588
5592
  J(qn, {
5589
5593
  "data-cy": `table-toggle-check-${_e}`,
5590
- "model-value": ye(I[e(Q)]),
5591
- disabled: Be(I[e(Q)]),
5594
+ "model-value": ye(E[e(Q)]),
5595
+ disabled: Be(E[e(Q)]),
5592
5596
  size: v.dense ? "sm" : void 0,
5593
5597
  color: "primary",
5594
5598
  class: "select-none",
5595
5599
  "hide-details": "",
5596
- "onUpdate:modelValue": (le) => Ft(le, I[e(Q)], !0),
5597
- onClick: (le) => Ms(le, I[e(Q)], _e)
5600
+ "onUpdate:modelValue": (le) => Ft(le, E[e(Q)], !0),
5601
+ onClick: (le) => Ms(le, E[e(Q)], _e)
5598
5602
  }, null, 8, ["data-cy", "model-value", "disabled", "size", "onUpdate:modelValue", "onClick"])
5599
5603
  ], 2)) : B("", !0),
5600
- (_(!0), y(Ae, null, Ve(e(E), (le, We) => (_(), y("td", {
5604
+ (_(!0), y(Ae, null, Ve(e(D), (le, We) => (_(), y("td", {
5601
5605
  key: We,
5602
5606
  class: g([
5603
5607
  e(p).td,
@@ -5610,34 +5614,34 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5610
5614
  le.key === "expand" ? F(v.$slots, `item.${le.key}`, {
5611
5615
  key: 0,
5612
5616
  column: le,
5613
- row: I,
5617
+ row: E,
5614
5618
  index: _e
5615
5619
  }, () => [
5616
5620
  o["item.expand"] ? B("", !0) : (_(), U(zs, {
5617
5621
  key: 0,
5618
- expanded: qe(I[e(Q)]),
5619
- onClick: (Pt) => Pe(I)
5622
+ expanded: qe(E[e(Q)]),
5623
+ onClick: (Pt) => Pe(E)
5620
5624
  }, null, 8, ["expanded", "onClick"]))
5621
5625
  ]) : F(v.$slots, `item.${le.key}`, {
5622
5626
  key: 1,
5623
5627
  column: le,
5624
5628
  index: _e,
5625
- row: I
5629
+ row: E
5626
5630
  }, () => [
5627
- Ie(ue(Me(I, le.key)), 1)
5631
+ Ie(ue(Me(E, le.key)), 1)
5628
5632
  ])
5629
5633
  ], 10, w0))), 128))
5630
5634
  ], 2)),
5631
- e($) && qe(I[e(Q)]) ? (_(), y("tr", {
5635
+ e($) && qe(E[e(Q)]) ? (_(), y("tr", {
5632
5636
  key: `row-expand-${_e}`,
5633
5637
  class: g([e(p).tr, e(p).tr__expandable])
5634
5638
  }, [
5635
- O("td", {
5639
+ P("td", {
5636
5640
  colspan: e(te),
5637
5641
  class: g([e(p).td])
5638
5642
  }, [
5639
5643
  F(v.$slots, "expanded-item", {
5640
- row: I,
5644
+ row: E,
5641
5645
  index: _e
5642
5646
  })
5643
5647
  ], 10, $0)
@@ -5648,30 +5652,30 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5648
5652
  }, [
5649
5653
  F(v.$slots, "group.header", {
5650
5654
  colspan: e(te),
5651
- header: I,
5652
- isOpen: Oe(I.group),
5653
- toggle: () => Xe(I.group, I.identifier)
5655
+ header: E,
5656
+ isOpen: Oe(E.group),
5657
+ toggle: () => Xe(E.group, E.identifier)
5654
5658
  }, () => [
5655
- O("td", {
5659
+ P("td", {
5656
5660
  class: g([[e(p).td], "!p-2"]),
5657
5661
  colspan: e(te)
5658
5662
  }, [
5659
- O("div", b0, [
5663
+ P("div", b0, [
5660
5664
  v.groupExpandButtonPosition === "start" ? (_(), U(zs, {
5661
5665
  key: 0,
5662
- expanded: Oe(I.group),
5663
- onClick: (le) => Xe(I.group, I.identifier)
5666
+ expanded: Oe(E.group),
5667
+ onClick: (le) => Xe(E.group, E.identifier)
5664
5668
  }, null, 8, ["expanded", "onClick"])) : B("", !0),
5665
5669
  F(v.$slots, "group.header.content", {
5666
- groupKey: e(S),
5667
- header: I
5670
+ groupKey: e(R),
5671
+ header: E
5668
5672
  }, () => [
5669
- O("span", null, ue(e(S)) + ": " + ue(I.identifier), 1),
5673
+ P("span", null, ue(e(R)) + ": " + ue(E.identifier), 1),
5670
5674
  J(Te, {
5671
5675
  size: "sm",
5672
5676
  variant: "text",
5673
5677
  icon: "",
5674
- onClick: (le) => xt({ key: e(S), value: I.group })
5678
+ onClick: (le) => xt({ key: e(R), value: E.group })
5675
5679
  }, {
5676
5680
  default: ee(() => [
5677
5681
  J(ce, {
@@ -5709,8 +5713,8 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5709
5713
  }),
5710
5714
  v.groupExpandButtonPosition === "end" ? (_(), U(zs, {
5711
5715
  key: 1,
5712
- expanded: Oe(I.group),
5713
- onClick: (le) => Xe(I.group, I.identifier)
5716
+ expanded: Oe(E.group),
5717
+ onClick: (le) => Xe(E.group, E.identifier)
5714
5718
  }, null, 8, ["expanded", "onClick"])) : B("", !0)
5715
5719
  ])
5716
5720
  ], 10, y0)
@@ -5718,7 +5722,7 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5718
5722
  ], 2))
5719
5723
  ], 64))), 256)),
5720
5724
  v.loading && e(re) ? (_(), y("tr", k0, [
5721
- O("td", {
5725
+ P("td", {
5722
5726
  class: g(e(p).tbody__loader),
5723
5727
  colspan: e(te)
5724
5728
  }, [
@@ -5743,12 +5747,12 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5743
5747
  "leave-to-class": "opacity-0 translate-y-1"
5744
5748
  }, {
5745
5749
  default: ee(() => [
5746
- O("td", {
5750
+ P("td", {
5747
5751
  class: g(e(p).td),
5748
5752
  colspan: e(te)
5749
5753
  }, [
5750
5754
  F(v.$slots, "no-data", {}, () => [
5751
- O("div", {
5755
+ P("div", {
5752
5756
  class: g(e(p).empty)
5753
5757
  }, [
5754
5758
  v.empty.label ? (_(), y("p", {
@@ -5773,7 +5777,7 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5773
5777
  colspan: e(te)
5774
5778
  }) : B("", !0)
5775
5779
  ], 2),
5776
- O("tfoot", null, [
5780
+ P("tfoot", null, [
5777
5781
  F(v.$slots, "tfoot")
5778
5782
  ])
5779
5783
  ], 2)
@@ -5782,8 +5786,8 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5782
5786
  key: 0,
5783
5787
  modelValue: e(de),
5784
5788
  "onUpdate:modelValue": [
5785
- k[3] || (k[3] = (I) => Rt(de) ? de.value = I : null),
5786
- k[4] || (k[4] = (I) => ve())
5789
+ k[3] || (k[3] = (E) => Rt(de) ? de.value = E : null),
5790
+ k[4] || (k[4] = (E) => ve())
5787
5791
  ],
5788
5792
  dense: v.dense,
5789
5793
  loading: v.loading,
@@ -5842,7 +5846,7 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5842
5846
  }, [
5843
5847
  F(a.$slots, "prepend")
5844
5848
  ], 2)) : B("", !0),
5845
- O("div", {
5849
+ P("div", {
5846
5850
  class: g(e(s).headers)
5847
5851
  }, [
5848
5852
  e(t).header ? (_(), y("h5", {
@@ -5977,9 +5981,9 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
5977
5981
  function w(re) {
5978
5982
  return re.flatMap((te) => te.type === Ae && Array.isArray(te.children) && te.children.length > 0 ? w(te.children.filter(ys)) : [te]).flat();
5979
5983
  }
5980
- const M = He(), b = V(() => {
5984
+ const x = He(), b = V(() => {
5981
5985
  var ye;
5982
- const re = ((ye = M.default) == null ? void 0 : ye.call(M)) ?? [], te = w(re), $e = i(d), De = {
5986
+ const re = ((ye = x.default) == null ? void 0 : ye.call(x)) ?? [], te = w(re), $e = i(d), De = {
5983
5987
  color: i(o),
5984
5988
  grow: i(r),
5985
5989
  disabled: i(l),
@@ -6001,17 +6005,17 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
6001
6005
  });
6002
6006
  });
6003
6007
  function $(re) {
6004
- a("update:modelValue", re), x(d, re);
6008
+ a("update:modelValue", re), A(d, re);
6005
6009
  }
6006
- const A = ua();
6007
- function j(re, { exactPath: te, exact: $e }) {
6008
- const De = A.fullPath;
6010
+ const M = ua();
6011
+ function T(re, { exactPath: te, exact: $e }) {
6012
+ const De = M.fullPath;
6009
6013
  if (te)
6010
6014
  return De === re;
6011
6015
  const ye = new URL(re, window.location.origin).pathname;
6012
6016
  return $e ? De === ye : De.startsWith(ye);
6013
6017
  }
6014
- function P() {
6018
+ function H() {
6015
6019
  st(() => {
6016
6020
  if (!i(p))
6017
6021
  return;
@@ -6035,8 +6039,8 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
6035
6039
  }
6036
6040
  });
6037
6041
  }
6038
- const D = pa();
6039
- function S(re = !1) {
6042
+ const j = pa();
6043
+ function R(re = !1) {
6040
6044
  const te = i(b).filter(
6041
6045
  ($e) => !$e.props.disabled
6042
6046
  );
@@ -6045,29 +6049,29 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
6045
6049
  te.forEach((De, ye) => {
6046
6050
  const Be = De.props;
6047
6051
  !re && ye === 0 && Be.value && ($e = Be.value);
6048
- const qe = Be.to ? D.resolve(Be.to) : void 0;
6049
- Be.link !== !1 && qe && j(qe.fullPath, Be) && ($e = qe.fullPath);
6052
+ const qe = Be.to ? j.resolve(Be.to) : void 0;
6053
+ Be.link !== !1 && qe && T(qe.fullPath, Be) && ($e = qe.fullPath);
6050
6054
  }), $($e);
6051
6055
  }
6052
- P();
6056
+ H();
6053
6057
  }
6054
6058
  St(() => {
6055
- i(f) === void 0 && S();
6056
- }), xe(A, () => {
6057
- S(!0);
6059
+ i(f) === void 0 && R();
6060
+ }), xe(M, () => {
6061
+ R(!0);
6058
6062
  });
6059
- const C = he(), { width: E, height: H } = ns(h), { width: W, height: R } = ns(m), { arrivedState: Q, x: L, y: G } = ca(h, { behavior: "smooth" }), { top: ae, bottom: de, left: T, right: Z } = be(Q), { trigger: ke, stop: K } = tn(
6060
- [W, E],
6063
+ const S = he(), { width: D, height: I } = ns(h), { width: W, height: C } = ns(m), { arrivedState: Q, x: L, y: G } = ca(h, { behavior: "smooth" }), { top: ae, bottom: de, left: O, right: Z } = be(Q), { trigger: ke, stop: K } = tn(
6064
+ [W, D],
6061
6065
  ([re, te]) => {
6062
- te > 0 && x(p, re > te);
6066
+ te > 0 && A(p, re > te);
6063
6067
  },
6064
6068
  {
6065
6069
  eventFilter: Qs(50)
6066
6070
  }
6067
6071
  ), { trigger: we, stop: pe } = tn(
6068
- [R, H],
6072
+ [C, I],
6069
6073
  ([re, te]) => {
6070
- te > 0 && x(p, re > te);
6074
+ te > 0 && A(p, re > te);
6071
6075
  },
6072
6076
  {
6073
6077
  eventFilter: Qs(500)
@@ -6076,25 +6080,25 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
6076
6080
  Ct(u, (re) => {
6077
6081
  re ? (we(), K()) : (ke(), pe());
6078
6082
  });
6079
- const oe = V(() => i(u) ? i(ae) : i(T)), ge = V(() => i(u) ? i(de) : i(Z));
6083
+ const oe = V(() => i(u) ? i(ae) : i(O)), ge = V(() => i(u) ? i(de) : i(Z));
6080
6084
  function Se() {
6081
- i(u) ? x(G, i(G) - i(H)) : x(L, i(L) - i(E));
6085
+ i(u) ? A(G, i(G) - i(I)) : A(L, i(L) - i(D));
6082
6086
  }
6083
6087
  function Ee() {
6084
- i(u) ? x(G, i(G) + i(H)) : x(L, i(L) + i(E));
6088
+ i(u) ? A(G, i(G) + i(I)) : A(L, i(L) + i(D));
6085
6089
  }
6086
6090
  return Et(h, () => {
6087
- P();
6091
+ H();
6088
6092
  }), Ct(f, (re) => {
6089
- x(d, re);
6093
+ A(d, re);
6090
6094
  }), xe(d, () => {
6091
- P();
6095
+ H();
6092
6096
  }), (re, te) => (_(), y("div", {
6093
- class: g([e(C).tabs, { [e(C)["tabs--vertical"]]: e(u) }])
6097
+ class: g([e(S).tabs, { [e(S)["tabs--vertical"]]: e(u) }])
6094
6098
  }, [
6095
6099
  e(p) ? (_(), y("div", {
6096
6100
  key: 0,
6097
- class: g([e(C).arrow, { [e(C)["arrow--vertical"]]: e(u) }])
6101
+ class: g([e(S).arrow, { [e(S)["arrow--vertical"]]: e(u) }])
6098
6102
  }, [
6099
6103
  J(Te, {
6100
6104
  class: "w-full h-full !rounded-none",
@@ -6111,23 +6115,23 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
6111
6115
  _: 1
6112
6116
  }, 8, ["color", "disabled"])
6113
6117
  ], 2)) : B("", !0),
6114
- O("div", {
6118
+ P("div", {
6115
6119
  ref_key: "bar",
6116
6120
  ref: h,
6117
6121
  class: g(["no-scrollbar", [
6118
- e(C)["tabs-bar"],
6119
- { [e(C)["tabs-bar--vertical"]]: e(u) },
6120
- { [e(C)["tabs-bar--grow"]]: e(r) }
6122
+ e(S)["tabs-bar"],
6123
+ { [e(S)["tabs-bar--vertical"]]: e(u) },
6124
+ { [e(S)["tabs-bar--grow"]]: e(r) }
6121
6125
  ]])
6122
6126
  }, [
6123
- O("div", {
6127
+ P("div", {
6124
6128
  ref_key: "wrapper",
6125
6129
  ref: m,
6126
6130
  role: "tablist",
6127
6131
  class: g([
6128
- e(C)["tabs-wrapper"],
6129
- { [e(C)["tabs-wrapper--vertical"]]: e(u) },
6130
- { [e(C)["tabs-wrapper--grow"]]: e(r) }
6132
+ e(S)["tabs-wrapper"],
6133
+ { [e(S)["tabs-wrapper--vertical"]]: e(u) },
6134
+ { [e(S)["tabs-wrapper--grow"]]: e(r) }
6131
6135
  ])
6132
6136
  }, [
6133
6137
  (_(!0), y(Ae, null, Ve(e(b), ($e, De) => (_(), U(qt($e), {
@@ -6138,7 +6142,7 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
6138
6142
  ], 2),
6139
6143
  e(p) ? (_(), y("div", {
6140
6144
  key: 1,
6141
- class: g([e(C).arrow, { [e(C)["arrow--vertical"]]: e(u) }])
6145
+ class: g([e(S).arrow, { [e(S)["arrow--vertical"]]: e(u) }])
6142
6146
  }, [
6143
6147
  J(Te, {
6144
6148
  class: "w-full h-full !rounded-none",
@@ -6190,7 +6194,7 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
6190
6194
  },
6191
6195
  emits: ["click"],
6192
6196
  setup(n, { emit: s }) {
6193
- const t = n, a = s, o = He(), { target: r, grow: f, active: l, activeClass: u, disabled: c, vertical: d, align: h, value: m } = be(t), p = he(), w = V(() => i(r) === "_self"), M = V(() => [
6197
+ const t = n, a = s, o = He(), { target: r, grow: f, active: l, activeClass: u, disabled: c, vertical: d, align: h, value: m } = be(t), p = he(), w = V(() => i(r) === "_self"), x = V(() => [
6194
6198
  p.tab,
6195
6199
  p[`tab--${i(h)}`],
6196
6200
  {
@@ -6203,51 +6207,51 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
6203
6207
  function $() {
6204
6208
  a("click", i(m));
6205
6209
  }
6206
- return (A, j) => {
6207
- const P = ea("RouterLink");
6210
+ return (M, T) => {
6211
+ const H = ea("RouterLink");
6208
6212
  return e(c) ? (_(), U(Te, se({
6209
6213
  key: 0,
6210
6214
  variant: "text",
6211
6215
  disabled: "",
6212
- class: e(M),
6216
+ class: e(x),
6213
6217
  role: "tab"
6214
6218
  }, e(b)), lt({ _: 2 }, [
6215
- Ve(o, (D, S) => ({
6216
- name: S,
6217
- fn: ee((C) => [
6218
- F(A.$slots, S, Ce(Re(C)))
6219
+ Ve(o, (j, R) => ({
6220
+ name: R,
6221
+ fn: ee((S) => [
6222
+ F(M.$slots, R, Ce(Re(S)))
6219
6223
  ])
6220
6224
  }))
6221
- ]), 1040, ["class"])) : A.link ? (_(), U(P, {
6225
+ ]), 1040, ["class"])) : M.link ? (_(), U(H, {
6222
6226
  key: 2,
6223
- to: A.to,
6224
- exact: A.exact,
6225
- "exact-path": A.exactPath,
6227
+ to: M.to,
6228
+ exact: M.exact,
6229
+ "exact-path": M.exactPath,
6226
6230
  custom: ""
6227
6231
  }, {
6228
- default: ee(({ href: D, navigate: S, isActive: C, isExactActive: E }) => [
6232
+ default: ee(({ href: j, navigate: R, isActive: S, isExactActive: D }) => [
6229
6233
  J(Te, se({
6230
6234
  class: [
6231
- ...e(M),
6235
+ ...e(x),
6232
6236
  {
6233
- [`${e(p)["tab--active"]} active-tab-link`]: A.exact ? E : C
6237
+ [`${e(p)["tab--active"]} active-tab-link`]: M.exact ? D : S
6234
6238
  }
6235
6239
  ],
6236
- color: e(l) || (A.exact ? E : C) ? A.color : void 0,
6237
- href: e(w) ? void 0 : D,
6240
+ color: e(l) || (M.exact ? D : S) ? M.color : void 0,
6241
+ href: e(w) ? void 0 : j,
6238
6242
  target: e(r),
6239
6243
  role: "tab",
6240
6244
  tag: "a"
6241
6245
  }, e(b), {
6242
6246
  variant: "text",
6243
- onClick: (H) => {
6244
- $(), e(w) && S(H);
6247
+ onClick: (I) => {
6248
+ $(), e(w) && R(I);
6245
6249
  }
6246
6250
  }), lt({ _: 2 }, [
6247
- Ve(o, (H, W) => ({
6251
+ Ve(o, (I, W) => ({
6248
6252
  name: W,
6249
- fn: ee((R) => [
6250
- F(A.$slots, W, Ce(Re(R)))
6253
+ fn: ee((C) => [
6254
+ F(M.$slots, W, Ce(Re(C)))
6251
6255
  ])
6252
6256
  }))
6253
6257
  ]), 1040, ["class", "color", "href", "target", "onClick"])
@@ -6255,17 +6259,17 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
6255
6259
  _: 3
6256
6260
  }, 8, ["to", "exact", "exact-path"])) : (_(), U(Te, se({
6257
6261
  key: 1,
6258
- class: e(M),
6259
- color: e(l) ? A.color : void 0,
6262
+ class: e(x),
6263
+ color: e(l) ? M.color : void 0,
6260
6264
  role: "tab"
6261
6265
  }, e(b), {
6262
6266
  variant: "text",
6263
- onClick: j[0] || (j[0] = (D) => $())
6267
+ onClick: T[0] || (T[0] = (j) => $())
6264
6268
  }), lt({ _: 2 }, [
6265
- Ve(o, (D, S) => ({
6266
- name: S,
6267
- fn: ee((C) => [
6268
- F(A.$slots, S, Ce(Re(C)))
6269
+ Ve(o, (j, R) => ({
6270
+ name: R,
6271
+ fn: ee((S) => [
6272
+ F(M.$slots, R, Ce(Re(S)))
6269
6273
  ])
6270
6274
  }))
6271
6275
  ]), 1040, ["class", "color"]));
@@ -6298,35 +6302,35 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
6298
6302
  const s = Ht(n, "modelValue"), t = He(), a = N(!1), o = N(-1), r = N(-1);
6299
6303
  xe(o, (h) => {
6300
6304
  st(() => {
6301
- x(r, h);
6305
+ A(r, h);
6302
6306
  });
6303
6307
  });
6304
6308
  function f(h) {
6305
6309
  return h.flatMap((m) => m.type === Ae && Array.isArray(m.children) && m.children.length > 0 ? f(m.children.filter(ys)) : [m]).flat();
6306
6310
  }
6307
6311
  const l = V(() => {
6308
- var M;
6309
- const h = ((M = t.default) == null ? void 0 : M.call(t)) ?? [], m = f(h);
6312
+ var x;
6313
+ const h = ((x = t.default) == null ? void 0 : x.call(t)) ?? [], m = f(h);
6310
6314
  let p = !1;
6311
6315
  const w = m.map((b, $) => {
6312
- var P;
6313
- const A = ((P = b.props) == null ? void 0 : P.value) ?? $;
6314
- return i(s) === A && (p = !0, x(a, $ < i(o)), x(o, $)), {
6316
+ var H;
6317
+ const M = ((H = b.props) == null ? void 0 : H.value) ?? $;
6318
+ return i(s) === M && (p = !0, A(a, $ < i(o)), A(o, $)), {
6315
6319
  ...b,
6316
6320
  props: {
6317
- value: A,
6321
+ value: M,
6318
6322
  ...b.props
6319
6323
  }
6320
6324
  };
6321
6325
  });
6322
- return p || x(o, -1), w;
6326
+ return p || A(o, -1), w;
6323
6327
  }), u = N(), c = N(), { height: d } = ns(c);
6324
6328
  return (h, m) => (_(), y("div", se({
6325
6329
  ref_key: "wrapper",
6326
6330
  ref: u,
6327
6331
  class: h.$style.tabs
6328
6332
  }, h.$attrs), [
6329
- O("div", {
6333
+ P("div", {
6330
6334
  ref_key: "inner",
6331
6335
  ref: c
6332
6336
  }, [
@@ -6466,8 +6470,8 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
6466
6470
  const t = n, a = s, { modelValue: o, multiple: r } = be(t), f = N(), l = He(), u = V(() => {
6467
6471
  var p;
6468
6472
  const d = ((p = l.default) == null ? void 0 : p.call(l)) ?? [], h = i(f), m = i(r);
6469
- return d.map((w, M) => {
6470
- const b = m && Array.isArray(h) ? h.includes(M) : h === M;
6473
+ return d.map((w, x) => {
6474
+ const b = m && Array.isArray(h) ? h.includes(x) : h === x;
6471
6475
  return {
6472
6476
  ...w,
6473
6477
  props: {
@@ -6485,11 +6489,11 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
6485
6489
  w === -1 ? p.push(d) : p.splice(w, 1), h = p;
6486
6490
  } else
6487
6491
  m === d ? h = -1 : h = d;
6488
- a("update:model-value", h), x(f, h);
6492
+ a("update:model-value", h), A(f, h);
6489
6493
  }
6490
6494
  return xe([o, r], ([d, h]) => {
6491
6495
  let m = d;
6492
- h && !Array.isArray(m) ? m = m === -1 ? [] : [m] : !h && Array.isArray(m) && (m = m[0] ?? -1), x(f, m);
6496
+ h && !Array.isArray(m) ? m = m === -1 ? [] : [m] : !h && Array.isArray(m) && (m = m[0] ?? -1), A(f, m);
6493
6497
  }, { immediate: !0 }), (d, h) => (_(), y("div", Ce(Re(d.$attrs)), [
6494
6498
  (_(!0), y(Ae, null, Ve(e(u), (m, p) => (_(), U(qt(m), {
6495
6499
  key: p,
@@ -6527,7 +6531,7 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
6527
6531
  role: "button",
6528
6532
  onClick: c[0] || (c[0] = (d) => a())
6529
6533
  }, [
6530
- O("div", {
6534
+ P("div", {
6531
6535
  class: g({ grow: u.headerGrow })
6532
6536
  }, [
6533
6537
  F(u.$slots, "header", { open: u.open })
@@ -6541,7 +6545,7 @@ const y0 = ["colspan"], b0 = { class: "flex items-center gap-2" }, w0 = ["colspa
6541
6545
  key: 1,
6542
6546
  class: g([[u.contentClass, e(f).accordion__content], "accordion__content"])
6543
6547
  }, [
6544
- O("div", {
6548
+ P("div", {
6545
6549
  ref_key: "inner",
6546
6550
  ref: o
6547
6551
  }, [
@@ -7426,7 +7430,7 @@ const D1 = /* @__PURE__ */ ne({
7426
7430
  left: `${i(l) * 100}%`
7427
7431
  })), c = N();
7428
7432
  function d() {
7429
- x(l, r.saturation), x(f, 1 - r.brightness);
7433
+ A(l, r.saturation), A(f, 1 - r.brightness);
7430
7434
  }
7431
7435
  const h = $n(), {
7432
7436
  handleClick: m,
@@ -7435,14 +7439,14 @@ const D1 = /* @__PURE__ */ ne({
7435
7439
  function w(b, $) {
7436
7440
  if (!h)
7437
7441
  return;
7438
- const A = h.vnode.el, j = A == null ? void 0 : A.getBoundingClientRect();
7439
- if (!j)
7442
+ const M = h.vnode.el, T = M == null ? void 0 : M.getBoundingClientRect();
7443
+ if (!T)
7440
7444
  return;
7441
- const { width: P, height: D, left: S, top: C } = j;
7442
- let E = b - S, H = $ - C;
7443
- E = Wt(E, 0, P), H = Wt(H, 0, D);
7444
- const W = E / P, R = Wt(-(H / D) + 1, 0, 1);
7445
- x(l, E / P), x(f, H / D), r.saturation = W, r.brightness = R, a("update:board", { saturation: W, brightness: R });
7445
+ const { width: H, height: j, left: R, top: S } = T;
7446
+ let D = b - R, I = $ - S;
7447
+ D = Wt(D, 0, H), I = Wt(I, 0, j);
7448
+ const W = D / H, C = Wt(-(I / j) + 1, 0, 1);
7449
+ A(l, D / H), A(f, I / j), r.saturation = W, r.brightness = C, a("update:board", { saturation: W, brightness: C });
7446
7450
  }
7447
7451
  St(() => {
7448
7452
  d();
@@ -7453,24 +7457,24 @@ const D1 = /* @__PURE__ */ ne({
7453
7457
  },
7454
7458
  { deep: !0 }
7455
7459
  );
7456
- const M = he();
7460
+ const x = he();
7457
7461
  return (b, $) => (_(), y("div", se({
7458
7462
  ref_key: "wrapper",
7459
7463
  ref: c,
7460
- class: ["rui-color-board", e(M).saturation]
7464
+ class: ["rui-color-board", e(x).saturation]
7461
7465
  }, b.$attrs, {
7462
7466
  style: { backgroundColor: e(r).hexString },
7463
- onClick: $[0] || ($[0] = (A) => e(m)(A)),
7464
- onMousedown: $[1] || ($[1] = (A) => e(p)(A))
7467
+ onClick: $[0] || ($[0] = (M) => e(m)(M)),
7468
+ onMousedown: $[1] || ($[1] = (M) => e(p)(M))
7465
7469
  }), [
7466
- O("div", {
7467
- class: g(e(M).saturation__white)
7470
+ P("div", {
7471
+ class: g(e(x).saturation__white)
7468
7472
  }, null, 2),
7469
- O("div", {
7470
- class: g(e(M).saturation__black)
7473
+ P("div", {
7474
+ class: g(e(x).saturation__black)
7471
7475
  }, null, 2),
7472
- O("div", {
7473
- class: g(e(M).cursor),
7476
+ P("div", {
7477
+ class: g(e(x).cursor),
7474
7478
  style: rt(e(u))
7475
7479
  }, null, 6)
7476
7480
  ], 16));
@@ -7494,12 +7498,12 @@ const D1 = /* @__PURE__ */ ne({
7494
7498
  setup(n) {
7495
7499
  const s = Ht(n, "modelValue"), t = N();
7496
7500
  function a(p) {
7497
- const w = W1 / 2, M = p - w, b = M - w;
7498
- return { lowerLimit: w, upperLimit: M, availableWidth: b };
7501
+ const w = W1 / 2, x = p - w, b = x - w;
7502
+ return { lowerLimit: w, upperLimit: x, availableWidth: b };
7499
7503
  }
7500
7504
  const o = N("");
7501
7505
  function r() {
7502
- x(o, u().toString());
7506
+ A(o, u().toString());
7503
7507
  }
7504
7508
  const f = V(() => ({
7505
7509
  left: i(o)
@@ -7510,18 +7514,18 @@ const D1 = /* @__PURE__ */ ne({
7510
7514
  const p = l.vnode.el, w = p == null ? void 0 : p.getBoundingClientRect();
7511
7515
  if (!w)
7512
7516
  return 0;
7513
- const M = w.width, { lowerLimit: b, availableWidth: $ } = a(M), A = i(s), j = A === 360 ? 360 : A % 360;
7514
- return `calc(${je(j / 360 * ($ / M) * 100)}% + ${b}px)`;
7517
+ const x = w.width, { lowerLimit: b, availableWidth: $ } = a(x), M = i(s), T = M === 360 ? 360 : M % 360;
7518
+ return `calc(${je(T / 360 * ($ / x) * 100)}% + ${b}px)`;
7515
7519
  }
7516
7520
  function c(p) {
7517
7521
  if (!l)
7518
7522
  return;
7519
- const w = l.vnode.el, M = w == null ? void 0 : w.getBoundingClientRect();
7520
- if (!M)
7523
+ const w = l.vnode.el, x = w == null ? void 0 : w.getBoundingClientRect();
7524
+ if (!x)
7521
7525
  return;
7522
- let b = p - M.left;
7523
- const { lowerLimit: $, upperLimit: A, availableWidth: j } = a(M.width);
7524
- b = Wt(b, $, A), x(s, Math.round((b - $) / j * 360));
7526
+ let b = p - x.left;
7527
+ const { lowerLimit: $, upperLimit: M, availableWidth: T } = a(x.width);
7528
+ b = Wt(b, $, M), A(s, Math.round((b - $) / T * 360));
7525
7529
  }
7526
7530
  const {
7527
7531
  handleClick: d,
@@ -7536,10 +7540,10 @@ const D1 = /* @__PURE__ */ ne({
7536
7540
  ref: t,
7537
7541
  class: [e(m).bar, "rui-color-hue"]
7538
7542
  }, p.$attrs, {
7539
- onClick: w[0] || (w[0] = (M) => e(d)(M)),
7540
- onMousedown: w[1] || (w[1] = (M) => e(h)(M))
7543
+ onClick: w[0] || (w[0] = (x) => e(d)(x)),
7544
+ onMousedown: w[1] || (w[1] = (x) => e(h)(x))
7541
7545
  }), [
7542
- O("div", {
7546
+ P("div", {
7543
7547
  class: g(e(m).cursor),
7544
7548
  style: rt(e(f))
7545
7549
  }, null, 6)
@@ -7550,7 +7554,7 @@ const D1 = /* @__PURE__ */ ne({
7550
7554
  cursor: K1
7551
7555
  }, Y1 = {
7552
7556
  $style: X1
7553
- }, Q1 = /* @__PURE__ */ fe(U1, [["__cssModules", Y1]]), J1 = { class: "flex flex-col items-center gap-1 w-[16rem]" }, Z1 = { class: "w-full" }, e2 = /* @__PURE__ */ O("span", { class: "text-rui-text" }, " # ", -1), t2 = {
7557
+ }, Q1 = /* @__PURE__ */ fe(U1, [["__cssModules", Y1]]), J1 = { class: "flex flex-col items-center gap-1 w-[16rem]" }, Z1 = { class: "w-full" }, e2 = /* @__PURE__ */ P("span", { class: "text-rui-text" }, " # ", -1), t2 = {
7554
7558
  key: 1,
7555
7559
  class: "flex flex-1 gap-1"
7556
7560
  }, s2 = { class: "uppercase text-rui-text-secondary text-sm" }, n2 = /* @__PURE__ */ ne({
@@ -7569,7 +7573,7 @@ const D1 = /* @__PURE__ */ ne({
7569
7573
  rgb: i(s).rgb
7570
7574
  });
7571
7575
  function o() {
7572
- x(t, i(t) === "rgb" ? "hex" : "rgb");
7576
+ A(t, i(t) === "rgb" ? "hex" : "rgb");
7573
7577
  }
7574
7578
  const r = sn((l, u, c) => {
7575
7579
  if (!a.color)
@@ -7595,7 +7599,7 @@ const D1 = /* @__PURE__ */ ne({
7595
7599
  const [h, m, p] = a.rgb;
7596
7600
  a.color.hex = Y({ r: h, g: m, b: p }).toHex();
7597
7601
  }
7598
- x(s, a.color);
7602
+ A(s, a.color);
7599
7603
  }
7600
7604
  }, 300);
7601
7605
  return qs(
@@ -7605,8 +7609,8 @@ const D1 = /* @__PURE__ */ ne({
7605
7609
  },
7606
7610
  { deep: !0 }
7607
7611
  ), (l, u) => (_(), y("div", se({ class: "rui-color-input flex justify-center gap-2" }, l.$attrs), [
7608
- O("div", J1, [
7609
- O("div", Z1, [
7612
+ P("div", J1, [
7613
+ P("div", Z1, [
7610
7614
  e(t) === "hex" ? (_(), U(Ps, {
7611
7615
  key: 0,
7612
7616
  modelValue: e(a).hex,
@@ -7641,7 +7645,7 @@ const D1 = /* @__PURE__ */ ne({
7641
7645
  }, null, 8, ["model-value", "onUpdate:modelValue", "onBlur"]))), 128))
7642
7646
  ]))
7643
7647
  ]),
7644
- O("div", s2, ue(e(t)), 1)
7648
+ P("div", s2, ue(e(t)), 1)
7645
7649
  ]),
7646
7650
  J(Te, {
7647
7651
  class: "h-10",
@@ -7673,14 +7677,14 @@ const D1 = /* @__PURE__ */ ne({
7673
7677
  "tooltip-class": "text-center"
7674
7678
  }, r.$attrs), {
7675
7679
  activator: ee(() => [
7676
- O("div", {
7680
+ P("div", {
7677
7681
  class: "rui-color-display w-8 h-8 min-w-8 min-h-8 rounded-full cursor-pointer",
7678
7682
  style: rt({ background: e(t) }),
7679
7683
  onClick: f[0] || (f[0] = (l) => e(a)())
7680
7684
  }, null, 4)
7681
7685
  ]),
7682
7686
  default: ee(() => [
7683
- O("div", {
7687
+ P("div", {
7684
7688
  class: g({ "h-0 overflow-hidden": e(o) })
7685
7689
  }, " Click to copy ", 2),
7686
7690
  e(o) ? (_(), y("div", a2, " COPIED! ")) : B("", !0)
@@ -7716,8 +7720,8 @@ const D1 = /* @__PURE__ */ ne({
7716
7720
  color: e(r).color,
7717
7721
  "onUpdate:board": u[0] || (u[0] = (c) => f(c))
7718
7722
  }, null, 8, ["color"]),
7719
- O("div", r2, [
7720
- O("div", i2, [
7723
+ P("div", r2, [
7724
+ P("div", i2, [
7721
7725
  J(o2, {
7722
7726
  color: e(r).color.hexString
7723
7727
  }, null, 8, ["color"]),
@@ -7814,12 +7818,12 @@ const D1 = /* @__PURE__ */ ne({
7814
7818
  }
7815
7819
  const h = N(!1);
7816
7820
  Ct(f, (b) => {
7817
- x(h, b);
7821
+ A(h, b);
7818
7822
  }), xe(h, (b) => {
7819
7823
  d(b);
7820
7824
  });
7821
7825
  function m() {
7822
- x(h, !1);
7826
+ A(h, !1);
7823
7827
  }
7824
7828
  const p = V(() => ({
7825
7829
  width: ms(i(c))
@@ -7829,14 +7833,14 @@ const D1 = /* @__PURE__ */ ne({
7829
7833
  m();
7830
7834
  }, 50);
7831
7835
  });
7832
- const M = V(() => ({
7836
+ const x = V(() => ({
7833
7837
  onClick: () => {
7834
7838
  const b = !i(h);
7835
- x(h, b), d(b);
7839
+ A(h, b), d(b);
7836
7840
  }
7837
7841
  }));
7838
7842
  return (b, $) => (_(), y("div", null, [
7839
- F(b.$slots, "activator", Ce(Re({ open: h.value, attrs: e(M) }))),
7843
+ F(b.$slots, "activator", Ce(Re({ open: h.value, attrs: e(x) }))),
7840
7844
  (_(), U(is, { to: "body" }, [
7841
7845
  b.overlay ? (_(), U(It, {
7842
7846
  key: 0,
@@ -7851,12 +7855,12 @@ const D1 = /* @__PURE__ */ ne({
7851
7855
  h.value ? (_(), y("div", {
7852
7856
  key: 0,
7853
7857
  class: g(e(r).overlay),
7854
- onClick: $[0] || ($[0] = Ge((A) => m(), ["stop"]))
7858
+ onClick: $[0] || ($[0] = Ge((M) => m(), ["stop"]))
7855
7859
  }, null, 2)) : B("", !0)
7856
7860
  ]),
7857
7861
  _: 1
7858
7862
  })) : B("", !0),
7859
- O("aside", se({
7863
+ P("aside", se({
7860
7864
  ref_key: "content",
7861
7865
  ref: w,
7862
7866
  style: e(p),
@@ -7872,7 +7876,7 @@ const D1 = /* @__PURE__ */ ne({
7872
7876
  }
7873
7877
  ]
7874
7878
  }, e(bt)(e(o))), [
7875
- F(b.$slots, "default", Ce(Re({ attrs: e(M), close: m })))
7879
+ F(b.$slots, "default", Ce(Re({ attrs: e(x), close: m })))
7876
7880
  ], 16)
7877
7881
  ]))
7878
7882
  ]));