@grupo-elo-editorial/shared-ui-react 1.4.9 → 1.4.11
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/CHANGELOG.md +18 -0
- package/dist/index.js +554 -555
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { clsx as
|
|
3
|
-
import { twMerge as
|
|
4
|
-
import { jsx as e, jsxs as o, Fragment as
|
|
5
|
-
import { forwardRef as
|
|
6
|
-
import { Loader2 as
|
|
7
|
-
import { cva as
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import { Slot as
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
15
|
-
import { toast as
|
|
16
|
-
import { Progress as
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
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 A } from "react/jsx-runtime";
|
|
5
|
+
import { forwardRef as k, useState as C, useRef as re, useEffect as B } from "react";
|
|
6
|
+
import { Loader2 as q, User as ie, Star as oe, CheckIcon as W, ChevronDownIcon as R, ChevronUpIcon as ne, CircleIcon as se, ShoppingCart as T, Heart as le, Search as X, X as de, Minus as ce, Plus as ue, ChevronRight as Y, FileX as me, Package as fe, AlertCircle as ge, RefreshCw as pe, Home as ve, XIcon as K, Accessibility as be, ZoomOut as he, ZoomIn as xe, Moon as Ne, Sun as ye, ChevronLeft as we, Menu as ke, ChevronDown as O, Instagram as ze, Facebook as Ce, Youtube as Se, Linkedin as je, Mail as De } from "lucide-react";
|
|
7
|
+
import { cva as E } from "class-variance-authority";
|
|
8
|
+
import * as S from "@radix-ui/react-select";
|
|
9
|
+
import * as U from "@radix-ui/react-checkbox";
|
|
10
|
+
import * as $ from "@radix-ui/react-radio-group";
|
|
11
|
+
import * as G from "@radix-ui/react-switch";
|
|
12
|
+
import { Slot as Me } from "@radix-ui/react-slot";
|
|
13
|
+
import * as P from "@radix-ui/react-accordion";
|
|
14
|
+
import * as M from "@radix-ui/react-tooltip";
|
|
15
|
+
import { toast as ua } from "sonner";
|
|
16
|
+
import { Progress as fa } from "@radix-ui/react-progress";
|
|
17
|
+
import * as z from "@radix-ui/react-dialog";
|
|
18
|
+
import * as D from "@radix-ui/react-navigation-menu";
|
|
19
19
|
function i(...a) {
|
|
20
|
-
return
|
|
20
|
+
return ae(te(a));
|
|
21
21
|
}
|
|
22
|
-
const
|
|
22
|
+
const Ae = E(
|
|
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: {
|
|
@@ -45,39 +45,39 @@ const Pe = _(
|
|
|
45
45
|
size: "md"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
),
|
|
48
|
+
), j = k(
|
|
49
49
|
({
|
|
50
50
|
className: a,
|
|
51
51
|
variant: t,
|
|
52
52
|
size: r,
|
|
53
|
-
fullWidth:
|
|
53
|
+
fullWidth: n,
|
|
54
54
|
isLoading: l,
|
|
55
|
-
leftIcon:
|
|
55
|
+
leftIcon: s,
|
|
56
56
|
rightIcon: d,
|
|
57
57
|
children: u,
|
|
58
58
|
disabled: f,
|
|
59
59
|
...g
|
|
60
|
-
},
|
|
60
|
+
}, b) => /* @__PURE__ */ e(
|
|
61
61
|
"button",
|
|
62
62
|
{
|
|
63
|
-
className: i(
|
|
64
|
-
ref:
|
|
63
|
+
className: i(Ae({ variant: t, size: r, fullWidth: n, className: a })),
|
|
64
|
+
ref: b,
|
|
65
65
|
disabled: f || l,
|
|
66
66
|
...g,
|
|
67
|
-
children: l ? /* @__PURE__ */ o(
|
|
68
|
-
/* @__PURE__ */ e(
|
|
67
|
+
children: l ? /* @__PURE__ */ o(A, { children: [
|
|
68
|
+
/* @__PURE__ */ e(q, { className: "h-4 w-4 animate-spin" }),
|
|
69
69
|
u && /* @__PURE__ */ e("span", { children: u })
|
|
70
|
-
] }) : /* @__PURE__ */ o(
|
|
71
|
-
|
|
70
|
+
] }) : /* @__PURE__ */ o(A, { children: [
|
|
71
|
+
s && /* @__PURE__ */ e("span", { className: "inline-flex", children: s }),
|
|
72
72
|
u,
|
|
73
73
|
d && /* @__PURE__ */ e("span", { className: "inline-flex", children: d })
|
|
74
74
|
] })
|
|
75
75
|
}
|
|
76
76
|
)
|
|
77
77
|
);
|
|
78
|
-
|
|
79
|
-
const
|
|
80
|
-
({ className: a, error: t, helperText: r, ...
|
|
78
|
+
j.displayName = "Button";
|
|
79
|
+
const Pe = k(
|
|
80
|
+
({ className: a, error: t, helperText: r, ...n }, l) => /* @__PURE__ */ o("div", { className: "w-full", children: [
|
|
81
81
|
/* @__PURE__ */ e(
|
|
82
82
|
"textarea",
|
|
83
83
|
{
|
|
@@ -91,7 +91,7 @@ const Ee = w(
|
|
|
91
91
|
a
|
|
92
92
|
),
|
|
93
93
|
ref: l,
|
|
94
|
-
...
|
|
94
|
+
...n
|
|
95
95
|
}
|
|
96
96
|
),
|
|
97
97
|
r && /* @__PURE__ */ e(
|
|
@@ -106,8 +106,8 @@ const Ee = w(
|
|
|
106
106
|
)
|
|
107
107
|
] })
|
|
108
108
|
);
|
|
109
|
-
|
|
110
|
-
const
|
|
109
|
+
Pe.displayName = "Textarea";
|
|
110
|
+
const Ee = E(
|
|
111
111
|
"inline-flex items-center rounded-full font-medium transition-colors whitespace-nowrap",
|
|
112
112
|
{
|
|
113
113
|
variants: {
|
|
@@ -131,16 +131,16 @@ const _e = _(
|
|
|
131
131
|
size: "md"
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
),
|
|
135
|
-
({ className: a, variant: t, size: r, icon:
|
|
134
|
+
), L = k(
|
|
135
|
+
({ className: a, variant: t, size: r, icon: n, onRemove: l, children: s, ...d }, u) => /* @__PURE__ */ o(
|
|
136
136
|
"div",
|
|
137
137
|
{
|
|
138
138
|
ref: u,
|
|
139
|
-
className: i(
|
|
139
|
+
className: i(Ee({ variant: t, size: r }), a),
|
|
140
140
|
...d,
|
|
141
141
|
children: [
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
n && /* @__PURE__ */ e("span", { className: "mr-1 inline-flex", children: n }),
|
|
143
|
+
s,
|
|
144
144
|
l && /* @__PURE__ */ e(
|
|
145
145
|
"button",
|
|
146
146
|
{
|
|
@@ -154,8 +154,8 @@ const _e = _(
|
|
|
154
154
|
}
|
|
155
155
|
)
|
|
156
156
|
);
|
|
157
|
-
|
|
158
|
-
const
|
|
157
|
+
L.displayName = "Badge";
|
|
158
|
+
const _e = E(
|
|
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: {
|
|
@@ -170,9 +170,9 @@ const Be = _(
|
|
|
170
170
|
size: "md"
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
),
|
|
174
|
-
({ className: a, size: t, src: r, alt:
|
|
175
|
-
const [g,
|
|
173
|
+
), Be = k(
|
|
174
|
+
({ className: a, size: t, src: r, alt: n, name: l, showStatus: s, statusType: d = "online", ...u }, f) => {
|
|
175
|
+
const [g, b] = C(!1), p = (y) => y.split(" ").map((c) => c[0]).join("").toUpperCase().slice(0, 2), h = {
|
|
176
176
|
online: "bg-[var(--success)]",
|
|
177
177
|
offline: "bg-[var(--muted-foreground)]",
|
|
178
178
|
away: "bg-[var(--warning)]",
|
|
@@ -183,18 +183,18 @@ const Be = _(
|
|
|
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: f, className: i(
|
|
186
|
+
return /* @__PURE__ */ o("div", { ref: f, className: i(_e({ size: t }), "relative", a), children: [
|
|
187
187
|
r && !g ? /* @__PURE__ */ e(
|
|
188
188
|
"img",
|
|
189
189
|
{
|
|
190
190
|
src: r,
|
|
191
|
-
alt:
|
|
192
|
-
onError: () =>
|
|
191
|
+
alt: n || l || "Avatar",
|
|
192
|
+
onError: () => b(!0),
|
|
193
193
|
className: "h-full w-full object-cover",
|
|
194
194
|
...u
|
|
195
195
|
}
|
|
196
|
-
) : l ? /* @__PURE__ */ e("span", { className: "font-medium", children: p(l) }) : /* @__PURE__ */ e(
|
|
197
|
-
|
|
196
|
+
) : l ? /* @__PURE__ */ e("span", { className: "font-medium", children: p(l) }) : /* @__PURE__ */ e(ie, { className: "h-1/2 w-1/2" }),
|
|
197
|
+
s && /* @__PURE__ */ e(
|
|
198
198
|
"span",
|
|
199
199
|
{
|
|
200
200
|
className: i(
|
|
@@ -208,8 +208,8 @@ const Be = _(
|
|
|
208
208
|
] });
|
|
209
209
|
}
|
|
210
210
|
);
|
|
211
|
-
|
|
212
|
-
const
|
|
211
|
+
Be.displayName = "Avatar";
|
|
212
|
+
const Le = E("animate-spin text-[var(--brand-primary)]", {
|
|
213
213
|
variants: {
|
|
214
214
|
size: {
|
|
215
215
|
sm: "h-4 w-4",
|
|
@@ -221,35 +221,35 @@ const Re = _("animate-spin text-[var(--brand-primary)]", {
|
|
|
221
221
|
defaultVariants: {
|
|
222
222
|
size: "md"
|
|
223
223
|
}
|
|
224
|
-
}),
|
|
225
|
-
({ className: a, size: t, label: r, ...
|
|
224
|
+
}), Re = k(
|
|
225
|
+
({ className: a, size: t, label: r, ...n }, l) => /* @__PURE__ */ o(
|
|
226
226
|
"div",
|
|
227
227
|
{
|
|
228
228
|
ref: l,
|
|
229
229
|
role: "status",
|
|
230
230
|
"aria-label": r || "Loading",
|
|
231
231
|
className: i("inline-flex items-center justify-center", a),
|
|
232
|
-
...
|
|
232
|
+
...n,
|
|
233
233
|
children: [
|
|
234
|
-
/* @__PURE__ */ e(
|
|
234
|
+
/* @__PURE__ */ e(q, { 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
|
-
|
|
241
|
-
const
|
|
242
|
-
({ className: a, orientation: t = "horizontal", variant: r = "solid", text:
|
|
240
|
+
Re.displayName = "Spinner";
|
|
241
|
+
const Te = k(
|
|
242
|
+
({ className: a, orientation: t = "horizontal", variant: r = "solid", text: n, ...l }, s) => {
|
|
243
243
|
const d = {
|
|
244
244
|
solid: "border-solid",
|
|
245
245
|
dashed: "border-dashed",
|
|
246
246
|
dotted: "border-dotted"
|
|
247
247
|
};
|
|
248
|
-
return
|
|
248
|
+
return n && t === "horizontal" ? /* @__PURE__ */ o("div", { className: i("flex items-center gap-4 my-4", a), role: "separator", children: [
|
|
249
249
|
/* @__PURE__ */ e(
|
|
250
250
|
"hr",
|
|
251
251
|
{
|
|
252
|
-
ref:
|
|
252
|
+
ref: s,
|
|
253
253
|
className: i(
|
|
254
254
|
"flex-1 border-[var(--border)]",
|
|
255
255
|
d[r]
|
|
@@ -257,7 +257,7 @@ const $e = w(
|
|
|
257
257
|
...l
|
|
258
258
|
}
|
|
259
259
|
),
|
|
260
|
-
/* @__PURE__ */ e("span", { className: "text-sm text-[var(--muted-foreground)]", children:
|
|
260
|
+
/* @__PURE__ */ e("span", { className: "text-sm text-[var(--muted-foreground)]", children: n }),
|
|
261
261
|
/* @__PURE__ */ e(
|
|
262
262
|
"hr",
|
|
263
263
|
{
|
|
@@ -270,7 +270,7 @@ const $e = w(
|
|
|
270
270
|
] }) : /* @__PURE__ */ e(
|
|
271
271
|
"hr",
|
|
272
272
|
{
|
|
273
|
-
ref:
|
|
273
|
+
ref: s,
|
|
274
274
|
role: "separator",
|
|
275
275
|
"aria-orientation": t,
|
|
276
276
|
className: i(
|
|
@@ -284,24 +284,24 @@ const $e = w(
|
|
|
284
284
|
);
|
|
285
285
|
}
|
|
286
286
|
);
|
|
287
|
-
|
|
288
|
-
const
|
|
287
|
+
Te.displayName = "Divider";
|
|
288
|
+
const I = k(
|
|
289
289
|
({
|
|
290
290
|
className: a,
|
|
291
291
|
value: t = 0,
|
|
292
292
|
maxRating: r = 5,
|
|
293
|
-
size:
|
|
293
|
+
size: n = "md",
|
|
294
294
|
readonly: l = !1,
|
|
295
|
-
onChange:
|
|
295
|
+
onChange: s,
|
|
296
296
|
showValue: d = !1,
|
|
297
297
|
...u
|
|
298
298
|
}, f) => {
|
|
299
|
-
const [g,
|
|
299
|
+
const [g, b] = C(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
|
}, h = (y) => {
|
|
304
|
-
!l &&
|
|
304
|
+
!l && s && s(y);
|
|
305
305
|
}, N = g || t;
|
|
306
306
|
return /* @__PURE__ */ o(
|
|
307
307
|
"div",
|
|
@@ -320,18 +320,18 @@ const F = w(
|
|
|
320
320
|
type: "button",
|
|
321
321
|
disabled: l,
|
|
322
322
|
onClick: () => h(y),
|
|
323
|
-
onMouseEnter: () => !l &&
|
|
324
|
-
onMouseLeave: () => !l &&
|
|
323
|
+
onMouseEnter: () => !l && b(y),
|
|
324
|
+
onMouseLeave: () => !l && b(0),
|
|
325
325
|
className: i(
|
|
326
326
|
"transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] focus-visible:ring-offset-1 rounded",
|
|
327
327
|
l ? "cursor-default" : "cursor-pointer hover:scale-110"
|
|
328
328
|
),
|
|
329
329
|
"aria-label": `Rate ${y} out of ${r}`,
|
|
330
330
|
children: /* @__PURE__ */ e(
|
|
331
|
-
|
|
331
|
+
oe,
|
|
332
332
|
{
|
|
333
333
|
className: i(
|
|
334
|
-
p[
|
|
334
|
+
p[n],
|
|
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 F = w(
|
|
|
347
347
|
);
|
|
348
348
|
}
|
|
349
349
|
);
|
|
350
|
-
|
|
351
|
-
function
|
|
350
|
+
I.displayName = "Rating";
|
|
351
|
+
function Mt({ className: a, type: t, ...r }) {
|
|
352
352
|
return /* @__PURE__ */ e(
|
|
353
353
|
"input",
|
|
354
354
|
{
|
|
@@ -364,24 +364,24 @@ function At({ className: a, type: t, ...r }) {
|
|
|
364
364
|
}
|
|
365
365
|
);
|
|
366
366
|
}
|
|
367
|
-
function
|
|
367
|
+
function At({
|
|
368
368
|
...a
|
|
369
369
|
}) {
|
|
370
|
-
return /* @__PURE__ */ e(
|
|
370
|
+
return /* @__PURE__ */ e(S.Root, { "data-slot": "select", ...a });
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function Pt({
|
|
373
373
|
...a
|
|
374
374
|
}) {
|
|
375
|
-
return /* @__PURE__ */ e(
|
|
375
|
+
return /* @__PURE__ */ e(S.Value, { "data-slot": "select-value", ...a });
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function Et({
|
|
378
378
|
className: a,
|
|
379
379
|
size: t = "default",
|
|
380
380
|
children: r,
|
|
381
|
-
...
|
|
381
|
+
...n
|
|
382
382
|
}) {
|
|
383
383
|
return /* @__PURE__ */ o(
|
|
384
|
-
|
|
384
|
+
S.Trigger,
|
|
385
385
|
{
|
|
386
386
|
"data-slot": "select-trigger",
|
|
387
387
|
"data-size": t,
|
|
@@ -389,22 +389,22 @@ function _t({
|
|
|
389
389
|
"border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-full items-center justify-between gap-2 rounded-md border bg-input-background px-3 py-2 text-sm whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
390
390
|
a
|
|
391
391
|
),
|
|
392
|
-
...
|
|
392
|
+
...n,
|
|
393
393
|
children: [
|
|
394
394
|
r,
|
|
395
|
-
/* @__PURE__ */ e(
|
|
395
|
+
/* @__PURE__ */ e(S.Icon, { asChild: !0, children: /* @__PURE__ */ e(R, { className: "size-4 opacity-50" }) })
|
|
396
396
|
]
|
|
397
397
|
}
|
|
398
398
|
);
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function _t({
|
|
401
401
|
className: a,
|
|
402
402
|
children: t,
|
|
403
403
|
position: r = "popper",
|
|
404
|
-
...
|
|
404
|
+
...n
|
|
405
405
|
}) {
|
|
406
|
-
return /* @__PURE__ */ e(
|
|
407
|
-
|
|
406
|
+
return /* @__PURE__ */ e(S.Portal, { children: /* @__PURE__ */ o(
|
|
407
|
+
S.Content,
|
|
408
408
|
{
|
|
409
409
|
"data-slot": "select-content",
|
|
410
410
|
className: i(
|
|
@@ -413,11 +413,11 @@ function Bt({
|
|
|
413
413
|
a
|
|
414
414
|
),
|
|
415
415
|
position: r,
|
|
416
|
-
...
|
|
416
|
+
...n,
|
|
417
417
|
children: [
|
|
418
|
-
/* @__PURE__ */ e(
|
|
418
|
+
/* @__PURE__ */ e($e, {}),
|
|
419
419
|
/* @__PURE__ */ e(
|
|
420
|
-
|
|
420
|
+
S.Viewport,
|
|
421
421
|
{
|
|
422
422
|
className: i(
|
|
423
423
|
"p-1",
|
|
@@ -426,18 +426,18 @@ function Bt({
|
|
|
426
426
|
children: t
|
|
427
427
|
}
|
|
428
428
|
),
|
|
429
|
-
/* @__PURE__ */ e(
|
|
429
|
+
/* @__PURE__ */ e(Ie, {})
|
|
430
430
|
]
|
|
431
431
|
}
|
|
432
432
|
) });
|
|
433
433
|
}
|
|
434
|
-
function
|
|
434
|
+
function Bt({
|
|
435
435
|
className: a,
|
|
436
436
|
children: t,
|
|
437
437
|
...r
|
|
438
438
|
}) {
|
|
439
439
|
return /* @__PURE__ */ o(
|
|
440
|
-
|
|
440
|
+
S.Item,
|
|
441
441
|
{
|
|
442
442
|
"data-slot": "select-item",
|
|
443
443
|
className: i(
|
|
@@ -446,18 +446,18 @@ function Lt({
|
|
|
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(
|
|
450
|
-
/* @__PURE__ */ e(
|
|
449
|
+
/* @__PURE__ */ e("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(S.ItemIndicator, { children: /* @__PURE__ */ e(W, { className: "size-4" }) }) }),
|
|
450
|
+
/* @__PURE__ */ e(S.ItemText, { children: t })
|
|
451
451
|
]
|
|
452
452
|
}
|
|
453
453
|
);
|
|
454
454
|
}
|
|
455
|
-
function
|
|
455
|
+
function $e({
|
|
456
456
|
className: a,
|
|
457
457
|
...t
|
|
458
458
|
}) {
|
|
459
459
|
return /* @__PURE__ */ e(
|
|
460
|
-
|
|
460
|
+
S.ScrollUpButton,
|
|
461
461
|
{
|
|
462
462
|
"data-slot": "select-scroll-up-button",
|
|
463
463
|
className: i(
|
|
@@ -465,16 +465,16 @@ function Ve({
|
|
|
465
465
|
a
|
|
466
466
|
),
|
|
467
467
|
...t,
|
|
468
|
-
children: /* @__PURE__ */ e(
|
|
468
|
+
children: /* @__PURE__ */ e(ne, { className: "size-4" })
|
|
469
469
|
}
|
|
470
470
|
);
|
|
471
471
|
}
|
|
472
|
-
function
|
|
472
|
+
function Ie({
|
|
473
473
|
className: a,
|
|
474
474
|
...t
|
|
475
475
|
}) {
|
|
476
476
|
return /* @__PURE__ */ e(
|
|
477
|
-
|
|
477
|
+
S.ScrollDownButton,
|
|
478
478
|
{
|
|
479
479
|
"data-slot": "select-scroll-down-button",
|
|
480
480
|
className: i(
|
|
@@ -482,16 +482,16 @@ function Fe({
|
|
|
482
482
|
a
|
|
483
483
|
),
|
|
484
484
|
...t,
|
|
485
|
-
children: /* @__PURE__ */ e(
|
|
485
|
+
children: /* @__PURE__ */ e(R, { className: "size-4" })
|
|
486
486
|
}
|
|
487
487
|
);
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function Lt({
|
|
490
490
|
className: a,
|
|
491
491
|
...t
|
|
492
492
|
}) {
|
|
493
493
|
return /* @__PURE__ */ e(
|
|
494
|
-
|
|
494
|
+
U.Root,
|
|
495
495
|
{
|
|
496
496
|
"data-slot": "checkbox",
|
|
497
497
|
className: i(
|
|
@@ -500,22 +500,22 @@ function Rt({
|
|
|
500
500
|
),
|
|
501
501
|
...t,
|
|
502
502
|
children: /* @__PURE__ */ e(
|
|
503
|
-
|
|
503
|
+
U.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(
|
|
507
|
+
children: /* @__PURE__ */ e(W, { className: "size-3.5" })
|
|
508
508
|
}
|
|
509
509
|
)
|
|
510
510
|
}
|
|
511
511
|
);
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function Rt({
|
|
514
514
|
className: a,
|
|
515
515
|
...t
|
|
516
516
|
}) {
|
|
517
517
|
return /* @__PURE__ */ e(
|
|
518
|
-
|
|
518
|
+
$.Root,
|
|
519
519
|
{
|
|
520
520
|
"data-slot": "radio-group",
|
|
521
521
|
className: i("grid gap-3", a),
|
|
@@ -523,12 +523,12 @@ function Tt({
|
|
|
523
523
|
}
|
|
524
524
|
);
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function Tt({
|
|
527
527
|
className: a,
|
|
528
528
|
...t
|
|
529
529
|
}) {
|
|
530
530
|
return /* @__PURE__ */ e(
|
|
531
|
-
|
|
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
|
-
|
|
540
|
+
$.Indicator,
|
|
541
541
|
{
|
|
542
542
|
"data-slot": "radio-group-indicator",
|
|
543
543
|
className: "relative flex items-center justify-center",
|
|
544
|
-
children: /* @__PURE__ */ e(
|
|
544
|
+
children: /* @__PURE__ */ e(se, { 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
|
|
550
|
+
function $t({
|
|
551
551
|
className: a,
|
|
552
552
|
...t
|
|
553
553
|
}) {
|
|
554
554
|
return /* @__PURE__ */ e(
|
|
555
|
-
|
|
555
|
+
G.Root,
|
|
556
556
|
{
|
|
557
557
|
"data-slot": "switch",
|
|
558
558
|
className: i(
|
|
@@ -561,7 +561,7 @@ function Vt({
|
|
|
561
561
|
),
|
|
562
562
|
...t,
|
|
563
563
|
children: /* @__PURE__ */ e(
|
|
564
|
-
|
|
564
|
+
G.Thumb,
|
|
565
565
|
{
|
|
566
566
|
"data-slot": "switch-thumb",
|
|
567
567
|
className: i(
|
|
@@ -572,78 +572,78 @@ function Vt({
|
|
|
572
572
|
}
|
|
573
573
|
);
|
|
574
574
|
}
|
|
575
|
-
const
|
|
575
|
+
const Ve = ({ src: a, alt: t, className: r }) => (
|
|
576
576
|
// eslint-disable-next-line @next/next/no-img-element
|
|
577
577
|
/* @__PURE__ */ e("img", { src: a, alt: t, className: r, loading: "lazy", decoding: "async" })
|
|
578
578
|
);
|
|
579
|
-
function
|
|
579
|
+
function H({
|
|
580
580
|
href: a,
|
|
581
581
|
className: t,
|
|
582
582
|
children: r
|
|
583
583
|
}) {
|
|
584
584
|
return a ? /* @__PURE__ */ e("a", { href: a, className: t, tabIndex: -1, "aria-hidden": "true", children: r }) : /* @__PURE__ */ e("div", { className: t, children: r });
|
|
585
585
|
}
|
|
586
|
-
const
|
|
586
|
+
const V = k(
|
|
587
587
|
({
|
|
588
588
|
className: a,
|
|
589
589
|
image: t,
|
|
590
590
|
title: r,
|
|
591
|
-
author:
|
|
591
|
+
author: n,
|
|
592
592
|
price: l,
|
|
593
|
-
originalPrice:
|
|
593
|
+
originalPrice: s,
|
|
594
594
|
rating: d,
|
|
595
595
|
reviewCount: u,
|
|
596
596
|
badge: f,
|
|
597
597
|
badgeVariant: g = "default",
|
|
598
|
-
isSkeleton:
|
|
598
|
+
isSkeleton: b = !1,
|
|
599
599
|
isOutOfStock: p = !1,
|
|
600
600
|
onAddToCart: h,
|
|
601
601
|
onToggleFavorite: N,
|
|
602
602
|
isFavorite: y = !1,
|
|
603
603
|
href: c,
|
|
604
|
-
orientation:
|
|
605
|
-
renderImage: m =
|
|
606
|
-
...
|
|
607
|
-
},
|
|
604
|
+
orientation: v = "vertical",
|
|
605
|
+
renderImage: m = Ve,
|
|
606
|
+
...w
|
|
607
|
+
}, x) => b ? /* @__PURE__ */ o(
|
|
608
608
|
"div",
|
|
609
609
|
{
|
|
610
|
-
ref:
|
|
610
|
+
ref: x,
|
|
611
611
|
className: i(
|
|
612
612
|
"flex rounded-lg border-2 border-[var(--border)] bg-[var(--card)] p-4 animate-pulse",
|
|
613
|
-
|
|
613
|
+
v === "horizontal" ? "flex-row gap-3" : "flex-col",
|
|
614
614
|
a
|
|
615
615
|
),
|
|
616
|
-
...
|
|
616
|
+
...w,
|
|
617
617
|
children: [
|
|
618
618
|
/* @__PURE__ */ e(
|
|
619
619
|
"div",
|
|
620
620
|
{
|
|
621
621
|
className: i(
|
|
622
622
|
"rounded-lg bg-[var(--muted)]",
|
|
623
|
-
|
|
623
|
+
v === "horizontal" ? "h-24 w-20 shrink-0" : "w-full aspect-square"
|
|
624
624
|
)
|
|
625
625
|
}
|
|
626
626
|
),
|
|
627
|
-
/* @__PURE__ */ o("div", { className: i("flex flex-col gap-2",
|
|
627
|
+
/* @__PURE__ */ o("div", { className: i("flex flex-col gap-2", v === "horizontal" ? "flex-1" : "mt-3"), children: [
|
|
628
628
|
/* @__PURE__ */ e("div", { className: "h-4 w-3/4 rounded bg-[var(--muted)]" }),
|
|
629
629
|
/* @__PURE__ */ e("div", { className: "h-4 w-1/2 rounded bg-[var(--muted)]" }),
|
|
630
630
|
/* @__PURE__ */ e("div", { className: "h-10 w-full rounded bg-[var(--muted)]" })
|
|
631
631
|
] })
|
|
632
632
|
]
|
|
633
633
|
}
|
|
634
|
-
) :
|
|
634
|
+
) : v === "horizontal" ? /* @__PURE__ */ o(
|
|
635
635
|
"div",
|
|
636
636
|
{
|
|
637
|
-
ref:
|
|
637
|
+
ref: x,
|
|
638
638
|
className: i(
|
|
639
639
|
"group relative flex flex-row gap-3 rounded-lg border-2 border-[var(--border)] bg-[var(--card)] p-3 transition-all hover:shadow-md",
|
|
640
640
|
p && "opacity-60",
|
|
641
641
|
a
|
|
642
642
|
),
|
|
643
|
-
...
|
|
643
|
+
...w,
|
|
644
644
|
children: [
|
|
645
645
|
/* @__PURE__ */ e(
|
|
646
|
-
|
|
646
|
+
H,
|
|
647
647
|
{
|
|
648
648
|
href: c,
|
|
649
649
|
className: "relative block h-24 w-20 shrink-0 overflow-hidden rounded-lg",
|
|
@@ -663,9 +663,9 @@ const I = w(
|
|
|
663
663
|
children: r
|
|
664
664
|
}
|
|
665
665
|
) : /* @__PURE__ */ e("h3", { className: "line-clamp-2 text-sm font-medium text-[var(--card-foreground)]", children: r }),
|
|
666
|
-
|
|
666
|
+
n && /* @__PURE__ */ e("p", { className: "text-xs text-[var(--muted-foreground)]", children: n }),
|
|
667
667
|
d !== void 0 && /* @__PURE__ */ o("div", { className: "flex items-center gap-1", children: [
|
|
668
|
-
/* @__PURE__ */ e(
|
|
668
|
+
/* @__PURE__ */ e(I, { value: d, size: "sm", readonly: !0 }),
|
|
669
669
|
u !== void 0 && /* @__PURE__ */ o("span", { className: "text-xs text-[var(--muted-foreground)]", children: [
|
|
670
670
|
"(",
|
|
671
671
|
u,
|
|
@@ -677,20 +677,20 @@ const I = w(
|
|
|
677
677
|
"R$ ",
|
|
678
678
|
l.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
|
|
679
679
|
] }),
|
|
680
|
-
|
|
680
|
+
s && s > l && /* @__PURE__ */ o("span", { className: "text-xs text-[var(--muted-foreground)] line-through", children: [
|
|
681
681
|
"R$ ",
|
|
682
|
-
|
|
682
|
+
s.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
|
|
683
683
|
] })
|
|
684
684
|
] }),
|
|
685
685
|
h && /* @__PURE__ */ e(
|
|
686
|
-
|
|
686
|
+
j,
|
|
687
687
|
{
|
|
688
688
|
onClick: h,
|
|
689
689
|
disabled: p,
|
|
690
690
|
variant: "primary",
|
|
691
691
|
size: "sm",
|
|
692
692
|
fullWidth: !0,
|
|
693
|
-
leftIcon: /* @__PURE__ */ e(
|
|
693
|
+
leftIcon: /* @__PURE__ */ e(T, { className: "h-3.5 w-3.5" }),
|
|
694
694
|
className: "mt-auto",
|
|
695
695
|
children: p ? "Indisponível" : "Adicionar"
|
|
696
696
|
}
|
|
@@ -701,16 +701,16 @@ const I = w(
|
|
|
701
701
|
) : /* @__PURE__ */ o(
|
|
702
702
|
"div",
|
|
703
703
|
{
|
|
704
|
-
ref:
|
|
704
|
+
ref: x,
|
|
705
705
|
className: i(
|
|
706
706
|
"group relative flex flex-col rounded-lg border-2 border-border bg-card transition-all hover:shadow-lg",
|
|
707
707
|
p && "opacity-60",
|
|
708
708
|
a
|
|
709
709
|
),
|
|
710
|
-
...
|
|
710
|
+
...w,
|
|
711
711
|
children: [
|
|
712
712
|
/* @__PURE__ */ o(
|
|
713
|
-
|
|
713
|
+
H,
|
|
714
714
|
{
|
|
715
715
|
href: c,
|
|
716
716
|
className: "relative block w-full aspect-square overflow-hidden rounded-t-lg",
|
|
@@ -720,8 +720,8 @@ const I = w(
|
|
|
720
720
|
alt: r,
|
|
721
721
|
className: "h-full w-full object-contain transition-transform group-hover:scale-105"
|
|
722
722
|
}),
|
|
723
|
-
f && /* @__PURE__ */ e("div", { className: "absolute left-3 top-3", children: /* @__PURE__ */ e(
|
|
724
|
-
p && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/60", children: /* @__PURE__ */ e(
|
|
723
|
+
f && /* @__PURE__ */ e("div", { className: "absolute left-3 top-3", children: /* @__PURE__ */ e(L, { variant: g, children: f }) }),
|
|
724
|
+
p && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/60", children: /* @__PURE__ */ e(L, { variant: "danger", size: "lg", children: "Esgotado" }) })
|
|
725
725
|
]
|
|
726
726
|
}
|
|
727
727
|
),
|
|
@@ -732,7 +732,7 @@ const I = w(
|
|
|
732
732
|
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)]",
|
|
733
733
|
"aria-label": y ? "Remover dos favoritos" : "Adicionar aos favoritos",
|
|
734
734
|
children: /* @__PURE__ */ e(
|
|
735
|
-
|
|
735
|
+
le,
|
|
736
736
|
{
|
|
737
737
|
className: i(
|
|
738
738
|
"h-5 w-5",
|
|
@@ -747,13 +747,13 @@ const I = w(
|
|
|
747
747
|
"a",
|
|
748
748
|
{
|
|
749
749
|
href: c,
|
|
750
|
-
className: "wrap-break-word text-base font-medium text-card-foreground hover:text-brand-primary transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded",
|
|
750
|
+
className: "wrap-break-word line-clamp-2 min-h-12 text-base font-medium text-card-foreground hover:text-brand-primary transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded",
|
|
751
751
|
children: r
|
|
752
752
|
}
|
|
753
|
-
) : /* @__PURE__ */ e("h3", { className: "wrap-break-word text-base font-medium text-card-foreground", children: r }),
|
|
754
|
-
|
|
753
|
+
) : /* @__PURE__ */ e("h3", { className: "wrap-break-word line-clamp-2 min-h-12 text-base font-medium text-card-foreground", children: r }),
|
|
754
|
+
n && /* @__PURE__ */ e("p", { className: "mt-1 text-sm text-[var(--muted-foreground)]", children: n }),
|
|
755
755
|
d !== void 0 && /* @__PURE__ */ o("div", { className: "mt-2 flex items-center gap-2", children: [
|
|
756
|
-
/* @__PURE__ */ e(
|
|
756
|
+
/* @__PURE__ */ e(I, { value: d, size: "sm", readonly: !0 }),
|
|
757
757
|
u !== void 0 && /* @__PURE__ */ o("span", { className: "text-sm text-[var(--muted-foreground)]", children: [
|
|
758
758
|
"(",
|
|
759
759
|
u,
|
|
@@ -765,20 +765,20 @@ const I = w(
|
|
|
765
765
|
"R$ ",
|
|
766
766
|
l.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
|
|
767
767
|
] }),
|
|
768
|
-
|
|
768
|
+
s && s > l && /* @__PURE__ */ o("span", { className: "text-sm text-[var(--muted-foreground)] line-through", children: [
|
|
769
769
|
"R$ ",
|
|
770
|
-
|
|
770
|
+
s.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
|
|
771
771
|
] })
|
|
772
772
|
] }),
|
|
773
773
|
h && /* @__PURE__ */ e(
|
|
774
|
-
|
|
774
|
+
j,
|
|
775
775
|
{
|
|
776
776
|
onClick: h,
|
|
777
777
|
disabled: p,
|
|
778
778
|
variant: "primary",
|
|
779
779
|
size: "md",
|
|
780
780
|
fullWidth: !0,
|
|
781
|
-
leftIcon: /* @__PURE__ */ e(
|
|
781
|
+
leftIcon: /* @__PURE__ */ e(T, { className: "h-4 w-4" }),
|
|
782
782
|
className: i(
|
|
783
783
|
"mt-4 transition-all duration-200",
|
|
784
784
|
"opacity-0 translate-y-2",
|
|
@@ -793,33 +793,33 @@ const I = w(
|
|
|
793
793
|
}
|
|
794
794
|
)
|
|
795
795
|
);
|
|
796
|
-
|
|
797
|
-
const
|
|
796
|
+
V.displayName = "ProductCard";
|
|
797
|
+
const Fe = k(
|
|
798
798
|
({
|
|
799
799
|
className: a,
|
|
800
800
|
onSearch: t,
|
|
801
801
|
onClear: r,
|
|
802
|
-
isLoading:
|
|
802
|
+
isLoading: n = !1,
|
|
803
803
|
size: l = "md",
|
|
804
|
-
placeholder:
|
|
804
|
+
placeholder: s = "Buscar...",
|
|
805
805
|
value: d,
|
|
806
806
|
onChange: u,
|
|
807
807
|
...f
|
|
808
808
|
}, g) => {
|
|
809
|
-
const [
|
|
809
|
+
const [b, p] = C(""), h = d !== void 0 ? d : b, N = {
|
|
810
810
|
sm: "h-9 text-sm",
|
|
811
811
|
md: "h-11 text-base",
|
|
812
812
|
lg: "h-14 text-lg"
|
|
813
813
|
}, y = (m) => {
|
|
814
|
-
const
|
|
815
|
-
d === void 0 && p(
|
|
814
|
+
const w = m.target.value;
|
|
815
|
+
d === void 0 && p(w), u == null || u(m);
|
|
816
816
|
}, c = () => {
|
|
817
817
|
d === void 0 && p(""), r == null || r();
|
|
818
|
-
},
|
|
818
|
+
}, v = (m) => {
|
|
819
819
|
m.key === "Enter" && t && t(h);
|
|
820
820
|
};
|
|
821
821
|
return /* @__PURE__ */ e("div", { className: i("relative w-full", a), children: /* @__PURE__ */ o("div", { className: "relative flex items-center", children: [
|
|
822
|
-
/* @__PURE__ */ e(
|
|
822
|
+
/* @__PURE__ */ e(X, { className: "absolute left-3 h-5 w-5 text-[var(--muted-foreground)] pointer-events-none" }),
|
|
823
823
|
/* @__PURE__ */ e(
|
|
824
824
|
"input",
|
|
825
825
|
{
|
|
@@ -827,8 +827,8 @@ const qe = w(
|
|
|
827
827
|
type: "search",
|
|
828
828
|
value: h,
|
|
829
829
|
onChange: y,
|
|
830
|
-
onKeyDown:
|
|
831
|
-
placeholder:
|
|
830
|
+
onKeyDown: v,
|
|
831
|
+
placeholder: s,
|
|
832
832
|
className: i(
|
|
833
833
|
"w-full rounded-lg border-2 border-[var(--border)] bg-[var(--input-background)] pl-10 pr-10 font-normal transition-colors",
|
|
834
834
|
"placeholder:text-[var(--muted-foreground)]",
|
|
@@ -840,34 +840,34 @@ const qe = w(
|
|
|
840
840
|
}
|
|
841
841
|
),
|
|
842
842
|
/* @__PURE__ */ o("div", { className: "absolute right-3 flex items-center gap-1", children: [
|
|
843
|
-
|
|
844
|
-
h && !
|
|
843
|
+
n && /* @__PURE__ */ e(q, { className: "h-5 w-5 animate-spin text-[var(--muted-foreground)]" }),
|
|
844
|
+
h && !n && /* @__PURE__ */ e(
|
|
845
845
|
"button",
|
|
846
846
|
{
|
|
847
847
|
type: "button",
|
|
848
848
|
onClick: c,
|
|
849
849
|
className: "rounded-full p-1 hover:bg-[var(--muted)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
|
|
850
850
|
"aria-label": "Clear search",
|
|
851
|
-
children: /* @__PURE__ */ e(
|
|
851
|
+
children: /* @__PURE__ */ e(de, { className: "h-4 w-4 text-[var(--muted-foreground)]" })
|
|
852
852
|
}
|
|
853
853
|
)
|
|
854
854
|
] })
|
|
855
855
|
] }) });
|
|
856
856
|
}
|
|
857
857
|
);
|
|
858
|
-
|
|
859
|
-
const
|
|
858
|
+
Fe.displayName = "SearchBar";
|
|
859
|
+
const qe = k(
|
|
860
860
|
({
|
|
861
861
|
className: a,
|
|
862
862
|
price: t,
|
|
863
863
|
originalPrice: r,
|
|
864
|
-
currency:
|
|
864
|
+
currency: n = "R$",
|
|
865
865
|
size: l = "md",
|
|
866
|
-
showDiscount:
|
|
866
|
+
showDiscount: s = !0,
|
|
867
867
|
installments: d,
|
|
868
868
|
...u
|
|
869
869
|
}, f) => {
|
|
870
|
-
const g = r && r > t ? Math.round((r - t) / r * 100) : 0,
|
|
870
|
+
const g = r && r > t ? Math.round((r - t) / r * 100) : 0, b = {
|
|
871
871
|
sm: "text-base",
|
|
872
872
|
md: "text-xl",
|
|
873
873
|
lg: "text-2xl",
|
|
@@ -881,8 +881,8 @@ const Ue = w(
|
|
|
881
881
|
return /* @__PURE__ */ o("div", { ref: f, className: i("flex flex-col gap-1", a), ...u, children: [
|
|
882
882
|
/* @__PURE__ */ o("div", { className: "flex items-center gap-2 flex-wrap", children: [
|
|
883
883
|
/* @__PURE__ */ o("div", { className: "flex items-baseline gap-2", children: [
|
|
884
|
-
/* @__PURE__ */ o("span", { className: i("font-bold text-[var(--foreground)]",
|
|
885
|
-
|
|
884
|
+
/* @__PURE__ */ o("span", { className: i("font-bold text-[var(--foreground)]", b[l]), children: [
|
|
885
|
+
n,
|
|
886
886
|
" ",
|
|
887
887
|
t.toFixed(2)
|
|
888
888
|
] }),
|
|
@@ -894,14 +894,14 @@ const Ue = w(
|
|
|
894
894
|
p[l]
|
|
895
895
|
),
|
|
896
896
|
children: [
|
|
897
|
-
|
|
897
|
+
n,
|
|
898
898
|
" ",
|
|
899
899
|
r.toFixed(2)
|
|
900
900
|
]
|
|
901
901
|
}
|
|
902
902
|
)
|
|
903
903
|
] }),
|
|
904
|
-
|
|
904
|
+
s && g > 0 && /* @__PURE__ */ o(L, { variant: "success", size: "sm", children: [
|
|
905
905
|
"-",
|
|
906
906
|
g,
|
|
907
907
|
"%"
|
|
@@ -911,7 +911,7 @@ const Ue = w(
|
|
|
911
911
|
"ou ",
|
|
912
912
|
d.count,
|
|
913
913
|
"x de ",
|
|
914
|
-
|
|
914
|
+
n,
|
|
915
915
|
" ",
|
|
916
916
|
d.value.toFixed(2),
|
|
917
917
|
" sem juros"
|
|
@@ -919,26 +919,26 @@ const Ue = w(
|
|
|
919
919
|
] });
|
|
920
920
|
}
|
|
921
921
|
);
|
|
922
|
-
|
|
923
|
-
const
|
|
922
|
+
qe.displayName = "PriceDisplay";
|
|
923
|
+
const Ue = k(
|
|
924
924
|
({
|
|
925
925
|
className: a,
|
|
926
926
|
value: t,
|
|
927
927
|
min: r = 1,
|
|
928
|
-
max:
|
|
928
|
+
max: n = 99,
|
|
929
929
|
onChange: l,
|
|
930
|
-
size:
|
|
930
|
+
size: s = "md",
|
|
931
931
|
disabled: d = !1,
|
|
932
932
|
showLabel: u = !1,
|
|
933
933
|
...f
|
|
934
934
|
}, g) => {
|
|
935
|
-
const
|
|
936
|
-
t <
|
|
935
|
+
const b = () => {
|
|
936
|
+
t < n && l(t + 1);
|
|
937
937
|
}, p = () => {
|
|
938
938
|
t > r && l(t - 1);
|
|
939
939
|
}, h = (c) => {
|
|
940
|
-
const
|
|
941
|
-
!isNaN(
|
|
940
|
+
const v = parseInt(c.target.value);
|
|
941
|
+
!isNaN(v) && v >= r && v <= n && l(v);
|
|
942
942
|
}, N = {
|
|
943
943
|
sm: "h-8 w-8",
|
|
944
944
|
md: "h-10 w-10",
|
|
@@ -952,16 +952,16 @@ const Ge = w(
|
|
|
952
952
|
u && /* @__PURE__ */ e("label", { className: "text-sm font-medium text-[var(--foreground)]", children: "Quantidade" }),
|
|
953
953
|
/* @__PURE__ */ o("div", { className: "inline-flex items-center gap-2", children: [
|
|
954
954
|
/* @__PURE__ */ e(
|
|
955
|
-
|
|
955
|
+
j,
|
|
956
956
|
{
|
|
957
957
|
type: "button",
|
|
958
958
|
variant: "secondary",
|
|
959
959
|
size: "sm",
|
|
960
960
|
onClick: p,
|
|
961
961
|
disabled: d || t <= r,
|
|
962
|
-
className: i(N[
|
|
962
|
+
className: i(N[s], "p-0"),
|
|
963
963
|
"aria-label": "Decrease quantity",
|
|
964
|
-
children: /* @__PURE__ */ e(
|
|
964
|
+
children: /* @__PURE__ */ e(ce, { className: "h-4 w-4" })
|
|
965
965
|
}
|
|
966
966
|
),
|
|
967
967
|
/* @__PURE__ */ e(
|
|
@@ -971,38 +971,38 @@ const Ge = w(
|
|
|
971
971
|
value: t,
|
|
972
972
|
onChange: h,
|
|
973
973
|
min: r,
|
|
974
|
-
max:
|
|
974
|
+
max: n,
|
|
975
975
|
disabled: d,
|
|
976
976
|
className: i(
|
|
977
977
|
"rounded-lg border-2 border-[var(--border)] bg-[var(--input-background)] text-center font-medium transition-colors",
|
|
978
978
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] focus-visible:ring-offset-2",
|
|
979
979
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
980
980
|
"[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",
|
|
981
|
-
y[
|
|
981
|
+
y[s]
|
|
982
982
|
),
|
|
983
983
|
"aria-label": "Quantity"
|
|
984
984
|
}
|
|
985
985
|
),
|
|
986
986
|
/* @__PURE__ */ e(
|
|
987
|
-
|
|
987
|
+
j,
|
|
988
988
|
{
|
|
989
989
|
type: "button",
|
|
990
990
|
variant: "secondary",
|
|
991
991
|
size: "sm",
|
|
992
|
-
onClick:
|
|
993
|
-
disabled: d || t >=
|
|
994
|
-
className: i(N[
|
|
992
|
+
onClick: b,
|
|
993
|
+
disabled: d || t >= n,
|
|
994
|
+
className: i(N[s], "p-0"),
|
|
995
995
|
"aria-label": "Increase quantity",
|
|
996
|
-
children: /* @__PURE__ */ e(
|
|
996
|
+
children: /* @__PURE__ */ e(ue, { className: "h-4 w-4" })
|
|
997
997
|
}
|
|
998
998
|
)
|
|
999
999
|
] })
|
|
1000
1000
|
] });
|
|
1001
1001
|
}
|
|
1002
1002
|
);
|
|
1003
|
-
|
|
1004
|
-
const
|
|
1005
|
-
({ className: a, label: t, htmlFor: r, required:
|
|
1003
|
+
Ue.displayName = "QuantitySelector";
|
|
1004
|
+
const Ge = k(
|
|
1005
|
+
({ className: a, label: t, htmlFor: r, required: n, error: l, helperText: s, children: d, ...u }, f) => /* @__PURE__ */ o("div", { ref: f, className: i("flex flex-col gap-1.5", a), ...u, children: [
|
|
1006
1006
|
t && /* @__PURE__ */ o(
|
|
1007
1007
|
"label",
|
|
1008
1008
|
{
|
|
@@ -1010,28 +1010,28 @@ const He = w(
|
|
|
1010
1010
|
className: "text-sm font-medium text-[var(--foreground)]",
|
|
1011
1011
|
children: [
|
|
1012
1012
|
t,
|
|
1013
|
-
|
|
1013
|
+
n && /* @__PURE__ */ e("span", { className: "ml-1 text-[var(--destructive)]", children: "*" })
|
|
1014
1014
|
]
|
|
1015
1015
|
}
|
|
1016
1016
|
),
|
|
1017
1017
|
d,
|
|
1018
|
-
(l ||
|
|
1018
|
+
(l || s) && /* @__PURE__ */ e(
|
|
1019
1019
|
"p",
|
|
1020
1020
|
{
|
|
1021
1021
|
className: i(
|
|
1022
1022
|
"text-sm",
|
|
1023
1023
|
l ? "text-[var(--destructive)]" : "text-[var(--muted-foreground)]"
|
|
1024
1024
|
),
|
|
1025
|
-
children: l ||
|
|
1025
|
+
children: l || s
|
|
1026
1026
|
}
|
|
1027
1027
|
)
|
|
1028
1028
|
] })
|
|
1029
1029
|
);
|
|
1030
|
-
|
|
1031
|
-
function
|
|
1030
|
+
Ge.displayName = "FormGroup";
|
|
1031
|
+
function It({ ...a }) {
|
|
1032
1032
|
return /* @__PURE__ */ e("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...a });
|
|
1033
1033
|
}
|
|
1034
|
-
function
|
|
1034
|
+
function Vt({ className: a, ...t }) {
|
|
1035
1035
|
return /* @__PURE__ */ e(
|
|
1036
1036
|
"ol",
|
|
1037
1037
|
{
|
|
@@ -1044,7 +1044,7 @@ function It({ className: a, ...t }) {
|
|
|
1044
1044
|
}
|
|
1045
1045
|
);
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function Ft({ className: a, ...t }) {
|
|
1048
1048
|
return /* @__PURE__ */ e(
|
|
1049
1049
|
"li",
|
|
1050
1050
|
{
|
|
@@ -1054,13 +1054,13 @@ function qt({ className: a, ...t }) {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
);
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1057
|
+
function qt({
|
|
1058
1058
|
asChild: a,
|
|
1059
1059
|
className: t,
|
|
1060
1060
|
...r
|
|
1061
1061
|
}) {
|
|
1062
1062
|
return /* @__PURE__ */ e(
|
|
1063
|
-
a ?
|
|
1063
|
+
a ? Me : "a",
|
|
1064
1064
|
{
|
|
1065
1065
|
"data-slot": "breadcrumb-link",
|
|
1066
1066
|
className: i("hover:text-foreground transition-colors", t),
|
|
@@ -1068,7 +1068,7 @@ function Ut({
|
|
|
1068
1068
|
}
|
|
1069
1069
|
);
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function Ut({ className: a, ...t }) {
|
|
1072
1072
|
return /* @__PURE__ */ e(
|
|
1073
1073
|
"span",
|
|
1074
1074
|
{
|
|
@@ -1081,7 +1081,7 @@ function Gt({ className: a, ...t }) {
|
|
|
1081
1081
|
}
|
|
1082
1082
|
);
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function Gt({
|
|
1085
1085
|
children: a,
|
|
1086
1086
|
className: t,
|
|
1087
1087
|
...r
|
|
@@ -1094,21 +1094,21 @@ function Ht({
|
|
|
1094
1094
|
"aria-hidden": "true",
|
|
1095
1095
|
className: i("[&>svg]:size-3.5", t),
|
|
1096
1096
|
...r,
|
|
1097
|
-
children: a ?? /* @__PURE__ */ e(
|
|
1097
|
+
children: a ?? /* @__PURE__ */ e(Y, {})
|
|
1098
1098
|
}
|
|
1099
1099
|
);
|
|
1100
1100
|
}
|
|
1101
|
-
function
|
|
1101
|
+
function Ht({
|
|
1102
1102
|
...a
|
|
1103
1103
|
}) {
|
|
1104
|
-
return /* @__PURE__ */ e(
|
|
1104
|
+
return /* @__PURE__ */ e(P.Root, { "data-slot": "accordion", ...a });
|
|
1105
1105
|
}
|
|
1106
|
-
function
|
|
1106
|
+
function Qt({
|
|
1107
1107
|
className: a,
|
|
1108
1108
|
...t
|
|
1109
1109
|
}) {
|
|
1110
1110
|
return /* @__PURE__ */ e(
|
|
1111
|
-
|
|
1111
|
+
P.Item,
|
|
1112
1112
|
{
|
|
1113
1113
|
"data-slot": "accordion-item",
|
|
1114
1114
|
className: i("border-b last:border-b-0", a),
|
|
@@ -1116,13 +1116,13 @@ function Wt({
|
|
|
1116
1116
|
}
|
|
1117
1117
|
);
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function Wt({
|
|
1120
1120
|
className: a,
|
|
1121
1121
|
children: t,
|
|
1122
1122
|
...r
|
|
1123
1123
|
}) {
|
|
1124
|
-
return /* @__PURE__ */ e(
|
|
1125
|
-
|
|
1124
|
+
return /* @__PURE__ */ e(P.Header, { className: "flex", children: /* @__PURE__ */ o(
|
|
1125
|
+
P.Trigger,
|
|
1126
1126
|
{
|
|
1127
1127
|
"data-slot": "accordion-trigger",
|
|
1128
1128
|
className: i(
|
|
@@ -1132,18 +1132,18 @@ function Xt({
|
|
|
1132
1132
|
...r,
|
|
1133
1133
|
children: [
|
|
1134
1134
|
t,
|
|
1135
|
-
/* @__PURE__ */ e(
|
|
1135
|
+
/* @__PURE__ */ e(R, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
|
|
1136
1136
|
]
|
|
1137
1137
|
}
|
|
1138
1138
|
) });
|
|
1139
1139
|
}
|
|
1140
|
-
function
|
|
1140
|
+
function Xt({
|
|
1141
1141
|
className: a,
|
|
1142
1142
|
children: t,
|
|
1143
1143
|
...r
|
|
1144
1144
|
}) {
|
|
1145
1145
|
return /* @__PURE__ */ e(
|
|
1146
|
-
|
|
1146
|
+
P.Content,
|
|
1147
1147
|
{
|
|
1148
1148
|
"data-slot": "accordion-content",
|
|
1149
1149
|
className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
|
|
@@ -1152,12 +1152,12 @@ function Yt({
|
|
|
1152
1152
|
}
|
|
1153
1153
|
);
|
|
1154
1154
|
}
|
|
1155
|
-
function
|
|
1155
|
+
function He({
|
|
1156
1156
|
delayDuration: a = 0,
|
|
1157
1157
|
...t
|
|
1158
1158
|
}) {
|
|
1159
1159
|
return /* @__PURE__ */ e(
|
|
1160
|
-
|
|
1160
|
+
M.Provider,
|
|
1161
1161
|
{
|
|
1162
1162
|
"data-slot": "tooltip-provider",
|
|
1163
1163
|
delayDuration: a,
|
|
@@ -1165,24 +1165,24 @@ function Qe({
|
|
|
1165
1165
|
}
|
|
1166
1166
|
);
|
|
1167
1167
|
}
|
|
1168
|
-
function
|
|
1168
|
+
function Yt({
|
|
1169
1169
|
...a
|
|
1170
1170
|
}) {
|
|
1171
|
-
return /* @__PURE__ */ e(
|
|
1171
|
+
return /* @__PURE__ */ e(He, { children: /* @__PURE__ */ e(M.Root, { "data-slot": "tooltip", ...a }) });
|
|
1172
1172
|
}
|
|
1173
|
-
function
|
|
1173
|
+
function Kt({
|
|
1174
1174
|
...a
|
|
1175
1175
|
}) {
|
|
1176
|
-
return /* @__PURE__ */ e(
|
|
1176
|
+
return /* @__PURE__ */ e(M.Trigger, { "data-slot": "tooltip-trigger", ...a });
|
|
1177
1177
|
}
|
|
1178
|
-
function
|
|
1178
|
+
function Ot({
|
|
1179
1179
|
className: a,
|
|
1180
1180
|
sideOffset: t = 0,
|
|
1181
1181
|
children: r,
|
|
1182
|
-
...
|
|
1182
|
+
...n
|
|
1183
1183
|
}) {
|
|
1184
|
-
return /* @__PURE__ */ e(
|
|
1185
|
-
|
|
1184
|
+
return /* @__PURE__ */ e(M.Portal, { children: /* @__PURE__ */ o(
|
|
1185
|
+
M.Content,
|
|
1186
1186
|
{
|
|
1187
1187
|
"data-slot": "tooltip-content",
|
|
1188
1188
|
sideOffset: t,
|
|
@@ -1190,27 +1190,27 @@ function Zt({
|
|
|
1190
1190
|
"bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
|
|
1191
1191
|
a
|
|
1192
1192
|
),
|
|
1193
|
-
...
|
|
1193
|
+
...n,
|
|
1194
1194
|
children: [
|
|
1195
1195
|
r,
|
|
1196
|
-
/* @__PURE__ */ e(
|
|
1196
|
+
/* @__PURE__ */ e(M.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
|
|
1197
1197
|
]
|
|
1198
1198
|
}
|
|
1199
1199
|
) });
|
|
1200
1200
|
}
|
|
1201
|
-
const
|
|
1201
|
+
const Qe = k(
|
|
1202
1202
|
({
|
|
1203
1203
|
className: a,
|
|
1204
1204
|
variant: t = "default",
|
|
1205
1205
|
title: r,
|
|
1206
|
-
subtitle:
|
|
1206
|
+
subtitle: n,
|
|
1207
1207
|
description: l,
|
|
1208
|
-
primaryCTA:
|
|
1208
|
+
primaryCTA: s,
|
|
1209
1209
|
secondaryCTA: d,
|
|
1210
1210
|
backgroundImage: u,
|
|
1211
1211
|
overlay: f = !0,
|
|
1212
1212
|
children: g,
|
|
1213
|
-
...
|
|
1213
|
+
...b
|
|
1214
1214
|
}, p) => /* @__PURE__ */ o(
|
|
1215
1215
|
"section",
|
|
1216
1216
|
{
|
|
@@ -1224,9 +1224,9 @@ const We = w(
|
|
|
1224
1224
|
}[t],
|
|
1225
1225
|
a
|
|
1226
1226
|
),
|
|
1227
|
-
...
|
|
1227
|
+
...b,
|
|
1228
1228
|
children: [
|
|
1229
|
-
u && /* @__PURE__ */ o(
|
|
1229
|
+
u && /* @__PURE__ */ o(A, { children: [
|
|
1230
1230
|
/* @__PURE__ */ e(
|
|
1231
1231
|
"div",
|
|
1232
1232
|
{
|
|
@@ -1245,14 +1245,14 @@ const We = w(
|
|
|
1245
1245
|
),
|
|
1246
1246
|
children: [
|
|
1247
1247
|
/* @__PURE__ */ o("div", { className: i("max-w-3xl", t === "split" && "max-w-none"), children: [
|
|
1248
|
-
|
|
1248
|
+
n && /* @__PURE__ */ e(
|
|
1249
1249
|
"p",
|
|
1250
1250
|
{
|
|
1251
1251
|
className: i(
|
|
1252
1252
|
"mb-4 text-sm font-semibold uppercase tracking-wider",
|
|
1253
1253
|
u ? "text-[var(--warning)]" : "text-[var(--brand-primary)]"
|
|
1254
1254
|
),
|
|
1255
|
-
children:
|
|
1255
|
+
children: n
|
|
1256
1256
|
}
|
|
1257
1257
|
),
|
|
1258
1258
|
/* @__PURE__ */ e(
|
|
@@ -1275,18 +1275,18 @@ const We = w(
|
|
|
1275
1275
|
children: l
|
|
1276
1276
|
}
|
|
1277
1277
|
),
|
|
1278
|
-
(
|
|
1279
|
-
|
|
1280
|
-
|
|
1278
|
+
(s || d) && /* @__PURE__ */ o("div", { className: "mt-8 flex flex-wrap gap-4", children: [
|
|
1279
|
+
s && /* @__PURE__ */ e(
|
|
1280
|
+
j,
|
|
1281
1281
|
{
|
|
1282
1282
|
size: "lg",
|
|
1283
|
-
onClick:
|
|
1283
|
+
onClick: s.onClick,
|
|
1284
1284
|
variant: "primary",
|
|
1285
|
-
children:
|
|
1285
|
+
children: s.label
|
|
1286
1286
|
}
|
|
1287
1287
|
),
|
|
1288
1288
|
d && /* @__PURE__ */ e(
|
|
1289
|
-
|
|
1289
|
+
j,
|
|
1290
1290
|
{
|
|
1291
1291
|
size: "lg",
|
|
1292
1292
|
onClick: d.onClick,
|
|
@@ -1305,22 +1305,22 @@ const We = w(
|
|
|
1305
1305
|
}
|
|
1306
1306
|
)
|
|
1307
1307
|
);
|
|
1308
|
-
|
|
1309
|
-
const
|
|
1308
|
+
Qe.displayName = "Hero";
|
|
1309
|
+
const Z = k(
|
|
1310
1310
|
({
|
|
1311
1311
|
className: a,
|
|
1312
1312
|
variant: t = "default",
|
|
1313
1313
|
icon: r,
|
|
1314
|
-
title:
|
|
1314
|
+
title: n,
|
|
1315
1315
|
description: l,
|
|
1316
|
-
action:
|
|
1316
|
+
action: s,
|
|
1317
1317
|
...d
|
|
1318
1318
|
}, u) => {
|
|
1319
1319
|
const g = r || {
|
|
1320
|
-
default: /* @__PURE__ */ e(
|
|
1321
|
-
search: /* @__PURE__ */ e(
|
|
1322
|
-
cart: /* @__PURE__ */ e(
|
|
1323
|
-
error: /* @__PURE__ */ e(
|
|
1320
|
+
default: /* @__PURE__ */ e(fe, { className: "h-16 w-16" }),
|
|
1321
|
+
search: /* @__PURE__ */ e(X, { className: "h-16 w-16" }),
|
|
1322
|
+
cart: /* @__PURE__ */ e(T, { className: "h-16 w-16" }),
|
|
1323
|
+
error: /* @__PURE__ */ e(me, { className: "h-16 w-16" })
|
|
1324
1324
|
}[t];
|
|
1325
1325
|
return /* @__PURE__ */ o(
|
|
1326
1326
|
"div",
|
|
@@ -1333,16 +1333,16 @@ const J = w(
|
|
|
1333
1333
|
...d,
|
|
1334
1334
|
children: [
|
|
1335
1335
|
/* @__PURE__ */ e("div", { className: "rounded-full bg-[var(--muted)] p-6 text-[var(--muted-foreground)]", children: g }),
|
|
1336
|
-
/* @__PURE__ */ e("h3", { className: "mt-6 text-xl font-semibold text-[var(--foreground)]", children:
|
|
1336
|
+
/* @__PURE__ */ e("h3", { className: "mt-6 text-xl font-semibold text-[var(--foreground)]", children: n }),
|
|
1337
1337
|
l && /* @__PURE__ */ e("p", { className: "mt-2 max-w-md text-[var(--muted-foreground)]", children: l }),
|
|
1338
|
-
|
|
1339
|
-
|
|
1338
|
+
s && /* @__PURE__ */ e(
|
|
1339
|
+
j,
|
|
1340
1340
|
{
|
|
1341
|
-
onClick:
|
|
1341
|
+
onClick: s.onClick,
|
|
1342
1342
|
variant: "primary",
|
|
1343
1343
|
size: "lg",
|
|
1344
1344
|
className: "mt-6",
|
|
1345
|
-
children:
|
|
1345
|
+
children: s.label
|
|
1346
1346
|
}
|
|
1347
1347
|
)
|
|
1348
1348
|
]
|
|
@@ -1350,15 +1350,15 @@ const J = w(
|
|
|
1350
1350
|
);
|
|
1351
1351
|
}
|
|
1352
1352
|
);
|
|
1353
|
-
|
|
1354
|
-
const
|
|
1353
|
+
Z.displayName = "EmptyState";
|
|
1354
|
+
const We = k(
|
|
1355
1355
|
({
|
|
1356
1356
|
className: a,
|
|
1357
1357
|
type: t = "generic",
|
|
1358
1358
|
title: r,
|
|
1359
|
-
message:
|
|
1359
|
+
message: n,
|
|
1360
1360
|
onRetry: l,
|
|
1361
|
-
onGoHome:
|
|
1361
|
+
onGoHome: s,
|
|
1362
1362
|
showRetry: d = !0,
|
|
1363
1363
|
showHome: u = !0,
|
|
1364
1364
|
...f
|
|
@@ -1384,7 +1384,7 @@ const Xe = w(
|
|
|
1384
1384
|
message: "Ocorreu um erro inesperado. Por favor, tente novamente.",
|
|
1385
1385
|
code: ""
|
|
1386
1386
|
}
|
|
1387
|
-
}[t], h = r || p.title, N =
|
|
1387
|
+
}[t], h = r || p.title, N = n || p.message;
|
|
1388
1388
|
return /* @__PURE__ */ o(
|
|
1389
1389
|
"div",
|
|
1390
1390
|
{
|
|
@@ -1399,28 +1399,28 @@ const Xe = w(
|
|
|
1399
1399
|
children: [
|
|
1400
1400
|
/* @__PURE__ */ o("div", { className: "flex flex-col items-center gap-4", children: [
|
|
1401
1401
|
p.code && /* @__PURE__ */ e("h1", { className: "text-9xl font-bold text-[var(--muted)] opacity-40", children: p.code }),
|
|
1402
|
-
/* @__PURE__ */ e("div", { className: "rounded-full bg-[var(--destructive)]/10 p-6 text-[var(--destructive)]", children: /* @__PURE__ */ e(
|
|
1402
|
+
/* @__PURE__ */ e("div", { className: "rounded-full bg-[var(--destructive)]/10 p-6 text-[var(--destructive)]", children: /* @__PURE__ */ e(ge, { className: "h-16 w-16" }) })
|
|
1403
1403
|
] }),
|
|
1404
1404
|
/* @__PURE__ */ e("h2", { className: "mt-6 text-2xl font-bold text-[var(--foreground)]", children: h }),
|
|
1405
1405
|
/* @__PURE__ */ e("p", { className: "mt-2 max-w-md text-[var(--muted-foreground)]", children: N }),
|
|
1406
1406
|
/* @__PURE__ */ o("div", { className: "mt-8 flex flex-wrap gap-4 justify-center", children: [
|
|
1407
1407
|
d && l && /* @__PURE__ */ e(
|
|
1408
|
-
|
|
1408
|
+
j,
|
|
1409
1409
|
{
|
|
1410
1410
|
onClick: l,
|
|
1411
1411
|
variant: "primary",
|
|
1412
1412
|
size: "lg",
|
|
1413
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1413
|
+
leftIcon: /* @__PURE__ */ e(pe, { className: "h-5 w-5" }),
|
|
1414
1414
|
children: "Tentar novamente"
|
|
1415
1415
|
}
|
|
1416
1416
|
),
|
|
1417
|
-
u &&
|
|
1418
|
-
|
|
1417
|
+
u && s && /* @__PURE__ */ e(
|
|
1418
|
+
j,
|
|
1419
1419
|
{
|
|
1420
|
-
onClick:
|
|
1420
|
+
onClick: s,
|
|
1421
1421
|
variant: "secondary",
|
|
1422
1422
|
size: "lg",
|
|
1423
|
-
leftIcon: /* @__PURE__ */ e(
|
|
1423
|
+
leftIcon: /* @__PURE__ */ e(ve, { className: "h-5 w-5" }),
|
|
1424
1424
|
children: "Voltar ao início"
|
|
1425
1425
|
}
|
|
1426
1426
|
)
|
|
@@ -1430,20 +1430,20 @@ const Xe = w(
|
|
|
1430
1430
|
);
|
|
1431
1431
|
}
|
|
1432
1432
|
);
|
|
1433
|
-
|
|
1434
|
-
const
|
|
1433
|
+
We.displayName = "ErrorState";
|
|
1434
|
+
const Xe = k(
|
|
1435
1435
|
({
|
|
1436
1436
|
className: a,
|
|
1437
1437
|
products: t,
|
|
1438
1438
|
columns: r = 4,
|
|
1439
|
-
gap:
|
|
1439
|
+
gap: n = "md",
|
|
1440
1440
|
isLoading: l = !1,
|
|
1441
|
-
skeletonCount:
|
|
1441
|
+
skeletonCount: s = 8,
|
|
1442
1442
|
emptyStateMessage: d = "Nenhum produto encontrado",
|
|
1443
1443
|
onEmptyAction: u,
|
|
1444
1444
|
renderImage: f,
|
|
1445
1445
|
...g
|
|
1446
|
-
},
|
|
1446
|
+
}, b) => {
|
|
1447
1447
|
const p = {
|
|
1448
1448
|
sm: "gap-4",
|
|
1449
1449
|
md: "gap-6",
|
|
@@ -1452,15 +1452,15 @@ const Ye = w(
|
|
|
1452
1452
|
return l ? /* @__PURE__ */ e(
|
|
1453
1453
|
"div",
|
|
1454
1454
|
{
|
|
1455
|
-
ref:
|
|
1455
|
+
ref: b,
|
|
1456
1456
|
className: i(
|
|
1457
1457
|
"grid grid-cols-2 lg:grid-cols-4",
|
|
1458
|
-
p[
|
|
1458
|
+
p[n],
|
|
1459
1459
|
a
|
|
1460
1460
|
),
|
|
1461
1461
|
...g,
|
|
1462
|
-
children: Array.from({ length:
|
|
1463
|
-
|
|
1462
|
+
children: Array.from({ length: s }).map((h, N) => /* @__PURE__ */ e(
|
|
1463
|
+
V,
|
|
1464
1464
|
{
|
|
1465
1465
|
image: "",
|
|
1466
1466
|
title: "",
|
|
@@ -1471,7 +1471,7 @@ const Ye = w(
|
|
|
1471
1471
|
))
|
|
1472
1472
|
}
|
|
1473
1473
|
) : t.length === 0 ? /* @__PURE__ */ e(
|
|
1474
|
-
|
|
1474
|
+
Z,
|
|
1475
1475
|
{
|
|
1476
1476
|
variant: "search",
|
|
1477
1477
|
title: d,
|
|
@@ -1484,40 +1484,40 @@ const Ye = w(
|
|
|
1484
1484
|
) : /* @__PURE__ */ e(
|
|
1485
1485
|
"div",
|
|
1486
1486
|
{
|
|
1487
|
-
ref:
|
|
1487
|
+
ref: b,
|
|
1488
1488
|
className: i(
|
|
1489
1489
|
"grid grid-cols-2 lg:grid-cols-4",
|
|
1490
|
-
p[
|
|
1490
|
+
p[n],
|
|
1491
1491
|
a
|
|
1492
1492
|
),
|
|
1493
1493
|
...g,
|
|
1494
|
-
children: t.map((h, N) => /* @__PURE__ */ e(
|
|
1494
|
+
children: t.map((h, N) => /* @__PURE__ */ e(V, { ...h, renderImage: h.renderImage ?? f }, N))
|
|
1495
1495
|
}
|
|
1496
1496
|
);
|
|
1497
1497
|
}
|
|
1498
1498
|
);
|
|
1499
|
-
|
|
1500
|
-
function
|
|
1499
|
+
Xe.displayName = "ProductGrid";
|
|
1500
|
+
function Zt({
|
|
1501
1501
|
...a
|
|
1502
1502
|
}) {
|
|
1503
|
-
return /* @__PURE__ */ e(
|
|
1503
|
+
return /* @__PURE__ */ e(z.Root, { "data-slot": "dialog", ...a });
|
|
1504
1504
|
}
|
|
1505
|
-
function
|
|
1505
|
+
function Jt({
|
|
1506
1506
|
...a
|
|
1507
1507
|
}) {
|
|
1508
|
-
return /* @__PURE__ */ e(
|
|
1508
|
+
return /* @__PURE__ */ e(z.Trigger, { "data-slot": "dialog-trigger", ...a });
|
|
1509
1509
|
}
|
|
1510
|
-
function
|
|
1510
|
+
function Ye({
|
|
1511
1511
|
...a
|
|
1512
1512
|
}) {
|
|
1513
|
-
return /* @__PURE__ */ e(
|
|
1513
|
+
return /* @__PURE__ */ e(z.Portal, { "data-slot": "dialog-portal", ...a });
|
|
1514
1514
|
}
|
|
1515
|
-
function
|
|
1515
|
+
function Ke({
|
|
1516
1516
|
className: a,
|
|
1517
1517
|
...t
|
|
1518
1518
|
}) {
|
|
1519
1519
|
return /* @__PURE__ */ e(
|
|
1520
|
-
|
|
1520
|
+
z.Overlay,
|
|
1521
1521
|
{
|
|
1522
1522
|
"data-slot": "dialog-overlay",
|
|
1523
1523
|
className: i(
|
|
@@ -1528,15 +1528,15 @@ function Oe({
|
|
|
1528
1528
|
}
|
|
1529
1529
|
);
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function ea({
|
|
1532
1532
|
className: a,
|
|
1533
1533
|
children: t,
|
|
1534
1534
|
...r
|
|
1535
1535
|
}) {
|
|
1536
|
-
return /* @__PURE__ */ o(
|
|
1537
|
-
/* @__PURE__ */ e(
|
|
1536
|
+
return /* @__PURE__ */ o(Ye, { "data-slot": "dialog-portal", children: [
|
|
1537
|
+
/* @__PURE__ */ e(Ke, {}),
|
|
1538
1538
|
/* @__PURE__ */ o(
|
|
1539
|
-
|
|
1539
|
+
z.Content,
|
|
1540
1540
|
{
|
|
1541
1541
|
"data-slot": "dialog-content",
|
|
1542
1542
|
className: i(
|
|
@@ -1546,8 +1546,8 @@ function ta({
|
|
|
1546
1546
|
...r,
|
|
1547
1547
|
children: [
|
|
1548
1548
|
t,
|
|
1549
|
-
/* @__PURE__ */ o(
|
|
1550
|
-
/* @__PURE__ */ e(
|
|
1549
|
+
/* @__PURE__ */ o(z.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
|
+
/* @__PURE__ */ e(K, {}),
|
|
1551
1551
|
/* @__PURE__ */ e("span", { className: "sr-only", children: "Close" })
|
|
1552
1552
|
] })
|
|
1553
1553
|
]
|
|
@@ -1555,7 +1555,7 @@ function ta({
|
|
|
1555
1555
|
)
|
|
1556
1556
|
] });
|
|
1557
1557
|
}
|
|
1558
|
-
function
|
|
1558
|
+
function ta({ className: a, ...t }) {
|
|
1559
1559
|
return /* @__PURE__ */ e(
|
|
1560
1560
|
"div",
|
|
1561
1561
|
{
|
|
@@ -1565,7 +1565,7 @@ function aa({ className: a, ...t }) {
|
|
|
1565
1565
|
}
|
|
1566
1566
|
);
|
|
1567
1567
|
}
|
|
1568
|
-
function
|
|
1568
|
+
function aa({ className: a, ...t }) {
|
|
1569
1569
|
return /* @__PURE__ */ e(
|
|
1570
1570
|
"div",
|
|
1571
1571
|
{
|
|
@@ -1578,12 +1578,12 @@ function ra({ className: a, ...t }) {
|
|
|
1578
1578
|
}
|
|
1579
1579
|
);
|
|
1580
1580
|
}
|
|
1581
|
-
function
|
|
1581
|
+
function ra({
|
|
1582
1582
|
className: a,
|
|
1583
1583
|
...t
|
|
1584
1584
|
}) {
|
|
1585
1585
|
return /* @__PURE__ */ e(
|
|
1586
|
-
|
|
1586
|
+
z.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 ia({
|
|
|
1591
1591
|
}
|
|
1592
1592
|
);
|
|
1593
1593
|
}
|
|
1594
|
-
function
|
|
1594
|
+
function ia({
|
|
1595
1595
|
className: a,
|
|
1596
1596
|
...t
|
|
1597
1597
|
}) {
|
|
1598
1598
|
return /* @__PURE__ */ e(
|
|
1599
|
-
|
|
1599
|
+
z.Description,
|
|
1600
1600
|
{
|
|
1601
1601
|
"data-slot": "dialog-description",
|
|
1602
1602
|
className: i("text-muted-foreground text-sm", a),
|
|
@@ -1604,30 +1604,30 @@ function oa({
|
|
|
1604
1604
|
}
|
|
1605
1605
|
);
|
|
1606
1606
|
}
|
|
1607
|
-
function
|
|
1608
|
-
return /* @__PURE__ */ e(
|
|
1607
|
+
function Oe({ ...a }) {
|
|
1608
|
+
return /* @__PURE__ */ e(z.Root, { "data-slot": "sheet", ...a });
|
|
1609
1609
|
}
|
|
1610
|
-
function
|
|
1610
|
+
function Ze({
|
|
1611
1611
|
...a
|
|
1612
1612
|
}) {
|
|
1613
|
-
return /* @__PURE__ */ e(
|
|
1613
|
+
return /* @__PURE__ */ e(z.Trigger, { "data-slot": "sheet-trigger", ...a });
|
|
1614
1614
|
}
|
|
1615
|
-
function
|
|
1615
|
+
function Je({
|
|
1616
1616
|
...a
|
|
1617
1617
|
}) {
|
|
1618
|
-
return /* @__PURE__ */ e(
|
|
1618
|
+
return /* @__PURE__ */ e(z.Close, { "data-slot": "sheet-close", ...a });
|
|
1619
1619
|
}
|
|
1620
|
-
function
|
|
1620
|
+
function et({
|
|
1621
1621
|
...a
|
|
1622
1622
|
}) {
|
|
1623
|
-
return /* @__PURE__ */ e(
|
|
1623
|
+
return /* @__PURE__ */ e(z.Portal, { "data-slot": "sheet-portal", ...a });
|
|
1624
1624
|
}
|
|
1625
|
-
function
|
|
1625
|
+
function tt({
|
|
1626
1626
|
className: a,
|
|
1627
1627
|
...t
|
|
1628
1628
|
}) {
|
|
1629
1629
|
return /* @__PURE__ */ e(
|
|
1630
|
-
|
|
1630
|
+
z.Overlay,
|
|
1631
1631
|
{
|
|
1632
1632
|
"data-slot": "sheet-overlay",
|
|
1633
1633
|
className: i(
|
|
@@ -1638,16 +1638,16 @@ function at({
|
|
|
1638
1638
|
}
|
|
1639
1639
|
);
|
|
1640
1640
|
}
|
|
1641
|
-
function
|
|
1641
|
+
function at({
|
|
1642
1642
|
className: a,
|
|
1643
1643
|
children: t,
|
|
1644
1644
|
side: r = "right",
|
|
1645
|
-
...
|
|
1645
|
+
...n
|
|
1646
1646
|
}) {
|
|
1647
|
-
return /* @__PURE__ */ o(
|
|
1648
|
-
/* @__PURE__ */ e(
|
|
1647
|
+
return /* @__PURE__ */ o(et, { children: [
|
|
1648
|
+
/* @__PURE__ */ e(tt, {}),
|
|
1649
1649
|
/* @__PURE__ */ o(
|
|
1650
|
-
|
|
1650
|
+
z.Content,
|
|
1651
1651
|
{
|
|
1652
1652
|
"data-slot": "sheet-content",
|
|
1653
1653
|
className: i(
|
|
@@ -1658,11 +1658,11 @@ function rt({
|
|
|
1658
1658
|
r === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
|
|
1659
1659
|
a
|
|
1660
1660
|
),
|
|
1661
|
-
...
|
|
1661
|
+
...n,
|
|
1662
1662
|
children: [
|
|
1663
1663
|
t,
|
|
1664
|
-
/* @__PURE__ */ o(
|
|
1665
|
-
/* @__PURE__ */ e(
|
|
1664
|
+
/* @__PURE__ */ o(z.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
|
+
/* @__PURE__ */ e(K, { className: "size-4" }),
|
|
1666
1666
|
/* @__PURE__ */ e("span", { className: "sr-only", children: "Close" })
|
|
1667
1667
|
] })
|
|
1668
1668
|
]
|
|
@@ -1670,7 +1670,7 @@ function rt({
|
|
|
1670
1670
|
)
|
|
1671
1671
|
] });
|
|
1672
1672
|
}
|
|
1673
|
-
function
|
|
1673
|
+
function rt({ className: a, ...t }) {
|
|
1674
1674
|
return /* @__PURE__ */ e(
|
|
1675
1675
|
"div",
|
|
1676
1676
|
{
|
|
@@ -1680,7 +1680,7 @@ function it({ className: a, ...t }) {
|
|
|
1680
1680
|
}
|
|
1681
1681
|
);
|
|
1682
1682
|
}
|
|
1683
|
-
function
|
|
1683
|
+
function oa({ className: a, ...t }) {
|
|
1684
1684
|
return /* @__PURE__ */ e(
|
|
1685
1685
|
"div",
|
|
1686
1686
|
{
|
|
@@ -1690,12 +1690,12 @@ function na({ className: a, ...t }) {
|
|
|
1690
1690
|
}
|
|
1691
1691
|
);
|
|
1692
1692
|
}
|
|
1693
|
-
function
|
|
1693
|
+
function it({
|
|
1694
1694
|
className: a,
|
|
1695
1695
|
...t
|
|
1696
1696
|
}) {
|
|
1697
1697
|
return /* @__PURE__ */ e(
|
|
1698
|
-
|
|
1698
|
+
z.Title,
|
|
1699
1699
|
{
|
|
1700
1700
|
"data-slot": "sheet-title",
|
|
1701
1701
|
className: i("text-foreground font-semibold", a),
|
|
@@ -1703,12 +1703,12 @@ function ot({
|
|
|
1703
1703
|
}
|
|
1704
1704
|
);
|
|
1705
1705
|
}
|
|
1706
|
-
function
|
|
1706
|
+
function na({
|
|
1707
1707
|
className: a,
|
|
1708
1708
|
...t
|
|
1709
1709
|
}) {
|
|
1710
1710
|
return /* @__PURE__ */ e(
|
|
1711
|
-
|
|
1711
|
+
z.Description,
|
|
1712
1712
|
{
|
|
1713
1713
|
"data-slot": "sheet-description",
|
|
1714
1714
|
className: i("text-muted-foreground text-sm", a),
|
|
@@ -1716,7 +1716,7 @@ function sa({
|
|
|
1716
1716
|
}
|
|
1717
1717
|
);
|
|
1718
1718
|
}
|
|
1719
|
-
function
|
|
1719
|
+
function ot({ children: a, as: t = "div", className: r }) {
|
|
1720
1720
|
return /* @__PURE__ */ e(
|
|
1721
1721
|
t,
|
|
1722
1722
|
{
|
|
@@ -1727,26 +1727,26 @@ function nt({ children: a, as: t = "div", className: r }) {
|
|
|
1727
1727
|
}
|
|
1728
1728
|
);
|
|
1729
1729
|
}
|
|
1730
|
-
const
|
|
1731
|
-
({ className: a, onThemeChange: t, onFontSizeChange: r, showA11yLink:
|
|
1732
|
-
const [d, u] = C("light"), [f, g] = C(16), [
|
|
1733
|
-
|
|
1734
|
-
const
|
|
1735
|
-
u(
|
|
1736
|
-
const
|
|
1737
|
-
Number.isFinite(
|
|
1730
|
+
const nt = k(
|
|
1731
|
+
({ className: a, onThemeChange: t, onFontSizeChange: r, showA11yLink: n = !1, ...l }, s) => {
|
|
1732
|
+
const [d, u] = C("light"), [f, g] = C(16), [b, p] = C(!1), h = re(!1);
|
|
1733
|
+
B(() => {
|
|
1734
|
+
const w = localStorage.getItem("a11y-theme") ?? document.documentElement.getAttribute("data-theme") ?? "light";
|
|
1735
|
+
u(w);
|
|
1736
|
+
const x = Number(localStorage.getItem("a11y-font-size"));
|
|
1737
|
+
Number.isFinite(x) && x > 0 && g(x);
|
|
1738
1738
|
}, []);
|
|
1739
1739
|
const N = () => {
|
|
1740
1740
|
if (h.current) {
|
|
1741
|
-
const m = document.querySelector("[vw]"),
|
|
1742
|
-
m && (m.style.visibility =
|
|
1741
|
+
const m = document.querySelector("[vw]"), w = !b;
|
|
1742
|
+
m && (m.style.visibility = w ? "" : "hidden", m.style.opacity = w ? "" : "0", m.style.pointerEvents = w ? "" : "none"), p(w);
|
|
1743
1743
|
} else {
|
|
1744
1744
|
const m = document.createElement("div");
|
|
1745
1745
|
m.setAttribute("vw", ""), m.className = "enabled", m.innerHTML = '<div vw-access-button class="active"></div><div vw-plugin-wrapper><div class="vw-plugin-top-wrapper"></div></div>', document.body.appendChild(m);
|
|
1746
|
-
const
|
|
1747
|
-
|
|
1746
|
+
const w = document.createElement("script");
|
|
1747
|
+
w.src = "https://vlibras.gov.br/app/vlibras-plugin.js", w.async = !0, w.onload = () => {
|
|
1748
1748
|
window.VLibras && (new window.VLibras.Widget("https://vlibras.gov.br/app"), typeof window.onload == "function" && window.onload(new Event("load"))), h.current = !0, p(!0);
|
|
1749
|
-
}, document.body.appendChild(
|
|
1749
|
+
}, document.body.appendChild(w);
|
|
1750
1750
|
}
|
|
1751
1751
|
}, y = () => {
|
|
1752
1752
|
const m = d === "light" ? "dark" : "light";
|
|
@@ -1754,14 +1754,14 @@ const st = w(
|
|
|
1754
1754
|
}, c = () => {
|
|
1755
1755
|
const m = Math.min(f + 2, 24);
|
|
1756
1756
|
g(m), document.documentElement.style.setProperty("--font-size", `${m}px`), document.documentElement.style.fontSize = `${m}px`, localStorage.setItem("a11y-font-size", m.toString()), r == null || r(m);
|
|
1757
|
-
},
|
|
1757
|
+
}, v = () => {
|
|
1758
1758
|
const m = Math.max(f - 2, 12);
|
|
1759
1759
|
g(m), document.documentElement.style.setProperty("--font-size", `${m}px`), document.documentElement.style.fontSize = `${m}px`, localStorage.setItem("a11y-font-size", m.toString()), r == null || r(m);
|
|
1760
1760
|
};
|
|
1761
1761
|
return /* @__PURE__ */ e(
|
|
1762
1762
|
"div",
|
|
1763
1763
|
{
|
|
1764
|
-
ref:
|
|
1764
|
+
ref: s,
|
|
1765
1765
|
className: i(
|
|
1766
1766
|
"w-full border-b border-[var(--border)] bg-[var(--card)] sticky top-0 z-50",
|
|
1767
1767
|
a
|
|
@@ -1769,13 +1769,13 @@ const st = w(
|
|
|
1769
1769
|
role: "toolbar",
|
|
1770
1770
|
"aria-label": "Ferramentas de acessibilidade",
|
|
1771
1771
|
...l,
|
|
1772
|
-
children: /* @__PURE__ */ o(
|
|
1772
|
+
children: /* @__PURE__ */ o(ot, { className: "py-2 flex items-center justify-between", children: [
|
|
1773
1773
|
/* @__PURE__ */ o("div", { className: "flex items-center gap-2 text-sm text-[var(--muted-foreground)]", children: [
|
|
1774
|
-
/* @__PURE__ */ e(
|
|
1774
|
+
/* @__PURE__ */ e(be, { className: "h-4 w-4 flex-shrink-0", "aria-hidden": "true" }),
|
|
1775
1775
|
/* @__PURE__ */ e("span", { className: "hidden sm:inline", children: "Ferramentas de Acessibilidade" })
|
|
1776
1776
|
] }),
|
|
1777
1777
|
/* @__PURE__ */ o("div", { className: "flex items-center gap-2 md:gap-4", children: [
|
|
1778
|
-
|
|
1778
|
+
n && /* @__PURE__ */ e(
|
|
1779
1779
|
"a",
|
|
1780
1780
|
{
|
|
1781
1781
|
href: "/acessibilidade",
|
|
@@ -1788,7 +1788,7 @@ const st = w(
|
|
|
1788
1788
|
"button",
|
|
1789
1789
|
{
|
|
1790
1790
|
type: "button",
|
|
1791
|
-
onClick:
|
|
1791
|
+
onClick: v,
|
|
1792
1792
|
disabled: f <= 12,
|
|
1793
1793
|
"aria-label": "Diminuir tamanho da fonte",
|
|
1794
1794
|
className: i(
|
|
@@ -1796,7 +1796,7 @@ const st = w(
|
|
|
1796
1796
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
|
|
1797
1797
|
"disabled:opacity-40 disabled:cursor-not-allowed"
|
|
1798
1798
|
),
|
|
1799
|
-
children: /* @__PURE__ */ e(
|
|
1799
|
+
children: /* @__PURE__ */ e(he, { className: "h-4 w-4" })
|
|
1800
1800
|
}
|
|
1801
1801
|
),
|
|
1802
1802
|
/* @__PURE__ */ e("span", { className: "text-xs text-[var(--muted-foreground)] w-3 text-center select-none", "aria-hidden": "true", children: "A" }),
|
|
@@ -1812,7 +1812,7 @@ const st = w(
|
|
|
1812
1812
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
|
|
1813
1813
|
"disabled:opacity-40 disabled:cursor-not-allowed"
|
|
1814
1814
|
),
|
|
1815
|
-
children: /* @__PURE__ */ e(
|
|
1815
|
+
children: /* @__PURE__ */ e(xe, { className: "h-4 w-4" })
|
|
1816
1816
|
}
|
|
1817
1817
|
)
|
|
1818
1818
|
] }),
|
|
@@ -1826,7 +1826,7 @@ const st = w(
|
|
|
1826
1826
|
"p-2 rounded-md transition-colors text-[var(--muted-foreground)] hover:bg-[var(--muted)]",
|
|
1827
1827
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]"
|
|
1828
1828
|
),
|
|
1829
|
-
children: d === "light" ? /* @__PURE__ */ e(
|
|
1829
|
+
children: d === "light" ? /* @__PURE__ */ e(Ne, { className: "h-4 w-4" }) : /* @__PURE__ */ e(ye, { className: "h-4 w-4" })
|
|
1830
1830
|
}
|
|
1831
1831
|
),
|
|
1832
1832
|
/* @__PURE__ */ e(
|
|
@@ -1835,15 +1835,15 @@ const st = w(
|
|
|
1835
1835
|
type: "button",
|
|
1836
1836
|
onClick: N,
|
|
1837
1837
|
"aria-label": "Ativar VLibras",
|
|
1838
|
-
"aria-pressed":
|
|
1838
|
+
"aria-pressed": b,
|
|
1839
1839
|
className: i(
|
|
1840
1840
|
"px-3 py-1 text-xs font-medium rounded-md transition-colors",
|
|
1841
1841
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]"
|
|
1842
1842
|
),
|
|
1843
1843
|
style: {
|
|
1844
|
-
backgroundColor:
|
|
1845
|
-
color:
|
|
1846
|
-
border:
|
|
1844
|
+
backgroundColor: b ? "var(--primary)" : "transparent",
|
|
1845
|
+
color: b ? "var(--primary-foreground)" : "var(--muted-foreground)",
|
|
1846
|
+
border: b ? "none" : "1px solid var(--border)"
|
|
1847
1847
|
},
|
|
1848
1848
|
children: "VLibras"
|
|
1849
1849
|
}
|
|
@@ -1854,30 +1854,30 @@ const st = w(
|
|
|
1854
1854
|
);
|
|
1855
1855
|
}
|
|
1856
1856
|
);
|
|
1857
|
-
|
|
1858
|
-
const
|
|
1857
|
+
nt.displayName = "TopAccessibilityBar";
|
|
1858
|
+
const st = k(
|
|
1859
1859
|
({
|
|
1860
1860
|
className: a,
|
|
1861
1861
|
slides: t,
|
|
1862
1862
|
autoplayDelay: r = 5e3,
|
|
1863
|
-
autoplay:
|
|
1863
|
+
autoplay: n = !0,
|
|
1864
1864
|
...l
|
|
1865
|
-
},
|
|
1866
|
-
const [d, u] = C(0), [f, g] = C(!1), [
|
|
1867
|
-
|
|
1865
|
+
}, s) => {
|
|
1866
|
+
const [d, u] = C(0), [f, g] = C(!1), [b, p] = C(!1);
|
|
1867
|
+
B(() => {
|
|
1868
1868
|
const c = window.matchMedia("(prefers-reduced-motion: reduce)");
|
|
1869
1869
|
p(c.matches);
|
|
1870
|
-
const
|
|
1870
|
+
const v = (m) => {
|
|
1871
1871
|
p(m.matches);
|
|
1872
1872
|
};
|
|
1873
|
-
return c.addEventListener("change",
|
|
1874
|
-
}, []),
|
|
1875
|
-
if (!
|
|
1873
|
+
return c.addEventListener("change", v), () => c.removeEventListener("change", v);
|
|
1874
|
+
}, []), B(() => {
|
|
1875
|
+
if (!n || f || b) return;
|
|
1876
1876
|
const c = setInterval(() => {
|
|
1877
|
-
u((
|
|
1877
|
+
u((v) => (v + 1) % t.length);
|
|
1878
1878
|
}, r);
|
|
1879
1879
|
return () => clearInterval(c);
|
|
1880
|
-
}, [
|
|
1880
|
+
}, [n, r, t.length, f, b]);
|
|
1881
1881
|
const h = (c) => {
|
|
1882
1882
|
u(c), g(!0), setTimeout(() => g(!1), r);
|
|
1883
1883
|
}, N = () => {
|
|
@@ -1888,16 +1888,16 @@ const lt = w(
|
|
|
1888
1888
|
return t.length === 0 ? null : (t[d], /* @__PURE__ */ o(
|
|
1889
1889
|
"div",
|
|
1890
1890
|
{
|
|
1891
|
-
ref:
|
|
1891
|
+
ref: s,
|
|
1892
1892
|
className: i("w-full", a),
|
|
1893
1893
|
onMouseEnter: () => g(!0),
|
|
1894
1894
|
onMouseLeave: () => g(!1),
|
|
1895
1895
|
...l,
|
|
1896
1896
|
children: [
|
|
1897
1897
|
/* @__PURE__ */ o("div", { className: "relative w-full overflow-hidden", children: [
|
|
1898
|
-
/* @__PURE__ */ e("div", { className: "relative", children: t.map((c,
|
|
1899
|
-
var
|
|
1900
|
-
const m = (
|
|
1898
|
+
/* @__PURE__ */ e("div", { className: "relative", children: t.map((c, v) => {
|
|
1899
|
+
var x;
|
|
1900
|
+
const m = (x = c.cta) == null ? void 0 : x.href, w = /* @__PURE__ */ o(A, { children: [
|
|
1901
1901
|
/* @__PURE__ */ o("picture", { children: [
|
|
1902
1902
|
/* @__PURE__ */ e(
|
|
1903
1903
|
"source",
|
|
@@ -1920,7 +1920,7 @@ const lt = 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:
|
|
1923
|
+
loading: v === 0 ? "eager" : "lazy"
|
|
1924
1924
|
}
|
|
1925
1925
|
)
|
|
1926
1926
|
] }),
|
|
@@ -1945,22 +1945,22 @@ const lt = w(
|
|
|
1945
1945
|
{
|
|
1946
1946
|
className: i(
|
|
1947
1947
|
"w-full transition-opacity duration-700",
|
|
1948
|
-
|
|
1948
|
+
v === d ? "block" : "hidden"
|
|
1949
1949
|
),
|
|
1950
|
-
"aria-hidden":
|
|
1951
|
-
children: m ? /* @__PURE__ */ e("a", { href: m, "aria-label": c.title, className: "relative block cursor-pointer", children:
|
|
1950
|
+
"aria-hidden": v !== d,
|
|
1951
|
+
children: m ? /* @__PURE__ */ e("a", { href: m, "aria-label": c.title, className: "relative block cursor-pointer", children: w }) : /* @__PURE__ */ e("div", { className: "relative", children: w })
|
|
1952
1952
|
},
|
|
1953
1953
|
c.id
|
|
1954
1954
|
);
|
|
1955
1955
|
}) }),
|
|
1956
|
-
t.length > 1 && /* @__PURE__ */ o(
|
|
1956
|
+
t.length > 1 && /* @__PURE__ */ o(A, { children: [
|
|
1957
1957
|
/* @__PURE__ */ e(
|
|
1958
1958
|
"button",
|
|
1959
1959
|
{
|
|
1960
1960
|
onClick: N,
|
|
1961
1961
|
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-ring min-w-11 min-h-11",
|
|
1962
1962
|
"aria-label": "Slide anterior",
|
|
1963
|
-
children: /* @__PURE__ */ e(
|
|
1963
|
+
children: /* @__PURE__ */ e(we, { className: "h-6 w-6 text-gray-900" })
|
|
1964
1964
|
}
|
|
1965
1965
|
),
|
|
1966
1966
|
/* @__PURE__ */ e(
|
|
@@ -1969,44 +1969,44 @@ const lt = w(
|
|
|
1969
1969
|
onClick: y,
|
|
1970
1970
|
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-ring min-w-11 min-h-11",
|
|
1971
1971
|
"aria-label": "Próximo slide",
|
|
1972
|
-
children: /* @__PURE__ */ e(
|
|
1972
|
+
children: /* @__PURE__ */ e(Y, { className: "h-6 w-6 text-gray-900" })
|
|
1973
1973
|
}
|
|
1974
1974
|
)
|
|
1975
1975
|
] })
|
|
1976
1976
|
] }),
|
|
1977
|
-
t.length > 1 && /* @__PURE__ */ e("div", { className: "flex justify-center gap-2 py-3", children: t.map((c,
|
|
1977
|
+
t.length > 1 && /* @__PURE__ */ e("div", { className: "flex justify-center gap-2 py-3", children: t.map((c, v) => /* @__PURE__ */ e(
|
|
1978
1978
|
"button",
|
|
1979
1979
|
{
|
|
1980
|
-
onClick: () => h(
|
|
1980
|
+
onClick: () => h(v),
|
|
1981
1981
|
className: "min-w-11 min-h-11 flex items-center justify-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded-full group",
|
|
1982
|
-
"aria-label": `Ir para slide ${
|
|
1983
|
-
"aria-current":
|
|
1982
|
+
"aria-label": `Ir para slide ${v + 1}`,
|
|
1983
|
+
"aria-current": v === d,
|
|
1984
1984
|
children: /* @__PURE__ */ e(
|
|
1985
1985
|
"span",
|
|
1986
1986
|
{
|
|
1987
1987
|
className: i(
|
|
1988
1988
|
"block h-3 w-3 rounded-full transition-all",
|
|
1989
|
-
|
|
1989
|
+
v === d ? "bg-gray-700" : "bg-gray-700/30 group-hover:bg-gray-700/60"
|
|
1990
1990
|
)
|
|
1991
1991
|
}
|
|
1992
1992
|
)
|
|
1993
1993
|
},
|
|
1994
|
-
|
|
1994
|
+
v
|
|
1995
1995
|
)) })
|
|
1996
1996
|
]
|
|
1997
1997
|
}
|
|
1998
1998
|
));
|
|
1999
1999
|
}
|
|
2000
2000
|
);
|
|
2001
|
-
|
|
2002
|
-
function
|
|
2001
|
+
st.displayName = "HeroCarousel";
|
|
2002
|
+
function lt({
|
|
2003
2003
|
className: a,
|
|
2004
2004
|
children: t,
|
|
2005
2005
|
viewport: r = !0,
|
|
2006
|
-
...
|
|
2006
|
+
...n
|
|
2007
2007
|
}) {
|
|
2008
2008
|
return /* @__PURE__ */ o(
|
|
2009
|
-
|
|
2009
|
+
D.Root,
|
|
2010
2010
|
{
|
|
2011
2011
|
"data-slot": "navigation-menu",
|
|
2012
2012
|
"data-viewport": r,
|
|
@@ -2014,20 +2014,20 @@ function dt({
|
|
|
2014
2014
|
"group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
|
|
2015
2015
|
a
|
|
2016
2016
|
),
|
|
2017
|
-
...
|
|
2017
|
+
...n,
|
|
2018
2018
|
children: [
|
|
2019
2019
|
t,
|
|
2020
|
-
r && /* @__PURE__ */ e(
|
|
2020
|
+
r && /* @__PURE__ */ e(ft, {})
|
|
2021
2021
|
]
|
|
2022
2022
|
}
|
|
2023
2023
|
);
|
|
2024
2024
|
}
|
|
2025
|
-
function
|
|
2025
|
+
function dt({
|
|
2026
2026
|
className: a,
|
|
2027
2027
|
...t
|
|
2028
2028
|
}) {
|
|
2029
2029
|
return /* @__PURE__ */ e(
|
|
2030
|
-
|
|
2030
|
+
D.List,
|
|
2031
2031
|
{
|
|
2032
2032
|
"data-slot": "navigation-menu-list",
|
|
2033
2033
|
className: i(
|
|
@@ -2038,12 +2038,12 @@ function ct({
|
|
|
2038
2038
|
}
|
|
2039
2039
|
);
|
|
2040
2040
|
}
|
|
2041
|
-
function
|
|
2041
|
+
function Q({
|
|
2042
2042
|
className: a,
|
|
2043
2043
|
...t
|
|
2044
2044
|
}) {
|
|
2045
2045
|
return /* @__PURE__ */ e(
|
|
2046
|
-
|
|
2046
|
+
D.Item,
|
|
2047
2047
|
{
|
|
2048
2048
|
"data-slot": "navigation-menu-item",
|
|
2049
2049
|
className: i("relative", a),
|
|
@@ -2051,25 +2051,25 @@ function W({
|
|
|
2051
2051
|
}
|
|
2052
2052
|
);
|
|
2053
2053
|
}
|
|
2054
|
-
const
|
|
2054
|
+
const ct = E(
|
|
2055
2055
|
"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"
|
|
2056
2056
|
);
|
|
2057
|
-
function
|
|
2057
|
+
function ut({
|
|
2058
2058
|
className: a,
|
|
2059
2059
|
children: t,
|
|
2060
2060
|
...r
|
|
2061
2061
|
}) {
|
|
2062
2062
|
return /* @__PURE__ */ o(
|
|
2063
|
-
|
|
2063
|
+
D.Trigger,
|
|
2064
2064
|
{
|
|
2065
2065
|
"data-slot": "navigation-menu-trigger",
|
|
2066
|
-
className: i(
|
|
2066
|
+
className: i(ct(), "group", a),
|
|
2067
2067
|
...r,
|
|
2068
2068
|
children: [
|
|
2069
2069
|
t,
|
|
2070
2070
|
" ",
|
|
2071
2071
|
/* @__PURE__ */ e(
|
|
2072
|
-
|
|
2072
|
+
R,
|
|
2073
2073
|
{
|
|
2074
2074
|
className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
|
|
2075
2075
|
"aria-hidden": "true"
|
|
@@ -2079,12 +2079,12 @@ function mt({
|
|
|
2079
2079
|
}
|
|
2080
2080
|
);
|
|
2081
2081
|
}
|
|
2082
|
-
function
|
|
2082
|
+
function mt({
|
|
2083
2083
|
className: a,
|
|
2084
2084
|
...t
|
|
2085
2085
|
}) {
|
|
2086
2086
|
return /* @__PURE__ */ e(
|
|
2087
|
-
|
|
2087
|
+
D.Content,
|
|
2088
2088
|
{
|
|
2089
2089
|
"data-slot": "navigation-menu-content",
|
|
2090
2090
|
className: i(
|
|
@@ -2096,7 +2096,7 @@ function ft({
|
|
|
2096
2096
|
}
|
|
2097
2097
|
);
|
|
2098
2098
|
}
|
|
2099
|
-
function
|
|
2099
|
+
function ft({
|
|
2100
2100
|
className: a,
|
|
2101
2101
|
...t
|
|
2102
2102
|
}) {
|
|
@@ -2107,7 +2107,7 @@ function gt({
|
|
|
2107
2107
|
"absolute top-full left-0 isolate z-50 flex justify-center"
|
|
2108
2108
|
),
|
|
2109
2109
|
children: /* @__PURE__ */ e(
|
|
2110
|
-
|
|
2110
|
+
D.Viewport,
|
|
2111
2111
|
{
|
|
2112
2112
|
"data-slot": "navigation-menu-viewport",
|
|
2113
2113
|
className: i(
|
|
@@ -2120,12 +2120,12 @@ function gt({
|
|
|
2120
2120
|
}
|
|
2121
2121
|
);
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2123
|
+
function F({
|
|
2124
2124
|
className: a,
|
|
2125
2125
|
...t
|
|
2126
2126
|
}) {
|
|
2127
2127
|
return /* @__PURE__ */ e(
|
|
2128
|
-
|
|
2128
|
+
D.Link,
|
|
2129
2129
|
{
|
|
2130
2130
|
"data-slot": "navigation-menu-link",
|
|
2131
2131
|
className: i(
|
|
@@ -2136,7 +2136,7 @@ function q({
|
|
|
2136
2136
|
}
|
|
2137
2137
|
);
|
|
2138
2138
|
}
|
|
2139
|
-
function
|
|
2139
|
+
function gt({ items: a }) {
|
|
2140
2140
|
return /* @__PURE__ */ e("ul", { className: "grid gap-0.5 p-2 min-w-[180px]", role: "none", children: a.map(
|
|
2141
2141
|
(t) => {
|
|
2142
2142
|
var r;
|
|
@@ -2149,16 +2149,16 @@ function pt({ items: a }) {
|
|
|
2149
2149
|
children: t.label
|
|
2150
2150
|
}
|
|
2151
2151
|
),
|
|
2152
|
-
/* @__PURE__ */ e("ul", { className: "ml-1", role: "none", children: t.children.map((
|
|
2153
|
-
|
|
2152
|
+
/* @__PURE__ */ e("ul", { className: "ml-1", role: "none", children: t.children.map((n) => /* @__PURE__ */ e("li", { role: "none", children: /* @__PURE__ */ e(
|
|
2153
|
+
F,
|
|
2154
2154
|
{
|
|
2155
|
-
href:
|
|
2155
|
+
href: n.href ?? "#",
|
|
2156
2156
|
className: "block rounded px-3 py-1.5 text-sm text-[var(--foreground)] hover:bg-[var(--accent)] transition-colors",
|
|
2157
|
-
children:
|
|
2157
|
+
children: n.label
|
|
2158
2158
|
}
|
|
2159
|
-
) },
|
|
2159
|
+
) }, n.id)) })
|
|
2160
2160
|
] }, t.id) : /* @__PURE__ */ e("li", { role: "none", children: /* @__PURE__ */ e(
|
|
2161
|
-
|
|
2161
|
+
F,
|
|
2162
2162
|
{
|
|
2163
2163
|
href: t.href ?? "#",
|
|
2164
2164
|
className: "block rounded px-3 py-1.5 text-sm text-[var(--foreground)] hover:bg-[var(--accent)] transition-colors",
|
|
@@ -2168,10 +2168,10 @@ function pt({ items: a }) {
|
|
|
2168
2168
|
}
|
|
2169
2169
|
) });
|
|
2170
2170
|
}
|
|
2171
|
-
function
|
|
2172
|
-
var
|
|
2173
|
-
const [r,
|
|
2174
|
-
return !((
|
|
2171
|
+
function J({ item: a, depth: t = 0 }) {
|
|
2172
|
+
var s;
|
|
2173
|
+
const [r, n] = C(!1);
|
|
2174
|
+
return !((s = a.children) != null && s.length) ? /* @__PURE__ */ e(Je, { asChild: !0, children: /* @__PURE__ */ e(
|
|
2175
2175
|
"a",
|
|
2176
2176
|
{
|
|
2177
2177
|
href: a.href ?? "#",
|
|
@@ -2188,7 +2188,7 @@ function ee({ item: a, depth: t = 0 }) {
|
|
|
2188
2188
|
type: "button",
|
|
2189
2189
|
"aria-expanded": r,
|
|
2190
2190
|
"aria-controls": `mobile-nav-${a.id}`,
|
|
2191
|
-
onClick: () =>
|
|
2191
|
+
onClick: () => n((d) => !d),
|
|
2192
2192
|
className: i(
|
|
2193
2193
|
"flex min-h-[44px] w-full items-center justify-between rounded py-2 text-sm font-medium text-[var(--foreground)] hover:text-[var(--brand-primary)] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
|
|
2194
2194
|
t > 0 && "pl-4"
|
|
@@ -2196,7 +2196,7 @@ function ee({ item: a, depth: t = 0 }) {
|
|
|
2196
2196
|
children: [
|
|
2197
2197
|
/* @__PURE__ */ e("span", { children: a.label }),
|
|
2198
2198
|
/* @__PURE__ */ e(
|
|
2199
|
-
|
|
2199
|
+
O,
|
|
2200
2200
|
{
|
|
2201
2201
|
"aria-hidden": "true",
|
|
2202
2202
|
className: i(
|
|
@@ -2213,49 +2213,49 @@ function ee({ item: a, depth: t = 0 }) {
|
|
|
2213
2213
|
{
|
|
2214
2214
|
id: `mobile-nav-${a.id}`,
|
|
2215
2215
|
className: "mb-1 ml-2 border-l-2 border-[var(--border)] pl-3",
|
|
2216
|
-
children: a.children.map((d) => /* @__PURE__ */ e(
|
|
2216
|
+
children: a.children.map((d) => /* @__PURE__ */ e(J, { item: d, depth: t + 1 }, d.id))
|
|
2217
2217
|
}
|
|
2218
2218
|
)
|
|
2219
2219
|
] });
|
|
2220
2220
|
}
|
|
2221
|
-
const
|
|
2222
|
-
({ items: a, logo: t, rightSlot: r, searchSlot:
|
|
2221
|
+
const pt = k(
|
|
2222
|
+
({ items: a, logo: t, rightSlot: r, searchSlot: n, drawerFooter: l, className: s, ...d }, u) => /* @__PURE__ */ e(
|
|
2223
2223
|
"header",
|
|
2224
2224
|
{
|
|
2225
2225
|
ref: u,
|
|
2226
2226
|
className: i(
|
|
2227
2227
|
"sticky top-0 z-40 border-b border-[var(--border)] bg-[var(--card)]",
|
|
2228
|
-
|
|
2228
|
+
s
|
|
2229
2229
|
),
|
|
2230
2230
|
...d,
|
|
2231
2231
|
children: /* @__PURE__ */ o("div", { className: "px-4", children: [
|
|
2232
2232
|
/* @__PURE__ */ o("div", { className: "flex items-center py-3 gap-4", children: [
|
|
2233
2233
|
t && /* @__PURE__ */ e("div", { className: "flex-shrink-0", children: t }),
|
|
2234
|
-
|
|
2234
|
+
n && /* @__PURE__ */ e("div", { className: "hidden flex-1 md:flex", children: n }),
|
|
2235
2235
|
/* @__PURE__ */ e("div", { className: "flex-1 md:hidden", "aria-hidden": "true" }),
|
|
2236
2236
|
r && /* @__PURE__ */ e("div", { className: "flex items-center", children: r }),
|
|
2237
|
-
/* @__PURE__ */ o(
|
|
2238
|
-
/* @__PURE__ */ e(
|
|
2237
|
+
/* @__PURE__ */ o(Oe, { children: [
|
|
2238
|
+
/* @__PURE__ */ e(Ze, { asChild: !0, children: /* @__PURE__ */ e(
|
|
2239
2239
|
"button",
|
|
2240
2240
|
{
|
|
2241
2241
|
type: "button",
|
|
2242
2242
|
"aria-label": "Abrir menu de navegação",
|
|
2243
2243
|
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",
|
|
2244
|
-
children: /* @__PURE__ */ e(
|
|
2244
|
+
children: /* @__PURE__ */ e(ke, { className: "h-5 w-5", "aria-hidden": "true" })
|
|
2245
2245
|
}
|
|
2246
2246
|
) }),
|
|
2247
|
-
/* @__PURE__ */ o(
|
|
2248
|
-
/* @__PURE__ */ o(
|
|
2249
|
-
/* @__PURE__ */ e(
|
|
2247
|
+
/* @__PURE__ */ o(at, { side: "left", className: "flex flex-col p-0", children: [
|
|
2248
|
+
/* @__PURE__ */ o(rt, { className: "border-b border-[var(--border)] px-5 py-4", children: [
|
|
2249
|
+
/* @__PURE__ */ e(it, { className: "sr-only", children: "Menu de navegação" }),
|
|
2250
2250
|
t && /* @__PURE__ */ e("div", { className: "flex items-center", children: t })
|
|
2251
2251
|
] }),
|
|
2252
|
-
|
|
2252
|
+
n && /* @__PURE__ */ e("div", { className: "border-b border-[var(--border)] px-5 py-4", children: n }),
|
|
2253
2253
|
/* @__PURE__ */ e(
|
|
2254
2254
|
"nav",
|
|
2255
2255
|
{
|
|
2256
2256
|
"aria-label": "Menu principal",
|
|
2257
2257
|
className: "flex-1 overflow-y-auto px-5 py-3",
|
|
2258
|
-
children: /* @__PURE__ */ e("div", { className: "divide-y divide-[var(--border)]", children: a.map((f) => /* @__PURE__ */ e("div", { className: "py-0.5", children: /* @__PURE__ */ e(
|
|
2258
|
+
children: /* @__PURE__ */ e("div", { className: "divide-y divide-[var(--border)]", children: a.map((f) => /* @__PURE__ */ e("div", { className: "py-0.5", children: /* @__PURE__ */ e(J, { item: f }) }, f.id)) })
|
|
2259
2259
|
}
|
|
2260
2260
|
),
|
|
2261
2261
|
l && /* @__PURE__ */ e("div", { className: "border-t border-[var(--border)] px-5 py-4", children: l })
|
|
@@ -2267,14 +2267,14 @@ const vt = w(
|
|
|
2267
2267
|
{
|
|
2268
2268
|
"aria-label": "Menu principal",
|
|
2269
2269
|
className: "hidden border-t border-[var(--border)] py-2 md:flex",
|
|
2270
|
-
children: /* @__PURE__ */ e(
|
|
2270
|
+
children: /* @__PURE__ */ e(lt, { children: /* @__PURE__ */ e(dt, { children: a.map(
|
|
2271
2271
|
(f) => {
|
|
2272
2272
|
var g;
|
|
2273
|
-
return (g = f.children) != null && g.length ? /* @__PURE__ */ o(
|
|
2274
|
-
/* @__PURE__ */ e(
|
|
2275
|
-
/* @__PURE__ */ e(
|
|
2276
|
-
] }, f.id) : /* @__PURE__ */ e(
|
|
2277
|
-
|
|
2273
|
+
return (g = f.children) != null && g.length ? /* @__PURE__ */ o(Q, { children: [
|
|
2274
|
+
/* @__PURE__ */ e(ut, { className: "h-9 bg-transparent text-sm text-[var(--foreground)] hover:bg-[var(--accent)]", children: f.label }),
|
|
2275
|
+
/* @__PURE__ */ e(mt, { children: /* @__PURE__ */ e(gt, { items: f.children }) })
|
|
2276
|
+
] }, f.id) : /* @__PURE__ */ e(Q, { children: /* @__PURE__ */ e(
|
|
2277
|
+
F,
|
|
2278
2278
|
{
|
|
2279
2279
|
href: f.href ?? "#",
|
|
2280
2280
|
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)]",
|
|
@@ -2289,13 +2289,13 @@ const vt = w(
|
|
|
2289
2289
|
}
|
|
2290
2290
|
)
|
|
2291
2291
|
);
|
|
2292
|
-
|
|
2293
|
-
const
|
|
2294
|
-
{ label: "Instagram", href: "https://instagram.com/eloeditora", Icon:
|
|
2295
|
-
{ label: "Facebook", href: "https://facebook.com/eloeditora", Icon:
|
|
2296
|
-
{ label: "YouTube", href: "https://youtube.com/@eloeditora", Icon:
|
|
2297
|
-
{ label: "LinkedIn", href: "https://linkedin.com/company/eloeditora", Icon:
|
|
2298
|
-
],
|
|
2292
|
+
pt.displayName = "MegaMenu";
|
|
2293
|
+
const vt = [
|
|
2294
|
+
{ label: "Instagram", href: "https://instagram.com/eloeditora", Icon: ze, key: "instagram" },
|
|
2295
|
+
{ label: "Facebook", href: "https://facebook.com/eloeditora", Icon: Ce, key: "facebook" },
|
|
2296
|
+
{ label: "YouTube", href: "https://youtube.com/@eloeditora", Icon: Se, key: "youtube" },
|
|
2297
|
+
{ label: "LinkedIn", href: "https://linkedin.com/company/eloeditora", Icon: je, key: "linkedin" }
|
|
2298
|
+
], bt = [
|
|
2299
2299
|
{
|
|
2300
2300
|
id: "catalogo",
|
|
2301
2301
|
title: "Catálogo",
|
|
@@ -2328,13 +2328,13 @@ const bt = [
|
|
|
2328
2328
|
]
|
|
2329
2329
|
}
|
|
2330
2330
|
];
|
|
2331
|
-
function
|
|
2332
|
-
const [t, r] = C(""), [
|
|
2331
|
+
function ht({ onSubmit: a }) {
|
|
2332
|
+
const [t, r] = C(""), [n, l] = C(!1);
|
|
2333
2333
|
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: [
|
|
2334
|
-
/* @__PURE__ */ e(
|
|
2334
|
+
/* @__PURE__ */ e(De, { className: "mx-auto mb-4 h-10 w-10 text-white", "aria-hidden": "true" }),
|
|
2335
2335
|
/* @__PURE__ */ e("h2", { className: "text-xl font-semibold text-white sm:text-2xl", children: "Receba novidades e ofertas exclusivas" }),
|
|
2336
2336
|
/* @__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." }),
|
|
2337
|
-
|
|
2337
|
+
n ? /* @__PURE__ */ e("p", { className: "mt-6 text-sm font-medium text-white", children: "Obrigado! Você está na lista. ✓" }) : /* @__PURE__ */ o("form", { onSubmit: (d) => {
|
|
2338
2338
|
d.preventDefault(), t && (a == null || a(t), l(!0), r(""));
|
|
2339
2339
|
}, className: "mt-6 flex flex-col gap-2 sm:flex-row", children: [
|
|
2340
2340
|
/* @__PURE__ */ e("label", { htmlFor: "footer-newsletter-email", className: "sr-only", children: "Seu e-mail" }),
|
|
@@ -2362,20 +2362,20 @@ function xt({ onSubmit: a }) {
|
|
|
2362
2362
|
] })
|
|
2363
2363
|
] }) });
|
|
2364
2364
|
}
|
|
2365
|
-
function
|
|
2366
|
-
const [r,
|
|
2365
|
+
function xt({ title: a, links: t }) {
|
|
2366
|
+
const [r, n] = C(!1);
|
|
2367
2367
|
return /* @__PURE__ */ o("div", { className: "border-b border-[var(--border)] md:border-none", children: [
|
|
2368
2368
|
/* @__PURE__ */ o(
|
|
2369
2369
|
"button",
|
|
2370
2370
|
{
|
|
2371
2371
|
type: "button",
|
|
2372
2372
|
"aria-expanded": r,
|
|
2373
|
-
onClick: () =>
|
|
2373
|
+
onClick: () => n((l) => !l),
|
|
2374
2374
|
className: "flex w-full items-center justify-between py-4 text-left text-sm font-semibold text-[var(--foreground)] md:hidden",
|
|
2375
2375
|
children: [
|
|
2376
2376
|
a,
|
|
2377
2377
|
/* @__PURE__ */ e(
|
|
2378
|
-
|
|
2378
|
+
O,
|
|
2379
2379
|
{
|
|
2380
2380
|
"aria-hidden": "true",
|
|
2381
2381
|
className: i("h-4 w-4 text-[var(--muted-foreground)] transition-transform duration-200", r && "rotate-180")
|
|
@@ -2405,20 +2405,20 @@ function Nt({ title: a, links: t }) {
|
|
|
2405
2405
|
)
|
|
2406
2406
|
] });
|
|
2407
2407
|
}
|
|
2408
|
-
const
|
|
2409
|
-
const [g,
|
|
2410
|
-
|
|
2411
|
-
const
|
|
2412
|
-
|
|
2413
|
-
const
|
|
2414
|
-
|
|
2408
|
+
const Nt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r, playStoreUrl: n, appStoreUrl: l, orgInfo: s, navColumns: d, className: u, ...f }) => {
|
|
2409
|
+
const [g, b] = C("light");
|
|
2410
|
+
B(() => {
|
|
2411
|
+
const x = document.documentElement;
|
|
2412
|
+
b(x.getAttribute("data-theme") ?? "light");
|
|
2413
|
+
const _ = new MutationObserver(() => {
|
|
2414
|
+
b(x.getAttribute("data-theme") ?? "light");
|
|
2415
2415
|
});
|
|
2416
|
-
return
|
|
2416
|
+
return _.observe(x, { attributes: !0, attributeFilter: ["data-theme"] }), () => _.disconnect();
|
|
2417
2417
|
}, []);
|
|
2418
|
-
const p = a === "perabook" ? g === "dark" ? "/logos/logo_PeraBook_institucional_tarja_branca.png" : "/logos/PeraBook_instituicional.png" : g === "dark" ? "/logos/logo_elo_editora_texto_branco.png" : "/logos/logo_elo_institucional.png", h = a === "perabook" ? "PeraBook" : "Elo Editora", N =
|
|
2419
|
-
...
|
|
2420
|
-
href: (
|
|
2421
|
-
})).filter((
|
|
2418
|
+
const p = a === "perabook" ? g === "dark" ? "/logos/logo_PeraBook_institucional_tarja_branca.png" : "/logos/PeraBook_instituicional.png" : g === "dark" ? "/logos/logo_elo_editora_texto_branco.png" : "/logos/logo_elo_institucional.png", h = a === "perabook" ? "PeraBook" : "Elo Editora", N = vt.map((x) => ({
|
|
2419
|
+
...x,
|
|
2420
|
+
href: (s == null ? void 0 : s[x.key]) ?? x.href
|
|
2421
|
+
})).filter((x) => x.href), y = (s == null ? void 0 : s.phone) ?? "(11) 3000-0000", c = s == null ? void 0 : s.fullAddress, v = g === "dark" && (s == null ? void 0 : s.googlePlayBadgeUrlDark) || (s == null ? void 0 : s.googlePlayBadgeUrl) || "", m = g === "dark" && (s == null ? void 0 : s.appStoreBadgeUrlDark) || (s == null ? void 0 : s.appStoreBadgeUrl) || "", w = !!(v || m);
|
|
2422
2422
|
return /* @__PURE__ */ o(
|
|
2423
2423
|
"footer",
|
|
2424
2424
|
{
|
|
@@ -2426,7 +2426,7 @@ const yt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
|
|
|
2426
2426
|
"aria-label": "Rodapé do site",
|
|
2427
2427
|
...f,
|
|
2428
2428
|
children: [
|
|
2429
|
-
r !== void 0 ? r : /* @__PURE__ */ e(
|
|
2429
|
+
r !== void 0 ? r : /* @__PURE__ */ e(ht, { onSubmit: t }),
|
|
2430
2430
|
/* @__PURE__ */ o("div", { className: "mx-auto max-w-screen-xl px-4", children: [
|
|
2431
2431
|
/* @__PURE__ */ o("div", { className: "py-10 md:grid md:grid-cols-5 md:gap-8", children: [
|
|
2432
2432
|
/* @__PURE__ */ o("div", { className: "mb-8 md:mb-0", children: [
|
|
@@ -2443,20 +2443,19 @@ const yt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
|
|
|
2443
2443
|
/* @__PURE__ */ o("div", { className: "mt-6 space-y-1 text-sm", children: [
|
|
2444
2444
|
/* @__PURE__ */ e("p", { className: "text-[var(--muted-foreground)]", children: "Atendimento:" }),
|
|
2445
2445
|
/* @__PURE__ */ e("p", { className: "font-medium text-[var(--foreground)]", children: y }),
|
|
2446
|
-
/* @__PURE__ */ e("p", { className: "
|
|
2447
|
-
b && /* @__PURE__ */ e("p", { className: "whitespace-pre-line text-[var(--muted-foreground)]", children: b.replace(/\\n/g, `
|
|
2446
|
+
c && /* @__PURE__ */ e("p", { className: "whitespace-pre-line text-[var(--muted-foreground)]", children: c.replace(/\\n/g, `
|
|
2448
2447
|
`) })
|
|
2449
2448
|
] })
|
|
2450
2449
|
] }),
|
|
2451
|
-
(d ??
|
|
2450
|
+
(d ?? bt).map((x) => /* @__PURE__ */ e(xt, { title: x.title, links: x.links }, x.id)),
|
|
2452
2451
|
/* @__PURE__ */ o("div", { className: "mb-8 md:mb-0", children: [
|
|
2453
|
-
|
|
2452
|
+
w && /* @__PURE__ */ o(A, { children: [
|
|
2454
2453
|
/* @__PURE__ */ e("p", { className: "text-sm font-semibold uppercase tracking-wide text-[var(--foreground)]", children: "Baixe nosso app" }),
|
|
2455
2454
|
/* @__PURE__ */ o("div", { className: "mt-3 flex flex-col gap-2", children: [
|
|
2456
|
-
|
|
2455
|
+
v && /* @__PURE__ */ e(
|
|
2457
2456
|
"a",
|
|
2458
2457
|
{
|
|
2459
|
-
href:
|
|
2458
|
+
href: n ?? "#",
|
|
2460
2459
|
target: "_blank",
|
|
2461
2460
|
rel: "noopener noreferrer",
|
|
2462
2461
|
"aria-label": "Disponível no Google Play",
|
|
@@ -2464,17 +2463,17 @@ const yt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
|
|
|
2464
2463
|
children: /* @__PURE__ */ e(
|
|
2465
2464
|
"img",
|
|
2466
2465
|
{
|
|
2467
|
-
src:
|
|
2466
|
+
src: v,
|
|
2468
2467
|
alt: "Disponível no Google Play",
|
|
2469
2468
|
width: 135,
|
|
2470
2469
|
height: 40,
|
|
2471
2470
|
className: "h-10 w-[135px] object-contain"
|
|
2472
2471
|
},
|
|
2473
|
-
|
|
2472
|
+
v
|
|
2474
2473
|
)
|
|
2475
2474
|
}
|
|
2476
2475
|
),
|
|
2477
|
-
|
|
2476
|
+
m && /* @__PURE__ */ e(
|
|
2478
2477
|
"a",
|
|
2479
2478
|
{
|
|
2480
2479
|
href: l ?? "#",
|
|
@@ -2485,30 +2484,30 @@ const yt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
|
|
|
2485
2484
|
children: /* @__PURE__ */ e(
|
|
2486
2485
|
"img",
|
|
2487
2486
|
{
|
|
2488
|
-
src:
|
|
2487
|
+
src: m,
|
|
2489
2488
|
alt: "Disponível na App Store",
|
|
2490
2489
|
width: 135,
|
|
2491
2490
|
height: 40,
|
|
2492
2491
|
className: "h-10 w-[135px] object-contain"
|
|
2493
2492
|
},
|
|
2494
|
-
|
|
2493
|
+
m
|
|
2495
2494
|
)
|
|
2496
2495
|
}
|
|
2497
2496
|
)
|
|
2498
2497
|
] })
|
|
2499
2498
|
] }),
|
|
2500
2499
|
/* @__PURE__ */ e("p", { className: "mt-6 text-sm font-semibold uppercase tracking-wide text-[var(--foreground)]", children: "Compartilhe" }),
|
|
2501
|
-
/* @__PURE__ */ e("div", { className: "mt-3 flex flex-wrap gap-2", "aria-label": "Compartilhe nas redes sociais", children: N.map(({ label:
|
|
2500
|
+
/* @__PURE__ */ e("div", { className: "mt-3 flex flex-wrap gap-2", "aria-label": "Compartilhe nas redes sociais", children: N.map(({ label: x, href: _, Icon: ee }) => /* @__PURE__ */ e(
|
|
2502
2501
|
"a",
|
|
2503
2502
|
{
|
|
2504
|
-
href:
|
|
2503
|
+
href: _,
|
|
2505
2504
|
target: "_blank",
|
|
2506
2505
|
rel: "noopener noreferrer",
|
|
2507
|
-
"aria-label":
|
|
2506
|
+
"aria-label": x,
|
|
2508
2507
|
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)]",
|
|
2509
|
-
children: /* @__PURE__ */ e(
|
|
2508
|
+
children: /* @__PURE__ */ e(ee, { className: "h-4 w-4", "aria-hidden": "true" })
|
|
2510
2509
|
},
|
|
2511
|
-
|
|
2510
|
+
x
|
|
2512
2511
|
)) })
|
|
2513
2512
|
] })
|
|
2514
2513
|
] }),
|
|
@@ -2529,8 +2528,8 @@ const yt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
|
|
|
2529
2528
|
}
|
|
2530
2529
|
);
|
|
2531
2530
|
};
|
|
2532
|
-
|
|
2533
|
-
function
|
|
2531
|
+
Nt.displayName = "Footer";
|
|
2532
|
+
function sa({ children: a, className: t }) {
|
|
2534
2533
|
return /* @__PURE__ */ e(
|
|
2535
2534
|
"div",
|
|
2536
2535
|
{
|
|
@@ -2543,7 +2542,7 @@ function la({ children: a, className: t }) {
|
|
|
2543
2542
|
}
|
|
2544
2543
|
);
|
|
2545
2544
|
}
|
|
2546
|
-
const
|
|
2545
|
+
const yt = {
|
|
2547
2546
|
1: "col-span-1",
|
|
2548
2547
|
2: "col-span-2",
|
|
2549
2548
|
3: "col-span-3",
|
|
@@ -2551,77 +2550,77 @@ const wt = {
|
|
|
2551
2550
|
5: "col-span-5",
|
|
2552
2551
|
6: "col-span-6"
|
|
2553
2552
|
};
|
|
2554
|
-
function
|
|
2555
|
-
return /* @__PURE__ */ e("div", { "data-slot": "col", className: i("min-w-0", t &&
|
|
2553
|
+
function la({ children: a, span: t, className: r }) {
|
|
2554
|
+
return /* @__PURE__ */ e("div", { "data-slot": "col", className: i("min-w-0", t && yt[t], r), children: a });
|
|
2556
2555
|
}
|
|
2557
2556
|
export {
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2557
|
+
Ht as Accordion,
|
|
2558
|
+
Xt as AccordionContent,
|
|
2559
|
+
Qt as AccordionItem,
|
|
2560
|
+
Wt as AccordionTrigger,
|
|
2561
|
+
Be as Avatar,
|
|
2562
|
+
L as Badge,
|
|
2563
|
+
It as Breadcrumb,
|
|
2564
|
+
Ft as BreadcrumbItem,
|
|
2565
|
+
qt as BreadcrumbLink,
|
|
2566
|
+
Vt as BreadcrumbList,
|
|
2567
|
+
Ut as BreadcrumbPage,
|
|
2568
|
+
Gt as BreadcrumbSeparator,
|
|
2569
|
+
j as Button,
|
|
2570
|
+
Lt as Checkbox,
|
|
2571
|
+
la as Col,
|
|
2572
|
+
ot as Container,
|
|
2573
|
+
ea as DialogContent,
|
|
2574
|
+
ia as DialogDescription,
|
|
2575
|
+
aa as DialogFooter,
|
|
2576
|
+
ta as DialogHeader,
|
|
2577
|
+
ra as DialogTitle,
|
|
2578
|
+
Jt as DialogTrigger,
|
|
2579
|
+
Te as Divider,
|
|
2580
|
+
Oe as Drawer,
|
|
2581
|
+
Z as EmptyState,
|
|
2582
|
+
We as ErrorState,
|
|
2583
|
+
Nt as Footer,
|
|
2584
|
+
Ge as FormGroup,
|
|
2585
|
+
sa as Grid,
|
|
2586
|
+
Qe as Hero,
|
|
2587
|
+
st as HeroCarousel,
|
|
2588
|
+
Mt as Input,
|
|
2589
|
+
pt as MegaMenu,
|
|
2590
|
+
Zt as Modal,
|
|
2591
|
+
qe as PriceDisplay,
|
|
2592
|
+
V as ProductCard,
|
|
2593
|
+
Xe as ProductGrid,
|
|
2594
|
+
fa as ProgressBar,
|
|
2595
|
+
Ue as QuantitySelector,
|
|
2596
|
+
Rt as RadioGroup,
|
|
2597
|
+
Tt as RadioGroupItem,
|
|
2598
|
+
I as Rating,
|
|
2599
|
+
Fe as SearchBar,
|
|
2600
|
+
At as Select,
|
|
2601
|
+
_t as SelectContent,
|
|
2602
|
+
Bt as SelectItem,
|
|
2603
|
+
Et as SelectTrigger,
|
|
2604
|
+
Pt as SelectValue,
|
|
2605
|
+
at as SheetContent,
|
|
2606
|
+
na as SheetDescription,
|
|
2607
|
+
oa as SheetFooter,
|
|
2608
|
+
rt as SheetHeader,
|
|
2609
|
+
it as SheetTitle,
|
|
2610
|
+
Ze as SheetTrigger,
|
|
2611
|
+
Re as Spinner,
|
|
2612
|
+
Pe as Textarea,
|
|
2613
|
+
$t as Toggle,
|
|
2614
|
+
Yt as Tooltip,
|
|
2615
|
+
Ot as TooltipContent,
|
|
2616
|
+
He as TooltipProvider,
|
|
2617
|
+
Kt as TooltipTrigger,
|
|
2618
|
+
nt as TopAccessibilityBar,
|
|
2619
|
+
_e as avatarVariants,
|
|
2620
|
+
Ee as badgeVariants,
|
|
2621
|
+
Ae as buttonVariants,
|
|
2623
2622
|
i as cn,
|
|
2624
|
-
|
|
2625
|
-
|
|
2623
|
+
Le as spinnerVariants,
|
|
2624
|
+
ua as toast
|
|
2626
2625
|
};
|
|
2627
2626
|
//# sourceMappingURL=index.js.map
|