@vanjana/vue-ui 0.1.85 → 0.1.87

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,36 +1,36 @@
1
- import { createElementBlock as b, openBlock as f, createElementVNode as V, renderSlot as M, defineComponent as T, computed as C, normalizeClass as I, createBlock as j, createCommentVNode as S, createTextVNode as Ie, unref as $, toDisplayString as D, useSlots as un, ref as E, onMounted as Oe, nextTick as me, onBeforeUnmount as Be, watch as X, resolveComponent as N, createVNode as P, normalizeStyle as J, Fragment as ne, renderList as Se, mergeModels as Z, useModel as ve, withModifiers as K, Teleport as ot, Transition as He, withCtx as W, createSlots as lt, resolveDynamicComponent as Ot, mergeProps as dn, shallowRef as fn, getCurrentScope as vn, onScopeDispose as mn, shallowReadonly as ke, render as wt, withDirectives as Bt, withKeys as Ze, provide as pn, inject as Dt, vModelText as hn, toRef as Je, normalizeProps as gn, guardReactiveProps as bn, isRef as yn, createApp as wn, h as _n } from "vue";
1
+ import { createElementBlock as b, openBlock as v, createElementVNode as V, renderSlot as D, defineComponent as O, computed as E, normalizeClass as I, createBlock as j, createCommentVNode as $, createTextVNode as He, unref as S, toDisplayString as P, useSlots as jt, ref as C, onMounted as De, nextTick as me, onBeforeUnmount as Se, watch as X, resolveComponent as N, createVNode as M, normalizeStyle as Y, Fragment as ne, renderList as Re, mergeModels as Z, useModel as ve, withModifiers as K, Teleport as Ne, Transition as Te, withCtx as U, createSlots as lt, resolveDynamicComponent as Ft, mergeProps as dn, shallowRef as fn, getCurrentScope as vn, onScopeDispose as mn, shallowReadonly as ke, render as Ct, withDirectives as zt, withKeys as et, provide as pn, inject as It, vModelText as hn, toRef as Qe, normalizeProps as gn, guardReactiveProps as bn, isRef as yn, createApp as wn, h as _n } from "vue";
2
2
  import { useRouter as xn, useRoute as kn } from "vue-router";
3
- const O = (e, n) => {
3
+ const T = (e, n) => {
4
4
  const t = e.__vccOpts || e;
5
5
  for (const [o, l] of n)
6
6
  t[o] = l;
7
7
  return t;
8
8
  }, Vn = {}, Cn = { class: "button-bar" }, En = { class: "left" }, Ln = { class: "right" };
9
9
  function $n(e, n) {
10
- return f(), b("div", Cn, [
10
+ return v(), b("div", Cn, [
11
11
  V("div", En, [
12
- M(e.$slots, "left", {}, void 0, !0)
12
+ D(e.$slots, "left", {}, void 0, !0)
13
13
  ]),
14
14
  V("div", Ln, [
15
- M(e.$slots, "default", {}, void 0, !0)
15
+ D(e.$slots, "default", {}, void 0, !0)
16
16
  ])
17
17
  ]);
18
18
  }
19
- const Sn = /* @__PURE__ */ O(Vn, [["render", $n], ["__scopeId", "data-v-45a6ed1a"]]);
20
- var U = /* @__PURE__ */ ((e) => (e.HOME = "fa-regular fa-house", e.DASHBOARD = "fa-solid fa-gauge", e.MENU = "fa-solid fa-bars", e.DOT_MENU = "fa-solid fa-ellipsis-vertical", e.BACK = "fa-regular fa-hand-point-left", e.CHEVRON_LEFT = "fa-solid fa-chevron-left", e.CHEVRON_RIGHT = "fa-solid fa-chevron-right", e.CHEVRON_UP = "fa-solid fa-chevron-up", e.CHEVRON_DOWN = "fa-solid fa-chevron-down", e.PREVIOUS = "fa-solid fa-angle-left", e.FIRST = "fa-solid fa-angles-left", e.NEXT = "fa-solid fa-angle-right", e.LAST = "fa-solid fa-angles-right", e.USER = "fa-regular fa-user", e.CHARACTER = "fa-solid fa-person", e.SETTINGS = "fa-solid fa-gear", e.ADD = "fa-regular fa-plus", e.EDIT = "fa-solid fa-pen", e.REMOVE = "fa-regular fa-trash-can", e.DELETE = "fa-regular fa-trash-can", e.SHARE = "fa-solid fa-share-nodes", e.SORT = "fa-regular fa-arrow-up-arrow-down", e.CLOSE = "fa-regular fa-circle-xmark", e.SAVE = "fa-regular fa-floppy-disk", e.COPY = "fa-regular fa-copy", e.DUPLICATE = "fa-regular fa-clone", e.CUT = "fa-solid fa-scissors", e.PASTE = "fa-regular fa-clipboard", e.REFRESH = "fa-solid fa-rotate-right", e.RELOAD = "fa-solid fa-arrows-rotate", e.PRINT = "fa-solid fa-print", e.FILTER = "fa-solid fa-filter", e.UNDO = "fa-solid fa-rotate-left", e.REDO = "fa-solid fa-rotate-right", e.PIN = "fa-solid fa-thumbtack", e.EXPAND = "fa-solid fa-expand", e.COLLAPSE = "fa-solid fa-compress", e.EXTERNAL_LINK = "fa-solid fa-arrow-up-right-from-square", e.INFO = "fa-solid fa-circle-info", e.WARNING = "fa-solid fa-triangle-exclamation", e.ERROR = "fa-regular fa-circle-xmark", e.CHECK = "fa-regular fa-circle-check", e.LOVE = "fa-regular fa-heart", e.STAR = "fa-regular fa-star", e.STAR_FILLED = "fa-solid fa-star", e.HELP = "fa-regular fa-circle-question", e.QUESTION = "fa-solid fa-question", e.PROJECT = "fa-regular fa-folder-open", e.FOLDER = "fa-regular fa-folder", e.FILE_TEXT = "fa-regular fa-file-lines", e.UPLOAD = "fa-solid fa-cloud-arrow-up", e.DOWNLOAD = "fa-solid fa-cloud-arrow-down", e.ATTACHMENT = "fa-solid fa-paperclip", e.LINK = "fa-solid fa-link", e.TAG = "fa-solid fa-tag", e.TAGS = "fa-solid fa-tags", e.SEARCH = "fa-solid fa-magnifying-glass", e.MESSAGE_SQUARE = "fa-regular fa-message", e.MAIL = "fa-regular fa-envelope", e.SHOPPING_BAG = "fa-regular fa-bag-shopping", e.COMMENT = "fa-regular fa-comment", e.COMMENTS = "fa-regular fa-comments", e.CALENDAR = "fa-regular fa-calendar", e.CALENDAR_DAY = "fa-solid fa-calendar-day", e.CLOCK = "fa-regular fa-clock", e.HISTORY = "fa-solid fa-clock-rotate-left", e.LOCK = "fa-solid fa-lock", e.UNLOCK = "fa-solid fa-lock-open", e.EYE = "fa-regular fa-eye", e.EYE_SLASH = "fa-regular fa-eye-slash", e.SHIELD = "fa-solid fa-shield", e.LIST = "fa-solid fa-list", e.GRID = "fa-solid fa-grid", e.TABLE = "fa-solid fa-table", e.COLUMNS = "fa-solid fa-columns", e.BELL = "fa-regular fa-bell", e.IMAGE = "fa-regular fa-image", e))(U || {}), q = /* @__PURE__ */ ((e) => (e.S = "icon-size-s", e.M = "icon-size-m", e.L = "icon-size-l", e))(q || {});
21
- const we = /* @__PURE__ */ T({
19
+ const Sn = /* @__PURE__ */ T(Vn, [["render", $n], ["__scopeId", "data-v-45a6ed1a"]]);
20
+ var W = /* @__PURE__ */ ((e) => (e.HOME = "fa-regular fa-house", e.DASHBOARD = "fa-solid fa-gauge", e.MENU = "fa-solid fa-bars", e.DOT_MENU = "fa-solid fa-ellipsis-vertical", e.BACK = "fa-regular fa-hand-point-left", e.LOGOUT = "fa-solid fa-right-from-bracket", e.CHEVRON_LEFT = "fa-solid fa-chevron-left", e.CHEVRON_RIGHT = "fa-solid fa-chevron-right", e.CHEVRON_UP = "fa-solid fa-chevron-up", e.CHEVRON_DOWN = "fa-solid fa-chevron-down", e.PREVIOUS = "fa-solid fa-angle-left", e.FIRST = "fa-solid fa-angles-left", e.NEXT = "fa-solid fa-angle-right", e.LAST = "fa-solid fa-angles-right", e.USER = "fa-regular fa-user-circle", e.CHARACTER = "fa-solid fa-person", e.SETTINGS = "fa-solid fa-gear", e.ADD = "fa-regular fa-plus", e.EDIT = "fa-solid fa-pen", e.REMOVE = "fa-regular fa-trash-can", e.DELETE = "fa-regular fa-trash-can", e.SHARE = "fa-solid fa-share-nodes", e.SORT = "fa-regular fa-arrow-up-arrow-down", e.CLOSE = "fa-regular fa-circle-xmark", e.SAVE = "fa-regular fa-floppy-disk", e.COPY = "fa-regular fa-copy", e.DUPLICATE = "fa-regular fa-clone", e.CUT = "fa-solid fa-scissors", e.PASTE = "fa-regular fa-clipboard", e.REFRESH = "fa-solid fa-rotate-right", e.RELOAD = "fa-solid fa-arrows-rotate", e.PRINT = "fa-solid fa-print", e.FILTER = "fa-solid fa-filter", e.UNDO = "fa-solid fa-rotate-left", e.REDO = "fa-solid fa-rotate-right", e.PIN = "fa-solid fa-thumbtack", e.EXPAND = "fa-solid fa-expand", e.COLLAPSE = "fa-solid fa-compress", e.EXTERNAL_LINK = "fa-solid fa-arrow-up-right-from-square", e.INFO = "fa-solid fa-circle-info", e.WARNING = "fa-solid fa-triangle-exclamation", e.ERROR = "fa-regular fa-circle-xmark", e.CHECK = "fa-regular fa-circle-check", e.LOVE = "fa-regular fa-heart", e.STAR = "fa-regular fa-star", e.STAR_FILLED = "fa-solid fa-star", e.HELP = "fa-regular fa-circle-question", e.QUESTION = "fa-solid fa-question", e.PROJECT = "fa-regular fa-folder-open", e.FOLDER = "fa-regular fa-folder", e.FILE_TEXT = "fa-regular fa-file-lines", e.UPLOAD = "fa-solid fa-cloud-arrow-up", e.DOWNLOAD = "fa-solid fa-cloud-arrow-down", e.ATTACHMENT = "fa-solid fa-paperclip", e.LINK = "fa-solid fa-link", e.TAG = "fa-solid fa-tag", e.TAGS = "fa-solid fa-tags", e.SEARCH = "fa-solid fa-magnifying-glass", e.MESSAGE_SQUARE = "fa-regular fa-message", e.MAIL = "fa-regular fa-envelope", e.SHOPPING_BAG = "fa-regular fa-bag-shopping", e.COMMENT = "fa-regular fa-comment", e.COMMENTS = "fa-regular fa-comments", e.CALENDAR = "fa-regular fa-calendar", e.CALENDAR_DAY = "fa-solid fa-calendar-day", e.CLOCK = "fa-regular fa-clock", e.HISTORY = "fa-solid fa-clock-rotate-left", e.LOCK = "fa-solid fa-lock", e.UNLOCK = "fa-solid fa-lock-open", e.EYE = "fa-regular fa-eye", e.EYE_SLASH = "fa-regular fa-eye-slash", e.SHIELD = "fa-solid fa-shield", e.LIST = "fa-solid fa-list", e.GRID = "fa-solid fa-grid", e.TABLE = "fa-solid fa-table", e.COLUMNS = "fa-solid fa-columns", e.BELL = "fa-regular fa-bell", e.IMAGE = "fa-regular fa-image", e))(W || {}), q = /* @__PURE__ */ ((e) => (e.S = "icon-size-s", e.M = "icon-size-m", e.L = "icon-size-l", e))(q || {});
21
+ const we = /* @__PURE__ */ O({
22
22
  __name: "icon",
23
23
  props: {
24
24
  icon: {},
25
25
  size: {}
26
26
  },
27
27
  setup(e) {
28
- const n = e, t = q.M, o = C(() => `${n.icon} ${n.size ?? t}`);
29
- return (l, a) => (f(), b("i", {
28
+ const n = e, t = q.M, o = E(() => `${n.icon} ${n.size ?? t}`);
29
+ return (l, a) => (v(), b("i", {
30
30
  class: I(o.value)
31
31
  }, null, 2));
32
32
  }
33
- }), Rn = ["disabled"], An = /* @__PURE__ */ T({
33
+ }), Rn = ["disabled"], An = /* @__PURE__ */ O({
34
34
  __name: "button",
35
35
  props: {
36
36
  label: {},
@@ -41,51 +41,51 @@ const we = /* @__PURE__ */ T({
41
41
  disabled: { type: Boolean }
42
42
  },
43
43
  setup(e) {
44
- const n = e, t = q.S, o = C(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary"), l = C(() => !n.label && !!n.icon);
45
- return (a, i) => (f(), b("button", {
44
+ const n = e, t = q.S, o = E(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary"), l = E(() => !n.label && !!n.icon);
45
+ return (a, i) => (v(), b("button", {
46
46
  class: I(["button", o.value, { "icon-only": l.value }]),
47
47
  disabled: e.disabled
48
48
  }, [
49
- e.icon ? (f(), j(we, {
49
+ e.icon ? (v(), j(we, {
50
50
  key: 0,
51
51
  icon: e.icon,
52
- size: $(t)
53
- }, null, 8, ["icon", "size"])) : S("", !0),
54
- Ie(" " + D(e.label), 1)
52
+ size: S(t)
53
+ }, null, 8, ["icon", "size"])) : $("", !0),
54
+ He(" " + P(e.label), 1)
55
55
  ], 10, Rn));
56
56
  }
57
- }), Mt = /* @__PURE__ */ O(An, [["__scopeId", "data-v-f31c33cf"]]), Tn = {
57
+ }), Ht = /* @__PURE__ */ T(An, [["__scopeId", "data-v-f31c33cf"]]), On = {
58
58
  key: 0,
59
59
  class: "header-actions"
60
- }, On = { key: 0 }, Bn = /* @__PURE__ */ T({
60
+ }, Tn = { key: 0 }, Bn = /* @__PURE__ */ O({
61
61
  __name: "card",
62
62
  props: {
63
63
  header: {},
64
64
  scrollable: { type: Boolean }
65
65
  },
66
66
  setup(e) {
67
- const n = un();
68
- return (t, o) => (f(), b("div", {
67
+ const n = jt();
68
+ return (t, o) => (v(), b("div", {
69
69
  class: I(["card", { scrollable: e.scrollable }])
70
70
  }, [
71
71
  V("header", null, [
72
- V("h3", null, D(e.header), 1),
73
- $(n).headerActions ? (f(), b("span", Tn, [
74
- M(t.$slots, "headerActions", {}, void 0, !0)
75
- ])) : S("", !0)
72
+ V("h3", null, P(e.header), 1),
73
+ S(n).headerActions ? (v(), b("span", On, [
74
+ D(t.$slots, "headerActions", {}, void 0, !0)
75
+ ])) : $("", !0)
76
76
  ]),
77
77
  V("main", null, [
78
- M(t.$slots, "default", {}, void 0, !0)
78
+ D(t.$slots, "default", {}, void 0, !0)
79
79
  ]),
80
- $(n).footer ? (f(), b("footer", On, [
81
- M(t.$slots, "footer", {}, void 0, !0)
82
- ])) : S("", !0)
80
+ S(n).footer ? (v(), b("footer", Tn, [
81
+ D(t.$slots, "footer", {}, void 0, !0)
82
+ ])) : $("", !0)
83
83
  ], 2));
84
84
  }
85
- }), et = /* @__PURE__ */ O(Bn, [["__scopeId", "data-v-ec6ab562"]]), Dn = ["aria-label"], Mn = {
85
+ }), tt = /* @__PURE__ */ T(Bn, [["__scopeId", "data-v-ec6ab562"]]), Dn = ["aria-label"], Mn = {
86
86
  key: 0,
87
87
  class: "carousel-indicators"
88
- }, Pn = /* @__PURE__ */ T({
88
+ }, Pn = /* @__PURE__ */ O({
89
89
  __name: "carousel",
90
90
  props: {
91
91
  autoplay: { type: Boolean },
@@ -96,13 +96,13 @@ const we = /* @__PURE__ */ T({
96
96
  ariaLabel: {}
97
97
  },
98
98
  setup(e) {
99
- const n = e, t = n.autoplay ?? !1, o = n.interval ?? 4e3, l = n.loop ?? !0, a = n.pauseOnHover ?? !0, i = n.startIndex ?? 0, c = n.ariaLabel ?? "Carousel", s = E(Math.max(0, i)), r = E(null), u = E(null), d = E(0), v = E(0);
99
+ const n = e, t = n.autoplay ?? !1, o = n.interval ?? 4e3, l = n.loop ?? !0, a = n.pauseOnHover ?? !0, i = n.startIndex ?? 0, u = n.ariaLabel ?? "Carousel", s = C(Math.max(0, i)), r = C(null), c = C(null), d = C(0), f = C(0);
100
100
  let m = !1;
101
- const p = E(0), _ = E(!1);
101
+ const p = C(0), w = C(!1);
102
102
  let h = null, y = null;
103
- const w = E(null), g = E(null), L = () => {
103
+ const _ = C(null), g = C(null), L = () => {
104
104
  p.value = r.value ? r.value.children.length : 0, p.value === 0 ? s.value = 0 : s.value >= p.value && (s.value = l ? 0 : p.value - 1), F();
105
- }, B = C(() => d.value > 0 ? { transform: `translateX(${-s.value * d.value + v.value}px)` } : { transform: `translateX(-${s.value * 100}%)` }), F = () => {
105
+ }, B = E(() => d.value > 0 ? { transform: `translateX(${-s.value * d.value + f.value}px)` } : { transform: `translateX(-${s.value * 100}%)` }), F = () => {
106
106
  r.value && Array.from(r.value.children).forEach((R, ge) => {
107
107
  try {
108
108
  ge === s.value ? R.removeAttribute("aria-hidden") : R.setAttribute("aria-hidden", "true");
@@ -110,7 +110,7 @@ const we = /* @__PURE__ */ T({
110
110
  }
111
111
  });
112
112
  }, x = () => {
113
- k(), !(!t || p.value <= 1) && (a && _.value || (h = setTimeout(() => {
113
+ k(), !(!t || p.value <= 1) && (a && w.value || (h = setTimeout(() => {
114
114
  z(), x();
115
115
  }, o)));
116
116
  }, k = () => {
@@ -122,9 +122,9 @@ const we = /* @__PURE__ */ T({
122
122
  }, H = (R) => {
123
123
  R < 0 || R >= p.value || (s.value = R);
124
124
  }, ce = () => {
125
- _.value = !0, a && k();
125
+ w.value = !0, a && k();
126
126
  }, ue = () => {
127
- _.value = !1, x();
127
+ w.value = !1, x();
128
128
  }, de = (R) => {
129
129
  R.key === "ArrowLeft" ? A() : R.key === "ArrowRight" && z();
130
130
  };
@@ -136,59 +136,59 @@ const we = /* @__PURE__ */ T({
136
136
  }, te = () => {
137
137
  ee > 50 ? A() : ee < -50 && z(), ee = 0;
138
138
  };
139
- let Fe = 0;
140
- const pt = (R) => {
139
+ let ze = 0;
140
+ const wt = (R) => {
141
141
  if (R.isPrimary !== !1 && !(R.pointerType === "mouse" && R.button !== 0)) {
142
- m = !0, Fe = R.clientX, v.value = 0, k();
142
+ m = !0, ze = R.clientX, f.value = 0, k();
143
143
  try {
144
144
  R.target?.setPointerCapture?.(R.pointerId);
145
145
  } catch {
146
146
  }
147
147
  }
148
- }, ht = (R) => {
149
- m && (v.value = R.clientX - Fe, R.preventDefault());
150
- }, gt = () => {
148
+ }, _t = (R) => {
149
+ m && (f.value = R.clientX - ze, R.preventDefault());
150
+ }, xt = () => {
151
151
  if (!m) return;
152
152
  m = !1;
153
153
  const R = Math.max(50, d.value * 0.15);
154
- v.value > R ? A() : v.value < -R && z(), v.value = 0, x();
155
- }, bt = (R) => {
154
+ f.value > R ? A() : f.value < -R && z(), f.value = 0, x();
155
+ }, kt = (R) => {
156
156
  try {
157
157
  R.target?.releasePointerCapture?.(R.pointerId);
158
158
  } catch {
159
159
  }
160
- gt();
161
- }, yt = () => gt();
162
- return Oe(() => {
160
+ xt();
161
+ }, Vt = () => xt();
162
+ return De(() => {
163
163
  me(() => {
164
- if (L(), r.value && (y = new MutationObserver(L), y.observe(r.value, { childList: !0 }), r.value.addEventListener("touchstart", ae, { passive: !0 }), r.value.addEventListener("touchmove", G, { passive: !0 }), r.value.addEventListener("touchend", te)), u.value) {
164
+ if (L(), r.value && (y = new MutationObserver(L), y.observe(r.value, { childList: !0 }), r.value.addEventListener("touchstart", ae, { passive: !0 }), r.value.addEventListener("touchmove", G, { passive: !0 }), r.value.addEventListener("touchend", te)), c.value) {
165
165
  const R = () => {
166
- d.value = u.value ? u.value.clientWidth : 0;
166
+ d.value = c.value ? c.value.clientWidth : 0;
167
167
  };
168
168
  R();
169
169
  const ge = window.ResizeObserver;
170
- if (ge && u.value) {
170
+ if (ge && c.value) {
171
171
  const be = new ge(() => R());
172
- be.observe(u.value), w.value = be;
172
+ be.observe(c.value), _.value = be;
173
173
  } else
174
174
  window.addEventListener("resize", R), g.value = R;
175
- u.value && (u.value.addEventListener("pointerdown", pt), u.value.addEventListener("pointermove", ht), u.value.addEventListener("pointerup", bt), u.value.addEventListener("pointercancel", yt));
175
+ c.value && (c.value.addEventListener("pointerdown", wt), c.value.addEventListener("pointermove", _t), c.value.addEventListener("pointerup", kt), c.value.addEventListener("pointercancel", Vt));
176
176
  }
177
177
  F(), x();
178
178
  });
179
- }), Be(() => {
180
- k(), y && r.value && y.disconnect(), r.value && (r.value.removeEventListener("touchstart", ae), r.value.removeEventListener("touchmove", G), r.value.removeEventListener("touchend", te)), u.value && (w.value && w.value.disconnect && w.value.disconnect(), g.value && window.removeEventListener("resize", g.value), u.value.removeEventListener("pointerdown", pt), u.value.removeEventListener("pointermove", ht), u.value.removeEventListener("pointerup", bt), u.value.removeEventListener("pointercancel", yt));
179
+ }), Se(() => {
180
+ k(), y && r.value && y.disconnect(), r.value && (r.value.removeEventListener("touchstart", ae), r.value.removeEventListener("touchmove", G), r.value.removeEventListener("touchend", te)), c.value && (_.value && _.value.disconnect && _.value.disconnect(), g.value && window.removeEventListener("resize", g.value), c.value.removeEventListener("pointerdown", wt), c.value.removeEventListener("pointermove", _t), c.value.removeEventListener("pointerup", kt), c.value.removeEventListener("pointercancel", Vt));
181
181
  }), X([s, () => p.value], () => {
182
182
  F();
183
- }), X([() => _.value, s], () => {
183
+ }), X([() => w.value, s], () => {
184
184
  x();
185
185
  }), (R, ge) => {
186
186
  const be = N("VjButton");
187
- return f(), b("div", {
187
+ return v(), b("div", {
188
188
  class: "carousel",
189
189
  role: "region",
190
190
  "aria-roledescription": "carousel",
191
- "aria-label": $(c),
191
+ "aria-label": S(u),
192
192
  tabindex: "0",
193
193
  onKeydown: de,
194
194
  onMouseenter: ce,
@@ -197,48 +197,48 @@ const we = /* @__PURE__ */ T({
197
197
  V("div", {
198
198
  class: "carousel-window",
199
199
  ref_key: "windowRef",
200
- ref: u
200
+ ref: c
201
201
  }, [
202
202
  V("div", {
203
203
  class: "carousel-track",
204
204
  ref_key: "track",
205
205
  ref: r,
206
- style: J(B.value)
206
+ style: Y(B.value)
207
207
  }, [
208
- M(R.$slots, "default", {}, void 0, !0)
208
+ D(R.$slots, "default", {}, void 0, !0)
209
209
  ], 4)
210
210
  ], 512),
211
- P(be, {
211
+ M(be, {
212
212
  class: "carousel-btn prev",
213
- icon: $(U).PREVIOUS,
213
+ icon: S(W).PREVIOUS,
214
214
  onClick: A,
215
215
  type: "button",
216
216
  "aria-label": "Previous slide"
217
217
  }, null, 8, ["icon"]),
218
- P(be, {
218
+ M(be, {
219
219
  class: "carousel-btn next",
220
- icon: $(U).NEXT,
220
+ icon: S(W).NEXT,
221
221
  onClick: z,
222
222
  type: "button",
223
223
  "aria-label": "Next slide"
224
224
  }, null, 8, ["icon"]),
225
- p.value > 1 ? (f(), b("div", Mn, [
226
- (f(!0), b(ne, null, Se(p.value, (Re) => (f(), j(be, {
227
- key: Re - 1,
228
- class: I(["indicator", { active: Re - 1 === s.value }]),
229
- onClick: (ci) => H(Re - 1),
230
- "aria-current": Re - 1 === s.value,
231
- "aria-label": `Go to slide ${Re}`,
225
+ p.value > 1 ? (v(), b("div", Mn, [
226
+ (v(!0), b(ne, null, Re(p.value, (Ae) => (v(), j(be, {
227
+ key: Ae - 1,
228
+ class: I(["indicator", { active: Ae - 1 === s.value }]),
229
+ onClick: (ui) => H(Ae - 1),
230
+ "aria-current": Ae - 1 === s.value,
231
+ "aria-label": `Go to slide ${Ae}`,
232
232
  type: "button"
233
233
  }, null, 8, ["class", "onClick", "aria-current", "aria-label"]))), 128))
234
- ])) : S("", !0)
234
+ ])) : $("", !0)
235
235
  ], 40, Dn);
236
236
  };
237
237
  }
238
- }), fi = /* @__PURE__ */ O(Pn, [["__scopeId", "data-v-232abca2"]]), jn = { class: "checkbox" }, Fn = ["checked", "disabled"], zn = {
238
+ }), vi = /* @__PURE__ */ T(Pn, [["__scopeId", "data-v-232abca2"]]), jn = { class: "checkbox" }, Fn = ["checked", "disabled"], zn = {
239
239
  key: 0,
240
240
  class: "checkbox-label"
241
- }, In = /* @__PURE__ */ T({
241
+ }, In = /* @__PURE__ */ O({
242
242
  __name: "checkbox",
243
243
  props: /* @__PURE__ */ Z({
244
244
  label: {},
@@ -253,7 +253,7 @@ const we = /* @__PURE__ */ T({
253
253
  const l = o.target;
254
254
  n.value = l.checked;
255
255
  };
256
- return (o, l) => (f(), b("label", jn, [
256
+ return (o, l) => (v(), b("label", jn, [
257
257
  V("input", {
258
258
  type: "checkbox",
259
259
  checked: n.value,
@@ -278,13 +278,13 @@ const we = /* @__PURE__ */ T({
278
278
  })
279
279
  ])
280
280
  ], -1)),
281
- e.label ? (f(), b("span", zn, D(e.label), 1)) : S("", !0)
281
+ e.label ? (v(), b("span", zn, P(e.label), 1)) : $("", !0)
282
282
  ]));
283
283
  }
284
- }), Hn = /* @__PURE__ */ O(In, [["__scopeId", "data-v-d44b45ff"]]), Un = { class: "radio" }, Wn = ["checked", "disabled"], Kn = {
284
+ }), Hn = /* @__PURE__ */ T(In, [["__scopeId", "data-v-d44b45ff"]]), Un = { class: "radio" }, Wn = ["checked", "disabled"], Kn = {
285
285
  key: 0,
286
286
  class: "radio-label"
287
- }, Xn = /* @__PURE__ */ T({
287
+ }, Xn = /* @__PURE__ */ O({
288
288
  __name: "radio",
289
289
  props: /* @__PURE__ */ Z({
290
290
  label: {},
@@ -299,7 +299,7 @@ const we = /* @__PURE__ */ T({
299
299
  const l = o.target;
300
300
  n.value = l.checked;
301
301
  };
302
- return (o, l) => (f(), b("label", Un, [
302
+ return (o, l) => (v(), b("label", Un, [
303
303
  V("input", {
304
304
  type: "checkbox",
305
305
  checked: n.value,
@@ -313,10 +313,10 @@ const we = /* @__PURE__ */ T({
313
313
  "aria-hidden": "true"
314
314
  })
315
315
  ], -1)),
316
- e.label ? (f(), b("span", Kn, D(e.label), 1)) : S("", !0)
316
+ e.label ? (v(), b("span", Kn, P(e.label), 1)) : $("", !0)
317
317
  ]));
318
318
  }
319
- }), vi = /* @__PURE__ */ O(Xn, [["__scopeId", "data-v-f9e4bb65"]]), Nn = { class: "chip__label" }, qn = /* @__PURE__ */ T({
319
+ }), mi = /* @__PURE__ */ T(Xn, [["__scopeId", "data-v-f9e4bb65"]]), Nn = { class: "chip__label" }, qn = /* @__PURE__ */ O({
320
320
  __name: "chip",
321
321
  props: /* @__PURE__ */ Z({
322
322
  label: {},
@@ -328,39 +328,39 @@ const we = /* @__PURE__ */ T({
328
328
  }),
329
329
  emits: /* @__PURE__ */ Z(["update:modelValue", "dismiss", "click"], ["update:modelValue"]),
330
330
  setup(e, { emit: n }) {
331
- const t = e, o = ve(e, "modelValue"), l = n, a = t.dismissable ?? !1, i = C(() => {
331
+ const t = e, o = ve(e, "modelValue"), l = n, a = t.dismissable ?? !1, i = E(() => {
332
332
  const s = {};
333
333
  return t.color && (s.color = `var(--on-surface-${t.color})`, s.background = `var(--surface-${t.color})`), s;
334
- }), c = () => {
334
+ }), u = () => {
335
335
  l("dismiss", o.value);
336
336
  };
337
- return (s, r) => (f(), b("div", {
338
- class: I(["chip", { "chip--dismissable": $(a) }]),
339
- style: J(i.value),
340
- onClick: r[0] || (r[0] = (u) => s.$emit("click"))
337
+ return (s, r) => (v(), b("div", {
338
+ class: I(["chip", { "chip--dismissable": S(a) }]),
339
+ style: Y(i.value),
340
+ onClick: r[0] || (r[0] = (c) => s.$emit("click"))
341
341
  }, [
342
- V("span", Nn, D(e.label), 1),
343
- $(a) ? (f(), b("button", {
342
+ V("span", Nn, P(e.label), 1),
343
+ S(a) ? (v(), b("button", {
344
344
  key: 0,
345
345
  class: "chip__close",
346
346
  type: "button",
347
- onClick: K(c, ["stop"]),
347
+ onClick: K(u, ["stop"]),
348
348
  "aria-label": "Dismiss"
349
349
  }, [
350
- P(we, {
351
- icon: $(U).CLOSE,
352
- size: $(q).S
350
+ M(we, {
351
+ icon: S(W).CLOSE,
352
+ size: S(q).S
353
353
  }, null, 8, ["icon", "size"])
354
- ])) : S("", !0)
354
+ ])) : $("", !0)
355
355
  ], 6));
356
356
  }
357
- }), Pt = /* @__PURE__ */ O(qn, [["__scopeId", "data-v-c2014a3b"]]), Gn = { class: "chip-group" }, Yn = {
357
+ }), Ut = /* @__PURE__ */ T(qn, [["__scopeId", "data-v-c2014a3b"]]), Gn = { class: "chip-group" }, Yn = {
358
358
  key: 0,
359
359
  class: "chip-group__label"
360
360
  }, Jn = { class: "chip-group__container" }, Qn = ["onDragover", "onDrop"], Zn = ["onDragstart", "onDragover", "onDragenter", "onDrop"], eo = ["onDragover", "onDrop"], to = {
361
361
  key: 1,
362
362
  class: "chip-group__hint"
363
- }, no = /* @__PURE__ */ T({
363
+ }, no = /* @__PURE__ */ O({
364
364
  __name: "chip-group",
365
365
  props: {
366
366
  items: { default: () => [] },
@@ -373,11 +373,11 @@ const we = /* @__PURE__ */ T({
373
373
  },
374
374
  emits: ["update:items", "reorder", "dismiss", "chip-click"],
375
375
  setup(e, { emit: n }) {
376
- const t = e, o = n, l = E(null), a = E(null);
376
+ const t = e, o = n, l = C(null), a = C(null);
377
377
  function i(h, y) {
378
378
  return typeof h == "string" ? `${h}-${y}` : h[t.itemKey] !== void 0 ? String(h[t.itemKey]) : `item-${y}`;
379
379
  }
380
- function c(h) {
380
+ function u(h) {
381
381
  return typeof h == "string" ? h : h[t.itemLabel] !== void 0 ? String(h[t.itemLabel]) : String(h.value || "");
382
382
  }
383
383
  function s(h, y) {
@@ -386,69 +386,69 @@ const we = /* @__PURE__ */ T({
386
386
  function r(h, y) {
387
387
  l.value === null || l.value === h || (y.preventDefault(), y.dataTransfer && (y.dataTransfer.dropEffect = "move"));
388
388
  }
389
- function u(h) {
389
+ function c(h) {
390
390
  l.value === null || l.value === h || (a.value = h);
391
391
  }
392
392
  function d() {
393
393
  }
394
- function v(h, y) {
394
+ function f(h, y) {
395
395
  return l.value === null || a.value === null || l.value === h ? !1 : y === "before" && a.value === h && l.value > h || y === "after" && a.value === h && l.value < h;
396
396
  }
397
397
  function m(h, y) {
398
398
  if (y.preventDefault(), l.value === null || l.value === h)
399
399
  return;
400
- const w = [...t.items], g = w[l.value];
401
- w.splice(l.value, 1), w.splice(h, 0, g), o("update:items", w), o("reorder", w);
400
+ const _ = [...t.items], g = _[l.value];
401
+ _.splice(l.value, 1), _.splice(h, 0, g), o("update:items", _), o("reorder", _);
402
402
  }
403
403
  function p() {
404
404
  l.value = null, a.value = null;
405
405
  }
406
- function _(h) {
407
- const y = t.items[h], w = t.items.filter((g, L) => L !== h);
408
- o("update:items", w), o("dismiss", y, h);
406
+ function w(h) {
407
+ const y = t.items[h], _ = t.items.filter((g, L) => L !== h);
408
+ o("update:items", _), o("dismiss", y, h);
409
409
  }
410
- return (h, y) => (f(), b("div", Gn, [
411
- e.label ? (f(), b("label", Yn, D(e.label), 1)) : S("", !0),
410
+ return (h, y) => (v(), b("div", Gn, [
411
+ e.label ? (v(), b("label", Yn, P(e.label), 1)) : $("", !0),
412
412
  V("div", Jn, [
413
- (f(!0), b(ne, null, Se(e.items, (w, g) => (f(), b(ne, {
414
- key: i(w, g)
413
+ (v(!0), b(ne, null, Re(e.items, (_, g) => (v(), b(ne, {
414
+ key: i(_, g)
415
415
  }, [
416
- v(g, "before") ? (f(), b("div", {
416
+ f(g, "before") ? (v(), b("div", {
417
417
  key: 0,
418
418
  class: "chip-group__drop-indicator",
419
419
  onDragover: K((L) => r(g, L), ["prevent"]),
420
420
  onDrop: (L) => m(g, L)
421
- }, null, 40, Qn)) : S("", !0),
421
+ }, null, 40, Qn)) : $("", !0),
422
422
  V("div", {
423
423
  class: I(["chip-group__item", { "chip-group__item--dragging": l.value === g }]),
424
424
  draggable: "true",
425
425
  onDragstart: (L) => s(g, L),
426
426
  onDragover: K((L) => r(g, L), ["prevent"]),
427
- onDragenter: K((L) => u(g), ["prevent"]),
427
+ onDragenter: K((L) => c(g), ["prevent"]),
428
428
  onDragleave: d,
429
429
  onDrop: (L) => m(g, L),
430
430
  onDragend: p
431
431
  }, [
432
- P(Pt, {
433
- label: c(w),
434
- dismissable: typeof w == "string" ? e.dismissable : w.dismissable ?? e.dismissable,
435
- color: typeof w == "string" ? e.color : w.color ?? e.color,
436
- onDismiss: (L) => _(g),
437
- onClick: (L) => h.$emit("chip-click", w, g)
432
+ M(Ut, {
433
+ label: u(_),
434
+ dismissable: typeof _ == "string" ? e.dismissable : _.dismissable ?? e.dismissable,
435
+ color: typeof _ == "string" ? e.color : _.color ?? e.color,
436
+ onDismiss: (L) => w(g),
437
+ onClick: (L) => h.$emit("chip-click", _, g)
438
438
  }, null, 8, ["label", "dismissable", "color", "onDismiss", "onClick"])
439
439
  ], 42, Zn),
440
- v(g, "after") ? (f(), b("div", {
440
+ f(g, "after") ? (v(), b("div", {
441
441
  key: 1,
442
442
  class: "chip-group__drop-indicator",
443
443
  onDragover: K((L) => r(g, L), ["prevent"]),
444
444
  onDrop: (L) => m(g, L)
445
- }, null, 40, eo)) : S("", !0)
445
+ }, null, 40, eo)) : $("", !0)
446
446
  ], 64))), 128))
447
447
  ]),
448
- e.hint ? (f(), b("div", to, D(e.hint), 1)) : S("", !0)
448
+ e.hint ? (v(), b("div", to, P(e.hint), 1)) : $("", !0)
449
449
  ]));
450
450
  }
451
- }), jt = /* @__PURE__ */ O(no, [["__scopeId", "data-v-66199d19"]]), oo = { class: "dialog-content" }, lo = { key: 1 }, ao = { class: "dialog-footer" }, io = /* @__PURE__ */ T({
451
+ }), Wt = /* @__PURE__ */ T(no, [["__scopeId", "data-v-66199d19"]]), oo = { class: "dialog-content" }, lo = { key: 1 }, ao = { class: "dialog-footer" }, io = /* @__PURE__ */ O({
452
452
  __name: "dialog",
453
453
  props: {
454
454
  modelValue: { type: Boolean, default: !1 },
@@ -465,75 +465,75 @@ const we = /* @__PURE__ */ T({
465
465
  },
466
466
  emits: ["update:modelValue", "confirm", "cancel", "close"],
467
467
  setup(e, { emit: n }) {
468
- const t = e, o = n, l = E(t.modelValue);
468
+ const t = e, o = n, l = C(t.modelValue);
469
469
  X(
470
470
  () => t.modelValue,
471
- (u) => l.value = u
471
+ (c) => l.value = c
472
472
  );
473
473
  const a = () => {
474
474
  l.value = !1, o("update:modelValue", !1), o("close");
475
475
  }, i = () => {
476
476
  o("confirm"), a();
477
- }, c = () => {
477
+ }, u = () => {
478
478
  o("cancel"), a();
479
479
  }, s = () => {
480
480
  t.closeOnBackdrop && a();
481
- }, r = (u) => {
482
- u.key === "Escape" && t.closeOnEscape && l.value && a();
481
+ }, r = (c) => {
482
+ c.key === "Escape" && t.closeOnEscape && l.value && a();
483
483
  };
484
- return Oe(() => {
484
+ return De(() => {
485
485
  document.addEventListener("keydown", r);
486
- }), Be(() => {
486
+ }), Se(() => {
487
487
  document.removeEventListener("keydown", r);
488
- }), (u, d) => {
489
- const v = N("VjIcon"), m = N("VjButton"), p = N("VjCard");
490
- return f(), j(ot, { to: "body" }, [
491
- P(He, { name: "dialog-fade" }, {
492
- default: W(() => [
493
- l.value ? (f(), b("div", {
488
+ }), (c, d) => {
489
+ const f = N("VjIcon"), m = N("VjButton"), p = N("VjCard");
490
+ return v(), j(Ne, { to: "body" }, [
491
+ M(Te, { name: "dialog-fade" }, {
492
+ default: U(() => [
493
+ l.value ? (v(), b("div", {
494
494
  key: 0,
495
495
  class: "dialog-backdrop",
496
496
  onClick: s
497
497
  }, [
498
- P(He, { name: "dialog-scale" }, {
499
- default: W(() => [
500
- l.value ? (f(), b("div", {
498
+ M(Te, { name: "dialog-scale" }, {
499
+ default: U(() => [
500
+ l.value ? (v(), b("div", {
501
501
  key: 0,
502
502
  class: "dialog-wrapper",
503
503
  onClick: d[0] || (d[0] = K(() => {
504
504
  }, ["stop"]))
505
505
  }, [
506
- P(p, {
506
+ M(p, {
507
507
  class: "dialog-card",
508
508
  header: e.title || ""
509
509
  }, lt({
510
- headerActions: W(() => [
511
- P(v, {
512
- icon: $(U).CLOSE,
513
- size: $(q).S,
510
+ headerActions: U(() => [
511
+ M(f, {
512
+ icon: S(W).CLOSE,
513
+ size: S(q).S,
514
514
  class: "dialog-close",
515
515
  onClick: a
516
516
  }, null, 8, ["icon", "size"])
517
517
  ]),
518
- default: W(() => [
518
+ default: U(() => [
519
519
  V("div", oo, [
520
- e.component ? (f(), j(Ot(e.component), dn({ key: 0 }, e.componentProps, { onClose: a }), null, 16)) : e.message ? (f(), b("div", lo, D(e.message), 1)) : M(u.$slots, "default", { key: 2 }, void 0, !0)
520
+ e.component ? (v(), j(Ft(e.component), dn({ key: 0 }, e.componentProps, { onClose: a }), null, 16)) : e.message ? (v(), b("div", lo, P(e.message), 1)) : D(c.$slots, "default", { key: 2 }, void 0, !0)
521
521
  ])
522
522
  ]),
523
523
  _: 2
524
524
  }, [
525
525
  e.showFooter ? {
526
526
  name: "footer",
527
- fn: W(() => [
527
+ fn: U(() => [
528
528
  V("div", ao, [
529
- M(u.$slots, "footer", {}, () => [
530
- e.showCancel ? (f(), j(m, {
529
+ D(c.$slots, "footer", {}, () => [
530
+ e.showCancel ? (v(), j(m, {
531
531
  key: 0,
532
532
  secondary: "",
533
- onClick: c,
533
+ onClick: u,
534
534
  label: e.cancelText
535
- }, null, 8, ["label"])) : S("", !0),
536
- P(m, {
535
+ }, null, 8, ["label"])) : $("", !0),
536
+ M(m, {
537
537
  primary: "",
538
538
  onClick: i,
539
539
  label: e.confirmText
@@ -544,21 +544,21 @@ const we = /* @__PURE__ */ T({
544
544
  key: "0"
545
545
  } : void 0
546
546
  ]), 1032, ["header"])
547
- ])) : S("", !0)
547
+ ])) : $("", !0)
548
548
  ]),
549
549
  _: 3
550
550
  })
551
- ])) : S("", !0)
551
+ ])) : $("", !0)
552
552
  ]),
553
553
  _: 3
554
554
  })
555
555
  ]);
556
556
  };
557
557
  }
558
- }), at = /* @__PURE__ */ O(io, [["__scopeId", "data-v-6af510b3"]]), so = { class: "vj-chip-selector" }, ro = { class: "options-grid" }, co = ["onClick"], uo = {
558
+ }), at = /* @__PURE__ */ T(io, [["__scopeId", "data-v-6af510b3"]]), so = { class: "vj-chip-selector" }, ro = { class: "options-grid" }, co = ["onClick"], uo = {
559
559
  key: 0,
560
560
  class: "no-options"
561
- }, fo = /* @__PURE__ */ T({
561
+ }, fo = /* @__PURE__ */ O({
562
562
  __name: "chip-selector",
563
563
  props: {
564
564
  items: { default: () => [] },
@@ -570,15 +570,15 @@ const we = /* @__PURE__ */ T({
570
570
  },
571
571
  emits: ["update:items"],
572
572
  setup(e, { emit: n }) {
573
- const t = e, o = n, l = E([...t.items]), a = E(!1), i = C(() => t.options.filter((r) => !l.value.includes(r.value)));
574
- function c(r) {
575
- const u = r;
576
- l.value = u, o("update:items", u);
573
+ const t = e, o = n, l = C([...t.items]), a = C(!1), i = E(() => t.options.filter((r) => !l.value.includes(r.value)));
574
+ function u(r) {
575
+ const c = r;
576
+ l.value = c, o("update:items", c);
577
577
  }
578
578
  function s(r) {
579
579
  if (!l.value.includes(r)) {
580
- const u = [...l.value, r];
581
- l.value = u, o("update:items", u);
580
+ const c = [...l.value, r];
581
+ l.value = c, o("update:items", c);
582
582
  }
583
583
  }
584
584
  return X(
@@ -587,12 +587,12 @@ const we = /* @__PURE__ */ T({
587
587
  JSON.stringify(r) !== JSON.stringify(l.value) && (l.value = [...r]);
588
588
  },
589
589
  { deep: !0 }
590
- ), (r, u) => (f(), b("div", so, [
591
- P(jt, {
590
+ ), (r, c) => (v(), b("div", so, [
591
+ M(Wt, {
592
592
  items: l.value,
593
593
  "onUpdate:items": [
594
- u[0] || (u[0] = (d) => l.value = d),
595
- c
594
+ c[0] || (c[0] = (d) => l.value = d),
595
+ u
596
596
  ],
597
597
  label: e.label,
598
598
  hint: e.hint
@@ -600,30 +600,30 @@ const we = /* @__PURE__ */ T({
600
600
  V("button", {
601
601
  type: "button",
602
602
  class: "add-button",
603
- onClick: u[1] || (u[1] = (d) => a.value = !0)
604
- }, D(e.addButtonText), 1),
605
- P(at, {
603
+ onClick: c[1] || (c[1] = (d) => a.value = !0)
604
+ }, P(e.addButtonText), 1),
605
+ M(at, {
606
606
  modelValue: a.value,
607
- "onUpdate:modelValue": u[2] || (u[2] = (d) => a.value = d),
607
+ "onUpdate:modelValue": c[2] || (c[2] = (d) => a.value = d),
608
608
  title: e.dialogTitle || `Add ${e.label}`,
609
609
  "close-on-backdrop": ""
610
610
  }, {
611
- default: W(() => [
611
+ default: U(() => [
612
612
  V("div", ro, [
613
- (f(!0), b(ne, null, Se(i.value, (d) => (f(), b("button", {
613
+ (v(!0), b(ne, null, Re(i.value, (d) => (v(), b("button", {
614
614
  key: d.value,
615
615
  type: "button",
616
616
  class: "option-btn",
617
- onClick: (v) => s(d.value)
618
- }, "+ " + D(d.label), 9, co))), 128))
617
+ onClick: (f) => s(d.value)
618
+ }, "+ " + P(d.label), 9, co))), 128))
619
619
  ]),
620
- i.value.length === 0 ? (f(), b("div", uo, "All options already selected")) : S("", !0)
620
+ i.value.length === 0 ? (v(), b("div", uo, "All options already selected")) : $("", !0)
621
621
  ]),
622
622
  _: 1
623
623
  }, 8, ["modelValue", "title"])
624
624
  ]));
625
625
  }
626
- }), vo = /* @__PURE__ */ O(fo, [["__scopeId", "data-v-f2e1b880"]]), Le = Math.min, Y = Math.max, Ue = Math.round, ze = Math.floor, ie = (e) => ({
626
+ }), vo = /* @__PURE__ */ T(fo, [["__scopeId", "data-v-f2e1b880"]]), Le = Math.min, J = Math.max, Ue = Math.round, Ie = Math.floor, ie = (e) => ({
627
627
  x: e,
628
628
  y: e
629
629
  }), mo = {
@@ -635,50 +635,50 @@ const we = /* @__PURE__ */ T({
635
635
  start: "end",
636
636
  end: "start"
637
637
  };
638
- function _t(e, n, t) {
639
- return Y(e, Le(n, t));
638
+ function Et(e, n, t) {
639
+ return J(e, Le(n, t));
640
640
  }
641
- function De(e, n) {
641
+ function Me(e, n) {
642
642
  return typeof e == "function" ? e(n) : e;
643
643
  }
644
644
  function pe(e) {
645
645
  return e.split("-")[0];
646
646
  }
647
- function Me(e) {
647
+ function Pe(e) {
648
648
  return e.split("-")[1];
649
649
  }
650
- function Ft(e) {
650
+ function Kt(e) {
651
651
  return e === "x" ? "y" : "x";
652
652
  }
653
- function zt(e) {
653
+ function Xt(e) {
654
654
  return e === "y" ? "height" : "width";
655
655
  }
656
656
  const ho = /* @__PURE__ */ new Set(["top", "bottom"]);
657
657
  function fe(e) {
658
658
  return ho.has(pe(e)) ? "y" : "x";
659
659
  }
660
- function It(e) {
661
- return Ft(fe(e));
660
+ function Nt(e) {
661
+ return Kt(fe(e));
662
662
  }
663
663
  function go(e, n, t) {
664
664
  t === void 0 && (t = !1);
665
- const o = Me(e), l = It(e), a = zt(l);
665
+ const o = Pe(e), l = Nt(e), a = Xt(l);
666
666
  let i = l === "x" ? o === (t ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
667
667
  return n.reference[a] > n.floating[a] && (i = We(i)), [i, We(i)];
668
668
  }
669
669
  function bo(e) {
670
670
  const n = We(e);
671
- return [tt(e), n, tt(n)];
671
+ return [nt(e), n, nt(n)];
672
672
  }
673
- function tt(e) {
673
+ function nt(e) {
674
674
  return e.replace(/start|end/g, (n) => po[n]);
675
675
  }
676
- const xt = ["left", "right"], kt = ["right", "left"], yo = ["top", "bottom"], wo = ["bottom", "top"];
676
+ const Lt = ["left", "right"], $t = ["right", "left"], yo = ["top", "bottom"], wo = ["bottom", "top"];
677
677
  function _o(e, n, t) {
678
678
  switch (e) {
679
679
  case "top":
680
680
  case "bottom":
681
- return t ? n ? kt : xt : n ? xt : kt;
681
+ return t ? n ? $t : Lt : n ? Lt : $t;
682
682
  case "left":
683
683
  case "right":
684
684
  return n ? yo : wo;
@@ -687,9 +687,9 @@ function _o(e, n, t) {
687
687
  }
688
688
  }
689
689
  function xo(e, n, t, o) {
690
- const l = Me(e);
690
+ const l = Pe(e);
691
691
  let a = _o(pe(e), t === "start", o);
692
- return l && (a = a.map((i) => i + "-" + l), n && (a = a.concat(a.map(tt)))), a;
692
+ return l && (a = a.map((i) => i + "-" + l), n && (a = a.concat(a.map(nt)))), a;
693
693
  }
694
694
  function We(e) {
695
695
  return e.replace(/left|right|bottom|top/g, (n) => mo[n]);
@@ -729,23 +729,23 @@ function Ke(e) {
729
729
  y: t
730
730
  };
731
731
  }
732
- function Vt(e, n, t) {
732
+ function St(e, n, t) {
733
733
  let {
734
734
  reference: o,
735
735
  floating: l
736
736
  } = e;
737
- const a = fe(n), i = It(n), c = zt(i), s = pe(n), r = a === "y", u = o.x + o.width / 2 - l.width / 2, d = o.y + o.height / 2 - l.height / 2, v = o[c] / 2 - l[c] / 2;
737
+ const a = fe(n), i = Nt(n), u = Xt(i), s = pe(n), r = a === "y", c = o.x + o.width / 2 - l.width / 2, d = o.y + o.height / 2 - l.height / 2, f = o[u] / 2 - l[u] / 2;
738
738
  let m;
739
739
  switch (s) {
740
740
  case "top":
741
741
  m = {
742
- x: u,
742
+ x: c,
743
743
  y: o.y - l.height
744
744
  };
745
745
  break;
746
746
  case "bottom":
747
747
  m = {
748
- x: u,
748
+ x: c,
749
749
  y: o.y + o.height
750
750
  };
751
751
  break;
@@ -767,12 +767,12 @@ function Vt(e, n, t) {
767
767
  y: o.y
768
768
  };
769
769
  }
770
- switch (Me(n)) {
770
+ switch (Pe(n)) {
771
771
  case "start":
772
- m[i] -= v * (t && r ? -1 : 1);
772
+ m[i] -= f * (t && r ? -1 : 1);
773
773
  break;
774
774
  case "end":
775
- m[i] += v * (t && r ? -1 : 1);
775
+ m[i] += f * (t && r ? -1 : 1);
776
776
  break;
777
777
  }
778
778
  return m;
@@ -783,29 +783,29 @@ const Co = async (e, n, t) => {
783
783
  strategy: l = "absolute",
784
784
  middleware: a = [],
785
785
  platform: i
786
- } = t, c = a.filter(Boolean), s = await (i.isRTL == null ? void 0 : i.isRTL(n));
786
+ } = t, u = a.filter(Boolean), s = await (i.isRTL == null ? void 0 : i.isRTL(n));
787
787
  let r = await i.getElementRects({
788
788
  reference: e,
789
789
  floating: n,
790
790
  strategy: l
791
791
  }), {
792
- x: u,
792
+ x: c,
793
793
  y: d
794
- } = Vt(r, o, s), v = o, m = {}, p = 0;
795
- for (let _ = 0; _ < c.length; _++) {
794
+ } = St(r, o, s), f = o, m = {}, p = 0;
795
+ for (let w = 0; w < u.length; w++) {
796
796
  const {
797
797
  name: h,
798
798
  fn: y
799
- } = c[_], {
800
- x: w,
799
+ } = u[w], {
800
+ x: _,
801
801
  y: g,
802
802
  data: L,
803
803
  reset: B
804
804
  } = await y({
805
- x: u,
805
+ x: c,
806
806
  y: d,
807
807
  initialPlacement: o,
808
- placement: v,
808
+ placement: f,
809
809
  strategy: l,
810
810
  middlewareData: m,
811
811
  rects: r,
@@ -815,25 +815,25 @@ const Co = async (e, n, t) => {
815
815
  floating: n
816
816
  }
817
817
  });
818
- u = w ?? u, d = g ?? d, m = {
818
+ c = _ ?? c, d = g ?? d, m = {
819
819
  ...m,
820
820
  [h]: {
821
821
  ...m[h],
822
822
  ...L
823
823
  }
824
- }, B && p <= 50 && (p++, typeof B == "object" && (B.placement && (v = B.placement), B.rects && (r = B.rects === !0 ? await i.getElementRects({
824
+ }, B && p <= 50 && (p++, typeof B == "object" && (B.placement && (f = B.placement), B.rects && (r = B.rects === !0 ? await i.getElementRects({
825
825
  reference: e,
826
826
  floating: n,
827
827
  strategy: l
828
828
  }) : B.rects), {
829
- x: u,
829
+ x: c,
830
830
  y: d
831
- } = Vt(r, v, s)), _ = -1);
831
+ } = St(r, f, s)), w = -1);
832
832
  }
833
833
  return {
834
- x: u,
834
+ x: c,
835
835
  y: d,
836
- placement: v,
836
+ placement: f,
837
837
  strategy: l,
838
838
  middlewareData: m
839
839
  };
@@ -846,36 +846,36 @@ async function it(e, n) {
846
846
  y: l,
847
847
  platform: a,
848
848
  rects: i,
849
- elements: c,
849
+ elements: u,
850
850
  strategy: s
851
851
  } = e, {
852
852
  boundary: r = "clippingAncestors",
853
- rootBoundary: u = "viewport",
853
+ rootBoundary: c = "viewport",
854
854
  elementContext: d = "floating",
855
- altBoundary: v = !1,
855
+ altBoundary: f = !1,
856
856
  padding: m = 0
857
- } = De(n, e), p = Vo(m), h = c[v ? d === "floating" ? "reference" : "floating" : d], y = Ke(await a.getClippingRect({
858
- element: (t = await (a.isElement == null ? void 0 : a.isElement(h))) == null || t ? h : h.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(c.floating)),
857
+ } = Me(n, e), p = Vo(m), h = u[f ? d === "floating" ? "reference" : "floating" : d], y = Ke(await a.getClippingRect({
858
+ element: (t = await (a.isElement == null ? void 0 : a.isElement(h))) == null || t ? h : h.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(u.floating)),
859
859
  boundary: r,
860
- rootBoundary: u,
860
+ rootBoundary: c,
861
861
  strategy: s
862
- })), w = d === "floating" ? {
862
+ })), _ = d === "floating" ? {
863
863
  x: o,
864
864
  y: l,
865
865
  width: i.floating.width,
866
866
  height: i.floating.height
867
- } : i.reference, g = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c.floating)), L = await (a.isElement == null ? void 0 : a.isElement(g)) ? await (a.getScale == null ? void 0 : a.getScale(g)) || {
867
+ } : i.reference, g = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(u.floating)), L = await (a.isElement == null ? void 0 : a.isElement(g)) ? await (a.getScale == null ? void 0 : a.getScale(g)) || {
868
868
  x: 1,
869
869
  y: 1
870
870
  } : {
871
871
  x: 1,
872
872
  y: 1
873
873
  }, B = Ke(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
874
- elements: c,
875
- rect: w,
874
+ elements: u,
875
+ rect: _,
876
876
  offsetParent: g,
877
877
  strategy: s
878
- }) : w);
878
+ }) : _);
879
879
  return {
880
880
  top: (y.top - B.top + p.top) / L.y,
881
881
  bottom: (B.bottom - y.bottom + p.bottom) / L.y,
@@ -893,25 +893,25 @@ const Eo = function(e) {
893
893
  placement: l,
894
894
  middlewareData: a,
895
895
  rects: i,
896
- initialPlacement: c,
896
+ initialPlacement: u,
897
897
  platform: s,
898
898
  elements: r
899
899
  } = n, {
900
- mainAxis: u = !0,
900
+ mainAxis: c = !0,
901
901
  crossAxis: d = !0,
902
- fallbackPlacements: v,
902
+ fallbackPlacements: f,
903
903
  fallbackStrategy: m = "bestFit",
904
904
  fallbackAxisSideDirection: p = "none",
905
- flipAlignment: _ = !0,
905
+ flipAlignment: w = !0,
906
906
  ...h
907
- } = De(e, n);
907
+ } = Me(e, n);
908
908
  if ((t = a.arrow) != null && t.alignmentOffset)
909
909
  return {};
910
- const y = pe(l), w = fe(c), g = pe(c) === c, L = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)), B = v || (g || !_ ? [We(c)] : bo(c)), F = p !== "none";
911
- !v && F && B.push(...xo(c, _, p, L));
912
- const x = [c, ...B], k = await it(n, h), A = [];
910
+ const y = pe(l), _ = fe(u), g = pe(u) === u, L = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)), B = f || (g || !w ? [We(u)] : bo(u)), F = p !== "none";
911
+ !f && F && B.push(...xo(u, w, p, L));
912
+ const x = [u, ...B], k = await it(n, h), A = [];
913
913
  let z = ((o = a.flip) == null ? void 0 : o.overflows) || [];
914
- if (u && A.push(k[y]), d) {
914
+ if (c && A.push(k[y]), d) {
915
915
  const de = go(l, i, L);
916
916
  A.push(k[de[0]], k[de[1]]);
917
917
  }
@@ -921,9 +921,9 @@ const Eo = function(e) {
921
921
  }], !A.every((de) => de <= 0)) {
922
922
  var H, ce;
923
923
  const de = (((H = a.flip) == null ? void 0 : H.index) || 0) + 1, xe = x[de];
924
- if (xe && (!(d === "alignment" ? w !== fe(xe) : !1) || // We leave the current main axis only if every placement on that axis
924
+ if (xe && (!(d === "alignment" ? _ !== fe(xe) : !1) || // We leave the current main axis only if every placement on that axis
925
925
  // overflows the main axis.
926
- z.every((G) => fe(G.placement) === w ? G.overflows[0] > 0 : !0)))
926
+ z.every((G) => fe(G.placement) === _ ? G.overflows[0] > 0 : !0)))
927
927
  return {
928
928
  data: {
929
929
  index: de,
@@ -941,17 +941,17 @@ const Eo = function(e) {
941
941
  const ae = (ue = z.filter((G) => {
942
942
  if (F) {
943
943
  const te = fe(G.placement);
944
- return te === w || // Create a bias to the `y` side axis due to horizontal
944
+ return te === _ || // Create a bias to the `y` side axis due to horizontal
945
945
  // reading directions favoring greater width.
946
946
  te === "y";
947
947
  }
948
948
  return !0;
949
- }).map((G) => [G.placement, G.overflows.filter((te) => te > 0).reduce((te, Fe) => te + Fe, 0)]).sort((G, te) => G[1] - te[1])[0]) == null ? void 0 : ue[0];
949
+ }).map((G) => [G.placement, G.overflows.filter((te) => te > 0).reduce((te, ze) => te + ze, 0)]).sort((G, te) => G[1] - te[1])[0]) == null ? void 0 : ue[0];
950
950
  ae && (ee = ae);
951
951
  break;
952
952
  }
953
953
  case "initialPlacement":
954
- ee = c;
954
+ ee = u;
955
955
  break;
956
956
  }
957
957
  if (l !== ee)
@@ -970,9 +970,9 @@ async function $o(e, n) {
970
970
  placement: t,
971
971
  platform: o,
972
972
  elements: l
973
- } = e, a = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), i = pe(t), c = Me(t), s = fe(t) === "y", r = Lo.has(i) ? -1 : 1, u = a && s ? -1 : 1, d = De(n, e);
973
+ } = e, a = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), i = pe(t), u = Pe(t), s = fe(t) === "y", r = Lo.has(i) ? -1 : 1, c = a && s ? -1 : 1, d = Me(n, e);
974
974
  let {
975
- mainAxis: v,
975
+ mainAxis: f,
976
976
  crossAxis: m,
977
977
  alignmentAxis: p
978
978
  } = typeof d == "number" ? {
@@ -984,12 +984,12 @@ async function $o(e, n) {
984
984
  crossAxis: d.crossAxis || 0,
985
985
  alignmentAxis: d.alignmentAxis
986
986
  };
987
- return c && typeof p == "number" && (m = c === "end" ? p * -1 : p), s ? {
988
- x: m * u,
989
- y: v * r
987
+ return u && typeof p == "number" && (m = u === "end" ? p * -1 : p), s ? {
988
+ x: m * c,
989
+ y: f * r
990
990
  } : {
991
- x: v * r,
992
- y: m * u
991
+ x: f * r,
992
+ y: m * c
993
993
  };
994
994
  }
995
995
  const So = function(e) {
@@ -1002,9 +1002,9 @@ const So = function(e) {
1002
1002
  x: l,
1003
1003
  y: a,
1004
1004
  placement: i,
1005
- middlewareData: c
1005
+ middlewareData: u
1006
1006
  } = n, s = await $o(n, e);
1007
- return i === ((t = c.offset) == null ? void 0 : t.placement) && (o = c.arrow) != null && o.alignmentOffset ? {} : {
1007
+ return i === ((t = u.offset) == null ? void 0 : t.placement) && (o = u.arrow) != null && o.alignmentOffset ? {} : {
1008
1008
  x: l + s.x,
1009
1009
  y: a + s.y,
1010
1010
  data: {
@@ -1026,44 +1026,44 @@ const So = function(e) {
1026
1026
  } = n, {
1027
1027
  mainAxis: a = !0,
1028
1028
  crossAxis: i = !1,
1029
- limiter: c = {
1029
+ limiter: u = {
1030
1030
  fn: (h) => {
1031
1031
  let {
1032
1032
  x: y,
1033
- y: w
1033
+ y: _
1034
1034
  } = h;
1035
1035
  return {
1036
1036
  x: y,
1037
- y: w
1037
+ y: _
1038
1038
  };
1039
1039
  }
1040
1040
  },
1041
1041
  ...s
1042
- } = De(e, n), r = {
1042
+ } = Me(e, n), r = {
1043
1043
  x: t,
1044
1044
  y: o
1045
- }, u = await it(n, s), d = fe(pe(l)), v = Ft(d);
1046
- let m = r[v], p = r[d];
1045
+ }, c = await it(n, s), d = fe(pe(l)), f = Kt(d);
1046
+ let m = r[f], p = r[d];
1047
1047
  if (a) {
1048
- const h = v === "y" ? "top" : "left", y = v === "y" ? "bottom" : "right", w = m + u[h], g = m - u[y];
1049
- m = _t(w, m, g);
1048
+ const h = f === "y" ? "top" : "left", y = f === "y" ? "bottom" : "right", _ = m + c[h], g = m - c[y];
1049
+ m = Et(_, m, g);
1050
1050
  }
1051
1051
  if (i) {
1052
- const h = d === "y" ? "top" : "left", y = d === "y" ? "bottom" : "right", w = p + u[h], g = p - u[y];
1053
- p = _t(w, p, g);
1052
+ const h = d === "y" ? "top" : "left", y = d === "y" ? "bottom" : "right", _ = p + c[h], g = p - c[y];
1053
+ p = Et(_, p, g);
1054
1054
  }
1055
- const _ = c.fn({
1055
+ const w = u.fn({
1056
1056
  ...n,
1057
- [v]: m,
1057
+ [f]: m,
1058
1058
  [d]: p
1059
1059
  });
1060
1060
  return {
1061
- ..._,
1061
+ ...w,
1062
1062
  data: {
1063
- x: _.x - t,
1064
- y: _.y - o,
1063
+ x: w.x - t,
1064
+ y: w.y - o,
1065
1065
  enabled: {
1066
- [v]: a,
1066
+ [f]: a,
1067
1067
  [d]: i
1068
1068
  }
1069
1069
  }
@@ -1080,30 +1080,30 @@ const So = function(e) {
1080
1080
  placement: l,
1081
1081
  rects: a,
1082
1082
  platform: i,
1083
- elements: c
1083
+ elements: u
1084
1084
  } = n, {
1085
1085
  apply: s = () => {
1086
1086
  },
1087
1087
  ...r
1088
- } = De(e, n), u = await it(n, r), d = pe(l), v = Me(l), m = fe(l) === "y", {
1088
+ } = Me(e, n), c = await it(n, r), d = pe(l), f = Pe(l), m = fe(l) === "y", {
1089
1089
  width: p,
1090
- height: _
1090
+ height: w
1091
1091
  } = a.floating;
1092
1092
  let h, y;
1093
- d === "top" || d === "bottom" ? (h = d, y = v === (await (i.isRTL == null ? void 0 : i.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (y = d, h = v === "end" ? "top" : "bottom");
1094
- const w = _ - u.top - u.bottom, g = p - u.left - u.right, L = Le(_ - u[h], w), B = Le(p - u[y], g), F = !n.middlewareData.shift;
1093
+ d === "top" || d === "bottom" ? (h = d, y = f === (await (i.isRTL == null ? void 0 : i.isRTL(u.floating)) ? "start" : "end") ? "left" : "right") : (y = d, h = f === "end" ? "top" : "bottom");
1094
+ const _ = w - c.top - c.bottom, g = p - c.left - c.right, L = Le(w - c[h], _), B = Le(p - c[y], g), F = !n.middlewareData.shift;
1095
1095
  let x = L, k = B;
1096
- if ((t = n.middlewareData.shift) != null && t.enabled.x && (k = g), (o = n.middlewareData.shift) != null && o.enabled.y && (x = w), F && !v) {
1097
- const z = Y(u.left, 0), H = Y(u.right, 0), ce = Y(u.top, 0), ue = Y(u.bottom, 0);
1098
- m ? k = p - 2 * (z !== 0 || H !== 0 ? z + H : Y(u.left, u.right)) : x = _ - 2 * (ce !== 0 || ue !== 0 ? ce + ue : Y(u.top, u.bottom));
1096
+ if ((t = n.middlewareData.shift) != null && t.enabled.x && (k = g), (o = n.middlewareData.shift) != null && o.enabled.y && (x = _), F && !f) {
1097
+ const z = J(c.left, 0), H = J(c.right, 0), ce = J(c.top, 0), ue = J(c.bottom, 0);
1098
+ m ? k = p - 2 * (z !== 0 || H !== 0 ? z + H : J(c.left, c.right)) : x = w - 2 * (ce !== 0 || ue !== 0 ? ce + ue : J(c.top, c.bottom));
1099
1099
  }
1100
1100
  await s({
1101
1101
  ...n,
1102
1102
  availableWidth: k,
1103
1103
  availableHeight: x
1104
1104
  });
1105
- const A = await i.getDimensions(c.floating);
1106
- return p !== A.width || _ !== A.height ? {
1105
+ const A = await i.getDimensions(u.floating);
1106
+ return p !== A.width || w !== A.height ? {
1107
1107
  reset: {
1108
1108
  rects: !0
1109
1109
  }
@@ -1111,7 +1111,7 @@ const So = function(e) {
1111
1111
  }
1112
1112
  };
1113
1113
  };
1114
- function Ne() {
1114
+ function qe() {
1115
1115
  return typeof window < "u";
1116
1116
  }
1117
1117
  function _e(e) {
@@ -1126,33 +1126,33 @@ function re(e) {
1126
1126
  return (n = (st(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : n.documentElement;
1127
1127
  }
1128
1128
  function st(e) {
1129
- return Ne() ? e instanceof Node || e instanceof Q(e).Node : !1;
1129
+ return qe() ? e instanceof Node || e instanceof Q(e).Node : !1;
1130
1130
  }
1131
1131
  function oe(e) {
1132
- return Ne() ? e instanceof Element || e instanceof Q(e).Element : !1;
1132
+ return qe() ? e instanceof Element || e instanceof Q(e).Element : !1;
1133
1133
  }
1134
1134
  function se(e) {
1135
- return Ne() ? e instanceof HTMLElement || e instanceof Q(e).HTMLElement : !1;
1135
+ return qe() ? e instanceof HTMLElement || e instanceof Q(e).HTMLElement : !1;
1136
1136
  }
1137
- function Ct(e) {
1138
- return !Ne() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Q(e).ShadowRoot;
1137
+ function Rt(e) {
1138
+ return !qe() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Q(e).ShadowRoot;
1139
1139
  }
1140
- const To = /* @__PURE__ */ new Set(["inline", "contents"]);
1141
- function Pe(e) {
1140
+ const Oo = /* @__PURE__ */ new Set(["inline", "contents"]);
1141
+ function je(e) {
1142
1142
  const {
1143
1143
  overflow: n,
1144
1144
  overflowX: t,
1145
1145
  overflowY: o,
1146
1146
  display: l
1147
1147
  } = le(e);
1148
- return /auto|scroll|overlay|hidden|clip/.test(n + o + t) && !To.has(l);
1148
+ return /auto|scroll|overlay|hidden|clip/.test(n + o + t) && !Oo.has(l);
1149
1149
  }
1150
- const Oo = /* @__PURE__ */ new Set(["table", "td", "th"]);
1150
+ const To = /* @__PURE__ */ new Set(["table", "td", "th"]);
1151
1151
  function Bo(e) {
1152
- return Oo.has(_e(e));
1152
+ return To.has(_e(e));
1153
1153
  }
1154
1154
  const Do = [":popover-open", ":modal"];
1155
- function qe(e) {
1155
+ function Ge(e) {
1156
1156
  return Do.some((n) => {
1157
1157
  try {
1158
1158
  return e.matches(n);
@@ -1171,7 +1171,7 @@ function Fo(e) {
1171
1171
  for (; se(n) && !$e(n); ) {
1172
1172
  if (rt(n))
1173
1173
  return n;
1174
- if (qe(n))
1174
+ if (Ge(n))
1175
1175
  return null;
1176
1176
  n = he(n);
1177
1177
  }
@@ -1187,7 +1187,7 @@ function $e(e) {
1187
1187
  function le(e) {
1188
1188
  return Q(e).getComputedStyle(e);
1189
1189
  }
1190
- function Ge(e) {
1190
+ function Ye(e) {
1191
1191
  return oe(e) ? {
1192
1192
  scrollLeft: e.scrollLeft,
1193
1193
  scrollTop: e.scrollTop
@@ -1203,36 +1203,36 @@ function he(e) {
1203
1203
  // Step into the shadow DOM of the parent of a slotted node.
1204
1204
  e.assignedSlot || // DOM Element detected.
1205
1205
  e.parentNode || // ShadowRoot detected.
1206
- Ct(e) && e.host || // Fallback.
1206
+ Rt(e) && e.host || // Fallback.
1207
1207
  re(e)
1208
1208
  );
1209
- return Ct(n) ? n.host : n;
1209
+ return Rt(n) ? n.host : n;
1210
1210
  }
1211
- function Ht(e) {
1211
+ function qt(e) {
1212
1212
  const n = he(e);
1213
- return $e(n) ? e.ownerDocument ? e.ownerDocument.body : e.body : se(n) && Pe(n) ? n : Ht(n);
1213
+ return $e(n) ? e.ownerDocument ? e.ownerDocument.body : e.body : se(n) && je(n) ? n : qt(n);
1214
1214
  }
1215
- function Te(e, n, t) {
1215
+ function Be(e, n, t) {
1216
1216
  var o;
1217
1217
  n === void 0 && (n = []), t === void 0 && (t = !0);
1218
- const l = Ht(e), a = l === ((o = e.ownerDocument) == null ? void 0 : o.body), i = Q(l);
1218
+ const l = qt(e), a = l === ((o = e.ownerDocument) == null ? void 0 : o.body), i = Q(l);
1219
1219
  if (a) {
1220
- const c = nt(i);
1221
- return n.concat(i, i.visualViewport || [], Pe(l) ? l : [], c && t ? Te(c) : []);
1220
+ const u = ot(i);
1221
+ return n.concat(i, i.visualViewport || [], je(l) ? l : [], u && t ? Be(u) : []);
1222
1222
  }
1223
- return n.concat(l, Te(l, [], t));
1223
+ return n.concat(l, Be(l, [], t));
1224
1224
  }
1225
- function nt(e) {
1225
+ function ot(e) {
1226
1226
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
1227
1227
  }
1228
- function Ut(e) {
1228
+ function Gt(e) {
1229
1229
  const n = le(e);
1230
1230
  let t = parseFloat(n.width) || 0, o = parseFloat(n.height) || 0;
1231
- const l = se(e), a = l ? e.offsetWidth : t, i = l ? e.offsetHeight : o, c = Ue(t) !== a || Ue(o) !== i;
1232
- return c && (t = a, o = i), {
1231
+ const l = se(e), a = l ? e.offsetWidth : t, i = l ? e.offsetHeight : o, u = Ue(t) !== a || Ue(o) !== i;
1232
+ return u && (t = a, o = i), {
1233
1233
  width: t,
1234
1234
  height: o,
1235
- $: c
1235
+ $: u
1236
1236
  };
1237
1237
  }
1238
1238
  function ut(e) {
@@ -1246,15 +1246,15 @@ function Ce(e) {
1246
1246
  width: o,
1247
1247
  height: l,
1248
1248
  $: a
1249
- } = Ut(n);
1250
- let i = (a ? Ue(t.width) : t.width) / o, c = (a ? Ue(t.height) : t.height) / l;
1251
- return (!i || !Number.isFinite(i)) && (i = 1), (!c || !Number.isFinite(c)) && (c = 1), {
1249
+ } = Gt(n);
1250
+ let i = (a ? Ue(t.width) : t.width) / o, u = (a ? Ue(t.height) : t.height) / l;
1251
+ return (!i || !Number.isFinite(i)) && (i = 1), (!u || !Number.isFinite(u)) && (u = 1), {
1252
1252
  x: i,
1253
- y: c
1253
+ y: u
1254
1254
  };
1255
1255
  }
1256
1256
  const Io = /* @__PURE__ */ ie(0);
1257
- function Wt(e) {
1257
+ function Yt(e) {
1258
1258
  const n = Q(e);
1259
1259
  return !ct() || !n.visualViewport ? Io : {
1260
1260
  x: n.visualViewport.offsetLeft,
@@ -1269,29 +1269,29 @@ function ye(e, n, t, o) {
1269
1269
  const l = e.getBoundingClientRect(), a = ut(e);
1270
1270
  let i = ie(1);
1271
1271
  n && (o ? oe(o) && (i = Ce(o)) : i = Ce(e));
1272
- const c = Ho(a, t, o) ? Wt(a) : ie(0);
1273
- let s = (l.left + c.x) / i.x, r = (l.top + c.y) / i.y, u = l.width / i.x, d = l.height / i.y;
1272
+ const u = Ho(a, t, o) ? Yt(a) : ie(0);
1273
+ let s = (l.left + u.x) / i.x, r = (l.top + u.y) / i.y, c = l.width / i.x, d = l.height / i.y;
1274
1274
  if (a) {
1275
- const v = Q(a), m = o && oe(o) ? Q(o) : o;
1276
- let p = v, _ = nt(p);
1277
- for (; _ && o && m !== p; ) {
1278
- const h = Ce(_), y = _.getBoundingClientRect(), w = le(_), g = y.left + (_.clientLeft + parseFloat(w.paddingLeft)) * h.x, L = y.top + (_.clientTop + parseFloat(w.paddingTop)) * h.y;
1279
- s *= h.x, r *= h.y, u *= h.x, d *= h.y, s += g, r += L, p = Q(_), _ = nt(p);
1275
+ const f = Q(a), m = o && oe(o) ? Q(o) : o;
1276
+ let p = f, w = ot(p);
1277
+ for (; w && o && m !== p; ) {
1278
+ const h = Ce(w), y = w.getBoundingClientRect(), _ = le(w), g = y.left + (w.clientLeft + parseFloat(_.paddingLeft)) * h.x, L = y.top + (w.clientTop + parseFloat(_.paddingTop)) * h.y;
1279
+ s *= h.x, r *= h.y, c *= h.x, d *= h.y, s += g, r += L, p = Q(w), w = ot(p);
1280
1280
  }
1281
1281
  }
1282
1282
  return Ke({
1283
- width: u,
1283
+ width: c,
1284
1284
  height: d,
1285
1285
  x: s,
1286
1286
  y: r
1287
1287
  });
1288
1288
  }
1289
- function Ye(e, n) {
1290
- const t = Ge(e).scrollLeft;
1289
+ function Je(e, n) {
1290
+ const t = Ye(e).scrollLeft;
1291
1291
  return n ? n.left + t : ye(re(e)).left + t;
1292
1292
  }
1293
- function Kt(e, n) {
1294
- const t = e.getBoundingClientRect(), o = t.left + n.scrollLeft - Ye(e, t), l = t.top + n.scrollTop;
1293
+ function Jt(e, n) {
1294
+ const t = e.getBoundingClientRect(), o = t.left + n.scrollLeft - Je(e, t), l = t.top + n.scrollTop;
1295
1295
  return {
1296
1296
  x: o,
1297
1297
  y: l
@@ -1304,72 +1304,72 @@ function Uo(e) {
1304
1304
  offsetParent: o,
1305
1305
  strategy: l
1306
1306
  } = e;
1307
- const a = l === "fixed", i = re(o), c = n ? qe(n.floating) : !1;
1308
- if (o === i || c && a)
1307
+ const a = l === "fixed", i = re(o), u = n ? Ge(n.floating) : !1;
1308
+ if (o === i || u && a)
1309
1309
  return t;
1310
1310
  let s = {
1311
1311
  scrollLeft: 0,
1312
1312
  scrollTop: 0
1313
1313
  }, r = ie(1);
1314
- const u = ie(0), d = se(o);
1315
- if ((d || !d && !a) && ((_e(o) !== "body" || Pe(i)) && (s = Ge(o)), se(o))) {
1314
+ const c = ie(0), d = se(o);
1315
+ if ((d || !d && !a) && ((_e(o) !== "body" || je(i)) && (s = Ye(o)), se(o))) {
1316
1316
  const m = ye(o);
1317
- r = Ce(o), u.x = m.x + o.clientLeft, u.y = m.y + o.clientTop;
1317
+ r = Ce(o), c.x = m.x + o.clientLeft, c.y = m.y + o.clientTop;
1318
1318
  }
1319
- const v = i && !d && !a ? Kt(i, s) : ie(0);
1319
+ const f = i && !d && !a ? Jt(i, s) : ie(0);
1320
1320
  return {
1321
1321
  width: t.width * r.x,
1322
1322
  height: t.height * r.y,
1323
- x: t.x * r.x - s.scrollLeft * r.x + u.x + v.x,
1324
- y: t.y * r.y - s.scrollTop * r.y + u.y + v.y
1323
+ x: t.x * r.x - s.scrollLeft * r.x + c.x + f.x,
1324
+ y: t.y * r.y - s.scrollTop * r.y + c.y + f.y
1325
1325
  };
1326
1326
  }
1327
1327
  function Wo(e) {
1328
1328
  return Array.from(e.getClientRects());
1329
1329
  }
1330
1330
  function Ko(e) {
1331
- const n = re(e), t = Ge(e), o = e.ownerDocument.body, l = Y(n.scrollWidth, n.clientWidth, o.scrollWidth, o.clientWidth), a = Y(n.scrollHeight, n.clientHeight, o.scrollHeight, o.clientHeight);
1332
- let i = -t.scrollLeft + Ye(e);
1333
- const c = -t.scrollTop;
1334
- return le(o).direction === "rtl" && (i += Y(n.clientWidth, o.clientWidth) - l), {
1331
+ const n = re(e), t = Ye(e), o = e.ownerDocument.body, l = J(n.scrollWidth, n.clientWidth, o.scrollWidth, o.clientWidth), a = J(n.scrollHeight, n.clientHeight, o.scrollHeight, o.clientHeight);
1332
+ let i = -t.scrollLeft + Je(e);
1333
+ const u = -t.scrollTop;
1334
+ return le(o).direction === "rtl" && (i += J(n.clientWidth, o.clientWidth) - l), {
1335
1335
  width: l,
1336
1336
  height: a,
1337
1337
  x: i,
1338
- y: c
1338
+ y: u
1339
1339
  };
1340
1340
  }
1341
- const Et = 25;
1341
+ const At = 25;
1342
1342
  function Xo(e, n) {
1343
1343
  const t = Q(e), o = re(e), l = t.visualViewport;
1344
- let a = o.clientWidth, i = o.clientHeight, c = 0, s = 0;
1344
+ let a = o.clientWidth, i = o.clientHeight, u = 0, s = 0;
1345
1345
  if (l) {
1346
1346
  a = l.width, i = l.height;
1347
- const u = ct();
1348
- (!u || u && n === "fixed") && (c = l.offsetLeft, s = l.offsetTop);
1347
+ const c = ct();
1348
+ (!c || c && n === "fixed") && (u = l.offsetLeft, s = l.offsetTop);
1349
1349
  }
1350
- const r = Ye(o);
1350
+ const r = Je(o);
1351
1351
  if (r <= 0) {
1352
- const u = o.ownerDocument, d = u.body, v = getComputedStyle(d), m = u.compatMode === "CSS1Compat" && parseFloat(v.marginLeft) + parseFloat(v.marginRight) || 0, p = Math.abs(o.clientWidth - d.clientWidth - m);
1353
- p <= Et && (a -= p);
1354
- } else r <= Et && (a += r);
1352
+ const c = o.ownerDocument, d = c.body, f = getComputedStyle(d), m = c.compatMode === "CSS1Compat" && parseFloat(f.marginLeft) + parseFloat(f.marginRight) || 0, p = Math.abs(o.clientWidth - d.clientWidth - m);
1353
+ p <= At && (a -= p);
1354
+ } else r <= At && (a += r);
1355
1355
  return {
1356
1356
  width: a,
1357
1357
  height: i,
1358
- x: c,
1358
+ x: u,
1359
1359
  y: s
1360
1360
  };
1361
1361
  }
1362
1362
  const No = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1363
1363
  function qo(e, n) {
1364
- const t = ye(e, !0, n === "fixed"), o = t.top + e.clientTop, l = t.left + e.clientLeft, a = se(e) ? Ce(e) : ie(1), i = e.clientWidth * a.x, c = e.clientHeight * a.y, s = l * a.x, r = o * a.y;
1364
+ const t = ye(e, !0, n === "fixed"), o = t.top + e.clientTop, l = t.left + e.clientLeft, a = se(e) ? Ce(e) : ie(1), i = e.clientWidth * a.x, u = e.clientHeight * a.y, s = l * a.x, r = o * a.y;
1365
1365
  return {
1366
1366
  width: i,
1367
- height: c,
1367
+ height: u,
1368
1368
  x: s,
1369
1369
  y: r
1370
1370
  };
1371
1371
  }
1372
- function Lt(e, n, t) {
1372
+ function Ot(e, n, t) {
1373
1373
  let o;
1374
1374
  if (n === "viewport")
1375
1375
  o = Xo(e, t);
@@ -1378,7 +1378,7 @@ function Lt(e, n, t) {
1378
1378
  else if (oe(n))
1379
1379
  o = qo(n, t);
1380
1380
  else {
1381
- const l = Wt(e);
1381
+ const l = Yt(e);
1382
1382
  o = {
1383
1383
  x: n.x - l.x,
1384
1384
  y: n.y - l.y,
@@ -1388,20 +1388,20 @@ function Lt(e, n, t) {
1388
1388
  }
1389
1389
  return Ke(o);
1390
1390
  }
1391
- function Xt(e, n) {
1391
+ function Qt(e, n) {
1392
1392
  const t = he(e);
1393
- return t === n || !oe(t) || $e(t) ? !1 : le(t).position === "fixed" || Xt(t, n);
1393
+ return t === n || !oe(t) || $e(t) ? !1 : le(t).position === "fixed" || Qt(t, n);
1394
1394
  }
1395
1395
  function Go(e, n) {
1396
1396
  const t = n.get(e);
1397
1397
  if (t)
1398
1398
  return t;
1399
- let o = Te(e, [], !1).filter((c) => oe(c) && _e(c) !== "body"), l = null;
1399
+ let o = Be(e, [], !1).filter((u) => oe(u) && _e(u) !== "body"), l = null;
1400
1400
  const a = le(e).position === "fixed";
1401
1401
  let i = a ? he(e) : e;
1402
1402
  for (; oe(i) && !$e(i); ) {
1403
- const c = le(i), s = rt(i);
1404
- !s && c.position === "fixed" && (l = null), (a ? !s && !l : !s && c.position === "static" && !!l && No.has(l.position) || Pe(i) && !s && Xt(e, i)) ? o = o.filter((u) => u !== i) : l = c, i = he(i);
1403
+ const u = le(i), s = rt(i);
1404
+ !s && u.position === "fixed" && (l = null), (a ? !s && !l : !s && u.position === "static" && !!l && No.has(l.position) || je(i) && !s && Qt(e, i)) ? o = o.filter((c) => c !== i) : l = u, i = he(i);
1405
1405
  }
1406
1406
  return n.set(e, o), o;
1407
1407
  }
@@ -1412,10 +1412,10 @@ function Yo(e) {
1412
1412
  rootBoundary: o,
1413
1413
  strategy: l
1414
1414
  } = e;
1415
- const i = [...t === "clippingAncestors" ? qe(n) ? [] : Go(n, this._c) : [].concat(t), o], c = i[0], s = i.reduce((r, u) => {
1416
- const d = Lt(n, u, l);
1417
- return r.top = Y(d.top, r.top), r.right = Le(d.right, r.right), r.bottom = Le(d.bottom, r.bottom), r.left = Y(d.left, r.left), r;
1418
- }, Lt(n, c, l));
1415
+ const i = [...t === "clippingAncestors" ? Ge(n) ? [] : Go(n, this._c) : [].concat(t), o], u = i[0], s = i.reduce((r, c) => {
1416
+ const d = Ot(n, c, l);
1417
+ return r.top = J(d.top, r.top), r.right = Le(d.right, r.right), r.bottom = Le(d.bottom, r.bottom), r.left = J(d.left, r.left), r;
1418
+ }, Ot(n, u, l));
1419
1419
  return {
1420
1420
  width: s.right - s.left,
1421
1421
  height: s.bottom - s.top,
@@ -1427,7 +1427,7 @@ function Jo(e) {
1427
1427
  const {
1428
1428
  width: n,
1429
1429
  height: t
1430
- } = Ut(e);
1430
+ } = Gt(e);
1431
1431
  return {
1432
1432
  width: n,
1433
1433
  height: t
@@ -1435,32 +1435,32 @@ function Jo(e) {
1435
1435
  }
1436
1436
  function Qo(e, n, t) {
1437
1437
  const o = se(n), l = re(n), a = t === "fixed", i = ye(e, !0, a, n);
1438
- let c = {
1438
+ let u = {
1439
1439
  scrollLeft: 0,
1440
1440
  scrollTop: 0
1441
1441
  };
1442
1442
  const s = ie(0);
1443
1443
  function r() {
1444
- s.x = Ye(l);
1444
+ s.x = Je(l);
1445
1445
  }
1446
1446
  if (o || !o && !a)
1447
- if ((_e(n) !== "body" || Pe(l)) && (c = Ge(n)), o) {
1447
+ if ((_e(n) !== "body" || je(l)) && (u = Ye(n)), o) {
1448
1448
  const m = ye(n, !0, a, n);
1449
1449
  s.x = m.x + n.clientLeft, s.y = m.y + n.clientTop;
1450
1450
  } else l && r();
1451
1451
  a && !o && l && r();
1452
- const u = l && !o && !a ? Kt(l, c) : ie(0), d = i.left + c.scrollLeft - s.x - u.x, v = i.top + c.scrollTop - s.y - u.y;
1452
+ const c = l && !o && !a ? Jt(l, u) : ie(0), d = i.left + u.scrollLeft - s.x - c.x, f = i.top + u.scrollTop - s.y - c.y;
1453
1453
  return {
1454
1454
  x: d,
1455
- y: v,
1455
+ y: f,
1456
1456
  width: i.width,
1457
1457
  height: i.height
1458
1458
  };
1459
1459
  }
1460
- function Qe(e) {
1460
+ function Ze(e) {
1461
1461
  return le(e).position === "static";
1462
1462
  }
1463
- function $t(e, n) {
1463
+ function Tt(e, n) {
1464
1464
  if (!se(e) || le(e).position === "fixed")
1465
1465
  return null;
1466
1466
  if (n)
@@ -1468,26 +1468,26 @@ function $t(e, n) {
1468
1468
  let t = e.offsetParent;
1469
1469
  return re(e) === t && (t = t.ownerDocument.body), t;
1470
1470
  }
1471
- function Nt(e, n) {
1471
+ function Zt(e, n) {
1472
1472
  const t = Q(e);
1473
- if (qe(e))
1473
+ if (Ge(e))
1474
1474
  return t;
1475
1475
  if (!se(e)) {
1476
1476
  let l = he(e);
1477
1477
  for (; l && !$e(l); ) {
1478
- if (oe(l) && !Qe(l))
1478
+ if (oe(l) && !Ze(l))
1479
1479
  return l;
1480
1480
  l = he(l);
1481
1481
  }
1482
1482
  return t;
1483
1483
  }
1484
- let o = $t(e, n);
1485
- for (; o && Bo(o) && Qe(o); )
1486
- o = $t(o, n);
1487
- return o && $e(o) && Qe(o) && !rt(o) ? t : o || Fo(e) || t;
1484
+ let o = Tt(e, n);
1485
+ for (; o && Bo(o) && Ze(o); )
1486
+ o = Tt(o, n);
1487
+ return o && $e(o) && Ze(o) && !rt(o) ? t : o || Fo(e) || t;
1488
1488
  }
1489
1489
  const Zo = async function(e) {
1490
- const n = this.getOffsetParent || Nt, t = this.getDimensions, o = await t(e.floating);
1490
+ const n = this.getOffsetParent || Zt, t = this.getDimensions, o = await t(e.floating);
1491
1491
  return {
1492
1492
  reference: Qo(e.reference, await n(e.floating), e.strategy),
1493
1493
  floating: {
@@ -1505,7 +1505,7 @@ const tl = {
1505
1505
  convertOffsetParentRelativeRectToViewportRelativeRect: Uo,
1506
1506
  getDocumentElement: re,
1507
1507
  getClippingRect: Yo,
1508
- getOffsetParent: Nt,
1508
+ getOffsetParent: Zt,
1509
1509
  getElementRects: Zo,
1510
1510
  getClientRects: Wo,
1511
1511
  getDimensions: Jo,
@@ -1513,29 +1513,29 @@ const tl = {
1513
1513
  isElement: oe,
1514
1514
  isRTL: el
1515
1515
  };
1516
- function qt(e, n) {
1516
+ function en(e, n) {
1517
1517
  return e.x === n.x && e.y === n.y && e.width === n.width && e.height === n.height;
1518
1518
  }
1519
1519
  function nl(e, n) {
1520
1520
  let t = null, o;
1521
1521
  const l = re(e);
1522
1522
  function a() {
1523
- var c;
1524
- clearTimeout(o), (c = t) == null || c.disconnect(), t = null;
1523
+ var u;
1524
+ clearTimeout(o), (u = t) == null || u.disconnect(), t = null;
1525
1525
  }
1526
- function i(c, s) {
1527
- c === void 0 && (c = !1), s === void 0 && (s = 1), a();
1526
+ function i(u, s) {
1527
+ u === void 0 && (u = !1), s === void 0 && (s = 1), a();
1528
1528
  const r = e.getBoundingClientRect(), {
1529
- left: u,
1529
+ left: c,
1530
1530
  top: d,
1531
- width: v,
1531
+ width: f,
1532
1532
  height: m
1533
1533
  } = r;
1534
- if (c || n(), !v || !m)
1534
+ if (u || n(), !f || !m)
1535
1535
  return;
1536
- const p = ze(d), _ = ze(l.clientWidth - (u + v)), h = ze(l.clientHeight - (d + m)), y = ze(u), g = {
1537
- rootMargin: -p + "px " + -_ + "px " + -h + "px " + -y + "px",
1538
- threshold: Y(0, Le(1, s)) || 1
1536
+ const p = Ie(d), w = Ie(l.clientWidth - (c + f)), h = Ie(l.clientHeight - (d + m)), y = Ie(c), g = {
1537
+ rootMargin: -p + "px " + -w + "px " + -h + "px " + -y + "px",
1538
+ threshold: J(0, Le(1, s)) || 1
1539
1539
  };
1540
1540
  let L = !0;
1541
1541
  function B(F) {
@@ -1547,7 +1547,7 @@ function nl(e, n) {
1547
1547
  i(!1, 1e-7);
1548
1548
  }, 1e3);
1549
1549
  }
1550
- x === 1 && !qt(r, e.getBoundingClientRect()) && i(), L = !1;
1550
+ x === 1 && !en(r, e.getBoundingClientRect()) && i(), L = !1;
1551
1551
  }
1552
1552
  try {
1553
1553
  t = new IntersectionObserver(B, {
@@ -1562,43 +1562,43 @@ function nl(e, n) {
1562
1562
  }
1563
1563
  return i(!0), a;
1564
1564
  }
1565
- function Gt(e, n, t, o) {
1565
+ function dt(e, n, t, o) {
1566
1566
  o === void 0 && (o = {});
1567
1567
  const {
1568
1568
  ancestorScroll: l = !0,
1569
1569
  ancestorResize: a = !0,
1570
1570
  elementResize: i = typeof ResizeObserver == "function",
1571
- layoutShift: c = typeof IntersectionObserver == "function",
1571
+ layoutShift: u = typeof IntersectionObserver == "function",
1572
1572
  animationFrame: s = !1
1573
- } = o, r = ut(e), u = l || a ? [...r ? Te(r) : [], ...Te(n)] : [];
1574
- u.forEach((y) => {
1573
+ } = o, r = ut(e), c = l || a ? [...r ? Be(r) : [], ...Be(n)] : [];
1574
+ c.forEach((y) => {
1575
1575
  l && y.addEventListener("scroll", t, {
1576
1576
  passive: !0
1577
1577
  }), a && y.addEventListener("resize", t);
1578
1578
  });
1579
- const d = r && c ? nl(r, t) : null;
1580
- let v = -1, m = null;
1579
+ const d = r && u ? nl(r, t) : null;
1580
+ let f = -1, m = null;
1581
1581
  i && (m = new ResizeObserver((y) => {
1582
- let [w] = y;
1583
- w && w.target === r && m && (m.unobserve(n), cancelAnimationFrame(v), v = requestAnimationFrame(() => {
1582
+ let [_] = y;
1583
+ _ && _.target === r && m && (m.unobserve(n), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
1584
1584
  var g;
1585
1585
  (g = m) == null || g.observe(n);
1586
1586
  })), t();
1587
1587
  }), r && !s && m.observe(r), m.observe(n));
1588
- let p, _ = s ? ye(e) : null;
1588
+ let p, w = s ? ye(e) : null;
1589
1589
  s && h();
1590
1590
  function h() {
1591
1591
  const y = ye(e);
1592
- _ && !qt(_, y) && t(), _ = y, p = requestAnimationFrame(h);
1592
+ w && !en(w, y) && t(), w = y, p = requestAnimationFrame(h);
1593
1593
  }
1594
1594
  return t(), () => {
1595
1595
  var y;
1596
- u.forEach((w) => {
1597
- l && w.removeEventListener("scroll", t), a && w.removeEventListener("resize", t);
1596
+ c.forEach((_) => {
1597
+ l && _.removeEventListener("scroll", t), a && _.removeEventListener("resize", t);
1598
1598
  }), d?.(), (y = m) == null || y.disconnect(), m = null, s && cancelAnimationFrame(p);
1599
1599
  };
1600
1600
  }
1601
- const Yt = So, Jt = Ro, Qt = Eo, ol = Ao, ll = (e, n, t) => {
1601
+ const ft = So, vt = Ro, mt = Eo, ol = Ao, ll = (e, n, t) => {
1602
1602
  const o = /* @__PURE__ */ new Map(), l = {
1603
1603
  platform: tl,
1604
1604
  ...t
@@ -1614,50 +1614,50 @@ const Yt = So, Jt = Ro, Qt = Eo, ol = Ao, ll = (e, n, t) => {
1614
1614
  function al(e) {
1615
1615
  return e != null && typeof e == "object" && "$el" in e;
1616
1616
  }
1617
- function St(e) {
1617
+ function Bt(e) {
1618
1618
  if (al(e)) {
1619
1619
  const n = e.$el;
1620
1620
  return st(n) && _e(n) === "#comment" ? null : n;
1621
1621
  }
1622
1622
  return e;
1623
1623
  }
1624
- function Ae(e) {
1625
- return typeof e == "function" ? e() : $(e);
1624
+ function Oe(e) {
1625
+ return typeof e == "function" ? e() : S(e);
1626
1626
  }
1627
- function Zt(e) {
1627
+ function tn(e) {
1628
1628
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
1629
1629
  }
1630
- function Rt(e, n) {
1631
- const t = Zt(e);
1630
+ function Dt(e, n) {
1631
+ const t = tn(e);
1632
1632
  return Math.round(n * t) / t;
1633
1633
  }
1634
- function en(e, n, t) {
1634
+ function pt(e, n, t) {
1635
1635
  t === void 0 && (t = {});
1636
- const o = t.whileElementsMounted, l = C(() => {
1636
+ const o = t.whileElementsMounted, l = E(() => {
1637
1637
  var x;
1638
- return (x = Ae(t.open)) != null ? x : !0;
1639
- }), a = C(() => Ae(t.middleware)), i = C(() => {
1638
+ return (x = Oe(t.open)) != null ? x : !0;
1639
+ }), a = E(() => Oe(t.middleware)), i = E(() => {
1640
1640
  var x;
1641
- return (x = Ae(t.placement)) != null ? x : "bottom";
1642
- }), c = C(() => {
1641
+ return (x = Oe(t.placement)) != null ? x : "bottom";
1642
+ }), u = E(() => {
1643
1643
  var x;
1644
- return (x = Ae(t.strategy)) != null ? x : "absolute";
1645
- }), s = C(() => {
1644
+ return (x = Oe(t.strategy)) != null ? x : "absolute";
1645
+ }), s = E(() => {
1646
1646
  var x;
1647
- return (x = Ae(t.transform)) != null ? x : !0;
1648
- }), r = C(() => St(e.value)), u = C(() => St(n.value)), d = E(0), v = E(0), m = E(c.value), p = E(i.value), _ = fn({}), h = E(!1), y = C(() => {
1647
+ return (x = Oe(t.transform)) != null ? x : !0;
1648
+ }), r = E(() => Bt(e.value)), c = E(() => Bt(n.value)), d = C(0), f = C(0), m = C(u.value), p = C(i.value), w = fn({}), h = C(!1), y = E(() => {
1649
1649
  const x = {
1650
1650
  position: m.value,
1651
1651
  left: "0",
1652
1652
  top: "0"
1653
1653
  };
1654
- if (!u.value)
1654
+ if (!c.value)
1655
1655
  return x;
1656
- const k = Rt(u.value, d.value), A = Rt(u.value, v.value);
1656
+ const k = Dt(c.value, d.value), A = Dt(c.value, f.value);
1657
1657
  return s.value ? {
1658
1658
  ...x,
1659
1659
  transform: "translate(" + k + "px, " + A + "px)",
1660
- ...Zt(u.value) >= 1.5 && {
1660
+ ...tn(c.value) >= 1.5 && {
1661
1661
  willChange: "transform"
1662
1662
  }
1663
1663
  } : {
@@ -1666,116 +1666,116 @@ function en(e, n, t) {
1666
1666
  top: A + "px"
1667
1667
  };
1668
1668
  });
1669
- let w;
1669
+ let _;
1670
1670
  function g() {
1671
- if (r.value == null || u.value == null)
1671
+ if (r.value == null || c.value == null)
1672
1672
  return;
1673
1673
  const x = l.value;
1674
- ll(r.value, u.value, {
1674
+ ll(r.value, c.value, {
1675
1675
  middleware: a.value,
1676
1676
  placement: i.value,
1677
- strategy: c.value
1677
+ strategy: u.value
1678
1678
  }).then((k) => {
1679
- d.value = k.x, v.value = k.y, m.value = k.strategy, p.value = k.placement, _.value = k.middlewareData, h.value = x !== !1;
1679
+ d.value = k.x, f.value = k.y, m.value = k.strategy, p.value = k.placement, w.value = k.middlewareData, h.value = x !== !1;
1680
1680
  });
1681
1681
  }
1682
1682
  function L() {
1683
- typeof w == "function" && (w(), w = void 0);
1683
+ typeof _ == "function" && (_(), _ = void 0);
1684
1684
  }
1685
1685
  function B() {
1686
1686
  if (L(), o === void 0) {
1687
1687
  g();
1688
1688
  return;
1689
1689
  }
1690
- if (r.value != null && u.value != null) {
1691
- w = o(r.value, u.value, g);
1690
+ if (r.value != null && c.value != null) {
1691
+ _ = o(r.value, c.value, g);
1692
1692
  return;
1693
1693
  }
1694
1694
  }
1695
1695
  function F() {
1696
1696
  l.value || (h.value = !1);
1697
1697
  }
1698
- return X([a, i, c, l], g, {
1698
+ return X([a, i, u, l], g, {
1699
1699
  flush: "sync"
1700
- }), X([r, u], B, {
1700
+ }), X([r, c], B, {
1701
1701
  flush: "sync"
1702
1702
  }), X(l, F, {
1703
1703
  flush: "sync"
1704
1704
  }), vn() && mn(L), {
1705
1705
  x: ke(d),
1706
- y: ke(v),
1706
+ y: ke(f),
1707
1707
  strategy: ke(m),
1708
1708
  placement: ke(p),
1709
- middlewareData: ke(_),
1709
+ middlewareData: ke(w),
1710
1710
  isPositioned: ke(h),
1711
1711
  floatingStyles: y,
1712
1712
  update: g
1713
1713
  };
1714
1714
  }
1715
- const il = /* @__PURE__ */ T({
1715
+ const il = /* @__PURE__ */ O({
1716
1716
  inheritAttrs: !1,
1717
1717
  __name: "dot-menu",
1718
1718
  props: {
1719
1719
  icon: {}
1720
1720
  },
1721
1721
  setup(e) {
1722
- const n = e, t = E(!1), o = E(null), l = E(null), a = C(() => n.icon ?? U.DOT_MENU), { floatingStyles: i } = en(o, l, {
1722
+ const n = e, t = C(!1), o = C(null), l = C(null), a = E(() => n.icon ?? W.DOT_MENU), { floatingStyles: i } = pt(o, l, {
1723
1723
  placement: "bottom-end",
1724
- middleware: [Yt(8), Qt(), Jt({ padding: 8 })],
1725
- whileElementsMounted: Gt
1726
- }), c = () => {
1724
+ middleware: [ft(8), mt(), vt({ padding: 8 })],
1725
+ whileElementsMounted: dt
1726
+ }), u = () => {
1727
1727
  t.value = !t.value;
1728
1728
  }, s = () => {
1729
1729
  t.value = !1;
1730
- }, r = (u) => {
1731
- const d = u.target;
1730
+ }, r = (c) => {
1731
+ const d = c.target;
1732
1732
  d && (d.closest(".menu-action") || d.closest('[role="menuitem"]') || d.closest("a")) && s();
1733
1733
  };
1734
- return (u, d) => {
1735
- const v = N("VjButton"), m = N("VjMenu");
1736
- return f(), b(ne, null, [
1734
+ return (c, d) => {
1735
+ const f = N("VjButton"), m = N("VjMenu");
1736
+ return v(), b(ne, null, [
1737
1737
  V("div", {
1738
- class: I(["dot-menu-container", u.$attrs.class])
1738
+ class: I(["dot-menu-container", c.$attrs.class])
1739
1739
  }, [
1740
- P(v, {
1740
+ M(f, {
1741
1741
  ref_key: "buttonRef",
1742
1742
  ref: o,
1743
1743
  class: "dot-menu",
1744
1744
  tertiary: "",
1745
1745
  icon: a.value,
1746
- onClick: c
1746
+ onClick: u
1747
1747
  }, null, 8, ["icon"]),
1748
- P(He, { name: "menu" }, {
1749
- default: W(() => [
1750
- t.value ? (f(), j(m, {
1748
+ M(Te, { name: "menu" }, {
1749
+ default: U(() => [
1750
+ t.value ? (v(), j(m, {
1751
1751
  key: 0,
1752
1752
  ref_key: "floatingRef",
1753
1753
  ref: l,
1754
- style: J($(i)),
1754
+ style: Y(S(i)),
1755
1755
  class: "menu-dropdown",
1756
1756
  onClose: s,
1757
1757
  onClick: r
1758
1758
  }, {
1759
- default: W(() => [
1760
- M(u.$slots, "default", {}, void 0, !0)
1759
+ default: U(() => [
1760
+ D(c.$slots, "default", {}, void 0, !0)
1761
1761
  ]),
1762
1762
  _: 3
1763
- }, 8, ["style"])) : S("", !0)
1763
+ }, 8, ["style"])) : $("", !0)
1764
1764
  ]),
1765
1765
  _: 3
1766
1766
  })
1767
1767
  ], 2),
1768
- (f(), j(ot, { to: "body" }, [
1769
- t.value ? (f(), b("div", {
1768
+ (v(), j(Ne, { to: "body" }, [
1769
+ t.value ? (v(), b("div", {
1770
1770
  key: 0,
1771
1771
  class: "menu-backdrop",
1772
1772
  onClick: s
1773
- })) : S("", !0)
1773
+ })) : $("", !0)
1774
1774
  ]))
1775
1775
  ], 64);
1776
1776
  };
1777
1777
  }
1778
- }), sl = /* @__PURE__ */ O(il, [["__scopeId", "data-v-67bd71e4"]]), rl = /* @__PURE__ */ T({
1778
+ }), sl = /* @__PURE__ */ T(il, [["__scopeId", "data-v-67bd71e4"]]), rl = /* @__PURE__ */ O({
1779
1779
  __name: "link-button",
1780
1780
  props: {
1781
1781
  label: {},
@@ -1787,27 +1787,27 @@ const il = /* @__PURE__ */ T({
1787
1787
  disabled: { type: Boolean }
1788
1788
  },
1789
1789
  setup(e) {
1790
- const n = e, t = q.S, o = C(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary");
1790
+ const n = e, t = q.S, o = E(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary");
1791
1791
  return (l, a) => {
1792
1792
  const i = N("router-link");
1793
- return f(), j(i, {
1793
+ return v(), j(i, {
1794
1794
  to: e.to,
1795
1795
  class: I(["button", o.value]),
1796
1796
  disabled: e.disabled
1797
1797
  }, {
1798
- default: W(() => [
1799
- e.icon ? (f(), j(we, {
1798
+ default: U(() => [
1799
+ e.icon ? (v(), j(we, {
1800
1800
  key: 0,
1801
1801
  icon: e.icon,
1802
- size: $(t)
1803
- }, null, 8, ["icon", "size"])) : S("", !0),
1804
- Ie(" " + D(e.label), 1)
1802
+ size: S(t)
1803
+ }, null, 8, ["icon", "size"])) : $("", !0),
1804
+ He(" " + P(e.label), 1)
1805
1805
  ]),
1806
1806
  _: 1
1807
1807
  }, 8, ["to", "class", "disabled"]);
1808
1808
  };
1809
1809
  }
1810
- }), cl = /* @__PURE__ */ O(rl, [["__scopeId", "data-v-bd3cf2f5"]]), ul = ["disabled"], dl = { class: "menu-action--icon" }, fl = /* @__PURE__ */ T({
1810
+ }), cl = /* @__PURE__ */ T(rl, [["__scopeId", "data-v-bd3cf2f5"]]), ul = ["disabled"], dl = { class: "menu-action--icon" }, fl = /* @__PURE__ */ O({
1811
1811
  __name: "menu-action",
1812
1812
  props: {
1813
1813
  label: {},
@@ -1816,34 +1816,34 @@ const il = /* @__PURE__ */ T({
1816
1816
  },
1817
1817
  setup(e) {
1818
1818
  const n = q.S;
1819
- return (t, o) => (f(), b("button", {
1819
+ return (t, o) => (v(), b("button", {
1820
1820
  class: "menu-action button tertiary",
1821
1821
  disabled: e.disabled
1822
1822
  }, [
1823
1823
  V("span", dl, [
1824
- e.icon ? (f(), j(we, {
1824
+ e.icon ? (v(), j(we, {
1825
1825
  key: 0,
1826
1826
  icon: e.icon,
1827
- size: $(n)
1828
- }, null, 8, ["icon", "size"])) : S("", !0)
1827
+ size: S(n)
1828
+ }, null, 8, ["icon", "size"])) : $("", !0)
1829
1829
  ]),
1830
- V("span", null, D(e.label), 1)
1830
+ V("span", null, P(e.label), 1)
1831
1831
  ], 8, ul));
1832
1832
  }
1833
- }), vl = /* @__PURE__ */ O(fl, [["__scopeId", "data-v-07850995"]]), ml = {}, pl = { class: "menu" };
1833
+ }), vl = /* @__PURE__ */ T(fl, [["__scopeId", "data-v-07850995"]]), ml = {}, pl = { class: "menu" };
1834
1834
  function hl(e, n) {
1835
- return f(), b("div", pl, [
1836
- M(e.$slots, "default", {}, void 0, !0)
1835
+ return v(), b("div", pl, [
1836
+ D(e.$slots, "default", {}, void 0, !0)
1837
1837
  ]);
1838
1838
  }
1839
- const gl = /* @__PURE__ */ O(ml, [["render", hl], ["__scopeId", "data-v-259fec08"]]), bl = {
1839
+ const gl = /* @__PURE__ */ T(ml, [["render", hl], ["__scopeId", "data-v-259fec08"]]), bl = {
1840
1840
  mounted(e) {
1841
1841
  e.classList.add("compact");
1842
1842
  },
1843
1843
  unmounted(e) {
1844
1844
  e.classList.remove("compact");
1845
1845
  }
1846
- }, tn = [
1846
+ }, nn = [
1847
1847
  'input:not([disabled]):not([type="hidden"])',
1848
1848
  "select:not([disabled])",
1849
1849
  "textarea:not([disabled])",
@@ -1853,7 +1853,7 @@ const gl = /* @__PURE__ */ O(ml, [["render", hl], ["__scopeId", "data-v-259fec08
1853
1853
  '[contenteditable="true"]'
1854
1854
  ].join(", ");
1855
1855
  function yl(e) {
1856
- const n = e.querySelectorAll(tn);
1856
+ const n = e.querySelectorAll(nn);
1857
1857
  for (const t of Array.from(n))
1858
1858
  if (t.offsetParent !== null || t.getClientRects().length > 0)
1859
1859
  return t;
@@ -1862,7 +1862,7 @@ function yl(e) {
1862
1862
  const wl = {
1863
1863
  mounted(e, n) {
1864
1864
  const t = typeof n.value == "number" ? n.value : 0, o = () => {
1865
- if (e.matches(tn)) {
1865
+ if (e.matches(nn)) {
1866
1866
  e.focus();
1867
1867
  return;
1868
1868
  }
@@ -1872,7 +1872,7 @@ const wl = {
1872
1872
  t > 0 ? setTimeout(o, t) : requestAnimationFrame(o);
1873
1873
  }
1874
1874
  };
1875
- class dt {
1875
+ class ht {
1876
1876
  static _instance = null;
1877
1877
  observer = null;
1878
1878
  targets = /* @__PURE__ */ new Map();
@@ -1880,7 +1880,7 @@ class dt {
1880
1880
  this.init();
1881
1881
  }
1882
1882
  static get instance() {
1883
- return this._instance || (this._instance = new dt()), this._instance;
1883
+ return this._instance || (this._instance = new ht()), this._instance;
1884
1884
  }
1885
1885
  init() {
1886
1886
  typeof window < "u" && "ResizeObserver" in window ? this.observer = new ResizeObserver((n) => {
@@ -1903,15 +1903,15 @@ class dt {
1903
1903
  for (const i of t.callbacks)
1904
1904
  try {
1905
1905
  i(o, l, a);
1906
- } catch (c) {
1907
- console.error("resize callback error", c);
1906
+ } catch (u) {
1907
+ console.error("resize callback error", u);
1908
1908
  }
1909
1909
  if (t.breakpoints) {
1910
1910
  const i = Object.keys(t.breakpoints).map((s) => Number(s)).filter((s) => !Number.isNaN(s)).sort((s, r) => s - r);
1911
- let c;
1911
+ let u;
1912
1912
  for (const s of i)
1913
- o >= s && (c = t.breakpoints[s]);
1914
- c !== t.currentClass && (t.currentClass && n.target.classList.remove(t.currentClass), c && n.target.classList.add(c), t.currentClass = c);
1913
+ o >= s && (u = t.breakpoints[s]);
1914
+ u !== t.currentClass && (t.currentClass && n.target.classList.remove(t.currentClass), u && n.target.classList.add(u), t.currentClass = u);
1915
1915
  }
1916
1916
  }
1917
1917
  observe(n, t, o) {
@@ -1925,8 +1925,8 @@ class dt {
1925
1925
  if (o?.immediate) {
1926
1926
  const a = n.getBoundingClientRect(), i = { target: n, contentRect: a };
1927
1927
  if (this.handleEntry(i), t) {
1928
- const c = a.width, s = a.height;
1929
- t(c, s, n);
1928
+ const u = a.width, s = a.height;
1929
+ t(u, s, n);
1930
1930
  }
1931
1931
  }
1932
1932
  }
@@ -1935,18 +1935,18 @@ class dt {
1935
1935
  o && (t && o.callbacks.delete(t), (!t || o.callbacks.size === 0) && (this.targets.delete(n), this.observer && this.observer.unobserve(n), o.currentClass && n.classList && n.classList.remove(o.currentClass)));
1936
1936
  }
1937
1937
  }
1938
- const Ve = dt.instance, _l = {
1938
+ const Ve = ht.instance, _l = {
1939
1939
  mounted(e, n) {
1940
1940
  const t = n.value, o = typeof t == "function" ? t : t?.onResize, l = typeof t == "object" && t?.breakpoints ? t.breakpoints : void 0, a = typeof t == "object" && !!t?.immediate, i = e;
1941
1941
  i.__resize_cb = o, i.__resize_breakpoints = l, o && Ve.observe(e, o, { breakpoints: l, immediate: a });
1942
1942
  },
1943
1943
  updated(e, n) {
1944
- const t = e, o = t.__resize_cb, l = t.__resize_breakpoints, a = n.value, i = typeof a == "function" ? a : a?.onResize, c = typeof a == "object" && a?.breakpoints ? a.breakpoints : void 0;
1944
+ const t = e, o = t.__resize_cb, l = t.__resize_breakpoints, a = n.value, i = typeof a == "function" ? a : a?.onResize, u = typeof a == "object" && a?.breakpoints ? a.breakpoints : void 0;
1945
1945
  if (o !== i) {
1946
- o && Ve.unobserve(e, o), i && Ve.observe(e, i, { breakpoints: c, immediate: !!(a && typeof a == "object" && a.immediate) }), t.__resize_cb = i, t.__resize_breakpoints = c;
1946
+ o && Ve.unobserve(e, o), i && Ve.observe(e, i, { breakpoints: u, immediate: !!(a && typeof a == "object" && a.immediate) }), t.__resize_cb = i, t.__resize_breakpoints = u;
1947
1947
  return;
1948
1948
  }
1949
- JSON.stringify(l || {}) !== JSON.stringify(c || {}) && (o && Ve.unobserve(e, o), i && Ve.observe(e, i, { breakpoints: c, immediate: !0 }), t.__resize_breakpoints = c);
1949
+ JSON.stringify(l || {}) !== JSON.stringify(u || {}) && (o && Ve.unobserve(e, o), i && Ve.observe(e, i, { breakpoints: u, immediate: !0 }), t.__resize_breakpoints = u);
1950
1950
  },
1951
1951
  unmounted(e) {
1952
1952
  const n = e, t = n.__resize_cb;
@@ -1954,10 +1954,10 @@ const Ve = dt.instance, _l = {
1954
1954
  }
1955
1955
  }, xl = {}, kl = { class: "spinner" };
1956
1956
  function Vl(e, n) {
1957
- return f(), b("div", kl);
1957
+ return v(), b("div", kl);
1958
1958
  }
1959
- const nn = /* @__PURE__ */ O(xl, [["render", Vl], ["__scopeId", "data-v-b957fb82"]]), Cl = 200, El = 120;
1960
- function At(e, n) {
1959
+ const on = /* @__PURE__ */ T(xl, [["render", Vl], ["__scopeId", "data-v-b957fb82"]]), Cl = 200, El = 120;
1960
+ function Mt(e, n) {
1961
1961
  const t = n.querySelector(".vj-loading-inner");
1962
1962
  if (!t) return;
1963
1963
  const o = e.clientHeight || e.getBoundingClientRect().height;
@@ -1969,20 +1969,20 @@ const Ll = {
1969
1969
  mounted(e, n) {
1970
1970
  let t, o;
1971
1971
  if (typeof n.value == "object" && n.value !== null) {
1972
- const v = n.value;
1973
- t = !!(v.active ?? !0), o = v.text;
1972
+ const f = n.value;
1973
+ t = !!(f.active ?? !0), o = f.text;
1974
1974
  } else
1975
1975
  t = !!n.value, o = void 0;
1976
1976
  const l = getComputedStyle(e), a = { overlay: document.createElement("div") };
1977
1977
  (l.position === "static" || !l.position) && (a.originalPosition = e.style.position, e.style.position = "relative");
1978
1978
  const i = a.overlay;
1979
1979
  i.className = "vj-loading-overlay", t || i.classList.add("vj-loading-overlay--hidden");
1980
- const c = document.createElement("div"), s = document.createElement("div");
1981
- s.className = "vj-loading-inner", s.appendChild(c);
1980
+ const u = document.createElement("div"), s = document.createElement("div");
1981
+ s.className = "vj-loading-inner", s.appendChild(u);
1982
1982
  let r;
1983
- o && (r = document.createElement("div"), r.className = "vj-loading-text", r.textContent = o, s.appendChild(r)), i.appendChild(s), At(e, i);
1984
- const u = P(nn);
1985
- wt(u, c), a.spinnerVnode = u, a.spinnerContainer = c, t && (e.setAttribute("aria-busy", "true"), e.style.pointerEvents = "none"), e.appendChild(i);
1983
+ o && (r = document.createElement("div"), r.className = "vj-loading-text", r.textContent = o, s.appendChild(r)), i.appendChild(s), Mt(e, i);
1984
+ const c = M(on);
1985
+ Ct(c, u), a.spinnerVnode = c, a.spinnerContainer = u, t && (e.setAttribute("aria-busy", "true"), e.style.pointerEvents = "none"), e.appendChild(i);
1986
1986
  const d = e;
1987
1987
  d.__vjLoading = a;
1988
1988
  },
@@ -1997,24 +1997,24 @@ const Ll = {
1997
1997
  } else
1998
1998
  a = !!n.value, i = void 0;
1999
1999
  a ? (l.classList.remove("vj-loading-overlay--hidden"), e.setAttribute("aria-busy", "true"), e.style.pointerEvents = "none") : (l.classList.add("vj-loading-overlay--hidden"), e.removeAttribute("aria-busy"), e.style.pointerEvents = "");
2000
- const c = l.querySelector(".vj-loading-inner");
2001
- if (c) {
2002
- const s = c.querySelector(".vj-loading-text");
2000
+ const u = l.querySelector(".vj-loading-inner");
2001
+ if (u) {
2002
+ const s = u.querySelector(".vj-loading-text");
2003
2003
  if (s)
2004
2004
  i ? s.textContent = i : s.remove();
2005
2005
  else if (i) {
2006
2006
  const r = document.createElement("div");
2007
- r.className = "vj-loading-text", r.textContent = i, c.appendChild(r);
2007
+ r.className = "vj-loading-text", r.textContent = i, u.appendChild(r);
2008
2008
  }
2009
2009
  }
2010
- At(e, l);
2010
+ Mt(e, l);
2011
2011
  },
2012
2012
  unmounted(e) {
2013
2013
  const n = e, t = n.__vjLoading;
2014
2014
  if (!t) return;
2015
2015
  const { overlay: o, originalPosition: l } = t;
2016
2016
  try {
2017
- t.spinnerContainer && wt(null, t.spinnerContainer);
2017
+ t.spinnerContainer && Ct(null, t.spinnerContainer);
2018
2018
  } catch {
2019
2019
  }
2020
2020
  o && o.parentElement === e && e.removeChild(o), l !== void 0 && (e.style.position = l), n.__vjLoading = void 0;
@@ -2028,7 +2028,7 @@ const Ll = {
2028
2028
  }, Al = {
2029
2029
  key: 2,
2030
2030
  class: "actions"
2031
- }, Tl = { key: 3 }, Ol = { key: 0 }, Bl = /* @__PURE__ */ T({
2031
+ }, Ol = { key: 3 }, Tl = { key: 0 }, Bl = /* @__PURE__ */ O({
2032
2032
  __name: "page",
2033
2033
  props: {
2034
2034
  title: {},
@@ -2038,41 +2038,41 @@ const Ll = {
2038
2038
  loadingMessage: {}
2039
2039
  },
2040
2040
  setup(e) {
2041
- const n = e, t = C(() => n.flow?.running?.value ?? !1);
2042
- return (o, l) => Bt((f(), b("div", $l, [
2041
+ const n = e, t = E(() => n.flow?.running?.value ?? !1);
2042
+ return (o, l) => zt((v(), b("div", $l, [
2043
2043
  V("header", null, [
2044
- V("h2", null, D(e.title), 1),
2044
+ V("h2", null, P(e.title), 1),
2045
2045
  V("span", null, [
2046
- M(o.$slots, "headerActions", {}, void 0, !0)
2046
+ D(o.$slots, "headerActions", {}, void 0, !0)
2047
2047
  ])
2048
2048
  ]),
2049
2049
  V("main", {
2050
2050
  class: I({ scrollable: e.scrollable })
2051
2051
  }, [
2052
- e.errorMessage ? (f(), b("div", Sl, [
2053
- M(o.$slots, "error", {}, void 0, !0)
2054
- ])) : S("", !0),
2055
- e.errorMessage ? S("", !0) : (f(), b("div", Rl, [
2056
- M(o.$slots, "default", {}, void 0, !0)
2052
+ e.errorMessage ? (v(), b("div", Sl, [
2053
+ D(o.$slots, "error", {}, void 0, !0)
2054
+ ])) : $("", !0),
2055
+ e.errorMessage ? $("", !0) : (v(), b("div", Rl, [
2056
+ D(o.$slots, "default", {}, void 0, !0)
2057
2057
  ])),
2058
- e.errorMessage ? S("", !0) : (f(), b("div", Al, [
2059
- M(o.$slots, "actions", {}, void 0, !0)
2058
+ e.errorMessage ? $("", !0) : (v(), b("div", Al, [
2059
+ D(o.$slots, "actions", {}, void 0, !0)
2060
2060
  ])),
2061
- o.$slots.flexFooter ? (f(), b("footer", Tl, [
2062
- M(o.$slots, "flexFooter", {}, void 0, !0)
2063
- ])) : S("", !0)
2061
+ o.$slots.flexFooter ? (v(), b("footer", Ol, [
2062
+ D(o.$slots, "flexFooter", {}, void 0, !0)
2063
+ ])) : $("", !0)
2064
2064
  ], 2),
2065
- o.$slots.footer ? (f(), b("footer", Ol, [
2066
- M(o.$slots, "footer", {}, void 0, !0)
2067
- ])) : S("", !0)
2065
+ o.$slots.footer ? (v(), b("footer", Tl, [
2066
+ D(o.$slots, "footer", {}, void 0, !0)
2067
+ ])) : $("", !0)
2068
2068
  ])), [
2069
- [$(Ll), { active: t.value, text: n.loadingMessage }]
2069
+ [S(Ll), { active: t.value, text: n.loadingMessage }]
2070
2070
  ]);
2071
2071
  }
2072
- }), Dl = /* @__PURE__ */ O(Bl, [["__scopeId", "data-v-542565ba"]]), Ml = {
2072
+ }), Dl = /* @__PURE__ */ T(Bl, [["__scopeId", "data-v-542565ba"]]), Ml = {
2073
2073
  class: "paginator-info",
2074
2074
  "aria-live": "polite"
2075
- }, Pl = /* @__PURE__ */ T({
2075
+ }, Pl = /* @__PURE__ */ O({
2076
2076
  __name: "paginator",
2077
2077
  props: /* @__PURE__ */ Z({
2078
2078
  totalItems: {},
@@ -2084,55 +2084,55 @@ const Ll = {
2084
2084
  }),
2085
2085
  emits: /* @__PURE__ */ Z(["change"], ["update:modelValue"]),
2086
2086
  setup(e, { emit: n }) {
2087
- const t = e, o = ve(e, "modelValue"), l = n, a = C(() => Math.max(1, Math.ceil((t.totalItems ?? 0) / t.pageSize))), i = C(() => Math.min(Math.max(1, o.value ?? 1), a.value)), c = C(() => i.value), s = C(() => i.value <= 1), r = C(() => i.value >= a.value), u = C(() => t.labels?.item ?? "Eintrag"), d = C(() => t.labels?.of ?? "von"), v = (y) => {
2088
- const w = Math.min(Math.max(1, Math.floor(y)), a.value);
2089
- w !== o.value && (o.value = w, l("change", w));
2090
- }, m = () => v(1), p = () => v(i.value - 1), _ = () => v(i.value + 1), h = () => v(a.value);
2087
+ const t = e, o = ve(e, "modelValue"), l = n, a = E(() => Math.max(1, Math.ceil((t.totalItems ?? 0) / t.pageSize))), i = E(() => Math.min(Math.max(1, o.value ?? 1), a.value)), u = E(() => i.value), s = E(() => i.value <= 1), r = E(() => i.value >= a.value), c = E(() => t.labels?.item ?? "Eintrag"), d = E(() => t.labels?.of ?? "von"), f = (y) => {
2088
+ const _ = Math.min(Math.max(1, Math.floor(y)), a.value);
2089
+ _ !== o.value && (o.value = _, l("change", _));
2090
+ }, m = () => f(1), p = () => f(i.value - 1), w = () => f(i.value + 1), h = () => f(a.value);
2091
2091
  return X([() => t.totalItems, () => t.pageSize], () => {
2092
- o.value > a.value && v(a.value);
2093
- }), (y, w) => {
2092
+ o.value > a.value && f(a.value);
2093
+ }), (y, _) => {
2094
2094
  const g = N("VjButton");
2095
- return f(), b("nav", {
2095
+ return v(), b("nav", {
2096
2096
  class: "paginator",
2097
2097
  "aria-label": "Pagination",
2098
- onKeydown: w[0] || (w[0] = Ze(K(() => {
2098
+ onKeydown: _[0] || (_[0] = et(K(() => {
2099
2099
  }, ["prevent"]), ["enter"]))
2100
2100
  }, [
2101
- P(g, {
2101
+ M(g, {
2102
2102
  tertiary: "",
2103
2103
  class: "paginator-btn",
2104
- icon: $(U).FIRST,
2104
+ icon: S(W).FIRST,
2105
2105
  disabled: s.value,
2106
2106
  onClick: m,
2107
2107
  "aria-label": "First page"
2108
2108
  }, null, 8, ["icon", "disabled"]),
2109
- P(g, {
2109
+ M(g, {
2110
2110
  tertiary: "",
2111
2111
  class: "paginator-btn",
2112
- icon: $(U).PREVIOUS,
2112
+ icon: S(W).PREVIOUS,
2113
2113
  disabled: s.value,
2114
2114
  onClick: p,
2115
2115
  "aria-label": "Previous page"
2116
2116
  }, null, 8, ["icon", "disabled"]),
2117
- M(y.$slots, "info", {
2117
+ D(y.$slots, "info", {
2118
2118
  current: i.value,
2119
2119
  totalPages: a.value,
2120
- goTo: v
2120
+ goTo: f
2121
2121
  }, () => [
2122
- V("div", Ml, D(u.value) + " " + D(c.value) + " " + D(d.value) + " " + D(a.value), 1)
2122
+ V("div", Ml, P(c.value) + " " + P(u.value) + " " + P(d.value) + " " + P(a.value), 1)
2123
2123
  ], !0),
2124
- P(g, {
2124
+ M(g, {
2125
2125
  tertiary: "",
2126
2126
  class: "paginator-btn",
2127
- icon: $(U).NEXT,
2127
+ icon: S(W).NEXT,
2128
2128
  disabled: r.value,
2129
- onClick: _,
2129
+ onClick: w,
2130
2130
  "aria-label": "Next page"
2131
2131
  }, null, 8, ["icon", "disabled"]),
2132
- P(g, {
2132
+ M(g, {
2133
2133
  tertiary: "",
2134
2134
  class: "paginator-btn",
2135
- icon: $(U).LAST,
2135
+ icon: S(W).LAST,
2136
2136
  disabled: r.value,
2137
2137
  onClick: h,
2138
2138
  "aria-label": "Last page"
@@ -2140,7 +2140,7 @@ const Ll = {
2140
2140
  ], 32);
2141
2141
  };
2142
2142
  }
2143
- }), jl = /* @__PURE__ */ O(Pl, [["__scopeId", "data-v-b6fa8efe"]]), Fl = { class: "search-field" }, zl = ["value", "placeholder"], Il = /* @__PURE__ */ T({
2143
+ }), jl = /* @__PURE__ */ T(Pl, [["__scopeId", "data-v-b6fa8efe"]]), Fl = { class: "search-field" }, zl = ["value", "placeholder"], Il = /* @__PURE__ */ O({
2144
2144
  __name: "search-field",
2145
2145
  props: /* @__PURE__ */ Z({
2146
2146
  placeholder: { default: "Search..." }
@@ -2154,13 +2154,13 @@ const Ll = {
2154
2154
  n.value = a.target.value;
2155
2155
  }, o = () => {
2156
2156
  n.value = "";
2157
- }, l = C(() => !n.value);
2157
+ }, l = E(() => !n.value);
2158
2158
  return (a, i) => {
2159
- const c = N("VjIcon");
2160
- return f(), b("div", Fl, [
2161
- P(c, {
2162
- icon: $(U).SEARCH,
2163
- size: $(q).S
2159
+ const u = N("VjIcon");
2160
+ return v(), b("div", Fl, [
2161
+ M(u, {
2162
+ icon: S(W).SEARCH,
2163
+ size: S(q).S
2164
2164
  }, null, 8, ["icon", "size"]),
2165
2165
  V("input", {
2166
2166
  value: n.value,
@@ -2168,29 +2168,29 @@ const Ll = {
2168
2168
  type: "text",
2169
2169
  placeholder: e.placeholder
2170
2170
  }, null, 40, zl),
2171
- P(c, {
2171
+ M(u, {
2172
2172
  class: I(["reset", { invisible: l.value }]),
2173
- icon: $(U).CLOSE,
2174
- size: $(q).S,
2173
+ icon: S(W).CLOSE,
2174
+ size: S(q).S,
2175
2175
  onClick: o
2176
2176
  }, null, 8, ["class", "icon", "size"])
2177
2177
  ]);
2178
2178
  };
2179
2179
  }
2180
- }), Hl = /* @__PURE__ */ O(Il, [["__scopeId", "data-v-2771c8ed"]]), Ul = /* @__PURE__ */ T({
2180
+ }), Hl = /* @__PURE__ */ T(Il, [["__scopeId", "data-v-2771c8ed"]]), Ul = /* @__PURE__ */ O({
2181
2181
  __name: "separator",
2182
2182
  props: {
2183
2183
  vertical: { type: Boolean }
2184
2184
  },
2185
2185
  setup(e) {
2186
- return (n, t) => (f(), b("div", {
2186
+ return (n, t) => (v(), b("div", {
2187
2187
  class: I(["separator", { vertical: e.vertical }])
2188
2188
  }, null, 2));
2189
2189
  }
2190
- }), Wl = /* @__PURE__ */ O(Ul, [["__scopeId", "data-v-e354bb4e"]]), Kl = { class: "tab-view" }, Xl = {
2190
+ }), Wl = /* @__PURE__ */ T(Ul, [["__scopeId", "data-v-e354bb4e"]]), Kl = { class: "tab-view" }, Xl = {
2191
2191
  ref: "headerRef",
2192
2192
  class: "tab-view-header"
2193
- }, Nl = ["onClick"], ql = { class: "tab-view-content" }, Gl = /* @__PURE__ */ T({
2193
+ }, Nl = ["onClick"], ql = { class: "tab-view-content" }, Gl = /* @__PURE__ */ O({
2194
2194
  __name: "tab-view",
2195
2195
  props: {
2196
2196
  modelValue: {},
@@ -2198,22 +2198,22 @@ const Ll = {
2198
2198
  },
2199
2199
  emits: ["update:modelValue"],
2200
2200
  setup(e) {
2201
- const n = ve(e, "modelValue"), t = E([]), o = E([]), l = E({
2201
+ const n = ve(e, "modelValue"), t = C([]), o = C([]), l = C({
2202
2202
  width: "0px",
2203
2203
  transform: "translateX(0px)"
2204
- }), a = (r, u) => {
2205
- r && (o.value[u] = r);
2204
+ }), a = (r, c) => {
2205
+ r && (o.value[c] = r);
2206
2206
  }, i = () => {
2207
- const r = t.value.findIndex((u) => u.name === n.value);
2207
+ const r = t.value.findIndex((c) => c.name === n.value);
2208
2208
  if (r >= 0 && o.value[r]) {
2209
- const u = o.value[r], d = u.offsetWidth, v = u.offsetLeft;
2209
+ const c = o.value[r], d = c.offsetWidth, f = c.offsetLeft;
2210
2210
  l.value = {
2211
2211
  width: `${d}px`,
2212
- transform: `translateX(${v}px)`
2212
+ transform: `translateX(${f}px)`
2213
2213
  };
2214
2214
  }
2215
- }, c = (r, u) => {
2216
- t.value.find((d) => d.name === r) || (t.value.push({ name: r, label: u }), me(() => {
2215
+ }, u = (r, c) => {
2216
+ t.value.find((d) => d.name === r) || (t.value.push({ name: r, label: c }), me(() => {
2217
2217
  !n.value && t.value.length === 1 && (n.value = r), i();
2218
2218
  }));
2219
2219
  }, s = (r) => {
@@ -2225,45 +2225,45 @@ const Ll = {
2225
2225
  });
2226
2226
  }), pn("tabView", {
2227
2227
  activeTab: () => n.value,
2228
- registerTab: c
2229
- }), (r, u) => (f(), b("div", Kl, [
2228
+ registerTab: u
2229
+ }), (r, c) => (v(), b("div", Kl, [
2230
2230
  V("div", Xl, [
2231
- (f(!0), b(ne, null, Se(t.value, (d, v) => (f(), b("div", {
2231
+ (v(!0), b(ne, null, Re(t.value, (d, f) => (v(), b("div", {
2232
2232
  key: d.name,
2233
2233
  ref_for: !0,
2234
- ref: (m) => a(m, v),
2234
+ ref: (m) => a(m, f),
2235
2235
  class: I(["tab-button", { active: n.value === d.name }]),
2236
2236
  onClick: (m) => s(d.name)
2237
- }, D(d.label), 11, Nl))), 128)),
2238
- u[0] || (u[0] = V("div", { class: "tab-line" }, null, -1)),
2237
+ }, P(d.label), 11, Nl))), 128)),
2238
+ c[0] || (c[0] = V("div", { class: "tab-line" }, null, -1)),
2239
2239
  V("div", {
2240
2240
  class: "tab-indicator",
2241
- style: J(l.value)
2241
+ style: Y(l.value)
2242
2242
  }, null, 4)
2243
2243
  ], 512),
2244
2244
  V("div", ql, [
2245
- M(r.$slots, "default", {}, void 0, !0)
2245
+ D(r.$slots, "default", {}, void 0, !0)
2246
2246
  ])
2247
2247
  ]));
2248
2248
  }
2249
- }), Yl = /* @__PURE__ */ O(Gl, [["__scopeId", "data-v-3d4ee454"]]), Jl = {
2249
+ }), Yl = /* @__PURE__ */ T(Gl, [["__scopeId", "data-v-3d4ee454"]]), Jl = {
2250
2250
  key: 0,
2251
2251
  class: "tab"
2252
- }, Ql = /* @__PURE__ */ T({
2252
+ }, Ql = /* @__PURE__ */ O({
2253
2253
  __name: "tab",
2254
2254
  props: {
2255
2255
  name: {},
2256
2256
  label: {}
2257
2257
  },
2258
2258
  setup(e) {
2259
- const n = e, t = Dt("tabView"), o = C(() => t?.activeTab() === n.name);
2260
- return Oe(() => {
2259
+ const n = e, t = It("tabView"), o = E(() => t?.activeTab() === n.name);
2260
+ return De(() => {
2261
2261
  t?.registerTab(n.name, n.label);
2262
- }), (l, a) => o.value ? (f(), b("div", Jl, [
2263
- M(l.$slots, "default")
2264
- ])) : S("", !0);
2262
+ }), (l, a) => o.value ? (v(), b("div", Jl, [
2263
+ D(l.$slots, "default")
2264
+ ])) : $("", !0);
2265
2265
  }
2266
- }), Zl = ["onKeydown"], ea = /* @__PURE__ */ T({
2266
+ }), Zl = ["onKeydown"], ea = /* @__PURE__ */ O({
2267
2267
  __name: "editable-label",
2268
2268
  props: {
2269
2269
  modelValue: {},
@@ -2271,56 +2271,56 @@ const Ll = {
2271
2271
  },
2272
2272
  emits: ["update:modelValue", "edit"],
2273
2273
  setup(e, { emit: n }) {
2274
- const t = e, o = n, l = C(() => t.modelValue ?? ""), a = E(l.value), i = E(!1), c = E(!1), s = E(null), r = C(() => !!t.showIcon);
2274
+ const t = e, o = n, l = E(() => t.modelValue ?? ""), a = C(l.value), i = C(!1), u = C(!1), s = C(null), r = E(() => !!t.showIcon);
2275
2275
  X(l, (m) => {
2276
2276
  a.value = m;
2277
2277
  });
2278
- function u() {
2278
+ function c() {
2279
2279
  i.value = !0, me(() => s.value?.focus());
2280
2280
  }
2281
2281
  function d() {
2282
2282
  i.value = !1, a.value !== l.value && (o("update:modelValue", a.value), o("edit", a.value));
2283
2283
  }
2284
- function v() {
2284
+ function f() {
2285
2285
  a.value = l.value, i.value = !1;
2286
2286
  }
2287
- return (m, p) => (f(), b("span", {
2287
+ return (m, p) => (v(), b("span", {
2288
2288
  class: I(["vj-editable-label", { editing: i.value }]),
2289
- onMouseenter: p[1] || (p[1] = (_) => c.value = !0),
2290
- onMouseleave: p[2] || (p[2] = (_) => c.value = !1)
2289
+ onMouseenter: p[1] || (p[1] = (w) => u.value = !0),
2290
+ onMouseleave: p[2] || (p[2] = (w) => u.value = !1)
2291
2291
  }, [
2292
- i.value ? Bt((f(), b("input", {
2292
+ i.value ? zt((v(), b("input", {
2293
2293
  key: 1,
2294
2294
  ref_key: "inputRef",
2295
2295
  ref: s,
2296
2296
  class: "edit-input",
2297
- "onUpdate:modelValue": p[0] || (p[0] = (_) => a.value = _),
2297
+ "onUpdate:modelValue": p[0] || (p[0] = (w) => a.value = w),
2298
2298
  onKeydown: [
2299
- Ze(K(d, ["prevent"]), ["enter"]),
2300
- Ze(K(v, ["prevent"]), ["esc"])
2299
+ et(K(d, ["prevent"]), ["enter"]),
2300
+ et(K(f, ["prevent"]), ["esc"])
2301
2301
  ],
2302
2302
  onBlur: d
2303
2303
  }, null, 40, Zl)), [
2304
2304
  [hn, a.value]
2305
- ]) : (f(), b(ne, { key: 0 }, [
2305
+ ]) : (v(), b(ne, { key: 0 }, [
2306
2306
  V("span", {
2307
2307
  class: "label-text",
2308
- onClick: u,
2308
+ onClick: c,
2309
2309
  title: "Click to edit"
2310
- }, D(l.value), 1),
2311
- c.value || r.value ? (f(), b("span", {
2310
+ }, P(l.value), 1),
2311
+ u.value || r.value ? (v(), b("span", {
2312
2312
  key: 0,
2313
2313
  class: "edit-icon",
2314
- onClick: K(u, ["stop"])
2314
+ onClick: K(c, ["stop"])
2315
2315
  }, [
2316
- P(we, {
2317
- icon: $(U).EDIT
2316
+ M(we, {
2317
+ icon: S(W).EDIT
2318
2318
  }, null, 8, ["icon"])
2319
- ])) : S("", !0)
2319
+ ])) : $("", !0)
2320
2320
  ], 64))
2321
2321
  ], 34));
2322
2322
  }
2323
- }), mi = /* @__PURE__ */ O(ea, [["__scopeId", "data-v-cdc52c5b"]]), ta = "200% 200%", na = /* @__PURE__ */ T({
2323
+ }), pi = /* @__PURE__ */ T(ea, [["__scopeId", "data-v-cdc52c5b"]]), ta = "200% 200%", na = /* @__PURE__ */ O({
2324
2324
  __name: "skeleton",
2325
2325
  props: {
2326
2326
  width: {},
@@ -2328,10 +2328,10 @@ const Ll = {
2328
2328
  borderRadius: {}
2329
2329
  },
2330
2330
  setup(e) {
2331
- const n = e, t = C(() => n.width ?? "100%"), o = C(() => n.height ?? "16px"), l = C(() => n.borderRadius ?? "4px");
2332
- return (a, i) => (f(), b("div", {
2331
+ const n = e, t = E(() => n.width ?? "100%"), o = E(() => n.height ?? "16px"), l = E(() => n.borderRadius ?? "4px");
2332
+ return (a, i) => (v(), b("div", {
2333
2333
  class: "vj-skeleton",
2334
- style: J({
2334
+ style: Y({
2335
2335
  width: t.value,
2336
2336
  height: o.value,
2337
2337
  borderRadius: l.value,
@@ -2340,38 +2340,38 @@ const Ll = {
2340
2340
  "aria-hidden": "true"
2341
2341
  }, null, 4));
2342
2342
  }
2343
- }), oa = /* @__PURE__ */ O(na, [["__scopeId", "data-v-ac05e016"]]), on = {
2343
+ }), oa = /* @__PURE__ */ T(na, [["__scopeId", "data-v-ac05e016"]]), ln = {
2344
2344
  form: {
2345
2345
  labelPosition: "inline",
2346
2346
  appearance: "bordered"
2347
2347
  }
2348
2348
  };
2349
2349
  let Xe = {};
2350
- function pi(e) {
2350
+ function hi(e) {
2351
2351
  Xe = {
2352
2352
  ...Xe,
2353
2353
  ...e,
2354
2354
  form: {
2355
- ...on.form,
2355
+ ...ln.form,
2356
2356
  ...e.form
2357
2357
  }
2358
2358
  };
2359
2359
  }
2360
- function Tt() {
2360
+ function Pt() {
2361
2361
  return {
2362
2362
  form: {
2363
- ...on.form,
2363
+ ...ln.form,
2364
2364
  ...Xe.form
2365
2365
  }
2366
2366
  };
2367
2367
  }
2368
- function hi() {
2368
+ function gi() {
2369
2369
  Xe = {};
2370
2370
  }
2371
2371
  const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-field__wrapper" }, sa = ["for"], ra = {
2372
2372
  key: 1,
2373
2373
  class: "form-field__error"
2374
- }, ca = /* @__PURE__ */ T({
2374
+ }, ca = /* @__PURE__ */ O({
2375
2375
  __name: "form-field",
2376
2376
  props: {
2377
2377
  modelValue: {},
@@ -2388,31 +2388,31 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2388
2388
  },
2389
2389
  emits: ["update:modelValue", "focus", "blur"],
2390
2390
  setup(e, { emit: n }) {
2391
- const t = e, o = n, l = E(t.modelValue), a = E(!1), i = C(() => `form-field-${t.id ?? Math.random().toString(36).slice(2)}`), c = C(() => t.labelPosition ?? Tt().form.labelPosition), s = C(() => t.appearance ?? Tt().form.appearance);
2391
+ const t = e, o = n, l = C(t.modelValue), a = C(!1), i = E(() => `form-field-${t.id ?? Math.random().toString(36).slice(2)}`), u = E(() => t.labelPosition ?? Pt().form.labelPosition), s = E(() => t.appearance ?? Pt().form.appearance);
2392
2392
  X(
2393
2393
  () => t.modelValue,
2394
2394
  (p) => l.value = p
2395
2395
  );
2396
- const r = C(() => {
2397
- if (c.value === "outline")
2396
+ const r = E(() => {
2397
+ if (u.value === "outline")
2398
2398
  return !0;
2399
2399
  const p = l.value !== "" && l.value !== null && l.value !== void 0;
2400
2400
  return a.value || p;
2401
- }), u = C(() => c.value === "outline" || r.value ? t.placeholder : "");
2401
+ }), c = E(() => u.value === "outline" || r.value ? t.placeholder : "");
2402
2402
  function d(p) {
2403
2403
  const h = p.target.value;
2404
2404
  l.value = h, o("update:modelValue", h);
2405
2405
  }
2406
- function v(p) {
2406
+ function f(p) {
2407
2407
  a.value = !0, o("focus", p);
2408
2408
  }
2409
2409
  function m(p) {
2410
2410
  a.value = !1, o("blur", p);
2411
2411
  }
2412
- return (p, _) => (f(), b("div", {
2412
+ return (p, w) => (v(), b("div", {
2413
2413
  class: I([
2414
2414
  "form-field",
2415
- `form-field--${c.value}`,
2415
+ `form-field--${u.value}`,
2416
2416
  `form-field--${s.value}`,
2417
2417
  { disabled: e.disabled },
2418
2418
  { labelless: !e.label },
@@ -2420,53 +2420,53 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2420
2420
  ]),
2421
2421
  "data-colspan": t.spanRow ? void 0 : t.colspan,
2422
2422
  "data-newline": t.spanRow || t.newLine ? "true" : void 0,
2423
- style: J(t.spanRow ? { gridColumn: "1 / -1" } : void 0)
2423
+ style: Y(t.spanRow ? { gridColumn: "1 / -1" } : void 0)
2424
2424
  }, [
2425
- e.label && c.value === "outline" ? (f(), b("label", {
2425
+ e.label && u.value === "outline" ? (v(), b("label", {
2426
2426
  key: 0,
2427
2427
  for: i.value,
2428
2428
  class: "form-field__label-outline"
2429
- }, D(e.label), 9, aa)) : S("", !0),
2429
+ }, P(e.label), 9, aa)) : $("", !0),
2430
2430
  V("div", ia, [
2431
- M(p.$slots, "control", {
2431
+ D(p.$slots, "control", {
2432
2432
  id: i.value,
2433
2433
  value: l.value,
2434
2434
  onInput: d,
2435
- onFocus: v,
2435
+ onFocus: f,
2436
2436
  onBlur: m,
2437
2437
  disabled: e.disabled,
2438
- placeholder: u.value
2438
+ placeholder: c.value
2439
2439
  }, void 0, !0),
2440
- e.label && c.value === "inline" ? (f(), b("label", {
2440
+ e.label && u.value === "inline" ? (v(), b("label", {
2441
2441
  key: 0,
2442
2442
  for: i.value,
2443
2443
  class: I(["form-field__label", { "form-field__label--float": r.value }])
2444
- }, D(e.label), 11, sa)) : S("", !0)
2444
+ }, P(e.label), 11, sa)) : $("", !0)
2445
2445
  ]),
2446
- e.error ? (f(), b("div", ra, D(e.error), 1)) : S("", !0)
2446
+ e.error ? (v(), b("div", ra, P(e.error), 1)) : $("", !0)
2447
2447
  ], 14, la));
2448
2448
  }
2449
- }), je = /* @__PURE__ */ O(ca, [["__scopeId", "data-v-c422f422"]]), ua = /* @__PURE__ */ T({
2449
+ }), Fe = /* @__PURE__ */ T(ca, [["__scopeId", "data-v-c422f422"]]), ua = /* @__PURE__ */ O({
2450
2450
  __name: "form-layout",
2451
2451
  props: {
2452
2452
  columns: { type: Number, default: 4 },
2453
2453
  gap: { type: String, default: "0.75rem" }
2454
2454
  },
2455
2455
  setup(e) {
2456
- const n = e, t = E(null);
2456
+ const n = e, t = C(null);
2457
2457
  let o = null;
2458
2458
  function l() {
2459
2459
  if (!t.value) return;
2460
2460
  Array.from(t.value.children).forEach((i) => {
2461
- const c = i.getAttribute("data-colspan"), s = c ? Math.max(1, Number(c) || 1) : 1, r = i.getAttribute("data-newline");
2461
+ const u = i.getAttribute("data-colspan"), s = u ? Math.max(1, Number(u) || 1) : 1, r = i.getAttribute("data-newline");
2462
2462
  r !== null && r !== "false" ? i.style.gridColumn = "1 / -1" : i.style.gridColumn = `span ${s}`;
2463
2463
  });
2464
2464
  }
2465
- return Oe(() => {
2465
+ return De(() => {
2466
2466
  me(() => {
2467
2467
  l(), t.value && (o = new MutationObserver(() => l()), o.observe(t.value, { childList: !0, subtree: !1, attributes: !0, attributeFilter: ["data-colspan", "data-newline"] }));
2468
2468
  });
2469
- }), Be(() => {
2469
+ }), Se(() => {
2470
2470
  o?.disconnect();
2471
2471
  }), X(
2472
2472
  () => n.columns,
@@ -2474,34 +2474,34 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2474
2474
  ), X(
2475
2475
  () => n.gap,
2476
2476
  () => me(l)
2477
- ), (a, i) => (f(), b("div", {
2477
+ ), (a, i) => (v(), b("div", {
2478
2478
  ref_key: "container",
2479
2479
  ref: t,
2480
2480
  class: "form-layout",
2481
- style: J({ gridTemplateColumns: `repeat(${e.columns}, minmax(0, 1fr))`, gap: e.gap })
2481
+ style: Y({ gridTemplateColumns: `repeat(${e.columns}, minmax(0, 1fr))`, gap: e.gap })
2482
2482
  }, [
2483
- M(a.$slots, "default", {}, void 0, !0)
2483
+ D(a.$slots, "default", {}, void 0, !0)
2484
2484
  ], 4));
2485
2485
  }
2486
- }), da = /* @__PURE__ */ O(ua, [["__scopeId", "data-v-96f62ab7"]]), fa = {
2486
+ }), da = /* @__PURE__ */ T(ua, [["__scopeId", "data-v-96f62ab7"]]), fa = {
2487
2487
  key: 0,
2488
2488
  class: "form-section__title",
2489
2489
  "data-newline": ""
2490
- }, va = /* @__PURE__ */ T({
2490
+ }, va = /* @__PURE__ */ O({
2491
2491
  __name: "form-section",
2492
2492
  props: {
2493
2493
  title: {}
2494
2494
  },
2495
2495
  setup(e) {
2496
- return (n, t) => (f(), b(ne, null, [
2497
- e.title ? (f(), b("h3", fa, D(e.title), 1)) : S("", !0),
2498
- M(n.$slots, "default", {}, void 0, !0)
2496
+ return (n, t) => (v(), b(ne, null, [
2497
+ e.title ? (v(), b("h3", fa, P(e.title), 1)) : $("", !0),
2498
+ D(n.$slots, "default", {}, void 0, !0)
2499
2499
  ], 64));
2500
2500
  }
2501
- }), ma = /* @__PURE__ */ O(va, [["__scopeId", "data-v-69cff1d0"]]), pa = ["id", "disabled"], ha = { class: "select-value" }, ga = {
2501
+ }), ma = /* @__PURE__ */ T(va, [["__scopeId", "data-v-69cff1d0"]]), pa = ["id", "disabled"], ha = { class: "select-value" }, ga = {
2502
2502
  key: 1,
2503
2503
  class: "select-placeholder"
2504
- }, ba = { class: "select-options" }, ya = ["onClick", "onMouseenter"], wa = /* @__PURE__ */ T({
2504
+ }, ba = { class: "select-options" }, ya = ["onClick", "onMouseenter"], wa = /* @__PURE__ */ O({
2505
2505
  inheritAttrs: !1,
2506
2506
  __name: "select",
2507
2507
  props: /* @__PURE__ */ Z({
@@ -2519,12 +2519,12 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2519
2519
  }),
2520
2520
  emits: ["update:modelValue"],
2521
2521
  setup(e, { expose: n }) {
2522
- const t = e, o = ve(e, "modelValue"), l = E(!1), a = E(-1), i = E(null), c = E(null), s = E(null), { floatingStyles: r } = en(c, s, {
2522
+ const t = e, o = ve(e, "modelValue"), l = C(!1), a = C(-1), i = C(null), u = C(null), s = C(null), { floatingStyles: r } = pt(u, s, {
2523
2523
  placement: "bottom-start",
2524
2524
  middleware: [
2525
- Yt(4),
2526
- Qt(),
2527
- Jt({ padding: 8 }),
2525
+ ft(4),
2526
+ mt(),
2527
+ vt({ padding: 8 }),
2528
2528
  ol({
2529
2529
  apply({ rects: g, elements: L }) {
2530
2530
  Object.assign(L.floating.style, {
@@ -2533,30 +2533,30 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2533
2533
  }
2534
2534
  })
2535
2535
  ],
2536
- whileElementsMounted: Gt
2537
- }), u = (g) => t.optionLabel ? typeof t.optionLabel == "function" ? t.optionLabel(g) : String(g[t.optionLabel]) : String(g), d = (g) => t.optionValue ? typeof t.optionValue == "function" ? t.optionValue(g) : g[t.optionValue] : g, v = C(() => t.options.find((g) => d(g) === o.value)), m = (g) => d(g) === o.value, p = () => {
2536
+ whileElementsMounted: dt
2537
+ }), c = (g) => t.optionLabel ? typeof t.optionLabel == "function" ? t.optionLabel(g) : String(g[t.optionLabel]) : String(g), d = (g) => t.optionValue ? typeof t.optionValue == "function" ? t.optionValue(g) : g[t.optionValue] : g, f = E(() => t.options.find((g) => d(g) === o.value)), m = (g) => d(g) === o.value, p = () => {
2538
2538
  t.disabled || (l.value = !l.value);
2539
- }, _ = () => {
2539
+ }, w = () => {
2540
2540
  l.value = !1, a.value = -1;
2541
2541
  }, h = (g) => {
2542
- o.value = d(g), _();
2542
+ o.value = d(g), w();
2543
2543
  }, y = () => {
2544
2544
  o.value = void 0;
2545
- }, w = (g) => {
2546
- l.value && i.value && !i.value.contains(g.target) && _();
2545
+ }, _ = (g) => {
2546
+ l.value && i.value && !i.value.contains(g.target) && w();
2547
2547
  };
2548
- return Oe(() => {
2549
- document.addEventListener("click", w);
2550
- }), Be(() => {
2551
- document.removeEventListener("click", w);
2548
+ return De(() => {
2549
+ document.addEventListener("click", _);
2550
+ }), Se(() => {
2551
+ document.removeEventListener("click", _);
2552
2552
  }), X(l, (g) => {
2553
- g && v.value && (a.value = t.options.findIndex((L) => m(L)));
2553
+ g && f.value && (a.value = t.options.findIndex((L) => m(L)));
2554
2554
  }), n({
2555
- focus: () => c.value?.focus(),
2556
- blur: () => c.value?.blur()
2555
+ focus: () => u.value?.focus(),
2556
+ blur: () => u.value?.blur()
2557
2557
  }), (g, L) => {
2558
2558
  const B = N("VjIcon");
2559
- return f(), b(ne, null, [
2559
+ return v(), b(ne, null, [
2560
2560
  V("div", {
2561
2561
  ref_key: "selectRef",
2562
2562
  ref: i,
@@ -2564,80 +2564,80 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2564
2564
  }, [
2565
2565
  V("button", {
2566
2566
  ref_key: "buttonRef",
2567
- ref: c,
2567
+ ref: u,
2568
2568
  type: "button",
2569
2569
  class: "select-trigger",
2570
2570
  id: t.id,
2571
2571
  onClick: p,
2572
2572
  disabled: e.disabled
2573
2573
  }, [
2574
- t.icon ? (f(), j(B, {
2574
+ t.icon ? (v(), j(B, {
2575
2575
  key: 0,
2576
2576
  icon: t.icon,
2577
- size: $(q).S,
2577
+ size: S(q).S,
2578
2578
  class: "select-icon-left"
2579
- }, null, 8, ["icon", "size"])) : S("", !0),
2579
+ }, null, 8, ["icon", "size"])) : $("", !0),
2580
2580
  V("span", ha, [
2581
- v.value ? M(g.$slots, "selected", {
2581
+ f.value ? D(g.$slots, "selected", {
2582
2582
  key: 0,
2583
- option: v.value
2583
+ option: f.value
2584
2584
  }, () => [
2585
- Ie(D(u(v.value)), 1)
2586
- ], !0) : (f(), b("span", ga, D(e.placeholder), 1))
2585
+ He(P(c(f.value)), 1)
2586
+ ], !0) : (v(), b("span", ga, P(e.placeholder), 1))
2587
2587
  ]),
2588
- t.clearable && v.value && !e.disabled ? (f(), j(B, {
2588
+ t.clearable && f.value && !e.disabled ? (v(), j(B, {
2589
2589
  key: 1,
2590
- icon: $(U).CLOSE,
2591
- size: $(q).S,
2590
+ icon: S(W).CLOSE,
2591
+ size: S(q).S,
2592
2592
  class: "select-clear-icon",
2593
2593
  onClick: K(y, ["stop"])
2594
- }, null, 8, ["icon", "size"])) : S("", !0),
2595
- P(B, {
2596
- icon: $(U).CHEVRON_DOWN,
2597
- size: $(q).S,
2594
+ }, null, 8, ["icon", "size"])) : $("", !0),
2595
+ M(B, {
2596
+ icon: S(W).CHEVRON_DOWN,
2597
+ size: S(q).S,
2598
2598
  class: I(["select-icon-right", { open: l.value }])
2599
2599
  }, null, 8, ["icon", "size", "class"])
2600
2600
  ], 8, pa),
2601
- P(He, { name: "dropdown" }, {
2602
- default: W(() => [
2603
- l.value ? (f(), b("div", {
2601
+ M(Te, { name: "dropdown" }, {
2602
+ default: U(() => [
2603
+ l.value ? (v(), b("div", {
2604
2604
  key: 0,
2605
2605
  ref_key: "floatingRef",
2606
2606
  ref: s,
2607
- style: J($(r)),
2607
+ style: Y(S(r)),
2608
2608
  class: "select-dropdown"
2609
2609
  }, [
2610
2610
  V("div", ba, [
2611
- (f(!0), b(ne, null, Se(e.options, (F, x) => (f(), b("div", {
2611
+ (v(!0), b(ne, null, Re(e.options, (F, x) => (v(), b("div", {
2612
2612
  key: String(d(F)),
2613
2613
  class: I(["select-option", { selected: m(F), highlighted: a.value === x }]),
2614
2614
  onClick: (k) => h(F),
2615
2615
  onMouseenter: (k) => a.value = x
2616
2616
  }, [
2617
- M(g.$slots, "option", {
2617
+ D(g.$slots, "option", {
2618
2618
  option: F,
2619
2619
  selected: m(F)
2620
2620
  }, () => [
2621
- Ie(D(u(F)), 1)
2621
+ He(P(c(F)), 1)
2622
2622
  ], !0)
2623
2623
  ], 42, ya))), 128))
2624
2624
  ])
2625
- ], 4)) : S("", !0)
2625
+ ], 4)) : $("", !0)
2626
2626
  ]),
2627
2627
  _: 3
2628
2628
  })
2629
2629
  ], 2),
2630
- (f(), j(ot, { to: "body" }, [
2631
- l.value ? (f(), b("div", {
2630
+ (v(), j(Ne, { to: "body" }, [
2631
+ l.value ? (v(), b("div", {
2632
2632
  key: 0,
2633
2633
  class: "select-backdrop",
2634
- onClick: _
2635
- })) : S("", !0)
2634
+ onClick: w
2635
+ })) : $("", !0)
2636
2636
  ]))
2637
2637
  ], 64);
2638
2638
  };
2639
2639
  }
2640
- }), ln = /* @__PURE__ */ O(wa, [["__scopeId", "data-v-fc22f0e9"]]), _a = /* @__PURE__ */ T({
2640
+ }), an = /* @__PURE__ */ T(wa, [["__scopeId", "data-v-fc22f0e9"]]), _a = /* @__PURE__ */ O({
2641
2641
  __name: "input-select",
2642
2642
  props: {
2643
2643
  modelValue: {},
@@ -2655,10 +2655,10 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2655
2655
  },
2656
2656
  emits: ["update:modelValue", "input", "focus", "blur"],
2657
2657
  setup(e, { emit: n }) {
2658
- const t = e, o = n, l = E(t.modelValue), a = (i) => {
2658
+ const t = e, o = n, l = C(t.modelValue), a = (i) => {
2659
2659
  l.value = i, o("update:modelValue", i);
2660
2660
  };
2661
- return (i, c) => (f(), j(je, {
2661
+ return (i, u) => (v(), j(Fe, {
2662
2662
  modelValue: l.value,
2663
2663
  "onUpdate:modelValue": a,
2664
2664
  label: t.label,
@@ -2672,16 +2672,16 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2672
2672
  labelPosition: t.labelPosition,
2673
2673
  appearance: t.appearance
2674
2674
  }, {
2675
- control: W(({ id: s, disabled: r, placeholder: u }) => [
2676
- P(ln, {
2675
+ control: U(({ id: s, disabled: r, placeholder: c }) => [
2676
+ M(an, {
2677
2677
  id: s,
2678
2678
  modelValue: l.value,
2679
2679
  "onUpdate:modelValue": [
2680
- c[0] || (c[0] = (d) => l.value = d),
2680
+ u[0] || (u[0] = (d) => l.value = d),
2681
2681
  a
2682
2682
  ],
2683
2683
  options: t.options,
2684
- placeholder: u,
2684
+ placeholder: c,
2685
2685
  disabled: r,
2686
2686
  "option-label": (d) => d.label,
2687
2687
  "option-value": (d) => d.value,
@@ -2689,15 +2689,15 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2689
2689
  }, lt({ _: 2 }, [
2690
2690
  i.$slots.selected ? {
2691
2691
  name: "selected",
2692
- fn: W(({ option: d }) => [
2693
- M(i.$slots, "selected", { option: d })
2692
+ fn: U(({ option: d }) => [
2693
+ D(i.$slots, "selected", { option: d })
2694
2694
  ]),
2695
2695
  key: "0"
2696
2696
  } : void 0,
2697
2697
  i.$slots.option ? {
2698
2698
  name: "option",
2699
- fn: W(({ option: d }) => [
2700
- M(i.$slots, "option", { option: d })
2699
+ fn: U(({ option: d }) => [
2700
+ D(i.$slots, "option", { option: d })
2701
2701
  ]),
2702
2702
  key: "1"
2703
2703
  } : void 0
@@ -2706,7 +2706,7 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2706
2706
  _: 3
2707
2707
  }, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "error", "labelPosition", "appearance"]));
2708
2708
  }
2709
- }), xa = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-label"], ka = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], Va = /* @__PURE__ */ T({
2709
+ }), xa = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-label"], ka = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], Va = /* @__PURE__ */ O({
2710
2710
  __name: "slider",
2711
2711
  props: {
2712
2712
  modelValue: { default: void 0 },
@@ -2717,57 +2717,57 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2717
2717
  },
2718
2718
  emits: ["update:modelValue", "change"],
2719
2719
  setup(e, { emit: n }) {
2720
- const t = e, o = n, l = E(null), a = E(!1), i = E(!1), c = (x, k, A) => Math.min(Math.max(x, k), A), s = E(
2720
+ const t = e, o = n, l = C(null), a = C(!1), i = C(!1), u = (x, k, A) => Math.min(Math.max(x, k), A), s = C(
2721
2721
  t.range ? Array.isArray(t.modelValue) ? t.modelValue[0] : t.min : typeof t.modelValue == "number" ? t.modelValue : t.min
2722
- ), r = E(t.range && Array.isArray(t.modelValue) ? t.modelValue[1] : t.max);
2722
+ ), r = C(t.range && Array.isArray(t.modelValue) ? t.modelValue[1] : t.max);
2723
2723
  X(
2724
2724
  () => t.modelValue,
2725
2725
  (x) => {
2726
- t.range ? Array.isArray(x) && (s.value = c(x[0], t.min, t.max), r.value = c(x[1], t.min, t.max)) : typeof x == "number" && (s.value = c(x, t.min, t.max));
2726
+ t.range ? Array.isArray(x) && (s.value = u(x[0], t.min, t.max), r.value = u(x[1], t.min, t.max)) : typeof x == "number" && (s.value = u(x, t.min, t.max));
2727
2727
  },
2728
2728
  { immediate: !0 }
2729
2729
  );
2730
- const u = (x) => (x - t.min) / (t.max - t.min) * 100, d = C(() => ({ left: `${u(s.value)}%` })), v = C(() => ({ left: `${u(r.value)}%` })), m = C(() => {
2731
- if (!t.range) return { width: `${u(s.value)}%`, left: "0%" };
2732
- const x = u(s.value), k = u(r.value);
2730
+ const c = (x) => (x - t.min) / (t.max - t.min) * 100, d = E(() => ({ left: `${c(s.value)}%` })), f = E(() => ({ left: `${c(r.value)}%` })), m = E(() => {
2731
+ if (!t.range) return { width: `${c(s.value)}%`, left: "0%" };
2732
+ const x = c(s.value), k = c(r.value);
2733
2733
  return { left: `${x}%`, width: `${Math.max(0, k - x)}%` };
2734
2734
  });
2735
- let p = null, _ = null;
2735
+ let p = null, w = null;
2736
2736
  const h = async (x, k) => {
2737
- p = x, _ = k.pointerId, x === "low" ? a.value = !0 : i.value = !0;
2737
+ p = x, w = k.pointerId, x === "low" ? a.value = !0 : i.value = !0;
2738
2738
  try {
2739
2739
  k.target.setPointerCapture(k.pointerId);
2740
2740
  } catch {
2741
2741
  }
2742
- window.addEventListener("pointermove", w), window.addEventListener("pointerup", y);
2742
+ window.addEventListener("pointermove", _), window.addEventListener("pointerup", y);
2743
2743
  }, y = (x) => {
2744
- if (_ != null && x)
2744
+ if (w != null && x)
2745
2745
  try {
2746
2746
  x.target.releasePointerCapture(x.pointerId);
2747
2747
  } catch {
2748
2748
  }
2749
- p = null, _ = null, a.value = !1, i.value = !1, window.removeEventListener("pointermove", w), window.removeEventListener("pointerup", y), B();
2750
- }, w = (x) => {
2749
+ p = null, w = null, a.value = !1, i.value = !1, window.removeEventListener("pointermove", _), window.removeEventListener("pointerup", y), B();
2750
+ }, _ = (x) => {
2751
2751
  if (!p || !l.value) return;
2752
- const k = l.value.getBoundingClientRect(), A = c(x.clientX - k.left, 0, k.width), z = t.min + A / k.width * (t.max - t.min), H = Math.round(z / t.step) * t.step;
2753
- p === "low" ? t.range ? s.value = Math.min(H, r.value) : s.value = c(H, t.min, t.max) : p === "high" && (r.value = Math.max(H, s.value));
2752
+ const k = l.value.getBoundingClientRect(), A = u(x.clientX - k.left, 0, k.width), z = t.min + A / k.width * (t.max - t.min), H = Math.round(z / t.step) * t.step;
2753
+ p === "low" ? t.range ? s.value = Math.min(H, r.value) : s.value = u(H, t.min, t.max) : p === "high" && (r.value = Math.max(H, s.value));
2754
2754
  }, g = (x) => {
2755
2755
  if (!l.value) return;
2756
- const k = l.value.getBoundingClientRect(), A = c(x.clientX - k.left, 0, k.width), z = t.min + A / k.width * (t.max - t.min), H = Math.round(z / t.step) * t.step;
2756
+ const k = l.value.getBoundingClientRect(), A = u(x.clientX - k.left, 0, k.width), z = t.min + A / k.width * (t.max - t.min), H = Math.round(z / t.step) * t.step;
2757
2757
  if (t.range) {
2758
2758
  const ce = Math.abs(H - s.value), ue = Math.abs(H - r.value);
2759
2759
  ce <= ue ? s.value = Math.min(H, r.value) : r.value = Math.max(H, s.value);
2760
2760
  } else
2761
- s.value = c(H, t.min, t.max);
2761
+ s.value = u(H, t.min, t.max);
2762
2762
  B();
2763
2763
  }, L = (x, k) => {
2764
2764
  const A = t.step, z = k.key === "ArrowLeft" || k.key === "ArrowDown" ? -1 : k.key === "ArrowRight" || k.key === "ArrowUp" ? 1 : 0;
2765
2765
  if (z) {
2766
2766
  if (x === "low") {
2767
- const H = c(s.value + z * A, t.min, t.range ? r.value : t.max);
2767
+ const H = u(s.value + z * A, t.min, t.range ? r.value : t.max);
2768
2768
  s.value = H, a.value = !0, setTimeout(() => a.value = !1, 800);
2769
2769
  } else {
2770
- const H = c(r.value + z * A, t.range ? s.value : t.max, t.max);
2770
+ const H = u(r.value + z * A, t.range ? s.value : t.max, t.max);
2771
2771
  r.value = H, i.value = !0, setTimeout(() => i.value = !1, 800);
2772
2772
  }
2773
2773
  B();
@@ -2775,15 +2775,15 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2775
2775
  }, B = () => {
2776
2776
  t.range ? (o("update:modelValue", [s.value, r.value]), o("change", [s.value, r.value])) : (o("update:modelValue", s.value), o("change", s.value));
2777
2777
  };
2778
- Be(() => {
2779
- window.removeEventListener("pointermove", w), window.removeEventListener("pointerup", y);
2778
+ Se(() => {
2779
+ window.removeEventListener("pointermove", _), window.removeEventListener("pointerup", y);
2780
2780
  }), X([() => t.min, () => t.max], () => {
2781
- s.value = c(s.value, t.min, t.max), r.value = c(r.value, t.min, t.max);
2781
+ s.value = u(s.value, t.min, t.max), r.value = u(r.value, t.min, t.max);
2782
2782
  });
2783
- const F = C(() => t.range);
2783
+ const F = E(() => t.range);
2784
2784
  return me(() => {
2785
2785
  t.modelValue === void 0 && (t.range ? o("update:modelValue", [s.value, r.value]) : o("update:modelValue", s.value));
2786
- }), (x, k) => (f(), b("div", {
2786
+ }), (x, k) => (v(), b("div", {
2787
2787
  class: "vj-slider",
2788
2788
  onPointerdown: k[8] || (k[8] = K(() => {
2789
2789
  }, ["stop"]))
@@ -2796,16 +2796,16 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2796
2796
  }, [
2797
2797
  V("div", {
2798
2798
  class: "range",
2799
- style: J(m.value)
2799
+ style: Y(m.value)
2800
2800
  }, null, 4),
2801
- a.value ? (f(), b("div", {
2801
+ a.value ? (v(), b("div", {
2802
2802
  key: 0,
2803
2803
  class: "tooltip",
2804
- style: J({ left: d.value.left })
2805
- }, D(s.value), 5)) : S("", !0),
2804
+ style: Y({ left: d.value.left })
2805
+ }, P(s.value), 5)) : $("", !0),
2806
2806
  V("button", {
2807
2807
  class: "handle low",
2808
- style: J(d.value),
2808
+ style: Y(d.value),
2809
2809
  "aria-valuemin": e.min,
2810
2810
  "aria-valuemax": e.max,
2811
2811
  "aria-valuenow": s.value,
@@ -2817,15 +2817,15 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2817
2817
  role: "slider",
2818
2818
  tabindex: "0"
2819
2819
  }, null, 44, xa),
2820
- F.value && i.value ? (f(), b("div", {
2820
+ F.value && i.value ? (v(), b("div", {
2821
2821
  key: 1,
2822
2822
  class: "tooltip",
2823
- style: J({ left: v.value.left })
2824
- }, D(r.value), 5)) : S("", !0),
2825
- F.value ? (f(), b("button", {
2823
+ style: Y({ left: f.value.left })
2824
+ }, P(r.value), 5)) : $("", !0),
2825
+ F.value ? (v(), b("button", {
2826
2826
  key: 2,
2827
2827
  class: "handle high",
2828
- style: J(v.value),
2828
+ style: Y(f.value),
2829
2829
  "aria-valuemin": e.min,
2830
2830
  "aria-valuemax": e.max,
2831
2831
  "aria-valuenow": r.value,
@@ -2836,11 +2836,11 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2836
2836
  onKeydown: k[7] || (k[7] = K((A) => L("high", A), ["stop", "prevent"])),
2837
2837
  role: "slider",
2838
2838
  tabindex: "0"
2839
- }, null, 44, ka)) : S("", !0)
2839
+ }, null, 44, ka)) : $("", !0)
2840
2840
  ], 512)
2841
2841
  ], 32));
2842
2842
  }
2843
- }), Ca = /* @__PURE__ */ O(Va, [["__scopeId", "data-v-d47c7475"]]), Ea = ["onFocusin", "onFocusout"], La = /* @__PURE__ */ T({
2843
+ }), Ca = /* @__PURE__ */ T(Va, [["__scopeId", "data-v-d47c7475"]]), Ea = ["onFocusin", "onFocusout"], La = /* @__PURE__ */ O({
2844
2844
  __name: "input-slider",
2845
2845
  props: {
2846
2846
  modelValue: {},
@@ -2860,11 +2860,11 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2860
2860
  },
2861
2861
  emits: ["update:modelValue", "input", "focus", "blur"],
2862
2862
  setup(e, { emit: n }) {
2863
- const t = e, o = n, l = t.modelValue === void 0 ? 0 : Number(t.modelValue), a = E(Number.isNaN(l) ? 0 : l), i = (c) => {
2864
- const s = typeof c == "number" ? c : Number(c ?? 0);
2863
+ const t = e, o = n, l = t.modelValue === void 0 ? 0 : Number(t.modelValue), a = C(Number.isNaN(l) ? 0 : l), i = (u) => {
2864
+ const s = typeof u == "number" ? u : Number(u ?? 0);
2865
2865
  a.value = Number.isNaN(s) ? 0 : s, o("update:modelValue", a.value), o("input", a.value);
2866
2866
  };
2867
- return (c, s) => (f(), j(je, {
2867
+ return (u, s) => (v(), j(Fe, {
2868
2868
  modelValue: a.value,
2869
2869
  "onUpdate:modelValue": i,
2870
2870
  label: t.label,
@@ -2876,13 +2876,13 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2876
2876
  spanRow: t.spanRow,
2877
2877
  error: t.error
2878
2878
  }, {
2879
- control: W(({ id: r, disabled: u, placeholder: d, onFocus: v, onBlur: m }) => [
2879
+ control: U(({ id: r, disabled: c, placeholder: d, onFocus: f, onBlur: m }) => [
2880
2880
  V("div", {
2881
2881
  class: "input-slider__control",
2882
- onFocusin: v,
2882
+ onFocusin: f,
2883
2883
  onFocusout: m
2884
2884
  }, [
2885
- P(Ca, {
2885
+ M(Ca, {
2886
2886
  id: r,
2887
2887
  modelValue: a.value,
2888
2888
  "onUpdate:modelValue": s[0] || (s[0] = (p) => a.value = p),
@@ -2890,14 +2890,14 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2890
2890
  max: t.max,
2891
2891
  step: t.step,
2892
2892
  range: !1,
2893
- disabled: u
2893
+ disabled: c
2894
2894
  }, null, 8, ["id", "modelValue", "min", "max", "step", "disabled"])
2895
2895
  ], 40, Ea)
2896
2896
  ]),
2897
2897
  _: 1
2898
2898
  }, 8, ["modelValue", "label", "id", "disabled", "colspan", "newLine", "spanRow", "error"]));
2899
2899
  }
2900
- }), $a = /* @__PURE__ */ O(La, [["__scopeId", "data-v-051e6d17"]]), Sa = { class: "textarea" }, Ra = ["value", "placeholder", "disabled", "rows"], Aa = /* @__PURE__ */ T({
2900
+ }), $a = /* @__PURE__ */ T(La, [["__scopeId", "data-v-051e6d17"]]), Sa = { class: "textarea" }, Ra = ["value", "placeholder", "disabled", "rows"], Aa = /* @__PURE__ */ O({
2901
2901
  __name: "textarea",
2902
2902
  props: /* @__PURE__ */ Z({
2903
2903
  icon: {},
@@ -2917,38 +2917,38 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2917
2917
  o.value = "";
2918
2918
  }, i = (r) => {
2919
2919
  t("focus", r);
2920
- }, c = (r) => {
2920
+ }, u = (r) => {
2921
2921
  t("blur", r);
2922
- }, s = C(() => !o.value);
2923
- return (r, u) => {
2922
+ }, s = E(() => !o.value);
2923
+ return (r, c) => {
2924
2924
  const d = N("VjIcon");
2925
- return f(), b("div", Sa, [
2926
- e.icon ? (f(), j(d, {
2925
+ return v(), b("div", Sa, [
2926
+ e.icon ? (v(), j(d, {
2927
2927
  key: 0,
2928
2928
  icon: e.icon,
2929
- size: $(q).S,
2929
+ size: S(q).S,
2930
2930
  class: "textarea-icon"
2931
- }, null, 8, ["icon", "size"])) : S("", !0),
2931
+ }, null, 8, ["icon", "size"])) : $("", !0),
2932
2932
  V("textarea", {
2933
2933
  value: o.value,
2934
2934
  onInput: l,
2935
2935
  onFocus: i,
2936
- onBlur: c,
2936
+ onBlur: u,
2937
2937
  placeholder: e.placeholder,
2938
2938
  disabled: e.disabled,
2939
2939
  rows: e.rows
2940
2940
  }, null, 40, Ra),
2941
- e.clearable && !e.disabled ? (f(), j(d, {
2941
+ e.clearable && !e.disabled ? (v(), j(d, {
2942
2942
  key: 1,
2943
2943
  class: I(["clear-icon", { invisible: s.value }]),
2944
- icon: $(U).CLOSE,
2945
- size: $(q).S,
2944
+ icon: S(W).CLOSE,
2945
+ size: S(q).S,
2946
2946
  onClick: a
2947
- }, null, 8, ["class", "icon", "size"])) : S("", !0)
2947
+ }, null, 8, ["class", "icon", "size"])) : $("", !0)
2948
2948
  ]);
2949
2949
  };
2950
2950
  }
2951
- }), an = /* @__PURE__ */ O(Aa, [["__scopeId", "data-v-2ea43716"]]), Ta = /* @__PURE__ */ T({
2951
+ }), sn = /* @__PURE__ */ T(Aa, [["__scopeId", "data-v-2ea43716"]]), Oa = /* @__PURE__ */ O({
2952
2952
  __name: "input-text-area",
2953
2953
  props: {
2954
2954
  modelValue: {},
@@ -2966,18 +2966,18 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2966
2966
  },
2967
2967
  emits: ["update:modelValue", "input", "focus", "blur"],
2968
2968
  setup(e, { emit: n }) {
2969
- const t = e, o = n, l = (u) => o("update:modelValue", u), a = (u) => o("input", u), i = (u) => o("focus", u), c = (u) => o("blur", u), s = (u) => {
2970
- l(u ?? "");
2971
- }, r = C(() => {
2972
- const u = t.modelValue;
2973
- return u == null ? "" : String(u);
2969
+ const t = e, o = n, l = (c) => o("update:modelValue", c), a = (c) => o("input", c), i = (c) => o("focus", c), u = (c) => o("blur", c), s = (c) => {
2970
+ l(c ?? "");
2971
+ }, r = E(() => {
2972
+ const c = t.modelValue;
2973
+ return c == null ? "" : String(c);
2974
2974
  });
2975
- return (u, d) => (f(), j(je, {
2975
+ return (c, d) => (v(), j(Fe, {
2976
2976
  modelValue: t.modelValue,
2977
2977
  "onUpdate:modelValue": l,
2978
2978
  onInput: a,
2979
2979
  onFocus: i,
2980
- onBlur: c,
2980
+ onBlur: u,
2981
2981
  label: t.label,
2982
2982
  id: t.id,
2983
2983
  placeholder: t.placeholder,
@@ -2989,16 +2989,16 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
2989
2989
  error: t.error,
2990
2990
  appearance: t.appearance
2991
2991
  }, {
2992
- control: W(({ id: v, disabled: m, placeholder: p, onFocus: _, onBlur: h }) => [
2993
- P(an, {
2994
- id: v,
2992
+ control: U(({ id: f, disabled: m, placeholder: p, onFocus: w, onBlur: h }) => [
2993
+ M(sn, {
2994
+ id: f,
2995
2995
  modelValue: r.value,
2996
2996
  "onUpdate:modelValue": s,
2997
2997
  onFocus: (y) => {
2998
- _(y), i(y);
2998
+ w(y), i(y);
2999
2999
  },
3000
3000
  onBlur: (y) => {
3001
- h(y), c(y);
3001
+ h(y), u(y);
3002
3002
  },
3003
3003
  placeholder: p,
3004
3004
  disabled: m,
@@ -3009,7 +3009,7 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
3009
3009
  _: 1
3010
3010
  }, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "labelPosition", "error", "appearance"]));
3011
3011
  }
3012
- }), Oa = { class: "input" }, Ba = ["value", "type", "placeholder", "disabled"], Da = /* @__PURE__ */ T({
3012
+ }), Ta = { class: "input" }, Ba = ["value", "type", "placeholder", "disabled"], Da = /* @__PURE__ */ O({
3013
3013
  __name: "input",
3014
3014
  props: /* @__PURE__ */ Z({
3015
3015
  icon: {},
@@ -3029,37 +3029,37 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
3029
3029
  o.value = "";
3030
3030
  }, i = (r) => {
3031
3031
  t("focus", r);
3032
- }, c = (r) => {
3032
+ }, u = (r) => {
3033
3033
  t("blur", r);
3034
- }, s = C(() => !o.value);
3035
- return (r, u) => {
3034
+ }, s = E(() => !o.value);
3035
+ return (r, c) => {
3036
3036
  const d = N("VjIcon");
3037
- return f(), b("div", Oa, [
3038
- e.icon ? (f(), j(d, {
3037
+ return v(), b("div", Ta, [
3038
+ e.icon ? (v(), j(d, {
3039
3039
  key: 0,
3040
3040
  icon: e.icon,
3041
- size: $(q).S
3042
- }, null, 8, ["icon", "size"])) : S("", !0),
3041
+ size: S(q).S
3042
+ }, null, 8, ["icon", "size"])) : $("", !0),
3043
3043
  V("input", {
3044
3044
  value: o.value,
3045
3045
  onInput: l,
3046
3046
  onFocus: i,
3047
- onBlur: c,
3047
+ onBlur: u,
3048
3048
  type: e.type,
3049
3049
  placeholder: e.placeholder,
3050
3050
  disabled: e.disabled
3051
3051
  }, null, 40, Ba),
3052
- e.clearable && !e.disabled ? (f(), j(d, {
3052
+ e.clearable && !e.disabled ? (v(), j(d, {
3053
3053
  key: 1,
3054
3054
  class: I(["clear-icon", { invisible: s.value }]),
3055
- icon: $(U).CLOSE,
3056
- size: $(q).S,
3055
+ icon: S(W).CLOSE,
3056
+ size: S(q).S,
3057
3057
  onClick: a
3058
- }, null, 8, ["class", "icon", "size"])) : S("", !0)
3058
+ }, null, 8, ["class", "icon", "size"])) : $("", !0)
3059
3059
  ]);
3060
3060
  };
3061
3061
  }
3062
- }), sn = /* @__PURE__ */ O(Da, [["__scopeId", "data-v-3187d49c"]]), Ma = /* @__PURE__ */ T({
3062
+ }), rn = /* @__PURE__ */ T(Da, [["__scopeId", "data-v-3187d49c"]]), Ma = /* @__PURE__ */ O({
3063
3063
  __name: "input-text",
3064
3064
  props: {
3065
3065
  modelValue: {},
@@ -3077,10 +3077,10 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
3077
3077
  },
3078
3078
  emits: ["update:modelValue", "input", "focus", "blur"],
3079
3079
  setup(e, { emit: n }) {
3080
- const t = n, o = (s) => t("update:modelValue", s), l = (s) => t("input", s), a = (s) => t("focus", s), i = (s) => t("blur", s), c = (s) => {
3080
+ const t = n, o = (s) => t("update:modelValue", s), l = (s) => t("input", s), a = (s) => t("focus", s), i = (s) => t("blur", s), u = (s) => {
3081
3081
  o(s ?? "");
3082
3082
  };
3083
- return (s, r) => (f(), j(je, {
3083
+ return (s, r) => (v(), j(Fe, {
3084
3084
  modelValue: e.modelValue,
3085
3085
  "onUpdate:modelValue": o,
3086
3086
  onInput: l,
@@ -3097,19 +3097,19 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
3097
3097
  labelPosition: e.labelPosition,
3098
3098
  appearance: e.appearance
3099
3099
  }, {
3100
- control: W(({ id: u, disabled: d, placeholder: v, onFocus: m, onBlur: p }) => [
3101
- P(sn, {
3102
- id: u,
3100
+ control: U(({ id: c, disabled: d, placeholder: f, onFocus: m, onBlur: p }) => [
3101
+ M(rn, {
3102
+ id: c,
3103
3103
  modelValue: e.modelValue,
3104
3104
  type: e.type,
3105
- "onUpdate:modelValue": c,
3106
- onFocus: (_) => {
3107
- m(_), a(_);
3105
+ "onUpdate:modelValue": u,
3106
+ onFocus: (w) => {
3107
+ m(w), a(w);
3108
3108
  },
3109
- onBlur: (_) => {
3110
- p(_), i(_);
3109
+ onBlur: (w) => {
3110
+ p(w), i(w);
3111
3111
  },
3112
- placeholder: v,
3112
+ placeholder: f,
3113
3113
  disabled: d,
3114
3114
  clearable: ""
3115
3115
  }, null, 8, ["id", "modelValue", "type", "onFocus", "onBlur", "placeholder", "disabled"])
@@ -3120,7 +3120,7 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
3120
3120
  }), Pa = { class: "shell-navigation-item" }, ja = { class: "shell-navigation-item-label" }, Fa = {
3121
3121
  key: 1,
3122
3122
  class: "shell-navigation-item-link"
3123
- }, za = { class: "shell-navigation-item-label" }, Ia = /* @__PURE__ */ T({
3123
+ }, za = ["aria-expanded"], Ia = { class: "shell-navigation-item-label" }, Ha = /* @__PURE__ */ O({
3124
3124
  __name: "shell-navigation-item",
3125
3125
  props: {
3126
3126
  label: {},
@@ -3128,65 +3128,120 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
3128
3128
  to: {}
3129
3129
  },
3130
3130
  setup(e) {
3131
- return (n, t) => {
3132
- const o = N("VjIcon"), l = N("RouterLink");
3133
- return f(), b("li", Pa, [
3134
- e.to ? (f(), j(l, {
3131
+ const n = jt(), t = E(() => !!n.default), o = C(!1), l = C(null), a = C(null), { floatingStyles: i } = pt(l, a, {
3132
+ placement: "right-start",
3133
+ middleware: [ft(8), mt(), vt({ padding: 8 })],
3134
+ whileElementsMounted: dt
3135
+ }), u = (f) => {
3136
+ t.value && (o.value = !o.value);
3137
+ }, s = () => {
3138
+ o.value = !1;
3139
+ }, r = (f) => {
3140
+ s();
3141
+ }, c = (f) => {
3142
+ (f.key === "Escape" || f.key === "Esc") && s();
3143
+ }, d = (f) => {
3144
+ const m = f.target;
3145
+ m && (l.value && l.value.contains(m) || a.value && a.value.contains(m) || s());
3146
+ };
3147
+ return X(o, (f) => {
3148
+ f ? (window.addEventListener("keydown", c), window.addEventListener("pointerdown", d)) : (window.removeEventListener("keydown", c), window.removeEventListener("pointerdown", d));
3149
+ }), Se(() => {
3150
+ window.removeEventListener("keydown", c), window.removeEventListener("pointerdown", d);
3151
+ }), (f, m) => {
3152
+ const p = N("VjIcon"), w = N("RouterLink"), h = N("VjMenu");
3153
+ return v(), b("li", Pa, [
3154
+ e.to ? (v(), j(w, {
3135
3155
  key: 0,
3136
3156
  to: e.to,
3137
3157
  class: "shell-navigation-item-link"
3138
3158
  }, {
3139
- default: W(() => [
3140
- P(o, {
3159
+ default: U(() => [
3160
+ M(p, {
3141
3161
  icon: e.icon,
3142
3162
  class: "shell-navigation-item-icon"
3143
3163
  }, null, 8, ["icon"]),
3144
- V("label", ja, D(e.label), 1)
3164
+ V("label", ja, P(e.label), 1)
3145
3165
  ]),
3146
3166
  _: 1
3147
- }, 8, ["to"])) : (f(), b("button", Fa, [
3148
- P(o, {
3149
- icon: e.icon,
3150
- class: "shell-navigation-item-icon"
3151
- }, null, 8, ["icon"]),
3152
- V("label", za, D(e.label), 1)
3167
+ }, 8, ["to"])) : (v(), b("div", Fa, [
3168
+ V("button", {
3169
+ ref_key: "buttonRef",
3170
+ ref: l,
3171
+ class: "shell-navigation-item-button",
3172
+ onClick: K(u, ["stop"]),
3173
+ "aria-expanded": o.value,
3174
+ type: "button"
3175
+ }, [
3176
+ M(p, {
3177
+ icon: e.icon,
3178
+ class: "shell-navigation-item-icon"
3179
+ }, null, 8, ["icon"]),
3180
+ V("label", Ia, P(e.label), 1)
3181
+ ], 8, za),
3182
+ M(Te, { name: "menu" }, {
3183
+ default: U(() => [
3184
+ o.value ? (v(), j(h, {
3185
+ key: 0,
3186
+ ref_key: "floatingRef",
3187
+ ref: a,
3188
+ style: Y(S(i)),
3189
+ class: "shell-navigation-item-menu",
3190
+ onClose: s,
3191
+ onClick: K(r, ["stop"])
3192
+ }, {
3193
+ default: U(() => [
3194
+ D(f.$slots, "default", {}, void 0, !0)
3195
+ ]),
3196
+ _: 3
3197
+ }, 8, ["style"])) : $("", !0)
3198
+ ]),
3199
+ _: 3
3200
+ }),
3201
+ (v(), j(Ne, { to: "body" }, [
3202
+ o.value ? (v(), b("div", {
3203
+ key: 0,
3204
+ class: "menu-backdrop",
3205
+ onClick: s
3206
+ })) : $("", !0)
3207
+ ]))
3153
3208
  ]))
3154
3209
  ]);
3155
3210
  };
3156
3211
  }
3157
- }), Ha = /* @__PURE__ */ O(Ia, [["__scopeId", "data-v-eb7dcd0c"]]), Ua = { class: "navigation-top" }, Wa = {
3212
+ }), Ua = /* @__PURE__ */ T(Ha, [["__scopeId", "data-v-d86ad711"]]), Wa = { class: "navigation-top" }, Ka = {
3158
3213
  key: 0,
3159
3214
  class: "navigation-bottom"
3160
- }, Ka = /* @__PURE__ */ T({
3215
+ }, Xa = /* @__PURE__ */ O({
3161
3216
  __name: "shell-navigation",
3162
3217
  setup(e) {
3163
- const n = Dt(Qa, ei()), t = C(() => n.showLabels);
3218
+ const n = It(Za, ti()), t = E(() => n.showLabels);
3164
3219
  return (o, l) => {
3165
3220
  const a = N("VjShellNavigationItem");
3166
- return f(), b("nav", {
3221
+ return v(), b("nav", {
3167
3222
  class: I(["shell-navigation", { "with-labels": t.value }])
3168
3223
  }, [
3169
- V("ul", Ua, [
3170
- $(n).hasParent && $(n).backRoute.value ? (f(), j(a, {
3224
+ V("ul", Wa, [
3225
+ S(n).hasParent && S(n).backRoute.value ? (v(), j(a, {
3171
3226
  key: 0,
3172
- to: $(n).backRoute.value,
3227
+ to: S(n).backRoute.value,
3173
3228
  label: "BACK",
3174
- icon: $(U).HOME
3175
- }, null, 8, ["to", "icon"])) : S("", !0),
3176
- (f(!0), b(ne, null, Se($(n).childRoutes.value, (i) => (f(), j(a, {
3229
+ icon: S(W).HOME
3230
+ }, null, 8, ["to", "icon"])) : $("", !0),
3231
+ (v(!0), b(ne, null, Re(S(n).childRoutes.value, (i) => (v(), j(a, {
3177
3232
  key: i.name,
3178
3233
  to: { name: i.name },
3179
3234
  label: i.meta.label,
3180
- icon: i.meta.icon ?? $(U).HOME
3235
+ icon: i.meta.icon ?? S(W).HOME
3181
3236
  }, null, 8, ["to", "label", "icon"]))), 128))
3182
3237
  ]),
3183
- o.$slots.fixed ? (f(), b("ul", Wa, [
3184
- M(o.$slots, "fixed", {}, void 0, !0)
3185
- ])) : S("", !0)
3238
+ o.$slots.fixed ? (v(), b("ul", Ka, [
3239
+ D(o.$slots, "fixed", {}, void 0, !0)
3240
+ ])) : $("", !0)
3186
3241
  ], 2);
3187
3242
  };
3188
3243
  }
3189
- }), rn = /* @__PURE__ */ O(Ka, [["__scopeId", "data-v-306cfc22"]]), Xa = { class: "shell" }, Na = { class: "shell-title" }, qa = ["src"], Ga = { class: "header-actions" }, Ya = /* @__PURE__ */ T({
3244
+ }), cn = /* @__PURE__ */ T(Xa, [["__scopeId", "data-v-306cfc22"]]), Na = { class: "shell" }, qa = { class: "shell-title" }, Ga = ["src"], Ya = { class: "header-actions" }, Ja = /* @__PURE__ */ O({
3190
3245
  __name: "shell",
3191
3246
  props: {
3192
3247
  title: {},
@@ -3194,74 +3249,74 @@ const la = ["data-colspan", "data-newline"], aa = ["for"], ia = { class: "form-f
3194
3249
  showNavigation: { type: Boolean }
3195
3250
  },
3196
3251
  setup(e) {
3197
- const n = ai(), t = Je(n, "asideComponent"), o = Je(n, "hasAside"), l = Je(n, "asideData"), a = C(() => {
3252
+ const n = ii(), t = Qe(n, "asideComponent"), o = Qe(n, "hasAside"), l = Qe(n, "asideData"), a = E(() => {
3198
3253
  const i = l.value;
3199
3254
  return i && typeof i == "object" ? i : {};
3200
3255
  });
3201
- return (i, c) => {
3256
+ return (i, u) => {
3202
3257
  const s = N("router-view");
3203
- return f(), b("div", Xa, [
3258
+ return v(), b("div", Na, [
3204
3259
  V("header", null, [
3205
- V("span", Na, [
3206
- e.icon ? (f(), b("img", {
3260
+ V("span", qa, [
3261
+ e.icon ? (v(), b("img", {
3207
3262
  key: 0,
3208
3263
  src: e.icon,
3209
3264
  alt: "Shell Icon"
3210
- }, null, 8, qa)) : S("", !0),
3211
- V("h1", null, D(e.title), 1)
3265
+ }, null, 8, Ga)) : $("", !0),
3266
+ V("h1", null, P(e.title), 1)
3212
3267
  ]),
3213
- V("div", Ga, [
3214
- M(i.$slots, "header-actions", {}, void 0, !0)
3268
+ V("div", Ya, [
3269
+ D(i.$slots, "header-actions", {}, void 0, !0)
3215
3270
  ])
3216
3271
  ]),
3217
3272
  V("div", {
3218
3273
  class: I(["shell-content", { "with-navigation": e.showNavigation }])
3219
3274
  }, [
3220
- e.showNavigation ? (f(), j($(rn), { key: 0 }, lt({ _: 2 }, [
3275
+ e.showNavigation ? (v(), j(S(cn), { key: 0 }, lt({ _: 2 }, [
3221
3276
  i.$slots?.["navigation-fixed"] ? {
3222
3277
  name: "fixed",
3223
- fn: W(() => [
3224
- M(i.$slots, "navigation-fixed", {}, void 0, !0)
3278
+ fn: U(() => [
3279
+ D(i.$slots, "navigation-fixed", {}, void 0, !0)
3225
3280
  ]),
3226
3281
  key: "0"
3227
3282
  } : void 0
3228
- ]), 1024)) : S("", !0),
3283
+ ]), 1024)) : $("", !0),
3229
3284
  V("main", null, [
3230
- M(i.$slots, "default", {}, () => [
3231
- P(s)
3285
+ D(i.$slots, "default", {}, () => [
3286
+ M(s)
3232
3287
  ], !0)
3233
3288
  ]),
3234
3289
  V("aside", {
3235
3290
  class: I({ "aside-visible": o.value })
3236
3291
  }, [
3237
- (f(), j(Ot(t.value), gn(bn(a.value)), null, 16))
3292
+ (v(), j(Ft(t.value), gn(bn(a.value)), null, 16))
3238
3293
  ], 2)
3239
3294
  ], 2),
3240
- c[0] || (c[0] = V("footer", null, null, -1))
3295
+ u[0] || (u[0] = V("footer", null, null, -1))
3241
3296
  ]);
3242
3297
  };
3243
3298
  }
3244
- }), Ja = /* @__PURE__ */ O(Ya, [["__scopeId", "data-v-4dfd0097"]]), Qa = "navigationProvider";
3245
- function Za(e) {
3299
+ }), Qa = /* @__PURE__ */ T(Ja, [["__scopeId", "data-v-4dfd0097"]]), Za = "navigationProvider";
3300
+ function ei(e) {
3246
3301
  return !!e.meta && "icon" in e.meta && "label" in e.meta;
3247
3302
  }
3248
- const ei = () => {
3249
- const e = xn(), n = kn(), t = !0, o = C(() => {
3250
- const u = e.getRoutes();
3251
- return u.filter((d) => d.path !== "/" && !u.some((v) => v.children?.some((m) => m.name === d.name)));
3252
- }), l = C(() => {
3253
- const u = n.matched;
3254
- return u.length ? u[u.length - 1] : null;
3255
- }), a = C(() => {
3256
- const u = n.matched;
3257
- return u.length > 1 ? u[u.length - 2] : null;
3258
- }), i = C(() => !!(l.value?.children?.length || a.value)), c = C(() => l.value?.children?.length ? l.value : a.value?.children?.length ? a.value : null), s = C(() => {
3259
- if (!c.value) return null;
3260
- const d = e.getRoutes().find((v) => v.children?.some((m) => m.name === c.value.name));
3303
+ const ti = () => {
3304
+ const e = xn(), n = kn(), t = !0, o = E(() => {
3305
+ const c = e.getRoutes();
3306
+ return c.filter((d) => d.path !== "/" && !c.some((f) => f.children?.some((m) => m.name === d.name)));
3307
+ }), l = E(() => {
3308
+ const c = n.matched;
3309
+ return c.length ? c[c.length - 1] : null;
3310
+ }), a = E(() => {
3311
+ const c = n.matched;
3312
+ return c.length > 1 ? c[c.length - 2] : null;
3313
+ }), i = E(() => !!(l.value?.children?.length || a.value)), u = E(() => l.value?.children?.length ? l.value : a.value?.children?.length ? a.value : null), s = E(() => {
3314
+ if (!u.value) return null;
3315
+ const d = e.getRoutes().find((f) => f.children?.some((m) => m.name === u.value.name));
3261
3316
  return d ? { name: d.name } : { path: "/" };
3262
- }), r = C(() => {
3263
- let u = [];
3264
- return n.path === "/" ? u = o.value : l.value?.children?.length ? u = l.value.children : a.value?.children?.length ? u = a.value.children : u = o.value, u.filter(Za);
3317
+ }), r = E(() => {
3318
+ let c = [];
3319
+ return n.path === "/" ? c = o.value : l.value?.children?.length ? c = l.value.children : a.value?.children?.length ? c = a.value.children : c = o.value, c.filter(ei);
3265
3320
  });
3266
3321
  return {
3267
3322
  hasParent: i,
@@ -3269,21 +3324,21 @@ const ei = () => {
3269
3324
  childRoutes: r,
3270
3325
  showLabels: t
3271
3326
  };
3272
- }, gi = (e, n = !0, t = void 0) => {
3273
- const o = yn(e) ? e : E(e), l = !!t, a = E(t || null);
3327
+ }, bi = (e, n = !0, t = void 0) => {
3328
+ const o = yn(e) ? e : C(e), l = !!t, a = C(t || null);
3274
3329
  return {
3275
3330
  hasParent: l,
3276
3331
  backRoute: a,
3277
3332
  childRoutes: o,
3278
3333
  showLabels: n
3279
3334
  };
3280
- }, ft = E(!1), vt = E(null), mt = E(null);
3335
+ }, gt = C(!1), bt = C(null), yt = C(null);
3281
3336
  let Ee = [];
3282
- const cn = (e) => (Ee.push(e), () => {
3337
+ const un = (e) => (Ee.push(e), () => {
3283
3338
  Ee = Ee.filter((n) => n !== e);
3284
- }), ti = (e, n) => (Ee = [], vt.value = e, mt.value = n ?? null, ft.value = !0, {
3285
- onClose: (t) => cn(t)
3286
- }), ni = (e) => {
3339
+ }), ni = (e, n) => (Ee = [], bt.value = e, yt.value = n ?? null, gt.value = !0, {
3340
+ onClose: (t) => un(t)
3341
+ }), oi = (e) => {
3287
3342
  try {
3288
3343
  Ee.forEach((n) => {
3289
3344
  try {
@@ -3293,18 +3348,18 @@ const cn = (e) => (Ee.push(e), () => {
3293
3348
  }
3294
3349
  });
3295
3350
  } finally {
3296
- ft.value = !1, setTimeout(oi, 1e3);
3297
- }
3298
- }, oi = () => {
3299
- Ee = [], vt.value = null, mt.value = null;
3300
- }, li = {
3301
- asideComponent: vt,
3302
- asideData: mt,
3303
- showAside: ti,
3304
- closeAside: ni,
3305
- onAsideClose: cn,
3306
- hasAside: ft
3307
- }, ai = () => li, bi = (e, n) => {
3351
+ gt.value = !1, setTimeout(li, 1e3);
3352
+ }
3353
+ }, li = () => {
3354
+ Ee = [], bt.value = null, yt.value = null;
3355
+ }, ai = {
3356
+ asideComponent: bt,
3357
+ asideData: yt,
3358
+ showAside: ni,
3359
+ closeAside: oi,
3360
+ onAsideClose: un,
3361
+ hasAside: gt
3362
+ }, ii = () => ai, yi = (e, n) => {
3308
3363
  let t = null;
3309
3364
  return (...l) => {
3310
3365
  t && clearTimeout(t), t = setTimeout(() => {
@@ -3312,7 +3367,7 @@ const cn = (e) => (Ee.push(e), () => {
3312
3367
  }, n);
3313
3368
  };
3314
3369
  };
3315
- class ii {
3370
+ class si {
3316
3371
  containerElement = null;
3317
3372
  apps = [];
3318
3373
  ensureContainer() {
@@ -3328,7 +3383,7 @@ class ii {
3328
3383
  const s = this.apps.find((r) => r.element === l);
3329
3384
  s && (s.app.unmount(), this.apps = this.apps.filter((r) => r !== s)), l.remove();
3330
3385
  }, 300));
3331
- }, c = wn({
3386
+ }, u = wn({
3332
3387
  setup() {
3333
3388
  return () => _n(at, {
3334
3389
  modelValue: !0,
@@ -3354,7 +3409,7 @@ class ii {
3354
3409
  });
3355
3410
  }
3356
3411
  });
3357
- c.component("VjCard", et), c.component("VjIcon", we), c.component("VjButton", Mt), c.mount(l), this.apps.push({ app: c, element: l });
3412
+ u.component("VjCard", tt), u.component("VjIcon", we), u.component("VjButton", Ht), u.mount(l), this.apps.push({ app: u, element: l });
3358
3413
  });
3359
3414
  }
3360
3415
  confirm(n) {
@@ -3382,20 +3437,20 @@ class ii {
3382
3437
  }), this.apps = [];
3383
3438
  }
3384
3439
  }
3385
- const si = new ii();
3386
- function yi() {
3387
- return si;
3440
+ const ri = new si();
3441
+ function wi() {
3442
+ return ri;
3388
3443
  }
3389
- const wi = () => {
3390
- const e = E(!1), n = E(null), t = () => {
3444
+ const _i = () => {
3445
+ const e = C(!1), n = C(null), t = () => {
3391
3446
  n.value = null;
3392
3447
  };
3393
3448
  class o {
3394
3449
  inner;
3395
3450
  defaultValue;
3396
3451
  handlers = [];
3397
- constructor(i, c) {
3398
- this.inner = i, this.defaultValue = c;
3452
+ constructor(i, u) {
3453
+ this.inner = i, this.defaultValue = u;
3399
3454
  }
3400
3455
  onError(i) {
3401
3456
  return this.handlers.push(i), this;
@@ -3406,9 +3461,9 @@ const wi = () => {
3406
3461
  return await this.inner();
3407
3462
  } catch (i) {
3408
3463
  n.value = i;
3409
- for (const c of this.handlers)
3464
+ for (const u of this.handlers)
3410
3465
  try {
3411
- c(i);
3466
+ u(i);
3412
3467
  } catch (s) {
3413
3468
  console.error("onError handler failed", s);
3414
3469
  }
@@ -3418,8 +3473,8 @@ const wi = () => {
3418
3473
  e.value = !1;
3419
3474
  }
3420
3475
  }
3421
- then(i, c) {
3422
- return this.exec().then(i, c);
3476
+ then(i, u) {
3477
+ return this.exec().then(i, u);
3423
3478
  }
3424
3479
  }
3425
3480
  function l(a, i) {
@@ -3427,8 +3482,8 @@ const wi = () => {
3427
3482
  }
3428
3483
  return { run: l, running: e, error: n, clearError: t };
3429
3484
  };
3430
- class ri {
3431
- notifications = E([]);
3485
+ class ci {
3486
+ notifications = C([]);
3432
3487
  notificationIdCounter = 0;
3433
3488
  /**
3434
3489
  * Gibt die reaktive Liste der Notifications zurück
@@ -3444,14 +3499,14 @@ class ri {
3444
3499
  * @returns Die ID der Notification
3445
3500
  */
3446
3501
  show(n, t, o, l) {
3447
- const a = `notification-${++this.notificationIdCounter}-${Date.now()}`, i = n === "error" ? void 0 : l ?? 5e3, c = {
3502
+ const a = `notification-${++this.notificationIdCounter}-${Date.now()}`, i = n === "error" ? void 0 : l ?? 5e3, u = {
3448
3503
  id: a,
3449
3504
  type: n,
3450
3505
  title: t,
3451
3506
  message: o,
3452
3507
  duration: i
3453
3508
  };
3454
- return this.notifications.value.unshift(c), i && setTimeout(() => {
3509
+ return this.notifications.value.unshift(u), i && setTimeout(() => {
3455
3510
  this.remove(a);
3456
3511
  }, i), a;
3457
3512
  }
@@ -3493,65 +3548,65 @@ class ri {
3493
3548
  this.notifications.value = [];
3494
3549
  }
3495
3550
  }
3496
- const _i = new ri(), xi = {
3551
+ const xi = new ci(), ki = {
3497
3552
  install(e) {
3498
- e.component("VjButton", Mt), e.component("VjButtonBar", Sn), e.component("VjCard", et), e.component("VjChip", Pt), e.component("VjChipGroup", jt), e.component("VjChipSelector", vo), e.component("VjCarousel", et), e.component("VjCheckbox", Hn), e.component("VjDotMenu", sl), e.component("VjDialog", at), e.component("VjIcon", we), e.component("VjLinkButton", cl), e.component("VjMenu", gl), e.component("VjMenuAction", vl), e.component("VjPage", Dl), e.component("VjPaginator", jl), e.component("VjTab", Ql), e.component("VjTabView", Yl), e.component("VjSkeleton", oa), e.component("VjSpinner", nn), e.component("VjInput", sn), e.component("VjSelect", ln), e.component("VjTextArea", an), e.component("VjFormField", je), e.component("VjFormLayout", da), e.component("VjFormSection", ma), e.component("VjInputText", Ma), e.component("VjInputTextArea", Ta), e.component("VjInputSelect", _a), e.component("VjInputSlider", $a), e.component("VjShellNavigation", rn), e.component("VjShellNavigationItem", Ha), e.component("VjShell", Ja), e.component("VjSearchField", Hl), e.component("VjSeparator", Wl), e.directive("focus", wl), e.directive("resize", _l), e.directive("compact", bl);
3553
+ e.component("VjButton", Ht), e.component("VjButtonBar", Sn), e.component("VjCard", tt), e.component("VjChip", Ut), e.component("VjChipGroup", Wt), e.component("VjChipSelector", vo), e.component("VjCarousel", tt), e.component("VjCheckbox", Hn), e.component("VjDotMenu", sl), e.component("VjDialog", at), e.component("VjIcon", we), e.component("VjLinkButton", cl), e.component("VjMenu", gl), e.component("VjMenuAction", vl), e.component("VjPage", Dl), e.component("VjPaginator", jl), e.component("VjTab", Ql), e.component("VjTabView", Yl), e.component("VjSkeleton", oa), e.component("VjSpinner", on), e.component("VjInput", rn), e.component("VjSelect", an), e.component("VjTextArea", sn), e.component("VjFormField", Fe), e.component("VjFormLayout", da), e.component("VjFormSection", ma), e.component("VjInputText", Ma), e.component("VjInputTextArea", Oa), e.component("VjInputSelect", _a), e.component("VjInputSlider", $a), e.component("VjShellNavigation", cn), e.component("VjShellNavigationItem", Ua), e.component("VjShell", Qa), e.component("VjSearchField", Hl), e.component("VjSeparator", Wl), e.directive("focus", wl), e.directive("resize", _l), e.directive("compact", bl);
3499
3554
  }
3500
3555
  };
3501
3556
  export {
3502
- Mt as Button,
3557
+ Ht as Button,
3503
3558
  Sn as ButtonBar,
3504
- et as Card,
3505
- fi as Carousel,
3559
+ tt as Card,
3560
+ vi as Carousel,
3506
3561
  Hn as Checkbox,
3507
- Pt as Chip,
3508
- jt as ChipGroup,
3562
+ Ut as Chip,
3563
+ Wt as ChipGroup,
3509
3564
  vo as ChipSelector,
3510
3565
  at as Dialog,
3511
3566
  sl as DotMenu,
3512
- mi as EditableLabel,
3513
- je as FormField,
3567
+ pi as EditableLabel,
3568
+ Fe as FormField,
3514
3569
  da as FormLayout,
3515
3570
  ma as FormSection,
3516
3571
  we as Icon,
3517
- U as IconNames,
3572
+ W as IconNames,
3518
3573
  q as IconSize,
3519
- sn as Input,
3574
+ rn as Input,
3520
3575
  _a as InputSelect,
3521
3576
  $a as InputSlider,
3522
3577
  Ma as InputText,
3523
- Ta as InputTextArea,
3578
+ Oa as InputTextArea,
3524
3579
  cl as LinkButton,
3525
3580
  gl as Menu,
3526
3581
  vl as MenuAction,
3527
3582
  Dl as Page,
3528
3583
  jl as Paginator,
3529
- vi as Radio,
3584
+ mi as Radio,
3530
3585
  Hl as SearchField,
3531
- ln as Select,
3586
+ an as Select,
3532
3587
  Wl as Separator,
3533
- Ja as Shell,
3534
- rn as ShellNavigation,
3535
- Ha as ShellNavigationItem,
3588
+ Qa as Shell,
3589
+ cn as ShellNavigation,
3590
+ Ua as ShellNavigationItem,
3536
3591
  oa as Skeleton,
3537
- nn as Spinner,
3592
+ on as Spinner,
3538
3593
  Ql as Tab,
3539
3594
  Yl as TabView,
3540
- an as TextArea,
3541
- xi as VjComponents,
3542
- Qa as VjNavigationProviderKey,
3595
+ sn as TextArea,
3596
+ ki as VjComponents,
3597
+ Za as VjNavigationProviderKey,
3543
3598
  bl as compactDirective,
3544
- pi as configureVueUI,
3545
- si as dialogService,
3546
- Tt as getVueUIConfig,
3547
- _i as notificationService,
3548
- hi as resetVueUIConfig,
3549
- ai as useAsideService,
3550
- bi as useDebounce,
3551
- yi as useDialog,
3552
- wi as useFlow,
3553
- ei as useRouterNavigationProvider,
3554
- gi as useStaticNavigationProvider,
3599
+ hi as configureVueUI,
3600
+ ri as dialogService,
3601
+ Pt as getVueUIConfig,
3602
+ xi as notificationService,
3603
+ gi as resetVueUIConfig,
3604
+ ii as useAsideService,
3605
+ yi as useDebounce,
3606
+ wi as useDialog,
3607
+ _i as useFlow,
3608
+ ti as useRouterNavigationProvider,
3609
+ bi as useStaticNavigationProvider,
3555
3610
  wl as vFocusFirst,
3556
3611
  Ll as vLoading,
3557
3612
  _l as vResize