fiboui 2.5.0 → 2.6.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.
@@ -2,8 +2,8 @@
2
2
  var kt = Object.defineProperty;
3
3
  var _t = (t, o, e) => o in t ? kt(t, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[o] = e;
4
4
  var c = (t, o, e) => _t(t, typeof o != "symbol" ? o + "" : o, e);
5
- import l, { useCallback as ro, useSyncExternalStore as uo, useRef as U, createContext as yo, useContext as Fo, useEffect as q, useState as G, memo as Fe, cloneElement as St, useMemo as Ct, useLayoutEffect as oe, Component as zt, Suspense as Et } from "react";
6
- import { jsx as O, Fragment as re, jsxs as Po } from "react/jsx-runtime";
5
+ import l, { useCallback as ro, useSyncExternalStore as uo, useRef as U, createContext as yo, useContext as Fo, useEffect as Z, useState as G, memo as Fe, cloneElement as St, useMemo as Ct, useLayoutEffect as oe, Component as zt, Suspense as Et } from "react";
6
+ import { jsx as W, Fragment as re, jsxs as Po } from "react/jsx-runtime";
7
7
  class Re {
8
8
  constructor() {
9
9
  c(this, "activeEffect", null);
@@ -300,7 +300,7 @@ function Ve() {
300
300
  }
301
301
  function Xn({ children: t, scope: o }) {
302
302
  const e = U(o ?? Ae()).current;
303
- return /* @__PURE__ */ O(He.Provider, { value: e, children: t });
303
+ return /* @__PURE__ */ W(He.Provider, { value: e, children: t });
304
304
  }
305
305
  function Wt({ children: t }) {
306
306
  const o = U(0), e = U(/* @__PURE__ */ new Set()), i = U(null);
@@ -310,7 +310,7 @@ function Wt({ children: t }) {
310
310
  const r = ro((a) => (e.current.add(a), () => {
311
311
  e.current.delete(a);
312
312
  }), []), n = ro(() => o.current, []);
313
- uo(r, n, n), q(() => () => {
313
+ uo(r, n, n), Z(() => () => {
314
314
  var a;
315
315
  (a = i.current) == null || a.dispose();
316
316
  }, []);
@@ -321,7 +321,7 @@ function Wt({ children: t }) {
321
321
  } catch {
322
322
  f = null;
323
323
  }
324
- return /* @__PURE__ */ O(re, { children: f });
324
+ return /* @__PURE__ */ W(re, { children: f });
325
325
  }
326
326
  const Ht = yo(/* @__PURE__ */ new Map()), je = yo(null);
327
327
  function Dn(t) {
@@ -343,7 +343,7 @@ function Vt({ stateMap: t = /* @__PURE__ */ new Map(), children: o }) {
343
343
  });
344
344
  }
345
345
  };
346
- return /* @__PURE__ */ O(je.Provider, { value: r, children: /* @__PURE__ */ O(Ht.Provider, { value: e, children: o }) });
346
+ return /* @__PURE__ */ W(je.Provider, { value: r, children: /* @__PURE__ */ W(Ht.Provider, { value: e, children: o }) });
347
347
  }
348
348
  function jt({ observables: t, children: o }) {
349
349
  const e = U(0), i = ro((n) => {
@@ -354,7 +354,7 @@ function jt({ observables: t, children: o }) {
354
354
  );
355
355
  return () => s.forEach((f) => f());
356
356
  }, [t]), r = ro(() => e.current, []);
357
- return uo(i, r, r), /* @__PURE__ */ O(re, { children: typeof o == "function" ? o() : o });
357
+ return uo(i, r, r), /* @__PURE__ */ W(re, { children: typeof o == "function" ? o() : o });
358
358
  }
359
359
  function Xt({ signals: t, children: o }) {
360
360
  const e = U(0), i = ro((n) => {
@@ -365,7 +365,7 @@ function Xt({ signals: t, children: o }) {
365
365
  );
366
366
  return () => s.forEach((f) => f());
367
367
  }, [t]), r = ro(() => e.current, []);
368
- return uo(i, r, r), /* @__PURE__ */ O(re, { children: typeof o == "function" ? o() : o });
368
+ return uo(i, r, r), /* @__PURE__ */ W(re, { children: typeof o == "function" ? o() : o });
369
369
  }
370
370
  const Xe = yo(/* @__PURE__ */ new Map());
371
371
  function Yn(t) {
@@ -373,7 +373,7 @@ function Yn(t) {
373
373
  return o == null ? void 0 : o.get(t);
374
374
  }
375
375
  function Dt({ providers: t = /* @__PURE__ */ new Map(), children: o }) {
376
- return /* @__PURE__ */ O(Xe.Provider, { value: t, children: o });
376
+ return /* @__PURE__ */ W(Xe.Provider, { value: t, children: o });
377
377
  }
378
378
  function De({
379
379
  compute: t,
@@ -383,7 +383,7 @@ function De({
383
383
  ...r
384
384
  }) {
385
385
  const n = Ve(), s = U(null), f = t();
386
- return q(() => Pe(n, () => {
386
+ return Z(() => Pe(n, () => {
387
387
  const a = new Me(() => {
388
388
  const u = t();
389
389
  s.current && s.current.textContent !== u && (s.current.textContent = u);
@@ -441,18 +441,18 @@ const Kt = {
441
441
  };
442
442
  function qn(t, o) {
443
443
  const { duration: e = 300, delay: i = 0, easing: r = Kt.easeOut } = o || {}, [n, s] = G(t), f = U(), a = U(n);
444
- return a.current = n, q(() => {
444
+ return a.current = n, Z(() => {
445
445
  f.current && cancelAnimationFrame(f.current);
446
446
  let u = null;
447
447
  const b = a.current, h = (d) => {
448
448
  u || (u = d);
449
- const p = d - u - i;
450
- if (p < 0) {
449
+ const x = d - u - i;
450
+ if (x < 0) {
451
451
  f.current = requestAnimationFrame(h);
452
452
  return;
453
453
  }
454
- const v = Math.min(p / e, 1), x = r(v), T = b + (t - b) * x;
455
- s(T), v < 1 && (f.current = requestAnimationFrame(h));
454
+ const m = Math.min(x / e, 1), p = r(m), T = b + (t - b) * p;
455
+ s(T), m < 1 && (f.current = requestAnimationFrame(h));
456
456
  };
457
457
  return f.current = requestAnimationFrame(h), () => {
458
458
  f.current && cancelAnimationFrame(f.current);
@@ -461,11 +461,11 @@ function qn(t, o) {
461
461
  }
462
462
  function Zn(t, o) {
463
463
  const { stiffness: e = 170, damping: i = 26, mass: r = 1 } = o || {}, [n, s] = G(t), f = U(0), a = U();
464
- return q(() => {
464
+ return Z(() => {
465
465
  let u = n, b = f.current;
466
466
  const h = () => {
467
- const d = -e * (u - t), p = -i * b, v = (d + p) / r;
468
- b += v * (1 / 60), u += b * (1 / 60), s(u), f.current = b, (Math.abs(b) > 0.01 || Math.abs(u - t) > 0.01) && (a.current = requestAnimationFrame(h));
467
+ const d = -e * (u - t), x = -i * b, m = (d + x) / r;
468
+ b += m * (1 / 60), u += b * (1 / 60), s(u), f.current = b, (Math.abs(b) > 0.01 || Math.abs(u - t) > 0.01) && (a.current = requestAnimationFrame(h));
469
469
  };
470
470
  return a.current = requestAnimationFrame(h), () => {
471
471
  a.current && cancelAnimationFrame(a.current);
@@ -476,7 +476,7 @@ function Jn(t, o = 300) {
476
476
  const [e, i] = G(t), [r, n] = G(
477
477
  t ? "entered" : "exited"
478
478
  );
479
- return q(() => {
479
+ return Z(() => {
480
480
  if (t) {
481
481
  i(!0), n("entering");
482
482
  const s = setTimeout(() => n("entered"), 50);
@@ -509,7 +509,7 @@ function os() {
509
509
  }
510
510
  function es() {
511
511
  const [t, o] = G(0);
512
- return q(() => {
512
+ return Z(() => {
513
513
  if (typeof window > "u") return;
514
514
  const e = () => {
515
515
  const i = document.documentElement.scrollHeight - window.innerHeight;
@@ -533,18 +533,18 @@ function Ye(t = {}) {
533
533
  const s = 1 / 60, f = 1;
534
534
  let a = 0, u = 0;
535
535
  const b = [0];
536
- for (let x = 0; x < 180; x += 1) {
536
+ for (let p = 0; p < 180; p += 1) {
537
537
  const T = -o * (a - f) - e * u;
538
- if (u += T / i * s, a += u * s, b.push(a), x > 8 && Math.abs(a - f) < 2e-3 && Math.abs(u) < 2e-3) break;
538
+ if (u += T / i * s, a += u * s, b.push(a), p > 8 && Math.abs(a - f) < 2e-3 && Math.abs(u) < 2e-3) break;
539
539
  }
540
540
  b[b.length - 1] !== 1 && b.push(1);
541
- const d = Math.max(1, Math.floor((b.length - 1) / 24)), p = [];
542
- for (let x = 0; x < b.length; x += d) {
543
- const T = x / (b.length - 1), F = Math.round(b[x] * 1e4) / 1e4;
544
- p.push(x === 0 ? `${F}` : `${F} ${Math.round(T * 1e4) / 100}%`);
541
+ const d = Math.max(1, Math.floor((b.length - 1) / 24)), x = [];
542
+ for (let p = 0; p < b.length; p += d) {
543
+ const T = p / (b.length - 1), N = Math.round(b[p] * 1e4) / 1e4;
544
+ x.push(p === 0 ? `${N}` : `${N} ${Math.round(T * 1e4) / 100}%`);
545
545
  }
546
- const v = `linear(${p.join(", ")})`;
547
- return ue.set(r, v), v;
546
+ const m = `linear(${x.join(", ")})`;
547
+ return ue.set(r, m), m;
548
548
  }
549
549
  function wo(t, o) {
550
550
  return t === "spring" ? Ye(o) : Zt[t] ?? t;
@@ -911,12 +911,12 @@ function ni(t) {
911
911
  const o = t.match(/oklch\(\s*([\d.]+)\s+([\d.]+)\s+([\d.]+)\s*\)/);
912
912
  if (!o)
913
913
  return t;
914
- const [, e, i, r] = o, n = parseFloat(e), s = parseFloat(i), f = parseFloat(r), a = s * Math.cos(f * Math.PI / 180), u = s * Math.sin(f * Math.PI / 180), b = n + 0.3963377774 * a + 0.2158037573 * u, h = n - 0.1055613458 * a - 0.0638541728 * u, d = n - 0.0894841775 * a - 1.291485548 * u, p = b * b * b, v = h * h * h, x = d * d * d, T = 4.0767416621 * p - 3.3077115913 * v + 0.2309699292 * x, F = -1.2684380046 * p + 2.6097574011 * v - 0.3413193965 * x, M = -0.0041960863 * p - 0.7034186147 * v + 1.707614701 * x, B = (g) => g >= 31308e-7 ? 1.055 * g ** (1 / 2.4) - 0.055 : 12.92 * g, R = Math.max(0, Math.min(1, B(T))), W = Math.max(0, Math.min(1, B(F))), $ = Math.max(0, Math.min(1, B(M))), L = (g) => {
915
- var H;
916
- const C = (H = Math.round(g * 255).toString(16)) == null ? void 0 : H.toUpperCase();
917
- return C.length === 1 ? `0${C}` : C;
914
+ const [, e, i, r] = o, n = parseFloat(e), s = parseFloat(i), f = parseFloat(r), a = s * Math.cos(f * Math.PI / 180), u = s * Math.sin(f * Math.PI / 180), b = n + 0.3963377774 * a + 0.2158037573 * u, h = n - 0.1055613458 * a - 0.0638541728 * u, d = n - 0.0894841775 * a - 1.291485548 * u, x = b * b * b, m = h * h * h, p = d * d * d, T = 4.0767416621 * x - 3.3077115913 * m + 0.2309699292 * p, N = -1.2684380046 * x + 2.6097574011 * m - 0.3413193965 * p, M = -0.0041960863 * x - 0.7034186147 * m + 1.707614701 * p, I = (v) => v >= 31308e-7 ? 1.055 * v ** (1 / 2.4) - 0.055 : 12.92 * v, R = Math.max(0, Math.min(1, I(T))), X = Math.max(0, Math.min(1, I(N))), $ = Math.max(0, Math.min(1, I(M))), A = (v) => {
915
+ var P;
916
+ const z = (P = Math.round(v * 255).toString(16)) == null ? void 0 : P.toUpperCase();
917
+ return z.length === 1 ? `0${z}` : z;
918
918
  };
919
- return `#${L(R)}${L(W)}${L($)}`;
919
+ return `#${A(R)}${A(X)}${A($)}`;
920
920
  }
921
921
  function si(t) {
922
922
  const o = {}, e = {}, i = t.split(`
@@ -1497,12 +1497,12 @@ function di({ animatedProps: t, animationConfig: o, children: e }) {
1497
1497
  const [i, r] = G(
1498
1498
  () => hi(t)
1499
1499
  );
1500
- q(() => {
1500
+ Z(() => {
1501
1501
  const a = [];
1502
1502
  return t.forEach((u, b) => {
1503
1503
  const h = (d) => {
1504
- r((p) => ({
1505
- ...p,
1504
+ r((x) => ({
1505
+ ...x,
1506
1506
  [b]: d
1507
1507
  }));
1508
1508
  };
@@ -3176,7 +3176,7 @@ function se(t) {
3176
3176
  const o = Ci[t];
3177
3177
  return o ? [...o] : null;
3178
3178
  }
3179
- function J(t, o) {
3179
+ function Q(t, o) {
3180
3180
  if (o == null) return "";
3181
3181
  if (typeof o == "boolean") return o ? "true" : "false";
3182
3182
  if (typeof o == "number")
@@ -3192,7 +3192,7 @@ function Qe(t) {
3192
3192
  if (r === "css")
3193
3193
  return o((a, u) => {
3194
3194
  const b = a.includes("-") ? Si(a) : a;
3195
- t.setProp(b, J(b, u));
3195
+ t.setProp(b, Q(b, u));
3196
3196
  });
3197
3197
  if (r === "style")
3198
3198
  return o((a) => t.mergeStyle(a));
@@ -3203,9 +3203,9 @@ function Qe(t) {
3203
3203
  const f = se(r);
3204
3204
  return o(f ? (a) => {
3205
3205
  for (const u of f)
3206
- t.setProp(u, J(u, a));
3206
+ t.setProp(u, Q(u, a));
3207
3207
  } : (a) => {
3208
- t.setProp(r, J(r, a));
3208
+ t.setProp(r, Q(r, a));
3209
3209
  });
3210
3210
  }
3211
3211
  });
@@ -3224,15 +3224,15 @@ const zi = {
3224
3224
  function Ei(t, o) {
3225
3225
  const e = t[o];
3226
3226
  if (e == null || e === "") return;
3227
- const i = String(e).trim().split(/\s+/), [r, n = r, s = r, f = n] = i, a = r, u = i.length === 1 ? r : n, b = i.length <= 2 ? r : s, h = i.length === 1 ? r : i.length === 2 || i.length === 3 ? n : f, d = o === "padding" ? "padding" : "margin", p = [
3227
+ const i = String(e).trim().split(/\s+/), [r, n = r, s = r, f = n] = i, a = r, u = i.length === 1 ? r : n, b = i.length <= 2 ? r : s, h = i.length === 1 ? r : i.length === 2 || i.length === 3 ? n : f, d = o === "padding" ? "padding" : "margin", x = [
3228
3228
  [`${d}Top`, a],
3229
3229
  [`${d}Right`, u],
3230
3230
  [`${d}Bottom`, b],
3231
3231
  [`${d}Left`, h]
3232
- ], v = t;
3233
- for (const [x, T] of p)
3234
- v[x] == null && (v[x] = T);
3235
- delete v[o];
3232
+ ], m = t;
3233
+ for (const [p, T] of x)
3234
+ m[p] == null && (m[p] = T);
3235
+ delete m[o];
3236
3236
  }
3237
3237
  class ot {
3238
3238
  constructor() {
@@ -3244,12 +3244,12 @@ class ot {
3244
3244
  }
3245
3245
  /** Flutter / RN: left + right. */
3246
3246
  paddingHorizontal(o) {
3247
- const e = J("paddingLeft", o);
3247
+ const e = Q("paddingLeft", o);
3248
3248
  return this.setProp("paddingLeft", e), this.setProp("paddingRight", e), this;
3249
3249
  }
3250
3250
  /** Flutter / RN: top + bottom. */
3251
3251
  paddingVertical(o) {
3252
- const e = J("paddingTop", o);
3252
+ const e = Q("paddingTop", o);
3253
3253
  return this.setProp("paddingTop", e), this.setProp("paddingBottom", e), this;
3254
3254
  }
3255
3255
  paddingX(o) {
@@ -3259,11 +3259,11 @@ class ot {
3259
3259
  return this.paddingVertical(o);
3260
3260
  }
3261
3261
  marginHorizontal(o) {
3262
- const e = J("marginLeft", o);
3262
+ const e = Q("marginLeft", o);
3263
3263
  return this.setProp("marginLeft", e), this.setProp("marginRight", e), this;
3264
3264
  }
3265
3265
  marginVertical(o) {
3266
- const e = J("marginTop", o);
3266
+ const e = Q("marginTop", o);
3267
3267
  return this.setProp("marginTop", e), this.setProp("marginBottom", e), this;
3268
3268
  }
3269
3269
  marginX(o) {
@@ -3316,7 +3316,7 @@ class no {
3316
3316
  return (u) => {
3317
3317
  const h = se(f) ?? [f];
3318
3318
  for (const d of h)
3319
- r.set(Yo(d), J(d, u));
3319
+ r.set(Yo(d), Q(d, u));
3320
3320
  return n;
3321
3321
  };
3322
3322
  }
@@ -3435,7 +3435,7 @@ function $i({
3435
3435
  children: s
3436
3436
  }) {
3437
3437
  const f = U(null);
3438
- q(() => {
3438
+ Z(() => {
3439
3439
  fo();
3440
3440
  const u = f.current;
3441
3441
  if (!u) return;
@@ -3491,7 +3491,7 @@ function Ni() {
3491
3491
  }
3492
3492
  function Ii({ children: t }) {
3493
3493
  const o = U(null);
3494
- return q(() => {
3494
+ return Z(() => {
3495
3495
  if (fo(), Ni()) return;
3496
3496
  const e = () => {
3497
3497
  var n, s;
@@ -4242,10 +4242,10 @@ class ao {
4242
4242
  }, i = (n) => n.startsWith("#") || n.startsWith("rgb") || n.startsWith("hsl") || ["red", "blue", "green", "yellow", "purple", "pink", "orange", "white", "black", "gray"].some((s) => n.includes(s)), r = (n, s, f, a) => {
4243
4243
  let h = f || "rgba(0, 0, 0, " + (a ?? 0.1) + ")";
4244
4244
  if (f && f.startsWith("#") && a !== void 0) {
4245
- const v = parseInt(f.slice(1, 3), 16), x = parseInt(f.slice(3, 5), 16), T = parseInt(f.slice(5, 7), 16);
4246
- h = `rgba(${v}, ${x}, ${T}, ${a})`;
4245
+ const m = parseInt(f.slice(1, 3), 16), p = parseInt(f.slice(3, 5), 16), T = parseInt(f.slice(5, 7), 16);
4246
+ h = `rgba(${m}, ${p}, ${T}, ${a})`;
4247
4247
  }
4248
- const p = {
4248
+ const x = {
4249
4249
  sm: "2px",
4250
4250
  md: "4px",
4251
4251
  lg: "8px",
@@ -4254,19 +4254,19 @@ class ao {
4254
4254
  }[s] || "4px";
4255
4255
  switch (n) {
4256
4256
  case "top":
4257
- return `0 -${p} ${p} -1px ${h}`;
4257
+ return `0 -${x} ${x} -1px ${h}`;
4258
4258
  case "bottom":
4259
- return `0 ${p} ${p} -1px ${h}`;
4259
+ return `0 ${x} ${x} -1px ${h}`;
4260
4260
  case "left":
4261
- return `-${p} 0 ${p} -1px ${h}`;
4261
+ return `-${x} 0 ${x} -1px ${h}`;
4262
4262
  case "right":
4263
- return `${p} 0 ${p} -1px ${h}`;
4263
+ return `${x} 0 ${x} -1px ${h}`;
4264
4264
  case "top-bottom":
4265
4265
  case "vertical":
4266
- return `0 -${p} ${p} -1px ${h}, 0 ${p} ${p} -1px ${h}`;
4266
+ return `0 -${x} ${x} -1px ${h}, 0 ${x} ${x} -1px ${h}`;
4267
4267
  case "left-right":
4268
4268
  case "horizontal":
4269
- return `-${p} 0 ${p} -1px ${h}, ${p} 0 ${p} -1px ${h}`;
4269
+ return `-${x} 0 ${x} -1px ${h}, ${x} 0 ${x} -1px ${h}`;
4270
4270
  case "all":
4271
4271
  default:
4272
4272
  return e[s] || e.md;
@@ -4295,8 +4295,8 @@ class ao {
4295
4295
  const h = r(u, "md", s, f), d = E.register("box-shadow", h);
4296
4296
  return this._classNames.push(d), this;
4297
4297
  } else {
4298
- const d = r(u, s, f, a), p = E.register("box-shadow", d);
4299
- return this._classNames.push(p), this;
4298
+ const d = r(u, s, f, a), x = E.register("box-shadow", d);
4299
+ return this._classNames.push(x), this;
4300
4300
  }
4301
4301
  }
4302
4302
  return this;
@@ -4933,24 +4933,24 @@ function Xi(t) {
4933
4933
  function Di(t) {
4934
4934
  const o = t._isObserver, e = t._signals, i = t._observers, r = t._state, n = t._providers, s = Xi(t), f = () => {
4935
4935
  let d = t.build();
4936
- const p = t._animatedProps, v = t._animationConfig;
4937
- p && p.size > 0 && (d = l.createElement(di, {
4936
+ const x = t._animatedProps, m = t._animationConfig;
4937
+ x && x.size > 0 && (d = l.createElement(di, {
4938
4938
  key: s,
4939
- animatedProps: p,
4940
- animationConfig: v,
4939
+ animatedProps: x,
4940
+ animationConfig: m,
4941
4941
  children: d
4942
4942
  }));
4943
- const x = t._reveal;
4944
- if (x) {
4945
- const F = t._style || {}, M = {};
4946
- for (const B of ["--fibo-dur", "--fibo-ease", "--fibo-delay", "--fibo-stagger", "--fibo-from"])
4947
- F[B] != null && (M[B] = F[B]);
4943
+ const p = t._reveal;
4944
+ if (p) {
4945
+ const N = t._style || {}, M = {};
4946
+ for (const I of ["--fibo-dur", "--fibo-ease", "--fibo-delay", "--fibo-stagger", "--fibo-from"])
4947
+ N[I] != null && (M[I] = N[I]);
4948
4948
  d = l.createElement($i, {
4949
4949
  key: s,
4950
- preset: x.preset,
4951
- once: x.once,
4952
- rootMargin: x.rootMargin,
4953
- threshold: x.threshold,
4950
+ preset: p.preset,
4951
+ once: p.once,
4952
+ rootMargin: p.rootMargin,
4953
+ threshold: p.threshold,
4954
4954
  forceMotion: t._reducedMotion === "never",
4955
4955
  style: Object.keys(M).length > 0 ? M : void 0,
4956
4956
  children: d
@@ -5027,17 +5027,17 @@ function co(t) {
5027
5027
  ...n.__fiboElementProps ?? {},
5028
5028
  ...b != null && b !== "" ? { key: String(b) } : {}
5029
5029
  }, d = Object.getPrototypeOf(n).props;
5030
- return typeof d == "function" ? Object.assign((v) => (d.call(n, v), f), h) : h;
5030
+ return typeof d == "function" ? Object.assign((m) => (d.call(n, m), f), h) : h;
5031
5031
  }
5032
5032
  if (s === "type") {
5033
5033
  const b = Reflect.get(n, s), h = Object.getPrototypeOf(n), d = h != null ? h.type : void 0;
5034
- return typeof d != "function" || typeof b != "function" ? b : (n.__fiboType || (n.__fiboType = (p, v) => typeof p == "string" || typeof p == "number" ? (d.call(n, p), f) : b(p, v)), n.__fiboType);
5034
+ return typeof d != "function" || typeof b != "function" ? b : (n.__fiboType || (n.__fiboType = (x, m) => typeof x == "string" || typeof x == "number" ? (d.call(n, x), f) : b(x, m)), n.__fiboType);
5035
5035
  }
5036
5036
  return ji.has(s) || Reflect.has(n, s) ? Reflect.get(n, s, f) : (b) => {
5037
5037
  const d = se(s) ?? [s];
5038
- for (const p of d) {
5039
- const v = Yo(p), x = J(p, b);
5040
- n.className(E.register(v, x));
5038
+ for (const x of d) {
5039
+ const m = Yo(x), p = Q(x, b);
5040
+ n.className(E.register(m, p));
5041
5041
  }
5042
5042
  return f;
5043
5043
  };
@@ -5100,7 +5100,7 @@ function Zi(t) {
5100
5100
  }
5101
5101
  function Ji(t) {
5102
5102
  const [o, e] = G(() => Zi(t));
5103
- return q(() => {
5103
+ return Z(() => {
5104
5104
  if (!Oo(t)) {
5105
5105
  e(!!t);
5106
5106
  return;
@@ -5117,7 +5117,7 @@ function ft({
5117
5117
  children: n
5118
5118
  }) {
5119
5119
  const s = Ji(t), [f, a] = G(s), [u, b] = G(s ? "enter" : "idle"), h = r !== "never" && qi();
5120
- if (q(() => {
5120
+ if (Z(() => {
5121
5121
  if (fo(), s) {
5122
5122
  a(!0), b(h ? "idle" : "enter");
5123
5123
  return;
@@ -5130,15 +5130,15 @@ function ft({
5130
5130
  b("exit");
5131
5131
  }
5132
5132
  }, [s, h]), !f) return null;
5133
- const d = u === "exit" ? e : u === "enter" ? o : void 0, p = d && !h ? Ge(d) : void 0;
5133
+ const d = u === "exit" ? e : u === "enter" ? o : void 0, x = d && !h ? Ge(d) : void 0;
5134
5134
  return l.createElement(
5135
5135
  "div",
5136
5136
  {
5137
- className: p ? `fibo-anim fibo-anim-${p}` : void 0,
5138
- style: p ? { "--fibo-dur": `${i}ms`, "--fibo-ease": "ease" } : void 0,
5137
+ className: x ? `fibo-anim fibo-anim-${x}` : void 0,
5138
+ style: x ? { "--fibo-dur": `${i}ms`, "--fibo-ease": "ease" } : void 0,
5139
5139
  "data-fibo-presence": u,
5140
- onAnimationEnd: (v) => {
5141
- v.target === v.currentTarget && (u === "exit" && a(!1), u === "enter" && b("idle"));
5140
+ onAnimationEnd: (m) => {
5141
+ m.target === m.currentTarget && (u === "exit" && a(!1), u === "enter" && b("idle"));
5142
5142
  }
5143
5143
  },
5144
5144
  n
@@ -5202,8 +5202,8 @@ function hs({
5202
5202
  }) {
5203
5203
  const r = rr(t), [n, s] = G(r), [f, a] = G(null);
5204
5204
  r !== n && (s(r), a(null));
5205
- const u = et(f ?? t), b = ro((v) => {
5206
- a(v);
5205
+ const u = et(f ?? t), b = ro((m) => {
5206
+ a(m);
5207
5207
  }, []), h = Ct(
5208
5208
  () => ({
5209
5209
  theme: u,
@@ -5211,14 +5211,14 @@ function hs({
5211
5211
  setTheme: b
5212
5212
  }),
5213
5213
  [u, b]
5214
- ), d = [rt(u), e].filter(Boolean).join(" "), p = {
5214
+ ), d = [rt(u), e].filter(Boolean).join(" "), x = {
5215
5215
  ...it(u),
5216
5216
  backgroundColor: u.colors.background,
5217
5217
  color: u.colors.onBackground,
5218
5218
  fontFamily: u.fontFamily,
5219
5219
  ...i
5220
5220
  };
5221
- return /* @__PURE__ */ O(at.Provider, { value: h, children: /* @__PURE__ */ O("div", { className: d, "data-fibo-theme": u.name, style: p, children: o }) });
5221
+ return /* @__PURE__ */ W(at.Provider, { value: h, children: /* @__PURE__ */ W("div", { className: d, "data-fibo-theme": u.name, style: x, children: o }) });
5222
5222
  }
5223
5223
  function ds() {
5224
5224
  const t = Fo(at);
@@ -5510,54 +5510,54 @@ const ws = co(lr), ur = l.memo((t) => {
5510
5510
  containerHeight: s = 500,
5511
5511
  className: f,
5512
5512
  style: a
5513
- } = t, [u, b] = G(0), h = U(null), d = U(/* @__PURE__ */ new Map()), p = U(/* @__PURE__ */ new Map()), v = o.length, x = e !== void 0, T = (_) => x ? e : p.current.get(_) ?? i, F = (_) => {
5514
- if (x)
5515
- return _ * e;
5516
- let z = 0;
5517
- for (let j = 0; j < _; j++)
5518
- z += T(j);
5519
- return z;
5513
+ } = t, [u, b] = G(0), h = U(null), d = U(/* @__PURE__ */ new Map()), x = U(/* @__PURE__ */ new Map()), m = o.length, p = e !== void 0, T = (S) => p ? e : x.current.get(S) ?? i, N = (S) => {
5514
+ if (p)
5515
+ return S * e;
5516
+ let C = 0;
5517
+ for (let V = 0; V < S; V++)
5518
+ C += T(V);
5519
+ return C;
5520
5520
  }, M = () => {
5521
- if (x)
5522
- return v * e;
5523
- let _ = 0;
5524
- for (let z = 0; z < v; z++)
5525
- _ += T(z);
5526
- return _;
5527
- }, R = Math.max(0, ((_) => {
5528
- if (x)
5529
- return Math.floor(_ / e);
5530
- let z = 0, j = v - 1;
5531
- for (; z < j; ) {
5532
- const w = Math.floor((z + j) / 2);
5533
- F(w) < _ ? z = w + 1 : j = w;
5521
+ if (p)
5522
+ return m * e;
5523
+ let S = 0;
5524
+ for (let C = 0; C < m; C++)
5525
+ S += T(C);
5526
+ return S;
5527
+ }, R = Math.max(0, ((S) => {
5528
+ if (p)
5529
+ return Math.floor(S / e);
5530
+ let C = 0, V = m - 1;
5531
+ for (; C < V; ) {
5532
+ const y = Math.floor((C + V) / 2);
5533
+ N(y) < S ? C = y + 1 : V = y;
5534
5534
  }
5535
- return Math.max(0, z - 1);
5535
+ return Math.max(0, C - 1);
5536
5536
  })(u) - n);
5537
- let W;
5538
- if (x) {
5539
- const _ = Math.ceil(s / e);
5540
- W = Math.min(v, R + _ + n * 2);
5537
+ let X;
5538
+ if (p) {
5539
+ const S = Math.ceil(s / e);
5540
+ X = Math.min(m, R + S + n * 2);
5541
5541
  } else {
5542
- let _ = F(R), z = R;
5543
- for (; _ < u + s + n * i && z < v; )
5544
- _ += T(z), z++;
5545
- W = Math.min(v, z);
5542
+ let S = N(R), C = R;
5543
+ for (; S < u + s + n * i && C < m; )
5544
+ S += T(C), C++;
5545
+ X = Math.min(m, C);
5546
5546
  }
5547
- const $ = o.slice(R, W), L = F(R), g = M(), [C, H] = G(0);
5547
+ const $ = o.slice(R, X), A = N(R), v = M(), [z, P] = G(0);
5548
5548
  oe(() => {
5549
- if (!r || x) return;
5550
- let _ = !1;
5551
- $.forEach((z, j) => {
5552
- const w = R + j, N = d.current.get(w);
5553
- if (N) {
5554
- const m = N.getBoundingClientRect().height;
5555
- m > 0 && p.current.get(w) !== m && (p.current.set(w, m), _ = !0);
5549
+ if (!r || p) return;
5550
+ let S = !1;
5551
+ $.forEach((C, V) => {
5552
+ const y = R + V, F = d.current.get(y);
5553
+ if (F) {
5554
+ const g = F.getBoundingClientRect().height;
5555
+ g > 0 && x.current.get(y) !== g && (x.current.set(y, g), S = !0);
5556
5556
  }
5557
- }), _ && H((z) => z + 1);
5558
- }, [$, R, r, x, C]);
5559
- const V = (_) => {
5560
- b(_.currentTarget.scrollTop);
5557
+ }), S && P((C) => C + 1);
5558
+ }, [$, R, r, p, z]);
5559
+ const D = (S) => {
5560
+ b(S.currentTarget.scrollTop);
5561
5561
  };
5562
5562
  return l.createElement(
5563
5563
  "div",
@@ -5570,11 +5570,11 @@ const ws = co(lr), ur = l.memo((t) => {
5570
5570
  position: "relative",
5571
5571
  ...a
5572
5572
  },
5573
- onScroll: V
5573
+ onScroll: D
5574
5574
  },
5575
5575
  l.createElement("div", {
5576
5576
  style: {
5577
- height: `${g}px`,
5577
+ height: `${v}px`,
5578
5578
  width: "1px",
5579
5579
  position: "absolute",
5580
5580
  top: 0,
@@ -5587,22 +5587,22 @@ const ws = co(lr), ur = l.memo((t) => {
5587
5587
  "div",
5588
5588
  {
5589
5589
  style: {
5590
- transform: `translateY(${L}px)`,
5590
+ transform: `translateY(${A}px)`,
5591
5591
  width: "100%"
5592
5592
  }
5593
5593
  },
5594
- $.map((_, z) => {
5595
- const j = R + z;
5594
+ $.map((S, C) => {
5595
+ const V = R + C;
5596
5596
  return l.createElement(
5597
5597
  "div",
5598
5598
  {
5599
- key: j,
5600
- ref: (w) => {
5601
- w && r && !x ? d.current.set(j, w) : w || d.current.delete(j);
5599
+ key: V,
5600
+ ref: (y) => {
5601
+ y && r && !p ? d.current.set(V, y) : y || d.current.delete(V);
5602
5602
  },
5603
5603
  style: { width: "100%" }
5604
5604
  },
5605
- _
5605
+ S
5606
5606
  );
5607
5607
  })
5608
5608
  )
@@ -5819,31 +5819,31 @@ const $o = co(dr), pr = (t, o) => {
5819
5819
  const n = [];
5820
5820
  let s = 0, f = 0, a = 0, u;
5821
5821
  const b = r.length;
5822
- for (let x = 0; x < b; x++) {
5823
- const T = r[x];
5822
+ for (let p = 0; p < b; p++) {
5823
+ const T = r[p];
5824
5824
  if (s === 0 && f === 0) {
5825
5825
  if (T === _e) {
5826
- n.push(r.slice(a, x)), a = x + 1;
5826
+ n.push(r.slice(a, p)), a = p + 1;
5827
5827
  continue;
5828
5828
  }
5829
5829
  if (T === "/") {
5830
- u = x;
5830
+ u = p;
5831
5831
  continue;
5832
5832
  }
5833
5833
  }
5834
5834
  T === "[" ? s++ : T === "]" ? s-- : T === "(" ? f++ : T === ")" && f--;
5835
5835
  }
5836
5836
  const h = n.length === 0 ? r : r.slice(a);
5837
- let d = h, p = !1;
5838
- h.endsWith(te) ? (d = h.slice(0, -1), p = !0) : (
5837
+ let d = h, x = !1;
5838
+ h.endsWith(te) ? (d = h.slice(0, -1), x = !0) : (
5839
5839
  /**
5840
5840
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
5841
5841
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
5842
5842
  */
5843
- h.startsWith(te) && (d = h.slice(1), p = !0)
5843
+ h.startsWith(te) && (d = h.slice(1), x = !0)
5844
5844
  );
5845
- const v = u && u > a ? u - a : void 0;
5846
- return Se(n, p, d, v);
5845
+ const m = u && u > a ? u - a : void 0;
5846
+ return Se(n, x, d, m);
5847
5847
  };
5848
5848
  if (o) {
5849
5849
  const r = o + _e, n = i;
@@ -5887,34 +5887,34 @@ const $o = co(dr), pr = (t, o) => {
5887
5887
  const b = f[u], {
5888
5888
  isExternal: h,
5889
5889
  modifiers: d,
5890
- hasImportantModifier: p,
5891
- baseClassName: v,
5892
- maybePostfixModifierPosition: x
5890
+ hasImportantModifier: x,
5891
+ baseClassName: m,
5892
+ maybePostfixModifierPosition: p
5893
5893
  } = e(b);
5894
5894
  if (h) {
5895
5895
  a = b + (a.length > 0 ? " " + a : a);
5896
5896
  continue;
5897
5897
  }
5898
- let T = !!x, F = i(T ? v.substring(0, x) : v);
5899
- if (!F) {
5898
+ let T = !!p, N = i(T ? m.substring(0, p) : m);
5899
+ if (!N) {
5900
5900
  if (!T) {
5901
5901
  a = b + (a.length > 0 ? " " + a : a);
5902
5902
  continue;
5903
5903
  }
5904
- if (F = i(v), !F) {
5904
+ if (N = i(m), !N) {
5905
5905
  a = b + (a.length > 0 ? " " + a : a);
5906
5906
  continue;
5907
5907
  }
5908
5908
  T = !1;
5909
5909
  }
5910
- const M = d.length === 0 ? "" : d.length === 1 ? d[0] : n(d).join(":"), B = p ? M + te : M, R = B + F;
5910
+ const M = d.length === 0 ? "" : d.length === 1 ? d[0] : n(d).join(":"), I = x ? M + te : M, R = I + N;
5911
5911
  if (s.indexOf(R) > -1)
5912
5912
  continue;
5913
5913
  s.push(R);
5914
- const W = r(F, T);
5915
- for (let $ = 0; $ < W.length; ++$) {
5916
- const L = W[$];
5917
- s.push(B + L);
5914
+ const X = r(N, T);
5915
+ for (let $ = 0; $ < X.length; ++$) {
5916
+ const A = X[$];
5917
+ s.push(I + A);
5918
5918
  }
5919
5919
  a = b + (a.length > 0 ? " " + a : a);
5920
5920
  }
@@ -5944,22 +5944,22 @@ const $o = co(dr), pr = (t, o) => {
5944
5944
  return r(a, b), b;
5945
5945
  };
5946
5946
  return n = s, (...a) => n(Br(...a));
5947
- }, Lr = [], Q = (t) => {
5947
+ }, Lr = [], oo = (t) => {
5948
5948
  const o = (e) => e[t] || Lr;
5949
5949
  return o.isThemeGetter = !0, o;
5950
- }, dt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, pt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Pr = /^\d+\/\d+$/, Mr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Or = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Wr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Hr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Vr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Eo = (t) => Pr.test(t), A = (t) => !!t && !Number.isNaN(Number(t)), xo = (t) => !!t && Number.isInteger(Number(t)), qo = (t) => t.endsWith("%") && A(t.slice(0, -1)), ho = (t) => Mr.test(t), jr = () => !0, Xr = (t) => (
5950
+ }, dt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, pt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Pr = /^\d+\/\d+$/, Mr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Or = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Wr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Hr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Vr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Eo = (t) => Pr.test(t), B = (t) => !!t && !Number.isNaN(Number(t)), xo = (t) => !!t && Number.isInteger(Number(t)), qo = (t) => t.endsWith("%") && B(t.slice(0, -1)), ho = (t) => Mr.test(t), jr = () => !0, Xr = (t) => (
5951
5951
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
5952
5952
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
5953
5953
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
5954
5954
  Or.test(t) && !Wr.test(t)
5955
- ), xt = () => !1, Dr = (t) => Hr.test(t), Yr = (t) => Vr.test(t), Gr = (t) => !y(t) && !k(t), Ur = (t) => Ro(t, vt, xt), y = (t) => dt.test(t), vo = (t) => Ro(t, wt, Xr), Zo = (t) => Ro(t, Qr, A), Ce = (t) => Ro(t, mt, xt), Kr = (t) => Ro(t, gt, Yr), Wo = (t) => Ro(t, yt, Dr), k = (t) => pt.test(t), Lo = (t) => Bo(t, wt), qr = (t) => Bo(t, on), ze = (t) => Bo(t, mt), Zr = (t) => Bo(t, vt), Jr = (t) => Bo(t, gt), Ho = (t) => Bo(t, yt, !0), Ro = (t, o, e) => {
5955
+ ), xt = () => !1, Dr = (t) => Hr.test(t), Yr = (t) => Vr.test(t), Gr = (t) => !k(t) && !_(t), Ur = (t) => Ro(t, vt, xt), k = (t) => dt.test(t), vo = (t) => Ro(t, wt, Xr), Zo = (t) => Ro(t, Qr, B), Ce = (t) => Ro(t, mt, xt), Kr = (t) => Ro(t, gt, Yr), Wo = (t) => Ro(t, yt, Dr), _ = (t) => pt.test(t), Lo = (t) => Bo(t, wt), qr = (t) => Bo(t, on), ze = (t) => Bo(t, mt), Zr = (t) => Bo(t, vt), Jr = (t) => Bo(t, gt), Ho = (t) => Bo(t, yt, !0), Ro = (t, o, e) => {
5956
5956
  const i = dt.exec(t);
5957
5957
  return i ? i[1] ? o(i[1]) : e(i[2]) : !1;
5958
5958
  }, Bo = (t, o, e = !1) => {
5959
5959
  const i = pt.exec(t);
5960
5960
  return i ? i[1] ? o(i[1]) : e : !1;
5961
5961
  }, mt = (t) => t === "position" || t === "percentage", gt = (t) => t === "image" || t === "url", vt = (t) => t === "length" || t === "size" || t === "bg-size", wt = (t) => t === "length", Qr = (t) => t === "number", on = (t) => t === "family-name", yt = (t) => t === "shadow", en = () => {
5962
- const t = Q("color"), o = Q("font"), e = Q("text"), i = Q("font-weight"), r = Q("tracking"), n = Q("leading"), s = Q("breakpoint"), f = Q("container"), a = Q("spacing"), u = Q("radius"), b = Q("shadow"), h = Q("inset-shadow"), d = Q("text-shadow"), p = Q("drop-shadow"), v = Q("blur"), x = Q("perspective"), T = Q("aspect"), F = Q("ease"), M = Q("animate"), B = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], R = () => [
5962
+ const t = oo("color"), o = oo("font"), e = oo("text"), i = oo("font-weight"), r = oo("tracking"), n = oo("leading"), s = oo("breakpoint"), f = oo("container"), a = oo("spacing"), u = oo("radius"), b = oo("shadow"), h = oo("inset-shadow"), d = oo("text-shadow"), x = oo("drop-shadow"), m = oo("blur"), p = oo("perspective"), T = oo("aspect"), N = oo("ease"), M = oo("animate"), I = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], R = () => [
5963
5963
  "center",
5964
5964
  "top",
5965
5965
  "bottom",
@@ -5977,30 +5977,30 @@ const $o = co(dr), pr = (t, o) => {
5977
5977
  "bottom-left",
5978
5978
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
5979
5979
  "left-bottom"
5980
- ], W = () => [...R(), k, y], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", "contain", "none"], g = () => [k, y, a], C = () => [Eo, "full", "auto", ...g()], H = () => [xo, "none", "subgrid", k, y], V = () => ["auto", {
5981
- span: ["full", xo, k, y]
5982
- }, xo, k, y], _ = () => [xo, "auto", k, y], z = () => ["auto", "min", "max", "fr", k, y], j = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], w = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], N = () => ["auto", ...g()], I = () => [Eo, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], m = () => [t, k, y], to = () => [...R(), ze, Ce, {
5983
- position: [k, y]
5984
- }], S = () => ["no-repeat", {
5980
+ ], X = () => [...R(), _, k], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", "contain", "none"], v = () => [_, k, a], z = () => [Eo, "full", "auto", ...v()], P = () => [xo, "none", "subgrid", _, k], D = () => ["auto", {
5981
+ span: ["full", xo, _, k]
5982
+ }, xo, _, k], S = () => [xo, "auto", _, k], C = () => ["auto", "min", "max", "fr", _, k], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], F = () => ["auto", ...v()], H = () => [Eo, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...v()], g = () => [t, _, k], K = () => [...R(), ze, Ce, {
5983
+ position: [_, k]
5984
+ }], w = () => ["no-repeat", {
5985
5985
  repeat: ["", "x", "y", "space", "round"]
5986
- }], X = () => ["auto", "cover", "contain", Zr, Ur, {
5987
- size: [k, y]
5988
- }], K = () => [qo, Lo, vo], Y = () => [
5986
+ }], O = () => ["auto", "cover", "contain", Zr, Ur, {
5987
+ size: [_, k]
5988
+ }], q = () => [qo, Lo, vo], Y = () => [
5989
5989
  // Deprecated since Tailwind CSS v4.0.0
5990
5990
  "",
5991
5991
  "none",
5992
5992
  "full",
5993
5993
  u,
5994
- k,
5995
- y
5996
- ], eo = () => ["", A, Lo, vo], ko = () => ["solid", "dashed", "dotted", "double"], Ao = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Z = () => [A, qo, ze, Ce], _o = () => [
5994
+ _,
5995
+ k
5996
+ ], to = () => ["", B, Lo, vo], ko = () => ["solid", "dashed", "dotted", "double"], Ao = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], J = () => [B, qo, ze, Ce], _o = () => [
5997
5997
  // Deprecated since Tailwind CSS v4.0.0
5998
5998
  "",
5999
5999
  "none",
6000
- v,
6001
- k,
6002
- y
6003
- ], go = () => ["none", A, k, y], io = () => ["none", A, k, y], So = () => [A, k, y], P = () => [Eo, "full", ...g()];
6000
+ m,
6001
+ _,
6002
+ k
6003
+ ], go = () => ["none", B, _, k], io = () => ["none", B, _, k], So = () => [B, _, k], L = () => [Eo, "full", ...v()];
6004
6004
  return {
6005
6005
  cacheSize: 500,
6006
6006
  theme: {
@@ -6019,7 +6019,7 @@ const $o = co(dr), pr = (t, o) => {
6019
6019
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
6020
6020
  radius: [ho],
6021
6021
  shadow: [ho],
6022
- spacing: ["px", A],
6022
+ spacing: ["px", B],
6023
6023
  text: [ho],
6024
6024
  "text-shadow": [ho],
6025
6025
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -6033,7 +6033,7 @@ const $o = co(dr), pr = (t, o) => {
6033
6033
  * @see https://tailwindcss.com/docs/aspect-ratio
6034
6034
  */
6035
6035
  aspect: [{
6036
- aspect: ["auto", "square", Eo, y, k, T]
6036
+ aspect: ["auto", "square", Eo, k, _, T]
6037
6037
  }],
6038
6038
  /**
6039
6039
  * Container
@@ -6046,21 +6046,21 @@ const $o = co(dr), pr = (t, o) => {
6046
6046
  * @see https://tailwindcss.com/docs/columns
6047
6047
  */
6048
6048
  columns: [{
6049
- columns: [A, y, k, f]
6049
+ columns: [B, k, _, f]
6050
6050
  }],
6051
6051
  /**
6052
6052
  * Break After
6053
6053
  * @see https://tailwindcss.com/docs/break-after
6054
6054
  */
6055
6055
  "break-after": [{
6056
- "break-after": B()
6056
+ "break-after": I()
6057
6057
  }],
6058
6058
  /**
6059
6059
  * Break Before
6060
6060
  * @see https://tailwindcss.com/docs/break-before
6061
6061
  */
6062
6062
  "break-before": [{
6063
- "break-before": B()
6063
+ "break-before": I()
6064
6064
  }],
6065
6065
  /**
6066
6066
  * Break Inside
@@ -6124,7 +6124,7 @@ const $o = co(dr), pr = (t, o) => {
6124
6124
  * @see https://tailwindcss.com/docs/object-position
6125
6125
  */
6126
6126
  "object-position": [{
6127
- object: W()
6127
+ object: X()
6128
6128
  }],
6129
6129
  /**
6130
6130
  * Overflow
@@ -6152,21 +6152,21 @@ const $o = co(dr), pr = (t, o) => {
6152
6152
  * @see https://tailwindcss.com/docs/overscroll-behavior
6153
6153
  */
6154
6154
  overscroll: [{
6155
- overscroll: L()
6155
+ overscroll: A()
6156
6156
  }],
6157
6157
  /**
6158
6158
  * Overscroll Behavior X
6159
6159
  * @see https://tailwindcss.com/docs/overscroll-behavior
6160
6160
  */
6161
6161
  "overscroll-x": [{
6162
- "overscroll-x": L()
6162
+ "overscroll-x": A()
6163
6163
  }],
6164
6164
  /**
6165
6165
  * Overscroll Behavior Y
6166
6166
  * @see https://tailwindcss.com/docs/overscroll-behavior
6167
6167
  */
6168
6168
  "overscroll-y": [{
6169
- "overscroll-y": L()
6169
+ "overscroll-y": A()
6170
6170
  }],
6171
6171
  /**
6172
6172
  * Position
@@ -6178,63 +6178,63 @@ const $o = co(dr), pr = (t, o) => {
6178
6178
  * @see https://tailwindcss.com/docs/top-right-bottom-left
6179
6179
  */
6180
6180
  inset: [{
6181
- inset: C()
6181
+ inset: z()
6182
6182
  }],
6183
6183
  /**
6184
6184
  * Right / Left
6185
6185
  * @see https://tailwindcss.com/docs/top-right-bottom-left
6186
6186
  */
6187
6187
  "inset-x": [{
6188
- "inset-x": C()
6188
+ "inset-x": z()
6189
6189
  }],
6190
6190
  /**
6191
6191
  * Top / Bottom
6192
6192
  * @see https://tailwindcss.com/docs/top-right-bottom-left
6193
6193
  */
6194
6194
  "inset-y": [{
6195
- "inset-y": C()
6195
+ "inset-y": z()
6196
6196
  }],
6197
6197
  /**
6198
6198
  * Start
6199
6199
  * @see https://tailwindcss.com/docs/top-right-bottom-left
6200
6200
  */
6201
6201
  start: [{
6202
- start: C()
6202
+ start: z()
6203
6203
  }],
6204
6204
  /**
6205
6205
  * End
6206
6206
  * @see https://tailwindcss.com/docs/top-right-bottom-left
6207
6207
  */
6208
6208
  end: [{
6209
- end: C()
6209
+ end: z()
6210
6210
  }],
6211
6211
  /**
6212
6212
  * Top
6213
6213
  * @see https://tailwindcss.com/docs/top-right-bottom-left
6214
6214
  */
6215
6215
  top: [{
6216
- top: C()
6216
+ top: z()
6217
6217
  }],
6218
6218
  /**
6219
6219
  * Right
6220
6220
  * @see https://tailwindcss.com/docs/top-right-bottom-left
6221
6221
  */
6222
6222
  right: [{
6223
- right: C()
6223
+ right: z()
6224
6224
  }],
6225
6225
  /**
6226
6226
  * Bottom
6227
6227
  * @see https://tailwindcss.com/docs/top-right-bottom-left
6228
6228
  */
6229
6229
  bottom: [{
6230
- bottom: C()
6230
+ bottom: z()
6231
6231
  }],
6232
6232
  /**
6233
6233
  * Left
6234
6234
  * @see https://tailwindcss.com/docs/top-right-bottom-left
6235
6235
  */
6236
6236
  left: [{
6237
- left: C()
6237
+ left: z()
6238
6238
  }],
6239
6239
  /**
6240
6240
  * Visibility
@@ -6246,7 +6246,7 @@ const $o = co(dr), pr = (t, o) => {
6246
6246
  * @see https://tailwindcss.com/docs/z-index
6247
6247
  */
6248
6248
  z: [{
6249
- z: [xo, "auto", k, y]
6249
+ z: [xo, "auto", _, k]
6250
6250
  }],
6251
6251
  // ------------------------
6252
6252
  // --- Flexbox and Grid ---
@@ -6256,7 +6256,7 @@ const $o = co(dr), pr = (t, o) => {
6256
6256
  * @see https://tailwindcss.com/docs/flex-basis
6257
6257
  */
6258
6258
  basis: [{
6259
- basis: [Eo, "full", "auto", f, ...g()]
6259
+ basis: [Eo, "full", "auto", f, ...v()]
6260
6260
  }],
6261
6261
  /**
6262
6262
  * Flex Direction
@@ -6277,84 +6277,84 @@ const $o = co(dr), pr = (t, o) => {
6277
6277
  * @see https://tailwindcss.com/docs/flex
6278
6278
  */
6279
6279
  flex: [{
6280
- flex: [A, Eo, "auto", "initial", "none", y]
6280
+ flex: [B, Eo, "auto", "initial", "none", k]
6281
6281
  }],
6282
6282
  /**
6283
6283
  * Flex Grow
6284
6284
  * @see https://tailwindcss.com/docs/flex-grow
6285
6285
  */
6286
6286
  grow: [{
6287
- grow: ["", A, k, y]
6287
+ grow: ["", B, _, k]
6288
6288
  }],
6289
6289
  /**
6290
6290
  * Flex Shrink
6291
6291
  * @see https://tailwindcss.com/docs/flex-shrink
6292
6292
  */
6293
6293
  shrink: [{
6294
- shrink: ["", A, k, y]
6294
+ shrink: ["", B, _, k]
6295
6295
  }],
6296
6296
  /**
6297
6297
  * Order
6298
6298
  * @see https://tailwindcss.com/docs/order
6299
6299
  */
6300
6300
  order: [{
6301
- order: [xo, "first", "last", "none", k, y]
6301
+ order: [xo, "first", "last", "none", _, k]
6302
6302
  }],
6303
6303
  /**
6304
6304
  * Grid Template Columns
6305
6305
  * @see https://tailwindcss.com/docs/grid-template-columns
6306
6306
  */
6307
6307
  "grid-cols": [{
6308
- "grid-cols": H()
6308
+ "grid-cols": P()
6309
6309
  }],
6310
6310
  /**
6311
6311
  * Grid Column Start / End
6312
6312
  * @see https://tailwindcss.com/docs/grid-column
6313
6313
  */
6314
6314
  "col-start-end": [{
6315
- col: V()
6315
+ col: D()
6316
6316
  }],
6317
6317
  /**
6318
6318
  * Grid Column Start
6319
6319
  * @see https://tailwindcss.com/docs/grid-column
6320
6320
  */
6321
6321
  "col-start": [{
6322
- "col-start": _()
6322
+ "col-start": S()
6323
6323
  }],
6324
6324
  /**
6325
6325
  * Grid Column End
6326
6326
  * @see https://tailwindcss.com/docs/grid-column
6327
6327
  */
6328
6328
  "col-end": [{
6329
- "col-end": _()
6329
+ "col-end": S()
6330
6330
  }],
6331
6331
  /**
6332
6332
  * Grid Template Rows
6333
6333
  * @see https://tailwindcss.com/docs/grid-template-rows
6334
6334
  */
6335
6335
  "grid-rows": [{
6336
- "grid-rows": H()
6336
+ "grid-rows": P()
6337
6337
  }],
6338
6338
  /**
6339
6339
  * Grid Row Start / End
6340
6340
  * @see https://tailwindcss.com/docs/grid-row
6341
6341
  */
6342
6342
  "row-start-end": [{
6343
- row: V()
6343
+ row: D()
6344
6344
  }],
6345
6345
  /**
6346
6346
  * Grid Row Start
6347
6347
  * @see https://tailwindcss.com/docs/grid-row
6348
6348
  */
6349
6349
  "row-start": [{
6350
- "row-start": _()
6350
+ "row-start": S()
6351
6351
  }],
6352
6352
  /**
6353
6353
  * Grid Row End
6354
6354
  * @see https://tailwindcss.com/docs/grid-row
6355
6355
  */
6356
6356
  "row-end": [{
6357
- "row-end": _()
6357
+ "row-end": S()
6358
6358
  }],
6359
6359
  /**
6360
6360
  * Grid Auto Flow
@@ -6368,70 +6368,70 @@ const $o = co(dr), pr = (t, o) => {
6368
6368
  * @see https://tailwindcss.com/docs/grid-auto-columns
6369
6369
  */
6370
6370
  "auto-cols": [{
6371
- "auto-cols": z()
6371
+ "auto-cols": C()
6372
6372
  }],
6373
6373
  /**
6374
6374
  * Grid Auto Rows
6375
6375
  * @see https://tailwindcss.com/docs/grid-auto-rows
6376
6376
  */
6377
6377
  "auto-rows": [{
6378
- "auto-rows": z()
6378
+ "auto-rows": C()
6379
6379
  }],
6380
6380
  /**
6381
6381
  * Gap
6382
6382
  * @see https://tailwindcss.com/docs/gap
6383
6383
  */
6384
6384
  gap: [{
6385
- gap: g()
6385
+ gap: v()
6386
6386
  }],
6387
6387
  /**
6388
6388
  * Gap X
6389
6389
  * @see https://tailwindcss.com/docs/gap
6390
6390
  */
6391
6391
  "gap-x": [{
6392
- "gap-x": g()
6392
+ "gap-x": v()
6393
6393
  }],
6394
6394
  /**
6395
6395
  * Gap Y
6396
6396
  * @see https://tailwindcss.com/docs/gap
6397
6397
  */
6398
6398
  "gap-y": [{
6399
- "gap-y": g()
6399
+ "gap-y": v()
6400
6400
  }],
6401
6401
  /**
6402
6402
  * Justify Content
6403
6403
  * @see https://tailwindcss.com/docs/justify-content
6404
6404
  */
6405
6405
  "justify-content": [{
6406
- justify: [...j(), "normal"]
6406
+ justify: [...V(), "normal"]
6407
6407
  }],
6408
6408
  /**
6409
6409
  * Justify Items
6410
6410
  * @see https://tailwindcss.com/docs/justify-items
6411
6411
  */
6412
6412
  "justify-items": [{
6413
- "justify-items": [...w(), "normal"]
6413
+ "justify-items": [...y(), "normal"]
6414
6414
  }],
6415
6415
  /**
6416
6416
  * Justify Self
6417
6417
  * @see https://tailwindcss.com/docs/justify-self
6418
6418
  */
6419
6419
  "justify-self": [{
6420
- "justify-self": ["auto", ...w()]
6420
+ "justify-self": ["auto", ...y()]
6421
6421
  }],
6422
6422
  /**
6423
6423
  * Align Content
6424
6424
  * @see https://tailwindcss.com/docs/align-content
6425
6425
  */
6426
6426
  "align-content": [{
6427
- content: ["normal", ...j()]
6427
+ content: ["normal", ...V()]
6428
6428
  }],
6429
6429
  /**
6430
6430
  * Align Items
6431
6431
  * @see https://tailwindcss.com/docs/align-items
6432
6432
  */
6433
6433
  "align-items": [{
6434
- items: [...w(), {
6434
+ items: [...y(), {
6435
6435
  baseline: ["", "last"]
6436
6436
  }]
6437
6437
  }],
@@ -6440,7 +6440,7 @@ const $o = co(dr), pr = (t, o) => {
6440
6440
  * @see https://tailwindcss.com/docs/align-self
6441
6441
  */
6442
6442
  "align-self": [{
6443
- self: ["auto", ...w(), {
6443
+ self: ["auto", ...y(), {
6444
6444
  baseline: ["", "last"]
6445
6445
  }]
6446
6446
  }],
@@ -6449,21 +6449,21 @@ const $o = co(dr), pr = (t, o) => {
6449
6449
  * @see https://tailwindcss.com/docs/place-content
6450
6450
  */
6451
6451
  "place-content": [{
6452
- "place-content": j()
6452
+ "place-content": V()
6453
6453
  }],
6454
6454
  /**
6455
6455
  * Place Items
6456
6456
  * @see https://tailwindcss.com/docs/place-items
6457
6457
  */
6458
6458
  "place-items": [{
6459
- "place-items": [...w(), "baseline"]
6459
+ "place-items": [...y(), "baseline"]
6460
6460
  }],
6461
6461
  /**
6462
6462
  * Place Self
6463
6463
  * @see https://tailwindcss.com/docs/place-self
6464
6464
  */
6465
6465
  "place-self": [{
6466
- "place-self": ["auto", ...w()]
6466
+ "place-self": ["auto", ...y()]
6467
6467
  }],
6468
6468
  // Spacing
6469
6469
  /**
@@ -6471,133 +6471,133 @@ const $o = co(dr), pr = (t, o) => {
6471
6471
  * @see https://tailwindcss.com/docs/padding
6472
6472
  */
6473
6473
  p: [{
6474
- p: g()
6474
+ p: v()
6475
6475
  }],
6476
6476
  /**
6477
6477
  * Padding X
6478
6478
  * @see https://tailwindcss.com/docs/padding
6479
6479
  */
6480
6480
  px: [{
6481
- px: g()
6481
+ px: v()
6482
6482
  }],
6483
6483
  /**
6484
6484
  * Padding Y
6485
6485
  * @see https://tailwindcss.com/docs/padding
6486
6486
  */
6487
6487
  py: [{
6488
- py: g()
6488
+ py: v()
6489
6489
  }],
6490
6490
  /**
6491
6491
  * Padding Start
6492
6492
  * @see https://tailwindcss.com/docs/padding
6493
6493
  */
6494
6494
  ps: [{
6495
- ps: g()
6495
+ ps: v()
6496
6496
  }],
6497
6497
  /**
6498
6498
  * Padding End
6499
6499
  * @see https://tailwindcss.com/docs/padding
6500
6500
  */
6501
6501
  pe: [{
6502
- pe: g()
6502
+ pe: v()
6503
6503
  }],
6504
6504
  /**
6505
6505
  * Padding Top
6506
6506
  * @see https://tailwindcss.com/docs/padding
6507
6507
  */
6508
6508
  pt: [{
6509
- pt: g()
6509
+ pt: v()
6510
6510
  }],
6511
6511
  /**
6512
6512
  * Padding Right
6513
6513
  * @see https://tailwindcss.com/docs/padding
6514
6514
  */
6515
6515
  pr: [{
6516
- pr: g()
6516
+ pr: v()
6517
6517
  }],
6518
6518
  /**
6519
6519
  * Padding Bottom
6520
6520
  * @see https://tailwindcss.com/docs/padding
6521
6521
  */
6522
6522
  pb: [{
6523
- pb: g()
6523
+ pb: v()
6524
6524
  }],
6525
6525
  /**
6526
6526
  * Padding Left
6527
6527
  * @see https://tailwindcss.com/docs/padding
6528
6528
  */
6529
6529
  pl: [{
6530
- pl: g()
6530
+ pl: v()
6531
6531
  }],
6532
6532
  /**
6533
6533
  * Margin
6534
6534
  * @see https://tailwindcss.com/docs/margin
6535
6535
  */
6536
6536
  m: [{
6537
- m: N()
6537
+ m: F()
6538
6538
  }],
6539
6539
  /**
6540
6540
  * Margin X
6541
6541
  * @see https://tailwindcss.com/docs/margin
6542
6542
  */
6543
6543
  mx: [{
6544
- mx: N()
6544
+ mx: F()
6545
6545
  }],
6546
6546
  /**
6547
6547
  * Margin Y
6548
6548
  * @see https://tailwindcss.com/docs/margin
6549
6549
  */
6550
6550
  my: [{
6551
- my: N()
6551
+ my: F()
6552
6552
  }],
6553
6553
  /**
6554
6554
  * Margin Start
6555
6555
  * @see https://tailwindcss.com/docs/margin
6556
6556
  */
6557
6557
  ms: [{
6558
- ms: N()
6558
+ ms: F()
6559
6559
  }],
6560
6560
  /**
6561
6561
  * Margin End
6562
6562
  * @see https://tailwindcss.com/docs/margin
6563
6563
  */
6564
6564
  me: [{
6565
- me: N()
6565
+ me: F()
6566
6566
  }],
6567
6567
  /**
6568
6568
  * Margin Top
6569
6569
  * @see https://tailwindcss.com/docs/margin
6570
6570
  */
6571
6571
  mt: [{
6572
- mt: N()
6572
+ mt: F()
6573
6573
  }],
6574
6574
  /**
6575
6575
  * Margin Right
6576
6576
  * @see https://tailwindcss.com/docs/margin
6577
6577
  */
6578
6578
  mr: [{
6579
- mr: N()
6579
+ mr: F()
6580
6580
  }],
6581
6581
  /**
6582
6582
  * Margin Bottom
6583
6583
  * @see https://tailwindcss.com/docs/margin
6584
6584
  */
6585
6585
  mb: [{
6586
- mb: N()
6586
+ mb: F()
6587
6587
  }],
6588
6588
  /**
6589
6589
  * Margin Left
6590
6590
  * @see https://tailwindcss.com/docs/margin
6591
6591
  */
6592
6592
  ml: [{
6593
- ml: N()
6593
+ ml: F()
6594
6594
  }],
6595
6595
  /**
6596
6596
  * Space Between X
6597
6597
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
6598
6598
  */
6599
6599
  "space-x": [{
6600
- "space-x": g()
6600
+ "space-x": v()
6601
6601
  }],
6602
6602
  /**
6603
6603
  * Space Between X Reverse
@@ -6609,7 +6609,7 @@ const $o = co(dr), pr = (t, o) => {
6609
6609
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
6610
6610
  */
6611
6611
  "space-y": [{
6612
- "space-y": g()
6612
+ "space-y": v()
6613
6613
  }],
6614
6614
  /**
6615
6615
  * Space Between Y Reverse
@@ -6624,14 +6624,14 @@ const $o = co(dr), pr = (t, o) => {
6624
6624
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
6625
6625
  */
6626
6626
  size: [{
6627
- size: I()
6627
+ size: H()
6628
6628
  }],
6629
6629
  /**
6630
6630
  * Width
6631
6631
  * @see https://tailwindcss.com/docs/width
6632
6632
  */
6633
6633
  w: [{
6634
- w: [f, "screen", ...I()]
6634
+ w: [f, "screen", ...H()]
6635
6635
  }],
6636
6636
  /**
6637
6637
  * Min-Width
@@ -6643,7 +6643,7 @@ const $o = co(dr), pr = (t, o) => {
6643
6643
  "screen",
6644
6644
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
6645
6645
  "none",
6646
- ...I()
6646
+ ...H()
6647
6647
  ]
6648
6648
  }],
6649
6649
  /**
@@ -6661,7 +6661,7 @@ const $o = co(dr), pr = (t, o) => {
6661
6661
  {
6662
6662
  screen: [s]
6663
6663
  },
6664
- ...I()
6664
+ ...H()
6665
6665
  ]
6666
6666
  }],
6667
6667
  /**
@@ -6669,21 +6669,21 @@ const $o = co(dr), pr = (t, o) => {
6669
6669
  * @see https://tailwindcss.com/docs/height
6670
6670
  */
6671
6671
  h: [{
6672
- h: ["screen", "lh", ...I()]
6672
+ h: ["screen", "lh", ...H()]
6673
6673
  }],
6674
6674
  /**
6675
6675
  * Min-Height
6676
6676
  * @see https://tailwindcss.com/docs/min-height
6677
6677
  */
6678
6678
  "min-h": [{
6679
- "min-h": ["screen", "lh", "none", ...I()]
6679
+ "min-h": ["screen", "lh", "none", ...H()]
6680
6680
  }],
6681
6681
  /**
6682
6682
  * Max-Height
6683
6683
  * @see https://tailwindcss.com/docs/max-height
6684
6684
  */
6685
6685
  "max-h": [{
6686
- "max-h": ["screen", "lh", ...I()]
6686
+ "max-h": ["screen", "lh", ...H()]
6687
6687
  }],
6688
6688
  // ------------------
6689
6689
  // --- Typography ---
@@ -6710,21 +6710,21 @@ const $o = co(dr), pr = (t, o) => {
6710
6710
  * @see https://tailwindcss.com/docs/font-weight
6711
6711
  */
6712
6712
  "font-weight": [{
6713
- font: [i, k, Zo]
6713
+ font: [i, _, Zo]
6714
6714
  }],
6715
6715
  /**
6716
6716
  * Font Stretch
6717
6717
  * @see https://tailwindcss.com/docs/font-stretch
6718
6718
  */
6719
6719
  "font-stretch": [{
6720
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", qo, y]
6720
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", qo, k]
6721
6721
  }],
6722
6722
  /**
6723
6723
  * Font Family
6724
6724
  * @see https://tailwindcss.com/docs/font-family
6725
6725
  */
6726
6726
  "font-family": [{
6727
- font: [qr, y, o]
6727
+ font: [qr, k, o]
6728
6728
  }],
6729
6729
  /**
6730
6730
  * Font Variant Numeric
@@ -6761,14 +6761,14 @@ const $o = co(dr), pr = (t, o) => {
6761
6761
  * @see https://tailwindcss.com/docs/letter-spacing
6762
6762
  */
6763
6763
  tracking: [{
6764
- tracking: [r, k, y]
6764
+ tracking: [r, _, k]
6765
6765
  }],
6766
6766
  /**
6767
6767
  * Line Clamp
6768
6768
  * @see https://tailwindcss.com/docs/line-clamp
6769
6769
  */
6770
6770
  "line-clamp": [{
6771
- "line-clamp": [A, "none", k, Zo]
6771
+ "line-clamp": [B, "none", _, Zo]
6772
6772
  }],
6773
6773
  /**
6774
6774
  * Line Height
@@ -6778,7 +6778,7 @@ const $o = co(dr), pr = (t, o) => {
6778
6778
  leading: [
6779
6779
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
6780
6780
  n,
6781
- ...g()
6781
+ ...v()
6782
6782
  ]
6783
6783
  }],
6784
6784
  /**
@@ -6786,7 +6786,7 @@ const $o = co(dr), pr = (t, o) => {
6786
6786
  * @see https://tailwindcss.com/docs/list-style-image
6787
6787
  */
6788
6788
  "list-image": [{
6789
- "list-image": ["none", k, y]
6789
+ "list-image": ["none", _, k]
6790
6790
  }],
6791
6791
  /**
6792
6792
  * List Style Position
@@ -6800,7 +6800,7 @@ const $o = co(dr), pr = (t, o) => {
6800
6800
  * @see https://tailwindcss.com/docs/list-style-type
6801
6801
  */
6802
6802
  "list-style-type": [{
6803
- list: ["disc", "decimal", "none", k, y]
6803
+ list: ["disc", "decimal", "none", _, k]
6804
6804
  }],
6805
6805
  /**
6806
6806
  * Text Alignment
@@ -6815,14 +6815,14 @@ const $o = co(dr), pr = (t, o) => {
6815
6815
  * @see https://v3.tailwindcss.com/docs/placeholder-color
6816
6816
  */
6817
6817
  "placeholder-color": [{
6818
- placeholder: m()
6818
+ placeholder: g()
6819
6819
  }],
6820
6820
  /**
6821
6821
  * Text Color
6822
6822
  * @see https://tailwindcss.com/docs/text-color
6823
6823
  */
6824
6824
  "text-color": [{
6825
- text: m()
6825
+ text: g()
6826
6826
  }],
6827
6827
  /**
6828
6828
  * Text Decoration
@@ -6841,21 +6841,21 @@ const $o = co(dr), pr = (t, o) => {
6841
6841
  * @see https://tailwindcss.com/docs/text-decoration-thickness
6842
6842
  */
6843
6843
  "text-decoration-thickness": [{
6844
- decoration: [A, "from-font", "auto", k, vo]
6844
+ decoration: [B, "from-font", "auto", _, vo]
6845
6845
  }],
6846
6846
  /**
6847
6847
  * Text Decoration Color
6848
6848
  * @see https://tailwindcss.com/docs/text-decoration-color
6849
6849
  */
6850
6850
  "text-decoration-color": [{
6851
- decoration: m()
6851
+ decoration: g()
6852
6852
  }],
6853
6853
  /**
6854
6854
  * Text Underline Offset
6855
6855
  * @see https://tailwindcss.com/docs/text-underline-offset
6856
6856
  */
6857
6857
  "underline-offset": [{
6858
- "underline-offset": [A, "auto", k, y]
6858
+ "underline-offset": [B, "auto", _, k]
6859
6859
  }],
6860
6860
  /**
6861
6861
  * Text Transform
@@ -6879,14 +6879,14 @@ const $o = co(dr), pr = (t, o) => {
6879
6879
  * @see https://tailwindcss.com/docs/text-indent
6880
6880
  */
6881
6881
  indent: [{
6882
- indent: g()
6882
+ indent: v()
6883
6883
  }],
6884
6884
  /**
6885
6885
  * Vertical Alignment
6886
6886
  * @see https://tailwindcss.com/docs/vertical-align
6887
6887
  */
6888
6888
  "vertical-align": [{
6889
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", k, y]
6889
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", _, k]
6890
6890
  }],
6891
6891
  /**
6892
6892
  * Whitespace
@@ -6921,7 +6921,7 @@ const $o = co(dr), pr = (t, o) => {
6921
6921
  * @see https://tailwindcss.com/docs/content
6922
6922
  */
6923
6923
  content: [{
6924
- content: ["none", k, y]
6924
+ content: ["none", _, k]
6925
6925
  }],
6926
6926
  // -------------------
6927
6927
  // --- Backgrounds ---
@@ -6952,21 +6952,21 @@ const $o = co(dr), pr = (t, o) => {
6952
6952
  * @see https://tailwindcss.com/docs/background-position
6953
6953
  */
6954
6954
  "bg-position": [{
6955
- bg: to()
6955
+ bg: K()
6956
6956
  }],
6957
6957
  /**
6958
6958
  * Background Repeat
6959
6959
  * @see https://tailwindcss.com/docs/background-repeat
6960
6960
  */
6961
6961
  "bg-repeat": [{
6962
- bg: S()
6962
+ bg: w()
6963
6963
  }],
6964
6964
  /**
6965
6965
  * Background Size
6966
6966
  * @see https://tailwindcss.com/docs/background-size
6967
6967
  */
6968
6968
  "bg-size": [{
6969
- bg: X()
6969
+ bg: O()
6970
6970
  }],
6971
6971
  /**
6972
6972
  * Background Image
@@ -6976,9 +6976,9 @@ const $o = co(dr), pr = (t, o) => {
6976
6976
  bg: ["none", {
6977
6977
  linear: [{
6978
6978
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
6979
- }, xo, k, y],
6980
- radial: ["", k, y],
6981
- conic: [xo, k, y]
6979
+ }, xo, _, k],
6980
+ radial: ["", _, k],
6981
+ conic: [xo, _, k]
6982
6982
  }, Jr, Kr]
6983
6983
  }],
6984
6984
  /**
@@ -6986,49 +6986,49 @@ const $o = co(dr), pr = (t, o) => {
6986
6986
  * @see https://tailwindcss.com/docs/background-color
6987
6987
  */
6988
6988
  "bg-color": [{
6989
- bg: m()
6989
+ bg: g()
6990
6990
  }],
6991
6991
  /**
6992
6992
  * Gradient Color Stops From Position
6993
6993
  * @see https://tailwindcss.com/docs/gradient-color-stops
6994
6994
  */
6995
6995
  "gradient-from-pos": [{
6996
- from: K()
6996
+ from: q()
6997
6997
  }],
6998
6998
  /**
6999
6999
  * Gradient Color Stops Via Position
7000
7000
  * @see https://tailwindcss.com/docs/gradient-color-stops
7001
7001
  */
7002
7002
  "gradient-via-pos": [{
7003
- via: K()
7003
+ via: q()
7004
7004
  }],
7005
7005
  /**
7006
7006
  * Gradient Color Stops To Position
7007
7007
  * @see https://tailwindcss.com/docs/gradient-color-stops
7008
7008
  */
7009
7009
  "gradient-to-pos": [{
7010
- to: K()
7010
+ to: q()
7011
7011
  }],
7012
7012
  /**
7013
7013
  * Gradient Color Stops From
7014
7014
  * @see https://tailwindcss.com/docs/gradient-color-stops
7015
7015
  */
7016
7016
  "gradient-from": [{
7017
- from: m()
7017
+ from: g()
7018
7018
  }],
7019
7019
  /**
7020
7020
  * Gradient Color Stops Via
7021
7021
  * @see https://tailwindcss.com/docs/gradient-color-stops
7022
7022
  */
7023
7023
  "gradient-via": [{
7024
- via: m()
7024
+ via: g()
7025
7025
  }],
7026
7026
  /**
7027
7027
  * Gradient Color Stops To
7028
7028
  * @see https://tailwindcss.com/docs/gradient-color-stops
7029
7029
  */
7030
7030
  "gradient-to": [{
7031
- to: m()
7031
+ to: g()
7032
7032
  }],
7033
7033
  // ---------------
7034
7034
  // --- Borders ---
@@ -7143,70 +7143,70 @@ const $o = co(dr), pr = (t, o) => {
7143
7143
  * @see https://tailwindcss.com/docs/border-width
7144
7144
  */
7145
7145
  "border-w": [{
7146
- border: eo()
7146
+ border: to()
7147
7147
  }],
7148
7148
  /**
7149
7149
  * Border Width X
7150
7150
  * @see https://tailwindcss.com/docs/border-width
7151
7151
  */
7152
7152
  "border-w-x": [{
7153
- "border-x": eo()
7153
+ "border-x": to()
7154
7154
  }],
7155
7155
  /**
7156
7156
  * Border Width Y
7157
7157
  * @see https://tailwindcss.com/docs/border-width
7158
7158
  */
7159
7159
  "border-w-y": [{
7160
- "border-y": eo()
7160
+ "border-y": to()
7161
7161
  }],
7162
7162
  /**
7163
7163
  * Border Width Start
7164
7164
  * @see https://tailwindcss.com/docs/border-width
7165
7165
  */
7166
7166
  "border-w-s": [{
7167
- "border-s": eo()
7167
+ "border-s": to()
7168
7168
  }],
7169
7169
  /**
7170
7170
  * Border Width End
7171
7171
  * @see https://tailwindcss.com/docs/border-width
7172
7172
  */
7173
7173
  "border-w-e": [{
7174
- "border-e": eo()
7174
+ "border-e": to()
7175
7175
  }],
7176
7176
  /**
7177
7177
  * Border Width Top
7178
7178
  * @see https://tailwindcss.com/docs/border-width
7179
7179
  */
7180
7180
  "border-w-t": [{
7181
- "border-t": eo()
7181
+ "border-t": to()
7182
7182
  }],
7183
7183
  /**
7184
7184
  * Border Width Right
7185
7185
  * @see https://tailwindcss.com/docs/border-width
7186
7186
  */
7187
7187
  "border-w-r": [{
7188
- "border-r": eo()
7188
+ "border-r": to()
7189
7189
  }],
7190
7190
  /**
7191
7191
  * Border Width Bottom
7192
7192
  * @see https://tailwindcss.com/docs/border-width
7193
7193
  */
7194
7194
  "border-w-b": [{
7195
- "border-b": eo()
7195
+ "border-b": to()
7196
7196
  }],
7197
7197
  /**
7198
7198
  * Border Width Left
7199
7199
  * @see https://tailwindcss.com/docs/border-width
7200
7200
  */
7201
7201
  "border-w-l": [{
7202
- "border-l": eo()
7202
+ "border-l": to()
7203
7203
  }],
7204
7204
  /**
7205
7205
  * Divide Width X
7206
7206
  * @see https://tailwindcss.com/docs/border-width#between-children
7207
7207
  */
7208
7208
  "divide-x": [{
7209
- "divide-x": eo()
7209
+ "divide-x": to()
7210
7210
  }],
7211
7211
  /**
7212
7212
  * Divide Width X Reverse
@@ -7218,7 +7218,7 @@ const $o = co(dr), pr = (t, o) => {
7218
7218
  * @see https://tailwindcss.com/docs/border-width#between-children
7219
7219
  */
7220
7220
  "divide-y": [{
7221
- "divide-y": eo()
7221
+ "divide-y": to()
7222
7222
  }],
7223
7223
  /**
7224
7224
  * Divide Width Y Reverse
@@ -7244,70 +7244,70 @@ const $o = co(dr), pr = (t, o) => {
7244
7244
  * @see https://tailwindcss.com/docs/border-color
7245
7245
  */
7246
7246
  "border-color": [{
7247
- border: m()
7247
+ border: g()
7248
7248
  }],
7249
7249
  /**
7250
7250
  * Border Color X
7251
7251
  * @see https://tailwindcss.com/docs/border-color
7252
7252
  */
7253
7253
  "border-color-x": [{
7254
- "border-x": m()
7254
+ "border-x": g()
7255
7255
  }],
7256
7256
  /**
7257
7257
  * Border Color Y
7258
7258
  * @see https://tailwindcss.com/docs/border-color
7259
7259
  */
7260
7260
  "border-color-y": [{
7261
- "border-y": m()
7261
+ "border-y": g()
7262
7262
  }],
7263
7263
  /**
7264
7264
  * Border Color S
7265
7265
  * @see https://tailwindcss.com/docs/border-color
7266
7266
  */
7267
7267
  "border-color-s": [{
7268
- "border-s": m()
7268
+ "border-s": g()
7269
7269
  }],
7270
7270
  /**
7271
7271
  * Border Color E
7272
7272
  * @see https://tailwindcss.com/docs/border-color
7273
7273
  */
7274
7274
  "border-color-e": [{
7275
- "border-e": m()
7275
+ "border-e": g()
7276
7276
  }],
7277
7277
  /**
7278
7278
  * Border Color Top
7279
7279
  * @see https://tailwindcss.com/docs/border-color
7280
7280
  */
7281
7281
  "border-color-t": [{
7282
- "border-t": m()
7282
+ "border-t": g()
7283
7283
  }],
7284
7284
  /**
7285
7285
  * Border Color Right
7286
7286
  * @see https://tailwindcss.com/docs/border-color
7287
7287
  */
7288
7288
  "border-color-r": [{
7289
- "border-r": m()
7289
+ "border-r": g()
7290
7290
  }],
7291
7291
  /**
7292
7292
  * Border Color Bottom
7293
7293
  * @see https://tailwindcss.com/docs/border-color
7294
7294
  */
7295
7295
  "border-color-b": [{
7296
- "border-b": m()
7296
+ "border-b": g()
7297
7297
  }],
7298
7298
  /**
7299
7299
  * Border Color Left
7300
7300
  * @see https://tailwindcss.com/docs/border-color
7301
7301
  */
7302
7302
  "border-color-l": [{
7303
- "border-l": m()
7303
+ "border-l": g()
7304
7304
  }],
7305
7305
  /**
7306
7306
  * Divide Color
7307
7307
  * @see https://tailwindcss.com/docs/divide-color
7308
7308
  */
7309
7309
  "divide-color": [{
7310
- divide: m()
7310
+ divide: g()
7311
7311
  }],
7312
7312
  /**
7313
7313
  * Outline Style
@@ -7321,21 +7321,21 @@ const $o = co(dr), pr = (t, o) => {
7321
7321
  * @see https://tailwindcss.com/docs/outline-offset
7322
7322
  */
7323
7323
  "outline-offset": [{
7324
- "outline-offset": [A, k, y]
7324
+ "outline-offset": [B, _, k]
7325
7325
  }],
7326
7326
  /**
7327
7327
  * Outline Width
7328
7328
  * @see https://tailwindcss.com/docs/outline-width
7329
7329
  */
7330
7330
  "outline-w": [{
7331
- outline: ["", A, Lo, vo]
7331
+ outline: ["", B, Lo, vo]
7332
7332
  }],
7333
7333
  /**
7334
7334
  * Outline Color
7335
7335
  * @see https://tailwindcss.com/docs/outline-color
7336
7336
  */
7337
7337
  "outline-color": [{
7338
- outline: m()
7338
+ outline: g()
7339
7339
  }],
7340
7340
  // ---------------
7341
7341
  // --- Effects ---
@@ -7359,7 +7359,7 @@ const $o = co(dr), pr = (t, o) => {
7359
7359
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
7360
7360
  */
7361
7361
  "shadow-color": [{
7362
- shadow: m()
7362
+ shadow: g()
7363
7363
  }],
7364
7364
  /**
7365
7365
  * Inset Box Shadow
@@ -7373,14 +7373,14 @@ const $o = co(dr), pr = (t, o) => {
7373
7373
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
7374
7374
  */
7375
7375
  "inset-shadow-color": [{
7376
- "inset-shadow": m()
7376
+ "inset-shadow": g()
7377
7377
  }],
7378
7378
  /**
7379
7379
  * Ring Width
7380
7380
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
7381
7381
  */
7382
7382
  "ring-w": [{
7383
- ring: eo()
7383
+ ring: to()
7384
7384
  }],
7385
7385
  /**
7386
7386
  * Ring Width Inset
@@ -7394,7 +7394,7 @@ const $o = co(dr), pr = (t, o) => {
7394
7394
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
7395
7395
  */
7396
7396
  "ring-color": [{
7397
- ring: m()
7397
+ ring: g()
7398
7398
  }],
7399
7399
  /**
7400
7400
  * Ring Offset Width
@@ -7403,7 +7403,7 @@ const $o = co(dr), pr = (t, o) => {
7403
7403
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
7404
7404
  */
7405
7405
  "ring-offset-w": [{
7406
- "ring-offset": [A, vo]
7406
+ "ring-offset": [B, vo]
7407
7407
  }],
7408
7408
  /**
7409
7409
  * Ring Offset Color
@@ -7412,21 +7412,21 @@ const $o = co(dr), pr = (t, o) => {
7412
7412
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
7413
7413
  */
7414
7414
  "ring-offset-color": [{
7415
- "ring-offset": m()
7415
+ "ring-offset": g()
7416
7416
  }],
7417
7417
  /**
7418
7418
  * Inset Ring Width
7419
7419
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
7420
7420
  */
7421
7421
  "inset-ring-w": [{
7422
- "inset-ring": eo()
7422
+ "inset-ring": to()
7423
7423
  }],
7424
7424
  /**
7425
7425
  * Inset Ring Color
7426
7426
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
7427
7427
  */
7428
7428
  "inset-ring-color": [{
7429
- "inset-ring": m()
7429
+ "inset-ring": g()
7430
7430
  }],
7431
7431
  /**
7432
7432
  * Text Shadow
@@ -7440,14 +7440,14 @@ const $o = co(dr), pr = (t, o) => {
7440
7440
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
7441
7441
  */
7442
7442
  "text-shadow-color": [{
7443
- "text-shadow": m()
7443
+ "text-shadow": g()
7444
7444
  }],
7445
7445
  /**
7446
7446
  * Opacity
7447
7447
  * @see https://tailwindcss.com/docs/opacity
7448
7448
  */
7449
7449
  opacity: [{
7450
- opacity: [A, k, y]
7450
+ opacity: [B, _, k]
7451
7451
  }],
7452
7452
  /**
7453
7453
  * Mix Blend Mode
@@ -7482,106 +7482,106 @@ const $o = co(dr), pr = (t, o) => {
7482
7482
  * @see https://tailwindcss.com/docs/mask-image
7483
7483
  */
7484
7484
  "mask-image-linear-pos": [{
7485
- "mask-linear": [A]
7485
+ "mask-linear": [B]
7486
7486
  }],
7487
7487
  "mask-image-linear-from-pos": [{
7488
- "mask-linear-from": Z()
7488
+ "mask-linear-from": J()
7489
7489
  }],
7490
7490
  "mask-image-linear-to-pos": [{
7491
- "mask-linear-to": Z()
7491
+ "mask-linear-to": J()
7492
7492
  }],
7493
7493
  "mask-image-linear-from-color": [{
7494
- "mask-linear-from": m()
7494
+ "mask-linear-from": g()
7495
7495
  }],
7496
7496
  "mask-image-linear-to-color": [{
7497
- "mask-linear-to": m()
7497
+ "mask-linear-to": g()
7498
7498
  }],
7499
7499
  "mask-image-t-from-pos": [{
7500
- "mask-t-from": Z()
7500
+ "mask-t-from": J()
7501
7501
  }],
7502
7502
  "mask-image-t-to-pos": [{
7503
- "mask-t-to": Z()
7503
+ "mask-t-to": J()
7504
7504
  }],
7505
7505
  "mask-image-t-from-color": [{
7506
- "mask-t-from": m()
7506
+ "mask-t-from": g()
7507
7507
  }],
7508
7508
  "mask-image-t-to-color": [{
7509
- "mask-t-to": m()
7509
+ "mask-t-to": g()
7510
7510
  }],
7511
7511
  "mask-image-r-from-pos": [{
7512
- "mask-r-from": Z()
7512
+ "mask-r-from": J()
7513
7513
  }],
7514
7514
  "mask-image-r-to-pos": [{
7515
- "mask-r-to": Z()
7515
+ "mask-r-to": J()
7516
7516
  }],
7517
7517
  "mask-image-r-from-color": [{
7518
- "mask-r-from": m()
7518
+ "mask-r-from": g()
7519
7519
  }],
7520
7520
  "mask-image-r-to-color": [{
7521
- "mask-r-to": m()
7521
+ "mask-r-to": g()
7522
7522
  }],
7523
7523
  "mask-image-b-from-pos": [{
7524
- "mask-b-from": Z()
7524
+ "mask-b-from": J()
7525
7525
  }],
7526
7526
  "mask-image-b-to-pos": [{
7527
- "mask-b-to": Z()
7527
+ "mask-b-to": J()
7528
7528
  }],
7529
7529
  "mask-image-b-from-color": [{
7530
- "mask-b-from": m()
7530
+ "mask-b-from": g()
7531
7531
  }],
7532
7532
  "mask-image-b-to-color": [{
7533
- "mask-b-to": m()
7533
+ "mask-b-to": g()
7534
7534
  }],
7535
7535
  "mask-image-l-from-pos": [{
7536
- "mask-l-from": Z()
7536
+ "mask-l-from": J()
7537
7537
  }],
7538
7538
  "mask-image-l-to-pos": [{
7539
- "mask-l-to": Z()
7539
+ "mask-l-to": J()
7540
7540
  }],
7541
7541
  "mask-image-l-from-color": [{
7542
- "mask-l-from": m()
7542
+ "mask-l-from": g()
7543
7543
  }],
7544
7544
  "mask-image-l-to-color": [{
7545
- "mask-l-to": m()
7545
+ "mask-l-to": g()
7546
7546
  }],
7547
7547
  "mask-image-x-from-pos": [{
7548
- "mask-x-from": Z()
7548
+ "mask-x-from": J()
7549
7549
  }],
7550
7550
  "mask-image-x-to-pos": [{
7551
- "mask-x-to": Z()
7551
+ "mask-x-to": J()
7552
7552
  }],
7553
7553
  "mask-image-x-from-color": [{
7554
- "mask-x-from": m()
7554
+ "mask-x-from": g()
7555
7555
  }],
7556
7556
  "mask-image-x-to-color": [{
7557
- "mask-x-to": m()
7557
+ "mask-x-to": g()
7558
7558
  }],
7559
7559
  "mask-image-y-from-pos": [{
7560
- "mask-y-from": Z()
7560
+ "mask-y-from": J()
7561
7561
  }],
7562
7562
  "mask-image-y-to-pos": [{
7563
- "mask-y-to": Z()
7563
+ "mask-y-to": J()
7564
7564
  }],
7565
7565
  "mask-image-y-from-color": [{
7566
- "mask-y-from": m()
7566
+ "mask-y-from": g()
7567
7567
  }],
7568
7568
  "mask-image-y-to-color": [{
7569
- "mask-y-to": m()
7569
+ "mask-y-to": g()
7570
7570
  }],
7571
7571
  "mask-image-radial": [{
7572
- "mask-radial": [k, y]
7572
+ "mask-radial": [_, k]
7573
7573
  }],
7574
7574
  "mask-image-radial-from-pos": [{
7575
- "mask-radial-from": Z()
7575
+ "mask-radial-from": J()
7576
7576
  }],
7577
7577
  "mask-image-radial-to-pos": [{
7578
- "mask-radial-to": Z()
7578
+ "mask-radial-to": J()
7579
7579
  }],
7580
7580
  "mask-image-radial-from-color": [{
7581
- "mask-radial-from": m()
7581
+ "mask-radial-from": g()
7582
7582
  }],
7583
7583
  "mask-image-radial-to-color": [{
7584
- "mask-radial-to": m()
7584
+ "mask-radial-to": g()
7585
7585
  }],
7586
7586
  "mask-image-radial-shape": [{
7587
7587
  "mask-radial": ["circle", "ellipse"]
@@ -7596,19 +7596,19 @@ const $o = co(dr), pr = (t, o) => {
7596
7596
  "mask-radial-at": R()
7597
7597
  }],
7598
7598
  "mask-image-conic-pos": [{
7599
- "mask-conic": [A]
7599
+ "mask-conic": [B]
7600
7600
  }],
7601
7601
  "mask-image-conic-from-pos": [{
7602
- "mask-conic-from": Z()
7602
+ "mask-conic-from": J()
7603
7603
  }],
7604
7604
  "mask-image-conic-to-pos": [{
7605
- "mask-conic-to": Z()
7605
+ "mask-conic-to": J()
7606
7606
  }],
7607
7607
  "mask-image-conic-from-color": [{
7608
- "mask-conic-from": m()
7608
+ "mask-conic-from": g()
7609
7609
  }],
7610
7610
  "mask-image-conic-to-color": [{
7611
- "mask-conic-to": m()
7611
+ "mask-conic-to": g()
7612
7612
  }],
7613
7613
  /**
7614
7614
  * Mask Mode
@@ -7629,21 +7629,21 @@ const $o = co(dr), pr = (t, o) => {
7629
7629
  * @see https://tailwindcss.com/docs/mask-position
7630
7630
  */
7631
7631
  "mask-position": [{
7632
- mask: to()
7632
+ mask: K()
7633
7633
  }],
7634
7634
  /**
7635
7635
  * Mask Repeat
7636
7636
  * @see https://tailwindcss.com/docs/mask-repeat
7637
7637
  */
7638
7638
  "mask-repeat": [{
7639
- mask: S()
7639
+ mask: w()
7640
7640
  }],
7641
7641
  /**
7642
7642
  * Mask Size
7643
7643
  * @see https://tailwindcss.com/docs/mask-size
7644
7644
  */
7645
7645
  "mask-size": [{
7646
- mask: X()
7646
+ mask: O()
7647
7647
  }],
7648
7648
  /**
7649
7649
  * Mask Type
@@ -7657,7 +7657,7 @@ const $o = co(dr), pr = (t, o) => {
7657
7657
  * @see https://tailwindcss.com/docs/mask-image
7658
7658
  */
7659
7659
  "mask-image": [{
7660
- mask: ["none", k, y]
7660
+ mask: ["none", _, k]
7661
7661
  }],
7662
7662
  // ---------------
7663
7663
  // --- Filters ---
@@ -7671,8 +7671,8 @@ const $o = co(dr), pr = (t, o) => {
7671
7671
  // Deprecated since Tailwind CSS v3.0.0
7672
7672
  "",
7673
7673
  "none",
7674
- k,
7675
- y
7674
+ _,
7675
+ k
7676
7676
  ]
7677
7677
  }],
7678
7678
  /**
@@ -7687,14 +7687,14 @@ const $o = co(dr), pr = (t, o) => {
7687
7687
  * @see https://tailwindcss.com/docs/brightness
7688
7688
  */
7689
7689
  brightness: [{
7690
- brightness: [A, k, y]
7690
+ brightness: [B, _, k]
7691
7691
  }],
7692
7692
  /**
7693
7693
  * Contrast
7694
7694
  * @see https://tailwindcss.com/docs/contrast
7695
7695
  */
7696
7696
  contrast: [{
7697
- contrast: [A, k, y]
7697
+ contrast: [B, _, k]
7698
7698
  }],
7699
7699
  /**
7700
7700
  * Drop Shadow
@@ -7705,7 +7705,7 @@ const $o = co(dr), pr = (t, o) => {
7705
7705
  // Deprecated since Tailwind CSS v4.0.0
7706
7706
  "",
7707
7707
  "none",
7708
- p,
7708
+ x,
7709
7709
  Ho,
7710
7710
  Wo
7711
7711
  ]
@@ -7715,42 +7715,42 @@ const $o = co(dr), pr = (t, o) => {
7715
7715
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
7716
7716
  */
7717
7717
  "drop-shadow-color": [{
7718
- "drop-shadow": m()
7718
+ "drop-shadow": g()
7719
7719
  }],
7720
7720
  /**
7721
7721
  * Grayscale
7722
7722
  * @see https://tailwindcss.com/docs/grayscale
7723
7723
  */
7724
7724
  grayscale: [{
7725
- grayscale: ["", A, k, y]
7725
+ grayscale: ["", B, _, k]
7726
7726
  }],
7727
7727
  /**
7728
7728
  * Hue Rotate
7729
7729
  * @see https://tailwindcss.com/docs/hue-rotate
7730
7730
  */
7731
7731
  "hue-rotate": [{
7732
- "hue-rotate": [A, k, y]
7732
+ "hue-rotate": [B, _, k]
7733
7733
  }],
7734
7734
  /**
7735
7735
  * Invert
7736
7736
  * @see https://tailwindcss.com/docs/invert
7737
7737
  */
7738
7738
  invert: [{
7739
- invert: ["", A, k, y]
7739
+ invert: ["", B, _, k]
7740
7740
  }],
7741
7741
  /**
7742
7742
  * Saturate
7743
7743
  * @see https://tailwindcss.com/docs/saturate
7744
7744
  */
7745
7745
  saturate: [{
7746
- saturate: [A, k, y]
7746
+ saturate: [B, _, k]
7747
7747
  }],
7748
7748
  /**
7749
7749
  * Sepia
7750
7750
  * @see https://tailwindcss.com/docs/sepia
7751
7751
  */
7752
7752
  sepia: [{
7753
- sepia: ["", A, k, y]
7753
+ sepia: ["", B, _, k]
7754
7754
  }],
7755
7755
  /**
7756
7756
  * Backdrop Filter
@@ -7761,8 +7761,8 @@ const $o = co(dr), pr = (t, o) => {
7761
7761
  // Deprecated since Tailwind CSS v3.0.0
7762
7762
  "",
7763
7763
  "none",
7764
- k,
7765
- y
7764
+ _,
7765
+ k
7766
7766
  ]
7767
7767
  }],
7768
7768
  /**
@@ -7777,56 +7777,56 @@ const $o = co(dr), pr = (t, o) => {
7777
7777
  * @see https://tailwindcss.com/docs/backdrop-brightness
7778
7778
  */
7779
7779
  "backdrop-brightness": [{
7780
- "backdrop-brightness": [A, k, y]
7780
+ "backdrop-brightness": [B, _, k]
7781
7781
  }],
7782
7782
  /**
7783
7783
  * Backdrop Contrast
7784
7784
  * @see https://tailwindcss.com/docs/backdrop-contrast
7785
7785
  */
7786
7786
  "backdrop-contrast": [{
7787
- "backdrop-contrast": [A, k, y]
7787
+ "backdrop-contrast": [B, _, k]
7788
7788
  }],
7789
7789
  /**
7790
7790
  * Backdrop Grayscale
7791
7791
  * @see https://tailwindcss.com/docs/backdrop-grayscale
7792
7792
  */
7793
7793
  "backdrop-grayscale": [{
7794
- "backdrop-grayscale": ["", A, k, y]
7794
+ "backdrop-grayscale": ["", B, _, k]
7795
7795
  }],
7796
7796
  /**
7797
7797
  * Backdrop Hue Rotate
7798
7798
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
7799
7799
  */
7800
7800
  "backdrop-hue-rotate": [{
7801
- "backdrop-hue-rotate": [A, k, y]
7801
+ "backdrop-hue-rotate": [B, _, k]
7802
7802
  }],
7803
7803
  /**
7804
7804
  * Backdrop Invert
7805
7805
  * @see https://tailwindcss.com/docs/backdrop-invert
7806
7806
  */
7807
7807
  "backdrop-invert": [{
7808
- "backdrop-invert": ["", A, k, y]
7808
+ "backdrop-invert": ["", B, _, k]
7809
7809
  }],
7810
7810
  /**
7811
7811
  * Backdrop Opacity
7812
7812
  * @see https://tailwindcss.com/docs/backdrop-opacity
7813
7813
  */
7814
7814
  "backdrop-opacity": [{
7815
- "backdrop-opacity": [A, k, y]
7815
+ "backdrop-opacity": [B, _, k]
7816
7816
  }],
7817
7817
  /**
7818
7818
  * Backdrop Saturate
7819
7819
  * @see https://tailwindcss.com/docs/backdrop-saturate
7820
7820
  */
7821
7821
  "backdrop-saturate": [{
7822
- "backdrop-saturate": [A, k, y]
7822
+ "backdrop-saturate": [B, _, k]
7823
7823
  }],
7824
7824
  /**
7825
7825
  * Backdrop Sepia
7826
7826
  * @see https://tailwindcss.com/docs/backdrop-sepia
7827
7827
  */
7828
7828
  "backdrop-sepia": [{
7829
- "backdrop-sepia": ["", A, k, y]
7829
+ "backdrop-sepia": ["", B, _, k]
7830
7830
  }],
7831
7831
  // --------------
7832
7832
  // --- Tables ---
@@ -7843,21 +7843,21 @@ const $o = co(dr), pr = (t, o) => {
7843
7843
  * @see https://tailwindcss.com/docs/border-spacing
7844
7844
  */
7845
7845
  "border-spacing": [{
7846
- "border-spacing": g()
7846
+ "border-spacing": v()
7847
7847
  }],
7848
7848
  /**
7849
7849
  * Border Spacing X
7850
7850
  * @see https://tailwindcss.com/docs/border-spacing
7851
7851
  */
7852
7852
  "border-spacing-x": [{
7853
- "border-spacing-x": g()
7853
+ "border-spacing-x": v()
7854
7854
  }],
7855
7855
  /**
7856
7856
  * Border Spacing Y
7857
7857
  * @see https://tailwindcss.com/docs/border-spacing
7858
7858
  */
7859
7859
  "border-spacing-y": [{
7860
- "border-spacing-y": g()
7860
+ "border-spacing-y": v()
7861
7861
  }],
7862
7862
  /**
7863
7863
  * Table Layout
@@ -7881,7 +7881,7 @@ const $o = co(dr), pr = (t, o) => {
7881
7881
  * @see https://tailwindcss.com/docs/transition-property
7882
7882
  */
7883
7883
  transition: [{
7884
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", k, y]
7884
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", _, k]
7885
7885
  }],
7886
7886
  /**
7887
7887
  * Transition Behavior
@@ -7895,28 +7895,28 @@ const $o = co(dr), pr = (t, o) => {
7895
7895
  * @see https://tailwindcss.com/docs/transition-duration
7896
7896
  */
7897
7897
  duration: [{
7898
- duration: [A, "initial", k, y]
7898
+ duration: [B, "initial", _, k]
7899
7899
  }],
7900
7900
  /**
7901
7901
  * Transition Timing Function
7902
7902
  * @see https://tailwindcss.com/docs/transition-timing-function
7903
7903
  */
7904
7904
  ease: [{
7905
- ease: ["linear", "initial", F, k, y]
7905
+ ease: ["linear", "initial", N, _, k]
7906
7906
  }],
7907
7907
  /**
7908
7908
  * Transition Delay
7909
7909
  * @see https://tailwindcss.com/docs/transition-delay
7910
7910
  */
7911
7911
  delay: [{
7912
- delay: [A, k, y]
7912
+ delay: [B, _, k]
7913
7913
  }],
7914
7914
  /**
7915
7915
  * Animation
7916
7916
  * @see https://tailwindcss.com/docs/animation
7917
7917
  */
7918
7918
  animate: [{
7919
- animate: ["none", M, k, y]
7919
+ animate: ["none", M, _, k]
7920
7920
  }],
7921
7921
  // ------------------
7922
7922
  // --- Transforms ---
@@ -7933,14 +7933,14 @@ const $o = co(dr), pr = (t, o) => {
7933
7933
  * @see https://tailwindcss.com/docs/perspective
7934
7934
  */
7935
7935
  perspective: [{
7936
- perspective: [x, k, y]
7936
+ perspective: [p, _, k]
7937
7937
  }],
7938
7938
  /**
7939
7939
  * Perspective Origin
7940
7940
  * @see https://tailwindcss.com/docs/perspective-origin
7941
7941
  */
7942
7942
  "perspective-origin": [{
7943
- "perspective-origin": W()
7943
+ "perspective-origin": X()
7944
7944
  }],
7945
7945
  /**
7946
7946
  * Rotate
@@ -8029,14 +8029,14 @@ const $o = co(dr), pr = (t, o) => {
8029
8029
  * @see https://tailwindcss.com/docs/transform
8030
8030
  */
8031
8031
  transform: [{
8032
- transform: [k, y, "", "none", "gpu", "cpu"]
8032
+ transform: [_, k, "", "none", "gpu", "cpu"]
8033
8033
  }],
8034
8034
  /**
8035
8035
  * Transform Origin
8036
8036
  * @see https://tailwindcss.com/docs/transform-origin
8037
8037
  */
8038
8038
  "transform-origin": [{
8039
- origin: W()
8039
+ origin: X()
8040
8040
  }],
8041
8041
  /**
8042
8042
  * Transform Style
@@ -8050,28 +8050,28 @@ const $o = co(dr), pr = (t, o) => {
8050
8050
  * @see https://tailwindcss.com/docs/translate
8051
8051
  */
8052
8052
  translate: [{
8053
- translate: P()
8053
+ translate: L()
8054
8054
  }],
8055
8055
  /**
8056
8056
  * Translate X
8057
8057
  * @see https://tailwindcss.com/docs/translate
8058
8058
  */
8059
8059
  "translate-x": [{
8060
- "translate-x": P()
8060
+ "translate-x": L()
8061
8061
  }],
8062
8062
  /**
8063
8063
  * Translate Y
8064
8064
  * @see https://tailwindcss.com/docs/translate
8065
8065
  */
8066
8066
  "translate-y": [{
8067
- "translate-y": P()
8067
+ "translate-y": L()
8068
8068
  }],
8069
8069
  /**
8070
8070
  * Translate Z
8071
8071
  * @see https://tailwindcss.com/docs/translate
8072
8072
  */
8073
8073
  "translate-z": [{
8074
- "translate-z": P()
8074
+ "translate-z": L()
8075
8075
  }],
8076
8076
  /**
8077
8077
  * Translate None
@@ -8086,7 +8086,7 @@ const $o = co(dr), pr = (t, o) => {
8086
8086
  * @see https://tailwindcss.com/docs/accent-color
8087
8087
  */
8088
8088
  accent: [{
8089
- accent: m()
8089
+ accent: g()
8090
8090
  }],
8091
8091
  /**
8092
8092
  * Appearance
@@ -8100,7 +8100,7 @@ const $o = co(dr), pr = (t, o) => {
8100
8100
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
8101
8101
  */
8102
8102
  "caret-color": [{
8103
- caret: m()
8103
+ caret: g()
8104
8104
  }],
8105
8105
  /**
8106
8106
  * Color Scheme
@@ -8114,7 +8114,7 @@ const $o = co(dr), pr = (t, o) => {
8114
8114
  * @see https://tailwindcss.com/docs/cursor
8115
8115
  */
8116
8116
  cursor: [{
8117
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", k, y]
8117
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", _, k]
8118
8118
  }],
8119
8119
  /**
8120
8120
  * Field Sizing
@@ -8149,126 +8149,126 @@ const $o = co(dr), pr = (t, o) => {
8149
8149
  * @see https://tailwindcss.com/docs/scroll-margin
8150
8150
  */
8151
8151
  "scroll-m": [{
8152
- "scroll-m": g()
8152
+ "scroll-m": v()
8153
8153
  }],
8154
8154
  /**
8155
8155
  * Scroll Margin X
8156
8156
  * @see https://tailwindcss.com/docs/scroll-margin
8157
8157
  */
8158
8158
  "scroll-mx": [{
8159
- "scroll-mx": g()
8159
+ "scroll-mx": v()
8160
8160
  }],
8161
8161
  /**
8162
8162
  * Scroll Margin Y
8163
8163
  * @see https://tailwindcss.com/docs/scroll-margin
8164
8164
  */
8165
8165
  "scroll-my": [{
8166
- "scroll-my": g()
8166
+ "scroll-my": v()
8167
8167
  }],
8168
8168
  /**
8169
8169
  * Scroll Margin Start
8170
8170
  * @see https://tailwindcss.com/docs/scroll-margin
8171
8171
  */
8172
8172
  "scroll-ms": [{
8173
- "scroll-ms": g()
8173
+ "scroll-ms": v()
8174
8174
  }],
8175
8175
  /**
8176
8176
  * Scroll Margin End
8177
8177
  * @see https://tailwindcss.com/docs/scroll-margin
8178
8178
  */
8179
8179
  "scroll-me": [{
8180
- "scroll-me": g()
8180
+ "scroll-me": v()
8181
8181
  }],
8182
8182
  /**
8183
8183
  * Scroll Margin Top
8184
8184
  * @see https://tailwindcss.com/docs/scroll-margin
8185
8185
  */
8186
8186
  "scroll-mt": [{
8187
- "scroll-mt": g()
8187
+ "scroll-mt": v()
8188
8188
  }],
8189
8189
  /**
8190
8190
  * Scroll Margin Right
8191
8191
  * @see https://tailwindcss.com/docs/scroll-margin
8192
8192
  */
8193
8193
  "scroll-mr": [{
8194
- "scroll-mr": g()
8194
+ "scroll-mr": v()
8195
8195
  }],
8196
8196
  /**
8197
8197
  * Scroll Margin Bottom
8198
8198
  * @see https://tailwindcss.com/docs/scroll-margin
8199
8199
  */
8200
8200
  "scroll-mb": [{
8201
- "scroll-mb": g()
8201
+ "scroll-mb": v()
8202
8202
  }],
8203
8203
  /**
8204
8204
  * Scroll Margin Left
8205
8205
  * @see https://tailwindcss.com/docs/scroll-margin
8206
8206
  */
8207
8207
  "scroll-ml": [{
8208
- "scroll-ml": g()
8208
+ "scroll-ml": v()
8209
8209
  }],
8210
8210
  /**
8211
8211
  * Scroll Padding
8212
8212
  * @see https://tailwindcss.com/docs/scroll-padding
8213
8213
  */
8214
8214
  "scroll-p": [{
8215
- "scroll-p": g()
8215
+ "scroll-p": v()
8216
8216
  }],
8217
8217
  /**
8218
8218
  * Scroll Padding X
8219
8219
  * @see https://tailwindcss.com/docs/scroll-padding
8220
8220
  */
8221
8221
  "scroll-px": [{
8222
- "scroll-px": g()
8222
+ "scroll-px": v()
8223
8223
  }],
8224
8224
  /**
8225
8225
  * Scroll Padding Y
8226
8226
  * @see https://tailwindcss.com/docs/scroll-padding
8227
8227
  */
8228
8228
  "scroll-py": [{
8229
- "scroll-py": g()
8229
+ "scroll-py": v()
8230
8230
  }],
8231
8231
  /**
8232
8232
  * Scroll Padding Start
8233
8233
  * @see https://tailwindcss.com/docs/scroll-padding
8234
8234
  */
8235
8235
  "scroll-ps": [{
8236
- "scroll-ps": g()
8236
+ "scroll-ps": v()
8237
8237
  }],
8238
8238
  /**
8239
8239
  * Scroll Padding End
8240
8240
  * @see https://tailwindcss.com/docs/scroll-padding
8241
8241
  */
8242
8242
  "scroll-pe": [{
8243
- "scroll-pe": g()
8243
+ "scroll-pe": v()
8244
8244
  }],
8245
8245
  /**
8246
8246
  * Scroll Padding Top
8247
8247
  * @see https://tailwindcss.com/docs/scroll-padding
8248
8248
  */
8249
8249
  "scroll-pt": [{
8250
- "scroll-pt": g()
8250
+ "scroll-pt": v()
8251
8251
  }],
8252
8252
  /**
8253
8253
  * Scroll Padding Right
8254
8254
  * @see https://tailwindcss.com/docs/scroll-padding
8255
8255
  */
8256
8256
  "scroll-pr": [{
8257
- "scroll-pr": g()
8257
+ "scroll-pr": v()
8258
8258
  }],
8259
8259
  /**
8260
8260
  * Scroll Padding Bottom
8261
8261
  * @see https://tailwindcss.com/docs/scroll-padding
8262
8262
  */
8263
8263
  "scroll-pb": [{
8264
- "scroll-pb": g()
8264
+ "scroll-pb": v()
8265
8265
  }],
8266
8266
  /**
8267
8267
  * Scroll Padding Left
8268
8268
  * @see https://tailwindcss.com/docs/scroll-padding
8269
8269
  */
8270
8270
  "scroll-pl": [{
8271
- "scroll-pl": g()
8271
+ "scroll-pl": v()
8272
8272
  }],
8273
8273
  /**
8274
8274
  * Scroll Snap Align
@@ -8336,7 +8336,7 @@ const $o = co(dr), pr = (t, o) => {
8336
8336
  * @see https://tailwindcss.com/docs/will-change
8337
8337
  */
8338
8338
  "will-change": [{
8339
- "will-change": ["auto", "scroll", "contents", "transform", k, y]
8339
+ "will-change": ["auto", "scroll", "contents", "transform", _, k]
8340
8340
  }],
8341
8341
  // -----------
8342
8342
  // --- SVG ---
@@ -8346,21 +8346,21 @@ const $o = co(dr), pr = (t, o) => {
8346
8346
  * @see https://tailwindcss.com/docs/fill
8347
8347
  */
8348
8348
  fill: [{
8349
- fill: ["none", ...m()]
8349
+ fill: ["none", ...g()]
8350
8350
  }],
8351
8351
  /**
8352
8352
  * Stroke Width
8353
8353
  * @see https://tailwindcss.com/docs/stroke-width
8354
8354
  */
8355
8355
  "stroke-w": [{
8356
- stroke: [A, Lo, vo, Zo]
8356
+ stroke: [B, Lo, vo, Zo]
8357
8357
  }],
8358
8358
  /**
8359
8359
  * Stroke
8360
8360
  * @see https://tailwindcss.com/docs/stroke
8361
8361
  */
8362
8362
  stroke: [{
8363
- stroke: ["none", ...m()]
8363
+ stroke: ["none", ...g()]
8364
8364
  }],
8365
8365
  // ---------------------
8366
8366
  // --- Accessibility ---
@@ -8439,136 +8439,142 @@ const $o = co(dr), pr = (t, o) => {
8439
8439
  const o = l.useId(), e = t.id || o, [i, r] = l.useState(!1), n = U(null), s = U(!1), {
8440
8440
  containerClass: f,
8441
8441
  containerStyle: a,
8442
- label: u,
8443
- error: b,
8444
- mask: h,
8445
- type: d,
8446
- value: p,
8447
- controlled: v,
8448
- rules: x,
8449
- onChange: T,
8450
- onCommit: F,
8451
- leadingIcon: M,
8452
- trailingIcon: B,
8453
- ...R
8454
- } = t, W = p instanceof To, $ = typeof p == "string" ? p : W ? p.value : "", [L, g] = G($);
8455
- q(() => {
8456
- if (v) {
8457
- if (W)
8458
- return p.subscribe(g);
8459
- g(typeof p == "string" ? p : "");
8442
+ fieldClass: u,
8443
+ label: b,
8444
+ error: h,
8445
+ mask: d,
8446
+ type: x,
8447
+ value: m,
8448
+ controlled: p,
8449
+ rules: T,
8450
+ onChange: N,
8451
+ onCommit: M,
8452
+ leadingIcon: I,
8453
+ trailingIcon: R,
8454
+ ...X
8455
+ } = t, $ = m instanceof To, A = typeof m == "string" ? m : $ ? m.value : "", [v, z] = G(A);
8456
+ Z(() => {
8457
+ if (p) {
8458
+ if ($)
8459
+ return m.subscribe(z);
8460
+ z(typeof m == "string" ? m : "");
8460
8461
  }
8461
- }, [v, p, W]), q(() => v || !W ? void 0 : p.subscribe((m) => {
8462
+ }, [p, m, $]), Z(() => p || !$ ? void 0 : m.subscribe((K) => {
8462
8463
  if (s.current) return;
8463
- const to = n.current;
8464
- to && to.value !== m && (to.value = m);
8465
- }), [p, W, v]), l.useEffect(() => {
8466
- const I = n.current;
8467
- if (!I) return;
8468
- x && (I.__fiboRules = x);
8469
- const m = I.closest(".fibo-textfield-container"), to = m == null ? void 0 : m.querySelector(".fibo-field-error");
8470
- m && (m.__fiboShowError = (S) => {
8471
- to && (to.textContent = S ?? "", to.style.display = S ? "" : "none");
8464
+ const w = n.current;
8465
+ w && w.value !== K && (w.value = K);
8466
+ }), [m, $, p]), l.useEffect(() => {
8467
+ const g = n.current;
8468
+ if (!g) return;
8469
+ T && (g.__fiboRules = T);
8470
+ const K = g.closest(".fibo-textfield-container"), w = K == null ? void 0 : K.querySelector(".fibo-field-error");
8471
+ K && (K.__fiboShowError = (O) => {
8472
+ w && (w.textContent = O ?? "", w.style.display = O ? "" : "none");
8472
8473
  });
8473
- }, [x]);
8474
- const C = d === "password", H = C && i ? "text" : d, V = (I) => h ? tn(I, h) : I, N = {
8474
+ }, [T]);
8475
+ const P = x === "password", D = P && i ? "text" : x, S = (g) => d ? tn(g, d) : g, H = {
8475
8476
  key: "input",
8476
8477
  ref: n,
8477
8478
  id: e,
8478
8479
  className: "fibo-textfield-input w-full h-full bg-transparent outline-none py-2.5 text-sm",
8479
- style: { paddingLeft: M ? "2.75rem" : "1rem", paddingRight: B || C ? "2.75rem" : "1rem" },
8480
- type: H,
8481
- onChange: (I) => {
8482
- let m = V(I.target.value);
8483
- h && I.target.value !== m && (I.target.value = m), v && g(m), W && (s.current = !0, p.value = m, s.current = !1), T == null || T(m);
8480
+ style: { paddingLeft: I ? "2.75rem" : "1rem", paddingRight: R || P ? "2.75rem" : "1rem" },
8481
+ type: D,
8482
+ onChange: (g) => {
8483
+ let K = S(g.target.value);
8484
+ d && g.target.value !== K && (g.target.value = K), p && z(K), $ && (s.current = !0, m.value = K, s.current = !1), N == null || N(K);
8484
8485
  },
8485
- onBlur: (I) => {
8486
- var m;
8487
- F == null || F(V(I.target.value)), (m = R.onBlur) == null || m.call(R, I);
8486
+ onBlur: (g) => {
8487
+ var K;
8488
+ M == null || M(S(g.target.value)), (K = X.onBlur) == null || K.call(X, g);
8488
8489
  },
8489
- ...R
8490
+ ...X
8490
8491
  };
8491
- return v ? N.value = L : N.defaultValue = $, l.createElement(
8492
+ return p ? H.value = v : H.defaultValue = A, l.createElement(
8492
8493
  "div",
8493
8494
  { className: f, style: a },
8494
- l.createElement("div", { className: "relative w-full h-full flex items-center" }, [
8495
- M && l.createElement(
8496
- "div",
8497
- {
8498
- key: "leading-icon",
8499
- className: "absolute left-3 top-1/2 transform -translate-y-1/2 flex items-center justify-center pointer-events-none z-10"
8500
- },
8501
- M
8502
- ),
8503
- l.createElement("input", N),
8504
- u && l.createElement(
8505
- "label",
8506
- {
8507
- key: "label",
8508
- htmlFor: e,
8509
- className: "fibo-textfield-label",
8510
- style: { left: M ? "2.75rem" : "1rem" }
8511
- },
8512
- u
8513
- ),
8514
- (B || C) && l.createElement(
8515
- "div",
8516
- {
8517
- key: "trailing-icon",
8518
- className: "absolute right-3 top-1/2 transform -translate-y-1/2 flex items-center justify-center z-10"
8519
- },
8520
- C ? l.createElement(
8521
- "button",
8495
+ l.createElement(
8496
+ "div",
8497
+ { className: u || "relative w-full h-14 flex items-center" },
8498
+ [
8499
+ I && l.createElement(
8500
+ "div",
8522
8501
  {
8523
- type: "button",
8524
- className: "text-gray-400 hover:text-gray-600 focus:outline-none",
8525
- onClick: () => r(!i),
8526
- tabIndex: -1
8502
+ key: "leading-icon",
8503
+ className: "absolute left-3 top-1/2 transform -translate-y-1/2 flex items-center justify-center pointer-events-none z-10"
8527
8504
  },
8528
- i ? l.createElement(
8529
- "svg",
8530
- {
8531
- width: 16,
8532
- height: 16,
8533
- viewBox: "0 0 24 24",
8534
- fill: "none",
8535
- stroke: "currentColor",
8536
- strokeWidth: 2,
8537
- strokeLinecap: "round",
8538
- strokeLinejoin: "round"
8539
- },
8540
- l.createElement("path", {
8541
- d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"
8542
- }),
8543
- l.createElement("line", { x1: 1, y1: 1, x2: 23, y2: 23 })
8544
- ) : l.createElement(
8545
- "svg",
8505
+ I
8506
+ ),
8507
+ l.createElement("input", H),
8508
+ b && l.createElement(
8509
+ "label",
8510
+ {
8511
+ key: "label",
8512
+ htmlFor: e,
8513
+ className: "fibo-textfield-label",
8514
+ style: { left: I ? "2.75rem" : "1rem" }
8515
+ },
8516
+ b
8517
+ ),
8518
+ (R || P) && l.createElement(
8519
+ "div",
8520
+ {
8521
+ key: "trailing-icon",
8522
+ className: "absolute right-3 top-1/2 transform -translate-y-1/2 flex items-center justify-center z-10"
8523
+ },
8524
+ P ? l.createElement(
8525
+ "button",
8546
8526
  {
8547
- width: 16,
8548
- height: 16,
8549
- viewBox: "0 0 24 24",
8550
- fill: "none",
8551
- stroke: "currentColor",
8552
- strokeWidth: 2,
8553
- strokeLinecap: "round",
8554
- strokeLinejoin: "round"
8527
+ type: "button",
8528
+ className: "text-gray-400 hover:text-gray-600 focus:outline-none",
8529
+ onClick: () => r(!i),
8530
+ tabIndex: -1
8555
8531
  },
8556
- l.createElement("path", {
8557
- d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"
8558
- }),
8559
- l.createElement("circle", { cx: 12, cy: 12, r: 3 })
8560
- )
8561
- ) : B
8562
- )
8563
- ]),
8532
+ i ? l.createElement(
8533
+ "svg",
8534
+ {
8535
+ width: 16,
8536
+ height: 16,
8537
+ viewBox: "0 0 24 24",
8538
+ fill: "none",
8539
+ stroke: "currentColor",
8540
+ strokeWidth: 2,
8541
+ strokeLinecap: "round",
8542
+ strokeLinejoin: "round"
8543
+ },
8544
+ l.createElement("path", {
8545
+ d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"
8546
+ }),
8547
+ l.createElement("line", { x1: 1, y1: 1, x2: 23, y2: 23 })
8548
+ ) : l.createElement(
8549
+ "svg",
8550
+ {
8551
+ width: 16,
8552
+ height: 16,
8553
+ viewBox: "0 0 24 24",
8554
+ fill: "none",
8555
+ stroke: "currentColor",
8556
+ strokeWidth: 2,
8557
+ strokeLinecap: "round",
8558
+ strokeLinejoin: "round"
8559
+ },
8560
+ l.createElement("path", {
8561
+ d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"
8562
+ }),
8563
+ l.createElement("circle", { cx: 12, cy: 12, r: 3 })
8564
+ )
8565
+ ) : R
8566
+ )
8567
+ ]
8568
+ ),
8564
8569
  l.createElement(
8565
8570
  "span",
8566
8571
  {
8567
8572
  id: t.name ? `fibo-err-${t.name}` : void 0,
8568
8573
  className: "fibo-field-error text-[var(--fibo-error,#b91c1c)] text-xs mt-1 ml-1",
8569
- style: { display: b ? "" : "none" }
8574
+ role: "alert",
8575
+ style: { display: h ? "" : "none" }
8570
8576
  },
8571
- b || ""
8577
+ h || ""
8572
8578
  )
8573
8579
  );
8574
8580
  });
@@ -8647,10 +8653,14 @@ class nn extends ao {
8647
8653
  return this._variant = e, this;
8648
8654
  }
8649
8655
  build() {
8650
- let e = "fibo-textfield-container w-full h-14 relative";
8656
+ let e = "relative w-full h-14 flex items-center";
8651
8657
  this._variant === "outlined" ? e += " border border-[var(--fibo-outline)] rounded-[4px] bg-transparent" : e += " bg-[var(--fibo-surface-variant)] rounded-t-[4px] border-b border-[var(--fibo-outline)]";
8652
8658
  const r = {
8653
- containerClass: Io(e, ...this._classNames),
8659
+ containerClass: Io(
8660
+ "fibo-textfield-container w-full flex flex-col",
8661
+ ...this._classNames
8662
+ ),
8663
+ fieldClass: e,
8654
8664
  containerStyle: this.getStyle(),
8655
8665
  label: this._label,
8656
8666
  error: this._error,
@@ -8685,38 +8695,38 @@ const ks = co(nn), sn = l.memo((t) => {
8685
8695
  error: b,
8686
8696
  className: h,
8687
8697
  style: d,
8688
- id: p
8689
- } = t, v = U(null), x = U(null), T = o, [F, M] = G(T), B = e ? !!o : F, R = B || s;
8690
- q(() => {
8691
- v.current && (v.current.indeterminate = !!s);
8692
- }, [s]), q(() => {
8698
+ id: x
8699
+ } = t, m = U(null), p = U(null), T = o, [N, M] = G(T), I = e ? !!o : N, R = I || s;
8700
+ Z(() => {
8701
+ m.current && (m.current.indeterminate = !!s);
8702
+ }, [s]), Z(() => {
8693
8703
  if (e) return;
8694
- const g = v.current;
8695
- if (!g) return;
8696
- const C = () => M(g.checked), H = () => {
8697
- requestAnimationFrame(C);
8704
+ const v = m.current;
8705
+ if (!v) return;
8706
+ const z = () => M(v.checked), P = () => {
8707
+ requestAnimationFrame(z);
8698
8708
  };
8699
- g.addEventListener("fibo-sync", C);
8700
- const V = g.closest("form");
8701
- return V == null || V.addEventListener("reset", H), () => {
8702
- g.removeEventListener("fibo-sync", C), V == null || V.removeEventListener("reset", H);
8709
+ v.addEventListener("fibo-sync", z);
8710
+ const D = v.closest("form");
8711
+ return D == null || D.addEventListener("reset", P), () => {
8712
+ v.removeEventListener("fibo-sync", z), D == null || D.removeEventListener("reset", P);
8703
8713
  };
8704
- }, [e]), q(() => {
8705
- const g = v.current, C = x.current;
8706
- if (!g) return;
8707
- u && (g.__fiboRules = u);
8708
- const H = C == null ? void 0 : C.querySelector(".fibo-field-error");
8709
- C && (C.__fiboShowError = (V) => {
8710
- H && (H.textContent = V ?? "", H.style.display = V ? "" : "none");
8714
+ }, [e]), Z(() => {
8715
+ const v = m.current, z = p.current;
8716
+ if (!v) return;
8717
+ u && (v.__fiboRules = u);
8718
+ const P = z == null ? void 0 : z.querySelector(".fibo-field-error");
8719
+ z && (z.__fiboShowError = (D) => {
8720
+ P && (P.textContent = D ?? "", P.style.display = D ? "" : "none");
8711
8721
  });
8712
8722
  }, [u]);
8713
- const W = (g) => {
8723
+ const X = (v) => {
8714
8724
  if (n) return;
8715
- const C = g.target.checked;
8716
- e || M(C), i == null || i(C);
8725
+ const z = v.target.checked;
8726
+ e || M(z), i == null || i(z);
8717
8727
  };
8718
8728
  let $ = null;
8719
- s ? $ = l.createElement("div", { className: "w-[10px] h-[2px] bg-white rounded-[1px]" }) : B && ($ = l.createElement(
8729
+ s ? $ = l.createElement("div", { className: "w-[10px] h-[2px] bg-white rounded-[1px]" }) : I && ($ = l.createElement(
8720
8730
  "svg",
8721
8731
  {
8722
8732
  width: "12",
@@ -8734,20 +8744,20 @@ const ks = co(nn), sn = l.memo((t) => {
8734
8744
  strokeLinejoin: "round"
8735
8745
  })
8736
8746
  ));
8737
- const L = {
8738
- ref: v,
8739
- id: p,
8747
+ const A = {
8748
+ ref: m,
8749
+ id: x,
8740
8750
  type: "checkbox",
8741
8751
  name: f,
8742
8752
  value: a,
8743
8753
  disabled: n,
8744
8754
  className: "sr-only",
8745
- onChange: W
8755
+ onChange: X
8746
8756
  };
8747
- return e ? L.checked = !!o : L.defaultChecked = T, l.createElement(
8757
+ return e ? A.checked = !!o : A.defaultChecked = T, l.createElement(
8748
8758
  "div",
8749
8759
  {
8750
- ref: x,
8760
+ ref: p,
8751
8761
  className: Io("fibo-checkbox-container", h)
8752
8762
  },
8753
8763
  l.createElement(
@@ -8769,7 +8779,7 @@ const ks = co(nn), sn = l.memo((t) => {
8769
8779
  $
8770
8780
  ),
8771
8781
  r && l.createElement("span", { className: "text-sm text-gray-700 select-none" }, r),
8772
- l.createElement("input", L)
8782
+ l.createElement("input", A)
8773
8783
  ),
8774
8784
  l.createElement(
8775
8785
  "span",
@@ -8859,73 +8869,73 @@ const cn = l.memo((t) => {
8859
8869
  containerClass: b,
8860
8870
  containerStyle: h,
8861
8871
  label: d,
8862
- error: p,
8863
- value: v,
8864
- options: x = [],
8872
+ error: x,
8873
+ value: m,
8874
+ options: p = [],
8865
8875
  placeholder: T,
8866
- onChange: F,
8876
+ onChange: N,
8867
8877
  disabled: M,
8868
- multiple: B,
8878
+ multiple: I,
8869
8879
  name: R,
8870
- controlled: W = !1,
8880
+ controlled: X = !1,
8871
8881
  rules: $
8872
- } = t, [L, g] = G(
8873
- () => v ?? (B ? [] : "")
8874
- ), C = W ? v ?? (B ? [] : "") : L;
8875
- q(() => {
8876
- const w = (N) => {
8877
- a.current && !a.current.contains(N.target) && n(!1);
8882
+ } = t, [A, v] = G(
8883
+ () => m ?? (I ? [] : "")
8884
+ ), z = X ? m ?? (I ? [] : "") : A;
8885
+ Z(() => {
8886
+ const y = (F) => {
8887
+ a.current && !a.current.contains(F.target) && n(!1);
8878
8888
  };
8879
- return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
8880
- }, []), q(() => {
8881
- const w = u.current;
8882
- if (!w) return;
8883
- $ && (w.__fiboRules = $);
8884
- const N = w.closest(".fibo-textfield-container"), I = N == null ? void 0 : N.querySelector(".fibo-field-error");
8885
- N && (N.__fiboShowError = (m) => {
8886
- I && (I.textContent = m ?? "", I.style.display = m ? "" : "none");
8889
+ return document.addEventListener("mousedown", y), () => document.removeEventListener("mousedown", y);
8890
+ }, []), Z(() => {
8891
+ const y = u.current;
8892
+ if (!y) return;
8893
+ $ && (y.__fiboRules = $);
8894
+ const F = y.closest(".fibo-textfield-container"), H = F == null ? void 0 : F.querySelector(".fibo-field-error");
8895
+ F && (F.__fiboShowError = (g) => {
8896
+ H && (H.textContent = g ?? "", H.style.display = g ? "" : "none");
8887
8897
  });
8888
8898
  }, [$]);
8889
- const H = (w) => B ? Array.isArray(C) && C.includes(w) : C === w;
8890
- let V = "";
8891
- if (B)
8892
- Array.isArray(C) && C.length > 0 && (V = x.filter((w) => C.includes(w.value)).map((w) => w.label).join(", "));
8899
+ const P = (y) => I ? Array.isArray(z) && z.includes(y) : z === y;
8900
+ let D = "";
8901
+ if (I)
8902
+ Array.isArray(z) && z.length > 0 && (D = p.filter((y) => z.includes(y.value)).map((y) => y.label).join(", "));
8893
8903
  else {
8894
- const w = x.find((N) => N.value === C);
8895
- V = w ? w.label : "";
8904
+ const y = p.find((F) => F.value === z);
8905
+ D = y ? y.label : "";
8896
8906
  }
8897
- const _ = (w) => {
8907
+ const S = (y) => {
8898
8908
  if (M) return;
8899
- let N;
8900
- if (B) {
8901
- const I = Array.isArray(C) ? [...C] : [], m = I.indexOf(w);
8902
- m > -1 ? I.splice(m, 1) : I.push(w), N = I;
8909
+ let F;
8910
+ if (I) {
8911
+ const H = Array.isArray(z) ? [...z] : [], g = H.indexOf(y);
8912
+ g > -1 ? H.splice(g, 1) : H.push(y), F = H;
8903
8913
  } else
8904
- N = w, n(!1);
8905
- W || g(N), F == null || F(N);
8906
- }, z = (w) => {
8907
- x.length !== 0 && f((N) => (N + w + x.length) % x.length);
8908
- }, j = (w) => {
8914
+ F = y, n(!1);
8915
+ X || v(F), N == null || N(F);
8916
+ }, C = (y) => {
8917
+ p.length !== 0 && f((F) => (F + y + p.length) % p.length);
8918
+ }, V = (y) => {
8909
8919
  if (!M)
8910
- switch (w.key) {
8920
+ switch (y.key) {
8911
8921
  case "ArrowDown":
8912
- w.preventDefault(), r ? z(1) : n(!0);
8922
+ y.preventDefault(), r ? C(1) : n(!0);
8913
8923
  break;
8914
8924
  case "ArrowUp":
8915
- w.preventDefault(), r ? z(-1) : n(!0);
8925
+ y.preventDefault(), r ? C(-1) : n(!0);
8916
8926
  break;
8917
8927
  case "Home":
8918
- w.preventDefault(), f(0);
8928
+ y.preventDefault(), f(0);
8919
8929
  break;
8920
8930
  case "End":
8921
- w.preventDefault(), f(Math.max(0, x.length - 1));
8931
+ y.preventDefault(), f(Math.max(0, p.length - 1));
8922
8932
  break;
8923
8933
  case "Enter":
8924
8934
  case " ":
8925
- w.preventDefault(), r ? x[s] && _(x[s].value) : n(!0);
8935
+ y.preventDefault(), r ? p[s] && S(p[s].value) : n(!0);
8926
8936
  break;
8927
8937
  case "Escape":
8928
- w.preventDefault(), n(!1);
8938
+ y.preventDefault(), n(!1);
8929
8939
  break;
8930
8940
  }
8931
8941
  };
@@ -8942,7 +8952,7 @@ const cn = l.memo((t) => {
8942
8952
  ref: u,
8943
8953
  type: "hidden",
8944
8954
  name: R,
8945
- value: an(C)
8955
+ value: an(z)
8946
8956
  }) : null,
8947
8957
  l.createElement("button", {
8948
8958
  key: "trigger",
@@ -8952,13 +8962,13 @@ const cn = l.memo((t) => {
8952
8962
  "aria-expanded": r,
8953
8963
  "aria-haspopup": "listbox",
8954
8964
  "aria-controls": i,
8955
- "aria-activedescendant": r && x[s] ? `${i}-opt-${x[s].value}` : void 0,
8965
+ "aria-activedescendant": r && p[s] ? `${i}-opt-${p[s].value}` : void 0,
8956
8966
  disabled: M,
8957
- className: `fibo-textfield-input text-left w-full flex items-center justify-between ${V ? "" : "text-gray-400"}`,
8967
+ className: `fibo-textfield-input text-left w-full flex items-center justify-between ${D ? "" : "text-gray-400"}`,
8958
8968
  onClick: () => !M && n(!r),
8959
- onKeyDown: j
8969
+ onKeyDown: V
8960
8970
  }, [
8961
- l.createElement("span", { key: "text", className: "truncate" }, V || T || " "),
8971
+ l.createElement("span", { key: "text", className: "truncate" }, D || T || " "),
8962
8972
  l.createElement("svg", {
8963
8973
  key: "icon",
8964
8974
  className: `w-4 h-4 transition-transform ${r ? "rotate-180" : ""}`,
@@ -8981,21 +8991,21 @@ const cn = l.memo((t) => {
8981
8991
  key: "dropdown",
8982
8992
  id: i,
8983
8993
  role: "listbox",
8984
- "aria-multiselectable": B || void 0,
8994
+ "aria-multiselectable": I || void 0,
8985
8995
  className: "absolute z-50 w-full mt-1 bg-[var(--fibo-surface)] border border-[var(--fibo-outline)] rounded-md shadow-lg max-h-60 overflow-auto focus:outline-none"
8986
- }, x.map((w, N) => {
8987
- const I = H(w.value), m = N === s;
8996
+ }, p.map((y, F) => {
8997
+ const H = P(y.value), g = F === s;
8988
8998
  return l.createElement("div", {
8989
- key: w.value,
8990
- id: `${i}-opt-${w.value}`,
8999
+ key: y.value,
9000
+ id: `${i}-opt-${y.value}`,
8991
9001
  role: "option",
8992
- "aria-selected": I,
8993
- className: `px-4 py-2 cursor-pointer text-sm hover:bg-[var(--fibo-primary-container)] hover:text-[var(--fibo-on-primary-container)] flex items-center justify-between ${I || m ? "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] font-medium" : "text-[var(--fibo-on-surface)]"}`,
8994
- onClick: () => _(w.value),
8995
- onMouseEnter: () => f(N)
9002
+ "aria-selected": H,
9003
+ className: `px-4 py-2 cursor-pointer text-sm hover:bg-[var(--fibo-primary-container)] hover:text-[var(--fibo-on-primary-container)] flex items-center justify-between ${H || g ? "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] font-medium" : "text-[var(--fibo-on-surface)]"}`,
9004
+ onClick: () => S(y.value),
9005
+ onMouseEnter: () => f(F)
8996
9006
  }, [
8997
- l.createElement("span", { key: "label" }, w.label),
8998
- I && l.createElement("svg", {
9007
+ l.createElement("span", { key: "label" }, y.label),
9008
+ H && l.createElement("svg", {
8999
9009
  key: "check",
9000
9010
  className: "w-4 h-4 text-[var(--fibo-primary)]",
9001
9011
  viewBox: "0 0 20 20",
@@ -9009,10 +9019,10 @@ const cn = l.memo((t) => {
9009
9019
  "span",
9010
9020
  {
9011
9021
  className: "fibo-field-error text-[var(--fibo-error)] text-xs mt-1 ml-1",
9012
- style: { display: p ? "" : "none" },
9022
+ style: { display: x ? "" : "none" },
9013
9023
  role: "alert"
9014
9024
  },
9015
- p || ""
9025
+ x || ""
9016
9026
  )
9017
9027
  );
9018
9028
  });
@@ -9097,82 +9107,82 @@ function un(t) {
9097
9107
  const bn = l.memo((t) => {
9098
9108
  const o = l.useId(), e = t.id || o, i = `${e}-listbox`, [r, n] = G(!1), [s, f] = G(""), [a, u] = G(0), b = U(null), h = U(null), {
9099
9109
  containerClass: d,
9100
- containerStyle: p,
9101
- label: v,
9102
- error: x,
9110
+ containerStyle: x,
9111
+ label: m,
9112
+ error: p,
9103
9113
  value: T,
9104
- options: F = [],
9114
+ options: N = [],
9105
9115
  placeholder: M,
9106
- onChange: B,
9116
+ onChange: I,
9107
9117
  onAdd: R,
9108
- disabled: W,
9118
+ disabled: X,
9109
9119
  multiple: $,
9110
- name: L,
9111
- controlled: g = !1,
9112
- rules: C
9113
- } = t, [H, V] = G(
9120
+ name: A,
9121
+ controlled: v = !1,
9122
+ rules: z
9123
+ } = t, [P, D] = G(
9114
9124
  () => T ?? ($ ? [] : "")
9115
- ), _ = g ? T ?? ($ ? [] : "") : H;
9116
- q(() => {
9125
+ ), S = v ? T ?? ($ ? [] : "") : P;
9126
+ Z(() => {
9117
9127
  if (!$) {
9118
- const S = F.find((X) => X.value === _);
9119
- S && !r && s !== S.label && f(S.label);
9128
+ const w = N.find((O) => O.value === S);
9129
+ w && !r && s !== w.label && f(w.label);
9120
9130
  }
9121
- }, [_, F, r, $]);
9122
- const z = F.filter(
9123
- (S) => S.label.toLowerCase().includes(s.toLowerCase())
9131
+ }, [S, N, r, $]);
9132
+ const C = N.filter(
9133
+ (w) => w.label.toLowerCase().includes(s.toLowerCase())
9124
9134
  );
9125
- q(() => {
9135
+ Z(() => {
9126
9136
  u(0);
9127
- }, [s, r]), q(() => {
9128
- const S = (X) => {
9129
- if (b.current && !b.current.contains(X.target))
9137
+ }, [s, r]), Z(() => {
9138
+ const w = (O) => {
9139
+ if (b.current && !b.current.contains(O.target))
9130
9140
  if (n(!1), $)
9131
9141
  f("");
9132
9142
  else {
9133
- const K = F.find((Y) => Y.value === _);
9134
- f(K ? K.label : "");
9143
+ const q = N.find((Y) => Y.value === S);
9144
+ f(q ? q.label : "");
9135
9145
  }
9136
9146
  };
9137
- return document.addEventListener("mousedown", S), () => document.removeEventListener("mousedown", S);
9138
- }, [_, F, $]), q(() => {
9139
- const S = h.current;
9140
- if (!S) return;
9141
- C && (S.__fiboRules = C);
9142
- const X = S.closest(".fibo-textfield-container"), K = X == null ? void 0 : X.querySelector(".fibo-field-error");
9143
- X && (X.__fiboShowError = (Y) => {
9144
- K && (K.textContent = Y ?? "", K.style.display = Y ? "" : "none");
9147
+ return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
9148
+ }, [S, N, $]), Z(() => {
9149
+ const w = h.current;
9150
+ if (!w) return;
9151
+ z && (w.__fiboRules = z);
9152
+ const O = w.closest(".fibo-textfield-container"), q = O == null ? void 0 : O.querySelector(".fibo-field-error");
9153
+ O && (O.__fiboShowError = (Y) => {
9154
+ q && (q.textContent = Y ?? "", q.style.display = Y ? "" : "none");
9145
9155
  });
9146
- }, [C]);
9147
- const j = (S) => {
9148
- g || V(S), B == null || B(S);
9149
- }, w = (S) => {
9156
+ }, [z]);
9157
+ const V = (w) => {
9158
+ v || D(w), I == null || I(w);
9159
+ }, y = (w) => {
9150
9160
  if ($) {
9151
- const X = Array.isArray(_) ? [..._] : [];
9152
- X.includes(S.value) || (X.push(S.value), j(X)), f("");
9161
+ const O = Array.isArray(S) ? [...S] : [];
9162
+ O.includes(w.value) || (O.push(w.value), V(O)), f("");
9153
9163
  } else
9154
- f(S.label), j(S.value), n(!1);
9155
- }, N = (S) => {
9156
- if ($ && Array.isArray(_)) {
9157
- const X = _.filter((K) => K !== S);
9158
- j(X);
9164
+ f(w.label), V(w.value), n(!1);
9165
+ }, F = (w) => {
9166
+ if ($ && Array.isArray(S)) {
9167
+ const O = S.filter((q) => q !== w);
9168
+ V(O);
9159
9169
  }
9160
- }, I = () => {
9170
+ }, H = () => {
9161
9171
  R == null || R(s), $ ? f("") : n(!1);
9162
- }, m = (S) => $ ? Array.isArray(_) && _.includes(S) : _ === S, to = (S) => {
9163
- if (!W)
9164
- switch (S.key) {
9172
+ }, g = (w) => $ ? Array.isArray(S) && S.includes(w) : S === w, K = (w) => {
9173
+ if (!X)
9174
+ switch (w.key) {
9165
9175
  case "ArrowDown":
9166
- S.preventDefault(), r ? z.length && u((X) => (X + 1) % z.length) : n(!0);
9176
+ w.preventDefault(), r ? C.length && u((O) => (O + 1) % C.length) : n(!0);
9167
9177
  break;
9168
9178
  case "ArrowUp":
9169
- S.preventDefault(), r ? z.length && u((X) => (X - 1 + z.length) % z.length) : n(!0);
9179
+ w.preventDefault(), r ? C.length && u((O) => (O - 1 + C.length) % C.length) : n(!0);
9170
9180
  break;
9171
9181
  case "Enter":
9172
- S.preventDefault(), z[a] ? w(z[a]) : s && R && I();
9182
+ w.preventDefault(), C[a] ? y(C[a]) : s && R && H();
9173
9183
  break;
9174
9184
  case "Escape":
9175
- S.preventDefault(), n(!1);
9185
+ w.preventDefault(), n(!1);
9176
9186
  break;
9177
9187
  }
9178
9188
  };
@@ -9181,34 +9191,34 @@ const bn = l.memo((t) => {
9181
9191
  {
9182
9192
  ref: b,
9183
9193
  className: d,
9184
- style: p
9194
+ style: x
9185
9195
  },
9186
9196
  l.createElement("div", { className: "relative w-full h-full" }, [
9187
- L ? l.createElement("input", {
9197
+ A ? l.createElement("input", {
9188
9198
  key: "hidden",
9189
9199
  ref: h,
9190
9200
  type: "hidden",
9191
- name: L,
9192
- value: un(_)
9201
+ name: A,
9202
+ value: un(S)
9193
9203
  }) : null,
9194
9204
  l.createElement("div", {
9195
9205
  key: "field",
9196
9206
  className: `fibo-textfield-input flex flex-wrap items-center gap-1 ${r ? "ring-2 ring-[var(--fibo-primary-container)] border-[var(--fibo-primary)]" : ""}`,
9197
9207
  style: { minHeight: "42px", padding: "4px 8px" }
9198
9208
  }, [
9199
- $ && Array.isArray(_) && _.map((S) => {
9200
- const X = F.find((Y) => Y.value === S), K = X ? X.label : S;
9209
+ $ && Array.isArray(S) && S.map((w) => {
9210
+ const O = N.find((Y) => Y.value === w), q = O ? O.label : w;
9201
9211
  return l.createElement("span", {
9202
- key: S,
9212
+ key: w,
9203
9213
  className: "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] text-xs font-medium px-2 py-1 rounded-md flex items-center"
9204
9214
  }, [
9205
- K,
9215
+ q,
9206
9216
  l.createElement("button", {
9207
9217
  type: "button",
9208
9218
  className: "ml-1 hover:text-[var(--fibo-primary)] focus:outline-none",
9209
- "aria-label": `Remove ${K}`,
9219
+ "aria-label": `Remove ${q}`,
9210
9220
  onClick: (Y) => {
9211
- Y.stopPropagation(), N(S);
9221
+ Y.stopPropagation(), F(w);
9212
9222
  }
9213
9223
  }, "×")
9214
9224
  ]);
@@ -9220,26 +9230,26 @@ const bn = l.memo((t) => {
9220
9230
  "aria-expanded": r,
9221
9231
  "aria-controls": i,
9222
9232
  "aria-autocomplete": "list",
9223
- "aria-activedescendant": r && z[a] ? `${i}-opt-${z[a].value}` : void 0,
9233
+ "aria-activedescendant": r && C[a] ? `${i}-opt-${C[a].value}` : void 0,
9224
9234
  className: "bg-transparent outline-none flex-1 min-w-[60px] text-sm h-8",
9225
9235
  value: s,
9226
- placeholder: $ && Array.isArray(_) && _.length > 0 ? "" : M || " ",
9227
- disabled: W,
9228
- onChange: (S) => {
9229
- f(S.target.value), r || n(!0);
9236
+ placeholder: $ && Array.isArray(S) && S.length > 0 ? "" : M || " ",
9237
+ disabled: X,
9238
+ onChange: (w) => {
9239
+ f(w.target.value), r || n(!0);
9230
9240
  },
9231
9241
  onFocus: () => n(!0),
9232
- onKeyDown: to
9242
+ onKeyDown: K
9233
9243
  })
9234
9244
  ]),
9235
- v && l.createElement(
9245
+ m && l.createElement(
9236
9246
  "label",
9237
9247
  {
9238
9248
  key: "label",
9239
9249
  htmlFor: e,
9240
9250
  className: "fibo-textfield-label"
9241
9251
  },
9242
- v
9252
+ m
9243
9253
  ),
9244
9254
  r && l.createElement("div", {
9245
9255
  key: "dropdown",
@@ -9248,24 +9258,24 @@ const bn = l.memo((t) => {
9248
9258
  "aria-multiselectable": $ || void 0,
9249
9259
  className: "absolute z-50 w-full mt-1 bg-[var(--fibo-surface)] border border-[var(--fibo-outline)] rounded-md shadow-lg max-h-60 overflow-auto focus:outline-none left-0"
9250
9260
  }, [
9251
- ...z.length > 0 ? z.map((S, X) => {
9252
- const K = m(S.value), Y = X === a;
9261
+ ...C.length > 0 ? C.map((w, O) => {
9262
+ const q = g(w.value), Y = O === a;
9253
9263
  return l.createElement("div", {
9254
- key: S.value,
9255
- id: `${i}-opt-${S.value}`,
9264
+ key: w.value,
9265
+ id: `${i}-opt-${w.value}`,
9256
9266
  role: "option",
9257
- "aria-selected": K,
9258
- className: `px-4 py-2 cursor-pointer text-sm hover:bg-[var(--fibo-primary-container)] hover:text-[var(--fibo-on-primary-container)] ${K || Y ? "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] font-medium" : "text-[var(--fibo-on-surface)]"} ${K ? "opacity-50" : ""}`,
9259
- onClick: () => !K && w(S),
9260
- onMouseEnter: () => u(X)
9261
- }, S.label);
9267
+ "aria-selected": q,
9268
+ className: `px-4 py-2 cursor-pointer text-sm hover:bg-[var(--fibo-primary-container)] hover:text-[var(--fibo-on-primary-container)] ${q || Y ? "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] font-medium" : "text-[var(--fibo-on-surface)]"} ${q ? "opacity-50" : ""}`,
9269
+ onClick: () => !q && y(w),
9270
+ onMouseEnter: () => u(O)
9271
+ }, w.label);
9262
9272
  }) : [l.createElement("div", { key: "empty", className: "px-4 py-2 text-sm text-gray-500" }, "No results found.")],
9263
- s && !z.some((S) => S.label.toLowerCase() === s.toLowerCase()) && R ? l.createElement("div", {
9273
+ s && !C.some((w) => w.label.toLowerCase() === s.toLowerCase()) && R ? l.createElement("div", {
9264
9274
  key: "add-new",
9265
9275
  role: "option",
9266
9276
  "aria-selected": !1,
9267
9277
  className: "border-t border-[var(--fibo-outline)] px-4 py-2 cursor-pointer text-sm text-[var(--fibo-primary)] hover:bg-[var(--fibo-primary-container)] font-medium flex items-center",
9268
- onClick: I
9278
+ onClick: H
9269
9279
  }, [
9270
9280
  l.createElement("span", { key: "plus", className: "mr-1" }, "+"),
9271
9281
  `Add "${s}"`
@@ -9276,10 +9286,10 @@ const bn = l.memo((t) => {
9276
9286
  "span",
9277
9287
  {
9278
9288
  className: "fibo-field-error text-[var(--fibo-error)] text-xs mt-1 ml-1",
9279
- style: { display: x ? "" : "none" },
9289
+ style: { display: p ? "" : "none" },
9280
9290
  role: "alert"
9281
9291
  },
9282
- x || ""
9292
+ p || ""
9283
9293
  )
9284
9294
  );
9285
9295
  });
@@ -9371,7 +9381,7 @@ class dn extends ot {
9371
9381
  return this.setProp("color", o), this;
9372
9382
  }
9373
9383
  opacity(o) {
9374
- return this.setProp("opacity", J("opacity", o)), this;
9384
+ return this.setProp("opacity", Q("opacity", o)), this;
9375
9385
  }
9376
9386
  borderColor(o) {
9377
9387
  return this.setProp("borderColor", o), this;
@@ -9391,14 +9401,14 @@ class dn extends ot {
9391
9401
  return this.setProp("transform", `translateY(${e})`), this;
9392
9402
  }
9393
9403
  shadow(o) {
9394
- return this.setProp("boxShadow", J("boxShadow", o)), this;
9404
+ return this.setProp("boxShadow", Q("boxShadow", o)), this;
9395
9405
  }
9396
9406
  boxShadow(o) {
9397
9407
  return this.shadow(o);
9398
9408
  }
9399
9409
  css(o, e) {
9400
9410
  const i = o.includes("-") ? o.replace(/-([a-z])/g, (r, n) => n.toUpperCase()) : o;
9401
- return this.setProp(i, J(i, e)), this;
9411
+ return this.setProp(i, Q(i, e)), this;
9402
9412
  }
9403
9413
  }
9404
9414
  function Jo() {
@@ -9407,14 +9417,14 @@ function Jo() {
9407
9417
  }
9408
9418
  class pn extends ot {
9409
9419
  padding(o) {
9410
- return this.setProp("padding", J("padding", o)), this;
9420
+ return this.setProp("padding", Q("padding", o)), this;
9411
9421
  }
9412
9422
  paddingX(o) {
9413
- const e = J("paddingLeft", o);
9423
+ const e = Q("paddingLeft", o);
9414
9424
  return this.setProp("paddingLeft", e), this.setProp("paddingRight", e), this;
9415
9425
  }
9416
9426
  paddingY(o) {
9417
- const e = J("paddingTop", o);
9427
+ const e = Q("paddingTop", o);
9418
9428
  return this.setProp("paddingTop", e), this.setProp("paddingBottom", e), this;
9419
9429
  }
9420
9430
  /** SwiftUI-ish: `listRowInsets` */
@@ -9432,31 +9442,31 @@ class pn extends ot {
9432
9442
  return this.setProp("color", o), this;
9433
9443
  }
9434
9444
  rounded(o = 8) {
9435
- return this.setProp("borderRadius", J("borderRadius", o)), this;
9445
+ return this.setProp("borderRadius", Q("borderRadius", o)), this;
9436
9446
  }
9437
9447
  border(o) {
9438
- return this.setProp("border", J("border", o)), this;
9448
+ return this.setProp("border", Q("border", o)), this;
9439
9449
  }
9440
9450
  borderBottom(o) {
9441
9451
  return this.setProp("borderBottom", o), this;
9442
9452
  }
9443
9453
  /** Alias of `.boxShadow(...)` — full CSS `box-shadow` string or `0` → `none`. */
9444
9454
  shadow(o) {
9445
- return this.setProp("boxShadow", J("boxShadow", o)), this;
9455
+ return this.setProp("boxShadow", Q("boxShadow", o)), this;
9446
9456
  }
9447
9457
  boxShadow(o) {
9448
9458
  return this.shadow(o);
9449
9459
  }
9450
9460
  opacity(o) {
9451
- return this.setProp("opacity", J("opacity", o)), this;
9461
+ return this.setProp("opacity", Q("opacity", o)), this;
9452
9462
  }
9453
9463
  /** Space after each row. */
9454
9464
  spacing(o) {
9455
- return this.setProp("marginBottom", J("marginBottom", o)), this;
9465
+ return this.setProp("marginBottom", Q("marginBottom", o)), this;
9456
9466
  }
9457
9467
  css(o, e) {
9458
9468
  const i = o.includes("-") ? o.replace(/-([a-z])/g, (r, n) => n.toUpperCase()) : o;
9459
- return this.setProp(i, J(i, e)), this;
9469
+ return this.setProp(i, Q(i, e)), this;
9460
9470
  }
9461
9471
  style(o) {
9462
9472
  return this.mergeStyle(o), this;
@@ -9497,79 +9507,79 @@ const vn = l.memo((t) => {
9497
9507
  containerHeight: b = 500,
9498
9508
  resetItemStyles: h = !1,
9499
9509
  direction: d = "vertical",
9500
- customItemHover: p,
9501
- customItemActive: v,
9502
- customItemFocus: x,
9510
+ customItemHover: x,
9511
+ customItemActive: m,
9512
+ customItemFocus: p,
9503
9513
  itemStyle: T
9504
- } = t, M = l.useId().replace(/:/g, ""), B = `fibo-list-${M}`, R = `fibo-list-custom-styles-${M}`, [W, $] = G(0), [L, g] = G(0), C = U(null), H = U(/* @__PURE__ */ new Map()), V = U(/* @__PURE__ */ new Map()), _ = U(null), z = d === "horizontal", j = o.length, w = j > gn, N = (P) => V.current.get(P) ?? $e, I = (P) => {
9505
- let D = 0;
9506
- for (let oo = 0; oo < P; oo++)
9507
- D += N(oo);
9508
- return D;
9509
- }, m = () => {
9510
- let P = 0;
9511
- for (let D = 0; D < j; D++)
9512
- P += N(D);
9513
- return P;
9514
- }, to = (P) => {
9515
- let D = 0, oo = j - 1;
9516
- for (; D < oo; ) {
9517
- const so = Math.floor((D + oo) / 2);
9518
- I(so) < P ? D = so + 1 : oo = so;
9514
+ } = t, M = l.useId().replace(/:/g, ""), I = `fibo-list-${M}`, R = `fibo-list-custom-styles-${M}`, [X, $] = G(0), [A, v] = G(0), z = U(null), P = U(/* @__PURE__ */ new Map()), D = U(/* @__PURE__ */ new Map()), S = U(null), C = d === "horizontal", V = o.length, y = V > gn, F = (L) => D.current.get(L) ?? $e, H = (L) => {
9515
+ let j = 0;
9516
+ for (let eo = 0; eo < L; eo++)
9517
+ j += F(eo);
9518
+ return j;
9519
+ }, g = () => {
9520
+ let L = 0;
9521
+ for (let j = 0; j < V; j++)
9522
+ L += F(j);
9523
+ return L;
9524
+ }, K = (L) => {
9525
+ let j = 0, eo = V - 1;
9526
+ for (; j < eo; ) {
9527
+ const so = Math.floor((j + eo) / 2);
9528
+ H(so) < L ? j = so + 1 : eo = so;
9519
9529
  }
9520
- return Math.max(0, D - 1);
9530
+ return Math.max(0, j - 1);
9521
9531
  };
9522
- let S = 0, X = j, K = 0, Y = 0;
9523
- if (w) {
9524
- S = Math.max(0, to(W) - Ne);
9525
- let P = I(S), D = S;
9526
- for (; P < W + b + Ne * $e && D < j; )
9527
- P += N(D), D++;
9528
- X = Math.min(j, D), K = I(S), Y = m();
9529
- }
9530
- const eo = o.slice(S, X);
9532
+ let w = 0, O = V, q = 0, Y = 0;
9533
+ if (y) {
9534
+ w = Math.max(0, K(X) - Ne);
9535
+ let L = H(w), j = w;
9536
+ for (; L < X + b + Ne * $e && j < V; )
9537
+ L += F(j), j++;
9538
+ O = Math.min(V, j), q = H(w), Y = g();
9539
+ }
9540
+ const to = o.slice(w, O);
9531
9541
  oe(() => {
9532
- if (!w) return;
9533
- let P = !1;
9534
- eo.forEach((D, oo) => {
9535
- const so = S + oo, Co = H.current.get(so);
9542
+ if (!y) return;
9543
+ let L = !1;
9544
+ to.forEach((j, eo) => {
9545
+ const so = w + eo, Co = P.current.get(so);
9536
9546
  if (Co) {
9537
- const ce = Co.getBoundingClientRect(), Uo = z ? ce.width : ce.height;
9538
- Uo > 0 && V.current.get(so) !== Uo && (V.current.set(so, Uo), P = !0);
9547
+ const ce = Co.getBoundingClientRect(), Uo = C ? ce.width : ce.height;
9548
+ Uo > 0 && D.current.get(so) !== Uo && (D.current.set(so, Uo), L = !0);
9539
9549
  }
9540
- }), P && g((D) => D + 1);
9541
- }, [eo, S, w, z, L]), oe(() => {
9550
+ }), L && v((j) => j + 1);
9551
+ }, [to, w, y, C, A]), oe(() => {
9542
9552
  if (!f || n) return;
9543
- const P = new IntersectionObserver(
9544
- (D) => {
9545
- D[0].isIntersecting && (f == null || f());
9553
+ const L = new IntersectionObserver(
9554
+ (j) => {
9555
+ j[0].isIntersecting && (f == null || f());
9546
9556
  },
9547
9557
  { threshold: s }
9548
9558
  );
9549
- return _.current && P.observe(_.current), () => P.disconnect();
9559
+ return S.current && L.observe(S.current), () => L.disconnect();
9550
9560
  }, [n, o.length, f, s]);
9551
- const ko = (P) => {
9552
- w && $(z ? P.currentTarget.scrollLeft : P.currentTarget.scrollTop);
9561
+ const ko = (L) => {
9562
+ y && $(C ? L.currentTarget.scrollLeft : L.currentTarget.scrollTop);
9553
9563
  };
9554
- q(() => {
9555
- if (typeof document > "u" || !p && !v && !x) return;
9556
- let P = document.getElementById(R);
9557
- P || (P = document.createElement("style"), P.id = R, document.head.appendChild(P));
9558
- let D = "";
9559
- const oo = `.${B}`;
9560
- return p && (D += `${oo} .fibo-list-item-custom-hover:hover { ${Qo(p)} }
9561
- `), v && (D += `${oo} .fibo-list-item-custom-active:active { ${Qo(v)} }
9562
- `), x && (D += `${oo} .fibo-list-item-custom-focus:focus-within { ${Qo(x)} }
9563
- `), P.textContent = D, () => {
9564
+ Z(() => {
9565
+ if (typeof document > "u" || !x && !m && !p) return;
9566
+ let L = document.getElementById(R);
9567
+ L || (L = document.createElement("style"), L.id = R, document.head.appendChild(L));
9568
+ let j = "";
9569
+ const eo = `.${I}`;
9570
+ return x && (j += `${eo} .fibo-list-item-custom-hover:hover { ${Qo(x)} }
9571
+ `), m && (j += `${eo} .fibo-list-item-custom-active:active { ${Qo(m)} }
9572
+ `), p && (j += `${eo} .fibo-list-item-custom-focus:focus-within { ${Qo(p)} }
9573
+ `), L.textContent = j, () => {
9564
9574
  const so = document.getElementById(R);
9565
9575
  so && so.remove();
9566
9576
  };
9567
- }, [p, v, x, B, R]);
9577
+ }, [x, m, p, I, R]);
9568
9578
  const Ao = {
9569
9579
  default: { gap: "0px" },
9570
9580
  card: { gap: "12px" },
9571
9581
  floating: { gap: "8px" }
9572
- }, Z = T || {}, _o = h ? { default: {}, card: {}, floating: {} } : {
9582
+ }, J = T || {}, _o = h ? { default: {}, card: {}, floating: {} } : {
9573
9583
  default: {
9574
9584
  padding: "12px 16px",
9575
9585
  borderBottom: r ? "1px solid #F3F4F6" : "none",
@@ -9591,11 +9601,11 @@ const vn = l.memo((t) => {
9591
9601
  transition: "background-color 0.2s ease-out, box-shadow 0.2s ease-out"
9592
9602
  }
9593
9603
  }, go = {
9594
- default: { ..._o.default, ...Z },
9595
- card: { ..._o.card, ...Z },
9596
- floating: { ..._o.floating, ...Z }
9604
+ default: { ..._o.default, ...J },
9605
+ card: { ..._o.card, ...J },
9606
+ floating: { ..._o.floating, ...J }
9597
9607
  }, io = [];
9598
- p && io.push("fibo-list-item-custom-hover"), v && io.push("fibo-list-item-custom-active"), x && io.push("fibo-list-item-custom-focus");
9608
+ x && io.push("fibo-list-item-custom-hover"), m && io.push("fibo-list-item-custom-active"), p && io.push("fibo-list-item-custom-focus");
9599
9609
  const So = h ? {
9600
9610
  default: [...io],
9601
9611
  card: [...io],
@@ -9605,19 +9615,19 @@ const vn = l.memo((t) => {
9605
9615
  card: ["hover:-translate-y-0.5", "hover:shadow-md", ...io],
9606
9616
  floating: ["hover:bg-white", "hover:shadow-sm", ...io]
9607
9617
  };
9608
- return w ? l.createElement(
9618
+ return y ? l.createElement(
9609
9619
  "div",
9610
9620
  {
9611
- ref: C,
9612
- className: `fibo-list fibo-list-virtualized ${B} ${a || ""}`,
9621
+ ref: z,
9622
+ className: `fibo-list fibo-list-virtualized ${I} ${a || ""}`,
9613
9623
  style: {
9614
- height: z ? void 0 : `${b}px`,
9615
- width: z ? `${b}px` : void 0,
9616
- overflowY: z ? "hidden" : "auto",
9617
- overflowX: z ? "auto" : "hidden",
9624
+ height: C ? void 0 : `${b}px`,
9625
+ width: C ? `${b}px` : void 0,
9626
+ overflowY: C ? "hidden" : "auto",
9627
+ overflowX: C ? "auto" : "hidden",
9618
9628
  position: "relative",
9619
9629
  display: "flex",
9620
- flexDirection: z ? "row" : "column",
9630
+ flexDirection: C ? "row" : "column",
9621
9631
  ...Ao[i],
9622
9632
  ...u
9623
9633
  },
@@ -9625,8 +9635,8 @@ const vn = l.memo((t) => {
9625
9635
  },
9626
9636
  l.createElement("div", {
9627
9637
  style: {
9628
- height: z ? "1px" : `${Y}px`,
9629
- width: z ? `${Y}px` : "1px",
9638
+ height: C ? "1px" : `${Y}px`,
9639
+ width: C ? `${Y}px` : "1px",
9630
9640
  position: "absolute",
9631
9641
  top: 0,
9632
9642
  left: 0,
@@ -9638,43 +9648,43 @@ const vn = l.memo((t) => {
9638
9648
  "div",
9639
9649
  {
9640
9650
  style: {
9641
- transform: z ? `translateX(${K}px)` : `translateY(${K}px)`,
9642
- width: z ? "auto" : "100%",
9643
- height: z ? "100%" : void 0,
9644
- display: z ? "flex" : void 0,
9645
- flexDirection: z ? "row" : void 0
9651
+ transform: C ? `translateX(${q}px)` : `translateY(${q}px)`,
9652
+ width: C ? "auto" : "100%",
9653
+ height: C ? "100%" : void 0,
9654
+ display: C ? "flex" : void 0,
9655
+ flexDirection: C ? "row" : void 0
9646
9656
  }
9647
9657
  },
9648
- eo.map((P, D) => {
9649
- const oo = S + D, so = Te(P, oo, e);
9658
+ to.map((L, j) => {
9659
+ const eo = w + j, so = Te(L, eo, e);
9650
9660
  return l.cloneElement(
9651
9661
  $o().style(go[i]).classNames(So[i]).children(so).build(),
9652
9662
  {
9653
- key: Ee(P, oo),
9663
+ key: Ee(L, eo),
9654
9664
  ref: (Co) => {
9655
- Co ? H.current.set(oo, Co) : H.current.delete(oo);
9665
+ Co ? P.current.set(eo, Co) : P.current.delete(eo);
9656
9666
  }
9657
9667
  }
9658
9668
  );
9659
9669
  })
9660
9670
  ),
9661
9671
  f && l.createElement("div", {
9662
- ref: _,
9672
+ ref: S,
9663
9673
  className: "py-4 flex justify-center w-full"
9664
9674
  }, n ? l.createElement("div", { className: "animate-spin rounded-full h-5 w-5 border-2 border-gray-300 border-b-blue-600" }) : l.createElement("div", { style: { height: "20px" } }))
9665
- ) : $o().className(a).classNames(["fibo-list", B, "flex", d === "horizontal" ? "flex-row" : "flex-col", "w-full"]).style({
9675
+ ) : $o().className(a).classNames(["fibo-list", I, "flex", d === "horizontal" ? "flex-row" : "flex-col", "w-full"]).style({
9666
9676
  ...Ao[i],
9667
9677
  ...u
9668
9678
  }).children(
9669
9679
  l.createElement(l.Fragment, {}, [
9670
9680
  ...o.map(
9671
- (P, D) => l.cloneElement(
9672
- $o().style(go[i]).classNames(So[i]).children(Te(P, D, e)).build(),
9673
- { key: Ee(P, D) }
9681
+ (L, j) => l.cloneElement(
9682
+ $o().style(go[i]).classNames(So[i]).children(Te(L, j, e)).build(),
9683
+ { key: Ee(L, j) }
9674
9684
  )
9675
9685
  ),
9676
9686
  f && l.createElement("div", {
9677
- ref: _,
9687
+ ref: S,
9678
9688
  className: "py-4 flex justify-center w-full"
9679
9689
  }, n ? l.createElement("div", { className: "animate-spin rounded-full h-5 w-5 border-2 border-gray-300 border-b-blue-600" }) : l.createElement("div", { style: { height: "20px" } }))
9680
9690
  ])
@@ -9857,14 +9867,14 @@ const zs = co(wn), yn = () => l.createElement(
9857
9867
  className: u,
9858
9868
  style: b,
9859
9869
  ...h
9860
- } = t, d = b || {}, p = d.padding ?? "14px 0", v = typeof e == "string" ? l.createElement(
9870
+ } = t, d = b || {}, x = d.padding ?? "14px 0", m = typeof e == "string" ? l.createElement(
9861
9871
  "span",
9862
9872
  {
9863
9873
  className: "fibo-list-tile-title",
9864
9874
  style: { fontSize: 11, letterSpacing: "0.06em", lineHeight: 1.3, margin: 0 }
9865
9875
  },
9866
9876
  e
9867
- ) : e, x = typeof i == "string" ? l.createElement(
9877
+ ) : e, p = typeof i == "string" ? l.createElement(
9868
9878
  "span",
9869
9879
  {
9870
9880
  className: "fibo-list-tile-subtitle",
@@ -9883,7 +9893,7 @@ const zs = co(wn), yn = () => l.createElement(
9883
9893
  {
9884
9894
  className: Io("fibo-list-tile flex flex-row items-center w-full", u),
9885
9895
  style: {
9886
- padding: p,
9896
+ padding: x,
9887
9897
  borderBottom: s ? `1px solid ${f || "#3b3b3b"}` : "none",
9888
9898
  cursor: a ? "pointer" : void 0,
9889
9899
  ...d
@@ -9907,8 +9917,8 @@ const zs = co(wn), yn = () => l.createElement(
9907
9917
  key: "body",
9908
9918
  className: "fibo-list-tile-body flex-1 min-w-0 flex flex-col justify-center"
9909
9919
  },
9910
- v,
9911
- x
9920
+ m,
9921
+ p
9912
9922
  ),
9913
9923
  r ? l.createElement(
9914
9924
  "div",
@@ -10125,8 +10135,8 @@ class En extends zt {
10125
10135
  if (this.state.hasError && this.state.error) {
10126
10136
  const { fallback: e } = this.props;
10127
10137
  return typeof e == "function" ? e(this.state.error, this.state.errorInfo) : e || /* @__PURE__ */ Po("div", { style: { padding: "2rem", textAlign: "center" }, children: [
10128
- /* @__PURE__ */ O("h1", { children: "Something went wrong" }),
10129
- /* @__PURE__ */ O("p", { children: this.state.error.message })
10138
+ /* @__PURE__ */ W("h1", { children: "Something went wrong" }),
10139
+ /* @__PURE__ */ W("p", { children: this.state.error.message })
10130
10140
  ] });
10131
10141
  }
10132
10142
  return this.props.children;
@@ -10138,7 +10148,7 @@ const Tn = ({ error: t, onReset: o }) => {
10138
10148
  }, i = () => {
10139
10149
  window.location.reload();
10140
10150
  };
10141
- return /* @__PURE__ */ O(
10151
+ return /* @__PURE__ */ W(
10142
10152
  "div",
10143
10153
  {
10144
10154
  style: {
@@ -10164,7 +10174,7 @@ const Tn = ({ error: t, onReset: o }) => {
10164
10174
  textAlign: "center"
10165
10175
  },
10166
10176
  children: [
10167
- /* @__PURE__ */ O(
10177
+ /* @__PURE__ */ W(
10168
10178
  "div",
10169
10179
  {
10170
10180
  style: {
@@ -10189,15 +10199,15 @@ const Tn = ({ error: t, onReset: o }) => {
10189
10199
  strokeLinecap: "round",
10190
10200
  strokeLinejoin: "round",
10191
10201
  children: [
10192
- /* @__PURE__ */ O("circle", { cx: "12", cy: "12", r: "10" }),
10193
- /* @__PURE__ */ O("line", { x1: "12", y1: "8", x2: "12", y2: "12" }),
10194
- /* @__PURE__ */ O("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })
10202
+ /* @__PURE__ */ W("circle", { cx: "12", cy: "12", r: "10" }),
10203
+ /* @__PURE__ */ W("line", { x1: "12", y1: "8", x2: "12", y2: "12" }),
10204
+ /* @__PURE__ */ W("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })
10195
10205
  ]
10196
10206
  }
10197
10207
  )
10198
10208
  }
10199
10209
  ),
10200
- /* @__PURE__ */ O(
10210
+ /* @__PURE__ */ W(
10201
10211
  "h1",
10202
10212
  {
10203
10213
  style: {
@@ -10209,7 +10219,7 @@ const Tn = ({ error: t, onReset: o }) => {
10209
10219
  children: "Oops! Something went wrong"
10210
10220
  }
10211
10221
  ),
10212
- t && /* @__PURE__ */ O(
10222
+ t && /* @__PURE__ */ W(
10213
10223
  "div",
10214
10224
  {
10215
10225
  style: {
@@ -10219,7 +10229,7 @@ const Tn = ({ error: t, onReset: o }) => {
10219
10229
  borderRadius: "8px",
10220
10230
  border: "1px solid #fecaca"
10221
10231
  },
10222
- children: /* @__PURE__ */ O(
10232
+ children: /* @__PURE__ */ W(
10223
10233
  "p",
10224
10234
  {
10225
10235
  style: {
@@ -10234,7 +10244,7 @@ const Tn = ({ error: t, onReset: o }) => {
10234
10244
  )
10235
10245
  }
10236
10246
  ),
10237
- /* @__PURE__ */ O(
10247
+ /* @__PURE__ */ W(
10238
10248
  "p",
10239
10249
  {
10240
10250
  style: {
@@ -10256,7 +10266,7 @@ const Tn = ({ error: t, onReset: o }) => {
10256
10266
  flexWrap: "wrap"
10257
10267
  },
10258
10268
  children: [
10259
- o && /* @__PURE__ */ O(
10269
+ o && /* @__PURE__ */ W(
10260
10270
  "button",
10261
10271
  {
10262
10272
  onClick: o,
@@ -10280,7 +10290,7 @@ const Tn = ({ error: t, onReset: o }) => {
10280
10290
  children: "Try Again"
10281
10291
  }
10282
10292
  ),
10283
- /* @__PURE__ */ O(
10293
+ /* @__PURE__ */ W(
10284
10294
  "button",
10285
10295
  {
10286
10296
  onClick: i,
@@ -10304,7 +10314,7 @@ const Tn = ({ error: t, onReset: o }) => {
10304
10314
  children: "Reload Page"
10305
10315
  }
10306
10316
  ),
10307
- /* @__PURE__ */ O(
10317
+ /* @__PURE__ */ W(
10308
10318
  "button",
10309
10319
  {
10310
10320
  onClick: e,
@@ -10339,7 +10349,7 @@ const Tn = ({ error: t, onReset: o }) => {
10339
10349
  textAlign: "left"
10340
10350
  },
10341
10351
  children: [
10342
- /* @__PURE__ */ O(
10352
+ /* @__PURE__ */ W(
10343
10353
  "summary",
10344
10354
  {
10345
10355
  style: {
@@ -10351,7 +10361,7 @@ const Tn = ({ error: t, onReset: o }) => {
10351
10361
  children: "Stack Trace"
10352
10362
  }
10353
10363
  ),
10354
- /* @__PURE__ */ O(
10364
+ /* @__PURE__ */ W(
10355
10365
  "pre",
10356
10366
  {
10357
10367
  style: {
@@ -10396,60 +10406,60 @@ const In = yo(null), $s = ({
10396
10406
  errorBoundary: f,
10397
10407
  onError: a
10398
10408
  }) => {
10399
- const [u, b] = G(() => Ie(r, i)), [h, d] = G(() => new URLSearchParams($n(n))), [p, v] = G(() => Nn(s)), { route: x, params: T } = ie(t, u), F = l.useRef(x);
10400
- F.current = x;
10401
- const M = ro(async (L, g = {}) => {
10402
- const C = F.current, { route: H } = ie(t, L);
10403
- if (C != null && C.beforeLeave && H) {
10404
- const _ = await C.beforeLeave(H, C);
10405
- if (_ === !1)
10409
+ const [u, b] = G(() => Ie(r, i)), [h, d] = G(() => new URLSearchParams($n(n))), [x, m] = G(() => Nn(s)), { route: p, params: T } = ie(t, u), N = l.useRef(p);
10410
+ N.current = p;
10411
+ const M = ro(async (A, v = {}) => {
10412
+ const z = N.current, { route: P } = ie(t, A);
10413
+ if (z != null && z.beforeLeave && P) {
10414
+ const S = await z.beforeLeave(P, z);
10415
+ if (S === !1)
10406
10416
  return;
10407
- if (typeof _ == "string")
10408
- return M(_, g);
10417
+ if (typeof S == "string")
10418
+ return M(S, v);
10409
10419
  }
10410
- if (H != null && H.beforeEnter) {
10411
- const _ = await H.beforeEnter(H, C);
10412
- if (_ === !1)
10420
+ if (P != null && P.beforeEnter) {
10421
+ const S = await P.beforeEnter(P, z);
10422
+ if (S === !1)
10413
10423
  return;
10414
- typeof _ == "string" && (L = _);
10424
+ typeof S == "string" && (A = S);
10415
10425
  }
10416
- const V = i + L;
10417
- typeof window < "u" && (g.replace ? window.history.replaceState(g.state || {}, "", V) : window.history.pushState(g.state || {}, "", V), d(new URLSearchParams(window.location.search))), b(L);
10418
- }, [i, t]), B = ro(() => {
10426
+ const D = i + A;
10427
+ typeof window < "u" && (v.replace ? window.history.replaceState(v.state || {}, "", D) : window.history.pushState(v.state || {}, "", D), d(new URLSearchParams(window.location.search))), b(A);
10428
+ }, [i, t]), I = ro(() => {
10419
10429
  typeof window < "u" && window.history.back();
10420
- }, []), R = ro((L) => {
10421
- M(L, { replace: !0 });
10430
+ }, []), R = ro((A) => {
10431
+ M(A, { replace: !0 });
10422
10432
  }, [M]);
10423
- q(() => {
10433
+ Z(() => {
10424
10434
  if (typeof window > "u") return;
10425
- const L = () => {
10426
- b(Ie(window.location.pathname, i)), d(new URLSearchParams(window.location.search)), v(window.location.hash || "");
10435
+ const A = () => {
10436
+ b(Ie(window.location.pathname, i)), d(new URLSearchParams(window.location.search)), m(window.location.hash || "");
10427
10437
  };
10428
- return L(), window.addEventListener("popstate", L), () => window.removeEventListener("popstate", L);
10438
+ return A(), window.addEventListener("popstate", A), () => window.removeEventListener("popstate", A);
10429
10439
  }, [i]);
10430
- const W = {
10440
+ const X = {
10431
10441
  currentPath: u,
10432
10442
  basename: i,
10433
10443
  navigate: M,
10434
- goBack: B,
10444
+ goBack: I,
10435
10445
  replace: R,
10436
10446
  params: T,
10437
10447
  query: h,
10438
- hash: p
10448
+ hash: x
10439
10449
  }, $ = () => {
10440
- if (!x)
10441
- return o ? /* @__PURE__ */ O(o, {}) : /* @__PURE__ */ O("div", { children: "404 - Page Not Found" });
10442
- const L = x.component, g = /* @__PURE__ */ O(In.Provider, { value: x, children: /* @__PURE__ */ O(L, {}) });
10443
- return /* @__PURE__ */ O(
10450
+ if (!p)
10451
+ return o ? /* @__PURE__ */ W(o, {}) : /* @__PURE__ */ W("div", { children: "404 - Page Not Found" });
10452
+ const A = p.component, v = /* @__PURE__ */ W(In.Provider, { value: p, children: /* @__PURE__ */ W(A, {}) });
10453
+ return /* @__PURE__ */ W(
10444
10454
  En,
10445
10455
  {
10446
- fallback: f || /* @__PURE__ */ O(Tn, {}),
10456
+ fallback: f || /* @__PURE__ */ W(Tn, {}),
10447
10457
  onError: a,
10448
- children: g
10458
+ children: v
10449
10459
  }
10450
10460
  );
10451
10461
  };
10452
- return /* @__PURE__ */ O(fe.Provider, { value: W, children: e ? /* @__PURE__ */ O(Et, { fallback: e, children: $() }) : $() });
10462
+ return /* @__PURE__ */ W(fe.Provider, { value: X, children: e ? /* @__PURE__ */ W(Et, { fallback: e, children: $() }) : $() });
10453
10463
  };
10454
10464
  export {
10455
10465
  ar as $,