@ciromaciel/components-kit 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +447 -370
- package/dist/index.js +3 -3
- package/package.json +5 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { createTheme as ze, Stack as u, Group as f, Badge as P, Text as t, Title as
|
|
1
|
+
import { createTheme as ze, Stack as u, Group as f, Badge as P, Text as t, Title as D, Center as B, Box as x, Button as U, CopyButton as Se, Tooltip as ae, ActionIcon as X, useMantineColorScheme as Ie, Container as E, Flex as Te, Loader as Ae, Paper as T, SimpleGrid as A, Image as _, List as $, ThemeIcon as S, Grid as z, RingProgress as ke, Anchor as me, UnstyledButton as Fe, TextInput as ne, Divider as L, SegmentedControl as Ce, Accordion as j, Avatar as De } from "@mantine/core";
|
|
2
2
|
import { jsxs as r, jsx as e, Fragment as ie } from "react/jsx-runtime";
|
|
3
|
-
import { useReducedMotion as
|
|
4
|
-
import { isValidElement as
|
|
5
|
-
import { IconCheck as
|
|
3
|
+
import { useReducedMotion as qe, useMounted as Be, useColorScheme as Ee, useWindowScroll as Pe, useMediaQuery as Le } from "@mantine/hooks";
|
|
4
|
+
import { isValidElement as Me, useState as G, useMemo as je, Fragment as Ne, useEffect as ue, useRef as Oe } from "react";
|
|
5
|
+
import { IconCheck as H, IconCopy as Re, IconMoon as $e, IconSun as Ve, IconDeviceDesktop as We, IconArrowUpRight as Ue, IconShieldCheck as fe, IconBolt as oe, IconQuote as _e, IconArrowLeft as Ge, IconCircleCheck as He, IconCloudLock as ye, IconEyeOff as Ke, IconUserShield as Qe, IconScale as Ye, IconUserCheck as Xe, IconFileDescription as Je, IconBan as Ze, IconAlertCircle as er, IconShieldLock as rr, IconDatabase as ar, IconUsers as tr, IconActivity as nr } from "@tabler/icons-react";
|
|
6
6
|
import { AreaChart as ir } from "@mantine/charts";
|
|
7
|
-
const
|
|
7
|
+
const Nr = ze({
|
|
8
8
|
// As transições do próprio Mantine (Modal, Menu, Popover) também seguem
|
|
9
9
|
// "Reduzir movimento".
|
|
10
10
|
respectReducedMotion: !0,
|
|
@@ -236,8 +236,8 @@ const Mr = ze({
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
|
-
function xe({ badge: a, subtitle:
|
|
240
|
-
return !o && !
|
|
239
|
+
function xe({ badge: a, subtitle: s, title: o, titleOrder: i = 2, titleFz: n = "var(--fz-section-title)", ta: l = "left", maw: p }) {
|
|
240
|
+
return !o && !s && !a ? null : /* @__PURE__ */ r(
|
|
241
241
|
u,
|
|
242
242
|
{
|
|
243
243
|
gap: "xs",
|
|
@@ -261,7 +261,7 @@ function xe({ badge: a, subtitle: c, title: o, titleOrder: i = 2, titleFz: n = "
|
|
|
261
261
|
)
|
|
262
262
|
}
|
|
263
263
|
),
|
|
264
|
-
|
|
264
|
+
s && /* @__PURE__ */ e(
|
|
265
265
|
t,
|
|
266
266
|
{
|
|
267
267
|
c: "gray.4",
|
|
@@ -269,11 +269,11 @@ function xe({ badge: a, subtitle: c, title: o, titleOrder: i = 2, titleFz: n = "
|
|
|
269
269
|
fw: 800,
|
|
270
270
|
tt: "uppercase",
|
|
271
271
|
lts: "1.5px",
|
|
272
|
-
children:
|
|
272
|
+
children: s
|
|
273
273
|
}
|
|
274
274
|
),
|
|
275
275
|
o && /* @__PURE__ */ e(
|
|
276
|
-
|
|
276
|
+
D,
|
|
277
277
|
{
|
|
278
278
|
order: i,
|
|
279
279
|
fz: n,
|
|
@@ -285,8 +285,8 @@ function xe({ badge: a, subtitle: c, title: o, titleOrder: i = 2, titleFz: n = "
|
|
|
285
285
|
}
|
|
286
286
|
);
|
|
287
287
|
}
|
|
288
|
-
function be({ video: a, image:
|
|
289
|
-
const l =
|
|
288
|
+
function be({ video: a, image: s, width: o = "100%", maw: i, alt: n }) {
|
|
289
|
+
const l = qe();
|
|
290
290
|
return a ? /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
291
291
|
x,
|
|
292
292
|
{
|
|
@@ -302,11 +302,11 @@ function be({ video: a, image: c, width: o = "100%", maw: i, alt: n }) {
|
|
|
302
302
|
h: "auto",
|
|
303
303
|
style: { filter: a.filter || "none" }
|
|
304
304
|
}
|
|
305
|
-
) }) :
|
|
305
|
+
) }) : s ? /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
306
306
|
x,
|
|
307
307
|
{
|
|
308
308
|
component: "img",
|
|
309
|
-
src:
|
|
309
|
+
src: s,
|
|
310
310
|
alt: n || "",
|
|
311
311
|
w: o,
|
|
312
312
|
h: "auto",
|
|
@@ -314,9 +314,9 @@ function be({ video: a, image: c, width: o = "100%", maw: i, alt: n }) {
|
|
|
314
314
|
}
|
|
315
315
|
) }) : null;
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function M({
|
|
318
318
|
label: a,
|
|
319
|
-
href:
|
|
319
|
+
href: s,
|
|
320
320
|
onClick: o,
|
|
321
321
|
icon: i,
|
|
322
322
|
size: n = "lg",
|
|
@@ -324,7 +324,7 @@ function j({
|
|
|
324
324
|
color: p,
|
|
325
325
|
target: d,
|
|
326
326
|
px: h,
|
|
327
|
-
fullWidth:
|
|
327
|
+
fullWidth: c,
|
|
328
328
|
leftSection: m,
|
|
329
329
|
className: g,
|
|
330
330
|
...b
|
|
@@ -333,8 +333,8 @@ function j({
|
|
|
333
333
|
U,
|
|
334
334
|
{
|
|
335
335
|
size: n,
|
|
336
|
-
component:
|
|
337
|
-
href:
|
|
336
|
+
component: s ? "a" : "button",
|
|
337
|
+
href: s,
|
|
338
338
|
onClick: o,
|
|
339
339
|
target: d,
|
|
340
340
|
rightSection: i,
|
|
@@ -342,19 +342,19 @@ function j({
|
|
|
342
342
|
variant: l,
|
|
343
343
|
color: p,
|
|
344
344
|
px: h,
|
|
345
|
-
fullWidth:
|
|
345
|
+
fullWidth: c,
|
|
346
346
|
className: g ? `rlg-cta ${g}` : "rlg-cta",
|
|
347
347
|
...b,
|
|
348
348
|
children: a
|
|
349
349
|
}
|
|
350
350
|
);
|
|
351
351
|
}
|
|
352
|
-
function or({ children: a, fz:
|
|
352
|
+
function or({ children: a, fz: s = 28, c: o = "gray.9", ...i }) {
|
|
353
353
|
return /* @__PURE__ */ e(
|
|
354
354
|
t,
|
|
355
355
|
{
|
|
356
356
|
component: "span",
|
|
357
|
-
fz:
|
|
357
|
+
fz: s,
|
|
358
358
|
fw: 900,
|
|
359
359
|
lh: 1,
|
|
360
360
|
c: o,
|
|
@@ -365,22 +365,95 @@ function or({ children: a, fz: c = 28, c: o = "gray.9", ...i }) {
|
|
|
365
365
|
}
|
|
366
366
|
);
|
|
367
367
|
}
|
|
368
|
-
function re({ logo: a, objectPosition:
|
|
369
|
-
return a ?
|
|
368
|
+
function re({ logo: a, objectPosition: s = "left" }) {
|
|
369
|
+
return a ? Me(a) ? a : typeof a == "object" && a.src ? /* @__PURE__ */ e(
|
|
370
370
|
"img",
|
|
371
371
|
{
|
|
372
372
|
src: a.src,
|
|
373
373
|
alt: a.alt || "",
|
|
374
374
|
height: a.height || 32,
|
|
375
375
|
"data-invert-dark": a.invertDark === !1 ? void 0 : "",
|
|
376
|
-
style: { objectFit: "contain", objectPosition:
|
|
376
|
+
style: { objectFit: "contain", objectPosition: s }
|
|
377
377
|
}
|
|
378
378
|
) : a : null;
|
|
379
379
|
}
|
|
380
|
-
|
|
380
|
+
const lr = "by Ciro Cesar Maciel";
|
|
381
|
+
function sr(a) {
|
|
382
|
+
return /* @__PURE__ */ e(
|
|
383
|
+
"svg",
|
|
384
|
+
{
|
|
385
|
+
viewBox: "80 40 320 420",
|
|
386
|
+
"aria-hidden": "true",
|
|
387
|
+
focusable: "false",
|
|
388
|
+
...a,
|
|
389
|
+
children: /* @__PURE__ */ e(
|
|
390
|
+
"path",
|
|
391
|
+
{
|
|
392
|
+
d: "M144 50L298 50L307 58L308 68L265 160L380 164L388 169L390 185L224 447L212 449L204 444L213 294L100 290L91 284L134 58Z",
|
|
393
|
+
fill: "currentColor",
|
|
394
|
+
stroke: "currentColor",
|
|
395
|
+
strokeWidth: "16",
|
|
396
|
+
strokeLinejoin: "round",
|
|
397
|
+
strokeLinecap: "round"
|
|
398
|
+
}
|
|
399
|
+
)
|
|
400
|
+
}
|
|
401
|
+
);
|
|
402
|
+
}
|
|
403
|
+
const cr = (a) => Math.max(11, Math.round(0.21 * a * 10) / 10);
|
|
404
|
+
function Or({ word: a, height: s = 40, signature: o = lr, style: i, ...n }) {
|
|
405
|
+
return /* @__PURE__ */ r(
|
|
406
|
+
"span",
|
|
407
|
+
{
|
|
408
|
+
role: "img",
|
|
409
|
+
"aria-label": `${a} ${o}`,
|
|
410
|
+
"data-logotype": "",
|
|
411
|
+
...n,
|
|
412
|
+
style: {
|
|
413
|
+
display: "inline-flex",
|
|
414
|
+
alignItems: "center",
|
|
415
|
+
gap: "0.35em",
|
|
416
|
+
// The word is half the box: every other measure hangs from it.
|
|
417
|
+
fontSize: s / 2,
|
|
418
|
+
lineHeight: 1,
|
|
419
|
+
color: "var(--mantine-color-gray-9)",
|
|
420
|
+
whiteSpace: "nowrap",
|
|
421
|
+
...i
|
|
422
|
+
},
|
|
423
|
+
children: [
|
|
424
|
+
/* @__PURE__ */ e(sr, { style: { height: "1.6em", width: "auto", flex: "none" } }),
|
|
425
|
+
/* @__PURE__ */ r("span", { style: { display: "grid", justifyItems: "start" }, children: [
|
|
426
|
+
/* @__PURE__ */ e(
|
|
427
|
+
"span",
|
|
428
|
+
{
|
|
429
|
+
"data-logotype-word": "",
|
|
430
|
+
style: { fontWeight: 800, letterSpacing: "-0.02em" },
|
|
431
|
+
children: a
|
|
432
|
+
}
|
|
433
|
+
),
|
|
434
|
+
/* @__PURE__ */ e(
|
|
435
|
+
"span",
|
|
436
|
+
{
|
|
437
|
+
"data-logotype-signature": "",
|
|
438
|
+
style: {
|
|
439
|
+
fontWeight: 700,
|
|
440
|
+
fontSize: cr(s),
|
|
441
|
+
letterSpacing: "0.01em",
|
|
442
|
+
marginTop: "0.35em",
|
|
443
|
+
color: "var(--mantine-color-gray-6)"
|
|
444
|
+
},
|
|
445
|
+
children: o
|
|
446
|
+
}
|
|
447
|
+
)
|
|
448
|
+
] })
|
|
449
|
+
]
|
|
450
|
+
}
|
|
451
|
+
);
|
|
452
|
+
}
|
|
453
|
+
function dr({ children: a, label: s, chrome: o = !0, copy: i = !0, variant: n = "dark", style: l }) {
|
|
381
454
|
const p = typeof a == "string" ? a : String(a ?? ""), d = p.split(`
|
|
382
455
|
`).filter((g) => g.trimStart().startsWith("$ ")), h = d.length ? d.map((g) => g.trimStart().slice(2)).join(`
|
|
383
|
-
`) : p,
|
|
456
|
+
`) : p, c = n === "dark", m = c ? {
|
|
384
457
|
shell: "#11181C",
|
|
385
458
|
bar: "rgba(255, 255, 255, 0.06)",
|
|
386
459
|
line: "rgba(255, 255, 255, 0.10)",
|
|
@@ -399,7 +472,7 @@ function lr({ children: a, label: c, chrome: o = !0, copy: i = !0, variant: n =
|
|
|
399
472
|
x,
|
|
400
473
|
{
|
|
401
474
|
style: {
|
|
402
|
-
border: `1px solid ${
|
|
475
|
+
border: `1px solid ${c ? "var(--rlg-shell-edge, #11181C)" : "var(--mantine-color-gray-3)"}`,
|
|
403
476
|
background: m.shell,
|
|
404
477
|
// `overflow: hidden` aqui cortava o código em vez de deixar o
|
|
405
478
|
// <pre> rolar: a linha longa ficava inacessível, sem barra e
|
|
@@ -436,7 +509,7 @@ function lr({ children: a, label: c, chrome: o = !0, copy: i = !0, variant: n =
|
|
|
436
509
|
},
|
|
437
510
|
g
|
|
438
511
|
)),
|
|
439
|
-
|
|
512
|
+
s && /* @__PURE__ */ e(
|
|
440
513
|
x,
|
|
441
514
|
{
|
|
442
515
|
component: "span",
|
|
@@ -447,7 +520,7 @@ function lr({ children: a, label: c, chrome: o = !0, copy: i = !0, variant: n =
|
|
|
447
520
|
letterSpacing: "0.5px",
|
|
448
521
|
color: m.label
|
|
449
522
|
},
|
|
450
|
-
children:
|
|
523
|
+
children: s
|
|
451
524
|
}
|
|
452
525
|
)
|
|
453
526
|
]
|
|
@@ -475,7 +548,7 @@ function lr({ children: a, label: c, chrome: o = !0, copy: i = !0, variant: n =
|
|
|
475
548
|
style: {
|
|
476
549
|
color: g ? "var(--mantine-color-green-4)" : m.label
|
|
477
550
|
},
|
|
478
|
-
children: g ? /* @__PURE__ */ e(
|
|
551
|
+
children: g ? /* @__PURE__ */ e(H, { size: 14 }) : /* @__PURE__ */ e(Re, { size: 14 })
|
|
479
552
|
}
|
|
480
553
|
)
|
|
481
554
|
}
|
|
@@ -508,9 +581,9 @@ function lr({ children: a, label: c, chrome: o = !0, copy: i = !0, variant: n =
|
|
|
508
581
|
}
|
|
509
582
|
);
|
|
510
583
|
}
|
|
511
|
-
const le = { auto: "Automático", light: "Claro", dark: "Escuro" },
|
|
512
|
-
function
|
|
513
|
-
const { colorScheme: o, setColorScheme: i } = Ie(), n = Be(), l = Ee("light"), p = n ? o : "auto", d = l === "dark" ? "light" : "dark", h = { auto: d, [d]: l, [l]: "auto" }[p] ?? "auto",
|
|
584
|
+
const le = { auto: "Automático", light: "Claro", dark: "Escuro" }, hr = { auto: We, light: Ve, dark: $e };
|
|
585
|
+
function pr({ size: a = 36, ...s }) {
|
|
586
|
+
const { colorScheme: o, setColorScheme: i } = Ie(), n = Be(), l = Ee("light"), p = n ? o : "auto", d = l === "dark" ? "light" : "dark", h = { auto: d, [d]: l, [l]: "auto" }[p] ?? "auto", c = hr[p], m = `Tema: ${le[p]}. Mudar para ${le[h]}.`;
|
|
514
587
|
return /* @__PURE__ */ e(
|
|
515
588
|
ae,
|
|
516
589
|
{
|
|
@@ -528,9 +601,9 @@ function cr({ size: a = 36, ...c }) {
|
|
|
528
601
|
radius: 0,
|
|
529
602
|
"aria-label": m,
|
|
530
603
|
onClick: () => i(h),
|
|
531
|
-
...
|
|
604
|
+
...s,
|
|
532
605
|
children: /* @__PURE__ */ e(
|
|
533
|
-
|
|
606
|
+
c,
|
|
534
607
|
{
|
|
535
608
|
size: 18,
|
|
536
609
|
stroke: 1.5,
|
|
@@ -547,9 +620,9 @@ const Z = {
|
|
|
547
620
|
// 'white' e a superficie ELEVADA (cartao, modal), e o palco e a base.
|
|
548
621
|
white: "gray.0",
|
|
549
622
|
gray: "gray.1"
|
|
550
|
-
},
|
|
551
|
-
function
|
|
552
|
-
const m =
|
|
623
|
+
}, N = (a) => a === "gray.9" || a === "dark" ? Z.gray : a === "white" ? Z.white : Z.gray;
|
|
624
|
+
function k({ children: a, badge: s, title: o, subtitle: i, id: n, background: l = "white", py: p = { base: 80, md: 120 }, maw: d = 800, ta: h = "left", stackGap: c = "xl" }) {
|
|
625
|
+
const m = N(l);
|
|
553
626
|
return /* @__PURE__ */ e(
|
|
554
627
|
x,
|
|
555
628
|
{
|
|
@@ -558,11 +631,11 @@ function F({ children: a, badge: c, title: o, subtitle: i, id: n, background: l
|
|
|
558
631
|
bg: m,
|
|
559
632
|
py: p,
|
|
560
633
|
style: { overflow: "hidden" },
|
|
561
|
-
children: /* @__PURE__ */ e(E, { size: "lg", children: /* @__PURE__ */ r(u, { gap:
|
|
634
|
+
children: /* @__PURE__ */ e(E, { size: "lg", children: /* @__PURE__ */ r(u, { gap: c, children: [
|
|
562
635
|
/* @__PURE__ */ e(
|
|
563
636
|
xe,
|
|
564
637
|
{
|
|
565
|
-
badge:
|
|
638
|
+
badge: s,
|
|
566
639
|
subtitle: i,
|
|
567
640
|
title: o,
|
|
568
641
|
ta: h,
|
|
@@ -574,7 +647,7 @@ function F({ children: a, badge: c, title: o, subtitle: i, id: n, background: l
|
|
|
574
647
|
}
|
|
575
648
|
);
|
|
576
649
|
}
|
|
577
|
-
function
|
|
650
|
+
function Rr({ brand: a, label: s = "Verificando sua sessão...", ...o }) {
|
|
578
651
|
return /* @__PURE__ */ e(
|
|
579
652
|
Te,
|
|
580
653
|
{
|
|
@@ -609,7 +682,7 @@ function jr({ brand: a, label: c = "Verificando sua sessão...", ...o }) {
|
|
|
609
682
|
fw: 500,
|
|
610
683
|
fz: "sm",
|
|
611
684
|
c: "gray.6",
|
|
612
|
-
children:
|
|
685
|
+
children: s
|
|
613
686
|
}
|
|
614
687
|
)
|
|
615
688
|
]
|
|
@@ -618,7 +691,7 @@ function jr({ brand: a, label: c = "Verificando sua sessão...", ...o }) {
|
|
|
618
691
|
}
|
|
619
692
|
);
|
|
620
693
|
}
|
|
621
|
-
function
|
|
694
|
+
function $r({ children: a, style: s, ...o }) {
|
|
622
695
|
return /* @__PURE__ */ e(
|
|
623
696
|
x,
|
|
624
697
|
{
|
|
@@ -627,7 +700,7 @@ function Nr({ children: a, style: c, ...o }) {
|
|
|
627
700
|
style: {
|
|
628
701
|
flexDirection: "column",
|
|
629
702
|
minHeight: "100vh",
|
|
630
|
-
...
|
|
703
|
+
...s
|
|
631
704
|
},
|
|
632
705
|
children: a
|
|
633
706
|
}
|
|
@@ -636,7 +709,7 @@ function Nr({ children: a, style: c, ...o }) {
|
|
|
636
709
|
function ee() {
|
|
637
710
|
return typeof window > "u" || !window.matchMedia || window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth";
|
|
638
711
|
}
|
|
639
|
-
function se({ cta: a, filled:
|
|
712
|
+
function se({ cta: a, filled: s }) {
|
|
640
713
|
const { icon: o, label: i, labelMobile: n, component: l, ...p } = a;
|
|
641
714
|
return /* @__PURE__ */ e(
|
|
642
715
|
X,
|
|
@@ -649,7 +722,7 @@ function se({ cta: a, filled: c }) {
|
|
|
649
722
|
size: 36,
|
|
650
723
|
radius: 0,
|
|
651
724
|
color: "gray.9",
|
|
652
|
-
variant:
|
|
725
|
+
variant: s ? "filled" : "subtle",
|
|
653
726
|
children: /* @__PURE__ */ e(
|
|
654
727
|
o,
|
|
655
728
|
{
|
|
@@ -660,8 +733,8 @@ function se({ cta: a, filled: c }) {
|
|
|
660
733
|
}
|
|
661
734
|
);
|
|
662
735
|
}
|
|
663
|
-
function
|
|
664
|
-
const h =
|
|
736
|
+
function gr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n, background: l = "white", logoMinWidth: p = 176, withColorScheme: d = !0 }) {
|
|
737
|
+
const h = N(l), [c] = Pe(), m = c.y > 10, g = (y) => {
|
|
665
738
|
y === "top" ? window.scrollTo({ top: 0, behavior: ee() }) : document.getElementById(y)?.scrollIntoView({ behavior: ee() });
|
|
666
739
|
}, b = (y, v) => {
|
|
667
740
|
(y.key === "Enter" || y.key === " ") && (y.preventDefault(), g(v));
|
|
@@ -699,12 +772,12 @@ function dr({ logo: a, logoLink: c, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
699
772
|
children: [
|
|
700
773
|
a && (() => {
|
|
701
774
|
const y = { display: "inline-flex", textDecoration: "none", minWidth: p, flex: "0 1 auto" };
|
|
702
|
-
if (
|
|
703
|
-
const { component: v = "a", ...
|
|
775
|
+
if (s) {
|
|
776
|
+
const { component: v = "a", ...F } = s;
|
|
704
777
|
return /* @__PURE__ */ e(
|
|
705
778
|
v,
|
|
706
779
|
{
|
|
707
|
-
...
|
|
780
|
+
...F,
|
|
708
781
|
"aria-label": "Ir para a página inicial",
|
|
709
782
|
style: y,
|
|
710
783
|
children: /* @__PURE__ */ e(re, { logo: a })
|
|
@@ -767,7 +840,7 @@ function dr({ logo: a, logoLink: c, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
767
840
|
wrap: "nowrap",
|
|
768
841
|
style: { flexShrink: 0 },
|
|
769
842
|
children: [
|
|
770
|
-
d && /* @__PURE__ */ e(
|
|
843
|
+
d && /* @__PURE__ */ e(pr, {}),
|
|
771
844
|
i && /* @__PURE__ */ r(
|
|
772
845
|
x,
|
|
773
846
|
{
|
|
@@ -858,12 +931,12 @@ function dr({ logo: a, logoLink: c, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
858
931
|
}
|
|
859
932
|
);
|
|
860
933
|
}
|
|
861
|
-
const
|
|
934
|
+
const Vr = gr, ce = {
|
|
862
935
|
root: { height: "auto", maxWidth: "100%" },
|
|
863
936
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
864
937
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
865
938
|
};
|
|
866
|
-
function
|
|
939
|
+
function Wr({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, note: l, video: p, image: d, background: h = "white", mediaMaw: c, titleFz: m = "var(--fz-hero)", descriptionFz: g = "xl" }) {
|
|
867
940
|
const b = !!(p || d);
|
|
868
941
|
return /* @__PURE__ */ e(
|
|
869
942
|
x,
|
|
@@ -890,7 +963,7 @@ function Rr({ subtitle: a, title: c, description: o, cta: i, secondaryCta: n, no
|
|
|
890
963
|
xe,
|
|
891
964
|
{
|
|
892
965
|
subtitle: a,
|
|
893
|
-
title:
|
|
966
|
+
title: s,
|
|
894
967
|
titleOrder: 1,
|
|
895
968
|
titleFz: m,
|
|
896
969
|
ta: b ? "inherit" : "center",
|
|
@@ -917,7 +990,7 @@ function Rr({ subtitle: a, title: c, description: o, cta: i, secondaryCta: n, no
|
|
|
917
990
|
className: "rlg-cta-group",
|
|
918
991
|
children: [
|
|
919
992
|
i && /* @__PURE__ */ e(
|
|
920
|
-
|
|
993
|
+
M,
|
|
921
994
|
{
|
|
922
995
|
label: i.label,
|
|
923
996
|
href: i.href,
|
|
@@ -933,7 +1006,7 @@ function Rr({ subtitle: a, title: c, description: o, cta: i, secondaryCta: n, no
|
|
|
933
1006
|
}
|
|
934
1007
|
),
|
|
935
1008
|
n && /* @__PURE__ */ e(
|
|
936
|
-
|
|
1009
|
+
M,
|
|
937
1010
|
{
|
|
938
1011
|
label: n.label,
|
|
939
1012
|
href: n.href,
|
|
@@ -970,7 +1043,7 @@ function Rr({ subtitle: a, title: c, description: o, cta: i, secondaryCta: n, no
|
|
|
970
1043
|
{
|
|
971
1044
|
video: p,
|
|
972
1045
|
image: d,
|
|
973
|
-
maw:
|
|
1046
|
+
maw: c,
|
|
974
1047
|
alt: "Demonstração do produto"
|
|
975
1048
|
}
|
|
976
1049
|
)
|
|
@@ -980,10 +1053,10 @@ function Rr({ subtitle: a, title: c, description: o, cta: i, secondaryCta: n, no
|
|
|
980
1053
|
}
|
|
981
1054
|
);
|
|
982
1055
|
}
|
|
983
|
-
function
|
|
1056
|
+
function mr({ logo: a, index: s }) {
|
|
984
1057
|
const o = {
|
|
985
1058
|
src: a.src,
|
|
986
|
-
alt: a.alt || `Logo ${
|
|
1059
|
+
alt: a.alt || `Logo ${s}`,
|
|
987
1060
|
h: a.height || 50,
|
|
988
1061
|
w: "auto",
|
|
989
1062
|
style: {
|
|
@@ -1008,7 +1081,7 @@ function hr({ logo: a, index: c }) {
|
|
|
1008
1081
|
}
|
|
1009
1082
|
) }) : /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(_, { ...o }) });
|
|
1010
1083
|
}
|
|
1011
|
-
function
|
|
1084
|
+
function Ur({ id: a, title: s, logos: o, background: i = "gray" }) {
|
|
1012
1085
|
return !o || o.length === 0 ? null : /* @__PURE__ */ e(
|
|
1013
1086
|
x,
|
|
1014
1087
|
{
|
|
@@ -1024,7 +1097,7 @@ function Lr({ id: a, title: c, logos: o, background: i = "gray" }) {
|
|
|
1024
1097
|
ta: "center",
|
|
1025
1098
|
gap: "xl",
|
|
1026
1099
|
children: [
|
|
1027
|
-
|
|
1100
|
+
s && /* @__PURE__ */ e(
|
|
1028
1101
|
t,
|
|
1029
1102
|
{
|
|
1030
1103
|
fw: 500,
|
|
@@ -1032,7 +1105,7 @@ function Lr({ id: a, title: c, logos: o, background: i = "gray" }) {
|
|
|
1032
1105
|
size: "sm",
|
|
1033
1106
|
tt: "uppercase",
|
|
1034
1107
|
lts: "1.5px",
|
|
1035
|
-
children:
|
|
1108
|
+
children: s
|
|
1036
1109
|
}
|
|
1037
1110
|
),
|
|
1038
1111
|
/* @__PURE__ */ e(
|
|
@@ -1043,7 +1116,7 @@ function Lr({ id: a, title: c, logos: o, background: i = "gray" }) {
|
|
|
1043
1116
|
style: { rowGap: 40 },
|
|
1044
1117
|
w: "100%",
|
|
1045
1118
|
children: o.map((n, l) => /* @__PURE__ */ e(
|
|
1046
|
-
|
|
1119
|
+
mr,
|
|
1047
1120
|
{
|
|
1048
1121
|
logo: n,
|
|
1049
1122
|
index: l
|
|
@@ -1058,7 +1131,7 @@ function Lr({ id: a, title: c, logos: o, background: i = "gray" }) {
|
|
|
1058
1131
|
}
|
|
1059
1132
|
);
|
|
1060
1133
|
}
|
|
1061
|
-
function
|
|
1134
|
+
function _r({ id: a, subtitle: s, title: o, description: i, descriptionFz: n, featuresList: l, cta: p, video: d, image: h, reverse: c = !1, background: m = "white", mediaMaw: g }) {
|
|
1062
1135
|
const b = l && l.length > 0 && /* @__PURE__ */ e(
|
|
1063
1136
|
$,
|
|
1064
1137
|
{
|
|
@@ -1072,7 +1145,7 @@ function $r({ id: a, subtitle: c, title: o, description: i, descriptionFz: n, fe
|
|
|
1072
1145
|
size: 24,
|
|
1073
1146
|
radius: "0",
|
|
1074
1147
|
children: /* @__PURE__ */ e(
|
|
1075
|
-
|
|
1148
|
+
H,
|
|
1076
1149
|
{
|
|
1077
1150
|
size: 14,
|
|
1078
1151
|
color: "var(--mantine-color-gray-9)"
|
|
@@ -1080,7 +1153,7 @@ function $r({ id: a, subtitle: c, title: o, description: i, descriptionFz: n, fe
|
|
|
1080
1153
|
)
|
|
1081
1154
|
}
|
|
1082
1155
|
),
|
|
1083
|
-
children: l.map((
|
|
1156
|
+
children: l.map((F, I) => /* @__PURE__ */ e($.Item, { children: F }, I))
|
|
1084
1157
|
}
|
|
1085
1158
|
), y = /* @__PURE__ */ r(
|
|
1086
1159
|
u,
|
|
@@ -1110,7 +1183,7 @@ function $r({ id: a, subtitle: c, title: o, description: i, descriptionFz: n, fe
|
|
|
1110
1183
|
),
|
|
1111
1184
|
b,
|
|
1112
1185
|
p && /* @__PURE__ */ e(f, { mt: "md", children: /* @__PURE__ */ e(
|
|
1113
|
-
|
|
1186
|
+
M,
|
|
1114
1187
|
{
|
|
1115
1188
|
label: p.label,
|
|
1116
1189
|
href: p.href,
|
|
@@ -1145,10 +1218,10 @@ function $r({ id: a, subtitle: c, title: o, description: i, descriptionFz: n, fe
|
|
|
1145
1218
|
}
|
|
1146
1219
|
);
|
|
1147
1220
|
return /* @__PURE__ */ e(
|
|
1148
|
-
|
|
1221
|
+
k,
|
|
1149
1222
|
{
|
|
1150
1223
|
id: a,
|
|
1151
|
-
subtitle:
|
|
1224
|
+
subtitle: s,
|
|
1152
1225
|
title: o,
|
|
1153
1226
|
background: m,
|
|
1154
1227
|
children: /* @__PURE__ */ e(
|
|
@@ -1157,7 +1230,7 @@ function $r({ id: a, subtitle: c, title: o, description: i, descriptionFz: n, fe
|
|
|
1157
1230
|
cols: { base: 1, md: 2 },
|
|
1158
1231
|
spacing: { base: 40, md: 80 },
|
|
1159
1232
|
verticalSpacing: { base: 40, md: 50 },
|
|
1160
|
-
children:
|
|
1233
|
+
children: c ? /* @__PURE__ */ r(ie, { children: [
|
|
1161
1234
|
v,
|
|
1162
1235
|
y
|
|
1163
1236
|
] }) : /* @__PURE__ */ r(ie, { children: [
|
|
@@ -1169,12 +1242,12 @@ function $r({ id: a, subtitle: c, title: o, description: i, descriptionFz: n, fe
|
|
|
1169
1242
|
}
|
|
1170
1243
|
);
|
|
1171
1244
|
}
|
|
1172
|
-
function
|
|
1245
|
+
function Gr({ id: a, badge: s, subtitle: o, title: i, description: n, background: l = "gray", items: p = [], ta: d = "left", note: h }) {
|
|
1173
1246
|
return /* @__PURE__ */ r(
|
|
1174
|
-
|
|
1247
|
+
k,
|
|
1175
1248
|
{
|
|
1176
1249
|
id: a,
|
|
1177
|
-
badge:
|
|
1250
|
+
badge: s,
|
|
1178
1251
|
subtitle: o,
|
|
1179
1252
|
title: i,
|
|
1180
1253
|
background: l,
|
|
@@ -1194,10 +1267,10 @@ function Vr({ id: a, badge: c, subtitle: o, title: i, description: n, background
|
|
|
1194
1267
|
children: n
|
|
1195
1268
|
}
|
|
1196
1269
|
),
|
|
1197
|
-
/* @__PURE__ */ e(z, { gutter: "lg", children: p.map((
|
|
1198
|
-
|
|
1270
|
+
/* @__PURE__ */ e(z, { gutter: "lg", children: p.map((c, m) => /* @__PURE__ */ e(
|
|
1271
|
+
ur,
|
|
1199
1272
|
{
|
|
1200
|
-
...
|
|
1273
|
+
...c
|
|
1201
1274
|
},
|
|
1202
1275
|
m
|
|
1203
1276
|
)) }),
|
|
@@ -1218,9 +1291,9 @@ function Vr({ id: a, badge: c, subtitle: o, title: i, description: n, background
|
|
|
1218
1291
|
}
|
|
1219
1292
|
);
|
|
1220
1293
|
}
|
|
1221
|
-
function
|
|
1294
|
+
function ur({
|
|
1222
1295
|
icon: a,
|
|
1223
|
-
iconVariant:
|
|
1296
|
+
iconVariant: s,
|
|
1224
1297
|
iconColor: o,
|
|
1225
1298
|
label: i,
|
|
1226
1299
|
title: n,
|
|
@@ -1228,7 +1301,7 @@ function pr({
|
|
|
1228
1301
|
description: p,
|
|
1229
1302
|
descriptionSize: d,
|
|
1230
1303
|
descriptionMaw: h,
|
|
1231
|
-
span:
|
|
1304
|
+
span: c = { base: 12, md: 6 },
|
|
1232
1305
|
background: m = "white",
|
|
1233
1306
|
visual: g,
|
|
1234
1307
|
secondaryVisual: b,
|
|
@@ -1236,16 +1309,16 @@ function pr({
|
|
|
1236
1309
|
badges: v,
|
|
1237
1310
|
// Acoes do card, no shape universal de cta: { label, href, icon, variant }.
|
|
1238
1311
|
// Sao dados, nunca JSX — o card monta os botoes, o consumidor so declara.
|
|
1239
|
-
actions:
|
|
1312
|
+
actions: F,
|
|
1240
1313
|
codeBlock: I,
|
|
1241
1314
|
// layout="split": quantas das 12 colunas o codigo ocupa. O padrao 6
|
|
1242
1315
|
// divide o card ao meio; suba para 7 quando as linhas forem longas.
|
|
1243
|
-
codeSpan:
|
|
1316
|
+
codeSpan: q = 6,
|
|
1244
1317
|
// Rotulo da barra do terminal (ex: "bash", "index.js").
|
|
1245
1318
|
codeLabel: w,
|
|
1246
|
-
decorativeContent:
|
|
1247
|
-
style:
|
|
1248
|
-
...
|
|
1319
|
+
decorativeContent: O,
|
|
1320
|
+
style: C,
|
|
1321
|
+
...R
|
|
1249
1322
|
}) {
|
|
1250
1323
|
const K = /* @__PURE__ */ r(x, { children: [
|
|
1251
1324
|
a && /* @__PURE__ */ e(
|
|
@@ -1253,7 +1326,7 @@ function pr({
|
|
|
1253
1326
|
{
|
|
1254
1327
|
size: 48,
|
|
1255
1328
|
radius: "0",
|
|
1256
|
-
variant:
|
|
1329
|
+
variant: s || "light",
|
|
1257
1330
|
color: o || "gray",
|
|
1258
1331
|
mb: "lg",
|
|
1259
1332
|
children: /* @__PURE__ */ e(
|
|
@@ -1308,13 +1381,13 @@ function pr({
|
|
|
1308
1381
|
},
|
|
1309
1382
|
Q
|
|
1310
1383
|
)) }),
|
|
1311
|
-
|
|
1384
|
+
F && F.length > 0 && /* @__PURE__ */ e(
|
|
1312
1385
|
f,
|
|
1313
1386
|
{
|
|
1314
1387
|
gap: "sm",
|
|
1315
1388
|
mt: "xl",
|
|
1316
|
-
children:
|
|
1317
|
-
|
|
1389
|
+
children: F.map((J, Q) => /* @__PURE__ */ e(
|
|
1390
|
+
M,
|
|
1318
1391
|
{
|
|
1319
1392
|
size: "md",
|
|
1320
1393
|
variant: Q === 0 ? "filled" : "default",
|
|
@@ -1325,57 +1398,57 @@ function pr({
|
|
|
1325
1398
|
}
|
|
1326
1399
|
)
|
|
1327
1400
|
] }), V = g ? de(g) : null, te = b ? de(b) : null;
|
|
1328
|
-
return y === "split" ? /* @__PURE__ */ e(z.Col, { span:
|
|
1401
|
+
return y === "split" ? /* @__PURE__ */ e(z.Col, { span: c, children: /* @__PURE__ */ e(
|
|
1329
1402
|
T,
|
|
1330
1403
|
{
|
|
1331
1404
|
h: "100%",
|
|
1332
1405
|
p: { base: "xl", md: 40 },
|
|
1333
1406
|
radius: "0",
|
|
1334
|
-
bg:
|
|
1407
|
+
bg: N(m),
|
|
1335
1408
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1336
|
-
style:
|
|
1337
|
-
...
|
|
1409
|
+
style: C,
|
|
1410
|
+
...R,
|
|
1338
1411
|
children: /* @__PURE__ */ r(
|
|
1339
1412
|
z,
|
|
1340
1413
|
{
|
|
1341
1414
|
align: "center",
|
|
1342
1415
|
gutter: "xl",
|
|
1343
1416
|
children: [
|
|
1344
|
-
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 12 -
|
|
1345
|
-
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm:
|
|
1417
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 12 - q }, children: K }),
|
|
1418
|
+
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm: q }, children: [
|
|
1346
1419
|
V,
|
|
1347
|
-
I && /* @__PURE__ */ e(
|
|
1420
|
+
I && /* @__PURE__ */ e(dr, { label: w, children: I })
|
|
1348
1421
|
] })
|
|
1349
1422
|
]
|
|
1350
1423
|
}
|
|
1351
1424
|
)
|
|
1352
1425
|
}
|
|
1353
|
-
) }) : y === "compact" ? /* @__PURE__ */ e(z.Col, { span:
|
|
1426
|
+
) }) : y === "compact" ? /* @__PURE__ */ e(z.Col, { span: c, children: /* @__PURE__ */ r(
|
|
1354
1427
|
T,
|
|
1355
1428
|
{
|
|
1356
1429
|
h: "100%",
|
|
1357
1430
|
p: { base: "xl", md: 40 },
|
|
1358
1431
|
radius: "0",
|
|
1359
|
-
bg:
|
|
1432
|
+
bg: N(m),
|
|
1360
1433
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1361
|
-
style:
|
|
1362
|
-
...
|
|
1434
|
+
style: C,
|
|
1435
|
+
...R,
|
|
1363
1436
|
children: [
|
|
1364
1437
|
K,
|
|
1365
1438
|
V
|
|
1366
1439
|
]
|
|
1367
1440
|
}
|
|
1368
|
-
) }) :
|
|
1441
|
+
) }) : O ? /* @__PURE__ */ e(z.Col, { span: c, children: /* @__PURE__ */ e(
|
|
1369
1442
|
T,
|
|
1370
1443
|
{
|
|
1371
1444
|
h: "100%",
|
|
1372
1445
|
p: { base: "xl", md: 40 },
|
|
1373
1446
|
radius: "0",
|
|
1374
|
-
bg:
|
|
1447
|
+
bg: N(m),
|
|
1375
1448
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1376
1449
|
pos: "relative",
|
|
1377
|
-
style:
|
|
1378
|
-
...
|
|
1450
|
+
style: C,
|
|
1451
|
+
...R,
|
|
1379
1452
|
children: /* @__PURE__ */ r(
|
|
1380
1453
|
z,
|
|
1381
1454
|
{
|
|
@@ -1395,28 +1468,28 @@ function pr({
|
|
|
1395
1468
|
{
|
|
1396
1469
|
span: 5,
|
|
1397
1470
|
visibleFrom: "sm",
|
|
1398
|
-
children:
|
|
1471
|
+
children: O
|
|
1399
1472
|
}
|
|
1400
1473
|
)
|
|
1401
1474
|
]
|
|
1402
1475
|
}
|
|
1403
1476
|
)
|
|
1404
1477
|
}
|
|
1405
|
-
) }) : /* @__PURE__ */ e(z.Col, { span:
|
|
1478
|
+
) }) : /* @__PURE__ */ e(z.Col, { span: c, children: /* @__PURE__ */ r(
|
|
1406
1479
|
T,
|
|
1407
1480
|
{
|
|
1408
1481
|
h: "100%",
|
|
1409
1482
|
p: { base: "xl", md: 40 },
|
|
1410
1483
|
radius: "0",
|
|
1411
|
-
bg:
|
|
1484
|
+
bg: N(m),
|
|
1412
1485
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1413
1486
|
display: "flex",
|
|
1414
1487
|
style: {
|
|
1415
1488
|
flexDirection: "column",
|
|
1416
1489
|
justifyContent: "space-between",
|
|
1417
|
-
...
|
|
1490
|
+
...C
|
|
1418
1491
|
},
|
|
1419
|
-
...
|
|
1492
|
+
...R,
|
|
1420
1493
|
children: [
|
|
1421
1494
|
K,
|
|
1422
1495
|
V && te ? /* @__PURE__ */ r(
|
|
@@ -1439,7 +1512,7 @@ function de(a) {
|
|
|
1439
1512
|
switch (a.type) {
|
|
1440
1513
|
case "ring":
|
|
1441
1514
|
return /* @__PURE__ */ e(
|
|
1442
|
-
|
|
1515
|
+
ke,
|
|
1443
1516
|
{
|
|
1444
1517
|
size: a.size || 140,
|
|
1445
1518
|
thickness: a.thickness || 12,
|
|
@@ -1514,11 +1587,11 @@ function de(a) {
|
|
|
1514
1587
|
gap: 8,
|
|
1515
1588
|
h: a.height || 100,
|
|
1516
1589
|
preventGrowOverflow: !1,
|
|
1517
|
-
children: (a.data || []).map((
|
|
1590
|
+
children: (a.data || []).map((s, o) => /* @__PURE__ */ e(
|
|
1518
1591
|
x,
|
|
1519
1592
|
{
|
|
1520
1593
|
w: 20,
|
|
1521
|
-
h: `${
|
|
1594
|
+
h: `${s}%`,
|
|
1522
1595
|
bg: o === a.highlight ? "gray.5" : "gray.2",
|
|
1523
1596
|
radius: "0"
|
|
1524
1597
|
},
|
|
@@ -1547,9 +1620,9 @@ function de(a) {
|
|
|
1547
1620
|
}
|
|
1548
1621
|
);
|
|
1549
1622
|
case "icon-large": {
|
|
1550
|
-
const
|
|
1551
|
-
return
|
|
1552
|
-
|
|
1623
|
+
const s = a.icon;
|
|
1624
|
+
return s ? /* @__PURE__ */ e(
|
|
1625
|
+
s,
|
|
1553
1626
|
{
|
|
1554
1627
|
size: a.size || 64,
|
|
1555
1628
|
stroke: a.stroke || 1,
|
|
@@ -1561,13 +1634,13 @@ function de(a) {
|
|
|
1561
1634
|
return null;
|
|
1562
1635
|
}
|
|
1563
1636
|
}
|
|
1564
|
-
function
|
|
1637
|
+
function Hr({ id: a, subtitle: s, title: o, items: i = [], cols: n, background: l = "white", ta: p = "center", note: d }) {
|
|
1565
1638
|
const h = n ?? Math.min(Math.max(i.length, 1), 4);
|
|
1566
1639
|
return /* @__PURE__ */ r(
|
|
1567
|
-
|
|
1640
|
+
k,
|
|
1568
1641
|
{
|
|
1569
1642
|
id: a,
|
|
1570
|
-
subtitle:
|
|
1643
|
+
subtitle: s,
|
|
1571
1644
|
title: o,
|
|
1572
1645
|
background: l,
|
|
1573
1646
|
ta: p,
|
|
@@ -1578,7 +1651,7 @@ function Wr({ id: a, subtitle: c, title: o, items: i = [], cols: n, background:
|
|
|
1578
1651
|
{
|
|
1579
1652
|
cols: { base: 1, sm: h === 3 ? 3 : 2, lg: h },
|
|
1580
1653
|
spacing: 0,
|
|
1581
|
-
children: i.map((
|
|
1654
|
+
children: i.map((c, m) => /* @__PURE__ */ r(
|
|
1582
1655
|
T,
|
|
1583
1656
|
{
|
|
1584
1657
|
px: "lg",
|
|
@@ -1599,7 +1672,7 @@ function Wr({ id: a, subtitle: c, title: o, items: i = [], cols: n, background:
|
|
|
1599
1672
|
mb: "lg",
|
|
1600
1673
|
c: "gray.9",
|
|
1601
1674
|
style: { letterSpacing: "-0.04em" },
|
|
1602
|
-
children:
|
|
1675
|
+
children: c.value
|
|
1603
1676
|
}
|
|
1604
1677
|
),
|
|
1605
1678
|
/* @__PURE__ */ e(
|
|
@@ -1612,10 +1685,10 @@ function Wr({ id: a, subtitle: c, title: o, items: i = [], cols: n, background:
|
|
|
1612
1685
|
mb: "xs",
|
|
1613
1686
|
c: "gray.9",
|
|
1614
1687
|
style: { letterSpacing: "-0.01em" },
|
|
1615
|
-
children:
|
|
1688
|
+
children: c.label
|
|
1616
1689
|
}
|
|
1617
1690
|
),
|
|
1618
|
-
|
|
1691
|
+
c.description && /* @__PURE__ */ e(
|
|
1619
1692
|
t,
|
|
1620
1693
|
{
|
|
1621
1694
|
component: "div",
|
|
@@ -1624,12 +1697,12 @@ function Wr({ id: a, subtitle: c, title: o, items: i = [], cols: n, background:
|
|
|
1624
1697
|
lh: 1.5,
|
|
1625
1698
|
maw: 220,
|
|
1626
1699
|
mx: "auto",
|
|
1627
|
-
children:
|
|
1700
|
+
children: c.description
|
|
1628
1701
|
}
|
|
1629
1702
|
)
|
|
1630
1703
|
]
|
|
1631
1704
|
},
|
|
1632
|
-
|
|
1705
|
+
c.label || m
|
|
1633
1706
|
))
|
|
1634
1707
|
}
|
|
1635
1708
|
),
|
|
@@ -1655,13 +1728,13 @@ const W = {
|
|
|
1655
1728
|
degraded: { color: "yellow.7", chart: "yellow.7", title: "Desempenho degradado", badge: "Degradado" },
|
|
1656
1729
|
down: { color: "red.7", chart: "red.7", title: "Interrupção em andamento", badge: "Fora do ar" },
|
|
1657
1730
|
loading: { color: "gray.4", chart: "gray.5", title: "Verificando os sistemas", badge: "Verificando" }
|
|
1658
|
-
},
|
|
1731
|
+
}, fr = (a) => {
|
|
1659
1732
|
if (!a) return null;
|
|
1660
|
-
const
|
|
1661
|
-
return Number.isNaN(
|
|
1733
|
+
const s = new Date(a);
|
|
1734
|
+
return Number.isNaN(s.getTime()) ? null : s.toLocaleString("pt-BR", { dateStyle: "short", timeStyle: "medium" });
|
|
1662
1735
|
};
|
|
1663
|
-
function
|
|
1664
|
-
const d = p ? W.down : W[
|
|
1736
|
+
function Kr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], latency: n = [], uptime: l = [], error: p }) {
|
|
1737
|
+
const d = p ? W.down : W[s] || W.loading, h = fr(o);
|
|
1665
1738
|
return /* @__PURE__ */ e(
|
|
1666
1739
|
x,
|
|
1667
1740
|
{
|
|
@@ -1705,7 +1778,7 @@ function Ur({ service: a, status: c = "loading", checkedAt: o, checks: i = [], l
|
|
|
1705
1778
|
}
|
|
1706
1779
|
),
|
|
1707
1780
|
/* @__PURE__ */ e(
|
|
1708
|
-
|
|
1781
|
+
D,
|
|
1709
1782
|
{
|
|
1710
1783
|
order: 1,
|
|
1711
1784
|
fz: { base: 32, md: 56 },
|
|
@@ -1759,7 +1832,7 @@ function Ur({ service: a, status: c = "loading", checkedAt: o, checks: i = [], l
|
|
|
1759
1832
|
lh: 1,
|
|
1760
1833
|
lts: "-0.04em",
|
|
1761
1834
|
children: [
|
|
1762
|
-
(l.reduce((
|
|
1835
|
+
(l.reduce((c, m) => c + m.pct, 0) / l.length).toFixed(2),
|
|
1763
1836
|
/* @__PURE__ */ e(
|
|
1764
1837
|
t,
|
|
1765
1838
|
{
|
|
@@ -1781,17 +1854,17 @@ function Ur({ service: a, status: c = "loading", checkedAt: o, checks: i = [], l
|
|
|
1781
1854
|
h: 140,
|
|
1782
1855
|
align: "flex-end",
|
|
1783
1856
|
wrap: "nowrap",
|
|
1784
|
-
children: l.map((
|
|
1857
|
+
children: l.map((c, m) => /* @__PURE__ */ e(
|
|
1785
1858
|
ae,
|
|
1786
1859
|
{
|
|
1787
|
-
label: `${
|
|
1860
|
+
label: `${c.day} · ${c.pct.toFixed(2)}%`,
|
|
1788
1861
|
withArrow: !0,
|
|
1789
1862
|
children: /* @__PURE__ */ e(
|
|
1790
1863
|
x,
|
|
1791
1864
|
{
|
|
1792
1865
|
w: 14,
|
|
1793
|
-
h: Math.max(8,
|
|
1794
|
-
bg:
|
|
1866
|
+
h: Math.max(8, c.pct / 100 * 96),
|
|
1867
|
+
bg: c.pct === 100 ? d.chart : c.pct > 0 ? "yellow.7" : "red.7"
|
|
1795
1868
|
}
|
|
1796
1869
|
)
|
|
1797
1870
|
},
|
|
@@ -1850,7 +1923,7 @@ function Ur({ service: a, status: c = "loading", checkedAt: o, checks: i = [], l
|
|
|
1850
1923
|
withXAxis: !1,
|
|
1851
1924
|
yAxisProps: { width: 40 },
|
|
1852
1925
|
fillOpacity: 0.12,
|
|
1853
|
-
valueFormatter: (
|
|
1926
|
+
valueFormatter: (c) => `${Math.round(c)} ms`
|
|
1854
1927
|
}
|
|
1855
1928
|
)
|
|
1856
1929
|
] })
|
|
@@ -1870,8 +1943,8 @@ function Ur({ service: a, status: c = "loading", checkedAt: o, checks: i = [], l
|
|
|
1870
1943
|
children: "Componentes"
|
|
1871
1944
|
}
|
|
1872
1945
|
),
|
|
1873
|
-
i.map((
|
|
1874
|
-
const g = W[
|
|
1946
|
+
i.map((c, m) => {
|
|
1947
|
+
const g = W[c.status] || W.loading;
|
|
1875
1948
|
return /* @__PURE__ */ r(
|
|
1876
1949
|
T,
|
|
1877
1950
|
{
|
|
@@ -1912,15 +1985,15 @@ function Ur({ service: a, status: c = "loading", checkedAt: o, checks: i = [], l
|
|
|
1912
1985
|
c: "gray.9",
|
|
1913
1986
|
fw: 700,
|
|
1914
1987
|
size: "sm",
|
|
1915
|
-
children:
|
|
1988
|
+
children: c.name
|
|
1916
1989
|
}
|
|
1917
1990
|
),
|
|
1918
|
-
|
|
1991
|
+
c.description && /* @__PURE__ */ e(
|
|
1919
1992
|
t,
|
|
1920
1993
|
{
|
|
1921
1994
|
size: "xs",
|
|
1922
1995
|
c: "gray.5",
|
|
1923
|
-
children:
|
|
1996
|
+
children: c.description
|
|
1924
1997
|
}
|
|
1925
1998
|
)
|
|
1926
1999
|
] })
|
|
@@ -1934,7 +2007,7 @@ function Ur({ service: a, status: c = "loading", checkedAt: o, checks: i = [], l
|
|
|
1934
2007
|
wrap: "nowrap",
|
|
1935
2008
|
align: "center",
|
|
1936
2009
|
children: [
|
|
1937
|
-
typeof
|
|
2010
|
+
typeof c.latencyMs == "number" && /* @__PURE__ */ r(
|
|
1938
2011
|
t,
|
|
1939
2012
|
{
|
|
1940
2013
|
size: "xs",
|
|
@@ -1942,7 +2015,7 @@ function Ur({ service: a, status: c = "loading", checkedAt: o, checks: i = [], l
|
|
|
1942
2015
|
c: "gray.4",
|
|
1943
2016
|
style: { whiteSpace: "nowrap" },
|
|
1944
2017
|
children: [
|
|
1945
|
-
|
|
2018
|
+
c.latencyMs,
|
|
1946
2019
|
" ms"
|
|
1947
2020
|
]
|
|
1948
2021
|
}
|
|
@@ -1962,13 +2035,13 @@ function Ur({ service: a, status: c = "loading", checkedAt: o, checks: i = [], l
|
|
|
1962
2035
|
]
|
|
1963
2036
|
}
|
|
1964
2037
|
),
|
|
1965
|
-
|
|
2038
|
+
c.metrics && Object.keys(c.metrics).length > 0 && /* @__PURE__ */ e(
|
|
1966
2039
|
f,
|
|
1967
2040
|
{
|
|
1968
2041
|
gap: "xl",
|
|
1969
2042
|
mt: "md",
|
|
1970
2043
|
ml: 23,
|
|
1971
|
-
children: Object.entries(
|
|
2044
|
+
children: Object.entries(c.metrics).map(([b, y]) => /* @__PURE__ */ r(
|
|
1972
2045
|
u,
|
|
1973
2046
|
{
|
|
1974
2047
|
gap: 2,
|
|
@@ -1992,7 +2065,7 @@ function Ur({ service: a, status: c = "loading", checkedAt: o, checks: i = [], l
|
|
|
1992
2065
|
tt: "uppercase",
|
|
1993
2066
|
lts: "1.5px",
|
|
1994
2067
|
c: "gray.4",
|
|
1995
|
-
children:
|
|
2068
|
+
children: yr[b] || b
|
|
1996
2069
|
}
|
|
1997
2070
|
)
|
|
1998
2071
|
]
|
|
@@ -2003,7 +2076,7 @@ function Ur({ service: a, status: c = "loading", checkedAt: o, checks: i = [], l
|
|
|
2003
2076
|
)
|
|
2004
2077
|
]
|
|
2005
2078
|
},
|
|
2006
|
-
|
|
2079
|
+
c.name || m
|
|
2007
2080
|
);
|
|
2008
2081
|
})
|
|
2009
2082
|
] }),
|
|
@@ -2022,7 +2095,7 @@ function Ur({ service: a, status: c = "loading", checkedAt: o, checks: i = [], l
|
|
|
2022
2095
|
}
|
|
2023
2096
|
);
|
|
2024
2097
|
}
|
|
2025
|
-
const
|
|
2098
|
+
const yr = {
|
|
2026
2099
|
activeSessions: "Sessões ativas",
|
|
2027
2100
|
pendingVerifications: "Verificações pendentes",
|
|
2028
2101
|
publicKeys: "Chaves públicas",
|
|
@@ -2033,8 +2106,8 @@ const mr = {
|
|
|
2033
2106
|
down: { color: "red.7", label: "Interrupção em andamento" },
|
|
2034
2107
|
loading: { color: "gray.4", label: "Verificando status" }
|
|
2035
2108
|
}, Y = 20;
|
|
2036
|
-
function
|
|
2037
|
-
const l = he[a] || he.loading, p =
|
|
2109
|
+
function Qr({ status: a = "loading", history: s = [], label: o, link: i, ...n }) {
|
|
2110
|
+
const l = he[a] || he.loading, p = s.slice(-Y), d = Array(Math.max(0, Y - p.length)).fill(null), h = [...d, ...p];
|
|
2038
2111
|
return /* @__PURE__ */ e(
|
|
2039
2112
|
me,
|
|
2040
2113
|
{
|
|
@@ -2057,8 +2130,8 @@ function _r({ status: a = "loading", history: c = [], label: o, link: i, ...n })
|
|
|
2057
2130
|
h: 16,
|
|
2058
2131
|
"aria-hidden": "true",
|
|
2059
2132
|
style: { display: "block", overflow: "visible" },
|
|
2060
|
-
children: h.map((
|
|
2061
|
-
const g =
|
|
2133
|
+
children: h.map((c, m) => {
|
|
2134
|
+
const g = c === null ? 2 : Math.max(2, c * 16), b = h.length - d.length - 1 || 1, y = m - d.length;
|
|
2062
2135
|
return /* @__PURE__ */ e(
|
|
2063
2136
|
x,
|
|
2064
2137
|
{
|
|
@@ -2067,8 +2140,8 @@ function _r({ status: a = "loading", history: c = [], label: o, link: i, ...n })
|
|
|
2067
2140
|
y: 16 - g,
|
|
2068
2141
|
width: 3,
|
|
2069
2142
|
height: g,
|
|
2070
|
-
fill:
|
|
2071
|
-
opacity:
|
|
2143
|
+
fill: c === null ? "var(--mantine-color-gray-2)" : `var(--mantine-color-${l.color.replace(".", "-")})`,
|
|
2144
|
+
opacity: c === null ? 0.6 : 0.55 + y / b * 0.45
|
|
2072
2145
|
},
|
|
2073
2146
|
m
|
|
2074
2147
|
);
|
|
@@ -2093,12 +2166,12 @@ function _r({ status: a = "loading", history: c = [], label: o, link: i, ...n })
|
|
|
2093
2166
|
}
|
|
2094
2167
|
);
|
|
2095
2168
|
}
|
|
2096
|
-
function
|
|
2169
|
+
function Yr({ id: a, subtitle: s, title: o, description: i, items: n = [], ctaIcon: l, note: p, background: d = "white", ta: h = "center" }) {
|
|
2097
2170
|
return /* @__PURE__ */ r(
|
|
2098
|
-
|
|
2171
|
+
k,
|
|
2099
2172
|
{
|
|
2100
2173
|
id: a,
|
|
2101
|
-
subtitle:
|
|
2174
|
+
subtitle: s,
|
|
2102
2175
|
title: o,
|
|
2103
2176
|
background: d,
|
|
2104
2177
|
ta: h,
|
|
@@ -2117,12 +2190,12 @@ function Hr({ id: a, subtitle: c, title: o, description: i, items: n = [], ctaIc
|
|
|
2117
2190
|
children: i
|
|
2118
2191
|
}
|
|
2119
2192
|
),
|
|
2120
|
-
/* @__PURE__ */ e(z, { gutter: "xl", children: n.map((
|
|
2121
|
-
const g =
|
|
2193
|
+
/* @__PURE__ */ e(z, { gutter: "xl", children: n.map((c, m) => {
|
|
2194
|
+
const g = c.icon;
|
|
2122
2195
|
return /* @__PURE__ */ e(
|
|
2123
2196
|
z.Col,
|
|
2124
2197
|
{
|
|
2125
|
-
span: { base: 12, md:
|
|
2198
|
+
span: { base: 12, md: c.span || 6 },
|
|
2126
2199
|
children: /* @__PURE__ */ r(
|
|
2127
2200
|
T,
|
|
2128
2201
|
{
|
|
@@ -2142,7 +2215,7 @@ function Hr({ id: a, subtitle: c, title: o, description: i, items: n = [], ctaIc
|
|
|
2142
2215
|
wrap: "nowrap",
|
|
2143
2216
|
children: [
|
|
2144
2217
|
/* @__PURE__ */ r(x, { children: [
|
|
2145
|
-
|
|
2218
|
+
c.category && /* @__PURE__ */ e(
|
|
2146
2219
|
t,
|
|
2147
2220
|
{
|
|
2148
2221
|
size: "xs",
|
|
@@ -2151,17 +2224,17 @@ function Hr({ id: a, subtitle: c, title: o, description: i, items: n = [], ctaIc
|
|
|
2151
2224
|
lts: "1.5px",
|
|
2152
2225
|
c: "gray.4",
|
|
2153
2226
|
mb: 4,
|
|
2154
|
-
children:
|
|
2227
|
+
children: c.category
|
|
2155
2228
|
}
|
|
2156
2229
|
),
|
|
2157
2230
|
/* @__PURE__ */ e(
|
|
2158
|
-
|
|
2231
|
+
D,
|
|
2159
2232
|
{
|
|
2160
2233
|
order: 3,
|
|
2161
2234
|
fz: "h2",
|
|
2162
2235
|
fw: 800,
|
|
2163
2236
|
c: "gray.9",
|
|
2164
|
-
children:
|
|
2237
|
+
children: c.name
|
|
2165
2238
|
}
|
|
2166
2239
|
)
|
|
2167
2240
|
] }),
|
|
@@ -2176,7 +2249,7 @@ function Hr({ id: a, subtitle: c, title: o, description: i, items: n = [], ctaIc
|
|
|
2176
2249
|
]
|
|
2177
2250
|
}
|
|
2178
2251
|
),
|
|
2179
|
-
|
|
2252
|
+
c.headline && /* @__PURE__ */ e(
|
|
2180
2253
|
t,
|
|
2181
2254
|
{
|
|
2182
2255
|
fw: 700,
|
|
@@ -2185,10 +2258,10 @@ function Hr({ id: a, subtitle: c, title: o, description: i, items: n = [], ctaIc
|
|
|
2185
2258
|
mb: "sm",
|
|
2186
2259
|
c: "gray.9",
|
|
2187
2260
|
style: { letterSpacing: "-0.01em" },
|
|
2188
|
-
children:
|
|
2261
|
+
children: c.headline
|
|
2189
2262
|
}
|
|
2190
2263
|
),
|
|
2191
|
-
|
|
2264
|
+
c.description && /* @__PURE__ */ e(
|
|
2192
2265
|
t,
|
|
2193
2266
|
{
|
|
2194
2267
|
size: "md",
|
|
@@ -2196,16 +2269,16 @@ function Hr({ id: a, subtitle: c, title: o, description: i, items: n = [], ctaIc
|
|
|
2196
2269
|
lh: 1.6,
|
|
2197
2270
|
mb: "xl",
|
|
2198
2271
|
style: { flexGrow: 1 },
|
|
2199
|
-
children:
|
|
2272
|
+
children: c.description
|
|
2200
2273
|
}
|
|
2201
2274
|
),
|
|
2202
|
-
|
|
2275
|
+
c.href && /* @__PURE__ */ e(
|
|
2203
2276
|
U,
|
|
2204
2277
|
{
|
|
2205
2278
|
component: "a",
|
|
2206
|
-
href:
|
|
2207
|
-
target:
|
|
2208
|
-
rel:
|
|
2279
|
+
href: c.href,
|
|
2280
|
+
target: c.target,
|
|
2281
|
+
rel: c.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
2209
2282
|
variant: "default",
|
|
2210
2283
|
size: "md",
|
|
2211
2284
|
radius: "0",
|
|
@@ -2218,14 +2291,14 @@ function Hr({ id: a, subtitle: c, title: o, description: i, items: n = [], ctaIc
|
|
|
2218
2291
|
paddingTop: 16,
|
|
2219
2292
|
marginTop: "auto"
|
|
2220
2293
|
},
|
|
2221
|
-
children:
|
|
2294
|
+
children: c.ctaLabel || `Abrir ${c.name}`
|
|
2222
2295
|
}
|
|
2223
2296
|
)
|
|
2224
2297
|
]
|
|
2225
2298
|
}
|
|
2226
2299
|
)
|
|
2227
2300
|
},
|
|
2228
|
-
|
|
2301
|
+
c.name || m
|
|
2229
2302
|
);
|
|
2230
2303
|
}) }),
|
|
2231
2304
|
p && /* @__PURE__ */ e(
|
|
@@ -2246,9 +2319,9 @@ function Hr({ id: a, subtitle: c, title: o, description: i, items: n = [], ctaIc
|
|
|
2246
2319
|
}
|
|
2247
2320
|
);
|
|
2248
2321
|
}
|
|
2249
|
-
function
|
|
2322
|
+
function Xr({
|
|
2250
2323
|
id: a,
|
|
2251
|
-
subtitle:
|
|
2324
|
+
subtitle: s,
|
|
2252
2325
|
title: o,
|
|
2253
2326
|
description: i,
|
|
2254
2327
|
items: n = [],
|
|
@@ -2261,9 +2334,9 @@ function Gr({
|
|
|
2261
2334
|
// produto dentro de outro — o erro que já tirou a marca do topo com o
|
|
2262
2335
|
// `Wordmark` e anunciou "monitores" no log de e-mails do Payments. Sem
|
|
2263
2336
|
// rótulo a chamada não é desenhada; quem chama diz a palavra.
|
|
2264
|
-
ctaLabel:
|
|
2337
|
+
ctaLabel: c
|
|
2265
2338
|
}) {
|
|
2266
|
-
const [m, g] =
|
|
2339
|
+
const [m, g] = G("todas"), b = Le("(min-width: 48em)", !1), y = je(() => m === "todas" ? n : [...n].sort((I, q) => +(q.category === m) - +(I.category === m)), [n, m]), [v, ...F] = y;
|
|
2267
2340
|
return v ? (
|
|
2268
2341
|
// O CABEÇALHO É CENTRALIZADO, O CONTEÚDO NÃO. `ta="center"` no
|
|
2269
2342
|
// `Section` alinha o kicker, o título e — por herança — tudo que
|
|
@@ -2274,10 +2347,10 @@ function Gr({
|
|
|
2274
2347
|
// recomeçar. Centralizado é o que se lê uma vez; à esquerda é o que
|
|
2275
2348
|
// se compara em coluna.
|
|
2276
2349
|
/* @__PURE__ */ r(
|
|
2277
|
-
|
|
2350
|
+
k,
|
|
2278
2351
|
{
|
|
2279
2352
|
id: a,
|
|
2280
|
-
subtitle:
|
|
2353
|
+
subtitle: s,
|
|
2281
2354
|
title: o,
|
|
2282
2355
|
background: h,
|
|
2283
2356
|
ta: "center",
|
|
@@ -2305,7 +2378,7 @@ function Gr({
|
|
|
2305
2378
|
"aria-label": p,
|
|
2306
2379
|
className: "rlg-shelf-filters",
|
|
2307
2380
|
children: l.map((I) => /* @__PURE__ */ e(
|
|
2308
|
-
|
|
2381
|
+
Fe,
|
|
2309
2382
|
{
|
|
2310
2383
|
onClick: () => g(I.id),
|
|
2311
2384
|
className: "rlg-shelf-pill",
|
|
@@ -2319,17 +2392,17 @@ function Gr({
|
|
|
2319
2392
|
),
|
|
2320
2393
|
/* @__PURE__ */ r(z, { gutter: "lg", children: [
|
|
2321
2394
|
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 5, xl: 4 }, children: /* @__PURE__ */ e(
|
|
2322
|
-
|
|
2395
|
+
xr,
|
|
2323
2396
|
{
|
|
2324
2397
|
item: v,
|
|
2325
|
-
ctaLabel:
|
|
2398
|
+
ctaLabel: c
|
|
2326
2399
|
}
|
|
2327
2400
|
) }),
|
|
2328
|
-
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 7, xl: 8 }, children: /* @__PURE__ */ e(z, { gutter: "lg", children:
|
|
2401
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 7, xl: 8 }, children: /* @__PURE__ */ e(z, { gutter: "lg", children: F.map((I) => /* @__PURE__ */ e(
|
|
2329
2402
|
z.Col,
|
|
2330
2403
|
{
|
|
2331
2404
|
span: { base: 12, xs: 6, md: 4, lg: 6, xl: 4 },
|
|
2332
|
-
children: /* @__PURE__ */ e(
|
|
2405
|
+
children: /* @__PURE__ */ e(br, { item: I })
|
|
2333
2406
|
},
|
|
2334
2407
|
I.name
|
|
2335
2408
|
)) }) })
|
|
@@ -2357,7 +2430,7 @@ const we = (a) => ({
|
|
|
2357
2430
|
target: a.target,
|
|
2358
2431
|
rel: a.target === "_blank" ? "noopener noreferrer" : void 0
|
|
2359
2432
|
});
|
|
2360
|
-
function
|
|
2433
|
+
function xr({ item: a, ctaLabel: s }) {
|
|
2361
2434
|
const o = a.icon;
|
|
2362
2435
|
return /* @__PURE__ */ r(
|
|
2363
2436
|
T,
|
|
@@ -2410,7 +2483,7 @@ function ur({ item: a, ctaLabel: c }) {
|
|
|
2410
2483
|
] }),
|
|
2411
2484
|
/* @__PURE__ */ r(x, { className: "rlg-shelf-feature-bottom", children: [
|
|
2412
2485
|
/* @__PURE__ */ e(
|
|
2413
|
-
|
|
2486
|
+
D,
|
|
2414
2487
|
{
|
|
2415
2488
|
order: 3,
|
|
2416
2489
|
className: "rlg-shelf-feature-title",
|
|
@@ -2429,7 +2502,7 @@ function ur({ item: a, ctaLabel: c }) {
|
|
|
2429
2502
|
children: a.description
|
|
2430
2503
|
}
|
|
2431
2504
|
),
|
|
2432
|
-
|
|
2505
|
+
s && /* @__PURE__ */ r(
|
|
2433
2506
|
f,
|
|
2434
2507
|
{
|
|
2435
2508
|
className: "rlg-shelf-feature-cta",
|
|
@@ -2443,7 +2516,7 @@ function ur({ item: a, ctaLabel: c }) {
|
|
|
2443
2516
|
size: "sm",
|
|
2444
2517
|
fw: 800,
|
|
2445
2518
|
c: "gray.9",
|
|
2446
|
-
children:
|
|
2519
|
+
children: s
|
|
2447
2520
|
}
|
|
2448
2521
|
),
|
|
2449
2522
|
/* @__PURE__ */ e(
|
|
@@ -2465,8 +2538,8 @@ function ur({ item: a, ctaLabel: c }) {
|
|
|
2465
2538
|
}
|
|
2466
2539
|
);
|
|
2467
2540
|
}
|
|
2468
|
-
function
|
|
2469
|
-
const
|
|
2541
|
+
function br({ item: a }) {
|
|
2542
|
+
const s = a.icon;
|
|
2470
2543
|
return /* @__PURE__ */ r(
|
|
2471
2544
|
T,
|
|
2472
2545
|
{
|
|
@@ -2495,8 +2568,8 @@ function fr({ item: a }) {
|
|
|
2495
2568
|
className: "rlg-shelf-card-body",
|
|
2496
2569
|
gap: "sm",
|
|
2497
2570
|
children: [
|
|
2498
|
-
|
|
2499
|
-
|
|
2571
|
+
s && /* @__PURE__ */ e(
|
|
2572
|
+
s,
|
|
2500
2573
|
{
|
|
2501
2574
|
size: 22,
|
|
2502
2575
|
stroke: 1.5,
|
|
@@ -2505,7 +2578,7 @@ function fr({ item: a }) {
|
|
|
2505
2578
|
),
|
|
2506
2579
|
/* @__PURE__ */ r(x, { children: [
|
|
2507
2580
|
/* @__PURE__ */ e(
|
|
2508
|
-
|
|
2581
|
+
D,
|
|
2509
2582
|
{
|
|
2510
2583
|
order: 3,
|
|
2511
2584
|
fz: "h4",
|
|
@@ -2533,12 +2606,12 @@ function fr({ item: a }) {
|
|
|
2533
2606
|
}
|
|
2534
2607
|
);
|
|
2535
2608
|
}
|
|
2536
|
-
function
|
|
2609
|
+
function Jr({ id: a, subtitle: s, title: o, description: i, items: n = [], note: l, background: p = "gray", ta: d = "center" }) {
|
|
2537
2610
|
return /* @__PURE__ */ r(
|
|
2538
|
-
|
|
2611
|
+
k,
|
|
2539
2612
|
{
|
|
2540
2613
|
id: a,
|
|
2541
|
-
subtitle:
|
|
2614
|
+
subtitle: s,
|
|
2542
2615
|
title: o,
|
|
2543
2616
|
background: p,
|
|
2544
2617
|
ta: d,
|
|
@@ -2565,13 +2638,13 @@ function Kr({ id: a, subtitle: c, title: o, description: i, items: n = [], note:
|
|
|
2565
2638
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
2566
2639
|
px: { base: "lg", md: 40 },
|
|
2567
2640
|
py: { base: "xs", md: "md" },
|
|
2568
|
-
children: n.map((h,
|
|
2641
|
+
children: n.map((h, c) => /* @__PURE__ */ r(
|
|
2569
2642
|
z,
|
|
2570
2643
|
{
|
|
2571
2644
|
gutter: { base: 4, sm: "xl" },
|
|
2572
2645
|
py: { base: "lg", md: "xl" },
|
|
2573
2646
|
ta: "left",
|
|
2574
|
-
style:
|
|
2647
|
+
style: c === 0 ? void 0 : { borderTop: "1px solid var(--mantine-color-gray-2)" },
|
|
2575
2648
|
children: [
|
|
2576
2649
|
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 4 }, children: /* @__PURE__ */ e(
|
|
2577
2650
|
t,
|
|
@@ -2605,7 +2678,7 @@ function Kr({ id: a, subtitle: c, title: o, description: i, items: n = [], note:
|
|
|
2605
2678
|
] })
|
|
2606
2679
|
]
|
|
2607
2680
|
},
|
|
2608
|
-
h.criterion ||
|
|
2681
|
+
h.criterion || c
|
|
2609
2682
|
))
|
|
2610
2683
|
}
|
|
2611
2684
|
),
|
|
@@ -2626,12 +2699,12 @@ function Kr({ id: a, subtitle: c, title: o, description: i, items: n = [], note:
|
|
|
2626
2699
|
}
|
|
2627
2700
|
);
|
|
2628
2701
|
}
|
|
2629
|
-
function
|
|
2702
|
+
function Zr({ id: a, subtitle: s, title: o, description: i, cardLabel: n, items: l = [], footnote: p, background: d = "gray", ta: h = "center" }) {
|
|
2630
2703
|
return /* @__PURE__ */ r(
|
|
2631
|
-
|
|
2704
|
+
k,
|
|
2632
2705
|
{
|
|
2633
2706
|
id: a,
|
|
2634
|
-
subtitle:
|
|
2707
|
+
subtitle: s,
|
|
2635
2708
|
title: o,
|
|
2636
2709
|
background: d,
|
|
2637
2710
|
ta: h,
|
|
@@ -2678,28 +2751,28 @@ function Qr({ id: a, subtitle: c, title: o, description: i, cardLabel: n, items:
|
|
|
2678
2751
|
m: 0,
|
|
2679
2752
|
pl: "lg",
|
|
2680
2753
|
style: { display: "flex", flexDirection: "column", gap: 16 },
|
|
2681
|
-
children: l.map((
|
|
2754
|
+
children: l.map((c, m) => /* @__PURE__ */ r(
|
|
2682
2755
|
t,
|
|
2683
2756
|
{
|
|
2684
2757
|
component: "li",
|
|
2685
2758
|
c: "gray.6",
|
|
2686
2759
|
lh: 1.7,
|
|
2687
2760
|
children: [
|
|
2688
|
-
|
|
2761
|
+
c.lead && /* @__PURE__ */ e(
|
|
2689
2762
|
t,
|
|
2690
2763
|
{
|
|
2691
2764
|
component: "span",
|
|
2692
2765
|
fw: 700,
|
|
2693
2766
|
c: "gray.9",
|
|
2694
2767
|
inherit: !0,
|
|
2695
|
-
children:
|
|
2768
|
+
children: c.lead
|
|
2696
2769
|
}
|
|
2697
2770
|
),
|
|
2698
2771
|
" ",
|
|
2699
|
-
|
|
2772
|
+
c.text
|
|
2700
2773
|
]
|
|
2701
2774
|
},
|
|
2702
|
-
|
|
2775
|
+
c.lead || m
|
|
2703
2776
|
))
|
|
2704
2777
|
}
|
|
2705
2778
|
),
|
|
@@ -2735,14 +2808,14 @@ function Qr({ id: a, subtitle: c, title: o, description: i, cardLabel: n, items:
|
|
|
2735
2808
|
}
|
|
2736
2809
|
);
|
|
2737
2810
|
}
|
|
2738
|
-
function
|
|
2811
|
+
function ea({ id: a, subtitle: s, title: o, description: i, avatar: n, name: l, role: p, quote: d, credentials: h = [], background: c = "white", ta: m = "center" }) {
|
|
2739
2812
|
return /* @__PURE__ */ r(
|
|
2740
|
-
|
|
2813
|
+
k,
|
|
2741
2814
|
{
|
|
2742
2815
|
id: a,
|
|
2743
|
-
subtitle:
|
|
2816
|
+
subtitle: s,
|
|
2744
2817
|
title: o,
|
|
2745
|
-
background:
|
|
2818
|
+
background: c,
|
|
2746
2819
|
ta: m,
|
|
2747
2820
|
maw: 900,
|
|
2748
2821
|
children: [
|
|
@@ -2899,12 +2972,12 @@ function Yr({ id: a, subtitle: c, title: o, description: i, avatar: n, name: l,
|
|
|
2899
2972
|
}
|
|
2900
2973
|
);
|
|
2901
2974
|
}
|
|
2902
|
-
function
|
|
2975
|
+
function ra({ id: a, badge: s, subtitle: o, title: i, description: n, items: l = [], background: p = "gray", ta: d = "center" }) {
|
|
2903
2976
|
return /* @__PURE__ */ r(
|
|
2904
|
-
|
|
2977
|
+
k,
|
|
2905
2978
|
{
|
|
2906
2979
|
id: a,
|
|
2907
|
-
badge:
|
|
2980
|
+
badge: s,
|
|
2908
2981
|
subtitle: o,
|
|
2909
2982
|
title: i,
|
|
2910
2983
|
background: p,
|
|
@@ -2930,7 +3003,7 @@ function Xr({ id: a, badge: c, subtitle: o, title: i, description: n, items: l =
|
|
|
2930
3003
|
cols: { base: 1, md: l.length <= 4 ? l.length : 3 },
|
|
2931
3004
|
spacing: "xl",
|
|
2932
3005
|
verticalSpacing: { base: 56, md: "xl" },
|
|
2933
|
-
children: l.map((h,
|
|
3006
|
+
children: l.map((h, c) => {
|
|
2934
3007
|
const m = h.icon;
|
|
2935
3008
|
return /* @__PURE__ */ r(
|
|
2936
3009
|
x,
|
|
@@ -2953,7 +3026,7 @@ function Xr({ id: a, badge: c, subtitle: o, title: i, description: n, items: l =
|
|
|
2953
3026
|
letterSpacing: "-0.05em",
|
|
2954
3027
|
pointerEvents: "none"
|
|
2955
3028
|
},
|
|
2956
|
-
children: h.number || String(
|
|
3029
|
+
children: h.number || String(c + 1).padStart(2, "0")
|
|
2957
3030
|
}
|
|
2958
3031
|
),
|
|
2959
3032
|
m && /* @__PURE__ */ e(
|
|
@@ -2976,7 +3049,7 @@ function Xr({ id: a, badge: c, subtitle: o, title: i, description: n, items: l =
|
|
|
2976
3049
|
}
|
|
2977
3050
|
),
|
|
2978
3051
|
/* @__PURE__ */ e(
|
|
2979
|
-
|
|
3052
|
+
D,
|
|
2980
3053
|
{
|
|
2981
3054
|
order: 3,
|
|
2982
3055
|
fz: "h3",
|
|
@@ -3000,7 +3073,7 @@ function Xr({ id: a, badge: c, subtitle: o, title: i, description: n, items: l =
|
|
|
3000
3073
|
)
|
|
3001
3074
|
]
|
|
3002
3075
|
},
|
|
3003
|
-
h.title ||
|
|
3076
|
+
h.title || c
|
|
3004
3077
|
);
|
|
3005
3078
|
})
|
|
3006
3079
|
}
|
|
@@ -3010,10 +3083,10 @@ function Xr({ id: a, badge: c, subtitle: o, title: i, description: n, items: l =
|
|
|
3010
3083
|
);
|
|
3011
3084
|
}
|
|
3012
3085
|
const pe = (a) => a.requiredMessage || `Preencha o campo ${a.label}`;
|
|
3013
|
-
function
|
|
3014
|
-
const [m, g] =
|
|
3015
|
-
const { value:
|
|
3016
|
-
g((
|
|
3086
|
+
function aa({ id: a, badge: s, title: o, description: i, fields: n = [], whatsappNumber: l, messageIntro: p = "Olá! Vim pelo site.", submit: d = {}, reassurance: h, onSubmit: c }) {
|
|
3087
|
+
const [m, g] = G(() => Object.fromEntries(n.map((w) => [w.name, ""]))), [b, y] = G(!1), v = (w) => (O) => {
|
|
3088
|
+
const { value: C } = O.currentTarget;
|
|
3089
|
+
g((R) => ({ ...R, [w]: C }));
|
|
3017
3090
|
}, I = n.filter((w) => w.required).every((w) => m[w.name]?.trim());
|
|
3018
3091
|
return /* @__PURE__ */ e(
|
|
3019
3092
|
x,
|
|
@@ -3023,7 +3096,7 @@ function Jr({ id: a, badge: c, title: o, description: i, fields: n = [], whatsap
|
|
|
3023
3096
|
py: { base: 80, md: 120 },
|
|
3024
3097
|
bg: "gray.9",
|
|
3025
3098
|
children: /* @__PURE__ */ r(E, { size: "md", children: [
|
|
3026
|
-
|
|
3099
|
+
s && /* @__PURE__ */ e(
|
|
3027
3100
|
f,
|
|
3028
3101
|
{
|
|
3029
3102
|
justify: "center",
|
|
@@ -3035,13 +3108,13 @@ function Jr({ id: a, badge: c, title: o, description: i, fields: n = [], whatsap
|
|
|
3035
3108
|
color: "gray",
|
|
3036
3109
|
size: "lg",
|
|
3037
3110
|
radius: "0",
|
|
3038
|
-
children:
|
|
3111
|
+
children: s
|
|
3039
3112
|
}
|
|
3040
3113
|
)
|
|
3041
3114
|
}
|
|
3042
3115
|
),
|
|
3043
3116
|
o && /* @__PURE__ */ e(
|
|
3044
|
-
|
|
3117
|
+
D,
|
|
3045
3118
|
{
|
|
3046
3119
|
order: 2,
|
|
3047
3120
|
ta: "center",
|
|
@@ -3072,11 +3145,11 @@ function Jr({ id: a, badge: c, title: o, description: i, fields: n = [], whatsap
|
|
|
3072
3145
|
bg: "white",
|
|
3073
3146
|
children: /* @__PURE__ */ e("form", { onSubmit: (w) => {
|
|
3074
3147
|
if (w.preventDefault(), y(!0), !I) return;
|
|
3075
|
-
const
|
|
3148
|
+
const O = [p, "", ...n.filter((C) => m[C.name]?.trim()).map((C) => `${C.label}: ${m[C.name]}`)].join(`
|
|
3076
3149
|
`);
|
|
3077
|
-
if (
|
|
3078
|
-
const
|
|
3079
|
-
window.open(
|
|
3150
|
+
if (c?.(m), l) {
|
|
3151
|
+
const C = `https://wa.me/${l}?text=${encodeURIComponent(O)}`;
|
|
3152
|
+
window.open(C, "_blank", "noopener,noreferrer");
|
|
3080
3153
|
}
|
|
3081
3154
|
}, children: /* @__PURE__ */ r(u, { gap: "md", children: [
|
|
3082
3155
|
/* @__PURE__ */ e(A, { cols: { base: 1, sm: 2 }, children: n.filter((w) => w.span !== "full").map((w) => /* @__PURE__ */ e(
|
|
@@ -3162,12 +3235,12 @@ function Jr({ id: a, badge: c, title: o, description: i, fields: n = [], whatsap
|
|
|
3162
3235
|
}
|
|
3163
3236
|
);
|
|
3164
3237
|
}
|
|
3165
|
-
function
|
|
3238
|
+
function ta({ id: a, subtitle: s, title: o, traditionalCol: i, newCol: n, background: l = "white" }) {
|
|
3166
3239
|
return /* @__PURE__ */ e(
|
|
3167
|
-
|
|
3240
|
+
k,
|
|
3168
3241
|
{
|
|
3169
3242
|
id: a,
|
|
3170
|
-
subtitle:
|
|
3243
|
+
subtitle: s,
|
|
3171
3244
|
title: o,
|
|
3172
3245
|
background: l,
|
|
3173
3246
|
children: /* @__PURE__ */ e(
|
|
@@ -3216,7 +3289,7 @@ function Zr({ id: a, subtitle: c, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3216
3289
|
{
|
|
3217
3290
|
gap: "md",
|
|
3218
3291
|
mb: 40,
|
|
3219
|
-
children: i.items.map((p, d) => /* @__PURE__ */ r(
|
|
3292
|
+
children: i.items.map((p, d) => /* @__PURE__ */ r(Ne, { children: [
|
|
3220
3293
|
/* @__PURE__ */ r(f, { justify: "space-between", children: [
|
|
3221
3294
|
/* @__PURE__ */ e(
|
|
3222
3295
|
t,
|
|
@@ -3235,7 +3308,7 @@ function Zr({ id: a, subtitle: c, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3235
3308
|
}
|
|
3236
3309
|
)
|
|
3237
3310
|
] }),
|
|
3238
|
-
d < i.items.length - 1 && /* @__PURE__ */ e(
|
|
3311
|
+
d < i.items.length - 1 && /* @__PURE__ */ e(L, { color: "var(--mantine-color-gray-2)" })
|
|
3239
3312
|
] }, d))
|
|
3240
3313
|
}
|
|
3241
3314
|
),
|
|
@@ -3339,7 +3412,7 @@ function Zr({ id: a, subtitle: c, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3339
3412
|
radius: "0",
|
|
3340
3413
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
3341
3414
|
children: /* @__PURE__ */ e(
|
|
3342
|
-
|
|
3415
|
+
H,
|
|
3343
3416
|
{
|
|
3344
3417
|
size: 12,
|
|
3345
3418
|
color: "var(--mantine-color-gray-9)"
|
|
@@ -3392,7 +3465,7 @@ function Zr({ id: a, subtitle: c, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3392
3465
|
}
|
|
3393
3466
|
),
|
|
3394
3467
|
n.cta && /* @__PURE__ */ e(x, { mt: "xl", children: /* @__PURE__ */ e(
|
|
3395
|
-
|
|
3468
|
+
M,
|
|
3396
3469
|
{
|
|
3397
3470
|
label: n.cta.label,
|
|
3398
3471
|
href: n.cta.href,
|
|
@@ -3415,9 +3488,9 @@ function Zr({ id: a, subtitle: c, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3415
3488
|
}
|
|
3416
3489
|
);
|
|
3417
3490
|
}
|
|
3418
|
-
function
|
|
3491
|
+
function na({
|
|
3419
3492
|
id: a,
|
|
3420
|
-
badge:
|
|
3493
|
+
badge: s,
|
|
3421
3494
|
subtitle: o,
|
|
3422
3495
|
title: i,
|
|
3423
3496
|
description: n,
|
|
@@ -3428,14 +3501,14 @@ function ea({
|
|
|
3428
3501
|
billing: p,
|
|
3429
3502
|
setBilling: d,
|
|
3430
3503
|
promoBadge: h,
|
|
3431
|
-
plans:
|
|
3504
|
+
plans: c,
|
|
3432
3505
|
background: m = "white"
|
|
3433
3506
|
}) {
|
|
3434
3507
|
return /* @__PURE__ */ r(
|
|
3435
|
-
|
|
3508
|
+
k,
|
|
3436
3509
|
{
|
|
3437
3510
|
id: a,
|
|
3438
|
-
badge:
|
|
3511
|
+
badge: s,
|
|
3439
3512
|
subtitle: o,
|
|
3440
3513
|
title: i,
|
|
3441
3514
|
ta: "center",
|
|
@@ -3463,7 +3536,7 @@ function ea({
|
|
|
3463
3536
|
mb: 80,
|
|
3464
3537
|
children: /* @__PURE__ */ r(f, { gap: "xs", children: [
|
|
3465
3538
|
/* @__PURE__ */ e(
|
|
3466
|
-
|
|
3539
|
+
Ce,
|
|
3467
3540
|
{
|
|
3468
3541
|
value: p,
|
|
3469
3542
|
onChange: d,
|
|
@@ -3491,10 +3564,10 @@ function ea({
|
|
|
3491
3564
|
/* @__PURE__ */ e(
|
|
3492
3565
|
A,
|
|
3493
3566
|
{
|
|
3494
|
-
cols: { base: 1, md:
|
|
3567
|
+
cols: { base: 1, md: c.length <= 3 ? c.length : 3 },
|
|
3495
3568
|
spacing: "xl",
|
|
3496
3569
|
verticalSpacing: "xl",
|
|
3497
|
-
children:
|
|
3570
|
+
children: c.map((g) => /* @__PURE__ */ r(
|
|
3498
3571
|
T,
|
|
3499
3572
|
{
|
|
3500
3573
|
p: "xl",
|
|
@@ -3682,7 +3755,7 @@ function ea({
|
|
|
3682
3755
|
)
|
|
3683
3756
|
] }),
|
|
3684
3757
|
/* @__PURE__ */ e(
|
|
3685
|
-
|
|
3758
|
+
L,
|
|
3686
3759
|
{
|
|
3687
3760
|
mb: "xl",
|
|
3688
3761
|
color: "gray.1"
|
|
@@ -3702,7 +3775,7 @@ function ea({
|
|
|
3702
3775
|
align: "flex-start",
|
|
3703
3776
|
children: [
|
|
3704
3777
|
/* @__PURE__ */ e(
|
|
3705
|
-
|
|
3778
|
+
H,
|
|
3706
3779
|
{
|
|
3707
3780
|
size: 16,
|
|
3708
3781
|
color: "var(--mantine-color-gray-9)",
|
|
@@ -3726,7 +3799,7 @@ function ea({
|
|
|
3726
3799
|
}
|
|
3727
3800
|
),
|
|
3728
3801
|
g.cta && /* @__PURE__ */ e(x, { mt: "auto", children: /* @__PURE__ */ e(
|
|
3729
|
-
|
|
3802
|
+
M,
|
|
3730
3803
|
{
|
|
3731
3804
|
label: g.cta.label,
|
|
3732
3805
|
href: g.cta.href,
|
|
@@ -3767,8 +3840,8 @@ function ea({
|
|
|
3767
3840
|
}
|
|
3768
3841
|
);
|
|
3769
3842
|
}
|
|
3770
|
-
function
|
|
3771
|
-
const
|
|
3843
|
+
function ia({ id: a, badge: s, subtitle: o, title: i, description: n, questions: l = [], contactCard: p, background: d = "white", ta: h = "left" }) {
|
|
3844
|
+
const c = Math.ceil(l.length / 2), m = {
|
|
3772
3845
|
item: {
|
|
3773
3846
|
// A CSS variable, not the name: a `styles` object is plain CSS, so
|
|
3774
3847
|
// 'white' was the literal colour — it stayed white in dark mode —
|
|
@@ -3791,10 +3864,10 @@ function ra({ id: a, badge: c, subtitle: o, title: i, description: n, questions:
|
|
|
3791
3864
|
}
|
|
3792
3865
|
};
|
|
3793
3866
|
return /* @__PURE__ */ r(
|
|
3794
|
-
|
|
3867
|
+
k,
|
|
3795
3868
|
{
|
|
3796
3869
|
id: a,
|
|
3797
|
-
badge:
|
|
3870
|
+
badge: s,
|
|
3798
3871
|
subtitle: o,
|
|
3799
3872
|
title: i,
|
|
3800
3873
|
background: d,
|
|
@@ -3821,20 +3894,20 @@ function ra({ id: a, badge: c, subtitle: o, title: i, description: n, questions:
|
|
|
3821
3894
|
spacing: "xl",
|
|
3822
3895
|
children: [
|
|
3823
3896
|
/* @__PURE__ */ e(
|
|
3824
|
-
|
|
3897
|
+
j,
|
|
3825
3898
|
{
|
|
3826
3899
|
variant: "separated",
|
|
3827
3900
|
radius: "0",
|
|
3828
3901
|
chevronPosition: "right",
|
|
3829
3902
|
styles: m,
|
|
3830
|
-
children: l.slice(0,
|
|
3831
|
-
|
|
3903
|
+
children: l.slice(0, c).map((g, b) => /* @__PURE__ */ r(
|
|
3904
|
+
j.Item,
|
|
3832
3905
|
{
|
|
3833
3906
|
value: g.value || String(b),
|
|
3834
3907
|
mb: "md",
|
|
3835
3908
|
children: [
|
|
3836
3909
|
/* @__PURE__ */ e(
|
|
3837
|
-
|
|
3910
|
+
j.Control,
|
|
3838
3911
|
{
|
|
3839
3912
|
icon: /* @__PURE__ */ e(
|
|
3840
3913
|
S,
|
|
@@ -3848,7 +3921,7 @@ function ra({ id: a, badge: c, subtitle: o, title: i, description: n, questions:
|
|
|
3848
3921
|
children: g.question
|
|
3849
3922
|
}
|
|
3850
3923
|
),
|
|
3851
|
-
/* @__PURE__ */ e(
|
|
3924
|
+
/* @__PURE__ */ e(j.Panel, { c: "gray.6", children: g.answer })
|
|
3852
3925
|
]
|
|
3853
3926
|
},
|
|
3854
3927
|
g.value || b
|
|
@@ -3856,20 +3929,20 @@ function ra({ id: a, badge: c, subtitle: o, title: i, description: n, questions:
|
|
|
3856
3929
|
}
|
|
3857
3930
|
),
|
|
3858
3931
|
/* @__PURE__ */ e(
|
|
3859
|
-
|
|
3932
|
+
j,
|
|
3860
3933
|
{
|
|
3861
3934
|
variant: "separated",
|
|
3862
3935
|
radius: "0",
|
|
3863
3936
|
chevronPosition: "right",
|
|
3864
3937
|
styles: m,
|
|
3865
|
-
children: l.slice(
|
|
3866
|
-
|
|
3938
|
+
children: l.slice(c).map((g, b) => /* @__PURE__ */ r(
|
|
3939
|
+
j.Item,
|
|
3867
3940
|
{
|
|
3868
|
-
value: g.value || String(
|
|
3941
|
+
value: g.value || String(c + b),
|
|
3869
3942
|
mb: "md",
|
|
3870
3943
|
children: [
|
|
3871
3944
|
/* @__PURE__ */ e(
|
|
3872
|
-
|
|
3945
|
+
j.Control,
|
|
3873
3946
|
{
|
|
3874
3947
|
icon: /* @__PURE__ */ e(
|
|
3875
3948
|
S,
|
|
@@ -3883,10 +3956,10 @@ function ra({ id: a, badge: c, subtitle: o, title: i, description: n, questions:
|
|
|
3883
3956
|
children: g.question
|
|
3884
3957
|
}
|
|
3885
3958
|
),
|
|
3886
|
-
/* @__PURE__ */ e(
|
|
3959
|
+
/* @__PURE__ */ e(j.Panel, { c: "gray.6", children: g.answer })
|
|
3887
3960
|
]
|
|
3888
3961
|
},
|
|
3889
|
-
g.value ||
|
|
3962
|
+
g.value || c + b
|
|
3890
3963
|
))
|
|
3891
3964
|
}
|
|
3892
3965
|
)
|
|
@@ -3940,7 +4013,7 @@ function ra({ id: a, badge: c, subtitle: o, title: i, description: n, questions:
|
|
|
3940
4013
|
}
|
|
3941
4014
|
),
|
|
3942
4015
|
/* @__PURE__ */ e(u, { align: { base: "center", md: "flex-end" }, children: /* @__PURE__ */ e(
|
|
3943
|
-
|
|
4016
|
+
M,
|
|
3944
4017
|
{
|
|
3945
4018
|
label: p.cta.label,
|
|
3946
4019
|
href: p.cta.href,
|
|
@@ -3959,13 +4032,13 @@ function ra({ id: a, badge: c, subtitle: o, title: i, description: n, questions:
|
|
|
3959
4032
|
}
|
|
3960
4033
|
);
|
|
3961
4034
|
}
|
|
3962
|
-
function
|
|
4035
|
+
function oa({ id: a, title: s, subtitle: o, items: i = [], background: n = "gray" }) {
|
|
3963
4036
|
return /* @__PURE__ */ e(
|
|
3964
|
-
|
|
4037
|
+
k,
|
|
3965
4038
|
{
|
|
3966
4039
|
id: a,
|
|
3967
4040
|
background: n,
|
|
3968
|
-
title:
|
|
4041
|
+
title: s,
|
|
3969
4042
|
subtitle: o,
|
|
3970
4043
|
children: /* @__PURE__ */ e(
|
|
3971
4044
|
A,
|
|
@@ -4015,7 +4088,7 @@ function aa({ id: a, title: c, subtitle: o, items: i = [], background: n = "gray
|
|
|
4015
4088
|
mt: "xl",
|
|
4016
4089
|
children: [
|
|
4017
4090
|
/* @__PURE__ */ e(
|
|
4018
|
-
|
|
4091
|
+
De,
|
|
4019
4092
|
{
|
|
4020
4093
|
size: "md",
|
|
4021
4094
|
radius: "0",
|
|
@@ -4065,12 +4138,12 @@ const ge = {
|
|
|
4065
4138
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
4066
4139
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
4067
4140
|
};
|
|
4068
|
-
function ve({ id: a, subtitle:
|
|
4141
|
+
function ve({ id: a, subtitle: s, title: o, titleOrder: i = 2, description: n, featuresList: l, featuresLabel: p, cta: d, secondaryCta: h, background: c = "gray", ta: m = "center" }) {
|
|
4069
4142
|
return /* @__PURE__ */ e(
|
|
4070
|
-
|
|
4143
|
+
k,
|
|
4071
4144
|
{
|
|
4072
4145
|
id: a,
|
|
4073
|
-
background:
|
|
4146
|
+
background: c,
|
|
4074
4147
|
ta: "center",
|
|
4075
4148
|
children: /* @__PURE__ */ e(
|
|
4076
4149
|
T,
|
|
@@ -4087,7 +4160,7 @@ function ve({ id: a, subtitle: c, title: o, titleOrder: i = 2, description: n, f
|
|
|
4087
4160
|
ta: m,
|
|
4088
4161
|
gap: "xl",
|
|
4089
4162
|
children: [
|
|
4090
|
-
|
|
4163
|
+
s && /* @__PURE__ */ e(
|
|
4091
4164
|
t,
|
|
4092
4165
|
{
|
|
4093
4166
|
size: "xs",
|
|
@@ -4095,14 +4168,14 @@ function ve({ id: a, subtitle: c, title: o, titleOrder: i = 2, description: n, f
|
|
|
4095
4168
|
tt: "uppercase",
|
|
4096
4169
|
lts: "1.5px",
|
|
4097
4170
|
c: "gray.4",
|
|
4098
|
-
children:
|
|
4171
|
+
children: s
|
|
4099
4172
|
}
|
|
4100
4173
|
),
|
|
4101
4174
|
o && // Title, e não Text: o banner costuma ser a única seção
|
|
4102
4175
|
// da página (um 404, por exemplo) e sem heading ela fica
|
|
4103
4176
|
// sem estrutura para leitor de tela.
|
|
4104
4177
|
/* @__PURE__ */ e(
|
|
4105
|
-
|
|
4178
|
+
D,
|
|
4106
4179
|
{
|
|
4107
4180
|
order: i,
|
|
4108
4181
|
fz: "var(--fz-section-title)",
|
|
@@ -4142,7 +4215,7 @@ function ve({ id: a, subtitle: c, title: o, titleOrder: i = 2, description: n, f
|
|
|
4142
4215
|
size: 24,
|
|
4143
4216
|
radius: "0",
|
|
4144
4217
|
children: /* @__PURE__ */ e(
|
|
4145
|
-
|
|
4218
|
+
H,
|
|
4146
4219
|
{
|
|
4147
4220
|
size: 14,
|
|
4148
4221
|
color: "var(--mantine-color-gray-9)"
|
|
@@ -4179,7 +4252,7 @@ function ve({ id: a, subtitle: c, title: o, titleOrder: i = 2, description: n, f
|
|
|
4179
4252
|
className: "rlg-cta-group",
|
|
4180
4253
|
children: [
|
|
4181
4254
|
d && /* @__PURE__ */ e(
|
|
4182
|
-
|
|
4255
|
+
M,
|
|
4183
4256
|
{
|
|
4184
4257
|
label: d.label,
|
|
4185
4258
|
href: d.href,
|
|
@@ -4195,7 +4268,7 @@ function ve({ id: a, subtitle: c, title: o, titleOrder: i = 2, description: n, f
|
|
|
4195
4268
|
}
|
|
4196
4269
|
),
|
|
4197
4270
|
h && /* @__PURE__ */ e(
|
|
4198
|
-
|
|
4271
|
+
M,
|
|
4199
4272
|
{
|
|
4200
4273
|
label: h.label,
|
|
4201
4274
|
href: h.href,
|
|
@@ -4223,19 +4296,19 @@ function ve({ id: a, subtitle: c, title: o, titleOrder: i = 2, description: n, f
|
|
|
4223
4296
|
}
|
|
4224
4297
|
);
|
|
4225
4298
|
}
|
|
4226
|
-
const
|
|
4227
|
-
function
|
|
4299
|
+
const la = ve;
|
|
4300
|
+
function wr() {
|
|
4228
4301
|
ue(() => {
|
|
4229
4302
|
const a = document.createElement("meta");
|
|
4230
4303
|
return a.name = "robots", a.content = "noindex, follow", document.head.appendChild(a), () => a.remove();
|
|
4231
4304
|
}, []);
|
|
4232
4305
|
}
|
|
4233
|
-
function
|
|
4234
|
-
return
|
|
4306
|
+
function sa({ subtitle: a = "Erro 404", title: s = "Esta página não existe", description: o = "O endereço está errado ou a página saiu do ar. O conteúdo do site está todo na home.", homeHref: i = "/", cta: n, background: l = "white" }) {
|
|
4307
|
+
return wr(), /* @__PURE__ */ e(
|
|
4235
4308
|
ve,
|
|
4236
4309
|
{
|
|
4237
4310
|
subtitle: a,
|
|
4238
|
-
title:
|
|
4311
|
+
title: s,
|
|
4239
4312
|
titleOrder: 1,
|
|
4240
4313
|
description: o,
|
|
4241
4314
|
background: l,
|
|
@@ -4243,7 +4316,7 @@ function na({ subtitle: a = "Erro 404", title: c = "Esta página não existe", d
|
|
|
4243
4316
|
label: "Voltar para a home",
|
|
4244
4317
|
href: i,
|
|
4245
4318
|
leftSection: /* @__PURE__ */ e(
|
|
4246
|
-
|
|
4319
|
+
Ge,
|
|
4247
4320
|
{
|
|
4248
4321
|
size: 18,
|
|
4249
4322
|
stroke: 1.5
|
|
@@ -4253,8 +4326,8 @@ function na({ subtitle: a = "Erro 404", title: c = "Esta página não existe", d
|
|
|
4253
4326
|
}
|
|
4254
4327
|
);
|
|
4255
4328
|
}
|
|
4256
|
-
function
|
|
4257
|
-
const i =
|
|
4329
|
+
function vr({ text: a = "Selo Exclusivo", color: s = "green.6", background: o = "gray" }) {
|
|
4330
|
+
const i = N(o);
|
|
4258
4331
|
return /* @__PURE__ */ e(
|
|
4259
4332
|
x,
|
|
4260
4333
|
{
|
|
@@ -4268,11 +4341,11 @@ function xr({ text: a = "Selo Exclusivo", color: c = "green.6", background: o =
|
|
|
4268
4341
|
/* @__PURE__ */ e(
|
|
4269
4342
|
S,
|
|
4270
4343
|
{
|
|
4271
|
-
color:
|
|
4344
|
+
color: s,
|
|
4272
4345
|
variant: "light",
|
|
4273
4346
|
size: "sm",
|
|
4274
4347
|
children: /* @__PURE__ */ e(
|
|
4275
|
-
|
|
4348
|
+
He,
|
|
4276
4349
|
{
|
|
4277
4350
|
size: 14,
|
|
4278
4351
|
"aria-hidden": "true"
|
|
@@ -4295,9 +4368,9 @@ function xr({ text: a = "Selo Exclusivo", color: c = "green.6", background: o =
|
|
|
4295
4368
|
}
|
|
4296
4369
|
);
|
|
4297
4370
|
}
|
|
4298
|
-
const
|
|
4299
|
-
function
|
|
4300
|
-
const h =
|
|
4371
|
+
const ca = vr;
|
|
4372
|
+
function da({ logo: a, description: s, sections: o = [], socialLinks: i = [], copyrightText: n, madeByText: l, background: p = "white", status: d }) {
|
|
4373
|
+
const h = N(p);
|
|
4301
4374
|
return /* @__PURE__ */ e(
|
|
4302
4375
|
x,
|
|
4303
4376
|
{
|
|
@@ -4314,14 +4387,14 @@ function oa({ logo: a, description: c, sections: o = [], socialLinks: i = [], co
|
|
|
4314
4387
|
children: [
|
|
4315
4388
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
4316
4389
|
a && /* @__PURE__ */ e(re, { logo: a }),
|
|
4317
|
-
|
|
4390
|
+
s && /* @__PURE__ */ e(
|
|
4318
4391
|
t,
|
|
4319
4392
|
{
|
|
4320
4393
|
size: "md",
|
|
4321
4394
|
c: "gray.6",
|
|
4322
4395
|
lh: 1.6,
|
|
4323
4396
|
maw: 400,
|
|
4324
|
-
children:
|
|
4397
|
+
children: s
|
|
4325
4398
|
}
|
|
4326
4399
|
),
|
|
4327
4400
|
d
|
|
@@ -4335,7 +4408,7 @@ function oa({ logo: a, description: c, sections: o = [], socialLinks: i = [], co
|
|
|
4335
4408
|
},
|
|
4336
4409
|
spacing: "xl",
|
|
4337
4410
|
children: [
|
|
4338
|
-
o.map((
|
|
4411
|
+
o.map((c, m) => /* @__PURE__ */ r(
|
|
4339
4412
|
u,
|
|
4340
4413
|
{
|
|
4341
4414
|
gap: "md",
|
|
@@ -4348,10 +4421,10 @@ function oa({ logo: a, description: c, sections: o = [], socialLinks: i = [], co
|
|
|
4348
4421
|
size: "xs",
|
|
4349
4422
|
tt: "uppercase",
|
|
4350
4423
|
lts: "1.5px",
|
|
4351
|
-
children:
|
|
4424
|
+
children: c.title
|
|
4352
4425
|
}
|
|
4353
4426
|
),
|
|
4354
|
-
/* @__PURE__ */ e(u, { gap: "xs", children:
|
|
4427
|
+
/* @__PURE__ */ e(u, { gap: "xs", children: c.links.map((g, b) => /* @__PURE__ */ e(
|
|
4355
4428
|
me,
|
|
4356
4429
|
{
|
|
4357
4430
|
c: "gray.6",
|
|
@@ -4379,18 +4452,18 @@ function oa({ logo: a, description: c, sections: o = [], socialLinks: i = [], co
|
|
|
4379
4452
|
children: "Social"
|
|
4380
4453
|
}
|
|
4381
4454
|
),
|
|
4382
|
-
/* @__PURE__ */ e(f, { gap: "xs", children: i.map((
|
|
4455
|
+
/* @__PURE__ */ e(f, { gap: "xs", children: i.map((c, m) => /* @__PURE__ */ e(
|
|
4383
4456
|
X,
|
|
4384
4457
|
{
|
|
4385
4458
|
size: "md",
|
|
4386
4459
|
variant: "subtle",
|
|
4387
4460
|
color: "gray",
|
|
4388
4461
|
component: "a",
|
|
4389
|
-
href:
|
|
4462
|
+
href: c.href,
|
|
4390
4463
|
target: "_blank",
|
|
4391
4464
|
radius: "0",
|
|
4392
|
-
"aria-label":
|
|
4393
|
-
children:
|
|
4465
|
+
"aria-label": c.label || `Social link ${m + 1}`,
|
|
4466
|
+
children: c.icon
|
|
4394
4467
|
},
|
|
4395
4468
|
m
|
|
4396
4469
|
)) })
|
|
@@ -4402,7 +4475,7 @@ function oa({ logo: a, description: c, sections: o = [], socialLinks: i = [], co
|
|
|
4402
4475
|
}
|
|
4403
4476
|
),
|
|
4404
4477
|
/* @__PURE__ */ e(
|
|
4405
|
-
|
|
4478
|
+
L,
|
|
4406
4479
|
{
|
|
4407
4480
|
my: "xl",
|
|
4408
4481
|
color: "gray.2"
|
|
@@ -4447,8 +4520,8 @@ function oa({ logo: a, description: c, sections: o = [], socialLinks: i = [], co
|
|
|
4447
4520
|
}
|
|
4448
4521
|
);
|
|
4449
4522
|
}
|
|
4450
|
-
function
|
|
4451
|
-
const i =
|
|
4523
|
+
function ha({ companyName: a = "Infrastructure", legalEntity: s, productName: o = "nossos produtos" }) {
|
|
4524
|
+
const i = s || a, n = i.split(" (")[0];
|
|
4452
4525
|
return /* @__PURE__ */ e(
|
|
4453
4526
|
x,
|
|
4454
4527
|
{
|
|
@@ -4457,7 +4530,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: o
|
|
|
4457
4530
|
children: /* @__PURE__ */ e(E, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
4458
4531
|
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
4459
4532
|
/* @__PURE__ */ e(
|
|
4460
|
-
|
|
4533
|
+
D,
|
|
4461
4534
|
{
|
|
4462
4535
|
order: 2,
|
|
4463
4536
|
ta: "center",
|
|
@@ -4486,7 +4559,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: o
|
|
|
4486
4559
|
}
|
|
4487
4560
|
)
|
|
4488
4561
|
] }),
|
|
4489
|
-
/* @__PURE__ */ e(
|
|
4562
|
+
/* @__PURE__ */ e(L, { color: "gray.2" }),
|
|
4490
4563
|
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
4491
4564
|
/* @__PURE__ */ r(
|
|
4492
4565
|
t,
|
|
@@ -4718,7 +4791,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: o
|
|
|
4718
4791
|
}
|
|
4719
4792
|
)
|
|
4720
4793
|
] }),
|
|
4721
|
-
/* @__PURE__ */ e(
|
|
4794
|
+
/* @__PURE__ */ e(L, { color: "gray.2" }),
|
|
4722
4795
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
4723
4796
|
/* @__PURE__ */ e(
|
|
4724
4797
|
t,
|
|
@@ -4752,8 +4825,8 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: o
|
|
|
4752
4825
|
}
|
|
4753
4826
|
);
|
|
4754
4827
|
}
|
|
4755
|
-
function
|
|
4756
|
-
const n =
|
|
4828
|
+
function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o = "nossos produtos", lastUpdated: i = "20 de setembro de 2026" }) {
|
|
4829
|
+
const n = s || a, l = n.split(" (")[0];
|
|
4757
4830
|
return /* @__PURE__ */ e(
|
|
4758
4831
|
x,
|
|
4759
4832
|
{
|
|
@@ -4762,7 +4835,7 @@ function sa({ companyName: a = "Infrastructure", legalEntity: c, productName: o
|
|
|
4762
4835
|
children: /* @__PURE__ */ e(E, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
4763
4836
|
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
4764
4837
|
/* @__PURE__ */ e(
|
|
4765
|
-
|
|
4838
|
+
D,
|
|
4766
4839
|
{
|
|
4767
4840
|
order: 2,
|
|
4768
4841
|
ta: "center",
|
|
@@ -4789,7 +4862,7 @@ function sa({ companyName: a = "Infrastructure", legalEntity: c, productName: o
|
|
|
4789
4862
|
}
|
|
4790
4863
|
)
|
|
4791
4864
|
] }),
|
|
4792
|
-
/* @__PURE__ */ e(
|
|
4865
|
+
/* @__PURE__ */ e(L, { color: "gray.2" }),
|
|
4793
4866
|
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
4794
4867
|
/* @__PURE__ */ r(
|
|
4795
4868
|
t,
|
|
@@ -5085,7 +5158,7 @@ function sa({ companyName: a = "Infrastructure", legalEntity: c, productName: o
|
|
|
5085
5158
|
}
|
|
5086
5159
|
)
|
|
5087
5160
|
] }),
|
|
5088
|
-
/* @__PURE__ */ e(
|
|
5161
|
+
/* @__PURE__ */ e(L, { color: "gray.2" }),
|
|
5089
5162
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
5090
5163
|
/* @__PURE__ */ e(
|
|
5091
5164
|
t,
|
|
@@ -5119,8 +5192,8 @@ function sa({ companyName: a = "Infrastructure", legalEntity: c, productName: o
|
|
|
5119
5192
|
}
|
|
5120
5193
|
);
|
|
5121
5194
|
}
|
|
5122
|
-
function
|
|
5123
|
-
const i =
|
|
5195
|
+
function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o = "nossos produtos" }) {
|
|
5196
|
+
const i = s || a;
|
|
5124
5197
|
return i.split(" (")[0], /* @__PURE__ */ e(
|
|
5125
5198
|
x,
|
|
5126
5199
|
{
|
|
@@ -5129,7 +5202,7 @@ function ca({ companyName: a = "Infrastructure", legalEntity: c, productName: o
|
|
|
5129
5202
|
children: /* @__PURE__ */ e(E, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
5130
5203
|
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
5131
5204
|
/* @__PURE__ */ e(
|
|
5132
|
-
|
|
5205
|
+
D,
|
|
5133
5206
|
{
|
|
5134
5207
|
order: 2,
|
|
5135
5208
|
ta: "center",
|
|
@@ -5156,7 +5229,7 @@ function ca({ companyName: a = "Infrastructure", legalEntity: c, productName: o
|
|
|
5156
5229
|
}
|
|
5157
5230
|
)
|
|
5158
5231
|
] }),
|
|
5159
|
-
/* @__PURE__ */ e(
|
|
5232
|
+
/* @__PURE__ */ e(L, { color: "gray.2" }),
|
|
5160
5233
|
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
5161
5234
|
/* @__PURE__ */ r(
|
|
5162
5235
|
t,
|
|
@@ -5385,7 +5458,7 @@ function ca({ companyName: a = "Infrastructure", legalEntity: c, productName: o
|
|
|
5385
5458
|
}
|
|
5386
5459
|
)
|
|
5387
5460
|
] }),
|
|
5388
|
-
/* @__PURE__ */ e(
|
|
5461
|
+
/* @__PURE__ */ e(L, { color: "gray.2" }),
|
|
5389
5462
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
5390
5463
|
/* @__PURE__ */ r(f, { gap: "sm", children: [
|
|
5391
5464
|
/* @__PURE__ */ e(S, { variant: "transparent", color: "gray.9", children: /* @__PURE__ */ e(nr, { size: 18 }) }),
|
|
@@ -5420,23 +5493,23 @@ function ca({ companyName: a = "Infrastructure", legalEntity: c, productName: o
|
|
|
5420
5493
|
}
|
|
5421
5494
|
);
|
|
5422
5495
|
}
|
|
5423
|
-
const
|
|
5424
|
-
function
|
|
5425
|
-
const [i, n] =
|
|
5496
|
+
const zr = 6, Sr = 2e3;
|
|
5497
|
+
function ma(a, { intervalMs: s = 3e4, maxSamples: o = 40 } = {}) {
|
|
5498
|
+
const [i, n] = G({ status: "loading", checks: [], checkedAt: null, error: null, loading: !0 }), [l, p] = G([]), d = Oe([]);
|
|
5426
5499
|
return ue(() => {
|
|
5427
5500
|
if (!a) return;
|
|
5428
5501
|
d.current = [], p([]);
|
|
5429
5502
|
let h = !1;
|
|
5430
|
-
const
|
|
5503
|
+
const c = (I) => {
|
|
5431
5504
|
d.current = [...d.current, I].slice(-o), p(d.current);
|
|
5432
5505
|
}, m = () => (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit", second: "2-digit" }), g = async () => {
|
|
5433
5506
|
const I = Date.now();
|
|
5434
5507
|
try {
|
|
5435
|
-
const
|
|
5436
|
-
if (!
|
|
5437
|
-
const w = await
|
|
5508
|
+
const q = await fetch(a, { headers: { accept: "application/json" } });
|
|
5509
|
+
if (!q.ok) throw new Error(`HTTP ${q.status}`);
|
|
5510
|
+
const w = await q.json();
|
|
5438
5511
|
if (h) return;
|
|
5439
|
-
b ? b = !1 :
|
|
5512
|
+
b ? b = !1 : c({ time: m(), ms: Date.now() - I, up: w.status !== "down" }), n({
|
|
5440
5513
|
status: w.status || "operational",
|
|
5441
5514
|
checks: w.checks || [],
|
|
5442
5515
|
checkedAt: w.checkedAt || null,
|
|
@@ -5446,30 +5519,30 @@ function da(a, { intervalMs: c = 3e4, maxSamples: o = 40 } = {}) {
|
|
|
5446
5519
|
});
|
|
5447
5520
|
} catch {
|
|
5448
5521
|
if (h) return;
|
|
5449
|
-
b = !1,
|
|
5522
|
+
b = !1, c({ time: m(), ms: Date.now() - I, up: !1 }), n((w) => ({ ...w, error: "unreachable", loading: !1 }));
|
|
5450
5523
|
}
|
|
5451
5524
|
};
|
|
5452
5525
|
let b = !0, y = 0, v;
|
|
5453
|
-
const
|
|
5454
|
-
await g(), !h && (y += 1, v = setTimeout(
|
|
5526
|
+
const F = async () => {
|
|
5527
|
+
await g(), !h && (y += 1, v = setTimeout(F, y < zr ? Sr : s));
|
|
5455
5528
|
};
|
|
5456
|
-
return
|
|
5529
|
+
return F(), () => {
|
|
5457
5530
|
h = !0, clearTimeout(v);
|
|
5458
5531
|
};
|
|
5459
|
-
}, [a,
|
|
5532
|
+
}, [a, s, o]), {
|
|
5460
5533
|
...i,
|
|
5461
5534
|
latency: l.map((h) => ({ time: h.time, ms: h.ms })),
|
|
5462
5535
|
// A "disponibilidade" aqui é a das amostras desta sessão, agrupadas em
|
|
5463
5536
|
// blocos — não um SLA de 90 dias. O rótulo na página diz isso.
|
|
5464
|
-
uptime:
|
|
5537
|
+
uptime: Ir(l),
|
|
5465
5538
|
// 1 = respondeu, 0.25 = falhou. Zero puro sumiria da barra e a falha
|
|
5466
5539
|
// ficaria invisível justamente quando importa.
|
|
5467
5540
|
history: l.map((h) => h.up ? 1 : 0.25)
|
|
5468
5541
|
};
|
|
5469
5542
|
}
|
|
5470
|
-
function
|
|
5543
|
+
function Ir(a, s = 12) {
|
|
5471
5544
|
if (a.length === 0) return [];
|
|
5472
|
-
const o = Math.max(1, Math.ceil(a.length /
|
|
5545
|
+
const o = Math.max(1, Math.ceil(a.length / s)), i = [];
|
|
5473
5546
|
for (let n = 0; n < a.length; n += o) {
|
|
5474
5547
|
const l = a.slice(n, n + o), p = l.filter((d) => d.up).length;
|
|
5475
5548
|
i.push({ day: l[l.length - 1].time, pct: p / l.length * 100 });
|
|
@@ -5477,48 +5550,52 @@ function vr(a, c = 12) {
|
|
|
5477
5550
|
return i;
|
|
5478
5551
|
}
|
|
5479
5552
|
export {
|
|
5480
|
-
|
|
5553
|
+
Rr as AuthLoader,
|
|
5481
5554
|
re as BrandLogo,
|
|
5482
5555
|
ve as CTABanner,
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5556
|
+
M as CTAButton,
|
|
5557
|
+
Zr as Callout,
|
|
5558
|
+
dr as CodeBlock,
|
|
5559
|
+
pr as ColorSchemeToggle,
|
|
5560
|
+
ta as Comparison,
|
|
5561
|
+
Jr as CriteriaList,
|
|
5562
|
+
ia as FAQ,
|
|
5563
|
+
_r as FeatureSplit,
|
|
5564
|
+
Gr as FeaturesGrid,
|
|
5565
|
+
da as Footer,
|
|
5566
|
+
ea as FounderCard,
|
|
5567
|
+
gr as Header,
|
|
5568
|
+
Wr as Hero,
|
|
5569
|
+
lr as LOGOTYPE_SIGNATURE,
|
|
5570
|
+
$r as Layout,
|
|
5571
|
+
aa as LeadForm,
|
|
5572
|
+
ha as LegalPrivacy,
|
|
5573
|
+
ga as LegalSecurity,
|
|
5574
|
+
pa as LegalTerms,
|
|
5575
|
+
Or as Logotype,
|
|
5576
|
+
sr as LogotypeBolt,
|
|
5501
5577
|
be as MediaBlock,
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5578
|
+
Vr as Navbar,
|
|
5579
|
+
sa as NotFound,
|
|
5580
|
+
Xr as PlatformShelf,
|
|
5581
|
+
na as Pricing,
|
|
5582
|
+
Yr as ProductGrid,
|
|
5507
5583
|
Z as SECTION_BACKGROUNDS,
|
|
5508
|
-
|
|
5509
|
-
|
|
5584
|
+
la as SecondaryCTA,
|
|
5585
|
+
k as Section,
|
|
5510
5586
|
xe as SectionHeader,
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5587
|
+
ca as SeloExclusivo,
|
|
5588
|
+
Ur as SocialProof,
|
|
5589
|
+
Hr as StatsGrid,
|
|
5590
|
+
Kr as StatusBoard,
|
|
5591
|
+
Qr as StatusIndicator,
|
|
5592
|
+
ra as Steps,
|
|
5593
|
+
oa as Testimonials,
|
|
5594
|
+
vr as TrustBadge,
|
|
5519
5595
|
or as Wordmark,
|
|
5520
|
-
|
|
5596
|
+
cr as logotypeSignaturePx,
|
|
5597
|
+
N as resolveBackground,
|
|
5521
5598
|
ee as scrollBehavior,
|
|
5522
|
-
|
|
5523
|
-
|
|
5599
|
+
Nr as theme,
|
|
5600
|
+
ma as useServiceStatus
|
|
5524
5601
|
};
|