@lumx/vue 4.24.1-alpha.1 → 4.25.0-next.0

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.
Files changed (3) hide show
  1. package/index.js +555 -555
  2. package/index.js.map +1 -1
  3. package/package.json +3 -3
package/index.js CHANGED
@@ -255,8 +255,8 @@ const $f = {
255
255
  dialogProps: c,
256
256
  children: u,
257
257
  DescriptionElement: d,
258
- cancelButtonRef: h,
259
- confirmationButtonRef: f,
258
+ cancelButtonRef: f,
259
+ confirmationButtonRef: h,
260
260
  focusElement: g,
261
261
  Dialog: p,
262
262
  Toolbar: b,
@@ -277,7 +277,7 @@ const $f = {
277
277
  } = o || {};
278
278
  return m(p, N({
279
279
  ref: s,
280
- focusElement: g ?? (o ? h : f),
280
+ focusElement: g ?? (o ? f : h),
281
281
  size: l,
282
282
  dialogProps: {
283
283
  id: t,
@@ -309,13 +309,13 @@ const $f = {
309
309
  }), m("footer", null, [m(b, {
310
310
  className: "lumx-spacing-margin-horizontal",
311
311
  after: m(ne, null, [o && m(v, N(H, {
312
- ref: h,
312
+ ref: f,
313
313
  emphasis: ye.medium,
314
314
  onClick: F
315
315
  }), Rn(S) ? S : {
316
316
  default: () => [S]
317
317
  }), m(v, N(_, {
318
- ref: f,
318
+ ref: h,
319
319
  color: P,
320
320
  className: "lumx-spacing-margin-left-regular",
321
321
  onClick: E
@@ -388,7 +388,7 @@ function Hf(e, t, n = {}) {
388
388
  const d = $c(qe(e)).map(ct).filter(Mc);
389
389
  return new Set(d);
390
390
  }), (d) => {
391
- i(), s.value && d.size && (r = new MutationObserver(t), d.forEach((h) => r.observe(h, o)));
391
+ i(), s.value && d.size && (r = new MutationObserver(t), d.forEach((f) => r.observe(f, o)));
392
392
  }, {
393
393
  immediate: !0,
394
394
  flush: "post"
@@ -428,7 +428,7 @@ function zf(e, t, n = {}) {
428
428
  function gs(e, t, n = {}) {
429
429
  const { root: a, rootMargin: o = "0px", threshold: r = 0, window: s = xr, immediate: i = !0 } = n, l = /* @__PURE__ */ Tr(() => s && "IntersectionObserver" in s), c = C(() => $c(qe(e)).map(ct).filter(Mc));
430
430
  let u = Ut;
431
- const d = je(i), h = l.value ? X(() => [
431
+ const d = je(i), f = l.value ? X(() => [
432
432
  c.value,
433
433
  ct(a),
434
434
  d.value
@@ -445,10 +445,10 @@ function gs(e, t, n = {}) {
445
445
  }, {
446
446
  immediate: i,
447
447
  flush: "post"
448
- }) : Ut, f = () => {
449
- u(), h(), d.value = !1;
448
+ }) : Ut, h = () => {
449
+ u(), f(), d.value = !1;
450
450
  };
451
- return sn(f), {
451
+ return sn(h), {
452
452
  isSupported: l,
453
453
  isActive: d,
454
454
  pause() {
@@ -457,7 +457,7 @@ function gs(e, t, n = {}) {
457
457
  resume() {
458
458
  d.value = !0;
459
459
  },
460
- stop: f
460
+ stop: h
461
461
  };
462
462
  }
463
463
  function Dn(e) {
@@ -510,8 +510,8 @@ const Lc = {
510
510
  children: c,
511
511
  Portal: u,
512
512
  HeadingLevelProvider: d,
513
- ThemeProvider: h,
514
- IdsRegistryProvider: f,
513
+ ThemeProvider: f,
514
+ IdsRegistryProvider: h,
515
515
  ...g
516
516
  } = e;
517
517
  return m(u, {
@@ -535,10 +535,10 @@ const Lc = {
535
535
  }, null), m(d, {
536
536
  level: 2
537
537
  }, {
538
- default: () => [m(h, {
538
+ default: () => [m(f, {
539
539
  value: void 0
540
540
  }, {
541
- default: () => [m(f, null, Yf(c) ? c : {
541
+ default: () => [m(h, null, Yf(c) ? c : {
542
542
  default: () => [c]
543
543
  })]
544
544
  })]
@@ -564,8 +564,8 @@ const Zf = "DialogContent", Rc = (e) => e?.["aria-modal"] !== !1 && e?.["aria-mo
564
564
  header: c,
565
565
  headerChildProps: u,
566
566
  headerChildContent: d,
567
- forceHeaderDivider: h,
568
- hasTopIntersection: f,
567
+ forceHeaderDivider: f,
568
+ hasTopIntersection: h,
569
569
  content: g,
570
570
  setSentinelTop: p,
571
571
  setSentinelBottom: b,
@@ -596,7 +596,7 @@ const Zf = "DialogContent", Rc = (e) => e?.["aria-modal"] !== !1 && e?.["aria-mo
596
596
  ref: i
597
597
  }, [(c || d) && m("header", N(u, {
598
598
  className: $(Te("header", {
599
- "has-divider": !!(h || f)
599
+ "has-divider": !!(f || h)
600
600
  }), u?.className)
601
601
  }), [c, d]), m("div", {
602
602
  ref: l,
@@ -828,11 +828,11 @@ function ch() {
828
828
  var e = zc(), t = lh(), n = un(), a = Vc(), o = /[\\^$.*+?()[\]{}|]/g, r = /^\[object .+?Constructor\]$/, s = Function.prototype, i = Object.prototype, l = s.toString, c = i.hasOwnProperty, u = RegExp(
829
829
  "^" + l.call(c).replace(o, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
830
830
  );
831
- function d(h) {
832
- if (!n(h) || t(h))
831
+ function d(f) {
832
+ if (!n(f) || t(f))
833
833
  return !1;
834
- var f = e(h) ? u : r;
835
- return f.test(a(h));
834
+ var h = e(f) ? u : r;
835
+ return h.test(a(f));
836
836
  }
837
837
  return ta = d, ta;
838
838
  }
@@ -1014,9 +1014,9 @@ function Nh() {
1014
1014
  Xs = 1;
1015
1015
  var e = Gc(), t = vh(), n = bh(), a = Kc(), o = yh(), r = Array.prototype, s = r.splice;
1016
1016
  function i(l, c, u, d) {
1017
- var h = d ? n : t, f = -1, g = c.length, p = l;
1018
- for (l === c && (c = o(c)), u && (p = e(l, a(u))); ++f < g; )
1019
- for (var b = 0, v = c[f], y = u ? u(v) : v; (b = h(p, y, b, d)) > -1; )
1017
+ var f = d ? n : t, h = -1, g = c.length, p = l;
1018
+ for (l === c && (c = o(c)), u && (p = e(l, a(u))); ++h < g; )
1019
+ for (var b = 0, v = c[h], y = u ? u(v) : v; (b = f(p, y, b, d)) > -1; )
1020
1020
  p !== l && s.call(p, b, 1), s.call(l, b, 1);
1021
1021
  return l;
1022
1022
  }
@@ -1343,13 +1343,13 @@ const Bh = {
1343
1343
  l.value = O;
1344
1344
  }, d = (O) => {
1345
1345
  c.value = O;
1346
- }, h = D(null), f = D(null);
1346
+ }, f = D(null), h = D(null);
1347
1347
  gs(l, (O) => {
1348
1348
  const E = O[0];
1349
- h.value = E ? !E.isIntersecting : null;
1349
+ f.value = E ? !E.isIntersecting : null;
1350
1350
  }), gs(c, (O) => {
1351
1351
  const E = O[0];
1352
- f.value = E ? !E.isIntersecting : null;
1352
+ h.value = E ? !E.isIntersecting : null;
1353
1353
  });
1354
1354
  const g = C(() => Rc(e.dialogProps)), p = C(() => e.preventAutoClose || e.preventCloseOnEscape), b = () => t("close");
1355
1355
  dn(() => {
@@ -1400,8 +1400,8 @@ const Bh = {
1400
1400
  forceFooterDivider: e.forceFooterDivider,
1401
1401
  forceHeaderDivider: e.forceHeaderDivider,
1402
1402
  handleClose: b,
1403
- hasBottomIntersection: f.value,
1404
- hasTopIntersection: h.value,
1403
+ hasBottomIntersection: h.value,
1404
+ hasTopIntersection: f.value,
1405
1405
  headerChildContent: n.header?.() ?? E?.children,
1406
1406
  headerChildProps: n.header ? void 0 : ni(E),
1407
1407
  isLoading: e.isLoading,
@@ -1502,13 +1502,13 @@ var Ea, fi;
1502
1502
  function Gh() {
1503
1503
  if (fi) return Ea;
1504
1504
  fi = 1;
1505
- var e = zh(), t = au(), n = Vh(), a = Wh(), o = Uh(), r = kt(), s = Vc(), i = "[object Map]", l = "[object Object]", c = "[object Promise]", u = "[object Set]", d = "[object WeakMap]", h = "[object DataView]", f = s(e), g = s(t), p = s(n), b = s(a), v = s(o), y = r;
1506
- return (e && y(new e(new ArrayBuffer(1))) != h || t && y(new t()) != i || n && y(n.resolve()) != c || a && y(new a()) != u || o && y(new o()) != d) && (y = function(A) {
1505
+ var e = zh(), t = au(), n = Vh(), a = Wh(), o = Uh(), r = kt(), s = Vc(), i = "[object Map]", l = "[object Object]", c = "[object Promise]", u = "[object Set]", d = "[object WeakMap]", f = "[object DataView]", h = s(e), g = s(t), p = s(n), b = s(a), v = s(o), y = r;
1506
+ return (e && y(new e(new ArrayBuffer(1))) != f || t && y(new t()) != i || n && y(n.resolve()) != c || a && y(new a()) != u || o && y(new o()) != d) && (y = function(A) {
1507
1507
  var P = r(A), w = P == l ? A.constructor : void 0, T = w ? s(w) : "";
1508
1508
  if (T)
1509
1509
  switch (T) {
1510
- case f:
1511
- return h;
1510
+ case h:
1511
+ return f;
1512
1512
  case g:
1513
1513
  return i;
1514
1514
  case p:
@@ -1599,8 +1599,8 @@ var Ba, Ai;
1599
1599
  function Jh() {
1600
1600
  if (Ai) return Ba;
1601
1601
  Ai = 1;
1602
- var e = kt(), t = Br(), n = fn(), a = "[object Arguments]", o = "[object Array]", r = "[object Boolean]", s = "[object Date]", i = "[object Error]", l = "[object Function]", c = "[object Map]", u = "[object Number]", d = "[object Object]", h = "[object RegExp]", f = "[object Set]", g = "[object String]", p = "[object WeakMap]", b = "[object ArrayBuffer]", v = "[object DataView]", y = "[object Float32Array]", A = "[object Float64Array]", P = "[object Int8Array]", w = "[object Int16Array]", T = "[object Int32Array]", x = "[object Uint8Array]", O = "[object Uint8ClampedArray]", E = "[object Uint16Array]", _ = "[object Uint32Array]", S = {};
1603
- S[y] = S[A] = S[P] = S[w] = S[T] = S[x] = S[O] = S[E] = S[_] = !0, S[a] = S[o] = S[b] = S[r] = S[v] = S[s] = S[i] = S[l] = S[c] = S[u] = S[d] = S[h] = S[f] = S[g] = S[p] = !1;
1602
+ var e = kt(), t = Br(), n = fn(), a = "[object Arguments]", o = "[object Array]", r = "[object Boolean]", s = "[object Date]", i = "[object Error]", l = "[object Function]", c = "[object Map]", u = "[object Number]", d = "[object Object]", f = "[object RegExp]", h = "[object Set]", g = "[object String]", p = "[object WeakMap]", b = "[object ArrayBuffer]", v = "[object DataView]", y = "[object Float32Array]", A = "[object Float64Array]", P = "[object Int8Array]", w = "[object Int16Array]", T = "[object Int32Array]", x = "[object Uint8Array]", O = "[object Uint8ClampedArray]", E = "[object Uint16Array]", _ = "[object Uint32Array]", S = {};
1603
+ S[y] = S[A] = S[P] = S[w] = S[T] = S[x] = S[O] = S[E] = S[_] = !0, S[a] = S[o] = S[b] = S[r] = S[v] = S[s] = S[i] = S[l] = S[c] = S[u] = S[d] = S[f] = S[h] = S[g] = S[p] = !1;
1604
1604
  function F(H) {
1605
1605
  return n(H) && t(H.length) && !!S[e(H)];
1606
1606
  }
@@ -1633,22 +1633,22 @@ function tm() {
1633
1633
  if (Ci) return qa;
1634
1634
  Ci = 1;
1635
1635
  var e = Hh(), t = Gh(), n = Dr(), a = et(), o = Yh(), r = Zh(), s = nu(), i = em(), l = "[object Map]", c = "[object Set]", u = Object.prototype, d = u.hasOwnProperty;
1636
- function h(f) {
1637
- if (f == null)
1636
+ function f(h) {
1637
+ if (h == null)
1638
1638
  return !0;
1639
- if (o(f) && (a(f) || typeof f == "string" || typeof f.splice == "function" || r(f) || i(f) || n(f)))
1640
- return !f.length;
1641
- var g = t(f);
1639
+ if (o(h) && (a(h) || typeof h == "string" || typeof h.splice == "function" || r(h) || i(h) || n(h)))
1640
+ return !h.length;
1641
+ var g = t(h);
1642
1642
  if (g == l || g == c)
1643
- return !f.size;
1644
- if (s(f))
1645
- return !e(f).length;
1646
- for (var p in f)
1647
- if (d.call(f, p))
1643
+ return !h.size;
1644
+ if (s(h))
1645
+ return !e(h).length;
1646
+ for (var p in h)
1647
+ if (d.call(h, p))
1648
1648
  return !1;
1649
1649
  return !0;
1650
1650
  }
1651
- return qa = h, qa;
1651
+ return qa = f, qa;
1652
1652
  }
1653
1653
  var nm = tm();
1654
1654
  const Xt = /* @__PURE__ */ $e(nm);
@@ -1676,12 +1676,12 @@ const tt = (e) => {
1676
1676
  "aria-disabled": c || void 0
1677
1677
  }, l, d, {
1678
1678
  onKeyPress: a,
1679
- onClick: (h) => {
1679
+ onClick: (f) => {
1680
1680
  if (c) {
1681
- h.stopPropagation(), h.preventDefault();
1681
+ f.stopPropagation(), f.preventDefault();
1682
1682
  return;
1683
1683
  }
1684
- n?.(h);
1684
+ n?.(f);
1685
1685
  }
1686
1686
  }), am(t) ? t : {
1687
1687
  default: () => [t]
@@ -1720,8 +1720,8 @@ const tt = (e) => {
1720
1720
  isActive: c,
1721
1721
  isFocused: u,
1722
1722
  isHovered: d,
1723
- linkAs: h,
1724
- size: f,
1723
+ linkAs: f,
1724
+ size: h,
1725
1725
  theme: g = me.light,
1726
1726
  variant: p,
1727
1727
  fullWidth: b,
@@ -1743,13 +1743,13 @@ const tt = (e) => {
1743
1743
  "is-active": c,
1744
1744
  "is-focused": u,
1745
1745
  "is-hovered": d,
1746
- [`size-${f}`]: !!f,
1746
+ [`size-${h}`]: !!h,
1747
1747
  [`theme-${g}`]: !!(s === ye.high && g),
1748
1748
  [`variant-${p}`]: !!p,
1749
1749
  "is-full-width": b
1750
1750
  }));
1751
1751
  return tt({
1752
- as: h || (y.href ? "a" : "button"),
1752
+ as: f || (y.href ? "a" : "button"),
1753
1753
  ...y,
1754
1754
  "aria-disabled": n,
1755
1755
  "aria-label": t,
@@ -1803,8 +1803,8 @@ function ae(e) {
1803
1803
  }), a = C(
1804
1804
  () => n.value["aria-disabled"] || n.value.disabled || void 0
1805
1805
  ), o = C(() => {
1806
- const r = typeof e == "function" ? e() : wt(e), { disabled: s, isDisabled: i, "aria-disabled": l, ariaDisabled: c, onClick: u, onChange: d, ...h } = r;
1807
- return a.value || (u && (h.onClick = u), d && (h.onChange = d)), h;
1806
+ const r = typeof e == "function" ? e() : wt(e), { disabled: s, isDisabled: i, "aria-disabled": l, ariaDisabled: c, onClick: u, onChange: d, ...f } = r;
1807
+ return a.value || (u && (f.onClick = u), d && (f.onChange = d)), f;
1808
1808
  });
1809
1809
  return { disabledStateProps: n, isAnyDisabled: a, otherProps: o };
1810
1810
  }
@@ -1828,10 +1828,10 @@ const Si = I({
1828
1828
  alt: c,
1829
1829
  verticalAlign: u,
1830
1830
  ...d
1831
- } = e, [h, f] = wr(n, a);
1832
- let g = h;
1831
+ } = e, [f, h] = wr(n, a);
1832
+ let g = f;
1833
1833
  !g && (o || l) && (g = l === me.dark ? Y.light : Y.dark);
1834
- let p = f;
1834
+ let p = h;
1835
1835
  !p && o && g === Y.dark && (p = "L2");
1836
1836
  let b = s;
1837
1837
  return s && o ? s === V.xxs || s === V.xs ? b = V.s : s === V.xxl && (b = V.xl) : o && (b = V.m), m("i", N({
@@ -1894,7 +1894,7 @@ const He = /* @__PURE__ */ I((e) => {
1894
1894
  style: l
1895
1895
  } = e, c = typeof s == "object" && s.lines > 1 && {
1896
1896
  "--lumx-text-truncate-lines": s.lines
1897
- }, u = !!c, d = !!s, h = !o && !(d && !u) && i && {
1897
+ }, u = !!c, d = !!s, f = !o && !(d && !u) && i && {
1898
1898
  "--lumx-text-white-space": i
1899
1899
  };
1900
1900
  return {
@@ -1905,7 +1905,7 @@ const He = /* @__PURE__ */ I((e) => {
1905
1905
  }), r && on(r), n && Ec(n, a)),
1906
1906
  style: {
1907
1907
  ...c,
1908
- ...h,
1908
+ ...f,
1909
1909
  ...l
1910
1910
  }
1911
1911
  };
@@ -2026,8 +2026,8 @@ const pe = /* @__PURE__ */ I((e, {
2026
2026
  }))), c = (d) => {
2027
2027
  s.value || t("click", d);
2028
2028
  }, u = () => {
2029
- const h = n.default?.()?.filter((f) => f != null && f.type !== br);
2030
- return h?.length ? h.length === 1 && h[0].type === pe ? h[0] : m("span", null, [h]) : null;
2029
+ const f = n.default?.()?.filter((h) => h != null && h.type !== br);
2030
+ return f?.length ? f.length === 1 && f[0].type === pe ? f[0] : m("span", null, [f]) : null;
2031
2031
  };
2032
2032
  return () => {
2033
2033
  const d = m(ne, null, [e.leftIcon && !Xt(e.leftIcon) && m(Si, null, {
@@ -2039,11 +2039,11 @@ const pe = /* @__PURE__ */ I((e, {
2039
2039
  icon: e.rightIcon
2040
2040
  }, null)]
2041
2041
  })]), {
2042
- linkAs: h,
2043
- ...f
2042
+ linkAs: f,
2043
+ ...h
2044
2044
  } = l.value;
2045
- return m(hn, N(f, {
2046
- linkAs: Je(h)
2045
+ return m(hn, N(h, {
2046
+ linkAs: Je(f)
2047
2047
  }, i.value, {
2048
2048
  className: r.value,
2049
2049
  theme: e.theme || o.value,
@@ -2106,11 +2106,11 @@ const pe = /* @__PURE__ */ I((e, {
2106
2106
  }) => {
2107
2107
  const a = B(), o = R(() => e.class), r = re(), s = C(() => e.id || r), i = je(void 0), l = je(void 0);
2108
2108
  return () => {
2109
- const c = n.default?.(), d = c?.length === 1 && c[0].type === yr ? "p" : "div", h = {
2109
+ const c = n.default?.(), d = c?.length === 1 && c[0].type === yr ? "p" : "div", f = {
2110
2110
  isOpen: e.isOpen,
2111
2111
  parentElement: e.parentElement,
2112
2112
  onClose: () => t("close")
2113
- }, f = {
2113
+ }, h = {
2114
2114
  ...e.confirmProps,
2115
2115
  onVnodeMounted: (p) => {
2116
2116
  l.value = p.el;
@@ -2129,7 +2129,7 @@ const pe = /* @__PURE__ */ I((e, {
2129
2129
  };
2130
2130
  return Bf({
2131
2131
  ...a,
2132
- ...h,
2132
+ ...f,
2133
2133
  Button: Mt,
2134
2134
  Dialog: Fh,
2135
2135
  Icon: He,
@@ -2142,7 +2142,7 @@ const pe = /* @__PURE__ */ I((e, {
2142
2142
  size: e.size,
2143
2143
  title: e.title,
2144
2144
  dialogProps: e.dialogProps,
2145
- confirmProps: f,
2145
+ confirmProps: h,
2146
2146
  cancelProps: g,
2147
2147
  children: c
2148
2148
  });
@@ -2257,8 +2257,8 @@ const qm = "Thumbnail", jm = "lumx-thumbnail", {
2257
2257
  focusPointStyle: c,
2258
2258
  fillHeight: u,
2259
2259
  image: d,
2260
- imgProps: h,
2261
- imgRef: f,
2260
+ imgProps: f,
2261
+ imgRef: h,
2262
2262
  isLoading: g,
2263
2263
  objectFit: p,
2264
2264
  loading: b = xi.loading,
@@ -2303,20 +2303,20 @@ const qm = "Thumbnail", jm = "lumx-thumbnail", {
2303
2303
  }, [m("img", N({
2304
2304
  width: Q?.naturalWidth,
2305
2305
  height: Q?.naturalHeight
2306
- }, h, {
2306
+ }, f, {
2307
2307
  style: {
2308
2308
  // Reserve space while loading (when possible)
2309
- width: H ? h?.width || Q?.naturalWidth : void 0,
2310
- ...h?.style,
2309
+ width: H ? f?.width || Q?.naturalWidth : void 0,
2310
+ ...f?.style,
2311
2311
  ...G,
2312
2312
  ...c,
2313
2313
  ...oe
2314
2314
  },
2315
- ref: f,
2315
+ ref: h,
2316
2316
  className: fe.join(Ct("image", {
2317
2317
  "is-loading": H,
2318
- "has-defined-size": !!(h?.height && h.width)
2319
- }), h?.className),
2318
+ "has-defined-size": !!(f?.height && f.width)
2319
+ }), f?.className),
2320
2320
  crossOrigin: s,
2321
2321
  src: d,
2322
2322
  alt: n,
@@ -2375,10 +2375,10 @@ function Wm(e) {
2375
2375
  isLoaded: i.value
2376
2376
  })
2377
2377
  ), c = D(void 0), u = () => {
2378
- const h = s.value?.offsetWidth, f = s.value?.offsetHeight;
2379
- if (h && f) {
2378
+ const f = s.value?.offsetWidth, h = s.value?.offsetHeight;
2379
+ if (f && h) {
2380
2380
  const g = c.value;
2381
- (g?.width !== h || g?.height !== f) && (c.value = { width: h, height: f });
2381
+ (g?.width !== f || g?.height !== h) && (c.value = { width: f, height: h });
2382
2382
  } else l.value && requestAnimationFrame(u);
2383
2383
  };
2384
2384
  return X(
@@ -2412,14 +2412,14 @@ const Um = {
2412
2412
  } = ae(C(() => ({
2413
2413
  ...e,
2414
2414
  ...a
2415
- }))), h = Vm(ee(() => e.image), s), f = C(() => h.value === "isLoaded"), g = Wm({
2415
+ }))), f = Vm(ee(() => e.image), s), h = C(() => f.value === "isLoaded"), g = Wm({
2416
2416
  image: ee(() => e.image),
2417
2417
  aspectRatio: ee(() => e.aspectRatio),
2418
2418
  focusPoint: ee(() => e.focusPoint),
2419
2419
  width: ee(() => typeof e.imgProps?.width == "number" ? e.imgProps.width : void 0),
2420
2420
  height: ee(() => typeof e.imgProps?.height == "number" ? e.imgProps.height : void 0),
2421
2421
  element: s,
2422
- isLoaded: f
2422
+ isLoaded: h
2423
2423
  }), p = (v) => {
2424
2424
  c.value || t("click", v);
2425
2425
  }, b = (v) => {
@@ -2437,7 +2437,7 @@ const Um = {
2437
2437
  isAnyDisabled: c.value,
2438
2438
  disabledStateProps: u.value,
2439
2439
  focusPointStyle: g.value,
2440
- loadingState: h.value,
2440
+ loadingState: f.value,
2441
2441
  imgRef: s,
2442
2442
  image: e.image,
2443
2443
  handleClick: i ? p : void 0,
@@ -2485,8 +2485,8 @@ const Um = {
2485
2485
  alt: c,
2486
2486
  size: u = fu.size,
2487
2487
  theme: d,
2488
- linkProps: h,
2489
- linkAs: f,
2488
+ linkProps: f,
2489
+ linkAs: h,
2490
2490
  thumbnailProps: g
2491
2491
  } = e, p = d || o.value, b = n.actions?.(), v = n.badge?.();
2492
2492
  return m(Dm, N(a, {
@@ -2496,8 +2496,8 @@ const Um = {
2496
2496
  actions: b,
2497
2497
  badge: v,
2498
2498
  image: m(mn, N({
2499
- linkProps: h,
2500
- linkAs: f,
2499
+ linkProps: f,
2500
+ linkAs: h,
2501
2501
  class: rr("thumbnail"),
2502
2502
  onClick: s,
2503
2503
  onKeyPress: i
@@ -2624,11 +2624,11 @@ function Fr(e, t, n) {
2624
2624
  function d() {
2625
2625
  return a.querySelector(c);
2626
2626
  }
2627
- function h() {
2627
+ function f() {
2628
2628
  const P = a.querySelectorAll(c);
2629
2629
  return P.length > 0 ? P[P.length - 1] : null;
2630
2630
  }
2631
- const f = mu(n);
2631
+ const h = mu(n);
2632
2632
  function g(P) {
2633
2633
  const w = P > 0, T = Math.abs(P), x = l(), O = u(), E = w ? () => O.nextNode() : () => O.previousNode();
2634
2634
  let _ = null, S = T;
@@ -2643,7 +2643,7 @@ function Fr(e, t, n) {
2643
2643
  if (H)
2644
2644
  _ = H;
2645
2645
  else if (x && s) {
2646
- const z = w ? d() : h();
2646
+ const z = w ? d() : f();
2647
2647
  if (!z || z === x) break;
2648
2648
  _ = z, O.currentNode = z;
2649
2649
  } else
@@ -2662,7 +2662,7 @@ function Fr(e, t, n) {
2662
2662
  }
2663
2663
  function b() {
2664
2664
  const P = l();
2665
- P && t.onDeactivate(P), f.clear(), t.onClear?.();
2665
+ P && t.onDeactivate(P), h.clear(), t.onClear?.();
2666
2666
  }
2667
2667
  n.addEventListener("abort", b);
2668
2668
  const v = {
@@ -2674,7 +2674,7 @@ function Fr(e, t, n) {
2674
2674
  return a.querySelector(c) !== null;
2675
2675
  },
2676
2676
  getFirst: d,
2677
- getLast: h,
2677
+ getLast: f,
2678
2678
  getMatching: p,
2679
2679
  findNearestEnabled(P) {
2680
2680
  if (!a.contains(P)) return d();
@@ -2690,9 +2690,9 @@ function Fr(e, t, n) {
2690
2690
  const w = P(v);
2691
2691
  if (w && w.matches(o) && a.contains(w)) {
2692
2692
  const T = l();
2693
- return T !== w && (T && t.onDeactivate(T), t.onActivate(w)), f.clear(), !0;
2693
+ return T !== w && (T && t.onDeactivate(T), t.onActivate(w)), h.clear(), !0;
2694
2694
  }
2695
- return f.defer(() => y(P)), !1;
2695
+ return h.defer(() => y(P)), !1;
2696
2696
  }
2697
2697
  function A(P) {
2698
2698
  if (P === 0) return l() !== null;
@@ -2706,7 +2706,7 @@ function Fr(e, t, n) {
2706
2706
  clear: b,
2707
2707
  goTo: y,
2708
2708
  flushPendingNavigation() {
2709
- f.flush();
2709
+ h.flush();
2710
2710
  },
2711
2711
  goUp() {
2712
2712
  return r === "vertical" ? A(-1) : !1;
@@ -2759,7 +2759,7 @@ function ap(e, t, n) {
2759
2759
  }
2760
2760
  while (F);
2761
2761
  }
2762
- const h = () => Le(d()), f = () => Le(d("last", "prev"));
2762
+ const f = () => Le(d()), h = () => Le(d("last", "prev"));
2763
2763
  function g(O) {
2764
2764
  const E = O.closest(o);
2765
2765
  return E && a.contains(E) ? E : null;
@@ -2779,11 +2779,11 @@ function ap(e, t, n) {
2779
2779
  return S === -1 ? !1 : (b = S, i.setActive(O), !0);
2780
2780
  }
2781
2781
  function A() {
2782
- const O = h();
2782
+ const O = f();
2783
2783
  return O ? (b = 0, v(O, 0)) : !1;
2784
2784
  }
2785
2785
  function P() {
2786
- const O = f();
2786
+ const O = h();
2787
2787
  return O ? (b = 0, v(O, 0)) : !1;
2788
2788
  }
2789
2789
  function w(O) {
@@ -2796,7 +2796,7 @@ function ap(e, t, n) {
2796
2796
  if (F >= 0 && F < _.length)
2797
2797
  return b = F, i.setActive(_[F]), !0;
2798
2798
  if (!s) return !1;
2799
- const H = O > 0 ? "next" : "prev", k = Le(d(E, H)) ?? (O > 0 ? h() : f());
2799
+ const H = O > 0 ? "next" : "prev", k = Le(d(E, H)) ?? (O > 0 ? f() : h());
2800
2800
  if (!k) return !1;
2801
2801
  const j = u(k);
2802
2802
  if (j.length === 0) return !1;
@@ -2811,7 +2811,7 @@ function ap(e, t, n) {
2811
2811
  const _ = Le(d(E, O));
2812
2812
  if (_) return v(_, b);
2813
2813
  if (s) {
2814
- const S = O === "next" ? h() : f();
2814
+ const S = O === "next" ? f() : h();
2815
2815
  if (S) return v(S, b);
2816
2816
  }
2817
2817
  return !1;
@@ -2929,18 +2929,18 @@ function rp(e, t) {
2929
2929
  },
2930
2930
  t
2931
2931
  );
2932
- function h(v, y) {
2932
+ function f(v, y) {
2933
2933
  v.getAttribute("tabindex") !== y && v.setAttribute("tabindex", y);
2934
2934
  }
2935
- function f(v, y) {
2935
+ function h(v, y) {
2936
2936
  let A = y;
2937
2937
  for (const P of v) {
2938
2938
  if (!n.contains(P)) continue;
2939
- !(r ? P.matches(r) : !1) && !A ? (h(P, "0"), A = !0) : h(P, "-1");
2939
+ !(r ? P.matches(r) : !1) && !A ? (f(P, "0"), A = !0) : f(P, "-1");
2940
2940
  }
2941
2941
  if (!A) {
2942
2942
  const P = n.querySelector(d.selectors.enabledItemSelector);
2943
- P && h(P, "0");
2943
+ P && f(P, "0");
2944
2944
  }
2945
2945
  }
2946
2946
  function g() {
@@ -2950,12 +2950,12 @@ function rp(e, t) {
2950
2950
  const [P] = v.splice(A, 1);
2951
2951
  v.unshift(P);
2952
2952
  }
2953
- f(v, !1);
2953
+ h(v, !1);
2954
2954
  }
2955
2955
  function p(v, y) {
2956
2956
  if (n.querySelector(l)) return;
2957
2957
  const A = (y && d.selectors.findNearestEnabled(y)) ?? n.querySelector(d.selectors.enabledItemSelector);
2958
- A && (v ? d.goTo(() => A) : h(A, "0"));
2958
+ A && (v ? d.goTo(() => A) : f(A, "0"));
2959
2959
  }
2960
2960
  g();
2961
2961
  const b = new MutationObserver((v) => {
@@ -2984,18 +2984,18 @@ function rp(e, t) {
2984
2984
  }
2985
2985
  if (T.length > 0) {
2986
2986
  const x = n.querySelector(l) !== null;
2987
- f(T, x);
2987
+ h(T, x);
2988
2988
  }
2989
2989
  if (w.length > 0) {
2990
2990
  const x = d.selectors.activeItem;
2991
2991
  for (const _ of w)
2992
- h(_, "-1");
2992
+ f(_, "-1");
2993
2993
  const E = !!(x && w.includes(x) && u.hasFocus);
2994
2994
  p(E);
2995
2995
  }
2996
2996
  if (P) {
2997
2997
  const x = n.querySelector(l);
2998
- x && x !== P && h(x, "-1"), h(P, "0");
2998
+ x && x !== P && f(x, "-1"), f(P, "0");
2999
2999
  }
3000
3000
  });
3001
3001
  return b.observe(n, {
@@ -3040,11 +3040,11 @@ function Ei(e, t, n, a) {
3040
3040
  const o = e.trigger, r = e.listbox, s = r.getAttribute("role") === "grid", i = '[role="option"]', l = {
3041
3041
  onActivate: (d) => {
3042
3042
  d.setAttribute("data-focus-visible-added", "true"), o.setAttribute("aria-activedescendant", d.id), n("activeDescendantChange", d.id), requestAnimationFrame(() => {
3043
- const h = !s && // Last item: find last element containing itemSelector and not followed by elements containing itemSelector and then get the itemSelector inside
3043
+ const f = !s && // Last item: find last element containing itemSelector and not followed by elements containing itemSelector and then get the itemSelector inside
3044
3044
  r.querySelector(
3045
3045
  `:scope > :has(${i}):not(:has(~ * ${i})) ${i}`
3046
3046
  );
3047
- d === h ? r.lastElementChild?.scrollIntoView({ block: "nearest" }) : (d.closest("[role=listbox] > *") || d).scrollIntoView({ block: "nearest" });
3047
+ d === f ? r.lastElementChild?.scrollIntoView({ block: "nearest" }) : (d.closest("[role=listbox] > *") || d).scrollIntoView({ block: "nearest" });
3048
3048
  });
3049
3049
  },
3050
3050
  onDeactivate: (d) => {
@@ -3081,13 +3081,13 @@ function Ei(e, t, n, a) {
3081
3081
  return r.addEventListener(
3082
3082
  "click",
3083
3083
  (d) => {
3084
- const h = d.target.closest(u);
3085
- if (h) {
3086
- if (hu(h)) {
3084
+ const f = d.target.closest(u);
3085
+ if (f) {
3086
+ if (hu(f)) {
3087
3087
  d.stopPropagation();
3088
3088
  return;
3089
3089
  }
3090
- s && ep(h) || (e.select(h), o.focus());
3090
+ s && ep(f) || (e.select(f), o.focus());
3091
3091
  }
3092
3092
  },
3093
3093
  { signal: t }
@@ -3103,7 +3103,7 @@ function pu(e, t, n) {
3103
3103
  const { wrapNavigation: a = !1 } = t ?? {};
3104
3104
  let o = null, r = null, s = null, i = !1, l = "";
3105
3105
  const c = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map();
3106
- let d = null, h = 0, f = "", g = !1, p = 0;
3106
+ let d = null, f = 0, h = "", g = !1, p = 0;
3107
3107
  const b = {
3108
3108
  open: /* @__PURE__ */ new Set(),
3109
3109
  activeDescendantChange: /* @__PURE__ */ new Set(),
@@ -3127,7 +3127,7 @@ function pu(e, t, n) {
3127
3127
  for (const [Z] of u)
3128
3128
  Ti(Z, u, c);
3129
3129
  const k = A(), j = o?.value ?? "";
3130
- (k !== h || k === 0 && j !== f) && (h = k, f = j, y("optionsChange", { optionsLength: k, inputValue: j })), i && o?.setAttribute("aria-expanded", String(P()));
3130
+ (k !== f || k === 0 && j !== h) && (f = k, h = j, y("optionsChange", { optionsLength: k, inputValue: j })), i && o?.setAttribute("aria-expanded", String(P()));
3131
3131
  }
3132
3132
  const T = 500;
3133
3133
  let x, O = !1;
@@ -3280,7 +3280,7 @@ function pu(e, t, n) {
3280
3280
  return v[k];
3281
3281
  },
3282
3282
  destroy() {
3283
- F(), o = null, r = null, l = "", h = 0, f = "", g = !1;
3283
+ F(), o = null, r = null, l = "", f = 0, h = "", g = !1;
3284
3284
  for (const k of Object.keys(v))
3285
3285
  delete v[k];
3286
3286
  c.clear(), u.clear(), p = 0, clearTimeout(x), O = !1;
@@ -3302,12 +3302,12 @@ function gu(e, t, n) {
3302
3302
  if (!u) return null;
3303
3303
  const d = u.nextNode();
3304
3304
  if (!d) return null;
3305
- const h = a.split("").every((v) => v === a[0]), f = h ? a[0] : a, g = c && u.root.contains(c) ? c : null;
3305
+ const f = a.split("").every((v) => v === a[0]), h = f ? a[0] : a, g = c && u.root.contains(c) ? c : null;
3306
3306
  let p;
3307
- g ? (u.currentNode = g, h ? p = u.nextNode() ?? d : p = g) : p = d, u.currentNode = p;
3307
+ g ? (u.currentNode = g, f ? p = u.nextNode() ?? d : p = g) : p = d, u.currentNode = p;
3308
3308
  let b = p;
3309
3309
  for (; ; ) {
3310
- if (t(b).toLowerCase().startsWith(f))
3310
+ if (t(b).toLowerCase().startsWith(h))
3311
3311
  return b;
3312
3312
  const y = u.nextNode();
3313
3313
  if (y)
@@ -3510,48 +3510,48 @@ function Li(e, t, n) {
3510
3510
  reference: a,
3511
3511
  floating: o
3512
3512
  } = e;
3513
- const r = Ee(t), s = jr(t), i = qr(s), l = Oe(t), c = r === "y", u = a.x + a.width / 2 - o.width / 2, d = a.y + a.height / 2 - o.height / 2, h = a[i] / 2 - o[i] / 2;
3514
- let f;
3513
+ const r = Ee(t), s = jr(t), i = qr(s), l = Oe(t), c = r === "y", u = a.x + a.width / 2 - o.width / 2, d = a.y + a.height / 2 - o.height / 2, f = a[i] / 2 - o[i] / 2;
3514
+ let h;
3515
3515
  switch (l) {
3516
3516
  case "top":
3517
- f = {
3517
+ h = {
3518
3518
  x: u,
3519
3519
  y: a.y - o.height
3520
3520
  };
3521
3521
  break;
3522
3522
  case "bottom":
3523
- f = {
3523
+ h = {
3524
3524
  x: u,
3525
3525
  y: a.y + a.height
3526
3526
  };
3527
3527
  break;
3528
3528
  case "right":
3529
- f = {
3529
+ h = {
3530
3530
  x: a.x + a.width,
3531
3531
  y: d
3532
3532
  };
3533
3533
  break;
3534
3534
  case "left":
3535
- f = {
3535
+ h = {
3536
3536
  x: a.x - o.width,
3537
3537
  y: d
3538
3538
  };
3539
3539
  break;
3540
3540
  default:
3541
- f = {
3541
+ h = {
3542
3542
  x: a.x,
3543
3543
  y: a.y
3544
3544
  };
3545
3545
  }
3546
3546
  switch (he(t)) {
3547
3547
  case "start":
3548
- f[s] -= h * (n && c ? -1 : 1);
3548
+ h[s] -= f * (n && c ? -1 : 1);
3549
3549
  break;
3550
3550
  case "end":
3551
- f[s] += h * (n && c ? -1 : 1);
3551
+ h[s] += f * (n && c ? -1 : 1);
3552
3552
  break;
3553
3553
  }
3554
- return f;
3554
+ return h;
3555
3555
  }
3556
3556
  async function yp(e, t) {
3557
3557
  var n;
@@ -3567,9 +3567,9 @@ async function yp(e, t) {
3567
3567
  boundary: c = "clippingAncestors",
3568
3568
  rootBoundary: u = "viewport",
3569
3569
  elementContext: d = "floating",
3570
- altBoundary: h = !1,
3571
- padding: f = 0
3572
- } = nt(t, e), g = Nu(f), b = i[h ? d === "floating" ? "reference" : "floating" : d], v = en(await r.getClippingRect({
3570
+ altBoundary: f = !1,
3571
+ padding: h = 0
3572
+ } = nt(t, e), g = Nu(h), b = i[f ? d === "floating" ? "reference" : "floating" : d], v = en(await r.getClippingRect({
3573
3573
  element: (n = await (r.isElement == null ? void 0 : r.isElement(b))) == null || n ? b : b.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(i.floating)),
3574
3574
  boundary: c,
3575
3575
  rootBoundary: u,
@@ -3612,7 +3612,7 @@ const Np = async (e, t, n) => {
3612
3612
  }), {
3613
3613
  x: u,
3614
3614
  y: d
3615
- } = Li(c, a, l), h = a, f = {}, g = 0;
3615
+ } = Li(c, a, l), f = a, h = {}, g = 0;
3616
3616
  for (let b = 0; b < i.length; b++) {
3617
3617
  var p;
3618
3618
  const {
@@ -3627,9 +3627,9 @@ const Np = async (e, t, n) => {
3627
3627
  x: u,
3628
3628
  y: d,
3629
3629
  initialPlacement: a,
3630
- placement: h,
3630
+ placement: f,
3631
3631
  strategy: o,
3632
- middlewareData: f,
3632
+ middlewareData: h,
3633
3633
  rects: c,
3634
3634
  platform: {
3635
3635
  ...s,
@@ -3640,27 +3640,27 @@ const Np = async (e, t, n) => {
3640
3640
  floating: t
3641
3641
  }
3642
3642
  });
3643
- u = A ?? u, d = P ?? d, f = {
3644
- ...f,
3643
+ u = A ?? u, d = P ?? d, h = {
3644
+ ...h,
3645
3645
  [v]: {
3646
- ...f[v],
3646
+ ...h[v],
3647
3647
  ...w
3648
3648
  }
3649
- }, T && g <= 50 && (g++, typeof T == "object" && (T.placement && (h = T.placement), T.rects && (c = T.rects === !0 ? await s.getElementRects({
3649
+ }, T && g <= 50 && (g++, typeof T == "object" && (T.placement && (f = T.placement), T.rects && (c = T.rects === !0 ? await s.getElementRects({
3650
3650
  reference: e,
3651
3651
  floating: t,
3652
3652
  strategy: o
3653
3653
  }) : T.rects), {
3654
3654
  x: u,
3655
3655
  y: d
3656
- } = Li(c, h, l)), b = -1);
3656
+ } = Li(c, f, l)), b = -1);
3657
3657
  }
3658
3658
  return {
3659
3659
  x: u,
3660
3660
  y: d,
3661
- placement: h,
3661
+ placement: f,
3662
3662
  strategy: o,
3663
- middlewareData: f
3663
+ middlewareData: h
3664
3664
  };
3665
3665
  }, Ap = (e) => ({
3666
3666
  name: "arrow",
@@ -3680,17 +3680,17 @@ const Np = async (e, t, n) => {
3680
3680
  } = nt(e, t) || {};
3681
3681
  if (c == null)
3682
3682
  return {};
3683
- const d = Nu(u), h = {
3683
+ const d = Nu(u), f = {
3684
3684
  x: n,
3685
3685
  y: a
3686
- }, f = jr(o), g = qr(f), p = await s.getDimensions(c), b = f === "y", v = b ? "top" : "left", y = b ? "bottom" : "right", A = b ? "clientHeight" : "clientWidth", P = r.reference[g] + r.reference[f] - h[f] - r.floating[g], w = h[f] - r.reference[f], T = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
3686
+ }, h = jr(o), g = qr(h), p = await s.getDimensions(c), b = h === "y", v = b ? "top" : "left", y = b ? "bottom" : "right", A = b ? "clientHeight" : "clientWidth", P = r.reference[g] + r.reference[h] - f[h] - r.floating[g], w = f[h] - r.reference[h], T = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
3687
3687
  let x = T ? T[A] : 0;
3688
3688
  (!x || !await (s.isElement == null ? void 0 : s.isElement(T))) && (x = i.floating[A] || r.floating[g]);
3689
3689
  const O = P / 2 - w / 2, E = x / 2 - p[g] / 2 - 1, _ = ze(d[v], E), S = ze(d[y], E), F = _, H = x - p[g] - S, z = x / 2 - p[g] / 2 + O, k = lr(F, z, H), j = !l.arrow && he(o) != null && z !== k && r.reference[g] / 2 - (z < F ? _ : S) - p[g] / 2 < 0, G = j ? z < F ? z - F : z - H : 0;
3690
3690
  return {
3691
- [f]: h[f] + G,
3691
+ [h]: f[h] + G,
3692
3692
  data: {
3693
- [f]: k,
3693
+ [h]: k,
3694
3694
  centerOffset: z - k - G,
3695
3695
  ...j && {
3696
3696
  alignmentOffset: G
@@ -3718,10 +3718,10 @@ const Pp = function(e) {
3718
3718
  } = t, {
3719
3719
  crossAxis: u = !1,
3720
3720
  alignment: d,
3721
- allowedPlacements: h = Ii,
3722
- autoAlignment: f = !0,
3721
+ allowedPlacements: f = Ii,
3722
+ autoAlignment: h = !0,
3723
3723
  ...g
3724
- } = nt(e, t), p = d !== void 0 || h === Ii ? Op(d || null, f, h) : h, b = await l.detectOverflow(t, g), v = ((n = s.autoPlacement) == null ? void 0 : n.index) || 0, y = p[v];
3724
+ } = nt(e, t), p = d !== void 0 || f === Ii ? Op(d || null, h, f) : f, b = await l.detectOverflow(t, g), v = ((n = s.autoPlacement) == null ? void 0 : n.index) || 0, y = p[v];
3725
3725
  if (y == null)
3726
3726
  return {};
3727
3727
  const A = yu(y, r, await (l.isRTL == null ? void 0 : l.isRTL(c.floating)));
@@ -3787,16 +3787,16 @@ const Pp = function(e) {
3787
3787
  } = t, {
3788
3788
  mainAxis: u = !0,
3789
3789
  crossAxis: d = !0,
3790
- fallbackPlacements: h,
3791
- fallbackStrategy: f = "bestFit",
3790
+ fallbackPlacements: f,
3791
+ fallbackStrategy: h = "bestFit",
3792
3792
  fallbackAxisSideDirection: g = "none",
3793
3793
  flipAlignment: p = !0,
3794
3794
  ...b
3795
3795
  } = nt(e, t);
3796
3796
  if ((n = r.arrow) != null && n.alignmentOffset)
3797
3797
  return {};
3798
- const v = Oe(o), y = Ee(i), A = Oe(i) === i, P = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), w = h || (A || !p ? [Qt(i)] : hp(i)), T = g !== "none";
3799
- !h && T && w.push(...vp(i, p, g, P));
3798
+ const v = Oe(o), y = Ee(i), A = Oe(i) === i, P = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), w = f || (A || !p ? [Qt(i)] : hp(i)), T = g !== "none";
3799
+ !f && T && w.push(...vp(i, p, g, P));
3800
3800
  const x = [i, ...w], O = await l.detectOverflow(t, b), E = [];
3801
3801
  let _ = ((a = r.flip) == null ? void 0 : a.overflows) || [];
3802
3802
  if (u && E.push(O[v]), d) {
@@ -3823,7 +3823,7 @@ const Pp = function(e) {
3823
3823
  };
3824
3824
  let j = (F = _.filter((G) => G.overflows[0] <= 0).sort((G, Z) => G.overflows[1] - Z.overflows[1])[0]) == null ? void 0 : F.placement;
3825
3825
  if (!j)
3826
- switch (f) {
3826
+ switch (h) {
3827
3827
  case "bestFit": {
3828
3828
  var H;
3829
3829
  const G = (H = _.filter((Z) => {
@@ -3860,8 +3860,8 @@ async function wp(e, t) {
3860
3860
  elements: o
3861
3861
  } = e, r = await (a.isRTL == null ? void 0 : a.isRTL(o.floating)), s = Oe(n), i = he(n), l = Ee(n) === "y", c = Sp.has(s) ? -1 : 1, u = r && l ? -1 : 1, d = nt(t, e);
3862
3862
  let {
3863
- mainAxis: h,
3864
- crossAxis: f,
3863
+ mainAxis: f,
3864
+ crossAxis: h,
3865
3865
  alignmentAxis: g
3866
3866
  } = typeof d == "number" ? {
3867
3867
  mainAxis: d,
@@ -3872,12 +3872,12 @@ async function wp(e, t) {
3872
3872
  crossAxis: d.crossAxis || 0,
3873
3873
  alignmentAxis: d.alignmentAxis
3874
3874
  };
3875
- return i && typeof g == "number" && (f = i === "end" ? g * -1 : g), l ? {
3876
- x: f * u,
3877
- y: h * c
3875
+ return i && typeof g == "number" && (h = i === "end" ? g * -1 : g), l ? {
3876
+ x: h * u,
3877
+ y: f * c
3878
3878
  } : {
3879
- x: h * c,
3880
- y: f * u
3879
+ x: f * c,
3880
+ y: h * u
3881
3881
  };
3882
3882
  }
3883
3883
  const xp = function(e) {
@@ -3931,20 +3931,20 @@ const xp = function(e) {
3931
3931
  } = nt(e, t), u = {
3932
3932
  x: n,
3933
3933
  y: a
3934
- }, d = await r.detectOverflow(t, c), h = Ee(Oe(o)), f = bu(h);
3935
- let g = u[f], p = u[h];
3934
+ }, d = await r.detectOverflow(t, c), f = Ee(Oe(o)), h = bu(f);
3935
+ let g = u[h], p = u[f];
3936
3936
  if (s) {
3937
- const v = f === "y" ? "top" : "left", y = f === "y" ? "bottom" : "right", A = g + d[v], P = g - d[y];
3937
+ const v = h === "y" ? "top" : "left", y = h === "y" ? "bottom" : "right", A = g + d[v], P = g - d[y];
3938
3938
  g = lr(A, g, P);
3939
3939
  }
3940
3940
  if (i) {
3941
- const v = h === "y" ? "top" : "left", y = h === "y" ? "bottom" : "right", A = p + d[v], P = p - d[y];
3941
+ const v = f === "y" ? "top" : "left", y = f === "y" ? "bottom" : "right", A = p + d[v], P = p - d[y];
3942
3942
  p = lr(A, p, P);
3943
3943
  }
3944
3944
  const b = l.fn({
3945
3945
  ...t,
3946
- [f]: g,
3947
- [h]: p
3946
+ [h]: g,
3947
+ [f]: p
3948
3948
  });
3949
3949
  return {
3950
3950
  ...b,
@@ -3952,8 +3952,8 @@ const xp = function(e) {
3952
3952
  x: b.x - n,
3953
3953
  y: b.y - a,
3954
3954
  enabled: {
3955
- [f]: s,
3956
- [h]: i
3955
+ [h]: s,
3956
+ [f]: i
3957
3957
  }
3958
3958
  }
3959
3959
  };
@@ -3974,17 +3974,17 @@ const xp = function(e) {
3974
3974
  apply: l = () => {
3975
3975
  },
3976
3976
  ...c
3977
- } = nt(e, t), u = await s.detectOverflow(t, c), d = Oe(o), h = he(o), f = Ee(o) === "y", {
3977
+ } = nt(e, t), u = await s.detectOverflow(t, c), d = Oe(o), f = he(o), h = Ee(o) === "y", {
3978
3978
  width: g,
3979
3979
  height: p
3980
3980
  } = r.floating;
3981
3981
  let b, v;
3982
- d === "top" || d === "bottom" ? (b = d, v = h === (await (s.isRTL == null ? void 0 : s.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (v = d, b = h === "end" ? "top" : "bottom");
3982
+ d === "top" || d === "bottom" ? (b = d, v = f === (await (s.isRTL == null ? void 0 : s.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (v = d, b = f === "end" ? "top" : "bottom");
3983
3983
  const y = p - u.top - u.bottom, A = g - u.left - u.right, P = ze(p - u[b], y), w = ze(g - u[v], A), T = !t.middlewareData.shift;
3984
3984
  let x = P, O = w;
3985
- if ((n = t.middlewareData.shift) != null && n.enabled.x && (O = A), (a = t.middlewareData.shift) != null && a.enabled.y && (x = y), T && !h) {
3985
+ if ((n = t.middlewareData.shift) != null && n.enabled.x && (O = A), (a = t.middlewareData.shift) != null && a.enabled.y && (x = y), T && !f) {
3986
3986
  const _ = ce(u.left, 0), S = ce(u.right, 0), F = ce(u.top, 0), H = ce(u.bottom, 0);
3987
- f ? O = g - 2 * (_ !== 0 || S !== 0 ? _ + S : ce(u.left, u.right)) : x = p - 2 * (F !== 0 || H !== 0 ? F + H : ce(u.top, u.bottom));
3987
+ h ? O = g - 2 * (_ !== 0 || S !== 0 ? _ + S : ce(u.left, u.right)) : x = p - 2 * (F !== 0 || H !== 0 ? F + H : ce(u.top, u.bottom));
3988
3988
  }
3989
3989
  await l({
3990
3990
  ...t,
@@ -4161,9 +4161,9 @@ function Xe(e, t, n, a) {
4161
4161
  const i = qp(r, n, a) ? Pu(r) : Ne(0);
4162
4162
  let l = (o.left + i.x) / s.x, c = (o.top + i.y) / s.y, u = o.width / s.x, d = o.height / s.y;
4163
4163
  if (r) {
4164
- const h = ue(r), f = a && ge(a) ? ue(a) : a;
4165
- let g = h, p = cr(g);
4166
- for (; p && a && f !== g; ) {
4164
+ const f = ue(r), h = a && ge(a) ? ue(a) : a;
4165
+ let g = f, p = cr(g);
4166
+ for (; p && a && h !== g; ) {
4167
4167
  const b = ut(p), v = p.getBoundingClientRect(), y = ve(p), A = v.left + (p.clientLeft + parseFloat(y.paddingLeft)) * b.x, P = v.top + (p.clientTop + parseFloat(y.paddingTop)) * b.y;
4168
4168
  l *= b.x, c *= b.y, u *= b.x, d *= b.y, l += A, c += P, g = ue(p), p = cr(g);
4169
4169
  }
@@ -4202,15 +4202,15 @@ function jp(e) {
4202
4202
  }, c = Ne(1);
4203
4203
  const u = Ne(0), d = Pe(a);
4204
4204
  if ((d || !d && !r) && ((at(a) !== "body" || Rt(s)) && (l = vn(a)), Pe(a))) {
4205
- const f = Xe(a);
4206
- c = ut(a), u.x = f.x + a.clientLeft, u.y = f.y + a.clientTop;
4205
+ const h = Xe(a);
4206
+ c = ut(a), u.x = h.x + a.clientLeft, u.y = h.y + a.clientTop;
4207
4207
  }
4208
- const h = s && !d && !r ? Cu(s, l) : Ne(0);
4208
+ const f = s && !d && !r ? Cu(s, l) : Ne(0);
4209
4209
  return {
4210
4210
  width: n.width * c.x,
4211
4211
  height: n.height * c.y,
4212
- x: n.x * c.x - l.scrollLeft * c.x + u.x + h.x,
4213
- y: n.y * c.y - l.scrollTop * c.y + u.y + h.y
4212
+ x: n.x * c.x - l.scrollLeft * c.x + u.x + f.x,
4213
+ y: n.y * c.y - l.scrollTop * c.y + u.y + f.y
4214
4214
  };
4215
4215
  }
4216
4216
  function Hp(e) {
@@ -4238,7 +4238,7 @@ function Vp(e, t) {
4238
4238
  }
4239
4239
  const c = bn(a);
4240
4240
  if (c <= 0) {
4241
- const u = a.ownerDocument, d = u.body, h = getComputedStyle(d), f = u.compatMode === "CSS1Compat" && parseFloat(h.marginLeft) + parseFloat(h.marginRight) || 0, g = Math.abs(a.clientWidth - d.clientWidth - f);
4241
+ const u = a.ownerDocument, d = u.body, f = getComputedStyle(d), h = u.compatMode === "CSS1Compat" && parseFloat(f.marginLeft) + parseFloat(f.marginRight) || 0, g = Math.abs(a.clientWidth - d.clientWidth - h);
4242
4242
  g <= Di && (r -= g);
4243
4243
  } else c <= Di && (r += c);
4244
4244
  return {
@@ -4334,14 +4334,14 @@ function Xp(e, t, n) {
4334
4334
  }
4335
4335
  if (a || !a && !r)
4336
4336
  if ((at(t) !== "body" || Rt(o)) && (i = vn(t)), a) {
4337
- const f = Xe(t, !0, r, t);
4338
- l.x = f.x + t.clientLeft, l.y = f.y + t.clientTop;
4337
+ const h = Xe(t, !0, r, t);
4338
+ l.x = h.x + t.clientLeft, l.y = h.y + t.clientTop;
4339
4339
  } else o && c();
4340
4340
  r && !a && o && c();
4341
- const u = o && !a && !r ? Cu(o, i) : Ne(0), d = s.left + i.scrollLeft - l.x - u.x, h = s.top + i.scrollTop - l.y - u.y;
4341
+ const u = o && !a && !r ? Cu(o, i) : Ne(0), d = s.left + i.scrollLeft - l.x - u.x, f = s.top + i.scrollTop - l.y - u.y;
4342
4342
  return {
4343
4343
  x: d,
4344
- y: h,
4344
+ y: f,
4345
4345
  width: s.width,
4346
4346
  height: s.height
4347
4347
  };
@@ -4417,12 +4417,12 @@ function eg(e, t) {
4417
4417
  const c = e.getBoundingClientRect(), {
4418
4418
  left: u,
4419
4419
  top: d,
4420
- width: h,
4421
- height: f
4420
+ width: f,
4421
+ height: h
4422
4422
  } = c;
4423
- if (i || t(), !h || !f)
4423
+ if (i || t(), !f || !h)
4424
4424
  return;
4425
- const g = jt(d), p = jt(o.clientWidth - (u + h)), b = jt(o.clientHeight - (d + f)), v = jt(u), A = {
4425
+ const g = jt(d), p = jt(o.clientWidth - (u + f)), b = jt(o.clientHeight - (d + h)), v = jt(u), A = {
4426
4426
  rootMargin: -g + "px " + -p + "px " + -b + "px " + -v + "px",
4427
4427
  threshold: ce(0, ze(1, l)) || 1
4428
4428
  };
@@ -4466,14 +4466,14 @@ function Tu(e, t, n, a) {
4466
4466
  }), r && v.addEventListener("resize", n);
4467
4467
  });
4468
4468
  const d = c && i ? eg(c, n) : null;
4469
- let h = -1, f = null;
4470
- s && (f = new ResizeObserver((v) => {
4469
+ let f = -1, h = null;
4470
+ s && (h = new ResizeObserver((v) => {
4471
4471
  let [y] = v;
4472
- y && y.target === c && f && (f.unobserve(t), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
4472
+ y && y.target === c && h && (h.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
4473
4473
  var A;
4474
- (A = f) == null || A.observe(t);
4474
+ (A = h) == null || A.observe(t);
4475
4475
  })), n();
4476
- }), c && !l && f.observe(c), f.observe(t));
4476
+ }), c && !l && h.observe(c), h.observe(t));
4477
4477
  let g, p = l ? Xe(e) : null;
4478
4478
  l && b();
4479
4479
  function b() {
@@ -4484,7 +4484,7 @@ function Tu(e, t, n, a) {
4484
4484
  var v;
4485
4485
  u.forEach((y) => {
4486
4486
  o && y.removeEventListener("scroll", n), r && y.removeEventListener("resize", n);
4487
- }), d?.(), (v = f) == null || v.disconnect(), f = null, l && cancelAnimationFrame(g);
4487
+ }), d?.(), (v = h) == null || v.disconnect(), h = null, l && cancelAnimationFrame(g);
4488
4488
  };
4489
4489
  }
4490
4490
  const _u = xp, tg = Pp, ng = Tp, ag = Cp, og = _p, rg = Ap, sg = (e, t, n) => {
@@ -4534,15 +4534,15 @@ function ku(e, t, n) {
4534
4534
  }), l = C(() => {
4535
4535
  var x;
4536
4536
  return (x = yt(n.transform)) != null ? x : !0;
4537
- }), c = C(() => qi(e.value)), u = C(() => qi(t.value)), d = D(0), h = D(0), f = D(i.value), g = D(s.value), p = je({}), b = D(!1), v = C(() => {
4537
+ }), c = C(() => qi(e.value)), u = C(() => qi(t.value)), d = D(0), f = D(0), h = D(i.value), g = D(s.value), p = je({}), b = D(!1), v = C(() => {
4538
4538
  const x = {
4539
- position: f.value,
4539
+ position: h.value,
4540
4540
  left: "0",
4541
4541
  top: "0"
4542
4542
  };
4543
4543
  if (!u.value)
4544
4544
  return x;
4545
- const O = ji(u.value, d.value), E = ji(u.value, h.value);
4545
+ const O = ji(u.value, d.value), E = ji(u.value, f.value);
4546
4546
  return l.value ? {
4547
4547
  ...x,
4548
4548
  transform: "translate(" + O + "px, " + E + "px)",
@@ -4550,7 +4550,7 @@ function ku(e, t, n) {
4550
4550
  willChange: "transform"
4551
4551
  }
4552
4552
  } : {
4553
- position: f.value,
4553
+ position: h.value,
4554
4554
  left: O + "px",
4555
4555
  top: E + "px"
4556
4556
  };
@@ -4565,7 +4565,7 @@ function ku(e, t, n) {
4565
4565
  placement: s.value,
4566
4566
  strategy: i.value
4567
4567
  }).then((O) => {
4568
- d.value = O.x, h.value = O.y, f.value = O.strategy, g.value = O.placement, p.value = O.middlewareData, b.value = x !== !1;
4568
+ d.value = O.x, f.value = O.y, h.value = O.strategy, g.value = O.placement, p.value = O.middlewareData, b.value = x !== !1;
4569
4569
  });
4570
4570
  }
4571
4571
  function P() {
@@ -4592,8 +4592,8 @@ function ku(e, t, n) {
4592
4592
  flush: "sync"
4593
4593
  }), bc() && vr(P), {
4594
4594
  x: rt(d),
4595
- y: rt(h),
4596
- strategy: rt(f),
4595
+ y: rt(f),
4596
+ strategy: rt(h),
4597
4597
  placement: rt(g),
4598
4598
  middlewareData: rt(p),
4599
4599
  isPositioned: rt(b),
@@ -4639,8 +4639,8 @@ const lg = 8, Iu = 1e4, Ht = {
4639
4639
  className: Hi("arrow")
4640
4640
  }, null), m("div", {
4641
4641
  className: Hi("inner")
4642
- }, [u.map((d, h) => m("p", {
4643
- key: h
4642
+ }, [u.map((d, f) => m("p", {
4643
+ key: f
4644
4644
  }, [d]))])]);
4645
4645
  };
4646
4646
  Ur.displayName = Mu;
@@ -4661,11 +4661,11 @@ function fg(e) {
4661
4661
  n(!!r);
4662
4662
  };
4663
4663
  Of ? a = setTimeout(y, v) : y();
4664
- }, c = dg(), u = typeof window < "u" && "ontouchstart" in window, d = t || (c ? us.open : cs.open), h = c ? us.close : cs.close, f = () => {
4664
+ }, c = dg(), u = typeof window < "u" && "ontouchstart" in window, d = t || (c ? us.open : cs.open), f = c ? us.close : cs.close, h = () => {
4665
4665
  r && !a || (r = !0, o = Date.now(), l(d));
4666
4666
  }, g = (v) => {
4667
4667
  !r && !a || (r = !1, l(v));
4668
- }, p = () => g(h), b = () => g(0);
4668
+ }, p = () => g(f), b = () => g(0);
4669
4669
  return {
4670
4670
  attachAnchor(v) {
4671
4671
  s = new AbortController();
@@ -4674,13 +4674,13 @@ function fg(e) {
4674
4674
  const A = (P) => {
4675
4675
  o && (Date.now() - o >= d ? (P.stopPropagation(), P.preventDefault(), v.focus(), p()) : b());
4676
4676
  };
4677
- v.addEventListener(u ? "touchstart" : "mousedown", f, { signal: y }), v.addEventListener(u ? "touchend" : "mouseup", A, { signal: y });
4677
+ v.addEventListener(u ? "touchstart" : "mousedown", h, { signal: y }), v.addEventListener(u ? "touchend" : "mouseup", A, { signal: y });
4678
4678
  } else
4679
- v.addEventListener("mouseenter", f, { signal: y }), v.addEventListener("mouseleave", p, { signal: y }), v.addEventListener("mouseup", b, { signal: y });
4679
+ v.addEventListener("mouseenter", h, { signal: y }), v.addEventListener("mouseleave", p, { signal: y }), v.addEventListener("mouseup", b, { signal: y });
4680
4680
  v.addEventListener(
4681
4681
  "focusin",
4682
4682
  (A) => {
4683
- ug(A.target) && f();
4683
+ ug(A.target) && h();
4684
4684
  },
4685
4685
  { signal: y }
4686
4686
  ), v.addEventListener("focusout", b, { signal: y });
@@ -4689,7 +4689,7 @@ function fg(e) {
4689
4689
  if (i?.abort(), !v || c) return;
4690
4690
  i = new AbortController();
4691
4691
  const { signal: y } = i;
4692
- v.addEventListener("mouseenter", f, { signal: y }), v.addEventListener("mouseleave", p, { signal: y });
4692
+ v.addEventListener("mouseenter", h, { signal: y }), v.addEventListener("mouseleave", p, { signal: y });
4693
4693
  },
4694
4694
  close() {
4695
4695
  b();
@@ -4732,8 +4732,8 @@ function pg(e) {
4732
4732
  if (l && i.length === 1 && l.type !== yr && !mg(l)) {
4733
4733
  const d = { ref: n };
4734
4734
  if (c && r !== l.props?.["aria-label"]) {
4735
- const h = l.props?.[s];
4736
- d[s] = h ? `${h} ${c}` : c;
4735
+ const f = l.props?.[s];
4736
+ d[s] = f ? `${f} ${c}` : c;
4737
4737
  }
4738
4738
  return rf(l, d, !0);
4739
4739
  }
@@ -4757,10 +4757,10 @@ const yn = /* @__PURE__ */ I((e, {
4757
4757
  whileElementsMounted: Tu,
4758
4758
  middleware: [_u(lg)]
4759
4759
  }), {
4760
- isOpen: h,
4761
- onPopperMount: f,
4760
+ isOpen: f,
4761
+ onPopperMount: h,
4762
4762
  manager: g
4763
- } = hg(C(() => e.delay), o), p = C(() => (h.value || e.forceOpen) && !!e.label), b = C(() => !!e.label && (p.value || i.value === "hide")), v = C(() => !p.value && i.value === "hide");
4763
+ } = hg(C(() => e.delay), o), p = C(() => (f.value || e.forceOpen) && !!e.label), b = C(() => !!e.label && (p.value || i.value === "hide")), v = C(() => !p.value && i.value === "hide");
4764
4764
  return dn(C(() => p.value ? () => g.value?.close() : void 0)), Nm(), () => {
4765
4765
  let y;
4766
4766
  const A = d.value ?? s.value, P = pg({
@@ -4776,7 +4776,7 @@ const yn = /* @__PURE__ */ I((e, {
4776
4776
  return m(ne, null, [P, b.value && m(an, null, gg(y = Ur({
4777
4777
  ref: (w) => {
4778
4778
  const T = w?.$el || w;
4779
- r.value = T, f(T);
4779
+ r.value = T, h(T);
4780
4780
  },
4781
4781
  id: n,
4782
4782
  label: e.label,
@@ -4806,10 +4806,10 @@ const yn = /* @__PURE__ */ I((e, {
4806
4806
  } = ae(C(() => ({
4807
4807
  ...e,
4808
4808
  ...a
4809
- }))), u = (f) => {
4810
- i.value || t("click", f);
4811
- }, d = D(null), h = (f) => {
4812
- d.value = f?.$el ?? f;
4809
+ }))), u = (h) => {
4810
+ i.value || t("click", h);
4811
+ }, d = D(null), f = (h) => {
4812
+ d.value = h?.$el ?? h;
4813
4813
  };
4814
4814
  return n({
4815
4815
  get $el() {
@@ -4817,7 +4817,7 @@ const yn = /* @__PURE__ */ I((e, {
4817
4817
  }
4818
4818
  }), () => {
4819
4819
  const {
4820
- linkAs: f,
4820
+ linkAs: h,
4821
4821
  tooltipProps: g,
4822
4822
  hideTooltip: p,
4823
4823
  ...b
@@ -4826,8 +4826,8 @@ const yn = /* @__PURE__ */ I((e, {
4826
4826
  label: p ? "" : e.label
4827
4827
  }, g), {
4828
4828
  default: () => [m(Lt, N(b, {
4829
- ref: h,
4830
- linkAs: Je(f)
4829
+ ref: f,
4830
+ linkAs: Je(h)
4831
4831
  }, l.value, {
4832
4832
  className: r.value
4833
4833
  }, {
@@ -4936,20 +4936,20 @@ const Ng = /* @__PURE__ */ I((e, {
4936
4936
  } = Gr(), c = Ae("optionsChange", {
4937
4937
  optionsLength: 0
4938
4938
  }), u = Ae("loadingChange", !1), d = D(null);
4939
- return X(d, (h) => {
4940
- h && (s(ip(h, {
4941
- onSelect(f) {
4942
- e.onSelect?.(f), t("select", f);
4939
+ return X(d, (f) => {
4940
+ f && (s(ip(f, {
4941
+ onSelect(h) {
4942
+ t("select", h);
4943
4943
  }
4944
- })), r.value = h);
4944
+ })), r.value = f);
4945
4945
  }, {
4946
4946
  immediate: !1
4947
4947
  }), Ce(() => {
4948
4948
  i.value?.destroy(), s(null);
4949
4949
  }), () => {
4950
4950
  const {
4951
- label: h,
4952
- value: f,
4951
+ label: f,
4952
+ value: h,
4953
4953
  labelDisplayMode: g = "show-selection",
4954
4954
  renderButton: p,
4955
4955
  class: b,
@@ -4958,8 +4958,8 @@ const Ng = /* @__PURE__ */ I((e, {
4958
4958
  return Jm({
4959
4959
  ...n,
4960
4960
  ...v,
4961
- label: h,
4962
- value: f,
4961
+ label: f,
4962
+ value: h,
4963
4963
  labelDisplayMode: g,
4964
4964
  renderButton: p,
4965
4965
  listboxId: o,
@@ -5002,12 +5002,12 @@ const Og = "ComboboxInput", Pg = (e, {
5002
5002
  handleToggle: c,
5003
5003
  filter: u,
5004
5004
  theme: d,
5005
- ...h
5006
- } = e, f = Ag(void 0, e), g = f.disabled || f["aria-disabled"] || void 0;
5005
+ ...f
5006
+ } = e, h = Ag(void 0, e), g = h.disabled || h["aria-disabled"] || void 0;
5007
5007
  return m(t, N({
5008
5008
  autoComplete: "off",
5009
5009
  readOnly: u === "off" || void 0
5010
- }, h, {
5010
+ }, f, {
5011
5011
  ref: r,
5012
5012
  role: "combobox",
5013
5013
  required: !1,
@@ -5041,35 +5041,35 @@ function Cg(e, t) {
5041
5041
  onChange: i
5042
5042
  } = t, l = t.openOnFocus ?? a === "off", c = a === "auto", u = () => e.disabled || e.getAttribute("aria-disabled") === "true";
5043
5043
  let d = !1;
5044
- return n = pu({ onSelect: (f) => {
5045
- r?.(f), d = !1, c && n.setFilter(""), o === "fill" ? i?.(f.value) : o === "clear" && i?.("");
5046
- } }, { wrapNavigation: !0 }, (f, g) => {
5044
+ return n = pu({ onSelect: (h) => {
5045
+ r?.(h), d = !1, c && n.setFilter(""), o === "fill" ? i?.(h.value) : o === "clear" && i?.("");
5046
+ } }, { wrapNavigation: !0 }, (h, g) => {
5047
5047
  g.addEventListener("abort", () => {
5048
5048
  d = !1;
5049
5049
  }), e.addEventListener(
5050
5050
  "input",
5051
5051
  (b) => {
5052
- b instanceof InputEvent && (u() || (f.focusNav?.clear(), d = !0, s?.(e.value), f.setIsOpen(!0), c && f.setFilter(e.value)));
5052
+ b instanceof InputEvent && (u() || (h.focusNav?.clear(), d = !0, s?.(e.value), h.setIsOpen(!0), c && h.setFilter(e.value)));
5053
5053
  },
5054
5054
  { signal: g }
5055
5055
  ), e.addEventListener(
5056
5056
  "focus",
5057
5057
  () => {
5058
- u() || (f.focusNav?.clear(), l && f.setIsOpen(!0));
5058
+ u() || (h.focusNav?.clear(), l && h.setIsOpen(!0));
5059
5059
  },
5060
5060
  { signal: g }
5061
5061
  ), e.addEventListener(
5062
5062
  "click",
5063
5063
  () => {
5064
- u() || f.setIsOpen(!0);
5064
+ u() || h.setIsOpen(!0);
5065
5065
  },
5066
5066
  { signal: g }
5067
5067
  );
5068
- const p = f.subscribe("open", (b) => {
5069
- b && c && d && f.setFilter(e.value);
5068
+ const p = h.subscribe("open", (b) => {
5069
+ b && c && d && h.setFilter(e.value);
5070
5070
  });
5071
5071
  return g.addEventListener("abort", p), (b) => {
5072
- const v = f.focusNav;
5072
+ const v = h.focusNav;
5073
5073
  switch (b.key) {
5074
5074
  case "Home":
5075
5075
  return e.setSelectionRange(0, 0), v?.clear(), !0;
@@ -5103,9 +5103,9 @@ const Sg = "TextField", Fu = "lumx-text-field", qu = `${Fu}__input-native`, {
5103
5103
  name: c,
5104
5104
  ref: u,
5105
5105
  ...d
5106
- } = e, h = (g) => {
5106
+ } = e, f = (g) => {
5107
5107
  o?.(g.target.value, c, g);
5108
- }, f = (g) => {
5108
+ }, h = (g) => {
5109
5109
  r?.(g.target.value, c, g);
5110
5110
  };
5111
5111
  return m("input", N(d, {
@@ -5116,8 +5116,8 @@ const Sg = "TextField", Fu = "lumx-text-field", qu = `${Fu}__input-native`, {
5116
5116
  [`theme-${n}`]: !!n,
5117
5117
  text: !0
5118
5118
  })),
5119
- onChange: h,
5120
- onInput: f,
5119
+ onChange: f,
5120
+ onInput: h,
5121
5121
  onFocus: s,
5122
5122
  onBlur: i,
5123
5123
  value: a
@@ -5176,9 +5176,9 @@ const Sg = "TextField", Fu = "lumx-text-field", qu = `${Fu}__input-native`, {
5176
5176
  name: c,
5177
5177
  ref: u,
5178
5178
  ...d
5179
- } = e, h = (g) => {
5179
+ } = e, f = (g) => {
5180
5180
  o?.(g.target.value, c, g);
5181
- }, f = (g) => {
5181
+ }, h = (g) => {
5182
5182
  r?.(g.target.value, c, g);
5183
5183
  };
5184
5184
  return m("textarea", N(d, {
@@ -5188,8 +5188,8 @@ const Sg = "TextField", Fu = "lumx-text-field", qu = `${Fu}__input-native`, {
5188
5188
  [`theme-${n}`]: !!n,
5189
5189
  textarea: !0
5190
5190
  })),
5191
- onChange: h,
5192
- onInput: f,
5191
+ onChange: f,
5192
+ onInput: h,
5193
5193
  onFocus: s,
5194
5194
  onBlur: i,
5195
5195
  value: a,
@@ -5228,10 +5228,10 @@ const $g = {
5228
5228
  }, Lg = /* @__PURE__ */ I((e, {
5229
5229
  emit: t
5230
5230
  }) => {
5231
- const n = B(), a = K(), o = R(() => e.class), r = D(null), s = Mg(C(() => e.rows ?? ju.rows), r, C(() => e.value)), i = (d, h, f) => {
5232
- f?.stopImmediatePropagation(), t("change", d, h, f);
5233
- }, l = (d, h, f) => {
5234
- t("input", d, h, f);
5231
+ const n = B(), a = K(), o = R(() => e.class), r = D(null), s = Mg(C(() => e.rows ?? ju.rows), r, C(() => e.value)), i = (d, f, h) => {
5232
+ h?.stopImmediatePropagation(), t("change", d, f, h);
5233
+ }, l = (d, f, h) => {
5234
+ t("input", d, f, h);
5235
5235
  }, c = (d) => {
5236
5236
  t("focus", d);
5237
5237
  }, u = (d) => {
@@ -5347,8 +5347,8 @@ const Wg = (e) => {
5347
5347
  id: c,
5348
5348
  isRequired: u,
5349
5349
  isValid: d,
5350
- label: h,
5351
- labelProps: f,
5350
+ label: f,
5351
+ labelProps: h,
5352
5352
  isAnyDisabled: g,
5353
5353
  maxLength: p,
5354
5354
  multiline: b,
@@ -5380,7 +5380,7 @@ const Wg = (e) => {
5380
5380
  "has-icon": !!l,
5381
5381
  "has-input": !b,
5382
5382
  "has-input-clear": !!(a && k),
5383
- "has-label": !!h,
5383
+ "has-label": !!f,
5384
5384
  "has-placeholder": !!v,
5385
5385
  "has-textarea": b,
5386
5386
  "has-value": !!O,
@@ -5389,16 +5389,16 @@ const Wg = (e) => {
5389
5389
  "is-valid": d,
5390
5390
  [`theme-${x}`]: !!x
5391
5391
  }))
5392
- }, [(h || p) && m("div", {
5392
+ }, [(f || p) && m("div", {
5393
5393
  className: de("header")
5394
5394
  }, [Ge({
5395
- ...f,
5395
+ ...h,
5396
5396
  id: T,
5397
5397
  htmlFor: c,
5398
5398
  className: de("label"),
5399
5399
  isRequired: u,
5400
5400
  theme: x,
5401
- children: [h, G]
5401
+ children: [f, G]
5402
5402
  })]), m("div", {
5403
5403
  className: de("wrapper"),
5404
5404
  ref: y
@@ -5466,7 +5466,7 @@ const Wg = (e) => {
5466
5466
  }, {
5467
5467
  flush: "sync"
5468
5468
  });
5469
- const h = C(() => Vg(e.helper, e.error, s, n["aria-describedby"] || void 0, e.label)), f = (y, A, P) => {
5469
+ const f = C(() => Vg(e.helper, e.error, s, n["aria-describedby"] || void 0, e.label)), h = (y, A, P) => {
5470
5470
  t("change", y, A, P);
5471
5471
  }, g = (y, A, P) => {
5472
5472
  t("input", y, A, P);
@@ -5483,7 +5483,7 @@ const Wg = (e) => {
5483
5483
  errorId: P,
5484
5484
  describedById: w,
5485
5485
  labelId: T
5486
- } = h.value, {
5486
+ } = f.value, {
5487
5487
  class: x,
5488
5488
  className: O,
5489
5489
  "aria-describedby": E,
@@ -5510,7 +5510,7 @@ const Wg = (e) => {
5510
5510
  "aria-describedby": w,
5511
5511
  ...u.value,
5512
5512
  readOnly: !!W.readOnly || !!u.value["aria-disabled"],
5513
- onChange: f,
5513
+ onChange: h,
5514
5514
  onInput: g,
5515
5515
  onFocus: p,
5516
5516
  onBlur: b
@@ -5579,7 +5579,7 @@ const Wg = (e) => {
5579
5579
  const g = u.value;
5580
5580
  g && s(Cg(g, {
5581
5581
  onSelect(p) {
5582
- e.onSelect?.(p), t("select", p);
5582
+ t("select", p);
5583
5583
  },
5584
5584
  onChange(p) {
5585
5585
  t("change", p);
@@ -5593,8 +5593,8 @@ const Wg = (e) => {
5593
5593
  });
5594
5594
  const d = Ae("optionsChange", {
5595
5595
  optionsLength: 0
5596
- }), h = Ae("loadingChange", !1), f = () => {
5597
- l.value && !d.value?.optionsLength && !h.value || (c(!l.value), u.value?.focus());
5596
+ }), f = Ae("loadingChange", !1), h = () => {
5597
+ l.value && !d.value?.optionsLength && !f.value || (c(!l.value), u.value?.focus());
5598
5598
  };
5599
5599
  return () => {
5600
5600
  const {
@@ -5621,7 +5621,7 @@ const Wg = (e) => {
5621
5621
  "aria-disabled": T ?? n.ariaDisabled,
5622
5622
  ...w,
5623
5623
  listboxId: o,
5624
- isOpen: l.value && (!!d.value?.optionsLength || h.value),
5624
+ isOpen: l.value && (!!d.value?.optionsLength || f.value),
5625
5625
  filter: b,
5626
5626
  textFieldRef: (O) => {
5627
5627
  r.value = O, e.textFieldRef?.(O);
@@ -5630,7 +5630,7 @@ const Wg = (e) => {
5630
5630
  u.value = O, e.inputRef?.(O);
5631
5631
  },
5632
5632
  toggleButtonProps: g,
5633
- handleToggle: f,
5633
+ handleToggle: h,
5634
5634
  className: a.value
5635
5635
  }, {
5636
5636
  TextField: Gg,
@@ -5720,10 +5720,10 @@ const av = /* @__PURE__ */ I((e, {
5720
5720
  }, {
5721
5721
  flush: "post"
5722
5722
  }), () => {
5723
- const u = l.value ? t.default?.() : null, d = n["aria-label"] ?? "", h = n["aria-multiselectable"];
5723
+ const u = l.value ? t.default?.() : null, d = n["aria-label"] ?? "", f = n["aria-multiselectable"];
5724
5724
  return Qg({
5725
5725
  "aria-label": d,
5726
- "aria-multiselectable": h || void 0,
5726
+ "aria-multiselectable": f || void 0,
5727
5727
  "aria-busy": i.value || void 0,
5728
5728
  className: a.value,
5729
5729
  ref: s,
@@ -5757,16 +5757,16 @@ const av = /* @__PURE__ */ I((e, {
5757
5757
  linkAs: c,
5758
5758
  linkProps: u = {},
5759
5759
  linkRef: d,
5760
- handleClick: h,
5761
- size: f = Ju.size,
5760
+ handleClick: f,
5761
+ size: h = Ju.size,
5762
5762
  ref: g,
5763
5763
  ...p
5764
- } = e, b = !!c || u?.href || h;
5764
+ } = e, b = !!c || u?.href || f;
5765
5765
  return m("li", N({
5766
5766
  ref: g
5767
5767
  }, p, {
5768
5768
  className: $(o, ov({
5769
- [`size-${f}`]: !!f
5769
+ [`size-${h}`]: !!h
5770
5770
  }))
5771
5771
  }), [tt({
5772
5772
  as: b ? c || (u.href ? "a" : "button") : "div",
@@ -5778,7 +5778,7 @@ const av = /* @__PURE__ */ I((e, {
5778
5778
  "is-selected": s,
5779
5779
  "is-disabled": i || l === "true"
5780
5780
  }),
5781
- handleClick: h,
5781
+ handleClick: f,
5782
5782
  ref: d,
5783
5783
  children: m(ne, null, [n && m("div", {
5784
5784
  className: zt("before")
@@ -5831,8 +5831,8 @@ const iv = "ComboboxOption", lv = "lumx-combobox-option", {
5831
5831
  id: c,
5832
5832
  isDisabled: u,
5833
5833
  isGrid: d,
5834
- isSelected: h,
5835
- handleClick: f,
5834
+ isSelected: f,
5835
+ handleClick: h,
5836
5836
  actionProps: g,
5837
5837
  ref: p,
5838
5838
  tooltipProps: b,
@@ -5846,8 +5846,8 @@ const iv = "ComboboxOption", lv = "lumx-combobox-option", {
5846
5846
  ...g,
5847
5847
  id: c,
5848
5848
  className: zi("action"),
5849
- handleClick: f,
5850
- "aria-selected": h ? "true" : "false",
5849
+ handleClick: h,
5850
+ "aria-selected": f ? "true" : "false",
5851
5851
  "data-value": v,
5852
5852
  "aria-describedby": [s && i, c && `${c}-more-info`].filter(Boolean).join(" ") || void 0,
5853
5853
  "aria-disabled": u ? "true" : void 0,
@@ -5912,15 +5912,15 @@ const hv = {
5912
5912
  flush: "post"
5913
5913
  }
5914
5914
  );
5915
- const h = (p) => {
5915
+ const f = (p) => {
5916
5916
  u.value = p;
5917
- }, f = () => {
5917
+ }, h = () => {
5918
5918
  n("click"), a.onClick?.();
5919
5919
  }, g = (p) => t[p]?.() ?? a[p];
5920
5920
  return () => {
5921
5921
  const p = g("before"), b = g("after"), v = t.default?.();
5922
5922
  return uv({
5923
- ref: h,
5923
+ ref: f,
5924
5924
  hidden: d.value,
5925
5925
  value: e.value,
5926
5926
  description: e.description,
@@ -5930,7 +5930,7 @@ const hv = {
5930
5930
  isGrid: i,
5931
5931
  before: p,
5932
5932
  after: b,
5933
- handleClick: f,
5933
+ handleClick: h,
5934
5934
  actionProps: e.actionProps,
5935
5935
  id: l,
5936
5936
  descriptionId: c,
@@ -6079,8 +6079,8 @@ const xv = "Popover", Tv = "lumx-popover", {
6079
6079
  hasArrow: c,
6080
6080
  isOpen: u,
6081
6081
  position: d,
6082
- popoverStyle: h,
6083
- arrowStyle: f,
6082
+ popoverStyle: f,
6083
+ arrowStyle: h,
6084
6084
  theme: g,
6085
6085
  // Framework-specific
6086
6086
  ref: p,
@@ -6104,7 +6104,7 @@ const xv = "Popover", Tv = "lumx-popover", {
6104
6104
  "is-hidden": !!T
6105
6105
  })),
6106
6106
  hidden: T || void 0,
6107
- style: T ? void 0 : h,
6107
+ style: T ? void 0 : f,
6108
6108
  "data-popper-placement": d
6109
6109
  }), {
6110
6110
  default: () => [P, m(n, {
@@ -6114,7 +6114,7 @@ const xv = "Popover", Tv = "lumx-popover", {
6114
6114
  default: () => [c && m("div", {
6115
6115
  ref: b,
6116
6116
  className: Ev("arrow"),
6117
- style: T ? void 0 : f
6117
+ style: T ? void 0 : h
6118
6118
  }, [m("svg", {
6119
6119
  viewBox: "0 0 14 14",
6120
6120
  "aria-hidden": !0
@@ -6156,11 +6156,11 @@ function Lv(e) {
6156
6156
  minHeight: c,
6157
6157
  maxHeight: u,
6158
6158
  boundary: d,
6159
- parsedPlacement: h,
6160
- arrowElement: f
6159
+ parsedPlacement: f,
6160
+ arrowElement: h
6161
6161
  } = e, g = it(r), p = it(s), b = it(i), v = it(l), y = it(c), A = it(u), P = [], w = (t?.away ?? 0) + (n ? Va : 0), T = t?.along ?? 0;
6162
- return P.push(_u({ mainAxis: w, crossAxis: T })), h.isAuto ? P.push(
6163
- tg({ ...d ? { boundary: d } : {}, alignment: h.autoAlignment })
6162
+ return P.push(_u({ mainAxis: w, crossAxis: T })), f.isAuto ? P.push(
6163
+ tg({ ...d ? { boundary: d } : {}, alignment: f.autoAlignment })
6164
6164
  ) : (P.push(ag(d ? { boundary: d } : {})), P.push(ng(d ? { boundary: d } : {}))), (a || o || g || p || b || v || y || A) && P.push(
6165
6165
  og({
6166
6166
  ...d ? { boundary: d } : {},
@@ -6174,7 +6174,7 @@ function Lv(e) {
6174
6174
  );
6175
6175
  }
6176
6176
  })
6177
- ), n && f && P.push(rg({ element: f, padding: Va / 2 })), P;
6177
+ ), n && h && P.push(rg({ element: h, padding: Va / 2 })), P;
6178
6178
  }
6179
6179
  function Rv(e) {
6180
6180
  if (e)
@@ -6214,13 +6214,13 @@ function Bv(e) {
6214
6214
  middleware: r
6215
6215
  }), d = C(
6216
6216
  () => l.value ?? e.placement?.value
6217
- ), h = C(() => Rv(u.value?.arrow)), f = C(() => ({
6217
+ ), f = C(() => Rv(u.value?.arrow)), h = C(() => ({
6218
6218
  ...e.style?.value || {},
6219
6219
  ...i.value,
6220
6220
  zIndex: e.zIndex?.value
6221
6221
  }));
6222
6222
  return {
6223
- styles: { arrow: h, popover: f },
6223
+ styles: { arrow: f, popover: h },
6224
6224
  isPositioned: c,
6225
6225
  position: d,
6226
6226
  floatingRef: t,
@@ -6266,12 +6266,12 @@ const qv = {
6266
6266
  zIndex: C(() => e.zIndex ?? Sv)
6267
6267
  });
6268
6268
  Rr(C(() => e.focusAnchorOnClose ?? !0), r, C(() => e.parentElement), u, C(() => !!e.isOpen));
6269
- const h = () => {
6269
+ const f = () => {
6270
6270
  t("close");
6271
6271
  };
6272
- dn(C(() => h), C(() => !!(e.isOpen && e.closeOnEscape)));
6273
- const f = C(() => !e.withFocusTrap && !!e.isOpen && l.value);
6274
- Fv(s, f);
6272
+ dn(C(() => f), C(() => !!(e.isOpen && e.closeOnEscape)));
6273
+ const h = C(() => !e.withFocusTrap && !!e.isOpen && l.value);
6274
+ Fv(s, h);
6275
6275
  const g = C(() => !e.withFocusTrap || !e.isOpen ? !1 : e.focusTrapZoneElement || u.value || !1);
6276
6276
  Lr(g, s);
6277
6277
  const p = C(() => [u, r]);
@@ -6291,7 +6291,7 @@ const qv = {
6291
6291
  theme: e.theme,
6292
6292
  ref: u,
6293
6293
  arrowRef: d,
6294
- clickAwayCallback: e.closeOnClickAway ? h : void 0,
6294
+ clickAwayCallback: e.closeOnClickAway ? f : void 0,
6295
6295
  clickAwayRefs: p
6296
6296
  }, {
6297
6297
  Portal: an,
@@ -6315,32 +6315,32 @@ const nd = /* @__PURE__ */ I((e, {
6315
6315
  } = fv(), i = Ae("activeDescendantChange", null), l = `${s}-more-info`;
6316
6316
  function c(d) {
6317
6317
  const {
6318
- onMouseEnter: h,
6319
- onMouseLeave: f,
6318
+ onMouseEnter: f,
6319
+ onMouseLeave: h,
6320
6320
  ...g
6321
6321
  } = d;
6322
6322
  return m(pt, N({
6323
6323
  ref: a
6324
6324
  }, {
6325
- onMouseenter: h,
6326
- onMouseleave: f
6325
+ onMouseenter: f,
6326
+ onMouseleave: h
6327
6327
  }, g), null);
6328
6328
  }
6329
6329
  const u = (d, {
6330
- slots: h
6330
+ slots: f
6331
6331
  }) => {
6332
6332
  const {
6333
- anchorRef: f,
6333
+ anchorRef: h,
6334
6334
  ...g
6335
6335
  } = d;
6336
6336
  return m(An, N({
6337
6337
  anchorRef: o
6338
- }, g), jv(h) ? h : {
6339
- default: () => [h]
6338
+ }, g), jv(f) ? f : {
6339
+ default: () => [f]
6340
6340
  });
6341
6341
  };
6342
6342
  return () => {
6343
- const d = i.value === s, h = r.value || d, f = t.default?.();
6343
+ const d = i.value === s, f = r.value || d, h = t.default?.();
6344
6344
  return Pv({
6345
6345
  // Pass `undefined` for the core template's `ref` prop. The core template
6346
6346
  // passes `ref` to `<IconButton ref={ref}>`, but if we pass `iconButtonRef`
@@ -6351,9 +6351,9 @@ const nd = /* @__PURE__ */ I((e, {
6351
6351
  // inner ref binding takes effect.
6352
6352
  ref: void 0,
6353
6353
  className: n.value,
6354
- isOpen: h,
6354
+ isOpen: f,
6355
6355
  popoverId: l,
6356
- children: f,
6356
+ children: h,
6357
6357
  onMouseEnter: () => {
6358
6358
  r.value = !0;
6359
6359
  },
@@ -6470,17 +6470,17 @@ const Jv = "ComboboxPopover", Yr = "lumx-combobox-popover", {
6470
6470
  maxHeight: c = Yv,
6471
6471
  placement: u = "bottom-start",
6472
6472
  anchorRef: d,
6473
- handleClose: h,
6474
- ...f
6473
+ handleClose: f,
6474
+ ...h
6475
6475
  } = e;
6476
- return m(t, N(f, {
6476
+ return m(t, N(h, {
6477
6477
  placement: u,
6478
6478
  fitToAnchorWidth: i,
6479
6479
  maxHeight: c,
6480
6480
  className: Qv([o]),
6481
6481
  anchorRef: d,
6482
6482
  isOpen: l,
6483
- onClose: h,
6483
+ onClose: f,
6484
6484
  closeOnClickAway: r,
6485
6485
  closeOnEscape: s,
6486
6486
  closeMode: "hide"
@@ -6533,7 +6533,7 @@ function ib(e) {
6533
6533
  wrap: !!l,
6534
6534
  "fill-space": n,
6535
6535
  "no-shrink": s,
6536
- ...Object.fromEntries(Xr(r).filter(Boolean).map((h) => [`margin-auto-${h}`, !0]))
6536
+ ...Object.fromEntries(Xr(r).filter(Boolean).map((f) => [`margin-auto-${f}`, !0]))
6537
6537
  }))
6538
6538
  };
6539
6539
  }
@@ -6855,7 +6855,7 @@ const Ob = "ComboboxState", Pb = "lumx-combobox-state", {
6855
6855
  errorTryReloadMessage: s,
6856
6856
  loadingMessage: i,
6857
6857
  state: l
6858
- } = e, c = l?.isOpen ?? !0, u = l?.optionsLength ?? 0, d = u === 0, h = !!r, f = typeof a == "function" ? a(l?.inputValue || "") : a, g = d && !h && !l?.isLoading && !!f, p = !h && !!i, b = !d && !h && !l?.isLoading && o ? o(u) : void 0, v = g || h, y = {
6858
+ } = e, c = l?.isOpen ?? !0, u = l?.optionsLength ?? 0, d = u === 0, f = !!r, h = typeof a == "function" ? a(l?.inputValue || "") : a, g = d && !f && !l?.isLoading && !!h, p = !f && !!i, b = !d && !f && !l?.isLoading && o ? o(u) : void 0, v = g || f, y = {
6859
6859
  hAlign: "center",
6860
6860
  vAlign: "center"
6861
6861
  }, A = c;
@@ -6871,8 +6871,8 @@ const Ob = "ComboboxState", Pb = "lumx-combobox-state", {
6871
6871
  as: "p",
6872
6872
  typography: "body1",
6873
6873
  color: "dark-L2"
6874
- }, Nt(f) ? f : {
6875
- default: () => [f]
6874
+ }, Nt(h) ? h : {
6875
+ default: () => [h]
6876
6876
  }), A && p && m(n, {
6877
6877
  as: "p",
6878
6878
  typography: "body1",
@@ -6933,27 +6933,27 @@ const Tb = "GenericBlock", _b = "lumx-generic-block", {
6933
6933
  content: c,
6934
6934
  orientation: u = Gi.orientation,
6935
6935
  contentProps: d,
6936
- FlexBox: h,
6937
- ...f
6936
+ FlexBox: f,
6937
+ ...h
6938
6938
  } = e;
6939
- return m(h, N({
6939
+ return m(f, N({
6940
6940
  ref: l,
6941
6941
  className: $(t, Eb()),
6942
6942
  gap: i,
6943
6943
  orientation: u
6944
- }, f), {
6945
- default: () => [n && m(h, N(a, {
6944
+ }, h), {
6945
+ default: () => [n && m(f, N(a, {
6946
6946
  className: $(a?.className, Ga("figure"))
6947
6947
  }), Ua(n) ? n : {
6948
6948
  default: () => [n]
6949
- }), c && m(h, N({
6949
+ }), c && m(f, N({
6950
6950
  orientation: ft.vertical,
6951
6951
  fillSpace: !0
6952
6952
  }, d, {
6953
6953
  className: $(d?.className, Ga("content"))
6954
6954
  }), Ua(c) ? c : {
6955
6955
  default: () => [c]
6956
- }), r && m(h, N(s, {
6956
+ }), r && m(f, N(s, {
6957
6957
  className: $(s?.className, Ga("actions"))
6958
6958
  }), Ua(r) ? r : {
6959
6959
  default: () => [r]
@@ -7432,15 +7432,15 @@ function fd() {
7432
7432
  if (!a(s))
7433
7433
  return s;
7434
7434
  i = t(i, s);
7435
- for (var u = -1, d = i.length, h = d - 1, f = s; f != null && ++u < d; ) {
7435
+ for (var u = -1, d = i.length, f = d - 1, h = s; h != null && ++u < d; ) {
7436
7436
  var g = o(i[u]), p = l;
7437
7437
  if (g === "__proto__" || g === "constructor" || g === "prototype")
7438
7438
  return s;
7439
- if (u != h) {
7440
- var b = f[g];
7441
- p = c ? c(b, g, f) : void 0, p === void 0 && (p = a(b) ? b : n(i[u + 1]) ? [] : {});
7439
+ if (u != f) {
7440
+ var b = h[g];
7441
+ p = c ? c(b, g, h) : void 0, p === void 0 && (p = a(b) ? b : n(i[u + 1]) ? [] : {});
7442
7442
  }
7443
- e(f, g, p), f = f[g];
7443
+ e(h, g, p), h = h[g];
7444
7444
  }
7445
7445
  return s;
7446
7446
  }
@@ -7476,13 +7476,13 @@ function cy() {
7476
7476
  var e = _n(), t = Dr(), n = et(), a = dd(), o = Br(), r = Zr();
7477
7477
  function s(i, l, c) {
7478
7478
  l = e(l, i);
7479
- for (var u = -1, d = l.length, h = !1; ++u < d; ) {
7480
- var f = r(l[u]);
7481
- if (!(h = i != null && c(i, f)))
7479
+ for (var u = -1, d = l.length, f = !1; ++u < d; ) {
7480
+ var h = r(l[u]);
7481
+ if (!(f = i != null && c(i, h)))
7482
7482
  break;
7483
- i = i[f];
7483
+ i = i[h];
7484
7484
  }
7485
- return h || ++u != d ? h : (d = i == null ? 0 : i.length, !!d && o(d) && a(f, d) && (n(i) || t(i)));
7485
+ return f || ++u != d ? f : (d = i == null ? 0 : i.length, !!d && o(d) && a(h, d) && (n(i) || t(i)));
7486
7486
  }
7487
7487
  return $o = s, $o;
7488
7488
  }
@@ -7761,13 +7761,13 @@ const Ty = "Card", _y = "lumx-card", {
7761
7761
  ref: c,
7762
7762
  handleChange: u,
7763
7763
  theme: d,
7764
- value: h,
7765
- inputProps: f = {},
7764
+ value: f,
7765
+ inputProps: h = {},
7766
7766
  isDisabled: g,
7767
7767
  inputId: p,
7768
7768
  ...b
7769
7769
  } = e, v = s === vd, y = (A) => {
7770
- u && u(!s, h, l, A);
7770
+ u && u(!s, f, l, A);
7771
7771
  };
7772
7772
  return m("div", N({
7773
7773
  ref: c
@@ -7787,14 +7787,14 @@ const Ty = "Card", _y = "lumx-card", {
7787
7787
  id: p,
7788
7788
  className: Re("input-native"),
7789
7789
  name: l,
7790
- value: h,
7790
+ value: f,
7791
7791
  checked: s,
7792
7792
  onChange: y,
7793
7793
  "aria-describedby": a ? `${p}-helper` : void 0,
7794
7794
  "aria-checked": v ? "mixed" : !!s
7795
- }, f?.readOnly ? {
7796
- readOnly: f.readOnly
7797
- } : {}, f), null), m("div", {
7795
+ }, h?.readOnly ? {
7796
+ readOnly: h.readOnly
7797
+ } : {}, h), null), m("div", {
7798
7798
  className: Re("input-placeholder")
7799
7799
  }, [m("div", {
7800
7800
  className: Re("input-background")
@@ -7828,13 +7828,13 @@ const Ty = "Card", _y = "lumx-card", {
7828
7828
  ...e,
7829
7829
  ...n
7830
7830
  }))), d = C(() => e.isChecked === vd);
7831
- X(d, (f) => {
7832
- i.value && (i.value.indeterminate = f);
7831
+ X(d, (h) => {
7832
+ i.value && (i.value.indeterminate = h);
7833
7833
  }, {
7834
7834
  immediate: !0
7835
7835
  });
7836
- const h = (f, g, p, b) => {
7837
- l.value || t("change", f, g, p, b);
7836
+ const f = (h, g, p, b) => {
7837
+ l.value || t("change", h, g, p, b);
7838
7838
  };
7839
7839
  return () => m(Ry, N(u.value, {
7840
7840
  className: o.value,
@@ -7842,7 +7842,7 @@ const Ty = "Card", _y = "lumx-card", {
7842
7842
  inputId: s.value,
7843
7843
  inputRef: i,
7844
7844
  isDisabled: l.value,
7845
- handleChange: h,
7845
+ handleChange: f,
7846
7846
  label: e.label,
7847
7847
  inputProps: {
7848
7848
  ...e.inputProps,
@@ -7874,8 +7874,8 @@ const Ty = "Card", _y = "lumx-card", {
7874
7874
  handleAfterClick: c,
7875
7875
  handleBeforeClick: u,
7876
7876
  handleClick: d,
7877
- hasAfterClick: h,
7878
- hasBeforeClick: f,
7877
+ hasAfterClick: f,
7878
+ hasBeforeClick: h,
7879
7879
  hasOnClick: g,
7880
7880
  size: p = qy.size,
7881
7881
  theme: b,
@@ -7916,7 +7916,7 @@ const Ty = "Card", _y = "lumx-card", {
7916
7916
  }), [n && // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
7917
7917
  m("div", {
7918
7918
  className: zo("before", {
7919
- "is-clickable": f
7919
+ "is-clickable": h
7920
7920
  }),
7921
7921
  onClick: u
7922
7922
  }, [n]), m("div", {
@@ -7924,7 +7924,7 @@ const Ty = "Card", _y = "lumx-card", {
7924
7924
  }, [a]), t && // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
7925
7925
  m("div", {
7926
7926
  className: zo("after", {
7927
- "is-clickable": h
7927
+ "is-clickable": f
7928
7928
  }),
7929
7929
  onClick: c
7930
7930
  }, [t])])
@@ -7944,9 +7944,9 @@ const Ty = "Card", _y = "lumx-card", {
7944
7944
  } = ae(C(() => ({
7945
7945
  ...e,
7946
7946
  ...a
7947
- }))), h = (b) => {
7947
+ }))), f = (b) => {
7948
7948
  c.value || t("click", b);
7949
- }, f = (b) => {
7949
+ }, h = (b) => {
7950
7950
  c.value || !i || (t("afterClick", b), b?.stopPropagation());
7951
7951
  }, g = (b) => {
7952
7952
  c.value || !l || (t("beforeClick", b), b?.stopPropagation());
@@ -7956,8 +7956,8 @@ const Ty = "Card", _y = "lumx-card", {
7956
7956
  return () => m(jy, N(d.value, {
7957
7957
  className: r.value,
7958
7958
  theme: e.theme || o.value,
7959
- handleClick: h,
7960
- handleAfterClick: f,
7959
+ handleClick: f,
7960
+ handleAfterClick: h,
7961
7961
  handleBeforeClick: g,
7962
7962
  handleKeyDown: p,
7963
7963
  hasOnClick: s,
@@ -8021,8 +8021,8 @@ const Ky = "SelectionChipGroup", Yy = "lumx-selection-chip-group", {
8021
8021
  getOptionName: c,
8022
8022
  label: u,
8023
8023
  chipRemoveLabel: d,
8024
- isDisabled: h,
8025
- theme: f,
8024
+ isDisabled: f,
8025
+ theme: h,
8026
8026
  className: g,
8027
8027
  getChipProps: p,
8028
8028
  ref: b,
@@ -8036,7 +8036,7 @@ const Ky = "SelectionChipGroup", Yy = "lumx-selection-chip-group", {
8036
8036
  "aria-orientation": "horizontal",
8037
8037
  className: Xy([g])
8038
8038
  }), Gy(s = i.map((y) => {
8039
- const A = c && ie(c, y) || ie(l, y), P = ie(l, y), w = p?.(y) || {}, T = w.isDisabled || h, x = typeof w.children == "string" ? w.children : A, O = d ? `${x} - ${d}` : x;
8039
+ const A = c && ie(c, y) || ie(l, y), P = ie(l, y), w = p?.(y) || {}, T = w.isDisabled || f, x = typeof w.children == "string" ? w.children : A, O = d ? `${x} - ${d}` : x;
8040
8040
  return m(r, {
8041
8041
  key: P,
8042
8042
  label: T ? void 0 : O
@@ -8053,7 +8053,7 @@ const Ky = "SelectionChipGroup", Yy = "lumx-selection-chip-group", {
8053
8053
  isClickable: !0,
8054
8054
  role: "option",
8055
8055
  "aria-selected": "true",
8056
- theme: f,
8056
+ theme: h,
8057
8057
  isDisabled: T
8058
8058
  }), {
8059
8059
  default: () => [m(o, {
@@ -8157,12 +8157,12 @@ const yd = (e) => (t) => U(t) && t.type === e, tN = {
8157
8157
  itemSelector: `.${Et}`,
8158
8158
  itemDisabledSelector: `.${Et}[aria-disabled="true"]`
8159
8159
  }), () => {
8160
- const c = (h) => {
8161
- const f = e.getChipProps?.(h) || {};
8160
+ const c = (f) => {
8161
+ const h = e.getChipProps?.(f) || {};
8162
8162
  let g = {};
8163
8163
  if (n.chip) {
8164
8164
  const v = n.chip({
8165
- option: h
8165
+ option: f
8166
8166
  })?.find(yd(dr));
8167
8167
  g = v?.props || {};
8168
8168
  const y = v?.children?.before;
@@ -8170,7 +8170,7 @@ const yd = (e) => (t) => U(t) && t.type === e, tN = {
8170
8170
  }
8171
8171
  const p = Object.fromEntries(Object.entries(g).filter(([, b]) => b !== void 0));
8172
8172
  return {
8173
- ...f,
8173
+ ...h,
8174
8174
  ...p
8175
8175
  };
8176
8176
  }, {
@@ -8270,8 +8270,8 @@ const yd = (e) => (t) => U(t) && t.type === e, tN = {
8270
8270
  handleClose: c,
8271
8271
  parentElement: u,
8272
8272
  focusElement: d,
8273
- labelId: h,
8274
- preventAutoClose: f,
8273
+ labelId: f,
8274
+ preventAutoClose: h,
8275
8275
  preventCloseOnClick: g,
8276
8276
  theme: p,
8277
8277
  zIndex: b,
@@ -8290,7 +8290,7 @@ const yd = (e) => (t) => U(t) && t.type === e, tN = {
8290
8290
  return !l && !v ? null : m(A, null, {
8291
8291
  default: () => [m("div", N({
8292
8292
  ref: y
8293
- }, S, _r(o, n || h), {
8293
+ }, S, _r(o, n || f), {
8294
8294
  "aria-modal": "true",
8295
8295
  role: "dialog",
8296
8296
  tabIndex: -1,
@@ -8319,7 +8319,7 @@ const yd = (e) => (t) => U(t) && t.type === e, tN = {
8319
8319
  value: void 0
8320
8320
  }, {
8321
8321
  default: () => [m(T, {
8322
- callback: !f && !g && c,
8322
+ callback: !h && !g && c,
8323
8323
  childrenRefs: O
8324
8324
  }, {
8325
8325
  default: () => [m("div", {
@@ -8351,11 +8351,11 @@ const yd = (e) => (t) => U(t) && t.type === e, tN = {
8351
8351
  dn(i, C(() => !!(e.isOpen && !e.preventAutoClose)));
8352
8352
  const l = C(() => e.isOpen && r.value || !1);
8353
8353
  Lr(l, C(() => {
8354
- const f = s.value?.$el ?? s.value;
8355
- return e.focusElement || f || r.value;
8354
+ const h = s.value?.$el ?? s.value;
8355
+ return e.focusElement || h || r.value;
8356
8356
  })), Rr(C(() => !0), C(() => {
8357
8357
  }), C(() => e.parentElement), r, C(() => !!e.isOpen)), tu(C(() => !!e.isOpen));
8358
- const c = eu(C(() => !!e.isOpen), gc), u = C(() => e.isOpen || c.value), d = C(() => [r]), h = $r(ln);
8358
+ const c = eu(C(() => !!e.isOpen), gc), u = C(() => e.isOpen || c.value), d = C(() => [r]), f = $r(ln);
8359
8359
  return () => u.value ? uN({
8360
8360
  ...a,
8361
8361
  ClickAwayProvider: Nr,
@@ -8369,7 +8369,7 @@ const yd = (e) => (t) => U(t) && t.type === e, tN = {
8369
8369
  closeButtonRef: s,
8370
8370
  isOpen: e.isOpen,
8371
8371
  isVisible: c.value,
8372
- labelId: h.value,
8372
+ labelId: f.value,
8373
8373
  handleClose: i,
8374
8374
  preventAutoClose: e.preventAutoClose,
8375
8375
  preventCloseOnClick: e.preventCloseOnClick,
@@ -8477,8 +8477,8 @@ const yd = (e) => (t) => U(t) && t.type === e, tN = {
8477
8477
  handleOpen: c,
8478
8478
  handleToggleOpen: u,
8479
8479
  theme: d,
8480
- toggleButtonProps: h,
8481
- headerProps: f,
8480
+ toggleButtonProps: f,
8481
+ headerProps: h,
8482
8482
  headerContent: g,
8483
8483
  dragHandle: p,
8484
8484
  wrapperRef: b,
@@ -8493,7 +8493,7 @@ const yd = (e) => (t) => U(t) && t.type === e, tN = {
8493
8493
  c && S && c(_), l && !S && l(_), u && u(S, _);
8494
8494
  }, O = d === me.dark ? Y.light : Y.dark, E = $(t, ON({
8495
8495
  "has-background": a,
8496
- "has-header": !Xt(f.children),
8496
+ "has-header": !Xt(h.children),
8497
8497
  "has-header-divider": r,
8498
8498
  "is-close": !s,
8499
8499
  "is-draggable": !!p,
@@ -8509,11 +8509,11 @@ const yd = (e) => (t) => U(t) && t.type === e, tN = {
8509
8509
  onClick: x
8510
8510
  }, [p && m("div", {
8511
8511
  className: _e("header-drag")
8512
- }, [p]), m("div", N(f, {
8512
+ }, [p]), m("div", N(h, {
8513
8513
  className: _e("header-content")
8514
8514
  }), [g]), m("div", {
8515
8515
  className: _e("header-toggle")
8516
- }, [m(A, N(h, {
8516
+ }, [m(A, N(f, {
8517
8517
  color: O,
8518
8518
  emphasis: ye.low,
8519
8519
  icon: s ? Cc : Sc,
@@ -8538,30 +8538,30 @@ const yd = (e) => (t) => U(t) && t.type === e, tN = {
8538
8538
  slots: n
8539
8539
  }) => {
8540
8540
  const a = B(), o = K(), r = R(() => e.class), s = D(null), i = D(e.isOpen), l = D(e.isOpen);
8541
- X(() => e.isOpen, (f) => {
8542
- l.value = f, f || e.closeMode === "hide" ? i.value = !0 : is || (i.value = !1);
8541
+ X(() => e.isOpen, (h) => {
8542
+ l.value = h, h || e.closeMode === "hide" ? i.value = !0 : is || (i.value = !1);
8543
8543
  }, {
8544
8544
  immediate: !0
8545
8545
  });
8546
8546
  let c;
8547
8547
  Ze(() => {
8548
8548
  if (!is || !s.value) return;
8549
- const f = () => {
8549
+ const h = () => {
8550
8550
  i.value = l.value || e.closeMode === "hide";
8551
8551
  };
8552
- s.value.addEventListener("transitionend", f), c = () => s.value?.removeEventListener("transitionend", f);
8552
+ s.value.addEventListener("transitionend", h), c = () => s.value?.removeEventListener("transitionend", h);
8553
8553
  }), Ce(() => {
8554
8554
  c?.();
8555
8555
  });
8556
- const u = (f) => {
8557
- f.stopImmediatePropagation(), t("open", f);
8558
- }, d = (f) => {
8559
- f.stopImmediatePropagation(), t("close", f);
8560
- }, h = (f, g) => {
8561
- g.stopImmediatePropagation(), t("toggleOpen", f, g);
8556
+ const u = (h) => {
8557
+ h.stopImmediatePropagation(), t("open", h);
8558
+ }, d = (h) => {
8559
+ h.stopImmediatePropagation(), t("close", h);
8560
+ }, f = (h, g) => {
8561
+ g.stopImmediatePropagation(), t("toggleOpen", h, g);
8562
8562
  };
8563
8563
  return () => {
8564
- const f = n.header?.(), g = f || m("span", {
8564
+ const h = n.header?.(), g = h || m("span", {
8565
8565
  class: _e("label")
8566
8566
  }, [e.label]);
8567
8567
  return m(CN, N(a, {
@@ -8577,7 +8577,7 @@ const yd = (e) => (t) => U(t) && t.type === e, tN = {
8577
8577
  },
8578
8578
  handleOpen: u,
8579
8579
  handleClose: d,
8580
- handleToggleOpen: h,
8580
+ handleToggleOpen: f,
8581
8581
  headerProps: {},
8582
8582
  headerContent: g,
8583
8583
  dragHandle: n["drag-handle"]?.(),
@@ -8848,7 +8848,7 @@ const $C = /* @__PURE__ */ I((e) => {
8848
8848
  ref: l,
8849
8849
  href: c,
8850
8850
  ...u
8851
- } = e, [d, h] = wr(a, o);
8851
+ } = e, [d, f] = wr(a, o);
8852
8852
  return tt({
8853
8853
  ref: l,
8854
8854
  as: s || (c ? "a" : "button"),
@@ -8858,7 +8858,7 @@ const $C = /* @__PURE__ */ I((e) => {
8858
8858
  children: t,
8859
8859
  className: $(n, WN({
8860
8860
  [`color-${d}`]: !!d,
8861
- [`color-variant-${h}`]: !!h,
8861
+ [`color-variant-${f}`]: !!f,
8862
8862
  "has-typography": !!r
8863
8863
  }), r && on(r))
8864
8864
  });
@@ -8922,8 +8922,8 @@ const YN = "LinkPreview", XN = "lumx-link-preview", {
8922
8922
  ref: c,
8923
8923
  title: u,
8924
8924
  TitleHeading: d,
8925
- Link: h,
8926
- Thumbnail: f,
8925
+ Link: f,
8926
+ Thumbnail: h,
8927
8927
  ...g
8928
8928
  } = e, p = s === V.big && l ? V.big : V.regular;
8929
8929
  return m("article", N({
@@ -8937,7 +8937,7 @@ const YN = "LinkPreview", XN = "lumx-link-preview", {
8937
8937
  className: Ke("wrapper")
8938
8938
  }, [l && m("div", {
8939
8939
  className: Ke("thumbnail")
8940
- }, [m(f, N(l, {
8940
+ }, [m(h, N(l, {
8941
8941
  linkAs: o,
8942
8942
  linkProps: {
8943
8943
  ...r,
@@ -8953,7 +8953,7 @@ const YN = "LinkPreview", XN = "lumx-link-preview", {
8953
8953
  }, [u && m(d, {
8954
8954
  className: Ke("title")
8955
8955
  }, {
8956
- default: () => [m(h, N(r, {
8956
+ default: () => [m(f, N(r, {
8957
8957
  linkAs: o,
8958
8958
  target: "_blank",
8959
8959
  href: a,
@@ -8966,7 +8966,7 @@ const YN = "LinkPreview", XN = "lumx-link-preview", {
8966
8966
  className: Ke("description")
8967
8967
  }, [n]), m("div", {
8968
8968
  className: Ke("link")
8969
- }, [m(h, N(r, {
8969
+ }, [m(f, N(r, {
8970
8970
  linkAs: o,
8971
8971
  className: $(Ke("link"), r?.className),
8972
8972
  target: "_blank",
@@ -9070,13 +9070,13 @@ const RC = /* @__PURE__ */ I((e, {
9070
9070
  icon: e.icon,
9071
9071
  size: "xs",
9072
9072
  color: e.color
9073
- }, null), l]) : l, h = e.afterIcon ? m(ne, null, [u, m(He, {
9073
+ }, null), l]) : l, f = e.afterIcon ? m(ne, null, [u, m(He, {
9074
9074
  icon: e.afterIcon,
9075
9075
  size: "xs",
9076
9076
  color: e.color
9077
9077
  }, null)]) : u;
9078
- let f, g;
9079
- return c && (f = {
9078
+ let h, g;
9079
+ return c && (h = {
9080
9080
  ...c.props,
9081
9081
  onClick: i,
9082
9082
  as: c.type
@@ -9089,8 +9089,8 @@ const RC = /* @__PURE__ */ I((e, {
9089
9089
  handleClick: i,
9090
9090
  // Slots
9091
9091
  before: d,
9092
- actionProps: f,
9093
- after: h,
9092
+ actionProps: h,
9093
+ after: f,
9094
9094
  children: m(pe, {
9095
9095
  as: "span",
9096
9096
  color: e.color
@@ -9126,12 +9126,12 @@ const sA = {
9126
9126
  variant: u
9127
9127
  } = e, d = {};
9128
9128
  u === "chip" && (d.isClickable = !0);
9129
- let h;
9130
- return u === "icon-button" ? (d.label = r, i?.icon || (d.icon = vf)) : h = r, m(t, {
9129
+ let f;
9130
+ return u === "icon-button" ? (d.label = r, i?.icon || (d.icon = vf)) : f = r, m(t, {
9131
9131
  onOpen: c
9132
9132
  }, {
9133
- default: () => [m(n, N(i, d), ec(h) ? h : {
9134
- default: () => [h]
9133
+ default: () => [m(n, N(i, d), ec(f) ? f : {
9134
+ default: () => [f]
9135
9135
  }), m(a, l, {
9136
9136
  default: () => [m(o, null, ec(s) ? s : {
9137
9137
  default: () => [s]
@@ -9164,10 +9164,10 @@ function hA(e = {}) {
9164
9164
  ), d = {
9165
9165
  open: /* @__PURE__ */ new Set()
9166
9166
  };
9167
- function h(p, b) {
9167
+ function f(p, b) {
9168
9168
  d[p].forEach((v) => v(b));
9169
9169
  }
9170
- function f(p) {
9170
+ function h(p) {
9171
9171
  o || c.setOpen(!0), l?.goTo(p);
9172
9172
  }
9173
9173
  function g(p, b) {
@@ -9179,7 +9179,7 @@ function hA(e = {}) {
9179
9179
  return n;
9180
9180
  },
9181
9181
  setOpen(p) {
9182
- o !== p && (o = p, n && n.setAttribute("aria-expanded", String(p)), h("open", p));
9182
+ o !== p && (o = p, n && n.setAttribute("aria-expanded", String(p)), f("open", p));
9183
9183
  },
9184
9184
  registerTrigger(p) {
9185
9185
  n && n !== p && (s?.abort(), s = null), n = p, s = new AbortController();
@@ -9187,7 +9187,7 @@ function hA(e = {}) {
9187
9187
  n.setAttribute("aria-haspopup", "true"), n.setAttribute("aria-expanded", String(o)), t && n.setAttribute("aria-controls", t), n.addEventListener(
9188
9188
  "click",
9189
9189
  () => {
9190
- o ? c.setOpen(!1) : f((y) => y.getFirst());
9190
+ o ? c.setOpen(!1) : h((y) => y.getFirst());
9191
9191
  },
9192
9192
  { signal: b }
9193
9193
  );
@@ -9197,10 +9197,10 @@ function hA(e = {}) {
9197
9197
  (y) => {
9198
9198
  switch (y.key) {
9199
9199
  case "ArrowDown":
9200
- y.preventDefault(), y.stopPropagation(), f((A) => A.getFirst());
9200
+ y.preventDefault(), y.stopPropagation(), h((A) => A.getFirst());
9201
9201
  break;
9202
9202
  case "ArrowUp":
9203
- y.preventDefault(), y.stopPropagation(), f((A) => A.getLast());
9203
+ y.preventDefault(), y.stopPropagation(), h((A) => A.getLast());
9204
9204
  break;
9205
9205
  case "Enter":
9206
9206
  case " ":
@@ -9382,20 +9382,20 @@ const NA = /* @__PURE__ */ I((e, {
9382
9382
  const d = c.value?.$el ?? c.value;
9383
9383
  if (!d) return;
9384
9384
  r.value = d;
9385
- const h = s.registerTrigger(d);
9386
- u(() => h());
9385
+ const f = s.registerTrigger(d);
9386
+ u(() => f());
9387
9387
  }), () => {
9388
9388
  const {
9389
9389
  as: u,
9390
9390
  ...d
9391
9391
  } = n;
9392
- let h = Mt;
9393
- return t.trigger ? h = (f) => t.trigger({
9392
+ let f = Mt;
9393
+ return t.trigger ? f = (h) => t.trigger({
9394
9394
  triggerProps: {
9395
- ...f,
9395
+ ...h,
9396
9396
  ref: c
9397
9397
  }
9398
- }) : u && (h = u), bA({
9398
+ }) : u && (f = u), bA({
9399
9399
  ...d,
9400
9400
  id: o,
9401
9401
  ref: t.trigger ? void 0 : c,
@@ -9404,7 +9404,7 @@ const NA = /* @__PURE__ */ I((e, {
9404
9404
  isOpen: i.value,
9405
9405
  children: t.default?.()
9406
9406
  }, {
9407
- Trigger: h
9407
+ Trigger: f
9408
9408
  });
9409
9409
  };
9410
9410
  }, {
@@ -9588,8 +9588,8 @@ const OA = "MenuPopover", PA = "lumx-menu-popover", {
9588
9588
  icon: u
9589
9589
  } = $A[o] || {}, {
9590
9590
  onClick: d,
9591
- label: h
9592
- } = s || {}, f = a && o === "info" && d && h;
9591
+ label: f
9592
+ } = s || {}, h = a && o === "info" && d && f;
9593
9593
  return m("div", N(l, {
9594
9594
  ref: i,
9595
9595
  className: $(n, MA({
@@ -9603,11 +9603,11 @@ const OA = "MenuPopover", PA = "lumx-menu-popover", {
9603
9603
  color: c
9604
9604
  }), m("div", {
9605
9605
  className: Xo("text")
9606
- }, [t]), f && Lt({
9606
+ }, [t]), h && Lt({
9607
9607
  className: Xo("close-button"),
9608
9608
  icon: Pr,
9609
9609
  handleClick: d,
9610
- label: h,
9610
+ label: f,
9611
9611
  emphasis: ye.low
9612
9612
  })]);
9613
9613
  };
@@ -9692,20 +9692,20 @@ const BA = /* @__PURE__ */ $e(DA), FA = "Mosaic", qA = "lumx-mosaic", {
9692
9692
  }, [BA(a, 4).map((c, u) => {
9693
9693
  const {
9694
9694
  image: d,
9695
- onClick: h,
9696
- align: f,
9695
+ onClick: f,
9696
+ align: h,
9697
9697
  ...g
9698
9698
  } = c;
9699
9699
  return m("div", {
9700
9700
  key: u,
9701
9701
  className: Qo("thumbnail")
9702
9702
  }, [m(r, N(g, {
9703
- align: f || Cr.left,
9703
+ align: h || Cr.left,
9704
9704
  image: d,
9705
9705
  theme: n,
9706
9706
  aspectRatio: mt.free,
9707
9707
  fillHeight: !0,
9708
- onClick: l()?.(u, h) || h
9708
+ onClick: l()?.(u, f) || f
9709
9709
  }), null), a.length > 4 && u === 3 && m("div", {
9710
9710
  className: Qo("overlay")
9711
9711
  }, [m("span", null, [Oc("+"), a.length - 4])])]);
@@ -9774,12 +9774,12 @@ const BA = /* @__PURE__ */ $e(DA), FA = "Mosaic", qA = "lumx-mosaic", {
9774
9774
  const {
9775
9775
  label: u,
9776
9776
  class: d,
9777
- ...h
9777
+ ...f
9778
9778
  } = e, {
9779
- ariaLabel: f,
9779
+ ariaLabel: h,
9780
9780
  ariaLabelledby: g,
9781
9781
  ...p
9782
- } = h;
9782
+ } = f;
9783
9783
  return m(An, N(p, N(a, {
9784
9784
  role: "dialog",
9785
9785
  "aria-modal": "true",
@@ -9868,13 +9868,13 @@ const BA = /* @__PURE__ */ $e(DA), FA = "Mosaic", qA = "lumx-mosaic", {
9868
9868
  ref: c,
9869
9869
  handleChange: u,
9870
9870
  theme: d,
9871
- value: h,
9872
- inputProps: f = {},
9871
+ value: f,
9872
+ inputProps: h = {},
9873
9873
  isDisabled: g,
9874
9874
  inputId: p,
9875
9875
  ...b
9876
9876
  } = e, v = (y) => {
9877
- u && u(h, l, y);
9877
+ u && u(f, l, y);
9878
9878
  };
9879
9879
  return m("div", N({
9880
9880
  ref: c
@@ -9893,13 +9893,13 @@ const BA = /* @__PURE__ */ $e(DA), FA = "Mosaic", qA = "lumx-mosaic", {
9893
9893
  id: p,
9894
9894
  type: "radio",
9895
9895
  name: l,
9896
- value: h,
9896
+ value: f,
9897
9897
  checked: s,
9898
9898
  onChange: v,
9899
9899
  "aria-describedby": a ? `${p}-helper` : void 0
9900
- }, f?.readOnly ? {
9901
- readOnly: f.readOnly
9902
- } : {}, f), null), m("div", {
9900
+ }, h?.readOnly ? {
9901
+ readOnly: h.readOnly
9902
+ } : {}, h), null), m("div", {
9903
9903
  className: De("input-placeholder")
9904
9904
  }, [m("div", {
9905
9905
  className: De("input-background")
@@ -9930,8 +9930,8 @@ const BA = /* @__PURE__ */ $e(DA), FA = "Mosaic", qA = "lumx-mosaic", {
9930
9930
  } = ae(C(() => ({
9931
9931
  ...e,
9932
9932
  ...n
9933
- }))), u = (d, h, f) => {
9934
- i.value || t("change", d, h, f);
9933
+ }))), u = (d, f, h) => {
9934
+ i.value || t("change", d, f, h);
9935
9935
  };
9936
9936
  return () => m(eO, N(c.value, {
9937
9937
  className: o.value,
@@ -10083,14 +10083,14 @@ const zC = /* @__PURE__ */ I((e, {
10083
10083
  ref: c,
10084
10084
  handleChange: u,
10085
10085
  theme: d,
10086
- value: h,
10087
- inputProps: f = {},
10086
+ value: f,
10087
+ inputProps: h = {},
10088
10088
  isDisabled: g,
10089
10089
  inputId: p,
10090
10090
  position: b = vO.position,
10091
10091
  ...v
10092
10092
  } = e, y = (A) => {
10093
- u && u(!s, h, l, A);
10093
+ u && u(!s, f, l, A);
10094
10094
  };
10095
10095
  return m("div", N({
10096
10096
  ref: c
@@ -10111,14 +10111,14 @@ const zC = /* @__PURE__ */ I((e, {
10111
10111
  id: p,
10112
10112
  className: Be("input-native"),
10113
10113
  name: l,
10114
- value: h,
10114
+ value: f,
10115
10115
  checked: !!s,
10116
10116
  onChange: y,
10117
10117
  "aria-describedby": a ? `${p}-helper` : void 0,
10118
10118
  "aria-checked": !!s
10119
- }, f?.readOnly ? {
10120
- readOnly: f.readOnly
10121
- } : {}, f), null), m("div", {
10119
+ }, h?.readOnly ? {
10120
+ readOnly: h.readOnly
10121
+ } : {}, h), null), m("div", {
10122
10122
  className: Be("input-placeholder")
10123
10123
  }, [m("div", {
10124
10124
  className: Be("input-background")
@@ -10150,8 +10150,8 @@ const zC = /* @__PURE__ */ I((e, {
10150
10150
  } = ae(C(() => ({
10151
10151
  ...e,
10152
10152
  ...a
10153
- }))), d = (h, f, g, p) => {
10154
- l.value || t("change", h, f, g, p);
10153
+ }))), d = (f, h, g, p) => {
10154
+ l.value || t("change", f, h, g, p);
10155
10155
  };
10156
10156
  return () => m(bO, N(u.value, {
10157
10157
  className: r.value,
@@ -10196,8 +10196,8 @@ const zC = /* @__PURE__ */ I((e, {
10196
10196
  fileInputProps: c,
10197
10197
  inputId: u,
10198
10198
  isDragHovering: d,
10199
- handleClick: h,
10200
- handleChange: f,
10199
+ handleClick: f,
10200
+ handleChange: h,
10201
10201
  Component: g = "label",
10202
10202
  ref: p,
10203
10203
  ...b
@@ -10205,7 +10205,7 @@ const zC = /* @__PURE__ */ I((e, {
10205
10205
  return m(g, N({
10206
10206
  ref: p
10207
10207
  }, b, {
10208
- onClick: h,
10208
+ onClick: f,
10209
10209
  className: $(n, OO({
10210
10210
  [`aspect-ratio-${v}`]: !!v,
10211
10211
  [`size-${r}`]: !!r,
@@ -10230,7 +10230,7 @@ const zC = /* @__PURE__ */ I((e, {
10230
10230
  id: u,
10231
10231
  className: $(At("input"), rn())
10232
10232
  }, c, {
10233
- onChange: f
10233
+ onChange: h
10234
10234
  }), null)]
10235
10235
  });
10236
10236
  }, CO = {
@@ -10246,20 +10246,20 @@ const zC = /* @__PURE__ */ I((e, {
10246
10246
  } = ae(C(() => ({
10247
10247
  ...e,
10248
10248
  ...n
10249
- }))), d = (f) => {
10249
+ }))), d = (h) => {
10250
10250
  if (l.value) {
10251
- f.preventDefault();
10251
+ h.preventDefault();
10252
10252
  return;
10253
10253
  }
10254
- f.stopImmediatePropagation(), n.onClick?.(f);
10255
- }, h = (f) => {
10254
+ h.stopImmediatePropagation(), n.onClick?.(h);
10255
+ }, f = (h) => {
10256
10256
  if (l.value) return;
10257
- f.stopImmediatePropagation();
10258
- const g = f.target, p = g.files ? Array.from(g.files) : [];
10259
- t("change", p, f);
10257
+ h.stopImmediatePropagation();
10258
+ const g = h.target, p = g.files ? Array.from(g.files) : [];
10259
+ t("change", p, h);
10260
10260
  };
10261
10261
  return () => {
10262
- const f = !!e.fileInputProps, {
10262
+ const h = !!e.fileInputProps, {
10263
10263
  onClick: g,
10264
10264
  fileInputProps: p,
10265
10265
  class: b,
@@ -10273,8 +10273,8 @@ const zC = /* @__PURE__ */ I((e, {
10273
10273
  isAnyDisabled: l.value,
10274
10274
  isDragHovering: i.value,
10275
10275
  handleClick: d,
10276
- handleChange: h,
10277
- Component: f ? "label" : "button",
10276
+ handleChange: f,
10277
+ Component: h ? "label" : "button",
10278
10278
  fileInputProps: {
10279
10279
  ...e.fileInputProps,
10280
10280
  ...c.value,
@@ -10289,7 +10289,7 @@ const zC = /* @__PURE__ */ I((e, {
10289
10289
  i.value = !0;
10290
10290
  }
10291
10291
  }
10292
- }, f ? {
10292
+ }, h ? {
10293
10293
  htmlFor: s.value
10294
10294
  } : {
10295
10295
  type: "button",
@@ -10323,8 +10323,8 @@ const zC = /* @__PURE__ */ I((e, {
10323
10323
  fillHeight: c,
10324
10324
  image: u,
10325
10325
  size: d,
10326
- tags: h,
10327
- ref: f,
10326
+ tags: f,
10327
+ ref: h,
10328
10328
  theme: g,
10329
10329
  thumbnailProps: p,
10330
10330
  title: b,
@@ -10334,7 +10334,7 @@ const zC = /* @__PURE__ */ I((e, {
10334
10334
  ...P
10335
10335
  } = e;
10336
10336
  return m("figure", N({
10337
- ref: f
10337
+ ref: h
10338
10338
  }, P, {
10339
10339
  className: $(s, xO({
10340
10340
  [`caption-position-${o}`]: !!o,
@@ -10359,7 +10359,7 @@ const zC = /* @__PURE__ */ I((e, {
10359
10359
  titleProps: v,
10360
10360
  description: i,
10361
10361
  descriptionProps: l,
10362
- tags: h,
10362
+ tags: f,
10363
10363
  captionStyle: r,
10364
10364
  align: n,
10365
10365
  truncate: o === "over"
@@ -10383,8 +10383,8 @@ const _O = (e) => {
10383
10383
  captionStyle: c,
10384
10384
  align: u,
10385
10385
  truncate: d,
10386
- FlexBox: h,
10387
- Text: f,
10386
+ FlexBox: f,
10387
+ Text: h,
10388
10388
  wrapperProps: g = {
10389
10389
  vAlign: u,
10390
10390
  hAlign: u === "center" ? u : void 0
@@ -10397,37 +10397,37 @@ const _O = (e) => {
10397
10397
  color: n === "dark" ? "light" : "dark",
10398
10398
  colorVariant: "L2"
10399
10399
  };
10400
- return m(h, N({
10400
+ return m(f, N({
10401
10401
  as: a,
10402
10402
  className: $(t && `${t}__wrapper`),
10403
10403
  style: c,
10404
10404
  orientation: "vertical",
10405
10405
  gap: "regular"
10406
10406
  }, g), {
10407
- default: () => [(o || s) && m(f, N({
10407
+ default: () => [(o || s) && m(h, N({
10408
10408
  as: "p",
10409
10409
  className: $(t && `${t}__caption`),
10410
10410
  truncate: d
10411
10411
  }, b), {
10412
- default: () => [o && m(f, N(r, {
10412
+ default: () => [o && m(h, N(r, {
10413
10413
  as: "span",
10414
10414
  className: $(r?.className, t && `${t}__title`),
10415
10415
  typography: "subtitle1"
10416
10416
  }, p), tr(o) ? o : {
10417
10417
  default: () => [o]
10418
- }), " ", s && (typeof s == "object" && "__html" in s ? m(f, N(i, {
10418
+ }), " ", s && (typeof s == "object" && "__html" in s ? m(h, N(i, {
10419
10419
  as: "span",
10420
10420
  className: $(i?.className, t && `${t}__description`),
10421
10421
  typography: "body1",
10422
10422
  dangerouslySetInnerHTML: s
10423
- }), null) : m(f, N(i, {
10423
+ }), null) : m(h, N(i, {
10424
10424
  as: "span",
10425
10425
  className: $(i?.className, t && `${t}__description`),
10426
10426
  typography: "body1"
10427
10427
  }), tr(s) ? s : {
10428
10428
  default: () => [s]
10429
10429
  }))]
10430
- }), l && lf(m(h, {
10430
+ }), l && lf(m(f, {
10431
10431
  className: $(t && `${t}__tags`),
10432
10432
  orientation: "horizontal"
10433
10433
  }, tr(l) ? l : {
@@ -10617,8 +10617,8 @@ const XC = /* @__PURE__ */ I((e, {
10617
10617
  type: "button",
10618
10618
  onClick: r
10619
10619
  } : void 0;
10620
- let h;
10621
- return o && (h = "none", i === Wt.asc && (h = "ascending"), i === Wt.desc && (h = "descending")), m(ne, null, [l === hr.head && m("th", N({
10620
+ let f;
10621
+ return o && (f = "none", i === Wt.asc && (f = "ascending"), i === Wt.desc && (f = "descending")), m(ne, null, [l === hr.head && m("th", N({
10622
10622
  ref: s
10623
10623
  }, c, {
10624
10624
  className: $(n, ic({
@@ -10626,7 +10626,7 @@ const XC = /* @__PURE__ */ I((e, {
10626
10626
  "is-sorted": o && !!i,
10627
10627
  head: !0
10628
10628
  })),
10629
- "aria-sort": h
10629
+ "aria-sort": f
10630
10630
  }), [m(u, N({
10631
10631
  className: `${Ye}-wrapper`
10632
10632
  }, d), {
@@ -10762,8 +10762,8 @@ const JO = "Tab", QO = `${qd}__link`, {
10762
10762
  role: c,
10763
10763
  label: u,
10764
10764
  handleFocus: d,
10765
- handleKeyPress: h,
10766
- tabIndex: f = -1,
10765
+ handleKeyPress: f,
10766
+ tabIndex: h = -1,
10767
10767
  tabIndexProp: g = "tabIndex",
10768
10768
  keyPressProp: p = "onKeyPress",
10769
10769
  changeToTab: b,
@@ -10781,7 +10781,7 @@ const JO = "Tab", QO = `${qd}__link`, {
10781
10781
  }, E = (S) => {
10782
10782
  d?.(S), y && O();
10783
10783
  }, _ = (S) => {
10784
- h?.(S), !(S.key !== "Enter" || r) && O();
10784
+ f?.(S), !(S.key !== "Enter" || r) && O();
10785
10785
  };
10786
10786
  x = {
10787
10787
  ...T,
@@ -10792,7 +10792,7 @@ const JO = "Tab", QO = `${qd}__link`, {
10792
10792
  "aria-selected": l,
10793
10793
  "aria-controls": v,
10794
10794
  [p]: _,
10795
- [g]: l ? 0 : f
10795
+ [g]: l ? 0 : h
10796
10796
  };
10797
10797
  } else {
10798
10798
  const {
@@ -10892,21 +10892,21 @@ const JO = "Tab", QO = `${qd}__link`, {
10892
10892
  tabId: u,
10893
10893
  ...d
10894
10894
  } = s.value || {};
10895
- let h = {
10895
+ let f = {
10896
10896
  className: o.value
10897
10897
  };
10898
- const f = n.action?.(), g = Array.isArray(f) ? f[0] : f;
10898
+ const h = n.action?.(), g = Array.isArray(h) ? h[0] : h;
10899
10899
  if (g) {
10900
10900
  const {
10901
10901
  class: p,
10902
10902
  ...b
10903
10903
  } = g.props || {};
10904
- Object.assign(h, b), h = b, h.as = g.type, h.className = fe.join(h.className, p);
10904
+ Object.assign(f, b), f = b, f.as = g.type, f.className = fe.join(f.className, p);
10905
10905
  }
10906
10906
  return tP({
10907
10907
  ...a,
10908
10908
  ...d,
10909
- ...h,
10909
+ ...f,
10910
10910
  // role=tab driven by presence of the TabProvider
10911
10911
  role: s.value ? "tab" : void 0,
10912
10912
  id: u || e.id,
@@ -11127,8 +11127,8 @@ const yP = "UserBlock", NP = "lumx-user-block", {
11127
11127
  mouseLeaveProp: c = "onMouseLeave",
11128
11128
  name: u,
11129
11129
  nameProps: d,
11130
- handleClick: h,
11131
- handleMouseEnter: f,
11130
+ handleClick: f,
11131
+ handleMouseEnter: h,
11132
11132
  handleMouseLeave: g,
11133
11133
  orientation: p = dc.orientation,
11134
11134
  simpleAction: b,
@@ -11144,7 +11144,7 @@ const yP = "UserBlock", NP = "lumx-user-block", {
11144
11144
  let E = v;
11145
11145
  p === ft.vertical && (E = V.l);
11146
11146
  const _ = p === ft.vertical, S = mr({
11147
- handleClick: h,
11147
+ handleClick: f,
11148
11148
  linkAs: r,
11149
11149
  linkProps: o
11150
11150
  }), F = E !== V.s && E !== V.xs, H = a && F && m("p", {
@@ -11156,8 +11156,8 @@ const yP = "UserBlock", NP = "lumx-user-block", {
11156
11156
  }, bP(k) ? k : {
11157
11157
  default: () => [k]
11158
11158
  }))]), z = {
11159
- ...f && {
11160
- [l]: f
11159
+ ...h && {
11160
+ [l]: h
11161
11161
  },
11162
11162
  ...g && {
11163
11163
  [c]: g
@@ -11179,7 +11179,7 @@ const yP = "UserBlock", NP = "lumx-user-block", {
11179
11179
  }, t, {
11180
11180
  className: $(Fe("avatar"), t.className),
11181
11181
  size: E,
11182
- onClick: h,
11182
+ onClick: f,
11183
11183
  theme: y
11184
11184
  }), null), (a || u || A || P) && m("div", {
11185
11185
  className: Fe("wrapper")
@@ -11208,7 +11208,7 @@ const CP = {
11208
11208
  t("mouseenter");
11209
11209
  }, l = () => {
11210
11210
  t("mouseleave");
11211
- }, c = se("onClick"), u = se("onMouseenter"), d = se("onMouseleave"), h = C(() => {
11211
+ }, c = se("onClick"), u = se("onMouseenter"), d = se("onMouseleave"), f = C(() => {
11212
11212
  const g = e.name || n.name?.();
11213
11213
  if (Xt(g))
11214
11214
  return null;
@@ -11234,7 +11234,7 @@ const CP = {
11234
11234
  default: () => [g]
11235
11235
  })]
11236
11236
  });
11237
- }), f = C(() => {
11237
+ }), h = C(() => {
11238
11238
  if (!e.avatarProps) return;
11239
11239
  if (mr({
11240
11240
  linkAs: e.linkAs,
@@ -11253,7 +11253,7 @@ const CP = {
11253
11253
  linkAs: g,
11254
11254
  fields: p,
11255
11255
  ...b
11256
- } = e, v = n.default?.() || h.value;
11256
+ } = e, v = n.default?.() || f.value;
11257
11257
  return m(OP, N(b, a, {
11258
11258
  linkAs: Je(g),
11259
11259
  className: r.value,
@@ -11261,7 +11261,7 @@ const CP = {
11261
11261
  handleClick: c ? s : void 0,
11262
11262
  handleMouseEnter: u ? i : void 0,
11263
11263
  handleMouseLeave: d ? l : void 0,
11264
- avatarProps: f.value,
11264
+ avatarProps: h.value,
11265
11265
  fields: p || n.fields?.(),
11266
11266
  simpleAction: n["simple-action"]?.() || n.simpleAction?.(),
11267
11267
  multipleActions: n["multiple-actions"]?.() || n.multipleActions?.(),
@@ -11327,12 +11327,12 @@ function ns(e, t) {
11327
11327
  Combobox: u
11328
11328
  } = t;
11329
11329
  if (l && n) {
11330
- const h = Mf(n, (f) => ie(l, f));
11331
- return Array.from(h.entries()).map(([f, g]) => {
11330
+ const f = Mf(n, (h) => ie(l, h));
11331
+ return Array.from(f.entries()).map(([h, g]) => {
11332
11332
  let p;
11333
- const b = c ? c(f, g) : f;
11333
+ const b = c ? c(h, g) : h;
11334
11334
  return m(u.Section, {
11335
- key: f,
11335
+ key: h,
11336
11336
  label: b
11337
11337
  }, fc(p = ns({
11338
11338
  options: g,
@@ -11347,11 +11347,11 @@ function ns(e, t) {
11347
11347
  });
11348
11348
  });
11349
11349
  }
11350
- const d = i ? new Set((Array.isArray(i) ? i : [i]).map((h) => ie(a, h))) : void 0;
11351
- return n?.map((h, f) => {
11352
- const g = ie(a || o, h), p = ie(o || a, h) || g, b = r && ie(r, h), v = d?.has(g) ?? !1;
11353
- return s ? s(h, {
11354
- index: f,
11350
+ const d = i ? new Set((Array.isArray(i) ? i : [i]).map((f) => ie(a, f))) : void 0;
11351
+ return n?.map((f, h) => {
11352
+ const g = ie(a || o, f), p = ie(o || a, f) || g, b = r && ie(r, f), v = d?.has(g) ?? !1;
11353
+ return s ? s(f, {
11354
+ index: h,
11355
11355
  value: g,
11356
11356
  name: p,
11357
11357
  isSelected: v,
@@ -11382,8 +11382,8 @@ const Vd = "SelectButton", wP = "lumx-select-button", xP = {
11382
11382
  renderSectionTitle: c,
11383
11383
  value: u,
11384
11384
  selectionType: d = xP.selectionType,
11385
- label: h,
11386
- labelDisplayMode: f,
11385
+ label: f,
11386
+ labelDisplayMode: h,
11387
11387
  buttonProps: g,
11388
11388
  popoverProps: p,
11389
11389
  listProps: b,
@@ -11398,17 +11398,17 @@ const Vd = "SelectButton", wP = "lumx-select-button", xP = {
11398
11398
  onOpen: P
11399
11399
  }, {
11400
11400
  default: () => [m(t.Button, N(g, {
11401
- label: h,
11401
+ label: f,
11402
11402
  value: F,
11403
11403
  onSelect: v,
11404
- labelDisplayMode: f
11404
+ labelDisplayMode: h
11405
11405
  }), null), m(t.Popover, N({
11406
11406
  fitToAnchorWidth: "minWidth",
11407
11407
  fitWithinViewportHeight: !0,
11408
11408
  placement: "bottom-start"
11409
11409
  }, p), {
11410
11410
  default: () => [m(t.List, N(b, {
11411
- "aria-label": h,
11411
+ "aria-label": f,
11412
11412
  "aria-multiselectable": _ || void 0
11413
11413
  }), {
11414
11414
  default: () => [x ? m(t.OptionSkeleton, {
@@ -11462,11 +11462,11 @@ function Wd(e) {
11462
11462
  index: r
11463
11463
  }) || n?.(a, o), d = Xr(u)?.find(yd(_t));
11464
11464
  if (!d) return u;
11465
- const h = d.props || {}, f = Object.fromEntries(Object.entries(h).filter(([, y]) => y !== void 0)), {
11465
+ const f = d.props || {}, h = Object.fromEntries(Object.entries(f).filter(([, y]) => y !== void 0)), {
11466
11466
  before: g,
11467
11467
  after: p,
11468
11468
  ...b
11469
- } = f, v = {
11469
+ } = h, v = {
11470
11470
  ...d.children
11471
11471
  };
11472
11472
  return g !== void 0 && !v.before && (v.before = () => g), p !== void 0 && !v.after && (v.after = () => p), v.default || (v.default = c), m(_t, N({
@@ -11539,7 +11539,7 @@ const EP = {
11539
11539
  }), d = (g) => {
11540
11540
  const p = Hd(e.options, e.getOptionId, e.value, g?.value, e.selectionType === "multiple");
11541
11541
  t("change", p);
11542
- }, h = se("onLoadMore") || se("onLoad-more"), f = () => t("load-more");
11542
+ }, f = se("onLoadMore") || se("onLoad-more"), h = () => t("load-more");
11543
11543
  return () => {
11544
11544
  const g = e.listStatus ?? "idle";
11545
11545
  return as({
@@ -11568,7 +11568,7 @@ const EP = {
11568
11568
  listStatus: g,
11569
11569
  onOpen: (p) => t("open", p),
11570
11570
  translations: e.translations,
11571
- onLoadMore: h ? f : void 0,
11571
+ onLoadMore: f ? h : void 0,
11572
11572
  infiniteScrollOptions: {
11573
11573
  root: r.value,
11574
11574
  rootMargin: "100px"
@@ -11598,8 +11598,8 @@ const EP = {
11598
11598
  renderSectionTitle: c,
11599
11599
  selected: u,
11600
11600
  label: d,
11601
- isMultiselectable: h,
11602
- inputProps: f,
11601
+ isMultiselectable: f,
11602
+ inputProps: h,
11603
11603
  popoverProps: g,
11604
11604
  listProps: p,
11605
11605
  listStatus: b = "idle",
@@ -11620,7 +11620,7 @@ const EP = {
11620
11620
  }, {
11621
11621
  default: () => [m(t.Input, N({
11622
11622
  label: d
11623
- }, f, {
11623
+ }, h, {
11624
11624
  selectionMode: "keep",
11625
11625
  chips: x
11626
11626
  }), null), m(t.Popover, N({
@@ -11630,7 +11630,7 @@ const EP = {
11630
11630
  }, g), {
11631
11631
  default: () => [m(t.List, N(p, {
11632
11632
  "aria-label": d,
11633
- "aria-multiselectable": h || void 0
11633
+ "aria-multiselectable": f || void 0
11634
11634
  }), {
11635
11635
  default: () => [O, F ? m(t.OptionSkeleton, {
11636
11636
  count: 3
@@ -11699,11 +11699,11 @@ const IP = {
11699
11699
  } = ae(C(() => ({
11700
11700
  ...e,
11701
11701
  ...a
11702
- }))), l = D(!!e.searchInputValue), c = D(e.searchInputValue ?? ""), u = D(null), d = C(() => u.value?.$el?.closest(`.${Yr}__scroll`) ?? null), h = D(null);
11702
+ }))), l = D(!!e.searchInputValue), c = D(e.searchInputValue ?? ""), u = D(null), d = C(() => u.value?.$el?.closest(`.${Yr}__scroll`) ?? null), f = D(null);
11703
11703
  X(() => e.searchInputValue, (T) => {
11704
11704
  T !== void 0 && (c.value = T, l.value = !!T);
11705
11705
  });
11706
- const f = C(() => e.selectionType === "multiple" || l.value ? c.value : zd(e.value, e.getOptionName, e.getOptionId)), g = (T) => {
11706
+ const h = C(() => e.selectionType === "multiple" || l.value ? c.value : zd(e.value, e.getOptionName, e.getOptionId)), g = (T) => {
11707
11707
  const x = Hd(e.options, e.getOptionId, e.value, T.value, e.selectionType === "multiple");
11708
11708
  t("change", x), l.value = !1, c.value = "", t("search", "");
11709
11709
  }, p = (T) => {
@@ -11720,7 +11720,7 @@ const IP = {
11720
11720
  getOptionId: e.getOptionId,
11721
11721
  getOptionName: e.getOptionName,
11722
11722
  onChange: (_) => t("change", _),
11723
- inputRef: h.value,
11723
+ inputRef: f.value,
11724
11724
  isDisabled: s.value,
11725
11725
  label: e.translations.chipGroupLabel ?? e.label,
11726
11726
  chipRemoveLabel: e.translations.chipRemoveLabel
@@ -11749,9 +11749,9 @@ const IP = {
11749
11749
  ...e.inputProps,
11750
11750
  placeholder: e.placeholder,
11751
11751
  icon: e.icon,
11752
- value: f.value,
11752
+ value: h.value,
11753
11753
  inputRef(_) {
11754
- h.value = _;
11754
+ f.value = _;
11755
11755
  },
11756
11756
  onChange: p,
11757
11757
  onSelect: g,
@@ -11827,18 +11827,18 @@ const IP = {
11827
11827
  getOptionId: "name",
11828
11828
  renderOption: ({
11829
11829
  hour: d,
11830
- minute: h,
11831
- outOfRange: f
11830
+ minute: f,
11831
+ outOfRange: h
11832
11832
  }) => {
11833
11833
  const {
11834
11834
  isDisabled: g,
11835
11835
  ...p
11836
11836
  } = c?.({
11837
11837
  hour: d,
11838
- minute: h
11838
+ minute: f
11839
11839
  }) || {};
11840
11840
  return m(n, N({
11841
- isDisabled: f || g
11841
+ isDisabled: h || g
11842
11842
  }, p), null);
11843
11843
  },
11844
11844
  onChange: s,
@@ -11867,8 +11867,8 @@ function DP(e = {}) {
11867
11867
  return [];
11868
11868
  const r = n ? tn(n) : void 0, s = a ? tn(a) : void 0, i = [];
11869
11869
  for (let l = 0; l < RP; l += t) {
11870
- const c = Math.floor(l / gr), u = l % gr, d = r !== void 0 && l < r || s !== void 0 && l > s || void 0, h = o ? pr(Kt({ hour: c, minute: u }), o) : void 0;
11871
- i.push({ hour: c, minute: u, name: h, outOfRange: d });
11870
+ const c = Math.floor(l / gr), u = l % gr, d = r !== void 0 && l < r || s !== void 0 && l > s || void 0, f = o ? pr(Kt({ hour: c, minute: u }), o) : void 0;
11871
+ i.push({ hour: c, minute: u, name: f, outOfRange: d });
11872
11872
  }
11873
11873
  return i;
11874
11874
  }
@@ -11923,41 +11923,41 @@ const VP = () => navigator.languages?.[0] || navigator.language, WP = {
11923
11923
  locale: a.value
11924
11924
  })), i = D(""), l = C(() => {
11925
11925
  const {
11926
- value: h
11926
+ value: f
11927
11927
  } = e;
11928
- if (h)
11928
+ if (f)
11929
11929
  return {
11930
- hour: h.getHours(),
11931
- minute: h.getMinutes(),
11932
- name: pr(h, a.value)
11930
+ hour: f.getHours(),
11931
+ minute: f.getMinutes(),
11932
+ name: pr(f, a.value)
11933
11933
  };
11934
11934
  });
11935
11935
  X(() => [r.value, e.value, o.value, e.minTime, e.maxTime], () => {
11936
11936
  if (r.value !== "enforce" || !e.value) return;
11937
- const h = {
11937
+ const f = {
11938
11938
  hour: e.value.getHours(),
11939
11939
  minute: e.value.getMinutes()
11940
- }, f = pc(h, e.minTime, e.maxTime, o.value);
11941
- (f.hour !== e.value.getHours() || f.minute !== e.value.getMinutes()) && t("change", Kt(f, e.value));
11940
+ }, h = pc(f, e.minTime, e.maxTime, o.value);
11941
+ (h.hour !== e.value.getHours() || h.minute !== e.value.getMinutes()) && t("change", Kt(h, e.value));
11942
11942
  }, {
11943
11943
  immediate: !0
11944
11944
  });
11945
- const c = (h) => {
11946
- const f = h ? Kt(h, e.value) : void 0;
11947
- t("change", f);
11948
- }, u = (h) => {
11949
- h && (i.value = h);
11945
+ const c = (f) => {
11946
+ const h = f ? Kt(f, e.value) : void 0;
11947
+ t("change", h);
11948
+ }, u = (f) => {
11949
+ f && (i.value = f);
11950
11950
  }, d = () => {
11951
- const h = i.value;
11952
- if (i.value = "", !h) return;
11953
- const f = FP(h);
11954
- if (!f) return;
11955
- const g = pc(f, e.minTime, e.maxTime, o.value);
11951
+ const f = i.value;
11952
+ if (i.value = "", !f) return;
11953
+ const h = FP(f);
11954
+ if (!h) return;
11955
+ const g = pc(h, e.minTime, e.maxTime, o.value);
11956
11956
  e.value && zP(e.value, g) || t("change", Kt(g, e.value));
11957
11957
  };
11958
11958
  return () => {
11959
- const h = e.value ? pr(e.value, a.value) : void 0, {
11960
- value: f,
11959
+ const f = e.value ? pr(e.value, a.value) : void 0, {
11960
+ value: h,
11961
11961
  locale: g,
11962
11962
  step: p,
11963
11963
  minTime: b,
@@ -11976,7 +11976,7 @@ const VP = () => navigator.languages?.[0] || navigator.language, WP = {
11976
11976
  handleChange: c,
11977
11977
  handleSearch: u,
11978
11978
  handleBlur: d,
11979
- searchInputValue: h,
11979
+ searchInputValue: f,
11980
11980
  getOptionProps: P
11981
11981
  }, {
11982
11982
  SelectTextField: MP,