@ciromaciel/components-kit 1.6.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components-kit.css +1 -1
- package/dist/index.esm.js +721 -635
- package/dist/index.js +4 -4
- package/package.json +5 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { createTheme as
|
|
2
|
-
import { jsxs as r, jsx as e, Fragment as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { AreaChart as
|
|
7
|
-
const
|
|
1
|
+
import { createTheme as ze, Stack as u, Group as f, Badge as P, Text as t, Title as D, Center as B, Box as x, Button as U, CopyButton as Se, Tooltip as ae, ActionIcon as X, useMantineColorScheme as Ie, Container as E, Flex as Te, Loader as Ae, Paper as T, SimpleGrid as A, Image as _, List as $, ThemeIcon as S, Grid as z, RingProgress as ke, Anchor as me, UnstyledButton as Fe, TextInput as ne, Divider as L, SegmentedControl as Ce, Accordion as j, Avatar as De } from "@mantine/core";
|
|
2
|
+
import { jsxs as r, jsx as e, Fragment as ie } from "react/jsx-runtime";
|
|
3
|
+
import { useReducedMotion as qe, useMounted as Be, useColorScheme as Ee, useWindowScroll as Pe, useMediaQuery as Le } from "@mantine/hooks";
|
|
4
|
+
import { isValidElement as Me, useState as G, useMemo as je, Fragment as Ne, useEffect as ue, useRef as Oe } from "react";
|
|
5
|
+
import { IconCheck as H, IconCopy as Re, IconMoon as $e, IconSun as Ve, IconDeviceDesktop as We, IconArrowUpRight as Ue, IconShieldCheck as fe, IconBolt as oe, IconQuote as _e, IconArrowLeft as Ge, IconCircleCheck as He, IconCloudLock as ye, IconEyeOff as Ke, IconUserShield as Qe, IconScale as Ye, IconUserCheck as Xe, IconFileDescription as Je, IconBan as Ze, IconAlertCircle as er, IconShieldLock as rr, IconDatabase as ar, IconUsers as tr, IconActivity as nr } from "@tabler/icons-react";
|
|
6
|
+
import { AreaChart as ir } from "@mantine/charts";
|
|
7
|
+
const Nr = ze({
|
|
8
|
+
// As transições do próprio Mantine (Modal, Menu, Popover) também seguem
|
|
9
|
+
// "Reduzir movimento".
|
|
10
|
+
respectReducedMotion: !0,
|
|
8
11
|
fontFamily: 'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
|
|
9
12
|
headings: {
|
|
10
13
|
fontFamily: 'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
|
|
@@ -233,18 +236,18 @@ const Br = ve({
|
|
|
233
236
|
}
|
|
234
237
|
}
|
|
235
238
|
});
|
|
236
|
-
function xe({ badge: a, subtitle: s, title:
|
|
237
|
-
return !
|
|
239
|
+
function xe({ badge: a, subtitle: s, title: o, titleOrder: i = 2, titleFz: n = "var(--fz-section-title)", ta: l = "left", maw: p }) {
|
|
240
|
+
return !o && !s && !a ? null : /* @__PURE__ */ r(
|
|
238
241
|
u,
|
|
239
242
|
{
|
|
240
243
|
gap: "xs",
|
|
241
|
-
align:
|
|
242
|
-
ta:
|
|
244
|
+
align: l === "center" ? "center" : "flex-start",
|
|
245
|
+
ta: l,
|
|
243
246
|
children: [
|
|
244
247
|
a && /* @__PURE__ */ e(
|
|
245
248
|
f,
|
|
246
249
|
{
|
|
247
|
-
justify:
|
|
250
|
+
justify: l === "center" ? "center" : "flex-start",
|
|
248
251
|
mb: "xs",
|
|
249
252
|
children: /* @__PURE__ */ e(
|
|
250
253
|
P,
|
|
@@ -269,41 +272,43 @@ function xe({ badge: a, subtitle: s, title: l, titleOrder: i = 2, titleFz: n = "
|
|
|
269
272
|
children: s
|
|
270
273
|
}
|
|
271
274
|
),
|
|
272
|
-
|
|
273
|
-
|
|
275
|
+
o && /* @__PURE__ */ e(
|
|
276
|
+
D,
|
|
274
277
|
{
|
|
275
278
|
order: i,
|
|
276
279
|
fz: n,
|
|
277
|
-
maw:
|
|
278
|
-
children:
|
|
280
|
+
maw: p,
|
|
281
|
+
children: o
|
|
279
282
|
}
|
|
280
283
|
)
|
|
281
284
|
]
|
|
282
285
|
}
|
|
283
286
|
);
|
|
284
287
|
}
|
|
285
|
-
function be({ video: a, image: s, width:
|
|
286
|
-
|
|
288
|
+
function be({ video: a, image: s, width: o = "100%", maw: i, alt: n }) {
|
|
289
|
+
const l = qe();
|
|
290
|
+
return a ? /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
287
291
|
x,
|
|
288
292
|
{
|
|
289
293
|
component: "video",
|
|
290
294
|
src: a.src,
|
|
291
|
-
autoPlay: !
|
|
295
|
+
autoPlay: !l,
|
|
292
296
|
loop: !0,
|
|
293
297
|
muted: !0,
|
|
294
298
|
playsInline: !0,
|
|
299
|
+
controls: !0,
|
|
295
300
|
"aria-label": n || "Demonstração em vídeo",
|
|
296
|
-
w: a.width ||
|
|
301
|
+
w: a.width || o,
|
|
297
302
|
h: "auto",
|
|
298
303
|
style: { filter: a.filter || "none" }
|
|
299
304
|
}
|
|
300
|
-
) }) : s ? /* @__PURE__ */ e(
|
|
305
|
+
) }) : s ? /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
301
306
|
x,
|
|
302
307
|
{
|
|
303
308
|
component: "img",
|
|
304
309
|
src: s,
|
|
305
310
|
alt: n || "",
|
|
306
|
-
w:
|
|
311
|
+
w: o,
|
|
307
312
|
h: "auto",
|
|
308
313
|
maw: i
|
|
309
314
|
}
|
|
@@ -312,16 +317,16 @@ function be({ video: a, image: s, width: l = "100%", maw: i, alt: n }) {
|
|
|
312
317
|
function M({
|
|
313
318
|
label: a,
|
|
314
319
|
href: s,
|
|
315
|
-
onClick:
|
|
320
|
+
onClick: o,
|
|
316
321
|
icon: i,
|
|
317
322
|
size: n = "lg",
|
|
318
|
-
variant:
|
|
319
|
-
color:
|
|
323
|
+
variant: l = "filled",
|
|
324
|
+
color: p,
|
|
320
325
|
target: d,
|
|
321
|
-
px:
|
|
326
|
+
px: h,
|
|
322
327
|
fullWidth: c,
|
|
323
328
|
leftSection: m,
|
|
324
|
-
className:
|
|
329
|
+
className: g,
|
|
325
330
|
...b
|
|
326
331
|
}) {
|
|
327
332
|
return /* @__PURE__ */ e(
|
|
@@ -330,21 +335,21 @@ function M({
|
|
|
330
335
|
size: n,
|
|
331
336
|
component: s ? "a" : "button",
|
|
332
337
|
href: s,
|
|
333
|
-
onClick:
|
|
338
|
+
onClick: o,
|
|
334
339
|
target: d,
|
|
335
340
|
rightSection: i,
|
|
336
341
|
leftSection: m,
|
|
337
|
-
variant:
|
|
338
|
-
color:
|
|
339
|
-
px:
|
|
342
|
+
variant: l,
|
|
343
|
+
color: p,
|
|
344
|
+
px: h,
|
|
340
345
|
fullWidth: c,
|
|
341
|
-
className:
|
|
346
|
+
className: g ? `rlg-cta ${g}` : "rlg-cta",
|
|
342
347
|
...b,
|
|
343
348
|
children: a
|
|
344
349
|
}
|
|
345
350
|
);
|
|
346
351
|
}
|
|
347
|
-
function
|
|
352
|
+
function or({ children: a, fz: s = 28, c: o = "gray.9", ...i }) {
|
|
348
353
|
return /* @__PURE__ */ e(
|
|
349
354
|
t,
|
|
350
355
|
{
|
|
@@ -352,7 +357,7 @@ function nr({ children: a, fz: s = 28, c: l = "gray.9", ...i }) {
|
|
|
352
357
|
fz: s,
|
|
353
358
|
fw: 900,
|
|
354
359
|
lh: 1,
|
|
355
|
-
c:
|
|
360
|
+
c: o,
|
|
356
361
|
display: "block",
|
|
357
362
|
...i,
|
|
358
363
|
style: { whiteSpace: "nowrap", ...i.style },
|
|
@@ -360,8 +365,8 @@ function nr({ children: a, fz: s = 28, c: l = "gray.9", ...i }) {
|
|
|
360
365
|
}
|
|
361
366
|
);
|
|
362
367
|
}
|
|
363
|
-
function
|
|
364
|
-
return a ?
|
|
368
|
+
function re({ logo: a, objectPosition: s = "left" }) {
|
|
369
|
+
return a ? Me(a) ? a : typeof a == "object" && a.src ? /* @__PURE__ */ e(
|
|
365
370
|
"img",
|
|
366
371
|
{
|
|
367
372
|
src: a.src,
|
|
@@ -372,10 +377,83 @@ function ee({ logo: a, objectPosition: s = "left" }) {
|
|
|
372
377
|
}
|
|
373
378
|
) : a : null;
|
|
374
379
|
}
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
380
|
+
const lr = "by Ciro Cesar Maciel";
|
|
381
|
+
function sr(a) {
|
|
382
|
+
return /* @__PURE__ */ e(
|
|
383
|
+
"svg",
|
|
384
|
+
{
|
|
385
|
+
viewBox: "80 40 320 420",
|
|
386
|
+
"aria-hidden": "true",
|
|
387
|
+
focusable: "false",
|
|
388
|
+
...a,
|
|
389
|
+
children: /* @__PURE__ */ e(
|
|
390
|
+
"path",
|
|
391
|
+
{
|
|
392
|
+
d: "M144 50L298 50L307 58L308 68L265 160L380 164L388 169L390 185L224 447L212 449L204 444L213 294L100 290L91 284L134 58Z",
|
|
393
|
+
fill: "currentColor",
|
|
394
|
+
stroke: "currentColor",
|
|
395
|
+
strokeWidth: "16",
|
|
396
|
+
strokeLinejoin: "round",
|
|
397
|
+
strokeLinecap: "round"
|
|
398
|
+
}
|
|
399
|
+
)
|
|
400
|
+
}
|
|
401
|
+
);
|
|
402
|
+
}
|
|
403
|
+
const cr = (a) => Math.max(11, Math.round(0.21 * a * 10) / 10);
|
|
404
|
+
function Or({ word: a, height: s = 40, signature: o = lr, style: i, ...n }) {
|
|
405
|
+
return /* @__PURE__ */ r(
|
|
406
|
+
"span",
|
|
407
|
+
{
|
|
408
|
+
role: "img",
|
|
409
|
+
"aria-label": `${a} ${o}`,
|
|
410
|
+
"data-logotype": "",
|
|
411
|
+
...n,
|
|
412
|
+
style: {
|
|
413
|
+
display: "inline-flex",
|
|
414
|
+
alignItems: "center",
|
|
415
|
+
gap: "0.35em",
|
|
416
|
+
// The word is half the box: every other measure hangs from it.
|
|
417
|
+
fontSize: s / 2,
|
|
418
|
+
lineHeight: 1,
|
|
419
|
+
color: "var(--mantine-color-gray-9)",
|
|
420
|
+
whiteSpace: "nowrap",
|
|
421
|
+
...i
|
|
422
|
+
},
|
|
423
|
+
children: [
|
|
424
|
+
/* @__PURE__ */ e(sr, { style: { height: "1.6em", width: "auto", flex: "none" } }),
|
|
425
|
+
/* @__PURE__ */ r("span", { style: { display: "grid", justifyItems: "start" }, children: [
|
|
426
|
+
/* @__PURE__ */ e(
|
|
427
|
+
"span",
|
|
428
|
+
{
|
|
429
|
+
"data-logotype-word": "",
|
|
430
|
+
style: { fontWeight: 800, letterSpacing: "-0.02em" },
|
|
431
|
+
children: a
|
|
432
|
+
}
|
|
433
|
+
),
|
|
434
|
+
/* @__PURE__ */ e(
|
|
435
|
+
"span",
|
|
436
|
+
{
|
|
437
|
+
"data-logotype-signature": "",
|
|
438
|
+
style: {
|
|
439
|
+
fontWeight: 700,
|
|
440
|
+
fontSize: cr(s),
|
|
441
|
+
letterSpacing: "0.01em",
|
|
442
|
+
marginTop: "0.35em",
|
|
443
|
+
color: "var(--mantine-color-gray-6)"
|
|
444
|
+
},
|
|
445
|
+
children: o
|
|
446
|
+
}
|
|
447
|
+
)
|
|
448
|
+
] })
|
|
449
|
+
]
|
|
450
|
+
}
|
|
451
|
+
);
|
|
452
|
+
}
|
|
453
|
+
function dr({ children: a, label: s, chrome: o = !0, copy: i = !0, variant: n = "dark", style: l }) {
|
|
454
|
+
const p = typeof a == "string" ? a : String(a ?? ""), d = p.split(`
|
|
455
|
+
`).filter((g) => g.trimStart().startsWith("$ ")), h = d.length ? d.map((g) => g.trimStart().slice(2)).join(`
|
|
456
|
+
`) : p, c = n === "dark", m = c ? {
|
|
379
457
|
shell: "#11181C",
|
|
380
458
|
bar: "rgba(255, 255, 255, 0.06)",
|
|
381
459
|
line: "rgba(255, 255, 255, 0.10)",
|
|
@@ -401,10 +479,10 @@ function ir({ children: a, label: s, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
401
479
|
// sem reticências. `hidden` só na vertical preserva o recorte
|
|
402
480
|
// do cabeçalho; a horizontal fica com o <pre>, que tem auto.
|
|
403
481
|
overflowY: "hidden",
|
|
404
|
-
...
|
|
482
|
+
...l
|
|
405
483
|
},
|
|
406
484
|
children: [
|
|
407
|
-
|
|
485
|
+
o && /* @__PURE__ */ r(
|
|
408
486
|
f,
|
|
409
487
|
{
|
|
410
488
|
justify: "space-between",
|
|
@@ -422,14 +500,14 @@ function ir({ children: a, label: s, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
422
500
|
gap: 6,
|
|
423
501
|
wrap: "nowrap",
|
|
424
502
|
children: [
|
|
425
|
-
[0, 1, 2].map((
|
|
503
|
+
[0, 1, 2].map((g) => /* @__PURE__ */ e(
|
|
426
504
|
x,
|
|
427
505
|
{
|
|
428
506
|
w: 9,
|
|
429
507
|
h: 9,
|
|
430
508
|
style: { borderRadius: "50%", background: m.dot }
|
|
431
509
|
},
|
|
432
|
-
|
|
510
|
+
g
|
|
433
511
|
)),
|
|
434
512
|
s && /* @__PURE__ */ e(
|
|
435
513
|
x,
|
|
@@ -451,16 +529,16 @@ function ir({ children: a, label: s, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
451
529
|
i && /* @__PURE__ */ e(
|
|
452
530
|
Se,
|
|
453
531
|
{
|
|
454
|
-
value:
|
|
532
|
+
value: h,
|
|
455
533
|
timeout: 1600,
|
|
456
|
-
children: ({ copied:
|
|
457
|
-
|
|
534
|
+
children: ({ copied: g, copy: b }) => /* @__PURE__ */ e(
|
|
535
|
+
ae,
|
|
458
536
|
{
|
|
459
|
-
label:
|
|
537
|
+
label: g ? "Copiado" : "Copiar",
|
|
460
538
|
withArrow: !0,
|
|
461
539
|
position: "left",
|
|
462
540
|
children: /* @__PURE__ */ e(
|
|
463
|
-
|
|
541
|
+
X,
|
|
464
542
|
{
|
|
465
543
|
variant: "subtle",
|
|
466
544
|
size: "sm",
|
|
@@ -468,9 +546,9 @@ function ir({ children: a, label: s, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
468
546
|
onClick: b,
|
|
469
547
|
"aria-label": "Copiar codigo",
|
|
470
548
|
style: {
|
|
471
|
-
color:
|
|
549
|
+
color: g ? "var(--mantine-color-green-4)" : m.label
|
|
472
550
|
},
|
|
473
|
-
children:
|
|
551
|
+
children: g ? /* @__PURE__ */ e(H, { size: 14 }) : /* @__PURE__ */ e(Re, { size: 14 })
|
|
474
552
|
}
|
|
475
553
|
)
|
|
476
554
|
}
|
|
@@ -496,35 +574,36 @@ function ir({ children: a, label: s, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
496
574
|
overflowX: "auto",
|
|
497
575
|
tabSize: 2
|
|
498
576
|
},
|
|
499
|
-
children:
|
|
577
|
+
children: p
|
|
500
578
|
}
|
|
501
579
|
)
|
|
502
580
|
]
|
|
503
581
|
}
|
|
504
582
|
);
|
|
505
583
|
}
|
|
506
|
-
const le = { auto: "
|
|
507
|
-
function
|
|
508
|
-
const { colorScheme:
|
|
584
|
+
const le = { auto: "Automático", light: "Claro", dark: "Escuro" }, hr = { auto: We, light: Ve, dark: $e };
|
|
585
|
+
function pr({ size: a = 36, ...s }) {
|
|
586
|
+
const { colorScheme: o, setColorScheme: i } = Ie(), n = Be(), l = Ee("light"), p = n ? o : "auto", d = l === "dark" ? "light" : "dark", h = { auto: d, [d]: l, [l]: "auto" }[p] ?? "auto", c = hr[p], m = `Tema: ${le[p]}. Mudar para ${le[h]}.`;
|
|
509
587
|
return /* @__PURE__ */ e(
|
|
510
|
-
|
|
588
|
+
ae,
|
|
511
589
|
{
|
|
512
|
-
label:
|
|
590
|
+
label: m,
|
|
513
591
|
position: "top",
|
|
514
592
|
withArrow: !1,
|
|
593
|
+
events: { hover: !0, focus: !0, touch: !0 },
|
|
515
594
|
children: /* @__PURE__ */ e(
|
|
516
|
-
|
|
595
|
+
X,
|
|
517
596
|
{
|
|
518
597
|
"data-color-scheme-toggle": !0,
|
|
519
598
|
variant: "subtle",
|
|
520
599
|
color: "gray.9",
|
|
521
600
|
size: a,
|
|
522
601
|
radius: 0,
|
|
523
|
-
"aria-label":
|
|
524
|
-
onClick: () => i(
|
|
602
|
+
"aria-label": m,
|
|
603
|
+
onClick: () => i(h),
|
|
525
604
|
...s,
|
|
526
605
|
children: /* @__PURE__ */ e(
|
|
527
|
-
|
|
606
|
+
c,
|
|
528
607
|
{
|
|
529
608
|
size: 18,
|
|
530
609
|
stroke: 1.5,
|
|
@@ -541,25 +620,25 @@ const Z = {
|
|
|
541
620
|
// 'white' e a superficie ELEVADA (cartao, modal), e o palco e a base.
|
|
542
621
|
white: "gray.0",
|
|
543
622
|
gray: "gray.1"
|
|
544
|
-
},
|
|
545
|
-
function
|
|
546
|
-
const m =
|
|
623
|
+
}, N = (a) => a === "gray.9" || a === "dark" ? Z.gray : a === "white" ? Z.white : Z.gray;
|
|
624
|
+
function k({ children: a, badge: s, title: o, subtitle: i, id: n, background: l = "white", py: p = { base: 80, md: 120 }, maw: d = 800, ta: h = "left", stackGap: c = "xl" }) {
|
|
625
|
+
const m = N(l);
|
|
547
626
|
return /* @__PURE__ */ e(
|
|
548
627
|
x,
|
|
549
628
|
{
|
|
550
629
|
component: "section",
|
|
551
630
|
id: n,
|
|
552
631
|
bg: m,
|
|
553
|
-
py:
|
|
632
|
+
py: p,
|
|
554
633
|
style: { overflow: "hidden" },
|
|
555
|
-
children: /* @__PURE__ */ e(
|
|
634
|
+
children: /* @__PURE__ */ e(E, { size: "lg", children: /* @__PURE__ */ r(u, { gap: c, children: [
|
|
556
635
|
/* @__PURE__ */ e(
|
|
557
636
|
xe,
|
|
558
637
|
{
|
|
559
638
|
badge: s,
|
|
560
639
|
subtitle: i,
|
|
561
|
-
title:
|
|
562
|
-
ta:
|
|
640
|
+
title: o,
|
|
641
|
+
ta: h,
|
|
563
642
|
maw: d
|
|
564
643
|
}
|
|
565
644
|
),
|
|
@@ -568,14 +647,14 @@ function F({ children: a, badge: s, title: l, subtitle: i, id: n, background: o
|
|
|
568
647
|
}
|
|
569
648
|
);
|
|
570
649
|
}
|
|
571
|
-
function
|
|
650
|
+
function Rr({ brand: a, label: s = "Verificando sua sessão...", ...o }) {
|
|
572
651
|
return /* @__PURE__ */ e(
|
|
573
652
|
Te,
|
|
574
653
|
{
|
|
575
654
|
h: "100dvh",
|
|
576
655
|
justify: "center",
|
|
577
656
|
align: "center",
|
|
578
|
-
...
|
|
657
|
+
...o,
|
|
579
658
|
children: /* @__PURE__ */ r(
|
|
580
659
|
u,
|
|
581
660
|
{
|
|
@@ -583,7 +662,7 @@ function Pr({ brand: a, label: s = "Verificando sua sessão...", ...l }) {
|
|
|
583
662
|
gap: "md",
|
|
584
663
|
children: [
|
|
585
664
|
a ? /* @__PURE__ */ e(
|
|
586
|
-
|
|
665
|
+
or,
|
|
587
666
|
{
|
|
588
667
|
fz: 11,
|
|
589
668
|
fw: 800,
|
|
@@ -612,29 +691,31 @@ function Pr({ brand: a, label: s = "Verificando sua sessão...", ...l }) {
|
|
|
612
691
|
}
|
|
613
692
|
);
|
|
614
693
|
}
|
|
615
|
-
function
|
|
694
|
+
function $r({ children: a, style: s, ...o }) {
|
|
616
695
|
return /* @__PURE__ */ e(
|
|
617
696
|
x,
|
|
618
697
|
{
|
|
619
698
|
display: "flex",
|
|
620
|
-
...
|
|
699
|
+
...o,
|
|
621
700
|
style: {
|
|
622
701
|
flexDirection: "column",
|
|
623
702
|
minHeight: "100vh",
|
|
624
|
-
scrollBehavior: "smooth",
|
|
625
703
|
...s
|
|
626
704
|
},
|
|
627
705
|
children: a
|
|
628
706
|
}
|
|
629
707
|
);
|
|
630
708
|
}
|
|
709
|
+
function ee() {
|
|
710
|
+
return typeof window > "u" || !window.matchMedia || window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth";
|
|
711
|
+
}
|
|
631
712
|
function se({ cta: a, filled: s }) {
|
|
632
|
-
const { icon:
|
|
713
|
+
const { icon: o, label: i, labelMobile: n, component: l, ...p } = a;
|
|
633
714
|
return /* @__PURE__ */ e(
|
|
634
|
-
|
|
715
|
+
X,
|
|
635
716
|
{
|
|
636
|
-
...
|
|
637
|
-
component:
|
|
717
|
+
...p,
|
|
718
|
+
component: l || (a.href ? "a" : "button"),
|
|
638
719
|
className: "ck-cta-icon",
|
|
639
720
|
"aria-label": i,
|
|
640
721
|
title: i,
|
|
@@ -643,7 +724,7 @@ function se({ cta: a, filled: s }) {
|
|
|
643
724
|
color: "gray.9",
|
|
644
725
|
variant: s ? "filled" : "subtle",
|
|
645
726
|
children: /* @__PURE__ */ e(
|
|
646
|
-
|
|
727
|
+
o,
|
|
647
728
|
{
|
|
648
729
|
size: 20,
|
|
649
730
|
stroke: 1.5
|
|
@@ -652,11 +733,11 @@ function se({ cta: a, filled: s }) {
|
|
|
652
733
|
}
|
|
653
734
|
);
|
|
654
735
|
}
|
|
655
|
-
function
|
|
656
|
-
const
|
|
657
|
-
y === "top" ? window.scrollTo({ top: 0, behavior:
|
|
658
|
-
}, b = (y,
|
|
659
|
-
(y.key === "Enter" || y.key === " ") && (y.preventDefault(),
|
|
736
|
+
function gr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n, background: l = "white", logoMinWidth: p = 176, withColorScheme: d = !0 }) {
|
|
737
|
+
const h = N(l), [c] = Pe(), m = c.y > 10, g = (y) => {
|
|
738
|
+
y === "top" ? window.scrollTo({ top: 0, behavior: ee() }) : document.getElementById(y)?.scrollIntoView({ behavior: ee() });
|
|
739
|
+
}, b = (y, v) => {
|
|
740
|
+
(y.key === "Enter" || y.key === " ") && (y.preventDefault(), g(v));
|
|
660
741
|
};
|
|
661
742
|
return /* @__PURE__ */ e(
|
|
662
743
|
x,
|
|
@@ -667,7 +748,7 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
667
748
|
w: "100%",
|
|
668
749
|
style: { zIndex: 100, pointerEvents: "none" },
|
|
669
750
|
children: /* @__PURE__ */ e(
|
|
670
|
-
|
|
751
|
+
E,
|
|
671
752
|
{
|
|
672
753
|
size: "xl",
|
|
673
754
|
py: "md",
|
|
@@ -679,9 +760,9 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
679
760
|
radius: "0",
|
|
680
761
|
py: "xs",
|
|
681
762
|
px: "sm",
|
|
682
|
-
bg:
|
|
763
|
+
bg: h,
|
|
683
764
|
bd: m ? "1px solid var(--mantine-color-gray-2)" : "1px solid transparent",
|
|
684
|
-
style: { pointerEvents: "auto", transition: "
|
|
765
|
+
style: { pointerEvents: "auto", transition: "background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease" },
|
|
685
766
|
children: /* @__PURE__ */ r(
|
|
686
767
|
f,
|
|
687
768
|
{
|
|
@@ -690,16 +771,16 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
690
771
|
wrap: "nowrap",
|
|
691
772
|
children: [
|
|
692
773
|
a && (() => {
|
|
693
|
-
const y = { display: "inline-flex", textDecoration: "none", minWidth:
|
|
774
|
+
const y = { display: "inline-flex", textDecoration: "none", minWidth: p, flex: "0 1 auto" };
|
|
694
775
|
if (s) {
|
|
695
|
-
const { component:
|
|
776
|
+
const { component: v = "a", ...F } = s;
|
|
696
777
|
return /* @__PURE__ */ e(
|
|
697
|
-
|
|
778
|
+
v,
|
|
698
779
|
{
|
|
699
|
-
...
|
|
780
|
+
...F,
|
|
700
781
|
"aria-label": "Ir para a página inicial",
|
|
701
782
|
style: y,
|
|
702
|
-
children: /* @__PURE__ */ e(
|
|
783
|
+
children: /* @__PURE__ */ e(re, { logo: a })
|
|
703
784
|
}
|
|
704
785
|
);
|
|
705
786
|
}
|
|
@@ -708,15 +789,15 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
708
789
|
{
|
|
709
790
|
href: "#",
|
|
710
791
|
"aria-label": "Voltar ao topo",
|
|
711
|
-
onClick: (
|
|
712
|
-
|
|
792
|
+
onClick: (v) => {
|
|
793
|
+
v.preventDefault(), window.scrollTo({ top: 0, behavior: ee() });
|
|
713
794
|
},
|
|
714
795
|
style: y,
|
|
715
|
-
children: /* @__PURE__ */ e(
|
|
796
|
+
children: /* @__PURE__ */ e(re, { logo: a })
|
|
716
797
|
}
|
|
717
798
|
);
|
|
718
799
|
})(),
|
|
719
|
-
|
|
800
|
+
o.length > 0 && /* FROM 1200px (`lg`), NOT FROM 768px. Four links, the
|
|
720
801
|
logo and two buttons need about 1 250px on one line;
|
|
721
802
|
from `sm` the nav wrapped into two rows and pushed the
|
|
722
803
|
second button under the first, doubling the sticky bar
|
|
@@ -731,7 +812,7 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
731
812
|
component: "nav",
|
|
732
813
|
role: "navigation",
|
|
733
814
|
"aria-label": "Menu principal",
|
|
734
|
-
children:
|
|
815
|
+
children: o.map((y) => /* @__PURE__ */ e(
|
|
735
816
|
t,
|
|
736
817
|
{
|
|
737
818
|
size: "sm",
|
|
@@ -744,8 +825,8 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
744
825
|
role: y.component ? void 0 : "link",
|
|
745
826
|
tabIndex: y.component ? void 0 : 0,
|
|
746
827
|
style: { cursor: "pointer", ...y.style },
|
|
747
|
-
onClick: y.target ? () =>
|
|
748
|
-
onKeyDown: y.target ? (
|
|
828
|
+
onClick: y.target ? () => g(y.target) : y.onClick,
|
|
829
|
+
onKeyDown: y.target ? (v) => b(v, y.target) : y.onKeyDown,
|
|
749
830
|
children: y.label
|
|
750
831
|
},
|
|
751
832
|
y.label
|
|
@@ -759,7 +840,7 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
759
840
|
wrap: "nowrap",
|
|
760
841
|
style: { flexShrink: 0 },
|
|
761
842
|
children: [
|
|
762
|
-
d && /* @__PURE__ */ e(
|
|
843
|
+
d && /* @__PURE__ */ e(pr, {}),
|
|
763
844
|
i && /* @__PURE__ */ r(
|
|
764
845
|
x,
|
|
765
846
|
{
|
|
@@ -771,7 +852,7 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
771
852
|
U,
|
|
772
853
|
{
|
|
773
854
|
variant: "subtle",
|
|
774
|
-
...(({ icon: y, ...
|
|
855
|
+
...(({ icon: y, ...v }) => v)(i),
|
|
775
856
|
component: i.component || (i.href ? "a" : "button"),
|
|
776
857
|
className: "ck-cta-label",
|
|
777
858
|
c: "gray.7",
|
|
@@ -794,7 +875,7 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
794
875
|
/* @__PURE__ */ r(
|
|
795
876
|
U,
|
|
796
877
|
{
|
|
797
|
-
...(({ icon: y, ...
|
|
878
|
+
...(({ icon: y, ...v }) => v)(n),
|
|
798
879
|
component: n.component || (n.href ? "a" : "button"),
|
|
799
880
|
className: "ck-cta-label",
|
|
800
881
|
size: "sm",
|
|
@@ -850,20 +931,20 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
850
931
|
}
|
|
851
932
|
);
|
|
852
933
|
}
|
|
853
|
-
const
|
|
934
|
+
const Vr = gr, ce = {
|
|
854
935
|
root: { height: "auto", maxWidth: "100%" },
|
|
855
936
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
856
937
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
857
938
|
};
|
|
858
|
-
function
|
|
859
|
-
const b = !!(
|
|
939
|
+
function Wr({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, note: l, video: p, image: d, background: h = "white", mediaMaw: c, titleFz: m = "var(--fz-hero)", descriptionFz: g = "xl" }) {
|
|
940
|
+
const b = !!(p || d);
|
|
860
941
|
return /* @__PURE__ */ e(
|
|
861
942
|
x,
|
|
862
943
|
{
|
|
863
944
|
py: { base: 80, sm: 100, md: 140 },
|
|
864
945
|
id: "hero",
|
|
865
|
-
bg:
|
|
866
|
-
children: /* @__PURE__ */ e(
|
|
946
|
+
bg: h,
|
|
947
|
+
children: /* @__PURE__ */ e(E, { size: "lg", children: /* @__PURE__ */ r(
|
|
867
948
|
A,
|
|
868
949
|
{
|
|
869
950
|
cols: { base: 1, md: b ? 2 : 1 },
|
|
@@ -878,7 +959,7 @@ function Nr({ subtitle: a, title: s, description: l, cta: i, secondaryCta: n, no
|
|
|
878
959
|
gap: { base: 32, md: 48 },
|
|
879
960
|
ta: b ? { base: "center", md: "left" } : "center",
|
|
880
961
|
children: [
|
|
881
|
-
/* @__PURE__ */ e(
|
|
962
|
+
/* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
882
963
|
xe,
|
|
883
964
|
{
|
|
884
965
|
subtitle: a,
|
|
@@ -889,17 +970,17 @@ function Nr({ subtitle: a, title: s, description: l, cta: i, secondaryCta: n, no
|
|
|
889
970
|
maw: b ? void 0 : 940
|
|
890
971
|
}
|
|
891
972
|
) }),
|
|
892
|
-
|
|
973
|
+
o && /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
893
974
|
t,
|
|
894
975
|
{
|
|
895
|
-
size:
|
|
976
|
+
size: g,
|
|
896
977
|
c: "gray.6",
|
|
897
978
|
lh: 1.6,
|
|
898
979
|
maw: 600,
|
|
899
|
-
children:
|
|
980
|
+
children: o
|
|
900
981
|
}
|
|
901
982
|
) }),
|
|
902
|
-
(i || n) && /* @__PURE__ */ e(
|
|
983
|
+
(i || n) && /* @__PURE__ */ e(B, { children: /* @__PURE__ */ r(
|
|
903
984
|
f,
|
|
904
985
|
{
|
|
905
986
|
gap: "md",
|
|
@@ -943,7 +1024,7 @@ function Nr({ subtitle: a, title: s, description: l, cta: i, secondaryCta: n, no
|
|
|
943
1024
|
]
|
|
944
1025
|
}
|
|
945
1026
|
) }),
|
|
946
|
-
|
|
1027
|
+
l && /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
947
1028
|
t,
|
|
948
1029
|
{
|
|
949
1030
|
size: "sm",
|
|
@@ -951,7 +1032,7 @@ function Nr({ subtitle: a, title: s, description: l, cta: i, secondaryCta: n, no
|
|
|
951
1032
|
maw: 620,
|
|
952
1033
|
fw: 500,
|
|
953
1034
|
lh: 1.7,
|
|
954
|
-
children:
|
|
1035
|
+
children: l
|
|
955
1036
|
}
|
|
956
1037
|
) })
|
|
957
1038
|
]
|
|
@@ -960,7 +1041,7 @@ function Nr({ subtitle: a, title: s, description: l, cta: i, secondaryCta: n, no
|
|
|
960
1041
|
b && /* @__PURE__ */ e(
|
|
961
1042
|
be,
|
|
962
1043
|
{
|
|
963
|
-
video:
|
|
1044
|
+
video: p,
|
|
964
1045
|
image: d,
|
|
965
1046
|
maw: c,
|
|
966
1047
|
alt: "Demonstração do produto"
|
|
@@ -972,8 +1053,8 @@ function Nr({ subtitle: a, title: s, description: l, cta: i, secondaryCta: n, no
|
|
|
972
1053
|
}
|
|
973
1054
|
);
|
|
974
1055
|
}
|
|
975
|
-
function
|
|
976
|
-
const
|
|
1056
|
+
function mr({ logo: a, index: s }) {
|
|
1057
|
+
const o = {
|
|
977
1058
|
src: a.src,
|
|
978
1059
|
alt: a.alt || `Logo ${s}`,
|
|
979
1060
|
h: a.height || 50,
|
|
@@ -990,18 +1071,18 @@ function cr({ logo: a, index: s }) {
|
|
|
990
1071
|
i.currentTarget.style.filter = "grayscale(1) opacity(0.4)";
|
|
991
1072
|
}
|
|
992
1073
|
};
|
|
993
|
-
return a.url ? /* @__PURE__ */ e(
|
|
1074
|
+
return a.url ? /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
994
1075
|
"a",
|
|
995
1076
|
{
|
|
996
1077
|
href: a.url,
|
|
997
1078
|
target: "_blank",
|
|
998
1079
|
rel: "noopener noreferrer",
|
|
999
|
-
children: /* @__PURE__ */ e(_, { ...
|
|
1080
|
+
children: /* @__PURE__ */ e(_, { ...o })
|
|
1000
1081
|
}
|
|
1001
|
-
) }) : /* @__PURE__ */ e(
|
|
1082
|
+
) }) : /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(_, { ...o }) });
|
|
1002
1083
|
}
|
|
1003
|
-
function
|
|
1004
|
-
return !
|
|
1084
|
+
function Ur({ id: a, title: s, logos: o, background: i = "gray" }) {
|
|
1085
|
+
return !o || o.length === 0 ? null : /* @__PURE__ */ e(
|
|
1005
1086
|
x,
|
|
1006
1087
|
{
|
|
1007
1088
|
component: "section",
|
|
@@ -1009,7 +1090,7 @@ function Or({ id: a, title: s, logos: l, background: i = "gray" }) {
|
|
|
1009
1090
|
py: { base: 40, md: 60 },
|
|
1010
1091
|
bg: i,
|
|
1011
1092
|
bd: { bottom: "1px solid var(--mantine-color-gray-2)" },
|
|
1012
|
-
children: /* @__PURE__ */ e(
|
|
1093
|
+
children: /* @__PURE__ */ e(E, { size: "lg", children: /* @__PURE__ */ r(
|
|
1013
1094
|
u,
|
|
1014
1095
|
{
|
|
1015
1096
|
align: "center",
|
|
@@ -1034,13 +1115,13 @@ function Or({ id: a, title: s, logos: l, background: i = "gray" }) {
|
|
|
1034
1115
|
gap: { base: 40, md: 80 },
|
|
1035
1116
|
style: { rowGap: 40 },
|
|
1036
1117
|
w: "100%",
|
|
1037
|
-
children:
|
|
1038
|
-
|
|
1118
|
+
children: o.map((n, l) => /* @__PURE__ */ e(
|
|
1119
|
+
mr,
|
|
1039
1120
|
{
|
|
1040
1121
|
logo: n,
|
|
1041
|
-
index:
|
|
1122
|
+
index: l
|
|
1042
1123
|
},
|
|
1043
|
-
|
|
1124
|
+
l
|
|
1044
1125
|
))
|
|
1045
1126
|
}
|
|
1046
1127
|
)
|
|
@@ -1050,8 +1131,8 @@ function Or({ id: a, title: s, logos: l, background: i = "gray" }) {
|
|
|
1050
1131
|
}
|
|
1051
1132
|
);
|
|
1052
1133
|
}
|
|
1053
|
-
function
|
|
1054
|
-
const b =
|
|
1134
|
+
function _r({ id: a, subtitle: s, title: o, description: i, descriptionFz: n, featuresList: l, cta: p, video: d, image: h, reverse: c = !1, background: m = "white", mediaMaw: g }) {
|
|
1135
|
+
const b = l && l.length > 0 && /* @__PURE__ */ e(
|
|
1055
1136
|
$,
|
|
1056
1137
|
{
|
|
1057
1138
|
spacing: "md",
|
|
@@ -1064,7 +1145,7 @@ function Lr({ id: a, subtitle: s, title: l, description: i, descriptionFz: n, fe
|
|
|
1064
1145
|
size: 24,
|
|
1065
1146
|
radius: "0",
|
|
1066
1147
|
children: /* @__PURE__ */ e(
|
|
1067
|
-
|
|
1148
|
+
H,
|
|
1068
1149
|
{
|
|
1069
1150
|
size: 14,
|
|
1070
1151
|
color: "var(--mantine-color-gray-9)"
|
|
@@ -1072,7 +1153,7 @@ function Lr({ id: a, subtitle: s, title: l, description: i, descriptionFz: n, fe
|
|
|
1072
1153
|
)
|
|
1073
1154
|
}
|
|
1074
1155
|
),
|
|
1075
|
-
children:
|
|
1156
|
+
children: l.map((F, I) => /* @__PURE__ */ e($.Item, { children: F }, I))
|
|
1076
1157
|
}
|
|
1077
1158
|
), y = /* @__PURE__ */ r(
|
|
1078
1159
|
u,
|
|
@@ -1101,20 +1182,20 @@ function Lr({ id: a, subtitle: s, title: l, description: i, descriptionFz: n, fe
|
|
|
1101
1182
|
}
|
|
1102
1183
|
),
|
|
1103
1184
|
b,
|
|
1104
|
-
|
|
1185
|
+
p && /* @__PURE__ */ e(f, { mt: "md", children: /* @__PURE__ */ e(
|
|
1105
1186
|
M,
|
|
1106
1187
|
{
|
|
1107
|
-
label:
|
|
1108
|
-
href:
|
|
1109
|
-
icon:
|
|
1110
|
-
size:
|
|
1111
|
-
variant:
|
|
1112
|
-
color:
|
|
1188
|
+
label: p.label,
|
|
1189
|
+
href: p.href,
|
|
1190
|
+
icon: p.icon,
|
|
1191
|
+
size: p.size || "lg",
|
|
1192
|
+
variant: p.variant,
|
|
1193
|
+
color: p.color
|
|
1113
1194
|
}
|
|
1114
1195
|
) })
|
|
1115
1196
|
]
|
|
1116
1197
|
}
|
|
1117
|
-
),
|
|
1198
|
+
), v = (d || h) && /* 80% SÓ A PARTIR DO `md`, e a coluna inteira abaixo disso.
|
|
1118
1199
|
|
|
1119
1200
|
No desktop a mídia divide a linha com o texto, e os 80% deixam o ar
|
|
1120
1201
|
que separa uma coluna da outra. No celular não há duas colunas: o
|
|
@@ -1131,17 +1212,17 @@ function Lr({ id: a, subtitle: s, title: l, description: i, descriptionFz: n, fe
|
|
|
1131
1212
|
be,
|
|
1132
1213
|
{
|
|
1133
1214
|
video: d,
|
|
1134
|
-
image:
|
|
1215
|
+
image: h,
|
|
1135
1216
|
width: { base: "100%", md: "80%" },
|
|
1136
|
-
maw:
|
|
1217
|
+
maw: g
|
|
1137
1218
|
}
|
|
1138
1219
|
);
|
|
1139
1220
|
return /* @__PURE__ */ e(
|
|
1140
|
-
|
|
1221
|
+
k,
|
|
1141
1222
|
{
|
|
1142
1223
|
id: a,
|
|
1143
1224
|
subtitle: s,
|
|
1144
|
-
title:
|
|
1225
|
+
title: o,
|
|
1145
1226
|
background: m,
|
|
1146
1227
|
children: /* @__PURE__ */ e(
|
|
1147
1228
|
A,
|
|
@@ -1149,27 +1230,27 @@ function Lr({ id: a, subtitle: s, title: l, description: i, descriptionFz: n, fe
|
|
|
1149
1230
|
cols: { base: 1, md: 2 },
|
|
1150
1231
|
spacing: { base: 40, md: 80 },
|
|
1151
1232
|
verticalSpacing: { base: 40, md: 50 },
|
|
1152
|
-
children: c ? /* @__PURE__ */ r(
|
|
1153
|
-
|
|
1233
|
+
children: c ? /* @__PURE__ */ r(ie, { children: [
|
|
1234
|
+
v,
|
|
1154
1235
|
y
|
|
1155
|
-
] }) : /* @__PURE__ */ r(
|
|
1236
|
+
] }) : /* @__PURE__ */ r(ie, { children: [
|
|
1156
1237
|
y,
|
|
1157
|
-
|
|
1238
|
+
v
|
|
1158
1239
|
] })
|
|
1159
1240
|
}
|
|
1160
1241
|
)
|
|
1161
1242
|
}
|
|
1162
1243
|
);
|
|
1163
1244
|
}
|
|
1164
|
-
function
|
|
1245
|
+
function Gr({ id: a, badge: s, subtitle: o, title: i, description: n, background: l = "gray", items: p = [], ta: d = "left", note: h }) {
|
|
1165
1246
|
return /* @__PURE__ */ r(
|
|
1166
|
-
|
|
1247
|
+
k,
|
|
1167
1248
|
{
|
|
1168
1249
|
id: a,
|
|
1169
1250
|
badge: s,
|
|
1170
|
-
subtitle:
|
|
1251
|
+
subtitle: o,
|
|
1171
1252
|
title: i,
|
|
1172
|
-
background:
|
|
1253
|
+
background: l,
|
|
1173
1254
|
ta: d,
|
|
1174
1255
|
maw: d === "center" ? 900 : 800,
|
|
1175
1256
|
children: [
|
|
@@ -1186,14 +1267,14 @@ function Rr({ id: a, badge: s, subtitle: l, title: i, description: n, background
|
|
|
1186
1267
|
children: n
|
|
1187
1268
|
}
|
|
1188
1269
|
),
|
|
1189
|
-
/* @__PURE__ */ e(
|
|
1190
|
-
|
|
1270
|
+
/* @__PURE__ */ e(z, { gutter: "lg", children: p.map((c, m) => /* @__PURE__ */ e(
|
|
1271
|
+
ur,
|
|
1191
1272
|
{
|
|
1192
1273
|
...c
|
|
1193
1274
|
},
|
|
1194
1275
|
m
|
|
1195
1276
|
)) }),
|
|
1196
|
-
|
|
1277
|
+
h && /* @__PURE__ */ e(
|
|
1197
1278
|
t,
|
|
1198
1279
|
{
|
|
1199
1280
|
c: "gray.6",
|
|
@@ -1203,40 +1284,40 @@ function Rr({ id: a, badge: s, subtitle: l, title: i, description: n, background
|
|
|
1203
1284
|
mx: d === "center" ? "auto" : void 0,
|
|
1204
1285
|
lh: 1.7,
|
|
1205
1286
|
fs: "italic",
|
|
1206
|
-
children:
|
|
1287
|
+
children: h
|
|
1207
1288
|
}
|
|
1208
1289
|
)
|
|
1209
1290
|
]
|
|
1210
1291
|
}
|
|
1211
1292
|
);
|
|
1212
1293
|
}
|
|
1213
|
-
function
|
|
1294
|
+
function ur({
|
|
1214
1295
|
icon: a,
|
|
1215
1296
|
iconVariant: s,
|
|
1216
|
-
iconColor:
|
|
1297
|
+
iconColor: o,
|
|
1217
1298
|
label: i,
|
|
1218
1299
|
title: n,
|
|
1219
|
-
titleSize:
|
|
1220
|
-
description:
|
|
1300
|
+
titleSize: l,
|
|
1301
|
+
description: p,
|
|
1221
1302
|
descriptionSize: d,
|
|
1222
|
-
descriptionMaw:
|
|
1303
|
+
descriptionMaw: h,
|
|
1223
1304
|
span: c = { base: 12, md: 6 },
|
|
1224
1305
|
background: m = "white",
|
|
1225
|
-
visual:
|
|
1306
|
+
visual: g,
|
|
1226
1307
|
secondaryVisual: b,
|
|
1227
1308
|
layout: y = "stacked",
|
|
1228
|
-
badges:
|
|
1309
|
+
badges: v,
|
|
1229
1310
|
// Acoes do card, no shape universal de cta: { label, href, icon, variant }.
|
|
1230
1311
|
// Sao dados, nunca JSX — o card monta os botoes, o consumidor so declara.
|
|
1231
|
-
actions:
|
|
1312
|
+
actions: F,
|
|
1232
1313
|
codeBlock: I,
|
|
1233
1314
|
// layout="split": quantas das 12 colunas o codigo ocupa. O padrao 6
|
|
1234
1315
|
// divide o card ao meio; suba para 7 quando as linhas forem longas.
|
|
1235
|
-
codeSpan:
|
|
1316
|
+
codeSpan: q = 6,
|
|
1236
1317
|
// Rotulo da barra do terminal (ex: "bash", "index.js").
|
|
1237
1318
|
codeLabel: w,
|
|
1238
|
-
decorativeContent:
|
|
1239
|
-
style:
|
|
1319
|
+
decorativeContent: O,
|
|
1320
|
+
style: C,
|
|
1240
1321
|
...R
|
|
1241
1322
|
}) {
|
|
1242
1323
|
const K = /* @__PURE__ */ r(x, { children: [
|
|
@@ -1246,7 +1327,7 @@ function dr({
|
|
|
1246
1327
|
size: 48,
|
|
1247
1328
|
radius: "0",
|
|
1248
1329
|
variant: s || "light",
|
|
1249
|
-
color:
|
|
1330
|
+
color: o || "gray",
|
|
1250
1331
|
mb: "lg",
|
|
1251
1332
|
children: /* @__PURE__ */ e(
|
|
1252
1333
|
a,
|
|
@@ -1272,7 +1353,7 @@ function dr({
|
|
|
1272
1353
|
n && /* @__PURE__ */ e(
|
|
1273
1354
|
t,
|
|
1274
1355
|
{
|
|
1275
|
-
fz:
|
|
1356
|
+
fz: l || (y === "compact" ? "h4" : "h3"),
|
|
1276
1357
|
fw: 900,
|
|
1277
1358
|
lh: 1.2,
|
|
1278
1359
|
mb: "sm",
|
|
@@ -1280,17 +1361,17 @@ function dr({
|
|
|
1280
1361
|
children: n
|
|
1281
1362
|
}
|
|
1282
1363
|
),
|
|
1283
|
-
|
|
1364
|
+
p && /* @__PURE__ */ e(
|
|
1284
1365
|
t,
|
|
1285
1366
|
{
|
|
1286
1367
|
c: "gray.6",
|
|
1287
1368
|
size: d || (y === "compact" ? "sm" : "lg"),
|
|
1288
|
-
maw:
|
|
1289
|
-
mb:
|
|
1290
|
-
children:
|
|
1369
|
+
maw: h,
|
|
1370
|
+
mb: v ? "xl" : y === "compact" ? "lg" : void 0,
|
|
1371
|
+
children: p
|
|
1291
1372
|
}
|
|
1292
1373
|
),
|
|
1293
|
-
|
|
1374
|
+
v && v.length > 0 && /* @__PURE__ */ e(f, { children: v.map((J, Q) => /* @__PURE__ */ e(
|
|
1294
1375
|
P,
|
|
1295
1376
|
{
|
|
1296
1377
|
variant: "dot",
|
|
@@ -1300,12 +1381,12 @@ function dr({
|
|
|
1300
1381
|
},
|
|
1301
1382
|
Q
|
|
1302
1383
|
)) }),
|
|
1303
|
-
|
|
1384
|
+
F && F.length > 0 && /* @__PURE__ */ e(
|
|
1304
1385
|
f,
|
|
1305
1386
|
{
|
|
1306
1387
|
gap: "sm",
|
|
1307
1388
|
mt: "xl",
|
|
1308
|
-
children:
|
|
1389
|
+
children: F.map((J, Q) => /* @__PURE__ */ e(
|
|
1309
1390
|
M,
|
|
1310
1391
|
{
|
|
1311
1392
|
size: "md",
|
|
@@ -1316,66 +1397,66 @@ function dr({
|
|
|
1316
1397
|
))
|
|
1317
1398
|
}
|
|
1318
1399
|
)
|
|
1319
|
-
] }), V =
|
|
1320
|
-
return y === "split" ? /* @__PURE__ */ e(
|
|
1400
|
+
] }), V = g ? de(g) : null, te = b ? de(b) : null;
|
|
1401
|
+
return y === "split" ? /* @__PURE__ */ e(z.Col, { span: c, children: /* @__PURE__ */ e(
|
|
1321
1402
|
T,
|
|
1322
1403
|
{
|
|
1323
1404
|
h: "100%",
|
|
1324
1405
|
p: { base: "xl", md: 40 },
|
|
1325
1406
|
radius: "0",
|
|
1326
|
-
bg:
|
|
1407
|
+
bg: N(m),
|
|
1327
1408
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1328
|
-
style:
|
|
1409
|
+
style: C,
|
|
1329
1410
|
...R,
|
|
1330
1411
|
children: /* @__PURE__ */ r(
|
|
1331
|
-
|
|
1412
|
+
z,
|
|
1332
1413
|
{
|
|
1333
1414
|
align: "center",
|
|
1334
1415
|
gutter: "xl",
|
|
1335
1416
|
children: [
|
|
1336
|
-
/* @__PURE__ */ e(
|
|
1337
|
-
/* @__PURE__ */ r(
|
|
1417
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 12 - q }, children: K }),
|
|
1418
|
+
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm: q }, children: [
|
|
1338
1419
|
V,
|
|
1339
|
-
I && /* @__PURE__ */ e(
|
|
1420
|
+
I && /* @__PURE__ */ e(dr, { label: w, children: I })
|
|
1340
1421
|
] })
|
|
1341
1422
|
]
|
|
1342
1423
|
}
|
|
1343
1424
|
)
|
|
1344
1425
|
}
|
|
1345
|
-
) }) : y === "compact" ? /* @__PURE__ */ e(
|
|
1426
|
+
) }) : y === "compact" ? /* @__PURE__ */ e(z.Col, { span: c, children: /* @__PURE__ */ r(
|
|
1346
1427
|
T,
|
|
1347
1428
|
{
|
|
1348
1429
|
h: "100%",
|
|
1349
1430
|
p: { base: "xl", md: 40 },
|
|
1350
1431
|
radius: "0",
|
|
1351
|
-
bg:
|
|
1432
|
+
bg: N(m),
|
|
1352
1433
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1353
|
-
style:
|
|
1434
|
+
style: C,
|
|
1354
1435
|
...R,
|
|
1355
1436
|
children: [
|
|
1356
1437
|
K,
|
|
1357
1438
|
V
|
|
1358
1439
|
]
|
|
1359
1440
|
}
|
|
1360
|
-
) }) :
|
|
1441
|
+
) }) : O ? /* @__PURE__ */ e(z.Col, { span: c, children: /* @__PURE__ */ e(
|
|
1361
1442
|
T,
|
|
1362
1443
|
{
|
|
1363
1444
|
h: "100%",
|
|
1364
1445
|
p: { base: "xl", md: 40 },
|
|
1365
1446
|
radius: "0",
|
|
1366
|
-
bg:
|
|
1447
|
+
bg: N(m),
|
|
1367
1448
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1368
1449
|
pos: "relative",
|
|
1369
|
-
style:
|
|
1450
|
+
style: C,
|
|
1370
1451
|
...R,
|
|
1371
1452
|
children: /* @__PURE__ */ r(
|
|
1372
|
-
|
|
1453
|
+
z,
|
|
1373
1454
|
{
|
|
1374
1455
|
gutter: 0,
|
|
1375
1456
|
pos: "relative",
|
|
1376
1457
|
children: [
|
|
1377
1458
|
/* @__PURE__ */ e(
|
|
1378
|
-
|
|
1459
|
+
z.Col,
|
|
1379
1460
|
{
|
|
1380
1461
|
span: { base: 12, sm: 7 },
|
|
1381
1462
|
style: { zIndex: 1 },
|
|
@@ -1383,42 +1464,42 @@ function dr({
|
|
|
1383
1464
|
}
|
|
1384
1465
|
),
|
|
1385
1466
|
/* @__PURE__ */ e(
|
|
1386
|
-
|
|
1467
|
+
z.Col,
|
|
1387
1468
|
{
|
|
1388
1469
|
span: 5,
|
|
1389
1470
|
visibleFrom: "sm",
|
|
1390
|
-
children:
|
|
1471
|
+
children: O
|
|
1391
1472
|
}
|
|
1392
1473
|
)
|
|
1393
1474
|
]
|
|
1394
1475
|
}
|
|
1395
1476
|
)
|
|
1396
1477
|
}
|
|
1397
|
-
) }) : /* @__PURE__ */ e(
|
|
1478
|
+
) }) : /* @__PURE__ */ e(z.Col, { span: c, children: /* @__PURE__ */ r(
|
|
1398
1479
|
T,
|
|
1399
1480
|
{
|
|
1400
1481
|
h: "100%",
|
|
1401
1482
|
p: { base: "xl", md: 40 },
|
|
1402
1483
|
radius: "0",
|
|
1403
|
-
bg:
|
|
1484
|
+
bg: N(m),
|
|
1404
1485
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1405
1486
|
display: "flex",
|
|
1406
1487
|
style: {
|
|
1407
1488
|
flexDirection: "column",
|
|
1408
1489
|
justifyContent: "space-between",
|
|
1409
|
-
...
|
|
1490
|
+
...C
|
|
1410
1491
|
},
|
|
1411
1492
|
...R,
|
|
1412
1493
|
children: [
|
|
1413
1494
|
K,
|
|
1414
|
-
V &&
|
|
1495
|
+
V && te ? /* @__PURE__ */ r(
|
|
1415
1496
|
f,
|
|
1416
1497
|
{
|
|
1417
1498
|
gap: 40,
|
|
1418
1499
|
align: "center",
|
|
1419
1500
|
children: [
|
|
1420
1501
|
V,
|
|
1421
|
-
|
|
1502
|
+
te
|
|
1422
1503
|
]
|
|
1423
1504
|
}
|
|
1424
1505
|
) : V
|
|
@@ -1431,12 +1512,12 @@ function de(a) {
|
|
|
1431
1512
|
switch (a.type) {
|
|
1432
1513
|
case "ring":
|
|
1433
1514
|
return /* @__PURE__ */ e(
|
|
1434
|
-
|
|
1515
|
+
ke,
|
|
1435
1516
|
{
|
|
1436
1517
|
size: a.size || 140,
|
|
1437
1518
|
thickness: a.thickness || 12,
|
|
1438
1519
|
sections: [{ value: a.value || 100, color: "gray.7" }],
|
|
1439
|
-
label: /* @__PURE__ */ e(
|
|
1520
|
+
label: /* @__PURE__ */ e(B, { children: /* @__PURE__ */ r(
|
|
1440
1521
|
u,
|
|
1441
1522
|
{
|
|
1442
1523
|
gap: 0,
|
|
@@ -1506,21 +1587,21 @@ function de(a) {
|
|
|
1506
1587
|
gap: 8,
|
|
1507
1588
|
h: a.height || 100,
|
|
1508
1589
|
preventGrowOverflow: !1,
|
|
1509
|
-
children: (a.data || []).map((s,
|
|
1590
|
+
children: (a.data || []).map((s, o) => /* @__PURE__ */ e(
|
|
1510
1591
|
x,
|
|
1511
1592
|
{
|
|
1512
1593
|
w: 20,
|
|
1513
1594
|
h: `${s}%`,
|
|
1514
|
-
bg:
|
|
1595
|
+
bg: o === a.highlight ? "gray.5" : "gray.2",
|
|
1515
1596
|
radius: "0"
|
|
1516
1597
|
},
|
|
1517
|
-
|
|
1598
|
+
o
|
|
1518
1599
|
))
|
|
1519
1600
|
}
|
|
1520
1601
|
);
|
|
1521
1602
|
case "typography":
|
|
1522
1603
|
return /* @__PURE__ */ e(
|
|
1523
|
-
|
|
1604
|
+
B,
|
|
1524
1605
|
{
|
|
1525
1606
|
h: a.height || 160,
|
|
1526
1607
|
bg: "gray.0",
|
|
@@ -1553,22 +1634,22 @@ function de(a) {
|
|
|
1553
1634
|
return null;
|
|
1554
1635
|
}
|
|
1555
1636
|
}
|
|
1556
|
-
function
|
|
1557
|
-
const
|
|
1637
|
+
function Hr({ id: a, subtitle: s, title: o, items: i = [], cols: n, background: l = "white", ta: p = "center", note: d }) {
|
|
1638
|
+
const h = n ?? Math.min(Math.max(i.length, 1), 4);
|
|
1558
1639
|
return /* @__PURE__ */ r(
|
|
1559
|
-
|
|
1640
|
+
k,
|
|
1560
1641
|
{
|
|
1561
1642
|
id: a,
|
|
1562
1643
|
subtitle: s,
|
|
1563
|
-
title:
|
|
1564
|
-
background:
|
|
1565
|
-
ta:
|
|
1644
|
+
title: o,
|
|
1645
|
+
background: l,
|
|
1646
|
+
ta: p,
|
|
1566
1647
|
maw: 900,
|
|
1567
1648
|
children: [
|
|
1568
1649
|
/* @__PURE__ */ e(
|
|
1569
1650
|
A,
|
|
1570
1651
|
{
|
|
1571
|
-
cols: { base: 1, sm:
|
|
1652
|
+
cols: { base: 1, sm: h === 3 ? 3 : 2, lg: h },
|
|
1572
1653
|
spacing: 0,
|
|
1573
1654
|
children: i.map((c, m) => /* @__PURE__ */ r(
|
|
1574
1655
|
T,
|
|
@@ -1647,20 +1728,20 @@ const W = {
|
|
|
1647
1728
|
degraded: { color: "yellow.7", chart: "yellow.7", title: "Desempenho degradado", badge: "Degradado" },
|
|
1648
1729
|
down: { color: "red.7", chart: "red.7", title: "Interrupção em andamento", badge: "Fora do ar" },
|
|
1649
1730
|
loading: { color: "gray.4", chart: "gray.5", title: "Verificando os sistemas", badge: "Verificando" }
|
|
1650
|
-
},
|
|
1731
|
+
}, fr = (a) => {
|
|
1651
1732
|
if (!a) return null;
|
|
1652
1733
|
const s = new Date(a);
|
|
1653
1734
|
return Number.isNaN(s.getTime()) ? null : s.toLocaleString("pt-BR", { dateStyle: "short", timeStyle: "medium" });
|
|
1654
1735
|
};
|
|
1655
|
-
function
|
|
1656
|
-
const d =
|
|
1736
|
+
function Kr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], latency: n = [], uptime: l = [], error: p }) {
|
|
1737
|
+
const d = p ? W.down : W[s] || W.loading, h = fr(o);
|
|
1657
1738
|
return /* @__PURE__ */ e(
|
|
1658
1739
|
x,
|
|
1659
1740
|
{
|
|
1660
1741
|
component: "section",
|
|
1661
1742
|
bg: "white",
|
|
1662
1743
|
children: /* @__PURE__ */ e(
|
|
1663
|
-
|
|
1744
|
+
E,
|
|
1664
1745
|
{
|
|
1665
1746
|
size: "lg",
|
|
1666
1747
|
py: 80,
|
|
@@ -1697,14 +1778,14 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1697
1778
|
}
|
|
1698
1779
|
),
|
|
1699
1780
|
/* @__PURE__ */ e(
|
|
1700
|
-
|
|
1781
|
+
D,
|
|
1701
1782
|
{
|
|
1702
1783
|
order: 1,
|
|
1703
1784
|
fz: { base: 32, md: 56 },
|
|
1704
1785
|
fw: 900,
|
|
1705
1786
|
lts: "-0.04em",
|
|
1706
1787
|
lh: 1.05,
|
|
1707
|
-
children:
|
|
1788
|
+
children: p ? "Não foi possível verificar" : d.title
|
|
1708
1789
|
}
|
|
1709
1790
|
)
|
|
1710
1791
|
]
|
|
@@ -1715,21 +1796,21 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1715
1796
|
{
|
|
1716
1797
|
size: "sm",
|
|
1717
1798
|
c: "gray.5",
|
|
1718
|
-
children:
|
|
1799
|
+
children: p ? (
|
|
1719
1800
|
// O erro é da consulta feita pelo navegador, não do serviço:
|
|
1720
1801
|
// dizer "fora do ar" aqui seria afirmar mais do que se sabe.
|
|
1721
1802
|
"Esta página não conseguiu falar com o serviço. Pode ser a sua conexão — ou o próprio serviço."
|
|
1722
|
-
) :
|
|
1803
|
+
) : h ? `Última verificação em ${h}` : "Verificando…"
|
|
1723
1804
|
}
|
|
1724
1805
|
)
|
|
1725
1806
|
] }),
|
|
1726
|
-
(
|
|
1807
|
+
(l.length > 0 || n.length > 0) && /* @__PURE__ */ r(
|
|
1727
1808
|
A,
|
|
1728
1809
|
{
|
|
1729
1810
|
cols: { base: 1, md: 2 },
|
|
1730
1811
|
spacing: 48,
|
|
1731
1812
|
children: [
|
|
1732
|
-
|
|
1813
|
+
l.length > 0 && /* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
1733
1814
|
/* @__PURE__ */ r(u, { gap: 4, children: [
|
|
1734
1815
|
/* @__PURE__ */ e(
|
|
1735
1816
|
t,
|
|
@@ -1751,7 +1832,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1751
1832
|
lh: 1,
|
|
1752
1833
|
lts: "-0.04em",
|
|
1753
1834
|
children: [
|
|
1754
|
-
(
|
|
1835
|
+
(l.reduce((c, m) => c + m.pct, 0) / l.length).toFixed(2),
|
|
1755
1836
|
/* @__PURE__ */ e(
|
|
1756
1837
|
t,
|
|
1757
1838
|
{
|
|
@@ -1773,8 +1854,8 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1773
1854
|
h: 140,
|
|
1774
1855
|
align: "flex-end",
|
|
1775
1856
|
wrap: "nowrap",
|
|
1776
|
-
children:
|
|
1777
|
-
|
|
1857
|
+
children: l.map((c, m) => /* @__PURE__ */ e(
|
|
1858
|
+
ae,
|
|
1778
1859
|
{
|
|
1779
1860
|
label: `${c.day} · ${c.pct.toFixed(2)}%`,
|
|
1780
1861
|
withArrow: !0,
|
|
@@ -1830,7 +1911,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1830
1911
|
)
|
|
1831
1912
|
] }),
|
|
1832
1913
|
/* @__PURE__ */ e(
|
|
1833
|
-
|
|
1914
|
+
ir,
|
|
1834
1915
|
{
|
|
1835
1916
|
h: 140,
|
|
1836
1917
|
data: n,
|
|
@@ -1863,7 +1944,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1863
1944
|
}
|
|
1864
1945
|
),
|
|
1865
1946
|
i.map((c, m) => {
|
|
1866
|
-
const
|
|
1947
|
+
const g = W[c.status] || W.loading;
|
|
1867
1948
|
return /* @__PURE__ */ r(
|
|
1868
1949
|
T,
|
|
1869
1950
|
{
|
|
@@ -1893,7 +1974,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1893
1974
|
w: 7,
|
|
1894
1975
|
h: 7,
|
|
1895
1976
|
mt: 7,
|
|
1896
|
-
bg:
|
|
1977
|
+
bg: g.color,
|
|
1897
1978
|
style: { borderRadius: "50%", flexShrink: 0 }
|
|
1898
1979
|
}
|
|
1899
1980
|
),
|
|
@@ -1943,9 +2024,9 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1943
2024
|
P,
|
|
1944
2025
|
{
|
|
1945
2026
|
variant: "dot",
|
|
1946
|
-
color:
|
|
2027
|
+
color: g.color.split(".")[0],
|
|
1947
2028
|
visibleFrom: "sm",
|
|
1948
|
-
children:
|
|
2029
|
+
children: g.badge
|
|
1949
2030
|
}
|
|
1950
2031
|
)
|
|
1951
2032
|
]
|
|
@@ -1984,7 +2065,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1984
2065
|
tt: "uppercase",
|
|
1985
2066
|
lts: "1.5px",
|
|
1986
2067
|
c: "gray.4",
|
|
1987
|
-
children:
|
|
2068
|
+
children: yr[b] || b
|
|
1988
2069
|
}
|
|
1989
2070
|
)
|
|
1990
2071
|
]
|
|
@@ -2014,7 +2095,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
2014
2095
|
}
|
|
2015
2096
|
);
|
|
2016
2097
|
}
|
|
2017
|
-
const
|
|
2098
|
+
const yr = {
|
|
2018
2099
|
activeSessions: "Sessões ativas",
|
|
2019
2100
|
pendingVerifications: "Verificações pendentes",
|
|
2020
2101
|
publicKeys: "Chaves públicas",
|
|
@@ -2024,14 +2105,14 @@ const pr = {
|
|
|
2024
2105
|
degraded: { color: "yellow.7", label: "Desempenho degradado" },
|
|
2025
2106
|
down: { color: "red.7", label: "Interrupção em andamento" },
|
|
2026
2107
|
loading: { color: "gray.4", label: "Verificando status" }
|
|
2027
|
-
},
|
|
2028
|
-
function
|
|
2029
|
-
const
|
|
2108
|
+
}, Y = 20;
|
|
2109
|
+
function Qr({ status: a = "loading", history: s = [], label: o, link: i, ...n }) {
|
|
2110
|
+
const l = he[a] || he.loading, p = s.slice(-Y), d = Array(Math.max(0, Y - p.length)).fill(null), h = [...d, ...p];
|
|
2030
2111
|
return /* @__PURE__ */ e(
|
|
2031
2112
|
me,
|
|
2032
2113
|
{
|
|
2033
2114
|
underline: "never",
|
|
2034
|
-
"aria-label": `${
|
|
2115
|
+
"aria-label": `${o || l.label}. Ver página de status`,
|
|
2035
2116
|
...i,
|
|
2036
2117
|
...n,
|
|
2037
2118
|
children: /* @__PURE__ */ r(
|
|
@@ -2044,22 +2125,22 @@ function Wr({ status: a = "loading", history: s = [], label: l, link: i, ...n })
|
|
|
2044
2125
|
x,
|
|
2045
2126
|
{
|
|
2046
2127
|
component: "svg",
|
|
2047
|
-
viewBox: `0 0 ${
|
|
2048
|
-
w:
|
|
2128
|
+
viewBox: `0 0 ${Y * 4 - 1} 16`,
|
|
2129
|
+
w: Y * 4 - 1,
|
|
2049
2130
|
h: 16,
|
|
2050
2131
|
"aria-hidden": "true",
|
|
2051
2132
|
style: { display: "block", overflow: "visible" },
|
|
2052
|
-
children:
|
|
2053
|
-
const
|
|
2133
|
+
children: h.map((c, m) => {
|
|
2134
|
+
const g = c === null ? 2 : Math.max(2, c * 16), b = h.length - d.length - 1 || 1, y = m - d.length;
|
|
2054
2135
|
return /* @__PURE__ */ e(
|
|
2055
2136
|
x,
|
|
2056
2137
|
{
|
|
2057
2138
|
component: "rect",
|
|
2058
2139
|
x: m * 4,
|
|
2059
|
-
y: 16 -
|
|
2140
|
+
y: 16 - g,
|
|
2060
2141
|
width: 3,
|
|
2061
|
-
height:
|
|
2062
|
-
fill: c === null ? "var(--mantine-color-gray-2)" : `var(--mantine-color-${
|
|
2142
|
+
height: g,
|
|
2143
|
+
fill: c === null ? "var(--mantine-color-gray-2)" : `var(--mantine-color-${l.color.replace(".", "-")})`,
|
|
2063
2144
|
opacity: c === null ? 0.6 : 0.55 + y / b * 0.45
|
|
2064
2145
|
},
|
|
2065
2146
|
m
|
|
@@ -2076,7 +2157,7 @@ function Wr({ status: a = "loading", history: s = [], label: l, link: i, ...n })
|
|
|
2076
2157
|
lts: "1px",
|
|
2077
2158
|
c: "gray.5",
|
|
2078
2159
|
style: { whiteSpace: "nowrap" },
|
|
2079
|
-
children:
|
|
2160
|
+
children: o || l.label
|
|
2080
2161
|
}
|
|
2081
2162
|
)
|
|
2082
2163
|
]
|
|
@@ -2085,34 +2166,34 @@ function Wr({ status: a = "loading", history: s = [], label: l, link: i, ...n })
|
|
|
2085
2166
|
}
|
|
2086
2167
|
);
|
|
2087
2168
|
}
|
|
2088
|
-
function
|
|
2169
|
+
function Yr({ id: a, subtitle: s, title: o, description: i, items: n = [], ctaIcon: l, note: p, background: d = "white", ta: h = "center" }) {
|
|
2089
2170
|
return /* @__PURE__ */ r(
|
|
2090
|
-
|
|
2171
|
+
k,
|
|
2091
2172
|
{
|
|
2092
2173
|
id: a,
|
|
2093
2174
|
subtitle: s,
|
|
2094
|
-
title:
|
|
2175
|
+
title: o,
|
|
2095
2176
|
background: d,
|
|
2096
|
-
ta:
|
|
2177
|
+
ta: h,
|
|
2097
2178
|
maw: 900,
|
|
2098
2179
|
children: [
|
|
2099
2180
|
i && /* @__PURE__ */ e(
|
|
2100
2181
|
t,
|
|
2101
2182
|
{
|
|
2102
2183
|
c: "gray.6",
|
|
2103
|
-
ta:
|
|
2184
|
+
ta: h,
|
|
2104
2185
|
mb: 80,
|
|
2105
2186
|
maw: 780,
|
|
2106
|
-
mx:
|
|
2187
|
+
mx: h === "center" ? "auto" : void 0,
|
|
2107
2188
|
size: "lg",
|
|
2108
2189
|
lh: 1.6,
|
|
2109
2190
|
children: i
|
|
2110
2191
|
}
|
|
2111
2192
|
),
|
|
2112
|
-
/* @__PURE__ */ e(
|
|
2113
|
-
const
|
|
2193
|
+
/* @__PURE__ */ e(z, { gutter: "xl", children: n.map((c, m) => {
|
|
2194
|
+
const g = c.icon;
|
|
2114
2195
|
return /* @__PURE__ */ e(
|
|
2115
|
-
|
|
2196
|
+
z.Col,
|
|
2116
2197
|
{
|
|
2117
2198
|
span: { base: 12, md: c.span || 6 },
|
|
2118
2199
|
children: /* @__PURE__ */ r(
|
|
@@ -2147,7 +2228,7 @@ function Ur({ id: a, subtitle: s, title: l, description: i, items: n = [], ctaIc
|
|
|
2147
2228
|
}
|
|
2148
2229
|
),
|
|
2149
2230
|
/* @__PURE__ */ e(
|
|
2150
|
-
|
|
2231
|
+
D,
|
|
2151
2232
|
{
|
|
2152
2233
|
order: 3,
|
|
2153
2234
|
fz: "h2",
|
|
@@ -2157,8 +2238,8 @@ function Ur({ id: a, subtitle: s, title: l, description: i, items: n = [], ctaIc
|
|
|
2157
2238
|
}
|
|
2158
2239
|
)
|
|
2159
2240
|
] }),
|
|
2160
|
-
|
|
2161
|
-
|
|
2241
|
+
g && /* @__PURE__ */ e(
|
|
2242
|
+
g,
|
|
2162
2243
|
{
|
|
2163
2244
|
size: 28,
|
|
2164
2245
|
stroke: 1.5,
|
|
@@ -2201,7 +2282,7 @@ function Ur({ id: a, subtitle: s, title: l, description: i, items: n = [], ctaIc
|
|
|
2201
2282
|
variant: "default",
|
|
2202
2283
|
size: "md",
|
|
2203
2284
|
radius: "0",
|
|
2204
|
-
rightSection:
|
|
2285
|
+
rightSection: l,
|
|
2205
2286
|
style: {
|
|
2206
2287
|
width: "100%",
|
|
2207
2288
|
justifyContent: "space-between",
|
|
@@ -2220,34 +2301,34 @@ function Ur({ id: a, subtitle: s, title: l, description: i, items: n = [], ctaIc
|
|
|
2220
2301
|
c.name || m
|
|
2221
2302
|
);
|
|
2222
2303
|
}) }),
|
|
2223
|
-
|
|
2304
|
+
p && /* @__PURE__ */ e(
|
|
2224
2305
|
t,
|
|
2225
2306
|
{
|
|
2226
2307
|
size: "sm",
|
|
2227
2308
|
c: "gray.6",
|
|
2228
|
-
ta:
|
|
2309
|
+
ta: h,
|
|
2229
2310
|
mt: 60,
|
|
2230
2311
|
maw: 800,
|
|
2231
|
-
mx:
|
|
2312
|
+
mx: h === "center" ? "auto" : void 0,
|
|
2232
2313
|
lh: 1.6,
|
|
2233
2314
|
fs: "italic",
|
|
2234
|
-
children:
|
|
2315
|
+
children: p
|
|
2235
2316
|
}
|
|
2236
2317
|
)
|
|
2237
2318
|
]
|
|
2238
2319
|
}
|
|
2239
2320
|
);
|
|
2240
2321
|
}
|
|
2241
|
-
function
|
|
2322
|
+
function Xr({
|
|
2242
2323
|
id: a,
|
|
2243
2324
|
subtitle: s,
|
|
2244
|
-
title:
|
|
2325
|
+
title: o,
|
|
2245
2326
|
description: i,
|
|
2246
2327
|
items: n = [],
|
|
2247
|
-
categories:
|
|
2248
|
-
filtersLabel:
|
|
2328
|
+
categories: l = [],
|
|
2329
|
+
filtersLabel: p = "Filtrar por categoria",
|
|
2249
2330
|
note: d,
|
|
2250
|
-
background:
|
|
2331
|
+
background: h = "white",
|
|
2251
2332
|
// SEM DEFAULT COM PALAVRA DE PRODUTO. Este texto aparece na tela, e um
|
|
2252
2333
|
// default como "Conhecer a peça" faria o kit anunciar o vocabulário de um
|
|
2253
2334
|
// produto dentro de outro — o erro que já tirou a marca do topo com o
|
|
@@ -2255,8 +2336,8 @@ function _r({
|
|
|
2255
2336
|
// rótulo a chamada não é desenhada; quem chama diz a palavra.
|
|
2256
2337
|
ctaLabel: c
|
|
2257
2338
|
}) {
|
|
2258
|
-
const [m,
|
|
2259
|
-
return
|
|
2339
|
+
const [m, g] = G("todas"), b = Le("(min-width: 48em)", !1), y = je(() => m === "todas" ? n : [...n].sort((I, q) => +(q.category === m) - +(I.category === m)), [n, m]), [v, ...F] = y;
|
|
2340
|
+
return v ? (
|
|
2260
2341
|
// O CABEÇALHO É CENTRALIZADO, O CONTEÚDO NÃO. `ta="center"` no
|
|
2261
2342
|
// `Section` alinha o kicker, o título e — por herança — tudo que
|
|
2262
2343
|
// vier abaixo, incluindo o texto dentro dos cards. Por isso cada
|
|
@@ -2266,12 +2347,12 @@ function _r({
|
|
|
2266
2347
|
// recomeçar. Centralizado é o que se lê uma vez; à esquerda é o que
|
|
2267
2348
|
// se compara em coluna.
|
|
2268
2349
|
/* @__PURE__ */ r(
|
|
2269
|
-
|
|
2350
|
+
k,
|
|
2270
2351
|
{
|
|
2271
2352
|
id: a,
|
|
2272
2353
|
subtitle: s,
|
|
2273
|
-
title:
|
|
2274
|
-
background:
|
|
2354
|
+
title: o,
|
|
2355
|
+
background: h,
|
|
2275
2356
|
ta: "center",
|
|
2276
2357
|
children: [
|
|
2277
2358
|
i && /* @__PURE__ */ e(
|
|
@@ -2286,7 +2367,7 @@ function _r({
|
|
|
2286
2367
|
children: i
|
|
2287
2368
|
}
|
|
2288
2369
|
),
|
|
2289
|
-
|
|
2370
|
+
l.length > 0 && /* @__PURE__ */ e(
|
|
2290
2371
|
f,
|
|
2291
2372
|
{
|
|
2292
2373
|
gap: "xs",
|
|
@@ -2294,12 +2375,12 @@ function _r({
|
|
|
2294
2375
|
justify: b ? "center" : "flex-start",
|
|
2295
2376
|
wrap: "nowrap",
|
|
2296
2377
|
role: "group",
|
|
2297
|
-
"aria-label":
|
|
2378
|
+
"aria-label": p,
|
|
2298
2379
|
className: "rlg-shelf-filters",
|
|
2299
|
-
children:
|
|
2300
|
-
|
|
2380
|
+
children: l.map((I) => /* @__PURE__ */ e(
|
|
2381
|
+
Fe,
|
|
2301
2382
|
{
|
|
2302
|
-
onClick: () =>
|
|
2383
|
+
onClick: () => g(I.id),
|
|
2303
2384
|
className: "rlg-shelf-pill",
|
|
2304
2385
|
"data-active": m === I.id || void 0,
|
|
2305
2386
|
"aria-pressed": m === I.id,
|
|
@@ -2309,19 +2390,19 @@ function _r({
|
|
|
2309
2390
|
))
|
|
2310
2391
|
}
|
|
2311
2392
|
),
|
|
2312
|
-
/* @__PURE__ */ r(
|
|
2313
|
-
/* @__PURE__ */ e(
|
|
2314
|
-
|
|
2393
|
+
/* @__PURE__ */ r(z, { gutter: "lg", children: [
|
|
2394
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 5, xl: 4 }, children: /* @__PURE__ */ e(
|
|
2395
|
+
xr,
|
|
2315
2396
|
{
|
|
2316
|
-
item:
|
|
2397
|
+
item: v,
|
|
2317
2398
|
ctaLabel: c
|
|
2318
2399
|
}
|
|
2319
2400
|
) }),
|
|
2320
|
-
/* @__PURE__ */ e(
|
|
2321
|
-
|
|
2401
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 7, xl: 8 }, children: /* @__PURE__ */ e(z, { gutter: "lg", children: F.map((I) => /* @__PURE__ */ e(
|
|
2402
|
+
z.Col,
|
|
2322
2403
|
{
|
|
2323
2404
|
span: { base: 12, xs: 6, md: 4, lg: 6, xl: 4 },
|
|
2324
|
-
children: /* @__PURE__ */ e(
|
|
2405
|
+
children: /* @__PURE__ */ e(br, { item: I })
|
|
2325
2406
|
},
|
|
2326
2407
|
I.name
|
|
2327
2408
|
)) }) })
|
|
@@ -2349,8 +2430,8 @@ const we = (a) => ({
|
|
|
2349
2430
|
target: a.target,
|
|
2350
2431
|
rel: a.target === "_blank" ? "noopener noreferrer" : void 0
|
|
2351
2432
|
});
|
|
2352
|
-
function
|
|
2353
|
-
const
|
|
2433
|
+
function xr({ item: a, ctaLabel: s }) {
|
|
2434
|
+
const o = a.icon;
|
|
2354
2435
|
return /* @__PURE__ */ r(
|
|
2355
2436
|
T,
|
|
2356
2437
|
{
|
|
@@ -2380,8 +2461,8 @@ function gr({ item: a, ctaLabel: s }) {
|
|
|
2380
2461
|
p: "xl",
|
|
2381
2462
|
children: [
|
|
2382
2463
|
/* @__PURE__ */ r(x, { className: "rlg-shelf-feature-top", children: [
|
|
2383
|
-
|
|
2384
|
-
|
|
2464
|
+
o && /* @__PURE__ */ e(
|
|
2465
|
+
o,
|
|
2385
2466
|
{
|
|
2386
2467
|
size: 24,
|
|
2387
2468
|
stroke: 1.5,
|
|
@@ -2402,7 +2483,7 @@ function gr({ item: a, ctaLabel: s }) {
|
|
|
2402
2483
|
] }),
|
|
2403
2484
|
/* @__PURE__ */ r(x, { className: "rlg-shelf-feature-bottom", children: [
|
|
2404
2485
|
/* @__PURE__ */ e(
|
|
2405
|
-
|
|
2486
|
+
D,
|
|
2406
2487
|
{
|
|
2407
2488
|
order: 3,
|
|
2408
2489
|
className: "rlg-shelf-feature-title",
|
|
@@ -2439,7 +2520,7 @@ function gr({ item: a, ctaLabel: s }) {
|
|
|
2439
2520
|
}
|
|
2440
2521
|
),
|
|
2441
2522
|
/* @__PURE__ */ e(
|
|
2442
|
-
|
|
2523
|
+
Ue,
|
|
2443
2524
|
{
|
|
2444
2525
|
size: 16,
|
|
2445
2526
|
stroke: 2.5,
|
|
@@ -2457,7 +2538,7 @@ function gr({ item: a, ctaLabel: s }) {
|
|
|
2457
2538
|
}
|
|
2458
2539
|
);
|
|
2459
2540
|
}
|
|
2460
|
-
function
|
|
2541
|
+
function br({ item: a }) {
|
|
2461
2542
|
const s = a.icon;
|
|
2462
2543
|
return /* @__PURE__ */ r(
|
|
2463
2544
|
T,
|
|
@@ -2497,7 +2578,7 @@ function mr({ item: a }) {
|
|
|
2497
2578
|
),
|
|
2498
2579
|
/* @__PURE__ */ r(x, { children: [
|
|
2499
2580
|
/* @__PURE__ */ e(
|
|
2500
|
-
|
|
2581
|
+
D,
|
|
2501
2582
|
{
|
|
2502
2583
|
order: 3,
|
|
2503
2584
|
fz: "h4",
|
|
@@ -2525,14 +2606,14 @@ function mr({ item: a }) {
|
|
|
2525
2606
|
}
|
|
2526
2607
|
);
|
|
2527
2608
|
}
|
|
2528
|
-
function
|
|
2609
|
+
function Jr({ id: a, subtitle: s, title: o, description: i, items: n = [], note: l, background: p = "gray", ta: d = "center" }) {
|
|
2529
2610
|
return /* @__PURE__ */ r(
|
|
2530
|
-
|
|
2611
|
+
k,
|
|
2531
2612
|
{
|
|
2532
2613
|
id: a,
|
|
2533
2614
|
subtitle: s,
|
|
2534
|
-
title:
|
|
2535
|
-
background:
|
|
2615
|
+
title: o,
|
|
2616
|
+
background: p,
|
|
2536
2617
|
ta: d,
|
|
2537
2618
|
maw: 900,
|
|
2538
2619
|
children: [
|
|
@@ -2557,51 +2638,51 @@ function Hr({ id: a, subtitle: s, title: l, description: i, items: n = [], note:
|
|
|
2557
2638
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
2558
2639
|
px: { base: "lg", md: 40 },
|
|
2559
2640
|
py: { base: "xs", md: "md" },
|
|
2560
|
-
children: n.map((
|
|
2561
|
-
|
|
2641
|
+
children: n.map((h, c) => /* @__PURE__ */ r(
|
|
2642
|
+
z,
|
|
2562
2643
|
{
|
|
2563
2644
|
gutter: { base: 4, sm: "xl" },
|
|
2564
2645
|
py: { base: "lg", md: "xl" },
|
|
2565
2646
|
ta: "left",
|
|
2566
2647
|
style: c === 0 ? void 0 : { borderTop: "1px solid var(--mantine-color-gray-2)" },
|
|
2567
2648
|
children: [
|
|
2568
|
-
/* @__PURE__ */ e(
|
|
2649
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 4 }, children: /* @__PURE__ */ e(
|
|
2569
2650
|
t,
|
|
2570
2651
|
{
|
|
2571
2652
|
fw: 700,
|
|
2572
2653
|
lh: 1.4,
|
|
2573
2654
|
c: "gray.9",
|
|
2574
|
-
children:
|
|
2655
|
+
children: h.criterion
|
|
2575
2656
|
}
|
|
2576
2657
|
) }),
|
|
2577
|
-
/* @__PURE__ */ r(
|
|
2658
|
+
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm: 8 }, children: [
|
|
2578
2659
|
/* @__PURE__ */ e(
|
|
2579
2660
|
t,
|
|
2580
2661
|
{
|
|
2581
2662
|
fw: 700,
|
|
2582
2663
|
lh: 1.4,
|
|
2583
2664
|
mb: 6,
|
|
2584
|
-
c:
|
|
2585
|
-
children:
|
|
2665
|
+
c: h.muted ? "gray.5" : "gray.9",
|
|
2666
|
+
children: h.value
|
|
2586
2667
|
}
|
|
2587
2668
|
),
|
|
2588
|
-
|
|
2669
|
+
h.note && /* @__PURE__ */ e(
|
|
2589
2670
|
t,
|
|
2590
2671
|
{
|
|
2591
2672
|
size: "sm",
|
|
2592
2673
|
c: "gray.6",
|
|
2593
2674
|
lh: 1.6,
|
|
2594
|
-
children:
|
|
2675
|
+
children: h.note
|
|
2595
2676
|
}
|
|
2596
2677
|
)
|
|
2597
2678
|
] })
|
|
2598
2679
|
]
|
|
2599
2680
|
},
|
|
2600
|
-
|
|
2681
|
+
h.criterion || c
|
|
2601
2682
|
))
|
|
2602
2683
|
}
|
|
2603
2684
|
),
|
|
2604
|
-
|
|
2685
|
+
l && /* @__PURE__ */ e(
|
|
2605
2686
|
t,
|
|
2606
2687
|
{
|
|
2607
2688
|
size: "sm",
|
|
@@ -2611,33 +2692,33 @@ function Hr({ id: a, subtitle: s, title: l, description: i, items: n = [], note:
|
|
|
2611
2692
|
maw: 720,
|
|
2612
2693
|
mx: d === "center" ? "auto" : void 0,
|
|
2613
2694
|
lh: 1.7,
|
|
2614
|
-
children:
|
|
2695
|
+
children: l
|
|
2615
2696
|
}
|
|
2616
2697
|
)
|
|
2617
2698
|
]
|
|
2618
2699
|
}
|
|
2619
2700
|
);
|
|
2620
2701
|
}
|
|
2621
|
-
function
|
|
2702
|
+
function Zr({ id: a, subtitle: s, title: o, description: i, cardLabel: n, items: l = [], footnote: p, background: d = "gray", ta: h = "center" }) {
|
|
2622
2703
|
return /* @__PURE__ */ r(
|
|
2623
|
-
|
|
2704
|
+
k,
|
|
2624
2705
|
{
|
|
2625
2706
|
id: a,
|
|
2626
2707
|
subtitle: s,
|
|
2627
|
-
title:
|
|
2708
|
+
title: o,
|
|
2628
2709
|
background: d,
|
|
2629
|
-
ta:
|
|
2710
|
+
ta: h,
|
|
2630
2711
|
maw: 800,
|
|
2631
2712
|
children: [
|
|
2632
2713
|
i && /* @__PURE__ */ e(
|
|
2633
2714
|
t,
|
|
2634
2715
|
{
|
|
2635
2716
|
c: "gray.6",
|
|
2636
|
-
ta:
|
|
2717
|
+
ta: h,
|
|
2637
2718
|
size: "lg",
|
|
2638
2719
|
lh: 1.7,
|
|
2639
2720
|
maw: 720,
|
|
2640
|
-
mx:
|
|
2721
|
+
mx: h === "center" ? "auto" : void 0,
|
|
2641
2722
|
mb: 48,
|
|
2642
2723
|
children: i
|
|
2643
2724
|
}
|
|
@@ -2670,7 +2751,7 @@ function Gr({ id: a, subtitle: s, title: l, description: i, cardLabel: n, items:
|
|
|
2670
2751
|
m: 0,
|
|
2671
2752
|
pl: "lg",
|
|
2672
2753
|
style: { display: "flex", flexDirection: "column", gap: 16 },
|
|
2673
|
-
children:
|
|
2754
|
+
children: l.map((c, m) => /* @__PURE__ */ r(
|
|
2674
2755
|
t,
|
|
2675
2756
|
{
|
|
2676
2757
|
component: "li",
|
|
@@ -2695,7 +2776,7 @@ function Gr({ id: a, subtitle: s, title: l, description: i, cardLabel: n, items:
|
|
|
2695
2776
|
))
|
|
2696
2777
|
}
|
|
2697
2778
|
),
|
|
2698
|
-
|
|
2779
|
+
p && /* @__PURE__ */ r(
|
|
2699
2780
|
t,
|
|
2700
2781
|
{
|
|
2701
2782
|
size: "sm",
|
|
@@ -2705,18 +2786,18 @@ function Gr({ id: a, subtitle: s, title: l, description: i, cardLabel: n, items:
|
|
|
2705
2786
|
lh: 1.7,
|
|
2706
2787
|
style: { borderTop: "1px solid var(--mantine-color-gray-2)" },
|
|
2707
2788
|
children: [
|
|
2708
|
-
|
|
2789
|
+
p.lead && /* @__PURE__ */ e(
|
|
2709
2790
|
t,
|
|
2710
2791
|
{
|
|
2711
2792
|
component: "span",
|
|
2712
2793
|
fw: 700,
|
|
2713
2794
|
c: "gray.9",
|
|
2714
2795
|
inherit: !0,
|
|
2715
|
-
children:
|
|
2796
|
+
children: p.lead
|
|
2716
2797
|
}
|
|
2717
2798
|
),
|
|
2718
2799
|
" ",
|
|
2719
|
-
|
|
2800
|
+
p.text
|
|
2720
2801
|
]
|
|
2721
2802
|
}
|
|
2722
2803
|
)
|
|
@@ -2727,13 +2808,13 @@ function Gr({ id: a, subtitle: s, title: l, description: i, cardLabel: n, items:
|
|
|
2727
2808
|
}
|
|
2728
2809
|
);
|
|
2729
2810
|
}
|
|
2730
|
-
function
|
|
2811
|
+
function ea({ id: a, subtitle: s, title: o, description: i, avatar: n, name: l, role: p, quote: d, credentials: h = [], background: c = "white", ta: m = "center" }) {
|
|
2731
2812
|
return /* @__PURE__ */ r(
|
|
2732
|
-
|
|
2813
|
+
k,
|
|
2733
2814
|
{
|
|
2734
2815
|
id: a,
|
|
2735
2816
|
subtitle: s,
|
|
2736
|
-
title:
|
|
2817
|
+
title: o,
|
|
2737
2818
|
background: c,
|
|
2738
2819
|
ta: m,
|
|
2739
2820
|
maw: 900,
|
|
@@ -2763,14 +2844,14 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2763
2844
|
ta: "left",
|
|
2764
2845
|
children: [
|
|
2765
2846
|
/* @__PURE__ */ r(
|
|
2766
|
-
|
|
2847
|
+
z,
|
|
2767
2848
|
{
|
|
2768
2849
|
gutter: { base: "xl", md: 48 },
|
|
2769
2850
|
align: "flex-start",
|
|
2770
2851
|
children: [
|
|
2771
2852
|
n && // O retrato vira linha própria e centralizada no celular,
|
|
2772
2853
|
// onde o layout de duas colunas não cabe.
|
|
2773
|
-
/* @__PURE__ */ e(
|
|
2854
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: "content" }, children: /* @__PURE__ */ e(
|
|
2774
2855
|
x,
|
|
2775
2856
|
{
|
|
2776
2857
|
mx: { base: "auto", sm: 0 },
|
|
@@ -2779,7 +2860,7 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2779
2860
|
_,
|
|
2780
2861
|
{
|
|
2781
2862
|
src: n.src,
|
|
2782
|
-
alt: n.alt ||
|
|
2863
|
+
alt: n.alt || l || "",
|
|
2783
2864
|
w: "100%",
|
|
2784
2865
|
radius: "0",
|
|
2785
2866
|
style: {
|
|
@@ -2791,8 +2872,8 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2791
2872
|
)
|
|
2792
2873
|
}
|
|
2793
2874
|
) }),
|
|
2794
|
-
/* @__PURE__ */ r(
|
|
2795
|
-
(
|
|
2875
|
+
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm: "auto" }, children: [
|
|
2876
|
+
(l || p) && /* @__PURE__ */ r(
|
|
2796
2877
|
f,
|
|
2797
2878
|
{
|
|
2798
2879
|
mb: "lg",
|
|
@@ -2800,24 +2881,24 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2800
2881
|
wrap: "wrap",
|
|
2801
2882
|
justify: { base: "center", sm: "flex-start" },
|
|
2802
2883
|
children: [
|
|
2803
|
-
|
|
2884
|
+
l && /* @__PURE__ */ e(
|
|
2804
2885
|
t,
|
|
2805
2886
|
{
|
|
2806
2887
|
fz: { base: "lg", md: "xl" },
|
|
2807
2888
|
fw: 800,
|
|
2808
2889
|
c: "gray.9",
|
|
2809
2890
|
style: { letterSpacing: "-0.02em" },
|
|
2810
|
-
children:
|
|
2891
|
+
children: l
|
|
2811
2892
|
}
|
|
2812
2893
|
),
|
|
2813
|
-
|
|
2894
|
+
p && /* @__PURE__ */ e(
|
|
2814
2895
|
P,
|
|
2815
2896
|
{
|
|
2816
2897
|
variant: "dot",
|
|
2817
2898
|
color: "gray",
|
|
2818
2899
|
size: "sm",
|
|
2819
2900
|
radius: "0",
|
|
2820
|
-
children:
|
|
2901
|
+
children: p
|
|
2821
2902
|
}
|
|
2822
2903
|
)
|
|
2823
2904
|
]
|
|
@@ -2839,15 +2920,15 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2839
2920
|
]
|
|
2840
2921
|
}
|
|
2841
2922
|
),
|
|
2842
|
-
|
|
2923
|
+
h.length > 0 && /* @__PURE__ */ e(
|
|
2843
2924
|
A,
|
|
2844
2925
|
{
|
|
2845
|
-
cols:
|
|
2926
|
+
cols: h.length,
|
|
2846
2927
|
spacing: { base: "xs", sm: "lg" },
|
|
2847
2928
|
mt: { base: 32, md: 48 },
|
|
2848
2929
|
pt: { base: "lg", md: "xl" },
|
|
2849
2930
|
style: { borderTop: "1px solid var(--mantine-color-gray-2)" },
|
|
2850
|
-
children:
|
|
2931
|
+
children: h.map((g, b) => /* @__PURE__ */ r(
|
|
2851
2932
|
x,
|
|
2852
2933
|
{
|
|
2853
2934
|
ta: { base: "center", sm: "left" },
|
|
@@ -2862,7 +2943,7 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2862
2943
|
mb: 8,
|
|
2863
2944
|
c: "gray.9",
|
|
2864
2945
|
style: { letterSpacing: "-0.04em" },
|
|
2865
|
-
children:
|
|
2946
|
+
children: g.value
|
|
2866
2947
|
}
|
|
2867
2948
|
),
|
|
2868
2949
|
/* @__PURE__ */ e(
|
|
@@ -2875,12 +2956,12 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2875
2956
|
lh: 1.4,
|
|
2876
2957
|
tt: "uppercase",
|
|
2877
2958
|
lts: "1.5px",
|
|
2878
|
-
children:
|
|
2959
|
+
children: g.label
|
|
2879
2960
|
}
|
|
2880
2961
|
)
|
|
2881
2962
|
]
|
|
2882
2963
|
},
|
|
2883
|
-
|
|
2964
|
+
g.label || b
|
|
2884
2965
|
))
|
|
2885
2966
|
}
|
|
2886
2967
|
)
|
|
@@ -2891,15 +2972,15 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2891
2972
|
}
|
|
2892
2973
|
);
|
|
2893
2974
|
}
|
|
2894
|
-
function
|
|
2975
|
+
function ra({ id: a, badge: s, subtitle: o, title: i, description: n, items: l = [], background: p = "gray", ta: d = "center" }) {
|
|
2895
2976
|
return /* @__PURE__ */ r(
|
|
2896
|
-
|
|
2977
|
+
k,
|
|
2897
2978
|
{
|
|
2898
2979
|
id: a,
|
|
2899
2980
|
badge: s,
|
|
2900
|
-
subtitle:
|
|
2981
|
+
subtitle: o,
|
|
2901
2982
|
title: i,
|
|
2902
|
-
background:
|
|
2983
|
+
background: p,
|
|
2903
2984
|
ta: d,
|
|
2904
2985
|
maw: 900,
|
|
2905
2986
|
children: [
|
|
@@ -2919,11 +3000,11 @@ function Qr({ id: a, badge: s, subtitle: l, title: i, description: n, items: o =
|
|
|
2919
3000
|
/* @__PURE__ */ e(
|
|
2920
3001
|
A,
|
|
2921
3002
|
{
|
|
2922
|
-
cols: { base: 1, md:
|
|
3003
|
+
cols: { base: 1, md: l.length <= 4 ? l.length : 3 },
|
|
2923
3004
|
spacing: "xl",
|
|
2924
3005
|
verticalSpacing: { base: 56, md: "xl" },
|
|
2925
|
-
children:
|
|
2926
|
-
const m =
|
|
3006
|
+
children: l.map((h, c) => {
|
|
3007
|
+
const m = h.icon;
|
|
2927
3008
|
return /* @__PURE__ */ r(
|
|
2928
3009
|
x,
|
|
2929
3010
|
{
|
|
@@ -2945,7 +3026,7 @@ function Qr({ id: a, badge: s, subtitle: l, title: i, description: n, items: o =
|
|
|
2945
3026
|
letterSpacing: "-0.05em",
|
|
2946
3027
|
pointerEvents: "none"
|
|
2947
3028
|
},
|
|
2948
|
-
children:
|
|
3029
|
+
children: h.number || String(c + 1).padStart(2, "0")
|
|
2949
3030
|
}
|
|
2950
3031
|
),
|
|
2951
3032
|
m && /* @__PURE__ */ e(
|
|
@@ -2968,7 +3049,7 @@ function Qr({ id: a, badge: s, subtitle: l, title: i, description: n, items: o =
|
|
|
2968
3049
|
}
|
|
2969
3050
|
),
|
|
2970
3051
|
/* @__PURE__ */ e(
|
|
2971
|
-
|
|
3052
|
+
D,
|
|
2972
3053
|
{
|
|
2973
3054
|
order: 3,
|
|
2974
3055
|
fz: "h3",
|
|
@@ -2976,7 +3057,7 @@ function Qr({ id: a, badge: s, subtitle: l, title: i, description: n, items: o =
|
|
|
2976
3057
|
mb: "xs",
|
|
2977
3058
|
pos: "relative",
|
|
2978
3059
|
style: { zIndex: 1 },
|
|
2979
|
-
children:
|
|
3060
|
+
children: h.title
|
|
2980
3061
|
}
|
|
2981
3062
|
),
|
|
2982
3063
|
/* @__PURE__ */ e(
|
|
@@ -2987,12 +3068,12 @@ function Qr({ id: a, badge: s, subtitle: l, title: i, description: n, items: o =
|
|
|
2987
3068
|
lh: 1.6,
|
|
2988
3069
|
pos: "relative",
|
|
2989
3070
|
style: { zIndex: 1 },
|
|
2990
|
-
children:
|
|
3071
|
+
children: h.description
|
|
2991
3072
|
}
|
|
2992
3073
|
)
|
|
2993
3074
|
]
|
|
2994
3075
|
},
|
|
2995
|
-
|
|
3076
|
+
h.title || c
|
|
2996
3077
|
);
|
|
2997
3078
|
})
|
|
2998
3079
|
}
|
|
@@ -3002,10 +3083,10 @@ function Qr({ id: a, badge: s, subtitle: l, title: i, description: n, items: o =
|
|
|
3002
3083
|
);
|
|
3003
3084
|
}
|
|
3004
3085
|
const pe = (a) => a.requiredMessage || `Preencha o campo ${a.label}`;
|
|
3005
|
-
function
|
|
3006
|
-
const [m,
|
|
3007
|
-
const { value:
|
|
3008
|
-
|
|
3086
|
+
function aa({ id: a, badge: s, title: o, description: i, fields: n = [], whatsappNumber: l, messageIntro: p = "Olá! Vim pelo site.", submit: d = {}, reassurance: h, onSubmit: c }) {
|
|
3087
|
+
const [m, g] = G(() => Object.fromEntries(n.map((w) => [w.name, ""]))), [b, y] = G(!1), v = (w) => (O) => {
|
|
3088
|
+
const { value: C } = O.currentTarget;
|
|
3089
|
+
g((R) => ({ ...R, [w]: C }));
|
|
3009
3090
|
}, I = n.filter((w) => w.required).every((w) => m[w.name]?.trim());
|
|
3010
3091
|
return /* @__PURE__ */ e(
|
|
3011
3092
|
x,
|
|
@@ -3014,7 +3095,7 @@ function Xr({ id: a, badge: s, title: l, description: i, fields: n = [], whatsap
|
|
|
3014
3095
|
component: "section",
|
|
3015
3096
|
py: { base: 80, md: 120 },
|
|
3016
3097
|
bg: "gray.9",
|
|
3017
|
-
children: /* @__PURE__ */ r(
|
|
3098
|
+
children: /* @__PURE__ */ r(E, { size: "md", children: [
|
|
3018
3099
|
s && /* @__PURE__ */ e(
|
|
3019
3100
|
f,
|
|
3020
3101
|
{
|
|
@@ -3032,15 +3113,15 @@ function Xr({ id: a, badge: s, title: l, description: i, fields: n = [], whatsap
|
|
|
3032
3113
|
)
|
|
3033
3114
|
}
|
|
3034
3115
|
),
|
|
3035
|
-
|
|
3036
|
-
|
|
3116
|
+
o && /* @__PURE__ */ e(
|
|
3117
|
+
D,
|
|
3037
3118
|
{
|
|
3038
3119
|
order: 2,
|
|
3039
3120
|
ta: "center",
|
|
3040
3121
|
c: "white",
|
|
3041
3122
|
mb: "md",
|
|
3042
3123
|
fz: "var(--fz-section-title)",
|
|
3043
|
-
children:
|
|
3124
|
+
children: o
|
|
3044
3125
|
}
|
|
3045
3126
|
),
|
|
3046
3127
|
i && /* @__PURE__ */ e(
|
|
@@ -3064,35 +3145,35 @@ function Xr({ id: a, badge: s, title: l, description: i, fields: n = [], whatsap
|
|
|
3064
3145
|
bg: "white",
|
|
3065
3146
|
children: /* @__PURE__ */ e("form", { onSubmit: (w) => {
|
|
3066
3147
|
if (w.preventDefault(), y(!0), !I) return;
|
|
3067
|
-
const
|
|
3148
|
+
const O = [p, "", ...n.filter((C) => m[C.name]?.trim()).map((C) => `${C.label}: ${m[C.name]}`)].join(`
|
|
3068
3149
|
`);
|
|
3069
|
-
if (c?.(m),
|
|
3070
|
-
const
|
|
3071
|
-
window.open(
|
|
3150
|
+
if (c?.(m), l) {
|
|
3151
|
+
const C = `https://wa.me/${l}?text=${encodeURIComponent(O)}`;
|
|
3152
|
+
window.open(C, "_blank", "noopener,noreferrer");
|
|
3072
3153
|
}
|
|
3073
3154
|
}, children: /* @__PURE__ */ r(u, { gap: "md", children: [
|
|
3074
3155
|
/* @__PURE__ */ e(A, { cols: { base: 1, sm: 2 }, children: n.filter((w) => w.span !== "full").map((w) => /* @__PURE__ */ e(
|
|
3075
|
-
|
|
3156
|
+
ne,
|
|
3076
3157
|
{
|
|
3077
3158
|
label: w.label,
|
|
3078
3159
|
placeholder: w.placeholder,
|
|
3079
3160
|
type: w.type || "text",
|
|
3080
3161
|
required: w.required,
|
|
3081
3162
|
value: m[w.name] || "",
|
|
3082
|
-
onChange:
|
|
3163
|
+
onChange: v(w.name),
|
|
3083
3164
|
error: b && w.required && !m[w.name]?.trim() ? pe(w) : null
|
|
3084
3165
|
},
|
|
3085
3166
|
w.name
|
|
3086
3167
|
)) }),
|
|
3087
3168
|
n.filter((w) => w.span === "full").map((w) => /* @__PURE__ */ e(
|
|
3088
|
-
|
|
3169
|
+
ne,
|
|
3089
3170
|
{
|
|
3090
3171
|
label: w.label,
|
|
3091
3172
|
placeholder: w.placeholder,
|
|
3092
3173
|
type: w.type || "text",
|
|
3093
3174
|
required: w.required,
|
|
3094
3175
|
value: m[w.name] || "",
|
|
3095
|
-
onChange:
|
|
3176
|
+
onChange: v(w.name),
|
|
3096
3177
|
error: b && w.required && !m[w.name]?.trim() ? pe(w) : null
|
|
3097
3178
|
},
|
|
3098
3179
|
w.name
|
|
@@ -3114,7 +3195,7 @@ function Xr({ id: a, badge: s, title: l, description: i, fields: n = [], whatsap
|
|
|
3114
3195
|
children: d.label || "Enviar"
|
|
3115
3196
|
}
|
|
3116
3197
|
),
|
|
3117
|
-
|
|
3198
|
+
h && /* @__PURE__ */ r(
|
|
3118
3199
|
f,
|
|
3119
3200
|
{
|
|
3120
3201
|
gap: "xs",
|
|
@@ -3141,7 +3222,7 @@ function Xr({ id: a, badge: s, title: l, description: i, fields: n = [], whatsap
|
|
|
3141
3222
|
{
|
|
3142
3223
|
size: "xs",
|
|
3143
3224
|
c: "gray.6",
|
|
3144
|
-
children:
|
|
3225
|
+
children: h
|
|
3145
3226
|
}
|
|
3146
3227
|
)
|
|
3147
3228
|
]
|
|
@@ -3154,14 +3235,14 @@ function Xr({ id: a, badge: s, title: l, description: i, fields: n = [], whatsap
|
|
|
3154
3235
|
}
|
|
3155
3236
|
);
|
|
3156
3237
|
}
|
|
3157
|
-
function
|
|
3238
|
+
function ta({ id: a, subtitle: s, title: o, traditionalCol: i, newCol: n, background: l = "white" }) {
|
|
3158
3239
|
return /* @__PURE__ */ e(
|
|
3159
|
-
|
|
3240
|
+
k,
|
|
3160
3241
|
{
|
|
3161
3242
|
id: a,
|
|
3162
3243
|
subtitle: s,
|
|
3163
|
-
title:
|
|
3164
|
-
background:
|
|
3244
|
+
title: o,
|
|
3245
|
+
background: l,
|
|
3165
3246
|
children: /* @__PURE__ */ e(
|
|
3166
3247
|
T,
|
|
3167
3248
|
{
|
|
@@ -3177,7 +3258,7 @@ function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3177
3258
|
/* @__PURE__ */ e(
|
|
3178
3259
|
x,
|
|
3179
3260
|
{
|
|
3180
|
-
bg:
|
|
3261
|
+
bg: l === "gray" ? "gray.1" : "white",
|
|
3181
3262
|
p: { base: 30, md: 60 },
|
|
3182
3263
|
children: /* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
3183
3264
|
/* @__PURE__ */ r(x, { children: [
|
|
@@ -3208,14 +3289,14 @@ function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3208
3289
|
{
|
|
3209
3290
|
gap: "md",
|
|
3210
3291
|
mb: 40,
|
|
3211
|
-
children: i.items.map((
|
|
3292
|
+
children: i.items.map((p, d) => /* @__PURE__ */ r(Ne, { children: [
|
|
3212
3293
|
/* @__PURE__ */ r(f, { justify: "space-between", children: [
|
|
3213
3294
|
/* @__PURE__ */ e(
|
|
3214
3295
|
t,
|
|
3215
3296
|
{
|
|
3216
3297
|
size: "sm",
|
|
3217
3298
|
c: "gray.6",
|
|
3218
|
-
children:
|
|
3299
|
+
children: p.label
|
|
3219
3300
|
}
|
|
3220
3301
|
),
|
|
3221
3302
|
/* @__PURE__ */ e(
|
|
@@ -3223,18 +3304,18 @@ function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3223
3304
|
{
|
|
3224
3305
|
fw: 700,
|
|
3225
3306
|
c: "gray.9",
|
|
3226
|
-
children:
|
|
3307
|
+
children: p.value
|
|
3227
3308
|
}
|
|
3228
3309
|
)
|
|
3229
3310
|
] }),
|
|
3230
|
-
d < i.items.length - 1 && /* @__PURE__ */ e(
|
|
3311
|
+
d < i.items.length - 1 && /* @__PURE__ */ e(L, { color: "var(--mantine-color-gray-2)" })
|
|
3231
3312
|
] }, d))
|
|
3232
3313
|
}
|
|
3233
3314
|
),
|
|
3234
3315
|
/* @__PURE__ */ r(
|
|
3235
3316
|
x,
|
|
3236
3317
|
{
|
|
3237
|
-
bg:
|
|
3318
|
+
bg: l === "gray" ? "gray.1" : "white",
|
|
3238
3319
|
p: "lg",
|
|
3239
3320
|
radius: "0",
|
|
3240
3321
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
@@ -3277,7 +3358,7 @@ function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3277
3358
|
/* @__PURE__ */ e(
|
|
3278
3359
|
x,
|
|
3279
3360
|
{
|
|
3280
|
-
bg:
|
|
3361
|
+
bg: l === "gray" ? "gray.1" : "white",
|
|
3281
3362
|
p: { base: 30, md: 60 },
|
|
3282
3363
|
pos: "relative",
|
|
3283
3364
|
children: /* @__PURE__ */ r(
|
|
@@ -3331,7 +3412,7 @@ function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3331
3412
|
radius: "0",
|
|
3332
3413
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
3333
3414
|
children: /* @__PURE__ */ e(
|
|
3334
|
-
|
|
3415
|
+
H,
|
|
3335
3416
|
{
|
|
3336
3417
|
size: 12,
|
|
3337
3418
|
color: "var(--mantine-color-gray-9)"
|
|
@@ -3339,13 +3420,13 @@ function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3339
3420
|
)
|
|
3340
3421
|
}
|
|
3341
3422
|
),
|
|
3342
|
-
children: n.items.map((
|
|
3423
|
+
children: n.items.map((p, d) => /* @__PURE__ */ e($.Item, { children: p }, d))
|
|
3343
3424
|
}
|
|
3344
3425
|
),
|
|
3345
3426
|
n.pricingBox && /* @__PURE__ */ e(
|
|
3346
3427
|
x,
|
|
3347
3428
|
{
|
|
3348
|
-
bg:
|
|
3429
|
+
bg: l === "gray" ? "gray.1" : "white",
|
|
3349
3430
|
p: "lg",
|
|
3350
3431
|
radius: "0",
|
|
3351
3432
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
@@ -3407,28 +3488,28 @@ function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3407
3488
|
}
|
|
3408
3489
|
);
|
|
3409
3490
|
}
|
|
3410
|
-
function
|
|
3491
|
+
function na({
|
|
3411
3492
|
id: a,
|
|
3412
3493
|
badge: s,
|
|
3413
|
-
subtitle:
|
|
3494
|
+
subtitle: o,
|
|
3414
3495
|
title: i,
|
|
3415
3496
|
description: n,
|
|
3416
|
-
billingOptions:
|
|
3497
|
+
billingOptions: l = [
|
|
3417
3498
|
{ label: "Mensal", value: "monthly" },
|
|
3418
3499
|
{ label: "Anual", value: "annual" }
|
|
3419
3500
|
],
|
|
3420
|
-
billing:
|
|
3501
|
+
billing: p,
|
|
3421
3502
|
setBilling: d,
|
|
3422
|
-
promoBadge:
|
|
3503
|
+
promoBadge: h,
|
|
3423
3504
|
plans: c,
|
|
3424
3505
|
background: m = "white"
|
|
3425
3506
|
}) {
|
|
3426
3507
|
return /* @__PURE__ */ r(
|
|
3427
|
-
|
|
3508
|
+
k,
|
|
3428
3509
|
{
|
|
3429
3510
|
id: a,
|
|
3430
3511
|
badge: s,
|
|
3431
|
-
subtitle:
|
|
3512
|
+
subtitle: o,
|
|
3432
3513
|
title: i,
|
|
3433
3514
|
ta: "center",
|
|
3434
3515
|
background: m,
|
|
@@ -3447,7 +3528,7 @@ function Jr({
|
|
|
3447
3528
|
children: n
|
|
3448
3529
|
}
|
|
3449
3530
|
),
|
|
3450
|
-
|
|
3531
|
+
l && l.length > 0 && /* @__PURE__ */ e(
|
|
3451
3532
|
u,
|
|
3452
3533
|
{
|
|
3453
3534
|
align: "center",
|
|
@@ -3455,26 +3536,26 @@ function Jr({
|
|
|
3455
3536
|
mb: 80,
|
|
3456
3537
|
children: /* @__PURE__ */ r(f, { gap: "xs", children: [
|
|
3457
3538
|
/* @__PURE__ */ e(
|
|
3458
|
-
|
|
3539
|
+
Ce,
|
|
3459
3540
|
{
|
|
3460
|
-
value:
|
|
3541
|
+
value: p,
|
|
3461
3542
|
onChange: d,
|
|
3462
3543
|
radius: "0",
|
|
3463
3544
|
size: "md",
|
|
3464
|
-
data:
|
|
3545
|
+
data: l,
|
|
3465
3546
|
color: "gray.9",
|
|
3466
3547
|
bg: "white",
|
|
3467
3548
|
style: { border: "1px solid var(--mantine-color-gray-2)" }
|
|
3468
3549
|
}
|
|
3469
3550
|
),
|
|
3470
|
-
|
|
3551
|
+
p === "annual" && h && /* @__PURE__ */ e(
|
|
3471
3552
|
P,
|
|
3472
3553
|
{
|
|
3473
3554
|
variant: "filled",
|
|
3474
3555
|
color: "gray.9",
|
|
3475
3556
|
radius: "0",
|
|
3476
3557
|
size: "lg",
|
|
3477
|
-
children:
|
|
3558
|
+
children: h
|
|
3478
3559
|
}
|
|
3479
3560
|
)
|
|
3480
3561
|
] })
|
|
@@ -3486,13 +3567,13 @@ function Jr({
|
|
|
3486
3567
|
cols: { base: 1, md: c.length <= 3 ? c.length : 3 },
|
|
3487
3568
|
spacing: "xl",
|
|
3488
3569
|
verticalSpacing: "xl",
|
|
3489
|
-
children: c.map((
|
|
3570
|
+
children: c.map((g) => /* @__PURE__ */ r(
|
|
3490
3571
|
T,
|
|
3491
3572
|
{
|
|
3492
3573
|
p: "xl",
|
|
3493
3574
|
radius: "0",
|
|
3494
3575
|
withBorder: !0,
|
|
3495
|
-
bd:
|
|
3576
|
+
bd: g.highlight ? "2px solid var(--mantine-color-gray-9)" : "1px solid var(--mantine-color-gray-2)",
|
|
3496
3577
|
display: "flex",
|
|
3497
3578
|
h: "100%",
|
|
3498
3579
|
style: { flexDirection: "column" },
|
|
@@ -3518,15 +3599,15 @@ function Jr({
|
|
|
3518
3599
|
tt: "uppercase",
|
|
3519
3600
|
lts: "1.5px",
|
|
3520
3601
|
c: "gray.4",
|
|
3521
|
-
children:
|
|
3602
|
+
children: g.name
|
|
3522
3603
|
}
|
|
3523
3604
|
),
|
|
3524
|
-
|
|
3605
|
+
g.highlight && /* @__PURE__ */ e(
|
|
3525
3606
|
P,
|
|
3526
3607
|
{
|
|
3527
3608
|
variant: "dot",
|
|
3528
3609
|
color: "gray.9",
|
|
3529
|
-
children:
|
|
3610
|
+
children: g.highlightBadge || "RECOMENDADO"
|
|
3530
3611
|
}
|
|
3531
3612
|
)
|
|
3532
3613
|
]
|
|
@@ -3540,14 +3621,14 @@ function Jr({
|
|
|
3540
3621
|
fw: 500,
|
|
3541
3622
|
lh: 1.5,
|
|
3542
3623
|
h: { md: 42 },
|
|
3543
|
-
children:
|
|
3624
|
+
children: g.description
|
|
3544
3625
|
}
|
|
3545
3626
|
)
|
|
3546
3627
|
]
|
|
3547
3628
|
}
|
|
3548
3629
|
),
|
|
3549
3630
|
/* @__PURE__ */ r(x, { mb: "xl", children: [
|
|
3550
|
-
|
|
3631
|
+
g.pricePrefix !== null && /* @__PURE__ */ e(
|
|
3551
3632
|
t,
|
|
3552
3633
|
{
|
|
3553
3634
|
size: "xs",
|
|
@@ -3556,10 +3637,10 @@ function Jr({
|
|
|
3556
3637
|
tt: "uppercase",
|
|
3557
3638
|
lts: "1px",
|
|
3558
3639
|
mb: 4,
|
|
3559
|
-
children:
|
|
3640
|
+
children: g.pricePrefix || "A partir de"
|
|
3560
3641
|
}
|
|
3561
3642
|
),
|
|
3562
|
-
|
|
3643
|
+
g.priceText ? (
|
|
3563
3644
|
// Escape hatch para preço que não é número
|
|
3564
3645
|
// ("Sob consulta"), onde currency/whole/fraction
|
|
3565
3646
|
// não têm o que representar.
|
|
@@ -3577,15 +3658,15 @@ function Jr({
|
|
|
3577
3658
|
lts: "-0.04em",
|
|
3578
3659
|
lh: 1,
|
|
3579
3660
|
c: "gray.9",
|
|
3580
|
-
children:
|
|
3661
|
+
children: g.priceText
|
|
3581
3662
|
}
|
|
3582
3663
|
),
|
|
3583
|
-
|
|
3664
|
+
g.period && /* @__PURE__ */ e(
|
|
3584
3665
|
t,
|
|
3585
3666
|
{
|
|
3586
3667
|
size: "md",
|
|
3587
3668
|
c: "gray.5",
|
|
3588
|
-
children:
|
|
3669
|
+
children: g.period
|
|
3589
3670
|
}
|
|
3590
3671
|
)
|
|
3591
3672
|
]
|
|
@@ -3604,7 +3685,7 @@ function Jr({
|
|
|
3604
3685
|
fw: 900,
|
|
3605
3686
|
c: "gray.9",
|
|
3606
3687
|
style: { marginTop: 8 },
|
|
3607
|
-
children:
|
|
3688
|
+
children: g.priceDisplay?.currency
|
|
3608
3689
|
}
|
|
3609
3690
|
),
|
|
3610
3691
|
/* @__PURE__ */ r(
|
|
@@ -3621,10 +3702,10 @@ function Jr({
|
|
|
3621
3702
|
lts: "-0.04em",
|
|
3622
3703
|
lh: 0.8,
|
|
3623
3704
|
c: "gray.9",
|
|
3624
|
-
children:
|
|
3705
|
+
children: g.priceDisplay?.whole
|
|
3625
3706
|
}
|
|
3626
3707
|
),
|
|
3627
|
-
|
|
3708
|
+
g.priceDisplay?.fraction && /* @__PURE__ */ r(
|
|
3628
3709
|
u,
|
|
3629
3710
|
{
|
|
3630
3711
|
gap: 0,
|
|
@@ -3639,7 +3720,7 @@ function Jr({
|
|
|
3639
3720
|
c: "gray.9",
|
|
3640
3721
|
children: [
|
|
3641
3722
|
",",
|
|
3642
|
-
|
|
3723
|
+
g.priceDisplay.fraction
|
|
3643
3724
|
]
|
|
3644
3725
|
}
|
|
3645
3726
|
),
|
|
@@ -3651,7 +3732,7 @@ function Jr({
|
|
|
3651
3732
|
fw: 800,
|
|
3652
3733
|
tt: "uppercase",
|
|
3653
3734
|
lts: "1px",
|
|
3654
|
-
children:
|
|
3735
|
+
children: g.period || g.priceSuffix || "/mês"
|
|
3655
3736
|
}
|
|
3656
3737
|
)
|
|
3657
3738
|
]
|
|
@@ -3663,18 +3744,18 @@ function Jr({
|
|
|
3663
3744
|
]
|
|
3664
3745
|
}
|
|
3665
3746
|
),
|
|
3666
|
-
|
|
3747
|
+
g.priceNote && /* @__PURE__ */ e(
|
|
3667
3748
|
t,
|
|
3668
3749
|
{
|
|
3669
3750
|
size: "sm",
|
|
3670
3751
|
c: "gray.6",
|
|
3671
3752
|
mt: "md",
|
|
3672
|
-
children:
|
|
3753
|
+
children: g.priceNote
|
|
3673
3754
|
}
|
|
3674
3755
|
)
|
|
3675
3756
|
] }),
|
|
3676
3757
|
/* @__PURE__ */ e(
|
|
3677
|
-
|
|
3758
|
+
L,
|
|
3678
3759
|
{
|
|
3679
3760
|
mb: "xl",
|
|
3680
3761
|
color: "gray.1"
|
|
@@ -3686,7 +3767,7 @@ function Jr({
|
|
|
3686
3767
|
gap: "sm",
|
|
3687
3768
|
mb: 40,
|
|
3688
3769
|
style: { flex: 1 },
|
|
3689
|
-
children: (
|
|
3770
|
+
children: (g.features || []).map((b, y) => /* @__PURE__ */ r(
|
|
3690
3771
|
f,
|
|
3691
3772
|
{
|
|
3692
3773
|
gap: "sm",
|
|
@@ -3694,7 +3775,7 @@ function Jr({
|
|
|
3694
3775
|
align: "flex-start",
|
|
3695
3776
|
children: [
|
|
3696
3777
|
/* @__PURE__ */ e(
|
|
3697
|
-
|
|
3778
|
+
H,
|
|
3698
3779
|
{
|
|
3699
3780
|
size: 16,
|
|
3700
3781
|
color: "var(--mantine-color-gray-9)",
|
|
@@ -3717,22 +3798,22 @@ function Jr({
|
|
|
3717
3798
|
))
|
|
3718
3799
|
}
|
|
3719
3800
|
),
|
|
3720
|
-
|
|
3801
|
+
g.cta && /* @__PURE__ */ e(x, { mt: "auto", children: /* @__PURE__ */ e(
|
|
3721
3802
|
M,
|
|
3722
3803
|
{
|
|
3723
|
-
label:
|
|
3724
|
-
href:
|
|
3725
|
-
target:
|
|
3726
|
-
rel:
|
|
3727
|
-
icon:
|
|
3728
|
-
leftSection:
|
|
3729
|
-
size:
|
|
3730
|
-
variant:
|
|
3731
|
-
color:
|
|
3804
|
+
label: g.cta.label,
|
|
3805
|
+
href: g.cta.href,
|
|
3806
|
+
target: g.cta.target,
|
|
3807
|
+
rel: g.cta.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
3808
|
+
icon: g.cta.icon,
|
|
3809
|
+
leftSection: g.cta.leftSection,
|
|
3810
|
+
size: g.cta.size || "xl",
|
|
3811
|
+
variant: g.cta.variant,
|
|
3812
|
+
color: g.cta.color || "gray.9",
|
|
3732
3813
|
fullWidth: !0
|
|
3733
3814
|
}
|
|
3734
3815
|
) }),
|
|
3735
|
-
|
|
3816
|
+
g.note && /* @__PURE__ */ e(
|
|
3736
3817
|
x,
|
|
3737
3818
|
{
|
|
3738
3819
|
mt: "auto",
|
|
@@ -3744,14 +3825,14 @@ function Jr({
|
|
|
3744
3825
|
size: "xs",
|
|
3745
3826
|
c: "gray.5",
|
|
3746
3827
|
lh: 1.5,
|
|
3747
|
-
children:
|
|
3828
|
+
children: g.note
|
|
3748
3829
|
}
|
|
3749
3830
|
)
|
|
3750
3831
|
}
|
|
3751
3832
|
)
|
|
3752
3833
|
]
|
|
3753
3834
|
},
|
|
3754
|
-
|
|
3835
|
+
g.name
|
|
3755
3836
|
))
|
|
3756
3837
|
}
|
|
3757
3838
|
)
|
|
@@ -3759,8 +3840,8 @@ function Jr({
|
|
|
3759
3840
|
}
|
|
3760
3841
|
);
|
|
3761
3842
|
}
|
|
3762
|
-
function
|
|
3763
|
-
const c = Math.ceil(
|
|
3843
|
+
function ia({ id: a, badge: s, subtitle: o, title: i, description: n, questions: l = [], contactCard: p, background: d = "white", ta: h = "left" }) {
|
|
3844
|
+
const c = Math.ceil(l.length / 2), m = {
|
|
3764
3845
|
item: {
|
|
3765
3846
|
// A CSS variable, not the name: a `styles` object is plain CSS, so
|
|
3766
3847
|
// 'white' was the literal colour — it stayed white in dark mode —
|
|
@@ -3783,25 +3864,25 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3783
3864
|
}
|
|
3784
3865
|
};
|
|
3785
3866
|
return /* @__PURE__ */ r(
|
|
3786
|
-
|
|
3867
|
+
k,
|
|
3787
3868
|
{
|
|
3788
3869
|
id: a,
|
|
3789
3870
|
badge: s,
|
|
3790
|
-
subtitle:
|
|
3871
|
+
subtitle: o,
|
|
3791
3872
|
title: i,
|
|
3792
3873
|
background: d,
|
|
3793
|
-
ta:
|
|
3794
|
-
maw:
|
|
3874
|
+
ta: h,
|
|
3875
|
+
maw: h === "center" ? 900 : 800,
|
|
3795
3876
|
children: [
|
|
3796
3877
|
n && /* @__PURE__ */ e(
|
|
3797
3878
|
t,
|
|
3798
3879
|
{
|
|
3799
3880
|
c: "gray.6",
|
|
3800
|
-
ta:
|
|
3881
|
+
ta: h,
|
|
3801
3882
|
size: "lg",
|
|
3802
3883
|
lh: 1.6,
|
|
3803
3884
|
maw: 700,
|
|
3804
|
-
mx:
|
|
3885
|
+
mx: h === "center" ? "auto" : void 0,
|
|
3805
3886
|
mb: 40,
|
|
3806
3887
|
children: n
|
|
3807
3888
|
}
|
|
@@ -3813,20 +3894,20 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3813
3894
|
spacing: "xl",
|
|
3814
3895
|
children: [
|
|
3815
3896
|
/* @__PURE__ */ e(
|
|
3816
|
-
|
|
3897
|
+
j,
|
|
3817
3898
|
{
|
|
3818
3899
|
variant: "separated",
|
|
3819
3900
|
radius: "0",
|
|
3820
3901
|
chevronPosition: "right",
|
|
3821
3902
|
styles: m,
|
|
3822
|
-
children:
|
|
3823
|
-
|
|
3903
|
+
children: l.slice(0, c).map((g, b) => /* @__PURE__ */ r(
|
|
3904
|
+
j.Item,
|
|
3824
3905
|
{
|
|
3825
|
-
value:
|
|
3906
|
+
value: g.value || String(b),
|
|
3826
3907
|
mb: "md",
|
|
3827
3908
|
children: [
|
|
3828
3909
|
/* @__PURE__ */ e(
|
|
3829
|
-
|
|
3910
|
+
j.Control,
|
|
3830
3911
|
{
|
|
3831
3912
|
icon: /* @__PURE__ */ e(
|
|
3832
3913
|
S,
|
|
@@ -3834,34 +3915,34 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3834
3915
|
variant: "light",
|
|
3835
3916
|
color: "gray",
|
|
3836
3917
|
radius: "0",
|
|
3837
|
-
children: /* @__PURE__ */ e(
|
|
3918
|
+
children: /* @__PURE__ */ e(oe, { size: 16 })
|
|
3838
3919
|
}
|
|
3839
3920
|
),
|
|
3840
|
-
children:
|
|
3921
|
+
children: g.question
|
|
3841
3922
|
}
|
|
3842
3923
|
),
|
|
3843
|
-
/* @__PURE__ */ e(
|
|
3924
|
+
/* @__PURE__ */ e(j.Panel, { c: "gray.6", children: g.answer })
|
|
3844
3925
|
]
|
|
3845
3926
|
},
|
|
3846
|
-
|
|
3927
|
+
g.value || b
|
|
3847
3928
|
))
|
|
3848
3929
|
}
|
|
3849
3930
|
),
|
|
3850
3931
|
/* @__PURE__ */ e(
|
|
3851
|
-
|
|
3932
|
+
j,
|
|
3852
3933
|
{
|
|
3853
3934
|
variant: "separated",
|
|
3854
3935
|
radius: "0",
|
|
3855
3936
|
chevronPosition: "right",
|
|
3856
3937
|
styles: m,
|
|
3857
|
-
children:
|
|
3858
|
-
|
|
3938
|
+
children: l.slice(c).map((g, b) => /* @__PURE__ */ r(
|
|
3939
|
+
j.Item,
|
|
3859
3940
|
{
|
|
3860
|
-
value:
|
|
3941
|
+
value: g.value || String(c + b),
|
|
3861
3942
|
mb: "md",
|
|
3862
3943
|
children: [
|
|
3863
3944
|
/* @__PURE__ */ e(
|
|
3864
|
-
|
|
3945
|
+
j.Control,
|
|
3865
3946
|
{
|
|
3866
3947
|
icon: /* @__PURE__ */ e(
|
|
3867
3948
|
S,
|
|
@@ -3869,23 +3950,23 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3869
3950
|
variant: "light",
|
|
3870
3951
|
color: "gray",
|
|
3871
3952
|
radius: "0",
|
|
3872
|
-
children: /* @__PURE__ */ e(
|
|
3953
|
+
children: /* @__PURE__ */ e(oe, { size: 16 })
|
|
3873
3954
|
}
|
|
3874
3955
|
),
|
|
3875
|
-
children:
|
|
3956
|
+
children: g.question
|
|
3876
3957
|
}
|
|
3877
3958
|
),
|
|
3878
|
-
/* @__PURE__ */ e(
|
|
3959
|
+
/* @__PURE__ */ e(j.Panel, { c: "gray.6", children: g.answer })
|
|
3879
3960
|
]
|
|
3880
3961
|
},
|
|
3881
|
-
|
|
3962
|
+
g.value || c + b
|
|
3882
3963
|
))
|
|
3883
3964
|
}
|
|
3884
3965
|
)
|
|
3885
3966
|
]
|
|
3886
3967
|
}
|
|
3887
3968
|
),
|
|
3888
|
-
|
|
3969
|
+
p && /* @__PURE__ */ e(
|
|
3889
3970
|
T,
|
|
3890
3971
|
{
|
|
3891
3972
|
mt: { base: 40, md: 80 },
|
|
@@ -3916,7 +3997,7 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3916
3997
|
fw: 900,
|
|
3917
3998
|
c: "gray.9",
|
|
3918
3999
|
lh: 1.2,
|
|
3919
|
-
children:
|
|
4000
|
+
children: p.title
|
|
3920
4001
|
}
|
|
3921
4002
|
),
|
|
3922
4003
|
/* @__PURE__ */ e(
|
|
@@ -3925,7 +4006,7 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3925
4006
|
c: "gray.6",
|
|
3926
4007
|
maw: 500,
|
|
3927
4008
|
size: "lg",
|
|
3928
|
-
children:
|
|
4009
|
+
children: p.description
|
|
3929
4010
|
}
|
|
3930
4011
|
)
|
|
3931
4012
|
]
|
|
@@ -3934,12 +4015,12 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3934
4015
|
/* @__PURE__ */ e(u, { align: { base: "center", md: "flex-end" }, children: /* @__PURE__ */ e(
|
|
3935
4016
|
M,
|
|
3936
4017
|
{
|
|
3937
|
-
label:
|
|
3938
|
-
href:
|
|
3939
|
-
target:
|
|
3940
|
-
leftSection:
|
|
3941
|
-
size:
|
|
3942
|
-
color:
|
|
4018
|
+
label: p.cta.label,
|
|
4019
|
+
href: p.cta.href,
|
|
4020
|
+
target: p.cta.target,
|
|
4021
|
+
leftSection: p.cta.icon,
|
|
4022
|
+
size: p.cta.size || "xl",
|
|
4023
|
+
color: p.cta.color || "gray.8"
|
|
3943
4024
|
}
|
|
3944
4025
|
) })
|
|
3945
4026
|
]
|
|
@@ -3951,20 +4032,20 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3951
4032
|
}
|
|
3952
4033
|
);
|
|
3953
4034
|
}
|
|
3954
|
-
function
|
|
4035
|
+
function oa({ id: a, title: s, subtitle: o, items: i = [], background: n = "gray" }) {
|
|
3955
4036
|
return /* @__PURE__ */ e(
|
|
3956
|
-
|
|
4037
|
+
k,
|
|
3957
4038
|
{
|
|
3958
4039
|
id: a,
|
|
3959
4040
|
background: n,
|
|
3960
4041
|
title: s,
|
|
3961
|
-
subtitle:
|
|
4042
|
+
subtitle: o,
|
|
3962
4043
|
children: /* @__PURE__ */ e(
|
|
3963
4044
|
A,
|
|
3964
4045
|
{
|
|
3965
4046
|
cols: { base: 1, md: i.length > 3 ? 4 : i.length || 3 },
|
|
3966
4047
|
spacing: "xl",
|
|
3967
|
-
children: i.map((
|
|
4048
|
+
children: i.map((l, p) => /* @__PURE__ */ e(
|
|
3968
4049
|
T,
|
|
3969
4050
|
{
|
|
3970
4051
|
p: "xl",
|
|
@@ -3979,7 +4060,7 @@ function ea({ id: a, title: s, subtitle: l, items: i = [], background: n = "gray
|
|
|
3979
4060
|
h: "100%",
|
|
3980
4061
|
children: [
|
|
3981
4062
|
/* @__PURE__ */ e(
|
|
3982
|
-
|
|
4063
|
+
_e,
|
|
3983
4064
|
{
|
|
3984
4065
|
size: 32,
|
|
3985
4066
|
color: "var(--mantine-color-gray-3)"
|
|
@@ -3995,7 +4076,7 @@ function ea({ id: a, title: s, subtitle: l, items: i = [], background: n = "gray
|
|
|
3995
4076
|
flex: 1,
|
|
3996
4077
|
children: [
|
|
3997
4078
|
'"',
|
|
3998
|
-
|
|
4079
|
+
l.content,
|
|
3999
4080
|
'"'
|
|
4000
4081
|
]
|
|
4001
4082
|
}
|
|
@@ -4007,13 +4088,13 @@ function ea({ id: a, title: s, subtitle: l, items: i = [], background: n = "gray
|
|
|
4007
4088
|
mt: "xl",
|
|
4008
4089
|
children: [
|
|
4009
4090
|
/* @__PURE__ */ e(
|
|
4010
|
-
|
|
4091
|
+
De,
|
|
4011
4092
|
{
|
|
4012
4093
|
size: "md",
|
|
4013
4094
|
radius: "0",
|
|
4014
4095
|
color: "gray",
|
|
4015
|
-
src:
|
|
4016
|
-
children:
|
|
4096
|
+
src: l.avatarSrc,
|
|
4097
|
+
children: l.initials
|
|
4017
4098
|
}
|
|
4018
4099
|
),
|
|
4019
4100
|
/* @__PURE__ */ r(u, { gap: 0, children: [
|
|
@@ -4023,7 +4104,7 @@ function ea({ id: a, title: s, subtitle: l, items: i = [], background: n = "gray
|
|
|
4023
4104
|
c: "gray.9",
|
|
4024
4105
|
size: "sm",
|
|
4025
4106
|
fw: 900,
|
|
4026
|
-
children:
|
|
4107
|
+
children: l.name
|
|
4027
4108
|
}
|
|
4028
4109
|
),
|
|
4029
4110
|
/* @__PURE__ */ e(
|
|
@@ -4034,7 +4115,7 @@ function ea({ id: a, title: s, subtitle: l, items: i = [], background: n = "gray
|
|
|
4034
4115
|
tt: "uppercase",
|
|
4035
4116
|
lts: "1px",
|
|
4036
4117
|
c: "gray.5",
|
|
4037
|
-
children:
|
|
4118
|
+
children: l.role
|
|
4038
4119
|
}
|
|
4039
4120
|
)
|
|
4040
4121
|
] })
|
|
@@ -4045,7 +4126,7 @@ function ea({ id: a, title: s, subtitle: l, items: i = [], background: n = "gray
|
|
|
4045
4126
|
}
|
|
4046
4127
|
)
|
|
4047
4128
|
},
|
|
4048
|
-
|
|
4129
|
+
p
|
|
4049
4130
|
))
|
|
4050
4131
|
}
|
|
4051
4132
|
)
|
|
@@ -4057,9 +4138,9 @@ const ge = {
|
|
|
4057
4138
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
4058
4139
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
4059
4140
|
};
|
|
4060
|
-
function
|
|
4141
|
+
function ve({ id: a, subtitle: s, title: o, titleOrder: i = 2, description: n, featuresList: l, featuresLabel: p, cta: d, secondaryCta: h, background: c = "gray", ta: m = "center" }) {
|
|
4061
4142
|
return /* @__PURE__ */ e(
|
|
4062
|
-
|
|
4143
|
+
k,
|
|
4063
4144
|
{
|
|
4064
4145
|
id: a,
|
|
4065
4146
|
background: c,
|
|
@@ -4090,17 +4171,17 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4090
4171
|
children: s
|
|
4091
4172
|
}
|
|
4092
4173
|
),
|
|
4093
|
-
|
|
4174
|
+
o && // Title, e não Text: o banner costuma ser a única seção
|
|
4094
4175
|
// da página (um 404, por exemplo) e sem heading ela fica
|
|
4095
4176
|
// sem estrutura para leitor de tela.
|
|
4096
4177
|
/* @__PURE__ */ e(
|
|
4097
|
-
|
|
4178
|
+
D,
|
|
4098
4179
|
{
|
|
4099
4180
|
order: i,
|
|
4100
4181
|
fz: "var(--fz-section-title)",
|
|
4101
4182
|
lh: 1.2,
|
|
4102
4183
|
maw: 700,
|
|
4103
|
-
children:
|
|
4184
|
+
children: o
|
|
4104
4185
|
}
|
|
4105
4186
|
),
|
|
4106
4187
|
n && /* @__PURE__ */ e(
|
|
@@ -4112,14 +4193,14 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4112
4193
|
children: n
|
|
4113
4194
|
}
|
|
4114
4195
|
),
|
|
4115
|
-
|
|
4116
|
-
|
|
4196
|
+
l && l.length > 0 && /* @__PURE__ */ r(x, { ta: "left", children: [
|
|
4197
|
+
p && /* @__PURE__ */ e(
|
|
4117
4198
|
t,
|
|
4118
4199
|
{
|
|
4119
4200
|
fw: 700,
|
|
4120
4201
|
c: "gray.9",
|
|
4121
4202
|
mb: "md",
|
|
4122
|
-
children:
|
|
4203
|
+
children: p
|
|
4123
4204
|
}
|
|
4124
4205
|
),
|
|
4125
4206
|
/* @__PURE__ */ e(
|
|
@@ -4134,7 +4215,7 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4134
4215
|
size: 24,
|
|
4135
4216
|
radius: "0",
|
|
4136
4217
|
children: /* @__PURE__ */ e(
|
|
4137
|
-
|
|
4218
|
+
H,
|
|
4138
4219
|
{
|
|
4139
4220
|
size: 14,
|
|
4140
4221
|
color: "var(--mantine-color-gray-9)"
|
|
@@ -4142,7 +4223,7 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4142
4223
|
)
|
|
4143
4224
|
}
|
|
4144
4225
|
),
|
|
4145
|
-
children:
|
|
4226
|
+
children: l.map((b, y) => /* @__PURE__ */ e($.Item, { children: /* @__PURE__ */ e(
|
|
4146
4227
|
t,
|
|
4147
4228
|
{
|
|
4148
4229
|
c: "gray.6",
|
|
@@ -4153,7 +4234,7 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4153
4234
|
}
|
|
4154
4235
|
)
|
|
4155
4236
|
] }),
|
|
4156
|
-
(d ||
|
|
4237
|
+
(d || h) && // O Box acompanha o alinhamento do Stack em vez de esticar:
|
|
4157
4238
|
// sem isso o botão ocupava a linha inteira e ficava colado
|
|
4158
4239
|
// à esquerda, fora do eixo do texto centralizado.
|
|
4159
4240
|
/* @__PURE__ */ e(
|
|
@@ -4186,19 +4267,19 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4186
4267
|
styles: ge
|
|
4187
4268
|
}
|
|
4188
4269
|
),
|
|
4189
|
-
|
|
4270
|
+
h && /* @__PURE__ */ e(
|
|
4190
4271
|
M,
|
|
4191
4272
|
{
|
|
4192
|
-
label:
|
|
4193
|
-
href:
|
|
4194
|
-
icon:
|
|
4195
|
-
leftSection:
|
|
4196
|
-
target:
|
|
4197
|
-
rel:
|
|
4198
|
-
size:
|
|
4199
|
-
px:
|
|
4200
|
-
variant:
|
|
4201
|
-
color:
|
|
4273
|
+
label: h.label,
|
|
4274
|
+
href: h.href,
|
|
4275
|
+
icon: h.icon,
|
|
4276
|
+
leftSection: h.leftSection,
|
|
4277
|
+
target: h.target,
|
|
4278
|
+
rel: h.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
4279
|
+
size: h.size || "xl",
|
|
4280
|
+
px: h.px,
|
|
4281
|
+
variant: h.variant || "default",
|
|
4282
|
+
color: h.color,
|
|
4202
4283
|
styles: ge
|
|
4203
4284
|
}
|
|
4204
4285
|
)
|
|
@@ -4215,27 +4296,27 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4215
4296
|
}
|
|
4216
4297
|
);
|
|
4217
4298
|
}
|
|
4218
|
-
const
|
|
4219
|
-
function
|
|
4299
|
+
const la = ve;
|
|
4300
|
+
function wr() {
|
|
4220
4301
|
ue(() => {
|
|
4221
4302
|
const a = document.createElement("meta");
|
|
4222
4303
|
return a.name = "robots", a.content = "noindex, follow", document.head.appendChild(a), () => a.remove();
|
|
4223
4304
|
}, []);
|
|
4224
4305
|
}
|
|
4225
|
-
function
|
|
4226
|
-
return
|
|
4227
|
-
|
|
4306
|
+
function sa({ subtitle: a = "Erro 404", title: s = "Esta página não existe", description: o = "O endereço está errado ou a página saiu do ar. O conteúdo do site está todo na home.", homeHref: i = "/", cta: n, background: l = "white" }) {
|
|
4307
|
+
return wr(), /* @__PURE__ */ e(
|
|
4308
|
+
ve,
|
|
4228
4309
|
{
|
|
4229
4310
|
subtitle: a,
|
|
4230
4311
|
title: s,
|
|
4231
4312
|
titleOrder: 1,
|
|
4232
|
-
description:
|
|
4233
|
-
background:
|
|
4313
|
+
description: o,
|
|
4314
|
+
background: l,
|
|
4234
4315
|
cta: n ?? {
|
|
4235
4316
|
label: "Voltar para a home",
|
|
4236
4317
|
href: i,
|
|
4237
4318
|
leftSection: /* @__PURE__ */ e(
|
|
4238
|
-
|
|
4319
|
+
Ge,
|
|
4239
4320
|
{
|
|
4240
4321
|
size: 18,
|
|
4241
4322
|
stroke: 1.5
|
|
@@ -4245,8 +4326,8 @@ function aa({ subtitle: a = "Erro 404", title: s = "Esta página não existe", d
|
|
|
4245
4326
|
}
|
|
4246
4327
|
);
|
|
4247
4328
|
}
|
|
4248
|
-
function
|
|
4249
|
-
const i =
|
|
4329
|
+
function vr({ text: a = "Selo Exclusivo", color: s = "green.6", background: o = "gray" }) {
|
|
4330
|
+
const i = N(o);
|
|
4250
4331
|
return /* @__PURE__ */ e(
|
|
4251
4332
|
x,
|
|
4252
4333
|
{
|
|
@@ -4264,7 +4345,7 @@ function fr({ text: a = "Selo Exclusivo", color: s = "green.6", background: l =
|
|
|
4264
4345
|
variant: "light",
|
|
4265
4346
|
size: "sm",
|
|
4266
4347
|
children: /* @__PURE__ */ e(
|
|
4267
|
-
|
|
4348
|
+
He,
|
|
4268
4349
|
{
|
|
4269
4350
|
size: 14,
|
|
4270
4351
|
"aria-hidden": "true"
|
|
@@ -4287,17 +4368,17 @@ function fr({ text: a = "Selo Exclusivo", color: s = "green.6", background: l =
|
|
|
4287
4368
|
}
|
|
4288
4369
|
);
|
|
4289
4370
|
}
|
|
4290
|
-
const
|
|
4291
|
-
function
|
|
4292
|
-
const
|
|
4371
|
+
const ca = vr;
|
|
4372
|
+
function da({ logo: a, description: s, sections: o = [], socialLinks: i = [], copyrightText: n, madeByText: l, background: p = "white", status: d }) {
|
|
4373
|
+
const h = N(p);
|
|
4293
4374
|
return /* @__PURE__ */ e(
|
|
4294
4375
|
x,
|
|
4295
4376
|
{
|
|
4296
4377
|
component: "footer",
|
|
4297
4378
|
py: "xl",
|
|
4298
|
-
bg:
|
|
4379
|
+
bg: h,
|
|
4299
4380
|
bd: { top: "1px solid var(--mantine-color-gray-2)" },
|
|
4300
|
-
children: /* @__PURE__ */ r(
|
|
4381
|
+
children: /* @__PURE__ */ r(E, { size: "xl", children: [
|
|
4301
4382
|
/* @__PURE__ */ r(
|
|
4302
4383
|
A,
|
|
4303
4384
|
{
|
|
@@ -4305,7 +4386,7 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4305
4386
|
spacing: "xl",
|
|
4306
4387
|
children: [
|
|
4307
4388
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
4308
|
-
a && /* @__PURE__ */ e(
|
|
4389
|
+
a && /* @__PURE__ */ e(re, { logo: a }),
|
|
4309
4390
|
s && /* @__PURE__ */ e(
|
|
4310
4391
|
t,
|
|
4311
4392
|
{
|
|
@@ -4323,11 +4404,11 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4323
4404
|
{
|
|
4324
4405
|
cols: {
|
|
4325
4406
|
base: 2,
|
|
4326
|
-
sm:
|
|
4407
|
+
sm: o.length + (i?.length > 0 ? 1 : 0) || 4
|
|
4327
4408
|
},
|
|
4328
4409
|
spacing: "xl",
|
|
4329
4410
|
children: [
|
|
4330
|
-
|
|
4411
|
+
o.map((c, m) => /* @__PURE__ */ r(
|
|
4331
4412
|
u,
|
|
4332
4413
|
{
|
|
4333
4414
|
gap: "md",
|
|
@@ -4343,15 +4424,15 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4343
4424
|
children: c.title
|
|
4344
4425
|
}
|
|
4345
4426
|
),
|
|
4346
|
-
/* @__PURE__ */ e(u, { gap: "xs", children: c.links.map((
|
|
4427
|
+
/* @__PURE__ */ e(u, { gap: "xs", children: c.links.map((g, b) => /* @__PURE__ */ e(
|
|
4347
4428
|
me,
|
|
4348
4429
|
{
|
|
4349
4430
|
c: "gray.6",
|
|
4350
4431
|
size: "sm",
|
|
4351
|
-
...
|
|
4352
|
-
component:
|
|
4432
|
+
...g,
|
|
4433
|
+
component: g.component || (g.href ? "a" : "button"),
|
|
4353
4434
|
fw: 500,
|
|
4354
|
-
children:
|
|
4435
|
+
children: g.label
|
|
4355
4436
|
},
|
|
4356
4437
|
b
|
|
4357
4438
|
)) })
|
|
@@ -4372,7 +4453,7 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4372
4453
|
}
|
|
4373
4454
|
),
|
|
4374
4455
|
/* @__PURE__ */ e(f, { gap: "xs", children: i.map((c, m) => /* @__PURE__ */ e(
|
|
4375
|
-
|
|
4456
|
+
X,
|
|
4376
4457
|
{
|
|
4377
4458
|
size: "md",
|
|
4378
4459
|
variant: "subtle",
|
|
@@ -4394,7 +4475,7 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4394
4475
|
}
|
|
4395
4476
|
),
|
|
4396
4477
|
/* @__PURE__ */ e(
|
|
4397
|
-
|
|
4478
|
+
L,
|
|
4398
4479
|
{
|
|
4399
4480
|
my: "xl",
|
|
4400
4481
|
color: "gray.2"
|
|
@@ -4421,7 +4502,7 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4421
4502
|
children: n
|
|
4422
4503
|
}
|
|
4423
4504
|
),
|
|
4424
|
-
|
|
4505
|
+
l && /* @__PURE__ */ e(
|
|
4425
4506
|
t,
|
|
4426
4507
|
{
|
|
4427
4508
|
size: "xs",
|
|
@@ -4429,7 +4510,7 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4429
4510
|
tt: "uppercase",
|
|
4430
4511
|
lts: "1px",
|
|
4431
4512
|
c: "gray.5",
|
|
4432
|
-
children:
|
|
4513
|
+
children: l
|
|
4433
4514
|
}
|
|
4434
4515
|
)
|
|
4435
4516
|
]
|
|
@@ -4439,17 +4520,17 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4439
4520
|
}
|
|
4440
4521
|
);
|
|
4441
4522
|
}
|
|
4442
|
-
function
|
|
4523
|
+
function ha({ companyName: a = "Infrastructure", legalEntity: s, productName: o = "nossos produtos" }) {
|
|
4443
4524
|
const i = s || a, n = i.split(" (")[0];
|
|
4444
4525
|
return /* @__PURE__ */ e(
|
|
4445
4526
|
x,
|
|
4446
4527
|
{
|
|
4447
4528
|
py: 100,
|
|
4448
4529
|
bg: "white",
|
|
4449
|
-
children: /* @__PURE__ */ e(
|
|
4530
|
+
children: /* @__PURE__ */ e(E, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
4450
4531
|
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
4451
4532
|
/* @__PURE__ */ e(
|
|
4452
|
-
|
|
4533
|
+
D,
|
|
4453
4534
|
{
|
|
4454
4535
|
order: 2,
|
|
4455
4536
|
ta: "center",
|
|
@@ -4473,12 +4554,12 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4473
4554
|
"Como ",
|
|
4474
4555
|
a,
|
|
4475
4556
|
" trata os dados no ",
|
|
4476
|
-
|
|
4557
|
+
o
|
|
4477
4558
|
]
|
|
4478
4559
|
}
|
|
4479
4560
|
)
|
|
4480
4561
|
] }),
|
|
4481
|
-
/* @__PURE__ */ e(
|
|
4562
|
+
/* @__PURE__ */ e(L, { color: "gray.2" }),
|
|
4482
4563
|
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
4483
4564
|
/* @__PURE__ */ r(
|
|
4484
4565
|
t,
|
|
@@ -4488,7 +4569,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4488
4569
|
c: "gray.8",
|
|
4489
4570
|
children: [
|
|
4490
4571
|
"Esta política diz quais dados o ",
|
|
4491
|
-
/* @__PURE__ */ e("strong", { children:
|
|
4572
|
+
/* @__PURE__ */ e("strong", { children: o }),
|
|
4492
4573
|
" guarda, para quê, e o que você pode pedir sobre eles.",
|
|
4493
4574
|
/* @__PURE__ */ e("strong", { children: a }),
|
|
4494
4575
|
" cobra pelo produto, não pelos seus dados."
|
|
@@ -4549,7 +4630,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4549
4630
|
lh: 1.7,
|
|
4550
4631
|
children: [
|
|
4551
4632
|
"Guardamos o que o ",
|
|
4552
|
-
|
|
4633
|
+
o,
|
|
4553
4634
|
" precisa para funcionar: os dados da sua conta, o que você cria nele e os registros técnicos necessários para operar e proteger o serviço. Não usamos esses dados para montar perfil de publicidade nem para outra finalidade que não seja o próprio produto."
|
|
4554
4635
|
]
|
|
4555
4636
|
}
|
|
@@ -4621,7 +4702,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4621
4702
|
radius: "0",
|
|
4622
4703
|
color: "gray",
|
|
4623
4704
|
children: /* @__PURE__ */ e(
|
|
4624
|
-
|
|
4705
|
+
Ke,
|
|
4625
4706
|
{
|
|
4626
4707
|
size: 32,
|
|
4627
4708
|
stroke: 1.2
|
|
@@ -4672,7 +4753,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4672
4753
|
radius: "0",
|
|
4673
4754
|
color: "gray",
|
|
4674
4755
|
children: /* @__PURE__ */ e(
|
|
4675
|
-
|
|
4756
|
+
Qe,
|
|
4676
4757
|
{
|
|
4677
4758
|
size: 32,
|
|
4678
4759
|
stroke: 1.2
|
|
@@ -4700,7 +4781,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4700
4781
|
lh: 1.7,
|
|
4701
4782
|
children: [
|
|
4702
4783
|
"Você pode pedir acesso, correção ou exclusão dos seus dados a qualquer momento, pelo canal de suporte do produto. Onde o ",
|
|
4703
|
-
|
|
4784
|
+
o,
|
|
4704
4785
|
" já tem exportação, você mesmo baixa os dados em formato aberto; onde ainda não tem, a documentação do produto diz isso."
|
|
4705
4786
|
]
|
|
4706
4787
|
}
|
|
@@ -4710,7 +4791,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4710
4791
|
}
|
|
4711
4792
|
)
|
|
4712
4793
|
] }),
|
|
4713
|
-
/* @__PURE__ */ e(
|
|
4794
|
+
/* @__PURE__ */ e(L, { color: "gray.2" }),
|
|
4714
4795
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
4715
4796
|
/* @__PURE__ */ e(
|
|
4716
4797
|
t,
|
|
@@ -4732,7 +4813,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4732
4813
|
lh: 1.8,
|
|
4733
4814
|
children: [
|
|
4734
4815
|
"O ",
|
|
4735
|
-
|
|
4816
|
+
o,
|
|
4736
4817
|
" opera sob a lei brasileira e trata os dados conforme a Lei Geral de Proteção de Dados (Lei nº 13.709/2018). Não há certificação nem auditoria de terceiro. Um incidente que atinja dados pessoais é comunicado aos titulares e à ANPD nos prazos da regulamentação. Para falar com o Encarregado de Dados de ",
|
|
4737
4818
|
n,
|
|
4738
4819
|
", use o canal de suporte do produto."
|
|
@@ -4744,17 +4825,17 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4744
4825
|
}
|
|
4745
4826
|
);
|
|
4746
4827
|
}
|
|
4747
|
-
function
|
|
4748
|
-
const n = s || a,
|
|
4828
|
+
function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o = "nossos produtos", lastUpdated: i = "20 de setembro de 2026" }) {
|
|
4829
|
+
const n = s || a, l = n.split(" (")[0];
|
|
4749
4830
|
return /* @__PURE__ */ e(
|
|
4750
4831
|
x,
|
|
4751
4832
|
{
|
|
4752
4833
|
py: 100,
|
|
4753
4834
|
bg: "white",
|
|
4754
|
-
children: /* @__PURE__ */ e(
|
|
4835
|
+
children: /* @__PURE__ */ e(E, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
4755
4836
|
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
4756
4837
|
/* @__PURE__ */ e(
|
|
4757
|
-
|
|
4838
|
+
D,
|
|
4758
4839
|
{
|
|
4759
4840
|
order: 2,
|
|
4760
4841
|
ta: "center",
|
|
@@ -4776,12 +4857,12 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4776
4857
|
lts: "2px",
|
|
4777
4858
|
children: [
|
|
4778
4859
|
"Acordo de Licença para Usuário Final (EULA) do ",
|
|
4779
|
-
|
|
4860
|
+
o
|
|
4780
4861
|
]
|
|
4781
4862
|
}
|
|
4782
4863
|
)
|
|
4783
4864
|
] }),
|
|
4784
|
-
/* @__PURE__ */ e(
|
|
4865
|
+
/* @__PURE__ */ e(L, { color: "gray.2" }),
|
|
4785
4866
|
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
4786
4867
|
/* @__PURE__ */ r(
|
|
4787
4868
|
t,
|
|
@@ -4791,7 +4872,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4791
4872
|
c: "gray.8",
|
|
4792
4873
|
children: [
|
|
4793
4874
|
"Bem-vindo ao ",
|
|
4794
|
-
/* @__PURE__ */ e("strong", { children:
|
|
4875
|
+
/* @__PURE__ */ e("strong", { children: o }),
|
|
4795
4876
|
". Este documento constitui um contrato vinculativo entre você e ",
|
|
4796
4877
|
n,
|
|
4797
4878
|
". Ao acessar a plataforma, criar uma conta ou utilizar qualquer funcionalidade do software, você confirma que leu, entendeu e aceita integralmente estes termos."
|
|
@@ -4824,7 +4905,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4824
4905
|
radius: "0",
|
|
4825
4906
|
color: "gray",
|
|
4826
4907
|
children: /* @__PURE__ */ e(
|
|
4827
|
-
|
|
4908
|
+
Ye,
|
|
4828
4909
|
{
|
|
4829
4910
|
size: 32,
|
|
4830
4911
|
stroke: 1.2
|
|
@@ -4851,9 +4932,9 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4851
4932
|
c: "gray.6",
|
|
4852
4933
|
lh: 1.7,
|
|
4853
4934
|
children: [
|
|
4854
|
-
o,
|
|
4855
|
-
" concede a você uma licença limitada, revogável, não exclusiva e intransferível para utilizar o ",
|
|
4856
4935
|
l,
|
|
4936
|
+
" concede a você uma licença limitada, revogável, não exclusiva e intransferível para utilizar o ",
|
|
4937
|
+
o,
|
|
4857
4938
|
" como um serviço (SaaS). Esta licença é estritamente para os fins descritos em sua modalidade de assinatura. É expressamente proibido: (a) realizar engenharia reversa; (b) sublicenciar o acesso sem autorização prévia por escrito; (c) utilizar o software para desenvolver produtos concorrentes ou (d) contornar quaisquer limitações técnicas impostas ao sistema."
|
|
4858
4939
|
]
|
|
4859
4940
|
}
|
|
@@ -4877,7 +4958,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4877
4958
|
radius: "0",
|
|
4878
4959
|
color: "gray",
|
|
4879
4960
|
children: /* @__PURE__ */ e(
|
|
4880
|
-
|
|
4961
|
+
Xe,
|
|
4881
4962
|
{
|
|
4882
4963
|
size: 32,
|
|
4883
4964
|
stroke: 1.2
|
|
@@ -4905,7 +4986,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4905
4986
|
lh: 1.7,
|
|
4906
4987
|
children: [
|
|
4907
4988
|
"A segurança da sua conta é uma responsabilidade compartilhada. Você deve fornecer informações precisas e manter a confidencialidade de suas senhas. Qualquer uso indevido da conta por terceiros, resultante de negligência do usuário, será de sua inteira responsabilidade.",
|
|
4908
|
-
|
|
4989
|
+
l,
|
|
4909
4990
|
" reserva-se o direito de suspender contas que apresentem comportamento suspeito ou que violem as normas de segurança da infraestrutura."
|
|
4910
4991
|
]
|
|
4911
4992
|
}
|
|
@@ -4929,7 +5010,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4929
5010
|
radius: "0",
|
|
4930
5011
|
color: "gray",
|
|
4931
5012
|
children: /* @__PURE__ */ e(
|
|
4932
|
-
|
|
5013
|
+
Je,
|
|
4933
5014
|
{
|
|
4934
5015
|
size: 32,
|
|
4935
5016
|
stroke: 1.2
|
|
@@ -4957,9 +5038,9 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4957
5038
|
lh: 1.7,
|
|
4958
5039
|
children: [
|
|
4959
5040
|
"Todo o código-fonte, design, interfaces, logotipos e textos do ",
|
|
4960
|
-
l,
|
|
4961
|
-
" são propriedade exclusiva de ",
|
|
4962
5041
|
o,
|
|
5042
|
+
" são propriedade exclusiva de ",
|
|
5043
|
+
l,
|
|
4963
5044
|
". No entanto, você retém todos os direitos sobre o conteúdo e dados que inseridos no sistema. Ao utilizar o produto, você nos concede apenas uma licença técnica, mundial e livre de royalties, para hospedar, copiar e exibir tais dados conforme necessário para prestar o serviço contratado."
|
|
4964
5045
|
]
|
|
4965
5046
|
}
|
|
@@ -4983,7 +5064,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4983
5064
|
radius: "0",
|
|
4984
5065
|
color: "gray",
|
|
4985
5066
|
children: /* @__PURE__ */ e(
|
|
4986
|
-
|
|
5067
|
+
Ze,
|
|
4987
5068
|
{
|
|
4988
5069
|
size: 32,
|
|
4989
5070
|
stroke: 1.2
|
|
@@ -5011,7 +5092,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5011
5092
|
lh: 1.7,
|
|
5012
5093
|
children: [
|
|
5013
5094
|
"O ",
|
|
5014
|
-
|
|
5095
|
+
o,
|
|
5015
5096
|
" não deve ser utilizado para: (i) propagação de malware ou ataques de negação de serviço (DoS); (ii) envio de comunicações não solicitadas (SPAM); (iii) processamento de dados ilegais ou que infrinjam direitos autorais de terceiros. A violação desta cláusula resultará no cancelamento imediato da conta, sem direito a reembolso, e na colaboração total com as autoridades competentes."
|
|
5016
5097
|
]
|
|
5017
5098
|
}
|
|
@@ -5035,7 +5116,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5035
5116
|
radius: "0",
|
|
5036
5117
|
color: "gray",
|
|
5037
5118
|
children: /* @__PURE__ */ e(
|
|
5038
|
-
|
|
5119
|
+
er,
|
|
5039
5120
|
{
|
|
5040
5121
|
size: 32,
|
|
5041
5122
|
stroke: 1.2
|
|
@@ -5063,11 +5144,11 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5063
5144
|
lh: 1.7,
|
|
5064
5145
|
children: [
|
|
5065
5146
|
"O ",
|
|
5066
|
-
|
|
5147
|
+
o,
|
|
5067
5148
|
" é fornecido ",
|
|
5068
5149
|
/* @__PURE__ */ e("em", { children: '"as is"' }),
|
|
5069
5150
|
" (como está). Embora busquemos a excelência técnica, ",
|
|
5070
|
-
|
|
5151
|
+
l,
|
|
5071
5152
|
" não garante que o software seja livre de erros ou interrupções. Em nenhuma hipótese a companhia será responsável por danos indiretos, lucros cessantes ou qualquer perda de dados que ultrapasse o valor total pago pelo usuário nos últimos 12 meses."
|
|
5072
5153
|
]
|
|
5073
5154
|
}
|
|
@@ -5077,7 +5158,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5077
5158
|
}
|
|
5078
5159
|
)
|
|
5079
5160
|
] }),
|
|
5080
|
-
/* @__PURE__ */ e(
|
|
5161
|
+
/* @__PURE__ */ e(L, { color: "gray.2" }),
|
|
5081
5162
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
5082
5163
|
/* @__PURE__ */ e(
|
|
5083
5164
|
t,
|
|
@@ -5099,7 +5180,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5099
5180
|
lh: 1.8,
|
|
5100
5181
|
children: [
|
|
5101
5182
|
"Reservamo-nos o direito de alterar estes Termos a qualquer momento. Alterações substanciais serão comunicadas com pelo menos 30 dias de antecedência. Este contrato é regido pelas leis da República Federativa do Brasil, sendo eleito o foro da comarca da sede de ",
|
|
5102
|
-
|
|
5183
|
+
l,
|
|
5103
5184
|
" para dirimir quaisquer controvérsias. Última atualização: ",
|
|
5104
5185
|
i,
|
|
5105
5186
|
"."
|
|
@@ -5111,17 +5192,17 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5111
5192
|
}
|
|
5112
5193
|
);
|
|
5113
5194
|
}
|
|
5114
|
-
function
|
|
5195
|
+
function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o = "nossos produtos" }) {
|
|
5115
5196
|
const i = s || a;
|
|
5116
5197
|
return i.split(" (")[0], /* @__PURE__ */ e(
|
|
5117
5198
|
x,
|
|
5118
5199
|
{
|
|
5119
5200
|
py: 100,
|
|
5120
5201
|
bg: "white",
|
|
5121
|
-
children: /* @__PURE__ */ e(
|
|
5202
|
+
children: /* @__PURE__ */ e(E, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
5122
5203
|
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
5123
5204
|
/* @__PURE__ */ e(
|
|
5124
|
-
|
|
5205
|
+
D,
|
|
5125
5206
|
{
|
|
5126
5207
|
order: 2,
|
|
5127
5208
|
ta: "center",
|
|
@@ -5143,12 +5224,12 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5143
5224
|
lts: "2px",
|
|
5144
5225
|
children: [
|
|
5145
5226
|
"Protocolos de proteção, infraestrutura e resposta a incidentes do ",
|
|
5146
|
-
|
|
5227
|
+
o
|
|
5147
5228
|
]
|
|
5148
5229
|
}
|
|
5149
5230
|
)
|
|
5150
5231
|
] }),
|
|
5151
|
-
/* @__PURE__ */ e(
|
|
5232
|
+
/* @__PURE__ */ e(L, { color: "gray.2" }),
|
|
5152
5233
|
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
5153
5234
|
/* @__PURE__ */ r(
|
|
5154
5235
|
t,
|
|
@@ -5158,7 +5239,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5158
5239
|
c: "gray.8",
|
|
5159
5240
|
children: [
|
|
5160
5241
|
"Este documento diz como o ",
|
|
5161
|
-
/* @__PURE__ */ e("strong", { children:
|
|
5242
|
+
/* @__PURE__ */ e("strong", { children: o }),
|
|
5162
5243
|
" protege os seus dados hoje, e também o que ele ainda não tem.",
|
|
5163
5244
|
/* @__PURE__ */ e("strong", { children: a }),
|
|
5164
5245
|
" é uma operação pequena por escolha: preferimos escrever um limite com todas as letras a prometer uma camada de proteção que não existe."
|
|
@@ -5191,7 +5272,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5191
5272
|
radius: "0",
|
|
5192
5273
|
color: "gray",
|
|
5193
5274
|
children: /* @__PURE__ */ e(
|
|
5194
|
-
|
|
5275
|
+
rr,
|
|
5195
5276
|
{
|
|
5196
5277
|
size: 32,
|
|
5197
5278
|
stroke: 1.2
|
|
@@ -5219,7 +5300,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5219
5300
|
lh: 1.7,
|
|
5220
5301
|
children: [
|
|
5221
5302
|
"Todo o tráfego entre você e o ",
|
|
5222
|
-
|
|
5303
|
+
o,
|
|
5223
5304
|
" passa por HTTPS. Os dados ficam em provedores que os criptografam em repouso (Cloudflare, Fly.io e, para e-mail, AWS). Chaves de serviços de terceiros que você nos entrega são guardadas cifradas, e as chaves de produção ficam nos cofres de segredos desses provedores, nunca no código."
|
|
5224
5305
|
]
|
|
5225
5306
|
}
|
|
@@ -5271,7 +5352,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5271
5352
|
lh: 1.7,
|
|
5272
5353
|
children: [
|
|
5273
5354
|
"O ",
|
|
5274
|
-
|
|
5355
|
+
o,
|
|
5275
5356
|
" roda sobre a rede da Cloudflare e sobre máquinas no Fly.io; a proteção contra ataques de negação de serviço é a da própria Cloudflare. Cada conta enxerga só os próprios recursos: toda leitura e escrita é filtrada pela conta autenticada. A região onde cada produto guarda os dados está escrita na documentação dele."
|
|
5276
5357
|
]
|
|
5277
5358
|
}
|
|
@@ -5295,7 +5376,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5295
5376
|
radius: "0",
|
|
5296
5377
|
color: "gray",
|
|
5297
5378
|
children: /* @__PURE__ */ e(
|
|
5298
|
-
|
|
5379
|
+
ar,
|
|
5299
5380
|
{
|
|
5300
5381
|
size: 32,
|
|
5301
5382
|
stroke: 1.2
|
|
@@ -5343,7 +5424,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5343
5424
|
radius: "0",
|
|
5344
5425
|
color: "gray",
|
|
5345
5426
|
children: /* @__PURE__ */ e(
|
|
5346
|
-
|
|
5427
|
+
tr,
|
|
5347
5428
|
{
|
|
5348
5429
|
size: 32,
|
|
5349
5430
|
stroke: 1.2
|
|
@@ -5377,10 +5458,10 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5377
5458
|
}
|
|
5378
5459
|
)
|
|
5379
5460
|
] }),
|
|
5380
|
-
/* @__PURE__ */ e(
|
|
5461
|
+
/* @__PURE__ */ e(L, { color: "gray.2" }),
|
|
5381
5462
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
5382
5463
|
/* @__PURE__ */ r(f, { gap: "sm", children: [
|
|
5383
|
-
/* @__PURE__ */ e(S, { variant: "transparent", color: "gray.9", children: /* @__PURE__ */ e(
|
|
5464
|
+
/* @__PURE__ */ e(S, { variant: "transparent", color: "gray.9", children: /* @__PURE__ */ e(nr, { size: 18 }) }),
|
|
5384
5465
|
/* @__PURE__ */ e(
|
|
5385
5466
|
t,
|
|
5386
5467
|
{
|
|
@@ -5412,22 +5493,22 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5412
5493
|
}
|
|
5413
5494
|
);
|
|
5414
5495
|
}
|
|
5415
|
-
const
|
|
5416
|
-
function
|
|
5417
|
-
const [i, n] =
|
|
5496
|
+
const zr = 6, Sr = 2e3;
|
|
5497
|
+
function ma(a, { intervalMs: s = 3e4, maxSamples: o = 40 } = {}) {
|
|
5498
|
+
const [i, n] = G({ status: "loading", checks: [], checkedAt: null, error: null, loading: !0 }), [l, p] = G([]), d = Oe([]);
|
|
5418
5499
|
return ue(() => {
|
|
5419
5500
|
if (!a) return;
|
|
5420
|
-
d.current = [],
|
|
5421
|
-
let
|
|
5501
|
+
d.current = [], p([]);
|
|
5502
|
+
let h = !1;
|
|
5422
5503
|
const c = (I) => {
|
|
5423
|
-
d.current = [...d.current, I].slice(-
|
|
5424
|
-
}, m = () => (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit", second: "2-digit" }),
|
|
5504
|
+
d.current = [...d.current, I].slice(-o), p(d.current);
|
|
5505
|
+
}, m = () => (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit", second: "2-digit" }), g = async () => {
|
|
5425
5506
|
const I = Date.now();
|
|
5426
5507
|
try {
|
|
5427
|
-
const
|
|
5428
|
-
if (!
|
|
5429
|
-
const w = await
|
|
5430
|
-
if (
|
|
5508
|
+
const q = await fetch(a, { headers: { accept: "application/json" } });
|
|
5509
|
+
if (!q.ok) throw new Error(`HTTP ${q.status}`);
|
|
5510
|
+
const w = await q.json();
|
|
5511
|
+
if (h) return;
|
|
5431
5512
|
b ? b = !1 : c({ time: m(), ms: Date.now() - I, up: w.status !== "down" }), n({
|
|
5432
5513
|
status: w.status || "operational",
|
|
5433
5514
|
checks: w.checks || [],
|
|
@@ -5437,79 +5518,84 @@ function sa(a, { intervalMs: s = 3e4, maxSamples: l = 40 } = {}) {
|
|
|
5437
5518
|
loading: !1
|
|
5438
5519
|
});
|
|
5439
5520
|
} catch {
|
|
5440
|
-
if (
|
|
5521
|
+
if (h) return;
|
|
5441
5522
|
b = !1, c({ time: m(), ms: Date.now() - I, up: !1 }), n((w) => ({ ...w, error: "unreachable", loading: !1 }));
|
|
5442
5523
|
}
|
|
5443
5524
|
};
|
|
5444
|
-
let b = !0, y = 0,
|
|
5445
|
-
const
|
|
5446
|
-
await
|
|
5525
|
+
let b = !0, y = 0, v;
|
|
5526
|
+
const F = async () => {
|
|
5527
|
+
await g(), !h && (y += 1, v = setTimeout(F, y < zr ? Sr : s));
|
|
5447
5528
|
};
|
|
5448
|
-
return
|
|
5449
|
-
|
|
5529
|
+
return F(), () => {
|
|
5530
|
+
h = !0, clearTimeout(v);
|
|
5450
5531
|
};
|
|
5451
|
-
}, [a, s,
|
|
5532
|
+
}, [a, s, o]), {
|
|
5452
5533
|
...i,
|
|
5453
|
-
latency:
|
|
5534
|
+
latency: l.map((h) => ({ time: h.time, ms: h.ms })),
|
|
5454
5535
|
// A "disponibilidade" aqui é a das amostras desta sessão, agrupadas em
|
|
5455
5536
|
// blocos — não um SLA de 90 dias. O rótulo na página diz isso.
|
|
5456
|
-
uptime:
|
|
5537
|
+
uptime: Ir(l),
|
|
5457
5538
|
// 1 = respondeu, 0.25 = falhou. Zero puro sumiria da barra e a falha
|
|
5458
5539
|
// ficaria invisível justamente quando importa.
|
|
5459
|
-
history:
|
|
5540
|
+
history: l.map((h) => h.up ? 1 : 0.25)
|
|
5460
5541
|
};
|
|
5461
5542
|
}
|
|
5462
|
-
function
|
|
5543
|
+
function Ir(a, s = 12) {
|
|
5463
5544
|
if (a.length === 0) return [];
|
|
5464
|
-
const
|
|
5465
|
-
for (let n = 0; n < a.length; n +=
|
|
5466
|
-
const
|
|
5467
|
-
i.push({ day:
|
|
5545
|
+
const o = Math.max(1, Math.ceil(a.length / s)), i = [];
|
|
5546
|
+
for (let n = 0; n < a.length; n += o) {
|
|
5547
|
+
const l = a.slice(n, n + o), p = l.filter((d) => d.up).length;
|
|
5548
|
+
i.push({ day: l[l.length - 1].time, pct: p / l.length * 100 });
|
|
5468
5549
|
}
|
|
5469
5550
|
return i;
|
|
5470
5551
|
}
|
|
5471
5552
|
export {
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5553
|
+
Rr as AuthLoader,
|
|
5554
|
+
re as BrandLogo,
|
|
5555
|
+
ve as CTABanner,
|
|
5475
5556
|
M as CTAButton,
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5557
|
+
Zr as Callout,
|
|
5558
|
+
dr as CodeBlock,
|
|
5559
|
+
pr as ColorSchemeToggle,
|
|
5560
|
+
ta as Comparison,
|
|
5561
|
+
Jr as CriteriaList,
|
|
5562
|
+
ia as FAQ,
|
|
5563
|
+
_r as FeatureSplit,
|
|
5564
|
+
Gr as FeaturesGrid,
|
|
5565
|
+
da as Footer,
|
|
5566
|
+
ea as FounderCard,
|
|
5567
|
+
gr as Header,
|
|
5568
|
+
Wr as Hero,
|
|
5569
|
+
lr as LOGOTYPE_SIGNATURE,
|
|
5570
|
+
$r as Layout,
|
|
5571
|
+
aa as LeadForm,
|
|
5572
|
+
ha as LegalPrivacy,
|
|
5573
|
+
ga as LegalSecurity,
|
|
5574
|
+
pa as LegalTerms,
|
|
5575
|
+
Or as Logotype,
|
|
5576
|
+
sr as LogotypeBolt,
|
|
5493
5577
|
be as MediaBlock,
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5578
|
+
Vr as Navbar,
|
|
5579
|
+
sa as NotFound,
|
|
5580
|
+
Xr as PlatformShelf,
|
|
5581
|
+
na as Pricing,
|
|
5582
|
+
Yr as ProductGrid,
|
|
5499
5583
|
Z as SECTION_BACKGROUNDS,
|
|
5500
|
-
|
|
5501
|
-
|
|
5584
|
+
la as SecondaryCTA,
|
|
5585
|
+
k as Section,
|
|
5502
5586
|
xe as SectionHeader,
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5587
|
+
ca as SeloExclusivo,
|
|
5588
|
+
Ur as SocialProof,
|
|
5589
|
+
Hr as StatsGrid,
|
|
5590
|
+
Kr as StatusBoard,
|
|
5591
|
+
Qr as StatusIndicator,
|
|
5592
|
+
ra as Steps,
|
|
5593
|
+
oa as Testimonials,
|
|
5594
|
+
vr as TrustBadge,
|
|
5595
|
+
or as Wordmark,
|
|
5596
|
+
cr as logotypeSignaturePx,
|
|
5597
|
+
N as resolveBackground,
|
|
5598
|
+
ee as scrollBehavior,
|
|
5599
|
+
Nr as theme,
|
|
5600
|
+
ma as useServiceStatus
|
|
5515
5601
|
};
|