@ciromaciel/components-kit 1.8.7 → 1.8.9
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/README.md +29 -0
- package/dist/components-kit.css +1 -1
- package/dist/index.esm.js +600 -599
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { createTheme as
|
|
2
|
-
import { jsxs as r, jsx as e, Fragment as
|
|
3
|
-
import { useReducedMotion as
|
|
4
|
-
import { isValidElement as
|
|
5
|
-
import { IconCheck as
|
|
6
|
-
import { AreaChart as
|
|
7
|
-
const Or =
|
|
1
|
+
import { createTheme as Ie, Stack as u, Group as f, Badge as M, Text as t, Title as B, Center as E, Box as x, Button as G, CopyButton as Te, Tooltip as te, ActionIcon as Z, useMantineColorScheme as Ae, Container as L, Flex as ke, Loader as Fe, Paper as T, SimpleGrid as k, Image as H, List as V, ThemeIcon as S, Grid as z, RingProgress as Ce, Anchor as fe, UnstyledButton as De, TextInput as oe, Divider as j, SegmentedControl as qe, Accordion as R, Avatar as Be } from "@mantine/core";
|
|
2
|
+
import { jsxs as r, jsx as e, Fragment as le } from "react/jsx-runtime";
|
|
3
|
+
import { useReducedMotion as Ee, useMounted as Pe, useColorScheme as Le, useWindowScroll as Me, useMediaQuery as je } from "@mantine/hooks";
|
|
4
|
+
import { isValidElement as Ne, useState as K, useMemo as Oe, Fragment as Re, useEffect as ye, useRef as $e } from "react";
|
|
5
|
+
import { IconCheck as Q, IconCopy as Ve, IconMoon as We, IconSun as Ue, IconDeviceDesktop as _e, IconArrowUpRight as Ge, IconShieldCheck as xe, IconBolt as se, IconQuote as He, IconArrowLeft as Ke, IconCircleCheck as Qe, IconCloudLock as be, IconEyeOff as Ye, IconUserShield as Xe, IconScale as Je, IconUserCheck as Ze, IconFileDescription as er, IconBan as rr, IconAlertCircle as ar, IconShieldLock as tr, IconDatabase as nr, IconUsers as ir, IconActivity as or } from "@tabler/icons-react";
|
|
6
|
+
import { AreaChart as lr } from "@mantine/charts";
|
|
7
|
+
const Or = Ie({
|
|
8
8
|
// As transições do próprio Mantine (Modal, Menu, Popover) também seguem
|
|
9
9
|
// "Reduzir movimento".
|
|
10
10
|
respectReducedMotion: !0,
|
|
@@ -245,7 +245,7 @@ const Or = Se({
|
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
});
|
|
248
|
-
function
|
|
248
|
+
function we({ badge: a, subtitle: s, title: o, titleOrder: i = 2, titleFz: n = "var(--fz-section-title)", ta: l = "left", maw: g }) {
|
|
249
249
|
return !o && !s && !a ? null : /* @__PURE__ */ r(
|
|
250
250
|
u,
|
|
251
251
|
{
|
|
@@ -259,7 +259,7 @@ function be({ badge: a, subtitle: s, title: o, titleOrder: i = 2, titleFz: n = "
|
|
|
259
259
|
justify: l === "center" ? "center" : "flex-start",
|
|
260
260
|
mb: "xs",
|
|
261
261
|
children: /* @__PURE__ */ e(
|
|
262
|
-
|
|
262
|
+
M,
|
|
263
263
|
{
|
|
264
264
|
variant: "dot",
|
|
265
265
|
color: "gray",
|
|
@@ -282,11 +282,11 @@ function be({ badge: a, subtitle: s, title: o, titleOrder: i = 2, titleFz: n = "
|
|
|
282
282
|
}
|
|
283
283
|
),
|
|
284
284
|
o && /* @__PURE__ */ e(
|
|
285
|
-
|
|
285
|
+
B,
|
|
286
286
|
{
|
|
287
287
|
order: i,
|
|
288
288
|
fz: n,
|
|
289
|
-
maw:
|
|
289
|
+
maw: g,
|
|
290
290
|
children: o
|
|
291
291
|
}
|
|
292
292
|
)
|
|
@@ -294,9 +294,9 @@ function be({ badge: a, subtitle: s, title: o, titleOrder: i = 2, titleFz: n = "
|
|
|
294
294
|
}
|
|
295
295
|
);
|
|
296
296
|
}
|
|
297
|
-
function
|
|
298
|
-
const l =
|
|
299
|
-
return a ? /* @__PURE__ */ e(
|
|
297
|
+
function ve({ video: a, image: s, width: o = "100%", maw: i, alt: n }) {
|
|
298
|
+
const l = Ee();
|
|
299
|
+
return a ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
300
300
|
x,
|
|
301
301
|
{
|
|
302
302
|
component: "video",
|
|
@@ -311,7 +311,7 @@ function we({ video: a, image: s, width: o = "100%", maw: i, alt: n }) {
|
|
|
311
311
|
h: "auto",
|
|
312
312
|
style: { filter: a.filter || "none" }
|
|
313
313
|
}
|
|
314
|
-
) }) : s ? /* @__PURE__ */ e(
|
|
314
|
+
) }) : s ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
315
315
|
x,
|
|
316
316
|
{
|
|
317
317
|
component: "img",
|
|
@@ -323,42 +323,42 @@ function we({ video: a, image: s, width: o = "100%", maw: i, alt: n }) {
|
|
|
323
323
|
}
|
|
324
324
|
) }) : null;
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function N({
|
|
327
327
|
label: a,
|
|
328
328
|
href: s,
|
|
329
329
|
onClick: o,
|
|
330
330
|
icon: i,
|
|
331
331
|
size: n = "lg",
|
|
332
332
|
variant: l = "filled",
|
|
333
|
-
color:
|
|
334
|
-
target:
|
|
335
|
-
px:
|
|
333
|
+
color: g,
|
|
334
|
+
target: h,
|
|
335
|
+
px: p,
|
|
336
336
|
fullWidth: c,
|
|
337
337
|
leftSection: m,
|
|
338
|
-
className:
|
|
338
|
+
className: d,
|
|
339
339
|
...b
|
|
340
340
|
}) {
|
|
341
341
|
return /* @__PURE__ */ e(
|
|
342
|
-
|
|
342
|
+
G,
|
|
343
343
|
{
|
|
344
344
|
size: n,
|
|
345
345
|
component: s ? "a" : "button",
|
|
346
346
|
href: s,
|
|
347
347
|
onClick: o,
|
|
348
|
-
target:
|
|
348
|
+
target: h,
|
|
349
349
|
rightSection: i,
|
|
350
350
|
leftSection: m,
|
|
351
351
|
variant: l,
|
|
352
|
-
color:
|
|
353
|
-
px:
|
|
352
|
+
color: g,
|
|
353
|
+
px: p,
|
|
354
354
|
fullWidth: c,
|
|
355
|
-
className:
|
|
355
|
+
className: d ? `rlg-cta ${d}` : "rlg-cta",
|
|
356
356
|
...b,
|
|
357
357
|
children: a
|
|
358
358
|
}
|
|
359
359
|
);
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function sr({ children: a, fz: s = 28, c: o = "gray.9", ...i }) {
|
|
362
362
|
return /* @__PURE__ */ e(
|
|
363
363
|
t,
|
|
364
364
|
{
|
|
@@ -375,7 +375,7 @@ function lr({ children: a, fz: s = 28, c: o = "gray.9", ...i }) {
|
|
|
375
375
|
);
|
|
376
376
|
}
|
|
377
377
|
function ae({ logo: a, objectPosition: s = "left" }) {
|
|
378
|
-
return a ?
|
|
378
|
+
return a ? Ne(a) ? a : typeof a == "object" && a.src ? /* @__PURE__ */ e(
|
|
379
379
|
"img",
|
|
380
380
|
{
|
|
381
381
|
src: a.src,
|
|
@@ -386,8 +386,8 @@ function ae({ logo: a, objectPosition: s = "left" }) {
|
|
|
386
386
|
}
|
|
387
387
|
) : a : null;
|
|
388
388
|
}
|
|
389
|
-
const
|
|
390
|
-
function
|
|
389
|
+
const cr = "by Ciro Cesar Maciel";
|
|
390
|
+
function dr(a) {
|
|
391
391
|
return /* @__PURE__ */ e(
|
|
392
392
|
"svg",
|
|
393
393
|
{
|
|
@@ -409,8 +409,8 @@ function cr(a) {
|
|
|
409
409
|
}
|
|
410
410
|
);
|
|
411
411
|
}
|
|
412
|
-
const
|
|
413
|
-
function Rr({ word: a, height: s = 40, signature: o =
|
|
412
|
+
const hr = (a) => Math.max(11, Math.round(0.21 * a * 10) / 10);
|
|
413
|
+
function Rr({ word: a, height: s = 40, signature: o = cr, style: i, ...n }) {
|
|
414
414
|
return /* @__PURE__ */ r(
|
|
415
415
|
"span",
|
|
416
416
|
{
|
|
@@ -436,7 +436,7 @@ function Rr({ word: a, height: s = 40, signature: o = sr, style: i, ...n }) {
|
|
|
436
436
|
...i
|
|
437
437
|
},
|
|
438
438
|
children: [
|
|
439
|
-
/* @__PURE__ */ e(
|
|
439
|
+
/* @__PURE__ */ e(dr, { style: { height: "1.6em", width: "auto", flex: "none" } }),
|
|
440
440
|
/* @__PURE__ */ r("span", { style: { display: "grid", justifyItems: "start" }, children: [
|
|
441
441
|
/* @__PURE__ */ e(
|
|
442
442
|
"span",
|
|
@@ -452,7 +452,7 @@ function Rr({ word: a, height: s = 40, signature: o = sr, style: i, ...n }) {
|
|
|
452
452
|
"data-logotype-signature": "",
|
|
453
453
|
style: {
|
|
454
454
|
fontWeight: 700,
|
|
455
|
-
fontSize:
|
|
455
|
+
fontSize: hr(s),
|
|
456
456
|
letterSpacing: "0.01em",
|
|
457
457
|
marginTop: "0.35em",
|
|
458
458
|
color: "var(--mantine-color-gray-6)"
|
|
@@ -465,10 +465,10 @@ function Rr({ word: a, height: s = 40, signature: o = sr, style: i, ...n }) {
|
|
|
465
465
|
}
|
|
466
466
|
);
|
|
467
467
|
}
|
|
468
|
-
function
|
|
469
|
-
const
|
|
470
|
-
`).filter((
|
|
471
|
-
`) :
|
|
468
|
+
function pr({ children: a, label: s, chrome: o = !0, copy: i = !0, variant: n = "dark", style: l }) {
|
|
469
|
+
const g = typeof a == "string" ? a : String(a ?? ""), h = g.split(`
|
|
470
|
+
`).filter((d) => d.trimStart().startsWith("$ ")), p = h.length ? h.map((d) => d.trimStart().slice(2)).join(`
|
|
471
|
+
`) : g, c = n === "dark", m = c ? {
|
|
472
472
|
shell: "#11181C",
|
|
473
473
|
bar: "rgba(255, 255, 255, 0.06)",
|
|
474
474
|
line: "rgba(255, 255, 255, 0.10)",
|
|
@@ -515,14 +515,14 @@ function hr({ children: a, label: s, chrome: o = !0, copy: i = !0, variant: n =
|
|
|
515
515
|
gap: 6,
|
|
516
516
|
wrap: "nowrap",
|
|
517
517
|
children: [
|
|
518
|
-
[0, 1, 2].map((
|
|
518
|
+
[0, 1, 2].map((d) => /* @__PURE__ */ e(
|
|
519
519
|
x,
|
|
520
520
|
{
|
|
521
521
|
w: 9,
|
|
522
522
|
h: 9,
|
|
523
523
|
style: { borderRadius: "50%", background: m.dot }
|
|
524
524
|
},
|
|
525
|
-
|
|
525
|
+
d
|
|
526
526
|
)),
|
|
527
527
|
s && /* @__PURE__ */ e(
|
|
528
528
|
x,
|
|
@@ -542,18 +542,18 @@ function hr({ children: a, label: s, chrome: o = !0, copy: i = !0, variant: n =
|
|
|
542
542
|
}
|
|
543
543
|
),
|
|
544
544
|
i && /* @__PURE__ */ e(
|
|
545
|
-
|
|
545
|
+
Te,
|
|
546
546
|
{
|
|
547
|
-
value:
|
|
547
|
+
value: p,
|
|
548
548
|
timeout: 1600,
|
|
549
|
-
children: ({ copied:
|
|
549
|
+
children: ({ copied: d, copy: b }) => /* @__PURE__ */ e(
|
|
550
550
|
te,
|
|
551
551
|
{
|
|
552
|
-
label:
|
|
552
|
+
label: d ? "Copiado" : "Copiar",
|
|
553
553
|
withArrow: !0,
|
|
554
554
|
position: "left",
|
|
555
555
|
children: /* @__PURE__ */ e(
|
|
556
|
-
|
|
556
|
+
Z,
|
|
557
557
|
{
|
|
558
558
|
variant: "subtle",
|
|
559
559
|
size: "sm",
|
|
@@ -561,9 +561,9 @@ function hr({ children: a, label: s, chrome: o = !0, copy: i = !0, variant: n =
|
|
|
561
561
|
onClick: b,
|
|
562
562
|
"aria-label": "Copiar codigo",
|
|
563
563
|
style: {
|
|
564
|
-
color:
|
|
564
|
+
color: d ? "var(--mantine-color-green-4)" : m.label
|
|
565
565
|
},
|
|
566
|
-
children:
|
|
566
|
+
children: d ? /* @__PURE__ */ e(Q, { size: 14 }) : /* @__PURE__ */ e(Ve, { size: 14 })
|
|
567
567
|
}
|
|
568
568
|
)
|
|
569
569
|
}
|
|
@@ -589,16 +589,16 @@ function hr({ children: a, label: s, chrome: o = !0, copy: i = !0, variant: n =
|
|
|
589
589
|
overflowX: "auto",
|
|
590
590
|
tabSize: 2
|
|
591
591
|
},
|
|
592
|
-
children:
|
|
592
|
+
children: g
|
|
593
593
|
}
|
|
594
594
|
)
|
|
595
595
|
]
|
|
596
596
|
}
|
|
597
597
|
);
|
|
598
598
|
}
|
|
599
|
-
const
|
|
600
|
-
function
|
|
601
|
-
const { colorScheme: o, setColorScheme: i } =
|
|
599
|
+
const ce = { auto: "Automático", light: "Claro", dark: "Escuro" }, gr = { auto: _e, light: Ue, dark: We };
|
|
600
|
+
function mr({ size: a = 36, ...s }) {
|
|
601
|
+
const { colorScheme: o, setColorScheme: i } = Ae(), n = Pe(), l = Le("light"), g = n ? o : "auto", h = l === "dark" ? "light" : "dark", p = { auto: h, [h]: l, [l]: "auto" }[g] ?? "auto", c = gr[g], m = `Tema: ${ce[g]}. Mudar para ${ce[p]}.`;
|
|
602
602
|
return /* @__PURE__ */ e(
|
|
603
603
|
te,
|
|
604
604
|
{
|
|
@@ -607,7 +607,7 @@ function gr({ size: a = 36, ...s }) {
|
|
|
607
607
|
withArrow: !1,
|
|
608
608
|
events: { hover: !0, focus: !0, touch: !0 },
|
|
609
609
|
children: /* @__PURE__ */ e(
|
|
610
|
-
|
|
610
|
+
Z,
|
|
611
611
|
{
|
|
612
612
|
"data-color-scheme-toggle": !0,
|
|
613
613
|
variant: "subtle",
|
|
@@ -615,7 +615,7 @@ function gr({ size: a = 36, ...s }) {
|
|
|
615
615
|
size: a,
|
|
616
616
|
radius: 0,
|
|
617
617
|
"aria-label": m,
|
|
618
|
-
onClick: () => i(
|
|
618
|
+
onClick: () => i(p),
|
|
619
619
|
...s,
|
|
620
620
|
children: /* @__PURE__ */ e(
|
|
621
621
|
c,
|
|
@@ -630,31 +630,31 @@ function gr({ size: a = 36, ...s }) {
|
|
|
630
630
|
}
|
|
631
631
|
);
|
|
632
632
|
}
|
|
633
|
-
const
|
|
633
|
+
const P = {
|
|
634
634
|
// gray.0 e nao 'white': os dois sao #FFFFFF no claro, mas no escuro
|
|
635
635
|
// 'white' e a superficie ELEVADA (cartao, modal), e o palco e a base.
|
|
636
636
|
white: "gray.0",
|
|
637
637
|
gray: "gray.1"
|
|
638
|
-
},
|
|
639
|
-
function
|
|
640
|
-
const m =
|
|
638
|
+
}, $ = (a) => a === "gray.9" || a === "dark" ? P.gray : a === "white" || a === P.white ? P.white : P.gray, _ = (a) => a === "gray" || a === P.gray ? P.gray : "white";
|
|
639
|
+
function F({ children: a, badge: s, title: o, subtitle: i, id: n, background: l = "white", py: g = { base: 80, md: 120 }, maw: h = 800, ta: p = "left", stackGap: c = "xl" }) {
|
|
640
|
+
const m = $(l);
|
|
641
641
|
return /* @__PURE__ */ e(
|
|
642
642
|
x,
|
|
643
643
|
{
|
|
644
644
|
component: "section",
|
|
645
645
|
id: n,
|
|
646
646
|
bg: m,
|
|
647
|
-
py:
|
|
647
|
+
py: g,
|
|
648
648
|
style: { overflow: "hidden" },
|
|
649
|
-
children: /* @__PURE__ */ e(
|
|
649
|
+
children: /* @__PURE__ */ e(L, { size: "lg", children: /* @__PURE__ */ r(u, { gap: c, children: [
|
|
650
650
|
/* @__PURE__ */ e(
|
|
651
|
-
|
|
651
|
+
we,
|
|
652
652
|
{
|
|
653
653
|
badge: s,
|
|
654
654
|
subtitle: i,
|
|
655
655
|
title: o,
|
|
656
|
-
ta:
|
|
657
|
-
maw:
|
|
656
|
+
ta: p,
|
|
657
|
+
maw: h
|
|
658
658
|
}
|
|
659
659
|
),
|
|
660
660
|
/* @__PURE__ */ e(x, { children: a })
|
|
@@ -664,7 +664,7 @@ function k({ children: a, badge: s, title: o, subtitle: i, id: n, background: l
|
|
|
664
664
|
}
|
|
665
665
|
function $r({ brand: a, label: s = "Verificando sua sessão...", ...o }) {
|
|
666
666
|
return /* @__PURE__ */ e(
|
|
667
|
-
|
|
667
|
+
ke,
|
|
668
668
|
{
|
|
669
669
|
h: "100dvh",
|
|
670
670
|
justify: "center",
|
|
@@ -677,7 +677,7 @@ function $r({ brand: a, label: s = "Verificando sua sessão...", ...o }) {
|
|
|
677
677
|
gap: "md",
|
|
678
678
|
children: [
|
|
679
679
|
a ? /* @__PURE__ */ e(
|
|
680
|
-
|
|
680
|
+
sr,
|
|
681
681
|
{
|
|
682
682
|
fz: 11,
|
|
683
683
|
fw: 800,
|
|
@@ -689,7 +689,7 @@ function $r({ brand: a, label: s = "Verificando sua sessão...", ...o }) {
|
|
|
689
689
|
children: a
|
|
690
690
|
}
|
|
691
691
|
) : null,
|
|
692
|
-
/* @__PURE__ */ e(
|
|
692
|
+
/* @__PURE__ */ e(Fe, { size: "sm" }),
|
|
693
693
|
/* @__PURE__ */ e(
|
|
694
694
|
t,
|
|
695
695
|
{
|
|
@@ -724,12 +724,12 @@ function Vr({ children: a, style: s, ...o }) {
|
|
|
724
724
|
function re() {
|
|
725
725
|
return typeof window > "u" || !window.matchMedia || window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth";
|
|
726
726
|
}
|
|
727
|
-
function
|
|
728
|
-
const { icon: o, label: i, labelMobile: n, component: l, ...
|
|
727
|
+
function de({ cta: a, filled: s }) {
|
|
728
|
+
const { icon: o, label: i, labelMobile: n, component: l, ...g } = a;
|
|
729
729
|
return /* @__PURE__ */ e(
|
|
730
|
-
|
|
730
|
+
Z,
|
|
731
731
|
{
|
|
732
|
-
...
|
|
732
|
+
...g,
|
|
733
733
|
component: l || (a.href ? "a" : "button"),
|
|
734
734
|
className: "ck-cta-icon",
|
|
735
735
|
"aria-label": i,
|
|
@@ -748,11 +748,11 @@ function ce({ cta: a, filled: s }) {
|
|
|
748
748
|
}
|
|
749
749
|
);
|
|
750
750
|
}
|
|
751
|
-
function
|
|
752
|
-
const
|
|
751
|
+
function ur({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n, background: l = "white", logoMinWidth: g = 176, withColorScheme: h = !0 }) {
|
|
752
|
+
const p = $(l), [c] = Me(), m = c.y > 10, d = (y) => {
|
|
753
753
|
y === "top" ? window.scrollTo({ top: 0, behavior: re() }) : document.getElementById(y)?.scrollIntoView({ behavior: re() });
|
|
754
754
|
}, b = (y, v) => {
|
|
755
|
-
(y.key === "Enter" || y.key === " ") && (y.preventDefault(),
|
|
755
|
+
(y.key === "Enter" || y.key === " ") && (y.preventDefault(), d(v));
|
|
756
756
|
};
|
|
757
757
|
return /* @__PURE__ */ e(
|
|
758
758
|
x,
|
|
@@ -763,7 +763,7 @@ function mr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
763
763
|
w: "100%",
|
|
764
764
|
style: { zIndex: 100, pointerEvents: "none" },
|
|
765
765
|
children: /* @__PURE__ */ e(
|
|
766
|
-
|
|
766
|
+
L,
|
|
767
767
|
{
|
|
768
768
|
size: "xl",
|
|
769
769
|
py: "md",
|
|
@@ -775,7 +775,7 @@ function mr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
775
775
|
radius: "0",
|
|
776
776
|
py: "xs",
|
|
777
777
|
px: "sm",
|
|
778
|
-
bg:
|
|
778
|
+
bg: p,
|
|
779
779
|
bd: m ? "1px solid var(--mantine-color-gray-2)" : "1px solid transparent",
|
|
780
780
|
style: { pointerEvents: "auto", transition: "background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease" },
|
|
781
781
|
children: /* @__PURE__ */ r(
|
|
@@ -786,13 +786,13 @@ function mr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
786
786
|
wrap: "nowrap",
|
|
787
787
|
children: [
|
|
788
788
|
a && (() => {
|
|
789
|
-
const y = { display: "inline-flex", textDecoration: "none", minWidth:
|
|
789
|
+
const y = { display: "inline-flex", textDecoration: "none", minWidth: g, flex: "0 1 auto" };
|
|
790
790
|
if (s) {
|
|
791
|
-
const { component: v = "a", ...
|
|
791
|
+
const { component: v = "a", ...A } = s;
|
|
792
792
|
return /* @__PURE__ */ e(
|
|
793
793
|
v,
|
|
794
794
|
{
|
|
795
|
-
...
|
|
795
|
+
...A,
|
|
796
796
|
"aria-label": "Ir para a página inicial",
|
|
797
797
|
style: y,
|
|
798
798
|
children: /* @__PURE__ */ e(ae, { logo: a })
|
|
@@ -840,7 +840,7 @@ function mr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
840
840
|
role: y.component ? void 0 : "link",
|
|
841
841
|
tabIndex: y.component ? void 0 : 0,
|
|
842
842
|
style: { cursor: "pointer", ...y.style },
|
|
843
|
-
onClick: y.target ? () =>
|
|
843
|
+
onClick: y.target ? () => d(y.target) : y.onClick,
|
|
844
844
|
onKeyDown: y.target ? (v) => b(v, y.target) : y.onKeyDown,
|
|
845
845
|
children: y.label
|
|
846
846
|
},
|
|
@@ -855,7 +855,7 @@ function mr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
855
855
|
wrap: "nowrap",
|
|
856
856
|
style: { flexShrink: 0 },
|
|
857
857
|
children: [
|
|
858
|
-
|
|
858
|
+
h && /* @__PURE__ */ e(mr, {}),
|
|
859
859
|
i && /* @__PURE__ */ r(
|
|
860
860
|
x,
|
|
861
861
|
{
|
|
@@ -864,7 +864,7 @@ function mr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
864
864
|
visibleFrom: i.icon ? void 0 : "xs",
|
|
865
865
|
children: [
|
|
866
866
|
/* @__PURE__ */ e(
|
|
867
|
-
|
|
867
|
+
G,
|
|
868
868
|
{
|
|
869
869
|
variant: "subtle",
|
|
870
870
|
...(({ icon: y, ...v }) => v)(i),
|
|
@@ -877,7 +877,7 @@ function mr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
877
877
|
children: i.label
|
|
878
878
|
}
|
|
879
879
|
),
|
|
880
|
-
i.icon && /* @__PURE__ */ e(
|
|
880
|
+
i.icon && /* @__PURE__ */ e(de, { cta: i })
|
|
881
881
|
]
|
|
882
882
|
}
|
|
883
883
|
),
|
|
@@ -888,7 +888,7 @@ function mr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
888
888
|
display: "inline-flex",
|
|
889
889
|
children: [
|
|
890
890
|
/* @__PURE__ */ r(
|
|
891
|
-
|
|
891
|
+
G,
|
|
892
892
|
{
|
|
893
893
|
...(({ icon: y, ...v }) => v)(n),
|
|
894
894
|
component: n.component || (n.href ? "a" : "button"),
|
|
@@ -924,7 +924,7 @@ function mr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
924
924
|
}
|
|
925
925
|
),
|
|
926
926
|
n.icon && /* @__PURE__ */ e(
|
|
927
|
-
|
|
927
|
+
de,
|
|
928
928
|
{
|
|
929
929
|
cta: n,
|
|
930
930
|
filled: !0
|
|
@@ -946,21 +946,21 @@ function mr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
946
946
|
}
|
|
947
947
|
);
|
|
948
948
|
}
|
|
949
|
-
const Wr =
|
|
949
|
+
const Wr = ur, he = {
|
|
950
950
|
root: { height: "auto", maxWidth: "100%" },
|
|
951
951
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
952
952
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
953
953
|
};
|
|
954
|
-
function Ur({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, note: l, video:
|
|
955
|
-
const b = !!(
|
|
954
|
+
function Ur({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, note: l, video: g, image: h, background: p = "white", mediaMaw: c, titleFz: m = "var(--fz-hero)", descriptionFz: d = "xl" }) {
|
|
955
|
+
const b = !!(g || h);
|
|
956
956
|
return /* @__PURE__ */ e(
|
|
957
957
|
x,
|
|
958
958
|
{
|
|
959
959
|
py: { base: 80, sm: 100, md: 140 },
|
|
960
960
|
id: "hero",
|
|
961
|
-
bg:
|
|
962
|
-
children: /* @__PURE__ */ e(
|
|
963
|
-
|
|
961
|
+
bg: $(p),
|
|
962
|
+
children: /* @__PURE__ */ e(L, { size: "lg", children: /* @__PURE__ */ r(
|
|
963
|
+
k,
|
|
964
964
|
{
|
|
965
965
|
cols: { base: 1, md: b ? 2 : 1 },
|
|
966
966
|
spacing: { base: 60, md: 100 },
|
|
@@ -974,8 +974,8 @@ function Ur({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, no
|
|
|
974
974
|
gap: { base: 32, md: 48 },
|
|
975
975
|
ta: b ? { base: "center", md: "left" } : "center",
|
|
976
976
|
children: [
|
|
977
|
-
/* @__PURE__ */ e(
|
|
978
|
-
|
|
977
|
+
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
978
|
+
we,
|
|
979
979
|
{
|
|
980
980
|
subtitle: a,
|
|
981
981
|
title: s,
|
|
@@ -985,17 +985,17 @@ function Ur({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, no
|
|
|
985
985
|
maw: b ? void 0 : 940
|
|
986
986
|
}
|
|
987
987
|
) }),
|
|
988
|
-
o && /* @__PURE__ */ e(
|
|
988
|
+
o && /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
989
989
|
t,
|
|
990
990
|
{
|
|
991
|
-
size:
|
|
991
|
+
size: d,
|
|
992
992
|
c: "gray.6",
|
|
993
993
|
lh: 1.6,
|
|
994
994
|
maw: 600,
|
|
995
995
|
children: o
|
|
996
996
|
}
|
|
997
997
|
) }),
|
|
998
|
-
(i || n) && /* @__PURE__ */ e(
|
|
998
|
+
(i || n) && /* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(
|
|
999
999
|
f,
|
|
1000
1000
|
{
|
|
1001
1001
|
gap: "md",
|
|
@@ -1005,7 +1005,7 @@ function Ur({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, no
|
|
|
1005
1005
|
className: "rlg-cta-group",
|
|
1006
1006
|
children: [
|
|
1007
1007
|
i && /* @__PURE__ */ e(
|
|
1008
|
-
|
|
1008
|
+
N,
|
|
1009
1009
|
{
|
|
1010
1010
|
label: i.label,
|
|
1011
1011
|
href: i.href,
|
|
@@ -1017,11 +1017,11 @@ function Ur({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, no
|
|
|
1017
1017
|
px: i.px || 48,
|
|
1018
1018
|
variant: i.variant,
|
|
1019
1019
|
color: i.color,
|
|
1020
|
-
styles:
|
|
1020
|
+
styles: he
|
|
1021
1021
|
}
|
|
1022
1022
|
),
|
|
1023
1023
|
n && /* @__PURE__ */ e(
|
|
1024
|
-
|
|
1024
|
+
N,
|
|
1025
1025
|
{
|
|
1026
1026
|
label: n.label,
|
|
1027
1027
|
href: n.href,
|
|
@@ -1033,13 +1033,13 @@ function Ur({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, no
|
|
|
1033
1033
|
px: n.px || 48,
|
|
1034
1034
|
variant: n.variant || "default",
|
|
1035
1035
|
color: n.color,
|
|
1036
|
-
styles:
|
|
1036
|
+
styles: he
|
|
1037
1037
|
}
|
|
1038
1038
|
)
|
|
1039
1039
|
]
|
|
1040
1040
|
}
|
|
1041
1041
|
) }),
|
|
1042
|
-
l && /* @__PURE__ */ e(
|
|
1042
|
+
l && /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
1043
1043
|
t,
|
|
1044
1044
|
{
|
|
1045
1045
|
size: "sm",
|
|
@@ -1054,10 +1054,10 @@ function Ur({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, no
|
|
|
1054
1054
|
}
|
|
1055
1055
|
),
|
|
1056
1056
|
b && /* @__PURE__ */ e(
|
|
1057
|
-
|
|
1057
|
+
ve,
|
|
1058
1058
|
{
|
|
1059
|
-
video:
|
|
1060
|
-
image:
|
|
1059
|
+
video: g,
|
|
1060
|
+
image: h,
|
|
1061
1061
|
maw: c,
|
|
1062
1062
|
alt: "Demonstração do produto"
|
|
1063
1063
|
}
|
|
@@ -1068,7 +1068,7 @@ function Ur({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, no
|
|
|
1068
1068
|
}
|
|
1069
1069
|
);
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function fr({ logo: a, index: s }) {
|
|
1072
1072
|
const o = {
|
|
1073
1073
|
src: a.src,
|
|
1074
1074
|
alt: a.alt || `Logo ${s}`,
|
|
@@ -1086,15 +1086,15 @@ function ur({ logo: a, index: s }) {
|
|
|
1086
1086
|
i.currentTarget.style.filter = "grayscale(1) opacity(0.4)";
|
|
1087
1087
|
}
|
|
1088
1088
|
};
|
|
1089
|
-
return a.url ? /* @__PURE__ */ e(
|
|
1089
|
+
return a.url ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
1090
1090
|
"a",
|
|
1091
1091
|
{
|
|
1092
1092
|
href: a.url,
|
|
1093
1093
|
target: "_blank",
|
|
1094
1094
|
rel: "noopener noreferrer",
|
|
1095
|
-
children: /* @__PURE__ */ e(
|
|
1095
|
+
children: /* @__PURE__ */ e(H, { ...o })
|
|
1096
1096
|
}
|
|
1097
|
-
) }) : /* @__PURE__ */ e(
|
|
1097
|
+
) }) : /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(H, { ...o }) });
|
|
1098
1098
|
}
|
|
1099
1099
|
function _r({ id: a, title: s, logos: o, background: i = "gray" }) {
|
|
1100
1100
|
return !o || o.length === 0 ? null : /* @__PURE__ */ e(
|
|
@@ -1103,9 +1103,9 @@ function _r({ id: a, title: s, logos: o, background: i = "gray" }) {
|
|
|
1103
1103
|
component: "section",
|
|
1104
1104
|
id: a,
|
|
1105
1105
|
py: { base: 40, md: 60 },
|
|
1106
|
-
bg: i,
|
|
1106
|
+
bg: $(i),
|
|
1107
1107
|
bd: { bottom: "1px solid var(--mantine-color-gray-2)" },
|
|
1108
|
-
children: /* @__PURE__ */ e(
|
|
1108
|
+
children: /* @__PURE__ */ e(L, { size: "lg", children: /* @__PURE__ */ r(
|
|
1109
1109
|
u,
|
|
1110
1110
|
{
|
|
1111
1111
|
align: "center",
|
|
@@ -1131,7 +1131,7 @@ function _r({ id: a, title: s, logos: o, background: i = "gray" }) {
|
|
|
1131
1131
|
style: { rowGap: 40 },
|
|
1132
1132
|
w: "100%",
|
|
1133
1133
|
children: o.map((n, l) => /* @__PURE__ */ e(
|
|
1134
|
-
|
|
1134
|
+
fr,
|
|
1135
1135
|
{
|
|
1136
1136
|
logo: n,
|
|
1137
1137
|
index: l
|
|
@@ -1146,9 +1146,9 @@ function _r({ id: a, title: s, logos: o, background: i = "gray" }) {
|
|
|
1146
1146
|
}
|
|
1147
1147
|
);
|
|
1148
1148
|
}
|
|
1149
|
-
function Gr({ id: a, subtitle: s, title: o, description: i, descriptionFz: n, featuresList: l, cta:
|
|
1149
|
+
function Gr({ id: a, subtitle: s, title: o, description: i, descriptionFz: n, featuresList: l, cta: g, video: h, image: p, reverse: c = !1, background: m = "white", mediaMaw: d }) {
|
|
1150
1150
|
const b = l && l.length > 0 && /* @__PURE__ */ e(
|
|
1151
|
-
|
|
1151
|
+
V,
|
|
1152
1152
|
{
|
|
1153
1153
|
spacing: "md",
|
|
1154
1154
|
size: "md",
|
|
@@ -1160,7 +1160,7 @@ function Gr({ id: a, subtitle: s, title: o, description: i, descriptionFz: n, fe
|
|
|
1160
1160
|
size: 24,
|
|
1161
1161
|
radius: "0",
|
|
1162
1162
|
children: /* @__PURE__ */ e(
|
|
1163
|
-
|
|
1163
|
+
Q,
|
|
1164
1164
|
{
|
|
1165
1165
|
size: 14,
|
|
1166
1166
|
color: "var(--mantine-color-gray-9)"
|
|
@@ -1168,7 +1168,7 @@ function Gr({ id: a, subtitle: s, title: o, description: i, descriptionFz: n, fe
|
|
|
1168
1168
|
)
|
|
1169
1169
|
}
|
|
1170
1170
|
),
|
|
1171
|
-
children: l.map((
|
|
1171
|
+
children: l.map((A, I) => /* @__PURE__ */ e(V.Item, { children: A }, I))
|
|
1172
1172
|
}
|
|
1173
1173
|
), y = /* @__PURE__ */ r(
|
|
1174
1174
|
u,
|
|
@@ -1197,20 +1197,20 @@ function Gr({ id: a, subtitle: s, title: o, description: i, descriptionFz: n, fe
|
|
|
1197
1197
|
}
|
|
1198
1198
|
),
|
|
1199
1199
|
b,
|
|
1200
|
-
|
|
1201
|
-
|
|
1200
|
+
g && /* @__PURE__ */ e(f, { mt: "md", children: /* @__PURE__ */ e(
|
|
1201
|
+
N,
|
|
1202
1202
|
{
|
|
1203
|
-
label:
|
|
1204
|
-
href:
|
|
1205
|
-
icon:
|
|
1206
|
-
size:
|
|
1207
|
-
variant:
|
|
1208
|
-
color:
|
|
1203
|
+
label: g.label,
|
|
1204
|
+
href: g.href,
|
|
1205
|
+
icon: g.icon,
|
|
1206
|
+
size: g.size || "lg",
|
|
1207
|
+
variant: g.variant,
|
|
1208
|
+
color: g.color
|
|
1209
1209
|
}
|
|
1210
1210
|
) })
|
|
1211
1211
|
]
|
|
1212
1212
|
}
|
|
1213
|
-
), v = (
|
|
1213
|
+
), v = (h || p) && /* 80% SÓ A PARTIR DO `md`, e a coluna inteira abaixo disso.
|
|
1214
1214
|
|
|
1215
1215
|
No desktop a mídia divide a linha com o texto, e os 80% deixam o ar
|
|
1216
1216
|
que separa uma coluna da outra. No celular não há duas colunas: o
|
|
@@ -1224,31 +1224,31 @@ function Gr({ id: a, subtitle: s, title: o, description: i, descriptionFz: n, fe
|
|
|
1224
1224
|
imagem de 52 a 338 (286px). A imagem não vazava — estava estreita
|
|
1225
1225
|
demais para o lugar onde tinha ido parar. */
|
|
1226
1226
|
/* @__PURE__ */ e(
|
|
1227
|
-
|
|
1227
|
+
ve,
|
|
1228
1228
|
{
|
|
1229
|
-
video:
|
|
1230
|
-
image:
|
|
1229
|
+
video: h,
|
|
1230
|
+
image: p,
|
|
1231
1231
|
width: { base: "100%", md: "80%" },
|
|
1232
|
-
maw:
|
|
1232
|
+
maw: d
|
|
1233
1233
|
}
|
|
1234
1234
|
);
|
|
1235
1235
|
return /* @__PURE__ */ e(
|
|
1236
|
-
|
|
1236
|
+
F,
|
|
1237
1237
|
{
|
|
1238
1238
|
id: a,
|
|
1239
1239
|
subtitle: s,
|
|
1240
1240
|
title: o,
|
|
1241
1241
|
background: m,
|
|
1242
1242
|
children: /* @__PURE__ */ e(
|
|
1243
|
-
|
|
1243
|
+
k,
|
|
1244
1244
|
{
|
|
1245
1245
|
cols: { base: 1, md: 2 },
|
|
1246
1246
|
spacing: { base: 40, md: 80 },
|
|
1247
1247
|
verticalSpacing: { base: 40, md: 50 },
|
|
1248
|
-
children: c ? /* @__PURE__ */ r(
|
|
1248
|
+
children: c ? /* @__PURE__ */ r(le, { children: [
|
|
1249
1249
|
v,
|
|
1250
1250
|
y
|
|
1251
|
-
] }) : /* @__PURE__ */ r(
|
|
1251
|
+
] }) : /* @__PURE__ */ r(le, { children: [
|
|
1252
1252
|
y,
|
|
1253
1253
|
v
|
|
1254
1254
|
] })
|
|
@@ -1257,85 +1257,85 @@ function Gr({ id: a, subtitle: s, title: o, description: i, descriptionFz: n, fe
|
|
|
1257
1257
|
}
|
|
1258
1258
|
);
|
|
1259
1259
|
}
|
|
1260
|
-
function Hr({ id: a, badge: s, subtitle: o, title: i, description: n, background: l = "gray", items:
|
|
1260
|
+
function Hr({ id: a, badge: s, subtitle: o, title: i, description: n, background: l = "gray", items: g = [], ta: h = "left", note: p }) {
|
|
1261
1261
|
return /* @__PURE__ */ r(
|
|
1262
|
-
|
|
1262
|
+
F,
|
|
1263
1263
|
{
|
|
1264
1264
|
id: a,
|
|
1265
1265
|
badge: s,
|
|
1266
1266
|
subtitle: o,
|
|
1267
1267
|
title: i,
|
|
1268
1268
|
background: l,
|
|
1269
|
-
ta:
|
|
1270
|
-
maw:
|
|
1269
|
+
ta: h,
|
|
1270
|
+
maw: h === "center" ? 900 : 800,
|
|
1271
1271
|
children: [
|
|
1272
1272
|
n && /* @__PURE__ */ e(
|
|
1273
1273
|
t,
|
|
1274
1274
|
{
|
|
1275
1275
|
c: "gray.6",
|
|
1276
|
-
ta:
|
|
1276
|
+
ta: h,
|
|
1277
1277
|
size: "lg",
|
|
1278
1278
|
lh: 1.7,
|
|
1279
1279
|
maw: 780,
|
|
1280
|
-
mx:
|
|
1280
|
+
mx: h === "center" ? "auto" : void 0,
|
|
1281
1281
|
mb: 40,
|
|
1282
1282
|
children: n
|
|
1283
1283
|
}
|
|
1284
1284
|
),
|
|
1285
|
-
/* @__PURE__ */ e(z, { gutter: "lg", children:
|
|
1286
|
-
|
|
1285
|
+
/* @__PURE__ */ e(z, { gutter: "lg", children: g.map((c, m) => /* @__PURE__ */ e(
|
|
1286
|
+
yr,
|
|
1287
1287
|
{
|
|
1288
1288
|
...c
|
|
1289
1289
|
},
|
|
1290
1290
|
m
|
|
1291
1291
|
)) }),
|
|
1292
|
-
|
|
1292
|
+
p && /* @__PURE__ */ e(
|
|
1293
1293
|
t,
|
|
1294
1294
|
{
|
|
1295
1295
|
c: "gray.6",
|
|
1296
|
-
ta:
|
|
1296
|
+
ta: h,
|
|
1297
1297
|
mt: 56,
|
|
1298
1298
|
maw: 780,
|
|
1299
|
-
mx:
|
|
1299
|
+
mx: h === "center" ? "auto" : void 0,
|
|
1300
1300
|
lh: 1.7,
|
|
1301
1301
|
fs: "italic",
|
|
1302
|
-
children:
|
|
1302
|
+
children: p
|
|
1303
1303
|
}
|
|
1304
1304
|
)
|
|
1305
1305
|
]
|
|
1306
1306
|
}
|
|
1307
1307
|
);
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1309
|
+
function yr({
|
|
1310
1310
|
icon: a,
|
|
1311
1311
|
iconVariant: s,
|
|
1312
1312
|
iconColor: o,
|
|
1313
1313
|
label: i,
|
|
1314
1314
|
title: n,
|
|
1315
1315
|
titleSize: l,
|
|
1316
|
-
description:
|
|
1317
|
-
descriptionSize:
|
|
1318
|
-
descriptionMaw:
|
|
1316
|
+
description: g,
|
|
1317
|
+
descriptionSize: h,
|
|
1318
|
+
descriptionMaw: p,
|
|
1319
1319
|
span: c = { base: 12, md: 6 },
|
|
1320
1320
|
background: m = "white",
|
|
1321
|
-
visual:
|
|
1321
|
+
visual: d,
|
|
1322
1322
|
secondaryVisual: b,
|
|
1323
1323
|
layout: y = "stacked",
|
|
1324
1324
|
badges: v,
|
|
1325
1325
|
// Acoes do card, no shape universal de cta: { label, href, icon, variant }.
|
|
1326
1326
|
// Sao dados, nunca JSX — o card monta os botoes, o consumidor so declara.
|
|
1327
|
-
actions:
|
|
1327
|
+
actions: A,
|
|
1328
1328
|
codeBlock: I,
|
|
1329
1329
|
// layout="split": quantas das 12 colunas o codigo ocupa. O padrao 6
|
|
1330
1330
|
// divide o card ao meio; suba para 7 quando as linhas forem longas.
|
|
1331
|
-
codeSpan:
|
|
1331
|
+
codeSpan: D = 6,
|
|
1332
1332
|
// Rotulo da barra do terminal (ex: "bash", "index.js").
|
|
1333
|
-
codeLabel:
|
|
1334
|
-
decorativeContent:
|
|
1335
|
-
style:
|
|
1336
|
-
...
|
|
1333
|
+
codeLabel: q,
|
|
1334
|
+
decorativeContent: w,
|
|
1335
|
+
style: O,
|
|
1336
|
+
...C
|
|
1337
1337
|
}) {
|
|
1338
|
-
const
|
|
1338
|
+
const Y = /* @__PURE__ */ r(x, { children: [
|
|
1339
1339
|
a && /* @__PURE__ */ e(
|
|
1340
1340
|
S,
|
|
1341
1341
|
{
|
|
@@ -1376,63 +1376,63 @@ function fr({
|
|
|
1376
1376
|
children: n
|
|
1377
1377
|
}
|
|
1378
1378
|
),
|
|
1379
|
-
|
|
1379
|
+
g && /* @__PURE__ */ e(
|
|
1380
1380
|
t,
|
|
1381
1381
|
{
|
|
1382
1382
|
c: "gray.6",
|
|
1383
|
-
size:
|
|
1384
|
-
maw:
|
|
1383
|
+
size: h || (y === "compact" ? "sm" : "lg"),
|
|
1384
|
+
maw: p,
|
|
1385
1385
|
mb: v ? "xl" : y === "compact" ? "lg" : void 0,
|
|
1386
|
-
children:
|
|
1386
|
+
children: g
|
|
1387
1387
|
}
|
|
1388
1388
|
),
|
|
1389
|
-
v && v.length > 0 && /* @__PURE__ */ e(f, { children: v.map((ee,
|
|
1390
|
-
|
|
1389
|
+
v && v.length > 0 && /* @__PURE__ */ e(f, { children: v.map((ee, X) => /* @__PURE__ */ e(
|
|
1390
|
+
M,
|
|
1391
1391
|
{
|
|
1392
1392
|
variant: "dot",
|
|
1393
1393
|
color: "gray",
|
|
1394
1394
|
radius: "0",
|
|
1395
1395
|
children: ee
|
|
1396
1396
|
},
|
|
1397
|
-
|
|
1397
|
+
X
|
|
1398
1398
|
)) }),
|
|
1399
|
-
|
|
1399
|
+
A && A.length > 0 && /* @__PURE__ */ e(
|
|
1400
1400
|
f,
|
|
1401
1401
|
{
|
|
1402
1402
|
gap: "sm",
|
|
1403
1403
|
mt: "xl",
|
|
1404
|
-
children:
|
|
1405
|
-
|
|
1404
|
+
children: A.map((ee, X) => /* @__PURE__ */ e(
|
|
1405
|
+
N,
|
|
1406
1406
|
{
|
|
1407
1407
|
size: "md",
|
|
1408
|
-
variant:
|
|
1408
|
+
variant: X === 0 ? "filled" : "default",
|
|
1409
1409
|
...ee
|
|
1410
1410
|
},
|
|
1411
|
-
|
|
1411
|
+
X
|
|
1412
1412
|
))
|
|
1413
1413
|
}
|
|
1414
1414
|
)
|
|
1415
|
-
] }),
|
|
1415
|
+
] }), W = d ? pe(d) : null, ie = b ? pe(b) : null;
|
|
1416
1416
|
return y === "split" ? /* @__PURE__ */ e(z.Col, { span: c, children: /* @__PURE__ */ e(
|
|
1417
1417
|
T,
|
|
1418
1418
|
{
|
|
1419
1419
|
h: "100%",
|
|
1420
1420
|
p: { base: "xl", md: 40 },
|
|
1421
1421
|
radius: "0",
|
|
1422
|
-
bg:
|
|
1422
|
+
bg: _(m),
|
|
1423
1423
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1424
|
-
style:
|
|
1425
|
-
...
|
|
1424
|
+
style: O,
|
|
1425
|
+
...C,
|
|
1426
1426
|
children: /* @__PURE__ */ r(
|
|
1427
1427
|
z,
|
|
1428
1428
|
{
|
|
1429
1429
|
align: "center",
|
|
1430
1430
|
gutter: "xl",
|
|
1431
1431
|
children: [
|
|
1432
|
-
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 12 -
|
|
1433
|
-
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm:
|
|
1434
|
-
|
|
1435
|
-
I && /* @__PURE__ */ e(
|
|
1432
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 12 - D }, children: Y }),
|
|
1433
|
+
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm: D }, children: [
|
|
1434
|
+
W,
|
|
1435
|
+
I && /* @__PURE__ */ e(pr, { label: q, children: I })
|
|
1436
1436
|
] })
|
|
1437
1437
|
]
|
|
1438
1438
|
}
|
|
@@ -1444,26 +1444,26 @@ function fr({
|
|
|
1444
1444
|
h: "100%",
|
|
1445
1445
|
p: { base: "xl", md: 40 },
|
|
1446
1446
|
radius: "0",
|
|
1447
|
-
bg:
|
|
1447
|
+
bg: _(m),
|
|
1448
1448
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1449
|
-
style:
|
|
1450
|
-
...
|
|
1449
|
+
style: O,
|
|
1450
|
+
...C,
|
|
1451
1451
|
children: [
|
|
1452
|
-
|
|
1453
|
-
|
|
1452
|
+
Y,
|
|
1453
|
+
W
|
|
1454
1454
|
]
|
|
1455
1455
|
}
|
|
1456
|
-
) }) :
|
|
1456
|
+
) }) : w ? /* @__PURE__ */ e(z.Col, { span: c, children: /* @__PURE__ */ e(
|
|
1457
1457
|
T,
|
|
1458
1458
|
{
|
|
1459
1459
|
h: "100%",
|
|
1460
1460
|
p: { base: "xl", md: 40 },
|
|
1461
1461
|
radius: "0",
|
|
1462
|
-
bg:
|
|
1462
|
+
bg: _(m),
|
|
1463
1463
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1464
1464
|
pos: "relative",
|
|
1465
|
-
style:
|
|
1466
|
-
...
|
|
1465
|
+
style: O,
|
|
1466
|
+
...C,
|
|
1467
1467
|
children: /* @__PURE__ */ r(
|
|
1468
1468
|
z,
|
|
1469
1469
|
{
|
|
@@ -1475,7 +1475,7 @@ function fr({
|
|
|
1475
1475
|
{
|
|
1476
1476
|
span: { base: 12, sm: 7 },
|
|
1477
1477
|
style: { zIndex: 1 },
|
|
1478
|
-
children:
|
|
1478
|
+
children: Y
|
|
1479
1479
|
}
|
|
1480
1480
|
),
|
|
1481
1481
|
/* @__PURE__ */ e(
|
|
@@ -1483,7 +1483,7 @@ function fr({
|
|
|
1483
1483
|
{
|
|
1484
1484
|
span: 5,
|
|
1485
1485
|
visibleFrom: "sm",
|
|
1486
|
-
children:
|
|
1486
|
+
children: w
|
|
1487
1487
|
}
|
|
1488
1488
|
)
|
|
1489
1489
|
]
|
|
@@ -1496,43 +1496,43 @@ function fr({
|
|
|
1496
1496
|
h: "100%",
|
|
1497
1497
|
p: { base: "xl", md: 40 },
|
|
1498
1498
|
radius: "0",
|
|
1499
|
-
bg:
|
|
1499
|
+
bg: _(m),
|
|
1500
1500
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1501
1501
|
display: "flex",
|
|
1502
1502
|
style: {
|
|
1503
1503
|
flexDirection: "column",
|
|
1504
1504
|
justifyContent: "space-between",
|
|
1505
|
-
...
|
|
1505
|
+
...O
|
|
1506
1506
|
},
|
|
1507
|
-
...
|
|
1507
|
+
...C,
|
|
1508
1508
|
children: [
|
|
1509
|
-
|
|
1510
|
-
|
|
1509
|
+
Y,
|
|
1510
|
+
W && ie ? /* @__PURE__ */ r(
|
|
1511
1511
|
f,
|
|
1512
1512
|
{
|
|
1513
1513
|
gap: 40,
|
|
1514
1514
|
align: "center",
|
|
1515
1515
|
children: [
|
|
1516
|
-
|
|
1517
|
-
|
|
1516
|
+
W,
|
|
1517
|
+
ie
|
|
1518
1518
|
]
|
|
1519
1519
|
}
|
|
1520
|
-
) :
|
|
1520
|
+
) : W
|
|
1521
1521
|
]
|
|
1522
1522
|
}
|
|
1523
1523
|
) });
|
|
1524
1524
|
}
|
|
1525
|
-
function
|
|
1525
|
+
function pe(a) {
|
|
1526
1526
|
if (!a) return null;
|
|
1527
1527
|
switch (a.type) {
|
|
1528
1528
|
case "ring":
|
|
1529
1529
|
return /* @__PURE__ */ e(
|
|
1530
|
-
|
|
1530
|
+
Ce,
|
|
1531
1531
|
{
|
|
1532
1532
|
size: a.size || 140,
|
|
1533
1533
|
thickness: a.thickness || 12,
|
|
1534
1534
|
sections: [{ value: a.value || 100, color: "gray.7" }],
|
|
1535
|
-
label: /* @__PURE__ */ e(
|
|
1535
|
+
label: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(
|
|
1536
1536
|
u,
|
|
1537
1537
|
{
|
|
1538
1538
|
gap: 0,
|
|
@@ -1584,7 +1584,7 @@ function he(a) {
|
|
|
1584
1584
|
}
|
|
1585
1585
|
),
|
|
1586
1586
|
a.badge && /* @__PURE__ */ e(
|
|
1587
|
-
|
|
1587
|
+
M,
|
|
1588
1588
|
{
|
|
1589
1589
|
mt: "md",
|
|
1590
1590
|
color: "gray",
|
|
@@ -1616,7 +1616,7 @@ function he(a) {
|
|
|
1616
1616
|
);
|
|
1617
1617
|
case "typography":
|
|
1618
1618
|
return /* @__PURE__ */ e(
|
|
1619
|
-
|
|
1619
|
+
E,
|
|
1620
1620
|
{
|
|
1621
1621
|
h: a.height || 160,
|
|
1622
1622
|
bg: "gray.0",
|
|
@@ -1649,22 +1649,22 @@ function he(a) {
|
|
|
1649
1649
|
return null;
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
1652
|
-
function Kr({ id: a, subtitle: s, title: o, items: i = [], cols: n, background: l = "white", ta:
|
|
1653
|
-
const
|
|
1652
|
+
function Kr({ id: a, subtitle: s, title: o, items: i = [], cols: n, background: l = "white", ta: g = "center", note: h }) {
|
|
1653
|
+
const p = n ?? Math.min(Math.max(i.length, 1), 4);
|
|
1654
1654
|
return /* @__PURE__ */ r(
|
|
1655
|
-
|
|
1655
|
+
F,
|
|
1656
1656
|
{
|
|
1657
1657
|
id: a,
|
|
1658
1658
|
subtitle: s,
|
|
1659
1659
|
title: o,
|
|
1660
1660
|
background: l,
|
|
1661
|
-
ta:
|
|
1661
|
+
ta: g,
|
|
1662
1662
|
maw: 900,
|
|
1663
1663
|
children: [
|
|
1664
1664
|
/* @__PURE__ */ e(
|
|
1665
|
-
|
|
1665
|
+
k,
|
|
1666
1666
|
{
|
|
1667
|
-
cols: { base: 1, sm:
|
|
1667
|
+
cols: { base: 1, sm: p === 3 ? 3 : 2, lg: p },
|
|
1668
1668
|
spacing: 0,
|
|
1669
1669
|
children: i.map((c, m) => /* @__PURE__ */ r(
|
|
1670
1670
|
T,
|
|
@@ -1721,7 +1721,7 @@ function Kr({ id: a, subtitle: s, title: o, items: i = [], cols: n, background:
|
|
|
1721
1721
|
))
|
|
1722
1722
|
}
|
|
1723
1723
|
),
|
|
1724
|
-
|
|
1724
|
+
h && /* @__PURE__ */ e(
|
|
1725
1725
|
t,
|
|
1726
1726
|
{
|
|
1727
1727
|
size: "sm",
|
|
@@ -1731,32 +1731,32 @@ function Kr({ id: a, subtitle: s, title: o, items: i = [], cols: n, background:
|
|
|
1731
1731
|
maw: 800,
|
|
1732
1732
|
mx: "auto",
|
|
1733
1733
|
lh: 1.6,
|
|
1734
|
-
children:
|
|
1734
|
+
children: h
|
|
1735
1735
|
}
|
|
1736
1736
|
)
|
|
1737
1737
|
]
|
|
1738
1738
|
}
|
|
1739
1739
|
);
|
|
1740
1740
|
}
|
|
1741
|
-
const
|
|
1741
|
+
const U = {
|
|
1742
1742
|
operational: { color: "green.6", chart: "green.6", title: "Todos os sistemas operando", badge: "Operacional" },
|
|
1743
1743
|
degraded: { color: "yellow.7", chart: "yellow.7", title: "Desempenho degradado", badge: "Degradado" },
|
|
1744
1744
|
down: { color: "red.7", chart: "red.7", title: "Interrupção em andamento", badge: "Fora do ar" },
|
|
1745
1745
|
loading: { color: "gray.4", chart: "gray.5", title: "Verificando os sistemas", badge: "Verificando" }
|
|
1746
|
-
},
|
|
1746
|
+
}, xr = (a) => {
|
|
1747
1747
|
if (!a) return null;
|
|
1748
1748
|
const s = new Date(a);
|
|
1749
1749
|
return Number.isNaN(s.getTime()) ? null : s.toLocaleString("pt-BR", { dateStyle: "short", timeStyle: "medium" });
|
|
1750
1750
|
};
|
|
1751
|
-
function Qr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], latency: n = [], uptime: l = [], error:
|
|
1752
|
-
const
|
|
1751
|
+
function Qr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], latency: n = [], uptime: l = [], error: g }) {
|
|
1752
|
+
const h = g ? U.down : U[s] || U.loading, p = xr(o);
|
|
1753
1753
|
return /* @__PURE__ */ e(
|
|
1754
1754
|
x,
|
|
1755
1755
|
{
|
|
1756
1756
|
component: "section",
|
|
1757
|
-
bg:
|
|
1757
|
+
bg: P.white,
|
|
1758
1758
|
children: /* @__PURE__ */ e(
|
|
1759
|
-
|
|
1759
|
+
L,
|
|
1760
1760
|
{
|
|
1761
1761
|
size: "lg",
|
|
1762
1762
|
py: 80,
|
|
@@ -1788,19 +1788,19 @@ function Qr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], l
|
|
|
1788
1788
|
{
|
|
1789
1789
|
w: 16,
|
|
1790
1790
|
h: 16,
|
|
1791
|
-
bg:
|
|
1791
|
+
bg: h.color,
|
|
1792
1792
|
style: { borderRadius: "50%", flexShrink: 0 }
|
|
1793
1793
|
}
|
|
1794
1794
|
),
|
|
1795
1795
|
/* @__PURE__ */ e(
|
|
1796
|
-
|
|
1796
|
+
B,
|
|
1797
1797
|
{
|
|
1798
1798
|
order: 1,
|
|
1799
1799
|
fz: { base: 32, md: 56 },
|
|
1800
1800
|
fw: 900,
|
|
1801
1801
|
lts: "-0.04em",
|
|
1802
1802
|
lh: 1.05,
|
|
1803
|
-
children:
|
|
1803
|
+
children: g ? "Não foi possível verificar" : h.title
|
|
1804
1804
|
}
|
|
1805
1805
|
)
|
|
1806
1806
|
]
|
|
@@ -1811,16 +1811,16 @@ function Qr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], l
|
|
|
1811
1811
|
{
|
|
1812
1812
|
size: "sm",
|
|
1813
1813
|
c: "gray.5",
|
|
1814
|
-
children:
|
|
1814
|
+
children: g ? (
|
|
1815
1815
|
// O erro é da consulta feita pelo navegador, não do serviço:
|
|
1816
1816
|
// dizer "fora do ar" aqui seria afirmar mais do que se sabe.
|
|
1817
1817
|
"Esta página não conseguiu falar com o serviço. Pode ser a sua conexão — ou o próprio serviço."
|
|
1818
|
-
) :
|
|
1818
|
+
) : p ? `Última verificação em ${p}` : "Verificando…"
|
|
1819
1819
|
}
|
|
1820
1820
|
)
|
|
1821
1821
|
] }),
|
|
1822
1822
|
(l.length > 0 || n.length > 0) && /* @__PURE__ */ r(
|
|
1823
|
-
|
|
1823
|
+
k,
|
|
1824
1824
|
{
|
|
1825
1825
|
cols: { base: 1, md: 2 },
|
|
1826
1826
|
spacing: 48,
|
|
@@ -1879,7 +1879,7 @@ function Qr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], l
|
|
|
1879
1879
|
{
|
|
1880
1880
|
w: 14,
|
|
1881
1881
|
h: Math.max(8, c.pct / 100 * 96),
|
|
1882
|
-
bg: c.pct === 100 ?
|
|
1882
|
+
bg: c.pct === 100 ? h.chart : c.pct > 0 ? "yellow.7" : "red.7"
|
|
1883
1883
|
}
|
|
1884
1884
|
)
|
|
1885
1885
|
},
|
|
@@ -1926,12 +1926,12 @@ function Qr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], l
|
|
|
1926
1926
|
)
|
|
1927
1927
|
] }),
|
|
1928
1928
|
/* @__PURE__ */ e(
|
|
1929
|
-
|
|
1929
|
+
lr,
|
|
1930
1930
|
{
|
|
1931
1931
|
h: 140,
|
|
1932
1932
|
data: n,
|
|
1933
1933
|
dataKey: "time",
|
|
1934
|
-
series: [{ name: "ms", color:
|
|
1934
|
+
series: [{ name: "ms", color: h.chart, label: "Resposta" }],
|
|
1935
1935
|
curveType: "linear",
|
|
1936
1936
|
withDots: !1,
|
|
1937
1937
|
gridAxis: "y",
|
|
@@ -1959,7 +1959,7 @@ function Qr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], l
|
|
|
1959
1959
|
}
|
|
1960
1960
|
),
|
|
1961
1961
|
i.map((c, m) => {
|
|
1962
|
-
const
|
|
1962
|
+
const d = U[c.status] || U.loading;
|
|
1963
1963
|
return /* @__PURE__ */ r(
|
|
1964
1964
|
T,
|
|
1965
1965
|
{
|
|
@@ -1989,7 +1989,7 @@ function Qr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], l
|
|
|
1989
1989
|
w: 7,
|
|
1990
1990
|
h: 7,
|
|
1991
1991
|
mt: 7,
|
|
1992
|
-
bg:
|
|
1992
|
+
bg: d.color,
|
|
1993
1993
|
style: { borderRadius: "50%", flexShrink: 0 }
|
|
1994
1994
|
}
|
|
1995
1995
|
),
|
|
@@ -2036,12 +2036,12 @@ function Qr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], l
|
|
|
2036
2036
|
}
|
|
2037
2037
|
),
|
|
2038
2038
|
/* @__PURE__ */ e(
|
|
2039
|
-
|
|
2039
|
+
M,
|
|
2040
2040
|
{
|
|
2041
2041
|
variant: "dot",
|
|
2042
|
-
color:
|
|
2042
|
+
color: d.color.split(".")[0],
|
|
2043
2043
|
visibleFrom: "sm",
|
|
2044
|
-
children:
|
|
2044
|
+
children: d.badge
|
|
2045
2045
|
}
|
|
2046
2046
|
)
|
|
2047
2047
|
]
|
|
@@ -2080,7 +2080,7 @@ function Qr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], l
|
|
|
2080
2080
|
tt: "uppercase",
|
|
2081
2081
|
lts: "1.5px",
|
|
2082
2082
|
c: "gray.4",
|
|
2083
|
-
children:
|
|
2083
|
+
children: br[b] || b
|
|
2084
2084
|
}
|
|
2085
2085
|
)
|
|
2086
2086
|
]
|
|
@@ -2110,21 +2110,21 @@ function Qr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], l
|
|
|
2110
2110
|
}
|
|
2111
2111
|
);
|
|
2112
2112
|
}
|
|
2113
|
-
const
|
|
2113
|
+
const br = {
|
|
2114
2114
|
activeSessions: "Sessões ativas",
|
|
2115
2115
|
pendingVerifications: "Verificações pendentes",
|
|
2116
2116
|
publicKeys: "Chaves públicas",
|
|
2117
2117
|
domainsFailing: "Domínios com erro"
|
|
2118
|
-
},
|
|
2118
|
+
}, ge = {
|
|
2119
2119
|
operational: { color: "green.6", label: "Todos os sistemas operando" },
|
|
2120
2120
|
degraded: { color: "yellow.7", label: "Desempenho degradado" },
|
|
2121
2121
|
down: { color: "red.7", label: "Interrupção em andamento" },
|
|
2122
2122
|
loading: { color: "gray.4", label: "Verificando status" }
|
|
2123
|
-
},
|
|
2123
|
+
}, J = 20;
|
|
2124
2124
|
function Yr({ status: a = "loading", history: s = [], label: o, link: i, ...n }) {
|
|
2125
|
-
const l =
|
|
2125
|
+
const l = ge[a] || ge.loading, g = s.slice(-J), h = Array(Math.max(0, J - g.length)).fill(null), p = [...h, ...g];
|
|
2126
2126
|
return /* @__PURE__ */ e(
|
|
2127
|
-
|
|
2127
|
+
fe,
|
|
2128
2128
|
{
|
|
2129
2129
|
underline: "never",
|
|
2130
2130
|
"aria-label": `${o || l.label}. Ver página de status`,
|
|
@@ -2140,21 +2140,21 @@ function Yr({ status: a = "loading", history: s = [], label: o, link: i, ...n })
|
|
|
2140
2140
|
x,
|
|
2141
2141
|
{
|
|
2142
2142
|
component: "svg",
|
|
2143
|
-
viewBox: `0 0 ${
|
|
2144
|
-
w:
|
|
2143
|
+
viewBox: `0 0 ${J * 4 - 1} 16`,
|
|
2144
|
+
w: J * 4 - 1,
|
|
2145
2145
|
h: 16,
|
|
2146
2146
|
"aria-hidden": "true",
|
|
2147
2147
|
style: { display: "block", overflow: "visible" },
|
|
2148
|
-
children:
|
|
2149
|
-
const
|
|
2148
|
+
children: p.map((c, m) => {
|
|
2149
|
+
const d = c === null ? 2 : Math.max(2, c * 16), b = p.length - h.length - 1 || 1, y = m - h.length;
|
|
2150
2150
|
return /* @__PURE__ */ e(
|
|
2151
2151
|
x,
|
|
2152
2152
|
{
|
|
2153
2153
|
component: "rect",
|
|
2154
2154
|
x: m * 4,
|
|
2155
|
-
y: 16 -
|
|
2155
|
+
y: 16 - d,
|
|
2156
2156
|
width: 3,
|
|
2157
|
-
height:
|
|
2157
|
+
height: d,
|
|
2158
2158
|
fill: c === null ? "var(--mantine-color-gray-2)" : `var(--mantine-color-${l.color.replace(".", "-")})`,
|
|
2159
2159
|
opacity: c === null ? 0.6 : 0.55 + y / b * 0.45
|
|
2160
2160
|
},
|
|
@@ -2181,32 +2181,32 @@ function Yr({ status: a = "loading", history: s = [], label: o, link: i, ...n })
|
|
|
2181
2181
|
}
|
|
2182
2182
|
);
|
|
2183
2183
|
}
|
|
2184
|
-
function Xr({ id: a, subtitle: s, title: o, description: i, items: n = [], ctaIcon: l, note:
|
|
2184
|
+
function Xr({ id: a, subtitle: s, title: o, description: i, items: n = [], ctaIcon: l, note: g, background: h = "white", ta: p = "center" }) {
|
|
2185
2185
|
return /* @__PURE__ */ r(
|
|
2186
|
-
|
|
2186
|
+
F,
|
|
2187
2187
|
{
|
|
2188
2188
|
id: a,
|
|
2189
2189
|
subtitle: s,
|
|
2190
2190
|
title: o,
|
|
2191
|
-
background:
|
|
2192
|
-
ta:
|
|
2191
|
+
background: h,
|
|
2192
|
+
ta: p,
|
|
2193
2193
|
maw: 900,
|
|
2194
2194
|
children: [
|
|
2195
2195
|
i && /* @__PURE__ */ e(
|
|
2196
2196
|
t,
|
|
2197
2197
|
{
|
|
2198
2198
|
c: "gray.6",
|
|
2199
|
-
ta:
|
|
2199
|
+
ta: p,
|
|
2200
2200
|
mb: 80,
|
|
2201
2201
|
maw: 780,
|
|
2202
|
-
mx:
|
|
2202
|
+
mx: p === "center" ? "auto" : void 0,
|
|
2203
2203
|
size: "lg",
|
|
2204
2204
|
lh: 1.6,
|
|
2205
2205
|
children: i
|
|
2206
2206
|
}
|
|
2207
2207
|
),
|
|
2208
2208
|
/* @__PURE__ */ e(z, { gutter: "xl", children: n.map((c, m) => {
|
|
2209
|
-
const
|
|
2209
|
+
const d = c.icon;
|
|
2210
2210
|
return /* @__PURE__ */ e(
|
|
2211
2211
|
z.Col,
|
|
2212
2212
|
{
|
|
@@ -2243,7 +2243,7 @@ function Xr({ id: a, subtitle: s, title: o, description: i, items: n = [], ctaIc
|
|
|
2243
2243
|
}
|
|
2244
2244
|
),
|
|
2245
2245
|
/* @__PURE__ */ e(
|
|
2246
|
-
|
|
2246
|
+
B,
|
|
2247
2247
|
{
|
|
2248
2248
|
order: 3,
|
|
2249
2249
|
fz: "h2",
|
|
@@ -2253,8 +2253,8 @@ function Xr({ id: a, subtitle: s, title: o, description: i, items: n = [], ctaIc
|
|
|
2253
2253
|
}
|
|
2254
2254
|
)
|
|
2255
2255
|
] }),
|
|
2256
|
-
|
|
2257
|
-
|
|
2256
|
+
d && /* @__PURE__ */ e(
|
|
2257
|
+
d,
|
|
2258
2258
|
{
|
|
2259
2259
|
size: 28,
|
|
2260
2260
|
stroke: 1.5,
|
|
@@ -2288,7 +2288,7 @@ function Xr({ id: a, subtitle: s, title: o, description: i, items: n = [], ctaIc
|
|
|
2288
2288
|
}
|
|
2289
2289
|
),
|
|
2290
2290
|
c.href && /* @__PURE__ */ e(
|
|
2291
|
-
|
|
2291
|
+
G,
|
|
2292
2292
|
{
|
|
2293
2293
|
component: "a",
|
|
2294
2294
|
href: c.href,
|
|
@@ -2316,18 +2316,18 @@ function Xr({ id: a, subtitle: s, title: o, description: i, items: n = [], ctaIc
|
|
|
2316
2316
|
c.name || m
|
|
2317
2317
|
);
|
|
2318
2318
|
}) }),
|
|
2319
|
-
|
|
2319
|
+
g && /* @__PURE__ */ e(
|
|
2320
2320
|
t,
|
|
2321
2321
|
{
|
|
2322
2322
|
size: "sm",
|
|
2323
2323
|
c: "gray.6",
|
|
2324
|
-
ta:
|
|
2324
|
+
ta: p,
|
|
2325
2325
|
mt: 60,
|
|
2326
2326
|
maw: 800,
|
|
2327
|
-
mx:
|
|
2327
|
+
mx: p === "center" ? "auto" : void 0,
|
|
2328
2328
|
lh: 1.6,
|
|
2329
2329
|
fs: "italic",
|
|
2330
|
-
children:
|
|
2330
|
+
children: g
|
|
2331
2331
|
}
|
|
2332
2332
|
)
|
|
2333
2333
|
]
|
|
@@ -2341,9 +2341,9 @@ function Jr({
|
|
|
2341
2341
|
description: i,
|
|
2342
2342
|
items: n = [],
|
|
2343
2343
|
categories: l = [],
|
|
2344
|
-
filtersLabel:
|
|
2345
|
-
note:
|
|
2346
|
-
background:
|
|
2344
|
+
filtersLabel: g = "Filtrar por categoria",
|
|
2345
|
+
note: h,
|
|
2346
|
+
background: p = "white",
|
|
2347
2347
|
// SEM DEFAULT COM PALAVRA DE PRODUTO. Este texto aparece na tela, e um
|
|
2348
2348
|
// default como "Conhecer a peça" faria o kit anunciar o vocabulário de um
|
|
2349
2349
|
// produto dentro de outro — o erro que já tirou a marca do topo com o
|
|
@@ -2351,7 +2351,7 @@ function Jr({
|
|
|
2351
2351
|
// rótulo a chamada não é desenhada; quem chama diz a palavra.
|
|
2352
2352
|
ctaLabel: c
|
|
2353
2353
|
}) {
|
|
2354
|
-
const [m,
|
|
2354
|
+
const [m, d] = K("todas"), b = je("(min-width: 48em)", !1), y = Oe(() => m === "todas" ? n : [...n].sort((I, D) => +(D.category === m) - +(I.category === m)), [n, m]), [v, ...A] = y;
|
|
2355
2355
|
return v ? (
|
|
2356
2356
|
// O CABEÇALHO É CENTRALIZADO, O CONTEÚDO NÃO. `ta="center"` no
|
|
2357
2357
|
// `Section` alinha o kicker, o título e — por herança — tudo que
|
|
@@ -2362,12 +2362,12 @@ function Jr({
|
|
|
2362
2362
|
// recomeçar. Centralizado é o que se lê uma vez; à esquerda é o que
|
|
2363
2363
|
// se compara em coluna.
|
|
2364
2364
|
/* @__PURE__ */ r(
|
|
2365
|
-
|
|
2365
|
+
F,
|
|
2366
2366
|
{
|
|
2367
2367
|
id: a,
|
|
2368
2368
|
subtitle: s,
|
|
2369
2369
|
title: o,
|
|
2370
|
-
background:
|
|
2370
|
+
background: p,
|
|
2371
2371
|
ta: "center",
|
|
2372
2372
|
children: [
|
|
2373
2373
|
i && /* @__PURE__ */ e(
|
|
@@ -2390,12 +2390,12 @@ function Jr({
|
|
|
2390
2390
|
justify: b ? "center" : "flex-start",
|
|
2391
2391
|
wrap: "nowrap",
|
|
2392
2392
|
role: "group",
|
|
2393
|
-
"aria-label":
|
|
2393
|
+
"aria-label": g,
|
|
2394
2394
|
className: "rlg-shelf-filters",
|
|
2395
2395
|
children: l.map((I) => /* @__PURE__ */ e(
|
|
2396
|
-
|
|
2396
|
+
De,
|
|
2397
2397
|
{
|
|
2398
|
-
onClick: () =>
|
|
2398
|
+
onClick: () => d(I.id),
|
|
2399
2399
|
className: "rlg-shelf-pill",
|
|
2400
2400
|
"data-active": m === I.id || void 0,
|
|
2401
2401
|
"aria-pressed": m === I.id,
|
|
@@ -2407,22 +2407,22 @@ function Jr({
|
|
|
2407
2407
|
),
|
|
2408
2408
|
/* @__PURE__ */ r(z, { gutter: "lg", children: [
|
|
2409
2409
|
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 5, xl: 4 }, children: /* @__PURE__ */ e(
|
|
2410
|
-
|
|
2410
|
+
wr,
|
|
2411
2411
|
{
|
|
2412
2412
|
item: v,
|
|
2413
2413
|
ctaLabel: c
|
|
2414
2414
|
}
|
|
2415
2415
|
) }),
|
|
2416
|
-
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 7, xl: 8 }, children: /* @__PURE__ */ e(z, { gutter: "lg", children:
|
|
2416
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 7, xl: 8 }, children: /* @__PURE__ */ e(z, { gutter: "lg", children: A.map((I) => /* @__PURE__ */ e(
|
|
2417
2417
|
z.Col,
|
|
2418
2418
|
{
|
|
2419
2419
|
span: { base: 12, xs: 6, md: 4, lg: 6, xl: 4 },
|
|
2420
|
-
children: /* @__PURE__ */ e(
|
|
2420
|
+
children: /* @__PURE__ */ e(vr, { item: I })
|
|
2421
2421
|
},
|
|
2422
2422
|
I.name
|
|
2423
2423
|
)) }) })
|
|
2424
2424
|
] }),
|
|
2425
|
-
|
|
2425
|
+
h && /* @__PURE__ */ e(
|
|
2426
2426
|
t,
|
|
2427
2427
|
{
|
|
2428
2428
|
size: "sm",
|
|
@@ -2431,7 +2431,7 @@ function Jr({
|
|
|
2431
2431
|
maw: 800,
|
|
2432
2432
|
mx: "auto",
|
|
2433
2433
|
lh: 1.6,
|
|
2434
|
-
children:
|
|
2434
|
+
children: h
|
|
2435
2435
|
}
|
|
2436
2436
|
)
|
|
2437
2437
|
]
|
|
@@ -2439,18 +2439,18 @@ function Jr({
|
|
|
2439
2439
|
)
|
|
2440
2440
|
) : null;
|
|
2441
2441
|
}
|
|
2442
|
-
const
|
|
2442
|
+
const ze = (a) => ({
|
|
2443
2443
|
component: "a",
|
|
2444
2444
|
href: a.href,
|
|
2445
2445
|
target: a.target,
|
|
2446
2446
|
rel: a.target === "_blank" ? "noopener noreferrer" : void 0
|
|
2447
2447
|
});
|
|
2448
|
-
function
|
|
2448
|
+
function wr({ item: a, ctaLabel: s }) {
|
|
2449
2449
|
const o = a.icon;
|
|
2450
2450
|
return /* @__PURE__ */ r(
|
|
2451
2451
|
T,
|
|
2452
2452
|
{
|
|
2453
|
-
...
|
|
2453
|
+
...ze(a),
|
|
2454
2454
|
className: "rlg-shelf-feature",
|
|
2455
2455
|
radius: "0",
|
|
2456
2456
|
p: 0,
|
|
@@ -2459,7 +2459,7 @@ function br({ item: a, ctaLabel: s }) {
|
|
|
2459
2459
|
ta: "left",
|
|
2460
2460
|
children: [
|
|
2461
2461
|
a.art && /* @__PURE__ */ e(
|
|
2462
|
-
|
|
2462
|
+
H,
|
|
2463
2463
|
{
|
|
2464
2464
|
src: a.art,
|
|
2465
2465
|
alt: "",
|
|
@@ -2498,7 +2498,7 @@ function br({ item: a, ctaLabel: s }) {
|
|
|
2498
2498
|
] }),
|
|
2499
2499
|
/* @__PURE__ */ r(x, { className: "rlg-shelf-feature-bottom", children: [
|
|
2500
2500
|
/* @__PURE__ */ e(
|
|
2501
|
-
|
|
2501
|
+
B,
|
|
2502
2502
|
{
|
|
2503
2503
|
order: 3,
|
|
2504
2504
|
className: "rlg-shelf-feature-title",
|
|
@@ -2535,7 +2535,7 @@ function br({ item: a, ctaLabel: s }) {
|
|
|
2535
2535
|
}
|
|
2536
2536
|
),
|
|
2537
2537
|
/* @__PURE__ */ e(
|
|
2538
|
-
|
|
2538
|
+
Ge,
|
|
2539
2539
|
{
|
|
2540
2540
|
size: 16,
|
|
2541
2541
|
stroke: 2.5,
|
|
@@ -2553,12 +2553,12 @@ function br({ item: a, ctaLabel: s }) {
|
|
|
2553
2553
|
}
|
|
2554
2554
|
);
|
|
2555
2555
|
}
|
|
2556
|
-
function
|
|
2556
|
+
function vr({ item: a }) {
|
|
2557
2557
|
const s = a.icon;
|
|
2558
2558
|
return /* @__PURE__ */ r(
|
|
2559
2559
|
T,
|
|
2560
2560
|
{
|
|
2561
|
-
...
|
|
2561
|
+
...ze(a),
|
|
2562
2562
|
className: "rlg-shelf-card",
|
|
2563
2563
|
radius: "0",
|
|
2564
2564
|
p: "lg",
|
|
@@ -2567,7 +2567,7 @@ function wr({ item: a }) {
|
|
|
2567
2567
|
ta: "left",
|
|
2568
2568
|
children: [
|
|
2569
2569
|
a.art && /* @__PURE__ */ e(
|
|
2570
|
-
|
|
2570
|
+
H,
|
|
2571
2571
|
{
|
|
2572
2572
|
src: a.art,
|
|
2573
2573
|
alt: "",
|
|
@@ -2593,7 +2593,7 @@ function wr({ item: a }) {
|
|
|
2593
2593
|
),
|
|
2594
2594
|
/* @__PURE__ */ r(x, { children: [
|
|
2595
2595
|
/* @__PURE__ */ e(
|
|
2596
|
-
|
|
2596
|
+
B,
|
|
2597
2597
|
{
|
|
2598
2598
|
order: 3,
|
|
2599
2599
|
fz: "h4",
|
|
@@ -2621,25 +2621,25 @@ function wr({ item: a }) {
|
|
|
2621
2621
|
}
|
|
2622
2622
|
);
|
|
2623
2623
|
}
|
|
2624
|
-
function Zr({ id: a, subtitle: s, title: o, description: i, items: n = [], note: l, background:
|
|
2624
|
+
function Zr({ id: a, subtitle: s, title: o, description: i, items: n = [], note: l, background: g = "gray", ta: h = "center" }) {
|
|
2625
2625
|
return /* @__PURE__ */ r(
|
|
2626
|
-
|
|
2626
|
+
F,
|
|
2627
2627
|
{
|
|
2628
2628
|
id: a,
|
|
2629
2629
|
subtitle: s,
|
|
2630
2630
|
title: o,
|
|
2631
|
-
background:
|
|
2632
|
-
ta:
|
|
2631
|
+
background: g,
|
|
2632
|
+
ta: h,
|
|
2633
2633
|
maw: 900,
|
|
2634
2634
|
children: [
|
|
2635
2635
|
i && /* @__PURE__ */ e(
|
|
2636
2636
|
t,
|
|
2637
2637
|
{
|
|
2638
2638
|
c: "gray.6",
|
|
2639
|
-
ta:
|
|
2639
|
+
ta: h,
|
|
2640
2640
|
mb: 56,
|
|
2641
2641
|
maw: 760,
|
|
2642
|
-
mx:
|
|
2642
|
+
mx: h === "center" ? "auto" : void 0,
|
|
2643
2643
|
size: "lg",
|
|
2644
2644
|
lh: 1.7,
|
|
2645
2645
|
children: i
|
|
@@ -2653,7 +2653,7 @@ function Zr({ id: a, subtitle: s, title: o, description: i, items: n = [], note:
|
|
|
2653
2653
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
2654
2654
|
px: { base: "lg", md: 40 },
|
|
2655
2655
|
py: { base: "xs", md: "md" },
|
|
2656
|
-
children: n.map((
|
|
2656
|
+
children: n.map((p, c) => /* @__PURE__ */ r(
|
|
2657
2657
|
z,
|
|
2658
2658
|
{
|
|
2659
2659
|
gutter: { base: 4, sm: "xl" },
|
|
@@ -2667,7 +2667,7 @@ function Zr({ id: a, subtitle: s, title: o, description: i, items: n = [], note:
|
|
|
2667
2667
|
fw: 700,
|
|
2668
2668
|
lh: 1.4,
|
|
2669
2669
|
c: "gray.9",
|
|
2670
|
-
children:
|
|
2670
|
+
children: p.criterion
|
|
2671
2671
|
}
|
|
2672
2672
|
) }),
|
|
2673
2673
|
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm: 8 }, children: [
|
|
@@ -2677,23 +2677,23 @@ function Zr({ id: a, subtitle: s, title: o, description: i, items: n = [], note:
|
|
|
2677
2677
|
fw: 700,
|
|
2678
2678
|
lh: 1.4,
|
|
2679
2679
|
mb: 6,
|
|
2680
|
-
c:
|
|
2681
|
-
children:
|
|
2680
|
+
c: p.muted ? "gray.5" : "gray.9",
|
|
2681
|
+
children: p.value
|
|
2682
2682
|
}
|
|
2683
2683
|
),
|
|
2684
|
-
|
|
2684
|
+
p.note && /* @__PURE__ */ e(
|
|
2685
2685
|
t,
|
|
2686
2686
|
{
|
|
2687
2687
|
size: "sm",
|
|
2688
2688
|
c: "gray.6",
|
|
2689
2689
|
lh: 1.6,
|
|
2690
|
-
children:
|
|
2690
|
+
children: p.note
|
|
2691
2691
|
}
|
|
2692
2692
|
)
|
|
2693
2693
|
] })
|
|
2694
2694
|
]
|
|
2695
2695
|
},
|
|
2696
|
-
|
|
2696
|
+
p.criterion || c
|
|
2697
2697
|
))
|
|
2698
2698
|
}
|
|
2699
2699
|
),
|
|
@@ -2702,10 +2702,10 @@ function Zr({ id: a, subtitle: s, title: o, description: i, items: n = [], note:
|
|
|
2702
2702
|
{
|
|
2703
2703
|
size: "sm",
|
|
2704
2704
|
c: "gray.6",
|
|
2705
|
-
ta:
|
|
2705
|
+
ta: h,
|
|
2706
2706
|
mt: 40,
|
|
2707
2707
|
maw: 720,
|
|
2708
|
-
mx:
|
|
2708
|
+
mx: h === "center" ? "auto" : void 0,
|
|
2709
2709
|
lh: 1.7,
|
|
2710
2710
|
children: l
|
|
2711
2711
|
}
|
|
@@ -2714,26 +2714,26 @@ function Zr({ id: a, subtitle: s, title: o, description: i, items: n = [], note:
|
|
|
2714
2714
|
}
|
|
2715
2715
|
);
|
|
2716
2716
|
}
|
|
2717
|
-
function ea({ id: a, subtitle: s, title: o, description: i, cardLabel: n, items: l = [], footnote:
|
|
2717
|
+
function ea({ id: a, subtitle: s, title: o, description: i, cardLabel: n, items: l = [], footnote: g, background: h = "gray", ta: p = "center" }) {
|
|
2718
2718
|
return /* @__PURE__ */ r(
|
|
2719
|
-
|
|
2719
|
+
F,
|
|
2720
2720
|
{
|
|
2721
2721
|
id: a,
|
|
2722
2722
|
subtitle: s,
|
|
2723
2723
|
title: o,
|
|
2724
|
-
background:
|
|
2725
|
-
ta:
|
|
2724
|
+
background: h,
|
|
2725
|
+
ta: p,
|
|
2726
2726
|
maw: 800,
|
|
2727
2727
|
children: [
|
|
2728
2728
|
i && /* @__PURE__ */ e(
|
|
2729
2729
|
t,
|
|
2730
2730
|
{
|
|
2731
2731
|
c: "gray.6",
|
|
2732
|
-
ta:
|
|
2732
|
+
ta: p,
|
|
2733
2733
|
size: "lg",
|
|
2734
2734
|
lh: 1.7,
|
|
2735
2735
|
maw: 720,
|
|
2736
|
-
mx:
|
|
2736
|
+
mx: p === "center" ? "auto" : void 0,
|
|
2737
2737
|
mb: 48,
|
|
2738
2738
|
children: i
|
|
2739
2739
|
}
|
|
@@ -2791,7 +2791,7 @@ function ea({ id: a, subtitle: s, title: o, description: i, cardLabel: n, items:
|
|
|
2791
2791
|
))
|
|
2792
2792
|
}
|
|
2793
2793
|
),
|
|
2794
|
-
|
|
2794
|
+
g && /* @__PURE__ */ r(
|
|
2795
2795
|
t,
|
|
2796
2796
|
{
|
|
2797
2797
|
size: "sm",
|
|
@@ -2801,18 +2801,18 @@ function ea({ id: a, subtitle: s, title: o, description: i, cardLabel: n, items:
|
|
|
2801
2801
|
lh: 1.7,
|
|
2802
2802
|
style: { borderTop: "1px solid var(--mantine-color-gray-2)" },
|
|
2803
2803
|
children: [
|
|
2804
|
-
|
|
2804
|
+
g.lead && /* @__PURE__ */ e(
|
|
2805
2805
|
t,
|
|
2806
2806
|
{
|
|
2807
2807
|
component: "span",
|
|
2808
2808
|
fw: 700,
|
|
2809
2809
|
c: "gray.9",
|
|
2810
2810
|
inherit: !0,
|
|
2811
|
-
children:
|
|
2811
|
+
children: g.lead
|
|
2812
2812
|
}
|
|
2813
2813
|
),
|
|
2814
2814
|
" ",
|
|
2815
|
-
|
|
2815
|
+
g.text
|
|
2816
2816
|
]
|
|
2817
2817
|
}
|
|
2818
2818
|
)
|
|
@@ -2823,9 +2823,9 @@ function ea({ id: a, subtitle: s, title: o, description: i, cardLabel: n, items:
|
|
|
2823
2823
|
}
|
|
2824
2824
|
);
|
|
2825
2825
|
}
|
|
2826
|
-
function ra({ id: a, subtitle: s, title: o, description: i, avatar: n, name: l, role:
|
|
2826
|
+
function ra({ id: a, subtitle: s, title: o, description: i, avatar: n, name: l, role: g, quote: h, credentials: p = [], background: c = "white", ta: m = "center" }) {
|
|
2827
2827
|
return /* @__PURE__ */ r(
|
|
2828
|
-
|
|
2828
|
+
F,
|
|
2829
2829
|
{
|
|
2830
2830
|
id: a,
|
|
2831
2831
|
subtitle: s,
|
|
@@ -2872,7 +2872,7 @@ function ra({ id: a, subtitle: s, title: o, description: i, avatar: n, name: l,
|
|
|
2872
2872
|
mx: { base: "auto", sm: 0 },
|
|
2873
2873
|
w: { base: 132, sm: 148 },
|
|
2874
2874
|
children: /* @__PURE__ */ e(
|
|
2875
|
-
|
|
2875
|
+
H,
|
|
2876
2876
|
{
|
|
2877
2877
|
src: n.src,
|
|
2878
2878
|
alt: n.alt || l || "",
|
|
@@ -2888,7 +2888,7 @@ function ra({ id: a, subtitle: s, title: o, description: i, avatar: n, name: l,
|
|
|
2888
2888
|
}
|
|
2889
2889
|
) }),
|
|
2890
2890
|
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm: "auto" }, children: [
|
|
2891
|
-
(l ||
|
|
2891
|
+
(l || g) && /* @__PURE__ */ r(
|
|
2892
2892
|
f,
|
|
2893
2893
|
{
|
|
2894
2894
|
mb: "lg",
|
|
@@ -2906,20 +2906,20 @@ function ra({ id: a, subtitle: s, title: o, description: i, avatar: n, name: l,
|
|
|
2906
2906
|
children: l
|
|
2907
2907
|
}
|
|
2908
2908
|
),
|
|
2909
|
-
|
|
2910
|
-
|
|
2909
|
+
g && /* @__PURE__ */ e(
|
|
2910
|
+
M,
|
|
2911
2911
|
{
|
|
2912
2912
|
variant: "dot",
|
|
2913
2913
|
color: "gray",
|
|
2914
2914
|
size: "sm",
|
|
2915
2915
|
radius: "0",
|
|
2916
|
-
children:
|
|
2916
|
+
children: g
|
|
2917
2917
|
}
|
|
2918
2918
|
)
|
|
2919
2919
|
]
|
|
2920
2920
|
}
|
|
2921
2921
|
),
|
|
2922
|
-
|
|
2922
|
+
h && /* @__PURE__ */ e(
|
|
2923
2923
|
t,
|
|
2924
2924
|
{
|
|
2925
2925
|
fz: { base: "md", md: "lg" },
|
|
@@ -2928,22 +2928,22 @@ function ra({ id: a, subtitle: s, title: o, description: i, avatar: n, name: l,
|
|
|
2928
2928
|
pl: { base: 0, sm: "xl" },
|
|
2929
2929
|
ta: { base: "center", sm: "left" },
|
|
2930
2930
|
style: { borderLeft: "2px solid var(--mantine-color-gray-3)" },
|
|
2931
|
-
children:
|
|
2931
|
+
children: h
|
|
2932
2932
|
}
|
|
2933
2933
|
)
|
|
2934
2934
|
] })
|
|
2935
2935
|
]
|
|
2936
2936
|
}
|
|
2937
2937
|
),
|
|
2938
|
-
|
|
2939
|
-
|
|
2938
|
+
p.length > 0 && /* @__PURE__ */ e(
|
|
2939
|
+
k,
|
|
2940
2940
|
{
|
|
2941
|
-
cols:
|
|
2941
|
+
cols: p.length,
|
|
2942
2942
|
spacing: { base: "xs", sm: "lg" },
|
|
2943
2943
|
mt: { base: 32, md: 48 },
|
|
2944
2944
|
pt: { base: "lg", md: "xl" },
|
|
2945
2945
|
style: { borderTop: "1px solid var(--mantine-color-gray-2)" },
|
|
2946
|
-
children:
|
|
2946
|
+
children: p.map((d, b) => /* @__PURE__ */ r(
|
|
2947
2947
|
x,
|
|
2948
2948
|
{
|
|
2949
2949
|
ta: { base: "center", sm: "left" },
|
|
@@ -2958,7 +2958,7 @@ function ra({ id: a, subtitle: s, title: o, description: i, avatar: n, name: l,
|
|
|
2958
2958
|
mb: 8,
|
|
2959
2959
|
c: "gray.9",
|
|
2960
2960
|
style: { letterSpacing: "-0.04em" },
|
|
2961
|
-
children:
|
|
2961
|
+
children: d.value
|
|
2962
2962
|
}
|
|
2963
2963
|
),
|
|
2964
2964
|
/* @__PURE__ */ e(
|
|
@@ -2971,12 +2971,12 @@ function ra({ id: a, subtitle: s, title: o, description: i, avatar: n, name: l,
|
|
|
2971
2971
|
lh: 1.4,
|
|
2972
2972
|
tt: "uppercase",
|
|
2973
2973
|
lts: "1.5px",
|
|
2974
|
-
children:
|
|
2974
|
+
children: d.label
|
|
2975
2975
|
}
|
|
2976
2976
|
)
|
|
2977
2977
|
]
|
|
2978
2978
|
},
|
|
2979
|
-
|
|
2979
|
+
d.label || b
|
|
2980
2980
|
))
|
|
2981
2981
|
}
|
|
2982
2982
|
)
|
|
@@ -2987,39 +2987,39 @@ function ra({ id: a, subtitle: s, title: o, description: i, avatar: n, name: l,
|
|
|
2987
2987
|
}
|
|
2988
2988
|
);
|
|
2989
2989
|
}
|
|
2990
|
-
function aa({ id: a, badge: s, subtitle: o, title: i, description: n, items: l = [], background:
|
|
2990
|
+
function aa({ id: a, badge: s, subtitle: o, title: i, description: n, items: l = [], background: g = "gray", ta: h = "center" }) {
|
|
2991
2991
|
return /* @__PURE__ */ r(
|
|
2992
|
-
|
|
2992
|
+
F,
|
|
2993
2993
|
{
|
|
2994
2994
|
id: a,
|
|
2995
2995
|
badge: s,
|
|
2996
2996
|
subtitle: o,
|
|
2997
2997
|
title: i,
|
|
2998
|
-
background:
|
|
2999
|
-
ta:
|
|
2998
|
+
background: g,
|
|
2999
|
+
ta: h,
|
|
3000
3000
|
maw: 900,
|
|
3001
3001
|
children: [
|
|
3002
3002
|
n && /* @__PURE__ */ e(
|
|
3003
3003
|
t,
|
|
3004
3004
|
{
|
|
3005
3005
|
c: "gray.6",
|
|
3006
|
-
ta:
|
|
3006
|
+
ta: h,
|
|
3007
3007
|
mb: 60,
|
|
3008
3008
|
maw: 700,
|
|
3009
|
-
mx:
|
|
3009
|
+
mx: h === "center" ? "auto" : void 0,
|
|
3010
3010
|
fz: "lg",
|
|
3011
3011
|
lh: 1.6,
|
|
3012
3012
|
children: n
|
|
3013
3013
|
}
|
|
3014
3014
|
),
|
|
3015
3015
|
/* @__PURE__ */ e(
|
|
3016
|
-
|
|
3016
|
+
k,
|
|
3017
3017
|
{
|
|
3018
3018
|
cols: { base: 1, md: l.length <= 4 ? l.length : 3 },
|
|
3019
3019
|
spacing: "xl",
|
|
3020
3020
|
verticalSpacing: { base: 56, md: "xl" },
|
|
3021
|
-
children: l.map((
|
|
3022
|
-
const m =
|
|
3021
|
+
children: l.map((p, c) => {
|
|
3022
|
+
const m = p.icon;
|
|
3023
3023
|
return /* @__PURE__ */ r(
|
|
3024
3024
|
x,
|
|
3025
3025
|
{
|
|
@@ -3041,7 +3041,7 @@ function aa({ id: a, badge: s, subtitle: o, title: i, description: n, items: l =
|
|
|
3041
3041
|
letterSpacing: "-0.05em",
|
|
3042
3042
|
pointerEvents: "none"
|
|
3043
3043
|
},
|
|
3044
|
-
children:
|
|
3044
|
+
children: p.number || String(c + 1).padStart(2, "0")
|
|
3045
3045
|
}
|
|
3046
3046
|
),
|
|
3047
3047
|
m && /* @__PURE__ */ e(
|
|
@@ -3064,7 +3064,7 @@ function aa({ id: a, badge: s, subtitle: o, title: i, description: n, items: l =
|
|
|
3064
3064
|
}
|
|
3065
3065
|
),
|
|
3066
3066
|
/* @__PURE__ */ e(
|
|
3067
|
-
|
|
3067
|
+
B,
|
|
3068
3068
|
{
|
|
3069
3069
|
order: 3,
|
|
3070
3070
|
fz: "h3",
|
|
@@ -3072,7 +3072,7 @@ function aa({ id: a, badge: s, subtitle: o, title: i, description: n, items: l =
|
|
|
3072
3072
|
mb: "xs",
|
|
3073
3073
|
pos: "relative",
|
|
3074
3074
|
style: { zIndex: 1 },
|
|
3075
|
-
children:
|
|
3075
|
+
children: p.title
|
|
3076
3076
|
}
|
|
3077
3077
|
),
|
|
3078
3078
|
/* @__PURE__ */ e(
|
|
@@ -3083,12 +3083,12 @@ function aa({ id: a, badge: s, subtitle: o, title: i, description: n, items: l =
|
|
|
3083
3083
|
lh: 1.6,
|
|
3084
3084
|
pos: "relative",
|
|
3085
3085
|
style: { zIndex: 1 },
|
|
3086
|
-
children:
|
|
3086
|
+
children: p.description
|
|
3087
3087
|
}
|
|
3088
3088
|
)
|
|
3089
3089
|
]
|
|
3090
3090
|
},
|
|
3091
|
-
|
|
3091
|
+
p.title || c
|
|
3092
3092
|
);
|
|
3093
3093
|
})
|
|
3094
3094
|
}
|
|
@@ -3097,27 +3097,35 @@ function aa({ id: a, badge: s, subtitle: o, title: i, description: n, items: l =
|
|
|
3097
3097
|
}
|
|
3098
3098
|
);
|
|
3099
3099
|
}
|
|
3100
|
-
const
|
|
3101
|
-
function ta({ id: a, badge: s, title: o, description: i, fields: n = [], whatsappNumber: l, messageIntro:
|
|
3102
|
-
const [
|
|
3103
|
-
const { value: C } =
|
|
3104
|
-
|
|
3105
|
-
},
|
|
3100
|
+
const me = (a) => a.requiredMessage || `Preencha o campo ${a.label}`;
|
|
3101
|
+
function ta({ id: a, badge: s, title: o, description: i, fields: n = [], whatsappNumber: l, messageIntro: g = "Olá! Vim pelo site.", submit: h = {}, reassurance: p, onSubmit: c, background: m = "gray" }) {
|
|
3102
|
+
const [d, b] = K(() => Object.fromEntries(n.map((w) => [w.name, ""]))), [y, v] = K(!1), A = (w) => (O) => {
|
|
3103
|
+
const { value: C } = O.currentTarget;
|
|
3104
|
+
b((ne) => ({ ...ne, [w]: C }));
|
|
3105
|
+
}, D = n.filter((w) => w.required).every((w) => d[w.name]?.trim()), q = (w) => {
|
|
3106
|
+
if (w.preventDefault(), v(!0), !D) return;
|
|
3107
|
+
const O = [g, "", ...n.filter((C) => d[C.name]?.trim()).map((C) => `${C.label}: ${d[C.name]}`)].join(`
|
|
3108
|
+
`);
|
|
3109
|
+
if (c?.(d), l) {
|
|
3110
|
+
const C = `https://wa.me/${l}?text=${encodeURIComponent(O)}`;
|
|
3111
|
+
window.open(C, "_blank", "noopener,noreferrer");
|
|
3112
|
+
}
|
|
3113
|
+
};
|
|
3106
3114
|
return /* @__PURE__ */ e(
|
|
3107
3115
|
x,
|
|
3108
3116
|
{
|
|
3109
3117
|
id: a,
|
|
3110
3118
|
component: "section",
|
|
3111
3119
|
py: { base: 80, md: 120 },
|
|
3112
|
-
bg:
|
|
3113
|
-
children: /* @__PURE__ */ r(
|
|
3120
|
+
bg: $(m),
|
|
3121
|
+
children: /* @__PURE__ */ r(L, { size: "md", children: [
|
|
3114
3122
|
s && /* @__PURE__ */ e(
|
|
3115
3123
|
f,
|
|
3116
3124
|
{
|
|
3117
3125
|
justify: "center",
|
|
3118
3126
|
mb: "md",
|
|
3119
3127
|
children: /* @__PURE__ */ e(
|
|
3120
|
-
|
|
3128
|
+
M,
|
|
3121
3129
|
{
|
|
3122
3130
|
variant: "light",
|
|
3123
3131
|
color: "gray",
|
|
@@ -3129,11 +3137,11 @@ function ta({ id: a, badge: s, title: o, description: i, fields: n = [], whatsap
|
|
|
3129
3137
|
}
|
|
3130
3138
|
),
|
|
3131
3139
|
o && /* @__PURE__ */ e(
|
|
3132
|
-
|
|
3140
|
+
B,
|
|
3133
3141
|
{
|
|
3134
3142
|
order: 2,
|
|
3135
3143
|
ta: "center",
|
|
3136
|
-
c: "
|
|
3144
|
+
c: "gray.9",
|
|
3137
3145
|
mb: "md",
|
|
3138
3146
|
fz: "var(--fz-section-title)",
|
|
3139
3147
|
children: o
|
|
@@ -3143,7 +3151,7 @@ function ta({ id: a, badge: s, title: o, description: i, fields: n = [], whatsap
|
|
|
3143
3151
|
t,
|
|
3144
3152
|
{
|
|
3145
3153
|
ta: "center",
|
|
3146
|
-
c: "gray.
|
|
3154
|
+
c: "gray.6",
|
|
3147
3155
|
mb: 48,
|
|
3148
3156
|
maw: 620,
|
|
3149
3157
|
mx: "auto",
|
|
@@ -3157,60 +3165,53 @@ function ta({ id: a, badge: s, title: o, description: i, fields: n = [], whatsap
|
|
|
3157
3165
|
{
|
|
3158
3166
|
p: "xl",
|
|
3159
3167
|
radius: "0",
|
|
3160
|
-
bg:
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
if (c?.(m), l) {
|
|
3166
|
-
const C = `https://wa.me/${l}?text=${encodeURIComponent(N)}`;
|
|
3167
|
-
window.open(C, "_blank", "noopener,noreferrer");
|
|
3168
|
-
}
|
|
3169
|
-
}, children: /* @__PURE__ */ r(u, { gap: "md", children: [
|
|
3170
|
-
/* @__PURE__ */ e(A, { cols: { base: 1, sm: 2 }, children: n.filter((w) => w.span !== "full").map((w) => /* @__PURE__ */ e(
|
|
3171
|
-
ie,
|
|
3168
|
+
bg: _(m),
|
|
3169
|
+
withBorder: !0,
|
|
3170
|
+
children: /* @__PURE__ */ e("form", { onSubmit: q, children: /* @__PURE__ */ r(u, { gap: "md", children: [
|
|
3171
|
+
/* @__PURE__ */ e(k, { cols: { base: 1, sm: 2 }, children: n.filter((w) => w.span !== "full").map((w) => /* @__PURE__ */ e(
|
|
3172
|
+
oe,
|
|
3172
3173
|
{
|
|
3173
3174
|
label: w.label,
|
|
3174
3175
|
placeholder: w.placeholder,
|
|
3175
3176
|
type: w.type || "text",
|
|
3176
3177
|
required: w.required,
|
|
3177
|
-
value:
|
|
3178
|
-
onChange:
|
|
3179
|
-
error:
|
|
3178
|
+
value: d[w.name] || "",
|
|
3179
|
+
onChange: A(w.name),
|
|
3180
|
+
error: y && w.required && !d[w.name]?.trim() ? me(w) : null
|
|
3180
3181
|
},
|
|
3181
3182
|
w.name
|
|
3182
3183
|
)) }),
|
|
3183
3184
|
n.filter((w) => w.span === "full").map((w) => /* @__PURE__ */ e(
|
|
3184
|
-
|
|
3185
|
+
oe,
|
|
3185
3186
|
{
|
|
3186
3187
|
label: w.label,
|
|
3187
3188
|
placeholder: w.placeholder,
|
|
3188
3189
|
type: w.type || "text",
|
|
3189
3190
|
required: w.required,
|
|
3190
|
-
value:
|
|
3191
|
-
onChange:
|
|
3192
|
-
error:
|
|
3191
|
+
value: d[w.name] || "",
|
|
3192
|
+
onChange: A(w.name),
|
|
3193
|
+
error: y && w.required && !d[w.name]?.trim() ? me(w) : null
|
|
3193
3194
|
},
|
|
3194
3195
|
w.name
|
|
3195
3196
|
)),
|
|
3196
3197
|
/* @__PURE__ */ e(
|
|
3197
|
-
|
|
3198
|
+
G,
|
|
3198
3199
|
{
|
|
3199
3200
|
type: "submit",
|
|
3200
3201
|
size: "lg",
|
|
3201
3202
|
radius: "0",
|
|
3202
3203
|
color: "gray.9",
|
|
3203
|
-
leftSection:
|
|
3204
|
+
leftSection: h.leftSection,
|
|
3204
3205
|
mt: "sm",
|
|
3205
3206
|
styles: {
|
|
3206
3207
|
root: { height: "auto" },
|
|
3207
3208
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
3208
3209
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
3209
3210
|
},
|
|
3210
|
-
children:
|
|
3211
|
+
children: h.label || "Enviar"
|
|
3211
3212
|
}
|
|
3212
3213
|
),
|
|
3213
|
-
|
|
3214
|
+
p && /* @__PURE__ */ r(
|
|
3214
3215
|
f,
|
|
3215
3216
|
{
|
|
3216
3217
|
gap: "xs",
|
|
@@ -3224,7 +3225,7 @@ function ta({ id: a, badge: s, title: o, description: i, fields: n = [], whatsap
|
|
|
3224
3225
|
color: "gray",
|
|
3225
3226
|
size: "sm",
|
|
3226
3227
|
children: /* @__PURE__ */ e(
|
|
3227
|
-
|
|
3228
|
+
xe,
|
|
3228
3229
|
{
|
|
3229
3230
|
size: 16,
|
|
3230
3231
|
stroke: 1.5
|
|
@@ -3237,7 +3238,7 @@ function ta({ id: a, badge: s, title: o, description: i, fields: n = [], whatsap
|
|
|
3237
3238
|
{
|
|
3238
3239
|
size: "xs",
|
|
3239
3240
|
c: "gray.6",
|
|
3240
|
-
children:
|
|
3241
|
+
children: p
|
|
3241
3242
|
}
|
|
3242
3243
|
)
|
|
3243
3244
|
]
|
|
@@ -3252,7 +3253,7 @@ function ta({ id: a, badge: s, title: o, description: i, fields: n = [], whatsap
|
|
|
3252
3253
|
}
|
|
3253
3254
|
function na({ id: a, subtitle: s, title: o, traditionalCol: i, newCol: n, background: l = "white" }) {
|
|
3254
3255
|
return /* @__PURE__ */ e(
|
|
3255
|
-
|
|
3256
|
+
F,
|
|
3256
3257
|
{
|
|
3257
3258
|
id: a,
|
|
3258
3259
|
subtitle: s,
|
|
@@ -3265,7 +3266,7 @@ function na({ id: a, subtitle: s, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3265
3266
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
3266
3267
|
style: { overflow: "hidden" },
|
|
3267
3268
|
children: /* @__PURE__ */ r(
|
|
3268
|
-
|
|
3269
|
+
k,
|
|
3269
3270
|
{
|
|
3270
3271
|
cols: { base: 1, md: 2 },
|
|
3271
3272
|
spacing: 0,
|
|
@@ -3304,14 +3305,14 @@ function na({ id: a, subtitle: s, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3304
3305
|
{
|
|
3305
3306
|
gap: "md",
|
|
3306
3307
|
mb: 40,
|
|
3307
|
-
children: i.items.map((
|
|
3308
|
+
children: i.items.map((g, h) => /* @__PURE__ */ r(Re, { children: [
|
|
3308
3309
|
/* @__PURE__ */ r(f, { justify: "space-between", children: [
|
|
3309
3310
|
/* @__PURE__ */ e(
|
|
3310
3311
|
t,
|
|
3311
3312
|
{
|
|
3312
3313
|
size: "sm",
|
|
3313
3314
|
c: "gray.6",
|
|
3314
|
-
children:
|
|
3315
|
+
children: g.label
|
|
3315
3316
|
}
|
|
3316
3317
|
),
|
|
3317
3318
|
/* @__PURE__ */ e(
|
|
@@ -3319,12 +3320,12 @@ function na({ id: a, subtitle: s, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3319
3320
|
{
|
|
3320
3321
|
fw: 700,
|
|
3321
3322
|
c: "gray.9",
|
|
3322
|
-
children:
|
|
3323
|
+
children: g.value
|
|
3323
3324
|
}
|
|
3324
3325
|
)
|
|
3325
3326
|
] }),
|
|
3326
|
-
|
|
3327
|
-
] },
|
|
3327
|
+
h < i.items.length - 1 && /* @__PURE__ */ e(j, { color: "var(--mantine-color-gray-2)" })
|
|
3328
|
+
] }, h))
|
|
3328
3329
|
}
|
|
3329
3330
|
),
|
|
3330
3331
|
/* @__PURE__ */ r(
|
|
@@ -3395,7 +3396,7 @@ function na({ id: a, subtitle: s, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3395
3396
|
}
|
|
3396
3397
|
),
|
|
3397
3398
|
n.badge && /* @__PURE__ */ e(
|
|
3398
|
-
|
|
3399
|
+
M,
|
|
3399
3400
|
{
|
|
3400
3401
|
color: "gray.9",
|
|
3401
3402
|
variant: "filled",
|
|
@@ -3414,7 +3415,7 @@ function na({ id: a, subtitle: s, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3414
3415
|
)
|
|
3415
3416
|
] }),
|
|
3416
3417
|
/* @__PURE__ */ e(
|
|
3417
|
-
|
|
3418
|
+
V,
|
|
3418
3419
|
{
|
|
3419
3420
|
spacing: "md",
|
|
3420
3421
|
size: "md",
|
|
@@ -3427,7 +3428,7 @@ function na({ id: a, subtitle: s, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3427
3428
|
radius: "0",
|
|
3428
3429
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
3429
3430
|
children: /* @__PURE__ */ e(
|
|
3430
|
-
|
|
3431
|
+
Q,
|
|
3431
3432
|
{
|
|
3432
3433
|
size: 12,
|
|
3433
3434
|
color: "var(--mantine-color-gray-9)"
|
|
@@ -3435,7 +3436,7 @@ function na({ id: a, subtitle: s, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3435
3436
|
)
|
|
3436
3437
|
}
|
|
3437
3438
|
),
|
|
3438
|
-
children: n.items.map((
|
|
3439
|
+
children: n.items.map((g, h) => /* @__PURE__ */ e(V.Item, { children: g }, h))
|
|
3439
3440
|
}
|
|
3440
3441
|
),
|
|
3441
3442
|
n.pricingBox && /* @__PURE__ */ e(
|
|
@@ -3480,7 +3481,7 @@ function na({ id: a, subtitle: s, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3480
3481
|
}
|
|
3481
3482
|
),
|
|
3482
3483
|
n.cta && /* @__PURE__ */ e(x, { mt: "xl", children: /* @__PURE__ */ e(
|
|
3483
|
-
|
|
3484
|
+
N,
|
|
3484
3485
|
{
|
|
3485
3486
|
label: n.cta.label,
|
|
3486
3487
|
href: n.cta.href,
|
|
@@ -3513,14 +3514,14 @@ function ia({
|
|
|
3513
3514
|
{ label: "Mensal", value: "monthly" },
|
|
3514
3515
|
{ label: "Anual", value: "annual" }
|
|
3515
3516
|
],
|
|
3516
|
-
billing:
|
|
3517
|
-
setBilling:
|
|
3518
|
-
promoBadge:
|
|
3517
|
+
billing: g,
|
|
3518
|
+
setBilling: h,
|
|
3519
|
+
promoBadge: p,
|
|
3519
3520
|
plans: c,
|
|
3520
3521
|
background: m = "white"
|
|
3521
3522
|
}) {
|
|
3522
3523
|
return /* @__PURE__ */ r(
|
|
3523
|
-
|
|
3524
|
+
F,
|
|
3524
3525
|
{
|
|
3525
3526
|
id: a,
|
|
3526
3527
|
badge: s,
|
|
@@ -3551,10 +3552,10 @@ function ia({
|
|
|
3551
3552
|
mb: 80,
|
|
3552
3553
|
children: /* @__PURE__ */ r(f, { gap: "xs", children: [
|
|
3553
3554
|
/* @__PURE__ */ e(
|
|
3554
|
-
|
|
3555
|
+
qe,
|
|
3555
3556
|
{
|
|
3556
|
-
value:
|
|
3557
|
-
onChange:
|
|
3557
|
+
value: g,
|
|
3558
|
+
onChange: h,
|
|
3558
3559
|
radius: "0",
|
|
3559
3560
|
size: "md",
|
|
3560
3561
|
data: l,
|
|
@@ -3563,32 +3564,32 @@ function ia({
|
|
|
3563
3564
|
style: { border: "1px solid var(--mantine-color-gray-2)" }
|
|
3564
3565
|
}
|
|
3565
3566
|
),
|
|
3566
|
-
|
|
3567
|
-
|
|
3567
|
+
g === "annual" && p && /* @__PURE__ */ e(
|
|
3568
|
+
M,
|
|
3568
3569
|
{
|
|
3569
3570
|
variant: "filled",
|
|
3570
3571
|
color: "gray.9",
|
|
3571
3572
|
radius: "0",
|
|
3572
3573
|
size: "lg",
|
|
3573
|
-
children:
|
|
3574
|
+
children: p
|
|
3574
3575
|
}
|
|
3575
3576
|
)
|
|
3576
3577
|
] })
|
|
3577
3578
|
}
|
|
3578
3579
|
),
|
|
3579
3580
|
/* @__PURE__ */ e(
|
|
3580
|
-
|
|
3581
|
+
k,
|
|
3581
3582
|
{
|
|
3582
3583
|
cols: { base: 1, md: c.length <= 3 ? c.length : 3 },
|
|
3583
3584
|
spacing: "xl",
|
|
3584
3585
|
verticalSpacing: "xl",
|
|
3585
|
-
children: c.map((
|
|
3586
|
+
children: c.map((d) => /* @__PURE__ */ r(
|
|
3586
3587
|
T,
|
|
3587
3588
|
{
|
|
3588
3589
|
p: "xl",
|
|
3589
3590
|
radius: "0",
|
|
3590
3591
|
withBorder: !0,
|
|
3591
|
-
bd:
|
|
3592
|
+
bd: d.highlight ? "2px solid var(--mantine-color-gray-9)" : "1px solid var(--mantine-color-gray-2)",
|
|
3592
3593
|
display: "flex",
|
|
3593
3594
|
h: "100%",
|
|
3594
3595
|
style: { flexDirection: "column" },
|
|
@@ -3614,15 +3615,15 @@ function ia({
|
|
|
3614
3615
|
tt: "uppercase",
|
|
3615
3616
|
lts: "1.5px",
|
|
3616
3617
|
c: "gray.4",
|
|
3617
|
-
children:
|
|
3618
|
+
children: d.name
|
|
3618
3619
|
}
|
|
3619
3620
|
),
|
|
3620
|
-
|
|
3621
|
-
|
|
3621
|
+
d.highlight && /* @__PURE__ */ e(
|
|
3622
|
+
M,
|
|
3622
3623
|
{
|
|
3623
3624
|
variant: "dot",
|
|
3624
3625
|
color: "gray.9",
|
|
3625
|
-
children:
|
|
3626
|
+
children: d.highlightBadge || "RECOMENDADO"
|
|
3626
3627
|
}
|
|
3627
3628
|
)
|
|
3628
3629
|
]
|
|
@@ -3636,14 +3637,14 @@ function ia({
|
|
|
3636
3637
|
fw: 500,
|
|
3637
3638
|
lh: 1.5,
|
|
3638
3639
|
h: { md: 42 },
|
|
3639
|
-
children:
|
|
3640
|
+
children: d.description
|
|
3640
3641
|
}
|
|
3641
3642
|
)
|
|
3642
3643
|
]
|
|
3643
3644
|
}
|
|
3644
3645
|
),
|
|
3645
3646
|
/* @__PURE__ */ r(x, { mb: "xl", children: [
|
|
3646
|
-
|
|
3647
|
+
d.pricePrefix !== null && /* @__PURE__ */ e(
|
|
3647
3648
|
t,
|
|
3648
3649
|
{
|
|
3649
3650
|
size: "xs",
|
|
@@ -3652,10 +3653,10 @@ function ia({
|
|
|
3652
3653
|
tt: "uppercase",
|
|
3653
3654
|
lts: "1px",
|
|
3654
3655
|
mb: 4,
|
|
3655
|
-
children:
|
|
3656
|
+
children: d.pricePrefix || "A partir de"
|
|
3656
3657
|
}
|
|
3657
3658
|
),
|
|
3658
|
-
|
|
3659
|
+
d.priceText ? (
|
|
3659
3660
|
// Escape hatch para preço que não é número
|
|
3660
3661
|
// ("Sob consulta"), onde currency/whole/fraction
|
|
3661
3662
|
// não têm o que representar.
|
|
@@ -3673,15 +3674,15 @@ function ia({
|
|
|
3673
3674
|
lts: "-0.04em",
|
|
3674
3675
|
lh: 1,
|
|
3675
3676
|
c: "gray.9",
|
|
3676
|
-
children:
|
|
3677
|
+
children: d.priceText
|
|
3677
3678
|
}
|
|
3678
3679
|
),
|
|
3679
|
-
|
|
3680
|
+
d.period && /* @__PURE__ */ e(
|
|
3680
3681
|
t,
|
|
3681
3682
|
{
|
|
3682
3683
|
size: "md",
|
|
3683
3684
|
c: "gray.5",
|
|
3684
|
-
children:
|
|
3685
|
+
children: d.period
|
|
3685
3686
|
}
|
|
3686
3687
|
)
|
|
3687
3688
|
]
|
|
@@ -3700,7 +3701,7 @@ function ia({
|
|
|
3700
3701
|
fw: 900,
|
|
3701
3702
|
c: "gray.9",
|
|
3702
3703
|
style: { marginTop: 8 },
|
|
3703
|
-
children:
|
|
3704
|
+
children: d.priceDisplay?.currency
|
|
3704
3705
|
}
|
|
3705
3706
|
),
|
|
3706
3707
|
/* @__PURE__ */ r(
|
|
@@ -3717,10 +3718,10 @@ function ia({
|
|
|
3717
3718
|
lts: "-0.04em",
|
|
3718
3719
|
lh: 0.8,
|
|
3719
3720
|
c: "gray.9",
|
|
3720
|
-
children:
|
|
3721
|
+
children: d.priceDisplay?.whole
|
|
3721
3722
|
}
|
|
3722
3723
|
),
|
|
3723
|
-
|
|
3724
|
+
d.priceDisplay?.fraction && /* @__PURE__ */ r(
|
|
3724
3725
|
u,
|
|
3725
3726
|
{
|
|
3726
3727
|
gap: 0,
|
|
@@ -3735,7 +3736,7 @@ function ia({
|
|
|
3735
3736
|
c: "gray.9",
|
|
3736
3737
|
children: [
|
|
3737
3738
|
",",
|
|
3738
|
-
|
|
3739
|
+
d.priceDisplay.fraction
|
|
3739
3740
|
]
|
|
3740
3741
|
}
|
|
3741
3742
|
),
|
|
@@ -3747,7 +3748,7 @@ function ia({
|
|
|
3747
3748
|
fw: 800,
|
|
3748
3749
|
tt: "uppercase",
|
|
3749
3750
|
lts: "1px",
|
|
3750
|
-
children:
|
|
3751
|
+
children: d.period || d.priceSuffix || "/mês"
|
|
3751
3752
|
}
|
|
3752
3753
|
)
|
|
3753
3754
|
]
|
|
@@ -3759,18 +3760,18 @@ function ia({
|
|
|
3759
3760
|
]
|
|
3760
3761
|
}
|
|
3761
3762
|
),
|
|
3762
|
-
|
|
3763
|
+
d.priceNote && /* @__PURE__ */ e(
|
|
3763
3764
|
t,
|
|
3764
3765
|
{
|
|
3765
3766
|
size: "sm",
|
|
3766
3767
|
c: "gray.6",
|
|
3767
3768
|
mt: "md",
|
|
3768
|
-
children:
|
|
3769
|
+
children: d.priceNote
|
|
3769
3770
|
}
|
|
3770
3771
|
)
|
|
3771
3772
|
] }),
|
|
3772
3773
|
/* @__PURE__ */ e(
|
|
3773
|
-
|
|
3774
|
+
j,
|
|
3774
3775
|
{
|
|
3775
3776
|
mb: "xl",
|
|
3776
3777
|
color: "gray.1"
|
|
@@ -3782,7 +3783,7 @@ function ia({
|
|
|
3782
3783
|
gap: "sm",
|
|
3783
3784
|
mb: 40,
|
|
3784
3785
|
style: { flex: 1 },
|
|
3785
|
-
children: (
|
|
3786
|
+
children: (d.features || []).map((b, y) => /* @__PURE__ */ r(
|
|
3786
3787
|
f,
|
|
3787
3788
|
{
|
|
3788
3789
|
gap: "sm",
|
|
@@ -3790,7 +3791,7 @@ function ia({
|
|
|
3790
3791
|
align: "flex-start",
|
|
3791
3792
|
children: [
|
|
3792
3793
|
/* @__PURE__ */ e(
|
|
3793
|
-
|
|
3794
|
+
Q,
|
|
3794
3795
|
{
|
|
3795
3796
|
size: 16,
|
|
3796
3797
|
color: "var(--mantine-color-gray-9)",
|
|
@@ -3813,22 +3814,22 @@ function ia({
|
|
|
3813
3814
|
))
|
|
3814
3815
|
}
|
|
3815
3816
|
),
|
|
3816
|
-
|
|
3817
|
-
|
|
3817
|
+
d.cta && /* @__PURE__ */ e(x, { mt: "auto", children: /* @__PURE__ */ e(
|
|
3818
|
+
N,
|
|
3818
3819
|
{
|
|
3819
|
-
label:
|
|
3820
|
-
href:
|
|
3821
|
-
target:
|
|
3822
|
-
rel:
|
|
3823
|
-
icon:
|
|
3824
|
-
leftSection:
|
|
3825
|
-
size:
|
|
3826
|
-
variant:
|
|
3827
|
-
color:
|
|
3820
|
+
label: d.cta.label,
|
|
3821
|
+
href: d.cta.href,
|
|
3822
|
+
target: d.cta.target,
|
|
3823
|
+
rel: d.cta.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
3824
|
+
icon: d.cta.icon,
|
|
3825
|
+
leftSection: d.cta.leftSection,
|
|
3826
|
+
size: d.cta.size || "xl",
|
|
3827
|
+
variant: d.cta.variant,
|
|
3828
|
+
color: d.cta.color || "gray.9",
|
|
3828
3829
|
fullWidth: !0
|
|
3829
3830
|
}
|
|
3830
3831
|
) }),
|
|
3831
|
-
|
|
3832
|
+
d.note && /* @__PURE__ */ e(
|
|
3832
3833
|
x,
|
|
3833
3834
|
{
|
|
3834
3835
|
mt: "auto",
|
|
@@ -3840,14 +3841,14 @@ function ia({
|
|
|
3840
3841
|
size: "xs",
|
|
3841
3842
|
c: "gray.5",
|
|
3842
3843
|
lh: 1.5,
|
|
3843
|
-
children:
|
|
3844
|
+
children: d.note
|
|
3844
3845
|
}
|
|
3845
3846
|
)
|
|
3846
3847
|
}
|
|
3847
3848
|
)
|
|
3848
3849
|
]
|
|
3849
3850
|
},
|
|
3850
|
-
|
|
3851
|
+
d.name
|
|
3851
3852
|
))
|
|
3852
3853
|
}
|
|
3853
3854
|
)
|
|
@@ -3855,13 +3856,13 @@ function ia({
|
|
|
3855
3856
|
}
|
|
3856
3857
|
);
|
|
3857
3858
|
}
|
|
3858
|
-
function oa({ id: a, badge: s, subtitle: o, title: i, description: n, questions: l = [], contactCard:
|
|
3859
|
+
function oa({ id: a, badge: s, subtitle: o, title: i, description: n, questions: l = [], contactCard: g, background: h = "white", ta: p = "left" }) {
|
|
3859
3860
|
const c = Math.ceil(l.length / 2), m = {
|
|
3860
3861
|
item: {
|
|
3861
3862
|
// A CSS variable, not the name: a `styles` object is plain CSS, so
|
|
3862
3863
|
// 'white' was the literal colour — it stayed white in dark mode —
|
|
3863
3864
|
// and 'gray.1' was not a colour at all.
|
|
3864
|
-
backgroundColor:
|
|
3865
|
+
backgroundColor: h === "gray" ? "var(--mantine-color-gray-1)" : "var(--mantine-color-white)",
|
|
3865
3866
|
border: "1px solid var(--mantine-color-gray-2)"
|
|
3866
3867
|
},
|
|
3867
3868
|
control: {
|
|
@@ -3879,50 +3880,50 @@ function oa({ id: a, badge: s, subtitle: o, title: i, description: n, questions:
|
|
|
3879
3880
|
}
|
|
3880
3881
|
};
|
|
3881
3882
|
return /* @__PURE__ */ r(
|
|
3882
|
-
|
|
3883
|
+
F,
|
|
3883
3884
|
{
|
|
3884
3885
|
id: a,
|
|
3885
3886
|
badge: s,
|
|
3886
3887
|
subtitle: o,
|
|
3887
3888
|
title: i,
|
|
3888
|
-
background:
|
|
3889
|
-
ta:
|
|
3890
|
-
maw:
|
|
3889
|
+
background: h,
|
|
3890
|
+
ta: p,
|
|
3891
|
+
maw: p === "center" ? 900 : 800,
|
|
3891
3892
|
children: [
|
|
3892
3893
|
n && /* @__PURE__ */ e(
|
|
3893
3894
|
t,
|
|
3894
3895
|
{
|
|
3895
3896
|
c: "gray.6",
|
|
3896
|
-
ta:
|
|
3897
|
+
ta: p,
|
|
3897
3898
|
size: "lg",
|
|
3898
3899
|
lh: 1.6,
|
|
3899
3900
|
maw: 700,
|
|
3900
|
-
mx:
|
|
3901
|
+
mx: p === "center" ? "auto" : void 0,
|
|
3901
3902
|
mb: 40,
|
|
3902
3903
|
children: n
|
|
3903
3904
|
}
|
|
3904
3905
|
),
|
|
3905
3906
|
/* @__PURE__ */ r(
|
|
3906
|
-
|
|
3907
|
+
k,
|
|
3907
3908
|
{
|
|
3908
3909
|
cols: { base: 1, md: 2 },
|
|
3909
3910
|
spacing: "xl",
|
|
3910
3911
|
children: [
|
|
3911
3912
|
/* @__PURE__ */ e(
|
|
3912
|
-
|
|
3913
|
+
R,
|
|
3913
3914
|
{
|
|
3914
3915
|
variant: "separated",
|
|
3915
3916
|
radius: "0",
|
|
3916
3917
|
chevronPosition: "right",
|
|
3917
3918
|
styles: m,
|
|
3918
|
-
children: l.slice(0, c).map((
|
|
3919
|
-
|
|
3919
|
+
children: l.slice(0, c).map((d, b) => /* @__PURE__ */ r(
|
|
3920
|
+
R.Item,
|
|
3920
3921
|
{
|
|
3921
|
-
value:
|
|
3922
|
+
value: d.value || String(b),
|
|
3922
3923
|
mb: "md",
|
|
3923
3924
|
children: [
|
|
3924
3925
|
/* @__PURE__ */ e(
|
|
3925
|
-
|
|
3926
|
+
R.Control,
|
|
3926
3927
|
{
|
|
3927
3928
|
icon: /* @__PURE__ */ e(
|
|
3928
3929
|
S,
|
|
@@ -3931,7 +3932,7 @@ function oa({ id: a, badge: s, subtitle: o, title: i, description: n, questions:
|
|
|
3931
3932
|
color: "gray",
|
|
3932
3933
|
radius: "0",
|
|
3933
3934
|
children: /* @__PURE__ */ e(
|
|
3934
|
-
|
|
3935
|
+
se,
|
|
3935
3936
|
{
|
|
3936
3937
|
size: 16,
|
|
3937
3938
|
stroke: 1.5
|
|
@@ -3939,31 +3940,31 @@ function oa({ id: a, badge: s, subtitle: o, title: i, description: n, questions:
|
|
|
3939
3940
|
)
|
|
3940
3941
|
}
|
|
3941
3942
|
),
|
|
3942
|
-
children:
|
|
3943
|
+
children: d.question
|
|
3943
3944
|
}
|
|
3944
3945
|
),
|
|
3945
|
-
/* @__PURE__ */ e(
|
|
3946
|
+
/* @__PURE__ */ e(R.Panel, { c: "gray.6", children: d.answer })
|
|
3946
3947
|
]
|
|
3947
3948
|
},
|
|
3948
|
-
|
|
3949
|
+
d.value || b
|
|
3949
3950
|
))
|
|
3950
3951
|
}
|
|
3951
3952
|
),
|
|
3952
3953
|
/* @__PURE__ */ e(
|
|
3953
|
-
|
|
3954
|
+
R,
|
|
3954
3955
|
{
|
|
3955
3956
|
variant: "separated",
|
|
3956
3957
|
radius: "0",
|
|
3957
3958
|
chevronPosition: "right",
|
|
3958
3959
|
styles: m,
|
|
3959
|
-
children: l.slice(c).map((
|
|
3960
|
-
|
|
3960
|
+
children: l.slice(c).map((d, b) => /* @__PURE__ */ r(
|
|
3961
|
+
R.Item,
|
|
3961
3962
|
{
|
|
3962
|
-
value:
|
|
3963
|
+
value: d.value || String(c + b),
|
|
3963
3964
|
mb: "md",
|
|
3964
3965
|
children: [
|
|
3965
3966
|
/* @__PURE__ */ e(
|
|
3966
|
-
|
|
3967
|
+
R.Control,
|
|
3967
3968
|
{
|
|
3968
3969
|
icon: /* @__PURE__ */ e(
|
|
3969
3970
|
S,
|
|
@@ -3972,7 +3973,7 @@ function oa({ id: a, badge: s, subtitle: o, title: i, description: n, questions:
|
|
|
3972
3973
|
color: "gray",
|
|
3973
3974
|
radius: "0",
|
|
3974
3975
|
children: /* @__PURE__ */ e(
|
|
3975
|
-
|
|
3976
|
+
se,
|
|
3976
3977
|
{
|
|
3977
3978
|
size: 16,
|
|
3978
3979
|
stroke: 1.5
|
|
@@ -3980,31 +3981,31 @@ function oa({ id: a, badge: s, subtitle: o, title: i, description: n, questions:
|
|
|
3980
3981
|
)
|
|
3981
3982
|
}
|
|
3982
3983
|
),
|
|
3983
|
-
children:
|
|
3984
|
+
children: d.question
|
|
3984
3985
|
}
|
|
3985
3986
|
),
|
|
3986
|
-
/* @__PURE__ */ e(
|
|
3987
|
+
/* @__PURE__ */ e(R.Panel, { c: "gray.6", children: d.answer })
|
|
3987
3988
|
]
|
|
3988
3989
|
},
|
|
3989
|
-
|
|
3990
|
+
d.value || c + b
|
|
3990
3991
|
))
|
|
3991
3992
|
}
|
|
3992
3993
|
)
|
|
3993
3994
|
]
|
|
3994
3995
|
}
|
|
3995
3996
|
),
|
|
3996
|
-
|
|
3997
|
+
g && /* @__PURE__ */ e(
|
|
3997
3998
|
T,
|
|
3998
3999
|
{
|
|
3999
4000
|
mt: { base: 40, md: 80 },
|
|
4000
4001
|
radius: "0",
|
|
4001
4002
|
p: { base: "xl", md: 60 },
|
|
4002
|
-
bg:
|
|
4003
|
+
bg: h === "gray" ? "gray.1" : "white",
|
|
4003
4004
|
bd: "1px solid var(--mantine-color-gray-1)",
|
|
4004
4005
|
pos: "relative",
|
|
4005
4006
|
style: { overflow: "hidden" },
|
|
4006
4007
|
children: /* @__PURE__ */ r(
|
|
4007
|
-
|
|
4008
|
+
k,
|
|
4008
4009
|
{
|
|
4009
4010
|
cols: { base: 1, md: 2 },
|
|
4010
4011
|
spacing: "xl",
|
|
@@ -4024,7 +4025,7 @@ function oa({ id: a, badge: s, subtitle: o, title: i, description: n, questions:
|
|
|
4024
4025
|
fw: 900,
|
|
4025
4026
|
c: "gray.9",
|
|
4026
4027
|
lh: 1.2,
|
|
4027
|
-
children:
|
|
4028
|
+
children: g.title
|
|
4028
4029
|
}
|
|
4029
4030
|
),
|
|
4030
4031
|
/* @__PURE__ */ e(
|
|
@@ -4033,21 +4034,21 @@ function oa({ id: a, badge: s, subtitle: o, title: i, description: n, questions:
|
|
|
4033
4034
|
c: "gray.6",
|
|
4034
4035
|
maw: 500,
|
|
4035
4036
|
size: "lg",
|
|
4036
|
-
children:
|
|
4037
|
+
children: g.description
|
|
4037
4038
|
}
|
|
4038
4039
|
)
|
|
4039
4040
|
]
|
|
4040
4041
|
}
|
|
4041
4042
|
),
|
|
4042
4043
|
/* @__PURE__ */ e(u, { align: { base: "center", md: "flex-end" }, children: /* @__PURE__ */ e(
|
|
4043
|
-
|
|
4044
|
+
N,
|
|
4044
4045
|
{
|
|
4045
|
-
label:
|
|
4046
|
-
href:
|
|
4047
|
-
target:
|
|
4048
|
-
leftSection:
|
|
4049
|
-
size:
|
|
4050
|
-
color:
|
|
4046
|
+
label: g.cta.label,
|
|
4047
|
+
href: g.cta.href,
|
|
4048
|
+
target: g.cta.target,
|
|
4049
|
+
leftSection: g.cta.icon,
|
|
4050
|
+
size: g.cta.size || "xl",
|
|
4051
|
+
color: g.cta.color || "gray.8"
|
|
4051
4052
|
}
|
|
4052
4053
|
) })
|
|
4053
4054
|
]
|
|
@@ -4061,18 +4062,18 @@ function oa({ id: a, badge: s, subtitle: o, title: i, description: n, questions:
|
|
|
4061
4062
|
}
|
|
4062
4063
|
function la({ id: a, title: s, subtitle: o, items: i = [], background: n = "gray" }) {
|
|
4063
4064
|
return /* @__PURE__ */ e(
|
|
4064
|
-
|
|
4065
|
+
F,
|
|
4065
4066
|
{
|
|
4066
4067
|
id: a,
|
|
4067
4068
|
background: n,
|
|
4068
4069
|
title: s,
|
|
4069
4070
|
subtitle: o,
|
|
4070
4071
|
children: /* @__PURE__ */ e(
|
|
4071
|
-
|
|
4072
|
+
k,
|
|
4072
4073
|
{
|
|
4073
4074
|
cols: { base: 1, md: i.length > 3 ? 4 : i.length || 3 },
|
|
4074
4075
|
spacing: "xl",
|
|
4075
|
-
children: i.map((l,
|
|
4076
|
+
children: i.map((l, g) => /* @__PURE__ */ e(
|
|
4076
4077
|
T,
|
|
4077
4078
|
{
|
|
4078
4079
|
p: "xl",
|
|
@@ -4087,7 +4088,7 @@ function la({ id: a, title: s, subtitle: o, items: i = [], background: n = "gray
|
|
|
4087
4088
|
h: "100%",
|
|
4088
4089
|
children: [
|
|
4089
4090
|
/* @__PURE__ */ e(
|
|
4090
|
-
|
|
4091
|
+
He,
|
|
4091
4092
|
{
|
|
4092
4093
|
size: 32,
|
|
4093
4094
|
color: "var(--mantine-color-gray-3)"
|
|
@@ -4115,7 +4116,7 @@ function la({ id: a, title: s, subtitle: o, items: i = [], background: n = "gray
|
|
|
4115
4116
|
mt: "xl",
|
|
4116
4117
|
children: [
|
|
4117
4118
|
/* @__PURE__ */ e(
|
|
4118
|
-
|
|
4119
|
+
Be,
|
|
4119
4120
|
{
|
|
4120
4121
|
size: "md",
|
|
4121
4122
|
radius: "0",
|
|
@@ -4153,21 +4154,21 @@ function la({ id: a, title: s, subtitle: o, items: i = [], background: n = "gray
|
|
|
4153
4154
|
}
|
|
4154
4155
|
)
|
|
4155
4156
|
},
|
|
4156
|
-
|
|
4157
|
+
g
|
|
4157
4158
|
))
|
|
4158
4159
|
}
|
|
4159
4160
|
)
|
|
4160
4161
|
}
|
|
4161
4162
|
);
|
|
4162
4163
|
}
|
|
4163
|
-
const
|
|
4164
|
+
const ue = {
|
|
4164
4165
|
root: { height: "auto", maxWidth: "100%" },
|
|
4165
4166
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
4166
4167
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
4167
4168
|
};
|
|
4168
|
-
function
|
|
4169
|
+
function Se({ id: a, subtitle: s, title: o, titleOrder: i = 2, description: n, featuresList: l, featuresLabel: g, cta: h, secondaryCta: p, background: c = "gray", ta: m = "center" }) {
|
|
4169
4170
|
return /* @__PURE__ */ e(
|
|
4170
|
-
|
|
4171
|
+
F,
|
|
4171
4172
|
{
|
|
4172
4173
|
id: a,
|
|
4173
4174
|
background: c,
|
|
@@ -4202,7 +4203,7 @@ function ze({ id: a, subtitle: s, title: o, titleOrder: i = 2, description: n, f
|
|
|
4202
4203
|
// da página (um 404, por exemplo) e sem heading ela fica
|
|
4203
4204
|
// sem estrutura para leitor de tela.
|
|
4204
4205
|
/* @__PURE__ */ e(
|
|
4205
|
-
|
|
4206
|
+
B,
|
|
4206
4207
|
{
|
|
4207
4208
|
order: i,
|
|
4208
4209
|
fz: "var(--fz-section-title)",
|
|
@@ -4221,17 +4222,17 @@ function ze({ id: a, subtitle: s, title: o, titleOrder: i = 2, description: n, f
|
|
|
4221
4222
|
}
|
|
4222
4223
|
),
|
|
4223
4224
|
l && l.length > 0 && /* @__PURE__ */ r(x, { ta: "left", children: [
|
|
4224
|
-
|
|
4225
|
+
g && /* @__PURE__ */ e(
|
|
4225
4226
|
t,
|
|
4226
4227
|
{
|
|
4227
4228
|
fw: 700,
|
|
4228
4229
|
c: "gray.9",
|
|
4229
4230
|
mb: "md",
|
|
4230
|
-
children:
|
|
4231
|
+
children: g
|
|
4231
4232
|
}
|
|
4232
4233
|
),
|
|
4233
4234
|
/* @__PURE__ */ e(
|
|
4234
|
-
|
|
4235
|
+
V,
|
|
4235
4236
|
{
|
|
4236
4237
|
spacing: "sm",
|
|
4237
4238
|
size: "md",
|
|
@@ -4242,7 +4243,7 @@ function ze({ id: a, subtitle: s, title: o, titleOrder: i = 2, description: n, f
|
|
|
4242
4243
|
size: 24,
|
|
4243
4244
|
radius: "0",
|
|
4244
4245
|
children: /* @__PURE__ */ e(
|
|
4245
|
-
|
|
4246
|
+
Q,
|
|
4246
4247
|
{
|
|
4247
4248
|
size: 14,
|
|
4248
4249
|
color: "var(--mantine-color-gray-9)"
|
|
@@ -4250,7 +4251,7 @@ function ze({ id: a, subtitle: s, title: o, titleOrder: i = 2, description: n, f
|
|
|
4250
4251
|
)
|
|
4251
4252
|
}
|
|
4252
4253
|
),
|
|
4253
|
-
children: l.map((b, y) => /* @__PURE__ */ e(
|
|
4254
|
+
children: l.map((b, y) => /* @__PURE__ */ e(V.Item, { children: /* @__PURE__ */ e(
|
|
4254
4255
|
t,
|
|
4255
4256
|
{
|
|
4256
4257
|
c: "gray.6",
|
|
@@ -4261,7 +4262,7 @@ function ze({ id: a, subtitle: s, title: o, titleOrder: i = 2, description: n, f
|
|
|
4261
4262
|
}
|
|
4262
4263
|
)
|
|
4263
4264
|
] }),
|
|
4264
|
-
(
|
|
4265
|
+
(h || p) && // O Box acompanha o alinhamento do Stack em vez de esticar:
|
|
4265
4266
|
// sem isso o botão ocupava a linha inteira e ficava colado
|
|
4266
4267
|
// à esquerda, fora do eixo do texto centralizado.
|
|
4267
4268
|
/* @__PURE__ */ e(
|
|
@@ -4278,24 +4279,8 @@ function ze({ id: a, subtitle: s, title: o, titleOrder: i = 2, description: n, f
|
|
|
4278
4279
|
style: { maxWidth: "100%" },
|
|
4279
4280
|
className: "rlg-cta-group",
|
|
4280
4281
|
children: [
|
|
4281
|
-
d && /* @__PURE__ */ e(
|
|
4282
|
-
M,
|
|
4283
|
-
{
|
|
4284
|
-
label: d.label,
|
|
4285
|
-
href: d.href,
|
|
4286
|
-
icon: d.icon,
|
|
4287
|
-
leftSection: d.leftSection,
|
|
4288
|
-
target: d.target,
|
|
4289
|
-
rel: d.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
4290
|
-
size: d.size || "xl",
|
|
4291
|
-
px: d.px,
|
|
4292
|
-
variant: d.variant,
|
|
4293
|
-
color: d.color,
|
|
4294
|
-
styles: me
|
|
4295
|
-
}
|
|
4296
|
-
),
|
|
4297
4282
|
h && /* @__PURE__ */ e(
|
|
4298
|
-
|
|
4283
|
+
N,
|
|
4299
4284
|
{
|
|
4300
4285
|
label: h.label,
|
|
4301
4286
|
href: h.href,
|
|
@@ -4305,9 +4290,25 @@ function ze({ id: a, subtitle: s, title: o, titleOrder: i = 2, description: n, f
|
|
|
4305
4290
|
rel: h.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
4306
4291
|
size: h.size || "xl",
|
|
4307
4292
|
px: h.px,
|
|
4308
|
-
variant: h.variant
|
|
4293
|
+
variant: h.variant,
|
|
4309
4294
|
color: h.color,
|
|
4310
|
-
styles:
|
|
4295
|
+
styles: ue
|
|
4296
|
+
}
|
|
4297
|
+
),
|
|
4298
|
+
p && /* @__PURE__ */ e(
|
|
4299
|
+
N,
|
|
4300
|
+
{
|
|
4301
|
+
label: p.label,
|
|
4302
|
+
href: p.href,
|
|
4303
|
+
icon: p.icon,
|
|
4304
|
+
leftSection: p.leftSection,
|
|
4305
|
+
target: p.target,
|
|
4306
|
+
rel: p.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
4307
|
+
size: p.size || "xl",
|
|
4308
|
+
px: p.px,
|
|
4309
|
+
variant: p.variant || "default",
|
|
4310
|
+
color: p.color,
|
|
4311
|
+
styles: ue
|
|
4311
4312
|
}
|
|
4312
4313
|
)
|
|
4313
4314
|
]
|
|
@@ -4323,16 +4324,16 @@ function ze({ id: a, subtitle: s, title: o, titleOrder: i = 2, description: n, f
|
|
|
4323
4324
|
}
|
|
4324
4325
|
);
|
|
4325
4326
|
}
|
|
4326
|
-
const sa =
|
|
4327
|
-
function
|
|
4328
|
-
|
|
4327
|
+
const sa = Se;
|
|
4328
|
+
function zr() {
|
|
4329
|
+
ye(() => {
|
|
4329
4330
|
const a = document.createElement("meta");
|
|
4330
4331
|
return a.name = "robots", a.content = "noindex, follow", document.head.appendChild(a), () => a.remove();
|
|
4331
4332
|
}, []);
|
|
4332
4333
|
}
|
|
4333
4334
|
function ca({ 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" }) {
|
|
4334
|
-
return
|
|
4335
|
-
|
|
4335
|
+
return zr(), /* @__PURE__ */ e(
|
|
4336
|
+
Se,
|
|
4336
4337
|
{
|
|
4337
4338
|
subtitle: a,
|
|
4338
4339
|
title: s,
|
|
@@ -4343,7 +4344,7 @@ function ca({ subtitle: a = "Erro 404", title: s = "Esta página não existe", d
|
|
|
4343
4344
|
label: "Voltar para a home",
|
|
4344
4345
|
href: i,
|
|
4345
4346
|
leftSection: /* @__PURE__ */ e(
|
|
4346
|
-
|
|
4347
|
+
Ke,
|
|
4347
4348
|
{
|
|
4348
4349
|
size: 18,
|
|
4349
4350
|
stroke: 1.5
|
|
@@ -4353,8 +4354,8 @@ function ca({ subtitle: a = "Erro 404", title: s = "Esta página não existe", d
|
|
|
4353
4354
|
}
|
|
4354
4355
|
);
|
|
4355
4356
|
}
|
|
4356
|
-
function
|
|
4357
|
-
const i =
|
|
4357
|
+
function Sr({ text: a = "Selo Exclusivo", color: s = "green.6", background: o = "gray" }) {
|
|
4358
|
+
const i = $(o);
|
|
4358
4359
|
return /* @__PURE__ */ e(
|
|
4359
4360
|
x,
|
|
4360
4361
|
{
|
|
@@ -4372,7 +4373,7 @@ function zr({ text: a = "Selo Exclusivo", color: s = "green.6", background: o =
|
|
|
4372
4373
|
variant: "light",
|
|
4373
4374
|
size: "sm",
|
|
4374
4375
|
children: /* @__PURE__ */ e(
|
|
4375
|
-
|
|
4376
|
+
Qe,
|
|
4376
4377
|
{
|
|
4377
4378
|
size: 14,
|
|
4378
4379
|
"aria-hidden": "true"
|
|
@@ -4395,19 +4396,19 @@ function zr({ text: a = "Selo Exclusivo", color: s = "green.6", background: o =
|
|
|
4395
4396
|
}
|
|
4396
4397
|
);
|
|
4397
4398
|
}
|
|
4398
|
-
const da =
|
|
4399
|
-
function ha({ logo: a, description: s, sections: o = [], socialLinks: i = [], copyrightText: n, madeByText: l, background:
|
|
4400
|
-
const
|
|
4399
|
+
const da = Sr;
|
|
4400
|
+
function ha({ logo: a, description: s, sections: o = [], socialLinks: i = [], copyrightText: n, madeByText: l, background: g = "white", status: h }) {
|
|
4401
|
+
const p = $(g);
|
|
4401
4402
|
return /* @__PURE__ */ e(
|
|
4402
4403
|
x,
|
|
4403
4404
|
{
|
|
4404
4405
|
component: "footer",
|
|
4405
4406
|
py: "xl",
|
|
4406
|
-
bg:
|
|
4407
|
+
bg: p,
|
|
4407
4408
|
bd: { top: "1px solid var(--mantine-color-gray-2)" },
|
|
4408
|
-
children: /* @__PURE__ */ r(
|
|
4409
|
+
children: /* @__PURE__ */ r(L, { size: "xl", children: [
|
|
4409
4410
|
/* @__PURE__ */ r(
|
|
4410
|
-
|
|
4411
|
+
k,
|
|
4411
4412
|
{
|
|
4412
4413
|
cols: { base: 1, sm: 2 },
|
|
4413
4414
|
spacing: "xl",
|
|
@@ -4424,10 +4425,10 @@ function ha({ logo: a, description: s, sections: o = [], socialLinks: i = [], co
|
|
|
4424
4425
|
children: s
|
|
4425
4426
|
}
|
|
4426
4427
|
),
|
|
4427
|
-
|
|
4428
|
+
h
|
|
4428
4429
|
] }),
|
|
4429
4430
|
/* @__PURE__ */ r(
|
|
4430
|
-
|
|
4431
|
+
k,
|
|
4431
4432
|
{
|
|
4432
4433
|
cols: {
|
|
4433
4434
|
base: 2,
|
|
@@ -4451,15 +4452,15 @@ function ha({ logo: a, description: s, sections: o = [], socialLinks: i = [], co
|
|
|
4451
4452
|
children: c.title
|
|
4452
4453
|
}
|
|
4453
4454
|
),
|
|
4454
|
-
/* @__PURE__ */ e(u, { gap: "xs", children: c.links.map((
|
|
4455
|
-
|
|
4455
|
+
/* @__PURE__ */ e(u, { gap: "xs", children: c.links.map((d, b) => /* @__PURE__ */ e(
|
|
4456
|
+
fe,
|
|
4456
4457
|
{
|
|
4457
4458
|
c: "gray.6",
|
|
4458
4459
|
size: "sm",
|
|
4459
|
-
...
|
|
4460
|
-
component:
|
|
4460
|
+
...d,
|
|
4461
|
+
component: d.component || (d.href ? "a" : "button"),
|
|
4461
4462
|
fw: 500,
|
|
4462
|
-
children:
|
|
4463
|
+
children: d.label
|
|
4463
4464
|
},
|
|
4464
4465
|
b
|
|
4465
4466
|
)) })
|
|
@@ -4480,7 +4481,7 @@ function ha({ logo: a, description: s, sections: o = [], socialLinks: i = [], co
|
|
|
4480
4481
|
}
|
|
4481
4482
|
),
|
|
4482
4483
|
/* @__PURE__ */ e(f, { gap: "xs", children: i.map((c, m) => /* @__PURE__ */ e(
|
|
4483
|
-
|
|
4484
|
+
Z,
|
|
4484
4485
|
{
|
|
4485
4486
|
size: "md",
|
|
4486
4487
|
variant: "subtle",
|
|
@@ -4502,7 +4503,7 @@ function ha({ logo: a, description: s, sections: o = [], socialLinks: i = [], co
|
|
|
4502
4503
|
}
|
|
4503
4504
|
),
|
|
4504
4505
|
/* @__PURE__ */ e(
|
|
4505
|
-
|
|
4506
|
+
j,
|
|
4506
4507
|
{
|
|
4507
4508
|
my: "xl",
|
|
4508
4509
|
color: "gray.2"
|
|
@@ -4553,11 +4554,11 @@ function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4553
4554
|
x,
|
|
4554
4555
|
{
|
|
4555
4556
|
py: 100,
|
|
4556
|
-
bg:
|
|
4557
|
-
children: /* @__PURE__ */ e(
|
|
4557
|
+
bg: P.white,
|
|
4558
|
+
children: /* @__PURE__ */ e(L, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
4558
4559
|
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
4559
4560
|
/* @__PURE__ */ e(
|
|
4560
|
-
|
|
4561
|
+
B,
|
|
4561
4562
|
{
|
|
4562
4563
|
order: 2,
|
|
4563
4564
|
ta: "center",
|
|
@@ -4586,7 +4587,7 @@ function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4586
4587
|
}
|
|
4587
4588
|
)
|
|
4588
4589
|
] }),
|
|
4589
|
-
/* @__PURE__ */ e(
|
|
4590
|
+
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
4590
4591
|
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
4591
4592
|
/* @__PURE__ */ r(
|
|
4592
4593
|
t,
|
|
@@ -4629,7 +4630,7 @@ function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4629
4630
|
radius: "0",
|
|
4630
4631
|
color: "gray",
|
|
4631
4632
|
children: /* @__PURE__ */ e(
|
|
4632
|
-
|
|
4633
|
+
xe,
|
|
4633
4634
|
{
|
|
4634
4635
|
size: 32,
|
|
4635
4636
|
stroke: 1.2
|
|
@@ -4681,7 +4682,7 @@ function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4681
4682
|
radius: "0",
|
|
4682
4683
|
color: "gray",
|
|
4683
4684
|
children: /* @__PURE__ */ e(
|
|
4684
|
-
|
|
4685
|
+
be,
|
|
4685
4686
|
{
|
|
4686
4687
|
size: 32,
|
|
4687
4688
|
stroke: 1.2
|
|
@@ -4729,7 +4730,7 @@ function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4729
4730
|
radius: "0",
|
|
4730
4731
|
color: "gray",
|
|
4731
4732
|
children: /* @__PURE__ */ e(
|
|
4732
|
-
|
|
4733
|
+
Ye,
|
|
4733
4734
|
{
|
|
4734
4735
|
size: 32,
|
|
4735
4736
|
stroke: 1.2
|
|
@@ -4780,7 +4781,7 @@ function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4780
4781
|
radius: "0",
|
|
4781
4782
|
color: "gray",
|
|
4782
4783
|
children: /* @__PURE__ */ e(
|
|
4783
|
-
|
|
4784
|
+
Xe,
|
|
4784
4785
|
{
|
|
4785
4786
|
size: 32,
|
|
4786
4787
|
stroke: 1.2
|
|
@@ -4818,7 +4819,7 @@ function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4818
4819
|
}
|
|
4819
4820
|
)
|
|
4820
4821
|
] }),
|
|
4821
|
-
/* @__PURE__ */ e(
|
|
4822
|
+
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
4822
4823
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
4823
4824
|
/* @__PURE__ */ e(
|
|
4824
4825
|
t,
|
|
@@ -4858,11 +4859,11 @@ function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4858
4859
|
x,
|
|
4859
4860
|
{
|
|
4860
4861
|
py: 100,
|
|
4861
|
-
bg:
|
|
4862
|
-
children: /* @__PURE__ */ e(
|
|
4862
|
+
bg: P.white,
|
|
4863
|
+
children: /* @__PURE__ */ e(L, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
4863
4864
|
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
4864
4865
|
/* @__PURE__ */ e(
|
|
4865
|
-
|
|
4866
|
+
B,
|
|
4866
4867
|
{
|
|
4867
4868
|
order: 2,
|
|
4868
4869
|
ta: "center",
|
|
@@ -4889,7 +4890,7 @@ function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4889
4890
|
}
|
|
4890
4891
|
)
|
|
4891
4892
|
] }),
|
|
4892
|
-
/* @__PURE__ */ e(
|
|
4893
|
+
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
4893
4894
|
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
4894
4895
|
/* @__PURE__ */ r(
|
|
4895
4896
|
t,
|
|
@@ -4932,7 +4933,7 @@ function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4932
4933
|
radius: "0",
|
|
4933
4934
|
color: "gray",
|
|
4934
4935
|
children: /* @__PURE__ */ e(
|
|
4935
|
-
|
|
4936
|
+
Je,
|
|
4936
4937
|
{
|
|
4937
4938
|
size: 32,
|
|
4938
4939
|
stroke: 1.2
|
|
@@ -4985,7 +4986,7 @@ function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4985
4986
|
radius: "0",
|
|
4986
4987
|
color: "gray",
|
|
4987
4988
|
children: /* @__PURE__ */ e(
|
|
4988
|
-
|
|
4989
|
+
Ze,
|
|
4989
4990
|
{
|
|
4990
4991
|
size: 32,
|
|
4991
4992
|
stroke: 1.2
|
|
@@ -5037,7 +5038,7 @@ function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5037
5038
|
radius: "0",
|
|
5038
5039
|
color: "gray",
|
|
5039
5040
|
children: /* @__PURE__ */ e(
|
|
5040
|
-
|
|
5041
|
+
er,
|
|
5041
5042
|
{
|
|
5042
5043
|
size: 32,
|
|
5043
5044
|
stroke: 1.2
|
|
@@ -5091,7 +5092,7 @@ function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5091
5092
|
radius: "0",
|
|
5092
5093
|
color: "gray",
|
|
5093
5094
|
children: /* @__PURE__ */ e(
|
|
5094
|
-
|
|
5095
|
+
rr,
|
|
5095
5096
|
{
|
|
5096
5097
|
size: 32,
|
|
5097
5098
|
stroke: 1.2
|
|
@@ -5143,7 +5144,7 @@ function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5143
5144
|
radius: "0",
|
|
5144
5145
|
color: "gray",
|
|
5145
5146
|
children: /* @__PURE__ */ e(
|
|
5146
|
-
|
|
5147
|
+
ar,
|
|
5147
5148
|
{
|
|
5148
5149
|
size: 32,
|
|
5149
5150
|
stroke: 1.2
|
|
@@ -5185,7 +5186,7 @@ function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5185
5186
|
}
|
|
5186
5187
|
)
|
|
5187
5188
|
] }),
|
|
5188
|
-
/* @__PURE__ */ e(
|
|
5189
|
+
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
5189
5190
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
5190
5191
|
/* @__PURE__ */ e(
|
|
5191
5192
|
t,
|
|
@@ -5225,11 +5226,11 @@ function ma({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5225
5226
|
x,
|
|
5226
5227
|
{
|
|
5227
5228
|
py: 100,
|
|
5228
|
-
bg:
|
|
5229
|
-
children: /* @__PURE__ */ e(
|
|
5229
|
+
bg: P.white,
|
|
5230
|
+
children: /* @__PURE__ */ e(L, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
5230
5231
|
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
5231
5232
|
/* @__PURE__ */ e(
|
|
5232
|
-
|
|
5233
|
+
B,
|
|
5233
5234
|
{
|
|
5234
5235
|
order: 2,
|
|
5235
5236
|
ta: "center",
|
|
@@ -5256,7 +5257,7 @@ function ma({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5256
5257
|
}
|
|
5257
5258
|
)
|
|
5258
5259
|
] }),
|
|
5259
|
-
/* @__PURE__ */ e(
|
|
5260
|
+
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
5260
5261
|
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
5261
5262
|
/* @__PURE__ */ r(
|
|
5262
5263
|
t,
|
|
@@ -5299,7 +5300,7 @@ function ma({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5299
5300
|
radius: "0",
|
|
5300
5301
|
color: "gray",
|
|
5301
5302
|
children: /* @__PURE__ */ e(
|
|
5302
|
-
|
|
5303
|
+
tr,
|
|
5303
5304
|
{
|
|
5304
5305
|
size: 32,
|
|
5305
5306
|
stroke: 1.2
|
|
@@ -5351,7 +5352,7 @@ function ma({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5351
5352
|
radius: "0",
|
|
5352
5353
|
color: "gray",
|
|
5353
5354
|
children: /* @__PURE__ */ e(
|
|
5354
|
-
|
|
5355
|
+
be,
|
|
5355
5356
|
{
|
|
5356
5357
|
size: 32,
|
|
5357
5358
|
stroke: 1.2
|
|
@@ -5403,7 +5404,7 @@ function ma({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5403
5404
|
radius: "0",
|
|
5404
5405
|
color: "gray",
|
|
5405
5406
|
children: /* @__PURE__ */ e(
|
|
5406
|
-
|
|
5407
|
+
nr,
|
|
5407
5408
|
{
|
|
5408
5409
|
size: 32,
|
|
5409
5410
|
stroke: 1.2
|
|
@@ -5451,7 +5452,7 @@ function ma({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5451
5452
|
radius: "0",
|
|
5452
5453
|
color: "gray",
|
|
5453
5454
|
children: /* @__PURE__ */ e(
|
|
5454
|
-
|
|
5455
|
+
ir,
|
|
5455
5456
|
{
|
|
5456
5457
|
size: 32,
|
|
5457
5458
|
stroke: 1.2
|
|
@@ -5485,10 +5486,10 @@ function ma({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5485
5486
|
}
|
|
5486
5487
|
)
|
|
5487
5488
|
] }),
|
|
5488
|
-
/* @__PURE__ */ e(
|
|
5489
|
+
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
5489
5490
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
5490
5491
|
/* @__PURE__ */ r(f, { gap: "sm", children: [
|
|
5491
|
-
/* @__PURE__ */ e(S, { variant: "transparent", color: "gray.9", children: /* @__PURE__ */ e(
|
|
5492
|
+
/* @__PURE__ */ e(S, { variant: "transparent", color: "gray.9", children: /* @__PURE__ */ e(or, { size: 18 }) }),
|
|
5492
5493
|
/* @__PURE__ */ e(
|
|
5493
5494
|
t,
|
|
5494
5495
|
{
|
|
@@ -5520,70 +5521,70 @@ function ma({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5520
5521
|
}
|
|
5521
5522
|
);
|
|
5522
5523
|
}
|
|
5523
|
-
const
|
|
5524
|
+
const Ir = 6, Tr = 2e3;
|
|
5524
5525
|
function ua(a, { intervalMs: s = 3e4, maxSamples: o = 40 } = {}) {
|
|
5525
|
-
const [i, n] =
|
|
5526
|
-
return
|
|
5526
|
+
const [i, n] = K({ status: "loading", checks: [], checkedAt: null, error: null, loading: !0 }), [l, g] = K([]), h = $e([]);
|
|
5527
|
+
return ye(() => {
|
|
5527
5528
|
if (!a) return;
|
|
5528
|
-
|
|
5529
|
-
let
|
|
5529
|
+
h.current = [], g([]);
|
|
5530
|
+
let p = !1;
|
|
5530
5531
|
const c = (I) => {
|
|
5531
|
-
|
|
5532
|
-
}, m = () => (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit", second: "2-digit" }),
|
|
5532
|
+
h.current = [...h.current, I].slice(-o), g(h.current);
|
|
5533
|
+
}, m = () => (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit", second: "2-digit" }), d = async () => {
|
|
5533
5534
|
const I = Date.now();
|
|
5534
5535
|
try {
|
|
5535
|
-
const
|
|
5536
|
-
if (!
|
|
5537
|
-
const
|
|
5538
|
-
if (
|
|
5539
|
-
b ? b = !1 : c({ time: m(), ms: Date.now() - I, up:
|
|
5540
|
-
status:
|
|
5541
|
-
checks:
|
|
5542
|
-
checkedAt:
|
|
5543
|
-
service:
|
|
5536
|
+
const D = await fetch(a, { headers: { accept: "application/json" } });
|
|
5537
|
+
if (!D.ok) throw new Error(`HTTP ${D.status}`);
|
|
5538
|
+
const q = await D.json();
|
|
5539
|
+
if (p) return;
|
|
5540
|
+
b ? b = !1 : c({ time: m(), ms: Date.now() - I, up: q.status !== "down" }), n({
|
|
5541
|
+
status: q.status || "operational",
|
|
5542
|
+
checks: q.checks || [],
|
|
5543
|
+
checkedAt: q.checkedAt || null,
|
|
5544
|
+
service: q.service,
|
|
5544
5545
|
error: null,
|
|
5545
5546
|
loading: !1
|
|
5546
5547
|
});
|
|
5547
5548
|
} catch {
|
|
5548
|
-
if (
|
|
5549
|
-
b = !1, c({ time: m(), ms: Date.now() - I, up: !1 }), n((
|
|
5549
|
+
if (p) return;
|
|
5550
|
+
b = !1, c({ time: m(), ms: Date.now() - I, up: !1 }), n((q) => ({ ...q, error: "unreachable", loading: !1 }));
|
|
5550
5551
|
}
|
|
5551
5552
|
};
|
|
5552
5553
|
let b = !0, y = 0, v;
|
|
5553
|
-
const
|
|
5554
|
-
await
|
|
5554
|
+
const A = async () => {
|
|
5555
|
+
await d(), !p && (y += 1, v = setTimeout(A, y < Ir ? Tr : s));
|
|
5555
5556
|
};
|
|
5556
|
-
return
|
|
5557
|
-
|
|
5557
|
+
return A(), () => {
|
|
5558
|
+
p = !0, clearTimeout(v);
|
|
5558
5559
|
};
|
|
5559
5560
|
}, [a, s, o]), {
|
|
5560
5561
|
...i,
|
|
5561
|
-
latency: l.map((
|
|
5562
|
+
latency: l.map((p) => ({ time: p.time, ms: p.ms })),
|
|
5562
5563
|
// A "disponibilidade" aqui é a das amostras desta sessão, agrupadas em
|
|
5563
5564
|
// blocos — não um SLA de 90 dias. O rótulo na página diz isso.
|
|
5564
|
-
uptime:
|
|
5565
|
+
uptime: Ar(l),
|
|
5565
5566
|
// 1 = respondeu, 0.25 = falhou. Zero puro sumiria da barra e a falha
|
|
5566
5567
|
// ficaria invisível justamente quando importa.
|
|
5567
|
-
history: l.map((
|
|
5568
|
+
history: l.map((p) => p.up ? 1 : 0.25)
|
|
5568
5569
|
};
|
|
5569
5570
|
}
|
|
5570
|
-
function
|
|
5571
|
+
function Ar(a, s = 12) {
|
|
5571
5572
|
if (a.length === 0) return [];
|
|
5572
5573
|
const o = Math.max(1, Math.ceil(a.length / s)), i = [];
|
|
5573
5574
|
for (let n = 0; n < a.length; n += o) {
|
|
5574
|
-
const l = a.slice(n, n + o),
|
|
5575
|
-
i.push({ day: l[l.length - 1].time, pct:
|
|
5575
|
+
const l = a.slice(n, n + o), g = l.filter((h) => h.up).length;
|
|
5576
|
+
i.push({ day: l[l.length - 1].time, pct: g / l.length * 100 });
|
|
5576
5577
|
}
|
|
5577
5578
|
return i;
|
|
5578
5579
|
}
|
|
5579
5580
|
export {
|
|
5580
5581
|
$r as AuthLoader,
|
|
5581
5582
|
ae as BrandLogo,
|
|
5582
|
-
|
|
5583
|
-
|
|
5583
|
+
Se as CTABanner,
|
|
5584
|
+
N as CTAButton,
|
|
5584
5585
|
ea as Callout,
|
|
5585
|
-
|
|
5586
|
-
|
|
5586
|
+
pr as CodeBlock,
|
|
5587
|
+
mr as ColorSchemeToggle,
|
|
5587
5588
|
na as Comparison,
|
|
5588
5589
|
Zr as CriteriaList,
|
|
5589
5590
|
oa as FAQ,
|
|
@@ -5591,26 +5592,26 @@ export {
|
|
|
5591
5592
|
Hr as FeaturesGrid,
|
|
5592
5593
|
ha as Footer,
|
|
5593
5594
|
ra as FounderCard,
|
|
5594
|
-
|
|
5595
|
+
ur as Header,
|
|
5595
5596
|
Ur as Hero,
|
|
5596
|
-
|
|
5597
|
+
cr as LOGOTYPE_SIGNATURE,
|
|
5597
5598
|
Vr as Layout,
|
|
5598
5599
|
ta as LeadForm,
|
|
5599
5600
|
pa as LegalPrivacy,
|
|
5600
5601
|
ma as LegalSecurity,
|
|
5601
5602
|
ga as LegalTerms,
|
|
5602
5603
|
Rr as Logotype,
|
|
5603
|
-
|
|
5604
|
-
|
|
5604
|
+
dr as LogotypeBolt,
|
|
5605
|
+
ve as MediaBlock,
|
|
5605
5606
|
Wr as Navbar,
|
|
5606
5607
|
ca as NotFound,
|
|
5607
5608
|
Jr as PlatformShelf,
|
|
5608
5609
|
ia as Pricing,
|
|
5609
5610
|
Xr as ProductGrid,
|
|
5610
|
-
|
|
5611
|
+
P as SECTION_BACKGROUNDS,
|
|
5611
5612
|
sa as SecondaryCTA,
|
|
5612
|
-
|
|
5613
|
-
|
|
5613
|
+
F as Section,
|
|
5614
|
+
we as SectionHeader,
|
|
5614
5615
|
da as SeloExclusivo,
|
|
5615
5616
|
_r as SocialProof,
|
|
5616
5617
|
Kr as StatsGrid,
|
|
@@ -5618,11 +5619,11 @@ export {
|
|
|
5618
5619
|
Yr as StatusIndicator,
|
|
5619
5620
|
aa as Steps,
|
|
5620
5621
|
la as Testimonials,
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5622
|
+
Sr as TrustBadge,
|
|
5623
|
+
sr as Wordmark,
|
|
5624
|
+
hr as logotypeSignaturePx,
|
|
5625
|
+
$ as resolveBackground,
|
|
5626
|
+
_ as resolveCardBackground,
|
|
5626
5627
|
re as scrollBehavior,
|
|
5627
5628
|
Or as theme,
|
|
5628
5629
|
ua as useServiceStatus
|