@synopackageland/ui 0.10.3 → 0.10.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import * as zl from "vue";
2
- import { inject as Xe, computed as h, defineComponent as A, openBlock as f, createElementBlock as g, normalizeStyle as Ee, unref as l, createElementVNode as z, ref as D, provide as Ze, normalizeClass as ne, createVNode as B, createCommentVNode as F, renderSlot as k, createBlock as E, useAttrs as no, watch as me, watchEffect as lt, onBeforeUpdate as Nd, onBeforeUnmount as Ke, mergeProps as ee, shallowReactive as Yi, onScopeDispose as ln, shallowRef as Nt, shallowReadonly as Qt, toValue as Qe, getCurrentScope as Xi, customRef as Kd, effectScope as Zi, getCurrentInstance as _t, isRef as Kt, reactive as ct, toRefs as Le, nextTick as Pe, onMounted as Ae, Fragment as de, toHandlerKey as Wd, camelize as Ji, onUpdated as Or, triggerRef as Hd, toRef as jd, onUnmounted as pt, h as St, Comment as Qi, cloneVNode as Ud, withCtx as w, withKeys as Ye, withDirectives as Ct, vShow as va, withModifiers as $e, Teleport as sn, normalizeProps as Te, guardReactiveProps as De, markRaw as Gd, renderList as Ce, watchSyncEffect as Yd, withMemo as Ir, watchPostEffect as es, mergeDefaults as ts, resolveDynamicComponent as Ne, toHandlers as as, createTextVNode as ye, toDisplayString as j, toRaw as Xd, useId as xt, useTemplateRef as Fe, vModelText as ns, resolveComponent as Rr, Text as Zd, useSlots as Pt, vModelSelect as Io, createSlots as Ln } from "vue";
3
- import { EyeOff as Jd, Eye as Qd, Minus as nr, ChevronDown as ft, Plus as or, Check as bt, X as ht, ChevronRight as it, CalendarDays as ec, ChevronLeft as Mr, CircleAlert as Vr, TriangleAlert as oo, CircleCheck as os, Info as un, File as rr, FileImage as tc, FileVideo as ac, FileAudio as nc, FileArchive as oc, FileText as rs, FileCode as rc, FolderOpen as Lr, Folder as Fr, Ellipsis as Nl, ChevronsLeft as lc, ChevronsRight as ic, RefreshCw as Wn, Filter as sc, Search as uc, Trash2 as dc, CircleQuestionMark as cc, ChevronUp as ls, GripVertical as Kl, UploadCloud as fc, Scissors as pc, Copy as is, Pencil as vc, CircleHelp as mc, Lightbulb as yc, ChevronsUpDown as hc, Package as gc, ExternalLink as bc, PanelLeftOpen as xc, PanelLeftClose as _c, Menu as wc, Download as kc, ArrowUpRight as Cc } from "@lucide/vue";
4
- import { DateFormatter as zt, createCalendar as Sc, toCalendar as Wl, CalendarDateTime as ss, CalendarDate as us, getLocalTimeZone as zr, ZonedDateTime as $c, getDayOfWeek as Nr, startOfMonth as Ec, endOfMonth as Hl, today as qc, isEqualMonth as jl, isSameMonth as ds, isSameDay as Pa, isEqualDay as Za, isToday as Ac, parseDate as Pc } from "@internationalized/date";
1
+ import * as Nl from "vue";
2
+ import { inject as Xe, computed as h, defineComponent as A, openBlock as f, createElementBlock as g, normalizeStyle as Ee, unref as l, createElementVNode as z, ref as D, provide as Ze, normalizeClass as ne, createVNode as B, createCommentVNode as F, renderSlot as k, createBlock as E, useAttrs as no, watch as me, watchEffect as lt, onBeforeUpdate as Nd, onBeforeUnmount as Ke, mergeProps as ee, shallowReactive as Yi, onScopeDispose as ln, shallowRef as Nt, shallowReadonly as Qt, toValue as Qe, getCurrentScope as Xi, customRef as Kd, effectScope as Zi, getCurrentInstance as _t, isRef as Kt, reactive as ft, toRefs as Le, nextTick as Pe, onMounted as Ae, Fragment as de, toHandlerKey as Wd, camelize as Ji, onUpdated as Ir, triggerRef as Hd, toRef as jd, onUnmounted as vt, h as St, Comment as Qi, cloneVNode as Ud, withCtx as w, withKeys as Ye, withDirectives as Ct, vShow as va, withModifiers as $e, Teleport as sn, normalizeProps as Te, guardReactiveProps as De, markRaw as Gd, renderList as Ce, watchSyncEffect as Yd, withMemo as Rr, watchPostEffect as es, mergeDefaults as ts, resolveDynamicComponent as Ne, toHandlers as as, createTextVNode as ye, toDisplayString as j, toRaw as Xd, useId as xt, useTemplateRef as Fe, vModelText as ns, resolveComponent as Mr, Text as Zd, useSlots as Pt, vModelSelect as Io, createSlots as Ln } from "vue";
3
+ import { EyeOff as Jd, Eye as Qd, Minus as nr, ChevronDown as pt, Plus as or, Check as bt, X as ht, ChevronRight as it, CalendarDays as ec, ChevronLeft as Vr, CircleAlert as Lr, TriangleAlert as oo, CircleCheck as os, Info as un, File as rr, FileImage as tc, FileVideo as ac, FileAudio as nc, FileArchive as oc, FileText as rs, FileCode as rc, FolderOpen as Fr, Folder as zr, Ellipsis as Kl, ChevronsLeft as lc, ChevronsRight as ic, RefreshCw as Wn, Filter as sc, Search as uc, Trash2 as dc, CircleQuestionMark as cc, ChevronUp as ls, GripVertical as Wl, UploadCloud as fc, Scissors as pc, Copy as is, Pencil as vc, CircleHelp as mc, Lightbulb as yc, ChevronsUpDown as hc, Package as gc, ExternalLink as bc, PanelLeftOpen as xc, PanelLeftClose as _c, Menu as wc, Download as kc, ArrowUpRight as Cc } from "@lucide/vue";
4
+ import { DateFormatter as zt, createCalendar as Sc, toCalendar as Hl, CalendarDateTime as ss, CalendarDate as us, getLocalTimeZone as Nr, ZonedDateTime as $c, getDayOfWeek as Kr, startOfMonth as Ec, endOfMonth as jl, today as qc, isEqualMonth as Ul, isSameMonth as ds, isSameDay as Pa, isEqualDay as Za, isToday as Ac, parseDate as Pc } from "@internationalized/date";
5
5
  const cs = /* @__PURE__ */ Symbol("syno-pkg-land-ui:locale");
6
6
  function dn(e) {
7
7
  const a = Xe(cs, null);
@@ -1344,13 +1344,13 @@ const Tc = {
1344
1344
  "Couldn't copy. Select the text and copy it manually.": "Impossibile copiare. Seleziona il testo e copialo manualmente."
1345
1345
  }
1346
1346
  };
1347
- function Kr(e, a, t = {}) {
1347
+ function Wr(e, a, t = {}) {
1348
1348
  return wt(Dc[e][a], t);
1349
1349
  }
1350
1350
  function He() {
1351
1351
  const e = dn(() => {
1352
1352
  });
1353
- return (a, t) => Kr(e.value, a, t);
1353
+ return (a, t) => Wr(e.value, a, t);
1354
1354
  }
1355
1355
  function je(e, a) {
1356
1356
  const t = He();
@@ -1507,16 +1507,16 @@ const Rc = ["type", "disabled", "data-disabled", "data-loading", "data-kind", "a
1507
1507
  })) : k(r.$slots, "default", {}, void 0, void 0, 1)
1508
1508
  ], 10, Vc));
1509
1509
  }
1510
- }), vs = /* @__PURE__ */ Symbol("syno-pkg-land-ui:form"), Wr = /* @__PURE__ */ Symbol("syno-pkg-land-ui:form-field");
1510
+ }), vs = /* @__PURE__ */ Symbol("syno-pkg-land-ui:form"), Hr = /* @__PURE__ */ Symbol("syno-pkg-land-ui:form-field");
1511
1511
  function Lc() {
1512
1512
  return Xe(vs, null);
1513
1513
  }
1514
1514
  function Fc() {
1515
- return Xe(Wr, null);
1515
+ return Xe(Hr, null);
1516
1516
  }
1517
- function vt(e) {
1517
+ function st(e) {
1518
1518
  const a = no(), t = Fc(), n = /* @__PURE__ */ Symbol("primary-control"), o = t?.claimControl?.(n), r = h(() => t?.isPrimaryControl ? t.isPrimaryControl(n) ? t : null : o === !1 ? null : t);
1519
- t && Ze(Wr, null), me([r, e.value], ([p, v]) => p?.setValue(v), { immediate: !0 }), me([r, e.disabled], ([p, v]) => p?.setDisabled(v === !0), { immediate: !0 });
1519
+ t && Ze(Hr, null), me([r, e.value], ([p, v]) => p?.setValue(v), { immediate: !0 }), me([r, e.disabled], ([p, v]) => p?.setDisabled(v === !0), { immediate: !0 });
1520
1520
  const i = t?.defaultControlId ?? t?.controlId, s = () => {
1521
1521
  const p = e.id?.() ?? a.id;
1522
1522
  r.value?.setControlId?.(typeof p == "string" ? p : i);
@@ -1581,7 +1581,7 @@ const Kc = ["value", "type", "name", "placeholder", "disabled", "readonly"], Wc
1581
1581
  )
1582
1582
  );
1583
1583
  ys(() => t.type === "number" ? void 0 : "sm");
1584
- const { controlAttrs: d, wrapperAttrs: c, changed: p } = vt({ value: () => t.modelValue, disabled: () => t.disabled, id: () => t.id, ariaLabel: () => t.ariaLabel, ariaLabelledby: () => t.ariaLabelledby, invalid: () => t.invalid });
1584
+ const { controlAttrs: d, wrapperAttrs: c, changed: p } = st({ value: () => t.modelValue, disabled: () => t.disabled, id: () => t.id, ariaLabel: () => t.ariaLabel, ariaLabelledby: () => t.ariaLabelledby, invalid: () => t.invalid });
1585
1585
  return (v, m) => i.value ? (f(), g("span", ee({ key: 0 }, l(c)(), {
1586
1586
  class: "relative inline-flex w-full min-w-0 items-center",
1587
1587
  "data-syno-pkg-land-ui": ""
@@ -1650,7 +1650,7 @@ const Kc = ["value", "type", "name", "placeholder", "disabled", "readonly"], Wc
1650
1650
  setup(e, { emit: a }) {
1651
1651
  const t = e, n = a;
1652
1652
  ys(() => "md");
1653
- const { controlAttrs: o, wrapperAttrs: r, changed: i } = vt({ value: () => t.modelValue, disabled: () => t.disabled, id: () => t.id, ariaLabel: () => t.ariaLabel, ariaLabelledby: () => t.ariaLabelledby, invalid: () => t.invalid });
1653
+ const { controlAttrs: o, wrapperAttrs: r, changed: i } = st({ value: () => t.modelValue, disabled: () => t.disabled, id: () => t.id, ariaLabel: () => t.ariaLabel, ariaLabelledby: () => t.ariaLabelledby, invalid: () => t.invalid });
1654
1654
  return (s, u) => (f(), g("textarea", ee({ ...l(r)(), ...l(o)() }, {
1655
1655
  value: t.modelValue,
1656
1656
  name: t.name,
@@ -1679,7 +1679,7 @@ const Kc = ["value", "type", "name", "placeholder", "disabled", "readonly"], Wc
1679
1679
  ]));
1680
1680
  }
1681
1681
  });
1682
- function Ul(e) {
1682
+ function Gl(e) {
1683
1683
  return typeof e == "string" ? `'${e}'` : new Xc().serialize(e);
1684
1684
  }
1685
1685
  const Yc = " _-,;:!?.'\"()[]{}@*/\\&#%`^+<=>|~$0123456789abcdefghijklmnopqrstuvwxyz", An = /* @__PURE__ */ (function() {
@@ -1811,7 +1811,7 @@ const Xc = /* @__PURE__ */ (function() {
1811
1811
  return e;
1812
1812
  })();
1813
1813
  function At(e, a) {
1814
- return e === a || Ul(e) === Ul(a);
1814
+ return e === a || Gl(e) === Gl(a);
1815
1815
  }
1816
1816
  function Fn(e, a, t) {
1817
1817
  const n = e.findIndex((s) => At(s, a)), o = e.findIndex((s) => At(s, t));
@@ -1880,7 +1880,7 @@ function Zc(e) {
1880
1880
  const yt = typeof window < "u" && typeof document < "u";
1881
1881
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
1882
1882
  const Jc = (e) => typeof e < "u", Qc = Object.prototype.toString, ef = (e) => Qc.call(e) === "[object Object]", tf = () => {
1883
- }, Gl = /* @__PURE__ */ af();
1883
+ }, Yl = /* @__PURE__ */ af();
1884
1884
  function af() {
1885
1885
  var e, a, t;
1886
1886
  return yt && !!(!((e = window) === null || e === void 0 || (e = e.navigator) === null || e === void 0) && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((a = window) === null || a === void 0 || (a = a.navigator) === null || a === void 0 ? void 0 : a.maxTouchPoints) > 2 && /iPad|Macintosh/.test((t = window) === null || t === void 0 ? void 0 : t.navigator.userAgent));
@@ -1901,7 +1901,7 @@ function gs(e) {
1901
1901
  return ((...r) => (a += 1, n || (n = Zi(!0), t = n.run(() => e(...r))), ga(o), t));
1902
1902
  }
1903
1903
  function of(e) {
1904
- return Kt(e) ? ct(new Proxy({}, {
1904
+ return Kt(e) ? ft(new Proxy({}, {
1905
1905
  get(a, t, n) {
1906
1906
  return l(Reflect.get(e.value, t, n));
1907
1907
  },
@@ -1923,7 +1923,7 @@ function of(e) {
1923
1923
  configurable: !0
1924
1924
  };
1925
1925
  }
1926
- })) : ct(e);
1926
+ })) : ft(e);
1927
1927
  }
1928
1928
  function rf(e) {
1929
1929
  return of(h(e));
@@ -1932,7 +1932,7 @@ function lo(e, ...a) {
1932
1932
  const t = a.flat(), n = t[0];
1933
1933
  return rf(() => Object.fromEntries(typeof n == "function" ? Object.entries(Le(e)).filter(([o, r]) => !n(Qe(r), o)) : Object.entries(Le(e)).filter((o) => !t.includes(o[0]))));
1934
1934
  }
1935
- function Hr(e, a = 1e4) {
1935
+ function jr(e, a = 1e4) {
1936
1936
  return Kd((t, n) => {
1937
1937
  let o = Qe(e), r;
1938
1938
  const i = () => setTimeout(() => {
@@ -1953,7 +1953,7 @@ function Hr(e, a = 1e4) {
1953
1953
  function lf(e, a) {
1954
1954
  nf() && Ke(e, a);
1955
1955
  }
1956
- function jr(e, a, t = {}) {
1956
+ function Ur(e, a, t = {}) {
1957
1957
  const { immediate: n = !0, immediateCallback: o = !1 } = t, r = Nt(!1);
1958
1958
  let i;
1959
1959
  function s() {
@@ -1974,7 +1974,7 @@ function jr(e, a, t = {}) {
1974
1974
  };
1975
1975
  }
1976
1976
  function sf(e = 1e3, a = {}) {
1977
- const { controls: t = !1, callback: n } = a, o = jr(n ?? tf, e, a), r = h(() => !o.isPending.value);
1977
+ const { controls: t = !1, callback: n } = a, o = Ur(n ?? tf, e, a), r = h(() => !o.isPending.value);
1978
1978
  return t ? {
1979
1979
  ready: r,
1980
1980
  ...o
@@ -2014,7 +2014,7 @@ function Rt(...e) {
2014
2014
  }, { flush: "post" });
2015
2015
  }
2016
2016
  // @__NO_SIDE_EFFECTS__
2017
- function Ur() {
2017
+ function Gr() {
2018
2018
  const e = Nt(!1), a = _t();
2019
2019
  return a && Ae(() => {
2020
2020
  e.value = !0;
@@ -2022,13 +2022,13 @@ function Ur() {
2022
2022
  }
2023
2023
  // @__NO_SIDE_EFFECTS__
2024
2024
  function df(e) {
2025
- const a = /* @__PURE__ */ Ur();
2025
+ const a = /* @__PURE__ */ Gr();
2026
2026
  return h(() => (a.value, !!e()));
2027
2027
  }
2028
2028
  function cf(e) {
2029
2029
  return typeof e == "function" ? e : typeof e == "string" ? (a) => a.key === e : Array.isArray(e) ? (a) => e.includes(a.key) : () => !0;
2030
2030
  }
2031
- function Gr(...e) {
2031
+ function Yr(...e) {
2032
2032
  let a, t, n = {};
2033
2033
  e.length === 3 ? (a = e[0], t = e[1], n = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (a = !0, t = e[0], n = e[1]) : (a = e[0], t = e[1]) : (a = !0, t = e[0]);
2034
2034
  const { target: o = fn, eventName: r = "keydown", passive: i = !1, dedupe: s = !1 } = n, u = cf(a);
@@ -2124,8 +2124,8 @@ function ze(e, a, t, n = {}) {
2124
2124
  }
2125
2125
  });
2126
2126
  }
2127
- function Yr(e) {
2128
- return e ? e.flatMap((a) => a.type === de ? Yr(a.children) : [a]) : [];
2127
+ function Xr(e) {
2128
+ return e ? e.flatMap((a) => a.type === de ? Xr(a.children) : [a]) : [];
2129
2129
  }
2130
2130
  const mf = ["INPUT", "TEXTAREA"];
2131
2131
  function lr(e, a, t, n = {}) {
@@ -2204,21 +2204,21 @@ var hf = /* @__PURE__ */ A({
2204
2204
  }), (s, u) => k(s.$slots, "default");
2205
2205
  }
2206
2206
  }), xs = hf;
2207
- const Je = /* @__PURE__ */ ct({
2207
+ const Je = /* @__PURE__ */ ft({
2208
2208
  layersRoot: /* @__PURE__ */ new Set(),
2209
2209
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
2210
2210
  originalBodyPointerEvents: void 0,
2211
2211
  branches: /* @__PURE__ */ new Set()
2212
- }), _s = "@synopkgland/modal-scope", Yl = "@synopkgland/app-root", Xr = "Simultaneous app-local and document overlays are unsupported", Xl = /* @__PURE__ */ new WeakMap();
2212
+ }), _s = "@synopkgland/modal-scope", Xl = "@synopkgland/app-root", Zr = "Simultaneous app-local and document overlays are unsupported", Zl = /* @__PURE__ */ new WeakMap();
2213
2213
  function Qa(e) {
2214
- let a = Xl.get(e);
2215
- return a || (a = { local: /* @__PURE__ */ new Set(), document: /* @__PURE__ */ new Set() }, Xl.set(e, a)), a;
2214
+ let a = Zl.get(e);
2215
+ return a || (a = { local: /* @__PURE__ */ new Set(), document: /* @__PURE__ */ new Set() }, Zl.set(e, a)), a;
2216
2216
  }
2217
- function st() {
2217
+ function ut() {
2218
2218
  return Xe(_s, null);
2219
2219
  }
2220
2220
  function Un() {
2221
- if (typeof document < "u" && Qa(document).local.size) throw new Error(Xr);
2221
+ if (typeof document < "u" && Qa(document).local.size) throw new Error(Zr);
2222
2222
  }
2223
2223
  function gf(e) {
2224
2224
  const a = {};
@@ -2234,11 +2234,11 @@ function bf(e, a) {
2234
2234
  me([e, a], ([n, o], r, i) => {
2235
2235
  if (!n || !o) return;
2236
2236
  const s = Qa(n.ownerDocument);
2237
- if (s.local.size) throw new Error(Xr);
2237
+ if (s.local.size) throw new Error(Zr);
2238
2238
  s.document.add(t), i(() => s.document.delete(t));
2239
2239
  }, { immediate: !0, flush: "sync" });
2240
2240
  }
2241
- function Zl(e, a, t) {
2241
+ function Jl(e, a, t) {
2242
2242
  const n = e.getAttribute(a);
2243
2243
  return e.setAttribute(a, t), () => {
2244
2244
  e.getAttribute(a) === t && (n === null ? e.removeAttribute(a) : e.setAttribute(a, n));
@@ -2338,7 +2338,7 @@ class wf {
2338
2338
  me([a, t, n], ([r, i, s], u, d) => {
2339
2339
  if (!r || !i || this.disposed) return;
2340
2340
  const c = Qa(r.ownerDocument);
2341
- if (c.document.size) throw new Error(Xr);
2341
+ if (c.document.size) throw new Error(Zr);
2342
2342
  const p = { element: r, modal: s, emits: o };
2343
2343
  c.local.add(this), this.layers.push(p);
2344
2344
  const v = r.closest("[data-reka-popper-content-wrapper]") ?? r, m = String(1401 + this.layers.length * 2), y = v.hasAttribute("data-reka-popper-content-wrapper") ? xf(v, "--ui-local-layer-z", m) : Vo(v, "z-index", m), _ = r.previousElementSibling, x = s && _?.getAttribute("data-ui-overlay") === "" ? Vo(_, "z-index", String(1400 + this.layers.length * 2)) : void 0;
@@ -2382,7 +2382,7 @@ class wf {
2382
2382
  n.has(o) || (r(), this.hidden.delete(o));
2383
2383
  for (const o of n) {
2384
2384
  if (this.hidden.has(o)) continue;
2385
- const r = Zl(o, "inert", ""), i = Zl(o, "aria-hidden", "true");
2385
+ const r = Jl(o, "inert", ""), i = Jl(o, "aria-hidden", "true");
2386
2386
  this.hidden.set(o, () => {
2387
2387
  r(), i();
2388
2388
  });
@@ -2494,7 +2494,7 @@ const ws = kf(), Cf = /* @__PURE__ */ gs(() => {
2494
2494
  }), o = aa({ scrollBody: D(!0) });
2495
2495
  let r = null;
2496
2496
  const i = () => {
2497
- a?.(), a = void 0, Gl && r?.();
2497
+ a?.(), a = void 0, Yl && r?.();
2498
2498
  };
2499
2499
  return me(n, (s, u) => {
2500
2500
  if (!yt) return;
@@ -2516,7 +2516,7 @@ const ws = kf(), Cf = /* @__PURE__ */ gs(() => {
2516
2516
  padding: 0,
2517
2517
  margin: 0
2518
2518
  };
2519
- _ > 0 && (document.body.style.paddingRight = typeof b.padding == "number" ? `${b.padding}px` : String(b.padding), document.body.style.marginRight = typeof b.margin == "number" ? `${b.margin}px` : String(b.margin), document.documentElement.style.setProperty("--scrollbar-width", `${_}px`), document.body.style.overflow = "hidden"), Gl && (r = Rt(document, "touchmove", ($) => Sf($), { passive: !1 })), Pe(() => {
2519
+ _ > 0 && (document.body.style.paddingRight = typeof b.padding == "number" ? `${b.padding}px` : String(b.padding), document.body.style.marginRight = typeof b.margin == "number" ? `${b.margin}px` : String(b.margin), document.documentElement.style.setProperty("--scrollbar-width", `${_}px`), document.body.style.overflow = "hidden"), Yl && (r = Rt(document, "touchmove", ($) => Sf($), { passive: !1 })), Pe(() => {
2520
2520
  n.value && (document.body.style.pointerEvents = "none", document.body.style.overflow = "hidden");
2521
2521
  });
2522
2522
  }, {
@@ -2525,7 +2525,7 @@ const ws = kf(), Cf = /* @__PURE__ */ gs(() => {
2525
2525
  }), e;
2526
2526
  });
2527
2527
  function pn(e) {
2528
- if (st()) return D(e ?? !1);
2528
+ if (ut()) return D(e ?? !1);
2529
2529
  e && Un();
2530
2530
  const a = Math.random().toString(36).substring(2, 7), t = Cf();
2531
2531
  t.value.set(a, e ?? !1);
@@ -2576,17 +2576,17 @@ function Cs(e) {
2576
2576
  handleCompositionEnd: s
2577
2577
  };
2578
2578
  }
2579
- function Ot(e, a = zr()) {
2580
- return Zr(e) ? e.toDate() : e.toDate(a);
2579
+ function Ot(e, a = Nr()) {
2580
+ return Jr(e) ? e.toDate() : e.toDate(a);
2581
2581
  }
2582
2582
  function Af(e) {
2583
2583
  return e instanceof ss;
2584
2584
  }
2585
- function Zr(e) {
2585
+ function Jr(e) {
2586
2586
  return e instanceof $c;
2587
2587
  }
2588
2588
  function Pf(e) {
2589
- return Af(e) || Zr(e);
2589
+ return Af(e) || Jr(e);
2590
2590
  }
2591
2591
  function $a(e) {
2592
2592
  if (e instanceof Date) {
@@ -2601,11 +2601,11 @@ function zo(e, a) {
2601
2601
  return e.compare(a) > 0;
2602
2602
  }
2603
2603
  function Tf(e, a, t) {
2604
- const n = Nr(e, t, "sun");
2604
+ const n = Kr(e, t, "sun");
2605
2605
  return a > n ? e.subtract({ days: n + 7 - a }) : a === n ? e : e.subtract({ days: n - a });
2606
2606
  }
2607
2607
  function Df(e, a, t) {
2608
- const n = Nr(e, t, "sun"), o = a === 0 ? 6 : a - 1;
2608
+ const n = Kr(e, t, "sun"), o = a === 0 ? 6 : a - 1;
2609
2609
  return n === o ? e : n > o ? e.add({ days: 7 - n + o }) : e.add({ days: o - n });
2610
2610
  }
2611
2611
  function Ss(e) {
@@ -2618,7 +2618,7 @@ function Ss(e) {
2618
2618
  "minute",
2619
2619
  "second"
2620
2620
  ], c = new zt(o), p = Sc(c.resolvedOptions().calendar);
2621
- return d.includes(n ?? "day") ? Wl(new ss(i, s, u, 0, 0, 0), p) : Wl(new us(i, s, u), p);
2621
+ return d.includes(n ?? "day") ? Hl(new ss(i, s, u, 0, 0, 0), p) : Hl(new us(i, s, u), p);
2622
2622
  }
2623
2623
  function Bf(e, a) {
2624
2624
  const t = [];
@@ -2633,7 +2633,7 @@ function $s(e) {
2633
2633
  const n = e.querySelector("[data-value]:not([data-outside-view]):not([data-disabled])");
2634
2634
  if (n) return n.focus();
2635
2635
  }
2636
- function Jl(e, a) {
2636
+ function Ql(e, a) {
2637
2637
  const t = [];
2638
2638
  let n = e.add({ days: 1 });
2639
2639
  const o = a;
@@ -2642,11 +2642,11 @@ function Jl(e, a) {
2642
2642
  return t;
2643
2643
  }
2644
2644
  function No(e) {
2645
- const { dateObj: a, weekStartsOn: t, fixedWeeks: n, locale: o } = e, r = $a(a), i = Array.from({ length: r }, (x, b) => a.set({ day: b + 1 })), s = Ec(a), u = Hl(a), d = Tf(s, t, o), c = Df(u, t, o), p = Jl(d.subtract({ days: 1 }), s), v = Jl(u, c.add({ days: 1 })), m = p.length + i.length + v.length;
2645
+ const { dateObj: a, weekStartsOn: t, fixedWeeks: n, locale: o } = e, r = $a(a), i = Array.from({ length: r }, (x, b) => a.set({ day: b + 1 })), s = Ec(a), u = jl(a), d = Tf(s, t, o), c = Df(u, t, o), p = Ql(d.subtract({ days: 1 }), s), v = Ql(u, c.add({ days: 1 })), m = p.length + i.length + v.length;
2646
2646
  if (n && m < 42) {
2647
2647
  const x = 42 - m;
2648
2648
  let b = v.at(-1);
2649
- b || (b = Hl(a));
2649
+ b || (b = jl(a));
2650
2650
  const $ = Array.from({ length: x }, (C, S) => {
2651
2651
  const q = S + 1;
2652
2652
  return b.add({ days: q });
@@ -2682,7 +2682,7 @@ function da(e) {
2682
2682
  }
2683
2683
  function Es(e) {
2684
2684
  const a = new us(2025, 1, 6);
2685
- return (1 - Nr(a, e) + 7) % 7;
2685
+ return (1 - Kr(a, e) + 7) % 7;
2686
2686
  }
2687
2687
  function Of(e, a = {}) {
2688
2688
  const t = D(e);
@@ -2720,7 +2720,7 @@ function Of(e, a = {}) {
2720
2720
  }).format(x);
2721
2721
  }
2722
2722
  function d() {
2723
- const x = qc(zr());
2723
+ const x = qc(Nr());
2724
2724
  return [
2725
2725
  1,
2726
2726
  2,
@@ -2747,7 +2747,7 @@ function Of(e, a = {}) {
2747
2747
  }).format(x);
2748
2748
  }
2749
2749
  function p(x, b) {
2750
- return Zr(x) ? new zt(t.value, {
2750
+ return Jr(x) ? new zt(t.value, {
2751
2751
  ...a,
2752
2752
  ...b,
2753
2753
  timeZone: x.timeZone
@@ -2803,7 +2803,7 @@ function Of(e, a = {}) {
2803
2803
  getMonths: d
2804
2804
  };
2805
2805
  }
2806
- function ut(e) {
2806
+ function dt(e) {
2807
2807
  const a = aa({ dir: D("ltr") });
2808
2808
  return h(() => e?.value || a.dir?.value || "ltr");
2809
2809
  }
@@ -2834,15 +2834,15 @@ function If(e) {
2834
2834
  }
2835
2835
  let Ko = 0;
2836
2836
  function io() {
2837
- st() || lt((e) => {
2837
+ ut() || lt((e) => {
2838
2838
  if (!yt) return;
2839
2839
  const a = document.querySelectorAll("[data-reka-focus-guard]");
2840
- document.body.insertAdjacentElement("afterbegin", a[0] ?? Ql()), document.body.insertAdjacentElement("beforeend", a[1] ?? Ql()), Ko++, e(() => {
2840
+ document.body.insertAdjacentElement("afterbegin", a[0] ?? ei()), document.body.insertAdjacentElement("beforeend", a[1] ?? ei()), Ko++, e(() => {
2841
2841
  Ko === 1 && document.querySelectorAll("[data-reka-focus-guard]").forEach((t) => t.remove()), Ko--;
2842
2842
  });
2843
2843
  });
2844
2844
  }
2845
- function Ql() {
2845
+ function ei() {
2846
2846
  const e = document.createElement("span");
2847
2847
  return e.setAttribute("data-reka-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
2848
2848
  }
@@ -2851,7 +2851,7 @@ function Gt(e) {
2851
2851
  }
2852
2852
  function pe() {
2853
2853
  const e = _t(), a = D(), t = h(() => n());
2854
- Or(() => {
2854
+ Ir(() => {
2855
2855
  t.value !== n() && Hd(a);
2856
2856
  });
2857
2857
  function n() {
@@ -2909,7 +2909,7 @@ function Yt(e) {
2909
2909
  }).reduce((i, s) => (n.value[s] !== void 0 && (i[s] = n.value[s]), i), {});
2910
2910
  });
2911
2911
  }
2912
- function dt(e, a) {
2912
+ function ct(e, a) {
2913
2913
  const t = Yt(e), n = a ? Ut(a) : {};
2914
2914
  return h(() => ({
2915
2915
  ...t.value,
@@ -2921,7 +2921,7 @@ function Ma() {
2921
2921
  return e ? { [e]: "" } : {};
2922
2922
  }
2923
2923
  function Rf(e, a) {
2924
- const t = Hr(!1, 300);
2924
+ const t = jr(!1, 300);
2925
2925
  ga(() => {
2926
2926
  t.value = !1;
2927
2927
  });
@@ -3127,7 +3127,7 @@ var Kf = function(e) {
3127
3127
  };
3128
3128
  };
3129
3129
  function vn(e) {
3130
- if (st()) return;
3130
+ if (ut()) return;
3131
3131
  let a;
3132
3132
  me(() => $t(e), (t) => {
3133
3133
  let n = !1;
@@ -3136,7 +3136,7 @@ function vn(e) {
3136
3136
  } catch {
3137
3137
  }
3138
3138
  t && !n ? a = jf(t) : a && a();
3139
- }), pt(() => {
3139
+ }), vt(() => {
3140
3140
  a && a();
3141
3141
  });
3142
3142
  }
@@ -3145,7 +3145,7 @@ function Ue(e, a = "reka") {
3145
3145
  if (e) return e;
3146
3146
  let t;
3147
3147
  const n = aa({ useId: void 0 });
3148
- return n.useId ? t = n.useId() : "useId" in zl ? t = zl.useId?.() : t = `${++Uf}`, a ? `${a}-${t}` : t;
3148
+ return n.useId ? t = n.useId() : "useId" in Nl ? t = Nl.useId?.() : t = `${++Uf}`, a ? `${a}-${t}` : t;
3149
3149
  }
3150
3150
  function As() {
3151
3151
  return {
@@ -3250,7 +3250,7 @@ function Ts(e) {
3250
3250
  height: d
3251
3251
  };
3252
3252
  }), o.observe(r, { box: "border-box" })) : a.value = void 0;
3253
- }), pt(() => {
3253
+ }), vt(() => {
3254
3254
  o?.disconnect(), o = void 0;
3255
3255
  }), {
3256
3256
  width: t,
@@ -3270,7 +3270,7 @@ function Yf(e, a) {
3270
3270
  };
3271
3271
  }
3272
3272
  function mn(e) {
3273
- const a = Hr("", 1e3);
3273
+ const a = jr("", 1e3);
3274
3274
  return {
3275
3275
  search: a,
3276
3276
  handleTypeaheadSearch: (o, r) => {
@@ -3345,7 +3345,7 @@ function Jf(e, a) {
3345
3345
  const x = Bn(a.value);
3346
3346
  n.value = u.value === "mounted" ? x : "none";
3347
3347
  });
3348
- return pt(() => {
3348
+ return vt(() => {
3349
3349
  m(), y(), a.value && (a.value.removeEventListener("animationstart", v), a.value.removeEventListener("animationcancel", p), a.value.removeEventListener("animationend", p)), i !== void 0 && s?.clearTimeout(i);
3350
3350
  }), { isPresent: h(() => ["mounted", "unmountSuspended"].includes(u.value)) };
3351
3351
  }
@@ -3366,7 +3366,7 @@ var gt = /* @__PURE__ */ A({
3366
3366
  const { present: n, forceMount: o } = Le(e), r = D(), { isPresent: i } = Jf(n, r);
3367
3367
  t({ present: i });
3368
3368
  let s = a.default({ present: i.value });
3369
- s = Yr(s || []);
3369
+ s = Xr(s || []);
3370
3370
  const u = _t();
3371
3371
  if (s && s?.length > 1) {
3372
3372
  const d = u?.parent?.type.name ? `<${u.parent.type.name} />` : "component";
@@ -3392,7 +3392,7 @@ const sr = /* @__PURE__ */ A({
3392
3392
  setup(e, { attrs: a, slots: t }) {
3393
3393
  return () => {
3394
3394
  if (!t.default) return null;
3395
- const n = Yr(t.default()), o = n.findIndex((u) => u.type !== Qi);
3395
+ const n = Xr(t.default()), o = n.findIndex((u) => u.type !== Qi);
3396
3396
  if (o === -1) return n;
3397
3397
  const r = n[o];
3398
3398
  delete r.props?.ref;
@@ -3700,7 +3700,7 @@ var cp = /* @__PURE__ */ A({
3700
3700
  },
3701
3701
  emits: ["update:modelValue"],
3702
3702
  setup(e, { emit: a }) {
3703
- const t = e, n = a, { dir: o, disabled: r, unmountOnHide: i } = Le(t), s = ut(o), { modelValue: u, changeModelValue: d, isSingle: c } = Bs(t, n), { forwardRef: p, currentElement: v } = pe();
3703
+ const t = e, n = a, { dir: o, disabled: r, unmountOnHide: i } = Le(t), s = dt(o), { modelValue: u, changeModelValue: d, isSingle: c } = Bs(t, n), { forwardRef: p, currentElement: v } = pe();
3704
3704
  return dp({
3705
3705
  disabled: r,
3706
3706
  direction: s,
@@ -3723,7 +3723,7 @@ var cp = /* @__PURE__ */ A({
3723
3723
  }), fp = cp, ur = /* @__PURE__ */ (function(e) {
3724
3724
  return e.Open = "open", e.Closed = "closed", e;
3725
3725
  })(ur || {});
3726
- const [Jr, pp] = /* @__PURE__ */ Oe("AccordionItem");
3726
+ const [Qr, pp] = /* @__PURE__ */ Oe("AccordionItem");
3727
3727
  var vp = /* @__PURE__ */ A({
3728
3728
  __name: "AccordionItem",
3729
3729
  props: {
@@ -3823,7 +3823,7 @@ var vp = /* @__PURE__ */ A({
3823
3823
  }
3824
3824
  },
3825
3825
  setup(e) {
3826
- const a = e, t = so(), n = Jr();
3826
+ const a = e, t = so(), n = Qr();
3827
3827
  return pe(), (o, r) => (f(), E(l(op), {
3828
3828
  role: "region",
3829
3829
  "as-child": a.asChild,
@@ -3865,7 +3865,7 @@ var vp = /* @__PURE__ */ A({
3865
3865
  }
3866
3866
  },
3867
3867
  setup(e) {
3868
- const a = e, t = so(), n = Jr();
3868
+ const a = e, t = so(), n = Qr();
3869
3869
  return pe(), (o, r) => (f(), E(l(he), {
3870
3870
  as: a.as,
3871
3871
  "as-child": a.asChild,
@@ -3896,7 +3896,7 @@ var vp = /* @__PURE__ */ A({
3896
3896
  }
3897
3897
  },
3898
3898
  setup(e) {
3899
- const a = e, t = so(), n = Jr();
3899
+ const a = e, t = so(), n = Qr();
3900
3900
  n.triggerId ||= Ue(void 0, "reka-accordion-trigger");
3901
3901
  function o() {
3902
3902
  const r = t.isSingle.value && n.open.value && !t.collapsible;
@@ -4100,7 +4100,7 @@ var Ap = /* @__PURE__ */ A({
4100
4100
  "dismiss"
4101
4101
  ],
4102
4102
  setup(e, { emit: a }) {
4103
- const t = e, n = a, { forwardRef: o, currentElement: r } = pe(), i = st();
4103
+ const t = e, n = a, { forwardRef: o, currentElement: r } = pe(), i = ut();
4104
4104
  if (i)
4105
4105
  return i.layer(r, () => t.present, () => t.disableOutsidePointerEvents, n), (y) => St(he, { ref: o, as: t.as, asChild: t.asChild, "data-dismissable-layer": "" }, y.$slots);
4106
4106
  t.present && Un(), bf(r, () => t.present);
@@ -4114,7 +4114,7 @@ var Ap = /* @__PURE__ */ A({
4114
4114
  const _ = [...Je.branches].some((x) => x?.contains(y.target));
4115
4115
  !t.present || _ || (n("focusOutside", y), n("interactOutside", y), y.defaultPrevented || n("dismiss"));
4116
4116
  }, r);
4117
- return Gr("Escape", (y) => {
4117
+ return Yr("Escape", (y) => {
4118
4118
  !t.present || !(d.value === u.value.size - 1) || (n("escapeKeyDown", y), y.defaultPrevented || n("dismiss"));
4119
4119
  }), me([
4120
4120
  r,
@@ -4166,13 +4166,13 @@ var Ap = /* @__PURE__ */ A({
4166
4166
  }
4167
4167
  },
4168
4168
  setup(e) {
4169
- const a = e, { forwardRef: t, currentElement: n } = pe(), o = st();
4169
+ const a = e, { forwardRef: t, currentElement: n } = pe(), o = ut();
4170
4170
  if (o)
4171
4171
  return o.branch(n), (i) => St(he, { ref: t, ...a }, i.$slots);
4172
4172
  let r = null;
4173
4173
  return Ae(() => {
4174
4174
  r = n.value, r && Je.branches.add(r);
4175
- }), pt(() => {
4175
+ }), vt(() => {
4176
4176
  r && (Je.branches.delete(r), r = null);
4177
4177
  }), (i, s) => (f(), E(l(he), ee({ ref: l(t) }, a), {
4178
4178
  default: w(() => [k(i.$slots, "default")]),
@@ -4186,18 +4186,18 @@ function Bp() {
4186
4186
  return {
4187
4187
  add(a) {
4188
4188
  const t = e.value[0];
4189
- a !== t && t?.pause(), e.value = ei(e.value, a), e.value.unshift(a);
4189
+ a !== t && t?.pause(), e.value = ti(e.value, a), e.value.unshift(a);
4190
4190
  },
4191
4191
  remove(a) {
4192
- e.value = ei(e.value, a), e.value[0]?.resume();
4192
+ e.value = ti(e.value, a), e.value[0]?.resume();
4193
4193
  }
4194
4194
  };
4195
4195
  }
4196
- function ei(e, a) {
4196
+ function ti(e, a) {
4197
4197
  const t = [...e], n = t.indexOf(a);
4198
4198
  return n !== -1 && t.splice(n, 1), t;
4199
4199
  }
4200
- const Ho = "focusScope.autoFocusOnMount", jo = "focusScope.autoFocusOnUnmount", ti = {
4200
+ const Ho = "focusScope.autoFocusOnMount", jo = "focusScope.autoFocusOnUnmount", ai = {
4201
4201
  bubbles: !1,
4202
4202
  cancelable: !0
4203
4203
  };
@@ -4207,10 +4207,10 @@ function zn(e, { select: a = !1 } = {}) {
4207
4207
  if (Jt(n, { select: a }), We() !== t) return !0;
4208
4208
  }
4209
4209
  function Op(e) {
4210
- const a = Qr(e), t = ai(a, e), n = ai(a.reverse(), e);
4210
+ const a = el(e), t = ni(a, e), n = ni(a.reverse(), e);
4211
4211
  return [t, n];
4212
4212
  }
4213
- function Qr(e) {
4213
+ function el(e) {
4214
4214
  const a = [], t = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (n) => {
4215
4215
  const o = n.tagName === "INPUT" && n.type === "hidden";
4216
4216
  return n.disabled || n.hidden || o ? NodeFilter.FILTER_SKIP : n.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
@@ -4218,7 +4218,7 @@ function Qr(e) {
4218
4218
  for (; t.nextNode(); ) a.push(t.currentNode);
4219
4219
  return a;
4220
4220
  }
4221
- function ai(e, a) {
4221
+ function ni(e, a) {
4222
4222
  for (const t of e) if (!Ip(t, { upTo: a })) return t;
4223
4223
  }
4224
4224
  function Ip(e, { upTo: a }) {
@@ -4268,10 +4268,10 @@ var Mp = /* @__PURE__ */ A({
4268
4268
  },
4269
4269
  emits: ["mountAutoFocus", "unmountAutoFocus"],
4270
4270
  setup(e, { emit: a }) {
4271
- const t = e, n = a, { currentRef: o, currentElement: r } = pe(), i = st();
4271
+ const t = e, n = a, { currentRef: o, currentElement: r } = pe(), i = ut();
4272
4272
  if (i)
4273
4273
  return i.focusScope(r, () => t.present, () => t.trapped, n), (v) => St(he, { ref: o, as: t.as, asChild: t.asChild, tabindex: "-1" }, v.$slots);
4274
- const s = D(null), u = Bp(), d = /* @__PURE__ */ ct({
4274
+ const s = D(null), u = Bp(), d = /* @__PURE__ */ ft({
4275
4275
  paused: !1,
4276
4276
  pause() {
4277
4277
  this.paused = !0;
@@ -4311,8 +4311,8 @@ var Mp = /* @__PURE__ */ A({
4311
4311
  });
4312
4312
  });
4313
4313
  function c(v, m) {
4314
- const y = new CustomEvent(Ho, ti), _ = (x) => n("mountAutoFocus", x);
4315
- v.addEventListener(Ho, _), v.dispatchEvent(y), v.removeEventListener(Ho, _), y.defaultPrevented || (zn(Qr(v), { select: !0 }), We() === m && Jt(v));
4314
+ const y = new CustomEvent(Ho, ai), _ = (x) => n("mountAutoFocus", x);
4315
+ v.addEventListener(Ho, _), v.dispatchEvent(y), v.removeEventListener(Ho, _), y.defaultPrevented || (zn(el(v), { select: !0 }), We() === m && Jt(v));
4316
4316
  }
4317
4317
  lt(async (v) => {
4318
4318
  const m = r.value;
@@ -4320,7 +4320,7 @@ var Mp = /* @__PURE__ */ A({
4320
4320
  t.present !== !1 && u.add(d);
4321
4321
  const y = We();
4322
4322
  !m.contains(y) && t.present !== !1 && c(m, y), v(() => {
4323
- const x = new CustomEvent(jo, ti), b = ($) => {
4323
+ const x = new CustomEvent(jo, ai), b = ($) => {
4324
4324
  n("unmountAutoFocus", $);
4325
4325
  };
4326
4326
  m.addEventListener(jo, b), m.dispatchEvent(x), m.setAttribute("data-focus-scope-unmounting", ""), setTimeout(() => {
@@ -4376,13 +4376,13 @@ const Vp = "menu.itemSelect", dr = ["Enter", " "], Lp = [
4376
4376
  ltr: ["ArrowLeft"],
4377
4377
  rtl: ["ArrowRight"]
4378
4378
  };
4379
- function el(e) {
4379
+ function tl(e) {
4380
4380
  return e ? "open" : "closed";
4381
4381
  }
4382
4382
  function Gn(e) {
4383
4383
  return e === "indeterminate";
4384
4384
  }
4385
- function tl(e) {
4385
+ function al(e) {
4386
4386
  return Gn(e) ? "indeterminate" : e ? "checked" : "unchecked";
4387
4387
  }
4388
4388
  function cr(e) {
@@ -4460,7 +4460,7 @@ var Gp = /* @__PURE__ */ A({
4460
4460
  "closeAutoFocus"
4461
4461
  ],
4462
4462
  setup(e, { emit: a }) {
4463
- const t = e, n = a, o = Ft(), r = st(), { forwardRef: i, currentElement: s } = pe();
4463
+ const t = e, n = a, o = Ft(), r = ut(), { forwardRef: i, currentElement: s } = pe();
4464
4464
  return o.titleId ||= Ue(void 0, "reka-dialog-title"), o.descriptionId ||= Ue(void 0, "reka-dialog-description"), Ae(() => {
4465
4465
  o.contentElement = s, We() !== document.body && (!r || r.canFocus()) && (o.triggerElement.value = We());
4466
4466
  }), process.env.NODE_ENV !== "production" && Up({
@@ -4488,7 +4488,7 @@ var Gp = /* @__PURE__ */ A({
4488
4488
  role: "dialog",
4489
4489
  "aria-describedby": l(o).descriptionId,
4490
4490
  "aria-labelledby": l(o).titleId,
4491
- "data-state": l(el)(l(o).open.value)
4491
+ "data-state": l(tl)(l(o).open.value)
4492
4492
  }, u.$attrs, {
4493
4493
  onDismiss: d[0] || (d[0] = (c) => l(o).onOpenChange(!1)),
4494
4494
  onEscapeKeyDown: d[1] || (d[1] = (c) => n("escapeKeyDown", c)),
@@ -4549,7 +4549,7 @@ var Gp = /* @__PURE__ */ A({
4549
4549
  "closeAutoFocus"
4550
4550
  ],
4551
4551
  setup(e, { emit: a }) {
4552
- const t = e, n = a, o = Ft(), r = st(), i = Ut(n), { forwardRef: s, currentElement: u } = pe(), d = h(() => t.present ? u.value : void 0);
4552
+ const t = e, n = a, o = Ft(), r = ut(), i = Ut(n), { forwardRef: s, currentElement: u } = pe(), d = h(() => t.present ? u.value : void 0);
4553
4553
  vn(d);
4554
4554
  const c = h(() => {
4555
4555
  const { present: p, ...v } = t;
@@ -4831,7 +4831,7 @@ var Gp = /* @__PURE__ */ A({
4831
4831
  }
4832
4832
  },
4833
4833
  setup(e) {
4834
- const a = e, t = aa({}), n = h(() => a.to ?? t.teleportTo?.value ?? "body"), o = /* @__PURE__ */ Ur();
4834
+ const a = e, t = aa({}), n = h(() => a.to ?? t.teleportTo?.value ?? "body"), o = /* @__PURE__ */ Gr();
4835
4835
  return (r, i) => l(o) || r.forceMount ? (f(), E(sn, {
4836
4836
  key: 0,
4837
4837
  to: n.value,
@@ -4927,7 +4927,7 @@ var Gp = /* @__PURE__ */ A({
4927
4927
  ]));
4928
4928
  }
4929
4929
  }), Ws = iv;
4930
- const ni = "data-reka-collection-item";
4930
+ const oi = "data-reka-collection-item";
4931
4931
  function ot(e = {}) {
4932
4932
  const { key: a = "", isProvider: t = !1 } = e, n = `${a}CollectionProvider`;
4933
4933
  let o;
@@ -4945,7 +4945,7 @@ function ot(e = {}) {
4945
4945
  }, i = (p = !1) => {
4946
4946
  const v = o.collectionRef.value;
4947
4947
  if (!v) return [];
4948
- const m = Array.from(v.querySelectorAll(`[${ni}]`)), y = new Map(m.map((b, $) => [b, $])), x = Array.from(o.itemMap.value.values()).sort((b, $) => (y.get(b.ref) ?? -1) - (y.get($.ref) ?? -1));
4948
+ const m = Array.from(v.querySelectorAll(`[${oi}]`)), y = new Map(m.map((b, $) => [b, $])), x = Array.from(o.itemMap.value.values()).sort((b, $) => (y.get(b.ref) ?? -1) - (y.get($.ref) ?? -1));
4949
4949
  return p ? x : x.filter((b) => b.ref.dataset.disabled !== "");
4950
4950
  }, s = /* @__PURE__ */ A({
4951
4951
  name: "CollectionSlot",
@@ -4975,7 +4975,7 @@ function ot(e = {}) {
4975
4975
  }
4976
4976
  }), () => St(sr, {
4977
4977
  ...m,
4978
- [ni]: "",
4978
+ [oi]: "",
4979
4979
  ref: y
4980
4980
  }, v);
4981
4981
  }
@@ -5088,7 +5088,7 @@ var sv = /* @__PURE__ */ A({
5088
5088
  ...r.$attrs
5089
5089
  }, { as: "input" }), null, 16));
5090
5090
  }
5091
- }), oi = uv, dv = /* @__PURE__ */ A({
5091
+ }), ri = uv, dv = /* @__PURE__ */ A({
5092
5092
  inheritAttrs: !1,
5093
5093
  __name: "VisuallyHiddenInput",
5094
5094
  props: {
@@ -5133,13 +5133,13 @@ var sv = /* @__PURE__ */ A({
5133
5133
  name: `${a.name}[${o}]`,
5134
5134
  value: r
5135
5135
  })) : []);
5136
- return (o, r) => (f(), g(de, null, [F(" We render single input if it's required "), t.value ? (f(), E(oi, ee({ key: o.name }, {
5136
+ return (o, r) => (f(), g(de, null, [F(" We render single input if it's required "), t.value ? (f(), E(ri, ee({ key: o.name }, {
5137
5137
  ...a,
5138
5138
  ...o.$attrs
5139
5139
  }, {
5140
5140
  name: o.name,
5141
5141
  value: o.value
5142
- }), null, 16, ["name", "value"])) : (f(!0), g(de, { key: 1 }, Ce(n.value, (i) => (f(), E(oi, ee({ key: i.name }, { ref_for: !0 }, {
5142
+ }), null, 16, ["name", "value"])) : (f(!0), g(de, { key: 1 }, Ce(n.value, (i) => (f(), E(ri, ee({ key: i.name }, { ref_for: !0 }, {
5143
5143
  ...a,
5144
5144
  ...o.$attrs
5145
5145
  }, {
@@ -5249,7 +5249,7 @@ var gv = /* @__PURE__ */ A({
5249
5249
  "leave"
5250
5250
  ],
5251
5251
  setup(e, { expose: a, emit: t }) {
5252
- const n = e, o = t, { multiple: r, highlightOnHover: i, orientation: s, disabled: u, selectionBehavior: d, dir: c } = Le(n), { getItems: p, getItem: v } = ot({ isProvider: !0 }), { handleTypeaheadSearch: m } = mn(), { primitiveElement: y, currentElement: _ } = Mt(), x = As(), b = ut(c), $ = hv(null);
5252
+ const n = e, o = t, { multiple: r, highlightOnHover: i, orientation: s, disabled: u, selectionBehavior: d, dir: c } = Le(n), { getItems: p, getItem: v } = ot({ isProvider: !0 }), { handleTypeaheadSearch: m } = mn(), { primitiveElement: y, currentElement: _ } = Mt(), x = As(), b = dt(c), $ = hv(null);
5253
5253
  Gs({
5254
5254
  suppressHighlightScroll: D(!1),
5255
5255
  onHighlightScrollRequest: () => {
@@ -5475,7 +5475,7 @@ var gv = /* @__PURE__ */ A({
5475
5475
  }
5476
5476
  },
5477
5477
  setup(e) {
5478
- const { CollectionSlot: a } = ot(), t = uo(), n = Hr(!1, 10);
5478
+ const { CollectionSlot: a } = ot(), t = uo(), n = jr(!1, 10);
5479
5479
  return (o, r) => (f(), E(l(a), null, {
5480
5480
  default: w(() => [B(l(he), {
5481
5481
  role: "listbox",
@@ -5553,7 +5553,7 @@ var gv = /* @__PURE__ */ A({
5553
5553
  r.focusable.value = !1, setTimeout(() => {
5554
5554
  t.autoFocus && s.value?.focus();
5555
5555
  }, 1);
5556
- }), pt(() => {
5556
+ }), vt(() => {
5557
5557
  r.focusable.value = !0;
5558
5558
  });
5559
5559
  const { isComposing: c, shouldDeferInput: p, handleCompositionStart: v, handleCompositionUpdate: m, handleCompositionEnd: y } = Cs((C) => {
@@ -5665,7 +5665,7 @@ var Pv = /* @__PURE__ */ A({
5665
5665
  ma(Ev, v, _);
5666
5666
  }
5667
5667
  return Av({ isSelected: c }), (y, _) => (f(), E(l(r), { value: y.value }, {
5668
- default: w(() => [Ir([
5668
+ default: w(() => [Rr([
5669
5669
  d.value,
5670
5670
  c.value,
5671
5671
  p.value,
@@ -5874,22 +5874,22 @@ function ta(e) {
5874
5874
  function Fa(e) {
5875
5875
  return e.split("-")[1];
5876
5876
  }
5877
- function al(e) {
5877
+ function nl(e) {
5878
5878
  return e === "x" ? "y" : "x";
5879
5879
  }
5880
- function nl(e) {
5880
+ function ol(e) {
5881
5881
  return e === "y" ? "height" : "width";
5882
5882
  }
5883
5883
  function It(e) {
5884
5884
  const a = e[0];
5885
5885
  return a === "t" || a === "b" ? "y" : "x";
5886
5886
  }
5887
- function ol(e) {
5888
- return al(It(e));
5887
+ function rl(e) {
5888
+ return nl(It(e));
5889
5889
  }
5890
5890
  function Hv(e, a, t) {
5891
5891
  t === void 0 && (t = !1);
5892
- const n = Fa(e), o = ol(e), r = nl(o);
5892
+ const n = Fa(e), o = rl(e), r = ol(o);
5893
5893
  let i = o === "x" ? n === (t ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
5894
5894
  return a.reference[r] > a.floating[r] && (i = Xn(i)), [i, Xn(i)];
5895
5895
  }
@@ -5900,12 +5900,12 @@ function jv(e) {
5900
5900
  function pr(e) {
5901
5901
  return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
5902
5902
  }
5903
- const ri = ["left", "right"], li = ["right", "left"], Uv = ["top", "bottom"], Gv = ["bottom", "top"];
5903
+ const li = ["left", "right"], ii = ["right", "left"], Uv = ["top", "bottom"], Gv = ["bottom", "top"];
5904
5904
  function Yv(e, a, t) {
5905
5905
  switch (e) {
5906
5906
  case "top":
5907
5907
  case "bottom":
5908
- return t ? a ? li : ri : a ? ri : li;
5908
+ return t ? a ? ii : li : a ? li : ii;
5909
5909
  case "left":
5910
5910
  case "right":
5911
5911
  return a ? Uv : Gv;
@@ -5957,12 +5957,12 @@ function Zn(e) {
5957
5957
  y: t
5958
5958
  };
5959
5959
  }
5960
- function ii(e, a, t) {
5960
+ function si(e, a, t) {
5961
5961
  let {
5962
5962
  reference: n,
5963
5963
  floating: o
5964
5964
  } = e;
5965
- const r = It(a), i = ol(a), s = nl(i), u = ta(a), d = r === "y", c = n.x + n.width / 2 - o.width / 2, p = n.y + n.height / 2 - o.height / 2, v = n[s] / 2 - o[s] / 2;
5965
+ const r = It(a), i = rl(a), s = ol(i), u = ta(a), d = r === "y", c = n.x + n.width / 2 - o.width / 2, p = n.y + n.height / 2 - o.height / 2, v = n[s] / 2 - o[s] / 2;
5966
5966
  let m;
5967
5967
  switch (u) {
5968
5968
  case "top":
@@ -6057,7 +6057,7 @@ const Qv = 50, em = async (e, a, t) => {
6057
6057
  }), {
6058
6058
  x: c,
6059
6059
  y: p
6060
- } = ii(d, n, u), v = n, m = 0;
6060
+ } = si(d, n, u), v = n, m = 0;
6061
6061
  const y = {};
6062
6062
  for (let _ = 0; _ < r.length; _++) {
6063
6063
  const x = r[_];
@@ -6095,7 +6095,7 @@ const Qv = 50, em = async (e, a, t) => {
6095
6095
  }) : O.rects), {
6096
6096
  x: c,
6097
6097
  y: p
6098
- } = ii(d, v, u)), _ = -1);
6098
+ } = si(d, v, u)), _ = -1);
6099
6099
  }
6100
6100
  return {
6101
6101
  x: c,
@@ -6125,7 +6125,7 @@ const Qv = 50, em = async (e, a, t) => {
6125
6125
  const p = Zs(c), v = {
6126
6126
  x: t,
6127
6127
  y: n
6128
- }, m = ol(o), y = nl(m), _ = await i.getDimensions(d), x = m === "y", b = x ? "top" : "left", $ = x ? "bottom" : "right", C = x ? "clientHeight" : "clientWidth", S = r.reference[y] + r.reference[m] - v[m] - r.floating[y], q = v[m] - r.reference[m], O = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
6128
+ }, m = rl(o), y = ol(m), _ = await i.getDimensions(d), x = m === "y", b = x ? "top" : "left", $ = x ? "bottom" : "right", C = x ? "clientHeight" : "clientWidth", S = r.reference[y] + r.reference[m] - v[m] - r.floating[y], q = v[m] - r.reference[m], O = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
6129
6129
  let T = O ? O[C] : 0;
6130
6130
  (!T || !await (i.isElement == null ? void 0 : i.isElement(O))) && (T = s.floating[C] || r.floating[y]);
6131
6131
  const I = S / 2 - q / 2, R = T / 2 - _[y] / 2 - 1, K = ea(p[b], R), P = ea(p[$], R), W = T - _[y] - P, U = T / 2 - _[y] / 2 + I, L = Xs(K, U, W), M = !u.arrow && Fa(o) != null && U !== L && r.reference[y] / 2 - (U < K ? K : P) - _[y] / 2 < 0, V = M ? U < K ? U - K : U - W : 0;
@@ -6223,7 +6223,7 @@ const Qv = 50, em = async (e, a, t) => {
6223
6223
  }
6224
6224
  };
6225
6225
  };
6226
- function si(e, a) {
6226
+ function ui(e, a) {
6227
6227
  return {
6228
6228
  top: e.top - a.height,
6229
6229
  right: e.right - a.width,
@@ -6231,7 +6231,7 @@ function si(e, a) {
6231
6231
  left: e.left - a.width
6232
6232
  };
6233
6233
  }
6234
- function ui(e) {
6234
+ function di(e) {
6235
6235
  return Kv.some((a) => e[a] >= 0);
6236
6236
  }
6237
6237
  const nm = function(e) {
@@ -6251,11 +6251,11 @@ const nm = function(e) {
6251
6251
  const i = await n.detectOverflow(a, {
6252
6252
  ...r,
6253
6253
  elementContext: "reference"
6254
- }), s = si(i, t.reference);
6254
+ }), s = ui(i, t.reference);
6255
6255
  return {
6256
6256
  data: {
6257
6257
  referenceHiddenOffsets: s,
6258
- referenceHidden: ui(s)
6258
+ referenceHidden: di(s)
6259
6259
  }
6260
6260
  };
6261
6261
  }
@@ -6263,11 +6263,11 @@ const nm = function(e) {
6263
6263
  const i = await n.detectOverflow(a, {
6264
6264
  ...r,
6265
6265
  altBoundary: !0
6266
- }), s = si(i, t.floating);
6266
+ }), s = ui(i, t.floating);
6267
6267
  return {
6268
6268
  data: {
6269
6269
  escapedOffsets: s,
6270
- escaped: ui(s)
6270
+ escaped: di(s)
6271
6271
  }
6272
6272
  };
6273
6273
  }
@@ -6355,7 +6355,7 @@ const rm = function(e) {
6355
6355
  } = jt(e, a), c = {
6356
6356
  x: t,
6357
6357
  y: n
6358
- }, p = await r.detectOverflow(a, d), v = It(o), m = al(v);
6358
+ }, p = await r.detectOverflow(a, d), v = It(o), m = nl(v);
6359
6359
  let y = c[m], _ = c[v];
6360
6360
  const x = ($, C) => Xs(C + p[$ === "y" ? "top" : "left"], C, C - p[$ === "y" ? "bottom" : "right"]);
6361
6361
  i && (y = x(m, y)), s && (_ = x(v, _));
@@ -6395,7 +6395,7 @@ const rm = function(e) {
6395
6395
  } = jt(e, a), v = {
6396
6396
  x: o,
6397
6397
  y: r
6398
- }, m = It(i), y = al(m);
6398
+ }, m = It(i), y = nl(m);
6399
6399
  let _ = v[y], x = v[m];
6400
6400
  const b = jt(d, a), $ = typeof b == "number" ? {
6401
6401
  mainAxis: b,
@@ -6459,7 +6459,7 @@ function co() {
6459
6459
  return typeof window < "u";
6460
6460
  }
6461
6461
  function xa(e) {
6462
- return rl(e) ? (e.nodeName || "").toLowerCase() : "#document";
6462
+ return ll(e) ? (e.nodeName || "").toLowerCase() : "#document";
6463
6463
  }
6464
6464
  function mt(e) {
6465
6465
  var a;
@@ -6467,9 +6467,9 @@ function mt(e) {
6467
6467
  }
6468
6468
  function Xt(e) {
6469
6469
  var a;
6470
- return (a = (rl(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : a.documentElement;
6470
+ return (a = (ll(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : a.documentElement;
6471
6471
  }
6472
- function rl(e) {
6472
+ function ll(e) {
6473
6473
  return co() ? e instanceof Node || e instanceof mt(e).Node : !1;
6474
6474
  }
6475
6475
  function Vt(e) {
@@ -6478,7 +6478,7 @@ function Vt(e) {
6478
6478
  function oa(e) {
6479
6479
  return co() ? e instanceof HTMLElement || e instanceof mt(e).HTMLElement : !1;
6480
6480
  }
6481
- function di(e) {
6481
+ function ci(e) {
6482
6482
  return !co() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof mt(e).ShadowRoot;
6483
6483
  }
6484
6484
  function fo(e) {
@@ -6507,14 +6507,14 @@ function po(e) {
6507
6507
  }
6508
6508
  const dm = /transform|translate|scale|rotate|perspective|filter/, cm = /paint|layout|strict|content/, ca = (e) => !!e && e !== "none";
6509
6509
  let Uo;
6510
- function ll(e) {
6510
+ function il(e) {
6511
6511
  const a = Vt(e) ? Lt(e) : e;
6512
- return ca(a.transform) || ca(a.translate) || ca(a.scale) || ca(a.rotate) || ca(a.perspective) || !il() && (ca(a.backdropFilter) || ca(a.filter)) || dm.test(a.willChange || "") || cm.test(a.contain || "");
6512
+ return ca(a.transform) || ca(a.translate) || ca(a.scale) || ca(a.rotate) || ca(a.perspective) || !sl() && (ca(a.backdropFilter) || ca(a.filter)) || dm.test(a.willChange || "") || cm.test(a.contain || "");
6513
6513
  }
6514
6514
  function fm(e) {
6515
6515
  let a = ya(e);
6516
6516
  for (; oa(a) && !en(a); ) {
6517
- if (ll(a))
6517
+ if (il(a))
6518
6518
  return a;
6519
6519
  if (po(a))
6520
6520
  return null;
@@ -6522,7 +6522,7 @@ function fm(e) {
6522
6522
  }
6523
6523
  return null;
6524
6524
  }
6525
- function il() {
6525
+ function sl() {
6526
6526
  return Uo == null && (Uo = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), Uo;
6527
6527
  }
6528
6528
  function en(e) {
@@ -6547,10 +6547,10 @@ function ya(e) {
6547
6547
  // Step into the shadow DOM of the parent of a slotted node.
6548
6548
  e.assignedSlot || // DOM Element detected.
6549
6549
  e.parentNode || // ShadowRoot detected.
6550
- di(e) && e.host || // Fallback.
6550
+ ci(e) && e.host || // Fallback.
6551
6551
  Xt(e)
6552
6552
  );
6553
- return di(a) ? a.host : a;
6553
+ return ci(a) ? a.host : a;
6554
6554
  }
6555
6555
  function Qs(e) {
6556
6556
  const a = ya(e);
@@ -6579,11 +6579,11 @@ function eu(e) {
6579
6579
  $: s
6580
6580
  };
6581
6581
  }
6582
- function sl(e) {
6582
+ function ul(e) {
6583
6583
  return Vt(e) ? e : e.contextElement;
6584
6584
  }
6585
6585
  function Ea(e) {
6586
- const a = sl(e);
6586
+ const a = ul(e);
6587
6587
  if (!oa(a))
6588
6588
  return Ht(1);
6589
6589
  const t = a.getBoundingClientRect(), {
@@ -6600,7 +6600,7 @@ function Ea(e) {
6600
6600
  const pm = /* @__PURE__ */ Ht(0);
6601
6601
  function tu(e) {
6602
6602
  const a = mt(e);
6603
- return !il() || !a.visualViewport ? pm : {
6603
+ return !sl() || !a.visualViewport ? pm : {
6604
6604
  x: a.visualViewport.offsetLeft,
6605
6605
  y: a.visualViewport.offsetTop
6606
6606
  };
@@ -6610,7 +6610,7 @@ function vm(e, a, t) {
6610
6610
  }
6611
6611
  function ha(e, a, t, n) {
6612
6612
  a === void 0 && (a = !1), t === void 0 && (t = !1);
6613
- const o = e.getBoundingClientRect(), r = sl(e);
6613
+ const o = e.getBoundingClientRect(), r = ul(e);
6614
6614
  let i = Ht(1);
6615
6615
  a && (n ? Vt(n) && (i = Ea(n)) : i = Ea(e));
6616
6616
  const s = vm(r, t, n) ? tu(r) : Ht(0);
@@ -6688,7 +6688,7 @@ function bm(e, a, t) {
6688
6688
  const n = t === "layoutViewport", o = mt(e), r = Xt(e), i = o.visualViewport;
6689
6689
  let s = r.clientWidth, u = r.clientHeight, d = 0, c = 0;
6690
6690
  if (i) {
6691
- const v = !il() || a === "fixed";
6691
+ const v = !sl() || a === "fixed";
6692
6692
  n ? v || (d = -i.offsetLeft, c = -i.offsetTop) : (s = i.width, u = i.height, v && (d = i.offsetLeft, c = i.offsetTop));
6693
6693
  }
6694
6694
  if (mo(r) <= 0) {
@@ -6711,7 +6711,7 @@ function xm(e, a) {
6711
6711
  y: d
6712
6712
  };
6713
6713
  }
6714
- function ci(e, a, t) {
6714
+ function fi(e, a, t) {
6715
6715
  let n;
6716
6716
  if (a === "viewport" || a === "layoutViewport")
6717
6717
  n = bm(e, t, a);
@@ -6738,7 +6738,7 @@ function _m(e, a) {
6738
6738
  const r = Lt(e).position === "fixed";
6739
6739
  let i = r ? ya(e) : e;
6740
6740
  for (; Vt(i) && !en(i); ) {
6741
- const s = Lt(i), u = ll(i), d = o ? o.position : r ? "fixed" : "";
6741
+ const s = Lt(i), u = il(i), d = o ? o.position : r ? "fixed" : "";
6742
6742
  !u && (d === "fixed" || d === "absolute" && s.position === "static") ? n = n.filter((p) => p !== i) : o = s, i = ya(i);
6743
6743
  }
6744
6744
  return a.set(e, n), n;
@@ -6750,10 +6750,10 @@ function wm(e) {
6750
6750
  rootBoundary: n,
6751
6751
  strategy: o
6752
6752
  } = e;
6753
- const i = [...t === "clippingAncestors" ? po(a) ? [] : _m(a, this._c) : [].concat(t), n], s = ci(a, i[0], o);
6753
+ const i = [...t === "clippingAncestors" ? po(a) ? [] : _m(a, this._c) : [].concat(t), n], s = fi(a, i[0], o);
6754
6754
  let u = s.top, d = s.right, c = s.bottom, p = s.left;
6755
6755
  for (let v = 1; v < i.length; v++) {
6756
- const m = ci(a, i[v], o);
6756
+ const m = fi(a, i[v], o);
6757
6757
  u = Wt(m.top, u), d = ea(m.right, d), c = ea(m.bottom, c), p = Wt(m.left, p);
6758
6758
  }
6759
6759
  return {
@@ -6796,7 +6796,7 @@ function Cm(e, a, t) {
6796
6796
  function Go(e) {
6797
6797
  return Lt(e).position === "static";
6798
6798
  }
6799
- function fi(e, a) {
6799
+ function pi(e, a) {
6800
6800
  if (!oa(e) || Lt(e).position === "fixed")
6801
6801
  return null;
6802
6802
  if (a)
@@ -6817,10 +6817,10 @@ function nu(e, a) {
6817
6817
  }
6818
6818
  return t;
6819
6819
  }
6820
- let n = fi(e, a);
6820
+ let n = pi(e, a);
6821
6821
  for (; n && um(n) && Go(n); )
6822
- n = fi(n, a);
6823
- return n && en(n) && Go(n) && !ll(n) ? t : n || fm(e) || t;
6822
+ n = pi(n, a);
6823
+ return n && en(n) && Go(n) && !il(n) ? t : n || fm(e) || t;
6824
6824
  }
6825
6825
  const Sm = async function(e) {
6826
6826
  const a = this.getOffsetParent || nu, t = this.getDimensions, n = await t(e.floating);
@@ -6911,7 +6911,7 @@ function Am(e, a, t, n) {
6911
6911
  elementResize: i = typeof ResizeObserver == "function",
6912
6912
  layoutShift: s = typeof IntersectionObserver == "function",
6913
6913
  animationFrame: u = !1
6914
- } = n, d = sl(e), c = o || r ? [...d ? tn(d) : [], ...a ? tn(a) : []] : [];
6914
+ } = n, d = ul(e), c = o || r ? [...d ? tn(d) : [], ...a ? tn(a) : []] : [];
6915
6915
  c.forEach((b) => {
6916
6916
  o && b.addEventListener("scroll", t), r && b.addEventListener("resize", t);
6917
6917
  });
@@ -6937,7 +6937,7 @@ function Am(e, a, t, n) {
6937
6937
  }), p?.(), (b = m) == null || b.disconnect(), m = null, u && cancelAnimationFrame(y);
6938
6938
  };
6939
6939
  }
6940
- const Pm = rm, Tm = lm, pi = am, Dm = sm, Bm = nm, Om = tm, Im = im, Rm = (e, a, t) => {
6940
+ const Pm = rm, Tm = lm, vi = am, Dm = sm, Bm = nm, Om = tm, Im = im, Rm = (e, a, t) => {
6941
6941
  const n = /* @__PURE__ */ new Map(), o = t ?? {}, r = {
6942
6942
  ...Em,
6943
6943
  ...o.platform,
@@ -6954,7 +6954,7 @@ function Mm(e) {
6954
6954
  function mr(e) {
6955
6955
  if (Mm(e)) {
6956
6956
  const a = e.$el;
6957
- return rl(a) && xa(a) === "#comment" ? null : a;
6957
+ return ll(a) && xa(a) === "#comment" ? null : a;
6958
6958
  }
6959
6959
  return e;
6960
6960
  }
@@ -6977,7 +6977,7 @@ function Vm(e) {
6977
6977
  function ru(e) {
6978
6978
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
6979
6979
  }
6980
- function vi(e, a) {
6980
+ function mi(e, a) {
6981
6981
  const t = ru(e);
6982
6982
  return Math.round(a * t) / t;
6983
6983
  }
@@ -7003,7 +7003,7 @@ function Lm(e, a, t) {
7003
7003
  };
7004
7004
  if (!c.value)
7005
7005
  return T;
7006
- const I = vi(c.value, p.value), R = vi(c.value, v.value);
7006
+ const I = mi(c.value, p.value), R = mi(c.value, v.value);
7007
7007
  return u.value ? {
7008
7008
  ...T,
7009
7009
  transform: "translate(" + I + "px, " + R + "px)",
@@ -7175,7 +7175,7 @@ var Km = /* @__PURE__ */ A({
7175
7175
  }, { ...lu }),
7176
7176
  emits: ["placed"],
7177
7177
  setup(e, { emit: a }) {
7178
- const t = e, n = st(), o = a, r = Ys(), { forwardRef: i, currentElement: s } = pe(), u = ut(h(() => t.dir)), d = D(), c = D(), { width: p, height: v } = Ts(c), m = h(() => t.side + (t.align !== "center" ? `-${t.align}` : "")), y = h(() => typeof t.collisionPadding == "number" ? t.collisionPadding : {
7178
+ const t = e, n = ut(), o = a, r = Ys(), { forwardRef: i, currentElement: s } = pe(), u = dt(h(() => t.dir)), d = D(), c = D(), { width: p, height: v } = Ts(c), m = h(() => t.side + (t.align !== "center" ? `-${t.align}` : "")), y = h(() => typeof t.collisionPadding == "number" ? t.collisionPadding : {
7179
7179
  top: 0,
7180
7180
  right: 0,
7181
7181
  bottom: 0,
@@ -7193,7 +7193,7 @@ var Km = /* @__PURE__ */ A({
7193
7193
  mainAxis: t.sideOffset + v.value,
7194
7194
  alignmentAxis: t.alignOffset
7195
7195
  }),
7196
- t.prioritizePosition && t.avoidCollisions && pi({
7196
+ t.prioritizePosition && t.avoidCollisions && vi({
7197
7197
  ...x.value,
7198
7198
  ...b.value
7199
7199
  }),
@@ -7203,7 +7203,7 @@ var Km = /* @__PURE__ */ A({
7203
7203
  limiter: t.sticky === "partial" ? Im() : void 0,
7204
7204
  ...x.value
7205
7205
  }),
7206
- !t.prioritizePosition && t.avoidCollisions && pi({
7206
+ !t.prioritizePosition && t.avoidCollisions && vi({
7207
7207
  ...x.value,
7208
7208
  ...b.value
7209
7209
  }),
@@ -7269,7 +7269,7 @@ var Km = /* @__PURE__ */ A({
7269
7269
  pointerEvents: "none"
7270
7270
  }
7271
7271
  })
7272
- }, [t.memoDependencies ? Ir([
7272
+ }, [t.memoDependencies ? Rr([
7273
7273
  t.asChild,
7274
7274
  t.as,
7275
7275
  I.value,
@@ -7516,7 +7516,7 @@ var Ym = /* @__PURE__ */ A({
7516
7516
  "update:open"
7517
7517
  ],
7518
7518
  setup(e, { expose: a, emit: t }) {
7519
- const n = e, o = t, { primitiveElement: r, currentElement: i } = Mt(), { multiple: s, disabled: u, ignoreFilter: d, resetSearchTermOnSelect: c, openOnFocus: p, openOnClick: v, dir: m, resetModelValueOnClear: y, highlightOnHover: _ } = Le(n), x = ut(m), b = /* @__PURE__ */ ze(n, "modelValue", o, {
7519
+ const n = e, o = t, { primitiveElement: r, currentElement: i } = Mt(), { multiple: s, disabled: u, ignoreFilter: d, resetSearchTermOnSelect: c, openOnFocus: p, openOnClick: v, dir: m, resetModelValueOnClear: y, highlightOnHover: _ } = Le(n), x = dt(m), b = /* @__PURE__ */ ze(n, "modelValue", o, {
7520
7520
  defaultValue: n.defaultValue ?? (s.value ? [] : void 0),
7521
7521
  passive: n.modelValue === void 0,
7522
7522
  deep: !0
@@ -7792,7 +7792,7 @@ var ey = /* @__PURE__ */ A({
7792
7792
  const m = D(!1);
7793
7793
  Ae(() => {
7794
7794
  r.inputElement.value && (m.value = d.value.contains(r.inputElement.value), m.value && r.inputElement.value.focus());
7795
- }), pt(() => {
7795
+ }), vt(() => {
7796
7796
  r.onContentUnmount(i);
7797
7797
  const x = We();
7798
7798
  m.value && (!x || x === document.body) && r.triggerElement.value?.focus();
@@ -7975,7 +7975,7 @@ var ey = /* @__PURE__ */ A({
7975
7975
  "interactOutside"
7976
7976
  ],
7977
7977
  setup(e, { emit: a }) {
7978
- const o = dt(e, a), { forwardRef: r } = pe(), i = za();
7978
+ const o = ct(e, a), { forwardRef: r } = pe(), i = za();
7979
7979
  return i.contentId ||= Ue(void 0, "reka-combobox-content"), (s, u) => (f(), E(l(gt), { present: s.forceMount || l(i).open.value }, {
7980
7980
  default: w(() => [B(ty, ee({
7981
7981
  ...l(o),
@@ -8008,7 +8008,7 @@ var ry = /* @__PURE__ */ A({
8008
8008
  });
8009
8009
  return Ae(() => {
8010
8010
  n.allGroups.value.has(t) || n.allGroups.value.set(t, /* @__PURE__ */ new Set());
8011
- }), pt(() => {
8011
+ }), vt(() => {
8012
8012
  n.allGroups.value.delete(t);
8013
8013
  }), (i, s) => (f(), E(l($v), ee({
8014
8014
  id: l(t),
@@ -8181,9 +8181,9 @@ var ry = /* @__PURE__ */ A({
8181
8181
  r.allItems.value.set(o, t.textValue || u.value.textContent || u.value.innerText);
8182
8182
  const c = i?.id;
8183
8183
  c && (r.allGroups.value.has(c) ? r.allGroups.value.get(c)?.add(o) : r.allGroups.value.set(c, /* @__PURE__ */ new Set([o])));
8184
- }), pt(() => {
8184
+ }), vt(() => {
8185
8185
  r.allItems.value.delete(o);
8186
- }), (c, p) => d.value ? Ir([
8186
+ }), (c, p) => d.value ? Rr([
8187
8187
  d.value,
8188
8188
  l(r).filterSearch.value,
8189
8189
  l(r).disabled.value,
@@ -8377,7 +8377,7 @@ function Cy(e) {
8377
8377
  numberOfMonths: e.numberOfMonths.value
8378
8378
  })), o = h(() => n.value.map((b) => b.value));
8379
8379
  function r(b) {
8380
- return !o.value.some(($) => jl(b, $));
8380
+ return !o.value.some(($) => Ul(b, $));
8381
8381
  }
8382
8382
  const i = (b) => {
8383
8383
  if (!e.maxValue.value || !n.value.length) return !1;
@@ -8459,7 +8459,7 @@ function Cy(e) {
8459
8459
  e.placeholder.value = S[0].value.set({ ...q });
8460
8460
  };
8461
8461
  me(e.placeholder, (b) => {
8462
- o.value.some(($) => jl($, b)) || (n.value = da({
8462
+ o.value.some(($) => Ul($, b)) || (n.value = da({
8463
8463
  dateObj: b,
8464
8464
  weekStartsOn: e.weekStartsOn.value,
8465
8465
  locale: e.locale.value,
@@ -8657,7 +8657,7 @@ var qy = /* @__PURE__ */ A({
8657
8657
  },
8658
8658
  emits: ["update:modelValue", "update:placeholder"],
8659
8659
  setup(e, { emit: a }) {
8660
- const t = e, n = a, { disabled: o, readonly: r, initialFocus: i, pagedNavigation: s, weekdayFormat: u, fixedWeeks: d, multiple: c, minValue: p, maxValue: v, numberOfMonths: m, preventDeselect: y, isDateDisabled: _, isDateUnavailable: x, calendarLabel: b, defaultValue: $, nextPage: C, prevPage: S, dir: q, locale: O, disableDaysOutsideCurrentView: T } = Le(t), { primitiveElement: I, currentElement: R } = Mt(), K = Ps(O), P = ut(q), W = h(() => t.weekStartsOn ?? Es(K.value)), U = /* @__PURE__ */ ze(t, "modelValue", n, {
8660
+ const t = e, n = a, { disabled: o, readonly: r, initialFocus: i, pagedNavigation: s, weekdayFormat: u, fixedWeeks: d, multiple: c, minValue: p, maxValue: v, numberOfMonths: m, preventDeselect: y, isDateDisabled: _, isDateUnavailable: x, calendarLabel: b, defaultValue: $, nextPage: C, prevPage: S, dir: q, locale: O, disableDaysOutsideCurrentView: T } = Le(t), { primitiveElement: I, currentElement: R } = Mt(), K = Ps(O), P = dt(q), W = h(() => t.weekStartsOn ?? Es(K.value)), U = /* @__PURE__ */ ze(t, "modelValue", n, {
8661
8661
  defaultValue: $.value,
8662
8662
  passive: t.modelValue === void 0
8663
8663
  }), L = Ss({
@@ -8856,7 +8856,7 @@ var qy = /* @__PURE__ */ A({
8856
8856
  month: "long",
8857
8857
  day: "numeric",
8858
8858
  year: "numeric"
8859
- })), s = h(() => n.isDateUnavailable?.(a.day) ?? !1), u = h(() => Ac(a.day, zr())), d = h(() => !ds(a.day, a.month)), c = h(() => n.isOutsideVisibleView(a.day)), p = h(() => n.isDateDisabled(a.day) || n.disableDaysOutsideCurrentView.value && d.value), v = h(() => d.value || p.value ? !1 : !n.disabled.value && n.isPlaceholderFocusable.value && Pa(a.day, n.placeholder.value) ? !0 : (!n.hasSelectedDate.value || n.isSelectedDateDisabled.value) && !n.isPlaceholderFocusable.value ? n.firstFocusableDate.value && Pa(a.day, n.firstFocusableDate.value) : !1), m = h(() => n.isDateSelected(a.day));
8859
+ })), s = h(() => n.isDateUnavailable?.(a.day) ?? !1), u = h(() => Ac(a.day, Nr())), d = h(() => !ds(a.day, a.month)), c = h(() => n.isOutsideVisibleView(a.day)), p = h(() => n.isDateDisabled(a.day) || n.disableDaysOutsideCurrentView.value && d.value), v = h(() => d.value || p.value ? !1 : !n.disabled.value && n.isPlaceholderFocusable.value && Pa(a.day, n.placeholder.value) ? !0 : (!n.hasSelectedDate.value || n.isSelectedDateDisabled.value) && !n.isPlaceholderFocusable.value ? n.firstFocusableDate.value && Pa(a.day, n.firstFocusableDate.value) : !1), m = h(() => n.isDateSelected(a.day));
8860
8860
  function y(b) {
8861
8861
  n.readonly.value || n.isDateDisabled(b) || n.isDateUnavailable?.(b) || n.onDateChange(b);
8862
8862
  }
@@ -9240,7 +9240,7 @@ var eh = /* @__PURE__ */ A({
9240
9240
  },
9241
9241
  emits: ["entryFocus", "update:currentTabStopId"],
9242
9242
  setup(e, { expose: a, emit: t }) {
9243
- const n = e, o = t, { loop: r, orientation: i, dir: s } = Le(n), u = ut(s), d = /* @__PURE__ */ ze(n, "currentTabStopId", o, {
9243
+ const n = e, o = t, { loop: r, orientation: i, dir: s } = Le(n), u = dt(s), d = /* @__PURE__ */ ze(n, "currentTabStopId", o, {
9244
9244
  defaultValue: n.defaultCurrentTabStopId,
9245
9245
  passive: n.currentTabStopId === void 0
9246
9246
  }), c = D(!1), p = D(!1), v = D(0), { getItems: m, CollectionSlot: y } = ot({ isProvider: !0 });
@@ -9341,7 +9341,7 @@ var eh = /* @__PURE__ */ A({
9341
9341
  const a = e, t = Jy(), n = Ue(), o = h(() => a.tabStopId || n), r = h(() => t.currentTabStopId.value === o.value), { getItems: i, CollectionItem: s } = ot();
9342
9342
  Ae(() => {
9343
9343
  a.focusable && t.onFocusableItemAdd();
9344
- }), pt(() => {
9344
+ }), vt(() => {
9345
9345
  a.focusable && t.onFocusableItemRemove();
9346
9346
  }), me(() => a.focusable, (d, c) => {
9347
9347
  d !== c && (d ? t.onFocusableItemAdd() : t.onFocusableItemRemove());
@@ -9395,11 +9395,11 @@ var eh = /* @__PURE__ */ A({
9395
9395
  }
9396
9396
  }), _n = th;
9397
9397
  const [ah] = /* @__PURE__ */ Oe("CheckboxGroupRoot");
9398
- function ul(e) {
9398
+ function dl(e) {
9399
9399
  return e === "indeterminate";
9400
9400
  }
9401
9401
  function uu(e) {
9402
- return ul(e) ? "indeterminate" : e ? "checked" : "unchecked";
9402
+ return dl(e) ? "indeterminate" : e ? "checked" : "unchecked";
9403
9403
  }
9404
9404
  const [nh, oh] = /* @__PURE__ */ Oe("CheckboxRoot");
9405
9405
  var rh = /* @__PURE__ */ A({
@@ -9491,7 +9491,7 @@ var rh = /* @__PURE__ */ A({
9491
9491
  "as-child": x.asChild,
9492
9492
  as: x.as,
9493
9493
  type: x.as === "button" ? "button" : void 0,
9494
- "aria-checked": l(ul)(c.value) ? "mixed" : c.value,
9494
+ "aria-checked": l(dl)(c.value) ? "mixed" : c.value,
9495
9495
  "aria-required": x.required,
9496
9496
  "aria-label": x.$attrs["aria-label"] || _.value,
9497
9497
  "data-state": l(uu)(c.value),
@@ -9555,7 +9555,7 @@ var rh = /* @__PURE__ */ A({
9555
9555
  },
9556
9556
  setup(e) {
9557
9557
  const { forwardRef: a } = pe(), t = nh();
9558
- return (n, o) => (f(), E(l(gt), { present: n.forceMount || l(ul)(l(t).state.value) || l(t).state.value === !0 }, {
9558
+ return (n, o) => (f(), E(l(gt), { present: n.forceMount || l(dl)(l(t).state.value) || l(t).state.value === !0 }, {
9559
9559
  default: w(() => [B(l(he), ee({
9560
9560
  ref: l(a),
9561
9561
  "data-state": l(uu)(l(t).state.value),
@@ -9576,7 +9576,7 @@ var rh = /* @__PURE__ */ A({
9576
9576
  }, 8, ["present"]));
9577
9577
  }
9578
9578
  }), cu = lh;
9579
- function mi(e, a = "hex") {
9579
+ function yi(e, a = "hex") {
9580
9580
  switch (a) {
9581
9581
  case "hex":
9582
9582
  return yr(e);
@@ -9807,7 +9807,7 @@ function Ah(e, a) {
9807
9807
  return t.indexOf(n);
9808
9808
  }
9809
9809
  function Ph(e, a, t) {
9810
- const n = e / 2, r = dl([0, 50], [0, n]);
9810
+ const n = e / 2, r = cl([0, 50], [0, n]);
9811
9811
  return (n - r(a) * t) * t;
9812
9812
  }
9813
9813
  function Th(e) {
@@ -9820,7 +9820,7 @@ function Dh(e, a) {
9820
9820
  }
9821
9821
  return !0;
9822
9822
  }
9823
- function dl(e, a) {
9823
+ function cl(e, a) {
9824
9824
  return (t) => {
9825
9825
  if (e[0] === e[1] || a[0] === a[1]) return a[0];
9826
9826
  const n = (a[1] - a[0]) / (e[1] - e[0]);
@@ -9898,7 +9898,7 @@ var Ih = /* @__PURE__ */ A({
9898
9898
  function y($, C) {
9899
9899
  const S = v.value || d.value.getBoundingClientRect(), q = [...c.thumbElements.value][c.valueIndexToChangeRef.value], O = c.thumbAlignment.value === "contain" ? q.clientWidth : 0;
9900
9900
  !p.value && !C && c.thumbAlignment.value === "contain" && (p.value = $.clientX - q.getBoundingClientRect().left);
9901
- const T = [0, S.width - O], I = m.value ? [r.value, o.value] : [o.value, r.value], R = dl(T, I);
9901
+ const T = [0, S.width - O], I = m.value ? [r.value, o.value] : [o.value, r.value], R = cl(T, I);
9902
9902
  v.value = S;
9903
9903
  const K = C ? $.clientX - S.left - O / 2 : $.clientX - S.left - (p.value ?? 0);
9904
9904
  return R(K);
@@ -9965,7 +9965,7 @@ var Ih = /* @__PURE__ */ A({
9965
9965
  function m(b, $) {
9966
9966
  const C = p.value || d.value.getBoundingClientRect(), S = [...s.thumbElements.value][s.valueIndexToChangeRef.value], q = s.thumbAlignment.value === "contain" ? S.clientHeight : 0;
9967
9967
  !c.value && !$ && s.thumbAlignment.value === "contain" && (c.value = b.clientY - S.getBoundingClientRect().top);
9968
- const O = [0, C.height - q], T = v.value ? [o.value, r.value] : [r.value, o.value], I = dl(O, T), R = $ ? b.clientY - C.top - q / 2 : b.clientY - C.top - (c.value ?? 0);
9968
+ const O = [0, C.height - q], T = v.value ? [o.value, r.value] : [r.value, o.value], I = cl(O, T), R = $ ? b.clientY - C.top - q / 2 : b.clientY - C.top - (c.value ?? 0);
9969
9969
  return p.value = C, I(R);
9970
9970
  }
9971
9971
  const y = h(() => v.value ? "bottom" : "top"), _ = h(() => v.value ? "top" : "bottom"), x = h(() => v.value ? 1 : -1);
@@ -10079,7 +10079,7 @@ var Fh = /* @__PURE__ */ A({
10079
10079
  },
10080
10080
  emits: ["update:modelValue", "valueCommit"],
10081
10081
  setup(e, { emit: a }) {
10082
- const t = e, n = a, { min: o, max: r, step: i, minStepsBetweenThumbs: s, orientation: u, disabled: d, thumbAlignment: c, dir: p } = Le(t), v = ut(p), { forwardRef: m, currentElement: y } = pe(), _ = Gt(y), { CollectionSlot: x } = ot({ isProvider: !0 }), b = /* @__PURE__ */ ze(t, "modelValue", n, {
10082
+ const t = e, n = a, { min: o, max: r, step: i, minStepsBetweenThumbs: s, orientation: u, disabled: d, thumbAlignment: c, dir: p } = Le(t), v = dt(p), { forwardRef: m, currentElement: y } = pe(), _ = Gt(y), { CollectionSlot: x } = ot({ isProvider: !0 }), b = /* @__PURE__ */ ze(t, "modelValue", n, {
10083
10083
  defaultValue: t.defaultValue,
10084
10084
  passive: t.modelValue === void 0
10085
10085
  }), $ = h(() => Array.isArray(b.value) ? [...b.value] : []), C = D(0), S = D($.value);
@@ -10266,10 +10266,10 @@ var Fh = /* @__PURE__ */ A({
10266
10266
  }
10267
10267
  },
10268
10268
  setup(e) {
10269
- const a = e, t = Ka(), n = yu(), { forwardRef: o, currentElement: r } = pe(), { CollectionItem: i } = ot(), s = h(() => t.modelValue?.value?.[a.index]), u = h(() => s.value === void 0 ? 0 : fu(s.value, t.min.value ?? 0, t.max.value ?? 100)), d = h(() => qh(a.index, t.modelValue?.value?.length ?? 0)), c = Ts(r), p = h(() => c[n.size].value), v = h(() => t.thumbAlignment.value === "overflow" || !p.value ? 0 : Ph(p.value, u.value, n.direction.value)), m = /* @__PURE__ */ Ur();
10269
+ const a = e, t = Ka(), n = yu(), { forwardRef: o, currentElement: r } = pe(), { CollectionItem: i } = ot(), s = h(() => t.modelValue?.value?.[a.index]), u = h(() => s.value === void 0 ? 0 : fu(s.value, t.min.value ?? 0, t.max.value ?? 100)), d = h(() => qh(a.index, t.modelValue?.value?.length ?? 0)), c = Ts(r), p = h(() => c[n.size].value), v = h(() => t.thumbAlignment.value === "overflow" || !p.value ? 0 : Ph(p.value, u.value, n.direction.value)), m = /* @__PURE__ */ Gr();
10270
10270
  return Ae(() => {
10271
10271
  t.thumbElements.value.push(r.value);
10272
- }), pt(() => {
10272
+ }), vt(() => {
10273
10273
  const y = t.thumbElements.value.findIndex((_) => _ === r.value) ?? -1;
10274
10274
  t.thumbElements.value.splice(y, 1);
10275
10275
  }), (y, _) => (f(), E(l(i), null, {
@@ -10387,7 +10387,7 @@ var Fh = /* @__PURE__ */ A({
10387
10387
  _: 3
10388
10388
  }, 16));
10389
10389
  }
10390
- }), cl = Zh;
10390
+ }), fl = Zh;
10391
10391
  function Jh() {
10392
10392
  const e = D(!1);
10393
10393
  return Ae(() => {
@@ -10425,7 +10425,7 @@ var tg = /* @__PURE__ */ A({
10425
10425
  },
10426
10426
  emits: ["update:open"],
10427
10427
  setup(e, { emit: a }) {
10428
- const t = e, n = a, { modal: o, dir: r } = Le(t), i = ut(r), s = /* @__PURE__ */ ze(t, "open", n), u = D(), d = Qh();
10428
+ const t = e, n = a, { modal: o, dir: r } = Le(t), i = dt(r), s = /* @__PURE__ */ ze(t, "open", n), u = D(), d = Qh();
10429
10429
  return bu({
10430
10430
  open: s,
10431
10431
  onOpenChange: (c) => {
@@ -10588,7 +10588,7 @@ var ng = /* @__PURE__ */ A({
10588
10588
  }
10589
10589
  }), me($, (M) => {
10590
10590
  o.onContentChange(M);
10591
- }), pt(() => {
10591
+ }), vt(() => {
10592
10592
  window.clearTimeout(c.value);
10593
10593
  });
10594
10594
  function R(M) {
@@ -10680,7 +10680,7 @@ var ng = /* @__PURE__ */ A({
10680
10680
  "as-child": M.asChild,
10681
10681
  "aria-orientation": "vertical",
10682
10682
  "data-reka-menu-content": "",
10683
- "data-state": l(el)(l(o).open.value),
10683
+ "data-state": l(tl)(l(o).open.value),
10684
10684
  dir: l(r).dir.value,
10685
10685
  side: M.side,
10686
10686
  "side-offset": M.sideOffset,
@@ -10734,7 +10734,7 @@ var ng = /* @__PURE__ */ A({
10734
10734
  _: 3
10735
10735
  }, 8, ["trapped"]));
10736
10736
  }
10737
- }), fl = ng, og = /* @__PURE__ */ A({
10737
+ }), pl = ng, og = /* @__PURE__ */ A({
10738
10738
  inheritAttrs: !1,
10739
10739
  __name: "MenuItemImpl",
10740
10740
  props: {
@@ -10879,7 +10879,7 @@ var ig = /* @__PURE__ */ A({
10879
10879
  default: w(() => [B(l(he), {
10880
10880
  as: t.as,
10881
10881
  "as-child": t.asChild,
10882
- "data-state": l(tl)(l(a).modelValue.value)
10882
+ "data-state": l(al)(l(a).modelValue.value)
10883
10883
  }, {
10884
10884
  default: w(() => [k(t.$slots, "default")]),
10885
10885
  _: 3
@@ -10921,7 +10921,7 @@ var ig = /* @__PURE__ */ A({
10921
10921
  const t = e, n = a, o = lo(t, ["modelValue"]), r = Yt(o), i = /* @__PURE__ */ ze(t, "modelValue", n);
10922
10922
  return wu({ modelValue: i }), (s, u) => (f(), E(go, ee({ role: "menuitemcheckbox" }, l(r), {
10923
10923
  "aria-checked": l(Gn)(l(i)) ? "mixed" : l(i),
10924
- "data-state": l(tl)(l(i)),
10924
+ "data-state": l(al)(l(i)),
10925
10925
  onSelect: u[0] || (u[0] = async (d) => {
10926
10926
  n("select", d), l(Gn)(l(i)) ? i.value = !0 : i.value = !l(i);
10927
10927
  })
@@ -11032,8 +11032,8 @@ var ig = /* @__PURE__ */ A({
11032
11032
  "closeAutoFocus"
11033
11033
  ],
11034
11034
  setup(e, { emit: a }) {
11035
- const t = e, n = a, o = dt(t, n), r = _a(), { forwardRef: i, currentElement: s } = pe();
11036
- return vn(s), (u, d) => (f(), E(fl, ee(l(o), {
11035
+ const t = e, n = a, o = ct(t, n), r = _a(), { forwardRef: i, currentElement: s } = pe();
11036
+ return vn(s), (u, d) => (f(), E(pl, ee(l(o), {
11037
11037
  ref: l(i),
11038
11038
  "trap-focus": l(r).open.value,
11039
11039
  "disable-outside-pointer-events": l(r).open.value,
@@ -11147,8 +11147,8 @@ var ig = /* @__PURE__ */ A({
11147
11147
  "closeAutoFocus"
11148
11148
  ],
11149
11149
  setup(e, { emit: a }) {
11150
- const o = dt(e, a), r = _a();
11151
- return (i, s) => (f(), E(fl, ee(l(o), {
11150
+ const o = ct(e, a), r = _a();
11151
+ return (i, s) => (f(), E(pl, ee(l(o), {
11152
11152
  "trap-focus": !1,
11153
11153
  "disable-outside-pointer-events": !1,
11154
11154
  "disable-outside-scroll": !1,
@@ -11264,7 +11264,7 @@ var ig = /* @__PURE__ */ A({
11264
11264
  "closeAutoFocus"
11265
11265
  ],
11266
11266
  setup(e, { emit: a }) {
11267
- const o = dt(e, a), r = _a(), i = wn();
11267
+ const o = ct(e, a), r = _a(), i = wn();
11268
11268
  return (s, u) => (f(), E(l(gt), { present: s.forceMount || l(r).open.value }, {
11269
11269
  default: w(() => [l(i).modal.value ? (f(), E(dg, Te(ee({ key: 0 }, {
11270
11270
  ...s.$attrs,
@@ -11391,7 +11391,7 @@ var xg = /* @__PURE__ */ A({
11391
11391
  const t = e, n = a, o = lo(t, ["value"]), r = Yt(o), { value: i } = Le(t), s = gg(), u = h(() => s.modelValue.value === i?.value);
11392
11392
  return wu({ modelValue: u }), (d, c) => (f(), E(go, ee({ role: "menuitemradio" }, l(r), {
11393
11393
  "aria-checked": u.value,
11394
- "data-state": l(tl)(u.value),
11394
+ "data-state": l(al)(u.value),
11395
11395
  onSelect: c[0] || (c[0] = async (p) => {
11396
11396
  n("select", p), l(s).onValueChange(l(i));
11397
11397
  })
@@ -11559,9 +11559,9 @@ var $g = /* @__PURE__ */ A({
11559
11559
  "closeAutoFocus"
11560
11560
  ],
11561
11561
  setup(e, { emit: a }) {
11562
- const o = dt(e, a), r = _a(), i = wn(), s = qu(), u = ho(), { forwardRef: d, currentElement: c } = pe();
11562
+ const o = ct(e, a), r = _a(), i = wn(), s = qu(), u = ho(), { forwardRef: d, currentElement: c } = pe();
11563
11563
  return s.contentId ||= Ue(void 0, "reka-menu-sub-content"), (p, v) => (f(), E(l(gt), { present: p.forceMount || l(r).open.value }, {
11564
- default: w(() => [B(fl, ee(l(o), {
11564
+ default: w(() => [B(pl, ee(l(o), {
11565
11565
  id: l(s).contentId,
11566
11566
  ref: l(d),
11567
11567
  "aria-labelledby": l(s).triggerId,
@@ -11631,7 +11631,7 @@ var $g = /* @__PURE__ */ A({
11631
11631
  function s() {
11632
11632
  i.value && window.clearTimeout(i.value), i.value = null;
11633
11633
  }
11634
- pt(() => {
11634
+ vt(() => {
11635
11635
  s();
11636
11636
  });
11637
11637
  function u(p) {
@@ -11679,7 +11679,7 @@ var $g = /* @__PURE__ */ A({
11679
11679
  const v = r.searchRef.value !== "";
11680
11680
  a.disabled || v && p.key === " " || zp[n.dir.value].includes(p.key) && (t.onOpenChange(!0), await Pe(), t.content.value?.focus(), p.preventDefault());
11681
11681
  }
11682
- return (p, v) => (f(), E(cl, { "as-child": "" }, {
11682
+ return (p, v) => (f(), E(fl, { "as-child": "" }, {
11683
11683
  default: w(() => [B(_u, ee(a, {
11684
11684
  id: l(o).triggerId,
11685
11685
  ref: (m) => {
@@ -11688,7 +11688,7 @@ var $g = /* @__PURE__ */ A({
11688
11688
  "aria-haspopup": "menu",
11689
11689
  "aria-expanded": l(t).open.value,
11690
11690
  "aria-controls": l(o).contentId,
11691
- "data-state": l(el)(l(t).open.value),
11691
+ "data-state": l(tl)(l(t).open.value),
11692
11692
  onClick: v[0] || (v[0] = async (m) => {
11693
11693
  a.disabled || m.defaultPrevented || (m.currentTarget?.focus(), l(t).open.value || l(t).onOpenChange(!0));
11694
11694
  }),
@@ -11767,7 +11767,7 @@ var Dg = /* @__PURE__ */ A({
11767
11767
  setup(e, { emit: a }) {
11768
11768
  const t = e, n = a, { dir: o, modal: r, pressOpenDelay: i } = Le(t);
11769
11769
  pe();
11770
- const s = ut(o), u = D(!1), d = D();
11770
+ const s = dt(o), u = D(!1), d = D();
11771
11771
  return Tg({
11772
11772
  open: u,
11773
11773
  onOpenChange: (c) => {
@@ -11883,7 +11883,7 @@ var Dg = /* @__PURE__ */ A({
11883
11883
  "closeAutoFocus"
11884
11884
  ],
11885
11885
  setup(e, { emit: a }) {
11886
- const o = dt(e, a);
11886
+ const o = ct(e, a);
11887
11887
  pe();
11888
11888
  const r = Du(), i = D(!1);
11889
11889
  return (s, u) => (f(), E(l(Su), ee(l(o), {
@@ -12136,7 +12136,7 @@ var Dg = /* @__PURE__ */ A({
12136
12136
  "closeAutoFocus"
12137
12137
  ],
12138
12138
  setup(e, { emit: a }) {
12139
- const o = dt(e, a);
12139
+ const o = ct(e, a);
12140
12140
  return pe(), (r, i) => (f(), E(l(Pu), ee(l(o), { style: {
12141
12141
  "--reka-context-menu-content-transform-origin": "var(--reka-popper-transform-origin)",
12142
12142
  "--reka-context-menu-content-available-width": "var(--reka-popper-available-width)",
@@ -12176,7 +12176,7 @@ var Dg = /* @__PURE__ */ A({
12176
12176
  }, 16));
12177
12177
  }
12178
12178
  }), Gg = Ug;
12179
- function yi(e) {
12179
+ function hi(e) {
12180
12180
  return e.pointerType !== "mouse";
12181
12181
  }
12182
12182
  var Yg = /* @__PURE__ */ A({
@@ -12224,14 +12224,14 @@ var Yg = /* @__PURE__ */ A({
12224
12224
  t.value || (await Pe(), y.defaultPrevented || (d(), c(y), y.preventDefault()));
12225
12225
  }
12226
12226
  async function v(y) {
12227
- t.value || (await Pe(), yi(y) && !y.defaultPrevented && (d(), u.value = window.setTimeout(c, r.pressOpenDelay.value, y)));
12227
+ t.value || (await Pe(), hi(y) && !y.defaultPrevented && (d(), u.value = window.setTimeout(c, r.pressOpenDelay.value, y)));
12228
12228
  }
12229
12229
  async function m(y) {
12230
- t.value || (await Pe(), yi(y) && !y.defaultPrevented && d());
12230
+ t.value || (await Pe(), hi(y) && !y.defaultPrevented && d());
12231
12231
  }
12232
12232
  return Ae(() => {
12233
12233
  o.value && (r.triggerElement.value = o.value);
12234
- }), (y, _) => (f(), g(de, null, [B(l(cl), {
12234
+ }), (y, _) => (f(), g(de, null, [B(l(fl), {
12235
12235
  as: "template",
12236
12236
  reference: s.value
12237
12237
  }, null, 8, ["reference"]), B(l(he), ee({
@@ -12456,7 +12456,7 @@ var eb = /* @__PURE__ */ A({
12456
12456
  "update:placeholder"
12457
12457
  ],
12458
12458
  setup(e, { emit: a }) {
12459
- const t = e, n = a, { locale: o, disabled: r, readonly: i, pagedNavigation: s, weekdayFormat: u, fixedWeeks: d, numberOfMonths: c, preventDeselect: p, isDateDisabled: v, isDateUnavailable: m, defaultOpen: y, modal: _, id: x, name: b, required: $, minValue: C, maxValue: S, granularity: q, hideTimeZone: O, hourCycle: T, defaultValue: I, dir: R, step: K, closeOnSelect: P } = Le(t), W = ut(R), U = Ps(o), L = h(() => t.weekStartsOn ?? Es(U.value)), M = /* @__PURE__ */ ze(t, "modelValue", n, {
12459
+ const t = e, n = a, { locale: o, disabled: r, readonly: i, pagedNavigation: s, weekdayFormat: u, fixedWeeks: d, numberOfMonths: c, preventDeselect: p, isDateDisabled: v, isDateUnavailable: m, defaultOpen: y, modal: _, id: x, name: b, required: $, minValue: C, maxValue: S, granularity: q, hideTimeZone: O, hourCycle: T, defaultValue: I, dir: R, step: K, closeOnSelect: P } = Le(t), W = dt(R), U = Ps(o), L = h(() => t.weekStartsOn ?? Es(U.value)), M = /* @__PURE__ */ ze(t, "modelValue", n, {
12460
12460
  defaultValue: I.value,
12461
12461
  passive: t.modelValue === void 0
12462
12462
  }), V = h(() => Ss({
@@ -12878,9 +12878,9 @@ var eb = /* @__PURE__ */ A({
12878
12878
  "closeAutoFocus"
12879
12879
  ],
12880
12880
  setup(e, { emit: a }) {
12881
- const t = e, n = a, o = kn(), r = st(), i = D(!1);
12881
+ const t = e, n = a, o = kn(), r = ut(), i = D(!1);
12882
12882
  pn(!0);
12883
- const s = dt(t, n), { forwardRef: u, currentElement: d } = pe();
12883
+ const s = ct(t, n), { forwardRef: u, currentElement: d } = pe();
12884
12884
  return vn(d), (c, p) => (f(), E(Iu, ee(l(s), {
12885
12885
  ref: l(u),
12886
12886
  "trap-focus": l(o).open.value,
@@ -13005,7 +13005,7 @@ var eb = /* @__PURE__ */ A({
13005
13005
  "closeAutoFocus"
13006
13006
  ],
13007
13007
  setup(e, { emit: a }) {
13008
- const t = e, n = a, o = kn(), r = st(), i = D(!1), s = D(!1), u = dt(t, n);
13008
+ const t = e, n = a, o = kn(), r = ut(), i = D(!1), s = D(!1), u = ct(t, n);
13009
13009
  return (d, c) => (f(), E(Iu, ee(l(u), {
13010
13010
  "trap-focus": !1,
13011
13011
  "disable-outside-pointer-events": !1,
@@ -13131,7 +13131,7 @@ var eb = /* @__PURE__ */ A({
13131
13131
  "closeAutoFocus"
13132
13132
  ],
13133
13133
  setup(e, { emit: a }) {
13134
- const t = e, n = a, o = kn(), r = dt(t, n), { forwardRef: i } = pe();
13134
+ const t = e, n = a, o = kn(), r = ct(t, n), { forwardRef: i } = pe();
13135
13135
  return o.contentId ||= Ue(void 0, "reka-popover-content"), (s, u) => (f(), E(l(gt), { present: s.forceMount || l(o).open.value }, {
13136
13136
  default: w(() => [l(o).modal.value ? (f(), E(db, ee({ key: 0 }, l(r), { ref: l(i) }), {
13137
13137
  default: w(() => [k(s.$slots, "default")]),
@@ -13286,7 +13286,7 @@ var eb = /* @__PURE__ */ A({
13286
13286
  const t = e, n = a, o = h(() => ({
13287
13287
  ...t,
13288
13288
  portal: void 0
13289
- })), r = dt(o, n);
13289
+ })), r = ct(o, n);
13290
13290
  return (i, s) => (f(), E(l(_o), Te(De(i.portal)), {
13291
13291
  default: w(() => [B(l(xo), ee({
13292
13292
  ...l(r),
@@ -13376,7 +13376,7 @@ var eb = /* @__PURE__ */ A({
13376
13376
  _: 3
13377
13377
  }, 16));
13378
13378
  }
13379
- }), hi = kb, Cb = /* @__PURE__ */ A({
13379
+ }), gi = kb, Cb = /* @__PURE__ */ A({
13380
13380
  __name: "DatePickerHeadCell",
13381
13381
  props: {
13382
13382
  asChild: {
@@ -13614,7 +13614,7 @@ var Fb = /* @__PURE__ */ A({
13614
13614
  const o = /* @__PURE__ */ ze(t, "open", n, {
13615
13615
  defaultValue: t.defaultOpen,
13616
13616
  passive: t.open === void 0
13617
- }), r = D(), { modal: i, dir: s } = Le(t), u = ut(s);
13617
+ }), r = D(), { modal: i, dir: s } = Le(t), u = dt(s);
13618
13618
  return Lb({
13619
13619
  open: o,
13620
13620
  onOpenChange: (d) => {
@@ -13746,9 +13746,9 @@ var Fb = /* @__PURE__ */ A({
13746
13746
  "closeAutoFocus"
13747
13747
  ],
13748
13748
  setup(e, { emit: a }) {
13749
- const o = dt(e, a);
13749
+ const o = ct(e, a);
13750
13750
  pe();
13751
- const r = Ru(), i = st(), s = D(!1);
13751
+ const r = Ru(), i = ut(), s = D(!1);
13752
13752
  function u(d) {
13753
13753
  d.defaultPrevented || (s.value || setTimeout(() => {
13754
13754
  i ? i.restoreFocus(r.triggerElement.value) : r.triggerElement.value?.focus();
@@ -13829,7 +13829,7 @@ var Fb = /* @__PURE__ */ A({
13829
13829
  _: 3
13830
13830
  }, 16));
13831
13831
  }
13832
- }), gi = Kb, Wb = /* @__PURE__ */ A({
13832
+ }), bi = Kb, Wb = /* @__PURE__ */ A({
13833
13833
  __name: "DropdownMenuPortal",
13834
13834
  props: {
13835
13835
  to: {
@@ -13909,7 +13909,7 @@ var Fb = /* @__PURE__ */ A({
13909
13909
  },
13910
13910
  emits: ["select"],
13911
13911
  setup(e, { emit: a }) {
13912
- const o = dt(e, a);
13912
+ const o = ct(e, a);
13913
13913
  return pe(), (r, i) => (f(), E(l(kg), Te(De(l(o))), {
13914
13914
  default: w(() => [k(r.$slots, "default")]),
13915
13915
  _: 3
@@ -14059,7 +14059,7 @@ var Fb = /* @__PURE__ */ A({
14059
14059
  "closeAutoFocus"
14060
14060
  ],
14061
14061
  setup(e, { emit: a }) {
14062
- const o = dt(e, a);
14062
+ const o = ct(e, a);
14063
14063
  return pe(), (r, i) => (f(), E(l(Pu), ee(l(o), { style: {
14064
14064
  "--reka-dropdown-menu-content-transform-origin": "var(--reka-popper-transform-origin)",
14065
14065
  "--reka-dropdown-menu-content-available-width": "var(--reka-popper-available-width)",
@@ -14119,7 +14119,7 @@ var Fb = /* @__PURE__ */ A({
14119
14119
  const a = e, t = Ru(), { forwardRef: n, currentElement: o } = pe();
14120
14120
  return Ae(() => {
14121
14121
  t.triggerElement = o;
14122
- }), t.triggerId ||= Ue(void 0, "reka-dropdown-menu-trigger"), (r, i) => (f(), E(l(cl), { "as-child": "" }, {
14122
+ }), t.triggerId ||= Ue(void 0, "reka-dropdown-menu-trigger"), (r, i) => (f(), E(l(fl), { "as-child": "" }, {
14123
14123
  default: w(() => [B(l(he), {
14124
14124
  id: l(t).triggerId,
14125
14125
  ref: l(n),
@@ -14325,7 +14325,7 @@ var lx = /* @__PURE__ */ A({
14325
14325
  const t = e, n = a, { forwardRef: o, currentElement: r } = pe(), i = /* @__PURE__ */ ze(t, "modelValue", n, {
14326
14326
  defaultValue: t.defaultValue,
14327
14327
  passive: t.modelValue === void 0
14328
- }), { disabled: s, loop: u, orientation: d, name: c, required: p, dir: v } = Le(t), m = ut(v), y = Gt(r);
14328
+ }), { disabled: s, loop: u, orientation: d, name: c, required: p, dir: v } = Le(t), m = dt(v), y = Gt(r);
14329
14329
  return rx({
14330
14330
  modelValue: i,
14331
14331
  changeModelValue: (_) => {
@@ -14607,7 +14607,7 @@ var gx = /* @__PURE__ */ A({
14607
14607
  y: 0
14608
14608
  }), m = h(() => i.value && Array.isArray(u.value) ? u.value?.length === 0 : Ta(u.value));
14609
14609
  ot({ isProvider: !0 });
14610
- const y = ut(s), _ = Gt(c), x = D(/* @__PURE__ */ new Set()), b = h(() => Array.from(x.value).map((S) => S.value).join(";"));
14610
+ const y = dt(s), _ = Gt(c), x = D(/* @__PURE__ */ new Set()), b = h(() => Array.from(x.value).map((S) => S.value).join(";"));
14611
14611
  function $(S) {
14612
14612
  if (i.value) {
14613
14613
  const q = Array.isArray(u.value) ? [...u.value] : [], O = q.findIndex((T) => hr(T, S, t.by));
@@ -14971,7 +14971,7 @@ var Sx = /* @__PURE__ */ A({
14971
14971
  "pointerDownOutside"
14972
14972
  ],
14973
14973
  setup(e, { emit: a }) {
14974
- const t = e, n = a, o = ra(), r = st();
14974
+ const t = e, n = a, o = ra(), r = ut();
14975
14975
  io(), pn(t.bodyLock);
14976
14976
  const { CollectionSlot: i, getItems: s } = ot(), u = D();
14977
14977
  vn(u);
@@ -15314,7 +15314,7 @@ var Ox = /* @__PURE__ */ A({
15314
15314
  "pointerDownOutside"
15315
15315
  ],
15316
15316
  setup(e, { emit: a }) {
15317
- const t = e, o = dt(t, a), r = ra(), i = D();
15317
+ const t = e, o = ct(t, a), r = ra(), i = D();
15318
15318
  Ae(() => {
15319
15319
  i.value = new DocumentFragment();
15320
15320
  });
@@ -15327,7 +15327,7 @@ var Ox = /* @__PURE__ */ A({
15327
15327
  p(), c = setTimeout(() => {
15328
15328
  d.value = u.value, c = void 0;
15329
15329
  }), y(p);
15330
- }), pt(p), (v, m) => u.value || d.value || s.value?.present ? (f(), E(l(gt), {
15330
+ }), vt(p), (v, m) => u.value || d.value || s.value?.present ? (f(), E(l(gt), {
15331
15331
  key: 0,
15332
15332
  ref_key: "presenceRef",
15333
15333
  ref: s,
@@ -15536,7 +15536,7 @@ var Kx = /* @__PURE__ */ A({
15536
15536
  }));
15537
15537
  return Ae(() => {
15538
15538
  i.value && (o.onItemTextChange(i.value), n.itemTextRefCallback(i.value, o.value, o.disabled.value), t.onOptionAdd(s.value));
15539
- }), pt(() => {
15539
+ }), vt(() => {
15540
15540
  t.onOptionRemove(s.value);
15541
15541
  }), (u, d) => (f(), E(l(he), ee({
15542
15542
  id: l(o).textId,
@@ -15963,7 +15963,7 @@ var i_ = /* @__PURE__ */ A({
15963
15963
  ]));
15964
15964
  }
15965
15965
  }), d_ = u_;
15966
- const [pl, c_] = /* @__PURE__ */ Oe("TabsRoot");
15966
+ const [vl, c_] = /* @__PURE__ */ Oe("TabsRoot");
15967
15967
  var f_ = /* @__PURE__ */ A({
15968
15968
  __name: "TabsRoot",
15969
15969
  props: {
@@ -16005,7 +16005,7 @@ var f_ = /* @__PURE__ */ A({
16005
16005
  },
16006
16006
  emits: ["update:modelValue"],
16007
16007
  setup(e, { emit: a }) {
16008
- const t = e, n = a, { orientation: o, unmountOnHide: r, dir: i } = Le(t), s = ut(i);
16008
+ const t = e, n = a, { orientation: o, unmountOnHide: r, dir: i } = Le(t), s = dt(i);
16009
16009
  pe();
16010
16010
  const u = /* @__PURE__ */ ze(t, "modelValue", n, {
16011
16011
  defaultValue: t.defaultValue,
@@ -16073,7 +16073,7 @@ var v_ = /* @__PURE__ */ A({
16073
16073
  }
16074
16074
  },
16075
16075
  setup(e) {
16076
- const a = e, { forwardRef: t } = pe(), n = pl(), o = h(() => Ku(n.baseId, a.value)), r = h(() => Wu(n.baseId, a.value)), i = h(() => a.value === n.modelValue.value), s = D(i.value);
16076
+ const a = e, { forwardRef: t } = pe(), n = vl(), o = h(() => Ku(n.baseId, a.value)), r = h(() => Wu(n.baseId, a.value)), i = h(() => a.value === n.modelValue.value), s = D(i.value);
16077
16077
  return Ae(() => {
16078
16078
  n.registerContent(a.value), requestAnimationFrame(() => {
16079
16079
  s.value = !1;
@@ -16130,7 +16130,7 @@ var v_ = /* @__PURE__ */ A({
16130
16130
  }
16131
16131
  },
16132
16132
  setup(e) {
16133
- const a = e, { loop: t } = Le(a), { forwardRef: n, currentElement: o } = pe(), r = pl();
16133
+ const a = e, { loop: t } = Le(a), { forwardRef: n, currentElement: o } = pe(), r = vl();
16134
16134
  return r.tabsList = o, (i, s) => (f(), E(l(xn), {
16135
16135
  "as-child": "",
16136
16136
  orientation: l(r).orientation.value,
@@ -16181,7 +16181,7 @@ var v_ = /* @__PURE__ */ A({
16181
16181
  }
16182
16182
  },
16183
16183
  setup(e) {
16184
- const a = e, { forwardRef: t } = pe(), n = pl(), o = h(() => Ku(n.baseId, a.value)), r = h(() => n.contentIds.value.has(a.value) ? Wu(n.baseId, a.value) : void 0), i = h(() => a.value === n.modelValue.value);
16184
+ const a = e, { forwardRef: t } = pe(), n = vl(), o = h(() => Ku(n.baseId, a.value)), r = h(() => n.contentIds.value.has(a.value) ? Wu(n.baseId, a.value) : void 0), i = h(() => a.value === n.modelValue.value);
16185
16185
  return (s, u) => (f(), E(l(_n), {
16186
16186
  "as-child": "",
16187
16187
  focusable: !s.disabled,
@@ -16346,7 +16346,7 @@ function In(e, a, t) {
16346
16346
  });
16347
16347
  a && n.addEventListener(e, a, { once: !0 }), n.dispatchEvent(o);
16348
16348
  }
16349
- function bi(e, a, t = 0) {
16349
+ function xi(e, a, t = 0) {
16350
16350
  const n = Math.abs(e.x), o = Math.abs(e.y), r = n > o;
16351
16351
  return a === "left" || a === "right" ? r && n > t : !r && o > t;
16352
16352
  }
@@ -16435,11 +16435,11 @@ var O_ = /* @__PURE__ */ A({
16435
16435
  }
16436
16436
  }), me(() => [t.open, c.value], () => {
16437
16437
  v.value = c.value, t.open && !s.isClosePausedRef.value && x(c.value);
16438
- }, { immediate: !0 }), Gr("Escape", (C) => {
16438
+ }, { immediate: !0 }), Yr("Escape", (C) => {
16439
16439
  n("escapeKeyDown", C), C.defaultPrevented || (s.isFocusedToastEscapeKeyDownRef.value = !0, b());
16440
16440
  }), Ae(() => {
16441
16441
  s.onToastAdd();
16442
- }), pt(() => {
16442
+ }), vt(() => {
16443
16443
  s.onToastRemove();
16444
16444
  }), B_({ onClose: b }), (C, S) => (f(), g(de, null, [$.value ? (f(), E($_, {
16445
16445
  key: 0,
@@ -16486,7 +16486,7 @@ var O_ = /* @__PURE__ */ A({
16486
16486
  originalEvent: q,
16487
16487
  delta: L
16488
16488
  };
16489
- I ? (d.value = L, l(In)(l(q_), (V) => n("swipeMove", V), M)) : l(bi)(L, l(s).swipeDirection.value, U) ? (d.value = L, l(In)(l(E_), (V) => n("swipeStart", V), M), q.target.setPointerCapture(q.pointerId)) : (Math.abs(O) > U || Math.abs(T) > U) && (u.value = null);
16489
+ I ? (d.value = L, l(In)(l(q_), (V) => n("swipeMove", V), M)) : l(xi)(L, l(s).swipeDirection.value, U) ? (d.value = L, l(In)(l(E_), (V) => n("swipeStart", V), M), q.target.setPointerCapture(q.pointerId)) : (Math.abs(O) > U || Math.abs(T) > U) && (u.value = null);
16490
16490
  }),
16491
16491
  onPointerup: S[2] || (S[2] = (q) => {
16492
16492
  if (l(s).disableSwipe.value) return;
@@ -16496,7 +16496,7 @@ var O_ = /* @__PURE__ */ A({
16496
16496
  originalEvent: q,
16497
16497
  delta: O
16498
16498
  };
16499
- l(bi)(O, l(s).swipeDirection.value, l(s).swipeThreshold.value) ? l(In)(l(P_), (K) => n("swipeEnd", K), R) : l(In)(l(A_), (K) => n("swipeCancel", K), R), I?.addEventListener("click", (K) => K.preventDefault(), { once: !0 });
16499
+ l(xi)(O, l(s).swipeDirection.value, l(s).swipeThreshold.value) ? l(In)(l(P_), (K) => n("swipeEnd", K), R) : l(In)(l(A_), (K) => n("swipeCancel", K), R), I?.addEventListener("click", (K) => K.preventDefault(), { once: !0 });
16500
16500
  }
16501
16501
  })
16502
16502
  }), {
@@ -16726,7 +16726,7 @@ var O_ = /* @__PURE__ */ A({
16726
16726
  _: 3
16727
16727
  }));
16728
16728
  }
16729
- }), xi = j_, U_ = /* @__PURE__ */ A({
16729
+ }), _i = j_, U_ = /* @__PURE__ */ A({
16730
16730
  inheritAttrs: !1,
16731
16731
  __name: "ToastViewport",
16732
16732
  props: {
@@ -16752,7 +16752,7 @@ var O_ = /* @__PURE__ */ A({
16752
16752
  },
16753
16753
  setup(e) {
16754
16754
  const a = e, { hotkey: t, label: n } = Le(a), { forwardRef: o, currentElement: r } = pe(), { CollectionSlot: i, getItems: s } = ot(), u = Co(), d = h(() => u.toastCount.value > 0), c = D(), p = D(), v = /Key/g, m = /Digit/g, y = h(() => t.value.join("+").replace(v, "").replace(m, ""));
16755
- Gr(t.value, () => {
16755
+ Yr(t.value, () => {
16756
16756
  r.value.focus();
16757
16757
  }), Ae(() => {
16758
16758
  u.onViewportChange(r.value);
@@ -16792,7 +16792,7 @@ var O_ = /* @__PURE__ */ A({
16792
16792
  });
16793
16793
  function _({ tabbingDirection: x }) {
16794
16794
  const $ = s().map((C) => C.ref).map((C) => {
16795
- const S = [C, ...Qr(C)];
16795
+ const S = [C, ...el(C)];
16796
16796
  return x === "forwards" ? S : S.reverse();
16797
16797
  });
16798
16798
  return (x === "forwards" ? $.reverse() : $).flat();
@@ -16804,7 +16804,7 @@ var O_ = /* @__PURE__ */ A({
16804
16804
  style: Ee({ pointerEvents: d.value ? void 0 : "none" })
16805
16805
  }, {
16806
16806
  default: w(() => [
16807
- d.value ? (f(), E(xi, {
16807
+ d.value ? (f(), E(_i, {
16808
16808
  key: 0,
16809
16809
  ref: ($) => {
16810
16810
  $ && (c.value = l($t)($));
@@ -16826,7 +16826,7 @@ var O_ = /* @__PURE__ */ A({
16826
16826
  }, 16, ["as", "as-child"])]),
16827
16827
  _: 3
16828
16828
  }),
16829
- d.value ? (f(), E(xi, {
16829
+ d.value ? (f(), E(_i, {
16830
16830
  key: 1,
16831
16831
  ref: ($) => {
16832
16832
  $ && (p.value = l($t)($));
@@ -16841,7 +16841,7 @@ var O_ = /* @__PURE__ */ A({
16841
16841
  }, 8, ["aria-label", "style"]));
16842
16842
  }
16843
16843
  }), G_ = U_;
16844
- const [vl, Y_] = /* @__PURE__ */ Oe("ToggleGroupRoot");
16844
+ const [ml, Y_] = /* @__PURE__ */ Oe("ToggleGroupRoot");
16845
16845
  var X_ = /* @__PURE__ */ A({
16846
16846
  __name: "ToggleGroupRoot",
16847
16847
  props: {
@@ -16899,7 +16899,7 @@ var X_ = /* @__PURE__ */ A({
16899
16899
  },
16900
16900
  emits: ["update:modelValue"],
16901
16901
  setup(e, { emit: a }) {
16902
- const t = e, n = a, { loop: o, rovingFocus: r, disabled: i, dir: s } = Le(t), u = ut(s), { forwardRef: d, currentElement: c } = pe(), { modelValue: p, changeModelValue: v, isSingle: m } = Bs(t, n), y = Gt(c);
16902
+ const t = e, n = a, { loop: o, rovingFocus: r, disabled: i, dir: s } = Le(t), u = dt(s), { forwardRef: d, currentElement: c } = pe(), { modelValue: p, changeModelValue: v, isSingle: m } = Bs(t, n), y = Gt(c);
16903
16903
  return Y_({
16904
16904
  isSingle: m,
16905
16905
  modelValue: p,
@@ -16978,7 +16978,7 @@ var X_ = /* @__PURE__ */ A({
16978
16978
  },
16979
16979
  emits: ["update:modelValue"],
16980
16980
  setup(e, { emit: a }) {
16981
- const t = e, n = a, { forwardRef: o, currentElement: r } = pe(), i = Ma(), s = vl(null), u = /* @__PURE__ */ ze(t, "modelValue", n, {
16981
+ const t = e, n = a, { forwardRef: o, currentElement: r } = pe(), i = Ma(), s = ml(null), u = /* @__PURE__ */ ze(t, "modelValue", n, {
16982
16982
  defaultValue: t.defaultValue,
16983
16983
  passive: t.modelValue === void 0
16984
16984
  });
@@ -17048,7 +17048,7 @@ var X_ = /* @__PURE__ */ A({
17048
17048
  }
17049
17049
  },
17050
17050
  setup(e) {
17051
- const a = e, t = vl(), n = h(() => t.disabled?.value || a.disabled), o = h(() => jn(t.modelValue.value, a.value)), { forwardRef: r } = pe(), i = Ma();
17051
+ const a = e, t = ml(), n = h(() => t.disabled?.value || a.disabled), o = h(() => jn(t.modelValue.value, a.value)), { forwardRef: r } = pe(), i = Ma();
17052
17052
  return (s, u) => (f(), E(Ne(l(t).rovingFocus.value ? l(_n) : l(he)), ee({ "as-child": "" }, l(t).rovingFocus.value ? {
17053
17053
  focusable: !n.value,
17054
17054
  active: o.value
@@ -17140,7 +17140,7 @@ var ow = /* @__PURE__ */ A({
17140
17140
  setup(e) {
17141
17141
  const a = e, { delayDuration: t, skipDelayDuration: n, disableHoverableContent: o, disableClosingTrigger: r, ignoreNonKeyboardFocus: i, disabled: s, content: u } = Le(a);
17142
17142
  pe();
17143
- const d = D(!0), c = D(!1), { start: p, stop: v } = jr(() => {
17143
+ const d = D(!0), c = D(!1), { start: p, stop: v } = Ur(() => {
17144
17144
  d.value = !0;
17145
17145
  }, n, { immediate: !1 });
17146
17146
  return nw({
@@ -17160,7 +17160,7 @@ var ow = /* @__PURE__ */ A({
17160
17160
  content: u
17161
17161
  }), (m, y) => k(m.$slots, "default");
17162
17162
  }
17163
- }), ml = ow;
17163
+ }), yl = ow;
17164
17164
  const Uu = "tooltip.open", [$o, rw] = /* @__PURE__ */ Oe("TooltipRoot");
17165
17165
  var lw = /* @__PURE__ */ A({
17166
17166
  __name: "TooltipRoot",
@@ -17203,7 +17203,7 @@ var lw = /* @__PURE__ */ A({
17203
17203
  },
17204
17204
  emits: ["update:open"],
17205
17205
  setup(e, { emit: a }) {
17206
- const t = e, n = st(), o = a;
17206
+ const t = e, n = ut(), o = a;
17207
17207
  pe();
17208
17208
  const r = So(), i = h(() => t.disableHoverableContent ?? r.disableHoverableContent.value), s = h(() => t.disableClosingTrigger ?? r.disableClosingTrigger.value), u = h(() => t.disabled ?? r.disabled.value), d = h(() => t.delayDuration ?? r.delayDuration.value), c = h(() => t.ignoreNonKeyboardFocus ?? r.ignoreNonKeyboardFocus.value), p = /* @__PURE__ */ ze(t, "open", o, {
17209
17209
  defaultValue: t.defaultOpen,
@@ -17212,7 +17212,7 @@ var lw = /* @__PURE__ */ A({
17212
17212
  me(p, (S) => {
17213
17213
  r.onClose && (S ? (r.onOpen(), (n?.eventTarget ?? document).dispatchEvent(new CustomEvent(Uu))) : r.onClose());
17214
17214
  });
17215
- const v = D(!1), m = D(), y = h(() => p.value ? v.value ? "delayed-open" : "instant-open" : "closed"), { start: _, stop: x } = jr(() => {
17215
+ const v = D(!1), m = D(), y = h(() => p.value ? v.value ? "delayed-open" : "instant-open" : "closed"), { start: _, stop: x } = Ur(() => {
17216
17216
  v.value = !0, p.value = !0;
17217
17217
  }, d, { immediate: !1 });
17218
17218
  function b() {
@@ -17249,7 +17249,7 @@ var lw = /* @__PURE__ */ A({
17249
17249
  _: 3
17250
17250
  }));
17251
17251
  }
17252
- }), yl = lw, iw = /* @__PURE__ */ A({
17252
+ }), hl = lw, iw = /* @__PURE__ */ A({
17253
17253
  __name: "TooltipContentImpl",
17254
17254
  props: {
17255
17255
  ariaLabel: {
@@ -17318,7 +17318,7 @@ var lw = /* @__PURE__ */ A({
17318
17318
  },
17319
17319
  emits: ["escapeKeyDown", "pointerDownOutside"],
17320
17320
  setup(e, { emit: a }) {
17321
- const t = e, n = st(), o = a, r = $o(), i = So(), { forwardRef: s, currentElement: u } = pe(), d = h(() => t.ariaLabel || u.value?.textContent), c = h(() => {
17321
+ const t = e, n = ut(), o = a, r = $o(), i = So(), { forwardRef: s, currentElement: u } = pe(), d = h(() => t.ariaLabel || u.value?.textContent), c = h(() => {
17322
17322
  const { ariaLabel: p, ...v } = t;
17323
17323
  return ws(v, i.content.value ?? {}, {
17324
17324
  side: "top",
@@ -17523,7 +17523,7 @@ var lw = /* @__PURE__ */ A({
17523
17523
  },
17524
17524
  emits: ["escapeKeyDown", "pointerDownOutside"],
17525
17525
  setup(e, { emit: a }) {
17526
- const t = e, n = a, o = $o(), r = dt(t, n), { forwardRef: i } = pe();
17526
+ const t = e, n = a, o = $o(), r = ct(t, n), { forwardRef: i } = pe();
17527
17527
  return (s, u) => (f(), E(l(gt), { present: s.forceMount || l(o).open.value }, {
17528
17528
  default: w(() => [(f(), E(Ne(l(o).disableHoverableContent.value ? Gu : uw), ee({ ref: l(i) }, l(r)), {
17529
17529
  default: w(() => [k(s.$slots, "default")]),
@@ -17532,7 +17532,7 @@ var lw = /* @__PURE__ */ A({
17532
17532
  _: 3
17533
17533
  }, 8, ["present"]));
17534
17534
  }
17535
- }), hl = dw, cw = /* @__PURE__ */ A({
17535
+ }), gl = dw, cw = /* @__PURE__ */ A({
17536
17536
  __name: "TooltipPortal",
17537
17537
  props: {
17538
17538
  to: {
@@ -17559,7 +17559,7 @@ var lw = /* @__PURE__ */ A({
17559
17559
  _: 3
17560
17560
  }, 16));
17561
17561
  }
17562
- }), gl = cw, fw = /* @__PURE__ */ A({
17562
+ }), bl = cw, fw = /* @__PURE__ */ A({
17563
17563
  __name: "TooltipTrigger",
17564
17564
  props: {
17565
17565
  reference: {
@@ -17636,7 +17636,7 @@ var lw = /* @__PURE__ */ A({
17636
17636
  _: 3
17637
17637
  }, 8, ["reference"]));
17638
17638
  }
17639
- }), bl = fw;
17639
+ }), xl = fw;
17640
17640
  function ao(e) {
17641
17641
  return e.reduce((a, t) => (a.push(t), t.children && a.push(...ao(t.children)), a), []);
17642
17642
  }
@@ -17711,7 +17711,7 @@ var mw = /* @__PURE__ */ A({
17711
17711
  },
17712
17712
  emits: ["update:modelValue", "update:expanded"],
17713
17713
  setup(e, { emit: a }) {
17714
- const t = e, n = a, { items: o, multiple: r, disabled: i, propagateSelect: s, dir: u, bubbleSelect: d } = Le(t), { handleTypeaheadSearch: c } = mn(), p = ut(u), v = D(), m = D(!1), y = /* @__PURE__ */ Sa(), _ = /* @__PURE__ */ ze(t, "modelValue", n, {
17714
+ const t = e, n = a, { items: o, multiple: r, disabled: i, propagateSelect: s, dir: u, bubbleSelect: d } = Le(t), { handleTypeaheadSearch: c } = mn(), p = dt(u), v = D(), m = D(!1), y = /* @__PURE__ */ Sa(), _ = /* @__PURE__ */ ze(t, "modelValue", n, {
17715
17715
  defaultValue: t.defaultValue ?? (r.value ? [] : void 0),
17716
17716
  passive: !0,
17717
17717
  deep: !0
@@ -17976,17 +17976,17 @@ var bw = /* @__PURE__ */ A({
17976
17976
  }, 8, ["value", "focusable"]));
17977
17977
  }
17978
17978
  }), xw = bw;
17979
- function xl(e) {
17979
+ function _l(e) {
17980
17980
  return e === void 0 ? Number.MIN_SAFE_INTEGER : Number(e);
17981
17981
  }
17982
- function _l(e) {
17982
+ function wl(e) {
17983
17983
  return e === void 0 ? Number.MAX_SAFE_INTEGER : Number(e);
17984
17984
  }
17985
17985
  function Yu(e) {
17986
17986
  const a = Math.abs(Number(e ?? 1));
17987
17987
  return Number.isFinite(a) && a > 0 ? a : 1;
17988
17988
  }
17989
- function _i(e) {
17989
+ function wi(e) {
17990
17990
  const a = String(e), [t, n] = a.split(/[eE]/), o = (t.split(".")[1] ?? "").length, r = n === void 0 ? 0 : Number(n);
17991
17991
  return Math.max(0, o - r);
17992
17992
  }
@@ -18001,7 +18001,7 @@ function qa(e, a) {
18001
18001
  if (n === !1 || !Number.isFinite(n)) return !1;
18002
18002
  t = n;
18003
18003
  }
18004
- return t = Math.min(_l(a.max), Math.max(xl(a.min), t)), a.precision !== void 0 && (t = Xu(t, a.precision)), Number.isFinite(t) ? t : !1;
18004
+ return t = Math.min(wl(a.max), Math.max(_l(a.min), t)), a.precision !== void 0 && (t = Xu(t, a.precision)), Number.isFinite(t) ? t : !1;
18005
18005
  }
18006
18006
  function Zu(e, a) {
18007
18007
  const t = e.trim();
@@ -18010,7 +18010,7 @@ function Zu(e, a) {
18010
18010
  return Number.isFinite(n) ? qa(n, a) : !1;
18011
18011
  }
18012
18012
  function Ju(e, a, t) {
18013
- const n = Yu(t.step), o = Math.max(_i(e), _i(n), t.precision ?? 0);
18013
+ const n = Yu(t.step), o = Math.max(wi(e), wi(n), t.precision ?? 0);
18014
18014
  return qa(Xu(e + a * n, o), t);
18015
18015
  }
18016
18016
  const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }, kw = ["value", "name", "placeholder", "disabled", "aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-disabled", "aria-activedescendant"], Cw = ["disabled", "aria-expanded", "aria-label"], Sw = ["disabled", "aria-label"], $w = {
@@ -18041,7 +18041,7 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18041
18041
  },
18042
18042
  emits: ["update:modelValue"],
18043
18043
  setup(e, { emit: a }) {
18044
- const t = He(), n = e, o = a, r = xt(), i = h(() => xl(n.min)), s = h(() => _l(n.max)), u = h(() => n.min !== void 0 && Number.isFinite(i.value)), d = h(() => n.max !== void 0 && Number.isFinite(s.value)), c = h(() => ({
18044
+ const t = He(), n = e, o = a, r = xt(), i = h(() => _l(n.min)), s = h(() => wl(n.max)), u = h(() => n.min !== void 0 && Number.isFinite(i.value)), d = h(() => n.max !== void 0 && Number.isFinite(s.value)), c = h(() => ({
18045
18045
  min: n.min,
18046
18046
  max: n.max,
18047
18047
  step: n.step,
@@ -18094,7 +18094,7 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18094
18094
  V.key === "ArrowUp" ? (V.preventDefault(), q(1)) : V.key === "ArrowDown" ? (V.preventDefault(), n.menu.length ? I() : q(-1)) : V.key === "Home" && u.value ? (V.preventDefault(), C(qa(i.value, c.value))) : V.key === "End" && d.value ? (V.preventDefault(), C(qa(s.value, c.value))) : V.key === "Enter" && S();
18095
18095
  }
18096
18096
  }
18097
- const { controlAttrs: W, wrapperAttrs: U, changed: L } = vt({ value: () => n.modelValue, disabled: () => n.disabled, id: () => n.id, ariaLabel: () => n.ariaLabel, ariaLabelledby: () => n.ariaLabelledby }), M = h(() => ({ increase: t("Increase value"), decrease: t("Decrease value"), presets: t("Preset values"), ...n.text }));
18097
+ const { controlAttrs: W, wrapperAttrs: U, changed: L } = st({ value: () => n.modelValue, disabled: () => n.disabled, id: () => n.id, ariaLabel: () => n.ariaLabel, ariaLabelledby: () => n.ariaLabelledby }), M = h(() => ({ increase: t("Increase value"), decrease: t("Decrease value"), presets: t("Preset values"), ...n.text }));
18098
18098
  return (V, N) => (f(), E(l(bo), {
18099
18099
  open: y.value,
18100
18100
  "onUpdate:open": N[8] || (N[8] = (G) => y.value = G)
@@ -18158,7 +18158,7 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18158
18158
  "aria-expanded": y.value,
18159
18159
  "aria-label": M.value.presets
18160
18160
  }, [
18161
- B(l(ft), {
18161
+ B(l(pt), {
18162
18162
  class: "size-3",
18163
18163
  "aria-hidden": "true"
18164
18164
  })
@@ -18282,7 +18282,7 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18282
18282
  },
18283
18283
  emits: ["update:modelValue", "input"],
18284
18284
  setup(e, { emit: a }) {
18285
- const n = je(e, { ariaLabel: "Slider" }), o = a, r = h(() => xl(n.min)), i = h(() => _l(n.max)), s = h(() => Yu(n.step)), u = h(() => !!n.withInput), d = h(() => typeof n.withInput == "object" ? n.withInput : {}), c = h(() => n.tip ?? !u.value), p = D(!1), v = h(() => ({
18285
+ const n = je(e, { ariaLabel: "Slider" }), o = a, r = h(() => _l(n.min)), i = h(() => wl(n.max)), s = h(() => Yu(n.step)), u = h(() => !!n.withInput), d = h(() => typeof n.withInput == "object" ? n.withInput : {}), c = h(() => n.tip ?? !u.value), p = D(!1), v = h(() => ({
18286
18286
  min: n.min,
18287
18287
  max: n.max,
18288
18288
  step: n.step,
@@ -18323,7 +18323,7 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18323
18323
  function O(K) {
18324
18324
  n.disabled || (K.key === "ArrowUp" ? (K.preventDefault(), C(1)) : K.key === "ArrowDown" ? (K.preventDefault(), C(-1)) : K.key === "Enter" && $());
18325
18325
  }
18326
- const { controlAttrs: T, wrapperAttrs: I, changed: R } = vt({ value: () => n.modelValue, disabled: () => n.disabled, ariaLabel: () => n.ariaLabel });
18326
+ const { controlAttrs: T, wrapperAttrs: I, changed: R } = st({ value: () => n.modelValue, disabled: () => n.disabled, ariaLabel: () => n.ariaLabel });
18327
18327
  return (K, P) => (f(), g("div", ee(l(I)(), {
18328
18328
  class: "flex min-w-0 w-full items-center gap-[var(--ui-space-4)]",
18329
18329
  "data-syno-pkg-land-ui": ""
@@ -18472,7 +18472,7 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18472
18472
  }, jw = {
18473
18473
  key: 2,
18474
18474
  class: "mt-2"
18475
- }, wi = 10, Uw = "conic-gradient(var(--ui-checkerboard) 0 25%, var(--ui-surface) 0 50%, var(--ui-checkerboard) 0 75%, var(--ui-surface) 0)", tD = /* @__PURE__ */ A({
18475
+ }, ki = 10, Uw = "conic-gradient(var(--ui-checkerboard) 0 25%, var(--ui-surface) 0 50%, var(--ui-checkerboard) 0 75%, var(--ui-surface) 0)", tD = /* @__PURE__ */ A({
18476
18476
  inheritAttrs: !1,
18477
18477
  __name: "ColorPicker",
18478
18478
  props: {
@@ -18507,7 +18507,7 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18507
18507
  }
18508
18508
  }
18509
18509
  function d(te, be) {
18510
- const Se = mi(te, be === "hsv" ? "hsb" : be);
18510
+ const Se = yi(te, be === "hsv" ? "hsb" : be);
18511
18511
  return be === "hex" ? Se.toUpperCase() : be === "hsv" ? Se.replace(/^hsb\(/i, "hsv(") : Se;
18512
18512
  }
18513
18513
  function c(te) {
@@ -18515,7 +18515,7 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18515
18515
  return be ? yr(be).toUpperCase() : void 0;
18516
18516
  }
18517
18517
  const p = xt(), v = D(!1), m = D(0), y = `${p}-palette`, _ = (te) => `${p}-swatch-${te}`, x = h(() => u(r.modelValue)), b = h(() => x.value ? yr(x.value).toUpperCase() : ""), $ = h(() => x.value ? s((x.value.alpha ?? 1) * r.alpha) : s(r.alpha)), C = h(
18518
- () => x.value ? mi({ ...x.value, alpha: $.value }, "rgb") : "transparent"
18518
+ () => x.value ? yi({ ...x.value, alpha: $.value }, "rgb") : "transparent"
18519
18519
  ), S = h(() => [r.ariaLabel, b.value].filter(Boolean).join(", ") || ue.value.choose);
18520
18520
  function q(te) {
18521
18521
  return { value: te, hex: c(te) };
@@ -18568,7 +18568,7 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18568
18568
  if (te.target?.getAttribute("role") !== "option") return;
18569
18569
  const Se = R.value.length;
18570
18570
  if (!Se) return;
18571
- const oe = { ArrowRight: 1, ArrowLeft: -1, ArrowDown: wi, ArrowUp: -wi }[te.key];
18571
+ const oe = { ArrowRight: 1, ArrowLeft: -1, ArrowDown: ki, ArrowUp: -ki }[te.key];
18572
18572
  let le;
18573
18573
  if (oe !== void 0 ? le = Math.min(Se - 1, Math.max(0, m.value + oe)) : te.key === "Home" ? le = 0 : te.key === "End" && (le = Se - 1), le !== void 0) {
18574
18574
  te.preventDefault(), m.value = le, M(le);
@@ -18583,7 +18583,7 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18583
18583
  me(v, (te) => {
18584
18584
  te && (m.value = Math.min(m.value, Math.max(0, R.value.length - 1)));
18585
18585
  }), a({ reset: W, showCustom: U, closeDropdown: L });
18586
- const { controlAttrs: Y, wrapperAttrs: H, changed: ae } = vt({ value: () => r.modelValue, disabled: () => r.disabled, ariaLabel: () => r.ariaLabel }), ue = h(() => ({ choose: n("Color"), common: n("Common colors"), palette: n("Palette"), custom: n("Custom colors"), ...r.text }));
18586
+ const { controlAttrs: Y, wrapperAttrs: H, changed: ae } = st({ value: () => r.modelValue, disabled: () => r.disabled, ariaLabel: () => r.ariaLabel }), ue = h(() => ({ choose: n("Color"), common: n("Common colors"), palette: n("Palette"), custom: n("Custom colors"), ...r.text }));
18587
18587
  return (te, be) => (f(), E(l(bo), {
18588
18588
  open: v.value,
18589
18589
  "onUpdate:open": be[0] || (be[0] = (Se) => v.value = Se),
@@ -18615,7 +18615,7 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18615
18615
  style: Ee({ backgroundColor: C.value })
18616
18616
  }, null, 4)
18617
18617
  ], 4),
18618
- B(l(ft), {
18618
+ B(l(pt), {
18619
18619
  class: "size-3 text-[var(--ui-text-muted)]",
18620
18620
  "aria-hidden": "true"
18621
18621
  })
@@ -18710,7 +18710,7 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18710
18710
  }, Xw = {
18711
18711
  key: 1,
18712
18712
  class: "mt-0.5 block text-[12px] leading-4 text-[var(--ui-text-secondary)]"
18713
- }, ki = /* @__PURE__ */ A({
18713
+ }, xr = /* @__PURE__ */ A({
18714
18714
  inheritAttrs: !1,
18715
18715
  __name: "Checkbox",
18716
18716
  props: {
@@ -18721,9 +18721,10 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18721
18721
  },
18722
18722
  emits: ["update:modelValue"],
18723
18723
  setup(e, { emit: a }) {
18724
- const t = e, n = a, { controlAttrs: o, wrapperAttrs: r, changed: i } = vt({ value: () => t.modelValue, disabled: () => t.disabled }), s = xt(), u = h(() => o().id ?? s);
18724
+ const t = e, n = a, { controlAttrs: o, wrapperAttrs: r, changed: i } = st({ value: () => t.modelValue, disabled: () => t.disabled }), s = xt(), u = h(() => o().id ?? s);
18725
18725
  return (d, c) => (f(), g("span", ee(l(r)(), {
18726
- class: ["inline-flex items-start gap-2 text-[13px] text-[var(--ui-text)]", t.disabled ? "cursor-default" : "cursor-pointer"],
18726
+ class: ["inline-flex items-start gap-2 align-top text-[13px] text-[var(--ui-text)]", t.disabled ? "cursor-default" : "cursor-pointer"],
18727
+ "data-ui-checkbox": "",
18727
18728
  "data-syno-pkg-land-ui": ""
18728
18729
  }), [
18729
18730
  B(l(du), ee({
@@ -18760,7 +18761,40 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18760
18761
  ], 10, Gw)) : F("", !0)
18761
18762
  ], 16));
18762
18763
  }
18763
- }), Zw = { key: 0 }, aD = /* @__PURE__ */ A({
18764
+ }), aD = /* @__PURE__ */ A({
18765
+ inheritAttrs: !1,
18766
+ __name: "CheckboxGroup",
18767
+ props: {
18768
+ modelValue: { default: () => [] },
18769
+ options: {},
18770
+ orientation: { default: "vertical" },
18771
+ disabled: { type: Boolean, default: !1 }
18772
+ },
18773
+ emits: ["update:modelValue"],
18774
+ setup(e, { emit: a }) {
18775
+ const t = e, n = a, { controlAttrs: o, wrapperAttrs: r, changed: i } = st({ value: () => t.modelValue, disabled: () => t.disabled });
18776
+ function s(u, d) {
18777
+ const c = t.options.map((v) => v.value), p = [
18778
+ ...c.filter((v) => v === u ? d : t.modelValue.includes(v)),
18779
+ ...t.modelValue.filter((v) => !c.includes(v))
18780
+ ];
18781
+ i(p), n("update:modelValue", p);
18782
+ }
18783
+ return (u, d) => (f(), g("div", ee({ role: "group" }, { ...l(r)(), ...l(o)() }, {
18784
+ class: t.orientation === "horizontal" ? "flex flex-wrap gap-y-2.5" : "grid justify-items-start gap-2.5",
18785
+ "data-syno-pkg-land-ui": ""
18786
+ }), [
18787
+ (f(!0), g(de, null, Ce(t.options, (c) => (f(), E(xr, {
18788
+ key: c.value,
18789
+ "model-value": t.modelValue.includes(c.value),
18790
+ label: c.label,
18791
+ description: c.description,
18792
+ disabled: t.disabled || c.disabled,
18793
+ "onUpdate:modelValue": (p) => s(c.value, p)
18794
+ }, null, 8, ["model-value", "label", "description", "disabled", "onUpdate:modelValue"]))), 128))
18795
+ ], 16));
18796
+ }
18797
+ }), Zw = { key: 0 }, nD = /* @__PURE__ */ A({
18764
18798
  inheritAttrs: !1,
18765
18799
  __name: "Switch",
18766
18800
  props: {
@@ -18770,7 +18804,7 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18770
18804
  },
18771
18805
  emits: ["update:modelValue"],
18772
18806
  setup(e, { emit: a }) {
18773
- const t = e, n = a, { controlAttrs: o, wrapperAttrs: r, changed: i } = vt({ value: () => t.modelValue, disabled: () => t.disabled });
18807
+ const t = e, n = a, { controlAttrs: o, wrapperAttrs: r, changed: i } = st({ value: () => t.modelValue, disabled: () => t.disabled });
18774
18808
  return (s, u) => (f(), g("label", ee(l(r)(), {
18775
18809
  class: ["inline-flex items-start gap-2 text-[13px] text-[var(--ui-text)]", t.disabled ? "cursor-default" : "cursor-pointer"],
18776
18810
  "data-syno-pkg-land-ui": ""
@@ -18794,7 +18828,7 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18794
18828
  }), Jw = { class: "block leading-4" }, Qw = {
18795
18829
  key: 0,
18796
18830
  class: "mt-0.5 block text-[12px] leading-4 text-[var(--ui-text-secondary)]"
18797
- }, nD = /* @__PURE__ */ A({
18831
+ }, oD = /* @__PURE__ */ A({
18798
18832
  inheritAttrs: !1,
18799
18833
  __name: "RadioGroup",
18800
18834
  props: {
@@ -18805,14 +18839,14 @@ const _w = ["disabled", "aria-label"], ww = { class: "relative min-w-0 flex-1" }
18805
18839
  },
18806
18840
  emits: ["update:modelValue"],
18807
18841
  setup(e, { emit: a }) {
18808
- const t = e, n = a, { controlAttrs: o, wrapperAttrs: r, changed: i } = vt({ value: () => t.modelValue, disabled: () => t.disabled });
18842
+ const t = e, n = a, { controlAttrs: o, wrapperAttrs: r, changed: i } = st({ value: () => t.modelValue, disabled: () => t.disabled });
18809
18843
  return (s, u) => (f(), E(l(ix), ee({
18810
18844
  required: l(o)()["aria-required"] === !0
18811
18845
  }, { ...l(r)(), ...l(o)() }, {
18812
18846
  "model-value": t.modelValue,
18813
18847
  disabled: t.disabled,
18814
18848
  orientation: t.orientation,
18815
- class: t.orientation === "horizontal" ? "flex flex-wrap gap-5" : "grid gap-2.5",
18849
+ class: t.orientation === "horizontal" ? "flex flex-wrap gap-x-[var(--ui-choice-inline-gap)] gap-y-2.5" : "grid gap-2.5",
18816
18850
  "data-syno-pkg-land-ui": "",
18817
18851
  "onUpdate:modelValue": u[0] || (u[0] = (d) => {
18818
18852
  l(i)(d), n("update:modelValue", String(d ?? ""));
@@ -18855,7 +18889,7 @@ function e0(e) {
18855
18889
  function t0(e) {
18856
18890
  return typeof e == "object" && e !== null && !Array.isArray(e);
18857
18891
  }
18858
- function xr(e) {
18892
+ function _r(e) {
18859
18893
  return e ? Array.isArray(e) ? e.length === 0 ? [] : e0(e[0]) ? e.map((a, t) => ({
18860
18894
  key: a.label ?? `group-${t}`,
18861
18895
  label: a.label,
@@ -18888,7 +18922,7 @@ function Ci(e, a, t) {
18888
18922
  return r.find((i) => o(i.value)) ?? r.find((i) => o(i.label));
18889
18923
  }
18890
18924
  function Qu(e) {
18891
- const a = h(() => xr(e.options())), t = D(null), n = D(!1);
18925
+ const a = h(() => _r(e.options())), t = D(null), n = D(!1);
18892
18926
  let o = 0;
18893
18927
  const r = h(() => typeof e.search() == "function"), i = h(() => e.query.value.trim()), s = h(() => i.value.length >= Math.max(1, e.minSearchChar())), u = h(() => r.value ? s.value ? t.value ?? [] : a.value : e.search() === !0 && s.value ? a0(a.value, i.value, e.caseSensitive()) : a.value);
18894
18928
  return me([i, r], async () => {
@@ -18902,7 +18936,7 @@ function Qu(e) {
18902
18936
  try {
18903
18937
  const p = await d(i.value);
18904
18938
  if (c !== o) return;
18905
- t.value = xr(p);
18939
+ t.value = _r(p);
18906
18940
  } catch {
18907
18941
  if (c !== o) return;
18908
18942
  t.value = [];
@@ -18945,9 +18979,9 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
18945
18979
  query: r,
18946
18980
  minSearchChar: () => n.minSearchChar,
18947
18981
  caseSensitive: () => n.caseSensitive
18948
- }), y = ct(/* @__PURE__ */ new Map());
18982
+ }), y = ft(/* @__PURE__ */ new Map());
18949
18983
  lt(() => {
18950
- for (const T of on(xr(n.options))) y.set(T.value, T.label);
18984
+ for (const T of on(_r(n.options))) y.set(T.value, T.label);
18951
18985
  for (const T of on(v.value)) y.set(T.value, T.label);
18952
18986
  });
18953
18987
  const _ = h(() => n.modelValue ? y.get(n.modelValue) ?? "" : "");
@@ -18976,7 +19010,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
18976
19010
  me(i, (T) => {
18977
19011
  p.value = !1, T || (r.value = "");
18978
19012
  });
18979
- const C = Cn(() => u.value?.$el, () => i.value), { controlAttrs: S, wrapperAttrs: q, changed: O } = vt({ value: () => n.modelValue, disabled: () => n.disabled });
19013
+ const C = Cn(() => u.value?.$el, () => i.value), { controlAttrs: S, wrapperAttrs: q, changed: O } = st({ value: () => n.modelValue, disabled: () => n.disabled });
18980
19014
  return (T, I) => (f(), g("div", ee(l(q)(), {
18981
19015
  class: "w-full min-w-[min(100%,8rem)]",
18982
19016
  "data-syno-pkg-land-ui": ""
@@ -19008,7 +19042,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19008
19042
  }, 8, ["placeholder"]),
19009
19043
  B(l(zx), { class: "flex shrink-0 items-center text-[var(--ui-text-muted)]" }, {
19010
19044
  default: w(() => [
19011
- B(l(ft), {
19045
+ B(l(pt), {
19012
19046
  class: "size-4",
19013
19047
  "aria-hidden": "true"
19014
19048
  })
@@ -19156,7 +19190,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19156
19190
  }, w0 = {
19157
19191
  key: 1,
19158
19192
  class: "px-2.5 py-2 text-[13px] text-[var(--ui-text-muted)]"
19159
- }, wl = /* @__PURE__ */ A({
19193
+ }, kl = /* @__PURE__ */ A({
19160
19194
  inheritAttrs: !1,
19161
19195
  __name: "ComboboxField",
19162
19196
  props: {
@@ -19197,7 +19231,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19197
19231
  function C(ce) {
19198
19232
  v.value || (y.value = ce), Ge(ce), o("update:modelValue", ce);
19199
19233
  }
19200
- const S = ct(/* @__PURE__ */ new Map()), { groups: q, searching: O } = Qu({
19234
+ const S = ft(/* @__PURE__ */ new Map()), { groups: q, searching: O } = Qu({
19201
19235
  options: () => n.options,
19202
19236
  search: () => n.search,
19203
19237
  query: r,
@@ -19306,7 +19340,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19306
19340
  }), me(() => n.options, () => {
19307
19341
  !i.value && !n.multiple && Y();
19308
19342
  });
19309
- const { controlAttrs: qe, wrapperAttrs: Re, changed: Ge } = vt({ value: () => x.value, disabled: () => n.disabled, ariaLabel: () => n.ariaLabel, ariaLabelledby: () => n.ariaLabelledby, invalid: () => !!s.value });
19343
+ const { controlAttrs: qe, wrapperAttrs: Re, changed: Ge } = st({ value: () => x.value, disabled: () => n.disabled, ariaLabel: () => n.ariaLabel, ariaLabelledby: () => n.ariaLabelledby, invalid: () => !!s.value });
19310
19344
  return (ce, _e) => (f(), E(l(Xm), ee(l(Re)(), {
19311
19345
  open: i.value,
19312
19346
  "onUpdate:open": _e[3] || (_e[3] = (X) => i.value = X),
@@ -19385,7 +19419,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19385
19419
  }, ["stop"])),
19386
19420
  onClick: $e(be, ["stop"])
19387
19421
  }, [
19388
- B(l(ft), {
19422
+ B(l(pt), {
19389
19423
  class: "size-4",
19390
19424
  "aria-hidden": "true"
19391
19425
  })
@@ -19466,7 +19500,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19466
19500
  _: 1
19467
19501
  }, 16, ["open", "model-value", "multiple", "disabled", "open-on-focus"]));
19468
19502
  }
19469
- }), oD = /* @__PURE__ */ A({
19503
+ }), rD = /* @__PURE__ */ A({
19470
19504
  __name: "Combobox",
19471
19505
  props: {
19472
19506
  options: {},
@@ -19497,7 +19531,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19497
19531
  function o(r) {
19498
19532
  n("update:modelValue", Array.isArray(r) ? r[0] ?? "" : r);
19499
19533
  }
19500
- return (r, i) => (f(), E(wl, ee(t, {
19534
+ return (r, i) => (f(), E(kl, ee(t, {
19501
19535
  multiple: !1,
19502
19536
  "onUpdate:modelValue": o,
19503
19537
  "onUpdate:loading": i[0] || (i[0] = (s) => n("update:loading", s)),
@@ -19510,7 +19544,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19510
19544
  onCloseDropdown: i[7] || (i[7] = (s) => n("close-dropdown"))
19511
19545
  }), null, 16));
19512
19546
  }
19513
- }), rD = /* @__PURE__ */ A({
19547
+ }), lD = /* @__PURE__ */ A({
19514
19548
  __name: "MultipleSelect",
19515
19549
  props: {
19516
19550
  options: {},
@@ -19541,7 +19575,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19541
19575
  function o(r) {
19542
19576
  n("update:modelValue", Array.isArray(r) ? r : r ? [r] : []);
19543
19577
  }
19544
- return (r, i) => (f(), E(wl, ee(t, {
19578
+ return (r, i) => (f(), E(kl, ee(t, {
19545
19579
  multiple: !0,
19546
19580
  "onUpdate:modelValue": o,
19547
19581
  "onUpdate:loading": i[0] || (i[0] = (s) => n("update:loading", s)),
@@ -19554,7 +19588,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19554
19588
  onCloseDropdown: i[7] || (i[7] = (s) => n("close-dropdown"))
19555
19589
  }), null, 16));
19556
19590
  }
19557
- }), lD = /* @__PURE__ */ A({
19591
+ }), iD = /* @__PURE__ */ A({
19558
19592
  __name: "SuperboxSelect",
19559
19593
  props: {
19560
19594
  options: {},
@@ -19585,7 +19619,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19585
19619
  function o(r) {
19586
19620
  n("update:modelValue", Array.isArray(r) ? r : r ? [r] : []);
19587
19621
  }
19588
- return (r, i) => (f(), E(wl, ee(t, {
19622
+ return (r, i) => (f(), E(kl, ee(t, {
19589
19623
  multiple: !0,
19590
19624
  "onUpdate:modelValue": o,
19591
19625
  "onUpdate:loading": i[0] || (i[0] = (s) => n("update:loading", s)),
@@ -19603,7 +19637,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19603
19637
  "data-ui-badge-dot": "",
19604
19638
  class: "size-1.5 shrink-0 rounded-full bg-current",
19605
19639
  "aria-hidden": "true"
19606
- }, iD = /* @__PURE__ */ A({
19640
+ }, sD = /* @__PURE__ */ A({
19607
19641
  __name: "Badge",
19608
19642
  props: {
19609
19643
  tone: { default: "neutral" }
@@ -19700,7 +19734,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19700
19734
  }), D0 = {
19701
19735
  class: "flex h-full min-h-32 w-full items-center justify-center",
19702
19736
  "data-syno-pkg-land-ui": ""
19703
- }, sD = /* @__PURE__ */ A({
19737
+ }, uD = /* @__PURE__ */ A({
19704
19738
  __name: "LoadingArea",
19705
19739
  props: {
19706
19740
  text: { default: "" }
@@ -19827,19 +19861,19 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19827
19861
  disabled: { type: Boolean, default: !1 }
19828
19862
  },
19829
19863
  setup(e) {
19830
- return (a, t) => (f(), E(l(ml), { "delay-duration": e.delay }, {
19864
+ return (a, t) => (f(), E(l(yl), { "delay-duration": e.delay }, {
19831
19865
  default: w(() => [
19832
- B(l(yl), { disabled: e.disabled }, {
19866
+ B(l(hl), { disabled: e.disabled }, {
19833
19867
  default: w(() => [
19834
- B(l(bl), ee(a.$attrs, { "as-child": "" }), {
19868
+ B(l(xl), ee(a.$attrs, { "as-child": "" }), {
19835
19869
  default: w(() => [
19836
19870
  k(a.$slots, "default")
19837
19871
  ]),
19838
19872
  _: 3
19839
19873
  }, 16),
19840
- B(l(gl), null, {
19874
+ B(l(bl), null, {
19841
19875
  default: w(() => [
19842
- B(l(hl), {
19876
+ B(l(gl), {
19843
19877
  side: e.side,
19844
19878
  "side-offset": 6,
19845
19879
  class: "z-[1100] max-w-72 rounded-[var(--ui-radius-sm)] bg-[var(--ui-tooltip-bg)] px-2.5 py-1.5 text-[12px] leading-4 text-[var(--ui-tooltip-fg)] shadow-[var(--ui-shadow-menu)] [overflow-wrap:anywhere] animate-[ui-fade-in_var(--ui-motion-fast)_var(--ui-motion-ease)]",
@@ -19861,7 +19895,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19861
19895
  _: 3
19862
19896
  }, 8, ["delay-duration"]));
19863
19897
  }
19864
- }), uD = /* @__PURE__ */ A({
19898
+ }), dD = /* @__PURE__ */ A({
19865
19899
  inheritAttrs: !1,
19866
19900
  __name: "Popover",
19867
19901
  props: {
@@ -19943,7 +19977,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
19943
19977
  }, [])
19944
19978
  );
19945
19979
  return (i, s) => {
19946
- const u = Rr("DropdownMenuItems", !0);
19980
+ const u = Mr("DropdownMenuItems", !0);
19947
19981
  return f(!0), g(de, null, Ce(r.value, (d) => (f(), g(de, {
19948
19982
  key: d.key
19949
19983
  }, [
@@ -20016,7 +20050,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
20016
20050
  onSelect: $e((c) => n("select", d.item.key), ["prevent"])
20017
20051
  }, {
20018
20052
  default: w(() => [
20019
- B(l(gi), { class: "flex size-4 shrink-0 items-center justify-center text-[var(--ui-primary)]" }, {
20053
+ B(l(bi), { class: "flex size-4 shrink-0 items-center justify-center text-[var(--ui-primary)]" }, {
20020
20054
  default: w(() => [
20021
20055
  B(l(bt), {
20022
20056
  class: "size-3.5",
@@ -20045,7 +20079,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
20045
20079
  onSelect: (p) => n("radio", c.value, c.key, d.group)
20046
20080
  }, {
20047
20081
  default: w(() => [
20048
- B(l(gi), { class: "flex size-4 shrink-0 items-center justify-center text-[var(--ui-primary)]" }, {
20082
+ B(l(bi), { class: "flex size-4 shrink-0 items-center justify-center text-[var(--ui-primary)]" }, {
20049
20083
  default: w(() => [
20050
20084
  B(l(bt), {
20051
20085
  class: "size-3.5",
@@ -20160,7 +20194,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
20160
20194
  _: 3
20161
20195
  }, 8, ["open"]));
20162
20196
  }
20163
- }), J0 = ["disabled"], Q0 = ["disabled", "aria-label"], Si = "inline-flex h-[var(--ui-control-md)] items-center border text-[length:var(--ui-font-size)] outline-none transition-[background-color,border-color,color,box-shadow,opacity] duration-[var(--ui-motion-fast)] ease-[var(--ui-motion-ease)] disabled:pointer-events-none", dD = /* @__PURE__ */ A({
20197
+ }), J0 = ["disabled"], Q0 = ["disabled", "aria-label"], Si = "inline-flex h-[var(--ui-control-md)] items-center border text-[length:var(--ui-font-size)] outline-none transition-[background-color,border-color,color,box-shadow,opacity] duration-[var(--ui-motion-fast)] ease-[var(--ui-motion-ease)] disabled:pointer-events-none", cD = /* @__PURE__ */ A({
20164
20198
  inheritAttrs: !1,
20165
20199
  __name: "SplitButton",
20166
20200
  props: {
@@ -20235,7 +20269,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
20235
20269
  setup(e, { emit: a }) {
20236
20270
  const t = a;
20237
20271
  return (n, o) => {
20238
- const r = Rr("ContextMenuItems", !0);
20272
+ const r = Mr("ContextMenuItems", !0);
20239
20273
  return f(!0), g(de, null, Ce(e.items, (i) => (f(), g(de, {
20240
20274
  key: i.key
20241
20275
  }, [
@@ -20324,7 +20358,7 @@ const o0 = { key: 0 }, r0 = { key: 1 }, l0 = { key: 2 }, i0 = {
20324
20358
  ], 64))), 128);
20325
20359
  };
20326
20360
  }
20327
- }), cD = /* @__PURE__ */ A({
20361
+ }), fD = /* @__PURE__ */ A({
20328
20362
  inheritAttrs: !1,
20329
20363
  __name: "ContextMenu",
20330
20364
  props: {
@@ -20711,7 +20745,7 @@ const _1 = /* @__PURE__ */ A({
20711
20745
  }), C1 = { class: "flex min-h-12 items-start justify-between gap-4 border-b border-[var(--ui-border)] px-4 py-3" }, S1 = { class: "min-w-0" }, $1 = { class: "min-h-0 flex-1 overflow-auto p-4" }, E1 = {
20712
20746
  key: 0,
20713
20747
  class: "flex flex-wrap min-h-12 items-center justify-end gap-2 border-t border-[var(--ui-border)] px-4 py-2.5"
20714
- }, fD = /* @__PURE__ */ A({
20748
+ }, pD = /* @__PURE__ */ A({
20715
20749
  inheritAttrs: !1,
20716
20750
  __name: "Sheet",
20717
20751
  props: {
@@ -20820,8 +20854,8 @@ const _1 = /* @__PURE__ */ A({
20820
20854
  _: 3
20821
20855
  }, 8, ["open"]));
20822
20856
  }
20823
- }), pD = ["m/d/Y", "d/m/Y", "Y-m-d", "d.m.Y", "d-m-Y"], vD = ["h:mm a", "HH:mm"], q1 = /^(\d{4})-(\d{2})-(\d{2})$/, A1 = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/, sd = /[Ymd]/g, pa = (e) => String(e).padStart(2, "0");
20824
- function _r(e, a, t) {
20857
+ }), vD = ["m/d/Y", "d/m/Y", "Y-m-d", "d.m.Y", "d-m-Y"], mD = ["h:mm a", "HH:mm"], q1 = /^(\d{4})-(\d{2})-(\d{2})$/, A1 = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2}))?$/, sd = /[Ymd]/g, pa = (e) => String(e).padStart(2, "0");
20858
+ function wr(e, a, t) {
20825
20859
  if (!Number.isInteger(e) || !Number.isInteger(a) || !Number.isInteger(t) || a < 1 || a > 12 || t < 1 || t > 31) return !1;
20826
20860
  const n = new Date(Date.UTC(e, a - 1, t));
20827
20861
  return n.getUTCFullYear() === e && n.getUTCMonth() === a - 1 && n.getUTCDate() === t;
@@ -20831,12 +20865,12 @@ function ud(e) {
20831
20865
  const a = A1.exec(e);
20832
20866
  if (a) {
20833
20867
  const [, n, o, r, i, s] = a;
20834
- return !_r(Number(n), Number(o), Number(r)) || Number(i) > 23 || Number(s) > 59 ? void 0 : { date: `${n}-${o}-${r}`, hours: Number(i), minutes: Number(s), hasTime: !0 };
20868
+ return !wr(Number(n), Number(o), Number(r)) || Number(i) > 23 || Number(s) > 59 ? void 0 : { date: `${n}-${o}-${r}`, hours: Number(i), minutes: Number(s), hasTime: !0 };
20835
20869
  }
20836
20870
  const t = q1.exec(e);
20837
20871
  if (t) {
20838
20872
  const [, n, o, r] = t;
20839
- return _r(Number(n), Number(o), Number(r)) ? { date: e, hours: 0, minutes: 0, hasTime: !1 } : void 0;
20873
+ return wr(Number(n), Number(o), Number(r)) ? { date: e, hours: 0, minutes: 0, hasTime: !1 } : void 0;
20840
20874
  }
20841
20875
  }
20842
20876
  function P1(e, a, t) {
@@ -20862,7 +20896,7 @@ function T1(e, a) {
20862
20896
  s[p] = Number(i[v + 1]);
20863
20897
  });
20864
20898
  const { Y: u, m: d, d: c } = s;
20865
- if (_r(u, d, c))
20899
+ if (wr(u, d, c))
20866
20900
  return `${u}-${pa(d)}-${pa(c)}`;
20867
20901
  }
20868
20902
  function D1(e, a, t) {
@@ -20885,7 +20919,7 @@ const I1 = ["disabled", "readonly", "placeholder", "onKeydown"], R1 = ["disabled
20885
20919
  }, N1 = ["checked"], K1 = {
20886
20920
  key: 1,
20887
20921
  class: "flex items-center gap-1.5"
20888
- }, W1 = ["aria-label"], H1 = ["value"], j1 = ["aria-label"], U1 = ["value"], G1 = ["aria-label"], Y1 = { value: "am" }, X1 = { value: "pm" }, Z1 = ["aria-label"], mD = /* @__PURE__ */ A({
20922
+ }, W1 = ["aria-label"], H1 = ["value"], j1 = ["aria-label"], U1 = ["value"], G1 = ["aria-label"], Y1 = { value: "am" }, X1 = { value: "pm" }, Z1 = ["aria-label"], yD = /* @__PURE__ */ A({
20889
20923
  inheritAttrs: !1,
20890
20924
  __name: "DatePicker",
20891
20925
  props: {
@@ -20914,7 +20948,7 @@ const I1 = ["disabled", "readonly", "placeholder", "onKeydown"], R1 = ["disabled
20914
20948
  const t = dn(() => {
20915
20949
  }), n = He(), o = e, r = h(() => o.locale ?? t.value), i = a, s = h(() => ud(o.modelValue)), u = h(() => s.value?.date), d = h(() => o.editable && !o.showTime), c = h(
20916
20950
  () => o.timeFormat ?? (o.enableHour24 ? "HH:mm" : "h:mm a")
20917
- ), p = ct({ hours: 0, minutes: 0, checked: !1 }), v = h(() => o.timeOptional ? p.checked : !0);
20951
+ ), p = ft({ hours: 0, minutes: 0, checked: !1 }), v = h(() => o.timeOptional ? p.checked : !0);
20918
20952
  me(
20919
20953
  s,
20920
20954
  (G) => {
@@ -21016,7 +21050,7 @@ const I1 = ["disabled", "readonly", "placeholder", "onKeydown"], R1 = ["disabled
21016
21050
  Ae(() => {
21017
21051
  o.editable && o.showTime && console.warn("[DatePicker] `editable` and `showTime` cannot be combined; `showTime` wins.");
21018
21052
  });
21019
- const { controlAttrs: L, wrapperAttrs: M, changed: V } = vt({ value: () => o.modelValue, disabled: () => o.disabled, ariaLabel: () => o.ariaLabel }), N = h(() => ({ placeholder: n("Select date"), previousMonth: n("Previous month"), nextMonth: n("Next month"), addTime: n("Add time"), hour: n("Hour"), minute: n("Minute"), meridiem: n("Meridiem"), clear: n("Clear date"), am: n("AM"), pm: n("PM"), ...o.text }));
21053
+ const { controlAttrs: L, wrapperAttrs: M, changed: V } = st({ value: () => o.modelValue, disabled: () => o.disabled, ariaLabel: () => o.ariaLabel }), N = h(() => ({ placeholder: n("Select date"), previousMonth: n("Previous month"), nextMonth: n("Next month"), addTime: n("Add time"), hour: n("Hour"), minute: n("Minute"), meridiem: n("Meridiem"), clear: n("Clear date"), am: n("AM"), pm: n("PM"), ...o.text }));
21020
21054
  return (G, Y) => (f(), g("div", ee(l(M)(), {
21021
21055
  class: "inline-flex min-w-0 w-full items-center",
21022
21056
  "data-syno-pkg-land-ui": ""
@@ -21083,7 +21117,7 @@ const I1 = ["disabled", "readonly", "placeholder", "onKeydown"], R1 = ["disabled
21083
21117
  class: "flex size-7 items-center justify-center rounded-[var(--ui-radius-sm)] text-[var(--ui-text-secondary)] outline-none hover:bg-[var(--ui-surface-hover)] focus-visible:shadow-[0_0_0_3px_var(--ui-focus-ring)]",
21084
21118
  "aria-label": N.value.previousMonth
21085
21119
  }, [
21086
- B(l(Mr), {
21120
+ B(l(Vr), {
21087
21121
  class: "size-4",
21088
21122
  "aria-hidden": "true"
21089
21123
  })
@@ -21122,7 +21156,7 @@ const I1 = ["disabled", "readonly", "placeholder", "onKeydown"], R1 = ["disabled
21122
21156
  default: w(() => [
21123
21157
  B(l(wb), null, {
21124
21158
  default: w(() => [
21125
- B(l(hi), null, {
21159
+ B(l(gi), null, {
21126
21160
  default: w(() => [
21127
21161
  (f(!0), g(de, null, Ce(ae, (te) => (f(), E(l(Sb), {
21128
21162
  key: te,
@@ -21141,7 +21175,7 @@ const I1 = ["disabled", "readonly", "placeholder", "onKeydown"], R1 = ["disabled
21141
21175
  }, 1024),
21142
21176
  B(l(xb), null, {
21143
21177
  default: w(() => [
21144
- (f(!0), g(de, null, Ce(ue.rows, (te, be) => (f(), E(l(hi), { key: be }, {
21178
+ (f(!0), g(de, null, Ce(ue.rows, (te, be) => (f(), E(l(gi), { key: be }, {
21145
21179
  default: w(() => [
21146
21180
  (f(!0), g(de, null, Ce(te, (Se) => (f(), E(l(rb), {
21147
21181
  key: Se.toString(),
@@ -21254,13 +21288,13 @@ const I1 = ["disabled", "readonly", "placeholder", "onKeydown"], R1 = ["disabled
21254
21288
  ], 16));
21255
21289
  }
21256
21290
  }), dd = /* @__PURE__ */ Symbol("syno-pkg-land-ui-toast-controller");
21257
- function yD() {
21291
+ function hD() {
21258
21292
  const e = Xe(dd);
21259
21293
  if (!e)
21260
21294
  throw new Error("useToast() requires a <ToastProvider> ancestor");
21261
21295
  return e;
21262
21296
  }
21263
- const J1 = { class: "min-w-0" }, Q1 = ["onClick"], hD = /* @__PURE__ */ A({
21297
+ const J1 = { class: "min-w-0" }, Q1 = ["onClick"], gD = /* @__PURE__ */ A({
21264
21298
  inheritAttrs: !1,
21265
21299
  __name: "ToastProvider",
21266
21300
  props: {
@@ -21278,7 +21312,7 @@ const J1 = { class: "min-w-0" }, Q1 = ["onClick"], hD = /* @__PURE__ */ A({
21278
21312
  info: un,
21279
21313
  success: os,
21280
21314
  warning: oo,
21281
- danger: Vr
21315
+ danger: Lr
21282
21316
  }[m];
21283
21317
  }
21284
21318
  function s(m) {
@@ -21414,7 +21448,7 @@ function cd(e, a, t, n = 0) {
21414
21448
  m.observe(r), c.forEach((y) => m.observe(y)), d(() => m.disconnect());
21415
21449
  }, { immediate: !0, flush: "post" }), o;
21416
21450
  }
21417
- const gD = /* @__PURE__ */ A({
21451
+ const bD = /* @__PURE__ */ A({
21418
21452
  __name: "Tabs",
21419
21453
  props: {
21420
21454
  modelValue: {},
@@ -21471,7 +21505,7 @@ const gD = /* @__PURE__ */ A({
21471
21505
  _: 3
21472
21506
  }, 8, ["model-value"]));
21473
21507
  }
21474
- }), bD = /* @__PURE__ */ A({
21508
+ }), xD = /* @__PURE__ */ A({
21475
21509
  __name: "Accordion",
21476
21510
  props: {
21477
21511
  items: {},
@@ -21502,7 +21536,7 @@ const gD = /* @__PURE__ */ A({
21502
21536
  default: w(() => [
21503
21537
  B(l(_p), { class: "group flex min-h-10 w-full items-center gap-2 py-2 text-left text-[13px] font-semibold text-[var(--ui-text)] outline-none hover:text-[var(--ui-primary-active)] focus-visible:shadow-[inset_0_0_0_2px_var(--ui-focus-ring)]" }, {
21504
21538
  default: w(() => [
21505
- B(l(ft), {
21539
+ B(l(pt), {
21506
21540
  class: "size-3.5 text-[var(--ui-primary)] transition-transform group-data-[state=open]:rotate-180",
21507
21541
  "aria-hidden": "true"
21508
21542
  }),
@@ -21551,16 +21585,16 @@ function ak(e) {
21551
21585
  function nk(e) {
21552
21586
  return tk[e];
21553
21587
  }
21554
- const kl = ct(/* @__PURE__ */ new Map());
21555
- function xD(e) {
21588
+ const Cl = ft(/* @__PURE__ */ new Map());
21589
+ function _D(e) {
21556
21590
  const a = Array.isArray(e) ? e : Object.entries(e).map(([t, n]) => ({ name: t, component: n }));
21557
- for (const { name: t, component: n } of a) kl.set(t, n);
21591
+ for (const { name: t, component: n } of a) Cl.set(t, n);
21558
21592
  }
21559
21593
  function ok(e) {
21560
- return kl.get(e);
21594
+ return Cl.get(e);
21561
21595
  }
21562
- function _D() {
21563
- kl.clear();
21596
+ function wD() {
21597
+ Cl.clear();
21564
21598
  }
21565
21599
  const Nn = /* @__PURE__ */ A({
21566
21600
  __name: "Icon",
@@ -21622,7 +21656,7 @@ function ik(e = "") {
21622
21656
  const a = e.lastIndexOf(".");
21623
21657
  return a <= 0 ? rr : lk.get(e.slice(a + 1).toLowerCase()) ?? rr;
21624
21658
  }
21625
- const wD = /* @__PURE__ */ A({
21659
+ const kD = /* @__PURE__ */ A({
21626
21660
  __name: "FileTypeIcon",
21627
21661
  props: {
21628
21662
  kind: { default: "file" },
@@ -21631,7 +21665,7 @@ const wD = /* @__PURE__ */ A({
21631
21665
  size: { default: "sm" }
21632
21666
  },
21633
21667
  setup(e) {
21634
- const a = e, t = h(() => a.kind === "folder" ? a.open ? Lr : Fr : ik(a.name)), n = h(() => a.kind === "folder" ? "var(--ui-file-folder)" : "var(--ui-file-icon)");
21668
+ const a = e, t = h(() => a.kind === "folder" ? a.open ? Fr : zr : ik(a.name)), n = h(() => a.kind === "folder" ? "var(--ui-file-folder)" : "var(--ui-file-icon)");
21635
21669
  return (o, r) => (f(), E(Nn, {
21636
21670
  "svg-icon": t.value,
21637
21671
  size: a.size,
@@ -21639,7 +21673,7 @@ const wD = /* @__PURE__ */ A({
21639
21673
  }, null, 8, ["svg-icon", "size", "style"]));
21640
21674
  }
21641
21675
  });
21642
- function kD(e) {
21676
+ function CD(e) {
21643
21677
  const a = D(null), t = h(() => Qe(e.disabled) ?? !1), n = h(() => ({
21644
21678
  role: "button",
21645
21679
  tabindex: t.value ? -1 : 0,
@@ -21723,7 +21757,7 @@ function yk(e, a = {}) {
21723
21757
  const r = new DOMParser().parseFromString(e, "text/html");
21724
21758
  return md(r.body, t, n, o);
21725
21759
  }
21726
- const hk = "cursor-pointer text-[var(--ui-primary)] underline underline-offset-2", CD = A({
21760
+ const hk = "cursor-pointer text-[var(--ui-primary)] underline underline-offset-2", SD = A({
21727
21761
  name: "RichText",
21728
21762
  props: {
21729
21763
  /** HTML string to parse and render. */
@@ -21771,7 +21805,7 @@ const hk = "cursor-pointer text-[var(--ui-primary)] underline underline-offset-2
21771
21805
  r(t.value, "n")
21772
21806
  );
21773
21807
  }
21774
- }), Cl = (e, a) => {
21808
+ }), Sl = (e, a) => {
21775
21809
  const t = e.__vccOpts || e;
21776
21810
  for (const [n, o] of a)
21777
21811
  t[n] = o;
@@ -21785,7 +21819,7 @@ function xk(e, a) {
21785
21819
  k(e.$slots, "default")
21786
21820
  ]);
21787
21821
  }
21788
- const SD = /* @__PURE__ */ Cl(gk, [["render", xk]]), Ha = "text-[length:var(--ui-font-size)] leading-[var(--ui-line-height)] text-[var(--ui-text)]", ja = "my-[var(--ui-space-5)]", _k = "font-mono text-[length:var(--ui-font-size-sm)]", wk = {
21822
+ const $D = /* @__PURE__ */ Sl(gk, [["render", xk]]), Ha = "text-[length:var(--ui-font-size)] leading-[var(--ui-line-height)] text-[var(--ui-text)]", ja = "my-[var(--ui-space-5)]", _k = "font-mono text-[length:var(--ui-font-size-sm)]", wk = {
21789
21823
  1: "text-[length:var(--ui-font-size-h1)]",
21790
21824
  2: "text-[length:var(--ui-font-size-h2)]",
21791
21825
  3: "text-[length:var(--ui-font-size-h3)]",
@@ -21808,7 +21842,7 @@ const Ck = {
21808
21842
  info: "text-[var(--ui-info)]",
21809
21843
  warn: "text-[var(--ui-warning)]",
21810
21844
  error: "text-[var(--ui-danger)]"
21811
- }, $D = /* @__PURE__ */ A({
21845
+ }, ED = /* @__PURE__ */ A({
21812
21846
  __name: "TypoBlockquote",
21813
21847
  setup(e) {
21814
21848
  return (a, t) => (f(), g("blockquote", {
@@ -21818,7 +21852,7 @@ const Ck = {
21818
21852
  k(a.$slots, "default")
21819
21853
  ], 2));
21820
21854
  }
21821
- }), ED = /* @__PURE__ */ A({
21855
+ }), qD = /* @__PURE__ */ A({
21822
21856
  __name: "TypoCode",
21823
21857
  setup(e) {
21824
21858
  return (a, t) => (f(), g("div", {
@@ -21839,7 +21873,7 @@ const Ck = {
21839
21873
  function Ak(e, a) {
21840
21874
  return f(), g("div", qk);
21841
21875
  }
21842
- const qD = /* @__PURE__ */ Cl(Ek, [["render", Ak]]), Pk = ["href", "aria-label"], AD = /* @__PURE__ */ A({
21876
+ const AD = /* @__PURE__ */ Sl(Ek, [["render", Ak]]), Pk = ["href", "aria-label"], PD = /* @__PURE__ */ A({
21843
21877
  __name: "TypoHeader",
21844
21878
  props: {
21845
21879
  text: { default: "" },
@@ -21878,7 +21912,7 @@ const qD = /* @__PURE__ */ Cl(Ek, [["render", Ak]]), Pk = ["href", "aria-label"]
21878
21912
  function Bk(e, a) {
21879
21913
  return f(), g("hr", Dk);
21880
21914
  }
21881
- const PD = /* @__PURE__ */ Cl(Tk, [["render", Bk]]), TD = /* @__PURE__ */ A({
21915
+ const TD = /* @__PURE__ */ Sl(Tk, [["render", Bk]]), DD = /* @__PURE__ */ A({
21882
21916
  __name: "TypoLi",
21883
21917
  setup(e) {
21884
21918
  return (a, t) => (f(), g("li", {
@@ -21892,7 +21926,7 @@ const PD = /* @__PURE__ */ Cl(Tk, [["render", Bk]]), TD = /* @__PURE__ */ A({
21892
21926
  k(a.$slots, "default")
21893
21927
  ], 2));
21894
21928
  }
21895
- }), DD = /* @__PURE__ */ A({
21929
+ }), BD = /* @__PURE__ */ A({
21896
21930
  __name: "TypoList",
21897
21931
  setup(e) {
21898
21932
  return (a, t) => (f(), g("ul", {
@@ -21902,7 +21936,7 @@ const PD = /* @__PURE__ */ Cl(Tk, [["render", Bk]]), TD = /* @__PURE__ */ A({
21902
21936
  k(a.$slots, "default")
21903
21937
  ], 2));
21904
21938
  }
21905
- }), BD = /* @__PURE__ */ A({
21939
+ }), OD = /* @__PURE__ */ A({
21906
21940
  __name: "TypoP",
21907
21941
  setup(e) {
21908
21942
  return (a, t) => (f(), g("p", {
@@ -21912,7 +21946,7 @@ const PD = /* @__PURE__ */ Cl(Tk, [["render", Bk]]), TD = /* @__PURE__ */ A({
21912
21946
  k(a.$slots, "default")
21913
21947
  ], 2));
21914
21948
  }
21915
- }), OD = /* @__PURE__ */ A({
21949
+ }), ID = /* @__PURE__ */ A({
21916
21950
  __name: "TypoTable",
21917
21951
  setup(e) {
21918
21952
  return (a, t) => (f(), g("div", {
@@ -21943,7 +21977,7 @@ const PD = /* @__PURE__ */ Cl(Tk, [["render", Bk]]), TD = /* @__PURE__ */ A({
21943
21977
  }, Rk = {
21944
21978
  key: 2,
21945
21979
  "data-syno-pkg-land-ui": ""
21946
- }, ID = /* @__PURE__ */ A({
21980
+ }, RD = /* @__PURE__ */ A({
21947
21981
  __name: "TypoText",
21948
21982
  props: {
21949
21983
  code: { type: Boolean, default: !1 },
@@ -21958,7 +21992,7 @@ const PD = /* @__PURE__ */ Cl(Tk, [["render", Bk]]), TD = /* @__PURE__ */ A({
21958
21992
  k(a.$slots, "default")
21959
21993
  ]));
21960
21994
  }
21961
- }), Mk = { class: "text-[var(--ui-text-secondary)]" }, RD = /* @__PURE__ */ A({
21995
+ }), Mk = { class: "text-[var(--ui-text-secondary)]" }, MD = /* @__PURE__ */ A({
21962
21996
  __name: "TypoTip",
21963
21997
  props: {
21964
21998
  type: { default: "info" },
@@ -21983,7 +22017,7 @@ const PD = /* @__PURE__ */ Cl(Tk, [["render", Bk]]), TD = /* @__PURE__ */ A({
21983
22017
  ])
21984
22018
  ], 2));
21985
22019
  }
21986
- }), Vk = { on: "primary", off: "secondary" }, Lk = "gap-[var(--ui-space-1)]", MD = /* @__PURE__ */ A({
22020
+ }), Vk = { on: "primary", off: "secondary" }, Lk = "gap-[var(--ui-space-1)]", VD = /* @__PURE__ */ A({
21987
22021
  inheritAttrs: !1,
21988
22022
  __name: "ToggleButton",
21989
22023
  props: {
@@ -22000,7 +22034,7 @@ const PD = /* @__PURE__ */ Cl(Tk, [["render", Bk]]), TD = /* @__PURE__ */ A({
22000
22034
  setup(e, { emit: a }) {
22001
22035
  const t = e, n = a, o = (v, { slots: m }) => m.default?.() ?? null;
22002
22036
  _t();
22003
- const r = vl(null), i = h(() => t.tooltip ? Sn : o), s = h(() => t.tooltip ? { content: t.tooltip } : {}), u = h(() => r ? ew : ju), d = h(
22037
+ const r = ml(null), i = h(() => t.tooltip ? Sn : o), s = h(() => t.tooltip ? { content: t.tooltip } : {}), u = h(() => r ? ew : ju), d = h(
22004
22038
  () => r ? { value: t.value, disabled: t.disabled, asChild: !0 } : {
22005
22039
  modelValue: t.modelValue,
22006
22040
  disabled: t.disabled,
@@ -22041,7 +22075,7 @@ const PD = /* @__PURE__ */ Cl(Tk, [["render", Bk]]), TD = /* @__PURE__ */ A({
22041
22075
  _: 3
22042
22076
  }, 16));
22043
22077
  }
22044
- }), VD = /* @__PURE__ */ A({
22078
+ }), LD = /* @__PURE__ */ A({
22045
22079
  __name: "ToggleButtonGroup",
22046
22080
  props: {
22047
22081
  modelValue: {},
@@ -22082,7 +22116,7 @@ const PD = /* @__PURE__ */ Cl(Tk, [["render", Bk]]), TD = /* @__PURE__ */ A({
22082
22116
  }), Fk = {
22083
22117
  key: 1,
22084
22118
  class: "flex size-4 shrink-0 items-center justify-center overflow-hidden rounded-full bg-[var(--ui-surface-hover)]"
22085
- }, zk = ["disabled", "aria-label"], LD = /* @__PURE__ */ A({
22119
+ }, zk = ["disabled", "aria-label"], FD = /* @__PURE__ */ A({
22086
22120
  inheritAttrs: !1,
22087
22121
  __name: "Tag",
22088
22122
  props: {
@@ -22213,12 +22247,12 @@ const PD = /* @__PURE__ */ Cl(Tk, [["render", Bk]]), TD = /* @__PURE__ */ A({
22213
22247
  },
22214
22248
  emits: ["scroll", "reach", "reach-top", "reach-bottom", "reach-left", "reach-right", "not-reach-top", "not-reach-bottom", "not-reach-left", "not-reach-right"],
22215
22249
  setup(e, { expose: a, emit: t }) {
22216
- const n = e, o = t, r = D(null), i = D(null), s = D(null), u = ct({
22250
+ const n = e, o = t, r = D(null), i = D(null), s = D(null), u = ft({
22217
22251
  viewWidth: 0,
22218
22252
  viewHeight: 0,
22219
22253
  scrollWidth: 0,
22220
22254
  scrollHeight: 0
22221
- }), d = ct({ left: 0, top: 0 }), c = ct({ top: !0, bottom: !0, left: !0, right: !0 }), p = D(!1), v = D(!1), m = h(() => u.scrollHeight - u.viewHeight > 0.5), y = h(() => u.scrollWidth - u.viewWidth > 0.5), _ = h(() => !n.disabled && n.showYRail && m.value), x = h(() => !n.disabled && n.showXRail && y.value), b = h(
22255
+ }), d = ft({ left: 0, top: 0 }), c = ft({ top: !0, bottom: !0, left: !0, right: !0 }), p = D(!1), v = D(!1), m = h(() => u.scrollHeight - u.viewHeight > 0.5), y = h(() => u.scrollWidth - u.viewWidth > 0.5), _ = h(() => !n.disabled && n.showYRail && m.value), x = h(() => !n.disabled && n.showXRail && y.value), b = h(
22222
22256
  () => !n.activeAdaptiveScrollbar || p.value || v.value
22223
22257
  ), $ = h(() => {
22224
22258
  if (!m.value) return 0;
@@ -22503,7 +22537,7 @@ const PD = /* @__PURE__ */ Cl(Tk, [["render", Bk]]), TD = /* @__PURE__ */ A({
22503
22537
  }, Wk = {
22504
22538
  "data-ghost-title": "",
22505
22539
  class: "min-w-0 flex-1 truncate"
22506
- }, FD = /* @__PURE__ */ A({
22540
+ }, zD = /* @__PURE__ */ A({
22507
22541
  __name: "Ghost",
22508
22542
  props: {
22509
22543
  title: { default: "" },
@@ -22571,7 +22605,7 @@ const PD = /* @__PURE__ */ Cl(Tk, [["render", Bk]]), TD = /* @__PURE__ */ A({
22571
22605
  class: "inline-flex max-w-[var(--ui-breadcrumb-item-max-width,180px)] min-w-0 items-center gap-1 truncate rounded-[var(--ui-radius-sm)] px-1.5 py-0.5 text-[length:var(--ui-font-size)] font-medium text-[var(--ui-text)] outline-none transition-colors duration-[var(--ui-motion-fast)] ease-[var(--ui-motion-ease)] hover:bg-[var(--ui-surface-hover)] focus-visible:shadow-[0_0_0_2px_var(--ui-focus-ring)]"
22572
22606
  }, [
22573
22607
  z("span", Gk, j(e.display), 1),
22574
- e.hasMenu ? (f(), E(l(ft), {
22608
+ e.hasMenu ? (f(), E(l(pt), {
22575
22609
  key: 0,
22576
22610
  class: "size-3 shrink-0 text-[var(--ui-text-muted)]",
22577
22611
  "aria-hidden": "true"
@@ -22602,7 +22636,7 @@ const Zk = {
22602
22636
  }, eC = ["aria-label", "title"], tC = {
22603
22637
  key: 0,
22604
22638
  class: "flex items-center"
22605
- }, aC = { class: "flex items-center" }, nC = { class: "flex items-center" }, oC = 18, rC = 28, zD = /* @__PURE__ */ A({
22639
+ }, aC = { class: "flex items-center" }, nC = { class: "flex items-center" }, oC = 18, rC = 28, ND = /* @__PURE__ */ A({
22606
22640
  __name: "Breadcrumb",
22607
22641
  props: {
22608
22642
  items: { default: () => [] },
@@ -22672,7 +22706,7 @@ const Zk = {
22672
22706
  title: l(n).collapsedLabel,
22673
22707
  class: "inline-flex size-6 items-center justify-center rounded-[var(--ui-radius-sm)] text-[var(--ui-text-secondary)] outline-none transition-colors duration-[var(--ui-motion-fast)] ease-[var(--ui-motion-ease)] hover:bg-[var(--ui-surface-hover)] hover:text-[var(--ui-text)] focus-visible:shadow-[0_0_0_2px_var(--ui-focus-ring)]"
22674
22708
  }, [
22675
- B(l(Nl), {
22709
+ B(l(Kl), {
22676
22710
  class: "size-3.5",
22677
22711
  "aria-hidden": "true"
22678
22712
  })
@@ -22813,7 +22847,7 @@ const Zk = {
22813
22847
  tabindex: "-1",
22814
22848
  class: "inline-flex size-6 items-center justify-center"
22815
22849
  }, [
22816
- B(l(Nl), {
22850
+ B(l(Kl), {
22817
22851
  class: "size-3.5",
22818
22852
  "aria-hidden": "true"
22819
22853
  })
@@ -22873,7 +22907,7 @@ const dC = ["aria-label"], cC = {
22873
22907
  }, hC = {
22874
22908
  key: 2,
22875
22909
  class: "flex shrink-0 items-center gap-1.5 text-[var(--ui-text-secondary)]"
22876
- }, gC = { class: "sr-only" }, bC = { class: "block w-[98px]" }, ND = /* @__PURE__ */ A({
22910
+ }, gC = { class: "sr-only" }, bC = { class: "block w-[98px]" }, KD = /* @__PURE__ */ A({
22877
22911
  __name: "Pagination",
22878
22912
  props: {
22879
22913
  modelValue: { default: 1 },
@@ -22988,7 +23022,7 @@ const dC = ["aria-label"], cC = {
22988
23022
  onClick: L[1] || (L[1] = (M) => I(c.value - o.pageShiftUnit))
22989
23023
  }, {
22990
23024
  default: w(() => [
22991
- B(l(Mr), { class: "size-3.5" })
23025
+ B(l(Vr), { class: "size-3.5" })
22992
23026
  ]),
22993
23027
  _: 1
22994
23028
  }, 8, ["label", "disabled"]),
@@ -23061,7 +23095,7 @@ const dC = ["aria-label"], cC = {
23061
23095
  function xC() {
23062
23096
  return Xe(hd, void 0);
23063
23097
  }
23064
- const _C = ["aria-label", "aria-labelledby"], KD = /* @__PURE__ */ A({
23098
+ const _C = ["aria-label", "aria-labelledby"], WD = /* @__PURE__ */ A({
23065
23099
  __name: "SegmentControl",
23066
23100
  props: {
23067
23101
  modelValue: { default: "" },
@@ -23122,7 +23156,7 @@ const _C = ["aria-label", "aria-labelledby"], KD = /* @__PURE__ */ A({
23122
23156
  }, SC = {
23123
23157
  key: 2,
23124
23158
  class: "flex shrink-0 items-center"
23125
- }, $C = ["role", "aria-label", "aria-hidden"], WD = /* @__PURE__ */ A({
23159
+ }, $C = ["role", "aria-label", "aria-hidden"], HD = /* @__PURE__ */ A({
23126
23160
  inheritAttrs: !1,
23127
23161
  __name: "SegmentItem",
23128
23162
  props: {
@@ -23215,7 +23249,7 @@ const _C = ["aria-label", "aria-labelledby"], KD = /* @__PURE__ */ A({
23215
23249
  },
23216
23250
  emits: ["update:modelValue"],
23217
23251
  setup(e, { emit: a }) {
23218
- const n = je(e, { placeholder: "Search", clearLabel: "Clear search" }), o = a, { controlAttrs: r, wrapperAttrs: i, changed: s } = vt({ value: () => n.modelValue, disabled: () => n.disabled });
23252
+ const n = je(e, { placeholder: "Search", clearLabel: "Clear search" }), o = a, { controlAttrs: r, wrapperAttrs: i, changed: s } = st({ value: () => n.modelValue, disabled: () => n.disabled });
23219
23253
  return (u, d) => (f(), g("div", ee(l(i)(), {
23220
23254
  class: "relative block min-w-0",
23221
23255
  "data-syno-pkg-land-ui": ""
@@ -23267,9 +23301,9 @@ function la(e) {
23267
23301
  }), t.observe(e.value)));
23268
23302
  }), Ke(() => t?.disconnect()), a;
23269
23303
  }
23270
- const PC = { xs: "96px", sm: "160px", md: "320px", lg: "480px" }, wr = "md";
23271
- function Sl(e) {
23272
- const a = e ?? wr;
23304
+ const PC = { xs: "96px", sm: "160px", md: "320px", lg: "480px" }, kr = "md";
23305
+ function $l(e) {
23306
+ const a = e ?? kr;
23273
23307
  return a === "full" ? void 0 : PC[a] ?? a;
23274
23308
  }
23275
23309
  const TC = ["data-direction"], DC = {
@@ -23278,7 +23312,7 @@ const TC = ["data-direction"], DC = {
23278
23312
  }, BC = { class: "min-w-0" }, OC = {
23279
23313
  key: 0,
23280
23314
  class: "mt-1 text-[12px] leading-4 text-[var(--ui-text-secondary)]"
23281
- }, HD = /* @__PURE__ */ A({
23315
+ }, jD = /* @__PURE__ */ A({
23282
23316
  __name: "SettingsRow",
23283
23317
  props: {
23284
23318
  label: {},
@@ -23288,7 +23322,7 @@ const TC = ["data-direction"], DC = {
23288
23322
  fieldWidth: { default: void 0 }
23289
23323
  },
23290
23324
  setup(e) {
23291
- const a = e, t = h(() => a.align ?? (a.description ? "start" : "center")), n = h(() => ({ maxWidth: Sl(a.fieldWidth) })), o = Fe("root"), r = la(o), i = h(() => r.value > 0 && r.value < 520), s = h(() => ({
23325
+ const a = e, t = h(() => a.align ?? (a.description ? "start" : "center")), n = h(() => ({ maxWidth: $l(a.fieldWidth) })), o = Fe("root"), r = la(o), i = h(() => r.value > 0 && r.value < 520), s = h(() => ({
23292
23326
  gridTemplateColumns: i.value ? "minmax(0, 1fr)" : "minmax(0, var(--ui-label-column)) minmax(0, 1fr)",
23293
23327
  columnGap: "var(--ui-label-gap)"
23294
23328
  }));
@@ -23352,7 +23386,7 @@ function RC(e, a) {
23352
23386
  });
23353
23387
  }, { flush: "post" }), t;
23354
23388
  }
23355
- const MC = ["data-sticky"], jD = /* @__PURE__ */ A({
23389
+ const MC = ["data-sticky"], UD = /* @__PURE__ */ A({
23356
23390
  __name: "FormActions",
23357
23391
  props: {
23358
23392
  align: { default: "start" },
@@ -23385,7 +23419,7 @@ const MC = ["data-sticky"], jD = /* @__PURE__ */ A({
23385
23419
  }), VC = {
23386
23420
  class: "flex flex-col gap-2",
23387
23421
  "data-syno-pkg-land-ui": ""
23388
- }, UD = /* @__PURE__ */ A({
23422
+ }, GD = /* @__PURE__ */ A({
23389
23423
  __name: "RepeatRows",
23390
23424
  props: {
23391
23425
  addLabel: {},
@@ -23412,7 +23446,7 @@ const MC = ["data-sticky"], jD = /* @__PURE__ */ A({
23412
23446
  }, 8, ["disabled"])
23413
23447
  ]));
23414
23448
  }
23415
- }), GD = /* @__PURE__ */ A({
23449
+ }), YD = /* @__PURE__ */ A({
23416
23450
  __name: "RepeatRow",
23417
23451
  props: {
23418
23452
  removable: { type: Boolean, default: !0 },
@@ -23434,7 +23468,7 @@ const MC = ["data-sticky"], jD = /* @__PURE__ */ A({
23434
23468
  }
23435
23469
  return Ae(() => {
23436
23470
  s(), !(typeof ResizeObserver > "u" || !o.value) && (i = new ResizeObserver(s), i.observe(o.value));
23437
- }), Or(() => {
23471
+ }), Ir(() => {
23438
23472
  Pe(s);
23439
23473
  }), Ke(() => i?.disconnect()), (u, d) => (f(), g("div", {
23440
23474
  ref_key: "root",
@@ -23468,14 +23502,14 @@ const MC = ["data-sticky"], jD = /* @__PURE__ */ A({
23468
23502
  }, 8, ["style", "label", "disabled"])) : F("", !0)
23469
23503
  ], 512));
23470
23504
  }
23471
- }), YD = /* @__PURE__ */ A({
23505
+ }), XD = /* @__PURE__ */ A({
23472
23506
  __name: "FieldCell",
23473
23507
  props: {
23474
23508
  width: { default: "md" }
23475
23509
  },
23476
23510
  setup(e) {
23477
23511
  const a = e, t = h(() => {
23478
- const n = Sl(a.width);
23512
+ const n = $l(a.width);
23479
23513
  return n === void 0 ? { flex: "1 1 160px", minWidth: 0 } : { width: n, maxWidth: "100%", flex: "none" };
23480
23514
  });
23481
23515
  return (n, o) => (f(), g("div", {
@@ -23489,7 +23523,7 @@ const MC = ["data-sticky"], jD = /* @__PURE__ */ A({
23489
23523
  function qo(e) {
23490
23524
  return e != null && !Number.isNaN(e);
23491
23525
  }
23492
- function kr(e, a = {}) {
23526
+ function Cr(e, a = {}) {
23493
23527
  if (!qo(e)) return a.unknown ?? Oa;
23494
23528
  if (e < 1024) return `${e} B`;
23495
23529
  let t = e / 1024, n = 0;
@@ -23497,8 +23531,8 @@ function kr(e, a = {}) {
23497
23531
  t /= 1024, n += 1;
23498
23532
  return `${Number(t.toFixed(1))} ${Pi[n]}`;
23499
23533
  }
23500
- function XD(e, a = {}) {
23501
- return qo(e) ? `${kr(e)}/s` : a.unknown ?? Oa;
23534
+ function ZD(e, a = {}) {
23535
+ return qo(e) ? `${Cr(e)}/s` : a.unknown ?? Oa;
23502
23536
  }
23503
23537
  const LC = [
23504
23538
  ["second", 60],
@@ -23508,13 +23542,13 @@ const LC = [
23508
23542
  ["month", 12],
23509
23543
  ["year", 1 / 0]
23510
23544
  ];
23511
- function ZD(e, a = {}) {
23545
+ function JD(e, a = {}) {
23512
23546
  return qo(e) ? new Intl.NumberFormat(a.locale ?? "en", { style: "percent", maximumFractionDigits: 1 }).format(e) : a.unknown ?? Oa;
23513
23547
  }
23514
23548
  function Ti(e, a, t) {
23515
23549
  return new Intl.NumberFormat(e, { style: "unit", unit: a, unitDisplay: "short" }).format(t);
23516
23550
  }
23517
- function JD(e, a = {}) {
23551
+ function QD(e, a = {}) {
23518
23552
  if (!qo(e) || e < 0) return a.unknown ?? Oa;
23519
23553
  if (e > 0 && e < 1) return "<0:01";
23520
23554
  const t = Math.round(e);
@@ -23522,7 +23556,7 @@ function JD(e, a = {}) {
23522
23556
  const n = a.locale ?? "en";
23523
23557
  return `${Ti(n, "hour", Math.floor(t / 3600))} ${Ti(n, "minute", Math.floor(t % 3600 / 60))}`;
23524
23558
  }
23525
- function QD(e, a = {}) {
23559
+ function eB(e, a = {}) {
23526
23560
  const t = e == null ? Number.NaN : new Date(e).getTime();
23527
23561
  if (Number.isNaN(t)) return a.unknown ?? Oa;
23528
23562
  const n = new Intl.RelativeTimeFormat(a.locale ?? "en", { numeric: "auto" });
@@ -23562,7 +23596,7 @@ const FC = ["data-collapsible", "aria-busy"], zC = {
23562
23596
  key: 3,
23563
23597
  "data-ui-settings-footer": "",
23564
23598
  class: "mt-4 flex flex-wrap items-center gap-2"
23565
- }, eB = /* @__PURE__ */ A({
23599
+ }, tB = /* @__PURE__ */ A({
23566
23600
  __name: "SettingsSection",
23567
23601
  props: {
23568
23602
  title: {},
@@ -23594,7 +23628,7 @@ const FC = ["data-collapsible", "aria-busy"], zC = {
23594
23628
  onClick: p[0] || (p[0] = //@ts-ignore
23595
23629
  (...v) => l(i) && l(i)(...v))
23596
23630
  }, [
23597
- B(l(ft), {
23631
+ B(l(pt), {
23598
23632
  class: ne(["size-4 shrink-0 transition-transform", !l(r) && "-rotate-90"]),
23599
23633
  "aria-hidden": "true"
23600
23634
  }, null, 8, ["class"]),
@@ -23730,7 +23764,7 @@ const JC = {
23730
23764
  }, lS = {
23731
23765
  key: 2,
23732
23766
  class: "mt-2 flex flex-wrap items-center gap-2"
23733
- }, iS = ["aria-label"], tB = /* @__PURE__ */ A({
23767
+ }, iS = ["aria-label"], aB = /* @__PURE__ */ A({
23734
23768
  __name: "Callout",
23735
23769
  props: {
23736
23770
  tone: { default: "info" },
@@ -23741,7 +23775,7 @@ const JC = {
23741
23775
  },
23742
23776
  emits: ["close"],
23743
23777
  setup(e, { emit: a }) {
23744
- const n = je(e, { closeLabel: "Close" }), o = a, r = h(() => ({ info: un, success: os, warning: oo, danger: Vr })[n.tone]);
23778
+ const n = je(e, { closeLabel: "Close" }), o = a, r = h(() => ({ info: un, success: os, warning: oo, danger: Lr })[n.tone]);
23745
23779
  return (i, s) => (f(), g("div", {
23746
23780
  class: "ui-callout flex gap-2.5 py-2.5 pl-3.5 pr-3 text-[13px] leading-5",
23747
23781
  "data-tone": e.tone,
@@ -23796,7 +23830,7 @@ const JC = {
23796
23830
  }, mS = {
23797
23831
  key: 0,
23798
23832
  class: "shrink-0"
23799
- }, aB = /* @__PURE__ */ A({
23833
+ }, nB = /* @__PURE__ */ A({
23800
23834
  __name: "StepList",
23801
23835
  props: {
23802
23836
  items: {},
@@ -23949,7 +23983,7 @@ const JC = {
23949
23983
  }, BS = {
23950
23984
  key: 0,
23951
23985
  class: "ui-topology-footer"
23952
- }, nB = /* @__PURE__ */ A({
23986
+ }, oB = /* @__PURE__ */ A({
23953
23987
  __name: "ConnectionTopology",
23954
23988
  props: {
23955
23989
  target: {},
@@ -24084,7 +24118,7 @@ const JC = {
24084
24118
  }, VS = {
24085
24119
  key: 2,
24086
24120
  class: "mt-4 flex items-center gap-2"
24087
- }, oB = /* @__PURE__ */ A({
24121
+ }, rB = /* @__PURE__ */ A({
24088
24122
  __name: "EmptyState",
24089
24123
  props: {
24090
24124
  title: {},
@@ -24110,7 +24144,7 @@ const JC = {
24110
24144
  function xd(e, a = "web") {
24111
24145
  return e <= 0 ? "window" : e <= bd ? "mobile" : e >= LS && a === "web" ? "web" : "window";
24112
24146
  }
24113
- const Po = /* @__PURE__ */ Symbol("syno-app-presentation"), FS = 248, Cr = 200, Sr = 360, $l = /* @__PURE__ */ Symbol("syno-app-sidebar-collapsed");
24147
+ const Po = /* @__PURE__ */ Symbol("syno-app-presentation"), FS = 248, Sr = 200, $r = 360, El = /* @__PURE__ */ Symbol("syno-app-sidebar-collapsed");
24114
24148
  function zS(e) {
24115
24149
  const a = D(!1), t = D(!1);
24116
24150
  let n;
@@ -24160,7 +24194,7 @@ const NS = ["data-overflow-start", "data-overflow-end"], _d = /* @__PURE__ */ A(
24160
24194
  "data-ui-mobile-cards": "",
24161
24195
  class: "grid gap-3",
24162
24196
  role: "list"
24163
- }, jS = { class: "m-0 grid gap-2" }, US = { class: "break-words text-[12px] text-[var(--ui-text-secondary)]" }, GS = { class: "m-0 min-w-0 break-words text-[13px] text-[var(--ui-text)]" }, YS = { class: "w-full border-collapse text-[13px]" }, XS = { class: "bg-[var(--ui-surface-subtle)] text-[var(--ui-text-secondary)]" }, ZS = { key: 0 }, JS = ["colspan"], rB = /* @__PURE__ */ A({
24197
+ }, jS = { class: "m-0 grid gap-2" }, US = { class: "break-words text-[12px] text-[var(--ui-text-secondary)]" }, GS = { class: "m-0 min-w-0 break-words text-[13px] text-[var(--ui-text)]" }, YS = { class: "w-full border-collapse text-[13px]" }, XS = { class: "bg-[var(--ui-surface-subtle)] text-[var(--ui-text-secondary)]" }, ZS = { key: 0 }, JS = ["colspan"], lB = /* @__PURE__ */ A({
24164
24198
  __name: "DataTable",
24165
24199
  props: {
24166
24200
  columns: {},
@@ -24259,7 +24293,7 @@ const NS = ["data-overflow-start", "data-overflow-end"], _d = /* @__PURE__ */ A(
24259
24293
  }))
24260
24294
  ], 8, KS));
24261
24295
  }
24262
- }), QS = ["data-layout", "data-wrap"], e$ = ["title", "disabled"], t$ = ["title"], a$ = ["title"], lB = /* @__PURE__ */ A({
24296
+ }), QS = ["data-layout", "data-wrap"], e$ = ["title", "disabled"], t$ = ["title"], a$ = ["title"], iB = /* @__PURE__ */ A({
24263
24297
  __name: "CellText",
24264
24298
  props: {
24265
24299
  text: {},
@@ -24340,7 +24374,7 @@ const NS = ["data-overflow-start", "data-overflow-end"], _d = /* @__PURE__ */ A(
24340
24374
  key: 1,
24341
24375
  "data-ui-cell-secondary": "",
24342
24376
  class: "min-w-0 text-[length:var(--ui-font-size-sm)] leading-4 text-[var(--ui-text-secondary)] tabular-nums [overflow-wrap:anywhere]"
24343
- }, iB = /* @__PURE__ */ A({
24377
+ }, sB = /* @__PURE__ */ A({
24344
24378
  __name: "CellStatus",
24345
24379
  props: {
24346
24380
  label: {},
@@ -24395,7 +24429,7 @@ const NS = ["data-overflow-start", "data-overflow-end"], _d = /* @__PURE__ */ A(
24395
24429
  key: 0,
24396
24430
  "data-ui-list-item-actions": "",
24397
24431
  class: "flex shrink-0 flex-wrap items-center gap-[var(--ui-space-2)]"
24398
- }, sB = /* @__PURE__ */ A({
24432
+ }, uB = /* @__PURE__ */ A({
24399
24433
  __name: "ListItem",
24400
24434
  props: {
24401
24435
  title: {},
@@ -24435,7 +24469,7 @@ const NS = ["data-overflow-start", "data-overflow-end"], _d = /* @__PURE__ */ A(
24435
24469
  key: 0,
24436
24470
  "data-ui-statistic-note": "",
24437
24471
  class: "text-[length:var(--ui-font-size-sm)] leading-4 text-[var(--ui-text-secondary)]"
24438
- }, uB = /* @__PURE__ */ A({
24472
+ }, dB = /* @__PURE__ */ A({
24439
24473
  __name: "Statistic",
24440
24474
  props: {
24441
24475
  label: {},
@@ -24530,7 +24564,7 @@ const _$ = {
24530
24564
  key: 1,
24531
24565
  class: "h-4 border-l border-[var(--ui-border)]",
24532
24566
  "aria-hidden": "true"
24533
- }, Ii = 40, Ri = 32, Mi = 32, dB = /* @__PURE__ */ A({
24567
+ }, Ii = 40, Ri = 32, Mi = 32, cB = /* @__PURE__ */ A({
24534
24568
  __name: "DataGrid",
24535
24569
  props: {
24536
24570
  columns: {},
@@ -24717,20 +24751,20 @@ const _$ = {
24717
24751
  Z.key === "ArrowUp" ? (Z.preventDefault(), tt(re)) : Z.key === "ArrowDown" && (Z.preventDefault(), at(re));
24718
24752
  }
24719
24753
  const Zt = D(null);
24720
- function Ol(Z, re) {
24754
+ function Il(Z, re) {
24721
24755
  return Zt.value?.key === c(Z) && Zt.value?.column === re.key;
24722
24756
  }
24723
24757
  function Dd(Z, re) {
24724
24758
  Zt.value = { key: c(Z), column: re.key }, r("cellEditStart", { row: Z, column: re, key: c(Z) });
24725
24759
  }
24726
24760
  function Bd(Z, re) {
24727
- Ol(Z, re) && (Zt.value = null, r("cellEditEnd", { row: Z, column: re, key: c(Z) }));
24761
+ Il(Z, re) && (Zt.value = null, r("cellEditEnd", { row: Z, column: re, key: c(Z) }));
24728
24762
  }
24729
24763
  function Od(Z, re, J) {
24730
24764
  const xe = Z[re.key];
24731
24765
  m(v.value.map((Ve) => Ve === Z ? { ...Ve, [re.key]: J } : Ve)), r("cellUpdate", { row: Z, column: re, key: c(Z), value: J, previous: xe });
24732
24766
  }
24733
- const Il = D(null), $n = D({});
24767
+ const Rl = D(null), $n = D({});
24734
24768
  me(() => o.columnWidths, () => {
24735
24769
  $n.value = {};
24736
24770
  });
@@ -24741,22 +24775,22 @@ const _$ = {
24741
24775
  return $n.value[Z.key] ?? o.columnWidths?.[Z.key] ?? Bi(Z.width);
24742
24776
  }
24743
24777
  function Id(Z) {
24744
- const J = Il.value?.querySelector(`[data-column="${CSS.escape(Z.key)}"]`)?.getBoundingClientRect().width;
24778
+ const J = Rl.value?.querySelector(`[data-column="${CSS.escape(Z.key)}"]`)?.getBoundingClientRect().width;
24745
24779
  return J || Math.max(x$, Do(Z));
24746
24780
  }
24747
- function Rl() {
24781
+ function Ml() {
24748
24782
  return Object.fromEntries(o.columns.map((Z) => [Z.key, Ua(Z) ?? Id(Z)]));
24749
24783
  }
24750
- const sa = h(() => o.columns.every((Z) => Ua(Z) !== void 0)), Rd = h(() => (o.selectable ? 1 : 0) + (be.value ? 1 : 0) + (Q.value ? 1 : 0)), Ml = h(() => sa.value ? o.columns.reduce((Z, re) => Z + (Ua(re) ?? 0), 0) + (o.selectable ? Ii : 0) + (be.value ? Ri : 0) + (Q.value ? Mi : 0) : void 0), Md = (Z) => Z.resizable ?? o.resizable;
24751
- function Vl(Z, re) {
24784
+ const sa = h(() => o.columns.every((Z) => Ua(Z) !== void 0)), Rd = h(() => (o.selectable ? 1 : 0) + (be.value ? 1 : 0) + (Q.value ? 1 : 0)), Vl = h(() => sa.value ? o.columns.reduce((Z, re) => Z + (Ua(re) ?? 0), 0) + (o.selectable ? Ii : 0) + (be.value ? Ri : 0) + (Q.value ? Mi : 0) : void 0), Md = (Z) => Z.resizable ?? o.resizable;
24785
+ function Ll(Z, re) {
24752
24786
  $n.value = re, r("update:columnWidths", re), r("columnResize", { key: Z.key, width: re[Z.key] });
24753
24787
  }
24754
24788
  let En;
24755
24789
  function Vd(Z, re) {
24756
- const J = Rl(), xe = Z.clientX, Ve = (ua) => ({ ...J, [re.key]: Oi(J[re.key] + ua - xe, Do(re)) }), Et = (ua) => {
24790
+ const J = Ml(), xe = Z.clientX, Ve = (ua) => ({ ...J, [re.key]: Oi(J[re.key] + ua - xe, Do(re)) }), Et = (ua) => {
24757
24791
  $n.value = Ve(ua.clientX);
24758
24792
  }, Dt = (ua) => {
24759
- En?.(), Vl(re, Ve(ua.clientX));
24793
+ En?.(), Ll(re, Ve(ua.clientX));
24760
24794
  };
24761
24795
  En = () => {
24762
24796
  document.removeEventListener("pointermove", Et), document.removeEventListener("pointerup", Dt), document.removeEventListener("pointercancel", Dt), En = void 0;
@@ -24766,11 +24800,11 @@ const _$ = {
24766
24800
  const J = Z.key === "ArrowRight" ? Di : Z.key === "ArrowLeft" ? -Di : 0;
24767
24801
  if (J === 0) return;
24768
24802
  Z.preventDefault();
24769
- const xe = Rl();
24770
- Vl(re, { ...xe, [re.key]: Oi(xe[re.key] + J, Do(re)) });
24803
+ const xe = Ml();
24804
+ Ll(re, { ...xe, [re.key]: Oi(xe[re.key] + J, Do(re)) });
24771
24805
  }
24772
24806
  Ke(() => En?.());
24773
- const Ll = (Z) => Z.align === "right" ? "text-right" : Z.align === "center" ? "text-center" : "text-left", Bo = h(() => {
24807
+ const Fl = (Z) => Z.align === "right" ? "text-right" : Z.align === "center" ? "text-center" : "text-left", Bo = h(() => {
24774
24808
  const Z = [], re = (J) => {
24775
24809
  const xe = c(J, R.value.get(J) ?? 0), Ve = te.value && le.value.includes(xe);
24776
24810
  Z.push({ kind: "row", id: `row-${xe}`, row: J, index: R.value.get(J) ?? 0, expanded: Ve }), Ve && Z.push({ kind: "detail", id: `detail-${xe}`, row: J, index: R.value.get(J) ?? 0 });
@@ -24783,7 +24817,7 @@ const _$ = {
24783
24817
  return Z;
24784
24818
  }
24785
24819
  return I.value.forEach(re), Z;
24786
- }), qn = h(() => Bo.value.flatMap((Z) => Z.kind === "row" ? [c(Z.row, Z.index)] : [])), Fl = h(() => o.singleSelect ? qn.value.find((Z) => o.selectedKeys.includes(Z)) ?? qn.value[0] ?? null : null), Fd = { ArrowUp: -1, ArrowDown: 1 };
24820
+ }), qn = h(() => Bo.value.flatMap((Z) => Z.kind === "row" ? [c(Z.row, Z.index)] : [])), zl = h(() => o.singleSelect ? qn.value.find((Z) => o.selectedKeys.includes(Z)) ?? qn.value[0] ?? null : null), Fd = { ArrowUp: -1, ArrowDown: 1 };
24787
24821
  function zd(Z, re, J) {
24788
24822
  if (!o.singleSelect || Z.target !== Z.currentTarget) return;
24789
24823
  if (Z.key === "Enter") {
@@ -24822,7 +24856,7 @@ const _$ = {
24822
24856
  default: w(() => [
24823
24857
  z("table", {
24824
24858
  class: "w-full border-collapse",
24825
- style: Ee({ tableLayout: sa.value ? "fixed" : void 0, width: Ml.value ? `${Ml.value}px` : void 0, minWidth: sa.value ? "100%" : void 0 })
24859
+ style: Ee({ tableLayout: sa.value ? "fixed" : void 0, width: Vl.value ? `${Vl.value}px` : void 0, minWidth: sa.value ? "100%" : void 0 })
24826
24860
  }, [
24827
24861
  z("colgroup", null, [
24828
24862
  be.value ? (f(), g("col", {
@@ -24845,13 +24879,13 @@ const _$ = {
24845
24879
  ]),
24846
24880
  z("thead", {
24847
24881
  ref_key: "header",
24848
- ref: Il,
24882
+ ref: Rl,
24849
24883
  class: ne(["bg-[var(--ui-surface)] text-[var(--ui-text-secondary)]", o.stickyHeader && "sticky top-0 z-10"])
24850
24884
  }, [
24851
24885
  z("tr", null, [
24852
24886
  be.value ? (f(), g("th", k$)) : F("", !0),
24853
24887
  o.selectable ? (f(), g("th", C$, [
24854
- B(ki, {
24888
+ B(xr, {
24855
24889
  "model-value": U.value,
24856
24890
  "aria-label": d.value.selectAll,
24857
24891
  "onUpdate:modelValue": M
@@ -24862,7 +24896,7 @@ const _$ = {
24862
24896
  "data-column": J.key,
24863
24897
  "aria-sort": $(J),
24864
24898
  tabindex: J.sortable ? 0 : void 0,
24865
- class: ne(["relative h-[var(--ui-grid-header-height)] select-none overflow-hidden border-b border-r border-[var(--ui-border-subtle)] px-2 font-normal text-ellipsis whitespace-nowrap outline-none focus-visible:shadow-[inset_0_0_0_2px_var(--ui-focus-ring)]", [Ll(J), J.sortable && "cursor-pointer hover:bg-[var(--ui-surface-hover)]"]]),
24899
+ class: ne(["relative h-[var(--ui-grid-header-height)] select-none overflow-hidden border-b border-r border-[var(--ui-border-subtle)] px-2 font-normal text-ellipsis whitespace-nowrap outline-none focus-visible:shadow-[inset_0_0_0_2px_var(--ui-focus-ring)]", [Fl(J), J.sortable && "cursor-pointer hover:bg-[var(--ui-surface-hover)]"]]),
24866
24900
  onClick: (xe) => S(J),
24867
24901
  onKeydown: [
24868
24902
  Ye($e((xe) => S(J), ["prevent"]), ["enter"]),
@@ -24882,7 +24916,7 @@ const _$ = {
24882
24916
  key: 0,
24883
24917
  class: "size-3 shrink-0 text-[var(--ui-text)]",
24884
24918
  "aria-hidden": "true"
24885
- })) : (f(), E(l(ft), {
24919
+ })) : (f(), E(l(pt), {
24886
24920
  key: 1,
24887
24921
  class: "size-3 shrink-0 text-[var(--ui-text)]",
24888
24922
  "aria-hidden": "true"
@@ -24937,7 +24971,7 @@ const _$ = {
24937
24971
  class: "inline-flex max-w-full items-center gap-1 rounded-[var(--ui-radius-sm)] border-0 bg-transparent px-1 text-left text-[12px] font-bold text-[var(--ui-text-secondary)] outline-none hover:text-[var(--ui-text)] focus-visible:shadow-[inset_0_0_0_2px_var(--ui-focus-ring)]",
24938
24972
  onClick: (xe) => ae(J.groupId)
24939
24973
  }, [
24940
- J.expanded ? (f(), E(l(ft), {
24974
+ J.expanded ? (f(), E(l(pt), {
24941
24975
  key: 0,
24942
24976
  class: "size-3.5 shrink-0",
24943
24977
  "aria-hidden": "true"
@@ -24978,7 +25012,7 @@ const _$ = {
24978
25012
  key: 2,
24979
25013
  "data-row-key": c(J.row, J.index),
24980
25014
  draggable: X.value || void 0,
24981
- tabindex: Fl.value === null ? void 0 : Fl.value === c(J.row, J.index) ? 0 : -1,
25015
+ tabindex: zl.value === null ? void 0 : zl.value === c(J.row, J.index) ? 0 : -1,
24982
25016
  "aria-selected": o.selectable || o.singleSelect ? o.selectedKeys.includes(c(J.row, J.index)) : void 0,
24983
25017
  class: ne([
24984
25018
  "border-b border-[var(--ui-border-subtle)] hover:bg-[var(--ui-surface-hover)]",
@@ -25019,7 +25053,7 @@ const _$ = {
25019
25053
  onClick: re[1] || (re[1] = $e(() => {
25020
25054
  }, ["stop"]))
25021
25055
  }, [
25022
- B(ki, {
25056
+ B(xr, {
25023
25057
  "model-value": o.selectedKeys.includes(c(J.row, J.index)),
25024
25058
  "aria-label": d.value.selectRow(c(J.row, J.index)),
25025
25059
  "onUpdate:modelValue": (xe) => L(c(J.row, J.index), xe)
@@ -25027,7 +25061,7 @@ const _$ = {
25027
25061
  ])) : F("", !0),
25028
25062
  (f(!0), g(de, null, Ce(o.columns, (xe) => (f(), g("td", {
25029
25063
  key: xe.key,
25030
- class: ne(["h-[var(--ui-grid-row-height)] truncate px-2 text-[var(--ui-text)]", [Ll(xe), xe.align === "right" && "tabular-nums"]])
25064
+ class: ne(["h-[var(--ui-grid-row-height)] truncate px-2 text-[var(--ui-text)]", [Fl(xe), xe.align === "right" && "tabular-nums"]])
25031
25065
  }, [
25032
25066
  _e.value?.pivotColumn === xe.key ? (f(), g("span", {
25033
25067
  key: 0,
@@ -25040,7 +25074,7 @@ const _$ = {
25040
25074
  }, ["stop"])),
25041
25075
  onKeydown: (Ve) => nt(Ve, J.row)
25042
25076
  }, [
25043
- B(l(Kl), {
25077
+ B(l(Wl), {
25044
25078
  class: "size-3.5",
25045
25079
  "aria-hidden": "true"
25046
25080
  })
@@ -25051,7 +25085,7 @@ const _$ = {
25051
25085
  column: xe,
25052
25086
  index: J.index,
25053
25087
  expanded: J.expanded,
25054
- editing: Ol(J.row, xe),
25088
+ editing: Il(J.row, xe),
25055
25089
  startEdit: () => Dd(J.row, xe),
25056
25090
  stopEdit: () => Bd(J.row, xe),
25057
25091
  toggleExpand: () => ce(c(J.row, J.index)),
@@ -25071,7 +25105,7 @@ const _$ = {
25071
25105
  }, ["stop"])),
25072
25106
  onKeydown: (xe) => nt(xe, J.row)
25073
25107
  }, [
25074
- B(l(Kl), {
25108
+ B(l(Wl), {
25075
25109
  class: "size-3.5",
25076
25110
  "aria-hidden": "true"
25077
25111
  })
@@ -25106,7 +25140,7 @@ const _$ = {
25106
25140
  onClick: re[4] || (re[4] = (J) => K(T.value - 1))
25107
25141
  }, {
25108
25142
  default: w(() => [
25109
- B(l(Mr), { class: "size-3.5" })
25143
+ B(l(Vr), { class: "size-3.5" })
25110
25144
  ]),
25111
25145
  _: 1
25112
25146
  }, 8, ["label", "disabled"]),
@@ -25144,8 +25178,8 @@ const _$ = {
25144
25178
  ]));
25145
25179
  }
25146
25180
  });
25147
- function El(e) {
25148
- return e.map((a) => ({ ...a, children: a.children ? El(a.children) : a.children }));
25181
+ function ql(e) {
25182
+ return e.map((a) => ({ ...a, children: a.children ? ql(a.children) : a.children }));
25149
25183
  }
25150
25184
  function fa(e, a) {
25151
25185
  for (const t of e) {
@@ -25154,14 +25188,14 @@ function fa(e, a) {
25154
25188
  if (n) return n;
25155
25189
  }
25156
25190
  }
25157
- function $r(e) {
25158
- return e.flatMap((a) => [a, ...$r(a.children ?? [])]);
25191
+ function Er(e) {
25192
+ return e.flatMap((a) => [a, ...Er(a.children ?? [])]);
25159
25193
  }
25160
- function ql(e, a) {
25161
- return e.id === a || (e.children ?? []).some((t) => ql(t, a));
25194
+ function Al(e, a) {
25195
+ return e.id === a || (e.children ?? []).some((t) => Al(t, a));
25162
25196
  }
25163
- function Er(e) {
25164
- return e.disabled ? [] : e.children?.length ? e.children.flatMap(Er) : [e.id];
25197
+ function qr(e) {
25198
+ return e.disabled ? [] : e.children?.length ? e.children.flatMap(qr) : [e.id];
25165
25199
  }
25166
25200
  function To(e, a) {
25167
25201
  for (const t of e) {
@@ -25182,10 +25216,10 @@ function X$(e, a, t, n) {
25182
25216
  const r = o.findIndex((i) => i.id === a);
25183
25217
  r < 0 || o.splice(t === "top" ? r : r + 1, 0, n);
25184
25218
  }
25185
- function qr(e, a, t, n) {
25219
+ function Ar(e, a, t, n) {
25186
25220
  const o = fa(e, a), r = fa(e, t);
25187
- if (!o || !r || a === t || ql(o, t)) return e;
25188
- const i = El(e);
25221
+ if (!o || !r || a === t || Al(o, t)) return e;
25222
+ const i = ql(e);
25189
25223
  Y$(i, a);
25190
25224
  const s = fa(i, a) ?? o;
25191
25225
  if (n === "inner") {
@@ -25198,16 +25232,16 @@ function Z$(e, a, t) {
25198
25232
  const n = To(e, a);
25199
25233
  if (!n) return e;
25200
25234
  const o = n.findIndex((i) => i.id === a), r = o + t;
25201
- return o < 0 || r < 0 || r >= n.length ? e : qr(e, a, n[r].id, t < 0 ? "top" : "bottom");
25235
+ return o < 0 || r < 0 || r >= n.length ? e : Ar(e, a, n[r].id, t < 0 ? "top" : "bottom");
25202
25236
  }
25203
25237
  function J$(e, a, t) {
25204
- const n = El(e), o = fa(n, a);
25238
+ const n = ql(e), o = fa(n, a);
25205
25239
  return o && (o.children = t), n;
25206
25240
  }
25207
25241
  const Q$ = ["disabled", "aria-label", "aria-expanded", "onClick"], eE = {
25208
25242
  key: 2,
25209
25243
  class: "size-5 shrink-0"
25210
- }, tE = { class: "min-w-0 flex-1 truncate" }, cB = /* @__PURE__ */ A({
25244
+ }, tE = { class: "min-w-0 flex-1 truncate" }, fB = /* @__PURE__ */ A({
25211
25245
  __name: "TreeView",
25212
25246
  props: {
25213
25247
  nodes: {},
@@ -25233,7 +25267,7 @@ const Q$ = ["disabled", "aria-label", "aria-expanded", "onClick"], eE = {
25233
25267
  function u(oe) {
25234
25268
  i.value = oe, r("update:nodes", oe);
25235
25269
  }
25236
- const d = h(() => $r(s.value));
25270
+ const d = h(() => Er(s.value));
25237
25271
  function c(oe) {
25238
25272
  return fa(s.value, oe);
25239
25273
  }
@@ -25250,14 +25284,14 @@ const Q$ = ["disabled", "aria-label", "aria-expanded", "onClick"], eE = {
25250
25284
  }
25251
25285
  const m = D([...o.defaultCheckedKeys]), y = h(() => o.checkedKeys ?? m.value);
25252
25286
  function _(oe) {
25253
- const le = Er(oe);
25287
+ const le = qr(oe);
25254
25288
  if (!le.length) return y.value.includes(oe.id);
25255
25289
  const se = le.filter((fe) => y.value.includes(fe)).length;
25256
25290
  return se === 0 ? !1 : se === le.length ? !0 : "indeterminate";
25257
25291
  }
25258
25292
  function x(oe, le) {
25259
25293
  if (oe.disabled) return;
25260
- const se = Er(oe), fe = new Set(y.value);
25294
+ const se = qr(oe), fe = new Set(y.value);
25261
25295
  for (const ge of se.length ? se : [oe.id])
25262
25296
  le ? fe.add(ge) : fe.delete(ge);
25263
25297
  const ie = [...fe];
@@ -25306,7 +25340,7 @@ const Q$ = ["disabled", "aria-label", "aria-expanded", "onClick"], eE = {
25306
25340
  le && I(le, !1);
25307
25341
  }, P = h(() => o.draggable ? typeof o.draggable == "object" ? o.draggable : {} : null), W = h(() => !!P.value), U = D(null), L = D(null), M = (oe) => !oe.disabled && W.value && oe.draggable !== !1 && (P.value?.canDrag?.(oe) ?? !0);
25308
25342
  function V(oe, le, se) {
25309
- return !oe || le.disabled || oe.id === le.id || ql(oe, le.id) || !M(oe) || se === "inner" && le.canAppend === !1 ? !1 : P.value?.canDrop?.({ node: oe, target: le, position: se }) ?? !0;
25343
+ return !oe || le.disabled || oe.id === le.id || Al(oe, le.id) || !M(oe) || se === "inner" && le.canAppend === !1 ? !1 : P.value?.canDrop?.({ node: oe, target: le, position: se }) ?? !0;
25310
25344
  }
25311
25345
  function N(oe) {
25312
25346
  M(oe) && (U.value = oe.id);
@@ -25329,7 +25363,7 @@ const Q$ = ["disabled", "aria-label", "aria-expanded", "onClick"], eE = {
25329
25363
  function H(oe, le) {
25330
25364
  const se = U.value, fe = se ? c(se) : void 0, ie = L.value?.id === le.id ? L.value.position : G(oe, oe.currentTarget);
25331
25365
  if (U.value = null, L.value = null, !fe || !V(fe, le, ie)) return;
25332
- const ge = qr(s.value, fe.id, le.id, ie);
25366
+ const ge = Ar(s.value, fe.id, le.id, ie);
25333
25367
  ge !== s.value && (u(ge), r("reorder", { node: fe, target: le, position: ie, nodes: ge }));
25334
25368
  }
25335
25369
  function ae() {
@@ -25337,7 +25371,7 @@ const Q$ = ["disabled", "aria-label", "aria-expanded", "onClick"], eE = {
25337
25371
  }
25338
25372
  function ue(oe, le) {
25339
25373
  if (oe.disabled) return;
25340
- const se = $r(s.value).find((qe) => qe.children?.some((Re) => Re.id === oe.id)), fe = se ? se.children ?? [] : s.value, ie = fe[fe.findIndex((qe) => qe.id === oe.id) + le];
25374
+ const se = Er(s.value).find((qe) => qe.children?.some((Re) => Re.id === oe.id)), fe = se ? se.children ?? [] : s.value, ie = fe[fe.findIndex((qe) => qe.id === oe.id) + le];
25341
25375
  if (!ie) return;
25342
25376
  const ge = Z$(s.value, oe.id, le);
25343
25377
  ge !== s.value && (u(ge), r("reorder", { node: oe, target: ie, position: le < 0 ? "top" : "bottom", nodes: ge }));
@@ -25348,7 +25382,7 @@ const Q$ = ["disabled", "aria-label", "aria-expanded", "onClick"], eE = {
25348
25382
  function be(oe, le, se) {
25349
25383
  const fe = c(oe), ie = c(le);
25350
25384
  if (!fe || !ie) return;
25351
- const ge = qr(s.value, oe, le, se);
25385
+ const ge = Ar(s.value, oe, le, se);
25352
25386
  u(ge), r("reorder", { node: fe, target: ie, position: se, nodes: ge });
25353
25387
  }
25354
25388
  const Se = (oe) => L.value?.id !== oe.id ? "" : L.value.position === "inner" ? "bg-[var(--ui-primary-soft)] outline outline-1 outline-[var(--ui-primary)]" : L.value.position === "top" ? "shadow-[inset_0_2px_0_0_var(--ui-primary)]" : "shadow-[inset_0_-2px_0_0_var(--ui-primary)]";
@@ -25444,7 +25478,7 @@ const Q$ = ["disabled", "aria-label", "aria-expanded", "onClick"], eE = {
25444
25478
  "aria-hidden": "true"
25445
25479
  }, null, 8, ["class"]))
25446
25480
  ], 8, Q$)) : (f(), g("span", eE)),
25447
- o.showIcons ? (f(), E(Ne(fe.value.icon ?? (fe.hasChildren ? ie ? l(Lr) : l(Fr) : l(rr))), {
25481
+ o.showIcons ? (f(), E(Ne(fe.value.icon ?? (fe.hasChildren ? ie ? l(Fr) : l(zr) : l(rr))), {
25448
25482
  key: 3,
25449
25483
  class: ne(["size-4 shrink-0 text-[var(--ui-text-muted)]", o.selectionStyle === "accent" && "group-data-[selected]:text-[var(--ui-primary)]"]),
25450
25484
  "aria-hidden": "true"
@@ -25585,7 +25619,7 @@ const Q$ = ["disabled", "aria-label", "aria-expanded", "onClick"], eE = {
25585
25619
  }, sE = { key: 0 }, uE = { key: 1 }, dE = { key: 2 }, cE = { key: 3 }, fE = { key: 4 }, pE = {
25586
25620
  key: 3,
25587
25621
  class: "mt-2 overflow-hidden rounded-[var(--ui-radius-md)] border border-[var(--ui-border)]"
25588
- }, vE = { class: "min-w-0 flex-1" }, mE = { class: "truncate text-[12px] text-[var(--ui-text)]" }, yE = { class: "text-[12px] text-[var(--ui-text-muted)]" }, fB = /* @__PURE__ */ A({
25622
+ }, vE = { class: "min-w-0 flex-1" }, mE = { class: "truncate text-[12px] text-[var(--ui-text)]" }, yE = { class: "text-[12px] text-[var(--ui-text-muted)]" }, pB = /* @__PURE__ */ A({
25589
25623
  inheritAttrs: !1,
25590
25624
  __name: "FilePicker",
25591
25625
  props: {
@@ -25654,7 +25688,7 @@ const Q$ = ["disabled", "aria-label", "aria-expanded", "onClick"], eE = {
25654
25688
  const q = t.modelValue.filter((O, T) => T !== S);
25655
25689
  C(q), n("update:modelValue", q);
25656
25690
  }
25657
- const { controlAttrs: b, wrapperAttrs: $, changed: C } = vt({ value: () => t.modelValue, disabled: () => t.disabled });
25691
+ const { controlAttrs: b, wrapperAttrs: $, changed: C } = st({ value: () => t.modelValue, disabled: () => t.disabled });
25658
25692
  return (S, q) => (f(), g("div", ee(l($)(), {
25659
25693
  class: "min-w-0",
25660
25694
  "data-syno-pkg-land-ui": ""
@@ -25690,7 +25724,7 @@ const Q$ = ["disabled", "aria-label", "aria-expanded", "onClick"], eE = {
25690
25724
  onDrop: $e(_, ["prevent"]),
25691
25725
  onClick: d
25692
25726
  }, [
25693
- (f(), E(Ne(t.directory ? l(Lr) : l(fc)), {
25727
+ (f(), E(Ne(t.directory ? l(Fr) : l(fc)), {
25694
25728
  class: "mb-2 size-7 text-[var(--ui-primary)]",
25695
25729
  "aria-hidden": "true"
25696
25730
  })),
@@ -25723,7 +25757,7 @@ const Q$ = ["disabled", "aria-label", "aria-expanded", "onClick"], eE = {
25723
25757
  t.accept || t.maxSize || t.maxFiles ? (f(), g("div", iE, [
25724
25758
  t.accept ? (f(), g("span", sE, j(t.accept), 1)) : F("", !0),
25725
25759
  t.accept && (t.maxSize || t.maxFiles) ? (f(), g("span", uE, " · ")) : F("", !0),
25726
- t.maxSize ? (f(), g("span", dE, j(l(wt)(s.value.maxSize, { size: l(kr)(t.maxSize) })), 1)) : F("", !0),
25760
+ t.maxSize ? (f(), g("span", dE, j(l(wt)(s.value.maxSize, { size: l(Cr)(t.maxSize) })), 1)) : F("", !0),
25727
25761
  t.maxSize && t.maxFiles ? (f(), g("span", cE, " · ")) : F("", !0),
25728
25762
  t.maxFiles ? (f(), g("span", fE, j(l(wt)(s.value.maxFiles, { count: t.maxFiles })), 1)) : F("", !0)
25729
25763
  ])) : F("", !0),
@@ -25738,7 +25772,7 @@ const Q$ = ["disabled", "aria-label", "aria-expanded", "onClick"], eE = {
25738
25772
  }),
25739
25773
  z("div", vE, [
25740
25774
  z("div", mE, j(O.name), 1),
25741
- z("div", yE, j(l(kr)(O.size)), 1)
25775
+ z("div", yE, j(l(Cr)(O.size)), 1)
25742
25776
  ]),
25743
25777
  k(S.$slots, "file-actions", {
25744
25778
  file: O,
@@ -25784,7 +25818,7 @@ function hE(e) {
25784
25818
  t.remove(), a?.focus({ preventScroll: !0 });
25785
25819
  }
25786
25820
  }
25787
- const gE = { class: "flex min-w-0 w-full items-start gap-1.5" }, bE = ["disabled", "aria-label", "title", "data-copy-state"], pB = /* @__PURE__ */ A({
25821
+ const gE = { class: "flex min-w-0 w-full items-start gap-1.5" }, bE = ["disabled", "aria-label", "title", "data-copy-state"], vB = /* @__PURE__ */ A({
25788
25822
  inheritAttrs: !1,
25789
25823
  __name: "CopyCutField",
25790
25824
  props: {
@@ -25804,7 +25838,7 @@ const gE = { class: "flex min-w-0 w-full items-start gap-1.5" }, bE = ["disabled
25804
25838
  },
25805
25839
  emits: ["update:modelValue", "inputFocused", "actionSuccess", "actionFailed"],
25806
25840
  setup(e, { emit: a }) {
25807
- const n = je(e, { copyLabel: "Copy", cutLabel: "Cut" }), o = a, { controlAttrs: r, wrapperAttrs: i, changed: s } = vt({ value: () => n.modelValue, disabled: () => n.disabled, id: () => n.id, ariaLabel: () => n.ariaLabel, ariaLabelledby: () => n.ariaLabelledby }), u = He(), d = D(!1), c = D(), p = Fe("field");
25841
+ const n = je(e, { copyLabel: "Copy", cutLabel: "Cut" }), o = a, { controlAttrs: r, wrapperAttrs: i, changed: s } = st({ value: () => n.modelValue, disabled: () => n.disabled, id: () => n.id, ariaLabel: () => n.ariaLabel, ariaLabelledby: () => n.ariaLabelledby }), u = He(), d = D(!1), c = D(), p = Fe("field");
25808
25842
  let v;
25809
25843
  Ke(() => clearTimeout(v));
25810
25844
  const m = h(() => c.value === "copied" ? u("Copied") : n.type === "cut" ? n.cutLabel : n.copyLabel), y = h(() => c.value === "failed" ? u("Couldn't copy. Select the text and copy it manually.") : c.value === "copied" ? u("Copied") : ""), _ = h(() => n.disabled || n.modelValue === "" || d.value), x = h(() => {
@@ -25900,7 +25934,7 @@ const gE = { class: "flex min-w-0 w-full items-start gap-1.5" }, bE = ["disabled
25900
25934
  }), xE = {
25901
25935
  class: "ui-path-display inline-flex h-[var(--ui-control-sm)] min-w-0 max-w-full items-center gap-1.5 rounded-[var(--ui-radius-control)] border border-[var(--ui-border-subtle)] bg-[var(--ui-surface-subtle)] pl-2 pr-1 text-[13px] text-[var(--ui-text)]",
25902
25936
  "data-syno-pkg-land-ui": ""
25903
- }, _E = ["title"], wE = { dir: "ltr" }, kE = ["aria-label", "title"], vB = /* @__PURE__ */ A({
25937
+ }, _E = ["title"], wE = { dir: "ltr" }, kE = ["aria-label", "title"], mB = /* @__PURE__ */ A({
25904
25938
  __name: "PathDisplay",
25905
25939
  props: {
25906
25940
  path: {},
@@ -25918,7 +25952,7 @@ const gE = { class: "flex min-w-0 w-full items-start gap-1.5" }, bE = ["disabled
25918
25952
  r.value = !0, n("copied", t.path), clearTimeout(i), i = setTimeout(() => r.value = !1, 1500);
25919
25953
  }
25920
25954
  return (u, d) => (f(), g("span", xE, [
25921
- B(l(Fr), {
25955
+ B(l(zr), {
25922
25956
  class: "size-3.5 shrink-0 fill-current text-[var(--ui-file-folder)]",
25923
25957
  "aria-hidden": "true"
25924
25958
  }),
@@ -25952,7 +25986,7 @@ const gE = { class: "flex min-w-0 w-full items-start gap-1.5" }, bE = ["disabled
25952
25986
  k(u.$slots, "actions")
25953
25987
  ]));
25954
25988
  }
25955
- }), CE = ["data-data-view-item", "data-selected", "data-disabled", "data-selectable", "onClick", "onContextmenu"], mB = /* @__PURE__ */ A({
25989
+ }), CE = ["data-data-view-item", "data-selected", "data-disabled", "data-selectable", "onClick", "onContextmenu"], yB = /* @__PURE__ */ A({
25956
25990
  __name: "DataView",
25957
25991
  props: {
25958
25992
  items: { default: () => [] },
@@ -26174,7 +26208,7 @@ const gE = { class: "flex min-w-0 w-full items-start gap-1.5" }, bE = ["disabled
26174
26208
  }, 16)
26175
26209
  ], 2));
26176
26210
  }
26177
- }), SE = ["data-virtual-index"], $E = ["data-virtual-index"], yB = /* @__PURE__ */ A({
26211
+ }), SE = ["data-virtual-index"], $E = ["data-virtual-index"], hB = /* @__PURE__ */ A({
26178
26212
  __name: "VirtualList",
26179
26213
  props: {
26180
26214
  items: { default: () => [] },
@@ -26186,7 +26220,7 @@ const gE = { class: "flex min-w-0 w-full items-start gap-1.5" }, bE = ["disabled
26186
26220
  viewStyle: { type: [Boolean, null, String, Object, Array], default: void 0 }
26187
26221
  },
26188
26222
  setup(e, { expose: a }) {
26189
- const t = e, n = Fe("scrollbarRef"), o = D(0), r = D(0), i = ct({}), s = /* @__PURE__ */ new Map();
26223
+ const t = e, n = Fe("scrollbarRef"), o = D(0), r = D(0), i = ft({}), s = /* @__PURE__ */ new Map();
26190
26224
  function u(P) {
26191
26225
  const W = P?.data, L = (W && typeof W == "object" ? W[t.keyField] : void 0) ?? P?.index;
26192
26226
  return `${typeof L == "string" ? "k" : "i"}:${String(L)}`;
@@ -26368,7 +26402,7 @@ const gE = { class: "flex min-w-0 w-full items-start gap-1.5" }, bE = ["disabled
26368
26402
  "aria-hidden": "true",
26369
26403
  inert: "",
26370
26404
  class: "pointer-events-none invisible absolute left-0 top-0 flex flex-nowrap items-center whitespace-nowrap"
26371
- }, hB = /* @__PURE__ */ A({
26405
+ }, gB = /* @__PURE__ */ A({
26372
26406
  __name: "OverflowList",
26373
26407
  props: {
26374
26408
  items: { default: () => [] },
@@ -26559,7 +26593,7 @@ const gE = { class: "flex min-w-0 w-full items-start gap-1.5" }, bE = ["disabled
26559
26593
  ])
26560
26594
  ], 10, EE));
26561
26595
  }
26562
- }), BE = ["data-visible"], gB = /* @__PURE__ */ A({
26596
+ }), BE = ["data-visible"], bB = /* @__PURE__ */ A({
26563
26597
  __name: "OverflowListItem",
26564
26598
  props: {
26565
26599
  visible: { type: Boolean, default: !0 }
@@ -26575,24 +26609,24 @@ const gE = { class: "flex min-w-0 w-full items-start gap-1.5" }, bE = ["disabled
26575
26609
  k(t.$slots, "default")
26576
26610
  ], 10, BE));
26577
26611
  }
26578
- }), Xa = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], bB = [60, 30, 15], Jo = 10;
26579
- function Al(e) {
26580
- return 60 / e;
26581
- }
26612
+ }), Xa = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], xB = [60, 30, 15], Jo = 10;
26582
26613
  function Pl(e) {
26583
- return 24 * Al(e);
26614
+ return 60 / e;
26584
26615
  }
26585
26616
  function Tl(e) {
26586
- return Xa.length * Pl(e);
26617
+ return 24 * Pl(e);
26587
26618
  }
26588
- function xB(e, a) {
26589
- return typeof e == "string" && e.length === Tl(a) && /^\d*$/.test(e);
26619
+ function Dl(e) {
26620
+ return Xa.length * Tl(e);
26590
26621
  }
26591
- function _B(e, a = "0") {
26592
- return a.repeat(Tl(e));
26622
+ function _B(e, a) {
26623
+ return typeof e == "string" && e.length === Dl(a) && /^\d*$/.test(e);
26624
+ }
26625
+ function wB(e, a = "0") {
26626
+ return a.repeat(Dl(e));
26593
26627
  }
26594
26628
  function Vi(e, a, t, n) {
26595
- return e * Pl(n) + a * Al(n) + t;
26629
+ return e * Tl(n) + a * Pl(n) + t;
26596
26630
  }
26597
26631
  function OE(e) {
26598
26632
  return e.map((a, t) => ({ option: a, index: t })).sort((a, t) => (a.option.order ?? 0) - (t.option.order ?? 0) || a.index - t.index);
@@ -26618,7 +26652,7 @@ const IE = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, R
26618
26652
  }, YE = {
26619
26653
  key: 1,
26620
26654
  class: "rounded-[var(--ui-radius-sm)] border border-dashed border-[var(--ui-border)] p-3 text-[12px] text-[var(--ui-text-muted)]"
26621
- }, XE = "h-[25px] cursor-pointer border-r border-b border-[var(--ui-border)] p-0 text-center align-middle transition-colors duration-100 select-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[var(--ui-primary)]", wB = /* @__PURE__ */ A({
26655
+ }, XE = "h-[25px] cursor-pointer border-r border-b border-[var(--ui-border)] p-0 text-center align-middle transition-colors duration-100 select-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[var(--ui-primary)]", kB = /* @__PURE__ */ A({
26622
26656
  inheritAttrs: !1,
26623
26657
  __name: "ScheduleTable",
26624
26658
  props: {
@@ -26642,7 +26676,7 @@ const IE = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, R
26642
26676
  function s(X, Q) {
26643
26677
  i.has(X) || (i.add(X), console.warn(`[ScheduleTable] ${Q}`));
26644
26678
  }
26645
- const u = h(() => Al(o.splitMinute)), d = h(() => Pl(o.splitMinute)), c = h(() => Tl(o.splitMinute)), p = h(() => Xa.length * d.value), v = h(() => o.modelValue.length === c.value), m = h(() => (o.options ?? []).slice(0, Jo)), y = h(() => OE(m.value)), _ = h(() => m.value.length > 0 && !o.disabled), x = D(b(o.defaultSelected));
26679
+ const u = h(() => Pl(o.splitMinute)), d = h(() => Tl(o.splitMinute)), c = h(() => Dl(o.splitMinute)), p = h(() => Xa.length * d.value), v = h(() => o.modelValue.length === c.value), m = h(() => (o.options ?? []).slice(0, Jo)), y = h(() => OE(m.value)), _ = h(() => m.value.length > 0 && !o.disabled), x = D(b(o.defaultSelected));
26646
26680
  function b(X) {
26647
26681
  return !Number.isInteger(X) || X < 0 || X >= m.value.length ? 0 : X;
26648
26682
  }
@@ -26735,7 +26769,7 @@ const IE = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, R
26735
26769
  function ue(X) {
26736
26770
  o.disabled || (x.value = X.index);
26737
26771
  }
26738
- const te = ct({ active: !1, start: -1, current: -1 });
26772
+ const te = ft({ active: !1, start: -1, current: -1 });
26739
26773
  function be(X) {
26740
26774
  return te.active ? X >= Math.min(te.start, te.current) && X <= Math.max(te.start, te.current) : !1;
26741
26775
  }
@@ -26805,7 +26839,7 @@ const IE = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, R
26805
26839
  ), me(u, () => {
26806
26840
  ie.value = Math.min(ie.value, p.value - 1);
26807
26841
  });
26808
- const ce = vt({ value: () => o.modelValue, disabled: () => o.disabled, ariaLabel: () => o.ariaLabel, ariaLabelledby: () => o.ariaLabelledby }), _e = h(() => ({ selectAll: n("Select all times"), selectHour: (X) => n("Select hour {hour}", { hour: X }), selectDay: (X) => n("Select {name}", { name: X }), edit: (X) => n("Edit {name}", { name: X }), ...o.text }));
26842
+ const ce = st({ value: () => o.modelValue, disabled: () => o.disabled, ariaLabel: () => o.ariaLabel, ariaLabelledby: () => o.ariaLabelledby }), _e = h(() => ({ selectAll: n("Select all times"), selectHour: (X) => n("Select hour {hour}", { hour: X }), selectDay: (X) => n("Select {name}", { name: X }), edit: (X) => n("Edit {name}", { name: X }), ...o.text }));
26809
26843
  return (X, Q) => (f(), g("div", ee(l(ce).wrapperAttrs(), {
26810
26844
  class: ["w-full text-[var(--ui-text)]", o.prefix],
26811
26845
  "data-syno-pkg-land-ui": ""
@@ -26951,7 +26985,7 @@ const IE = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, R
26951
26985
  key: 0,
26952
26986
  class: "absolute inset-0 z-[1] flex items-center justify-center overflow-auto p-4",
26953
26987
  style: { background: "color-mix(in srgb, var(--ui-bg) 72%, transparent)" }
26954
- }, eq = ["aria-label"], kB = /* @__PURE__ */ A({
26988
+ }, eq = ["aria-label"], CB = /* @__PURE__ */ A({
26955
26989
  __name: "InfoMask",
26956
26990
  props: {
26957
26991
  active: { type: Boolean, default: !0 },
@@ -26977,7 +27011,7 @@ const IE = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, R
26977
27011
  ])) : F("", !0)
26978
27012
  ]));
26979
27013
  }
26980
- }), tq = ["aria-label", "aria-expanded", "data-disabled"], CB = /* @__PURE__ */ A({
27014
+ }), tq = ["aria-label", "aria-expanded", "data-disabled"], SB = /* @__PURE__ */ A({
26981
27015
  inheritAttrs: !1,
26982
27016
  __name: "InfoTip",
26983
27017
  props: {
@@ -27102,18 +27136,18 @@ const IE = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, R
27102
27136
  const fe = be(u.value), ie = fe[0], ge = fe[fe.length - 1], qe = u.value.ownerDocument.activeElement;
27103
27137
  fe.length && (se.shiftKey && qe === ie ? (se.preventDefault(), P(), R()) : !se.shiftKey && qe === ge && (se.preventDefault(), P(), Se()));
27104
27138
  }
27105
- return Ke(I), (se, fe) => (f(), E(l(ml), {
27139
+ return Ke(I), (se, fe) => (f(), E(l(yl), {
27106
27140
  "delay-duration": e.showDelay,
27107
27141
  "disable-hoverable-content": ""
27108
27142
  }, {
27109
27143
  default: w(() => [
27110
- B(l(yl), {
27144
+ B(l(hl), {
27111
27145
  open: d.value,
27112
27146
  disabled: "",
27113
27147
  "onUpdate:open": L
27114
27148
  }, {
27115
27149
  default: w(() => [
27116
- B(l(bl), { "as-child": "" }, {
27150
+ B(l(xl), { "as-child": "" }, {
27117
27151
  default: w(() => [
27118
27152
  z("button", ee({
27119
27153
  ref_key: "trigger",
@@ -27146,9 +27180,9 @@ const IE = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, R
27146
27180
  ]),
27147
27181
  _: 3
27148
27182
  }),
27149
- B(l(gl), { to: $.value }, {
27183
+ B(l(bl), { to: $.value }, {
27150
27184
  default: w(() => [
27151
- B(l(hl), {
27185
+ B(l(gl), {
27152
27186
  side: e.side,
27153
27187
  align: e.align,
27154
27188
  "side-offset": 6,
@@ -27208,7 +27242,7 @@ const IE = { class: "mb-3 flex flex-wrap items-start justify-between gap-3" }, R
27208
27242
  },
27209
27243
  emits: ["close", "confirm", "cancel"],
27210
27244
  setup(e, { emit: a }) {
27211
- const t = He(), o = je(e, { closeLabel: "Close" }), r = a, i = Pt(), s = Ue(o.id, "notify"), u = h(() => `${s}-title`), d = h(() => `${s}-content`), c = h(() => `${s}-footer`), p = h(() => ({ info: un, suggest: yc, error: Vr })[o.tone]), v = h(() => typeof o.icon == "string" ? o.icon : o.tone), m = h(() => o.icon !== !1), y = h(() => typeof o.title == "string" ? o.title : ""), _ = h(() => typeof o.content == "string" ? o.content : "");
27245
+ const t = He(), o = je(e, { closeLabel: "Close" }), r = a, i = Pt(), s = Ue(o.id, "notify"), u = h(() => `${s}-title`), d = h(() => `${s}-content`), c = h(() => `${s}-footer`), p = h(() => ({ info: un, suggest: yc, error: Lr })[o.tone]), v = h(() => typeof o.icon == "string" ? o.icon : o.tone), m = h(() => o.icon !== !1), y = h(() => typeof o.title == "string" ? o.title : ""), _ = h(() => typeof o.content == "string" ? o.content : "");
27212
27246
  function x(L, M) {
27213
27247
  return L === !1 ? null : L === !0 || L === void 0 ? { text: M, variant: M === t("Cancel") ? "secondary" : "primary" } : typeof L == "string" ? { text: L } : L;
27214
27248
  }
@@ -27336,12 +27370,12 @@ function fq() {
27336
27370
  throw new Error("useNotification() requires a <NotificationProvider> ancestor");
27337
27371
  return e;
27338
27372
  }
27339
- const SB = fq, pq = ["aria-label"], vq = ["data-notification-id", "inert", "aria-hidden"], mq = {
27373
+ const $B = fq, pq = ["aria-label"], vq = ["data-notification-id", "inert", "aria-hidden"], mq = {
27340
27374
  role: "status",
27341
27375
  "aria-live": "polite",
27342
27376
  "aria-atomic": "true",
27343
27377
  class: "sr-only"
27344
- }, $B = /* @__PURE__ */ A({
27378
+ }, EB = /* @__PURE__ */ A({
27345
27379
  __name: "NotificationProvider",
27346
27380
  props: {
27347
27381
  stackSize: { type: [Number, Boolean], default: 3 },
@@ -27354,7 +27388,7 @@ const SB = fq, pq = ["aria-label"], vq = ["data-notification-id", "inert", "aria
27354
27388
  },
27355
27389
  setup(e, { expose: a }) {
27356
27390
  const n = je(e, { landmarkLabel: "Notifications", accessHint: "Press F6 to access notifications" }), o = D([]), r = D(!1), i = D(!1), s = D(""), u = D(null), d = D();
27357
- st()?.branch(d);
27391
+ ut()?.branch(d);
27358
27392
  let c = 1;
27359
27393
  const p = aa({}), v = h(() => p.teleportTo?.value ?? "body"), m = h(() => [...o.value].reverse()), y = h(() => typeof n.stackSize == "number" ? n.stackSize : o.value.length), _ = h(() => typeof n.stackSize == "number" && m.value.length > n.stackSize), x = h(() => _.value && !r.value), b = h(() => x.value ? m.value.slice(0, y.value) : m.value), $ = h(() => n.alignment.startsWith("bottom")), C = h(() => ({
27360
27394
  "top-right": "top-[var(--ui-space-4)] right-[var(--ui-space-4)]",
@@ -27493,7 +27527,7 @@ const SB = fq, pq = ["aria-label"], vq = ["data-notification-id", "inert", "aria
27493
27527
  ], 8, ["to"]))
27494
27528
  ], 64));
27495
27529
  }
27496
- }), EB = /* @__PURE__ */ A({
27530
+ }), qB = /* @__PURE__ */ A({
27497
27531
  inheritAttrs: !1,
27498
27532
  __name: "ValidationPopup",
27499
27533
  props: {
@@ -27532,27 +27566,27 @@ const SB = fq, pq = ["aria-label"], vq = ["data-notification-id", "inert", "aria
27532
27566
  (m) => {
27533
27567
  m && (i.value = !1, r.value = !1);
27534
27568
  }
27535
- ), (m, y) => (f(), E(l(ml), {
27569
+ ), (m, y) => (f(), E(l(yl), {
27536
27570
  "delay-duration": 0,
27537
27571
  "skip-delay-duration": 0,
27538
27572
  "disable-hoverable-content": ""
27539
27573
  }, {
27540
27574
  default: w(() => [
27541
- B(l(yl), {
27575
+ B(l(hl), {
27542
27576
  open: s.value,
27543
27577
  disabled: e.disable,
27544
27578
  "onUpdate:open": v
27545
27579
  }, {
27546
27580
  default: w(() => [
27547
- B(l(bl), { "as-child": "" }, {
27581
+ B(l(xl), { "as-child": "" }, {
27548
27582
  default: w(() => [
27549
27583
  k(m.$slots, "default")
27550
27584
  ]),
27551
27585
  _: 3
27552
27586
  }),
27553
- B(l(gl), { to: u.value }, {
27587
+ B(l(bl), { to: u.value }, {
27554
27588
  default: w(() => [
27555
- B(l(hl), ee(m.$attrs, {
27589
+ B(l(gl), ee(m.$attrs, {
27556
27590
  side: e.side,
27557
27591
  align: e.align,
27558
27592
  "side-offset": e.offset,
@@ -27587,7 +27621,7 @@ const SB = fq, pq = ["aria-label"], vq = ["data-notification-id", "inert", "aria
27587
27621
  }), yq = ["id"], hq = {
27588
27622
  key: 1,
27589
27623
  class: "ml-auto flex shrink-0 items-center gap-1.5"
27590
- }, gq = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-label"], bq = ["id", "role", "aria-labelledby"], qB = /* @__PURE__ */ A({
27624
+ }, gq = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-label"], bq = ["id", "role", "aria-labelledby"], AB = /* @__PURE__ */ A({
27591
27625
  __name: "Card",
27592
27626
  props: {
27593
27627
  title: {},
@@ -27650,7 +27684,7 @@ const SB = fq, pq = ["aria-label"], vq = ["data-notification-id", "inert", "aria
27650
27684
  onClick: b[0] || (b[0] = //@ts-ignore
27651
27685
  (...$) => l(c) && l(c)(...$))
27652
27686
  }, [
27653
- B(l(ft), {
27687
+ B(l(pt), {
27654
27688
  class: ne(l(Be)("size-4 transition-transform duration-[var(--ui-motion-fast)]", !l(d) && "-rotate-90")),
27655
27689
  "aria-hidden": "true"
27656
27690
  }, null, 8, ["class"])
@@ -27690,7 +27724,7 @@ function _q({ width: e, count: a, minItemWidth: t, gap: n }) {
27690
27724
  const o = (u) => Math.max(1, Math.floor((e + n) / (u + n))), r = o(t), i = o(t * xq), s = Math.min(a, i > r ? r + 1 : r);
27691
27725
  return Math.ceil(a / Math.ceil(a / s));
27692
27726
  }
27693
- const AB = /* @__PURE__ */ A({
27727
+ const PB = /* @__PURE__ */ A({
27694
27728
  __name: "CardGrid",
27695
27729
  props: {
27696
27730
  minItemWidth: { default: "280px" },
@@ -27705,7 +27739,7 @@ const AB = /* @__PURE__ */ A({
27705
27739
  const p = parseFloat(getComputedStyle(c).columnGap);
27706
27740
  !Number.isNaN(p) && r.value !== p && (r.value = p);
27707
27741
  };
27708
- Ae(i), Or(i);
27742
+ Ae(i), Ir(i);
27709
27743
  function s(c) {
27710
27744
  const p = /^\s*([\d.]+)(px|rem)\s*$/.exec(c);
27711
27745
  if (!p) return;
@@ -27735,7 +27769,7 @@ const AB = /* @__PURE__ */ A({
27735
27769
  }), wq = ["data-color"], kq = {
27736
27770
  key: 0,
27737
27771
  class: "px-5 py-2.5"
27738
- }, PB = /* @__PURE__ */ A({
27772
+ }, TB = /* @__PURE__ */ A({
27739
27773
  __name: "HighlightBox",
27740
27774
  props: {
27741
27775
  color: { default: "blue" },
@@ -27768,7 +27802,7 @@ const AB = /* @__PURE__ */ A({
27768
27802
  key: 5,
27769
27803
  class: "absolute inset-0 z-20 flex items-center justify-center bg-[rgba(255,255,255,0.6)]",
27770
27804
  "data-panel-loading": ""
27771
- }, TB = /* @__PURE__ */ A({
27805
+ }, DB = /* @__PURE__ */ A({
27772
27806
  __name: "Panel",
27773
27807
  props: {
27774
27808
  loading: { type: Boolean, default: !1 },
@@ -27866,7 +27900,7 @@ const qq = ["draggable", "data-selected"], Aq = {
27866
27900
  }, Dq = { class: "min-w-0 flex-1" }, Bq = ["id"], Oq = { class: "flex items-center gap-2" }, Iq = ["title"], Rq = ["innerHTML"], Mq = {
27867
27901
  key: 0,
27868
27902
  class: "shrink-0 text-[length:var(--ui-font-size)] text-[var(--ui-text-secondary)]"
27869
- }, Vq = ["title"], Lq = ["innerHTML"], Fq = ["id", "aria-labelledby"], zq = ["tabindex", "aria-disabled", "aria-expanded", "aria-controls", "aria-labelledby"], DB = /* @__PURE__ */ A({
27903
+ }, Vq = ["title"], Lq = ["innerHTML"], Fq = ["id", "aria-labelledby"], zq = ["tabindex", "aria-disabled", "aria-expanded", "aria-controls", "aria-labelledby"], BB = /* @__PURE__ */ A({
27870
27904
  __name: "ExpandableItem",
27871
27905
  props: {
27872
27906
  title: {},
@@ -28016,7 +28050,7 @@ const qq = ["draggable", "data-selected"], Aq = {
28016
28050
  onDblclick: $e(K, ["stop"])
28017
28051
  }, [
28018
28052
  k(P.$slots, "toggle-icon", {}, () => [
28019
- B(l(ft), {
28053
+ B(l(pt), {
28020
28054
  class: ne(l(Be)("size-4 transition-transform duration-[var(--ui-motion-fast)]", l(S) && "rotate-180")),
28021
28055
  "aria-hidden": "true"
28022
28056
  }, null, 8, ["class"])
@@ -28024,7 +28058,7 @@ const qq = ["draggable", "data-selected"], Aq = {
28024
28058
  ], 40, zq)) : F("", !0)
28025
28059
  ], 42, qq));
28026
28060
  }
28027
- }), Nq = ["data-collapsed"], Kq = { class: "w-full p-0" }, Wq = ["aria-expanded", "aria-controls"], Hq = { class: "min-w-0 flex-1 text-left" }, jq = ["innerHTML"], Uq = { class: "min-w-0 flex-1 text-left" }, Gq = ["innerHTML"], Yq = ["id", "inert"], Xq = { class: "overflow-hidden" }, Zq = { class: "pt-[var(--ui-space-2)]" }, BB = /* @__PURE__ */ A({
28061
+ }), Nq = ["data-collapsed"], Kq = { class: "w-full p-0" }, Wq = ["aria-expanded", "aria-controls"], Hq = { class: "min-w-0 flex-1 text-left" }, jq = ["innerHTML"], Uq = { class: "min-w-0 flex-1 text-left" }, Gq = ["innerHTML"], Yq = ["id", "inert"], Xq = { class: "overflow-hidden" }, Zq = { class: "pt-[var(--ui-space-2)]" }, OB = /* @__PURE__ */ A({
28028
28062
  __name: "Fieldset",
28029
28063
  props: {
28030
28064
  title: {},
@@ -28086,7 +28120,7 @@ const qq = ["draggable", "data-selected"], Aq = {
28086
28120
  onKeydown: _
28087
28121
  }, [
28088
28122
  k(b.$slots, "collapse-icon", {}, () => [
28089
- e.collapseIcon !== "none" ? (f(), E(l(ft), {
28123
+ e.collapseIcon !== "none" ? (f(), E(l(pt), {
28090
28124
  key: 0,
28091
28125
  class: ne(l(Be)("size-3.5 shrink-0 transition-transform duration-[var(--ui-motion-normal)]", l(u) && "-rotate-90")),
28092
28126
  "aria-hidden": "true"
@@ -28146,17 +28180,17 @@ function Qo(e) {
28146
28180
  function er(e) {
28147
28181
  return typeof e == "object" && e !== null ? e : void 0;
28148
28182
  }
28149
- function Ar(e) {
28183
+ function Pr(e) {
28150
28184
  return e == null ? "" : typeof e == "object" ? e.content ?? e.html ?? "" : String(e);
28151
28185
  }
28152
28186
  function Jq(e, a, t) {
28153
- const n = Ar(e[t]), o = Ar(a[t]), r = Number(n), i = Number(o);
28187
+ const n = Pr(e[t]), o = Pr(a[t]), r = Number(n), i = Number(o);
28154
28188
  return n !== "" && o !== "" && Number.isFinite(r) && Number.isFinite(i) ? r - i : n.localeCompare(o);
28155
28189
  }
28156
28190
  const Qq = ["aria-rowcount", "aria-colcount"], eA = { role: "row" }, tA = ["aria-sort", "data-cell-key", "tabindex", "onFocus", "onKeydown"], aA = { class: "flex min-w-0 items-center gap-1" }, nA = ["title"], oA = ["aria-label", "data-sort-state", "onClick"], rA = ["title"], lA = {
28157
28191
  key: 0,
28158
28192
  role: "row"
28159
- }, iA = ["colspan"], sA = ["data-cell-key", "tabindex", "onFocus", "onKeydown"], uA = ["innerHTML"], dA = ["title"], OB = /* @__PURE__ */ A({
28193
+ }, iA = ["colspan"], sA = ["data-cell-key", "tabindex", "onFocus", "onKeydown"], uA = ["innerHTML"], dA = ["title"], IB = /* @__PURE__ */ A({
28160
28194
  __name: "AdvancePanelGrid",
28161
28195
  props: {
28162
28196
  columns: {},
@@ -28240,7 +28274,7 @@ const Qq = ["aria-rowcount", "aria-colcount"], eA = { role: "row" }, tA = ["aria
28240
28274
  V.target !== N && (V.stopPropagation(), N.focus());
28241
28275
  }
28242
28276
  function T(V) {
28243
- return Ar(V);
28277
+ return Pr(V);
28244
28278
  }
28245
28279
  function I(V) {
28246
28280
  return er(V)?.slot;
@@ -28326,7 +28360,7 @@ const Qq = ["aria-rowcount", "aria-colcount"], eA = { role: "row" }, tA = ["aria
28326
28360
  key: 0,
28327
28361
  class: "size-3.5",
28328
28362
  "aria-hidden": "true"
28329
- })) : y(Y) === "descending" ? (f(), E(l(ft), {
28363
+ })) : y(Y) === "descending" ? (f(), E(l(pt), {
28330
28364
  key: 1,
28331
28365
  class: "size-3.5",
28332
28366
  "aria-hidden": "true"
@@ -28415,7 +28449,7 @@ const Qq = ["aria-rowcount", "aria-colcount"], eA = { role: "row" }, tA = ["aria
28415
28449
  }), cA = {
28416
28450
  class: "m-0 flex flex-col gap-[var(--ui-space-2)]",
28417
28451
  "data-syno-pkg-land-ui": ""
28418
- }, fA = ["data-field"], IB = /* @__PURE__ */ A({
28452
+ }, fA = ["data-field"], RB = /* @__PURE__ */ A({
28419
28453
  __name: "AdvancePanelForm",
28420
28454
  props: {
28421
28455
  fields: { default: () => [] }
@@ -28444,7 +28478,7 @@ const Qq = ["aria-rowcount", "aria-colcount"], eA = { role: "row" }, tA = ["aria
28444
28478
  }), pA = {
28445
28479
  class: "grid gap-[var(--ui-space-4)] [grid-template-columns:repeat(auto-fit,minmax(220px,1fr))]",
28446
28480
  "data-syno-pkg-land-ui": ""
28447
- }, vA = ["data-column"], RB = /* @__PURE__ */ A({
28481
+ }, vA = ["data-column"], MB = /* @__PURE__ */ A({
28448
28482
  __name: "AdvancePanelColumns",
28449
28483
  props: {
28450
28484
  columns: { default: () => [] }
@@ -28666,7 +28700,7 @@ const Qq = ["aria-rowcount", "aria-colcount"], eA = { role: "row" }, tA = ["aria
28666
28700
  }, 8, ["open", "title", "description", "width"]));
28667
28701
  }
28668
28702
  }), Cd = /* @__PURE__ */ Symbol("syno-pkg-land-ui-message-box");
28669
- function SA(e = (a, t) => Kr("en", a, t)) {
28703
+ function SA(e = (a, t) => Wr("en", a, t)) {
28670
28704
  const a = D([]), t = /* @__PURE__ */ new Map();
28671
28705
  let n = 1;
28672
28706
  function o(c, p, v = {}) {
@@ -28727,14 +28761,14 @@ function $A() {
28727
28761
  if (!e) throw new Error("useDialog() requires a <MessageBoxProvider> ancestor");
28728
28762
  return e;
28729
28763
  }
28730
- function MB() {
28764
+ function VB() {
28731
28765
  return $A();
28732
28766
  }
28733
28767
  function EA() {
28734
28768
  const e = SA(He());
28735
28769
  return Ke(e.dispose), e;
28736
28770
  }
28737
- const VB = /* @__PURE__ */ A({
28771
+ const LB = /* @__PURE__ */ A({
28738
28772
  __name: "MessageBoxProvider",
28739
28773
  setup(e, { expose: a }) {
28740
28774
  const { box: t, requests: n, settle: o } = EA();
@@ -28770,7 +28804,7 @@ const AA = ["aria-label"], PA = {
28770
28804
  }, RA = {
28771
28805
  key: 0,
28772
28806
  class: "text-[12px] text-[var(--ui-text-muted)]"
28773
- }, MA = { class: "ml-auto flex flex-wrap items-center gap-2" }, LB = /* @__PURE__ */ A({
28807
+ }, MA = { class: "ml-auto flex flex-wrap items-center gap-2" }, FB = /* @__PURE__ */ A({
28774
28808
  __name: "Wizard",
28775
28809
  props: {
28776
28810
  activeStepKey: {},
@@ -28944,7 +28978,7 @@ const AA = ["aria-label"], PA = {
28944
28978
  }), VA = ["aria-hidden", "data-wizard-step", "data-active"], LA = {
28945
28979
  key: 0,
28946
28980
  class: "mx-0 mb-3 mt-0 text-[15px] font-semibold text-[var(--ui-text)]"
28947
- }, FB = /* @__PURE__ */ A({
28981
+ }, zB = /* @__PURE__ */ A({
28948
28982
  __name: "WizardStep",
28949
28983
  props: {
28950
28984
  stepKey: {},
@@ -29004,7 +29038,7 @@ const AA = ["aria-label"], PA = {
29004
29038
  }, tP = {
29005
29039
  key: 3,
29006
29040
  class: "flex items-center gap-2 text-[13px] text-[var(--ui-text-secondary)]"
29007
- }, aP = { class: "flex w-full flex-wrap items-center gap-x-4 gap-y-2" }, nP = { class: "text-[12px] text-[var(--ui-text-muted)]" }, oP = ["aria-label"], rP = ["href"], lP = ["href"], zB = /* @__PURE__ */ A({
29041
+ }, aP = { class: "flex w-full flex-wrap items-center gap-x-4 gap-y-2" }, nP = { class: "text-[12px] text-[var(--ui-text-muted)]" }, oP = ["aria-label"], rP = ["href"], lP = ["href"], NB = /* @__PURE__ */ A({
29008
29042
  __name: "AboutDialog",
29009
29043
  props: {
29010
29044
  text: {},
@@ -29183,7 +29217,7 @@ const AA = ["aria-label"], PA = {
29183
29217
  } : void 0
29184
29218
  ]), 1032, ["open", "title", "width", "close-label"]));
29185
29219
  }
29186
- }), iP = ["data-ui-presentation", "data-ui-modal-scope", "tabindex"], NB = /* @__PURE__ */ A({
29220
+ }), iP = ["data-ui-presentation", "data-ui-modal-scope", "tabindex"], KB = /* @__PURE__ */ A({
29187
29221
  __name: "AppRoot",
29188
29222
  props: {
29189
29223
  modalScope: { default: "app" },
@@ -29191,9 +29225,9 @@ const AA = ["aria-label"], PA = {
29191
29225
  },
29192
29226
  emits: ["activate"],
29193
29227
  setup(e, { emit: a }) {
29194
- const t = e, n = a, o = Xe(Yl, null);
29228
+ const t = e, n = a, o = Xe(Xl, null);
29195
29229
  if (o && (o === "app" || t.modalScope === "app")) throw new Error("Nested app-local AppRoots are unsupported");
29196
- Ze(Yl, t.modalScope);
29230
+ Ze(Xl, t.modalScope);
29197
29231
  const r = Fe("root"), i = la(r), s = h(() => xd(i.value));
29198
29232
  Ze(Po, s);
29199
29233
  const u = Fe("background"), d = Fe("portal"), c = t.modalScope, p = c === "app" ? new wf(r, u) : null;
@@ -29236,7 +29270,7 @@ const AA = ["aria-label"], PA = {
29236
29270
  }, 8, ["teleport-to"])
29237
29271
  ], 12, iP));
29238
29272
  }
29239
- }), sP = "data-ui-app", KB = `[${sP}]`, uP = ["src"], tr = /* @__PURE__ */ A({
29273
+ }), sP = "data-ui-app", WB = `[${sP}]`, uP = ["src"], tr = /* @__PURE__ */ A({
29240
29274
  __name: "AppBrand",
29241
29275
  props: {
29242
29276
  name: {},
@@ -29260,7 +29294,7 @@ const AA = ["aria-label"], PA = {
29260
29294
  }, j(e.name), 3)) : F("", !0)
29261
29295
  ], 64));
29262
29296
  }
29263
- }), Pr = (e) => Math.round(Math.min(Sr, Math.max(Cr, e)));
29297
+ }), Tr = (e) => Math.round(Math.min($r, Math.max(Sr, e)));
29264
29298
  function dP(e) {
29265
29299
  try {
29266
29300
  const a = JSON.parse(localStorage.getItem(e) ?? "null");
@@ -29270,7 +29304,7 @@ function dP(e) {
29270
29304
  }
29271
29305
  }
29272
29306
  function cP(e) {
29273
- const a = e ? `${e}:app-sidebar` : void 0, t = a ? dP(a) : {}, n = D(typeof t.width == "number" && Number.isFinite(t.width) ? Pr(t.width) : FS), o = D(t.collapsed === !0);
29307
+ const a = e ? `${e}:app-sidebar` : void 0, t = a ? dP(a) : {}, n = D(typeof t.width == "number" && Number.isFinite(t.width) ? Tr(t.width) : FS), o = D(t.collapsed === !0);
29274
29308
  return a && me([n, o], () => {
29275
29309
  try {
29276
29310
  localStorage.setItem(a, JSON.stringify({ width: n.value, collapsed: o.value }));
@@ -29296,7 +29330,7 @@ const fP = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
29296
29330
  }, SP = ["aria-label", "aria-expanded", "aria-controls"], $P = {
29297
29331
  key: 0,
29298
29332
  "data-ui-sidebar-brand": ""
29299
- }, EP = { key: 1 }, qP = { class: "min-h-0 flex-1" }, Fi = 16, WB = /* @__PURE__ */ A({
29333
+ }, EP = { key: 1 }, qP = { class: "min-h-0 flex-1" }, Fi = 16, HB = /* @__PURE__ */ A({
29300
29334
  __name: "AppLayout",
29301
29335
  props: {
29302
29336
  sidebarWidth: { default: void 0 },
@@ -29317,7 +29351,7 @@ const fP = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
29317
29351
  }));
29318
29352
  });
29319
29353
  const m = h(() => u.value === "web"), y = cP(a.sidebarStorageKey), _ = h(() => m.value && y.collapsed.value);
29320
- Ze($l, _);
29354
+ Ze(El, _);
29321
29355
  const x = h(() => m.value && !_.value && a.sidebarWidth === void 0), b = h(() => _.value ? "var(--ui-web-sidebar-collapsed-width, 64px)" : a.sidebarWidth !== void 0 ? a.sidebarWidth : m.value ? `${y.width.value}px` : "var(--ui-sidebar-width)"), $ = D({});
29322
29356
  Ae(() => {
29323
29357
  $.value = {
@@ -29333,15 +29367,15 @@ const fP = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
29333
29367
  const G = {
29334
29368
  ArrowLeft: y.width.value - Fi,
29335
29369
  ArrowRight: y.width.value + Fi,
29336
- Home: Cr,
29337
- End: Sr
29370
+ Home: Sr,
29371
+ End: $r
29338
29372
  }[N.key];
29339
- G !== void 0 && (N.preventDefault(), y.width.value = Pr(G));
29373
+ G !== void 0 && (N.preventDefault(), y.width.value = Tr(G));
29340
29374
  }
29341
29375
  const I = D(!1);
29342
29376
  let R = { x: 0, width: 0 };
29343
29377
  function K(N) {
29344
- y.width.value = Pr(R.width + N.clientX - R.x);
29378
+ y.width.value = Tr(R.width + N.clientX - R.x);
29345
29379
  }
29346
29380
  function P() {
29347
29381
  I.value = !1, document.removeEventListener("pointermove", K), document.removeEventListener("pointerup", P), document.removeEventListener("pointercancel", P);
@@ -29467,8 +29501,8 @@ const fP = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
29467
29501
  "aria-orientation": "vertical",
29468
29502
  "aria-label": l(n)("Resize navigation"),
29469
29503
  "aria-controls": l(p),
29470
- "aria-valuemin": l(Cr),
29471
- "aria-valuemax": l(Sr),
29504
+ "aria-valuemin": l(Sr),
29505
+ "aria-valuemax": l($r),
29472
29506
  "aria-valuenow": l(y).width.value,
29473
29507
  onKeydown: T,
29474
29508
  onPointerdown: W
@@ -29511,7 +29545,7 @@ const fP = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
29511
29545
  ], 8, kP)
29512
29546
  ], 46, fP));
29513
29547
  }
29514
- }), HB = /* @__PURE__ */ A({
29548
+ }), jB = /* @__PURE__ */ A({
29515
29549
  __name: "ResponsiveView",
29516
29550
  props: {
29517
29551
  mode: { default: "auto" }
@@ -29524,7 +29558,7 @@ const fP = ["data-ui-layout-mode", "data-ui-mobile-open", "data-ui-motion-ready"
29524
29558
  return (r, i) => k(r.$slots, o.value);
29525
29559
  }
29526
29560
  }), zi = "width=device-width, initial-scale=1";
29527
- function jB(e = document) {
29561
+ function UB(e = document) {
29528
29562
  const a = e.head.querySelector('meta[name="viewport"]');
29529
29563
  if (a?.content.replace(/\s/g, "").includes("width=device-width")) return () => {
29530
29564
  };
@@ -29581,7 +29615,7 @@ const AP = /* @__PURE__ */ A({
29581
29615
  t.modelValue === s.key ? "bg-[var(--ui-surface-selected)] text-[var(--ui-text)]" : "bg-transparent text-[var(--ui-text)] hover:bg-[var(--ui-surface-hover)]"
29582
29616
  ];
29583
29617
  return (s, u) => {
29584
- const d = Rr("AppSidebarItems", !0);
29618
+ const d = Mr("AppSidebarItems", !0);
29585
29619
  return f(!0), g(de, null, Ce(e.items, (c) => (f(), g(de, {
29586
29620
  key: c.key
29587
29621
  }, [
@@ -29668,7 +29702,7 @@ const AP = /* @__PURE__ */ A({
29668
29702
  key: 1,
29669
29703
  "data-nav-group-label": "",
29670
29704
  class: "flex h-6 items-center px-[11px] text-[12px] font-bold text-[rgba(65,75,85,0.5)]"
29671
- }, UB = /* @__PURE__ */ A({
29705
+ }, GB = /* @__PURE__ */ A({
29672
29706
  __name: "AppSidebar",
29673
29707
  props: {
29674
29708
  modelValue: {},
@@ -29683,7 +29717,7 @@ const AP = /* @__PURE__ */ A({
29683
29717
  },
29684
29718
  emits: ["update:modelValue", "update:expandedKeys", "select", "branchToggle"],
29685
29719
  setup(e, { emit: a }) {
29686
- const n = je(e, { ariaLabel: "Application navigation", clearSearchLabel: "Clear search", searchPlaceholder: "Search" }), o = a, r = Xe($l, h(() => !1)), i = D(""), s = D(/* @__PURE__ */ new Set());
29720
+ const n = je(e, { ariaLabel: "Application navigation", clearSearchLabel: "Clear search", searchPlaceholder: "Search" }), o = a, r = Xe(El, h(() => !1)), i = D(""), s = D(/* @__PURE__ */ new Set());
29687
29721
  function u(C, S) {
29688
29722
  return C.flatMap((q) => {
29689
29723
  const O = q.children ? u(q.children, S) : [];
@@ -29754,7 +29788,7 @@ const AP = /* @__PURE__ */ A({
29754
29788
  class: "flex h-6 w-full items-center gap-1 border-0 bg-transparent px-[11px] text-left text-[12px] font-bold text-[rgba(65,75,85,0.5)] outline-none focus-visible:shadow-[0_0_0_3px_var(--ui-focus-ring)]",
29755
29789
  onClick: (R) => p(O)
29756
29790
  }, [
29757
- B(l(ft), {
29791
+ B(l(pt), {
29758
29792
  class: ne(["size-3 shrink-0 transition-transform", !v(O) && "-rotate-90"]),
29759
29793
  "aria-hidden": "true"
29760
29794
  }, null, 8, ["class"]),
@@ -29784,14 +29818,14 @@ const AP = /* @__PURE__ */ A({
29784
29818
  key: 0,
29785
29819
  "data-ui-user-detail": "",
29786
29820
  class: "truncate"
29787
- }, GB = /* @__PURE__ */ A({
29821
+ }, YB = /* @__PURE__ */ A({
29788
29822
  __name: "AppSidebarUser",
29789
29823
  props: {
29790
29824
  name: {},
29791
29825
  detail: {}
29792
29826
  },
29793
29827
  setup(e) {
29794
- const a = e, t = Xe($l, h(() => !1)), n = h(() => Array.from(a.name.trim())[0]?.toUpperCase() ?? "?");
29828
+ const a = e, t = Xe(El, h(() => !1)), n = h(() => Array.from(a.name.trim())[0]?.toUpperCase() ?? "?");
29795
29829
  return (o, r) => (f(), E(Sn, {
29796
29830
  content: e.detail ? `${e.name} · ${e.detail}` : e.name,
29797
29831
  side: "right",
@@ -29822,7 +29856,7 @@ const AP = /* @__PURE__ */ A({
29822
29856
  }, WP = { class: "min-w-0 flex-1" }, HP = {
29823
29857
  key: 1,
29824
29858
  class: "ml-auto flex shrink-0 items-center gap-2"
29825
- }, YB = /* @__PURE__ */ A({
29859
+ }, XB = /* @__PURE__ */ A({
29826
29860
  __name: "AppToolbar",
29827
29861
  props: {
29828
29862
  height: { default: "var(--ui-toolbar-height)" }
@@ -29851,7 +29885,7 @@ const AP = /* @__PURE__ */ A({
29851
29885
  }, UP = {
29852
29886
  key: 0,
29853
29887
  class: "flex shrink-0 items-center gap-2"
29854
- }, GP = { class: "ml-auto flex items-center gap-2" }, XB = /* @__PURE__ */ A({
29888
+ }, GP = { class: "ml-auto flex items-center gap-2" }, ZB = /* @__PURE__ */ A({
29855
29889
  __name: "AppActionBar",
29856
29890
  props: {
29857
29891
  buttons: { default: () => [] }
@@ -29893,7 +29927,7 @@ const AP = /* @__PURE__ */ A({
29893
29927
  key: 0,
29894
29928
  "data-ui-page-header-actions": "",
29895
29929
  class: "ml-auto flex max-w-full shrink-0 flex-wrap items-center justify-end gap-2"
29896
- }, ZB = /* @__PURE__ */ A({
29930
+ }, JB = /* @__PURE__ */ A({
29897
29931
  __name: "PageHeader",
29898
29932
  props: {
29899
29933
  title: {},
@@ -29923,7 +29957,7 @@ const AP = /* @__PURE__ */ A({
29923
29957
  ])) : F("", !0)
29924
29958
  ], 2));
29925
29959
  }
29926
- }), tT = ["data-width", "data-page-surface"], JB = /* @__PURE__ */ A({
29960
+ }), tT = ["data-width", "data-page-surface"], QB = /* @__PURE__ */ A({
29927
29961
  __name: "PageContent",
29928
29962
  props: {
29929
29963
  width: { default: "fill" },
@@ -29949,7 +29983,7 @@ const AP = /* @__PURE__ */ A({
29949
29983
  ], 4)
29950
29984
  ], 8, tT));
29951
29985
  }
29952
- }), aT = ["aria-label"], nT = ["disabled", "data-ui-tab-value", "aria-current", "onClick"], QB = /* @__PURE__ */ A({
29986
+ }), aT = ["aria-label"], nT = ["disabled", "data-ui-tab-value", "aria-current", "onClick"], eO = /* @__PURE__ */ A({
29953
29987
  inheritAttrs: !1,
29954
29988
  __name: "SectionTabs",
29955
29989
  props: {
@@ -29995,7 +30029,7 @@ const AP = /* @__PURE__ */ A({
29995
30029
  ])) : F("", !0)
29996
30030
  ], 64));
29997
30031
  }
29998
- }), $d = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-manager"), Dl = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-provider");
30032
+ }), $d = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-manager"), Bl = /* @__PURE__ */ Symbol("syno-pkg-land-ui:config-provider");
29999
30033
  function Ia(e) {
30000
30034
  if (typeof e != "object" || e === null || Array.isArray(e)) return !1;
30001
30035
  const a = Object.getPrototypeOf(e);
@@ -30027,11 +30061,11 @@ function oT(e, a) {
30027
30061
  }
30028
30062
  return t;
30029
30063
  }
30030
- function Tr(e, a) {
30064
+ function Dr(e, a) {
30031
30065
  const t = { ...e };
30032
30066
  for (const n of Ed(a)) {
30033
30067
  const o = Ra(a, n), r = Ra(t, n);
30034
- Ia(r) && Ia(o) ? rn(t, n, Tr(r, o)) : rn(t, n, o);
30068
+ Ia(r) && Ia(o) ? rn(t, n, Dr(r, o)) : rn(t, n, o);
30035
30069
  }
30036
30070
  return t;
30037
30071
  }
@@ -30044,24 +30078,24 @@ function rT(e) {
30044
30078
  return a;
30045
30079
  }
30046
30080
  function Ad(e, a, t = {}) {
30047
- const n = Xe(Dl, null), o = Xe($d, null);
30081
+ const n = Xe(Bl, null), o = Xe($d, null);
30048
30082
  return h(() => {
30049
30083
  const r = [t, o?.value?.[e], n?.value?.[e]];
30050
30084
  let i = {};
30051
- for (const s of r) s && (i = Tr(i, s));
30052
- return Tr(i, rT(a));
30085
+ for (const s of r) s && (i = Dr(i, s));
30086
+ return Dr(i, rT(a));
30053
30087
  });
30054
30088
  }
30055
- function eO(e) {
30089
+ function tO(e) {
30056
30090
  Ze($d, e);
30057
30091
  }
30058
30092
  function lT() {
30059
- return Xe(Dl, h(() => ({})));
30093
+ return Xe(Bl, h(() => ({})));
30060
30094
  }
30061
30095
  function iT(e) {
30062
- Ze(Dl, e);
30096
+ Ze(Bl, e);
30063
30097
  }
30064
- const tO = /* @__PURE__ */ A({
30098
+ const aO = /* @__PURE__ */ A({
30065
30099
  inheritAttrs: !1,
30066
30100
  __name: "ConfigProvider",
30067
30101
  props: {
@@ -30074,7 +30108,7 @@ const tO = /* @__PURE__ */ A({
30074
30108
  const n = lT(), o = h(() => oT(n.value, a.config));
30075
30109
  return iT(o), (r, i) => k(r.$slots, "default");
30076
30110
  }
30077
- }), aO = /* @__PURE__ */ A({
30111
+ }), nO = /* @__PURE__ */ A({
30078
30112
  __name: "Form",
30079
30113
  props: {
30080
30114
  rules: {},
@@ -30089,7 +30123,7 @@ const tO = /* @__PURE__ */ A({
30089
30123
  rules: {},
30090
30124
  direction: "auto",
30091
30125
  spacing: "auto",
30092
- fieldWidth: wr,
30126
+ fieldWidth: kr,
30093
30127
  validateMessageDisplayMode: "popup"
30094
30128
  }), s = Fe("root"), u = la(s), d = h(() => i.value.direction === "vertical" || i.value.direction === "auto" && u.value > 0 && u.value < 520 ? "vertical" : "horizontal"), c = { none: 0, dense: 4, compact: 6, regular: 8, relaxed: 12 }, p = h(() => {
30095
30129
  const O = i.value.spacing ?? "auto";
@@ -30104,13 +30138,13 @@ const tO = /* @__PURE__ */ A({
30104
30138
  }
30105
30139
  Ze(
30106
30140
  vs,
30107
- ct({
30141
+ ft({
30108
30142
  rules: h(() => i.value.rules ?? {}),
30109
30143
  // Preserve auto so every item measures its own available width. The
30110
30144
  // container's resolved direction only controls its automatic spacing.
30111
30145
  direction: h(() => i.value.direction),
30112
30146
  spacing: h(() => i.value.spacing ?? "auto"),
30113
- fieldWidth: h(() => i.value.fieldWidth ?? wr),
30147
+ fieldWidth: h(() => i.value.fieldWidth ?? kr),
30114
30148
  validateMessageDisplayMode: h(() => i.value.validateMessageDisplayMode ?? "popup"),
30115
30149
  registerField: y,
30116
30150
  unregisterField: _
@@ -30161,7 +30195,7 @@ const tO = /* @__PURE__ */ A({
30161
30195
  url: "Value must be a valid URL",
30162
30196
  date: "Value must be a valid date"
30163
30197
  };
30164
- function Dr(e) {
30198
+ function Br(e) {
30165
30199
  return e ? Array.isArray(e) ? [...e] : [e] : [];
30166
30200
  }
30167
30201
  function dT(e, a) {
@@ -30238,8 +30272,8 @@ function yT(e, a) {
30238
30272
  return e.trigger ? Array.isArray(e.trigger) ? e.trigger : [e.trigger] : [a];
30239
30273
  }
30240
30274
  async function hT(e, a, t = {}) {
30241
- const n = t.defaultTrigger ?? sT, o = t.trigger ?? null, r = t.text ?? ((i, s) => Kr("en", i, s));
30242
- for (const i of Dr(a)) {
30275
+ const n = t.defaultTrigger ?? sT, o = t.trigger ?? null, r = t.text ?? ((i, s) => Wr("en", i, s));
30276
+ for (const i of Br(a)) {
30243
30277
  if (o !== null && !yT(i, n).includes(o)) continue;
30244
30278
  const s = await mT(i, e, r);
30245
30279
  if (s) return s;
@@ -30250,7 +30284,7 @@ const gT = ["data-direction", "data-status"], bT = ["id", "for"], xT = {
30250
30284
  key: 0,
30251
30285
  class: "ml-0.5 text-[var(--ui-danger)]",
30252
30286
  "aria-hidden": "true"
30253
- }, _T = { class: "flex items-start gap-2" }, wT = ["id"], kT = ["id"], nO = /* @__PURE__ */ A({
30287
+ }, _T = { class: "flex items-start gap-2" }, wT = ["id"], kT = ["id"], oO = /* @__PURE__ */ A({
30254
30288
  __name: "FormItem",
30255
30289
  props: {
30256
30290
  modelValue: {},
@@ -30343,7 +30377,7 @@ const gT = ["data-direction", "data-status"], bT = ["id", "for"], xT = {
30343
30377
  const ke = H.value === "vertical" ? { display: "flex", flexDirection: "column", gap: "var(--ui-space-1)" } : { display: "flex", alignItems: "flex-start", columnGap: "var(--ui-label-gap)" }, Ie = s.value.indent ?? 0;
30344
30378
  return Ie && (ke.paddingLeft = typeof Ie == "number" ? `${Ie * 28}px` : Ie), ke;
30345
30379
  }), oe = h(() => ({
30346
- maxWidth: Sl(o.fieldWidth ?? u?.fieldWidth)
30380
+ maxWidth: $l(o.fieldWidth ?? u?.fieldWidth)
30347
30381
  })), le = h(() => H.value === "vertical" ? void 0 : { width: s.value.labelWidth ?? "var(--ui-label-column)" }), se = h(() => {
30348
30382
  const ke = V.value ? "text-[var(--ui-danger)]" : M.value === "warning" ? "text-[var(--ui-warning)]" : M.value === "success" ? "text-[var(--ui-success)]" : "text-[var(--ui-text-secondary)]";
30349
30383
  return ae.value === "text" ? Be("mt-1 text-[12px] leading-4", ke) : Be(
@@ -30352,7 +30386,7 @@ const gT = ["data-direction", "data-status"], bT = ["id", "for"], xT = {
30352
30386
  );
30353
30387
  }), fe = { afterItem: "shrink-0 self-center" };
30354
30388
  function ie() {
30355
- const ke = Dr(s.value.rules), Ie = o.prop, et = Ie ? Dr(u?.rules?.[Ie]) : [];
30389
+ const ke = Br(s.value.rules), Ie = o.prop, et = Ie ? Br(u?.rules?.[Ie]) : [];
30356
30390
  return [...ke, ...et];
30357
30391
  }
30358
30392
  let ge = 0;
@@ -30411,7 +30445,7 @@ const gT = ["data-direction", "data-status"], bT = ["id", "for"], xT = {
30411
30445
  Ae(() => {
30412
30446
  u?.registerField(at), s.value.immediateValidate && qe(null);
30413
30447
  }), Ke(() => u?.unregisterField(at));
30414
- const ia = ct({
30448
+ const ia = ft({
30415
30449
  controlId: m,
30416
30450
  defaultControlId: v.control,
30417
30451
  claimControl: (ke) => (y.value.push(ke), y.value[0] === ke),
@@ -30447,7 +30481,7 @@ const gT = ["data-direction", "data-status"], bT = ["id", "for"], xT = {
30447
30481
  onInput: ce
30448
30482
  }))
30449
30483
  });
30450
- Ze(Wr, ia);
30484
+ Ze(Hr, ia);
30451
30485
  function Tt() {
30452
30486
  if (s.value.textOnly || L.value) return;
30453
30487
  const ke = [...c.value?.querySelectorAll("[id]") ?? []].find((nt) => nt.id === m.value);
@@ -30543,13 +30577,13 @@ const gT = ["data-direction", "data-status"], bT = ["id", "for"], xT = {
30543
30577
  ], 2)
30544
30578
  ], 46, gT));
30545
30579
  }
30546
- }), Aa = ["xxs", "xs", "sm", "md", "lg", "xl"], Br = { xxs: 0, xs: 480, sm: 768, md: 1024, lg: 1280, xl: 1600 }, CT = /* @__PURE__ */ Symbol("syno-grid-breakpoints");
30580
+ }), Aa = ["xxs", "xs", "sm", "md", "lg", "xl"], Or = { xxs: 0, xs: 480, sm: 768, md: 1024, lg: 1280, xl: 1600 }, CT = /* @__PURE__ */ Symbol("syno-grid-breakpoints");
30547
30581
  function ST(e) {
30548
30582
  return typeof e == "object" && e !== null && !Array.isArray(e) && Aa.some((a) => a in e);
30549
30583
  }
30550
- function Ki(e, a = Br) {
30584
+ function Ki(e, a = Or) {
30551
30585
  return Aa.reduce(
30552
- (t, n) => e >= (a[n] ?? Br[n]) ? n : t,
30586
+ (t, n) => e >= (a[n] ?? Or[n]) ? n : t,
30553
30587
  "xxs"
30554
30588
  );
30555
30589
  }
@@ -30570,7 +30604,7 @@ function kt(e, a) {
30570
30604
  }
30571
30605
  }
30572
30606
  function Pd(e) {
30573
- const a = Xe(CT, Br), t = typeof window < "u", n = D(t ? Ki(window.innerWidth, a) : "xxs"), o = [], r = () => {
30607
+ const a = Xe(CT, Or), t = typeof window < "u", n = D(t ? Ki(window.innerWidth, a) : "xxs"), o = [], r = () => {
30574
30608
  t && (n.value = Ki(window.innerWidth, a));
30575
30609
  };
30576
30610
  return Ae(() => {
@@ -30605,14 +30639,14 @@ function Hi(e, a) {
30605
30639
  function ji(e, a) {
30606
30640
  return typeof e == "number" && Number.isFinite(e) && e > 0 ? Math.floor(e) : typeof e == "string" && /^\d+$/.test(e.trim()) && Number(e) > 0 ? Math.floor(Number(e)) : a;
30607
30641
  }
30608
- const Bl = /* @__PURE__ */ Symbol("syno-grid-layout");
30642
+ const Ol = /* @__PURE__ */ Symbol("syno-grid-layout");
30609
30643
  function $T(e) {
30610
30644
  return e === "start" ? "flex-start" : e === "end" ? "flex-end" : e;
30611
30645
  }
30612
30646
  function ET(e) {
30613
30647
  return e === "start" ? "flex-start" : e === "end" ? "flex-end" : e;
30614
30648
  }
30615
- const oO = /* @__PURE__ */ A({
30649
+ const rO = /* @__PURE__ */ A({
30616
30650
  __name: "Grid",
30617
30651
  props: {
30618
30652
  columns: {},
@@ -30639,13 +30673,13 @@ const oO = /* @__PURE__ */ A({
30639
30673
  ...Td(kt(a.gap, s))
30640
30674
  };
30641
30675
  });
30642
- return Ze(Bl, { type: "grid", active: t, columns: n }), (s, u) => (f(), g("div", {
30676
+ return Ze(Ol, { type: "grid", active: t, columns: n }), (s, u) => (f(), g("div", {
30643
30677
  style: Ee(i.value)
30644
30678
  }, [
30645
30679
  k(s.$slots, "default")
30646
30680
  ], 4));
30647
30681
  }
30648
- }), rO = /* @__PURE__ */ A({
30682
+ }), lO = /* @__PURE__ */ A({
30649
30683
  __name: "Row",
30650
30684
  props: {
30651
30685
  align: {},
@@ -30661,19 +30695,19 @@ const oO = /* @__PURE__ */ A({
30661
30695
  justifyContent: ET(kt(a.justify, t.value) ?? "start"),
30662
30696
  ...Td(kt(a.gap, t.value))
30663
30697
  }));
30664
- return Ze(Bl, { type: "row", active: t, columns: h(() => 1) }), (o, r) => (f(), g("div", {
30698
+ return Ze(Ol, { type: "row", active: t, columns: h(() => 1) }), (o, r) => (f(), g("div", {
30665
30699
  style: Ee(n.value)
30666
30700
  }, [
30667
30701
  k(o.$slots, "default")
30668
30702
  ], 4));
30669
30703
  }
30670
- }), qT = ["data-col"], lO = /* @__PURE__ */ A({
30704
+ }), qT = ["data-col"], iO = /* @__PURE__ */ A({
30671
30705
  __name: "Col",
30672
30706
  props: {
30673
30707
  flex: { default: "none" }
30674
30708
  },
30675
30709
  setup(e) {
30676
- const a = e, t = Xe(Bl, null);
30710
+ const a = e, t = Xe(Ol, null);
30677
30711
  function n(i, s) {
30678
30712
  const u = Number(i);
30679
30713
  return !Number.isFinite(u) || u <= 0 ? 1 : Math.min(Math.floor(u), s);
@@ -30713,7 +30747,7 @@ function TT(e, a) {
30713
30747
  function DT(e) {
30714
30748
  return e === "start" || !e ? "flex-start" : e === "end" ? "flex-end" : e;
30715
30749
  }
30716
- const iO = /* @__PURE__ */ A({
30750
+ const sO = /* @__PURE__ */ A({
30717
30751
  __name: "Space",
30718
30752
  props: {
30719
30753
  alignItems: {},
@@ -30756,7 +30790,7 @@ function BT(e, a) {
30756
30790
  const i = t.top + a.offsetTop;
30757
30791
  return n.top >= i || (r.affixed = !0, r.top = Math.min(i, t.bottom - a.offsetBottom - o)), r;
30758
30792
  }
30759
- const sO = /* @__PURE__ */ A({
30793
+ const uO = /* @__PURE__ */ A({
30760
30794
  __name: "Affix",
30761
30795
  props: {
30762
30796
  target: {},
@@ -30854,7 +30888,7 @@ const IT = {
30854
30888
  }, RT = ["data-overflow-item"], MT = ["data-overflow-item"], VT = {
30855
30889
  key: 1,
30856
30890
  class: "flex shrink-0 items-center gap-1"
30857
- }, LT = { class: "flex-1" }, Gi = "z-[1100] min-w-44 rounded-[var(--ui-radius-md)] border border-[var(--ui-border)] bg-[var(--ui-surface-raised)] p-1 shadow-[var(--ui-shadow-menu)] outline-none", ar = "flex h-7 select-none items-center gap-2 rounded-[var(--ui-radius-sm)] px-2.5 text-[length:var(--ui-font-size)] text-[var(--ui-text)] outline-none data-[highlighted]:bg-[var(--ui-primary-soft)] data-[disabled]:opacity-40", uO = /* @__PURE__ */ A({
30891
+ }, LT = { class: "flex-1" }, Gi = "z-[1100] min-w-44 rounded-[var(--ui-radius-md)] border border-[var(--ui-border)] bg-[var(--ui-surface-raised)] p-1 shadow-[var(--ui-shadow-menu)] outline-none", ar = "flex h-7 select-none items-center gap-2 rounded-[var(--ui-radius-sm)] px-2.5 text-[length:var(--ui-font-size)] text-[var(--ui-text)] outline-none data-[highlighted]:bg-[var(--ui-primary-soft)] data-[disabled]:opacity-40", dO = /* @__PURE__ */ A({
30858
30892
  __name: "OverflowToolbar",
30859
30893
  props: {
30860
30894
  items: { default: () => [] },
@@ -30971,7 +31005,7 @@ const IT = {
30971
31005
  }), {
30972
31006
  default: w(() => [
30973
31007
  ye(j(P.title), 1),
30974
- B(l(ft), {
31008
+ B(l(pt), {
30975
31009
  class: "size-3.5",
30976
31010
  "aria-hidden": "true"
30977
31011
  })
@@ -31126,7 +31160,7 @@ const IT = {
31126
31160
  }, KT = {
31127
31161
  key: 3,
31128
31162
  class: "sr-only"
31129
- }, dO = /* @__PURE__ */ A({
31163
+ }, cO = /* @__PURE__ */ A({
31130
31164
  __name: "Link",
31131
31165
  props: {
31132
31166
  href: {},
@@ -31174,7 +31208,7 @@ const IT = {
31174
31208
  e.external && r.value === "_blank" ? (f(), g("span", NT, " (" + j(l(n).externalLabel) + ")", 1)) : e.download !== void 0 && e.download !== !1 ? (f(), g("span", KT, " (" + j(l(n).downloadLabel) + ")", 1)) : F("", !0)
31175
31209
  ], 10, FT));
31176
31210
  }
31177
- }), WT = { class: "min-w-0 break-words [word-break:keep-all] text-[var(--ui-text)]" }, HT = { class: "min-w-0 break-words [word-break:keep-all] text-[var(--ui-text)]" }, cO = /* @__PURE__ */ A({
31211
+ }), WT = { class: "min-w-0 break-words [word-break:keep-all] text-[var(--ui-text)]" }, HT = { class: "min-w-0 break-words [word-break:keep-all] text-[var(--ui-text)]" }, fO = /* @__PURE__ */ A({
31178
31212
  __name: "KeyValueRow",
31179
31213
  props: {
31180
31214
  label: {},
@@ -31206,200 +31240,201 @@ const IT = {
31206
31240
  });
31207
31241
  export {
31208
31242
  sP as APP_ROOT_ATTRIBUTE,
31209
- KB as APP_ROOT_SELECTOR,
31210
- zB as AboutDialog,
31211
- bD as Accordion,
31212
- RB as AdvancePanelColumns,
31213
- IB as AdvancePanelForm,
31214
- OB as AdvancePanelGrid,
31215
- sO as Affix,
31216
- XB as AppActionBar,
31217
- WB as AppLayout,
31218
- NB as AppRoot,
31219
- UB as AppSidebar,
31220
- GB as AppSidebarUser,
31221
- YB as AppToolbar,
31222
- iD as Badge,
31223
- zD as Breadcrumb,
31243
+ WB as APP_ROOT_SELECTOR,
31244
+ NB as AboutDialog,
31245
+ xD as Accordion,
31246
+ MB as AdvancePanelColumns,
31247
+ RB as AdvancePanelForm,
31248
+ IB as AdvancePanelGrid,
31249
+ uO as Affix,
31250
+ ZB as AppActionBar,
31251
+ HB as AppLayout,
31252
+ KB as AppRoot,
31253
+ GB as AppSidebar,
31254
+ YB as AppSidebarUser,
31255
+ XB as AppToolbar,
31256
+ sD as Badge,
31257
+ ND as Breadcrumb,
31224
31258
  rt as Button,
31225
- tB as Callout,
31226
- qB as Card,
31227
- AB as CardGrid,
31228
- iB as CellStatus,
31229
- lB as CellText,
31230
- ki as Checkbox,
31231
- lO as Col,
31259
+ aB as Callout,
31260
+ AB as Card,
31261
+ PB as CardGrid,
31262
+ sB as CellStatus,
31263
+ iB as CellText,
31264
+ xr as Checkbox,
31265
+ aD as CheckboxGroup,
31266
+ iO as Col,
31232
31267
  tD as ColorPicker,
31233
- oD as Combobox,
31234
- tO as ConfigProvider,
31235
- nB as ConnectionTopology,
31236
- cD as ContextMenu,
31237
- pB as CopyCutField,
31238
- pD as DATE_FORMATS,
31268
+ rD as Combobox,
31269
+ aO as ConfigProvider,
31270
+ oB as ConnectionTopology,
31271
+ fD as ContextMenu,
31272
+ vB as CopyCutField,
31273
+ vD as DATE_FORMATS,
31239
31274
  vd as DEFAULT_ALLOW_ATTRS,
31240
- Br as DEFAULT_BREAKPOINTS,
31275
+ Or as DEFAULT_BREAKPOINTS,
31241
31276
  pd as DEFAULT_LINK_TAGS,
31242
31277
  fd as DEFAULT_PARSE_TAGS,
31243
31278
  Vk as DEFAULT_TOGGLE_APPEARANCE,
31244
- dB as DataGrid,
31245
- rB as DataTable,
31246
- mB as DataView,
31247
- mD as DatePicker,
31279
+ cB as DataGrid,
31280
+ lB as DataTable,
31281
+ yB as DataView,
31282
+ yD as DatePicker,
31248
31283
  id as Dialog,
31249
- fD as Drawer,
31284
+ pD as Drawer,
31250
31285
  nd as DropdownMenu,
31251
- oB as EmptyState,
31252
- DB as ExpandableItem,
31253
- YD as FieldCell,
31254
- BB as Fieldset,
31255
- fB as FilePicker,
31256
- wD as FileTypeIcon,
31286
+ rB as EmptyState,
31287
+ BB as ExpandableItem,
31288
+ XD as FieldCell,
31289
+ OB as Fieldset,
31290
+ pB as FilePicker,
31291
+ kD as FileTypeIcon,
31257
31292
  eS as Footbar,
31258
- aO as Form,
31259
- jD as FormActions,
31260
- nO as FormItem,
31293
+ nO as Form,
31294
+ UD as FormActions,
31295
+ oO as FormItem,
31261
31296
  CT as GRID_BREAKPOINTS,
31262
- FD as Ghost,
31263
- oO as Grid,
31264
- PB as HighlightBox,
31297
+ zD as Ghost,
31298
+ rO as Grid,
31299
+ TB as HighlightBox,
31265
31300
  tk as ICON_SET_COLORS,
31266
31301
  ek as ICON_SIZE_TOKENS,
31267
31302
  Ui as ITEM_GAP,
31268
31303
  Nn as Icon,
31269
31304
  Bt as IconButton,
31270
- kB as InfoMask,
31271
- CB as InfoTip,
31305
+ CB as InfoMask,
31306
+ SB as InfoTip,
31272
31307
  hs as Input,
31273
31308
  YT as InputGroup,
31274
31309
  QT as InputSteppers,
31275
- cO as KeyValueRow,
31276
- dO as Link,
31277
- sB as ListItem,
31278
- sD as LoadingArea,
31310
+ fO as KeyValueRow,
31311
+ cO as Link,
31312
+ uB as ListItem,
31313
+ uD as LoadingArea,
31279
31314
  Eo as LoadingIndicator,
31280
31315
  T0 as LoadingMask,
31281
31316
  bd as MOBILE_LAYOUT_MAX,
31282
31317
  CA as MessageBox,
31283
- VB as MessageBoxProvider,
31284
- rD as MultipleSelect,
31318
+ LB as MessageBoxProvider,
31319
+ lD as MultipleSelect,
31285
31320
  cq as Notification,
31286
- $B as NotificationProvider,
31287
- hB as OverflowList,
31288
- gB as OverflowListItem,
31289
- uO as OverflowToolbar,
31290
- JB as PageContent,
31291
- ZB as PageHeader,
31292
- ND as Pagination,
31293
- TB as Panel,
31294
- vB as PathDisplay,
31295
- uD as Popover,
31321
+ EB as NotificationProvider,
31322
+ gB as OverflowList,
31323
+ bB as OverflowListItem,
31324
+ dO as OverflowToolbar,
31325
+ QB as PageContent,
31326
+ JB as PageHeader,
31327
+ KD as Pagination,
31328
+ DB as Panel,
31329
+ mB as PathDisplay,
31330
+ dD as Popover,
31296
31331
  td as Progress,
31297
- nD as RadioGroup,
31298
- GD as RepeatRow,
31299
- UD as RepeatRows,
31300
- HB as ResponsiveView,
31301
- CD as RichText,
31302
- rO as Row,
31332
+ oD as RadioGroup,
31333
+ YD as RepeatRow,
31334
+ GD as RepeatRows,
31335
+ jB as ResponsiveView,
31336
+ SD as RichText,
31337
+ lO as Row,
31303
31338
  Xa as SCHEDULE_DAYS,
31304
31339
  Jo as SCHEDULE_MAX_OPTIONS,
31305
- bB as SCHEDULE_SPLIT_MINUTES,
31306
- wB as ScheduleTable,
31340
+ xB as SCHEDULE_SPLIT_MINUTES,
31341
+ kB as ScheduleTable,
31307
31342
  yd as Scrollbar,
31308
31343
  AC as SearchField,
31309
31344
  ad as SectionSkeleton,
31310
- QB as SectionTabs,
31311
- KD as SegmentControl,
31312
- WD as SegmentItem,
31345
+ eO as SectionTabs,
31346
+ WD as SegmentControl,
31347
+ HD as SegmentItem,
31313
31348
  c0 as Select,
31314
31349
  $0 as Separator,
31315
- HD as SettingsRow,
31316
- eB as SettingsSection,
31317
- fD as Sheet,
31350
+ jD as SettingsRow,
31351
+ tB as SettingsSection,
31352
+ pD as Sheet,
31318
31353
  R0 as Skeleton,
31319
31354
  eD as Slider,
31320
- iO as Space,
31355
+ sO as Space,
31321
31356
  cn as Spinner,
31322
- dD as SplitButton,
31323
- uB as Statistic,
31357
+ cD as SplitButton,
31358
+ dB as Statistic,
31324
31359
  ed as StatusDot,
31325
- aB as StepList,
31326
- lD as SuperboxSelect,
31360
+ nB as StepList,
31361
+ iD as SuperboxSelect,
31327
31362
  F0 as Surface,
31328
- aD as Switch,
31329
- vD as TIME_FORMATS,
31363
+ nD as Switch,
31364
+ mD as TIME_FORMATS,
31330
31365
  Lk as TOGGLE_BUTTON_GROUP_GAP,
31331
- gD as Tabs,
31332
- LD as Tag,
31366
+ bD as Tabs,
31367
+ FD as Tag,
31333
31368
  Uc as Textarea,
31334
- hD as ToastProvider,
31335
- MD as ToggleButton,
31336
- VD as ToggleButtonGroup,
31369
+ gD as ToastProvider,
31370
+ VD as ToggleButton,
31371
+ LD as ToggleButtonGroup,
31337
31372
  Sn as Tooltip,
31338
- cB as TreeView,
31339
- SD as TypoA,
31340
- $D as TypoBlockquote,
31341
- ED as TypoCode,
31342
- qD as TypoDivider,
31343
- AD as TypoHeader,
31344
- PD as TypoHr,
31345
- TD as TypoLi,
31346
- DD as TypoList,
31347
- BD as TypoP,
31348
- OD as TypoTable,
31349
- ID as TypoText,
31350
- RD as TypoTip,
31351
- EB as ValidationPopup,
31352
- yB as VirtualList,
31373
+ fB as TreeView,
31374
+ $D as TypoA,
31375
+ ED as TypoBlockquote,
31376
+ qD as TypoCode,
31377
+ AD as TypoDivider,
31378
+ PD as TypoHeader,
31379
+ TD as TypoHr,
31380
+ DD as TypoLi,
31381
+ BD as TypoList,
31382
+ OD as TypoP,
31383
+ ID as TypoTable,
31384
+ RD as TypoText,
31385
+ MD as TypoTip,
31386
+ qB as ValidationPopup,
31387
+ hB as VirtualList,
31353
31388
  LS as WEB_LAYOUT_MIN,
31354
- LB as Wizard,
31355
- FB as WizardStep,
31389
+ FB as Wizard,
31390
+ zB as WizardStep,
31356
31391
  xd as appPresentationForWidth,
31357
- _D as clearIconRegistry,
31392
+ wD as clearIconRegistry,
31358
31393
  P1 as composeDateTime,
31359
31394
  BT as computeAffix,
31360
31395
  OT as computeOverflowFit,
31361
31396
  SA as createMessageBoxHost,
31362
- _B as createScheduleValue,
31363
- jB as ensureDeviceViewport,
31397
+ wB as createScheduleValue,
31398
+ UB as ensureDeviceViewport,
31364
31399
  aE as filePickerText,
31365
31400
  ik as fileTypeIcon,
31366
31401
  Ei as formatDateText,
31367
- JD as formatDuration,
31368
- kr as formatFileSize,
31369
- ZD as formatPercent,
31370
- QD as formatRelativeTime,
31371
- XD as formatSpeed,
31402
+ QD as formatDuration,
31403
+ Cr as formatFileSize,
31404
+ JD as formatPercent,
31405
+ eB as formatRelativeTime,
31406
+ ZD as formatSpeed,
31372
31407
  D1 as formatTimeText,
31373
31408
  ok as getRegisteredIcon,
31374
31409
  kk as headingId,
31375
31410
  B1 as hourOptions,
31376
31411
  pk as isSafeRichTextUrl,
31377
- xB as isValidScheduleValue,
31412
+ _B as isValidScheduleValue,
31378
31413
  Cd as messageBoxKey,
31379
31414
  O1 as minuteOptions,
31380
- Dr as normalizeRules,
31415
+ Br as normalizeRules,
31381
31416
  kd as notificationControllerKey,
31382
31417
  OE as orderScheduleOptions,
31383
31418
  T1 as parseDateText,
31384
31419
  ud as parseDateTime,
31385
31420
  yk as parseRichText,
31386
- eO as provideConfigManager,
31387
- xD as registerIcons,
31388
- Sl as resolveFieldWidth,
31421
+ tO as provideConfigManager,
31422
+ _D as registerIcons,
31423
+ $l as resolveFieldWidth,
31389
31424
  ak as resolveIconSize,
31390
31425
  Vi as scheduleCellIndex,
31391
- Pl as scheduleCellsPerDay,
31392
- Al as scheduleSplitsPerHour,
31393
- Tl as scheduleValueLength,
31426
+ Tl as scheduleCellsPerDay,
31427
+ Pl as scheduleSplitsPerHour,
31428
+ Dl as scheduleValueLength,
31394
31429
  $A as useDialog,
31395
31430
  Lc as useFormContext,
31396
31431
  Fc as useFormField,
31397
- kD as useIconButton,
31398
- MB as useMessageBox,
31432
+ CD as useIconButton,
31433
+ VB as useMessageBox,
31399
31434
  EA as useMessageBoxHost,
31400
31435
  fq as useNotification,
31401
- SB as useNotifyManager,
31436
+ $B as useNotifyManager,
31402
31437
  Ad as useProps,
31403
- yD as useToast,
31438
+ hD as useToast,
31404
31439
  hT as validateWithRules
31405
31440
  };