@homlista-devs/ui 1.6.3 → 1.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
1
  import { jsx as r, jsxs as p, Fragment as se } from "react/jsx-runtime";
2
2
  import * as v from "react";
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
- import { createEvent as Le, createStore as zt } from "effector";
5
- import { useUnit as Pt } from "effector-react";
6
- function It(e, t) {
3
+ import Ae, { useState as ee, useMemo as Ne, useCallback as He, useEffect as Ce, forwardRef as we, createElement as Pe, useContext as zt } from "react";
4
+ import { createEvent as Le, createStore as Pt } from "effector";
5
+ import { useUnit as It } from "effector-react";
6
+ function Et(e, t) {
7
7
  return !t || t === "all" ? e : e.filter((o) => o.categoryId === t);
8
8
  }
9
- function Et(e, t) {
9
+ function jt(e, t) {
10
10
  const o = [...e];
11
11
  return o.sort((a, n) => {
12
- let s = "", l = "";
13
- return t.column === "title" ? (s = a.title.toLowerCase(), l = n.title.toLowerCase()) : t.column === "metric" && (s = Ge(a.metricValue), l = Ge(n.metricValue)), s < l ? t.direction === "asc" ? -1 : 1 : s > l ? t.direction === "asc" ? 1 : -1 : 0;
12
+ let s = "", i = "";
13
+ return t.column === "title" ? (s = a.title.toLowerCase(), i = n.title.toLowerCase()) : t.column === "metric" && (s = Ge(a.metricValue), i = Ge(n.metricValue)), s < i ? t.direction === "asc" ? -1 : 1 : s > i ? t.direction === "asc" ? 1 : -1 : 0;
14
14
  }), o;
15
15
  }
16
16
  function Ge(e) {
@@ -21,33 +21,33 @@ function Ge(e) {
21
21
  function Rt(e, t) {
22
22
  return t === "all" ? e.length : e.filter((o) => o.categoryId === t).length;
23
23
  }
24
- function jt(e) {
24
+ function At(e) {
25
25
  const {
26
26
  propertyPrice: t,
27
27
  downPayment: o,
28
28
  loanTerm: a,
29
29
  interestRate: n,
30
30
  propertyTax: s = 0,
31
- hoaFees: l = 0
32
- } = e, i = t - o, c = n / 100 / 12, m = a * 12;
31
+ hoaFees: i = 0
32
+ } = e, l = t - o, c = n / 100 / 12, m = a * 12;
33
33
  let u;
34
34
  if (c === 0)
35
- u = i / m;
35
+ u = l / m;
36
36
  else {
37
37
  const y = Math.pow(1 + c, m);
38
- u = i * (c * y) / (y - 1);
38
+ u = l * (c * y) / (y - 1);
39
39
  }
40
- const d = u * m, h = d - i, M = u + s + l;
40
+ const d = u * m, h = d - l, M = u + s + i;
41
41
  return {
42
42
  monthlyPayment: Math.round(u * 100) / 100,
43
43
  totalMonthlyPayment: Math.round(M * 100) / 100,
44
44
  totalAmount: Math.round(d * 100) / 100,
45
45
  totalInterest: Math.round(h * 100) / 100,
46
- loanPrincipal: Math.round(i * 100) / 100,
46
+ loanPrincipal: Math.round(l * 100) / 100,
47
47
  breakdown: {
48
48
  principalAndInterest: Math.round(u * 100) / 100,
49
49
  propertyTax: Math.round(s * 100) / 100,
50
- hoaFees: Math.round(l * 100) / 100
50
+ hoaFees: Math.round(i * 100) / 100
51
51
  }
52
52
  };
53
53
  }
@@ -69,49 +69,49 @@ function Qo(e) {
69
69
  errors: t
70
70
  };
71
71
  }
72
- function tt(e) {
72
+ function rt(e) {
73
73
  var t, o, a = "";
74
74
  if (typeof e == "string" || typeof e == "number") a += e;
75
75
  else if (typeof e == "object") if (Array.isArray(e)) {
76
76
  var n = e.length;
77
- for (t = 0; t < n; t++) e[t] && (o = tt(e[t])) && (a && (a += " "), a += o);
77
+ for (t = 0; t < n; t++) e[t] && (o = rt(e[t])) && (a && (a += " "), a += o);
78
78
  } else for (o in e) e[o] && (a && (a += " "), a += o);
79
79
  return a;
80
80
  }
81
- function rt() {
82
- for (var e, t, o = 0, a = "", n = arguments.length; o < n; o++) (e = arguments[o]) && (t = tt(e)) && (a && (a += " "), a += t);
81
+ function ot() {
82
+ for (var e, t, o = 0, a = "", n = arguments.length; o < n; o++) (e = arguments[o]) && (t = rt(e)) && (a && (a += " "), a += t);
83
83
  return a;
84
84
  }
85
- const We = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ue = rt, J = (e, t) => (o) => {
85
+ const We = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ue = ot, J = (e, t) => (o) => {
86
86
  var a;
87
87
  if (t?.variants == null) return Ue(e, o?.class, o?.className);
88
- const { variants: n, defaultVariants: s } = t, l = Object.keys(n).map((m) => {
88
+ const { variants: n, defaultVariants: s } = t, i = Object.keys(n).map((m) => {
89
89
  const u = o?.[m], d = s?.[m];
90
90
  if (u === null) return null;
91
91
  const h = We(u) || We(d);
92
92
  return n[m][h];
93
- }), i = o && Object.entries(o).reduce((m, u) => {
93
+ }), l = o && Object.entries(o).reduce((m, u) => {
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
97
  let { class: d, className: h, ...M } = u;
98
98
  return Object.entries(M).every((y) => {
99
- let [C, g] = y;
99
+ let [N, g] = y;
100
100
  return Array.isArray(g) ? g.includes({
101
101
  ...s,
102
- ...i
103
- }[C]) : {
102
+ ...l
103
+ }[N]) : {
104
104
  ...s,
105
- ...i
106
- }[C] === g;
105
+ ...l
106
+ }[N] === g;
107
107
  }) ? [
108
108
  ...m,
109
109
  d,
110
110
  h
111
111
  ] : m;
112
112
  }, []);
113
- return Ue(e, l, c, o?.class, o?.className);
114
- }, At = J(
113
+ return Ue(e, i, c, o?.class, o?.className);
114
+ }, Lt = J(
115
115
  "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
116
116
  {
117
117
  variants: {
@@ -141,7 +141,7 @@ function qe(e, t) {
141
141
  return e(t);
142
142
  e != null && (e.current = t);
143
143
  }
144
- function Lt(...e) {
144
+ function $t(...e) {
145
145
  return (t) => {
146
146
  let o = !1;
147
147
  const a = e.map((n) => {
@@ -158,83 +158,83 @@ function Lt(...e) {
158
158
  };
159
159
  }
160
160
  // @__NO_SIDE_EFFECTS__
161
- function $t(e) {
162
- const t = /* @__PURE__ */ Vt(e), o = v.forwardRef((a, n) => {
163
- const { children: s, ...l } = a, i = v.Children.toArray(s), c = i.find(_t);
161
+ function Ot(e) {
162
+ const t = /* @__PURE__ */ Ft(e), o = v.forwardRef((a, n) => {
163
+ const { children: s, ...i } = a, l = v.Children.toArray(s), c = l.find(Dt);
164
164
  if (c) {
165
- const m = c.props.children, u = i.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, { ...l, 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 ? 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 });
167
167
  }
168
- return /* @__PURE__ */ r(t, { ...l, ref: n, children: s });
168
+ return /* @__PURE__ */ r(t, { ...i, ref: n, children: s });
169
169
  });
170
170
  return o.displayName = `${e}.Slot`, o;
171
171
  }
172
- var Ot = /* @__PURE__ */ $t("Slot");
172
+ var Vt = /* @__PURE__ */ Ot("Slot");
173
173
  // @__NO_SIDE_EFFECTS__
174
- function Vt(e) {
174
+ function Ft(e) {
175
175
  const t = v.forwardRef((o, a) => {
176
176
  const { children: n, ...s } = o;
177
177
  if (v.isValidElement(n)) {
178
- const l = Bt(n), i = Dt(s, n.props);
179
- return n.type !== v.Fragment && (i.ref = a ? Lt(a, l) : l), v.cloneElement(n, i);
178
+ const i = Ht(n), l = Bt(s, n.props);
179
+ return n.type !== v.Fragment && (l.ref = a ? $t(a, i) : i), v.cloneElement(n, l);
180
180
  }
181
181
  return v.Children.count(n) > 1 ? v.Children.only(null) : null;
182
182
  });
183
183
  return t.displayName = `${e}.SlotClone`, t;
184
184
  }
185
- var Ft = Symbol("radix.slottable");
186
- function _t(e) {
187
- return v.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Ft;
185
+ var _t = Symbol("radix.slottable");
186
+ function Dt(e) {
187
+ return v.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === _t;
188
188
  }
189
- function Dt(e, t) {
189
+ function Bt(e, t) {
190
190
  const o = { ...t };
191
191
  for (const a in t) {
192
192
  const n = e[a], s = t[a];
193
- /^on[A-Z]/.test(a) ? n && s ? o[a] = (...i) => {
194
- const c = s(...i);
195
- return n(...i), c;
193
+ /^on[A-Z]/.test(a) ? n && s ? o[a] = (...l) => {
194
+ const c = s(...l);
195
+ return n(...l), c;
196
196
  } : n && (o[a] = n) : a === "style" ? o[a] = { ...n, ...s } : a === "className" && (o[a] = [n, s].filter(Boolean).join(" "));
197
197
  }
198
198
  return { ...e, ...o };
199
199
  }
200
- function Bt(e) {
200
+ function Ht(e) {
201
201
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning;
202
202
  return o ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
203
203
  }
204
- const $e = "-", Ht = (e) => {
205
- const t = Wt(e), {
204
+ const $e = "-", Gt = (e) => {
205
+ const t = Ut(e), {
206
206
  conflictingClassGroups: o,
207
207
  conflictingClassGroupModifiers: a
208
208
  } = e;
209
209
  return {
210
- getClassGroupId: (l) => {
211
- const i = l.split($e);
212
- return i[0] === "" && i.length !== 1 && i.shift(), ot(i, t) || Gt(l);
210
+ getClassGroupId: (i) => {
211
+ const l = i.split($e);
212
+ return l[0] === "" && l.length !== 1 && l.shift(), at(l, t) || Wt(i);
213
213
  },
214
- getConflictingClassGroupIds: (l, i) => {
215
- const c = o[l] || [];
216
- return i && a[l] ? [...c, ...a[l]] : c;
214
+ getConflictingClassGroupIds: (i, l) => {
215
+ const c = o[i] || [];
216
+ return l && a[i] ? [...c, ...a[i]] : c;
217
217
  }
218
218
  };
219
- }, ot = (e, t) => {
219
+ }, at = (e, t) => {
220
220
  if (e.length === 0)
221
221
  return t.classGroupId;
222
- const o = e[0], a = t.nextPart.get(o), n = a ? ot(e.slice(1), a) : void 0;
222
+ const o = e[0], a = t.nextPart.get(o), n = a ? at(e.slice(1), a) : void 0;
223
223
  if (n)
224
224
  return n;
225
225
  if (t.validators.length === 0)
226
226
  return;
227
227
  const s = e.join($e);
228
228
  return t.validators.find(({
229
- validator: l
230
- }) => l(s))?.classGroupId;
231
- }, Xe = /^\[(.+)\]$/, Gt = (e) => {
229
+ validator: i
230
+ }) => i(s))?.classGroupId;
231
+ }, Xe = /^\[(.+)\]$/, Wt = (e) => {
232
232
  if (Xe.test(e)) {
233
233
  const t = Xe.exec(e)[1], o = t?.substring(0, t.indexOf(":"));
234
234
  if (o)
235
235
  return "arbitrary.." + o;
236
236
  }
237
- }, Wt = (e) => {
237
+ }, Ut = (e) => {
238
238
  const {
239
239
  theme: t,
240
240
  classGroups: o
@@ -253,7 +253,7 @@ const $e = "-", Ht = (e) => {
253
253
  return;
254
254
  }
255
255
  if (typeof n == "function") {
256
- if (Ut(n)) {
256
+ if (qt(n)) {
257
257
  Ie(n(a), t, o, a);
258
258
  return;
259
259
  }
@@ -263,8 +263,8 @@ const $e = "-", Ht = (e) => {
263
263
  });
264
264
  return;
265
265
  }
266
- Object.entries(n).forEach(([s, l]) => {
267
- Ie(l, Ze(t, s), o, a);
266
+ Object.entries(n).forEach(([s, i]) => {
267
+ Ie(i, Ze(t, s), o, a);
268
268
  });
269
269
  });
270
270
  }, Ze = (e, t) => {
@@ -275,7 +275,7 @@ const $e = "-", Ht = (e) => {
275
275
  validators: []
276
276
  }), o = o.nextPart.get(a);
277
277
  }), o;
278
- }, Ut = (e) => e.isThemeGetter, qt = (e) => {
278
+ }, qt = (e) => e.isThemeGetter, Xt = (e) => {
279
279
  if (e < 1)
280
280
  return {
281
281
  get: () => {
@@ -284,44 +284,44 @@ const $e = "-", Ht = (e) => {
284
284
  }
285
285
  };
286
286
  let t = 0, o = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
287
- const n = (s, l) => {
288
- o.set(s, l), t++, t > e && (t = 0, a = o, o = /* @__PURE__ */ new Map());
287
+ const n = (s, i) => {
288
+ o.set(s, i), t++, t > e && (t = 0, a = o, o = /* @__PURE__ */ new Map());
289
289
  };
290
290
  return {
291
291
  get(s) {
292
- let l = o.get(s);
293
- if (l !== void 0)
294
- return l;
295
- if ((l = a.get(s)) !== void 0)
296
- return n(s, l), l;
292
+ let i = o.get(s);
293
+ if (i !== void 0)
294
+ return i;
295
+ if ((i = a.get(s)) !== void 0)
296
+ return n(s, i), i;
297
297
  },
298
- set(s, l) {
299
- o.has(s) ? o.set(s, l) : n(s, l);
298
+ set(s, i) {
299
+ o.has(s) ? o.set(s, i) : n(s, i);
300
300
  }
301
301
  };
302
- }, Ee = "!", Re = ":", Xt = Re.length, Zt = (e) => {
302
+ }, Ee = "!", je = ":", Zt = je.length, Kt = (e) => {
303
303
  const {
304
304
  prefix: t,
305
305
  experimentalParseClassName: o
306
306
  } = e;
307
307
  let a = (n) => {
308
308
  const s = [];
309
- let l = 0, i = 0, c = 0, m;
309
+ let i = 0, l = 0, c = 0, m;
310
310
  for (let y = 0; y < n.length; y++) {
311
- let C = n[y];
312
- if (l === 0 && i === 0) {
313
- if (C === Re) {
314
- s.push(n.slice(c, y)), c = y + Xt;
311
+ let N = n[y];
312
+ if (i === 0 && l === 0) {
313
+ if (N === je) {
314
+ s.push(n.slice(c, y)), c = y + Zt;
315
315
  continue;
316
316
  }
317
- if (C === "/") {
317
+ if (N === "/") {
318
318
  m = y;
319
319
  continue;
320
320
  }
321
321
  }
322
- C === "[" ? l++ : C === "]" ? l-- : C === "(" ? i++ : C === ")" && i--;
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, M = m && m > c ? m - c : void 0;
324
+ const u = s.length === 0 ? n : n.substring(c), d = Jt(u), h = d !== u, M = m && m > c ? m - c : void 0;
325
325
  return {
326
326
  modifiers: s,
327
327
  hasImportantModifier: h,
@@ -330,12 +330,12 @@ const $e = "-", Ht = (e) => {
330
330
  };
331
331
  };
332
332
  if (t) {
333
- const n = t + Re, s = a;
334
- a = (l) => l.startsWith(n) ? s(l.substring(n.length)) : {
333
+ const n = t + je, s = a;
334
+ a = (i) => i.startsWith(n) ? s(i.substring(n.length)) : {
335
335
  isExternal: !0,
336
336
  modifiers: [],
337
337
  hasImportantModifier: !1,
338
- baseClassName: l,
338
+ baseClassName: i,
339
339
  maybePostfixModifierPosition: void 0
340
340
  };
341
341
  }
@@ -347,43 +347,43 @@ const $e = "-", Ht = (e) => {
347
347
  });
348
348
  }
349
349
  return a;
350
- }, Kt = (e) => e.endsWith(Ee) ? e.substring(0, e.length - 1) : e.startsWith(Ee) ? e.substring(1) : e, Jt = (e) => {
350
+ }, Jt = (e) => e.endsWith(Ee) ? e.substring(0, e.length - 1) : e.startsWith(Ee) ? e.substring(1) : e, Qt = (e) => {
351
351
  const t = Object.fromEntries(e.orderSensitiveModifiers.map((a) => [a, !0]));
352
352
  return (a) => {
353
353
  if (a.length <= 1)
354
354
  return a;
355
355
  const n = [];
356
356
  let s = [];
357
- return a.forEach((l) => {
358
- l[0] === "[" || t[l] ? (n.push(...s.sort(), l), s = []) : s.push(l);
357
+ return a.forEach((i) => {
358
+ i[0] === "[" || t[i] ? (n.push(...s.sort(), i), s = []) : s.push(i);
359
359
  }), n.push(...s.sort()), n;
360
360
  };
361
- }, Qt = (e) => ({
362
- cache: qt(e.cacheSize),
363
- parseClassName: Zt(e),
364
- sortModifiers: Jt(e),
365
- ...Ht(e)
366
- }), Yt = /\s+/, er = (e, t) => {
361
+ }, Yt = (e) => ({
362
+ cache: Xt(e.cacheSize),
363
+ parseClassName: Kt(e),
364
+ sortModifiers: Qt(e),
365
+ ...Gt(e)
366
+ }), er = /\s+/, tr = (e, t) => {
367
367
  const {
368
368
  parseClassName: o,
369
369
  getClassGroupId: a,
370
370
  getConflictingClassGroupIds: n,
371
371
  sortModifiers: s
372
- } = t, l = [], i = e.trim().split(Yt);
372
+ } = t, i = [], l = e.trim().split(er);
373
373
  let c = "";
374
- for (let m = i.length - 1; m >= 0; m -= 1) {
375
- const u = i[m], {
374
+ for (let m = l.length - 1; m >= 0; m -= 1) {
375
+ const u = l[m], {
376
376
  isExternal: d,
377
377
  modifiers: h,
378
378
  hasImportantModifier: M,
379
379
  baseClassName: y,
380
- maybePostfixModifierPosition: C
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 = !!C, w = a(g ? y.substring(0, C) : y);
386
+ let g = !!N, w = a(g ? y.substring(0, N) : y);
387
387
  if (!w) {
388
388
  if (!g) {
389
389
  c = u + (c.length > 0 ? " " + c : c);
@@ -395,66 +395,66 @@ const $e = "-", Ht = (e) => {
395
395
  }
396
396
  g = !1;
397
397
  }
398
- const z = s(h).join(":"), S = M ? z + Ee : z, P = S + w;
399
- if (l.includes(P))
398
+ const T = s(h).join(":"), E = M ? T + Ee : T, S = E + w;
399
+ if (i.includes(S))
400
400
  continue;
401
- l.push(P);
402
- const I = n(w, g);
403
- for (let V = 0; V < I.length; ++V) {
404
- const E = I[V];
405
- l.push(S + E);
401
+ i.push(S);
402
+ const z = n(w, g);
403
+ for (let V = 0; V < z.length; ++V) {
404
+ const I = z[V];
405
+ i.push(E + I);
406
406
  }
407
407
  c = u + (c.length > 0 ? " " + c : c);
408
408
  }
409
409
  return c;
410
410
  };
411
- function tr() {
411
+ function rr() {
412
412
  let e = 0, t, o, a = "";
413
413
  for (; e < arguments.length; )
414
- (t = arguments[e++]) && (o = at(t)) && (a && (a += " "), a += o);
414
+ (t = arguments[e++]) && (o = nt(t)) && (a && (a += " "), a += o);
415
415
  return a;
416
416
  }
417
- const at = (e) => {
417
+ const nt = (e) => {
418
418
  if (typeof e == "string")
419
419
  return e;
420
420
  let t, o = "";
421
421
  for (let a = 0; a < e.length; a++)
422
- e[a] && (t = at(e[a])) && (o && (o += " "), o += t);
422
+ e[a] && (t = nt(e[a])) && (o && (o += " "), o += t);
423
423
  return o;
424
424
  };
425
- function rr(e, ...t) {
426
- let o, a, n, s = l;
427
- function l(c) {
425
+ function or(e, ...t) {
426
+ let o, a, n, s = i;
427
+ function i(c) {
428
428
  const m = t.reduce((u, d) => d(u), e());
429
- return o = Qt(m), a = o.cache.get, n = o.cache.set, s = i, i(c);
429
+ return o = Yt(m), a = o.cache.get, n = o.cache.set, s = l, l(c);
430
430
  }
431
- function i(c) {
431
+ function l(c) {
432
432
  const m = a(c);
433
433
  if (m)
434
434
  return m;
435
- const u = er(c, o);
435
+ const u = tr(c, o);
436
436
  return n(c, u), u;
437
437
  }
438
438
  return function() {
439
- return s(tr.apply(null, arguments));
439
+ return s(rr.apply(null, arguments));
440
440
  };
441
441
  }
442
442
  const A = (e) => {
443
443
  const t = (o) => o[e] || [];
444
444
  return t.isThemeGetter = !0, t;
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)\(.+\)$/, lr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ir = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ae = (e) => or.test(e), T = (e) => !!e && !Number.isNaN(Number(e)), Z = (e) => !!e && Number.isInteger(Number(e)), Me = (e) => e.endsWith("%") && T(e.slice(0, -1)), U = (e) => ar.test(e), cr = () => !0, dr = (e) => (
445
+ }, st = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, it = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ar = /^\d+\/\d+$/, nr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, sr = /\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$/, ir = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, lr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, cr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ae = (e) => ar.test(e), P = (e) => !!e && !Number.isNaN(Number(e)), Z = (e) => !!e && Number.isInteger(Number(e)), Me = (e) => e.endsWith("%") && P(e.slice(0, -1)), U = (e) => nr.test(e), dr = () => !0, mr = (e) => (
446
446
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
447
447
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
448
448
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
449
- nr.test(e) && !sr.test(e)
450
- ), lt = () => !1, mr = (e) => lr.test(e), ur = (e) => ir.test(e), pr = (e) => !b(e) && !x(e), fr = (e) => ie(e, dt, lt), b = (e) => nt.test(e), Y = (e) => ie(e, mt, dr), Se = (e) => ie(e, yr, T), Ke = (e) => ie(e, it, lt), hr = (e) => ie(e, ct, ur), xe = (e) => ie(e, ut, mr), x = (e) => st.test(e), ue = (e) => ce(e, mt), gr = (e) => ce(e, vr), Je = (e) => ce(e, it), br = (e) => ce(e, dt), xr = (e) => ce(e, ct), ye = (e) => ce(e, ut, !0), ie = (e, t, o) => {
451
- const a = nt.exec(e);
449
+ sr.test(e) && !ir.test(e)
450
+ ), lt = () => !1, ur = (e) => lr.test(e), pr = (e) => cr.test(e), fr = (e) => !b(e) && !x(e), hr = (e) => le(e, mt, lt), b = (e) => st.test(e), Y = (e) => le(e, ut, mr), Se = (e) => le(e, vr, P), Ke = (e) => le(e, ct, lt), gr = (e) => le(e, dt, pr), xe = (e) => le(e, pt, ur), x = (e) => it.test(e), ue = (e) => ce(e, ut), br = (e) => ce(e, wr), Je = (e) => ce(e, ct), xr = (e) => ce(e, mt), yr = (e) => ce(e, dt), ye = (e) => ce(e, pt, !0), le = (e, t, o) => {
451
+ const a = st.exec(e);
452
452
  return a ? a[1] ? t(a[1]) : o(a[2]) : !1;
453
453
  }, ce = (e, t, o = !1) => {
454
- const a = st.exec(e);
454
+ const a = it.exec(e);
455
455
  return a ? a[1] ? t(a[1]) : o : !1;
456
- }, it = (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 = A("color"), t = A("font"), o = A("text"), a = A("font-weight"), n = A("tracking"), s = A("leading"), l = A("breakpoint"), i = A("container"), c = A("spacing"), m = A("radius"), u = A("shadow"), d = A("inset-shadow"), h = A("text-shadow"), M = A("drop-shadow"), y = A("blur"), C = A("perspective"), g = A("aspect"), w = A("ease"), z = A("animate"), S = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], P = () => [
456
+ }, ct = (e) => e === "position" || e === "percentage", dt = (e) => e === "image" || e === "url", mt = (e) => e === "length" || e === "size" || e === "bg-size", ut = (e) => e === "length", vr = (e) => e === "number", wr = (e) => e === "family-name", pt = (e) => e === "shadow", kr = () => {
457
+ const e = A("color"), t = A("font"), o = A("text"), a = A("font-weight"), n = A("tracking"), s = A("leading"), i = A("breakpoint"), l = A("container"), c = A("spacing"), m = A("radius"), u = A("shadow"), d = A("inset-shadow"), h = A("text-shadow"), M = A("drop-shadow"), y = A("blur"), N = A("perspective"), g = A("aspect"), w = A("ease"), T = A("animate"), E = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [
458
458
  "center",
459
459
  "top",
460
460
  "bottom",
@@ -472,15 +472,15 @@ const A = (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
- ], I = () => [...P(), x, b], V = () => ["auto", "hidden", "clip", "visible", "scroll"], E = () => ["auto", "contain", "none"], k = () => [x, b, c], L = () => [ae, "full", "auto", ...k()], q = () => [Z, "none", "subgrid", x, b], re = () => ["auto", {
475
+ ], z = () => [...S(), x, b], V = () => ["auto", "hidden", "clip", "visible", "scroll"], I = () => ["auto", "contain", "none"], k = () => [x, b, c], L = () => [ae, "full", "auto", ...k()], 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()], N = () => [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", ...k()], W = () => [ae, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], C = () => [e, x, b], pe = () => [...S(), Je, Ke, {
478
478
  position: [x, b]
479
479
  }], de = () => ["no-repeat", {
480
480
  repeat: ["", "x", "y", "space", "round"]
481
- }], _ = () => ["auto", "cover", "contain", br, fr, {
481
+ }], _ = () => ["auto", "cover", "contain", xr, hr, {
482
482
  size: [x, b]
483
- }], F = () => [Me, ue, Y], j = () => [
483
+ }], F = () => [Me, ue, Y], R = () => [
484
484
  // Deprecated since Tailwind CSS v4.0.0
485
485
  "",
486
486
  "none",
@@ -488,14 +488,14 @@ const A = (e) => {
488
488
  m,
489
489
  x,
490
490
  b
491
- ], H = () => ["", T, ue, Y], fe = () => ["solid", "dashed", "dotted", "double"], De = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], $ = () => [T, Me, Je, Ke], Be = () => [
491
+ ], H = () => ["", P, ue, Y], fe = () => ["solid", "dashed", "dotted", "double"], De = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], $ = () => [P, Me, Je, Ke], Be = () => [
492
492
  // Deprecated since Tailwind CSS v4.0.0
493
493
  "",
494
494
  "none",
495
495
  y,
496
496
  x,
497
497
  b
498
- ], he = () => ["none", T, x, b], ge = () => ["none", T, x, b], ke = () => [T, x, b], be = () => [ae, "full", ...k()];
498
+ ], he = () => ["none", P, x, b], ge = () => ["none", P, x, b], ke = () => [P, x, b], be = () => [ae, "full", ...k()];
499
499
  return {
500
500
  cacheSize: 500,
501
501
  theme: {
@@ -503,18 +503,18 @@ const A = (e) => {
503
503
  aspect: ["video"],
504
504
  blur: [U],
505
505
  breakpoint: [U],
506
- color: [cr],
506
+ color: [dr],
507
507
  container: [U],
508
508
  "drop-shadow": [U],
509
509
  ease: ["in", "out", "in-out"],
510
- font: [pr],
510
+ font: [fr],
511
511
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
512
512
  "inset-shadow": [U],
513
513
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
514
514
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
515
515
  radius: [U],
516
516
  shadow: [U],
517
- spacing: ["px", T],
517
+ spacing: ["px", P],
518
518
  text: [U],
519
519
  "text-shadow": [U],
520
520
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -541,21 +541,21 @@ const A = (e) => {
541
541
  * @see https://tailwindcss.com/docs/columns
542
542
  */
543
543
  columns: [{
544
- columns: [T, b, x, i]
544
+ columns: [P, b, x, l]
545
545
  }],
546
546
  /**
547
547
  * Break After
548
548
  * @see https://tailwindcss.com/docs/break-after
549
549
  */
550
550
  "break-after": [{
551
- "break-after": S()
551
+ "break-after": E()
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": S()
558
+ "break-before": E()
559
559
  }],
560
560
  /**
561
561
  * Break Inside
@@ -619,7 +619,7 @@ const A = (e) => {
619
619
  * @see https://tailwindcss.com/docs/object-position
620
620
  */
621
621
  "object-position": [{
622
- object: I()
622
+ object: z()
623
623
  }],
624
624
  /**
625
625
  * Overflow
@@ -647,21 +647,21 @@ const A = (e) => {
647
647
  * @see https://tailwindcss.com/docs/overscroll-behavior
648
648
  */
649
649
  overscroll: [{
650
- overscroll: E()
650
+ overscroll: I()
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": E()
657
+ "overscroll-x": I()
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": E()
664
+ "overscroll-y": I()
665
665
  }],
666
666
  /**
667
667
  * Position
@@ -751,7 +751,7 @@ const A = (e) => {
751
751
  * @see https://tailwindcss.com/docs/flex-basis
752
752
  */
753
753
  basis: [{
754
- basis: [ae, "full", "auto", i, ...k()]
754
+ basis: [ae, "full", "auto", l, ...k()]
755
755
  }],
756
756
  /**
757
757
  * Flex Direction
@@ -772,21 +772,21 @@ const A = (e) => {
772
772
  * @see https://tailwindcss.com/docs/flex
773
773
  */
774
774
  flex: [{
775
- flex: [T, ae, "auto", "initial", "none", b]
775
+ flex: [P, ae, "auto", "initial", "none", b]
776
776
  }],
777
777
  /**
778
778
  * Flex Grow
779
779
  * @see https://tailwindcss.com/docs/flex-grow
780
780
  */
781
781
  grow: [{
782
- grow: ["", T, x, b]
782
+ grow: ["", P, x, b]
783
783
  }],
784
784
  /**
785
785
  * Flex Shrink
786
786
  * @see https://tailwindcss.com/docs/flex-shrink
787
787
  */
788
788
  shrink: [{
789
- shrink: ["", T, x, b]
789
+ shrink: ["", P, x, b]
790
790
  }],
791
791
  /**
792
792
  * Order
@@ -1126,7 +1126,7 @@ const A = (e) => {
1126
1126
  * @see https://tailwindcss.com/docs/width
1127
1127
  */
1128
1128
  w: [{
1129
- w: [i, "screen", ...W()]
1129
+ w: [l, "screen", ...W()]
1130
1130
  }],
1131
1131
  /**
1132
1132
  * Min-Width
@@ -1134,7 +1134,7 @@ const A = (e) => {
1134
1134
  */
1135
1135
  "min-w": [{
1136
1136
  "min-w": [
1137
- i,
1137
+ l,
1138
1138
  "screen",
1139
1139
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1140
1140
  "none",
@@ -1147,14 +1147,14 @@ const A = (e) => {
1147
1147
  */
1148
1148
  "max-w": [{
1149
1149
  "max-w": [
1150
- i,
1150
+ l,
1151
1151
  "screen",
1152
1152
  "none",
1153
1153
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1154
1154
  "prose",
1155
1155
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1156
1156
  {
1157
- screen: [l]
1157
+ screen: [i]
1158
1158
  },
1159
1159
  ...W()
1160
1160
  ]
@@ -1219,7 +1219,7 @@ const A = (e) => {
1219
1219
  * @see https://tailwindcss.com/docs/font-family
1220
1220
  */
1221
1221
  "font-family": [{
1222
- font: [gr, b, t]
1222
+ font: [br, b, t]
1223
1223
  }],
1224
1224
  /**
1225
1225
  * Font Variant Numeric
@@ -1263,7 +1263,7 @@ const A = (e) => {
1263
1263
  * @see https://tailwindcss.com/docs/line-clamp
1264
1264
  */
1265
1265
  "line-clamp": [{
1266
- "line-clamp": [T, "none", x, Se]
1266
+ "line-clamp": [P, "none", x, Se]
1267
1267
  }],
1268
1268
  /**
1269
1269
  * Line Height
@@ -1310,14 +1310,14 @@ const A = (e) => {
1310
1310
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1311
1311
  */
1312
1312
  "placeholder-color": [{
1313
- placeholder: N()
1313
+ placeholder: C()
1314
1314
  }],
1315
1315
  /**
1316
1316
  * Text Color
1317
1317
  * @see https://tailwindcss.com/docs/text-color
1318
1318
  */
1319
1319
  "text-color": [{
1320
- text: N()
1320
+ text: C()
1321
1321
  }],
1322
1322
  /**
1323
1323
  * Text Decoration
@@ -1336,21 +1336,21 @@ const A = (e) => {
1336
1336
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1337
1337
  */
1338
1338
  "text-decoration-thickness": [{
1339
- decoration: [T, "from-font", "auto", x, Y]
1339
+ decoration: [P, "from-font", "auto", x, Y]
1340
1340
  }],
1341
1341
  /**
1342
1342
  * Text Decoration Color
1343
1343
  * @see https://tailwindcss.com/docs/text-decoration-color
1344
1344
  */
1345
1345
  "text-decoration-color": [{
1346
- decoration: N()
1346
+ decoration: C()
1347
1347
  }],
1348
1348
  /**
1349
1349
  * Text Underline Offset
1350
1350
  * @see https://tailwindcss.com/docs/text-underline-offset
1351
1351
  */
1352
1352
  "underline-offset": [{
1353
- "underline-offset": [T, "auto", x, b]
1353
+ "underline-offset": [P, "auto", x, b]
1354
1354
  }],
1355
1355
  /**
1356
1356
  * Text Transform
@@ -1474,14 +1474,14 @@ const A = (e) => {
1474
1474
  }, Z, x, b],
1475
1475
  radial: ["", x, b],
1476
1476
  conic: [Z, x, b]
1477
- }, xr, hr]
1477
+ }, yr, gr]
1478
1478
  }],
1479
1479
  /**
1480
1480
  * Background Color
1481
1481
  * @see https://tailwindcss.com/docs/background-color
1482
1482
  */
1483
1483
  "bg-color": [{
1484
- bg: N()
1484
+ bg: C()
1485
1485
  }],
1486
1486
  /**
1487
1487
  * Gradient Color Stops From Position
@@ -1509,21 +1509,21 @@ const A = (e) => {
1509
1509
  * @see https://tailwindcss.com/docs/gradient-color-stops
1510
1510
  */
1511
1511
  "gradient-from": [{
1512
- from: N()
1512
+ from: C()
1513
1513
  }],
1514
1514
  /**
1515
1515
  * Gradient Color Stops Via
1516
1516
  * @see https://tailwindcss.com/docs/gradient-color-stops
1517
1517
  */
1518
1518
  "gradient-via": [{
1519
- via: N()
1519
+ via: C()
1520
1520
  }],
1521
1521
  /**
1522
1522
  * Gradient Color Stops To
1523
1523
  * @see https://tailwindcss.com/docs/gradient-color-stops
1524
1524
  */
1525
1525
  "gradient-to": [{
1526
- to: N()
1526
+ to: C()
1527
1527
  }],
1528
1528
  // ---------------
1529
1529
  // --- Borders ---
@@ -1533,105 +1533,105 @@ const A = (e) => {
1533
1533
  * @see https://tailwindcss.com/docs/border-radius
1534
1534
  */
1535
1535
  rounded: [{
1536
- rounded: j()
1536
+ rounded: R()
1537
1537
  }],
1538
1538
  /**
1539
1539
  * Border Radius Start
1540
1540
  * @see https://tailwindcss.com/docs/border-radius
1541
1541
  */
1542
1542
  "rounded-s": [{
1543
- "rounded-s": j()
1543
+ "rounded-s": R()
1544
1544
  }],
1545
1545
  /**
1546
1546
  * Border Radius End
1547
1547
  * @see https://tailwindcss.com/docs/border-radius
1548
1548
  */
1549
1549
  "rounded-e": [{
1550
- "rounded-e": j()
1550
+ "rounded-e": R()
1551
1551
  }],
1552
1552
  /**
1553
1553
  * Border Radius Top
1554
1554
  * @see https://tailwindcss.com/docs/border-radius
1555
1555
  */
1556
1556
  "rounded-t": [{
1557
- "rounded-t": j()
1557
+ "rounded-t": R()
1558
1558
  }],
1559
1559
  /**
1560
1560
  * Border Radius Right
1561
1561
  * @see https://tailwindcss.com/docs/border-radius
1562
1562
  */
1563
1563
  "rounded-r": [{
1564
- "rounded-r": j()
1564
+ "rounded-r": R()
1565
1565
  }],
1566
1566
  /**
1567
1567
  * Border Radius Bottom
1568
1568
  * @see https://tailwindcss.com/docs/border-radius
1569
1569
  */
1570
1570
  "rounded-b": [{
1571
- "rounded-b": j()
1571
+ "rounded-b": R()
1572
1572
  }],
1573
1573
  /**
1574
1574
  * Border Radius Left
1575
1575
  * @see https://tailwindcss.com/docs/border-radius
1576
1576
  */
1577
1577
  "rounded-l": [{
1578
- "rounded-l": j()
1578
+ "rounded-l": R()
1579
1579
  }],
1580
1580
  /**
1581
1581
  * Border Radius Start Start
1582
1582
  * @see https://tailwindcss.com/docs/border-radius
1583
1583
  */
1584
1584
  "rounded-ss": [{
1585
- "rounded-ss": j()
1585
+ "rounded-ss": R()
1586
1586
  }],
1587
1587
  /**
1588
1588
  * Border Radius Start End
1589
1589
  * @see https://tailwindcss.com/docs/border-radius
1590
1590
  */
1591
1591
  "rounded-se": [{
1592
- "rounded-se": j()
1592
+ "rounded-se": R()
1593
1593
  }],
1594
1594
  /**
1595
1595
  * Border Radius End End
1596
1596
  * @see https://tailwindcss.com/docs/border-radius
1597
1597
  */
1598
1598
  "rounded-ee": [{
1599
- "rounded-ee": j()
1599
+ "rounded-ee": R()
1600
1600
  }],
1601
1601
  /**
1602
1602
  * Border Radius End Start
1603
1603
  * @see https://tailwindcss.com/docs/border-radius
1604
1604
  */
1605
1605
  "rounded-es": [{
1606
- "rounded-es": j()
1606
+ "rounded-es": R()
1607
1607
  }],
1608
1608
  /**
1609
1609
  * Border Radius Top Left
1610
1610
  * @see https://tailwindcss.com/docs/border-radius
1611
1611
  */
1612
1612
  "rounded-tl": [{
1613
- "rounded-tl": j()
1613
+ "rounded-tl": R()
1614
1614
  }],
1615
1615
  /**
1616
1616
  * Border Radius Top Right
1617
1617
  * @see https://tailwindcss.com/docs/border-radius
1618
1618
  */
1619
1619
  "rounded-tr": [{
1620
- "rounded-tr": j()
1620
+ "rounded-tr": R()
1621
1621
  }],
1622
1622
  /**
1623
1623
  * Border Radius Bottom Right
1624
1624
  * @see https://tailwindcss.com/docs/border-radius
1625
1625
  */
1626
1626
  "rounded-br": [{
1627
- "rounded-br": j()
1627
+ "rounded-br": R()
1628
1628
  }],
1629
1629
  /**
1630
1630
  * Border Radius Bottom Left
1631
1631
  * @see https://tailwindcss.com/docs/border-radius
1632
1632
  */
1633
1633
  "rounded-bl": [{
1634
- "rounded-bl": j()
1634
+ "rounded-bl": R()
1635
1635
  }],
1636
1636
  /**
1637
1637
  * Border Width
@@ -1739,70 +1739,70 @@ const A = (e) => {
1739
1739
  * @see https://tailwindcss.com/docs/border-color
1740
1740
  */
1741
1741
  "border-color": [{
1742
- border: N()
1742
+ border: C()
1743
1743
  }],
1744
1744
  /**
1745
1745
  * Border Color X
1746
1746
  * @see https://tailwindcss.com/docs/border-color
1747
1747
  */
1748
1748
  "border-color-x": [{
1749
- "border-x": N()
1749
+ "border-x": C()
1750
1750
  }],
1751
1751
  /**
1752
1752
  * Border Color Y
1753
1753
  * @see https://tailwindcss.com/docs/border-color
1754
1754
  */
1755
1755
  "border-color-y": [{
1756
- "border-y": N()
1756
+ "border-y": C()
1757
1757
  }],
1758
1758
  /**
1759
1759
  * Border Color S
1760
1760
  * @see https://tailwindcss.com/docs/border-color
1761
1761
  */
1762
1762
  "border-color-s": [{
1763
- "border-s": N()
1763
+ "border-s": C()
1764
1764
  }],
1765
1765
  /**
1766
1766
  * Border Color E
1767
1767
  * @see https://tailwindcss.com/docs/border-color
1768
1768
  */
1769
1769
  "border-color-e": [{
1770
- "border-e": N()
1770
+ "border-e": C()
1771
1771
  }],
1772
1772
  /**
1773
1773
  * Border Color Top
1774
1774
  * @see https://tailwindcss.com/docs/border-color
1775
1775
  */
1776
1776
  "border-color-t": [{
1777
- "border-t": N()
1777
+ "border-t": C()
1778
1778
  }],
1779
1779
  /**
1780
1780
  * Border Color Right
1781
1781
  * @see https://tailwindcss.com/docs/border-color
1782
1782
  */
1783
1783
  "border-color-r": [{
1784
- "border-r": N()
1784
+ "border-r": C()
1785
1785
  }],
1786
1786
  /**
1787
1787
  * Border Color Bottom
1788
1788
  * @see https://tailwindcss.com/docs/border-color
1789
1789
  */
1790
1790
  "border-color-b": [{
1791
- "border-b": N()
1791
+ "border-b": C()
1792
1792
  }],
1793
1793
  /**
1794
1794
  * Border Color Left
1795
1795
  * @see https://tailwindcss.com/docs/border-color
1796
1796
  */
1797
1797
  "border-color-l": [{
1798
- "border-l": N()
1798
+ "border-l": C()
1799
1799
  }],
1800
1800
  /**
1801
1801
  * Divide Color
1802
1802
  * @see https://tailwindcss.com/docs/divide-color
1803
1803
  */
1804
1804
  "divide-color": [{
1805
- divide: N()
1805
+ divide: C()
1806
1806
  }],
1807
1807
  /**
1808
1808
  * Outline Style
@@ -1816,21 +1816,21 @@ const A = (e) => {
1816
1816
  * @see https://tailwindcss.com/docs/outline-offset
1817
1817
  */
1818
1818
  "outline-offset": [{
1819
- "outline-offset": [T, x, b]
1819
+ "outline-offset": [P, x, b]
1820
1820
  }],
1821
1821
  /**
1822
1822
  * Outline Width
1823
1823
  * @see https://tailwindcss.com/docs/outline-width
1824
1824
  */
1825
1825
  "outline-w": [{
1826
- outline: ["", T, ue, Y]
1826
+ outline: ["", P, ue, Y]
1827
1827
  }],
1828
1828
  /**
1829
1829
  * Outline Color
1830
1830
  * @see https://tailwindcss.com/docs/outline-color
1831
1831
  */
1832
1832
  "outline-color": [{
1833
- outline: N()
1833
+ outline: C()
1834
1834
  }],
1835
1835
  // ---------------
1836
1836
  // --- Effects ---
@@ -1854,7 +1854,7 @@ const A = (e) => {
1854
1854
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1855
1855
  */
1856
1856
  "shadow-color": [{
1857
- shadow: N()
1857
+ shadow: C()
1858
1858
  }],
1859
1859
  /**
1860
1860
  * Inset Box Shadow
@@ -1868,7 +1868,7 @@ const A = (e) => {
1868
1868
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1869
1869
  */
1870
1870
  "inset-shadow-color": [{
1871
- "inset-shadow": N()
1871
+ "inset-shadow": C()
1872
1872
  }],
1873
1873
  /**
1874
1874
  * Ring Width
@@ -1889,7 +1889,7 @@ const A = (e) => {
1889
1889
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1890
1890
  */
1891
1891
  "ring-color": [{
1892
- ring: N()
1892
+ ring: C()
1893
1893
  }],
1894
1894
  /**
1895
1895
  * Ring Offset Width
@@ -1898,7 +1898,7 @@ const A = (e) => {
1898
1898
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1899
1899
  */
1900
1900
  "ring-offset-w": [{
1901
- "ring-offset": [T, Y]
1901
+ "ring-offset": [P, Y]
1902
1902
  }],
1903
1903
  /**
1904
1904
  * Ring Offset Color
@@ -1907,7 +1907,7 @@ const A = (e) => {
1907
1907
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1908
1908
  */
1909
1909
  "ring-offset-color": [{
1910
- "ring-offset": N()
1910
+ "ring-offset": C()
1911
1911
  }],
1912
1912
  /**
1913
1913
  * Inset Ring Width
@@ -1921,7 +1921,7 @@ const A = (e) => {
1921
1921
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1922
1922
  */
1923
1923
  "inset-ring-color": [{
1924
- "inset-ring": N()
1924
+ "inset-ring": C()
1925
1925
  }],
1926
1926
  /**
1927
1927
  * Text Shadow
@@ -1935,14 +1935,14 @@ const A = (e) => {
1935
1935
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1936
1936
  */
1937
1937
  "text-shadow-color": [{
1938
- "text-shadow": N()
1938
+ "text-shadow": C()
1939
1939
  }],
1940
1940
  /**
1941
1941
  * Opacity
1942
1942
  * @see https://tailwindcss.com/docs/opacity
1943
1943
  */
1944
1944
  opacity: [{
1945
- opacity: [T, x, b]
1945
+ opacity: [P, x, b]
1946
1946
  }],
1947
1947
  /**
1948
1948
  * Mix Blend Mode
@@ -1977,7 +1977,7 @@ const A = (e) => {
1977
1977
  * @see https://tailwindcss.com/docs/mask-image
1978
1978
  */
1979
1979
  "mask-image-linear-pos": [{
1980
- "mask-linear": [T]
1980
+ "mask-linear": [P]
1981
1981
  }],
1982
1982
  "mask-image-linear-from-pos": [{
1983
1983
  "mask-linear-from": $()
@@ -1986,10 +1986,10 @@ const A = (e) => {
1986
1986
  "mask-linear-to": $()
1987
1987
  }],
1988
1988
  "mask-image-linear-from-color": [{
1989
- "mask-linear-from": N()
1989
+ "mask-linear-from": C()
1990
1990
  }],
1991
1991
  "mask-image-linear-to-color": [{
1992
- "mask-linear-to": N()
1992
+ "mask-linear-to": C()
1993
1993
  }],
1994
1994
  "mask-image-t-from-pos": [{
1995
1995
  "mask-t-from": $()
@@ -1998,10 +1998,10 @@ const A = (e) => {
1998
1998
  "mask-t-to": $()
1999
1999
  }],
2000
2000
  "mask-image-t-from-color": [{
2001
- "mask-t-from": N()
2001
+ "mask-t-from": C()
2002
2002
  }],
2003
2003
  "mask-image-t-to-color": [{
2004
- "mask-t-to": N()
2004
+ "mask-t-to": C()
2005
2005
  }],
2006
2006
  "mask-image-r-from-pos": [{
2007
2007
  "mask-r-from": $()
@@ -2010,10 +2010,10 @@ const A = (e) => {
2010
2010
  "mask-r-to": $()
2011
2011
  }],
2012
2012
  "mask-image-r-from-color": [{
2013
- "mask-r-from": N()
2013
+ "mask-r-from": C()
2014
2014
  }],
2015
2015
  "mask-image-r-to-color": [{
2016
- "mask-r-to": N()
2016
+ "mask-r-to": C()
2017
2017
  }],
2018
2018
  "mask-image-b-from-pos": [{
2019
2019
  "mask-b-from": $()
@@ -2022,10 +2022,10 @@ const A = (e) => {
2022
2022
  "mask-b-to": $()
2023
2023
  }],
2024
2024
  "mask-image-b-from-color": [{
2025
- "mask-b-from": N()
2025
+ "mask-b-from": C()
2026
2026
  }],
2027
2027
  "mask-image-b-to-color": [{
2028
- "mask-b-to": N()
2028
+ "mask-b-to": C()
2029
2029
  }],
2030
2030
  "mask-image-l-from-pos": [{
2031
2031
  "mask-l-from": $()
@@ -2034,10 +2034,10 @@ const A = (e) => {
2034
2034
  "mask-l-to": $()
2035
2035
  }],
2036
2036
  "mask-image-l-from-color": [{
2037
- "mask-l-from": N()
2037
+ "mask-l-from": C()
2038
2038
  }],
2039
2039
  "mask-image-l-to-color": [{
2040
- "mask-l-to": N()
2040
+ "mask-l-to": C()
2041
2041
  }],
2042
2042
  "mask-image-x-from-pos": [{
2043
2043
  "mask-x-from": $()
@@ -2046,10 +2046,10 @@ const A = (e) => {
2046
2046
  "mask-x-to": $()
2047
2047
  }],
2048
2048
  "mask-image-x-from-color": [{
2049
- "mask-x-from": N()
2049
+ "mask-x-from": C()
2050
2050
  }],
2051
2051
  "mask-image-x-to-color": [{
2052
- "mask-x-to": N()
2052
+ "mask-x-to": C()
2053
2053
  }],
2054
2054
  "mask-image-y-from-pos": [{
2055
2055
  "mask-y-from": $()
@@ -2058,10 +2058,10 @@ const A = (e) => {
2058
2058
  "mask-y-to": $()
2059
2059
  }],
2060
2060
  "mask-image-y-from-color": [{
2061
- "mask-y-from": N()
2061
+ "mask-y-from": C()
2062
2062
  }],
2063
2063
  "mask-image-y-to-color": [{
2064
- "mask-y-to": N()
2064
+ "mask-y-to": C()
2065
2065
  }],
2066
2066
  "mask-image-radial": [{
2067
2067
  "mask-radial": [x, b]
@@ -2073,10 +2073,10 @@ const A = (e) => {
2073
2073
  "mask-radial-to": $()
2074
2074
  }],
2075
2075
  "mask-image-radial-from-color": [{
2076
- "mask-radial-from": N()
2076
+ "mask-radial-from": C()
2077
2077
  }],
2078
2078
  "mask-image-radial-to-color": [{
2079
- "mask-radial-to": N()
2079
+ "mask-radial-to": C()
2080
2080
  }],
2081
2081
  "mask-image-radial-shape": [{
2082
2082
  "mask-radial": ["circle", "ellipse"]
@@ -2088,10 +2088,10 @@ const A = (e) => {
2088
2088
  }]
2089
2089
  }],
2090
2090
  "mask-image-radial-pos": [{
2091
- "mask-radial-at": P()
2091
+ "mask-radial-at": S()
2092
2092
  }],
2093
2093
  "mask-image-conic-pos": [{
2094
- "mask-conic": [T]
2094
+ "mask-conic": [P]
2095
2095
  }],
2096
2096
  "mask-image-conic-from-pos": [{
2097
2097
  "mask-conic-from": $()
@@ -2100,10 +2100,10 @@ const A = (e) => {
2100
2100
  "mask-conic-to": $()
2101
2101
  }],
2102
2102
  "mask-image-conic-from-color": [{
2103
- "mask-conic-from": N()
2103
+ "mask-conic-from": C()
2104
2104
  }],
2105
2105
  "mask-image-conic-to-color": [{
2106
- "mask-conic-to": N()
2106
+ "mask-conic-to": C()
2107
2107
  }],
2108
2108
  /**
2109
2109
  * Mask Mode
@@ -2182,14 +2182,14 @@ const A = (e) => {
2182
2182
  * @see https://tailwindcss.com/docs/brightness
2183
2183
  */
2184
2184
  brightness: [{
2185
- brightness: [T, x, b]
2185
+ brightness: [P, x, b]
2186
2186
  }],
2187
2187
  /**
2188
2188
  * Contrast
2189
2189
  * @see https://tailwindcss.com/docs/contrast
2190
2190
  */
2191
2191
  contrast: [{
2192
- contrast: [T, x, b]
2192
+ contrast: [P, x, b]
2193
2193
  }],
2194
2194
  /**
2195
2195
  * Drop Shadow
@@ -2210,42 +2210,42 @@ const A = (e) => {
2210
2210
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2211
2211
  */
2212
2212
  "drop-shadow-color": [{
2213
- "drop-shadow": N()
2213
+ "drop-shadow": C()
2214
2214
  }],
2215
2215
  /**
2216
2216
  * Grayscale
2217
2217
  * @see https://tailwindcss.com/docs/grayscale
2218
2218
  */
2219
2219
  grayscale: [{
2220
- grayscale: ["", T, x, b]
2220
+ grayscale: ["", P, x, b]
2221
2221
  }],
2222
2222
  /**
2223
2223
  * Hue Rotate
2224
2224
  * @see https://tailwindcss.com/docs/hue-rotate
2225
2225
  */
2226
2226
  "hue-rotate": [{
2227
- "hue-rotate": [T, x, b]
2227
+ "hue-rotate": [P, x, b]
2228
2228
  }],
2229
2229
  /**
2230
2230
  * Invert
2231
2231
  * @see https://tailwindcss.com/docs/invert
2232
2232
  */
2233
2233
  invert: [{
2234
- invert: ["", T, x, b]
2234
+ invert: ["", P, x, b]
2235
2235
  }],
2236
2236
  /**
2237
2237
  * Saturate
2238
2238
  * @see https://tailwindcss.com/docs/saturate
2239
2239
  */
2240
2240
  saturate: [{
2241
- saturate: [T, x, b]
2241
+ saturate: [P, x, b]
2242
2242
  }],
2243
2243
  /**
2244
2244
  * Sepia
2245
2245
  * @see https://tailwindcss.com/docs/sepia
2246
2246
  */
2247
2247
  sepia: [{
2248
- sepia: ["", T, x, b]
2248
+ sepia: ["", P, x, b]
2249
2249
  }],
2250
2250
  /**
2251
2251
  * Backdrop Filter
@@ -2272,56 +2272,56 @@ const A = (e) => {
2272
2272
  * @see https://tailwindcss.com/docs/backdrop-brightness
2273
2273
  */
2274
2274
  "backdrop-brightness": [{
2275
- "backdrop-brightness": [T, x, b]
2275
+ "backdrop-brightness": [P, x, b]
2276
2276
  }],
2277
2277
  /**
2278
2278
  * Backdrop Contrast
2279
2279
  * @see https://tailwindcss.com/docs/backdrop-contrast
2280
2280
  */
2281
2281
  "backdrop-contrast": [{
2282
- "backdrop-contrast": [T, x, b]
2282
+ "backdrop-contrast": [P, x, b]
2283
2283
  }],
2284
2284
  /**
2285
2285
  * Backdrop Grayscale
2286
2286
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2287
2287
  */
2288
2288
  "backdrop-grayscale": [{
2289
- "backdrop-grayscale": ["", T, x, b]
2289
+ "backdrop-grayscale": ["", P, x, b]
2290
2290
  }],
2291
2291
  /**
2292
2292
  * Backdrop Hue Rotate
2293
2293
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2294
2294
  */
2295
2295
  "backdrop-hue-rotate": [{
2296
- "backdrop-hue-rotate": [T, x, b]
2296
+ "backdrop-hue-rotate": [P, x, b]
2297
2297
  }],
2298
2298
  /**
2299
2299
  * Backdrop Invert
2300
2300
  * @see https://tailwindcss.com/docs/backdrop-invert
2301
2301
  */
2302
2302
  "backdrop-invert": [{
2303
- "backdrop-invert": ["", T, x, b]
2303
+ "backdrop-invert": ["", P, x, b]
2304
2304
  }],
2305
2305
  /**
2306
2306
  * Backdrop Opacity
2307
2307
  * @see https://tailwindcss.com/docs/backdrop-opacity
2308
2308
  */
2309
2309
  "backdrop-opacity": [{
2310
- "backdrop-opacity": [T, x, b]
2310
+ "backdrop-opacity": [P, x, b]
2311
2311
  }],
2312
2312
  /**
2313
2313
  * Backdrop Saturate
2314
2314
  * @see https://tailwindcss.com/docs/backdrop-saturate
2315
2315
  */
2316
2316
  "backdrop-saturate": [{
2317
- "backdrop-saturate": [T, x, b]
2317
+ "backdrop-saturate": [P, x, b]
2318
2318
  }],
2319
2319
  /**
2320
2320
  * Backdrop Sepia
2321
2321
  * @see https://tailwindcss.com/docs/backdrop-sepia
2322
2322
  */
2323
2323
  "backdrop-sepia": [{
2324
- "backdrop-sepia": ["", T, x, b]
2324
+ "backdrop-sepia": ["", P, x, b]
2325
2325
  }],
2326
2326
  // --------------
2327
2327
  // --- Tables ---
@@ -2390,7 +2390,7 @@ const A = (e) => {
2390
2390
  * @see https://tailwindcss.com/docs/transition-duration
2391
2391
  */
2392
2392
  duration: [{
2393
- duration: [T, "initial", x, b]
2393
+ duration: [P, "initial", x, b]
2394
2394
  }],
2395
2395
  /**
2396
2396
  * Transition Timing Function
@@ -2404,14 +2404,14 @@ const A = (e) => {
2404
2404
  * @see https://tailwindcss.com/docs/transition-delay
2405
2405
  */
2406
2406
  delay: [{
2407
- delay: [T, x, b]
2407
+ delay: [P, x, b]
2408
2408
  }],
2409
2409
  /**
2410
2410
  * Animation
2411
2411
  * @see https://tailwindcss.com/docs/animation
2412
2412
  */
2413
2413
  animate: [{
2414
- animate: ["none", z, x, b]
2414
+ animate: ["none", T, x, b]
2415
2415
  }],
2416
2416
  // ------------------
2417
2417
  // --- Transforms ---
@@ -2428,14 +2428,14 @@ const A = (e) => {
2428
2428
  * @see https://tailwindcss.com/docs/perspective
2429
2429
  */
2430
2430
  perspective: [{
2431
- perspective: [C, x, b]
2431
+ perspective: [N, x, b]
2432
2432
  }],
2433
2433
  /**
2434
2434
  * Perspective Origin
2435
2435
  * @see https://tailwindcss.com/docs/perspective-origin
2436
2436
  */
2437
2437
  "perspective-origin": [{
2438
- "perspective-origin": I()
2438
+ "perspective-origin": z()
2439
2439
  }],
2440
2440
  /**
2441
2441
  * Rotate
@@ -2531,7 +2531,7 @@ const A = (e) => {
2531
2531
  * @see https://tailwindcss.com/docs/transform-origin
2532
2532
  */
2533
2533
  "transform-origin": [{
2534
- origin: I()
2534
+ origin: z()
2535
2535
  }],
2536
2536
  /**
2537
2537
  * Transform Style
@@ -2581,7 +2581,7 @@ const A = (e) => {
2581
2581
  * @see https://tailwindcss.com/docs/accent-color
2582
2582
  */
2583
2583
  accent: [{
2584
- accent: N()
2584
+ accent: C()
2585
2585
  }],
2586
2586
  /**
2587
2587
  * Appearance
@@ -2595,7 +2595,7 @@ const A = (e) => {
2595
2595
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2596
2596
  */
2597
2597
  "caret-color": [{
2598
- caret: N()
2598
+ caret: C()
2599
2599
  }],
2600
2600
  /**
2601
2601
  * Color Scheme
@@ -2841,21 +2841,21 @@ const A = (e) => {
2841
2841
  * @see https://tailwindcss.com/docs/fill
2842
2842
  */
2843
2843
  fill: [{
2844
- fill: ["none", ...N()]
2844
+ fill: ["none", ...C()]
2845
2845
  }],
2846
2846
  /**
2847
2847
  * Stroke Width
2848
2848
  * @see https://tailwindcss.com/docs/stroke-width
2849
2849
  */
2850
2850
  "stroke-w": [{
2851
- stroke: [T, ue, Y, Se]
2851
+ stroke: [P, ue, Y, Se]
2852
2852
  }],
2853
2853
  /**
2854
2854
  * Stroke
2855
2855
  * @see https://tailwindcss.com/docs/stroke
2856
2856
  */
2857
2857
  stroke: [{
2858
- stroke: ["none", ...N()]
2858
+ stroke: ["none", ...C()]
2859
2859
  }],
2860
2860
  // ---------------------
2861
2861
  // --- Accessibility ---
@@ -2923,16 +2923,16 @@ const A = (e) => {
2923
2923
  },
2924
2924
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2925
2925
  };
2926
- }, kr = /* @__PURE__ */ rr(wr);
2926
+ }, Nr = /* @__PURE__ */ or(kr);
2927
2927
  function f(...e) {
2928
- return kr(rt(e));
2928
+ return Nr(ot(e));
2929
2929
  }
2930
2930
  const K = v.forwardRef(
2931
- ({ className: e, variant: t, size: o, asChild: a = !1, disabled: n, ...s }, l) => /* @__PURE__ */ r(
2932
- a ? Ot : "button",
2931
+ ({ className: e, variant: t, size: o, asChild: a = !1, disabled: n, ...s }, i) => /* @__PURE__ */ r(
2932
+ a ? Vt : "button",
2933
2933
  {
2934
- className: f(At({ variant: t, size: o, className: e })),
2935
- ref: l,
2934
+ className: f(Lt({ variant: t, size: o, className: e })),
2935
+ ref: i,
2936
2936
  type: s.type || "button",
2937
2937
  disabled: n,
2938
2938
  "aria-disabled": n ? "true" : void 0,
@@ -2941,7 +2941,7 @@ const K = v.forwardRef(
2941
2941
  )
2942
2942
  );
2943
2943
  K.displayName = "Button";
2944
- const Nr = (e) => {
2944
+ const Cr = (e) => {
2945
2945
  switch (e) {
2946
2946
  case "h1":
2947
2947
  return "text-4xl font-bold leading-tight tracking-tight";
@@ -2968,7 +2968,7 @@ const Nr = (e) => {
2968
2968
  default:
2969
2969
  return "text-base font-normal leading-normal";
2970
2970
  }
2971
- }, Cr = (e) => {
2971
+ }, Mr = (e) => {
2972
2972
  switch (e) {
2973
2973
  case "primary":
2974
2974
  return "text-foreground";
@@ -2985,7 +2985,7 @@ const Nr = (e) => {
2985
2985
  default:
2986
2986
  return "text-foreground";
2987
2987
  }
2988
- }, Mr = (e) => {
2988
+ }, Sr = (e) => {
2989
2989
  switch (e) {
2990
2990
  case "light":
2991
2991
  return "font-light";
@@ -3000,7 +3000,7 @@ const Nr = (e) => {
3000
3000
  default:
3001
3001
  return "";
3002
3002
  }
3003
- }, Sr = (e) => {
3003
+ }, Tr = (e) => {
3004
3004
  switch (e) {
3005
3005
  case "left":
3006
3006
  return "text-left";
@@ -3013,29 +3013,29 @@ const Nr = (e) => {
3013
3013
  default:
3014
3014
  return "text-left";
3015
3015
  }
3016
- }, R = ({
3016
+ }, j = ({
3017
3017
  variant: e = "body",
3018
3018
  color: t = "primary",
3019
3019
  weight: o,
3020
3020
  align: a = "left",
3021
3021
  truncate: n = !1,
3022
3022
  children: s,
3023
- className: l,
3024
- as: i,
3023
+ className: i,
3024
+ as: l,
3025
3025
  ...c
3026
3026
  }) => {
3027
- const m = i || Tr(e), u = f(
3027
+ const m = l || zr(e), u = f(
3028
3028
  "m-0",
3029
- Nr(e),
3030
- Cr(t),
3031
- Mr(o),
3032
- Sr(a),
3029
+ Cr(e),
3030
+ Mr(t),
3031
+ Sr(o),
3032
+ Tr(a),
3033
3033
  n && "truncate",
3034
- l
3034
+ i
3035
3035
  );
3036
3036
  return /* @__PURE__ */ r(m, { className: u, ...c, children: s });
3037
3037
  };
3038
- function Tr(e) {
3038
+ function zr(e) {
3039
3039
  switch (e) {
3040
3040
  case "h1":
3041
3041
  return "h1";
@@ -3053,7 +3053,7 @@ function Tr(e) {
3053
3053
  return "p";
3054
3054
  }
3055
3055
  }
3056
- const zr = (e) => {
3056
+ const Pr = (e) => {
3057
3057
  switch (e) {
3058
3058
  case "sm":
3059
3059
  return "p-4";
@@ -3064,7 +3064,7 @@ const zr = (e) => {
3064
3064
  default:
3065
3065
  return "p-0";
3066
3066
  }
3067
- }, Pr = (e) => {
3067
+ }, Ir = (e) => {
3068
3068
  switch (e) {
3069
3069
  case "sm":
3070
3070
  return "shadow-sm";
@@ -3075,7 +3075,7 @@ const zr = (e) => {
3075
3075
  default:
3076
3076
  return "shadow-none";
3077
3077
  }
3078
- }, Ir = (e) => {
3078
+ }, Er = (e) => {
3079
3079
  switch (e) {
3080
3080
  case "sm":
3081
3081
  return "rounded-sm";
@@ -3086,39 +3086,39 @@ const zr = (e) => {
3086
3086
  default:
3087
3087
  return "rounded-none";
3088
3088
  }
3089
- }, pt = ({
3089
+ }, ft = ({
3090
3090
  children: e,
3091
3091
  title: t,
3092
3092
  subtitle: o,
3093
3093
  className: a,
3094
3094
  padding: n = "md",
3095
3095
  shadow: s = "md",
3096
- borderRadius: l = "md",
3097
- onClick: i
3096
+ borderRadius: i = "md",
3097
+ onClick: l
3098
3098
  }) => {
3099
- const c = !!i, m = f(
3099
+ const c = !!l, m = f(
3100
3100
  "bg-card",
3101
- zr(n),
3102
- Pr(s),
3103
- Ir(l),
3101
+ Pr(n),
3102
+ Ir(s),
3103
+ Er(i),
3104
3104
  "transition-all duration-200 ease-in-out",
3105
3105
  c && "cursor-pointer hover:-translate-y-0.5 hover:shadow-lg active:translate-y-0",
3106
3106
  a
3107
3107
  );
3108
- return /* @__PURE__ */ p("div", { className: m, onClick: i, children: [
3108
+ return /* @__PURE__ */ p("div", { className: m, onClick: l, children: [
3109
3109
  (t || o) && /* @__PURE__ */ p("div", { className: "mb-4", children: [
3110
- t && /* @__PURE__ */ r("div", { className: "mb-2", children: /* @__PURE__ */ r(R, { variant: "h3", children: t }) }),
3111
- o && /* @__PURE__ */ r("div", { className: "text-muted-foreground", children: /* @__PURE__ */ r(R, { variant: "body-sm", color: "muted", children: o }) })
3110
+ t && /* @__PURE__ */ r("div", { className: "mb-2", children: /* @__PURE__ */ r(j, { variant: "h3", children: t }) }),
3111
+ o && /* @__PURE__ */ r("div", { className: "text-muted-foreground", children: /* @__PURE__ */ r(j, { variant: "body-sm", color: "muted", children: o }) })
3112
3112
  ] }),
3113
3113
  /* @__PURE__ */ r("div", { className: "flex-1", children: e })
3114
3114
  ] });
3115
- }, Er = ({
3115
+ }, jr = ({
3116
3116
  children: e
3117
- }) => /* @__PURE__ */ r("div", { className: "mt-4 pt-4 border-t border-border", children: e }), Yo = Object.assign(pt, {
3118
- Footer: Er
3117
+ }) => /* @__PURE__ */ r("div", { className: "mt-4 pt-4 border-t border-border", children: e }), Yo = Object.assign(ft, {
3118
+ Footer: jr
3119
3119
  });
3120
3120
  function Rr(e, t, o, a, n, s) {
3121
- const l = (e - 90) * Math.PI / 180, i = (t - 90) * Math.PI / 180, c = n + o * Math.cos(l), m = s + o * Math.sin(l), u = n + o * Math.cos(i), d = s + o * Math.sin(i), h = n + a * Math.cos(i), M = s + a * Math.sin(i), y = n + a * Math.cos(l), C = s + a * Math.sin(l), 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), y = n + a * Math.cos(i), N = s + a * Math.sin(i), g = t - e > 180 ? 1 : 0;
3122
3122
  return [
3123
3123
  `M ${c} ${m}`,
3124
3124
  // Move to start point on outer arc
@@ -3126,20 +3126,20 @@ function Rr(e, t, o, a, n, s) {
3126
3126
  // Outer arc
3127
3127
  `L ${h} ${M}`,
3128
3128
  // Line to inner arc
3129
- `A ${a} ${a} 0 ${g} 0 ${y} ${C}`,
3129
+ `A ${a} ${a} 0 ${g} 0 ${y} ${N}`,
3130
3130
  // Inner arc (reverse)
3131
3131
  "Z"
3132
3132
  // Close path
3133
3133
  ].join(" ");
3134
3134
  }
3135
- function jr(e, t, o, a, n) {
3135
+ function Ar(e, t, o, a, n) {
3136
3136
  const s = e.reduce((c, m) => c + m.value, 0);
3137
3137
  if (s === 0)
3138
3138
  return [];
3139
- let l = 0;
3140
- const i = [];
3139
+ let i = 0;
3140
+ const l = [];
3141
3141
  return e.forEach((c) => {
3142
- const m = c.value / s * 360, u = l, d = l + m, h = Rr(
3142
+ const m = c.value / s * 360, u = i, d = i + m, h = Rr(
3143
3143
  u,
3144
3144
  d,
3145
3145
  t,
@@ -3147,13 +3147,13 @@ function jr(e, t, o, a, n) {
3147
3147
  a,
3148
3148
  n
3149
3149
  );
3150
- i.push({
3150
+ l.push({
3151
3151
  path: h,
3152
3152
  segment: c
3153
- }), l = d;
3154
- }), i;
3153
+ }), i = d;
3154
+ }), l;
3155
3155
  }
3156
- const ft = v.forwardRef(
3156
+ const ht = v.forwardRef(
3157
3157
  ({
3158
3158
  segments: e,
3159
3159
  size: t = 300,
@@ -3161,29 +3161,29 @@ const ft = v.forwardRef(
3161
3161
  centerContent: a,
3162
3162
  showLegend: n = !1,
3163
3163
  legendPosition: s = "bottom",
3164
- className: l,
3165
- onSegmentClick: i,
3164
+ className: i,
3165
+ onSegmentClick: l,
3166
3166
  onSegmentHover: c
3167
3167
  }, m) => {
3168
- const [u, d] = v.useState(null), h = t / 2, M = t / 2, y = 2, C = t / 2 - y, g = C * o, w = jr(
3168
+ const [u, d] = v.useState(null), h = t / 2, M = t / 2, y = 2, N = t / 2 - y, g = N * o, w = Ar(
3169
3169
  e,
3170
- C,
3170
+ N,
3171
3171
  g,
3172
3172
  h,
3173
3173
  M
3174
- ), z = (P) => {
3175
- d(P), c?.(P);
3176
- }, S = s === "left" || s === "right";
3174
+ ), T = (S) => {
3175
+ d(S), c?.(S);
3176
+ }, E = 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
- S ? "flex-row items-center" : "flex-col items-center",
3183
+ E ? "flex-row items-center" : "flex-col items-center",
3184
3184
  s === "right" && "flex-row-reverse",
3185
3185
  s === "top" && "flex-col-reverse",
3186
- l
3186
+ i
3187
3187
  ),
3188
3188
  children: [
3189
3189
  /* @__PURE__ */ p(
@@ -3192,23 +3192,23 @@ 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: I }, V) => /* @__PURE__ */ r(
3195
+ /* @__PURE__ */ r("svg", { width: t, height: t, viewBox: `0 0 ${t} ${t}`, children: w.map(({ path: S, segment: z }, V) => /* @__PURE__ */ r(
3196
3196
  "path",
3197
3197
  {
3198
- d: P,
3199
- fill: I.color,
3198
+ d: S,
3199
+ fill: z.color,
3200
3200
  stroke: "white",
3201
3201
  strokeWidth: y,
3202
3202
  className: f(
3203
3203
  "transition-opacity duration-200",
3204
- u && u !== I && "opacity-50",
3205
- i && "cursor-pointer"
3204
+ u && u !== z && "opacity-50",
3205
+ l && "cursor-pointer"
3206
3206
  ),
3207
- onMouseEnter: () => z(I),
3208
- onMouseLeave: () => z(null),
3209
- onClick: () => i?.(I)
3207
+ onMouseEnter: () => T(z),
3208
+ onMouseLeave: () => T(null),
3209
+ onClick: () => l?.(z)
3210
3210
  },
3211
- `${I.label}-${V}`
3211
+ `${z.label}-${V}`
3212
3212
  )) }),
3213
3213
  a && /* @__PURE__ */ r(
3214
3214
  "div",
@@ -3226,31 +3226,31 @@ const ft = v.forwardRef(
3226
3226
  {
3227
3227
  className: f(
3228
3228
  "flex gap-2",
3229
- S ? "flex-col" : "flex-row flex-wrap justify-center"
3229
+ E ? "flex-col" : "flex-row flex-wrap justify-center"
3230
3230
  ),
3231
- children: e.map((P, I) => /* @__PURE__ */ p(
3231
+ children: e.map((S, z) => /* @__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",
3237
- i && "cursor-pointer"
3236
+ u && u !== S && "opacity-50",
3237
+ l && "cursor-pointer"
3238
3238
  ),
3239
- onMouseEnter: () => z(P),
3240
- onMouseLeave: () => z(null),
3241
- onClick: () => i?.(P),
3239
+ onMouseEnter: () => T(S),
3240
+ onMouseLeave: () => T(null),
3241
+ onClick: () => l?.(S),
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: S.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: S.label })
3251
3251
  ]
3252
3252
  },
3253
- `${P.label}-${I}`
3253
+ `${S.label}-${z}`
3254
3254
  ))
3255
3255
  }
3256
3256
  )
@@ -3259,40 +3259,40 @@ const ft = v.forwardRef(
3259
3259
  );
3260
3260
  }
3261
3261
  );
3262
- ft.displayName = "DonutChart";
3262
+ ht.displayName = "DonutChart";
3263
3263
  function ea(e, t, o = {}) {
3264
3264
  const {
3265
3265
  initialCategory: a = null,
3266
3266
  initialSort: n = null,
3267
3267
  enableSearch: s = !1
3268
- } = o, [l, i] = ee(
3268
+ } = o, [i, l] = ee(
3269
3269
  a
3270
- ), [c, m] = ee(n), [u, d] = ee(""), h = Ne(() => It(e, l), [e, l]), M = Ne(() => {
3270
+ ), [c, m] = ee(n), [u, d] = ee(""), h = Ne(() => Et(e, i), [e, i]), M = Ne(() => {
3271
3271
  if (!s || !u.trim())
3272
3272
  return h;
3273
3273
  const w = u.toLowerCase();
3274
3274
  return h.filter(
3275
- (z) => z.title.toLowerCase().includes(w) || z.subtitle?.toLowerCase().includes(w)
3275
+ (T) => T.title.toLowerCase().includes(w) || T.subtitle?.toLowerCase().includes(w)
3276
3276
  );
3277
- }, [h, u, s]), y = Ne(() => c ? Et(M, c) : M, [M, c]), C = He(
3277
+ }, [h, u, s]), y = Ne(() => c ? jt(M, c) : M, [M, c]), N = He(
3278
3278
  (w) => Rt(e, w),
3279
3279
  [e]
3280
3280
  ), g = He(() => {
3281
- i(a), m(n), d("");
3281
+ l(a), m(n), d("");
3282
3282
  }, [a, n]);
3283
3283
  return {
3284
- activeCategory: l,
3285
- setActiveCategory: i,
3284
+ activeCategory: i,
3285
+ setActiveCategory: l,
3286
3286
  sort: c,
3287
3287
  setSort: m,
3288
3288
  searchQuery: u,
3289
3289
  setSearchQuery: d,
3290
3290
  filteredEntities: y,
3291
- getCategoryCount: C,
3291
+ getCategoryCount: N,
3292
3292
  resetFilters: g
3293
3293
  };
3294
3294
  }
3295
- const Ar = J(
3295
+ const Lr = J(
3296
3296
  "inline-flex items-center justify-center whitespace-nowrap rounded-full text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
3297
3297
  {
3298
3298
  variants: {
@@ -3322,8 +3322,8 @@ const Ar = J(
3322
3322
  icon: a,
3323
3323
  selected: n,
3324
3324
  dismissible: s,
3325
- onDismiss: l,
3326
- children: i,
3325
+ onDismiss: i,
3326
+ children: l,
3327
3327
  disabled: c,
3328
3328
  ...m
3329
3329
  }, u) => /* @__PURE__ */ p(
@@ -3331,7 +3331,7 @@ const Ar = J(
3331
3331
  {
3332
3332
  type: "button",
3333
3333
  className: f(
3334
- Ar({ variant: n ? "selected" : t, size: o, className: e })
3334
+ Lr({ variant: n ? "selected" : t, size: o, className: e })
3335
3335
  ),
3336
3336
  ref: u,
3337
3337
  disabled: c,
@@ -3340,14 +3340,14 @@ const Ar = J(
3340
3340
  ...m,
3341
3341
  children: [
3342
3342
  a && /* @__PURE__ */ r("span", { className: "mr-1.5 inline-flex items-center", "aria-hidden": "true", children: a }),
3343
- /* @__PURE__ */ r("span", { children: i }),
3344
- s && l && /* @__PURE__ */ r(
3343
+ /* @__PURE__ */ r("span", { children: l }),
3344
+ s && i && /* @__PURE__ */ r(
3345
3345
  "button",
3346
3346
  {
3347
3347
  type: "button",
3348
3348
  className: "ml-1.5 inline-flex items-center hover:opacity-70",
3349
3349
  onClick: (h) => {
3350
- h.stopPropagation(), l();
3350
+ h.stopPropagation(), i();
3351
3351
  },
3352
3352
  "aria-label": "Remove",
3353
3353
  children: "×"
@@ -3358,7 +3358,7 @@ const Ar = J(
3358
3358
  )
3359
3359
  );
3360
3360
  Oe.displayName = "Chip";
3361
- const ht = v.forwardRef(
3361
+ const gt = v.forwardRef(
3362
3362
  ({
3363
3363
  categories: e,
3364
3364
  activeCategory: t,
@@ -3366,27 +3366,27 @@ const ht = v.forwardRef(
3366
3366
  showCount: a,
3367
3367
  getCategoryCount: n,
3368
3368
  className: s
3369
- }, l) => /* @__PURE__ */ r(
3369
+ }, i) => /* @__PURE__ */ r(
3370
3370
  "div",
3371
3371
  {
3372
- ref: l,
3372
+ ref: i,
3373
3373
  role: "tablist",
3374
3374
  "aria-label": "Filter by category",
3375
3375
  className: f("flex flex-wrap gap-2 overflow-x-auto pb-2", s),
3376
- children: e.map((i) => {
3377
- const c = t === i.id, m = a && n ? n(i.id) : void 0;
3376
+ children: e.map((l) => {
3377
+ const c = t === l.id, m = a && n ? n(l.id) : void 0;
3378
3378
  return /* @__PURE__ */ p(
3379
3379
  Oe,
3380
3380
  {
3381
3381
  role: "tab",
3382
3382
  "aria-selected": c,
3383
- "aria-controls": `entities-panel-${i.id}`,
3383
+ "aria-controls": `entities-panel-${l.id}`,
3384
3384
  selected: c,
3385
3385
  variant: c ? "selected" : "outline",
3386
- icon: typeof i.icon == "string" ? i.icon : i.icon ? v.createElement(i.icon) : void 0,
3387
- onClick: () => o(c ? null : i.id),
3386
+ icon: typeof l.icon == "string" ? l.icon : l.icon ? v.createElement(l.icon) : void 0,
3387
+ onClick: () => o(c ? null : l.id),
3388
3388
  children: [
3389
- i.label,
3389
+ l.label,
3390
3390
  m !== void 0 && /* @__PURE__ */ p("span", { className: "ml-1.5 opacity-70", children: [
3391
3391
  "(",
3392
3392
  m,
@@ -3394,14 +3394,14 @@ const ht = v.forwardRef(
3394
3394
  ] })
3395
3395
  ]
3396
3396
  },
3397
- i.id
3397
+ l.id
3398
3398
  );
3399
3399
  })
3400
3400
  }
3401
3401
  )
3402
3402
  );
3403
- ht.displayName = "CategoryChips";
3404
- const Lr = J(
3403
+ gt.displayName = "CategoryChips";
3404
+ const $r = J(
3405
3405
  [
3406
3406
  // Base styles
3407
3407
  "flex w-full rounded-md border bg-background px-3 py-2",
@@ -3429,7 +3429,7 @@ const Lr = J(
3429
3429
  inputSize: "default"
3430
3430
  }
3431
3431
  }
3432
- ), $r = J(
3432
+ ), Or = J(
3433
3433
  ["block text-sm font-medium mb-1.5", "transition-colors"],
3434
3434
  {
3435
3435
  variants: {
@@ -3448,7 +3448,7 @@ const Lr = J(
3448
3448
  required: !1
3449
3449
  }
3450
3450
  }
3451
- ), Or = J("mt-1.5 text-sm", {
3451
+ ), Vr = J("mt-1.5 text-sm", {
3452
3452
  variants: {
3453
3453
  variant: {
3454
3454
  default: "text-muted-foreground",
@@ -3467,22 +3467,22 @@ const Lr = J(
3467
3467
  variant: a,
3468
3468
  inputSize: n,
3469
3469
  label: s,
3470
- helperText: l,
3471
- error: i,
3470
+ helperText: i,
3471
+ error: l,
3472
3472
  required: c,
3473
3473
  prefix: m,
3474
3474
  suffix: u,
3475
3475
  id: d,
3476
3476
  ...h
3477
3477
  }, M) => {
3478
- const y = v.useId(), C = d || y, g = `${C}-helper`, w = `${C}-error`, z = i ? "error" : a, S = i || l;
3478
+ const y = v.useId(), N = d || y, g = `${N}-helper`, w = `${N}-error`, T = l ? "error" : a, E = 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
- htmlFor: C,
3483
+ htmlFor: N,
3484
3484
  className: f(
3485
- $r({ variant: z, required: c }),
3485
+ Or({ variant: T, required: c }),
3486
3486
  o
3487
3487
  ),
3488
3488
  children: s
@@ -3493,35 +3493,35 @@ const Lr = J(
3493
3493
  /* @__PURE__ */ r(
3494
3494
  "input",
3495
3495
  {
3496
- id: C,
3496
+ id: N,
3497
3497
  ref: M,
3498
3498
  className: f(
3499
- Lr({ variant: z, inputSize: n }),
3499
+ $r({ variant: T, inputSize: n }),
3500
3500
  m && "pl-10",
3501
3501
  u && "pr-10",
3502
3502
  e
3503
3503
  ),
3504
- "aria-invalid": i ? "true" : "false",
3505
- "aria-describedby": S ? i ? w : g : void 0,
3504
+ "aria-invalid": l ? "true" : "false",
3505
+ "aria-describedby": E ? l ? w : g : 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
- S && /* @__PURE__ */ r(
3511
+ E && /* @__PURE__ */ r(
3512
3512
  "p",
3513
3513
  {
3514
- id: i ? w : g,
3515
- className: Or({ variant: z }),
3516
- role: i ? "alert" : void 0,
3517
- children: S
3514
+ id: l ? w : g,
3515
+ className: Vr({ variant: T }),
3516
+ role: l ? "alert" : void 0,
3517
+ children: E
3518
3518
  }
3519
3519
  )
3520
3520
  ] });
3521
3521
  }
3522
3522
  );
3523
3523
  ne.displayName = "Input";
3524
- const Vr = (e) => {
3524
+ const Fr = (e) => {
3525
3525
  switch (e) {
3526
3526
  case "sm":
3527
3527
  return "max-w-md";
@@ -3534,24 +3534,24 @@ const Vr = (e) => {
3534
3534
  default:
3535
3535
  return "max-w-2xl";
3536
3536
  }
3537
- }, Fr = ({
3537
+ }, _r = ({
3538
3538
  isOpen: e,
3539
3539
  onClose: t,
3540
3540
  title: o,
3541
3541
  children: a,
3542
3542
  size: n = "md",
3543
3543
  showCloseButton: s = !0,
3544
- closeOnOverlayClick: l = !0,
3545
- closeOnEscape: i = !0
3544
+ closeOnOverlayClick: i = !0,
3545
+ closeOnEscape: l = !0
3546
3546
  }) => {
3547
3547
  const c = Ae.useRef(null);
3548
3548
  if (Ce(() => {
3549
- if (!e || !i) return;
3550
- const y = (C) => {
3551
- C.key === "Escape" && t();
3549
+ if (!e || !l) return;
3550
+ const y = (N) => {
3551
+ N.key === "Escape" && t();
3552
3552
  };
3553
3553
  return document.addEventListener("keydown", y), () => document.removeEventListener("keydown", y);
3554
- }, [e, i, t]), Ce(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
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(() => {
3557
3557
  e && c.current && c.current.focus();
@@ -3560,7 +3560,7 @@ const Vr = (e) => {
3560
3560
  "fixed inset-0 bg-black/50 flex items-center justify-center z-50 p-4"
3561
3561
  ), u = f(
3562
3562
  "bg-card rounded-lg shadow-xl w-full max-h-[90vh] overflow-hidden flex flex-col",
3563
- Vr(n)
3563
+ Fr(n)
3564
3564
  ), d = f(
3565
3565
  "p-6 border-b border-border flex items-center justify-between"
3566
3566
  ), h = f("p-6 overflow-y-auto flex-1"), M = f(
@@ -3570,7 +3570,7 @@ const Vr = (e) => {
3570
3570
  "div",
3571
3571
  {
3572
3572
  className: m,
3573
- onClick: l ? t : void 0,
3573
+ onClick: i ? t : void 0,
3574
3574
  children: /* @__PURE__ */ p(
3575
3575
  "div",
3576
3576
  {
@@ -3583,7 +3583,7 @@ const Vr = (e) => {
3583
3583
  "aria-labelledby": o ? "modal-title" : void 0,
3584
3584
  children: [
3585
3585
  (o || s) && /* @__PURE__ */ p("div", { className: d, children: [
3586
- o && /* @__PURE__ */ r(R, { variant: "h3", className: "text-foreground", children: o }),
3586
+ o && /* @__PURE__ */ r(j, { variant: "h3", className: "text-foreground", children: o }),
3587
3587
  s && /* @__PURE__ */ r(
3588
3588
  "button",
3589
3589
  {
@@ -3600,11 +3600,11 @@ const Vr = (e) => {
3600
3600
  )
3601
3601
  }
3602
3602
  );
3603
- }, _r = ({
3603
+ }, Dr = ({
3604
3604
  children: e,
3605
3605
  actions: t,
3606
3606
  ...o
3607
- }) => /* @__PURE__ */ p(Fr, { ...o, children: [
3607
+ }) => /* @__PURE__ */ p(_r, { ...o, children: [
3608
3608
  /* @__PURE__ */ r("div", { className: "p-6 overflow-y-auto flex-1", children: e }),
3609
3609
  t && /* @__PURE__ */ r("div", { className: "p-6 border-t border-border flex justify-end gap-3", children: t })
3610
3610
  ] }), ta = ({
@@ -3614,20 +3614,20 @@ const Vr = (e) => {
3614
3614
  title: a,
3615
3615
  message: n,
3616
3616
  confirmText: s = "Confirm",
3617
- cancelText: l = "Cancel"
3617
+ cancelText: i = "Cancel"
3618
3618
  }) => /* @__PURE__ */ r(
3619
- _r,
3619
+ Dr,
3620
3620
  {
3621
3621
  isOpen: e,
3622
3622
  onClose: t,
3623
3623
  title: a,
3624
3624
  actions: /* @__PURE__ */ p(se, { children: [
3625
- /* @__PURE__ */ r(K, { variant: "secondary", onClick: t, children: l }),
3625
+ /* @__PURE__ */ r(K, { variant: "secondary", onClick: t, children: i }),
3626
3626
  /* @__PURE__ */ r(K, { variant: "default", onClick: o, children: s })
3627
3627
  ] }),
3628
- children: /* @__PURE__ */ r(R, { children: n })
3628
+ children: /* @__PURE__ */ r(j, { children: n })
3629
3629
  }
3630
- ), Dr = J(
3630
+ ), Br = J(
3631
3631
  [
3632
3632
  // Base styles
3633
3633
  "flex w-full rounded-md border bg-background px-3 py-2",
@@ -3654,7 +3654,7 @@ const Vr = (e) => {
3654
3654
  selectSize: "default"
3655
3655
  }
3656
3656
  }
3657
- ), Br = J(
3657
+ ), Hr = J(
3658
3658
  ["block text-sm font-medium mb-1.5", "transition-colors"],
3659
3659
  {
3660
3660
  variants: {
@@ -3673,7 +3673,7 @@ const Vr = (e) => {
3673
3673
  required: !1
3674
3674
  }
3675
3675
  }
3676
- ), Hr = J("mt-1.5 text-sm", {
3676
+ ), Gr = J("mt-1.5 text-sm", {
3677
3677
  variants: {
3678
3678
  variant: {
3679
3679
  default: "text-muted-foreground",
@@ -3691,13 +3691,13 @@ const Vr = (e) => {
3691
3691
  * This source code is licensed under the ISC license.
3692
3692
  * See the LICENSE file in the root directory of this source tree.
3693
3693
  */
3694
- const Gr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Wr = (e) => e.replace(
3694
+ const Wr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Ur = (e) => e.replace(
3695
3695
  /^([A-Z])|[\s-_]+(\w)/g,
3696
3696
  (t, o, a) => a ? a.toUpperCase() : o.toLowerCase()
3697
3697
  ), Qe = (e) => {
3698
- const t = Wr(e);
3698
+ const t = Ur(e);
3699
3699
  return t.charAt(0).toUpperCase() + t.slice(1);
3700
- }, gt = (...e) => e.filter((t, o, a) => !!t && t.trim() !== "" && a.indexOf(t) === o).join(" ").trim(), Ur = (e) => {
3700
+ }, bt = (...e) => e.filter((t, o, a) => !!t && t.trim() !== "" && a.indexOf(t) === o).join(" ").trim(), qr = (e) => {
3701
3701
  for (const t in e)
3702
3702
  if (t.startsWith("aria-") || t === "role" || t === "title")
3703
3703
  return !0;
@@ -3708,7 +3708,7 @@ const Gr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Wr = (
3708
3708
  * This source code is licensed under the ISC license.
3709
3709
  * See the LICENSE file in the root directory of this source tree.
3710
3710
  */
3711
- var qr = {
3711
+ var Xr = {
3712
3712
  xmlns: "http://www.w3.org/2000/svg",
3713
3713
  width: 24,
3714
3714
  height: 24,
@@ -3725,7 +3725,7 @@ var qr = {
3725
3725
  * This source code is licensed under the ISC license.
3726
3726
  * See the LICENSE file in the root directory of this source tree.
3727
3727
  */
3728
- const Xr = we(
3728
+ const Zr = we(
3729
3729
  ({
3730
3730
  color: e = "currentColor",
3731
3731
  size: t = 24,
@@ -3733,23 +3733,23 @@ const Xr = we(
3733
3733
  absoluteStrokeWidth: a,
3734
3734
  className: n = "",
3735
3735
  children: s,
3736
- iconNode: l,
3737
- ...i
3736
+ iconNode: i,
3737
+ ...l
3738
3738
  }, c) => Pe(
3739
3739
  "svg",
3740
3740
  {
3741
3741
  ref: c,
3742
- ...qr,
3742
+ ...Xr,
3743
3743
  width: t,
3744
3744
  height: t,
3745
3745
  stroke: e,
3746
3746
  strokeWidth: a ? Number(o) * 24 / Number(t) : o,
3747
- className: gt("lucide", n),
3748
- ...!s && !Ur(i) && { "aria-hidden": "true" },
3749
- ...i
3747
+ className: bt("lucide", n),
3748
+ ...!s && !qr(l) && { "aria-hidden": "true" },
3749
+ ...l
3750
3750
  },
3751
3751
  [
3752
- ...l.map(([m, u]) => Pe(m, u)),
3752
+ ...i.map(([m, u]) => Pe(m, u)),
3753
3753
  ...Array.isArray(s) ? s : [s]
3754
3754
  ]
3755
3755
  )
@@ -3762,11 +3762,11 @@ const Xr = we(
3762
3762
  */
3763
3763
  const G = (e, t) => {
3764
3764
  const o = we(
3765
- ({ className: a, ...n }, s) => Pe(Xr, {
3765
+ ({ className: a, ...n }, s) => Pe(Zr, {
3766
3766
  ref: s,
3767
3767
  iconNode: t,
3768
- className: gt(
3769
- `lucide-${Gr(Qe(e))}`,
3768
+ className: bt(
3769
+ `lucide-${Wr(Qe(e))}`,
3770
3770
  `lucide-${e}`,
3771
3771
  a
3772
3772
  ),
@@ -3781,7 +3781,7 @@ const G = (e, t) => {
3781
3781
  * This source code is licensed under the ISC license.
3782
3782
  * See the LICENSE file in the root directory of this source tree.
3783
3783
  */
3784
- const Zr = [
3784
+ const Kr = [
3785
3785
  ["path", { d: "M10 4 8 6", key: "1rru8s" }],
3786
3786
  ["path", { d: "M17 19v2", key: "ts1sot" }],
3787
3787
  ["path", { d: "M2 12h20", key: "9i4pu4" }],
@@ -3793,26 +3793,26 @@ const Zr = [
3793
3793
  key: "14ym8i"
3794
3794
  }
3795
3795
  ]
3796
- ], Kr = G("bath", Zr);
3796
+ ], Jr = G("bath", Kr);
3797
3797
  /**
3798
3798
  * @license lucide-react v0.547.0 - ISC
3799
3799
  *
3800
3800
  * This source code is licensed under the ISC license.
3801
3801
  * See the LICENSE file in the root directory of this source tree.
3802
3802
  */
3803
- const Jr = [
3803
+ const Qr = [
3804
3804
  ["path", { d: "M2 4v16", key: "vw9hq8" }],
3805
3805
  ["path", { d: "M2 8h18a2 2 0 0 1 2 2v10", key: "1dgv2r" }],
3806
3806
  ["path", { d: "M2 17h20", key: "18nfp3" }],
3807
3807
  ["path", { d: "M6 8v9", key: "1yriud" }]
3808
- ], Qr = G("bed", Jr);
3808
+ ], Yr = G("bed", Qr);
3809
3809
  /**
3810
3810
  * @license lucide-react v0.547.0 - ISC
3811
3811
  *
3812
3812
  * This source code is licensed under the ISC license.
3813
3813
  * See the LICENSE file in the root directory of this source tree.
3814
3814
  */
3815
- const Yr = [
3815
+ const eo = [
3816
3816
  [
3817
3817
  "path",
3818
3818
  {
@@ -3823,34 +3823,34 @@ const Yr = [
3823
3823
  ["circle", { cx: "7", cy: "17", r: "2", key: "u2ysq9" }],
3824
3824
  ["path", { d: "M9 17h6", key: "r8uit2" }],
3825
3825
  ["circle", { cx: "17", cy: "17", r: "2", key: "axvx0g" }]
3826
- ], eo = G("car", Yr);
3826
+ ], to = G("car", eo);
3827
3827
  /**
3828
3828
  * @license lucide-react v0.547.0 - ISC
3829
3829
  *
3830
3830
  * This source code is licensed under the ISC license.
3831
3831
  * See the LICENSE file in the root directory of this source tree.
3832
3832
  */
3833
- const to = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], ro = G("chevron-down", to);
3833
+ const ro = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], oo = G("chevron-down", ro);
3834
3834
  /**
3835
3835
  * @license lucide-react v0.547.0 - ISC
3836
3836
  *
3837
3837
  * This source code is licensed under the ISC license.
3838
3838
  * See the LICENSE file in the root directory of this source tree.
3839
3839
  */
3840
- const oo = [
3840
+ const ao = [
3841
3841
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
3842
3842
  ["path", { d: "M3 9h18", key: "1pudct" }],
3843
3843
  ["path", { d: "M3 15h18", key: "5xshup" }],
3844
3844
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
3845
3845
  ["path", { d: "M15 3v18", key: "14nvp0" }]
3846
- ], ao = G("grid-3x3", oo);
3846
+ ], no = G("grid-3x3", ao);
3847
3847
  /**
3848
3848
  * @license lucide-react v0.547.0 - ISC
3849
3849
  *
3850
3850
  * This source code is licensed under the ISC license.
3851
3851
  * See the LICENSE file in the root directory of this source tree.
3852
3852
  */
3853
- const no = [
3853
+ const so = [
3854
3854
  [
3855
3855
  "path",
3856
3856
  {
@@ -3858,7 +3858,7 @@ const no = [
3858
3858
  key: "mvr1a0"
3859
3859
  }
3860
3860
  ]
3861
- ], so = G("heart", no);
3861
+ ], io = G("heart", so);
3862
3862
  /**
3863
3863
  * @license lucide-react v0.547.0 - ISC
3864
3864
  *
@@ -3874,14 +3874,14 @@ const lo = [
3874
3874
  key: "r6nss1"
3875
3875
  }
3876
3876
  ]
3877
- ], io = G("house", lo);
3877
+ ], co = G("house", lo);
3878
3878
  /**
3879
3879
  * @license lucide-react v0.547.0 - ISC
3880
3880
  *
3881
3881
  * This source code is licensed under the ISC license.
3882
3882
  * See the LICENSE file in the root directory of this source tree.
3883
3883
  */
3884
- const co = [
3884
+ const mo = [
3885
3885
  [
3886
3886
  "path",
3887
3887
  {
@@ -3890,30 +3890,30 @@ const co = [
3890
3890
  }
3891
3891
  ],
3892
3892
  ["circle", { cx: "12", cy: "10", r: "3", key: "ilqhr7" }]
3893
- ], mo = G("map-pin", co);
3893
+ ], uo = G("map-pin", mo);
3894
3894
  /**
3895
3895
  * @license lucide-react v0.547.0 - ISC
3896
3896
  *
3897
3897
  * This source code is licensed under the ISC license.
3898
3898
  * See the LICENSE file in the root directory of this source tree.
3899
3899
  */
3900
- const uo = [
3900
+ const po = [
3901
3901
  ["path", { d: "M8 3H5a2 2 0 0 0-2 2v3", key: "1dcmit" }],
3902
3902
  ["path", { d: "M21 8V5a2 2 0 0 0-2-2h-3", key: "1e4gt3" }],
3903
3903
  ["path", { d: "M3 16v3a2 2 0 0 0 2 2h3", key: "wsl5sc" }],
3904
3904
  ["path", { d: "M16 21h3a2 2 0 0 0 2-2v-3", key: "18trek" }]
3905
- ], po = G("maximize", uo);
3905
+ ], fo = G("maximize", po);
3906
3906
  /**
3907
3907
  * @license lucide-react v0.547.0 - ISC
3908
3908
  *
3909
3909
  * This source code is licensed under the ISC license.
3910
3910
  * See the LICENSE file in the root directory of this source tree.
3911
3911
  */
3912
- const fo = [
3912
+ const ho = [
3913
3913
  ["path", { d: "M4 5h16", key: "1tepv9" }],
3914
3914
  ["path", { d: "M4 12h16", key: "1lakjw" }],
3915
3915
  ["path", { d: "M4 19h16", key: "1djgab" }]
3916
- ], ho = G("menu", fo);
3916
+ ], Ye = G("menu", ho);
3917
3917
  /**
3918
3918
  * @license lucide-react v0.547.0 - ISC
3919
3919
  *
@@ -3923,7 +3923,7 @@ const fo = [
3923
3923
  const go = [
3924
3924
  ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
3925
3925
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
3926
- ], je = G("search", go);
3926
+ ], Re = G("search", go);
3927
3927
  /**
3928
3928
  * @license lucide-react v0.547.0 - ISC
3929
3929
  *
@@ -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
+ ], et = G("x", yo), Ve = v.forwardRef(
3947
3947
  ({
3948
3948
  className: e,
3949
3949
  containerClassName: t,
@@ -3951,22 +3951,22 @@ const yo = [
3951
3951
  variant: a,
3952
3952
  selectSize: n,
3953
3953
  label: s,
3954
- helperText: l,
3955
- error: i,
3954
+ helperText: i,
3955
+ error: l,
3956
3956
  required: c,
3957
3957
  options: m,
3958
3958
  placeholder: u,
3959
3959
  id: d,
3960
3960
  ...h
3961
3961
  }, M) => {
3962
- const y = v.useId(), C = d || y, g = `${C}-helper`, w = `${C}-error`, z = i ? "error" : a, S = i || l;
3962
+ const y = v.useId(), N = d || y, g = `${N}-helper`, w = `${N}-error`, T = l ? "error" : a, E = 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
- htmlFor: C,
3967
+ htmlFor: N,
3968
3968
  className: f(
3969
- Br({ variant: z, required: c }),
3969
+ Hr({ variant: T, required: c }),
3970
3970
  o
3971
3971
  ),
3972
3972
  children: s
@@ -3976,40 +3976,40 @@ const yo = [
3976
3976
  /* @__PURE__ */ p(
3977
3977
  "select",
3978
3978
  {
3979
- id: C,
3979
+ id: N,
3980
3980
  ref: M,
3981
3981
  className: f(
3982
- Dr({ variant: z, selectSize: n }),
3982
+ Br({ variant: T, selectSize: n }),
3983
3983
  "pr-10",
3984
3984
  // Space for chevron icon
3985
3985
  e
3986
3986
  ),
3987
- "aria-invalid": i ? "true" : "false",
3988
- "aria-describedby": S ? i ? w : g : void 0,
3987
+ "aria-invalid": l ? "true" : "false",
3988
+ "aria-describedby": E ? l ? w : g : 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((S) => /* @__PURE__ */ r(
3993
3993
  "option",
3994
3994
  {
3995
- value: P.value,
3996
- disabled: P.disabled,
3997
- children: P.label
3995
+ value: S.value,
3996
+ disabled: S.disabled,
3997
+ children: S.label
3998
3998
  },
3999
- P.value
3999
+ S.value
4000
4000
  ))
4001
4001
  ]
4002
4002
  }
4003
4003
  ),
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" }) })
4004
+ /* @__PURE__ */ r("div", { className: "pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ r(oo, { className: "h-4 w-4" }) })
4005
4005
  ] }),
4006
- S && /* @__PURE__ */ r(
4006
+ E && /* @__PURE__ */ r(
4007
4007
  "p",
4008
4008
  {
4009
- id: i ? w : g,
4010
- className: Hr({ variant: z }),
4011
- role: i ? "alert" : void 0,
4012
- children: S
4009
+ id: l ? w : g,
4010
+ className: Gr({ variant: T }),
4011
+ role: l ? "alert" : void 0,
4012
+ children: E
4013
4013
  }
4014
4014
  )
4015
4015
  ] });
@@ -4034,13 +4034,13 @@ const vo = (e) => {
4034
4034
  footer: a,
4035
4035
  padding: n = "md"
4036
4036
  }) => {
4037
- const s = f("min-h-screen flex flex-col"), l = f("bg-card border-b border-border z-10"), i = f("flex flex-1"), c = f("w-70 bg-card border-r border-border p-6"), m = f("flex-1 flex flex-col"), u = f(
4037
+ const s = f("min-h-screen flex flex-col"), i = f("bg-card border-b border-border z-10"), l = f("flex flex-1"), c = f("w-70 bg-card border-r border-border p-6"), m = f("flex-1 flex flex-col"), u = f(
4038
4038
  "flex-1 mx-auto w-full max-w-7xl",
4039
4039
  vo(n)
4040
4040
  );
4041
4041
  return /* @__PURE__ */ p("div", { className: s, children: [
4042
- t && /* @__PURE__ */ r("header", { className: l, children: t }),
4043
- /* @__PURE__ */ p("div", { className: i, children: [
4042
+ t && /* @__PURE__ */ r("header", { className: i, children: t }),
4043
+ /* @__PURE__ */ p("div", { className: l, children: [
4044
4044
  o && /* @__PURE__ */ r("aside", { className: c, children: o }),
4045
4045
  /* @__PURE__ */ r("div", { className: m, children: /* @__PURE__ */ r("main", { className: u, children: e }) })
4046
4046
  ] }),
@@ -4048,11 +4048,11 @@ const vo = (e) => {
4048
4048
  ] });
4049
4049
  }, ra = ({ children: e, header: t, sidebar: o }) => /* @__PURE__ */ r(Fe, { header: t, sidebar: o, padding: "lg", children: /* @__PURE__ */ r("div", { className: "max-w-screen-2xl", children: e }) }), oa = ({ children: e, title: t, subtitle: o }) => /* @__PURE__ */ r(Fe, { padding: "lg", children: /* @__PURE__ */ p("div", { className: "max-w-md mx-auto", children: [
4050
4050
  /* @__PURE__ */ p("div", { className: "text-center mb-8", children: [
4051
- t && /* @__PURE__ */ r(R, { variant: "h2", className: "mb-2", children: t }),
4052
- o && /* @__PURE__ */ r(R, { variant: "body", color: "muted", children: o })
4051
+ t && /* @__PURE__ */ r(j, { variant: "h2", className: "mb-2", children: t }),
4052
+ o && /* @__PURE__ */ r(j, { 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 }), xt = v.forwardRef(({ message: e = "No entities found", icon: t, action: o, className: a }, n) => /* @__PURE__ */ p(
4056
4056
  "div",
4057
4057
  {
4058
4058
  ref: n,
@@ -4064,13 +4064,13 @@ const vo = (e) => {
4064
4064
  ),
4065
4065
  children: [
4066
4066
  t && /* @__PURE__ */ r("div", { className: "mb-4 text-4xl opacity-50", "aria-hidden": "true", children: t }),
4067
- /* @__PURE__ */ r(R, { variant: "body-lg", className: "text-muted-foreground mb-4", children: e }),
4067
+ /* @__PURE__ */ r(j, { variant: "body-lg", className: "text-muted-foreground mb-4", children: e }),
4068
4068
  o && /* @__PURE__ */ r(K, { variant: "outline", onClick: o.onClick, children: o.label })
4069
4069
  ]
4070
4070
  }
4071
4071
  ));
4072
- bt.displayName = "EntityDirectoryEmptyState";
4073
- const xt = v.forwardRef(({ error: e, onRetry: t, className: o }, a) => {
4072
+ xt.displayName = "EntityDirectoryEmptyState";
4073
+ const yt = v.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",
@@ -4084,20 +4084,20 @@ const xt = v.forwardRef(({ error: e, onRetry: t, className: o }, a) => {
4084
4084
  ),
4085
4085
  children: [
4086
4086
  /* @__PURE__ */ r("div", { className: "mb-4 text-4xl", "aria-hidden": "true", children: "⚠️" }),
4087
- /* @__PURE__ */ r(R, { variant: "body-lg", className: "text-destructive mb-2 font-semibold", children: "Error" }),
4088
- /* @__PURE__ */ r(R, { variant: "body", className: "text-muted-foreground mb-4", children: n }),
4087
+ /* @__PURE__ */ r(j, { variant: "body-lg", className: "text-destructive mb-2 font-semibold", children: "Error" }),
4088
+ /* @__PURE__ */ r(j, { variant: "body", className: "text-muted-foreground mb-4", children: n }),
4089
4089
  t && /* @__PURE__ */ r(K, { variant: "outline", onClick: t, children: "Try Again" })
4090
4090
  ]
4091
4091
  }
4092
4092
  );
4093
4093
  });
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: [
4096
- /* @__PURE__ */ r(R, { variant: "h2", className: "font-bold", children: e }),
4097
- t && /* @__PURE__ */ r(R, { variant: "body", className: "text-muted-foreground", children: t })
4094
+ yt.displayName = "EntityDirectoryErrorState";
4095
+ const vt = v.forwardRef(({ title: e, description: t, className: o }, a) => /* @__PURE__ */ p("div", { ref: a, className: f("space-y-1.5", o), children: [
4096
+ /* @__PURE__ */ r(j, { variant: "h2", className: "font-bold", children: e }),
4097
+ t && /* @__PURE__ */ r(j, { variant: "body", className: "text-muted-foreground", children: t })
4098
4098
  ] }));
4099
- yt.displayName = "EntityDirectoryHeader";
4100
- const vt = v.forwardRef(
4099
+ vt.displayName = "EntityDirectoryHeader";
4100
+ const wt = v.forwardRef(
4101
4101
  ({
4102
4102
  entity: e,
4103
4103
  categories: t,
@@ -4105,8 +4105,8 @@ const vt = v.forwardRef(
4105
4105
  showCategoryBadge: a = !0,
4106
4106
  showMetric: n = !0,
4107
4107
  compact: s = !1,
4108
- className: l
4109
- }, i) => {
4108
+ className: i
4109
+ }, l) => {
4110
4110
  const c = t?.find((h) => h.id === e.categoryId), m = !!e.onClick, u = () => {
4111
4111
  e.onClick && !e.disabled && e.onClick();
4112
4112
  }, d = (h) => {
@@ -4115,7 +4115,7 @@ const vt = v.forwardRef(
4115
4115
  return /* @__PURE__ */ p(
4116
4116
  "div",
4117
4117
  {
4118
- ref: i,
4118
+ ref: l,
4119
4119
  role: m ? "button" : "listitem",
4120
4120
  tabIndex: m && !e.disabled ? 0 : void 0,
4121
4121
  onClick: u,
@@ -4126,7 +4126,7 @@ const vt = v.forwardRef(
4126
4126
  s ? "p-3" : "p-4",
4127
4127
  m && !e.disabled && "cursor-pointer hover:bg-accent/50 focus-visible:bg-accent/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
4128
4128
  e.disabled && "opacity-50 cursor-not-allowed",
4129
- l
4129
+ i
4130
4130
  ),
4131
4131
  children: [
4132
4132
  o && /* @__PURE__ */ r(
@@ -4142,7 +4142,7 @@ const vt = v.forwardRef(
4142
4142
  ),
4143
4143
  /* @__PURE__ */ p("div", { className: "flex-1 min-w-0", children: [
4144
4144
  /* @__PURE__ */ r(
4145
- R,
4145
+ j,
4146
4146
  {
4147
4147
  variant: s ? "body-sm" : "body",
4148
4148
  className: "font-semibold truncate",
@@ -4150,7 +4150,7 @@ const vt = v.forwardRef(
4150
4150
  }
4151
4151
  ),
4152
4152
  e.subtitle && /* @__PURE__ */ r(
4153
- R,
4153
+ j,
4154
4154
  {
4155
4155
  variant: s ? "caption" : "body-sm",
4156
4156
  className: "text-muted-foreground truncate",
@@ -4170,23 +4170,23 @@ const vt = v.forwardRef(
4170
4170
  ),
4171
4171
  n && e.metricValue && /* @__PURE__ */ p("div", { className: "flex-shrink-0 text-right min-w-[4rem]", children: [
4172
4172
  /* @__PURE__ */ r(
4173
- R,
4173
+ j,
4174
4174
  {
4175
4175
  variant: s ? "body-sm" : "body",
4176
4176
  className: "font-medium",
4177
4177
  children: e.metricValue
4178
4178
  }
4179
4179
  ),
4180
- e.metricLabel && /* @__PURE__ */ r(R, { variant: "caption", className: "text-muted-foreground", children: e.metricLabel })
4180
+ e.metricLabel && /* @__PURE__ */ r(j, { variant: "caption", className: "text-muted-foreground", children: e.metricLabel })
4181
4181
  ] })
4182
4182
  ]
4183
4183
  }
4184
4184
  );
4185
4185
  }
4186
4186
  );
4187
- vt.displayName = "EntityDirectoryListItem";
4188
- const wt = v.forwardRef(({ columns: e, showIcon: t, sort: o, onSortChange: a, compact: n, className: s }, l) => {
4189
- const i = (d) => {
4187
+ wt.displayName = "EntityDirectoryListItem";
4188
+ const kt = v.forwardRef(({ columns: e, showIcon: t, sort: o, onSortChange: a, compact: n, className: s }, i) => {
4189
+ const l = (d) => {
4190
4190
  if (!a) return;
4191
4191
  const h = o?.column === d && o?.direction === "asc" ? "desc" : "asc";
4192
4192
  a({
@@ -4194,9 +4194,9 @@ const wt = v.forwardRef(({ columns: e, showIcon: t, sort: o, onSortChange: a, co
4194
4194
  direction: h
4195
4195
  });
4196
4196
  }, c = (d) => {
4197
- i(d);
4197
+ l(d);
4198
4198
  }, m = (d, h) => {
4199
- (d.key === "Enter" || d.key === " ") && (d.preventDefault(), i(h));
4199
+ (d.key === "Enter" || d.key === " ") && (d.preventDefault(), l(h));
4200
4200
  }, u = (d) => d !== "title" && d !== "metric" ? null : !o || o.column !== d ? /* @__PURE__ */ r(
4201
4201
  "span",
4202
4202
  {
@@ -4208,7 +4208,7 @@ const wt = v.forwardRef(({ columns: e, showIcon: t, sort: o, onSortChange: a, co
4208
4208
  return /* @__PURE__ */ p(
4209
4209
  "div",
4210
4210
  {
4211
- ref: l,
4211
+ ref: i,
4212
4212
  role: "row",
4213
4213
  className: f(
4214
4214
  "flex items-center gap-4 bg-background border-b border-border font-medium text-sm text-muted-foreground",
@@ -4249,8 +4249,8 @@ const wt = v.forwardRef(({ columns: e, showIcon: t, sort: o, onSortChange: a, co
4249
4249
  }
4250
4250
  );
4251
4251
  });
4252
- wt.displayName = "EntityDirectoryTableHeader";
4253
- const kt = v.forwardRef(
4252
+ kt.displayName = "EntityDirectoryTableHeader";
4253
+ const Nt = v.forwardRef(
4254
4254
  ({
4255
4255
  entities: e,
4256
4256
  categories: t,
@@ -4258,8 +4258,8 @@ const kt = v.forwardRef(
4258
4258
  showCategoryBadges: a = !0,
4259
4259
  showMetric: n = !0,
4260
4260
  metricLabel: s,
4261
- sortable: l = !1,
4262
- sort: i,
4261
+ sortable: i = !1,
4262
+ sort: l,
4263
4263
  onSortChange: c,
4264
4264
  compact: m = !1,
4265
4265
  renderItem: u,
@@ -4269,14 +4269,14 @@ const kt = v.forwardRef(
4269
4269
  {
4270
4270
  key: "title",
4271
4271
  label: s ? "Nombre" : "Name",
4272
- sortable: l
4272
+ sortable: i
4273
4273
  },
4274
4274
  ...a ? [{ key: "category", label: "Categoría", sortable: !1 }] : [],
4275
4275
  ...n && s ? [
4276
4276
  {
4277
4277
  key: "metric",
4278
4278
  label: s,
4279
- sortable: l,
4279
+ sortable: i,
4280
4280
  align: "right"
4281
4281
  }
4282
4282
  ] : []
@@ -4293,18 +4293,18 @@ const kt = v.forwardRef(
4293
4293
  ),
4294
4294
  children: [
4295
4295
  /* @__PURE__ */ r(
4296
- wt,
4296
+ kt,
4297
4297
  {
4298
4298
  columns: M,
4299
4299
  showIcon: o,
4300
- sort: i,
4300
+ sort: l,
4301
4301
  onSortChange: c,
4302
4302
  compact: m
4303
4303
  }
4304
4304
  ),
4305
4305
  /* @__PURE__ */ r("div", { role: "rowgroup", children: e.map(
4306
4306
  (y) => u ? /* @__PURE__ */ r(v.Fragment, { children: u(y) }, y.id) : /* @__PURE__ */ r(
4307
- vt,
4307
+ wt,
4308
4308
  {
4309
4309
  entity: y,
4310
4310
  categories: t,
@@ -4321,8 +4321,8 @@ const kt = v.forwardRef(
4321
4321
  );
4322
4322
  }
4323
4323
  );
4324
- kt.displayName = "EntityDirectoryList";
4325
- const Nt = v.forwardRef(({ rows: e = 5, className: t }, o) => /* @__PURE__ */ p(
4324
+ Nt.displayName = "EntityDirectoryList";
4325
+ const Ct = v.forwardRef(({ rows: e = 5, className: t }, o) => /* @__PURE__ */ p(
4326
4326
  "div",
4327
4327
  {
4328
4328
  ref: o,
@@ -4351,8 +4351,8 @@ const Nt = v.forwardRef(({ rows: e = 5, className: t }, o) => /* @__PURE__ */ p(
4351
4351
  ]
4352
4352
  }
4353
4353
  ));
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: [
4354
+ Ct.displayName = "EntityDirectoryLoadingState";
4355
+ const Mt = v.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
  {
@@ -4418,7 +4418,7 @@ const Ct = v.forwardRef(({ value: e, onChange: t, placeholder: o = "Search entit
4418
4418
  }
4419
4419
  )
4420
4420
  ] }));
4421
- Ct.displayName = "EntityDirectorySearchFilter";
4421
+ Mt.displayName = "EntityDirectorySearchFilter";
4422
4422
  const wo = v.forwardRef(
4423
4423
  ({
4424
4424
  entities: e,
@@ -4427,8 +4427,8 @@ const wo = v.forwardRef(
4427
4427
  description: a,
4428
4428
  activeCategory: n,
4429
4429
  onCategoryChange: s,
4430
- showCategoryCount: l,
4431
- getCategoryCount: i,
4430
+ showCategoryCount: i,
4431
+ getCategoryCount: l,
4432
4432
  enableSearch: c = !1,
4433
4433
  searchQuery: m = "",
4434
4434
  onSearchChange: u,
@@ -4436,15 +4436,15 @@ const wo = v.forwardRef(
4436
4436
  sortable: h = !1,
4437
4437
  sort: M,
4438
4438
  onSortChange: y,
4439
- showIcons: C = !0,
4439
+ showIcons: N = !0,
4440
4440
  showCategoryBadges: g = !0,
4441
4441
  showMetric: w = !0,
4442
- metricLabel: z,
4443
- compact: S = !1,
4444
- loading: P = !1,
4445
- error: I,
4442
+ metricLabel: T,
4443
+ compact: E = !1,
4444
+ loading: S = !1,
4445
+ error: z,
4446
4446
  emptyMessage: V,
4447
- onRetry: E,
4447
+ onRetry: I,
4448
4448
  emptyState: k,
4449
4449
  errorState: L,
4450
4450
  loadingState: q,
@@ -4452,43 +4452,43 @@ const wo = v.forwardRef(
4452
4452
  className: X,
4453
4453
  style: oe
4454
4454
  }, Q) => {
4455
- const B = t && t.length > 0, D = !P && !I && e.length === 0, W = !P && !!I;
4455
+ const B = t && t.length > 0, D = !S && !z && e.length === 0, W = !S && !!z;
4456
4456
  return /* @__PURE__ */ p("div", { ref: Q, className: f("space-y-6", X), style: oe, children: [
4457
- /* @__PURE__ */ r(yt, { title: o, description: a }),
4457
+ /* @__PURE__ */ r(vt, { title: o, description: a }),
4458
4458
  B && s && /* @__PURE__ */ r(
4459
- ht,
4459
+ gt,
4460
4460
  {
4461
4461
  categories: t,
4462
4462
  activeCategory: n,
4463
4463
  onCategoryChange: s,
4464
- showCount: l,
4465
- getCategoryCount: i
4464
+ showCount: i,
4465
+ getCategoryCount: l
4466
4466
  }
4467
4467
  ),
4468
4468
  c && u && /* @__PURE__ */ r(
4469
- Ct,
4469
+ Mt,
4470
4470
  {
4471
4471
  value: m,
4472
4472
  onChange: u,
4473
4473
  placeholder: d
4474
4474
  }
4475
4475
  ),
4476
- P && (q || /* @__PURE__ */ r(Nt, {})),
4477
- W && (L || /* @__PURE__ */ r(xt, { error: I, onRetry: E })),
4478
- D && (k || /* @__PURE__ */ r(bt, { message: V })),
4479
- !P && !W && !D && /* @__PURE__ */ r(
4480
- kt,
4476
+ S && (q || /* @__PURE__ */ r(Ct, {})),
4477
+ W && (L || /* @__PURE__ */ r(yt, { error: z, onRetry: I })),
4478
+ D && (k || /* @__PURE__ */ r(xt, { message: V })),
4479
+ !S && !W && !D && /* @__PURE__ */ r(
4480
+ Nt,
4481
4481
  {
4482
4482
  entities: e,
4483
4483
  categories: t,
4484
- showIcons: C,
4484
+ showIcons: N,
4485
4485
  showCategoryBadges: g,
4486
4486
  showMetric: w,
4487
- metricLabel: z,
4487
+ metricLabel: T,
4488
4488
  sortable: h,
4489
4489
  sort: M,
4490
4490
  onSortChange: y,
4491
- compact: S,
4491
+ compact: E,
4492
4492
  renderItem: re
4493
4493
  }
4494
4494
  )
@@ -4513,21 +4513,21 @@ const No = we(
4513
4513
  loginButtonText: a,
4514
4514
  showMobileMenu: n,
4515
4515
  className: s,
4516
- logoClassName: l,
4517
- navigationClassName: i,
4516
+ logoClassName: i,
4517
+ navigationClassName: l,
4518
4518
  navigationItemClassName: c,
4519
4519
  loginButtonClassName: m,
4520
4520
  mobileMenuButtonClassName: u,
4521
4521
  id: d,
4522
4522
  "aria-label": h
4523
4523
  }, M) => {
4524
- const [y, C] = ee(!1), g = ko({
4524
+ const [y, N] = ee(!1), g = ko({
4525
4525
  variant: e,
4526
4526
  logo: t,
4527
4527
  navigationItems: o,
4528
4528
  loginButtonText: a,
4529
4529
  showMobileMenu: n
4530
- }), w = g.variant === "modern", z = g.variant === "luxury";
4530
+ }), w = g.variant === "modern", T = g.variant === "luxury", E = T && g.showMobileMenu;
4531
4531
  return /* @__PURE__ */ p(se, { children: [
4532
4532
  /* @__PURE__ */ p(
4533
4533
  "header",
@@ -4538,8 +4538,8 @@ const No = we(
4538
4538
  "aria-label": h || "Site header",
4539
4539
  className: f(
4540
4540
  "flex items-center justify-between relative w-full",
4541
- // Luxury: Minimal padding, Modern/Minimal: Standard compact padding
4542
- z ? "px-6 py-4" : "px-6 py-1",
4541
+ // Luxury: wide horizontal rhythm from Figma, Modern/Minimal: compact padding
4542
+ T ? "px-16 py-2" : "px-6 py-1",
4543
4543
  s
4544
4544
  ),
4545
4545
  children: [
@@ -4547,12 +4547,12 @@ const No = we(
4547
4547
  "p",
4548
4548
  {
4549
4549
  className: f(
4550
- "font-black tracking-wider leading-normal",
4551
- // Luxury: Smaller, uppercase, Modern/Minimal: Larger
4552
- z ? "text-sm uppercase" : "text-xl",
4550
+ "leading-normal",
4551
+ // 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",
4553
4553
  // Variant-default text color (can be overridden)
4554
4554
  w ? "text-zinc-900" : "text-white",
4555
- l
4555
+ i
4556
4556
  ),
4557
4557
  children: g.logo
4558
4558
  }
@@ -4562,92 +4562,100 @@ const No = we(
4562
4562
  {
4563
4563
  className: f(
4564
4564
  "hidden md:flex items-center",
4565
- // Luxury: Simple spacing, Modern: transparent row, Minimal: pill navigation
4566
- z ? "gap-8" : 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",
4567
- i
4565
+ // 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",
4567
+ l
4568
4568
  ),
4569
4569
  "aria-label": "Main navigation",
4570
- children: z ? (
4571
- // Luxury: Simple text links without dividers
4572
- g.navigationItems.map((S) => /* @__PURE__ */ r(
4570
+ children: g.navigationItems.map((S, z) => /* @__PURE__ */ p("div", { className: "flex items-center gap-4", children: [
4571
+ z > 0 && /* @__PURE__ */ r(
4572
+ "div",
4573
+ {
4574
+ className: "flex items-center justify-center h-6 w-0",
4575
+ "aria-hidden": "true",
4576
+ children: /* @__PURE__ */ r("div", { className: "h-0 w-6 rotate-90", children: /* @__PURE__ */ r(
4577
+ "div",
4578
+ {
4579
+ className: f(
4580
+ "h-px w-full",
4581
+ T ? "bg-white" : "bg-gray-200"
4582
+ )
4583
+ }
4584
+ ) })
4585
+ }
4586
+ ),
4587
+ /* @__PURE__ */ r(
4573
4588
  "a",
4574
4589
  {
4575
4590
  href: S.href,
4576
4591
  className: f(
4577
- "text-sm font-medium uppercase tracking-wide leading-5 transition-colors",
4578
- // Default white text (can be overridden)
4579
- "text-white hover:text-white/80",
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",
4580
4593
  c
4581
4594
  ),
4582
4595
  children: S.label
4583
- },
4584
- S.id
4585
- ))
4586
- ) : (
4587
- // Minimal and Modern: text links with dividers
4588
- g.navigationItems.map((S, P) => /* @__PURE__ */ p("div", { className: "flex items-center gap-4", children: [
4589
- P > 0 && /* @__PURE__ */ r(
4590
- "div",
4591
- {
4592
- className: "flex items-center justify-center h-6 w-0",
4593
- "aria-hidden": "true",
4594
- children: /* @__PURE__ */ r("div", { className: "h-0 w-6 rotate-90", children: /* @__PURE__ */ r("div", { className: "h-px w-full bg-gray-200" }) })
4595
- }
4596
- ),
4597
- /* @__PURE__ */ r(
4598
- "a",
4599
- {
4600
- href: S.href,
4601
- className: f(
4602
- "text-gray-900 text-sm font-medium leading-5 hover:text-black transition-colors",
4603
- c
4604
- ),
4605
- children: S.label
4606
- }
4607
- )
4608
- ] }, S.id))
4609
- )
4596
+ }
4597
+ )
4598
+ ] }, S.id))
4610
4599
  }
4611
4600
  ),
4612
- /* @__PURE__ */ p(
4613
- "div",
4614
- {
4615
- className: f(
4616
- "flex items-center shrink-0",
4617
- z ? "gap-3" : "gap-6 p-4"
4618
- ),
4619
- children: [
4620
- /* @__PURE__ */ r(
4621
- "button",
4601
+ /* @__PURE__ */ p("div", { className: f("flex items-center shrink-0", "gap-6 p-4"), children: [
4602
+ /* @__PURE__ */ r(
4603
+ "button",
4604
+ {
4605
+ type: "button",
4606
+ className: f(
4607
+ "hidden md:flex items-center justify-center px-4 py-2 text-sm font-medium leading-5 transition-colors",
4608
+ // 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",
4610
+ m
4611
+ ),
4612
+ children: g.loginButtonText
4613
+ }
4614
+ ),
4615
+ E && /* @__PURE__ */ r(
4616
+ "button",
4617
+ {
4618
+ type: "button",
4619
+ "aria-label": "Open navigation panel",
4620
+ className: f(
4621
+ "hidden md:flex items-center justify-center border border-zinc-200 bg-white px-3 py-2 text-zinc-900 transition-colors hover:bg-zinc-100",
4622
+ u
4623
+ ),
4624
+ children: /* @__PURE__ */ r(Ye, { className: "h-[15px] w-[15px]" })
4625
+ }
4626
+ ),
4627
+ g.showMobileMenu && /* @__PURE__ */ r(
4628
+ "button",
4629
+ {
4630
+ type: "button",
4631
+ onClick: () => N(!y),
4632
+ "aria-label": y ? "Close menu" : "Open menu",
4633
+ "aria-expanded": y,
4634
+ className: f(
4635
+ "flex md:hidden items-center justify-center px-3 py-2 bg-white transition-colors",
4636
+ T ? "h-10 w-10 rounded-md border border-zinc-200 hover:bg-zinc-100" : w ? "rounded-xl border border-zinc-200 hover:bg-gray-50" : "rounded-full hover:bg-gray-50",
4637
+ u
4638
+ ),
4639
+ children: y ? /* @__PURE__ */ r(
4640
+ et,
4622
4641
  {
4623
- type: "button",
4624
4642
  className: f(
4625
- "hidden md:flex items-center justify-center px-4 py-2 text-sm font-medium leading-5 transition-colors",
4626
- // Luxury: simple white button, Modern: dark rectangular CTA, Minimal: white pill
4627
- z ? "h-10 bg-white text-zinc-900 rounded hover:bg-gray-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",
4628
- m
4629
- ),
4630
- children: g.loginButtonText
4643
+ "text-gray-900",
4644
+ T ? "h-[15px] w-[15px]" : "h-4 w-4"
4645
+ )
4631
4646
  }
4632
- ),
4633
- g.showMobileMenu && /* @__PURE__ */ r(
4634
- "button",
4647
+ ) : /* @__PURE__ */ r(
4648
+ Ye,
4635
4649
  {
4636
- type: "button",
4637
- onClick: () => C(!y),
4638
- "aria-label": y ? "Close menu" : "Open menu",
4639
- "aria-expanded": y,
4640
4650
  className: f(
4641
- "flex md:hidden items-center justify-center px-3 py-2 bg-white transition-colors",
4642
- z ? "h-10 w-10 rounded hover:bg-gray-100" : w ? "rounded-xl border border-zinc-200 hover:bg-gray-50" : "rounded-full hover:bg-gray-50",
4643
- u
4644
- ),
4645
- children: y ? /* @__PURE__ */ r(Ye, { className: "h-4 w-4 text-gray-900" }) : /* @__PURE__ */ r(ho, { className: "h-4 w-4 text-gray-900" })
4651
+ "text-gray-900",
4652
+ T ? "h-[15px] w-[15px]" : "h-4 w-4"
4653
+ )
4646
4654
  }
4647
4655
  )
4648
- ]
4649
- }
4650
- )
4656
+ }
4657
+ )
4658
+ ] })
4651
4659
  ]
4652
4660
  }
4653
4661
  ),
@@ -4663,7 +4671,7 @@ const No = we(
4663
4671
  "div",
4664
4672
  {
4665
4673
  className: "fixed inset-0 bg-black/50",
4666
- onClick: () => C(!1),
4674
+ onClick: () => N(!1),
4667
4675
  "aria-hidden": "true"
4668
4676
  }
4669
4677
  ),
@@ -4672,10 +4680,10 @@ const No = we(
4672
4680
  "button",
4673
4681
  {
4674
4682
  type: "button",
4675
- onClick: () => C(!1),
4683
+ onClick: () => N(!1),
4676
4684
  "aria-label": "Close menu",
4677
4685
  className: "flex h-10 w-10 items-center justify-center rounded-full bg-zinc-100 text-zinc-900 hover:bg-zinc-200",
4678
- children: /* @__PURE__ */ r(Ye, { className: "h-5 w-5" })
4686
+ children: /* @__PURE__ */ r(et, { className: "h-5 w-5" })
4679
4687
  }
4680
4688
  ) }),
4681
4689
  /* @__PURE__ */ r("nav", { className: "flex-1 overflow-y-auto px-6 py-4", children: /* @__PURE__ */ p("div", { className: "flex flex-col gap-4", children: [
@@ -4684,7 +4692,7 @@ const No = we(
4684
4692
  {
4685
4693
  href: S.href,
4686
4694
  className: "block text-base font-medium text-zinc-900 hover:text-zinc-600 transition-colors py-2",
4687
- onClick: () => C(!1),
4695
+ onClick: () => N(!1),
4688
4696
  children: S.label
4689
4697
  },
4690
4698
  S.id
@@ -4709,7 +4717,7 @@ No.displayName = "Header";
4709
4717
  const Co = (e) => ({
4710
4718
  content: e.content,
4711
4719
  theme: e.theme || {},
4712
- template: e.template || "modern",
4720
+ variant: e.variant || "modern",
4713
4721
  layout: e.layout || "centered"
4714
4722
  }), Mo = {
4715
4723
  center: "object-center",
@@ -4725,21 +4733,21 @@ const Co = (e) => ({
4725
4733
  ({
4726
4734
  content: e,
4727
4735
  theme: t,
4728
- template: o = "modern",
4736
+ variant: o = "modern",
4729
4737
  layout: a = "centered",
4730
4738
  searchForm: n,
4731
4739
  logo: s,
4732
- navigation: l,
4733
- className: i,
4740
+ navigation: i,
4741
+ className: l,
4734
4742
  id: c,
4735
4743
  "aria-label": m
4736
4744
  }, u) => {
4737
4745
  const d = Co({
4738
4746
  content: e,
4739
4747
  theme: t,
4740
- template: o,
4748
+ variant: o,
4741
4749
  layout: a
4742
- }), h = d.template === "modern" || d.template === "luxury";
4750
+ }), h = d.variant === "modern", M = d.variant === "modern" || d.variant === "luxury";
4743
4751
  return /* @__PURE__ */ r(
4744
4752
  "section",
4745
4753
  {
@@ -4748,16 +4756,16 @@ const Co = (e) => ({
4748
4756
  "aria-label": m || "Hero banner",
4749
4757
  className: f(
4750
4758
  "relative",
4751
- // Modern/Luxury: Contained with horizontal padding
4759
+ // Modern: contained hero wrapper. Minimal/Luxury: full-bleed
4752
4760
  h && "px-4 lg:px-8",
4753
- i
4761
+ l
4754
4762
  ),
4755
4763
  children: /* @__PURE__ */ p(
4756
4764
  "div",
4757
4765
  {
4758
4766
  className: f(
4759
4767
  "relative flex min-h-[600px] flex-col",
4760
- // Modern/Luxury: 85vh height with rounded corners
4768
+ // Modern: 85vh card with rounded corners. Minimal/Luxury: full-height, sharp edges
4761
4769
  h ? "lg:min-h-[85vh] rounded-2xl overflow-hidden" : "lg:min-h-screen",
4762
4770
  "bg-gradient-to-br from-zinc-900 to-zinc-800",
4763
4771
  "text-white"
@@ -4779,24 +4787,24 @@ const Co = (e) => ({
4779
4787
  ) }),
4780
4788
  /* @__PURE__ */ r("div", { className: "absolute inset-0 z-[1] bg-gradient-to-b from-black/40 via-black/40 via-[68.25%] to-transparent" })
4781
4789
  ] }),
4782
- l && /* @__PURE__ */ r("div", { className: "relative z-10", children: l }),
4790
+ i && /* @__PURE__ */ r("div", { className: "relative z-10", children: i }),
4783
4791
  /* @__PURE__ */ r("div", { className: "relative z-10 flex flex-col items-center justify-center px-4 py-12 lg:flex-1 lg:py-24", children: /* @__PURE__ */ p("div", { className: "w-full max-w-6xl text-center", children: [
4784
- d.template === "minimal" && s && /* @__PURE__ */ r("div", { className: "mb-8 flex items-center justify-center", children: s }),
4792
+ d.variant === "minimal" && s && /* @__PURE__ */ r("div", { className: "mb-8 flex items-center justify-center", children: s }),
4785
4793
  d.content.title && /* @__PURE__ */ p("div", { className: "mb-16 space-y-8", children: [
4786
4794
  /* @__PURE__ */ r("h1", { className: "text-4xl font-bold tracking-wide text-white sm:text-5xl lg:text-6xl", children: d.content.title }),
4787
4795
  d.content.subtitle && /* @__PURE__ */ r("p", { className: "mt-4 text-xl text-white/90 sm:text-2xl", children: d.content.subtitle })
4788
4796
  ] }),
4789
- d.template === "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((M, y) => /* @__PURE__ */ p("div", { className: "text-center", children: [
4790
- /* @__PURE__ */ r("div", { className: "mb-2 text-3xl font-bold text-white md:text-4xl", children: M.value }),
4791
- /* @__PURE__ */ r("div", { className: "text-sm text-white/80 md:text-base", children: M.label })
4792
- ] }, y)) }) }),
4797
+ 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: [
4798
+ /* @__PURE__ */ r("div", { className: "mb-2 text-3xl font-bold text-white md:text-4xl", children: y.value }),
4799
+ /* @__PURE__ */ r("div", { className: "text-sm text-white/80 md:text-base", children: y.label })
4800
+ ] }, N)) }) }),
4793
4801
  n && /* @__PURE__ */ r("div", { className: "relative z-20 mx-auto w-full max-w-4xl", children: n })
4794
4802
  ] }) }),
4795
- h && 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((M, y) => /* @__PURE__ */ p("div", { className: "flex flex-col", children: [
4796
- /* @__PURE__ */ r("div", { className: "text-xl font-semibold leading-tight md:text-2xl", children: M.value }),
4797
- /* @__PURE__ */ r("div", { className: "text-xs leading-tight text-zinc-600 md:text-sm", children: M.label })
4798
- ] }, y)) }) }),
4799
- d.template === "minimal" && /* @__PURE__ */ r("div", { className: "relative z-10 pb-8", children: /* @__PURE__ */ r("div", { className: "flex justify-center", children: /* @__PURE__ */ r(
4803
+ 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((y, N) => /* @__PURE__ */ p("div", { className: "flex flex-col", children: [
4804
+ /* @__PURE__ */ r("div", { className: "text-xl font-semibold leading-tight md:text-2xl", children: y.value }),
4805
+ /* @__PURE__ */ r("div", { className: "text-xs leading-tight text-zinc-600 md:text-sm", children: y.label })
4806
+ ] }, N)) }) }),
4807
+ d.variant === "minimal" && /* @__PURE__ */ r("div", { className: "relative z-10 pb-8", children: /* @__PURE__ */ r("div", { className: "flex justify-center", children: /* @__PURE__ */ r(
4800
4808
  "div",
4801
4809
  {
4802
4810
  className: "h-1 w-8 rounded-full bg-white/30",
@@ -4811,12 +4819,12 @@ const Co = (e) => ({
4811
4819
  }
4812
4820
  );
4813
4821
  So.displayName = "HeroBanner";
4814
- const Mt = [
4822
+ const St = [
4815
4823
  { value: "15-years", label: "15 años fijos", years: 15 },
4816
4824
  { value: "20-years", label: "20 años fijos", years: 20 },
4817
4825
  { value: "30-years", label: "30 años fijos", years: 30 },
4818
4826
  { value: "40-years", label: "40 años fijos", years: 40 }
4819
- ], To = Mt.map(
4827
+ ], To = St.map(
4820
4828
  (e) => ({
4821
4829
  value: e.value,
4822
4830
  label: e.label
@@ -4841,56 +4849,56 @@ const Mt = [
4841
4849
  initialInterestRate: a = ve.interestRate,
4842
4850
  showPropertyTax: n = !1,
4843
4851
  showHoaFees: s = !1,
4844
- className: l,
4845
- onCalculationChange: i
4852
+ className: i,
4853
+ onCalculationChange: l
4846
4854
  }, c) => {
4847
- const [m, u] = v.useState(e), [d, h] = v.useState(t), [M, y] = v.useState(o), [C, g] = v.useState(a), [w, z] = v.useState(0), [S, P] = v.useState(0), I = v.useMemo(() => {
4848
- const k = Mt.find(
4855
+ const [m, u] = v.useState(e), [d, h] = v.useState(t), [M, y] = v.useState(o), [N, g] = v.useState(a), [w, T] = v.useState(0), [E, S] = v.useState(0), z = v.useMemo(() => {
4856
+ const k = St.find(
4849
4857
  (q) => q.value === M
4850
4858
  )?.years || 30;
4851
- return jt({
4859
+ return At({
4852
4860
  propertyPrice: m,
4853
4861
  downPayment: d,
4854
4862
  loanTerm: k,
4855
- interestRate: C,
4863
+ interestRate: N,
4856
4864
  propertyTax: n ? w : void 0,
4857
- hoaFees: s ? S : void 0
4865
+ hoaFees: s ? E : void 0
4858
4866
  });
4859
4867
  }, [
4860
4868
  m,
4861
4869
  d,
4862
4870
  M,
4863
- C,
4871
+ N,
4864
4872
  w,
4865
- S,
4873
+ E,
4866
4874
  n,
4867
4875
  s
4868
4876
  ]);
4869
4877
  v.useEffect(() => {
4870
- i?.(I);
4871
- }, [I, i]);
4878
+ l?.(z);
4879
+ }, [z, l]);
4872
4880
  const V = v.useMemo(() => {
4873
- const E = [
4881
+ const I = [
4874
4882
  {
4875
4883
  label: "Principal e Intereses",
4876
- value: I.breakdown.principalAndInterest,
4884
+ value: z.breakdown.principalAndInterest,
4877
4885
  color: Te.principalAndInterest
4878
4886
  }
4879
4887
  ];
4880
- return n && I.breakdown.propertyTax > 0 && E.push({
4888
+ return n && z.breakdown.propertyTax > 0 && I.push({
4881
4889
  label: "Impuesto Predial",
4882
- value: I.breakdown.propertyTax,
4890
+ value: z.breakdown.propertyTax,
4883
4891
  color: Te.propertyTax
4884
- }), s && I.breakdown.hoaFees > 0 && E.push({
4892
+ }), s && z.breakdown.hoaFees > 0 && I.push({
4885
4893
  label: "Cuota HOA",
4886
- value: I.breakdown.hoaFees,
4894
+ value: z.breakdown.hoaFees,
4887
4895
  color: Te.hoaFees
4888
- }), E;
4889
- }, [I, n, s]);
4890
- return /* @__PURE__ */ r("div", { ref: c, className: f("w-full", l), children: /* @__PURE__ */ r(pt, { padding: "lg", className: "w-full", children: /* @__PURE__ */ p("div", { className: "space-y-6", children: [
4896
+ }), I;
4897
+ }, [z, n, s]);
4898
+ return /* @__PURE__ */ r("div", { ref: c, className: f("w-full", i), children: /* @__PURE__ */ r(ft, { padding: "lg", className: "w-full", children: /* @__PURE__ */ p("div", { className: "space-y-6", children: [
4891
4899
  /* @__PURE__ */ p("div", { children: [
4892
- /* @__PURE__ */ r(R, { variant: "h2", className: "mb-2", children: "Calculadora de Hipotecas" }),
4893
- /* @__PURE__ */ r(R, { variant: "body", color: "secondary", className: "max-w-2xl", children: "Calcule el pago mensual de su hipoteca, incluyendo capital e intereses, impuestos prediales y cuota de la asociación de propietarios. Ajuste los valores para obtener una tasa más precisa." })
4900
+ /* @__PURE__ */ r(j, { variant: "h2", className: "mb-2", children: "Calculadora de Hipotecas" }),
4901
+ /* @__PURE__ */ r(j, { variant: "body", color: "secondary", className: "max-w-2xl", children: "Calcule el pago mensual de su hipoteca, incluyendo capital e intereses, impuestos prediales y cuota de la asociación de propietarios. Ajuste los valores para obtener una tasa más precisa." })
4894
4902
  ] }),
4895
4903
  /* @__PURE__ */ p("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-8", children: [
4896
4904
  /* @__PURE__ */ p("div", { className: "space-y-4", children: [
@@ -4900,7 +4908,7 @@ const Mt = [
4900
4908
  label: "Precio de la propiedad",
4901
4909
  type: "number",
4902
4910
  value: m,
4903
- onChange: (E) => u(Number(E.target.value)),
4911
+ onChange: (I) => u(Number(I.target.value)),
4904
4912
  suffix: "MXN",
4905
4913
  min: 0,
4906
4914
  step: 1e4
@@ -4912,7 +4920,7 @@ const Mt = [
4912
4920
  label: "Enganche",
4913
4921
  type: "number",
4914
4922
  value: d,
4915
- onChange: (E) => h(Number(E.target.value)),
4923
+ onChange: (I) => h(Number(I.target.value)),
4916
4924
  suffix: "MXN",
4917
4925
  min: 0,
4918
4926
  step: 1e4
@@ -4924,7 +4932,7 @@ const Mt = [
4924
4932
  {
4925
4933
  label: "Programa de préstamos",
4926
4934
  value: M,
4927
- onChange: (E) => y(E.target.value),
4935
+ onChange: (I) => y(I.target.value),
4928
4936
  options: To
4929
4937
  }
4930
4938
  ),
@@ -4933,8 +4941,8 @@ const Mt = [
4933
4941
  {
4934
4942
  label: "Tasa de interés",
4935
4943
  type: "number",
4936
- value: C,
4937
- onChange: (E) => g(Number(E.target.value)),
4944
+ value: N,
4945
+ onChange: (I) => g(Number(I.target.value)),
4938
4946
  suffix: "%",
4939
4947
  min: 0,
4940
4948
  max: 100,
@@ -4948,7 +4956,7 @@ const Mt = [
4948
4956
  label: "Impuesto predial mensual",
4949
4957
  type: "number",
4950
4958
  value: w,
4951
- onChange: (E) => z(Number(E.target.value)),
4959
+ onChange: (I) => T(Number(I.target.value)),
4952
4960
  suffix: "MXN",
4953
4961
  min: 0,
4954
4962
  step: 100
@@ -4959,8 +4967,8 @@ const Mt = [
4959
4967
  {
4960
4968
  label: "Cuota HOA mensual",
4961
4969
  type: "number",
4962
- value: S,
4963
- onChange: (E) => P(Number(E.target.value)),
4970
+ value: E,
4971
+ onChange: (I) => S(Number(I.target.value)),
4964
4972
  suffix: "MXN",
4965
4973
  min: 0,
4966
4974
  step: 100
@@ -4969,14 +4977,14 @@ const Mt = [
4969
4977
  ] }),
4970
4978
  /* @__PURE__ */ p("div", { className: "flex flex-col items-center justify-center", children: [
4971
4979
  /* @__PURE__ */ r(
4972
- ft,
4980
+ ht,
4973
4981
  {
4974
4982
  segments: V,
4975
4983
  size: 320,
4976
4984
  innerRadiusRatio: 0.65,
4977
4985
  centerContent: /* @__PURE__ */ p("div", { className: "text-center", children: [
4978
- /* @__PURE__ */ r(R, { variant: "h1", className: "font-bold mb-1", children: me(I.totalMonthlyPayment) }),
4979
- /* @__PURE__ */ r(R, { variant: "body-sm", color: "secondary", children: "Tu Pago" })
4986
+ /* @__PURE__ */ r(j, { variant: "h1", className: "font-bold mb-1", children: me(z.totalMonthlyPayment) }),
4987
+ /* @__PURE__ */ r(j, { variant: "body-sm", color: "secondary", children: "Tu Pago" })
4980
4988
  ] }),
4981
4989
  showLegend: !0,
4982
4990
  legendPosition: "bottom"
@@ -4987,26 +4995,26 @@ const Mt = [
4987
4995
  /* @__PURE__ */ r(xo, { className: "h-4 w-4" }),
4988
4996
  /* @__PURE__ */ r("span", { className: "font-medium", children: "Trending up by 5.2% this month" })
4989
4997
  ] }),
4990
- /* @__PURE__ */ r(R, { variant: "caption", color: "secondary", children: "Showing total visitors for the last 6 months" })
4998
+ /* @__PURE__ */ r(j, { variant: "caption", color: "secondary", children: "Showing total visitors for the last 6 months" })
4991
4999
  ] })
4992
5000
  ] })
4993
5001
  ] }),
4994
5002
  /* @__PURE__ */ p("div", { className: "grid grid-cols-2 md:grid-cols-4 gap-4 pt-4 border-t", children: [
4995
5003
  /* @__PURE__ */ p("div", { children: [
4996
- /* @__PURE__ */ r(R, { variant: "caption", color: "secondary", className: "mb-1", children: "Monto del préstamo" }),
4997
- /* @__PURE__ */ r(R, { variant: "body", weight: "semibold", children: me(I.loanPrincipal) })
5004
+ /* @__PURE__ */ r(j, { variant: "caption", color: "secondary", className: "mb-1", children: "Monto del préstamo" }),
5005
+ /* @__PURE__ */ r(j, { variant: "body", weight: "semibold", children: me(z.loanPrincipal) })
4998
5006
  ] }),
4999
5007
  /* @__PURE__ */ p("div", { children: [
5000
- /* @__PURE__ */ r(R, { variant: "caption", color: "secondary", className: "mb-1", children: "Pago mensual" }),
5001
- /* @__PURE__ */ r(R, { variant: "body", weight: "semibold", children: me(I.monthlyPayment) })
5008
+ /* @__PURE__ */ r(j, { variant: "caption", color: "secondary", className: "mb-1", children: "Pago mensual" }),
5009
+ /* @__PURE__ */ r(j, { variant: "body", weight: "semibold", children: me(z.monthlyPayment) })
5002
5010
  ] }),
5003
5011
  /* @__PURE__ */ p("div", { children: [
5004
- /* @__PURE__ */ r(R, { variant: "caption", color: "secondary", className: "mb-1", children: "Interés total" }),
5005
- /* @__PURE__ */ r(R, { variant: "body", weight: "semibold", children: me(I.totalInterest) })
5012
+ /* @__PURE__ */ r(j, { variant: "caption", color: "secondary", className: "mb-1", children: "Interés total" }),
5013
+ /* @__PURE__ */ r(j, { variant: "body", weight: "semibold", children: me(z.totalInterest) })
5006
5014
  ] }),
5007
5015
  /* @__PURE__ */ p("div", { children: [
5008
- /* @__PURE__ */ r(R, { variant: "caption", color: "secondary", className: "mb-1", children: "Total a pagar" }),
5009
- /* @__PURE__ */ r(R, { variant: "body", weight: "semibold", children: me(I.totalAmount) })
5016
+ /* @__PURE__ */ r(j, { variant: "caption", color: "secondary", className: "mb-1", children: "Total a pagar" }),
5017
+ /* @__PURE__ */ r(j, { variant: "body", weight: "semibold", children: me(z.totalAmount) })
5010
5018
  ] })
5011
5019
  ] })
5012
5020
  ] }) }) });
@@ -5065,31 +5073,31 @@ const Po = (e, t, o) => {
5065
5073
  onImageClick: a,
5066
5074
  showLikeButton: n = !0,
5067
5075
  variant: s = "default",
5068
- badgeColors: l
5076
+ badgeColors: i
5069
5077
  }) => {
5070
- const [i, c] = ee(0), [m, u] = ee(!1), [d, h] = ee(!1), M = (_) => {
5078
+ const [l, c] = ee(0), [m, u] = ee(!1), [d, h] = ee(!1), M = (_) => {
5071
5079
  _.preventDefault(), _.stopPropagation();
5072
5080
  const F = !m;
5073
5081
  u(F), o?.(e.id, F);
5074
5082
  }, y = (_) => {
5075
- _.preventDefault(), _.stopPropagation(), a?.(i, e.id);
5076
- }, C = (_, F) => !_ || !F ? "Price not available" : `$${_.toLocaleString()} ${F}`, g = s === "compact", w = s === "minimal", z = f(
5083
+ _.preventDefault(), _.stopPropagation(), a?.(l, e.id);
5084
+ }, N = (_, F) => !_ || !F ? "Price not available" : `$${_.toLocaleString()} ${F}`, g = s === "compact", w = s === "minimal", T = f(
5077
5085
  "relative overflow-hidden bg-card transition-all duration-300 ease-out cursor-pointer",
5078
5086
  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",
5079
5087
  t
5080
- ), S = f(
5088
+ ), E = f(
5081
5089
  "relative overflow-hidden",
5082
5090
  g ? "rounded-xl px-4 shadow-md" : w ? "rounded-2xl" : ""
5083
- ), P = f(
5091
+ ), S = f(
5084
5092
  "w-full h-full object-cover",
5085
5093
  g ? "" : w ? "rounded-2xl" : "transition-transform duration-300 hover:scale-105"
5086
- ), I = f(
5094
+ ), z = f(
5087
5095
  "absolute z-10 flex flex-wrap gap-2",
5088
5096
  g ? "top-3 left-3" : "top-4 left-4"
5089
5097
  ), V = f(
5090
5098
  "font-semibold",
5091
5099
  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"
5092
- ), E = f(
5100
+ ), I = f(
5093
5101
  "absolute z-10 cursor-pointer transition-all duration-200",
5094
5102
  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"
5095
5103
  ), k = f(
@@ -5117,33 +5125,33 @@ const Po = (e, t, o) => {
5117
5125
  ), D = f(
5118
5126
  "text-sm text-muted-foreground line-clamp-2",
5119
5127
  g ? "mt-2" : ""
5120
- ), N = !(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: [
5121
- /* @__PURE__ */ r("div", { className: "rounded-full bg-primary/10 p-6", children: /* @__PURE__ */ r(io, { size: g ? 32 : 48, className: "text-primary/40" }) }),
5128
+ ), 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: [
5129
+ /* @__PURE__ */ r("div", { className: "rounded-full bg-primary/10 p-6", children: /* @__PURE__ */ r(co, { size: g ? 32 : 48, className: "text-primary/40" }) }),
5122
5130
  /* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground", children: "No image available" })
5123
- ] }), de = /* @__PURE__ */ p("div", { className: z, children: [
5131
+ ] }), de = /* @__PURE__ */ p("div", { className: T, children: [
5124
5132
  /* @__PURE__ */ p(
5125
5133
  "div",
5126
5134
  {
5127
5135
  className: f(
5128
- S,
5136
+ E,
5129
5137
  g ? "h-52" : w ? "h-[481px]" : "aspect-[4/3]"
5130
5138
  ),
5131
5139
  children: [
5132
- N ? /* @__PURE__ */ r(pe, {}) : /* @__PURE__ */ p("div", { className: "relative w-full h-full", "aria-hidden": "true", children: [
5140
+ C ? /* @__PURE__ */ r(pe, {}) : /* @__PURE__ */ p("div", { className: "relative w-full h-full", "aria-hidden": "true", children: [
5133
5141
  /* @__PURE__ */ r(
5134
5142
  "img",
5135
5143
  {
5136
- src: e.images[i],
5144
+ src: e.images[l],
5137
5145
  alt: e.title,
5138
- className: P,
5146
+ className: S,
5139
5147
  onClick: a ? y : void 0,
5140
5148
  onError: () => h(!0)
5141
5149
  }
5142
5150
  ),
5143
5151
  /* @__PURE__ */ r("div", { className: "absolute inset-0 bg-gradient-to-b from-transparent to-black/40 pointer-events-none rounded-2xl" })
5144
5152
  ] }),
5145
- /* @__PURE__ */ r("div", { className: I, children: e.transactionTypes.map((_, F) => {
5146
- const j = l?.[_.type];
5153
+ /* @__PURE__ */ r("div", { className: z, children: e.transactionTypes.map((_, F) => {
5154
+ const R = i?.[_.type];
5147
5155
  return /* @__PURE__ */ r(
5148
5156
  "span",
5149
5157
  {
@@ -5151,11 +5159,11 @@ const Po = (e, t, o) => {
5151
5159
  V,
5152
5160
  Po(
5153
5161
  _,
5154
- j,
5162
+ R,
5155
5163
  w
5156
5164
  )
5157
5165
  ),
5158
- style: j ? { backgroundColor: j } : void 0,
5166
+ style: R ? { backgroundColor: R } : void 0,
5159
5167
  children: _.type
5160
5168
  },
5161
5169
  F
@@ -5165,7 +5173,7 @@ const Po = (e, t, o) => {
5165
5173
  "button",
5166
5174
  {
5167
5175
  onClick: M,
5168
- className: E,
5176
+ className: I,
5169
5177
  "aria-label": m ? "Unlike property" : "Like property",
5170
5178
  children: g ? /* @__PURE__ */ r(
5171
5179
  "svg",
@@ -5186,7 +5194,7 @@ const Po = (e, t, o) => {
5186
5194
  )
5187
5195
  }
5188
5196
  ) : /* @__PURE__ */ r(
5189
- so,
5197
+ io,
5190
5198
  {
5191
5199
  size: 20,
5192
5200
  fill: m ? "currentColor" : "none",
@@ -5196,18 +5204,18 @@ const Po = (e, t, o) => {
5196
5204
  )
5197
5205
  }
5198
5206
  ),
5199
- !g && !N && e.images.length > 1 && /* @__PURE__ */ r("div", { className: k, children: e.images.map((_, F) => /* @__PURE__ */ r(
5207
+ !g && !C && e.images.length > 1 && /* @__PURE__ */ r("div", { className: k, children: e.images.map((_, F) => /* @__PURE__ */ r(
5200
5208
  "button",
5201
5209
  {
5202
5210
  className: f(
5203
5211
  L,
5204
- F === i ? "bg-white" : "bg-white/50"
5212
+ F === l ? "bg-white" : "bg-white/50"
5205
5213
  ),
5206
- onClick: (j) => {
5207
- j.preventDefault(), j.stopPropagation(), c(F);
5214
+ onClick: (R) => {
5215
+ R.preventDefault(), R.stopPropagation(), c(F);
5208
5216
  },
5209
5217
  "aria-label": `Go to image ${F + 1}`,
5210
- "aria-current": F === i
5218
+ "aria-current": F === l
5211
5219
  },
5212
5220
  F
5213
5221
  )) })
@@ -5216,28 +5224,28 @@ const Po = (e, t, o) => {
5216
5224
  ),
5217
5225
  /* @__PURE__ */ p("div", { className: q, children: [
5218
5226
  /* @__PURE__ */ r("h3", { className: re, children: e.title }),
5219
- /* @__PURE__ */ r("p", { className: X, children: C(e.price?.amount, e.price?.currency) }),
5227
+ /* @__PURE__ */ r("p", { className: X, children: N(e.price?.amount, e.price?.currency) }),
5220
5228
  /* @__PURE__ */ p("p", { className: oe, children: [
5221
- g && /* @__PURE__ */ r(mo, { size: 14 }),
5229
+ g && /* @__PURE__ */ r(uo, { size: 14 }),
5222
5230
  e.location.city,
5223
5231
  ", ",
5224
5232
  e.location.state
5225
5233
  ] }),
5226
5234
  /* @__PURE__ */ p("div", { className: Q, children: [
5227
5235
  /* @__PURE__ */ p("div", { className: B, children: [
5228
- /* @__PURE__ */ r(Qr, { size: w ? 20 : 16 }),
5236
+ /* @__PURE__ */ r(Yr, { size: w ? 20 : 16 }),
5229
5237
  /* @__PURE__ */ r("span", { children: e.features.bedrooms })
5230
5238
  ] }),
5231
5239
  /* @__PURE__ */ p("div", { className: B, children: [
5232
- /* @__PURE__ */ r(Kr, { size: w ? 20 : 16 }),
5240
+ /* @__PURE__ */ r(Jr, { size: w ? 20 : 16 }),
5233
5241
  /* @__PURE__ */ r("span", { children: e.features.bathrooms })
5234
5242
  ] }),
5235
5243
  /* @__PURE__ */ p("div", { className: B, children: [
5236
- /* @__PURE__ */ r(eo, { size: w ? 20 : 16 }),
5244
+ /* @__PURE__ */ r(to, { size: w ? 20 : 16 }),
5237
5245
  /* @__PURE__ */ r("span", { children: e.features.parking })
5238
5246
  ] }),
5239
5247
  /* @__PURE__ */ p("div", { className: B, children: [
5240
- /* @__PURE__ */ r(po, { size: w ? 20 : 16 }),
5248
+ /* @__PURE__ */ r(fo, { size: w ? 20 : 16 }),
5241
5249
  /* @__PURE__ */ p("span", { children: [
5242
5250
  e.features.area,
5243
5251
  " m²"
@@ -5256,21 +5264,21 @@ const Po = (e, t, o) => {
5256
5264
  onViewAllClick: a,
5257
5265
  onImageClick: n,
5258
5266
  className: s
5259
- }, l) => {
5260
- const i = e.slice(0, 5), c = (m) => {
5267
+ }, i) => {
5268
+ const l = e.slice(0, 5), c = (m) => {
5261
5269
  n?.(m);
5262
5270
  };
5263
5271
  return /* @__PURE__ */ p(
5264
5272
  "div",
5265
5273
  {
5266
- ref: l,
5274
+ ref: i,
5267
5275
  className: f("w-full h-full grid grid-cols-2 gap-2", s),
5268
5276
  children: [
5269
- /* @__PURE__ */ r("div", { className: "relative col-span-1 row-span-2 rounded-2xl overflow-hidden group cursor-pointer", children: i[0] ? /* @__PURE__ */ p(se, { children: [
5277
+ /* @__PURE__ */ r("div", { className: "relative col-span-1 row-span-2 rounded-2xl overflow-hidden group cursor-pointer", children: l[0] ? /* @__PURE__ */ p(se, { children: [
5270
5278
  /* @__PURE__ */ r(
5271
5279
  "img",
5272
5280
  {
5273
- src: i[0],
5281
+ src: l[0],
5274
5282
  alt: "Property main view",
5275
5283
  className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
5276
5284
  onClick: () => c(0)
@@ -5278,38 +5286,38 @@ const Po = (e, t, o) => {
5278
5286
  ),
5279
5287
  t && /* @__PURE__ */ r("div", { className: "absolute top-4 left-4 bg-white rounded-full px-4 py-2 shadow-md", children: /* @__PURE__ */ r("span", { className: "text-sm font-medium text-foreground", children: t }) })
5280
5288
  ] }) : /* @__PURE__ */ r("div", { className: "w-full h-full bg-muted flex items-center justify-center", children: /* @__PURE__ */ r("span", { className: "text-muted-foreground", children: "No image" }) }) }),
5281
- /* @__PURE__ */ r("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: i[1] ? /* @__PURE__ */ r(
5289
+ /* @__PURE__ */ r("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: l[1] ? /* @__PURE__ */ r(
5282
5290
  "img",
5283
5291
  {
5284
- src: i[1],
5292
+ src: l[1],
5285
5293
  alt: "Property view 2",
5286
5294
  className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
5287
5295
  onClick: () => c(1)
5288
5296
  }
5289
5297
  ) : /* @__PURE__ */ r("div", { className: "w-full h-full bg-muted" }) }),
5290
- /* @__PURE__ */ r("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: i[2] ? /* @__PURE__ */ r(
5298
+ /* @__PURE__ */ r("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: l[2] ? /* @__PURE__ */ r(
5291
5299
  "img",
5292
5300
  {
5293
- src: i[2],
5301
+ src: l[2],
5294
5302
  alt: "Property view 3",
5295
5303
  className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
5296
5304
  onClick: () => c(2)
5297
5305
  }
5298
5306
  ) : /* @__PURE__ */ r("div", { className: "w-full h-full bg-muted" }) }),
5299
- /* @__PURE__ */ r("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: i[3] ? /* @__PURE__ */ r(
5307
+ /* @__PURE__ */ r("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: l[3] ? /* @__PURE__ */ r(
5300
5308
  "img",
5301
5309
  {
5302
- src: i[3],
5310
+ src: l[3],
5303
5311
  alt: "Property view 4",
5304
5312
  className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
5305
5313
  onClick: () => c(3)
5306
5314
  }
5307
5315
  ) : /* @__PURE__ */ r("div", { className: "w-full h-full bg-muted" }) }),
5308
- /* @__PURE__ */ r("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: i[4] ? /* @__PURE__ */ p(se, { children: [
5316
+ /* @__PURE__ */ r("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: l[4] ? /* @__PURE__ */ p(se, { children: [
5309
5317
  /* @__PURE__ */ r(
5310
5318
  "img",
5311
5319
  {
5312
- src: i[4],
5320
+ src: l[4],
5313
5321
  alt: "Property view 5",
5314
5322
  className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
5315
5323
  onClick: () => c(4)
@@ -5323,7 +5331,7 @@ const Po = (e, t, o) => {
5323
5331
  },
5324
5332
  className: "flex items-center gap-2 bg-white rounded-full px-4 py-2 shadow-md hover:shadow-lg transition-all duration-200 hover:scale-105",
5325
5333
  children: [
5326
- /* @__PURE__ */ r(ao, { className: "w-4 h-4 text-foreground" }),
5334
+ /* @__PURE__ */ r(no, { className: "w-4 h-4 text-foreground" }),
5327
5335
  /* @__PURE__ */ p("span", { className: "text-sm font-medium text-foreground", children: [
5328
5336
  "Ver las ",
5329
5337
  o,
@@ -5339,7 +5347,7 @@ const Po = (e, t, o) => {
5339
5347
  }
5340
5348
  );
5341
5349
  Eo.displayName = "PropertyGallery";
5342
- function Ro({
5350
+ function jo({
5343
5351
  onSubmit: e,
5344
5352
  defaultValues: t,
5345
5353
  propertyTypeOptions: o,
@@ -5358,9 +5366,9 @@ function Ro({
5358
5366
  a,
5359
5367
  n
5360
5368
  ]
5361
- ), [l, i] = v.useState(s), c = v.useCallback(
5369
+ ), [i, l] = v.useState(s), c = v.useCallback(
5362
5370
  (u) => {
5363
- i((d) => {
5371
+ l((d) => {
5364
5372
  const h = typeof u == "function" ? u(d) : u;
5365
5373
  return JSON.stringify(d) === JSON.stringify(h) ? d : h;
5366
5374
  });
@@ -5369,15 +5377,15 @@ function Ro({
5369
5377
  ), m = v.useCallback(
5370
5378
  (u) => {
5371
5379
  u.preventDefault(), e?.({
5372
- propertyType: l.propertyType,
5373
- transactionType: l.transactionType,
5374
- location: l.location
5380
+ propertyType: i.propertyType,
5381
+ transactionType: i.transactionType,
5382
+ location: i.location
5375
5383
  });
5376
5384
  },
5377
- [l, e]
5385
+ [i, e]
5378
5386
  );
5379
5387
  return {
5380
- formData: l,
5388
+ formData: i,
5381
5389
  setFormData: c,
5382
5390
  handleSubmit: m,
5383
5391
  propertyTypeOptions: o,
@@ -5392,7 +5400,7 @@ const _e = ({
5392
5400
  }) => {
5393
5401
  const a = "relative size-12 rounded-full bg-black text-white transition-all duration-200 hover:bg-black/90 hover:shadow-md flex items-center justify-center", n = "w-full";
5394
5402
  return e === "mobile" ? /* @__PURE__ */ p(K, { type: "submit", className: f(n, o), children: [
5395
- /* @__PURE__ */ r(je, { className: "h-4 w-4" }),
5403
+ /* @__PURE__ */ r(Re, { className: "h-4 w-4" }),
5396
5404
  t ? "Searching..." : "Search"
5397
5405
  ] }) : /* @__PURE__ */ r(
5398
5406
  K,
@@ -5403,7 +5411,7 @@ const _e = ({
5403
5411
  "aria-label": t ? "Searching..." : "Search properties",
5404
5412
  className: f(a, o),
5405
5413
  disabled: t,
5406
- children: /* @__PURE__ */ r(je, { className: "h-6 w-6" })
5414
+ children: /* @__PURE__ */ r(Re, { className: "h-6 w-6" })
5407
5415
  }
5408
5416
  );
5409
5417
  }, O = ({
@@ -5414,13 +5422,13 @@ const _e = ({
5414
5422
  className: n,
5415
5423
  containerClassName: s
5416
5424
  }) => {
5417
- const l = v.useMemo(
5425
+ const i = v.useMemo(
5418
5426
  () => t.map((c) => ({
5419
5427
  value: c.value,
5420
5428
  label: c.label
5421
5429
  })),
5422
5430
  [t]
5423
- ), i = v.useCallback(
5431
+ ), l = v.useCallback(
5424
5432
  (c) => {
5425
5433
  a(c.target.value);
5426
5434
  },
@@ -5430,25 +5438,25 @@ const _e = ({
5430
5438
  Ve,
5431
5439
  {
5432
5440
  label: e,
5433
- options: l,
5441
+ options: i,
5434
5442
  value: o,
5435
5443
  className: f(
5436
5444
  "w-full border-none bg-transparent focus:outline-none focus:ring-0 text-base text-muted-foreground h-auto p-0",
5437
5445
  n
5438
5446
  ),
5439
5447
  labelClassName: "text-sm font-semibold text-foreground mb-1 text-left",
5440
- onChange: i
5448
+ onChange: l
5441
5449
  }
5442
5450
  ) }) });
5443
- }, jo = ({
5451
+ }, Ro = ({
5444
5452
  formData: e,
5445
5453
  options: t,
5446
5454
  onFieldChange: o,
5447
5455
  isSubmitting: a,
5448
5456
  onSubmit: n,
5449
5457
  error: s,
5450
- className: l
5451
- }) => /* @__PURE__ */ r("div", { className: f("rounded-xl bg-white shadow-lg p-6", l), children: /* @__PURE__ */ p("form", { className: "space-y-6", onSubmit: n, children: [
5458
+ className: i
5459
+ }) => /* @__PURE__ */ r("div", { className: f("rounded-xl bg-white shadow-lg p-6", i), children: /* @__PURE__ */ p("form", { className: "space-y-6", onSubmit: n, children: [
5452
5460
  /* @__PURE__ */ p("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: [
5453
5461
  /* @__PURE__ */ r(
5454
5462
  O,
@@ -5492,7 +5500,7 @@ const _e = ({
5492
5500
  size: "lg",
5493
5501
  disabled: a,
5494
5502
  children: [
5495
- /* @__PURE__ */ r(je, { className: "h-4 w-4 mr-2" }),
5503
+ /* @__PURE__ */ r(Re, { className: "h-4 w-4 mr-2" }),
5496
5504
  a ? "Searching..." : "Search Properties"
5497
5505
  ]
5498
5506
  }
@@ -5552,14 +5560,14 @@ const _e = ({
5552
5560
  /* @__PURE__ */ r(_e, { variant: "mobile", isSubmitting: a })
5553
5561
  ] })
5554
5562
  }
5555
- ), le = ({ className: e }) => /* @__PURE__ */ r("div", { className: f("w-px self-stretch bg-gray-300 mx-6", e) }), Lo = ({
5563
+ ), ie = ({ className: e }) => /* @__PURE__ */ r("div", { className: f("w-px self-stretch bg-gray-300 mx-6", e) }), Lo = ({
5556
5564
  formData: e,
5557
5565
  options: t,
5558
5566
  onFieldChange: o,
5559
5567
  isSubmitting: a,
5560
5568
  onSubmit: n,
5561
5569
  className: s,
5562
- buttonLabel: l = "Conoce Más"
5570
+ buttonLabel: i = "Conoce Más"
5563
5571
  }) => /* @__PURE__ */ r(
5564
5572
  "form",
5565
5573
  {
@@ -5576,7 +5584,7 @@ const _e = ({
5576
5584
  onChange: o("propertyType")
5577
5585
  }
5578
5586
  ),
5579
- /* @__PURE__ */ r(le, {}),
5587
+ /* @__PURE__ */ r(ie, {}),
5580
5588
  /* @__PURE__ */ r(
5581
5589
  O,
5582
5590
  {
@@ -5586,7 +5594,7 @@ const _e = ({
5586
5594
  onChange: o("transactionType")
5587
5595
  }
5588
5596
  ),
5589
- /* @__PURE__ */ r(le, {}),
5597
+ /* @__PURE__ */ r(ie, {}),
5590
5598
  /* @__PURE__ */ r(
5591
5599
  O,
5592
5600
  {
@@ -5603,8 +5611,8 @@ const _e = ({
5603
5611
  type: "submit",
5604
5612
  disabled: a,
5605
5613
  className: "h-10 px-4 py-2 bg-zinc-900 text-white text-sm font-medium rounded-md hover:bg-zinc-800 transition-colors disabled:opacity-50 whitespace-nowrap",
5606
- "aria-label": a ? "Buscando propiedades..." : l,
5607
- children: a ? "Buscando..." : l
5614
+ "aria-label": a ? "Buscando propiedades..." : i,
5615
+ children: a ? "Buscando..." : i
5608
5616
  }
5609
5617
  ) })
5610
5618
  ] })
@@ -5632,7 +5640,7 @@ const _e = ({
5632
5640
  onChange: o("propertyType")
5633
5641
  }
5634
5642
  ),
5635
- /* @__PURE__ */ r(le, {}),
5643
+ /* @__PURE__ */ r(ie, {}),
5636
5644
  /* @__PURE__ */ r(
5637
5645
  O,
5638
5646
  {
@@ -5642,7 +5650,7 @@ const _e = ({
5642
5650
  onChange: o("transactionType")
5643
5651
  }
5644
5652
  ),
5645
- /* @__PURE__ */ r(le, {}),
5653
+ /* @__PURE__ */ r(ie, {}),
5646
5654
  /* @__PURE__ */ r(
5647
5655
  O,
5648
5656
  {
@@ -5716,7 +5724,7 @@ const _e = ({
5716
5724
  isSubmitting: a,
5717
5725
  onSubmit: n,
5718
5726
  className: s,
5719
- buttonLabel: l = "Conoce Más"
5727
+ buttonLabel: i = "Conoce Más"
5720
5728
  }) => /* @__PURE__ */ r(
5721
5729
  "form",
5722
5730
  {
@@ -5734,7 +5742,7 @@ const _e = ({
5734
5742
  onChange: o("propertyType")
5735
5743
  }
5736
5744
  ),
5737
- /* @__PURE__ */ r(le, {}),
5745
+ /* @__PURE__ */ r(ie, {}),
5738
5746
  /* @__PURE__ */ r(
5739
5747
  O,
5740
5748
  {
@@ -5744,7 +5752,7 @@ const _e = ({
5744
5752
  onChange: o("transactionType")
5745
5753
  }
5746
5754
  ),
5747
- /* @__PURE__ */ r(le, {}),
5755
+ /* @__PURE__ */ r(ie, {}),
5748
5756
  /* @__PURE__ */ r(
5749
5757
  O,
5750
5758
  {
@@ -5761,18 +5769,18 @@ const _e = ({
5761
5769
  type: "submit",
5762
5770
  disabled: a,
5763
5771
  className: "h-10 px-4 py-2 bg-zinc-900 text-white text-sm font-medium rounded-md hover:bg-zinc-800 transition-colors disabled:opacity-50 whitespace-nowrap",
5764
- "aria-label": a ? "Buscando propiedades..." : l,
5765
- children: a ? "Buscando..." : l
5772
+ "aria-label": a ? "Buscando propiedades..." : i,
5773
+ children: a ? "Buscando..." : i
5766
5774
  }
5767
5775
  ) })
5768
5776
  ] })
5769
5777
  }
5770
- ), et = {
5778
+ ), tt = {
5771
5779
  minimal: $o,
5772
5780
  modern: Vo,
5773
5781
  luxury: Lo,
5774
5782
  compact: Ao,
5775
- card: jo
5783
+ card: Ro
5776
5784
  }, Fo = ({
5777
5785
  onSubmit: e,
5778
5786
  defaultValues: t,
@@ -5780,27 +5788,27 @@ const _e = ({
5780
5788
  variant: a = "minimal",
5781
5789
  propertyTypeOptions: n,
5782
5790
  transactionTypeOptions: s,
5783
- locationOptions: l,
5784
- buttonLabel: i
5791
+ locationOptions: i,
5792
+ buttonLabel: l
5785
5793
  }) => {
5786
- const [c, m] = v.useState(!1), [u, d] = v.useState(null), h = Ro({
5794
+ const [c, m] = v.useState(!1), [u, d] = v.useState(null), h = jo({
5787
5795
  onSubmit: e,
5788
5796
  defaultValues: t,
5789
5797
  propertyTypeOptions: n,
5790
5798
  transactionTypeOptions: s,
5791
- locationOptions: l
5799
+ locationOptions: i
5792
5800
  }), {
5793
5801
  formData: M,
5794
5802
  setFormData: y,
5795
- handleSubmit: C,
5803
+ handleSubmit: N,
5796
5804
  propertyTypeOptions: g,
5797
5805
  transactionTypeOptions: w,
5798
- locationOptions: z
5799
- } = h, S = v.useCallback(
5800
- async (E) => {
5801
- E.preventDefault(), d(null), m(!0);
5806
+ locationOptions: T
5807
+ } = h, E = v.useCallback(
5808
+ async (I) => {
5809
+ I.preventDefault(), d(null), m(!0);
5802
5810
  try {
5803
- await C(E);
5811
+ await N(I);
5804
5812
  } catch (k) {
5805
5813
  const L = k instanceof Error ? k.message : "Search failed. Please try again.";
5806
5814
  d(L), console.error("Search error:", k);
@@ -5808,42 +5816,42 @@ const _e = ({
5808
5816
  m(!1);
5809
5817
  }
5810
5818
  },
5811
- [C]
5812
- ), P = v.useCallback(
5813
- (E) => (k) => {
5814
- d(null), y((L) => ({ ...L, [E]: k }));
5819
+ [N]
5820
+ ), S = v.useCallback(
5821
+ (I) => (k) => {
5822
+ d(null), y((L) => ({ ...L, [I]: k }));
5815
5823
  },
5816
5824
  [y]
5817
- ), I = v.useMemo(
5825
+ ), z = v.useMemo(
5818
5826
  () => ({
5819
5827
  propertyTypeOptions: g,
5820
5828
  transactionTypeOptions: w,
5821
- locationOptions: z
5829
+ locationOptions: T
5822
5830
  }),
5823
- [g, w, z]
5824
- ), V = et[a] || et.minimal;
5831
+ [g, w, T]
5832
+ ), V = tt[a] || tt.minimal;
5825
5833
  return /* @__PURE__ */ p(se, { children: [
5826
5834
  /* @__PURE__ */ r(
5827
5835
  V,
5828
5836
  {
5829
5837
  formData: M,
5830
- options: I,
5838
+ options: z,
5831
5839
  isSubmitting: c,
5832
5840
  error: u,
5833
5841
  className: o,
5834
- onFieldChange: P,
5835
- onSubmit: S,
5836
- ...(a === "modern" || a === "luxury") && { buttonLabel: i }
5842
+ onFieldChange: S,
5843
+ onSubmit: E,
5844
+ ...(a === "modern" || a === "luxury") && { buttonLabel: l }
5837
5845
  }
5838
5846
  ),
5839
5847
  a === "minimal" && /* @__PURE__ */ r(
5840
5848
  Oo,
5841
5849
  {
5842
5850
  formData: M,
5843
- options: I,
5851
+ options: z,
5844
5852
  isSubmitting: c,
5845
- onFieldChange: P,
5846
- onSubmit: S
5853
+ onFieldChange: S,
5854
+ onSubmit: E
5847
5855
  }
5848
5856
  )
5849
5857
  ] });
@@ -5856,7 +5864,7 @@ const sa = ({ href: e, children: t }) => /* @__PURE__ */ r(
5856
5864
  className: "sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-50 focus:px-4 focus:py-2 focus:bg-primary focus:text-white focus:rounded",
5857
5865
  children: t
5858
5866
  }
5859
- ), la = {
5867
+ ), ia = {
5860
5868
  // Spacing scale (in rem)
5861
5869
  spacing: {
5862
5870
  xs: "0.25rem",
@@ -5951,7 +5959,7 @@ const sa = ({ href: e, children: t }) => /* @__PURE__ */ r(
5951
5959
  out: "ease-out",
5952
5960
  inOut: "ease-in-out"
5953
5961
  }
5954
- }, ia = {
5962
+ }, la = {
5955
5963
  button: {
5956
5964
  size: {
5957
5965
  sm: "h-9 px-3 text-sm",
@@ -6125,8 +6133,8 @@ const sa = ({ href: e, children: t }) => /* @__PURE__ */ r(
6125
6133
  o || (e(...a), o = !0, setTimeout(() => o = !1, t));
6126
6134
  };
6127
6135
  }
6128
- }, St = Ae.createContext(null), ba = () => {
6129
- const e = Tt(St);
6136
+ }, Tt = Ae.createContext(null), ba = () => {
6137
+ const e = zt(Tt);
6130
6138
  if (!e)
6131
6139
  throw new Error("useTheme must be used within a ThemeProvider");
6132
6140
  return e;
@@ -6399,16 +6407,16 @@ const sa = ({ href: e, children: t }) => /* @__PURE__ */ r(
6399
6407
  dark: Do,
6400
6408
  corporate: Bo,
6401
6409
  minimal: Ho
6402
- }, Go = Le(), Wo = Le(), Uo = Le(), te = zt(ze.light).on(Go, (e, t) => ze[t] || e).on(Wo, (e, t) => t).on(Uo, () => ze.light), xa = te.map((e) => e.name), ya = te.map((e) => e.colors);
6410
+ }, Go = Le(), Wo = Le(), Uo = Le(), te = Pt(ze.light).on(Go, (e, t) => ze[t] || e).on(Wo, (e, t) => t).on(Uo, () => ze.light), xa = te.map((e) => e.name), ya = te.map((e) => e.colors);
6403
6411
  te.map((e) => e.shapes);
6404
6412
  te.map((e) => e.typography);
6405
6413
  te.map((e) => e.spacing);
6406
6414
  te.map((e) => e.shadows);
6407
6415
  const va = ({ children: e }) => {
6408
6416
  const o = {
6409
- theme: Pt(te)
6417
+ theme: It(te)
6410
6418
  };
6411
- return /* @__PURE__ */ r(St.Provider, { value: o, children: e });
6419
+ return /* @__PURE__ */ r(Tt.Provider, { value: o, children: e });
6412
6420
  };
6413
6421
  export {
6414
6422
  te as $theme,
@@ -6416,20 +6424,20 @@ export {
6416
6424
  xa as $themeName,
6417
6425
  oa as AuthLayout,
6418
6426
  K as Button,
6419
- pt as Card,
6420
- ht as CategoryChips,
6427
+ ft as Card,
6428
+ gt as CategoryChips,
6421
6429
  Oe as Chip,
6422
6430
  Yo as CompoundCard,
6423
6431
  ta as ConfirmModal,
6424
6432
  ra as DashboardLayout,
6425
- ft as DonutChart,
6433
+ ht as DonutChart,
6426
6434
  wo as EntityDirectory,
6427
6435
  No as Header,
6428
6436
  So as HeroBanner,
6429
6437
  ne as Input,
6430
6438
  aa as MarketingLayout,
6431
- Fr as Modal,
6432
- _r as ModalWithActions,
6439
+ _r as Modal,
6440
+ Dr as ModalWithActions,
6433
6441
  zo as MortgageCalculator,
6434
6442
  Fe as PageLayout,
6435
6443
  na as PropertyCard,
@@ -6437,22 +6445,22 @@ export {
6437
6445
  Fo as SearchFeature,
6438
6446
  Ve as Select,
6439
6447
  sa as SkipLink,
6440
- R as Text,
6448
+ j as Text,
6441
6449
  va as ThemeProvider,
6442
6450
  ma as a11y,
6443
6451
  ma as accessibilityUtils,
6444
6452
  pa as animationUtils,
6445
6453
  pa as animations,
6446
6454
  ca as breakpoints,
6447
- jt as calculateMortgage,
6455
+ At as calculateMortgage,
6448
6456
  f as cn,
6449
6457
  da as colorUtils,
6450
6458
  da as colors,
6451
6459
  ua as componentSizes,
6452
- ia as componentVariants,
6460
+ la as componentVariants,
6453
6461
  Rt as countEntitiesByCategory,
6454
- la as designSystem,
6455
- It as filterEntitiesByCategory,
6462
+ ia as designSystem,
6463
+ Et as filterEntitiesByCategory,
6456
6464
  me as formatCurrency,
6457
6465
  Jo as formatPercentage,
6458
6466
  fa as layout,
@@ -6464,12 +6472,12 @@ export {
6464
6472
  Wo as setCustomTheme,
6465
6473
  Go as setTheme,
6466
6474
  ua as sizes,
6467
- Et as sortEntities,
6475
+ jt as sortEntities,
6468
6476
  ha as theme,
6469
6477
  ha as themeUtils,
6470
6478
  ea as useEntityFilter,
6471
6479
  ba as useTheme,
6472
6480
  Qo as validateMortgageInput,
6473
- ia as variants
6481
+ la as variants
6474
6482
  };
6475
6483
  //# sourceMappingURL=design-system.es.js.map