@ciromaciel/components-kit 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components-kit.css +1 -1
- package/dist/index.esm.js +716 -707
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { createTheme as
|
|
2
|
-
import { jsxs as r, jsx as e, Fragment as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { AreaChart as
|
|
7
|
-
const
|
|
1
|
+
import { createTheme as ze, Stack as u, Group as f, Badge as P, Text as t, Title as q, 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 Fe, Anchor as me, UnstyledButton as ke, TextInput as ne, Divider as M, SegmentedControl as De, Accordion as N, Avatar as qe } from "@mantine/core";
|
|
2
|
+
import { jsxs as r, jsx as e, Fragment as ie } from "react/jsx-runtime";
|
|
3
|
+
import { useReducedMotion as Ce, useMounted as Be, useColorScheme as Ee, useWindowScroll as Pe, useMediaQuery as Me } from "@mantine/hooks";
|
|
4
|
+
import { isValidElement as je, useState as H, useMemo as Ne, Fragment as Oe, useEffect as ue, useRef as Re } from "react";
|
|
5
|
+
import { IconCheck as G, IconCopy as Le, IconMoon as $e, IconSun as Ve, IconDeviceDesktop as We, IconArrowUpRight as Ue, IconShieldCheck as fe, IconBolt as oe, IconQuote as _e, IconArrowLeft as He, IconCircleCheck as Ge, IconCloudLock as ye, IconEyeOff as Ke, IconUserShield as Qe, IconScale as Ye, IconUserCheck as Xe, IconFileDescription as Je, IconBan as Ze, IconAlertCircle as er, IconShieldLock as rr, IconDatabase as ar, IconUsers as tr, IconActivity as nr } from "@tabler/icons-react";
|
|
6
|
+
import { AreaChart as ir } from "@mantine/charts";
|
|
7
|
+
const Mr = ze({
|
|
8
|
+
// As transições do próprio Mantine (Modal, Menu, Popover) também seguem
|
|
9
|
+
// "Reduzir movimento".
|
|
10
|
+
respectReducedMotion: !0,
|
|
8
11
|
fontFamily: 'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
|
|
9
12
|
headings: {
|
|
10
13
|
fontFamily: 'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
|
|
@@ -233,18 +236,18 @@ const Br = ve({
|
|
|
233
236
|
}
|
|
234
237
|
}
|
|
235
238
|
});
|
|
236
|
-
function xe({ badge: a, subtitle:
|
|
237
|
-
return !
|
|
239
|
+
function xe({ badge: a, subtitle: c, title: o, titleOrder: i = 2, titleFz: n = "var(--fz-section-title)", ta: l = "left", maw: p }) {
|
|
240
|
+
return !o && !c && !a ? null : /* @__PURE__ */ r(
|
|
238
241
|
u,
|
|
239
242
|
{
|
|
240
243
|
gap: "xs",
|
|
241
|
-
align:
|
|
242
|
-
ta:
|
|
244
|
+
align: l === "center" ? "center" : "flex-start",
|
|
245
|
+
ta: l,
|
|
243
246
|
children: [
|
|
244
247
|
a && /* @__PURE__ */ e(
|
|
245
248
|
f,
|
|
246
249
|
{
|
|
247
|
-
justify:
|
|
250
|
+
justify: l === "center" ? "center" : "flex-start",
|
|
248
251
|
mb: "xs",
|
|
249
252
|
children: /* @__PURE__ */ e(
|
|
250
253
|
P,
|
|
@@ -258,7 +261,7 @@ function xe({ badge: a, subtitle: s, title: l, titleOrder: i = 2, titleFz: n = "
|
|
|
258
261
|
)
|
|
259
262
|
}
|
|
260
263
|
),
|
|
261
|
-
|
|
264
|
+
c && /* @__PURE__ */ e(
|
|
262
265
|
t,
|
|
263
266
|
{
|
|
264
267
|
c: "gray.4",
|
|
@@ -266,93 +269,95 @@ function xe({ badge: a, subtitle: s, title: l, titleOrder: i = 2, titleFz: n = "
|
|
|
266
269
|
fw: 800,
|
|
267
270
|
tt: "uppercase",
|
|
268
271
|
lts: "1.5px",
|
|
269
|
-
children:
|
|
272
|
+
children: c
|
|
270
273
|
}
|
|
271
274
|
),
|
|
272
|
-
|
|
275
|
+
o && /* @__PURE__ */ e(
|
|
273
276
|
q,
|
|
274
277
|
{
|
|
275
278
|
order: i,
|
|
276
279
|
fz: n,
|
|
277
|
-
maw:
|
|
278
|
-
children:
|
|
280
|
+
maw: p,
|
|
281
|
+
children: o
|
|
279
282
|
}
|
|
280
283
|
)
|
|
281
284
|
]
|
|
282
285
|
}
|
|
283
286
|
);
|
|
284
287
|
}
|
|
285
|
-
function be({ video: a, image:
|
|
286
|
-
|
|
288
|
+
function be({ video: a, image: c, width: o = "100%", maw: i, alt: n }) {
|
|
289
|
+
const l = Ce();
|
|
290
|
+
return a ? /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
287
291
|
x,
|
|
288
292
|
{
|
|
289
293
|
component: "video",
|
|
290
294
|
src: a.src,
|
|
291
|
-
autoPlay: !
|
|
295
|
+
autoPlay: !l,
|
|
292
296
|
loop: !0,
|
|
293
297
|
muted: !0,
|
|
294
298
|
playsInline: !0,
|
|
299
|
+
controls: !0,
|
|
295
300
|
"aria-label": n || "Demonstração em vídeo",
|
|
296
|
-
w: a.width ||
|
|
301
|
+
w: a.width || o,
|
|
297
302
|
h: "auto",
|
|
298
303
|
style: { filter: a.filter || "none" }
|
|
299
304
|
}
|
|
300
|
-
) }) :
|
|
305
|
+
) }) : c ? /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
301
306
|
x,
|
|
302
307
|
{
|
|
303
308
|
component: "img",
|
|
304
|
-
src:
|
|
309
|
+
src: c,
|
|
305
310
|
alt: n || "",
|
|
306
|
-
w:
|
|
311
|
+
w: o,
|
|
307
312
|
h: "auto",
|
|
308
313
|
maw: i
|
|
309
314
|
}
|
|
310
315
|
) }) : null;
|
|
311
316
|
}
|
|
312
|
-
function
|
|
317
|
+
function j({
|
|
313
318
|
label: a,
|
|
314
|
-
href:
|
|
315
|
-
onClick:
|
|
319
|
+
href: c,
|
|
320
|
+
onClick: o,
|
|
316
321
|
icon: i,
|
|
317
322
|
size: n = "lg",
|
|
318
|
-
variant:
|
|
319
|
-
color:
|
|
323
|
+
variant: l = "filled",
|
|
324
|
+
color: p,
|
|
320
325
|
target: d,
|
|
321
|
-
px:
|
|
322
|
-
fullWidth:
|
|
326
|
+
px: h,
|
|
327
|
+
fullWidth: s,
|
|
323
328
|
leftSection: m,
|
|
324
|
-
className:
|
|
329
|
+
className: g,
|
|
325
330
|
...b
|
|
326
331
|
}) {
|
|
327
332
|
return /* @__PURE__ */ e(
|
|
328
333
|
U,
|
|
329
334
|
{
|
|
330
335
|
size: n,
|
|
331
|
-
component:
|
|
332
|
-
href:
|
|
333
|
-
onClick:
|
|
336
|
+
component: c ? "a" : "button",
|
|
337
|
+
href: c,
|
|
338
|
+
onClick: o,
|
|
334
339
|
target: d,
|
|
335
340
|
rightSection: i,
|
|
336
341
|
leftSection: m,
|
|
337
|
-
variant:
|
|
338
|
-
color:
|
|
339
|
-
px:
|
|
340
|
-
fullWidth:
|
|
341
|
-
className:
|
|
342
|
+
variant: l,
|
|
343
|
+
color: p,
|
|
344
|
+
px: h,
|
|
345
|
+
fullWidth: s,
|
|
346
|
+
className: g ? `rlg-cta ${g}` : "rlg-cta",
|
|
342
347
|
...b,
|
|
343
348
|
children: a
|
|
344
349
|
}
|
|
345
350
|
);
|
|
346
351
|
}
|
|
347
|
-
function
|
|
352
|
+
function or({ children: a, fz: c = 28, c: o = "gray.9", ...i }) {
|
|
348
353
|
return /* @__PURE__ */ e(
|
|
349
354
|
t,
|
|
350
355
|
{
|
|
351
356
|
component: "span",
|
|
352
|
-
fz:
|
|
357
|
+
fz: c,
|
|
353
358
|
fw: 900,
|
|
354
359
|
lh: 1,
|
|
355
|
-
c:
|
|
360
|
+
c: o,
|
|
356
361
|
display: "block",
|
|
357
362
|
...i,
|
|
358
363
|
style: { whiteSpace: "nowrap", ...i.style },
|
|
@@ -360,22 +365,22 @@ function nr({ children: a, fz: s = 28, c: l = "gray.9", ...i }) {
|
|
|
360
365
|
}
|
|
361
366
|
);
|
|
362
367
|
}
|
|
363
|
-
function
|
|
364
|
-
return a ?
|
|
368
|
+
function re({ logo: a, objectPosition: c = "left" }) {
|
|
369
|
+
return a ? je(a) ? a : typeof a == "object" && a.src ? /* @__PURE__ */ e(
|
|
365
370
|
"img",
|
|
366
371
|
{
|
|
367
372
|
src: a.src,
|
|
368
373
|
alt: a.alt || "",
|
|
369
374
|
height: a.height || 32,
|
|
370
375
|
"data-invert-dark": a.invertDark === !1 ? void 0 : "",
|
|
371
|
-
style: { objectFit: "contain", objectPosition:
|
|
376
|
+
style: { objectFit: "contain", objectPosition: c }
|
|
372
377
|
}
|
|
373
378
|
) : a : null;
|
|
374
379
|
}
|
|
375
|
-
function
|
|
376
|
-
const
|
|
377
|
-
`).filter((
|
|
378
|
-
`) :
|
|
380
|
+
function lr({ children: a, label: c, chrome: o = !0, copy: i = !0, variant: n = "dark", style: l }) {
|
|
381
|
+
const p = typeof a == "string" ? a : String(a ?? ""), d = p.split(`
|
|
382
|
+
`).filter((g) => g.trimStart().startsWith("$ ")), h = d.length ? d.map((g) => g.trimStart().slice(2)).join(`
|
|
383
|
+
`) : p, s = n === "dark", m = s ? {
|
|
379
384
|
shell: "#11181C",
|
|
380
385
|
bar: "rgba(255, 255, 255, 0.06)",
|
|
381
386
|
line: "rgba(255, 255, 255, 0.10)",
|
|
@@ -394,17 +399,17 @@ function ir({ children: a, label: s, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
394
399
|
x,
|
|
395
400
|
{
|
|
396
401
|
style: {
|
|
397
|
-
border: `1px solid ${
|
|
402
|
+
border: `1px solid ${s ? "var(--rlg-shell-edge, #11181C)" : "var(--mantine-color-gray-3)"}`,
|
|
398
403
|
background: m.shell,
|
|
399
404
|
// `overflow: hidden` aqui cortava o código em vez de deixar o
|
|
400
405
|
// <pre> rolar: a linha longa ficava inacessível, sem barra e
|
|
401
406
|
// sem reticências. `hidden` só na vertical preserva o recorte
|
|
402
407
|
// do cabeçalho; a horizontal fica com o <pre>, que tem auto.
|
|
403
408
|
overflowY: "hidden",
|
|
404
|
-
...
|
|
409
|
+
...l
|
|
405
410
|
},
|
|
406
411
|
children: [
|
|
407
|
-
|
|
412
|
+
o && /* @__PURE__ */ r(
|
|
408
413
|
f,
|
|
409
414
|
{
|
|
410
415
|
justify: "space-between",
|
|
@@ -422,16 +427,16 @@ function ir({ children: a, label: s, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
422
427
|
gap: 6,
|
|
423
428
|
wrap: "nowrap",
|
|
424
429
|
children: [
|
|
425
|
-
[0, 1, 2].map((
|
|
430
|
+
[0, 1, 2].map((g) => /* @__PURE__ */ e(
|
|
426
431
|
x,
|
|
427
432
|
{
|
|
428
433
|
w: 9,
|
|
429
434
|
h: 9,
|
|
430
435
|
style: { borderRadius: "50%", background: m.dot }
|
|
431
436
|
},
|
|
432
|
-
|
|
437
|
+
g
|
|
433
438
|
)),
|
|
434
|
-
|
|
439
|
+
c && /* @__PURE__ */ e(
|
|
435
440
|
x,
|
|
436
441
|
{
|
|
437
442
|
component: "span",
|
|
@@ -442,7 +447,7 @@ function ir({ children: a, label: s, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
442
447
|
letterSpacing: "0.5px",
|
|
443
448
|
color: m.label
|
|
444
449
|
},
|
|
445
|
-
children:
|
|
450
|
+
children: c
|
|
446
451
|
}
|
|
447
452
|
)
|
|
448
453
|
]
|
|
@@ -451,16 +456,16 @@ function ir({ children: a, label: s, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
451
456
|
i && /* @__PURE__ */ e(
|
|
452
457
|
Se,
|
|
453
458
|
{
|
|
454
|
-
value:
|
|
459
|
+
value: h,
|
|
455
460
|
timeout: 1600,
|
|
456
|
-
children: ({ copied:
|
|
457
|
-
|
|
461
|
+
children: ({ copied: g, copy: b }) => /* @__PURE__ */ e(
|
|
462
|
+
ae,
|
|
458
463
|
{
|
|
459
|
-
label:
|
|
464
|
+
label: g ? "Copiado" : "Copiar",
|
|
460
465
|
withArrow: !0,
|
|
461
466
|
position: "left",
|
|
462
467
|
children: /* @__PURE__ */ e(
|
|
463
|
-
|
|
468
|
+
X,
|
|
464
469
|
{
|
|
465
470
|
variant: "subtle",
|
|
466
471
|
size: "sm",
|
|
@@ -468,9 +473,9 @@ function ir({ children: a, label: s, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
468
473
|
onClick: b,
|
|
469
474
|
"aria-label": "Copiar codigo",
|
|
470
475
|
style: {
|
|
471
|
-
color:
|
|
476
|
+
color: g ? "var(--mantine-color-green-4)" : m.label
|
|
472
477
|
},
|
|
473
|
-
children:
|
|
478
|
+
children: g ? /* @__PURE__ */ e(G, { size: 14 }) : /* @__PURE__ */ e(Le, { size: 14 })
|
|
474
479
|
}
|
|
475
480
|
)
|
|
476
481
|
}
|
|
@@ -496,35 +501,36 @@ function ir({ children: a, label: s, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
496
501
|
overflowX: "auto",
|
|
497
502
|
tabSize: 2
|
|
498
503
|
},
|
|
499
|
-
children:
|
|
504
|
+
children: p
|
|
500
505
|
}
|
|
501
506
|
)
|
|
502
507
|
]
|
|
503
508
|
}
|
|
504
509
|
);
|
|
505
510
|
}
|
|
506
|
-
const le = { auto: "
|
|
507
|
-
function
|
|
508
|
-
const { colorScheme:
|
|
511
|
+
const le = { auto: "Automático", light: "Claro", dark: "Escuro" }, sr = { auto: We, light: Ve, dark: $e };
|
|
512
|
+
function cr({ size: a = 36, ...c }) {
|
|
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", s = sr[p], m = `Tema: ${le[p]}. Mudar para ${le[h]}.`;
|
|
509
514
|
return /* @__PURE__ */ e(
|
|
510
|
-
|
|
515
|
+
ae,
|
|
511
516
|
{
|
|
512
|
-
label:
|
|
517
|
+
label: m,
|
|
513
518
|
position: "top",
|
|
514
519
|
withArrow: !1,
|
|
520
|
+
events: { hover: !0, focus: !0, touch: !0 },
|
|
515
521
|
children: /* @__PURE__ */ e(
|
|
516
|
-
|
|
522
|
+
X,
|
|
517
523
|
{
|
|
518
524
|
"data-color-scheme-toggle": !0,
|
|
519
525
|
variant: "subtle",
|
|
520
526
|
color: "gray.9",
|
|
521
527
|
size: a,
|
|
522
528
|
radius: 0,
|
|
523
|
-
"aria-label":
|
|
524
|
-
onClick: () => i(
|
|
525
|
-
...
|
|
529
|
+
"aria-label": m,
|
|
530
|
+
onClick: () => i(h),
|
|
531
|
+
...c,
|
|
526
532
|
children: /* @__PURE__ */ e(
|
|
527
|
-
|
|
533
|
+
s,
|
|
528
534
|
{
|
|
529
535
|
size: 18,
|
|
530
536
|
stroke: 1.5,
|
|
@@ -542,24 +548,24 @@ const Z = {
|
|
|
542
548
|
white: "gray.0",
|
|
543
549
|
gray: "gray.1"
|
|
544
550
|
}, O = (a) => a === "gray.9" || a === "dark" ? Z.gray : a === "white" ? Z.white : Z.gray;
|
|
545
|
-
function F({ children: a, badge:
|
|
546
|
-
const m = O(
|
|
551
|
+
function F({ children: a, badge: c, title: o, subtitle: i, id: n, background: l = "white", py: p = { base: 80, md: 120 }, maw: d = 800, ta: h = "left", stackGap: s = "xl" }) {
|
|
552
|
+
const m = O(l);
|
|
547
553
|
return /* @__PURE__ */ e(
|
|
548
554
|
x,
|
|
549
555
|
{
|
|
550
556
|
component: "section",
|
|
551
557
|
id: n,
|
|
552
558
|
bg: m,
|
|
553
|
-
py:
|
|
559
|
+
py: p,
|
|
554
560
|
style: { overflow: "hidden" },
|
|
555
|
-
children: /* @__PURE__ */ e(
|
|
561
|
+
children: /* @__PURE__ */ e(E, { size: "lg", children: /* @__PURE__ */ r(u, { gap: s, children: [
|
|
556
562
|
/* @__PURE__ */ e(
|
|
557
563
|
xe,
|
|
558
564
|
{
|
|
559
|
-
badge:
|
|
565
|
+
badge: c,
|
|
560
566
|
subtitle: i,
|
|
561
|
-
title:
|
|
562
|
-
ta:
|
|
567
|
+
title: o,
|
|
568
|
+
ta: h,
|
|
563
569
|
maw: d
|
|
564
570
|
}
|
|
565
571
|
),
|
|
@@ -568,14 +574,14 @@ function F({ children: a, badge: s, title: l, subtitle: i, id: n, background: o
|
|
|
568
574
|
}
|
|
569
575
|
);
|
|
570
576
|
}
|
|
571
|
-
function
|
|
577
|
+
function jr({ brand: a, label: c = "Verificando sua sessão...", ...o }) {
|
|
572
578
|
return /* @__PURE__ */ e(
|
|
573
579
|
Te,
|
|
574
580
|
{
|
|
575
581
|
h: "100dvh",
|
|
576
582
|
justify: "center",
|
|
577
583
|
align: "center",
|
|
578
|
-
...
|
|
584
|
+
...o,
|
|
579
585
|
children: /* @__PURE__ */ r(
|
|
580
586
|
u,
|
|
581
587
|
{
|
|
@@ -583,7 +589,7 @@ function Pr({ brand: a, label: s = "Verificando sua sessão...", ...l }) {
|
|
|
583
589
|
gap: "md",
|
|
584
590
|
children: [
|
|
585
591
|
a ? /* @__PURE__ */ e(
|
|
586
|
-
|
|
592
|
+
or,
|
|
587
593
|
{
|
|
588
594
|
fz: 11,
|
|
589
595
|
fw: 800,
|
|
@@ -603,7 +609,7 @@ function Pr({ brand: a, label: s = "Verificando sua sessão...", ...l }) {
|
|
|
603
609
|
fw: 500,
|
|
604
610
|
fz: "sm",
|
|
605
611
|
c: "gray.6",
|
|
606
|
-
children:
|
|
612
|
+
children: c
|
|
607
613
|
}
|
|
608
614
|
)
|
|
609
615
|
]
|
|
@@ -612,38 +618,40 @@ function Pr({ brand: a, label: s = "Verificando sua sessão...", ...l }) {
|
|
|
612
618
|
}
|
|
613
619
|
);
|
|
614
620
|
}
|
|
615
|
-
function
|
|
621
|
+
function Nr({ children: a, style: c, ...o }) {
|
|
616
622
|
return /* @__PURE__ */ e(
|
|
617
623
|
x,
|
|
618
624
|
{
|
|
619
625
|
display: "flex",
|
|
620
|
-
...
|
|
626
|
+
...o,
|
|
621
627
|
style: {
|
|
622
628
|
flexDirection: "column",
|
|
623
629
|
minHeight: "100vh",
|
|
624
|
-
|
|
625
|
-
...s
|
|
630
|
+
...c
|
|
626
631
|
},
|
|
627
632
|
children: a
|
|
628
633
|
}
|
|
629
634
|
);
|
|
630
635
|
}
|
|
631
|
-
function
|
|
632
|
-
|
|
636
|
+
function ee() {
|
|
637
|
+
return typeof window > "u" || !window.matchMedia || window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth";
|
|
638
|
+
}
|
|
639
|
+
function se({ cta: a, filled: c }) {
|
|
640
|
+
const { icon: o, label: i, labelMobile: n, component: l, ...p } = a;
|
|
633
641
|
return /* @__PURE__ */ e(
|
|
634
|
-
|
|
642
|
+
X,
|
|
635
643
|
{
|
|
636
|
-
...
|
|
637
|
-
component:
|
|
644
|
+
...p,
|
|
645
|
+
component: l || (a.href ? "a" : "button"),
|
|
638
646
|
className: "ck-cta-icon",
|
|
639
647
|
"aria-label": i,
|
|
640
648
|
title: i,
|
|
641
649
|
size: 36,
|
|
642
650
|
radius: 0,
|
|
643
651
|
color: "gray.9",
|
|
644
|
-
variant:
|
|
652
|
+
variant: c ? "filled" : "subtle",
|
|
645
653
|
children: /* @__PURE__ */ e(
|
|
646
|
-
|
|
654
|
+
o,
|
|
647
655
|
{
|
|
648
656
|
size: 20,
|
|
649
657
|
stroke: 1.5
|
|
@@ -652,11 +660,11 @@ function se({ cta: a, filled: s }) {
|
|
|
652
660
|
}
|
|
653
661
|
);
|
|
654
662
|
}
|
|
655
|
-
function
|
|
656
|
-
const
|
|
657
|
-
y === "top" ? window.scrollTo({ top: 0, behavior:
|
|
658
|
-
}, b = (y,
|
|
659
|
-
(y.key === "Enter" || y.key === " ") && (y.preventDefault(),
|
|
663
|
+
function dr({ logo: a, logoLink: c, navLinks: o = [], loginCta: i, signupCta: n, background: l = "white", logoMinWidth: p = 176, withColorScheme: d = !0 }) {
|
|
664
|
+
const h = O(l), [s] = Pe(), m = s.y > 10, g = (y) => {
|
|
665
|
+
y === "top" ? window.scrollTo({ top: 0, behavior: ee() }) : document.getElementById(y)?.scrollIntoView({ behavior: ee() });
|
|
666
|
+
}, b = (y, v) => {
|
|
667
|
+
(y.key === "Enter" || y.key === " ") && (y.preventDefault(), g(v));
|
|
660
668
|
};
|
|
661
669
|
return /* @__PURE__ */ e(
|
|
662
670
|
x,
|
|
@@ -667,7 +675,7 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
667
675
|
w: "100%",
|
|
668
676
|
style: { zIndex: 100, pointerEvents: "none" },
|
|
669
677
|
children: /* @__PURE__ */ e(
|
|
670
|
-
|
|
678
|
+
E,
|
|
671
679
|
{
|
|
672
680
|
size: "xl",
|
|
673
681
|
py: "md",
|
|
@@ -679,9 +687,9 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
679
687
|
radius: "0",
|
|
680
688
|
py: "xs",
|
|
681
689
|
px: "sm",
|
|
682
|
-
bg:
|
|
690
|
+
bg: h,
|
|
683
691
|
bd: m ? "1px solid var(--mantine-color-gray-2)" : "1px solid transparent",
|
|
684
|
-
style: { pointerEvents: "auto", transition: "
|
|
692
|
+
style: { pointerEvents: "auto", transition: "background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease" },
|
|
685
693
|
children: /* @__PURE__ */ r(
|
|
686
694
|
f,
|
|
687
695
|
{
|
|
@@ -690,16 +698,16 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
690
698
|
wrap: "nowrap",
|
|
691
699
|
children: [
|
|
692
700
|
a && (() => {
|
|
693
|
-
const y = { display: "inline-flex", textDecoration: "none", minWidth:
|
|
694
|
-
if (
|
|
695
|
-
const { component:
|
|
701
|
+
const y = { display: "inline-flex", textDecoration: "none", minWidth: p, flex: "0 1 auto" };
|
|
702
|
+
if (c) {
|
|
703
|
+
const { component: v = "a", ...k } = c;
|
|
696
704
|
return /* @__PURE__ */ e(
|
|
697
|
-
|
|
705
|
+
v,
|
|
698
706
|
{
|
|
699
707
|
...k,
|
|
700
708
|
"aria-label": "Ir para a página inicial",
|
|
701
709
|
style: y,
|
|
702
|
-
children: /* @__PURE__ */ e(
|
|
710
|
+
children: /* @__PURE__ */ e(re, { logo: a })
|
|
703
711
|
}
|
|
704
712
|
);
|
|
705
713
|
}
|
|
@@ -708,15 +716,15 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
708
716
|
{
|
|
709
717
|
href: "#",
|
|
710
718
|
"aria-label": "Voltar ao topo",
|
|
711
|
-
onClick: (
|
|
712
|
-
|
|
719
|
+
onClick: (v) => {
|
|
720
|
+
v.preventDefault(), window.scrollTo({ top: 0, behavior: ee() });
|
|
713
721
|
},
|
|
714
722
|
style: y,
|
|
715
|
-
children: /* @__PURE__ */ e(
|
|
723
|
+
children: /* @__PURE__ */ e(re, { logo: a })
|
|
716
724
|
}
|
|
717
725
|
);
|
|
718
726
|
})(),
|
|
719
|
-
|
|
727
|
+
o.length > 0 && /* FROM 1200px (`lg`), NOT FROM 768px. Four links, the
|
|
720
728
|
logo and two buttons need about 1 250px on one line;
|
|
721
729
|
from `sm` the nav wrapped into two rows and pushed the
|
|
722
730
|
second button under the first, doubling the sticky bar
|
|
@@ -731,7 +739,7 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
731
739
|
component: "nav",
|
|
732
740
|
role: "navigation",
|
|
733
741
|
"aria-label": "Menu principal",
|
|
734
|
-
children:
|
|
742
|
+
children: o.map((y) => /* @__PURE__ */ e(
|
|
735
743
|
t,
|
|
736
744
|
{
|
|
737
745
|
size: "sm",
|
|
@@ -744,8 +752,8 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
744
752
|
role: y.component ? void 0 : "link",
|
|
745
753
|
tabIndex: y.component ? void 0 : 0,
|
|
746
754
|
style: { cursor: "pointer", ...y.style },
|
|
747
|
-
onClick: y.target ? () =>
|
|
748
|
-
onKeyDown: y.target ? (
|
|
755
|
+
onClick: y.target ? () => g(y.target) : y.onClick,
|
|
756
|
+
onKeyDown: y.target ? (v) => b(v, y.target) : y.onKeyDown,
|
|
749
757
|
children: y.label
|
|
750
758
|
},
|
|
751
759
|
y.label
|
|
@@ -759,7 +767,7 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
759
767
|
wrap: "nowrap",
|
|
760
768
|
style: { flexShrink: 0 },
|
|
761
769
|
children: [
|
|
762
|
-
d && /* @__PURE__ */ e(
|
|
770
|
+
d && /* @__PURE__ */ e(cr, {}),
|
|
763
771
|
i && /* @__PURE__ */ r(
|
|
764
772
|
x,
|
|
765
773
|
{
|
|
@@ -771,7 +779,7 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
771
779
|
U,
|
|
772
780
|
{
|
|
773
781
|
variant: "subtle",
|
|
774
|
-
...(({ icon: y, ...
|
|
782
|
+
...(({ icon: y, ...v }) => v)(i),
|
|
775
783
|
component: i.component || (i.href ? "a" : "button"),
|
|
776
784
|
className: "ck-cta-label",
|
|
777
785
|
c: "gray.7",
|
|
@@ -794,7 +802,7 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
794
802
|
/* @__PURE__ */ r(
|
|
795
803
|
U,
|
|
796
804
|
{
|
|
797
|
-
...(({ icon: y, ...
|
|
805
|
+
...(({ icon: y, ...v }) => v)(n),
|
|
798
806
|
component: n.component || (n.href ? "a" : "button"),
|
|
799
807
|
className: "ck-cta-label",
|
|
800
808
|
size: "sm",
|
|
@@ -850,20 +858,20 @@ function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
850
858
|
}
|
|
851
859
|
);
|
|
852
860
|
}
|
|
853
|
-
const
|
|
861
|
+
const Or = dr, ce = {
|
|
854
862
|
root: { height: "auto", maxWidth: "100%" },
|
|
855
863
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
856
864
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
857
865
|
};
|
|
858
|
-
function
|
|
859
|
-
const b = !!(
|
|
866
|
+
function Rr({ subtitle: a, title: c, description: o, cta: i, secondaryCta: n, note: l, video: p, image: d, background: h = "white", mediaMaw: s, titleFz: m = "var(--fz-hero)", descriptionFz: g = "xl" }) {
|
|
867
|
+
const b = !!(p || d);
|
|
860
868
|
return /* @__PURE__ */ e(
|
|
861
869
|
x,
|
|
862
870
|
{
|
|
863
871
|
py: { base: 80, sm: 100, md: 140 },
|
|
864
872
|
id: "hero",
|
|
865
|
-
bg:
|
|
866
|
-
children: /* @__PURE__ */ e(
|
|
873
|
+
bg: h,
|
|
874
|
+
children: /* @__PURE__ */ e(E, { size: "lg", children: /* @__PURE__ */ r(
|
|
867
875
|
A,
|
|
868
876
|
{
|
|
869
877
|
cols: { base: 1, md: b ? 2 : 1 },
|
|
@@ -878,28 +886,28 @@ function Nr({ subtitle: a, title: s, description: l, cta: i, secondaryCta: n, no
|
|
|
878
886
|
gap: { base: 32, md: 48 },
|
|
879
887
|
ta: b ? { base: "center", md: "left" } : "center",
|
|
880
888
|
children: [
|
|
881
|
-
/* @__PURE__ */ e(
|
|
889
|
+
/* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
882
890
|
xe,
|
|
883
891
|
{
|
|
884
892
|
subtitle: a,
|
|
885
|
-
title:
|
|
893
|
+
title: c,
|
|
886
894
|
titleOrder: 1,
|
|
887
895
|
titleFz: m,
|
|
888
896
|
ta: b ? "inherit" : "center",
|
|
889
897
|
maw: b ? void 0 : 940
|
|
890
898
|
}
|
|
891
899
|
) }),
|
|
892
|
-
|
|
900
|
+
o && /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
893
901
|
t,
|
|
894
902
|
{
|
|
895
|
-
size:
|
|
903
|
+
size: g,
|
|
896
904
|
c: "gray.6",
|
|
897
905
|
lh: 1.6,
|
|
898
906
|
maw: 600,
|
|
899
|
-
children:
|
|
907
|
+
children: o
|
|
900
908
|
}
|
|
901
909
|
) }),
|
|
902
|
-
(i || n) && /* @__PURE__ */ e(
|
|
910
|
+
(i || n) && /* @__PURE__ */ e(B, { children: /* @__PURE__ */ r(
|
|
903
911
|
f,
|
|
904
912
|
{
|
|
905
913
|
gap: "md",
|
|
@@ -909,7 +917,7 @@ function Nr({ subtitle: a, title: s, description: l, cta: i, secondaryCta: n, no
|
|
|
909
917
|
className: "rlg-cta-group",
|
|
910
918
|
children: [
|
|
911
919
|
i && /* @__PURE__ */ e(
|
|
912
|
-
|
|
920
|
+
j,
|
|
913
921
|
{
|
|
914
922
|
label: i.label,
|
|
915
923
|
href: i.href,
|
|
@@ -925,7 +933,7 @@ function Nr({ subtitle: a, title: s, description: l, cta: i, secondaryCta: n, no
|
|
|
925
933
|
}
|
|
926
934
|
),
|
|
927
935
|
n && /* @__PURE__ */ e(
|
|
928
|
-
|
|
936
|
+
j,
|
|
929
937
|
{
|
|
930
938
|
label: n.label,
|
|
931
939
|
href: n.href,
|
|
@@ -943,7 +951,7 @@ function Nr({ subtitle: a, title: s, description: l, cta: i, secondaryCta: n, no
|
|
|
943
951
|
]
|
|
944
952
|
}
|
|
945
953
|
) }),
|
|
946
|
-
|
|
954
|
+
l && /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
947
955
|
t,
|
|
948
956
|
{
|
|
949
957
|
size: "sm",
|
|
@@ -951,7 +959,7 @@ function Nr({ subtitle: a, title: s, description: l, cta: i, secondaryCta: n, no
|
|
|
951
959
|
maw: 620,
|
|
952
960
|
fw: 500,
|
|
953
961
|
lh: 1.7,
|
|
954
|
-
children:
|
|
962
|
+
children: l
|
|
955
963
|
}
|
|
956
964
|
) })
|
|
957
965
|
]
|
|
@@ -960,9 +968,9 @@ function Nr({ subtitle: a, title: s, description: l, cta: i, secondaryCta: n, no
|
|
|
960
968
|
b && /* @__PURE__ */ e(
|
|
961
969
|
be,
|
|
962
970
|
{
|
|
963
|
-
video:
|
|
971
|
+
video: p,
|
|
964
972
|
image: d,
|
|
965
|
-
maw:
|
|
973
|
+
maw: s,
|
|
966
974
|
alt: "Demonstração do produto"
|
|
967
975
|
}
|
|
968
976
|
)
|
|
@@ -972,10 +980,10 @@ function Nr({ subtitle: a, title: s, description: l, cta: i, secondaryCta: n, no
|
|
|
972
980
|
}
|
|
973
981
|
);
|
|
974
982
|
}
|
|
975
|
-
function
|
|
976
|
-
const
|
|
983
|
+
function hr({ logo: a, index: c }) {
|
|
984
|
+
const o = {
|
|
977
985
|
src: a.src,
|
|
978
|
-
alt: a.alt || `Logo ${
|
|
986
|
+
alt: a.alt || `Logo ${c}`,
|
|
979
987
|
h: a.height || 50,
|
|
980
988
|
w: "auto",
|
|
981
989
|
style: {
|
|
@@ -990,18 +998,18 @@ function cr({ logo: a, index: s }) {
|
|
|
990
998
|
i.currentTarget.style.filter = "grayscale(1) opacity(0.4)";
|
|
991
999
|
}
|
|
992
1000
|
};
|
|
993
|
-
return a.url ? /* @__PURE__ */ e(
|
|
1001
|
+
return a.url ? /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
994
1002
|
"a",
|
|
995
1003
|
{
|
|
996
1004
|
href: a.url,
|
|
997
1005
|
target: "_blank",
|
|
998
1006
|
rel: "noopener noreferrer",
|
|
999
|
-
children: /* @__PURE__ */ e(_, { ...
|
|
1007
|
+
children: /* @__PURE__ */ e(_, { ...o })
|
|
1000
1008
|
}
|
|
1001
|
-
) }) : /* @__PURE__ */ e(
|
|
1009
|
+
) }) : /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(_, { ...o }) });
|
|
1002
1010
|
}
|
|
1003
|
-
function
|
|
1004
|
-
return !
|
|
1011
|
+
function Lr({ id: a, title: c, logos: o, background: i = "gray" }) {
|
|
1012
|
+
return !o || o.length === 0 ? null : /* @__PURE__ */ e(
|
|
1005
1013
|
x,
|
|
1006
1014
|
{
|
|
1007
1015
|
component: "section",
|
|
@@ -1009,14 +1017,14 @@ function Or({ id: a, title: s, logos: l, background: i = "gray" }) {
|
|
|
1009
1017
|
py: { base: 40, md: 60 },
|
|
1010
1018
|
bg: i,
|
|
1011
1019
|
bd: { bottom: "1px solid var(--mantine-color-gray-2)" },
|
|
1012
|
-
children: /* @__PURE__ */ e(
|
|
1020
|
+
children: /* @__PURE__ */ e(E, { size: "lg", children: /* @__PURE__ */ r(
|
|
1013
1021
|
u,
|
|
1014
1022
|
{
|
|
1015
1023
|
align: "center",
|
|
1016
1024
|
ta: "center",
|
|
1017
1025
|
gap: "xl",
|
|
1018
1026
|
children: [
|
|
1019
|
-
|
|
1027
|
+
c && /* @__PURE__ */ e(
|
|
1020
1028
|
t,
|
|
1021
1029
|
{
|
|
1022
1030
|
fw: 500,
|
|
@@ -1024,7 +1032,7 @@ function Or({ id: a, title: s, logos: l, background: i = "gray" }) {
|
|
|
1024
1032
|
size: "sm",
|
|
1025
1033
|
tt: "uppercase",
|
|
1026
1034
|
lts: "1.5px",
|
|
1027
|
-
children:
|
|
1035
|
+
children: c
|
|
1028
1036
|
}
|
|
1029
1037
|
),
|
|
1030
1038
|
/* @__PURE__ */ e(
|
|
@@ -1034,13 +1042,13 @@ function Or({ id: a, title: s, logos: l, background: i = "gray" }) {
|
|
|
1034
1042
|
gap: { base: 40, md: 80 },
|
|
1035
1043
|
style: { rowGap: 40 },
|
|
1036
1044
|
w: "100%",
|
|
1037
|
-
children:
|
|
1038
|
-
|
|
1045
|
+
children: o.map((n, l) => /* @__PURE__ */ e(
|
|
1046
|
+
hr,
|
|
1039
1047
|
{
|
|
1040
1048
|
logo: n,
|
|
1041
|
-
index:
|
|
1049
|
+
index: l
|
|
1042
1050
|
},
|
|
1043
|
-
|
|
1051
|
+
l
|
|
1044
1052
|
))
|
|
1045
1053
|
}
|
|
1046
1054
|
)
|
|
@@ -1050,8 +1058,8 @@ function Or({ id: a, title: s, logos: l, background: i = "gray" }) {
|
|
|
1050
1058
|
}
|
|
1051
1059
|
);
|
|
1052
1060
|
}
|
|
1053
|
-
function
|
|
1054
|
-
const b =
|
|
1061
|
+
function $r({ id: a, subtitle: c, title: o, description: i, descriptionFz: n, featuresList: l, cta: p, video: d, image: h, reverse: s = !1, background: m = "white", mediaMaw: g }) {
|
|
1062
|
+
const b = l && l.length > 0 && /* @__PURE__ */ e(
|
|
1055
1063
|
$,
|
|
1056
1064
|
{
|
|
1057
1065
|
spacing: "md",
|
|
@@ -1072,7 +1080,7 @@ function Lr({ id: a, subtitle: s, title: l, description: i, descriptionFz: n, fe
|
|
|
1072
1080
|
)
|
|
1073
1081
|
}
|
|
1074
1082
|
),
|
|
1075
|
-
children:
|
|
1083
|
+
children: l.map((k, I) => /* @__PURE__ */ e($.Item, { children: k }, I))
|
|
1076
1084
|
}
|
|
1077
1085
|
), y = /* @__PURE__ */ r(
|
|
1078
1086
|
u,
|
|
@@ -1101,20 +1109,20 @@ function Lr({ id: a, subtitle: s, title: l, description: i, descriptionFz: n, fe
|
|
|
1101
1109
|
}
|
|
1102
1110
|
),
|
|
1103
1111
|
b,
|
|
1104
|
-
|
|
1105
|
-
|
|
1112
|
+
p && /* @__PURE__ */ e(f, { mt: "md", children: /* @__PURE__ */ e(
|
|
1113
|
+
j,
|
|
1106
1114
|
{
|
|
1107
|
-
label:
|
|
1108
|
-
href:
|
|
1109
|
-
icon:
|
|
1110
|
-
size:
|
|
1111
|
-
variant:
|
|
1112
|
-
color:
|
|
1115
|
+
label: p.label,
|
|
1116
|
+
href: p.href,
|
|
1117
|
+
icon: p.icon,
|
|
1118
|
+
size: p.size || "lg",
|
|
1119
|
+
variant: p.variant,
|
|
1120
|
+
color: p.color
|
|
1113
1121
|
}
|
|
1114
1122
|
) })
|
|
1115
1123
|
]
|
|
1116
1124
|
}
|
|
1117
|
-
),
|
|
1125
|
+
), v = (d || h) && /* 80% SÓ A PARTIR DO `md`, e a coluna inteira abaixo disso.
|
|
1118
1126
|
|
|
1119
1127
|
No desktop a mídia divide a linha com o texto, e os 80% deixam o ar
|
|
1120
1128
|
que separa uma coluna da outra. No celular não há duas colunas: o
|
|
@@ -1131,17 +1139,17 @@ function Lr({ id: a, subtitle: s, title: l, description: i, descriptionFz: n, fe
|
|
|
1131
1139
|
be,
|
|
1132
1140
|
{
|
|
1133
1141
|
video: d,
|
|
1134
|
-
image:
|
|
1142
|
+
image: h,
|
|
1135
1143
|
width: { base: "100%", md: "80%" },
|
|
1136
|
-
maw:
|
|
1144
|
+
maw: g
|
|
1137
1145
|
}
|
|
1138
1146
|
);
|
|
1139
1147
|
return /* @__PURE__ */ e(
|
|
1140
1148
|
F,
|
|
1141
1149
|
{
|
|
1142
1150
|
id: a,
|
|
1143
|
-
subtitle:
|
|
1144
|
-
title:
|
|
1151
|
+
subtitle: c,
|
|
1152
|
+
title: o,
|
|
1145
1153
|
background: m,
|
|
1146
1154
|
children: /* @__PURE__ */ e(
|
|
1147
1155
|
A,
|
|
@@ -1149,27 +1157,27 @@ function Lr({ id: a, subtitle: s, title: l, description: i, descriptionFz: n, fe
|
|
|
1149
1157
|
cols: { base: 1, md: 2 },
|
|
1150
1158
|
spacing: { base: 40, md: 80 },
|
|
1151
1159
|
verticalSpacing: { base: 40, md: 50 },
|
|
1152
|
-
children:
|
|
1153
|
-
|
|
1160
|
+
children: s ? /* @__PURE__ */ r(ie, { children: [
|
|
1161
|
+
v,
|
|
1154
1162
|
y
|
|
1155
|
-
] }) : /* @__PURE__ */ r(
|
|
1163
|
+
] }) : /* @__PURE__ */ r(ie, { children: [
|
|
1156
1164
|
y,
|
|
1157
|
-
|
|
1165
|
+
v
|
|
1158
1166
|
] })
|
|
1159
1167
|
}
|
|
1160
1168
|
)
|
|
1161
1169
|
}
|
|
1162
1170
|
);
|
|
1163
1171
|
}
|
|
1164
|
-
function
|
|
1172
|
+
function Vr({ id: a, badge: c, subtitle: o, title: i, description: n, background: l = "gray", items: p = [], ta: d = "left", note: h }) {
|
|
1165
1173
|
return /* @__PURE__ */ r(
|
|
1166
1174
|
F,
|
|
1167
1175
|
{
|
|
1168
1176
|
id: a,
|
|
1169
|
-
badge:
|
|
1170
|
-
subtitle:
|
|
1177
|
+
badge: c,
|
|
1178
|
+
subtitle: o,
|
|
1171
1179
|
title: i,
|
|
1172
|
-
background:
|
|
1180
|
+
background: l,
|
|
1173
1181
|
ta: d,
|
|
1174
1182
|
maw: d === "center" ? 900 : 800,
|
|
1175
1183
|
children: [
|
|
@@ -1186,14 +1194,14 @@ function Rr({ id: a, badge: s, subtitle: l, title: i, description: n, background
|
|
|
1186
1194
|
children: n
|
|
1187
1195
|
}
|
|
1188
1196
|
),
|
|
1189
|
-
/* @__PURE__ */ e(
|
|
1190
|
-
|
|
1197
|
+
/* @__PURE__ */ e(z, { gutter: "lg", children: p.map((s, m) => /* @__PURE__ */ e(
|
|
1198
|
+
pr,
|
|
1191
1199
|
{
|
|
1192
|
-
...
|
|
1200
|
+
...s
|
|
1193
1201
|
},
|
|
1194
1202
|
m
|
|
1195
1203
|
)) }),
|
|
1196
|
-
|
|
1204
|
+
h && /* @__PURE__ */ e(
|
|
1197
1205
|
t,
|
|
1198
1206
|
{
|
|
1199
1207
|
c: "gray.6",
|
|
@@ -1203,29 +1211,29 @@ function Rr({ id: a, badge: s, subtitle: l, title: i, description: n, background
|
|
|
1203
1211
|
mx: d === "center" ? "auto" : void 0,
|
|
1204
1212
|
lh: 1.7,
|
|
1205
1213
|
fs: "italic",
|
|
1206
|
-
children:
|
|
1214
|
+
children: h
|
|
1207
1215
|
}
|
|
1208
1216
|
)
|
|
1209
1217
|
]
|
|
1210
1218
|
}
|
|
1211
1219
|
);
|
|
1212
1220
|
}
|
|
1213
|
-
function
|
|
1221
|
+
function pr({
|
|
1214
1222
|
icon: a,
|
|
1215
|
-
iconVariant:
|
|
1216
|
-
iconColor:
|
|
1223
|
+
iconVariant: c,
|
|
1224
|
+
iconColor: o,
|
|
1217
1225
|
label: i,
|
|
1218
1226
|
title: n,
|
|
1219
|
-
titleSize:
|
|
1220
|
-
description:
|
|
1227
|
+
titleSize: l,
|
|
1228
|
+
description: p,
|
|
1221
1229
|
descriptionSize: d,
|
|
1222
|
-
descriptionMaw:
|
|
1223
|
-
span:
|
|
1230
|
+
descriptionMaw: h,
|
|
1231
|
+
span: s = { base: 12, md: 6 },
|
|
1224
1232
|
background: m = "white",
|
|
1225
|
-
visual:
|
|
1233
|
+
visual: g,
|
|
1226
1234
|
secondaryVisual: b,
|
|
1227
1235
|
layout: y = "stacked",
|
|
1228
|
-
badges:
|
|
1236
|
+
badges: v,
|
|
1229
1237
|
// Acoes do card, no shape universal de cta: { label, href, icon, variant }.
|
|
1230
1238
|
// Sao dados, nunca JSX — o card monta os botoes, o consumidor so declara.
|
|
1231
1239
|
actions: k,
|
|
@@ -1235,9 +1243,9 @@ function dr({
|
|
|
1235
1243
|
codeSpan: C = 6,
|
|
1236
1244
|
// Rotulo da barra do terminal (ex: "bash", "index.js").
|
|
1237
1245
|
codeLabel: w,
|
|
1238
|
-
decorativeContent:
|
|
1246
|
+
decorativeContent: R,
|
|
1239
1247
|
style: D,
|
|
1240
|
-
...
|
|
1248
|
+
...L
|
|
1241
1249
|
}) {
|
|
1242
1250
|
const K = /* @__PURE__ */ r(x, { children: [
|
|
1243
1251
|
a && /* @__PURE__ */ e(
|
|
@@ -1245,8 +1253,8 @@ function dr({
|
|
|
1245
1253
|
{
|
|
1246
1254
|
size: 48,
|
|
1247
1255
|
radius: "0",
|
|
1248
|
-
variant:
|
|
1249
|
-
color:
|
|
1256
|
+
variant: c || "light",
|
|
1257
|
+
color: o || "gray",
|
|
1250
1258
|
mb: "lg",
|
|
1251
1259
|
children: /* @__PURE__ */ e(
|
|
1252
1260
|
a,
|
|
@@ -1272,7 +1280,7 @@ function dr({
|
|
|
1272
1280
|
n && /* @__PURE__ */ e(
|
|
1273
1281
|
t,
|
|
1274
1282
|
{
|
|
1275
|
-
fz:
|
|
1283
|
+
fz: l || (y === "compact" ? "h4" : "h3"),
|
|
1276
1284
|
fw: 900,
|
|
1277
1285
|
lh: 1.2,
|
|
1278
1286
|
mb: "sm",
|
|
@@ -1280,17 +1288,17 @@ function dr({
|
|
|
1280
1288
|
children: n
|
|
1281
1289
|
}
|
|
1282
1290
|
),
|
|
1283
|
-
|
|
1291
|
+
p && /* @__PURE__ */ e(
|
|
1284
1292
|
t,
|
|
1285
1293
|
{
|
|
1286
1294
|
c: "gray.6",
|
|
1287
1295
|
size: d || (y === "compact" ? "sm" : "lg"),
|
|
1288
|
-
maw:
|
|
1289
|
-
mb:
|
|
1290
|
-
children:
|
|
1296
|
+
maw: h,
|
|
1297
|
+
mb: v ? "xl" : y === "compact" ? "lg" : void 0,
|
|
1298
|
+
children: p
|
|
1291
1299
|
}
|
|
1292
1300
|
),
|
|
1293
|
-
|
|
1301
|
+
v && v.length > 0 && /* @__PURE__ */ e(f, { children: v.map((J, Q) => /* @__PURE__ */ e(
|
|
1294
1302
|
P,
|
|
1295
1303
|
{
|
|
1296
1304
|
variant: "dot",
|
|
@@ -1306,7 +1314,7 @@ function dr({
|
|
|
1306
1314
|
gap: "sm",
|
|
1307
1315
|
mt: "xl",
|
|
1308
1316
|
children: k.map((J, Q) => /* @__PURE__ */ e(
|
|
1309
|
-
|
|
1317
|
+
j,
|
|
1310
1318
|
{
|
|
1311
1319
|
size: "md",
|
|
1312
1320
|
variant: Q === 0 ? "filled" : "default",
|
|
@@ -1316,8 +1324,8 @@ function dr({
|
|
|
1316
1324
|
))
|
|
1317
1325
|
}
|
|
1318
1326
|
)
|
|
1319
|
-
] }), V =
|
|
1320
|
-
return y === "split" ? /* @__PURE__ */ e(
|
|
1327
|
+
] }), V = g ? de(g) : null, te = b ? de(b) : null;
|
|
1328
|
+
return y === "split" ? /* @__PURE__ */ e(z.Col, { span: s, children: /* @__PURE__ */ e(
|
|
1321
1329
|
T,
|
|
1322
1330
|
{
|
|
1323
1331
|
h: "100%",
|
|
@@ -1326,23 +1334,23 @@ function dr({
|
|
|
1326
1334
|
bg: O(m),
|
|
1327
1335
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1328
1336
|
style: D,
|
|
1329
|
-
...
|
|
1337
|
+
...L,
|
|
1330
1338
|
children: /* @__PURE__ */ r(
|
|
1331
|
-
|
|
1339
|
+
z,
|
|
1332
1340
|
{
|
|
1333
1341
|
align: "center",
|
|
1334
1342
|
gutter: "xl",
|
|
1335
1343
|
children: [
|
|
1336
|
-
/* @__PURE__ */ e(
|
|
1337
|
-
/* @__PURE__ */ r(
|
|
1344
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 12 - C }, children: K }),
|
|
1345
|
+
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm: C }, children: [
|
|
1338
1346
|
V,
|
|
1339
|
-
I && /* @__PURE__ */ e(
|
|
1347
|
+
I && /* @__PURE__ */ e(lr, { label: w, children: I })
|
|
1340
1348
|
] })
|
|
1341
1349
|
]
|
|
1342
1350
|
}
|
|
1343
1351
|
)
|
|
1344
1352
|
}
|
|
1345
|
-
) }) : y === "compact" ? /* @__PURE__ */ e(
|
|
1353
|
+
) }) : y === "compact" ? /* @__PURE__ */ e(z.Col, { span: s, children: /* @__PURE__ */ r(
|
|
1346
1354
|
T,
|
|
1347
1355
|
{
|
|
1348
1356
|
h: "100%",
|
|
@@ -1351,13 +1359,13 @@ function dr({
|
|
|
1351
1359
|
bg: O(m),
|
|
1352
1360
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1353
1361
|
style: D,
|
|
1354
|
-
...
|
|
1362
|
+
...L,
|
|
1355
1363
|
children: [
|
|
1356
1364
|
K,
|
|
1357
1365
|
V
|
|
1358
1366
|
]
|
|
1359
1367
|
}
|
|
1360
|
-
) }) :
|
|
1368
|
+
) }) : R ? /* @__PURE__ */ e(z.Col, { span: s, children: /* @__PURE__ */ e(
|
|
1361
1369
|
T,
|
|
1362
1370
|
{
|
|
1363
1371
|
h: "100%",
|
|
@@ -1367,15 +1375,15 @@ function dr({
|
|
|
1367
1375
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1368
1376
|
pos: "relative",
|
|
1369
1377
|
style: D,
|
|
1370
|
-
...
|
|
1378
|
+
...L,
|
|
1371
1379
|
children: /* @__PURE__ */ r(
|
|
1372
|
-
|
|
1380
|
+
z,
|
|
1373
1381
|
{
|
|
1374
1382
|
gutter: 0,
|
|
1375
1383
|
pos: "relative",
|
|
1376
1384
|
children: [
|
|
1377
1385
|
/* @__PURE__ */ e(
|
|
1378
|
-
|
|
1386
|
+
z.Col,
|
|
1379
1387
|
{
|
|
1380
1388
|
span: { base: 12, sm: 7 },
|
|
1381
1389
|
style: { zIndex: 1 },
|
|
@@ -1383,18 +1391,18 @@ function dr({
|
|
|
1383
1391
|
}
|
|
1384
1392
|
),
|
|
1385
1393
|
/* @__PURE__ */ e(
|
|
1386
|
-
|
|
1394
|
+
z.Col,
|
|
1387
1395
|
{
|
|
1388
1396
|
span: 5,
|
|
1389
1397
|
visibleFrom: "sm",
|
|
1390
|
-
children:
|
|
1398
|
+
children: R
|
|
1391
1399
|
}
|
|
1392
1400
|
)
|
|
1393
1401
|
]
|
|
1394
1402
|
}
|
|
1395
1403
|
)
|
|
1396
1404
|
}
|
|
1397
|
-
) }) : /* @__PURE__ */ e(
|
|
1405
|
+
) }) : /* @__PURE__ */ e(z.Col, { span: s, children: /* @__PURE__ */ r(
|
|
1398
1406
|
T,
|
|
1399
1407
|
{
|
|
1400
1408
|
h: "100%",
|
|
@@ -1408,17 +1416,17 @@ function dr({
|
|
|
1408
1416
|
justifyContent: "space-between",
|
|
1409
1417
|
...D
|
|
1410
1418
|
},
|
|
1411
|
-
...
|
|
1419
|
+
...L,
|
|
1412
1420
|
children: [
|
|
1413
1421
|
K,
|
|
1414
|
-
V &&
|
|
1422
|
+
V && te ? /* @__PURE__ */ r(
|
|
1415
1423
|
f,
|
|
1416
1424
|
{
|
|
1417
1425
|
gap: 40,
|
|
1418
1426
|
align: "center",
|
|
1419
1427
|
children: [
|
|
1420
1428
|
V,
|
|
1421
|
-
|
|
1429
|
+
te
|
|
1422
1430
|
]
|
|
1423
1431
|
}
|
|
1424
1432
|
) : V
|
|
@@ -1436,7 +1444,7 @@ function de(a) {
|
|
|
1436
1444
|
size: a.size || 140,
|
|
1437
1445
|
thickness: a.thickness || 12,
|
|
1438
1446
|
sections: [{ value: a.value || 100, color: "gray.7" }],
|
|
1439
|
-
label: /* @__PURE__ */ e(
|
|
1447
|
+
label: /* @__PURE__ */ e(B, { children: /* @__PURE__ */ r(
|
|
1440
1448
|
u,
|
|
1441
1449
|
{
|
|
1442
1450
|
gap: 0,
|
|
@@ -1506,21 +1514,21 @@ function de(a) {
|
|
|
1506
1514
|
gap: 8,
|
|
1507
1515
|
h: a.height || 100,
|
|
1508
1516
|
preventGrowOverflow: !1,
|
|
1509
|
-
children: (a.data || []).map((
|
|
1517
|
+
children: (a.data || []).map((c, o) => /* @__PURE__ */ e(
|
|
1510
1518
|
x,
|
|
1511
1519
|
{
|
|
1512
1520
|
w: 20,
|
|
1513
|
-
h: `${
|
|
1514
|
-
bg:
|
|
1521
|
+
h: `${c}%`,
|
|
1522
|
+
bg: o === a.highlight ? "gray.5" : "gray.2",
|
|
1515
1523
|
radius: "0"
|
|
1516
1524
|
},
|
|
1517
|
-
|
|
1525
|
+
o
|
|
1518
1526
|
))
|
|
1519
1527
|
}
|
|
1520
1528
|
);
|
|
1521
1529
|
case "typography":
|
|
1522
1530
|
return /* @__PURE__ */ e(
|
|
1523
|
-
|
|
1531
|
+
B,
|
|
1524
1532
|
{
|
|
1525
1533
|
h: a.height || 160,
|
|
1526
1534
|
bg: "gray.0",
|
|
@@ -1539,9 +1547,9 @@ function de(a) {
|
|
|
1539
1547
|
}
|
|
1540
1548
|
);
|
|
1541
1549
|
case "icon-large": {
|
|
1542
|
-
const
|
|
1543
|
-
return
|
|
1544
|
-
|
|
1550
|
+
const c = a.icon;
|
|
1551
|
+
return c ? /* @__PURE__ */ e(
|
|
1552
|
+
c,
|
|
1545
1553
|
{
|
|
1546
1554
|
size: a.size || 64,
|
|
1547
1555
|
stroke: a.stroke || 1,
|
|
@@ -1553,24 +1561,24 @@ function de(a) {
|
|
|
1553
1561
|
return null;
|
|
1554
1562
|
}
|
|
1555
1563
|
}
|
|
1556
|
-
function
|
|
1557
|
-
const
|
|
1564
|
+
function Wr({ id: a, subtitle: c, title: o, items: i = [], cols: n, background: l = "white", ta: p = "center", note: d }) {
|
|
1565
|
+
const h = n ?? Math.min(Math.max(i.length, 1), 4);
|
|
1558
1566
|
return /* @__PURE__ */ r(
|
|
1559
1567
|
F,
|
|
1560
1568
|
{
|
|
1561
1569
|
id: a,
|
|
1562
|
-
subtitle:
|
|
1563
|
-
title:
|
|
1564
|
-
background:
|
|
1565
|
-
ta:
|
|
1570
|
+
subtitle: c,
|
|
1571
|
+
title: o,
|
|
1572
|
+
background: l,
|
|
1573
|
+
ta: p,
|
|
1566
1574
|
maw: 900,
|
|
1567
1575
|
children: [
|
|
1568
1576
|
/* @__PURE__ */ e(
|
|
1569
1577
|
A,
|
|
1570
1578
|
{
|
|
1571
|
-
cols: { base: 1, sm:
|
|
1579
|
+
cols: { base: 1, sm: h === 3 ? 3 : 2, lg: h },
|
|
1572
1580
|
spacing: 0,
|
|
1573
|
-
children: i.map((
|
|
1581
|
+
children: i.map((s, m) => /* @__PURE__ */ r(
|
|
1574
1582
|
T,
|
|
1575
1583
|
{
|
|
1576
1584
|
px: "lg",
|
|
@@ -1591,7 +1599,7 @@ function $r({ id: a, subtitle: s, title: l, items: i = [], cols: n, background:
|
|
|
1591
1599
|
mb: "lg",
|
|
1592
1600
|
c: "gray.9",
|
|
1593
1601
|
style: { letterSpacing: "-0.04em" },
|
|
1594
|
-
children:
|
|
1602
|
+
children: s.value
|
|
1595
1603
|
}
|
|
1596
1604
|
),
|
|
1597
1605
|
/* @__PURE__ */ e(
|
|
@@ -1604,10 +1612,10 @@ function $r({ id: a, subtitle: s, title: l, items: i = [], cols: n, background:
|
|
|
1604
1612
|
mb: "xs",
|
|
1605
1613
|
c: "gray.9",
|
|
1606
1614
|
style: { letterSpacing: "-0.01em" },
|
|
1607
|
-
children:
|
|
1615
|
+
children: s.label
|
|
1608
1616
|
}
|
|
1609
1617
|
),
|
|
1610
|
-
|
|
1618
|
+
s.description && /* @__PURE__ */ e(
|
|
1611
1619
|
t,
|
|
1612
1620
|
{
|
|
1613
1621
|
component: "div",
|
|
@@ -1616,12 +1624,12 @@ function $r({ id: a, subtitle: s, title: l, items: i = [], cols: n, background:
|
|
|
1616
1624
|
lh: 1.5,
|
|
1617
1625
|
maw: 220,
|
|
1618
1626
|
mx: "auto",
|
|
1619
|
-
children:
|
|
1627
|
+
children: s.description
|
|
1620
1628
|
}
|
|
1621
1629
|
)
|
|
1622
1630
|
]
|
|
1623
1631
|
},
|
|
1624
|
-
|
|
1632
|
+
s.label || m
|
|
1625
1633
|
))
|
|
1626
1634
|
}
|
|
1627
1635
|
),
|
|
@@ -1647,20 +1655,20 @@ const W = {
|
|
|
1647
1655
|
degraded: { color: "yellow.7", chart: "yellow.7", title: "Desempenho degradado", badge: "Degradado" },
|
|
1648
1656
|
down: { color: "red.7", chart: "red.7", title: "Interrupção em andamento", badge: "Fora do ar" },
|
|
1649
1657
|
loading: { color: "gray.4", chart: "gray.5", title: "Verificando os sistemas", badge: "Verificando" }
|
|
1650
|
-
},
|
|
1658
|
+
}, gr = (a) => {
|
|
1651
1659
|
if (!a) return null;
|
|
1652
|
-
const
|
|
1653
|
-
return Number.isNaN(
|
|
1660
|
+
const c = new Date(a);
|
|
1661
|
+
return Number.isNaN(c.getTime()) ? null : c.toLocaleString("pt-BR", { dateStyle: "short", timeStyle: "medium" });
|
|
1654
1662
|
};
|
|
1655
|
-
function
|
|
1656
|
-
const d =
|
|
1663
|
+
function Ur({ service: a, status: c = "loading", checkedAt: o, checks: i = [], latency: n = [], uptime: l = [], error: p }) {
|
|
1664
|
+
const d = p ? W.down : W[c] || W.loading, h = gr(o);
|
|
1657
1665
|
return /* @__PURE__ */ e(
|
|
1658
1666
|
x,
|
|
1659
1667
|
{
|
|
1660
1668
|
component: "section",
|
|
1661
1669
|
bg: "white",
|
|
1662
1670
|
children: /* @__PURE__ */ e(
|
|
1663
|
-
|
|
1671
|
+
E,
|
|
1664
1672
|
{
|
|
1665
1673
|
size: "lg",
|
|
1666
1674
|
py: 80,
|
|
@@ -1704,7 +1712,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1704
1712
|
fw: 900,
|
|
1705
1713
|
lts: "-0.04em",
|
|
1706
1714
|
lh: 1.05,
|
|
1707
|
-
children:
|
|
1715
|
+
children: p ? "Não foi possível verificar" : d.title
|
|
1708
1716
|
}
|
|
1709
1717
|
)
|
|
1710
1718
|
]
|
|
@@ -1715,21 +1723,21 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1715
1723
|
{
|
|
1716
1724
|
size: "sm",
|
|
1717
1725
|
c: "gray.5",
|
|
1718
|
-
children:
|
|
1726
|
+
children: p ? (
|
|
1719
1727
|
// O erro é da consulta feita pelo navegador, não do serviço:
|
|
1720
1728
|
// dizer "fora do ar" aqui seria afirmar mais do que se sabe.
|
|
1721
1729
|
"Esta página não conseguiu falar com o serviço. Pode ser a sua conexão — ou o próprio serviço."
|
|
1722
|
-
) :
|
|
1730
|
+
) : h ? `Última verificação em ${h}` : "Verificando…"
|
|
1723
1731
|
}
|
|
1724
1732
|
)
|
|
1725
1733
|
] }),
|
|
1726
|
-
(
|
|
1734
|
+
(l.length > 0 || n.length > 0) && /* @__PURE__ */ r(
|
|
1727
1735
|
A,
|
|
1728
1736
|
{
|
|
1729
1737
|
cols: { base: 1, md: 2 },
|
|
1730
1738
|
spacing: 48,
|
|
1731
1739
|
children: [
|
|
1732
|
-
|
|
1740
|
+
l.length > 0 && /* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
1733
1741
|
/* @__PURE__ */ r(u, { gap: 4, children: [
|
|
1734
1742
|
/* @__PURE__ */ e(
|
|
1735
1743
|
t,
|
|
@@ -1751,7 +1759,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1751
1759
|
lh: 1,
|
|
1752
1760
|
lts: "-0.04em",
|
|
1753
1761
|
children: [
|
|
1754
|
-
(
|
|
1762
|
+
(l.reduce((s, m) => s + m.pct, 0) / l.length).toFixed(2),
|
|
1755
1763
|
/* @__PURE__ */ e(
|
|
1756
1764
|
t,
|
|
1757
1765
|
{
|
|
@@ -1773,17 +1781,17 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1773
1781
|
h: 140,
|
|
1774
1782
|
align: "flex-end",
|
|
1775
1783
|
wrap: "nowrap",
|
|
1776
|
-
children:
|
|
1777
|
-
|
|
1784
|
+
children: l.map((s, m) => /* @__PURE__ */ e(
|
|
1785
|
+
ae,
|
|
1778
1786
|
{
|
|
1779
|
-
label: `${
|
|
1787
|
+
label: `${s.day} · ${s.pct.toFixed(2)}%`,
|
|
1780
1788
|
withArrow: !0,
|
|
1781
1789
|
children: /* @__PURE__ */ e(
|
|
1782
1790
|
x,
|
|
1783
1791
|
{
|
|
1784
1792
|
w: 14,
|
|
1785
|
-
h: Math.max(8,
|
|
1786
|
-
bg:
|
|
1793
|
+
h: Math.max(8, s.pct / 100 * 96),
|
|
1794
|
+
bg: s.pct === 100 ? d.chart : s.pct > 0 ? "yellow.7" : "red.7"
|
|
1787
1795
|
}
|
|
1788
1796
|
)
|
|
1789
1797
|
},
|
|
@@ -1830,7 +1838,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1830
1838
|
)
|
|
1831
1839
|
] }),
|
|
1832
1840
|
/* @__PURE__ */ e(
|
|
1833
|
-
|
|
1841
|
+
ir,
|
|
1834
1842
|
{
|
|
1835
1843
|
h: 140,
|
|
1836
1844
|
data: n,
|
|
@@ -1842,7 +1850,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1842
1850
|
withXAxis: !1,
|
|
1843
1851
|
yAxisProps: { width: 40 },
|
|
1844
1852
|
fillOpacity: 0.12,
|
|
1845
|
-
valueFormatter: (
|
|
1853
|
+
valueFormatter: (s) => `${Math.round(s)} ms`
|
|
1846
1854
|
}
|
|
1847
1855
|
)
|
|
1848
1856
|
] })
|
|
@@ -1862,8 +1870,8 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1862
1870
|
children: "Componentes"
|
|
1863
1871
|
}
|
|
1864
1872
|
),
|
|
1865
|
-
i.map((
|
|
1866
|
-
const
|
|
1873
|
+
i.map((s, m) => {
|
|
1874
|
+
const g = W[s.status] || W.loading;
|
|
1867
1875
|
return /* @__PURE__ */ r(
|
|
1868
1876
|
T,
|
|
1869
1877
|
{
|
|
@@ -1893,7 +1901,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1893
1901
|
w: 7,
|
|
1894
1902
|
h: 7,
|
|
1895
1903
|
mt: 7,
|
|
1896
|
-
bg:
|
|
1904
|
+
bg: g.color,
|
|
1897
1905
|
style: { borderRadius: "50%", flexShrink: 0 }
|
|
1898
1906
|
}
|
|
1899
1907
|
),
|
|
@@ -1904,15 +1912,15 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1904
1912
|
c: "gray.9",
|
|
1905
1913
|
fw: 700,
|
|
1906
1914
|
size: "sm",
|
|
1907
|
-
children:
|
|
1915
|
+
children: s.name
|
|
1908
1916
|
}
|
|
1909
1917
|
),
|
|
1910
|
-
|
|
1918
|
+
s.description && /* @__PURE__ */ e(
|
|
1911
1919
|
t,
|
|
1912
1920
|
{
|
|
1913
1921
|
size: "xs",
|
|
1914
1922
|
c: "gray.5",
|
|
1915
|
-
children:
|
|
1923
|
+
children: s.description
|
|
1916
1924
|
}
|
|
1917
1925
|
)
|
|
1918
1926
|
] })
|
|
@@ -1926,7 +1934,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1926
1934
|
wrap: "nowrap",
|
|
1927
1935
|
align: "center",
|
|
1928
1936
|
children: [
|
|
1929
|
-
typeof
|
|
1937
|
+
typeof s.latencyMs == "number" && /* @__PURE__ */ r(
|
|
1930
1938
|
t,
|
|
1931
1939
|
{
|
|
1932
1940
|
size: "xs",
|
|
@@ -1934,7 +1942,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1934
1942
|
c: "gray.4",
|
|
1935
1943
|
style: { whiteSpace: "nowrap" },
|
|
1936
1944
|
children: [
|
|
1937
|
-
|
|
1945
|
+
s.latencyMs,
|
|
1938
1946
|
" ms"
|
|
1939
1947
|
]
|
|
1940
1948
|
}
|
|
@@ -1943,9 +1951,9 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1943
1951
|
P,
|
|
1944
1952
|
{
|
|
1945
1953
|
variant: "dot",
|
|
1946
|
-
color:
|
|
1954
|
+
color: g.color.split(".")[0],
|
|
1947
1955
|
visibleFrom: "sm",
|
|
1948
|
-
children:
|
|
1956
|
+
children: g.badge
|
|
1949
1957
|
}
|
|
1950
1958
|
)
|
|
1951
1959
|
]
|
|
@@ -1954,13 +1962,13 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1954
1962
|
]
|
|
1955
1963
|
}
|
|
1956
1964
|
),
|
|
1957
|
-
|
|
1965
|
+
s.metrics && Object.keys(s.metrics).length > 0 && /* @__PURE__ */ e(
|
|
1958
1966
|
f,
|
|
1959
1967
|
{
|
|
1960
1968
|
gap: "xl",
|
|
1961
1969
|
mt: "md",
|
|
1962
1970
|
ml: 23,
|
|
1963
|
-
children: Object.entries(
|
|
1971
|
+
children: Object.entries(s.metrics).map(([b, y]) => /* @__PURE__ */ r(
|
|
1964
1972
|
u,
|
|
1965
1973
|
{
|
|
1966
1974
|
gap: 2,
|
|
@@ -1984,7 +1992,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1984
1992
|
tt: "uppercase",
|
|
1985
1993
|
lts: "1.5px",
|
|
1986
1994
|
c: "gray.4",
|
|
1987
|
-
children:
|
|
1995
|
+
children: mr[b] || b
|
|
1988
1996
|
}
|
|
1989
1997
|
)
|
|
1990
1998
|
]
|
|
@@ -1995,7 +2003,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
1995
2003
|
)
|
|
1996
2004
|
]
|
|
1997
2005
|
},
|
|
1998
|
-
|
|
2006
|
+
s.name || m
|
|
1999
2007
|
);
|
|
2000
2008
|
})
|
|
2001
2009
|
] }),
|
|
@@ -2014,7 +2022,7 @@ function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], l
|
|
|
2014
2022
|
}
|
|
2015
2023
|
);
|
|
2016
2024
|
}
|
|
2017
|
-
const
|
|
2025
|
+
const mr = {
|
|
2018
2026
|
activeSessions: "Sessões ativas",
|
|
2019
2027
|
pendingVerifications: "Verificações pendentes",
|
|
2020
2028
|
publicKeys: "Chaves públicas",
|
|
@@ -2024,14 +2032,14 @@ const pr = {
|
|
|
2024
2032
|
degraded: { color: "yellow.7", label: "Desempenho degradado" },
|
|
2025
2033
|
down: { color: "red.7", label: "Interrupção em andamento" },
|
|
2026
2034
|
loading: { color: "gray.4", label: "Verificando status" }
|
|
2027
|
-
},
|
|
2028
|
-
function
|
|
2029
|
-
const
|
|
2035
|
+
}, Y = 20;
|
|
2036
|
+
function _r({ status: a = "loading", history: c = [], label: o, link: i, ...n }) {
|
|
2037
|
+
const l = he[a] || he.loading, p = c.slice(-Y), d = Array(Math.max(0, Y - p.length)).fill(null), h = [...d, ...p];
|
|
2030
2038
|
return /* @__PURE__ */ e(
|
|
2031
2039
|
me,
|
|
2032
2040
|
{
|
|
2033
2041
|
underline: "never",
|
|
2034
|
-
"aria-label": `${
|
|
2042
|
+
"aria-label": `${o || l.label}. Ver página de status`,
|
|
2035
2043
|
...i,
|
|
2036
2044
|
...n,
|
|
2037
2045
|
children: /* @__PURE__ */ r(
|
|
@@ -2044,23 +2052,23 @@ function Wr({ status: a = "loading", history: s = [], label: l, link: i, ...n })
|
|
|
2044
2052
|
x,
|
|
2045
2053
|
{
|
|
2046
2054
|
component: "svg",
|
|
2047
|
-
viewBox: `0 0 ${
|
|
2048
|
-
w:
|
|
2055
|
+
viewBox: `0 0 ${Y * 4 - 1} 16`,
|
|
2056
|
+
w: Y * 4 - 1,
|
|
2049
2057
|
h: 16,
|
|
2050
2058
|
"aria-hidden": "true",
|
|
2051
2059
|
style: { display: "block", overflow: "visible" },
|
|
2052
|
-
children:
|
|
2053
|
-
const
|
|
2060
|
+
children: h.map((s, m) => {
|
|
2061
|
+
const g = s === null ? 2 : Math.max(2, s * 16), b = h.length - d.length - 1 || 1, y = m - d.length;
|
|
2054
2062
|
return /* @__PURE__ */ e(
|
|
2055
2063
|
x,
|
|
2056
2064
|
{
|
|
2057
2065
|
component: "rect",
|
|
2058
2066
|
x: m * 4,
|
|
2059
|
-
y: 16 -
|
|
2067
|
+
y: 16 - g,
|
|
2060
2068
|
width: 3,
|
|
2061
|
-
height:
|
|
2062
|
-
fill:
|
|
2063
|
-
opacity:
|
|
2069
|
+
height: g,
|
|
2070
|
+
fill: s === null ? "var(--mantine-color-gray-2)" : `var(--mantine-color-${l.color.replace(".", "-")})`,
|
|
2071
|
+
opacity: s === null ? 0.6 : 0.55 + y / b * 0.45
|
|
2064
2072
|
},
|
|
2065
2073
|
m
|
|
2066
2074
|
);
|
|
@@ -2076,7 +2084,7 @@ function Wr({ status: a = "loading", history: s = [], label: l, link: i, ...n })
|
|
|
2076
2084
|
lts: "1px",
|
|
2077
2085
|
c: "gray.5",
|
|
2078
2086
|
style: { whiteSpace: "nowrap" },
|
|
2079
|
-
children:
|
|
2087
|
+
children: o || l.label
|
|
2080
2088
|
}
|
|
2081
2089
|
)
|
|
2082
2090
|
]
|
|
@@ -2085,36 +2093,36 @@ function Wr({ status: a = "loading", history: s = [], label: l, link: i, ...n })
|
|
|
2085
2093
|
}
|
|
2086
2094
|
);
|
|
2087
2095
|
}
|
|
2088
|
-
function
|
|
2096
|
+
function Hr({ id: a, subtitle: c, title: o, description: i, items: n = [], ctaIcon: l, note: p, background: d = "white", ta: h = "center" }) {
|
|
2089
2097
|
return /* @__PURE__ */ r(
|
|
2090
2098
|
F,
|
|
2091
2099
|
{
|
|
2092
2100
|
id: a,
|
|
2093
|
-
subtitle:
|
|
2094
|
-
title:
|
|
2101
|
+
subtitle: c,
|
|
2102
|
+
title: o,
|
|
2095
2103
|
background: d,
|
|
2096
|
-
ta:
|
|
2104
|
+
ta: h,
|
|
2097
2105
|
maw: 900,
|
|
2098
2106
|
children: [
|
|
2099
2107
|
i && /* @__PURE__ */ e(
|
|
2100
2108
|
t,
|
|
2101
2109
|
{
|
|
2102
2110
|
c: "gray.6",
|
|
2103
|
-
ta:
|
|
2111
|
+
ta: h,
|
|
2104
2112
|
mb: 80,
|
|
2105
2113
|
maw: 780,
|
|
2106
|
-
mx:
|
|
2114
|
+
mx: h === "center" ? "auto" : void 0,
|
|
2107
2115
|
size: "lg",
|
|
2108
2116
|
lh: 1.6,
|
|
2109
2117
|
children: i
|
|
2110
2118
|
}
|
|
2111
2119
|
),
|
|
2112
|
-
/* @__PURE__ */ e(
|
|
2113
|
-
const
|
|
2120
|
+
/* @__PURE__ */ e(z, { gutter: "xl", children: n.map((s, m) => {
|
|
2121
|
+
const g = s.icon;
|
|
2114
2122
|
return /* @__PURE__ */ e(
|
|
2115
|
-
|
|
2123
|
+
z.Col,
|
|
2116
2124
|
{
|
|
2117
|
-
span: { base: 12, md:
|
|
2125
|
+
span: { base: 12, md: s.span || 6 },
|
|
2118
2126
|
children: /* @__PURE__ */ r(
|
|
2119
2127
|
T,
|
|
2120
2128
|
{
|
|
@@ -2134,7 +2142,7 @@ function Ur({ id: a, subtitle: s, title: l, description: i, items: n = [], ctaIc
|
|
|
2134
2142
|
wrap: "nowrap",
|
|
2135
2143
|
children: [
|
|
2136
2144
|
/* @__PURE__ */ r(x, { children: [
|
|
2137
|
-
|
|
2145
|
+
s.category && /* @__PURE__ */ e(
|
|
2138
2146
|
t,
|
|
2139
2147
|
{
|
|
2140
2148
|
size: "xs",
|
|
@@ -2143,7 +2151,7 @@ function Ur({ id: a, subtitle: s, title: l, description: i, items: n = [], ctaIc
|
|
|
2143
2151
|
lts: "1.5px",
|
|
2144
2152
|
c: "gray.4",
|
|
2145
2153
|
mb: 4,
|
|
2146
|
-
children:
|
|
2154
|
+
children: s.category
|
|
2147
2155
|
}
|
|
2148
2156
|
),
|
|
2149
2157
|
/* @__PURE__ */ e(
|
|
@@ -2153,12 +2161,12 @@ function Ur({ id: a, subtitle: s, title: l, description: i, items: n = [], ctaIc
|
|
|
2153
2161
|
fz: "h2",
|
|
2154
2162
|
fw: 800,
|
|
2155
2163
|
c: "gray.9",
|
|
2156
|
-
children:
|
|
2164
|
+
children: s.name
|
|
2157
2165
|
}
|
|
2158
2166
|
)
|
|
2159
2167
|
] }),
|
|
2160
|
-
|
|
2161
|
-
|
|
2168
|
+
g && /* @__PURE__ */ e(
|
|
2169
|
+
g,
|
|
2162
2170
|
{
|
|
2163
2171
|
size: 28,
|
|
2164
2172
|
stroke: 1.5,
|
|
@@ -2168,7 +2176,7 @@ function Ur({ id: a, subtitle: s, title: l, description: i, items: n = [], ctaIc
|
|
|
2168
2176
|
]
|
|
2169
2177
|
}
|
|
2170
2178
|
),
|
|
2171
|
-
|
|
2179
|
+
s.headline && /* @__PURE__ */ e(
|
|
2172
2180
|
t,
|
|
2173
2181
|
{
|
|
2174
2182
|
fw: 700,
|
|
@@ -2177,10 +2185,10 @@ function Ur({ id: a, subtitle: s, title: l, description: i, items: n = [], ctaIc
|
|
|
2177
2185
|
mb: "sm",
|
|
2178
2186
|
c: "gray.9",
|
|
2179
2187
|
style: { letterSpacing: "-0.01em" },
|
|
2180
|
-
children:
|
|
2188
|
+
children: s.headline
|
|
2181
2189
|
}
|
|
2182
2190
|
),
|
|
2183
|
-
|
|
2191
|
+
s.description && /* @__PURE__ */ e(
|
|
2184
2192
|
t,
|
|
2185
2193
|
{
|
|
2186
2194
|
size: "md",
|
|
@@ -2188,20 +2196,20 @@ function Ur({ id: a, subtitle: s, title: l, description: i, items: n = [], ctaIc
|
|
|
2188
2196
|
lh: 1.6,
|
|
2189
2197
|
mb: "xl",
|
|
2190
2198
|
style: { flexGrow: 1 },
|
|
2191
|
-
children:
|
|
2199
|
+
children: s.description
|
|
2192
2200
|
}
|
|
2193
2201
|
),
|
|
2194
|
-
|
|
2202
|
+
s.href && /* @__PURE__ */ e(
|
|
2195
2203
|
U,
|
|
2196
2204
|
{
|
|
2197
2205
|
component: "a",
|
|
2198
|
-
href:
|
|
2199
|
-
target:
|
|
2200
|
-
rel:
|
|
2206
|
+
href: s.href,
|
|
2207
|
+
target: s.target,
|
|
2208
|
+
rel: s.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
2201
2209
|
variant: "default",
|
|
2202
2210
|
size: "md",
|
|
2203
2211
|
radius: "0",
|
|
2204
|
-
rightSection:
|
|
2212
|
+
rightSection: l,
|
|
2205
2213
|
style: {
|
|
2206
2214
|
width: "100%",
|
|
2207
2215
|
justifyContent: "space-between",
|
|
@@ -2210,53 +2218,53 @@ function Ur({ id: a, subtitle: s, title: l, description: i, items: n = [], ctaIc
|
|
|
2210
2218
|
paddingTop: 16,
|
|
2211
2219
|
marginTop: "auto"
|
|
2212
2220
|
},
|
|
2213
|
-
children:
|
|
2221
|
+
children: s.ctaLabel || `Abrir ${s.name}`
|
|
2214
2222
|
}
|
|
2215
2223
|
)
|
|
2216
2224
|
]
|
|
2217
2225
|
}
|
|
2218
2226
|
)
|
|
2219
2227
|
},
|
|
2220
|
-
|
|
2228
|
+
s.name || m
|
|
2221
2229
|
);
|
|
2222
2230
|
}) }),
|
|
2223
|
-
|
|
2231
|
+
p && /* @__PURE__ */ e(
|
|
2224
2232
|
t,
|
|
2225
2233
|
{
|
|
2226
2234
|
size: "sm",
|
|
2227
2235
|
c: "gray.6",
|
|
2228
|
-
ta:
|
|
2236
|
+
ta: h,
|
|
2229
2237
|
mt: 60,
|
|
2230
2238
|
maw: 800,
|
|
2231
|
-
mx:
|
|
2239
|
+
mx: h === "center" ? "auto" : void 0,
|
|
2232
2240
|
lh: 1.6,
|
|
2233
2241
|
fs: "italic",
|
|
2234
|
-
children:
|
|
2242
|
+
children: p
|
|
2235
2243
|
}
|
|
2236
2244
|
)
|
|
2237
2245
|
]
|
|
2238
2246
|
}
|
|
2239
2247
|
);
|
|
2240
2248
|
}
|
|
2241
|
-
function
|
|
2249
|
+
function Gr({
|
|
2242
2250
|
id: a,
|
|
2243
|
-
subtitle:
|
|
2244
|
-
title:
|
|
2251
|
+
subtitle: c,
|
|
2252
|
+
title: o,
|
|
2245
2253
|
description: i,
|
|
2246
2254
|
items: n = [],
|
|
2247
|
-
categories:
|
|
2248
|
-
filtersLabel:
|
|
2255
|
+
categories: l = [],
|
|
2256
|
+
filtersLabel: p = "Filtrar por categoria",
|
|
2249
2257
|
note: d,
|
|
2250
|
-
background:
|
|
2258
|
+
background: h = "white",
|
|
2251
2259
|
// SEM DEFAULT COM PALAVRA DE PRODUTO. Este texto aparece na tela, e um
|
|
2252
2260
|
// default como "Conhecer a peça" faria o kit anunciar o vocabulário de um
|
|
2253
2261
|
// produto dentro de outro — o erro que já tirou a marca do topo com o
|
|
2254
2262
|
// `Wordmark` e anunciou "monitores" no log de e-mails do Payments. Sem
|
|
2255
2263
|
// rótulo a chamada não é desenhada; quem chama diz a palavra.
|
|
2256
|
-
ctaLabel:
|
|
2264
|
+
ctaLabel: s
|
|
2257
2265
|
}) {
|
|
2258
|
-
const [m,
|
|
2259
|
-
return
|
|
2266
|
+
const [m, g] = H("todas"), b = Me("(min-width: 48em)", !1), y = Ne(() => m === "todas" ? n : [...n].sort((I, C) => +(C.category === m) - +(I.category === m)), [n, m]), [v, ...k] = y;
|
|
2267
|
+
return v ? (
|
|
2260
2268
|
// O CABEÇALHO É CENTRALIZADO, O CONTEÚDO NÃO. `ta="center"` no
|
|
2261
2269
|
// `Section` alinha o kicker, o título e — por herança — tudo que
|
|
2262
2270
|
// vier abaixo, incluindo o texto dentro dos cards. Por isso cada
|
|
@@ -2269,9 +2277,9 @@ function _r({
|
|
|
2269
2277
|
F,
|
|
2270
2278
|
{
|
|
2271
2279
|
id: a,
|
|
2272
|
-
subtitle:
|
|
2273
|
-
title:
|
|
2274
|
-
background:
|
|
2280
|
+
subtitle: c,
|
|
2281
|
+
title: o,
|
|
2282
|
+
background: h,
|
|
2275
2283
|
ta: "center",
|
|
2276
2284
|
children: [
|
|
2277
2285
|
i && /* @__PURE__ */ e(
|
|
@@ -2286,7 +2294,7 @@ function _r({
|
|
|
2286
2294
|
children: i
|
|
2287
2295
|
}
|
|
2288
2296
|
),
|
|
2289
|
-
|
|
2297
|
+
l.length > 0 && /* @__PURE__ */ e(
|
|
2290
2298
|
f,
|
|
2291
2299
|
{
|
|
2292
2300
|
gap: "xs",
|
|
@@ -2294,12 +2302,12 @@ function _r({
|
|
|
2294
2302
|
justify: b ? "center" : "flex-start",
|
|
2295
2303
|
wrap: "nowrap",
|
|
2296
2304
|
role: "group",
|
|
2297
|
-
"aria-label":
|
|
2305
|
+
"aria-label": p,
|
|
2298
2306
|
className: "rlg-shelf-filters",
|
|
2299
|
-
children:
|
|
2307
|
+
children: l.map((I) => /* @__PURE__ */ e(
|
|
2300
2308
|
ke,
|
|
2301
2309
|
{
|
|
2302
|
-
onClick: () =>
|
|
2310
|
+
onClick: () => g(I.id),
|
|
2303
2311
|
className: "rlg-shelf-pill",
|
|
2304
2312
|
"data-active": m === I.id || void 0,
|
|
2305
2313
|
"aria-pressed": m === I.id,
|
|
@@ -2309,19 +2317,19 @@ function _r({
|
|
|
2309
2317
|
))
|
|
2310
2318
|
}
|
|
2311
2319
|
),
|
|
2312
|
-
/* @__PURE__ */ r(
|
|
2313
|
-
/* @__PURE__ */ e(
|
|
2314
|
-
|
|
2320
|
+
/* @__PURE__ */ r(z, { gutter: "lg", children: [
|
|
2321
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 5, xl: 4 }, children: /* @__PURE__ */ e(
|
|
2322
|
+
ur,
|
|
2315
2323
|
{
|
|
2316
|
-
item:
|
|
2317
|
-
ctaLabel:
|
|
2324
|
+
item: v,
|
|
2325
|
+
ctaLabel: s
|
|
2318
2326
|
}
|
|
2319
2327
|
) }),
|
|
2320
|
-
/* @__PURE__ */ e(
|
|
2321
|
-
|
|
2328
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 7, xl: 8 }, children: /* @__PURE__ */ e(z, { gutter: "lg", children: k.map((I) => /* @__PURE__ */ e(
|
|
2329
|
+
z.Col,
|
|
2322
2330
|
{
|
|
2323
2331
|
span: { base: 12, xs: 6, md: 4, lg: 6, xl: 4 },
|
|
2324
|
-
children: /* @__PURE__ */ e(
|
|
2332
|
+
children: /* @__PURE__ */ e(fr, { item: I })
|
|
2325
2333
|
},
|
|
2326
2334
|
I.name
|
|
2327
2335
|
)) }) })
|
|
@@ -2349,8 +2357,8 @@ const we = (a) => ({
|
|
|
2349
2357
|
target: a.target,
|
|
2350
2358
|
rel: a.target === "_blank" ? "noopener noreferrer" : void 0
|
|
2351
2359
|
});
|
|
2352
|
-
function
|
|
2353
|
-
const
|
|
2360
|
+
function ur({ item: a, ctaLabel: c }) {
|
|
2361
|
+
const o = a.icon;
|
|
2354
2362
|
return /* @__PURE__ */ r(
|
|
2355
2363
|
T,
|
|
2356
2364
|
{
|
|
@@ -2380,8 +2388,8 @@ function gr({ item: a, ctaLabel: s }) {
|
|
|
2380
2388
|
p: "xl",
|
|
2381
2389
|
children: [
|
|
2382
2390
|
/* @__PURE__ */ r(x, { className: "rlg-shelf-feature-top", children: [
|
|
2383
|
-
|
|
2384
|
-
|
|
2391
|
+
o && /* @__PURE__ */ e(
|
|
2392
|
+
o,
|
|
2385
2393
|
{
|
|
2386
2394
|
size: 24,
|
|
2387
2395
|
stroke: 1.5,
|
|
@@ -2421,7 +2429,7 @@ function gr({ item: a, ctaLabel: s }) {
|
|
|
2421
2429
|
children: a.description
|
|
2422
2430
|
}
|
|
2423
2431
|
),
|
|
2424
|
-
|
|
2432
|
+
c && /* @__PURE__ */ r(
|
|
2425
2433
|
f,
|
|
2426
2434
|
{
|
|
2427
2435
|
className: "rlg-shelf-feature-cta",
|
|
@@ -2435,11 +2443,11 @@ function gr({ item: a, ctaLabel: s }) {
|
|
|
2435
2443
|
size: "sm",
|
|
2436
2444
|
fw: 800,
|
|
2437
2445
|
c: "gray.9",
|
|
2438
|
-
children:
|
|
2446
|
+
children: c
|
|
2439
2447
|
}
|
|
2440
2448
|
),
|
|
2441
2449
|
/* @__PURE__ */ e(
|
|
2442
|
-
|
|
2450
|
+
Ue,
|
|
2443
2451
|
{
|
|
2444
2452
|
size: 16,
|
|
2445
2453
|
stroke: 2.5,
|
|
@@ -2457,8 +2465,8 @@ function gr({ item: a, ctaLabel: s }) {
|
|
|
2457
2465
|
}
|
|
2458
2466
|
);
|
|
2459
2467
|
}
|
|
2460
|
-
function
|
|
2461
|
-
const
|
|
2468
|
+
function fr({ item: a }) {
|
|
2469
|
+
const c = a.icon;
|
|
2462
2470
|
return /* @__PURE__ */ r(
|
|
2463
2471
|
T,
|
|
2464
2472
|
{
|
|
@@ -2487,8 +2495,8 @@ function mr({ item: a }) {
|
|
|
2487
2495
|
className: "rlg-shelf-card-body",
|
|
2488
2496
|
gap: "sm",
|
|
2489
2497
|
children: [
|
|
2490
|
-
|
|
2491
|
-
|
|
2498
|
+
c && /* @__PURE__ */ e(
|
|
2499
|
+
c,
|
|
2492
2500
|
{
|
|
2493
2501
|
size: 22,
|
|
2494
2502
|
stroke: 1.5,
|
|
@@ -2525,14 +2533,14 @@ function mr({ item: a }) {
|
|
|
2525
2533
|
}
|
|
2526
2534
|
);
|
|
2527
2535
|
}
|
|
2528
|
-
function
|
|
2536
|
+
function Kr({ id: a, subtitle: c, title: o, description: i, items: n = [], note: l, background: p = "gray", ta: d = "center" }) {
|
|
2529
2537
|
return /* @__PURE__ */ r(
|
|
2530
2538
|
F,
|
|
2531
2539
|
{
|
|
2532
2540
|
id: a,
|
|
2533
|
-
subtitle:
|
|
2534
|
-
title:
|
|
2535
|
-
background:
|
|
2541
|
+
subtitle: c,
|
|
2542
|
+
title: o,
|
|
2543
|
+
background: p,
|
|
2536
2544
|
ta: d,
|
|
2537
2545
|
maw: 900,
|
|
2538
2546
|
children: [
|
|
@@ -2557,51 +2565,51 @@ function Hr({ id: a, subtitle: s, title: l, description: i, items: n = [], note:
|
|
|
2557
2565
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
2558
2566
|
px: { base: "lg", md: 40 },
|
|
2559
2567
|
py: { base: "xs", md: "md" },
|
|
2560
|
-
children: n.map((
|
|
2561
|
-
|
|
2568
|
+
children: n.map((h, s) => /* @__PURE__ */ r(
|
|
2569
|
+
z,
|
|
2562
2570
|
{
|
|
2563
2571
|
gutter: { base: 4, sm: "xl" },
|
|
2564
2572
|
py: { base: "lg", md: "xl" },
|
|
2565
2573
|
ta: "left",
|
|
2566
|
-
style:
|
|
2574
|
+
style: s === 0 ? void 0 : { borderTop: "1px solid var(--mantine-color-gray-2)" },
|
|
2567
2575
|
children: [
|
|
2568
|
-
/* @__PURE__ */ e(
|
|
2576
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 4 }, children: /* @__PURE__ */ e(
|
|
2569
2577
|
t,
|
|
2570
2578
|
{
|
|
2571
2579
|
fw: 700,
|
|
2572
2580
|
lh: 1.4,
|
|
2573
2581
|
c: "gray.9",
|
|
2574
|
-
children:
|
|
2582
|
+
children: h.criterion
|
|
2575
2583
|
}
|
|
2576
2584
|
) }),
|
|
2577
|
-
/* @__PURE__ */ r(
|
|
2585
|
+
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm: 8 }, children: [
|
|
2578
2586
|
/* @__PURE__ */ e(
|
|
2579
2587
|
t,
|
|
2580
2588
|
{
|
|
2581
2589
|
fw: 700,
|
|
2582
2590
|
lh: 1.4,
|
|
2583
2591
|
mb: 6,
|
|
2584
|
-
c:
|
|
2585
|
-
children:
|
|
2592
|
+
c: h.muted ? "gray.5" : "gray.9",
|
|
2593
|
+
children: h.value
|
|
2586
2594
|
}
|
|
2587
2595
|
),
|
|
2588
|
-
|
|
2596
|
+
h.note && /* @__PURE__ */ e(
|
|
2589
2597
|
t,
|
|
2590
2598
|
{
|
|
2591
2599
|
size: "sm",
|
|
2592
2600
|
c: "gray.6",
|
|
2593
2601
|
lh: 1.6,
|
|
2594
|
-
children:
|
|
2602
|
+
children: h.note
|
|
2595
2603
|
}
|
|
2596
2604
|
)
|
|
2597
2605
|
] })
|
|
2598
2606
|
]
|
|
2599
2607
|
},
|
|
2600
|
-
|
|
2608
|
+
h.criterion || s
|
|
2601
2609
|
))
|
|
2602
2610
|
}
|
|
2603
2611
|
),
|
|
2604
|
-
|
|
2612
|
+
l && /* @__PURE__ */ e(
|
|
2605
2613
|
t,
|
|
2606
2614
|
{
|
|
2607
2615
|
size: "sm",
|
|
@@ -2611,33 +2619,33 @@ function Hr({ id: a, subtitle: s, title: l, description: i, items: n = [], note:
|
|
|
2611
2619
|
maw: 720,
|
|
2612
2620
|
mx: d === "center" ? "auto" : void 0,
|
|
2613
2621
|
lh: 1.7,
|
|
2614
|
-
children:
|
|
2622
|
+
children: l
|
|
2615
2623
|
}
|
|
2616
2624
|
)
|
|
2617
2625
|
]
|
|
2618
2626
|
}
|
|
2619
2627
|
);
|
|
2620
2628
|
}
|
|
2621
|
-
function
|
|
2629
|
+
function Qr({ id: a, subtitle: c, title: o, description: i, cardLabel: n, items: l = [], footnote: p, background: d = "gray", ta: h = "center" }) {
|
|
2622
2630
|
return /* @__PURE__ */ r(
|
|
2623
2631
|
F,
|
|
2624
2632
|
{
|
|
2625
2633
|
id: a,
|
|
2626
|
-
subtitle:
|
|
2627
|
-
title:
|
|
2634
|
+
subtitle: c,
|
|
2635
|
+
title: o,
|
|
2628
2636
|
background: d,
|
|
2629
|
-
ta:
|
|
2637
|
+
ta: h,
|
|
2630
2638
|
maw: 800,
|
|
2631
2639
|
children: [
|
|
2632
2640
|
i && /* @__PURE__ */ e(
|
|
2633
2641
|
t,
|
|
2634
2642
|
{
|
|
2635
2643
|
c: "gray.6",
|
|
2636
|
-
ta:
|
|
2644
|
+
ta: h,
|
|
2637
2645
|
size: "lg",
|
|
2638
2646
|
lh: 1.7,
|
|
2639
2647
|
maw: 720,
|
|
2640
|
-
mx:
|
|
2648
|
+
mx: h === "center" ? "auto" : void 0,
|
|
2641
2649
|
mb: 48,
|
|
2642
2650
|
children: i
|
|
2643
2651
|
}
|
|
@@ -2670,32 +2678,32 @@ function Gr({ id: a, subtitle: s, title: l, description: i, cardLabel: n, items:
|
|
|
2670
2678
|
m: 0,
|
|
2671
2679
|
pl: "lg",
|
|
2672
2680
|
style: { display: "flex", flexDirection: "column", gap: 16 },
|
|
2673
|
-
children:
|
|
2681
|
+
children: l.map((s, m) => /* @__PURE__ */ r(
|
|
2674
2682
|
t,
|
|
2675
2683
|
{
|
|
2676
2684
|
component: "li",
|
|
2677
2685
|
c: "gray.6",
|
|
2678
2686
|
lh: 1.7,
|
|
2679
2687
|
children: [
|
|
2680
|
-
|
|
2688
|
+
s.lead && /* @__PURE__ */ e(
|
|
2681
2689
|
t,
|
|
2682
2690
|
{
|
|
2683
2691
|
component: "span",
|
|
2684
2692
|
fw: 700,
|
|
2685
2693
|
c: "gray.9",
|
|
2686
2694
|
inherit: !0,
|
|
2687
|
-
children:
|
|
2695
|
+
children: s.lead
|
|
2688
2696
|
}
|
|
2689
2697
|
),
|
|
2690
2698
|
" ",
|
|
2691
|
-
|
|
2699
|
+
s.text
|
|
2692
2700
|
]
|
|
2693
2701
|
},
|
|
2694
|
-
|
|
2702
|
+
s.lead || m
|
|
2695
2703
|
))
|
|
2696
2704
|
}
|
|
2697
2705
|
),
|
|
2698
|
-
|
|
2706
|
+
p && /* @__PURE__ */ r(
|
|
2699
2707
|
t,
|
|
2700
2708
|
{
|
|
2701
2709
|
size: "sm",
|
|
@@ -2705,18 +2713,18 @@ function Gr({ id: a, subtitle: s, title: l, description: i, cardLabel: n, items:
|
|
|
2705
2713
|
lh: 1.7,
|
|
2706
2714
|
style: { borderTop: "1px solid var(--mantine-color-gray-2)" },
|
|
2707
2715
|
children: [
|
|
2708
|
-
|
|
2716
|
+
p.lead && /* @__PURE__ */ e(
|
|
2709
2717
|
t,
|
|
2710
2718
|
{
|
|
2711
2719
|
component: "span",
|
|
2712
2720
|
fw: 700,
|
|
2713
2721
|
c: "gray.9",
|
|
2714
2722
|
inherit: !0,
|
|
2715
|
-
children:
|
|
2723
|
+
children: p.lead
|
|
2716
2724
|
}
|
|
2717
2725
|
),
|
|
2718
2726
|
" ",
|
|
2719
|
-
|
|
2727
|
+
p.text
|
|
2720
2728
|
]
|
|
2721
2729
|
}
|
|
2722
2730
|
)
|
|
@@ -2727,14 +2735,14 @@ function Gr({ id: a, subtitle: s, title: l, description: i, cardLabel: n, items:
|
|
|
2727
2735
|
}
|
|
2728
2736
|
);
|
|
2729
2737
|
}
|
|
2730
|
-
function
|
|
2738
|
+
function Yr({ id: a, subtitle: c, title: o, description: i, avatar: n, name: l, role: p, quote: d, credentials: h = [], background: s = "white", ta: m = "center" }) {
|
|
2731
2739
|
return /* @__PURE__ */ r(
|
|
2732
2740
|
F,
|
|
2733
2741
|
{
|
|
2734
2742
|
id: a,
|
|
2735
|
-
subtitle:
|
|
2736
|
-
title:
|
|
2737
|
-
background:
|
|
2743
|
+
subtitle: c,
|
|
2744
|
+
title: o,
|
|
2745
|
+
background: s,
|
|
2738
2746
|
ta: m,
|
|
2739
2747
|
maw: 900,
|
|
2740
2748
|
children: [
|
|
@@ -2763,14 +2771,14 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2763
2771
|
ta: "left",
|
|
2764
2772
|
children: [
|
|
2765
2773
|
/* @__PURE__ */ r(
|
|
2766
|
-
|
|
2774
|
+
z,
|
|
2767
2775
|
{
|
|
2768
2776
|
gutter: { base: "xl", md: 48 },
|
|
2769
2777
|
align: "flex-start",
|
|
2770
2778
|
children: [
|
|
2771
2779
|
n && // O retrato vira linha própria e centralizada no celular,
|
|
2772
2780
|
// onde o layout de duas colunas não cabe.
|
|
2773
|
-
/* @__PURE__ */ e(
|
|
2781
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: "content" }, children: /* @__PURE__ */ e(
|
|
2774
2782
|
x,
|
|
2775
2783
|
{
|
|
2776
2784
|
mx: { base: "auto", sm: 0 },
|
|
@@ -2779,7 +2787,7 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2779
2787
|
_,
|
|
2780
2788
|
{
|
|
2781
2789
|
src: n.src,
|
|
2782
|
-
alt: n.alt ||
|
|
2790
|
+
alt: n.alt || l || "",
|
|
2783
2791
|
w: "100%",
|
|
2784
2792
|
radius: "0",
|
|
2785
2793
|
style: {
|
|
@@ -2791,8 +2799,8 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2791
2799
|
)
|
|
2792
2800
|
}
|
|
2793
2801
|
) }),
|
|
2794
|
-
/* @__PURE__ */ r(
|
|
2795
|
-
(
|
|
2802
|
+
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm: "auto" }, children: [
|
|
2803
|
+
(l || p) && /* @__PURE__ */ r(
|
|
2796
2804
|
f,
|
|
2797
2805
|
{
|
|
2798
2806
|
mb: "lg",
|
|
@@ -2800,24 +2808,24 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2800
2808
|
wrap: "wrap",
|
|
2801
2809
|
justify: { base: "center", sm: "flex-start" },
|
|
2802
2810
|
children: [
|
|
2803
|
-
|
|
2811
|
+
l && /* @__PURE__ */ e(
|
|
2804
2812
|
t,
|
|
2805
2813
|
{
|
|
2806
2814
|
fz: { base: "lg", md: "xl" },
|
|
2807
2815
|
fw: 800,
|
|
2808
2816
|
c: "gray.9",
|
|
2809
2817
|
style: { letterSpacing: "-0.02em" },
|
|
2810
|
-
children:
|
|
2818
|
+
children: l
|
|
2811
2819
|
}
|
|
2812
2820
|
),
|
|
2813
|
-
|
|
2821
|
+
p && /* @__PURE__ */ e(
|
|
2814
2822
|
P,
|
|
2815
2823
|
{
|
|
2816
2824
|
variant: "dot",
|
|
2817
2825
|
color: "gray",
|
|
2818
2826
|
size: "sm",
|
|
2819
2827
|
radius: "0",
|
|
2820
|
-
children:
|
|
2828
|
+
children: p
|
|
2821
2829
|
}
|
|
2822
2830
|
)
|
|
2823
2831
|
]
|
|
@@ -2839,15 +2847,15 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2839
2847
|
]
|
|
2840
2848
|
}
|
|
2841
2849
|
),
|
|
2842
|
-
|
|
2850
|
+
h.length > 0 && /* @__PURE__ */ e(
|
|
2843
2851
|
A,
|
|
2844
2852
|
{
|
|
2845
|
-
cols:
|
|
2853
|
+
cols: h.length,
|
|
2846
2854
|
spacing: { base: "xs", sm: "lg" },
|
|
2847
2855
|
mt: { base: 32, md: 48 },
|
|
2848
2856
|
pt: { base: "lg", md: "xl" },
|
|
2849
2857
|
style: { borderTop: "1px solid var(--mantine-color-gray-2)" },
|
|
2850
|
-
children:
|
|
2858
|
+
children: h.map((g, b) => /* @__PURE__ */ r(
|
|
2851
2859
|
x,
|
|
2852
2860
|
{
|
|
2853
2861
|
ta: { base: "center", sm: "left" },
|
|
@@ -2862,7 +2870,7 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2862
2870
|
mb: 8,
|
|
2863
2871
|
c: "gray.9",
|
|
2864
2872
|
style: { letterSpacing: "-0.04em" },
|
|
2865
|
-
children:
|
|
2873
|
+
children: g.value
|
|
2866
2874
|
}
|
|
2867
2875
|
),
|
|
2868
2876
|
/* @__PURE__ */ e(
|
|
@@ -2875,12 +2883,12 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2875
2883
|
lh: 1.4,
|
|
2876
2884
|
tt: "uppercase",
|
|
2877
2885
|
lts: "1.5px",
|
|
2878
|
-
children:
|
|
2886
|
+
children: g.label
|
|
2879
2887
|
}
|
|
2880
2888
|
)
|
|
2881
2889
|
]
|
|
2882
2890
|
},
|
|
2883
|
-
|
|
2891
|
+
g.label || b
|
|
2884
2892
|
))
|
|
2885
2893
|
}
|
|
2886
2894
|
)
|
|
@@ -2891,15 +2899,15 @@ function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o,
|
|
|
2891
2899
|
}
|
|
2892
2900
|
);
|
|
2893
2901
|
}
|
|
2894
|
-
function
|
|
2902
|
+
function Xr({ id: a, badge: c, subtitle: o, title: i, description: n, items: l = [], background: p = "gray", ta: d = "center" }) {
|
|
2895
2903
|
return /* @__PURE__ */ r(
|
|
2896
2904
|
F,
|
|
2897
2905
|
{
|
|
2898
2906
|
id: a,
|
|
2899
|
-
badge:
|
|
2900
|
-
subtitle:
|
|
2907
|
+
badge: c,
|
|
2908
|
+
subtitle: o,
|
|
2901
2909
|
title: i,
|
|
2902
|
-
background:
|
|
2910
|
+
background: p,
|
|
2903
2911
|
ta: d,
|
|
2904
2912
|
maw: 900,
|
|
2905
2913
|
children: [
|
|
@@ -2919,11 +2927,11 @@ function Qr({ id: a, badge: s, subtitle: l, title: i, description: n, items: o =
|
|
|
2919
2927
|
/* @__PURE__ */ e(
|
|
2920
2928
|
A,
|
|
2921
2929
|
{
|
|
2922
|
-
cols: { base: 1, md:
|
|
2930
|
+
cols: { base: 1, md: l.length <= 4 ? l.length : 3 },
|
|
2923
2931
|
spacing: "xl",
|
|
2924
2932
|
verticalSpacing: { base: 56, md: "xl" },
|
|
2925
|
-
children:
|
|
2926
|
-
const m =
|
|
2933
|
+
children: l.map((h, s) => {
|
|
2934
|
+
const m = h.icon;
|
|
2927
2935
|
return /* @__PURE__ */ r(
|
|
2928
2936
|
x,
|
|
2929
2937
|
{
|
|
@@ -2945,7 +2953,7 @@ function Qr({ id: a, badge: s, subtitle: l, title: i, description: n, items: o =
|
|
|
2945
2953
|
letterSpacing: "-0.05em",
|
|
2946
2954
|
pointerEvents: "none"
|
|
2947
2955
|
},
|
|
2948
|
-
children:
|
|
2956
|
+
children: h.number || String(s + 1).padStart(2, "0")
|
|
2949
2957
|
}
|
|
2950
2958
|
),
|
|
2951
2959
|
m && /* @__PURE__ */ e(
|
|
@@ -2976,7 +2984,7 @@ function Qr({ id: a, badge: s, subtitle: l, title: i, description: n, items: o =
|
|
|
2976
2984
|
mb: "xs",
|
|
2977
2985
|
pos: "relative",
|
|
2978
2986
|
style: { zIndex: 1 },
|
|
2979
|
-
children:
|
|
2987
|
+
children: h.title
|
|
2980
2988
|
}
|
|
2981
2989
|
),
|
|
2982
2990
|
/* @__PURE__ */ e(
|
|
@@ -2987,12 +2995,12 @@ function Qr({ id: a, badge: s, subtitle: l, title: i, description: n, items: o =
|
|
|
2987
2995
|
lh: 1.6,
|
|
2988
2996
|
pos: "relative",
|
|
2989
2997
|
style: { zIndex: 1 },
|
|
2990
|
-
children:
|
|
2998
|
+
children: h.description
|
|
2991
2999
|
}
|
|
2992
3000
|
)
|
|
2993
3001
|
]
|
|
2994
3002
|
},
|
|
2995
|
-
|
|
3003
|
+
h.title || s
|
|
2996
3004
|
);
|
|
2997
3005
|
})
|
|
2998
3006
|
}
|
|
@@ -3002,10 +3010,10 @@ function Qr({ id: a, badge: s, subtitle: l, title: i, description: n, items: o =
|
|
|
3002
3010
|
);
|
|
3003
3011
|
}
|
|
3004
3012
|
const pe = (a) => a.requiredMessage || `Preencha o campo ${a.label}`;
|
|
3005
|
-
function
|
|
3006
|
-
const [m,
|
|
3007
|
-
const { value: D } =
|
|
3008
|
-
|
|
3013
|
+
function Jr({ id: a, badge: c, title: o, description: i, fields: n = [], whatsappNumber: l, messageIntro: p = "Olá! Vim pelo site.", submit: d = {}, reassurance: h, onSubmit: s }) {
|
|
3014
|
+
const [m, g] = H(() => Object.fromEntries(n.map((w) => [w.name, ""]))), [b, y] = H(!1), v = (w) => (R) => {
|
|
3015
|
+
const { value: D } = R.currentTarget;
|
|
3016
|
+
g((L) => ({ ...L, [w]: D }));
|
|
3009
3017
|
}, I = n.filter((w) => w.required).every((w) => m[w.name]?.trim());
|
|
3010
3018
|
return /* @__PURE__ */ e(
|
|
3011
3019
|
x,
|
|
@@ -3014,8 +3022,8 @@ function Xr({ id: a, badge: s, title: l, description: i, fields: n = [], whatsap
|
|
|
3014
3022
|
component: "section",
|
|
3015
3023
|
py: { base: 80, md: 120 },
|
|
3016
3024
|
bg: "gray.9",
|
|
3017
|
-
children: /* @__PURE__ */ r(
|
|
3018
|
-
|
|
3025
|
+
children: /* @__PURE__ */ r(E, { size: "md", children: [
|
|
3026
|
+
c && /* @__PURE__ */ e(
|
|
3019
3027
|
f,
|
|
3020
3028
|
{
|
|
3021
3029
|
justify: "center",
|
|
@@ -3027,12 +3035,12 @@ function Xr({ id: a, badge: s, title: l, description: i, fields: n = [], whatsap
|
|
|
3027
3035
|
color: "gray",
|
|
3028
3036
|
size: "lg",
|
|
3029
3037
|
radius: "0",
|
|
3030
|
-
children:
|
|
3038
|
+
children: c
|
|
3031
3039
|
}
|
|
3032
3040
|
)
|
|
3033
3041
|
}
|
|
3034
3042
|
),
|
|
3035
|
-
|
|
3043
|
+
o && /* @__PURE__ */ e(
|
|
3036
3044
|
q,
|
|
3037
3045
|
{
|
|
3038
3046
|
order: 2,
|
|
@@ -3040,7 +3048,7 @@ function Xr({ id: a, badge: s, title: l, description: i, fields: n = [], whatsap
|
|
|
3040
3048
|
c: "white",
|
|
3041
3049
|
mb: "md",
|
|
3042
3050
|
fz: "var(--fz-section-title)",
|
|
3043
|
-
children:
|
|
3051
|
+
children: o
|
|
3044
3052
|
}
|
|
3045
3053
|
),
|
|
3046
3054
|
i && /* @__PURE__ */ e(
|
|
@@ -3064,35 +3072,35 @@ function Xr({ id: a, badge: s, title: l, description: i, fields: n = [], whatsap
|
|
|
3064
3072
|
bg: "white",
|
|
3065
3073
|
children: /* @__PURE__ */ e("form", { onSubmit: (w) => {
|
|
3066
3074
|
if (w.preventDefault(), y(!0), !I) return;
|
|
3067
|
-
const
|
|
3075
|
+
const R = [p, "", ...n.filter((D) => m[D.name]?.trim()).map((D) => `${D.label}: ${m[D.name]}`)].join(`
|
|
3068
3076
|
`);
|
|
3069
|
-
if (
|
|
3070
|
-
const D = `https://wa.me/${
|
|
3077
|
+
if (s?.(m), l) {
|
|
3078
|
+
const D = `https://wa.me/${l}?text=${encodeURIComponent(R)}`;
|
|
3071
3079
|
window.open(D, "_blank", "noopener,noreferrer");
|
|
3072
3080
|
}
|
|
3073
3081
|
}, children: /* @__PURE__ */ r(u, { gap: "md", children: [
|
|
3074
3082
|
/* @__PURE__ */ e(A, { cols: { base: 1, sm: 2 }, children: n.filter((w) => w.span !== "full").map((w) => /* @__PURE__ */ e(
|
|
3075
|
-
|
|
3083
|
+
ne,
|
|
3076
3084
|
{
|
|
3077
3085
|
label: w.label,
|
|
3078
3086
|
placeholder: w.placeholder,
|
|
3079
3087
|
type: w.type || "text",
|
|
3080
3088
|
required: w.required,
|
|
3081
3089
|
value: m[w.name] || "",
|
|
3082
|
-
onChange:
|
|
3090
|
+
onChange: v(w.name),
|
|
3083
3091
|
error: b && w.required && !m[w.name]?.trim() ? pe(w) : null
|
|
3084
3092
|
},
|
|
3085
3093
|
w.name
|
|
3086
3094
|
)) }),
|
|
3087
3095
|
n.filter((w) => w.span === "full").map((w) => /* @__PURE__ */ e(
|
|
3088
|
-
|
|
3096
|
+
ne,
|
|
3089
3097
|
{
|
|
3090
3098
|
label: w.label,
|
|
3091
3099
|
placeholder: w.placeholder,
|
|
3092
3100
|
type: w.type || "text",
|
|
3093
3101
|
required: w.required,
|
|
3094
3102
|
value: m[w.name] || "",
|
|
3095
|
-
onChange:
|
|
3103
|
+
onChange: v(w.name),
|
|
3096
3104
|
error: b && w.required && !m[w.name]?.trim() ? pe(w) : null
|
|
3097
3105
|
},
|
|
3098
3106
|
w.name
|
|
@@ -3114,7 +3122,7 @@ function Xr({ id: a, badge: s, title: l, description: i, fields: n = [], whatsap
|
|
|
3114
3122
|
children: d.label || "Enviar"
|
|
3115
3123
|
}
|
|
3116
3124
|
),
|
|
3117
|
-
|
|
3125
|
+
h && /* @__PURE__ */ r(
|
|
3118
3126
|
f,
|
|
3119
3127
|
{
|
|
3120
3128
|
gap: "xs",
|
|
@@ -3141,7 +3149,7 @@ function Xr({ id: a, badge: s, title: l, description: i, fields: n = [], whatsap
|
|
|
3141
3149
|
{
|
|
3142
3150
|
size: "xs",
|
|
3143
3151
|
c: "gray.6",
|
|
3144
|
-
children:
|
|
3152
|
+
children: h
|
|
3145
3153
|
}
|
|
3146
3154
|
)
|
|
3147
3155
|
]
|
|
@@ -3154,14 +3162,14 @@ function Xr({ id: a, badge: s, title: l, description: i, fields: n = [], whatsap
|
|
|
3154
3162
|
}
|
|
3155
3163
|
);
|
|
3156
3164
|
}
|
|
3157
|
-
function
|
|
3165
|
+
function Zr({ id: a, subtitle: c, title: o, traditionalCol: i, newCol: n, background: l = "white" }) {
|
|
3158
3166
|
return /* @__PURE__ */ e(
|
|
3159
3167
|
F,
|
|
3160
3168
|
{
|
|
3161
3169
|
id: a,
|
|
3162
|
-
subtitle:
|
|
3163
|
-
title:
|
|
3164
|
-
background:
|
|
3170
|
+
subtitle: c,
|
|
3171
|
+
title: o,
|
|
3172
|
+
background: l,
|
|
3165
3173
|
children: /* @__PURE__ */ e(
|
|
3166
3174
|
T,
|
|
3167
3175
|
{
|
|
@@ -3177,7 +3185,7 @@ function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3177
3185
|
/* @__PURE__ */ e(
|
|
3178
3186
|
x,
|
|
3179
3187
|
{
|
|
3180
|
-
bg:
|
|
3188
|
+
bg: l === "gray" ? "gray.1" : "white",
|
|
3181
3189
|
p: { base: 30, md: 60 },
|
|
3182
3190
|
children: /* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
3183
3191
|
/* @__PURE__ */ r(x, { children: [
|
|
@@ -3208,14 +3216,14 @@ function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3208
3216
|
{
|
|
3209
3217
|
gap: "md",
|
|
3210
3218
|
mb: 40,
|
|
3211
|
-
children: i.items.map((
|
|
3219
|
+
children: i.items.map((p, d) => /* @__PURE__ */ r(Oe, { children: [
|
|
3212
3220
|
/* @__PURE__ */ r(f, { justify: "space-between", children: [
|
|
3213
3221
|
/* @__PURE__ */ e(
|
|
3214
3222
|
t,
|
|
3215
3223
|
{
|
|
3216
3224
|
size: "sm",
|
|
3217
3225
|
c: "gray.6",
|
|
3218
|
-
children:
|
|
3226
|
+
children: p.label
|
|
3219
3227
|
}
|
|
3220
3228
|
),
|
|
3221
3229
|
/* @__PURE__ */ e(
|
|
@@ -3223,18 +3231,18 @@ function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3223
3231
|
{
|
|
3224
3232
|
fw: 700,
|
|
3225
3233
|
c: "gray.9",
|
|
3226
|
-
children:
|
|
3234
|
+
children: p.value
|
|
3227
3235
|
}
|
|
3228
3236
|
)
|
|
3229
3237
|
] }),
|
|
3230
|
-
d < i.items.length - 1 && /* @__PURE__ */ e(
|
|
3238
|
+
d < i.items.length - 1 && /* @__PURE__ */ e(M, { color: "var(--mantine-color-gray-2)" })
|
|
3231
3239
|
] }, d))
|
|
3232
3240
|
}
|
|
3233
3241
|
),
|
|
3234
3242
|
/* @__PURE__ */ r(
|
|
3235
3243
|
x,
|
|
3236
3244
|
{
|
|
3237
|
-
bg:
|
|
3245
|
+
bg: l === "gray" ? "gray.1" : "white",
|
|
3238
3246
|
p: "lg",
|
|
3239
3247
|
radius: "0",
|
|
3240
3248
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
@@ -3277,7 +3285,7 @@ function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3277
3285
|
/* @__PURE__ */ e(
|
|
3278
3286
|
x,
|
|
3279
3287
|
{
|
|
3280
|
-
bg:
|
|
3288
|
+
bg: l === "gray" ? "gray.1" : "white",
|
|
3281
3289
|
p: { base: 30, md: 60 },
|
|
3282
3290
|
pos: "relative",
|
|
3283
3291
|
children: /* @__PURE__ */ r(
|
|
@@ -3339,13 +3347,13 @@ function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3339
3347
|
)
|
|
3340
3348
|
}
|
|
3341
3349
|
),
|
|
3342
|
-
children: n.items.map((
|
|
3350
|
+
children: n.items.map((p, d) => /* @__PURE__ */ e($.Item, { children: p }, d))
|
|
3343
3351
|
}
|
|
3344
3352
|
),
|
|
3345
3353
|
n.pricingBox && /* @__PURE__ */ e(
|
|
3346
3354
|
x,
|
|
3347
3355
|
{
|
|
3348
|
-
bg:
|
|
3356
|
+
bg: l === "gray" ? "gray.1" : "white",
|
|
3349
3357
|
p: "lg",
|
|
3350
3358
|
radius: "0",
|
|
3351
3359
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
@@ -3384,7 +3392,7 @@ function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3384
3392
|
}
|
|
3385
3393
|
),
|
|
3386
3394
|
n.cta && /* @__PURE__ */ e(x, { mt: "xl", children: /* @__PURE__ */ e(
|
|
3387
|
-
|
|
3395
|
+
j,
|
|
3388
3396
|
{
|
|
3389
3397
|
label: n.cta.label,
|
|
3390
3398
|
href: n.cta.href,
|
|
@@ -3407,28 +3415,28 @@ function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3407
3415
|
}
|
|
3408
3416
|
);
|
|
3409
3417
|
}
|
|
3410
|
-
function
|
|
3418
|
+
function ea({
|
|
3411
3419
|
id: a,
|
|
3412
|
-
badge:
|
|
3413
|
-
subtitle:
|
|
3420
|
+
badge: c,
|
|
3421
|
+
subtitle: o,
|
|
3414
3422
|
title: i,
|
|
3415
3423
|
description: n,
|
|
3416
|
-
billingOptions:
|
|
3424
|
+
billingOptions: l = [
|
|
3417
3425
|
{ label: "Mensal", value: "monthly" },
|
|
3418
3426
|
{ label: "Anual", value: "annual" }
|
|
3419
3427
|
],
|
|
3420
|
-
billing:
|
|
3428
|
+
billing: p,
|
|
3421
3429
|
setBilling: d,
|
|
3422
|
-
promoBadge:
|
|
3423
|
-
plans:
|
|
3430
|
+
promoBadge: h,
|
|
3431
|
+
plans: s,
|
|
3424
3432
|
background: m = "white"
|
|
3425
3433
|
}) {
|
|
3426
3434
|
return /* @__PURE__ */ r(
|
|
3427
3435
|
F,
|
|
3428
3436
|
{
|
|
3429
3437
|
id: a,
|
|
3430
|
-
badge:
|
|
3431
|
-
subtitle:
|
|
3438
|
+
badge: c,
|
|
3439
|
+
subtitle: o,
|
|
3432
3440
|
title: i,
|
|
3433
3441
|
ta: "center",
|
|
3434
3442
|
background: m,
|
|
@@ -3447,7 +3455,7 @@ function Jr({
|
|
|
3447
3455
|
children: n
|
|
3448
3456
|
}
|
|
3449
3457
|
),
|
|
3450
|
-
|
|
3458
|
+
l && l.length > 0 && /* @__PURE__ */ e(
|
|
3451
3459
|
u,
|
|
3452
3460
|
{
|
|
3453
3461
|
align: "center",
|
|
@@ -3457,24 +3465,24 @@ function Jr({
|
|
|
3457
3465
|
/* @__PURE__ */ e(
|
|
3458
3466
|
De,
|
|
3459
3467
|
{
|
|
3460
|
-
value:
|
|
3468
|
+
value: p,
|
|
3461
3469
|
onChange: d,
|
|
3462
3470
|
radius: "0",
|
|
3463
3471
|
size: "md",
|
|
3464
|
-
data:
|
|
3472
|
+
data: l,
|
|
3465
3473
|
color: "gray.9",
|
|
3466
3474
|
bg: "white",
|
|
3467
3475
|
style: { border: "1px solid var(--mantine-color-gray-2)" }
|
|
3468
3476
|
}
|
|
3469
3477
|
),
|
|
3470
|
-
|
|
3478
|
+
p === "annual" && h && /* @__PURE__ */ e(
|
|
3471
3479
|
P,
|
|
3472
3480
|
{
|
|
3473
3481
|
variant: "filled",
|
|
3474
3482
|
color: "gray.9",
|
|
3475
3483
|
radius: "0",
|
|
3476
3484
|
size: "lg",
|
|
3477
|
-
children:
|
|
3485
|
+
children: h
|
|
3478
3486
|
}
|
|
3479
3487
|
)
|
|
3480
3488
|
] })
|
|
@@ -3483,16 +3491,16 @@ function Jr({
|
|
|
3483
3491
|
/* @__PURE__ */ e(
|
|
3484
3492
|
A,
|
|
3485
3493
|
{
|
|
3486
|
-
cols: { base: 1, md:
|
|
3494
|
+
cols: { base: 1, md: s.length <= 3 ? s.length : 3 },
|
|
3487
3495
|
spacing: "xl",
|
|
3488
3496
|
verticalSpacing: "xl",
|
|
3489
|
-
children:
|
|
3497
|
+
children: s.map((g) => /* @__PURE__ */ r(
|
|
3490
3498
|
T,
|
|
3491
3499
|
{
|
|
3492
3500
|
p: "xl",
|
|
3493
3501
|
radius: "0",
|
|
3494
3502
|
withBorder: !0,
|
|
3495
|
-
bd:
|
|
3503
|
+
bd: g.highlight ? "2px solid var(--mantine-color-gray-9)" : "1px solid var(--mantine-color-gray-2)",
|
|
3496
3504
|
display: "flex",
|
|
3497
3505
|
h: "100%",
|
|
3498
3506
|
style: { flexDirection: "column" },
|
|
@@ -3518,15 +3526,15 @@ function Jr({
|
|
|
3518
3526
|
tt: "uppercase",
|
|
3519
3527
|
lts: "1.5px",
|
|
3520
3528
|
c: "gray.4",
|
|
3521
|
-
children:
|
|
3529
|
+
children: g.name
|
|
3522
3530
|
}
|
|
3523
3531
|
),
|
|
3524
|
-
|
|
3532
|
+
g.highlight && /* @__PURE__ */ e(
|
|
3525
3533
|
P,
|
|
3526
3534
|
{
|
|
3527
3535
|
variant: "dot",
|
|
3528
3536
|
color: "gray.9",
|
|
3529
|
-
children:
|
|
3537
|
+
children: g.highlightBadge || "RECOMENDADO"
|
|
3530
3538
|
}
|
|
3531
3539
|
)
|
|
3532
3540
|
]
|
|
@@ -3540,14 +3548,14 @@ function Jr({
|
|
|
3540
3548
|
fw: 500,
|
|
3541
3549
|
lh: 1.5,
|
|
3542
3550
|
h: { md: 42 },
|
|
3543
|
-
children:
|
|
3551
|
+
children: g.description
|
|
3544
3552
|
}
|
|
3545
3553
|
)
|
|
3546
3554
|
]
|
|
3547
3555
|
}
|
|
3548
3556
|
),
|
|
3549
3557
|
/* @__PURE__ */ r(x, { mb: "xl", children: [
|
|
3550
|
-
|
|
3558
|
+
g.pricePrefix !== null && /* @__PURE__ */ e(
|
|
3551
3559
|
t,
|
|
3552
3560
|
{
|
|
3553
3561
|
size: "xs",
|
|
@@ -3556,10 +3564,10 @@ function Jr({
|
|
|
3556
3564
|
tt: "uppercase",
|
|
3557
3565
|
lts: "1px",
|
|
3558
3566
|
mb: 4,
|
|
3559
|
-
children:
|
|
3567
|
+
children: g.pricePrefix || "A partir de"
|
|
3560
3568
|
}
|
|
3561
3569
|
),
|
|
3562
|
-
|
|
3570
|
+
g.priceText ? (
|
|
3563
3571
|
// Escape hatch para preço que não é número
|
|
3564
3572
|
// ("Sob consulta"), onde currency/whole/fraction
|
|
3565
3573
|
// não têm o que representar.
|
|
@@ -3577,15 +3585,15 @@ function Jr({
|
|
|
3577
3585
|
lts: "-0.04em",
|
|
3578
3586
|
lh: 1,
|
|
3579
3587
|
c: "gray.9",
|
|
3580
|
-
children:
|
|
3588
|
+
children: g.priceText
|
|
3581
3589
|
}
|
|
3582
3590
|
),
|
|
3583
|
-
|
|
3591
|
+
g.period && /* @__PURE__ */ e(
|
|
3584
3592
|
t,
|
|
3585
3593
|
{
|
|
3586
3594
|
size: "md",
|
|
3587
3595
|
c: "gray.5",
|
|
3588
|
-
children:
|
|
3596
|
+
children: g.period
|
|
3589
3597
|
}
|
|
3590
3598
|
)
|
|
3591
3599
|
]
|
|
@@ -3604,7 +3612,7 @@ function Jr({
|
|
|
3604
3612
|
fw: 900,
|
|
3605
3613
|
c: "gray.9",
|
|
3606
3614
|
style: { marginTop: 8 },
|
|
3607
|
-
children:
|
|
3615
|
+
children: g.priceDisplay?.currency
|
|
3608
3616
|
}
|
|
3609
3617
|
),
|
|
3610
3618
|
/* @__PURE__ */ r(
|
|
@@ -3621,10 +3629,10 @@ function Jr({
|
|
|
3621
3629
|
lts: "-0.04em",
|
|
3622
3630
|
lh: 0.8,
|
|
3623
3631
|
c: "gray.9",
|
|
3624
|
-
children:
|
|
3632
|
+
children: g.priceDisplay?.whole
|
|
3625
3633
|
}
|
|
3626
3634
|
),
|
|
3627
|
-
|
|
3635
|
+
g.priceDisplay?.fraction && /* @__PURE__ */ r(
|
|
3628
3636
|
u,
|
|
3629
3637
|
{
|
|
3630
3638
|
gap: 0,
|
|
@@ -3639,7 +3647,7 @@ function Jr({
|
|
|
3639
3647
|
c: "gray.9",
|
|
3640
3648
|
children: [
|
|
3641
3649
|
",",
|
|
3642
|
-
|
|
3650
|
+
g.priceDisplay.fraction
|
|
3643
3651
|
]
|
|
3644
3652
|
}
|
|
3645
3653
|
),
|
|
@@ -3651,7 +3659,7 @@ function Jr({
|
|
|
3651
3659
|
fw: 800,
|
|
3652
3660
|
tt: "uppercase",
|
|
3653
3661
|
lts: "1px",
|
|
3654
|
-
children:
|
|
3662
|
+
children: g.period || g.priceSuffix || "/mês"
|
|
3655
3663
|
}
|
|
3656
3664
|
)
|
|
3657
3665
|
]
|
|
@@ -3663,18 +3671,18 @@ function Jr({
|
|
|
3663
3671
|
]
|
|
3664
3672
|
}
|
|
3665
3673
|
),
|
|
3666
|
-
|
|
3674
|
+
g.priceNote && /* @__PURE__ */ e(
|
|
3667
3675
|
t,
|
|
3668
3676
|
{
|
|
3669
3677
|
size: "sm",
|
|
3670
3678
|
c: "gray.6",
|
|
3671
3679
|
mt: "md",
|
|
3672
|
-
children:
|
|
3680
|
+
children: g.priceNote
|
|
3673
3681
|
}
|
|
3674
3682
|
)
|
|
3675
3683
|
] }),
|
|
3676
3684
|
/* @__PURE__ */ e(
|
|
3677
|
-
|
|
3685
|
+
M,
|
|
3678
3686
|
{
|
|
3679
3687
|
mb: "xl",
|
|
3680
3688
|
color: "gray.1"
|
|
@@ -3686,7 +3694,7 @@ function Jr({
|
|
|
3686
3694
|
gap: "sm",
|
|
3687
3695
|
mb: 40,
|
|
3688
3696
|
style: { flex: 1 },
|
|
3689
|
-
children: (
|
|
3697
|
+
children: (g.features || []).map((b, y) => /* @__PURE__ */ r(
|
|
3690
3698
|
f,
|
|
3691
3699
|
{
|
|
3692
3700
|
gap: "sm",
|
|
@@ -3717,22 +3725,22 @@ function Jr({
|
|
|
3717
3725
|
))
|
|
3718
3726
|
}
|
|
3719
3727
|
),
|
|
3720
|
-
|
|
3721
|
-
|
|
3728
|
+
g.cta && /* @__PURE__ */ e(x, { mt: "auto", children: /* @__PURE__ */ e(
|
|
3729
|
+
j,
|
|
3722
3730
|
{
|
|
3723
|
-
label:
|
|
3724
|
-
href:
|
|
3725
|
-
target:
|
|
3726
|
-
rel:
|
|
3727
|
-
icon:
|
|
3728
|
-
leftSection:
|
|
3729
|
-
size:
|
|
3730
|
-
variant:
|
|
3731
|
-
color:
|
|
3731
|
+
label: g.cta.label,
|
|
3732
|
+
href: g.cta.href,
|
|
3733
|
+
target: g.cta.target,
|
|
3734
|
+
rel: g.cta.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
3735
|
+
icon: g.cta.icon,
|
|
3736
|
+
leftSection: g.cta.leftSection,
|
|
3737
|
+
size: g.cta.size || "xl",
|
|
3738
|
+
variant: g.cta.variant,
|
|
3739
|
+
color: g.cta.color || "gray.9",
|
|
3732
3740
|
fullWidth: !0
|
|
3733
3741
|
}
|
|
3734
3742
|
) }),
|
|
3735
|
-
|
|
3743
|
+
g.note && /* @__PURE__ */ e(
|
|
3736
3744
|
x,
|
|
3737
3745
|
{
|
|
3738
3746
|
mt: "auto",
|
|
@@ -3744,14 +3752,14 @@ function Jr({
|
|
|
3744
3752
|
size: "xs",
|
|
3745
3753
|
c: "gray.5",
|
|
3746
3754
|
lh: 1.5,
|
|
3747
|
-
children:
|
|
3755
|
+
children: g.note
|
|
3748
3756
|
}
|
|
3749
3757
|
)
|
|
3750
3758
|
}
|
|
3751
3759
|
)
|
|
3752
3760
|
]
|
|
3753
3761
|
},
|
|
3754
|
-
|
|
3762
|
+
g.name
|
|
3755
3763
|
))
|
|
3756
3764
|
}
|
|
3757
3765
|
)
|
|
@@ -3759,8 +3767,8 @@ function Jr({
|
|
|
3759
3767
|
}
|
|
3760
3768
|
);
|
|
3761
3769
|
}
|
|
3762
|
-
function
|
|
3763
|
-
const
|
|
3770
|
+
function ra({ id: a, badge: c, subtitle: o, title: i, description: n, questions: l = [], contactCard: p, background: d = "white", ta: h = "left" }) {
|
|
3771
|
+
const s = Math.ceil(l.length / 2), m = {
|
|
3764
3772
|
item: {
|
|
3765
3773
|
// A CSS variable, not the name: a `styles` object is plain CSS, so
|
|
3766
3774
|
// 'white' was the literal colour — it stayed white in dark mode —
|
|
@@ -3786,22 +3794,22 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3786
3794
|
F,
|
|
3787
3795
|
{
|
|
3788
3796
|
id: a,
|
|
3789
|
-
badge:
|
|
3790
|
-
subtitle:
|
|
3797
|
+
badge: c,
|
|
3798
|
+
subtitle: o,
|
|
3791
3799
|
title: i,
|
|
3792
3800
|
background: d,
|
|
3793
|
-
ta:
|
|
3794
|
-
maw:
|
|
3801
|
+
ta: h,
|
|
3802
|
+
maw: h === "center" ? 900 : 800,
|
|
3795
3803
|
children: [
|
|
3796
3804
|
n && /* @__PURE__ */ e(
|
|
3797
3805
|
t,
|
|
3798
3806
|
{
|
|
3799
3807
|
c: "gray.6",
|
|
3800
|
-
ta:
|
|
3808
|
+
ta: h,
|
|
3801
3809
|
size: "lg",
|
|
3802
3810
|
lh: 1.6,
|
|
3803
3811
|
maw: 700,
|
|
3804
|
-
mx:
|
|
3812
|
+
mx: h === "center" ? "auto" : void 0,
|
|
3805
3813
|
mb: 40,
|
|
3806
3814
|
children: n
|
|
3807
3815
|
}
|
|
@@ -3819,10 +3827,10 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3819
3827
|
radius: "0",
|
|
3820
3828
|
chevronPosition: "right",
|
|
3821
3829
|
styles: m,
|
|
3822
|
-
children:
|
|
3830
|
+
children: l.slice(0, s).map((g, b) => /* @__PURE__ */ r(
|
|
3823
3831
|
N.Item,
|
|
3824
3832
|
{
|
|
3825
|
-
value:
|
|
3833
|
+
value: g.value || String(b),
|
|
3826
3834
|
mb: "md",
|
|
3827
3835
|
children: [
|
|
3828
3836
|
/* @__PURE__ */ e(
|
|
@@ -3834,16 +3842,16 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3834
3842
|
variant: "light",
|
|
3835
3843
|
color: "gray",
|
|
3836
3844
|
radius: "0",
|
|
3837
|
-
children: /* @__PURE__ */ e(
|
|
3845
|
+
children: /* @__PURE__ */ e(oe, { size: 16 })
|
|
3838
3846
|
}
|
|
3839
3847
|
),
|
|
3840
|
-
children:
|
|
3848
|
+
children: g.question
|
|
3841
3849
|
}
|
|
3842
3850
|
),
|
|
3843
|
-
/* @__PURE__ */ e(N.Panel, { c: "gray.6", children:
|
|
3851
|
+
/* @__PURE__ */ e(N.Panel, { c: "gray.6", children: g.answer })
|
|
3844
3852
|
]
|
|
3845
3853
|
},
|
|
3846
|
-
|
|
3854
|
+
g.value || b
|
|
3847
3855
|
))
|
|
3848
3856
|
}
|
|
3849
3857
|
),
|
|
@@ -3854,10 +3862,10 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3854
3862
|
radius: "0",
|
|
3855
3863
|
chevronPosition: "right",
|
|
3856
3864
|
styles: m,
|
|
3857
|
-
children:
|
|
3865
|
+
children: l.slice(s).map((g, b) => /* @__PURE__ */ r(
|
|
3858
3866
|
N.Item,
|
|
3859
3867
|
{
|
|
3860
|
-
value:
|
|
3868
|
+
value: g.value || String(s + b),
|
|
3861
3869
|
mb: "md",
|
|
3862
3870
|
children: [
|
|
3863
3871
|
/* @__PURE__ */ e(
|
|
@@ -3869,23 +3877,23 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3869
3877
|
variant: "light",
|
|
3870
3878
|
color: "gray",
|
|
3871
3879
|
radius: "0",
|
|
3872
|
-
children: /* @__PURE__ */ e(
|
|
3880
|
+
children: /* @__PURE__ */ e(oe, { size: 16 })
|
|
3873
3881
|
}
|
|
3874
3882
|
),
|
|
3875
|
-
children:
|
|
3883
|
+
children: g.question
|
|
3876
3884
|
}
|
|
3877
3885
|
),
|
|
3878
|
-
/* @__PURE__ */ e(N.Panel, { c: "gray.6", children:
|
|
3886
|
+
/* @__PURE__ */ e(N.Panel, { c: "gray.6", children: g.answer })
|
|
3879
3887
|
]
|
|
3880
3888
|
},
|
|
3881
|
-
|
|
3889
|
+
g.value || s + b
|
|
3882
3890
|
))
|
|
3883
3891
|
}
|
|
3884
3892
|
)
|
|
3885
3893
|
]
|
|
3886
3894
|
}
|
|
3887
3895
|
),
|
|
3888
|
-
|
|
3896
|
+
p && /* @__PURE__ */ e(
|
|
3889
3897
|
T,
|
|
3890
3898
|
{
|
|
3891
3899
|
mt: { base: 40, md: 80 },
|
|
@@ -3916,7 +3924,7 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3916
3924
|
fw: 900,
|
|
3917
3925
|
c: "gray.9",
|
|
3918
3926
|
lh: 1.2,
|
|
3919
|
-
children:
|
|
3927
|
+
children: p.title
|
|
3920
3928
|
}
|
|
3921
3929
|
),
|
|
3922
3930
|
/* @__PURE__ */ e(
|
|
@@ -3925,21 +3933,21 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3925
3933
|
c: "gray.6",
|
|
3926
3934
|
maw: 500,
|
|
3927
3935
|
size: "lg",
|
|
3928
|
-
children:
|
|
3936
|
+
children: p.description
|
|
3929
3937
|
}
|
|
3930
3938
|
)
|
|
3931
3939
|
]
|
|
3932
3940
|
}
|
|
3933
3941
|
),
|
|
3934
3942
|
/* @__PURE__ */ e(u, { align: { base: "center", md: "flex-end" }, children: /* @__PURE__ */ e(
|
|
3935
|
-
|
|
3943
|
+
j,
|
|
3936
3944
|
{
|
|
3937
|
-
label:
|
|
3938
|
-
href:
|
|
3939
|
-
target:
|
|
3940
|
-
leftSection:
|
|
3941
|
-
size:
|
|
3942
|
-
color:
|
|
3945
|
+
label: p.cta.label,
|
|
3946
|
+
href: p.cta.href,
|
|
3947
|
+
target: p.cta.target,
|
|
3948
|
+
leftSection: p.cta.icon,
|
|
3949
|
+
size: p.cta.size || "xl",
|
|
3950
|
+
color: p.cta.color || "gray.8"
|
|
3943
3951
|
}
|
|
3944
3952
|
) })
|
|
3945
3953
|
]
|
|
@@ -3951,20 +3959,20 @@ function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions:
|
|
|
3951
3959
|
}
|
|
3952
3960
|
);
|
|
3953
3961
|
}
|
|
3954
|
-
function
|
|
3962
|
+
function aa({ id: a, title: c, subtitle: o, items: i = [], background: n = "gray" }) {
|
|
3955
3963
|
return /* @__PURE__ */ e(
|
|
3956
3964
|
F,
|
|
3957
3965
|
{
|
|
3958
3966
|
id: a,
|
|
3959
3967
|
background: n,
|
|
3960
|
-
title:
|
|
3961
|
-
subtitle:
|
|
3968
|
+
title: c,
|
|
3969
|
+
subtitle: o,
|
|
3962
3970
|
children: /* @__PURE__ */ e(
|
|
3963
3971
|
A,
|
|
3964
3972
|
{
|
|
3965
3973
|
cols: { base: 1, md: i.length > 3 ? 4 : i.length || 3 },
|
|
3966
3974
|
spacing: "xl",
|
|
3967
|
-
children: i.map((
|
|
3975
|
+
children: i.map((l, p) => /* @__PURE__ */ e(
|
|
3968
3976
|
T,
|
|
3969
3977
|
{
|
|
3970
3978
|
p: "xl",
|
|
@@ -3979,7 +3987,7 @@ function ea({ id: a, title: s, subtitle: l, items: i = [], background: n = "gray
|
|
|
3979
3987
|
h: "100%",
|
|
3980
3988
|
children: [
|
|
3981
3989
|
/* @__PURE__ */ e(
|
|
3982
|
-
|
|
3990
|
+
_e,
|
|
3983
3991
|
{
|
|
3984
3992
|
size: 32,
|
|
3985
3993
|
color: "var(--mantine-color-gray-3)"
|
|
@@ -3995,7 +4003,7 @@ function ea({ id: a, title: s, subtitle: l, items: i = [], background: n = "gray
|
|
|
3995
4003
|
flex: 1,
|
|
3996
4004
|
children: [
|
|
3997
4005
|
'"',
|
|
3998
|
-
|
|
4006
|
+
l.content,
|
|
3999
4007
|
'"'
|
|
4000
4008
|
]
|
|
4001
4009
|
}
|
|
@@ -4012,8 +4020,8 @@ function ea({ id: a, title: s, subtitle: l, items: i = [], background: n = "gray
|
|
|
4012
4020
|
size: "md",
|
|
4013
4021
|
radius: "0",
|
|
4014
4022
|
color: "gray",
|
|
4015
|
-
src:
|
|
4016
|
-
children:
|
|
4023
|
+
src: l.avatarSrc,
|
|
4024
|
+
children: l.initials
|
|
4017
4025
|
}
|
|
4018
4026
|
),
|
|
4019
4027
|
/* @__PURE__ */ r(u, { gap: 0, children: [
|
|
@@ -4023,7 +4031,7 @@ function ea({ id: a, title: s, subtitle: l, items: i = [], background: n = "gray
|
|
|
4023
4031
|
c: "gray.9",
|
|
4024
4032
|
size: "sm",
|
|
4025
4033
|
fw: 900,
|
|
4026
|
-
children:
|
|
4034
|
+
children: l.name
|
|
4027
4035
|
}
|
|
4028
4036
|
),
|
|
4029
4037
|
/* @__PURE__ */ e(
|
|
@@ -4034,7 +4042,7 @@ function ea({ id: a, title: s, subtitle: l, items: i = [], background: n = "gray
|
|
|
4034
4042
|
tt: "uppercase",
|
|
4035
4043
|
lts: "1px",
|
|
4036
4044
|
c: "gray.5",
|
|
4037
|
-
children:
|
|
4045
|
+
children: l.role
|
|
4038
4046
|
}
|
|
4039
4047
|
)
|
|
4040
4048
|
] })
|
|
@@ -4045,7 +4053,7 @@ function ea({ id: a, title: s, subtitle: l, items: i = [], background: n = "gray
|
|
|
4045
4053
|
}
|
|
4046
4054
|
)
|
|
4047
4055
|
},
|
|
4048
|
-
|
|
4056
|
+
p
|
|
4049
4057
|
))
|
|
4050
4058
|
}
|
|
4051
4059
|
)
|
|
@@ -4057,12 +4065,12 @@ const ge = {
|
|
|
4057
4065
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
4058
4066
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
4059
4067
|
};
|
|
4060
|
-
function
|
|
4068
|
+
function ve({ id: a, subtitle: c, title: o, titleOrder: i = 2, description: n, featuresList: l, featuresLabel: p, cta: d, secondaryCta: h, background: s = "gray", ta: m = "center" }) {
|
|
4061
4069
|
return /* @__PURE__ */ e(
|
|
4062
4070
|
F,
|
|
4063
4071
|
{
|
|
4064
4072
|
id: a,
|
|
4065
|
-
background:
|
|
4073
|
+
background: s,
|
|
4066
4074
|
ta: "center",
|
|
4067
4075
|
children: /* @__PURE__ */ e(
|
|
4068
4076
|
T,
|
|
@@ -4079,7 +4087,7 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4079
4087
|
ta: m,
|
|
4080
4088
|
gap: "xl",
|
|
4081
4089
|
children: [
|
|
4082
|
-
|
|
4090
|
+
c && /* @__PURE__ */ e(
|
|
4083
4091
|
t,
|
|
4084
4092
|
{
|
|
4085
4093
|
size: "xs",
|
|
@@ -4087,10 +4095,10 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4087
4095
|
tt: "uppercase",
|
|
4088
4096
|
lts: "1.5px",
|
|
4089
4097
|
c: "gray.4",
|
|
4090
|
-
children:
|
|
4098
|
+
children: c
|
|
4091
4099
|
}
|
|
4092
4100
|
),
|
|
4093
|
-
|
|
4101
|
+
o && // Title, e não Text: o banner costuma ser a única seção
|
|
4094
4102
|
// da página (um 404, por exemplo) e sem heading ela fica
|
|
4095
4103
|
// sem estrutura para leitor de tela.
|
|
4096
4104
|
/* @__PURE__ */ e(
|
|
@@ -4100,7 +4108,7 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4100
4108
|
fz: "var(--fz-section-title)",
|
|
4101
4109
|
lh: 1.2,
|
|
4102
4110
|
maw: 700,
|
|
4103
|
-
children:
|
|
4111
|
+
children: o
|
|
4104
4112
|
}
|
|
4105
4113
|
),
|
|
4106
4114
|
n && /* @__PURE__ */ e(
|
|
@@ -4112,14 +4120,14 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4112
4120
|
children: n
|
|
4113
4121
|
}
|
|
4114
4122
|
),
|
|
4115
|
-
|
|
4116
|
-
|
|
4123
|
+
l && l.length > 0 && /* @__PURE__ */ r(x, { ta: "left", children: [
|
|
4124
|
+
p && /* @__PURE__ */ e(
|
|
4117
4125
|
t,
|
|
4118
4126
|
{
|
|
4119
4127
|
fw: 700,
|
|
4120
4128
|
c: "gray.9",
|
|
4121
4129
|
mb: "md",
|
|
4122
|
-
children:
|
|
4130
|
+
children: p
|
|
4123
4131
|
}
|
|
4124
4132
|
),
|
|
4125
4133
|
/* @__PURE__ */ e(
|
|
@@ -4142,7 +4150,7 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4142
4150
|
)
|
|
4143
4151
|
}
|
|
4144
4152
|
),
|
|
4145
|
-
children:
|
|
4153
|
+
children: l.map((b, y) => /* @__PURE__ */ e($.Item, { children: /* @__PURE__ */ e(
|
|
4146
4154
|
t,
|
|
4147
4155
|
{
|
|
4148
4156
|
c: "gray.6",
|
|
@@ -4153,7 +4161,7 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4153
4161
|
}
|
|
4154
4162
|
)
|
|
4155
4163
|
] }),
|
|
4156
|
-
(d ||
|
|
4164
|
+
(d || h) && // O Box acompanha o alinhamento do Stack em vez de esticar:
|
|
4157
4165
|
// sem isso o botão ocupava a linha inteira e ficava colado
|
|
4158
4166
|
// à esquerda, fora do eixo do texto centralizado.
|
|
4159
4167
|
/* @__PURE__ */ e(
|
|
@@ -4171,7 +4179,7 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4171
4179
|
className: "rlg-cta-group",
|
|
4172
4180
|
children: [
|
|
4173
4181
|
d && /* @__PURE__ */ e(
|
|
4174
|
-
|
|
4182
|
+
j,
|
|
4175
4183
|
{
|
|
4176
4184
|
label: d.label,
|
|
4177
4185
|
href: d.href,
|
|
@@ -4186,19 +4194,19 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4186
4194
|
styles: ge
|
|
4187
4195
|
}
|
|
4188
4196
|
),
|
|
4189
|
-
|
|
4190
|
-
|
|
4197
|
+
h && /* @__PURE__ */ e(
|
|
4198
|
+
j,
|
|
4191
4199
|
{
|
|
4192
|
-
label:
|
|
4193
|
-
href:
|
|
4194
|
-
icon:
|
|
4195
|
-
leftSection:
|
|
4196
|
-
target:
|
|
4197
|
-
rel:
|
|
4198
|
-
size:
|
|
4199
|
-
px:
|
|
4200
|
-
variant:
|
|
4201
|
-
color:
|
|
4200
|
+
label: h.label,
|
|
4201
|
+
href: h.href,
|
|
4202
|
+
icon: h.icon,
|
|
4203
|
+
leftSection: h.leftSection,
|
|
4204
|
+
target: h.target,
|
|
4205
|
+
rel: h.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
4206
|
+
size: h.size || "xl",
|
|
4207
|
+
px: h.px,
|
|
4208
|
+
variant: h.variant || "default",
|
|
4209
|
+
color: h.color,
|
|
4202
4210
|
styles: ge
|
|
4203
4211
|
}
|
|
4204
4212
|
)
|
|
@@ -4215,27 +4223,27 @@ function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, f
|
|
|
4215
4223
|
}
|
|
4216
4224
|
);
|
|
4217
4225
|
}
|
|
4218
|
-
const
|
|
4219
|
-
function
|
|
4226
|
+
const ta = ve;
|
|
4227
|
+
function yr() {
|
|
4220
4228
|
ue(() => {
|
|
4221
4229
|
const a = document.createElement("meta");
|
|
4222
4230
|
return a.name = "robots", a.content = "noindex, follow", document.head.appendChild(a), () => a.remove();
|
|
4223
4231
|
}, []);
|
|
4224
4232
|
}
|
|
4225
|
-
function
|
|
4226
|
-
return
|
|
4227
|
-
|
|
4233
|
+
function na({ subtitle: a = "Erro 404", title: c = "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" }) {
|
|
4234
|
+
return yr(), /* @__PURE__ */ e(
|
|
4235
|
+
ve,
|
|
4228
4236
|
{
|
|
4229
4237
|
subtitle: a,
|
|
4230
|
-
title:
|
|
4238
|
+
title: c,
|
|
4231
4239
|
titleOrder: 1,
|
|
4232
|
-
description:
|
|
4233
|
-
background:
|
|
4240
|
+
description: o,
|
|
4241
|
+
background: l,
|
|
4234
4242
|
cta: n ?? {
|
|
4235
4243
|
label: "Voltar para a home",
|
|
4236
4244
|
href: i,
|
|
4237
4245
|
leftSection: /* @__PURE__ */ e(
|
|
4238
|
-
|
|
4246
|
+
He,
|
|
4239
4247
|
{
|
|
4240
4248
|
size: 18,
|
|
4241
4249
|
stroke: 1.5
|
|
@@ -4245,8 +4253,8 @@ function aa({ subtitle: a = "Erro 404", title: s = "Esta página não existe", d
|
|
|
4245
4253
|
}
|
|
4246
4254
|
);
|
|
4247
4255
|
}
|
|
4248
|
-
function
|
|
4249
|
-
const i = O(
|
|
4256
|
+
function xr({ text: a = "Selo Exclusivo", color: c = "green.6", background: o = "gray" }) {
|
|
4257
|
+
const i = O(o);
|
|
4250
4258
|
return /* @__PURE__ */ e(
|
|
4251
4259
|
x,
|
|
4252
4260
|
{
|
|
@@ -4260,11 +4268,11 @@ function fr({ text: a = "Selo Exclusivo", color: s = "green.6", background: l =
|
|
|
4260
4268
|
/* @__PURE__ */ e(
|
|
4261
4269
|
S,
|
|
4262
4270
|
{
|
|
4263
|
-
color:
|
|
4271
|
+
color: c,
|
|
4264
4272
|
variant: "light",
|
|
4265
4273
|
size: "sm",
|
|
4266
4274
|
children: /* @__PURE__ */ e(
|
|
4267
|
-
|
|
4275
|
+
Ge,
|
|
4268
4276
|
{
|
|
4269
4277
|
size: 14,
|
|
4270
4278
|
"aria-hidden": "true"
|
|
@@ -4287,17 +4295,17 @@ function fr({ text: a = "Selo Exclusivo", color: s = "green.6", background: l =
|
|
|
4287
4295
|
}
|
|
4288
4296
|
);
|
|
4289
4297
|
}
|
|
4290
|
-
const
|
|
4291
|
-
function
|
|
4292
|
-
const
|
|
4298
|
+
const ia = xr;
|
|
4299
|
+
function oa({ logo: a, description: c, sections: o = [], socialLinks: i = [], copyrightText: n, madeByText: l, background: p = "white", status: d }) {
|
|
4300
|
+
const h = O(p);
|
|
4293
4301
|
return /* @__PURE__ */ e(
|
|
4294
4302
|
x,
|
|
4295
4303
|
{
|
|
4296
4304
|
component: "footer",
|
|
4297
4305
|
py: "xl",
|
|
4298
|
-
bg:
|
|
4306
|
+
bg: h,
|
|
4299
4307
|
bd: { top: "1px solid var(--mantine-color-gray-2)" },
|
|
4300
|
-
children: /* @__PURE__ */ r(
|
|
4308
|
+
children: /* @__PURE__ */ r(E, { size: "xl", children: [
|
|
4301
4309
|
/* @__PURE__ */ r(
|
|
4302
4310
|
A,
|
|
4303
4311
|
{
|
|
@@ -4305,15 +4313,15 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4305
4313
|
spacing: "xl",
|
|
4306
4314
|
children: [
|
|
4307
4315
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
4308
|
-
a && /* @__PURE__ */ e(
|
|
4309
|
-
|
|
4316
|
+
a && /* @__PURE__ */ e(re, { logo: a }),
|
|
4317
|
+
c && /* @__PURE__ */ e(
|
|
4310
4318
|
t,
|
|
4311
4319
|
{
|
|
4312
4320
|
size: "md",
|
|
4313
4321
|
c: "gray.6",
|
|
4314
4322
|
lh: 1.6,
|
|
4315
4323
|
maw: 400,
|
|
4316
|
-
children:
|
|
4324
|
+
children: c
|
|
4317
4325
|
}
|
|
4318
4326
|
),
|
|
4319
4327
|
d
|
|
@@ -4323,11 +4331,11 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4323
4331
|
{
|
|
4324
4332
|
cols: {
|
|
4325
4333
|
base: 2,
|
|
4326
|
-
sm:
|
|
4334
|
+
sm: o.length + (i?.length > 0 ? 1 : 0) || 4
|
|
4327
4335
|
},
|
|
4328
4336
|
spacing: "xl",
|
|
4329
4337
|
children: [
|
|
4330
|
-
|
|
4338
|
+
o.map((s, m) => /* @__PURE__ */ r(
|
|
4331
4339
|
u,
|
|
4332
4340
|
{
|
|
4333
4341
|
gap: "md",
|
|
@@ -4340,18 +4348,18 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4340
4348
|
size: "xs",
|
|
4341
4349
|
tt: "uppercase",
|
|
4342
4350
|
lts: "1.5px",
|
|
4343
|
-
children:
|
|
4351
|
+
children: s.title
|
|
4344
4352
|
}
|
|
4345
4353
|
),
|
|
4346
|
-
/* @__PURE__ */ e(u, { gap: "xs", children:
|
|
4354
|
+
/* @__PURE__ */ e(u, { gap: "xs", children: s.links.map((g, b) => /* @__PURE__ */ e(
|
|
4347
4355
|
me,
|
|
4348
4356
|
{
|
|
4349
4357
|
c: "gray.6",
|
|
4350
4358
|
size: "sm",
|
|
4351
|
-
...
|
|
4352
|
-
component:
|
|
4359
|
+
...g,
|
|
4360
|
+
component: g.component || (g.href ? "a" : "button"),
|
|
4353
4361
|
fw: 500,
|
|
4354
|
-
children:
|
|
4362
|
+
children: g.label
|
|
4355
4363
|
},
|
|
4356
4364
|
b
|
|
4357
4365
|
)) })
|
|
@@ -4371,18 +4379,18 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4371
4379
|
children: "Social"
|
|
4372
4380
|
}
|
|
4373
4381
|
),
|
|
4374
|
-
/* @__PURE__ */ e(f, { gap: "xs", children: i.map((
|
|
4375
|
-
|
|
4382
|
+
/* @__PURE__ */ e(f, { gap: "xs", children: i.map((s, m) => /* @__PURE__ */ e(
|
|
4383
|
+
X,
|
|
4376
4384
|
{
|
|
4377
4385
|
size: "md",
|
|
4378
4386
|
variant: "subtle",
|
|
4379
4387
|
color: "gray",
|
|
4380
4388
|
component: "a",
|
|
4381
|
-
href:
|
|
4389
|
+
href: s.href,
|
|
4382
4390
|
target: "_blank",
|
|
4383
4391
|
radius: "0",
|
|
4384
|
-
"aria-label":
|
|
4385
|
-
children:
|
|
4392
|
+
"aria-label": s.label || `Social link ${m + 1}`,
|
|
4393
|
+
children: s.icon
|
|
4386
4394
|
},
|
|
4387
4395
|
m
|
|
4388
4396
|
)) })
|
|
@@ -4394,7 +4402,7 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4394
4402
|
}
|
|
4395
4403
|
),
|
|
4396
4404
|
/* @__PURE__ */ e(
|
|
4397
|
-
|
|
4405
|
+
M,
|
|
4398
4406
|
{
|
|
4399
4407
|
my: "xl",
|
|
4400
4408
|
color: "gray.2"
|
|
@@ -4421,7 +4429,7 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4421
4429
|
children: n
|
|
4422
4430
|
}
|
|
4423
4431
|
),
|
|
4424
|
-
|
|
4432
|
+
l && /* @__PURE__ */ e(
|
|
4425
4433
|
t,
|
|
4426
4434
|
{
|
|
4427
4435
|
size: "xs",
|
|
@@ -4429,7 +4437,7 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4429
4437
|
tt: "uppercase",
|
|
4430
4438
|
lts: "1px",
|
|
4431
4439
|
c: "gray.5",
|
|
4432
|
-
children:
|
|
4440
|
+
children: l
|
|
4433
4441
|
}
|
|
4434
4442
|
)
|
|
4435
4443
|
]
|
|
@@ -4439,14 +4447,14 @@ function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], co
|
|
|
4439
4447
|
}
|
|
4440
4448
|
);
|
|
4441
4449
|
}
|
|
4442
|
-
function
|
|
4443
|
-
const i =
|
|
4450
|
+
function la({ companyName: a = "Infrastructure", legalEntity: c, productName: o = "nossos produtos" }) {
|
|
4451
|
+
const i = c || a, n = i.split(" (")[0];
|
|
4444
4452
|
return /* @__PURE__ */ e(
|
|
4445
4453
|
x,
|
|
4446
4454
|
{
|
|
4447
4455
|
py: 100,
|
|
4448
4456
|
bg: "white",
|
|
4449
|
-
children: /* @__PURE__ */ e(
|
|
4457
|
+
children: /* @__PURE__ */ e(E, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
4450
4458
|
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
4451
4459
|
/* @__PURE__ */ e(
|
|
4452
4460
|
q,
|
|
@@ -4473,12 +4481,12 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4473
4481
|
"Como ",
|
|
4474
4482
|
a,
|
|
4475
4483
|
" trata os dados no ",
|
|
4476
|
-
|
|
4484
|
+
o
|
|
4477
4485
|
]
|
|
4478
4486
|
}
|
|
4479
4487
|
)
|
|
4480
4488
|
] }),
|
|
4481
|
-
/* @__PURE__ */ e(
|
|
4489
|
+
/* @__PURE__ */ e(M, { color: "gray.2" }),
|
|
4482
4490
|
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
4483
4491
|
/* @__PURE__ */ r(
|
|
4484
4492
|
t,
|
|
@@ -4488,7 +4496,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4488
4496
|
c: "gray.8",
|
|
4489
4497
|
children: [
|
|
4490
4498
|
"Esta política diz quais dados o ",
|
|
4491
|
-
/* @__PURE__ */ e("strong", { children:
|
|
4499
|
+
/* @__PURE__ */ e("strong", { children: o }),
|
|
4492
4500
|
" guarda, para quê, e o que você pode pedir sobre eles.",
|
|
4493
4501
|
/* @__PURE__ */ e("strong", { children: a }),
|
|
4494
4502
|
" cobra pelo produto, não pelos seus dados."
|
|
@@ -4549,7 +4557,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4549
4557
|
lh: 1.7,
|
|
4550
4558
|
children: [
|
|
4551
4559
|
"Guardamos o que o ",
|
|
4552
|
-
|
|
4560
|
+
o,
|
|
4553
4561
|
" precisa para funcionar: os dados da sua conta, o que você cria nele e os registros técnicos necessários para operar e proteger o serviço. Não usamos esses dados para montar perfil de publicidade nem para outra finalidade que não seja o próprio produto."
|
|
4554
4562
|
]
|
|
4555
4563
|
}
|
|
@@ -4621,7 +4629,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4621
4629
|
radius: "0",
|
|
4622
4630
|
color: "gray",
|
|
4623
4631
|
children: /* @__PURE__ */ e(
|
|
4624
|
-
|
|
4632
|
+
Ke,
|
|
4625
4633
|
{
|
|
4626
4634
|
size: 32,
|
|
4627
4635
|
stroke: 1.2
|
|
@@ -4672,7 +4680,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4672
4680
|
radius: "0",
|
|
4673
4681
|
color: "gray",
|
|
4674
4682
|
children: /* @__PURE__ */ e(
|
|
4675
|
-
|
|
4683
|
+
Qe,
|
|
4676
4684
|
{
|
|
4677
4685
|
size: 32,
|
|
4678
4686
|
stroke: 1.2
|
|
@@ -4700,7 +4708,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4700
4708
|
lh: 1.7,
|
|
4701
4709
|
children: [
|
|
4702
4710
|
"Você pode pedir acesso, correção ou exclusão dos seus dados a qualquer momento, pelo canal de suporte do produto. Onde o ",
|
|
4703
|
-
|
|
4711
|
+
o,
|
|
4704
4712
|
" já tem exportação, você mesmo baixa os dados em formato aberto; onde ainda não tem, a documentação do produto diz isso."
|
|
4705
4713
|
]
|
|
4706
4714
|
}
|
|
@@ -4710,7 +4718,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4710
4718
|
}
|
|
4711
4719
|
)
|
|
4712
4720
|
] }),
|
|
4713
|
-
/* @__PURE__ */ e(
|
|
4721
|
+
/* @__PURE__ */ e(M, { color: "gray.2" }),
|
|
4714
4722
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
4715
4723
|
/* @__PURE__ */ e(
|
|
4716
4724
|
t,
|
|
@@ -4732,7 +4740,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4732
4740
|
lh: 1.8,
|
|
4733
4741
|
children: [
|
|
4734
4742
|
"O ",
|
|
4735
|
-
|
|
4743
|
+
o,
|
|
4736
4744
|
" opera sob a lei brasileira e trata os dados conforme a Lei Geral de Proteção de Dados (Lei nº 13.709/2018). Não há certificação nem auditoria de terceiro. Um incidente que atinja dados pessoais é comunicado aos titulares e à ANPD nos prazos da regulamentação. Para falar com o Encarregado de Dados de ",
|
|
4737
4745
|
n,
|
|
4738
4746
|
", use o canal de suporte do produto."
|
|
@@ -4744,14 +4752,14 @@ function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4744
4752
|
}
|
|
4745
4753
|
);
|
|
4746
4754
|
}
|
|
4747
|
-
function
|
|
4748
|
-
const n =
|
|
4755
|
+
function sa({ companyName: a = "Infrastructure", legalEntity: c, productName: o = "nossos produtos", lastUpdated: i = "20 de setembro de 2026" }) {
|
|
4756
|
+
const n = c || a, l = n.split(" (")[0];
|
|
4749
4757
|
return /* @__PURE__ */ e(
|
|
4750
4758
|
x,
|
|
4751
4759
|
{
|
|
4752
4760
|
py: 100,
|
|
4753
4761
|
bg: "white",
|
|
4754
|
-
children: /* @__PURE__ */ e(
|
|
4762
|
+
children: /* @__PURE__ */ e(E, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
4755
4763
|
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
4756
4764
|
/* @__PURE__ */ e(
|
|
4757
4765
|
q,
|
|
@@ -4776,12 +4784,12 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4776
4784
|
lts: "2px",
|
|
4777
4785
|
children: [
|
|
4778
4786
|
"Acordo de Licença para Usuário Final (EULA) do ",
|
|
4779
|
-
|
|
4787
|
+
o
|
|
4780
4788
|
]
|
|
4781
4789
|
}
|
|
4782
4790
|
)
|
|
4783
4791
|
] }),
|
|
4784
|
-
/* @__PURE__ */ e(
|
|
4792
|
+
/* @__PURE__ */ e(M, { color: "gray.2" }),
|
|
4785
4793
|
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
4786
4794
|
/* @__PURE__ */ r(
|
|
4787
4795
|
t,
|
|
@@ -4791,7 +4799,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4791
4799
|
c: "gray.8",
|
|
4792
4800
|
children: [
|
|
4793
4801
|
"Bem-vindo ao ",
|
|
4794
|
-
/* @__PURE__ */ e("strong", { children:
|
|
4802
|
+
/* @__PURE__ */ e("strong", { children: o }),
|
|
4795
4803
|
". Este documento constitui um contrato vinculativo entre você e ",
|
|
4796
4804
|
n,
|
|
4797
4805
|
". Ao acessar a plataforma, criar uma conta ou utilizar qualquer funcionalidade do software, você confirma que leu, entendeu e aceita integralmente estes termos."
|
|
@@ -4824,7 +4832,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4824
4832
|
radius: "0",
|
|
4825
4833
|
color: "gray",
|
|
4826
4834
|
children: /* @__PURE__ */ e(
|
|
4827
|
-
|
|
4835
|
+
Ye,
|
|
4828
4836
|
{
|
|
4829
4837
|
size: 32,
|
|
4830
4838
|
stroke: 1.2
|
|
@@ -4851,9 +4859,9 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4851
4859
|
c: "gray.6",
|
|
4852
4860
|
lh: 1.7,
|
|
4853
4861
|
children: [
|
|
4854
|
-
o,
|
|
4855
|
-
" concede a você uma licença limitada, revogável, não exclusiva e intransferível para utilizar o ",
|
|
4856
4862
|
l,
|
|
4863
|
+
" concede a você uma licença limitada, revogável, não exclusiva e intransferível para utilizar o ",
|
|
4864
|
+
o,
|
|
4857
4865
|
" como um serviço (SaaS). Esta licença é estritamente para os fins descritos em sua modalidade de assinatura. É expressamente proibido: (a) realizar engenharia reversa; (b) sublicenciar o acesso sem autorização prévia por escrito; (c) utilizar o software para desenvolver produtos concorrentes ou (d) contornar quaisquer limitações técnicas impostas ao sistema."
|
|
4858
4866
|
]
|
|
4859
4867
|
}
|
|
@@ -4877,7 +4885,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4877
4885
|
radius: "0",
|
|
4878
4886
|
color: "gray",
|
|
4879
4887
|
children: /* @__PURE__ */ e(
|
|
4880
|
-
|
|
4888
|
+
Xe,
|
|
4881
4889
|
{
|
|
4882
4890
|
size: 32,
|
|
4883
4891
|
stroke: 1.2
|
|
@@ -4905,7 +4913,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4905
4913
|
lh: 1.7,
|
|
4906
4914
|
children: [
|
|
4907
4915
|
"A segurança da sua conta é uma responsabilidade compartilhada. Você deve fornecer informações precisas e manter a confidencialidade de suas senhas. Qualquer uso indevido da conta por terceiros, resultante de negligência do usuário, será de sua inteira responsabilidade.",
|
|
4908
|
-
|
|
4916
|
+
l,
|
|
4909
4917
|
" reserva-se o direito de suspender contas que apresentem comportamento suspeito ou que violem as normas de segurança da infraestrutura."
|
|
4910
4918
|
]
|
|
4911
4919
|
}
|
|
@@ -4929,7 +4937,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4929
4937
|
radius: "0",
|
|
4930
4938
|
color: "gray",
|
|
4931
4939
|
children: /* @__PURE__ */ e(
|
|
4932
|
-
|
|
4940
|
+
Je,
|
|
4933
4941
|
{
|
|
4934
4942
|
size: 32,
|
|
4935
4943
|
stroke: 1.2
|
|
@@ -4957,9 +4965,9 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4957
4965
|
lh: 1.7,
|
|
4958
4966
|
children: [
|
|
4959
4967
|
"Todo o código-fonte, design, interfaces, logotipos e textos do ",
|
|
4960
|
-
l,
|
|
4961
|
-
" são propriedade exclusiva de ",
|
|
4962
4968
|
o,
|
|
4969
|
+
" são propriedade exclusiva de ",
|
|
4970
|
+
l,
|
|
4963
4971
|
". No entanto, você retém todos os direitos sobre o conteúdo e dados que inseridos no sistema. Ao utilizar o produto, você nos concede apenas uma licença técnica, mundial e livre de royalties, para hospedar, copiar e exibir tais dados conforme necessário para prestar o serviço contratado."
|
|
4964
4972
|
]
|
|
4965
4973
|
}
|
|
@@ -4983,7 +4991,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
4983
4991
|
radius: "0",
|
|
4984
4992
|
color: "gray",
|
|
4985
4993
|
children: /* @__PURE__ */ e(
|
|
4986
|
-
|
|
4994
|
+
Ze,
|
|
4987
4995
|
{
|
|
4988
4996
|
size: 32,
|
|
4989
4997
|
stroke: 1.2
|
|
@@ -5011,7 +5019,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5011
5019
|
lh: 1.7,
|
|
5012
5020
|
children: [
|
|
5013
5021
|
"O ",
|
|
5014
|
-
|
|
5022
|
+
o,
|
|
5015
5023
|
" não deve ser utilizado para: (i) propagação de malware ou ataques de negação de serviço (DoS); (ii) envio de comunicações não solicitadas (SPAM); (iii) processamento de dados ilegais ou que infrinjam direitos autorais de terceiros. A violação desta cláusula resultará no cancelamento imediato da conta, sem direito a reembolso, e na colaboração total com as autoridades competentes."
|
|
5016
5024
|
]
|
|
5017
5025
|
}
|
|
@@ -5035,7 +5043,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5035
5043
|
radius: "0",
|
|
5036
5044
|
color: "gray",
|
|
5037
5045
|
children: /* @__PURE__ */ e(
|
|
5038
|
-
|
|
5046
|
+
er,
|
|
5039
5047
|
{
|
|
5040
5048
|
size: 32,
|
|
5041
5049
|
stroke: 1.2
|
|
@@ -5063,11 +5071,11 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5063
5071
|
lh: 1.7,
|
|
5064
5072
|
children: [
|
|
5065
5073
|
"O ",
|
|
5066
|
-
|
|
5074
|
+
o,
|
|
5067
5075
|
" é fornecido ",
|
|
5068
5076
|
/* @__PURE__ */ e("em", { children: '"as is"' }),
|
|
5069
5077
|
" (como está). Embora busquemos a excelência técnica, ",
|
|
5070
|
-
|
|
5078
|
+
l,
|
|
5071
5079
|
" não garante que o software seja livre de erros ou interrupções. Em nenhuma hipótese a companhia será responsável por danos indiretos, lucros cessantes ou qualquer perda de dados que ultrapasse o valor total pago pelo usuário nos últimos 12 meses."
|
|
5072
5080
|
]
|
|
5073
5081
|
}
|
|
@@ -5077,7 +5085,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5077
5085
|
}
|
|
5078
5086
|
)
|
|
5079
5087
|
] }),
|
|
5080
|
-
/* @__PURE__ */ e(
|
|
5088
|
+
/* @__PURE__ */ e(M, { color: "gray.2" }),
|
|
5081
5089
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
5082
5090
|
/* @__PURE__ */ e(
|
|
5083
5091
|
t,
|
|
@@ -5099,7 +5107,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5099
5107
|
lh: 1.8,
|
|
5100
5108
|
children: [
|
|
5101
5109
|
"Reservamo-nos o direito de alterar estes Termos a qualquer momento. Alterações substanciais serão comunicadas com pelo menos 30 dias de antecedência. Este contrato é regido pelas leis da República Federativa do Brasil, sendo eleito o foro da comarca da sede de ",
|
|
5102
|
-
|
|
5110
|
+
l,
|
|
5103
5111
|
" para dirimir quaisquer controvérsias. Última atualização: ",
|
|
5104
5112
|
i,
|
|
5105
5113
|
"."
|
|
@@ -5111,14 +5119,14 @@ function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5111
5119
|
}
|
|
5112
5120
|
);
|
|
5113
5121
|
}
|
|
5114
|
-
function
|
|
5115
|
-
const i =
|
|
5122
|
+
function ca({ companyName: a = "Infrastructure", legalEntity: c, productName: o = "nossos produtos" }) {
|
|
5123
|
+
const i = c || a;
|
|
5116
5124
|
return i.split(" (")[0], /* @__PURE__ */ e(
|
|
5117
5125
|
x,
|
|
5118
5126
|
{
|
|
5119
5127
|
py: 100,
|
|
5120
5128
|
bg: "white",
|
|
5121
|
-
children: /* @__PURE__ */ e(
|
|
5129
|
+
children: /* @__PURE__ */ e(E, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
5122
5130
|
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
5123
5131
|
/* @__PURE__ */ e(
|
|
5124
5132
|
q,
|
|
@@ -5143,12 +5151,12 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5143
5151
|
lts: "2px",
|
|
5144
5152
|
children: [
|
|
5145
5153
|
"Protocolos de proteção, infraestrutura e resposta a incidentes do ",
|
|
5146
|
-
|
|
5154
|
+
o
|
|
5147
5155
|
]
|
|
5148
5156
|
}
|
|
5149
5157
|
)
|
|
5150
5158
|
] }),
|
|
5151
|
-
/* @__PURE__ */ e(
|
|
5159
|
+
/* @__PURE__ */ e(M, { color: "gray.2" }),
|
|
5152
5160
|
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
5153
5161
|
/* @__PURE__ */ r(
|
|
5154
5162
|
t,
|
|
@@ -5158,7 +5166,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5158
5166
|
c: "gray.8",
|
|
5159
5167
|
children: [
|
|
5160
5168
|
"Este documento diz como o ",
|
|
5161
|
-
/* @__PURE__ */ e("strong", { children:
|
|
5169
|
+
/* @__PURE__ */ e("strong", { children: o }),
|
|
5162
5170
|
" protege os seus dados hoje, e também o que ele ainda não tem.",
|
|
5163
5171
|
/* @__PURE__ */ e("strong", { children: a }),
|
|
5164
5172
|
" é uma operação pequena por escolha: preferimos escrever um limite com todas as letras a prometer uma camada de proteção que não existe."
|
|
@@ -5191,7 +5199,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5191
5199
|
radius: "0",
|
|
5192
5200
|
color: "gray",
|
|
5193
5201
|
children: /* @__PURE__ */ e(
|
|
5194
|
-
|
|
5202
|
+
rr,
|
|
5195
5203
|
{
|
|
5196
5204
|
size: 32,
|
|
5197
5205
|
stroke: 1.2
|
|
@@ -5219,7 +5227,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5219
5227
|
lh: 1.7,
|
|
5220
5228
|
children: [
|
|
5221
5229
|
"Todo o tráfego entre você e o ",
|
|
5222
|
-
|
|
5230
|
+
o,
|
|
5223
5231
|
" passa por HTTPS. Os dados ficam em provedores que os criptografam em repouso (Cloudflare, Fly.io e, para e-mail, AWS). Chaves de serviços de terceiros que você nos entrega são guardadas cifradas, e as chaves de produção ficam nos cofres de segredos desses provedores, nunca no código."
|
|
5224
5232
|
]
|
|
5225
5233
|
}
|
|
@@ -5271,7 +5279,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5271
5279
|
lh: 1.7,
|
|
5272
5280
|
children: [
|
|
5273
5281
|
"O ",
|
|
5274
|
-
|
|
5282
|
+
o,
|
|
5275
5283
|
" roda sobre a rede da Cloudflare e sobre máquinas no Fly.io; a proteção contra ataques de negação de serviço é a da própria Cloudflare. Cada conta enxerga só os próprios recursos: toda leitura e escrita é filtrada pela conta autenticada. A região onde cada produto guarda os dados está escrita na documentação dele."
|
|
5276
5284
|
]
|
|
5277
5285
|
}
|
|
@@ -5295,7 +5303,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5295
5303
|
radius: "0",
|
|
5296
5304
|
color: "gray",
|
|
5297
5305
|
children: /* @__PURE__ */ e(
|
|
5298
|
-
|
|
5306
|
+
ar,
|
|
5299
5307
|
{
|
|
5300
5308
|
size: 32,
|
|
5301
5309
|
stroke: 1.2
|
|
@@ -5343,7 +5351,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5343
5351
|
radius: "0",
|
|
5344
5352
|
color: "gray",
|
|
5345
5353
|
children: /* @__PURE__ */ e(
|
|
5346
|
-
|
|
5354
|
+
tr,
|
|
5347
5355
|
{
|
|
5348
5356
|
size: 32,
|
|
5349
5357
|
stroke: 1.2
|
|
@@ -5377,10 +5385,10 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5377
5385
|
}
|
|
5378
5386
|
)
|
|
5379
5387
|
] }),
|
|
5380
|
-
/* @__PURE__ */ e(
|
|
5388
|
+
/* @__PURE__ */ e(M, { color: "gray.2" }),
|
|
5381
5389
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
5382
5390
|
/* @__PURE__ */ r(f, { gap: "sm", children: [
|
|
5383
|
-
/* @__PURE__ */ e(S, { variant: "transparent", color: "gray.9", children: /* @__PURE__ */ e(
|
|
5391
|
+
/* @__PURE__ */ e(S, { variant: "transparent", color: "gray.9", children: /* @__PURE__ */ e(nr, { size: 18 }) }),
|
|
5384
5392
|
/* @__PURE__ */ e(
|
|
5385
5393
|
t,
|
|
5386
5394
|
{
|
|
@@ -5412,23 +5420,23 @@ function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l
|
|
|
5412
5420
|
}
|
|
5413
5421
|
);
|
|
5414
5422
|
}
|
|
5415
|
-
const
|
|
5416
|
-
function
|
|
5417
|
-
const [i, n] = H({ status: "loading", checks: [], checkedAt: null, error: null, loading: !0 }), [
|
|
5423
|
+
const br = 6, wr = 2e3;
|
|
5424
|
+
function da(a, { intervalMs: c = 3e4, maxSamples: o = 40 } = {}) {
|
|
5425
|
+
const [i, n] = H({ status: "loading", checks: [], checkedAt: null, error: null, loading: !0 }), [l, p] = H([]), d = Re([]);
|
|
5418
5426
|
return ue(() => {
|
|
5419
5427
|
if (!a) return;
|
|
5420
|
-
d.current = [],
|
|
5421
|
-
let
|
|
5422
|
-
const
|
|
5423
|
-
d.current = [...d.current, I].slice(-
|
|
5424
|
-
}, m = () => (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit", second: "2-digit" }),
|
|
5428
|
+
d.current = [], p([]);
|
|
5429
|
+
let h = !1;
|
|
5430
|
+
const s = (I) => {
|
|
5431
|
+
d.current = [...d.current, I].slice(-o), p(d.current);
|
|
5432
|
+
}, m = () => (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit", second: "2-digit" }), g = async () => {
|
|
5425
5433
|
const I = Date.now();
|
|
5426
5434
|
try {
|
|
5427
5435
|
const C = await fetch(a, { headers: { accept: "application/json" } });
|
|
5428
5436
|
if (!C.ok) throw new Error(`HTTP ${C.status}`);
|
|
5429
5437
|
const w = await C.json();
|
|
5430
|
-
if (
|
|
5431
|
-
b ? b = !1 :
|
|
5438
|
+
if (h) return;
|
|
5439
|
+
b ? b = !1 : s({ time: m(), ms: Date.now() - I, up: w.status !== "down" }), n({
|
|
5432
5440
|
status: w.status || "operational",
|
|
5433
5441
|
checks: w.checks || [],
|
|
5434
5442
|
checkedAt: w.checkedAt || null,
|
|
@@ -5437,79 +5445,80 @@ function sa(a, { intervalMs: s = 3e4, maxSamples: l = 40 } = {}) {
|
|
|
5437
5445
|
loading: !1
|
|
5438
5446
|
});
|
|
5439
5447
|
} catch {
|
|
5440
|
-
if (
|
|
5441
|
-
b = !1,
|
|
5448
|
+
if (h) return;
|
|
5449
|
+
b = !1, s({ time: m(), ms: Date.now() - I, up: !1 }), n((w) => ({ ...w, error: "unreachable", loading: !1 }));
|
|
5442
5450
|
}
|
|
5443
5451
|
};
|
|
5444
|
-
let b = !0, y = 0,
|
|
5452
|
+
let b = !0, y = 0, v;
|
|
5445
5453
|
const k = async () => {
|
|
5446
|
-
await
|
|
5454
|
+
await g(), !h && (y += 1, v = setTimeout(k, y < br ? wr : c));
|
|
5447
5455
|
};
|
|
5448
5456
|
return k(), () => {
|
|
5449
|
-
|
|
5457
|
+
h = !0, clearTimeout(v);
|
|
5450
5458
|
};
|
|
5451
|
-
}, [a,
|
|
5459
|
+
}, [a, c, o]), {
|
|
5452
5460
|
...i,
|
|
5453
|
-
latency:
|
|
5461
|
+
latency: l.map((h) => ({ time: h.time, ms: h.ms })),
|
|
5454
5462
|
// A "disponibilidade" aqui é a das amostras desta sessão, agrupadas em
|
|
5455
5463
|
// blocos — não um SLA de 90 dias. O rótulo na página diz isso.
|
|
5456
|
-
uptime:
|
|
5464
|
+
uptime: vr(l),
|
|
5457
5465
|
// 1 = respondeu, 0.25 = falhou. Zero puro sumiria da barra e a falha
|
|
5458
5466
|
// ficaria invisível justamente quando importa.
|
|
5459
|
-
history:
|
|
5467
|
+
history: l.map((h) => h.up ? 1 : 0.25)
|
|
5460
5468
|
};
|
|
5461
5469
|
}
|
|
5462
|
-
function
|
|
5470
|
+
function vr(a, c = 12) {
|
|
5463
5471
|
if (a.length === 0) return [];
|
|
5464
|
-
const
|
|
5465
|
-
for (let n = 0; n < a.length; n +=
|
|
5466
|
-
const
|
|
5467
|
-
i.push({ day:
|
|
5472
|
+
const o = Math.max(1, Math.ceil(a.length / c)), i = [];
|
|
5473
|
+
for (let n = 0; n < a.length; n += o) {
|
|
5474
|
+
const l = a.slice(n, n + o), p = l.filter((d) => d.up).length;
|
|
5475
|
+
i.push({ day: l[l.length - 1].time, pct: p / l.length * 100 });
|
|
5468
5476
|
}
|
|
5469
5477
|
return i;
|
|
5470
5478
|
}
|
|
5471
5479
|
export {
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5480
|
+
jr as AuthLoader,
|
|
5481
|
+
re as BrandLogo,
|
|
5482
|
+
ve as CTABanner,
|
|
5483
|
+
j as CTAButton,
|
|
5484
|
+
Qr as Callout,
|
|
5485
|
+
lr as CodeBlock,
|
|
5486
|
+
cr as ColorSchemeToggle,
|
|
5487
|
+
Zr as Comparison,
|
|
5488
|
+
Kr as CriteriaList,
|
|
5489
|
+
ra as FAQ,
|
|
5490
|
+
$r as FeatureSplit,
|
|
5491
|
+
Vr as FeaturesGrid,
|
|
5492
|
+
oa as Footer,
|
|
5493
|
+
Yr as FounderCard,
|
|
5494
|
+
dr as Header,
|
|
5495
|
+
Rr as Hero,
|
|
5496
|
+
Nr as Layout,
|
|
5497
|
+
Jr as LeadForm,
|
|
5498
|
+
la as LegalPrivacy,
|
|
5499
|
+
ca as LegalSecurity,
|
|
5500
|
+
sa as LegalTerms,
|
|
5493
5501
|
be as MediaBlock,
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5502
|
+
Or as Navbar,
|
|
5503
|
+
na as NotFound,
|
|
5504
|
+
Gr as PlatformShelf,
|
|
5505
|
+
ea as Pricing,
|
|
5506
|
+
Hr as ProductGrid,
|
|
5499
5507
|
Z as SECTION_BACKGROUNDS,
|
|
5500
|
-
|
|
5508
|
+
ta as SecondaryCTA,
|
|
5501
5509
|
F as Section,
|
|
5502
5510
|
xe as SectionHeader,
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5511
|
+
ia as SeloExclusivo,
|
|
5512
|
+
Lr as SocialProof,
|
|
5513
|
+
Wr as StatsGrid,
|
|
5514
|
+
Ur as StatusBoard,
|
|
5515
|
+
_r as StatusIndicator,
|
|
5516
|
+
Xr as Steps,
|
|
5517
|
+
aa as Testimonials,
|
|
5518
|
+
xr as TrustBadge,
|
|
5519
|
+
or as Wordmark,
|
|
5512
5520
|
O as resolveBackground,
|
|
5513
|
-
|
|
5514
|
-
|
|
5521
|
+
ee as scrollBehavior,
|
|
5522
|
+
Mr as theme,
|
|
5523
|
+
da as useServiceStatus
|
|
5515
5524
|
};
|