@selectwin/kit 0.1.38 → 0.1.40
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/SelectBankAccountField.d.ts +2 -0
- package/dist/index.js +943 -929
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as e, jsxs as m, Fragment as ae } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as q, useEffect as le, forwardRef as R, useState as D, useId as te, useMemo as xe, useCallback as Te, useLayoutEffect as Be, Fragment as
|
|
2
|
+
import { useRef as q, useEffect as le, forwardRef as R, useState as D, useId as te, useMemo as xe, useCallback as Te, useLayoutEffect as Be, Fragment as Ut, Children as kl, useContext as qt, createContext as Yt } from "react";
|
|
3
3
|
import Me from "gsap";
|
|
4
4
|
import { createPortal as Ft } from "react-dom";
|
|
5
|
-
import { Link as
|
|
6
|
-
const
|
|
7
|
-
function
|
|
5
|
+
import { Link as wl, useNavigate as Sl } from "react-router-dom";
|
|
6
|
+
const sn = (t, n, l) => t < n ? n : t > l ? l : t;
|
|
7
|
+
function Cl(t, n, l) {
|
|
8
8
|
const c = t.getPropertyValue(n).match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);
|
|
9
9
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : l;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function Ll(t, n) {
|
|
12
12
|
const l = t.trim();
|
|
13
13
|
if (l.startsWith("#")) {
|
|
14
14
|
let s = l.slice(1);
|
|
@@ -20,7 +20,7 @@ function Al(t, n) {
|
|
|
20
20
|
const c = l.match(/(\d+)[,\s]+(\d+)[,\s]+(\d+)/);
|
|
21
21
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : n;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function na({ className: t, theme: n, glowTarget: l }) {
|
|
24
24
|
const c = q(null);
|
|
25
25
|
return le(() => {
|
|
26
26
|
var Q;
|
|
@@ -28,7 +28,7 @@ function ta({ className: t, theme: n, glowTarget: l }) {
|
|
|
28
28
|
if (!s) return;
|
|
29
29
|
const a = s.getContext("2d");
|
|
30
30
|
if (!a) return;
|
|
31
|
-
const r = ((Q = window.matchMedia) == null ? void 0 : Q.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, d = n === "dark", o = 30, i = 1.2, u = 160, h = 8, f = 2.9, g = 0.32, v = 1.4, x = 18, N = Math.PI * 2, $ = getComputedStyle(s), [_, p, b] =
|
|
31
|
+
const r = ((Q = window.matchMedia) == null ? void 0 : Q.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, d = n === "dark", o = 30, i = 1.2, u = 160, h = 8, f = 2.9, g = 0.32, v = 1.4, x = 18, N = Math.PI * 2, $ = getComputedStyle(s), [_, p, b] = Cl($, "--select-dot", d ? [235, 238, 255] : [64, 68, 92]), [S, k, M] = Ll($.getPropertyValue("--select-primary"), d ? [255, 255, 255] : [33, 37, 41]);
|
|
32
32
|
let w = 0, y = 0, C = [], L = 0, B = 0, A = null, F = 0;
|
|
33
33
|
const E = { x: 0, y: 0 };
|
|
34
34
|
let T = 0, I = 0, O = -10;
|
|
@@ -50,9 +50,9 @@ function ta({ className: t, theme: n, glowTarget: l }) {
|
|
|
50
50
|
}
|
|
51
51
|
function J(z, pe, de, me, he) {
|
|
52
52
|
if (!A) return;
|
|
53
|
-
const oe = A.getBoundingClientRect(), $e = oe.left - L + oe.width / 2, Ce = oe.top - B + oe.height / 2, Le = oe.width / 2, Ne = oe.height / 2, Ie = (z - $e) / (Le + x), ke = (pe - Ce) / (Ne + x), Ue = Math.sqrt(Ie * Ie + ke * ke),
|
|
53
|
+
const oe = A.getBoundingClientRect(), $e = oe.left - L + oe.width / 2, Ce = oe.top - B + oe.height / 2, Le = oe.width / 2, Ne = oe.height / 2, Ie = (z - $e) / (Le + x), ke = (pe - Ce) / (Ne + x), Ue = Math.sqrt(Ie * Ie + ke * ke), He = Ue < 1 ? 1 - Ue : 0, Fe = He * He * (3 - 2 * He);
|
|
54
54
|
if (Fe > 1e-3 || F > 1e-3) {
|
|
55
|
-
const P =
|
|
55
|
+
const P = sn((z - $e) / Math.max(Le, 1), -1, 1) * 10 * Fe, V = sn((pe - Ce) / Math.max(Ne, 1), -1, 1) * 10 * Fe;
|
|
56
56
|
A.style.setProperty("--select-card-glow", Fe.toFixed(3)), A.style.setProperty("--select-card-glow-rgb", `${de}, ${me}, ${he}`), A.style.setProperty("--select-card-glow-x", `${P.toFixed(1)}px`), A.style.setProperty("--select-card-glow-y", `${V.toFixed(1)}px`);
|
|
57
57
|
}
|
|
58
58
|
F = Fe;
|
|
@@ -69,7 +69,7 @@ function ta({ className: t, theme: n, glowTarget: l }) {
|
|
|
69
69
|
const me = E.x, he = E.y;
|
|
70
70
|
a.clearRect(0, 0, w, y);
|
|
71
71
|
for (let oe = 0; oe < C.length; oe++) {
|
|
72
|
-
const $e = C[oe], Ce = $e.x - me, Le = $e.y - he, Ne = Math.sqrt(Ce * Ce + Le * Le), Ie = Ne < u ? 1 - Ne / u : 0, ke = Ie * Ie, Ue = Math.sin(z * 1.4 + $e.phase) * 0.5 + 0.5,
|
|
72
|
+
const $e = C[oe], Ce = $e.x - me, Le = $e.y - he, Ne = Math.sqrt(Ce * Ce + Le * Le), Ie = Ne < u ? 1 - Ne / u : 0, ke = Ie * Ie, Ue = Math.sin(z * 1.4 + $e.phase) * 0.5 + 0.5, He = ke * h, Fe = Ne > 1e-4 ? 1 / Ne : 0, P = $e.x - Ce * Fe * He, V = $e.y - Le * Fe * He, U = 1 + ke * (f - 1) + Ue * 0.14, re = Math.min(1, g + Ue * 0.08 + ke * (1 - g)), ee = _ + (S - _) * ke | 0, se = p + (k - p) * ke | 0, ue = b + (M - b) * ke | 0;
|
|
73
73
|
ke > 0.12 ? (a.shadowColor = `rgba(${S},${k},${M},${0.6 * ke})`, a.shadowBlur = 12 * ke) : a.shadowBlur = 0, a.beginPath(), a.arc(P, V, i * U, 0, N), a.fillStyle = `rgba(${ee},${se},${ue},${re})`, a.fill();
|
|
74
74
|
}
|
|
75
75
|
a.shadowBlur = 0, J(me, he, S, k, M);
|
|
@@ -90,12 +90,12 @@ function ta({ className: t, theme: n, glowTarget: l }) {
|
|
|
90
90
|
});
|
|
91
91
|
}, [n, l]), /* @__PURE__ */ e("canvas", { ref: c, className: t, "aria-hidden": "true" });
|
|
92
92
|
}
|
|
93
|
-
const
|
|
94
|
-
function
|
|
93
|
+
const la = ["dots", "plexus", "grid", "flow", "circuit"], tt = Math.PI * 2, Ye = (t, n, l) => t < n ? n : t > l ? l : t, $t = (t, n, l) => t + (n - t) * l;
|
|
94
|
+
function Al(t, n, l) {
|
|
95
95
|
const c = t.getPropertyValue(n).match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);
|
|
96
96
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : l;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Fl(t, n) {
|
|
99
99
|
const l = t.trim();
|
|
100
100
|
if (l.startsWith("#")) {
|
|
101
101
|
let s = l.slice(1);
|
|
@@ -107,7 +107,7 @@ function Bl(t, n) {
|
|
|
107
107
|
const c = l.match(/(\d+)[,\s]+(\d+)[,\s]+(\d+)/);
|
|
108
108
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : n;
|
|
109
109
|
}
|
|
110
|
-
const
|
|
110
|
+
const Bl = (t) => {
|
|
111
111
|
let d = [], o = 0;
|
|
112
112
|
function i() {
|
|
113
113
|
const h = t.w(), f = t.h();
|
|
@@ -138,7 +138,7 @@ const El = (t) => {
|
|
|
138
138
|
u(0, 0), t.clearGlow();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
|
-
},
|
|
141
|
+
}, El = (t) => {
|
|
142
142
|
let c = 0, s = 0, a = [];
|
|
143
143
|
function r() {
|
|
144
144
|
c = t.w(), s = t.h();
|
|
@@ -185,7 +185,7 @@ const El = (t) => {
|
|
|
185
185
|
d(!1), t.clearGlow();
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
},
|
|
188
|
+
}, Il = (t) => {
|
|
189
189
|
let c = 0, s = 0, a = 0, r = 0, d = 0, o = 0;
|
|
190
190
|
function i() {
|
|
191
191
|
c = t.w(), s = t.h(), a = Math.ceil(c / 44) + 1, r = Math.ceil(s / 44) + 1, d = (c - (a - 1) * 44) / 2, o = (s - (r - 1) * 44) / 2;
|
|
@@ -229,7 +229,7 @@ const El = (t) => {
|
|
|
229
229
|
u(0, !1), t.clearGlow();
|
|
230
230
|
}
|
|
231
231
|
};
|
|
232
|
-
},
|
|
232
|
+
}, Pl = (t) => {
|
|
233
233
|
let l = 0, c = 0, s = [];
|
|
234
234
|
function a(i, u, h) {
|
|
235
235
|
return (Math.sin(i * 65e-4 + h * 0.18) + Math.cos(u * 72e-4 - h * 0.14) + Math.sin((i + u) * 4e-3 + h * 0.1)) * 1.1;
|
|
@@ -286,7 +286,7 @@ const El = (t) => {
|
|
|
286
286
|
t.clearGlow();
|
|
287
287
|
}
|
|
288
288
|
};
|
|
289
|
-
},
|
|
289
|
+
}, Rl = (t) => {
|
|
290
290
|
let l = 0, c = 0, s = [];
|
|
291
291
|
function a() {
|
|
292
292
|
l = t.w(), c = t.h(), s = [];
|
|
@@ -357,14 +357,14 @@ const El = (t) => {
|
|
|
357
357
|
o(0, !1), t.clearGlow();
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
|
-
},
|
|
361
|
-
dots:
|
|
362
|
-
plexus:
|
|
363
|
-
grid:
|
|
364
|
-
flow:
|
|
365
|
-
circuit:
|
|
360
|
+
}, Dl = {
|
|
361
|
+
dots: Bl,
|
|
362
|
+
plexus: El,
|
|
363
|
+
grid: Il,
|
|
364
|
+
flow: Pl,
|
|
365
|
+
circuit: Rl
|
|
366
366
|
};
|
|
367
|
-
function
|
|
367
|
+
function ca({
|
|
368
368
|
className: t,
|
|
369
369
|
theme: n,
|
|
370
370
|
glowTarget: l,
|
|
@@ -377,7 +377,7 @@ function la({
|
|
|
377
377
|
if (!a) return;
|
|
378
378
|
const r = a.getContext("2d");
|
|
379
379
|
if (!r) return;
|
|
380
|
-
const d = ((Z = window.matchMedia) == null ? void 0 : Z.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, o = n === "dark", i = getComputedStyle(a), u =
|
|
380
|
+
const d = ((Z = window.matchMedia) == null ? void 0 : Z.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, o = n === "dark", i = getComputedStyle(a), u = Al(i, "--select-dot", o ? [235, 238, 255] : [64, 68, 92]), h = Fl(i.getPropertyValue("--select-primary"), o ? [255, 255, 255] : [33, 37, 41]);
|
|
381
381
|
let f = 0, g = 0, v = 0, x = 0, N = null, $ = 0;
|
|
382
382
|
const _ = 1.2, p = { x: 0, y: 0 }, b = { x: 0, y: 0, active: !1 };
|
|
383
383
|
let S = 0, k = 0, M = -10;
|
|
@@ -394,7 +394,7 @@ function la({
|
|
|
394
394
|
function L() {
|
|
395
395
|
$ > 1e-3 && (N == null || N.style.setProperty("--select-card-glow", "0")), $ = 0;
|
|
396
396
|
}
|
|
397
|
-
const B = { ctx: r, w: () => f, h: () => g, ink: u, accent: h, dark: o, pointer: b, cardGlow: C, clearGlow: L }, A =
|
|
397
|
+
const B = { ctx: r, w: () => f, h: () => g, ink: u, accent: h, dark: o, pointer: b, cardGlow: C, clearGlow: L }, A = Dl[c](B);
|
|
398
398
|
function F() {
|
|
399
399
|
const G = a.getBoundingClientRect();
|
|
400
400
|
v = G.left, x = G.top, f = G.width, g = G.height;
|
|
@@ -424,7 +424,7 @@ function la({
|
|
|
424
424
|
});
|
|
425
425
|
}, [n, l, c]), /* @__PURE__ */ e("canvas", { ref: s, className: t, "aria-hidden": "true" });
|
|
426
426
|
}
|
|
427
|
-
const
|
|
427
|
+
const sa = R(function({ title: n, subtitle: l, logo: c, mark: s, children: a, footer: r, className: d, ...o }, i) {
|
|
428
428
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-card${d ? " " + d : ""}`, children: [
|
|
429
429
|
/* @__PURE__ */ m("div", { className: "select-card__body", children: [
|
|
430
430
|
c && /* @__PURE__ */ e("div", { className: "select-card__brand", children: c }),
|
|
@@ -483,7 +483,7 @@ const ca = R(function({ title: n, subtitle: l, logo: c, mark: s, children: a, fo
|
|
|
483
483
|
!s && r && /* @__PURE__ */ e("span", { className: "select-btn__icon select-btn__icon--trailing", children: r })
|
|
484
484
|
] });
|
|
485
485
|
});
|
|
486
|
-
function
|
|
486
|
+
function aa() {
|
|
487
487
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: [
|
|
488
488
|
/* @__PURE__ */ e(
|
|
489
489
|
"path",
|
|
@@ -515,7 +515,7 @@ function sa() {
|
|
|
515
515
|
)
|
|
516
516
|
] });
|
|
517
517
|
}
|
|
518
|
-
function
|
|
518
|
+
function oa() {
|
|
519
519
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
520
520
|
"path",
|
|
521
521
|
{
|
|
@@ -527,19 +527,19 @@ function aa() {
|
|
|
527
527
|
function dt() {
|
|
528
528
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M8.91 19.92l6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08" }) });
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function zt() {
|
|
531
531
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M15 19.92L8.48 13.4c-.77-.77-.77-2.03 0-2.8L15 4.08" }) });
|
|
532
532
|
}
|
|
533
533
|
function be() {
|
|
534
534
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95" }) });
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function Tn() {
|
|
537
537
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M9.57 5.93L3.5 12l6.07 6.07M20.5 12H3.67" }) });
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function ra() {
|
|
540
540
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5.4 2.1h13.2c1.1 0 2 .9 2 2v2.2c0 .8-.5 1.8-1 2.3l-4.3 3.8c-.6.5-1 1.5-1 2.3V19c0 .6-.4 1.4-.9 1.7l-1.4.9c-1.3.8-3.1-.1-3.1-1.7v-5.3c0-.7-.4-1.6-.8-2.1l-3.8-4c-.5-.5-.9-1.4-.9-2V4.2c0-1.2.9-2.1 2-2.1ZM10.93 2.1 6 10" }) });
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Xt() {
|
|
543
543
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM22 22l-2-2" }) });
|
|
544
544
|
}
|
|
545
545
|
function kt() {
|
|
@@ -549,22 +549,22 @@ function kt() {
|
|
|
549
549
|
/* @__PURE__ */ e("path", { d: "M22 10h-4c-3 0-4-1-4-4V2l8 8Z" })
|
|
550
550
|
] });
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function Kt() {
|
|
553
553
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
554
554
|
/* @__PURE__ */ e("path", { d: "M16 12.9v4.2c0 3.5-1.4 4.9-4.9 4.9H6.9C3.4 22 2 20.6 2 17.1v-4.2C2 9.4 3.4 8 6.9 8h4.2c3.5 0 4.9 1.4 4.9 4.9z" }),
|
|
555
555
|
/* @__PURE__ */ e("path", { d: "M22 6.9v4.2c0 3.5-1.4 4.9-4.9 4.9H16v-3.1C16 9.4 14.6 8 11.1 8H8V6.9C8 3.4 9.4 2 12.9 2h4.2C20.6 2 22 3.4 22 6.9z" })
|
|
556
556
|
] });
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function Wn() {
|
|
559
559
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M13 11l8.2-8.2M22 6.8V2h-4.8M11 2H9C4 2 2 4 2 9v6c0 5 2 7 7 7h6c5 0 7-2 7-7v-2" }) });
|
|
560
560
|
}
|
|
561
561
|
function Ke() {
|
|
562
562
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M6 6 18 18M18 6 6 18" }) });
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function ia() {
|
|
565
565
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM19 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z" }) });
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function Tl() {
|
|
568
568
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
569
569
|
/* @__PURE__ */ e("path", { d: "M22 6.5h-6M6 6.5H2" }),
|
|
570
570
|
/* @__PURE__ */ e("path", { d: "M10 10a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z" }),
|
|
@@ -572,123 +572,123 @@ function Wl() {
|
|
|
572
572
|
/* @__PURE__ */ e("path", { d: "M14 21a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z" })
|
|
573
573
|
] });
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function da() {
|
|
576
576
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
577
577
|
/* @__PURE__ */ e("path", { d: "M22 12c0 5.52-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2s10 4.48 10 10Z" }),
|
|
578
578
|
/* @__PURE__ */ e("path", { d: "m15.71 15.18-3.1-1.85c-.54-.32-.98-1.09-.98-1.72v-4.1" })
|
|
579
579
|
] });
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function ha() {
|
|
582
582
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
583
583
|
/* @__PURE__ */ e("path", { d: "M9.25 9.05a8 8 0 0 0 5.5 0" }),
|
|
584
584
|
/* @__PURE__ */ e("path", { d: "M16.82 2H7.18C5.05 2 3.32 3.74 3.32 5.86v14.09c0 1.8 1.29 2.56 2.87 1.69l4.88-2.71c.52-.29 1.36-.29 1.87 0l4.88 2.71c1.58.88 2.87.12 2.87-1.69V5.86C20.68 3.74 18.95 2 16.82 2Z" }),
|
|
585
585
|
/* @__PURE__ */ e("path", { d: "M16.82 2H7.18C5.05 2 3.32 3.74 3.32 5.86v14.09c0 1.8 1.29 2.56 2.87 1.69l4.88-2.71c.52-.29 1.36-.29 1.87 0l4.88 2.71c1.58.88 2.87.12 2.87-1.69V5.86C20.68 3.74 18.95 2 16.82 2Z" })
|
|
586
586
|
] });
|
|
587
587
|
}
|
|
588
|
-
const
|
|
588
|
+
const ua = R(function({ filled: n = !1, className: l, ...c }, s) {
|
|
589
589
|
return n ? /* @__PURE__ */ e("svg", { ref: s, ...c, className: l, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5.74 16c.11-.49-.09-1.19-.44-1.54l-2.43-2.43c-.76-.76-1.06-1.57-.84-2.27.23-.7.94-1.18 2-1.36l3.12-.52c.45-.08 1-.48 1.21-.89l1.72-3.45C10.58 2.55 11.26 2 12 2s1.42.55 1.92 1.54l1.72 3.45c.13.26.4.51.69.68L5.56 18.44c-.14.14-.38.01-.34-.19L5.74 16ZM18.7 14.462c-.36.36-.56 1.05-.44 1.54l.69 3.01c.29 1.25.11 2.19-.51 2.64a1.5 1.5 0 0 1-.9.27c-.51 0-1.11-.19-1.77-.58l-2.93-1.74c-.46-.27-1.22-.27-1.68 0l-2.93 1.74c-1.11.65-2.06.76-2.67.31-.23-.17-.4-.4-.51-.7l12.16-12.16c.46-.46 1.11-.67 1.74-.56l1.01.17c1.06.18 1.77.66 2 1.36.22.7-.08 1.51-.84 2.27l-2.42 2.43Z" }) }) : /* @__PURE__ */ e("svg", { ref: s, ...c, className: l, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "m13.73 3.51 1.76 3.52c.24.49.88.96 1.42 1.05l3.19.53c2.04.34 2.52 1.82 1.05 3.28l-2.48 2.48c-.42.42-.65 1.23-.52 1.81l.71 3.07c.56 2.43-.73 3.37-2.88 2.1l-2.99-1.77c-.54-.32-1.43-.32-1.98 0l-2.99 1.77c-2.14 1.27-3.44.32-2.88-2.1l.71-3.07c.13-.58-.1-1.39-.52-1.81l-2.48-2.48c-1.46-1.46-.99-2.94 1.05-3.28l3.19-.53c.53-.09 1.17-.56 1.41-1.05l1.76-3.52c.96-1.91 2.52-1.91 3.47 0Z" }) });
|
|
590
590
|
});
|
|
591
|
-
function
|
|
591
|
+
function pa() {
|
|
592
592
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M16.96 6.17c2 1.39 3.38 3.6 3.66 6.15M3.49 12.37a8.601 8.601 0 0 1 3.6-6.15M8.19 20.94c1.16.59 2.48.92 3.87.92 1.34 0 2.6-.3 3.73-.85M12.06 7.7a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56ZM4.83 19.92a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56ZM19.17 19.92a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56Z" }) });
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function Wl() {
|
|
595
595
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
596
596
|
/* @__PURE__ */ e("path", { d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z" }),
|
|
597
597
|
/* @__PURE__ */ e("path", { d: "M8 3h1a28.424 28.424 0 0 0 0 18H8M15 3a28.424 28.424 0 0 1 0 18" }),
|
|
598
598
|
/* @__PURE__ */ e("path", { d: "M3 16v-1a28.424 28.424 0 0 0 18 0v1M3 9a28.424 28.424 0 0 1 18 0" })
|
|
599
599
|
] });
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function On() {
|
|
602
602
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
603
603
|
/* @__PURE__ */ e("path", { d: "m8 9 4-4 4 4" }),
|
|
604
604
|
/* @__PURE__ */ e("path", { d: "m16 15-4 4-4-4" })
|
|
605
605
|
] });
|
|
606
606
|
}
|
|
607
|
-
function
|
|
607
|
+
function Jt() {
|
|
608
608
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
609
609
|
/* @__PURE__ */ e("path", { d: "M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM12 8v5" }),
|
|
610
610
|
/* @__PURE__ */ e("path", { d: "M11.995 16h.009" })
|
|
611
611
|
] });
|
|
612
612
|
}
|
|
613
|
-
function
|
|
613
|
+
function Ol() {
|
|
614
614
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
615
615
|
/* @__PURE__ */ e("path", { d: "M12 9v5M12 21.41H5.94c-3.47 0-4.92-2.48-3.24-5.51l3.12-5.62L8.76 5c1.78-3.21 4.7-3.21 6.48 0l2.94 5.29 3.12 5.62c1.68 3.03.22 5.51-3.24 5.51H12v-.01Z" }),
|
|
616
616
|
/* @__PURE__ */ e("path", { d: "M11.995 17h.009" })
|
|
617
617
|
] });
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function ma() {
|
|
620
620
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10ZM20.59 22c0-3.87-3.85-7-8.59-7s-8.59 3.13-8.59 7" }) });
|
|
621
621
|
}
|
|
622
|
-
function
|
|
622
|
+
function fa() {
|
|
623
623
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
624
624
|
/* @__PURE__ */ e("path", { d: "M12.02 2.91c-3.31 0-6 2.69-6 6v2.89c0 .61-.26 1.54-.57 2.06L4.3 15.77c-.71 1.18-.22 2.49 1.08 2.93 4.31 1.44 8.96 1.44 13.27 0 1.21-.4 1.74-1.83 1.08-2.93l-1.15-1.91c-.3-.52-.56-1.45-.56-2.06V8.91c0-3.3-2.7-6-6-6Z" }),
|
|
625
625
|
/* @__PURE__ */ e("path", { d: "M13.87 3.2a6.754 6.754 0 0 0-3.7 0c.29-.74 1.01-1.26 1.85-1.26.84 0 1.56.52 1.85 1.26Z" }),
|
|
626
626
|
/* @__PURE__ */ e("path", { d: "M15.02 19.06c0 1.65-1.35 3-3 3-.82 0-1.58-.34-2.12-.88a3.01 3.01 0 0 1-.88-2.12" })
|
|
627
627
|
] });
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function Hl() {
|
|
630
630
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
631
631
|
/* @__PURE__ */ e("path", { d: "M9 13c-.66.33-1.21.82-1.62 1.43-.23.35-.23.79 0 1.14.41.61.96 1.1 1.62 1.43M15.21 13c.66.33 1.21.82 1.62 1.43.23.35.23.79 0 1.14-.41.61-.96 1.1-1.62 1.43" }),
|
|
632
632
|
/* @__PURE__ */ e("path", { d: "M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7ZM2.23 8.01 21.45 8" })
|
|
633
633
|
] });
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function _a() {
|
|
636
636
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
637
637
|
/* @__PURE__ */ e("path", { d: "M5 15c-1.5 1.3-2 5-2 5s3.7-.5 5-2c.8-.9.8-2.2 0-3a2.1 2.1 0 0 0-3 0Z" }),
|
|
638
638
|
/* @__PURE__ */ e("path", { d: "M9 12a13 13 0 0 1 9-9 13 13 0 0 1-9 9Z" }),
|
|
639
639
|
/* @__PURE__ */ e("path", { d: "M14.5 9.5 16 11" })
|
|
640
640
|
] });
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function jl() {
|
|
643
643
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
644
644
|
/* @__PURE__ */ e("path", { d: "M3.17 7.44 12 12.55l8.77-5.08M12 21.61v-9.07" }),
|
|
645
645
|
/* @__PURE__ */ e("path", { d: "M9.93 2.48 4.59 5.45c-1.21.67-2.2 2.35-2.2 3.73v5.65c0 1.38.99 3.06 2.2 3.73l5.34 2.97c1.14.63 3.01.63 4.15 0l5.34-2.97c1.21-.67 2.2-2.35 2.2-3.73V9.18c0-1.38-.99-3.06-2.2-3.73l-5.34-2.97c-1.15-.64-3.01-.64-4.15 0Z" }),
|
|
646
646
|
/* @__PURE__ */ e("path", { d: "M17 13.24V9.58L7.51 4.1" })
|
|
647
647
|
] });
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function Vl() {
|
|
650
650
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
651
651
|
/* @__PURE__ */ e("path", { d: "M12 18.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13Z" }),
|
|
652
652
|
/* @__PURE__ */ e("path", { d: "m19.14 19.14-.13-.13m0-14.02.13-.13-.13.13ZM4.86 19.14l.13-.13-.13.13ZM12 2.08V2v.08ZM12 22v-.08.08ZM2.08 12H2h.08ZM22 12h-.08.08ZM4.99 4.99l-.13-.13.13.13Z" })
|
|
653
653
|
] });
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function Zl() {
|
|
656
656
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M2.03 12.42c.36 5.15 4.73 9.34 9.96 9.57 3.69.16 6.99-1.56 8.97-4.27.82-1.11.38-1.85-.99-1.6-.67.12-1.36.17-2.08.14C13 16.06 9 11.97 8.98 7.14c-.01-1.3.26-2.53.75-3.65.54-1.24-.11-1.83-1.36-1.3C4.41 3.86 1.7 7.85 2.03 12.42Z" }) });
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function Hn() {
|
|
659
659
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M6.44 2h11.11C21.11 2 22 2.89 22 6.44v6.33c0 3.56-.89 4.44-4.44 4.44H6.44C2.89 17.22 2 16.33 2 12.78V6.44C2 2.89 2.89 2 6.44 2ZM12 17.22V22M2 13h20M7.5 22h9" }) });
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function Gl() {
|
|
662
662
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
663
663
|
/* @__PURE__ */ e("path", { d: "M17 6v10c0 4-1 5-5 5H6c-4 0-5-1-5-5V6c0-4 1-5 5-5h6c4 0 5 1 5 5ZM11 4.5H7" }),
|
|
664
664
|
/* @__PURE__ */ e("path", { d: "M9 18.1A1.55 1.55 0 1 0 9 15a1.55 1.55 0 0 0 0 3.1Z" })
|
|
665
665
|
] });
|
|
666
666
|
}
|
|
667
|
-
function
|
|
667
|
+
function Ul() {
|
|
668
668
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M22 12c0 5.52-4.48 10-10 10s-8.89-5.56-8.89-5.56m0 0h4.52m-4.52 0v5M2 12C2 6.48 6.44 2 12 2c6.67 0 10 5.56 10 5.56m0 0v-5m0 5h-4.44" }) });
|
|
669
669
|
}
|
|
670
670
|
function nt() {
|
|
671
671
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M6 12h12M12 18V6" }) });
|
|
672
672
|
}
|
|
673
|
-
function
|
|
673
|
+
function va() {
|
|
674
674
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
675
675
|
/* @__PURE__ */ e("path", { d: "M17 6v10c0 4-1 5-5 5H6c-4 0-5-1-5-5V6c0-4 1-5 5-5h6c4 0 5 1 5 5ZM11 4.5H7" }),
|
|
676
676
|
/* @__PURE__ */ e("path", { d: "M9 18.1A1.55 1.55 0 1 0 9 15a1.55 1.55 0 0 0 0 3.1Z" })
|
|
677
677
|
] });
|
|
678
678
|
}
|
|
679
|
-
function
|
|
679
|
+
function ga() {
|
|
680
680
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
681
681
|
/* @__PURE__ */ e("path", { d: "M20.75 13.25c0 4.83-3.92 8.75-8.75 8.75s-8.75-3.92-8.75-8.75S7.17 4.5 12 4.5s8.75 3.92 8.75 8.75ZM12 8v5" }),
|
|
682
682
|
/* @__PURE__ */ e("path", { d: "M9 2h6" })
|
|
683
683
|
] });
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
function ba() {
|
|
686
686
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
687
687
|
/* @__PURE__ */ e("path", { d: "M17 20.5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5v7c0 3.5-2 5-5 5Z" }),
|
|
688
688
|
/* @__PURE__ */ e("path", { d: "m17 9-3.13 2.5c-1.03.82-2.72.82-3.75 0L7 9" })
|
|
689
689
|
] });
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function xa() {
|
|
692
692
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
693
693
|
"path",
|
|
694
694
|
{
|
|
@@ -697,20 +697,20 @@ function ba() {
|
|
|
697
697
|
}
|
|
698
698
|
) });
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function ya() {
|
|
701
701
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M17.05 12.54c-.02-2.05 1.68-3.03 1.75-3.08-.95-1.4-2.44-1.59-2.97-1.61-1.26-.13-2.47.74-3.11.74-.64 0-1.63-.72-2.69-.7-1.38.02-2.66.8-3.37 2.04-1.44 2.5-.37 6.19 1.03 8.22.69.99 1.5 2.1 2.57 2.06 1.03-.04 1.42-.66 2.66-.66 1.24 0 1.59.66 2.68.64 1.11-.02 1.81-1 2.49-2 .78-1.15 1.1-2.26 1.12-2.32-.02-.01-2.15-.83-2.17-3.27ZM15.1 6.34c.56-.69.94-1.63.84-2.59-.81.03-1.8.54-2.39 1.22-.52.6-.98 1.57-.86 2.49.91.07 1.84-.46 2.41-1.12Z" }) });
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function Na() {
|
|
704
704
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
705
705
|
/* @__PURE__ */ e("path", { d: "M12 14.88c-.91 0-1.65-.74-1.65-1.65v-2.47c0-.91.74-1.65 1.65-1.65.91 0 1.65.74 1.65 1.65v2.47c0 .91-.74 1.65-1.65 1.65Z" }),
|
|
706
706
|
/* @__PURE__ */ e("path", { d: "M16.98 13.47c-.2 2.58-2.36 4.6-4.98 4.6-2.76 0-5-2.24-5-5v-2.14c0-2.76 2.24-5 5-5 2.59 0 4.72 1.97 4.97 4.49" }),
|
|
707
707
|
/* @__PURE__ */ e("path", { d: "M15 2h2c3 0 5 2 5 5v2M2 9V7c0-3 2-5 5-5h2M15 22h2c3 0 5-2 5-5v-2M2 15v2c0 3 2 5 5 5h2" })
|
|
708
708
|
] });
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function Ma() {
|
|
711
711
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M14.43 5.93L20.5 12l-6.07 6.07M3.5 12h16.83" }) });
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function $a() {
|
|
714
714
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
715
715
|
/* @__PURE__ */ e("path", { d: "M10.49 2.23 5.5 4.11c-1.15.43-2.09 1.79-2.09 3.01v7.43c0 1.18.78 2.73 1.73 3.44l4.3 3.21c1.41 1.06 3.73 1.06 5.14 0l4.3-3.21c.95-.71 1.73-2.26 1.73-3.44V7.12c0-1.23-.94-2.59-2.09-3.02l-4.99-1.87c-.85-.31-2.21-.31-3.04 0Z" }),
|
|
716
716
|
/* @__PURE__ */ e("path", { d: "m9.05 11.87 1.61 1.61 4.3-4.3" })
|
|
@@ -719,140 +719,140 @@ function Ma() {
|
|
|
719
719
|
function Ae() {
|
|
720
720
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5 12.5 10 17.5 19 6.5" }) });
|
|
721
721
|
}
|
|
722
|
-
function
|
|
722
|
+
function jn() {
|
|
723
723
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
724
724
|
/* @__PURE__ */ e("path", { d: "M15.58 12c0 1.98-1.6 3.58-3.58 3.58S8.42 13.98 8.42 12s1.6-3.58 3.58-3.58 3.58 1.6 3.58 3.58Z" }),
|
|
725
725
|
/* @__PURE__ */ e("path", { d: "M12 20.27c3.53 0 6.82-2.08 9.11-5.68.9-1.41.9-3.78 0-5.19-2.29-3.6-5.58-5.68-9.11-5.68-3.53 0-6.82 2.08-9.11 5.68-.9 1.41-.9 3.78 0 5.19 2.29 3.6 5.58 5.68 9.11 5.68Z" })
|
|
726
726
|
] });
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
function Vn() {
|
|
729
729
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
730
730
|
/* @__PURE__ */ e("path", { d: "m14.53 9.47-5.06 5.06a3.576 3.576 0 1 1 5.06-5.06Z" }),
|
|
731
731
|
/* @__PURE__ */ e("path", { d: "M17.82 5.77C16.07 4.45 14.07 3.73 12 3.73c-3.53 0-6.82 2.08-9.11 5.68-.9 1.41-.9 3.78 0 5.19.79 1.24 1.71 2.31 2.71 3.17M8.42 19.53c1.14.48 2.35.74 3.58.74 3.53 0 6.82-2.08 9.11-5.68.9-1.41.9-3.78 0-5.19-.33-.52-.69-1.01-1.06-1.47" }),
|
|
732
732
|
/* @__PURE__ */ e("path", { d: "M15.51 12.7a3.565 3.565 0 0 1-2.82 2.82M9.47 14.53 2 22M22 2l-7.47 7.47" })
|
|
733
733
|
] });
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function ql() {
|
|
736
736
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
737
737
|
/* @__PURE__ */ e("path", { d: "M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z" }),
|
|
738
738
|
/* @__PURE__ */ e("path", { d: "m7.75 12 2.83 2.83 5.67-5.66" })
|
|
739
739
|
] });
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function ka() {
|
|
742
742
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
743
743
|
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "4" }),
|
|
744
744
|
/* @__PURE__ */ e("path", { d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.9 7.9" })
|
|
745
745
|
] });
|
|
746
746
|
}
|
|
747
|
-
function
|
|
747
|
+
function wa() {
|
|
748
748
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M16.29 2.15H7.7C6 2.15 5.25 3 4.79 4.04L2.23 9.8c-.46 1.04-.21 2.59.56 3.43l6.86 7.54c1.3 1.42 3.42 1.42 4.71 0l6.85-7.55c.77-.85 1.02-2.39.55-3.43L19.2 4.03c-.46-1.03-1.21-1.88-2.91-1.88ZM3.5 8h17" }) });
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function Sa() {
|
|
751
751
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
752
752
|
/* @__PURE__ */ e("path", { d: "M6.7 18H4.15C2.72 18 2 17.28 2 15.85V4.15C2 2.72 2.72 2 4.15 2h4.3c1.43 0 2.15.72 2.15 2.15V6" }),
|
|
753
753
|
/* @__PURE__ */ e("path", { d: "M17.37 8.42v11.16c0 1.61-.8 2.42-2.41 2.42H9.12c-1.61 0-2.42-.81-2.42-2.42V8.42C6.7 6.81 7.51 6 9.12 6h5.84c1.61 0 2.41.81 2.41 2.42Z" }),
|
|
754
754
|
/* @__PURE__ */ e("path", { d: "M13.4 6V4.15c0-1.43.72-2.15 2.15-2.15h4.3C21.28 2 22 2.72 22 4.15v11.7c0 1.43-.72 2.15-2.15 2.15h-2.48M10 11h4M10 14h4M12 22v-3" })
|
|
755
755
|
] });
|
|
756
756
|
}
|
|
757
|
-
function
|
|
757
|
+
function Ca() {
|
|
758
758
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
759
759
|
/* @__PURE__ */ e("path", { d: "M19.79 14.93a7.575 7.575 0 0 1-7.6 1.87l-4.71 4.7c-.34.35-1.01.56-1.49.49l-2.18-.3c-.72-.1-1.39-.78-1.5-1.5l-.3-2.18c-.07-.48.16-1.15.49-1.49l4.7-4.7c-.8-2.6-.18-5.55 1.88-7.6 2.95-2.95 7.74-2.95 10.7 0 2.96 2.95 2.96 7.76.01 10.71ZM6.89 17.49l2.3 2.3" }),
|
|
760
760
|
/* @__PURE__ */ e("path", { d: "M14.5 11a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" })
|
|
761
761
|
] });
|
|
762
762
|
}
|
|
763
|
-
function
|
|
763
|
+
function Zn() {
|
|
764
764
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M21 5.98c-3.33-.33-6.68-.5-10.02-.5-1.98 0-3.96.1-5.94.3L3 5.98M8.5 4.97l.22-1.31C8.88 2.71 9 2 10.69 2h2.62c1.69 0 1.82.75 1.97 1.67l.22 1.3M18.85 9.14l-.65 10.07C18.09 20.78 18 22 15.21 22H8.79C6 22 5.91 20.78 5.8 19.21L5.15 9.14M10.33 16.5h3.33M9.5 12.5h5" }) });
|
|
765
765
|
}
|
|
766
|
-
function
|
|
766
|
+
function La() {
|
|
767
767
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "m9.02 2.84-5.39 4.2C2.73 7.74 2 9.23 2 10.36v7.41c0 2.32 1.89 4.22 4.21 4.22h11.58c2.32 0 4.21-1.9 4.21-4.21V10.5c0-1.21-.81-2.76-1.8-3.45l-6.18-4.33c-1.4-.98-3.65-.93-5 .12ZM12 17.99v-3" }) });
|
|
768
768
|
}
|
|
769
|
-
function
|
|
769
|
+
function Yl() {
|
|
770
770
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
771
771
|
/* @__PURE__ */ e("path", { d: "M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" }),
|
|
772
772
|
/* @__PURE__ */ e("path", { d: "M2 12.88v-1.76c0-1.04.85-1.9 1.9-1.9 1.81 0 2.55-1.28 1.64-2.85-.52-.9-.21-2.07.7-2.59l1.73-.99c.79-.47 1.81-.19 2.28.6l.11.19c.9 1.57 2.38 1.57 3.29 0l.11-.19c.47-.79 1.49-1.07 2.28-.6l1.73.99c.91.52 1.22 1.69.7 2.59-.91 1.57-.17 2.85 1.64 2.85 1.04 0 1.9.85 1.9 1.9v1.76c0 1.04-.85 1.9-1.9 1.9-1.81 0-2.55 1.28-1.64 2.85.52.91.21 2.07-.7 2.59l-1.73.99c-.79.47-1.81.19-2.28-.6l-.11-.19c-.9-1.57-2.38-1.57-3.29 0l-.11.19c-.47.79-1.49 1.07-2.28.6l-1.73-.99a1.899 1.899 0 0 1-.7-2.59c.91-1.57.17-2.85-1.64-2.85-1.05 0-1.9-.86-1.9-1.9Z" })
|
|
773
773
|
] });
|
|
774
774
|
}
|
|
775
|
-
function
|
|
775
|
+
function Aa() {
|
|
776
776
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
777
777
|
/* @__PURE__ */ e("path", { d: "M13 11.15H7M2 11.15V6.53c0-2.04 1.65-3.69 3.69-3.69h5.62c2.04 0 3.69 1.27 3.69 3.31" }),
|
|
778
778
|
/* @__PURE__ */ e("path", { d: "M17.48 12.2c-.5.48-.74 1.22-.54 1.98.25.93 1.17 1.52 2.13 1.52H20v1.45c0 2.21-1.79 4-4 4H6c-2.21 0-4-1.79-4-4v-7c0-2.21 1.79-4 4-4h10c2.2 0 4 1.8 4 4v1.45h-1.08c-.56 0-1.07.22-1.44.6Z" }),
|
|
779
779
|
/* @__PURE__ */ e("path", { d: "M22 12.62v2.06c0 .56-.46 1.02-1.03 1.02h-1.93c-1.08 0-2.07-.79-2.16-1.87-.06-.63.18-1.22.6-1.63.37-.38.88-.6 1.44-.6h2.05c.57 0 1.03.46 1.03 1.02Z" })
|
|
780
780
|
] });
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function Fa() {
|
|
783
783
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
784
784
|
/* @__PURE__ */ e("path", { d: "M2 8.505h20M6 16.505h2M10.5 16.505h4" }),
|
|
785
785
|
/* @__PURE__ */ e("path", { d: "M6.44 3.505h11.11c3.56 0 4.45.88 4.45 4.39v8.21c0 3.51-.89 4.39-4.44 4.39H6.44c-3.55.01-4.44-.87-4.44-4.38v-8.22c0-3.51.89-4.39 4.44-4.39Z" })
|
|
786
786
|
] });
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function Ba() {
|
|
789
789
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
790
790
|
/* @__PURE__ */ e("path", { d: "m13.26 3.6-8.21 8.69c-.31.33-.61.98-.67 1.43l-.37 3.24c-.13 1.17.71 1.97 1.87 1.77l3.22-.55c.45-.08 1.08-.41 1.39-.75l8.21-8.69c1.42-1.5 2.06-3.21-.15-5.3-2.2-2.07-3.87-1.34-5.29.16Z" }),
|
|
791
791
|
/* @__PURE__ */ e("path", { d: "M11.89 5.05a6.126 6.126 0 0 0 5.45 5.15M3 22h18" })
|
|
792
792
|
] });
|
|
793
793
|
}
|
|
794
|
-
function
|
|
794
|
+
function Ea() {
|
|
795
795
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "m7.4 6.32 8.49-2.83c3.81-1.27 5.88.81 4.62 4.62l-2.83 8.49c-1.9 5.71-5.02 5.71-6.92 0l-.84-2.52-2.52-.84c-5.71-1.9-5.71-5.01 0-6.92ZM10.11 13.65l3.58-3.59" }) });
|
|
796
796
|
}
|
|
797
|
-
function
|
|
797
|
+
function Ia() {
|
|
798
798
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
799
799
|
/* @__PURE__ */ e("path", { d: "M6 10V8c0-3.31 1-6 6-6s6 2.69 6 6v2M12 18.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z" }),
|
|
800
800
|
/* @__PURE__ */ e("path", { d: "M17 22H7c-4 0-5-1-5-5v-2c0-4 1-5 5-5h10c4 0 5 1 5 5v2c0 4-1 5-5 5Z" })
|
|
801
801
|
] });
|
|
802
802
|
}
|
|
803
|
-
function
|
|
803
|
+
function Gn() {
|
|
804
804
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
805
805
|
/* @__PURE__ */ e("path", { d: "M8 2v3M16 2v3M3.5 9.09h17M21 8.5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z" }),
|
|
806
806
|
/* @__PURE__ */ e("path", { d: "M15.695 13.7h.009M15.695 16.7h.009M11.995 13.7h.01M11.995 16.7h.01M8.294 13.7h.01M8.294 16.7h.01" })
|
|
807
807
|
] });
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function Un() {
|
|
810
810
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M19.92 15.05L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52" }) });
|
|
811
811
|
}
|
|
812
|
-
function
|
|
812
|
+
function Pa() {
|
|
813
813
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M9.32 6.5l2.56-2.56 2.56 2.56M11.88 14.18V4.01M4 12c0 4.42 3 8 8 8s8-3.58 8-8" }) });
|
|
814
814
|
}
|
|
815
|
-
function
|
|
815
|
+
function zl() {
|
|
816
816
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
817
817
|
/* @__PURE__ */ e("path", { d: "M8 12.2h7M8 16.2h4.38M10 6h4c2 0 2-1 2-2 0-2-1-2-2-2h-4C9 2 8 2 8 4s1 2 2 2Z" }),
|
|
818
818
|
/* @__PURE__ */ e("path", { d: "M16 4.02c3.33.18 5 1.41 5 5.98v6c0 4-1 6-6 6H9c-5 0-6-2-6-6v-6c0-4.56 1.67-5.8 5-5.98" })
|
|
819
819
|
] });
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function Xl() {
|
|
822
822
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
823
823
|
/* @__PURE__ */ e("path", { d: "M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z" }),
|
|
824
824
|
/* @__PURE__ */ e("path", { d: "M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8" })
|
|
825
825
|
] });
|
|
826
826
|
}
|
|
827
|
-
function
|
|
827
|
+
function Ra() {
|
|
828
828
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
829
829
|
/* @__PURE__ */ e("path", { d: "m3.989 14.66-1.52-1.52c-.62-.62-.62-1.64 0-2.26l1.52-1.52c.26-.26.47-.77.47-1.13V6.08c0-.88.72-1.6 1.6-1.6h2.15c.36 0 .87-.21 1.13-.47l1.52-1.52c.62-.62 1.64-.62 2.26 0l1.52 1.52c.26.26.77.47 1.13.47h2.15c.88 0 1.6.72 1.6 1.6v2.15c0 .36.21.87.47 1.13l1.52 1.52c.62.62.62 1.64 0 2.26l-1.52 1.52c-.26.26-.47.77-.47 1.13v2.15c0 .88-.72 1.6-1.6 1.6h-2.15c-.36 0-.87.21-1.13.47l-1.52 1.52c-.62.62-1.64.62-2.26 0l-1.52-1.52c-.26-.26-.77-.47-1.13-.47h-2.15c-.88 0-1.6-.72-1.6-1.6v-2.15c0-.37-.21-.88-.47-1.13ZM9 15l6-6" }),
|
|
830
830
|
/* @__PURE__ */ e("path", { d: "M14.495 14.5h.009M9.495 9.5h.008" })
|
|
831
831
|
] });
|
|
832
832
|
}
|
|
833
|
-
function
|
|
833
|
+
function Da() {
|
|
834
834
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
835
835
|
/* @__PURE__ */ e("path", { d: "M2 2v17c0 1.66 1.34 3 3 3h17" }),
|
|
836
836
|
/* @__PURE__ */ e("path", { d: "m5 17 4.59-5.36c.76-.88 2.11-.94 2.93-.11l.95.95c.82.82 2.17.77 2.93-.11L21 7" })
|
|
837
837
|
] });
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function Ta() {
|
|
840
840
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
841
841
|
/* @__PURE__ */ e("path", { d: "M3.01 11.22v4.49C3.01 20.2 4.81 22 9.3 22h5.39c4.49 0 6.29-1.8 6.29-6.29v-4.49" }),
|
|
842
842
|
/* @__PURE__ */ e("path", { d: "M12 12c1.83 0 3.18-1.49 3-3.32L14.34 2H9.67L9 8.68C8.82 10.51 10.17 12 12 12Z" }),
|
|
843
843
|
/* @__PURE__ */ e("path", { d: "M18.31 12c2.02 0 3.5-1.64 3.3-3.65l-.28-2.75C20.97 3 19.97 2 17.35 2H14.3l.7 7.01c.17 1.65 1.66 2.99 3.31 2.99ZM5.64 12c1.65 0 3.14-1.34 3.3-2.99l.22-2.21.48-4.8H6.59C3.97 2 2.97 3 2.61 5.6l-.27 2.75C2.14 10.36 3.62 12 5.64 12ZM12 17c-1.67 0-2.5.83-2.5 2.5V22h5v-2.5c0-1.67-.83-2.5-2.5-2.5Z" })
|
|
844
844
|
] });
|
|
845
845
|
}
|
|
846
|
-
function
|
|
846
|
+
function Wa() {
|
|
847
847
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5 10h2c2 0 3-1 3-3V5c0-2-1-3-3-3H5C3 2 2 3 2 5v2c0 2 1 3 3 3ZM17 10h2c2 0 3-1 3-3V5c0-2-1-3-3-3h-2c-2 0-3 1-3 3v2c0 2 1 3 3 3ZM17 22h2c2 0 3-1 3-3v-2c0-2-1-3-3-3h-2c-2 0-3 1-3 3v2c0 2 1 3 3 3ZM5 22h2c2 0 3-1 3-3v-2c0-2-1-3-3-3H5c-2 0-3 1-3 3v2c0 2 1 3 3 3Z" }) });
|
|
848
848
|
}
|
|
849
|
-
function
|
|
849
|
+
function Oa() {
|
|
850
850
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M11.92 22c5.5 0 10-4.5 10-10s-4.5-10-10-10-10 4.5-10 10 4.5 10 10 10ZM7.92 12h8" }) });
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function Ha() {
|
|
853
853
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M3 7h18M3 12h18M3 17h18" }) });
|
|
854
854
|
}
|
|
855
|
-
function
|
|
855
|
+
function ja() {
|
|
856
856
|
return /* @__PURE__ */ m("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
857
857
|
/* @__PURE__ */ e("path", { d: "M13 22H5c-2 0-3-1-3-3v-8c0-2 1-3 3-3h5v11c0 2 1 3 3 3ZM10.11 4c-.08.3-.11.63-.11 1v3H5V6c0-1.1.9-2 2-2h3.11ZM14 8v5M18 8v5M17 17h-2c-.55 0-1 .45-1 1v4h4v-4c0-.55-.45-1-1-1ZM6 13v4" }),
|
|
858
858
|
/* @__PURE__ */ e("path", { d: "M10 19V5c0-2 1-3 3-3h6c2 0 3 1 3 3v14c0 2-1 3-3 3h-6c-2 0-3-1-3-3Z" })
|
|
@@ -862,11 +862,11 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
862
862
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-field__labelrow${a ? " " + a : ""}`, children: [
|
|
863
863
|
/* @__PURE__ */ m("span", { className: "select-field__labelwrap", children: [
|
|
864
864
|
/* @__PURE__ */ e("label", { className: "select-field__label", htmlFor: n, children: l }),
|
|
865
|
-
c && /* @__PURE__ */ e("span", { className: "select-field__info", title: c, "aria-label": c, children: /* @__PURE__ */ e(
|
|
865
|
+
c && /* @__PURE__ */ e("span", { className: "select-field__info", title: c, "aria-label": c, children: /* @__PURE__ */ e(Jt, {}) })
|
|
866
866
|
] }),
|
|
867
867
|
s
|
|
868
868
|
] });
|
|
869
|
-
}),
|
|
869
|
+
}), Ze = R(function({ label: n, value: l, onChange: c, type: s = "text", labelAction: a, info: r, description: d, hint: o, error: i, prefix: u, suffix: h, mono: f, autoComplete: g, placeholder: v, required: x, disabled: N, readOnly: $, name: _, id: p, minLength: b, maxLength: S, min: k, max: M, step: w, inputMode: y, autoFocus: C, onBlur: L, onKeyDown: B, size: A = "md", className: F, ...E }, T) {
|
|
870
870
|
const I = te(), O = p ?? I, [W, Z] = D(!1), G = s === "password", J = G && W ? "text" : s, ie = i ? `${O}-err` : o ? `${O}-hint` : void 0, fe = u != null || h != null, Se = s === "number" && !fe && !$, ne = l === "" ? null : Number(l), H = (de) => {
|
|
871
871
|
const me = Number(w ?? 1) || 1;
|
|
872
872
|
let oe = (ne != null && Number.isFinite(ne) ? ne : 0) + de * me;
|
|
@@ -912,7 +912,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
912
912
|
className: "select-input__reveal",
|
|
913
913
|
onClick: () => Z((de) => !de),
|
|
914
914
|
"aria-label": W ? "Ocultar senha" : "Mostrar senha",
|
|
915
|
-
children: W ? /* @__PURE__ */ e(
|
|
915
|
+
children: W ? /* @__PURE__ */ e(Vn, {}) : /* @__PURE__ */ e(jn, {})
|
|
916
916
|
}
|
|
917
917
|
),
|
|
918
918
|
Se && /* @__PURE__ */ m("span", { className: "select-stepper", children: [
|
|
@@ -925,7 +925,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
925
925
|
"aria-label": "Aumentar",
|
|
926
926
|
disabled: N || z,
|
|
927
927
|
onClick: () => H(1),
|
|
928
|
-
children: /* @__PURE__ */ e(
|
|
928
|
+
children: /* @__PURE__ */ e(Un, {})
|
|
929
929
|
}
|
|
930
930
|
),
|
|
931
931
|
/* @__PURE__ */ e(
|
|
@@ -944,7 +944,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
944
944
|
] }),
|
|
945
945
|
i ? /* @__PURE__ */ e("p", { id: `${O}-err`, className: "select-field__error", children: i }) : o ? /* @__PURE__ */ e("p", { id: `${O}-hint`, className: "select-field__hint", children: o }) : null
|
|
946
946
|
] });
|
|
947
|
-
}),
|
|
947
|
+
}), Va = R(function({ label: n, checked: l, onChange: c, disabled: s, hint: a, name: r, className: d, ...o }, i) {
|
|
948
948
|
return /* @__PURE__ */ m("span", { ref: i, ...o, className: `select-checkbox-field${s ? " select-checkbox-field--disabled" : ""}${d ? " " + d : ""}`, children: [
|
|
949
949
|
/* @__PURE__ */ m("label", { className: "select-checkbox", children: [
|
|
950
950
|
/* @__PURE__ */ e(
|
|
@@ -962,7 +962,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
962
962
|
] }),
|
|
963
963
|
a && /* @__PURE__ */ e("span", { className: "select-checkbox__hint", children: a })
|
|
964
964
|
] });
|
|
965
|
-
}),
|
|
965
|
+
}), Za = R(function({ label: n, value: l, onChange: c, labelAction: s, info: a, description: r, hint: d, error: o, placeholder: i, rows: u = 4, mono: h, name: f, required: g, disabled: v, maxLength: x, onBlur: N, size: $ = "md", className: _, ...p }, b) {
|
|
966
966
|
const S = te(), k = o ? `${S}-err` : d ? `${S}-hint` : void 0;
|
|
967
967
|
return /* @__PURE__ */ m("div", { ref: b, ...p, className: `select-field${$ === "sm" ? " select-field--sm" : ""}${_ ? " " + _ : ""}`, children: [
|
|
968
968
|
(n || a || s) && /* @__PURE__ */ e(lt, { htmlFor: S, label: n, info: a, action: s }),
|
|
@@ -987,7 +987,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
987
987
|
),
|
|
988
988
|
o ? /* @__PURE__ */ e("p", { id: `${S}-err`, className: "select-field__error", children: o }) : d ? /* @__PURE__ */ e("p", { id: `${S}-hint`, className: "select-field__hint", children: d }) : null
|
|
989
989
|
] });
|
|
990
|
-
}),
|
|
990
|
+
}), Ga = R(function({ label: n, value: l, onChange: c, unit: s, info: a, hint: r, error: d, placeholder: o = "0", disabled: i = !1, min: u, max: h, className: f, ...g }, v) {
|
|
991
991
|
const x = te();
|
|
992
992
|
return /* @__PURE__ */ m("div", { ref: v, ...g, className: `select-field${f ? " " + f : ""}`, children: [
|
|
993
993
|
n && /* @__PURE__ */ e(lt, { htmlFor: x, label: n, info: a }),
|
|
@@ -1011,10 +1011,10 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
1011
1011
|
] }),
|
|
1012
1012
|
d ? /* @__PURE__ */ e("p", { className: "select-field__error", children: d }) : r ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: r }) : null
|
|
1013
1013
|
] });
|
|
1014
|
-
}),
|
|
1014
|
+
}), Kl = new Intl.NumberFormat("pt-BR", {
|
|
1015
1015
|
minimumFractionDigits: 2,
|
|
1016
1016
|
maximumFractionDigits: 2
|
|
1017
|
-
}),
|
|
1017
|
+
}), Ua = R(function({ label: n, value: l, onChange: c, info: s, hint: a, error: r, onBlur: d, placeholder: o = "0,00", name: i, disabled: u = !1, size: h = "md", className: f, ...g }, v) {
|
|
1018
1018
|
const x = te();
|
|
1019
1019
|
return /* @__PURE__ */ m("div", { ref: v, ...g, className: `select-field${h === "sm" ? " select-field--sm" : ""}${f ? " " + f : ""}`, children: [
|
|
1020
1020
|
n && /* @__PURE__ */ e(lt, { htmlFor: x, label: n, info: s }),
|
|
@@ -1034,7 +1034,7 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
1034
1034
|
autoComplete: "off",
|
|
1035
1035
|
name: i,
|
|
1036
1036
|
disabled: u,
|
|
1037
|
-
value: l == null ? "" :
|
|
1037
|
+
value: l == null ? "" : Kl.format(l / 100),
|
|
1038
1038
|
placeholder: o,
|
|
1039
1039
|
onChange: (N) => {
|
|
1040
1040
|
const $ = N.target.value.replace(/\D/g, "");
|
|
@@ -1050,18 +1050,18 @@ const lt = R(function({ htmlFor: n, label: l, info: c, action: s, className: a,
|
|
|
1050
1050
|
r ? /* @__PURE__ */ e("p", { className: "select-field__error", children: r }) : a ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: a }) : null
|
|
1051
1051
|
] });
|
|
1052
1052
|
});
|
|
1053
|
-
function
|
|
1053
|
+
function Qt(t) {
|
|
1054
1054
|
return (t ?? "").replace(/\D/g, "");
|
|
1055
1055
|
}
|
|
1056
|
-
function
|
|
1057
|
-
const n =
|
|
1056
|
+
function Jl(t) {
|
|
1057
|
+
const n = Qt(t);
|
|
1058
1058
|
return n.length === 11 ? "CPF" : n.length === 14 ? "CNPJ" : "";
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1061
|
-
const n =
|
|
1060
|
+
function Ql(t) {
|
|
1061
|
+
const n = Qt(t).slice(0, 14);
|
|
1062
1062
|
return n.length <= 11 ? n.replace(/^(\d{3})(\d)/, "$1.$2").replace(/^(\d{3})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1-$2") : n.replace(/^(\d{2})(\d)/, "$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1/$2").replace(/(\d{4})(\d)/, "$1-$2");
|
|
1063
1063
|
}
|
|
1064
|
-
function
|
|
1064
|
+
function qa({
|
|
1065
1065
|
label: t = "CPF/CNPJ",
|
|
1066
1066
|
value: n,
|
|
1067
1067
|
onChange: l,
|
|
@@ -1071,13 +1071,13 @@ function Ua({
|
|
|
1071
1071
|
required: r,
|
|
1072
1072
|
name: d
|
|
1073
1073
|
}) {
|
|
1074
|
-
const o =
|
|
1074
|
+
const o = Jl(n);
|
|
1075
1075
|
return /* @__PURE__ */ e(
|
|
1076
|
-
|
|
1076
|
+
Ze,
|
|
1077
1077
|
{
|
|
1078
1078
|
label: t,
|
|
1079
|
-
value:
|
|
1080
|
-
onChange: (i) => l(
|
|
1079
|
+
value: Ql(n),
|
|
1080
|
+
onChange: (i) => l(Qt(i)),
|
|
1081
1081
|
inputMode: "numeric",
|
|
1082
1082
|
autoComplete: "off",
|
|
1083
1083
|
maxLength: 18,
|
|
@@ -1108,7 +1108,7 @@ const ht = R(function({ children: n, tone: l = "critical", title: c, className:
|
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
) : /* @__PURE__ */ m("span", { className: "select-filetile__doc", children: [
|
|
1111
|
-
/* @__PURE__ */ e(
|
|
1111
|
+
/* @__PURE__ */ e(Xl, {}),
|
|
1112
1112
|
/* @__PURE__ */ e("span", { children: l ?? "FILE" })
|
|
1113
1113
|
] }),
|
|
1114
1114
|
a && /* @__PURE__ */ e("span", { className: "select-filetile__badge", children: a }),
|
|
@@ -1127,10 +1127,10 @@ const ht = R(function({ children: n, tone: l = "critical", title: c, className:
|
|
|
1127
1127
|
s && /* @__PURE__ */ e("span", { className: "select-filetile__size", children: s })
|
|
1128
1128
|
] });
|
|
1129
1129
|
});
|
|
1130
|
-
function
|
|
1130
|
+
function qn(t) {
|
|
1131
1131
|
return t < 1024 ? `${t} B` : t < 1024 * 1024 ? `${(t / 1024).toFixed(0)} KB` : `${(t / (1024 * 1024)).toFixed(1)} MB`;
|
|
1132
1132
|
}
|
|
1133
|
-
function
|
|
1133
|
+
function Yn(t, n) {
|
|
1134
1134
|
if (!n) return !0;
|
|
1135
1135
|
const l = t.name.toLowerCase(), c = t.type.toLowerCase();
|
|
1136
1136
|
return n.split(",").some((s) => {
|
|
@@ -1138,21 +1138,21 @@ function zn(t, n) {
|
|
|
1138
1138
|
return a ? a.startsWith(".") ? l.endsWith(a) : a.endsWith("/*") ? c.startsWith(a.slice(0, -1)) : c === a : !1;
|
|
1139
1139
|
});
|
|
1140
1140
|
}
|
|
1141
|
-
const
|
|
1142
|
-
function
|
|
1141
|
+
const zn = (t) => t.type.startsWith("image/");
|
|
1142
|
+
function Xn(t) {
|
|
1143
1143
|
const n = t.split(".");
|
|
1144
1144
|
return n.length > 1 ? n.pop().toUpperCase() : "FILE";
|
|
1145
1145
|
}
|
|
1146
|
-
const
|
|
1147
|
-
function
|
|
1146
|
+
const Kn = /^https?:\/\/.+/i;
|
|
1147
|
+
function Jn(t) {
|
|
1148
1148
|
try {
|
|
1149
1149
|
return new URL(t).hostname;
|
|
1150
1150
|
} catch {
|
|
1151
1151
|
return t;
|
|
1152
1152
|
}
|
|
1153
1153
|
}
|
|
1154
|
-
const
|
|
1155
|
-
const h = q(null), [f, g] = D(!1), [v, x] = D(0), N = s * 1024 * 1024, $ = xe(() => n.map((C) =>
|
|
1154
|
+
const Ya = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, allowMultiple: a = !0, maxFiles: r, hint: d, className: o, ...i }, u) {
|
|
1155
|
+
const h = q(null), [f, g] = D(!1), [v, x] = D(0), N = s * 1024 * 1024, $ = xe(() => n.map((C) => zn(C) ? URL.createObjectURL(C) : null), [n]);
|
|
1156
1156
|
le(
|
|
1157
1157
|
() => () => {
|
|
1158
1158
|
$.forEach((C) => {
|
|
@@ -1163,7 +1163,7 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1163
1163
|
);
|
|
1164
1164
|
const _ = Te(
|
|
1165
1165
|
(C) => {
|
|
1166
|
-
const L = C.filter((B) => B.size <= N &&
|
|
1166
|
+
const L = C.filter((B) => B.size <= N && Yn(B, c));
|
|
1167
1167
|
if (x(C.length - L.length), L.length) {
|
|
1168
1168
|
const B = a ? [...n, ...L] : L.slice(0, 1);
|
|
1169
1169
|
l(r != null ? B.slice(0, r) : B);
|
|
@@ -1188,9 +1188,9 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1188
1188
|
wt,
|
|
1189
1189
|
{
|
|
1190
1190
|
src: $[L] ?? void 0,
|
|
1191
|
-
docExt:
|
|
1191
|
+
docExt: Xn(C.name),
|
|
1192
1192
|
name: C.name,
|
|
1193
|
-
sub:
|
|
1193
|
+
sub: qn(C.size),
|
|
1194
1194
|
onRemove: () => k(L)
|
|
1195
1195
|
},
|
|
1196
1196
|
`${C.name}-${L}`
|
|
@@ -1242,16 +1242,16 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1242
1242
|
" MB."
|
|
1243
1243
|
] })
|
|
1244
1244
|
] });
|
|
1245
|
-
}),
|
|
1245
|
+
}), ec = R(function({ children: n, onClick: l, icon: c, className: s, ...a }, r) {
|
|
1246
1246
|
return /* @__PURE__ */ m("button", { ref: r, ...a, type: "button", className: `select-addbtn${s ? " " + s : ""}`, onClick: l, children: [
|
|
1247
1247
|
/* @__PURE__ */ e("span", { className: "select-addbtn__icon", "aria-hidden": "true", children: c ?? /* @__PURE__ */ e(nt, {}) }),
|
|
1248
1248
|
n
|
|
1249
1249
|
] });
|
|
1250
|
-
}),
|
|
1250
|
+
}), za = R(function({ label: n, urls: l, onChange: c, maxUrls: s, placeholder: a, helpText: r, className: d, ...o }, i) {
|
|
1251
1251
|
const [u, h] = D(""), [f, g] = D(null), v = s != null && l.length >= s, x = () => {
|
|
1252
1252
|
const _ = u.trim();
|
|
1253
1253
|
if (_) {
|
|
1254
|
-
if (!
|
|
1254
|
+
if (!Kn.test(_)) {
|
|
1255
1255
|
g("Insira uma URL válida (https://…).");
|
|
1256
1256
|
return;
|
|
1257
1257
|
}
|
|
@@ -1266,10 +1266,10 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1266
1266
|
}, $ = (_) => c(l.filter((p, b) => b !== _));
|
|
1267
1267
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-field${d ? " " + d : ""}`, children: [
|
|
1268
1268
|
n && /* @__PURE__ */ e("span", { className: "select-field__label", children: n }),
|
|
1269
|
-
l.length > 0 && /* @__PURE__ */ e("div", { className: "select-filetile-grid", children: l.map((_, p) => /* @__PURE__ */ e(wt, { src: _, name:
|
|
1269
|
+
l.length > 0 && /* @__PURE__ */ e("div", { className: "select-filetile-grid", children: l.map((_, p) => /* @__PURE__ */ e(wt, { src: _, name: Jn(_), onRemove: () => $(p) }, `${_}-${p}`)) }),
|
|
1270
1270
|
!v && /* @__PURE__ */ m(ae, { children: [
|
|
1271
1271
|
/* @__PURE__ */ e(
|
|
1272
|
-
|
|
1272
|
+
Ze,
|
|
1273
1273
|
{
|
|
1274
1274
|
size: "sm",
|
|
1275
1275
|
value: u,
|
|
@@ -1284,12 +1284,12 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1284
1284
|
autoComplete: "off"
|
|
1285
1285
|
}
|
|
1286
1286
|
),
|
|
1287
|
-
/* @__PURE__ */ e(
|
|
1287
|
+
/* @__PURE__ */ e(ec, { onClick: x, children: "Adicionar URL" })
|
|
1288
1288
|
] }),
|
|
1289
1289
|
r != null && !f && /* @__PURE__ */ e("p", { className: "select-field__hint", children: r })
|
|
1290
1290
|
] });
|
|
1291
|
-
}),
|
|
1292
|
-
const $ = l === "single", _ = q(null), [p, b] = D(!1), [S, k] = D(0), [M, w] = D(""), [y, C] = D(null), L = $ ? 1 : Math.max(1, i), B = $ ? 1 : u ?? L, A = c.length + a.length, F = $ ? A === 0 : A < L && c.length < B, E = $ ? A === 0 : A < L, T = A > 0, I = o * 1024 * 1024, O = xe(() => c.map((H) =>
|
|
1291
|
+
}), tc = R(function({ label: n, mode: l = "multiple", files: c, onFilesChange: s, urls: a, onUrlsChange: r, accept: d = ".jpg,.jpeg,.png,.webp", maxSizeMB: o = 3, maxItems: i = 10, maxFiles: u, uploadHint: h, urlPlaceholder: f, helpText: g, className: v, ...x }, N) {
|
|
1292
|
+
const $ = l === "single", _ = q(null), [p, b] = D(!1), [S, k] = D(0), [M, w] = D(""), [y, C] = D(null), L = $ ? 1 : Math.max(1, i), B = $ ? 1 : u ?? L, A = c.length + a.length, F = $ ? A === 0 : A < L && c.length < B, E = $ ? A === 0 : A < L, T = A > 0, I = o * 1024 * 1024, O = xe(() => c.map((H) => zn(H) ? URL.createObjectURL(H) : null), [c]);
|
|
1293
1293
|
le(
|
|
1294
1294
|
() => () => {
|
|
1295
1295
|
O.forEach((H) => {
|
|
@@ -1299,7 +1299,7 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1299
1299
|
[O]
|
|
1300
1300
|
);
|
|
1301
1301
|
const W = (H) => {
|
|
1302
|
-
const Q = H.filter((de) => de.size <= I &&
|
|
1302
|
+
const Q = H.filter((de) => de.size <= I && Yn(de, d));
|
|
1303
1303
|
if (k(H.length - Q.length), !Q.length) return;
|
|
1304
1304
|
if ($) {
|
|
1305
1305
|
r([]), s(Q.slice(0, 1));
|
|
@@ -1310,7 +1310,7 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1310
1310
|
}, Z = () => {
|
|
1311
1311
|
const H = M.trim();
|
|
1312
1312
|
if (H) {
|
|
1313
|
-
if (!
|
|
1313
|
+
if (!Kn.test(H)) {
|
|
1314
1314
|
C("Insira uma URL válida (https://…).");
|
|
1315
1315
|
return;
|
|
1316
1316
|
}
|
|
@@ -1346,14 +1346,14 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1346
1346
|
wt,
|
|
1347
1347
|
{
|
|
1348
1348
|
src: O[Q] ?? void 0,
|
|
1349
|
-
docExt:
|
|
1349
|
+
docExt: Xn(H.name),
|
|
1350
1350
|
name: H.name,
|
|
1351
|
-
sub:
|
|
1351
|
+
sub: qn(H.size),
|
|
1352
1352
|
onRemove: () => J(Q)
|
|
1353
1353
|
},
|
|
1354
1354
|
`f-${H.name}-${Q}`
|
|
1355
1355
|
)),
|
|
1356
|
-
a.map((H, Q) => /* @__PURE__ */ e(wt, { src: H, name:
|
|
1356
|
+
a.map((H, Q) => /* @__PURE__ */ e(wt, { src: H, name: Jn(H), onRemove: () => ie(Q) }, `u-${H}-${Q}`)),
|
|
1357
1357
|
F && /* @__PURE__ */ m("button", { type: "button", className: "select-dropzone select-dropzone--tile", onClick: fe, children: [
|
|
1358
1358
|
/* @__PURE__ */ e(kt, {}),
|
|
1359
1359
|
/* @__PURE__ */ e("span", { children: "Adicionar" })
|
|
@@ -1364,9 +1364,9 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1364
1364
|
/* @__PURE__ */ e("span", { children: h ?? `Arraste ou selecione um arquivo · até ${o} MB` })
|
|
1365
1365
|
] }),
|
|
1366
1366
|
E && /* @__PURE__ */ m("div", { className: "select-uploadzone__url", children: [
|
|
1367
|
-
/* @__PURE__ */ e(
|
|
1367
|
+
/* @__PURE__ */ e(Wl, {}),
|
|
1368
1368
|
/* @__PURE__ */ e("div", { className: "select-uploadzone__urlfield", children: /* @__PURE__ */ e(
|
|
1369
|
-
|
|
1369
|
+
Ze,
|
|
1370
1370
|
{
|
|
1371
1371
|
size: "sm",
|
|
1372
1372
|
value: M,
|
|
@@ -1405,13 +1405,13 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1405
1405
|
] }),
|
|
1406
1406
|
g != null && /* @__PURE__ */ e("p", { className: "select-field__hint", children: g })
|
|
1407
1407
|
] });
|
|
1408
|
-
}),
|
|
1408
|
+
}), jt = R(function({ label: n, value: l, onChange: c, options: s, labelAction: a, info: r, description: d, hint: o, error: i, placeholder: u, name: h, required: f, disabled: g, size: v = "md", className: x, ...N }, $) {
|
|
1409
1409
|
const _ = te(), p = i ? `${_}-err` : o ? `${_}-hint` : void 0;
|
|
1410
1410
|
return /* @__PURE__ */ m("div", { ref: $, ...N, className: `select-field${v === "sm" ? " select-field--sm" : ""}${x ? " " + x : ""}`, children: [
|
|
1411
1411
|
(n || r || a) && /* @__PURE__ */ m("div", { className: "select-field__labelrow", children: [
|
|
1412
1412
|
/* @__PURE__ */ m("span", { className: "select-field__labelwrap", children: [
|
|
1413
1413
|
n && /* @__PURE__ */ e("label", { className: "select-field__label", htmlFor: _, children: n }),
|
|
1414
|
-
r && /* @__PURE__ */ e("span", { className: "select-field__info", title: r, "aria-label": r, children: /* @__PURE__ */ e(
|
|
1414
|
+
r && /* @__PURE__ */ e("span", { className: "select-field__info", title: r, "aria-label": r, children: /* @__PURE__ */ e(Jt, {}) })
|
|
1415
1415
|
] }),
|
|
1416
1416
|
a
|
|
1417
1417
|
] }),
|
|
@@ -1439,9 +1439,14 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1439
1439
|
] }),
|
|
1440
1440
|
i ? /* @__PURE__ */ e("p", { id: `${_}-err`, className: "select-field__error", children: i }) : o ? /* @__PURE__ */ e("p", { id: `${_}-hint`, className: "select-field__hint", children: o }) : null
|
|
1441
1441
|
] });
|
|
1442
|
-
}),
|
|
1442
|
+
}), nc = R(function({ children: n, columns: l = 2, className: c, ...s }, a) {
|
|
1443
1443
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-fieldgrid select-fieldgrid--${l}${c ? " " + c : ""}`, children: n });
|
|
1444
|
-
}),
|
|
1444
|
+
}), lc = (t) => t.replace(/\D/g, "");
|
|
1445
|
+
function cc(t) {
|
|
1446
|
+
const n = t.replace(/[^\d-]/g, ""), [l = "", ...c] = n.split("-");
|
|
1447
|
+
return c.length ? `${l}-${c.join("").replace(/\D/g, "").slice(0, 2)}` : l;
|
|
1448
|
+
}
|
|
1449
|
+
const Xa = R(function({ value: n, onChange: l, banks: c = [], showType: s = !1, error: a, className: r, ...d }, o) {
|
|
1445
1450
|
const i = (h) => l({ ...n, ...h }), u = [
|
|
1446
1451
|
{ label: "Selecione o banco", value: "" },
|
|
1447
1452
|
// `name` already reads "001 - Banco do Brasil S.A." (code + bank name), so show it alone —
|
|
@@ -1450,7 +1455,7 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1450
1455
|
];
|
|
1451
1456
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-stack${r ? " " + r : ""}`, children: [
|
|
1452
1457
|
/* @__PURE__ */ e(
|
|
1453
|
-
|
|
1458
|
+
jt,
|
|
1454
1459
|
{
|
|
1455
1460
|
label: "Banco",
|
|
1456
1461
|
options: u,
|
|
@@ -1459,13 +1464,22 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1459
1464
|
error: a
|
|
1460
1465
|
}
|
|
1461
1466
|
),
|
|
1462
|
-
/* @__PURE__ */ m(
|
|
1463
|
-
/* @__PURE__ */ e(
|
|
1464
|
-
/* @__PURE__ */ e(
|
|
1465
|
-
|
|
1467
|
+
/* @__PURE__ */ m(nc, { columns: 2, children: [
|
|
1468
|
+
/* @__PURE__ */ e(Ze, { label: "Agência", value: n.agency, onChange: (h) => i({ agency: lc(h) }), inputMode: "numeric", maxLength: 6 }),
|
|
1469
|
+
/* @__PURE__ */ e(
|
|
1470
|
+
Ze,
|
|
1471
|
+
{
|
|
1472
|
+
label: "Conta (com dígito)",
|
|
1473
|
+
value: n.account,
|
|
1474
|
+
onChange: (h) => i({ account: cc(h) }),
|
|
1475
|
+
inputMode: "numeric",
|
|
1476
|
+
maxLength: 16,
|
|
1477
|
+
placeholder: "Ex: 9288-1"
|
|
1478
|
+
}
|
|
1479
|
+
)
|
|
1466
1480
|
] }),
|
|
1467
1481
|
s && /* @__PURE__ */ e(
|
|
1468
|
-
|
|
1482
|
+
jt,
|
|
1469
1483
|
{
|
|
1470
1484
|
label: "Tipo de conta",
|
|
1471
1485
|
options: [
|
|
@@ -1477,26 +1491,26 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1477
1491
|
}
|
|
1478
1492
|
)
|
|
1479
1493
|
] });
|
|
1480
|
-
}),
|
|
1494
|
+
}), en = R(function({ checked: n, onChange: l, disabled: c = !1, label: s, className: a, ...r }, d) {
|
|
1481
1495
|
return /* @__PURE__ */ e("button", { ref: d, ...r, type: "button", role: "switch", "aria-checked": n, "aria-label": s, disabled: c, className: `select-switch${n ? " select-switch--on" : ""}${a ? " " + a : ""}`, onClick: () => l(!n), children: /* @__PURE__ */ e("span", { className: "select-switch__knob", "aria-hidden": "true" }) });
|
|
1482
|
-
}),
|
|
1496
|
+
}), Ka = R(function({ children: n, scroll: l = !1, className: c, ...s }, a) {
|
|
1483
1497
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-togglelist${l ? " select-togglelist--scroll" : ""}${c ? " " + c : ""}`, children: n });
|
|
1484
|
-
}),
|
|
1498
|
+
}), Ja = R(function({ icon: n, label: l, checked: c, onChange: s, disabled: a = !1, className: r, ...d }, o) {
|
|
1485
1499
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-togglerow${a ? " select-togglerow--disabled" : ""}${r ? " " + r : ""}`, children: [
|
|
1486
1500
|
n && /* @__PURE__ */ e("span", { className: "select-togglerow__icon", children: n }),
|
|
1487
1501
|
/* @__PURE__ */ e("span", { className: "select-togglerow__label", children: l }),
|
|
1488
|
-
/* @__PURE__ */ e(
|
|
1502
|
+
/* @__PURE__ */ e(en, { checked: c, onChange: s, disabled: a, label: typeof l == "string" ? l : void 0 })
|
|
1489
1503
|
] });
|
|
1490
|
-
}),
|
|
1504
|
+
}), Qa = R(function({ icon: n, title: l, checked: c, onChange: s, children: a, disabled: r = !1, className: d, ...o }, i) {
|
|
1491
1505
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-togglepanel${c ? " is-on" : ""}${d ? " " + d : ""}`, children: [
|
|
1492
1506
|
/* @__PURE__ */ m("div", { className: "select-togglepanel__header", children: [
|
|
1493
|
-
/* @__PURE__ */ e(
|
|
1507
|
+
/* @__PURE__ */ e(en, { checked: c, onChange: s, disabled: r, label: typeof l == "string" ? l : void 0 }),
|
|
1494
1508
|
n && /* @__PURE__ */ e("span", { className: "select-togglepanel__icon", children: n }),
|
|
1495
1509
|
/* @__PURE__ */ e("span", { className: "select-togglepanel__title", children: l })
|
|
1496
1510
|
] }),
|
|
1497
1511
|
a && /* @__PURE__ */ e("div", { className: "select-togglepanel__bodywrap", children: /* @__PURE__ */ e("div", { className: "select-togglepanel__bodyclip", "aria-hidden": !c, children: /* @__PURE__ */ e("div", { className: "select-togglepanel__body", children: a }) }) })
|
|
1498
1512
|
] });
|
|
1499
|
-
}),
|
|
1513
|
+
}), sc = {
|
|
1500
1514
|
BR: /* @__PURE__ */ m(ae, { children: [
|
|
1501
1515
|
/* @__PURE__ */ e("rect", { width: "20", height: "14", fill: "#009B3A" }),
|
|
1502
1516
|
/* @__PURE__ */ e("path", { d: "M10 1.6 18.2 7 10 12.4 1.8 7Z", fill: "#FEDF00" }),
|
|
@@ -1537,14 +1551,14 @@ const qa = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1537
1551
|
/* @__PURE__ */ e("path", { d: "M10 0v14M0 7h20", stroke: "#C8102E", strokeWidth: "2.6" })
|
|
1538
1552
|
] })
|
|
1539
1553
|
};
|
|
1540
|
-
function
|
|
1541
|
-
const n =
|
|
1554
|
+
function ac({ iso: t }) {
|
|
1555
|
+
const n = sc[t];
|
|
1542
1556
|
return n ? /* @__PURE__ */ m("svg", { className: "select-phone__flag", viewBox: "0 0 20 14", "aria-hidden": "true", focusable: "false", children: [
|
|
1543
1557
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: `flag-${t}`, children: /* @__PURE__ */ e("rect", { width: "20", height: "14", rx: "2" }) }) }),
|
|
1544
1558
|
/* @__PURE__ */ e("g", { clipPath: `url(#flag-${t})`, children: n })
|
|
1545
1559
|
] }) : /* @__PURE__ */ e("span", { className: "select-phone__flagfallback", "aria-hidden": "true", children: t });
|
|
1546
1560
|
}
|
|
1547
|
-
const
|
|
1561
|
+
const tn = {
|
|
1548
1562
|
US: "(###) ###-####",
|
|
1549
1563
|
// 10 digits
|
|
1550
1564
|
MX: "## #### ####",
|
|
@@ -1558,12 +1572,12 @@ const nn = {
|
|
|
1558
1572
|
GB: "##### ######"
|
|
1559
1573
|
// 11 digits (mobile, with trunk 0)
|
|
1560
1574
|
};
|
|
1561
|
-
function
|
|
1575
|
+
function oc(t) {
|
|
1562
1576
|
let n = 0;
|
|
1563
1577
|
for (const l of t) l === "#" && (n += 1);
|
|
1564
1578
|
return n;
|
|
1565
1579
|
}
|
|
1566
|
-
function
|
|
1580
|
+
function rc(t, n) {
|
|
1567
1581
|
let l = "", c = 0;
|
|
1568
1582
|
for (const s of t) {
|
|
1569
1583
|
if (c >= n.length) break;
|
|
@@ -1571,33 +1585,33 @@ function oc(t, n) {
|
|
|
1571
1585
|
}
|
|
1572
1586
|
return c < n.length && (l += n.slice(c)), l;
|
|
1573
1587
|
}
|
|
1574
|
-
function
|
|
1588
|
+
function ic(t) {
|
|
1575
1589
|
if (t === "BR") return 11;
|
|
1576
|
-
const n =
|
|
1577
|
-
return n ?
|
|
1590
|
+
const n = tn[t];
|
|
1591
|
+
return n ? oc(n) : 15;
|
|
1578
1592
|
}
|
|
1579
|
-
function
|
|
1593
|
+
function dc(t) {
|
|
1580
1594
|
return (t ?? "").replace(/\D/g, "").slice(0, 11);
|
|
1581
1595
|
}
|
|
1582
|
-
function
|
|
1583
|
-
return (n ?? "").replace(/\D/g, "").slice(0,
|
|
1596
|
+
function Qn(t, n) {
|
|
1597
|
+
return (n ?? "").replace(/\D/g, "").slice(0, ic(t));
|
|
1584
1598
|
}
|
|
1585
|
-
function
|
|
1586
|
-
const n =
|
|
1599
|
+
function hc(t) {
|
|
1600
|
+
const n = dc(t);
|
|
1587
1601
|
return n.length === 0 ? "" : n.length <= 2 ? `(${n}` : n.length <= 6 ? `(${n.slice(0, 2)}) ${n.slice(2)}` : n.length <= 10 ? `(${n.slice(0, 2)}) ${n.slice(2, 6)}-${n.slice(6)}` : `(${n.slice(0, 2)}) ${n.slice(2, 7)}-${n.slice(7)}`;
|
|
1588
1602
|
}
|
|
1589
|
-
function
|
|
1590
|
-
const l =
|
|
1591
|
-
if (t === "BR") return
|
|
1592
|
-
const c =
|
|
1593
|
-
return c ?
|
|
1603
|
+
function uc(t, n) {
|
|
1604
|
+
const l = Qn(t, n);
|
|
1605
|
+
if (t === "BR") return hc(l);
|
|
1606
|
+
const c = tn[t];
|
|
1607
|
+
return c ? rc(c, l) : l;
|
|
1594
1608
|
}
|
|
1595
|
-
function
|
|
1609
|
+
function pc(t) {
|
|
1596
1610
|
if (t === "BR") return "(00) 00000-0000";
|
|
1597
|
-
const n =
|
|
1611
|
+
const n = tn[t];
|
|
1598
1612
|
return n ? n.replace(/#/g, "0") : "";
|
|
1599
1613
|
}
|
|
1600
|
-
const
|
|
1614
|
+
const el = [
|
|
1601
1615
|
{ iso: "BR", dial: "+55", flag: "🇧🇷", name: "Brasil" },
|
|
1602
1616
|
{ iso: "US", dial: "+1", flag: "🇺🇸", name: "Estados Unidos" },
|
|
1603
1617
|
{ iso: "PT", dial: "+351", flag: "🇵🇹", name: "Portugal" },
|
|
@@ -1606,12 +1620,12 @@ const tl = [
|
|
|
1606
1620
|
{ iso: "ES", dial: "+34", flag: "🇪🇸", name: "Espanha" },
|
|
1607
1621
|
{ iso: "GB", dial: "+44", flag: "🇬🇧", name: "Reino Unido" }
|
|
1608
1622
|
];
|
|
1609
|
-
function
|
|
1623
|
+
function mc(t) {
|
|
1610
1624
|
var n;
|
|
1611
|
-
return ((n =
|
|
1625
|
+
return ((n = el.find((l) => l.iso === t)) == null ? void 0 : n.dial) ?? "";
|
|
1612
1626
|
}
|
|
1613
|
-
const
|
|
1614
|
-
const f = te(), g =
|
|
1627
|
+
const e1 = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a, error: r, onBlur: d, placeholder: o, className: i, ...u }, h) {
|
|
1628
|
+
const f = te(), g = mc(l.country), v = r ? `${f}-err` : a ? `${f}-hint` : void 0;
|
|
1615
1629
|
return /* @__PURE__ */ m("div", { ref: h, ...u, className: `select-field${i ? " " + i : ""}`, children: [
|
|
1616
1630
|
/* @__PURE__ */ m("div", { className: "select-field__labelrow", children: [
|
|
1617
1631
|
/* @__PURE__ */ e("label", { className: "select-field__label", htmlFor: f, children: n }),
|
|
@@ -1620,7 +1634,7 @@ const Qa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1620
1634
|
/* @__PURE__ */ m("div", { className: `select-phone${r ? " select-phone--error" : ""}`, children: [
|
|
1621
1635
|
/* @__PURE__ */ m("div", { className: "select-phone__country", children: [
|
|
1622
1636
|
/* @__PURE__ */ m("span", { className: "select-phone__dial", children: [
|
|
1623
|
-
/* @__PURE__ */ e(
|
|
1637
|
+
/* @__PURE__ */ e(ac, { iso: l.country }),
|
|
1624
1638
|
" ",
|
|
1625
1639
|
g
|
|
1626
1640
|
] }),
|
|
@@ -1632,7 +1646,7 @@ const Qa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1632
1646
|
value: l.country,
|
|
1633
1647
|
onChange: (x) => c({ ...l, country: x.target.value }),
|
|
1634
1648
|
"aria-label": "País",
|
|
1635
|
-
children:
|
|
1649
|
+
children: el.map((x) => /* @__PURE__ */ m("option", { value: x.iso, children: [
|
|
1636
1650
|
x.name,
|
|
1637
1651
|
" (",
|
|
1638
1652
|
x.dial,
|
|
@@ -1649,9 +1663,9 @@ const Qa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1649
1663
|
type: "tel",
|
|
1650
1664
|
inputMode: "tel",
|
|
1651
1665
|
autoComplete: "tel-national",
|
|
1652
|
-
value:
|
|
1653
|
-
placeholder: o ??
|
|
1654
|
-
onChange: (x) => c({ ...l, number:
|
|
1666
|
+
value: uc(l.country, l.number),
|
|
1667
|
+
placeholder: o ?? pc(l.country),
|
|
1668
|
+
onChange: (x) => c({ ...l, number: Qn(l.country, x.target.value) }),
|
|
1655
1669
|
onBlur: d,
|
|
1656
1670
|
"aria-invalid": r ? !0 : void 0,
|
|
1657
1671
|
"aria-describedby": v
|
|
@@ -1660,7 +1674,7 @@ const Qa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1660
1674
|
] }),
|
|
1661
1675
|
r ? /* @__PURE__ */ e("p", { id: `${f}-err`, className: "select-field__error", children: r }) : a ? /* @__PURE__ */ e("p", { id: `${f}-hint`, className: "select-field__hint", children: a }) : null
|
|
1662
1676
|
] });
|
|
1663
|
-
}),
|
|
1677
|
+
}), t1 = R(function({ value: n, onChange: l, options: c, name: s, className: a, ...r }, d) {
|
|
1664
1678
|
const o = te(), i = s ?? o;
|
|
1665
1679
|
return /* @__PURE__ */ e("div", { ref: d, ...r, className: `select-radiogroup${a ? " " + a : ""}`, role: "radiogroup", children: c.map((u) => {
|
|
1666
1680
|
const h = u.value === n;
|
|
@@ -1692,7 +1706,7 @@ const Qa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1692
1706
|
u.value
|
|
1693
1707
|
);
|
|
1694
1708
|
}) });
|
|
1695
|
-
}),
|
|
1709
|
+
}), n1 = R(function({ value: n, onChange: l, options: c, ariaLabel: s, fullWidth: a = !1, className: r, ...d }, o) {
|
|
1696
1710
|
const i = Math.max(0, c.findIndex((v) => v.value === n)), u = q([]), [h, f] = D(null);
|
|
1697
1711
|
Be(() => {
|
|
1698
1712
|
const v = u.current[i];
|
|
@@ -1720,12 +1734,12 @@ const Qa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1720
1734
|
);
|
|
1721
1735
|
})
|
|
1722
1736
|
] });
|
|
1723
|
-
}),
|
|
1737
|
+
}), tl = R(function({ children: n, tone: l = "neutral", icon: c, className: s, ...a }, r) {
|
|
1724
1738
|
return /* @__PURE__ */ m("span", { ref: r, ...a, className: `select-badge select-badge--${l}${s ? " " + s : ""}`, children: [
|
|
1725
1739
|
c && /* @__PURE__ */ e("span", { className: "select-badge__icon", children: c }),
|
|
1726
1740
|
n
|
|
1727
1741
|
] });
|
|
1728
|
-
}),
|
|
1742
|
+
}), fc = {
|
|
1729
1743
|
approved: { label: "Aprovada", tone: "success" },
|
|
1730
1744
|
"pre-authorized": { label: "Pré-autorizada", tone: "success" },
|
|
1731
1745
|
authorized: { label: "Autorizada", tone: "info" },
|
|
@@ -1743,14 +1757,14 @@ const Qa = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
1743
1757
|
chargeback: { label: "Chargeback", tone: "critical" },
|
|
1744
1758
|
dispute: { label: "Em disputa", tone: "critical" }
|
|
1745
1759
|
};
|
|
1746
|
-
function
|
|
1760
|
+
function l1({
|
|
1747
1761
|
status: t,
|
|
1748
|
-
map: n =
|
|
1762
|
+
map: n = fc
|
|
1749
1763
|
}) {
|
|
1750
1764
|
const l = n[t] ?? { label: t };
|
|
1751
|
-
return /* @__PURE__ */ e(
|
|
1765
|
+
return /* @__PURE__ */ e(tl, { tone: l.tone, children: l.label });
|
|
1752
1766
|
}
|
|
1753
|
-
function
|
|
1767
|
+
function nl(t, n, l, c, s = 8) {
|
|
1754
1768
|
const a = window.innerWidth, r = window.innerHeight, d = l.split("-");
|
|
1755
1769
|
let o = d[0];
|
|
1756
1770
|
const i = d[1];
|
|
@@ -1766,7 +1780,7 @@ function ll(t, n, l, c, s = 8) {
|
|
|
1766
1780
|
const f = typeof window < "u" && window.devicePixelRatio || 1;
|
|
1767
1781
|
return h = Math.round(h * f) / f, u = Math.round(u * f) / f, { top: u, left: h, side: o };
|
|
1768
1782
|
}
|
|
1769
|
-
const
|
|
1783
|
+
const _c = [
|
|
1770
1784
|
"a[href]",
|
|
1771
1785
|
"button:not([disabled])",
|
|
1772
1786
|
"input:not([disabled])",
|
|
@@ -1774,20 +1788,20 @@ const fc = [
|
|
|
1774
1788
|
"textarea:not([disabled])",
|
|
1775
1789
|
'[tabindex]:not([tabindex="-1"])'
|
|
1776
1790
|
].join(",");
|
|
1777
|
-
function
|
|
1778
|
-
return Array.from(t.querySelectorAll(
|
|
1791
|
+
function an(t) {
|
|
1792
|
+
return Array.from(t.querySelectorAll(_c)).filter(
|
|
1779
1793
|
(n) => n.offsetWidth > 0 || n.offsetHeight > 0 || n === document.activeElement
|
|
1780
1794
|
);
|
|
1781
1795
|
}
|
|
1782
|
-
function
|
|
1796
|
+
function vc(t, n) {
|
|
1783
1797
|
le(() => {
|
|
1784
1798
|
if (!t) return;
|
|
1785
1799
|
const l = n.current;
|
|
1786
1800
|
if (!l) return;
|
|
1787
|
-
(
|
|
1801
|
+
(an(l)[0] ?? l).focus({ preventScroll: !0 });
|
|
1788
1802
|
const s = (a) => {
|
|
1789
1803
|
if (a.key !== "Tab") return;
|
|
1790
|
-
const r =
|
|
1804
|
+
const r = an(l);
|
|
1791
1805
|
if (r.length === 0) {
|
|
1792
1806
|
a.preventDefault();
|
|
1793
1807
|
return;
|
|
@@ -1802,7 +1816,7 @@ function ut(t) {
|
|
|
1802
1816
|
return ((t == null ? void 0 : t.closest("[data-theme]")) ?? document.documentElement).getAttribute("data-theme") === "dark" ? "dark" : "light";
|
|
1803
1817
|
}
|
|
1804
1818
|
const Qe = [];
|
|
1805
|
-
function
|
|
1819
|
+
function We({
|
|
1806
1820
|
active: t,
|
|
1807
1821
|
onClose: n,
|
|
1808
1822
|
activator: l,
|
|
@@ -1818,7 +1832,7 @@ function Oe({
|
|
|
1818
1832
|
var k;
|
|
1819
1833
|
const _ = ((k = u.current) == null ? void 0 : k.firstElementChild) ?? u.current, p = h.current;
|
|
1820
1834
|
if (!_ || !p) return;
|
|
1821
|
-
const b = _.getBoundingClientRect(), S =
|
|
1835
|
+
const b = _.getBoundingClientRect(), S = nl(b, { width: p.offsetWidth, height: p.offsetHeight }, s, a);
|
|
1822
1836
|
v({ top: S.top, left: S.left, minWidth: o ? b.width : void 0 });
|
|
1823
1837
|
}, [s, a, o]);
|
|
1824
1838
|
return Be(() => {
|
|
@@ -1859,7 +1873,7 @@ function Oe({
|
|
|
1859
1873
|
return document.addEventListener("mousedown", _, !0), document.addEventListener("keydown", p), () => {
|
|
1860
1874
|
document.removeEventListener("mousedown", _, !0), document.removeEventListener("keydown", p);
|
|
1861
1875
|
};
|
|
1862
|
-
}, [t, n]),
|
|
1876
|
+
}, [t, n]), vc(t && d, h), /* @__PURE__ */ m(ae, { children: [
|
|
1863
1877
|
/* @__PURE__ */ e("span", { className: "select-pop__trigger", ref: u, children: l }),
|
|
1864
1878
|
t && Ft(
|
|
1865
1879
|
/* @__PURE__ */ e(
|
|
@@ -1878,7 +1892,7 @@ function Oe({
|
|
|
1878
1892
|
)
|
|
1879
1893
|
] });
|
|
1880
1894
|
}
|
|
1881
|
-
function
|
|
1895
|
+
function ll({ items: t, sections: n, onAction: l, autoFocus: c = !0, className: s, ...a }) {
|
|
1882
1896
|
const r = q(null), d = n ?? (t ? [{ items: t }] : []);
|
|
1883
1897
|
le(() => {
|
|
1884
1898
|
var i, u;
|
|
@@ -1915,14 +1929,14 @@ function cl({ items: t, sections: n, onAction: l, autoFocus: c = !0, className:
|
|
|
1915
1929
|
))
|
|
1916
1930
|
] }, u)) });
|
|
1917
1931
|
}
|
|
1918
|
-
function
|
|
1932
|
+
function c1({
|
|
1919
1933
|
items: t,
|
|
1920
1934
|
label: n = "Ações",
|
|
1921
1935
|
disabled: l
|
|
1922
1936
|
}) {
|
|
1923
1937
|
const [c, s] = D(!1);
|
|
1924
1938
|
return /* @__PURE__ */ e(
|
|
1925
|
-
|
|
1939
|
+
We,
|
|
1926
1940
|
{
|
|
1927
1941
|
active: c,
|
|
1928
1942
|
onClose: () => s(!1),
|
|
@@ -1939,7 +1953,7 @@ function l1({
|
|
|
1939
1953
|
children: n
|
|
1940
1954
|
}
|
|
1941
1955
|
),
|
|
1942
|
-
children: /* @__PURE__ */ e(
|
|
1956
|
+
children: /* @__PURE__ */ e(ll, { items: t, onAction: () => s(!1) })
|
|
1943
1957
|
}
|
|
1944
1958
|
);
|
|
1945
1959
|
}
|
|
@@ -1982,7 +1996,7 @@ const ze = {
|
|
|
1982
1996
|
function Bt(...t) {
|
|
1983
1997
|
return t.filter(Boolean).join(" ");
|
|
1984
1998
|
}
|
|
1985
|
-
function
|
|
1999
|
+
function Vt({ children: t, gap: n, align: l, inlineAlign: c, as: s = "div", className: a, ...r }) {
|
|
1986
2000
|
const d = s, o = {
|
|
1987
2001
|
rowGap: n ? ze[n] : void 0,
|
|
1988
2002
|
justifyContent: l ? ot[l] : void 0,
|
|
@@ -2000,7 +2014,7 @@ function st({ children: t, gap: n, align: l, blockAlign: c = "center", wrap: s =
|
|
|
2000
2014
|
};
|
|
2001
2015
|
return /* @__PURE__ */ e(o, { ...d, className: Bt("select-inline", r), style: i, children: t });
|
|
2002
2016
|
}
|
|
2003
|
-
function
|
|
2017
|
+
function s1({ children: t, columns: n = 2, gap: l = "400", alignItems: c, collapseBelow: s, as: a = "div", className: r, ...d }) {
|
|
2004
2018
|
const o = a, i = {
|
|
2005
2019
|
"--select-grid-columns": typeof n == "number" ? `repeat(${n}, minmax(0, 1fr))` : n,
|
|
2006
2020
|
gap: ze[l],
|
|
@@ -2008,26 +2022,26 @@ function c1({ children: t, columns: n = 2, gap: l = "400", alignItems: c, collap
|
|
|
2008
2022
|
};
|
|
2009
2023
|
return /* @__PURE__ */ e(o, { ...d, className: Bt("select-grid", s && `select-grid--collapse-${s}`, r), style: i, children: t });
|
|
2010
2024
|
}
|
|
2011
|
-
const
|
|
2025
|
+
const gc = {
|
|
2012
2026
|
surface: "var(--select-surface)",
|
|
2013
2027
|
"surface-secondary": "var(--select-card-muted)",
|
|
2014
2028
|
"surface-sunken": "var(--select-surface-sunken)",
|
|
2015
2029
|
card: "var(--select-card-bg)",
|
|
2016
2030
|
transparent: "transparent"
|
|
2017
|
-
},
|
|
2031
|
+
}, bc = {
|
|
2018
2032
|
sm: "var(--select-radius-sm)",
|
|
2019
2033
|
base: "var(--select-radius)",
|
|
2020
2034
|
lg: "var(--select-radius-lg)",
|
|
2021
2035
|
card: "var(--select-radius-card)",
|
|
2022
2036
|
full: "999px"
|
|
2023
2037
|
};
|
|
2024
|
-
function
|
|
2038
|
+
function xc({ children: t, padding: n, paddingInline: l, paddingBlock: c, background: s, borderRadius: a, border: r = !1, shadow: d = !1, width: o, minHeight: i, as: u = "div", className: h, style: f, ...g }) {
|
|
2025
2039
|
const v = u, x = {
|
|
2026
2040
|
padding: n ? ze[n] : void 0,
|
|
2027
2041
|
paddingInline: l ? ze[l] : void 0,
|
|
2028
2042
|
paddingBlock: c ? ze[c] : void 0,
|
|
2029
|
-
background: s ?
|
|
2030
|
-
borderRadius: a ?
|
|
2043
|
+
background: s ? gc[s] : void 0,
|
|
2044
|
+
borderRadius: a ? bc[a] : void 0,
|
|
2031
2045
|
border: r ? "1px solid var(--select-border)" : void 0,
|
|
2032
2046
|
boxShadow: d ? "var(--select-shadow-card)" : void 0,
|
|
2033
2047
|
width: o,
|
|
@@ -2048,7 +2062,7 @@ function Xe({ children: t, as: n = "p", variant: l = "bodyMd", tone: c, fontWeig
|
|
|
2048
2062
|
].filter(Boolean).join(" ");
|
|
2049
2063
|
return /* @__PURE__ */ e(u, { ...i, className: h, style: a ? { textAlign: a } : void 0, children: t });
|
|
2050
2064
|
}
|
|
2051
|
-
const
|
|
2065
|
+
const on = "https://cdn.selectwin.io/public/payicons", rn = {
|
|
2052
2066
|
visa: "visa",
|
|
2053
2067
|
mastercard: "mastercard",
|
|
2054
2068
|
master: "mastercard",
|
|
@@ -2066,7 +2080,7 @@ const rn = "https://cdn.selectwin.io/public/payicons", dn = {
|
|
|
2066
2080
|
diners: "dinersclub",
|
|
2067
2081
|
"diners-club": "dinersclub",
|
|
2068
2082
|
dinersclub: "dinersclub"
|
|
2069
|
-
},
|
|
2083
|
+
}, yc = {
|
|
2070
2084
|
pix: "pix",
|
|
2071
2085
|
billet: "boleto",
|
|
2072
2086
|
boleto: "boleto",
|
|
@@ -2079,12 +2093,12 @@ const rn = "https://cdn.selectwin.io/public/payicons", dn = {
|
|
|
2079
2093
|
boleto: "Boleto bancário",
|
|
2080
2094
|
nupay: "Nupay"
|
|
2081
2095
|
};
|
|
2082
|
-
function
|
|
2096
|
+
function dn(t) {
|
|
2083
2097
|
if (!t) return null;
|
|
2084
2098
|
const n = t.toLowerCase().trim().replace(/\s+/g, "-");
|
|
2085
|
-
return
|
|
2099
|
+
return rn[n] ?? rn[n.replace(/-/g, "")] ?? null;
|
|
2086
2100
|
}
|
|
2087
|
-
function
|
|
2101
|
+
function a1({
|
|
2088
2102
|
method: t,
|
|
2089
2103
|
cardBrand: n,
|
|
2090
2104
|
/** Chip height in px; width is derived to a card aspect ratio (1.2). Default 24×29. */
|
|
@@ -2097,15 +2111,15 @@ function s1({
|
|
|
2097
2111
|
* method/brand text everywhere the label renders (chip title, alt, showLabel, fallback). */
|
|
2098
2112
|
label: a
|
|
2099
2113
|
}) {
|
|
2100
|
-
const r =
|
|
2114
|
+
const r = dn(n) ?? (t ? yc[t] : null), d = a || n || (t ? _t[t] : void 0) || t || "—";
|
|
2101
2115
|
if (!r)
|
|
2102
2116
|
return /* @__PURE__ */ e(Xe, { as: "span", tone: "subdued", variant: "bodySm", children: a || t && _t[t] || n || t || "—" });
|
|
2103
|
-
const o =
|
|
2117
|
+
const o = dn(n) == null, i = l, u = Math.round(l * 1.2);
|
|
2104
2118
|
if (s) {
|
|
2105
2119
|
const f = o ? Math.round(l * 0.7) : l, g = /* @__PURE__ */ e(
|
|
2106
2120
|
"img",
|
|
2107
2121
|
{
|
|
2108
|
-
src: `${
|
|
2122
|
+
src: `${on}/${r}.svg`,
|
|
2109
2123
|
alt: d,
|
|
2110
2124
|
title: d,
|
|
2111
2125
|
loading: "lazy",
|
|
@@ -2145,7 +2159,7 @@ function s1({
|
|
|
2145
2159
|
children: /* @__PURE__ */ e(
|
|
2146
2160
|
"img",
|
|
2147
2161
|
{
|
|
2148
|
-
src: `${
|
|
2162
|
+
src: `${on}/${r}.svg`,
|
|
2149
2163
|
alt: d,
|
|
2150
2164
|
loading: "lazy",
|
|
2151
2165
|
style: o ? (
|
|
@@ -2167,7 +2181,7 @@ function s1({
|
|
|
2167
2181
|
/* @__PURE__ */ e(Xe, { as: "span", variant: "bodySm", children: a || t && _t[t] || n || t })
|
|
2168
2182
|
] }) : h;
|
|
2169
2183
|
}
|
|
2170
|
-
function
|
|
2184
|
+
function cl({
|
|
2171
2185
|
content: t,
|
|
2172
2186
|
children: n,
|
|
2173
2187
|
placement: l = "top",
|
|
@@ -2191,7 +2205,7 @@ function sl({
|
|
|
2191
2205
|
}
|
|
2192
2206
|
const v = (($ = r.current) == null ? void 0 : $.firstElementChild) ?? r.current, x = d.current;
|
|
2193
2207
|
if (!v || !x) return;
|
|
2194
|
-
const N =
|
|
2208
|
+
const N = nl(
|
|
2195
2209
|
v.getBoundingClientRect(),
|
|
2196
2210
|
{ width: x.offsetWidth, height: x.offsetHeight },
|
|
2197
2211
|
l,
|
|
@@ -2235,9 +2249,9 @@ function sl({
|
|
|
2235
2249
|
] });
|
|
2236
2250
|
}
|
|
2237
2251
|
const ge = R(function({ icon: n, label: l, onClick: c, disabled: s = !1, size: a = "md", variant: r = "ghost", active: d = !1, className: o, ...i }, u) {
|
|
2238
|
-
return /* @__PURE__ */ e(
|
|
2252
|
+
return /* @__PURE__ */ e(cl, { content: l, children: /* @__PURE__ */ e("button", { ref: u, ...i, type: "button", className: `select-iconbtn select-iconbtn--${a} select-iconbtn--${r}${d ? " is-active" : ""}${o ? " " + o : ""}`, "aria-label": l, "aria-pressed": d, onClick: c, disabled: s, children: n }) });
|
|
2239
2253
|
});
|
|
2240
|
-
function
|
|
2254
|
+
function Nc({
|
|
2241
2255
|
open: t,
|
|
2242
2256
|
onToggle: n,
|
|
2243
2257
|
children: l,
|
|
@@ -2260,14 +2274,14 @@ function yc({
|
|
|
2260
2274
|
}
|
|
2261
2275
|
);
|
|
2262
2276
|
}
|
|
2263
|
-
const
|
|
2264
|
-
function
|
|
2265
|
-
const n = t.split(
|
|
2266
|
-
for (let c = 1; c < n.length; c++) l.push(n.slice(0, c).join(
|
|
2277
|
+
const Mc = 3e3, Zt = "", sl = (t, n) => t === "" ? n : t + Zt + n;
|
|
2278
|
+
function hn(t) {
|
|
2279
|
+
const n = t.split(Zt), l = [];
|
|
2280
|
+
for (let c = 1; c < n.length; c++) l.push(n.slice(0, c).join(Zt));
|
|
2267
2281
|
return l;
|
|
2268
2282
|
}
|
|
2269
|
-
const
|
|
2270
|
-
function
|
|
2283
|
+
const $c = (t) => t instanceof Date || t instanceof RegExp || t instanceof Map || t instanceof Set;
|
|
2284
|
+
function al(t) {
|
|
2271
2285
|
if (t == null) return "null";
|
|
2272
2286
|
if (Array.isArray(t)) return "array";
|
|
2273
2287
|
switch (typeof t) {
|
|
@@ -2279,29 +2293,29 @@ function ol(t) {
|
|
|
2279
2293
|
case "boolean":
|
|
2280
2294
|
return "boolean";
|
|
2281
2295
|
case "object":
|
|
2282
|
-
return
|
|
2296
|
+
return $c(t) ? "other" : "object";
|
|
2283
2297
|
default:
|
|
2284
2298
|
return "other";
|
|
2285
2299
|
}
|
|
2286
2300
|
}
|
|
2287
|
-
function
|
|
2288
|
-
const n =
|
|
2301
|
+
function Oe(t) {
|
|
2302
|
+
const n = al(t);
|
|
2289
2303
|
return n === "object" || n === "array";
|
|
2290
2304
|
}
|
|
2291
|
-
function
|
|
2292
|
-
return Array.isArray(t) ? t.map((n, l) => [String(l), n]) :
|
|
2305
|
+
function ol(t) {
|
|
2306
|
+
return Array.isArray(t) ? t.map((n, l) => [String(l), n]) : Oe(t) ? Object.entries(t) : [];
|
|
2293
2307
|
}
|
|
2294
2308
|
function pt(t) {
|
|
2295
|
-
return Array.isArray(t) ? t.length :
|
|
2309
|
+
return Array.isArray(t) ? t.length : Oe(t) ? Object.keys(t).length : 0;
|
|
2296
2310
|
}
|
|
2297
|
-
function
|
|
2311
|
+
function nn(t) {
|
|
2298
2312
|
return t == null ? "null" : typeof t == "string" ? t : t instanceof Date ? Number.isNaN(t.getTime()) ? "Invalid Date" : t.toISOString() : String(t);
|
|
2299
2313
|
}
|
|
2300
|
-
function
|
|
2314
|
+
function un(t) {
|
|
2301
2315
|
const n = pt(t), l = Array.isArray(t);
|
|
2302
2316
|
return n === 0 ? l ? "[]" : "{}" : l ? `[${n} ${n === 1 ? "item" : "itens"}]` : `{${n} ${n === 1 ? "chave" : "chaves"}}`;
|
|
2303
2317
|
}
|
|
2304
|
-
function
|
|
2318
|
+
function kc(t) {
|
|
2305
2319
|
if (typeof t != "string") return t;
|
|
2306
2320
|
const n = t.trim();
|
|
2307
2321
|
if (!n.startsWith("{") && !n.startsWith("[")) return t;
|
|
@@ -2311,17 +2325,17 @@ function $c(t) {
|
|
|
2311
2325
|
return t;
|
|
2312
2326
|
}
|
|
2313
2327
|
}
|
|
2314
|
-
function
|
|
2315
|
-
return t == null ? !0 :
|
|
2328
|
+
function wc(t) {
|
|
2329
|
+
return t == null ? !0 : Oe(t) ? pt(t) === 0 : !1;
|
|
2316
2330
|
}
|
|
2317
|
-
function
|
|
2331
|
+
function rl(t) {
|
|
2318
2332
|
try {
|
|
2319
2333
|
return JSON.stringify(t, null, 2) ?? String(t);
|
|
2320
2334
|
} catch {
|
|
2321
2335
|
return String(t);
|
|
2322
2336
|
}
|
|
2323
2337
|
}
|
|
2324
|
-
function rt(t, n, l =
|
|
2338
|
+
function rt(t, n, l = Mc) {
|
|
2325
2339
|
let c = 0, s = !1;
|
|
2326
2340
|
const a = (r, d, o, i, u) => {
|
|
2327
2341
|
if (s) return;
|
|
@@ -2332,51 +2346,51 @@ function rt(t, n, l = Nc) {
|
|
|
2332
2346
|
}
|
|
2333
2347
|
c += 1, n({ path: d, key: o, value: r, depth: i });
|
|
2334
2348
|
}
|
|
2335
|
-
if (!
|
|
2349
|
+
if (!Oe(r)) return;
|
|
2336
2350
|
const h = r;
|
|
2337
2351
|
if (u.includes(h)) return;
|
|
2338
2352
|
const f = [...u, h];
|
|
2339
|
-
for (const [g, v] of
|
|
2340
|
-
if (a(v,
|
|
2353
|
+
for (const [g, v] of ol(r))
|
|
2354
|
+
if (a(v, sl(d, g), g, i + 1, f), s) return;
|
|
2341
2355
|
};
|
|
2342
2356
|
return a(t, "", "", 0, []), { count: c, truncated: s };
|
|
2343
2357
|
}
|
|
2344
|
-
function wc(t, n) {
|
|
2345
|
-
return He(t) && n.includes(t);
|
|
2346
|
-
}
|
|
2347
2358
|
function Sc(t, n) {
|
|
2359
|
+
return Oe(t) && n.includes(t);
|
|
2360
|
+
}
|
|
2361
|
+
function Cc(t, n) {
|
|
2348
2362
|
const l = /* @__PURE__ */ new Set();
|
|
2349
2363
|
return rt(t, ({ path: c, value: s, depth: a }) => {
|
|
2350
|
-
a <= n &&
|
|
2364
|
+
a <= n && Oe(s) && pt(s) > 0 && l.add(c);
|
|
2351
2365
|
}), l;
|
|
2352
2366
|
}
|
|
2353
|
-
function
|
|
2367
|
+
function Lc(t) {
|
|
2354
2368
|
const n = [];
|
|
2355
2369
|
return rt(t, ({ path: l, value: c }) => {
|
|
2356
|
-
|
|
2370
|
+
Oe(c) && pt(c) > 0 && n.push(l);
|
|
2357
2371
|
}), n;
|
|
2358
2372
|
}
|
|
2359
|
-
const
|
|
2360
|
-
function
|
|
2373
|
+
const Ac = { matched: /* @__PURE__ */ new Set(), visible: /* @__PURE__ */ new Set(), count: 0, active: !1 };
|
|
2374
|
+
function Fc(t, n) {
|
|
2361
2375
|
const l = n.trim().toLowerCase();
|
|
2362
|
-
if (!l) return
|
|
2376
|
+
if (!l) return Ac;
|
|
2363
2377
|
const c = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set();
|
|
2364
2378
|
return rt(t, ({ path: a, key: r, value: d }) => {
|
|
2365
|
-
if (r.toLowerCase().includes(l) || !
|
|
2379
|
+
if (r.toLowerCase().includes(l) || !Oe(d) && nn(d).toLowerCase().includes(l)) {
|
|
2366
2380
|
c.add(a), s.add(a);
|
|
2367
|
-
for (const i of
|
|
2381
|
+
for (const i of hn(a)) s.add(i);
|
|
2368
2382
|
}
|
|
2369
2383
|
}), c.size > 0 && rt(t, ({ path: a }) => {
|
|
2370
|
-
|
|
2384
|
+
hn(a).some((r) => c.has(r)) && s.add(a);
|
|
2371
2385
|
}), { matched: c, visible: s, count: c.size, active: !0 };
|
|
2372
2386
|
}
|
|
2373
|
-
const
|
|
2374
|
-
function
|
|
2387
|
+
const pn = /("(?:\\u[a-fA-F0-9]{4}|\\[^u]|[^\\"])*"(?:\s*:)?|\btrue\b|\bfalse\b|\bnull\b|-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)/g;
|
|
2388
|
+
function Bc(t) {
|
|
2375
2389
|
const n = [];
|
|
2376
2390
|
let l = 0;
|
|
2377
|
-
|
|
2391
|
+
pn.lastIndex = 0;
|
|
2378
2392
|
let c;
|
|
2379
|
-
for (; (c =
|
|
2393
|
+
for (; (c = pn.exec(t)) !== null; ) {
|
|
2380
2394
|
c.index > l && n.push({ text: t.slice(l, c.index), cls: "plain" });
|
|
2381
2395
|
const s = c[0];
|
|
2382
2396
|
let a = "num";
|
|
@@ -2384,7 +2398,7 @@ function Fc(t) {
|
|
|
2384
2398
|
}
|
|
2385
2399
|
return l < t.length && n.push({ text: t.slice(l), cls: "plain" }), n;
|
|
2386
2400
|
}
|
|
2387
|
-
function
|
|
2401
|
+
function Ec(t, n) {
|
|
2388
2402
|
const l = n.trim();
|
|
2389
2403
|
if (!l) return [{ text: t, hit: !1 }];
|
|
2390
2404
|
const c = t.toLowerCase(), s = l.toLowerCase(), a = [];
|
|
@@ -2399,7 +2413,7 @@ function Bc(t, n) {
|
|
|
2399
2413
|
}
|
|
2400
2414
|
return a.length > 0 ? a : [{ text: t, hit: !1 }];
|
|
2401
2415
|
}
|
|
2402
|
-
function
|
|
2416
|
+
function Ic(t, n) {
|
|
2403
2417
|
const l = n.trim().toLowerCase();
|
|
2404
2418
|
if (!l) return 0;
|
|
2405
2419
|
const c = t.toLowerCase();
|
|
@@ -2408,7 +2422,7 @@ function Ec(t, n) {
|
|
|
2408
2422
|
s += 1, a = c.indexOf(l, a + l.length);
|
|
2409
2423
|
return s;
|
|
2410
2424
|
}
|
|
2411
|
-
const
|
|
2425
|
+
const mn = 320, Pc = 12e4, Rc = {
|
|
2412
2426
|
string: "str",
|
|
2413
2427
|
number: "num",
|
|
2414
2428
|
boolean: "bool",
|
|
@@ -2418,11 +2432,11 @@ const fn = 320, Ic = 12e4, Pc = {
|
|
|
2418
2432
|
array: "plain"
|
|
2419
2433
|
};
|
|
2420
2434
|
function St({ text: t, term: n }) {
|
|
2421
|
-
return n.trim() ? /* @__PURE__ */ e(ae, { children:
|
|
2422
|
-
(l, c) => l.hit ? /* @__PURE__ */ e("mark", { className: "select-json__hit", children: l.text }, c) : /* @__PURE__ */ e(
|
|
2435
|
+
return n.trim() ? /* @__PURE__ */ e(ae, { children: Ec(t, n).map(
|
|
2436
|
+
(l, c) => l.hit ? /* @__PURE__ */ e("mark", { className: "select-json__hit", children: l.text }, c) : /* @__PURE__ */ e(Ut, { children: l.text }, c)
|
|
2423
2437
|
) }) : /* @__PURE__ */ e(ae, { children: t });
|
|
2424
2438
|
}
|
|
2425
|
-
function
|
|
2439
|
+
function Dc(t = 1400) {
|
|
2426
2440
|
const [n, l] = D(null), c = q(void 0);
|
|
2427
2441
|
le(() => () => window.clearTimeout(c.current), []);
|
|
2428
2442
|
const s = Te(
|
|
@@ -2434,15 +2448,15 @@ function Rc(t = 1400) {
|
|
|
2434
2448
|
);
|
|
2435
2449
|
return [n, s];
|
|
2436
2450
|
}
|
|
2437
|
-
function
|
|
2438
|
-
const c =
|
|
2439
|
-
return /* @__PURE__ */ m("span", { className: `select-json__v select-json__v--${
|
|
2451
|
+
function il({ value: t, term: n, forceFull: l }) {
|
|
2452
|
+
const c = al(t), s = nn(t), a = !l && s.length > mn, r = a ? `${s.slice(0, mn)}…` : s, d = c === "string";
|
|
2453
|
+
return /* @__PURE__ */ m("span", { className: `select-json__v select-json__v--${Rc[c]}`, title: a ? s : void 0, children: [
|
|
2440
2454
|
d && /* @__PURE__ */ e("span", { className: "select-json__quote", children: '"' }),
|
|
2441
2455
|
/* @__PURE__ */ e(St, { text: r, term: n }),
|
|
2442
2456
|
d && /* @__PURE__ */ e("span", { className: "select-json__quote", children: '"' })
|
|
2443
2457
|
] });
|
|
2444
2458
|
}
|
|
2445
|
-
function
|
|
2459
|
+
function dl({
|
|
2446
2460
|
value: t,
|
|
2447
2461
|
path: n,
|
|
2448
2462
|
depth: l,
|
|
@@ -2450,11 +2464,11 @@ function hl({
|
|
|
2450
2464
|
ctx: s
|
|
2451
2465
|
}) {
|
|
2452
2466
|
const a = s.result.active, r = Array.isArray(t);
|
|
2453
|
-
return /* @__PURE__ */ e(ae, { children:
|
|
2454
|
-
const i =
|
|
2467
|
+
return /* @__PURE__ */ e(ae, { children: ol(t).map(([d, o]) => {
|
|
2468
|
+
const i = sl(n, d);
|
|
2455
2469
|
if (a && !s.result.visible.has(i)) return null;
|
|
2456
|
-
const u =
|
|
2457
|
-
return /* @__PURE__ */ m(
|
|
2470
|
+
const u = Sc(o, c), h = Oe(o) && !u, f = h && pt(o) > 0, g = a ? !0 : s.expanded.has(i), v = s.result.matched.has(i), x = `row:${i}`;
|
|
2471
|
+
return /* @__PURE__ */ m(Ut, { children: [
|
|
2458
2472
|
/* @__PURE__ */ m(
|
|
2459
2473
|
"div",
|
|
2460
2474
|
{
|
|
@@ -2478,8 +2492,8 @@ function hl({
|
|
|
2478
2492
|
u ? /* @__PURE__ */ e("span", { className: "select-json__v select-json__v--other", children: "[referência circular]" }) : f ? (
|
|
2479
2493
|
// The summary doubles as a second hit-target for the caret; `tabIndex={-1}`
|
|
2480
2494
|
// keeps it out of the tab order (the caret is already the focusable control).
|
|
2481
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-json__summary", tabIndex: -1, onClick: () => s.toggle(i), children:
|
|
2482
|
-
) : h ? /* @__PURE__ */ e("span", { className: "select-json__summary select-json__summary--static", children:
|
|
2495
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-json__summary", tabIndex: -1, onClick: () => s.toggle(i), children: un(o) })
|
|
2496
|
+
) : h ? /* @__PURE__ */ e("span", { className: "select-json__summary select-json__summary--static", children: un(o) }) : /* @__PURE__ */ e(il, { value: o, term: s.search, forceFull: v })
|
|
2483
2497
|
] }),
|
|
2484
2498
|
/* @__PURE__ */ e(
|
|
2485
2499
|
"button",
|
|
@@ -2488,31 +2502,31 @@ function hl({
|
|
|
2488
2502
|
className: "select-json__copy",
|
|
2489
2503
|
"aria-label": `Copiar ${d}`,
|
|
2490
2504
|
title: s.copied === x ? "Copiado!" : "Copiar valor",
|
|
2491
|
-
onClick: () => s.copy(x, h ?
|
|
2492
|
-
children: s.copied === x ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(
|
|
2505
|
+
onClick: () => s.copy(x, h ? rl(o) : nn(o)),
|
|
2506
|
+
children: s.copied === x ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(Kt, {})
|
|
2493
2507
|
}
|
|
2494
2508
|
)
|
|
2495
2509
|
]
|
|
2496
2510
|
}
|
|
2497
2511
|
),
|
|
2498
|
-
f && g && /* @__PURE__ */ e(
|
|
2512
|
+
f && g && /* @__PURE__ */ e(dl, { value: o, path: i, depth: l + 1, ancestors: [...c, o], ctx: s })
|
|
2499
2513
|
] }, i);
|
|
2500
2514
|
}) });
|
|
2501
2515
|
}
|
|
2502
|
-
function
|
|
2503
|
-
const l = xe(() => t.length >
|
|
2516
|
+
function Tc({ text: t, term: n }) {
|
|
2517
|
+
const l = xe(() => t.length > Pc ? null : Bc(t), [t]);
|
|
2504
2518
|
return l ? /* @__PURE__ */ e("pre", { className: "select-json__pre", children: l.map((c, s) => /* @__PURE__ */ e("span", { className: `select-json__v--${c.cls}`, children: /* @__PURE__ */ e(St, { text: c.text, term: n }) }, s)) }) : /* @__PURE__ */ e("pre", { className: "select-json__pre", children: /* @__PURE__ */ e(St, { text: t, term: n }) });
|
|
2505
2519
|
}
|
|
2506
|
-
const
|
|
2507
|
-
const [h, f] = D(s), [g, v] = D("tree"), [x, N] = D(""), [$, _] = D(/* @__PURE__ */ new Set()), [p, b] =
|
|
2508
|
-
() => typeof n == "string" && k === n ? n :
|
|
2520
|
+
const o1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, defaultOpen: s = !1, defaultExpandDepth: a = 1, searchable: r = !0, emptyLabel: d = "Sem dados", className: o, ...i }, u) {
|
|
2521
|
+
const [h, f] = D(s), [g, v] = D("tree"), [x, N] = D(""), [$, _] = D(/* @__PURE__ */ new Set()), [p, b] = Dc(), S = q(null), k = xe(() => kc(n), [n]), M = wc(k), w = xe(
|
|
2522
|
+
() => typeof n == "string" && k === n ? n : rl(k),
|
|
2509
2523
|
[n, k]
|
|
2510
2524
|
), y = xe(() => rt(k, () => {
|
|
2511
|
-
}).truncated, [k]), C = g === "tree" && !y, L = xe(() => y ? [] :
|
|
2525
|
+
}).truncated, [k]), C = g === "tree" && !y, L = xe(() => y ? [] : Lc(k), [k, y]);
|
|
2512
2526
|
le(() => {
|
|
2513
|
-
_(y ? /* @__PURE__ */ new Set() :
|
|
2527
|
+
_(y ? /* @__PURE__ */ new Set() : Cc(k, a)), N("");
|
|
2514
2528
|
}, [k, a, y]);
|
|
2515
|
-
const B = xe(() =>
|
|
2529
|
+
const B = xe(() => Fc(k, C ? x : ""), [k, x, C]), A = x.trim().length > 0, F = C ? B.count : Ic(w, x);
|
|
2516
2530
|
le(() => {
|
|
2517
2531
|
var Z, G;
|
|
2518
2532
|
!h || !A || (G = (Z = S.current) == null ? void 0 : Z.querySelector(".select-json__hit")) == null || G.scrollIntoView({ block: "nearest" });
|
|
@@ -2526,12 +2540,12 @@ const a1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2526
2540
|
return /* @__PURE__ */ m("div", { ref: u, ...i, className: `select-json${o ? " " + o : ""}`, children: [
|
|
2527
2541
|
/* @__PURE__ */ m("div", { className: "select-json__head", children: [
|
|
2528
2542
|
/* @__PURE__ */ e(Xe, { as: "h2", variant: "headingSm", children: l }),
|
|
2529
|
-
/* @__PURE__ */ e(
|
|
2543
|
+
/* @__PURE__ */ e(Nc, { open: W, onToggle: () => f((Z) => !Z), openLabel: "Ocultar", disabled: M, children: M ? d : "Mostrar" })
|
|
2530
2544
|
] }),
|
|
2531
2545
|
W && /* @__PURE__ */ m("div", { className: "select-json__body", children: [
|
|
2532
2546
|
/* @__PURE__ */ m("div", { className: "select-json__toolbar", children: [
|
|
2533
2547
|
r ? /* @__PURE__ */ m(ae, { children: [
|
|
2534
|
-
/* @__PURE__ */ e("span", { className: "select-json__searchicon", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
2548
|
+
/* @__PURE__ */ e("span", { className: "select-json__searchicon", "aria-hidden": "true", children: /* @__PURE__ */ e(Xt, {}) }),
|
|
2535
2549
|
/* @__PURE__ */ e(
|
|
2536
2550
|
"input",
|
|
2537
2551
|
{
|
|
@@ -2548,7 +2562,7 @@ const a1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2548
2562
|
C && L.length > 0 && !A && /* @__PURE__ */ e(
|
|
2549
2563
|
ge,
|
|
2550
2564
|
{
|
|
2551
|
-
icon: /* @__PURE__ */ e(
|
|
2565
|
+
icon: /* @__PURE__ */ e(On, {}),
|
|
2552
2566
|
label: T ? "Recolher tudo" : "Expandir tudo",
|
|
2553
2567
|
size: "sm",
|
|
2554
2568
|
active: T,
|
|
@@ -2558,7 +2572,7 @@ const a1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2558
2572
|
/* @__PURE__ */ e(
|
|
2559
2573
|
ge,
|
|
2560
2574
|
{
|
|
2561
|
-
icon: /* @__PURE__ */ e(
|
|
2575
|
+
icon: /* @__PURE__ */ e(Hl, {}),
|
|
2562
2576
|
label: y ? "Árvore indisponível: JSON muito grande" : g === "raw" ? "Ver árvore" : "Ver JSON bruto",
|
|
2563
2577
|
size: "sm",
|
|
2564
2578
|
active: g === "raw" || y,
|
|
@@ -2569,7 +2583,7 @@ const a1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2569
2583
|
/* @__PURE__ */ e(
|
|
2570
2584
|
ge,
|
|
2571
2585
|
{
|
|
2572
|
-
icon: p === "all" ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(
|
|
2586
|
+
icon: p === "all" ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(zl, {}),
|
|
2573
2587
|
label: p === "all" ? "Copiado!" : "Copiar JSON",
|
|
2574
2588
|
size: "sm",
|
|
2575
2589
|
active: p === "all",
|
|
@@ -2581,21 +2595,21 @@ const a1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2581
2595
|
"Nenhuma chave ou valor corresponde a “",
|
|
2582
2596
|
x.trim(),
|
|
2583
2597
|
"”."
|
|
2584
|
-
] }) }) : /* @__PURE__ */ e("div", { className: "select-json__tree", children:
|
|
2598
|
+
] }) }) : /* @__PURE__ */ e("div", { className: "select-json__tree", children: Oe(k) ? /* @__PURE__ */ e(dl, { value: k, path: "", depth: 0, ancestors: [k], ctx: O }) : /* @__PURE__ */ m("div", { className: "select-json__row", style: { "--json-depth": 0 }, children: [
|
|
2585
2599
|
/* @__PURE__ */ e("span", { className: "select-json__caret select-json__caret--empty", "aria-hidden": "true" }),
|
|
2586
|
-
/* @__PURE__ */ e("span", { className: "select-json__label", children: /* @__PURE__ */ e(
|
|
2587
|
-
] }) }) : /* @__PURE__ */ e(
|
|
2600
|
+
/* @__PURE__ */ e("span", { className: "select-json__label", children: /* @__PURE__ */ e(il, { value: k, term: x, forceFull: !0 }) })
|
|
2601
|
+
] }) }) : /* @__PURE__ */ e(Tc, { text: w, term: x }) })
|
|
2588
2602
|
] })
|
|
2589
2603
|
] });
|
|
2590
|
-
}),
|
|
2604
|
+
}), Wc = {
|
|
2591
2605
|
success: "var(--select-success-text)",
|
|
2592
2606
|
critical: "var(--select-danger-text)",
|
|
2593
2607
|
warning: "var(--select-warning-text)",
|
|
2594
2608
|
info: "var(--select-info-text)",
|
|
2595
2609
|
default: "var(--select-text-secondary)"
|
|
2596
|
-
},
|
|
2610
|
+
}, r1 = R(function({ items: n, className: l, ...c }, s) {
|
|
2597
2611
|
var d;
|
|
2598
|
-
const a = n.length ? ((d = n[0]) == null ? void 0 : d.tone) ?? "default" : "default", r = { "--tl-final":
|
|
2612
|
+
const a = n.length ? ((d = n[0]) == null ? void 0 : d.tone) ?? "default" : "default", r = { "--tl-final": Wc[a] };
|
|
2599
2613
|
return /* @__PURE__ */ e("ul", { ref: s, ...c, className: `select-timeline${l ? " " + l : ""}`, style: r, children: n.map((o, i) => /* @__PURE__ */ m("li", { className: "select-timeline__item", children: [
|
|
2600
2614
|
/* @__PURE__ */ e("span", { className: `select-timeline__dot${i === 0 ? " select-timeline__dot--final" : ""}`, "aria-hidden": "true" }),
|
|
2601
2615
|
/* @__PURE__ */ m("div", { className: "select-timeline__body", children: [
|
|
@@ -2607,20 +2621,20 @@ const a1 = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
2607
2621
|
o.content != null && /* @__PURE__ */ e("div", { className: "select-timeline__content", children: o.content })
|
|
2608
2622
|
] })
|
|
2609
2623
|
] }, i)) });
|
|
2610
|
-
}),
|
|
2624
|
+
}), Oc = R(function({ children: n, onClick: l, disabled: c = !1, tone: s = "default", className: a, ...r }, d) {
|
|
2611
2625
|
return /* @__PURE__ */ e("button", { ref: d, ...r, type: "button", className: `select-linkbtn${s === "critical" ? " select-linkbtn--critical" : ""}${a ? " " + a : ""}`, onClick: l, disabled: c, children: n });
|
|
2612
|
-
}),
|
|
2626
|
+
}), i1 = R(function({ children: n, className: l, ...c }, s) {
|
|
2613
2627
|
return n == null ? /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-divider select-divider--plain${l ? " " + l : ""}`, role: "separator" }) : /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-divider${l ? " " + l : ""}`, children: n });
|
|
2614
|
-
}),
|
|
2628
|
+
}), Hc = R(function({ name: n, src: l, icon: c, dashed: s = !1, round: a = !1, className: r, ...d }, o) {
|
|
2615
2629
|
var u, h;
|
|
2616
2630
|
const i = ((h = (u = n == null ? void 0 : n.trim()) == null ? void 0 : u[0]) == null ? void 0 : h.toUpperCase()) ?? "?";
|
|
2617
2631
|
return /* @__PURE__ */ e("span", { ref: o, ...d, className: `select-avatar${s ? " select-avatar--dashed" : ""}${a ? " select-avatar--round" : ""}${r ? " " + r : ""}`, "aria-hidden": "true", children: l ? /* @__PURE__ */ e("img", { src: l, alt: "", className: "select-avatar__img" }) : c ? /* @__PURE__ */ e("span", { className: "select-avatar__icon", children: c }) : /* @__PURE__ */ e("span", { className: "select-avatar__initial", children: i }) });
|
|
2618
2632
|
});
|
|
2619
|
-
function
|
|
2633
|
+
function hl() {
|
|
2620
2634
|
var t;
|
|
2621
2635
|
return typeof window < "u" && !!((t = window.matchMedia) != null && t.call(window, "(prefers-reduced-motion: reduce)").matches);
|
|
2622
2636
|
}
|
|
2623
|
-
const
|
|
2637
|
+
const ul = () => typeof IntersectionObserver < "u";
|
|
2624
2638
|
function Et(t = {}) {
|
|
2625
2639
|
const n = q(null), l = q(t);
|
|
2626
2640
|
return l.current = t, Be(() => {
|
|
@@ -2638,7 +2652,7 @@ function Et(t = {}) {
|
|
|
2638
2652
|
once: f = !0,
|
|
2639
2653
|
enabled: g = !0
|
|
2640
2654
|
} = l.current;
|
|
2641
|
-
if (!g ||
|
|
2655
|
+
if (!g || hl()) return;
|
|
2642
2656
|
const v = s ? Array.from(c.querySelectorAll(s)) : [], x = v.length ? v : [c], N = { opacity: 0, y: a, ...r !== 1 ? { scale: r } : {} };
|
|
2643
2657
|
let $;
|
|
2644
2658
|
const _ = () => {
|
|
@@ -2653,7 +2667,7 @@ function Et(t = {}) {
|
|
|
2653
2667
|
clearProps: "transform"
|
|
2654
2668
|
});
|
|
2655
2669
|
};
|
|
2656
|
-
if (!h || !
|
|
2670
|
+
if (!h || !ul())
|
|
2657
2671
|
return _(), () => $ == null ? void 0 : $.kill();
|
|
2658
2672
|
Me.set(x, N);
|
|
2659
2673
|
const p = new IntersectionObserver(
|
|
@@ -2668,7 +2682,7 @@ function Et(t = {}) {
|
|
|
2668
2682
|
};
|
|
2669
2683
|
}, []), n;
|
|
2670
2684
|
}
|
|
2671
|
-
function
|
|
2685
|
+
function jc(t) {
|
|
2672
2686
|
const n = q(null), l = q(t);
|
|
2673
2687
|
return l.current = t, Be(() => {
|
|
2674
2688
|
const c = n.current;
|
|
@@ -2684,7 +2698,7 @@ function Hc(t) {
|
|
|
2684
2698
|
enabled: h = !0
|
|
2685
2699
|
} = l.current;
|
|
2686
2700
|
if (!h) return;
|
|
2687
|
-
if (
|
|
2701
|
+
if (hl()) {
|
|
2688
2702
|
c.textContent = o(s);
|
|
2689
2703
|
return;
|
|
2690
2704
|
}
|
|
@@ -2700,7 +2714,7 @@ function Hc(t) {
|
|
|
2700
2714
|
}
|
|
2701
2715
|
});
|
|
2702
2716
|
};
|
|
2703
|
-
if (!i || !
|
|
2717
|
+
if (!i || !ul())
|
|
2704
2718
|
return v(), () => g == null ? void 0 : g.kill();
|
|
2705
2719
|
c.textContent = o(a);
|
|
2706
2720
|
const x = new IntersectionObserver(
|
|
@@ -2715,11 +2729,11 @@ function Hc(t) {
|
|
|
2715
2729
|
};
|
|
2716
2730
|
}, [t.value]), n;
|
|
2717
2731
|
}
|
|
2718
|
-
function
|
|
2732
|
+
function d1({ children: t, className: n, ...l }) {
|
|
2719
2733
|
const c = Et({ selector: ".select-optionrow", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
|
|
2720
2734
|
return /* @__PURE__ */ e("div", { ...l, className: `select-optionlist${n ? " " + n : ""}`, ref: c, children: t });
|
|
2721
2735
|
}
|
|
2722
|
-
function
|
|
2736
|
+
function h1({
|
|
2723
2737
|
title: t,
|
|
2724
2738
|
subtitle: n,
|
|
2725
2739
|
leading: l,
|
|
@@ -2737,7 +2751,7 @@ function d1({
|
|
|
2737
2751
|
] }), i = `select-optionrow${a ? " select-optionrow--muted" : ""}`;
|
|
2738
2752
|
return r ? /* @__PURE__ */ e("button", { type: "button", className: i, onClick: s, children: o }) : /* @__PURE__ */ e("div", { className: i, children: o });
|
|
2739
2753
|
}
|
|
2740
|
-
const
|
|
2754
|
+
const u1 = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix: s = "Conectado como", className: a, ...r }, d) {
|
|
2741
2755
|
return /* @__PURE__ */ m("span", { ref: d, ...r, className: `select-identity${a ? " " + a : ""}`, children: [
|
|
2742
2756
|
/* @__PURE__ */ m("span", { className: "select-identity__text", children: [
|
|
2743
2757
|
s,
|
|
@@ -2746,7 +2760,7 @@ const h1 = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
|
|
|
2746
2760
|
] }),
|
|
2747
2761
|
l && /* @__PURE__ */ e("button", { type: "button", className: "select-identity__action", onClick: l, children: c })
|
|
2748
2762
|
] });
|
|
2749
|
-
}),
|
|
2763
|
+
}), p1 = R(function({ value: n, onChange: l, length: c = 6, onComplete: s, autoFocus: a = !1, disabled: r = !1, className: d, ...o }, i) {
|
|
2750
2764
|
const u = q([]), h = Array.from({ length: c }, (_, p) => n[p] ?? ""), f = (_) => {
|
|
2751
2765
|
var p;
|
|
2752
2766
|
return (p = u.current[_]) == null ? void 0 : p.focus();
|
|
@@ -2803,18 +2817,18 @@ const h1 = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
|
|
|
2803
2817
|
p
|
|
2804
2818
|
)) });
|
|
2805
2819
|
});
|
|
2806
|
-
function
|
|
2820
|
+
function m1({
|
|
2807
2821
|
children: t = "Voltar",
|
|
2808
2822
|
onClick: n,
|
|
2809
2823
|
href: l
|
|
2810
2824
|
}) {
|
|
2811
2825
|
const c = /* @__PURE__ */ m(ae, { children: [
|
|
2812
|
-
/* @__PURE__ */ e(
|
|
2826
|
+
/* @__PURE__ */ e(Tn, {}),
|
|
2813
2827
|
/* @__PURE__ */ e("span", { children: t })
|
|
2814
2828
|
] });
|
|
2815
2829
|
return l ? /* @__PURE__ */ e("a", { className: "select-backlink", href: l, children: c }) : /* @__PURE__ */ e("button", { type: "button", className: "select-backlink", onClick: n, children: c });
|
|
2816
2830
|
}
|
|
2817
|
-
const
|
|
2831
|
+
const f1 = R(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar código", className: s, ...a }, r) {
|
|
2818
2832
|
const [d, o] = D(l);
|
|
2819
2833
|
le(() => {
|
|
2820
2834
|
if (d <= 0) return;
|
|
@@ -2825,30 +2839,30 @@ const m1 = R(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar c
|
|
|
2825
2839
|
d > 0 || (n(), o(l));
|
|
2826
2840
|
}, [d, n, l]), u = d > 0, h = u ? `Reenviar em 0:${String(d).padStart(2, "0")}` : c;
|
|
2827
2841
|
return /* @__PURE__ */ e("button", { ref: r, ...a, type: "button", className: `select-resend${s ? " " + s : ""}`, onClick: i, disabled: u, children: h });
|
|
2828
|
-
}),
|
|
2842
|
+
}), fn = [
|
|
2829
2843
|
{ label: "Muito fraca", cls: "is-0" },
|
|
2830
2844
|
{ label: "Fraca", cls: "is-1" },
|
|
2831
2845
|
{ label: "Razoável", cls: "is-2" },
|
|
2832
2846
|
{ label: "Forte", cls: "is-3" },
|
|
2833
2847
|
{ label: "Excelente", cls: "is-4" }
|
|
2834
2848
|
];
|
|
2835
|
-
function
|
|
2849
|
+
function Vc(t) {
|
|
2836
2850
|
if (!t) return 0;
|
|
2837
2851
|
let n = 0;
|
|
2838
2852
|
return t.length >= 8 && n++, t.length >= 12 && n++, /[a-z]/.test(t) && /[A-Z]/.test(t) && n++, /\d/.test(t) && /[^A-Za-z0-9]/.test(t) && n++, Math.min(n, 4);
|
|
2839
2853
|
}
|
|
2840
|
-
const
|
|
2841
|
-
const a =
|
|
2854
|
+
const _1 = R(function({ value: n, className: l, ...c }, s) {
|
|
2855
|
+
const a = Vc(n), r = fn[a] ?? fn[0];
|
|
2842
2856
|
return /* @__PURE__ */ m("div", { ref: s, ...c, className: `select-strength${l ? " " + l : ""}`, "aria-hidden": !n, children: [
|
|
2843
2857
|
/* @__PURE__ */ e("div", { className: `select-strength__bars select-strength__bars--${r.cls}`, children: [0, 1, 2, 3].map((d) => /* @__PURE__ */ e("span", { className: `select-strength__bar${d < a ? " is-on" : ""}` }, d)) }),
|
|
2844
2858
|
n && /* @__PURE__ */ e("span", { className: "select-strength__label", children: r.label })
|
|
2845
2859
|
] });
|
|
2846
|
-
}),
|
|
2860
|
+
}), Zc = R(function({ label: n, mark: l, className: c, ...s }, a) {
|
|
2847
2861
|
return /* @__PURE__ */ m("div", { ref: a, ...s, className: `select-loader${c ? " " + c : ""}`, role: "status", "aria-live": "polite", children: [
|
|
2848
2862
|
l != null ? /* @__PURE__ */ e("span", { className: "select-loader__mark", "aria-hidden": "true", children: l }) : /* @__PURE__ */ e("span", { className: "select-loader__spinner", "aria-hidden": "true" }),
|
|
2849
2863
|
n && /* @__PURE__ */ e("span", { className: "select-loader__label", children: n })
|
|
2850
2864
|
] });
|
|
2851
|
-
}),
|
|
2865
|
+
}), Gc = R(function({ title: n, subtitle: l, primaryAction: c, secondaryActions: s, headerActions: a, backAction: r, children: d, className: o, ...i }, u) {
|
|
2852
2866
|
const h = !!c || s && s.length > 0 || !!a, f = r || n || l || h;
|
|
2853
2867
|
return /* @__PURE__ */ m("div", { ref: u, ...i, className: `select select-page${o ? " " + o : ""}`, children: [
|
|
2854
2868
|
f && /* @__PURE__ */ m("div", { className: "select-page__header", children: [
|
|
@@ -2860,7 +2874,7 @@ const f1 = R(function({ value: n, className: l, ...c }, s) {
|
|
|
2860
2874
|
className: "select-page__back",
|
|
2861
2875
|
onClick: r.onAction,
|
|
2862
2876
|
"aria-label": r.content ?? "Voltar",
|
|
2863
|
-
children: /* @__PURE__ */ e(
|
|
2877
|
+
children: /* @__PURE__ */ e(Tn, {})
|
|
2864
2878
|
}
|
|
2865
2879
|
),
|
|
2866
2880
|
/* @__PURE__ */ m("div", { className: "select-page__head", children: [
|
|
@@ -2902,48 +2916,48 @@ const f1 = R(function({ value: n, className: l, ...c }, s) {
|
|
|
2902
2916
|
d
|
|
2903
2917
|
] });
|
|
2904
2918
|
});
|
|
2905
|
-
function
|
|
2919
|
+
function Uc({ children: t }) {
|
|
2906
2920
|
return /* @__PURE__ */ e("div", { className: "select-formlayout", children: t });
|
|
2907
2921
|
}
|
|
2908
|
-
function
|
|
2922
|
+
function qc({ children: t, columns: n = 2 }) {
|
|
2909
2923
|
return /* @__PURE__ */ e("div", { className: "select-formlayout__group", style: { "--cols": String(n) }, children: t });
|
|
2910
2924
|
}
|
|
2911
|
-
const
|
|
2912
|
-
function
|
|
2925
|
+
const v1 = Object.assign(Uc, { Group: qc });
|
|
2926
|
+
function _n({ lines: t = 3 }) {
|
|
2913
2927
|
return /* @__PURE__ */ e("div", { className: "select-skel-body", children: Array.from({ length: Math.max(1, t) }, (n, l) => /* @__PURE__ */ e("div", { className: "select-skeleton select-skel-line" }, l)) });
|
|
2914
2928
|
}
|
|
2915
|
-
function
|
|
2929
|
+
function Yc({ size: t = "medium" }) {
|
|
2916
2930
|
return /* @__PURE__ */ e("div", { className: `select-skeleton select-skel-display select-skel-display--${t}` });
|
|
2917
2931
|
}
|
|
2918
|
-
function
|
|
2932
|
+
function zc({ size: t = "medium" }) {
|
|
2919
2933
|
return /* @__PURE__ */ e("div", { className: `select-skeleton select-skel-thumb select-skel-thumb--${t}` });
|
|
2920
2934
|
}
|
|
2921
|
-
function
|
|
2935
|
+
function Xc({ height: t = 240 }) {
|
|
2922
2936
|
return /* @__PURE__ */ e("div", { className: "select-skeleton select-skel-block", style: { height: t } });
|
|
2923
2937
|
}
|
|
2924
|
-
const
|
|
2938
|
+
const g1 = Object.assign(
|
|
2925
2939
|
function({ lines: n }) {
|
|
2926
|
-
return /* @__PURE__ */ e(
|
|
2940
|
+
return /* @__PURE__ */ e(_n, { lines: n });
|
|
2927
2941
|
},
|
|
2928
|
-
{ Body:
|
|
2929
|
-
),
|
|
2930
|
-
function
|
|
2942
|
+
{ Body: _n, Display: Yc, Thumbnail: zc, Block: Xc }
|
|
2943
|
+
), Kc = { sm: "1rem", md: "1.25rem", lg: "1.5rem" };
|
|
2944
|
+
function b1({
|
|
2931
2945
|
source: t,
|
|
2932
2946
|
tone: n = "inherit",
|
|
2933
2947
|
size: l = "md"
|
|
2934
2948
|
}) {
|
|
2935
2949
|
const c = ["select-icon", n !== "inherit" && n !== "base" ? `select-icon--${n}` : ""].filter(Boolean).join(" ");
|
|
2936
|
-
return /* @__PURE__ */ e("span", { className: c, style: { "--select-icon-size":
|
|
2950
|
+
return /* @__PURE__ */ e("span", { className: c, style: { "--select-icon-size": Kc[l] }, "aria-hidden": "true", children: /* @__PURE__ */ e(t, {}) });
|
|
2937
2951
|
}
|
|
2938
|
-
const
|
|
2939
|
-
const d = l === "warning" || l === "critical" ? /* @__PURE__ */ e(
|
|
2952
|
+
const x1 = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, className: s, ...a }, r) {
|
|
2953
|
+
const d = l === "warning" || l === "critical" ? /* @__PURE__ */ e(Ol, {}) : /* @__PURE__ */ e(Jt, {});
|
|
2940
2954
|
return /* @__PURE__ */ m("div", { ref: r, ...a, className: `select-note select-note--${l}${s ? " " + s : ""}`, children: [
|
|
2941
2955
|
!c && /* @__PURE__ */ e("span", { className: "select-note__icon", children: d }),
|
|
2942
2956
|
/* @__PURE__ */ e("span", { className: "select-note__body", children: n })
|
|
2943
2957
|
] });
|
|
2944
|
-
}),
|
|
2958
|
+
}), y1 = R(function({ children: n, className: l, ...c }, s) {
|
|
2945
2959
|
return /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-settinglist${l ? " " + l : ""}`, children: n });
|
|
2946
|
-
}),
|
|
2960
|
+
}), N1 = R(function({ control: n, title: l, badge: c, description: s, children: a, bodyOpen: r, className: d, ...o }, i) {
|
|
2947
2961
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-setting${d ? " " + d : ""}`, children: [
|
|
2948
2962
|
n && /* @__PURE__ */ e("div", { className: "select-setting__control", children: n }),
|
|
2949
2963
|
/* @__PURE__ */ m("div", { className: "select-setting__main", children: [
|
|
@@ -2961,7 +2975,7 @@ const b1 = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
2961
2975
|
))
|
|
2962
2976
|
] })
|
|
2963
2977
|
] });
|
|
2964
|
-
}),
|
|
2978
|
+
}), M1 = R(function({ title: n, description: l, headerAction: c, footer: s, children: a, tone: r = "default", flush: d = !1, className: o, ...i }, u) {
|
|
2965
2979
|
return /* @__PURE__ */ m("div", { ref: u, ...i, className: `select-panel${r === "highlight" ? " select-panel--highlight" : ""}${o ? " " + o : ""}`, children: [
|
|
2966
2980
|
(n || c) && /* @__PURE__ */ m("div", { className: "select-panel__header", children: [
|
|
2967
2981
|
/* @__PURE__ */ m("div", { className: "select-panel__heading", children: [
|
|
@@ -2973,7 +2987,7 @@ const b1 = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
2973
2987
|
a && /* @__PURE__ */ e("div", { className: `select-panel__body${d ? " select-panel__body--flush" : ""}`, children: a }),
|
|
2974
2988
|
s && /* @__PURE__ */ e("div", { className: "select-panel__footer", children: s })
|
|
2975
2989
|
] });
|
|
2976
|
-
}),
|
|
2990
|
+
}), $1 = R(function({ title: n, description: l, action: c, collapsible: s = !1, defaultOpen: a = !0, children: r, className: d, ...o }, i) {
|
|
2977
2991
|
const [u, h] = D(a);
|
|
2978
2992
|
return s ? /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-section select-section--collapsible${u ? " is-open" : ""}${d ? " " + d : ""}`, children: [
|
|
2979
2993
|
/* @__PURE__ */ m("button", { type: "button", className: "select-section__head select-section__head--toggle", "aria-expanded": u, onClick: () => h((f) => !f), children: [
|
|
@@ -2992,7 +3006,7 @@ const b1 = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
2992
3006
|
/* @__PURE__ */ e("div", { className: "select-section__body", children: r })
|
|
2993
3007
|
] });
|
|
2994
3008
|
});
|
|
2995
|
-
function
|
|
3009
|
+
function k1({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
|
|
2996
3010
|
const r = q(null), [d, o] = D({ left: 0, width: 0 });
|
|
2997
3011
|
Be(() => {
|
|
2998
3012
|
const u = r.current;
|
|
@@ -3036,16 +3050,16 @@ function $1({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
|
|
|
3036
3050
|
c != null && /* @__PURE__ */ e("div", { className: "select-tabs__end", children: c })
|
|
3037
3051
|
] });
|
|
3038
3052
|
}
|
|
3039
|
-
function
|
|
3053
|
+
function pl(t, n) {
|
|
3040
3054
|
var l;
|
|
3041
|
-
return ((l = t.children) == null ? void 0 : l.some((c) => c.id === n ||
|
|
3055
|
+
return ((l = t.children) == null ? void 0 : l.some((c) => c.id === n || pl(c, n))) ?? !1;
|
|
3042
3056
|
}
|
|
3043
|
-
function
|
|
3057
|
+
function Jc({
|
|
3044
3058
|
item: t,
|
|
3045
3059
|
active: n,
|
|
3046
3060
|
onSelect: l
|
|
3047
3061
|
}) {
|
|
3048
|
-
const c =
|
|
3062
|
+
const c = pl(t, n), [s, a] = D(c);
|
|
3049
3063
|
le(() => {
|
|
3050
3064
|
a(c);
|
|
3051
3065
|
}, [c]);
|
|
@@ -3092,13 +3106,13 @@ function Kc({
|
|
|
3092
3106
|
] }) })
|
|
3093
3107
|
] });
|
|
3094
3108
|
}
|
|
3095
|
-
const
|
|
3109
|
+
const w1 = R(function({ sections: n, active: l, onSelect: c, header: s, className: a, ...r }, d) {
|
|
3096
3110
|
return /* @__PURE__ */ m("nav", { ref: d, ...r, className: `select-sidenav${a ? " " + a : ""}`, children: [
|
|
3097
3111
|
s && /* @__PURE__ */ e("div", { className: "select-sidenav__header", children: s }),
|
|
3098
3112
|
n.map((o, i) => /* @__PURE__ */ m("div", { className: "select-sidenav__section", children: [
|
|
3099
3113
|
o.label && /* @__PURE__ */ e("div", { className: "select-sidenav__sectionlabel", children: o.label }),
|
|
3100
3114
|
o.items.map(
|
|
3101
|
-
(u) => u.children ? /* @__PURE__ */ e(
|
|
3115
|
+
(u) => u.children ? /* @__PURE__ */ e(Jc, { item: u, active: l, onSelect: c }, u.id) : /* @__PURE__ */ m(
|
|
3102
3116
|
"button",
|
|
3103
3117
|
{
|
|
3104
3118
|
type: "button",
|
|
@@ -3114,9 +3128,9 @@ const k1 = R(function({ sections: n, active: l, onSelect: c, header: s, classNam
|
|
|
3114
3128
|
)
|
|
3115
3129
|
] }, i))
|
|
3116
3130
|
] });
|
|
3117
|
-
}),
|
|
3131
|
+
}), ml = R(function({ value: n, onChange: l, placeholder: c = "Buscar…", shortcut: s, className: a, ...r }, d) {
|
|
3118
3132
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-search${a ? " " + a : ""}`, children: [
|
|
3119
|
-
/* @__PURE__ */ e("span", { className: "select-search__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
3133
|
+
/* @__PURE__ */ e("span", { className: "select-search__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(Xt, {}) }),
|
|
3120
3134
|
/* @__PURE__ */ e(
|
|
3121
3135
|
"input",
|
|
3122
3136
|
{
|
|
@@ -3129,8 +3143,8 @@ const k1 = R(function({ sections: n, active: l, onSelect: c, header: s, classNam
|
|
|
3129
3143
|
),
|
|
3130
3144
|
s && /* @__PURE__ */ e("kbd", { className: "select-search__kbd", children: s })
|
|
3131
3145
|
] });
|
|
3132
|
-
}),
|
|
3133
|
-
const h =
|
|
3146
|
+
}), Qc = R(function({ columns: n, children: l, empty: c, footer: s, title: a, action: r, filters: d, className: o, ...i }, u) {
|
|
3147
|
+
const h = kl.count(l) === 0, f = h && !!c, g = a != null || r != null || d != null, v = f && !g, x = Et({ selector: ".select-table__row", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 }), N = n.length ? n.map(($) => $.width ?? "minmax(var(--select-table-col-min, 6.5rem), 1fr)").join(" ") : "1fr";
|
|
3134
3148
|
return /* @__PURE__ */ m("div", { ref: u, ...i, className: `select-table${v ? " select-table--empty" : ""}${o ? " " + o : ""}`, style: { "--select-table-cols": N }, children: [
|
|
3135
3149
|
g && /* @__PURE__ */ m("div", { className: "select-table__title", children: [
|
|
3136
3150
|
a != null && /* @__PURE__ */ e("h3", { className: "select-table__titletext", children: a }),
|
|
@@ -3163,62 +3177,62 @@ const k1 = R(function({ sections: n, active: l, onSelect: c, header: s, classNam
|
|
|
3163
3177
|
] }) }),
|
|
3164
3178
|
s && /* @__PURE__ */ e("div", { className: "select-table__footer", children: s })
|
|
3165
3179
|
] });
|
|
3166
|
-
}),
|
|
3180
|
+
}), S1 = R(function({ name: n, secondary: l, src: c, className: s, ...a }, r) {
|
|
3167
3181
|
return /* @__PURE__ */ m("span", { ref: r, ...a, className: `select-usercell${s ? " " + s : ""}`, children: [
|
|
3168
|
-
/* @__PURE__ */ e(
|
|
3182
|
+
/* @__PURE__ */ e(Hc, { name: typeof n == "string" ? n : void 0, src: c }),
|
|
3169
3183
|
/* @__PURE__ */ m("span", { className: "select-usercell__text", children: [
|
|
3170
3184
|
/* @__PURE__ */ e("span", { className: "select-usercell__name", children: n }),
|
|
3171
3185
|
l && /* @__PURE__ */ e("span", { className: "select-usercell__secondary", children: l })
|
|
3172
3186
|
] })
|
|
3173
3187
|
] });
|
|
3174
3188
|
});
|
|
3175
|
-
function
|
|
3189
|
+
function vn({ children: t, onClick: n }) {
|
|
3176
3190
|
return n ? /* @__PURE__ */ e("button", { type: "button", className: "select-table__row select-table__row--clickable", onClick: n, children: t }) : /* @__PURE__ */ e("div", { className: "select-table__row", role: "row", children: t });
|
|
3177
3191
|
}
|
|
3178
|
-
const
|
|
3192
|
+
const gn = R(function({ children: n, align: l = "start", className: c, ...s }, a) {
|
|
3179
3193
|
return /* @__PURE__ */ e("div", { ref: a, ...s, role: "cell", className: `select-table__td select-table__cell--${l}${c ? " " + c : ""}`, children: n });
|
|
3180
|
-
}),
|
|
3194
|
+
}), es = R(function({ icon: n, title: l, subtitle: c, action: s, className: a, ...r }, d) {
|
|
3181
3195
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-table-empty${a ? " " + a : ""}`, children: [
|
|
3182
3196
|
n && /* @__PURE__ */ e("span", { className: "select-table-empty__icon", children: n }),
|
|
3183
3197
|
/* @__PURE__ */ e("p", { className: "select-table-empty__title", children: l }),
|
|
3184
3198
|
c && /* @__PURE__ */ e("p", { className: "select-table-empty__subtitle", children: c }),
|
|
3185
3199
|
s && /* @__PURE__ */ e("div", { className: "select-table-empty__action", children: s })
|
|
3186
3200
|
] });
|
|
3187
|
-
}),
|
|
3201
|
+
}), ts = R(function({ children: n, className: l, ...c }, s) {
|
|
3188
3202
|
return /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-menu${l ? " " + l : ""}`, role: "menu", children: n });
|
|
3189
|
-
}),
|
|
3203
|
+
}), ns = R(function({ children: n, icon: l, trailing: c, onClick: s, active: a = !1, tone: r = "default", className: d, ...o }, i) {
|
|
3190
3204
|
return /* @__PURE__ */ m("button", { ref: i, ...o, type: "button", role: "menuitem", className: `select-menu__item select-menu__item--${r}${a ? " is-active" : ""}${d ? " " + d : ""}`, onClick: s, children: [
|
|
3191
3205
|
l && /* @__PURE__ */ e("span", { className: "select-menu__icon", children: l }),
|
|
3192
3206
|
/* @__PURE__ */ e("span", { className: "select-menu__label", children: n }),
|
|
3193
3207
|
c && /* @__PURE__ */ e("span", { className: "select-menu__trailing", children: c })
|
|
3194
3208
|
] });
|
|
3195
3209
|
});
|
|
3196
|
-
function
|
|
3210
|
+
function C1() {
|
|
3197
3211
|
return /* @__PURE__ */ e("div", { className: "select-menu__divider", role: "separator" });
|
|
3198
3212
|
}
|
|
3199
|
-
const
|
|
3213
|
+
const ls = R(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, r) {
|
|
3200
3214
|
return /* @__PURE__ */ m("button", { ref: r, ...a, type: "button", className: `select-menubtn${c ? " is-active" : ""}${s ? " " + s : ""}`, onClick: l, "aria-haspopup": "menu", "aria-expanded": c, children: [
|
|
3201
3215
|
/* @__PURE__ */ e("span", { children: n }),
|
|
3202
3216
|
/* @__PURE__ */ e("span", { className: "select-menubtn__caret", "aria-hidden": "true", children: /* @__PURE__ */ e(be, {}) })
|
|
3203
3217
|
] });
|
|
3204
|
-
}),
|
|
3218
|
+
}), L1 = R(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, r) {
|
|
3205
3219
|
return /* @__PURE__ */ m("button", { ref: r, ...a, type: "button", className: `select-chip${c ? " select-chip--active" : ""}${s ? " " + s : ""}`, onClick: l, children: [
|
|
3206
3220
|
!c && /* @__PURE__ */ e("span", { className: "select-chip__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(nt, {}) }),
|
|
3207
3221
|
n
|
|
3208
3222
|
] });
|
|
3209
|
-
}),
|
|
3223
|
+
}), A1 = R(function({ label: n, value: l, href: c, onCopy: s, className: a, ...r }, d) {
|
|
3210
3224
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-copyrow${a ? " " + a : ""}`, children: [
|
|
3211
3225
|
n && /* @__PURE__ */ e("span", { className: "select-copyrow__label", children: n }),
|
|
3212
3226
|
/* @__PURE__ */ m("div", { className: "select-copyrow__value", children: [
|
|
3213
3227
|
/* @__PURE__ */ e("span", { className: "select-copyrow__text", children: l }),
|
|
3214
3228
|
/* @__PURE__ */ m("div", { className: "select-copyrow__actions", children: [
|
|
3215
|
-
c && /* @__PURE__ */ e("a", { className: "select-iconbtn select-iconbtn--sm", href: c, target: "_blank", rel: "noreferrer", "aria-label": "Abrir", title: "Abrir", children: /* @__PURE__ */ e(
|
|
3216
|
-
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(
|
|
3229
|
+
c && /* @__PURE__ */ e("a", { className: "select-iconbtn select-iconbtn--sm", href: c, target: "_blank", rel: "noreferrer", "aria-label": "Abrir", title: "Abrir", children: /* @__PURE__ */ e(Wn, {}) }),
|
|
3230
|
+
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Kt, {}), label: "Copiar", onClick: () => s == null ? void 0 : s(l) })
|
|
3217
3231
|
] })
|
|
3218
3232
|
] })
|
|
3219
3233
|
] });
|
|
3220
3234
|
});
|
|
3221
|
-
function
|
|
3235
|
+
function F1({
|
|
3222
3236
|
value: t,
|
|
3223
3237
|
children: n,
|
|
3224
3238
|
truncate: l,
|
|
@@ -3233,9 +3247,9 @@ function A1({
|
|
|
3233
3247
|
return /* @__PURE__ */ m("span", { className: `select-copyid${r === "always" ? " select-copyid--always" : ""}`, children: [
|
|
3234
3248
|
a ? (
|
|
3235
3249
|
// Keep navigation isolated from any row handler; the text alone is the link target.
|
|
3236
|
-
/* @__PURE__ */ e(
|
|
3250
|
+
/* @__PURE__ */ e(wl, { className: "select-copyid__text select-copyid__link", to: a, onClick: (h) => h.stopPropagation(), children: i })
|
|
3237
3251
|
) : /* @__PURE__ */ e("span", { className: "select-copyid__text", children: i }),
|
|
3238
|
-
/* @__PURE__ */ e(
|
|
3252
|
+
/* @__PURE__ */ e(cl, { content: d ? "Copiado" : c, children: /* @__PURE__ */ e(
|
|
3239
3253
|
"button",
|
|
3240
3254
|
{
|
|
3241
3255
|
type: "button",
|
|
@@ -3246,12 +3260,12 @@ function A1({
|
|
|
3246
3260
|
});
|
|
3247
3261
|
},
|
|
3248
3262
|
"aria-label": d ? "Copiado" : c,
|
|
3249
|
-
children: d ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(
|
|
3263
|
+
children: d ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(Kt, {})
|
|
3250
3264
|
}
|
|
3251
3265
|
) })
|
|
3252
3266
|
] });
|
|
3253
3267
|
}
|
|
3254
|
-
const
|
|
3268
|
+
const B1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !1, className: a, ...r }, d) {
|
|
3255
3269
|
const [o, i] = D(c);
|
|
3256
3270
|
return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-collapsible${s ? " select-collapsible--plain" : ""}${o ? " is-open" : ""}${a ? " " + a : ""}`, children: [
|
|
3257
3271
|
/* @__PURE__ */ m("button", { type: "button", className: "select-collapsible__header", onClick: () => i((u) => !u), "aria-expanded": o, children: [
|
|
@@ -3260,7 +3274,7 @@ const F1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3260
3274
|
] }),
|
|
3261
3275
|
/* @__PURE__ */ e("div", { className: "select-collapsible__bodywrap", children: /* @__PURE__ */ e("div", { className: "select-collapsible__bodyclip", "aria-hidden": !o, children: /* @__PURE__ */ e("div", { className: "select-collapsible__body", children: l }) }) })
|
|
3262
3276
|
] });
|
|
3263
|
-
}),
|
|
3277
|
+
}), E1 = R(function({ icon: n, title: l, description: c, action: s, onDismiss: a, className: r, ...d }, o) {
|
|
3264
3278
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-actioncard${r ? " " + r : ""}`, children: [
|
|
3265
3279
|
a && /* @__PURE__ */ e("div", { className: "select-actioncard__dismiss", children: /* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Ke, {}), label: "Dispensar", onClick: a }) }),
|
|
3266
3280
|
n && /* @__PURE__ */ e("span", { className: "select-actioncard__icon", children: n }),
|
|
@@ -3270,7 +3284,7 @@ const F1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3270
3284
|
] }),
|
|
3271
3285
|
s && /* @__PURE__ */ e("div", { className: "select-actioncard__action", children: s })
|
|
3272
3286
|
] });
|
|
3273
|
-
}),
|
|
3287
|
+
}), I1 = R(function({ media: n, sublabel: l, title: c, badge: s, meta: a, accent: r = !0, onClick: d, className: o, ...i }, u) {
|
|
3274
3288
|
return /* @__PURE__ */ m("button", { ref: u, ...i, type: "button", className: `select-tile${o ? " " + o : ""}`, onClick: d, children: [
|
|
3275
3289
|
r && /* @__PURE__ */ e("span", { className: "select-tile__accent", "aria-hidden": "true" }),
|
|
3276
3290
|
/* @__PURE__ */ m("div", { className: "select-tile__main", children: [
|
|
@@ -3285,19 +3299,19 @@ const F1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3285
3299
|
] }),
|
|
3286
3300
|
a && /* @__PURE__ */ e("div", { className: "select-tile__meta", children: a })
|
|
3287
3301
|
] });
|
|
3288
|
-
}),
|
|
3302
|
+
}), P1 = R(function({ label: n, onClick: l, className: c, ...s }, a) {
|
|
3289
3303
|
return /* @__PURE__ */ m("button", { ref: a, ...s, type: "button", className: `select-tile select-tile--create${c ? " " + c : ""}`, onClick: l, children: [
|
|
3290
3304
|
/* @__PURE__ */ e("span", { className: "select-tile__plus", "aria-hidden": "true", children: /* @__PURE__ */ e(nt, {}) }),
|
|
3291
3305
|
/* @__PURE__ */ e("span", { className: "select-tile__createlabel", children: n })
|
|
3292
3306
|
] });
|
|
3293
|
-
}),
|
|
3307
|
+
}), R1 = R(function({ avatar: n, name: l, badge: c, onClick: s, className: a, ...r }, d) {
|
|
3294
3308
|
return /* @__PURE__ */ m("button", { ref: d, ...r, type: "button", className: `select-wsswitcher${a ? " " + a : ""}`, onClick: s, "aria-haspopup": "menu", children: [
|
|
3295
3309
|
n && /* @__PURE__ */ e("span", { className: "select-wsswitcher__avatar", children: n }),
|
|
3296
3310
|
/* @__PURE__ */ e("span", { className: "select-wsswitcher__name", children: l }),
|
|
3297
3311
|
c,
|
|
3298
|
-
/* @__PURE__ */ e("span", { className: "select-wsswitcher__selector", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
3312
|
+
/* @__PURE__ */ e("span", { className: "select-wsswitcher__selector", "aria-hidden": "true", children: /* @__PURE__ */ e(On, {}) })
|
|
3299
3313
|
] });
|
|
3300
|
-
}),
|
|
3314
|
+
}), cs = 220;
|
|
3301
3315
|
function It({
|
|
3302
3316
|
open: t,
|
|
3303
3317
|
onClose: n,
|
|
@@ -3320,7 +3334,7 @@ function It({
|
|
|
3320
3334
|
x(!0);
|
|
3321
3335
|
const _ = setTimeout(() => {
|
|
3322
3336
|
g(!1), x(!1);
|
|
3323
|
-
},
|
|
3337
|
+
}, cs);
|
|
3324
3338
|
return () => clearTimeout(_);
|
|
3325
3339
|
}
|
|
3326
3340
|
}, [t, f]), le(() => {
|
|
@@ -3375,10 +3389,10 @@ function It({
|
|
|
3375
3389
|
document.body
|
|
3376
3390
|
);
|
|
3377
3391
|
}
|
|
3378
|
-
function
|
|
3392
|
+
function D1({ actions: t, label: n = "Ações" }) {
|
|
3379
3393
|
const [l, c] = D(!1);
|
|
3380
3394
|
return /* @__PURE__ */ e(
|
|
3381
|
-
|
|
3395
|
+
We,
|
|
3382
3396
|
{
|
|
3383
3397
|
active: l,
|
|
3384
3398
|
onClose: () => c(!1),
|
|
@@ -3386,7 +3400,7 @@ function R1({ actions: t, label: n = "Ações" }) {
|
|
|
3386
3400
|
activator: /* @__PURE__ */ e(
|
|
3387
3401
|
ge,
|
|
3388
3402
|
{
|
|
3389
|
-
icon: /* @__PURE__ */ e(
|
|
3403
|
+
icon: /* @__PURE__ */ e(Tl, {}),
|
|
3390
3404
|
label: n,
|
|
3391
3405
|
size: "sm",
|
|
3392
3406
|
variant: "outline",
|
|
@@ -3394,11 +3408,11 @@ function R1({ actions: t, label: n = "Ações" }) {
|
|
|
3394
3408
|
onClick: () => c((s) => !s)
|
|
3395
3409
|
}
|
|
3396
3410
|
),
|
|
3397
|
-
children: /* @__PURE__ */ e(
|
|
3411
|
+
children: /* @__PURE__ */ e(ll, { items: t, onAction: () => c(!1) })
|
|
3398
3412
|
}
|
|
3399
3413
|
);
|
|
3400
3414
|
}
|
|
3401
|
-
function
|
|
3415
|
+
function T1({
|
|
3402
3416
|
open: t,
|
|
3403
3417
|
onClose: n,
|
|
3404
3418
|
onConfirm: l,
|
|
@@ -3436,7 +3450,7 @@ function D1({
|
|
|
3436
3450
|
}
|
|
3437
3451
|
);
|
|
3438
3452
|
}
|
|
3439
|
-
function
|
|
3453
|
+
function W1({
|
|
3440
3454
|
open: t,
|
|
3441
3455
|
onClose: n,
|
|
3442
3456
|
onSubmit: l,
|
|
@@ -3491,14 +3505,14 @@ function T1({
|
|
|
3491
3505
|
}
|
|
3492
3506
|
);
|
|
3493
3507
|
}
|
|
3494
|
-
function
|
|
3508
|
+
function ss(t, n) {
|
|
3495
3509
|
const c = [.../* @__PURE__ */ new Set([1, n, t, t - 1, t + 1])].filter((r) => r >= 1 && r <= n).sort((r, d) => r - d), s = [];
|
|
3496
3510
|
let a = 0;
|
|
3497
3511
|
for (const r of c)
|
|
3498
3512
|
r - a > 1 && s.push("gap"), s.push(r), a = r;
|
|
3499
3513
|
return s;
|
|
3500
3514
|
}
|
|
3501
|
-
function
|
|
3515
|
+
function as(t, n, l, c, s, a) {
|
|
3502
3516
|
const r = [];
|
|
3503
3517
|
if (t != null)
|
|
3504
3518
|
if (t === 0)
|
|
@@ -3510,8 +3524,8 @@ function ss(t, n, l, c, s, a) {
|
|
|
3510
3524
|
r.push(`${t} ${s}`);
|
|
3511
3525
|
return a && c != null && c > 0 && r.push(`Página ${l} de ${c}`), r.length > 0 ? r.join(" · ") : null;
|
|
3512
3526
|
}
|
|
3513
|
-
const
|
|
3514
|
-
const v = a ?? n > 1, x = r ?? (l != null ? n < l : !0), N = d ?? (i ? () => i(n - 1) : void 0), $ = o ?? (i ? () => i(n + 1) : void 0), _ = l != null && l > 1 && i != null, p = _ ?
|
|
3527
|
+
const os = R(function({ page: n, pageCount: l, total: c, pageSize: s, hasPrevious: a, hasNext: r, onPrevious: d, onNext: o, onPage: i, noun: u = "resultados", className: h, ...f }, g) {
|
|
3528
|
+
const v = a ?? n > 1, x = r ?? (l != null ? n < l : !0), N = d ?? (i ? () => i(n - 1) : void 0), $ = o ?? (i ? () => i(n + 1) : void 0), _ = l != null && l > 1 && i != null, p = _ ? ss(n, l) : [], b = as(c, s, n, l, u, _);
|
|
3515
3529
|
return /* @__PURE__ */ m("nav", { ref: g, ...f, className: `select-pagination${h ? " " + h : ""}`, "aria-label": "Paginação", children: [
|
|
3516
3530
|
/* @__PURE__ */ m("div", { className: "select-pagination__controls", children: [
|
|
3517
3531
|
/* @__PURE__ */ e(
|
|
@@ -3522,7 +3536,7 @@ const as = R(function({ page: n, pageCount: l, total: c, pageSize: s, hasPreviou
|
|
|
3522
3536
|
onClick: N,
|
|
3523
3537
|
disabled: !v || !N,
|
|
3524
3538
|
"aria-label": "Página anterior",
|
|
3525
|
-
children: /* @__PURE__ */ e(
|
|
3539
|
+
children: /* @__PURE__ */ e(zt, {})
|
|
3526
3540
|
}
|
|
3527
3541
|
),
|
|
3528
3542
|
_ ? p.map(
|
|
@@ -3552,29 +3566,29 @@ const as = R(function({ page: n, pageCount: l, total: c, pageSize: s, hasPreviou
|
|
|
3552
3566
|
] }),
|
|
3553
3567
|
b != null && /* @__PURE__ */ e("p", { className: "select-pagination__count", children: b })
|
|
3554
3568
|
] });
|
|
3555
|
-
}),
|
|
3556
|
-
function
|
|
3569
|
+
}), O1 = "9.5rem", Gt = "select-datatable:hidden-cols:";
|
|
3570
|
+
function rs(t) {
|
|
3557
3571
|
try {
|
|
3558
|
-
const n = localStorage.getItem(
|
|
3572
|
+
const n = localStorage.getItem(Gt + t), l = n ? JSON.parse(n) : null;
|
|
3559
3573
|
return Array.isArray(l) ? l.filter((c) => typeof c == "string") : [];
|
|
3560
3574
|
} catch {
|
|
3561
3575
|
return [];
|
|
3562
3576
|
}
|
|
3563
3577
|
}
|
|
3564
|
-
function
|
|
3578
|
+
function is(t, n) {
|
|
3565
3579
|
try {
|
|
3566
|
-
n.length === 0 ? localStorage.removeItem(
|
|
3580
|
+
n.length === 0 ? localStorage.removeItem(Gt + t) : localStorage.setItem(Gt + t, JSON.stringify(n));
|
|
3567
3581
|
} catch {
|
|
3568
3582
|
}
|
|
3569
3583
|
}
|
|
3570
|
-
function
|
|
3584
|
+
function bn(t) {
|
|
3571
3585
|
return t.hideable ?? !!t.title;
|
|
3572
3586
|
}
|
|
3573
|
-
const
|
|
3574
|
-
function
|
|
3587
|
+
const xn = "select-datatable:page-size:";
|
|
3588
|
+
function H1(t, n, l) {
|
|
3575
3589
|
const [c, s] = D(() => {
|
|
3576
3590
|
try {
|
|
3577
|
-
const r = Number(localStorage.getItem(
|
|
3591
|
+
const r = Number(localStorage.getItem(xn + t));
|
|
3578
3592
|
return Number.isInteger(r) && r > 0 && (!l || l.includes(r)) ? r : n;
|
|
3579
3593
|
} catch {
|
|
3580
3594
|
return n;
|
|
@@ -3583,16 +3597,16 @@ function O1(t, n, l) {
|
|
|
3583
3597
|
return [c, (r) => {
|
|
3584
3598
|
s(r);
|
|
3585
3599
|
try {
|
|
3586
|
-
localStorage.setItem(
|
|
3600
|
+
localStorage.setItem(xn + t, String(r));
|
|
3587
3601
|
} catch {
|
|
3588
3602
|
}
|
|
3589
3603
|
}];
|
|
3590
3604
|
}
|
|
3591
|
-
function
|
|
3605
|
+
function ds(t, n, l) {
|
|
3592
3606
|
const c = t == null || t === "", s = n == null || n === "";
|
|
3593
3607
|
return c || s ? c && s ? 0 : c ? 1 : -1 : typeof t == "number" && typeof n == "number" ? l * (t - n) : l * String(t).localeCompare(String(n), "pt-BR", { numeric: !0, sensitivity: "base" });
|
|
3594
3608
|
}
|
|
3595
|
-
function
|
|
3609
|
+
function j1({
|
|
3596
3610
|
columns: t,
|
|
3597
3611
|
items: n,
|
|
3598
3612
|
getId: l,
|
|
@@ -3605,10 +3619,10 @@ function H1({
|
|
|
3605
3619
|
filters: i,
|
|
3606
3620
|
columnsKey: u
|
|
3607
3621
|
}) {
|
|
3608
|
-
const [h, f] = D(() => u ?
|
|
3622
|
+
const [h, f] = D(() => u ? rs(u) : []), [g, v] = D(!1), [x, N] = D(!1), $ = xe(() => new Set(h), [h]), _ = t.filter(bn), p = _.length > 0 && _.every((I) => $.has(I.key)), b = (I) => !p && $.has(I.key) && bn(I), S = t.filter((I) => !b(I)), k = _.filter((I) => !b(I)), [M, w] = D(null), y = (I) => {
|
|
3609
3623
|
f((O) => {
|
|
3610
3624
|
const W = !O.includes(I.key), Z = W ? [...O, I.key] : O.filter((G) => G !== I.key);
|
|
3611
|
-
return u &&
|
|
3625
|
+
return u && is(u, Z), W && w((G) => G && G.key === I.key ? null : G), Z;
|
|
3612
3626
|
});
|
|
3613
3627
|
}, C = (I) => {
|
|
3614
3628
|
w((O) => {
|
|
@@ -3619,7 +3633,7 @@ function H1({
|
|
|
3619
3633
|
const I = L == null ? void 0 : L.sortValue;
|
|
3620
3634
|
if (!M || !I) return n;
|
|
3621
3635
|
const O = M.dir === "asc" ? 1 : -1;
|
|
3622
|
-
return [...n].sort((W, Z) =>
|
|
3636
|
+
return [...n].sort((W, Z) => ds(I(W), I(Z), O));
|
|
3623
3637
|
}, [n, M, L]), A = S.map((I) => ({
|
|
3624
3638
|
label: I.title,
|
|
3625
3639
|
align: I.align,
|
|
@@ -3627,8 +3641,8 @@ function H1({
|
|
|
3627
3641
|
sortable: !!I.sortValue,
|
|
3628
3642
|
sortDir: (M == null ? void 0 : M.key) === I.key ? M.dir : null,
|
|
3629
3643
|
onSort: I.sortValue ? () => C(I) : void 0
|
|
3630
|
-
})), F = !c && s ? /* @__PURE__ */ e(
|
|
3631
|
-
|
|
3644
|
+
})), F = !c && s ? /* @__PURE__ */ e(es, { icon: s.icon, title: s.heading, subtitle: s.text, action: s.action }) : void 0, E = u && _.length > 0 ? /* @__PURE__ */ e(
|
|
3645
|
+
We,
|
|
3632
3646
|
{
|
|
3633
3647
|
active: g,
|
|
3634
3648
|
onClose: () => v(!1),
|
|
@@ -3637,7 +3651,7 @@ function H1({
|
|
|
3637
3651
|
activator: /* @__PURE__ */ e(
|
|
3638
3652
|
ge,
|
|
3639
3653
|
{
|
|
3640
|
-
icon: /* @__PURE__ */ e(
|
|
3654
|
+
icon: /* @__PURE__ */ e(Yl, {}),
|
|
3641
3655
|
label: "Colunas",
|
|
3642
3656
|
size: "sm",
|
|
3643
3657
|
active: g,
|
|
@@ -3667,13 +3681,13 @@ function H1({
|
|
|
3667
3681
|
}
|
|
3668
3682
|
) : null;
|
|
3669
3683
|
return /* @__PURE__ */ m("div", { className: "select-datatable", children: [
|
|
3670
|
-
/* @__PURE__ */ e(
|
|
3684
|
+
/* @__PURE__ */ e(Qc, { columns: A, empty: F, title: d, filters: i, action: E ? /* @__PURE__ */ m("span", { className: "select-datatable__toolbar", children: [
|
|
3671
3685
|
o,
|
|
3672
3686
|
E
|
|
3673
|
-
] }) : o, children: c ? Array.from({ length: 5 }, (I, O) => /* @__PURE__ */ e(
|
|
3687
|
+
] }) : o, children: c ? Array.from({ length: 5 }, (I, O) => /* @__PURE__ */ e(vn, { children: S.map((W, Z) => /* @__PURE__ */ e(gn, { align: W.align, width: W.width, children: /* @__PURE__ */ e("span", { className: "select-skeleton select-datatable__skel" }) }, Z)) }, `skeleton-${O}`)) : B.map((I) => /* @__PURE__ */ e(vn, { onClick: r ? () => r(I) : void 0, children: S.map((O, W) => /* @__PURE__ */ e(gn, { align: O.align, width: O.width, children: O.render(I) }, W)) }, l(I))) }),
|
|
3674
3688
|
a && /* @__PURE__ */ m("div", { className: "select-datatable__pagination", children: [
|
|
3675
3689
|
a.pageSizeOptions && a.pageSizeOptions.length > 1 && a.onPageSizeChange && /* @__PURE__ */ e("div", { className: "select-datatable__pagesize", children: /* @__PURE__ */ e(
|
|
3676
|
-
|
|
3690
|
+
We,
|
|
3677
3691
|
{
|
|
3678
3692
|
active: x,
|
|
3679
3693
|
onClose: () => N(!1),
|
|
@@ -3723,7 +3737,7 @@ function H1({
|
|
|
3723
3737
|
}
|
|
3724
3738
|
) }),
|
|
3725
3739
|
/* @__PURE__ */ e(
|
|
3726
|
-
|
|
3740
|
+
os,
|
|
3727
3741
|
{
|
|
3728
3742
|
page: a.page ?? 1,
|
|
3729
3743
|
pageCount: a.pageCount,
|
|
@@ -3740,7 +3754,7 @@ function H1({
|
|
|
3740
3754
|
] })
|
|
3741
3755
|
] });
|
|
3742
3756
|
}
|
|
3743
|
-
const
|
|
3757
|
+
const hs = ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"], us = [
|
|
3744
3758
|
"Janeiro",
|
|
3745
3759
|
"Fevereiro",
|
|
3746
3760
|
"Março",
|
|
@@ -3753,29 +3767,29 @@ const ds = ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"], hs = [
|
|
|
3753
3767
|
"Outubro",
|
|
3754
3768
|
"Novembro",
|
|
3755
3769
|
"Dezembro"
|
|
3756
|
-
], De = (t) => String(t).padStart(2, "0"), ct = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), vt = (t) => new Date(t.getFullYear(), t.getMonth(), 1),
|
|
3757
|
-
function
|
|
3770
|
+
], De = (t) => String(t).padStart(2, "0"), ct = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), vt = (t) => new Date(t.getFullYear(), t.getMonth(), 1), yn = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), Nn = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), Mn = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate();
|
|
3771
|
+
function ps(t) {
|
|
3758
3772
|
const n = /^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}):(\d{2}))?/.exec(t || "");
|
|
3759
3773
|
return n ? new Date(Number(n[1]), Number(n[2]) - 1, Number(n[3]), Number(n[4] ?? 0), Number(n[5] ?? 0)) : null;
|
|
3760
3774
|
}
|
|
3761
|
-
function
|
|
3775
|
+
function $n(t, n) {
|
|
3762
3776
|
const l = `${t.getFullYear()}-${De(t.getMonth() + 1)}-${De(t.getDate())}`;
|
|
3763
3777
|
return n ? `${l}T${De(t.getHours())}:${De(t.getMinutes())}` : l;
|
|
3764
3778
|
}
|
|
3765
|
-
function
|
|
3779
|
+
function ms(t, n) {
|
|
3766
3780
|
const l = `${De(t.getDate())}/${De(t.getMonth() + 1)}/${t.getFullYear()}`;
|
|
3767
3781
|
return n ? `${l} ${De(t.getHours())}:${De(t.getMinutes())}` : l;
|
|
3768
3782
|
}
|
|
3769
|
-
const
|
|
3770
|
-
const $ = te(), _ = g ?? $, [p, b] = D(!1), S =
|
|
3783
|
+
const fs = R(function({ label: n, value: l, onChange: c, showTime: s = !1, placeholder: a, required: r, disabled: d, error: o, hint: i, minDate: u, maxDate: h, clearable: f = !0, id: g, className: v, ...x }, N) {
|
|
3784
|
+
const $ = te(), _ = g ?? $, [p, b] = D(!1), S = ps(l), [k, M] = D(() => vt(S ?? /* @__PURE__ */ new Date())), w = u ? ct(u) : null, y = h ? ct(h) : null, C = (W) => !!w && ct(W) < w || !!y && ct(W) > y, L = yn(vt(k), -vt(k).getDay()), B = Array.from({ length: 42 }, (W, Z) => yn(L, Z)), A = ct(/* @__PURE__ */ new Date()), F = () => {
|
|
3771
3785
|
d || (M(vt(S ?? /* @__PURE__ */ new Date())), b((W) => !W));
|
|
3772
3786
|
}, E = (W) => {
|
|
3773
3787
|
if (C(W)) return;
|
|
3774
3788
|
const Z = new Date(W);
|
|
3775
|
-
s && Z.setHours((S == null ? void 0 : S.getHours()) ?? 0, (S == null ? void 0 : S.getMinutes()) ?? 0, 0, 0), c(
|
|
3789
|
+
s && Z.setHours((S == null ? void 0 : S.getHours()) ?? 0, (S == null ? void 0 : S.getMinutes()) ?? 0, 0, 0), c($n(Z, s)), s || b(!1);
|
|
3776
3790
|
}, T = (W) => {
|
|
3777
3791
|
const [Z = "", G = ""] = W.split(":"), J = Number(Z), ie = Number(G), fe = new Date(S ?? A);
|
|
3778
|
-
fe.setHours(Number.isFinite(J) ? J : 0, Number.isFinite(ie) ? ie : 0, 0, 0), c(
|
|
3792
|
+
fe.setHours(Number.isFinite(J) ? J : 0, Number.isFinite(ie) ? ie : 0, 0, 0), c($n(fe, !0));
|
|
3779
3793
|
}, I = () => {
|
|
3780
3794
|
c(""), b(!1);
|
|
3781
3795
|
}, O = /* @__PURE__ */ m("div", { className: `select-input-wrap${o ? " select-input-wrap--error" : ""}`, children: [
|
|
@@ -3790,27 +3804,27 @@ const ms = R(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
3790
3804
|
"aria-haspopup": "dialog",
|
|
3791
3805
|
"aria-expanded": p,
|
|
3792
3806
|
"aria-invalid": o ? !0 : void 0,
|
|
3793
|
-
children: S ?
|
|
3807
|
+
children: S ? ms(S, s) : /* @__PURE__ */ e("span", { className: "select-datefield__ph", children: a ?? (s ? "Selecione data e hora" : "Selecione uma data") })
|
|
3794
3808
|
}
|
|
3795
3809
|
),
|
|
3796
|
-
/* @__PURE__ */ e("span", { className: "select-datefield__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
3810
|
+
/* @__PURE__ */ e("span", { className: "select-datefield__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(Gn, {}) })
|
|
3797
3811
|
] });
|
|
3798
3812
|
return /* @__PURE__ */ m("div", { ref: N, ...x, className: `select-field${v ? " " + v : ""}`, children: [
|
|
3799
3813
|
n && /* @__PURE__ */ e(lt, { htmlFor: _, label: r ? `${n} *` : n }),
|
|
3800
|
-
/* @__PURE__ */ e("div", { className: "select-datefield", children: /* @__PURE__ */ e(
|
|
3814
|
+
/* @__PURE__ */ e("div", { className: "select-datefield", children: /* @__PURE__ */ e(We, { active: p, onClose: () => b(!1), placement: "bottom-start", role: "dialog", activator: O, children: /* @__PURE__ */ m("div", { className: "select-datefield__pop", children: [
|
|
3801
3815
|
/* @__PURE__ */ m("div", { className: "select-datepicker__calhead", children: [
|
|
3802
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => M((W) =>
|
|
3816
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => M((W) => Nn(W, -1)), children: /* @__PURE__ */ e(zt, {}) }),
|
|
3803
3817
|
/* @__PURE__ */ m("span", { className: "select-datepicker__monthlabel", children: [
|
|
3804
|
-
|
|
3818
|
+
us[k.getMonth()],
|
|
3805
3819
|
" ",
|
|
3806
3820
|
k.getFullYear()
|
|
3807
3821
|
] }),
|
|
3808
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => M((W) =>
|
|
3822
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => M((W) => Nn(W, 1)), children: /* @__PURE__ */ e(dt, {}) })
|
|
3809
3823
|
] }),
|
|
3810
3824
|
/* @__PURE__ */ m("div", { className: "select-datepicker__grid", role: "grid", children: [
|
|
3811
|
-
|
|
3825
|
+
hs.map((W) => /* @__PURE__ */ e("div", { className: "select-datepicker__weekday", children: W }, W)),
|
|
3812
3826
|
B.map((W) => {
|
|
3813
|
-
const Z = W.getMonth() !== k.getMonth(), G = !!S &&
|
|
3827
|
+
const Z = W.getMonth() !== k.getMonth(), G = !!S && Mn(W, S), J = "select-datepicker__daybtn" + (G ? " is-selected" : "") + (Mn(W, A) && !G ? " is-today" : "") + (Z ? " is-outside" : "");
|
|
3814
3828
|
return /* @__PURE__ */ e("div", { className: "select-datepicker__day", children: /* @__PURE__ */ e("button", { type: "button", className: J, disabled: C(W), onClick: () => E(W), children: W.getDate() }) }, W.getTime());
|
|
3815
3829
|
})
|
|
3816
3830
|
] }),
|
|
@@ -3838,11 +3852,11 @@ const ms = R(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
3838
3852
|
o ? /* @__PURE__ */ e("p", { id: `${_}-err`, className: "select-field__error", children: o }) : i ? /* @__PURE__ */ e("p", { id: `${_}-hint`, className: "select-field__hint", children: i }) : null
|
|
3839
3853
|
] });
|
|
3840
3854
|
});
|
|
3841
|
-
function
|
|
3855
|
+
function fl(t, n) {
|
|
3842
3856
|
var l, c;
|
|
3843
3857
|
return t.type === "select" ? ((c = (l = t.options) == null ? void 0 : l.find((s) => s.value === n)) == null ? void 0 : c.label) ?? n : n;
|
|
3844
3858
|
}
|
|
3845
|
-
function
|
|
3859
|
+
function _s({
|
|
3846
3860
|
filter: t,
|
|
3847
3861
|
value: n,
|
|
3848
3862
|
onChange: l,
|
|
@@ -3855,9 +3869,9 @@ function fs({
|
|
|
3855
3869
|
le(() => {
|
|
3856
3870
|
c || o("");
|
|
3857
3871
|
}, [c]);
|
|
3858
|
-
const i = n.trim() !== "", u = i ?
|
|
3872
|
+
const i = n.trim() !== "", u = i ? fl(t, n) : null, h = t.options ?? [], f = h.length > 7, g = f ? h.filter((v) => v.label.toLowerCase().includes(d.trim().toLowerCase())) : h;
|
|
3859
3873
|
return /* @__PURE__ */ m(
|
|
3860
|
-
|
|
3874
|
+
We,
|
|
3861
3875
|
{
|
|
3862
3876
|
active: c,
|
|
3863
3877
|
onClose: a,
|
|
@@ -3878,7 +3892,7 @@ function fs({
|
|
|
3878
3892
|
),
|
|
3879
3893
|
children: [
|
|
3880
3894
|
t.type === "select" ? /* @__PURE__ */ m("div", { className: "select-facet__panel", children: [
|
|
3881
|
-
f && /* @__PURE__ */ e("div", { className: "select-facet__search", children: /* @__PURE__ */ e(
|
|
3895
|
+
f && /* @__PURE__ */ e("div", { className: "select-facet__search", children: /* @__PURE__ */ e(ml, { value: d, onChange: o, placeholder: "Buscar opção…" }) }),
|
|
3882
3896
|
/* @__PURE__ */ e("div", { className: "select-facet__options", role: "listbox", children: g.length === 0 ? /* @__PURE__ */ e("div", { className: "select-facet__empty", children: "Nada encontrado" }) : g.map((v) => {
|
|
3883
3897
|
const x = n === v.value;
|
|
3884
3898
|
return /* @__PURE__ */ m(
|
|
@@ -3899,14 +3913,14 @@ function fs({
|
|
|
3899
3913
|
v.value
|
|
3900
3914
|
);
|
|
3901
3915
|
}) })
|
|
3902
|
-
] }) : t.type === "date" ? /* @__PURE__ */ e("div", { className: "select-facet__field", children: /* @__PURE__ */ e(
|
|
3916
|
+
] }) : t.type === "date" ? /* @__PURE__ */ e("div", { className: "select-facet__field", children: /* @__PURE__ */ e(fs, { value: n, onChange: l, placeholder: t.placeholder, clearable: !1 }) }) : /* @__PURE__ */ e(
|
|
3903
3917
|
"div",
|
|
3904
3918
|
{
|
|
3905
3919
|
className: "select-facet__field",
|
|
3906
3920
|
onKeyDown: (v) => {
|
|
3907
3921
|
v.key === "Enter" && (v.preventDefault(), a());
|
|
3908
3922
|
},
|
|
3909
|
-
children: /* @__PURE__ */ e(
|
|
3923
|
+
children: /* @__PURE__ */ e(Ze, { type: "text", value: n, onChange: l, placeholder: t.placeholder, autoFocus: !0 })
|
|
3910
3924
|
}
|
|
3911
3925
|
),
|
|
3912
3926
|
i && /* @__PURE__ */ e("div", { className: "select-facet__foot", children: /* @__PURE__ */ e(
|
|
@@ -3924,7 +3938,7 @@ function fs({
|
|
|
3924
3938
|
}
|
|
3925
3939
|
);
|
|
3926
3940
|
}
|
|
3927
|
-
const
|
|
3941
|
+
const V1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, search: a, disabled: r, className: d, ...o }, i) {
|
|
3928
3942
|
const [u, h] = D([]), [f, g] = D(null), [v, x] = D(!1), N = (M) => (l[M.key] ?? "").trim() !== "", $ = (M) => !!M.pinned || N(M) || u.includes(M.key), _ = n.filter($), p = n.filter((M) => !$(M)), b = n.filter(N), S = () => {
|
|
3929
3943
|
h([]), g(null), s();
|
|
3930
3944
|
}, k = (M) => {
|
|
@@ -3933,7 +3947,7 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
3933
3947
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-filterbar${d ? " " + d : ""}`, children: [
|
|
3934
3948
|
/* @__PURE__ */ m("div", { className: "select-filterbar__row", children: [
|
|
3935
3949
|
a && /* @__PURE__ */ m("div", { className: "select-filterbar__query", children: [
|
|
3936
|
-
/* @__PURE__ */ e("span", { className: "select-filterbar__query-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
3950
|
+
/* @__PURE__ */ e("span", { className: "select-filterbar__query-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(Xt, {}) }),
|
|
3937
3951
|
/* @__PURE__ */ e(
|
|
3938
3952
|
"input",
|
|
3939
3953
|
{
|
|
@@ -3957,7 +3971,7 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
3957
3971
|
)
|
|
3958
3972
|
] }),
|
|
3959
3973
|
_.map((M) => /* @__PURE__ */ e(
|
|
3960
|
-
|
|
3974
|
+
_s,
|
|
3961
3975
|
{
|
|
3962
3976
|
filter: M,
|
|
3963
3977
|
value: l[M.key] ?? "",
|
|
@@ -3970,7 +3984,7 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
3970
3984
|
M.key
|
|
3971
3985
|
)),
|
|
3972
3986
|
p.length > 0 && /* @__PURE__ */ e(
|
|
3973
|
-
|
|
3987
|
+
We,
|
|
3974
3988
|
{
|
|
3975
3989
|
active: v,
|
|
3976
3990
|
onClose: () => x(!1),
|
|
@@ -4007,7 +4021,7 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4007
4021
|
b.map((M) => /* @__PURE__ */ m("span", { className: "select-filterbar__tag", children: [
|
|
4008
4022
|
M.label,
|
|
4009
4023
|
": ",
|
|
4010
|
-
|
|
4024
|
+
fl(M, l[M.key] ?? ""),
|
|
4011
4025
|
/* @__PURE__ */ e(
|
|
4012
4026
|
"button",
|
|
4013
4027
|
{
|
|
@@ -4022,12 +4036,12 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4022
4036
|
/* @__PURE__ */ e("button", { type: "button", className: "select-filterbar__clear", onClick: S, children: "Limpar tudo" })
|
|
4023
4037
|
] })
|
|
4024
4038
|
] });
|
|
4025
|
-
}),
|
|
4039
|
+
}), Z1 = R(function({ label: n, options: l, selected: c, onChange: s, placeholder: a = "Selecionar…", hint: r, error: d, onBlur: o, size: i = "md", className: u, ...h }, f) {
|
|
4026
4040
|
const [g, v] = D(!1), [x, N] = D(""), $ = l.filter((b) => b.label.toLowerCase().includes(x.trim().toLowerCase())), _ = (b) => s(c.includes(b) ? c.filter((S) => S !== b) : [...c, b]), p = c.map((b) => l.find((S) => S.value === b)).filter((b) => b != null);
|
|
4027
4041
|
return /* @__PURE__ */ m("div", { ref: f, ...h, className: `select-field${i === "sm" ? " select-field--sm" : ""}${u ? " " + u : ""}`, children: [
|
|
4028
4042
|
n && /* @__PURE__ */ e("div", { className: "select-field__labelrow", children: /* @__PURE__ */ e("span", { className: "select-field__label", children: n }) }),
|
|
4029
4043
|
/* @__PURE__ */ e(
|
|
4030
|
-
|
|
4044
|
+
We,
|
|
4031
4045
|
{
|
|
4032
4046
|
active: g,
|
|
4033
4047
|
onClose: () => {
|
|
@@ -4070,7 +4084,7 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4070
4084
|
}
|
|
4071
4085
|
),
|
|
4072
4086
|
children: /* @__PURE__ */ m("div", { className: "select-tagselect__menu", children: [
|
|
4073
|
-
/* @__PURE__ */ e("div", { className: "select-tagselect__search", children: /* @__PURE__ */ e(
|
|
4087
|
+
/* @__PURE__ */ e("div", { className: "select-tagselect__search", children: /* @__PURE__ */ e(ml, { value: x, onChange: N, placeholder: "Buscar…" }) }),
|
|
4074
4088
|
/* @__PURE__ */ e("div", { className: "select-tagselect__options", role: "presentation", children: $.length === 0 ? /* @__PURE__ */ e("div", { className: "select-tagselect__empty", children: "Nada encontrado" }) : $.map((b) => {
|
|
4075
4089
|
const S = c.includes(b.value);
|
|
4076
4090
|
return /* @__PURE__ */ m(
|
|
@@ -4098,7 +4112,7 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4098
4112
|
),
|
|
4099
4113
|
d ? /* @__PURE__ */ e("p", { className: "select-field__error", children: d }) : r ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: r }) : null
|
|
4100
4114
|
] });
|
|
4101
|
-
}),
|
|
4115
|
+
}), G1 = R(function({ title: n, description: l, headerAction: c, footer: s, children: a, flush: r = !1, className: d, ...o }, i) {
|
|
4102
4116
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-surface${d ? " " + d : ""}`, children: [
|
|
4103
4117
|
(n || l || c) && /* @__PURE__ */ m("div", { className: "select-surface__header", children: [
|
|
4104
4118
|
/* @__PURE__ */ m("div", { className: "select-surface__heading", children: [
|
|
@@ -4110,19 +4124,19 @@ const j1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4110
4124
|
/* @__PURE__ */ e("div", { className: `select-surface__body${r ? " select-surface__body--flush" : ""}`, children: a }),
|
|
4111
4125
|
s && /* @__PURE__ */ e("div", { className: "select-surface__footer", children: s })
|
|
4112
4126
|
] });
|
|
4113
|
-
}),
|
|
4114
|
-
function
|
|
4127
|
+
}), _l = Yt(null), vs = 220, gs = 4e3, bs = 8, xs = 0.04, ys = 5;
|
|
4128
|
+
function U1({ children: t }) {
|
|
4115
4129
|
const [n, l] = D([]), c = q(0), s = q(/* @__PURE__ */ new Map()), a = Te((i) => {
|
|
4116
4130
|
l((u) => u.filter((h) => h.id !== i)), s.current.delete(i);
|
|
4117
4131
|
}, []), r = Te(
|
|
4118
4132
|
(i) => {
|
|
4119
4133
|
const u = s.current.get(i);
|
|
4120
|
-
u && clearTimeout(u), l((h) => h.map((f) => f.id === i ? { ...f, exiting: !0 } : f)), s.current.set(i, setTimeout(() => a(i),
|
|
4134
|
+
u && clearTimeout(u), l((h) => h.map((f) => f.id === i ? { ...f, exiting: !0 } : f)), s.current.set(i, setTimeout(() => a(i), vs));
|
|
4121
4135
|
},
|
|
4122
4136
|
[a]
|
|
4123
4137
|
), d = Te(
|
|
4124
4138
|
(i, u) => {
|
|
4125
|
-
const h = ++c.current, f = (u == null ? void 0 : u.duration) ??
|
|
4139
|
+
const h = ++c.current, f = (u == null ? void 0 : u.duration) ?? gs;
|
|
4126
4140
|
l((g) => [...g, { id: h, content: i, variant: (u == null ? void 0 : u.variant) ?? "neutral" }]), f > 0 && s.current.set(h, setTimeout(() => r(h), f));
|
|
4127
4141
|
},
|
|
4128
4142
|
[r]
|
|
@@ -4142,12 +4156,12 @@ function G1({ children: t }) {
|
|
|
4142
4156
|
}),
|
|
4143
4157
|
[d]
|
|
4144
4158
|
);
|
|
4145
|
-
return /* @__PURE__ */ m(
|
|
4159
|
+
return /* @__PURE__ */ m(_l.Provider, { value: o, children: [
|
|
4146
4160
|
t,
|
|
4147
4161
|
n.length > 0 && Ft(
|
|
4148
4162
|
/* @__PURE__ */ e("div", { className: "select select-toasts", role: "region", "aria-live": "polite", "aria-label": "Notificações", children: n.map((i, u) => {
|
|
4149
|
-
const h = n.length - 1 - u, f = i.exiting || h >=
|
|
4150
|
-
transform: `translate(-50%, ${-h *
|
|
4163
|
+
const h = n.length - 1 - u, f = i.exiting || h >= ys, g = {
|
|
4164
|
+
transform: `translate(-50%, ${-h * bs}px) scale(${1 - h * xs})`,
|
|
4151
4165
|
opacity: f ? 0 : 1,
|
|
4152
4166
|
zIndex: 1e3 - h,
|
|
4153
4167
|
pointerEvents: h === 0 && !i.exiting ? "auto" : "none"
|
|
@@ -4161,12 +4175,12 @@ function G1({ children: t }) {
|
|
|
4161
4175
|
)
|
|
4162
4176
|
] });
|
|
4163
4177
|
}
|
|
4164
|
-
function
|
|
4165
|
-
const t =
|
|
4178
|
+
function q1() {
|
|
4179
|
+
const t = qt(_l);
|
|
4166
4180
|
if (!t) throw new Error("useSelectToast must be used within a SelectToastProvider");
|
|
4167
4181
|
return t;
|
|
4168
4182
|
}
|
|
4169
|
-
const
|
|
4183
|
+
const Ns = { desktop: "100%", mobile: 390 }, Y1 = R(function({ src: n, title: l = "Pré-visualização", height: c = 560, initialDevice: s = "desktop", showDeviceToggle: a = !0, emptyLabel: r = "Salve para gerar a pré-visualização.", className: d, ...o }, i) {
|
|
4170
4184
|
const [u, h] = D(s), [f, g] = D(0), [v, x] = D(!0), N = n ? `${n}${n.includes("?") ? "&" : "?"}_pv=${f}` : "", $ = () => {
|
|
4171
4185
|
x(!0), g((_) => _ + 1);
|
|
4172
4186
|
};
|
|
@@ -4179,7 +4193,7 @@ const ys = { desktop: "100%", mobile: 390 }, q1 = R(function({ src: n, title: l
|
|
|
4179
4193
|
ge,
|
|
4180
4194
|
{
|
|
4181
4195
|
size: "sm",
|
|
4182
|
-
icon: /* @__PURE__ */ e(
|
|
4196
|
+
icon: /* @__PURE__ */ e(Hn, {}),
|
|
4183
4197
|
label: "Visualizar em desktop",
|
|
4184
4198
|
active: u === "desktop",
|
|
4185
4199
|
onClick: () => h("desktop")
|
|
@@ -4189,14 +4203,14 @@ const ys = { desktop: "100%", mobile: 390 }, q1 = R(function({ src: n, title: l
|
|
|
4189
4203
|
ge,
|
|
4190
4204
|
{
|
|
4191
4205
|
size: "sm",
|
|
4192
|
-
icon: /* @__PURE__ */ e(
|
|
4206
|
+
icon: /* @__PURE__ */ e(Gl, {}),
|
|
4193
4207
|
label: "Visualizar em mobile",
|
|
4194
4208
|
active: u === "mobile",
|
|
4195
4209
|
onClick: () => h("mobile")
|
|
4196
4210
|
}
|
|
4197
4211
|
)
|
|
4198
4212
|
] }),
|
|
4199
|
-
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(
|
|
4213
|
+
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Ul, {}), label: "Recarregar", onClick: $, disabled: !n }),
|
|
4200
4214
|
n && /* @__PURE__ */ e(
|
|
4201
4215
|
"a",
|
|
4202
4216
|
{
|
|
@@ -4206,13 +4220,13 @@ const ys = { desktop: "100%", mobile: 390 }, q1 = R(function({ src: n, title: l
|
|
|
4206
4220
|
rel: "noreferrer",
|
|
4207
4221
|
"aria-label": "Abrir em nova aba",
|
|
4208
4222
|
title: "Abrir em nova aba",
|
|
4209
|
-
children: /* @__PURE__ */ e(
|
|
4223
|
+
children: /* @__PURE__ */ e(Wn, {})
|
|
4210
4224
|
}
|
|
4211
4225
|
)
|
|
4212
4226
|
] })
|
|
4213
4227
|
] }),
|
|
4214
|
-
/* @__PURE__ */ e("div", { className: "select-preview__stage", style: { height: c }, children: N ? /* @__PURE__ */ m("div", { className: "select-preview__device", style: { width:
|
|
4215
|
-
v && /* @__PURE__ */ e("div", { className: "select-preview__loading", children: /* @__PURE__ */ e(
|
|
4228
|
+
/* @__PURE__ */ e("div", { className: "select-preview__stage", style: { height: c }, children: N ? /* @__PURE__ */ m("div", { className: "select-preview__device", style: { width: Ns[u] }, children: [
|
|
4229
|
+
v && /* @__PURE__ */ e("div", { className: "select-preview__loading", children: /* @__PURE__ */ e(Zc, {}) }),
|
|
4216
4230
|
/* @__PURE__ */ e(
|
|
4217
4231
|
"iframe",
|
|
4218
4232
|
{
|
|
@@ -4225,60 +4239,60 @@ const ys = { desktop: "100%", mobile: 390 }, q1 = R(function({ src: n, title: l
|
|
|
4225
4239
|
)
|
|
4226
4240
|
] }) : /* @__PURE__ */ e("p", { className: "select-preview__empty", children: r }) })
|
|
4227
4241
|
] });
|
|
4228
|
-
}),
|
|
4229
|
-
function
|
|
4242
|
+
}), Ms = new Intl.NumberFormat("pt-BR", { style: "currency", currency: "BRL" });
|
|
4243
|
+
function $s(t) {
|
|
4230
4244
|
const n = typeof t == "string" ? Number(t) : t;
|
|
4231
4245
|
return typeof n == "number" && Number.isFinite(n) ? n : 0;
|
|
4232
4246
|
}
|
|
4233
|
-
function
|
|
4234
|
-
return
|
|
4247
|
+
function ks(t) {
|
|
4248
|
+
return Ms.format($s(t) / 100);
|
|
4235
4249
|
}
|
|
4236
|
-
const
|
|
4250
|
+
const vl = "sw:hide-money", ws = { hidden: !1, toggle: () => {
|
|
4237
4251
|
}, setHidden: () => {
|
|
4238
|
-
} },
|
|
4239
|
-
function
|
|
4252
|
+
} }, gl = Yt(null);
|
|
4253
|
+
function Ss() {
|
|
4240
4254
|
try {
|
|
4241
|
-
return localStorage.getItem(
|
|
4255
|
+
return localStorage.getItem(vl) === "1";
|
|
4242
4256
|
} catch {
|
|
4243
4257
|
return !1;
|
|
4244
4258
|
}
|
|
4245
4259
|
}
|
|
4246
|
-
function
|
|
4260
|
+
function kn(t) {
|
|
4247
4261
|
try {
|
|
4248
|
-
localStorage.setItem(
|
|
4262
|
+
localStorage.setItem(vl, t ? "1" : "0");
|
|
4249
4263
|
} catch {
|
|
4250
4264
|
}
|
|
4251
4265
|
}
|
|
4252
|
-
function
|
|
4253
|
-
const [n, l] = D(
|
|
4254
|
-
l(r),
|
|
4266
|
+
function z1({ children: t }) {
|
|
4267
|
+
const [n, l] = D(Ss), c = Te((r) => {
|
|
4268
|
+
l(r), kn(r);
|
|
4255
4269
|
}, []), s = Te(() => {
|
|
4256
4270
|
l((r) => {
|
|
4257
4271
|
const d = !r;
|
|
4258
|
-
return
|
|
4272
|
+
return kn(d), d;
|
|
4259
4273
|
});
|
|
4260
4274
|
}, []), a = xe(() => ({ hidden: n, toggle: s, setHidden: c }), [n, s, c]);
|
|
4261
|
-
return /* @__PURE__ */ e(
|
|
4275
|
+
return /* @__PURE__ */ e(gl.Provider, { value: a, children: t });
|
|
4262
4276
|
}
|
|
4263
|
-
function
|
|
4264
|
-
return
|
|
4277
|
+
function bl() {
|
|
4278
|
+
return qt(gl) ?? ws;
|
|
4265
4279
|
}
|
|
4266
|
-
const
|
|
4267
|
-
const { hidden: r } =
|
|
4280
|
+
const Cs = R(function({ children: n, label: l = "valor oculto", className: c, ...s }, a) {
|
|
4281
|
+
const { hidden: r } = bl();
|
|
4268
4282
|
return /* @__PURE__ */ e("span", { ref: a, ...s, className: `select-sensitive${r ? " select-sensitive--hidden" : ""}${c ? " " + c : ""}`, "aria-label": r ? l : void 0, children: n });
|
|
4269
4283
|
});
|
|
4270
4284
|
function at({
|
|
4271
4285
|
cents: t,
|
|
4272
4286
|
sensitive: n = !0
|
|
4273
4287
|
}) {
|
|
4274
|
-
const l =
|
|
4275
|
-
return n ? /* @__PURE__ */ e(
|
|
4288
|
+
const l = ks(t);
|
|
4289
|
+
return n ? /* @__PURE__ */ e(Cs, { children: l }) : /* @__PURE__ */ e(ae, { children: l });
|
|
4276
4290
|
}
|
|
4277
|
-
const
|
|
4291
|
+
const Ls = new Intl.NumberFormat("pt-BR", {
|
|
4278
4292
|
signDisplay: "exceptZero",
|
|
4279
4293
|
minimumFractionDigits: 1,
|
|
4280
4294
|
maximumFractionDigits: 1
|
|
4281
|
-
}),
|
|
4295
|
+
}), As = R(function({ value: n, invert: l = !1, caption: c, className: s, ...a }, r) {
|
|
4282
4296
|
if (n == null || !Number.isFinite(n))
|
|
4283
4297
|
return /* @__PURE__ */ m("span", { ref: r, ...a, className: `select-delta select-delta--muted${s ? " " + s : ""}`, children: [
|
|
4284
4298
|
"—",
|
|
@@ -4288,26 +4302,26 @@ const Cs = new Intl.NumberFormat("pt-BR", {
|
|
|
4288
4302
|
return /* @__PURE__ */ m("span", { ref: r, ...a, className: `select-delta${s ? " " + s : ""}`, children: [
|
|
4289
4303
|
/* @__PURE__ */ m("span", { className: `select-delta__value select-delta__value--${u}`, children: [
|
|
4290
4304
|
h ? `${h} ` : "",
|
|
4291
|
-
|
|
4305
|
+
Ls.format(n),
|
|
4292
4306
|
"%"
|
|
4293
4307
|
] }),
|
|
4294
4308
|
c != null && /* @__PURE__ */ e("span", { className: "select-delta__caption", children: c })
|
|
4295
4309
|
] });
|
|
4296
4310
|
});
|
|
4297
|
-
function
|
|
4298
|
-
const { hidden: t, toggle: n } =
|
|
4311
|
+
function X1() {
|
|
4312
|
+
const { hidden: t, toggle: n } = bl();
|
|
4299
4313
|
return /* @__PURE__ */ e(
|
|
4300
4314
|
ge,
|
|
4301
4315
|
{
|
|
4302
4316
|
variant: "outline",
|
|
4303
|
-
icon: t ? /* @__PURE__ */ e(
|
|
4317
|
+
icon: t ? /* @__PURE__ */ e(Vn, {}) : /* @__PURE__ */ e(jn, {}),
|
|
4304
4318
|
label: t ? "Mostrar valores" : "Ocultar valores",
|
|
4305
4319
|
active: t,
|
|
4306
4320
|
onClick: n
|
|
4307
4321
|
}
|
|
4308
4322
|
);
|
|
4309
4323
|
}
|
|
4310
|
-
const
|
|
4324
|
+
const K1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponível", delta: c, buckets: s = [], action: a, className: r, ...d }, o) {
|
|
4311
4325
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-balance${r ? " " + r : ""}`, children: [
|
|
4312
4326
|
/* @__PURE__ */ m("div", { className: "select-balance__head", children: [
|
|
4313
4327
|
/* @__PURE__ */ e("h3", { className: "select-balance__title", children: l }),
|
|
@@ -4327,7 +4341,7 @@ const X1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4327
4341
|
/* @__PURE__ */ m("div", { className: "select-balance__body", children: [
|
|
4328
4342
|
/* @__PURE__ */ m("div", { className: "select-balance__heromain", children: [
|
|
4329
4343
|
/* @__PURE__ */ e("span", { className: "select-balance__heroamount", children: /* @__PURE__ */ e(at, { cents: n }) }),
|
|
4330
|
-
c != null && /* @__PURE__ */ e(
|
|
4344
|
+
c != null && /* @__PURE__ */ e(As, { value: c, caption: "vs. período anterior" })
|
|
4331
4345
|
] }),
|
|
4332
4346
|
s.length > 0 && /* @__PURE__ */ e("div", { className: "select-balance__buckets", children: s.map((i) => /* @__PURE__ */ m("div", { className: "select-balance__bucket", children: [
|
|
4333
4347
|
i.icon && /* @__PURE__ */ e("span", { className: "select-balance__bucketicon", children: i.icon }),
|
|
@@ -4338,7 +4352,7 @@ const X1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4338
4352
|
] }, i.label)) })
|
|
4339
4353
|
] })
|
|
4340
4354
|
] });
|
|
4341
|
-
}),
|
|
4355
|
+
}), J1 = R(function({ grossCents: n, fees: l, netCents: c, grossLabel: s = "Valor bruto", netLabel: a = "Valor líquido", className: r, ...d }, o) {
|
|
4342
4356
|
const i = c ?? n - l.reduce((u, h) => u + h.cents, 0);
|
|
4343
4357
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-fees${r ? " " + r : ""}`, children: [
|
|
4344
4358
|
/* @__PURE__ */ m("div", { className: "select-fees__row", children: [
|
|
@@ -4358,14 +4372,14 @@ const X1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4358
4372
|
/* @__PURE__ */ e("span", { className: "select-fees__netvalue", children: /* @__PURE__ */ e(at, { cents: i }) })
|
|
4359
4373
|
] })
|
|
4360
4374
|
] });
|
|
4361
|
-
}),
|
|
4375
|
+
}), Q1 = R(function({ label: n, value: l, caption: c, chart: s, tone: a, bare: r = !1, className: d, ...o }, i) {
|
|
4362
4376
|
return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-kpi${r ? " select-kpi--bare" : ""}${d ? " " + d : ""}`, children: [
|
|
4363
4377
|
/* @__PURE__ */ e("span", { className: "select-kpi__label", children: n }),
|
|
4364
4378
|
/* @__PURE__ */ e("span", { className: `select-kpi__value${a ? ` select-kpi__value--${a}` : ""}`, children: l }),
|
|
4365
4379
|
s != null && /* @__PURE__ */ e("div", { className: "select-kpi__chart", children: s }),
|
|
4366
4380
|
c != null && /* @__PURE__ */ e("span", { className: "select-kpi__caption", children: c })
|
|
4367
4381
|
] });
|
|
4368
|
-
}),
|
|
4382
|
+
}), eo = R(function({ title: n, caption: l, action: c, loading: s = !1, hideValues: a = !1, height: r = 260, flush: d = !1, insight: o, insightTone: i = "neutral", children: u, className: h, ...f }, g) {
|
|
4369
4383
|
const v = r === "auto" ? void 0 : `${r / 16}rem`, x = r === "auto" ? "10rem" : `${r / 16}rem`;
|
|
4370
4384
|
return /* @__PURE__ */ m("div", { ref: g, ...f, className: `select-chartcard${h ? " " + h : ""}`, children: [
|
|
4371
4385
|
(n || c || l) && /* @__PURE__ */ m("div", { className: "select-chartcard__head", children: [
|
|
@@ -4386,7 +4400,7 @@ const X1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
4386
4400
|
o != null && !s && /* @__PURE__ */ e("div", { className: `select-chartcard__insight select-chartcard__insight--${i}`, children: (Array.isArray(o) ? o : [o]).filter((N) => N != null).map((N, $) => /* @__PURE__ */ e("span", { className: "select-chartcard__insightpill", children: N }, $)) })
|
|
4387
4401
|
] });
|
|
4388
4402
|
});
|
|
4389
|
-
function
|
|
4403
|
+
function Fs() {
|
|
4390
4404
|
const [t, n] = D(1);
|
|
4391
4405
|
return Be(() => {
|
|
4392
4406
|
const l = () => {
|
|
@@ -4397,7 +4411,7 @@ function As() {
|
|
|
4397
4411
|
}, []), t;
|
|
4398
4412
|
}
|
|
4399
4413
|
function ce(t) {
|
|
4400
|
-
const n = q(null), [l, c] = D(0), s =
|
|
4414
|
+
const n = q(null), [l, c] = D(0), s = Fs();
|
|
4401
4415
|
return Be(() => {
|
|
4402
4416
|
const a = n.current;
|
|
4403
4417
|
if (!a) return;
|
|
@@ -4432,13 +4446,13 @@ function ye(t) {
|
|
|
4432
4446
|
function we(t, n = 4) {
|
|
4433
4447
|
return Array.from({ length: n + 1 }, (l, c) => t / n * c);
|
|
4434
4448
|
}
|
|
4435
|
-
function
|
|
4449
|
+
function Bs(t, n = 5) {
|
|
4436
4450
|
if (!(t > 0)) return { max: 1, values: [0, 1] };
|
|
4437
4451
|
const l = t / n, c = Math.pow(10, Math.floor(Math.log10(l))), s = l / c, a = (s <= 1 ? 1 : s <= 2 ? 2 : s <= 5 ? 5 : 10) * c, r = Math.ceil(t / a) * a, d = [];
|
|
4438
4452
|
for (let o = 0; o <= r + a / 2; o += a) d.push(Math.round(o * 1e6) / 1e6);
|
|
4439
4453
|
return { max: r, values: d };
|
|
4440
4454
|
}
|
|
4441
|
-
function
|
|
4455
|
+
function wn(t) {
|
|
4442
4456
|
return t.map((n, l) => `${l === 0 ? "M" : "L"}${n[0].toFixed(2)},${n[1].toFixed(2)}`).join(" ");
|
|
4443
4457
|
}
|
|
4444
4458
|
function Ge(t) {
|
|
@@ -4467,12 +4481,12 @@ function Ge(t) {
|
|
|
4467
4481
|
}
|
|
4468
4482
|
return d;
|
|
4469
4483
|
}
|
|
4470
|
-
function
|
|
4484
|
+
function xl(t, n) {
|
|
4471
4485
|
if (t.length === 0) return "";
|
|
4472
4486
|
const l = t[0], c = t[t.length - 1];
|
|
4473
4487
|
return `${Ge(t)} L${c[0].toFixed(2)},${n.toFixed(2)} L${l[0].toFixed(2)},${n.toFixed(2)} Z`;
|
|
4474
4488
|
}
|
|
4475
|
-
function
|
|
4489
|
+
function yl(t, n) {
|
|
4476
4490
|
if (t.length === 0 || n.length === 0) return "";
|
|
4477
4491
|
const l = Ge(t), c = Ge([...n].reverse()).replace(/^M/, "L");
|
|
4478
4492
|
return `${l} ${c} Z`;
|
|
@@ -4485,7 +4499,7 @@ function it(t, n, l, c, s, a) {
|
|
|
4485
4499
|
const [r, d] = gt(t, n, l, s), [o, i] = gt(t, n, l, a), [u, h] = gt(t, n, c, a), [f, g] = gt(t, n, c, s), v = a - s > 180 ? 1 : 0;
|
|
4486
4500
|
return `M${r.toFixed(2)},${d.toFixed(2)} A${l},${l} 0 ${v} 1 ${o.toFixed(2)},${i.toFixed(2)} L${u.toFixed(2)},${h.toFixed(2)} A${c},${c} 0 ${v} 0 ${f.toFixed(2)},${g.toFixed(2)} Z`;
|
|
4487
4501
|
}
|
|
4488
|
-
const
|
|
4502
|
+
const Sn = [
|
|
4489
4503
|
"var(--select-chart-1)",
|
|
4490
4504
|
"var(--select-chart-2)",
|
|
4491
4505
|
"var(--select-chart-3)",
|
|
@@ -4493,14 +4507,14 @@ const Cn = [
|
|
|
4493
4507
|
"var(--select-chart-5)"
|
|
4494
4508
|
];
|
|
4495
4509
|
function j(t) {
|
|
4496
|
-
return
|
|
4510
|
+
return Sn[t % Sn.length];
|
|
4497
4511
|
}
|
|
4498
4512
|
function Y(t) {
|
|
4499
4513
|
const n = Math.abs(t);
|
|
4500
4514
|
return n >= 1e9 ? (t / 1e9).toFixed(1).replace(/\.0$/, "") + "B" : n >= 1e6 ? (t / 1e6).toFixed(1).replace(/\.0$/, "") + "M" : n >= 1e3 ? (t / 1e3).toFixed(1).replace(/\.0$/, "") + "k" : String(Math.round(t));
|
|
4501
4515
|
}
|
|
4502
4516
|
const Ee = { top: 16, right: 22, bottom: 32, left: 48 };
|
|
4503
|
-
function
|
|
4517
|
+
function to({ data: t, color: n, height: l = 40, className: c, ...s }) {
|
|
4504
4518
|
const { ref: a, width: r } = ce(l), d = n ?? j(0), o = te(), i = 4;
|
|
4505
4519
|
let u = null;
|
|
4506
4520
|
if (r > 0 && t.length > 1) {
|
|
@@ -4513,7 +4527,7 @@ function eo({ data: t, color: n, height: l = 40, className: c, ...s }) {
|
|
|
4513
4527
|
/* @__PURE__ */ e("stop", { offset: "0%", stopColor: d, stopOpacity: 0.26 }),
|
|
4514
4528
|
/* @__PURE__ */ e("stop", { offset: "100%", stopColor: d, stopOpacity: 0 })
|
|
4515
4529
|
] }) }),
|
|
4516
|
-
/* @__PURE__ */ e("path", { d:
|
|
4530
|
+
/* @__PURE__ */ e("path", { d: xl(v, l - i), fill: `url(#${o}-sa)` }),
|
|
4517
4531
|
/* @__PURE__ */ e(
|
|
4518
4532
|
"path",
|
|
4519
4533
|
{
|
|
@@ -4560,7 +4574,7 @@ function K({ tip: t, className: n, ...l }) {
|
|
|
4560
4574
|
] }, o))
|
|
4561
4575
|
] });
|
|
4562
4576
|
}
|
|
4563
|
-
function
|
|
4577
|
+
function no({ data: t, height: n = 240, color: l, format: c = Y, className: s, ...a }) {
|
|
4564
4578
|
const { ref: r, width: d } = ce(n), o = X(), i = te(), u = l ?? j(0), h = ye(Math.max(0, ...t.map((p) => p.value))), f = Ee, g = Math.max(0, d - f.left - f.right), v = n - f.top - f.bottom, x = t.length > 0 ? g / t.length : 0, N = Math.min(x * 0.62, 44), $ = f.top + v, _ = (p) => $ - p / h * v;
|
|
4565
4579
|
return /* @__PURE__ */ m("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: r, children: [
|
|
4566
4580
|
d > 0 && /* @__PURE__ */ m("svg", { width: d, height: n, className: "select-chart", children: [
|
|
@@ -4611,8 +4625,8 @@ function to({ data: t, height: n = 240, color: l, format: c = Y, className: s, .
|
|
|
4611
4625
|
/* @__PURE__ */ e(K, { tip: o.tip })
|
|
4612
4626
|
] });
|
|
4613
4627
|
}
|
|
4614
|
-
function
|
|
4615
|
-
const { ref: d, width: o } = ce(l), i = X(), u = te(), [h, f] = D(null), { max: g, values: v } =
|
|
4628
|
+
function lo({ series: t, labels: n, height: l = 240, format: c = Y, area: s = !1, className: a, ...r }) {
|
|
4629
|
+
const { ref: d, width: o } = ce(l), i = X(), u = te(), [h, f] = D(null), { max: g, values: v } = Bs(Math.max(0, ...t.flatMap((w) => w.data))), x = Ee, N = Math.max(0, o - x.left - x.right), $ = l - x.top - x.bottom, _ = n.length, p = (w) => x.left + (_ <= 1 ? N / 2 : w / (_ - 1) * N), b = (w) => x.top + $ - w / g * $, S = _ > 1 ? N / (_ - 1) : N, k = Math.max(1, Math.ceil(_ / 7)), M = x.top + $;
|
|
4616
4630
|
return /* @__PURE__ */ m("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: d, children: [
|
|
4617
4631
|
o > 0 && /* @__PURE__ */ m("svg", { width: o, height: l, className: "select-chart", children: [
|
|
4618
4632
|
/* @__PURE__ */ e("defs", { children: t.map((w, y) => {
|
|
@@ -4639,7 +4653,7 @@ function no({ series: t, labels: n, height: l = 240, format: c = Y, area: s = !1
|
|
|
4639
4653
|
t.map((w, y) => {
|
|
4640
4654
|
const C = w.color ?? j(y), L = w.data.map((B, A) => [p(A), b(B)]);
|
|
4641
4655
|
return /* @__PURE__ */ m("g", { children: [
|
|
4642
|
-
s && /* @__PURE__ */ e("path", { d:
|
|
4656
|
+
s && /* @__PURE__ */ e("path", { d: xl(L, M), fill: `url(#${u}-a${y})`, className: "select-chart__area" }),
|
|
4643
4657
|
/* @__PURE__ */ e(
|
|
4644
4658
|
"path",
|
|
4645
4659
|
{
|
|
@@ -4698,7 +4712,7 @@ function no({ series: t, labels: n, height: l = 240, format: c = Y, area: s = !1
|
|
|
4698
4712
|
/* @__PURE__ */ e(K, { tip: i.tip })
|
|
4699
4713
|
] });
|
|
4700
4714
|
}
|
|
4701
|
-
function
|
|
4715
|
+
function co({ series: t, labels: n, height: l = 240, format: c = Y, className: s, ...a }) {
|
|
4702
4716
|
const { ref: r, width: d } = ce(l), o = X(), i = te(), [u, h] = D(null), f = n.length, g = new Array(f).fill(0), v = t.map(
|
|
4703
4717
|
(y) => y.data.map((C, L) => (g[L] = (g[L] ?? 0) + (C ?? 0), g[L]))
|
|
4704
4718
|
), x = ye(Math.max(0, ...g)), N = Ee, $ = Math.max(0, d - N.left - N.right), _ = l - N.top - N.bottom, p = (y) => N.left + (f <= 1 ? $ / 2 : y / (f - 1) * $), b = (y) => N.top + _ - y / x * _, S = f > 1 ? $ / (f - 1) : $, k = Math.max(1, Math.ceil(f / 7)), M = N.top + _, w = v[v.length - 1];
|
|
@@ -4727,7 +4741,7 @@ function lo({ series: t, labels: n, height: l = 240, format: c = Y, className: s
|
|
|
4727
4741
|
t.map((y, C) => {
|
|
4728
4742
|
const L = y.color ?? j(C), B = v[C].map((F, E) => [p(E), b(F)]), A = C === 0 ? n.map((F, E) => [p(E), M]) : v[C - 1].map((F, E) => [p(E), b(F)]);
|
|
4729
4743
|
return /* @__PURE__ */ m("g", { className: "select-chart__area", children: [
|
|
4730
|
-
/* @__PURE__ */ e("path", { d:
|
|
4744
|
+
/* @__PURE__ */ e("path", { d: yl(B, A), fill: `url(#${i}-b${C})` }),
|
|
4731
4745
|
/* @__PURE__ */ e("path", { d: Ge(B), fill: "none", stroke: L, strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })
|
|
4732
4746
|
] }, C);
|
|
4733
4747
|
}),
|
|
@@ -4764,7 +4778,7 @@ function lo({ series: t, labels: n, height: l = 240, format: c = Y, className: s
|
|
|
4764
4778
|
/* @__PURE__ */ e(K, { tip: o.tip })
|
|
4765
4779
|
] });
|
|
4766
4780
|
}
|
|
4767
|
-
function
|
|
4781
|
+
function so({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = Y, formatLine: a = (o) => `${Math.round(o)}%`, className: r, ...d }) {
|
|
4768
4782
|
const { ref: o, width: i } = ce(c), u = X(), h = te(), [f, g] = D(null), v = { ...Ee, right: 58 }, x = Math.max(0, i - v.left - v.right), N = c - v.top - v.bottom, $ = t.length, _ = ye(Math.max(0, ...n.data)), p = ye(Math.max(0, ...l.data)), b = $ > 0 ? x / $ : 0, S = Math.min(b * 0.5, 36), k = Math.max(1, Math.ceil($ / 8)), M = n.color ?? j(0), w = l.color ?? j(1), y = v.top + N, C = (F) => y - F / _ * N, L = (F) => y - F / p * N, B = (F) => v.left + b * F + b / 2, A = l.data.map((F, E) => [B(E), L(F)]);
|
|
4769
4783
|
return /* @__PURE__ */ m("div", { ...d, className: `select-chart-wrap${r ? " " + r : ""}`, ref: o, children: [
|
|
4770
4784
|
i > 0 && /* @__PURE__ */ m("svg", { width: i, height: c, className: "select-chart", children: [
|
|
@@ -4862,7 +4876,7 @@ function co({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = Y, fo
|
|
|
4862
4876
|
/* @__PURE__ */ e(K, { tip: u.tip })
|
|
4863
4877
|
] });
|
|
4864
4878
|
}
|
|
4865
|
-
const
|
|
4879
|
+
const ao = R(function({ segments: n, size: l = 200, thickness: c = 26, format: s = Y, centerLabel: a, legend: r = !0, gap: d = 2, pie: o = !1, className: i, ...u }, h) {
|
|
4866
4880
|
const f = X(), g = te(), v = q(null), x = Ct(v, l), N = n.reduce((k, M) => k + M.value, 0) || 1, $ = x / 2, _ = x / 2, p = x / 2 - 2, b = o ? 0 : p - c;
|
|
4867
4881
|
let S = 0;
|
|
4868
4882
|
return /* @__PURE__ */ m("div", { ref: h, ...u, className: `select-donut-wrap${i ? " " + i : ""}`, children: [
|
|
@@ -4911,7 +4925,7 @@ const so = R(function({ segments: n, size: l = 200, thickness: c = 26, format: s
|
|
|
4911
4925
|
/* @__PURE__ */ e(K, { tip: f.tip })
|
|
4912
4926
|
] });
|
|
4913
4927
|
});
|
|
4914
|
-
function
|
|
4928
|
+
function oo({ series: t, labels: n, height: l = 240, format: c = Y, stacked: s = !1, className: a, ...r }) {
|
|
4915
4929
|
const { ref: d, width: o } = ce(l), i = X(), u = te(), h = n.length, f = t.length || 1, g = n.map((M, w) => t.reduce((y, C) => y + (C.data[w] ?? 0), 0)), v = ye(s ? Math.max(0, ...g) : Math.max(0, ...t.flatMap((M) => M.data))), x = Ee, N = Math.max(0, o - x.left - x.right), $ = l - x.top - x.bottom, _ = x.top + $, p = h ? N / h : 0, b = (M) => _ - M / v * $, S = Math.min(p * 0.72, f * 40), k = s ? Math.min(p * 0.5, 44) : S / f;
|
|
4916
4930
|
return /* @__PURE__ */ m("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: d, children: [
|
|
4917
4931
|
o > 0 && /* @__PURE__ */ m("svg", { width: o, height: l, className: "select-chart", children: [
|
|
@@ -5003,7 +5017,7 @@ function ao({ series: t, labels: n, height: l = 240, format: c = Y, stacked: s =
|
|
|
5003
5017
|
/* @__PURE__ */ e(K, { tip: i.tip })
|
|
5004
5018
|
] });
|
|
5005
5019
|
}
|
|
5006
|
-
const
|
|
5020
|
+
const ro = R(function({ stages: n, format: l = Y, className: c, ...s }, a) {
|
|
5007
5021
|
const r = Math.max(1, ...n.map((d) => d.value));
|
|
5008
5022
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-funnel${c ? " " + c : ""}`, children: n.map((d, o) => {
|
|
5009
5023
|
const i = o > 0 ? n[o - 1].value || 1 : d.value || 1, u = o > 0 ? d.value / i * 100 : 100, h = j(o);
|
|
@@ -5029,19 +5043,19 @@ const oo = R(function({ stages: n, format: l = Y, className: c, ...s }, a) {
|
|
|
5029
5043
|
] }, o);
|
|
5030
5044
|
}) });
|
|
5031
5045
|
});
|
|
5032
|
-
function
|
|
5046
|
+
function Es(t) {
|
|
5033
5047
|
return Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0;
|
|
5034
5048
|
}
|
|
5035
|
-
function
|
|
5049
|
+
function Cn(t, n, l, c) {
|
|
5036
5050
|
const s = Math.PI + c * Math.PI;
|
|
5037
5051
|
return [t + l * Math.cos(s), n + l * Math.sin(s)];
|
|
5038
5052
|
}
|
|
5039
|
-
function
|
|
5040
|
-
const [a, r] =
|
|
5053
|
+
function Ln(t, n, l, c, s) {
|
|
5054
|
+
const [a, r] = Cn(t, n, l, c), [d, o] = Cn(t, n, l, s);
|
|
5041
5055
|
return `M ${a.toFixed(2)} ${r.toFixed(2)} A ${l} ${l} 0 0 1 ${d.toFixed(2)} ${o.toFixed(2)}`;
|
|
5042
5056
|
}
|
|
5043
|
-
const
|
|
5044
|
-
const h =
|
|
5057
|
+
const Is = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ? 1 : 0 })}%`, io = R(function({ value: n, label: l, caption: c, size: s = 220, thickness: a, color: r, format: d = Is, className: o, ...i }, u) {
|
|
5058
|
+
const h = Es(n), f = te(), g = a ?? Math.max(8, Math.round(s * 0.075)), v = g / 2 + 2, x = s / 2 - v, N = s / 2, $ = s / 2, _ = $ + v, p = jc({ value: h, format: d });
|
|
5045
5059
|
return /* @__PURE__ */ m("div", { ref: u, ...i, className: `select-gauge${o ? " " + o : ""}`, style: { width: `${s / 16}rem` }, children: [
|
|
5046
5060
|
/* @__PURE__ */ m("div", { className: "select-gauge__ring", style: { width: "100%", aspectRatio: `${s} / ${_}` }, children: [
|
|
5047
5061
|
/* @__PURE__ */ m("svg", { width: "100%", height: "100%", viewBox: `0 0 ${s} ${_}`, className: "select-chart", "aria-hidden": "true", children: [
|
|
@@ -5053,7 +5067,7 @@ const Es = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5053
5067
|
"path",
|
|
5054
5068
|
{
|
|
5055
5069
|
className: "select-gauge__track",
|
|
5056
|
-
d:
|
|
5070
|
+
d: Ln(N, $, x, 0, 1),
|
|
5057
5071
|
fill: "none",
|
|
5058
5072
|
strokeWidth: g,
|
|
5059
5073
|
strokeLinecap: "round"
|
|
@@ -5063,7 +5077,7 @@ const Es = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5063
5077
|
"path",
|
|
5064
5078
|
{
|
|
5065
5079
|
className: "select-gauge__arc",
|
|
5066
|
-
d:
|
|
5080
|
+
d: Ln(N, $, x, 0, h / 100),
|
|
5067
5081
|
fill: "none",
|
|
5068
5082
|
stroke: r ?? `url(#${f})`,
|
|
5069
5083
|
strokeWidth: g,
|
|
@@ -5079,7 +5093,7 @@ const Es = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5079
5093
|
] }),
|
|
5080
5094
|
c != null && /* @__PURE__ */ e("div", { className: "select-gauge__caption", children: c })
|
|
5081
5095
|
] });
|
|
5082
|
-
}),
|
|
5096
|
+
}), ho = R(function({ columns: n, rows: l, format: c = Y, formatValue: s, color: a = "var(--select-chart-1)", showValues: r = !0, min: d, max: o, cellSize: i = 40, maxCellSize: u = 96, cellHeight: h = 30, className: f, ...g }, v) {
|
|
5083
5097
|
const x = X(), N = l.flatMap((M) => M.values).filter((M) => M != null && Number.isFinite(M)), $ = d ?? (N.length ? Math.min(...N) : 0), p = (o ?? (N.length ? Math.max(...N) : 1)) - $ || 1, b = { "--heat-color": a }, S = {
|
|
5084
5098
|
gridTemplateColumns: `minmax(56px, max-content) repeat(${n.length}, minmax(${i}px, ${Math.max(i, u)}px))`,
|
|
5085
5099
|
width: "fit-content",
|
|
@@ -5093,7 +5107,7 @@ const Es = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5093
5107
|
/* @__PURE__ */ m("div", { className: "select-heatmap__grid", style: S, children: [
|
|
5094
5108
|
/* @__PURE__ */ e("div", { className: "select-heatmap__corner" }),
|
|
5095
5109
|
n.map((M) => /* @__PURE__ */ e("div", { className: "select-heatmap__colhead", children: M }, M)),
|
|
5096
|
-
l.map((M) => /* @__PURE__ */ m(
|
|
5110
|
+
l.map((M) => /* @__PURE__ */ m(Ut, { children: [
|
|
5097
5111
|
/* @__PURE__ */ e("div", { className: "select-heatmap__rowhead", children: M.label }),
|
|
5098
5112
|
M.values.map((w, y) => {
|
|
5099
5113
|
const C = `${M.label}-${n[y] ?? y}`;
|
|
@@ -5130,7 +5144,7 @@ const Es = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5130
5144
|
/* @__PURE__ */ e(K, { tip: x.tip })
|
|
5131
5145
|
] });
|
|
5132
5146
|
});
|
|
5133
|
-
function
|
|
5147
|
+
function uo({
|
|
5134
5148
|
items: t,
|
|
5135
5149
|
format: n = Y,
|
|
5136
5150
|
color: l,
|
|
@@ -5145,7 +5159,7 @@ function ho({
|
|
|
5145
5159
|
/* @__PURE__ */ m("div", { className: "select-progresslist__top", children: [
|
|
5146
5160
|
/* @__PURE__ */ m("span", { className: "select-progresslist__label", children: [
|
|
5147
5161
|
/* @__PURE__ */ e("span", { className: "select-progresslist__name", children: a.label }),
|
|
5148
|
-
a.badge && /* @__PURE__ */ e(
|
|
5162
|
+
a.badge && /* @__PURE__ */ e(tl, { tone: a.badge.tone, children: a.badge.label })
|
|
5149
5163
|
] }),
|
|
5150
5164
|
/* @__PURE__ */ e("span", { className: "select-progresslist__value", children: a.valueText ?? n(a.value) })
|
|
5151
5165
|
] }),
|
|
@@ -5164,7 +5178,7 @@ function ho({
|
|
|
5164
5178
|
] }, `${a.label}-${r}`);
|
|
5165
5179
|
}) });
|
|
5166
5180
|
}
|
|
5167
|
-
const
|
|
5181
|
+
const Rt = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, po = R(function({ series: n, size: l = 200, thickness: c = 14, gap: s = 8, format: a = (h) => `${Math.round(h)}%`, centerLabel: r, legend: d = !0, className: o, ...i }, u) {
|
|
5168
5182
|
const h = te(), f = l / 2, g = l / 2;
|
|
5169
5183
|
return /* @__PURE__ */ m("div", { ref: u, ...i, className: `select-donut-wrap${o ? " " + o : ""}`, children: [
|
|
5170
5184
|
/* @__PURE__ */ m("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
|
|
@@ -5179,7 +5193,7 @@ const Dt = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, uo = R
|
|
|
5179
5193
|
n.map((v, x) => {
|
|
5180
5194
|
const N = l / 2 - 2 - c / 2 - x * (c + s);
|
|
5181
5195
|
if (N <= c / 2) return null;
|
|
5182
|
-
const $ =
|
|
5196
|
+
const $ = Rt(v.value);
|
|
5183
5197
|
return /* @__PURE__ */ m("g", { transform: `rotate(-90 ${f} ${g})`, children: [
|
|
5184
5198
|
/* @__PURE__ */ e("circle", { cx: f, cy: g, r: N, fill: "none", strokeWidth: c, className: "select-radial__track" }),
|
|
5185
5199
|
/* @__PURE__ */ e(
|
|
@@ -5201,20 +5215,20 @@ const Dt = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, uo = R
|
|
|
5201
5215
|
] }, x);
|
|
5202
5216
|
})
|
|
5203
5217
|
] }),
|
|
5204
|
-
/* @__PURE__ */ e("div", { className: "select-radial__center", children: r ?? (n.length === 1 ? /* @__PURE__ */ e("strong", { className: "select-radial__value", children: a(
|
|
5218
|
+
/* @__PURE__ */ e("div", { className: "select-radial__center", children: r ?? (n.length === 1 ? /* @__PURE__ */ e("strong", { className: "select-radial__value", children: a(Rt(n[0].value)) }) : null) })
|
|
5205
5219
|
] }),
|
|
5206
5220
|
d && /* @__PURE__ */ e("ul", { className: "select-donut__legend", children: n.map((v, x) => /* @__PURE__ */ m("li", { className: "select-donut__legitem", children: [
|
|
5207
5221
|
/* @__PURE__ */ e("span", { className: "select-donut__dot", style: { background: v.color ?? j(x) } }),
|
|
5208
5222
|
/* @__PURE__ */ e("span", { className: "select-donut__leglabel", children: v.label }),
|
|
5209
|
-
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: a(
|
|
5223
|
+
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: a(Rt(v.value)) })
|
|
5210
5224
|
] }, x)) })
|
|
5211
5225
|
] });
|
|
5212
|
-
}),
|
|
5213
|
-
function
|
|
5226
|
+
}), An = 6.1, Dt = 12, Fn = 56, Ps = 0.4;
|
|
5227
|
+
function mo({ data: t, height: n, color: l, format: c = Y, formatValue: s, distributed: a = !0, labelWidth: r, className: d, ...o }) {
|
|
5214
5228
|
const g = n ?? t.length * 36 + 6 + 26, { ref: v, width: x } = ce(g), N = X(), $ = te(), _ = ye(Math.max(0, ...t.map((F) => F.value))), p = t.reduce((F, E) => Math.max(F, E.label.length), 0), b = Math.min(
|
|
5215
|
-
Math.max(
|
|
5216
|
-
Math.max(
|
|
5217
|
-
), S = r ?? b, k = Math.max(3, Math.floor((S -
|
|
5229
|
+
Math.max(Fn, p * An + Dt),
|
|
5230
|
+
Math.max(Fn, x * Ps)
|
|
5231
|
+
), S = r ?? b, k = Math.max(3, Math.floor((S - Dt) / An)), M = (F) => F.length <= k ? F : `${F.slice(0, k - 1).trimEnd()}…`, w = Math.max(0, x - S - 28), y = g - 6 - 26, C = t.length ? y / t.length : 0, L = Math.min(C * 0.62, 22), B = (F) => S + F / _ * w, A = (F, E) => F.color ?? (a ? j(E) : l ?? j(0));
|
|
5218
5232
|
return /* @__PURE__ */ m("div", { ...o, className: `select-chart-wrap${d ? " " + d : ""}`, ref: v, children: [
|
|
5219
5233
|
x > 0 && /* @__PURE__ */ m("svg", { width: x, height: g, className: "select-chart", children: [
|
|
5220
5234
|
/* @__PURE__ */ e("defs", { children: t.map((F, E) => {
|
|
@@ -5264,7 +5278,7 @@ function po({ data: t, height: n, color: l, format: c = Y, formatValue: s, distr
|
|
|
5264
5278
|
/* @__PURE__ */ m(
|
|
5265
5279
|
"text",
|
|
5266
5280
|
{
|
|
5267
|
-
x: S -
|
|
5281
|
+
x: S - Dt / 2,
|
|
5268
5282
|
y: T,
|
|
5269
5283
|
className: "select-chart__ylabel",
|
|
5270
5284
|
dominantBaseline: "middle",
|
|
@@ -5281,7 +5295,7 @@ function po({ data: t, height: n, color: l, format: c = Y, formatValue: s, distr
|
|
|
5281
5295
|
/* @__PURE__ */ e(K, { tip: N.tip })
|
|
5282
5296
|
] });
|
|
5283
5297
|
}
|
|
5284
|
-
function
|
|
5298
|
+
function fo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
5285
5299
|
const { ref: a, width: r } = ce(n), d = X(), o = te();
|
|
5286
5300
|
let i = 0;
|
|
5287
5301
|
const u = t.map((k) => {
|
|
@@ -5351,7 +5365,7 @@ function mo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
|
5351
5365
|
/* @__PURE__ */ e(K, { tip: d.tip })
|
|
5352
5366
|
] });
|
|
5353
5367
|
}
|
|
5354
|
-
const
|
|
5368
|
+
const Bn = (t) => Math.max(0, Math.min(100, t)), _o = R(function({ items: n, format: l = Y, className: c, ...s }, a) {
|
|
5355
5369
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-bullet${c ? " " + c : ""}`, children: n.map((r, d) => {
|
|
5356
5370
|
const o = r.color ?? j(d), i = r.max ?? (Math.max(r.value, r.target) * 1.25 || 1), u = r.value >= r.target;
|
|
5357
5371
|
return /* @__PURE__ */ m("div", { className: "select-bullet__row", children: [
|
|
@@ -5377,17 +5391,17 @@ const En = (t) => Math.max(0, Math.min(100, t)), fo = R(function({ items: n, for
|
|
|
5377
5391
|
{
|
|
5378
5392
|
className: "select-bullet__fill",
|
|
5379
5393
|
style: {
|
|
5380
|
-
width: `${
|
|
5394
|
+
width: `${Bn(r.value / i * 100)}%`,
|
|
5381
5395
|
background: `linear-gradient(90deg, ${o}, color-mix(in srgb, ${o} 55%, transparent))`
|
|
5382
5396
|
}
|
|
5383
5397
|
}
|
|
5384
5398
|
),
|
|
5385
|
-
/* @__PURE__ */ e("span", { className: "select-bullet__tick", style: { left: `${
|
|
5399
|
+
/* @__PURE__ */ e("span", { className: "select-bullet__tick", style: { left: `${Bn(r.target / i * 100)}%` } })
|
|
5386
5400
|
] })
|
|
5387
5401
|
] }, `${r.label}-${d}`);
|
|
5388
5402
|
}) });
|
|
5389
5403
|
});
|
|
5390
|
-
function
|
|
5404
|
+
function Rs(t, n, l) {
|
|
5391
5405
|
const c = [], s = (r, d) => {
|
|
5392
5406
|
const o = r.reduce((h, f) => h + f, 0), i = Math.max(...r), u = Math.min(...r);
|
|
5393
5407
|
return Math.max(d * d * i / (o * o), o * o / (d * d * u));
|
|
@@ -5430,8 +5444,8 @@ function Ps(t, n, l) {
|
|
|
5430
5444
|
l
|
|
5431
5445
|
), c;
|
|
5432
5446
|
}
|
|
5433
|
-
function
|
|
5434
|
-
const { ref: a, width: r } = ce(n), d = X(), o = te(), i = t.map((h, f) => f).sort((h, f) => t[f].value - t[h].value), u = r > 0 ?
|
|
5447
|
+
function vo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
5448
|
+
const { ref: a, width: r } = ce(n), d = X(), o = te(), i = t.map((h, f) => f).sort((h, f) => t[f].value - t[h].value), u = r > 0 ? Rs(i.map((h) => t[h].value), r, n) : [];
|
|
5435
5449
|
return /* @__PURE__ */ m("div", { ...s, className: `select-chart-wrap select-treemap${c ? " " + c : ""}`, ref: a, children: [
|
|
5436
5450
|
r > 0 && /* @__PURE__ */ m("svg", { width: r, height: n, className: "select-chart", children: [
|
|
5437
5451
|
/* @__PURE__ */ e("defs", { children: t.map((h, f) => {
|
|
@@ -5472,7 +5486,7 @@ function _o({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
|
5472
5486
|
/* @__PURE__ */ e(K, { tip: d.tip })
|
|
5473
5487
|
] });
|
|
5474
5488
|
}
|
|
5475
|
-
function
|
|
5489
|
+
function go({ series: t, height: n = 240, xFormat: l = Y, yFormat: c = Y, xMax: s, yMax: a, maxRadius: r = 18, className: d, ...o }) {
|
|
5476
5490
|
const { ref: i, width: u } = ce(n), h = X(), f = t.flatMap((M) => M.points), g = ye(s ?? Math.max(0, ...f.map((M) => M.x))), v = ye(a ?? Math.max(0, ...f.map((M) => M.y))), x = Math.max(1, ...f.map((M) => M.r ?? 0)), N = Ee, $ = Math.max(0, u - N.left - N.right), _ = n - N.top - N.bottom, p = N.top + _, b = (M) => N.left + M / g * $, S = (M) => p - M / v * _, k = (M) => M.r ? 4 + Math.sqrt(M.r) / Math.sqrt(x) * (r - 4) : 4.5;
|
|
5477
5491
|
return /* @__PURE__ */ m("div", { ...o, className: `select-chart-wrap${d ? " " + d : ""}`, ref: i, children: [
|
|
5478
5492
|
u > 0 && /* @__PURE__ */ m("svg", { width: u, height: n, className: "select-chart", children: [
|
|
@@ -5519,7 +5533,7 @@ function vo({ series: t, height: n = 240, xFormat: l = Y, yFormat: c = Y, xMax:
|
|
|
5519
5533
|
/* @__PURE__ */ e(K, { tip: h.tip })
|
|
5520
5534
|
] });
|
|
5521
5535
|
}
|
|
5522
|
-
const
|
|
5536
|
+
const bo = R(function({ axes: n, series: l, size: c = 240, max: s, format: a = Y, levels: r = 4, legend: d = !0, className: o, ...i }, u) {
|
|
5523
5537
|
const h = X(), f = te(), g = n.length, v = c / 2, x = c / 2, N = c / 2 - 30, $ = s ?? ye(Math.max(1, ...l.flatMap((S) => S.values))), _ = (S) => (-90 + S * 360 / g) * Math.PI / 180, p = (S, k) => [v + k * Math.cos(_(S)), x + k * Math.sin(_(S))], b = (S) => S.map((k, M) => `${M === 0 ? "M" : "L"}${p(M, k).map((w) => w.toFixed(2)).join(",")}`).join(" ") + " Z";
|
|
5524
5538
|
return /* @__PURE__ */ m("div", { ref: u, ...i, className: `select-donut-wrap${o ? " " + o : ""}`, children: [
|
|
5525
5539
|
/* @__PURE__ */ m("div", { className: "select-radar", style: { width: c, aspectRatio: "1" }, children: [
|
|
@@ -5589,7 +5603,7 @@ const go = R(function({ axes: n, series: l, size: c = 240, max: s, format: a = Y
|
|
|
5589
5603
|
] }, k)) })
|
|
5590
5604
|
] });
|
|
5591
5605
|
});
|
|
5592
|
-
function
|
|
5606
|
+
function xo({ links: t, height: n = 260, format: l = Y, nodeWidth: c = 14, nodeGap: s = 14, className: a, ...r }) {
|
|
5593
5607
|
const { ref: d, width: o } = ce(n), i = X(), u = [], h = [];
|
|
5594
5608
|
for (const y of t)
|
|
5595
5609
|
u.includes(y.source) || u.push(y.source), h.includes(y.target) || h.push(y.target);
|
|
@@ -5637,7 +5651,7 @@ function bo({ links: t, height: n = 260, format: l = Y, nodeWidth: c = 14, nodeG
|
|
|
5637
5651
|
/* @__PURE__ */ e(K, { tip: i.tip })
|
|
5638
5652
|
] });
|
|
5639
5653
|
}
|
|
5640
|
-
function
|
|
5654
|
+
function yo({ data: t, height: n = 240, format: l = Y, upColor: c = "var(--select-chart-4)", downColor: s = "var(--select-chart-3)", className: a, ...r }) {
|
|
5641
5655
|
const { ref: d, width: o } = ce(n), i = X(), u = Ee, h = Math.max(0, o - u.left - u.right), f = n - u.top - u.bottom, g = u.top + f, v = Math.max(1, ...t.map((w) => w.high)), x = Math.min(v, ...t.map((w) => w.low)), N = (v - x) * 0.08 || 1, $ = x - N, _ = v + N, p = (w) => g - (w - $) / (_ - $) * f, b = t.length, S = b ? h / b : 0, k = Math.min(S * 0.5, 18), M = Array.from({ length: 5 }, (w, y) => $ + (_ - $) * y / 4);
|
|
5642
5656
|
return /* @__PURE__ */ m("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: d, children: [
|
|
5643
5657
|
o > 0 && /* @__PURE__ */ m("svg", { width: o, height: n, className: "select-chart", children: [
|
|
@@ -5689,7 +5703,7 @@ function xo({ data: t, height: n = 240, format: l = Y, upColor: c = "var(--selec
|
|
|
5689
5703
|
/* @__PURE__ */ e(K, { tip: i.tip })
|
|
5690
5704
|
] });
|
|
5691
5705
|
}
|
|
5692
|
-
function
|
|
5706
|
+
function No({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
5693
5707
|
const { ref: a, width: r } = ce(n), d = X(), o = Ee, i = Math.max(0, r - o.left - o.right), u = n - o.top - o.bottom, h = o.top + u, f = ye(Math.max(1, ...t.map(($) => $.max))), g = ($) => h - $ / f * u, v = t.length, x = v ? i / v : 0, N = Math.min(x * 0.5, 40);
|
|
5694
5708
|
return /* @__PURE__ */ m("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
|
|
5695
5709
|
r > 0 && /* @__PURE__ */ m("svg", { width: r, height: n, className: "select-chart", children: [
|
|
@@ -5745,7 +5759,7 @@ function yo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
|
5745
5759
|
/* @__PURE__ */ e(K, { tip: d.tip })
|
|
5746
5760
|
] });
|
|
5747
5761
|
}
|
|
5748
|
-
function
|
|
5762
|
+
function Mo({ data: t, height: n, min: l, max: c, format: s = Y, labelWidth: a = 96, className: r, ...d }) {
|
|
5749
5763
|
const f = n ?? t.length * 36 + 6 + 26, { ref: g, width: v } = ce(f), x = X(), N = te(), $ = l ?? Math.min(0, ...t.map((L) => L.start)), p = (c ?? Math.max(1, ...t.map((L) => L.end))) - $ || 1, b = a, S = Math.max(0, v - b - 14), k = f - 6 - 26, M = t.length ? k / t.length : 0, w = Math.min(M * 0.6, 22), y = (L) => b + (L - $) / p * S, C = Array.from({ length: 5 }, (L, B) => $ + p * B / 4);
|
|
5750
5764
|
return /* @__PURE__ */ m("div", { ...d, className: `select-chart-wrap${r ? " " + r : ""}`, ref: g, children: [
|
|
5751
5765
|
v > 0 && /* @__PURE__ */ m("svg", { width: v, height: f, className: "select-chart", children: [
|
|
@@ -5800,7 +5814,7 @@ function No({ data: t, height: n, min: l, max: c, format: s = Y, labelWidth: a =
|
|
|
5800
5814
|
/* @__PURE__ */ e(K, { tip: x.tip })
|
|
5801
5815
|
] });
|
|
5802
5816
|
}
|
|
5803
|
-
const
|
|
5817
|
+
const $o = R(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels: c = ["Seg", "", "Qua", "", "Sex", "", "Dom"], columnLabels: s, format: a = Y, cell: r = 14, gap: d = 3, min: o, max: i, className: u, ...h }, f) {
|
|
5804
5818
|
const g = X();
|
|
5805
5819
|
te();
|
|
5806
5820
|
const v = n.flat().filter((w) => w != null && Number.isFinite(w)), x = o ?? (v.length ? Math.min(...v) : 0), $ = (i ?? (v.length ? Math.max(...v) : 1)) - x || 1, _ = 30, p = s ? 16 : 4, b = r + d, S = _ + n.length * b, k = p + 7 * b, M = { "--heat-color": l };
|
|
@@ -5844,7 +5858,7 @@ const Mo = R(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
|
|
|
5844
5858
|
] }),
|
|
5845
5859
|
/* @__PURE__ */ e(K, { tip: g.tip })
|
|
5846
5860
|
] });
|
|
5847
|
-
}),
|
|
5861
|
+
}), ko = R(function({ segments: n, size: l = 200, format: c = Y, legend: s = !0, rose: a = !1, className: r, ...d }, o) {
|
|
5848
5862
|
const i = X(), u = l / 2, h = l / 2, f = l / 2 - 2, g = n.length || 1, v = ye(Math.max(1, ...n.map(($) => $.value))), x = ($) => a ? Math.max(0, $) / v * f : Math.sqrt(Math.max(0, $) / v) * f, N = 360 / g;
|
|
5849
5863
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-donut-wrap${r ? " " + r : ""}`, children: [
|
|
5850
5864
|
/* @__PURE__ */ m("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
|
|
@@ -5875,7 +5889,7 @@ const Mo = R(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
|
|
|
5875
5889
|
] }, _)) })
|
|
5876
5890
|
] });
|
|
5877
5891
|
});
|
|
5878
|
-
function
|
|
5892
|
+
function wo({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s = Y, className: a, ...r }) {
|
|
5879
5893
|
const { ref: d, width: o } = ce(c), i = X(), u = { top: 24, right: 64, bottom: 12, left: 132 }, h = ye(Math.max(1, ...t.flatMap((N) => [N.left, N.right]))), f = c - u.top - u.bottom, g = (N) => u.top + f - N / h * f, v = u.left, x = o - u.right;
|
|
5880
5894
|
return /* @__PURE__ */ m("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: d, children: [
|
|
5881
5895
|
o > 0 && /* @__PURE__ */ m("svg", { width: o, height: c, className: "select-chart", children: [
|
|
@@ -5922,7 +5936,7 @@ function ko({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s =
|
|
|
5922
5936
|
/* @__PURE__ */ e(K, { tip: i.tip })
|
|
5923
5937
|
] });
|
|
5924
5938
|
}
|
|
5925
|
-
function
|
|
5939
|
+
function So({ data: t, height: n, format: l = Y, fromLabel: c = "Antes", toLabel: s = "Depois", labelWidth: a = 96, className: r, ...d }) {
|
|
5926
5940
|
const f = n ?? t.length * 34 + 6 + 26, { ref: g, width: v } = ce(f), x = X(), N = "var(--select-chart-2)", $ = "var(--select-chart-1)", _ = ye(Math.max(1, ...t.flatMap((w) => [w.from, w.to]))), p = a, b = Math.max(0, v - p - 14), S = f - 6 - 26, k = t.length ? S / t.length : 0, M = (w) => p + w / _ * b;
|
|
5927
5941
|
return /* @__PURE__ */ m("div", { ...d, className: `select-chart-wrap${r ? " " + r : ""}`, ref: g, children: [
|
|
5928
5942
|
v > 0 && /* @__PURE__ */ m("svg", { width: v, height: f, className: "select-chart", children: [
|
|
@@ -5974,7 +5988,7 @@ function wo({ data: t, height: n, format: l = Y, fromLabel: c = "Antes", toLabel
|
|
|
5974
5988
|
/* @__PURE__ */ e(K, { tip: x.tip })
|
|
5975
5989
|
] });
|
|
5976
5990
|
}
|
|
5977
|
-
function
|
|
5991
|
+
function Co({ columns: t, height: n = 240, format: l = Y, gap: c = 3, className: s, ...a }) {
|
|
5978
5992
|
const { ref: r, width: d } = ce(n), o = X(), i = { top: 6, right: 6, bottom: 24, left: 6 }, u = Math.max(0, d - i.left - i.right), h = n - i.top - i.bottom, f = t.map((p) => p.segments.reduce((b, S) => b + S.value, 0)), g = f.reduce((p, b) => p + b, 0) || 1, v = [];
|
|
5979
5993
|
t.forEach((p) => p.segments.forEach((b) => {
|
|
5980
5994
|
v.includes(b.key) || v.push(b.key);
|
|
@@ -6026,7 +6040,7 @@ function So({ columns: t, height: n = 240, format: l = Y, gap: c = 3, className:
|
|
|
6026
6040
|
/* @__PURE__ */ e(K, { tip: o.tip })
|
|
6027
6041
|
] });
|
|
6028
6042
|
}
|
|
6029
|
-
const
|
|
6043
|
+
const Lo = R(function({ value: n, max: l = 100, bands: c, size: s = 220, thickness: a, label: r, format: d = (h) => `${Math.round(h)}`, className: o, ...i }, u) {
|
|
6030
6044
|
const h = a ?? Math.max(10, Math.round(s * 0.08)), f = h / 2 + 2, g = s / 2 - f, v = s / 2, x = s / 2, N = x + f, $ = (L) => Math.max(0, Math.min(l, L)), _ = (L) => {
|
|
6031
6045
|
const B = Math.PI + L * Math.PI;
|
|
6032
6046
|
return [v + g * Math.cos(B), x + g * Math.sin(B)];
|
|
@@ -6051,7 +6065,7 @@ const Co = R(function({ value: n, max: l = 100, bands: c, size: s = 220, thickne
|
|
|
6051
6065
|
] })
|
|
6052
6066
|
] }) });
|
|
6053
6067
|
});
|
|
6054
|
-
function
|
|
6068
|
+
function Ao({ series: t, labels: n, height: l = 240, format: c = Y, className: s, ...a }) {
|
|
6055
6069
|
const { ref: r, width: d } = ce(l), o = X(), i = te(), [u, h] = D(null), f = n.length, g = { top: 14, right: 14, bottom: 28, left: 14 }, v = Math.max(0, d - g.left - g.right), x = l - g.top - g.bottom, N = n.map((k, M) => t.reduce((w, y) => w + (y.data[M] ?? 0), 0)), $ = Math.max(1, ...N), _ = x / $, p = (k) => g.left + (f <= 1 ? v / 2 : k / (f - 1) * v), b = n.map(() => 0), S = t.map((k, M) => {
|
|
6056
6070
|
const w = [], y = [];
|
|
6057
6071
|
return n.forEach((C, L) => {
|
|
@@ -6065,7 +6079,7 @@ function Lo({ series: t, labels: n, height: l = 240, format: c = Y, className: s
|
|
|
6065
6079
|
/* @__PURE__ */ e("stop", { offset: "0%", stopColor: k.color, stopOpacity: 0.95 }),
|
|
6066
6080
|
/* @__PURE__ */ e("stop", { offset: "100%", stopColor: k.color, stopOpacity: 0.6 })
|
|
6067
6081
|
] }, M)) }),
|
|
6068
|
-
S.map((k, M) => /* @__PURE__ */ e("path", { d:
|
|
6082
|
+
S.map((k, M) => /* @__PURE__ */ e("path", { d: yl(k.upper, k.lower), fill: `url(#${i}-st${M})`, className: "select-chart__area" }, M)),
|
|
6069
6083
|
u != null && /* @__PURE__ */ e("line", { x1: p(u), x2: p(u), y1: g.top, y2: g.top + x, className: "select-chart__crosshair" }),
|
|
6070
6084
|
n.map(
|
|
6071
6085
|
(k, M) => M % Math.max(1, Math.ceil(f / 7)) === 0 || M === f - 1 ? /* @__PURE__ */ e("text", { x: p(M), y: l - g.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: k }, M) : null
|
|
@@ -6097,7 +6111,7 @@ function Lo({ series: t, labels: n, height: l = 240, format: c = Y, className: s
|
|
|
6097
6111
|
/* @__PURE__ */ e(K, { tip: o.tip })
|
|
6098
6112
|
] });
|
|
6099
6113
|
}
|
|
6100
|
-
const
|
|
6114
|
+
const Fo = R(function({ data: n, size: l = 220, format: c = Y, legend: s = !0, className: a, ...r }, d) {
|
|
6101
6115
|
const o = X(), i = l / 2, u = l / 2, h = l / 2 - 2, f = h * 0.62, g = h * 0.32, v = n.map(($) => {
|
|
6102
6116
|
var _;
|
|
6103
6117
|
return (_ = $.children) != null && _.length ? $.children.reduce((p, b) => p + b.value, 0) : $.value ?? 0;
|
|
@@ -6158,7 +6172,7 @@ const Ao = R(function({ data: n, size: l = 220, format: c = Y, legend: s = !0, c
|
|
|
6158
6172
|
] }, _)) })
|
|
6159
6173
|
] });
|
|
6160
6174
|
});
|
|
6161
|
-
function
|
|
6175
|
+
function Bo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
6162
6176
|
const { ref: a, width: r } = ce(n), d = X(), o = Ee, i = Math.max(0, r - o.left - o.right), u = n - o.top - o.bottom, h = o.top + u, f = ye(Math.max(1, ...t.map((_) => _.max))), g = (_) => h - _ / f * u, v = t.length, x = v ? i / v : 0, N = Math.min(x * 0.42, 46), $ = Math.max(1, ...t.flatMap((_) => _.bins));
|
|
6163
6177
|
return /* @__PURE__ */ m("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
|
|
6164
6178
|
r > 0 && /* @__PURE__ */ m("svg", { width: r, height: n, className: "select-chart", children: [
|
|
@@ -6179,7 +6193,7 @@ function Fo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
|
6179
6193
|
const b = o.left + x * p + x / 2, S = _.color ?? j(p), k = _.bins.length, M = (A) => g(_.min + (_.max - _.min) * A / Math.max(1, k - 1)), w = (A) => _.bins[A] / $ * N, y = [], C = [];
|
|
6180
6194
|
for (let A = k - 1; A >= 0; A--) y.push([b + w(A), M(A)]);
|
|
6181
6195
|
for (let A = 0; A < k; A++) C.push([b - w(A), M(A)]);
|
|
6182
|
-
const L = `${
|
|
6196
|
+
const L = `${wn(y)} ${wn(C).replace(/^M/, "L")} Z`, B = _.median != null ? g(_.median) : null;
|
|
6183
6197
|
return /* @__PURE__ */ m("g", { children: [
|
|
6184
6198
|
/* @__PURE__ */ e("path", { d: L, fill: S, fillOpacity: 0.32, stroke: S, strokeWidth: 1.5, strokeLinejoin: "round" }),
|
|
6185
6199
|
B != null && /* @__PURE__ */ e("line", { x1: b - N * 0.6, x2: b + N * 0.6, y1: B, y2: B, stroke: S, strokeWidth: 2 }),
|
|
@@ -6212,7 +6226,7 @@ function Fo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
|
6212
6226
|
/* @__PURE__ */ e(K, { tip: d.tip })
|
|
6213
6227
|
] });
|
|
6214
6228
|
}
|
|
6215
|
-
const
|
|
6229
|
+
const Eo = R(function({ matrix: n, labels: l, size: c = 240, format: s = Y, padAngle: a = 0.05, className: r, ...d }, o) {
|
|
6216
6230
|
const i = X(), u = l.length, h = c / 2, f = c / 2, g = c / 2 - 22, v = g - 9, x = n.map((y) => y.reduce((C, L) => C + L, 0)), N = x.reduce((y, C) => y + C, 0) || 1, $ = (2 * Math.PI - u * a) / N, _ = [];
|
|
6217
6231
|
let p = 0;
|
|
6218
6232
|
for (let y = 0; y < u; y++) {
|
|
@@ -6277,7 +6291,7 @@ const Bo = R(function({ matrix: n, labels: l, size: c = 240, format: s = Y, padA
|
|
|
6277
6291
|
/* @__PURE__ */ e(K, { tip: i.tip })
|
|
6278
6292
|
] }) });
|
|
6279
6293
|
});
|
|
6280
|
-
function
|
|
6294
|
+
function Io({ points: t, height: n = 240, radius: l = 16, color: c = "var(--select-chart-1)", xMax: s, yMax: a, format: r = Y, className: d, ...o }) {
|
|
6281
6295
|
const { ref: i, width: u } = ce(n), h = X(), f = 12, g = Math.max(0, u - f * 2), v = n - f * 2, x = s ?? Math.max(1, ...t.map((C) => C.x)), N = a ?? Math.max(1, ...t.map((C) => C.y)), $ = (C) => f + C / x * g, _ = (C) => f + v - C / N * v, p = l, b = Math.sqrt(3), S = (C, L) => {
|
|
6282
6296
|
let B = C, A = L, F = -B - A, E = Math.round(B), T = Math.round(F), I = Math.round(A);
|
|
6283
6297
|
const O = Math.abs(E - B), W = Math.abs(T - F), Z = Math.abs(I - A);
|
|
@@ -6318,7 +6332,7 @@ function Eo({ points: t, height: n = 240, radius: l = 16, color: c = "var(--sele
|
|
|
6318
6332
|
/* @__PURE__ */ e(K, { tip: h.tip })
|
|
6319
6333
|
] });
|
|
6320
6334
|
}
|
|
6321
|
-
const
|
|
6335
|
+
const Po = R(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s, ...a }, r) {
|
|
6322
6336
|
const d = n.map((f) => f.value), o = Math.max(1, ...d), i = Math.min(...d), u = o - i || 1, h = (f) => l + (f - i) / u * (c - l);
|
|
6323
6337
|
return /* @__PURE__ */ e("div", { ref: r, ...a, className: `select-wordcloud${s ? " " + s : ""}`, children: n.map((f, g) => /* @__PURE__ */ e(
|
|
6324
6338
|
"span",
|
|
@@ -6334,7 +6348,7 @@ const Io = R(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s
|
|
|
6334
6348
|
},
|
|
6335
6349
|
`${f.text}-${g}`
|
|
6336
6350
|
)) });
|
|
6337
|
-
}),
|
|
6351
|
+
}), Ds = [
|
|
6338
6352
|
[-59.6, -80, -59.9, -80.5, -60.2, -81, -62.3, -80.9, -64.5, -80.9, -65.7, -80.6, -65.7, -80.5, -66.3, -80.3, -64, -80.3, -61.9, -80.4, -61.1, -80, -60.6, -79.6, -59.6, -80],
|
|
6339
6353
|
[-159.2, -79.5, -161.1, -79.6, -162.4, -79.3, -163, -78.9, -163.1, -78.9, -163.7, -78.6, -163.1, -78.2, -161.2, -78.4, -160.2, -78.7, -159.5, -79, -159.2, -79.5],
|
|
6340
6354
|
[-45.2, -78, -43.9, -78.5, -43.5, -79.1, -43.4, -79.5, -43.3, -80, -44.9, -80.3, -46.5, -80.6, -48.4, -80.8, -50.5, -81, -52.9, -81, -54.2, -80.6, -54, -80.2, -51.9, -79.9, -51, -79.6, -50.4, -79.2, -49.9, -78.8, -49.3, -78.5, -48.7, -78, -48.2, -78, -46.7, -77.8, -45.2, -78],
|
|
@@ -6471,7 +6485,7 @@ function bt([t, n, l], c, s) {
|
|
|
6471
6485
|
const a = c * Lt, r = t * Math.cos(a) + l * Math.sin(a), d = -t * Math.sin(a) + l * Math.cos(a), o = s * Lt, i = n * Math.cos(o) - d * Math.sin(o), u = n * Math.sin(o) + d * Math.cos(o);
|
|
6472
6486
|
return [r, i, u];
|
|
6473
6487
|
}
|
|
6474
|
-
function
|
|
6488
|
+
function En(t, n, l) {
|
|
6475
6489
|
let c = t[0] * n[0] + t[1] * n[1] + t[2] * n[2];
|
|
6476
6490
|
c = Math.max(-1, Math.min(1, c));
|
|
6477
6491
|
const s = Math.acos(c);
|
|
@@ -6479,7 +6493,7 @@ function In(t, n, l) {
|
|
|
6479
6493
|
const a = Math.sin(s), r = Math.sin((1 - l) * s) / a, d = Math.sin(l * s) / a;
|
|
6480
6494
|
return [t[0] * r + n[0] * d, t[1] * r + n[1] * d, t[2] * r + n[2] * d];
|
|
6481
6495
|
}
|
|
6482
|
-
const
|
|
6496
|
+
const In = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) < 1e-6, Ro = R(function({ points: n = [], arcs: l = [], size: c = 320, tilt: s = -18, spin: a = !0, speed: r = 7, color: d = "var(--select-chart-1)", format: o = Y, legend: i = !0, map: u = !0, fluid: h = !1, onZoomChange: f, className: g, ...v }, x) {
|
|
6483
6497
|
var Fe;
|
|
6484
6498
|
const N = te(), $ = X(), _ = q(null), p = Ct(_, c), b = n.length ? n.reduce((P, V) => P + V.lng, 0) / n.length : 0, S = q(
|
|
6485
6499
|
typeof window < "u" && !!((Fe = window.matchMedia) != null && Fe.call(window, "(prefers-reduced-motion: reduce)").matches)
|
|
@@ -6538,7 +6552,7 @@ const Pn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
6538
6552
|
}
|
|
6539
6553
|
return V;
|
|
6540
6554
|
}, []), de = xe(
|
|
6541
|
-
() =>
|
|
6555
|
+
() => Ds.map((P) => {
|
|
6542
6556
|
const V = [];
|
|
6543
6557
|
for (let U = 0; U < P.length; U += 2) V.push(et(P[U + 1], P[U]));
|
|
6544
6558
|
return V;
|
|
@@ -6557,21 +6571,21 @@ const Pn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
6557
6571
|
} else re = !1;
|
|
6558
6572
|
const ee = [];
|
|
6559
6573
|
for (let se = 0; se < U; se++) {
|
|
6560
|
-
const ue = V[se], _e = V[(se + 1) % U],
|
|
6561
|
-
if (
|
|
6574
|
+
const ue = V[se], _e = V[(se + 1) % U], je = ue[2] > 0, Pe = _e[2] > 0;
|
|
6575
|
+
if (je && ee.push({ v: ue, edge: !1 }), je !== Pe) {
|
|
6562
6576
|
const Je = ue[2] / (ue[2] - _e[2]);
|
|
6563
6577
|
ee.push({ v: [ue[0] + (_e[0] - ue[0]) * Je, ue[1] + (_e[1] - ue[1]) * Je, 0], edge: !0 });
|
|
6564
6578
|
}
|
|
6565
6579
|
}
|
|
6566
6580
|
if (ee.length >= 3) {
|
|
6567
|
-
const se = (_e,
|
|
6568
|
-
const Pe = me(
|
|
6569
|
-
if (_e.edge &&
|
|
6581
|
+
const se = (_e, je) => {
|
|
6582
|
+
const Pe = me(je.v);
|
|
6583
|
+
if (_e.edge && je.edge) {
|
|
6570
6584
|
const Je = Math.atan2(me(_e.v).y - Q, me(_e.v).x - H);
|
|
6571
|
-
let
|
|
6572
|
-
for (;
|
|
6573
|
-
for (;
|
|
6574
|
-
const mt =
|
|
6585
|
+
let Ve = Math.atan2(Pe.y - Q, Pe.x - H) - Je;
|
|
6586
|
+
for (; Ve > Math.PI; ) Ve -= 2 * Math.PI;
|
|
6587
|
+
for (; Ve < -Math.PI; ) Ve += 2 * Math.PI;
|
|
6588
|
+
const mt = Ve > 0 ? 1 : 0;
|
|
6575
6589
|
return `A${ne.toFixed(1)},${ne.toFixed(1)} 0 0 ${mt} ${Pe.x.toFixed(1)},${Pe.y.toFixed(1)}`;
|
|
6576
6590
|
}
|
|
6577
6591
|
return `L${Pe.x.toFixed(1)},${Pe.y.toFixed(1)}`;
|
|
@@ -6601,13 +6615,13 @@ const Pn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
6601
6615
|
}), Ne = O != null ? n[O] : null, Ie = 0.16, ke = l.map((P, V) => {
|
|
6602
6616
|
const U = et(P.from.lat, P.from.lng), re = et(P.to.lat, P.to.lng);
|
|
6603
6617
|
let ee = "", se = !1;
|
|
6604
|
-
for (let
|
|
6605
|
-
const mt =
|
|
6606
|
-
|
|
6618
|
+
for (let Ve = 0; Ve <= 40; Ve++) {
|
|
6619
|
+
const mt = Ve / 40, ft = En(U, re, mt), Pt = 1 + 0.34 * Math.sin(Math.PI * mt), $l = bt(ft, k.current.lng, k.current.lat), cn = z([ft[0] * Pt, ft[1] * Pt, ft[2] * Pt]);
|
|
6620
|
+
$l[2] > -0.05 ? (ee += `${se ? "L" : "M"}${cn.x.toFixed(1)},${cn.y.toFixed(1)}`, se = !0) : se = !1;
|
|
6607
6621
|
}
|
|
6608
|
-
const ue = S.current ? 0.5 : (B.current * Ie + V * 0.27) % 1, _e =
|
|
6609
|
-
return { d: ee, col: P.color ?? d, i: V, flow: { ...Je, vis: Pe[2] > 0 }, active:
|
|
6610
|
-
}), Ue = Ne != null,
|
|
6622
|
+
const ue = S.current ? 0.5 : (B.current * Ie + V * 0.27) % 1, _e = En(U, re, ue), je = 1 + 0.34 * Math.sin(Math.PI * ue), Pe = bt(_e, k.current.lng, k.current.lat), Je = z([_e[0] * je, _e[1] * je, _e[2] * je]), ln = Ne != null && (In(P.from, Ne) || In(P.to, Ne));
|
|
6623
|
+
return { d: ee, col: P.color ?? d, i: V, flow: { ...Je, vis: Pe[2] > 0 }, active: ln };
|
|
6624
|
+
}), Ue = Ne != null, He = i ? [...n].sort((P, V) => (V.value ?? 0) - (P.value ?? 0)).slice(0, 6) : [];
|
|
6611
6625
|
return /* @__PURE__ */ m("div", { ref: x, ...v, className: `select-globe${g ? " " + g : ""}`, children: [
|
|
6612
6626
|
/* @__PURE__ */ m(
|
|
6613
6627
|
"div",
|
|
@@ -6751,14 +6765,14 @@ const Pn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
6751
6765
|
]
|
|
6752
6766
|
}
|
|
6753
6767
|
),
|
|
6754
|
-
|
|
6768
|
+
He.length > 0 && /* @__PURE__ */ e("ul", { className: "select-donut__legend", children: He.map((P, V) => /* @__PURE__ */ m("li", { className: "select-donut__legitem", children: [
|
|
6755
6769
|
/* @__PURE__ */ e("span", { className: "select-donut__dot", style: { background: P.color ?? d } }),
|
|
6756
6770
|
/* @__PURE__ */ e("span", { className: "select-donut__leglabel", children: P.label }),
|
|
6757
6771
|
P.value != null && /* @__PURE__ */ e("span", { className: "select-donut__legval", children: o(P.value) })
|
|
6758
6772
|
] }, V)) })
|
|
6759
6773
|
] });
|
|
6760
6774
|
});
|
|
6761
|
-
function
|
|
6775
|
+
function Do({ children: t, speed: n = 28, className: l, ...c }) {
|
|
6762
6776
|
const s = q(null), a = q(null), r = q(null), d = Ct(s, 0), o = Ct(r, 0), i = d > 0 && o > d + 1, u = q(0), h = q(null), f = q(!1);
|
|
6763
6777
|
le(() => {
|
|
6764
6778
|
var S;
|
|
@@ -6806,7 +6820,7 @@ function Ro({ children: t, speed: n = 28, className: l, ...c }) {
|
|
|
6806
6820
|
}
|
|
6807
6821
|
);
|
|
6808
6822
|
}
|
|
6809
|
-
function
|
|
6823
|
+
function To({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
6810
6824
|
var A;
|
|
6811
6825
|
const { ref: a, width: r } = ce(n), d = X(), o = te(), [i, u] = D(null), h = { ...Ee, right: 44 }, f = [...t].sort((F, E) => E.value - F.value), g = f.length, v = f.reduce((F, E) => F + E.value, 0) || 1;
|
|
6812
6826
|
let x = 0;
|
|
@@ -6873,7 +6887,7 @@ function Do({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
|
6873
6887
|
/* @__PURE__ */ e(K, { tip: d.tip })
|
|
6874
6888
|
] });
|
|
6875
6889
|
}
|
|
6876
|
-
const
|
|
6890
|
+
const Wo = R(function({ segments: n, cols: l = 10, rows: c = 10, format: s = Y, className: a, ...r }, d) {
|
|
6877
6891
|
const o = n.reduce((x, N) => x + N.value, 0) || 1, i = l * c, u = n.map((x) => x.value / o * i), h = u.map(Math.floor);
|
|
6878
6892
|
let f = h.reduce((x, N) => x + N, 0);
|
|
6879
6893
|
const g = u.map((x, N) => ({ i: N, frac: x - h[N] })).sort((x, N) => N.frac - x.frac);
|
|
@@ -6892,7 +6906,7 @@ const To = R(function({ segments: n, cols: l = 10, rows: c = 10, format: s = Y,
|
|
|
6892
6906
|
] }, N)) })
|
|
6893
6907
|
] });
|
|
6894
6908
|
});
|
|
6895
|
-
function
|
|
6909
|
+
function Oo({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", height: c, format: s = Y, leftColor: a, rightColor: r, centerWidth: d = 84, className: o, ...i }) {
|
|
6896
6910
|
const u = c ?? Math.max(180, t.length * 40 + 36), { ref: h, width: f } = ce(u), g = X(), [v, x] = D(null), N = 8, $ = 26, _ = 8, p = Math.max(1, ...t.flatMap((L) => [L.left, L.right])), b = Math.max(0, (f - d - N * 2) / 2), S = t.length ? (u - $ - _) / t.length : 0, k = Math.min(S * 0.6, 26), M = N + b, w = N + b + d, y = a ?? j(1), C = r ?? j(0);
|
|
6897
6911
|
return /* @__PURE__ */ m("div", { ...i, className: `select-chart-wrap${o ? " " + o : ""}`, ref: h, children: [
|
|
6898
6912
|
f > 0 && /* @__PURE__ */ m("svg", { width: f, height: u, className: "select-chart", onMouseLeave: () => {
|
|
@@ -6946,7 +6960,7 @@ function Wo({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", hei
|
|
|
6946
6960
|
/* @__PURE__ */ e(K, { tip: g.tip })
|
|
6947
6961
|
] });
|
|
6948
6962
|
}
|
|
6949
|
-
function
|
|
6963
|
+
function Ho({ series: t, labels: n, height: l = 240, format: c = Y, className: s, ...a }) {
|
|
6950
6964
|
const { ref: r, width: d } = ce(l), o = X(), [i, u] = D(null), h = { top: 16, right: 78, bottom: 28, left: 28 }, f = n.length, g = t.length, v = Math.max(0, d - h.left - h.right), x = l - h.top - h.bottom, N = t.map(() => new Array(f).fill(0));
|
|
6951
6965
|
for (let p = 0; p < f; p++)
|
|
6952
6966
|
t.map((S, k) => ({ si: k, v: S.data[p] ?? 0 })).sort((S, k) => k.v - S.v).forEach((S, k) => {
|
|
@@ -6994,7 +7008,7 @@ function Oo({ series: t, labels: n, height: l = 240, format: c = Y, className: s
|
|
|
6994
7008
|
/* @__PURE__ */ e(K, { tip: o.tip })
|
|
6995
7009
|
] });
|
|
6996
7010
|
}
|
|
6997
|
-
function
|
|
7011
|
+
function jo({ axes: t, data: n, height: l = 260, format: c = Y, className: s, ...a }) {
|
|
6998
7012
|
const { ref: r, width: d } = ce(l), o = X(), [i, u] = D(null), h = { top: 30, right: 28, bottom: 26, left: 28 }, f = Math.max(0, d - h.left - h.right), g = l - h.top - h.bottom, v = t.length, x = (_) => h.left + (v <= 1 ? f / 2 : f / (v - 1) * _), N = t.map((_) => {
|
|
6999
7013
|
const p = n.map((b) => b.values[_.key] ?? 0);
|
|
7000
7014
|
return { min: Math.min(...p), max: Math.max(...p) };
|
|
@@ -7048,11 +7062,11 @@ function Ho({ axes: t, data: n, height: l = 260, format: c = Y, className: s, ..
|
|
|
7048
7062
|
function Mt(t) {
|
|
7049
7063
|
return t.children && t.children.length ? t.children.reduce((n, l) => n + Mt(l), 0) : t.value ?? 0;
|
|
7050
7064
|
}
|
|
7051
|
-
function
|
|
7052
|
-
return !t.children || !t.children.length ? n : Math.max(...t.children.map((l) =>
|
|
7065
|
+
function Nl(t, n = 0) {
|
|
7066
|
+
return !t.children || !t.children.length ? n : Math.max(...t.children.map((l) => Nl(l, n + 1)));
|
|
7053
7067
|
}
|
|
7054
|
-
function
|
|
7055
|
-
const { ref: a, width: r } = ce(n), d = X(), [o, i] = D(null), u =
|
|
7068
|
+
function Vo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
7069
|
+
const { ref: a, width: r } = ce(n), d = X(), [o, i] = D(null), u = Nl(t), h = n / (u + 1), f = [], g = (v, x, N, $, _) => {
|
|
7056
7070
|
if (f.push({ node: v, x0: x, x1: N, depth: $, color: v.color ?? j(_), value: Mt(v) }), v.children && v.children.length) {
|
|
7057
7071
|
const p = v.children.reduce((S, k) => S + Mt(k), 0) || 1;
|
|
7058
7072
|
let b = x;
|
|
@@ -7095,7 +7109,7 @@ function jo({ data: t, height: n = 240, format: l = Y, className: c, ...s }) {
|
|
|
7095
7109
|
/* @__PURE__ */ e(K, { tip: d.tip })
|
|
7096
7110
|
] });
|
|
7097
7111
|
}
|
|
7098
|
-
function
|
|
7112
|
+
function Zo({ data: t, height: n = 260, className: l, ...c }) {
|
|
7099
7113
|
const { ref: s, width: a } = ce(n), r = X(), [d, o] = D(null), i = { top: 14, right: 96, bottom: 14, left: 16 };
|
|
7100
7114
|
let u = null;
|
|
7101
7115
|
if (a > 0) {
|
|
@@ -7165,7 +7179,7 @@ function Vo({ data: t, height: n = 260, className: l, ...c }) {
|
|
|
7165
7179
|
/* @__PURE__ */ e(K, { tip: r.tip })
|
|
7166
7180
|
] });
|
|
7167
7181
|
}
|
|
7168
|
-
const
|
|
7182
|
+
const Go = R(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
7169
7183
|
const r = Math.min(3, n.length), d = l / 2, o = l / 2, i = Math.max(1, ...n.slice(0, r).map((g) => g.size)), u = l * 0.26, h = (g) => u * 0.45 + u * 0.55 * Math.sqrt(g.size / i), f = r <= 2 ? [
|
|
7170
7184
|
[d - u * 0.42, o],
|
|
7171
7185
|
[d + u * 0.42, o]
|
|
@@ -7213,7 +7227,7 @@ const Zo = R(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
|
7213
7227
|
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: g.size.toLocaleString("pt-BR") })
|
|
7214
7228
|
] }, v)) })
|
|
7215
7229
|
] });
|
|
7216
|
-
}),
|
|
7230
|
+
}), Uo = R(function({ data: n, size: l = 260, format: c = Y, className: s, ...a }, r) {
|
|
7217
7231
|
const d = X(), [o, i] = D(null), u = Math.max(1, ...n.map((y) => y.value)), h = n.map((y, C) => ({ d: y, i: C, r: 8 + Math.sqrt(y.value / u) * 40 })).sort((y, C) => C.r - y.r), f = [];
|
|
7218
7232
|
for (const y of h) {
|
|
7219
7233
|
if (f.length === 0) {
|
|
@@ -7269,7 +7283,7 @@ const Zo = R(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
|
7269
7283
|
/* @__PURE__ */ e(K, { tip: d.tip })
|
|
7270
7284
|
] });
|
|
7271
7285
|
});
|
|
7272
|
-
function
|
|
7286
|
+
function qo({ nodes: t, links: n, height: l = 300, format: c = Y, className: s, ...a }) {
|
|
7273
7287
|
const { ref: r, width: d } = ce(l), o = X(), [i, u] = D(null), h = xe(() => {
|
|
7274
7288
|
const v = d || l, x = l, N = t.length, $ = /* @__PURE__ */ new Map();
|
|
7275
7289
|
if (!N) return $;
|
|
@@ -7354,11 +7368,11 @@ function Uo({ nodes: t, links: n, height: l = 300, format: c = Y, className: s,
|
|
|
7354
7368
|
/* @__PURE__ */ e(K, { tip: o.tip })
|
|
7355
7369
|
] });
|
|
7356
7370
|
}
|
|
7357
|
-
function
|
|
7371
|
+
function Ts({ children: t }) {
|
|
7358
7372
|
const n = Et({ selector: ".select-combobox__option", y: 6, duration: 0.3, stagger: 0.03 });
|
|
7359
7373
|
return /* @__PURE__ */ e("div", { className: "select-combobox__list", ref: n, children: t });
|
|
7360
7374
|
}
|
|
7361
|
-
const
|
|
7375
|
+
const Yo = R(function({ label: n, value: l, onChange: c, options: s, placeholder: a = "Selecionar…", searchPlaceholder: r = "Buscar…", labelAction: d, hint: o, error: i, emptyText: u = "Nenhum resultado", disabled: h, required: f, size: g = "md", searchable: v = !0, className: x, ...N }, $) {
|
|
7362
7376
|
const _ = te(), [p, b] = D(!1), [S, k] = D(""), M = s.find((B) => B.value === l), w = xe(() => {
|
|
7363
7377
|
const B = S.trim().toLowerCase();
|
|
7364
7378
|
return !v || !B ? s : s.filter((A) => {
|
|
@@ -7376,7 +7390,7 @@ const qo = R(function({ label: n, value: l, onChange: c, options: s, placeholder
|
|
|
7376
7390
|
d
|
|
7377
7391
|
] }),
|
|
7378
7392
|
/* @__PURE__ */ e("div", { className: "select-combobox", children: /* @__PURE__ */ e(
|
|
7379
|
-
|
|
7393
|
+
We,
|
|
7380
7394
|
{
|
|
7381
7395
|
active: p,
|
|
7382
7396
|
onClose: y,
|
|
@@ -7413,7 +7427,7 @@ const qo = R(function({ label: n, value: l, onChange: c, options: s, placeholder
|
|
|
7413
7427
|
autoFocus: !0
|
|
7414
7428
|
}
|
|
7415
7429
|
) }),
|
|
7416
|
-
/* @__PURE__ */ e(
|
|
7430
|
+
/* @__PURE__ */ e(Ts, { children: w.length === 0 ? /* @__PURE__ */ e("div", { className: "select-combobox__empty", children: u }) : w.map((B) => {
|
|
7417
7431
|
const A = B.value === l;
|
|
7418
7432
|
return /* @__PURE__ */ m(
|
|
7419
7433
|
"button",
|
|
@@ -7440,17 +7454,17 @@ const qo = R(function({ label: n, value: l, onChange: c, options: s, placeholder
|
|
|
7440
7454
|
) }),
|
|
7441
7455
|
i ? /* @__PURE__ */ e("p", { id: `${_}-err`, className: "select-field__error", children: i }) : o ? /* @__PURE__ */ e("p", { id: `${_}-hint`, className: "select-field__hint", children: o }) : null
|
|
7442
7456
|
] });
|
|
7443
|
-
}),
|
|
7444
|
-
{ value: "light", label: "Claro", icon: /* @__PURE__ */ e(
|
|
7445
|
-
{ value: "dark", label: "Escuro", icon: /* @__PURE__ */ e(
|
|
7446
|
-
{ value: "system", label: "Sistema", icon: /* @__PURE__ */ e(
|
|
7457
|
+
}), Tt = [
|
|
7458
|
+
{ value: "light", label: "Claro", icon: /* @__PURE__ */ e(Vl, {}) },
|
|
7459
|
+
{ value: "dark", label: "Escuro", icon: /* @__PURE__ */ e(Zl, {}) },
|
|
7460
|
+
{ value: "system", label: "Sistema", icon: /* @__PURE__ */ e(Hn, {}) }
|
|
7447
7461
|
];
|
|
7448
|
-
function
|
|
7462
|
+
function zo(t) {
|
|
7449
7463
|
var n;
|
|
7450
7464
|
return t === "system" ? (n = window.matchMedia) != null && n.call(window, "(prefers-color-scheme: dark)").matches ? "dark" : "light" : t;
|
|
7451
7465
|
}
|
|
7452
|
-
function
|
|
7453
|
-
const [s, a] = D(!1), r = q(null), d =
|
|
7466
|
+
function Xo({ value: t, onChange: n, className: l, ...c }) {
|
|
7467
|
+
const [s, a] = D(!1), r = q(null), d = Tt.find((o) => o.value === t) ?? Tt[2];
|
|
7454
7468
|
return le(() => {
|
|
7455
7469
|
if (!s) return;
|
|
7456
7470
|
const o = (i) => {
|
|
@@ -7458,12 +7472,12 @@ function zo({ value: t, onChange: n, className: l, ...c }) {
|
|
|
7458
7472
|
};
|
|
7459
7473
|
return document.addEventListener("mousedown", o), () => document.removeEventListener("mousedown", o);
|
|
7460
7474
|
}, [s]), /* @__PURE__ */ m("div", { ...c, className: `select-themeswitcher${l ? " " + l : ""}`, ref: r, children: [
|
|
7461
|
-
/* @__PURE__ */ e(
|
|
7475
|
+
/* @__PURE__ */ e(ls, { active: s, onClick: () => a((o) => !o), children: /* @__PURE__ */ m("span", { className: "select-themeswitcher__current", children: [
|
|
7462
7476
|
d.icon,
|
|
7463
7477
|
d.label
|
|
7464
7478
|
] }) }),
|
|
7465
|
-
s && /* @__PURE__ */ e("div", { className: "select-themeswitcher__popover", children: /* @__PURE__ */ e(
|
|
7466
|
-
|
|
7479
|
+
s && /* @__PURE__ */ e("div", { className: "select-themeswitcher__popover", children: /* @__PURE__ */ e(ts, { children: Tt.map((o) => /* @__PURE__ */ e(
|
|
7480
|
+
ns,
|
|
7467
7481
|
{
|
|
7468
7482
|
icon: o.icon,
|
|
7469
7483
|
active: o.value === t,
|
|
@@ -7477,23 +7491,23 @@ function zo({ value: t, onChange: n, className: l, ...c }) {
|
|
|
7477
7491
|
)) }) })
|
|
7478
7492
|
] });
|
|
7479
7493
|
}
|
|
7480
|
-
const
|
|
7481
|
-
function
|
|
7494
|
+
const Ml = Yt(!1);
|
|
7495
|
+
function Ko({
|
|
7482
7496
|
children: t,
|
|
7483
7497
|
stacked: n = !1,
|
|
7484
7498
|
loading: l = !1
|
|
7485
7499
|
}) {
|
|
7486
7500
|
const c = Et({ selector: ".select-detail", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
|
|
7487
|
-
return /* @__PURE__ */ e(
|
|
7501
|
+
return /* @__PURE__ */ e(Ml.Provider, { value: l, children: /* @__PURE__ */ e("div", { className: `select-detaillist${n ? " select-detaillist--stacked" : ""}`, ref: c, children: t }) });
|
|
7488
7502
|
}
|
|
7489
|
-
const
|
|
7490
|
-
const i =
|
|
7503
|
+
const Jo = R(function({ label: n, children: l, action: c, align: s = "center", loading: a, className: r, ...d }, o) {
|
|
7504
|
+
const i = qt(Ml), u = a ?? i;
|
|
7491
7505
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-detail select-detail--${s}${r ? " " + r : ""}`, children: [
|
|
7492
7506
|
/* @__PURE__ */ e("div", { className: "select-detail__label", children: n }),
|
|
7493
7507
|
/* @__PURE__ */ e("div", { className: "select-detail__value", children: u ? /* @__PURE__ */ e("span", { className: "select-skeleton select-detail__skel" }) : l }),
|
|
7494
7508
|
c && /* @__PURE__ */ e("div", { className: "select-detail__action", children: c })
|
|
7495
7509
|
] });
|
|
7496
|
-
}),
|
|
7510
|
+
}), Qo = R(function({ steps: n, current: l, onSelect: c, className: s, ...a }, r) {
|
|
7497
7511
|
return /* @__PURE__ */ e("ol", { ref: r, ...a, className: `select-steps${s ? " " + s : ""}`, children: n.map((d, o) => {
|
|
7498
7512
|
const i = o < l ? "done" : o === l ? "current" : "todo", u = !!c && o < l, h = /* @__PURE__ */ m(ae, { children: [
|
|
7499
7513
|
/* @__PURE__ */ e("span", { className: "select-steps__num", "aria-hidden": "true", children: i === "done" ? /* @__PURE__ */ e(Ae, {}) : o + 1 }),
|
|
@@ -7501,7 +7515,7 @@ const Ko = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
7501
7515
|
] });
|
|
7502
7516
|
return /* @__PURE__ */ e("li", { className: `select-steps__step select-steps__step--${i}`, "aria-current": i === "current" ? "step" : void 0, children: u ? /* @__PURE__ */ e("button", { type: "button", className: "select-steps__btn", onClick: () => c(o), children: h }) : h }, o);
|
|
7503
7517
|
}) });
|
|
7504
|
-
}),
|
|
7518
|
+
}), er = R(function({ name: n, price: l, priceSuffix: c, headerAction: s, summary: a, cta: r, featuresTitle: d, features: o, featured: i = !1, className: u, ...h }, f) {
|
|
7505
7519
|
return /* @__PURE__ */ m("div", { ref: f, ...h, className: `select-plan${i ? " select-plan--featured" : ""}${u ? " " + u : ""}`, children: [
|
|
7506
7520
|
/* @__PURE__ */ m("div", { className: "select-plan__top", children: [
|
|
7507
7521
|
/* @__PURE__ */ m("div", { className: "select-plan__head", children: [
|
|
@@ -7518,12 +7532,12 @@ const Ko = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
7518
7532
|
o && o.length > 0 && /* @__PURE__ */ m("div", { className: "select-plan__features", children: [
|
|
7519
7533
|
d && /* @__PURE__ */ e("p", { className: "select-plan__featurestitle", children: d }),
|
|
7520
7534
|
/* @__PURE__ */ e("ul", { className: "select-plan__list", children: o.map((g, v) => /* @__PURE__ */ m("li", { className: "select-plan__feature", children: [
|
|
7521
|
-
/* @__PURE__ */ e("span", { className: "select-plan__check", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
7535
|
+
/* @__PURE__ */ e("span", { className: "select-plan__check", "aria-hidden": "true", children: /* @__PURE__ */ e(ql, {}) }),
|
|
7522
7536
|
/* @__PURE__ */ e("span", { children: g })
|
|
7523
7537
|
] }, v)) })
|
|
7524
7538
|
] })
|
|
7525
7539
|
] });
|
|
7526
|
-
}),
|
|
7540
|
+
}), tr = R(function({ title: n, description: l, headerAction: c, footer: s, children: a, className: r, ...d }, o) {
|
|
7527
7541
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-listcard${r ? " " + r : ""}`, children: [
|
|
7528
7542
|
(n || c) && /* @__PURE__ */ m("div", { className: "select-listcard__head", children: [
|
|
7529
7543
|
/* @__PURE__ */ m("div", { className: "select-listcard__heading", children: [
|
|
@@ -7536,7 +7550,7 @@ const Ko = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
7536
7550
|
s && /* @__PURE__ */ e("div", { className: "select-listcard__footer", children: s })
|
|
7537
7551
|
] });
|
|
7538
7552
|
});
|
|
7539
|
-
function
|
|
7553
|
+
function nr({
|
|
7540
7554
|
media: t,
|
|
7541
7555
|
title: n,
|
|
7542
7556
|
secondary: l,
|
|
@@ -7554,7 +7568,7 @@ function tr({
|
|
|
7554
7568
|
] }), d = `select-listrow${s ? " select-listrow--muted" : ""}`;
|
|
7555
7569
|
return a ? /* @__PURE__ */ e("button", { type: "button", className: `${d} select-listrow--clickable`, onClick: a, children: r }) : /* @__PURE__ */ e("div", { className: d, children: r });
|
|
7556
7570
|
}
|
|
7557
|
-
const
|
|
7571
|
+
const Pn = R(function({ src: n, alt: l = "", size: c = 40, className: s, ...a }, r) {
|
|
7558
7572
|
const [d, o] = D(!1);
|
|
7559
7573
|
return le(() => o(!1), [n]), /* @__PURE__ */ e("span", { ref: r, ...a, className: `select-thumb${s ? " " + s : ""}`, style: { width: c, height: c }, children: n && !d ? /* @__PURE__ */ e(
|
|
7560
7574
|
"img",
|
|
@@ -7565,9 +7579,9 @@ const Rn = R(function({ src: n, alt: l = "", size: c = 40, className: s, ...a },
|
|
|
7565
7579
|
className: "select-thumb__img",
|
|
7566
7580
|
onError: () => o(!0)
|
|
7567
7581
|
}
|
|
7568
|
-
) : /* @__PURE__ */ e("span", { className: "select-thumb__ph", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
7582
|
+
) : /* @__PURE__ */ e("span", { className: "select-thumb__ph", "aria-hidden": "true", children: /* @__PURE__ */ e(jl, {}) }) });
|
|
7569
7583
|
});
|
|
7570
|
-
function
|
|
7584
|
+
function Ws({
|
|
7571
7585
|
open: t,
|
|
7572
7586
|
onClose: n,
|
|
7573
7587
|
src: l,
|
|
@@ -7576,7 +7590,7 @@ function Ts({
|
|
|
7576
7590
|
}) {
|
|
7577
7591
|
return /* @__PURE__ */ e(It, { open: t, onClose: n, title: s, size: "lg", theme: ut(), children: /* @__PURE__ */ e("div", { className: "select-imagezoom", children: /* @__PURE__ */ e("img", { src: l, alt: c ?? s ?? "", className: "select-imagezoom__img" }) }) });
|
|
7578
7592
|
}
|
|
7579
|
-
function
|
|
7593
|
+
function lr({
|
|
7580
7594
|
src: t,
|
|
7581
7595
|
alt: n = "",
|
|
7582
7596
|
size: l = 40,
|
|
@@ -7593,13 +7607,13 @@ function nr({
|
|
|
7593
7607
|
},
|
|
7594
7608
|
"aria-label": "Ampliar imagem",
|
|
7595
7609
|
style: { all: "unset", cursor: "zoom-in", display: "inline-flex" },
|
|
7596
|
-
children: /* @__PURE__ */ e(
|
|
7610
|
+
children: /* @__PURE__ */ e(Pn, { src: t, size: l, alt: n })
|
|
7597
7611
|
}
|
|
7598
7612
|
),
|
|
7599
|
-
s && /* @__PURE__ */ e(
|
|
7600
|
-
] }) : /* @__PURE__ */ e(
|
|
7613
|
+
s && /* @__PURE__ */ e(Ws, { open: !0, onClose: () => a(!1), src: t, alt: n, title: c ?? n })
|
|
7614
|
+
] }) : /* @__PURE__ */ e(Pn, { size: l, alt: n });
|
|
7601
7615
|
}
|
|
7602
|
-
const
|
|
7616
|
+
const cr = R(function({ media: n, title: l, secondary: c, className: s, ...a }, r) {
|
|
7603
7617
|
return /* @__PURE__ */ m("span", { ref: r, ...a, className: `select-mediacell${s ? " " + s : ""}`, children: [
|
|
7604
7618
|
n && /* @__PURE__ */ e("span", { className: "select-mediacell__media", children: n }),
|
|
7605
7619
|
/* @__PURE__ */ m("span", { className: "select-mediacell__text", children: [
|
|
@@ -7608,7 +7622,7 @@ const lr = R(function({ media: n, title: l, secondary: c, className: s, ...a },
|
|
|
7608
7622
|
] })
|
|
7609
7623
|
] });
|
|
7610
7624
|
});
|
|
7611
|
-
function
|
|
7625
|
+
function sr() {
|
|
7612
7626
|
const [t, n] = D(
|
|
7613
7627
|
() => typeof navigator < "u" && navigator.onLine === !1
|
|
7614
7628
|
);
|
|
@@ -7632,7 +7646,7 @@ function cr() {
|
|
|
7632
7646
|
}
|
|
7633
7647
|
);
|
|
7634
7648
|
}
|
|
7635
|
-
function
|
|
7649
|
+
function Os(t) {
|
|
7636
7650
|
return Array.isArray(t) ? t.filter((n) => n != null && typeof n == "object").map((n) => ({
|
|
7637
7651
|
name: String(n.name ?? n.key ?? ""),
|
|
7638
7652
|
value: n.value == null ? "" : String(n.value)
|
|
@@ -7641,12 +7655,12 @@ function Ws(t) {
|
|
|
7641
7655
|
value: l == null ? "" : String(l)
|
|
7642
7656
|
})) : [];
|
|
7643
7657
|
}
|
|
7644
|
-
const
|
|
7645
|
-
const f =
|
|
7658
|
+
const ar = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valuePlaceholder: s = "Valor", keyOptions: a, addLabel: r = "Adicionar", max: d, helpText: o = "Linhas vazias serão ignoradas.", className: i, ...u }, h) {
|
|
7659
|
+
const f = Os(n), g = ($, _) => l(f.map((p, b) => b === $ ? { ...p, ..._ } : p)), v = ($) => l(f.filter((_, p) => p !== $)), x = () => l([...f, { name: "", value: "" }]), N = d == null || f.length < d;
|
|
7646
7660
|
return /* @__PURE__ */ m("div", { ref: h, ...u, className: `select-kv${i ? " " + i : ""}`, children: [
|
|
7647
7661
|
f.map(($, _) => /* @__PURE__ */ m("div", { className: "select-kv__row", children: [
|
|
7648
7662
|
/* @__PURE__ */ e("div", { className: "select-kv__field", children: a ? /* @__PURE__ */ e(
|
|
7649
|
-
|
|
7663
|
+
jt,
|
|
7650
7664
|
{
|
|
7651
7665
|
size: "sm",
|
|
7652
7666
|
options: [{ label: c, value: "" }, ...a],
|
|
@@ -7654,7 +7668,7 @@ const sr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7654
7668
|
onChange: (p) => g(_, { name: p })
|
|
7655
7669
|
}
|
|
7656
7670
|
) : /* @__PURE__ */ e(
|
|
7657
|
-
|
|
7671
|
+
Ze,
|
|
7658
7672
|
{
|
|
7659
7673
|
size: "sm",
|
|
7660
7674
|
value: $.name,
|
|
@@ -7664,7 +7678,7 @@ const sr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7664
7678
|
}
|
|
7665
7679
|
) }),
|
|
7666
7680
|
/* @__PURE__ */ e("div", { className: "select-kv__field", children: /* @__PURE__ */ e(
|
|
7667
|
-
|
|
7681
|
+
Ze,
|
|
7668
7682
|
{
|
|
7669
7683
|
size: "sm",
|
|
7670
7684
|
value: $.value,
|
|
@@ -7673,15 +7687,15 @@ const sr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7673
7687
|
autoComplete: "off"
|
|
7674
7688
|
}
|
|
7675
7689
|
) }),
|
|
7676
|
-
/* @__PURE__ */ e("div", { className: "select-kv__remove", children: /* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(
|
|
7690
|
+
/* @__PURE__ */ e("div", { className: "select-kv__remove", children: /* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Zn, {}), label: "Remover", onClick: () => v(_) }) })
|
|
7677
7691
|
] }, _)),
|
|
7678
|
-
N && /* @__PURE__ */ e("div", { children: /* @__PURE__ */ m(
|
|
7692
|
+
N && /* @__PURE__ */ e("div", { children: /* @__PURE__ */ m(Oc, { onClick: x, children: [
|
|
7679
7693
|
"+ ",
|
|
7680
7694
|
r
|
|
7681
7695
|
] }) }),
|
|
7682
7696
|
o && /* @__PURE__ */ e("p", { className: "select-kv__hint", children: o })
|
|
7683
7697
|
] });
|
|
7684
|
-
}),
|
|
7698
|
+
}), Rn = (t) => String(t).padStart(2, "0"), Hs = {
|
|
7685
7699
|
"en-US": {
|
|
7686
7700
|
weekdays: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
7687
7701
|
months: [
|
|
@@ -7724,12 +7738,12 @@ const sr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7724
7738
|
to: "Até",
|
|
7725
7739
|
cancel: "Cancelar",
|
|
7726
7740
|
apply: "Aplicar",
|
|
7727
|
-
formatDate: (t) => `${
|
|
7741
|
+
formatDate: (t) => `${Rn(t.getDate())} / ${Rn(t.getMonth() + 1)} / ${t.getFullYear()}`
|
|
7728
7742
|
}
|
|
7729
|
-
}, Re = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), xt = (t) => new Date(t.getFullYear(), t.getMonth(), 1), At = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n),
|
|
7743
|
+
}, Re = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), xt = (t) => new Date(t.getFullYear(), t.getMonth(), 1), At = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), Dn = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), yt = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate(), Nt = (t) => {
|
|
7730
7744
|
const n = /* @__PURE__ */ new Date();
|
|
7731
7745
|
return { from: new Date(n.getTime() - t * 6e4), to: n };
|
|
7732
|
-
},
|
|
7746
|
+
}, js = [
|
|
7733
7747
|
{ id: "15m", label: "Last 15 minutes", range: () => Nt(15) },
|
|
7734
7748
|
{ id: "1h", label: "Last 1 hour", range: () => Nt(60) },
|
|
7735
7749
|
{ id: "3h", label: "Last 3 hours", range: () => Nt(180) },
|
|
@@ -7740,12 +7754,12 @@ const sr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7740
7754
|
], qe = (t) => {
|
|
7741
7755
|
const n = Re(/* @__PURE__ */ new Date());
|
|
7742
7756
|
return { from: At(n, -t), to: n };
|
|
7743
|
-
},
|
|
7757
|
+
}, Vs = (t) => {
|
|
7744
7758
|
const n = At(Re(/* @__PURE__ */ new Date()), -1);
|
|
7745
7759
|
return { from: n, to: n };
|
|
7746
|
-
},
|
|
7760
|
+
}, Zs = [
|
|
7747
7761
|
{ id: "today", label: "Hoje", range: () => qe(0) },
|
|
7748
|
-
{ id: "yesterday", label: "Ontem", range: () =>
|
|
7762
|
+
{ id: "yesterday", label: "Ontem", range: () => Vs() },
|
|
7749
7763
|
{ id: "7d", label: "Últimos 7 dias", range: () => qe(6) },
|
|
7750
7764
|
{ id: "10d", label: "Últimos 10 dias", range: () => qe(9) },
|
|
7751
7765
|
{ id: "15d", label: "Últimos 15 dias", range: () => qe(14) },
|
|
@@ -7753,14 +7767,14 @@ const sr = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
7753
7767
|
{ id: "30d", label: "Últimos 30 dias", range: () => qe(29) },
|
|
7754
7768
|
{ id: "90d", label: "Últimos 90 dias", range: () => qe(89) }
|
|
7755
7769
|
];
|
|
7756
|
-
function
|
|
7770
|
+
function Gs(t) {
|
|
7757
7771
|
if (!t) return "—";
|
|
7758
7772
|
let n = t.getHours();
|
|
7759
7773
|
const l = n < 12 ? "AM" : "PM";
|
|
7760
7774
|
return n = n % 12 || 12, `${n} : ${String(t.getMinutes()).padStart(2, "0")} ${l}`;
|
|
7761
7775
|
}
|
|
7762
|
-
const
|
|
7763
|
-
const g =
|
|
7776
|
+
const Us = R(function({ value: n, presets: l = js, onApply: c, onCancel: s, accentVar: a, locale: r = "en-US", showTime: d = !0, maxDate: o, embedded: i = !1, className: u, ...h }, f) {
|
|
7777
|
+
const g = Hs[r], v = Re(/* @__PURE__ */ new Date()), x = o ? Re(o) : null, [N, $] = D(n ?? { from: v, to: v }), [_, p] = D(xt((n == null ? void 0 : n.from) ?? /* @__PURE__ */ new Date())), [b, S] = D(null), k = At(xt(_), -xt(_).getDay()), M = Array.from({ length: 42 }, (A, F) => At(k, F)), w = (A) => x ? Re(A) > x : !1, y = (A) => A ? g.formatDate(A) : /* @__PURE__ */ e("span", { className: "select-datepicker__placeholder", children: "— / — / ——" }), C = (A) => {
|
|
7764
7778
|
w(A) || (S(null), $((F) => !F.from || F.from && F.to ? { from: A, to: null } : A < Re(F.from) ? { from: A, to: null } : { from: F.from, to: A }));
|
|
7765
7779
|
}, L = (A) => {
|
|
7766
7780
|
if (A.disabled || !A.range) return;
|
|
@@ -7791,7 +7805,7 @@ const Gs = R(function({ value: n, presets: l = Hs, onApply: c, onCancel: s, acce
|
|
|
7791
7805
|
/* @__PURE__ */ e("div", { className: "select-datepicker__fields", children: ["from", "to"].map((A) => /* @__PURE__ */ m("div", { className: "select-datepicker__fieldrow", children: [
|
|
7792
7806
|
/* @__PURE__ */ e("span", { className: "select-datepicker__fieldlabel", children: A === "from" ? g.from : g.to }),
|
|
7793
7807
|
/* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--date", children: y(N[A]) }),
|
|
7794
|
-
d && /* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--time", children:
|
|
7808
|
+
d && /* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--time", children: Gs(N[A]) })
|
|
7795
7809
|
] }, A)) }),
|
|
7796
7810
|
/* @__PURE__ */ m("div", { className: "select-datepicker__calhead", children: [
|
|
7797
7811
|
/* @__PURE__ */ e(
|
|
@@ -7800,8 +7814,8 @@ const Gs = R(function({ value: n, presets: l = Hs, onApply: c, onCancel: s, acce
|
|
|
7800
7814
|
type: "button",
|
|
7801
7815
|
className: "select-datepicker__nav",
|
|
7802
7816
|
"aria-label": r === "pt-BR" ? "Mês anterior" : "Previous month",
|
|
7803
|
-
onClick: () => p((A) =>
|
|
7804
|
-
children: /* @__PURE__ */ e(
|
|
7817
|
+
onClick: () => p((A) => Dn(A, -1)),
|
|
7818
|
+
children: /* @__PURE__ */ e(zt, {})
|
|
7805
7819
|
}
|
|
7806
7820
|
),
|
|
7807
7821
|
/* @__PURE__ */ m("span", { className: "select-datepicker__monthlabel", children: [
|
|
@@ -7815,7 +7829,7 @@ const Gs = R(function({ value: n, presets: l = Hs, onApply: c, onCancel: s, acce
|
|
|
7815
7829
|
type: "button",
|
|
7816
7830
|
className: "select-datepicker__nav",
|
|
7817
7831
|
"aria-label": r === "pt-BR" ? "Próximo mês" : "Next month",
|
|
7818
|
-
onClick: () => p((A) =>
|
|
7832
|
+
onClick: () => p((A) => Dn(A, 1)),
|
|
7819
7833
|
children: /* @__PURE__ */ e(dt, {})
|
|
7820
7834
|
}
|
|
7821
7835
|
)
|
|
@@ -7833,28 +7847,28 @@ const Gs = R(function({ value: n, presets: l = Hs, onApply: c, onCancel: s, acce
|
|
|
7833
7847
|
] })
|
|
7834
7848
|
] })
|
|
7835
7849
|
] }) });
|
|
7836
|
-
}),
|
|
7837
|
-
function
|
|
7850
|
+
}), Wt = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), Ot = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate(), Ht = (t) => `${String(t.getDate()).padStart(2, "0")}/${String(t.getMonth() + 1).padStart(2, "0")}/${t.getFullYear()}`;
|
|
7851
|
+
function qs(t, n) {
|
|
7838
7852
|
var l;
|
|
7839
7853
|
for (const c of n) {
|
|
7840
7854
|
const s = (l = c.range) == null ? void 0 : l.call(c);
|
|
7841
|
-
if (s != null && s.from && (s != null && s.to) &&
|
|
7855
|
+
if (s != null && s.from && (s != null && s.to) && Ot(s.from, t.start) && Ot(s.to, t.end)) return c.label;
|
|
7842
7856
|
}
|
|
7843
|
-
return
|
|
7857
|
+
return Ot(t.start, t.end) ? Ht(t.start) : `${Ht(t.start)} – ${Ht(t.end)}`;
|
|
7844
7858
|
}
|
|
7845
|
-
function
|
|
7859
|
+
function or({
|
|
7846
7860
|
value: t,
|
|
7847
7861
|
onChange: n,
|
|
7848
|
-
presets: l =
|
|
7862
|
+
presets: l = Zs,
|
|
7849
7863
|
maxDate: c,
|
|
7850
7864
|
placement: s = "bottom-end",
|
|
7851
7865
|
size: a = "md",
|
|
7852
7866
|
disabled: r = !1,
|
|
7853
7867
|
block: d = !1
|
|
7854
7868
|
}) {
|
|
7855
|
-
const [o, i] = D(!1), u = c === null ? null : c ??
|
|
7869
|
+
const [o, i] = D(!1), u = c === null ? null : c ?? Wt(/* @__PURE__ */ new Date());
|
|
7856
7870
|
return /* @__PURE__ */ e(
|
|
7857
|
-
|
|
7871
|
+
We,
|
|
7858
7872
|
{
|
|
7859
7873
|
active: o,
|
|
7860
7874
|
onClose: () => i(!1),
|
|
@@ -7867,14 +7881,14 @@ function ar({
|
|
|
7867
7881
|
size: a,
|
|
7868
7882
|
inline: !d,
|
|
7869
7883
|
disabled: r,
|
|
7870
|
-
icon: /* @__PURE__ */ e(
|
|
7884
|
+
icon: /* @__PURE__ */ e(Gn, {}),
|
|
7871
7885
|
trailingIcon: /* @__PURE__ */ e(be, {}),
|
|
7872
7886
|
onClick: () => i((h) => !h),
|
|
7873
|
-
children:
|
|
7887
|
+
children: qs(t, l)
|
|
7874
7888
|
}
|
|
7875
7889
|
),
|
|
7876
7890
|
children: /* @__PURE__ */ e(
|
|
7877
|
-
|
|
7891
|
+
Us,
|
|
7878
7892
|
{
|
|
7879
7893
|
embedded: !0,
|
|
7880
7894
|
locale: "pt-BR",
|
|
@@ -7884,14 +7898,14 @@ function ar({
|
|
|
7884
7898
|
value: { from: t.start, to: t.end },
|
|
7885
7899
|
onCancel: () => i(!1),
|
|
7886
7900
|
onApply: (h) => {
|
|
7887
|
-
h.from && n({ start:
|
|
7901
|
+
h.from && n({ start: Wt(h.from), end: Wt(h.to ?? h.from) }), i(!1);
|
|
7888
7902
|
}
|
|
7889
7903
|
}
|
|
7890
7904
|
)
|
|
7891
7905
|
}
|
|
7892
7906
|
);
|
|
7893
7907
|
}
|
|
7894
|
-
function
|
|
7908
|
+
function Ys({ size: t }) {
|
|
7895
7909
|
return /* @__PURE__ */ e("svg", { width: t, height: t, viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
7896
7910
|
"path",
|
|
7897
7911
|
{
|
|
@@ -7900,10 +7914,10 @@ function qs({ size: t }) {
|
|
|
7900
7914
|
}
|
|
7901
7915
|
) });
|
|
7902
7916
|
}
|
|
7903
|
-
const
|
|
7917
|
+
const rr = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label: a, disabled: r = !1, className: d, ...o }, i) {
|
|
7904
7918
|
const u = !!c && !r, [h, f] = D(null), g = h ?? n;
|
|
7905
7919
|
return /* @__PURE__ */ e("div", { ref: i, ...o, className: `select-rating${u ? " select-rating--interactive" : ""}${d ? " " + d : ""}`, role: u ? "slider" : "img", "aria-label": a ?? `Avaliação ${n} de ${l}`, "aria-valuenow": u ? n : void 0, "aria-valuemin": u ? 0 : void 0, "aria-valuemax": u ? l : void 0, onMouseLeave: () => u && f(null), children: Array.from({ length: l }, (v, x) => {
|
|
7906
|
-
const N = x < g, $ = /* @__PURE__ */ e("span", { className: `select-rating__star${N ? " is-filled" : ""}`, children: /* @__PURE__ */ e(
|
|
7920
|
+
const N = x < g, $ = /* @__PURE__ */ e("span", { className: `select-rating__star${N ? " is-filled" : ""}`, children: /* @__PURE__ */ e(Ys, { size: s }) });
|
|
7907
7921
|
return u ? /* @__PURE__ */ e(
|
|
7908
7922
|
"button",
|
|
7909
7923
|
{
|
|
@@ -7919,7 +7933,7 @@ const or = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
|
|
|
7919
7933
|
x
|
|
7920
7934
|
) : /* @__PURE__ */ e("span", { children: $ }, x);
|
|
7921
7935
|
}) });
|
|
7922
|
-
}),
|
|
7936
|
+
}), ir = R(function({ label: n, value: l, onChange: c, min: s, max: a, step: r = 1, decimal: d = !1, disabled: o = !1, hint: i, error: u, onBlur: h, placeholder: f, size: g = "md", className: v, ...x }, N) {
|
|
7923
7937
|
const $ = te(), _ = (F) => Math.min(a ?? 1 / 0, Math.max(s ?? -1 / 0, F)), p = (F) => Math.round(F * 1e6) / 1e6, b = l ?? 0, S = s != null && b <= s, k = a != null && b >= a, [M, w] = D(!1), [y, C] = D(""), L = d && M ? y : l == null ? "" : String(l), B = (F) => {
|
|
7924
7938
|
const E = d ? F.replace(/[^\d.,-]/g, "").replace(",", ".") : F.replace(/[^\d-]/g, "");
|
|
7925
7939
|
if (d && C(E), E === "" || E === "-" || E === ".") return c(null);
|
|
@@ -7979,7 +7993,7 @@ const or = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
|
|
|
7979
7993
|
u ? /* @__PURE__ */ e("p", { className: "select-field__error", children: u }) : i ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: i }) : null
|
|
7980
7994
|
] });
|
|
7981
7995
|
});
|
|
7982
|
-
function
|
|
7996
|
+
function dr({
|
|
7983
7997
|
items: t,
|
|
7984
7998
|
onChange: n,
|
|
7985
7999
|
renderRow: l,
|
|
@@ -8009,19 +8023,19 @@ function ir({
|
|
|
8009
8023
|
moveUp: () => N(p, -1),
|
|
8010
8024
|
moveDown: () => N(p, 1)
|
|
8011
8025
|
});
|
|
8012
|
-
return /* @__PURE__ */ m(
|
|
8026
|
+
return /* @__PURE__ */ m(Vt, { gap: "300", children: [
|
|
8013
8027
|
t.length === 0 && u != null && /* @__PURE__ */ e("div", { children: u }),
|
|
8014
8028
|
t.map((_, p) => {
|
|
8015
8029
|
const b = $(_, p);
|
|
8016
|
-
return i === "bare" ? /* @__PURE__ */ e("div", { children: l(_, b) }, p) : /* @__PURE__ */ e(
|
|
8030
|
+
return i === "bare" ? /* @__PURE__ */ e("div", { children: l(_, b) }, p) : /* @__PURE__ */ e(xc, { background: "surface", border: !0, borderRadius: "base", padding: "300", children: /* @__PURE__ */ m(Vt, { gap: "200", children: [
|
|
8017
8031
|
/* @__PURE__ */ m(st, { align: "space-between", blockAlign: "center", gap: "200", children: [
|
|
8018
8032
|
/* @__PURE__ */ e(Xe, { as: "span", variant: "bodySm", fontWeight: "medium", tone: "subdued", children: a ? a(p, _) : `#${p + 1}` }),
|
|
8019
8033
|
/* @__PURE__ */ m(st, { gap: "100", blockAlign: "center", wrap: !1, children: [
|
|
8020
8034
|
o && /* @__PURE__ */ m(ae, { children: [
|
|
8021
|
-
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(
|
|
8035
|
+
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Un, {}), label: "Mover para cima", disabled: b.isFirst, onClick: b.moveUp }),
|
|
8022
8036
|
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(be, {}), label: "Mover para baixo", disabled: b.isLast, onClick: b.moveDown })
|
|
8023
8037
|
] }),
|
|
8024
|
-
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(
|
|
8038
|
+
/* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Zn, {}), label: "Remover", disabled: !g, onClick: b.remove })
|
|
8025
8039
|
] })
|
|
8026
8040
|
] }),
|
|
8027
8041
|
l(_, b)
|
|
@@ -8033,7 +8047,7 @@ function ir({
|
|
|
8033
8047
|
] })
|
|
8034
8048
|
] });
|
|
8035
8049
|
}
|
|
8036
|
-
function
|
|
8050
|
+
function hr({
|
|
8037
8051
|
title: t,
|
|
8038
8052
|
subtitle: n,
|
|
8039
8053
|
backTo: l,
|
|
@@ -8046,16 +8060,16 @@ function dr({
|
|
|
8046
8060
|
preview: i,
|
|
8047
8061
|
children: u
|
|
8048
8062
|
}) {
|
|
8049
|
-
const h =
|
|
8063
|
+
const h = Sl();
|
|
8050
8064
|
return /* @__PURE__ */ e(
|
|
8051
|
-
|
|
8065
|
+
Gc,
|
|
8052
8066
|
{
|
|
8053
8067
|
title: t,
|
|
8054
8068
|
subtitle: n,
|
|
8055
8069
|
backAction: { content: "Voltar", onAction: () => h(l || -1) },
|
|
8056
8070
|
primaryAction: { content: a, onAction: c, loading: s, disabled: r },
|
|
8057
8071
|
secondaryActions: d ? [{ content: "Cancelar", onAction: () => h(d), disabled: s }] : void 0,
|
|
8058
|
-
children: /* @__PURE__ */ m(
|
|
8072
|
+
children: /* @__PURE__ */ m(Vt, { gap: "400", children: [
|
|
8059
8073
|
o != null && /* @__PURE__ */ e(ht, { tone: "critical", children: o }),
|
|
8060
8074
|
i != null ? /* @__PURE__ */ m("div", { className: "select-builder-split", children: [
|
|
8061
8075
|
/* @__PURE__ */ e("div", { className: "select-builder-split__form", children: u }),
|
|
@@ -8065,10 +8079,10 @@ function dr({
|
|
|
8065
8079
|
}
|
|
8066
8080
|
);
|
|
8067
8081
|
}
|
|
8068
|
-
const
|
|
8082
|
+
const ur = R(function({ label: n, checked: l, onChange: c, disabled: s = !1, hint: a, className: r, ...d }, o) {
|
|
8069
8083
|
return /* @__PURE__ */ m("div", { ref: o, ...d, className: `select-switchfield${s ? " is-disabled" : ""}${r ? " " + r : ""}`, children: [
|
|
8070
8084
|
/* @__PURE__ */ m("div", { className: "select-switchfield__row", children: [
|
|
8071
|
-
/* @__PURE__ */ e(
|
|
8085
|
+
/* @__PURE__ */ e(en, { checked: l, onChange: c, disabled: s, label: n }),
|
|
8072
8086
|
/* @__PURE__ */ e(
|
|
8073
8087
|
"span",
|
|
8074
8088
|
{
|
|
@@ -8082,10 +8096,10 @@ const hr = R(function({ label: n, checked: l, onChange: c, disabled: s = !1, hin
|
|
|
8082
8096
|
] }),
|
|
8083
8097
|
a != null && /* @__PURE__ */ e("span", { className: "select-switchfield__hint", children: a })
|
|
8084
8098
|
] });
|
|
8085
|
-
}),
|
|
8086
|
-
function
|
|
8099
|
+
}), zs = (t) => /^#[0-9a-fA-F]{6}$/.test(t);
|
|
8100
|
+
function pr({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error: a }) {
|
|
8087
8101
|
return /* @__PURE__ */ e(
|
|
8088
|
-
|
|
8102
|
+
Ze,
|
|
8089
8103
|
{
|
|
8090
8104
|
label: t,
|
|
8091
8105
|
value: n,
|
|
@@ -8105,7 +8119,7 @@ function ur({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error:
|
|
|
8105
8119
|
{
|
|
8106
8120
|
type: "color",
|
|
8107
8121
|
className: "select-color-swatch",
|
|
8108
|
-
value:
|
|
8122
|
+
value: zs(n) ? n : "#000000",
|
|
8109
8123
|
onChange: (r) => l(r.target.value),
|
|
8110
8124
|
disabled: c,
|
|
8111
8125
|
"aria-label": t ? `${t} — escolher cor` : "Escolher cor"
|
|
@@ -8114,13 +8128,13 @@ function ur({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error:
|
|
|
8114
8128
|
}
|
|
8115
8129
|
);
|
|
8116
8130
|
}
|
|
8117
|
-
function
|
|
8131
|
+
function Xs(t) {
|
|
8118
8132
|
return new Promise((n, l) => {
|
|
8119
8133
|
const c = new FileReader();
|
|
8120
8134
|
c.onload = () => n(String(c.result)), c.onerror = () => l(c.error), c.readAsDataURL(t);
|
|
8121
8135
|
});
|
|
8122
8136
|
}
|
|
8123
|
-
const
|
|
8137
|
+
const mr = R(function({ label: n, value: l, onChange: c, accept: s = "image/*", maxSizeMB: a = 3, urlPlaceholder: r, hint: d, uploadFile: o, className: i, ...u }, h) {
|
|
8124
8138
|
const [f, g] = D([]), [v, x] = D(null), N = l ? [l] : [], $ = async (_) => {
|
|
8125
8139
|
const p = _[0];
|
|
8126
8140
|
if (!p) {
|
|
@@ -8128,7 +8142,7 @@ const pr = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8128
8142
|
return;
|
|
8129
8143
|
}
|
|
8130
8144
|
if (x(null), !o) {
|
|
8131
|
-
c(await
|
|
8145
|
+
c(await Xs(p)), g([]);
|
|
8132
8146
|
return;
|
|
8133
8147
|
}
|
|
8134
8148
|
g([p]);
|
|
@@ -8142,7 +8156,7 @@ const pr = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8142
8156
|
};
|
|
8143
8157
|
return /* @__PURE__ */ m("div", { ref: h, ...u, className: `select-imagefield${i ? " " + i : ""}`, children: [
|
|
8144
8158
|
/* @__PURE__ */ e(
|
|
8145
|
-
|
|
8159
|
+
tc,
|
|
8146
8160
|
{
|
|
8147
8161
|
label: n,
|
|
8148
8162
|
mode: "single",
|
|
@@ -8158,7 +8172,7 @@ const pr = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8158
8172
|
),
|
|
8159
8173
|
v && /* @__PURE__ */ e("span", { className: "select-imagefield__error", children: v })
|
|
8160
8174
|
] });
|
|
8161
|
-
}),
|
|
8175
|
+
}), fr = R(function({ items: n, multiple: l = !1, defaultOpenIds: c = [], className: s, ...a }, r) {
|
|
8162
8176
|
const [d, o] = D(() => new Set(c)), i = (u) => o((h) => {
|
|
8163
8177
|
const f = h.has(u), g = new Set(l ? h : []);
|
|
8164
8178
|
return f ? g.delete(u) : g.add(u), g;
|
|
@@ -8195,262 +8209,262 @@ const pr = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8195
8209
|
}) });
|
|
8196
8210
|
});
|
|
8197
8211
|
export {
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
|
|
8206
|
-
|
|
8207
|
-
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8212
|
+
la as AUTH_FX_VARIANTS,
|
|
8213
|
+
ya as AppleIcon,
|
|
8214
|
+
Wa as AppsIcon,
|
|
8215
|
+
Tn as ArrowLeftIcon,
|
|
8216
|
+
Ma as ArrowRightIcon,
|
|
8217
|
+
ka as AtIcon,
|
|
8218
|
+
ga as AuthAppIcon,
|
|
8219
|
+
fa as BellIcon,
|
|
8220
|
+
ha as BookmarkIcon,
|
|
8221
|
+
Sa as BuildingIcon,
|
|
8222
|
+
Gn as CalendarIcon,
|
|
8223
|
+
Da as ChartLineIcon,
|
|
8224
|
+
ql as CheckCircleIcon,
|
|
8211
8225
|
Ae as CheckIcon,
|
|
8212
8226
|
be as ChevronDownIcon,
|
|
8213
|
-
|
|
8227
|
+
zt as ChevronLeftIcon,
|
|
8214
8228
|
dt as ChevronRightIcon,
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8229
|
+
Un as ChevronUpIcon,
|
|
8230
|
+
zl as ClipboardIcon,
|
|
8231
|
+
da as ClockIcon,
|
|
8218
8232
|
Ke as CloseIcon,
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
|
|
8222
|
-
|
|
8223
|
-
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
8235
|
-
|
|
8236
|
-
|
|
8237
|
-
|
|
8238
|
-
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8246
|
-
|
|
8233
|
+
Kt as CopyIcon,
|
|
8234
|
+
Fa as CreditCardIcon,
|
|
8235
|
+
jl as CubeIcon,
|
|
8236
|
+
Ra as DiscountIcon,
|
|
8237
|
+
ia as DotsHorizontalIcon,
|
|
8238
|
+
Ba as EditIcon,
|
|
8239
|
+
Pa as ExportIcon,
|
|
8240
|
+
Wn as ExternalLinkIcon,
|
|
8241
|
+
jn as EyeIcon,
|
|
8242
|
+
Vn as EyeOffIcon,
|
|
8243
|
+
xa as FacebookIcon,
|
|
8244
|
+
ra as FilterIcon,
|
|
8245
|
+
oa as GithubIcon,
|
|
8246
|
+
Wl as GlobeIcon,
|
|
8247
|
+
aa as GoogleIcon,
|
|
8248
|
+
La as HomeIcon,
|
|
8249
|
+
Jt as InfoIcon,
|
|
8250
|
+
Ca as KeyIcon,
|
|
8251
|
+
Ia as LockIcon,
|
|
8252
|
+
ba as MailIcon,
|
|
8253
|
+
Ha as MenuIcon,
|
|
8254
|
+
Oa as MinusCircleIcon,
|
|
8255
|
+
Gl as MobileIcon,
|
|
8256
|
+
Hn as MonitorIcon,
|
|
8257
|
+
Zl as MoonIcon,
|
|
8258
|
+
Xl as NoteIcon,
|
|
8259
|
+
Na as PasskeyIcon,
|
|
8260
|
+
va as PhoneIcon,
|
|
8247
8261
|
nt as PlusIcon,
|
|
8248
|
-
|
|
8249
|
-
|
|
8250
|
-
|
|
8251
|
-
|
|
8252
|
-
|
|
8253
|
-
|
|
8262
|
+
Ul as RefreshIcon,
|
|
8263
|
+
_a as RocketIcon,
|
|
8264
|
+
O1 as SELECT_COL_DATETIME,
|
|
8265
|
+
el as SELECT_COUNTRIES,
|
|
8266
|
+
Zs as SELECT_DAILY_PRESETS,
|
|
8267
|
+
js as SELECT_DATE_PRESETS,
|
|
8254
8268
|
ze as SELECT_SPACE,
|
|
8255
|
-
|
|
8256
|
-
|
|
8257
|
-
|
|
8258
|
-
|
|
8259
|
-
|
|
8260
|
-
|
|
8261
|
-
|
|
8269
|
+
fc as SELECT_TRANSACTION_STATUS,
|
|
8270
|
+
Xt as SearchIcon,
|
|
8271
|
+
fr as SelectAccordion,
|
|
8272
|
+
E1 as SelectActionCard,
|
|
8273
|
+
ll as SelectActionList,
|
|
8274
|
+
c1 as SelectActionMenu,
|
|
8275
|
+
ec as SelectAddButton,
|
|
8262
8276
|
ht as SelectAlert,
|
|
8263
|
-
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8277
|
+
I1 as SelectAppTile,
|
|
8278
|
+
ca as SelectAuthFx,
|
|
8279
|
+
Hc as SelectAvatar,
|
|
8280
|
+
m1 as SelectBackLink,
|
|
8281
|
+
tl as SelectBadge,
|
|
8282
|
+
K1 as SelectBalanceCard,
|
|
8283
|
+
Xa as SelectBankAccountField,
|
|
8284
|
+
no as SelectBarChart,
|
|
8285
|
+
xc as SelectBox,
|
|
8286
|
+
No as SelectBoxPlot,
|
|
8287
|
+
hr as SelectBuilderLayout,
|
|
8288
|
+
_o as SelectBullet,
|
|
8289
|
+
Ho as SelectBump,
|
|
8276
8290
|
ve as SelectButton,
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8287
|
-
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
|
|
8291
|
-
|
|
8292
|
-
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8302
|
-
|
|
8303
|
-
|
|
8304
|
-
|
|
8305
|
-
|
|
8306
|
-
|
|
8307
|
-
|
|
8308
|
-
|
|
8291
|
+
$o as SelectCalendarHeatmap,
|
|
8292
|
+
yo as SelectCandlestick,
|
|
8293
|
+
sa as SelectCard,
|
|
8294
|
+
eo as SelectChartCard,
|
|
8295
|
+
Va as SelectCheckbox,
|
|
8296
|
+
Eo as SelectChord,
|
|
8297
|
+
Uo as SelectCirclePack,
|
|
8298
|
+
B1 as SelectCollapsible,
|
|
8299
|
+
pr as SelectColorField,
|
|
8300
|
+
oo as SelectColumnChart,
|
|
8301
|
+
so as SelectComboChart,
|
|
8302
|
+
Yo as SelectCombobox,
|
|
8303
|
+
T1 as SelectConfirmModal,
|
|
8304
|
+
A1 as SelectCopyRow,
|
|
8305
|
+
F1 as SelectCopyableId,
|
|
8306
|
+
P1 as SelectCreateTile,
|
|
8307
|
+
j1 as SelectDataTable,
|
|
8308
|
+
fs as SelectDateField,
|
|
8309
|
+
Us as SelectDatePicker,
|
|
8310
|
+
or as SelectDateRangeField,
|
|
8311
|
+
Ko as SelectDetailList,
|
|
8312
|
+
Jo as SelectDetailRow,
|
|
8313
|
+
Nc as SelectDisclosureButton,
|
|
8314
|
+
i1 as SelectDivider,
|
|
8315
|
+
qa as SelectDocumentField,
|
|
8316
|
+
ao as SelectDonut,
|
|
8317
|
+
na as SelectDotField,
|
|
8318
|
+
So as SelectDumbbell,
|
|
8319
|
+
J1 as SelectFeeBreakdown,
|
|
8320
|
+
Ze as SelectField,
|
|
8321
|
+
nc as SelectFieldGrid,
|
|
8322
|
+
Ya as SelectFileDropzone,
|
|
8309
8323
|
wt as SelectFileTile,
|
|
8310
|
-
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
-
|
|
8314
|
-
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8319
|
-
|
|
8320
|
-
|
|
8321
|
-
|
|
8322
|
-
|
|
8323
|
-
|
|
8324
|
-
|
|
8324
|
+
V1 as SelectFilterBar,
|
|
8325
|
+
L1 as SelectFilterChip,
|
|
8326
|
+
v1 as SelectFormLayout,
|
|
8327
|
+
W1 as SelectFormModal,
|
|
8328
|
+
ro as SelectFunnel,
|
|
8329
|
+
io as SelectGauge,
|
|
8330
|
+
Lo as SelectGaugeBands,
|
|
8331
|
+
Ro as SelectGlobe,
|
|
8332
|
+
s1 as SelectGrid,
|
|
8333
|
+
ho as SelectHeatmap,
|
|
8334
|
+
Io as SelectHexbin,
|
|
8335
|
+
X1 as SelectHideMoneyToggle,
|
|
8336
|
+
mo as SelectHorizontalBar,
|
|
8337
|
+
Vo as SelectIcicle,
|
|
8338
|
+
b1 as SelectIcon,
|
|
8325
8339
|
ge as SelectIconButton,
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
|
|
8340
|
+
u1 as SelectIdentityFooter,
|
|
8341
|
+
mr as SelectImageField,
|
|
8342
|
+
tc as SelectImageUploadField,
|
|
8343
|
+
za as SelectImageUrlsField,
|
|
8344
|
+
Ws as SelectImageZoomModal,
|
|
8331
8345
|
st as SelectInline,
|
|
8332
|
-
|
|
8333
|
-
|
|
8334
|
-
|
|
8346
|
+
o1 as SelectJsonViewer,
|
|
8347
|
+
ar as SelectKeyValueEditor,
|
|
8348
|
+
Q1 as SelectKpiCard,
|
|
8335
8349
|
lt as SelectLabelRow,
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
|
|
8340
|
-
|
|
8341
|
-
|
|
8342
|
-
|
|
8343
|
-
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8350
|
+
lo as SelectLineChart,
|
|
8351
|
+
Oc as SelectLinkButton,
|
|
8352
|
+
tr as SelectListCard,
|
|
8353
|
+
nr as SelectListRow,
|
|
8354
|
+
Zc as SelectLoader,
|
|
8355
|
+
Co as SelectMarimekko,
|
|
8356
|
+
cr as SelectMediaCell,
|
|
8357
|
+
ts as SelectMenu,
|
|
8358
|
+
ls as SelectMenuButton,
|
|
8359
|
+
C1 as SelectMenuDivider,
|
|
8360
|
+
ns as SelectMenuItem,
|
|
8361
|
+
As as SelectMetricDelta,
|
|
8348
8362
|
It as SelectModal,
|
|
8349
8363
|
at as SelectMoney,
|
|
8350
|
-
|
|
8351
|
-
|
|
8352
|
-
|
|
8353
|
-
|
|
8354
|
-
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
|
|
8363
|
-
|
|
8364
|
-
|
|
8365
|
-
|
|
8366
|
-
|
|
8367
|
-
|
|
8368
|
-
|
|
8369
|
-
|
|
8370
|
-
|
|
8371
|
-
|
|
8372
|
-
|
|
8373
|
-
|
|
8374
|
-
|
|
8375
|
-
|
|
8376
|
-
|
|
8377
|
-
|
|
8378
|
-
|
|
8379
|
-
|
|
8380
|
-
|
|
8381
|
-
|
|
8382
|
-
|
|
8383
|
-
|
|
8384
|
-
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
|
|
8396
|
-
|
|
8397
|
-
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
|
|
8404
|
-
|
|
8405
|
-
|
|
8406
|
-
|
|
8407
|
-
|
|
8364
|
+
Ua as SelectMoneyField,
|
|
8365
|
+
qo as SelectNetwork,
|
|
8366
|
+
x1 as SelectNote,
|
|
8367
|
+
ir as SelectNumberField,
|
|
8368
|
+
sr as SelectOfflineModal,
|
|
8369
|
+
d1 as SelectOptionList,
|
|
8370
|
+
h1 as SelectOptionRow,
|
|
8371
|
+
p1 as SelectOtpInput,
|
|
8372
|
+
Gc as SelectPage,
|
|
8373
|
+
os as SelectPagination,
|
|
8374
|
+
M1 as SelectPanel,
|
|
8375
|
+
jo as SelectParallel,
|
|
8376
|
+
To as SelectPareto,
|
|
8377
|
+
_1 as SelectPasswordStrength,
|
|
8378
|
+
a1 as SelectPaymentBrand,
|
|
8379
|
+
e1 as SelectPhoneField,
|
|
8380
|
+
er as SelectPlanCard,
|
|
8381
|
+
ko as SelectPolarArea,
|
|
8382
|
+
We as SelectPopover,
|
|
8383
|
+
Y1 as SelectPreviewFrame,
|
|
8384
|
+
uo as SelectProgressList,
|
|
8385
|
+
Oo as SelectPyramid,
|
|
8386
|
+
bo as SelectRadar,
|
|
8387
|
+
po as SelectRadialBar,
|
|
8388
|
+
t1 as SelectRadioGroup,
|
|
8389
|
+
Mo as SelectRangeBar,
|
|
8390
|
+
rr as SelectRating,
|
|
8391
|
+
dr as SelectRepeatingFieldArray,
|
|
8392
|
+
f1 as SelectResendButton,
|
|
8393
|
+
D1 as SelectRowActions,
|
|
8394
|
+
xo as SelectSankey,
|
|
8395
|
+
go as SelectScatter,
|
|
8396
|
+
ml as SelectSearchInput,
|
|
8397
|
+
$1 as SelectSection,
|
|
8398
|
+
n1 as SelectSegmented,
|
|
8399
|
+
jt as SelectSelect,
|
|
8400
|
+
Cs as SelectSensitiveValue,
|
|
8401
|
+
y1 as SelectSettingList,
|
|
8402
|
+
N1 as SelectSettingRow,
|
|
8403
|
+
w1 as SelectSideNav,
|
|
8404
|
+
g1 as SelectSkeleton,
|
|
8405
|
+
wo as SelectSlope,
|
|
8406
|
+
to as SelectSparkline,
|
|
8407
|
+
Vt as SelectStack,
|
|
8408
|
+
co as SelectStackedArea,
|
|
8409
|
+
l1 as SelectStatusBadge,
|
|
8410
|
+
Qo as SelectSteps,
|
|
8411
|
+
Ao as SelectStreamGraph,
|
|
8412
|
+
Fo as SelectSunburst,
|
|
8413
|
+
G1 as SelectSurface,
|
|
8414
|
+
en as SelectSwitch,
|
|
8415
|
+
ur as SelectSwitchField,
|
|
8416
|
+
Qc as SelectTable,
|
|
8417
|
+
gn as SelectTableCell,
|
|
8418
|
+
es as SelectTableEmpty,
|
|
8419
|
+
vn as SelectTableRow,
|
|
8420
|
+
k1 as SelectTabs,
|
|
8421
|
+
Z1 as SelectTagSelect,
|
|
8408
8422
|
Xe as SelectText,
|
|
8409
|
-
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8423
|
+
Za as SelectTextarea,
|
|
8424
|
+
Xo as SelectThemeSwitcher,
|
|
8425
|
+
Pn as SelectThumbnail,
|
|
8426
|
+
Do as SelectTicker,
|
|
8427
|
+
r1 as SelectTimeline,
|
|
8428
|
+
U1 as SelectToastProvider,
|
|
8429
|
+
Ka as SelectToggleList,
|
|
8430
|
+
Qa as SelectTogglePanel,
|
|
8431
|
+
Ja as SelectToggleRow,
|
|
8432
|
+
cl as SelectTooltip,
|
|
8433
|
+
Zo as SelectTree,
|
|
8434
|
+
vo as SelectTreemap,
|
|
8435
|
+
Ga as SelectUnitInput,
|
|
8436
|
+
S1 as SelectUserCell,
|
|
8437
|
+
z1 as SelectValueVisibilityProvider,
|
|
8438
|
+
Go as SelectVenn,
|
|
8439
|
+
Bo as SelectViolin,
|
|
8440
|
+
Wo as SelectWaffle,
|
|
8441
|
+
fo as SelectWaterfall,
|
|
8442
|
+
Po as SelectWordCloud,
|
|
8443
|
+
R1 as SelectWorkspaceSwitcher,
|
|
8444
|
+
lr as SelectZoomThumbnail,
|
|
8445
|
+
On as SelectorIcon,
|
|
8446
|
+
Ea as SendIcon,
|
|
8447
|
+
Tl as Setting4Icon,
|
|
8448
|
+
Yl as SettingsIcon,
|
|
8449
|
+
$a as ShieldIcon,
|
|
8450
|
+
pa as SplitIcon,
|
|
8451
|
+
ua as StarIcon,
|
|
8452
|
+
Ta as StoreIcon,
|
|
8453
|
+
ja as StorefrontIcon,
|
|
8454
|
+
Vl as SunIcon,
|
|
8455
|
+
Hl as TerminalIcon,
|
|
8456
|
+
Zn as TrashIcon,
|
|
8443
8457
|
kt as UploadIcon,
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
|
|
8458
|
+
ma as UserIcon,
|
|
8459
|
+
Aa as WalletIcon,
|
|
8460
|
+
Ol as WarningIcon,
|
|
8461
|
+
wa as Web3Icon,
|
|
8448
8462
|
ut as detectSelectTheme,
|
|
8449
|
-
|
|
8450
|
-
|
|
8451
|
-
|
|
8452
|
-
|
|
8453
|
-
|
|
8454
|
-
|
|
8463
|
+
mc as dialCodeOf,
|
|
8464
|
+
Vc as passwordScore,
|
|
8465
|
+
zo as resolveSelectTheme,
|
|
8466
|
+
H1 as useSelectPageSize,
|
|
8467
|
+
q1 as useSelectToast,
|
|
8468
|
+
bl as useSelectValueVisibility
|
|
8455
8469
|
};
|
|
8456
8470
|
//# sourceMappingURL=index.js.map
|