@sakaniui/react 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/blocks.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as e, At as t, C as n, Ct as r, D as i, Dt as a, E as o, Et as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, Mt as h, N as g, O as _, Ot as v, P as y, Q as b, R as ee, S as x, T as S, Tt as C, U as te, V as ne, W as re, X as ie, Y as ae, Z as oe, _ as se, a as ce, at as le, bt as ue, c as de, d as fe, dt as pe, et as me, f as he, ft as ge, g as _e, gt as ve, h as ye, ht as be, i as xe, it as w, j as Se, jt as Ce, k as T, kt as we, l as Te, lt as Ee, m as De, mt as Oe, n as ke, nt as Ae, o as je, p as Me, pt as E, q as Ne, r as Pe, rt as Fe, s as Ie, t as Le, u as Re, ut as ze, v as Be, w as Ve, wt as D, x as He, xt as Ue, y as We, yt as Ge, z as Ke } from "./TopBar-BcXAB1mf.js";
1
+ import { $ as e, A as t, At as n, B as r, Ct as i, D as a, Dt as o, E as s, Et as c, F as l, G as u, I as d, J as f, K as p, L as m, M as h, Mt as g, N as _, Nt as v, O as y, Ot as b, Pt as x, Q as S, R as C, S as w, St as ee, T as te, Tt as ne, U as re, V as ie, W as ae, X as oe, Y as se, Z as ce, _ as le, _t as ue, a as de, at as fe, c as pe, d as me, dt as he, et as ge, f as _e, ft as ve, g as ye, gt as be, h as xe, ht as T, i as Se, it as Ce, j as E, jt as we, k as Te, kt as Ee, l as De, m as Oe, mt as ke, n as Ae, nt as je, o as Me, ot as D, p as Ne, pt as Pe, q as Fe, r as Ie, s as Le, st as Re, t as ze, u as Be, v as Ve, vt as He, x as Ue, xt as We, y as Ge, z as Ke } from "./TopBar-DyQIMFAq.js";
2
2
  import { A as qe, B as Je, C as Ye, F as Xe, I as Ze, M as Qe, O as $e, P as et, R as tt, S as nt, _ as rt, a as it, b as at, c as ot, f as st, g as ct, i as lt, j as ut, o as dt, v as ft, w as pt, y as mt } from "./help-circle-qEEVeIea.js";
3
3
  import { A as ht, B as gt, C as _t, D as vt, E as yt, F as bt, G as xt, H as St, I as Ct, J as wt, K as Tt, L as Et, M as Dt, N as Ot, O as kt, P as At, R as jt, S as Mt, T as Nt, U as Pt, V as Ft, W as It, Y as Lt, _ as Rt, a as zt, b as Bt, c as Vt, d as Ht, f as Ut, g as Wt, h as Gt, i as Kt, j as qt, k as Jt, l as Yt, m as Xt, n as Zt, o as Qt, p as $t, q as en, r as tn, s as nn, t as rn, u as an, v as on, w as sn, x as cn, y as ln, z as un } from "./building-warehouse-_n8EvYUt.js";
4
4
  import O, { memo as dn, useCallback as fn, useEffect as pn, useLayoutEffect as mn, useRef as hn, useState as gn } from "react";
@@ -13,7 +13,7 @@ var vn = {
13
13
  }, yn = ({ state: e = "default", className: t }) => /* @__PURE__ */ j("div", {
14
14
  className: [vn.block, t ?? ""].filter(Boolean).join(" "),
15
15
  children: [
16
- /* @__PURE__ */ A(Ue, {
16
+ /* @__PURE__ */ A(i, {
17
17
  value: "$24,582.30",
18
18
  change: {
19
19
  value: "+$1,240.50",
@@ -21,12 +21,12 @@ var vn = {
21
21
  direction: "up"
22
22
  }
23
23
  }),
24
- /* @__PURE__ */ A(E, {}),
25
- /* @__PURE__ */ A(Ee, {
24
+ /* @__PURE__ */ A(T, {}),
25
+ /* @__PURE__ */ A(he, {
26
26
  spent: 1240,
27
27
  limit: 2e3
28
28
  }),
29
- e === "detailed" && /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(E, {}), /* @__PURE__ */ j("div", {
29
+ e === "detailed" && /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(T, {}), /* @__PURE__ */ j("div", {
30
30
  className: vn.savingsGoal,
31
31
  children: [/* @__PURE__ */ j("div", {
32
32
  className: vn.savingsGoal__labelRow,
@@ -37,7 +37,7 @@ var vn = {
37
37
  className: vn.savingsGoal__value,
38
38
  children: "45%"
39
39
  })]
40
- }), /* @__PURE__ */ A(ue, {
40
+ }), /* @__PURE__ */ A(ee, {
41
41
  value: 45,
42
42
  size: "md",
43
43
  label: "Savings goal"
@@ -50,14 +50,14 @@ var vn = {
50
50
  }, Tn = [
51
51
  {
52
52
  actor: "Amara Kalu",
53
- description: /* @__PURE__ */ j(k, { children: ["commented on ", /* @__PURE__ */ A(v, { children: "Design Review" })] }),
53
+ description: /* @__PURE__ */ j(k, { children: ["commented on ", /* @__PURE__ */ A(n, { children: "Design Review" })] }),
54
54
  timestamp: "2m ago",
55
55
  icon: /* @__PURE__ */ A(Lt, {}),
56
56
  avatarSrc: bn
57
57
  },
58
58
  {
59
59
  actor: "Chidi Duru",
60
- description: /* @__PURE__ */ j(k, { children: ["uploaded 3 ", /* @__PURE__ */ A(v, { children: "files to Assets" })] }),
60
+ description: /* @__PURE__ */ j(k, { children: ["uploaded 3 ", /* @__PURE__ */ A(n, { children: "files to Assets" })] }),
61
61
  timestamp: "1h ago",
62
62
  icon: /* @__PURE__ */ A(wt, {}),
63
63
  avatarSrc: xn
@@ -66,7 +66,7 @@ var vn = {
66
66
  actor: "Jade Silva",
67
67
  description: /* @__PURE__ */ j(k, { children: [
68
68
  "edited the ",
69
- /* @__PURE__ */ A(v, { children: "Pricing Table" }),
69
+ /* @__PURE__ */ A(n, { children: "Pricing Table" }),
70
70
  " component"
71
71
  ] }),
72
72
  timestamp: "3h ago",
@@ -77,7 +77,7 @@ var vn = {
77
77
  actor: "Ravi Menon",
78
78
  description: /* @__PURE__ */ j(k, { children: [
79
79
  "marked ",
80
- /* @__PURE__ */ A(v, { children: "\"Fix Table overflow\"" }),
80
+ /* @__PURE__ */ A(n, { children: "\"Fix Table overflow\"" }),
81
81
  " as done"
82
82
  ] }),
83
83
  timestamp: "Yesterday",
@@ -89,7 +89,7 @@ var vn = {
89
89
  children: [/* @__PURE__ */ A("h2", {
90
90
  className: wn.title,
91
91
  children: "Recent activity"
92
- }), /* @__PURE__ */ A(a, {
92
+ }), /* @__PURE__ */ A(Ee, {
93
93
  items: Tn,
94
94
  variant: e === "compact" ? "compact" : "default"
95
95
  })]
@@ -104,7 +104,7 @@ var vn = {
104
104
  divider: "_divider_16lmz_54"
105
105
  }, On = ({ breadcrumbs: e, title: t, description: n, actions: r = [], className: i }) => /* @__PURE__ */ j("div", {
106
106
  className: [Dn.header, i ?? ""].filter(Boolean).join(" "),
107
- children: [/* @__PURE__ */ A(Se, { items: e }), /* @__PURE__ */ j("div", {
107
+ children: [/* @__PURE__ */ A(_, { items: e }), /* @__PURE__ */ j("div", {
108
108
  className: Dn.body,
109
109
  children: [/* @__PURE__ */ j("div", {
110
110
  className: Dn.row,
@@ -119,7 +119,7 @@ var vn = {
119
119
  })]
120
120
  }), r.length > 0 && /* @__PURE__ */ A("div", {
121
121
  className: Dn.actions,
122
- children: r.map((e, t) => /* @__PURE__ */ A(D, {
122
+ children: r.map((e, t) => /* @__PURE__ */ A(c, {
123
123
  variant: e.variant ?? (t === r.length - 1 ? "primary" : "secondary"),
124
124
  size: "md",
125
125
  leftIcon: e.icon,
@@ -166,7 +166,7 @@ var vn = {
166
166
  progress: 60
167
167
  }
168
168
  ], An = (e) => e < 1024 ? `${e} B` : e < 1024 * 1024 ? `${(e / 1024).toFixed(0)} KB` : `${(e / (1024 * 1024)).toFixed(1)} MB`, jn = ({ state: e = "with-files", className: t }) => {
169
- let n = O.useRef(null), [r, i] = O.useState(!1), [a, o] = O.useState(e === "with-files" ? kn : []), s = (e) => {
169
+ let n = O.useRef(null), [r, i] = O.useState(!1), [a, s] = O.useState(e === "with-files" ? kn : []), c = (e) => {
170
170
  if (!e) return;
171
171
  let t = Array.from(e).map((e, t) => ({
172
172
  id: `${Date.now()}-${t}`,
@@ -174,8 +174,8 @@ var vn = {
174
174
  size: An(e.size),
175
175
  status: "pending"
176
176
  }));
177
- o((e) => [...e, ...t]);
178
- }, c = (e) => o((t) => t.filter((t) => t.id !== e)), l = (e) => o((t) => t.map((t) => t.id === e ? {
177
+ s((e) => [...e, ...t]);
178
+ }, l = (e) => s((t) => t.filter((t) => t.id !== e)), u = (e) => s((t) => t.map((t) => t.id === e ? {
179
179
  ...t,
180
180
  status: "complete"
181
181
  } : t));
@@ -189,7 +189,7 @@ var vn = {
189
189
  },
190
190
  onDragLeave: () => i(!1),
191
191
  onDrop: (e) => {
192
- e.preventDefault(), i(!1), s(e.dataTransfer.files);
192
+ e.preventDefault(), i(!1), c(e.dataTransfer.files);
193
193
  },
194
194
  role: "button",
195
195
  tabIndex: 0,
@@ -202,7 +202,7 @@ var vn = {
202
202
  "aria-hidden": "true",
203
203
  children: /* @__PURE__ */ A(ot, {
204
204
  size: 20,
205
- strokeWidth: h(20)
205
+ strokeWidth: x(20)
206
206
  })
207
207
  }),
208
208
  /* @__PURE__ */ A("p", {
@@ -218,7 +218,7 @@ var vn = {
218
218
  type: "file",
219
219
  multiple: !0,
220
220
  className: M.input,
221
- onChange: (e) => s(e.target.files)
221
+ onChange: (e) => c(e.target.files)
222
222
  })
223
223
  ]
224
224
  }), a.length > 0 && /* @__PURE__ */ A("div", {
@@ -231,7 +231,7 @@ var vn = {
231
231
  "aria-hidden": "true",
232
232
  children: /* @__PURE__ */ A(st, {
233
233
  size: 16,
234
- strokeWidth: h(16)
234
+ strokeWidth: x(16)
235
235
  })
236
236
  }),
237
237
  /* @__PURE__ */ j("div", {
@@ -239,7 +239,7 @@ var vn = {
239
239
  children: [/* @__PURE__ */ A("p", {
240
240
  className: M.name,
241
241
  children: e.name
242
- }), e.status === "uploading" ? /* @__PURE__ */ A(ue, {
242
+ }), e.status === "uploading" ? /* @__PURE__ */ A(ee, {
243
243
  value: e.progress ?? 0,
244
244
  size: "sm",
245
245
  label: `Uploading ${e.name}`
@@ -250,32 +250,32 @@ var vn = {
250
250
  }),
251
251
  e.status === "complete" && /* @__PURE__ */ A(Qe, {
252
252
  size: 18,
253
- strokeWidth: h(18),
253
+ strokeWidth: x(18),
254
254
  className: M.completeIcon,
255
255
  "aria-label": "Complete"
256
256
  }),
257
257
  e.status === "pending" && /* @__PURE__ */ j("div", {
258
258
  className: M.rowActions,
259
- children: [/* @__PURE__ */ A(C, {
259
+ children: [/* @__PURE__ */ A(o, {
260
260
  icon: Qe,
261
261
  variant: "outline",
262
262
  size: "sm",
263
263
  "aria-label": `Confirm ${e.name}`,
264
- onClick: () => l(e.id)
265
- }), /* @__PURE__ */ A(C, {
264
+ onClick: () => u(e.id)
265
+ }), /* @__PURE__ */ A(o, {
266
266
  icon: tt,
267
267
  variant: "outline",
268
268
  size: "sm",
269
269
  "aria-label": `Remove ${e.name}`,
270
- onClick: () => c(e.id)
270
+ onClick: () => l(e.id)
271
271
  })]
272
272
  }),
273
- e.status === "uploading" && /* @__PURE__ */ A(C, {
273
+ e.status === "uploading" && /* @__PURE__ */ A(o, {
274
274
  icon: tt,
275
275
  variant: "outline",
276
276
  size: "sm",
277
277
  "aria-label": `Cancel ${e.name}`,
278
- onClick: () => c(e.id)
278
+ onClick: () => l(e.id)
279
279
  })
280
280
  ]
281
281
  }, e.id))
@@ -296,7 +296,7 @@ var vn = {
296
296
  }
297
297
  ], Pn = ({ open: e, onClose: t, className: n }) => {
298
298
  let [r, i] = O.useState(""), [a, o] = O.useState(void 0), [s, c] = O.useState(!1);
299
- return /* @__PURE__ */ A(ge, {
299
+ return /* @__PURE__ */ A(ke, {
300
300
  open: e,
301
301
  onClose: t,
302
302
  title: "Invite a teammate",
@@ -312,14 +312,14 @@ var vn = {
312
312
  className: n,
313
313
  children: /* @__PURE__ */ j("div", {
314
314
  className: Mn.form,
315
- children: [/* @__PURE__ */ A(x, {
315
+ children: [/* @__PURE__ */ A(w, {
316
316
  label: "Email address",
317
317
  type: "email",
318
318
  placeholder: "colleague@company.com",
319
319
  value: r,
320
320
  onChange: (e) => i(e.target.value),
321
321
  disabled: s
322
- }), /* @__PURE__ */ A(De, {
322
+ }), /* @__PURE__ */ A(Oe, {
323
323
  label: "Role",
324
324
  placeholder: "Select a role",
325
325
  options: Nn,
@@ -353,7 +353,7 @@ var vn = {
353
353
  "aria-hidden": "true",
354
354
  children: t ?? /* @__PURE__ */ A(Je, {
355
355
  size: 20,
356
- strokeWidth: h(20)
356
+ strokeWidth: x(20)
357
357
  })
358
358
  }),
359
359
  /* @__PURE__ */ j("div", {
@@ -366,7 +366,7 @@ var vn = {
366
366
  children: r
367
367
  })]
368
368
  }),
369
- /* @__PURE__ */ A(D, {
369
+ /* @__PURE__ */ A(c, {
370
370
  variant: s ? "outline" : "primary",
371
371
  size: "md",
372
372
  onClick: a,
@@ -410,7 +410,7 @@ var vn = {
410
410
  "aria-hidden": "true",
411
411
  children: /* @__PURE__ */ A(Qe, {
412
412
  size: 14,
413
- strokeWidth: h(14)
413
+ strokeWidth: x(14)
414
414
  })
415
415
  }) : /* @__PURE__ */ A("span", {
416
416
  className: [Ln.circle, e === "current" ? Ln.circleCurrent : Ln.circleUpcoming].join(" "),
@@ -436,7 +436,7 @@ var vn = {
436
436
  s(!1), t();
437
437
  }, 1500);
438
438
  }, d = Rn[i];
439
- return /* @__PURE__ */ j(ge, {
439
+ return /* @__PURE__ */ j(ke, {
440
440
  open: e,
441
441
  onClose: t,
442
442
  title: d.title,
@@ -505,7 +505,7 @@ var vn = {
505
505
  children: [/* @__PURE__ */ A("h2", {
506
506
  className: Vn.title,
507
507
  children: "Notifications"
508
- }), !r && i && /* @__PURE__ */ A(s, {
508
+ }), !r && i && /* @__PURE__ */ A(b, {
509
509
  href: "#",
510
510
  onClick: (e) => {
511
511
  e.preventDefault(), t?.();
@@ -521,7 +521,7 @@ var vn = {
521
521
  "aria-hidden": "true",
522
522
  children: /* @__PURE__ */ A(ut, {
523
523
  size: 16,
524
- strokeWidth: h(16)
524
+ strokeWidth: x(16)
525
525
  })
526
526
  }),
527
527
  /* @__PURE__ */ A("p", {
@@ -535,7 +535,7 @@ var vn = {
535
535
  ]
536
536
  }) : /* @__PURE__ */ A("div", {
537
537
  className: Vn.list,
538
- children: e.map((e) => /* @__PURE__ */ A(pe, {
538
+ children: e.map((e) => /* @__PURE__ */ A(Pe, {
539
539
  icon: e.icon,
540
540
  title: e.title,
541
541
  timestamp: e.timestamp,
@@ -547,41 +547,41 @@ var vn = {
547
547
  block: "_block_1gg4g_1",
548
548
  title: "_title_1gg4g_16",
549
549
  save: "_save_1gg4g_25"
550
- }, Wn = ({ name: e = "", email: t = "", avatarSrc: n, onSave: i, className: a }) => {
551
- let [o, s] = O.useState(e), [c, l] = O.useState(t), [u, d] = O.useState(n);
550
+ }, Wn = ({ name: e = "", email: t = "", avatarSrc: n, onSave: r, className: i }) => {
551
+ let [a, o] = O.useState(e), [s, l] = O.useState(t), [u, d] = O.useState(n);
552
552
  return /* @__PURE__ */ j("div", {
553
- className: [Un.block, a ?? ""].filter(Boolean).join(" "),
553
+ className: [Un.block, i ?? ""].filter(Boolean).join(" "),
554
554
  children: [
555
555
  /* @__PURE__ */ A("h2", {
556
556
  className: Un.title,
557
557
  children: "Profile"
558
558
  }),
559
- /* @__PURE__ */ A(r, {
559
+ /* @__PURE__ */ A(ne, {
560
560
  orientation: "horizontal",
561
561
  src: u,
562
- alt: o || "Profile photo",
562
+ alt: a || "Profile photo",
563
563
  onFileSelect: (e) => d(URL.createObjectURL(e)),
564
564
  onRemove: () => d(void 0)
565
565
  }),
566
- /* @__PURE__ */ A(x, {
566
+ /* @__PURE__ */ A(w, {
567
567
  label: "Full name",
568
568
  placeholder: "Enter your full name",
569
- value: o,
570
- onChange: (e) => s(e.target.value)
569
+ value: a,
570
+ onChange: (e) => o(e.target.value)
571
571
  }),
572
- /* @__PURE__ */ A(x, {
572
+ /* @__PURE__ */ A(w, {
573
573
  label: "Email",
574
574
  type: "email",
575
575
  placeholder: "Enter your email",
576
- value: c,
576
+ value: s,
577
577
  onChange: (e) => l(e.target.value)
578
578
  }),
579
- /* @__PURE__ */ A(D, {
579
+ /* @__PURE__ */ A(c, {
580
580
  variant: "primary",
581
581
  className: Un.save,
582
- onClick: () => i?.({
583
- name: o,
584
- email: c
582
+ onClick: () => r?.({
583
+ name: a,
584
+ email: s
585
585
  }),
586
586
  children: "Save changes"
587
587
  })
@@ -592,7 +592,7 @@ var vn = {
592
592
  compact: "_compact_g06um_16",
593
593
  title: "_title_g06um_26"
594
594
  }, Kn = ({ title: e = "Onboarding progress", items: t, variant: n = "default", className: r }) => {
595
- let i = n === "compact", a = t.map((e) => /* @__PURE__ */ A(ze, {
595
+ let i = n === "compact", a = t.map((e) => /* @__PURE__ */ A(ve, {
596
596
  label: e.label,
597
597
  value: `${e.progress}%`,
598
598
  progress: e.progress
@@ -636,7 +636,7 @@ var vn = {
636
636
  i ? qn.footerCentered : "",
637
637
  r ?? ""
638
638
  ].filter(Boolean).join(" "),
639
- children: [/* @__PURE__ */ A(E, { className: qn.divider }), i ? /* @__PURE__ */ A("p", {
639
+ children: [/* @__PURE__ */ A(T, { className: qn.divider }), i ? /* @__PURE__ */ A("p", {
640
640
  className: qn.text,
641
641
  children: e
642
642
  }) : /* @__PURE__ */ j("div", {
@@ -646,7 +646,7 @@ var vn = {
646
646
  children: e
647
647
  }), /* @__PURE__ */ A("div", {
648
648
  className: qn.links,
649
- children: t.map((e) => /* @__PURE__ */ A(s, {
649
+ children: t.map((e) => /* @__PURE__ */ A(b, {
650
650
  href: e.href,
651
651
  className: qn.link,
652
652
  children: e.label
@@ -674,52 +674,52 @@ var vn = {
674
674
  successDescription: "_successDescription_m5jgo_145",
675
675
  skeletonHeader: "_skeletonHeader_m5jgo_154"
676
676
  }, Xn = 6, Zn = ({ email: e = "sam@sakani.com", initialStatus: t = "idle", onVerify: n, onResend: r, className: i }) => {
677
- let a = t === "server-error" || t === "loading", [o, l] = O.useState(a ? [
677
+ let a = t === "server-error" || t === "loading", [o, s] = O.useState(a ? [
678
678
  "4",
679
679
  "8",
680
680
  "2",
681
681
  "9",
682
682
  "1",
683
683
  "3"
684
- ] : Array(Xn).fill("")), [u, d] = O.useState(t), f = O.useRef([]), p = (e, t) => {
685
- l((n) => {
684
+ ] : Array(Xn).fill("")), [l, u] = O.useState(t), d = O.useRef([]), f = (e, t) => {
685
+ s((n) => {
686
686
  let r = [...n];
687
687
  return r[e] = t, r;
688
688
  });
689
- }, m = (e, t) => {
690
- if (u === "loading") return;
689
+ }, p = (e, t) => {
690
+ if (l === "loading") return;
691
691
  let n = t.replace(/\D/g, "").slice(-1);
692
- p(e, n), (u === "server-error" || u === "incomplete") && d("idle"), n && e < Xn - 1 && f.current[e + 1]?.focus();
693
- }, g = (e, t) => {
694
- t.key === "Backspace" && !o[e] && e > 0 && (f.current[e - 1]?.focus(), p(e - 1, ""));
695
- }, _ = (e) => {
692
+ f(e, n), (l === "server-error" || l === "incomplete") && u("idle"), n && e < Xn - 1 && d.current[e + 1]?.focus();
693
+ }, h = (e, t) => {
694
+ t.key === "Backspace" && !o[e] && e > 0 && (d.current[e - 1]?.focus(), f(e - 1, ""));
695
+ }, g = (e) => {
696
696
  let t = e.clipboardData.getData("text").replace(/\D/g, "").slice(0, Xn).split("");
697
- t.length !== 0 && (e.preventDefault(), l((e) => {
697
+ t.length !== 0 && (e.preventDefault(), s((e) => {
698
698
  let n = [...e];
699
699
  return t.forEach((e, t) => {
700
700
  n[t] = e;
701
701
  }), n;
702
- }), f.current[Math.min(t.length, Xn - 1)]?.focus());
703
- }, v = () => {
702
+ }), d.current[Math.min(t.length, Xn - 1)]?.focus());
703
+ }, _ = () => {
704
704
  let e = o.join("");
705
705
  if (e.length < Xn) {
706
- d("incomplete");
706
+ u("incomplete");
707
707
  return;
708
708
  }
709
- d("loading"), n?.(e), setTimeout(() => d("success"), 1500);
710
- }, y = () => {
709
+ u("loading"), n?.(e), setTimeout(() => u("success"), 1500);
710
+ }, v = () => {
711
711
  r?.();
712
712
  };
713
- if (u === "skeleton") return /* @__PURE__ */ j("div", {
713
+ if (l === "skeleton") return /* @__PURE__ */ j("div", {
714
714
  className: [N.card, i ?? ""].filter(Boolean).join(" "),
715
715
  children: [
716
716
  /* @__PURE__ */ j("div", {
717
717
  className: N.skeletonHeader,
718
- children: [/* @__PURE__ */ A(T, {
718
+ children: [/* @__PURE__ */ A(E, {
719
719
  variant: "rect",
720
720
  width: 180,
721
721
  height: 26
722
- }), /* @__PURE__ */ A(T, {
722
+ }), /* @__PURE__ */ A(E, {
723
723
  variant: "rect",
724
724
  width: 280,
725
725
  height: 14
@@ -727,25 +727,25 @@ var vn = {
727
727
  }),
728
728
  /* @__PURE__ */ A("div", {
729
729
  className: N.otpRow,
730
- children: Array.from({ length: Xn }).map((e, t) => /* @__PURE__ */ A(T, {
730
+ children: Array.from({ length: Xn }).map((e, t) => /* @__PURE__ */ A(E, {
731
731
  variant: "rect",
732
732
  width: 52,
733
733
  height: 52
734
734
  }, t))
735
735
  }),
736
- /* @__PURE__ */ A(T, {
736
+ /* @__PURE__ */ A(E, {
737
737
  variant: "rect",
738
738
  width: "100%",
739
739
  height: 48
740
740
  }),
741
- /* @__PURE__ */ A(T, {
741
+ /* @__PURE__ */ A(E, {
742
742
  variant: "rect",
743
743
  width: 220,
744
744
  height: 14
745
745
  })
746
746
  ]
747
747
  });
748
- if (u === "success") return /* @__PURE__ */ j("div", {
748
+ if (l === "success") return /* @__PURE__ */ j("div", {
749
749
  className: [N.card, i ?? ""].filter(Boolean).join(" "),
750
750
  children: [
751
751
  /* @__PURE__ */ A("span", {
@@ -753,7 +753,7 @@ var vn = {
753
753
  "aria-hidden": "true",
754
754
  children: /* @__PURE__ */ A(Qe, {
755
755
  size: 24,
756
- strokeWidth: h(24)
756
+ strokeWidth: x(24)
757
757
  })
758
758
  }),
759
759
  /* @__PURE__ */ j("div", {
@@ -766,14 +766,14 @@ var vn = {
766
766
  children: "Your email address has been successfully verified."
767
767
  })]
768
768
  }),
769
- /* @__PURE__ */ A(D, {
769
+ /* @__PURE__ */ A(c, {
770
770
  variant: "primary",
771
771
  className: N.fullWidth,
772
772
  children: "Continue"
773
773
  })
774
774
  ]
775
775
  });
776
- let b = u === "server-error", ee = u === "incomplete", x = u === "loading";
776
+ let y = l === "server-error", S = l === "incomplete", C = l === "loading";
777
777
  return /* @__PURE__ */ j("div", {
778
778
  className: [N.card, i ?? ""].filter(Boolean).join(" "),
779
779
  children: [
@@ -791,7 +791,7 @@ var vn = {
791
791
  ]
792
792
  })]
793
793
  }),
794
- b && /* @__PURE__ */ A(c, {
794
+ y && /* @__PURE__ */ A(m, {
795
795
  color: "danger",
796
796
  title: "Verification failed",
797
797
  description: "That code is incorrect or has expired."
@@ -802,46 +802,46 @@ var vn = {
802
802
  className: N.otpRow,
803
803
  children: o.map((e, t) => /* @__PURE__ */ A("input", {
804
804
  ref: (e) => {
805
- f.current[t] = e;
805
+ d.current[t] = e;
806
806
  },
807
807
  type: "text",
808
808
  inputMode: "numeric",
809
809
  autoComplete: t === 0 ? "one-time-code" : "off",
810
810
  maxLength: 1,
811
811
  value: e,
812
- disabled: x,
813
- onChange: (e) => m(t, e.target.value),
814
- onKeyDown: (e) => g(t, e),
815
- onPaste: _,
812
+ disabled: C,
813
+ onChange: (e) => p(t, e.target.value),
814
+ onKeyDown: (e) => h(t, e),
815
+ onPaste: g,
816
816
  className: [
817
817
  N.otpBox,
818
- b ? N.otpBoxError : "",
819
- x ? N.otpBoxLoading : ""
818
+ y ? N.otpBoxError : "",
819
+ C ? N.otpBoxLoading : ""
820
820
  ].filter(Boolean).join(" "),
821
821
  "aria-label": `Digit ${t + 1} of ${Xn}`
822
822
  }, t))
823
- }), ee && /* @__PURE__ */ A("p", {
823
+ }), S && /* @__PURE__ */ A("p", {
824
824
  className: N.hint,
825
825
  children: "Please enter the full 6-digit code."
826
826
  })]
827
827
  }),
828
- /* @__PURE__ */ A(D, {
828
+ /* @__PURE__ */ A(c, {
829
829
  variant: "primary",
830
830
  className: N.fullWidth,
831
- loading: x,
832
- disabled: !x && o.some((e) => !e),
833
- onClick: v,
834
- children: x ? "Verifying…" : "Verify email"
831
+ loading: C,
832
+ disabled: !C && o.some((e) => !e),
833
+ onClick: _,
834
+ children: C ? "Verifying…" : "Verify email"
835
835
  }),
836
836
  /* @__PURE__ */ j("div", {
837
837
  className: N.footer,
838
838
  children: [/* @__PURE__ */ A("p", {
839
839
  className: N.footerText,
840
840
  children: "Didn’t receive a code?"
841
- }), /* @__PURE__ */ A(s, {
841
+ }), /* @__PURE__ */ A(b, {
842
842
  href: "#",
843
843
  onClick: (e) => {
844
- e.preventDefault(), y();
844
+ e.preventDefault(), v();
845
845
  },
846
846
  children: "Resend"
847
847
  })]
@@ -869,50 +869,50 @@ var vn = {
869
869
  successDescription: "_successDescription_waff5_149",
870
870
  skeletonHeader: "_skeletonHeader_waff5_158"
871
871
  }, Qn = 6, $n = ({ initialStatus: e = "idle", onVerify: t, onUseBackupCode: n, className: r }) => {
872
- let a = e === "server-error" || e === "loading", [o, l] = O.useState(a ? [
872
+ let i = e === "server-error" || e === "loading", [a, o] = O.useState(i ? [
873
873
  "4",
874
874
  "8",
875
875
  "2",
876
876
  "9",
877
877
  "1",
878
878
  "3"
879
- ] : Array(Qn).fill("")), [u, d] = O.useState(e), [f, p] = O.useState(!1), m = O.useRef([]), g = (e, t) => {
880
- l((n) => {
879
+ ] : Array(Qn).fill("")), [s, l] = O.useState(e), [u, d] = O.useState(!1), f = O.useRef([]), p = (e, t) => {
880
+ o((n) => {
881
881
  let r = [...n];
882
882
  return r[e] = t, r;
883
883
  });
884
- }, _ = (e, t) => {
885
- if (u === "loading") return;
884
+ }, h = (e, t) => {
885
+ if (s === "loading") return;
886
886
  let n = t.replace(/\D/g, "").slice(-1);
887
- g(e, n), (u === "server-error" || u === "incomplete") && d("idle"), n && e < Qn - 1 && m.current[e + 1]?.focus();
888
- }, v = (e, t) => {
889
- t.key === "Backspace" && !o[e] && e > 0 && (m.current[e - 1]?.focus(), g(e - 1, ""));
890
- }, y = (e) => {
887
+ p(e, n), (s === "server-error" || s === "incomplete") && l("idle"), n && e < Qn - 1 && f.current[e + 1]?.focus();
888
+ }, g = (e, t) => {
889
+ t.key === "Backspace" && !a[e] && e > 0 && (f.current[e - 1]?.focus(), p(e - 1, ""));
890
+ }, _ = (e) => {
891
891
  let t = e.clipboardData.getData("text").replace(/\D/g, "").slice(0, Qn).split("");
892
- t.length !== 0 && (e.preventDefault(), l((e) => {
892
+ t.length !== 0 && (e.preventDefault(), o((e) => {
893
893
  let n = [...e];
894
894
  return t.forEach((e, t) => {
895
895
  n[t] = e;
896
896
  }), n;
897
- }), m.current[Math.min(t.length, Qn - 1)]?.focus());
898
- }, b = () => {
899
- let e = o.join("");
897
+ }), f.current[Math.min(t.length, Qn - 1)]?.focus());
898
+ }, v = () => {
899
+ let e = a.join("");
900
900
  if (e.length < Qn) {
901
- d("incomplete");
901
+ l("incomplete");
902
902
  return;
903
903
  }
904
- d("loading"), t?.(e, f), setTimeout(() => d("success"), 1500);
904
+ l("loading"), t?.(e, u), setTimeout(() => l("success"), 1500);
905
905
  };
906
- if (u === "skeleton") return /* @__PURE__ */ j("div", {
906
+ if (s === "skeleton") return /* @__PURE__ */ j("div", {
907
907
  className: [P.card, r ?? ""].filter(Boolean).join(" "),
908
908
  children: [
909
909
  /* @__PURE__ */ j("div", {
910
910
  className: P.skeletonHeader,
911
- children: [/* @__PURE__ */ A(T, {
911
+ children: [/* @__PURE__ */ A(E, {
912
912
  variant: "rect",
913
913
  width: 260,
914
914
  height: 26
915
- }), /* @__PURE__ */ A(T, {
915
+ }), /* @__PURE__ */ A(E, {
916
916
  variant: "rect",
917
917
  width: 320,
918
918
  height: 14
@@ -920,30 +920,30 @@ var vn = {
920
920
  }),
921
921
  /* @__PURE__ */ A("div", {
922
922
  className: P.otpRow,
923
- children: Array.from({ length: Qn }).map((e, t) => /* @__PURE__ */ A(T, {
923
+ children: Array.from({ length: Qn }).map((e, t) => /* @__PURE__ */ A(E, {
924
924
  variant: "rect",
925
925
  width: 52,
926
926
  height: 52
927
927
  }, t))
928
928
  }),
929
- /* @__PURE__ */ A(T, {
929
+ /* @__PURE__ */ A(E, {
930
930
  variant: "rect",
931
931
  width: 220,
932
932
  height: 18
933
933
  }),
934
- /* @__PURE__ */ A(T, {
934
+ /* @__PURE__ */ A(E, {
935
935
  variant: "rect",
936
936
  width: "100%",
937
937
  height: 48
938
938
  }),
939
- /* @__PURE__ */ A(T, {
939
+ /* @__PURE__ */ A(E, {
940
940
  variant: "rect",
941
941
  width: 220,
942
942
  height: 14
943
943
  })
944
944
  ]
945
945
  });
946
- if (u === "success") return /* @__PURE__ */ j("div", {
946
+ if (s === "success") return /* @__PURE__ */ j("div", {
947
947
  className: [P.card, r ?? ""].filter(Boolean).join(" "),
948
948
  children: [
949
949
  /* @__PURE__ */ A("span", {
@@ -951,7 +951,7 @@ var vn = {
951
951
  "aria-hidden": "true",
952
952
  children: /* @__PURE__ */ A(Qe, {
953
953
  size: 24,
954
- strokeWidth: h(24)
954
+ strokeWidth: x(24)
955
955
  })
956
956
  }),
957
957
  /* @__PURE__ */ j("div", {
@@ -964,14 +964,14 @@ var vn = {
964
964
  children: "Two-factor authentication confirmed for this session."
965
965
  })]
966
966
  }),
967
- /* @__PURE__ */ A(D, {
967
+ /* @__PURE__ */ A(c, {
968
968
  variant: "primary",
969
969
  className: P.fullWidth,
970
970
  children: "Continue"
971
971
  })
972
972
  ]
973
973
  });
974
- let ee = u === "server-error", x = u === "incomplete", S = u === "loading";
974
+ let y = s === "server-error", S = s === "incomplete", C = s === "loading";
975
975
  return /* @__PURE__ */ j("div", {
976
976
  className: [P.card, r ?? ""].filter(Boolean).join(" "),
977
977
  children: [
@@ -985,7 +985,7 @@ var vn = {
985
985
  children: "Enter the 6-digit code from your authenticator app."
986
986
  })]
987
987
  }),
988
- ee && /* @__PURE__ */ A(c, {
988
+ y && /* @__PURE__ */ A(m, {
989
989
  color: "danger",
990
990
  title: "Verification failed",
991
991
  description: "That code is incorrect or has expired."
@@ -994,52 +994,52 @@ var vn = {
994
994
  className: P.otpBlock,
995
995
  children: [/* @__PURE__ */ A("div", {
996
996
  className: P.otpRow,
997
- children: o.map((e, t) => /* @__PURE__ */ A("input", {
997
+ children: a.map((e, t) => /* @__PURE__ */ A("input", {
998
998
  ref: (e) => {
999
- m.current[t] = e;
999
+ f.current[t] = e;
1000
1000
  },
1001
1001
  type: "text",
1002
1002
  inputMode: "numeric",
1003
1003
  autoComplete: t === 0 ? "one-time-code" : "off",
1004
1004
  maxLength: 1,
1005
1005
  value: e,
1006
- disabled: S,
1007
- onChange: (e) => _(t, e.target.value),
1008
- onKeyDown: (e) => v(t, e),
1009
- onPaste: y,
1006
+ disabled: C,
1007
+ onChange: (e) => h(t, e.target.value),
1008
+ onKeyDown: (e) => g(t, e),
1009
+ onPaste: _,
1010
1010
  className: [
1011
1011
  P.otpBox,
1012
- ee ? P.otpBoxError : "",
1013
- S ? P.otpBoxLoading : ""
1012
+ y ? P.otpBoxError : "",
1013
+ C ? P.otpBoxLoading : ""
1014
1014
  ].filter(Boolean).join(" "),
1015
1015
  "aria-label": `Digit ${t + 1} of ${Qn}`
1016
1016
  }, t))
1017
- }), x && /* @__PURE__ */ A("p", {
1017
+ }), S && /* @__PURE__ */ A("p", {
1018
1018
  className: P.hint,
1019
1019
  children: "Please enter the full 6-digit code."
1020
1020
  })]
1021
1021
  }),
1022
- /* @__PURE__ */ A(i, {
1022
+ /* @__PURE__ */ A(Te, {
1023
1023
  label: "Trust this device for 30 days",
1024
- checked: f,
1025
- disabled: S,
1026
- onChange: (e) => p(e.target.checked),
1024
+ checked: u,
1025
+ disabled: C,
1026
+ onChange: (e) => d(e.target.checked),
1027
1027
  className: P.checkboxRow
1028
1028
  }),
1029
- /* @__PURE__ */ A(D, {
1029
+ /* @__PURE__ */ A(c, {
1030
1030
  variant: "primary",
1031
1031
  className: P.fullWidth,
1032
- loading: S,
1033
- disabled: !S && o.some((e) => !e),
1034
- onClick: b,
1035
- children: S ? "Verifying…" : "Verify"
1032
+ loading: C,
1033
+ disabled: !C && a.some((e) => !e),
1034
+ onClick: v,
1035
+ children: C ? "Verifying…" : "Verify"
1036
1036
  }),
1037
1037
  /* @__PURE__ */ j("div", {
1038
1038
  className: P.footer,
1039
1039
  children: [/* @__PURE__ */ A("p", {
1040
1040
  className: P.footerText,
1041
1041
  children: "Lost your device?"
1042
- }), /* @__PURE__ */ A(s, {
1042
+ }), /* @__PURE__ */ A(b, {
1043
1043
  href: "#",
1044
1044
  onClick: (e) => {
1045
1045
  e.preventDefault(), n?.();
@@ -1061,46 +1061,46 @@ var vn = {
1061
1061
  centeredHeader: "_centeredHeader_1i7ns_74",
1062
1062
  skeletonHeader: "_skeletonHeader_1i7ns_89"
1063
1063
  }, er = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, tr = ({ initialStatus: e = "idle", initialEmail: t = "", onSubmit: n, onResend: r, onLogIn: i, className: a }) => {
1064
- let [o, l] = O.useState(t || (e === "server-error" || e === "loading" ? "sam@sakani.com" : "")), [u, d] = O.useState(e), f = () => {
1064
+ let [o, s] = O.useState(t || (e === "server-error" || e === "loading" ? "sam@sakani.com" : "")), [l, u] = O.useState(e), d = () => {
1065
1065
  if (!er.test(o)) {
1066
- d("invalid-email");
1066
+ u("invalid-email");
1067
1067
  return;
1068
1068
  }
1069
- d("loading"), n?.(o), setTimeout(() => d("sent"), 1500);
1069
+ u("loading"), n?.(o), setTimeout(() => u("sent"), 1500);
1070
1070
  };
1071
- if (u === "skeleton") return /* @__PURE__ */ j("div", {
1071
+ if (l === "skeleton") return /* @__PURE__ */ j("div", {
1072
1072
  className: [F.card, a ?? ""].filter(Boolean).join(" "),
1073
1073
  children: [
1074
1074
  /* @__PURE__ */ j("div", {
1075
1075
  className: F.skeletonHeader,
1076
- children: [/* @__PURE__ */ A(T, {
1076
+ children: [/* @__PURE__ */ A(E, {
1077
1077
  variant: "rect",
1078
1078
  width: 180,
1079
1079
  height: 26
1080
- }), /* @__PURE__ */ A(T, {
1080
+ }), /* @__PURE__ */ A(E, {
1081
1081
  variant: "rect",
1082
1082
  width: 280,
1083
1083
  height: 14
1084
1084
  })]
1085
1085
  }),
1086
- /* @__PURE__ */ A(T, {
1086
+ /* @__PURE__ */ A(E, {
1087
1087
  variant: "rect",
1088
1088
  width: "100%",
1089
1089
  height: 66
1090
1090
  }),
1091
- /* @__PURE__ */ A(T, {
1091
+ /* @__PURE__ */ A(E, {
1092
1092
  variant: "rect",
1093
1093
  width: "100%",
1094
1094
  height: 48
1095
1095
  }),
1096
- /* @__PURE__ */ A(T, {
1096
+ /* @__PURE__ */ A(E, {
1097
1097
  variant: "rect",
1098
1098
  width: 220,
1099
1099
  height: 14
1100
1100
  })
1101
1101
  ]
1102
1102
  });
1103
- if (u === "sent") return /* @__PURE__ */ j("div", {
1103
+ if (l === "sent") return /* @__PURE__ */ j("div", {
1104
1104
  className: [F.card, a ?? ""].filter(Boolean).join(" "),
1105
1105
  children: [
1106
1106
  /* @__PURE__ */ A("span", {
@@ -1108,7 +1108,7 @@ var vn = {
1108
1108
  "aria-hidden": "true",
1109
1109
  children: /* @__PURE__ */ A(xt, {
1110
1110
  size: 24,
1111
- strokeWidth: h(24)
1111
+ strokeWidth: x(24)
1112
1112
  })
1113
1113
  }),
1114
1114
  /* @__PURE__ */ j("div", {
@@ -1125,13 +1125,13 @@ var vn = {
1125
1125
  ]
1126
1126
  })]
1127
1127
  }),
1128
- /* @__PURE__ */ A(D, {
1128
+ /* @__PURE__ */ A(c, {
1129
1129
  variant: "secondary",
1130
1130
  className: F.fullWidth,
1131
1131
  onClick: () => r?.(),
1132
1132
  children: "Resend email"
1133
1133
  }),
1134
- /* @__PURE__ */ A(s, {
1134
+ /* @__PURE__ */ A(b, {
1135
1135
  href: "#",
1136
1136
  onClick: (e) => {
1137
1137
  e.preventDefault(), i?.();
@@ -1140,7 +1140,7 @@ var vn = {
1140
1140
  })
1141
1141
  ]
1142
1142
  });
1143
- let p = u === "server-error", m = u === "loading", g = u === "invalid-email" ? "Please enter a valid email address." : void 0;
1143
+ let f = l === "server-error", p = l === "loading", h = l === "invalid-email" ? "Please enter a valid email address." : void 0;
1144
1144
  return /* @__PURE__ */ j("div", {
1145
1145
  className: [F.card, a ?? ""].filter(Boolean).join(" "),
1146
1146
  children: [
@@ -1154,38 +1154,38 @@ var vn = {
1154
1154
  children: "Enter your email and we’ll send you a link to reset your password."
1155
1155
  })]
1156
1156
  }),
1157
- p && /* @__PURE__ */ A(c, {
1157
+ f && /* @__PURE__ */ A(m, {
1158
1158
  color: "danger",
1159
1159
  title: "Something went wrong",
1160
1160
  description: "We couldn't process your request. Please try again."
1161
1161
  }),
1162
- /* @__PURE__ */ A(x, {
1162
+ /* @__PURE__ */ A(w, {
1163
1163
  label: "Email",
1164
1164
  type: "email",
1165
1165
  placeholder: "Enter your email",
1166
1166
  leadingIcon: /* @__PURE__ */ A(Tt, {}),
1167
1167
  value: o,
1168
- disabled: m,
1169
- error: g,
1168
+ disabled: p,
1169
+ error: h,
1170
1170
  onChange: (e) => {
1171
- l(e.target.value), u !== "idle" && d("idle");
1171
+ s(e.target.value), l !== "idle" && u("idle");
1172
1172
  },
1173
1173
  className: F.fullWidth
1174
1174
  }),
1175
- /* @__PURE__ */ A(D, {
1175
+ /* @__PURE__ */ A(c, {
1176
1176
  variant: "primary",
1177
1177
  className: F.fullWidth,
1178
- loading: m,
1179
- disabled: !m && o.trim() === "",
1180
- onClick: f,
1181
- children: m ? "Sending link…" : "Send reset link"
1178
+ loading: p,
1179
+ disabled: !p && o.trim() === "",
1180
+ onClick: d,
1181
+ children: p ? "Sending link…" : "Send reset link"
1182
1182
  }),
1183
1183
  /* @__PURE__ */ j("div", {
1184
1184
  className: F.footer,
1185
1185
  children: [/* @__PURE__ */ A("p", {
1186
1186
  className: F.footerText,
1187
1187
  children: "Remember your password?"
1188
- }), /* @__PURE__ */ A(s, {
1188
+ }), /* @__PURE__ */ A(b, {
1189
1189
  href: "#",
1190
1190
  onClick: (e) => {
1191
1191
  e.preventDefault(), i?.();
@@ -1235,7 +1235,7 @@ var vn = {
1235
1235
  "aria-hidden": "true",
1236
1236
  children: /* @__PURE__ */ A(It, {
1237
1237
  size: 16,
1238
- strokeWidth: h(16)
1238
+ strokeWidth: x(16)
1239
1239
  })
1240
1240
  }),
1241
1241
  /* @__PURE__ */ A("input", {
@@ -1257,7 +1257,7 @@ var vn = {
1257
1257
  "aria-label": s ? "Hide password" : "Show password",
1258
1258
  children: A(s ? Xe : Ze, {
1259
1259
  size: 16,
1260
- strokeWidth: h(16)
1260
+ strokeWidth: x(16)
1261
1261
  })
1262
1262
  })
1263
1263
  ]
@@ -1270,12 +1270,12 @@ var vn = {
1270
1270
  ]
1271
1271
  });
1272
1272
  }, rr = ({ initialStatus: e = "idle", onSubmit: t, onRequestNewLink: n, onLogIn: r, className: i }) => {
1273
- let [a, o] = O.useState(""), [c, l] = O.useState(e === "mismatch" ? "different-password" : ""), [u, d] = O.useState(e);
1273
+ let [a, o] = O.useState(""), [s, l] = O.useState(e === "mismatch" ? "different-password" : ""), [u, d] = O.useState(e);
1274
1274
  O.useEffect(() => {
1275
1275
  e === "mismatch" && o("my-new-password");
1276
1276
  }, [e]);
1277
1277
  let f = () => {
1278
- if (a !== c) {
1278
+ if (a !== s) {
1279
1279
  d("mismatch");
1280
1280
  return;
1281
1281
  }
@@ -1286,27 +1286,27 @@ var vn = {
1286
1286
  children: [
1287
1287
  /* @__PURE__ */ j("div", {
1288
1288
  className: I.skeletonHeader,
1289
- children: [/* @__PURE__ */ A(T, {
1289
+ children: [/* @__PURE__ */ A(E, {
1290
1290
  variant: "rect",
1291
1291
  width: 220,
1292
1292
  height: 26
1293
- }), /* @__PURE__ */ A(T, {
1293
+ }), /* @__PURE__ */ A(E, {
1294
1294
  variant: "rect",
1295
1295
  width: 320,
1296
1296
  height: 14
1297
1297
  })]
1298
1298
  }),
1299
- /* @__PURE__ */ A(T, {
1299
+ /* @__PURE__ */ A(E, {
1300
1300
  variant: "rect",
1301
1301
  width: "100%",
1302
1302
  height: 66
1303
1303
  }),
1304
- /* @__PURE__ */ A(T, {
1304
+ /* @__PURE__ */ A(E, {
1305
1305
  variant: "rect",
1306
1306
  width: "100%",
1307
1307
  height: 66
1308
1308
  }),
1309
- /* @__PURE__ */ A(T, {
1309
+ /* @__PURE__ */ A(E, {
1310
1310
  variant: "rect",
1311
1311
  width: "100%",
1312
1312
  height: 48
@@ -1321,7 +1321,7 @@ var vn = {
1321
1321
  "aria-hidden": "true",
1322
1322
  children: /* @__PURE__ */ A(Pt, {
1323
1323
  size: 24,
1324
- strokeWidth: h(24)
1324
+ strokeWidth: x(24)
1325
1325
  })
1326
1326
  }),
1327
1327
  /* @__PURE__ */ j("div", {
@@ -1334,13 +1334,13 @@ var vn = {
1334
1334
  children: "This password reset link is invalid or has expired. Please request a new one."
1335
1335
  })]
1336
1336
  }),
1337
- /* @__PURE__ */ A(D, {
1337
+ /* @__PURE__ */ A(c, {
1338
1338
  variant: "primary",
1339
1339
  className: I.fullWidth,
1340
1340
  onClick: () => n?.(),
1341
1341
  children: "Request new link"
1342
1342
  }),
1343
- /* @__PURE__ */ A(s, {
1343
+ /* @__PURE__ */ A(b, {
1344
1344
  href: "#",
1345
1345
  onClick: (e) => {
1346
1346
  e.preventDefault(), r?.();
@@ -1357,7 +1357,7 @@ var vn = {
1357
1357
  "aria-hidden": "true",
1358
1358
  children: /* @__PURE__ */ A(ft, {
1359
1359
  size: 24,
1360
- strokeWidth: h(24)
1360
+ strokeWidth: x(24)
1361
1361
  })
1362
1362
  }),
1363
1363
  /* @__PURE__ */ j("div", {
@@ -1370,7 +1370,7 @@ var vn = {
1370
1370
  children: "Your password has been changed successfully."
1371
1371
  })]
1372
1372
  }),
1373
- /* @__PURE__ */ A(D, {
1373
+ /* @__PURE__ */ A(c, {
1374
1374
  variant: "primary",
1375
1375
  className: I.fullWidth,
1376
1376
  onClick: () => r?.(),
@@ -1378,7 +1378,7 @@ var vn = {
1378
1378
  })
1379
1379
  ]
1380
1380
  });
1381
- let p = u === "loading", m = u === "mismatch", g = a.trim() !== "" && c.trim() !== "";
1381
+ let p = u === "loading", m = u === "mismatch", h = a.trim() !== "" && s.trim() !== "";
1382
1382
  return /* @__PURE__ */ j("div", {
1383
1383
  className: [I.card, i ?? ""].filter(Boolean).join(" "),
1384
1384
  children: [
@@ -1406,18 +1406,18 @@ var vn = {
1406
1406
  id: "reset-confirm-password",
1407
1407
  label: "Confirm new password",
1408
1408
  placeholder: "Re-enter your new password",
1409
- value: c,
1409
+ value: s,
1410
1410
  disabled: p,
1411
1411
  error: m ? "Passwords do not match." : void 0,
1412
1412
  onChange: (e) => {
1413
1413
  l(e), m && d("idle");
1414
1414
  }
1415
1415
  }),
1416
- /* @__PURE__ */ A(D, {
1416
+ /* @__PURE__ */ A(c, {
1417
1417
  variant: "primary",
1418
1418
  className: I.fullWidth,
1419
1419
  loading: p,
1420
- disabled: !p && !g,
1420
+ disabled: !p && !h,
1421
1421
  onClick: f,
1422
1422
  children: p ? "Updating…" : "Update password"
1423
1423
  })
@@ -1448,55 +1448,55 @@ var vn = {
1448
1448
  skeletonHeader: "_skeletonHeader_1ymnl_185",
1449
1449
  skeletonRow: "_skeletonRow_1ymnl_190",
1450
1450
  skeletonSocialRow: "_skeletonSocialRow_1ymnl_195"
1451
- }, ir = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, ar = ({ initialStatus: e = "idle", initialEmail: t = "", socialProviders: n = [], onSubmit: r, onForgotPassword: a, onSignUp: o, className: l }) => {
1452
- let [u, d] = O.useState(t || (e === "server-error" || e === "loading" ? "sam@sakani.com" : "")), [f, p] = O.useState(""), [m, g] = O.useState(!1), [_, v] = O.useState(!1), [y, b] = O.useState(e), ee = () => {
1453
- if (!ir.test(u)) {
1454
- b("validation-error");
1451
+ }, ir = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, ar = ({ initialStatus: e = "idle", initialEmail: t = "", socialProviders: n = [], onSubmit: r, onForgotPassword: i, onSignUp: a, className: o }) => {
1452
+ let [s, l] = O.useState(t || (e === "server-error" || e === "loading" ? "sam@sakani.com" : "")), [u, d] = O.useState(""), [f, p] = O.useState(!1), [h, g] = O.useState(!1), [_, v] = O.useState(e), y = () => {
1453
+ if (!ir.test(s)) {
1454
+ v("validation-error");
1455
1455
  return;
1456
1456
  }
1457
- b("loading"), r?.(u, f, m), setTimeout(() => {
1458
- p(""), b("server-error");
1457
+ v("loading"), r?.(s, u, f), setTimeout(() => {
1458
+ d(""), v("server-error");
1459
1459
  }, 1500);
1460
1460
  };
1461
- if (y === "skeleton") return /* @__PURE__ */ j("div", {
1462
- className: [L.card, l ?? ""].filter(Boolean).join(" "),
1461
+ if (_ === "skeleton") return /* @__PURE__ */ j("div", {
1462
+ className: [L.card, o ?? ""].filter(Boolean).join(" "),
1463
1463
  children: [
1464
1464
  /* @__PURE__ */ j("div", {
1465
1465
  className: L.skeletonHeader,
1466
- children: [/* @__PURE__ */ A(T, {
1466
+ children: [/* @__PURE__ */ A(E, {
1467
1467
  variant: "rect",
1468
1468
  width: 180,
1469
1469
  height: 26
1470
- }), /* @__PURE__ */ A(T, {
1470
+ }), /* @__PURE__ */ A(E, {
1471
1471
  variant: "rect",
1472
1472
  width: 280,
1473
1473
  height: 14
1474
1474
  })]
1475
1475
  }),
1476
- /* @__PURE__ */ A(T, {
1476
+ /* @__PURE__ */ A(E, {
1477
1477
  variant: "rect",
1478
1478
  width: "100%",
1479
1479
  height: 66
1480
1480
  }),
1481
- /* @__PURE__ */ A(T, {
1481
+ /* @__PURE__ */ A(E, {
1482
1482
  variant: "rect",
1483
1483
  width: "100%",
1484
1484
  height: 66
1485
1485
  }),
1486
1486
  /* @__PURE__ */ A("div", {
1487
1487
  className: L.skeletonRow,
1488
- children: /* @__PURE__ */ A(T, {
1488
+ children: /* @__PURE__ */ A(E, {
1489
1489
  variant: "rect",
1490
1490
  width: 120,
1491
1491
  height: 14
1492
1492
  })
1493
1493
  }),
1494
- /* @__PURE__ */ A(T, {
1494
+ /* @__PURE__ */ A(E, {
1495
1495
  variant: "rect",
1496
1496
  width: 180,
1497
1497
  height: 18
1498
1498
  }),
1499
- /* @__PURE__ */ A(T, {
1499
+ /* @__PURE__ */ A(E, {
1500
1500
  variant: "rect",
1501
1501
  width: "100%",
1502
1502
  height: 48
@@ -1504,33 +1504,33 @@ var vn = {
1504
1504
  /* @__PURE__ */ j("div", {
1505
1505
  className: L.skeletonSocialRow,
1506
1506
  children: [
1507
- /* @__PURE__ */ A(T, {
1507
+ /* @__PURE__ */ A(E, {
1508
1508
  variant: "rect",
1509
1509
  width: 112,
1510
1510
  height: 44
1511
1511
  }),
1512
- /* @__PURE__ */ A(T, {
1512
+ /* @__PURE__ */ A(E, {
1513
1513
  variant: "rect",
1514
1514
  width: 112,
1515
1515
  height: 44
1516
1516
  }),
1517
- /* @__PURE__ */ A(T, {
1517
+ /* @__PURE__ */ A(E, {
1518
1518
  variant: "rect",
1519
1519
  width: 112,
1520
1520
  height: 44
1521
1521
  })
1522
1522
  ]
1523
1523
  }),
1524
- /* @__PURE__ */ A(T, {
1524
+ /* @__PURE__ */ A(E, {
1525
1525
  variant: "rect",
1526
1526
  width: 200,
1527
1527
  height: 14
1528
1528
  })
1529
1529
  ]
1530
1530
  });
1531
- let S = y === "server-error", C = y === "loading", te = y === "validation-error" ? "Please enter a valid email address." : void 0;
1531
+ let S = _ === "server-error", C = _ === "loading", ee = _ === "validation-error" ? "Please enter a valid email address." : void 0;
1532
1532
  return /* @__PURE__ */ j("div", {
1533
- className: [L.card, l ?? ""].filter(Boolean).join(" "),
1533
+ className: [L.card, o ?? ""].filter(Boolean).join(" "),
1534
1534
  children: [
1535
1535
  /* @__PURE__ */ j("div", {
1536
1536
  className: L.header,
@@ -1542,21 +1542,21 @@ var vn = {
1542
1542
  children: "Enter your credentials to access your account"
1543
1543
  })]
1544
1544
  }),
1545
- S && /* @__PURE__ */ A(c, {
1545
+ S && /* @__PURE__ */ A(m, {
1546
1546
  color: "danger",
1547
1547
  title: "Login failed",
1548
1548
  description: "The email or password you entered is incorrect."
1549
1549
  }),
1550
- /* @__PURE__ */ A(x, {
1550
+ /* @__PURE__ */ A(w, {
1551
1551
  label: "Email",
1552
1552
  type: "email",
1553
1553
  placeholder: "Enter your email",
1554
1554
  leadingIcon: /* @__PURE__ */ A(Tt, {}),
1555
- value: u,
1555
+ value: s,
1556
1556
  disabled: C,
1557
- error: te,
1557
+ error: ee,
1558
1558
  onChange: (e) => {
1559
- d(e.target.value), y !== "idle" && b("idle");
1559
+ l(e.target.value), _ !== "idle" && v("idle");
1560
1560
  },
1561
1561
  className: L.fullWidth
1562
1562
  }),
@@ -1578,29 +1578,29 @@ var vn = {
1578
1578
  "aria-hidden": "true",
1579
1579
  children: /* @__PURE__ */ A(It, {
1580
1580
  size: 16,
1581
- strokeWidth: h(16)
1581
+ strokeWidth: x(16)
1582
1582
  })
1583
1583
  }),
1584
1584
  /* @__PURE__ */ A("input", {
1585
1585
  id: "login-password",
1586
- type: _ ? "text" : "password",
1586
+ type: h ? "text" : "password",
1587
1587
  placeholder: "Enter your password",
1588
- value: f,
1588
+ value: u,
1589
1589
  disabled: C,
1590
1590
  onChange: (e) => {
1591
- p(e.target.value), S && b("idle");
1591
+ d(e.target.value), S && v("idle");
1592
1592
  },
1593
1593
  className: L.fieldControl
1594
1594
  }),
1595
1595
  /* @__PURE__ */ A("button", {
1596
1596
  type: "button",
1597
1597
  className: L.visibilityToggle,
1598
- onClick: () => v((e) => !e),
1598
+ onClick: () => g((e) => !e),
1599
1599
  disabled: C,
1600
- "aria-label": _ ? "Hide password" : "Show password",
1601
- children: A(_ ? Xe : Ze, {
1600
+ "aria-label": h ? "Hide password" : "Show password",
1601
+ children: A(h ? Xe : Ze, {
1602
1602
  size: 16,
1603
- strokeWidth: h(16)
1603
+ strokeWidth: x(16)
1604
1604
  })
1605
1605
  })
1606
1606
  ]
@@ -1608,36 +1608,36 @@ var vn = {
1608
1608
  }),
1609
1609
  /* @__PURE__ */ A("div", {
1610
1610
  className: L.forgotRow,
1611
- children: /* @__PURE__ */ A(s, {
1611
+ children: /* @__PURE__ */ A(b, {
1612
1612
  href: "#",
1613
1613
  onClick: (e) => {
1614
- e.preventDefault(), a?.();
1614
+ e.preventDefault(), i?.();
1615
1615
  },
1616
1616
  children: "Forgot password?"
1617
1617
  })
1618
1618
  }),
1619
- /* @__PURE__ */ A(i, {
1619
+ /* @__PURE__ */ A(Te, {
1620
1620
  label: "Remember me for 30 days",
1621
- checked: m,
1621
+ checked: f,
1622
1622
  disabled: C,
1623
- onChange: (e) => g(e.target.checked)
1623
+ onChange: (e) => p(e.target.checked)
1624
1624
  }),
1625
- /* @__PURE__ */ A(D, {
1625
+ /* @__PURE__ */ A(c, {
1626
1626
  variant: "primary",
1627
1627
  className: L.fullWidth,
1628
1628
  loading: C,
1629
- onClick: ee,
1629
+ onClick: y,
1630
1630
  children: C ? "Logging in…" : "Log in"
1631
1631
  }),
1632
1632
  n.length > 0 && /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ j("div", {
1633
1633
  className: L.dividerRow,
1634
1634
  children: [
1635
- /* @__PURE__ */ A(E, { className: L.dividerLine }),
1635
+ /* @__PURE__ */ A(T, { className: L.dividerLine }),
1636
1636
  /* @__PURE__ */ A("span", {
1637
1637
  className: L.dividerLabel,
1638
1638
  children: "OR CONTINUE WITH"
1639
1639
  }),
1640
- /* @__PURE__ */ A(E, { className: L.dividerLine })
1640
+ /* @__PURE__ */ A(T, { className: L.dividerLine })
1641
1641
  ]
1642
1642
  }), /* @__PURE__ */ A("div", {
1643
1643
  className: L.socialRow,
@@ -1655,10 +1655,10 @@ var vn = {
1655
1655
  children: [/* @__PURE__ */ A("p", {
1656
1656
  className: L.footerText,
1657
1657
  children: "Don’t have an account?"
1658
- }), /* @__PURE__ */ A(s, {
1658
+ }), /* @__PURE__ */ A(b, {
1659
1659
  href: "#",
1660
1660
  onClick: (e) => {
1661
- e.preventDefault(), o?.();
1661
+ e.preventDefault(), a?.();
1662
1662
  },
1663
1663
  children: "Sign up"
1664
1664
  })]
@@ -1711,7 +1711,7 @@ var vn = {
1711
1711
  "aria-hidden": "true",
1712
1712
  children: /* @__PURE__ */ A(It, {
1713
1713
  size: 16,
1714
- strokeWidth: h(16)
1714
+ strokeWidth: x(16)
1715
1715
  })
1716
1716
  }),
1717
1717
  /* @__PURE__ */ A("input", {
@@ -1733,7 +1733,7 @@ var vn = {
1733
1733
  "aria-label": s ? "Hide password" : "Show password",
1734
1734
  children: A(s ? Xe : Ze, {
1735
1735
  size: 16,
1736
- strokeWidth: h(16)
1736
+ strokeWidth: x(16)
1737
1737
  })
1738
1738
  })
1739
1739
  ]
@@ -1745,59 +1745,59 @@ var vn = {
1745
1745
  })
1746
1746
  ]
1747
1747
  });
1748
- }, sr = ({ initialStatus: e = "idle", socialProviders: t = [], onSubmit: n, onLogIn: r, className: a }) => {
1749
- let o = e === "server-error" || e === "loading", [l, u] = O.useState(o ? "Sam Okpere" : ""), [d, f] = O.useState(o ? "sam@sakani.com" : ""), [p, m] = O.useState(o ? "my-password" : ""), [h, g] = O.useState(e === "validation-error" ? "different-password" : o ? "my-password" : ""), [_, v] = O.useState(!1), [y, b] = O.useState(e), ee = () => {
1750
- if (p !== h) {
1751
- b("validation-error");
1748
+ }, sr = ({ initialStatus: e = "idle", socialProviders: t = [], onSubmit: n, onLogIn: r, className: i }) => {
1749
+ let a = e === "server-error" || e === "loading", [o, s] = O.useState(a ? "Sam Okpere" : ""), [l, u] = O.useState(a ? "sam@sakani.com" : ""), [d, f] = O.useState(a ? "my-password" : ""), [p, h] = O.useState(e === "validation-error" ? "different-password" : a ? "my-password" : ""), [g, _] = O.useState(!1), [v, y] = O.useState(e), x = () => {
1750
+ if (d !== p) {
1751
+ y("validation-error");
1752
1752
  return;
1753
1753
  }
1754
- b("loading"), n?.({
1755
- fullName: l,
1756
- email: d,
1757
- password: p
1758
- }), setTimeout(() => b("server-error"), 1500);
1754
+ y("loading"), n?.({
1755
+ fullName: o,
1756
+ email: l,
1757
+ password: d
1758
+ }), setTimeout(() => y("server-error"), 1500);
1759
1759
  };
1760
- if (y === "skeleton") return /* @__PURE__ */ j("div", {
1761
- className: [R.card, a ?? ""].filter(Boolean).join(" "),
1760
+ if (v === "skeleton") return /* @__PURE__ */ j("div", {
1761
+ className: [R.card, i ?? ""].filter(Boolean).join(" "),
1762
1762
  children: [
1763
1763
  /* @__PURE__ */ j("div", {
1764
1764
  className: R.skeletonHeader,
1765
- children: [/* @__PURE__ */ A(T, {
1765
+ children: [/* @__PURE__ */ A(E, {
1766
1766
  variant: "rect",
1767
1767
  width: 180,
1768
1768
  height: 26
1769
- }), /* @__PURE__ */ A(T, {
1769
+ }), /* @__PURE__ */ A(E, {
1770
1770
  variant: "rect",
1771
1771
  width: 280,
1772
1772
  height: 14
1773
1773
  })]
1774
1774
  }),
1775
- /* @__PURE__ */ A(T, {
1775
+ /* @__PURE__ */ A(E, {
1776
1776
  variant: "rect",
1777
1777
  width: "100%",
1778
1778
  height: 66
1779
1779
  }),
1780
- /* @__PURE__ */ A(T, {
1780
+ /* @__PURE__ */ A(E, {
1781
1781
  variant: "rect",
1782
1782
  width: "100%",
1783
1783
  height: 66
1784
1784
  }),
1785
- /* @__PURE__ */ A(T, {
1785
+ /* @__PURE__ */ A(E, {
1786
1786
  variant: "rect",
1787
1787
  width: "100%",
1788
1788
  height: 66
1789
1789
  }),
1790
- /* @__PURE__ */ A(T, {
1790
+ /* @__PURE__ */ A(E, {
1791
1791
  variant: "rect",
1792
1792
  width: "100%",
1793
1793
  height: 66
1794
1794
  }),
1795
- /* @__PURE__ */ A(T, {
1795
+ /* @__PURE__ */ A(E, {
1796
1796
  variant: "rect",
1797
1797
  width: 280,
1798
1798
  height: 18
1799
1799
  }),
1800
- /* @__PURE__ */ A(T, {
1800
+ /* @__PURE__ */ A(E, {
1801
1801
  variant: "rect",
1802
1802
  width: "100%",
1803
1803
  height: 48
@@ -1805,33 +1805,33 @@ var vn = {
1805
1805
  /* @__PURE__ */ j("div", {
1806
1806
  className: R.skeletonSocialRow,
1807
1807
  children: [
1808
- /* @__PURE__ */ A(T, {
1808
+ /* @__PURE__ */ A(E, {
1809
1809
  variant: "rect",
1810
1810
  width: 112,
1811
1811
  height: 44
1812
1812
  }),
1813
- /* @__PURE__ */ A(T, {
1813
+ /* @__PURE__ */ A(E, {
1814
1814
  variant: "rect",
1815
1815
  width: 112,
1816
1816
  height: 44
1817
1817
  }),
1818
- /* @__PURE__ */ A(T, {
1818
+ /* @__PURE__ */ A(E, {
1819
1819
  variant: "rect",
1820
1820
  width: 112,
1821
1821
  height: 44
1822
1822
  })
1823
1823
  ]
1824
1824
  }),
1825
- /* @__PURE__ */ A(T, {
1825
+ /* @__PURE__ */ A(E, {
1826
1826
  variant: "rect",
1827
1827
  width: 220,
1828
1828
  height: 14
1829
1829
  })
1830
1830
  ]
1831
1831
  });
1832
- let S = y === "server-error", C = y === "loading", te = y === "validation-error";
1832
+ let S = v === "server-error", C = v === "loading", ee = v === "validation-error";
1833
1833
  return /* @__PURE__ */ j("div", {
1834
- className: [R.card, a ?? ""].filter(Boolean).join(" "),
1834
+ className: [R.card, i ?? ""].filter(Boolean).join(" "),
1835
1835
  children: [
1836
1836
  /* @__PURE__ */ j("div", {
1837
1837
  className: R.header,
@@ -1843,74 +1843,74 @@ var vn = {
1843
1843
  children: "Get started — it only takes a minute."
1844
1844
  })]
1845
1845
  }),
1846
- S && /* @__PURE__ */ A(c, {
1846
+ S && /* @__PURE__ */ A(m, {
1847
1847
  color: "danger",
1848
1848
  title: "Sign up failed",
1849
1849
  description: "An account with this email already exists."
1850
1850
  }),
1851
- /* @__PURE__ */ A(x, {
1851
+ /* @__PURE__ */ A(w, {
1852
1852
  label: "Full name",
1853
1853
  placeholder: "Enter your full name",
1854
1854
  leadingIcon: /* @__PURE__ */ A(St, {}),
1855
- value: l,
1855
+ value: o,
1856
1856
  disabled: C,
1857
- onChange: (e) => u(e.target.value),
1857
+ onChange: (e) => s(e.target.value),
1858
1858
  className: R.fullWidth
1859
1859
  }),
1860
- /* @__PURE__ */ A(x, {
1860
+ /* @__PURE__ */ A(w, {
1861
1861
  label: "Email",
1862
1862
  type: "email",
1863
1863
  placeholder: "Enter your email",
1864
1864
  leadingIcon: /* @__PURE__ */ A(Tt, {}),
1865
- value: d,
1865
+ value: l,
1866
1866
  disabled: C,
1867
- onChange: (e) => f(e.target.value),
1867
+ onChange: (e) => u(e.target.value),
1868
1868
  className: R.fullWidth
1869
1869
  }),
1870
1870
  /* @__PURE__ */ A(or, {
1871
1871
  id: "signup-password",
1872
1872
  label: "Password",
1873
1873
  placeholder: "Create a password",
1874
- value: p,
1874
+ value: d,
1875
1875
  disabled: C,
1876
1876
  onChange: (e) => {
1877
- m(e), te && b("idle");
1877
+ f(e), ee && y("idle");
1878
1878
  }
1879
1879
  }),
1880
1880
  /* @__PURE__ */ A(or, {
1881
1881
  id: "signup-confirm-password",
1882
1882
  label: "Confirm password",
1883
1883
  placeholder: "Re-enter your password",
1884
- value: h,
1884
+ value: p,
1885
1885
  disabled: C,
1886
- error: te ? "Passwords do not match." : void 0,
1886
+ error: ee ? "Passwords do not match." : void 0,
1887
1887
  onChange: (e) => {
1888
- g(e), te && b("idle");
1888
+ h(e), ee && y("idle");
1889
1889
  }
1890
1890
  }),
1891
- /* @__PURE__ */ A(i, {
1891
+ /* @__PURE__ */ A(Te, {
1892
1892
  label: "I agree to the Terms of Service and Privacy Policy",
1893
- checked: _,
1893
+ checked: g,
1894
1894
  disabled: C,
1895
- onChange: (e) => v(e.target.checked)
1895
+ onChange: (e) => _(e.target.checked)
1896
1896
  }),
1897
- /* @__PURE__ */ A(D, {
1897
+ /* @__PURE__ */ A(c, {
1898
1898
  variant: "primary",
1899
1899
  className: R.fullWidth,
1900
1900
  loading: C,
1901
- disabled: !C && (!l.trim() || !d.trim() || !p || !h || !_),
1902
- onClick: ee,
1901
+ disabled: !C && (!o.trim() || !l.trim() || !d || !p || !g),
1902
+ onClick: x,
1903
1903
  children: C ? "Creating account…" : "Create account"
1904
1904
  }),
1905
1905
  t.length > 0 && /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ j("div", {
1906
1906
  className: R.dividerRow,
1907
1907
  children: [
1908
- /* @__PURE__ */ A(E, { className: R.dividerLine }),
1908
+ /* @__PURE__ */ A(T, { className: R.dividerLine }),
1909
1909
  /* @__PURE__ */ A("span", {
1910
1910
  className: R.dividerLabel,
1911
1911
  children: "OR CONTINUE WITH"
1912
1912
  }),
1913
- /* @__PURE__ */ A(E, { className: R.dividerLine })
1913
+ /* @__PURE__ */ A(T, { className: R.dividerLine })
1914
1914
  ]
1915
1915
  }), /* @__PURE__ */ A("div", {
1916
1916
  className: R.socialRow,
@@ -1928,7 +1928,7 @@ var vn = {
1928
1928
  children: [/* @__PURE__ */ A("p", {
1929
1929
  className: R.footerText,
1930
1930
  children: "Already have an account?"
1931
- }), /* @__PURE__ */ A(s, {
1931
+ }), /* @__PURE__ */ A(b, {
1932
1932
  href: "#",
1933
1933
  onClick: (e) => {
1934
1934
  e.preventDefault(), r?.();
@@ -1967,7 +1967,7 @@ var vn = {
1967
1967
  }, fr = ({ brand: e }) => {
1968
1968
  if (!e || e === "unknown") return /* @__PURE__ */ A(Ft, {
1969
1969
  size: 16,
1970
- strokeWidth: h(16)
1970
+ strokeWidth: x(16)
1971
1971
  });
1972
1972
  if (e === "mastercard") return /* @__PURE__ */ j("svg", {
1973
1973
  width: 16,
@@ -2051,29 +2051,29 @@ var vn = {
2051
2051
  e.slice(r + n.length)
2052
2052
  ] });
2053
2053
  }, gr = ({ label: e, placeholder: t, value: n, onChange: r, suggestions: i }) => {
2054
- let [a, o] = O.useState(!1), [s, c] = O.useState(0), l = O.useRef(null), u = g(), d = O.useRef([]), f = n.trim(), p = f ? i.filter((e) => e.toLowerCase().includes(f.toLowerCase())) : i;
2054
+ let [a, o] = O.useState(!1), [s, c] = O.useState(0), u = O.useRef(null), d = l(), f = O.useRef([]), p = n.trim(), m = p ? i.filter((e) => e.toLowerCase().includes(p.toLowerCase())) : i;
2055
2055
  O.useEffect(() => {
2056
2056
  let e = (e) => {
2057
- l.current && !l.current.contains(e.target) && o(!1);
2057
+ u.current && !u.current.contains(e.target) && o(!1);
2058
2058
  };
2059
2059
  return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
2060
2060
  }, []), O.useEffect(() => c(0), [n, a]);
2061
- let { showItem: m } = u;
2061
+ let { showItem: h } = d;
2062
2062
  O.useLayoutEffect(() => {
2063
- a && m(d.current[s] ?? null);
2063
+ a && h(f.current[s] ?? null);
2064
2064
  }, [
2065
2065
  a,
2066
2066
  s,
2067
- p.length,
2068
- m
2067
+ m.length,
2068
+ h
2069
2069
  ]);
2070
- let h = (e) => {
2070
+ let g = (e) => {
2071
2071
  r(e), o(!1);
2072
2072
  };
2073
2073
  return /* @__PURE__ */ j("div", {
2074
2074
  className: z.autocomplete,
2075
- ref: l,
2076
- children: [/* @__PURE__ */ A(x, {
2075
+ ref: u,
2076
+ children: [/* @__PURE__ */ A(w, {
2077
2077
  label: e,
2078
2078
  placeholder: t,
2079
2079
  value: n,
@@ -2082,27 +2082,27 @@ var vn = {
2082
2082
  },
2083
2083
  onFocus: () => o(!0),
2084
2084
  onKeyDown: (e) => {
2085
- e.key === "ArrowDown" ? (e.preventDefault(), o(!0), c((e) => Math.min(e + 1, p.length - 1))) : e.key === "ArrowUp" ? (e.preventDefault(), c((e) => Math.max(e - 1, 0))) : e.key === "Enter" && a && p[s] ? (e.preventDefault(), h(p[s])) : e.key === "Escape" && o(!1);
2085
+ e.key === "ArrowDown" ? (e.preventDefault(), o(!0), c((e) => Math.min(e + 1, m.length - 1))) : e.key === "ArrowUp" ? (e.preventDefault(), c((e) => Math.max(e - 1, 0))) : e.key === "Enter" && a && m[s] ? (e.preventDefault(), g(m[s])) : e.key === "Escape" && o(!1);
2086
2086
  },
2087
2087
  autoComplete: "off",
2088
2088
  role: "combobox",
2089
2089
  "aria-expanded": a,
2090
2090
  "aria-autocomplete": "list",
2091
2091
  className: z.fullWidth
2092
- }), a && p.length > 0 && /* @__PURE__ */ j("div", {
2093
- ref: u.ref,
2092
+ }), a && m.length > 0 && /* @__PURE__ */ j("div", {
2093
+ ref: d.ref,
2094
2094
  "data-hover-group": "",
2095
2095
  className: z.suggestPanel,
2096
2096
  role: "listbox",
2097
- children: [u.highlight, p.map((e, t) => /* @__PURE__ */ A("div", {
2097
+ children: [d.highlight, m.map((e, t) => /* @__PURE__ */ A("div", {
2098
2098
  ref: (e) => {
2099
- d.current[t] = e;
2099
+ f.current[t] = e;
2100
2100
  },
2101
2101
  role: "option",
2102
2102
  "aria-selected": t === s,
2103
2103
  className: z.suggestOption,
2104
2104
  onMouseDown: (t) => {
2105
- t.preventDefault(), h(e);
2105
+ t.preventDefault(), g(e);
2106
2106
  },
2107
2107
  onMouseEnter: () => c(t),
2108
2108
  children: hr(e, n)
@@ -2110,13 +2110,13 @@ var vn = {
2110
2110
  })]
2111
2111
  });
2112
2112
  }, _r = ({ items: e, shippingCost: t = 0, initialStep: n = "shipping", onComplete: r, formatPrice: i = cr, className: a }) => {
2113
- let [o, s] = O.useState(n), [c, l] = O.useState(e), [u, d] = O.useState(""), [f, p] = O.useState(""), [m, h] = O.useState(""), [g, _] = O.useState(""), [v, y] = O.useState(""), [b, ee] = O.useState(""), S = (e, t) => l((n) => n.map((n, r) => r === e ? {
2113
+ let [o, s] = O.useState(n), [l, u] = O.useState(e), [d, f] = O.useState(""), [p, m] = O.useState(""), [h, g] = O.useState(""), [_, v] = O.useState(""), [y, b] = O.useState(""), [x, S] = O.useState(""), C = (e, t) => u((n) => n.map((n, r) => r === e ? {
2114
2114
  ...n,
2115
2115
  quantity: t
2116
- } : n)), C = c.reduce((e, t) => e + t.price * t.quantity, 0), te = C + t;
2116
+ } : n)), ee = l.reduce((e, t) => e + t.price * t.quantity, 0), te = ee + t;
2117
2117
  return /* @__PURE__ */ j("div", {
2118
2118
  className: [z.block, a ?? ""].filter(Boolean).join(" "),
2119
- children: [/* @__PURE__ */ A(me, { currentStep: o === "shipping" ? 1 : 2 }), /* @__PURE__ */ j("div", {
2119
+ children: [/* @__PURE__ */ A(je, { currentStep: o === "shipping" ? 1 : 2 }), /* @__PURE__ */ j("div", {
2120
2120
  className: z.columns,
2121
2121
  children: [/* @__PURE__ */ A("div", {
2122
2122
  className: z.formCard,
@@ -2125,32 +2125,32 @@ var vn = {
2125
2125
  className: z.title,
2126
2126
  children: "Shipping address"
2127
2127
  }),
2128
- /* @__PURE__ */ A(x, {
2128
+ /* @__PURE__ */ A(w, {
2129
2129
  label: "Full name",
2130
2130
  placeholder: "Enter your full name",
2131
- value: u,
2132
- onChange: (e) => d(e.target.value),
2131
+ value: d,
2132
+ onChange: (e) => f(e.target.value),
2133
2133
  className: z.fullWidth
2134
2134
  }),
2135
2135
  /* @__PURE__ */ A(gr, {
2136
2136
  label: "Address",
2137
2137
  placeholder: "Street address",
2138
- value: f,
2139
- onChange: p,
2138
+ value: p,
2139
+ onChange: m,
2140
2140
  suggestions: mr
2141
2141
  }),
2142
2142
  /* @__PURE__ */ A(gr, {
2143
2143
  label: "City",
2144
2144
  placeholder: "Enter your city",
2145
- value: m,
2146
- onChange: h,
2145
+ value: h,
2146
+ onChange: g,
2147
2147
  suggestions: pr
2148
2148
  }),
2149
- /* @__PURE__ */ A(D, {
2149
+ /* @__PURE__ */ A(c, {
2150
2150
  variant: "primary",
2151
2151
  className: z.fullWidth,
2152
2152
  onClick: () => s("payment"),
2153
- disabled: !u.trim() || !f.trim() || !m.trim(),
2153
+ disabled: !d.trim() || !p.trim() || !h.trim(),
2154
2154
  children: "Continue to payment"
2155
2155
  })
2156
2156
  ] }) : /* @__PURE__ */ j(k, { children: [
@@ -2158,48 +2158,48 @@ var vn = {
2158
2158
  className: z.title,
2159
2159
  children: "Payment details"
2160
2160
  }),
2161
- /* @__PURE__ */ A(x, {
2161
+ /* @__PURE__ */ A(w, {
2162
2162
  label: "Card number",
2163
2163
  placeholder: "1234 1234 1234 1234",
2164
2164
  inputMode: "numeric",
2165
- value: g,
2166
- onChange: (e) => _(ur(e.target.value)),
2167
- trailingIcon: /* @__PURE__ */ A(fr, { brand: dr(g) }),
2165
+ value: _,
2166
+ onChange: (e) => v(ur(e.target.value)),
2167
+ trailingIcon: /* @__PURE__ */ A(fr, { brand: dr(_) }),
2168
2168
  className: z.fullWidth
2169
2169
  }),
2170
- /* @__PURE__ */ A(x, {
2170
+ /* @__PURE__ */ A(w, {
2171
2171
  label: "Expiry date",
2172
2172
  placeholder: "MM/YY",
2173
2173
  inputMode: "numeric",
2174
- value: v,
2175
- onChange: (e) => y(lr(e.target.value)),
2174
+ value: y,
2175
+ onChange: (e) => b(lr(e.target.value)),
2176
2176
  className: z.fullWidth
2177
2177
  }),
2178
- /* @__PURE__ */ A(x, {
2178
+ /* @__PURE__ */ A(w, {
2179
2179
  label: "CVC",
2180
2180
  placeholder: "123",
2181
- value: b,
2182
- onChange: (e) => ee(e.target.value),
2181
+ value: x,
2182
+ onChange: (e) => S(e.target.value),
2183
2183
  className: z.fullWidth
2184
2184
  }),
2185
- /* @__PURE__ */ A(D, {
2185
+ /* @__PURE__ */ A(c, {
2186
2186
  variant: "primary",
2187
2187
  className: z.fullWidth,
2188
2188
  onClick: () => {
2189
2189
  r?.({
2190
2190
  shipping: {
2191
- fullName: u,
2192
- address: f,
2193
- city: m
2191
+ fullName: d,
2192
+ address: p,
2193
+ city: h
2194
2194
  },
2195
2195
  payment: {
2196
- cardNumber: g,
2197
- expiry: v,
2198
- cvc: b
2196
+ cardNumber: _,
2197
+ expiry: y,
2198
+ cvc: x
2199
2199
  }
2200
2200
  });
2201
2201
  },
2202
- disabled: !g.trim() || !v.trim() || !b.trim(),
2202
+ disabled: !_.trim() || !y.trim() || !x.trim(),
2203
2203
  children: "Place order"
2204
2204
  })
2205
2205
  ] })
@@ -2210,17 +2210,17 @@ var vn = {
2210
2210
  className: z.title,
2211
2211
  children: "Order summary"
2212
2212
  }),
2213
- c.map((e, t) => /* @__PURE__ */ A(Ae, {
2213
+ l.map((e, t) => /* @__PURE__ */ A(Ce, {
2214
2214
  image: e.image,
2215
2215
  imageAlt: e.imageAlt,
2216
2216
  name: e.name,
2217
2217
  variant: e.variant,
2218
2218
  price: e.price,
2219
2219
  quantity: e.quantity,
2220
- onQuantityChange: (e) => S(t, e),
2221
- onRemove: () => l((e) => e.filter((e, n) => n !== t))
2220
+ onQuantityChange: (e) => C(t, e),
2221
+ onRemove: () => u((e) => e.filter((e, n) => n !== t))
2222
2222
  }, e.id ?? e.name)),
2223
- /* @__PURE__ */ A(E, {}),
2223
+ /* @__PURE__ */ A(T, {}),
2224
2224
  /* @__PURE__ */ j("div", {
2225
2225
  className: z.summaryRow,
2226
2226
  children: [/* @__PURE__ */ A("span", {
@@ -2228,7 +2228,7 @@ var vn = {
2228
2228
  children: "Subtotal"
2229
2229
  }), /* @__PURE__ */ A("span", {
2230
2230
  className: z.summaryValue,
2231
- children: i(C)
2231
+ children: i(ee)
2232
2232
  })]
2233
2233
  }),
2234
2234
  /* @__PURE__ */ j("div", {
@@ -2277,7 +2277,7 @@ var vn = {
2277
2277
  style: "currency",
2278
2278
  currency: "USD"
2279
2279
  }), yr = ({ orderNumber: e, items: t, total: n, estimatedDelivery: r, onTrackOrder: i, onContinueShopping: a, formatPrice: o = vr, className: s }) => {
2280
- let c = !!r;
2280
+ let l = !!r;
2281
2281
  return /* @__PURE__ */ j("div", {
2282
2282
  className: [B.block, s ?? ""].filter(Boolean).join(" "),
2283
2283
  children: [
@@ -2286,7 +2286,7 @@ var vn = {
2286
2286
  "aria-hidden": "true",
2287
2287
  children: /* @__PURE__ */ A(ft, {
2288
2288
  size: 28,
2289
- strokeWidth: h(28)
2289
+ strokeWidth: x(28)
2290
2290
  })
2291
2291
  }),
2292
2292
  /* @__PURE__ */ A("h2", {
@@ -2301,7 +2301,7 @@ var vn = {
2301
2301
  className: B.orderNumber,
2302
2302
  children: ["Order #", e]
2303
2303
  }),
2304
- /* @__PURE__ */ A(E, { className: B.fullWidth }),
2304
+ /* @__PURE__ */ A(T, { className: B.fullWidth }),
2305
2305
  t.map((e) => /* @__PURE__ */ j("div", {
2306
2306
  className: B.itemRow,
2307
2307
  children: [
@@ -2326,7 +2326,7 @@ var vn = {
2326
2326
  })
2327
2327
  ]
2328
2328
  }, e.id ?? e.name)),
2329
- /* @__PURE__ */ A(E, { className: B.fullWidth }),
2329
+ /* @__PURE__ */ A(T, { className: B.fullWidth }),
2330
2330
  /* @__PURE__ */ j("div", {
2331
2331
  className: B.summaryRow,
2332
2332
  children: [/* @__PURE__ */ A("span", {
@@ -2337,28 +2337,28 @@ var vn = {
2337
2337
  children: o(n)
2338
2338
  })]
2339
2339
  }),
2340
- c && /* @__PURE__ */ j("div", {
2340
+ l && /* @__PURE__ */ j("div", {
2341
2341
  className: B.trackingRow,
2342
2342
  children: [/* @__PURE__ */ A(gt, {
2343
2343
  size: 24,
2344
- strokeWidth: h(24),
2344
+ strokeWidth: x(24),
2345
2345
  "aria-hidden": "true"
2346
2346
  }), /* @__PURE__ */ j("span", { children: ["Estimated delivery: ", r] })]
2347
2347
  }),
2348
- c ? /* @__PURE__ */ j("div", {
2348
+ l ? /* @__PURE__ */ j("div", {
2349
2349
  className: B.buttonGroup,
2350
- children: [/* @__PURE__ */ A(D, {
2350
+ children: [/* @__PURE__ */ A(c, {
2351
2351
  variant: "secondary",
2352
2352
  className: B.fullWidth,
2353
2353
  onClick: i,
2354
2354
  children: "Track order"
2355
- }), /* @__PURE__ */ A(D, {
2355
+ }), /* @__PURE__ */ A(c, {
2356
2356
  variant: "primary",
2357
2357
  className: B.fullWidth,
2358
2358
  onClick: a,
2359
2359
  children: "Continue shopping"
2360
2360
  })]
2361
- }) : /* @__PURE__ */ A(D, {
2361
+ }) : /* @__PURE__ */ A(c, {
2362
2362
  variant: "primary",
2363
2363
  className: B.fullWidth,
2364
2364
  onClick: a,
@@ -2382,12 +2382,12 @@ var vn = {
2382
2382
  }, br = (e) => e.toLocaleString("en-US", {
2383
2383
  style: "currency",
2384
2384
  currency: "USD"
2385
- }), xr = ({ name: e, images: t, rating: n, reviewCount: r, stockQuantity: i, price: a, compareAtPrice: o, description: s, colors: c = [], sizes: u = [], defaultColor: d, defaultSize: m, minQuantity: h = 1, maxQuantity: g, defaultSaved: _ = !1, onAddToCart: v, formatPrice: y = br, className: ee }) => {
2386
- let [x, S] = O.useState(d ?? c.find((e) => e.available !== !1)?.label), [C, te] = O.useState(m ?? u.find((e) => e.available !== !1)?.size), [ne, re] = O.useState(h), [ae, se] = O.useState(_);
2385
+ }), xr = ({ name: t, images: n, rating: r, reviewCount: i, stockQuantity: a, price: o, compareAtPrice: s, description: l, colors: u = [], sizes: d = [], defaultColor: p, defaultSize: m, minQuantity: h = 1, maxQuantity: g, defaultSaved: _ = !1, onAddToCart: v, formatPrice: y = br, className: b }) => {
2386
+ let [x, C] = O.useState(p ?? u.find((e) => e.available !== !1)?.label), [w, ee] = O.useState(m ?? d.find((e) => e.available !== !1)?.size), [te, ne] = O.useState(h), [re, ie] = O.useState(_);
2387
2387
  return /* @__PURE__ */ j("div", {
2388
- className: [V.block, ee ?? ""].filter(Boolean).join(" "),
2389
- children: [/* @__PURE__ */ A(f, {
2390
- images: t,
2388
+ className: [V.block, b ?? ""].filter(Boolean).join(" "),
2389
+ children: [/* @__PURE__ */ A(oe, {
2390
+ images: n,
2391
2391
  className: V.gallery
2392
2392
  }), /* @__PURE__ */ j("div", {
2393
2393
  className: V.info,
@@ -2396,76 +2396,76 @@ var vn = {
2396
2396
  className: V.titleRow,
2397
2397
  children: [/* @__PURE__ */ A("h2", {
2398
2398
  className: V.title,
2399
- children: e
2400
- }), /* @__PURE__ */ A(ie, {
2401
- saved: ae,
2402
- onToggle: se,
2403
- label: e
2399
+ children: t
2400
+ }), /* @__PURE__ */ A(S, {
2401
+ saved: re,
2402
+ onToggle: ie,
2403
+ label: t
2404
2404
  })]
2405
2405
  }),
2406
2406
  /* @__PURE__ */ j("div", {
2407
2407
  className: V.ratingRow,
2408
- children: [/* @__PURE__ */ A(p, {
2409
- rating: n,
2410
- reviewCount: r
2411
- }), /* @__PURE__ */ A(l, { quantity: i })]
2408
+ children: [/* @__PURE__ */ A(f, {
2409
+ rating: r,
2410
+ reviewCount: i
2411
+ }), /* @__PURE__ */ A(Fe, { quantity: a })]
2412
2412
  }),
2413
- /* @__PURE__ */ A(oe, {
2414
- price: a,
2415
- compareAtPrice: o,
2413
+ /* @__PURE__ */ A(e, {
2414
+ price: o,
2415
+ compareAtPrice: s,
2416
2416
  showBadge: !0,
2417
2417
  formatPrice: y
2418
2418
  }),
2419
2419
  /* @__PURE__ */ A("p", {
2420
2420
  className: V.description,
2421
- children: s
2421
+ children: l
2422
2422
  }),
2423
- /* @__PURE__ */ A(E, { className: V.fullWidth }),
2424
- c.length > 0 && /* @__PURE__ */ j("div", {
2423
+ /* @__PURE__ */ A(T, { className: V.fullWidth }),
2424
+ u.length > 0 && /* @__PURE__ */ j("div", {
2425
2425
  className: V.labeledRow,
2426
2426
  children: [/* @__PURE__ */ j("span", {
2427
2427
  className: V.rowLabel,
2428
2428
  children: ["Color", x ? `: ${x}` : ""]
2429
2429
  }), /* @__PURE__ */ A("div", {
2430
2430
  className: V.options,
2431
- children: c.map((e) => /* @__PURE__ */ A(b, {
2431
+ children: u.map((e) => /* @__PURE__ */ A(ge, {
2432
2432
  color: e.color,
2433
2433
  label: e.label,
2434
2434
  available: e.available,
2435
2435
  selected: x === e.label,
2436
- onSelect: () => S(e.label)
2436
+ onSelect: () => C(e.label)
2437
2437
  }, e.label))
2438
2438
  })]
2439
2439
  }),
2440
- u.length > 0 && /* @__PURE__ */ j("div", {
2440
+ d.length > 0 && /* @__PURE__ */ j("div", {
2441
2441
  className: V.labeledRow,
2442
2442
  children: [/* @__PURE__ */ j("span", {
2443
2443
  className: V.rowLabel,
2444
- children: ["Size", C ? `: ${C}` : ""]
2444
+ children: ["Size", w ? `: ${w}` : ""]
2445
2445
  }), /* @__PURE__ */ A("div", {
2446
2446
  className: V.options,
2447
- children: u.map((e) => /* @__PURE__ */ A(Ne, {
2447
+ children: d.map((e) => /* @__PURE__ */ A(se, {
2448
2448
  size: e.size,
2449
2449
  available: e.available,
2450
- selected: C === e.size,
2451
- onSelect: () => te(e.size)
2450
+ selected: w === e.size,
2451
+ onSelect: () => ee(e.size)
2452
2452
  }, e.size))
2453
2453
  })]
2454
2454
  }),
2455
2455
  /* @__PURE__ */ j("div", {
2456
2456
  className: V.actionRow,
2457
- children: [/* @__PURE__ */ A(Fe, {
2458
- quantity: ne,
2459
- onQuantityChange: re,
2457
+ children: [/* @__PURE__ */ A(fe, {
2458
+ quantity: te,
2459
+ onQuantityChange: ne,
2460
2460
  min: h,
2461
2461
  max: g,
2462
- label: `Quantity for ${e}`
2463
- }), /* @__PURE__ */ A(D, {
2462
+ label: `Quantity for ${t}`
2463
+ }), /* @__PURE__ */ A(c, {
2464
2464
  variant: "primary",
2465
2465
  onClick: () => v?.({
2466
2466
  color: x,
2467
- size: C,
2468
- quantity: ne
2467
+ size: w,
2468
+ quantity: te
2469
2469
  }),
2470
2470
  children: "Add to cart"
2471
2471
  })]
@@ -2480,12 +2480,12 @@ var vn = {
2480
2480
  count: "_count_1ngxn_27",
2481
2481
  grid: "_grid_1ngxn_36",
2482
2482
  card: "_card_1ngxn_46"
2483
- }, Cr = ({ eyebrow: e = "Shop", title: t, subtitle: n, products: r, showFilterBar: i = !1, sortLabel: a = "Featured", onSortClick: o, columns: s = 4, className: c }) => {
2484
- let [l, u] = O.useState({}), [d, f] = O.useState({});
2483
+ }, Cr = ({ eyebrow: e = "Shop", title: t, subtitle: n, products: r, showFilterBar: i = !1, sortLabel: a = "Featured", onSortClick: o, columns: s = 4, className: l }) => {
2484
+ let [u, d] = O.useState({}), [f, p] = O.useState({});
2485
2485
  return /* @__PURE__ */ j("div", {
2486
- className: [Sr.block, c ?? ""].filter(Boolean).join(" "),
2486
+ className: [Sr.block, l ?? ""].filter(Boolean).join(" "),
2487
2487
  children: [
2488
- /* @__PURE__ */ A(m, {
2488
+ /* @__PURE__ */ A(Ke, {
2489
2489
  eyebrow: e,
2490
2490
  title: t,
2491
2491
  subtitle: n,
@@ -2501,7 +2501,7 @@ var vn = {
2501
2501
  " product",
2502
2502
  r.length === 1 ? "" : "s"
2503
2503
  ]
2504
- }), /* @__PURE__ */ j(D, {
2504
+ }), /* @__PURE__ */ j(c, {
2505
2505
  variant: "secondary",
2506
2506
  size: "sm",
2507
2507
  onClick: o,
@@ -2512,20 +2512,20 @@ var vn = {
2512
2512
  className: Sr.grid,
2513
2513
  style: { "--product-grid-columns": s },
2514
2514
  children: r.map(({ id: e, colors: t, ...n }, r) => {
2515
- let i = e ?? n.name ?? String(r), a = d[i] ?? t?.find((e) => e.selected)?.label;
2516
- return /* @__PURE__ */ A(ae, {
2515
+ let i = e ?? n.name ?? String(r), a = f[i] ?? t?.find((e) => e.selected)?.label;
2516
+ return /* @__PURE__ */ A(ce, {
2517
2517
  ...n,
2518
2518
  className: Sr.card,
2519
2519
  colors: t?.map((e) => ({
2520
2520
  ...e,
2521
2521
  selected: (e.id ?? e.label) === a
2522
2522
  })),
2523
- onColorSelect: (e) => f((t) => ({
2523
+ onColorSelect: (e) => p((t) => ({
2524
2524
  ...t,
2525
2525
  [i]: e
2526
2526
  })),
2527
- wishlisted: l[i] ?? n.wishlisted ?? !1,
2528
- onWishlistToggle: (e) => u((t) => ({
2527
+ wishlisted: u[i] ?? n.wishlisted ?? !1,
2528
+ onWishlistToggle: (e) => d((t) => ({
2529
2529
  ...t,
2530
2530
  [i]: e
2531
2531
  }))
@@ -2553,10 +2553,10 @@ var vn = {
2553
2553
  style: "currency",
2554
2554
  currency: "USD"
2555
2555
  }), Tr = ({ items: e, shippingCost: t = 0, onCheckout: n, onContinueShopping: r, formatPrice: i = wr, className: a }) => {
2556
- let [o, s] = O.useState(e), c = (e, t) => s((n) => n.map((n, r) => r === e ? {
2556
+ let [o, s] = O.useState(e), l = (e, t) => s((n) => n.map((n, r) => r === e ? {
2557
2557
  ...n,
2558
2558
  quantity: t
2559
- } : n)), l = (e) => s((t) => t.filter((t, n) => n !== e)), u = o.reduce((e, t) => e + t.quantity, 0), d = o.reduce((e, t) => e + t.price * t.quantity, 0), f = d + t;
2559
+ } : n)), u = (e) => s((t) => t.filter((t, n) => n !== e)), d = o.reduce((e, t) => e + t.quantity, 0), f = o.reduce((e, t) => e + t.price * t.quantity, 0), p = f + t;
2560
2560
  return o.length === 0 ? /* @__PURE__ */ j("div", {
2561
2561
  className: [H.emptyBlock, a ?? ""].filter(Boolean).join(" "),
2562
2562
  children: [
@@ -2565,7 +2565,7 @@ var vn = {
2565
2565
  "aria-hidden": "true",
2566
2566
  children: /* @__PURE__ */ A(un, {
2567
2567
  size: 24,
2568
- strokeWidth: h(24)
2568
+ strokeWidth: x(24)
2569
2569
  })
2570
2570
  }),
2571
2571
  /* @__PURE__ */ A("p", {
@@ -2576,7 +2576,7 @@ var vn = {
2576
2576
  className: H.emptySubtitle,
2577
2577
  children: "Items you add will show up here."
2578
2578
  }),
2579
- /* @__PURE__ */ A(D, {
2579
+ /* @__PURE__ */ A(c, {
2580
2580
  variant: "primary",
2581
2581
  onClick: r,
2582
2582
  children: "Continue shopping"
@@ -2589,13 +2589,13 @@ var vn = {
2589
2589
  className: H.title,
2590
2590
  children: [
2591
2591
  "Your cart (",
2592
- u,
2592
+ d,
2593
2593
  ")"
2594
2594
  ]
2595
2595
  }),
2596
2596
  /* @__PURE__ */ A("div", {
2597
2597
  className: H.items,
2598
- children: o.map((e, t) => /* @__PURE__ */ A(Ae, {
2598
+ children: o.map((e, t) => /* @__PURE__ */ A(Ce, {
2599
2599
  image: e.image,
2600
2600
  imageAlt: e.imageAlt,
2601
2601
  name: e.name,
@@ -2603,12 +2603,12 @@ var vn = {
2603
2603
  price: e.price,
2604
2604
  compareAtPrice: e.compareAtPrice,
2605
2605
  quantity: e.quantity,
2606
- onQuantityChange: (e) => c(t, e),
2607
- onRemove: () => l(t),
2606
+ onQuantityChange: (e) => l(t, e),
2607
+ onRemove: () => u(t),
2608
2608
  formatPrice: i
2609
2609
  }, e.id ?? e.name))
2610
2610
  }),
2611
- /* @__PURE__ */ A(E, { className: H.fullWidth }),
2611
+ /* @__PURE__ */ A(T, { className: H.fullWidth }),
2612
2612
  /* @__PURE__ */ j("div", {
2613
2613
  className: H.summary,
2614
2614
  children: [
@@ -2619,7 +2619,7 @@ var vn = {
2619
2619
  children: "Subtotal"
2620
2620
  }), /* @__PURE__ */ A("span", {
2621
2621
  className: H.summaryValue,
2622
- children: i(d)
2622
+ children: i(f)
2623
2623
  })]
2624
2624
  }),
2625
2625
  /* @__PURE__ */ j("div", {
@@ -2639,12 +2639,12 @@ var vn = {
2639
2639
  children: "Total"
2640
2640
  }), /* @__PURE__ */ A("span", {
2641
2641
  className: H.summaryTotalValue,
2642
- children: i(f)
2642
+ children: i(p)
2643
2643
  })]
2644
2644
  })
2645
2645
  ]
2646
2646
  }),
2647
- /* @__PURE__ */ A(D, {
2647
+ /* @__PURE__ */ A(c, {
2648
2648
  variant: "primary",
2649
2649
  className: H.fullWidth,
2650
2650
  onClick: () => n?.(o),
@@ -2764,7 +2764,7 @@ var vn = {
2764
2764
  key: "status",
2765
2765
  header: "Status",
2766
2766
  width: "14%",
2767
- render: (e) => /* @__PURE__ */ A(w, {
2767
+ render: (e) => /* @__PURE__ */ A(D, {
2768
2768
  variant: Dr[e.status],
2769
2769
  emphasis: "subtle",
2770
2770
  children: e.status
@@ -2793,44 +2793,44 @@ var vn = {
2793
2793
  children: /* @__PURE__ */ A(nt, { size: 16 })
2794
2794
  })
2795
2795
  }
2796
- ], kr = ({ state: e = "default", className: t, fillPlaceholders: r }) => {
2797
- let [i, a] = O.useState(1), [o, s] = O.useState(e === "bulk" ? [
2796
+ ], kr = ({ state: e = "default", className: t, fillPlaceholders: n }) => {
2797
+ let [r, i] = O.useState(1), [a, o] = O.useState(e === "bulk" ? [
2798
2798
  0,
2799
2799
  1,
2800
2800
  2
2801
- ] : []), [c, l] = O.useState(Er), [u, d] = O.useState(["Status: Active", "Role: Admin"]);
2801
+ ] : []), [l, u] = O.useState(Er), [d, f] = O.useState(["Status: Active", "Role: Admin"]);
2802
2802
  O.useEffect(() => {
2803
- s(e === "bulk" ? [
2803
+ o(e === "bulk" ? [
2804
2804
  0,
2805
2805
  1,
2806
2806
  2
2807
2807
  ] : []);
2808
2808
  }, [e]);
2809
- let f = e === "filtered" ? Er.filter((e) => e.role === "Admin" && e.status === "Active") : e === "empty" || e === "error" ? [] : Er, p = o.length > 0;
2809
+ let p = e === "filtered" ? Er.filter((e) => e.role === "Admin" && e.status === "Active") : e === "empty" || e === "error" ? [] : Er, m = a.length > 0;
2810
2810
  return /* @__PURE__ */ j("div", {
2811
2811
  className: [U.block, t ?? ""].filter(Boolean).join(" "),
2812
2812
  children: [
2813
- p ? /* @__PURE__ */ j("div", {
2813
+ m ? /* @__PURE__ */ j("div", {
2814
2814
  className: U.bulkBar,
2815
2815
  children: [
2816
2816
  /* @__PURE__ */ j("span", {
2817
2817
  className: U.bulkBar__count,
2818
- children: [o.length, " selected"]
2818
+ children: [a.length, " selected"]
2819
2819
  }),
2820
2820
  /* @__PURE__ */ A("span", { className: U.spacer }),
2821
- /* @__PURE__ */ A(D, {
2821
+ /* @__PURE__ */ A(c, {
2822
2822
  variant: "secondary",
2823
2823
  size: "sm",
2824
2824
  leftIcon: /* @__PURE__ */ A(dt, { size: 16 }),
2825
2825
  children: "Export"
2826
2826
  }),
2827
- /* @__PURE__ */ A(D, {
2827
+ /* @__PURE__ */ A(c, {
2828
2828
  variant: "secondary",
2829
2829
  size: "sm",
2830
2830
  leftIcon: /* @__PURE__ */ A(Et, { size: 16 }),
2831
2831
  children: "Assign"
2832
2832
  }),
2833
- /* @__PURE__ */ A(D, {
2833
+ /* @__PURE__ */ A(c, {
2834
2834
  variant: "destructive",
2835
2835
  size: "sm",
2836
2836
  leftIcon: /* @__PURE__ */ A(Ct, { size: 16 }),
@@ -2843,34 +2843,34 @@ var vn = {
2843
2843
  className: U.toolbar__left,
2844
2844
  children: [/* @__PURE__ */ A("div", {
2845
2845
  className: U.search,
2846
- children: /* @__PURE__ */ A(x, {
2846
+ children: /* @__PURE__ */ A(w, {
2847
2847
  size: "md",
2848
2848
  leadingIcon: /* @__PURE__ */ A(mt, { size: 16 }),
2849
2849
  placeholder: e === "filtered" ? "admin" : "Search members…",
2850
2850
  defaultValue: e === "filtered" ? "admin" : void 0
2851
2851
  })
2852
- }), e === "filtered" || e === "empty" ? /* @__PURE__ */ j(k, { children: [u.map((e) => /* @__PURE__ */ A(n, {
2852
+ }), e === "filtered" || e === "empty" ? /* @__PURE__ */ j(k, { children: [d.map((e) => /* @__PURE__ */ A(te, {
2853
2853
  type: "active",
2854
- onRemove: () => d((t) => t.filter((t) => t !== e)),
2854
+ onRemove: () => f((t) => t.filter((t) => t !== e)),
2855
2855
  children: e
2856
- }, e)), /* @__PURE__ */ A(n, {
2856
+ }, e)), /* @__PURE__ */ A(te, {
2857
2857
  type: "add",
2858
2858
  children: "Add filter"
2859
- })] }) : /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(n, {
2859
+ })] }) : /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(te, {
2860
2860
  type: "default",
2861
2861
  children: "Status"
2862
- }), /* @__PURE__ */ A(n, {
2862
+ }), /* @__PURE__ */ A(te, {
2863
2863
  type: "add",
2864
2864
  children: "Add filter"
2865
2865
  })] })]
2866
2866
  }), /* @__PURE__ */ j("div", {
2867
2867
  className: U.toolbar__right,
2868
- children: [/* @__PURE__ */ A(D, {
2868
+ children: [/* @__PURE__ */ A(c, {
2869
2869
  variant: "secondary",
2870
2870
  size: "sm",
2871
2871
  leftIcon: /* @__PURE__ */ A(jt, { size: 16 }),
2872
2872
  children: "Columns"
2873
- }), /* @__PURE__ */ A(D, {
2873
+ }), /* @__PURE__ */ A(c, {
2874
2874
  variant: "primary",
2875
2875
  size: "sm",
2876
2876
  leftIcon: /* @__PURE__ */ A($e, { size: 16 }),
@@ -2883,32 +2883,32 @@ var vn = {
2883
2883
  children: Array.from({ length: 8 }).map((e, t) => /* @__PURE__ */ j("div", {
2884
2884
  className: U.skeletonRow,
2885
2885
  children: [
2886
- /* @__PURE__ */ A(T, {
2886
+ /* @__PURE__ */ A(E, {
2887
2887
  variant: "rect",
2888
2888
  width: 16,
2889
2889
  height: 16
2890
2890
  }),
2891
- /* @__PURE__ */ A(T, {
2891
+ /* @__PURE__ */ A(E, {
2892
2892
  variant: "text",
2893
2893
  width: 150,
2894
2894
  height: 12
2895
2895
  }),
2896
- /* @__PURE__ */ A(T, {
2896
+ /* @__PURE__ */ A(E, {
2897
2897
  variant: "text",
2898
2898
  width: 190,
2899
2899
  height: 12
2900
2900
  }),
2901
- /* @__PURE__ */ A(T, {
2901
+ /* @__PURE__ */ A(E, {
2902
2902
  variant: "text",
2903
2903
  width: 90,
2904
2904
  height: 12
2905
2905
  }),
2906
- /* @__PURE__ */ A(T, {
2906
+ /* @__PURE__ */ A(E, {
2907
2907
  variant: "text",
2908
2908
  width: 120,
2909
2909
  height: 12
2910
2910
  }),
2911
- /* @__PURE__ */ A(T, {
2911
+ /* @__PURE__ */ A(E, {
2912
2912
  variant: "text",
2913
2913
  width: 70,
2914
2914
  height: 12
@@ -2917,49 +2917,49 @@ var vn = {
2917
2917
  }, t))
2918
2918
  }) : e === "empty" ? /* @__PURE__ */ A("div", {
2919
2919
  className: U.panel,
2920
- children: /* @__PURE__ */ A(Ve, { type: "no-results" })
2920
+ children: /* @__PURE__ */ A(s, { type: "no-results" })
2921
2921
  }) : e === "error" ? /* @__PURE__ */ A("div", {
2922
2922
  className: U.panel,
2923
- children: /* @__PURE__ */ A(Ve, {
2923
+ children: /* @__PURE__ */ A(s, {
2924
2924
  type: "error",
2925
2925
  actionLabel: "Try again",
2926
2926
  onAction: () => {}
2927
2927
  })
2928
- }) : r ? /* @__PURE__ */ j("div", {
2928
+ }) : n ? /* @__PURE__ */ j("div", {
2929
2929
  className: U.tableShell,
2930
- children: [/* @__PURE__ */ A(xe, {
2930
+ children: [/* @__PURE__ */ A(Se, {
2931
2931
  columns: Or,
2932
- rows: e === "filtered" ? f : c,
2932
+ rows: e === "filtered" ? p : l,
2933
2933
  selectable: !0,
2934
- selectedRows: o,
2935
- onSelectionChange: s,
2934
+ selectedRows: a,
2935
+ onSelectionChange: o,
2936
2936
  rowKey: (e) => e.email,
2937
2937
  reorderable: e === "default",
2938
- onReorder: l,
2938
+ onReorder: u,
2939
2939
  bordered: !1
2940
2940
  }), /* @__PURE__ */ A("div", {
2941
2941
  className: U.tableFiller,
2942
2942
  "aria-hidden": "true"
2943
2943
  })]
2944
- }) : /* @__PURE__ */ A(xe, {
2944
+ }) : /* @__PURE__ */ A(Se, {
2945
2945
  columns: Or,
2946
- rows: e === "filtered" ? f : c,
2946
+ rows: e === "filtered" ? p : l,
2947
2947
  selectable: !0,
2948
- selectedRows: o,
2949
- onSelectionChange: s,
2948
+ selectedRows: a,
2949
+ onSelectionChange: o,
2950
2950
  rowKey: (e) => e.email,
2951
2951
  reorderable: e === "default",
2952
- onReorder: l
2952
+ onReorder: u
2953
2953
  }),
2954
2954
  /* @__PURE__ */ j("div", {
2955
2955
  className: U.footer,
2956
2956
  children: [/* @__PURE__ */ A("span", {
2957
2957
  className: U.footer__count,
2958
- children: e === "loading" ? "Loading members…" : e === "error" ? "—" : f.length === 0 ? `Showing 0 of ${Er.length} members` : p ? `${o.length} of ${Er.length} members selected` : `Showing 1–${f.length} of ${Er.length} members`
2959
- }), /* @__PURE__ */ A(_e, {
2958
+ children: e === "loading" ? "Loading members…" : e === "error" ? "—" : p.length === 0 ? `Showing 0 of ${Er.length} members` : m ? `${a.length} of ${Er.length} members selected` : `Showing 1–${p.length} of ${Er.length} members`
2959
+ }), /* @__PURE__ */ A(ye, {
2960
2960
  total: e === "filtered" ? 1 : 5,
2961
- page: i,
2962
- onPageChange: a
2961
+ page: r,
2962
+ onPageChange: i
2963
2963
  })]
2964
2964
  })
2965
2965
  ]
@@ -3598,7 +3598,7 @@ var zr = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAIAAABt+uBvAAAA
3598
3598
  className: W.column__title,
3599
3599
  children: e
3600
3600
  }),
3601
- /* @__PURE__ */ A(w, {
3601
+ /* @__PURE__ */ A(D, {
3602
3602
  variant: "neutral",
3603
3603
  emphasis: "subtle",
3604
3604
  children: String(n)
@@ -3627,17 +3627,17 @@ var zr = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAIAAABt+uBvAAAA
3627
3627
  }) : r === "loading" ? Array.from({ length: 3 }).map((e, t) => /* @__PURE__ */ j("div", {
3628
3628
  className: W.cardSkeleton,
3629
3629
  children: [
3630
- /* @__PURE__ */ A(T, {
3630
+ /* @__PURE__ */ A(E, {
3631
3631
  variant: "text",
3632
3632
  width: 180,
3633
3633
  height: 12
3634
3634
  }),
3635
- /* @__PURE__ */ A(T, {
3635
+ /* @__PURE__ */ A(E, {
3636
3636
  variant: "text",
3637
3637
  width: "100%",
3638
3638
  height: 10
3639
3639
  }),
3640
- t !== 2 && /* @__PURE__ */ A(T, {
3640
+ t !== 2 && /* @__PURE__ */ A(E, {
3641
3641
  variant: "text",
3642
3642
  width: 120,
3643
3643
  height: 10
@@ -3657,38 +3657,38 @@ var zr = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAIAAABt+uBvAAAA
3657
3657
  }), "Add task"]
3658
3658
  })
3659
3659
  ]
3660
- }), ii = (t, n, r, a) => /* @__PURE__ */ A("div", {
3661
- className: a ? W.draggable : void 0,
3662
- ...a ?? {},
3663
- children: /* @__PURE__ */ A(y, {
3664
- type: t.compact ? "compact" : "default",
3665
- state: r === "dragging" ? "dragging" : "default",
3666
- leading: /* @__PURE__ */ A(i, {}),
3667
- title: t.title,
3660
+ }), ii = (e, t, n, r) => /* @__PURE__ */ A("div", {
3661
+ className: r ? W.draggable : void 0,
3662
+ ...r ?? {},
3663
+ children: /* @__PURE__ */ A(d, {
3664
+ type: e.compact ? "compact" : "default",
3665
+ state: n === "dragging" ? "dragging" : "default",
3666
+ leading: /* @__PURE__ */ A(Te, {}),
3667
+ title: e.title,
3668
3668
  trailing: /* @__PURE__ */ A(Ot, {
3669
3669
  size: 14,
3670
3670
  color: "var(--color-warning-fg)"
3671
3671
  }),
3672
- description: t.description,
3673
- tags: t.tags.map((e) => /* @__PURE__ */ A(w, {
3672
+ description: e.description,
3673
+ tags: e.tags.map((e) => /* @__PURE__ */ A(D, {
3674
3674
  variant: e.variant,
3675
3675
  emphasis: "subtle",
3676
3676
  children: e.label
3677
3677
  }, e.label)),
3678
- meta: /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(e, {
3678
+ meta: /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(h, {
3679
3679
  icon: /* @__PURE__ */ A(bt, { size: 13 }),
3680
- children: t.due
3681
- }), t.comments != null && /* @__PURE__ */ A(e, {
3680
+ children: e.due
3681
+ }), e.comments != null && /* @__PURE__ */ A(h, {
3682
3682
  icon: /* @__PURE__ */ A(At, { size: 13 }),
3683
- children: String(t.comments)
3683
+ children: String(e.comments)
3684
3684
  })] }),
3685
- assignees: /* @__PURE__ */ A(ne, {
3685
+ assignees: /* @__PURE__ */ A(re, {
3686
3686
  size: "sm",
3687
3687
  max: 3,
3688
- avatars: t.assignees
3688
+ avatars: e.assignees
3689
3689
  })
3690
3690
  })
3691
- }, n), ai = O.forwardRef(({ task: e, height: t, className: n, style: r, ...i }, a) => /* @__PURE__ */ j("div", {
3691
+ }, t), ai = O.forwardRef(({ task: e, height: t, className: n, style: r, ...i }, a) => /* @__PURE__ */ j("div", {
3692
3692
  ref: a,
3693
3693
  className: [W.slot, n ?? ""].filter(Boolean).join(" "),
3694
3694
  style: {
@@ -3712,19 +3712,19 @@ var zr = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAIAAABt+uBvAAAA
3712
3712
  })]
3713
3713
  }));
3714
3714
  ai.displayName = "DropSlot";
3715
- var oi = ({ state: e = "default", className: t, fillPlaceholders: r }) => {
3716
- let [i, a] = O.useState(ni), o = Rr({
3715
+ var oi = ({ state: e = "default", className: t, fillPlaceholders: n }) => {
3716
+ let [r, i] = O.useState(ni), a = Rr({
3717
3717
  enabled: e === "default",
3718
- onMove: (e, t) => a((n) => {
3718
+ onMove: (e, t) => i((n) => {
3719
3719
  let r = n.map((e) => ({
3720
3720
  ...e,
3721
3721
  tasks: [...e.tasks]
3722
3722
  })), [i] = r[e.col].tasks.splice(e.index, 1);
3723
3723
  return i && r[t.col].tasks.splice(t.index, 0, i), r;
3724
3724
  })
3725
- }), s = o.active ? i[o.active.from.col]?.tasks[o.active.from.index] : void 0, c = e === "default" ? i : ni;
3725
+ }), o = a.active ? r[a.active.from.col]?.tasks[a.active.from.index] : void 0, s = e === "default" ? r : ni;
3726
3726
  return /* @__PURE__ */ j("div", {
3727
- ref: o.blockRef,
3727
+ ref: a.blockRef,
3728
3728
  className: [W.block, t ?? ""].filter(Boolean).join(" "),
3729
3729
  children: [
3730
3730
  /* @__PURE__ */ j("div", {
@@ -3735,17 +3735,17 @@ var oi = ({ state: e = "default", className: t, fillPlaceholders: r }) => {
3735
3735
  children: [
3736
3736
  /* @__PURE__ */ A("div", {
3737
3737
  className: W.search,
3738
- children: /* @__PURE__ */ A(x, {
3738
+ children: /* @__PURE__ */ A(w, {
3739
3739
  size: "md",
3740
3740
  leadingIcon: /* @__PURE__ */ A(mt, { size: 16 }),
3741
3741
  placeholder: "Search tasks"
3742
3742
  })
3743
3743
  }),
3744
- /* @__PURE__ */ A(n, {
3744
+ /* @__PURE__ */ A(te, {
3745
3745
  type: "default",
3746
3746
  children: "Assignee"
3747
3747
  }),
3748
- /* @__PURE__ */ A(n, {
3748
+ /* @__PURE__ */ A(te, {
3749
3749
  type: "add",
3750
3750
  children: "Add filter"
3751
3751
  })
@@ -3754,12 +3754,12 @@ var oi = ({ state: e = "default", className: t, fillPlaceholders: r }) => {
3754
3754
  /* @__PURE__ */ A("span", { className: W.spacer }),
3755
3755
  /* @__PURE__ */ j("div", {
3756
3756
  className: W.toolbar__right,
3757
- children: [/* @__PURE__ */ A(D, {
3757
+ children: [/* @__PURE__ */ A(c, {
3758
3758
  variant: "secondary",
3759
3759
  size: "md",
3760
3760
  leftIcon: /* @__PURE__ */ A(it, { size: 16 }),
3761
3761
  children: "Sort"
3762
- }), /* @__PURE__ */ A(D, {
3762
+ }), /* @__PURE__ */ A(c, {
3763
3763
  variant: "primary",
3764
3764
  size: "md",
3765
3765
  leftIcon: /* @__PURE__ */ A($e, { size: 16 }),
@@ -3769,49 +3769,49 @@ var oi = ({ state: e = "default", className: t, fillPlaceholders: r }) => {
3769
3769
  ]
3770
3770
  }),
3771
3771
  /* @__PURE__ */ A("div", {
3772
- ref: o.boardRef,
3773
- className: [W.columns, r ? W["columns--fill"] : ""].filter(Boolean).join(" "),
3774
- children: c.map((t, n) => {
3775
- let i = e === "empty-column" && n === 2, a = e === "loading" ? "loading" : i ? "empty" : "default";
3772
+ ref: a.boardRef,
3773
+ className: [W.columns, n ? W["columns--fill"] : ""].filter(Boolean).join(" "),
3774
+ children: s.map((t, r) => {
3775
+ let i = e === "empty-column" && r === 2, s = e === "loading" ? "loading" : i ? "empty" : "default";
3776
3776
  return /* @__PURE__ */ A(ri, {
3777
- isTarget: !!o.active && o.target?.col === n && o.target.col !== o.active.from.col,
3778
- bodyRef: o.columnRef(n),
3777
+ isTarget: !!a.active && a.target?.col === r && a.target.col !== a.active.from.col,
3778
+ bodyRef: a.columnRef(r),
3779
3779
  title: t.title,
3780
3780
  dot: t.dot,
3781
3781
  count: e === "loading" ? "—" : i ? 0 : t.tasks.length,
3782
- variant: a,
3783
- fillPlaceholders: r,
3782
+ variant: s,
3783
+ fillPlaceholders: n,
3784
3784
  children: (() => {
3785
- let r = o.active, i = t.tasks.map((e, t) => ({
3785
+ let n = a.active, i = t.tasks.map((e, t) => ({
3786
3786
  task: e,
3787
3787
  i: t
3788
- })).filter(({ i: e }) => !(r && r.from.col === n && r.from.index === e)).map(({ task: r, i }) => e === "dragging" && n === 1 && i === t.tasks.length - 1 ? /* @__PURE__ */ j("div", {
3788
+ })).filter(({ i: e }) => !(n && n.from.col === r && n.from.index === e)).map(({ task: n, i }) => e === "dragging" && r === 1 && i === t.tasks.length - 1 ? /* @__PURE__ */ j("div", {
3789
3789
  className: W.draggedWrap,
3790
- children: [/* @__PURE__ */ A(ai, { task: r }), /* @__PURE__ */ A("div", {
3790
+ children: [/* @__PURE__ */ A(ai, { task: n }), /* @__PURE__ */ A("div", {
3791
3791
  className: W.draggedCard,
3792
- children: ii(r, `${r.id}-drag`, "dragging")
3792
+ children: ii(n, `${n.id}-drag`, "dragging")
3793
3793
  })]
3794
- }, r.id) : ii(r, r.id, "default", o.cardProps({
3795
- col: n,
3794
+ }, n.id) : ii(n, n.id, "default", a.cardProps({
3795
+ col: r,
3796
3796
  index: i
3797
- }, r.id)));
3798
- return r && o.target?.col === n && i.splice(o.target.index, 0, s && /* @__PURE__ */ A(ai, {
3799
- task: s,
3800
- height: r.height,
3797
+ }, n.id)));
3798
+ return n && a.target?.col === r && i.splice(a.target.index, 0, o && /* @__PURE__ */ A(ai, {
3799
+ task: o,
3800
+ height: n.height,
3801
3801
  className: W["slot--live"],
3802
3802
  "data-kanban-slot": "",
3803
- "data-flip-id": `slot-${n}`
3803
+ "data-flip-id": `slot-${r}`
3804
3804
  }, "slot")), i;
3805
3805
  })()
3806
3806
  }, t.title);
3807
3807
  })
3808
3808
  }),
3809
- o.active && s && /* @__PURE__ */ A("div", {
3810
- ref: o.overlayRef,
3809
+ a.active && o && /* @__PURE__ */ A("div", {
3810
+ ref: a.overlayRef,
3811
3811
  className: W.overlay,
3812
- style: { width: o.active.width },
3812
+ style: { width: a.active.width },
3813
3813
  "aria-hidden": "true",
3814
- children: ii(s, "overlay")
3814
+ children: ii(o, "overlay")
3815
3815
  })
3816
3816
  ]
3817
3817
  });
@@ -3958,23 +3958,23 @@ var oi = ({ state: e = "default", className: t, fillPlaceholders: r }) => {
3958
3958
  preview: "v1.1.0 deployed to production",
3959
3959
  state: "muted"
3960
3960
  }
3961
- ], li = ({ state: e = "default", className: t }) => {
3962
- let n = e !== "default", r = e !== "empty", [i, a] = O.useState(0), s = g(), c = g(), [l, u] = O.useState(""), [d, f] = O.useState([]), [p, m] = O.useState([]), h = ci[i];
3961
+ ], li = ({ state: e = "default", className: n }) => {
3962
+ let i = e !== "default", a = e !== "empty", [o, c] = O.useState(0), u = l(), d = l(), [f, p] = O.useState(""), [m, h] = O.useState([]), [g, _] = O.useState([]), v = ci[o];
3963
3963
  O.useEffect(() => {
3964
- let e = `chat_messages_${i}`, t = localStorage.getItem(e);
3964
+ let e = `chat_messages_${o}`, t = localStorage.getItem(e);
3965
3965
  if (t) try {
3966
- f(JSON.parse(t));
3966
+ h(JSON.parse(t));
3967
3967
  } catch (e) {
3968
- console.error("Failed to parse stored messages:", e), f([]);
3968
+ console.error("Failed to parse stored messages:", e), h([]);
3969
3969
  }
3970
- else if (i === 0) {
3970
+ else if (o === 0) {
3971
3971
  let t = [
3972
3972
  {
3973
3973
  id: "1",
3974
3974
  type: "received",
3975
3975
  text: "Can you review the latest flow when you get a chance?",
3976
3976
  timestamp: "12:04",
3977
- authorInitials: h.initials
3977
+ authorInitials: v.initials
3978
3978
  },
3979
3979
  {
3980
3980
  id: "2",
@@ -3987,79 +3987,79 @@ var oi = ({ state: e = "default", className: t, fillPlaceholders: r }) => {
3987
3987
  type: "received",
3988
3988
  text: "Latest board attached",
3989
3989
  timestamp: "12:09",
3990
- authorInitials: h.initials
3990
+ authorInitials: v.initials
3991
3991
  }
3992
3992
  ];
3993
- f(t), localStorage.setItem(e, JSON.stringify(t));
3994
- } else f([]);
3995
- u(""), m([]);
3996
- }, [i, h.initials]);
3997
- let v = () => {
3998
- if (l.trim() || p.length > 0) {
3993
+ h(t), localStorage.setItem(e, JSON.stringify(t));
3994
+ } else h([]);
3995
+ p(""), _([]);
3996
+ }, [o, v.initials]);
3997
+ let b = () => {
3998
+ if (f.trim() || g.length > 0) {
3999
3999
  let e = /* @__PURE__ */ new Date(), t = `${e.getHours().toString().padStart(2, "0")}:${e.getMinutes().toString().padStart(2, "0")}`, n = {
4000
4000
  id: `msg_${Date.now()}`,
4001
4001
  type: "sent",
4002
- text: l,
4002
+ text: f,
4003
4003
  timestamp: t,
4004
- attachments: p.length > 0 ? p : void 0
4005
- }, r = [...d, n];
4006
- f(r);
4007
- let a = `chat_messages_${i}`;
4008
- localStorage.setItem(a, JSON.stringify(r)), u(""), m([]);
4004
+ attachments: g.length > 0 ? g : void 0
4005
+ }, r = [...m, n];
4006
+ h(r);
4007
+ let i = `chat_messages_${o}`;
4008
+ localStorage.setItem(i, JSON.stringify(r)), p(""), _([]);
4009
4009
  }
4010
4010
  };
4011
4011
  return /* @__PURE__ */ j("div", {
4012
- className: [K.block, t ?? ""].filter(Boolean).join(" "),
4012
+ className: [K.block, n ?? ""].filter(Boolean).join(" "),
4013
4013
  children: [/* @__PURE__ */ j("aside", {
4014
- ref: s.ref,
4015
- ...s.groupProps,
4016
- className: [K.nav, n ? K["nav--collapsed"] : ""].filter(Boolean).join(" "),
4014
+ ref: u.ref,
4015
+ ...u.groupProps,
4016
+ className: [K.nav, i ? K["nav--collapsed"] : ""].filter(Boolean).join(" "),
4017
4017
  children: [
4018
- s.highlight,
4019
- /* @__PURE__ */ A(Re, {
4018
+ u.highlight,
4019
+ /* @__PURE__ */ A(Be, {
4020
4020
  type: "brand-toggle",
4021
4021
  title: "Sakani",
4022
4022
  subtitle: "Workspace",
4023
- logo: /* @__PURE__ */ A(ee, {}),
4024
- collapsed: n
4023
+ logo: /* @__PURE__ */ A(r, {}),
4024
+ collapsed: i
4025
4025
  }),
4026
4026
  /* @__PURE__ */ j("div", {
4027
4027
  className: K.nav__body,
4028
- children: [!n && /* @__PURE__ */ A(x, {
4028
+ children: [!i && /* @__PURE__ */ A(w, {
4029
4029
  size: "sm",
4030
4030
  leadingIcon: /* @__PURE__ */ A(mt, { size: 16 }),
4031
4031
  placeholder: "Search"
4032
- }), si.filter((e) => !n || e.items.some((e) => e.icon)).map((e, t) => /* @__PURE__ */ j(O.Fragment, { children: [t > 0 && /* @__PURE__ */ A(E, {}), /* @__PURE__ */ j("div", {
4032
+ }), si.filter((e) => !i || e.items.some((e) => e.icon)).map((e, t) => /* @__PURE__ */ j(O.Fragment, { children: [t > 0 && /* @__PURE__ */ A(T, {}), /* @__PURE__ */ j("div", {
4033
4033
  className: K.nav__group,
4034
- children: [!n && /* @__PURE__ */ A(fe, { children: e.label }), e.items.map((e) => e.icon ? /* @__PURE__ */ A(Te, {
4034
+ children: [!i && /* @__PURE__ */ A(me, { children: e.label }), e.items.map((e) => e.icon ? /* @__PURE__ */ A(De, {
4035
4035
  icon: e.icon,
4036
4036
  label: e.label,
4037
4037
  active: e.active,
4038
- badge: n ? void 0 : e.badge,
4039
- collapsed: n
4040
- }, e.label) : /* @__PURE__ */ A(Ie, {
4038
+ badge: i ? void 0 : e.badge,
4039
+ collapsed: i
4040
+ }, e.label) : /* @__PURE__ */ A(Le, {
4041
4041
  label: e.label,
4042
4042
  active: e.active
4043
4043
  }, e.label))]
4044
4044
  })] }, e.label))]
4045
4045
  }),
4046
- /* @__PURE__ */ A(E, {}),
4046
+ /* @__PURE__ */ A(T, {}),
4047
4047
  /* @__PURE__ */ j("div", {
4048
4048
  className: K.nav__footer,
4049
- children: [/* @__PURE__ */ A(Te, {
4049
+ children: [/* @__PURE__ */ A(De, {
4050
4050
  icon: yt,
4051
4051
  label: "Settings",
4052
- collapsed: n
4053
- }), /* @__PURE__ */ A(Te, {
4052
+ collapsed: i
4053
+ }), /* @__PURE__ */ A(De, {
4054
4054
  icon: Nt,
4055
4055
  label: "Contact support",
4056
- collapsed: n
4056
+ collapsed: i
4057
4057
  })]
4058
4058
  })
4059
4059
  ]
4060
4060
  }), /* @__PURE__ */ j("div", {
4061
4061
  className: K.main,
4062
- children: [/* @__PURE__ */ A(Le, {
4062
+ children: [/* @__PURE__ */ A(ze, {
4063
4063
  className: K.appBar,
4064
4064
  type: "minimal",
4065
4065
  density: "sm",
@@ -4078,14 +4078,14 @@ var oi = ({ state: e = "default", className: t, fillPlaceholders: r }) => {
4078
4078
  children: /* @__PURE__ */ j("div", {
4079
4079
  className: K.panes,
4080
4080
  children: [/* @__PURE__ */ j("div", {
4081
- ref: c.ref,
4082
- ...c.groupProps,
4081
+ ref: d.ref,
4082
+ ...d.groupProps,
4083
4083
  className: K.list,
4084
4084
  children: [
4085
- c.highlight,
4085
+ d.highlight,
4086
4086
  /* @__PURE__ */ A("div", {
4087
4087
  className: K.headerRow__filter,
4088
- children: /* @__PURE__ */ A(ye, {
4088
+ children: /* @__PURE__ */ A(xe, {
4089
4089
  fullWidth: !0,
4090
4090
  defaultValue: "all",
4091
4091
  options: [
@@ -4106,14 +4106,14 @@ var oi = ({ state: e = "default", className: t, fillPlaceholders: r }) => {
4106
4106
  }),
4107
4107
  /* @__PURE__ */ A("div", {
4108
4108
  className: K.list__search,
4109
- children: /* @__PURE__ */ A(x, {
4109
+ children: /* @__PURE__ */ A(w, {
4110
4110
  size: "sm",
4111
4111
  leadingIcon: /* @__PURE__ */ A(mt, { size: 16 }),
4112
4112
  placeholder: "Search conversations"
4113
4113
  })
4114
4114
  }),
4115
4115
  ci.map((t, n) => /* @__PURE__ */ A("button", {
4116
- onClick: () => a(n),
4116
+ onClick: () => c(n),
4117
4117
  style: {
4118
4118
  background: "none",
4119
4119
  border: "none",
@@ -4121,8 +4121,8 @@ var oi = ({ state: e = "default", className: t, fillPlaceholders: r }) => {
4121
4121
  cursor: "pointer",
4122
4122
  padding: 0
4123
4123
  },
4124
- children: /* @__PURE__ */ A(o, {
4125
- state: i === n ? "active" : e === "empty" && t.state === "active" ? "default" : t.state,
4124
+ children: /* @__PURE__ */ A(y, {
4125
+ state: o === n ? "active" : e === "empty" && t.state === "active" ? "default" : t.state,
4126
4126
  avatar: /* @__PURE__ */ A(we, {
4127
4127
  size: "md",
4128
4128
  initials: t.initials
@@ -4136,19 +4136,19 @@ var oi = ({ state: e = "default", className: t, fillPlaceholders: r }) => {
4136
4136
  ]
4137
4137
  }), /* @__PURE__ */ j("div", {
4138
4138
  className: K.chatColumn,
4139
- children: [r && /* @__PURE__ */ A("div", {
4139
+ children: [a && /* @__PURE__ */ A("div", {
4140
4140
  className: K.headerRow,
4141
4141
  children: /* @__PURE__ */ A("div", {
4142
4142
  className: K.headerRow__chat,
4143
- children: /* @__PURE__ */ A(Le, {
4143
+ children: /* @__PURE__ */ A(ze, {
4144
4144
  type: "chat",
4145
4145
  density: "sm",
4146
4146
  avatar: /* @__PURE__ */ A(we, {
4147
4147
  size: "md",
4148
- initials: h.initials
4148
+ initials: v.initials
4149
4149
  }),
4150
- title: h.name,
4151
- subtitle: h.state === "typing" ? "Typing..." : "Active now",
4150
+ title: v.name,
4151
+ subtitle: v.state === "typing" ? "Typing..." : "Active now",
4152
4152
  actions: /* @__PURE__ */ j(k, { children: [
4153
4153
  /* @__PURE__ */ A("button", {
4154
4154
  type: "button",
@@ -4176,29 +4176,29 @@ var oi = ({ state: e = "default", className: t, fillPlaceholders: r }) => {
4176
4176
  })
4177
4177
  }), /* @__PURE__ */ A("div", {
4178
4178
  className: K.chat,
4179
- children: r ? /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ j("div", {
4179
+ children: a ? /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ j("div", {
4180
4180
  className: K.thread,
4181
4181
  children: [
4182
4182
  /* @__PURE__ */ j("div", {
4183
4183
  className: K.dateRow,
4184
4184
  children: [
4185
- /* @__PURE__ */ A(E, {}),
4186
- /* @__PURE__ */ A(se, {
4185
+ /* @__PURE__ */ A(T, {}),
4186
+ /* @__PURE__ */ A(le, {
4187
4187
  type: "system",
4188
4188
  children: "Today"
4189
4189
  }),
4190
- /* @__PURE__ */ A(E, {})
4190
+ /* @__PURE__ */ A(T, {})
4191
4191
  ]
4192
4192
  }),
4193
- d.map((e) => /* @__PURE__ */ A("div", {
4193
+ m.map((e) => /* @__PURE__ */ A("div", {
4194
4194
  className: e.type === "sent" ? [K.msgRow, K["msgRow--sent"]].join(" ") : K.msgRow,
4195
- children: /* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A(se, {
4195
+ children: /* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A(le, {
4196
4196
  type: e.type,
4197
4197
  avatar: e.type === "received" ? /* @__PURE__ */ A(we, {
4198
4198
  size: "sm",
4199
- initials: e.authorInitials || h.initials
4199
+ initials: e.authorInitials || v.initials
4200
4200
  }) : void 0,
4201
- authorName: e.type === "received" ? e.authorInitials === h.initials ? h.name : "User" : void 0,
4201
+ authorName: e.type === "received" ? e.authorInitials === v.initials ? v.name : "User" : void 0,
4202
4202
  timestamp: e.timestamp,
4203
4203
  read: e.type === "sent",
4204
4204
  children: e.text
@@ -4251,11 +4251,11 @@ var oi = ({ state: e = "default", className: t, fillPlaceholders: r }) => {
4251
4251
  }, t))
4252
4252
  })] })
4253
4253
  }, e.id)),
4254
- h.state === "typing" && /* @__PURE__ */ A("div", {
4254
+ v.state === "typing" && /* @__PURE__ */ A("div", {
4255
4255
  className: K.msgRow,
4256
4256
  children: /* @__PURE__ */ j("div", {
4257
4257
  className: K.typing,
4258
- "aria-label": `${h.name} is typing`,
4258
+ "aria-label": `${v.name} is typing`,
4259
4259
  children: [
4260
4260
  /* @__PURE__ */ A("span", {}),
4261
4261
  /* @__PURE__ */ A("span", {}),
@@ -4264,15 +4264,15 @@ var oi = ({ state: e = "default", className: t, fillPlaceholders: r }) => {
4264
4264
  })
4265
4265
  })
4266
4266
  ]
4267
- }), /* @__PURE__ */ A(_, {
4268
- placeholder: `Message ${h.name}...`,
4269
- value: l,
4270
- onChange: u,
4271
- onSend: v,
4272
- onAttachmentsChange: m
4267
+ }), /* @__PURE__ */ A(t, {
4268
+ placeholder: `Message ${v.name}...`,
4269
+ value: f,
4270
+ onChange: p,
4271
+ onSend: b,
4272
+ onAttachmentsChange: _
4273
4273
  })] }) : /* @__PURE__ */ A("div", {
4274
4274
  className: K.chatEmpty,
4275
- children: /* @__PURE__ */ A(Ve, {
4275
+ children: /* @__PURE__ */ A(s, {
4276
4276
  type: "no-data",
4277
4277
  title: "No conversation selected",
4278
4278
  description: "Choose a conversation from the list to start reading."
@@ -4585,10 +4585,10 @@ function bi({ isOpen: e, children: t }) {
4585
4585
  });
4586
4586
  }
4587
4587
  function xi(e) {
4588
- return /* @__PURE__ */ A(ke, {
4588
+ return /* @__PURE__ */ A(Ae, {
4589
4589
  title: e.label,
4590
4590
  pointer: "center-right",
4591
- children: /* @__PURE__ */ A(Te, {
4591
+ children: /* @__PURE__ */ A(De, {
4592
4592
  ...e,
4593
4593
  nativeTooltip: !1
4594
4594
  })
@@ -4654,7 +4654,7 @@ var Si = [
4654
4654
  "owner",
4655
4655
  "country"
4656
4656
  ], Ti = ({ className: e, fillPlaceholders: t }) => {
4657
- let [r, a] = O.useState("leads"), [o, s] = O.useState("active"), [c, l] = O.useState(""), [u, d] = O.useState([]), [f, p] = O.useState(1), [m, h] = O.useState(new Set(pi)), [g, _] = O.useState(/* @__PURE__ */ new Set()), [v, y] = O.useState(new Set(wi)), b = (e) => y((t) => ye(t, e)), [S, te] = O.useState(7e4), [ne, re] = O.useState(!1), ie = O.useRef(null), [ae, oe] = O.useState(!1);
4657
+ let [n, i] = O.useState("leads"), [a, s] = O.useState("active"), [l, u] = O.useState(""), [d, f] = O.useState([]), [p, m] = O.useState(1), [h, g] = O.useState(new Set(pi)), [v, y] = O.useState(/* @__PURE__ */ new Set()), [b, x] = O.useState(new Set(wi)), S = (e) => x((t) => ve(t, e)), [C, ee] = O.useState(7e4), [ne, re] = O.useState(!1), ie = O.useRef(null), [ae, oe] = O.useState(!1);
4658
4658
  O.useEffect(() => {
4659
4659
  let e = ie.current;
4660
4660
  if (!e) return;
@@ -4678,7 +4678,7 @@ var Si = [
4678
4678
  let n = new ResizeObserver(t);
4679
4679
  return n.observe(e), () => n.disconnect();
4680
4680
  }, []);
4681
- let me = O.useRef(!1), ge = (e) => {
4681
+ let me = O.useRef(!1), he = (e) => {
4682
4682
  e.preventDefault();
4683
4683
  let t = de.current;
4684
4684
  if (!t) return;
@@ -4690,9 +4690,9 @@ var Si = [
4690
4690
  document.removeEventListener("pointermove", a), document.removeEventListener("pointerup", o);
4691
4691
  };
4692
4692
  document.addEventListener("pointermove", a), document.addEventListener("pointerup", o);
4693
- }, ve = () => {
4693
+ }, ge = () => {
4694
4694
  me.current || ce(!0);
4695
- }, ye = (e, t) => {
4695
+ }, ve = (e, t) => {
4696
4696
  let n = new Set(e);
4697
4697
  return n.has(t) ? n.delete(t) : n.add(t), n;
4698
4698
  }, be = O.useMemo(() => [
@@ -4736,7 +4736,7 @@ var Si = [
4736
4736
  key: "status",
4737
4737
  header: "Status",
4738
4738
  width: "12%",
4739
- render: (e) => /* @__PURE__ */ A(w, {
4739
+ render: (e) => /* @__PURE__ */ A(D, {
4740
4740
  variant: di[e.status],
4741
4741
  emphasis: "subtle",
4742
4742
  leftIcon: /* @__PURE__ */ A(Xt, {
@@ -4751,7 +4751,7 @@ var Si = [
4751
4751
  key: "source",
4752
4752
  header: "Source",
4753
4753
  width: "9%",
4754
- render: (e) => /* @__PURE__ */ A(w, {
4754
+ render: (e) => /* @__PURE__ */ A(D, {
4755
4755
  variant: "neutral",
4756
4756
  emphasis: "subtle",
4757
4757
  children: e.source
@@ -4797,10 +4797,10 @@ var Si = [
4797
4797
  children: e.nextFollowUp
4798
4798
  })
4799
4799
  }
4800
- ], []), Ce = O.useMemo(() => ui.filter((e) => {
4801
- if (m.size && !m.has(e.status) || g.size && !g.has(e.source)) return !1;
4802
- if (c) {
4803
- let t = c.toLowerCase();
4800
+ ], []), xe = O.useMemo(() => ui.filter((e) => {
4801
+ if (h.size && !h.has(e.status) || v.size && !v.has(e.source)) return !1;
4802
+ if (l) {
4803
+ let t = l.toLowerCase();
4804
4804
  if (![
4805
4805
  e.company,
4806
4806
  e.contact,
@@ -4809,9 +4809,9 @@ var Si = [
4809
4809
  }
4810
4810
  return !0;
4811
4811
  }), [
4812
- m,
4813
- g,
4814
- c
4812
+ h,
4813
+ v,
4814
+ l
4815
4815
  ]);
4816
4816
  return /* @__PURE__ */ j("div", {
4817
4817
  ref: ie,
@@ -4819,23 +4819,23 @@ var Si = [
4819
4819
  children: [
4820
4820
  /* @__PURE__ */ A("div", {
4821
4821
  className: q.rail,
4822
- children: /* @__PURE__ */ j(Me, {
4822
+ children: /* @__PURE__ */ j(Ne, {
4823
4823
  collapsed: !0,
4824
4824
  children: [
4825
- /* @__PURE__ */ A(ke, {
4825
+ /* @__PURE__ */ A(Ae, {
4826
4826
  title: "Sakani",
4827
4827
  pointer: "center-right",
4828
- children: /* @__PURE__ */ A(Re, {
4828
+ children: /* @__PURE__ */ A(Be, {
4829
4829
  type: "brand",
4830
4830
  title: "Sakani",
4831
- logo: /* @__PURE__ */ A(ee, {}),
4831
+ logo: /* @__PURE__ */ A(r, {}),
4832
4832
  collapsed: !0
4833
4833
  })
4834
4834
  }),
4835
- /* @__PURE__ */ A(he, {}),
4835
+ /* @__PURE__ */ A(_e, {}),
4836
4836
  /* @__PURE__ */ A("div", {
4837
4837
  className: q.navScroll,
4838
- children: Si.slice(0, 2).map((e, t) => /* @__PURE__ */ j(O.Fragment, { children: [t > 0 && /* @__PURE__ */ A(he, {}), /* @__PURE__ */ A("div", {
4838
+ children: Si.slice(0, 2).map((e, t) => /* @__PURE__ */ j(O.Fragment, { children: [t > 0 && /* @__PURE__ */ A(_e, {}), /* @__PURE__ */ A("div", {
4839
4839
  className: q.navGroup,
4840
4840
  children: e.map((e) => /* @__PURE__ */ A(xi, {
4841
4841
  collapsed: !0,
@@ -4845,7 +4845,7 @@ var Si = [
4845
4845
  }, e.label))
4846
4846
  })] }, t))
4847
4847
  }),
4848
- /* @__PURE__ */ A(he, {}),
4848
+ /* @__PURE__ */ A(_e, {}),
4849
4849
  /* @__PURE__ */ A("div", {
4850
4850
  className: q.navGroup,
4851
4851
  children: Si[2].map((e) => /* @__PURE__ */ A(xi, {
@@ -4854,7 +4854,7 @@ var Si = [
4854
4854
  label: e.label
4855
4855
  }, e.label))
4856
4856
  }),
4857
- /* @__PURE__ */ A(he, {})
4857
+ /* @__PURE__ */ A(_e, {})
4858
4858
  ]
4859
4859
  })
4860
4860
  }),
@@ -4870,18 +4870,18 @@ var Si = [
4870
4870
  role: "dialog",
4871
4871
  "aria-label": "Navigation",
4872
4872
  "aria-hidden": !ne,
4873
- children: /* @__PURE__ */ j(Me, { children: [
4874
- /* @__PURE__ */ A(Re, {
4873
+ children: /* @__PURE__ */ j(Ne, { children: [
4874
+ /* @__PURE__ */ A(Be, {
4875
4875
  type: "brand",
4876
4876
  title: "Sakani",
4877
- logo: /* @__PURE__ */ A(ee, {})
4877
+ logo: /* @__PURE__ */ A(r, {})
4878
4878
  }),
4879
- /* @__PURE__ */ A(he, {}),
4879
+ /* @__PURE__ */ A(_e, {}),
4880
4880
  /* @__PURE__ */ A("div", {
4881
4881
  className: q.navScroll,
4882
- children: Si.map((e, t) => /* @__PURE__ */ j(O.Fragment, { children: [t > 0 && /* @__PURE__ */ A(he, {}), /* @__PURE__ */ A("div", {
4882
+ children: Si.map((e, t) => /* @__PURE__ */ j(O.Fragment, { children: [t > 0 && /* @__PURE__ */ A(_e, {}), /* @__PURE__ */ A("div", {
4883
4883
  className: q.drawerGroup,
4884
- children: e.map((e) => /* @__PURE__ */ A(Te, {
4884
+ children: e.map((e) => /* @__PURE__ */ A(De, {
4885
4885
  icon: e.icon,
4886
4886
  label: e.label,
4887
4887
  active: e.active,
@@ -4895,7 +4895,7 @@ var Si = [
4895
4895
  /* @__PURE__ */ j("div", {
4896
4896
  className: q.main,
4897
4897
  children: [
4898
- /* @__PURE__ */ A(Le, {
4898
+ /* @__PURE__ */ A(ze, {
4899
4899
  type: "breadcrumb",
4900
4900
  density: "sm",
4901
4901
  showToggle: !0,
@@ -4903,7 +4903,7 @@ var Si = [
4903
4903
  onToggle: () => re((e) => !e),
4904
4904
  showActions: !0,
4905
4905
  hasUnread: !0,
4906
- left: /* @__PURE__ */ A(Se, { items: [
4906
+ left: /* @__PURE__ */ A(_, { items: [
4907
4907
  {
4908
4908
  label: "Database",
4909
4909
  href: "#"
@@ -4921,9 +4921,9 @@ var Si = [
4921
4921
  }),
4922
4922
  /* @__PURE__ */ A("div", {
4923
4923
  className: q.tabsBar,
4924
- children: /* @__PURE__ */ A(Pe, {
4925
- value: r,
4926
- onChange: a,
4924
+ children: /* @__PURE__ */ A(Ie, {
4925
+ value: n,
4926
+ onChange: i,
4927
4927
  items: [
4928
4928
  {
4929
4929
  value: "leads",
@@ -4960,7 +4960,7 @@ var Si = [
4960
4960
  children: [/* @__PURE__ */ A("h2", {
4961
4961
  className: q.filtersTitle,
4962
4962
  children: "Filter"
4963
- }), /* @__PURE__ */ A(C, {
4963
+ }), /* @__PURE__ */ A(o, {
4964
4964
  size: "sm",
4965
4965
  variant: "outline",
4966
4966
  icon: lt,
@@ -4971,11 +4971,11 @@ var Si = [
4971
4971
  }),
4972
4972
  /* @__PURE__ */ A("div", {
4973
4973
  className: q.filterTabs,
4974
- children: /* @__PURE__ */ A(Pe, {
4974
+ children: /* @__PURE__ */ A(Ie, {
4975
4975
  className: q.filterSegmented,
4976
4976
  bordered: !1,
4977
4977
  fill: !0,
4978
- value: o,
4978
+ value: a,
4979
4979
  onChange: s,
4980
4980
  items: [
4981
4981
  {
@@ -4993,78 +4993,78 @@ var Si = [
4993
4993
  ]
4994
4994
  })
4995
4995
  }),
4996
- o === "active" ? /* @__PURE__ */ j("div", {
4996
+ a === "active" ? /* @__PURE__ */ j("div", {
4997
4997
  className: q.filtersScroll,
4998
4998
  children: [
4999
4999
  /* @__PURE__ */ j("section", {
5000
5000
  className: q.group,
5001
5001
  children: [/* @__PURE__ */ A(yi, {
5002
5002
  title: "Lead status",
5003
- isOpen: v.has("status"),
5004
- onToggle: () => b("status")
5003
+ isOpen: b.has("status"),
5004
+ onToggle: () => S("status")
5005
5005
  }), /* @__PURE__ */ A(bi, {
5006
- isOpen: v.has("status"),
5006
+ isOpen: b.has("status"),
5007
5007
  children: /* @__PURE__ */ A("div", {
5008
5008
  className: q.checkGrid,
5009
- children: pi.map((e) => /* @__PURE__ */ A(i, {
5009
+ children: pi.map((e) => /* @__PURE__ */ A(Te, {
5010
5010
  className: fi[e],
5011
5011
  label: e,
5012
- checked: m.has(e),
5013
- onChange: () => h((t) => ye(t, e))
5012
+ checked: h.has(e),
5013
+ onChange: () => g((t) => ve(t, e))
5014
5014
  }, e))
5015
5015
  })
5016
5016
  })]
5017
5017
  }),
5018
- /* @__PURE__ */ A(E, {}),
5018
+ /* @__PURE__ */ A(T, {}),
5019
5019
  /* @__PURE__ */ j("section", {
5020
5020
  className: q.group,
5021
5021
  children: [/* @__PURE__ */ A(yi, {
5022
5022
  title: "Lead source",
5023
- isOpen: v.has("source"),
5024
- onToggle: () => b("source")
5023
+ isOpen: b.has("source"),
5024
+ onToggle: () => S("source")
5025
5025
  }), /* @__PURE__ */ A(bi, {
5026
- isOpen: v.has("source"),
5026
+ isOpen: b.has("source"),
5027
5027
  children: /* @__PURE__ */ A("div", {
5028
5028
  className: q.checkGrid,
5029
- children: mi.map((e) => /* @__PURE__ */ A(i, {
5029
+ children: mi.map((e) => /* @__PURE__ */ A(Te, {
5030
5030
  label: e,
5031
- checked: g.has(e),
5032
- onChange: () => _((t) => ye(t, e))
5031
+ checked: v.has(e),
5032
+ onChange: () => y((t) => ve(t, e))
5033
5033
  }, e))
5034
5034
  })
5035
5035
  })]
5036
5036
  }),
5037
- /* @__PURE__ */ A(E, {}),
5037
+ /* @__PURE__ */ A(T, {}),
5038
5038
  /* @__PURE__ */ j("section", {
5039
5039
  className: q.group,
5040
5040
  children: [/* @__PURE__ */ A(yi, {
5041
5041
  title: "Industry",
5042
- isOpen: v.has("industry"),
5043
- onToggle: () => b("industry")
5042
+ isOpen: b.has("industry"),
5043
+ onToggle: () => S("industry")
5044
5044
  }), /* @__PURE__ */ A(bi, {
5045
- isOpen: v.has("industry"),
5046
- children: /* @__PURE__ */ A(De, {
5045
+ isOpen: b.has("industry"),
5046
+ children: /* @__PURE__ */ A(Oe, {
5047
5047
  placeholder: "Select industry",
5048
5048
  options: hi
5049
5049
  })
5050
5050
  })]
5051
5051
  }),
5052
- /* @__PURE__ */ A(E, {}),
5052
+ /* @__PURE__ */ A(T, {}),
5053
5053
  /* @__PURE__ */ j("section", {
5054
5054
  className: q.group,
5055
5055
  children: [/* @__PURE__ */ A(yi, {
5056
5056
  title: "Deal value",
5057
- isOpen: v.has("dealValue"),
5058
- onToggle: () => b("dealValue")
5057
+ isOpen: b.has("dealValue"),
5058
+ onToggle: () => S("dealValue")
5059
5059
  }), /* @__PURE__ */ A(bi, {
5060
- isOpen: v.has("dealValue"),
5060
+ isOpen: b.has("dealValue"),
5061
5061
  children: /* @__PURE__ */ j("div", {
5062
5062
  className: q.dealValueGroup,
5063
- children: [/* @__PURE__ */ A(je, {
5063
+ children: [/* @__PURE__ */ A(Me, {
5064
5064
  min: 0,
5065
5065
  max: 1e5,
5066
- value: S,
5067
- onChange: (e) => te(Number(e.target.value)),
5066
+ value: C,
5067
+ onChange: (e) => ee(Number(e.target.value)),
5068
5068
  "aria-label": "Deal value"
5069
5069
  }), /* @__PURE__ */ j("div", {
5070
5070
  className: q.rangeRow,
@@ -5075,22 +5075,22 @@ var Si = [
5075
5075
  }), /* @__PURE__ */ A("div", {
5076
5076
  className: q.rangeLabel,
5077
5077
  "aria-label": "Maximum deal value",
5078
- children: Ci(S)
5078
+ children: Ci(C)
5079
5079
  })]
5080
5080
  })]
5081
5081
  })
5082
5082
  })]
5083
5083
  }),
5084
- /* @__PURE__ */ A(E, {}),
5084
+ /* @__PURE__ */ A(T, {}),
5085
5085
  /* @__PURE__ */ j("section", {
5086
5086
  className: q.group,
5087
5087
  children: [/* @__PURE__ */ A(yi, {
5088
5088
  title: "Owner",
5089
- isOpen: v.has("owner"),
5090
- onToggle: () => b("owner")
5089
+ isOpen: b.has("owner"),
5090
+ onToggle: () => S("owner")
5091
5091
  }), /* @__PURE__ */ A(bi, {
5092
- isOpen: v.has("owner"),
5093
- children: /* @__PURE__ */ A(De, {
5092
+ isOpen: b.has("owner"),
5093
+ children: /* @__PURE__ */ A(Oe, {
5094
5094
  placeholder: "Select owner",
5095
5095
  options: gi
5096
5096
  })
@@ -5100,11 +5100,11 @@ var Si = [
5100
5100
  className: q.group,
5101
5101
  children: [/* @__PURE__ */ A(yi, {
5102
5102
  title: "Country",
5103
- isOpen: v.has("country"),
5104
- onToggle: () => b("country")
5103
+ isOpen: b.has("country"),
5104
+ onToggle: () => S("country")
5105
5105
  }), /* @__PURE__ */ A(bi, {
5106
- isOpen: v.has("country"),
5107
- children: /* @__PURE__ */ A(De, {
5106
+ isOpen: b.has("country"),
5107
+ children: /* @__PURE__ */ A(Oe, {
5108
5108
  placeholder: "Select country",
5109
5109
  options: _i
5110
5110
  })
@@ -5115,11 +5115,11 @@ var Si = [
5115
5115
  className: q.filtersScroll,
5116
5116
  children: Array.from({ length: 3 }).map((e, t) => /* @__PURE__ */ j("div", {
5117
5117
  className: q.filterSkeletonGroup,
5118
- children: [/* @__PURE__ */ A(T, {
5118
+ children: [/* @__PURE__ */ A(E, {
5119
5119
  variant: "text",
5120
5120
  width: 90,
5121
5121
  height: 14
5122
- }), /* @__PURE__ */ A(T, {
5122
+ }), /* @__PURE__ */ A(E, {
5123
5123
  variant: "rect",
5124
5124
  width: "100%",
5125
5125
  height: 32
@@ -5131,15 +5131,15 @@ var Si = [
5131
5131
  className: q.tableRegion,
5132
5132
  ref: de,
5133
5133
  children: [
5134
- !se && /* @__PURE__ */ A(C, {
5134
+ !se && /* @__PURE__ */ A(o, {
5135
5135
  size: "sm",
5136
5136
  variant: "outline",
5137
5137
  icon: $t,
5138
5138
  "aria-label": "Show filter panel",
5139
5139
  className: q.filtersReopen,
5140
5140
  style: { top: le },
5141
- onPointerDown: ge,
5142
- onClick: ve
5141
+ onPointerDown: he,
5142
+ onClick: ge
5143
5143
  }),
5144
5144
  /* @__PURE__ */ j("div", {
5145
5145
  className: q.toolbar,
@@ -5147,33 +5147,33 @@ var Si = [
5147
5147
  className: q.toolbarLeft,
5148
5148
  children: [/* @__PURE__ */ A("div", {
5149
5149
  className: q.searchField,
5150
- children: /* @__PURE__ */ A(x, {
5150
+ children: /* @__PURE__ */ A(w, {
5151
5151
  size: "sm",
5152
5152
  placeholder: "Search customers, email, phone...",
5153
5153
  leadingIcon: /* @__PURE__ */ A(mt, { size: 16 }),
5154
- value: c,
5155
- onChange: (e) => l(e.target.value)
5154
+ value: l,
5155
+ onChange: (e) => u(e.target.value)
5156
5156
  })
5157
- }), /* @__PURE__ */ A(n, {
5157
+ }), /* @__PURE__ */ A(te, {
5158
5158
  type: "add",
5159
5159
  children: "Add filter"
5160
5160
  })]
5161
5161
  }), /* @__PURE__ */ j("div", {
5162
5162
  className: q.toolbarRight,
5163
5163
  children: [
5164
- /* @__PURE__ */ A(D, {
5164
+ /* @__PURE__ */ A(c, {
5165
5165
  variant: "ghost",
5166
5166
  size: "sm",
5167
5167
  rightIcon: /* @__PURE__ */ A(qe, { size: 16 }),
5168
5168
  children: "Assign owner"
5169
5169
  }),
5170
- /* @__PURE__ */ A(D, {
5170
+ /* @__PURE__ */ A(c, {
5171
5171
  variant: "ghost",
5172
5172
  size: "sm",
5173
5173
  rightIcon: /* @__PURE__ */ A(qe, { size: 16 }),
5174
5174
  children: "Change status"
5175
5175
  }),
5176
- /* @__PURE__ */ A(D, {
5176
+ /* @__PURE__ */ A(c, {
5177
5177
  variant: "ghost",
5178
5178
  size: "sm",
5179
5179
  rightIcon: /* @__PURE__ */ A(qe, { size: 16 }),
@@ -5182,44 +5182,44 @@ var Si = [
5182
5182
  ]
5183
5183
  })]
5184
5184
  }),
5185
- r === "leads" ? t ? /* @__PURE__ */ j("div", {
5185
+ n === "leads" ? t ? /* @__PURE__ */ j("div", {
5186
5186
  className: q.tableShell,
5187
- children: [/* @__PURE__ */ A(xe, {
5187
+ children: [/* @__PURE__ */ A(Se, {
5188
5188
  columns: be,
5189
- rows: Ce,
5189
+ rows: xe,
5190
5190
  selectable: !0,
5191
- selectedRows: u,
5192
- onSelectionChange: d,
5191
+ selectedRows: d,
5192
+ onSelectionChange: f,
5193
5193
  rowKey: (e) => e.email,
5194
5194
  bordered: !1
5195
5195
  }), /* @__PURE__ */ A("div", {
5196
5196
  className: q.tableFiller,
5197
5197
  "aria-hidden": "true"
5198
5198
  })]
5199
- }) : /* @__PURE__ */ A(xe, {
5199
+ }) : /* @__PURE__ */ A(Se, {
5200
5200
  columns: be,
5201
- rows: Ce,
5201
+ rows: xe,
5202
5202
  selectable: !0,
5203
- selectedRows: u,
5204
- onSelectionChange: d,
5203
+ selectedRows: d,
5204
+ onSelectionChange: f,
5205
5205
  rowKey: (e) => e.email,
5206
5206
  responsive: fe ? "stacked" : "default"
5207
5207
  }) : /* @__PURE__ */ A("div", {
5208
5208
  className: q.panel,
5209
5209
  children: Array.from({ length: 8 }).map((e, t) => /* @__PURE__ */ j("div", {
5210
5210
  className: q.skeletonRow,
5211
- children: [/* @__PURE__ */ A(T, {
5211
+ children: [/* @__PURE__ */ A(E, {
5212
5212
  variant: "rect",
5213
5213
  width: 16,
5214
5214
  height: 16
5215
5215
  }), be.map((e) => /* @__PURE__ */ j("span", {
5216
5216
  className: q.skeletonCell,
5217
5217
  style: { width: e.width },
5218
- children: [(e.key === "company" || e.key === "contact" || e.key === "owner") && /* @__PURE__ */ A(T, {
5218
+ children: [(e.key === "company" || e.key === "contact" || e.key === "owner") && /* @__PURE__ */ A(E, {
5219
5219
  variant: "circle",
5220
5220
  width: 24,
5221
5221
  height: 24
5222
- }), /* @__PURE__ */ A(T, {
5222
+ }), /* @__PURE__ */ A(E, {
5223
5223
  variant: "text",
5224
5224
  width: "60%",
5225
5225
  height: 12
@@ -5231,11 +5231,11 @@ var Si = [
5231
5231
  className: q.footer,
5232
5232
  children: [/* @__PURE__ */ A("p", {
5233
5233
  className: q.footerText,
5234
- children: r === "leads" ? `Showing 1–${Ce.length} of ${Ce.length} leads` : `Loading ${vi[r]}…`
5235
- }), /* @__PURE__ */ A(_e, {
5234
+ children: n === "leads" ? `Showing 1–${xe.length} of ${xe.length} leads` : `Loading ${vi[n]}…`
5235
+ }), /* @__PURE__ */ A(ye, {
5236
5236
  total: 10,
5237
- page: f,
5238
- onPageChange: p
5237
+ page: p,
5238
+ onPageChange: m
5239
5239
  })]
5240
5240
  })
5241
5241
  ]
@@ -5251,7 +5251,7 @@ var Si = [
5251
5251
  "rail-tip-in": "_rail-tip-in_h2vi2_1",
5252
5252
  caret: "_caret_h2vi2_21"
5253
5253
  }, Di = ({ title: e, children: t }) => {
5254
- let n = hn(null), [r, i] = gn(null), a = Ge(n, !!r), o = fn(() => {
5254
+ let n = hn(null), [r, i] = gn(null), a = We(n, !!r), o = fn(() => {
5255
5255
  let e = n.current?.getBoundingClientRect();
5256
5256
  e && i({
5257
5257
  top: e.top + e.height / 2,
@@ -5386,7 +5386,7 @@ function Ni({ colorIndex: e, label: t, value: n }) {
5386
5386
  className: Mi.label,
5387
5387
  children: t
5388
5388
  }),
5389
- /* @__PURE__ */ A(w, {
5389
+ /* @__PURE__ */ A(D, {
5390
5390
  variant: "neutral",
5391
5391
  emphasis: "subtle",
5392
5392
  children: n
@@ -5405,25 +5405,25 @@ var Pi = {
5405
5405
  "6 months"
5406
5406
  ];
5407
5407
  function Ii({ defaultValue: e = "6 months", options: t = Fi, formatLabel: n = (e) => `Last ${e}`, onChange: r, variant: i = "ghost" }) {
5408
- let [a, o] = gn(e), [s, c] = gn(!1), l = hn(null);
5408
+ let [a, o] = gn(e), [s, l] = gn(!1), u = hn(null);
5409
5409
  pn(() => {
5410
5410
  if (!s) return;
5411
5411
  let e = (e) => {
5412
- l.current && !l.current.contains(e.target) && c(!1);
5412
+ u.current && !u.current.contains(e.target) && l(!1);
5413
5413
  }, t = (e) => {
5414
- e.key === "Escape" && c(!1);
5414
+ e.key === "Escape" && l(!1);
5415
5415
  };
5416
5416
  return document.addEventListener("mousedown", e), document.addEventListener("keydown", t), () => {
5417
5417
  document.removeEventListener("mousedown", e), document.removeEventListener("keydown", t);
5418
5418
  };
5419
5419
  }, [s]);
5420
- let u = (e) => {
5421
- o(e), c(!1), r?.(e);
5420
+ let d = (e) => {
5421
+ o(e), l(!1), r?.(e);
5422
5422
  };
5423
5423
  return /* @__PURE__ */ j("div", {
5424
5424
  className: Pi.root,
5425
- ref: l,
5426
- children: [/* @__PURE__ */ A(D, {
5425
+ ref: u,
5426
+ children: [/* @__PURE__ */ A(c, {
5427
5427
  variant: i,
5428
5428
  size: "sm",
5429
5429
  className: Pi.trigger,
@@ -5433,15 +5433,15 @@ function Ii({ defaultValue: e = "6 months", options: t = Fi, formatLabel: n = (e
5433
5433
  }),
5434
5434
  "aria-haspopup": "menu",
5435
5435
  "aria-expanded": s,
5436
- onClick: () => c((e) => !e),
5436
+ onClick: () => l((e) => !e),
5437
5437
  children: n(a)
5438
5438
  }), s && /* @__PURE__ */ A("div", {
5439
5439
  className: Pi.menu,
5440
- children: /* @__PURE__ */ A(We, {
5440
+ children: /* @__PURE__ */ A(Ge, {
5441
5441
  "aria-label": "Select time range",
5442
- children: t.map((e) => /* @__PURE__ */ A(Be, {
5442
+ children: t.map((e) => /* @__PURE__ */ A(Ve, {
5443
5443
  state: e === a ? "checked" : "default",
5444
- onSelect: () => u(e),
5444
+ onSelect: () => d(e),
5445
5445
  children: n(e)
5446
5446
  }, e))
5447
5447
  })
@@ -5733,33 +5733,33 @@ var J = {
5733
5733
  }
5734
5734
  ];
5735
5735
  function qi({ people: e = {} }) {
5736
- let [t, n] = gn(Vi), [r, i] = gn(Hi), [a, o] = gn(Ui);
5736
+ let [t, n] = gn(Vi), [r, i] = gn(Hi), [o, s] = gn(Ui);
5737
5737
  return /* @__PURE__ */ j(k, { children: [
5738
5738
  /* @__PURE__ */ j("div", {
5739
5739
  className: J.kpiRow,
5740
5740
  children: [
5741
- /* @__PURE__ */ A(ce, {
5741
+ /* @__PURE__ */ A(de, {
5742
5742
  title: "Total revenue",
5743
5743
  value: "$2,483,920",
5744
5744
  delta: "18.2%",
5745
5745
  trend: "up",
5746
5746
  description: "vs last month"
5747
5747
  }),
5748
- /* @__PURE__ */ A(ce, {
5748
+ /* @__PURE__ */ A(de, {
5749
5749
  title: "Net profit",
5750
5750
  value: "$712,480",
5751
5751
  delta: "12.2%",
5752
5752
  trend: "up",
5753
5753
  description: "vs last month"
5754
5754
  }),
5755
- /* @__PURE__ */ A(ce, {
5755
+ /* @__PURE__ */ A(de, {
5756
5756
  title: "Orders today",
5757
5757
  value: "18,432",
5758
5758
  delta: "9.8%",
5759
5759
  trend: "up",
5760
5760
  description: "vs last month"
5761
5761
  }),
5762
- /* @__PURE__ */ A(ce, {
5762
+ /* @__PURE__ */ A(de, {
5763
5763
  title: "Active customers",
5764
5764
  value: "24,981",
5765
5765
  delta: "1.5%",
@@ -5775,7 +5775,7 @@ function qi({ people: e = {} }) {
5775
5775
  title: "Revenue trend",
5776
5776
  description: "Track monthly revenue growth and identify\nsales trends.",
5777
5777
  className: J.panelCanvas,
5778
- actions: /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(w, {
5778
+ actions: /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(D, {
5779
5779
  variant: "success",
5780
5780
  emphasis: "subtle",
5781
5781
  leftIcon: /* @__PURE__ */ A(et, {
@@ -5786,7 +5786,7 @@ function qi({ people: e = {} }) {
5786
5786
  }), /* @__PURE__ */ A(Ii, { onChange: () => n(Ri()) })] }),
5787
5787
  children: /* @__PURE__ */ A("div", {
5788
5788
  className: J.chartH176,
5789
- children: /* @__PURE__ */ A(le, {
5789
+ children: /* @__PURE__ */ A(Re, {
5790
5790
  data: t.map((e) => ({
5791
5791
  label: e.label,
5792
5792
  value: e.revenue
@@ -5817,7 +5817,7 @@ function qi({ people: e = {} }) {
5817
5817
  }), /* @__PURE__ */ A(Ii, { onChange: () => i(zi()) })] }),
5818
5818
  children: /* @__PURE__ */ A("div", {
5819
5819
  className: J.chartH176,
5820
- children: /* @__PURE__ */ A(He, {
5820
+ children: /* @__PURE__ */ A(Ue, {
5821
5821
  data: r,
5822
5822
  series: ["Acquisition", "Retention"],
5823
5823
  size: "sm"
@@ -5828,7 +5828,7 @@ function qi({ people: e = {} }) {
5828
5828
  title: "Sales channel",
5829
5829
  description: "Compare revenue contribution across your primary sales channels.",
5830
5830
  className: J.panelCanvas,
5831
- actions: /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(w, {
5831
+ actions: /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(D, {
5832
5832
  variant: "success",
5833
5833
  emphasis: "subtle",
5834
5834
  leftIcon: /* @__PURE__ */ A(et, {
@@ -5845,22 +5845,22 @@ function qi({ people: e = {} }) {
5845
5845
  "This year"
5846
5846
  ],
5847
5847
  formatLabel: (e) => e,
5848
- onChange: () => o(Bi(Ui))
5848
+ onChange: () => s(Bi(Ui))
5849
5849
  })] }),
5850
5850
  children: /* @__PURE__ */ j("div", {
5851
5851
  className: J.chartLegendRow,
5852
5852
  children: [/* @__PURE__ */ A("div", {
5853
5853
  className: J.chartFixed,
5854
5854
  style: { width: 160 },
5855
- children: /* @__PURE__ */ A(S, {
5856
- data: a,
5855
+ children: /* @__PURE__ */ A(a, {
5856
+ data: o,
5857
5857
  size: "sm",
5858
5858
  centerValue: "$2.44M",
5859
5859
  centerCaption: "of revenue"
5860
5860
  })
5861
5861
  }), /* @__PURE__ */ A("div", {
5862
5862
  className: J.legendList,
5863
- children: a.map((e, t) => /* @__PURE__ */ A(Ni, {
5863
+ children: o.map((e, t) => /* @__PURE__ */ A(Ni, {
5864
5864
  colorIndex: t + 1,
5865
5865
  label: e.label,
5866
5866
  value: `${e.value}%`
@@ -5875,7 +5875,7 @@ function qi({ people: e = {} }) {
5875
5875
  children: [/* @__PURE__ */ A(ji, {
5876
5876
  title: "Recent orders",
5877
5877
  description: "Track recent customer purchases and order progress.",
5878
- actions: /* @__PURE__ */ A(D, {
5878
+ actions: /* @__PURE__ */ A(c, {
5879
5879
  variant: "outline",
5880
5880
  size: "sm",
5881
5881
  children: "View all"
@@ -5884,7 +5884,7 @@ function qi({ people: e = {} }) {
5884
5884
  className: J.spanTwo,
5885
5885
  children: /* @__PURE__ */ A("div", {
5886
5886
  className: J.panelScroll,
5887
- children: /* @__PURE__ */ A(xe, {
5887
+ children: /* @__PURE__ */ A(Se, {
5888
5888
  columns: [
5889
5889
  {
5890
5890
  key: "order",
@@ -5906,7 +5906,7 @@ function qi({ people: e = {} }) {
5906
5906
  {
5907
5907
  key: "status",
5908
5908
  header: "Status",
5909
- render: (e) => /* @__PURE__ */ A(w, {
5909
+ render: (e) => /* @__PURE__ */ A(D, {
5910
5910
  variant: Gi[e.status],
5911
5911
  emphasis: "subtle",
5912
5912
  children: e.status
@@ -5928,7 +5928,7 @@ function qi({ people: e = {} }) {
5928
5928
  return /* @__PURE__ */ j("div", {
5929
5929
  className: J.activityRow,
5930
5930
  children: [
5931
- t.avatarGroup ? /* @__PURE__ */ A(ne, {
5931
+ t.avatarGroup ? /* @__PURE__ */ A(re, {
5932
5932
  size: "sm",
5933
5933
  avatars: t.avatarGroup.map((t) => ({
5934
5934
  src: e[t.person] ?? "",
@@ -6065,7 +6065,7 @@ var Ji = dn(qi), Y = {
6065
6065
  let e = a.current, t = o.current;
6066
6066
  if (!e) return;
6067
6067
  let n = Math.min(.26, Math.abs(t.v) / 3200);
6068
- e.style.transform = `translate3d(${c.current.x}px, ${t.y}px, 0) scale(${t.sx * (1 - n * .22)}, ${t.sy * (1 + n)})`, ve();
6068
+ e.style.transform = `translate3d(${c.current.x}px, ${t.y}px, 0) scale(${t.sx * (1 - n * .22)}, ${t.sy * (1 + n)})`, He();
6069
6069
  }, d = (e) => {
6070
6070
  let t = o.current, n = s.current, r = Math.min(1 / 30, (e - (t.last || e)) / 1e3) || 1 / 60;
6071
6071
  t.last = e;
@@ -6100,28 +6100,28 @@ var Ji = dn(qi), Y = {
6100
6100
  },
6101
6101
  children: i
6102
6102
  });
6103
- }, Qi = ({ backgroundImage: e, accountAvatar: t, people: n, className: r }) => {
6104
- let [i, a] = gn(!1), o = hn(null), s = hn(!1);
6103
+ }, Qi = ({ backgroundImage: e, accountAvatar: t, people: n, className: i }) => {
6104
+ let [a, o] = gn(!1), s = hn(null), c = hn(!1);
6105
6105
  mn(() => {
6106
- let e = o.current;
6106
+ let e = s.current;
6107
6107
  if (!e) return;
6108
6108
  let t = () => {
6109
- s.current || a(e.clientWidth < Xi);
6109
+ c.current || o(e.clientWidth < Xi);
6110
6110
  };
6111
6111
  t();
6112
6112
  let n = new ResizeObserver(t);
6113
6113
  return n.observe(e), () => n.disconnect();
6114
6114
  }, []);
6115
- let [c, l] = gn("Dashboard"), [u, d] = gn(null), [f, p] = gn(!1), [m, h] = gn({
6115
+ let [l, u] = gn("Dashboard"), [d, f] = gn(null), [p, m] = gn(!1), [h, g] = gn({
6116
6116
  active: null,
6117
6117
  hover: null,
6118
6118
  hoverGlide: !1
6119
- }), [g, _] = gn(!1), v = hn(null), y = hn(/* @__PURE__ */ new Map()), b = u && u !== c ? u : null, x = hn(null);
6120
- b && (x.current = b);
6121
- let S = x.current, C = hn(null), te = (e) => {
6122
- let t = e ? y.current.get(e) : null;
6119
+ }), [_, v] = gn(!1), y = hn(null), b = hn(/* @__PURE__ */ new Map()), x = d && d !== l ? d : null, S = hn(null);
6120
+ x && (S.current = x);
6121
+ let C = S.current, w = hn(null), ee = (e) => {
6122
+ let t = e ? b.current.get(e) : null;
6123
6123
  if (!t) return null;
6124
- let n = i ? t.querySelector("button, a, [role=\"button\"]") : null, r = v.current;
6124
+ let n = a ? t.querySelector("button, a, [role=\"button\"]") : null, r = y.current;
6125
6125
  if (n && r) {
6126
6126
  let e = n.getBoundingClientRect(), t = r.getBoundingClientRect();
6127
6127
  return {
@@ -6137,42 +6137,42 @@ var Ji = dn(qi), Y = {
6137
6137
  w: t.offsetWidth,
6138
6138
  h: t.offsetHeight
6139
6139
  };
6140
- }, ne = (e, t) => e === t || !!e && !!t && e.x === t.x && e.y === t.y && e.w === t.w && e.h === t.h, re = fn(() => {
6140
+ }, te = (e, t) => e === t || !!e && !!t && e.x === t.x && e.y === t.y && e.w === t.w && e.h === t.h, ne = fn(() => {
6141
6141
  let e = {
6142
- active: te(c),
6143
- hover: te(S)
6144
- }, t = C.current !== null && b !== null;
6145
- h((n) => ne(n.active, e.active) && ne(n.hover, e.hover) && n.hoverGlide === t ? n : {
6142
+ active: ee(l),
6143
+ hover: ee(C)
6144
+ }, t = w.current !== null && x !== null;
6145
+ g((n) => te(n.active, e.active) && te(n.hover, e.hover) && n.hoverGlide === t ? n : {
6146
6146
  ...e,
6147
6147
  hoverGlide: t
6148
6148
  });
6149
6149
  }, [
6150
- c,
6151
- S,
6152
- b,
6153
- i
6150
+ l,
6151
+ C,
6152
+ x,
6153
+ a
6154
6154
  ]);
6155
6155
  return mn(() => {
6156
- re(), C.current = b;
6157
- let e = v.current;
6156
+ ne(), w.current = x;
6157
+ let e = y.current;
6158
6158
  if (!e) return;
6159
- let t = new ResizeObserver(re);
6159
+ let t = new ResizeObserver(ne);
6160
6160
  return t.observe(e), () => t.disconnect();
6161
6161
  }, [
6162
- re,
6163
- b,
6164
- i
6162
+ ne,
6163
+ x,
6164
+ a
6165
6165
  ]), mn(() => {
6166
- if (m.active && !g) {
6167
- let e = requestAnimationFrame(() => _(!0));
6166
+ if (h.active && !_) {
6167
+ let e = requestAnimationFrame(() => v(!0));
6168
6168
  return () => cancelAnimationFrame(e);
6169
6169
  }
6170
- }, [m.active, g]), /* @__PURE__ */ j(Oe, {
6171
- ref: o,
6170
+ }, [h.active, _]), /* @__PURE__ */ j(be, {
6171
+ ref: s,
6172
6172
  src: e,
6173
6173
  veil: "var(--liquid-overlay-tint)",
6174
- className: [Y.root, r ?? ""].filter(Boolean).join(" "),
6175
- children: [/* @__PURE__ */ A(be, {
6174
+ className: [Y.root, i ?? ""].filter(Boolean).join(" "),
6175
+ children: [/* @__PURE__ */ A(ue, {
6176
6176
  variant: "regular",
6177
6177
  tint: "none",
6178
6178
  radius: 0,
@@ -6181,84 +6181,84 @@ var Ji = dn(qi), Y = {
6181
6181
  className: Y.shell,
6182
6182
  children: [/* @__PURE__ */ A("div", {
6183
6183
  "data-surface": "liquid",
6184
- className: `${Y.sidebarWrap} ${i ? "" : Y.expanded}`,
6185
- onTransitionEnd: re,
6186
- children: /* @__PURE__ */ j(Me, {
6187
- collapsed: i,
6184
+ className: `${Y.sidebarWrap} ${a ? "" : Y.expanded}`,
6185
+ onTransitionEnd: ne,
6186
+ children: /* @__PURE__ */ j(Ne, {
6187
+ collapsed: a,
6188
6188
  children: [
6189
6189
  /* @__PURE__ */ A("div", {
6190
6190
  "data-on-photo": !0,
6191
- children: /* @__PURE__ */ A(Re, {
6191
+ children: /* @__PURE__ */ A(Be, {
6192
6192
  type: "brand-toggle",
6193
6193
  title: "csakani",
6194
6194
  subtitle: "Workspace",
6195
- logo: /* @__PURE__ */ A(ee, {}),
6196
- collapsed: i,
6195
+ logo: /* @__PURE__ */ A(r, {}),
6196
+ collapsed: a,
6197
6197
  onToggle: () => {
6198
- s.current = !0, a((e) => !e);
6198
+ c.current = !0, o((e) => !e);
6199
6199
  },
6200
- toggleIcon: i ? tn : Kt
6200
+ toggleIcon: a ? tn : Kt
6201
6201
  })
6202
6202
  }),
6203
6203
  /* @__PURE__ */ j("div", {
6204
- ref: v,
6204
+ ref: y,
6205
6205
  className: Y.navScroll,
6206
6206
  onPointerLeave: () => {
6207
- d(null), p(!1);
6207
+ f(null), m(!1);
6208
6208
  },
6209
- onPointerDown: () => p(!0),
6210
- onPointerUp: () => p(!1),
6211
- onPointerCancel: () => p(!1),
6212
- onBlur: () => d(null),
6209
+ onPointerDown: () => m(!0),
6210
+ onPointerUp: () => m(!1),
6211
+ onPointerCancel: () => m(!1),
6212
+ onBlur: () => f(null),
6213
6213
  children: [
6214
- m.active && /* @__PURE__ */ A(Zi, {
6215
- box: m.active,
6216
- glide: g,
6217
- pressed: f && b === null,
6214
+ h.active && /* @__PURE__ */ A(Zi, {
6215
+ box: h.active,
6216
+ glide: _,
6217
+ pressed: p && x === null,
6218
6218
  className: Y.lens,
6219
- children: /* @__PURE__ */ A(be, {
6219
+ children: /* @__PURE__ */ A(ue, {
6220
6220
  variant: "clear",
6221
6221
  radius: 6,
6222
6222
  className: Y.lensGlass
6223
6223
  })
6224
6224
  }),
6225
- m.hover && /* @__PURE__ */ A(Zi, {
6226
- box: m.hover,
6227
- glide: m.hoverGlide,
6228
- pressed: f && !!b,
6225
+ h.hover && /* @__PURE__ */ A(Zi, {
6226
+ box: h.hover,
6227
+ glide: h.hoverGlide,
6228
+ pressed: p && !!x,
6229
6229
  className: [
6230
6230
  Y.lens,
6231
6231
  Y.lensHover,
6232
- b ? Y.lensHoverOn : ""
6232
+ x ? Y.lensHoverOn : ""
6233
6233
  ].filter(Boolean).join(" "),
6234
- children: /* @__PURE__ */ A(be, {
6234
+ children: /* @__PURE__ */ A(ue, {
6235
6235
  variant: "clear",
6236
6236
  radius: 6,
6237
6237
  className: `${Y.lensGlass} ${Y.lensGlassHover}`
6238
6238
  })
6239
6239
  }),
6240
6240
  Yi.map((e) => /* @__PURE__ */ j("div", {
6241
- className: `${Y.navGroup} ${i ? Y.navGroupCollapsed : ""}`,
6242
- children: [!i && /* @__PURE__ */ A("div", {
6241
+ className: `${Y.navGroup} ${a ? Y.navGroupCollapsed : ""}`,
6242
+ children: [!a && /* @__PURE__ */ A("div", {
6243
6243
  className: Y.groupLabel,
6244
- children: /* @__PURE__ */ A(fe, { children: e.label })
6244
+ children: /* @__PURE__ */ A(me, { children: e.label })
6245
6245
  }), e.items.map((e) => {
6246
- let t = /* @__PURE__ */ A(Te, {
6246
+ let t = /* @__PURE__ */ A(De, {
6247
6247
  icon: e.icon,
6248
6248
  label: e.label,
6249
- active: e.label === c,
6250
- collapsed: i,
6251
- nativeTooltip: !i,
6252
- onClick: () => l(e.label)
6249
+ active: e.label === l,
6250
+ collapsed: a,
6251
+ nativeTooltip: !a,
6252
+ onClick: () => u(e.label)
6253
6253
  });
6254
6254
  return /* @__PURE__ */ A("div", {
6255
6255
  ref: (t) => {
6256
- t ? y.current.set(e.label, t) : y.current.delete(e.label);
6256
+ t ? b.current.set(e.label, t) : b.current.delete(e.label);
6257
6257
  },
6258
- className: `${Y.navItem} ${i ? Y.navItemCollapsed : ""}`,
6259
- onPointerEnter: () => d(e.label),
6260
- onFocus: () => d(e.label),
6261
- children: i ? /* @__PURE__ */ A(Di, {
6258
+ className: `${Y.navItem} ${a ? Y.navItemCollapsed : ""}`,
6259
+ onPointerEnter: () => f(e.label),
6260
+ onFocus: () => f(e.label),
6261
+ children: a ? /* @__PURE__ */ A(Di, {
6262
6262
  title: e.label,
6263
6263
  children: t
6264
6264
  }) : t
@@ -6267,14 +6267,14 @@ var Ji = dn(qi), Y = {
6267
6267
  }, e.label))
6268
6268
  ]
6269
6269
  }),
6270
- !i && /* @__PURE__ */ A("div", {
6270
+ !a && /* @__PURE__ */ A("div", {
6271
6271
  className: Y.promoWrap,
6272
6272
  "data-on-photo": !0,
6273
- children: /* @__PURE__ */ A(be, {
6273
+ children: /* @__PURE__ */ A(ue, {
6274
6274
  variant: "clear",
6275
6275
  tint: "subtle",
6276
6276
  radius: 16,
6277
- children: /* @__PURE__ */ A(de, {
6277
+ children: /* @__PURE__ */ A(pe, {
6278
6278
  title: "Upgrade to Pro",
6279
6279
  description: "Unlock unlimited projects and advanced analytics.",
6280
6280
  ctaLabel: "Upgrade"
@@ -6288,7 +6288,7 @@ var Ji = dn(qi), Y = {
6288
6288
  children: [/* @__PURE__ */ A("div", {
6289
6289
  "data-surface": "liquid",
6290
6290
  "data-on-photo": !0,
6291
- children: /* @__PURE__ */ A(Le, {
6291
+ children: /* @__PURE__ */ A(ze, {
6292
6292
  type: "minimal",
6293
6293
  showToggle: !1,
6294
6294
  left: /* @__PURE__ */ j("div", {
@@ -6314,7 +6314,7 @@ var Ji = dn(qi), Y = {
6314
6314
  })
6315
6315
  }), /* @__PURE__ */ A("div", {
6316
6316
  className: Y.panelWrap,
6317
- children: /* @__PURE__ */ A(be, {
6317
+ children: /* @__PURE__ */ A(ue, {
6318
6318
  variant: "regular",
6319
6319
  radius: 24,
6320
6320
  className: Y.panel,
@@ -6336,14 +6336,14 @@ var Ji = dn(qi), Y = {
6336
6336
  }, ea = ({ eyebrow: e = "Blog", title: t, subtitle: n, featuredPost: r, posts: i, className: a }) => /* @__PURE__ */ j("div", {
6337
6337
  className: [$i.block, a ?? ""].filter(Boolean).join(" "),
6338
6338
  children: [
6339
- /* @__PURE__ */ A(m, {
6339
+ /* @__PURE__ */ A(Ke, {
6340
6340
  eyebrow: e,
6341
6341
  title: t,
6342
6342
  subtitle: n,
6343
6343
  align: "left",
6344
6344
  className: $i.heading
6345
6345
  }),
6346
- /* @__PURE__ */ A(te, {
6346
+ /* @__PURE__ */ A(u, {
6347
6347
  image: r.image,
6348
6348
  imageAlt: r.imageAlt,
6349
6349
  title: r.title,
@@ -6356,7 +6356,7 @@ var Ji = dn(qi), Y = {
6356
6356
  }),
6357
6357
  /* @__PURE__ */ A("div", {
6358
6358
  className: $i.grid,
6359
- children: i.map((e, t) => /* @__PURE__ */ A(re, {
6359
+ children: i.map((e, t) => /* @__PURE__ */ A(p, {
6360
6360
  image: e.image,
6361
6361
  imageAlt: e.imageAlt,
6362
6362
  category: e.category,
@@ -6377,7 +6377,7 @@ var Ji = dn(qi), Y = {
6377
6377
  rowDivider: "_rowDivider_1aed4_38"
6378
6378
  }, na = ({ eyebrow: e = "Careers", title: t, subtitle: n, jobs: r, className: i }) => /* @__PURE__ */ j("div", {
6379
6379
  className: [ta.block, i ?? ""].filter(Boolean).join(" "),
6380
- children: [/* @__PURE__ */ A(m, {
6380
+ children: [/* @__PURE__ */ A(Ke, {
6381
6381
  eyebrow: e,
6382
6382
  title: t,
6383
6383
  subtitle: n,
@@ -6385,7 +6385,7 @@ var Ji = dn(qi), Y = {
6385
6385
  className: ta.heading
6386
6386
  }), /* @__PURE__ */ A("div", {
6387
6387
  className: ta.list,
6388
- children: r.map(({ id: e, ...t }, n) => /* @__PURE__ */ A(Ke, {
6388
+ children: r.map(({ id: e, ...t }, n) => /* @__PURE__ */ A(ie, {
6389
6389
  ...t,
6390
6390
  layout: "row",
6391
6391
  className: [ta.row, n > 0 ? ta.rowDivider : ""].filter(Boolean).join(" ")
@@ -6431,12 +6431,12 @@ var Ji = dn(qi), Y = {
6431
6431
  }),
6432
6432
  /* @__PURE__ */ j("div", {
6433
6433
  className: ra.ctaRow,
6434
- children: [/* @__PURE__ */ A(D, {
6434
+ children: [/* @__PURE__ */ A(c, {
6435
6435
  variant: s ? "secondary" : "primary",
6436
6436
  size: "lg",
6437
6437
  onClick: n.onClick,
6438
6438
  children: n.label
6439
- }), r && /* @__PURE__ */ A(D, {
6439
+ }), r && /* @__PURE__ */ A(c, {
6440
6440
  variant: "secondary",
6441
6441
  size: "lg",
6442
6442
  onClick: r.onClick,
@@ -6461,7 +6461,7 @@ var Ji = dn(qi), Y = {
6461
6461
  children: e.map((e, t) => /* @__PURE__ */ j("div", {
6462
6462
  className: oa.feature,
6463
6463
  children: [
6464
- /* @__PURE__ */ A(u, {
6464
+ /* @__PURE__ */ A(ae, {
6465
6465
  icon: e.icon,
6466
6466
  size: "md",
6467
6467
  variant: "light"
@@ -6575,24 +6575,24 @@ var Ji = dn(qi), Y = {
6575
6575
  fill: "currentColor",
6576
6576
  d: "M12 0.296997C5.37 0.296997 0 5.667 0 12.297C0 17.6 3.438 22.097 8.205 23.682C8.805 23.795 9.025 23.424 9.025 23.105C9.025 22.82 9.015 22.065 9.01 21.065C5.672 21.789 4.968 19.455 4.968 19.455C4.422 18.07 3.633 17.7 3.633 17.7C2.546 16.956 3.717 16.971 3.717 16.971C4.922 17.055 5.555 18.207 5.555 18.207C6.625 20.042 8.364 19.512 9.05 19.205C9.158 18.429 9.467 17.9 9.81 17.6C7.145 17.3 4.344 16.268 4.344 11.67C4.344 10.36 4.809 9.29 5.579 8.45C5.444 8.147 5.039 6.927 5.684 5.274C5.684 5.274 6.689 4.952 8.984 6.504C9.944 6.237 10.964 6.105 11.984 6.099C13.004 6.105 14.024 6.237 14.984 6.504C17.264 4.952 18.269 5.274 18.269 5.274C18.914 6.927 18.509 8.147 18.389 8.45C19.154 9.29 19.619 10.36 19.619 11.67C19.619 16.28 16.814 17.295 14.144 17.59C14.564 17.95 14.954 18.686 14.954 19.81C14.954 21.416 14.939 22.706 14.939 23.096C14.939 23.411 15.149 23.786 15.764 23.666C20.565 22.092 24 17.592 24 12.297C24 5.667 18.627 0.296997 12 0.296997Z"
6577
6577
  })
6578
- }), fa = ({ eyebrow: e, title: t, description: n, primaryAction: r, secondaryAction: i, secondaryActionIcon: a = !1, image: o, imageAlt: s, revealImage: c, caption: l, layout: u = "centered", className: d }) => {
6579
- let f = u === "split", p = /* @__PURE__ */ j("div", {
6578
+ }), fa = ({ eyebrow: e, title: t, description: n, primaryAction: r, secondaryAction: i, secondaryActionIcon: a = !1, image: o, imageAlt: s, revealImage: l, caption: u, layout: d = "centered", className: f }) => {
6579
+ let p = d === "split", m = /* @__PURE__ */ j("div", {
6580
6580
  className: ua.ctaRow,
6581
- children: [/* @__PURE__ */ A(D, {
6581
+ children: [/* @__PURE__ */ A(c, {
6582
6582
  variant: "primary",
6583
6583
  size: "lg",
6584
6584
  onClick: r.onClick,
6585
6585
  children: r.label
6586
- }), i && /* @__PURE__ */ A(D, {
6586
+ }), i && /* @__PURE__ */ A(c, {
6587
6587
  variant: "secondary",
6588
6588
  size: "lg",
6589
6589
  onClick: i.onClick,
6590
6590
  leftIcon: a ? /* @__PURE__ */ A(da, {}) : void 0,
6591
6591
  children: i.label
6592
6592
  })]
6593
- }), m = (e) => c ? /* @__PURE__ */ A(la, {
6593
+ }), h = (e) => l ? /* @__PURE__ */ A(la, {
6594
6594
  frontSrc: o,
6595
- backSrc: c,
6595
+ backSrc: l,
6596
6596
  alt: s,
6597
6597
  className: e
6598
6598
  }) : /* @__PURE__ */ A("img", {
@@ -6600,14 +6600,14 @@ var Ji = dn(qi), Y = {
6600
6600
  alt: s ?? "",
6601
6601
  className: e
6602
6602
  });
6603
- return f ? /* @__PURE__ */ A("div", {
6604
- className: [ua.block, d ?? ""].filter(Boolean).join(" "),
6603
+ return p ? /* @__PURE__ */ A("div", {
6604
+ className: [ua.block, f ?? ""].filter(Boolean).join(" "),
6605
6605
  children: /* @__PURE__ */ j("div", {
6606
6606
  className: ua.row,
6607
6607
  children: [/* @__PURE__ */ j("div", {
6608
6608
  className: ua.content,
6609
6609
  children: [
6610
- e && /* @__PURE__ */ A(w, {
6610
+ e && /* @__PURE__ */ A(D, {
6611
6611
  variant: "accent",
6612
6612
  emphasis: "subtle",
6613
6613
  children: e
@@ -6620,18 +6620,18 @@ var Ji = dn(qi), Y = {
6620
6620
  className: ua.descriptionSplit,
6621
6621
  children: n
6622
6622
  }),
6623
- p
6623
+ m
6624
6624
  ]
6625
- }), m(ua.imageSplit)]
6625
+ }), h(ua.imageSplit)]
6626
6626
  })
6627
6627
  }) : /* @__PURE__ */ j("div", {
6628
6628
  className: [
6629
6629
  ua.block,
6630
6630
  ua.blockCentered,
6631
- d ?? ""
6631
+ f ?? ""
6632
6632
  ].filter(Boolean).join(" "),
6633
6633
  children: [
6634
- e && /* @__PURE__ */ A(w, {
6634
+ e && /* @__PURE__ */ A(D, {
6635
6635
  variant: "accent",
6636
6636
  emphasis: "subtle",
6637
6637
  children: e
@@ -6644,11 +6644,11 @@ var Ji = dn(qi), Y = {
6644
6644
  className: ua.descriptionCentered,
6645
6645
  children: n
6646
6646
  }),
6647
- p,
6648
- m(ua.imageCentered),
6649
- l && /* @__PURE__ */ A("p", {
6647
+ m,
6648
+ h(ua.imageCentered),
6649
+ u && /* @__PURE__ */ A("p", {
6650
6650
  className: ua.caption,
6651
- children: l
6651
+ children: u
6652
6652
  })
6653
6653
  ]
6654
6654
  });
@@ -6810,7 +6810,7 @@ var Ji = dn(qi), Y = {
6810
6810
  children: [/* @__PURE__ */ j("div", {
6811
6811
  className: X.header,
6812
6812
  children: [
6813
- e && /* @__PURE__ */ A(w, {
6813
+ e && /* @__PURE__ */ A(D, {
6814
6814
  variant: "accent",
6815
6815
  emphasis: "solid",
6816
6816
  children: e
@@ -6833,7 +6833,7 @@ var Ji = dn(qi), Y = {
6833
6833
  a ? X.planFixed : ""
6834
6834
  ].filter(Boolean).join(" "),
6835
6835
  children: [
6836
- e.highlighted && /* @__PURE__ */ A(w, {
6836
+ e.highlighted && /* @__PURE__ */ A(D, {
6837
6837
  variant: "accent",
6838
6838
  emphasis: "subtle",
6839
6839
  children: e.badgeLabel ?? "Most popular"
@@ -6856,20 +6856,20 @@ var Ji = dn(qi), Y = {
6856
6856
  className: X.description,
6857
6857
  children: e.description
6858
6858
  }),
6859
- /* @__PURE__ */ A(D, {
6859
+ /* @__PURE__ */ A(c, {
6860
6860
  variant: e.highlighted ? "primary" : "outline",
6861
6861
  className: X.fullWidth,
6862
6862
  onClick: e.onCtaClick,
6863
6863
  children: e.ctaLabel
6864
6864
  }),
6865
- /* @__PURE__ */ A(E, { className: X.fullWidth }),
6865
+ /* @__PURE__ */ A(T, { className: X.fullWidth }),
6866
6866
  /* @__PURE__ */ A("div", {
6867
6867
  className: X.features,
6868
6868
  children: e.features.map((e, t) => /* @__PURE__ */ j("div", {
6869
6869
  className: X.featureRow,
6870
6870
  children: [/* @__PURE__ */ A(Qe, {
6871
6871
  size: 24,
6872
- strokeWidth: h(24),
6872
+ strokeWidth: x(24),
6873
6873
  className: X.featureIcon,
6874
6874
  "aria-hidden": "true"
6875
6875
  }), /* @__PURE__ */ A("p", {
@@ -6889,7 +6889,7 @@ var Ji = dn(qi), Y = {
6889
6889
  card: "_card_1luja_33"
6890
6890
  }, Oa = ({ eyebrow: e = "Team", title: t, subtitle: n, members: r, className: i }) => /* @__PURE__ */ j("div", {
6891
6891
  className: [Da.block, i ?? ""].filter(Boolean).join(" "),
6892
- children: [/* @__PURE__ */ A(m, {
6892
+ children: [/* @__PURE__ */ A(Ke, {
6893
6893
  eyebrow: e,
6894
6894
  title: t,
6895
6895
  subtitle: n,
@@ -6897,7 +6897,7 @@ var Ji = dn(qi), Y = {
6897
6897
  className: Da.heading
6898
6898
  }), /* @__PURE__ */ A("div", {
6899
6899
  className: Da.grid,
6900
- children: r.map(({ id: e, ...t }, n) => /* @__PURE__ */ A(d, {
6900
+ children: r.map(({ id: e, ...t }, n) => /* @__PURE__ */ A(C, {
6901
6901
  ...t,
6902
6902
  className: Da.card
6903
6903
  }, e ?? t.name ?? n))
@@ -6975,7 +6975,7 @@ var Ji = dn(qi), Y = {
6975
6975
  listSingle: "_listSingle_1i843_17",
6976
6976
  columns: "_columns_1i843_22",
6977
6977
  column: "_column_1i843_22"
6978
- }, Na = (e) => /* @__PURE__ */ A(t, { children: e.map((e, t) => /* @__PURE__ */ A(Ce, {
6978
+ }, Na = (e) => /* @__PURE__ */ A(g, { children: e.map((e, t) => /* @__PURE__ */ A(v, {
6979
6979
  title: e.question,
6980
6980
  defaultOpen: e.defaultOpen,
6981
6981
  children: e.answer
@@ -6983,7 +6983,7 @@ var Ji = dn(qi), Y = {
6983
6983
  let a = [Ma.block, i ?? ""].filter(Boolean).join(" ");
6984
6984
  if (r === 1) return /* @__PURE__ */ j("div", {
6985
6985
  className: a,
6986
- children: [/* @__PURE__ */ A(m, {
6986
+ children: [/* @__PURE__ */ A(Ke, {
6987
6987
  eyebrow: e,
6988
6988
  title: t,
6989
6989
  align: "center",
@@ -6996,7 +6996,7 @@ var Ji = dn(qi), Y = {
6996
6996
  let o = Math.ceil(n.length / 2), s = n.slice(0, o), c = n.slice(o);
6997
6997
  return /* @__PURE__ */ j("div", {
6998
6998
  className: a,
6999
- children: [/* @__PURE__ */ A(m, {
6999
+ children: [/* @__PURE__ */ A(Ke, {
7000
7000
  eyebrow: e,
7001
7001
  title: t,
7002
7002
  align: "center",
@@ -7075,7 +7075,7 @@ var Ji = dn(qi), Y = {
7075
7075
  className: Fa.title,
7076
7076
  children: "Billing address"
7077
7077
  }),
7078
- s === "server-error" && /* @__PURE__ */ A(c, {
7078
+ s === "server-error" && /* @__PURE__ */ A(m, {
7079
7079
  color: "danger",
7080
7080
  title: "Address verification failed",
7081
7081
  description: "We couldn't verify this address. Please check the details and try again."
@@ -7083,7 +7083,7 @@ var Ji = dn(qi), Y = {
7083
7083
  /* @__PURE__ */ j("div", {
7084
7084
  className: Fa.form,
7085
7085
  children: [
7086
- /* @__PURE__ */ A(De, {
7086
+ /* @__PURE__ */ A(Oe, {
7087
7087
  label: "Country",
7088
7088
  placeholder: "Select a country",
7089
7089
  options: t,
@@ -7091,14 +7091,14 @@ var Ji = dn(qi), Y = {
7091
7091
  onChange: (e) => u("country", e),
7092
7092
  disabled: f
7093
7093
  }),
7094
- /* @__PURE__ */ A(x, {
7094
+ /* @__PURE__ */ A(w, {
7095
7095
  label: "Address line 1",
7096
7096
  placeholder: "Street address",
7097
7097
  value: a.addressLine1,
7098
7098
  onChange: (e) => u("addressLine1", e.target.value),
7099
7099
  disabled: f
7100
7100
  }),
7101
- /* @__PURE__ */ A(x, {
7101
+ /* @__PURE__ */ A(w, {
7102
7102
  label: "Address line 2 (optional)",
7103
7103
  placeholder: "Apartment, suite, etc.",
7104
7104
  value: a.addressLine2,
@@ -7107,14 +7107,14 @@ var Ji = dn(qi), Y = {
7107
7107
  }),
7108
7108
  /* @__PURE__ */ j("div", {
7109
7109
  className: Fa.row,
7110
- children: [/* @__PURE__ */ A(x, {
7110
+ children: [/* @__PURE__ */ A(w, {
7111
7111
  label: "City",
7112
7112
  placeholder: "City",
7113
7113
  value: a.city,
7114
7114
  onChange: (e) => u("city", e.target.value),
7115
7115
  disabled: f,
7116
7116
  className: Fa.rowField
7117
- }), /* @__PURE__ */ A(x, {
7117
+ }), /* @__PURE__ */ A(w, {
7118
7118
  label: "State",
7119
7119
  placeholder: "State",
7120
7120
  value: a.state,
@@ -7123,7 +7123,7 @@ var Ji = dn(qi), Y = {
7123
7123
  className: Fa.rowField
7124
7124
  })]
7125
7125
  }),
7126
- /* @__PURE__ */ A(x, {
7126
+ /* @__PURE__ */ A(w, {
7127
7127
  label: "Postal code",
7128
7128
  placeholder: "Postal code",
7129
7129
  value: a.postalCode,
@@ -7133,7 +7133,7 @@ var Ji = dn(qi), Y = {
7133
7133
  })
7134
7134
  ]
7135
7135
  }),
7136
- /* @__PURE__ */ A(D, {
7136
+ /* @__PURE__ */ A(c, {
7137
7137
  type: "submit",
7138
7138
  variant: "primary",
7139
7139
  size: "lg",
@@ -7171,7 +7171,7 @@ var Ji = dn(qi), Y = {
7171
7171
  }
7172
7172
  }, Va = ({ invoices: e = [], loading: t = !1, className: n }) => /* @__PURE__ */ j("div", {
7173
7173
  className: [Z.card, n ?? ""].filter(Boolean).join(" "),
7174
- children: [t ? /* @__PURE__ */ A(T, {
7174
+ children: [t ? /* @__PURE__ */ A(E, {
7175
7175
  variant: "rect",
7176
7176
  width: 140,
7177
7177
  height: 26
@@ -7180,7 +7180,7 @@ var Ji = dn(qi), Y = {
7180
7180
  children: "Billing history"
7181
7181
  }), t ? /* @__PURE__ */ A("div", {
7182
7182
  className: Z.list,
7183
- children: Array.from({ length: 4 }).map((e, t) => /* @__PURE__ */ A(T, {
7183
+ children: Array.from({ length: 4 }).map((e, t) => /* @__PURE__ */ A(E, {
7184
7184
  variant: "rect",
7185
7185
  width: "100%",
7186
7186
  height: 40
@@ -7190,7 +7190,7 @@ var Ji = dn(qi), Y = {
7190
7190
  children: [
7191
7191
  /* @__PURE__ */ A(rt, {
7192
7192
  size: 24,
7193
- strokeWidth: h(24),
7193
+ strokeWidth: x(24),
7194
7194
  className: Z.emptyIcon,
7195
7195
  "aria-hidden": "true"
7196
7196
  }),
@@ -7213,7 +7213,7 @@ var Ji = dn(qi), Y = {
7213
7213
  className: Z.left,
7214
7214
  children: [/* @__PURE__ */ A(rt, {
7215
7215
  size: 24,
7216
- strokeWidth: h(24),
7216
+ strokeWidth: x(24),
7217
7217
  className: Z.rowIcon,
7218
7218
  "aria-hidden": "true"
7219
7219
  }), /* @__PURE__ */ j("div", {
@@ -7233,12 +7233,12 @@ var Ji = dn(qi), Y = {
7233
7233
  className: Z.amount,
7234
7234
  children: e.amount
7235
7235
  }),
7236
- /* @__PURE__ */ A(w, {
7236
+ /* @__PURE__ */ A(D, {
7237
7237
  variant: n.variant,
7238
7238
  emphasis: "subtle",
7239
7239
  children: n.label
7240
7240
  }),
7241
- /* @__PURE__ */ A(C, {
7241
+ /* @__PURE__ */ A(o, {
7242
7242
  icon: dt,
7243
7243
  variant: "ghost",
7244
7244
  size: "sm",
@@ -7288,37 +7288,37 @@ var Ji = dn(qi), Y = {
7288
7288
  }, Ua = {
7289
7289
  trial: "14 days left in your trial. Add a payment method to keep access when it ends.",
7290
7290
  canceling: "Your plan will end on March 15, 2027. You'll keep access until then."
7291
- }, Wa = ({ planName: e, price: t, priceSuffix: n = "/month", status: r = "active", usageLabel: i = "Projects used", usageValue: a, usagePercent: o = 0, message: s, onUpgrade: l, onCancel: u, onAddPaymentMethod: d, onUpdatePaymentMethod: f, onResume: p, loading: m = !1, className: h }) => {
7292
- if (m) return /* @__PURE__ */ j("div", {
7293
- className: [Q.card, h ?? ""].filter(Boolean).join(" "),
7291
+ }, Wa = ({ planName: e, price: t, priceSuffix: n = "/month", status: r = "active", usageLabel: i = "Projects used", usageValue: a, usagePercent: o = 0, message: s, onUpgrade: l, onCancel: u, onAddPaymentMethod: d, onUpdatePaymentMethod: f, onResume: p, loading: h = !1, className: g }) => {
7292
+ if (h) return /* @__PURE__ */ j("div", {
7293
+ className: [Q.card, g ?? ""].filter(Boolean).join(" "),
7294
7294
  children: [
7295
- /* @__PURE__ */ A(T, {
7295
+ /* @__PURE__ */ A(E, {
7296
7296
  variant: "rect",
7297
7297
  width: 140,
7298
7298
  height: 26
7299
7299
  }),
7300
- /* @__PURE__ */ A(T, {
7300
+ /* @__PURE__ */ A(E, {
7301
7301
  variant: "rect",
7302
7302
  width: 100,
7303
7303
  height: 32
7304
7304
  }),
7305
- /* @__PURE__ */ A(T, {
7305
+ /* @__PURE__ */ A(E, {
7306
7306
  variant: "rect",
7307
7307
  width: "100%",
7308
7308
  height: 8
7309
7309
  }),
7310
- /* @__PURE__ */ A(T, {
7310
+ /* @__PURE__ */ A(E, {
7311
7311
  variant: "rect",
7312
7312
  width: 160,
7313
7313
  height: 44
7314
7314
  })
7315
7315
  ]
7316
7316
  });
7317
- let g = Ha[r], _ = s ?? Ua[r];
7317
+ let _ = Ha[r], v = s ?? Ua[r];
7318
7318
  return /* @__PURE__ */ j("div", {
7319
- className: [Q.card, h ?? ""].filter(Boolean).join(" "),
7319
+ className: [Q.card, g ?? ""].filter(Boolean).join(" "),
7320
7320
  children: [
7321
- r === "past-due" && /* @__PURE__ */ A(c, {
7321
+ r === "past-due" && /* @__PURE__ */ A(m, {
7322
7322
  color: "danger",
7323
7323
  title: "Payment failed",
7324
7324
  description: "We couldn't process your last payment. Update your payment method to avoid losing access.",
@@ -7333,10 +7333,10 @@ var Ji = dn(qi), Y = {
7333
7333
  children: [/* @__PURE__ */ A("p", {
7334
7334
  className: Q.planName,
7335
7335
  children: e
7336
- }), /* @__PURE__ */ A(w, {
7337
- variant: g.variant,
7336
+ }), /* @__PURE__ */ A(D, {
7337
+ variant: _.variant,
7338
7338
  emphasis: "subtle",
7339
- children: g.label
7339
+ children: _.label
7340
7340
  })]
7341
7341
  }), /* @__PURE__ */ j("div", {
7342
7342
  className: Q.priceRow,
@@ -7361,48 +7361,48 @@ var Ji = dn(qi), Y = {
7361
7361
  className: Q.usageValue,
7362
7362
  children: a
7363
7363
  })]
7364
- }), /* @__PURE__ */ A(ue, {
7364
+ }), /* @__PURE__ */ A(ee, {
7365
7365
  value: o,
7366
7366
  size: "lg",
7367
7367
  label: i,
7368
7368
  className: Q.progress
7369
7369
  })]
7370
7370
  }),
7371
- _ && /* @__PURE__ */ A("p", {
7371
+ v && /* @__PURE__ */ A("p", {
7372
7372
  className: Q.message,
7373
- children: _
7373
+ children: v
7374
7374
  }),
7375
7375
  /* @__PURE__ */ j("div", {
7376
7376
  className: Q.actions,
7377
7377
  children: [
7378
- r === "active" && /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(D, {
7378
+ r === "active" && /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(c, {
7379
7379
  variant: "primary",
7380
7380
  size: "lg",
7381
7381
  onClick: l,
7382
7382
  className: Q.actionFlex,
7383
7383
  children: "Upgrade plan"
7384
- }), /* @__PURE__ */ A(D, {
7384
+ }), /* @__PURE__ */ A(c, {
7385
7385
  variant: "secondary",
7386
7386
  size: "lg",
7387
7387
  onClick: u,
7388
7388
  className: Q.actionFlex,
7389
7389
  children: "Cancel subscription"
7390
7390
  })] }),
7391
- r === "trial" && /* @__PURE__ */ A(D, {
7391
+ r === "trial" && /* @__PURE__ */ A(c, {
7392
7392
  variant: "primary",
7393
7393
  size: "lg",
7394
7394
  onClick: d,
7395
7395
  className: Q.fullWidth,
7396
7396
  children: "Add payment method"
7397
7397
  }),
7398
- r === "past-due" && /* @__PURE__ */ A(D, {
7398
+ r === "past-due" && /* @__PURE__ */ A(c, {
7399
7399
  variant: "primary",
7400
7400
  size: "lg",
7401
7401
  onClick: f,
7402
7402
  className: Q.fullWidth,
7403
7403
  children: "Update payment method"
7404
7404
  }),
7405
- r === "canceling" && /* @__PURE__ */ A(D, {
7405
+ r === "canceling" && /* @__PURE__ */ A(c, {
7406
7406
  variant: "secondary",
7407
7407
  size: "lg",
7408
7408
  onClick: p,
@@ -7473,17 +7473,17 @@ var Ji = dn(qi), Y = {
7473
7473
  if (r) return /* @__PURE__ */ j("div", {
7474
7474
  className: [$.card, i ?? ""].filter(Boolean).join(" "),
7475
7475
  children: [
7476
- /* @__PURE__ */ A(T, {
7476
+ /* @__PURE__ */ A(E, {
7477
7477
  variant: "rect",
7478
7478
  width: 160,
7479
7479
  height: 26
7480
7480
  }),
7481
- /* @__PURE__ */ A(T, {
7481
+ /* @__PURE__ */ A(E, {
7482
7482
  variant: "rect",
7483
7483
  width: "100%",
7484
7484
  height: 56
7485
7485
  }),
7486
- /* @__PURE__ */ A(T, {
7486
+ /* @__PURE__ */ A(E, {
7487
7487
  variant: "rect",
7488
7488
  width: 140,
7489
7489
  height: 44
@@ -7501,7 +7501,7 @@ var Ji = dn(qi), Y = {
7501
7501
  className: $.empty,
7502
7502
  children: [/* @__PURE__ */ A(Ft, {
7503
7503
  size: 24,
7504
- strokeWidth: h(24),
7504
+ strokeWidth: x(24),
7505
7505
  className: $.emptyIcon,
7506
7506
  "aria-hidden": "true"
7507
7507
  }), /* @__PURE__ */ A("p", {
@@ -7509,7 +7509,7 @@ var Ji = dn(qi), Y = {
7509
7509
  children: "No payment method on file"
7510
7510
  })]
7511
7511
  }),
7512
- /* @__PURE__ */ A(D, {
7512
+ /* @__PURE__ */ A(c, {
7513
7513
  variant: "primary",
7514
7514
  size: "lg",
7515
7515
  onClick: n,
@@ -7518,7 +7518,7 @@ var Ji = dn(qi), Y = {
7518
7518
  })
7519
7519
  ]
7520
7520
  });
7521
- let { brand: a, last4: o, expiry: s, status: c = "active" } = e, l = Ga[a], u = Ka[c], d = c !== "active";
7521
+ let { brand: a, last4: o, expiry: s, status: l = "active" } = e, u = Ga[a], d = Ka[l], f = l !== "active";
7522
7522
  return /* @__PURE__ */ j("div", {
7523
7523
  className: [$.card, i ?? ""].filter(Boolean).join(" "),
7524
7524
  children: [
@@ -7532,7 +7532,7 @@ var Ji = dn(qi), Y = {
7532
7532
  className: $.left,
7533
7533
  children: [/* @__PURE__ */ A("div", {
7534
7534
  className: $.brandWrap,
7535
- children: /* @__PURE__ */ A(l, {})
7535
+ children: /* @__PURE__ */ A(u, {})
7536
7536
  }), /* @__PURE__ */ j("div", {
7537
7537
  className: $.info,
7538
7538
  children: [/* @__PURE__ */ j("div", {
@@ -7540,10 +7540,10 @@ var Ji = dn(qi), Y = {
7540
7540
  children: [/* @__PURE__ */ j("p", {
7541
7541
  className: $.number,
7542
7542
  children: ["•••• ", o]
7543
- }), u && /* @__PURE__ */ A(w, {
7544
- variant: u.variant,
7543
+ }), d && /* @__PURE__ */ A(D, {
7544
+ variant: d.variant,
7545
7545
  emphasis: "subtle",
7546
- children: u.label
7546
+ children: d.label
7547
7547
  })]
7548
7548
  }), /* @__PURE__ */ j("p", {
7549
7549
  className: $.expiry,
@@ -7552,8 +7552,8 @@ var Ji = dn(qi), Y = {
7552
7552
  })]
7553
7553
  })
7554
7554
  }),
7555
- /* @__PURE__ */ A(D, {
7556
- variant: d ? "primary" : "secondary",
7555
+ /* @__PURE__ */ A(c, {
7556
+ variant: f ? "primary" : "secondary",
7557
7557
  size: "lg",
7558
7558
  onClick: t,
7559
7559
  className: $.fullWidth,
@@ -7604,7 +7604,7 @@ var Ji = dn(qi), Y = {
7604
7604
  className: Ja.title,
7605
7605
  children: "Add payment method"
7606
7606
  }),
7607
- o === "server-error" && /* @__PURE__ */ A(c, {
7607
+ o === "server-error" && /* @__PURE__ */ A(m, {
7608
7608
  color: "danger",
7609
7609
  title: "Card declined",
7610
7610
  description: "Your card was declined. Try a different payment method or contact your bank."
@@ -7612,7 +7612,7 @@ var Ji = dn(qi), Y = {
7612
7612
  /* @__PURE__ */ j("div", {
7613
7613
  className: Ja.form,
7614
7614
  children: [
7615
- /* @__PURE__ */ A(x, {
7615
+ /* @__PURE__ */ A(w, {
7616
7616
  label: "Cardholder name",
7617
7617
  placeholder: "Name on card",
7618
7618
  leadingIcon: /* @__PURE__ */ A(St, {}),
@@ -7620,7 +7620,7 @@ var Ji = dn(qi), Y = {
7620
7620
  onChange: (e) => l("cardholderName", e.target.value),
7621
7621
  disabled: d
7622
7622
  }),
7623
- /* @__PURE__ */ A(x, {
7623
+ /* @__PURE__ */ A(w, {
7624
7624
  label: "Card number",
7625
7625
  placeholder: "1234 1234 1234 1234",
7626
7626
  leadingIcon: /* @__PURE__ */ A(Ft, {}),
@@ -7632,7 +7632,7 @@ var Ji = dn(qi), Y = {
7632
7632
  }),
7633
7633
  /* @__PURE__ */ j("div", {
7634
7634
  className: Ja.row,
7635
- children: [/* @__PURE__ */ A(x, {
7635
+ children: [/* @__PURE__ */ A(w, {
7636
7636
  label: "Expiry",
7637
7637
  placeholder: "MM/YY",
7638
7638
  inputMode: "numeric",
@@ -7640,7 +7640,7 @@ var Ji = dn(qi), Y = {
7640
7640
  onChange: (e) => l("expiry", Xa(e.target.value)),
7641
7641
  disabled: d,
7642
7642
  className: Ja.rowField
7643
- }), /* @__PURE__ */ A(x, {
7643
+ }), /* @__PURE__ */ A(w, {
7644
7644
  label: "CVC",
7645
7645
  placeholder: "123",
7646
7646
  inputMode: "numeric",
@@ -7652,7 +7652,7 @@ var Ji = dn(qi), Y = {
7652
7652
  })
7653
7653
  ]
7654
7654
  }),
7655
- /* @__PURE__ */ A(D, {
7655
+ /* @__PURE__ */ A(c, {
7656
7656
  type: "submit",
7657
7657
  variant: "primary",
7658
7658
  size: "lg",