@ciromaciel/components-kit 1.8.2 → 1.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components-kit.css +1 -1
- package/dist/index.esm.js +245 -232
- package/dist/index.js +3 -3
- 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 H, IconCopy as
|
|
6
|
-
import { AreaChart as
|
|
7
|
-
const
|
|
1
|
+
import { createTheme as Se, 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 Ie, Tooltip as te, ActionIcon as J, useMantineColorScheme as Te, Container as E, Flex as Ae, Loader as ke, Paper as T, SimpleGrid as A, Image as _, List as $, ThemeIcon as S, Grid as z, RingProgress as Fe, Anchor as ue, UnstyledButton as Ce, TextInput as ie, Divider as L, SegmentedControl as De, Accordion as j, Avatar as qe } from "@mantine/core";
|
|
2
|
+
import { jsxs as r, jsx as e, Fragment as oe } from "react/jsx-runtime";
|
|
3
|
+
import { useReducedMotion as Be, useMounted as Ee, useColorScheme as Pe, useWindowScroll as Le, useMediaQuery as Me } from "@mantine/hooks";
|
|
4
|
+
import { isValidElement as je, useState as G, useMemo as Ne, Fragment as Oe, useEffect as fe, useRef as Re } from "react";
|
|
5
|
+
import { IconCheck as H, IconCopy as $e, IconMoon as Ve, IconSun as We, IconDeviceDesktop as Ue, IconArrowUpRight as _e, IconShieldCheck as ye, IconBolt as le, IconQuote as Ge, IconArrowLeft as He, IconCircleCheck as Ke, IconCloudLock as xe, IconEyeOff as Qe, IconUserShield as Ye, IconScale as Xe, IconUserCheck as Je, IconFileDescription as Ze, IconBan as er, IconAlertCircle as rr, IconShieldLock as ar, IconDatabase as tr, IconUsers as nr, IconActivity as ir } from "@tabler/icons-react";
|
|
6
|
+
import { AreaChart as or } from "@mantine/charts";
|
|
7
|
+
const Or = Se({
|
|
8
8
|
// As transições do próprio Mantine (Modal, Menu, Popover) também seguem
|
|
9
9
|
// "Reduzir movimento".
|
|
10
10
|
respectReducedMotion: !0,
|
|
@@ -236,7 +236,7 @@ const Nr = ze({
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
|
-
function
|
|
239
|
+
function be({ badge: a, subtitle: s, title: o, titleOrder: i = 2, titleFz: n = "var(--fz-section-title)", ta: l = "left", maw: p }) {
|
|
240
240
|
return !o && !s && !a ? null : /* @__PURE__ */ r(
|
|
241
241
|
u,
|
|
242
242
|
{
|
|
@@ -285,8 +285,8 @@ function xe({ badge: a, subtitle: s, title: o, titleOrder: i = 2, titleFz: n = "
|
|
|
285
285
|
}
|
|
286
286
|
);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
289
|
-
const l =
|
|
288
|
+
function we({ video: a, image: s, width: o = "100%", maw: i, alt: n }) {
|
|
289
|
+
const l = Be();
|
|
290
290
|
return a ? /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
291
291
|
x,
|
|
292
292
|
{
|
|
@@ -349,7 +349,7 @@ function M({
|
|
|
349
349
|
}
|
|
350
350
|
);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function lr({ children: a, fz: s = 28, c: o = "gray.9", ...i }) {
|
|
353
353
|
return /* @__PURE__ */ e(
|
|
354
354
|
t,
|
|
355
355
|
{
|
|
@@ -365,8 +365,8 @@ function or({ children: a, fz: s = 28, c: o = "gray.9", ...i }) {
|
|
|
365
365
|
}
|
|
366
366
|
);
|
|
367
367
|
}
|
|
368
|
-
function
|
|
369
|
-
return a ?
|
|
368
|
+
function ae({ logo: a, objectPosition: s = "left" }) {
|
|
369
|
+
return a ? je(a) ? a : typeof a == "object" && a.src ? /* @__PURE__ */ e(
|
|
370
370
|
"img",
|
|
371
371
|
{
|
|
372
372
|
src: a.src,
|
|
@@ -377,8 +377,8 @@ function re({ logo: a, objectPosition: s = "left" }) {
|
|
|
377
377
|
}
|
|
378
378
|
) : a : null;
|
|
379
379
|
}
|
|
380
|
-
const
|
|
381
|
-
function
|
|
380
|
+
const sr = "by Ciro Cesar Maciel";
|
|
381
|
+
function cr(a) {
|
|
382
382
|
return /* @__PURE__ */ e(
|
|
383
383
|
"svg",
|
|
384
384
|
{
|
|
@@ -400,8 +400,8 @@ function sr(a) {
|
|
|
400
400
|
}
|
|
401
401
|
);
|
|
402
402
|
}
|
|
403
|
-
const
|
|
404
|
-
function
|
|
403
|
+
const dr = (a) => Math.max(11, Math.round(0.21 * a * 10) / 10);
|
|
404
|
+
function Rr({ word: a, height: s = 40, signature: o = sr, style: i, ...n }) {
|
|
405
405
|
return /* @__PURE__ */ r(
|
|
406
406
|
"span",
|
|
407
407
|
{
|
|
@@ -421,7 +421,7 @@ function Or({ word: a, height: s = 40, signature: o = lr, style: i, ...n }) {
|
|
|
421
421
|
...i
|
|
422
422
|
},
|
|
423
423
|
children: [
|
|
424
|
-
/* @__PURE__ */ e(
|
|
424
|
+
/* @__PURE__ */ e(cr, { style: { height: "1.6em", width: "auto", flex: "none" } }),
|
|
425
425
|
/* @__PURE__ */ r("span", { style: { display: "grid", justifyItems: "start" }, children: [
|
|
426
426
|
/* @__PURE__ */ e(
|
|
427
427
|
"span",
|
|
@@ -437,7 +437,7 @@ function Or({ word: a, height: s = 40, signature: o = lr, style: i, ...n }) {
|
|
|
437
437
|
"data-logotype-signature": "",
|
|
438
438
|
style: {
|
|
439
439
|
fontWeight: 700,
|
|
440
|
-
fontSize:
|
|
440
|
+
fontSize: dr(s),
|
|
441
441
|
letterSpacing: "0.01em",
|
|
442
442
|
marginTop: "0.35em",
|
|
443
443
|
color: "var(--mantine-color-gray-6)"
|
|
@@ -450,7 +450,7 @@ function Or({ word: a, height: s = 40, signature: o = lr, style: i, ...n }) {
|
|
|
450
450
|
}
|
|
451
451
|
);
|
|
452
452
|
}
|
|
453
|
-
function
|
|
453
|
+
function hr({ children: a, label: s, chrome: o = !0, copy: i = !0, variant: n = "dark", style: l }) {
|
|
454
454
|
const p = typeof a == "string" ? a : String(a ?? ""), d = p.split(`
|
|
455
455
|
`).filter((g) => g.trimStart().startsWith("$ ")), h = d.length ? d.map((g) => g.trimStart().slice(2)).join(`
|
|
456
456
|
`) : p, c = n === "dark", m = c ? {
|
|
@@ -527,18 +527,18 @@ function dr({ children: a, label: s, chrome: o = !0, copy: i = !0, variant: n =
|
|
|
527
527
|
}
|
|
528
528
|
),
|
|
529
529
|
i && /* @__PURE__ */ e(
|
|
530
|
-
|
|
530
|
+
Ie,
|
|
531
531
|
{
|
|
532
532
|
value: h,
|
|
533
533
|
timeout: 1600,
|
|
534
534
|
children: ({ copied: g, copy: b }) => /* @__PURE__ */ e(
|
|
535
|
-
|
|
535
|
+
te,
|
|
536
536
|
{
|
|
537
537
|
label: g ? "Copiado" : "Copiar",
|
|
538
538
|
withArrow: !0,
|
|
539
539
|
position: "left",
|
|
540
540
|
children: /* @__PURE__ */ e(
|
|
541
|
-
|
|
541
|
+
J,
|
|
542
542
|
{
|
|
543
543
|
variant: "subtle",
|
|
544
544
|
size: "sm",
|
|
@@ -548,7 +548,7 @@ function dr({ children: a, label: s, chrome: o = !0, copy: i = !0, variant: n =
|
|
|
548
548
|
style: {
|
|
549
549
|
color: g ? "var(--mantine-color-green-4)" : m.label
|
|
550
550
|
},
|
|
551
|
-
children: g ? /* @__PURE__ */ e(H, { size: 14 }) : /* @__PURE__ */ e(
|
|
551
|
+
children: g ? /* @__PURE__ */ e(H, { size: 14 }) : /* @__PURE__ */ e($e, { size: 14 })
|
|
552
552
|
}
|
|
553
553
|
)
|
|
554
554
|
}
|
|
@@ -581,18 +581,18 @@ function dr({ children: a, label: s, chrome: o = !0, copy: i = !0, variant: n =
|
|
|
581
581
|
}
|
|
582
582
|
);
|
|
583
583
|
}
|
|
584
|
-
const
|
|
585
|
-
function
|
|
586
|
-
const { colorScheme: o, setColorScheme: i } =
|
|
584
|
+
const se = { auto: "Automático", light: "Claro", dark: "Escuro" }, pr = { auto: Ue, light: We, dark: Ve };
|
|
585
|
+
function gr({ size: a = 36, ...s }) {
|
|
586
|
+
const { colorScheme: o, setColorScheme: i } = Te(), n = Ee(), l = Pe("light"), p = n ? o : "auto", d = l === "dark" ? "light" : "dark", h = { auto: d, [d]: l, [l]: "auto" }[p] ?? "auto", c = pr[p], m = `Tema: ${se[p]}. Mudar para ${se[h]}.`;
|
|
587
587
|
return /* @__PURE__ */ e(
|
|
588
|
-
|
|
588
|
+
te,
|
|
589
589
|
{
|
|
590
590
|
label: m,
|
|
591
591
|
position: "top",
|
|
592
592
|
withArrow: !1,
|
|
593
593
|
events: { hover: !0, focus: !0, touch: !0 },
|
|
594
594
|
children: /* @__PURE__ */ e(
|
|
595
|
-
|
|
595
|
+
J,
|
|
596
596
|
{
|
|
597
597
|
"data-color-scheme-toggle": !0,
|
|
598
598
|
variant: "subtle",
|
|
@@ -615,14 +615,14 @@ function pr({ size: a = 36, ...s }) {
|
|
|
615
615
|
}
|
|
616
616
|
);
|
|
617
617
|
}
|
|
618
|
-
const
|
|
618
|
+
const R = {
|
|
619
619
|
// gray.0 e nao 'white': os dois sao #FFFFFF no claro, mas no escuro
|
|
620
620
|
// 'white' e a superficie ELEVADA (cartao, modal), e o palco e a base.
|
|
621
621
|
white: "gray.0",
|
|
622
622
|
gray: "gray.1"
|
|
623
|
-
},
|
|
623
|
+
}, Z = (a) => a === "gray.9" || a === "dark" ? R.gray : a === "white" || a === R.white ? R.white : R.gray, Y = (a) => a === "gray" || a === R.gray ? R.gray : "white";
|
|
624
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 =
|
|
625
|
+
const m = Z(l);
|
|
626
626
|
return /* @__PURE__ */ e(
|
|
627
627
|
x,
|
|
628
628
|
{
|
|
@@ -633,7 +633,7 @@ function k({ children: a, badge: s, title: o, subtitle: i, id: n, background: l
|
|
|
633
633
|
style: { overflow: "hidden" },
|
|
634
634
|
children: /* @__PURE__ */ e(E, { size: "lg", children: /* @__PURE__ */ r(u, { gap: c, children: [
|
|
635
635
|
/* @__PURE__ */ e(
|
|
636
|
-
|
|
636
|
+
be,
|
|
637
637
|
{
|
|
638
638
|
badge: s,
|
|
639
639
|
subtitle: i,
|
|
@@ -647,9 +647,9 @@ function k({ children: a, badge: s, title: o, subtitle: i, id: n, background: l
|
|
|
647
647
|
}
|
|
648
648
|
);
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function $r({ brand: a, label: s = "Verificando sua sessão...", ...o }) {
|
|
651
651
|
return /* @__PURE__ */ e(
|
|
652
|
-
|
|
652
|
+
Ae,
|
|
653
653
|
{
|
|
654
654
|
h: "100dvh",
|
|
655
655
|
justify: "center",
|
|
@@ -662,7 +662,7 @@ function Rr({ brand: a, label: s = "Verificando sua sessão...", ...o }) {
|
|
|
662
662
|
gap: "md",
|
|
663
663
|
children: [
|
|
664
664
|
a ? /* @__PURE__ */ e(
|
|
665
|
-
|
|
665
|
+
lr,
|
|
666
666
|
{
|
|
667
667
|
fz: 11,
|
|
668
668
|
fw: 800,
|
|
@@ -674,7 +674,7 @@ function Rr({ brand: a, label: s = "Verificando sua sessão...", ...o }) {
|
|
|
674
674
|
children: a
|
|
675
675
|
}
|
|
676
676
|
) : null,
|
|
677
|
-
/* @__PURE__ */ e(
|
|
677
|
+
/* @__PURE__ */ e(ke, { size: "sm" }),
|
|
678
678
|
/* @__PURE__ */ e(
|
|
679
679
|
t,
|
|
680
680
|
{
|
|
@@ -691,7 +691,7 @@ function Rr({ brand: a, label: s = "Verificando sua sessão...", ...o }) {
|
|
|
691
691
|
}
|
|
692
692
|
);
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function Vr({ children: a, style: s, ...o }) {
|
|
695
695
|
return /* @__PURE__ */ e(
|
|
696
696
|
x,
|
|
697
697
|
{
|
|
@@ -706,13 +706,13 @@ function $r({ children: a, style: s, ...o }) {
|
|
|
706
706
|
}
|
|
707
707
|
);
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function re() {
|
|
710
710
|
return typeof window > "u" || !window.matchMedia || window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth";
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function ce({ cta: a, filled: s }) {
|
|
713
713
|
const { icon: o, label: i, labelMobile: n, component: l, ...p } = a;
|
|
714
714
|
return /* @__PURE__ */ e(
|
|
715
|
-
|
|
715
|
+
J,
|
|
716
716
|
{
|
|
717
717
|
...p,
|
|
718
718
|
component: l || (a.href ? "a" : "button"),
|
|
@@ -733,9 +733,9 @@ function se({ cta: a, filled: s }) {
|
|
|
733
733
|
}
|
|
734
734
|
);
|
|
735
735
|
}
|
|
736
|
-
function
|
|
737
|
-
const h =
|
|
738
|
-
y === "top" ? window.scrollTo({ top: 0, behavior:
|
|
736
|
+
function mr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n, background: l = "white", logoMinWidth: p = 176, withColorScheme: d = !0 }) {
|
|
737
|
+
const h = Z(l), [c] = Le(), m = c.y > 10, g = (y) => {
|
|
738
|
+
y === "top" ? window.scrollTo({ top: 0, behavior: re() }) : document.getElementById(y)?.scrollIntoView({ behavior: re() });
|
|
739
739
|
}, b = (y, v) => {
|
|
740
740
|
(y.key === "Enter" || y.key === " ") && (y.preventDefault(), g(v));
|
|
741
741
|
};
|
|
@@ -780,7 +780,7 @@ function gr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
780
780
|
...F,
|
|
781
781
|
"aria-label": "Ir para a página inicial",
|
|
782
782
|
style: y,
|
|
783
|
-
children: /* @__PURE__ */ e(
|
|
783
|
+
children: /* @__PURE__ */ e(ae, { logo: a })
|
|
784
784
|
}
|
|
785
785
|
);
|
|
786
786
|
}
|
|
@@ -790,10 +790,10 @@ function gr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
790
790
|
href: "#",
|
|
791
791
|
"aria-label": "Voltar ao topo",
|
|
792
792
|
onClick: (v) => {
|
|
793
|
-
v.preventDefault(), window.scrollTo({ top: 0, behavior:
|
|
793
|
+
v.preventDefault(), window.scrollTo({ top: 0, behavior: re() });
|
|
794
794
|
},
|
|
795
795
|
style: y,
|
|
796
|
-
children: /* @__PURE__ */ e(
|
|
796
|
+
children: /* @__PURE__ */ e(ae, { logo: a })
|
|
797
797
|
}
|
|
798
798
|
);
|
|
799
799
|
})(),
|
|
@@ -840,7 +840,7 @@ function gr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
840
840
|
wrap: "nowrap",
|
|
841
841
|
style: { flexShrink: 0 },
|
|
842
842
|
children: [
|
|
843
|
-
d && /* @__PURE__ */ e(
|
|
843
|
+
d && /* @__PURE__ */ e(gr, {}),
|
|
844
844
|
i && /* @__PURE__ */ r(
|
|
845
845
|
x,
|
|
846
846
|
{
|
|
@@ -862,7 +862,7 @@ function gr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
862
862
|
children: i.label
|
|
863
863
|
}
|
|
864
864
|
),
|
|
865
|
-
i.icon && /* @__PURE__ */ e(
|
|
865
|
+
i.icon && /* @__PURE__ */ e(ce, { cta: i })
|
|
866
866
|
]
|
|
867
867
|
}
|
|
868
868
|
),
|
|
@@ -909,7 +909,7 @@ function gr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
909
909
|
}
|
|
910
910
|
),
|
|
911
911
|
n.icon && /* @__PURE__ */ e(
|
|
912
|
-
|
|
912
|
+
ce,
|
|
913
913
|
{
|
|
914
914
|
cta: n,
|
|
915
915
|
filled: !0
|
|
@@ -931,12 +931,12 @@ function gr({ logo: a, logoLink: s, navLinks: o = [], loginCta: i, signupCta: n,
|
|
|
931
931
|
}
|
|
932
932
|
);
|
|
933
933
|
}
|
|
934
|
-
const
|
|
934
|
+
const Wr = mr, de = {
|
|
935
935
|
root: { height: "auto", maxWidth: "100%" },
|
|
936
936
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
937
937
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
938
938
|
};
|
|
939
|
-
function
|
|
939
|
+
function Ur({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, note: l, video: p, image: d, background: h = "white", mediaMaw: c, titleFz: m = "var(--fz-hero)", descriptionFz: g = "xl" }) {
|
|
940
940
|
const b = !!(p || d);
|
|
941
941
|
return /* @__PURE__ */ e(
|
|
942
942
|
x,
|
|
@@ -960,7 +960,7 @@ function Wr({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, no
|
|
|
960
960
|
ta: b ? { base: "center", md: "left" } : "center",
|
|
961
961
|
children: [
|
|
962
962
|
/* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
963
|
-
|
|
963
|
+
be,
|
|
964
964
|
{
|
|
965
965
|
subtitle: a,
|
|
966
966
|
title: s,
|
|
@@ -1002,7 +1002,7 @@ function Wr({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, no
|
|
|
1002
1002
|
px: i.px || 48,
|
|
1003
1003
|
variant: i.variant,
|
|
1004
1004
|
color: i.color,
|
|
1005
|
-
styles:
|
|
1005
|
+
styles: de
|
|
1006
1006
|
}
|
|
1007
1007
|
),
|
|
1008
1008
|
n && /* @__PURE__ */ e(
|
|
@@ -1018,7 +1018,7 @@ function Wr({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, no
|
|
|
1018
1018
|
px: n.px || 48,
|
|
1019
1019
|
variant: n.variant || "default",
|
|
1020
1020
|
color: n.color,
|
|
1021
|
-
styles:
|
|
1021
|
+
styles: de
|
|
1022
1022
|
}
|
|
1023
1023
|
)
|
|
1024
1024
|
]
|
|
@@ -1039,7 +1039,7 @@ function Wr({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, no
|
|
|
1039
1039
|
}
|
|
1040
1040
|
),
|
|
1041
1041
|
b && /* @__PURE__ */ e(
|
|
1042
|
-
|
|
1042
|
+
we,
|
|
1043
1043
|
{
|
|
1044
1044
|
video: p,
|
|
1045
1045
|
image: d,
|
|
@@ -1053,7 +1053,7 @@ function Wr({ subtitle: a, title: s, description: o, cta: i, secondaryCta: n, no
|
|
|
1053
1053
|
}
|
|
1054
1054
|
);
|
|
1055
1055
|
}
|
|
1056
|
-
function
|
|
1056
|
+
function ur({ logo: a, index: s }) {
|
|
1057
1057
|
const o = {
|
|
1058
1058
|
src: a.src,
|
|
1059
1059
|
alt: a.alt || `Logo ${s}`,
|
|
@@ -1081,7 +1081,7 @@ function mr({ logo: a, index: s }) {
|
|
|
1081
1081
|
}
|
|
1082
1082
|
) }) : /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(_, { ...o }) });
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function _r({ id: a, title: s, logos: o, background: i = "gray" }) {
|
|
1085
1085
|
return !o || o.length === 0 ? null : /* @__PURE__ */ e(
|
|
1086
1086
|
x,
|
|
1087
1087
|
{
|
|
@@ -1116,7 +1116,7 @@ function Ur({ id: a, title: s, logos: o, background: i = "gray" }) {
|
|
|
1116
1116
|
style: { rowGap: 40 },
|
|
1117
1117
|
w: "100%",
|
|
1118
1118
|
children: o.map((n, l) => /* @__PURE__ */ e(
|
|
1119
|
-
|
|
1119
|
+
ur,
|
|
1120
1120
|
{
|
|
1121
1121
|
logo: n,
|
|
1122
1122
|
index: l
|
|
@@ -1131,7 +1131,7 @@ function Ur({ id: a, title: s, logos: o, background: i = "gray" }) {
|
|
|
1131
1131
|
}
|
|
1132
1132
|
);
|
|
1133
1133
|
}
|
|
1134
|
-
function
|
|
1134
|
+
function Gr({ id: a, subtitle: s, title: o, description: i, descriptionFz: n, featuresList: l, cta: p, video: d, image: h, reverse: c = !1, background: m = "white", mediaMaw: g }) {
|
|
1135
1135
|
const b = l && l.length > 0 && /* @__PURE__ */ e(
|
|
1136
1136
|
$,
|
|
1137
1137
|
{
|
|
@@ -1209,7 +1209,7 @@ function _r({ id: a, subtitle: s, title: o, description: i, descriptionFz: n, fe
|
|
|
1209
1209
|
imagem de 52 a 338 (286px). A imagem não vazava — estava estreita
|
|
1210
1210
|
demais para o lugar onde tinha ido parar. */
|
|
1211
1211
|
/* @__PURE__ */ e(
|
|
1212
|
-
|
|
1212
|
+
we,
|
|
1213
1213
|
{
|
|
1214
1214
|
video: d,
|
|
1215
1215
|
image: h,
|
|
@@ -1230,10 +1230,10 @@ function _r({ id: a, subtitle: s, title: o, description: i, descriptionFz: n, fe
|
|
|
1230
1230
|
cols: { base: 1, md: 2 },
|
|
1231
1231
|
spacing: { base: 40, md: 80 },
|
|
1232
1232
|
verticalSpacing: { base: 40, md: 50 },
|
|
1233
|
-
children: c ? /* @__PURE__ */ r(
|
|
1233
|
+
children: c ? /* @__PURE__ */ r(oe, { children: [
|
|
1234
1234
|
v,
|
|
1235
1235
|
y
|
|
1236
|
-
] }) : /* @__PURE__ */ r(
|
|
1236
|
+
] }) : /* @__PURE__ */ r(oe, { children: [
|
|
1237
1237
|
y,
|
|
1238
1238
|
v
|
|
1239
1239
|
] })
|
|
@@ -1242,7 +1242,7 @@ function _r({ id: a, subtitle: s, title: o, description: i, descriptionFz: n, fe
|
|
|
1242
1242
|
}
|
|
1243
1243
|
);
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1245
|
+
function Hr({ id: a, badge: s, subtitle: o, title: i, description: n, background: l = "gray", items: p = [], ta: d = "left", note: h }) {
|
|
1246
1246
|
return /* @__PURE__ */ r(
|
|
1247
1247
|
k,
|
|
1248
1248
|
{
|
|
@@ -1268,7 +1268,7 @@ function Gr({ id: a, badge: s, subtitle: o, title: i, description: n, background
|
|
|
1268
1268
|
}
|
|
1269
1269
|
),
|
|
1270
1270
|
/* @__PURE__ */ e(z, { gutter: "lg", children: p.map((c, m) => /* @__PURE__ */ e(
|
|
1271
|
-
|
|
1271
|
+
fr,
|
|
1272
1272
|
{
|
|
1273
1273
|
...c
|
|
1274
1274
|
},
|
|
@@ -1291,7 +1291,7 @@ function Gr({ id: a, badge: s, subtitle: o, title: i, description: n, background
|
|
|
1291
1291
|
}
|
|
1292
1292
|
);
|
|
1293
1293
|
}
|
|
1294
|
-
function
|
|
1294
|
+
function fr({
|
|
1295
1295
|
icon: a,
|
|
1296
1296
|
iconVariant: s,
|
|
1297
1297
|
iconColor: o,
|
|
@@ -1316,9 +1316,9 @@ function ur({
|
|
|
1316
1316
|
codeSpan: q = 6,
|
|
1317
1317
|
// Rotulo da barra do terminal (ex: "bash", "index.js").
|
|
1318
1318
|
codeLabel: w,
|
|
1319
|
-
decorativeContent:
|
|
1319
|
+
decorativeContent: N,
|
|
1320
1320
|
style: C,
|
|
1321
|
-
...
|
|
1321
|
+
...O
|
|
1322
1322
|
}) {
|
|
1323
1323
|
const K = /* @__PURE__ */ r(x, { children: [
|
|
1324
1324
|
a && /* @__PURE__ */ e(
|
|
@@ -1357,7 +1357,7 @@ function ur({
|
|
|
1357
1357
|
fw: 900,
|
|
1358
1358
|
lh: 1.2,
|
|
1359
1359
|
mb: "sm",
|
|
1360
|
-
c:
|
|
1360
|
+
c: "gray.9",
|
|
1361
1361
|
children: n
|
|
1362
1362
|
}
|
|
1363
1363
|
),
|
|
@@ -1371,13 +1371,13 @@ function ur({
|
|
|
1371
1371
|
children: p
|
|
1372
1372
|
}
|
|
1373
1373
|
),
|
|
1374
|
-
v && v.length > 0 && /* @__PURE__ */ e(f, { children: v.map((
|
|
1374
|
+
v && v.length > 0 && /* @__PURE__ */ e(f, { children: v.map((ee, Q) => /* @__PURE__ */ e(
|
|
1375
1375
|
P,
|
|
1376
1376
|
{
|
|
1377
1377
|
variant: "dot",
|
|
1378
1378
|
color: "gray",
|
|
1379
1379
|
radius: "0",
|
|
1380
|
-
children:
|
|
1380
|
+
children: ee
|
|
1381
1381
|
},
|
|
1382
1382
|
Q
|
|
1383
1383
|
)) }),
|
|
@@ -1386,28 +1386,28 @@ function ur({
|
|
|
1386
1386
|
{
|
|
1387
1387
|
gap: "sm",
|
|
1388
1388
|
mt: "xl",
|
|
1389
|
-
children: F.map((
|
|
1389
|
+
children: F.map((ee, Q) => /* @__PURE__ */ e(
|
|
1390
1390
|
M,
|
|
1391
1391
|
{
|
|
1392
1392
|
size: "md",
|
|
1393
1393
|
variant: Q === 0 ? "filled" : "default",
|
|
1394
|
-
...
|
|
1394
|
+
...ee
|
|
1395
1395
|
},
|
|
1396
1396
|
Q
|
|
1397
1397
|
))
|
|
1398
1398
|
}
|
|
1399
1399
|
)
|
|
1400
|
-
] }), V = g ?
|
|
1400
|
+
] }), V = g ? he(g) : null, ne = b ? he(b) : null;
|
|
1401
1401
|
return y === "split" ? /* @__PURE__ */ e(z.Col, { span: c, children: /* @__PURE__ */ e(
|
|
1402
1402
|
T,
|
|
1403
1403
|
{
|
|
1404
1404
|
h: "100%",
|
|
1405
1405
|
p: { base: "xl", md: 40 },
|
|
1406
1406
|
radius: "0",
|
|
1407
|
-
bg:
|
|
1407
|
+
bg: Y(m),
|
|
1408
1408
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1409
1409
|
style: C,
|
|
1410
|
-
...
|
|
1410
|
+
...O,
|
|
1411
1411
|
children: /* @__PURE__ */ r(
|
|
1412
1412
|
z,
|
|
1413
1413
|
{
|
|
@@ -1417,7 +1417,7 @@ function ur({
|
|
|
1417
1417
|
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 12 - q }, children: K }),
|
|
1418
1418
|
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm: q }, children: [
|
|
1419
1419
|
V,
|
|
1420
|
-
I && /* @__PURE__ */ e(
|
|
1420
|
+
I && /* @__PURE__ */ e(hr, { label: w, children: I })
|
|
1421
1421
|
] })
|
|
1422
1422
|
]
|
|
1423
1423
|
}
|
|
@@ -1429,26 +1429,26 @@ function ur({
|
|
|
1429
1429
|
h: "100%",
|
|
1430
1430
|
p: { base: "xl", md: 40 },
|
|
1431
1431
|
radius: "0",
|
|
1432
|
-
bg:
|
|
1432
|
+
bg: Y(m),
|
|
1433
1433
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1434
1434
|
style: C,
|
|
1435
|
-
...
|
|
1435
|
+
...O,
|
|
1436
1436
|
children: [
|
|
1437
1437
|
K,
|
|
1438
1438
|
V
|
|
1439
1439
|
]
|
|
1440
1440
|
}
|
|
1441
|
-
) }) :
|
|
1441
|
+
) }) : N ? /* @__PURE__ */ e(z.Col, { span: c, children: /* @__PURE__ */ e(
|
|
1442
1442
|
T,
|
|
1443
1443
|
{
|
|
1444
1444
|
h: "100%",
|
|
1445
1445
|
p: { base: "xl", md: 40 },
|
|
1446
1446
|
radius: "0",
|
|
1447
|
-
bg:
|
|
1447
|
+
bg: Y(m),
|
|
1448
1448
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1449
1449
|
pos: "relative",
|
|
1450
1450
|
style: C,
|
|
1451
|
-
...
|
|
1451
|
+
...O,
|
|
1452
1452
|
children: /* @__PURE__ */ r(
|
|
1453
1453
|
z,
|
|
1454
1454
|
{
|
|
@@ -1468,7 +1468,7 @@ function ur({
|
|
|
1468
1468
|
{
|
|
1469
1469
|
span: 5,
|
|
1470
1470
|
visibleFrom: "sm",
|
|
1471
|
-
children:
|
|
1471
|
+
children: N
|
|
1472
1472
|
}
|
|
1473
1473
|
)
|
|
1474
1474
|
]
|
|
@@ -1481,7 +1481,7 @@ function ur({
|
|
|
1481
1481
|
h: "100%",
|
|
1482
1482
|
p: { base: "xl", md: 40 },
|
|
1483
1483
|
radius: "0",
|
|
1484
|
-
bg:
|
|
1484
|
+
bg: Y(m),
|
|
1485
1485
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1486
1486
|
display: "flex",
|
|
1487
1487
|
style: {
|
|
@@ -1489,17 +1489,17 @@ function ur({
|
|
|
1489
1489
|
justifyContent: "space-between",
|
|
1490
1490
|
...C
|
|
1491
1491
|
},
|
|
1492
|
-
...
|
|
1492
|
+
...O,
|
|
1493
1493
|
children: [
|
|
1494
1494
|
K,
|
|
1495
|
-
V &&
|
|
1495
|
+
V && ne ? /* @__PURE__ */ r(
|
|
1496
1496
|
f,
|
|
1497
1497
|
{
|
|
1498
1498
|
gap: 40,
|
|
1499
1499
|
align: "center",
|
|
1500
1500
|
children: [
|
|
1501
1501
|
V,
|
|
1502
|
-
|
|
1502
|
+
ne
|
|
1503
1503
|
]
|
|
1504
1504
|
}
|
|
1505
1505
|
) : V
|
|
@@ -1507,12 +1507,12 @@ function ur({
|
|
|
1507
1507
|
}
|
|
1508
1508
|
) });
|
|
1509
1509
|
}
|
|
1510
|
-
function
|
|
1510
|
+
function he(a) {
|
|
1511
1511
|
if (!a) return null;
|
|
1512
1512
|
switch (a.type) {
|
|
1513
1513
|
case "ring":
|
|
1514
1514
|
return /* @__PURE__ */ e(
|
|
1515
|
-
|
|
1515
|
+
Fe,
|
|
1516
1516
|
{
|
|
1517
1517
|
size: a.size || 140,
|
|
1518
1518
|
thickness: a.thickness || 12,
|
|
@@ -1634,7 +1634,7 @@ function de(a) {
|
|
|
1634
1634
|
return null;
|
|
1635
1635
|
}
|
|
1636
1636
|
}
|
|
1637
|
-
function
|
|
1637
|
+
function Kr({ id: a, subtitle: s, title: o, items: i = [], cols: n, background: l = "white", ta: p = "center", note: d }) {
|
|
1638
1638
|
const h = n ?? Math.min(Math.max(i.length, 1), 4);
|
|
1639
1639
|
return /* @__PURE__ */ r(
|
|
1640
1640
|
k,
|
|
@@ -1728,13 +1728,13 @@ const W = {
|
|
|
1728
1728
|
degraded: { color: "yellow.7", chart: "yellow.7", title: "Desempenho degradado", badge: "Degradado" },
|
|
1729
1729
|
down: { color: "red.7", chart: "red.7", title: "Interrupção em andamento", badge: "Fora do ar" },
|
|
1730
1730
|
loading: { color: "gray.4", chart: "gray.5", title: "Verificando os sistemas", badge: "Verificando" }
|
|
1731
|
-
},
|
|
1731
|
+
}, yr = (a) => {
|
|
1732
1732
|
if (!a) return null;
|
|
1733
1733
|
const s = new Date(a);
|
|
1734
1734
|
return Number.isNaN(s.getTime()) ? null : s.toLocaleString("pt-BR", { dateStyle: "short", timeStyle: "medium" });
|
|
1735
1735
|
};
|
|
1736
|
-
function
|
|
1737
|
-
const d = p ? W.down : W[s] || W.loading, h =
|
|
1736
|
+
function Qr({ 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 = yr(o);
|
|
1738
1738
|
return /* @__PURE__ */ e(
|
|
1739
1739
|
x,
|
|
1740
1740
|
{
|
|
@@ -1855,7 +1855,7 @@ function Kr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], l
|
|
|
1855
1855
|
align: "flex-end",
|
|
1856
1856
|
wrap: "nowrap",
|
|
1857
1857
|
children: l.map((c, m) => /* @__PURE__ */ e(
|
|
1858
|
-
|
|
1858
|
+
te,
|
|
1859
1859
|
{
|
|
1860
1860
|
label: `${c.day} · ${c.pct.toFixed(2)}%`,
|
|
1861
1861
|
withArrow: !0,
|
|
@@ -1911,7 +1911,7 @@ function Kr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], l
|
|
|
1911
1911
|
)
|
|
1912
1912
|
] }),
|
|
1913
1913
|
/* @__PURE__ */ e(
|
|
1914
|
-
|
|
1914
|
+
or,
|
|
1915
1915
|
{
|
|
1916
1916
|
h: 140,
|
|
1917
1917
|
data: n,
|
|
@@ -2065,7 +2065,7 @@ function Kr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], l
|
|
|
2065
2065
|
tt: "uppercase",
|
|
2066
2066
|
lts: "1.5px",
|
|
2067
2067
|
c: "gray.4",
|
|
2068
|
-
children:
|
|
2068
|
+
children: xr[b] || b
|
|
2069
2069
|
}
|
|
2070
2070
|
)
|
|
2071
2071
|
]
|
|
@@ -2095,21 +2095,21 @@ function Kr({ service: a, status: s = "loading", checkedAt: o, checks: i = [], l
|
|
|
2095
2095
|
}
|
|
2096
2096
|
);
|
|
2097
2097
|
}
|
|
2098
|
-
const
|
|
2098
|
+
const xr = {
|
|
2099
2099
|
activeSessions: "Sessões ativas",
|
|
2100
2100
|
pendingVerifications: "Verificações pendentes",
|
|
2101
2101
|
publicKeys: "Chaves públicas",
|
|
2102
2102
|
domainsFailing: "Domínios com erro"
|
|
2103
|
-
},
|
|
2103
|
+
}, pe = {
|
|
2104
2104
|
operational: { color: "green.6", label: "Todos os sistemas operando" },
|
|
2105
2105
|
degraded: { color: "yellow.7", label: "Desempenho degradado" },
|
|
2106
2106
|
down: { color: "red.7", label: "Interrupção em andamento" },
|
|
2107
2107
|
loading: { color: "gray.4", label: "Verificando status" }
|
|
2108
|
-
},
|
|
2109
|
-
function
|
|
2110
|
-
const l =
|
|
2108
|
+
}, X = 20;
|
|
2109
|
+
function Yr({ status: a = "loading", history: s = [], label: o, link: i, ...n }) {
|
|
2110
|
+
const l = pe[a] || pe.loading, p = s.slice(-X), d = Array(Math.max(0, X - p.length)).fill(null), h = [...d, ...p];
|
|
2111
2111
|
return /* @__PURE__ */ e(
|
|
2112
|
-
|
|
2112
|
+
ue,
|
|
2113
2113
|
{
|
|
2114
2114
|
underline: "never",
|
|
2115
2115
|
"aria-label": `${o || l.label}. Ver página de status`,
|
|
@@ -2125,8 +2125,8 @@ function Qr({ status: a = "loading", history: s = [], label: o, link: i, ...n })
|
|
|
2125
2125
|
x,
|
|
2126
2126
|
{
|
|
2127
2127
|
component: "svg",
|
|
2128
|
-
viewBox: `0 0 ${
|
|
2129
|
-
w:
|
|
2128
|
+
viewBox: `0 0 ${X * 4 - 1} 16`,
|
|
2129
|
+
w: X * 4 - 1,
|
|
2130
2130
|
h: 16,
|
|
2131
2131
|
"aria-hidden": "true",
|
|
2132
2132
|
style: { display: "block", overflow: "visible" },
|
|
@@ -2166,7 +2166,7 @@ function Qr({ status: a = "loading", history: s = [], label: o, link: i, ...n })
|
|
|
2166
2166
|
}
|
|
2167
2167
|
);
|
|
2168
2168
|
}
|
|
2169
|
-
function
|
|
2169
|
+
function Xr({ id: a, subtitle: s, title: o, description: i, items: n = [], ctaIcon: l, note: p, background: d = "white", ta: h = "center" }) {
|
|
2170
2170
|
return /* @__PURE__ */ r(
|
|
2171
2171
|
k,
|
|
2172
2172
|
{
|
|
@@ -2319,7 +2319,7 @@ function Yr({ id: a, subtitle: s, title: o, description: i, items: n = [], ctaIc
|
|
|
2319
2319
|
}
|
|
2320
2320
|
);
|
|
2321
2321
|
}
|
|
2322
|
-
function
|
|
2322
|
+
function Jr({
|
|
2323
2323
|
id: a,
|
|
2324
2324
|
subtitle: s,
|
|
2325
2325
|
title: o,
|
|
@@ -2336,7 +2336,7 @@ function Xr({
|
|
|
2336
2336
|
// rótulo a chamada não é desenhada; quem chama diz a palavra.
|
|
2337
2337
|
ctaLabel: c
|
|
2338
2338
|
}) {
|
|
2339
|
-
const [m, g] = G("todas"), b =
|
|
2339
|
+
const [m, g] = G("todas"), b = Me("(min-width: 48em)", !1), y = Ne(() => m === "todas" ? n : [...n].sort((I, q) => +(q.category === m) - +(I.category === m)), [n, m]), [v, ...F] = y;
|
|
2340
2340
|
return v ? (
|
|
2341
2341
|
// O CABEÇALHO É CENTRALIZADO, O CONTEÚDO NÃO. `ta="center"` no
|
|
2342
2342
|
// `Section` alinha o kicker, o título e — por herança — tudo que
|
|
@@ -2378,7 +2378,7 @@ function Xr({
|
|
|
2378
2378
|
"aria-label": p,
|
|
2379
2379
|
className: "rlg-shelf-filters",
|
|
2380
2380
|
children: l.map((I) => /* @__PURE__ */ e(
|
|
2381
|
-
|
|
2381
|
+
Ce,
|
|
2382
2382
|
{
|
|
2383
2383
|
onClick: () => g(I.id),
|
|
2384
2384
|
className: "rlg-shelf-pill",
|
|
@@ -2392,7 +2392,7 @@ function Xr({
|
|
|
2392
2392
|
),
|
|
2393
2393
|
/* @__PURE__ */ r(z, { gutter: "lg", children: [
|
|
2394
2394
|
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 5, xl: 4 }, children: /* @__PURE__ */ e(
|
|
2395
|
-
|
|
2395
|
+
br,
|
|
2396
2396
|
{
|
|
2397
2397
|
item: v,
|
|
2398
2398
|
ctaLabel: c
|
|
@@ -2402,7 +2402,7 @@ function Xr({
|
|
|
2402
2402
|
z.Col,
|
|
2403
2403
|
{
|
|
2404
2404
|
span: { base: 12, xs: 6, md: 4, lg: 6, xl: 4 },
|
|
2405
|
-
children: /* @__PURE__ */ e(
|
|
2405
|
+
children: /* @__PURE__ */ e(wr, { item: I })
|
|
2406
2406
|
},
|
|
2407
2407
|
I.name
|
|
2408
2408
|
)) }) })
|
|
@@ -2424,18 +2424,18 @@ function Xr({
|
|
|
2424
2424
|
)
|
|
2425
2425
|
) : null;
|
|
2426
2426
|
}
|
|
2427
|
-
const
|
|
2427
|
+
const ve = (a) => ({
|
|
2428
2428
|
component: "a",
|
|
2429
2429
|
href: a.href,
|
|
2430
2430
|
target: a.target,
|
|
2431
2431
|
rel: a.target === "_blank" ? "noopener noreferrer" : void 0
|
|
2432
2432
|
});
|
|
2433
|
-
function
|
|
2433
|
+
function br({ item: a, ctaLabel: s }) {
|
|
2434
2434
|
const o = a.icon;
|
|
2435
2435
|
return /* @__PURE__ */ r(
|
|
2436
2436
|
T,
|
|
2437
2437
|
{
|
|
2438
|
-
...
|
|
2438
|
+
...ve(a),
|
|
2439
2439
|
className: "rlg-shelf-feature",
|
|
2440
2440
|
radius: "0",
|
|
2441
2441
|
p: 0,
|
|
@@ -2520,7 +2520,7 @@ function xr({ item: a, ctaLabel: s }) {
|
|
|
2520
2520
|
}
|
|
2521
2521
|
),
|
|
2522
2522
|
/* @__PURE__ */ e(
|
|
2523
|
-
|
|
2523
|
+
_e,
|
|
2524
2524
|
{
|
|
2525
2525
|
size: 16,
|
|
2526
2526
|
stroke: 2.5,
|
|
@@ -2538,12 +2538,12 @@ function xr({ item: a, ctaLabel: s }) {
|
|
|
2538
2538
|
}
|
|
2539
2539
|
);
|
|
2540
2540
|
}
|
|
2541
|
-
function
|
|
2541
|
+
function wr({ item: a }) {
|
|
2542
2542
|
const s = a.icon;
|
|
2543
2543
|
return /* @__PURE__ */ r(
|
|
2544
2544
|
T,
|
|
2545
2545
|
{
|
|
2546
|
-
...
|
|
2546
|
+
...ve(a),
|
|
2547
2547
|
className: "rlg-shelf-card",
|
|
2548
2548
|
radius: "0",
|
|
2549
2549
|
p: "lg",
|
|
@@ -2606,7 +2606,7 @@ function br({ item: a }) {
|
|
|
2606
2606
|
}
|
|
2607
2607
|
);
|
|
2608
2608
|
}
|
|
2609
|
-
function
|
|
2609
|
+
function Zr({ id: a, subtitle: s, title: o, description: i, items: n = [], note: l, background: p = "gray", ta: d = "center" }) {
|
|
2610
2610
|
return /* @__PURE__ */ r(
|
|
2611
2611
|
k,
|
|
2612
2612
|
{
|
|
@@ -2699,7 +2699,7 @@ function Jr({ id: a, subtitle: s, title: o, description: i, items: n = [], note:
|
|
|
2699
2699
|
}
|
|
2700
2700
|
);
|
|
2701
2701
|
}
|
|
2702
|
-
function
|
|
2702
|
+
function ea({ id: a, subtitle: s, title: o, description: i, cardLabel: n, items: l = [], footnote: p, background: d = "gray", ta: h = "center" }) {
|
|
2703
2703
|
return /* @__PURE__ */ r(
|
|
2704
2704
|
k,
|
|
2705
2705
|
{
|
|
@@ -2808,7 +2808,7 @@ function Zr({ id: a, subtitle: s, title: o, description: i, cardLabel: n, items:
|
|
|
2808
2808
|
}
|
|
2809
2809
|
);
|
|
2810
2810
|
}
|
|
2811
|
-
function
|
|
2811
|
+
function ra({ id: a, subtitle: s, title: o, description: i, avatar: n, name: l, role: p, quote: d, credentials: h = [], background: c = "white", ta: m = "center" }) {
|
|
2812
2812
|
return /* @__PURE__ */ r(
|
|
2813
2813
|
k,
|
|
2814
2814
|
{
|
|
@@ -2972,7 +2972,7 @@ function ea({ id: a, subtitle: s, title: o, description: i, avatar: n, name: l,
|
|
|
2972
2972
|
}
|
|
2973
2973
|
);
|
|
2974
2974
|
}
|
|
2975
|
-
function
|
|
2975
|
+
function aa({ id: a, badge: s, subtitle: o, title: i, description: n, items: l = [], background: p = "gray", ta: d = "center" }) {
|
|
2976
2976
|
return /* @__PURE__ */ r(
|
|
2977
2977
|
k,
|
|
2978
2978
|
{
|
|
@@ -3082,11 +3082,11 @@ function ra({ id: a, badge: s, subtitle: o, title: i, description: n, items: l =
|
|
|
3082
3082
|
}
|
|
3083
3083
|
);
|
|
3084
3084
|
}
|
|
3085
|
-
const
|
|
3086
|
-
function
|
|
3087
|
-
const [m, g] = G(() => Object.fromEntries(n.map((w) => [w.name, ""]))), [b, y] = G(!1), v = (w) => (
|
|
3088
|
-
const { value: C } =
|
|
3089
|
-
g((
|
|
3085
|
+
const ge = (a) => a.requiredMessage || `Preencha o campo ${a.label}`;
|
|
3086
|
+
function ta({ 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) => (N) => {
|
|
3088
|
+
const { value: C } = N.currentTarget;
|
|
3089
|
+
g((O) => ({ ...O, [w]: C }));
|
|
3090
3090
|
}, I = n.filter((w) => w.required).every((w) => m[w.name]?.trim());
|
|
3091
3091
|
return /* @__PURE__ */ e(
|
|
3092
3092
|
x,
|
|
@@ -3145,15 +3145,15 @@ function aa({ id: a, badge: s, title: o, description: i, fields: n = [], whatsap
|
|
|
3145
3145
|
bg: "white",
|
|
3146
3146
|
children: /* @__PURE__ */ e("form", { onSubmit: (w) => {
|
|
3147
3147
|
if (w.preventDefault(), y(!0), !I) return;
|
|
3148
|
-
const
|
|
3148
|
+
const N = [p, "", ...n.filter((C) => m[C.name]?.trim()).map((C) => `${C.label}: ${m[C.name]}`)].join(`
|
|
3149
3149
|
`);
|
|
3150
3150
|
if (c?.(m), l) {
|
|
3151
|
-
const C = `https://wa.me/${l}?text=${encodeURIComponent(
|
|
3151
|
+
const C = `https://wa.me/${l}?text=${encodeURIComponent(N)}`;
|
|
3152
3152
|
window.open(C, "_blank", "noopener,noreferrer");
|
|
3153
3153
|
}
|
|
3154
3154
|
}, children: /* @__PURE__ */ r(u, { gap: "md", children: [
|
|
3155
3155
|
/* @__PURE__ */ e(A, { cols: { base: 1, sm: 2 }, children: n.filter((w) => w.span !== "full").map((w) => /* @__PURE__ */ e(
|
|
3156
|
-
|
|
3156
|
+
ie,
|
|
3157
3157
|
{
|
|
3158
3158
|
label: w.label,
|
|
3159
3159
|
placeholder: w.placeholder,
|
|
@@ -3161,12 +3161,12 @@ function aa({ id: a, badge: s, title: o, description: i, fields: n = [], whatsap
|
|
|
3161
3161
|
required: w.required,
|
|
3162
3162
|
value: m[w.name] || "",
|
|
3163
3163
|
onChange: v(w.name),
|
|
3164
|
-
error: b && w.required && !m[w.name]?.trim() ?
|
|
3164
|
+
error: b && w.required && !m[w.name]?.trim() ? ge(w) : null
|
|
3165
3165
|
},
|
|
3166
3166
|
w.name
|
|
3167
3167
|
)) }),
|
|
3168
3168
|
n.filter((w) => w.span === "full").map((w) => /* @__PURE__ */ e(
|
|
3169
|
-
|
|
3169
|
+
ie,
|
|
3170
3170
|
{
|
|
3171
3171
|
label: w.label,
|
|
3172
3172
|
placeholder: w.placeholder,
|
|
@@ -3174,7 +3174,7 @@ function aa({ id: a, badge: s, title: o, description: i, fields: n = [], whatsap
|
|
|
3174
3174
|
required: w.required,
|
|
3175
3175
|
value: m[w.name] || "",
|
|
3176
3176
|
onChange: v(w.name),
|
|
3177
|
-
error: b && w.required && !m[w.name]?.trim() ?
|
|
3177
|
+
error: b && w.required && !m[w.name]?.trim() ? ge(w) : null
|
|
3178
3178
|
},
|
|
3179
3179
|
w.name
|
|
3180
3180
|
)),
|
|
@@ -3209,7 +3209,7 @@ function aa({ id: a, badge: s, title: o, description: i, fields: n = [], whatsap
|
|
|
3209
3209
|
color: "gray",
|
|
3210
3210
|
size: "sm",
|
|
3211
3211
|
children: /* @__PURE__ */ e(
|
|
3212
|
-
|
|
3212
|
+
ye,
|
|
3213
3213
|
{
|
|
3214
3214
|
size: 16,
|
|
3215
3215
|
stroke: 1.5
|
|
@@ -3235,7 +3235,7 @@ function aa({ id: a, badge: s, title: o, description: i, fields: n = [], whatsap
|
|
|
3235
3235
|
}
|
|
3236
3236
|
);
|
|
3237
3237
|
}
|
|
3238
|
-
function
|
|
3238
|
+
function na({ id: a, subtitle: s, title: o, traditionalCol: i, newCol: n, background: l = "white" }) {
|
|
3239
3239
|
return /* @__PURE__ */ e(
|
|
3240
3240
|
k,
|
|
3241
3241
|
{
|
|
@@ -3289,7 +3289,7 @@ function ta({ id: a, subtitle: s, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3289
3289
|
{
|
|
3290
3290
|
gap: "md",
|
|
3291
3291
|
mb: 40,
|
|
3292
|
-
children: i.items.map((p, d) => /* @__PURE__ */ r(
|
|
3292
|
+
children: i.items.map((p, d) => /* @__PURE__ */ r(Oe, { children: [
|
|
3293
3293
|
/* @__PURE__ */ r(f, { justify: "space-between", children: [
|
|
3294
3294
|
/* @__PURE__ */ e(
|
|
3295
3295
|
t,
|
|
@@ -3488,7 +3488,7 @@ function ta({ id: a, subtitle: s, title: o, traditionalCol: i, newCol: n, backgr
|
|
|
3488
3488
|
}
|
|
3489
3489
|
);
|
|
3490
3490
|
}
|
|
3491
|
-
function
|
|
3491
|
+
function ia({
|
|
3492
3492
|
id: a,
|
|
3493
3493
|
badge: s,
|
|
3494
3494
|
subtitle: o,
|
|
@@ -3536,7 +3536,7 @@ function na({
|
|
|
3536
3536
|
mb: 80,
|
|
3537
3537
|
children: /* @__PURE__ */ r(f, { gap: "xs", children: [
|
|
3538
3538
|
/* @__PURE__ */ e(
|
|
3539
|
-
|
|
3539
|
+
De,
|
|
3540
3540
|
{
|
|
3541
3541
|
value: p,
|
|
3542
3542
|
onChange: d,
|
|
@@ -3840,7 +3840,7 @@ function na({
|
|
|
3840
3840
|
}
|
|
3841
3841
|
);
|
|
3842
3842
|
}
|
|
3843
|
-
function
|
|
3843
|
+
function oa({ id: a, badge: s, subtitle: o, title: i, description: n, questions: l = [], contactCard: p, background: d = "white", ta: h = "left" }) {
|
|
3844
3844
|
const c = Math.ceil(l.length / 2), m = {
|
|
3845
3845
|
item: {
|
|
3846
3846
|
// A CSS variable, not the name: a `styles` object is plain CSS, so
|
|
@@ -3915,7 +3915,13 @@ function ia({ id: a, badge: s, subtitle: o, title: i, description: n, questions:
|
|
|
3915
3915
|
variant: "light",
|
|
3916
3916
|
color: "gray",
|
|
3917
3917
|
radius: "0",
|
|
3918
|
-
children: /* @__PURE__ */ e(
|
|
3918
|
+
children: /* @__PURE__ */ e(
|
|
3919
|
+
le,
|
|
3920
|
+
{
|
|
3921
|
+
size: 16,
|
|
3922
|
+
stroke: 1.5
|
|
3923
|
+
}
|
|
3924
|
+
)
|
|
3919
3925
|
}
|
|
3920
3926
|
),
|
|
3921
3927
|
children: g.question
|
|
@@ -3950,7 +3956,13 @@ function ia({ id: a, badge: s, subtitle: o, title: i, description: n, questions:
|
|
|
3950
3956
|
variant: "light",
|
|
3951
3957
|
color: "gray",
|
|
3952
3958
|
radius: "0",
|
|
3953
|
-
children: /* @__PURE__ */ e(
|
|
3959
|
+
children: /* @__PURE__ */ e(
|
|
3960
|
+
le,
|
|
3961
|
+
{
|
|
3962
|
+
size: 16,
|
|
3963
|
+
stroke: 1.5
|
|
3964
|
+
}
|
|
3965
|
+
)
|
|
3954
3966
|
}
|
|
3955
3967
|
),
|
|
3956
3968
|
children: g.question
|
|
@@ -4032,7 +4044,7 @@ function ia({ id: a, badge: s, subtitle: o, title: i, description: n, questions:
|
|
|
4032
4044
|
}
|
|
4033
4045
|
);
|
|
4034
4046
|
}
|
|
4035
|
-
function
|
|
4047
|
+
function la({ id: a, title: s, subtitle: o, items: i = [], background: n = "gray" }) {
|
|
4036
4048
|
return /* @__PURE__ */ e(
|
|
4037
4049
|
k,
|
|
4038
4050
|
{
|
|
@@ -4060,7 +4072,7 @@ function oa({ id: a, title: s, subtitle: o, items: i = [], background: n = "gray
|
|
|
4060
4072
|
h: "100%",
|
|
4061
4073
|
children: [
|
|
4062
4074
|
/* @__PURE__ */ e(
|
|
4063
|
-
|
|
4075
|
+
Ge,
|
|
4064
4076
|
{
|
|
4065
4077
|
size: 32,
|
|
4066
4078
|
color: "var(--mantine-color-gray-3)"
|
|
@@ -4088,7 +4100,7 @@ function oa({ id: a, title: s, subtitle: o, items: i = [], background: n = "gray
|
|
|
4088
4100
|
mt: "xl",
|
|
4089
4101
|
children: [
|
|
4090
4102
|
/* @__PURE__ */ e(
|
|
4091
|
-
|
|
4103
|
+
qe,
|
|
4092
4104
|
{
|
|
4093
4105
|
size: "md",
|
|
4094
4106
|
radius: "0",
|
|
@@ -4133,12 +4145,12 @@ function oa({ id: a, title: s, subtitle: o, items: i = [], background: n = "gray
|
|
|
4133
4145
|
}
|
|
4134
4146
|
);
|
|
4135
4147
|
}
|
|
4136
|
-
const
|
|
4148
|
+
const me = {
|
|
4137
4149
|
root: { height: "auto", maxWidth: "100%" },
|
|
4138
4150
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
4139
4151
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
4140
4152
|
};
|
|
4141
|
-
function
|
|
4153
|
+
function ze({ 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" }) {
|
|
4142
4154
|
return /* @__PURE__ */ e(
|
|
4143
4155
|
k,
|
|
4144
4156
|
{
|
|
@@ -4264,7 +4276,7 @@ function ve({ id: a, subtitle: s, title: o, titleOrder: i = 2, description: n, f
|
|
|
4264
4276
|
px: d.px,
|
|
4265
4277
|
variant: d.variant,
|
|
4266
4278
|
color: d.color,
|
|
4267
|
-
styles:
|
|
4279
|
+
styles: me
|
|
4268
4280
|
}
|
|
4269
4281
|
),
|
|
4270
4282
|
h && /* @__PURE__ */ e(
|
|
@@ -4280,7 +4292,7 @@ function ve({ id: a, subtitle: s, title: o, titleOrder: i = 2, description: n, f
|
|
|
4280
4292
|
px: h.px,
|
|
4281
4293
|
variant: h.variant || "default",
|
|
4282
4294
|
color: h.color,
|
|
4283
|
-
styles:
|
|
4295
|
+
styles: me
|
|
4284
4296
|
}
|
|
4285
4297
|
)
|
|
4286
4298
|
]
|
|
@@ -4296,16 +4308,16 @@ function ve({ id: a, subtitle: s, title: o, titleOrder: i = 2, description: n, f
|
|
|
4296
4308
|
}
|
|
4297
4309
|
);
|
|
4298
4310
|
}
|
|
4299
|
-
const
|
|
4300
|
-
function
|
|
4301
|
-
|
|
4311
|
+
const sa = ze;
|
|
4312
|
+
function vr() {
|
|
4313
|
+
fe(() => {
|
|
4302
4314
|
const a = document.createElement("meta");
|
|
4303
4315
|
return a.name = "robots", a.content = "noindex, follow", document.head.appendChild(a), () => a.remove();
|
|
4304
4316
|
}, []);
|
|
4305
4317
|
}
|
|
4306
|
-
function
|
|
4307
|
-
return
|
|
4308
|
-
|
|
4318
|
+
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" }) {
|
|
4319
|
+
return vr(), /* @__PURE__ */ e(
|
|
4320
|
+
ze,
|
|
4309
4321
|
{
|
|
4310
4322
|
subtitle: a,
|
|
4311
4323
|
title: s,
|
|
@@ -4316,7 +4328,7 @@ function sa({ subtitle: a = "Erro 404", title: s = "Esta página não existe", d
|
|
|
4316
4328
|
label: "Voltar para a home",
|
|
4317
4329
|
href: i,
|
|
4318
4330
|
leftSection: /* @__PURE__ */ e(
|
|
4319
|
-
|
|
4331
|
+
He,
|
|
4320
4332
|
{
|
|
4321
4333
|
size: 18,
|
|
4322
4334
|
stroke: 1.5
|
|
@@ -4326,8 +4338,8 @@ function sa({ subtitle: a = "Erro 404", title: s = "Esta página não existe", d
|
|
|
4326
4338
|
}
|
|
4327
4339
|
);
|
|
4328
4340
|
}
|
|
4329
|
-
function
|
|
4330
|
-
const i =
|
|
4341
|
+
function zr({ text: a = "Selo Exclusivo", color: s = "green.6", background: o = "gray" }) {
|
|
4342
|
+
const i = Z(o);
|
|
4331
4343
|
return /* @__PURE__ */ e(
|
|
4332
4344
|
x,
|
|
4333
4345
|
{
|
|
@@ -4345,7 +4357,7 @@ function vr({ text: a = "Selo Exclusivo", color: s = "green.6", background: o =
|
|
|
4345
4357
|
variant: "light",
|
|
4346
4358
|
size: "sm",
|
|
4347
4359
|
children: /* @__PURE__ */ e(
|
|
4348
|
-
|
|
4360
|
+
Ke,
|
|
4349
4361
|
{
|
|
4350
4362
|
size: 14,
|
|
4351
4363
|
"aria-hidden": "true"
|
|
@@ -4368,9 +4380,9 @@ function vr({ text: a = "Selo Exclusivo", color: s = "green.6", background: o =
|
|
|
4368
4380
|
}
|
|
4369
4381
|
);
|
|
4370
4382
|
}
|
|
4371
|
-
const
|
|
4372
|
-
function
|
|
4373
|
-
const h =
|
|
4383
|
+
const da = zr;
|
|
4384
|
+
function ha({ logo: a, description: s, sections: o = [], socialLinks: i = [], copyrightText: n, madeByText: l, background: p = "white", status: d }) {
|
|
4385
|
+
const h = Z(p);
|
|
4374
4386
|
return /* @__PURE__ */ e(
|
|
4375
4387
|
x,
|
|
4376
4388
|
{
|
|
@@ -4386,7 +4398,7 @@ function da({ logo: a, description: s, sections: o = [], socialLinks: i = [], co
|
|
|
4386
4398
|
spacing: "xl",
|
|
4387
4399
|
children: [
|
|
4388
4400
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
4389
|
-
a && /* @__PURE__ */ e(
|
|
4401
|
+
a && /* @__PURE__ */ e(ae, { logo: a }),
|
|
4390
4402
|
s && /* @__PURE__ */ e(
|
|
4391
4403
|
t,
|
|
4392
4404
|
{
|
|
@@ -4425,7 +4437,7 @@ function da({ logo: a, description: s, sections: o = [], socialLinks: i = [], co
|
|
|
4425
4437
|
}
|
|
4426
4438
|
),
|
|
4427
4439
|
/* @__PURE__ */ e(u, { gap: "xs", children: c.links.map((g, b) => /* @__PURE__ */ e(
|
|
4428
|
-
|
|
4440
|
+
ue,
|
|
4429
4441
|
{
|
|
4430
4442
|
c: "gray.6",
|
|
4431
4443
|
size: "sm",
|
|
@@ -4453,7 +4465,7 @@ function da({ logo: a, description: s, sections: o = [], socialLinks: i = [], co
|
|
|
4453
4465
|
}
|
|
4454
4466
|
),
|
|
4455
4467
|
/* @__PURE__ */ e(f, { gap: "xs", children: i.map((c, m) => /* @__PURE__ */ e(
|
|
4456
|
-
|
|
4468
|
+
J,
|
|
4457
4469
|
{
|
|
4458
4470
|
size: "md",
|
|
4459
4471
|
variant: "subtle",
|
|
@@ -4520,7 +4532,7 @@ function da({ logo: a, description: s, sections: o = [], socialLinks: i = [], co
|
|
|
4520
4532
|
}
|
|
4521
4533
|
);
|
|
4522
4534
|
}
|
|
4523
|
-
function
|
|
4535
|
+
function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o = "nossos produtos" }) {
|
|
4524
4536
|
const i = s || a, n = i.split(" (")[0];
|
|
4525
4537
|
return /* @__PURE__ */ e(
|
|
4526
4538
|
x,
|
|
@@ -4602,7 +4614,7 @@ function ha({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4602
4614
|
radius: "0",
|
|
4603
4615
|
color: "gray",
|
|
4604
4616
|
children: /* @__PURE__ */ e(
|
|
4605
|
-
|
|
4617
|
+
ye,
|
|
4606
4618
|
{
|
|
4607
4619
|
size: 32,
|
|
4608
4620
|
stroke: 1.2
|
|
@@ -4654,7 +4666,7 @@ function ha({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4654
4666
|
radius: "0",
|
|
4655
4667
|
color: "gray",
|
|
4656
4668
|
children: /* @__PURE__ */ e(
|
|
4657
|
-
|
|
4669
|
+
xe,
|
|
4658
4670
|
{
|
|
4659
4671
|
size: 32,
|
|
4660
4672
|
stroke: 1.2
|
|
@@ -4702,7 +4714,7 @@ function ha({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4702
4714
|
radius: "0",
|
|
4703
4715
|
color: "gray",
|
|
4704
4716
|
children: /* @__PURE__ */ e(
|
|
4705
|
-
|
|
4717
|
+
Qe,
|
|
4706
4718
|
{
|
|
4707
4719
|
size: 32,
|
|
4708
4720
|
stroke: 1.2
|
|
@@ -4753,7 +4765,7 @@ function ha({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4753
4765
|
radius: "0",
|
|
4754
4766
|
color: "gray",
|
|
4755
4767
|
children: /* @__PURE__ */ e(
|
|
4756
|
-
|
|
4768
|
+
Ye,
|
|
4757
4769
|
{
|
|
4758
4770
|
size: 32,
|
|
4759
4771
|
stroke: 1.2
|
|
@@ -4825,7 +4837,7 @@ function ha({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4825
4837
|
}
|
|
4826
4838
|
);
|
|
4827
4839
|
}
|
|
4828
|
-
function
|
|
4840
|
+
function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o = "nossos produtos", lastUpdated: i = "20 de setembro de 2026" }) {
|
|
4829
4841
|
const n = s || a, l = n.split(" (")[0];
|
|
4830
4842
|
return /* @__PURE__ */ e(
|
|
4831
4843
|
x,
|
|
@@ -4905,7 +4917,7 @@ function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4905
4917
|
radius: "0",
|
|
4906
4918
|
color: "gray",
|
|
4907
4919
|
children: /* @__PURE__ */ e(
|
|
4908
|
-
|
|
4920
|
+
Xe,
|
|
4909
4921
|
{
|
|
4910
4922
|
size: 32,
|
|
4911
4923
|
stroke: 1.2
|
|
@@ -4958,7 +4970,7 @@ function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
4958
4970
|
radius: "0",
|
|
4959
4971
|
color: "gray",
|
|
4960
4972
|
children: /* @__PURE__ */ e(
|
|
4961
|
-
|
|
4973
|
+
Je,
|
|
4962
4974
|
{
|
|
4963
4975
|
size: 32,
|
|
4964
4976
|
stroke: 1.2
|
|
@@ -5010,7 +5022,7 @@ function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5010
5022
|
radius: "0",
|
|
5011
5023
|
color: "gray",
|
|
5012
5024
|
children: /* @__PURE__ */ e(
|
|
5013
|
-
|
|
5025
|
+
Ze,
|
|
5014
5026
|
{
|
|
5015
5027
|
size: 32,
|
|
5016
5028
|
stroke: 1.2
|
|
@@ -5064,7 +5076,7 @@ function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5064
5076
|
radius: "0",
|
|
5065
5077
|
color: "gray",
|
|
5066
5078
|
children: /* @__PURE__ */ e(
|
|
5067
|
-
|
|
5079
|
+
er,
|
|
5068
5080
|
{
|
|
5069
5081
|
size: 32,
|
|
5070
5082
|
stroke: 1.2
|
|
@@ -5116,7 +5128,7 @@ function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5116
5128
|
radius: "0",
|
|
5117
5129
|
color: "gray",
|
|
5118
5130
|
children: /* @__PURE__ */ e(
|
|
5119
|
-
|
|
5131
|
+
rr,
|
|
5120
5132
|
{
|
|
5121
5133
|
size: 32,
|
|
5122
5134
|
stroke: 1.2
|
|
@@ -5192,7 +5204,7 @@ function pa({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5192
5204
|
}
|
|
5193
5205
|
);
|
|
5194
5206
|
}
|
|
5195
|
-
function
|
|
5207
|
+
function ma({ companyName: a = "Infrastructure", legalEntity: s, productName: o = "nossos produtos" }) {
|
|
5196
5208
|
const i = s || a;
|
|
5197
5209
|
return i.split(" (")[0], /* @__PURE__ */ e(
|
|
5198
5210
|
x,
|
|
@@ -5272,7 +5284,7 @@ function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5272
5284
|
radius: "0",
|
|
5273
5285
|
color: "gray",
|
|
5274
5286
|
children: /* @__PURE__ */ e(
|
|
5275
|
-
|
|
5287
|
+
ar,
|
|
5276
5288
|
{
|
|
5277
5289
|
size: 32,
|
|
5278
5290
|
stroke: 1.2
|
|
@@ -5324,7 +5336,7 @@ function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5324
5336
|
radius: "0",
|
|
5325
5337
|
color: "gray",
|
|
5326
5338
|
children: /* @__PURE__ */ e(
|
|
5327
|
-
|
|
5339
|
+
xe,
|
|
5328
5340
|
{
|
|
5329
5341
|
size: 32,
|
|
5330
5342
|
stroke: 1.2
|
|
@@ -5376,7 +5388,7 @@ function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5376
5388
|
radius: "0",
|
|
5377
5389
|
color: "gray",
|
|
5378
5390
|
children: /* @__PURE__ */ e(
|
|
5379
|
-
|
|
5391
|
+
tr,
|
|
5380
5392
|
{
|
|
5381
5393
|
size: 32,
|
|
5382
5394
|
stroke: 1.2
|
|
@@ -5424,7 +5436,7 @@ function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5424
5436
|
radius: "0",
|
|
5425
5437
|
color: "gray",
|
|
5426
5438
|
children: /* @__PURE__ */ e(
|
|
5427
|
-
|
|
5439
|
+
nr,
|
|
5428
5440
|
{
|
|
5429
5441
|
size: 32,
|
|
5430
5442
|
stroke: 1.2
|
|
@@ -5461,7 +5473,7 @@ function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5461
5473
|
/* @__PURE__ */ e(L, { color: "gray.2" }),
|
|
5462
5474
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
5463
5475
|
/* @__PURE__ */ r(f, { gap: "sm", children: [
|
|
5464
|
-
/* @__PURE__ */ e(S, { variant: "transparent", color: "gray.9", children: /* @__PURE__ */ e(
|
|
5476
|
+
/* @__PURE__ */ e(S, { variant: "transparent", color: "gray.9", children: /* @__PURE__ */ e(ir, { size: 18 }) }),
|
|
5465
5477
|
/* @__PURE__ */ e(
|
|
5466
5478
|
t,
|
|
5467
5479
|
{
|
|
@@ -5493,10 +5505,10 @@ function ga({ companyName: a = "Infrastructure", legalEntity: s, productName: o
|
|
|
5493
5505
|
}
|
|
5494
5506
|
);
|
|
5495
5507
|
}
|
|
5496
|
-
const
|
|
5497
|
-
function
|
|
5498
|
-
const [i, n] = G({ status: "loading", checks: [], checkedAt: null, error: null, loading: !0 }), [l, p] = G([]), d =
|
|
5499
|
-
return
|
|
5508
|
+
const Sr = 6, Ir = 2e3;
|
|
5509
|
+
function ua(a, { intervalMs: s = 3e4, maxSamples: o = 40 } = {}) {
|
|
5510
|
+
const [i, n] = G({ status: "loading", checks: [], checkedAt: null, error: null, loading: !0 }), [l, p] = G([]), d = Re([]);
|
|
5511
|
+
return fe(() => {
|
|
5500
5512
|
if (!a) return;
|
|
5501
5513
|
d.current = [], p([]);
|
|
5502
5514
|
let h = !1;
|
|
@@ -5524,7 +5536,7 @@ function ma(a, { intervalMs: s = 3e4, maxSamples: o = 40 } = {}) {
|
|
|
5524
5536
|
};
|
|
5525
5537
|
let b = !0, y = 0, v;
|
|
5526
5538
|
const F = async () => {
|
|
5527
|
-
await g(), !h && (y += 1, v = setTimeout(F, y <
|
|
5539
|
+
await g(), !h && (y += 1, v = setTimeout(F, y < Sr ? Ir : s));
|
|
5528
5540
|
};
|
|
5529
5541
|
return F(), () => {
|
|
5530
5542
|
h = !0, clearTimeout(v);
|
|
@@ -5534,13 +5546,13 @@ function ma(a, { intervalMs: s = 3e4, maxSamples: o = 40 } = {}) {
|
|
|
5534
5546
|
latency: l.map((h) => ({ time: h.time, ms: h.ms })),
|
|
5535
5547
|
// A "disponibilidade" aqui é a das amostras desta sessão, agrupadas em
|
|
5536
5548
|
// blocos — não um SLA de 90 dias. O rótulo na página diz isso.
|
|
5537
|
-
uptime:
|
|
5549
|
+
uptime: Tr(l),
|
|
5538
5550
|
// 1 = respondeu, 0.25 = falhou. Zero puro sumiria da barra e a falha
|
|
5539
5551
|
// ficaria invisível justamente quando importa.
|
|
5540
5552
|
history: l.map((h) => h.up ? 1 : 0.25)
|
|
5541
5553
|
};
|
|
5542
5554
|
}
|
|
5543
|
-
function
|
|
5555
|
+
function Tr(a, s = 12) {
|
|
5544
5556
|
if (a.length === 0) return [];
|
|
5545
5557
|
const o = Math.max(1, Math.ceil(a.length / s)), i = [];
|
|
5546
5558
|
for (let n = 0; n < a.length; n += o) {
|
|
@@ -5550,52 +5562,53 @@ function Ir(a, s = 12) {
|
|
|
5550
5562
|
return i;
|
|
5551
5563
|
}
|
|
5552
5564
|
export {
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5565
|
+
$r as AuthLoader,
|
|
5566
|
+
ae as BrandLogo,
|
|
5567
|
+
ze as CTABanner,
|
|
5556
5568
|
M as CTAButton,
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5569
|
+
ea as Callout,
|
|
5570
|
+
hr as CodeBlock,
|
|
5571
|
+
gr as ColorSchemeToggle,
|
|
5572
|
+
na as Comparison,
|
|
5573
|
+
Zr as CriteriaList,
|
|
5574
|
+
oa as FAQ,
|
|
5575
|
+
Gr as FeatureSplit,
|
|
5576
|
+
Hr as FeaturesGrid,
|
|
5577
|
+
ha as Footer,
|
|
5578
|
+
ra as FounderCard,
|
|
5579
|
+
mr as Header,
|
|
5580
|
+
Ur as Hero,
|
|
5581
|
+
sr as LOGOTYPE_SIGNATURE,
|
|
5582
|
+
Vr as Layout,
|
|
5583
|
+
ta as LeadForm,
|
|
5584
|
+
pa as LegalPrivacy,
|
|
5585
|
+
ma as LegalSecurity,
|
|
5586
|
+
ga as LegalTerms,
|
|
5587
|
+
Rr as Logotype,
|
|
5588
|
+
cr as LogotypeBolt,
|
|
5589
|
+
we as MediaBlock,
|
|
5590
|
+
Wr as Navbar,
|
|
5591
|
+
ca as NotFound,
|
|
5592
|
+
Jr as PlatformShelf,
|
|
5593
|
+
ia as Pricing,
|
|
5594
|
+
Xr as ProductGrid,
|
|
5595
|
+
R as SECTION_BACKGROUNDS,
|
|
5596
|
+
sa as SecondaryCTA,
|
|
5585
5597
|
k as Section,
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5598
|
+
be as SectionHeader,
|
|
5599
|
+
da as SeloExclusivo,
|
|
5600
|
+
_r as SocialProof,
|
|
5601
|
+
Kr as StatsGrid,
|
|
5602
|
+
Qr as StatusBoard,
|
|
5603
|
+
Yr as StatusIndicator,
|
|
5604
|
+
aa as Steps,
|
|
5605
|
+
la as Testimonials,
|
|
5606
|
+
zr as TrustBadge,
|
|
5607
|
+
lr as Wordmark,
|
|
5608
|
+
dr as logotypeSignaturePx,
|
|
5609
|
+
Z as resolveBackground,
|
|
5610
|
+
Y as resolveCardBackground,
|
|
5611
|
+
re as scrollBehavior,
|
|
5612
|
+
Or as theme,
|
|
5613
|
+
ua as useServiceStatus
|
|
5601
5614
|
};
|