@selectwin/kit 0.1.82 → 0.1.84
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/SelectMarkStack.d.ts +19 -0
- package/dist/SelectOfferPrice.d.ts +12 -0
- package/dist/SelectRatingQuote.d.ts +13 -0
- package/dist/icons.d.ts +8 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +803 -738
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as u, Fragment as ue } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as J, useEffect as pe, forwardRef as
|
|
2
|
+
import { useRef as J, useEffect as pe, forwardRef as I, useState as D, useId as ge, useCallback as Qe, useLayoutEffect as qe, useMemo as Oe, Fragment as Zn, Children as Oc, useContext as Vn, createContext as Gn } from "react";
|
|
3
3
|
import We from "gsap";
|
|
4
4
|
import { createPortal as yn } from "react-dom";
|
|
5
5
|
import { Link as Ul, useNavigate as zl } from "react-router-dom";
|
|
@@ -20,7 +20,7 @@ function jc(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 Lr({ className: t, theme: n, glowTarget: l }) {
|
|
24
24
|
const c = J(null);
|
|
25
25
|
return pe(() => {
|
|
26
26
|
var ee;
|
|
@@ -52,8 +52,8 @@ function Cr({ className: t, theme: n, glowTarget: l }) {
|
|
|
52
52
|
if (!L) return;
|
|
53
53
|
const se = L.getBoundingClientRect(), ke = se.left - A + se.width / 2, Te = se.top - B + se.height / 2, de = se.width / 2, Ee = se.height / 2, Ue = (ne - ke) / (de + x), De = ($e - Te) / (Ee + x), Pe = Math.sqrt(Ue * Ue + De * De), Ke = Pe < 1 ? 1 - Pe : 0, ze = Ke * Ke * (3 - 2 * Ke);
|
|
54
54
|
if (ze > 1e-3 || E > 1e-3) {
|
|
55
|
-
const
|
|
56
|
-
L.style.setProperty("--select-card-glow", ze.toFixed(3)), L.style.setProperty("--select-card-glow-rgb", `${xe}, ${Ne}, ${Me}`), L.style.setProperty("--select-card-glow-x", `${
|
|
55
|
+
const R = al((ne - ke) / Math.max(de, 1), -1, 1) * 10 * ze, U = al(($e - Te) / Math.max(Ee, 1), -1, 1) * 10 * ze;
|
|
56
|
+
L.style.setProperty("--select-card-glow", ze.toFixed(3)), L.style.setProperty("--select-card-glow-rgb", `${xe}, ${Ne}, ${Me}`), L.style.setProperty("--select-card-glow-x", `${R.toFixed(1)}px`), L.style.setProperty("--select-card-glow-y", `${U.toFixed(1)}px`);
|
|
57
57
|
}
|
|
58
58
|
E = ze;
|
|
59
59
|
}
|
|
@@ -69,8 +69,8 @@ function Cr({ className: t, theme: n, glowTarget: l }) {
|
|
|
69
69
|
const Ne = F.x, Me = F.y;
|
|
70
70
|
a.clearRect(0, 0, $, g);
|
|
71
71
|
for (let se = 0; se < C.length; se++) {
|
|
72
|
-
const ke = C[se], Te = ke.x - Ne, de = ke.y - Me, Ee = Math.sqrt(Te * Te + de * de), Ue = Ee < p ? 1 - Ee / p : 0, De = Ue * Ue, Pe = Math.sin(ne * 1.4 + ke.phase) * 0.5 + 0.5, Ke = De * h, ze = Ee > 1e-4 ? 1 / Ee : 0,
|
|
73
|
-
De > 0.12 ? (a.shadowColor = `rgba(${k},${w},${y},${0.6 * De})`, a.shadowBlur = 12 * De) : a.shadowBlur = 0, a.beginPath(), a.arc(
|
|
72
|
+
const ke = C[se], Te = ke.x - Ne, de = ke.y - Me, Ee = Math.sqrt(Te * Te + de * de), Ue = Ee < p ? 1 - Ee / p : 0, De = Ue * Ue, Pe = Math.sin(ne * 1.4 + ke.phase) * 0.5 + 0.5, Ke = De * h, ze = Ee > 1e-4 ? 1 / Ee : 0, R = ke.x - Te * ze * Ke, U = ke.y - de * ze * Ke, Y = 1 + De * (f - 1) + Pe * 0.14, ye = Math.min(1, v + Pe * 0.08 + De * (1 - v)), G = b + (k - b) * De | 0, Z = m + (w - m) * De | 0, X = N + (y - N) * De | 0;
|
|
73
|
+
De > 0.12 ? (a.shadowColor = `rgba(${k},${w},${y},${0.6 * De})`, a.shadowBlur = 12 * De) : a.shadowBlur = 0, a.beginPath(), a.arc(R, U, d * Y, 0, M), a.fillStyle = `rgba(${G},${Z},${X},${ye})`, a.fill();
|
|
74
74
|
}
|
|
75
75
|
a.shadowBlur = 0, W(Ne, Me, k, w, y);
|
|
76
76
|
}
|
|
@@ -90,7 +90,7 @@ function Cr({ 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
|
|
93
|
+
const Ar = ["dots", "plexus", "grid", "flow", "circuit", "liquid"], Rt = Math.PI * 2, gt = (t, n, l) => t < n ? n : t > l ? l : t, mn = (t, n, l) => t + (n - t) * l;
|
|
94
94
|
function Zc(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;
|
|
@@ -125,7 +125,7 @@ const Gc = (t) => {
|
|
|
125
125
|
const y = _.x, $ = _.y;
|
|
126
126
|
for (const g of i) {
|
|
127
127
|
const C = g.x - y, A = g.y - $, B = Math.hypot(C, A), L = f > 0 && B < 150 ? 1 - B / 150 : 0, E = L * L * f, F = Math.sin(h * 1.1 + g.phase) * 0.5 + 0.5, T = E * 6, O = B > 1e-3 ? 1 / B : 0, q = g.x - C * O * T, H = g.y - A * O * T, V = 1 + E * (2.4 - 1) + F * 0.1, P = Math.min(1, 0.3 + F * 0.06 + E * (1 - 0.3)), W = x + (b - x) * E | 0, K = M + (m - M) * E | 0, te = S + (N - S) * E | 0;
|
|
128
|
-
t.dark && E > 0.14 ? (v.shadowColor = `rgba(${b},${m},${N},${0.5 * E})`, v.shadowBlur = 10 * E) : v.shadowBlur = 0, v.beginPath(), v.arc(q, H, 1.2 * V, 0,
|
|
128
|
+
t.dark && E > 0.14 ? (v.shadowColor = `rgba(${b},${m},${N},${0.5 * E})`, v.shadowBlur = 10 * E) : v.shadowBlur = 0, v.beginPath(), v.arc(q, H, 1.2 * V, 0, Rt), v.fillStyle = `rgba(${W},${K},${te},${P})`, v.fill();
|
|
129
129
|
}
|
|
130
130
|
v.shadowBlur = 0;
|
|
131
131
|
}
|
|
@@ -171,7 +171,7 @@ const Gc = (t) => {
|
|
|
171
171
|
$ < 175 && (N = 1 - $ / 175, d.strokeStyle = `rgba(${_},${x},${M},${(N * N * 0.5).toFixed(3)})`, d.beginPath(), d.moveTo(S, b), d.lineTo(m.x, m.y), d.stroke());
|
|
172
172
|
}
|
|
173
173
|
const k = h + (_ - h) * N | 0, w = f + (x - f) * N | 0, y = v + (M - v) * N | 0;
|
|
174
|
-
t.dark && N > 0.2 ? (d.shadowColor = `rgba(${_},${x},${M},${0.6 * N})`, d.shadowBlur = 10 * N) : d.shadowBlur = 0, d.beginPath(), d.arc(m.x, m.y, 1.4 + N * 2.2, 0,
|
|
174
|
+
t.dark && N > 0.2 ? (d.shadowColor = `rgba(${_},${x},${M},${0.6 * N})`, d.shadowBlur = 10 * N) : d.shadowBlur = 0, d.beginPath(), d.arc(m.x, m.y, 1.4 + N * 2.2, 0, Rt), d.fillStyle = `rgba(${k},${w},${y},${0.5 + N * 0.5})`, d.fill();
|
|
175
175
|
}
|
|
176
176
|
d.shadowBlur = 0;
|
|
177
177
|
}
|
|
@@ -216,7 +216,7 @@ const Gc = (t) => {
|
|
|
216
216
|
}
|
|
217
217
|
if (F < 0.02) continue;
|
|
218
218
|
const T = x + (b - x) * F | 0, O = M + (m - M) * F | 0, q = S + (N - S) * F | 0;
|
|
219
|
-
v.beginPath(), v.arc(E, C, 1 + F * 2.2, 0,
|
|
219
|
+
v.beginPath(), v.arc(E, C, 1 + F * 2.2, 0, Rt), v.fillStyle = `rgba(${T},${O},${q},${0.3 + F * 0.6})`, v.fill();
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
}
|
|
@@ -326,7 +326,7 @@ const Gc = (t) => {
|
|
|
326
326
|
}
|
|
327
327
|
function i(d, p, h, f, v, _) {
|
|
328
328
|
const { ctx: x } = t;
|
|
329
|
-
x.lineWidth = 1.2, x.strokeStyle = `rgba(${h},${f},${v},${0.45 + _ * 0.4})`, x.beginPath(), x.arc(d, p, 2.4, 0,
|
|
329
|
+
x.lineWidth = 1.2, x.strokeStyle = `rgba(${h},${f},${v},${0.45 + _ * 0.4})`, x.beginPath(), x.arc(d, p, 2.4, 0, Rt), x.stroke(), x.beginPath(), x.arc(d, p, 0.9, 0, Rt), x.fillStyle = `rgba(${h},${f},${v},${0.6 + _ * 0.4})`, x.fill();
|
|
330
330
|
}
|
|
331
331
|
function o(d, p) {
|
|
332
332
|
const { ctx: h, pointer: f } = t, [v, _, x] = t.ink, [M, S, b] = t.accent;
|
|
@@ -344,7 +344,7 @@ const Gc = (t) => {
|
|
|
344
344
|
for (const y of k.pulses) {
|
|
345
345
|
y.p += y.sp * d, y.p > 1 && (y.p -= 1);
|
|
346
346
|
const [$, g] = r(k, y.p);
|
|
347
|
-
t.dark && (h.shadowColor = `rgba(${M},${S},${b},0.85)`, h.shadowBlur = 10), h.beginPath(), h.arc($, g, 2.1, 0,
|
|
347
|
+
t.dark && (h.shadowColor = `rgba(${M},${S},${b},0.85)`, h.shadowBlur = 10), h.beginPath(), h.arc($, g, 2.1, 0, Rt), h.fillStyle = `rgba(${M},${S},${b},0.95)`, h.fill(), h.shadowBlur = 0;
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
}
|
|
@@ -357,7 +357,7 @@ const Gc = (t) => {
|
|
|
357
357
|
o(0, !1), t.clearGlow();
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
|
-
},
|
|
360
|
+
}, Ut = (t, n, l) => {
|
|
361
361
|
const c = gt((l - t) / (n - t), 0, 1);
|
|
362
362
|
return c * c * (3 - 2 * c);
|
|
363
363
|
}, Ae = {
|
|
@@ -390,7 +390,7 @@ const Gc = (t) => {
|
|
|
390
390
|
const w = k(1.5, 2, 2.5), y = k(-2, -1, -1), $ = 1 / o, g = 1 / 0.9, C = 1 / 1.2, A = new Float32Array(14), B = new Float32Array(14), L = new Float32Array(14);
|
|
391
391
|
for (let G = 0; G < 14; G++) {
|
|
392
392
|
const Z = G / 13;
|
|
393
|
-
A[G] = Math.cos(Z * d), B[G] = Math.sin(Z * d), L[G] =
|
|
393
|
+
A[G] = Math.cos(Z * d), B[G] = Math.sin(Z * d), L[G] = Ut(1, 0.45, Z);
|
|
394
394
|
}
|
|
395
395
|
const E = { twist: Ae.TWIST, tension: Ae.TENSION };
|
|
396
396
|
let F = null;
|
|
@@ -428,17 +428,17 @@ const Gc = (t) => {
|
|
|
428
428
|
const Ye = 1 - Ve;
|
|
429
429
|
let ct = (Ye * Math.sqrt(Ye) - 0.05) * g;
|
|
430
430
|
ct < 0 ? ct = 0 : ct > 1 && (ct = 1);
|
|
431
|
-
const
|
|
432
|
-
let st = w[0] + Ce, _t = w[1] + Le, at = w[2] + Ze,
|
|
431
|
+
const Dt = ct * ct * (3 - 2 * ct);
|
|
432
|
+
let st = w[0] + Ce, _t = w[1] + Le, at = w[2] + Ze, Lt = 1 / Math.sqrt(st * st + _t * _t + at * at), Je = (_e * st + ve * at) * Lt;
|
|
433
433
|
Je < 0 && (Je = 0);
|
|
434
|
-
const
|
|
435
|
-
st = y[0] + Ce, _t = y[1] + Le, at = y[2] + Ze,
|
|
436
|
-
const
|
|
434
|
+
const Wt = Je * Je, At = Wt * Wt, tn = At * At * At;
|
|
435
|
+
st = y[0] + Ce, _t = y[1] + Le, at = y[2] + Ze, Lt = 1 / Math.sqrt(st * st + _t * _t + at * at), Je = (_e * st + ve * at) * Lt, Je < 0 && (Je = 0);
|
|
436
|
+
const Ot = Je * Je, Ht = Ot * Ot, nn = Ht * Ht;
|
|
437
437
|
let rt = (-(-Ce + 2 * Ve * _e) * N - Le * m + 0.2) * C;
|
|
438
438
|
rt < 0 ? rt = 0 : rt > 1 && (rt = 1);
|
|
439
|
-
const tt = rt * rt * (3 - 2 * rt),
|
|
440
|
-
let bt =
|
|
441
|
-
bt > 1 && (bt = 1), q.lift[de] = bt, q.a[de] = (M + S *
|
|
439
|
+
const tt = rt * rt * (3 - 2 * rt), Et = tn * 0.9 + nn * 0.45;
|
|
440
|
+
let bt = Dt * 0.55 + Et;
|
|
441
|
+
bt > 1 && (bt = 1), q.lift[de] = bt, q.a[de] = (M + S * Dt + b * Et + tt * 0.06) * le * Te * Fe, q.x[de] = Se, q.z[de] = fe, Se < Ee && (Ee = Se), Se > Ue && (Ue = Se), de++;
|
|
442
442
|
}, ze = (G, Z) => {
|
|
443
443
|
const X = G * ke, Q = Math.cos(X), he = -Math.sin(X) * Pe, fe = 1 / Math.sqrt(Pe * Pe * Q * Q + 1), _e = Pe * Q * fe, ve = fe;
|
|
444
444
|
for (let we = 0; we < 14; we++) {
|
|
@@ -446,14 +446,14 @@ const Gc = (t) => {
|
|
|
446
446
|
Ke(X + Ae.ROUND * (Ce - _e), he + Ae.ROUND * (Le - ve), Ce, Le, L[Be]);
|
|
447
447
|
}
|
|
448
448
|
};
|
|
449
|
-
function
|
|
449
|
+
function R(G, Z, X) {
|
|
450
450
|
const Q = Math.max(t.h(), 1), le = X * Ae.TWIST_SPEED * 0.15, he = X * Ae.TWIST_SPEED * 0.2, _e = -((G + 0.5) / ie * 2 * j - j) / (Q * Ae.ZOOM);
|
|
451
451
|
se = _e * Ae.CAM / Ae.FOCAL;
|
|
452
452
|
for (let Ie = 0; Ie < 2; Ie++)
|
|
453
453
|
se = _e * (Ae.CAM + Math.sin(se * 1.2 + le) * Ae.BILLOW) / Ae.FOCAL;
|
|
454
454
|
Me = Math.sin(se * 1.2 + le) * Ae.BILLOW;
|
|
455
|
-
const ve = se < 0 ? -se : se, we =
|
|
456
|
-
xe = Math.cos(Be), Ne = Math.sin(Be), ke = Ae.WIDTH * we, Te =
|
|
455
|
+
const ve = se < 0 ? -se : se, we = Ut(7, 1, ve), Be = se * E.twist * Ut(8, 0, ve) - he;
|
|
456
|
+
xe = Math.cos(Be), Ne = Math.sin(Be), ke = Ae.WIDTH * we, Te = Ut(0.06, 0.46, xe < 0 ? -xe : xe) * Ut(0, 0.06, we), q = Z, de = 0, Ee = 1e9, Ue = -1e9, ze(-1, !0);
|
|
457
457
|
const Fe = 2 * ke / 107, Se = Math.cos(Fe), Ce = Math.sin(Fe);
|
|
458
458
|
let Le = Math.cos(-ke), Ze = Math.sin(-ke);
|
|
459
459
|
for (let Ie = 0; Ie < 108; Ie++) {
|
|
@@ -475,10 +475,10 @@ const Gc = (t) => {
|
|
|
475
475
|
let Fe = Math.floor(_e), Se = Math.ceil(we);
|
|
476
476
|
if (Se < 0 || Fe > te - 1) return;
|
|
477
477
|
Fe < 0 && (Fe = 0), Se > te - 1 && (Se = te - 1), K.fill(-1e9, Fe, Se + 1);
|
|
478
|
-
const Ce = G * te, Le = he * he, Ze = Le * he, Ie = -0.5 * Ze + Le - 0.5 * he, Ve = 1.5 * Ze - 2.5 * Le + 1, Ye = -1.5 * Ze + 2 * Le + 0.5 * he, ut = 0.5 * Ze - 0.5 * Le, ct = Z.x,
|
|
479
|
-
let tt = Ie * ct[0] + Ve *
|
|
478
|
+
const Ce = G * te, Le = he * he, Ze = Le * he, Ie = -0.5 * Ze + Le - 0.5 * he, Ve = 1.5 * Ze - 2.5 * Le + 1, Ye = -1.5 * Ze + 2 * Le + 0.5 * he, ut = 0.5 * Ze - 0.5 * Le, ct = Z.x, Dt = X.x, st = Q.x, _t = le.x, at = Z.z, Lt = X.z, Je = Q.z, Wt = le.z, At = Z.lift, Sn = X.lift, tn = Q.lift, Ot = le.lift, Ht = Z.a, nn = X.a, Cn = Q.a, rt = le.a;
|
|
479
|
+
let tt = Ie * ct[0] + Ve * Dt[0] + Ye * st[0] + ut * _t[0], Et = Ie * at[0] + Ve * Lt[0] + Ye * Je[0] + ut * Wt[0], bt = Ie * At[0] + Ve * Sn[0] + Ye * tn[0] + ut * Ot[0], Ln = Ie * Ht[0] + Ve * nn[0] + Ye * Cn[0] + ut * rt[0];
|
|
480
480
|
for (let oe = 1; oe < 136; oe++) {
|
|
481
|
-
const nt = Ie * ct[oe] + Ve *
|
|
481
|
+
const nt = Ie * ct[oe] + Ve * Dt[oe] + Ye * st[oe] + ut * _t[oe], Zt = Ie * at[oe] + Ve * Lt[oe] + Ye * Je[oe] + ut * Wt[oe], Vt = Ie * At[oe] + Ve * Sn[oe] + Ye * tn[oe] + ut * Ot[oe], Gt = Ie * Ht[oe] + Ve * nn[oe] + Ye * Cn[oe] + ut * rt[oe];
|
|
482
482
|
if (!Number.isNaN(tt) && !Number.isNaN(nt)) {
|
|
483
483
|
let xt = Math.max(Fe, Math.ceil((tt < nt ? tt : nt) - 0.5)), ln = Math.min(Se, Math.floor((tt > nt ? tt : nt) - 0.5));
|
|
484
484
|
if (ln < xt) {
|
|
@@ -486,37 +486,37 @@ const Gc = (t) => {
|
|
|
486
486
|
yt >= Fe && yt <= Se && (xt = yt, ln = yt);
|
|
487
487
|
}
|
|
488
488
|
if (ln >= xt) {
|
|
489
|
-
const yt = nt - tt, Tc = yt !== 0 ? 1 / yt : 0, Pc =
|
|
490
|
-
for (let
|
|
491
|
-
let Nt = (
|
|
489
|
+
const yt = nt - tt, Tc = yt !== 0 ? 1 / yt : 0, Pc = Zt - Et, Dc = Vt - bt, Wc = Gt - Ln;
|
|
490
|
+
for (let Bt = xt; Bt <= ln; Bt++) {
|
|
491
|
+
let Nt = (Bt + 0.5 - tt) * Tc;
|
|
492
492
|
Nt < 0 ? Nt = 0 : Nt > 1 && (Nt = 1);
|
|
493
|
-
const sl =
|
|
494
|
-
if (sl <= K[
|
|
495
|
-
K[
|
|
493
|
+
const sl = Et + Pc * Nt;
|
|
494
|
+
if (sl <= K[Bt]) continue;
|
|
495
|
+
K[Bt] = sl;
|
|
496
496
|
const En = bt + Dc * Nt;
|
|
497
|
-
fe[Ce +
|
|
497
|
+
fe[Ce + Bt] = cn(p + v * En) << Xc | cn(h + _ * En) << Kc | cn(f + x * En) << Jc | cn(Ln + Wc * Nt) << vt;
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
-
tt = nt,
|
|
501
|
+
tt = nt, Et = Zt, bt = Vt, Ln = Gt;
|
|
502
502
|
}
|
|
503
|
-
let
|
|
503
|
+
let jt = -1, An = -1;
|
|
504
504
|
for (let oe = Fe; oe <= Se; oe++) if ((fe[Ce + oe] >>> vt & 255) > 0) {
|
|
505
|
-
|
|
505
|
+
jt = oe;
|
|
506
506
|
break;
|
|
507
507
|
}
|
|
508
|
-
if (
|
|
509
|
-
for (let oe = Se; oe >=
|
|
508
|
+
if (jt < 0) return;
|
|
509
|
+
for (let oe = Se; oe >= jt; oe--) if ((fe[Ce + oe] >>> vt & 255) > 0) {
|
|
510
510
|
An = oe;
|
|
511
511
|
break;
|
|
512
512
|
}
|
|
513
|
-
if (An -
|
|
513
|
+
if (An - jt <= 2 * r.length) return;
|
|
514
514
|
const cl = ~(255 << vt);
|
|
515
515
|
for (let oe = 0; oe < r.length; oe++) {
|
|
516
|
-
const nt = r[oe],
|
|
517
|
-
fe[
|
|
518
|
-
const
|
|
519
|
-
fe[
|
|
516
|
+
const nt = r[oe], Zt = Ce + jt + oe, Vt = fe[Zt];
|
|
517
|
+
fe[Zt] = Vt & cl | ((Vt >>> vt & 255) * nt | 0) << vt;
|
|
518
|
+
const Gt = Ce + An - oe, xt = fe[Gt];
|
|
519
|
+
fe[Gt] = xt & cl | ((xt >>> vt & 255) * nt | 0) << vt;
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
522
|
function Y(G) {
|
|
@@ -524,14 +524,14 @@ const Gc = (t) => {
|
|
|
524
524
|
W.fill(0), Pe = E.tension, De = Ae.ZOOM * Math.max(t.h(), 1) * ee;
|
|
525
525
|
const Z = Math.max(1, Math.ceil((ie - 1) / 3)), X = (_e) => Math.min(_e * 3, ie - 1);
|
|
526
526
|
let Q = 0;
|
|
527
|
-
|
|
527
|
+
R(X(0), O[0], G);
|
|
528
528
|
let le = 0, he = X(0), fe = X(1);
|
|
529
529
|
for (let _e = 0; _e < ie; _e++) {
|
|
530
530
|
for (; _e > fe && le + 1 < Z; )
|
|
531
531
|
le++, he = fe, fe = X(le + 1);
|
|
532
532
|
const ve = le + 2 < Z ? le + 2 : Z;
|
|
533
533
|
for (; Q < ve; )
|
|
534
|
-
Q++,
|
|
534
|
+
Q++, R(X(Q), O[Q & 3], G);
|
|
535
535
|
const we = fe - he;
|
|
536
536
|
U(
|
|
537
537
|
_e,
|
|
@@ -569,7 +569,7 @@ const Gc = (t) => {
|
|
|
569
569
|
circuit: Yc,
|
|
570
570
|
liquid: Qc
|
|
571
571
|
};
|
|
572
|
-
function
|
|
572
|
+
function Er({
|
|
573
573
|
className: t,
|
|
574
574
|
theme: n,
|
|
575
575
|
glowTarget: l,
|
|
@@ -633,7 +633,7 @@ function Ar({
|
|
|
633
633
|
});
|
|
634
634
|
}, [n, l, c]), /* @__PURE__ */ e("canvas", { ref: s, className: t, "aria-hidden": "true" });
|
|
635
635
|
}
|
|
636
|
-
const
|
|
636
|
+
const Br = I(function({ title: n, subtitle: l, logo: c, mark: s, children: a, footer: r, className: i, ...o }, d) {
|
|
637
637
|
return /* @__PURE__ */ u("div", { ref: d, ...o, className: `select-card${i ? " " + i : ""}`, children: [
|
|
638
638
|
/* @__PURE__ */ u("div", { className: "select-card__body", children: [
|
|
639
639
|
c && /* @__PURE__ */ e("div", { className: "select-card__brand", children: c }),
|
|
@@ -646,7 +646,7 @@ const Er = R(function({ title: n, subtitle: l, logo: c, mark: s, children: a, fo
|
|
|
646
646
|
] }),
|
|
647
647
|
r && /* @__PURE__ */ e("div", { className: "select-card__footer", children: r })
|
|
648
648
|
] });
|
|
649
|
-
}), Re =
|
|
649
|
+
}), Re = I(function({
|
|
650
650
|
variant: n = "primary",
|
|
651
651
|
type: l = "button",
|
|
652
652
|
size: c = "md",
|
|
@@ -692,7 +692,7 @@ const Er = R(function({ title: n, subtitle: l, logo: c, mark: s, children: a, fo
|
|
|
692
692
|
!s && r && /* @__PURE__ */ e("span", { className: "select-btn__icon select-btn__icon--trailing", children: r })
|
|
693
693
|
] });
|
|
694
694
|
});
|
|
695
|
-
function
|
|
695
|
+
function Fr() {
|
|
696
696
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: [
|
|
697
697
|
/* @__PURE__ */ e(
|
|
698
698
|
"path",
|
|
@@ -724,7 +724,7 @@ function Br() {
|
|
|
724
724
|
)
|
|
725
725
|
] });
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function Ir() {
|
|
728
728
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
729
729
|
"path",
|
|
730
730
|
{
|
|
@@ -745,7 +745,7 @@ function je() {
|
|
|
745
745
|
function zn() {
|
|
746
746
|
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" }) });
|
|
747
747
|
}
|
|
748
|
-
function
|
|
748
|
+
function Rr() {
|
|
749
749
|
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" }) });
|
|
750
750
|
}
|
|
751
751
|
function qn() {
|
|
@@ -767,10 +767,10 @@ function Yn() {
|
|
|
767
767
|
function Xn() {
|
|
768
768
|
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" }) });
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function St() {
|
|
771
771
|
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" }) });
|
|
772
772
|
}
|
|
773
|
-
function
|
|
773
|
+
function Tr() {
|
|
774
774
|
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" }) });
|
|
775
775
|
}
|
|
776
776
|
function ts() {
|
|
@@ -781,30 +781,30 @@ function ts() {
|
|
|
781
781
|
/* @__PURE__ */ e("path", { d: "M14 21a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z" })
|
|
782
782
|
] });
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function Pr() {
|
|
785
785
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
786
786
|
/* @__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" }),
|
|
787
787
|
/* @__PURE__ */ e("path", { d: "m15.71 15.18-3.1-1.85c-.54-.32-.98-1.09-.98-1.72v-4.1" })
|
|
788
788
|
] });
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function Dr() {
|
|
791
791
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
792
792
|
/* @__PURE__ */ e("path", { d: "M9.25 9.05a8 8 0 0 0 5.5 0" }),
|
|
793
793
|
/* @__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" }),
|
|
794
794
|
/* @__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" })
|
|
795
795
|
] });
|
|
796
796
|
}
|
|
797
|
-
function
|
|
797
|
+
function Wr({ filled: t = !1 } = {}) {
|
|
798
798
|
return /* @__PURE__ */ u("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: "M10 2.5v6.2c0 .38-.2.73-.52.93L6.7 11.4c-.75.47-1.2 1.29-1.2 2.17 0 .35.28.63.63.63h11.74c.35 0 .63-.28.63-.63 0-.88-.45-1.7-1.2-2.17l-2.78-1.77a1.1 1.1 0 0 1-.52-.93V2.5", ...t ? { fill: "currentColor" } : {} }),
|
|
800
800
|
/* @__PURE__ */ e("path", { d: "M8.5 2.5h7" }),
|
|
801
801
|
/* @__PURE__ */ e("path", { d: "M12 14.2v7.3" })
|
|
802
802
|
] });
|
|
803
803
|
}
|
|
804
|
-
const
|
|
804
|
+
const Or = I(function({ filled: n = !1, className: l, ...c }, s) {
|
|
805
805
|
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" }) });
|
|
806
806
|
});
|
|
807
|
-
function
|
|
807
|
+
function Hr({ duotone: t = !1 } = {}) {
|
|
808
808
|
return t ? /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
809
809
|
/* @__PURE__ */ e("path", { opacity: ".4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", 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-.85" }),
|
|
810
810
|
/* @__PURE__ */ e("path", { fill: "currentColor", d: "M12.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" })
|
|
@@ -829,7 +829,7 @@ function Mn() {
|
|
|
829
829
|
/* @__PURE__ */ e("path", { d: "M11.995 16h.009" })
|
|
830
830
|
] });
|
|
831
831
|
}
|
|
832
|
-
function
|
|
832
|
+
function jr() {
|
|
833
833
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
834
834
|
/* @__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" }),
|
|
835
835
|
/* @__PURE__ */ e("path", { d: "M9.95 9.55c0-1.13.92-2.05 2.05-2.05s2.05.92 2.05 2.05c0 1.06-.72 1.6-1.35 1.95-.44.25-.7.6-.7 1.15v.35" }),
|
|
@@ -842,10 +842,10 @@ function ls() {
|
|
|
842
842
|
/* @__PURE__ */ e("path", { d: "M11.995 17h.009" })
|
|
843
843
|
] });
|
|
844
844
|
}
|
|
845
|
-
function
|
|
845
|
+
function Zr() {
|
|
846
846
|
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" }) });
|
|
847
847
|
}
|
|
848
|
-
function
|
|
848
|
+
function Vr() {
|
|
849
849
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
850
850
|
/* @__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" }),
|
|
851
851
|
/* @__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" }),
|
|
@@ -858,7 +858,7 @@ function cs() {
|
|
|
858
858
|
/* @__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" })
|
|
859
859
|
] });
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function Gr() {
|
|
862
862
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
863
863
|
/* @__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" }),
|
|
864
864
|
/* @__PURE__ */ e("path", { d: "M9 12a13 13 0 0 1 9-9 13 13 0 0 1-9 9Z" }),
|
|
@@ -900,19 +900,19 @@ function Xl({ duotone: t = !1 } = {}) {
|
|
|
900
900
|
function os() {
|
|
901
901
|
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" }) });
|
|
902
902
|
}
|
|
903
|
-
function
|
|
903
|
+
function Ct() {
|
|
904
904
|
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" }) });
|
|
905
905
|
}
|
|
906
|
-
function
|
|
906
|
+
function Ur({ duotone: t = !1 } = {}) {
|
|
907
907
|
return /* @__PURE__ */ e(Xl, { duotone: t });
|
|
908
908
|
}
|
|
909
|
-
function
|
|
909
|
+
function zr() {
|
|
910
910
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
911
911
|
/* @__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" }),
|
|
912
912
|
/* @__PURE__ */ e("path", { d: "M9 2h6" })
|
|
913
913
|
] });
|
|
914
914
|
}
|
|
915
|
-
function
|
|
915
|
+
function qr({ duotone: t = !1 } = {}) {
|
|
916
916
|
return t ? /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
917
917
|
/* @__PURE__ */ e("path", { opacity: ".4", fill: "currentColor", 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" }),
|
|
918
918
|
/* @__PURE__ */ e("path", { stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", d: "m17 9-3.13 2.5c-1.03.82-2.72.82-3.75 0L7 9" })
|
|
@@ -921,7 +921,7 @@ function zr({ duotone: t = !1 } = {}) {
|
|
|
921
921
|
/* @__PURE__ */ e("path", { d: "m17 9-3.13 2.5c-1.03.82-2.72.82-3.75 0L7 9" })
|
|
922
922
|
] });
|
|
923
923
|
}
|
|
924
|
-
function
|
|
924
|
+
function Yr() {
|
|
925
925
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
926
926
|
"path",
|
|
927
927
|
{
|
|
@@ -930,20 +930,20 @@ function qr() {
|
|
|
930
930
|
}
|
|
931
931
|
) });
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function Xr() {
|
|
934
934
|
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" }) });
|
|
935
935
|
}
|
|
936
|
-
function
|
|
936
|
+
function Kr() {
|
|
937
937
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
938
938
|
/* @__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" }),
|
|
939
939
|
/* @__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" }),
|
|
940
940
|
/* @__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" })
|
|
941
941
|
] });
|
|
942
942
|
}
|
|
943
|
-
function
|
|
943
|
+
function Jr() {
|
|
944
944
|
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" }) });
|
|
945
945
|
}
|
|
946
|
-
function
|
|
946
|
+
function Qr() {
|
|
947
947
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
948
948
|
/* @__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" }),
|
|
949
949
|
/* @__PURE__ */ e("path", { d: "m9.05 11.87 1.61 1.61 4.3-4.3" })
|
|
@@ -971,23 +971,23 @@ function is() {
|
|
|
971
971
|
/* @__PURE__ */ e("path", { d: "m7.75 12 2.83 2.83 5.67-5.66" })
|
|
972
972
|
] });
|
|
973
973
|
}
|
|
974
|
-
function
|
|
974
|
+
function eo() {
|
|
975
975
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
976
976
|
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "4" }),
|
|
977
977
|
/* @__PURE__ */ e("path", { d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.9 7.9" })
|
|
978
978
|
] });
|
|
979
979
|
}
|
|
980
|
-
function
|
|
980
|
+
function to() {
|
|
981
981
|
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" }) });
|
|
982
982
|
}
|
|
983
|
-
function
|
|
983
|
+
function no() {
|
|
984
984
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
985
985
|
/* @__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" }),
|
|
986
986
|
/* @__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" }),
|
|
987
987
|
/* @__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" })
|
|
988
988
|
] });
|
|
989
989
|
}
|
|
990
|
-
function
|
|
990
|
+
function lo() {
|
|
991
991
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
992
992
|
/* @__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" }),
|
|
993
993
|
/* @__PURE__ */ e("path", { d: "M14.5 11a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" })
|
|
@@ -996,7 +996,7 @@ function no() {
|
|
|
996
996
|
function Ql() {
|
|
997
997
|
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" }) });
|
|
998
998
|
}
|
|
999
|
-
function
|
|
999
|
+
function co() {
|
|
1000
1000
|
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" }) });
|
|
1001
1001
|
}
|
|
1002
1002
|
function ds() {
|
|
@@ -1005,29 +1005,29 @@ function ds() {
|
|
|
1005
1005
|
/* @__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" })
|
|
1006
1006
|
] });
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1008
|
+
function so() {
|
|
1009
1009
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1010
1010
|
/* @__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" }),
|
|
1011
1011
|
/* @__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" }),
|
|
1012
1012
|
/* @__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" })
|
|
1013
1013
|
] });
|
|
1014
1014
|
}
|
|
1015
|
-
function
|
|
1015
|
+
function ao() {
|
|
1016
1016
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1017
1017
|
/* @__PURE__ */ e("path", { d: "M2 8.505h20M6 16.505h2M10.5 16.505h4" }),
|
|
1018
1018
|
/* @__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" })
|
|
1019
1019
|
] });
|
|
1020
1020
|
}
|
|
1021
|
-
function
|
|
1021
|
+
function ro() {
|
|
1022
1022
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1023
1023
|
/* @__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" }),
|
|
1024
1024
|
/* @__PURE__ */ e("path", { d: "M11.89 5.05a6.126 6.126 0 0 0 5.45 5.15M3 22h18" })
|
|
1025
1025
|
] });
|
|
1026
1026
|
}
|
|
1027
|
-
function
|
|
1027
|
+
function oo() {
|
|
1028
1028
|
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" }) });
|
|
1029
1029
|
}
|
|
1030
|
-
function
|
|
1030
|
+
function io() {
|
|
1031
1031
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1032
1032
|
/* @__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" }),
|
|
1033
1033
|
/* @__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" })
|
|
@@ -1042,7 +1042,7 @@ function ec() {
|
|
|
1042
1042
|
function tc() {
|
|
1043
1043
|
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" }) });
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function ho() {
|
|
1046
1046
|
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" }) });
|
|
1047
1047
|
}
|
|
1048
1048
|
function hs() {
|
|
@@ -1057,19 +1057,28 @@ function us() {
|
|
|
1057
1057
|
/* @__PURE__ */ e("path", { d: "M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8" })
|
|
1058
1058
|
] });
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1060
|
+
function uo() {
|
|
1061
1061
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1062
1062
|
/* @__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" }),
|
|
1063
1063
|
/* @__PURE__ */ e("path", { d: "M14.495 14.5h.009M9.495 9.5h.008" })
|
|
1064
1064
|
] });
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1066
|
+
function po() {
|
|
1067
|
+
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1068
|
+
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "1.75", fill: "currentColor", stroke: "none" }),
|
|
1069
|
+
/* @__PURE__ */ e("path", { d: "M8.46 15.54A5 5 0 0 1 8.46 8.46" }),
|
|
1070
|
+
/* @__PURE__ */ e("path", { d: "M15.54 8.46a5 5 0 0 1 0 7.08" }),
|
|
1071
|
+
/* @__PURE__ */ e("path", { d: "M5.64 18.36A9 9 0 0 1 5.64 5.64" }),
|
|
1072
|
+
/* @__PURE__ */ e("path", { d: "M18.36 5.64a9 9 0 0 1 0 12.72" })
|
|
1073
|
+
] });
|
|
1074
|
+
}
|
|
1075
|
+
function mo() {
|
|
1067
1076
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1068
1077
|
/* @__PURE__ */ e("path", { d: "M2 2v17c0 1.66 1.34 3 3 3h17" }),
|
|
1069
1078
|
/* @__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" })
|
|
1070
1079
|
] });
|
|
1071
1080
|
}
|
|
1072
|
-
function
|
|
1081
|
+
function fo({ duotone: t = !1 } = {}) {
|
|
1073
1082
|
return t ? /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: [
|
|
1074
1083
|
/* @__PURE__ */ e("path", { opacity: ".4", 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.49H3.01Z" }),
|
|
1075
1084
|
/* @__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 12ZM18.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" })
|
|
@@ -1079,22 +1088,22 @@ function po({ duotone: t = !1 } = {}) {
|
|
|
1079
1088
|
/* @__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" })
|
|
1080
1089
|
] });
|
|
1081
1090
|
}
|
|
1082
|
-
function
|
|
1091
|
+
function _o() {
|
|
1083
1092
|
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" }) });
|
|
1084
1093
|
}
|
|
1085
|
-
function
|
|
1094
|
+
function vo() {
|
|
1086
1095
|
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" }) });
|
|
1087
1096
|
}
|
|
1088
|
-
function
|
|
1097
|
+
function go() {
|
|
1089
1098
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1090
1099
|
/* @__PURE__ */ e("path", { d: "M4.05 3h1.3c.79 0 1.41.68 1.35 1.47l-.62 7.42c-.1 1.24.88 2.31 2.13 2.31h9.11c1.09 0 2.05-.9 2.13-1.99l.4-5.57a1.86 1.86 0 0 0-1.86-1.99H6.7" }),
|
|
1091
1100
|
/* @__PURE__ */ e("path", { d: "M16.3 22a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM9.2 22a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z" })
|
|
1092
1101
|
] });
|
|
1093
1102
|
}
|
|
1094
|
-
function
|
|
1103
|
+
function bo() {
|
|
1095
1104
|
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" }) });
|
|
1096
1105
|
}
|
|
1097
|
-
function
|
|
1106
|
+
function xo({ duotone: t = !1 } = {}) {
|
|
1098
1107
|
return t ? /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
1099
1108
|
/* @__PURE__ */ e("path", { opacity: ".4", fill: "currentColor", 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.11ZM10 19V5c0-2 1-3 3-3h6c2 0 3 1 3 3v14c0 2-1 3-3 3h-6c-2 0-3-1-3-3Z" }),
|
|
1100
1109
|
/* @__PURE__ */ e("path", { fill: "currentColor", d: "M17 17h-2c-.55 0-1 .45-1 1v4h4v-4c0-.55-.45-1-1-1Z" }),
|
|
@@ -1221,7 +1230,7 @@ function Kn({
|
|
|
1221
1230
|
)
|
|
1222
1231
|
] });
|
|
1223
1232
|
}
|
|
1224
|
-
const ft =
|
|
1233
|
+
const ft = I(function({ content: n, title: l, label: c = "Mais informações", placement: s = "top", className: a, ...r }, i) {
|
|
1225
1234
|
return /* @__PURE__ */ e(
|
|
1226
1235
|
Kn,
|
|
1227
1236
|
{
|
|
@@ -1245,7 +1254,7 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1245
1254
|
)
|
|
1246
1255
|
}
|
|
1247
1256
|
);
|
|
1248
|
-
}),
|
|
1257
|
+
}), Tt = I(function({ htmlFor: n, label: l, help: c, info: s, action: a, className: r, ...i }, o) {
|
|
1249
1258
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-field__labelrow${r ? " " + r : ""}`, children: [
|
|
1250
1259
|
/* @__PURE__ */ u("span", { className: "select-field__labelwrap", children: [
|
|
1251
1260
|
/* @__PURE__ */ e("label", { className: "select-field__label", htmlFor: n, children: l }),
|
|
@@ -1253,7 +1262,7 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1253
1262
|
] }),
|
|
1254
1263
|
a
|
|
1255
1264
|
] });
|
|
1256
|
-
}), pt =
|
|
1265
|
+
}), pt = I(function({ label: n, value: l, onChange: c, type: s = "text", labelAction: a, help: r, info: i, description: o, hint: d, error: p, prefix: h, suffix: f, trailingAction: v, mono: _, autoComplete: x, placeholder: M, required: S, disabled: b, readOnly: m, name: N, id: k, minLength: w, maxLength: y, min: $, max: g, step: C, inputMode: A, autoFocus: B, onBlur: L, onKeyDown: E, size: F = "md", className: T, ...O }, q) {
|
|
1257
1266
|
const H = ge(), V = k ?? H, [P, W] = D(!1), K = s === "password", te = K && P ? "text" : s, ie = p ? `${V}-err` : d ? `${V}-hint` : void 0, me = h != null || f != null, j = s === "number" && !me && !m, ee = l === "" ? null : Number(l), ne = (se) => {
|
|
1258
1267
|
const ke = Number(C ?? 1) || 1;
|
|
1259
1268
|
let de = (ee != null && Number.isFinite(ee) ? ee : 0) + se * ke;
|
|
@@ -1326,7 +1335,7 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1326
1335
|
] })
|
|
1327
1336
|
] });
|
|
1328
1337
|
return /* @__PURE__ */ u("div", { ref: q, ...O, className: `select-field${F === "sm" ? " select-field--sm" : ""}${T ? " " + T : ""}`, children: [
|
|
1329
|
-
(n || r || i || a) && /* @__PURE__ */ e(
|
|
1338
|
+
(n || r || i || a) && /* @__PURE__ */ e(Tt, { htmlFor: V, label: n, help: r, info: i, action: a }),
|
|
1330
1339
|
o && /* @__PURE__ */ e("p", { className: "select-field__desc", children: o }),
|
|
1331
1340
|
v != null ? /* @__PURE__ */ u("div", { className: "select-field__control", children: [
|
|
1332
1341
|
Me,
|
|
@@ -1334,7 +1343,7 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1334
1343
|
] }) : Me,
|
|
1335
1344
|
p ? /* @__PURE__ */ e("p", { id: `${V}-err`, className: "select-field__error", children: p }) : d ? /* @__PURE__ */ e("p", { id: `${V}-hint`, className: "select-field__hint", children: d }) : null
|
|
1336
1345
|
] });
|
|
1337
|
-
}),
|
|
1346
|
+
}), yo = I(function({ label: n, checked: l, onChange: c, disabled: s, hint: a, name: r, className: i, ...o }, d) {
|
|
1338
1347
|
return /* @__PURE__ */ u("span", { ref: d, ...o, className: `select-checkbox-field${s ? " select-checkbox-field--disabled" : ""}${i ? " " + i : ""}`, children: [
|
|
1339
1348
|
/* @__PURE__ */ u("label", { className: "select-checkbox", children: [
|
|
1340
1349
|
/* @__PURE__ */ e(
|
|
@@ -1352,10 +1361,10 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1352
1361
|
] }),
|
|
1353
1362
|
a && /* @__PURE__ */ e("span", { className: "select-checkbox__hint", children: a })
|
|
1354
1363
|
] });
|
|
1355
|
-
}),
|
|
1364
|
+
}), No = I(function({ label: n, value: l, onChange: c, labelAction: s, help: a, info: r, description: i, hint: o, error: d, placeholder: p, rows: h = 4, mono: f, name: v, required: _, disabled: x, maxLength: M, onBlur: S, size: b = "md", className: m, ...N }, k) {
|
|
1356
1365
|
const w = ge(), y = d ? `${w}-err` : o ? `${w}-hint` : void 0;
|
|
1357
1366
|
return /* @__PURE__ */ u("div", { ref: k, ...N, className: `select-field${b === "sm" ? " select-field--sm" : ""}${m ? " " + m : ""}`, children: [
|
|
1358
|
-
(n || a || r || s) && /* @__PURE__ */ e(
|
|
1367
|
+
(n || a || r || s) && /* @__PURE__ */ e(Tt, { htmlFor: w, label: n, help: a, info: r, action: s }),
|
|
1359
1368
|
i && /* @__PURE__ */ e("p", { className: "select-field__desc", children: i }),
|
|
1360
1369
|
/* @__PURE__ */ e(
|
|
1361
1370
|
"textarea",
|
|
@@ -1377,10 +1386,10 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1377
1386
|
),
|
|
1378
1387
|
d ? /* @__PURE__ */ e("p", { id: `${w}-err`, className: "select-field__error", children: d }) : o ? /* @__PURE__ */ e("p", { id: `${w}-hint`, className: "select-field__hint", children: o }) : null
|
|
1379
1388
|
] });
|
|
1380
|
-
}),
|
|
1389
|
+
}), Mo = I(function({ label: n, value: l, onChange: c, unit: s, info: a, hint: r, error: i, placeholder: o = "0", disabled: d = !1, min: p, max: h, className: f, ...v }, _) {
|
|
1381
1390
|
const x = ge();
|
|
1382
1391
|
return /* @__PURE__ */ u("div", { ref: _, ...v, className: `select-field${f ? " " + f : ""}`, children: [
|
|
1383
|
-
n && /* @__PURE__ */ e(
|
|
1392
|
+
n && /* @__PURE__ */ e(Tt, { htmlFor: x, label: n, info: a }),
|
|
1384
1393
|
/* @__PURE__ */ u("div", { className: `select-unit${i ? " select-unit--error" : ""}${d ? " select-unit--disabled" : ""}`, children: [
|
|
1385
1394
|
/* @__PURE__ */ e(
|
|
1386
1395
|
"input",
|
|
@@ -1414,7 +1423,7 @@ function ol(t, n) {
|
|
|
1414
1423
|
}
|
|
1415
1424
|
return 0;
|
|
1416
1425
|
}
|
|
1417
|
-
const
|
|
1426
|
+
const wo = I(function({ label: n, value: l, onChange: c, info: s, hint: a, error: r, onBlur: i, placeholder: o = "0,00", name: d, disabled: p = !1, size: h = "md", className: f, ...v }, _) {
|
|
1418
1427
|
const x = ge(), M = J(null), S = J(null), b = l == null ? "" : rl.format(l / 100);
|
|
1419
1428
|
qe(() => {
|
|
1420
1429
|
const N = M.current;
|
|
@@ -1436,7 +1445,7 @@ const No = R(function({ label: n, value: l, onChange: c, info: s, hint: a, error
|
|
|
1436
1445
|
k.value = B, k.setSelectionRange(L, L), S.current = g.length, c(A);
|
|
1437
1446
|
};
|
|
1438
1447
|
return /* @__PURE__ */ u("div", { ref: _, ...v, className: `select-field${h === "sm" ? " select-field--sm" : ""}${f ? " " + f : ""}`, children: [
|
|
1439
|
-
n && /* @__PURE__ */ e(
|
|
1448
|
+
n && /* @__PURE__ */ e(Tt, { htmlFor: x, label: n, info: s }),
|
|
1440
1449
|
/* @__PURE__ */ u(
|
|
1441
1450
|
"div",
|
|
1442
1451
|
{
|
|
@@ -1478,7 +1487,7 @@ function _s(t) {
|
|
|
1478
1487
|
const n = Jn(t).slice(0, 14);
|
|
1479
1488
|
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");
|
|
1480
1489
|
}
|
|
1481
|
-
function
|
|
1490
|
+
function ko({
|
|
1482
1491
|
label: t = "CPF/CNPJ",
|
|
1483
1492
|
value: n,
|
|
1484
1493
|
onChange: l,
|
|
@@ -1506,13 +1515,13 @@ function Mo({
|
|
|
1506
1515
|
}
|
|
1507
1516
|
);
|
|
1508
1517
|
}
|
|
1509
|
-
const
|
|
1518
|
+
const Pt = I(function({ children: n, tone: l = "critical", title: c, action: s, className: a, ...r }, i) {
|
|
1510
1519
|
return /* @__PURE__ */ u("div", { ref: i, ...r, className: `select-alert select-alert--${l}${a ? " " + a : ""}`, role: "alert", children: [
|
|
1511
1520
|
c != null && /* @__PURE__ */ e("p", { className: "select-alert__title", children: c }),
|
|
1512
1521
|
n != null && /* @__PURE__ */ e("div", { className: "select-alert__body", children: n }),
|
|
1513
1522
|
s != null && /* @__PURE__ */ e("div", { className: "select-alert__action", children: s })
|
|
1514
1523
|
] });
|
|
1515
|
-
}), _n =
|
|
1524
|
+
}), _n = I(function({ src: n, docExt: l, name: c, sub: s, badge: a, onRemove: r, className: i, ...o }, d) {
|
|
1516
1525
|
return /* @__PURE__ */ u("div", { ref: d, ...o, className: `select-filetile${i ? " " + i : ""}`, children: [
|
|
1517
1526
|
/* @__PURE__ */ u("div", { className: "select-filetile__media", children: [
|
|
1518
1527
|
n ? /* @__PURE__ */ e(
|
|
@@ -1537,7 +1546,7 @@ const Tt = R(function({ children: n, tone: l = "critical", title: c, action: s,
|
|
|
1537
1546
|
className: "select-filetile__remove",
|
|
1538
1547
|
"aria-label": `Remover ${c}`,
|
|
1539
1548
|
onClick: r,
|
|
1540
|
-
children: /* @__PURE__ */ e(
|
|
1549
|
+
children: /* @__PURE__ */ e(St, {})
|
|
1541
1550
|
}
|
|
1542
1551
|
)
|
|
1543
1552
|
] }),
|
|
@@ -1569,7 +1578,7 @@ function oc(t) {
|
|
|
1569
1578
|
return t;
|
|
1570
1579
|
}
|
|
1571
1580
|
}
|
|
1572
|
-
const
|
|
1581
|
+
const $o = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, allowMultiple: a = !0, maxFiles: r, hint: i, className: o, ...d }, p) {
|
|
1573
1582
|
const h = J(null), [f, v] = D(!1), [_, x] = D(0), M = s * 1024 * 1024, S = Oe(() => n.map((C) => sc(C) ? URL.createObjectURL(C) : null), [n]);
|
|
1574
1583
|
pe(
|
|
1575
1584
|
() => () => {
|
|
@@ -1653,19 +1662,19 @@ const wo = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1653
1662
|
}
|
|
1654
1663
|
}
|
|
1655
1664
|
),
|
|
1656
|
-
_ > 0 && /* @__PURE__ */ u(
|
|
1665
|
+
_ > 0 && /* @__PURE__ */ u(Pt, { tone: "warning", children: [
|
|
1657
1666
|
_,
|
|
1658
1667
|
" arquivo(s) ignorado(s): tipo não permitido ou acima de ",
|
|
1659
1668
|
s,
|
|
1660
1669
|
" MB."
|
|
1661
1670
|
] })
|
|
1662
1671
|
] });
|
|
1663
|
-
}), vs =
|
|
1672
|
+
}), vs = I(function({ children: n, onClick: l, icon: c, className: s, ...a }, r) {
|
|
1664
1673
|
return /* @__PURE__ */ u("button", { ref: r, ...a, type: "button", className: `select-addbtn${s ? " " + s : ""}`, onClick: l, children: [
|
|
1665
|
-
/* @__PURE__ */ e("span", { className: "select-addbtn__icon", "aria-hidden": "true", children: c ?? /* @__PURE__ */ e(
|
|
1674
|
+
/* @__PURE__ */ e("span", { className: "select-addbtn__icon", "aria-hidden": "true", children: c ?? /* @__PURE__ */ e(Ct, {}) }),
|
|
1666
1675
|
n
|
|
1667
1676
|
] });
|
|
1668
|
-
}),
|
|
1677
|
+
}), So = I(function({ label: n, urls: l, onChange: c, maxUrls: s, placeholder: a, helpText: r, className: i, ...o }, d) {
|
|
1669
1678
|
const [p, h] = D(""), [f, v] = D(null), _ = s != null && l.length >= s, x = () => {
|
|
1670
1679
|
const b = p.trim();
|
|
1671
1680
|
if (b) {
|
|
@@ -1706,7 +1715,7 @@ const wo = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1706
1715
|
] }),
|
|
1707
1716
|
r != null && !f && /* @__PURE__ */ e("p", { className: "select-field__hint", children: r })
|
|
1708
1717
|
] });
|
|
1709
|
-
}), gs =
|
|
1718
|
+
}), gs = I(function({ label: n, mode: l = "multiple", files: c, onFilesChange: s, urls: a, onUrlsChange: r, accept: i = ".jpg,.jpeg,.png,.webp", maxSizeMB: o = 3, maxItems: d = 10, maxFiles: p, uploadHint: h, urlPlaceholder: f, helpText: v, className: _, ...x }, M) {
|
|
1710
1719
|
const S = l === "single", b = J(null), [m, N] = D(!1), [k, w] = D(0), [y, $] = D(""), [g, C] = D(null), A = S ? 1 : Math.max(1, d), B = S ? 1 : p ?? A, L = c.length + a.length, E = S ? L === 0 : L < A && c.length < B, F = S ? L === 0 : L < A, T = L > 0, O = o * 1024 * 1024, q = Oe(() => c.map((j) => sc(j) ? URL.createObjectURL(j) : null), [c]);
|
|
1711
1720
|
pe(
|
|
1712
1721
|
() => () => {
|
|
@@ -1815,7 +1824,7 @@ const wo = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1815
1824
|
}
|
|
1816
1825
|
)
|
|
1817
1826
|
] }),
|
|
1818
|
-
k > 0 && /* @__PURE__ */ u(
|
|
1827
|
+
k > 0 && /* @__PURE__ */ u(Pt, { tone: "warning", children: [
|
|
1819
1828
|
k,
|
|
1820
1829
|
" arquivo(s) ignorado(s): tipo não permitido ou acima de ",
|
|
1821
1830
|
o,
|
|
@@ -1823,7 +1832,7 @@ const wo = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1823
1832
|
] }),
|
|
1824
1833
|
v != null && /* @__PURE__ */ e("p", { className: "select-field__hint", children: v })
|
|
1825
1834
|
] });
|
|
1826
|
-
}), ic =
|
|
1835
|
+
}), ic = I(function({ label: n, value: l, onChange: c, options: s, labelAction: a, help: r, info: i, description: o, hint: d, error: p, placeholder: h, name: f, required: v, disabled: _, size: x = "md", className: M, ...S }, b) {
|
|
1827
1836
|
const m = ge(), N = p ? `${m}-err` : d ? `${m}-hint` : void 0;
|
|
1828
1837
|
return /* @__PURE__ */ u("div", { ref: b, ...S, className: `select-field${x === "sm" ? " select-field--sm" : ""}${M ? " " + M : ""}`, children: [
|
|
1829
1838
|
(n || r || i || a) && /* @__PURE__ */ u("div", { className: "select-field__labelrow", children: [
|
|
@@ -1992,7 +2001,7 @@ function ys(t, n) {
|
|
|
1992
2001
|
function Qt(t) {
|
|
1993
2002
|
return ((t == null ? void 0 : t.closest("[data-theme]")) ?? document.documentElement).getAttribute("data-theme") === "dark" ? "dark" : "light";
|
|
1994
2003
|
}
|
|
1995
|
-
const
|
|
2004
|
+
const Ft = [];
|
|
1996
2005
|
function dt({
|
|
1997
2006
|
active: t,
|
|
1998
2007
|
onClose: n,
|
|
@@ -2028,9 +2037,9 @@ function dt({
|
|
|
2028
2037
|
if (!t) return;
|
|
2029
2038
|
const b = h.current;
|
|
2030
2039
|
if (b)
|
|
2031
|
-
return
|
|
2032
|
-
const m =
|
|
2033
|
-
m !== -1 &&
|
|
2040
|
+
return Ft.push(b), () => {
|
|
2041
|
+
const m = Ft.lastIndexOf(b);
|
|
2042
|
+
m !== -1 && Ft.splice(m, 1);
|
|
2034
2043
|
};
|
|
2035
2044
|
}, [t]), pe(() => {
|
|
2036
2045
|
if (!t) return;
|
|
@@ -2043,7 +2052,7 @@ function dt({
|
|
|
2043
2052
|
const b = (N) => {
|
|
2044
2053
|
var w, y;
|
|
2045
2054
|
const k = N.target;
|
|
2046
|
-
(w = h.current) != null && w.contains(k) || (y = p.current) != null && y.contains(k) ||
|
|
2055
|
+
(w = h.current) != null && w.contains(k) || (y = p.current) != null && y.contains(k) || Ft.length && Ft[Ft.length - 1] !== h.current || n();
|
|
2047
2056
|
}, m = (N) => {
|
|
2048
2057
|
N.key === "Escape" && (N.stopPropagation(), n());
|
|
2049
2058
|
};
|
|
@@ -2073,7 +2082,7 @@ function Ns({ count: t, children: n }) {
|
|
|
2073
2082
|
const l = t > 0 ? Math.min(0.03, 0.35 / t) : 0, c = wn({ selector: ".select-combobox__option", y: 6, duration: 0.3, stagger: l });
|
|
2074
2083
|
return /* @__PURE__ */ e("div", { className: "select-combobox__list", ref: c, children: n });
|
|
2075
2084
|
}
|
|
2076
|
-
const Ms =
|
|
2085
|
+
const Ms = I(function({ label: n, value: l, onChange: c, options: s, placeholder: a = "Selecionar…", searchPlaceholder: r = "Buscar…", labelAction: i, help: o, hint: d, error: p, emptyText: h = "Nenhum resultado", disabled: f, required: v, size: _ = "md", searchable: x = !0, className: M, ...S }, b) {
|
|
2077
2086
|
const m = ge(), [N, k] = D(!1), [w, y] = D(""), $ = s.find((L) => L.value === l), g = Oe(() => {
|
|
2078
2087
|
const L = w.trim().toLowerCase();
|
|
2079
2088
|
return !x || !L ? s : s.filter((E) => {
|
|
@@ -2158,14 +2167,14 @@ const Ms = R(function({ label: n, value: l, onChange: c, options: s, placeholder
|
|
|
2158
2167
|
) }),
|
|
2159
2168
|
p ? /* @__PURE__ */ e("p", { id: `${m}-err`, className: "select-field__error", children: p }) : d ? /* @__PURE__ */ e("p", { id: `${m}-hint`, className: "select-field__hint", children: d }) : null
|
|
2160
2169
|
] });
|
|
2161
|
-
}), ws =
|
|
2170
|
+
}), ws = I(function({ children: n, columns: l = 2, className: c, ...s }, a) {
|
|
2162
2171
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-fieldgrid select-fieldgrid--${l}${c ? " " + c : ""}`, children: n });
|
|
2163
2172
|
}), ks = (t) => t.replace(/\D/g, "");
|
|
2164
2173
|
function $s(t) {
|
|
2165
2174
|
const n = t.replace(/[^\d-]/g, ""), [l = "", ...c] = n.split("-");
|
|
2166
2175
|
return c.length ? `${l}-${c.join("").replace(/\D/g, "").slice(0, 2)}` : l;
|
|
2167
2176
|
}
|
|
2168
|
-
const
|
|
2177
|
+
const Co = I(function({ value: n, onChange: l, banks: c = [], showType: s = !1, error: a, className: r, ...i }, o) {
|
|
2169
2178
|
const d = (h) => l({ ...n, ...h }), p = c.map((h) => ({ label: h.name || h.code, value: h.code }));
|
|
2170
2179
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-stack${r ? " " + r : ""}`, children: [
|
|
2171
2180
|
/* @__PURE__ */ e(
|
|
@@ -2208,17 +2217,17 @@ const $o = R(function({ value: n, onChange: l, banks: c = [], showType: s = !1,
|
|
|
2208
2217
|
}
|
|
2209
2218
|
)
|
|
2210
2219
|
] });
|
|
2211
|
-
}), Qn =
|
|
2220
|
+
}), Qn = I(function({ checked: n, onChange: l, disabled: c = !1, label: s, className: a, ...r }, i) {
|
|
2212
2221
|
return /* @__PURE__ */ e("button", { ref: i, ...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" }) });
|
|
2213
|
-
}),
|
|
2222
|
+
}), Lo = I(function({ children: n, scroll: l = !1, className: c, ...s }, a) {
|
|
2214
2223
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-togglelist${l ? " select-togglelist--scroll" : ""}${c ? " " + c : ""}`, children: n });
|
|
2215
|
-
}),
|
|
2224
|
+
}), Ao = I(function({ icon: n, label: l, checked: c, onChange: s, disabled: a = !1, className: r, ...i }, o) {
|
|
2216
2225
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-togglerow${a ? " select-togglerow--disabled" : ""}${r ? " " + r : ""}`, children: [
|
|
2217
2226
|
n && /* @__PURE__ */ e("span", { className: "select-togglerow__icon", children: n }),
|
|
2218
2227
|
/* @__PURE__ */ e("span", { className: "select-togglerow__label", children: l }),
|
|
2219
2228
|
/* @__PURE__ */ e(Qn, { checked: c, onChange: s, disabled: a, label: typeof l == "string" ? l : void 0 })
|
|
2220
2229
|
] });
|
|
2221
|
-
}),
|
|
2230
|
+
}), Eo = I(function({ icon: n, title: l, checked: c, onChange: s, children: a, disabled: r = !1, className: i, ...o }, d) {
|
|
2222
2231
|
return /* @__PURE__ */ u("div", { ref: d, ...o, className: `select-togglepanel${c ? " is-on" : ""}${i ? " " + i : ""}`, children: [
|
|
2223
2232
|
/* @__PURE__ */ u("div", { className: "select-togglepanel__header", children: [
|
|
2224
2233
|
/* @__PURE__ */ e(Qn, { checked: c, onChange: s, disabled: r, label: typeof l == "string" ? l : void 0 }),
|
|
@@ -2341,7 +2350,7 @@ function Ts(t) {
|
|
|
2341
2350
|
var n;
|
|
2342
2351
|
return ((n = pc.find((l) => l.iso === t)) == null ? void 0 : n.dial) ?? "";
|
|
2343
2352
|
}
|
|
2344
|
-
const
|
|
2353
|
+
const Bo = I(function({ label: n, value: l, onChange: c, labelAction: s, hint: a, error: r, onBlur: i, placeholder: o, className: d, ...p }, h) {
|
|
2345
2354
|
const f = ge(), v = Ts(l.country), _ = r ? `${f}-err` : a ? `${f}-hint` : void 0;
|
|
2346
2355
|
return /* @__PURE__ */ u("div", { ref: h, ...p, className: `select-field${d ? " " + d : ""}`, children: [
|
|
2347
2356
|
/* @__PURE__ */ u("div", { className: "select-field__labelrow", children: [
|
|
@@ -2391,7 +2400,7 @@ const Ao = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2391
2400
|
] }),
|
|
2392
2401
|
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
|
|
2393
2402
|
] });
|
|
2394
|
-
}),
|
|
2403
|
+
}), Fo = I(function({ value: n, onChange: l, options: c, name: s, className: a, ...r }, i) {
|
|
2395
2404
|
const o = ge(), d = s ?? o;
|
|
2396
2405
|
return /* @__PURE__ */ e("div", { ref: i, ...r, className: `select-radiogroup${a ? " " + a : ""}`, role: "radiogroup", children: c.map((p) => {
|
|
2397
2406
|
const h = p.value === n;
|
|
@@ -2423,7 +2432,7 @@ const Ao = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2423
2432
|
p.value
|
|
2424
2433
|
);
|
|
2425
2434
|
}) });
|
|
2426
|
-
}),
|
|
2435
|
+
}), Io = I(function({ value: n, onChange: l, options: c, ariaLabel: s, fullWidth: a = !1, className: r, ...i }, o) {
|
|
2427
2436
|
const d = Math.max(0, c.findIndex((_) => _.value === n)), p = J([]), [h, f] = D(null);
|
|
2428
2437
|
qe(() => {
|
|
2429
2438
|
const _ = p.current[d];
|
|
@@ -2453,7 +2462,7 @@ const Ao = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2453
2462
|
);
|
|
2454
2463
|
})
|
|
2455
2464
|
] });
|
|
2456
|
-
}), mc =
|
|
2465
|
+
}), mc = I(function({ children: n, tone: l = "neutral", icon: c, size: s = "md", className: a, ...r }, i) {
|
|
2457
2466
|
return /* @__PURE__ */ u(
|
|
2458
2467
|
"span",
|
|
2459
2468
|
{
|
|
@@ -2484,7 +2493,7 @@ const Ao = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2484
2493
|
chargeback: { label: "Chargeback", tone: "critical" },
|
|
2485
2494
|
dispute: { label: "Em disputa", tone: "critical" }
|
|
2486
2495
|
};
|
|
2487
|
-
function
|
|
2496
|
+
function Ro({
|
|
2488
2497
|
status: t,
|
|
2489
2498
|
map: n = Ps,
|
|
2490
2499
|
size: l
|
|
@@ -2529,7 +2538,7 @@ function fc({ items: t, sections: n, onAction: l, autoFocus: c = !0, className:
|
|
|
2529
2538
|
))
|
|
2530
2539
|
] }, p)) });
|
|
2531
2540
|
}
|
|
2532
|
-
function
|
|
2541
|
+
function To({
|
|
2533
2542
|
items: t,
|
|
2534
2543
|
label: n = "Ações",
|
|
2535
2544
|
disabled: l
|
|
@@ -2604,7 +2613,7 @@ function Wn({ children: t, gap: n, align: l, inlineAlign: c, as: s = "div", clas
|
|
|
2604
2613
|
};
|
|
2605
2614
|
return /* @__PURE__ */ e(i, { ...r, className: kn("select-stack", a), style: o, children: t });
|
|
2606
2615
|
}
|
|
2607
|
-
function
|
|
2616
|
+
function qt({ children: t, gap: n, align: l, blockAlign: c = "center", wrap: s = !0, as: a = "div", className: r, ...i }) {
|
|
2608
2617
|
const o = a, d = {
|
|
2609
2618
|
columnGap: n ? wt[n] : void 0,
|
|
2610
2619
|
rowGap: n ? wt[n] : void 0,
|
|
@@ -2614,7 +2623,7 @@ function zt({ children: t, gap: n, align: l, blockAlign: c = "center", wrap: s =
|
|
|
2614
2623
|
};
|
|
2615
2624
|
return /* @__PURE__ */ e(o, { ...i, className: kn("select-inline", r), style: d, children: t });
|
|
2616
2625
|
}
|
|
2617
|
-
function
|
|
2626
|
+
function Po({ children: t, columns: n = 2, gap: l = "400", alignItems: c, collapseBelow: s, as: a = "div", className: r, ...i }) {
|
|
2618
2627
|
const o = a, d = {
|
|
2619
2628
|
"--select-grid-columns": typeof n == "number" ? `repeat(${n}, minmax(0, 1fr))` : n,
|
|
2620
2629
|
gap: wt[l],
|
|
@@ -2712,7 +2721,7 @@ function pl(t) {
|
|
|
2712
2721
|
var n;
|
|
2713
2722
|
return ((n = _c(t)) == null ? void 0 : n.file) ?? null;
|
|
2714
2723
|
}
|
|
2715
|
-
function
|
|
2724
|
+
function Do({
|
|
2716
2725
|
method: t,
|
|
2717
2726
|
cardBrand: n,
|
|
2718
2727
|
/** Chip height in px; width is derived to a card aspect ratio (1.2). Default 24×29. */
|
|
@@ -2747,7 +2756,7 @@ function To({
|
|
|
2747
2756
|
}
|
|
2748
2757
|
}
|
|
2749
2758
|
);
|
|
2750
|
-
return c ? /* @__PURE__ */ u(
|
|
2759
|
+
return c ? /* @__PURE__ */ u(qt, { gap: "150", blockAlign: "center", wrap: !1, children: [
|
|
2751
2760
|
_,
|
|
2752
2761
|
/* @__PURE__ */ e(kt, { as: "span", variant: "bodySm", children: a || t && sn[t] || i || t })
|
|
2753
2762
|
] }) : _;
|
|
@@ -2790,12 +2799,12 @@ function To({
|
|
|
2790
2799
|
)
|
|
2791
2800
|
}
|
|
2792
2801
|
);
|
|
2793
|
-
return c ? /* @__PURE__ */ u(
|
|
2802
|
+
return c ? /* @__PURE__ */ u(qt, { gap: "150", blockAlign: "center", wrap: !1, children: [
|
|
2794
2803
|
f,
|
|
2795
2804
|
/* @__PURE__ */ e(kt, { as: "span", variant: "bodySm", children: a || t && sn[t] || i || t })
|
|
2796
2805
|
] }) : f;
|
|
2797
2806
|
}
|
|
2798
|
-
const He =
|
|
2807
|
+
const He = I(function({ icon: n, label: l, onClick: c, disabled: s = !1, size: a = "md", variant: r = "ghost", active: i = !1, className: o, ...d }, p) {
|
|
2799
2808
|
return /* @__PURE__ */ e(Kn, { content: l, children: /* @__PURE__ */ e("button", { ref: p, ...d, type: "button", className: `select-iconbtn select-iconbtn--${a} select-iconbtn--${r}${i ? " is-active" : ""}${o ? " " + o : ""}`, "aria-label": l, "aria-pressed": i, onClick: c, disabled: s, children: n }) });
|
|
2800
2809
|
});
|
|
2801
2810
|
function Vs({
|
|
@@ -3064,7 +3073,7 @@ function aa({ text: t, term: n }) {
|
|
|
3064
3073
|
const l = Oe(() => t.length > la ? null : ea(t), [t]);
|
|
3065
3074
|
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(vn, { text: c.text, term: n }) }, s)) }) : /* @__PURE__ */ e("pre", { className: "select-json__pre", children: /* @__PURE__ */ e(vn, { text: t, term: n }) });
|
|
3066
3075
|
}
|
|
3067
|
-
const
|
|
3076
|
+
const Wo = I(function({ value: n, title: l = "Metadados", maxHeight: c = 360, defaultOpen: s = !1, defaultExpandDepth: a = 1, searchable: r = !0, emptyLabel: i = "Sem dados", className: o, ...d }, p) {
|
|
3068
3077
|
const [h, f] = D(s), [v, _] = D("tree"), [x, M] = D(""), [S, b] = D(/* @__PURE__ */ new Set()), [m, N] = sa(), k = J(null), w = Oe(() => zs(n), [n]), y = qs(w), $ = Oe(
|
|
3069
3078
|
() => typeof n == "string" && w === n ? n : xc(w),
|
|
3070
3079
|
[n, w]
|
|
@@ -3154,7 +3163,7 @@ const Po = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
3154
3163
|
warning: "var(--select-warning-text)",
|
|
3155
3164
|
info: "var(--select-info-text)",
|
|
3156
3165
|
default: "var(--select-text-secondary)"
|
|
3157
|
-
},
|
|
3166
|
+
}, Oo = I(function({ items: n, className: l, ...c }, s) {
|
|
3158
3167
|
var i;
|
|
3159
3168
|
const a = n.length ? ((i = n[0]) == null ? void 0 : i.tone) ?? "default" : "default", r = { "--tl-final": ra[a] };
|
|
3160
3169
|
return /* @__PURE__ */ e("ul", { ref: s, ...c, className: `select-timeline${l ? " " + l : ""}`, style: r, children: n.map((o, d) => /* @__PURE__ */ u("li", { className: "select-timeline__item", children: [
|
|
@@ -3168,20 +3177,20 @@ const Po = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
3168
3177
|
o.content != null && /* @__PURE__ */ e("div", { className: "select-timeline__content", children: o.content })
|
|
3169
3178
|
] })
|
|
3170
3179
|
] }, d)) });
|
|
3171
|
-
}), oa =
|
|
3180
|
+
}), oa = I(function({ children: n, onClick: l, disabled: c = !1, tone: s = "default", className: a, ...r }, i) {
|
|
3172
3181
|
return /* @__PURE__ */ e("button", { ref: i, ...r, type: "button", className: `select-linkbtn${s === "critical" ? " select-linkbtn--critical" : ""}${a ? " " + a : ""}`, onClick: l, disabled: c, children: n });
|
|
3173
|
-
}),
|
|
3182
|
+
}), Ho = I(function({ children: n, className: l, ...c }, s) {
|
|
3174
3183
|
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 });
|
|
3175
|
-
}), ia =
|
|
3184
|
+
}), ia = I(function({ name: n, src: l, icon: c, dashed: s = !1, round: a = !1, className: r, ...i }, o) {
|
|
3176
3185
|
var p, h;
|
|
3177
3186
|
const d = ((h = (p = n == null ? void 0 : n.trim()) == null ? void 0 : p[0]) == null ? void 0 : h.toUpperCase()) ?? "?";
|
|
3178
3187
|
return /* @__PURE__ */ e("span", { ref: o, ...i, 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: d }) });
|
|
3179
3188
|
});
|
|
3180
|
-
function
|
|
3189
|
+
function jo({ children: t, className: n, ...l }) {
|
|
3181
3190
|
const c = wn({ selector: ".select-optionrow", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
|
|
3182
3191
|
return /* @__PURE__ */ e("div", { ...l, className: `select-optionlist${n ? " " + n : ""}`, ref: c, children: t });
|
|
3183
3192
|
}
|
|
3184
|
-
function
|
|
3193
|
+
function Zo({
|
|
3185
3194
|
title: t,
|
|
3186
3195
|
subtitle: n,
|
|
3187
3196
|
leading: l,
|
|
@@ -3199,7 +3208,7 @@ function Ho({
|
|
|
3199
3208
|
] }), d = `select-optionrow${a ? " select-optionrow--muted" : ""}`;
|
|
3200
3209
|
return r ? /* @__PURE__ */ e("button", { type: "button", className: d, onClick: s, children: o }) : /* @__PURE__ */ e("div", { className: d, children: o });
|
|
3201
3210
|
}
|
|
3202
|
-
const
|
|
3211
|
+
const Vo = I(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix: s = "Conectado como", className: a, ...r }, i) {
|
|
3203
3212
|
return /* @__PURE__ */ u("span", { ref: i, ...r, className: `select-identity${a ? " " + a : ""}`, children: [
|
|
3204
3213
|
/* @__PURE__ */ u("span", { className: "select-identity__text", children: [
|
|
3205
3214
|
s,
|
|
@@ -3208,7 +3217,7 @@ const jo = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
|
|
|
3208
3217
|
] }),
|
|
3209
3218
|
l && /* @__PURE__ */ e("button", { type: "button", className: "select-identity__action", onClick: l, children: c })
|
|
3210
3219
|
] });
|
|
3211
|
-
}),
|
|
3220
|
+
}), Go = I(function({ value: n, onChange: l, length: c = 6, onComplete: s, autoFocus: a = !1, disabled: r = !1, className: i, ...o }, d) {
|
|
3212
3221
|
const p = J([]), h = Array.from({ length: c }, (b, m) => n[m] ?? ""), f = (b) => {
|
|
3213
3222
|
var m;
|
|
3214
3223
|
return (m = p.current[b]) == null ? void 0 : m.focus();
|
|
@@ -3265,7 +3274,7 @@ const jo = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
|
|
|
3265
3274
|
m
|
|
3266
3275
|
)) });
|
|
3267
3276
|
});
|
|
3268
|
-
function
|
|
3277
|
+
function Uo({
|
|
3269
3278
|
children: t = "Voltar",
|
|
3270
3279
|
onClick: n,
|
|
3271
3280
|
href: l
|
|
@@ -3276,7 +3285,7 @@ function Vo({
|
|
|
3276
3285
|
] });
|
|
3277
3286
|
return l ? /* @__PURE__ */ e("a", { className: "select-backlink", href: l, children: c }) : /* @__PURE__ */ e("button", { type: "button", className: "select-backlink", onClick: n, children: c });
|
|
3278
3287
|
}
|
|
3279
|
-
const
|
|
3288
|
+
const zo = I(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar código", className: s, ...a }, r) {
|
|
3280
3289
|
const [i, o] = D(l);
|
|
3281
3290
|
pe(() => {
|
|
3282
3291
|
if (i <= 0) return;
|
|
@@ -3299,18 +3308,18 @@ function da(t) {
|
|
|
3299
3308
|
let n = 0;
|
|
3300
3309
|
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);
|
|
3301
3310
|
}
|
|
3302
|
-
const
|
|
3311
|
+
const qo = I(function({ value: n, className: l, ...c }, s) {
|
|
3303
3312
|
const a = da(n), r = gl[a] ?? gl[0];
|
|
3304
3313
|
return /* @__PURE__ */ u("div", { ref: s, ...c, className: `select-strength${l ? " " + l : ""}`, "aria-hidden": !n, children: [
|
|
3305
3314
|
/* @__PURE__ */ e("div", { className: `select-strength__bars select-strength__bars--${r.cls}`, children: [0, 1, 2, 3].map((i) => /* @__PURE__ */ e("span", { className: `select-strength__bar${i < a ? " is-on" : ""}` }, i)) }),
|
|
3306
3315
|
n && /* @__PURE__ */ e("span", { className: "select-strength__label", children: r.label })
|
|
3307
3316
|
] });
|
|
3308
|
-
}), ha =
|
|
3317
|
+
}), ha = I(function({ label: n, mark: l, className: c, ...s }, a) {
|
|
3309
3318
|
return /* @__PURE__ */ u("div", { ref: a, ...s, className: `select-loader${c ? " " + c : ""}`, role: "status", "aria-live": "polite", children: [
|
|
3310
3319
|
l != null ? /* @__PURE__ */ e("span", { className: "select-loader__mark", "aria-hidden": "true", children: l }) : /* @__PURE__ */ e("span", { className: "select-loader__spinner", "aria-hidden": "true" }),
|
|
3311
3320
|
n && /* @__PURE__ */ e("span", { className: "select-loader__label", children: n })
|
|
3312
3321
|
] });
|
|
3313
|
-
}), ua =
|
|
3322
|
+
}), ua = I(function({ title: n, subtitle: l, primaryAction: c, secondaryActions: s, headerActions: a, backAction: r, children: i, className: o, ...d }, p) {
|
|
3314
3323
|
const h = !!c || s && s.length > 0 || !!a, f = r || n || l || h;
|
|
3315
3324
|
return /* @__PURE__ */ u("div", { ref: p, ...d, className: `select select-page${o ? " " + o : ""}`, children: [
|
|
3316
3325
|
f && /* @__PURE__ */ u("div", { className: "select-page__header", children: [
|
|
@@ -3370,7 +3379,7 @@ function pa({ children: t }) {
|
|
|
3370
3379
|
function ma({ children: t, columns: n = 2 }) {
|
|
3371
3380
|
return /* @__PURE__ */ e("div", { className: "select-formlayout__group", style: { "--cols": String(n) }, children: t });
|
|
3372
3381
|
}
|
|
3373
|
-
const
|
|
3382
|
+
const Yo = Object.assign(pa, { Group: ma });
|
|
3374
3383
|
function bl({ lines: t = 3 }) {
|
|
3375
3384
|
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)) });
|
|
3376
3385
|
}
|
|
@@ -3383,7 +3392,7 @@ function _a({ size: t = "medium" }) {
|
|
|
3383
3392
|
function va({ height: t = 240 }) {
|
|
3384
3393
|
return /* @__PURE__ */ e("div", { className: "select-skeleton select-skel-block", style: { height: t } });
|
|
3385
3394
|
}
|
|
3386
|
-
const
|
|
3395
|
+
const Xo = Object.assign(
|
|
3387
3396
|
function({ lines: n }) {
|
|
3388
3397
|
return /* @__PURE__ */ e(bl, { lines: n });
|
|
3389
3398
|
},
|
|
@@ -3398,15 +3407,15 @@ function ba({
|
|
|
3398
3407
|
const s = ["select-icon", l !== "inherit" && l !== "base" ? `select-icon--${l}` : ""].filter(Boolean).join(" "), a = ga[c] ?? c;
|
|
3399
3408
|
return /* @__PURE__ */ e("span", { className: s, style: { "--select-icon-size": a }, "aria-hidden": "true", children: t ? /* @__PURE__ */ e(t, {}) : n });
|
|
3400
3409
|
}
|
|
3401
|
-
const
|
|
3410
|
+
const Ko = I(function({ children: n, tone: l = "neutral", hideIcon: c = !1, className: s, ...a }, r) {
|
|
3402
3411
|
const i = l === "warning" || l === "critical" ? /* @__PURE__ */ e(ls, {}) : /* @__PURE__ */ e(Mn, {});
|
|
3403
3412
|
return /* @__PURE__ */ u("div", { ref: r, ...a, className: `select-note select-note--${l}${s ? " " + s : ""}`, children: [
|
|
3404
3413
|
!c && /* @__PURE__ */ e("span", { className: "select-note__icon", children: i }),
|
|
3405
3414
|
/* @__PURE__ */ e("span", { className: "select-note__body", children: n })
|
|
3406
3415
|
] });
|
|
3407
|
-
}),
|
|
3416
|
+
}), Jo = I(function({ children: n, className: l, ...c }, s) {
|
|
3408
3417
|
return /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-settinglist${l ? " " + l : ""}`, children: n });
|
|
3409
|
-
}),
|
|
3418
|
+
}), Qo = I(function({ control: n, title: l, badge: c, description: s, children: a, bodyOpen: r, className: i, ...o }, d) {
|
|
3410
3419
|
return /* @__PURE__ */ u("div", { ref: d, ...o, className: `select-setting${i ? " " + i : ""}`, children: [
|
|
3411
3420
|
n && /* @__PURE__ */ e("div", { className: "select-setting__control", children: n }),
|
|
3412
3421
|
/* @__PURE__ */ u("div", { className: "select-setting__main", children: [
|
|
@@ -3424,7 +3433,7 @@ const Yo = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
3424
3433
|
))
|
|
3425
3434
|
] })
|
|
3426
3435
|
] });
|
|
3427
|
-
}),
|
|
3436
|
+
}), e1 = I(function({ title: n, description: l, headerAction: c, footer: s, children: a, tone: r = "default", flush: i = !1, className: o, ...d }, p) {
|
|
3428
3437
|
return /* @__PURE__ */ u("div", { ref: p, ...d, className: `select-panel${r === "highlight" ? " select-panel--highlight" : ""}${o ? " " + o : ""}`, children: [
|
|
3429
3438
|
(n || c) && /* @__PURE__ */ u("div", { className: "select-panel__header", children: [
|
|
3430
3439
|
/* @__PURE__ */ u("div", { className: "select-panel__heading", children: [
|
|
@@ -3436,7 +3445,7 @@ const Yo = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
3436
3445
|
a && /* @__PURE__ */ e("div", { className: `select-panel__body${i ? " select-panel__body--flush" : ""}`, children: a }),
|
|
3437
3446
|
s && /* @__PURE__ */ e("div", { className: "select-panel__footer", children: s })
|
|
3438
3447
|
] });
|
|
3439
|
-
}),
|
|
3448
|
+
}), t1 = I(function({ title: n, help: l, description: c, action: s, collapsible: a = !1, defaultOpen: r = !0, children: i, className: o, ...d }, p) {
|
|
3440
3449
|
const [h, f] = D(r);
|
|
3441
3450
|
return a ? /* @__PURE__ */ u("div", { ref: p, ...d, className: `select-section select-section--collapsible${h ? " is-open" : ""}${o ? " " + o : ""}`, children: [
|
|
3442
3451
|
/* @__PURE__ */ u("button", { type: "button", className: "select-section__head select-section__head--toggle", "aria-expanded": h, onClick: () => f((v) => !v), children: [
|
|
@@ -3458,7 +3467,7 @@ const Yo = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
3458
3467
|
/* @__PURE__ */ e("div", { className: "select-section__body", children: i })
|
|
3459
3468
|
] });
|
|
3460
3469
|
});
|
|
3461
|
-
function
|
|
3470
|
+
function n1({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
|
|
3462
3471
|
const r = J(null), [i, o] = D({ left: 0, width: 0 });
|
|
3463
3472
|
qe(() => {
|
|
3464
3473
|
const p = r.current;
|
|
@@ -3561,7 +3570,7 @@ function xa({
|
|
|
3561
3570
|
] }) })
|
|
3562
3571
|
] });
|
|
3563
3572
|
}
|
|
3564
|
-
const
|
|
3573
|
+
const l1 = I(function({ sections: n, active: l, onSelect: c, header: s, className: a, ...r }, i) {
|
|
3565
3574
|
return /* @__PURE__ */ u("nav", { ref: i, ...r, className: `select-sidenav${a ? " " + a : ""}`, children: [
|
|
3566
3575
|
s && /* @__PURE__ */ e("div", { className: "select-sidenav__header", children: s }),
|
|
3567
3576
|
n.map((o, d) => /* @__PURE__ */ u("div", { className: "select-sidenav__section", children: [
|
|
@@ -3583,7 +3592,7 @@ const t1 = R(function({ sections: n, active: l, onSelect: c, header: s, classNam
|
|
|
3583
3592
|
)
|
|
3584
3593
|
] }, d))
|
|
3585
3594
|
] });
|
|
3586
|
-
}), nl =
|
|
3595
|
+
}), nl = I(function({ value: n, onChange: l, placeholder: c = "Buscar…", shortcut: s, className: a, ...r }, i) {
|
|
3587
3596
|
return /* @__PURE__ */ u("div", { ref: i, ...r, className: `select-search${a ? " " + a : ""}`, children: [
|
|
3588
3597
|
/* @__PURE__ */ e("span", { className: "select-search__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(qn, {}) }),
|
|
3589
3598
|
/* @__PURE__ */ e(
|
|
@@ -3618,7 +3627,7 @@ function Na(t, n, l, c, s, a) {
|
|
|
3618
3627
|
r.push(`${t} ${s}`);
|
|
3619
3628
|
return a && c != null && c > 0 && r.push(`Página ${l} de ${c}`), r.length > 0 ? r.join(" · ") : null;
|
|
3620
3629
|
}
|
|
3621
|
-
const Ma =
|
|
3630
|
+
const Ma = I(function({ page: n, pageCount: l, total: c, pageSize: s, hasPrevious: a, hasNext: r, onPrevious: i, onNext: o, onPage: d, noun: p = "resultados", className: h, ...f }, v) {
|
|
3622
3631
|
const _ = a ?? n > 1, x = r ?? (l != null ? n < l : !0), M = i ?? (d ? () => d(n - 1) : void 0), S = o ?? (d ? () => d(n + 1) : void 0), b = l != null && l > 1 && d != null, m = b ? ya(n, l) : [], N = Na(c, s, n, l, p, b);
|
|
3623
3632
|
return /* @__PURE__ */ u("nav", { ref: v, ...f, className: `select-pagination${h ? " " + h : ""}`, "aria-label": "Paginação", children: [
|
|
3624
3633
|
/* @__PURE__ */ u("div", { className: "select-pagination__controls", children: [
|
|
@@ -3773,7 +3782,7 @@ function Nl(t) {
|
|
|
3773
3782
|
const n = parseFloat(getComputedStyle(document.documentElement).fontSize) || 16;
|
|
3774
3783
|
return `${Math.round(t / n * 1e3) / 1e3}rem`;
|
|
3775
3784
|
}
|
|
3776
|
-
const $a =
|
|
3785
|
+
const $a = I(function({
|
|
3777
3786
|
columns: n,
|
|
3778
3787
|
children: l,
|
|
3779
3788
|
empty: c,
|
|
@@ -3876,7 +3885,7 @@ const $a = R(function({
|
|
|
3876
3885
|
] }) }),
|
|
3877
3886
|
s && /* @__PURE__ */ e("div", { className: "select-table__footer", children: s })
|
|
3878
3887
|
] });
|
|
3879
|
-
}),
|
|
3888
|
+
}), c1 = I(function({ name: n, secondary: l, src: c, className: s, ...a }, r) {
|
|
3880
3889
|
return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-usercell${s ? " " + s : ""}`, children: [
|
|
3881
3890
|
/* @__PURE__ */ e(ia, { name: typeof n == "string" ? n : void 0, src: c }),
|
|
3882
3891
|
/* @__PURE__ */ u("span", { className: "select-usercell__text", children: [
|
|
@@ -3888,24 +3897,24 @@ const $a = R(function({
|
|
|
3888
3897
|
function Ml({ children: t, onClick: n }) {
|
|
3889
3898
|
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 });
|
|
3890
3899
|
}
|
|
3891
|
-
const wl =
|
|
3900
|
+
const wl = I(function({ children: n, align: l = "start", className: c, ...s }, a) {
|
|
3892
3901
|
return /* @__PURE__ */ e("div", { ref: a, ...s, role: "cell", className: `select-table__td select-table__cell--${l}${c ? " " + c : ""}`, children: n });
|
|
3893
|
-
}), $c =
|
|
3902
|
+
}), $c = I(function({ icon: n, title: l, subtitle: c, action: s, className: a, ...r }, i) {
|
|
3894
3903
|
return /* @__PURE__ */ u("div", { ref: i, ...r, className: `select-table-empty${a ? " " + a : ""}`, children: [
|
|
3895
3904
|
n && /* @__PURE__ */ e("span", { className: "select-table-empty__icon", children: n }),
|
|
3896
3905
|
/* @__PURE__ */ e("p", { className: "select-table-empty__title", children: l }),
|
|
3897
3906
|
c && /* @__PURE__ */ e("p", { className: "select-table-empty__subtitle", children: c }),
|
|
3898
3907
|
s && /* @__PURE__ */ e("div", { className: "select-table-empty__action", children: s })
|
|
3899
3908
|
] });
|
|
3900
|
-
}), Sa =
|
|
3909
|
+
}), Sa = I(function({ children: n, className: l, ...c }, s) {
|
|
3901
3910
|
return /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-menu${l ? " " + l : ""}`, role: "menu", children: n });
|
|
3902
|
-
}), Ca =
|
|
3911
|
+
}), Ca = I(function({ children: n, icon: l, trailing: c, onClick: s, active: a = !1, tone: r = "default", className: i, ...o }, d) {
|
|
3903
3912
|
return /* @__PURE__ */ u("button", { ref: d, ...o, type: "button", role: "menuitem", className: `select-menu__item select-menu__item--${r}${a ? " is-active" : ""}${i ? " " + i : ""}`, onClick: s, children: [
|
|
3904
3913
|
l && /* @__PURE__ */ e("span", { className: "select-menu__icon", children: l }),
|
|
3905
3914
|
/* @__PURE__ */ e("span", { className: "select-menu__label", children: n }),
|
|
3906
3915
|
c && /* @__PURE__ */ e("span", { className: "select-menu__trailing", children: c })
|
|
3907
3916
|
] });
|
|
3908
|
-
}),
|
|
3917
|
+
}), s1 = I(function({ children: n, href: l, icon: c, trailing: s, external: a, tone: r = "default", className: i, ...o }, d) {
|
|
3909
3918
|
const p = a ?? /^(https?:|mailto:|tel:)/i.test(l), h = s ?? (p ? /* @__PURE__ */ e(Xn, {}) : void 0);
|
|
3910
3919
|
return /* @__PURE__ */ u(
|
|
3911
3920
|
"a",
|
|
@@ -3925,23 +3934,23 @@ const wl = R(function({ children: n, align: l = "start", className: c, ...s }, a
|
|
|
3925
3934
|
}
|
|
3926
3935
|
);
|
|
3927
3936
|
});
|
|
3928
|
-
function
|
|
3937
|
+
function a1({ children: t }) {
|
|
3929
3938
|
return /* @__PURE__ */ e("div", { className: "select-menu__heading", children: t });
|
|
3930
3939
|
}
|
|
3931
|
-
function
|
|
3940
|
+
function r1() {
|
|
3932
3941
|
return /* @__PURE__ */ e("div", { className: "select-menu__divider", role: "separator" });
|
|
3933
3942
|
}
|
|
3934
|
-
const La =
|
|
3943
|
+
const La = I(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, r) {
|
|
3935
3944
|
return /* @__PURE__ */ u("button", { ref: r, ...a, type: "button", className: `select-menubtn${c ? " is-active" : ""}${s ? " " + s : ""}`, onClick: l, "aria-haspopup": "menu", "aria-expanded": c, children: [
|
|
3936
3945
|
/* @__PURE__ */ e("span", { children: n }),
|
|
3937
3946
|
/* @__PURE__ */ e("span", { className: "select-menubtn__caret", "aria-hidden": "true", children: /* @__PURE__ */ e(je, {}) })
|
|
3938
3947
|
] });
|
|
3939
|
-
}),
|
|
3948
|
+
}), o1 = I(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, r) {
|
|
3940
3949
|
return /* @__PURE__ */ u("button", { ref: r, ...a, type: "button", className: `select-chip${c ? " select-chip--active" : ""}${s ? " " + s : ""}`, onClick: l, children: [
|
|
3941
|
-
!c && /* @__PURE__ */ e("span", { className: "select-chip__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
3950
|
+
!c && /* @__PURE__ */ e("span", { className: "select-chip__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(Ct, {}) }),
|
|
3942
3951
|
n
|
|
3943
3952
|
] });
|
|
3944
|
-
}),
|
|
3953
|
+
}), i1 = I(function({ label: n, value: l, href: c, onCopy: s, className: a, ...r }, i) {
|
|
3945
3954
|
return /* @__PURE__ */ u("div", { ref: i, ...r, className: `select-copyrow${a ? " " + a : ""}`, children: [
|
|
3946
3955
|
n && /* @__PURE__ */ e("span", { className: "select-copyrow__label", children: n }),
|
|
3947
3956
|
/* @__PURE__ */ u("div", { className: "select-copyrow__value", children: [
|
|
@@ -3953,7 +3962,7 @@ const La = R(function({ children: n, onClick: l, active: c = !1, className: s, .
|
|
|
3953
3962
|
] })
|
|
3954
3963
|
] });
|
|
3955
3964
|
});
|
|
3956
|
-
function
|
|
3965
|
+
function d1({
|
|
3957
3966
|
value: t,
|
|
3958
3967
|
children: n,
|
|
3959
3968
|
truncate: l,
|
|
@@ -3986,7 +3995,7 @@ function o1({
|
|
|
3986
3995
|
) })
|
|
3987
3996
|
] });
|
|
3988
3997
|
}
|
|
3989
|
-
const
|
|
3998
|
+
const h1 = I(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !1, className: a, ...r }, i) {
|
|
3990
3999
|
const [o, d] = D(c);
|
|
3991
4000
|
return /* @__PURE__ */ u("div", { ref: i, ...r, className: `select-collapsible${s ? " select-collapsible--plain" : ""}${o ? " is-open" : ""}${a ? " " + a : ""}`, children: [
|
|
3992
4001
|
/* @__PURE__ */ u("button", { type: "button", className: "select-collapsible__header", onClick: () => d((p) => !p), "aria-expanded": o, children: [
|
|
@@ -3995,9 +4004,9 @@ const i1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3995
4004
|
] }),
|
|
3996
4005
|
/* @__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 }) }) })
|
|
3997
4006
|
] });
|
|
3998
|
-
}),
|
|
4007
|
+
}), u1 = I(function({ icon: n, title: l, description: c, action: s, onDismiss: a, className: r, ...i }, o) {
|
|
3999
4008
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-actioncard${r ? " " + r : ""}`, children: [
|
|
4000
|
-
a && /* @__PURE__ */ e("div", { className: "select-actioncard__dismiss", children: /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(
|
|
4009
|
+
a && /* @__PURE__ */ e("div", { className: "select-actioncard__dismiss", children: /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(St, {}), label: "Dispensar", onClick: a }) }),
|
|
4001
4010
|
n && /* @__PURE__ */ e("span", { className: "select-actioncard__icon", children: n }),
|
|
4002
4011
|
/* @__PURE__ */ u("div", { className: "select-actioncard__text", children: [
|
|
4003
4012
|
/* @__PURE__ */ e("h4", { className: "select-actioncard__title", children: l }),
|
|
@@ -4005,7 +4014,7 @@ const i1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
4005
4014
|
] }),
|
|
4006
4015
|
s && /* @__PURE__ */ e("div", { className: "select-actioncard__action", children: s })
|
|
4007
4016
|
] });
|
|
4008
|
-
}),
|
|
4017
|
+
}), p1 = I(function({ media: n, sublabel: l, title: c, badge: s, meta: a, accent: r = !0, onClick: i, className: o, ...d }, p) {
|
|
4009
4018
|
return /* @__PURE__ */ u("button", { ref: p, ...d, type: "button", className: `select-tile${o ? " " + o : ""}`, onClick: i, children: [
|
|
4010
4019
|
r && /* @__PURE__ */ e("span", { className: "select-tile__accent", "aria-hidden": "true" }),
|
|
4011
4020
|
/* @__PURE__ */ u("div", { className: "select-tile__main", children: [
|
|
@@ -4020,12 +4029,12 @@ const i1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
4020
4029
|
] }),
|
|
4021
4030
|
a && /* @__PURE__ */ e("div", { className: "select-tile__meta", children: a })
|
|
4022
4031
|
] });
|
|
4023
|
-
}),
|
|
4032
|
+
}), m1 = I(function({ label: n, onClick: l, className: c, ...s }, a) {
|
|
4024
4033
|
return /* @__PURE__ */ u("button", { ref: a, ...s, type: "button", className: `select-tile select-tile--create${c ? " " + c : ""}`, onClick: l, children: [
|
|
4025
|
-
/* @__PURE__ */ e("span", { className: "select-tile__plus", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
4034
|
+
/* @__PURE__ */ e("span", { className: "select-tile__plus", "aria-hidden": "true", children: /* @__PURE__ */ e(Ct, {}) }),
|
|
4026
4035
|
/* @__PURE__ */ e("span", { className: "select-tile__createlabel", children: n })
|
|
4027
4036
|
] });
|
|
4028
|
-
}),
|
|
4037
|
+
}), f1 = I(function({ avatar: n, name: l, badge: c, onClick: s, className: a, ...r }, i) {
|
|
4029
4038
|
return /* @__PURE__ */ u("button", { ref: i, ...r, type: "button", className: `select-wsswitcher${a ? " " + a : ""}`, onClick: s, "aria-haspopup": "menu", children: [
|
|
4030
4039
|
n && /* @__PURE__ */ e("span", { className: "select-wsswitcher__avatar", children: n }),
|
|
4031
4040
|
/* @__PURE__ */ e("span", { className: "select-wsswitcher__name", children: l }),
|
|
@@ -4069,7 +4078,7 @@ function $n({
|
|
|
4069
4078
|
document.removeEventListener("keydown", b), document.body.style.overflow = m;
|
|
4070
4079
|
};
|
|
4071
4080
|
}, [f, n]), !f) return null;
|
|
4072
|
-
const M = o && /* @__PURE__ */ e("button", { type: "button", className: "select-modal__close", "aria-label": "Fechar", onClick: n, children: /* @__PURE__ */ e(
|
|
4081
|
+
const M = o && /* @__PURE__ */ e("button", { type: "button", className: "select-modal__close", "aria-label": "Fechar", onClick: n, children: /* @__PURE__ */ e(St, {}) }), S = `select-modal__header${p ? " select-modal__header--divided" : ""}`;
|
|
4073
4082
|
return yn(
|
|
4074
4083
|
/* @__PURE__ */ e(
|
|
4075
4084
|
"div",
|
|
@@ -4110,7 +4119,7 @@ function $n({
|
|
|
4110
4119
|
document.body
|
|
4111
4120
|
);
|
|
4112
4121
|
}
|
|
4113
|
-
function
|
|
4122
|
+
function _1({ actions: t, label: n = "Ações" }) {
|
|
4114
4123
|
const [l, c] = D(!1);
|
|
4115
4124
|
return /* @__PURE__ */ e(
|
|
4116
4125
|
dt,
|
|
@@ -4133,7 +4142,7 @@ function m1({ actions: t, label: n = "Ações" }) {
|
|
|
4133
4142
|
}
|
|
4134
4143
|
);
|
|
4135
4144
|
}
|
|
4136
|
-
function
|
|
4145
|
+
function v1({
|
|
4137
4146
|
open: t,
|
|
4138
4147
|
onClose: n,
|
|
4139
4148
|
onConfirm: l,
|
|
@@ -4171,7 +4180,7 @@ function f1({
|
|
|
4171
4180
|
}
|
|
4172
4181
|
);
|
|
4173
4182
|
}
|
|
4174
|
-
function
|
|
4183
|
+
function g1({
|
|
4175
4184
|
open: t,
|
|
4176
4185
|
onClose: n,
|
|
4177
4186
|
onSubmit: l,
|
|
@@ -4212,7 +4221,7 @@ function _1({
|
|
|
4212
4221
|
)
|
|
4213
4222
|
] }),
|
|
4214
4223
|
children: [
|
|
4215
|
-
h != null && h !== !1 && /* @__PURE__ */ e("div", { className: "select-formmodal__error", children: /* @__PURE__ */ e(
|
|
4224
|
+
h != null && h !== !1 && /* @__PURE__ */ e("div", { className: "select-formmodal__error", children: /* @__PURE__ */ e(Pt, { tone: "critical", children: h }) }),
|
|
4216
4225
|
/* @__PURE__ */ e(
|
|
4217
4226
|
"form",
|
|
4218
4227
|
{
|
|
@@ -4226,7 +4235,7 @@ function _1({
|
|
|
4226
4235
|
}
|
|
4227
4236
|
);
|
|
4228
4237
|
}
|
|
4229
|
-
const
|
|
4238
|
+
const b1 = "9.5rem", x1 = { minWidth: "9.5rem", grow: 2 }, Hn = "select-datatable:hidden-cols:";
|
|
4230
4239
|
function Ea(t) {
|
|
4231
4240
|
try {
|
|
4232
4241
|
const n = localStorage.getItem(Hn + t), l = n ? JSON.parse(n) : null;
|
|
@@ -4264,7 +4273,7 @@ function $l(t, n) {
|
|
|
4264
4273
|
}
|
|
4265
4274
|
}
|
|
4266
4275
|
const Sl = "select-datatable:page-size:";
|
|
4267
|
-
function
|
|
4276
|
+
function y1(t, n, l) {
|
|
4268
4277
|
const [c, s] = D(() => {
|
|
4269
4278
|
try {
|
|
4270
4279
|
const r = Number(localStorage.getItem(Sl + t));
|
|
@@ -4285,7 +4294,7 @@ function Ia(t, n, l) {
|
|
|
4285
4294
|
const c = t == null || t === "", s = n == null || n === "";
|
|
4286
4295
|
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" });
|
|
4287
4296
|
}
|
|
4288
|
-
function
|
|
4297
|
+
function N1({
|
|
4289
4298
|
columns: t,
|
|
4290
4299
|
items: n,
|
|
4291
4300
|
getId: l,
|
|
@@ -4408,14 +4417,14 @@ function x1({
|
|
|
4408
4417
|
a && /* @__PURE__ */ e(kc, { pagination: a })
|
|
4409
4418
|
] });
|
|
4410
4419
|
}
|
|
4411
|
-
const Ra =
|
|
4420
|
+
const Ra = I(function({ label: n, description: l, onClick: c, icon: s, className: a, ...r }, i) {
|
|
4412
4421
|
return /* @__PURE__ */ u("button", { ref: i, ...r, type: "button", className: `select-addcard${a ? " " + a : ""}`, onClick: c, children: [
|
|
4413
|
-
/* @__PURE__ */ e("span", { className: "select-addcard__glyph", "aria-hidden": "true", children: s ?? /* @__PURE__ */ e(
|
|
4422
|
+
/* @__PURE__ */ e("span", { className: "select-addcard__glyph", "aria-hidden": "true", children: s ?? /* @__PURE__ */ e(Ct, {}) }),
|
|
4414
4423
|
/* @__PURE__ */ e("span", { className: "select-addcard__label", children: n }),
|
|
4415
4424
|
l && /* @__PURE__ */ e("span", { className: "select-addcard__desc", children: l })
|
|
4416
4425
|
] });
|
|
4417
4426
|
});
|
|
4418
|
-
function
|
|
4427
|
+
function M1({
|
|
4419
4428
|
items: t,
|
|
4420
4429
|
getId: n,
|
|
4421
4430
|
renderItem: l,
|
|
@@ -4453,7 +4462,7 @@ function y1({
|
|
|
4453
4462
|
r && /* @__PURE__ */ e(kc, { pagination: r })
|
|
4454
4463
|
] });
|
|
4455
4464
|
}
|
|
4456
|
-
const
|
|
4465
|
+
const w1 = I(function({ media: n, title: l, subtitle: c, actions: s, body: a, tags: r, status: i, meta: o, to: d, accent: p = !1, className: h, ...f }, v) {
|
|
4457
4466
|
const _ = i != null || o != null;
|
|
4458
4467
|
return /* @__PURE__ */ u("div", { ref: v, ...f, className: `select-rcard${d ? " select-rcard--link" : ""}${h ? " " + h : ""}`, children: [
|
|
4459
4468
|
p && /* @__PURE__ */ e("span", { className: "select-rcard__accent", "aria-hidden": "true" }),
|
|
@@ -4477,7 +4486,7 @@ const N1 = R(function({ media: n, title: l, subtitle: c, actions: s, body: a, ta
|
|
|
4477
4486
|
o && /* @__PURE__ */ e("span", { className: "select-rcard__meta", children: o })
|
|
4478
4487
|
] })
|
|
4479
4488
|
] });
|
|
4480
|
-
}),
|
|
4489
|
+
}), k1 = I(function({ kind: n, className: l, ...c }, s) {
|
|
4481
4490
|
return /* @__PURE__ */ u("span", { ref: s, ...c, className: `select-rcard__thumb${l ? " " + l : ""}`, "aria-hidden": "true", children: [
|
|
4482
4491
|
/* @__PURE__ */ e("span", { className: "select-rcard__thumbline select-rcard__thumbline--accent" }),
|
|
4483
4492
|
n === "steps" ? /* @__PURE__ */ u(ue, { children: [
|
|
@@ -4501,7 +4510,7 @@ function Cl({ node: t, origin: n = !1 }) {
|
|
|
4501
4510
|
t.share != null && /* @__PURE__ */ e("span", { className: "select-chain__share", children: t.share })
|
|
4502
4511
|
] });
|
|
4503
4512
|
}
|
|
4504
|
-
const
|
|
4513
|
+
const $1 = I(function({ nodes: n, origin: l, max: c = 3, className: s, ...a }, r) {
|
|
4505
4514
|
const i = n.slice(0, c), o = n.length - i.length, d = [], p = (h) => /* @__PURE__ */ e("span", { className: "select-chain__link", "aria-hidden": "true" }, h);
|
|
4506
4515
|
l && d.push(/* @__PURE__ */ e(Cl, { node: l, origin: !0 }, "__origin"));
|
|
4507
4516
|
for (const h of i)
|
|
@@ -4512,7 +4521,169 @@ const w1 = R(function({ nodes: n, origin: l, max: c = 3, className: s, ...a }, r
|
|
|
4512
4521
|
o
|
|
4513
4522
|
] }, "__more")
|
|
4514
4523
|
)), /* @__PURE__ */ e("div", { ref: r, ...a, className: `select-chain${s ? " " + s : ""}`, children: d });
|
|
4515
|
-
}), Pa =
|
|
4524
|
+
}), Pa = new Intl.NumberFormat("pt-BR", { style: "currency", currency: "BRL" });
|
|
4525
|
+
function Da(t) {
|
|
4526
|
+
const n = typeof t == "string" ? Number(t) : t;
|
|
4527
|
+
return typeof n == "number" && Number.isFinite(n) ? n : 0;
|
|
4528
|
+
}
|
|
4529
|
+
function Wa(t) {
|
|
4530
|
+
return Pa.format(Da(t) / 100);
|
|
4531
|
+
}
|
|
4532
|
+
const Sc = "sw:hide-money", Oa = { hidden: !1, toggle: () => {
|
|
4533
|
+
}, setHidden: () => {
|
|
4534
|
+
} }, Cc = Gn(null);
|
|
4535
|
+
function Ha() {
|
|
4536
|
+
try {
|
|
4537
|
+
return localStorage.getItem(Sc) === "1";
|
|
4538
|
+
} catch {
|
|
4539
|
+
return !1;
|
|
4540
|
+
}
|
|
4541
|
+
}
|
|
4542
|
+
function Ll(t) {
|
|
4543
|
+
try {
|
|
4544
|
+
localStorage.setItem(Sc, t ? "1" : "0");
|
|
4545
|
+
} catch {
|
|
4546
|
+
}
|
|
4547
|
+
}
|
|
4548
|
+
function S1({ children: t }) {
|
|
4549
|
+
const [n, l] = D(Ha), c = Qe((r) => {
|
|
4550
|
+
l(r), Ll(r);
|
|
4551
|
+
}, []), s = Qe(() => {
|
|
4552
|
+
l((r) => {
|
|
4553
|
+
const i = !r;
|
|
4554
|
+
return Ll(i), i;
|
|
4555
|
+
});
|
|
4556
|
+
}, []), a = Oe(() => ({ hidden: n, toggle: s, setHidden: c }), [n, s, c]);
|
|
4557
|
+
return /* @__PURE__ */ e(Cc.Provider, { value: a, children: t });
|
|
4558
|
+
}
|
|
4559
|
+
function Lc() {
|
|
4560
|
+
return Vn(Cc) ?? Oa;
|
|
4561
|
+
}
|
|
4562
|
+
const ja = I(function({ children: n, label: l = "valor oculto", className: c, ...s }, a) {
|
|
4563
|
+
const { hidden: r } = Lc();
|
|
4564
|
+
return /* @__PURE__ */ e("span", { ref: a, ...s, className: `select-sensitive${r ? " select-sensitive--hidden" : ""}${c ? " " + c : ""}`, "aria-label": r ? l : void 0, children: n });
|
|
4565
|
+
});
|
|
4566
|
+
function $t({
|
|
4567
|
+
cents: t,
|
|
4568
|
+
sensitive: n = !0
|
|
4569
|
+
}) {
|
|
4570
|
+
const l = Wa(t);
|
|
4571
|
+
return n ? /* @__PURE__ */ e(ja, { children: l }) : /* @__PURE__ */ e(ue, { children: l });
|
|
4572
|
+
}
|
|
4573
|
+
const Za = new Intl.NumberFormat("pt-BR", {
|
|
4574
|
+
signDisplay: "exceptZero",
|
|
4575
|
+
minimumFractionDigits: 1,
|
|
4576
|
+
maximumFractionDigits: 1
|
|
4577
|
+
}), Va = I(function({ value: n, invert: l = !1, caption: c, className: s, ...a }, r) {
|
|
4578
|
+
if (n == null || !Number.isFinite(n))
|
|
4579
|
+
return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-delta select-delta--muted${s ? " " + s : ""}`, children: [
|
|
4580
|
+
"—",
|
|
4581
|
+
c ? ` ${c}` : ""
|
|
4582
|
+
] });
|
|
4583
|
+
const i = n === 0, o = n > 0, d = i ? null : l ? !o : o, p = d == null ? "muted" : d ? "up" : "down", h = i ? "" : o ? "▲" : "▼";
|
|
4584
|
+
return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-delta${s ? " " + s : ""}`, children: [
|
|
4585
|
+
/* @__PURE__ */ u("span", { className: `select-delta__value select-delta__value--${p}`, children: [
|
|
4586
|
+
h ? `${h} ` : "",
|
|
4587
|
+
Za.format(n),
|
|
4588
|
+
"%"
|
|
4589
|
+
] }),
|
|
4590
|
+
c != null && /* @__PURE__ */ e("span", { className: "select-delta__caption", children: c })
|
|
4591
|
+
] });
|
|
4592
|
+
});
|
|
4593
|
+
function C1() {
|
|
4594
|
+
const { hidden: t, toggle: n } = Lc();
|
|
4595
|
+
return /* @__PURE__ */ e(
|
|
4596
|
+
He,
|
|
4597
|
+
{
|
|
4598
|
+
variant: "outline",
|
|
4599
|
+
icon: t ? /* @__PURE__ */ e(Jl, {}) : /* @__PURE__ */ e(Kl, {}),
|
|
4600
|
+
label: t ? "Mostrar valores" : "Ocultar valores",
|
|
4601
|
+
active: t,
|
|
4602
|
+
onClick: n
|
|
4603
|
+
}
|
|
4604
|
+
);
|
|
4605
|
+
}
|
|
4606
|
+
const L1 = I(function({ price: n, was: l, hideDiscount: c = !1, className: s, ...a }, r) {
|
|
4607
|
+
const i = Number(n);
|
|
4608
|
+
if (!Number.isFinite(i)) return null;
|
|
4609
|
+
const o = Number(l), d = Number.isFinite(o) && o > i, p = d ? Math.round((o - i) / o * 100) : 0;
|
|
4610
|
+
return /* @__PURE__ */ u("div", { ref: r, ...a, className: `select-offerprice${s ? " " + s : ""}`, children: [
|
|
4611
|
+
/* @__PURE__ */ e("span", { className: "select-offerprice__now", children: /* @__PURE__ */ e($t, { cents: i }) }),
|
|
4612
|
+
d && /* @__PURE__ */ e("s", { className: "select-offerprice__was", children: /* @__PURE__ */ e($t, { cents: o }) }),
|
|
4613
|
+
d && !c && p > 0 && /* @__PURE__ */ u("span", { className: "select-offerprice__off", children: [
|
|
4614
|
+
"−",
|
|
4615
|
+
p,
|
|
4616
|
+
"%"
|
|
4617
|
+
] })
|
|
4618
|
+
] });
|
|
4619
|
+
});
|
|
4620
|
+
function Ga({ size: t }) {
|
|
4621
|
+
return /* @__PURE__ */ e("svg", { width: t, height: t, viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
4622
|
+
"path",
|
|
4623
|
+
{
|
|
4624
|
+
fill: "currentColor",
|
|
4625
|
+
d: "M12 .587l3.668 7.431 8.2 1.193-5.934 5.787 1.401 8.169L12 18.896l-7.335 3.871 1.401-8.169L.132 9.211l8.2-1.193z"
|
|
4626
|
+
}
|
|
4627
|
+
) });
|
|
4628
|
+
}
|
|
4629
|
+
const Ua = I(function({ value: n, max: l = 5, onChange: c, size: s = 20, label: a, disabled: r = !1, className: i, ...o }, d) {
|
|
4630
|
+
const p = !!c && !r, [h, f] = D(null), v = h ?? n;
|
|
4631
|
+
return /* @__PURE__ */ e("div", { ref: d, ...o, className: `select-rating${p ? " select-rating--interactive" : ""}${i ? " " + i : ""}`, role: p ? "slider" : "img", "aria-label": a ?? `Avaliação ${n} de ${l}`, "aria-valuenow": p ? n : void 0, "aria-valuemin": p ? 0 : void 0, "aria-valuemax": p ? l : void 0, onMouseLeave: () => p && f(null), children: Array.from({ length: l }, (_, x) => {
|
|
4632
|
+
const M = x < v, S = /* @__PURE__ */ e("span", { className: `select-rating__star${M ? " is-filled" : ""}`, children: /* @__PURE__ */ e(Ga, { size: s }) });
|
|
4633
|
+
return p ? /* @__PURE__ */ e(
|
|
4634
|
+
"button",
|
|
4635
|
+
{
|
|
4636
|
+
type: "button",
|
|
4637
|
+
className: "select-rating__btn",
|
|
4638
|
+
"aria-label": `${x + 1} ${x + 1 === 1 ? "estrela" : "estrelas"}`,
|
|
4639
|
+
onMouseEnter: () => f(x + 1),
|
|
4640
|
+
onFocus: () => f(x + 1),
|
|
4641
|
+
onBlur: () => f(null),
|
|
4642
|
+
onClick: () => c == null ? void 0 : c(x + 1),
|
|
4643
|
+
children: S
|
|
4644
|
+
},
|
|
4645
|
+
x
|
|
4646
|
+
) : /* @__PURE__ */ e("span", { children: S }, x);
|
|
4647
|
+
}) });
|
|
4648
|
+
}), A1 = I(function({ stars: n, max: l = 5, title: c, text: s, className: a, ...r }, i) {
|
|
4649
|
+
const o = Number(n), d = Number.isFinite(o) && o > 0;
|
|
4650
|
+
return /* @__PURE__ */ u("div", { ref: i, ...r, className: `select-quote${a ? " " + a : ""}`, children: [
|
|
4651
|
+
d && /* @__PURE__ */ e(Ua, { value: o, max: l, size: 13 }),
|
|
4652
|
+
c != null && /* @__PURE__ */ e("span", { className: "select-quote__title", children: c }),
|
|
4653
|
+
s != null && /* @__PURE__ */ e("p", { className: "select-quote__text", children: s })
|
|
4654
|
+
] });
|
|
4655
|
+
}), E1 = I(function({ marks: n, max: l = 4, className: c, ...s }, a) {
|
|
4656
|
+
const r = n.slice(0, l), i = n.length - r.length, o = r.some((d) => d.icon == null && (d.initials ?? "").length > 2);
|
|
4657
|
+
return /* @__PURE__ */ u(
|
|
4658
|
+
"div",
|
|
4659
|
+
{
|
|
4660
|
+
ref: a,
|
|
4661
|
+
...s,
|
|
4662
|
+
className: `select-markstack${o ? " select-markstack--spaced" : ""}${c ? " " + c : ""}`,
|
|
4663
|
+
children: [
|
|
4664
|
+
r.map((d) => {
|
|
4665
|
+
var f;
|
|
4666
|
+
const p = d.initials ?? ((f = d.label.trim()[0]) == null ? void 0 : f.toUpperCase()) ?? "•", h = d.icon == null && p.length > 2;
|
|
4667
|
+
return /* @__PURE__ */ e(
|
|
4668
|
+
"span",
|
|
4669
|
+
{
|
|
4670
|
+
className: `select-markstack__mark${h ? " select-markstack__mark--wide" : ""}`,
|
|
4671
|
+
role: "img",
|
|
4672
|
+
"aria-label": d.label,
|
|
4673
|
+
title: d.label,
|
|
4674
|
+
children: d.icon ?? p
|
|
4675
|
+
},
|
|
4676
|
+
d.id
|
|
4677
|
+
);
|
|
4678
|
+
}),
|
|
4679
|
+
i > 0 && /* @__PURE__ */ u("span", { className: "select-markstack__mark select-markstack__mark--more", title: n.slice(l).map((d) => d.label).join(", "), children: [
|
|
4680
|
+
"+",
|
|
4681
|
+
i
|
|
4682
|
+
] })
|
|
4683
|
+
]
|
|
4684
|
+
}
|
|
4685
|
+
);
|
|
4686
|
+
}), za = ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"], qa = [
|
|
4516
4687
|
"Janeiro",
|
|
4517
4688
|
"Fevereiro",
|
|
4518
4689
|
"Março",
|
|
@@ -4525,29 +4696,29 @@ const w1 = R(function({ nodes: n, origin: l, max: c = 3, className: s, ...a }, r
|
|
|
4525
4696
|
"Outubro",
|
|
4526
4697
|
"Novembro",
|
|
4527
4698
|
"Dezembro"
|
|
4528
|
-
], it = (t) => String(t).padStart(2, "0"),
|
|
4529
|
-
function
|
|
4699
|
+
], it = (t) => String(t).padStart(2, "0"), zt = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), an = (t) => new Date(t.getFullYear(), t.getMonth(), 1), Al = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), El = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), Bl = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate();
|
|
4700
|
+
function Ya(t) {
|
|
4530
4701
|
const n = /^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}):(\d{2}))?/.exec(t || "");
|
|
4531
4702
|
return n ? new Date(Number(n[1]), Number(n[2]) - 1, Number(n[3]), Number(n[4] ?? 0), Number(n[5] ?? 0)) : null;
|
|
4532
4703
|
}
|
|
4533
|
-
function
|
|
4704
|
+
function Fl(t, n) {
|
|
4534
4705
|
const l = `${t.getFullYear()}-${it(t.getMonth() + 1)}-${it(t.getDate())}`;
|
|
4535
4706
|
return n ? `${l}T${it(t.getHours())}:${it(t.getMinutes())}` : l;
|
|
4536
4707
|
}
|
|
4537
|
-
function
|
|
4708
|
+
function Xa(t, n) {
|
|
4538
4709
|
const l = `${it(t.getDate())}/${it(t.getMonth() + 1)}/${t.getFullYear()}`;
|
|
4539
4710
|
return n ? `${l} ${it(t.getHours())}:${it(t.getMinutes())}` : l;
|
|
4540
4711
|
}
|
|
4541
|
-
const
|
|
4542
|
-
const S = ge(), b = v ?? S, [m, N] = D(!1), k =
|
|
4712
|
+
const Ka = I(function({ label: n, value: l, onChange: c, showTime: s = !1, placeholder: a, required: r, disabled: i, error: o, hint: d, minDate: p, maxDate: h, clearable: f = !0, id: v, className: _, ...x }, M) {
|
|
4713
|
+
const S = ge(), b = v ?? S, [m, N] = D(!1), k = Ya(l), [w, y] = D(() => an(k ?? /* @__PURE__ */ new Date())), $ = p ? zt(p) : null, g = h ? zt(h) : null, C = (H) => !!$ && zt(H) < $ || !!g && zt(H) > g, A = Al(an(w), -an(w).getDay()), B = Array.from({ length: 42 }, (H, V) => Al(A, V)), L = zt(/* @__PURE__ */ new Date()), E = () => {
|
|
4543
4714
|
i || (y(an(k ?? /* @__PURE__ */ new Date())), N((H) => !H));
|
|
4544
4715
|
}, F = (H) => {
|
|
4545
4716
|
if (C(H)) return;
|
|
4546
4717
|
const V = new Date(H);
|
|
4547
|
-
s && V.setHours((k == null ? void 0 : k.getHours()) ?? 0, (k == null ? void 0 : k.getMinutes()) ?? 0, 0, 0), c(
|
|
4718
|
+
s && V.setHours((k == null ? void 0 : k.getHours()) ?? 0, (k == null ? void 0 : k.getMinutes()) ?? 0, 0, 0), c(Fl(V, s)), s || N(!1);
|
|
4548
4719
|
}, T = (H) => {
|
|
4549
4720
|
const [V = "", P = ""] = H.split(":"), W = Number(V), K = Number(P), te = new Date(k ?? L);
|
|
4550
|
-
te.setHours(Number.isFinite(W) ? W : 0, Number.isFinite(K) ? K : 0, 0, 0), c(
|
|
4721
|
+
te.setHours(Number.isFinite(W) ? W : 0, Number.isFinite(K) ? K : 0, 0, 0), c(Fl(te, !0));
|
|
4551
4722
|
}, O = () => {
|
|
4552
4723
|
c(""), N(!1);
|
|
4553
4724
|
}, q = /* @__PURE__ */ u("div", { className: `select-input-wrap${o ? " select-input-wrap--error" : ""}`, children: [
|
|
@@ -4562,27 +4733,27 @@ const Ha = R(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
4562
4733
|
"aria-haspopup": "dialog",
|
|
4563
4734
|
"aria-expanded": m,
|
|
4564
4735
|
"aria-invalid": o ? !0 : void 0,
|
|
4565
|
-
children: k ?
|
|
4736
|
+
children: k ? Xa(k, s) : /* @__PURE__ */ e("span", { className: "select-datefield__ph", children: a ?? (s ? "Selecione data e hora" : "Selecione uma data") })
|
|
4566
4737
|
}
|
|
4567
4738
|
),
|
|
4568
4739
|
/* @__PURE__ */ e("span", { className: "select-datefield__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(ec, {}) })
|
|
4569
4740
|
] });
|
|
4570
4741
|
return /* @__PURE__ */ u("div", { ref: M, ...x, className: `select-field${_ ? " " + _ : ""}`, children: [
|
|
4571
|
-
n && /* @__PURE__ */ e(
|
|
4742
|
+
n && /* @__PURE__ */ e(Tt, { htmlFor: b, label: r ? `${n} *` : n }),
|
|
4572
4743
|
/* @__PURE__ */ e("div", { className: "select-datefield", children: /* @__PURE__ */ e(dt, { active: m, onClose: () => N(!1), placement: "bottom-start", role: "dialog", activator: q, children: /* @__PURE__ */ u("div", { className: "select-datefield__pop", children: [
|
|
4573
4744
|
/* @__PURE__ */ u("div", { className: "select-datepicker__calhead", children: [
|
|
4574
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => y((H) =>
|
|
4745
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => y((H) => El(H, -1)), children: /* @__PURE__ */ e(Un, {}) }),
|
|
4575
4746
|
/* @__PURE__ */ u("span", { className: "select-datepicker__monthlabel", children: [
|
|
4576
|
-
|
|
4747
|
+
qa[w.getMonth()],
|
|
4577
4748
|
" ",
|
|
4578
4749
|
w.getFullYear()
|
|
4579
4750
|
] }),
|
|
4580
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => y((H) =>
|
|
4751
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => y((H) => El(H, 1)), children: /* @__PURE__ */ e(Jt, {}) })
|
|
4581
4752
|
] }),
|
|
4582
4753
|
/* @__PURE__ */ u("div", { className: "select-datepicker__grid", role: "grid", children: [
|
|
4583
|
-
|
|
4754
|
+
za.map((H) => /* @__PURE__ */ e("div", { className: "select-datepicker__weekday", children: H }, H)),
|
|
4584
4755
|
B.map((H) => {
|
|
4585
|
-
const V = H.getMonth() !== w.getMonth(), P = !!k &&
|
|
4756
|
+
const V = H.getMonth() !== w.getMonth(), P = !!k && Bl(H, k), W = "select-datepicker__daybtn" + (P ? " is-selected" : "") + (Bl(H, L) && !P ? " is-today" : "") + (V ? " is-outside" : "");
|
|
4586
4757
|
return /* @__PURE__ */ e("div", { className: "select-datepicker__day", children: /* @__PURE__ */ e("button", { type: "button", className: W, disabled: C(H), onClick: () => F(H), children: H.getDate() }) }, H.getTime());
|
|
4587
4758
|
})
|
|
4588
4759
|
] }),
|
|
@@ -4610,11 +4781,11 @@ const Ha = R(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
4610
4781
|
o ? /* @__PURE__ */ e("p", { id: `${b}-err`, className: "select-field__error", children: o }) : d ? /* @__PURE__ */ e("p", { id: `${b}-hint`, className: "select-field__hint", children: d }) : null
|
|
4611
4782
|
] });
|
|
4612
4783
|
});
|
|
4613
|
-
function
|
|
4784
|
+
function Ac(t, n) {
|
|
4614
4785
|
var l, c;
|
|
4615
4786
|
return t.type === "select" ? ((c = (l = t.options) == null ? void 0 : l.find((s) => s.value === n)) == null ? void 0 : c.label) ?? n : n;
|
|
4616
4787
|
}
|
|
4617
|
-
function
|
|
4788
|
+
function Ja({
|
|
4618
4789
|
filter: t,
|
|
4619
4790
|
value: n,
|
|
4620
4791
|
onChange: l,
|
|
@@ -4627,7 +4798,7 @@ function ja({
|
|
|
4627
4798
|
pe(() => {
|
|
4628
4799
|
c || o("");
|
|
4629
4800
|
}, [c]);
|
|
4630
|
-
const d = n.trim() !== "", p = d ?
|
|
4801
|
+
const d = n.trim() !== "", p = d ? Ac(t, n) : null, h = d && !!t.error, f = t.options ?? [], v = f.length > 7, _ = v ? f.filter((x) => x.label.toLowerCase().includes(i.trim().toLowerCase())) : f;
|
|
4631
4802
|
return /* @__PURE__ */ u(
|
|
4632
4803
|
dt,
|
|
4633
4804
|
{
|
|
@@ -4673,7 +4844,7 @@ function ja({
|
|
|
4673
4844
|
x.value
|
|
4674
4845
|
);
|
|
4675
4846
|
}) })
|
|
4676
|
-
] }) : t.type === "date" ? /* @__PURE__ */ e("div", { className: "select-facet__field", children: /* @__PURE__ */ e(
|
|
4847
|
+
] }) : t.type === "date" ? /* @__PURE__ */ e("div", { className: "select-facet__field", children: /* @__PURE__ */ e(Ka, { value: n, onChange: l, placeholder: t.placeholder, clearable: !1 }) }) : /* @__PURE__ */ e(
|
|
4677
4848
|
"div",
|
|
4678
4849
|
{
|
|
4679
4850
|
className: "select-facet__field",
|
|
@@ -4699,7 +4870,7 @@ function ja({
|
|
|
4699
4870
|
}
|
|
4700
4871
|
);
|
|
4701
4872
|
}
|
|
4702
|
-
const
|
|
4873
|
+
const B1 = I(function({ filters: n, values: l, onChange: c, onClearAll: s, search: a, disabled: r, className: i, ...o }, d) {
|
|
4703
4874
|
const [p, h] = D([]), [f, v] = D(null), [_, x] = D(!1), M = (y) => (l[y.key] ?? "").trim() !== "", S = (y) => !!y.pinned || M(y) || p.includes(y.key), b = n.filter(S), m = n.filter((y) => !S(y)), N = n.filter(M), k = () => {
|
|
4704
4875
|
h([]), v(null), s();
|
|
4705
4876
|
}, w = (y) => {
|
|
@@ -4727,12 +4898,12 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4727
4898
|
className: "select-filterbar__query-clear",
|
|
4728
4899
|
"aria-label": "Limpar busca",
|
|
4729
4900
|
onClick: () => a.onChange(""),
|
|
4730
|
-
children: /* @__PURE__ */ e(
|
|
4901
|
+
children: /* @__PURE__ */ e(St, {})
|
|
4731
4902
|
}
|
|
4732
4903
|
)
|
|
4733
4904
|
] }),
|
|
4734
4905
|
b.map((y) => /* @__PURE__ */ e(
|
|
4735
|
-
|
|
4906
|
+
Ja,
|
|
4736
4907
|
{
|
|
4737
4908
|
filter: y,
|
|
4738
4909
|
value: l[y.key] ?? "",
|
|
@@ -4759,7 +4930,7 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4759
4930
|
disabled: r,
|
|
4760
4931
|
"aria-expanded": _,
|
|
4761
4932
|
children: [
|
|
4762
|
-
/* @__PURE__ */ e("span", { className: "select-facet__addicon", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
4933
|
+
/* @__PURE__ */ e("span", { className: "select-facet__addicon", "aria-hidden": "true", children: /* @__PURE__ */ e(Ct, {}) }),
|
|
4763
4934
|
"Mais filtros"
|
|
4764
4935
|
]
|
|
4765
4936
|
}
|
|
@@ -4791,7 +4962,7 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4791
4962
|
children: [
|
|
4792
4963
|
y.label,
|
|
4793
4964
|
": ",
|
|
4794
|
-
|
|
4965
|
+
Ac(y, l[y.key] ?? ""),
|
|
4795
4966
|
/* @__PURE__ */ e(
|
|
4796
4967
|
"button",
|
|
4797
4968
|
{
|
|
@@ -4799,7 +4970,7 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4799
4970
|
className: "select-filterbar__tagx",
|
|
4800
4971
|
"aria-label": `Remover filtro ${y.label}`,
|
|
4801
4972
|
onClick: () => c(y.key, ""),
|
|
4802
|
-
children: /* @__PURE__ */ e(
|
|
4973
|
+
children: /* @__PURE__ */ e(St, {})
|
|
4803
4974
|
}
|
|
4804
4975
|
)
|
|
4805
4976
|
]
|
|
@@ -4810,7 +4981,7 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4810
4981
|
/* @__PURE__ */ e("button", { type: "button", className: "select-filterbar__clear", onClick: k, children: "Limpar tudo" })
|
|
4811
4982
|
] })
|
|
4812
4983
|
] });
|
|
4813
|
-
}),
|
|
4984
|
+
}), F1 = I(function({ label: n, options: l, selected: c, onChange: s, placeholder: a = "Selecionar…", hint: r, help: i, error: o, onBlur: d, size: p = "md", className: h, ...f }, v) {
|
|
4814
4985
|
const [_, x] = D(!1), [M, S] = D(""), b = l.filter((k) => k.label.toLowerCase().includes(M.trim().toLowerCase())), m = (k) => s(c.includes(k) ? c.filter((w) => w !== k) : [...c, k]), N = c.map((k) => l.find((w) => w.value === k)).filter((k) => k != null);
|
|
4815
4986
|
return /* @__PURE__ */ u("div", { ref: v, ...f, className: `select-field${p === "sm" ? " select-field--sm" : ""}${h ? " " + h : ""}`, children: [
|
|
4816
4987
|
(n || i) && /* @__PURE__ */ e("div", { className: "select-field__labelrow", children: /* @__PURE__ */ u("span", { className: "select-field__labelwrap", children: [
|
|
@@ -4852,7 +5023,7 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4852
5023
|
onClick: (w) => {
|
|
4853
5024
|
w.stopPropagation(), m(k.value);
|
|
4854
5025
|
},
|
|
4855
|
-
children: /* @__PURE__ */ e(
|
|
5026
|
+
children: /* @__PURE__ */ e(St, {})
|
|
4856
5027
|
}
|
|
4857
5028
|
)
|
|
4858
5029
|
] }, k.value)),
|
|
@@ -4889,7 +5060,7 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4889
5060
|
),
|
|
4890
5061
|
o ? /* @__PURE__ */ e("p", { className: "select-field__error", children: o }) : r ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: r }) : null
|
|
4891
5062
|
] });
|
|
4892
|
-
}),
|
|
5063
|
+
}), I1 = I(function({ title: n, description: l, headerAction: c, footer: s, children: a, flush: r = !1, className: i, ...o }, d) {
|
|
4893
5064
|
return /* @__PURE__ */ u("div", { ref: d, ...o, className: `select-surface${i ? " " + i : ""}`, children: [
|
|
4894
5065
|
(n || l || c) && /* @__PURE__ */ u("div", { className: "select-surface__header", children: [
|
|
4895
5066
|
/* @__PURE__ */ u("div", { className: "select-surface__heading", children: [
|
|
@@ -4901,19 +5072,19 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4901
5072
|
/* @__PURE__ */ e("div", { className: `select-surface__body${r ? " select-surface__body--flush" : ""}`, children: a }),
|
|
4902
5073
|
s && /* @__PURE__ */ e("div", { className: "select-surface__footer", children: s })
|
|
4903
5074
|
] });
|
|
4904
|
-
}),
|
|
4905
|
-
function
|
|
5075
|
+
}), Ec = Gn(null), Qa = 220, er = 4e3, tr = 8, nr = 0.04, lr = 5;
|
|
5076
|
+
function R1({ children: t }) {
|
|
4906
5077
|
const [n, l] = D([]), c = J(0), s = J(/* @__PURE__ */ new Map()), a = Qe((d) => {
|
|
4907
5078
|
l((p) => p.filter((h) => h.id !== d)), s.current.delete(d);
|
|
4908
5079
|
}, []), r = Qe(
|
|
4909
5080
|
(d) => {
|
|
4910
5081
|
const p = s.current.get(d);
|
|
4911
|
-
p && clearTimeout(p), l((h) => h.map((f) => f.id === d ? { ...f, exiting: !0 } : f)), s.current.set(d, setTimeout(() => a(d),
|
|
5082
|
+
p && clearTimeout(p), l((h) => h.map((f) => f.id === d ? { ...f, exiting: !0 } : f)), s.current.set(d, setTimeout(() => a(d), Qa));
|
|
4912
5083
|
},
|
|
4913
5084
|
[a]
|
|
4914
5085
|
), i = Qe(
|
|
4915
5086
|
(d, p) => {
|
|
4916
|
-
const h = ++c.current, f = (p == null ? void 0 : p.duration) ??
|
|
5087
|
+
const h = ++c.current, f = (p == null ? void 0 : p.duration) ?? er;
|
|
4917
5088
|
l((v) => [...v, { id: h, content: d, variant: (p == null ? void 0 : p.variant) ?? "neutral" }]), f > 0 && s.current.set(h, setTimeout(() => r(h), f));
|
|
4918
5089
|
},
|
|
4919
5090
|
[r]
|
|
@@ -4933,31 +5104,31 @@ function C1({ children: t }) {
|
|
|
4933
5104
|
}),
|
|
4934
5105
|
[i]
|
|
4935
5106
|
);
|
|
4936
|
-
return /* @__PURE__ */ u(
|
|
5107
|
+
return /* @__PURE__ */ u(Ec.Provider, { value: o, children: [
|
|
4937
5108
|
t,
|
|
4938
5109
|
n.length > 0 && yn(
|
|
4939
5110
|
/* @__PURE__ */ e("div", { className: "select select-toasts", role: "region", "aria-live": "polite", "aria-label": "Notificações", children: n.map((d, p) => {
|
|
4940
|
-
const h = n.length - 1 - p, f = d.exiting || h >=
|
|
4941
|
-
transform: `translate(-50%, ${-h *
|
|
5111
|
+
const h = n.length - 1 - p, f = d.exiting || h >= lr, v = {
|
|
5112
|
+
transform: `translate(-50%, ${-h * tr}px) scale(${1 - h * nr})`,
|
|
4942
5113
|
opacity: f ? 0 : 1,
|
|
4943
5114
|
zIndex: 1e3 - h,
|
|
4944
5115
|
pointerEvents: h === 0 && !d.exiting ? "auto" : "none"
|
|
4945
5116
|
};
|
|
4946
5117
|
return /* @__PURE__ */ u("div", { className: `select-toast select-toast--${d.variant}`, role: "status", style: v, children: [
|
|
4947
5118
|
/* @__PURE__ */ e("span", { className: "select-toast__content", children: d.content }),
|
|
4948
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-toast__close", "aria-label": "Fechar", onClick: () => r(d.id), children: /* @__PURE__ */ e(
|
|
5119
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-toast__close", "aria-label": "Fechar", onClick: () => r(d.id), children: /* @__PURE__ */ e(St, {}) })
|
|
4949
5120
|
] }, d.id);
|
|
4950
5121
|
}) }),
|
|
4951
5122
|
document.body
|
|
4952
5123
|
)
|
|
4953
5124
|
] });
|
|
4954
5125
|
}
|
|
4955
|
-
function
|
|
4956
|
-
const t = Vn(
|
|
5126
|
+
function T1() {
|
|
5127
|
+
const t = Vn(Ec);
|
|
4957
5128
|
if (!t) throw new Error("useSelectToast must be used within a SelectToastProvider");
|
|
4958
5129
|
return t;
|
|
4959
5130
|
}
|
|
4960
|
-
const
|
|
5131
|
+
const cr = 390, sr = 1280, P1 = I(function({ src: n, title: l = "Pré-visualização", height: c = 560, fill: s = !1, initialDevice: a = "desktop", showDeviceToggle: r = !0, emptyLabel: i = "Salve para gerar a pré-visualização.", onReload: o, notice: d, iframeRef: p, desktopWidth: h = sr, className: f, ...v }, _) {
|
|
4961
5132
|
const [x, M] = D(a), [S, b] = D(0), [m, N] = D(!0), k = J(null), [w, y] = D({ w: 0, h: 0 });
|
|
4962
5133
|
qe(() => {
|
|
4963
5134
|
const B = k.current;
|
|
@@ -4969,7 +5140,7 @@ const qa = 390, Ya = 1280, A1 = R(function({ src: n, title: l = "Pré-visualiza
|
|
|
4969
5140
|
});
|
|
4970
5141
|
return L.observe(B), () => L.disconnect();
|
|
4971
5142
|
}, []);
|
|
4972
|
-
const $ = x === "mobile" ?
|
|
5143
|
+
const $ = x === "mobile" ? cr : h, g = w.w > 0 ? Math.min(1, w.w / $) : 1, C = n ? `${n}${n.includes("?") ? "&" : "?"}_pv=${S}` : "", A = () => {
|
|
4973
5144
|
if (N(!0), o) {
|
|
4974
5145
|
o();
|
|
4975
5146
|
return;
|
|
@@ -5047,89 +5218,7 @@ const qa = 390, Ya = 1280, A1 = R(function({ src: n, title: l = "Pré-visualiza
|
|
|
5047
5218
|
] })
|
|
5048
5219
|
) : /* @__PURE__ */ e("p", { className: "select-preview__empty", children: i }) })
|
|
5049
5220
|
] });
|
|
5050
|
-
}),
|
|
5051
|
-
function Ka(t) {
|
|
5052
|
-
const n = typeof t == "string" ? Number(t) : t;
|
|
5053
|
-
return typeof n == "number" && Number.isFinite(n) ? n : 0;
|
|
5054
|
-
}
|
|
5055
|
-
function Ja(t) {
|
|
5056
|
-
return Xa.format(Ka(t) / 100);
|
|
5057
|
-
}
|
|
5058
|
-
const Lc = "sw:hide-money", Qa = { hidden: !1, toggle: () => {
|
|
5059
|
-
}, setHidden: () => {
|
|
5060
|
-
} }, Ac = Gn(null);
|
|
5061
|
-
function er() {
|
|
5062
|
-
try {
|
|
5063
|
-
return localStorage.getItem(Lc) === "1";
|
|
5064
|
-
} catch {
|
|
5065
|
-
return !1;
|
|
5066
|
-
}
|
|
5067
|
-
}
|
|
5068
|
-
function Fl(t) {
|
|
5069
|
-
try {
|
|
5070
|
-
localStorage.setItem(Lc, t ? "1" : "0");
|
|
5071
|
-
} catch {
|
|
5072
|
-
}
|
|
5073
|
-
}
|
|
5074
|
-
function E1({ children: t }) {
|
|
5075
|
-
const [n, l] = D(er), c = Qe((r) => {
|
|
5076
|
-
l(r), Fl(r);
|
|
5077
|
-
}, []), s = Qe(() => {
|
|
5078
|
-
l((r) => {
|
|
5079
|
-
const i = !r;
|
|
5080
|
-
return Fl(i), i;
|
|
5081
|
-
});
|
|
5082
|
-
}, []), a = Oe(() => ({ hidden: n, toggle: s, setHidden: c }), [n, s, c]);
|
|
5083
|
-
return /* @__PURE__ */ e(Ac.Provider, { value: a, children: t });
|
|
5084
|
-
}
|
|
5085
|
-
function Ec() {
|
|
5086
|
-
return Vn(Ac) ?? Qa;
|
|
5087
|
-
}
|
|
5088
|
-
const tr = R(function({ children: n, label: l = "valor oculto", className: c, ...s }, a) {
|
|
5089
|
-
const { hidden: r } = Ec();
|
|
5090
|
-
return /* @__PURE__ */ e("span", { ref: a, ...s, className: `select-sensitive${r ? " select-sensitive--hidden" : ""}${c ? " " + c : ""}`, "aria-label": r ? l : void 0, children: n });
|
|
5091
|
-
});
|
|
5092
|
-
function qt({
|
|
5093
|
-
cents: t,
|
|
5094
|
-
sensitive: n = !0
|
|
5095
|
-
}) {
|
|
5096
|
-
const l = Ja(t);
|
|
5097
|
-
return n ? /* @__PURE__ */ e(tr, { children: l }) : /* @__PURE__ */ e(ue, { children: l });
|
|
5098
|
-
}
|
|
5099
|
-
const nr = new Intl.NumberFormat("pt-BR", {
|
|
5100
|
-
signDisplay: "exceptZero",
|
|
5101
|
-
minimumFractionDigits: 1,
|
|
5102
|
-
maximumFractionDigits: 1
|
|
5103
|
-
}), lr = R(function({ value: n, invert: l = !1, caption: c, className: s, ...a }, r) {
|
|
5104
|
-
if (n == null || !Number.isFinite(n))
|
|
5105
|
-
return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-delta select-delta--muted${s ? " " + s : ""}`, children: [
|
|
5106
|
-
"—",
|
|
5107
|
-
c ? ` ${c}` : ""
|
|
5108
|
-
] });
|
|
5109
|
-
const i = n === 0, o = n > 0, d = i ? null : l ? !o : o, p = d == null ? "muted" : d ? "up" : "down", h = i ? "" : o ? "▲" : "▼";
|
|
5110
|
-
return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-delta${s ? " " + s : ""}`, children: [
|
|
5111
|
-
/* @__PURE__ */ u("span", { className: `select-delta__value select-delta__value--${p}`, children: [
|
|
5112
|
-
h ? `${h} ` : "",
|
|
5113
|
-
nr.format(n),
|
|
5114
|
-
"%"
|
|
5115
|
-
] }),
|
|
5116
|
-
c != null && /* @__PURE__ */ e("span", { className: "select-delta__caption", children: c })
|
|
5117
|
-
] });
|
|
5118
|
-
});
|
|
5119
|
-
function B1() {
|
|
5120
|
-
const { hidden: t, toggle: n } = Ec();
|
|
5121
|
-
return /* @__PURE__ */ e(
|
|
5122
|
-
He,
|
|
5123
|
-
{
|
|
5124
|
-
variant: "outline",
|
|
5125
|
-
icon: t ? /* @__PURE__ */ e(Jl, {}) : /* @__PURE__ */ e(Kl, {}),
|
|
5126
|
-
label: t ? "Mostrar valores" : "Ocultar valores",
|
|
5127
|
-
active: t,
|
|
5128
|
-
onClick: n
|
|
5129
|
-
}
|
|
5130
|
-
);
|
|
5131
|
-
}
|
|
5132
|
-
const F1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponível", delta: c, buckets: s = [], action: a, className: r, ...i }, o) {
|
|
5221
|
+
}), D1 = I(function({ availableCents: n, availableLabel: l = "Saldo disponível", delta: c, buckets: s = [], action: a, className: r, ...i }, o) {
|
|
5133
5222
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-balance${r ? " " + r : ""}`, children: [
|
|
5134
5223
|
/* @__PURE__ */ u("div", { className: "select-balance__head", children: [
|
|
5135
5224
|
/* @__PURE__ */ e("h3", { className: "select-balance__title", children: l }),
|
|
@@ -5148,39 +5237,39 @@ const F1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
5148
5237
|
] }),
|
|
5149
5238
|
/* @__PURE__ */ u("div", { className: "select-balance__body", children: [
|
|
5150
5239
|
/* @__PURE__ */ u("div", { className: "select-balance__heromain", children: [
|
|
5151
|
-
/* @__PURE__ */ e("span", { className: "select-balance__heroamount", children: /* @__PURE__ */ e(
|
|
5152
|
-
c != null && /* @__PURE__ */ e(
|
|
5240
|
+
/* @__PURE__ */ e("span", { className: "select-balance__heroamount", children: /* @__PURE__ */ e($t, { cents: n }) }),
|
|
5241
|
+
c != null && /* @__PURE__ */ e(Va, { value: c, caption: "vs. período anterior" })
|
|
5153
5242
|
] }),
|
|
5154
5243
|
s.length > 0 && /* @__PURE__ */ e("div", { className: "select-balance__buckets", children: s.map((d) => /* @__PURE__ */ u("div", { className: "select-balance__bucket", children: [
|
|
5155
5244
|
d.icon && /* @__PURE__ */ e("span", { className: "select-balance__bucketicon", children: d.icon }),
|
|
5156
5245
|
/* @__PURE__ */ u("span", { className: "select-balance__bucketbody", children: [
|
|
5157
5246
|
/* @__PURE__ */ e("span", { className: "select-balance__bucketlabel", title: d.label, children: d.label }),
|
|
5158
|
-
/* @__PURE__ */ e("span", { className: "select-balance__bucketamount", children: /* @__PURE__ */ e(
|
|
5247
|
+
/* @__PURE__ */ e("span", { className: "select-balance__bucketamount", children: /* @__PURE__ */ e($t, { cents: d.cents }) })
|
|
5159
5248
|
] })
|
|
5160
5249
|
] }, d.label)) })
|
|
5161
5250
|
] })
|
|
5162
5251
|
] });
|
|
5163
|
-
}),
|
|
5252
|
+
}), W1 = I(function({ grossCents: n, fees: l, netCents: c, grossLabel: s = "Valor bruto", netLabel: a = "Valor líquido", className: r, ...i }, o) {
|
|
5164
5253
|
const d = c ?? n - l.reduce((p, h) => p + h.cents, 0);
|
|
5165
5254
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-fees${r ? " " + r : ""}`, children: [
|
|
5166
5255
|
/* @__PURE__ */ u("div", { className: "select-fees__row", children: [
|
|
5167
5256
|
/* @__PURE__ */ e("span", { children: s }),
|
|
5168
|
-
/* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(
|
|
5257
|
+
/* @__PURE__ */ e("span", { children: /* @__PURE__ */ e($t, { cents: n }) })
|
|
5169
5258
|
] }),
|
|
5170
5259
|
l.map((p) => /* @__PURE__ */ u("div", { className: "select-fees__row", children: [
|
|
5171
5260
|
/* @__PURE__ */ e("span", { children: p.label }),
|
|
5172
5261
|
/* @__PURE__ */ u("span", { className: "select-fees__neg", children: [
|
|
5173
5262
|
"− ",
|
|
5174
|
-
/* @__PURE__ */ e(
|
|
5263
|
+
/* @__PURE__ */ e($t, { cents: p.cents })
|
|
5175
5264
|
] })
|
|
5176
5265
|
] }, p.label)),
|
|
5177
5266
|
/* @__PURE__ */ e("div", { className: "select-fees__divider" }),
|
|
5178
5267
|
/* @__PURE__ */ u("div", { className: "select-fees__row select-fees__row--net", children: [
|
|
5179
5268
|
/* @__PURE__ */ e("span", { children: a }),
|
|
5180
|
-
/* @__PURE__ */ e("span", { className: "select-fees__netvalue", children: /* @__PURE__ */ e(
|
|
5269
|
+
/* @__PURE__ */ e("span", { className: "select-fees__netvalue", children: /* @__PURE__ */ e($t, { cents: d }) })
|
|
5181
5270
|
] })
|
|
5182
5271
|
] });
|
|
5183
|
-
}),
|
|
5272
|
+
}), O1 = I(function({ label: n, value: l, caption: c, chart: s, help: a, tone: r, bare: i = !1, className: o, ...d }, p) {
|
|
5184
5273
|
return /* @__PURE__ */ u("div", { ref: p, ...d, className: `select-kpi${i ? " select-kpi--bare" : ""}${o ? " " + o : ""}`, children: [
|
|
5185
5274
|
/* @__PURE__ */ u("span", { className: `select-kpi__label${a != null ? " select-kpi__label--help" : ""}`, children: [
|
|
5186
5275
|
a != null ? /* @__PURE__ */ e("span", { className: "select-kpi__labeltext", children: n }) : n,
|
|
@@ -5190,7 +5279,7 @@ const F1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
5190
5279
|
s != null && /* @__PURE__ */ e("div", { className: "select-kpi__chart", children: s }),
|
|
5191
5280
|
c != null && /* @__PURE__ */ e("span", { className: "select-kpi__caption", children: c })
|
|
5192
5281
|
] });
|
|
5193
|
-
}),
|
|
5282
|
+
}), H1 = I(function({ title: n, caption: l, action: c, help: s, loading: a = !1, hideValues: r = !1, height: i = 260, flush: o = !1, insight: d, insightTone: p = "neutral", children: h, className: f, ...v }, _) {
|
|
5194
5283
|
const x = i === "auto" ? void 0 : `${i / 16}rem`, M = i === "auto" ? "10rem" : `${i / 16}rem`;
|
|
5195
5284
|
return /* @__PURE__ */ u("div", { ref: _, ...v, className: `select-chartcard${f ? " " + f : ""}`, children: [
|
|
5196
5285
|
(n || c || l) && /* @__PURE__ */ u("div", { className: "select-chartcard__head", children: [
|
|
@@ -5214,7 +5303,7 @@ const F1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
5214
5303
|
d != null && !a && /* @__PURE__ */ e("div", { className: `select-chartcard__insight select-chartcard__insight--${p}`, children: (Array.isArray(d) ? d : [d]).filter((S) => S != null).map((S, b) => /* @__PURE__ */ e("span", { className: "select-chartcard__insightpill", children: S }, b)) })
|
|
5215
5304
|
] });
|
|
5216
5305
|
});
|
|
5217
|
-
function
|
|
5306
|
+
function ar() {
|
|
5218
5307
|
const [t, n] = D(1);
|
|
5219
5308
|
return qe(() => {
|
|
5220
5309
|
const l = () => {
|
|
@@ -5225,7 +5314,7 @@ function cr() {
|
|
|
5225
5314
|
}, []), t;
|
|
5226
5315
|
}
|
|
5227
5316
|
function be(t) {
|
|
5228
|
-
const n = J(null), [l, c] = D(0), s =
|
|
5317
|
+
const n = J(null), [l, c] = D(0), s = ar();
|
|
5229
5318
|
return qe(() => {
|
|
5230
5319
|
const a = n.current;
|
|
5231
5320
|
if (!a) return;
|
|
@@ -5260,7 +5349,7 @@ function Ge(t) {
|
|
|
5260
5349
|
function Xe(t, n = 4) {
|
|
5261
5350
|
return Array.from({ length: n + 1 }, (l, c) => t / n * c);
|
|
5262
5351
|
}
|
|
5263
|
-
function
|
|
5352
|
+
function rr(t, n = 5) {
|
|
5264
5353
|
if (!(t > 0)) return { max: 1, values: [0, 1] };
|
|
5265
5354
|
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, i = [];
|
|
5266
5355
|
for (let o = 0; o <= r + a / 2; o += a) i.push(Math.round(o * 1e6) / 1e6);
|
|
@@ -5328,7 +5417,7 @@ function ce(t) {
|
|
|
5328
5417
|
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));
|
|
5329
5418
|
}
|
|
5330
5419
|
const lt = { top: 16, right: 22, bottom: 32, left: 48 };
|
|
5331
|
-
function
|
|
5420
|
+
function j1({ data: t, color: n, height: l = 40, className: c, ...s }) {
|
|
5332
5421
|
const { ref: a, width: r } = be(l), i = n ?? z(0), o = ge(), d = 4;
|
|
5333
5422
|
let p = null;
|
|
5334
5423
|
if (r > 0 && t.length > 1) {
|
|
@@ -5388,7 +5477,7 @@ function re({ tip: t, className: n, ...l }) {
|
|
|
5388
5477
|
] }, o))
|
|
5389
5478
|
] });
|
|
5390
5479
|
}
|
|
5391
|
-
function
|
|
5480
|
+
function Z1({ data: t, height: n = 240, color: l, format: c = ce, className: s, ...a }) {
|
|
5392
5481
|
const { ref: r, width: i } = be(n), o = ae(), d = ge(), p = l ?? z(0), h = Ge(Math.max(0, ...t.map((m) => m.value))), f = lt, v = Math.max(0, i - f.left - f.right), _ = n - f.top - f.bottom, x = t.length > 0 ? v / t.length : 0, M = Math.min(x * 0.62, 44), S = f.top + _, b = (m) => S - m / h * _;
|
|
5393
5482
|
return /* @__PURE__ */ u("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: r, children: [
|
|
5394
5483
|
i > 0 && /* @__PURE__ */ u("svg", { width: i, height: n, className: "select-chart", children: [
|
|
@@ -5439,8 +5528,8 @@ function D1({ data: t, height: n = 240, color: l, format: c = ce, className: s,
|
|
|
5439
5528
|
/* @__PURE__ */ e(re, { tip: o.tip })
|
|
5440
5529
|
] });
|
|
5441
5530
|
}
|
|
5442
|
-
function
|
|
5443
|
-
const { ref: i, width: o } = be(l), d = ae(), p = ge(), [h, f] = D(null), { max: v, values: _ } =
|
|
5531
|
+
function V1({ series: t, labels: n, height: l = 240, format: c = ce, area: s = !1, className: a, ...r }) {
|
|
5532
|
+
const { ref: i, width: o } = be(l), d = ae(), p = ge(), [h, f] = D(null), { max: v, values: _ } = rr(Math.max(0, ...t.flatMap(($) => $.data))), x = lt, M = Math.max(0, o - x.left - x.right), S = l - x.top - x.bottom, b = n.length, m = ($) => x.left + (b <= 1 ? M / 2 : $ / (b - 1) * M), N = ($) => x.top + S - $ / v * S, k = b > 1 ? M / (b - 1) : M, w = Math.max(1, Math.ceil(b / 7)), y = x.top + S;
|
|
5444
5533
|
return /* @__PURE__ */ u("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
5445
5534
|
o > 0 && /* @__PURE__ */ u("svg", { width: o, height: l, className: "select-chart", children: [
|
|
5446
5535
|
/* @__PURE__ */ e("defs", { children: t.map(($, g) => {
|
|
@@ -5526,7 +5615,7 @@ function W1({ series: t, labels: n, height: l = 240, format: c = ce, area: s = !
|
|
|
5526
5615
|
/* @__PURE__ */ e(re, { tip: d.tip })
|
|
5527
5616
|
] });
|
|
5528
5617
|
}
|
|
5529
|
-
function
|
|
5618
|
+
function G1({ series: t, labels: n, height: l = 240, format: c = ce, className: s, ...a }) {
|
|
5530
5619
|
const { ref: r, width: i } = be(l), o = ae(), d = ge(), [p, h] = D(null), f = n.length, v = new Array(f).fill(0), _ = t.map(
|
|
5531
5620
|
(g) => g.data.map((C, A) => (v[A] = (v[A] ?? 0) + (C ?? 0), v[A]))
|
|
5532
5621
|
), x = Ge(Math.max(0, ...v)), M = lt, S = Math.max(0, i - M.left - M.right), b = l - M.top - M.bottom, m = (g) => M.left + (f <= 1 ? S / 2 : g / (f - 1) * S), N = (g) => M.top + b - g / x * b, k = f > 1 ? S / (f - 1) : S, w = Math.max(1, Math.ceil(f / 7)), y = M.top + b, $ = _[_.length - 1];
|
|
@@ -5592,7 +5681,7 @@ function O1({ series: t, labels: n, height: l = 240, format: c = ce, className:
|
|
|
5592
5681
|
/* @__PURE__ */ e(re, { tip: o.tip })
|
|
5593
5682
|
] });
|
|
5594
5683
|
}
|
|
5595
|
-
function
|
|
5684
|
+
function U1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = ce, formatLine: a = (o) => `${Math.round(o)}%`, className: r, ...i }) {
|
|
5596
5685
|
const { ref: o, width: d } = be(c), p = ae(), h = ge(), [f, v] = D(null), _ = { ...lt, right: 58 }, x = Math.max(0, d - _.left - _.right), M = c - _.top - _.bottom, S = t.length, b = Ge(Math.max(0, ...n.data)), m = Ge(Math.max(0, ...l.data)), N = S > 0 ? x / S : 0, k = Math.min(N * 0.5, 36), w = Math.max(1, Math.ceil(S / 8)), y = n.color ?? z(0), $ = l.color ?? z(1), g = _.top + M, C = (E) => g - E / b * M, A = (E) => g - E / m * M, B = (E) => _.left + N * E + N / 2, L = l.data.map((E, F) => [B(F), A(E)]);
|
|
5597
5686
|
return /* @__PURE__ */ u("div", { ...i, className: `select-chart-wrap${r ? " " + r : ""}`, ref: o, children: [
|
|
5598
5687
|
d > 0 && /* @__PURE__ */ u("svg", { width: d, height: c, className: "select-chart", children: [
|
|
@@ -5690,7 +5779,7 @@ function H1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = ce, f
|
|
|
5690
5779
|
/* @__PURE__ */ e(re, { tip: p.tip })
|
|
5691
5780
|
] });
|
|
5692
5781
|
}
|
|
5693
|
-
const
|
|
5782
|
+
const z1 = I(function({ segments: n, size: l = 200, thickness: c = 26, format: s = ce, centerLabel: a, legend: r = !0, gap: i = 2, pie: o = !1, className: d, ...p }, h) {
|
|
5694
5783
|
const f = ae(), v = ge(), _ = J(null), x = gn(_, l), M = n.reduce((w, y) => w + y.value, 0) || 1, S = x / 2, b = x / 2, m = x / 2 - 2, N = o ? 0 : m - c;
|
|
5695
5784
|
let k = 0;
|
|
5696
5785
|
return /* @__PURE__ */ u("div", { ref: h, ...p, className: `select-donut-wrap${d ? " " + d : ""}`, children: [
|
|
@@ -5739,7 +5828,7 @@ const j1 = R(function({ segments: n, size: l = 200, thickness: c = 26, format: s
|
|
|
5739
5828
|
/* @__PURE__ */ e(re, { tip: f.tip })
|
|
5740
5829
|
] });
|
|
5741
5830
|
});
|
|
5742
|
-
function
|
|
5831
|
+
function q1({ series: t, labels: n, height: l = 240, format: c = ce, stacked: s = !1, className: a, ...r }) {
|
|
5743
5832
|
const { ref: i, width: o } = be(l), d = ae(), p = ge(), h = n.length, f = t.length || 1, v = n.map((y, $) => t.reduce((g, C) => g + (C.data[$] ?? 0), 0)), _ = Ge(s ? Math.max(0, ...v) : Math.max(0, ...t.flatMap((y) => y.data))), x = lt, M = Math.max(0, o - x.left - x.right), S = l - x.top - x.bottom, b = x.top + S, m = h ? M / h : 0, N = (y) => b - y / _ * S, k = Math.min(m * 0.72, f * 40), w = s ? Math.min(m * 0.5, 44) : k / f;
|
|
5744
5833
|
return /* @__PURE__ */ u("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
5745
5834
|
o > 0 && /* @__PURE__ */ u("svg", { width: o, height: l, className: "select-chart", children: [
|
|
@@ -5831,7 +5920,7 @@ function Z1({ series: t, labels: n, height: l = 240, format: c = ce, stacked: s
|
|
|
5831
5920
|
/* @__PURE__ */ e(re, { tip: d.tip })
|
|
5832
5921
|
] });
|
|
5833
5922
|
}
|
|
5834
|
-
const
|
|
5923
|
+
const Y1 = I(function({ stages: n, format: l = ce, className: c, ...s }, a) {
|
|
5835
5924
|
const r = Math.max(1, ...n.map((i) => i.value));
|
|
5836
5925
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-funnel${c ? " " + c : ""}`, children: n.map((i, o) => {
|
|
5837
5926
|
const d = o > 0 ? n[o - 1].value || 1 : i.value || 1, p = o > 0 ? i.value / d * 100 : 100, h = z(o);
|
|
@@ -5857,7 +5946,7 @@ const V1 = R(function({ stages: n, format: l = ce, className: c, ...s }, a) {
|
|
|
5857
5946
|
] }, o);
|
|
5858
5947
|
}) });
|
|
5859
5948
|
});
|
|
5860
|
-
function
|
|
5949
|
+
function or(t) {
|
|
5861
5950
|
return Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0;
|
|
5862
5951
|
}
|
|
5863
5952
|
function Tl(t, n, l, c) {
|
|
@@ -5868,8 +5957,8 @@ function Pl(t, n, l, c, s) {
|
|
|
5868
5957
|
const [a, r] = Tl(t, n, l, c), [i, o] = Tl(t, n, l, s);
|
|
5869
5958
|
return `M ${a.toFixed(2)} ${r.toFixed(2)} A ${l} ${l} 0 0 1 ${i.toFixed(2)} ${o.toFixed(2)}`;
|
|
5870
5959
|
}
|
|
5871
|
-
const
|
|
5872
|
-
const h =
|
|
5960
|
+
const ir = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ? 1 : 0 })}%`, X1 = I(function({ value: n, label: l, caption: c, size: s = 220, thickness: a, color: r, format: i = ir, className: o, ...d }, p) {
|
|
5961
|
+
const h = or(n), f = a ?? Math.max(8, Math.round(s * 0.075)), v = f / 2 + 2, _ = s / 2 - v, x = s / 2, M = s / 2, S = M + v, b = bs({ value: h, format: i });
|
|
5873
5962
|
return /* @__PURE__ */ u("div", { ref: p, ...d, className: `select-gauge${o ? " " + o : ""}`, style: { width: `${s / 16}rem` }, children: [
|
|
5874
5963
|
/* @__PURE__ */ u("div", { className: "select-gauge__ring", style: { width: "100%", aspectRatio: `${s} / ${S}` }, children: [
|
|
5875
5964
|
/* @__PURE__ */ u("svg", { width: "100%", height: "100%", viewBox: `0 0 ${s} ${S}`, className: "select-chart", "aria-hidden": "true", children: [
|
|
@@ -5903,7 +5992,7 @@ const rr = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5903
5992
|
] }),
|
|
5904
5993
|
c != null && /* @__PURE__ */ e("div", { className: "select-gauge__caption", children: c })
|
|
5905
5994
|
] });
|
|
5906
|
-
}),
|
|
5995
|
+
}), K1 = I(function({ columns: n, rows: l, format: c = ce, formatValue: s, color: a = "var(--select-chart-1)", showValues: r = !0, min: i, max: o, cellSize: d = 40, maxCellSize: p = 96, cellHeight: h = 30, className: f, ...v }, _) {
|
|
5907
5996
|
const x = ae(), M = l.flatMap((y) => y.values).filter((y) => y != null && Number.isFinite(y)), S = i ?? (M.length ? Math.min(...M) : 0), m = (o ?? (M.length ? Math.max(...M) : 1)) - S || 1, N = { "--heat-color": a }, k = {
|
|
5908
5997
|
gridTemplateColumns: `minmax(56px, max-content) repeat(${n.length}, minmax(${d}px, ${Math.max(d, p)}px))`,
|
|
5909
5998
|
width: "fit-content",
|
|
@@ -5954,7 +6043,7 @@ const rr = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5954
6043
|
/* @__PURE__ */ e(re, { tip: x.tip })
|
|
5955
6044
|
] });
|
|
5956
6045
|
});
|
|
5957
|
-
function
|
|
6046
|
+
function J1({
|
|
5958
6047
|
items: t,
|
|
5959
6048
|
format: n = ce,
|
|
5960
6049
|
color: l,
|
|
@@ -5988,7 +6077,7 @@ function z1({
|
|
|
5988
6077
|
] }, `${a.label}-${r}`);
|
|
5989
6078
|
}) });
|
|
5990
6079
|
}
|
|
5991
|
-
const Fn = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0,
|
|
6080
|
+
const Fn = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, Q1 = I(function({ series: n, size: l = 200, thickness: c = 14, gap: s = 8, format: a = (h) => `${Math.round(h)}%`, centerLabel: r, legend: i = !0, className: o, ...d }, p) {
|
|
5992
6081
|
const h = ge(), f = l / 2, v = l / 2;
|
|
5993
6082
|
return /* @__PURE__ */ u("div", { ref: p, ...d, className: `select-donut-wrap${o ? " " + o : ""}`, children: [
|
|
5994
6083
|
/* @__PURE__ */ u("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
|
|
@@ -6033,11 +6122,11 @@ const Fn = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, q1 = R
|
|
|
6033
6122
|
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: a(Fn(_.value)) })
|
|
6034
6123
|
] }, x)) })
|
|
6035
6124
|
] });
|
|
6036
|
-
}), Dl = 6.1, In = 12, Wl = 56,
|
|
6037
|
-
function
|
|
6125
|
+
}), Dl = 6.1, In = 12, Wl = 56, dr = 0.4;
|
|
6126
|
+
function ei({ data: t, height: n, color: l, format: c = ce, formatValue: s, distributed: a = !0, labelWidth: r, className: i, ...o }) {
|
|
6038
6127
|
const v = n ?? t.length * 36 + 6 + 26, { ref: _, width: x } = be(v), M = ae(), S = ge(), b = Ge(Math.max(0, ...t.map((E) => E.value))), m = t.reduce((E, F) => Math.max(E, F.label.length), 0), N = Math.min(
|
|
6039
6128
|
Math.max(Wl, m * Dl + In),
|
|
6040
|
-
Math.max(Wl, x *
|
|
6129
|
+
Math.max(Wl, x * dr)
|
|
6041
6130
|
), k = r ?? N, w = Math.max(3, Math.floor((k - In) / Dl)), y = (E) => E.length <= w ? E : `${E.slice(0, w - 1).trimEnd()}…`, $ = Math.max(0, x - k - 28), g = v - 6 - 26, C = t.length ? g / t.length : 0, A = Math.min(C * 0.62, 22), B = (E) => k + E / b * $, L = (E, F) => E.color ?? (a ? z(F) : l ?? z(0));
|
|
6042
6131
|
return /* @__PURE__ */ u("div", { ...o, className: `select-chart-wrap${i ? " " + i : ""}`, ref: _, children: [
|
|
6043
6132
|
x > 0 && /* @__PURE__ */ u("svg", { width: x, height: v, className: "select-chart", children: [
|
|
@@ -6105,7 +6194,7 @@ function Y1({ data: t, height: n, color: l, format: c = ce, formatValue: s, dist
|
|
|
6105
6194
|
/* @__PURE__ */ e(re, { tip: M.tip })
|
|
6106
6195
|
] });
|
|
6107
6196
|
}
|
|
6108
|
-
function
|
|
6197
|
+
function ti({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
6109
6198
|
const { ref: a, width: r } = be(n), i = ae(), o = ge();
|
|
6110
6199
|
let d = 0;
|
|
6111
6200
|
const p = t.map((w) => {
|
|
@@ -6175,7 +6264,7 @@ function X1({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
|
6175
6264
|
/* @__PURE__ */ e(re, { tip: i.tip })
|
|
6176
6265
|
] });
|
|
6177
6266
|
}
|
|
6178
|
-
const Ol = (t) => Math.max(0, Math.min(100, t)),
|
|
6267
|
+
const Ol = (t) => Math.max(0, Math.min(100, t)), ni = I(function({ items: n, format: l = ce, className: c, ...s }, a) {
|
|
6179
6268
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-bullet${c ? " " + c : ""}`, children: n.map((r, i) => {
|
|
6180
6269
|
const o = r.color ?? z(i), d = r.max ?? (Math.max(r.value, r.target) * 1.25 || 1), p = r.value >= r.target;
|
|
6181
6270
|
return /* @__PURE__ */ u("div", { className: "select-bullet__row", children: [
|
|
@@ -6211,7 +6300,7 @@ const Ol = (t) => Math.max(0, Math.min(100, t)), K1 = R(function({ items: n, for
|
|
|
6211
6300
|
] }, `${r.label}-${i}`);
|
|
6212
6301
|
}) });
|
|
6213
6302
|
});
|
|
6214
|
-
function
|
|
6303
|
+
function hr(t, n, l) {
|
|
6215
6304
|
const c = [], s = (r, i) => {
|
|
6216
6305
|
const o = r.reduce((h, f) => h + f, 0), d = Math.max(...r), p = Math.min(...r);
|
|
6217
6306
|
return Math.max(i * i * d / (o * o), o * o / (i * i * p));
|
|
@@ -6254,8 +6343,8 @@ function ir(t, n, l) {
|
|
|
6254
6343
|
l
|
|
6255
6344
|
), c;
|
|
6256
6345
|
}
|
|
6257
|
-
function
|
|
6258
|
-
const { ref: a, width: r } = be(n), i = ae(), o = ge(), d = t.map((h, f) => f).sort((h, f) => t[f].value - t[h].value), p = r > 0 ?
|
|
6346
|
+
function li({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
6347
|
+
const { ref: a, width: r } = be(n), i = ae(), o = ge(), d = t.map((h, f) => f).sort((h, f) => t[f].value - t[h].value), p = r > 0 ? hr(d.map((h) => t[h].value), r, n) : [];
|
|
6259
6348
|
return /* @__PURE__ */ u("div", { ...s, className: `select-chart-wrap select-treemap${c ? " " + c : ""}`, ref: a, children: [
|
|
6260
6349
|
r > 0 && /* @__PURE__ */ u("svg", { width: r, height: n, className: "select-chart", children: [
|
|
6261
6350
|
/* @__PURE__ */ e("defs", { children: t.map((h, f) => {
|
|
@@ -6296,7 +6385,7 @@ function J1({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
|
6296
6385
|
/* @__PURE__ */ e(re, { tip: i.tip })
|
|
6297
6386
|
] });
|
|
6298
6387
|
}
|
|
6299
|
-
function
|
|
6388
|
+
function ci({ series: t, height: n = 240, xFormat: l = ce, yFormat: c = ce, xMax: s, yMax: a, maxRadius: r = 18, className: i, ...o }) {
|
|
6300
6389
|
const { ref: d, width: p } = be(n), h = ae(), f = t.flatMap((y) => y.points), v = Ge(s ?? Math.max(0, ...f.map((y) => y.x))), _ = Ge(a ?? Math.max(0, ...f.map((y) => y.y))), x = Math.max(1, ...f.map((y) => y.r ?? 0)), M = lt, S = Math.max(0, p - M.left - M.right), b = n - M.top - M.bottom, m = M.top + b, N = (y) => M.left + y / v * S, k = (y) => m - y / _ * b, w = (y) => y.r ? 4 + Math.sqrt(y.r) / Math.sqrt(x) * (r - 4) : 4.5;
|
|
6301
6390
|
return /* @__PURE__ */ u("div", { ...o, className: `select-chart-wrap${i ? " " + i : ""}`, ref: d, children: [
|
|
6302
6391
|
p > 0 && /* @__PURE__ */ u("svg", { width: p, height: n, className: "select-chart", children: [
|
|
@@ -6343,7 +6432,7 @@ function Q1({ series: t, height: n = 240, xFormat: l = ce, yFormat: c = ce, xMax
|
|
|
6343
6432
|
/* @__PURE__ */ e(re, { tip: h.tip })
|
|
6344
6433
|
] });
|
|
6345
6434
|
}
|
|
6346
|
-
const
|
|
6435
|
+
const si = I(function({ axes: n, series: l, size: c = 240, max: s, format: a = ce, levels: r = 4, legend: i = !0, className: o, ...d }, p) {
|
|
6347
6436
|
const h = ae(), f = ge(), v = n.length, _ = c / 2, x = c / 2, M = c / 2 - 30, S = s ?? Ge(Math.max(1, ...l.flatMap((k) => k.values))), b = (k) => (-90 + k * 360 / v) * Math.PI / 180, m = (k, w) => [_ + w * Math.cos(b(k)), x + w * Math.sin(b(k))], N = (k) => k.map((w, y) => `${y === 0 ? "M" : "L"}${m(y, w).map(($) => $.toFixed(2)).join(",")}`).join(" ") + " Z";
|
|
6348
6437
|
return /* @__PURE__ */ u("div", { ref: p, ...d, className: `select-donut-wrap${o ? " " + o : ""}`, children: [
|
|
6349
6438
|
/* @__PURE__ */ u("div", { className: "select-radar", style: { width: c, aspectRatio: "1" }, children: [
|
|
@@ -6413,7 +6502,7 @@ const ei = R(function({ axes: n, series: l, size: c = 240, max: s, format: a = c
|
|
|
6413
6502
|
] }, w)) })
|
|
6414
6503
|
] });
|
|
6415
6504
|
});
|
|
6416
|
-
function
|
|
6505
|
+
function ai({ links: t, height: n = 260, format: l = ce, nodeWidth: c = 14, nodeGap: s = 14, className: a, ...r }) {
|
|
6417
6506
|
const { ref: i, width: o } = be(n), d = ae(), p = [], h = [];
|
|
6418
6507
|
for (const g of t)
|
|
6419
6508
|
p.includes(g.source) || p.push(g.source), h.includes(g.target) || h.push(g.target);
|
|
@@ -6461,7 +6550,7 @@ function ti({ links: t, height: n = 260, format: l = ce, nodeWidth: c = 14, node
|
|
|
6461
6550
|
/* @__PURE__ */ e(re, { tip: d.tip })
|
|
6462
6551
|
] });
|
|
6463
6552
|
}
|
|
6464
|
-
function
|
|
6553
|
+
function ri({ data: t, height: n = 240, format: l = ce, upColor: c = "var(--select-chart-4)", downColor: s = "var(--select-chart-3)", className: a, ...r }) {
|
|
6465
6554
|
const { ref: i, width: o } = be(n), d = ae(), p = lt, h = Math.max(0, o - p.left - p.right), f = n - p.top - p.bottom, v = p.top + f, _ = Math.max(1, ...t.map(($) => $.high)), x = Math.min(_, ...t.map(($) => $.low)), M = (_ - x) * 0.08 || 1, S = x - M, b = _ + M, m = ($) => v - ($ - S) / (b - S) * f, N = t.length, k = N ? h / N : 0, w = Math.min(k * 0.5, 18), y = Array.from({ length: 5 }, ($, g) => S + (b - S) * g / 4);
|
|
6466
6555
|
return /* @__PURE__ */ u("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
6467
6556
|
o > 0 && /* @__PURE__ */ u("svg", { width: o, height: n, className: "select-chart", children: [
|
|
@@ -6513,7 +6602,7 @@ function ni({ data: t, height: n = 240, format: l = ce, upColor: c = "var(--sele
|
|
|
6513
6602
|
/* @__PURE__ */ e(re, { tip: d.tip })
|
|
6514
6603
|
] });
|
|
6515
6604
|
}
|
|
6516
|
-
function
|
|
6605
|
+
function oi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
6517
6606
|
const { ref: a, width: r } = be(n), i = ae(), o = lt, d = Math.max(0, r - o.left - o.right), p = n - o.top - o.bottom, h = o.top + p, f = Ge(Math.max(1, ...t.map((S) => S.max))), v = (S) => h - S / f * p, _ = t.length, x = _ ? d / _ : 0, M = Math.min(x * 0.5, 40);
|
|
6518
6607
|
return /* @__PURE__ */ u("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
|
|
6519
6608
|
r > 0 && /* @__PURE__ */ u("svg", { width: r, height: n, className: "select-chart", children: [
|
|
@@ -6569,7 +6658,7 @@ function li({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
|
6569
6658
|
/* @__PURE__ */ e(re, { tip: i.tip })
|
|
6570
6659
|
] });
|
|
6571
6660
|
}
|
|
6572
|
-
function
|
|
6661
|
+
function ii({ data: t, height: n, min: l, max: c, format: s = ce, labelWidth: a = 96, className: r, ...i }) {
|
|
6573
6662
|
const f = n ?? t.length * 36 + 6 + 26, { ref: v, width: _ } = be(f), x = ae(), M = ge(), S = l ?? Math.min(0, ...t.map((A) => A.start)), m = (c ?? Math.max(1, ...t.map((A) => A.end))) - S || 1, N = a, k = Math.max(0, _ - N - 14), w = f - 6 - 26, y = t.length ? w / t.length : 0, $ = Math.min(y * 0.6, 22), g = (A) => N + (A - S) / m * k, C = Array.from({ length: 5 }, (A, B) => S + m * B / 4);
|
|
6574
6663
|
return /* @__PURE__ */ u("div", { ...i, className: `select-chart-wrap${r ? " " + r : ""}`, ref: v, children: [
|
|
6575
6664
|
_ > 0 && /* @__PURE__ */ u("svg", { width: _, height: f, className: "select-chart", children: [
|
|
@@ -6624,7 +6713,7 @@ function ci({ data: t, height: n, min: l, max: c, format: s = ce, labelWidth: a
|
|
|
6624
6713
|
/* @__PURE__ */ e(re, { tip: x.tip })
|
|
6625
6714
|
] });
|
|
6626
6715
|
}
|
|
6627
|
-
const
|
|
6716
|
+
const di = I(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels: c = ["Seg", "", "Qua", "", "Sex", "", "Dom"], columnLabels: s, format: a = ce, cell: r = 14, gap: i = 3, min: o, max: d, className: p, ...h }, f) {
|
|
6628
6717
|
const v = ae();
|
|
6629
6718
|
ge();
|
|
6630
6719
|
const _ = n.flat().filter(($) => $ != null && Number.isFinite($)), x = o ?? (_.length ? Math.min(..._) : 0), S = (d ?? (_.length ? Math.max(..._) : 1)) - x || 1, b = 30, m = s ? 16 : 4, N = r + i, k = b + n.length * N, w = m + 7 * N, y = { "--heat-color": l };
|
|
@@ -6668,7 +6757,7 @@ const si = R(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
|
|
|
6668
6757
|
] }),
|
|
6669
6758
|
/* @__PURE__ */ e(re, { tip: v.tip })
|
|
6670
6759
|
] });
|
|
6671
|
-
}),
|
|
6760
|
+
}), hi = I(function({ segments: n, size: l = 200, format: c = ce, legend: s = !0, rose: a = !1, className: r, ...i }, o) {
|
|
6672
6761
|
const d = ae(), p = l / 2, h = l / 2, f = l / 2 - 2, v = n.length || 1, _ = Ge(Math.max(1, ...n.map((S) => S.value))), x = (S) => a ? Math.max(0, S) / _ * f : Math.sqrt(Math.max(0, S) / _) * f, M = 360 / v;
|
|
6673
6762
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-donut-wrap${r ? " " + r : ""}`, children: [
|
|
6674
6763
|
/* @__PURE__ */ u("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
|
|
@@ -6699,7 +6788,7 @@ const si = R(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
|
|
|
6699
6788
|
] }, b)) })
|
|
6700
6789
|
] });
|
|
6701
6790
|
});
|
|
6702
|
-
function
|
|
6791
|
+
function ui({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s = ce, className: a, ...r }) {
|
|
6703
6792
|
const { ref: i, width: o } = be(c), d = ae(), p = { top: 24, right: 64, bottom: 12, left: 132 }, h = Ge(Math.max(1, ...t.flatMap((M) => [M.left, M.right]))), f = c - p.top - p.bottom, v = (M) => p.top + f - M / h * f, _ = p.left, x = o - p.right;
|
|
6704
6793
|
return /* @__PURE__ */ u("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
6705
6794
|
o > 0 && /* @__PURE__ */ u("svg", { width: o, height: c, className: "select-chart", children: [
|
|
@@ -6746,7 +6835,7 @@ function ri({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s =
|
|
|
6746
6835
|
/* @__PURE__ */ e(re, { tip: d.tip })
|
|
6747
6836
|
] });
|
|
6748
6837
|
}
|
|
6749
|
-
function
|
|
6838
|
+
function pi({ data: t, height: n, format: l = ce, fromLabel: c = "Antes", toLabel: s = "Depois", labelWidth: a = 96, className: r, ...i }) {
|
|
6750
6839
|
const f = n ?? t.length * 34 + 6 + 26, { ref: v, width: _ } = be(f), x = ae(), M = "var(--select-chart-2)", S = "var(--select-chart-1)", b = Ge(Math.max(1, ...t.flatMap(($) => [$.from, $.to]))), m = a, N = Math.max(0, _ - m - 14), k = f - 6 - 26, w = t.length ? k / t.length : 0, y = ($) => m + $ / b * N;
|
|
6751
6840
|
return /* @__PURE__ */ u("div", { ...i, className: `select-chart-wrap${r ? " " + r : ""}`, ref: v, children: [
|
|
6752
6841
|
_ > 0 && /* @__PURE__ */ u("svg", { width: _, height: f, className: "select-chart", children: [
|
|
@@ -6798,7 +6887,7 @@ function oi({ data: t, height: n, format: l = ce, fromLabel: c = "Antes", toLabe
|
|
|
6798
6887
|
/* @__PURE__ */ e(re, { tip: x.tip })
|
|
6799
6888
|
] });
|
|
6800
6889
|
}
|
|
6801
|
-
function
|
|
6890
|
+
function mi({ columns: t, height: n = 240, format: l = ce, gap: c = 3, className: s, ...a }) {
|
|
6802
6891
|
const { ref: r, width: i } = be(n), o = ae(), d = { top: 6, right: 6, bottom: 24, left: 6 }, p = Math.max(0, i - d.left - d.right), h = n - d.top - d.bottom, f = t.map((m) => m.segments.reduce((N, k) => N + k.value, 0)), v = f.reduce((m, N) => m + N, 0) || 1, _ = [];
|
|
6803
6892
|
t.forEach((m) => m.segments.forEach((N) => {
|
|
6804
6893
|
_.includes(N.key) || _.push(N.key);
|
|
@@ -6850,7 +6939,7 @@ function ii({ columns: t, height: n = 240, format: l = ce, gap: c = 3, className
|
|
|
6850
6939
|
/* @__PURE__ */ e(re, { tip: o.tip })
|
|
6851
6940
|
] });
|
|
6852
6941
|
}
|
|
6853
|
-
const
|
|
6942
|
+
const fi = I(function({ value: n, max: l = 100, bands: c, size: s = 220, thickness: a, label: r, format: i = (h) => `${Math.round(h)}`, className: o, ...d }, p) {
|
|
6854
6943
|
const h = a ?? Math.max(10, Math.round(s * 0.08)), f = h / 2 + 2, v = s / 2 - f, _ = s / 2, x = s / 2, M = x + f, S = (A) => Math.max(0, Math.min(l, A)), b = (A) => {
|
|
6855
6944
|
const B = Math.PI + A * Math.PI;
|
|
6856
6945
|
return [_ + v * Math.cos(B), x + v * Math.sin(B)];
|
|
@@ -6875,7 +6964,7 @@ const di = R(function({ value: n, max: l = 100, bands: c, size: s = 220, thickne
|
|
|
6875
6964
|
] })
|
|
6876
6965
|
] }) });
|
|
6877
6966
|
});
|
|
6878
|
-
function
|
|
6967
|
+
function _i({ series: t, labels: n, height: l = 240, format: c = ce, className: s, ...a }) {
|
|
6879
6968
|
const { ref: r, width: i } = be(l), o = ae(), d = ge(), [p, h] = D(null), f = n.length, v = { top: 14, right: 14, bottom: 28, left: 14 }, _ = Math.max(0, i - v.left - v.right), x = l - v.top - v.bottom, M = n.map((w, y) => t.reduce(($, g) => $ + (g.data[y] ?? 0), 0)), S = Math.max(1, ...M), b = x / S, m = (w) => v.left + (f <= 1 ? _ / 2 : w / (f - 1) * _), N = n.map(() => 0), k = t.map((w, y) => {
|
|
6880
6969
|
const $ = [], g = [];
|
|
6881
6970
|
return n.forEach((C, A) => {
|
|
@@ -6921,7 +7010,7 @@ function hi({ series: t, labels: n, height: l = 240, format: c = ce, className:
|
|
|
6921
7010
|
/* @__PURE__ */ e(re, { tip: o.tip })
|
|
6922
7011
|
] });
|
|
6923
7012
|
}
|
|
6924
|
-
const
|
|
7013
|
+
const vi = I(function({ data: n, size: l = 220, format: c = ce, legend: s = !0, className: a, ...r }, i) {
|
|
6925
7014
|
const o = ae(), d = l / 2, p = l / 2, h = l / 2 - 2, f = h * 0.62, v = h * 0.32, _ = n.map((S) => {
|
|
6926
7015
|
var b;
|
|
6927
7016
|
return (b = S.children) != null && b.length ? S.children.reduce((m, N) => m + N.value, 0) : S.value ?? 0;
|
|
@@ -6982,7 +7071,7 @@ const ui = R(function({ data: n, size: l = 220, format: c = ce, legend: s = !0,
|
|
|
6982
7071
|
] }, b)) })
|
|
6983
7072
|
] });
|
|
6984
7073
|
});
|
|
6985
|
-
function
|
|
7074
|
+
function gi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
6986
7075
|
const { ref: a, width: r } = be(n), i = ae(), o = lt, d = Math.max(0, r - o.left - o.right), p = n - o.top - o.bottom, h = o.top + p, f = Ge(Math.max(1, ...t.map((b) => b.max))), v = (b) => h - b / f * p, _ = t.length, x = _ ? d / _ : 0, M = Math.min(x * 0.42, 46), S = Math.max(1, ...t.flatMap((b) => b.bins));
|
|
6987
7076
|
return /* @__PURE__ */ u("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
|
|
6988
7077
|
r > 0 && /* @__PURE__ */ u("svg", { width: r, height: n, className: "select-chart", children: [
|
|
@@ -7036,7 +7125,7 @@ function pi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
|
7036
7125
|
/* @__PURE__ */ e(re, { tip: i.tip })
|
|
7037
7126
|
] });
|
|
7038
7127
|
}
|
|
7039
|
-
const
|
|
7128
|
+
const bi = I(function({ matrix: n, labels: l, size: c = 240, format: s = ce, padAngle: a = 0.05, className: r, ...i }, o) {
|
|
7040
7129
|
const d = ae(), p = l.length, h = c / 2, f = c / 2, v = c / 2 - 22, _ = v - 9, x = n.map((g) => g.reduce((C, A) => C + A, 0)), M = x.reduce((g, C) => g + C, 0) || 1, S = (2 * Math.PI - p * a) / M, b = [];
|
|
7041
7130
|
let m = 0;
|
|
7042
7131
|
for (let g = 0; g < p; g++) {
|
|
@@ -7101,7 +7190,7 @@ const mi = R(function({ matrix: n, labels: l, size: c = 240, format: s = ce, pad
|
|
|
7101
7190
|
/* @__PURE__ */ e(re, { tip: d.tip })
|
|
7102
7191
|
] }) });
|
|
7103
7192
|
});
|
|
7104
|
-
function
|
|
7193
|
+
function xi({ points: t, height: n = 240, radius: l = 16, color: c = "var(--select-chart-1)", xMax: s, yMax: a, format: r = ce, className: i, ...o }) {
|
|
7105
7194
|
const { ref: d, width: p } = be(n), h = ae(), f = 12, v = Math.max(0, p - f * 2), _ = n - f * 2, x = s ?? Math.max(1, ...t.map((C) => C.x)), M = a ?? Math.max(1, ...t.map((C) => C.y)), S = (C) => f + C / x * v, b = (C) => f + _ - C / M * _, m = l, N = Math.sqrt(3), k = (C, A) => {
|
|
7106
7195
|
let B = C, L = A, E = -B - L, F = Math.round(B), T = Math.round(E), O = Math.round(L);
|
|
7107
7196
|
const q = Math.abs(F - B), H = Math.abs(T - E), V = Math.abs(O - L);
|
|
@@ -7142,7 +7231,7 @@ function fi({ points: t, height: n = 240, radius: l = 16, color: c = "var(--sele
|
|
|
7142
7231
|
/* @__PURE__ */ e(re, { tip: h.tip })
|
|
7143
7232
|
] });
|
|
7144
7233
|
}
|
|
7145
|
-
const
|
|
7234
|
+
const yi = I(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s, ...a }, r) {
|
|
7146
7235
|
const i = n.map((f) => f.value), o = Math.max(1, ...i), d = Math.min(...i), p = o - d || 1, h = (f) => l + (f - d) / p * (c - l);
|
|
7147
7236
|
return /* @__PURE__ */ e("div", { ref: r, ...a, className: `select-wordcloud${s ? " " + s : ""}`, children: n.map((f, v) => /* @__PURE__ */ e(
|
|
7148
7237
|
"span",
|
|
@@ -7158,7 +7247,7 @@ const _i = R(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s
|
|
|
7158
7247
|
},
|
|
7159
7248
|
`${f.text}-${v}`
|
|
7160
7249
|
)) });
|
|
7161
|
-
}),
|
|
7250
|
+
}), ur = [
|
|
7162
7251
|
[-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],
|
|
7163
7252
|
[-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],
|
|
7164
7253
|
[-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],
|
|
@@ -7287,7 +7376,7 @@ const _i = R(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s
|
|
|
7287
7376
|
[-68.5, 83.1, -65.8, 83, -63.7, 82.9, -61.8, 82.6, -61.9, 82.4, -64.3, 81.9, -66.8, 81.7, -67.7, 81.5, -65.5, 81.5, -67.8, 80.9, -69.5, 80.6, -71.2, 79.8, -73.2, 79.6, -73.9, 79.4, -76.9, 79.3, -75.5, 79.2, -76.2, 79, -75.4, 78.5, -76.3, 78.2, -77.9, 77.9, -78.4, 77.5, -79.8, 77.2, -79.6, 77, -77.9, 77, -77.9, 76.8, -80.6, 76.2, -83.2, 76.5, -86.1, 76.3, -87.6, 76.4, -89.5, 76.5, -89.6, 77, -87.8, 77.2, -88.3, 77.9, -87.6, 78, -85, 77.5, -86.3, 78.2, -88, 78.4, -87.2, 78.8, -85.4, 79, -85.1, 79.3, -86.5, 79.7, -86.9, 80.3, -84.2, 80.2, -83.4, 80.1, -81.8, 80.5, -84.1, 80.6, -87.6, 80.5, -89.4, 80.9, -90.2, 81.3, -91.4, 81.6, -91.6, 81.9, -90.1, 82.1, -88.9, 82.1, -87, 82.3, -85.5, 82.7, -84.3, 82.6, -83.2, 82.3, -82.4, 82.9, -81.1, 83, -79.3, 83.1, -76.2, 83.2, -75.7, 83.1, -72.8, 83.2, -70.7, 83.2, -68.5, 83.1],
|
|
7288
7377
|
[-27.1, 83.5, -20.8, 82.7, -22.7, 82.3, -26.5, 82.3, -31.9, 82.2, -31.4, 82, -27.9, 82.1, -24.8, 81.8, -22.9, 82.1, -22.1, 81.7, -23.2, 81.2, -20.6, 81.5, -15.8, 81.9, -12.8, 81.7, -12.2, 81.3, -16.3, 80.6, -16.8, 80.4, -20, 80.2, -17.7, 80.1, -18.9, 79.4, -19.7, 78.8, -19.7, 77.6, -18.5, 77, -20, 76.9, -21.7, 76.6, -19.8, 76.1, -19.6, 75.2, -20.7, 75.2, -19.4, 74.3, -21.6, 74.2, -20.4, 73.8, -20.8, 73.5, -22.2, 73.3, -23.6, 73.3, -22.3, 72.6, -22.3, 72.2, -24.3, 72.6, -24.8, 72.3, -23.4, 72.1, -22.1, 71.5, -21.8, 70.7, -23.5, 70.5, -24.3, 70.9, -25.5, 71.4, -25.2, 70.8, -26.4, 70.2, -23.7, 70.2, -22.3, 70.1, -25, 69.3, -27.7, 68.5, -30.7, 68.1, -31.8, 68.1, -32.8, 67.7, -34.2, 66.7, -36.4, 66, -37, 65.9, -38.4, 65.7, -39.8, 65.5, -40.7, 64.8, -40.7, 64.1, -41.2, 63.5, -42.8, 62.7, -42.4, 61.9, -42.9, 61.1, -43.4, 60.1, -44.8, 60, -46.3, 60.9, -48.3, 60.9, -49.2, 61.4, -49.9, 62.4, -51.6, 63.6, -52.1, 64.3, -52.3, 65.2, -53.7, 66.1, -53.3, 66.8, -54, 67.2, -53, 68.4, -51.5, 68.7, -51.1, 69.1, -50.9, 69.9, -52, 69.6, -52.6, 69.4, -53.5, 69.3, -54.7, 69.6, -54.8, 70.3, -54.4, 70.8, -53.4, 70.8, -51.4, 70.6, -53.1, 71.2, -54, 71.5, -55, 71.4, -55.8, 71.7, -54.7, 72.6, -55.3, 73, -56.1, 73.6, -57.3, 74.7, -58.6, 75.1, -58.6, 75.5, -61.3, 76.1, -63.4, 76.2, -66.1, 76.1, -68.5, 76.1, -69.7, 76.4, -71.4, 77, -68.8, 77.3, -66.8, 77.4, -71, 77.6, -73.3, 78, -73.2, 78.4, -69.4, 78.9, -65.7, 79.4, -65.3, 79.8, -68, 80.1, -67.2, 80.5, -63.7, 81.2, -62.2, 81.3, -62.7, 81.8, -60.3, 82, -57.2, 82.2, -54.1, 82.2, -53, 81.9, -50.4, 82.4, -48, 82.1, -46.6, 82, -44.5, 81.7, -46.9, 82.2, -46.8, 82.6, -43.4, 83.2, -39.9, 83.2, -38.6, 83.5, -35.1, 83.6, -27.1, 83.5]
|
|
7289
7378
|
], bn = Math.PI / 180;
|
|
7290
|
-
function
|
|
7379
|
+
function It(t, n) {
|
|
7291
7380
|
const l = t * bn, c = n * bn;
|
|
7292
7381
|
return [Math.cos(l) * Math.sin(c), Math.sin(l), Math.cos(l) * Math.cos(c)];
|
|
7293
7382
|
}
|
|
@@ -7303,16 +7392,16 @@ function Hl(t, n, l) {
|
|
|
7303
7392
|
const a = Math.sin(s), r = Math.sin((1 - l) * s) / a, i = Math.sin(l * s) / a;
|
|
7304
7393
|
return [t[0] * r + n[0] * i, t[1] * r + n[1] * i, t[2] * r + n[2] * i];
|
|
7305
7394
|
}
|
|
7306
|
-
const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) < 1e-6,
|
|
7395
|
+
const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) < 1e-6, Ni = I(function({ points: n = [], arcs: l = [], size: c = 320, tilt: s = -18, spin: a = !0, speed: r = 7, color: i = "var(--select-chart-1)", format: o = ce, legend: d = !0, map: p = !0, fluid: h = !1, onZoomChange: f, className: v, ..._ }, x) {
|
|
7307
7396
|
var ze;
|
|
7308
|
-
const M = ge(), S = ae(), b = J(null), m = gn(b, c), N = n.length ? n.reduce((
|
|
7397
|
+
const M = ge(), S = ae(), b = J(null), m = gn(b, c), N = n.length ? n.reduce((R, U) => R + U.lng, 0) / n.length : 0, k = J(
|
|
7309
7398
|
typeof window < "u" && !!((ze = window.matchMedia) != null && ze.call(window, "(prefers-reduced-motion: reduce)").matches)
|
|
7310
7399
|
), w = J({ lng: -N, lat: s }), y = J({ lng: 0, lat: 0 }), $ = J(1), g = J(null), C = J(null), A = J(!1), B = J(0), L = J(0), E = J(0), [, F] = D(0), [T, O] = D(!1), [q, H] = D(null), V = () => {
|
|
7311
7400
|
L.current || (E.current = performance.now(), L.current = requestAnimationFrame(P));
|
|
7312
7401
|
};
|
|
7313
|
-
function P(
|
|
7314
|
-
const U = Math.min(0.05, (
|
|
7315
|
-
E.current =
|
|
7402
|
+
function P(R) {
|
|
7403
|
+
const U = Math.min(0.05, (R - E.current) / 1e3);
|
|
7404
|
+
E.current = R, B.current += U;
|
|
7316
7405
|
const Y = y.current, ye = Math.abs(Y.lng) + Math.abs(Y.lat) > 0.02;
|
|
7317
7406
|
if (!C.current) if (g.current) {
|
|
7318
7407
|
const Z = Math.min(1, U * 6);
|
|
@@ -7325,54 +7414,54 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7325
7414
|
}), []);
|
|
7326
7415
|
const W = J(f);
|
|
7327
7416
|
W.current = f, pe(() => {
|
|
7328
|
-
const
|
|
7329
|
-
if (!
|
|
7417
|
+
const R = b.current;
|
|
7418
|
+
if (!R) return;
|
|
7330
7419
|
const U = (Y) => {
|
|
7331
7420
|
var Z;
|
|
7332
7421
|
Y.preventDefault();
|
|
7333
7422
|
const ye = Math.max(-240, Math.min(240, Y.deltaMode ? Y.deltaY * 40 : Y.deltaY)), G = $.current * Math.exp(-ye * 12e-4);
|
|
7334
7423
|
$.current = Math.max(0.8, Math.min(1.8, G)), (Z = W.current) == null || Z.call(W, $.current), V(), F((X) => (X + 1) % 1e6);
|
|
7335
7424
|
};
|
|
7336
|
-
return
|
|
7425
|
+
return R.addEventListener("wheel", U, { passive: !1 }), () => R.removeEventListener("wheel", U);
|
|
7337
7426
|
}, []);
|
|
7338
|
-
const K = (
|
|
7427
|
+
const K = (R) => {
|
|
7339
7428
|
var U, Y;
|
|
7340
|
-
(Y = (U =
|
|
7341
|
-
}, te = (
|
|
7429
|
+
(Y = (U = R.target).setPointerCapture) == null || Y.call(U, R.pointerId), C.current = { x: R.clientX, y: R.clientY }, y.current = { lng: 0, lat: 0 }, g.current = null, O(!0), V();
|
|
7430
|
+
}, te = (R) => {
|
|
7342
7431
|
if (!C.current) return;
|
|
7343
|
-
const U = 0.34 / $.current, Y =
|
|
7344
|
-
C.current = { x:
|
|
7345
|
-
}, ie = (
|
|
7432
|
+
const U = 0.34 / $.current, Y = R.clientX - C.current.x, ye = R.clientY - C.current.y;
|
|
7433
|
+
C.current = { x: R.clientX, y: R.clientY }, w.current.lng += Y * U, w.current.lat = Math.max(-85, Math.min(85, w.current.lat + ye * U)), y.current = { lng: Y * U, lat: ye * U };
|
|
7434
|
+
}, ie = (R) => {
|
|
7346
7435
|
var U, Y;
|
|
7347
|
-
C.current && ((Y = (U =
|
|
7348
|
-
}, me = (m / 2 - 6) * $.current, j = m / 2, ee = m / 2, ne = (
|
|
7349
|
-
const U = on(
|
|
7436
|
+
C.current && ((Y = (U = R.target).releasePointerCapture) == null || Y.call(U, R.pointerId), C.current = null, O(!1), V());
|
|
7437
|
+
}, me = (m / 2 - 6) * $.current, j = m / 2, ee = m / 2, ne = (R) => {
|
|
7438
|
+
const U = on(R, w.current.lng, w.current.lat);
|
|
7350
7439
|
return { x: j + me * U[0], y: ee - me * U[1], z: U[2] };
|
|
7351
7440
|
}, $e = Oe(() => {
|
|
7352
7441
|
const U = [];
|
|
7353
7442
|
for (let Y = -180; Y < 180; Y += 30) {
|
|
7354
7443
|
const ye = [];
|
|
7355
|
-
for (let G = 0; G <= 48; G++) ye.push(
|
|
7444
|
+
for (let G = 0; G <= 48; G++) ye.push(It(-90 + 180 * G / 48, Y));
|
|
7356
7445
|
U.push(ye);
|
|
7357
7446
|
}
|
|
7358
7447
|
for (let Y = -60; Y <= 60; Y += 30) {
|
|
7359
7448
|
const ye = [];
|
|
7360
|
-
for (let G = 0; G <= 48; G++) ye.push(
|
|
7449
|
+
for (let G = 0; G <= 48; G++) ye.push(It(Y, -180 + 360 * G / 48));
|
|
7361
7450
|
U.push(ye);
|
|
7362
7451
|
}
|
|
7363
7452
|
return U;
|
|
7364
7453
|
}, []), xe = Oe(
|
|
7365
|
-
() =>
|
|
7454
|
+
() => ur.map((R) => {
|
|
7366
7455
|
const U = [];
|
|
7367
|
-
for (let Y = 0; Y <
|
|
7456
|
+
for (let Y = 0; Y < R.length; Y += 2) U.push(It(R[Y + 1], R[Y]));
|
|
7368
7457
|
return U;
|
|
7369
7458
|
}),
|
|
7370
7459
|
[]
|
|
7371
|
-
), Ne = (
|
|
7460
|
+
), Ne = (R) => ({ x: j + me * R[0], y: ee - me * R[1] });
|
|
7372
7461
|
let Me = "", se = "";
|
|
7373
7462
|
if (p)
|
|
7374
|
-
for (const
|
|
7375
|
-
const U =
|
|
7463
|
+
for (const R of xe) {
|
|
7464
|
+
const U = R.map((Z) => on(Z, w.current.lng, w.current.lat)), Y = U.length;
|
|
7376
7465
|
let ye = !1;
|
|
7377
7466
|
for (const Z of U)
|
|
7378
7467
|
if (Z[2] > 0) {
|
|
@@ -7405,33 +7494,33 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7405
7494
|
Me += Z(G[G.length - 1], G[0]), Me += "Z";
|
|
7406
7495
|
}
|
|
7407
7496
|
}
|
|
7408
|
-
const ke = (
|
|
7497
|
+
const ke = (R) => {
|
|
7409
7498
|
let U = "", Y = !1;
|
|
7410
|
-
for (const ye of
|
|
7499
|
+
for (const ye of R) {
|
|
7411
7500
|
const G = ne(ye);
|
|
7412
7501
|
G.z > 0 ? (U += `${Y ? "L" : "M"}${G.x.toFixed(1)},${G.y.toFixed(1)}`, Y = !0) : Y = !1;
|
|
7413
7502
|
}
|
|
7414
7503
|
return U;
|
|
7415
|
-
}, Te = Math.max(1, ...n.map((
|
|
7416
|
-
const Y = ne(
|
|
7504
|
+
}, Te = Math.max(1, ...n.map((R) => R.value ?? 0)), de = n.map((R, U) => {
|
|
7505
|
+
const Y = ne(It(R.lat, R.lng));
|
|
7417
7506
|
return {
|
|
7418
|
-
...
|
|
7507
|
+
...R,
|
|
7419
7508
|
i: U,
|
|
7420
7509
|
p: Y,
|
|
7421
7510
|
vis: Y.z > 0,
|
|
7422
|
-
r: 3 + Math.max(0,
|
|
7423
|
-
col:
|
|
7511
|
+
r: 3 + Math.max(0, R.value ?? 0) / Te * 6,
|
|
7512
|
+
col: R.color ?? i
|
|
7424
7513
|
};
|
|
7425
|
-
}), Ee = q != null ? n[q] : null, Ue = 0.16, De = l.map((
|
|
7426
|
-
const Y =
|
|
7514
|
+
}), Ee = q != null ? n[q] : null, Ue = 0.16, De = l.map((R, U) => {
|
|
7515
|
+
const Y = It(R.from.lat, R.from.lng), ye = It(R.to.lat, R.to.lng);
|
|
7427
7516
|
let G = "", Z = !1;
|
|
7428
7517
|
for (let ve = 0; ve <= 40; ve++) {
|
|
7429
7518
|
const we = ve / 40, Be = Hl(Y, ye, we), Fe = 1 + 0.34 * Math.sin(Math.PI * we), Se = on(Be, w.current.lng, w.current.lat), Ce = ne([Be[0] * Fe, Be[1] * Fe, Be[2] * Fe]);
|
|
7430
7519
|
Se[2] > -0.05 ? (G += `${Z ? "L" : "M"}${Ce.x.toFixed(1)},${Ce.y.toFixed(1)}`, Z = !0) : Z = !1;
|
|
7431
7520
|
}
|
|
7432
|
-
const X = k.current ? 0.5 : (B.current * Ue + U * 0.27) % 1, Q = Hl(Y, ye, X), le = 1 + 0.34 * Math.sin(Math.PI * X), he = on(Q, w.current.lng, w.current.lat), fe = ne([Q[0] * le, Q[1] * le, Q[2] * le]), _e = Ee != null && (jl(
|
|
7433
|
-
return { d: G, col:
|
|
7434
|
-
}), Pe = Ee != null, Ke = d ? [...n].sort((
|
|
7521
|
+
const X = k.current ? 0.5 : (B.current * Ue + U * 0.27) % 1, Q = Hl(Y, ye, X), le = 1 + 0.34 * Math.sin(Math.PI * X), he = on(Q, w.current.lng, w.current.lat), fe = ne([Q[0] * le, Q[1] * le, Q[2] * le]), _e = Ee != null && (jl(R.from, Ee) || jl(R.to, Ee));
|
|
7522
|
+
return { d: G, col: R.color ?? i, i: U, flow: { ...fe, vis: he[2] > 0 }, active: _e };
|
|
7523
|
+
}), Pe = Ee != null, Ke = d ? [...n].sort((R, U) => (U.value ?? 0) - (R.value ?? 0)).slice(0, 6) : [];
|
|
7435
7524
|
return /* @__PURE__ */ u("div", { ref: x, ..._, className: `select-globe${v ? " " + v : ""}`, children: [
|
|
7436
7525
|
/* @__PURE__ */ u(
|
|
7437
7526
|
"div",
|
|
@@ -7442,8 +7531,8 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7442
7531
|
onPointerEnter: () => {
|
|
7443
7532
|
A.current = !0;
|
|
7444
7533
|
},
|
|
7445
|
-
onPointerLeave: (
|
|
7446
|
-
A.current = !1, ie(
|
|
7534
|
+
onPointerLeave: (R) => {
|
|
7535
|
+
A.current = !1, ie(R), H(null), S.hide(), V();
|
|
7447
7536
|
},
|
|
7448
7537
|
onPointerDown: K,
|
|
7449
7538
|
onPointerMove: te,
|
|
@@ -7506,83 +7595,83 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7506
7595
|
stroke: `color-mix(in srgb, ${i} 68%, transparent)`
|
|
7507
7596
|
}
|
|
7508
7597
|
),
|
|
7509
|
-
$e.map((
|
|
7510
|
-
De.map((
|
|
7598
|
+
$e.map((R, U) => /* @__PURE__ */ e("path", { d: ke(R), className: "select-globe__grid" }, `g${U}`)),
|
|
7599
|
+
De.map((R) => /* @__PURE__ */ u(
|
|
7511
7600
|
"g",
|
|
7512
7601
|
{
|
|
7513
7602
|
className: "select-globe__arcgrp",
|
|
7514
|
-
style: { opacity: Pe && !
|
|
7603
|
+
style: { opacity: Pe && !R.active ? 0.18 : 1 },
|
|
7515
7604
|
children: [
|
|
7516
7605
|
/* @__PURE__ */ e(
|
|
7517
7606
|
"path",
|
|
7518
7607
|
{
|
|
7519
|
-
d:
|
|
7608
|
+
d: R.d,
|
|
7520
7609
|
className: "select-globe__arc",
|
|
7521
|
-
stroke:
|
|
7522
|
-
strokeWidth:
|
|
7610
|
+
stroke: R.col === i ? `url(#${M}-arc)` : R.col,
|
|
7611
|
+
strokeWidth: R.active ? 2.5 : 1.75
|
|
7523
7612
|
}
|
|
7524
7613
|
),
|
|
7525
|
-
|
|
7614
|
+
R.flow.vis && /* @__PURE__ */ e(
|
|
7526
7615
|
"circle",
|
|
7527
7616
|
{
|
|
7528
|
-
cx:
|
|
7529
|
-
cy:
|
|
7530
|
-
r:
|
|
7531
|
-
fill:
|
|
7617
|
+
cx: R.flow.x,
|
|
7618
|
+
cy: R.flow.y,
|
|
7619
|
+
r: R.active ? 3 : 2.2,
|
|
7620
|
+
fill: R.col,
|
|
7532
7621
|
className: "select-globe__flow",
|
|
7533
|
-
style: { filter: `drop-shadow(0 0 4px ${
|
|
7622
|
+
style: { filter: `drop-shadow(0 0 4px ${R.col})` }
|
|
7534
7623
|
}
|
|
7535
7624
|
)
|
|
7536
7625
|
]
|
|
7537
7626
|
},
|
|
7538
|
-
`a${
|
|
7627
|
+
`a${R.i}`
|
|
7539
7628
|
))
|
|
7540
7629
|
] }),
|
|
7541
|
-
de.filter((
|
|
7542
|
-
const U = q ===
|
|
7630
|
+
de.filter((R) => R.vis).map((R) => {
|
|
7631
|
+
const U = q === R.i;
|
|
7543
7632
|
return /* @__PURE__ */ u("g", { style: { opacity: Pe && !U ? 0.45 : 1 }, children: [
|
|
7544
|
-
/* @__PURE__ */ e("circle", { cx:
|
|
7545
|
-
U && /* @__PURE__ */ e("circle", { cx:
|
|
7633
|
+
/* @__PURE__ */ e("circle", { cx: R.p.x, cy: R.p.y, r: R.r, fill: R.col, className: "select-globe__pulse" }),
|
|
7634
|
+
U && /* @__PURE__ */ e("circle", { cx: R.p.x, cy: R.p.y, r: R.r + 4, fill: "none", stroke: R.col, strokeWidth: 1.5, opacity: 0.6 }),
|
|
7546
7635
|
/* @__PURE__ */ e(
|
|
7547
7636
|
"circle",
|
|
7548
7637
|
{
|
|
7549
|
-
cx:
|
|
7550
|
-
cy:
|
|
7551
|
-
r: U ?
|
|
7552
|
-
fill:
|
|
7638
|
+
cx: R.p.x,
|
|
7639
|
+
cy: R.p.y,
|
|
7640
|
+
r: U ? R.r + 1.5 : R.r,
|
|
7641
|
+
fill: R.col,
|
|
7553
7642
|
className: "select-globe__point",
|
|
7554
7643
|
onPointerEnter: () => {
|
|
7555
|
-
H(
|
|
7556
|
-
x:
|
|
7557
|
-
y:
|
|
7558
|
-
place:
|
|
7559
|
-
title:
|
|
7560
|
-
rows:
|
|
7644
|
+
H(R.i), S.show({
|
|
7645
|
+
x: R.p.x,
|
|
7646
|
+
y: R.p.y - R.r - 4,
|
|
7647
|
+
place: R.p.y < ee ? "bottom" : "top",
|
|
7648
|
+
title: R.label,
|
|
7649
|
+
rows: R.value != null ? [{ label: "Volume", value: o(R.value), color: R.col }] : []
|
|
7561
7650
|
});
|
|
7562
7651
|
},
|
|
7563
7652
|
onPointerLeave: () => {
|
|
7564
7653
|
H(null), S.hide();
|
|
7565
7654
|
},
|
|
7566
7655
|
onClick: () => {
|
|
7567
|
-
g.current = { lng: -
|
|
7656
|
+
g.current = { lng: -R.lng, lat: s }, V();
|
|
7568
7657
|
}
|
|
7569
7658
|
}
|
|
7570
7659
|
)
|
|
7571
|
-
] }, `m${
|
|
7660
|
+
] }, `m${R.i}`);
|
|
7572
7661
|
})
|
|
7573
7662
|
] }),
|
|
7574
7663
|
/* @__PURE__ */ e(re, { tip: S.tip })
|
|
7575
7664
|
]
|
|
7576
7665
|
}
|
|
7577
7666
|
),
|
|
7578
|
-
Ke.length > 0 && /* @__PURE__ */ e("ul", { className: "select-donut__legend", children: Ke.map((
|
|
7579
|
-
/* @__PURE__ */ e("span", { className: "select-donut__dot", style: { background:
|
|
7580
|
-
/* @__PURE__ */ e("span", { className: "select-donut__leglabel", children:
|
|
7581
|
-
|
|
7667
|
+
Ke.length > 0 && /* @__PURE__ */ e("ul", { className: "select-donut__legend", children: Ke.map((R, U) => /* @__PURE__ */ u("li", { className: "select-donut__legitem", children: [
|
|
7668
|
+
/* @__PURE__ */ e("span", { className: "select-donut__dot", style: { background: R.color ?? i } }),
|
|
7669
|
+
/* @__PURE__ */ e("span", { className: "select-donut__leglabel", children: R.label }),
|
|
7670
|
+
R.value != null && /* @__PURE__ */ e("span", { className: "select-donut__legval", children: o(R.value) })
|
|
7582
7671
|
] }, U)) })
|
|
7583
7672
|
] });
|
|
7584
7673
|
});
|
|
7585
|
-
function
|
|
7674
|
+
function Mi({ children: t, speed: n = 28, className: l, ...c }) {
|
|
7586
7675
|
const s = J(null), a = J(null), r = J(null), i = gn(s, 0), o = gn(r, 0), d = i > 0 && o > i + 1, p = J(0), h = J(null), f = J(!1);
|
|
7587
7676
|
pe(() => {
|
|
7588
7677
|
var k;
|
|
@@ -7630,7 +7719,7 @@ function gi({ children: t, speed: n = 28, className: l, ...c }) {
|
|
|
7630
7719
|
}
|
|
7631
7720
|
);
|
|
7632
7721
|
}
|
|
7633
|
-
function
|
|
7722
|
+
function wi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
7634
7723
|
var L;
|
|
7635
7724
|
const { ref: a, width: r } = be(n), i = ae(), o = ge(), [d, p] = D(null), h = { ...lt, right: 44 }, f = [...t].sort((E, F) => F.value - E.value), v = f.length, _ = f.reduce((E, F) => E + F.value, 0) || 1;
|
|
7636
7725
|
let x = 0;
|
|
@@ -7697,7 +7786,7 @@ function bi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
|
7697
7786
|
/* @__PURE__ */ e(re, { tip: i.tip })
|
|
7698
7787
|
] });
|
|
7699
7788
|
}
|
|
7700
|
-
const
|
|
7789
|
+
const ki = I(function({ segments: n, cols: l = 10, rows: c = 10, format: s = ce, className: a, ...r }, i) {
|
|
7701
7790
|
const o = n.reduce((x, M) => x + M.value, 0) || 1, d = l * c, p = n.map((x) => x.value / o * d), h = p.map(Math.floor);
|
|
7702
7791
|
let f = h.reduce((x, M) => x + M, 0);
|
|
7703
7792
|
const v = p.map((x, M) => ({ i: M, frac: x - h[M] })).sort((x, M) => M.frac - x.frac);
|
|
@@ -7716,7 +7805,7 @@ const xi = R(function({ segments: n, cols: l = 10, rows: c = 10, format: s = ce,
|
|
|
7716
7805
|
] }, M)) })
|
|
7717
7806
|
] });
|
|
7718
7807
|
});
|
|
7719
|
-
function
|
|
7808
|
+
function $i({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", height: c, format: s = ce, leftColor: a, rightColor: r, centerWidth: i = 84, className: o, ...d }) {
|
|
7720
7809
|
const p = c ?? Math.max(180, t.length * 40 + 36), { ref: h, width: f } = be(p), v = ae(), [_, x] = D(null), M = 8, S = 26, b = 8, m = Math.max(1, ...t.flatMap((A) => [A.left, A.right])), N = Math.max(0, (f - i - M * 2) / 2), k = t.length ? (p - S - b) / t.length : 0, w = Math.min(k * 0.6, 26), y = M + N, $ = M + N + i, g = a ?? z(1), C = r ?? z(0);
|
|
7721
7810
|
return /* @__PURE__ */ u("div", { ...d, className: `select-chart-wrap${o ? " " + o : ""}`, ref: h, children: [
|
|
7722
7811
|
f > 0 && /* @__PURE__ */ u("svg", { width: f, height: p, className: "select-chart", onMouseLeave: () => {
|
|
@@ -7770,7 +7859,7 @@ function yi({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", hei
|
|
|
7770
7859
|
/* @__PURE__ */ e(re, { tip: v.tip })
|
|
7771
7860
|
] });
|
|
7772
7861
|
}
|
|
7773
|
-
function
|
|
7862
|
+
function Si({ series: t, labels: n, height: l = 240, format: c = ce, className: s, ...a }) {
|
|
7774
7863
|
const { ref: r, width: i } = be(l), o = ae(), [d, p] = D(null), h = { top: 16, right: 78, bottom: 28, left: 28 }, f = n.length, v = t.length, _ = Math.max(0, i - h.left - h.right), x = l - h.top - h.bottom, M = t.map(() => new Array(f).fill(0));
|
|
7775
7864
|
for (let m = 0; m < f; m++)
|
|
7776
7865
|
t.map((k, w) => ({ si: w, v: k.data[m] ?? 0 })).sort((k, w) => w.v - k.v).forEach((k, w) => {
|
|
@@ -7818,7 +7907,7 @@ function Ni({ series: t, labels: n, height: l = 240, format: c = ce, className:
|
|
|
7818
7907
|
/* @__PURE__ */ e(re, { tip: o.tip })
|
|
7819
7908
|
] });
|
|
7820
7909
|
}
|
|
7821
|
-
function
|
|
7910
|
+
function Ci({ axes: t, data: n, height: l = 260, format: c = ce, className: s, ...a }) {
|
|
7822
7911
|
const { ref: r, width: i } = be(l), o = ae(), [d, p] = D(null), h = { top: 30, right: 28, bottom: 26, left: 28 }, f = Math.max(0, i - h.left - h.right), v = l - h.top - h.bottom, _ = t.length, x = (b) => h.left + (_ <= 1 ? f / 2 : f / (_ - 1) * b), M = t.map((b) => {
|
|
7823
7912
|
const m = n.map((N) => N.values[b.key] ?? 0);
|
|
7824
7913
|
return { min: Math.min(...m), max: Math.max(...m) };
|
|
@@ -7875,7 +7964,7 @@ function pn(t) {
|
|
|
7875
7964
|
function Ic(t, n = 0) {
|
|
7876
7965
|
return !t.children || !t.children.length ? n : Math.max(...t.children.map((l) => Ic(l, n + 1)));
|
|
7877
7966
|
}
|
|
7878
|
-
function
|
|
7967
|
+
function Li({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
7879
7968
|
const { ref: a, width: r } = be(n), i = ae(), [o, d] = D(null), p = Ic(t), h = n / (p + 1), f = [], v = (_, x, M, S, b) => {
|
|
7880
7969
|
if (f.push({ node: _, x0: x, x1: M, depth: S, color: _.color ?? z(b), value: pn(_) }), _.children && _.children.length) {
|
|
7881
7970
|
const m = _.children.reduce((k, w) => k + pn(w), 0) || 1;
|
|
@@ -7919,7 +8008,7 @@ function wi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
|
7919
8008
|
/* @__PURE__ */ e(re, { tip: i.tip })
|
|
7920
8009
|
] });
|
|
7921
8010
|
}
|
|
7922
|
-
function
|
|
8011
|
+
function Ai({ data: t, height: n = 260, className: l, ...c }) {
|
|
7923
8012
|
const { ref: s, width: a } = be(n), r = ae(), [i, o] = D(null), d = { top: 14, right: 96, bottom: 14, left: 16 };
|
|
7924
8013
|
let p = null;
|
|
7925
8014
|
if (a > 0) {
|
|
@@ -7989,7 +8078,7 @@ function ki({ data: t, height: n = 260, className: l, ...c }) {
|
|
|
7989
8078
|
/* @__PURE__ */ e(re, { tip: r.tip })
|
|
7990
8079
|
] });
|
|
7991
8080
|
}
|
|
7992
|
-
const
|
|
8081
|
+
const Ei = I(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
7993
8082
|
const r = Math.min(3, n.length), i = l / 2, o = l / 2, d = Math.max(1, ...n.slice(0, r).map((v) => v.size)), p = l * 0.26, h = (v) => p * 0.45 + p * 0.55 * Math.sqrt(v.size / d), f = r <= 2 ? [
|
|
7994
8083
|
[i - p * 0.42, o],
|
|
7995
8084
|
[i + p * 0.42, o]
|
|
@@ -8037,7 +8126,7 @@ const $i = R(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
|
8037
8126
|
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: v.size.toLocaleString("pt-BR") })
|
|
8038
8127
|
] }, _)) })
|
|
8039
8128
|
] });
|
|
8040
|
-
}),
|
|
8129
|
+
}), Bi = I(function({ data: n, size: l = 260, format: c = ce, className: s, ...a }, r) {
|
|
8041
8130
|
const i = ae(), [o, d] = D(null), p = Math.max(1, ...n.map((g) => g.value)), h = n.map((g, C) => ({ d: g, i: C, r: 8 + Math.sqrt(g.value / p) * 40 })).sort((g, C) => C.r - g.r), f = [];
|
|
8042
8131
|
for (const g of h) {
|
|
8043
8132
|
if (f.length === 0) {
|
|
@@ -8093,7 +8182,7 @@ const $i = R(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
|
8093
8182
|
/* @__PURE__ */ e(re, { tip: i.tip })
|
|
8094
8183
|
] });
|
|
8095
8184
|
});
|
|
8096
|
-
function
|
|
8185
|
+
function Fi({ nodes: t, links: n, height: l = 300, format: c = ce, className: s, ...a }) {
|
|
8097
8186
|
const { ref: r, width: i } = be(l), o = ae(), [d, p] = D(null), h = Oe(() => {
|
|
8098
8187
|
const _ = i || l, x = l, M = t.length, S = /* @__PURE__ */ new Map();
|
|
8099
8188
|
if (!M) return S;
|
|
@@ -8183,11 +8272,11 @@ const Rn = [
|
|
|
8183
8272
|
{ value: "dark", label: "Escuro", icon: /* @__PURE__ */ e(rs, {}) },
|
|
8184
8273
|
{ value: "system", label: "Sistema", icon: /* @__PURE__ */ e(Yl, {}) }
|
|
8185
8274
|
];
|
|
8186
|
-
function
|
|
8275
|
+
function Ii(t) {
|
|
8187
8276
|
var n;
|
|
8188
8277
|
return t === "system" ? (n = window.matchMedia) != null && n.call(window, "(prefers-color-scheme: dark)").matches ? "dark" : "light" : t;
|
|
8189
8278
|
}
|
|
8190
|
-
function
|
|
8279
|
+
function Ri({ value: t, onChange: n, className: l, ...c }) {
|
|
8191
8280
|
const [s, a] = D(!1), r = J(null), i = Rn.find((o) => o.value === t) ?? Rn[2];
|
|
8192
8281
|
return pe(() => {
|
|
8193
8282
|
if (!s) return;
|
|
@@ -8216,7 +8305,7 @@ function Ai({ value: t, onChange: n, className: l, ...c }) {
|
|
|
8216
8305
|
] });
|
|
8217
8306
|
}
|
|
8218
8307
|
const Rc = Gn(!1);
|
|
8219
|
-
function
|
|
8308
|
+
function Ti({
|
|
8220
8309
|
children: t,
|
|
8221
8310
|
stacked: n = !1,
|
|
8222
8311
|
loading: l = !1
|
|
@@ -8224,14 +8313,14 @@ function Ei({
|
|
|
8224
8313
|
const c = wn({ selector: ".select-detail", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
|
|
8225
8314
|
return /* @__PURE__ */ e(Rc.Provider, { value: l, children: /* @__PURE__ */ e("div", { className: `select-detaillist${n ? " select-detaillist--stacked" : ""}`, ref: c, children: t }) });
|
|
8226
8315
|
}
|
|
8227
|
-
const
|
|
8316
|
+
const Pi = I(function({ label: n, children: l, action: c, align: s = "center", loading: a, className: r, ...i }, o) {
|
|
8228
8317
|
const d = Vn(Rc), p = a ?? d;
|
|
8229
8318
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-detail select-detail--${s}${r ? " " + r : ""}`, children: [
|
|
8230
8319
|
/* @__PURE__ */ e("div", { className: "select-detail__label", children: n }),
|
|
8231
8320
|
/* @__PURE__ */ e("div", { className: "select-detail__value", children: p ? /* @__PURE__ */ e("span", { className: "select-skeleton select-detail__skel" }) : l }),
|
|
8232
8321
|
c && /* @__PURE__ */ e("div", { className: "select-detail__action", children: c })
|
|
8233
8322
|
] });
|
|
8234
|
-
}),
|
|
8323
|
+
}), Di = I(function({ steps: n, current: l, onSelect: c, orientation: s = "horizontal", className: a, ...r }, i) {
|
|
8235
8324
|
const o = s === "vertical";
|
|
8236
8325
|
return /* @__PURE__ */ e(
|
|
8237
8326
|
"ol",
|
|
@@ -8251,7 +8340,7 @@ const Bi = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
8251
8340
|
})
|
|
8252
8341
|
}
|
|
8253
8342
|
);
|
|
8254
|
-
}),
|
|
8343
|
+
}), Wi = I(function({ name: n, price: l, priceSuffix: c, headerAction: s, summary: a, cta: r, featuresTitle: i, features: o, featured: d = !1, className: p, ...h }, f) {
|
|
8255
8344
|
return /* @__PURE__ */ u("div", { ref: f, ...h, className: `select-plan${d ? " select-plan--featured" : ""}${p ? " " + p : ""}`, children: [
|
|
8256
8345
|
/* @__PURE__ */ u("div", { className: "select-plan__top", children: [
|
|
8257
8346
|
/* @__PURE__ */ u("div", { className: "select-plan__head", children: [
|
|
@@ -8273,7 +8362,7 @@ const Bi = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
8273
8362
|
] }, _)) })
|
|
8274
8363
|
] })
|
|
8275
8364
|
] });
|
|
8276
|
-
}),
|
|
8365
|
+
}), Oi = I(function({ title: n, description: l, headerAction: c, footer: s, children: a, className: r, ...i }, o) {
|
|
8277
8366
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-listcard${r ? " " + r : ""}`, children: [
|
|
8278
8367
|
(n || c) && /* @__PURE__ */ u("div", { className: "select-listcard__head", children: [
|
|
8279
8368
|
/* @__PURE__ */ u("div", { className: "select-listcard__heading", children: [
|
|
@@ -8286,7 +8375,7 @@ const Bi = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
8286
8375
|
s && /* @__PURE__ */ e("div", { className: "select-listcard__footer", children: s })
|
|
8287
8376
|
] });
|
|
8288
8377
|
});
|
|
8289
|
-
function
|
|
8378
|
+
function Hi({
|
|
8290
8379
|
media: t,
|
|
8291
8380
|
title: n,
|
|
8292
8381
|
secondary: l,
|
|
@@ -8304,7 +8393,7 @@ function Ti({
|
|
|
8304
8393
|
] }), i = `select-listrow${s ? " select-listrow--muted" : ""}`;
|
|
8305
8394
|
return a ? /* @__PURE__ */ e("button", { type: "button", className: `${i} select-listrow--clickable`, onClick: a, children: r }) : /* @__PURE__ */ e("div", { className: i, children: r });
|
|
8306
8395
|
}
|
|
8307
|
-
const Zl =
|
|
8396
|
+
const Zl = I(function({ src: n, alt: l = "", size: c = 40, className: s, ...a }, r) {
|
|
8308
8397
|
const [i, o] = D(!1);
|
|
8309
8398
|
return pe(() => o(!1), [n]), /* @__PURE__ */ e("span", { ref: r, ...a, className: `select-thumb${s ? " " + s : ""}`, style: { width: c, height: c }, children: n && !i ? /* @__PURE__ */ e(
|
|
8310
8399
|
"img",
|
|
@@ -8317,7 +8406,7 @@ const Zl = R(function({ src: n, alt: l = "", size: c = 40, className: s, ...a },
|
|
|
8317
8406
|
}
|
|
8318
8407
|
) : /* @__PURE__ */ e("span", { className: "select-thumb__ph", "aria-hidden": "true", children: /* @__PURE__ */ e(ss, {}) }) });
|
|
8319
8408
|
});
|
|
8320
|
-
function
|
|
8409
|
+
function pr({
|
|
8321
8410
|
open: t,
|
|
8322
8411
|
onClose: n,
|
|
8323
8412
|
src: l,
|
|
@@ -8326,7 +8415,7 @@ function hr({
|
|
|
8326
8415
|
}) {
|
|
8327
8416
|
return /* @__PURE__ */ e($n, { open: t, onClose: n, title: s, size: "lg", theme: Qt(), children: /* @__PURE__ */ e("div", { className: "select-imagezoom", children: /* @__PURE__ */ e("img", { src: l, alt: c ?? s ?? "", className: "select-imagezoom__img" }) }) });
|
|
8328
8417
|
}
|
|
8329
|
-
function
|
|
8418
|
+
function ji({
|
|
8330
8419
|
src: t,
|
|
8331
8420
|
alt: n = "",
|
|
8332
8421
|
size: l = 40,
|
|
@@ -8346,10 +8435,10 @@ function Pi({
|
|
|
8346
8435
|
children: /* @__PURE__ */ e(Zl, { src: t, size: l, alt: n })
|
|
8347
8436
|
}
|
|
8348
8437
|
),
|
|
8349
|
-
s && /* @__PURE__ */ e(
|
|
8438
|
+
s && /* @__PURE__ */ e(pr, { open: !0, onClose: () => a(!1), src: t, alt: n, title: c ?? n })
|
|
8350
8439
|
] }) : /* @__PURE__ */ e(Zl, { size: l, alt: n });
|
|
8351
8440
|
}
|
|
8352
|
-
const
|
|
8441
|
+
const Zi = I(function({ media: n, title: l, secondary: c, className: s, ...a }, r) {
|
|
8353
8442
|
return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-mediacell${s ? " " + s : ""}`, children: [
|
|
8354
8443
|
n && /* @__PURE__ */ e("span", { className: "select-mediacell__media", children: n }),
|
|
8355
8444
|
/* @__PURE__ */ u("span", { className: "select-mediacell__text", children: [
|
|
@@ -8358,7 +8447,7 @@ const Di = R(function({ media: n, title: l, secondary: c, className: s, ...a },
|
|
|
8358
8447
|
] })
|
|
8359
8448
|
] });
|
|
8360
8449
|
});
|
|
8361
|
-
function
|
|
8450
|
+
function Vi() {
|
|
8362
8451
|
const [t, n] = D(
|
|
8363
8452
|
() => typeof navigator < "u" && navigator.onLine === !1
|
|
8364
8453
|
);
|
|
@@ -8378,11 +8467,11 @@ function Wi() {
|
|
|
8378
8467
|
theme: Qt(),
|
|
8379
8468
|
title: "Sem conexão",
|
|
8380
8469
|
subtitle: "Você está offline. Assim que a conexão voltar, reconectaremos automaticamente.",
|
|
8381
|
-
children: /* @__PURE__ */ e(
|
|
8470
|
+
children: /* @__PURE__ */ e(Pt, { tone: "warning", children: "Algumas ações ficam indisponíveis até a internet voltar." })
|
|
8382
8471
|
}
|
|
8383
8472
|
);
|
|
8384
8473
|
}
|
|
8385
|
-
function
|
|
8474
|
+
function mr(t) {
|
|
8386
8475
|
return Array.isArray(t) ? t.filter((n) => n != null && typeof n == "object").map((n) => ({
|
|
8387
8476
|
name: String(n.name ?? n.key ?? ""),
|
|
8388
8477
|
value: n.value == null ? "" : String(n.value)
|
|
@@ -8391,8 +8480,8 @@ function ur(t) {
|
|
|
8391
8480
|
value: l == null ? "" : String(l)
|
|
8392
8481
|
})) : [];
|
|
8393
8482
|
}
|
|
8394
|
-
const
|
|
8395
|
-
const f =
|
|
8483
|
+
const Gi = I(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valuePlaceholder: s = "Valor", keyOptions: a, addLabel: r = "Adicionar", max: i, helpText: o = "Linhas vazias serão ignoradas.", className: d, ...p }, h) {
|
|
8484
|
+
const f = mr(n), v = (S, b) => l(f.map((m, N) => N === S ? { ...m, ...b } : m)), _ = (S) => l(f.filter((b, m) => m !== S)), x = () => l([...f, { name: "", value: "" }]), M = i == null || f.length < i;
|
|
8396
8485
|
return /* @__PURE__ */ u("div", { ref: h, ...p, className: `select-kv${d ? " " + d : ""}`, children: [
|
|
8397
8486
|
f.map((S, b) => /* @__PURE__ */ u("div", { className: "select-kv__row", children: [
|
|
8398
8487
|
/* @__PURE__ */ e("div", { className: "select-kv__field", children: a ? /* @__PURE__ */ e(
|
|
@@ -8431,7 +8520,7 @@ const Oi = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
8431
8520
|
] }) }),
|
|
8432
8521
|
o && /* @__PURE__ */ e("p", { className: "select-kv__hint", children: o })
|
|
8433
8522
|
] });
|
|
8434
|
-
}), Vl = (t) => String(t).padStart(2, "0"),
|
|
8523
|
+
}), Vl = (t) => String(t).padStart(2, "0"), fr = {
|
|
8435
8524
|
"en-US": {
|
|
8436
8525
|
weekdays: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
8437
8526
|
months: [
|
|
@@ -8479,7 +8568,7 @@ const Oi = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
8479
8568
|
}, ot = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), dn = (t) => new Date(t.getFullYear(), t.getMonth(), 1), xn = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), Gl = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), hn = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate(), un = (t) => {
|
|
8480
8569
|
const n = /* @__PURE__ */ new Date();
|
|
8481
8570
|
return { from: new Date(n.getTime() - t * 6e4), to: n };
|
|
8482
|
-
},
|
|
8571
|
+
}, _r = [
|
|
8483
8572
|
{ id: "15m", label: "Last 15 minutes", range: () => un(15) },
|
|
8484
8573
|
{ id: "1h", label: "Last 1 hour", range: () => un(60) },
|
|
8485
8574
|
{ id: "3h", label: "Last 3 hours", range: () => un(180) },
|
|
@@ -8490,12 +8579,12 @@ const Oi = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
8490
8579
|
], Mt = (t) => {
|
|
8491
8580
|
const n = ot(/* @__PURE__ */ new Date());
|
|
8492
8581
|
return { from: xn(n, -t), to: n };
|
|
8493
|
-
},
|
|
8582
|
+
}, vr = (t) => {
|
|
8494
8583
|
const n = xn(ot(/* @__PURE__ */ new Date()), -1);
|
|
8495
8584
|
return { from: n, to: n };
|
|
8496
|
-
},
|
|
8585
|
+
}, gr = [
|
|
8497
8586
|
{ id: "today", label: "Hoje", range: () => Mt(0) },
|
|
8498
|
-
{ id: "yesterday", label: "Ontem", range: () =>
|
|
8587
|
+
{ id: "yesterday", label: "Ontem", range: () => vr() },
|
|
8499
8588
|
{ id: "7d", label: "Últimos 7 dias", range: () => Mt(6) },
|
|
8500
8589
|
{ id: "10d", label: "Últimos 10 dias", range: () => Mt(9) },
|
|
8501
8590
|
{ id: "15d", label: "Últimos 15 dias", range: () => Mt(14) },
|
|
@@ -8503,14 +8592,14 @@ const Oi = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
8503
8592
|
{ id: "30d", label: "Últimos 30 dias", range: () => Mt(29) },
|
|
8504
8593
|
{ id: "90d", label: "Últimos 90 dias", range: () => Mt(89) }
|
|
8505
8594
|
];
|
|
8506
|
-
function
|
|
8595
|
+
function br(t) {
|
|
8507
8596
|
if (!t) return "—";
|
|
8508
8597
|
let n = t.getHours();
|
|
8509
8598
|
const l = n < 12 ? "AM" : "PM";
|
|
8510
8599
|
return n = n % 12 || 12, `${n} : ${String(t.getMinutes()).padStart(2, "0")} ${l}`;
|
|
8511
8600
|
}
|
|
8512
|
-
const
|
|
8513
|
-
const v =
|
|
8601
|
+
const xr = I(function({ value: n, presets: l = _r, onApply: c, onCancel: s, accentVar: a, locale: r = "en-US", showTime: i = !0, maxDate: o, embedded: d = !1, className: p, ...h }, f) {
|
|
8602
|
+
const v = fr[r], _ = ot(/* @__PURE__ */ new Date()), x = o ? ot(o) : null, [M, S] = D(n ?? { from: _, to: _ }), [b, m] = D(dn((n == null ? void 0 : n.from) ?? /* @__PURE__ */ new Date())), [N, k] = D(null), w = xn(dn(b), -dn(b).getDay()), y = Array.from({ length: 42 }, (L, E) => xn(w, E)), $ = (L) => x ? ot(L) > x : !1, g = (L) => L ? v.formatDate(L) : /* @__PURE__ */ e("span", { className: "select-datepicker__placeholder", children: "— / — / ——" }), C = (L) => {
|
|
8514
8603
|
$(L) || (k(null), S((E) => !E.from || E.from && E.to ? { from: L, to: null } : L < ot(E.from) ? { from: L, to: null } : { from: E.from, to: L }));
|
|
8515
8604
|
}, A = (L) => {
|
|
8516
8605
|
if (L.disabled || !L.range) return;
|
|
@@ -8541,7 +8630,7 @@ const gr = R(function({ value: n, presets: l = mr, onApply: c, onCancel: s, acce
|
|
|
8541
8630
|
/* @__PURE__ */ e("div", { className: "select-datepicker__fields", children: ["from", "to"].map((L) => /* @__PURE__ */ u("div", { className: "select-datepicker__fieldrow", children: [
|
|
8542
8631
|
/* @__PURE__ */ e("span", { className: "select-datepicker__fieldlabel", children: L === "from" ? v.from : v.to }),
|
|
8543
8632
|
/* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--date", children: g(M[L]) }),
|
|
8544
|
-
i && /* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--time", children:
|
|
8633
|
+
i && /* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--time", children: br(M[L]) })
|
|
8545
8634
|
] }, L)) }),
|
|
8546
8635
|
/* @__PURE__ */ u("div", { className: "select-datepicker__calhead", children: [
|
|
8547
8636
|
/* @__PURE__ */ e(
|
|
@@ -8584,7 +8673,7 @@ const gr = R(function({ value: n, presets: l = mr, onApply: c, onCancel: s, acce
|
|
|
8584
8673
|
] })
|
|
8585
8674
|
] }) });
|
|
8586
8675
|
}), Tn = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), Pn = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate(), Dn = (t) => `${String(t.getDate()).padStart(2, "0")}/${String(t.getMonth() + 1).padStart(2, "0")}/${t.getFullYear()}`;
|
|
8587
|
-
function
|
|
8676
|
+
function yr(t, n) {
|
|
8588
8677
|
var l;
|
|
8589
8678
|
for (const c of n) {
|
|
8590
8679
|
const s = (l = c.range) == null ? void 0 : l.call(c);
|
|
@@ -8592,10 +8681,10 @@ function br(t, n) {
|
|
|
8592
8681
|
}
|
|
8593
8682
|
return Pn(t.start, t.end) ? Dn(t.start) : `${Dn(t.start)} – ${Dn(t.end)}`;
|
|
8594
8683
|
}
|
|
8595
|
-
function
|
|
8684
|
+
function Ui({
|
|
8596
8685
|
value: t,
|
|
8597
8686
|
onChange: n,
|
|
8598
|
-
presets: l =
|
|
8687
|
+
presets: l = gr,
|
|
8599
8688
|
maxDate: c,
|
|
8600
8689
|
placement: s = "bottom-end",
|
|
8601
8690
|
size: a = "md",
|
|
@@ -8620,11 +8709,11 @@ function Hi({
|
|
|
8620
8709
|
icon: /* @__PURE__ */ e(ec, {}),
|
|
8621
8710
|
trailingIcon: /* @__PURE__ */ e(je, {}),
|
|
8622
8711
|
onClick: () => d((h) => !h),
|
|
8623
|
-
children:
|
|
8712
|
+
children: yr(t, l)
|
|
8624
8713
|
}
|
|
8625
8714
|
),
|
|
8626
8715
|
children: /* @__PURE__ */ e(
|
|
8627
|
-
|
|
8716
|
+
xr,
|
|
8628
8717
|
{
|
|
8629
8718
|
embedded: !0,
|
|
8630
8719
|
locale: "pt-BR",
|
|
@@ -8641,35 +8730,7 @@ function Hi({
|
|
|
8641
8730
|
}
|
|
8642
8731
|
);
|
|
8643
8732
|
}
|
|
8644
|
-
|
|
8645
|
-
return /* @__PURE__ */ e("svg", { width: t, height: t, viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
8646
|
-
"path",
|
|
8647
|
-
{
|
|
8648
|
-
fill: "currentColor",
|
|
8649
|
-
d: "M12 .587l3.668 7.431 8.2 1.193-5.934 5.787 1.401 8.169L12 18.896l-7.335 3.871 1.401-8.169L.132 9.211l8.2-1.193z"
|
|
8650
|
-
}
|
|
8651
|
-
) });
|
|
8652
|
-
}
|
|
8653
|
-
const ji = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label: a, disabled: r = !1, className: i, ...o }, d) {
|
|
8654
|
-
const p = !!c && !r, [h, f] = D(null), v = h ?? n;
|
|
8655
|
-
return /* @__PURE__ */ e("div", { ref: d, ...o, className: `select-rating${p ? " select-rating--interactive" : ""}${i ? " " + i : ""}`, role: p ? "slider" : "img", "aria-label": a ?? `Avaliação ${n} de ${l}`, "aria-valuenow": p ? n : void 0, "aria-valuemin": p ? 0 : void 0, "aria-valuemax": p ? l : void 0, onMouseLeave: () => p && f(null), children: Array.from({ length: l }, (_, x) => {
|
|
8656
|
-
const M = x < v, S = /* @__PURE__ */ e("span", { className: `select-rating__star${M ? " is-filled" : ""}`, children: /* @__PURE__ */ e(xr, { size: s }) });
|
|
8657
|
-
return p ? /* @__PURE__ */ e(
|
|
8658
|
-
"button",
|
|
8659
|
-
{
|
|
8660
|
-
type: "button",
|
|
8661
|
-
className: "select-rating__btn",
|
|
8662
|
-
"aria-label": `${x + 1} ${x + 1 === 1 ? "estrela" : "estrelas"}`,
|
|
8663
|
-
onMouseEnter: () => f(x + 1),
|
|
8664
|
-
onFocus: () => f(x + 1),
|
|
8665
|
-
onBlur: () => f(null),
|
|
8666
|
-
onClick: () => c == null ? void 0 : c(x + 1),
|
|
8667
|
-
children: S
|
|
8668
|
-
},
|
|
8669
|
-
x
|
|
8670
|
-
) : /* @__PURE__ */ e("span", { children: S }, x);
|
|
8671
|
-
}) });
|
|
8672
|
-
}), Zi = R(function({ label: n, value: l, onChange: c, min: s, max: a, step: r = 1, decimal: i = !1, disabled: o = !1, hint: d, error: p, onBlur: h, placeholder: f, size: v = "md", className: _, ...x }, M) {
|
|
8733
|
+
const zi = I(function({ label: n, value: l, onChange: c, min: s, max: a, step: r = 1, decimal: i = !1, disabled: o = !1, hint: d, error: p, onBlur: h, placeholder: f, size: v = "md", className: _, ...x }, M) {
|
|
8673
8734
|
const S = ge(), b = (E) => Math.min(a ?? 1 / 0, Math.max(s ?? -1 / 0, E)), m = (E) => Math.round(E * 1e6) / 1e6, N = l ?? 0, k = s != null && N <= s, w = a != null && N >= a, [y, $] = D(!1), [g, C] = D(""), A = i && y ? g : l == null ? "" : String(l), B = (E) => {
|
|
8674
8735
|
const F = i ? E.replace(/[^\d.,-]/g, "").replace(",", ".") : E.replace(/[^\d-]/g, "");
|
|
8675
8736
|
if (i && C(F), F === "" || F === "-" || F === ".") return c(null);
|
|
@@ -8680,7 +8741,7 @@ const ji = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
|
|
|
8680
8741
|
i && C(String(F)), c(F);
|
|
8681
8742
|
};
|
|
8682
8743
|
return /* @__PURE__ */ u("div", { ref: M, ...x, className: `select-field${v === "sm" ? " select-field--sm" : ""}${_ ? " " + _ : ""}`, children: [
|
|
8683
|
-
n && /* @__PURE__ */ e(
|
|
8744
|
+
n && /* @__PURE__ */ e(Tt, { htmlFor: S, label: n }),
|
|
8684
8745
|
/* @__PURE__ */ u("div", { className: "select-numfield", children: [
|
|
8685
8746
|
/* @__PURE__ */ e(
|
|
8686
8747
|
He,
|
|
@@ -8719,7 +8780,7 @@ const ji = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
|
|
|
8719
8780
|
{
|
|
8720
8781
|
variant: "outline",
|
|
8721
8782
|
size: v,
|
|
8722
|
-
icon: /* @__PURE__ */ e(
|
|
8783
|
+
icon: /* @__PURE__ */ e(Ct, {}),
|
|
8723
8784
|
label: "Aumentar",
|
|
8724
8785
|
disabled: o || w,
|
|
8725
8786
|
onClick: () => L(r)
|
|
@@ -8729,7 +8790,7 @@ const ji = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
|
|
|
8729
8790
|
p ? /* @__PURE__ */ e("p", { className: "select-field__error", children: p }) : d ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: d }) : null
|
|
8730
8791
|
] });
|
|
8731
8792
|
});
|
|
8732
|
-
function
|
|
8793
|
+
function qi({
|
|
8733
8794
|
items: t,
|
|
8734
8795
|
onChange: n,
|
|
8735
8796
|
renderRow: l,
|
|
@@ -8765,9 +8826,9 @@ function Vi({
|
|
|
8765
8826
|
t.map((m, N) => {
|
|
8766
8827
|
const k = b(m, N);
|
|
8767
8828
|
return p === "bare" ? /* @__PURE__ */ e("div", { children: l(m, k) }, N) : /* @__PURE__ */ e(Os, { background: "surface", border: !0, borderRadius: "base", padding: "300", children: /* @__PURE__ */ u(Wn, { gap: "200", children: [
|
|
8768
|
-
/* @__PURE__ */ u(
|
|
8829
|
+
/* @__PURE__ */ u(qt, { align: "space-between", blockAlign: "center", gap: "200", children: [
|
|
8769
8830
|
/* @__PURE__ */ e(kt, { as: "span", variant: "bodySm", fontWeight: "medium", tone: "subdued", children: a ? a(N, m) : `#${N + 1}` }),
|
|
8770
|
-
/* @__PURE__ */ u(
|
|
8831
|
+
/* @__PURE__ */ u(qt, { gap: "100", blockAlign: "center", wrap: !1, children: [
|
|
8771
8832
|
d && /* @__PURE__ */ u(ue, { children: [
|
|
8772
8833
|
/* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(tc, {}), label: "Mover para cima", disabled: k.isFirst, onClick: k.moveUp }),
|
|
8773
8834
|
/* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(je, {}), label: "Mover para baixo", disabled: k.isLast, onClick: k.moveDown })
|
|
@@ -8778,13 +8839,13 @@ function Vi({
|
|
|
8778
8839
|
l(m, k)
|
|
8779
8840
|
] }) }, N);
|
|
8780
8841
|
}),
|
|
8781
|
-
/* @__PURE__ */ u(
|
|
8782
|
-
/* @__PURE__ */ e(Re, { variant: "secondary", size: "sm", inline: !0, icon: /* @__PURE__ */ e(
|
|
8842
|
+
/* @__PURE__ */ u(qt, { align: "space-between", blockAlign: "center", gap: "200", children: [
|
|
8843
|
+
/* @__PURE__ */ e(Re, { variant: "secondary", size: "sm", inline: !0, icon: /* @__PURE__ */ e(Ct, {}), disabled: !v, onClick: () => n([...t, c()]), children: s }),
|
|
8783
8844
|
f != null && /* @__PURE__ */ e(kt, { as: "span", variant: "bodyXs", tone: "subdued", children: f })
|
|
8784
8845
|
] })
|
|
8785
8846
|
] });
|
|
8786
8847
|
}
|
|
8787
|
-
function
|
|
8848
|
+
function Yi({
|
|
8788
8849
|
title: t,
|
|
8789
8850
|
subtitle: n,
|
|
8790
8851
|
backTo: l,
|
|
@@ -8807,7 +8868,7 @@ function Gi({
|
|
|
8807
8868
|
primaryAction: { content: a, onAction: c, loading: s, disabled: r },
|
|
8808
8869
|
secondaryActions: i ? [{ content: "Cancelar", onAction: () => h(i), disabled: s }] : void 0,
|
|
8809
8870
|
children: /* @__PURE__ */ u(Wn, { gap: "400", children: [
|
|
8810
|
-
o != null && /* @__PURE__ */ e(
|
|
8871
|
+
o != null && /* @__PURE__ */ e(Pt, { tone: "critical", children: o }),
|
|
8811
8872
|
d != null ? /* @__PURE__ */ u("div", { className: "select-builder-split", children: [
|
|
8812
8873
|
/* @__PURE__ */ e("div", { className: "select-builder-split__form", children: p }),
|
|
8813
8874
|
/* @__PURE__ */ e("div", { className: "select-builder-split__preview", children: d })
|
|
@@ -8816,7 +8877,7 @@ function Gi({
|
|
|
8816
8877
|
}
|
|
8817
8878
|
);
|
|
8818
8879
|
}
|
|
8819
|
-
function
|
|
8880
|
+
function Xi({
|
|
8820
8881
|
title: t,
|
|
8821
8882
|
subtitle: n,
|
|
8822
8883
|
backTo: l,
|
|
@@ -8871,7 +8932,7 @@ function Ui({
|
|
|
8871
8932
|
/* @__PURE__ */ e(Re, { inline: !0, size: "sm", onClick: c, loading: s, disabled: r, children: a })
|
|
8872
8933
|
] })
|
|
8873
8934
|
] }),
|
|
8874
|
-
o != null && o !== "" && /* @__PURE__ */ e("div", { className: "select-bwork__error", children: /* @__PURE__ */ e(
|
|
8935
|
+
o != null && o !== "" && /* @__PURE__ */ e("div", { className: "select-bwork__error", children: /* @__PURE__ */ e(Pt, { tone: "critical", children: o }) }),
|
|
8875
8936
|
/* @__PURE__ */ u("div", { className: "select-bwork__body", children: [
|
|
8876
8937
|
/* @__PURE__ */ u("nav", { className: "select-bwork__rail", "aria-label": "Seções de configuração", children: [
|
|
8877
8938
|
f && /* @__PURE__ */ e("div", { className: "select-bwork__search", children: /* @__PURE__ */ e(nl, { value: N, onChange: k, placeholder: "Buscar ajuste…" }) }),
|
|
@@ -8908,7 +8969,7 @@ function Ui({
|
|
|
8908
8969
|
] })
|
|
8909
8970
|
] });
|
|
8910
8971
|
}
|
|
8911
|
-
const
|
|
8972
|
+
const Ki = I(function({ label: n, checked: l, onChange: c, disabled: s = !1, hint: a, help: r, className: i, ...o }, d) {
|
|
8912
8973
|
return /* @__PURE__ */ u("div", { ref: d, ...o, className: `select-switchfield${s ? " is-disabled" : ""}${i ? " " + i : ""}`, children: [
|
|
8913
8974
|
/* @__PURE__ */ u("div", { className: "select-switchfield__row", children: [
|
|
8914
8975
|
/* @__PURE__ */ e(Qn, { checked: l, onChange: c, disabled: s, label: n }),
|
|
@@ -8926,8 +8987,8 @@ const zi = R(function({ label: n, checked: l, onChange: c, disabled: s = !1, hin
|
|
|
8926
8987
|
] }),
|
|
8927
8988
|
a != null && /* @__PURE__ */ e("span", { className: "select-switchfield__hint", children: a })
|
|
8928
8989
|
] });
|
|
8929
|
-
}),
|
|
8930
|
-
function
|
|
8990
|
+
}), Nr = (t) => /^#[0-9a-fA-F]{6}$/.test(t);
|
|
8991
|
+
function Ji({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error: a }) {
|
|
8931
8992
|
return /* @__PURE__ */ e(
|
|
8932
8993
|
pt,
|
|
8933
8994
|
{
|
|
@@ -8949,7 +9010,7 @@ function qi({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error:
|
|
|
8949
9010
|
{
|
|
8950
9011
|
type: "color",
|
|
8951
9012
|
className: "select-color-swatch",
|
|
8952
|
-
value:
|
|
9013
|
+
value: Nr(n) ? n : "#000000",
|
|
8953
9014
|
onChange: (r) => l(r.target.value),
|
|
8954
9015
|
disabled: c,
|
|
8955
9016
|
"aria-label": t ? `${t} — escolher cor` : "Escolher cor"
|
|
@@ -8958,13 +9019,13 @@ function qi({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error:
|
|
|
8958
9019
|
}
|
|
8959
9020
|
);
|
|
8960
9021
|
}
|
|
8961
|
-
function
|
|
9022
|
+
function Mr(t) {
|
|
8962
9023
|
return new Promise((n, l) => {
|
|
8963
9024
|
const c = new FileReader();
|
|
8964
9025
|
c.onload = () => n(String(c.result)), c.onerror = () => l(c.error), c.readAsDataURL(t);
|
|
8965
9026
|
});
|
|
8966
9027
|
}
|
|
8967
|
-
const
|
|
9028
|
+
const Qi = I(function({ label: n, value: l, onChange: c, accept: s = "image/*", maxSizeMB: a = 3, urlPlaceholder: r, hint: i, uploadFile: o, className: d, ...p }, h) {
|
|
8968
9029
|
const [f, v] = D([]), [_, x] = D(null), M = l ? [l] : [], S = async (b) => {
|
|
8969
9030
|
const m = b[0];
|
|
8970
9031
|
if (!m) {
|
|
@@ -8972,7 +9033,7 @@ const Yi = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8972
9033
|
return;
|
|
8973
9034
|
}
|
|
8974
9035
|
if (x(null), !o) {
|
|
8975
|
-
c(await
|
|
9036
|
+
c(await Mr(m)), v([]);
|
|
8976
9037
|
return;
|
|
8977
9038
|
}
|
|
8978
9039
|
v([m]);
|
|
@@ -9002,7 +9063,7 @@ const Yi = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
9002
9063
|
),
|
|
9003
9064
|
_ && /* @__PURE__ */ e("span", { className: "select-imagefield__error", children: _ })
|
|
9004
9065
|
] });
|
|
9005
|
-
}),
|
|
9066
|
+
}), e2 = I(function({ items: n, multiple: l = !1, defaultOpenIds: c = [], className: s, ...a }, r) {
|
|
9006
9067
|
const [i, o] = D(() => new Set(c)), d = (p) => o((h) => {
|
|
9007
9068
|
const f = h.has(p), v = new Set(l ? h : []);
|
|
9008
9069
|
return f ? v.delete(p) : v.add(p), v;
|
|
@@ -9039,19 +9100,20 @@ const Yi = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
9039
9100
|
}) });
|
|
9040
9101
|
});
|
|
9041
9102
|
export {
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9103
|
+
Ar as AUTH_FX_VARIANTS,
|
|
9104
|
+
Xr as AppleIcon,
|
|
9105
|
+
_o as AppsIcon,
|
|
9045
9106
|
zn as ArrowLeftIcon,
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9107
|
+
Jr as ArrowRightIcon,
|
|
9108
|
+
eo as AtIcon,
|
|
9109
|
+
zr as AuthAppIcon,
|
|
9110
|
+
Vr as BellIcon,
|
|
9111
|
+
Dr as BookmarkIcon,
|
|
9112
|
+
po as BroadcastIcon,
|
|
9113
|
+
no as BuildingIcon,
|
|
9052
9114
|
ec as CalendarIcon,
|
|
9053
|
-
|
|
9054
|
-
|
|
9115
|
+
go as CartIcon,
|
|
9116
|
+
mo as ChartLineIcon,
|
|
9055
9117
|
is as CheckCircleIcon,
|
|
9056
9118
|
et as CheckIcon,
|
|
9057
9119
|
je as ChevronDownIcon,
|
|
@@ -9059,258 +9121,261 @@ export {
|
|
|
9059
9121
|
Jt as ChevronRightIcon,
|
|
9060
9122
|
tc as ChevronUpIcon,
|
|
9061
9123
|
hs as ClipboardIcon,
|
|
9062
|
-
|
|
9063
|
-
|
|
9124
|
+
Pr as ClockIcon,
|
|
9125
|
+
St as CloseIcon,
|
|
9064
9126
|
Yn as CopyIcon,
|
|
9065
|
-
|
|
9127
|
+
ao as CreditCardIcon,
|
|
9066
9128
|
ss as CubeIcon,
|
|
9067
|
-
|
|
9068
|
-
|
|
9069
|
-
|
|
9070
|
-
|
|
9129
|
+
uo as DiscountIcon,
|
|
9130
|
+
Tr as DotsHorizontalIcon,
|
|
9131
|
+
ro as EditIcon,
|
|
9132
|
+
ho as ExportIcon,
|
|
9071
9133
|
Xn as ExternalLinkIcon,
|
|
9072
9134
|
Kl as EyeIcon,
|
|
9073
9135
|
Jl as EyeOffIcon,
|
|
9074
|
-
|
|
9075
|
-
|
|
9076
|
-
|
|
9136
|
+
Yr as FacebookIcon,
|
|
9137
|
+
Rr as FilterIcon,
|
|
9138
|
+
Ir as GithubIcon,
|
|
9077
9139
|
ns as GlobeIcon,
|
|
9078
|
-
|
|
9079
|
-
|
|
9080
|
-
|
|
9140
|
+
Fr as GoogleIcon,
|
|
9141
|
+
jr as HelpIcon,
|
|
9142
|
+
co as HomeIcon,
|
|
9081
9143
|
Mn as InfoIcon,
|
|
9082
|
-
|
|
9083
|
-
|
|
9084
|
-
|
|
9085
|
-
|
|
9086
|
-
|
|
9144
|
+
lo as KeyIcon,
|
|
9145
|
+
io as LockIcon,
|
|
9146
|
+
qr as MailIcon,
|
|
9147
|
+
bo as MenuIcon,
|
|
9148
|
+
vo as MinusCircleIcon,
|
|
9087
9149
|
Xl as MobileIcon,
|
|
9088
9150
|
Yl as MonitorIcon,
|
|
9089
9151
|
rs as MoonIcon,
|
|
9090
9152
|
us as NoteIcon,
|
|
9091
|
-
|
|
9092
|
-
|
|
9093
|
-
|
|
9094
|
-
|
|
9153
|
+
Kr as PasskeyIcon,
|
|
9154
|
+
Ur as PhoneIcon,
|
|
9155
|
+
Wr as PinIcon,
|
|
9156
|
+
Ct as PlusIcon,
|
|
9095
9157
|
os as RefreshIcon,
|
|
9096
|
-
|
|
9158
|
+
Gr as RocketIcon,
|
|
9097
9159
|
Hs as SELECT_CARD_BRANDS,
|
|
9098
|
-
|
|
9099
|
-
|
|
9160
|
+
b1 as SELECT_COL_DATETIME,
|
|
9161
|
+
x1 as SELECT_COL_ID,
|
|
9100
9162
|
pc as SELECT_COUNTRIES,
|
|
9101
|
-
|
|
9102
|
-
|
|
9163
|
+
gr as SELECT_DAILY_PRESETS,
|
|
9164
|
+
_r as SELECT_DATE_PRESETS,
|
|
9103
9165
|
wt as SELECT_SPACE,
|
|
9104
9166
|
Ps as SELECT_TRANSACTION_STATUS,
|
|
9105
9167
|
qn as SearchIcon,
|
|
9106
|
-
|
|
9107
|
-
|
|
9168
|
+
e2 as SelectAccordion,
|
|
9169
|
+
u1 as SelectActionCard,
|
|
9108
9170
|
fc as SelectActionList,
|
|
9109
|
-
|
|
9171
|
+
To as SelectActionMenu,
|
|
9110
9172
|
vs as SelectAddButton,
|
|
9111
9173
|
Ra as SelectAddCard,
|
|
9112
|
-
|
|
9113
|
-
|
|
9114
|
-
|
|
9174
|
+
Pt as SelectAlert,
|
|
9175
|
+
p1 as SelectAppTile,
|
|
9176
|
+
Er as SelectAuthFx,
|
|
9115
9177
|
ia as SelectAvatar,
|
|
9116
|
-
|
|
9178
|
+
Uo as SelectBackLink,
|
|
9117
9179
|
mc as SelectBadge,
|
|
9118
|
-
|
|
9119
|
-
|
|
9120
|
-
|
|
9180
|
+
D1 as SelectBalanceCard,
|
|
9181
|
+
Co as SelectBankAccountField,
|
|
9182
|
+
Z1 as SelectBarChart,
|
|
9121
9183
|
Os as SelectBox,
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
-
|
|
9125
|
-
|
|
9126
|
-
|
|
9184
|
+
oi as SelectBoxPlot,
|
|
9185
|
+
Yi as SelectBuilderLayout,
|
|
9186
|
+
Xi as SelectBuilderWorkspace,
|
|
9187
|
+
ni as SelectBullet,
|
|
9188
|
+
Si as SelectBump,
|
|
9127
9189
|
Re as SelectButton,
|
|
9128
|
-
|
|
9129
|
-
|
|
9130
|
-
|
|
9131
|
-
|
|
9132
|
-
|
|
9133
|
-
|
|
9134
|
-
|
|
9135
|
-
|
|
9136
|
-
|
|
9137
|
-
|
|
9138
|
-
|
|
9139
|
-
|
|
9190
|
+
di as SelectCalendarHeatmap,
|
|
9191
|
+
ri as SelectCandlestick,
|
|
9192
|
+
Br as SelectCard,
|
|
9193
|
+
M1 as SelectCardGrid,
|
|
9194
|
+
H1 as SelectChartCard,
|
|
9195
|
+
yo as SelectCheckbox,
|
|
9196
|
+
bi as SelectChord,
|
|
9197
|
+
Bi as SelectCirclePack,
|
|
9198
|
+
h1 as SelectCollapsible,
|
|
9199
|
+
Ji as SelectColorField,
|
|
9200
|
+
q1 as SelectColumnChart,
|
|
9201
|
+
U1 as SelectComboChart,
|
|
9140
9202
|
Ms as SelectCombobox,
|
|
9141
|
-
|
|
9142
|
-
|
|
9143
|
-
|
|
9144
|
-
|
|
9145
|
-
|
|
9146
|
-
|
|
9147
|
-
|
|
9148
|
-
|
|
9149
|
-
|
|
9150
|
-
|
|
9203
|
+
v1 as SelectConfirmModal,
|
|
9204
|
+
i1 as SelectCopyRow,
|
|
9205
|
+
d1 as SelectCopyableId,
|
|
9206
|
+
m1 as SelectCreateTile,
|
|
9207
|
+
N1 as SelectDataTable,
|
|
9208
|
+
Ka as SelectDateField,
|
|
9209
|
+
xr as SelectDatePicker,
|
|
9210
|
+
Ui as SelectDateRangeField,
|
|
9211
|
+
Ti as SelectDetailList,
|
|
9212
|
+
Pi as SelectDetailRow,
|
|
9151
9213
|
Vs as SelectDisclosureButton,
|
|
9152
|
-
|
|
9153
|
-
|
|
9154
|
-
|
|
9155
|
-
|
|
9156
|
-
|
|
9157
|
-
|
|
9214
|
+
Ho as SelectDivider,
|
|
9215
|
+
ko as SelectDocumentField,
|
|
9216
|
+
z1 as SelectDonut,
|
|
9217
|
+
Lr as SelectDotField,
|
|
9218
|
+
pi as SelectDumbbell,
|
|
9219
|
+
W1 as SelectFeeBreakdown,
|
|
9158
9220
|
pt as SelectField,
|
|
9159
9221
|
ws as SelectFieldGrid,
|
|
9160
|
-
|
|
9222
|
+
$o as SelectFileDropzone,
|
|
9161
9223
|
_n as SelectFileTile,
|
|
9162
|
-
|
|
9163
|
-
|
|
9164
|
-
|
|
9165
|
-
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
|
|
9169
|
-
|
|
9170
|
-
|
|
9171
|
-
|
|
9172
|
-
|
|
9173
|
-
|
|
9174
|
-
|
|
9175
|
-
|
|
9224
|
+
B1 as SelectFilterBar,
|
|
9225
|
+
o1 as SelectFilterChip,
|
|
9226
|
+
Yo as SelectFormLayout,
|
|
9227
|
+
g1 as SelectFormModal,
|
|
9228
|
+
Y1 as SelectFunnel,
|
|
9229
|
+
X1 as SelectGauge,
|
|
9230
|
+
fi as SelectGaugeBands,
|
|
9231
|
+
Ni as SelectGlobe,
|
|
9232
|
+
Po as SelectGrid,
|
|
9233
|
+
K1 as SelectHeatmap,
|
|
9234
|
+
xi as SelectHexbin,
|
|
9235
|
+
C1 as SelectHideMoneyToggle,
|
|
9236
|
+
ei as SelectHorizontalBar,
|
|
9237
|
+
Li as SelectIcicle,
|
|
9176
9238
|
ba as SelectIcon,
|
|
9177
9239
|
He as SelectIconButton,
|
|
9178
|
-
|
|
9179
|
-
|
|
9240
|
+
Vo as SelectIdentityFooter,
|
|
9241
|
+
Qi as SelectImageField,
|
|
9180
9242
|
gs as SelectImageUploadField,
|
|
9181
|
-
|
|
9182
|
-
|
|
9243
|
+
So as SelectImageUrlsField,
|
|
9244
|
+
pr as SelectImageZoomModal,
|
|
9183
9245
|
ft as SelectInfoTip,
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
|
|
9187
|
-
|
|
9188
|
-
|
|
9189
|
-
|
|
9190
|
-
|
|
9246
|
+
qt as SelectInline,
|
|
9247
|
+
Wo as SelectJsonViewer,
|
|
9248
|
+
Gi as SelectKeyValueEditor,
|
|
9249
|
+
O1 as SelectKpiCard,
|
|
9250
|
+
Tt as SelectLabelRow,
|
|
9251
|
+
k1 as SelectLayoutThumb,
|
|
9252
|
+
V1 as SelectLineChart,
|
|
9191
9253
|
oa as SelectLinkButton,
|
|
9192
|
-
|
|
9193
|
-
|
|
9254
|
+
Oi as SelectListCard,
|
|
9255
|
+
Hi as SelectListRow,
|
|
9194
9256
|
ha as SelectLoader,
|
|
9195
|
-
|
|
9196
|
-
|
|
9257
|
+
mi as SelectMarimekko,
|
|
9258
|
+
E1 as SelectMarkStack,
|
|
9259
|
+
Zi as SelectMediaCell,
|
|
9197
9260
|
Sa as SelectMenu,
|
|
9198
9261
|
La as SelectMenuButton,
|
|
9199
|
-
|
|
9200
|
-
|
|
9262
|
+
r1 as SelectMenuDivider,
|
|
9263
|
+
a1 as SelectMenuHeading,
|
|
9201
9264
|
Ca as SelectMenuItem,
|
|
9202
|
-
|
|
9203
|
-
|
|
9265
|
+
s1 as SelectMenuLink,
|
|
9266
|
+
Va as SelectMetricDelta,
|
|
9204
9267
|
$n as SelectModal,
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
|
|
9212
|
-
|
|
9213
|
-
Zo as
|
|
9268
|
+
$t as SelectMoney,
|
|
9269
|
+
wo as SelectMoneyField,
|
|
9270
|
+
Fi as SelectNetwork,
|
|
9271
|
+
Ko as SelectNote,
|
|
9272
|
+
zi as SelectNumberField,
|
|
9273
|
+
L1 as SelectOfferPrice,
|
|
9274
|
+
Vi as SelectOfflineModal,
|
|
9275
|
+
jo as SelectOptionList,
|
|
9276
|
+
Zo as SelectOptionRow,
|
|
9277
|
+
Go as SelectOtpInput,
|
|
9214
9278
|
ua as SelectPage,
|
|
9215
9279
|
Ma as SelectPagination,
|
|
9216
|
-
|
|
9217
|
-
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
|
|
9221
|
-
|
|
9222
|
-
|
|
9223
|
-
|
|
9280
|
+
e1 as SelectPanel,
|
|
9281
|
+
Ci as SelectParallel,
|
|
9282
|
+
wi as SelectPareto,
|
|
9283
|
+
qo as SelectPasswordStrength,
|
|
9284
|
+
Do as SelectPaymentBrand,
|
|
9285
|
+
Bo as SelectPhoneField,
|
|
9286
|
+
Wi as SelectPlanCard,
|
|
9287
|
+
hi as SelectPolarArea,
|
|
9224
9288
|
dt as SelectPopover,
|
|
9225
|
-
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
|
|
9229
|
-
|
|
9230
|
-
|
|
9231
|
-
|
|
9232
|
-
|
|
9233
|
-
|
|
9234
|
-
|
|
9235
|
-
|
|
9236
|
-
|
|
9237
|
-
|
|
9238
|
-
|
|
9289
|
+
P1 as SelectPreviewFrame,
|
|
9290
|
+
J1 as SelectProgressList,
|
|
9291
|
+
$i as SelectPyramid,
|
|
9292
|
+
si as SelectRadar,
|
|
9293
|
+
Q1 as SelectRadialBar,
|
|
9294
|
+
Fo as SelectRadioGroup,
|
|
9295
|
+
ii as SelectRangeBar,
|
|
9296
|
+
Ua as SelectRating,
|
|
9297
|
+
A1 as SelectRatingQuote,
|
|
9298
|
+
w1 as SelectRecordCard,
|
|
9299
|
+
qi as SelectRepeatingFieldArray,
|
|
9300
|
+
zo as SelectResendButton,
|
|
9301
|
+
_1 as SelectRowActions,
|
|
9302
|
+
ai as SelectSankey,
|
|
9303
|
+
ci as SelectScatter,
|
|
9239
9304
|
nl as SelectSearchInput,
|
|
9240
|
-
|
|
9241
|
-
|
|
9305
|
+
t1 as SelectSection,
|
|
9306
|
+
Io as SelectSegmented,
|
|
9242
9307
|
ic as SelectSelect,
|
|
9243
|
-
|
|
9244
|
-
|
|
9245
|
-
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
9249
|
-
|
|
9250
|
-
|
|
9308
|
+
ja as SelectSensitiveValue,
|
|
9309
|
+
Jo as SelectSettingList,
|
|
9310
|
+
Qo as SelectSettingRow,
|
|
9311
|
+
l1 as SelectSideNav,
|
|
9312
|
+
Xo as SelectSkeleton,
|
|
9313
|
+
ui as SelectSlope,
|
|
9314
|
+
j1 as SelectSparkline,
|
|
9315
|
+
$1 as SelectSplitChain,
|
|
9251
9316
|
Wn as SelectStack,
|
|
9252
|
-
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9317
|
+
G1 as SelectStackedArea,
|
|
9318
|
+
Ro as SelectStatusBadge,
|
|
9319
|
+
Di as SelectSteps,
|
|
9320
|
+
_i as SelectStreamGraph,
|
|
9321
|
+
vi as SelectSunburst,
|
|
9322
|
+
I1 as SelectSurface,
|
|
9258
9323
|
Qn as SelectSwitch,
|
|
9259
|
-
|
|
9324
|
+
Ki as SelectSwitchField,
|
|
9260
9325
|
$a as SelectTable,
|
|
9261
9326
|
wl as SelectTableCell,
|
|
9262
9327
|
$c as SelectTableEmpty,
|
|
9263
9328
|
Ml as SelectTableRow,
|
|
9264
|
-
|
|
9265
|
-
|
|
9329
|
+
n1 as SelectTabs,
|
|
9330
|
+
F1 as SelectTagSelect,
|
|
9266
9331
|
kt as SelectText,
|
|
9267
|
-
|
|
9268
|
-
|
|
9332
|
+
No as SelectTextarea,
|
|
9333
|
+
Ri as SelectThemeSwitcher,
|
|
9269
9334
|
Zl as SelectThumbnail,
|
|
9270
|
-
|
|
9271
|
-
|
|
9272
|
-
|
|
9273
|
-
|
|
9274
|
-
|
|
9275
|
-
|
|
9335
|
+
Mi as SelectTicker,
|
|
9336
|
+
Oo as SelectTimeline,
|
|
9337
|
+
R1 as SelectToastProvider,
|
|
9338
|
+
Lo as SelectToggleList,
|
|
9339
|
+
Eo as SelectTogglePanel,
|
|
9340
|
+
Ao as SelectToggleRow,
|
|
9276
9341
|
Kn as SelectTooltip,
|
|
9277
|
-
|
|
9278
|
-
|
|
9279
|
-
|
|
9280
|
-
|
|
9281
|
-
|
|
9282
|
-
|
|
9283
|
-
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9342
|
+
Ai as SelectTree,
|
|
9343
|
+
li as SelectTreemap,
|
|
9344
|
+
Mo as SelectUnitInput,
|
|
9345
|
+
c1 as SelectUserCell,
|
|
9346
|
+
S1 as SelectValueVisibilityProvider,
|
|
9347
|
+
Ei as SelectVenn,
|
|
9348
|
+
gi as SelectViolin,
|
|
9349
|
+
ki as SelectWaffle,
|
|
9350
|
+
ti as SelectWaterfall,
|
|
9351
|
+
yi as SelectWordCloud,
|
|
9352
|
+
f1 as SelectWorkspaceSwitcher,
|
|
9353
|
+
ji as SelectZoomThumbnail,
|
|
9289
9354
|
ql as SelectorIcon,
|
|
9290
|
-
|
|
9355
|
+
oo as SendIcon,
|
|
9291
9356
|
ts as Setting4Icon,
|
|
9292
9357
|
ds as SettingsIcon,
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9358
|
+
Qr as ShieldIcon,
|
|
9359
|
+
Hr as SplitIcon,
|
|
9360
|
+
Or as StarIcon,
|
|
9361
|
+
fo as StoreIcon,
|
|
9362
|
+
xo as StorefrontIcon,
|
|
9298
9363
|
as as SunIcon,
|
|
9299
9364
|
cs as TerminalIcon,
|
|
9300
9365
|
Ql as TrashIcon,
|
|
9301
9366
|
fn as UploadIcon,
|
|
9302
|
-
|
|
9303
|
-
|
|
9367
|
+
Zr as UserIcon,
|
|
9368
|
+
so as WalletIcon,
|
|
9304
9369
|
ls as WarningIcon,
|
|
9305
|
-
|
|
9370
|
+
to as Web3Icon,
|
|
9306
9371
|
Qt as detectSelectTheme,
|
|
9307
9372
|
Ts as dialCodeOf,
|
|
9308
9373
|
da as passwordScore,
|
|
9309
|
-
|
|
9374
|
+
Ii as resolveSelectTheme,
|
|
9310
9375
|
_c as selectCardBrand,
|
|
9311
9376
|
js as selectCardBrandLabel,
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
|
|
9377
|
+
y1 as useSelectPageSize,
|
|
9378
|
+
T1 as useSelectToast,
|
|
9379
|
+
Lc as useSelectValueVisibility
|
|
9315
9380
|
};
|
|
9316
9381
|
//# sourceMappingURL=index.js.map
|