@homlista-devs/ui 1.6.6 → 1.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { jsx as r, jsxs as p, Fragment as se } from "react/jsx-runtime";
2
- import * as v from "react";
2
+ import * as w from "react";
3
3
  import Ae, { useState as ee, useMemo as Ne, useCallback as He, useEffect as Ce, forwardRef as we, createElement as Pe, useContext as Tt } from "react";
4
4
  import { createEvent as Le, createStore as zt } from "effector";
5
5
  import { useUnit as Pt } from "effector-react";
@@ -34,13 +34,13 @@ function jt(e) {
34
34
  if (c === 0)
35
35
  u = l / m;
36
36
  else {
37
- const y = Math.pow(1 + c, m);
38
- u = l * (c * y) / (y - 1);
37
+ const v = Math.pow(1 + c, m);
38
+ u = l * (c * v) / (v - 1);
39
39
  }
40
- const d = u * m, h = d - l, S = u + s + i;
40
+ const d = u * m, h = d - l, M = u + s + i;
41
41
  return {
42
42
  monthlyPayment: Math.round(u * 100) / 100,
43
- totalMonthlyPayment: Math.round(S * 100) / 100,
43
+ totalMonthlyPayment: Math.round(M * 100) / 100,
44
44
  totalAmount: Math.round(d * 100) / 100,
45
45
  totalInterest: Math.round(h * 100) / 100,
46
46
  loanPrincipal: Math.round(l * 100) / 100,
@@ -94,16 +94,16 @@ const We = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ue = rt, J
94
94
  let [d, h] = u;
95
95
  return h === void 0 || (m[d] = h), m;
96
96
  }, {}), c = t == null || (a = t.compoundVariants) === null || a === void 0 ? void 0 : a.reduce((m, u) => {
97
- let { class: d, className: h, ...S } = u;
98
- return Object.entries(S).every((y) => {
99
- let [N, g] = y;
100
- return Array.isArray(g) ? g.includes({
97
+ let { class: d, className: h, ...M } = u;
98
+ return Object.entries(M).every((v) => {
99
+ let [N, k] = v;
100
+ return Array.isArray(k) ? k.includes({
101
101
  ...s,
102
102
  ...l
103
103
  }[N]) : {
104
104
  ...s,
105
105
  ...l
106
- }[N] === g;
106
+ }[N] === k;
107
107
  }) ? [
108
108
  ...m,
109
109
  d,
@@ -159,11 +159,11 @@ function Lt(...e) {
159
159
  }
160
160
  // @__NO_SIDE_EFFECTS__
161
161
  function $t(e) {
162
- const t = /* @__PURE__ */ Vt(e), o = v.forwardRef((a, n) => {
163
- const { children: s, ...i } = a, l = v.Children.toArray(s), c = l.find(_t);
162
+ const t = /* @__PURE__ */ Vt(e), o = w.forwardRef((a, n) => {
163
+ const { children: s, ...i } = a, l = w.Children.toArray(s), c = l.find(_t);
164
164
  if (c) {
165
- const m = c.props.children, u = l.map((d) => d === c ? v.Children.count(m) > 1 ? v.Children.only(null) : v.isValidElement(m) ? m.props.children : null : d);
166
- return /* @__PURE__ */ r(t, { ...i, ref: n, children: v.isValidElement(m) ? v.cloneElement(m, void 0, u) : null });
165
+ const m = c.props.children, u = l.map((d) => d === c ? w.Children.count(m) > 1 ? w.Children.only(null) : w.isValidElement(m) ? m.props.children : null : d);
166
+ return /* @__PURE__ */ r(t, { ...i, ref: n, children: w.isValidElement(m) ? w.cloneElement(m, void 0, u) : null });
167
167
  }
168
168
  return /* @__PURE__ */ r(t, { ...i, ref: n, children: s });
169
169
  });
@@ -172,19 +172,19 @@ function $t(e) {
172
172
  var Ot = /* @__PURE__ */ $t("Slot");
173
173
  // @__NO_SIDE_EFFECTS__
174
174
  function Vt(e) {
175
- const t = v.forwardRef((o, a) => {
175
+ const t = w.forwardRef((o, a) => {
176
176
  const { children: n, ...s } = o;
177
- if (v.isValidElement(n)) {
177
+ if (w.isValidElement(n)) {
178
178
  const i = Bt(n), l = Dt(s, n.props);
179
- return n.type !== v.Fragment && (l.ref = a ? Lt(a, i) : i), v.cloneElement(n, l);
179
+ return n.type !== w.Fragment && (l.ref = a ? Lt(a, i) : i), w.cloneElement(n, l);
180
180
  }
181
- return v.Children.count(n) > 1 ? v.Children.only(null) : null;
181
+ return w.Children.count(n) > 1 ? w.Children.only(null) : null;
182
182
  });
183
183
  return t.displayName = `${e}.SlotClone`, t;
184
184
  }
185
185
  var Ft = Symbol("radix.slottable");
186
186
  function _t(e) {
187
- return v.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Ft;
187
+ return w.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Ft;
188
188
  }
189
189
  function Dt(e, t) {
190
190
  const o = { ...t };
@@ -307,26 +307,26 @@ const $e = "-", Ht = (e) => {
307
307
  let a = (n) => {
308
308
  const s = [];
309
309
  let i = 0, l = 0, c = 0, m;
310
- for (let y = 0; y < n.length; y++) {
311
- let N = n[y];
310
+ for (let v = 0; v < n.length; v++) {
311
+ let N = n[v];
312
312
  if (i === 0 && l === 0) {
313
313
  if (N === Re) {
314
- s.push(n.slice(c, y)), c = y + Xt;
314
+ s.push(n.slice(c, v)), c = v + Xt;
315
315
  continue;
316
316
  }
317
317
  if (N === "/") {
318
- m = y;
318
+ m = v;
319
319
  continue;
320
320
  }
321
321
  }
322
322
  N === "[" ? i++ : N === "]" ? i-- : N === "(" ? l++ : N === ")" && l--;
323
323
  }
324
- const u = s.length === 0 ? n : n.substring(c), d = Kt(u), h = d !== u, S = m && m > c ? m - c : void 0;
324
+ const u = s.length === 0 ? n : n.substring(c), d = Kt(u), h = d !== u, M = m && m > c ? m - c : void 0;
325
325
  return {
326
326
  modifiers: s,
327
327
  hasImportantModifier: h,
328
328
  baseClassName: d,
329
- maybePostfixModifierPosition: S
329
+ maybePostfixModifierPosition: M
330
330
  };
331
331
  };
332
332
  if (t) {
@@ -375,34 +375,34 @@ const $e = "-", Ht = (e) => {
375
375
  const u = l[m], {
376
376
  isExternal: d,
377
377
  modifiers: h,
378
- hasImportantModifier: S,
379
- baseClassName: y,
378
+ hasImportantModifier: M,
379
+ baseClassName: v,
380
380
  maybePostfixModifierPosition: N
381
381
  } = o(u);
382
382
  if (d) {
383
383
  c = u + (c.length > 0 ? " " + c : c);
384
384
  continue;
385
385
  }
386
- let g = !!N, w = a(g ? y.substring(0, N) : y);
387
- if (!w) {
388
- if (!g) {
386
+ let k = !!N, g = a(k ? v.substring(0, N) : v);
387
+ if (!g) {
388
+ if (!k) {
389
389
  c = u + (c.length > 0 ? " " + c : c);
390
390
  continue;
391
391
  }
392
- if (w = a(y), !w) {
392
+ if (g = a(v), !g) {
393
393
  c = u + (c.length > 0 ? " " + c : c);
394
394
  continue;
395
395
  }
396
- g = !1;
396
+ k = !1;
397
397
  }
398
- const T = s(h).join(":"), E = S ? T + Ee : T, P = E + w;
399
- if (i.includes(P))
398
+ const E = s(h).join(":"), P = M ? E + Ee : E, I = P + g;
399
+ if (i.includes(I))
400
400
  continue;
401
- i.push(P);
402
- const M = n(w, g);
403
- for (let A = 0; A < M.length; ++A) {
404
- const I = M[A];
405
- i.push(E + I);
401
+ i.push(I);
402
+ const T = n(g, k);
403
+ for (let L = 0; L < T.length; ++L) {
404
+ const S = T[L];
405
+ i.push(P + S);
406
406
  }
407
407
  c = u + (c.length > 0 ? " " + c : c);
408
408
  }
@@ -439,7 +439,7 @@ function rr(e, ...t) {
439
439
  return s(tr.apply(null, arguments));
440
440
  };
441
441
  }
442
- const L = (e) => {
442
+ const $ = (e) => {
443
443
  const t = (o) => o[e] || [];
444
444
  return t.isThemeGetter = !0, t;
445
445
  }, nt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, st = /^\((?:(\w[\w-]*):)?(.+)\)$/i, or = /^\d+\/\d+$/, ar = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, nr = /\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$/, sr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ir = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, lr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ae = (e) => or.test(e), z = (e) => !!e && !Number.isNaN(Number(e)), Z = (e) => !!e && Number.isInteger(Number(e)), Me = (e) => e.endsWith("%") && z(e.slice(0, -1)), U = (e) => ar.test(e), cr = () => !0, dr = (e) => (
@@ -454,7 +454,7 @@ const L = (e) => {
454
454
  const a = st.exec(e);
455
455
  return a ? a[1] ? t(a[1]) : o : !1;
456
456
  }, lt = (e) => e === "position" || e === "percentage", ct = (e) => e === "image" || e === "url", dt = (e) => e === "length" || e === "size" || e === "bg-size", mt = (e) => e === "length", yr = (e) => e === "number", vr = (e) => e === "family-name", ut = (e) => e === "shadow", wr = () => {
457
- const e = L("color"), t = L("font"), o = L("text"), a = L("font-weight"), n = L("tracking"), s = L("leading"), i = L("breakpoint"), l = L("container"), c = L("spacing"), m = L("radius"), u = L("shadow"), d = L("inset-shadow"), h = L("text-shadow"), S = L("drop-shadow"), y = L("blur"), N = L("perspective"), g = L("aspect"), w = L("ease"), T = L("animate"), E = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], P = () => [
457
+ const e = $("color"), t = $("font"), o = $("text"), a = $("font-weight"), n = $("tracking"), s = $("leading"), i = $("breakpoint"), l = $("container"), c = $("spacing"), m = $("radius"), u = $("shadow"), d = $("inset-shadow"), h = $("text-shadow"), M = $("drop-shadow"), v = $("blur"), N = $("perspective"), k = $("aspect"), g = $("ease"), E = $("animate"), P = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], I = () => [
458
458
  "center",
459
459
  "top",
460
460
  "bottom",
@@ -472,9 +472,9 @@ const L = (e) => {
472
472
  "bottom-left",
473
473
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
474
474
  "left-bottom"
475
- ], M = () => [...P(), x, b], A = () => ["auto", "hidden", "clip", "visible", "scroll"], I = () => ["auto", "contain", "none"], k = () => [x, b, c], $ = () => [ae, "full", "auto", ...k()], q = () => [Z, "none", "subgrid", x, b], re = () => ["auto", {
475
+ ], T = () => [...I(), x, b], L = () => ["auto", "hidden", "clip", "visible", "scroll"], S = () => ["auto", "contain", "none"], y = () => [x, b, c], A = () => [ae, "full", "auto", ...y()], q = () => [Z, "none", "subgrid", x, b], re = () => ["auto", {
476
476
  span: ["full", Z, x, b]
477
- }, Z, x, b], X = () => [Z, "auto", x, b], oe = () => ["auto", "min", "max", "fr", x, b], Q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], D = () => ["auto", ...k()], W = () => [ae, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], C = () => [e, x, b], pe = () => [...P(), Je, Ke, {
477
+ }, Z, x, b], X = () => [Z, "auto", x, b], oe = () => ["auto", "min", "max", "fr", x, b], Q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], D = () => ["auto", ...y()], W = () => [ae, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...y()], C = () => [e, x, b], pe = () => [...I(), Je, Ke, {
478
478
  position: [x, b]
479
479
  }], de = () => ["no-repeat", {
480
480
  repeat: ["", "x", "y", "space", "round"]
@@ -492,10 +492,10 @@ const L = (e) => {
492
492
  // Deprecated since Tailwind CSS v4.0.0
493
493
  "",
494
494
  "none",
495
- y,
495
+ v,
496
496
  x,
497
497
  b
498
- ], he = () => ["none", z, x, b], ge = () => ["none", z, x, b], ke = () => [z, x, b], be = () => [ae, "full", ...k()];
498
+ ], he = () => ["none", z, x, b], ge = () => ["none", z, x, b], ke = () => [z, x, b], be = () => [ae, "full", ...y()];
499
499
  return {
500
500
  cacheSize: 500,
501
501
  theme: {
@@ -528,7 +528,7 @@ const L = (e) => {
528
528
  * @see https://tailwindcss.com/docs/aspect-ratio
529
529
  */
530
530
  aspect: [{
531
- aspect: ["auto", "square", ae, b, x, g]
531
+ aspect: ["auto", "square", ae, b, x, k]
532
532
  }],
533
533
  /**
534
534
  * Container
@@ -548,14 +548,14 @@ const L = (e) => {
548
548
  * @see https://tailwindcss.com/docs/break-after
549
549
  */
550
550
  "break-after": [{
551
- "break-after": E()
551
+ "break-after": P()
552
552
  }],
553
553
  /**
554
554
  * Break Before
555
555
  * @see https://tailwindcss.com/docs/break-before
556
556
  */
557
557
  "break-before": [{
558
- "break-before": E()
558
+ "break-before": P()
559
559
  }],
560
560
  /**
561
561
  * Break Inside
@@ -619,49 +619,49 @@ const L = (e) => {
619
619
  * @see https://tailwindcss.com/docs/object-position
620
620
  */
621
621
  "object-position": [{
622
- object: M()
622
+ object: T()
623
623
  }],
624
624
  /**
625
625
  * Overflow
626
626
  * @see https://tailwindcss.com/docs/overflow
627
627
  */
628
628
  overflow: [{
629
- overflow: A()
629
+ overflow: L()
630
630
  }],
631
631
  /**
632
632
  * Overflow X
633
633
  * @see https://tailwindcss.com/docs/overflow
634
634
  */
635
635
  "overflow-x": [{
636
- "overflow-x": A()
636
+ "overflow-x": L()
637
637
  }],
638
638
  /**
639
639
  * Overflow Y
640
640
  * @see https://tailwindcss.com/docs/overflow
641
641
  */
642
642
  "overflow-y": [{
643
- "overflow-y": A()
643
+ "overflow-y": L()
644
644
  }],
645
645
  /**
646
646
  * Overscroll Behavior
647
647
  * @see https://tailwindcss.com/docs/overscroll-behavior
648
648
  */
649
649
  overscroll: [{
650
- overscroll: I()
650
+ overscroll: S()
651
651
  }],
652
652
  /**
653
653
  * Overscroll Behavior X
654
654
  * @see https://tailwindcss.com/docs/overscroll-behavior
655
655
  */
656
656
  "overscroll-x": [{
657
- "overscroll-x": I()
657
+ "overscroll-x": S()
658
658
  }],
659
659
  /**
660
660
  * Overscroll Behavior Y
661
661
  * @see https://tailwindcss.com/docs/overscroll-behavior
662
662
  */
663
663
  "overscroll-y": [{
664
- "overscroll-y": I()
664
+ "overscroll-y": S()
665
665
  }],
666
666
  /**
667
667
  * Position
@@ -673,63 +673,63 @@ const L = (e) => {
673
673
  * @see https://tailwindcss.com/docs/top-right-bottom-left
674
674
  */
675
675
  inset: [{
676
- inset: $()
676
+ inset: A()
677
677
  }],
678
678
  /**
679
679
  * Right / Left
680
680
  * @see https://tailwindcss.com/docs/top-right-bottom-left
681
681
  */
682
682
  "inset-x": [{
683
- "inset-x": $()
683
+ "inset-x": A()
684
684
  }],
685
685
  /**
686
686
  * Top / Bottom
687
687
  * @see https://tailwindcss.com/docs/top-right-bottom-left
688
688
  */
689
689
  "inset-y": [{
690
- "inset-y": $()
690
+ "inset-y": A()
691
691
  }],
692
692
  /**
693
693
  * Start
694
694
  * @see https://tailwindcss.com/docs/top-right-bottom-left
695
695
  */
696
696
  start: [{
697
- start: $()
697
+ start: A()
698
698
  }],
699
699
  /**
700
700
  * End
701
701
  * @see https://tailwindcss.com/docs/top-right-bottom-left
702
702
  */
703
703
  end: [{
704
- end: $()
704
+ end: A()
705
705
  }],
706
706
  /**
707
707
  * Top
708
708
  * @see https://tailwindcss.com/docs/top-right-bottom-left
709
709
  */
710
710
  top: [{
711
- top: $()
711
+ top: A()
712
712
  }],
713
713
  /**
714
714
  * Right
715
715
  * @see https://tailwindcss.com/docs/top-right-bottom-left
716
716
  */
717
717
  right: [{
718
- right: $()
718
+ right: A()
719
719
  }],
720
720
  /**
721
721
  * Bottom
722
722
  * @see https://tailwindcss.com/docs/top-right-bottom-left
723
723
  */
724
724
  bottom: [{
725
- bottom: $()
725
+ bottom: A()
726
726
  }],
727
727
  /**
728
728
  * Left
729
729
  * @see https://tailwindcss.com/docs/top-right-bottom-left
730
730
  */
731
731
  left: [{
732
- left: $()
732
+ left: A()
733
733
  }],
734
734
  /**
735
735
  * Visibility
@@ -751,7 +751,7 @@ const L = (e) => {
751
751
  * @see https://tailwindcss.com/docs/flex-basis
752
752
  */
753
753
  basis: [{
754
- basis: [ae, "full", "auto", l, ...k()]
754
+ basis: [ae, "full", "auto", l, ...y()]
755
755
  }],
756
756
  /**
757
757
  * Flex Direction
@@ -877,21 +877,21 @@ const L = (e) => {
877
877
  * @see https://tailwindcss.com/docs/gap
878
878
  */
879
879
  gap: [{
880
- gap: k()
880
+ gap: y()
881
881
  }],
882
882
  /**
883
883
  * Gap X
884
884
  * @see https://tailwindcss.com/docs/gap
885
885
  */
886
886
  "gap-x": [{
887
- "gap-x": k()
887
+ "gap-x": y()
888
888
  }],
889
889
  /**
890
890
  * Gap Y
891
891
  * @see https://tailwindcss.com/docs/gap
892
892
  */
893
893
  "gap-y": [{
894
- "gap-y": k()
894
+ "gap-y": y()
895
895
  }],
896
896
  /**
897
897
  * Justify Content
@@ -966,63 +966,63 @@ const L = (e) => {
966
966
  * @see https://tailwindcss.com/docs/padding
967
967
  */
968
968
  p: [{
969
- p: k()
969
+ p: y()
970
970
  }],
971
971
  /**
972
972
  * Padding X
973
973
  * @see https://tailwindcss.com/docs/padding
974
974
  */
975
975
  px: [{
976
- px: k()
976
+ px: y()
977
977
  }],
978
978
  /**
979
979
  * Padding Y
980
980
  * @see https://tailwindcss.com/docs/padding
981
981
  */
982
982
  py: [{
983
- py: k()
983
+ py: y()
984
984
  }],
985
985
  /**
986
986
  * Padding Start
987
987
  * @see https://tailwindcss.com/docs/padding
988
988
  */
989
989
  ps: [{
990
- ps: k()
990
+ ps: y()
991
991
  }],
992
992
  /**
993
993
  * Padding End
994
994
  * @see https://tailwindcss.com/docs/padding
995
995
  */
996
996
  pe: [{
997
- pe: k()
997
+ pe: y()
998
998
  }],
999
999
  /**
1000
1000
  * Padding Top
1001
1001
  * @see https://tailwindcss.com/docs/padding
1002
1002
  */
1003
1003
  pt: [{
1004
- pt: k()
1004
+ pt: y()
1005
1005
  }],
1006
1006
  /**
1007
1007
  * Padding Right
1008
1008
  * @see https://tailwindcss.com/docs/padding
1009
1009
  */
1010
1010
  pr: [{
1011
- pr: k()
1011
+ pr: y()
1012
1012
  }],
1013
1013
  /**
1014
1014
  * Padding Bottom
1015
1015
  * @see https://tailwindcss.com/docs/padding
1016
1016
  */
1017
1017
  pb: [{
1018
- pb: k()
1018
+ pb: y()
1019
1019
  }],
1020
1020
  /**
1021
1021
  * Padding Left
1022
1022
  * @see https://tailwindcss.com/docs/padding
1023
1023
  */
1024
1024
  pl: [{
1025
- pl: k()
1025
+ pl: y()
1026
1026
  }],
1027
1027
  /**
1028
1028
  * Margin
@@ -1092,7 +1092,7 @@ const L = (e) => {
1092
1092
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1093
1093
  */
1094
1094
  "space-x": [{
1095
- "space-x": k()
1095
+ "space-x": y()
1096
1096
  }],
1097
1097
  /**
1098
1098
  * Space Between X Reverse
@@ -1104,7 +1104,7 @@ const L = (e) => {
1104
1104
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1105
1105
  */
1106
1106
  "space-y": [{
1107
- "space-y": k()
1107
+ "space-y": y()
1108
1108
  }],
1109
1109
  /**
1110
1110
  * Space Between Y Reverse
@@ -1273,7 +1273,7 @@ const L = (e) => {
1273
1273
  leading: [
1274
1274
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1275
1275
  s,
1276
- ...k()
1276
+ ...y()
1277
1277
  ]
1278
1278
  }],
1279
1279
  /**
@@ -1374,7 +1374,7 @@ const L = (e) => {
1374
1374
  * @see https://tailwindcss.com/docs/text-indent
1375
1375
  */
1376
1376
  indent: [{
1377
- indent: k()
1377
+ indent: y()
1378
1378
  }],
1379
1379
  /**
1380
1380
  * Vertical Alignment
@@ -2088,7 +2088,7 @@ const L = (e) => {
2088
2088
  }]
2089
2089
  }],
2090
2090
  "mask-image-radial-pos": [{
2091
- "mask-radial-at": P()
2091
+ "mask-radial-at": I()
2092
2092
  }],
2093
2093
  "mask-image-conic-pos": [{
2094
2094
  "mask-conic": [z]
@@ -2200,7 +2200,7 @@ const L = (e) => {
2200
2200
  // Deprecated since Tailwind CSS v4.0.0
2201
2201
  "",
2202
2202
  "none",
2203
- S,
2203
+ M,
2204
2204
  ye,
2205
2205
  xe
2206
2206
  ]
@@ -2338,21 +2338,21 @@ const L = (e) => {
2338
2338
  * @see https://tailwindcss.com/docs/border-spacing
2339
2339
  */
2340
2340
  "border-spacing": [{
2341
- "border-spacing": k()
2341
+ "border-spacing": y()
2342
2342
  }],
2343
2343
  /**
2344
2344
  * Border Spacing X
2345
2345
  * @see https://tailwindcss.com/docs/border-spacing
2346
2346
  */
2347
2347
  "border-spacing-x": [{
2348
- "border-spacing-x": k()
2348
+ "border-spacing-x": y()
2349
2349
  }],
2350
2350
  /**
2351
2351
  * Border Spacing Y
2352
2352
  * @see https://tailwindcss.com/docs/border-spacing
2353
2353
  */
2354
2354
  "border-spacing-y": [{
2355
- "border-spacing-y": k()
2355
+ "border-spacing-y": y()
2356
2356
  }],
2357
2357
  /**
2358
2358
  * Table Layout
@@ -2397,7 +2397,7 @@ const L = (e) => {
2397
2397
  * @see https://tailwindcss.com/docs/transition-timing-function
2398
2398
  */
2399
2399
  ease: [{
2400
- ease: ["linear", "initial", w, x, b]
2400
+ ease: ["linear", "initial", g, x, b]
2401
2401
  }],
2402
2402
  /**
2403
2403
  * Transition Delay
@@ -2411,7 +2411,7 @@ const L = (e) => {
2411
2411
  * @see https://tailwindcss.com/docs/animation
2412
2412
  */
2413
2413
  animate: [{
2414
- animate: ["none", T, x, b]
2414
+ animate: ["none", E, x, b]
2415
2415
  }],
2416
2416
  // ------------------
2417
2417
  // --- Transforms ---
@@ -2435,7 +2435,7 @@ const L = (e) => {
2435
2435
  * @see https://tailwindcss.com/docs/perspective-origin
2436
2436
  */
2437
2437
  "perspective-origin": [{
2438
- "perspective-origin": M()
2438
+ "perspective-origin": T()
2439
2439
  }],
2440
2440
  /**
2441
2441
  * Rotate
@@ -2531,7 +2531,7 @@ const L = (e) => {
2531
2531
  * @see https://tailwindcss.com/docs/transform-origin
2532
2532
  */
2533
2533
  "transform-origin": [{
2534
- origin: M()
2534
+ origin: T()
2535
2535
  }],
2536
2536
  /**
2537
2537
  * Transform Style
@@ -2644,126 +2644,126 @@ const L = (e) => {
2644
2644
  * @see https://tailwindcss.com/docs/scroll-margin
2645
2645
  */
2646
2646
  "scroll-m": [{
2647
- "scroll-m": k()
2647
+ "scroll-m": y()
2648
2648
  }],
2649
2649
  /**
2650
2650
  * Scroll Margin X
2651
2651
  * @see https://tailwindcss.com/docs/scroll-margin
2652
2652
  */
2653
2653
  "scroll-mx": [{
2654
- "scroll-mx": k()
2654
+ "scroll-mx": y()
2655
2655
  }],
2656
2656
  /**
2657
2657
  * Scroll Margin Y
2658
2658
  * @see https://tailwindcss.com/docs/scroll-margin
2659
2659
  */
2660
2660
  "scroll-my": [{
2661
- "scroll-my": k()
2661
+ "scroll-my": y()
2662
2662
  }],
2663
2663
  /**
2664
2664
  * Scroll Margin Start
2665
2665
  * @see https://tailwindcss.com/docs/scroll-margin
2666
2666
  */
2667
2667
  "scroll-ms": [{
2668
- "scroll-ms": k()
2668
+ "scroll-ms": y()
2669
2669
  }],
2670
2670
  /**
2671
2671
  * Scroll Margin End
2672
2672
  * @see https://tailwindcss.com/docs/scroll-margin
2673
2673
  */
2674
2674
  "scroll-me": [{
2675
- "scroll-me": k()
2675
+ "scroll-me": y()
2676
2676
  }],
2677
2677
  /**
2678
2678
  * Scroll Margin Top
2679
2679
  * @see https://tailwindcss.com/docs/scroll-margin
2680
2680
  */
2681
2681
  "scroll-mt": [{
2682
- "scroll-mt": k()
2682
+ "scroll-mt": y()
2683
2683
  }],
2684
2684
  /**
2685
2685
  * Scroll Margin Right
2686
2686
  * @see https://tailwindcss.com/docs/scroll-margin
2687
2687
  */
2688
2688
  "scroll-mr": [{
2689
- "scroll-mr": k()
2689
+ "scroll-mr": y()
2690
2690
  }],
2691
2691
  /**
2692
2692
  * Scroll Margin Bottom
2693
2693
  * @see https://tailwindcss.com/docs/scroll-margin
2694
2694
  */
2695
2695
  "scroll-mb": [{
2696
- "scroll-mb": k()
2696
+ "scroll-mb": y()
2697
2697
  }],
2698
2698
  /**
2699
2699
  * Scroll Margin Left
2700
2700
  * @see https://tailwindcss.com/docs/scroll-margin
2701
2701
  */
2702
2702
  "scroll-ml": [{
2703
- "scroll-ml": k()
2703
+ "scroll-ml": y()
2704
2704
  }],
2705
2705
  /**
2706
2706
  * Scroll Padding
2707
2707
  * @see https://tailwindcss.com/docs/scroll-padding
2708
2708
  */
2709
2709
  "scroll-p": [{
2710
- "scroll-p": k()
2710
+ "scroll-p": y()
2711
2711
  }],
2712
2712
  /**
2713
2713
  * Scroll Padding X
2714
2714
  * @see https://tailwindcss.com/docs/scroll-padding
2715
2715
  */
2716
2716
  "scroll-px": [{
2717
- "scroll-px": k()
2717
+ "scroll-px": y()
2718
2718
  }],
2719
2719
  /**
2720
2720
  * Scroll Padding Y
2721
2721
  * @see https://tailwindcss.com/docs/scroll-padding
2722
2722
  */
2723
2723
  "scroll-py": [{
2724
- "scroll-py": k()
2724
+ "scroll-py": y()
2725
2725
  }],
2726
2726
  /**
2727
2727
  * Scroll Padding Start
2728
2728
  * @see https://tailwindcss.com/docs/scroll-padding
2729
2729
  */
2730
2730
  "scroll-ps": [{
2731
- "scroll-ps": k()
2731
+ "scroll-ps": y()
2732
2732
  }],
2733
2733
  /**
2734
2734
  * Scroll Padding End
2735
2735
  * @see https://tailwindcss.com/docs/scroll-padding
2736
2736
  */
2737
2737
  "scroll-pe": [{
2738
- "scroll-pe": k()
2738
+ "scroll-pe": y()
2739
2739
  }],
2740
2740
  /**
2741
2741
  * Scroll Padding Top
2742
2742
  * @see https://tailwindcss.com/docs/scroll-padding
2743
2743
  */
2744
2744
  "scroll-pt": [{
2745
- "scroll-pt": k()
2745
+ "scroll-pt": y()
2746
2746
  }],
2747
2747
  /**
2748
2748
  * Scroll Padding Right
2749
2749
  * @see https://tailwindcss.com/docs/scroll-padding
2750
2750
  */
2751
2751
  "scroll-pr": [{
2752
- "scroll-pr": k()
2752
+ "scroll-pr": y()
2753
2753
  }],
2754
2754
  /**
2755
2755
  * Scroll Padding Bottom
2756
2756
  * @see https://tailwindcss.com/docs/scroll-padding
2757
2757
  */
2758
2758
  "scroll-pb": [{
2759
- "scroll-pb": k()
2759
+ "scroll-pb": y()
2760
2760
  }],
2761
2761
  /**
2762
2762
  * Scroll Padding Left
2763
2763
  * @see https://tailwindcss.com/docs/scroll-padding
2764
2764
  */
2765
2765
  "scroll-pl": [{
2766
- "scroll-pl": k()
2766
+ "scroll-pl": y()
2767
2767
  }],
2768
2768
  /**
2769
2769
  * Scroll Snap Align
@@ -2927,7 +2927,7 @@ const L = (e) => {
2927
2927
  function f(...e) {
2928
2928
  return kr(rt(e));
2929
2929
  }
2930
- const K = v.forwardRef(
2930
+ const K = w.forwardRef(
2931
2931
  ({ className: e, variant: t, size: o, asChild: a = !1, disabled: n, ...s }, i) => /* @__PURE__ */ r(
2932
2932
  a ? Ot : "button",
2933
2933
  {
@@ -3118,15 +3118,15 @@ const zr = (e) => {
3118
3118
  Footer: Er
3119
3119
  });
3120
3120
  function Rr(e, t, o, a, n, s) {
3121
- const i = (e - 90) * Math.PI / 180, l = (t - 90) * Math.PI / 180, c = n + o * Math.cos(i), m = s + o * Math.sin(i), u = n + o * Math.cos(l), d = s + o * Math.sin(l), h = n + a * Math.cos(l), S = s + a * Math.sin(l), y = n + a * Math.cos(i), N = s + a * Math.sin(i), g = t - e > 180 ? 1 : 0;
3121
+ const i = (e - 90) * Math.PI / 180, l = (t - 90) * Math.PI / 180, c = n + o * Math.cos(i), m = s + o * Math.sin(i), u = n + o * Math.cos(l), d = s + o * Math.sin(l), h = n + a * Math.cos(l), M = s + a * Math.sin(l), v = n + a * Math.cos(i), N = s + a * Math.sin(i), k = t - e > 180 ? 1 : 0;
3122
3122
  return [
3123
3123
  `M ${c} ${m}`,
3124
3124
  // Move to start point on outer arc
3125
- `A ${o} ${o} 0 ${g} 1 ${u} ${d}`,
3125
+ `A ${o} ${o} 0 ${k} 1 ${u} ${d}`,
3126
3126
  // Outer arc
3127
- `L ${h} ${S}`,
3127
+ `L ${h} ${M}`,
3128
3128
  // Line to inner arc
3129
- `A ${a} ${a} 0 ${g} 0 ${y} ${N}`,
3129
+ `A ${a} ${a} 0 ${k} 0 ${v} ${N}`,
3130
3130
  // Inner arc (reverse)
3131
3131
  "Z"
3132
3132
  // Close path
@@ -3153,7 +3153,7 @@ function jr(e, t, o, a, n) {
3153
3153
  }), i = d;
3154
3154
  }), l;
3155
3155
  }
3156
- const ft = v.forwardRef(
3156
+ const ft = w.forwardRef(
3157
3157
  ({
3158
3158
  segments: e,
3159
3159
  size: t = 300,
@@ -3165,22 +3165,22 @@ const ft = v.forwardRef(
3165
3165
  onSegmentClick: l,
3166
3166
  onSegmentHover: c
3167
3167
  }, m) => {
3168
- const [u, d] = v.useState(null), h = t / 2, S = t / 2, y = 2, N = t / 2 - y, g = N * o, w = jr(
3168
+ const [u, d] = w.useState(null), h = t / 2, M = t / 2, v = 2, N = t / 2 - v, k = N * o, g = jr(
3169
3169
  e,
3170
3170
  N,
3171
- g,
3171
+ k,
3172
3172
  h,
3173
- S
3174
- ), T = (P) => {
3175
- d(P), c?.(P);
3176
- }, E = s === "left" || s === "right";
3173
+ M
3174
+ ), E = (I) => {
3175
+ d(I), c?.(I);
3176
+ }, P = s === "left" || s === "right";
3177
3177
  return /* @__PURE__ */ p(
3178
3178
  "div",
3179
3179
  {
3180
3180
  ref: m,
3181
3181
  className: f(
3182
3182
  "flex gap-4",
3183
- E ? "flex-row items-center" : "flex-col items-center",
3183
+ P ? "flex-row items-center" : "flex-col items-center",
3184
3184
  s === "right" && "flex-row-reverse",
3185
3185
  s === "top" && "flex-col-reverse",
3186
3186
  i
@@ -3192,29 +3192,29 @@ const ft = v.forwardRef(
3192
3192
  className: "relative inline-block",
3193
3193
  style: { width: t, height: t },
3194
3194
  children: [
3195
- /* @__PURE__ */ r("svg", { width: t, height: t, viewBox: `0 0 ${t} ${t}`, children: w.map(({ path: P, segment: M }, A) => /* @__PURE__ */ r(
3195
+ /* @__PURE__ */ r("svg", { width: t, height: t, viewBox: `0 0 ${t} ${t}`, children: g.map(({ path: I, segment: T }, L) => /* @__PURE__ */ r(
3196
3196
  "path",
3197
3197
  {
3198
- d: P,
3199
- fill: M.color,
3198
+ d: I,
3199
+ fill: T.color,
3200
3200
  stroke: "white",
3201
- strokeWidth: y,
3201
+ strokeWidth: v,
3202
3202
  className: f(
3203
3203
  "transition-opacity duration-200",
3204
- u && u !== M && "opacity-50",
3204
+ u && u !== T && "opacity-50",
3205
3205
  l && "cursor-pointer"
3206
3206
  ),
3207
- onMouseEnter: () => T(M),
3208
- onMouseLeave: () => T(null),
3209
- onClick: () => l?.(M)
3207
+ onMouseEnter: () => E(T),
3208
+ onMouseLeave: () => E(null),
3209
+ onClick: () => l?.(T)
3210
3210
  },
3211
- `${M.label}-${A}`
3211
+ `${T.label}-${L}`
3212
3212
  )) }),
3213
3213
  a && /* @__PURE__ */ r(
3214
3214
  "div",
3215
3215
  {
3216
3216
  className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-center",
3217
- style: { maxWidth: g * 1.8 },
3217
+ style: { maxWidth: k * 1.8 },
3218
3218
  children: a
3219
3219
  }
3220
3220
  )
@@ -3226,31 +3226,31 @@ const ft = v.forwardRef(
3226
3226
  {
3227
3227
  className: f(
3228
3228
  "flex gap-2",
3229
- E ? "flex-col" : "flex-row flex-wrap justify-center"
3229
+ P ? "flex-col" : "flex-row flex-wrap justify-center"
3230
3230
  ),
3231
- children: e.map((P, M) => /* @__PURE__ */ p(
3231
+ children: e.map((I, T) => /* @__PURE__ */ p(
3232
3232
  "div",
3233
3233
  {
3234
3234
  className: f(
3235
3235
  "flex items-center gap-2 text-sm transition-opacity duration-200",
3236
- u && u !== P && "opacity-50",
3236
+ u && u !== I && "opacity-50",
3237
3237
  l && "cursor-pointer"
3238
3238
  ),
3239
- onMouseEnter: () => T(P),
3240
- onMouseLeave: () => T(null),
3241
- onClick: () => l?.(P),
3239
+ onMouseEnter: () => E(I),
3240
+ onMouseLeave: () => E(null),
3241
+ onClick: () => l?.(I),
3242
3242
  children: [
3243
3243
  /* @__PURE__ */ r(
3244
3244
  "div",
3245
3245
  {
3246
3246
  className: "h-3 w-3 rounded-sm flex-shrink-0",
3247
- style: { backgroundColor: P.color }
3247
+ style: { backgroundColor: I.color }
3248
3248
  }
3249
3249
  ),
3250
- /* @__PURE__ */ r("span", { className: "text-muted-foreground", children: P.label })
3250
+ /* @__PURE__ */ r("span", { className: "text-muted-foreground", children: I.label })
3251
3251
  ]
3252
3252
  },
3253
- `${P.label}-${M}`
3253
+ `${I.label}-${T}`
3254
3254
  ))
3255
3255
  }
3256
3256
  )
@@ -3267,17 +3267,17 @@ function ea(e, t, o = {}) {
3267
3267
  enableSearch: s = !1
3268
3268
  } = o, [i, l] = ee(
3269
3269
  a
3270
- ), [c, m] = ee(n), [u, d] = ee(""), h = Ne(() => It(e, i), [e, i]), S = Ne(() => {
3270
+ ), [c, m] = ee(n), [u, d] = ee(""), h = Ne(() => It(e, i), [e, i]), M = Ne(() => {
3271
3271
  if (!s || !u.trim())
3272
3272
  return h;
3273
- const w = u.toLowerCase();
3273
+ const g = u.toLowerCase();
3274
3274
  return h.filter(
3275
- (T) => T.title.toLowerCase().includes(w) || T.subtitle?.toLowerCase().includes(w)
3275
+ (E) => E.title.toLowerCase().includes(g) || E.subtitle?.toLowerCase().includes(g)
3276
3276
  );
3277
- }, [h, u, s]), y = Ne(() => c ? Et(S, c) : S, [S, c]), N = He(
3278
- (w) => Rt(e, w),
3277
+ }, [h, u, s]), v = Ne(() => c ? Et(M, c) : M, [M, c]), N = He(
3278
+ (g) => Rt(e, g),
3279
3279
  [e]
3280
- ), g = He(() => {
3280
+ ), k = He(() => {
3281
3281
  l(a), m(n), d("");
3282
3282
  }, [a, n]);
3283
3283
  return {
@@ -3287,9 +3287,9 @@ function ea(e, t, o = {}) {
3287
3287
  setSort: m,
3288
3288
  searchQuery: u,
3289
3289
  setSearchQuery: d,
3290
- filteredEntities: y,
3290
+ filteredEntities: v,
3291
3291
  getCategoryCount: N,
3292
- resetFilters: g
3292
+ resetFilters: k
3293
3293
  };
3294
3294
  }
3295
3295
  const Ar = J(
@@ -3314,7 +3314,7 @@ const Ar = J(
3314
3314
  size: "default"
3315
3315
  }
3316
3316
  }
3317
- ), Oe = v.forwardRef(
3317
+ ), Oe = w.forwardRef(
3318
3318
  ({
3319
3319
  className: e,
3320
3320
  variant: t,
@@ -3358,7 +3358,7 @@ const Ar = J(
3358
3358
  )
3359
3359
  );
3360
3360
  Oe.displayName = "Chip";
3361
- const ht = v.forwardRef(
3361
+ const ht = w.forwardRef(
3362
3362
  ({
3363
3363
  categories: e,
3364
3364
  activeCategory: t,
@@ -3383,7 +3383,7 @@ const ht = v.forwardRef(
3383
3383
  "aria-controls": `entities-panel-${l.id}`,
3384
3384
  selected: c,
3385
3385
  variant: c ? "selected" : "outline",
3386
- icon: typeof l.icon == "string" ? l.icon : l.icon ? v.createElement(l.icon) : void 0,
3386
+ icon: typeof l.icon == "string" ? l.icon : l.icon ? w.createElement(l.icon) : void 0,
3387
3387
  onClick: () => o(c ? null : l.id),
3388
3388
  children: [
3389
3389
  l.label,
@@ -3459,7 +3459,7 @@ const Lr = J(
3459
3459
  defaultVariants: {
3460
3460
  variant: "default"
3461
3461
  }
3462
- }), ne = v.forwardRef(
3462
+ }), ne = w.forwardRef(
3463
3463
  ({
3464
3464
  className: e,
3465
3465
  containerClassName: t,
@@ -3474,15 +3474,15 @@ const Lr = J(
3474
3474
  suffix: u,
3475
3475
  id: d,
3476
3476
  ...h
3477
- }, S) => {
3478
- const y = v.useId(), N = d || y, g = `${N}-helper`, w = `${N}-error`, T = l ? "error" : a, E = l || i;
3477
+ }, M) => {
3478
+ const v = w.useId(), N = d || v, k = `${N}-helper`, g = `${N}-error`, E = l ? "error" : a, P = l || i;
3479
3479
  return /* @__PURE__ */ p("div", { className: f("w-full", t), children: [
3480
3480
  s && /* @__PURE__ */ r(
3481
3481
  "label",
3482
3482
  {
3483
3483
  htmlFor: N,
3484
3484
  className: f(
3485
- $r({ variant: T, required: c }),
3485
+ $r({ variant: E, required: c }),
3486
3486
  o
3487
3487
  ),
3488
3488
  children: s
@@ -3494,27 +3494,27 @@ const Lr = J(
3494
3494
  "input",
3495
3495
  {
3496
3496
  id: N,
3497
- ref: S,
3497
+ ref: M,
3498
3498
  className: f(
3499
- Lr({ variant: T, inputSize: n }),
3499
+ Lr({ variant: E, inputSize: n }),
3500
3500
  m && "pl-10",
3501
3501
  u && "pr-10",
3502
3502
  e
3503
3503
  ),
3504
3504
  "aria-invalid": l ? "true" : "false",
3505
- "aria-describedby": E ? l ? w : g : void 0,
3505
+ "aria-describedby": P ? l ? g : k : void 0,
3506
3506
  ...h
3507
3507
  }
3508
3508
  ),
3509
3509
  u && /* @__PURE__ */ r("div", { className: "absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: u })
3510
3510
  ] }),
3511
- E && /* @__PURE__ */ r(
3511
+ P && /* @__PURE__ */ r(
3512
3512
  "p",
3513
3513
  {
3514
- id: l ? w : g,
3515
- className: Or({ variant: T }),
3514
+ id: l ? g : k,
3515
+ className: Or({ variant: E }),
3516
3516
  role: l ? "alert" : void 0,
3517
- children: E
3517
+ children: P
3518
3518
  }
3519
3519
  )
3520
3520
  ] });
@@ -3547,10 +3547,10 @@ const Vr = (e) => {
3547
3547
  const c = Ae.useRef(null);
3548
3548
  if (Ce(() => {
3549
3549
  if (!e || !l) return;
3550
- const y = (N) => {
3550
+ const v = (N) => {
3551
3551
  N.key === "Escape" && t();
3552
3552
  };
3553
- return document.addEventListener("keydown", y), () => document.removeEventListener("keydown", y);
3553
+ return document.addEventListener("keydown", v), () => document.removeEventListener("keydown", v);
3554
3554
  }, [e, l, t]), Ce(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
3555
3555
  document.body.style.overflow = "unset";
3556
3556
  }), [e]), Ce(() => {
@@ -3563,7 +3563,7 @@ const Vr = (e) => {
3563
3563
  Vr(n)
3564
3564
  ), d = f(
3565
3565
  "p-6 border-b border-border flex items-center justify-between"
3566
- ), h = f("p-6 overflow-y-auto flex-1"), S = f(
3566
+ ), h = f("p-6 overflow-y-auto flex-1"), M = f(
3567
3567
  "bg-none border-none text-xl cursor-pointer text-muted-foreground p-1 rounded-sm flex items-center justify-center hover:bg-accent hover:text-accent-foreground focus:outline-2 focus:outline-primary focus:outline-offset-2"
3568
3568
  );
3569
3569
  return /* @__PURE__ */ r(
@@ -3576,7 +3576,7 @@ const Vr = (e) => {
3576
3576
  {
3577
3577
  ref: c,
3578
3578
  className: u,
3579
- onClick: (y) => y.stopPropagation(),
3579
+ onClick: (v) => v.stopPropagation(),
3580
3580
  tabIndex: -1,
3581
3581
  role: "dialog",
3582
3582
  "aria-modal": "true",
@@ -3589,7 +3589,7 @@ const Vr = (e) => {
3589
3589
  {
3590
3590
  onClick: t,
3591
3591
  "aria-label": "Close modal",
3592
- className: S,
3592
+ className: M,
3593
3593
  children: "×"
3594
3594
  }
3595
3595
  )
@@ -3943,7 +3943,7 @@ const bo = [
3943
3943
  const yo = [
3944
3944
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
3945
3945
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
3946
- ], Ye = G("x", yo), Ve = v.forwardRef(
3946
+ ], Ye = G("x", yo), Ve = w.forwardRef(
3947
3947
  ({
3948
3948
  className: e,
3949
3949
  containerClassName: t,
@@ -3958,15 +3958,15 @@ const yo = [
3958
3958
  placeholder: u,
3959
3959
  id: d,
3960
3960
  ...h
3961
- }, S) => {
3962
- const y = v.useId(), N = d || y, g = `${N}-helper`, w = `${N}-error`, T = l ? "error" : a, E = l || i;
3961
+ }, M) => {
3962
+ const v = w.useId(), N = d || v, k = `${N}-helper`, g = `${N}-error`, E = l ? "error" : a, P = l || i;
3963
3963
  return /* @__PURE__ */ p("div", { className: f("w-full", t), children: [
3964
3964
  s && /* @__PURE__ */ r(
3965
3965
  "label",
3966
3966
  {
3967
3967
  htmlFor: N,
3968
3968
  className: f(
3969
- Br({ variant: T, required: c }),
3969
+ Br({ variant: E, required: c }),
3970
3970
  o
3971
3971
  ),
3972
3972
  children: s
@@ -3977,39 +3977,39 @@ const yo = [
3977
3977
  "select",
3978
3978
  {
3979
3979
  id: N,
3980
- ref: S,
3980
+ ref: M,
3981
3981
  className: f(
3982
- Dr({ variant: T, selectSize: n }),
3982
+ Dr({ variant: E, selectSize: n }),
3983
3983
  "pr-10",
3984
3984
  // Space for chevron icon
3985
3985
  e
3986
3986
  ),
3987
3987
  "aria-invalid": l ? "true" : "false",
3988
- "aria-describedby": E ? l ? w : g : void 0,
3988
+ "aria-describedby": P ? l ? g : k : void 0,
3989
3989
  ...h,
3990
3990
  children: [
3991
3991
  u && /* @__PURE__ */ r("option", { value: "", disabled: !0, children: u }),
3992
- m.map((P) => /* @__PURE__ */ r(
3992
+ m.map((I) => /* @__PURE__ */ r(
3993
3993
  "option",
3994
3994
  {
3995
- value: P.value,
3996
- disabled: P.disabled,
3997
- children: P.label
3995
+ value: I.value,
3996
+ disabled: I.disabled,
3997
+ children: I.label
3998
3998
  },
3999
- P.value
3999
+ I.value
4000
4000
  ))
4001
4001
  ]
4002
4002
  }
4003
4003
  ),
4004
4004
  /* @__PURE__ */ r("div", { className: "pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ r(ro, { className: "h-4 w-4" }) })
4005
4005
  ] }),
4006
- E && /* @__PURE__ */ r(
4006
+ P && /* @__PURE__ */ r(
4007
4007
  "p",
4008
4008
  {
4009
- id: l ? w : g,
4010
- className: Hr({ variant: T }),
4009
+ id: l ? g : k,
4010
+ className: Hr({ variant: E }),
4011
4011
  role: l ? "alert" : void 0,
4012
- children: E
4012
+ children: P
4013
4013
  }
4014
4014
  )
4015
4015
  ] });
@@ -4052,7 +4052,7 @@ const vo = (e) => {
4052
4052
  o && /* @__PURE__ */ r(R, { variant: "body", color: "muted", children: o })
4053
4053
  ] }),
4054
4054
  e
4055
- ] }) }), aa = ({ children: e, header: t, footer: o }) => /* @__PURE__ */ r(Fe, { header: t, footer: o, padding: "none", children: e }), bt = v.forwardRef(({ message: e = "No entities found", icon: t, action: o, className: a }, n) => /* @__PURE__ */ p(
4055
+ ] }) }), aa = ({ children: e, header: t, footer: o }) => /* @__PURE__ */ r(Fe, { header: t, footer: o, padding: "none", children: e }), bt = w.forwardRef(({ message: e = "No entities found", icon: t, action: o, className: a }, n) => /* @__PURE__ */ p(
4056
4056
  "div",
4057
4057
  {
4058
4058
  ref: n,
@@ -4070,7 +4070,7 @@ const vo = (e) => {
4070
4070
  }
4071
4071
  ));
4072
4072
  bt.displayName = "EntityDirectoryEmptyState";
4073
- const xt = v.forwardRef(({ error: e, onRetry: t, className: o }, a) => {
4073
+ const xt = w.forwardRef(({ error: e, onRetry: t, className: o }, a) => {
4074
4074
  const n = typeof e == "string" ? e : e.message;
4075
4075
  return /* @__PURE__ */ p(
4076
4076
  "div",
@@ -4092,12 +4092,12 @@ const xt = v.forwardRef(({ error: e, onRetry: t, className: o }, a) => {
4092
4092
  );
4093
4093
  });
4094
4094
  xt.displayName = "EntityDirectoryErrorState";
4095
- const yt = v.forwardRef(({ title: e, description: t, className: o }, a) => /* @__PURE__ */ p("div", { ref: a, className: f("space-y-1.5", o), children: [
4095
+ const yt = w.forwardRef(({ title: e, description: t, className: o }, a) => /* @__PURE__ */ p("div", { ref: a, className: f("space-y-1.5", o), children: [
4096
4096
  /* @__PURE__ */ r(R, { variant: "h2", className: "font-bold", children: e }),
4097
4097
  t && /* @__PURE__ */ r(R, { variant: "body", className: "text-muted-foreground", children: t })
4098
4098
  ] }));
4099
4099
  yt.displayName = "EntityDirectoryHeader";
4100
- const vt = v.forwardRef(
4100
+ const vt = w.forwardRef(
4101
4101
  ({
4102
4102
  entity: e,
4103
4103
  categories: t,
@@ -4137,7 +4137,7 @@ const vt = v.forwardRef(
4137
4137
  s ? "w-8 h-8 text-lg" : "w-10 h-10 text-xl"
4138
4138
  ),
4139
4139
  "aria-hidden": "true",
4140
- children: typeof e.icon == "string" ? /* @__PURE__ */ r("span", { children: e.icon }) : e.icon ? v.createElement(e.icon) : /* @__PURE__ */ r("span", { className: "text-muted-foreground", children: "•" })
4140
+ children: typeof e.icon == "string" ? /* @__PURE__ */ r("span", { children: e.icon }) : e.icon ? w.createElement(e.icon) : /* @__PURE__ */ r("span", { className: "text-muted-foreground", children: "•" })
4141
4141
  }
4142
4142
  ),
4143
4143
  /* @__PURE__ */ p("div", { className: "flex-1 min-w-0", children: [
@@ -4185,7 +4185,7 @@ const vt = v.forwardRef(
4185
4185
  }
4186
4186
  );
4187
4187
  vt.displayName = "EntityDirectoryListItem";
4188
- const wt = v.forwardRef(({ columns: e, showIcon: t, sort: o, onSortChange: a, compact: n, className: s }, i) => {
4188
+ const wt = w.forwardRef(({ columns: e, showIcon: t, sort: o, onSortChange: a, compact: n, className: s }, i) => {
4189
4189
  const l = (d) => {
4190
4190
  if (!a) return;
4191
4191
  const h = o?.column === d && o?.direction === "asc" ? "desc" : "asc";
@@ -4218,12 +4218,12 @@ const wt = v.forwardRef(({ columns: e, showIcon: t, sort: o, onSortChange: a, co
4218
4218
  children: [
4219
4219
  t && /* @__PURE__ */ r("div", { className: n ? "w-8" : "w-10" }),
4220
4220
  e.map((d) => {
4221
- const h = d.sortable && (d.key === "title" || d.key === "metric"), S = o?.column === d.key;
4221
+ const h = d.sortable && (d.key === "title" || d.key === "metric"), M = o?.column === d.key;
4222
4222
  return /* @__PURE__ */ p(
4223
4223
  "div",
4224
4224
  {
4225
4225
  role: "columnheader",
4226
- "aria-sort": S ? o?.direction === "asc" ? "ascending" : "descending" : void 0,
4226
+ "aria-sort": M ? o?.direction === "asc" ? "ascending" : "descending" : void 0,
4227
4227
  className: f(
4228
4228
  d.key === "title" && "flex-1",
4229
4229
  d.key === "category" && "w-40",
@@ -4231,12 +4231,12 @@ const wt = v.forwardRef(({ columns: e, showIcon: t, sort: o, onSortChange: a, co
4231
4231
  d.align === "center" && "text-center",
4232
4232
  d.align === "right" && "text-right",
4233
4233
  h && "cursor-pointer hover:text-foreground transition-colors select-none",
4234
- S && "text-foreground"
4234
+ M && "text-foreground"
4235
4235
  ),
4236
4236
  style: d.width ? { width: d.width } : void 0,
4237
4237
  onClick: h && (d.key === "title" || d.key === "metric") ? () => c(d.key) : void 0,
4238
4238
  tabIndex: h ? 0 : void 0,
4239
- onKeyDown: h && (d.key === "title" || d.key === "metric") ? (y) => m(y, d.key) : void 0,
4239
+ onKeyDown: h && (d.key === "title" || d.key === "metric") ? (v) => m(v, d.key) : void 0,
4240
4240
  children: [
4241
4241
  d.label,
4242
4242
  h && u(d.key)
@@ -4250,7 +4250,7 @@ const wt = v.forwardRef(({ columns: e, showIcon: t, sort: o, onSortChange: a, co
4250
4250
  );
4251
4251
  });
4252
4252
  wt.displayName = "EntityDirectoryTableHeader";
4253
- const kt = v.forwardRef(
4253
+ const kt = w.forwardRef(
4254
4254
  ({
4255
4255
  entities: e,
4256
4256
  categories: t,
@@ -4265,7 +4265,7 @@ const kt = v.forwardRef(
4265
4265
  renderItem: u,
4266
4266
  className: d
4267
4267
  }, h) => {
4268
- const S = [
4268
+ const M = [
4269
4269
  {
4270
4270
  key: "title",
4271
4271
  label: s ? "Nombre" : "Name",
@@ -4295,7 +4295,7 @@ const kt = v.forwardRef(
4295
4295
  /* @__PURE__ */ r(
4296
4296
  wt,
4297
4297
  {
4298
- columns: S,
4298
+ columns: M,
4299
4299
  showIcon: o,
4300
4300
  sort: l,
4301
4301
  onSortChange: c,
@@ -4303,17 +4303,17 @@ const kt = v.forwardRef(
4303
4303
  }
4304
4304
  ),
4305
4305
  /* @__PURE__ */ r("div", { role: "rowgroup", children: e.map(
4306
- (y) => u ? /* @__PURE__ */ r(v.Fragment, { children: u(y) }, y.id) : /* @__PURE__ */ r(
4306
+ (v) => u ? /* @__PURE__ */ r(w.Fragment, { children: u(v) }, v.id) : /* @__PURE__ */ r(
4307
4307
  vt,
4308
4308
  {
4309
- entity: y,
4309
+ entity: v,
4310
4310
  categories: t,
4311
4311
  showIcon: o,
4312
4312
  showCategoryBadge: a,
4313
4313
  showMetric: n,
4314
4314
  compact: m
4315
4315
  },
4316
- y.id
4316
+ v.id
4317
4317
  )
4318
4318
  ) })
4319
4319
  ]
@@ -4322,7 +4322,7 @@ const kt = v.forwardRef(
4322
4322
  }
4323
4323
  );
4324
4324
  kt.displayName = "EntityDirectoryList";
4325
- const Nt = v.forwardRef(({ rows: e = 5, className: t }, o) => /* @__PURE__ */ p(
4325
+ const Nt = w.forwardRef(({ rows: e = 5, className: t }, o) => /* @__PURE__ */ p(
4326
4326
  "div",
4327
4327
  {
4328
4328
  ref: o,
@@ -4352,7 +4352,7 @@ const Nt = v.forwardRef(({ rows: e = 5, className: t }, o) => /* @__PURE__ */ p(
4352
4352
  }
4353
4353
  ));
4354
4354
  Nt.displayName = "EntityDirectoryLoadingState";
4355
- const Ct = v.forwardRef(({ value: e, onChange: t, placeholder: o = "Search entities...", className: a }, n) => /* @__PURE__ */ p("div", { className: f("relative", a), children: [
4355
+ const Ct = w.forwardRef(({ value: e, onChange: t, placeholder: o = "Search entities...", className: a }, n) => /* @__PURE__ */ p("div", { className: f("relative", a), children: [
4356
4356
  /* @__PURE__ */ r("div", { className: "absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none", children: /* @__PURE__ */ r(
4357
4357
  "svg",
4358
4358
  {
@@ -4419,7 +4419,7 @@ const Ct = v.forwardRef(({ value: e, onChange: t, placeholder: o = "Search entit
4419
4419
  )
4420
4420
  ] }));
4421
4421
  Ct.displayName = "EntityDirectorySearchFilter";
4422
- const wo = v.forwardRef(
4422
+ const wo = w.forwardRef(
4423
4423
  ({
4424
4424
  entities: e,
4425
4425
  categories: t,
@@ -4434,25 +4434,25 @@ const wo = v.forwardRef(
4434
4434
  onSearchChange: u,
4435
4435
  searchPlaceholder: d,
4436
4436
  sortable: h = !1,
4437
- sort: S,
4438
- onSortChange: y,
4437
+ sort: M,
4438
+ onSortChange: v,
4439
4439
  showIcons: N = !0,
4440
- showCategoryBadges: g = !0,
4441
- showMetric: w = !0,
4442
- metricLabel: T,
4443
- compact: E = !1,
4444
- loading: P = !1,
4445
- error: M,
4446
- emptyMessage: A,
4447
- onRetry: I,
4448
- emptyState: k,
4449
- errorState: $,
4440
+ showCategoryBadges: k = !0,
4441
+ showMetric: g = !0,
4442
+ metricLabel: E,
4443
+ compact: P = !1,
4444
+ loading: I = !1,
4445
+ error: T,
4446
+ emptyMessage: L,
4447
+ onRetry: S,
4448
+ emptyState: y,
4449
+ errorState: A,
4450
4450
  loadingState: q,
4451
4451
  renderItem: re,
4452
4452
  className: X,
4453
4453
  style: oe
4454
4454
  }, Q) => {
4455
- const B = t && t.length > 0, D = !P && !M && e.length === 0, W = !P && !!M;
4455
+ const B = t && t.length > 0, D = !I && !T && e.length === 0, W = !I && !!T;
4456
4456
  return /* @__PURE__ */ p("div", { ref: Q, className: f("space-y-6", X), style: oe, children: [
4457
4457
  /* @__PURE__ */ r(yt, { title: o, description: a }),
4458
4458
  B && s && /* @__PURE__ */ r(
@@ -4473,22 +4473,22 @@ const wo = v.forwardRef(
4473
4473
  placeholder: d
4474
4474
  }
4475
4475
  ),
4476
- P && (q || /* @__PURE__ */ r(Nt, {})),
4477
- W && ($ || /* @__PURE__ */ r(xt, { error: M, onRetry: I })),
4478
- D && (k || /* @__PURE__ */ r(bt, { message: A })),
4479
- !P && !W && !D && /* @__PURE__ */ r(
4476
+ I && (q || /* @__PURE__ */ r(Nt, {})),
4477
+ W && (A || /* @__PURE__ */ r(xt, { error: T, onRetry: S })),
4478
+ D && (y || /* @__PURE__ */ r(bt, { message: L })),
4479
+ !I && !W && !D && /* @__PURE__ */ r(
4480
4480
  kt,
4481
4481
  {
4482
4482
  entities: e,
4483
4483
  categories: t,
4484
4484
  showIcons: N,
4485
- showCategoryBadges: g,
4486
- showMetric: w,
4487
- metricLabel: T,
4485
+ showCategoryBadges: k,
4486
+ showMetric: g,
4487
+ metricLabel: E,
4488
4488
  sortable: h,
4489
- sort: S,
4490
- onSortChange: y,
4491
- compact: E,
4489
+ sort: M,
4490
+ onSortChange: v,
4491
+ compact: P,
4492
4492
  renderItem: re
4493
4493
  }
4494
4494
  )
@@ -4518,28 +4518,38 @@ const No = we(
4518
4518
  navigationItemClassName: c,
4519
4519
  loginButtonClassName: m,
4520
4520
  mobileMenuButtonClassName: u,
4521
- id: d,
4522
- "aria-label": h
4523
- }, S) => {
4524
- const [y, N] = ee(!1), g = ko({
4521
+ renderNavLink: d,
4522
+ id: h,
4523
+ "aria-label": M
4524
+ }, v) => {
4525
+ const [N, k] = ee(!1), g = ko({
4525
4526
  variant: e,
4526
4527
  logo: t,
4527
4528
  navigationItems: o,
4528
4529
  loginButtonText: a,
4529
4530
  showMobileMenu: n
4530
- }), w = g.variant === "modern", T = g.variant === "luxury", E = T && g.showMobileMenu, P = y ? E ? "Close navigation panel" : "Close menu" : E ? "Open navigation panel" : "Open menu";
4531
+ }), E = g.variant === "modern", P = g.variant === "luxury", I = P && g.showMobileMenu, T = N ? I ? "Close navigation panel" : "Close menu" : I ? "Open navigation panel" : "Open menu", L = ({
4532
+ item: S,
4533
+ className: y,
4534
+ onClick: A
4535
+ }) => d ? d({
4536
+ item: S,
4537
+ children: S.label,
4538
+ className: y,
4539
+ onClick: A
4540
+ }) : /* @__PURE__ */ r("a", { href: S.href, className: y, onClick: A, children: S.label });
4531
4541
  return /* @__PURE__ */ p(se, { children: [
4532
4542
  /* @__PURE__ */ p(
4533
4543
  "header",
4534
4544
  {
4535
- ref: S,
4536
- id: d,
4545
+ ref: v,
4546
+ id: h,
4537
4547
  role: "banner",
4538
- "aria-label": h || "Site header",
4548
+ "aria-label": M || "Site header",
4539
4549
  className: f(
4540
4550
  "flex items-center justify-between relative w-full space-x-4",
4541
4551
  // Luxury: wide horizontal rhythm from Figma, Modern/Minimal: compact padding
4542
- T ? "px-16 py-2" : "px-6 py-1",
4552
+ P ? "px-16 py-2" : "px-6 py-1",
4543
4553
  s
4544
4554
  ),
4545
4555
  children: [
@@ -4549,9 +4559,9 @@ const No = we(
4549
4559
  className: f(
4550
4560
  "leading-normal",
4551
4561
  // Luxury: Tenor Sans serif mark, Modern/Minimal: bold sans mark
4552
- T ? "font-heading text-xl font-normal uppercase tracking-[0.04em]" : "font-black tracking-wider text-xl",
4562
+ P ? "font-heading text-xl font-normal uppercase tracking-[0.04em]" : "font-black tracking-wider text-xl",
4553
4563
  // Variant-default text color (can be overridden)
4554
- w ? "text-zinc-900" : "text-white",
4564
+ E ? "text-zinc-900" : "text-white",
4555
4565
  i
4556
4566
  ),
4557
4567
  children: g.logo
@@ -4563,12 +4573,12 @@ const No = we(
4563
4573
  className: f(
4564
4574
  "hidden md:flex items-center max-w-fit",
4565
4575
  // Luxury: plain links with separators, Modern: transparent row, Minimal: pill navigation
4566
- T ? "ml-auto gap-4" : w ? "gap-4 bg-transparent border-0 shadow-none" : "gap-4 px-6 py-2 bg-white border border-gray-200 rounded-full shadow-sm",
4576
+ P ? "ml-auto gap-4" : E ? "gap-4 bg-transparent border-0 shadow-none" : "gap-4 px-6 py-2 bg-white border border-gray-200 rounded-full shadow-sm",
4567
4577
  l
4568
4578
  ),
4569
4579
  "aria-label": "Main navigation",
4570
- children: g.navigationItems.map((M, A) => /* @__PURE__ */ p("div", { className: "flex items-center gap-4", children: [
4571
- A > 0 && /* @__PURE__ */ r(
4580
+ children: g.navigationItems.map((S, y) => /* @__PURE__ */ p("div", { className: "flex items-center gap-4", children: [
4581
+ y > 0 && /* @__PURE__ */ r(
4572
4582
  "div",
4573
4583
  {
4574
4584
  className: "flex items-center justify-center h-6 w-0",
@@ -4578,24 +4588,20 @@ const No = we(
4578
4588
  {
4579
4589
  className: f(
4580
4590
  "h-px w-full",
4581
- T ? "bg-white" : "bg-gray-200"
4591
+ P ? "bg-white" : "bg-gray-200"
4582
4592
  )
4583
4593
  }
4584
4594
  ) })
4585
4595
  }
4586
4596
  ),
4587
- /* @__PURE__ */ r(
4588
- "a",
4589
- {
4590
- href: M.href,
4591
- className: f(
4592
- T ? "font-body text-sm font-normal uppercase tracking-[0.05em] leading-5 text-white hover:text-white/80 transition-colors" : "text-gray-900 text-sm font-medium leading-5 hover:text-black transition-colors text-ellipsis overflow-hidden text-nowrap",
4593
- c
4594
- ),
4595
- children: M.label
4596
- }
4597
- )
4598
- ] }, M.id))
4597
+ L({
4598
+ item: S,
4599
+ className: f(
4600
+ P ? "font-body text-sm font-normal uppercase tracking-[0.05em] leading-5 text-white hover:text-white/80 transition-colors" : "text-gray-900 text-sm font-medium leading-5 hover:text-black transition-colors text-ellipsis overflow-hidden text-nowrap",
4601
+ c
4602
+ )
4603
+ })
4604
+ ] }, S.id))
4599
4605
  }
4600
4606
  ),
4601
4607
  /* @__PURE__ */ p("div", { className: f("flex items-center shrink-0 w-1/5", "gap-6 p-4"), children: [
@@ -4606,7 +4612,7 @@ const No = we(
4606
4612
  className: f(
4607
4613
  "hidden md:flex items-center justify-center px-4 py-2 text-sm font-medium leading-5 transition-colors",
4608
4614
  // Luxury: white outlined button, Modern: dark rectangular CTA, Minimal: white pill
4609
- T ? "font-body h-9 bg-white text-zinc-900 border border-zinc-200 rounded-none hover:bg-zinc-100" : w ? "h-10 bg-zinc-900 text-white border-0 rounded-md hover:bg-zinc-800" : "h-9 bg-white border border-gray-200 text-zinc-900 rounded-full hover:bg-zinc-200",
4615
+ P ? "font-body h-9 bg-white text-zinc-900 border border-zinc-200 rounded-none hover:bg-zinc-100" : E ? "h-10 bg-zinc-900 text-white border-0 rounded-md hover:bg-zinc-800" : "h-9 bg-white border border-gray-200 text-zinc-900 rounded-full hover:bg-zinc-200",
4610
4616
  m
4611
4617
  ),
4612
4618
  children: g.loginButtonText
@@ -4616,20 +4622,20 @@ const No = we(
4616
4622
  "button",
4617
4623
  {
4618
4624
  type: "button",
4619
- onClick: () => N(!y),
4620
- "aria-label": P,
4621
- "aria-expanded": y,
4625
+ onClick: () => k(!N),
4626
+ "aria-label": T,
4627
+ "aria-expanded": N,
4622
4628
  className: f(
4623
4629
  "flex md:hidden items-center justify-center px-3 py-2 bg-white transition-colors",
4624
- T ? "border border-zinc-200 text-zinc-900 hover:bg-zinc-100" : w ? "rounded-xl border border-zinc-200 hover:bg-gray-50" : "rounded-full hover:bg-gray-50",
4630
+ P ? "border border-zinc-200 text-zinc-900 hover:bg-zinc-100" : E ? "rounded-xl border border-zinc-200 hover:bg-gray-50" : "rounded-full hover:bg-gray-50",
4625
4631
  u
4626
4632
  ),
4627
- children: y ? /* @__PURE__ */ r(
4633
+ children: N ? /* @__PURE__ */ r(
4628
4634
  Ye,
4629
4635
  {
4630
4636
  className: f(
4631
4637
  "text-gray-900",
4632
- T ? "h-[15px] w-[15px]" : "h-4 w-4"
4638
+ P ? "h-[15px] w-[15px]" : "h-4 w-4"
4633
4639
  )
4634
4640
  }
4635
4641
  ) : /* @__PURE__ */ r(
@@ -4637,7 +4643,7 @@ const No = we(
4637
4643
  {
4638
4644
  className: f(
4639
4645
  "text-gray-900",
4640
- T ? "h-[15px] w-[15px]" : "h-4 w-4"
4646
+ P ? "h-[15px] w-[15px]" : "h-4 w-4"
4641
4647
  )
4642
4648
  }
4643
4649
  )
@@ -4647,7 +4653,7 @@ const No = we(
4647
4653
  ]
4648
4654
  }
4649
4655
  ),
4650
- y && g.showMobileMenu && /* @__PURE__ */ p(
4656
+ N && g.showMobileMenu && /* @__PURE__ */ p(
4651
4657
  "div",
4652
4658
  {
4653
4659
  className: "fixed inset-0 z-40 md:hidden",
@@ -4659,7 +4665,7 @@ const No = we(
4659
4665
  "div",
4660
4666
  {
4661
4667
  className: "fixed inset-0 bg-black/50",
4662
- onClick: () => N(!1),
4668
+ onClick: () => k(!1),
4663
4669
  "aria-hidden": "true"
4664
4670
  }
4665
4671
  ),
@@ -4668,23 +4674,18 @@ const No = we(
4668
4674
  "button",
4669
4675
  {
4670
4676
  type: "button",
4671
- onClick: () => N(!1),
4677
+ onClick: () => k(!1),
4672
4678
  "aria-label": "Close menu",
4673
4679
  className: "flex h-10 w-10 items-center justify-center rounded-full bg-zinc-100 text-zinc-900 hover:bg-zinc-200",
4674
4680
  children: /* @__PURE__ */ r(Ye, { className: "h-5 w-5" })
4675
4681
  }
4676
4682
  ) }),
4677
4683
  /* @__PURE__ */ r("nav", { className: "flex-1 overflow-y-auto px-6 py-4", children: /* @__PURE__ */ p("div", { className: "flex flex-col gap-4", children: [
4678
- g.navigationItems.map((M) => /* @__PURE__ */ r(
4679
- "a",
4680
- {
4681
- href: M.href,
4682
- className: "block text-base font-medium text-zinc-900 hover:text-zinc-600 transition-colors py-2",
4683
- onClick: () => N(!1),
4684
- children: M.label
4685
- },
4686
- M.id
4687
- )),
4684
+ g.navigationItems.map((S) => /* @__PURE__ */ r("div", { children: L({
4685
+ item: S,
4686
+ className: "block text-base font-medium text-zinc-900 hover:text-zinc-600 transition-colors py-2",
4687
+ onClick: () => k(!1)
4688
+ }) }, S.id)),
4688
4689
  /* @__PURE__ */ r("div", { className: "mt-4 pt-4 border-t border-zinc-200", children: /* @__PURE__ */ r(
4689
4690
  "button",
4690
4691
  {
@@ -4735,7 +4736,7 @@ const Co = (e) => ({
4735
4736
  theme: t,
4736
4737
  variant: o,
4737
4738
  layout: a
4738
- }), h = d.variant === "modern", S = d.variant === "modern" || d.variant === "luxury";
4739
+ }), h = d.variant === "modern", M = d.variant === "modern" || d.variant === "luxury";
4739
4740
  return /* @__PURE__ */ r(
4740
4741
  "section",
4741
4742
  {
@@ -4782,15 +4783,15 @@ const Co = (e) => ({
4782
4783
  /* @__PURE__ */ r("h1", { className: "text-4xl font-bold tracking-wide text-white sm:text-5xl lg:text-6xl", children: d.content.title }),
4783
4784
  d.content.subtitle && /* @__PURE__ */ r("p", { className: "mt-4 text-xl text-white/90 sm:text-2xl", children: d.content.subtitle })
4784
4785
  ] }),
4785
- d.variant === "minimal" && d.content.metrics && d.content.metrics.length > 0 && /* @__PURE__ */ r("div", { className: "mb-16", children: /* @__PURE__ */ r("div", { className: "mx-auto grid max-w-4xl grid-cols-1 gap-8 md:grid-cols-3", children: d.content.metrics.map((y, N) => /* @__PURE__ */ p("div", { className: "text-center", children: [
4786
- /* @__PURE__ */ r("div", { className: "mb-2 text-3xl font-bold text-white md:text-4xl", children: y.value }),
4787
- /* @__PURE__ */ r("div", { className: "text-sm text-white/80 md:text-base", children: y.label })
4786
+ d.variant === "minimal" && d.content.metrics && d.content.metrics.length > 0 && /* @__PURE__ */ r("div", { className: "mb-16", children: /* @__PURE__ */ r("div", { className: "mx-auto grid max-w-4xl grid-cols-1 gap-8 md:grid-cols-3", children: d.content.metrics.map((v, N) => /* @__PURE__ */ p("div", { className: "text-center", children: [
4787
+ /* @__PURE__ */ r("div", { className: "mb-2 text-3xl font-bold text-white md:text-4xl", children: v.value }),
4788
+ /* @__PURE__ */ r("div", { className: "text-sm text-white/80 md:text-base", children: v.label })
4788
4789
  ] }, N)) }) }),
4789
4790
  n && /* @__PURE__ */ r("div", { className: "relative z-20 mx-auto w-full max-w-4xl", children: n })
4790
4791
  ] }) }),
4791
- S && d.content.metrics && d.content.metrics.length > 0 && /* @__PURE__ */ r("div", { className: "absolute bottom-0 right-0 z-10 hidden md:block", children: /* @__PURE__ */ r("div", { className: "flex h-20 w-full max-w-4xl items-center gap-6 rounded-tl-2xl bg-white px-8 py-4 text-zinc-900 md:h-24 md:gap-12 md:px-12 md:py-6", children: d.content.metrics.map((y, N) => /* @__PURE__ */ p("div", { className: "flex flex-col", children: [
4792
- /* @__PURE__ */ r("div", { className: "text-xl font-semibold leading-tight md:text-2xl", children: y.value }),
4793
- /* @__PURE__ */ r("div", { className: "text-xs leading-tight text-zinc-600 md:text-sm", children: y.label })
4792
+ M && d.content.metrics && d.content.metrics.length > 0 && /* @__PURE__ */ r("div", { className: "absolute bottom-0 right-0 z-10 hidden md:block", children: /* @__PURE__ */ r("div", { className: "flex h-20 w-full max-w-4xl items-center gap-6 rounded-tl-2xl bg-white px-8 py-4 text-zinc-900 md:h-24 md:gap-12 md:px-12 md:py-6", children: d.content.metrics.map((v, N) => /* @__PURE__ */ p("div", { className: "flex flex-col", children: [
4793
+ /* @__PURE__ */ r("div", { className: "text-xl font-semibold leading-tight md:text-2xl", children: v.value }),
4794
+ /* @__PURE__ */ r("div", { className: "text-xs leading-tight text-zinc-600 md:text-sm", children: v.label })
4794
4795
  ] }, N)) }) }),
4795
4796
  d.variant === "minimal" && /* @__PURE__ */ r("div", { className: "relative z-10 pb-8", children: /* @__PURE__ */ r("div", { className: "flex justify-center", children: /* @__PURE__ */ r(
4796
4797
  "div",
@@ -4829,7 +4830,7 @@ const Mt = [
4829
4830
  // Light blue
4830
4831
  hoaFees: "#7fc9e3"
4831
4832
  // Very light blue
4832
- }, zo = v.forwardRef(
4833
+ }, zo = w.forwardRef(
4833
4834
  ({
4834
4835
  initialPropertyPrice: e = ve.propertyPrice,
4835
4836
  initialDownPayment: t = ve.downPayment,
@@ -4840,49 +4841,49 @@ const Mt = [
4840
4841
  className: i,
4841
4842
  onCalculationChange: l
4842
4843
  }, c) => {
4843
- const [m, u] = v.useState(e), [d, h] = v.useState(t), [S, y] = v.useState(o), [N, g] = v.useState(a), [w, T] = v.useState(0), [E, P] = v.useState(0), M = v.useMemo(() => {
4844
- const k = Mt.find(
4845
- (q) => q.value === S
4844
+ const [m, u] = w.useState(e), [d, h] = w.useState(t), [M, v] = w.useState(o), [N, k] = w.useState(a), [g, E] = w.useState(0), [P, I] = w.useState(0), T = w.useMemo(() => {
4845
+ const y = Mt.find(
4846
+ (q) => q.value === M
4846
4847
  )?.years || 30;
4847
4848
  return jt({
4848
4849
  propertyPrice: m,
4849
4850
  downPayment: d,
4850
- loanTerm: k,
4851
+ loanTerm: y,
4851
4852
  interestRate: N,
4852
- propertyTax: n ? w : void 0,
4853
- hoaFees: s ? E : void 0
4853
+ propertyTax: n ? g : void 0,
4854
+ hoaFees: s ? P : void 0
4854
4855
  });
4855
4856
  }, [
4856
4857
  m,
4857
4858
  d,
4858
- S,
4859
+ M,
4859
4860
  N,
4860
- w,
4861
- E,
4861
+ g,
4862
+ P,
4862
4863
  n,
4863
4864
  s
4864
4865
  ]);
4865
- v.useEffect(() => {
4866
- l?.(M);
4867
- }, [M, l]);
4868
- const A = v.useMemo(() => {
4869
- const I = [
4866
+ w.useEffect(() => {
4867
+ l?.(T);
4868
+ }, [T, l]);
4869
+ const L = w.useMemo(() => {
4870
+ const S = [
4870
4871
  {
4871
4872
  label: "Principal e Intereses",
4872
- value: M.breakdown.principalAndInterest,
4873
+ value: T.breakdown.principalAndInterest,
4873
4874
  color: Te.principalAndInterest
4874
4875
  }
4875
4876
  ];
4876
- return n && M.breakdown.propertyTax > 0 && I.push({
4877
+ return n && T.breakdown.propertyTax > 0 && S.push({
4877
4878
  label: "Impuesto Predial",
4878
- value: M.breakdown.propertyTax,
4879
+ value: T.breakdown.propertyTax,
4879
4880
  color: Te.propertyTax
4880
- }), s && M.breakdown.hoaFees > 0 && I.push({
4881
+ }), s && T.breakdown.hoaFees > 0 && S.push({
4881
4882
  label: "Cuota HOA",
4882
- value: M.breakdown.hoaFees,
4883
+ value: T.breakdown.hoaFees,
4883
4884
  color: Te.hoaFees
4884
- }), I;
4885
- }, [M, n, s]);
4885
+ }), S;
4886
+ }, [T, n, s]);
4886
4887
  return /* @__PURE__ */ r("div", { ref: c, className: f("w-full", i), children: /* @__PURE__ */ r(pt, { padding: "lg", className: "w-full", children: /* @__PURE__ */ p("div", { className: "space-y-6", children: [
4887
4888
  /* @__PURE__ */ p("div", { children: [
4888
4889
  /* @__PURE__ */ r(R, { variant: "h2", className: "mb-2", children: "Calculadora de Hipotecas" }),
@@ -4896,7 +4897,7 @@ const Mt = [
4896
4897
  label: "Precio de la propiedad",
4897
4898
  type: "number",
4898
4899
  value: m,
4899
- onChange: (I) => u(Number(I.target.value)),
4900
+ onChange: (S) => u(Number(S.target.value)),
4900
4901
  suffix: "MXN",
4901
4902
  min: 0,
4902
4903
  step: 1e4
@@ -4908,7 +4909,7 @@ const Mt = [
4908
4909
  label: "Enganche",
4909
4910
  type: "number",
4910
4911
  value: d,
4911
- onChange: (I) => h(Number(I.target.value)),
4912
+ onChange: (S) => h(Number(S.target.value)),
4912
4913
  suffix: "MXN",
4913
4914
  min: 0,
4914
4915
  step: 1e4
@@ -4919,8 +4920,8 @@ const Mt = [
4919
4920
  Ve,
4920
4921
  {
4921
4922
  label: "Programa de préstamos",
4922
- value: S,
4923
- onChange: (I) => y(I.target.value),
4923
+ value: M,
4924
+ onChange: (S) => v(S.target.value),
4924
4925
  options: To
4925
4926
  }
4926
4927
  ),
@@ -4930,7 +4931,7 @@ const Mt = [
4930
4931
  label: "Tasa de interés",
4931
4932
  type: "number",
4932
4933
  value: N,
4933
- onChange: (I) => g(Number(I.target.value)),
4934
+ onChange: (S) => k(Number(S.target.value)),
4934
4935
  suffix: "%",
4935
4936
  min: 0,
4936
4937
  max: 100,
@@ -4943,8 +4944,8 @@ const Mt = [
4943
4944
  {
4944
4945
  label: "Impuesto predial mensual",
4945
4946
  type: "number",
4946
- value: w,
4947
- onChange: (I) => T(Number(I.target.value)),
4947
+ value: g,
4948
+ onChange: (S) => E(Number(S.target.value)),
4948
4949
  suffix: "MXN",
4949
4950
  min: 0,
4950
4951
  step: 100
@@ -4955,8 +4956,8 @@ const Mt = [
4955
4956
  {
4956
4957
  label: "Cuota HOA mensual",
4957
4958
  type: "number",
4958
- value: E,
4959
- onChange: (I) => P(Number(I.target.value)),
4959
+ value: P,
4960
+ onChange: (S) => I(Number(S.target.value)),
4960
4961
  suffix: "MXN",
4961
4962
  min: 0,
4962
4963
  step: 100
@@ -4967,11 +4968,11 @@ const Mt = [
4967
4968
  /* @__PURE__ */ r(
4968
4969
  ft,
4969
4970
  {
4970
- segments: A,
4971
+ segments: L,
4971
4972
  size: 320,
4972
4973
  innerRadiusRatio: 0.65,
4973
4974
  centerContent: /* @__PURE__ */ p("div", { className: "text-center", children: [
4974
- /* @__PURE__ */ r(R, { variant: "h1", className: "font-bold mb-1", children: me(M.totalMonthlyPayment) }),
4975
+ /* @__PURE__ */ r(R, { variant: "h1", className: "font-bold mb-1", children: me(T.totalMonthlyPayment) }),
4975
4976
  /* @__PURE__ */ r(R, { variant: "body-sm", color: "secondary", children: "Tu Pago" })
4976
4977
  ] }),
4977
4978
  showLegend: !0,
@@ -4990,19 +4991,19 @@ const Mt = [
4990
4991
  /* @__PURE__ */ p("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-4 pt-4 border-t", children: [
4991
4992
  /* @__PURE__ */ p("div", { children: [
4992
4993
  /* @__PURE__ */ r(R, { variant: "caption", color: "secondary", className: "mb-1", children: "Monto del préstamo" }),
4993
- /* @__PURE__ */ r(R, { variant: "body", weight: "semibold", children: me(M.loanPrincipal) })
4994
+ /* @__PURE__ */ r(R, { variant: "body", weight: "semibold", children: me(T.loanPrincipal) })
4994
4995
  ] }),
4995
4996
  /* @__PURE__ */ p("div", { children: [
4996
4997
  /* @__PURE__ */ r(R, { variant: "caption", color: "secondary", className: "mb-1", children: "Pago mensual" }),
4997
- /* @__PURE__ */ r(R, { variant: "body", weight: "semibold", children: me(M.monthlyPayment) })
4998
+ /* @__PURE__ */ r(R, { variant: "body", weight: "semibold", children: me(T.monthlyPayment) })
4998
4999
  ] }),
4999
5000
  /* @__PURE__ */ p("div", { children: [
5000
5001
  /* @__PURE__ */ r(R, { variant: "caption", color: "secondary", className: "mb-1", children: "Interés total" }),
5001
- /* @__PURE__ */ r(R, { variant: "body", weight: "semibold", children: me(M.totalInterest) })
5002
+ /* @__PURE__ */ r(R, { variant: "body", weight: "semibold", children: me(T.totalInterest) })
5002
5003
  ] }),
5003
5004
  /* @__PURE__ */ p("div", { children: [
5004
5005
  /* @__PURE__ */ r(R, { variant: "caption", color: "secondary", className: "mb-1", children: "Total a pagar" }),
5005
- /* @__PURE__ */ r(R, { variant: "body", weight: "semibold", children: me(M.totalAmount) })
5006
+ /* @__PURE__ */ r(R, { variant: "body", weight: "semibold", children: me(T.totalAmount) })
5006
5007
  ] })
5007
5008
  ] })
5008
5009
  ] }) }) });
@@ -5063,66 +5064,66 @@ const Po = (e, t, o) => {
5063
5064
  variant: s = "default",
5064
5065
  badgeColors: i
5065
5066
  }) => {
5066
- const [l, c] = ee(0), [m, u] = ee(!1), [d, h] = ee(!1), S = (_) => {
5067
+ const [l, c] = ee(0), [m, u] = ee(!1), [d, h] = ee(!1), M = (_) => {
5067
5068
  _.preventDefault(), _.stopPropagation();
5068
5069
  const F = !m;
5069
5070
  u(F), o?.(e.id, F);
5070
- }, y = (_) => {
5071
+ }, v = (_) => {
5071
5072
  _.preventDefault(), _.stopPropagation(), a?.(l, e.id);
5072
- }, N = (_, F) => !_ || !F ? "Price not available" : `$${_.toLocaleString()} ${F}`, g = s === "compact", w = s === "minimal", T = f(
5073
+ }, N = (_, F) => !_ || !F ? "Price not available" : `$${_.toLocaleString()} ${F}`, k = s === "compact", g = s === "minimal", E = f(
5073
5074
  "relative overflow-hidden bg-card transition-all duration-300 ease-out cursor-pointer",
5074
- g ? "rounded-xl hover:shadow-lg border px-4 shadow-md" : w ? "rounded-2xl w-[454px] flex flex-col gap-4" : "rounded-2xl hover:-translate-y-1 hover:shadow-xl shadow-md",
5075
+ k ? "rounded-xl hover:shadow-lg border px-4 shadow-md" : g ? "rounded-2xl w-[454px] flex flex-col gap-4" : "rounded-2xl hover:-translate-y-1 hover:shadow-xl shadow-md",
5075
5076
  t
5076
- ), E = f(
5077
- "relative overflow-hidden",
5078
- g ? "rounded-xl px-4 shadow-md" : w ? "rounded-2xl" : ""
5079
5077
  ), P = f(
5078
+ "relative overflow-hidden",
5079
+ k ? "rounded-xl px-4 shadow-md" : g ? "rounded-2xl" : ""
5080
+ ), I = f(
5080
5081
  "w-full h-full object-cover",
5081
- g ? "" : w ? "rounded-2xl" : "transition-transform duration-300 hover:scale-105"
5082
- ), M = f(
5082
+ k ? "" : g ? "rounded-2xl" : "transition-transform duration-300 hover:scale-105"
5083
+ ), T = f(
5083
5084
  "absolute z-10 flex flex-wrap gap-2",
5084
- g ? "top-3 left-3" : "top-4 left-4"
5085
- ), A = f(
5085
+ k ? "top-3 left-3" : "top-4 left-4"
5086
+ ), L = f(
5086
5087
  "font-semibold",
5087
- g ? "rounded-full px-3 py-1 text-xs" : w ? "rounded-full px-3 h-7 flex items-center justify-center text-base" : "px-2 py-1 rounded-lg font-medium uppercase tracking-wide text-xs"
5088
- ), I = f(
5088
+ k ? "rounded-full px-3 py-1 text-xs" : g ? "rounded-full px-3 h-7 flex items-center justify-center text-base" : "px-2 py-1 rounded-lg font-medium uppercase tracking-wide text-xs"
5089
+ ), S = f(
5089
5090
  "absolute z-10 cursor-pointer transition-all duration-200",
5090
- g ? "top-3 right-3 p-1 shadow-md rounded-full" : w ? "top-4 right-4 w-7 h-7 flex items-center justify-center hover:scale-105" : "top-4 right-4 bg-background/90 backdrop-blur-sm border border-border/20 text-foreground w-10 h-10 flex items-center justify-center rounded-full hover:bg-background hover:scale-105"
5091
- ), k = f(
5091
+ k ? "top-3 right-3 p-1 shadow-md rounded-full" : g ? "top-4 right-4 w-7 h-7 flex items-center justify-center hover:scale-105" : "top-4 right-4 bg-background/90 backdrop-blur-sm border border-border/20 text-foreground w-10 h-10 flex items-center justify-center rounded-full hover:bg-background hover:scale-105"
5092
+ ), y = f(
5092
5093
  "absolute left-1/2 -translate-x-1/2 flex z-10",
5093
- w ? "bottom-4 gap-2 p-4" : "bottom-4 gap-1"
5094
- ), $ = f(
5094
+ g ? "bottom-4 gap-2 p-4" : "bottom-4 gap-1"
5095
+ ), A = f(
5095
5096
  "w-2 h-2 rounded-full border-none cursor-pointer transition-all duration-200 hover:scale-120"
5096
5097
  ), q = f(
5097
- g ? "p-2" : w ? "flex flex-col gap-2" : "p-6"
5098
+ k ? "p-2" : g ? "flex flex-col gap-2" : "p-6"
5098
5099
  ), re = f(
5099
5100
  "font-semibold text-foreground line-clamp-2 leading-tight",
5100
- g ? "text-base mb-2" : w ? "text-base" : "text-lg font-bold mb-2"
5101
+ k ? "text-base mb-2" : g ? "text-base" : "text-lg font-bold mb-2"
5101
5102
  ), X = f(
5102
5103
  "font-bold",
5103
- g ? "text-lg text-primary mb-2" : w ? "text-lg text-foreground" : "text-xl text-primary mb-2"
5104
+ k ? "text-lg text-primary mb-2" : g ? "text-lg text-foreground" : "text-xl text-primary mb-2"
5104
5105
  ), oe = f(
5105
5106
  "text-muted-foreground",
5106
- g ? "text-sm flex items-center gap-1 mb-4" : w ? "text-base" : "text-base mb-4"
5107
+ k ? "text-sm flex items-center gap-1 mb-4" : g ? "text-base" : "text-base mb-4"
5107
5108
  ), Q = f(
5108
5109
  "flex items-center",
5109
- g ? "justify-between mt-3 mb-4" : w ? "gap-3" : "gap-4 mb-4"
5110
+ k ? "justify-between mt-3 mb-4" : g ? "gap-3" : "gap-4 mb-4"
5110
5111
  ), B = f(
5111
5112
  "flex items-center gap-1 text-muted-foreground",
5112
5113
  "text-sm"
5113
5114
  ), D = f(
5114
5115
  "text-sm text-muted-foreground line-clamp-2",
5115
- g ? "mt-2" : ""
5116
+ k ? "mt-2" : ""
5116
5117
  ), C = !(e.images && e.images.length > 0) || d, pe = () => /* @__PURE__ */ p("div", { className: "w-full h-full bg-gradient-to-br from-primary/10 via-primary/5 to-secondary/10 flex flex-col items-center justify-center gap-3", children: [
5117
- /* @__PURE__ */ r("div", { className: "rounded-full bg-primary/10 p-6", children: /* @__PURE__ */ r(lo, { size: g ? 32 : 48, className: "text-primary/40" }) }),
5118
+ /* @__PURE__ */ r("div", { className: "rounded-full bg-primary/10 p-6", children: /* @__PURE__ */ r(lo, { size: k ? 32 : 48, className: "text-primary/40" }) }),
5118
5119
  /* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground", children: "No image available" })
5119
- ] }), de = /* @__PURE__ */ p("div", { className: T, children: [
5120
+ ] }), de = /* @__PURE__ */ p("div", { className: E, children: [
5120
5121
  /* @__PURE__ */ p(
5121
5122
  "div",
5122
5123
  {
5123
5124
  className: f(
5124
- E,
5125
- g ? "h-52" : w ? "h-[481px]" : "aspect-[4/3]"
5125
+ P,
5126
+ k ? "h-52" : g ? "h-[481px]" : "aspect-[4/3]"
5126
5127
  ),
5127
5128
  children: [
5128
5129
  C ? /* @__PURE__ */ r(pe, {}) : /* @__PURE__ */ p("div", { className: "relative w-full h-full", "aria-hidden": "true", children: [
@@ -5131,24 +5132,24 @@ const Po = (e, t, o) => {
5131
5132
  {
5132
5133
  src: e.images[l],
5133
5134
  alt: e.title,
5134
- className: P,
5135
- onClick: a ? y : void 0,
5135
+ className: I,
5136
+ onClick: a ? v : void 0,
5136
5137
  onError: () => h(!0)
5137
5138
  }
5138
5139
  ),
5139
5140
  /* @__PURE__ */ r("div", { className: "absolute inset-0 bg-gradient-to-b from-transparent to-black/40 pointer-events-none rounded-2xl" })
5140
5141
  ] }),
5141
- /* @__PURE__ */ r("div", { className: M, children: e.transactionTypes.map((_, F) => {
5142
+ /* @__PURE__ */ r("div", { className: T, children: e.transactionTypes.map((_, F) => {
5142
5143
  const j = i?.[_.type];
5143
5144
  return /* @__PURE__ */ r(
5144
5145
  "span",
5145
5146
  {
5146
5147
  className: f(
5147
- A,
5148
+ L,
5148
5149
  Po(
5149
5150
  _,
5150
5151
  j,
5151
- w
5152
+ g
5152
5153
  )
5153
5154
  ),
5154
5155
  style: j ? { backgroundColor: j } : void 0,
@@ -5160,10 +5161,10 @@ const Po = (e, t, o) => {
5160
5161
  n && /* @__PURE__ */ r(
5161
5162
  "button",
5162
5163
  {
5163
- onClick: S,
5164
- className: I,
5164
+ onClick: M,
5165
+ className: S,
5165
5166
  "aria-label": m ? "Unlike property" : "Like property",
5166
- children: g ? /* @__PURE__ */ r(
5167
+ children: k ? /* @__PURE__ */ r(
5167
5168
  "svg",
5168
5169
  {
5169
5170
  xmlns: "http://www.w3.org/2000/svg",
@@ -5186,17 +5187,17 @@ const Po = (e, t, o) => {
5186
5187
  {
5187
5188
  size: 20,
5188
5189
  fill: m ? "currentColor" : "none",
5189
- className: w ? "text-white" : m ? "text-destructive" : "",
5190
- strokeWidth: w ? 1.5 : 2
5190
+ className: g ? "text-white" : m ? "text-destructive" : "",
5191
+ strokeWidth: g ? 1.5 : 2
5191
5192
  }
5192
5193
  )
5193
5194
  }
5194
5195
  ),
5195
- !g && !C && e.images.length > 1 && /* @__PURE__ */ r("div", { className: k, children: e.images.map((_, F) => /* @__PURE__ */ r(
5196
+ !k && !C && e.images.length > 1 && /* @__PURE__ */ r("div", { className: y, children: e.images.map((_, F) => /* @__PURE__ */ r(
5196
5197
  "button",
5197
5198
  {
5198
5199
  className: f(
5199
- $,
5200
+ A,
5200
5201
  F === l ? "bg-white" : "bg-white/50"
5201
5202
  ),
5202
5203
  onClick: (j) => {
@@ -5214,26 +5215,26 @@ const Po = (e, t, o) => {
5214
5215
  /* @__PURE__ */ r("h3", { className: re, children: e.title }),
5215
5216
  /* @__PURE__ */ r("p", { className: X, children: N(e.price?.amount, e.price?.currency) }),
5216
5217
  /* @__PURE__ */ p("p", { className: oe, children: [
5217
- g && /* @__PURE__ */ r(mo, { size: 14 }),
5218
+ k && /* @__PURE__ */ r(mo, { size: 14 }),
5218
5219
  e.location.city,
5219
5220
  ", ",
5220
5221
  e.location.state
5221
5222
  ] }),
5222
5223
  /* @__PURE__ */ p("div", { className: Q, children: [
5223
5224
  /* @__PURE__ */ p("div", { className: B, children: [
5224
- /* @__PURE__ */ r(Qr, { size: w ? 20 : 16 }),
5225
+ /* @__PURE__ */ r(Qr, { size: g ? 20 : 16 }),
5225
5226
  /* @__PURE__ */ r("span", { children: e.features.bedrooms })
5226
5227
  ] }),
5227
5228
  /* @__PURE__ */ p("div", { className: B, children: [
5228
- /* @__PURE__ */ r(Kr, { size: w ? 20 : 16 }),
5229
+ /* @__PURE__ */ r(Kr, { size: g ? 20 : 16 }),
5229
5230
  /* @__PURE__ */ r("span", { children: e.features.bathrooms })
5230
5231
  ] }),
5231
5232
  /* @__PURE__ */ p("div", { className: B, children: [
5232
- /* @__PURE__ */ r(eo, { size: w ? 20 : 16 }),
5233
+ /* @__PURE__ */ r(eo, { size: g ? 20 : 16 }),
5233
5234
  /* @__PURE__ */ r("span", { children: e.features.parking })
5234
5235
  ] }),
5235
5236
  /* @__PURE__ */ p("div", { className: B, children: [
5236
- /* @__PURE__ */ r(po, { size: w ? 20 : 16 }),
5237
+ /* @__PURE__ */ r(po, { size: g ? 20 : 16 }),
5237
5238
  /* @__PURE__ */ p("span", { children: [
5238
5239
  e.features.area,
5239
5240
  " m²"
@@ -5342,7 +5343,7 @@ function Ro({
5342
5343
  transactionTypeOptions: a,
5343
5344
  locationOptions: n
5344
5345
  }) {
5345
- const s = v.useMemo(
5346
+ const s = w.useMemo(
5346
5347
  () => ({
5347
5348
  propertyType: t?.propertyType || o[0]?.value || "",
5348
5349
  transactionType: t?.transactionType || a[0]?.value || "",
@@ -5354,7 +5355,7 @@ function Ro({
5354
5355
  a,
5355
5356
  n
5356
5357
  ]
5357
- ), [i, l] = v.useState(s), c = v.useCallback(
5358
+ ), [i, l] = w.useState(s), c = w.useCallback(
5358
5359
  (u) => {
5359
5360
  l((d) => {
5360
5361
  const h = typeof u == "function" ? u(d) : u;
@@ -5362,7 +5363,7 @@ function Ro({
5362
5363
  });
5363
5364
  },
5364
5365
  []
5365
- ), m = v.useCallback(
5366
+ ), m = w.useCallback(
5366
5367
  (u) => {
5367
5368
  u.preventDefault(), e?.({
5368
5369
  propertyType: i.propertyType,
@@ -5410,13 +5411,13 @@ const _e = ({
5410
5411
  className: n,
5411
5412
  containerClassName: s
5412
5413
  }) => {
5413
- const i = v.useMemo(
5414
+ const i = w.useMemo(
5414
5415
  () => t.map((c) => ({
5415
5416
  value: c.value,
5416
5417
  label: c.label
5417
5418
  })),
5418
5419
  [t]
5419
- ), l = v.useCallback(
5420
+ ), l = w.useCallback(
5420
5421
  (c) => {
5421
5422
  a(c.target.value);
5422
5423
  },
@@ -5779,67 +5780,67 @@ const _e = ({
5779
5780
  locationOptions: i,
5780
5781
  buttonLabel: l
5781
5782
  }) => {
5782
- const [c, m] = v.useState(!1), [u, d] = v.useState(null), h = Ro({
5783
+ const [c, m] = w.useState(!1), [u, d] = w.useState(null), h = Ro({
5783
5784
  onSubmit: e,
5784
5785
  defaultValues: t,
5785
5786
  propertyTypeOptions: n,
5786
5787
  transactionTypeOptions: s,
5787
5788
  locationOptions: i
5788
5789
  }), {
5789
- formData: S,
5790
- setFormData: y,
5790
+ formData: M,
5791
+ setFormData: v,
5791
5792
  handleSubmit: N,
5792
- propertyTypeOptions: g,
5793
- transactionTypeOptions: w,
5794
- locationOptions: T
5795
- } = h, E = v.useCallback(
5796
- async (I) => {
5797
- I.preventDefault(), d(null), m(!0);
5793
+ propertyTypeOptions: k,
5794
+ transactionTypeOptions: g,
5795
+ locationOptions: E
5796
+ } = h, P = w.useCallback(
5797
+ async (S) => {
5798
+ S.preventDefault(), d(null), m(!0);
5798
5799
  try {
5799
- await N(I);
5800
- } catch (k) {
5801
- const $ = k instanceof Error ? k.message : "Search failed. Please try again.";
5802
- d($), console.error("Search error:", k);
5800
+ await N(S);
5801
+ } catch (y) {
5802
+ const A = y instanceof Error ? y.message : "Search failed. Please try again.";
5803
+ d(A), console.error("Search error:", y);
5803
5804
  } finally {
5804
5805
  m(!1);
5805
5806
  }
5806
5807
  },
5807
5808
  [N]
5808
- ), P = v.useCallback(
5809
- (I) => (k) => {
5810
- d(null), y(($) => ({ ...$, [I]: k }));
5809
+ ), I = w.useCallback(
5810
+ (S) => (y) => {
5811
+ d(null), v((A) => ({ ...A, [S]: y }));
5811
5812
  },
5812
- [y]
5813
- ), M = v.useMemo(
5813
+ [v]
5814
+ ), T = w.useMemo(
5814
5815
  () => ({
5815
- propertyTypeOptions: g,
5816
- transactionTypeOptions: w,
5817
- locationOptions: T
5816
+ propertyTypeOptions: k,
5817
+ transactionTypeOptions: g,
5818
+ locationOptions: E
5818
5819
  }),
5819
- [g, w, T]
5820
- ), A = et[a] || et.minimal;
5820
+ [k, g, E]
5821
+ ), L = et[a] || et.minimal;
5821
5822
  return /* @__PURE__ */ p(se, { children: [
5822
5823
  /* @__PURE__ */ r(
5823
- A,
5824
+ L,
5824
5825
  {
5825
- formData: S,
5826
- options: M,
5826
+ formData: M,
5827
+ options: T,
5827
5828
  isSubmitting: c,
5828
5829
  error: u,
5829
5830
  className: o,
5830
- onFieldChange: P,
5831
- onSubmit: E,
5831
+ onFieldChange: I,
5832
+ onSubmit: P,
5832
5833
  ...(a === "modern" || a === "luxury") && { buttonLabel: l }
5833
5834
  }
5834
5835
  ),
5835
5836
  a === "minimal" && /* @__PURE__ */ r(
5836
5837
  Oo,
5837
5838
  {
5838
- formData: S,
5839
- options: M,
5839
+ formData: M,
5840
+ options: T,
5840
5841
  isSubmitting: c,
5841
- onFieldChange: P,
5842
- onSubmit: E
5842
+ onFieldChange: I,
5843
+ onSubmit: P
5843
5844
  }
5844
5845
  )
5845
5846
  ] });