@moises.ai/design-system 3.6.10 → 3.6.11
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/{EditIcon-Bn6TqXCt.js → UnlockIcon-DeCeTwbX.js} +705 -680
- package/dist/icons.js +36 -35
- package/dist/index.js +298 -287
- package/package.json +1 -1
- package/src/components/DropdownMenu/DropdownMenu.jsx +10 -1
- package/src/components/DropdownMenu/DropdownMenu.stories.jsx +74 -0
- package/src/icons/LockIcon.jsx +8 -14
- package/src/icons/UnlockIcon.jsx +22 -0
- package/src/icons.jsx +1 -0
package/dist/index.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import { jsx as r, jsxs as g, Fragment as he } from "react/jsx-runtime";
|
|
3
3
|
import * as d from "react";
|
|
4
4
|
import me, { createContext as An, useContext as Ht, useCallback as x, useState as q, useEffect as ue, memo as qe, useRef as oe, useMemo as _, Children as Fi, useLayoutEffect as Hi, Fragment as ji } from "react";
|
|
5
|
-
import { h as $r, f as Nn, aj as Li, a as Fs, g as ye, ak as Wi, P as ge, i as ae, u as st, U as Vi, al as ea, e as ta, F as na, am as qi, E as Ki, an as Gi, ao as Xi, ap as Yi, aq as Zi, D as _i, c as Hs, ar as $i, as as el, J as xn, at as tl, au as nl, av as fe, aw as Un, ax as sl, ay as rl, az as al, aA as ol, aB as il, aC as ll, aD as cl, aE as dl, aF as ul, aG as Al, aH as hl, aI as pl, aJ as ml, aK as gl, R as fl, aL as sa, aM as ra, aN as ks, aO as Es, aP as vl, aQ as Cl, aR as yl, aS as kl, aT as El, aU as Sl, aV as Il, aW as bl, aX as Bl, aY as wl, aZ as Rl, a_ as Nl, a$ as xl, b0 as Ql, b1 as Tl, b2 as Jl, b3 as aa, b4 as oa, b5 as ia, b6 as Dl, b7 as Pl, b8 as la, b9 as ca, ba as da, H as ua, W as Ul, X as
|
|
6
|
-
import { aX as js, dv as ha, g6 as Ls, az as pa, bW as tc,
|
|
5
|
+
import { h as $r, f as Nn, aj as Li, a as Fs, g as ye, ak as Wi, P as ge, i as ae, u as st, U as Vi, al as ea, e as ta, F as na, am as qi, E as Ki, an as Gi, ao as Xi, ap as Yi, aq as Zi, D as _i, c as Hs, ar as $i, as as el, J as xn, at as tl, au as nl, av as fe, aw as Un, ax as sl, ay as rl, az as al, aA as ol, aB as il, aC as ll, aD as cl, aE as dl, aF as ul, aG as Al, aH as hl, aI as pl, aJ as ml, aK as gl, R as fl, aL as sa, aM as ra, aN as ks, aO as Es, aP as vl, aQ as Cl, aR as yl, aS as kl, aT as El, aU as Sl, aV as Il, aW as bl, aX as Bl, aY as wl, aZ as Rl, a_ as Nl, a$ as xl, b0 as Ql, b1 as Tl, b2 as Jl, b3 as aa, b4 as oa, b5 as ia, b6 as Dl, b7 as Pl, b8 as la, b9 as ca, ba as da, H as ua, W as Ul, X as zl, bb as Ml, bc as Ol, bd as Fl, be as Hl, bf as jl, bg as Ll, bh as zn, bi as Mn, bj as Aa, bk as On, bl as Fn, bm as Wl, bn as Vl, bo as ql, bp as Kl, bq as Gl, a2 as Xl, br as Yl, bs as Zl, bt as Sr, bu as Ir, a5 as _l, b as $l, C as ec } from "./index-D51dkmoF.js";
|
|
6
|
+
import { aX as js, dv as ha, g6 as Ls, az as pa, bW as tc, iW as nc, c0 as sc, D as rc, w as ac, aF as ma, y as Ss, by as oc, dw as Hn, iX as ic, iY as lc, ea as cc, hh as dc, eS as Is, b as bs, ck as tt, bK as uc, dm as Ac, i2 as hc, h3 as pc, dI as mc, dH as Ws, hG as Vs, iR as ga, fQ as fa, dC as Ut, T as qs, ch as Ks, iH as gc, iF as Bs, hu as fc, fl as vc, aI as Cc, hx as yc, hy as kc, iZ as Ec, gK as Gs, eG as br, eF as Br, d9 as Sc, gY as wr, gJ as Ic, cB as bc, i8 as Bc, ip as wc, hj as Rc, g7 as va, du as Ca, hi as ya, dl as Nc, iI as Rr, ex as xc, i9 as Qc, ib as Tc, i_ as Jc, fM as Dc, g3 as Pc, A as Uc } from "./UnlockIcon-DeCeTwbX.js";
|
|
7
7
|
import * as ka from "react-dom";
|
|
8
|
-
function
|
|
8
|
+
function zc(n) {
|
|
9
9
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
10
10
|
}
|
|
11
|
-
var
|
|
11
|
+
var Mc = [" ", "Enter", "ArrowUp", "ArrowDown"], Oc = [" ", "Enter"], It = "Select", [jn, Ln, Fc] = ta(It), [jt] = Hs(It, [
|
|
12
12
|
Fc,
|
|
13
13
|
ea
|
|
14
14
|
]), Wn = ea(), [Hc, at] = jt(It), [jc, Lc] = jt(It), Ea = (n) => {
|
|
@@ -27,7 +27,7 @@ var zc = [" ", "Enter", "ArrowUp", "ArrowDown"], Oc = [" ", "Enter"], It = "Sele
|
|
|
27
27
|
disabled: p,
|
|
28
28
|
required: k,
|
|
29
29
|
form: v
|
|
30
|
-
} = n, m = Wn(e), [C, E] = d.useState(null), [b, I] = d.useState(null), [S, B] = d.useState(!1), w = $r(u), [T,
|
|
30
|
+
} = n, m = Wn(e), [C, E] = d.useState(null), [b, I] = d.useState(null), [S, B] = d.useState(!1), w = $r(u), [T, M] = Nn({
|
|
31
31
|
prop: s,
|
|
32
32
|
defaultProp: a ?? !1,
|
|
33
33
|
onChange: o,
|
|
@@ -37,7 +37,7 @@ var zc = [" ", "Enter", "ArrowUp", "ArrowDown"], Oc = [" ", "Enter"], It = "Sele
|
|
|
37
37
|
defaultProp: l,
|
|
38
38
|
onChange: c,
|
|
39
39
|
caller: It
|
|
40
|
-
}),
|
|
40
|
+
}), z = d.useRef(null), O = C ? v || !!C.closest("form") : !0, [U, D] = d.useState(/* @__PURE__ */ new Set()), N = Array.from(U).map((W) => W.props.value).join(";");
|
|
41
41
|
return /* @__PURE__ */ r(Li, { ...m, children: /* @__PURE__ */ g(
|
|
42
42
|
Hc,
|
|
43
43
|
{
|
|
@@ -53,9 +53,9 @@ var zc = [" ", "Enter", "ArrowUp", "ArrowDown"], Oc = [" ", "Enter"], It = "Sele
|
|
|
53
53
|
value: Q,
|
|
54
54
|
onValueChange: J,
|
|
55
55
|
open: T,
|
|
56
|
-
onOpenChange:
|
|
56
|
+
onOpenChange: M,
|
|
57
57
|
dir: w,
|
|
58
|
-
triggerPointerDownPosRef:
|
|
58
|
+
triggerPointerDownPosRef: z,
|
|
59
59
|
disabled: p,
|
|
60
60
|
children: [
|
|
61
61
|
/* @__PURE__ */ r(jn.Provider, { scope: e, children: /* @__PURE__ */ r(
|
|
@@ -135,7 +135,7 @@ var Sa = "SelectTrigger", Ia = d.forwardRef(
|
|
|
135
135
|
}),
|
|
136
136
|
onKeyDown: ae(a.onKeyDown, (m) => {
|
|
137
137
|
const C = A.current !== "";
|
|
138
|
-
!(m.ctrlKey || m.altKey || m.metaKey) && m.key.length === 1 && p(m.key), !(C && m.key === " ") &&
|
|
138
|
+
!(m.ctrlKey || m.altKey || m.metaKey) && m.key.length === 1 && p(m.key), !(C && m.key === " ") && Mc.includes(m.key) && (v(), m.preventDefault());
|
|
139
139
|
})
|
|
140
140
|
}
|
|
141
141
|
) });
|
|
@@ -206,7 +206,7 @@ var Ue = 10, [xa, ot] = jt(bt), qc = "SelectContentImpl", Kc = $i("SelectContent
|
|
|
206
206
|
avoidCollisions: C,
|
|
207
207
|
//
|
|
208
208
|
...E
|
|
209
|
-
} = n, b = at(bt, t), [I, S] = d.useState(null), [B, w] = d.useState(null), T = ye(e, (K) => S(K)), [
|
|
209
|
+
} = n, b = at(bt, t), [I, S] = d.useState(null), [B, w] = d.useState(null), T = ye(e, (K) => S(K)), [M, Q] = d.useState(null), [J, z] = d.useState(
|
|
210
210
|
null
|
|
211
211
|
), O = Ln(t), [U, D] = d.useState(!1), N = d.useRef(!1);
|
|
212
212
|
d.useEffect(() => {
|
|
@@ -220,8 +220,8 @@ var Ue = 10, [xa, ot] = jt(bt), qc = "SelectContentImpl", Kc = $i("SelectContent
|
|
|
220
220
|
},
|
|
221
221
|
[O, B]
|
|
222
222
|
), X = d.useCallback(
|
|
223
|
-
() => W([
|
|
224
|
-
[W,
|
|
223
|
+
() => W([M, I]),
|
|
224
|
+
[W, M, I]
|
|
225
225
|
);
|
|
226
226
|
d.useEffect(() => {
|
|
227
227
|
U && X();
|
|
@@ -261,7 +261,7 @@ var Ue = 10, [xa, ot] = jt(bt), qc = "SelectContentImpl", Kc = $i("SelectContent
|
|
|
261
261
|
), De = d.useCallback(() => I == null ? void 0 : I.focus(), [I]), Pe = d.useCallback(
|
|
262
262
|
(K, ce, we) => {
|
|
263
263
|
const ie = !N.current && !we;
|
|
264
|
-
(b.value !== void 0 && b.value === ce || ie) &&
|
|
264
|
+
(b.value !== void 0 && b.value === ce || ie) && z(K);
|
|
265
265
|
},
|
|
266
266
|
[b.value]
|
|
267
267
|
), ct = s === "popper" ? ws : Ta, Kt = ct === ws ? {
|
|
@@ -284,7 +284,7 @@ var Ue = 10, [xa, ot] = jt(bt), qc = "SelectContentImpl", Kc = $i("SelectContent
|
|
|
284
284
|
viewport: B,
|
|
285
285
|
onViewportChange: w,
|
|
286
286
|
itemRefCallback: Qe,
|
|
287
|
-
selectedItem:
|
|
287
|
+
selectedItem: M,
|
|
288
288
|
onItemLeave: De,
|
|
289
289
|
itemTextRefCallback: Pe,
|
|
290
290
|
focusSelectedItem: X,
|
|
@@ -358,9 +358,9 @@ Qa.displayName = qc;
|
|
|
358
358
|
var Gc = "SelectItemAlignedPosition", Ta = d.forwardRef((n, e) => {
|
|
359
359
|
const { __scopeSelect: t, onPlaced: s, ...a } = n, o = at(bt, t), i = ot(bt, t), [l, c] = d.useState(null), [u, h] = d.useState(null), A = ye(e, (T) => h(T)), p = Ln(t), k = d.useRef(!1), v = d.useRef(!0), { viewport: m, selectedItem: C, selectedItemText: E, focusSelectedItem: b } = i, I = d.useCallback(() => {
|
|
360
360
|
if (o.trigger && o.valueNode && l && u && m && C && E) {
|
|
361
|
-
const T = o.trigger.getBoundingClientRect(),
|
|
361
|
+
const T = o.trigger.getBoundingClientRect(), M = u.getBoundingClientRect(), Q = o.valueNode.getBoundingClientRect(), J = E.getBoundingClientRect();
|
|
362
362
|
if (o.dir !== "rtl") {
|
|
363
|
-
const ee = J.left -
|
|
363
|
+
const ee = J.left - M.left, te = Q.left - ee, dt = T.left - te, ut = T.width + dt, os = Math.max(ut, M.width), is = window.innerWidth - Ue, ls = xn(te, [
|
|
364
364
|
Ue,
|
|
365
365
|
// Prevents the content from going off the starting edge of the
|
|
366
366
|
// viewport. It may still go off the ending edge, but this can be
|
|
@@ -371,15 +371,15 @@ var Gc = "SelectItemAlignedPosition", Ta = d.forwardRef((n, e) => {
|
|
|
371
371
|
]);
|
|
372
372
|
l.style.minWidth = ut + "px", l.style.left = ls + "px";
|
|
373
373
|
} else {
|
|
374
|
-
const ee =
|
|
374
|
+
const ee = M.right - J.right, te = window.innerWidth - Q.right - ee, dt = window.innerWidth - T.right - te, ut = T.width + dt, os = Math.max(ut, M.width), is = window.innerWidth - Ue, ls = xn(te, [
|
|
375
375
|
Ue,
|
|
376
376
|
Math.max(Ue, is - os)
|
|
377
377
|
]);
|
|
378
378
|
l.style.minWidth = ut + "px", l.style.right = ls + "px";
|
|
379
379
|
}
|
|
380
|
-
const
|
|
380
|
+
const z = p(), O = window.innerHeight - Ue * 2, U = m.scrollHeight, D = window.getComputedStyle(u), N = parseInt(D.borderTopWidth, 10), W = parseInt(D.paddingTop, 10), X = parseInt(D.borderBottomWidth, 10), V = parseInt(D.paddingBottom, 10), R = N + W + U + V + X, H = Math.min(C.offsetHeight * 5, R), le = window.getComputedStyle(m), Qe = parseInt(le.paddingTop, 10), De = parseInt(le.paddingBottom, 10), Pe = T.top + T.height / 2 - Ue, ct = O - Pe, Kt = C.offsetHeight / 2, K = C.offsetTop + Kt, ce = N + W + K, we = R - ce;
|
|
381
381
|
if (ce <= Pe) {
|
|
382
|
-
const ee =
|
|
382
|
+
const ee = z.length > 0 && C === z[z.length - 1].ref.current;
|
|
383
383
|
l.style.bottom = "0px";
|
|
384
384
|
const te = u.clientHeight - m.offsetTop - m.offsetHeight, dt = Math.max(
|
|
385
385
|
ct,
|
|
@@ -388,7 +388,7 @@ var Gc = "SelectItemAlignedPosition", Ta = d.forwardRef((n, e) => {
|
|
|
388
388
|
), ut = ce + dt;
|
|
389
389
|
l.style.height = ut + "px";
|
|
390
390
|
} else {
|
|
391
|
-
const ee =
|
|
391
|
+
const ee = z.length > 0 && C === z[0].ref.current;
|
|
392
392
|
l.style.top = "0px";
|
|
393
393
|
const dt = Math.max(
|
|
394
394
|
Pe,
|
|
@@ -549,14 +549,14 @@ var Da = "SelectGroup", [Zc, _c] = jt(Da), Pa = d.forwardRef(
|
|
|
549
549
|
}
|
|
550
550
|
);
|
|
551
551
|
Pa.displayName = Da;
|
|
552
|
-
var Ua = "SelectLabel",
|
|
552
|
+
var Ua = "SelectLabel", za = d.forwardRef(
|
|
553
553
|
(n, e) => {
|
|
554
554
|
const { __scopeSelect: t, ...s } = n, a = _c(Ua, t);
|
|
555
555
|
return /* @__PURE__ */ r(ge.div, { id: a.id, ...s, ref: e });
|
|
556
556
|
}
|
|
557
557
|
);
|
|
558
|
-
|
|
559
|
-
var Qn = "SelectItem", [$c,
|
|
558
|
+
za.displayName = Ua;
|
|
559
|
+
var Qn = "SelectItem", [$c, Ma] = jt(Qn), Oa = d.forwardRef(
|
|
560
560
|
(n, e) => {
|
|
561
561
|
const {
|
|
562
562
|
__scopeSelect: t,
|
|
@@ -642,7 +642,7 @@ var Qn = "SelectItem", [$c, za] = jt(Qn), Oa = d.forwardRef(
|
|
|
642
642
|
Oa.displayName = Qn;
|
|
643
643
|
var sn = "SelectItemText", Fa = d.forwardRef(
|
|
644
644
|
(n, e) => {
|
|
645
|
-
const { __scopeSelect: t, className: s, style: a, ...o } = n, i = at(sn, t), l = ot(sn, t), c =
|
|
645
|
+
const { __scopeSelect: t, className: s, style: a, ...o } = n, i = at(sn, t), l = ot(sn, t), c = Ma(sn, t), u = Lc(sn, t), [h, A] = d.useState(null), p = ye(
|
|
646
646
|
e,
|
|
647
647
|
(E) => A(E),
|
|
648
648
|
c.onItemTextChange,
|
|
@@ -664,7 +664,7 @@ Fa.displayName = sn;
|
|
|
664
664
|
var Ha = "SelectItemIndicator", ja = d.forwardRef(
|
|
665
665
|
(n, e) => {
|
|
666
666
|
const { __scopeSelect: t, ...s } = n;
|
|
667
|
-
return
|
|
667
|
+
return Ma(Ha, t).isSelected ? /* @__PURE__ */ r(ge.span, { "aria-hidden": !0, ...s, ref: e }) : null;
|
|
668
668
|
}
|
|
669
669
|
);
|
|
670
670
|
ja.displayName = Ha;
|
|
@@ -812,7 +812,7 @@ function Ga(n, e, t) {
|
|
|
812
812
|
function ad(n, e) {
|
|
813
813
|
return n.map((t, s) => n[(e + s) % n.length]);
|
|
814
814
|
}
|
|
815
|
-
var od = Ea, id = Ia, ld = Ba, cd = wa, dd = Ra, ud = Na, Ad = Ja, hd = Pa, pd =
|
|
815
|
+
var od = Ea, id = Ia, ld = Ba, cd = wa, dd = Ra, ud = Na, Ad = Ja, hd = Pa, pd = za, md = Oa, gd = Fa, fd = ja, vd = Wa, Xa = ["PageUp", "PageDown"], Ya = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], Za = {
|
|
816
816
|
"from-left": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
|
|
817
817
|
"from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"],
|
|
818
818
|
"from-bottom": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
|
|
@@ -841,24 +841,24 @@ var od = Ea, id = Ia, ld = Ba, cd = wa, dd = Ra, ud = Na, Ad = Ja, hd = Pa, pd =
|
|
|
841
841
|
} = n, C = d.useRef(/* @__PURE__ */ new Set()), E = d.useRef(0), I = i === "horizontal" ? Ed : Sd, [S = [], B] = Nn({
|
|
842
842
|
prop: h,
|
|
843
843
|
defaultProp: u,
|
|
844
|
-
onChange: (
|
|
844
|
+
onChange: (z) => {
|
|
845
845
|
var U;
|
|
846
|
-
(U = [...C.current][E.current]) == null || U.focus(), A(
|
|
846
|
+
(U = [...C.current][E.current]) == null || U.focus(), A(z);
|
|
847
847
|
}
|
|
848
848
|
}), w = d.useRef(S);
|
|
849
|
-
function T(
|
|
850
|
-
const O = Rd(S,
|
|
851
|
-
J(
|
|
849
|
+
function T(z) {
|
|
850
|
+
const O = Rd(S, z);
|
|
851
|
+
J(z, O);
|
|
852
852
|
}
|
|
853
|
-
function z
|
|
854
|
-
J(
|
|
853
|
+
function M(z) {
|
|
854
|
+
J(z, E.current);
|
|
855
855
|
}
|
|
856
856
|
function Q() {
|
|
857
|
-
const
|
|
858
|
-
S[E.current] !==
|
|
857
|
+
const z = w.current[E.current];
|
|
858
|
+
S[E.current] !== z && p(S);
|
|
859
859
|
}
|
|
860
|
-
function J(
|
|
861
|
-
const D = Td(o), N = Jd(Math.round((
|
|
860
|
+
function J(z, O, { commit: U } = { commit: !1 }) {
|
|
861
|
+
const D = Td(o), N = Jd(Math.round((z - s) / o) * o + s, D), W = xn(N, [s, a]);
|
|
862
862
|
B((X = []) => {
|
|
863
863
|
const V = Bd(X, W, O);
|
|
864
864
|
if (Qd(V, c * o)) {
|
|
@@ -896,13 +896,13 @@ var od = Ea, id = Ia, ld = Ba, cd = wa, dd = Ra, ud = Na, Ad = Ja, hd = Pa, pd =
|
|
|
896
896
|
max: a,
|
|
897
897
|
inverted: k,
|
|
898
898
|
onSlideStart: l ? void 0 : T,
|
|
899
|
-
onSlideMove: l ? void 0 :
|
|
899
|
+
onSlideMove: l ? void 0 : M,
|
|
900
900
|
onSlideEnd: l ? void 0 : Q,
|
|
901
901
|
onHomeKeyDown: () => !l && J(s, 0, { commit: !0 }),
|
|
902
902
|
onEndKeyDown: () => !l && J(a, S.length - 1, { commit: !0 }),
|
|
903
|
-
onStepKeyDown: ({ event:
|
|
903
|
+
onStepKeyDown: ({ event: z, direction: O }) => {
|
|
904
904
|
if (!l) {
|
|
905
|
-
const N = Xa.includes(
|
|
905
|
+
const N = Xa.includes(z.key) || z.shiftKey && Ya.includes(z.key) ? 10 : 1, W = E.current, X = S[W], V = o * N * O;
|
|
906
906
|
J(X + V, W, { commit: !0 });
|
|
907
907
|
}
|
|
908
908
|
}
|
|
@@ -1263,7 +1263,7 @@ var co = $a, uo = ro, Ao = ao, ho = oo, po = { exports: {} };
|
|
|
1263
1263
|
})();
|
|
1264
1264
|
})(po);
|
|
1265
1265
|
var Dd = po.exports;
|
|
1266
|
-
const f = /* @__PURE__ */
|
|
1266
|
+
const f = /* @__PURE__ */ zc(Dd), se = { asChild: { type: "boolean" } }, Ce = { width: { type: "string", className: "rt-r-w", customProperties: ["--width"], responsive: !0 }, minWidth: { type: "string", className: "rt-r-min-w", customProperties: ["--min-width"], responsive: !0 }, maxWidth: { type: "string", className: "rt-r-max-w", customProperties: ["--max-width"], responsive: !0 } }, Wt = { height: { type: "string", className: "rt-r-h", customProperties: ["--height"], responsive: !0 }, minHeight: { type: "string", className: "rt-r-min-h", customProperties: ["--min-height"], responsive: !0 }, maxHeight: { type: "string", className: "rt-r-max-h", customProperties: ["--max-height"], responsive: !0 } }, Pd = ["1", "2", "3", "4"], mo = { ...se, align: { type: "enum", className: "rt-r-align", values: ["start", "center"], default: "center" }, size: { type: "enum", className: "rt-r-size", values: Pd, default: "3", responsive: !0 }, width: Ce.width, minWidth: Ce.minWidth, maxWidth: { ...Ce.maxWidth, default: "600px" }, ...Wt }, go = ["gray", "gold", "bronze", "brown", "yellow", "amber", "orange", "tomato", "red", "ruby", "crimson", "pink", "plum", "purple", "violet", "iris", "indigo", "blue", "cyan", "teal", "jade", "green", "grass", "lime", "mint", "sky"], be = { color: { type: "enum", values: go, default: void 0 } }, Vt = { color: { type: "enum", values: go, default: "" } }, ke = { highContrast: { type: "boolean", className: "rt-high-contrast", default: void 0 } }, Ud = ["normal", "start", "end", "both"], qn = { trim: { type: "enum", className: "rt-r-lt", values: Ud, responsive: !0 } }, zd = ["left", "center", "right"], fo = { align: { type: "enum", className: "rt-r-ta", values: zd, responsive: !0 } }, Md = ["wrap", "nowrap", "pretty", "balance"], wt = { wrap: { type: "enum", className: "rt-r-tw", values: Md, responsive: !0 } }, Rt = { truncate: { type: "boolean", className: "rt-truncate" } }, Od = ["light", "regular", "medium", "bold"], Kn = { weight: { type: "enum", className: "rt-r-weight", values: Od, responsive: !0 } }, Fd = ["h1", "h2", "h3", "h4", "h5", "h6"], Hd = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], jd = { as: { type: "enum", values: Fd, default: "h1" }, ...se, size: { type: "enum", className: "rt-r-size", values: Hd, default: "6", responsive: !0 }, ...Kn, ...fo, ...qn, ...Rt, ...wt, ...be, ...ke }, Zs = ["initial", "xs", "sm", "md", "lg", "xl"];
|
|
1267
1267
|
function vo(n, e) {
|
|
1268
1268
|
return Object.prototype.hasOwnProperty.call(n, e);
|
|
1269
1269
|
}
|
|
@@ -1565,14 +1565,14 @@ const Jo = d.forwardRef((n, e) => {
|
|
|
1565
1565
|
return d.createElement(s ? tr : a, { ...o, ref: e, className: f("rt-Grid", t) });
|
|
1566
1566
|
});
|
|
1567
1567
|
Jo.displayName = "Grid";
|
|
1568
|
-
const
|
|
1569
|
-
|
|
1568
|
+
const zu = me.forwardRef((n, e) => me.createElement("svg", { width: "9", height: "9", viewBox: "0 0 9 9", fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", ...n, ref: e }, me.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0.75 4.5C0.75 4.08579 1.08579 3.75 1.5 3.75H7.5C7.91421 3.75 8.25 4.08579 8.25 4.5C8.25 4.91421 7.91421 5.25 7.5 5.25H1.5C1.08579 5.25 0.75 4.91421 0.75 4.5Z" })));
|
|
1569
|
+
zu.displayName = "ThickDividerHorizontalIcon";
|
|
1570
1570
|
const Do = me.forwardRef((n, e) => me.createElement("svg", { width: "9", height: "9", viewBox: "0 0 9 9", fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", ...n, ref: e }, me.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.53547 0.62293C8.88226 0.849446 8.97976 1.3142 8.75325 1.66099L4.5083 8.1599C4.38833 8.34356 4.19397 8.4655 3.9764 8.49358C3.75883 8.52167 3.53987 8.45309 3.3772 8.30591L0.616113 5.80777C0.308959 5.52987 0.285246 5.05559 0.563148 4.74844C0.84105 4.44128 1.31533 4.41757 1.62249 4.69547L3.73256 6.60459L7.49741 0.840706C7.72393 0.493916 8.18868 0.396414 8.53547 0.62293Z" })));
|
|
1571
1571
|
Do.displayName = "ThickCheckIcon";
|
|
1572
1572
|
const Po = me.forwardRef((n, e) => me.createElement("svg", { width: "9", height: "9", viewBox: "0 0 9 9", fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", ...n, ref: e }, me.createElement("path", { d: "M0.135232 3.15803C0.324102 2.95657 0.640521 2.94637 0.841971 3.13523L4.5 6.56464L8.158 3.13523C8.3595 2.94637 8.6759 2.95657 8.8648 3.15803C9.0536 3.35949 9.0434 3.67591 8.842 3.86477L4.84197 7.6148C4.64964 7.7951 4.35036 7.7951 4.15803 7.6148L0.158031 3.86477C-0.0434285 3.67591 -0.0536285 3.35949 0.135232 3.15803Z" })));
|
|
1573
1573
|
Po.displayName = "ChevronDownIcon";
|
|
1574
|
-
const
|
|
1575
|
-
|
|
1574
|
+
const Mu = me.forwardRef((n, e) => me.createElement("svg", { width: "9", height: "9", viewBox: "0 0 9 9", fill: "currentcolor", xmlns: "http://www.w3.org/2000/svg", ...n, ref: e }, me.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.23826 0.201711C3.54108 -0.0809141 4.01567 -0.0645489 4.29829 0.238264L7.79829 3.98826C8.06724 4.27642 8.06724 4.72359 7.79829 5.01174L4.29829 8.76174C4.01567 9.06455 3.54108 9.08092 3.23826 8.79829C2.93545 8.51567 2.91909 8.04108 3.20171 7.73826L6.22409 4.5L3.20171 1.26174C2.91909 0.958928 2.93545 0.484337 3.23826 0.201711Z" })));
|
|
1575
|
+
Mu.displayName = "ThickChevronRightIcon";
|
|
1576
1576
|
const Ou = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], Fu = ["solid", "soft", "outline", "ghost"], Hu = { ...se, size: { type: "enum", className: "rt-r-size", values: Ou, responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: Fu, default: "soft" }, ...Kn, ...Vt, ...ke, ...Rt, ...wt }, ju = d.forwardRef((n, e) => {
|
|
1577
1577
|
const { asChild: t, className: s, color: a, ...o } = F(n, Hu, Y), i = n.variant === "ghost" ? a || void 0 : a, l = t ? fe : "code";
|
|
1578
1578
|
return d.createElement(l, { "data-accent-color": i, ...o, ref: e, className: f("rt-reset", "rt-Code", s) });
|
|
@@ -1610,22 +1610,22 @@ const $u = ["start", "center", "end", "baseline", "stretch"], eA = ["horizontal"
|
|
|
1610
1610
|
return d.createElement(P, { asChild: !0 }, d.createElement("dl", { ...s, ref: e, className: f("rt-DataListRoot", t) }));
|
|
1611
1611
|
});
|
|
1612
1612
|
Uo.displayName = "DataList.Root";
|
|
1613
|
-
const
|
|
1613
|
+
const zo = d.forwardRef((n, e) => {
|
|
1614
1614
|
const { className: t, ...s } = F(n, sA);
|
|
1615
1615
|
return d.createElement("div", { ...s, ref: e, className: f("rt-DataListItem", t) });
|
|
1616
1616
|
});
|
|
1617
|
-
|
|
1618
|
-
const
|
|
1617
|
+
zo.displayName = "DataList.Item";
|
|
1618
|
+
const Mo = d.forwardRef((n, e) => {
|
|
1619
1619
|
const { className: t, color: s, ...a } = F(n, rA);
|
|
1620
1620
|
return d.createElement("dt", { ...a, "data-accent-color": s, ref: e, className: f("rt-DataListLabel", t) });
|
|
1621
1621
|
});
|
|
1622
|
-
|
|
1622
|
+
Mo.displayName = "DataList.Label";
|
|
1623
1623
|
const Oo = d.forwardRef(({ children: n, className: e, ...t }, s) => d.createElement("dd", { ...t, ref: s, className: f(e, "rt-DataListValue") }, n));
|
|
1624
1624
|
Oo.displayName = "DataList.Value";
|
|
1625
1625
|
const ES = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1626
1626
|
__proto__: null,
|
|
1627
|
-
Item:
|
|
1628
|
-
Label:
|
|
1627
|
+
Item: zo,
|
|
1628
|
+
Label: Mo,
|
|
1629
1629
|
Root: Uo,
|
|
1630
1630
|
Value: Oo
|
|
1631
1631
|
}, Symbol.toStringTag, { value: "Module" })), Fo = (n) => d.createElement(Il, { ...n, modal: !0 });
|
|
@@ -1747,11 +1747,11 @@ const BS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1747
1747
|
__proto__: null,
|
|
1748
1748
|
Item: ti,
|
|
1749
1749
|
Root: ei
|
|
1750
|
-
}, Symbol.toStringTag, { value: "Module" })), PA = ["1", "2", "3"], UA = ["classic", "surface", "soft"],
|
|
1751
|
-
const t = d.useRef(null), { className: s, color: a, onChange: o, onValueChange: i, ...l } = F(n,
|
|
1750
|
+
}, Symbol.toStringTag, { value: "Module" })), PA = ["1", "2", "3"], UA = ["classic", "surface", "soft"], zA = { size: { type: "enum", className: "rt-r-size", values: PA, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: UA, default: "surface" }, ...be, ...ke }, MA = d.forwardRef((n, e) => {
|
|
1751
|
+
const t = d.useRef(null), { className: s, color: a, onChange: o, onValueChange: i, ...l } = F(n, zA, Y);
|
|
1752
1752
|
return d.createElement("input", { type: "radio", "data-accent-color": a, ...l, onChange: ae(o, (c) => i == null ? void 0 : i(c.currentTarget.value)), ref: ua(t, e), className: f("rt-reset", "rt-BaseRadioRoot", "rt-RadioRoot", s) });
|
|
1753
1753
|
});
|
|
1754
|
-
|
|
1754
|
+
MA.displayName = "Radio";
|
|
1755
1755
|
const OA = ["1", "2", "3"], FA = ["surface", "classic"], HA = { disabled: { type: "boolean", className: "disabled", default: !1 }, size: { type: "enum", className: "rt-r-size", values: OA, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: FA, default: "surface" }, ...je }, ni = d.forwardRef((n, e) => {
|
|
1756
1756
|
const { className: t, children: s, radius: a, value: o, defaultValue: i, onValueChange: l, ...c } = F(n, HA, Y), [u, h] = Nn({ prop: o, onChange: l, defaultProp: i });
|
|
1757
1757
|
return d.createElement(Ul, { "data-disabled": n.disabled || void 0, "data-radius": a, ref: e, className: f("rt-SegmentedControlRoot", t), onValueChange: (A) => {
|
|
@@ -1759,7 +1759,7 @@ const OA = ["1", "2", "3"], FA = ["surface", "classic"], HA = { disabled: { type
|
|
|
1759
1759
|
}, ...c, type: "single", value: u, asChild: !1, disabled: !!n.disabled }, s, d.createElement("div", { className: "rt-SegmentedControlIndicator" }));
|
|
1760
1760
|
});
|
|
1761
1761
|
ni.displayName = "SegmentedControl.Root";
|
|
1762
|
-
const si = d.forwardRef(({ children: n, className: e, ...t }, s) => d.createElement(
|
|
1762
|
+
const si = d.forwardRef(({ children: n, className: e, ...t }, s) => d.createElement(zl, { ref: s, className: f("rt-reset", "rt-SegmentedControlItem", e), ...t, disabled: !1, asChild: !1 }, d.createElement("span", { className: "rt-SegmentedControlItemSeparator" }), d.createElement("span", { className: "rt-SegmentedControlItemLabel" }, d.createElement("span", { className: "rt-SegmentedControlItemLabelActive" }, n), d.createElement("span", { className: "rt-SegmentedControlItemLabelInactive", "aria-hidden": !0 }, n))));
|
|
1763
1763
|
si.displayName = "SegmentedControl.Item";
|
|
1764
1764
|
const jA = ["1", "2", "3", "4"], LA = ["none", "initial"], WA = { ...se, size: { type: "enum", className: "rt-r-size", values: jA, default: "3", responsive: !0 }, display: { type: "enum", className: "rt-r-display", values: LA, parseValue: VA, responsive: !0 } };
|
|
1765
1765
|
function VA(n) {
|
|
@@ -1815,7 +1815,7 @@ const oh = { ...se, ...Rt, ...wt }, ih = d.forwardRef((n, e) => {
|
|
|
1815
1815
|
ih.displayName = "Strong";
|
|
1816
1816
|
const lh = ["1", "2", "3"], ch = ["classic", "surface", "soft"], dh = { size: { type: "enum", className: "rt-r-size", values: lh, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: ch, default: "surface" }, ...be, ...ke, ...je }, rt = d.forwardRef((n, e) => {
|
|
1817
1817
|
const { className: t, color: s, radius: a, ...o } = F(n, dh, Y);
|
|
1818
|
-
return d.createElement(
|
|
1818
|
+
return d.createElement(Ml, { "data-accent-color": s, "data-radius": a, ...o, asChild: !1, ref: e, className: f("rt-reset", "rt-SwitchRoot", t) }, d.createElement(Ol, { className: f("rt-SwitchThumb", { "rt-high-contrast": n.highContrast }) }));
|
|
1819
1819
|
});
|
|
1820
1820
|
rt.displayName = "Switch";
|
|
1821
1821
|
const uh = ["1", "2"], Ah = ["nowrap", "wrap", "wrap-reverse"], hh = ["start", "center", "end"], ph = { size: { type: "enum", className: "rt-r-size", values: uh, default: "2", responsive: !0 }, wrap: { type: "enum", className: "rt-r-fw", values: Ah, responsive: !0 }, justify: { type: "enum", className: "rt-r-jc", values: hh, responsive: !0 }, ...be, ...ke }, mh = ["1", "2", "3"], gh = ["surface", "ghost"], fh = ["auto", "fixed"], us = { size: { type: "enum", className: "rt-r-size", values: mh, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: gh, default: "ghost" }, layout: { type: "enum", className: "rt-r-tl", values: fh, responsive: !0 } }, vh = ["start", "center", "end", "baseline"], Ch = { align: { type: "enum", className: "rt-r-va", values: vh, parseValue: yh, responsive: !0 } };
|
|
@@ -1923,16 +1923,16 @@ const Ai = d.forwardRef((n, e) => {
|
|
|
1923
1923
|
Ai.displayName = "TextField.Slot";
|
|
1924
1924
|
const Th = { content: { type: "ReactNode", required: !0 }, width: Ce.width, minWidth: Ce.minWidth, maxWidth: { ...Ce.maxWidth, default: "360px" } }, qt = d.forwardRef((n, e) => {
|
|
1925
1925
|
const { children: t, className: s, open: a, defaultOpen: o, onOpenChange: i, delayDuration: l, disableHoverableContent: c, content: u, container: h, forceMount: A, ...p } = F(n, Th), k = { open: a, defaultOpen: o, onOpenChange: i, delayDuration: l, disableHoverableContent: c };
|
|
1926
|
-
return d.createElement(
|
|
1926
|
+
return d.createElement(zn, { ...k }, d.createElement(Mn, { asChild: !0 }, t), d.createElement(Aa, { container: h, forceMount: A }, d.createElement(it, { asChild: !0 }, d.createElement(On, { sideOffset: 4, collisionPadding: 10, ...p, asChild: !1, ref: e, className: f("rt-TooltipContent", s) }, d.createElement(P, { as: "p", className: "rt-TooltipText", size: "1" }, u), d.createElement(Fn, { className: "rt-TooltipArrow" })))));
|
|
1927
1927
|
});
|
|
1928
1928
|
qt.displayName = "Tooltip";
|
|
1929
|
-
const Jh = "_upgradeItem_1isop_1", Dh = "_upgradeItemCollapsed_1isop_12", Ph = "_upgradeIcon_1isop_26", Uh = "_upgradeText_1isop_30",
|
|
1929
|
+
const Jh = "_upgradeItem_1isop_1", Dh = "_upgradeItemCollapsed_1isop_12", Ph = "_upgradeIcon_1isop_26", Uh = "_upgradeText_1isop_30", zh = "_upgradeContent_1isop_44", Mh = "_upgradeContentCollapsed_1isop_58", Oh = "_upgradeItemSelected_1isop_71", ft = {
|
|
1930
1930
|
upgradeItem: Jh,
|
|
1931
1931
|
upgradeItemCollapsed: Dh,
|
|
1932
1932
|
upgradeIcon: Ph,
|
|
1933
1933
|
upgradeText: Uh,
|
|
1934
|
-
upgradeContent:
|
|
1935
|
-
upgradeContentCollapsed:
|
|
1934
|
+
upgradeContent: zh,
|
|
1935
|
+
upgradeContentCollapsed: Mh,
|
|
1936
1936
|
upgradeItemSelected: Oh
|
|
1937
1937
|
}, hi = An({
|
|
1938
1938
|
close: () => {
|
|
@@ -2201,10 +2201,10 @@ const Rp = "_size1_18z9r_1", Np = "_accent_18z9r_5", xp = "_neutral_18z9r_15", Q
|
|
|
2201
2201
|
}
|
|
2202
2202
|
);
|
|
2203
2203
|
Pp.displayName = "Callout";
|
|
2204
|
-
const Up = "_card_qkexv_1",
|
|
2204
|
+
const Up = "_card_qkexv_1", zp = "_iconContainer_qkexv_15", Mp = "_icon_qkexv_15", Op = "_iconDefault_qkexv_26", Fp = "_iconHover_qkexv_31", Hp = "_drop_qkexv_59", jp = "_dropHover_qkexv_68", Le = {
|
|
2205
2205
|
card: Up,
|
|
2206
|
-
iconContainer:
|
|
2207
|
-
icon:
|
|
2206
|
+
iconContainer: zp,
|
|
2207
|
+
icon: Mp,
|
|
2208
2208
|
iconDefault: Op,
|
|
2209
2209
|
iconHover: Fp,
|
|
2210
2210
|
"color-accent": "_color-accent_qkexv_47",
|
|
@@ -2407,7 +2407,7 @@ const om = "_container_1k1mq_1", im = "_content_1k1mq_19", lm = "_title_1k1mq_26
|
|
|
2407
2407
|
] });
|
|
2408
2408
|
};
|
|
2409
2409
|
um.displayName = "CigarBar";
|
|
2410
|
-
const Am = "_menuContent_1j71o_1", hm = "_menuSubContent_1j71o_2", pm = "_slideDownAndFade_1j71o_1", mm = "_slideLeftAndFade_1j71o_1", gm = "_slideUpAndFade_1j71o_1", fm = "_slideRightAndFade_1j71o_1", vm = "_menuPortal_1j71o_84", Cm = "_menuItem_1j71o_91", ym = "_label_1j71o_106", km = "_secondaryTextBottom_1j71o_110", Em = "_secondaryTextRight_1j71o_111", Sm = "_keybinding_1j71o_115", Im = "_leftIcon_1j71o_147", bm = "_rightIcon_1j71o_148", Bm = "_checkboxIndicatorSlot_1j71o_149", wm = "_menuCheckboxIndicator_1j71o_155", Rm = "_menuSeparator_1j71o_160", Nm = "_labelContainer_1j71o_180", xm = "_rightSlot_1j71o_204", Qm = "_menuSub_1j71o_2", Tm = "_menuSubTrigger_1j71o_241", Jm = "_menuTrigger_1j71o_275", Dm = "_showActiveTrigger_1j71o_275", Pm = "_menuLabel_1j71o_291", Um = "_menuItemSelected_1j71o_314",
|
|
2410
|
+
const Am = "_menuContent_1j71o_1", hm = "_menuSubContent_1j71o_2", pm = "_slideDownAndFade_1j71o_1", mm = "_slideLeftAndFade_1j71o_1", gm = "_slideUpAndFade_1j71o_1", fm = "_slideRightAndFade_1j71o_1", vm = "_menuPortal_1j71o_84", Cm = "_menuItem_1j71o_91", ym = "_label_1j71o_106", km = "_secondaryTextBottom_1j71o_110", Em = "_secondaryTextRight_1j71o_111", Sm = "_keybinding_1j71o_115", Im = "_leftIcon_1j71o_147", bm = "_rightIcon_1j71o_148", Bm = "_checkboxIndicatorSlot_1j71o_149", wm = "_menuCheckboxIndicator_1j71o_155", Rm = "_menuSeparator_1j71o_160", Nm = "_labelContainer_1j71o_180", xm = "_rightSlot_1j71o_204", Qm = "_menuSub_1j71o_2", Tm = "_menuSubTrigger_1j71o_241", Jm = "_menuTrigger_1j71o_275", Dm = "_showActiveTrigger_1j71o_275", Pm = "_menuLabel_1j71o_291", Um = "_menuItemSelected_1j71o_314", zm = "_menuItemIndicator_1j71o_342", Mm = "_menuCheckboxItem_1j71o_375", Om = "_red_1j71o_379", Fm = "_cyan_1j71o_396", L = {
|
|
2411
2411
|
menuContent: Am,
|
|
2412
2412
|
menuSubContent: hm,
|
|
2413
2413
|
slideDownAndFade: pm,
|
|
@@ -2439,8 +2439,8 @@ const Am = "_menuContent_1j71o_1", hm = "_menuSubContent_1j71o_2", pm = "_slideD
|
|
|
2439
2439
|
"menuLabel-size-1": "_menuLabel-size-1_1j71o_304",
|
|
2440
2440
|
"menuLabel-size-2": "_menuLabel-size-2_1j71o_309",
|
|
2441
2441
|
menuItemSelected: Um,
|
|
2442
|
-
menuItemIndicator:
|
|
2443
|
-
menuCheckboxItem:
|
|
2442
|
+
menuItemIndicator: zm,
|
|
2443
|
+
menuCheckboxItem: Mm,
|
|
2444
2444
|
red: Om,
|
|
2445
2445
|
cyan: Fm
|
|
2446
2446
|
}, mi = (n) => {
|
|
@@ -2784,7 +2784,7 @@ const qm = "_DataTable_17x9s_1", Km = "_titleText_17x9s_23", Gm = "_artistText_1
|
|
|
2784
2784
|
return (H = R.dropdownOptions) == null ? void 0 : H.length;
|
|
2785
2785
|
}),
|
|
2786
2786
|
[t]
|
|
2787
|
-
),
|
|
2787
|
+
), M = x(
|
|
2788
2788
|
(R) => {
|
|
2789
2789
|
const le = (i == null ? void 0 : i.field) === R && (i == null ? void 0 : i.sort) === "ASC" ? "DESC" : "ASC";
|
|
2790
2790
|
l == null || l(R, le);
|
|
@@ -2804,7 +2804,7 @@ const qm = "_DataTable_17x9s_1", Km = "_titleText_17x9s_23", Gm = "_artistText_1
|
|
|
2804
2804
|
le == null && (m.current = H);
|
|
2805
2805
|
},
|
|
2806
2806
|
[t, u]
|
|
2807
|
-
),
|
|
2807
|
+
), z = x(
|
|
2808
2808
|
(R, H) => {
|
|
2809
2809
|
const le = (t == null ? void 0 : t.findIndex((Qe) => Qe.id === R)) ?? -1;
|
|
2810
2810
|
le >= 0 && (m.current = le), u == null || u(R, H);
|
|
@@ -2884,7 +2884,7 @@ const qm = "_DataTable_17x9s_1", Km = "_titleText_17x9s_23", Gm = "_artistText_1
|
|
|
2884
2884
|
{
|
|
2885
2885
|
type: "button",
|
|
2886
2886
|
className: Z.sortButton,
|
|
2887
|
-
onClick: () =>
|
|
2887
|
+
onClick: () => M(R.id),
|
|
2888
2888
|
children: [
|
|
2889
2889
|
/* @__PURE__ */ r(j, { size: "2", children: R.label }),
|
|
2890
2890
|
C === R.id && ((i == null ? void 0 : i.sort) === "DESC" ? /* @__PURE__ */ r(rc, { width: 16, height: 16 }) : /* @__PURE__ */ r(ac, { width: 16, height: 16 }))
|
|
@@ -2922,7 +2922,7 @@ const qm = "_DataTable_17x9s_1", Km = "_titleText_17x9s_23", Gm = "_artistText_1
|
|
|
2922
2922
|
sortedKey: C,
|
|
2923
2923
|
hasDropdownOptions: T,
|
|
2924
2924
|
onRowClick: Q,
|
|
2925
|
-
onSelectRow:
|
|
2925
|
+
onSelectRow: z,
|
|
2926
2926
|
onShiftClickRow: J,
|
|
2927
2927
|
renderProjectCell: O,
|
|
2928
2928
|
renderDataCell: D
|
|
@@ -3055,81 +3055,92 @@ const Pr = mi(_l), mn = qe(
|
|
|
3055
3055
|
maxHeight: l,
|
|
3056
3056
|
closeOnSelect: c = !0,
|
|
3057
3057
|
sideOffset: u = 5,
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
{
|
|
3062
|
-
...h
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3058
|
+
matchTriggerWidth: h = !1,
|
|
3059
|
+
...A
|
|
3060
|
+
}) => {
|
|
3061
|
+
const p = {
|
|
3062
|
+
...h && {
|
|
3063
|
+
width: "var(--radix-dropdown-menu-trigger-width)",
|
|
3064
|
+
boxSizing: "border-box"
|
|
3065
|
+
},
|
|
3066
|
+
...l && { height: l }
|
|
3067
|
+
};
|
|
3068
|
+
return /* @__PURE__ */ r(he, { children: (e == null ? void 0 : e.length) > 0 && /* @__PURE__ */ g(
|
|
3069
|
+
Yl,
|
|
3070
|
+
{
|
|
3071
|
+
...A,
|
|
3072
|
+
open: i ? !1 : A.open,
|
|
3073
|
+
onOpenChange: i ? void 0 : A.onOpenChange,
|
|
3074
|
+
children: [
|
|
3075
|
+
/* @__PURE__ */ r(
|
|
3076
|
+
Zl,
|
|
3077
|
+
{
|
|
3078
|
+
asChild: !0,
|
|
3079
|
+
className: f(L.menuTrigger, {
|
|
3080
|
+
[L.showActiveTrigger]: s
|
|
3081
|
+
}),
|
|
3082
|
+
disabled: i,
|
|
3083
|
+
children: n
|
|
3084
|
+
}
|
|
3085
|
+
),
|
|
3086
|
+
l ? /* @__PURE__ */ r(Sr, { className: L.menuPortal, children: /* @__PURE__ */ r(
|
|
3087
|
+
Ir,
|
|
3088
|
+
{
|
|
3089
|
+
className: f(L.menuContent, t),
|
|
3090
|
+
size: a,
|
|
3091
|
+
side: A.side,
|
|
3092
|
+
align: A.align,
|
|
3093
|
+
style: p,
|
|
3094
|
+
sideOffset: u,
|
|
3095
|
+
alignOffset: 0,
|
|
3096
|
+
onCloseAutoFocus: (k) => {
|
|
3097
|
+
k.preventDefault();
|
|
3098
|
+
},
|
|
3099
|
+
onClick: (k) => k.stopPropagation(),
|
|
3100
|
+
children: /* @__PURE__ */ r(
|
|
3101
|
+
Nt,
|
|
3102
|
+
{
|
|
3103
|
+
scrollbars: "vertical",
|
|
3104
|
+
style: { height: l },
|
|
3105
|
+
children: e == null ? void 0 : e.map(
|
|
3106
|
+
(k) => Pr(
|
|
3107
|
+
k,
|
|
3108
|
+
a,
|
|
3109
|
+
o,
|
|
3110
|
+
c
|
|
3111
|
+
)
|
|
3102
3112
|
)
|
|
3113
|
+
}
|
|
3114
|
+
)
|
|
3115
|
+
}
|
|
3116
|
+
) }) : /* @__PURE__ */ r(Sr, { className: L.menuPortal, children: /* @__PURE__ */ r(
|
|
3117
|
+
Ir,
|
|
3118
|
+
{
|
|
3119
|
+
className: f(L.menuContent, t),
|
|
3120
|
+
size: a,
|
|
3121
|
+
side: A.side,
|
|
3122
|
+
align: A.align,
|
|
3123
|
+
style: p,
|
|
3124
|
+
sideOffset: u,
|
|
3125
|
+
alignOffset: 0,
|
|
3126
|
+
onCloseAutoFocus: (k) => {
|
|
3127
|
+
k.preventDefault();
|
|
3128
|
+
},
|
|
3129
|
+
onClick: (k) => k.stopPropagation(),
|
|
3130
|
+
children: e == null ? void 0 : e.map(
|
|
3131
|
+
(k) => Pr(
|
|
3132
|
+
k,
|
|
3133
|
+
a,
|
|
3134
|
+
o,
|
|
3135
|
+
c
|
|
3103
3136
|
)
|
|
3104
|
-
}
|
|
3105
|
-
)
|
|
3106
|
-
}
|
|
3107
|
-
) }) : /* @__PURE__ */ r(Sr, { className: L.menuPortal, children: /* @__PURE__ */ r(
|
|
3108
|
-
Ir,
|
|
3109
|
-
{
|
|
3110
|
-
className: f(L.menuContent, t),
|
|
3111
|
-
size: a,
|
|
3112
|
-
side: h.side,
|
|
3113
|
-
align: h.align,
|
|
3114
|
-
sideOffset: u,
|
|
3115
|
-
alignOffset: 0,
|
|
3116
|
-
onCloseAutoFocus: (A) => {
|
|
3117
|
-
A.preventDefault();
|
|
3118
|
-
},
|
|
3119
|
-
onClick: (A) => A.stopPropagation(),
|
|
3120
|
-
children: e == null ? void 0 : e.map(
|
|
3121
|
-
(A) => Pr(
|
|
3122
|
-
A,
|
|
3123
|
-
a,
|
|
3124
|
-
o,
|
|
3125
|
-
c
|
|
3126
3137
|
)
|
|
3127
|
-
|
|
3128
|
-
}
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
}
|
|
3132
|
-
|
|
3138
|
+
}
|
|
3139
|
+
) })
|
|
3140
|
+
]
|
|
3141
|
+
}
|
|
3142
|
+
) });
|
|
3143
|
+
}
|
|
3133
3144
|
);
|
|
3134
3145
|
mn.displayName = "DropdownMenu";
|
|
3135
3146
|
const Cr = An(null), gi = An(null), fi = An(null);
|
|
@@ -3240,18 +3251,18 @@ function Ng({ initialScreen: n, animated: e, children: t }) {
|
|
|
3240
3251
|
(J == null ? void 0 : J.type) === Ci && (Q[J.props.name] = J.props);
|
|
3241
3252
|
}), Q;
|
|
3242
3253
|
}, [t]), p = x((Q, J = null) => {
|
|
3243
|
-
e && J && Rg(h.current, J), a(Q), i({}), c((
|
|
3254
|
+
e && J && Rg(h.current, J), a(Q), i({}), c((z) => z + 1);
|
|
3244
3255
|
}, [e]), k = x(
|
|
3245
|
-
(Q, J = {}) => p((
|
|
3256
|
+
(Q, J = {}) => p((z) => [...z, { name: Q, params: J }], "forward"),
|
|
3246
3257
|
[p]
|
|
3247
3258
|
), v = x(
|
|
3248
3259
|
() => p((Q) => Q.length > 1 ? Q.slice(0, -1) : Q, "back"),
|
|
3249
3260
|
[p]
|
|
3250
3261
|
), m = x(
|
|
3251
3262
|
(Q) => p((J) => {
|
|
3252
|
-
const
|
|
3253
|
-
if (
|
|
3254
|
-
return J.slice(0,
|
|
3263
|
+
const z = J.findIndex((O) => O.name === Q);
|
|
3264
|
+
if (z === -1) throw new Error(`Screen "${Q}" is not in the stack`);
|
|
3265
|
+
return J.slice(0, z + 1);
|
|
3255
3266
|
}, "back"),
|
|
3256
3267
|
[p]
|
|
3257
3268
|
), C = x(
|
|
@@ -3264,10 +3275,10 @@ function Ng({ initialScreen: n, animated: e, children: t }) {
|
|
|
3264
3275
|
if (!S) return null;
|
|
3265
3276
|
const B = (Q, J) => Q in o ? o[Q] : S[Q] ?? J, w = S.component, T = x(
|
|
3266
3277
|
(Q) => {
|
|
3267
|
-
u.current[u.current.length - 1].name === I.name && i((
|
|
3278
|
+
u.current[u.current.length - 1].name === I.name && i((z) => ({ ...z, ...Q }));
|
|
3268
3279
|
},
|
|
3269
3280
|
[I.name]
|
|
3270
|
-
),
|
|
3281
|
+
), M = _(
|
|
3271
3282
|
() => ({ name: I.name, params: I.params || {}, setOptions: T }),
|
|
3272
3283
|
[I.name, I.params, T]
|
|
3273
3284
|
);
|
|
@@ -3288,7 +3299,7 @@ function Ng({ initialScreen: n, animated: e, children: t }) {
|
|
|
3288
3299
|
{
|
|
3289
3300
|
ref: h,
|
|
3290
3301
|
style: { display: "flex", flexDirection: "column", flex: 1, minHeight: 0, overflow: "hidden" },
|
|
3291
|
-
children: /* @__PURE__ */ r(fi.Provider, { value:
|
|
3302
|
+
children: /* @__PURE__ */ r(fi.Provider, { value: M, children: /* @__PURE__ */ r(w, {}) }, l)
|
|
3292
3303
|
}
|
|
3293
3304
|
)
|
|
3294
3305
|
] }) });
|
|
@@ -3300,7 +3311,7 @@ ss.Header = vi;
|
|
|
3300
3311
|
ss.Content = bg;
|
|
3301
3312
|
ss.Footer = Bg;
|
|
3302
3313
|
ss.Screen = Ci;
|
|
3303
|
-
const xg = "_floatingBanner_uvpwv_1", Qg = "_white_uvpwv_12", Tg = "_error_uvpwv_16", Jg = "_warning_uvpwv_20", Dg = "_success_uvpwv_24", Pg = "_iconWrapper_uvpwv_28", Ug = "_container_uvpwv_35",
|
|
3314
|
+
const xg = "_floatingBanner_uvpwv_1", Qg = "_white_uvpwv_12", Tg = "_error_uvpwv_16", Jg = "_warning_uvpwv_20", Dg = "_success_uvpwv_24", Pg = "_iconWrapper_uvpwv_28", Ug = "_container_uvpwv_35", zg = "_column_uvpwv_44", Mg = "_content_uvpwv_49", Og = "_title_uvpwv_55", Fg = "_strong_uvpwv_62", Hg = "_description_uvpwv_66", jg = "_action_uvpwv_73", Lg = "_close_uvpwv_84", Be = {
|
|
3304
3315
|
floatingBanner: xg,
|
|
3305
3316
|
white: Qg,
|
|
3306
3317
|
error: Tg,
|
|
@@ -3308,8 +3319,8 @@ const xg = "_floatingBanner_uvpwv_1", Qg = "_white_uvpwv_12", Tg = "_error_uvpwv
|
|
|
3308
3319
|
success: Dg,
|
|
3309
3320
|
iconWrapper: Pg,
|
|
3310
3321
|
container: Ug,
|
|
3311
|
-
column:
|
|
3312
|
-
content:
|
|
3322
|
+
column: zg,
|
|
3323
|
+
content: Mg,
|
|
3313
3324
|
title: Og,
|
|
3314
3325
|
strong: Fg,
|
|
3315
3326
|
description: Hg,
|
|
@@ -3458,7 +3469,7 @@ const Vg = "_InfoIconWithTooltip_153uu_1", qg = {
|
|
|
3458
3469
|
}
|
|
3459
3470
|
);
|
|
3460
3471
|
Je.displayName = "TooltipWithInfoIcon";
|
|
3461
|
-
const Kg = "_messageWithActionInfo_152jv_1", Gg = "_messageWithAction_152jv_1",
|
|
3472
|
+
const Kg = "_messageWithActionInfo_152jv_1", Gg = "_messageWithAction_152jv_1", zr = {
|
|
3462
3473
|
messageWithActionInfo: Kg,
|
|
3463
3474
|
messageWithAction: Gg
|
|
3464
3475
|
}, xe = ({
|
|
@@ -3477,8 +3488,8 @@ const Kg = "_messageWithActionInfo_152jv_1", Gg = "_messageWithAction_152jv_1",
|
|
|
3477
3488
|
size: "1",
|
|
3478
3489
|
color: n === "error" ? "red" : n === "warn" ? "yellow" : "gray",
|
|
3479
3490
|
className: f(a, {
|
|
3480
|
-
[
|
|
3481
|
-
[
|
|
3491
|
+
[zr.messageWithActionInfo]: !o,
|
|
3492
|
+
[zr.messageWithAction]: o
|
|
3482
3493
|
}),
|
|
3483
3494
|
...c,
|
|
3484
3495
|
children: /* @__PURE__ */ g(y, { align: "center", width: "100%", gap: "2", justify: "between", children: [
|
|
@@ -3764,8 +3775,8 @@ const TS = as, sf = "_sliderRoot_7wkh4_23", rf = "_sliderTrack_7wkh4_31", af = "
|
|
|
3764
3775
|
disabled: t,
|
|
3765
3776
|
children: /* @__PURE__ */ g("div", { className: Ct.sliderContainer, children: [
|
|
3766
3777
|
/* @__PURE__ */ r(uo, { className: Ct.sliderTrack, children: /* @__PURE__ */ r(Ao, { className: Ct.sliderRange }) }),
|
|
3767
|
-
/* @__PURE__ */ r(Un, { delayDuration: 200, children: /* @__PURE__ */ g(
|
|
3768
|
-
/* @__PURE__ */ r(
|
|
3778
|
+
/* @__PURE__ */ r(Un, { delayDuration: 200, children: /* @__PURE__ */ g(zn, { open: s, children: [
|
|
3779
|
+
/* @__PURE__ */ r(Mn, { asChild: !0, children: /* @__PURE__ */ r(
|
|
3769
3780
|
ho,
|
|
3770
3781
|
{
|
|
3771
3782
|
className: Ct.sliderThumb,
|
|
@@ -3847,7 +3858,7 @@ const gf = "_content_1vf1h_1", ff = "_pan_1vf1h_13", vf = "_disabled_1vf1h_26",
|
|
|
3847
3858
|
disabled: vf,
|
|
3848
3859
|
active: Cf
|
|
3849
3860
|
}, yf = typeof window < "u" ? Hi : ue;
|
|
3850
|
-
function
|
|
3861
|
+
function zt(n, e, t) {
|
|
3851
3862
|
const s = oe(e);
|
|
3852
3863
|
yf(() => {
|
|
3853
3864
|
s.current = e;
|
|
@@ -3861,7 +3872,7 @@ function Mt(n, e, t) {
|
|
|
3861
3872
|
};
|
|
3862
3873
|
}, [n, t]);
|
|
3863
3874
|
}
|
|
3864
|
-
const Bn = 19.5, wn = 19.5,
|
|
3875
|
+
const Bn = 19.5, wn = 19.5, Mr = 14, Or = 18, kf = [
|
|
3865
3876
|
-Math.PI / 2,
|
|
3866
3877
|
// 12h (top)
|
|
3867
3878
|
-Math.PI / 4,
|
|
@@ -4001,7 +4012,7 @@ const Bn = 19.5, wn = 19.5, zr = 14, Or = 18, kf = [
|
|
|
4001
4012
|
},
|
|
4002
4013
|
[o, t, e, s]
|
|
4003
4014
|
);
|
|
4004
|
-
return
|
|
4015
|
+
return zt("wheel", p, i), zt("mousedown", k, i), zt("mousemove", v), zt("mouseup", m), zt("mouseleave", C), {
|
|
4005
4016
|
containerRef: i,
|
|
4006
4017
|
isDragging: l,
|
|
4007
4018
|
handleClick: E,
|
|
@@ -4046,13 +4057,13 @@ const Bn = 19.5, wn = 19.5, zr = 14, Or = 18, kf = [
|
|
|
4046
4057
|
s && kn.disabled
|
|
4047
4058
|
),
|
|
4048
4059
|
children: /* @__PURE__ */ g("svg", { width: 39, height: 39, viewBox: "0 0 39 39", fill: "none", children: [
|
|
4049
|
-
/* @__PURE__ */ r("circle", { cx: Bn, cy: wn, r:
|
|
4060
|
+
/* @__PURE__ */ r("circle", { cx: Bn, cy: wn, r: Mr }),
|
|
4050
4061
|
/* @__PURE__ */ r(
|
|
4051
4062
|
"circle",
|
|
4052
4063
|
{
|
|
4053
4064
|
cx: Bn,
|
|
4054
4065
|
cy: wn,
|
|
4055
|
-
r:
|
|
4066
|
+
r: Mr + 0.5,
|
|
4056
4067
|
stroke: "#D3EDF8",
|
|
4057
4068
|
strokeOpacity: 0.113725
|
|
4058
4069
|
}
|
|
@@ -4126,7 +4137,7 @@ const Bn = 19.5, wn = 19.5, zr = 14, Or = 18, kf = [
|
|
|
4126
4137
|
);
|
|
4127
4138
|
};
|
|
4128
4139
|
Bf.displayName = "Knob";
|
|
4129
|
-
const wf = "_listCardsItem_rjypk_1", Rf = "_listCardsItemDescriptionWrappable_rjypk_21", Nf = "_listCardsItemSize2_rjypk_37", xf = "_listCardsItemSize3_rjypk_41", Qf = "_listCardsAvatar_rjypk_45", Tf = "_listCardsAvatarSize2_rjypk_51", Jf = "_listCardsAvatarSize3_rjypk_56", Df = "_listCardsAvatarIcon_rjypk_61", Pf = "_listCardsAvatarIconSize2_rjypk_72", Uf = "_listCardsAvatarIconSize3_rjypk_77",
|
|
4140
|
+
const wf = "_listCardsItem_rjypk_1", Rf = "_listCardsItemDescriptionWrappable_rjypk_21", Nf = "_listCardsItemSize2_rjypk_37", xf = "_listCardsItemSize3_rjypk_41", Qf = "_listCardsAvatar_rjypk_45", Tf = "_listCardsAvatarSize2_rjypk_51", Jf = "_listCardsAvatarSize3_rjypk_56", Df = "_listCardsAvatarIcon_rjypk_61", Pf = "_listCardsAvatarIconSize2_rjypk_72", Uf = "_listCardsAvatarIconSize3_rjypk_77", zf = "_clickableAvatar_rjypk_82", Mf = "_avatarContainer_rjypk_92", Of = "_avatarContent_rjypk_102", Ff = "_listCardsDetailAvatar_rjypk_123", Hf = "_listCardsDetails_rjypk_130", jf = "_listCardsItemText_rjypk_134", Lf = "_listCardsItemDescription_rjypk_21", Wf = "_listCardsDetailDescription_rjypk_154", Vf = "_cardWrapper_rjypk_158", qf = "_cardActions_rjypk_163", Kf = "_seeDetailsButton_rjypk_173", Gf = "_favoriteButton_rjypk_186", Xf = "_buttonGhost_rjypk_206", Yf = "_gridContainer_rjypk_229", $ = {
|
|
4130
4141
|
listCardsItem: wf,
|
|
4131
4142
|
listCardsItemDescriptionWrappable: Rf,
|
|
4132
4143
|
listCardsItemSize2: Nf,
|
|
@@ -4137,8 +4148,8 @@ const wf = "_listCardsItem_rjypk_1", Rf = "_listCardsItemDescriptionWrappable_rj
|
|
|
4137
4148
|
listCardsAvatarIcon: Df,
|
|
4138
4149
|
listCardsAvatarIconSize2: Pf,
|
|
4139
4150
|
listCardsAvatarIconSize3: Uf,
|
|
4140
|
-
clickableAvatar:
|
|
4141
|
-
avatarContainer:
|
|
4151
|
+
clickableAvatar: zf,
|
|
4152
|
+
avatarContainer: Mf,
|
|
4142
4153
|
avatarContent: Of,
|
|
4143
4154
|
listCardsDetailAvatar: Ff,
|
|
4144
4155
|
listCardsDetails: Hf,
|
|
@@ -4192,7 +4203,7 @@ const wf = "_listCardsItem_rjypk_1", Rf = "_listCardsItemDescriptionWrappable_rj
|
|
|
4192
4203
|
shapes7: Cv,
|
|
4193
4204
|
shapes8: yv,
|
|
4194
4205
|
shapes9: kv
|
|
4195
|
-
},
|
|
4206
|
+
}, zs = {
|
|
4196
4207
|
// Yellow gradients
|
|
4197
4208
|
yellowLight: {
|
|
4198
4209
|
gradient: "linear-gradient(225deg, #FDFFB6 0%, #B0D169 100%)",
|
|
@@ -4286,7 +4297,7 @@ const wf = "_listCardsItem_rjypk_1", Rf = "_listCardsItemDescriptionWrappable_rj
|
|
|
4286
4297
|
}
|
|
4287
4298
|
};
|
|
4288
4299
|
function Qv(n) {
|
|
4289
|
-
const e = Object.keys(
|
|
4300
|
+
const e = Object.keys(zs), t = Object.keys(Us);
|
|
4290
4301
|
function s(l) {
|
|
4291
4302
|
let c = 5381;
|
|
4292
4303
|
for (let u = 0; u < l.length; u++)
|
|
@@ -4308,7 +4319,7 @@ const bi = ({
|
|
|
4308
4319
|
className: o,
|
|
4309
4320
|
...i
|
|
4310
4321
|
}) => {
|
|
4311
|
-
const l = _(() => Object.keys(
|
|
4322
|
+
const l = _(() => Object.keys(zs), []), c = _(() => Object.keys(Us), []), { color: u, graphic: h } = _(() => {
|
|
4312
4323
|
let v = n, m = e;
|
|
4313
4324
|
if (a) {
|
|
4314
4325
|
const C = Qv(a);
|
|
@@ -4323,7 +4334,7 @@ const bi = ({
|
|
|
4323
4334
|
m = c[C];
|
|
4324
4335
|
}
|
|
4325
4336
|
return { color: v, graphic: m };
|
|
4326
|
-
}, [n, e, a, l, c]), A =
|
|
4337
|
+
}, [n, e, a, l, c]), A = zs[u], p = Us[h], k = _(
|
|
4327
4338
|
() => ({
|
|
4328
4339
|
background: A.gradient,
|
|
4329
4340
|
opacity: A.opacity
|
|
@@ -4629,12 +4640,12 @@ const JS = ({
|
|
|
4629
4640
|
children: n._("Reset")
|
|
4630
4641
|
}
|
|
4631
4642
|
)
|
|
4632
|
-
] }), Dv = "_selectTrigger_1b07c_1", Pv = "_soft_1b07c_1", Uv = "_ghost_1b07c_2",
|
|
4643
|
+
] }), Dv = "_selectTrigger_1b07c_1", Pv = "_soft_1b07c_1", Uv = "_ghost_1b07c_2", zv = "_hideIndicator_1b07c_30", Mv = "_size1_1b07c_34", Ov = "_size2_1b07c_39", Fv = "_selectItem_1b07c_45", Ye = {
|
|
4633
4644
|
selectTrigger: Dv,
|
|
4634
4645
|
soft: Pv,
|
|
4635
4646
|
ghost: Uv,
|
|
4636
|
-
hideIndicator:
|
|
4637
|
-
size1:
|
|
4647
|
+
hideIndicator: zv,
|
|
4648
|
+
size1: Mv,
|
|
4638
4649
|
size2: Ov,
|
|
4639
4650
|
selectItem: Fv
|
|
4640
4651
|
}, Hv = ({
|
|
@@ -4744,7 +4755,7 @@ const JS = ({
|
|
|
4744
4755
|
] });
|
|
4745
4756
|
};
|
|
4746
4757
|
Hv.displayName = "MultiSelect";
|
|
4747
|
-
const jv = "_customCard_1klw4_2", Lv = "_selected_1klw4_18", Wv = "_disabled_1klw4_18", Vv = "_lockedIcon_1klw4_24", qv = "_gridContainer_1klw4_46", Kv = "_icon_1klw4_52",
|
|
4758
|
+
const jv = "_customCard_1klw4_2", Lv = "_selected_1klw4_18", Wv = "_disabled_1klw4_18", Vv = "_lockedIcon_1klw4_24", qv = "_gridContainer_1klw4_46", Kv = "_icon_1klw4_52", Mt = {
|
|
4748
4759
|
customCard: jv,
|
|
4749
4760
|
selected: Lv,
|
|
4750
4761
|
disabled: Wv,
|
|
@@ -4759,9 +4770,9 @@ const jv = "_customCard_1klw4_2", Lv = "_selected_1klw4_18", Wv = "_disabled_1kl
|
|
|
4759
4770
|
ir,
|
|
4760
4771
|
{
|
|
4761
4772
|
onClick: l ? void 0 : o,
|
|
4762
|
-
className: f(
|
|
4763
|
-
[
|
|
4764
|
-
[
|
|
4773
|
+
className: f(Mt.customCard, {
|
|
4774
|
+
[Mt.selected]: i,
|
|
4775
|
+
[Mt.disabled]: l
|
|
4765
4776
|
}),
|
|
4766
4777
|
variant: "surface",
|
|
4767
4778
|
children: /* @__PURE__ */ g(y, { align: "start", direction: "column", height: "70px", justify: "between", children: [
|
|
@@ -4769,14 +4780,14 @@ const jv = "_customCard_1klw4_2", Lv = "_selected_1klw4_18", Wv = "_disabled_1kl
|
|
|
4769
4780
|
n.icon && /* @__PURE__ */ r(
|
|
4770
4781
|
Ae,
|
|
4771
4782
|
{
|
|
4772
|
-
className:
|
|
4783
|
+
className: Mt.icon,
|
|
4773
4784
|
style: {
|
|
4774
4785
|
color: i && !l ? "var(--aqua-9)" : "var(--neutral-alpha-11)"
|
|
4775
4786
|
},
|
|
4776
4787
|
children: n.icon
|
|
4777
4788
|
}
|
|
4778
4789
|
),
|
|
4779
|
-
n.isLocked && /* @__PURE__ */ r(cc, { width: 12, height: 12, className:
|
|
4790
|
+
n.isLocked && /* @__PURE__ */ r(cc, { width: 12, height: 12, className: Mt.lockedIcon })
|
|
4780
4791
|
] }),
|
|
4781
4792
|
/* @__PURE__ */ r(
|
|
4782
4793
|
P,
|
|
@@ -4794,7 +4805,7 @@ const jv = "_customCard_1klw4_2", Lv = "_selected_1klw4_18", Wv = "_disabled_1kl
|
|
|
4794
4805
|
] })
|
|
4795
4806
|
}
|
|
4796
4807
|
) });
|
|
4797
|
-
},
|
|
4808
|
+
}, Ms = ({
|
|
4798
4809
|
items: n,
|
|
4799
4810
|
value: e = [],
|
|
4800
4811
|
onSelect: t,
|
|
@@ -4804,7 +4815,7 @@ const jv = "_customCard_1klw4_2", Lv = "_selected_1klw4_18", Wv = "_disabled_1kl
|
|
|
4804
4815
|
}) => /* @__PURE__ */ r(Nt, { height: "100%", width: "100%", scrollbars: "vertical", children: /* @__PURE__ */ r(
|
|
4805
4816
|
Ae,
|
|
4806
4817
|
{
|
|
4807
|
-
className: f(
|
|
4818
|
+
className: f(Mt.gridContainer, s),
|
|
4808
4819
|
pr: "3",
|
|
4809
4820
|
...o,
|
|
4810
4821
|
children: n.map((i) => /* @__PURE__ */ r(
|
|
@@ -4820,7 +4831,7 @@ const jv = "_customCard_1klw4_2", Lv = "_selected_1klw4_18", Wv = "_disabled_1kl
|
|
|
4820
4831
|
))
|
|
4821
4832
|
}
|
|
4822
4833
|
) });
|
|
4823
|
-
|
|
4834
|
+
Ms.displayName = "MultiSelectCards";
|
|
4824
4835
|
const Xv = "_content_15nbm_1", Yv = "_pan_15nbm_13", Zv = "_disabled_15nbm_26", _v = "_active_15nbm_31", $v = "_tooltipContent_15nbm_41", eC = "_tooltipArrow_15nbm_57", Qt = {
|
|
4825
4836
|
content: Xv,
|
|
4826
4837
|
pan: Yv,
|
|
@@ -4868,7 +4879,7 @@ const Xv = "_content_15nbm_1", Yv = "_pan_15nbm_13", Zv = "_disabled_15nbm_26",
|
|
|
4868
4879
|
},
|
|
4869
4880
|
[e, b]
|
|
4870
4881
|
);
|
|
4871
|
-
|
|
4882
|
+
zt("wheel", I, i);
|
|
4872
4883
|
const S = x(
|
|
4873
4884
|
(U) => {
|
|
4874
4885
|
var N;
|
|
@@ -4893,7 +4904,7 @@ const Xv = "_content_15nbm_1", Yv = "_pan_15nbm_13", Zv = "_disabled_15nbm_26",
|
|
|
4893
4904
|
U.detail === 2 && b(0);
|
|
4894
4905
|
},
|
|
4895
4906
|
[b]
|
|
4896
|
-
), { arcPath:
|
|
4907
|
+
), { arcPath: M, pointerRotation: Q, arcColor: J, pointerColor: z } = _(() => {
|
|
4897
4908
|
const U = Lr(e, a, o), D = jr(U), N = hs + D * Math.PI, W = _t + yt * Math.cos(hs), X = $t + yt * Math.sin(hs), V = _t + yt * Math.cos(N), R = $t + yt * Math.sin(N), H = 0, le = D > 0 ? 1 : 0;
|
|
4898
4909
|
return {
|
|
4899
4910
|
arcPath: `M ${W.toFixed(3)} ${X.toFixed(3)}
|
|
@@ -4915,8 +4926,8 @@ const Xv = "_content_15nbm_1", Yv = "_pan_15nbm_13", Zv = "_disabled_15nbm_26",
|
|
|
4915
4926
|
"data-no-drag": "true",
|
|
4916
4927
|
onClick: T,
|
|
4917
4928
|
style: { cursor: s ? "default" : "ns-resize" },
|
|
4918
|
-
children: /* @__PURE__ */ r(Un, { delayDuration: 200, children: /* @__PURE__ */ g(
|
|
4919
|
-
/* @__PURE__ */ r(
|
|
4929
|
+
children: /* @__PURE__ */ r(Un, { delayDuration: 200, children: /* @__PURE__ */ g(zn, { open: l, children: [
|
|
4930
|
+
/* @__PURE__ */ r(Mn, { asChild: !0, children: /* @__PURE__ */ r(
|
|
4920
4931
|
"div",
|
|
4921
4932
|
{
|
|
4922
4933
|
className: f(
|
|
@@ -4943,7 +4954,7 @@ const Xv = "_content_15nbm_1", Yv = "_pan_15nbm_13", Zv = "_disabled_15nbm_26",
|
|
|
4943
4954
|
e !== 0 && /* @__PURE__ */ r(
|
|
4944
4955
|
"path",
|
|
4945
4956
|
{
|
|
4946
|
-
d:
|
|
4957
|
+
d: M,
|
|
4947
4958
|
stroke: J,
|
|
4948
4959
|
strokeLinecap: "round",
|
|
4949
4960
|
strokeWidth: 1,
|
|
@@ -4958,7 +4969,7 @@ const Xv = "_content_15nbm_1", Yv = "_pan_15nbm_13", Zv = "_disabled_15nbm_26",
|
|
|
4958
4969
|
"path",
|
|
4959
4970
|
{
|
|
4960
4971
|
d: "M10 0.5 L10 6",
|
|
4961
|
-
stroke:
|
|
4972
|
+
stroke: z,
|
|
4962
4973
|
strokeLinecap: "round",
|
|
4963
4974
|
strokeWidth: 1
|
|
4964
4975
|
}
|
|
@@ -5158,7 +5169,7 @@ const BC = ({
|
|
|
5158
5169
|
onSelectionChange: u
|
|
5159
5170
|
}
|
|
5160
5171
|
);
|
|
5161
|
-
}, wC = "_projectTitle_ljcse_1", RC = "_projectArtist_ljcse_5", NC = "_projectCover_ljcse_9", xC = "_item_ljcse_24", QC = "_opened_ljcse_28", TC = "_itemTrack_ljcse_38", JC = "_iconArrowLeft_ljcse_42", DC = "_iconTrack_ljcse_54", PC = "_trackTitle_ljcse_60", UC = "_icon_ljcse_42",
|
|
5172
|
+
}, wC = "_projectTitle_ljcse_1", RC = "_projectArtist_ljcse_5", NC = "_projectCover_ljcse_9", xC = "_item_ljcse_24", QC = "_opened_ljcse_28", TC = "_itemTrack_ljcse_38", JC = "_iconArrowLeft_ljcse_42", DC = "_iconTrack_ljcse_54", PC = "_trackTitle_ljcse_60", UC = "_icon_ljcse_42", ze = {
|
|
5162
5173
|
projectTitle: wC,
|
|
5163
5174
|
projectArtist: RC,
|
|
5164
5175
|
projectCover: NC,
|
|
@@ -5169,7 +5180,7 @@ const BC = ({
|
|
|
5169
5180
|
iconTrack: DC,
|
|
5170
5181
|
trackTitle: PC,
|
|
5171
5182
|
icon: UC
|
|
5172
|
-
},
|
|
5183
|
+
}, zC = (n) => {
|
|
5173
5184
|
switch (n) {
|
|
5174
5185
|
case "original":
|
|
5175
5186
|
return /* @__PURE__ */ r(fc, { width: 16, height: 16 });
|
|
@@ -5222,7 +5233,7 @@ const BC = ({
|
|
|
5222
5233
|
openedItem: null,
|
|
5223
5234
|
setOpenedItem: () => {
|
|
5224
5235
|
}
|
|
5225
|
-
}),
|
|
5236
|
+
}), MC = ({
|
|
5226
5237
|
children: n,
|
|
5227
5238
|
onClickTrack: e,
|
|
5228
5239
|
onInsertAllTracks: t
|
|
@@ -5260,15 +5271,15 @@ const BC = ({
|
|
|
5260
5271
|
direction: "column",
|
|
5261
5272
|
gap: "2",
|
|
5262
5273
|
p: "1",
|
|
5263
|
-
className: `${
|
|
5274
|
+
className: `${ze.item} ${u === n ? ze.opened : ""}`,
|
|
5264
5275
|
onClick: k,
|
|
5265
5276
|
...i,
|
|
5266
5277
|
children: [
|
|
5267
5278
|
/* @__PURE__ */ g(y, { direction: "row", gap: "3", children: [
|
|
5268
|
-
/* @__PURE__ */ r(y, { className:
|
|
5279
|
+
/* @__PURE__ */ r(y, { className: ze.projectCover, children: /* @__PURE__ */ r(yr, { type: a, cover: s, size: "48px" }) }),
|
|
5269
5280
|
/* @__PURE__ */ g(y, { direction: "column", gap: "1", align: "start", justify: "center", children: [
|
|
5270
|
-
/* @__PURE__ */ r(P, { size: "2", className:
|
|
5271
|
-
t && /* @__PURE__ */ r(P, { size: "1", className:
|
|
5281
|
+
/* @__PURE__ */ r(P, { size: "2", className: ze.projectTitle, children: e }),
|
|
5282
|
+
t && /* @__PURE__ */ r(P, { size: "1", className: ze.projectArtist, children: t })
|
|
5272
5283
|
] })
|
|
5273
5284
|
] }),
|
|
5274
5285
|
u === n && /* @__PURE__ */ g(y, { direction: "column", children: [
|
|
@@ -5282,16 +5293,16 @@ const BC = ({
|
|
|
5282
5293
|
{
|
|
5283
5294
|
direction: "row",
|
|
5284
5295
|
gap: "3",
|
|
5285
|
-
className:
|
|
5296
|
+
className: ze.itemTrack,
|
|
5286
5297
|
onClick: (C) => {
|
|
5287
5298
|
C.stopPropagation(), l == null || l(m);
|
|
5288
5299
|
},
|
|
5289
5300
|
children: [
|
|
5290
|
-
/* @__PURE__ */ g("div", { className:
|
|
5291
|
-
/* @__PURE__ */ r(y, { className:
|
|
5292
|
-
/* @__PURE__ */ r(Ss, { width: 16, height: 16, className:
|
|
5301
|
+
/* @__PURE__ */ g("div", { className: ze.icon, children: [
|
|
5302
|
+
/* @__PURE__ */ r(y, { className: ze.iconTrack, children: zC(m.id) }),
|
|
5303
|
+
/* @__PURE__ */ r(Ss, { width: 16, height: 16, className: ze.iconArrowLeft })
|
|
5293
5304
|
] }),
|
|
5294
|
-
/* @__PURE__ */ r(y, { direction: "column", gap: "1", align: "start", justify: "center", children: /* @__PURE__ */ r(P, { size: "2", className:
|
|
5305
|
+
/* @__PURE__ */ r(y, { direction: "column", gap: "1", align: "start", justify: "center", children: /* @__PURE__ */ r(P, { size: "2", className: ze.trackTitle, children: m.title }) })
|
|
5295
5306
|
]
|
|
5296
5307
|
},
|
|
5297
5308
|
m.id
|
|
@@ -5326,7 +5337,7 @@ const BC = ({
|
|
|
5326
5337
|
}
|
|
5327
5338
|
);
|
|
5328
5339
|
};
|
|
5329
|
-
|
|
5340
|
+
MC.Item = OC;
|
|
5330
5341
|
const FC = "_RadioCardsGroup_95mfr_1", HC = "_RadioCardsGroupItem_95mfr_5", jC = "_RadioCardsGroupDescription_95mfr_33", LC = "_showRadio_95mfr_37", WC = "_RadioCardsGroupItemContent_95mfr_40", en = {
|
|
5331
5342
|
RadioCardsGroup: FC,
|
|
5332
5343
|
RadioCardsGroupItem: HC,
|
|
@@ -5385,28 +5396,28 @@ const qC = "_starButton_azi6g_1", KC = "_disabled_azi6g_17", GC = "_readOnly_azi
|
|
|
5385
5396
|
const [p, k] = q(t || 0), [v, m] = q(0), C = e !== void 0 ? e : p, E = e !== void 0, b = x(
|
|
5386
5397
|
(w) => {
|
|
5387
5398
|
if (s || a) return;
|
|
5388
|
-
const T = w + 1,
|
|
5389
|
-
E || k(
|
|
5399
|
+
const T = w + 1, M = T === C ? 0 : T;
|
|
5400
|
+
E || k(M), o == null || o({ value: M });
|
|
5390
5401
|
},
|
|
5391
5402
|
[s, a, E, o, C]
|
|
5392
5403
|
), I = x(
|
|
5393
5404
|
(w) => {
|
|
5394
5405
|
if (s || a) return;
|
|
5395
|
-
const T = w.currentTarget.getBoundingClientRect(),
|
|
5406
|
+
const T = w.currentTarget.getBoundingClientRect(), M = w.clientX - T.left, Q = T.width / n, J = Math.floor(M / Q), O = Math.max(0, Math.min(J, n - 1)) + 1;
|
|
5396
5407
|
O !== v && (m(O), i == null || i({ value: O }));
|
|
5397
5408
|
},
|
|
5398
5409
|
[s, a, n, v, i]
|
|
5399
5410
|
), S = x(() => {
|
|
5400
5411
|
s || a || (m(0), i == null || i({ value: 0 }));
|
|
5401
5412
|
}, [s, a, i]), B = (w) => {
|
|
5402
|
-
const T = v > 0 ? w < v : w < C,
|
|
5413
|
+
const T = v > 0 ? w < v : w < C, M = v > 0 && w < v, Q = w < C;
|
|
5403
5414
|
return /* @__PURE__ */ r(
|
|
5404
5415
|
"button",
|
|
5405
5416
|
{
|
|
5406
5417
|
type: "button",
|
|
5407
5418
|
className: f(Re.starButton, {
|
|
5408
5419
|
[Re.filled]: T,
|
|
5409
|
-
[Re.hovered]:
|
|
5420
|
+
[Re.hovered]: M,
|
|
5410
5421
|
[Re.active]: Q,
|
|
5411
5422
|
[Re.disabled]: s,
|
|
5412
5423
|
[Re.readOnly]: a
|
|
@@ -5616,7 +5627,7 @@ const m1 = "_selectContent_183an_2", g1 = "_selectTrigger_183an_68", f1 = "_soft
|
|
|
5616
5627
|
) })
|
|
5617
5628
|
] });
|
|
5618
5629
|
Ft.displayName = "Select";
|
|
5619
|
-
const S1 = "_sliderTrack_bq3k4_29", I1 = "_sliderTrackSize1_bq3k4_40", b1 = "_sliderTrackSize2_bq3k4_44", B1 = "_sliderTrackSize3_bq3k4_48", w1 = "_sliderRange_bq3k4_56", R1 = "_sliderRangeAccent_bq3k4_66", N1 = "_sliderRangeNeutral_bq3k4_69", x1 = "_sliderRangeHighContrastAccent_bq3k4_73", Q1 = "_sliderRangeHighContrastNeutral_bq3k4_77", T1 = "_sliderThumb_bq3k4_90", J1 = "_sliderThumbSize1_bq3k4_103", D1 = "_sliderThumbSize2_bq3k4_109", P1 = "_sliderThumbSize3_bq3k4_114", U1 = "_sliderContainer_bq3k4_126",
|
|
5630
|
+
const S1 = "_sliderTrack_bq3k4_29", I1 = "_sliderTrackSize1_bq3k4_40", b1 = "_sliderTrackSize2_bq3k4_44", B1 = "_sliderTrackSize3_bq3k4_48", w1 = "_sliderRange_bq3k4_56", R1 = "_sliderRangeAccent_bq3k4_66", N1 = "_sliderRangeNeutral_bq3k4_69", x1 = "_sliderRangeHighContrastAccent_bq3k4_73", Q1 = "_sliderRangeHighContrastNeutral_bq3k4_77", T1 = "_sliderThumb_bq3k4_90", J1 = "_sliderThumbSize1_bq3k4_103", D1 = "_sliderThumbSize2_bq3k4_109", P1 = "_sliderThumbSize3_bq3k4_114", U1 = "_sliderContainer_bq3k4_126", z1 = "_markersContainer_bq3k4_136", M1 = "_marker_bq3k4_136", O1 = "_markerSize3_bq3k4_157", ve = {
|
|
5620
5631
|
sliderTrack: S1,
|
|
5621
5632
|
sliderTrackSize1: I1,
|
|
5622
5633
|
sliderTrackSize2: b1,
|
|
@@ -5631,8 +5642,8 @@ const S1 = "_sliderTrack_bq3k4_29", I1 = "_sliderTrackSize1_bq3k4_40", b1 = "_sl
|
|
|
5631
5642
|
sliderThumbSize2: D1,
|
|
5632
5643
|
sliderThumbSize3: P1,
|
|
5633
5644
|
sliderContainer: U1,
|
|
5634
|
-
markersContainer:
|
|
5635
|
-
marker:
|
|
5645
|
+
markersContainer: z1,
|
|
5646
|
+
marker: M1,
|
|
5636
5647
|
markerSize3: O1
|
|
5637
5648
|
}, St = ({
|
|
5638
5649
|
className: n,
|
|
@@ -6017,12 +6028,12 @@ const G1 = "_tooltipTriggerWrapper_1hj63_1", X1 = "_newSetlistItem_1hj63_6", Y1
|
|
|
6017
6028
|
delayDuration: a,
|
|
6018
6029
|
skipDelayDuration: o,
|
|
6019
6030
|
disableHoverableContent: i
|
|
6020
|
-
}, children: /* @__PURE__ */ g(
|
|
6031
|
+
}, children: /* @__PURE__ */ g(zn, { ...{
|
|
6021
6032
|
defaultOpen: c,
|
|
6022
6033
|
open: u,
|
|
6023
6034
|
onOpenChange: h
|
|
6024
6035
|
}, children: [
|
|
6025
|
-
/* @__PURE__ */ r(
|
|
6036
|
+
/* @__PURE__ */ r(Mn, { asChild: !0, children: n }),
|
|
6026
6037
|
/* @__PURE__ */ r(Aa, { children: /* @__PURE__ */ r(Ey, { asChild: !0, children: /* @__PURE__ */ g(
|
|
6027
6038
|
On,
|
|
6028
6039
|
{
|
|
@@ -6249,15 +6260,15 @@ const Ni = ({
|
|
|
6249
6260
|
t == null || t(N), l && i();
|
|
6250
6261
|
}, A = () => {
|
|
6251
6262
|
s == null || s(), l && i();
|
|
6252
|
-
}, [p, k] = q(!1), [v, m] = q(!1), C = oe(null), E = oe(null), b = oe(null), I = 260, S = 4, B = a && s ? 1 : 0, w = a && !p, T = w ? n.slice(0, S) : n,
|
|
6263
|
+
}, [p, k] = q(!1), [v, m] = q(!1), C = oe(null), E = oe(null), b = oe(null), I = 260, S = 4, B = a && s ? 1 : 0, w = a && !p, T = w ? n.slice(0, S) : n, M = 2750, Q = () => {
|
|
6253
6264
|
a && (C.current && (clearTimeout(C.current), C.current = null), E.current && (clearTimeout(E.current), E.current = null), m(!1));
|
|
6254
6265
|
}, J = () => {
|
|
6255
6266
|
a && p && (C.current && clearTimeout(C.current), C.current = setTimeout(() => {
|
|
6256
6267
|
C.current = null, m(!0), E.current = setTimeout(() => {
|
|
6257
6268
|
E.current = null, k(!1), m(!1);
|
|
6258
6269
|
}, I);
|
|
6259
|
-
},
|
|
6260
|
-
},
|
|
6270
|
+
}, M));
|
|
6271
|
+
}, z = (N) => {
|
|
6261
6272
|
a && (N.stopPropagation(), C.current && (clearTimeout(C.current), C.current = null), m(!1), k(!0));
|
|
6262
6273
|
}, O = () => {
|
|
6263
6274
|
a && k(!0);
|
|
@@ -6323,7 +6334,7 @@ const Ni = ({
|
|
|
6323
6334
|
s && (w ? /* @__PURE__ */ r(
|
|
6324
6335
|
Qy,
|
|
6325
6336
|
{
|
|
6326
|
-
onExpand:
|
|
6337
|
+
onExpand: z,
|
|
6327
6338
|
collapsed: a,
|
|
6328
6339
|
className: G.collapsedStackItem,
|
|
6329
6340
|
style: {
|
|
@@ -6374,11 +6385,11 @@ const Ni = ({
|
|
|
6374
6385
|
)
|
|
6375
6386
|
}
|
|
6376
6387
|
);
|
|
6377
|
-
}, Py = "_root_ad96y_1", Uy = "_rootCollapsed_ad96y_13",
|
|
6388
|
+
}, Py = "_root_ad96y_1", Uy = "_rootCollapsed_ad96y_13", zy = "_desktopSidebar_ad96y_18", My = "_content_ad96y_26", Oy = "_moisesIcon_ad96y_34", Fy = "_moisesIconHidden_ad96y_44", Hy = "_logoToggleContainer_ad96y_51", jy = "_logoToggleContainerCollapsed_ad96y_60", Ly = "_logoInContainer_ad96y_64", Wy = "_logoInContainerHidden_ad96y_70", Vy = "_toggleInContainer_ad96y_74", qy = "_toggleInContainerVisible_ad96y_81", Ky = "_toggleButton_ad96y_86", Gy = "_toggleButtonHidden_ad96y_92", Xy = "_mobileTopBar_ad96y_97", Yy = "_mobileTopBarOpen_ad96y_105", Zy = "_mobileTopBarWrapper_ad96y_109", _y = "_mobileTopBarAction_ad96y_114", $y = "_mobileDrawer_ad96y_122", ek = "_mobileDrawerOpen_ad96y_205", tk = "_mobileDrawerContent_ad96y_212", nk = "_mobileDrawerContentOpen_ad96y_225", sk = "_header_ad96y_238", rk = "_headerCollapsed_ad96y_248", re = {
|
|
6378
6389
|
root: Py,
|
|
6379
6390
|
rootCollapsed: Uy,
|
|
6380
|
-
desktopSidebar:
|
|
6381
|
-
content:
|
|
6391
|
+
desktopSidebar: zy,
|
|
6392
|
+
content: My,
|
|
6382
6393
|
moisesIcon: Oy,
|
|
6383
6394
|
moisesIconHidden: Fy,
|
|
6384
6395
|
logoToggleContainer: Hy,
|
|
@@ -7295,7 +7306,7 @@ const Rn = {
|
|
|
7295
7306
|
onMountConcurrency: E,
|
|
7296
7307
|
onClear: b
|
|
7297
7308
|
}) => {
|
|
7298
|
-
const [I, S] = q(!1), [B, w] = q("2"), [T,
|
|
7309
|
+
const [I, S] = q(!1), [B, w] = q("2"), [T, M] = q(B), { submitted: Q, handleSubmit: J } = Er(c), z = _(() => [
|
|
7299
7310
|
{ value: "2", label: i._("Presets") },
|
|
7300
7311
|
{ value: "1", label: i._("Custom") }
|
|
7301
7312
|
], []), O = (t ?? []).some(
|
|
@@ -7362,7 +7373,7 @@ const Rn = {
|
|
|
7362
7373
|
if (B !== T) {
|
|
7363
7374
|
S(!0);
|
|
7364
7375
|
const V = setTimeout(() => {
|
|
7365
|
-
|
|
7376
|
+
M(B), S(!1);
|
|
7366
7377
|
}, Rn.timeouts.animationDuration);
|
|
7367
7378
|
return () => clearTimeout(V);
|
|
7368
7379
|
}
|
|
@@ -7399,7 +7410,7 @@ const Rn = {
|
|
|
7399
7410
|
O && /* @__PURE__ */ r(
|
|
7400
7411
|
Pn,
|
|
7401
7412
|
{
|
|
7402
|
-
items:
|
|
7413
|
+
items: z,
|
|
7403
7414
|
selectedType: B,
|
|
7404
7415
|
handleTypeChange: N,
|
|
7405
7416
|
size: "2"
|
|
@@ -7789,16 +7800,16 @@ const Kr = {
|
|
|
7789
7800
|
}
|
|
7790
7801
|
const w = B.value;
|
|
7791
7802
|
c((T) => {
|
|
7792
|
-
let
|
|
7793
|
-
if (
|
|
7794
|
-
|
|
7803
|
+
let M = [...T.selectedStems];
|
|
7804
|
+
if (M.includes(w))
|
|
7805
|
+
M = M.filter((Q) => Q !== w);
|
|
7795
7806
|
else {
|
|
7796
7807
|
const Q = Jk[w] || [];
|
|
7797
|
-
|
|
7808
|
+
M = M.filter(
|
|
7798
7809
|
(J) => !Q.includes(J)
|
|
7799
|
-
),
|
|
7810
|
+
), M.push(w);
|
|
7800
7811
|
}
|
|
7801
|
-
return
|
|
7812
|
+
return M.includes("other") && M.length === 1 ? { ...T, selectedStems: [] } : { ...T, selectedStems: M };
|
|
7802
7813
|
});
|
|
7803
7814
|
}, I = (B) => {
|
|
7804
7815
|
c((w) => ({
|
|
@@ -7810,7 +7821,7 @@ const Kr = {
|
|
|
7810
7821
|
e && /* @__PURE__ */ g(y, { direction: "column", pb: "2", children: [
|
|
7811
7822
|
/* @__PURE__ */ r(j, { size: "2", weight: "medium", mb: "2", children: n._("Basic Models") }),
|
|
7812
7823
|
/* @__PURE__ */ r(
|
|
7813
|
-
|
|
7824
|
+
Ms,
|
|
7814
7825
|
{
|
|
7815
7826
|
items: E.filter((B) => B.category === "free").map((B) => ({
|
|
7816
7827
|
name: B.name,
|
|
@@ -7824,7 +7835,7 @@ const Kr = {
|
|
|
7824
7835
|
/* @__PURE__ */ r(j, { size: "2", weight: "medium", mt: "2", children: n._("Music Stems") })
|
|
7825
7836
|
] }),
|
|
7826
7837
|
/* @__PURE__ */ r(
|
|
7827
|
-
|
|
7838
|
+
Ms,
|
|
7828
7839
|
{
|
|
7829
7840
|
items: E.filter((B) => B.category === "paid").filter((B) => t.some((w) => w.value === B.value)).map((B) => {
|
|
7830
7841
|
var w;
|
|
@@ -8040,10 +8051,10 @@ const Kr = {
|
|
|
8040
8051
|
}
|
|
8041
8052
|
)
|
|
8042
8053
|
] })
|
|
8043
|
-
), Uk = "_TextField_127qa_1",
|
|
8054
|
+
), Uk = "_TextField_127qa_1", zk = "_size1_127qa_13", Mk = "_size2_127qa_17", Ok = "_size3_127qa_21", Fk = "_size4_127qa_25", Hk = "_icon_127qa_30", jk = "_Disabled_127qa_38", Lk = "_ReadOnly_127qa_43", Wk = "_focusRing_127qa_54", Vk = "_errorText_127qa_54", qk = "_secondaryText_127qa_64", Kk = "_endSlot_127qa_72", Me = {
|
|
8044
8055
|
TextField: Uk,
|
|
8045
|
-
size1:
|
|
8046
|
-
size2:
|
|
8056
|
+
size1: zk,
|
|
8057
|
+
size2: Mk,
|
|
8047
8058
|
size3: Ok,
|
|
8048
8059
|
size4: Fk,
|
|
8049
8060
|
icon: Hk,
|
|
@@ -8071,7 +8082,7 @@ const Kr = {
|
|
|
8071
8082
|
secondaryText: v,
|
|
8072
8083
|
...m
|
|
8073
8084
|
}) => {
|
|
8074
|
-
const C = A || (u ? /* @__PURE__ */ r(u, { width: 16, height: 16, className:
|
|
8085
|
+
const C = A || (u ? /* @__PURE__ */ r(u, { width: 16, height: 16, className: Me.icon }) : null);
|
|
8075
8086
|
return /* @__PURE__ */ g(y, { direction: "column", width: "100%", height: "100%", gap: "1", children: [
|
|
8076
8087
|
s && /* @__PURE__ */ g(y, { align: "center", gap: "2", children: [
|
|
8077
8088
|
/* @__PURE__ */ r(P, { size: c, weight: "medium", children: s }),
|
|
@@ -8084,19 +8095,19 @@ const Kr = {
|
|
|
8084
8095
|
value: n,
|
|
8085
8096
|
onChange: e,
|
|
8086
8097
|
placeholder: t,
|
|
8087
|
-
className: f(
|
|
8088
|
-
[
|
|
8089
|
-
[
|
|
8090
|
-
[
|
|
8091
|
-
[
|
|
8092
|
-
[
|
|
8098
|
+
className: f(Me.TextField, o, {
|
|
8099
|
+
[Me.Disabled]: i,
|
|
8100
|
+
[Me.ReadOnly]: l,
|
|
8101
|
+
[Me.focusRing]: h || k,
|
|
8102
|
+
[Me.errorText]: k,
|
|
8103
|
+
[Me[`size${c}`]]: c
|
|
8093
8104
|
}),
|
|
8094
8105
|
readOnly: l,
|
|
8095
8106
|
disabled: i,
|
|
8096
8107
|
...m,
|
|
8097
8108
|
children: [
|
|
8098
8109
|
C && /* @__PURE__ */ r(Ai, { children: C }),
|
|
8099
|
-
p && /* @__PURE__ */ r("div", { className:
|
|
8110
|
+
p && /* @__PURE__ */ r("div", { className: Me.endSlot, children: p })
|
|
8100
8111
|
]
|
|
8101
8112
|
}
|
|
8102
8113
|
),
|
|
@@ -8105,8 +8116,8 @@ const Kr = {
|
|
|
8105
8116
|
{
|
|
8106
8117
|
size: "1",
|
|
8107
8118
|
weight: "regular",
|
|
8108
|
-
className: f(
|
|
8109
|
-
[
|
|
8119
|
+
className: f(Me.secondaryText, {
|
|
8120
|
+
[Me.errorText]: k
|
|
8110
8121
|
}),
|
|
8111
8122
|
children: v
|
|
8112
8123
|
}
|
|
@@ -8951,7 +8962,7 @@ function UE({ maxTop: n, maxBottom: e, halfHeight: t, vScale: s, barMinHeight: a
|
|
|
8951
8962
|
let i = Math.round(n * t * s), l = i + Math.round(e * t * s) || 1;
|
|
8952
8963
|
return l < a && (l = a, o || (i = l / 2)), { topHeight: i, totalHeight: l };
|
|
8953
8964
|
}
|
|
8954
|
-
function
|
|
8965
|
+
function zE({ barAlign: n, halfHeight: e, topHeight: t, totalHeight: s, canvasHeight: a }) {
|
|
8955
8966
|
return n === "top" ? 0 : n === "bottom" ? a - s : e - t;
|
|
8956
8967
|
}
|
|
8957
8968
|
function Xr(n, e, t) {
|
|
@@ -8971,11 +8982,11 @@ function Zr({ scrollLeft: n, totalWidth: e, numCanvases: t }) {
|
|
|
8971
8982
|
const s = n / e, a = Math.floor(s * t);
|
|
8972
8983
|
return [a - 1, a, a + 1];
|
|
8973
8984
|
}
|
|
8974
|
-
function
|
|
8985
|
+
function zi(n) {
|
|
8975
8986
|
const e = n._cleanup;
|
|
8976
8987
|
typeof e == "function" && e();
|
|
8977
8988
|
}
|
|
8978
|
-
function
|
|
8989
|
+
function ME(n) {
|
|
8979
8990
|
const e = de({ scrollLeft: n.scrollLeft, scrollWidth: n.scrollWidth, clientWidth: n.clientWidth }), t = Et(() => function(o) {
|
|
8980
8991
|
const { scrollLeft: i, scrollWidth: l, clientWidth: c } = o;
|
|
8981
8992
|
if (l === 0) return { startX: 0, endX: 1 };
|
|
@@ -8987,7 +8998,7 @@ function zE(n) {
|
|
|
8987
8998
|
e.set({ scrollLeft: n.scrollLeft, scrollWidth: n.scrollWidth, clientWidth: n.clientWidth });
|
|
8988
8999
|
};
|
|
8989
9000
|
return n.addEventListener("scroll", a, { passive: !0 }), { scrollData: e, percentages: t, bounds: s, cleanup: () => {
|
|
8990
|
-
n.removeEventListener("scroll", a),
|
|
9001
|
+
n.removeEventListener("scroll", a), zi(e);
|
|
8991
9002
|
} };
|
|
8992
9003
|
}
|
|
8993
9004
|
class OE extends gn {
|
|
@@ -9010,7 +9021,7 @@ class OE extends gn {
|
|
|
9010
9021
|
}), this.wrapper.addEventListener("dblclick", (t) => {
|
|
9011
9022
|
const s = this.wrapper.getBoundingClientRect(), [a, o] = Xr(s, t.clientX, t.clientY);
|
|
9012
9023
|
this.emit("dblclick", a, o);
|
|
9013
|
-
}), this.options.dragToSeek !== !0 && typeof this.options.dragToSeek != "object" || this.initDrag(), this.scrollStream =
|
|
9024
|
+
}), this.options.dragToSeek !== !0 && typeof this.options.dragToSeek != "object" || this.initDrag(), this.scrollStream = ME(this.scrollContainer);
|
|
9014
9025
|
const e = et(() => {
|
|
9015
9026
|
const { startX: t, endX: s } = this.scrollStream.percentages.value, { left: a, right: o } = this.scrollStream.bounds.value;
|
|
9016
9027
|
this.emit("scroll", t, s, a, o);
|
|
@@ -9038,29 +9049,29 @@ class OE extends gn {
|
|
|
9038
9049
|
let k = p.clientX, v = p.clientY, m = !1;
|
|
9039
9050
|
const C = Date.now(), E = t.getBoundingClientRect(), { left: b, top: I } = E, S = (Q) => {
|
|
9040
9051
|
if (Q.defaultPrevented || c.size > 1 || u && Date.now() - C < i) return;
|
|
9041
|
-
const J = Q.clientX,
|
|
9042
|
-
(m || Math.abs(O) > a || Math.abs(U) > a) && (Q.preventDefault(), Q.stopPropagation(), m || (l.set({ type: "start", x: k - b, y: v - I }), m = !0), l.set({ type: "move", x: J - b, y:
|
|
9052
|
+
const J = Q.clientX, z = Q.clientY, O = J - k, U = z - v;
|
|
9053
|
+
(m || Math.abs(O) > a || Math.abs(U) > a) && (Q.preventDefault(), Q.stopPropagation(), m || (l.set({ type: "start", x: k - b, y: v - I }), m = !0), l.set({ type: "move", x: J - b, y: z - I, deltaX: O, deltaY: U }), k = J, v = z);
|
|
9043
9054
|
}, B = (Q) => {
|
|
9044
9055
|
if (c.delete(Q.pointerId), m) {
|
|
9045
|
-
const J = Q.clientX,
|
|
9046
|
-
l.set({ type: "end", x: J - b, y:
|
|
9056
|
+
const J = Q.clientX, z = Q.clientY;
|
|
9057
|
+
l.set({ type: "end", x: J - b, y: z - I });
|
|
9047
9058
|
}
|
|
9048
9059
|
h();
|
|
9049
9060
|
}, w = (Q) => {
|
|
9050
9061
|
c.delete(Q.pointerId), Q.relatedTarget && Q.relatedTarget !== document.documentElement || B(Q);
|
|
9051
9062
|
}, T = (Q) => {
|
|
9052
9063
|
m && (Q.stopPropagation(), Q.preventDefault());
|
|
9053
|
-
},
|
|
9064
|
+
}, M = (Q) => {
|
|
9054
9065
|
Q.defaultPrevented || c.size > 1 || m && Q.preventDefault();
|
|
9055
9066
|
};
|
|
9056
|
-
document.addEventListener("pointermove", S), document.addEventListener("pointerup", B), document.addEventListener("pointerout", w), document.addEventListener("pointercancel", w), document.addEventListener("touchmove",
|
|
9057
|
-
document.removeEventListener("pointermove", S), document.removeEventListener("pointerup", B), document.removeEventListener("pointerout", w), document.removeEventListener("pointercancel", w), document.removeEventListener("touchmove",
|
|
9067
|
+
document.addEventListener("pointermove", S), document.addEventListener("pointerup", B), document.addEventListener("pointerout", w), document.addEventListener("pointercancel", w), document.addEventListener("touchmove", M, { passive: !1 }), document.addEventListener("click", T, { capture: !0 }), h = () => {
|
|
9068
|
+
document.removeEventListener("pointermove", S), document.removeEventListener("pointerup", B), document.removeEventListener("pointerout", w), document.removeEventListener("pointercancel", w), document.removeEventListener("touchmove", M), setTimeout(() => {
|
|
9058
9069
|
document.removeEventListener("click", T, { capture: !0 });
|
|
9059
9070
|
}, 10);
|
|
9060
9071
|
};
|
|
9061
9072
|
};
|
|
9062
9073
|
return t.addEventListener("pointerdown", A), { signal: l, cleanup: () => {
|
|
9063
|
-
h(), t.removeEventListener("pointerdown", A), c.clear(),
|
|
9074
|
+
h(), t.removeEventListener("pointerdown", A), c.clear(), zi(l);
|
|
9064
9075
|
} };
|
|
9065
9076
|
}(this.wrapper);
|
|
9066
9077
|
const e = et(() => {
|
|
@@ -9221,15 +9232,15 @@ class OE extends gn {
|
|
|
9221
9232
|
const I = m / 2, S = E.barWidth ? E.barWidth * b : 1, B = E.barGap ? E.barGap * b : E.barWidth ? S / 2 : 0, w = S + B || 1;
|
|
9222
9233
|
return { halfHeight: I, barWidth: S, barGap: B, barRadius: E.barRadius || 0, barMinHeight: E.barMinHeight ? E.barMinHeight * b : 0, barIndexScale: C > 0 ? v / w / C : 0, barSpacing: w };
|
|
9223
9234
|
}({ width: o, height: i, length: (e[0] || []).length, options: t, pixelRatio: this.getPixelRatio() }), k = function({ channelData: v, barIndexScale: m, barSpacing: C, barWidth: E, halfHeight: b, vScale: I, canvasHeight: S, barAlign: B, barMinHeight: w }) {
|
|
9224
|
-
const T = v[0] || [],
|
|
9225
|
-
let
|
|
9235
|
+
const T = v[0] || [], M = v[1] || T, Q = T.length, J = [];
|
|
9236
|
+
let z = 0, O = 0, U = 0;
|
|
9226
9237
|
for (let D = 0; D <= Q; D++) {
|
|
9227
9238
|
const N = Math.round(D * m);
|
|
9228
|
-
if (N >
|
|
9229
|
-
const { topHeight: V, totalHeight: R } = UE({ maxTop: O, maxBottom: U, halfHeight: b, vScale: I, barMinHeight: w, barAlign: B }), H =
|
|
9230
|
-
J.push({ x:
|
|
9239
|
+
if (N > z) {
|
|
9240
|
+
const { topHeight: V, totalHeight: R } = UE({ maxTop: O, maxBottom: U, halfHeight: b, vScale: I, barMinHeight: w, barAlign: B }), H = zE({ barAlign: B, halfHeight: b, topHeight: V, totalHeight: R, canvasHeight: S });
|
|
9241
|
+
J.push({ x: z * C, y: H, width: E, height: R }), z = N, O = 0, U = 0;
|
|
9231
9242
|
}
|
|
9232
|
-
const W = Math.abs(T[D] || 0), X = Math.abs(
|
|
9243
|
+
const W = Math.abs(T[D] || 0), X = Math.abs(M[D] || 0);
|
|
9233
9244
|
W > O && (O = W), X > U && (U = X);
|
|
9234
9245
|
}
|
|
9235
9246
|
return J;
|
|
@@ -9245,10 +9256,10 @@ class OE extends gn {
|
|
|
9245
9256
|
const C = v.length, E = C ? u / C : 0, b = p, I = m === 0 ? -1 : 1, S = [{ x: 0, y: b }];
|
|
9246
9257
|
let B = 0, w = 0;
|
|
9247
9258
|
for (let T = 0; T <= C; T++) {
|
|
9248
|
-
const
|
|
9249
|
-
if (
|
|
9259
|
+
const M = Math.round(T * E);
|
|
9260
|
+
if (M > B) {
|
|
9250
9261
|
const J = b + (Math.round(w * p * A) || 1) * I;
|
|
9251
|
-
S.push({ x: B, y: J }), B =
|
|
9262
|
+
S.push({ x: B, y: J }), B = M, w = 0;
|
|
9252
9263
|
}
|
|
9253
9264
|
const Q = Math.abs(v[T] || 0);
|
|
9254
9265
|
Q > w && (w = Q);
|
|
@@ -9306,8 +9317,8 @@ class OE extends gn {
|
|
|
9306
9317
|
if (C = Yr(C, t), C <= 0) return;
|
|
9307
9318
|
const E = function({ channelData: b, offset: I, clampedWidth: S, totalWidth: B }) {
|
|
9308
9319
|
return b.map((w) => {
|
|
9309
|
-
const T = Math.floor(I / B * w.length),
|
|
9310
|
-
return w.slice(T,
|
|
9320
|
+
const T = Math.floor(I / B * w.length), M = Math.floor((I + S) / B * w.length);
|
|
9321
|
+
return w.slice(T, M);
|
|
9311
9322
|
});
|
|
9312
9323
|
}({ channelData: e, offset: m, clampedWidth: C, totalWidth: u });
|
|
9313
9324
|
this.renderSingleCanvas(E, t, C, a, m, o, i);
|
|
@@ -9558,8 +9569,8 @@ class un extends PE {
|
|
|
9558
9569
|
super({ media: t, mediaControls: e.mediaControls, autoplay: e.autoplay, playbackRate: e.audioRate }), this.plugins = [], this.decodedData = null, this.stopAtPosition = null, this.subscriptions = [], this.mediaSubscriptions = [], this.abortController = null, this.reactiveCleanups = [], this.options = Object.assign({}, HE, e);
|
|
9559
9570
|
const { state: s, actions: a } = function(l) {
|
|
9560
9571
|
var c, u, h, A, p, k;
|
|
9561
|
-
const v = (c = l == null ? void 0 : l.currentTime) !== null && c !== void 0 ? c : de(0), m = (u = l == null ? void 0 : l.duration) !== null && u !== void 0 ? u : de(0), C = (h = l == null ? void 0 : l.isPlaying) !== null && h !== void 0 ? h : de(!1), E = (A = l == null ? void 0 : l.isSeeking) !== null && A !== void 0 ? A : de(!1), b = (p = l == null ? void 0 : l.volume) !== null && p !== void 0 ? p : de(1), I = (k = l == null ? void 0 : l.playbackRate) !== null && k !== void 0 ? k : de(1), S = de(null), B = de(null), w = de(""), T = de(0),
|
|
9562
|
-
return { state: { currentTime: v, duration: m, isPlaying: C, isPaused: Q, isSeeking: E, volume: b, playbackRate: I, audioBuffer: S, peaks: B, url: w, zoom: T, scrollPosition:
|
|
9572
|
+
const v = (c = l == null ? void 0 : l.currentTime) !== null && c !== void 0 ? c : de(0), m = (u = l == null ? void 0 : l.duration) !== null && u !== void 0 ? u : de(0), C = (h = l == null ? void 0 : l.isPlaying) !== null && h !== void 0 ? h : de(!1), E = (A = l == null ? void 0 : l.isSeeking) !== null && A !== void 0 ? A : de(!1), b = (p = l == null ? void 0 : l.volume) !== null && p !== void 0 ? p : de(1), I = (k = l == null ? void 0 : l.playbackRate) !== null && k !== void 0 ? k : de(1), S = de(null), B = de(null), w = de(""), T = de(0), M = de(0), Q = Et(() => !C.value, [C]), J = Et(() => S.value !== null, [S]), z = Et(() => J.value && m.value > 0, [J, m]), O = Et(() => v.value, [v]), U = Et(() => m.value > 0 ? v.value / m.value : 0, [v, m]);
|
|
9573
|
+
return { state: { currentTime: v, duration: m, isPlaying: C, isPaused: Q, isSeeking: E, volume: b, playbackRate: I, audioBuffer: S, peaks: B, url: w, zoom: T, scrollPosition: M, canPlay: J, isReady: z, progress: O, progressPercent: U }, actions: { setCurrentTime: (D) => {
|
|
9563
9574
|
const N = Math.max(0, Math.min(m.value || 1 / 0, D));
|
|
9564
9575
|
v.set(N);
|
|
9565
9576
|
}, setDuration: (D) => {
|
|
@@ -9583,7 +9594,7 @@ class un extends PE {
|
|
|
9583
9594
|
}, setZoom: (D) => {
|
|
9584
9595
|
T.set(Math.max(0, D));
|
|
9585
9596
|
}, setScrollPosition: (D) => {
|
|
9586
|
-
|
|
9597
|
+
M.set(Math.max(0, D));
|
|
9587
9598
|
} } };
|
|
9588
9599
|
}({ isPlaying: this.isPlayingSignal, currentTime: this.currentTimeSignal, duration: this.durationSignal, volume: this.volumeSignal, playbackRate: this.playbackRateSignal, isSeeking: this.seekingSignal });
|
|
9589
9600
|
this.wavesurferState = s, this.wavesurferActions = a, this.timer = new FE();
|
|
@@ -9900,7 +9911,7 @@ function LE(n, e) {
|
|
|
9900
9911
|
};
|
|
9901
9912
|
}, [n, e.plugins, ...o]), t;
|
|
9902
9913
|
}
|
|
9903
|
-
const
|
|
9914
|
+
const Mi = /^on([A-Z])/, WE = (n) => Mi.test(n);
|
|
9904
9915
|
function VE(n, e) {
|
|
9905
9916
|
const t = _(() => Object.entries(e).flat(), [e]);
|
|
9906
9917
|
ue(() => {
|
|
@@ -9908,7 +9919,7 @@ function VE(n, e) {
|
|
|
9908
9919
|
const s = Object.entries(e);
|
|
9909
9920
|
if (!s.length) return;
|
|
9910
9921
|
const a = s.map(([o, i]) => {
|
|
9911
|
-
const l = o.replace(
|
|
9922
|
+
const l = o.replace(Mi, (c, u) => u.toLowerCase());
|
|
9912
9923
|
return n.on(l, (...c) => i(n, ...c));
|
|
9913
9924
|
});
|
|
9914
9925
|
return () => {
|
|
@@ -9955,11 +9966,11 @@ function Oi({
|
|
|
9955
9966
|
ue(() => {
|
|
9956
9967
|
typeof navigator < "u" && w(/^((?!chrome|android).)*safari/i.test(navigator.userAgent));
|
|
9957
9968
|
}, []);
|
|
9958
|
-
const T = _(() => s, [s]),
|
|
9969
|
+
const T = _(() => s, [s]), M = _(() => a ? !1 : !T || T && m, [T, m, a]), Q = oe(null), J = oe(null);
|
|
9959
9970
|
ue(() => {
|
|
9960
9971
|
I || (!h || o) && S(!0);
|
|
9961
9972
|
}, [h, o, I]);
|
|
9962
|
-
const
|
|
9973
|
+
const z = x(() => {
|
|
9963
9974
|
var R;
|
|
9964
9975
|
J.current && ((R = J.current) == null || R.pause());
|
|
9965
9976
|
}, []), O = x(() => {
|
|
@@ -10011,12 +10022,12 @@ function Oi({
|
|
|
10011
10022
|
})));
|
|
10012
10023
|
}, [u, t, c, v]), V = x(() => {
|
|
10013
10024
|
var R, H, le;
|
|
10014
|
-
(R = J.current) != null && R.isPlaying() ?
|
|
10025
|
+
(R = J.current) != null && R.isPlaying() ? z() : J.current && ((H = c == null ? void 0 : c.state) != null && H.active && c.state.active !== J.current && (c.state.active.pause(), c.setter((Qe) => ({
|
|
10015
10026
|
...Qe,
|
|
10016
10027
|
isPlaying: !1,
|
|
10017
10028
|
active: null
|
|
10018
10029
|
}))), (le = c == null ? void 0 : c.state) != null && le.active && c.state.active !== J.current && c.state.active.getCurrentTime && J.current.setTime(c.state.active.getCurrentTime()), O());
|
|
10019
|
-
}, [O,
|
|
10030
|
+
}, [O, z, c]);
|
|
10020
10031
|
return /* @__PURE__ */ g(
|
|
10021
10032
|
y,
|
|
10022
10033
|
{
|
|
@@ -10044,7 +10055,7 @@ function Oi({
|
|
|
10044
10055
|
{
|
|
10045
10056
|
width: "100%",
|
|
10046
10057
|
style: {
|
|
10047
|
-
display:
|
|
10058
|
+
display: M && E ? "block" : "none",
|
|
10048
10059
|
cursor: "pointer"
|
|
10049
10060
|
},
|
|
10050
10061
|
ref: Q,
|
|
@@ -10074,7 +10085,7 @@ function Oi({
|
|
|
10074
10085
|
{
|
|
10075
10086
|
width: "100%",
|
|
10076
10087
|
style: {
|
|
10077
|
-
display:
|
|
10088
|
+
display: M && !E ? "block" : "none",
|
|
10078
10089
|
cursor: "pointer"
|
|
10079
10090
|
},
|
|
10080
10091
|
children: /* @__PURE__ */ r("span", { className: ys.waveform, children: /* @__PURE__ */ r(
|
|
@@ -10439,7 +10450,7 @@ const hS = "_footerVoiceForm_lsc2c_2", pS = {
|
|
|
10439
10450
|
active: null,
|
|
10440
10451
|
isPlaying: !1,
|
|
10441
10452
|
id: "voice-form"
|
|
10442
|
-
}),
|
|
10453
|
+
}), M = x(
|
|
10443
10454
|
(N) => {
|
|
10444
10455
|
E(N);
|
|
10445
10456
|
const W = n.find((X) => X.identifier === N);
|
|
@@ -10463,7 +10474,7 @@ const hS = "_footerVoiceForm_lsc2c_2", pS = {
|
|
|
10463
10474
|
})), s(N);
|
|
10464
10475
|
},
|
|
10465
10476
|
[s, w]
|
|
10466
|
-
),
|
|
10477
|
+
), z = _(
|
|
10467
10478
|
() => ({
|
|
10468
10479
|
state: w,
|
|
10469
10480
|
setter: T
|
|
@@ -10480,11 +10491,11 @@ const hS = "_footerVoiceForm_lsc2c_2", pS = {
|
|
|
10480
10491
|
B();
|
|
10481
10492
|
return;
|
|
10482
10493
|
}
|
|
10483
|
-
O && (
|
|
10494
|
+
O && (M(O.identifier), a(), t((N) => {
|
|
10484
10495
|
var W;
|
|
10485
10496
|
return ((W = N.selectedVoice) == null ? void 0 : W.identifier) === O.identifier ? N : { ...N, selectedVoice: O };
|
|
10486
10497
|
})), U && (O ? B({ selectedVoice: O }) : B());
|
|
10487
|
-
}, [o, B, O,
|
|
10498
|
+
}, [o, B, O, M, a]);
|
|
10488
10499
|
return ue(() => {
|
|
10489
10500
|
var N;
|
|
10490
10501
|
if (w.isPlaying === !1)
|
|
@@ -10501,17 +10512,17 @@ const hS = "_footerVoiceForm_lsc2c_2", pS = {
|
|
|
10501
10512
|
{
|
|
10502
10513
|
voices: n,
|
|
10503
10514
|
selectedId: C,
|
|
10504
|
-
handleSelect:
|
|
10515
|
+
handleSelect: M,
|
|
10505
10516
|
playingItem: b,
|
|
10506
10517
|
handleAvatarClick: Q,
|
|
10507
10518
|
handleDetailsClick: J,
|
|
10508
|
-
wavegroup:
|
|
10519
|
+
wavegroup: z,
|
|
10509
10520
|
setPlayingItem: I,
|
|
10510
10521
|
style: { display: o ? "none" : "block" },
|
|
10511
10522
|
i18n: i
|
|
10512
10523
|
}
|
|
10513
10524
|
),
|
|
10514
|
-
o && /* @__PURE__ */ r(aS, { item: O, wavegroup:
|
|
10525
|
+
o && /* @__PURE__ */ r(aS, { item: O, wavegroup: z, i18n: i }),
|
|
10515
10526
|
/* @__PURE__ */ r(Ae, { className: pS.footerVoiceForm, children: /* @__PURE__ */ r(
|
|
10516
10527
|
rs,
|
|
10517
10528
|
{
|
|
@@ -10628,16 +10639,16 @@ export {
|
|
|
10628
10639
|
JS as MetronomeForm,
|
|
10629
10640
|
ns as MoreButton,
|
|
10630
10641
|
Hv as MultiSelect,
|
|
10631
|
-
|
|
10642
|
+
Ms as MultiSelectCards,
|
|
10632
10643
|
Bi as PanControl,
|
|
10633
10644
|
bS as Popover,
|
|
10634
10645
|
yr as ProductsBrandPattern,
|
|
10635
10646
|
pC as ProductsList,
|
|
10636
10647
|
BC as ProfileMenu,
|
|
10637
10648
|
bA as Progress,
|
|
10638
|
-
|
|
10649
|
+
MC as ProjectsList,
|
|
10639
10650
|
wA as Quote,
|
|
10640
|
-
|
|
10651
|
+
MA as Radio,
|
|
10641
10652
|
VC as RadioCardsGroup,
|
|
10642
10653
|
BS as RadioGroup,
|
|
10643
10654
|
s1 as Rating,
|