@grupo-elo-editorial/shared-ui-react 1.3.14 → 1.3.16

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/index.js CHANGED
@@ -1,25 +1,25 @@
1
1
  "use client";
2
- import { clsx as ee } from "clsx";
3
- import { twMerge as te } from "tailwind-merge";
4
- import { jsx as e, jsxs as o, Fragment as L } from "react/jsx-runtime";
5
- import { forwardRef as w, useState as z, useEffect as M } from "react";
6
- import { Loader2 as I, User as ae, Star as re, CheckIcon as Q, ChevronDownIcon as E, ChevronUpIcon as ie, CircleIcon as oe, ShoppingCart as R, Heart as ne, Search as W, X as se, Minus as le, Plus as de, ChevronRight as O, FileX as ce, Package as ue, AlertCircle as me, RefreshCw as fe, Home as ge, XIcon as K, Accessibility as pe, ZoomOut as ve, ZoomIn as be, Moon as he, Sun as xe, ChevronLeft as Ne, Menu as we, ChevronDown as X, Instagram as ye, Facebook as ke, Youtube as ze, Linkedin as Ce, Mail as Se } from "lucide-react";
7
- import { cva as A } from "class-variance-authority";
2
+ import { clsx as te } from "clsx";
3
+ import { twMerge as ae } from "tailwind-merge";
4
+ import { jsx as e, jsxs as o, Fragment as P } from "react/jsx-runtime";
5
+ import { forwardRef as w, useState as z, useEffect as A } from "react";
6
+ import { Loader2 as U, User as re, Star as ie, CheckIcon as W, ChevronDownIcon as R, ChevronUpIcon as oe, CircleIcon as ne, ShoppingCart as T, Heart as se, Search as X, X as le, Minus as de, Plus as ce, ChevronRight as Y, FileX as ue, Package as me, AlertCircle as fe, RefreshCw as ge, Home as pe, XIcon as K, Accessibility as ve, ZoomOut as be, ZoomIn as he, Moon as xe, Sun as Ne, ChevronLeft as we, Menu as ye, ChevronDown as O, Instagram as ke, Facebook as ze, Youtube as Ce, Linkedin as Se, Mail as je } from "lucide-react";
7
+ import { cva as B } from "class-variance-authority";
8
8
  import * as C from "@radix-ui/react-select";
9
- import * as U from "@radix-ui/react-checkbox";
10
- import * as T from "@radix-ui/react-radio-group";
11
- import * as q from "@radix-ui/react-switch";
9
+ import * as q from "@radix-ui/react-checkbox";
10
+ import * as $ from "@radix-ui/react-radio-group";
11
+ import * as G from "@radix-ui/react-switch";
12
12
  import { Slot as De } from "@radix-ui/react-slot";
13
- import * as P from "@radix-ui/react-accordion";
14
- import * as j from "@radix-ui/react-tooltip";
15
- import { toast as la } from "sonner";
16
- import { Progress as ca } from "@radix-ui/react-progress";
17
- import * as k from "@radix-ui/react-dialog";
13
+ import * as _ from "@radix-ui/react-accordion";
14
+ import * as M from "@radix-ui/react-tooltip";
15
+ import { toast as da } from "sonner";
16
+ import { Progress as ua } from "@radix-ui/react-progress";
17
+ import * as y from "@radix-ui/react-dialog";
18
18
  import * as D from "@radix-ui/react-navigation-menu";
19
19
  function i(...a) {
20
- return te(ee(a));
20
+ return ae(te(a));
21
21
  }
22
- const je = A(
22
+ const Me = B(
23
23
  "inline-flex items-center justify-center gap-2 rounded-lg font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 whitespace-nowrap",
24
24
  {
25
25
  variants: {
@@ -60,14 +60,14 @@ const je = A(
60
60
  }, v) => /* @__PURE__ */ e(
61
61
  "button",
62
62
  {
63
- className: i(je({ variant: t, size: r, fullWidth: s, className: a })),
63
+ className: i(Me({ variant: t, size: r, fullWidth: s, className: a })),
64
64
  ref: v,
65
65
  disabled: u || l,
66
66
  ...f,
67
- children: l ? /* @__PURE__ */ o(L, { children: [
68
- /* @__PURE__ */ e(I, { className: "h-4 w-4 animate-spin" }),
67
+ children: l ? /* @__PURE__ */ o(P, { children: [
68
+ /* @__PURE__ */ e(U, { className: "h-4 w-4 animate-spin" }),
69
69
  m && /* @__PURE__ */ e("span", { children: m })
70
- ] }) : /* @__PURE__ */ o(L, { children: [
70
+ ] }) : /* @__PURE__ */ o(P, { children: [
71
71
  n && /* @__PURE__ */ e("span", { className: "inline-flex", children: n }),
72
72
  m,
73
73
  d && /* @__PURE__ */ e("span", { className: "inline-flex", children: d })
@@ -76,7 +76,7 @@ const je = A(
76
76
  )
77
77
  );
78
78
  S.displayName = "Button";
79
- const Me = w(
79
+ const Pe = w(
80
80
  ({ className: a, error: t, helperText: r, ...s }, l) => /* @__PURE__ */ o("div", { className: "w-full", children: [
81
81
  /* @__PURE__ */ e(
82
82
  "textarea",
@@ -106,8 +106,8 @@ const Me = w(
106
106
  )
107
107
  ] })
108
108
  );
109
- Me.displayName = "Textarea";
110
- const Pe = A(
109
+ Pe.displayName = "Textarea";
110
+ const Ae = B(
111
111
  "inline-flex items-center rounded-full font-medium transition-colors whitespace-nowrap",
112
112
  {
113
113
  variants: {
@@ -131,12 +131,12 @@ const Pe = A(
131
131
  size: "md"
132
132
  }
133
133
  }
134
- ), _ = w(
134
+ ), E = w(
135
135
  ({ className: a, variant: t, size: r, icon: s, onRemove: l, children: n, ...d }, m) => /* @__PURE__ */ o(
136
136
  "div",
137
137
  {
138
138
  ref: m,
139
- className: i(Pe({ variant: t, size: r }), a),
139
+ className: i(Ae({ variant: t, size: r }), a),
140
140
  ...d,
141
141
  children: [
142
142
  s && /* @__PURE__ */ e("span", { className: "mr-1 inline-flex", children: s }),
@@ -154,8 +154,8 @@ const Pe = A(
154
154
  }
155
155
  )
156
156
  );
157
- _.displayName = "Badge";
158
- const Ae = A(
157
+ E.displayName = "Badge";
158
+ const _e = B(
159
159
  "relative inline-flex items-center justify-center overflow-hidden rounded-full bg-[var(--muted)] text-[var(--muted-foreground)] flex-shrink-0",
160
160
  {
161
161
  variants: {
@@ -172,18 +172,18 @@ const Ae = A(
172
172
  }
173
173
  ), Be = w(
174
174
  ({ className: a, size: t, src: r, alt: s, name: l, showStatus: n, statusType: d = "online", ...m }, u) => {
175
- const [f, v] = z(!1), g = (h) => h.split(" ").map((c) => c[0]).join("").toUpperCase().slice(0, 2), b = {
175
+ const [f, v] = z(!1), p = (h) => h.split(" ").map((c) => c[0]).join("").toUpperCase().slice(0, 2), b = {
176
176
  online: "bg-[var(--success)]",
177
177
  offline: "bg-[var(--muted-foreground)]",
178
178
  away: "bg-[var(--warning)]",
179
179
  busy: "bg-[var(--destructive)]"
180
- }, N = {
180
+ }, x = {
181
181
  sm: "h-2 w-2 border",
182
182
  md: "h-2.5 w-2.5 border-2",
183
183
  lg: "h-3 w-3 border-2",
184
184
  xl: "h-4 w-4 border-2"
185
185
  };
186
- return /* @__PURE__ */ o("div", { ref: u, className: i(Ae({ size: t }), "relative", a), children: [
186
+ return /* @__PURE__ */ o("div", { ref: u, className: i(_e({ size: t }), "relative", a), children: [
187
187
  r && !f ? /* @__PURE__ */ e(
188
188
  "img",
189
189
  {
@@ -193,14 +193,14 @@ const Ae = A(
193
193
  className: "h-full w-full object-cover",
194
194
  ...m
195
195
  }
196
- ) : l ? /* @__PURE__ */ e("span", { className: "font-medium", children: g(l) }) : /* @__PURE__ */ e(ae, { className: "h-1/2 w-1/2" }),
196
+ ) : l ? /* @__PURE__ */ e("span", { className: "font-medium", children: p(l) }) : /* @__PURE__ */ e(re, { className: "h-1/2 w-1/2" }),
197
197
  n && /* @__PURE__ */ e(
198
198
  "span",
199
199
  {
200
200
  className: i(
201
201
  "absolute bottom-0 right-0 rounded-full border-[var(--background)]",
202
202
  b[d],
203
- N[t || "md"]
203
+ x[t || "md"]
204
204
  ),
205
205
  "aria-label": `Status: ${d}`
206
206
  }
@@ -209,7 +209,7 @@ const Ae = A(
209
209
  }
210
210
  );
211
211
  Be.displayName = "Avatar";
212
- const Le = A("animate-spin text-[var(--brand-primary)]", {
212
+ const Le = B("animate-spin text-[var(--brand-primary)]", {
213
213
  variants: {
214
214
  size: {
215
215
  sm: "h-4 w-4",
@@ -221,7 +221,7 @@ const Le = A("animate-spin text-[var(--brand-primary)]", {
221
221
  defaultVariants: {
222
222
  size: "md"
223
223
  }
224
- }), _e = w(
224
+ }), Ee = w(
225
225
  ({ className: a, size: t, label: r, ...s }, l) => /* @__PURE__ */ o(
226
226
  "div",
227
227
  {
@@ -231,14 +231,14 @@ const Le = A("animate-spin text-[var(--brand-primary)]", {
231
231
  className: i("inline-flex items-center justify-center", a),
232
232
  ...s,
233
233
  children: [
234
- /* @__PURE__ */ e(I, { className: i(Le({ size: t })) }),
234
+ /* @__PURE__ */ e(U, { className: i(Le({ size: t })) }),
235
235
  /* @__PURE__ */ e("span", { className: "sr-only", children: r || "Loading" })
236
236
  ]
237
237
  }
238
238
  )
239
239
  );
240
- _e.displayName = "Spinner";
241
- const Ee = w(
240
+ Ee.displayName = "Spinner";
241
+ const Re = w(
242
242
  ({ className: a, orientation: t = "horizontal", variant: r = "solid", text: s, ...l }, n) => {
243
243
  const d = {
244
244
  solid: "border-solid",
@@ -284,8 +284,8 @@ const Ee = w(
284
284
  );
285
285
  }
286
286
  );
287
- Ee.displayName = "Divider";
288
- const $ = w(
287
+ Re.displayName = "Divider";
288
+ const V = w(
289
289
  ({
290
290
  className: a,
291
291
  value: t = 0,
@@ -296,13 +296,13 @@ const $ = w(
296
296
  showValue: d = !1,
297
297
  ...m
298
298
  }, u) => {
299
- const [f, v] = z(0), g = {
299
+ const [f, v] = z(0), p = {
300
300
  sm: "h-4 w-4",
301
301
  md: "h-5 w-5",
302
302
  lg: "h-6 w-6"
303
303
  }, b = (h) => {
304
304
  !l && n && n(h);
305
- }, N = f || t;
305
+ }, x = f || t;
306
306
  return /* @__PURE__ */ o(
307
307
  "div",
308
308
  {
@@ -313,7 +313,7 @@ const $ = w(
313
313
  ...m,
314
314
  children: [
315
315
  /* @__PURE__ */ e("div", { className: "flex items-center gap-0.5", children: Array.from({ length: r }, (h, c) => c + 1).map((h) => {
316
- const c = h <= N;
316
+ const c = h <= x;
317
317
  return /* @__PURE__ */ e(
318
318
  "button",
319
319
  {
@@ -328,10 +328,10 @@ const $ = w(
328
328
  ),
329
329
  "aria-label": `Rate ${h} out of ${r}`,
330
330
  children: /* @__PURE__ */ e(
331
- re,
331
+ ie,
332
332
  {
333
333
  className: i(
334
- g[s],
334
+ p[s],
335
335
  "transition-all",
336
336
  c ? "fill-[var(--warning)] text-[var(--warning)]" : "fill-none text-[var(--muted-foreground)]"
337
337
  )
@@ -347,8 +347,8 @@ const $ = w(
347
347
  );
348
348
  }
349
349
  );
350
- $.displayName = "Rating";
351
- function St({ className: a, type: t, ...r }) {
350
+ V.displayName = "Rating";
351
+ function jt({ className: a, type: t, ...r }) {
352
352
  return /* @__PURE__ */ e(
353
353
  "input",
354
354
  {
@@ -369,12 +369,12 @@ function Dt({
369
369
  }) {
370
370
  return /* @__PURE__ */ e(C.Root, { "data-slot": "select", ...a });
371
371
  }
372
- function jt({
372
+ function Mt({
373
373
  ...a
374
374
  }) {
375
375
  return /* @__PURE__ */ e(C.Value, { "data-slot": "select-value", ...a });
376
376
  }
377
- function Mt({
377
+ function Pt({
378
378
  className: a,
379
379
  size: t = "default",
380
380
  children: r,
@@ -392,12 +392,12 @@ function Mt({
392
392
  ...s,
393
393
  children: [
394
394
  r,
395
- /* @__PURE__ */ e(C.Icon, { asChild: !0, children: /* @__PURE__ */ e(E, { className: "size-4 opacity-50" }) })
395
+ /* @__PURE__ */ e(C.Icon, { asChild: !0, children: /* @__PURE__ */ e(R, { className: "size-4 opacity-50" }) })
396
396
  ]
397
397
  }
398
398
  );
399
399
  }
400
- function Pt({
400
+ function At({
401
401
  className: a,
402
402
  children: t,
403
403
  position: r = "popper",
@@ -415,7 +415,7 @@ function Pt({
415
415
  position: r,
416
416
  ...s,
417
417
  children: [
418
- /* @__PURE__ */ e(Re, {}),
418
+ /* @__PURE__ */ e(Te, {}),
419
419
  /* @__PURE__ */ e(
420
420
  C.Viewport,
421
421
  {
@@ -426,12 +426,12 @@ function Pt({
426
426
  children: t
427
427
  }
428
428
  ),
429
- /* @__PURE__ */ e(Te, {})
429
+ /* @__PURE__ */ e($e, {})
430
430
  ]
431
431
  }
432
432
  ) });
433
433
  }
434
- function At({
434
+ function _t({
435
435
  className: a,
436
436
  children: t,
437
437
  ...r
@@ -446,13 +446,13 @@ function At({
446
446
  ),
447
447
  ...r,
448
448
  children: [
449
- /* @__PURE__ */ e("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(C.ItemIndicator, { children: /* @__PURE__ */ e(Q, { className: "size-4" }) }) }),
449
+ /* @__PURE__ */ e("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(C.ItemIndicator, { children: /* @__PURE__ */ e(W, { className: "size-4" }) }) }),
450
450
  /* @__PURE__ */ e(C.ItemText, { children: t })
451
451
  ]
452
452
  }
453
453
  );
454
454
  }
455
- function Re({
455
+ function Te({
456
456
  className: a,
457
457
  ...t
458
458
  }) {
@@ -465,11 +465,11 @@ function Re({
465
465
  a
466
466
  ),
467
467
  ...t,
468
- children: /* @__PURE__ */ e(ie, { className: "size-4" })
468
+ children: /* @__PURE__ */ e(oe, { className: "size-4" })
469
469
  }
470
470
  );
471
471
  }
472
- function Te({
472
+ function $e({
473
473
  className: a,
474
474
  ...t
475
475
  }) {
@@ -482,7 +482,7 @@ function Te({
482
482
  a
483
483
  ),
484
484
  ...t,
485
- children: /* @__PURE__ */ e(E, { className: "size-4" })
485
+ children: /* @__PURE__ */ e(R, { className: "size-4" })
486
486
  }
487
487
  );
488
488
  }
@@ -491,7 +491,7 @@ function Bt({
491
491
  ...t
492
492
  }) {
493
493
  return /* @__PURE__ */ e(
494
- U.Root,
494
+ q.Root,
495
495
  {
496
496
  "data-slot": "checkbox",
497
497
  className: i(
@@ -500,11 +500,11 @@ function Bt({
500
500
  ),
501
501
  ...t,
502
502
  children: /* @__PURE__ */ e(
503
- U.Indicator,
503
+ q.Indicator,
504
504
  {
505
505
  "data-slot": "checkbox-indicator",
506
506
  className: "flex items-center justify-center text-current transition-none",
507
- children: /* @__PURE__ */ e(Q, { className: "size-3.5" })
507
+ children: /* @__PURE__ */ e(W, { className: "size-3.5" })
508
508
  }
509
509
  )
510
510
  }
@@ -515,7 +515,7 @@ function Lt({
515
515
  ...t
516
516
  }) {
517
517
  return /* @__PURE__ */ e(
518
- T.Root,
518
+ $.Root,
519
519
  {
520
520
  "data-slot": "radio-group",
521
521
  className: i("grid gap-3", a),
@@ -523,12 +523,12 @@ function Lt({
523
523
  }
524
524
  );
525
525
  }
526
- function _t({
526
+ function Et({
527
527
  className: a,
528
528
  ...t
529
529
  }) {
530
530
  return /* @__PURE__ */ e(
531
- T.Item,
531
+ $.Item,
532
532
  {
533
533
  "data-slot": "radio-group-item",
534
534
  className: i(
@@ -537,22 +537,22 @@ function _t({
537
537
  ),
538
538
  ...t,
539
539
  children: /* @__PURE__ */ e(
540
- T.Indicator,
540
+ $.Indicator,
541
541
  {
542
542
  "data-slot": "radio-group-indicator",
543
543
  className: "relative flex items-center justify-center",
544
- children: /* @__PURE__ */ e(oe, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
544
+ children: /* @__PURE__ */ e(ne, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
545
545
  }
546
546
  )
547
547
  }
548
548
  );
549
549
  }
550
- function Et({
550
+ function Rt({
551
551
  className: a,
552
552
  ...t
553
553
  }) {
554
554
  return /* @__PURE__ */ e(
555
- q.Root,
555
+ G.Root,
556
556
  {
557
557
  "data-slot": "switch",
558
558
  className: i(
@@ -561,7 +561,7 @@ function Et({
561
561
  ),
562
562
  ...t,
563
563
  children: /* @__PURE__ */ e(
564
- q.Thumb,
564
+ G.Thumb,
565
565
  {
566
566
  "data-slot": "switch-thumb",
567
567
  className: i(
@@ -572,14 +572,14 @@ function Et({
572
572
  }
573
573
  );
574
574
  }
575
- function G({
575
+ function H({
576
576
  href: a,
577
577
  className: t,
578
578
  children: r
579
579
  }) {
580
580
  return a ? /* @__PURE__ */ e("a", { href: a, className: t, tabIndex: -1, "aria-hidden": "true", children: r }) : /* @__PURE__ */ e("div", { className: t, children: r });
581
581
  }
582
- const V = w(
582
+ const F = w(
583
583
  ({
584
584
  className: a,
585
585
  image: t,
@@ -592,53 +592,53 @@ const V = w(
592
592
  badge: u,
593
593
  badgeVariant: f = "default",
594
594
  isSkeleton: v = !1,
595
- isOutOfStock: g = !1,
595
+ isOutOfStock: p = !1,
596
596
  onAddToCart: b,
597
- onToggleFavorite: N,
597
+ onToggleFavorite: x,
598
598
  isFavorite: h = !1,
599
599
  href: c,
600
- orientation: p = "vertical",
601
- ...y
602
- }, x) => v ? /* @__PURE__ */ o(
600
+ orientation: g = "vertical",
601
+ ...N
602
+ }, j) => v ? /* @__PURE__ */ o(
603
603
  "div",
604
604
  {
605
- ref: x,
605
+ ref: j,
606
606
  className: i(
607
607
  "flex rounded-lg border-2 border-[var(--border)] bg-[var(--card)] p-4 animate-pulse",
608
- p === "horizontal" ? "flex-row gap-3" : "flex-col",
608
+ g === "horizontal" ? "flex-row gap-3" : "flex-col",
609
609
  a
610
610
  ),
611
- ...y,
611
+ ...N,
612
612
  children: [
613
613
  /* @__PURE__ */ e(
614
614
  "div",
615
615
  {
616
616
  className: i(
617
617
  "rounded-lg bg-[var(--muted)]",
618
- p === "horizontal" ? "h-24 w-20 shrink-0" : "w-full aspect-square"
618
+ g === "horizontal" ? "h-24 w-20 shrink-0" : "w-full aspect-square"
619
619
  )
620
620
  }
621
621
  ),
622
- /* @__PURE__ */ o("div", { className: i("flex flex-col gap-2", p === "horizontal" ? "flex-1" : "mt-3"), children: [
622
+ /* @__PURE__ */ o("div", { className: i("flex flex-col gap-2", g === "horizontal" ? "flex-1" : "mt-3"), children: [
623
623
  /* @__PURE__ */ e("div", { className: "h-4 w-3/4 rounded bg-[var(--muted)]" }),
624
624
  /* @__PURE__ */ e("div", { className: "h-4 w-1/2 rounded bg-[var(--muted)]" }),
625
625
  /* @__PURE__ */ e("div", { className: "h-10 w-full rounded bg-[var(--muted)]" })
626
626
  ] })
627
627
  ]
628
628
  }
629
- ) : p === "horizontal" ? /* @__PURE__ */ o(
629
+ ) : g === "horizontal" ? /* @__PURE__ */ o(
630
630
  "div",
631
631
  {
632
- ref: x,
632
+ ref: j,
633
633
  className: i(
634
634
  "group relative flex flex-row gap-3 rounded-lg border-2 border-[var(--border)] bg-[var(--card)] p-3 transition-all hover:shadow-md",
635
- g && "opacity-60",
635
+ p && "opacity-60",
636
636
  a
637
637
  ),
638
- ...y,
638
+ ...N,
639
639
  children: [
640
640
  /* @__PURE__ */ e(
641
- G,
641
+ H,
642
642
  {
643
643
  href: c,
644
644
  className: "block h-24 w-20 shrink-0 overflow-hidden rounded-lg",
@@ -663,7 +663,7 @@ const V = w(
663
663
  ) : /* @__PURE__ */ e("h3", { className: "line-clamp-2 text-sm font-medium text-[var(--card-foreground)]", children: r }),
664
664
  s && /* @__PURE__ */ e("p", { className: "text-xs text-[var(--muted-foreground)]", children: s }),
665
665
  d !== void 0 && /* @__PURE__ */ o("div", { className: "flex items-center gap-1", children: [
666
- /* @__PURE__ */ e($, { value: d, size: "sm", readonly: !0 }),
666
+ /* @__PURE__ */ e(V, { value: d, size: "sm", readonly: !0 }),
667
667
  m !== void 0 && /* @__PURE__ */ o("span", { className: "text-xs text-[var(--muted-foreground)]", children: [
668
668
  "(",
669
669
  m,
@@ -684,13 +684,13 @@ const V = w(
684
684
  S,
685
685
  {
686
686
  onClick: b,
687
- disabled: g,
687
+ disabled: p,
688
688
  variant: "primary",
689
689
  size: "sm",
690
690
  fullWidth: !0,
691
- leftIcon: /* @__PURE__ */ e(R, { className: "h-3.5 w-3.5" }),
691
+ leftIcon: /* @__PURE__ */ e(T, { className: "h-3.5 w-3.5" }),
692
692
  className: "mt-auto",
693
- children: g ? "Indisponível" : "Adicionar"
693
+ children: p ? "Indisponível" : "Adicionar"
694
694
  }
695
695
  )
696
696
  ] })
@@ -699,16 +699,16 @@ const V = w(
699
699
  ) : /* @__PURE__ */ o(
700
700
  "div",
701
701
  {
702
- ref: x,
702
+ ref: j,
703
703
  className: i(
704
704
  "group relative flex flex-col rounded-lg border-2 border-border bg-card transition-all hover:shadow-lg",
705
- g && "opacity-60",
705
+ p && "opacity-60",
706
706
  a
707
707
  ),
708
- ...y,
708
+ ...N,
709
709
  children: [
710
710
  /* @__PURE__ */ o(
711
- G,
711
+ H,
712
712
  {
713
713
  href: c,
714
714
  className: "relative block w-full aspect-square overflow-hidden rounded-t-lg",
@@ -721,19 +721,19 @@ const V = w(
721
721
  className: "h-full w-full object-contain transition-transform group-hover:scale-105"
722
722
  }
723
723
  ),
724
- u && /* @__PURE__ */ e("div", { className: "absolute left-3 top-3", children: /* @__PURE__ */ e(_, { variant: f, children: u }) }),
725
- g && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/60", children: /* @__PURE__ */ e(_, { variant: "danger", size: "lg", children: "Esgotado" }) })
724
+ u && /* @__PURE__ */ e("div", { className: "absolute left-3 top-3", children: /* @__PURE__ */ e(E, { variant: f, children: u }) }),
725
+ p && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/60", children: /* @__PURE__ */ e(E, { variant: "danger", size: "lg", children: "Esgotado" }) })
726
726
  ]
727
727
  }
728
728
  ),
729
- N && /* @__PURE__ */ e(
729
+ x && /* @__PURE__ */ e(
730
730
  "button",
731
731
  {
732
- onClick: N,
732
+ onClick: x,
733
733
  className: "absolute right-3 top-3 rounded-full bg-white/90 p-2 transition-all hover:bg-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
734
734
  "aria-label": h ? "Remover dos favoritos" : "Adicionar aos favoritos",
735
735
  children: /* @__PURE__ */ e(
736
- ne,
736
+ se,
737
737
  {
738
738
  className: i(
739
739
  "h-5 w-5",
@@ -754,7 +754,7 @@ const V = w(
754
754
  ) : /* @__PURE__ */ e("h3", { className: "wrap-break-word text-base font-medium text-card-foreground", children: r }),
755
755
  s && /* @__PURE__ */ e("p", { className: "mt-1 text-sm text-[var(--muted-foreground)]", children: s }),
756
756
  d !== void 0 && /* @__PURE__ */ o("div", { className: "mt-2 flex items-center gap-2", children: [
757
- /* @__PURE__ */ e($, { value: d, size: "sm", readonly: !0 }),
757
+ /* @__PURE__ */ e(V, { value: d, size: "sm", readonly: !0 }),
758
758
  m !== void 0 && /* @__PURE__ */ o("span", { className: "text-sm text-[var(--muted-foreground)]", children: [
759
759
  "(",
760
760
  m,
@@ -775,18 +775,18 @@ const V = w(
775
775
  S,
776
776
  {
777
777
  onClick: b,
778
- disabled: g,
778
+ disabled: p,
779
779
  variant: "primary",
780
780
  size: "md",
781
781
  fullWidth: !0,
782
- leftIcon: /* @__PURE__ */ e(R, { className: "h-4 w-4" }),
782
+ leftIcon: /* @__PURE__ */ e(T, { className: "h-4 w-4" }),
783
783
  className: i(
784
784
  "mt-4 transition-all duration-200",
785
785
  "opacity-0 translate-y-2",
786
786
  "group-hover:opacity-100 group-hover:translate-y-0",
787
787
  "focus-visible:opacity-100 focus-visible:translate-y-0"
788
788
  ),
789
- children: g ? "Indisponível" : "Adicionar"
789
+ children: p ? "Indisponível" : "Adicionar"
790
790
  }
791
791
  )
792
792
  ] })
@@ -794,8 +794,8 @@ const V = w(
794
794
  }
795
795
  )
796
796
  );
797
- V.displayName = "ProductCard";
798
- const $e = w(
797
+ F.displayName = "ProductCard";
798
+ const Ve = w(
799
799
  ({
800
800
  className: a,
801
801
  onSearch: t,
@@ -807,20 +807,20 @@ const $e = w(
807
807
  onChange: m,
808
808
  ...u
809
809
  }, f) => {
810
- const [v, g] = z(""), b = d !== void 0 ? d : v, N = {
810
+ const [v, p] = z(""), b = d !== void 0 ? d : v, x = {
811
811
  sm: "h-9 text-sm",
812
812
  md: "h-11 text-base",
813
813
  lg: "h-14 text-lg"
814
- }, h = (y) => {
815
- const x = y.target.value;
816
- d === void 0 && g(x), m == null || m(y);
814
+ }, h = (N) => {
815
+ const j = N.target.value;
816
+ d === void 0 && p(j), m == null || m(N);
817
817
  }, c = () => {
818
- d === void 0 && g(""), r == null || r();
819
- }, p = (y) => {
820
- y.key === "Enter" && t && t(b);
818
+ d === void 0 && p(""), r == null || r();
819
+ }, g = (N) => {
820
+ N.key === "Enter" && t && t(b);
821
821
  };
822
822
  return /* @__PURE__ */ e("div", { className: i("relative w-full", a), children: /* @__PURE__ */ o("div", { className: "relative flex items-center", children: [
823
- /* @__PURE__ */ e(W, { className: "absolute left-3 h-5 w-5 text-[var(--muted-foreground)] pointer-events-none" }),
823
+ /* @__PURE__ */ e(X, { className: "absolute left-3 h-5 w-5 text-[var(--muted-foreground)] pointer-events-none" }),
824
824
  /* @__PURE__ */ e(
825
825
  "input",
826
826
  {
@@ -828,20 +828,20 @@ const $e = w(
828
828
  type: "search",
829
829
  value: b,
830
830
  onChange: h,
831
- onKeyDown: p,
831
+ onKeyDown: g,
832
832
  placeholder: n,
833
833
  className: i(
834
834
  "w-full rounded-lg border-2 border-[var(--border)] bg-[var(--input-background)] pl-10 pr-10 font-normal transition-colors",
835
835
  "placeholder:text-[var(--muted-foreground)]",
836
836
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] focus-visible:ring-offset-2",
837
837
  "disabled:cursor-not-allowed disabled:opacity-50",
838
- N[l]
838
+ x[l]
839
839
  ),
840
840
  ...u
841
841
  }
842
842
  ),
843
843
  /* @__PURE__ */ o("div", { className: "absolute right-3 flex items-center gap-1", children: [
844
- s && /* @__PURE__ */ e(I, { className: "h-5 w-5 animate-spin text-[var(--muted-foreground)]" }),
844
+ s && /* @__PURE__ */ e(U, { className: "h-5 w-5 animate-spin text-[var(--muted-foreground)]" }),
845
845
  b && !s && /* @__PURE__ */ e(
846
846
  "button",
847
847
  {
@@ -849,15 +849,15 @@ const $e = w(
849
849
  onClick: c,
850
850
  className: "rounded-full p-1 hover:bg-[var(--muted)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
851
851
  "aria-label": "Clear search",
852
- children: /* @__PURE__ */ e(se, { className: "h-4 w-4 text-[var(--muted-foreground)]" })
852
+ children: /* @__PURE__ */ e(le, { className: "h-4 w-4 text-[var(--muted-foreground)]" })
853
853
  }
854
854
  )
855
855
  ] })
856
856
  ] }) });
857
857
  }
858
858
  );
859
- $e.displayName = "SearchBar";
860
- const Ve = w(
859
+ Ve.displayName = "SearchBar";
860
+ const Fe = w(
861
861
  ({
862
862
  className: a,
863
863
  price: t,
@@ -873,7 +873,7 @@ const Ve = w(
873
873
  md: "text-xl",
874
874
  lg: "text-2xl",
875
875
  xl: "text-4xl"
876
- }, g = {
876
+ }, p = {
877
877
  sm: "text-xs",
878
878
  md: "text-sm",
879
879
  lg: "text-base",
@@ -892,7 +892,7 @@ const Ve = w(
892
892
  {
893
893
  className: i(
894
894
  "text-[var(--muted-foreground)] line-through",
895
- g[l]
895
+ p[l]
896
896
  ),
897
897
  children: [
898
898
  s,
@@ -902,7 +902,7 @@ const Ve = w(
902
902
  }
903
903
  )
904
904
  ] }),
905
- n && f > 0 && /* @__PURE__ */ o(_, { variant: "success", size: "sm", children: [
905
+ n && f > 0 && /* @__PURE__ */ o(E, { variant: "success", size: "sm", children: [
906
906
  "-",
907
907
  f,
908
908
  "%"
@@ -920,8 +920,8 @@ const Ve = w(
920
920
  ] });
921
921
  }
922
922
  );
923
- Ve.displayName = "PriceDisplay";
924
- const Fe = w(
923
+ Fe.displayName = "PriceDisplay";
924
+ const Ie = w(
925
925
  ({
926
926
  className: a,
927
927
  value: t,
@@ -935,12 +935,12 @@ const Fe = w(
935
935
  }, f) => {
936
936
  const v = () => {
937
937
  t < s && l(t + 1);
938
- }, g = () => {
938
+ }, p = () => {
939
939
  t > r && l(t - 1);
940
940
  }, b = (c) => {
941
- const p = parseInt(c.target.value);
942
- !isNaN(p) && p >= r && p <= s && l(p);
943
- }, N = {
941
+ const g = parseInt(c.target.value);
942
+ !isNaN(g) && g >= r && g <= s && l(g);
943
+ }, x = {
944
944
  sm: "h-8 w-8",
945
945
  md: "h-10 w-10",
946
946
  lg: "h-12 w-12"
@@ -958,11 +958,11 @@ const Fe = w(
958
958
  type: "button",
959
959
  variant: "secondary",
960
960
  size: "sm",
961
- onClick: g,
961
+ onClick: p,
962
962
  disabled: d || t <= r,
963
- className: i(N[n], "p-0"),
963
+ className: i(x[n], "p-0"),
964
964
  "aria-label": "Decrease quantity",
965
- children: /* @__PURE__ */ e(le, { className: "h-4 w-4" })
965
+ children: /* @__PURE__ */ e(de, { className: "h-4 w-4" })
966
966
  }
967
967
  ),
968
968
  /* @__PURE__ */ e(
@@ -992,17 +992,17 @@ const Fe = w(
992
992
  size: "sm",
993
993
  onClick: v,
994
994
  disabled: d || t >= s,
995
- className: i(N[n], "p-0"),
995
+ className: i(x[n], "p-0"),
996
996
  "aria-label": "Increase quantity",
997
- children: /* @__PURE__ */ e(de, { className: "h-4 w-4" })
997
+ children: /* @__PURE__ */ e(ce, { className: "h-4 w-4" })
998
998
  }
999
999
  )
1000
1000
  ] })
1001
1001
  ] });
1002
1002
  }
1003
1003
  );
1004
- Fe.displayName = "QuantitySelector";
1005
- const Ie = w(
1004
+ Ie.displayName = "QuantitySelector";
1005
+ const Ue = w(
1006
1006
  ({ className: a, label: t, htmlFor: r, required: s, error: l, helperText: n, children: d, ...m }, u) => /* @__PURE__ */ o("div", { ref: u, className: i("flex flex-col gap-1.5", a), ...m, children: [
1007
1007
  t && /* @__PURE__ */ o(
1008
1008
  "label",
@@ -1028,11 +1028,11 @@ const Ie = w(
1028
1028
  )
1029
1029
  ] })
1030
1030
  );
1031
- Ie.displayName = "FormGroup";
1032
- function Rt({ ...a }) {
1031
+ Ue.displayName = "FormGroup";
1032
+ function Tt({ ...a }) {
1033
1033
  return /* @__PURE__ */ e("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...a });
1034
1034
  }
1035
- function Tt({ className: a, ...t }) {
1035
+ function $t({ className: a, ...t }) {
1036
1036
  return /* @__PURE__ */ e(
1037
1037
  "ol",
1038
1038
  {
@@ -1045,7 +1045,7 @@ function Tt({ className: a, ...t }) {
1045
1045
  }
1046
1046
  );
1047
1047
  }
1048
- function $t({ className: a, ...t }) {
1048
+ function Vt({ className: a, ...t }) {
1049
1049
  return /* @__PURE__ */ e(
1050
1050
  "li",
1051
1051
  {
@@ -1055,7 +1055,7 @@ function $t({ className: a, ...t }) {
1055
1055
  }
1056
1056
  );
1057
1057
  }
1058
- function Vt({
1058
+ function Ft({
1059
1059
  asChild: a,
1060
1060
  className: t,
1061
1061
  ...r
@@ -1069,7 +1069,7 @@ function Vt({
1069
1069
  }
1070
1070
  );
1071
1071
  }
1072
- function Ft({ className: a, ...t }) {
1072
+ function It({ className: a, ...t }) {
1073
1073
  return /* @__PURE__ */ e(
1074
1074
  "span",
1075
1075
  {
@@ -1082,7 +1082,7 @@ function Ft({ className: a, ...t }) {
1082
1082
  }
1083
1083
  );
1084
1084
  }
1085
- function It({
1085
+ function Ut({
1086
1086
  children: a,
1087
1087
  className: t,
1088
1088
  ...r
@@ -1095,21 +1095,21 @@ function It({
1095
1095
  "aria-hidden": "true",
1096
1096
  className: i("[&>svg]:size-3.5", t),
1097
1097
  ...r,
1098
- children: a ?? /* @__PURE__ */ e(O, {})
1098
+ children: a ?? /* @__PURE__ */ e(Y, {})
1099
1099
  }
1100
1100
  );
1101
1101
  }
1102
- function Ut({
1102
+ function qt({
1103
1103
  ...a
1104
1104
  }) {
1105
- return /* @__PURE__ */ e(P.Root, { "data-slot": "accordion", ...a });
1105
+ return /* @__PURE__ */ e(_.Root, { "data-slot": "accordion", ...a });
1106
1106
  }
1107
- function qt({
1107
+ function Gt({
1108
1108
  className: a,
1109
1109
  ...t
1110
1110
  }) {
1111
1111
  return /* @__PURE__ */ e(
1112
- P.Item,
1112
+ _.Item,
1113
1113
  {
1114
1114
  "data-slot": "accordion-item",
1115
1115
  className: i("border-b last:border-b-0", a),
@@ -1117,13 +1117,13 @@ function qt({
1117
1117
  }
1118
1118
  );
1119
1119
  }
1120
- function Gt({
1120
+ function Ht({
1121
1121
  className: a,
1122
1122
  children: t,
1123
1123
  ...r
1124
1124
  }) {
1125
- return /* @__PURE__ */ e(P.Header, { className: "flex", children: /* @__PURE__ */ o(
1126
- P.Trigger,
1125
+ return /* @__PURE__ */ e(_.Header, { className: "flex", children: /* @__PURE__ */ o(
1126
+ _.Trigger,
1127
1127
  {
1128
1128
  "data-slot": "accordion-trigger",
1129
1129
  className: i(
@@ -1133,18 +1133,18 @@ function Gt({
1133
1133
  ...r,
1134
1134
  children: [
1135
1135
  t,
1136
- /* @__PURE__ */ e(E, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
1136
+ /* @__PURE__ */ e(R, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
1137
1137
  ]
1138
1138
  }
1139
1139
  ) });
1140
1140
  }
1141
- function Ht({
1141
+ function Qt({
1142
1142
  className: a,
1143
1143
  children: t,
1144
1144
  ...r
1145
1145
  }) {
1146
1146
  return /* @__PURE__ */ e(
1147
- P.Content,
1147
+ _.Content,
1148
1148
  {
1149
1149
  "data-slot": "accordion-content",
1150
1150
  className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
@@ -1153,12 +1153,12 @@ function Ht({
1153
1153
  }
1154
1154
  );
1155
1155
  }
1156
- function Ue({
1156
+ function qe({
1157
1157
  delayDuration: a = 0,
1158
1158
  ...t
1159
1159
  }) {
1160
1160
  return /* @__PURE__ */ e(
1161
- j.Provider,
1161
+ M.Provider,
1162
1162
  {
1163
1163
  "data-slot": "tooltip-provider",
1164
1164
  delayDuration: a,
@@ -1166,24 +1166,24 @@ function Ue({
1166
1166
  }
1167
1167
  );
1168
1168
  }
1169
- function Qt({
1169
+ function Wt({
1170
1170
  ...a
1171
1171
  }) {
1172
- return /* @__PURE__ */ e(Ue, { children: /* @__PURE__ */ e(j.Root, { "data-slot": "tooltip", ...a }) });
1172
+ return /* @__PURE__ */ e(qe, { children: /* @__PURE__ */ e(M.Root, { "data-slot": "tooltip", ...a }) });
1173
1173
  }
1174
- function Wt({
1174
+ function Xt({
1175
1175
  ...a
1176
1176
  }) {
1177
- return /* @__PURE__ */ e(j.Trigger, { "data-slot": "tooltip-trigger", ...a });
1177
+ return /* @__PURE__ */ e(M.Trigger, { "data-slot": "tooltip-trigger", ...a });
1178
1178
  }
1179
- function Ot({
1179
+ function Yt({
1180
1180
  className: a,
1181
1181
  sideOffset: t = 0,
1182
1182
  children: r,
1183
1183
  ...s
1184
1184
  }) {
1185
- return /* @__PURE__ */ e(j.Portal, { children: /* @__PURE__ */ o(
1186
- j.Content,
1185
+ return /* @__PURE__ */ e(M.Portal, { children: /* @__PURE__ */ o(
1186
+ M.Content,
1187
1187
  {
1188
1188
  "data-slot": "tooltip-content",
1189
1189
  sideOffset: t,
@@ -1194,12 +1194,12 @@ function Ot({
1194
1194
  ...s,
1195
1195
  children: [
1196
1196
  r,
1197
- /* @__PURE__ */ e(j.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
1197
+ /* @__PURE__ */ e(M.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
1198
1198
  ]
1199
1199
  }
1200
1200
  ) });
1201
1201
  }
1202
- const qe = w(
1202
+ const Ge = w(
1203
1203
  ({
1204
1204
  className: a,
1205
1205
  variant: t = "default",
@@ -1212,10 +1212,10 @@ const qe = w(
1212
1212
  overlay: u = !0,
1213
1213
  children: f,
1214
1214
  ...v
1215
- }, g) => /* @__PURE__ */ o(
1215
+ }, p) => /* @__PURE__ */ o(
1216
1216
  "section",
1217
1217
  {
1218
- ref: g,
1218
+ ref: p,
1219
1219
  className: i(
1220
1220
  "relative flex min-h-[400px] w-full flex-col justify-center px-6 py-16 lg:px-12 lg:py-24",
1221
1221
  {
@@ -1227,7 +1227,7 @@ const qe = w(
1227
1227
  ),
1228
1228
  ...v,
1229
1229
  children: [
1230
- m && /* @__PURE__ */ o(L, { children: [
1230
+ m && /* @__PURE__ */ o(P, { children: [
1231
1231
  /* @__PURE__ */ e(
1232
1232
  "div",
1233
1233
  {
@@ -1306,8 +1306,8 @@ const qe = w(
1306
1306
  }
1307
1307
  )
1308
1308
  );
1309
- qe.displayName = "Hero";
1310
- const Y = w(
1309
+ Ge.displayName = "Hero";
1310
+ const Z = w(
1311
1311
  ({
1312
1312
  className: a,
1313
1313
  variant: t = "default",
@@ -1318,10 +1318,10 @@ const Y = w(
1318
1318
  ...d
1319
1319
  }, m) => {
1320
1320
  const f = r || {
1321
- default: /* @__PURE__ */ e(ue, { className: "h-16 w-16" }),
1322
- search: /* @__PURE__ */ e(W, { className: "h-16 w-16" }),
1323
- cart: /* @__PURE__ */ e(R, { className: "h-16 w-16" }),
1324
- error: /* @__PURE__ */ e(ce, { className: "h-16 w-16" })
1321
+ default: /* @__PURE__ */ e(me, { className: "h-16 w-16" }),
1322
+ search: /* @__PURE__ */ e(X, { className: "h-16 w-16" }),
1323
+ cart: /* @__PURE__ */ e(T, { className: "h-16 w-16" }),
1324
+ error: /* @__PURE__ */ e(ue, { className: "h-16 w-16" })
1325
1325
  }[t];
1326
1326
  return /* @__PURE__ */ o(
1327
1327
  "div",
@@ -1351,8 +1351,8 @@ const Y = w(
1351
1351
  );
1352
1352
  }
1353
1353
  );
1354
- Y.displayName = "EmptyState";
1355
- const Ge = w(
1354
+ Z.displayName = "EmptyState";
1355
+ const He = w(
1356
1356
  ({
1357
1357
  className: a,
1358
1358
  type: t = "generic",
@@ -1364,7 +1364,7 @@ const Ge = w(
1364
1364
  showHome: m = !0,
1365
1365
  ...u
1366
1366
  }, f) => {
1367
- const g = {
1367
+ const p = {
1368
1368
  404: {
1369
1369
  title: "Página não encontrada",
1370
1370
  message: "A página que você está procurando não existe ou foi movida.",
@@ -1385,7 +1385,7 @@ const Ge = w(
1385
1385
  message: "Ocorreu um erro inesperado. Por favor, tente novamente.",
1386
1386
  code: ""
1387
1387
  }
1388
- }[t], b = r || g.title, N = s || g.message;
1388
+ }[t], b = r || p.title, x = s || p.message;
1389
1389
  return /* @__PURE__ */ o(
1390
1390
  "div",
1391
1391
  {
@@ -1399,11 +1399,11 @@ const Ge = w(
1399
1399
  ...u,
1400
1400
  children: [
1401
1401
  /* @__PURE__ */ o("div", { className: "flex flex-col items-center gap-4", children: [
1402
- g.code && /* @__PURE__ */ e("h1", { className: "text-9xl font-bold text-[var(--muted)] opacity-40", children: g.code }),
1403
- /* @__PURE__ */ e("div", { className: "rounded-full bg-[var(--destructive)]/10 p-6 text-[var(--destructive)]", children: /* @__PURE__ */ e(me, { className: "h-16 w-16" }) })
1402
+ p.code && /* @__PURE__ */ e("h1", { className: "text-9xl font-bold text-[var(--muted)] opacity-40", children: p.code }),
1403
+ /* @__PURE__ */ e("div", { className: "rounded-full bg-[var(--destructive)]/10 p-6 text-[var(--destructive)]", children: /* @__PURE__ */ e(fe, { className: "h-16 w-16" }) })
1404
1404
  ] }),
1405
1405
  /* @__PURE__ */ e("h2", { className: "mt-6 text-2xl font-bold text-[var(--foreground)]", children: b }),
1406
- /* @__PURE__ */ e("p", { className: "mt-2 max-w-md text-[var(--muted-foreground)]", children: N }),
1406
+ /* @__PURE__ */ e("p", { className: "mt-2 max-w-md text-[var(--muted-foreground)]", children: x }),
1407
1407
  /* @__PURE__ */ o("div", { className: "mt-8 flex flex-wrap gap-4 justify-center", children: [
1408
1408
  d && l && /* @__PURE__ */ e(
1409
1409
  S,
@@ -1411,7 +1411,7 @@ const Ge = w(
1411
1411
  onClick: l,
1412
1412
  variant: "primary",
1413
1413
  size: "lg",
1414
- leftIcon: /* @__PURE__ */ e(fe, { className: "h-5 w-5" }),
1414
+ leftIcon: /* @__PURE__ */ e(ge, { className: "h-5 w-5" }),
1415
1415
  children: "Tentar novamente"
1416
1416
  }
1417
1417
  ),
@@ -1421,7 +1421,7 @@ const Ge = w(
1421
1421
  onClick: n,
1422
1422
  variant: "secondary",
1423
1423
  size: "lg",
1424
- leftIcon: /* @__PURE__ */ e(ge, { className: "h-5 w-5" }),
1424
+ leftIcon: /* @__PURE__ */ e(pe, { className: "h-5 w-5" }),
1425
1425
  children: "Voltar ao início"
1426
1426
  }
1427
1427
  )
@@ -1431,8 +1431,8 @@ const Ge = w(
1431
1431
  );
1432
1432
  }
1433
1433
  );
1434
- Ge.displayName = "ErrorState";
1435
- const He = w(
1434
+ He.displayName = "ErrorState";
1435
+ const Qe = w(
1436
1436
  ({
1437
1437
  className: a,
1438
1438
  products: t,
@@ -1459,8 +1459,8 @@ const He = w(
1459
1459
  a
1460
1460
  ),
1461
1461
  ...u,
1462
- children: Array.from({ length: n }).map((g, b) => /* @__PURE__ */ e(
1463
- V,
1462
+ children: Array.from({ length: n }).map((p, b) => /* @__PURE__ */ e(
1463
+ F,
1464
1464
  {
1465
1465
  image: "",
1466
1466
  title: "",
@@ -1471,7 +1471,7 @@ const He = w(
1471
1471
  ))
1472
1472
  }
1473
1473
  ) : t.length === 0 ? /* @__PURE__ */ e(
1474
- Y,
1474
+ Z,
1475
1475
  {
1476
1476
  variant: "search",
1477
1477
  title: d,
@@ -1491,33 +1491,33 @@ const He = w(
1491
1491
  a
1492
1492
  ),
1493
1493
  ...u,
1494
- children: t.map((g, b) => /* @__PURE__ */ e(V, { ...g }, b))
1494
+ children: t.map((p, b) => /* @__PURE__ */ e(F, { ...p }, b))
1495
1495
  }
1496
1496
  );
1497
1497
  }
1498
1498
  );
1499
- He.displayName = "ProductGrid";
1499
+ Qe.displayName = "ProductGrid";
1500
1500
  function Kt({
1501
1501
  ...a
1502
1502
  }) {
1503
- return /* @__PURE__ */ e(k.Root, { "data-slot": "dialog", ...a });
1503
+ return /* @__PURE__ */ e(y.Root, { "data-slot": "dialog", ...a });
1504
1504
  }
1505
- function Xt({
1505
+ function Ot({
1506
1506
  ...a
1507
1507
  }) {
1508
- return /* @__PURE__ */ e(k.Trigger, { "data-slot": "dialog-trigger", ...a });
1508
+ return /* @__PURE__ */ e(y.Trigger, { "data-slot": "dialog-trigger", ...a });
1509
1509
  }
1510
- function Qe({
1510
+ function We({
1511
1511
  ...a
1512
1512
  }) {
1513
- return /* @__PURE__ */ e(k.Portal, { "data-slot": "dialog-portal", ...a });
1513
+ return /* @__PURE__ */ e(y.Portal, { "data-slot": "dialog-portal", ...a });
1514
1514
  }
1515
- function We({
1515
+ function Xe({
1516
1516
  className: a,
1517
1517
  ...t
1518
1518
  }) {
1519
1519
  return /* @__PURE__ */ e(
1520
- k.Overlay,
1520
+ y.Overlay,
1521
1521
  {
1522
1522
  "data-slot": "dialog-overlay",
1523
1523
  className: i(
@@ -1528,15 +1528,15 @@ function We({
1528
1528
  }
1529
1529
  );
1530
1530
  }
1531
- function Yt({
1531
+ function Zt({
1532
1532
  className: a,
1533
1533
  children: t,
1534
1534
  ...r
1535
1535
  }) {
1536
- return /* @__PURE__ */ o(Qe, { "data-slot": "dialog-portal", children: [
1537
- /* @__PURE__ */ e(We, {}),
1536
+ return /* @__PURE__ */ o(We, { "data-slot": "dialog-portal", children: [
1537
+ /* @__PURE__ */ e(Xe, {}),
1538
1538
  /* @__PURE__ */ o(
1539
- k.Content,
1539
+ y.Content,
1540
1540
  {
1541
1541
  "data-slot": "dialog-content",
1542
1542
  className: i(
@@ -1546,7 +1546,7 @@ function Yt({
1546
1546
  ...r,
1547
1547
  children: [
1548
1548
  t,
1549
- /* @__PURE__ */ o(k.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", children: [
1549
+ /* @__PURE__ */ o(y.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", children: [
1550
1550
  /* @__PURE__ */ e(K, {}),
1551
1551
  /* @__PURE__ */ e("span", { className: "sr-only", children: "Close" })
1552
1552
  ] })
@@ -1555,7 +1555,7 @@ function Yt({
1555
1555
  )
1556
1556
  ] });
1557
1557
  }
1558
- function Zt({ className: a, ...t }) {
1558
+ function Jt({ className: a, ...t }) {
1559
1559
  return /* @__PURE__ */ e(
1560
1560
  "div",
1561
1561
  {
@@ -1565,7 +1565,7 @@ function Zt({ className: a, ...t }) {
1565
1565
  }
1566
1566
  );
1567
1567
  }
1568
- function Jt({ className: a, ...t }) {
1568
+ function ea({ className: a, ...t }) {
1569
1569
  return /* @__PURE__ */ e(
1570
1570
  "div",
1571
1571
  {
@@ -1578,12 +1578,12 @@ function Jt({ className: a, ...t }) {
1578
1578
  }
1579
1579
  );
1580
1580
  }
1581
- function ea({
1581
+ function ta({
1582
1582
  className: a,
1583
1583
  ...t
1584
1584
  }) {
1585
1585
  return /* @__PURE__ */ e(
1586
- k.Title,
1586
+ y.Title,
1587
1587
  {
1588
1588
  "data-slot": "dialog-title",
1589
1589
  className: i("text-lg leading-none font-semibold", a),
@@ -1591,12 +1591,12 @@ function ea({
1591
1591
  }
1592
1592
  );
1593
1593
  }
1594
- function ta({
1594
+ function aa({
1595
1595
  className: a,
1596
1596
  ...t
1597
1597
  }) {
1598
1598
  return /* @__PURE__ */ e(
1599
- k.Description,
1599
+ y.Description,
1600
1600
  {
1601
1601
  "data-slot": "dialog-description",
1602
1602
  className: i("text-muted-foreground text-sm", a),
@@ -1604,30 +1604,30 @@ function ta({
1604
1604
  }
1605
1605
  );
1606
1606
  }
1607
- function Oe({ ...a }) {
1608
- return /* @__PURE__ */ e(k.Root, { "data-slot": "sheet", ...a });
1607
+ function Ye({ ...a }) {
1608
+ return /* @__PURE__ */ e(y.Root, { "data-slot": "sheet", ...a });
1609
1609
  }
1610
1610
  function Ke({
1611
1611
  ...a
1612
1612
  }) {
1613
- return /* @__PURE__ */ e(k.Trigger, { "data-slot": "sheet-trigger", ...a });
1613
+ return /* @__PURE__ */ e(y.Trigger, { "data-slot": "sheet-trigger", ...a });
1614
1614
  }
1615
- function Xe({
1615
+ function Oe({
1616
1616
  ...a
1617
1617
  }) {
1618
- return /* @__PURE__ */ e(k.Close, { "data-slot": "sheet-close", ...a });
1618
+ return /* @__PURE__ */ e(y.Close, { "data-slot": "sheet-close", ...a });
1619
1619
  }
1620
- function Ye({
1620
+ function Ze({
1621
1621
  ...a
1622
1622
  }) {
1623
- return /* @__PURE__ */ e(k.Portal, { "data-slot": "sheet-portal", ...a });
1623
+ return /* @__PURE__ */ e(y.Portal, { "data-slot": "sheet-portal", ...a });
1624
1624
  }
1625
- function Ze({
1625
+ function Je({
1626
1626
  className: a,
1627
1627
  ...t
1628
1628
  }) {
1629
1629
  return /* @__PURE__ */ e(
1630
- k.Overlay,
1630
+ y.Overlay,
1631
1631
  {
1632
1632
  "data-slot": "sheet-overlay",
1633
1633
  className: i(
@@ -1638,16 +1638,16 @@ function Ze({
1638
1638
  }
1639
1639
  );
1640
1640
  }
1641
- function Je({
1641
+ function et({
1642
1642
  className: a,
1643
1643
  children: t,
1644
1644
  side: r = "right",
1645
1645
  ...s
1646
1646
  }) {
1647
- return /* @__PURE__ */ o(Ye, { children: [
1648
- /* @__PURE__ */ e(Ze, {}),
1647
+ return /* @__PURE__ */ o(Ze, { children: [
1648
+ /* @__PURE__ */ e(Je, {}),
1649
1649
  /* @__PURE__ */ o(
1650
- k.Content,
1650
+ y.Content,
1651
1651
  {
1652
1652
  "data-slot": "sheet-content",
1653
1653
  className: i(
@@ -1661,7 +1661,7 @@ function Je({
1661
1661
  ...s,
1662
1662
  children: [
1663
1663
  t,
1664
- /* @__PURE__ */ o(k.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
1664
+ /* @__PURE__ */ o(y.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
1665
1665
  /* @__PURE__ */ e(K, { className: "size-4" }),
1666
1666
  /* @__PURE__ */ e("span", { className: "sr-only", children: "Close" })
1667
1667
  ] })
@@ -1670,7 +1670,7 @@ function Je({
1670
1670
  )
1671
1671
  ] });
1672
1672
  }
1673
- function et({ className: a, ...t }) {
1673
+ function tt({ className: a, ...t }) {
1674
1674
  return /* @__PURE__ */ e(
1675
1675
  "div",
1676
1676
  {
@@ -1680,7 +1680,7 @@ function et({ className: a, ...t }) {
1680
1680
  }
1681
1681
  );
1682
1682
  }
1683
- function aa({ className: a, ...t }) {
1683
+ function ra({ className: a, ...t }) {
1684
1684
  return /* @__PURE__ */ e(
1685
1685
  "div",
1686
1686
  {
@@ -1690,12 +1690,12 @@ function aa({ className: a, ...t }) {
1690
1690
  }
1691
1691
  );
1692
1692
  }
1693
- function tt({
1693
+ function at({
1694
1694
  className: a,
1695
1695
  ...t
1696
1696
  }) {
1697
1697
  return /* @__PURE__ */ e(
1698
- k.Title,
1698
+ y.Title,
1699
1699
  {
1700
1700
  "data-slot": "sheet-title",
1701
1701
  className: i("text-foreground font-semibold", a),
@@ -1703,12 +1703,12 @@ function tt({
1703
1703
  }
1704
1704
  );
1705
1705
  }
1706
- function ra({
1706
+ function ia({
1707
1707
  className: a,
1708
1708
  ...t
1709
1709
  }) {
1710
1710
  return /* @__PURE__ */ e(
1711
- k.Description,
1711
+ y.Description,
1712
1712
  {
1713
1713
  "data-slot": "sheet-description",
1714
1714
  className: i("text-muted-foreground text-sm", a),
@@ -1716,7 +1716,7 @@ function ra({
1716
1716
  }
1717
1717
  );
1718
1718
  }
1719
- function at({ children: a, as: t = "div", className: r }) {
1719
+ function rt({ children: a, as: t = "div", className: r }) {
1720
1720
  return /* @__PURE__ */ e(
1721
1721
  t,
1722
1722
  {
@@ -1727,26 +1727,26 @@ function at({ children: a, as: t = "div", className: r }) {
1727
1727
  }
1728
1728
  );
1729
1729
  }
1730
- const rt = w(
1730
+ const it = w(
1731
1731
  ({ className: a, onThemeChange: t, onFontSizeChange: r, showA11yLink: s = !1, ...l }, n) => {
1732
- const [d, m] = z("light"), [u, f] = z(16), [v, g] = z(!1);
1733
- M(() => {
1734
- const p = localStorage.getItem("a11y-theme") ?? document.documentElement.getAttribute("data-theme") ?? "light";
1735
- m(p);
1736
- const y = Number(localStorage.getItem("a11y-font-size"));
1737
- Number.isFinite(y) && y > 0 && f(y);
1738
- }, []), M(() => {
1732
+ const [d, m] = z("light"), [u, f] = z(16), [v, p] = z(!1);
1733
+ A(() => {
1734
+ const g = localStorage.getItem("a11y-theme") ?? document.documentElement.getAttribute("data-theme") ?? "light";
1735
+ m(g);
1736
+ const N = Number(localStorage.getItem("a11y-font-size"));
1737
+ Number.isFinite(N) && N > 0 && f(N);
1738
+ }, []), A(() => {
1739
1739
  if (!v && typeof window < "u" && !document.querySelector('script[src*="vlibras"]')) {
1740
- const p = document.createElement("script");
1741
- p.src = "https://vlibras.gov.br/app/vlibras-plugin.js", p.async = !0, p.onload = () => {
1742
- g(!0), window.VLibras && new window.VLibras.Widget("https://vlibras.gov.br/app");
1743
- }, document.body.appendChild(p);
1740
+ const g = document.createElement("script");
1741
+ g.src = "https://vlibras.gov.br/app/vlibras-plugin.js", g.async = !0, g.onload = () => {
1742
+ p(!0), window.VLibras && new window.VLibras.Widget("https://vlibras.gov.br/app");
1743
+ }, document.body.appendChild(g);
1744
1744
  }
1745
1745
  }, [v]);
1746
1746
  const b = () => {
1747
1747
  const c = d === "light" ? "dark" : "light";
1748
1748
  m(c), document.documentElement.setAttribute("data-theme", c), localStorage.setItem("a11y-theme", c), t == null || t(c);
1749
- }, N = () => {
1749
+ }, x = () => {
1750
1750
  const c = Math.min(u + 2, 24);
1751
1751
  f(c), document.documentElement.style.setProperty("--font-size", `${c}px`), document.documentElement.style.fontSize = `${c}px`, localStorage.setItem("a11y-font-size", c.toString()), r == null || r(c);
1752
1752
  }, h = () => {
@@ -1764,9 +1764,9 @@ const rt = w(
1764
1764
  role: "toolbar",
1765
1765
  "aria-label": "Ferramentas de acessibilidade",
1766
1766
  ...l,
1767
- children: /* @__PURE__ */ o(at, { className: "py-2 flex items-center justify-between", children: [
1767
+ children: /* @__PURE__ */ o(rt, { className: "py-2 flex items-center justify-between", children: [
1768
1768
  /* @__PURE__ */ o("div", { className: "flex items-center gap-2 text-sm text-[var(--muted-foreground)]", children: [
1769
- /* @__PURE__ */ e(pe, { className: "h-4 w-4 flex-shrink-0", "aria-hidden": "true" }),
1769
+ /* @__PURE__ */ e(ve, { className: "h-4 w-4 flex-shrink-0", "aria-hidden": "true" }),
1770
1770
  /* @__PURE__ */ e("span", { className: "hidden sm:inline", children: "Ferramentas de Acessibilidade" })
1771
1771
  ] }),
1772
1772
  /* @__PURE__ */ o("div", { className: "flex items-center gap-2 md:gap-4", children: [
@@ -1791,7 +1791,7 @@ const rt = w(
1791
1791
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
1792
1792
  "disabled:opacity-40 disabled:cursor-not-allowed"
1793
1793
  ),
1794
- children: /* @__PURE__ */ e(ve, { className: "h-4 w-4" })
1794
+ children: /* @__PURE__ */ e(be, { className: "h-4 w-4" })
1795
1795
  }
1796
1796
  ),
1797
1797
  /* @__PURE__ */ e("span", { className: "text-xs text-[var(--muted-foreground)] w-3 text-center select-none", "aria-hidden": "true", children: "A" }),
@@ -1799,7 +1799,7 @@ const rt = w(
1799
1799
  "button",
1800
1800
  {
1801
1801
  type: "button",
1802
- onClick: N,
1802
+ onClick: x,
1803
1803
  disabled: u >= 24,
1804
1804
  "aria-label": "Aumentar tamanho da fonte",
1805
1805
  className: i(
@@ -1807,7 +1807,7 @@ const rt = w(
1807
1807
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
1808
1808
  "disabled:opacity-40 disabled:cursor-not-allowed"
1809
1809
  ),
1810
- children: /* @__PURE__ */ e(be, { className: "h-4 w-4" })
1810
+ children: /* @__PURE__ */ e(he, { className: "h-4 w-4" })
1811
1811
  }
1812
1812
  )
1813
1813
  ] }),
@@ -1821,14 +1821,14 @@ const rt = w(
1821
1821
  "p-2 rounded-md transition-colors text-[var(--muted-foreground)] hover:bg-[var(--muted)]",
1822
1822
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]"
1823
1823
  ),
1824
- children: d === "light" ? /* @__PURE__ */ e(he, { className: "h-4 w-4" }) : /* @__PURE__ */ e(xe, { className: "h-4 w-4" })
1824
+ children: d === "light" ? /* @__PURE__ */ e(xe, { className: "h-4 w-4" }) : /* @__PURE__ */ e(Ne, { className: "h-4 w-4" })
1825
1825
  }
1826
1826
  ),
1827
1827
  /* @__PURE__ */ e(
1828
1828
  "button",
1829
1829
  {
1830
1830
  type: "button",
1831
- onClick: () => g((c) => !c),
1831
+ onClick: () => p((c) => !c),
1832
1832
  "aria-label": "Ativar VLibras",
1833
1833
  "aria-pressed": v,
1834
1834
  className: i(
@@ -1849,8 +1849,8 @@ const rt = w(
1849
1849
  );
1850
1850
  }
1851
1851
  );
1852
- rt.displayName = "TopAccessibilityBar";
1853
- const it = w(
1852
+ it.displayName = "TopAccessibilityBar";
1853
+ const ot = w(
1854
1854
  ({
1855
1855
  className: a,
1856
1856
  slides: t,
@@ -1858,24 +1858,24 @@ const it = w(
1858
1858
  autoplay: s = !0,
1859
1859
  ...l
1860
1860
  }, n) => {
1861
- const [d, m] = z(0), [u, f] = z(!1), [v, g] = z(!1);
1862
- M(() => {
1861
+ const [d, m] = z(0), [u, f] = z(!1), [v, p] = z(!1);
1862
+ A(() => {
1863
1863
  const c = window.matchMedia("(prefers-reduced-motion: reduce)");
1864
- g(c.matches);
1865
- const p = (y) => {
1866
- g(y.matches);
1864
+ p(c.matches);
1865
+ const g = (N) => {
1866
+ p(N.matches);
1867
1867
  };
1868
- return c.addEventListener("change", p), () => c.removeEventListener("change", p);
1869
- }, []), M(() => {
1868
+ return c.addEventListener("change", g), () => c.removeEventListener("change", g);
1869
+ }, []), A(() => {
1870
1870
  if (!s || u || v) return;
1871
1871
  const c = setInterval(() => {
1872
- m((p) => (p + 1) % t.length);
1872
+ m((g) => (g + 1) % t.length);
1873
1873
  }, r);
1874
1874
  return () => clearInterval(c);
1875
1875
  }, [s, r, t.length, u, v]);
1876
1876
  const b = (c) => {
1877
1877
  m(c), f(!0), setTimeout(() => f(!1), r);
1878
- }, N = () => {
1878
+ }, x = () => {
1879
1879
  b((d - 1 + t.length) % t.length);
1880
1880
  }, h = () => {
1881
1881
  b((d + 1) % t.length);
@@ -1889,14 +1889,14 @@ const it = w(
1889
1889
  onMouseLeave: () => f(!1),
1890
1890
  ...l,
1891
1891
  children: [
1892
- /* @__PURE__ */ e("div", { className: "relative", children: t.map((c, p) => /* @__PURE__ */ o(
1892
+ /* @__PURE__ */ e("div", { className: "relative", children: t.map((c, g) => /* @__PURE__ */ o(
1893
1893
  "div",
1894
1894
  {
1895
1895
  className: i(
1896
1896
  "w-full transition-opacity duration-700",
1897
- p === d ? "block" : "hidden"
1897
+ g === d ? "block" : "hidden"
1898
1898
  ),
1899
- "aria-hidden": p !== d,
1899
+ "aria-hidden": g !== d,
1900
1900
  children: [
1901
1901
  /* @__PURE__ */ o("picture", { children: [
1902
1902
  /* @__PURE__ */ e(
@@ -1920,7 +1920,7 @@ const it = w(
1920
1920
  srcSet: `${c.imageMobile} 1x, ${c.imageMobile.replace(/\.(jpg|png)$/, "@2x.$1")} 2x`,
1921
1921
  alt: c.title,
1922
1922
  className: "w-full object-cover aspect-3/2 md:aspect-video lg:aspect-1920/560",
1923
- loading: p === 0 ? "eager" : "lazy"
1923
+ loading: g === 0 ? "eager" : "lazy"
1924
1924
  }
1925
1925
  )
1926
1926
  ] }),
@@ -1940,14 +1940,14 @@ const it = w(
1940
1940
  },
1941
1941
  c.id
1942
1942
  )) }),
1943
- t.length > 1 && /* @__PURE__ */ o(L, { children: [
1943
+ t.length > 1 && /* @__PURE__ */ o(P, { children: [
1944
1944
  /* @__PURE__ */ e(
1945
1945
  "button",
1946
1946
  {
1947
- onClick: N,
1947
+ onClick: x,
1948
1948
  className: "absolute left-4 top-1/2 -translate-y-1/2 rounded-full bg-white/50 p-2 shadow-lg transition-all hover:bg-white/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] min-w-[44px] min-h-[44px]",
1949
1949
  "aria-label": "Slide anterior",
1950
- children: /* @__PURE__ */ e(Ne, { className: "h-6 w-6 text-gray-900" })
1950
+ children: /* @__PURE__ */ e(we, { className: "h-6 w-6 text-gray-900" })
1951
1951
  }
1952
1952
  ),
1953
1953
  /* @__PURE__ */ e(
@@ -1956,36 +1956,36 @@ const it = w(
1956
1956
  onClick: h,
1957
1957
  className: "absolute right-4 top-1/2 -translate-y-1/2 rounded-full bg-white/50 p-2 shadow-lg transition-all hover:bg-white/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] min-w-[44px] min-h-[44px]",
1958
1958
  "aria-label": "Próximo slide",
1959
- children: /* @__PURE__ */ e(O, { className: "h-6 w-6 text-gray-900" })
1959
+ children: /* @__PURE__ */ e(Y, { className: "h-6 w-6 text-gray-900" })
1960
1960
  }
1961
1961
  )
1962
1962
  ] }),
1963
- t.length > 1 && /* @__PURE__ */ e("div", { className: "absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-1.5", children: t.map((c, p) => /* @__PURE__ */ e(
1963
+ t.length > 1 && /* @__PURE__ */ e("div", { className: "absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-1.5", children: t.map((c, g) => /* @__PURE__ */ e(
1964
1964
  "button",
1965
1965
  {
1966
- onClick: () => b(p),
1966
+ onClick: () => b(g),
1967
1967
  className: "min-w-11 min-h-6 flex items-center justify-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded-full group",
1968
- "aria-label": `Ir para slide ${p + 1}`,
1969
- "aria-current": p === d,
1968
+ "aria-label": `Ir para slide ${g + 1}`,
1969
+ "aria-current": g === d,
1970
1970
  children: /* @__PURE__ */ e(
1971
1971
  "span",
1972
1972
  {
1973
1973
  className: i(
1974
1974
  "block rounded-full transition-all",
1975
- p === d ? "h-1 w-3 bg-white" : "h-1 w-1 bg-white/40 group-hover:bg-white/60"
1975
+ g === d ? "h-1 w-3 bg-white" : "h-1 w-1 bg-white/40 group-hover:bg-white/60"
1976
1976
  )
1977
1977
  }
1978
1978
  )
1979
1979
  },
1980
- p
1980
+ g
1981
1981
  )) })
1982
1982
  ]
1983
1983
  }
1984
1984
  ));
1985
1985
  }
1986
1986
  );
1987
- it.displayName = "HeroCarousel";
1988
- function ot({
1987
+ ot.displayName = "HeroCarousel";
1988
+ function nt({
1989
1989
  className: a,
1990
1990
  children: t,
1991
1991
  viewport: r = !0,
@@ -2003,12 +2003,12 @@ function ot({
2003
2003
  ...s,
2004
2004
  children: [
2005
2005
  t,
2006
- r && /* @__PURE__ */ e(ct, {})
2006
+ r && /* @__PURE__ */ e(ut, {})
2007
2007
  ]
2008
2008
  }
2009
2009
  );
2010
2010
  }
2011
- function nt({
2011
+ function st({
2012
2012
  className: a,
2013
2013
  ...t
2014
2014
  }) {
@@ -2024,7 +2024,7 @@ function nt({
2024
2024
  }
2025
2025
  );
2026
2026
  }
2027
- function H({
2027
+ function Q({
2028
2028
  className: a,
2029
2029
  ...t
2030
2030
  }) {
@@ -2037,10 +2037,10 @@ function H({
2037
2037
  }
2038
2038
  );
2039
2039
  }
2040
- const st = A(
2040
+ const lt = B(
2041
2041
  "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
2042
2042
  );
2043
- function lt({
2043
+ function dt({
2044
2044
  className: a,
2045
2045
  children: t,
2046
2046
  ...r
@@ -2049,13 +2049,13 @@ function lt({
2049
2049
  D.Trigger,
2050
2050
  {
2051
2051
  "data-slot": "navigation-menu-trigger",
2052
- className: i(st(), "group", a),
2052
+ className: i(lt(), "group", a),
2053
2053
  ...r,
2054
2054
  children: [
2055
2055
  t,
2056
2056
  " ",
2057
2057
  /* @__PURE__ */ e(
2058
- E,
2058
+ R,
2059
2059
  {
2060
2060
  className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
2061
2061
  "aria-hidden": "true"
@@ -2065,7 +2065,7 @@ function lt({
2065
2065
  }
2066
2066
  );
2067
2067
  }
2068
- function dt({
2068
+ function ct({
2069
2069
  className: a,
2070
2070
  ...t
2071
2071
  }) {
@@ -2082,7 +2082,7 @@ function dt({
2082
2082
  }
2083
2083
  );
2084
2084
  }
2085
- function ct({
2085
+ function ut({
2086
2086
  className: a,
2087
2087
  ...t
2088
2088
  }) {
@@ -2106,7 +2106,7 @@ function ct({
2106
2106
  }
2107
2107
  );
2108
2108
  }
2109
- function F({
2109
+ function I({
2110
2110
  className: a,
2111
2111
  ...t
2112
2112
  }) {
@@ -2122,7 +2122,7 @@ function F({
2122
2122
  }
2123
2123
  );
2124
2124
  }
2125
- function ut({ items: a }) {
2125
+ function mt({ items: a }) {
2126
2126
  return /* @__PURE__ */ e("ul", { className: "grid gap-0.5 p-2 min-w-[180px]", role: "none", children: a.map(
2127
2127
  (t) => {
2128
2128
  var r;
@@ -2136,7 +2136,7 @@ function ut({ items: a }) {
2136
2136
  }
2137
2137
  ),
2138
2138
  /* @__PURE__ */ e("ul", { className: "ml-1", role: "none", children: t.children.map((s) => /* @__PURE__ */ e("li", { role: "none", children: /* @__PURE__ */ e(
2139
- F,
2139
+ I,
2140
2140
  {
2141
2141
  href: s.href ?? "#",
2142
2142
  className: "block rounded px-3 py-1.5 text-sm text-[var(--foreground)] hover:bg-[var(--accent)] transition-colors",
@@ -2144,7 +2144,7 @@ function ut({ items: a }) {
2144
2144
  }
2145
2145
  ) }, s.id)) })
2146
2146
  ] }, t.id) : /* @__PURE__ */ e("li", { role: "none", children: /* @__PURE__ */ e(
2147
- F,
2147
+ I,
2148
2148
  {
2149
2149
  href: t.href ?? "#",
2150
2150
  className: "block rounded px-3 py-1.5 text-sm text-[var(--foreground)] hover:bg-[var(--accent)] transition-colors",
@@ -2154,10 +2154,10 @@ function ut({ items: a }) {
2154
2154
  }
2155
2155
  ) });
2156
2156
  }
2157
- function Z({ item: a, depth: t = 0 }) {
2157
+ function J({ item: a, depth: t = 0 }) {
2158
2158
  var n;
2159
2159
  const [r, s] = z(!1);
2160
- return !((n = a.children) != null && n.length) ? /* @__PURE__ */ e(Xe, { asChild: !0, children: /* @__PURE__ */ e(
2160
+ return !((n = a.children) != null && n.length) ? /* @__PURE__ */ e(Oe, { asChild: !0, children: /* @__PURE__ */ e(
2161
2161
  "a",
2162
2162
  {
2163
2163
  href: a.href ?? "#",
@@ -2182,7 +2182,7 @@ function Z({ item: a, depth: t = 0 }) {
2182
2182
  children: [
2183
2183
  /* @__PURE__ */ e("span", { children: a.label }),
2184
2184
  /* @__PURE__ */ e(
2185
- X,
2185
+ O,
2186
2186
  {
2187
2187
  "aria-hidden": "true",
2188
2188
  className: i(
@@ -2199,12 +2199,12 @@ function Z({ item: a, depth: t = 0 }) {
2199
2199
  {
2200
2200
  id: `mobile-nav-${a.id}`,
2201
2201
  className: "mb-1 ml-2 border-l-2 border-[var(--border)] pl-3",
2202
- children: a.children.map((d) => /* @__PURE__ */ e(Z, { item: d, depth: t + 1 }, d.id))
2202
+ children: a.children.map((d) => /* @__PURE__ */ e(J, { item: d, depth: t + 1 }, d.id))
2203
2203
  }
2204
2204
  )
2205
2205
  ] });
2206
2206
  }
2207
- const mt = w(
2207
+ const ft = w(
2208
2208
  ({ items: a, logo: t, rightSlot: r, searchSlot: s, drawerFooter: l, className: n, ...d }, m) => /* @__PURE__ */ e(
2209
2209
  "header",
2210
2210
  {
@@ -2220,19 +2220,19 @@ const mt = w(
2220
2220
  s && /* @__PURE__ */ e("div", { className: "hidden flex-1 md:flex", children: s }),
2221
2221
  /* @__PURE__ */ e("div", { className: "flex-1 md:hidden", "aria-hidden": "true" }),
2222
2222
  r && /* @__PURE__ */ e("div", { className: "flex items-center", children: r }),
2223
- /* @__PURE__ */ o(Oe, { children: [
2223
+ /* @__PURE__ */ o(Ye, { children: [
2224
2224
  /* @__PURE__ */ e(Ke, { asChild: !0, children: /* @__PURE__ */ e(
2225
2225
  "button",
2226
2226
  {
2227
2227
  type: "button",
2228
2228
  "aria-label": "Abrir menu de navegação",
2229
2229
  className: "inline-flex min-h-[44px] min-w-[44px] items-center justify-center rounded-lg text-[var(--foreground)] transition-colors hover:bg-[var(--accent)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] md:hidden",
2230
- children: /* @__PURE__ */ e(we, { className: "h-5 w-5", "aria-hidden": "true" })
2230
+ children: /* @__PURE__ */ e(ye, { className: "h-5 w-5", "aria-hidden": "true" })
2231
2231
  }
2232
2232
  ) }),
2233
- /* @__PURE__ */ o(Je, { side: "left", className: "flex flex-col p-0", children: [
2234
- /* @__PURE__ */ o(et, { className: "border-b border-[var(--border)] px-5 py-4", children: [
2235
- /* @__PURE__ */ e(tt, { className: "sr-only", children: "Menu de navegação" }),
2233
+ /* @__PURE__ */ o(et, { side: "left", className: "flex flex-col p-0", children: [
2234
+ /* @__PURE__ */ o(tt, { className: "border-b border-[var(--border)] px-5 py-4", children: [
2235
+ /* @__PURE__ */ e(at, { className: "sr-only", children: "Menu de navegação" }),
2236
2236
  t && /* @__PURE__ */ e("div", { className: "flex items-center", children: t })
2237
2237
  ] }),
2238
2238
  s && /* @__PURE__ */ e("div", { className: "border-b border-[var(--border)] px-5 py-4", children: s }),
@@ -2241,7 +2241,7 @@ const mt = w(
2241
2241
  {
2242
2242
  "aria-label": "Menu principal",
2243
2243
  className: "flex-1 overflow-y-auto px-5 py-3",
2244
- children: /* @__PURE__ */ e("div", { className: "divide-y divide-[var(--border)]", children: a.map((u) => /* @__PURE__ */ e("div", { className: "py-0.5", children: /* @__PURE__ */ e(Z, { item: u }) }, u.id)) })
2244
+ children: /* @__PURE__ */ e("div", { className: "divide-y divide-[var(--border)]", children: a.map((u) => /* @__PURE__ */ e("div", { className: "py-0.5", children: /* @__PURE__ */ e(J, { item: u }) }, u.id)) })
2245
2245
  }
2246
2246
  ),
2247
2247
  l && /* @__PURE__ */ e("div", { className: "border-t border-[var(--border)] px-5 py-4", children: l })
@@ -2253,14 +2253,14 @@ const mt = w(
2253
2253
  {
2254
2254
  "aria-label": "Menu principal",
2255
2255
  className: "hidden border-t border-[var(--border)] py-2 md:flex",
2256
- children: /* @__PURE__ */ e(ot, { children: /* @__PURE__ */ e(nt, { children: a.map(
2256
+ children: /* @__PURE__ */ e(nt, { children: /* @__PURE__ */ e(st, { children: a.map(
2257
2257
  (u) => {
2258
2258
  var f;
2259
- return (f = u.children) != null && f.length ? /* @__PURE__ */ o(H, { children: [
2260
- /* @__PURE__ */ e(lt, { className: "h-9 bg-transparent text-sm text-[var(--foreground)] hover:bg-[var(--accent)]", children: u.label }),
2261
- /* @__PURE__ */ e(dt, { children: /* @__PURE__ */ e(ut, { items: u.children }) })
2262
- ] }, u.id) : /* @__PURE__ */ e(H, { children: /* @__PURE__ */ e(
2263
- F,
2259
+ return (f = u.children) != null && f.length ? /* @__PURE__ */ o(Q, { children: [
2260
+ /* @__PURE__ */ e(dt, { className: "h-9 bg-transparent text-sm text-[var(--foreground)] hover:bg-[var(--accent)]", children: u.label }),
2261
+ /* @__PURE__ */ e(ct, { children: /* @__PURE__ */ e(mt, { items: u.children }) })
2262
+ ] }, u.id) : /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ e(
2263
+ I,
2264
2264
  {
2265
2265
  href: u.href ?? "#",
2266
2266
  className: "inline-flex h-9 items-center rounded-md px-4 text-sm font-medium text-[var(--foreground)] transition-colors hover:bg-[var(--accent)] hover:text-[var(--accent-foreground)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
@@ -2275,13 +2275,13 @@ const mt = w(
2275
2275
  }
2276
2276
  )
2277
2277
  );
2278
- mt.displayName = "MegaMenu";
2279
- const ft = [
2280
- { label: "Instagram", href: "https://instagram.com/eloeditora", Icon: ye, key: "instagram" },
2281
- { label: "Facebook", href: "https://facebook.com/eloeditora", Icon: ke, key: "facebook" },
2282
- { label: "YouTube", href: "https://youtube.com/@eloeditora", Icon: ze, key: "youtube" },
2283
- { label: "LinkedIn", href: "https://linkedin.com/company/eloeditora", Icon: Ce, key: "linkedin" }
2284
- ], gt = [
2278
+ ft.displayName = "MegaMenu";
2279
+ const gt = [
2280
+ { label: "Instagram", href: "https://instagram.com/eloeditora", Icon: ke, key: "instagram" },
2281
+ { label: "Facebook", href: "https://facebook.com/eloeditora", Icon: ze, key: "facebook" },
2282
+ { label: "YouTube", href: "https://youtube.com/@eloeditora", Icon: Ce, key: "youtube" },
2283
+ { label: "LinkedIn", href: "https://linkedin.com/company/eloeditora", Icon: Se, key: "linkedin" }
2284
+ ], pt = [
2285
2285
  {
2286
2286
  id: "catalogo",
2287
2287
  title: "Catálogo",
@@ -2298,7 +2298,6 @@ const ft = [
2298
2298
  title: "Editora",
2299
2299
  links: [
2300
2300
  { label: "Autores", href: "/autores" },
2301
- { label: "LABBOOK", href: "/labbook" },
2302
2301
  { label: "Projetos", href: "/projetos" },
2303
2302
  { label: "Fale Conosco", href: "/editora/contato" },
2304
2303
  { label: "FAQ", href: "/editora/faq" }
@@ -2315,10 +2314,10 @@ const ft = [
2315
2314
  ]
2316
2315
  }
2317
2316
  ];
2318
- function pt({ onSubmit: a }) {
2317
+ function vt({ onSubmit: a }) {
2319
2318
  const [t, r] = z(""), [s, l] = z(!1);
2320
2319
  return /* @__PURE__ */ e("div", { className: "mx-auto w-full bg-[var(--brand-primary)] py-8 md:py-10 lg:py-12", style: { maxWidth: "var(--container-max)" }, children: /* @__PURE__ */ o("div", { className: "mx-auto max-w-lg px-[var(--container-px)] text-center", children: [
2321
- /* @__PURE__ */ e(Se, { className: "mx-auto mb-4 h-10 w-10 text-white", "aria-hidden": "true" }),
2320
+ /* @__PURE__ */ e(je, { className: "mx-auto mb-4 h-10 w-10 text-white", "aria-hidden": "true" }),
2322
2321
  /* @__PURE__ */ e("h2", { className: "text-xl font-semibold text-white sm:text-2xl", children: "Receba novidades e ofertas exclusivas" }),
2323
2322
  /* @__PURE__ */ e("p", { className: "mt-2 text-sm", style: { color: "rgba(255,255,255,0.85)" }, children: "Cadastre-se e fique por dentro dos lançamentos. Sem spam." }),
2324
2323
  s ? /* @__PURE__ */ e("p", { className: "mt-6 text-sm font-medium text-white", children: "Obrigado! Você está na lista. ✓" }) : /* @__PURE__ */ o("form", { onSubmit: (d) => {
@@ -2349,7 +2348,7 @@ function pt({ onSubmit: a }) {
2349
2348
  ] })
2350
2349
  ] }) });
2351
2350
  }
2352
- function vt({ title: a, links: t }) {
2351
+ function bt({ title: a, links: t }) {
2353
2352
  const [r, s] = z(!1);
2354
2353
  return /* @__PURE__ */ o("div", { className: "border-b border-[var(--border)] md:border-none", children: [
2355
2354
  /* @__PURE__ */ o(
@@ -2362,7 +2361,7 @@ function vt({ title: a, links: t }) {
2362
2361
  children: [
2363
2362
  a,
2364
2363
  /* @__PURE__ */ e(
2365
- X,
2364
+ O,
2366
2365
  {
2367
2366
  "aria-hidden": "true",
2368
2367
  className: i("h-4 w-4 text-[var(--muted-foreground)] transition-transform duration-200", r && "rotate-180")
@@ -2392,20 +2391,20 @@ function vt({ title: a, links: t }) {
2392
2391
  )
2393
2392
  ] });
2394
2393
  }
2395
- const bt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r, playStoreUrl: s, appStoreUrl: l, orgInfo: n, className: d, ...m }) => {
2394
+ const ht = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r, playStoreUrl: s, appStoreUrl: l, orgInfo: n, className: d, ...m }) => {
2396
2395
  const [u, f] = z("light");
2397
- M(() => {
2398
- const x = document.documentElement;
2399
- f(x.getAttribute("data-theme") ?? "light");
2400
- const B = new MutationObserver(() => {
2401
- f(x.getAttribute("data-theme") ?? "light");
2396
+ A(() => {
2397
+ const k = document.documentElement;
2398
+ f(k.getAttribute("data-theme") ?? "light");
2399
+ const L = new MutationObserver(() => {
2400
+ f(k.getAttribute("data-theme") ?? "light");
2402
2401
  });
2403
- return B.observe(x, { attributes: !0, attributeFilter: ["data-theme"] }), () => B.disconnect();
2402
+ return L.observe(k, { attributes: !0, attributeFilter: ["data-theme"] }), () => L.disconnect();
2404
2403
  }, []);
2405
- const v = a === "perabook" ? u === "dark" ? "/logos/logo_PeraBook_institucional_tarja_branca.png" : "/logos/PeraBook_instituicional.png" : u === "dark" ? "/logos/logo_elo_editora_texto_branco.png" : "/logos/logo_elo_institucional.png", g = a === "perabook" ? "PeraBook" : "Elo Editora", b = ft.map((x) => ({
2406
- ...x,
2407
- href: (n == null ? void 0 : n[x.key]) ?? x.href
2408
- })).filter((x) => x.href), N = (n == null ? void 0 : n.email) ?? "contato@grupoeloediorial.com.br", h = (n == null ? void 0 : n.phone) ?? "(11) 3000-0000", c = n == null ? void 0 : n.fullAddress, p = u === "dark" && (n != null && n.googlePlayBadgeUrlDark) ? n.googlePlayBadgeUrlDark : (n == null ? void 0 : n.googlePlayBadgeUrl) ?? "/badges/google-play.png", y = u === "dark" && (n != null && n.appStoreBadgeUrlDark) ? n.appStoreBadgeUrlDark : (n == null ? void 0 : n.appStoreBadgeUrl) ?? "/badges/app-store.png";
2404
+ const v = a === "perabook" ? u === "dark" ? "/logos/logo_PeraBook_institucional_tarja_branca.png" : "/logos/PeraBook_instituicional.png" : u === "dark" ? "/logos/logo_elo_editora_texto_branco.png" : "/logos/logo_elo_institucional.png", p = a === "perabook" ? "PeraBook" : "Elo Editora", b = gt.map((k) => ({
2405
+ ...k,
2406
+ href: (n == null ? void 0 : n[k.key]) ?? k.href
2407
+ })).filter((k) => k.href), x = (n == null ? void 0 : n.email) ?? "contato@grupoeloediorial.com.br", h = (n == null ? void 0 : n.phone) ?? "(11) 3000-0000", c = n == null ? void 0 : n.fullAddress, g = u === "dark" && (n == null ? void 0 : n.googlePlayBadgeUrlDark) || (n == null ? void 0 : n.googlePlayBadgeUrl) || "", N = u === "dark" && (n == null ? void 0 : n.appStoreBadgeUrlDark) || (n == null ? void 0 : n.appStoreBadgeUrl) || "", j = !!(g || N);
2409
2408
  return /* @__PURE__ */ o(
2410
2409
  "footer",
2411
2410
  {
@@ -2413,7 +2412,7 @@ const bt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
2413
2412
  "aria-label": "Rodapé do site",
2414
2413
  ...m,
2415
2414
  children: [
2416
- r !== void 0 ? r : /* @__PURE__ */ e(pt, { onSubmit: t }),
2415
+ r !== void 0 ? r : /* @__PURE__ */ e(vt, { onSubmit: t }),
2417
2416
  /* @__PURE__ */ o("div", { className: "mx-auto max-w-screen-xl px-4", children: [
2418
2417
  /* @__PURE__ */ o("div", { className: "py-10 md:grid md:grid-cols-5 md:gap-8", children: [
2419
2418
  /* @__PURE__ */ o("div", { className: "mb-8 md:mb-0", children: [
@@ -2421,78 +2420,80 @@ const bt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
2421
2420
  "img",
2422
2421
  {
2423
2422
  src: v,
2424
- alt: g,
2425
- width: 120,
2426
- height: 40,
2427
- className: "h-10 w-auto object-contain"
2423
+ alt: p,
2424
+ width: a === "perabook" ? 160 : 120,
2425
+ height: a === "perabook" ? 53 : 40,
2426
+ className: a === "perabook" ? "h-14 w-auto object-contain" : "h-10 w-auto object-contain"
2428
2427
  }
2429
2428
  ),
2430
2429
  /* @__PURE__ */ o("div", { className: "mt-6 space-y-1 text-sm", children: [
2431
2430
  /* @__PURE__ */ e("p", { className: "text-[var(--muted-foreground)]", children: "Atendimento:" }),
2432
- /* @__PURE__ */ e("p", { className: "font-medium text-[var(--foreground)]", children: N }),
2431
+ /* @__PURE__ */ e("p", { className: "font-medium text-[var(--foreground)]", children: x }),
2433
2432
  /* @__PURE__ */ e("p", { className: "font-medium text-[var(--foreground)]", children: h }),
2434
2433
  c && /* @__PURE__ */ e("p", { className: "text-[var(--muted-foreground)]", children: c })
2435
2434
  ] })
2436
2435
  ] }),
2437
- gt.map((x) => /* @__PURE__ */ e(vt, { title: x.title, links: x.links }, x.id)),
2436
+ pt.map((k) => /* @__PURE__ */ e(bt, { title: k.title, links: k.links }, k.id)),
2438
2437
  /* @__PURE__ */ o("div", { className: "mb-8 md:mb-0", children: [
2439
- /* @__PURE__ */ e("p", { className: "text-sm font-semibold uppercase tracking-wide text-[var(--foreground)]", children: "Baixe nosso app" }),
2440
- /* @__PURE__ */ o("div", { className: "mt-3 flex flex-col gap-2", children: [
2441
- /* @__PURE__ */ e(
2442
- "a",
2443
- {
2444
- href: s ?? "#",
2445
- target: "_blank",
2446
- rel: "noopener noreferrer",
2447
- "aria-label": "Disponível no Google Play",
2448
- className: "inline-block transition-opacity hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] rounded-lg",
2449
- children: /* @__PURE__ */ e(
2450
- "img",
2451
- {
2452
- src: p,
2453
- alt: "Disponível no Google Play",
2454
- width: 135,
2455
- height: 40,
2456
- className: "h-10 w-[135px] object-contain"
2457
- },
2458
- p
2459
- )
2460
- }
2461
- ),
2462
- /* @__PURE__ */ e(
2463
- "a",
2464
- {
2465
- href: l ?? "#",
2466
- target: "_blank",
2467
- rel: "noopener noreferrer",
2468
- "aria-label": "Disponível na App Store",
2469
- className: "inline-block transition-opacity hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] rounded-lg",
2470
- children: /* @__PURE__ */ e(
2471
- "img",
2472
- {
2473
- src: y,
2474
- alt: "Disponível na App Store",
2475
- width: 135,
2476
- height: 40,
2477
- className: "h-10 w-[135px] object-contain"
2478
- },
2479
- y
2480
- )
2481
- }
2482
- )
2438
+ j && /* @__PURE__ */ o(P, { children: [
2439
+ /* @__PURE__ */ e("p", { className: "text-sm font-semibold uppercase tracking-wide text-[var(--foreground)]", children: "Baixe nosso app" }),
2440
+ /* @__PURE__ */ o("div", { className: "mt-3 flex flex-col gap-2", children: [
2441
+ g && /* @__PURE__ */ e(
2442
+ "a",
2443
+ {
2444
+ href: s ?? "#",
2445
+ target: "_blank",
2446
+ rel: "noopener noreferrer",
2447
+ "aria-label": "Disponível no Google Play",
2448
+ className: "inline-block transition-opacity hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] rounded-lg",
2449
+ children: /* @__PURE__ */ e(
2450
+ "img",
2451
+ {
2452
+ src: g,
2453
+ alt: "Disponível no Google Play",
2454
+ width: 135,
2455
+ height: 40,
2456
+ className: "h-10 w-[135px] object-contain"
2457
+ },
2458
+ g
2459
+ )
2460
+ }
2461
+ ),
2462
+ N && /* @__PURE__ */ e(
2463
+ "a",
2464
+ {
2465
+ href: l ?? "#",
2466
+ target: "_blank",
2467
+ rel: "noopener noreferrer",
2468
+ "aria-label": "Disponível na App Store",
2469
+ className: "inline-block transition-opacity hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] rounded-lg",
2470
+ children: /* @__PURE__ */ e(
2471
+ "img",
2472
+ {
2473
+ src: N,
2474
+ alt: "Disponível na App Store",
2475
+ width: 135,
2476
+ height: 40,
2477
+ className: "h-10 w-[135px] object-contain"
2478
+ },
2479
+ N
2480
+ )
2481
+ }
2482
+ )
2483
+ ] })
2483
2484
  ] }),
2484
2485
  /* @__PURE__ */ e("p", { className: "mt-6 text-sm font-semibold uppercase tracking-wide text-[var(--foreground)]", children: "Compartilhe" }),
2485
- /* @__PURE__ */ e("div", { className: "mt-3 flex flex-wrap gap-2", "aria-label": "Compartilhe nas redes sociais", children: b.map(({ label: x, href: B, Icon: J }) => /* @__PURE__ */ e(
2486
+ /* @__PURE__ */ e("div", { className: "mt-3 flex flex-wrap gap-2", "aria-label": "Compartilhe nas redes sociais", children: b.map(({ label: k, href: L, Icon: ee }) => /* @__PURE__ */ e(
2486
2487
  "a",
2487
2488
  {
2488
- href: B,
2489
+ href: L,
2489
2490
  target: "_blank",
2490
2491
  rel: "noopener noreferrer",
2491
- "aria-label": x,
2492
+ "aria-label": k,
2492
2493
  className: "flex h-9 w-9 items-center justify-center rounded-full border border-[var(--border)] text-[var(--muted-foreground)] transition-colors hover:border-[var(--brand-primary)] hover:bg-[var(--brand-primary)] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
2493
- children: /* @__PURE__ */ e(J, { className: "h-4 w-4", "aria-hidden": "true" })
2494
+ children: /* @__PURE__ */ e(ee, { className: "h-4 w-4", "aria-hidden": "true" })
2494
2495
  },
2495
- x
2496
+ k
2496
2497
  )) })
2497
2498
  ] })
2498
2499
  ] }),
@@ -2513,8 +2514,8 @@ const bt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
2513
2514
  }
2514
2515
  );
2515
2516
  };
2516
- bt.displayName = "Footer";
2517
- function ia({ children: a, className: t }) {
2517
+ ht.displayName = "Footer";
2518
+ function oa({ children: a, className: t }) {
2518
2519
  return /* @__PURE__ */ e(
2519
2520
  "div",
2520
2521
  {
@@ -2527,7 +2528,7 @@ function ia({ children: a, className: t }) {
2527
2528
  }
2528
2529
  );
2529
2530
  }
2530
- const ht = {
2531
+ const xt = {
2531
2532
  1: "col-span-1",
2532
2533
  2: "col-span-2",
2533
2534
  3: "col-span-3",
@@ -2535,77 +2536,77 @@ const ht = {
2535
2536
  5: "col-span-5",
2536
2537
  6: "col-span-6"
2537
2538
  };
2538
- function oa({ children: a, span: t, className: r }) {
2539
- return /* @__PURE__ */ e("div", { "data-slot": "col", className: i("min-w-0", t && ht[t], r), children: a });
2539
+ function na({ children: a, span: t, className: r }) {
2540
+ return /* @__PURE__ */ e("div", { "data-slot": "col", className: i("min-w-0", t && xt[t], r), children: a });
2540
2541
  }
2541
2542
  export {
2542
- Ut as Accordion,
2543
- Ht as AccordionContent,
2544
- qt as AccordionItem,
2545
- Gt as AccordionTrigger,
2543
+ qt as Accordion,
2544
+ Qt as AccordionContent,
2545
+ Gt as AccordionItem,
2546
+ Ht as AccordionTrigger,
2546
2547
  Be as Avatar,
2547
- _ as Badge,
2548
- Rt as Breadcrumb,
2549
- $t as BreadcrumbItem,
2550
- Vt as BreadcrumbLink,
2551
- Tt as BreadcrumbList,
2552
- Ft as BreadcrumbPage,
2553
- It as BreadcrumbSeparator,
2548
+ E as Badge,
2549
+ Tt as Breadcrumb,
2550
+ Vt as BreadcrumbItem,
2551
+ Ft as BreadcrumbLink,
2552
+ $t as BreadcrumbList,
2553
+ It as BreadcrumbPage,
2554
+ Ut as BreadcrumbSeparator,
2554
2555
  S as Button,
2555
2556
  Bt as Checkbox,
2556
- oa as Col,
2557
- at as Container,
2558
- Yt as DialogContent,
2559
- ta as DialogDescription,
2560
- Jt as DialogFooter,
2561
- Zt as DialogHeader,
2562
- ea as DialogTitle,
2563
- Xt as DialogTrigger,
2564
- Ee as Divider,
2565
- Oe as Drawer,
2566
- Y as EmptyState,
2567
- Ge as ErrorState,
2568
- bt as Footer,
2569
- Ie as FormGroup,
2570
- ia as Grid,
2571
- qe as Hero,
2572
- it as HeroCarousel,
2573
- St as Input,
2574
- mt as MegaMenu,
2557
+ na as Col,
2558
+ rt as Container,
2559
+ Zt as DialogContent,
2560
+ aa as DialogDescription,
2561
+ ea as DialogFooter,
2562
+ Jt as DialogHeader,
2563
+ ta as DialogTitle,
2564
+ Ot as DialogTrigger,
2565
+ Re as Divider,
2566
+ Ye as Drawer,
2567
+ Z as EmptyState,
2568
+ He as ErrorState,
2569
+ ht as Footer,
2570
+ Ue as FormGroup,
2571
+ oa as Grid,
2572
+ Ge as Hero,
2573
+ ot as HeroCarousel,
2574
+ jt as Input,
2575
+ ft as MegaMenu,
2575
2576
  Kt as Modal,
2576
- Ve as PriceDisplay,
2577
- V as ProductCard,
2578
- He as ProductGrid,
2579
- ca as ProgressBar,
2580
- Fe as QuantitySelector,
2577
+ Fe as PriceDisplay,
2578
+ F as ProductCard,
2579
+ Qe as ProductGrid,
2580
+ ua as ProgressBar,
2581
+ Ie as QuantitySelector,
2581
2582
  Lt as RadioGroup,
2582
- _t as RadioGroupItem,
2583
- $ as Rating,
2584
- $e as SearchBar,
2583
+ Et as RadioGroupItem,
2584
+ V as Rating,
2585
+ Ve as SearchBar,
2585
2586
  Dt as Select,
2586
- Pt as SelectContent,
2587
- At as SelectItem,
2588
- Mt as SelectTrigger,
2589
- jt as SelectValue,
2590
- Je as SheetContent,
2591
- ra as SheetDescription,
2592
- aa as SheetFooter,
2593
- et as SheetHeader,
2594
- tt as SheetTitle,
2587
+ At as SelectContent,
2588
+ _t as SelectItem,
2589
+ Pt as SelectTrigger,
2590
+ Mt as SelectValue,
2591
+ et as SheetContent,
2592
+ ia as SheetDescription,
2593
+ ra as SheetFooter,
2594
+ tt as SheetHeader,
2595
+ at as SheetTitle,
2595
2596
  Ke as SheetTrigger,
2596
- _e as Spinner,
2597
- Me as Textarea,
2598
- Et as Toggle,
2599
- Qt as Tooltip,
2600
- Ot as TooltipContent,
2601
- Ue as TooltipProvider,
2602
- Wt as TooltipTrigger,
2603
- rt as TopAccessibilityBar,
2604
- Ae as avatarVariants,
2605
- Pe as badgeVariants,
2606
- je as buttonVariants,
2597
+ Ee as Spinner,
2598
+ Pe as Textarea,
2599
+ Rt as Toggle,
2600
+ Wt as Tooltip,
2601
+ Yt as TooltipContent,
2602
+ qe as TooltipProvider,
2603
+ Xt as TooltipTrigger,
2604
+ it as TopAccessibilityBar,
2605
+ _e as avatarVariants,
2606
+ Ae as badgeVariants,
2607
+ Me as buttonVariants,
2607
2608
  i as cn,
2608
2609
  Le as spinnerVariants,
2609
- la as toast
2610
+ da as toast
2610
2611
  };
2611
2612
  //# sourceMappingURL=index.js.map