@desivocal/agents-cdn 1.0.17 → 1.0.18
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/dv-agent.es.js +169 -169
- package/dist/dv-agent.umd.js +38 -38
- package/dist/style.css +1 -1
- package/package.json +3 -2
package/dist/dv-agent.es.js
CHANGED
|
@@ -627,7 +627,7 @@ function iB() {
|
|
|
627
627
|
function Tr(O, W) {
|
|
628
628
|
return typeof O == "object" && O !== null && O.key != null ? (G(O.key), zt("" + O.key)) : W.toString(36);
|
|
629
629
|
}
|
|
630
|
-
function
|
|
630
|
+
function ei(O, W, pe, ke, Ze) {
|
|
631
631
|
var Ct = typeof O;
|
|
632
632
|
(Ct === "undefined" || Ct === "boolean") && (O = null);
|
|
633
633
|
var mt = !1;
|
|
@@ -650,7 +650,7 @@ function iB() {
|
|
|
650
650
|
var qt = O, dn = Ze(qt), Bn = ke === "" ? Rt + Tr(qt, 0) : ke;
|
|
651
651
|
if (qn(dn)) {
|
|
652
652
|
var Zn = "";
|
|
653
|
-
Bn != null && (Zn = Cr(Bn) + "/"),
|
|
653
|
+
Bn != null && (Zn = Cr(Bn) + "/"), ei(dn, W, Zn, "", function(hg) {
|
|
654
654
|
return hg;
|
|
655
655
|
});
|
|
656
656
|
} else dn != null && (Pt(dn) && (dn.key && (!qt || qt.key !== dn.key) && G(dn.key), dn = $e(
|
|
@@ -669,14 +669,14 @@ function iB() {
|
|
|
669
669
|
var Qn, on, sr = 0, Mr = ke === "" ? Rt : ke + At;
|
|
670
670
|
if (qn(O))
|
|
671
671
|
for (var du = 0; du < O.length; du++)
|
|
672
|
-
Qn = O[du], on = Mr + Tr(Qn, du), sr +=
|
|
672
|
+
Qn = O[du], on = Mr + Tr(Qn, du), sr += ei(Qn, W, pe, on, Ze);
|
|
673
673
|
else {
|
|
674
674
|
var Zd = z(O);
|
|
675
675
|
if (typeof Zd == "function") {
|
|
676
676
|
var xo = O;
|
|
677
677
|
Zd === xo.entries && (Xt || ze("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Xt = !0);
|
|
678
678
|
for (var fu = Zd.call(xo), Qd, fg = 0; !(Qd = fu.next()).done; )
|
|
679
|
-
Qn = Qd.value, on = Mr + Tr(Qn, fg++), sr +=
|
|
679
|
+
Qn = Qd.value, on = Mr + Tr(Qn, fg++), sr += ei(Qn, W, pe, on, Ze);
|
|
680
680
|
} else if (Ct === "object") {
|
|
681
681
|
var Lh = String(O);
|
|
682
682
|
throw new Error("Objects are not valid as a React child (found: " + (Lh === "[object Object]" ? "object with keys {" + Object.keys(O).join(", ") + "}" : Lh) + "). If you meant to render a collection of children, use an array instead.");
|
|
@@ -688,7 +688,7 @@ function iB() {
|
|
|
688
688
|
if (O == null)
|
|
689
689
|
return O;
|
|
690
690
|
var ke = [], Ze = 0;
|
|
691
|
-
return
|
|
691
|
+
return ei(O, ke, "", "", function(Ct) {
|
|
692
692
|
return W.call(pe, Ct, Ze++);
|
|
693
693
|
}), ke;
|
|
694
694
|
}
|
|
@@ -1955,7 +1955,7 @@ function oB() {
|
|
|
1955
1955
|
function Tr(Y) {
|
|
1956
1956
|
return typeof Y == "object" && Y !== null && Y.$$typeof === n;
|
|
1957
1957
|
}
|
|
1958
|
-
function
|
|
1958
|
+
function ei() {
|
|
1959
1959
|
{
|
|
1960
1960
|
if (zt.current) {
|
|
1961
1961
|
var Y = _e(zt.current.type);
|
|
@@ -1973,7 +1973,7 @@ Check the render method of \`` + Y + "`.";
|
|
|
1973
1973
|
var ks = {};
|
|
1974
1974
|
function mo(Y) {
|
|
1975
1975
|
{
|
|
1976
|
-
var Ie =
|
|
1976
|
+
var Ie = ei();
|
|
1977
1977
|
if (!Ie) {
|
|
1978
1978
|
var st = typeof Y == "string" ? Y : Y.displayName || Y.name;
|
|
1979
1979
|
st && (Ie = `
|
|
@@ -2060,7 +2060,7 @@ Check the top-level render call using <` + st + ">.");
|
|
|
2060
2060
|
var cn = "";
|
|
2061
2061
|
(Y === void 0 || typeof Y == "object" && Y !== null && Object.keys(Y).length === 0) && (cn += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2062
2062
|
var Or = ui();
|
|
2063
|
-
Or ? cn += Or : cn +=
|
|
2063
|
+
Or ? cn += Or : cn += ei();
|
|
2064
2064
|
var cr;
|
|
2065
2065
|
Y === null ? cr = "null" : Oe(Y) ? cr = "array" : Y !== void 0 && Y.$$typeof === n ? (cr = "<" + (_e(Y.type) || "Unknown") + " />", cn = " Did you accidentally export a JSX literal instead of a component?") : cr = typeof Y, z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", cr, cn);
|
|
2066
2066
|
}
|
|
@@ -3148,7 +3148,7 @@ function dB() {
|
|
|
3148
3148
|
d && (d = Ro(d), Xt(u.stateNode, u.type, d));
|
|
3149
3149
|
}
|
|
3150
3150
|
}
|
|
3151
|
-
function
|
|
3151
|
+
function ei(u) {
|
|
3152
3152
|
un ? Cr ? Cr.push(u) : Cr = [u] : un = u;
|
|
3153
3153
|
}
|
|
3154
3154
|
function ui() {
|
|
@@ -3894,7 +3894,7 @@ function dB() {
|
|
|
3894
3894
|
return d === "input" ? !!gT[u.type] : d === "textarea";
|
|
3895
3895
|
}
|
|
3896
3896
|
function Fb(u, d, g, S) {
|
|
3897
|
-
|
|
3897
|
+
ei(S), d = uf(d, "onChange"), 0 < d.length && (g = new qt("onChange", "change", null, g, S), u.push({ event: g, listeners: d }));
|
|
3898
3898
|
}
|
|
3899
3899
|
var bc = null, Gs = null;
|
|
3900
3900
|
function gg(u) {
|
|
@@ -5007,7 +5007,7 @@ function dB() {
|
|
|
5007
5007
|
for (var u = 0; u < Bg.length; u++) Bg[u]._workInProgressVersionPrimary = null;
|
|
5008
5008
|
Bg.length = 0;
|
|
5009
5009
|
}
|
|
5010
|
-
var Ut = j.ReactCurrentDispatcher, gn = j.ReactCurrentBatchConfig, Tn = 0, an = null, Jn = null,
|
|
5010
|
+
var Ut = j.ReactCurrentDispatcher, gn = j.ReactCurrentBatchConfig, Tn = 0, an = null, Jn = null, ti = null, ep = !1, Sf = !1, kf = 0, Hg = 0;
|
|
5011
5011
|
function Pe() {
|
|
5012
5012
|
throw Error(n(321));
|
|
5013
5013
|
}
|
|
@@ -5021,10 +5021,10 @@ function dB() {
|
|
|
5021
5021
|
E = 0;
|
|
5022
5022
|
do {
|
|
5023
5023
|
if (Sf = !1, kf = 0, 25 <= E) throw Error(n(301));
|
|
5024
|
-
E += 1,
|
|
5024
|
+
E += 1, ti = Jn = null, d.updateQueue = null, Ut.current = Ef, u = g(S, T);
|
|
5025
5025
|
} while (Sf);
|
|
5026
5026
|
}
|
|
5027
|
-
if (Ut.current = Yn, d = Jn !== null && Jn.next !== null, Tn = 0,
|
|
5027
|
+
if (Ut.current = Yn, d = Jn !== null && Jn.next !== null, Tn = 0, ti = Jn = an = null, ep = !1, d) throw Error(n(300));
|
|
5028
5028
|
return u;
|
|
5029
5029
|
}
|
|
5030
5030
|
function Cl() {
|
|
@@ -5033,20 +5033,20 @@ function dB() {
|
|
|
5033
5033
|
}
|
|
5034
5034
|
function di() {
|
|
5035
5035
|
var u = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
|
|
5036
|
-
return
|
|
5036
|
+
return ti === null ? an.memoizedState = ti = u : ti = ti.next = u, ti;
|
|
5037
5037
|
}
|
|
5038
5038
|
function fi() {
|
|
5039
5039
|
if (Jn === null) {
|
|
5040
5040
|
var u = an.alternate;
|
|
5041
5041
|
u = u !== null ? u.memoizedState : null;
|
|
5042
5042
|
} else u = Jn.next;
|
|
5043
|
-
var d =
|
|
5044
|
-
if (d !== null)
|
|
5043
|
+
var d = ti === null ? an.memoizedState : ti.next;
|
|
5044
|
+
if (d !== null) ti = d, Jn = u;
|
|
5045
5045
|
else {
|
|
5046
5046
|
if (u === null) throw Error(n(310));
|
|
5047
|
-
Jn = u, u = { memoizedState: Jn.memoizedState, baseState: Jn.baseState, baseQueue: Jn.baseQueue, queue: Jn.queue, next: null },
|
|
5047
|
+
Jn = u, u = { memoizedState: Jn.memoizedState, baseState: Jn.baseState, baseQueue: Jn.baseQueue, queue: Jn.queue, next: null }, ti === null ? an.memoizedState = ti = u : ti = ti.next = u;
|
|
5048
5048
|
}
|
|
5049
|
-
return
|
|
5049
|
+
return ti;
|
|
5050
5050
|
}
|
|
5051
5051
|
function ma(u, d) {
|
|
5052
5052
|
return typeof d == "function" ? d(u) : d;
|
|
@@ -5110,7 +5110,7 @@ function dB() {
|
|
|
5110
5110
|
}
|
|
5111
5111
|
function tp(u, d) {
|
|
5112
5112
|
var g = an, S = fi(), T = d(), E = !ws(S.memoizedState, T);
|
|
5113
|
-
if (E && (S.memoizedState = T, hi = !0), S = S.queue, Cf(ip.bind(null, g, S, u), [u]), S.getSnapshot !== d || E ||
|
|
5113
|
+
if (E && (S.memoizedState = T, hi = !0), S = S.queue, Cf(ip.bind(null, g, S, u), [u]), S.getSnapshot !== d || E || ti !== null && ti.memoizedState.tag & 1) {
|
|
5114
5114
|
if (g.flags |= 2048, xu(9, rp.bind(null, g, S, T, d), void 0, null), Yr === null) throw Error(n(349));
|
|
5115
5115
|
Tn & 30 || np(g, d, T);
|
|
5116
5116
|
}
|
|
@@ -5725,7 +5725,7 @@ Error generating stack: ` + E.message + `
|
|
|
5725
5725
|
}
|
|
5726
5726
|
return Ci(u, d, g);
|
|
5727
5727
|
}
|
|
5728
|
-
var jc, Ia,
|
|
5728
|
+
var jc, Ia, ni, CS;
|
|
5729
5729
|
jc = function(u, d) {
|
|
5730
5730
|
for (var g = d.child; g !== null; ) {
|
|
5731
5731
|
if (g.tag === 5 || g.tag === 6) u.appendChild(g.stateNode);
|
|
@@ -5741,7 +5741,7 @@ Error generating stack: ` + E.message + `
|
|
|
5741
5741
|
g.sibling.return = g.return, g = g.sibling;
|
|
5742
5742
|
}
|
|
5743
5743
|
}, Ia = function() {
|
|
5744
|
-
},
|
|
5744
|
+
}, ni = function(u, d, g, S) {
|
|
5745
5745
|
var T = u.memoizedProps;
|
|
5746
5746
|
if (T !== S) {
|
|
5747
5747
|
u = d.stateNode, Cu(Xs.current);
|
|
@@ -5824,7 +5824,7 @@ Error generating stack: ` + E.message + `
|
|
|
5824
5824
|
case 5:
|
|
5825
5825
|
zg(d);
|
|
5826
5826
|
var T = Cu(yf.current);
|
|
5827
|
-
if (g = d.type, u !== null && d.stateNode != null)
|
|
5827
|
+
if (g = d.type, u !== null && d.stateNode != null) ni(u, d, g, S, T), u.ref !== d.ref && (d.flags |= 512, d.flags |= 2097152);
|
|
5828
5828
|
else {
|
|
5829
5829
|
if (!S) {
|
|
5830
5830
|
if (d.stateNode === null) throw Error(n(166));
|
|
@@ -6012,7 +6012,7 @@ Error generating stack: ` + E.message + `
|
|
|
6012
6012
|
} else Rs !== null && (jf(Rs), Rs = null), E = !0;
|
|
6013
6013
|
if (!E) return d.flags & 65536 ? d : null;
|
|
6014
6014
|
}
|
|
6015
|
-
return d.flags & 128 ? (d.lanes = g, d) : (S = S !== null, S !== (u !== null && u.memoizedState !== null) && S && (d.child.flags |= 8192, d.mode & 1 && (u === null || br.current & 1 ?
|
|
6015
|
+
return d.flags & 128 ? (d.lanes = g, d) : (S = S !== null, S !== (u !== null && u.memoizedState !== null) && S && (d.child.flags |= 8192, d.mode & 1 && (u === null || br.current & 1 ? ri === 0 && (ri = 3) : iv())), d.updateQueue !== null && (d.flags |= 4), zi(d), null);
|
|
6016
6016
|
case 4:
|
|
6017
6017
|
return Mc(), Ia(u, d), u === null && lf(d.stateNode.containerInfo), zi(d), null;
|
|
6018
6018
|
case 10:
|
|
@@ -6023,7 +6023,7 @@ Error generating stack: ` + E.message + `
|
|
|
6023
6023
|
if (Xn(br), E = d.memoizedState, E === null) return zi(d), null;
|
|
6024
6024
|
if (S = (d.flags & 128) !== 0, L = E.rendering, L === null) if (S) Df(E, !1);
|
|
6025
6025
|
else {
|
|
6026
|
-
if (
|
|
6026
|
+
if (ri !== 0 || u !== null && u.flags & 128) for (u = d.child; u !== null; ) {
|
|
6027
6027
|
if (L = Jh(u), L !== null) {
|
|
6028
6028
|
for (d.flags |= 128, Df(E, !1), S = L.updateQueue, S !== null && (d.updateQueue = S, d.flags |= 4), d.subtreeFlags = 0, S = g, g = d.child; g !== null; ) E = g, u = S, E.flags &= 14680066, L = E.alternate, L === null ? (E.childLanes = 0, E.lanes = u, E.child = null, E.subtreeFlags = 0, E.memoizedProps = null, E.memoizedState = null, E.updateQueue = null, E.dependencies = null, E.stateNode = null) : (E.childLanes = L.childLanes, E.lanes = L.lanes, E.child = L.child, E.subtreeFlags = 0, E.deletions = null, E.memoizedProps = L.memoizedProps, E.memoizedState = L.memoizedState, E.updateQueue = L.updateQueue, E.type = L.type, u = L.dependencies, E.dependencies = u === null ? null : { lanes: u.lanes, firstContext: u.firstContext }), g = g.sibling;
|
|
6029
6029
|
return or(br, br.current & 1 | 2), d.child;
|
|
@@ -6718,7 +6718,7 @@ Error generating stack: ` + E.message + `
|
|
|
6718
6718
|
kt = d.return;
|
|
6719
6719
|
}
|
|
6720
6720
|
}
|
|
6721
|
-
var PS = Math.ceil, Dp = j.ReactCurrentDispatcher, Pu = j.ReactCurrentOwner, Bi = j.ReactCurrentBatchConfig, Sn = 0, Yr = null, Nr = null, xi = 0, Na = 0, zc = fa(0),
|
|
6721
|
+
var PS = Math.ceil, Dp = j.ReactCurrentDispatcher, Pu = j.ReactCurrentOwner, Bi = j.ReactCurrentBatchConfig, Sn = 0, Yr = null, Nr = null, xi = 0, Na = 0, zc = fa(0), ri = 0, Du = null, Au = 0, Ou = 0, Lf = 0, Bc = null, ba = null, nv = 0, Hc = 1 / 0, Oo = null, _l = !1, If = null, rs = null, Ap = !1, Rl = null, Nf = 0, $c = 0, qc = null, Mu = -1, Uf = 0;
|
|
6722
6722
|
function lr() {
|
|
6723
6723
|
return Sn & 6 ? Vn() : Mu !== -1 ? Mu : Mu = Vn();
|
|
6724
6724
|
}
|
|
@@ -6727,7 +6727,7 @@ Error generating stack: ` + E.message + `
|
|
|
6727
6727
|
}
|
|
6728
6728
|
function Fa(u, d, g, S) {
|
|
6729
6729
|
if (50 < $c) throw $c = 0, qc = null, Error(n(185));
|
|
6730
|
-
ul(u, g, S), (!(Sn & 2) || u !== Yr) && (u === Yr && (!(Sn & 2) && (Ou |= g),
|
|
6730
|
+
ul(u, g, S), (!(Sn & 2) || u !== Yr) && (u === Yr && (!(Sn & 2) && (Ou |= g), ri === 4 && Pl(u, xi)), pi(u, S), g === 1 && Sn === 0 && !(d.mode & 1) && (Hc = Vn() + 500, hf && Gi()));
|
|
6731
6731
|
}
|
|
6732
6732
|
function pi(u, d) {
|
|
6733
6733
|
var g = u.callbackNode;
|
|
@@ -6781,7 +6781,7 @@ Error generating stack: ` + E.message + `
|
|
|
6781
6781
|
Mp(u, q);
|
|
6782
6782
|
}
|
|
6783
6783
|
while (!0);
|
|
6784
|
-
Lg(), Dp.current = E, Sn = T, Nr !== null ? d = 0 : (Yr = null, xi = 0, d =
|
|
6784
|
+
Lg(), Dp.current = E, Sn = T, Nr !== null ? d = 0 : (Yr = null, xi = 0, d = ri);
|
|
6785
6785
|
}
|
|
6786
6786
|
if (d !== 0) {
|
|
6787
6787
|
if (d === 2 && (T = ko(u), T !== 0 && (S = T, d = Ff(u, T))), d === 1) throw g = Du, Iu(u, 0), Pl(u, S), pi(u, Vn()), g;
|
|
@@ -6938,7 +6938,7 @@ Error generating stack: ` + E.message + `
|
|
|
6938
6938
|
}
|
|
6939
6939
|
g = g.return;
|
|
6940
6940
|
}
|
|
6941
|
-
if (Yr = u, Nr = u = Dl(u.current, null), xi = Na = d,
|
|
6941
|
+
if (Yr = u, Nr = u = Dl(u.current, null), xi = Na = d, ri = 0, Du = null, Lf = Ou = Au = 0, ba = Bc = null, ku !== null) {
|
|
6942
6942
|
for (d = 0; d < ku.length; d++) if (g = ku[d], S = g.interleaved, S !== null) {
|
|
6943
6943
|
g.interleaved = null;
|
|
6944
6944
|
var T = S.next, E = g.pending;
|
|
@@ -6963,8 +6963,8 @@ Error generating stack: ` + E.message + `
|
|
|
6963
6963
|
}
|
|
6964
6964
|
ep = !1;
|
|
6965
6965
|
}
|
|
6966
|
-
if (Tn = 0,
|
|
6967
|
-
|
|
6966
|
+
if (Tn = 0, ti = Jn = an = null, Sf = !1, kf = 0, Pu.current = null, g === null || g.return === null) {
|
|
6967
|
+
ri = 1, Du = d, Nr = null;
|
|
6968
6968
|
break;
|
|
6969
6969
|
}
|
|
6970
6970
|
e: {
|
|
@@ -6998,7 +6998,7 @@ Error generating stack: ` + E.message + `
|
|
|
6998
6998
|
break e;
|
|
6999
6999
|
}
|
|
7000
7000
|
}
|
|
7001
|
-
E = X = wl(X, q),
|
|
7001
|
+
E = X = wl(X, q), ri !== 4 && (ri = 2), Bc === null ? Bc = [E] : Bc.push(E), E = L;
|
|
7002
7002
|
do {
|
|
7003
7003
|
switch (E.tag) {
|
|
7004
7004
|
case 3:
|
|
@@ -7032,7 +7032,7 @@ Error generating stack: ` + E.message + `
|
|
|
7032
7032
|
return Dp.current = Yn, u === null ? Yn : u;
|
|
7033
7033
|
}
|
|
7034
7034
|
function iv() {
|
|
7035
|
-
(
|
|
7035
|
+
(ri === 0 || ri === 3 || ri === 2) && (ri = 4), Yr === null || !(Au & 268435455) && !(Ou & 268435455) || Pl(Yr, xi);
|
|
7036
7036
|
}
|
|
7037
7037
|
function Lp(u, d) {
|
|
7038
7038
|
var g = Sn;
|
|
@@ -7048,7 +7048,7 @@ Error generating stack: ` + E.message + `
|
|
|
7048
7048
|
}
|
|
7049
7049
|
while (!0);
|
|
7050
7050
|
if (Lg(), Sn = g, Dp.current = S, Nr !== null) throw Error(n(261));
|
|
7051
|
-
return Yr = null, xi = 0,
|
|
7051
|
+
return Yr = null, xi = 0, ri;
|
|
7052
7052
|
}
|
|
7053
7053
|
function RT() {
|
|
7054
7054
|
for (; Nr !== null; ) av(Nr);
|
|
@@ -7071,7 +7071,7 @@ Error generating stack: ` + E.message + `
|
|
|
7071
7071
|
}
|
|
7072
7072
|
if (u !== null) u.flags |= 32768, u.subtreeFlags = 0, u.deletions = null;
|
|
7073
7073
|
else {
|
|
7074
|
-
|
|
7074
|
+
ri = 6, Nr = null;
|
|
7075
7075
|
return;
|
|
7076
7076
|
}
|
|
7077
7077
|
} else if (g = Xg(g, d, Na), g !== null) {
|
|
@@ -7084,7 +7084,7 @@ Error generating stack: ` + E.message + `
|
|
|
7084
7084
|
}
|
|
7085
7085
|
Nr = d = u;
|
|
7086
7086
|
} while (d !== null);
|
|
7087
|
-
|
|
7087
|
+
ri === 0 && (ri = 5);
|
|
7088
7088
|
}
|
|
7089
7089
|
function Nu(u, d, g) {
|
|
7090
7090
|
var S = wn, T = Bi.transition;
|
|
@@ -7251,7 +7251,7 @@ Error generating stack: ` + E.message + `
|
|
|
7251
7251
|
}
|
|
7252
7252
|
function sv(u, d, g) {
|
|
7253
7253
|
var S = u.pingCache;
|
|
7254
|
-
S !== null && S.delete(d), d = lr(), u.pingedLanes |= u.suspendedLanes & g, Yr === u && (xi & g) === g && (
|
|
7254
|
+
S !== null && S.delete(d), d = lr(), u.pingedLanes |= u.suspendedLanes & g, Yr === u && (xi & g) === g && (ri === 4 || ri === 3 && (xi & 130023424) === xi && 500 > Vn() - nv ? Iu(u, 0) : Lf |= g), pi(u, d);
|
|
7255
7255
|
}
|
|
7256
7256
|
function LS(u, d) {
|
|
7257
7257
|
d === 0 && (u.mode & 1 ? (d = ol, ol <<= 1, !(ol & 130023424) && (ol = 4194304)) : d = 1);
|
|
@@ -7711,7 +7711,7 @@ Error generating stack: ` + E.message + `
|
|
|
7711
7711
|
d = g.value, d != null && We(u, !!g.multiple, d, !1);
|
|
7712
7712
|
}
|
|
7713
7713
|
}, ks = Op, mo = Lu;
|
|
7714
|
-
var NT = { usingClientEntryPoint: !1, Events: [ff, Nt, Ro,
|
|
7714
|
+
var NT = { usingClientEntryPoint: !1, Events: [ff, Nt, Ro, ei, ui, Op] }, Yc = { findFiberByHostInstance: vu, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }, UT = { bundleType: Yc.bundleType, version: Yc.version, rendererPackageName: Yc.rendererPackageName, rendererConfig: Yc.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: j.ReactCurrentDispatcher, findHostInstanceByFiber: function(u) {
|
|
7715
7715
|
return u = cn(u), u === null ? null : u.stateNode;
|
|
7716
7716
|
}, findFiberByHostInstance: Yc.findFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.1-next-f1338f8080-20240426" };
|
|
7717
7717
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
|
|
@@ -8105,7 +8105,7 @@ function fB() {
|
|
|
8105
8105
|
!1
|
|
8106
8106
|
);
|
|
8107
8107
|
});
|
|
8108
|
-
var Tr = /[\-\:]([a-z])/g,
|
|
8108
|
+
var Tr = /[\-\:]([a-z])/g, ei = function(i) {
|
|
8109
8109
|
return i[1].toUpperCase();
|
|
8110
8110
|
};
|
|
8111
8111
|
[
|
|
@@ -8186,7 +8186,7 @@ function fB() {
|
|
|
8186
8186
|
// you'll need to set attributeName to name.toLowerCase()
|
|
8187
8187
|
// instead in the assignment below.
|
|
8188
8188
|
].forEach(function(i) {
|
|
8189
|
-
var s = i.replace(Tr,
|
|
8189
|
+
var s = i.replace(Tr, ei);
|
|
8190
8190
|
un[s] = new Xt(
|
|
8191
8191
|
s,
|
|
8192
8192
|
tt,
|
|
@@ -8210,7 +8210,7 @@ function fB() {
|
|
|
8210
8210
|
// you'll need to set attributeName to name.toLowerCase()
|
|
8211
8211
|
// instead in the assignment below.
|
|
8212
8212
|
].forEach(function(i) {
|
|
8213
|
-
var s = i.replace(Tr,
|
|
8213
|
+
var s = i.replace(Tr, ei);
|
|
8214
8214
|
un[s] = new Xt(
|
|
8215
8215
|
s,
|
|
8216
8216
|
tt,
|
|
@@ -8230,7 +8230,7 @@ function fB() {
|
|
|
8230
8230
|
// you'll need to set attributeName to name.toLowerCase()
|
|
8231
8231
|
// instead in the assignment below.
|
|
8232
8232
|
].forEach(function(i) {
|
|
8233
|
-
var s = i.replace(Tr,
|
|
8233
|
+
var s = i.replace(Tr, ei);
|
|
8234
8234
|
un[s] = new Xt(
|
|
8235
8235
|
s,
|
|
8236
8236
|
tt,
|
|
@@ -10554,7 +10554,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
10554
10554
|
), Jn = (
|
|
10555
10555
|
/* */
|
|
10556
10556
|
16
|
|
10557
|
-
),
|
|
10557
|
+
), ti = Math.clz32 ? Math.clz32 : kf, ep = Math.log, Sf = Math.LN2;
|
|
10558
10558
|
function kf(i) {
|
|
10559
10559
|
var s = i >>> 0;
|
|
10560
10560
|
return s === 0 ? 32 : 31 - (ep(s) / Sf | 0) | 0;
|
|
@@ -10890,7 +10890,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
10890
10890
|
return Eu(i);
|
|
10891
10891
|
}
|
|
10892
10892
|
function Ir(i) {
|
|
10893
|
-
return 31 -
|
|
10893
|
+
return 31 - ti(i);
|
|
10894
10894
|
}
|
|
10895
10895
|
function Sp(i) {
|
|
10896
10896
|
return Ir(i);
|
|
@@ -11017,7 +11017,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
11017
11017
|
function Ia() {
|
|
11018
11018
|
return jc;
|
|
11019
11019
|
}
|
|
11020
|
-
function
|
|
11020
|
+
function ni(i) {
|
|
11021
11021
|
jc = i;
|
|
11022
11022
|
}
|
|
11023
11023
|
function CS(i, s) {
|
|
@@ -11274,7 +11274,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
11274
11274
|
y = zc;
|
|
11275
11275
|
break;
|
|
11276
11276
|
case ts:
|
|
11277
|
-
y =
|
|
11277
|
+
y = ri;
|
|
11278
11278
|
break;
|
|
11279
11279
|
case Ci:
|
|
11280
11280
|
default:
|
|
@@ -11287,18 +11287,18 @@ Check the render method of \`` + i + "`." : "";
|
|
|
11287
11287
|
var y = Ia(), k = Sn.transition;
|
|
11288
11288
|
Sn.transition = null;
|
|
11289
11289
|
try {
|
|
11290
|
-
|
|
11290
|
+
ni(ya), Du(i, s, f, m);
|
|
11291
11291
|
} finally {
|
|
11292
|
-
|
|
11292
|
+
ni(y), Sn.transition = k;
|
|
11293
11293
|
}
|
|
11294
11294
|
}
|
|
11295
|
-
function
|
|
11295
|
+
function ri(i, s, f, m) {
|
|
11296
11296
|
var y = Ia(), k = Sn.transition;
|
|
11297
11297
|
Sn.transition = null;
|
|
11298
11298
|
try {
|
|
11299
|
-
|
|
11299
|
+
ni(ts), Du(i, s, f, m);
|
|
11300
11300
|
} finally {
|
|
11301
|
-
|
|
11301
|
+
ni(y), Sn.transition = k;
|
|
11302
11302
|
}
|
|
11303
11303
|
}
|
|
11304
11304
|
function Du(i, s, f, m) {
|
|
@@ -13706,7 +13706,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13706
13706
|
var i = 0, s = Ia();
|
|
13707
13707
|
try {
|
|
13708
13708
|
var f = !0, m = Vu;
|
|
13709
|
-
for (
|
|
13709
|
+
for (ni(ya); i < m.length; i++) {
|
|
13710
13710
|
var y = m[i];
|
|
13711
13711
|
do
|
|
13712
13712
|
y = y(f);
|
|
@@ -13716,7 +13716,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13716
13716
|
} catch (k) {
|
|
13717
13717
|
throw Vu !== null && (Vu = Vu.slice(i + 1)), Dg(Po, ed), k;
|
|
13718
13718
|
} finally {
|
|
13719
|
-
|
|
13719
|
+
ni(s), f0 = !1;
|
|
13720
13720
|
}
|
|
13721
13721
|
}
|
|
13722
13722
|
return null;
|
|
@@ -13755,7 +13755,7 @@ Check the render method of \`` + i + "`." : "";
|
|
|
13755
13755
|
}
|
|
13756
13756
|
}
|
|
13757
13757
|
function fk(i) {
|
|
13758
|
-
return 32 -
|
|
13758
|
+
return 32 - ti(i);
|
|
13759
13759
|
}
|
|
13760
13760
|
function p8(i) {
|
|
13761
13761
|
return 1 << fk(i) - 1;
|
|
@@ -14412,8 +14412,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14412
14412
|
return me(le, xe, ue, On(tr), yt);
|
|
14413
14413
|
}
|
|
14414
14414
|
if (on(He) || yr(He)) {
|
|
14415
|
-
var
|
|
14416
|
-
return B(xe,
|
|
14415
|
+
var ii = le.get(ue) || null;
|
|
14416
|
+
return B(xe, ii, He, yt, null);
|
|
14417
14417
|
}
|
|
14418
14418
|
mk(xe, He);
|
|
14419
14419
|
}
|
|
@@ -14453,14 +14453,14 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14453
14453
|
var Wt = ue[ht];
|
|
14454
14454
|
yt = ve(Wt, yt, le);
|
|
14455
14455
|
}
|
|
14456
|
-
for (var nn = null, tr = null, On = xe,
|
|
14456
|
+
for (var nn = null, tr = null, On = xe, ii = 0, Mn = 0, Kr = null; On !== null && Mn < ue.length; Mn++) {
|
|
14457
14457
|
On.index > Mn ? (Kr = On, On = null) : Kr = On.sibling;
|
|
14458
14458
|
var Ta = te(le, On, ue[Mn], He);
|
|
14459
14459
|
if (Ta === null) {
|
|
14460
14460
|
On === null && (On = Kr);
|
|
14461
14461
|
break;
|
|
14462
14462
|
}
|
|
14463
|
-
i && On && Ta.alternate === null && s(le, On),
|
|
14463
|
+
i && On && Ta.alternate === null && s(le, On), ii = k(Ta, ii, Mn), tr === null ? nn = Ta : tr.sibling = Ta, tr = Ta, On = Kr;
|
|
14464
14464
|
}
|
|
14465
14465
|
if (Mn === ue.length) {
|
|
14466
14466
|
if (f(le, On), Qi()) {
|
|
@@ -14472,7 +14472,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14472
14472
|
if (On === null) {
|
|
14473
14473
|
for (; Mn < ue.length; Mn++) {
|
|
14474
14474
|
var Ls = re(le, ue[Mn], He);
|
|
14475
|
-
Ls !== null && (
|
|
14475
|
+
Ls !== null && (ii = k(Ls, ii, Mn), tr === null ? nn = Ls : tr.sibling = Ls, tr = Ls);
|
|
14476
14476
|
}
|
|
14477
14477
|
if (Qi()) {
|
|
14478
14478
|
var Ba = Mn;
|
|
@@ -14482,7 +14482,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14482
14482
|
}
|
|
14483
14483
|
for (var Ha = m(le, On); Mn < ue.length; Mn++) {
|
|
14484
14484
|
var xa = me(Ha, le, Mn, ue[Mn], He);
|
|
14485
|
-
xa !== null && (i && xa.alternate !== null && Ha.delete(xa.key === null ? Mn : xa.key),
|
|
14485
|
+
xa !== null && (i && xa.alternate !== null && Ha.delete(xa.key === null ? Mn : xa.key), ii = k(xa, ii, Mn), tr === null ? nn = xa : tr.sibling = xa, tr = xa);
|
|
14486
14486
|
}
|
|
14487
14487
|
if (i && Ha.forEach(function(bm) {
|
|
14488
14488
|
return s(le, bm);
|
|
@@ -14509,36 +14509,36 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14509
14509
|
var On = yt.call(ue);
|
|
14510
14510
|
if (On == null)
|
|
14511
14511
|
throw new Error("An iterable object provided no iterator.");
|
|
14512
|
-
for (var
|
|
14512
|
+
for (var ii = null, Mn = null, Kr = xe, Ta = 0, ia = 0, Ls = null, Ba = On.next(); Kr !== null && !Ba.done; ia++, Ba = On.next()) {
|
|
14513
14513
|
Kr.index > ia ? (Ls = Kr, Kr = null) : Ls = Kr.sibling;
|
|
14514
14514
|
var Ha = te(le, Kr, Ba.value, He);
|
|
14515
14515
|
if (Ha === null) {
|
|
14516
14516
|
Kr === null && (Kr = Ls);
|
|
14517
14517
|
break;
|
|
14518
14518
|
}
|
|
14519
|
-
i && Kr && Ha.alternate === null && s(le, Kr), Ta = k(Ha, Ta, ia), Mn === null ?
|
|
14519
|
+
i && Kr && Ha.alternate === null && s(le, Kr), Ta = k(Ha, Ta, ia), Mn === null ? ii = Ha : Mn.sibling = Ha, Mn = Ha, Kr = Ls;
|
|
14520
14520
|
}
|
|
14521
14521
|
if (Ba.done) {
|
|
14522
14522
|
if (f(le, Kr), Qi()) {
|
|
14523
14523
|
var xa = ia;
|
|
14524
14524
|
Wf(le, xa);
|
|
14525
14525
|
}
|
|
14526
|
-
return
|
|
14526
|
+
return ii;
|
|
14527
14527
|
}
|
|
14528
14528
|
if (Kr === null) {
|
|
14529
14529
|
for (; !Ba.done; ia++, Ba = On.next()) {
|
|
14530
14530
|
var Ku = re(le, Ba.value, He);
|
|
14531
|
-
Ku !== null && (Ta = k(Ku, Ta, ia), Mn === null ?
|
|
14531
|
+
Ku !== null && (Ta = k(Ku, Ta, ia), Mn === null ? ii = Ku : Mn.sibling = Ku, Mn = Ku);
|
|
14532
14532
|
}
|
|
14533
14533
|
if (Qi()) {
|
|
14534
14534
|
var bm = ia;
|
|
14535
14535
|
Wf(le, bm);
|
|
14536
14536
|
}
|
|
14537
|
-
return
|
|
14537
|
+
return ii;
|
|
14538
14538
|
}
|
|
14539
14539
|
for (var dy = m(le, Kr); !Ba.done; ia++, Ba = On.next()) {
|
|
14540
14540
|
var Bl = me(dy, le, ia, Ba.value, He);
|
|
14541
|
-
Bl !== null && (i && Bl.alternate !== null && dy.delete(Bl.key === null ? ia : Bl.key), Ta = k(Bl, Ta, ia), Mn === null ?
|
|
14541
|
+
Bl !== null && (i && Bl.alternate !== null && dy.delete(Bl.key === null ? ia : Bl.key), Ta = k(Bl, Ta, ia), Mn === null ? ii = Bl : Mn.sibling = Bl, Mn = Bl);
|
|
14542
14542
|
}
|
|
14543
14543
|
if (i && dy.forEach(function(nB) {
|
|
14544
14544
|
return s(le, nB);
|
|
@@ -14546,7 +14546,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14546
14546
|
var tB = ia;
|
|
14547
14547
|
Wf(le, tB);
|
|
14548
14548
|
}
|
|
14549
|
-
return
|
|
14549
|
+
return ii;
|
|
14550
14550
|
}
|
|
14551
14551
|
function Vt(le, xe, ue, He) {
|
|
14552
14552
|
if (xe !== null && xe.tag === R) {
|
|
@@ -14588,8 +14588,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
14588
14588
|
var On = fd(ue.props.children, le.mode, He, ue.key);
|
|
14589
14589
|
return On.return = le, On;
|
|
14590
14590
|
} else {
|
|
14591
|
-
var
|
|
14592
|
-
return
|
|
14591
|
+
var ii = yw(ue, le.mode, He);
|
|
14592
|
+
return ii.ref = Mv(le, xe, ue), ii.return = le, ii;
|
|
14593
14593
|
}
|
|
14594
14594
|
}
|
|
14595
14595
|
function Rn(le, xe, ue, He) {
|
|
@@ -15649,7 +15649,7 @@ Incoming: %s`, De, "[" + s.join(", ") + "]", "[" + i.join(", ") + "]");
|
|
|
15649
15649
|
}
|
|
15650
15650
|
function K8(i, s, f) {
|
|
15651
15651
|
var m = Ia();
|
|
15652
|
-
|
|
15652
|
+
ni(Df(m, ts)), i(!0);
|
|
15653
15653
|
var y = Uv.transition;
|
|
15654
15654
|
Uv.transition = {};
|
|
15655
15655
|
var k = Uv.transition;
|
|
@@ -15657,7 +15657,7 @@ Incoming: %s`, De, "[" + s.join(", ") + "]", "[" + i.join(", ") + "]");
|
|
|
15657
15657
|
try {
|
|
15658
15658
|
i(!1), s();
|
|
15659
15659
|
} finally {
|
|
15660
|
-
if (
|
|
15660
|
+
if (ni(m), Uv.transition = y, y === null && k._updatedFibers) {
|
|
15661
15661
|
var w = k._updatedFibers.size;
|
|
15662
15662
|
w > 10 && l("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), k._updatedFibers.clear();
|
|
15663
15663
|
}
|
|
@@ -18076,8 +18076,8 @@ Check the render method of \`` + m + "`.");
|
|
|
18076
18076
|
if (tr)
|
|
18077
18077
|
Kv(nn, !1);
|
|
18078
18078
|
else {
|
|
18079
|
-
var
|
|
18080
|
-
if (!
|
|
18079
|
+
var ii = $z() && (i === null || (i.flags & mn) === Nt);
|
|
18080
|
+
if (!ii)
|
|
18081
18081
|
for (var Mn = s.child; Mn !== null; ) {
|
|
18082
18082
|
var Kr = Pk(Mn);
|
|
18083
18083
|
if (Kr !== null) {
|
|
@@ -19694,9 +19694,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19694
19694
|
function Vz(i, s, f, m, y) {
|
|
19695
19695
|
var k = Ia(), w = na.transition;
|
|
19696
19696
|
try {
|
|
19697
|
-
return na.transition = null,
|
|
19697
|
+
return na.transition = null, ni(ya), i(s, f, m, y);
|
|
19698
19698
|
} finally {
|
|
19699
|
-
|
|
19699
|
+
ni(k), na.transition = w, _n === Pi && ny();
|
|
19700
19700
|
}
|
|
19701
19701
|
}
|
|
19702
19702
|
function Gu(i) {
|
|
@@ -19705,9 +19705,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19705
19705
|
_n |= sO;
|
|
19706
19706
|
var f = na.transition, m = Ia();
|
|
19707
19707
|
try {
|
|
19708
|
-
return na.transition = null,
|
|
19708
|
+
return na.transition = null, ni(ya), i ? i() : void 0;
|
|
19709
19709
|
} finally {
|
|
19710
|
-
|
|
19710
|
+
ni(m), na.transition = f, _n = s, (_n & (ra | so)) === Pi && ed();
|
|
19711
19711
|
}
|
|
19712
19712
|
}
|
|
19713
19713
|
function mO() {
|
|
@@ -19880,9 +19880,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19880
19880
|
function ih(i, s, f) {
|
|
19881
19881
|
var m = Ia(), y = na.transition;
|
|
19882
19882
|
try {
|
|
19883
|
-
na.transition = null,
|
|
19883
|
+
na.transition = null, ni(ya), Yz(i, s, f, m);
|
|
19884
19884
|
} finally {
|
|
19885
|
-
na.transition = y,
|
|
19885
|
+
na.transition = y, ni(m);
|
|
19886
19886
|
}
|
|
19887
19887
|
return null;
|
|
19888
19888
|
}
|
|
@@ -19907,9 +19907,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19907
19907
|
var U = na.transition;
|
|
19908
19908
|
na.transition = null;
|
|
19909
19909
|
var B = Ia();
|
|
19910
|
-
|
|
19910
|
+
ni(ya);
|
|
19911
19911
|
var re = _n;
|
|
19912
|
-
_n |= so, Yx.current = null, GV(i, y), dA(), oz(i, y, k), sj(i.containerInfo), i.current = y, yf(k), lz(y, i, k), Cu(), sS(), _n = re,
|
|
19912
|
+
_n |= so, Yx.current = null, GV(i, y), dA(), oz(i, y, k), sj(i.containerInfo), i.current = y, yf(k), lz(y, i, k), Cu(), sS(), _n = re, ni(B), na.transition = U;
|
|
19913
19913
|
} else
|
|
19914
19914
|
i.current = y, dA();
|
|
19915
19915
|
var te = nh;
|
|
@@ -19932,9 +19932,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
19932
19932
|
if (ud !== null) {
|
|
19933
19933
|
var i = TS(ry), s = zi(Ci, i), f = na.transition, m = Ia();
|
|
19934
19934
|
try {
|
|
19935
|
-
return na.transition = null,
|
|
19935
|
+
return na.transition = null, ni(s), Zz();
|
|
19936
19936
|
} finally {
|
|
19937
|
-
|
|
19937
|
+
ni(m), na.transition = f;
|
|
19938
19938
|
}
|
|
19939
19939
|
}
|
|
19940
19940
|
return !1;
|
|
@@ -21650,10 +21650,10 @@ function _3(t, e) {
|
|
|
21650
21650
|
return e == 0;
|
|
21651
21651
|
}
|
|
21652
21652
|
}
|
|
21653
|
-
var
|
|
21653
|
+
var oi;
|
|
21654
21654
|
(function(t) {
|
|
21655
21655
|
t[t.Varint = 0] = "Varint", t[t.Bit64 = 1] = "Bit64", t[t.LengthDelimited = 2] = "LengthDelimited", t[t.StartGroup = 3] = "StartGroup", t[t.EndGroup = 4] = "EndGroup", t[t.Bit32 = 5] = "Bit32";
|
|
21656
|
-
})(
|
|
21656
|
+
})(oi || (oi = {}));
|
|
21657
21657
|
class DB {
|
|
21658
21658
|
constructor(e) {
|
|
21659
21659
|
this.stack = [], this.textEncoder = e ?? new TextEncoder(), this.chunks = [], this.buf = [];
|
|
@@ -21834,23 +21834,23 @@ class AB {
|
|
|
21834
21834
|
skip(e, n) {
|
|
21835
21835
|
let r = this.pos;
|
|
21836
21836
|
switch (e) {
|
|
21837
|
-
case
|
|
21837
|
+
case oi.Varint:
|
|
21838
21838
|
for (; this.buf[this.pos++] & 128; )
|
|
21839
21839
|
;
|
|
21840
21840
|
break;
|
|
21841
|
-
case
|
|
21841
|
+
case oi.Bit64:
|
|
21842
21842
|
this.pos += 4;
|
|
21843
|
-
case
|
|
21843
|
+
case oi.Bit32:
|
|
21844
21844
|
this.pos += 4;
|
|
21845
21845
|
break;
|
|
21846
|
-
case
|
|
21846
|
+
case oi.LengthDelimited:
|
|
21847
21847
|
let a = this.uint32();
|
|
21848
21848
|
this.pos += a;
|
|
21849
21849
|
break;
|
|
21850
|
-
case
|
|
21850
|
+
case oi.StartGroup:
|
|
21851
21851
|
for (; ; ) {
|
|
21852
21852
|
const [o, l] = this.tag();
|
|
21853
|
-
if (l ===
|
|
21853
|
+
if (l === oi.EndGroup) {
|
|
21854
21854
|
if (n !== void 0 && o !== n)
|
|
21855
21855
|
throw new Error("invalid end group tag");
|
|
21856
21856
|
break;
|
|
@@ -22578,7 +22578,7 @@ function $B() {
|
|
|
22578
22578
|
readMessage(t, e, n, r, a) {
|
|
22579
22579
|
const o = t.getType(), l = a ? e.len : e.pos + n;
|
|
22580
22580
|
let c, h;
|
|
22581
|
-
for (; e.pos < l && ([c, h] = e.tag(), !(a === !0 && h ==
|
|
22581
|
+
for (; e.pos < l && ([c, h] = e.tag(), !(a === !0 && h == oi.EndGroup)); ) {
|
|
22582
22582
|
const p = o.fields.find(c);
|
|
22583
22583
|
if (!p) {
|
|
22584
22584
|
const v = e.skip(h, c);
|
|
@@ -22588,7 +22588,7 @@ function $B() {
|
|
|
22588
22588
|
OM(t, e, p, h, r);
|
|
22589
22589
|
}
|
|
22590
22590
|
if (a && // eslint-disable-line @typescript-eslint/strict-boolean-expressions
|
|
22591
|
-
(h !=
|
|
22591
|
+
(h != oi.EndGroup || c !== n))
|
|
22592
22592
|
throw new Error("invalid end group tag");
|
|
22593
22593
|
},
|
|
22594
22594
|
readField: OM,
|
|
@@ -22622,7 +22622,7 @@ function OM(t, e, n, r, a) {
|
|
|
22622
22622
|
let h = i1;
|
|
22623
22623
|
if (n.kind == "scalar" && n.L > 0 && (h = WB), o) {
|
|
22624
22624
|
let C = t[l];
|
|
22625
|
-
if (r ==
|
|
22625
|
+
if (r == oi.LengthDelimited && c != Le.STRING && c != Le.BYTES) {
|
|
22626
22626
|
let _ = e.uint32() + e.pos;
|
|
22627
22627
|
for (; e.pos < _; )
|
|
22628
22628
|
C.push(h(e, c));
|
|
@@ -22760,7 +22760,7 @@ function MM(t, e, n, r) {
|
|
|
22760
22760
|
}
|
|
22761
22761
|
}
|
|
22762
22762
|
function GB(t, e, n, r, a) {
|
|
22763
|
-
t.tag(n.no,
|
|
22763
|
+
t.tag(n.no, oi.LengthDelimited), t.fork();
|
|
22764
22764
|
let o = r;
|
|
22765
22765
|
switch (n.K) {
|
|
22766
22766
|
case Le.INT32:
|
|
@@ -22782,14 +22782,14 @@ function GB(t, e, n, r, a) {
|
|
|
22782
22782
|
Ny(t, Le.INT32, 2, a);
|
|
22783
22783
|
break;
|
|
22784
22784
|
case "message":
|
|
22785
|
-
Qr(a !== void 0), t.tag(2,
|
|
22785
|
+
Qr(a !== void 0), t.tag(2, oi.LengthDelimited).bytes(a.toBinary(e));
|
|
22786
22786
|
break;
|
|
22787
22787
|
}
|
|
22788
22788
|
t.join();
|
|
22789
22789
|
}
|
|
22790
22790
|
function LM(t, e, n, r) {
|
|
22791
22791
|
const a = M3(n.T, r);
|
|
22792
|
-
n.delimited ? t.tag(n.no,
|
|
22792
|
+
n.delimited ? t.tag(n.no, oi.StartGroup).raw(a.toBinary(e)).tag(n.no, oi.EndGroup) : t.tag(n.no, oi.LengthDelimited).bytes(a.toBinary(e));
|
|
22793
22793
|
}
|
|
22794
22794
|
function Ny(t, e, n, r) {
|
|
22795
22795
|
Qr(r !== void 0);
|
|
@@ -22799,28 +22799,28 @@ function Ny(t, e, n, r) {
|
|
|
22799
22799
|
function YB(t, e, n, r) {
|
|
22800
22800
|
if (!r.length)
|
|
22801
22801
|
return;
|
|
22802
|
-
t.tag(n,
|
|
22802
|
+
t.tag(n, oi.LengthDelimited).fork();
|
|
22803
22803
|
let [, a] = L3(e);
|
|
22804
22804
|
for (let o = 0; o < r.length; o++)
|
|
22805
22805
|
t[a](r[o]);
|
|
22806
22806
|
t.join();
|
|
22807
22807
|
}
|
|
22808
22808
|
function L3(t) {
|
|
22809
|
-
let e =
|
|
22809
|
+
let e = oi.Varint;
|
|
22810
22810
|
switch (t) {
|
|
22811
22811
|
case Le.BYTES:
|
|
22812
22812
|
case Le.STRING:
|
|
22813
|
-
e =
|
|
22813
|
+
e = oi.LengthDelimited;
|
|
22814
22814
|
break;
|
|
22815
22815
|
case Le.DOUBLE:
|
|
22816
22816
|
case Le.FIXED64:
|
|
22817
22817
|
case Le.SFIXED64:
|
|
22818
|
-
e =
|
|
22818
|
+
e = oi.Bit64;
|
|
22819
22819
|
break;
|
|
22820
22820
|
case Le.FIXED32:
|
|
22821
22821
|
case Le.SFIXED32:
|
|
22822
22822
|
case Le.FLOAT:
|
|
22823
|
-
e =
|
|
22823
|
+
e = oi.Bit32;
|
|
22824
22824
|
break;
|
|
22825
22825
|
}
|
|
22826
22826
|
const n = Le[t].toLowerCase();
|
|
@@ -42025,7 +42025,7 @@ const kI = () => ({
|
|
|
42025
42025
|
}), Am = () => ({
|
|
42026
42026
|
x: kI(),
|
|
42027
42027
|
y: kI()
|
|
42028
|
-
}), CI = () => ({ min: 0, max: 0 }),
|
|
42028
|
+
}), CI = () => ({ min: 0, max: 0 }), ai = () => ({
|
|
42029
42029
|
x: CI(),
|
|
42030
42030
|
y: CI()
|
|
42031
42031
|
});
|
|
@@ -42117,7 +42117,7 @@ function tZ(t, e, n) {
|
|
|
42117
42117
|
const aF = ({ current: t }) => t ? t.ownerDocument.defaultView : null, nZ = /* @__PURE__ */ new WeakMap();
|
|
42118
42118
|
class rZ {
|
|
42119
42119
|
constructor(e) {
|
|
42120
|
-
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic =
|
|
42120
|
+
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = ai(), this.visualElement = e;
|
|
42121
42121
|
}
|
|
42122
42122
|
start(e, { snapToCursor: n = !1 } = {}) {
|
|
42123
42123
|
const { presenceContext: r } = this.visualElement;
|
|
@@ -42818,7 +42818,7 @@ function fF({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
42818
42818
|
for (let h = 0; h < this.path.length; h++)
|
|
42819
42819
|
this.path[h].updateScroll();
|
|
42820
42820
|
const l = this.layout;
|
|
42821
|
-
this.layout = this.measure(!1), this.layoutCorrected =
|
|
42821
|
+
this.layout = this.measure(!1), this.layoutCorrected = ai(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
|
|
42822
42822
|
const { visualElement: c } = this.options;
|
|
42823
42823
|
c && c.notify("LayoutMeasure", this.layout.layoutBox, l ? l.layoutBox : void 0);
|
|
42824
42824
|
}
|
|
@@ -42856,7 +42856,7 @@ function fF({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
42856
42856
|
var l;
|
|
42857
42857
|
const { visualElement: c } = this.options;
|
|
42858
42858
|
if (!c)
|
|
42859
|
-
return
|
|
42859
|
+
return ai();
|
|
42860
42860
|
const h = c.measureViewportBox();
|
|
42861
42861
|
if (!(((l = this.scroll) === null || l === void 0 ? void 0 : l.wasRoot) || this.path.some(BZ))) {
|
|
42862
42862
|
const { scroll: v } = this.root;
|
|
@@ -42866,7 +42866,7 @@ function fF({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
42866
42866
|
}
|
|
42867
42867
|
removeElementScroll(l) {
|
|
42868
42868
|
var c;
|
|
42869
|
-
const h =
|
|
42869
|
+
const h = ai();
|
|
42870
42870
|
if (lo(h, l), !((c = this.scroll) === null || c === void 0) && c.wasRoot)
|
|
42871
42871
|
return h;
|
|
42872
42872
|
for (let p = 0; p < this.path.length; p++) {
|
|
@@ -42876,7 +42876,7 @@ function fF({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
42876
42876
|
return h;
|
|
42877
42877
|
}
|
|
42878
42878
|
applyTransform(l, c = !1) {
|
|
42879
|
-
const h =
|
|
42879
|
+
const h = ai();
|
|
42880
42880
|
lo(h, l);
|
|
42881
42881
|
for (let p = 0; p < this.path.length; p++) {
|
|
42882
42882
|
const v = this.path[p];
|
|
@@ -42888,14 +42888,14 @@ function fF({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
42888
42888
|
return dh(this.latestValues) && Mm(h, this.latestValues), h;
|
|
42889
42889
|
}
|
|
42890
42890
|
removeTransform(l) {
|
|
42891
|
-
const c =
|
|
42891
|
+
const c = ai();
|
|
42892
42892
|
lo(c, l);
|
|
42893
42893
|
for (let h = 0; h < this.path.length; h++) {
|
|
42894
42894
|
const p = this.path[h];
|
|
42895
42895
|
if (!p.instance || !dh(p.latestValues))
|
|
42896
42896
|
continue;
|
|
42897
42897
|
O_(p.latestValues) && p.updateSnapshot();
|
|
42898
|
-
const v =
|
|
42898
|
+
const v = ai(), b = p.measurePageBox();
|
|
42899
42899
|
lo(v, b), UI(c, p.latestValues, p.snapshot ? p.snapshot.layoutBox : void 0, v);
|
|
42900
42900
|
}
|
|
42901
42901
|
return dh(this.latestValues) && UI(c, this.latestValues), c;
|
|
@@ -42927,13 +42927,13 @@ function fF({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
42927
42927
|
if (!(!this.layout || !(b || C))) {
|
|
42928
42928
|
if (this.resolvedRelativeTargetAt = aa.timestamp, !this.targetDelta && !this.relativeTarget) {
|
|
42929
42929
|
const x = this.getClosestProjectingParent();
|
|
42930
|
-
x && x.layout && this.animationProgress !== 1 ? (this.relativeParent = x, this.forceRelativeParentToResolveTarget(), this.relativeTarget =
|
|
42930
|
+
x && x.layout && this.animationProgress !== 1 ? (this.relativeParent = x, this.forceRelativeParentToResolveTarget(), this.relativeTarget = ai(), this.relativeTargetOrigin = ai(), Hy(this.relativeTargetOrigin, this.layout.layoutBox, x.layout.layoutBox), lo(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
42931
42931
|
}
|
|
42932
42932
|
if (!(!this.relativeTarget && !this.targetDelta)) {
|
|
42933
|
-
if (this.target || (this.target =
|
|
42933
|
+
if (this.target || (this.target = ai(), this.targetWithTransforms = ai()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), qK(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : lo(this.target, this.layout.layoutBox), rF(this.target, this.targetDelta)) : lo(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
|
|
42934
42934
|
this.attemptToResolveRelativeTarget = !1;
|
|
42935
42935
|
const x = this.getClosestProjectingParent();
|
|
42936
|
-
x && !!x.resumingFrom == !!this.resumingFrom && !x.options.layoutScroll && x.target && this.animationProgress !== 1 ? (this.relativeParent = x, this.forceRelativeParentToResolveTarget(), this.relativeTarget =
|
|
42936
|
+
x && !!x.resumingFrom == !!this.resumingFrom && !x.options.layoutScroll && x.target && this.animationProgress !== 1 ? (this.relativeParent = x, this.forceRelativeParentToResolveTarget(), this.relativeTarget = ai(), this.relativeTargetOrigin = ai(), Hy(this.relativeTargetOrigin, this.target, x.target), lo(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
42937
42937
|
}
|
|
42938
42938
|
Oy && fh.resolvedTargetDeltas++;
|
|
42939
42939
|
}
|
|
@@ -42957,7 +42957,7 @@ function fF({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
42957
42957
|
return;
|
|
42958
42958
|
lo(this.layoutCorrected, this.layout.layoutBox);
|
|
42959
42959
|
const C = this.treeScale.x, x = this.treeScale.y;
|
|
42960
|
-
eZ(this.layoutCorrected, this.treeScale, this.path, h), c.layout && !c.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (c.target = c.layout.layoutBox, c.targetWithTransforms =
|
|
42960
|
+
eZ(this.layoutCorrected, this.treeScale, this.path, h), c.layout && !c.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (c.target = c.layout.layoutBox, c.targetWithTransforms = ai());
|
|
42961
42961
|
const { target: _ } = c;
|
|
42962
42962
|
if (!_) {
|
|
42963
42963
|
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
|
|
@@ -42985,12 +42985,12 @@ function fF({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
42985
42985
|
setAnimationOrigin(l, c = !1) {
|
|
42986
42986
|
const h = this.snapshot, p = h ? h.latestValues : {}, v = { ...this.latestValues }, b = Am();
|
|
42987
42987
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !c;
|
|
42988
|
-
const C =
|
|
42988
|
+
const C = ai(), x = h ? h.source : void 0, _ = this.layout ? this.layout.source : void 0, R = x !== _, M = this.getStack(), A = !M || M.members.length <= 1, F = !!(R && !A && this.options.crossfade === !0 && !this.path.some(jZ));
|
|
42989
42989
|
this.animationProgress = 0;
|
|
42990
42990
|
let z;
|
|
42991
42991
|
this.mixTargetDelta = (j) => {
|
|
42992
42992
|
const I = j / 1e3;
|
|
42993
|
-
WI(b.x, l.x, I), WI(b.y, l.y, I), this.setTargetDelta(b), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Hy(C, this.layout.layoutBox, this.relativeParent.layout.layoutBox), FZ(this.relativeTarget, this.relativeTargetOrigin, C, I), z && CZ(this.relativeTarget, z) && (this.isProjectionDirty = !1), z || (z =
|
|
42993
|
+
WI(b.x, l.x, I), WI(b.y, l.y, I), this.setTargetDelta(b), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Hy(C, this.layout.layoutBox, this.relativeParent.layout.layoutBox), FZ(this.relativeTarget, this.relativeTargetOrigin, C, I), z && CZ(this.relativeTarget, z) && (this.isProjectionDirty = !1), z || (z = ai()), lo(z, this.relativeTarget)), R && (this.animationValues = v, gZ(v, p, this.latestValues, I, F, A)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = I;
|
|
42994
42994
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
42995
42995
|
}
|
|
42996
42996
|
startAnimation(l) {
|
|
@@ -43019,7 +43019,7 @@ function fF({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
43019
43019
|
let { targetWithTransforms: c, target: h, layout: p, latestValues: v } = l;
|
|
43020
43020
|
if (!(!c || !h || !p)) {
|
|
43021
43021
|
if (this !== l && this.layout && p && hF(this.options.animationType, this.layout.layoutBox, p.layoutBox)) {
|
|
43022
|
-
h = this.target ||
|
|
43022
|
+
h = this.target || ai();
|
|
43023
43023
|
const b = js(this.layout.layoutBox.x);
|
|
43024
43024
|
h.x.min = l.target.x.min, h.x.max = h.x.min + b;
|
|
43025
43025
|
const C = js(this.layout.layoutBox.y);
|
|
@@ -43151,9 +43151,9 @@ function RZ(t) {
|
|
|
43151
43151
|
if (b && !b.resumeFrom) {
|
|
43152
43152
|
const { snapshot: C, layout: x } = b;
|
|
43153
43153
|
if (C && x) {
|
|
43154
|
-
const _ =
|
|
43154
|
+
const _ = ai();
|
|
43155
43155
|
Hy(_, n.layoutBox, C.layoutBox);
|
|
43156
|
-
const R =
|
|
43156
|
+
const R = ai();
|
|
43157
43157
|
Hy(R, r, x.layoutBox), cF(_, R) || (v = !0), b.options.layoutRoot && (t.relativeTarget = R, t.relativeTargetOrigin = _, t.relativeParent = b);
|
|
43158
43158
|
}
|
|
43159
43159
|
}
|
|
@@ -43510,7 +43510,7 @@ class uQ {
|
|
|
43510
43510
|
* removed with a re-render to work.
|
|
43511
43511
|
*/
|
|
43512
43512
|
measureViewportBox() {
|
|
43513
|
-
return this.current ? this.measureInstanceViewportBox(this.current, this.props) :
|
|
43513
|
+
return this.current ? this.measureInstanceViewportBox(this.current, this.props) : ai();
|
|
43514
43514
|
}
|
|
43515
43515
|
getStaticValue(e) {
|
|
43516
43516
|
return this.latestValues[e];
|
|
@@ -43678,7 +43678,7 @@ class dQ extends gF {
|
|
|
43678
43678
|
}
|
|
43679
43679
|
class fQ extends gF {
|
|
43680
43680
|
constructor() {
|
|
43681
|
-
super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox =
|
|
43681
|
+
super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = ai;
|
|
43682
43682
|
}
|
|
43683
43683
|
getBaseTargetFromProps(e, n) {
|
|
43684
43684
|
return e[n];
|
|
@@ -46218,7 +46218,7 @@ const wr = (t) => {
|
|
|
46218
46218
|
}
|
|
46219
46219
|
};
|
|
46220
46220
|
}, lX = /* @__PURE__ */ HQ(oX);
|
|
46221
|
-
function
|
|
46221
|
+
function Jr(...t) {
|
|
46222
46222
|
return lX(kF(t));
|
|
46223
46223
|
}
|
|
46224
46224
|
const uX = (t) => t.includes("agent") || t.includes("Agent");
|
|
@@ -46257,7 +46257,7 @@ const cX = CF(
|
|
|
46257
46257
|
}
|
|
46258
46258
|
), Yl = ie.forwardRef(({ className: t, variant: e, size: n, asChild: r = !1, ...a }, o) => {
|
|
46259
46259
|
const l = r ? tT : "button";
|
|
46260
|
-
return /* @__PURE__ */ he.jsx(l, { className:
|
|
46260
|
+
return /* @__PURE__ */ he.jsx(l, { className: Jr(cX({ variant: e, size: n, className: t })), ref: o, ...a });
|
|
46261
46261
|
});
|
|
46262
46262
|
Yl.displayName = "Button";
|
|
46263
46263
|
const dX = ({ callMode: t, isLoading: e, buttonConfig: n, isCalling: r, onCallTrigger: a }) => {
|
|
@@ -46268,7 +46268,7 @@ const dX = ({ callMode: t, isLoading: e, buttonConfig: n, isCalling: r, onCallTr
|
|
|
46268
46268
|
disabled: e,
|
|
46269
46269
|
style: (o = n == null ? void 0 : n.call) == null ? void 0 : o.styles,
|
|
46270
46270
|
onClick: () => a(t),
|
|
46271
|
-
className:
|
|
46271
|
+
className: Jr(
|
|
46272
46272
|
"!ringg_ai-rounded-full !ringg_ai-h-12 ringg_ai-bg-[#313335] ringg_ai-text-white hover:ringg_ai-bg-[#313335]/90 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2",
|
|
46273
46273
|
"ringg_ai-call-btn",
|
|
46274
46274
|
r ? "ringg_ai-w-fit" : "ringg_ai-w-full"
|
|
@@ -49268,11 +49268,11 @@ function ps(t) {
|
|
|
49268
49268
|
return t;
|
|
49269
49269
|
return e;
|
|
49270
49270
|
}
|
|
49271
|
-
var rT = (t) => Array.isArray(t) ? t.filter(Boolean) : [],
|
|
49271
|
+
var rT = (t) => Array.isArray(t) ? t.filter(Boolean) : [], si = (t) => t === void 0, it = (t, e, n) => {
|
|
49272
49272
|
if (!e || !li(t))
|
|
49273
49273
|
return n;
|
|
49274
49274
|
const r = rT(e.split(/[,[\].]+?/)).reduce((a, o) => $a(a) ? a : a[o], t);
|
|
49275
|
-
return
|
|
49275
|
+
return si(r) || r === t ? si(t[e]) ? n : t[e] : r;
|
|
49276
49276
|
}, co = (t) => typeof t == "boolean", oP = (t) => /^\w*$/.test(t), zF = (t) => rT(t.replace(/["|']|\]/g, "").split(/\.|\[/)), rr = (t, e, n) => {
|
|
49277
49277
|
let r = -1;
|
|
49278
49278
|
const a = oP(e) ? [e] : zF(e), o = a.length, l = o - 1;
|
|
@@ -49451,7 +49451,7 @@ function _J(t) {
|
|
|
49451
49451
|
};
|
|
49452
49452
|
if (x(n, !0), C) {
|
|
49453
49453
|
const _ = ps(it(a._options.defaultValues, n));
|
|
49454
|
-
rr(a._defaultValues, n, _),
|
|
49454
|
+
rr(a._defaultValues, n, _), si(it(a._formValues, n)) && rr(a._formValues, n, _);
|
|
49455
49455
|
}
|
|
49456
49456
|
return !l && a.register(n), () => {
|
|
49457
49457
|
(l ? C && !a._state.action : C) ? a.unregister(n) : x(n, !1);
|
|
@@ -49520,7 +49520,7 @@ var YF = (t) => {
|
|
|
49520
49520
|
}
|
|
49521
49521
|
return t[0].checked && !t[0].disabled ? (
|
|
49522
49522
|
// @ts-expect-error expected to work in the browser
|
|
49523
|
-
t[0].attributes && !
|
|
49523
|
+
t[0].attributes && !si(t[0].attributes.value) ? si(t[0].value) || t[0].value === "" ? hN : { value: t[0].value, isValid: !0 } : hN
|
|
49524
49524
|
) : fN;
|
|
49525
49525
|
}
|
|
49526
49526
|
return fN;
|
|
@@ -49550,7 +49550,7 @@ var Tm = (t) => li(t) && !M1(t) ? t : {
|
|
|
49550
49550
|
return {};
|
|
49551
49551
|
const z = c ? c[0] : l, j = (ee) => {
|
|
49552
49552
|
a && z.reportValidity && (z.setCustomValidity(co(ee) ? "" : ee || ""), z.reportValidity());
|
|
49553
|
-
}, I = {}, N = cP(l), J = xb(l), Z = N || J, Se = (M || uP(l)) &&
|
|
49553
|
+
}, I = {}, N = cP(l), J = xb(l), Z = N || J, Se = (M || uP(l)) && si(l.value) && si(F) || O1(l) && l.value === "" || F === "" || Array.isArray(F) && !F.length, $ = GF.bind(null, R, r, I), ae = (ee, Ee, _e, Ve = Qu.maxLength, Xe = Qu.minLength) => {
|
|
49554
49554
|
const ze = ee ? Ee : _e;
|
|
49555
49555
|
I[R] = {
|
|
49556
49556
|
type: ee ? Ve : Xe,
|
|
@@ -49629,12 +49629,12 @@ function DJ(t, e) {
|
|
|
49629
49629
|
const n = e.slice(0, -1).length;
|
|
49630
49630
|
let r = 0;
|
|
49631
49631
|
for (; r < n; )
|
|
49632
|
-
t =
|
|
49632
|
+
t = si(t) ? r++ : t[e[r++]];
|
|
49633
49633
|
return t;
|
|
49634
49634
|
}
|
|
49635
49635
|
function AJ(t) {
|
|
49636
49636
|
for (const e in t)
|
|
49637
|
-
if (t.hasOwnProperty(e) && !
|
|
49637
|
+
if (t.hasOwnProperty(e) && !si(t[e]))
|
|
49638
49638
|
return !1;
|
|
49639
49639
|
return !0;
|
|
49640
49640
|
}
|
|
@@ -49699,13 +49699,13 @@ function XF(t, e, n) {
|
|
|
49699
49699
|
const r = Array.isArray(t);
|
|
49700
49700
|
if (li(t) || r)
|
|
49701
49701
|
for (const a in t)
|
|
49702
|
-
Array.isArray(t[a]) || li(t[a]) && !QF(t[a]) ?
|
|
49702
|
+
Array.isArray(t[a]) || li(t[a]) && !QF(t[a]) ? si(e) || B_(n[a]) ? n[a] = Array.isArray(t[a]) ? L1(t[a], []) : { ...L1(t[a]) } : XF(t[a], $a(e) ? {} : e[a], n[a]) : n[a] = !Td(t[a], e[a]);
|
|
49703
49703
|
return n;
|
|
49704
49704
|
}
|
|
49705
|
-
var Ty = (t, e) => XF(t, e, L1(e)), JF = (t, { valueAsNumber: e, valueAsDate: n, setValueAs: r }) =>
|
|
49705
|
+
var Ty = (t, e) => XF(t, e, L1(e)), JF = (t, { valueAsNumber: e, valueAsDate: n, setValueAs: r }) => si(t) ? t : e ? t === "" ? NaN : t && +t : n && Kl(t) ? new Date(t) : r ? r(t) : t;
|
|
49706
49706
|
function mE(t) {
|
|
49707
49707
|
const e = t.ref;
|
|
49708
|
-
return uP(e) ? e.files : cP(e) ? KF(t.refs).value : ZF(e) ? [...e.selectedOptions].map(({ value: n }) => n) : xb(e) ? YF(t.refs).value : JF(
|
|
49708
|
+
return uP(e) ? e.files : cP(e) ? KF(t.refs).value : ZF(e) ? [...e.selectedOptions].map(({ value: n }) => n) : xb(e) ? YF(t.refs).value : JF(si(e.value) ? t.ref.value : e.value, t);
|
|
49709
49709
|
}
|
|
49710
49710
|
var MJ = (t, e, n, r) => {
|
|
49711
49711
|
const a = {};
|
|
@@ -49719,7 +49719,7 @@ var MJ = (t, e, n, r) => {
|
|
|
49719
49719
|
fields: a,
|
|
49720
49720
|
shouldUseNativeValidation: r
|
|
49721
49721
|
};
|
|
49722
|
-
}, xy = (t) =>
|
|
49722
|
+
}, xy = (t) => si(t) ? t : M1(t) ? t.source : li(t) ? M1(t.value) ? t.value.source : t.value : t;
|
|
49723
49723
|
const vN = "AsyncFunction";
|
|
49724
49724
|
var LJ = (t) => !!t && !!t.validate && !!(Gl(t.validate) && t.validate.constructor.name === vN || li(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === vN)), IJ = (t) => t.mount && (t.required || t.min || t.max || t.maxLength || t.minLength || t.pattern || t.validate);
|
|
49725
49725
|
function yN(t, e, n) {
|
|
@@ -49843,8 +49843,8 @@ function jJ(t = {}) {
|
|
|
49843
49843
|
}, I = (G, oe, ye, We) => {
|
|
49844
49844
|
const je = it(r, G);
|
|
49845
49845
|
if (je) {
|
|
49846
|
-
const Oe = it(o, G,
|
|
49847
|
-
|
|
49846
|
+
const Oe = it(o, G, si(ye) ? it(a, G) : ye);
|
|
49847
|
+
si(Oe) || We && We.defaultChecked || oe ? rr(o, G, oe ? Oe : mE(je._f)) : Ve(G, Oe), l.mount && M();
|
|
49848
49848
|
}
|
|
49849
49849
|
}, N = (G, oe, ye, We, je) => {
|
|
49850
49850
|
let Oe = !1, tt = !1;
|
|
@@ -49919,7 +49919,7 @@ function jJ(t = {}) {
|
|
|
49919
49919
|
}
|
|
49920
49920
|
c.unMount = /* @__PURE__ */ new Set();
|
|
49921
49921
|
}, ee = (G, oe) => !e.disabled && (G && oe && rr(o, G, oe), !Td(Q(), a)), Ee = (G, oe, ye) => WF(G, c, {
|
|
49922
|
-
...l.mount ? o :
|
|
49922
|
+
...l.mount ? o : si(oe) ? a : Kl(G) ? { [G]: oe } : oe
|
|
49923
49923
|
}, ye, oe), _e = (G) => rT(it(l.mount ? o : a, G, e.shouldUnregister ? it(a, G, []) : [])), Ve = (G, oe, ye = {}) => {
|
|
49924
49924
|
const We = it(r, G);
|
|
49925
49925
|
let je = oe;
|
|
@@ -49984,7 +49984,7 @@ function jJ(t = {}) {
|
|
|
49984
49984
|
let ye, We;
|
|
49985
49985
|
const je = $y(G);
|
|
49986
49986
|
if (e.resolver) {
|
|
49987
|
-
const Oe = await Se(
|
|
49987
|
+
const Oe = await Se(si(G) ? G : je);
|
|
49988
49988
|
ye = ms(Oe), We = G ? !je.some((tt) => it(Oe, tt)) : ye;
|
|
49989
49989
|
} else G ? (We = (await Promise.all(je.map(async (Oe) => {
|
|
49990
49990
|
const tt = it(r, Oe);
|
|
@@ -49999,7 +49999,7 @@ function jJ(t = {}) {
|
|
|
49999
49999
|
const oe = {
|
|
50000
50000
|
...l.mount ? o : a
|
|
50001
50001
|
};
|
|
50002
|
-
return
|
|
50002
|
+
return si(G) ? oe : Kl(G) ? it(oe, G) : G.map((ye) => it(oe, ye));
|
|
50003
50003
|
}, Ce = (G, oe) => ({
|
|
50004
50004
|
invalid: !!it((oe || n).errors, G),
|
|
50005
50005
|
isDirty: !!it((oe || n).dirtyFields, G),
|
|
@@ -50065,7 +50065,7 @@ function jJ(t = {}) {
|
|
|
50065
50065
|
ref: (je) => {
|
|
50066
50066
|
if (je) {
|
|
50067
50067
|
ft(G, oe), ye = it(r, G);
|
|
50068
|
-
const Oe =
|
|
50068
|
+
const Oe = si(je.value) && je.querySelectorAll && je.querySelectorAll("input,select,textarea")[0] || je, tt = OJ(Oe), jt = ye._f.refs || [];
|
|
50069
50069
|
if (tt ? jt.find((ce) => ce === Oe) : Oe === ye._f.ref)
|
|
50070
50070
|
return;
|
|
50071
50071
|
rr(r, G, {
|
|
@@ -50126,7 +50126,7 @@ function jJ(t = {}) {
|
|
|
50126
50126
|
}), We)
|
|
50127
50127
|
throw We;
|
|
50128
50128
|
}, fr = (G, oe = {}) => {
|
|
50129
|
-
it(r, G) && (
|
|
50129
|
+
it(r, G) && (si(oe.defaultValue) ? ze(G, ps(it(a, G))) : (ze(G, oe.defaultValue), rr(a, G, ps(oe.defaultValue))), oe.keepTouched || Mi(n.touchedFields, G), oe.keepDirty || (Mi(n.dirtyFields, G), n.isDirty = oe.defaultValue ? ee(G, ps(it(a, G))) : ee()), oe.keepError || (Mi(n.errors, G), v.isValid && M()), b.state.next({ ...n }));
|
|
50130
50130
|
}, jn = (G, oe = {}) => {
|
|
50131
50131
|
const ye = G ? ps(G) : a, We = ps(ye), je = ms(G), Oe = je ? a : We;
|
|
50132
50132
|
if (oe.keepDefaultValues || (a = ye), !oe.keepValues) {
|
|
@@ -50138,7 +50138,7 @@ function jJ(t = {}) {
|
|
|
50138
50138
|
for (const jt of Array.from(tt))
|
|
50139
50139
|
it(n.dirtyFields, jt) ? rr(Oe, jt, it(o, jt)) : ze(jt, it(Oe, jt));
|
|
50140
50140
|
} else {
|
|
50141
|
-
if (sP &&
|
|
50141
|
+
if (sP && si(G))
|
|
50142
50142
|
for (const tt of c.mount) {
|
|
50143
50143
|
const jt = it(r, tt);
|
|
50144
50144
|
if (jt && jt._f) {
|
|
@@ -50418,7 +50418,7 @@ const YJ = CF(
|
|
|
50418
50418
|
n9,
|
|
50419
50419
|
{
|
|
50420
50420
|
ref: n,
|
|
50421
|
-
className:
|
|
50421
|
+
className: Jr(YJ(), t),
|
|
50422
50422
|
...e
|
|
50423
50423
|
}
|
|
50424
50424
|
));
|
|
@@ -50444,7 +50444,7 @@ const KJ = xJ, i9 = ie.createContext(
|
|
|
50444
50444
|
{}
|
|
50445
50445
|
), s9 = ie.forwardRef(({ className: t, ...e }, n) => {
|
|
50446
50446
|
const r = ie.useId();
|
|
50447
|
-
return /* @__PURE__ */ he.jsx(a9.Provider, { value: { id: r }, children: /* @__PURE__ */ he.jsx("div", { ref: n, className:
|
|
50447
|
+
return /* @__PURE__ */ he.jsx(a9.Provider, { value: { id: r }, children: /* @__PURE__ */ he.jsx("div", { ref: n, className: Jr("ringg_ai-space-y-2", t), ...e }) });
|
|
50448
50448
|
});
|
|
50449
50449
|
s9.displayName = "FormItem";
|
|
50450
50450
|
const QJ = ie.forwardRef(({ className: t, ...e }, n) => {
|
|
@@ -50453,7 +50453,7 @@ const QJ = ie.forwardRef(({ className: t, ...e }, n) => {
|
|
|
50453
50453
|
r9,
|
|
50454
50454
|
{
|
|
50455
50455
|
ref: n,
|
|
50456
|
-
className:
|
|
50456
|
+
className: Jr(r && "ringg_ai-text-destructive", t),
|
|
50457
50457
|
htmlFor: a,
|
|
50458
50458
|
...e
|
|
50459
50459
|
}
|
|
@@ -50481,7 +50481,7 @@ const XJ = ie.forwardRef(({ className: t, ...e }, n) => {
|
|
|
50481
50481
|
{
|
|
50482
50482
|
ref: n,
|
|
50483
50483
|
id: r,
|
|
50484
|
-
className:
|
|
50484
|
+
className: Jr("ringg_ai-text-[0.8rem] ringg_ai-text-muted-foreground", t),
|
|
50485
50485
|
...e
|
|
50486
50486
|
}
|
|
50487
50487
|
);
|
|
@@ -50494,7 +50494,7 @@ const l9 = ie.forwardRef(({ className: t, children: e, ...n }, r) => {
|
|
|
50494
50494
|
{
|
|
50495
50495
|
ref: r,
|
|
50496
50496
|
id: o,
|
|
50497
|
-
className:
|
|
50497
|
+
className: Jr("ringg_ai-text-[0.8rem] ringg_ai-font-medium ringg_ai-text-destructive", t),
|
|
50498
50498
|
...n,
|
|
50499
50499
|
children: l
|
|
50500
50500
|
}
|
|
@@ -50506,7 +50506,7 @@ const u9 = ie.forwardRef(
|
|
|
50506
50506
|
"input",
|
|
50507
50507
|
{
|
|
50508
50508
|
type: e,
|
|
50509
|
-
className:
|
|
50509
|
+
className: Jr(
|
|
50510
50510
|
"ringg_ai-flex ringg_ai-h-9 ringg_ai-w-full ringg_ai-rounded-md ringg_ai-border ringg_ai-border-input ringg_ai-bg-transparent ringg_ai-px-3 ringg_ai-py-1 ringg_ai-text-base ringg_ai-shadow-sm ringg_ai-transition-colors file:ringg_ai-border-0 file:ringg_ai-bg-transparent file:ringg_ai-text-sm file:ringg_ai-font-medium file:ringg_ai-text-foreground placeholder:ringg_ai-text-muted-foreground focus-visible:ringg_ai-outline-none focus-visible:ringg_ai-ring-1 focus-visible:ringg_ai-ring-ring disabled:ringg_ai-cursor-not-allowed disabled:ringg_ai-opacity-50 md:ringg_ai-text-sm",
|
|
50511
50511
|
t
|
|
50512
50512
|
),
|
|
@@ -50559,7 +50559,7 @@ const JJ = ({ isSending: t, onMessageSubmit: e }) => {
|
|
|
50559
50559
|
variant: "secondary",
|
|
50560
50560
|
style: (p = n == null ? void 0 : n.mic) == null ? void 0 : p.styles,
|
|
50561
50561
|
onClick: c,
|
|
50562
|
-
className:
|
|
50562
|
+
className: Jr("ringg_ai-bg-gray-200 hover:ringg_ai-bg-gray-200 !ringg_ai-rounded-full !ringg_ai-h-12 !ringg_ai-w-12 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2"),
|
|
50563
50563
|
children: a.localParticipant.isMicrophoneEnabled ? /* @__PURE__ */ he.jsx(xQ, { className: "[&_path]:ringg_ai-fill-black ringg_ai-h-4 ringg_ai-w-4" }) : /* @__PURE__ */ he.jsx(bQ, { className: "ringg_ai-h-4 ringg_ai-w-4" })
|
|
50564
50564
|
}
|
|
50565
50565
|
),
|
|
@@ -50573,7 +50573,7 @@ const JJ = ({ isSending: t, onMessageSubmit: e }) => {
|
|
|
50573
50573
|
variant: "secondary",
|
|
50574
50574
|
style: (v = n == null ? void 0 : n.mic) == null ? void 0 : v.styles,
|
|
50575
50575
|
onClick: h,
|
|
50576
|
-
className:
|
|
50576
|
+
className: Jr(
|
|
50577
50577
|
"ringg_ai-bg-gray-200 hover:ringg_ai-bg-gray-200 !ringg_ai-rounded-full !ringg_ai-h-12 !ringg_ai-w-12 ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-gap-2",
|
|
50578
50578
|
"!ringg_ai-bg-[#CA3A31] hover:!ringg_ai-bg-[#CA3A31]/90"
|
|
50579
50579
|
),
|
|
@@ -50586,7 +50586,7 @@ const JJ = ({ isSending: t, onMessageSubmit: e }) => {
|
|
|
50586
50586
|
}, tee = ({ children: t, open: e, containerRef: n }) => !e || !n.current ? null : b3.createPortal(
|
|
50587
50587
|
/* @__PURE__ */ he.jsx("div", { className: "ringg_ai-absolute ringg_ai-inset-0 ringg_ai-z-[9999] ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-bg-black/50", children: /* @__PURE__ */ he.jsx("div", { className: "ringg_ai-relative ringg_ai-bg-white ringg_ai-rounded-[20px] ringg_ai-shadow-lg ringg_ai-max-w-md ringg_ai-w-full ringg_ai-mx-4 ringg_ai-p-6", children: t }) }),
|
|
50588
50588
|
n.current
|
|
50589
|
-
), nee = ({ children: t, className: e = "" }) => /* @__PURE__ */ he.jsx("div", { className:
|
|
50589
|
+
), nee = ({ children: t, className: e = "" }) => /* @__PURE__ */ he.jsx("div", { className: Jr("ringg_ai-space-y-4", e), children: t }), ree = ({ children: t }) => /* @__PURE__ */ he.jsx("div", { className: "ringg_ai-space-y-2", children: t }), iee = ({ children: t }) => /* @__PURE__ */ he.jsx("h2", { className: "ringg_ai-text-md ringg_ai-font-medium", children: t }), aee = ({ children: t }) => /* @__PURE__ */ he.jsx("p", { className: "ringg_ai-text-sm ringg_ai-text-gray-600", children: t }), see = ({ children: t }) => /* @__PURE__ */ he.jsx("div", { className: "ringg_ai-flex ringg_ai-justify-center ringg_ai-space-x-2 ringg_ai-pt-4", children: t }), oee = ({ filled: t, onClick: e, onMouseEnter: n, onMouseLeave: r, starsStyles: a }) => {
|
|
50590
50590
|
const o = (a == null ? void 0 : a.filledColor) ?? "#FBBF24", l = (a == null ? void 0 : a.emptyColor) ?? "#D1D5DB";
|
|
50591
50591
|
return /* @__PURE__ */ he.jsx("button", { type: "button", onClick: e, onMouseEnter: n, onMouseLeave: r, className: "ringg_ai-p-1 ringg_ai-transition-transform hover:ringg_ai-scale-110", children: /* @__PURE__ */ he.jsx(
|
|
50592
50592
|
"svg",
|
|
@@ -50623,7 +50623,7 @@ const JJ = ({ isSending: t, onMessageSubmit: e }) => {
|
|
|
50623
50623
|
value: p,
|
|
50624
50624
|
onChange: (R) => v(R.target.value),
|
|
50625
50625
|
placeholder: (n == null ? void 0 : n.placeholder) ?? "We'd love to hear more...",
|
|
50626
|
-
className:
|
|
50626
|
+
className: Jr(
|
|
50627
50627
|
"ringg_ai-w-full ringg_ai-min-h-[80px] ringg_ai-p-3 ringg_ai-text-sm ringg_ai-rounded-lg ringg_ai-border ringg_ai-border-gray-200",
|
|
50628
50628
|
"ringg_ai-resize-none ringg_ai-bg-white focus:ringg_ai-outline-none focus:ringg_ai-ring-1 focus:ringg_ai-ring-blue-500 focus:ringg_ai-border-transparent",
|
|
50629
50629
|
"placeholder:ringg_ai-text-gray-400"
|
|
@@ -50638,7 +50638,7 @@ const JJ = ({ isSending: t, onMessageSubmit: e }) => {
|
|
|
50638
50638
|
onClick: b,
|
|
50639
50639
|
disabled: o === 0 || e,
|
|
50640
50640
|
style: n == null ? void 0 : n.submitBtnStyles,
|
|
50641
|
-
className:
|
|
50641
|
+
className: Jr("!ringg_ai-w-full !ringg_ai-rounded-lg !ringg_ai-py-2.5", o === 0 && "!ringg_ai-opacity-50 !ringg_ai-cursor-not-allowed"),
|
|
50642
50642
|
children: (n == null ? void 0 : n.submitBtnCTA) ?? "Submit Feedback"
|
|
50643
50643
|
}
|
|
50644
50644
|
),
|
|
@@ -59255,15 +59255,15 @@ function Bse(t) {
|
|
|
59255
59255
|
}
|
|
59256
59256
|
const Hse = ({ itemIndex: t, message: e }) => {
|
|
59257
59257
|
const n = uX(e.name);
|
|
59258
|
-
return /* @__PURE__ */ he.jsx("div", { className:
|
|
59258
|
+
return /* @__PURE__ */ he.jsx("div", { className: Jr("ringg_ai-flex ringg_ai-flex-col ringg_ai-items-start ringg_ai-gap-1 ringg_ai-justify-start", n ? "ringg_ai-flex-row" : "ringg_ai-flex-row-reverse"), children: /* @__PURE__ */ he.jsx(
|
|
59259
59259
|
"div",
|
|
59260
59260
|
{
|
|
59261
|
-
className:
|
|
59261
|
+
className: Jr(
|
|
59262
59262
|
"ringg_ai-flex ringg_ai-items-center ringg_ai-justify-start ringg_ai-gap-2 ringg_ai-px-4 ringg_ai-py-2 ringg_ai-rounded-xl ringg_ai-max-w-[90%]",
|
|
59263
|
-
n ? "ringg_ai-bg-[#F3F3F5] ringg_ai-mr-auto ringg_ai-text-left ringg_ai-rounded-bl-none" : "ringg_ai-bg-[#2C2E30]
|
|
59263
|
+
n ? "ringg_ai-bg-[#F3F3F5] ringg_ai-mr-auto ringg_ai-text-left ringg_ai-rounded-bl-none" : "ringg_ai-bg-[#2C2E30] ringg_ai-ml-auto ringg_ai-text-right ringg_ai-rounded-br-none"
|
|
59264
59264
|
),
|
|
59265
59265
|
children: /* @__PURE__ */ he.jsxs("div", { className: "ringg_ai-flex ringg_ai-flex-col ringg_ai-gap-2.5 ringg_ai-w-full ringg_ai-overflow-x-auto", children: [
|
|
59266
|
-
/* @__PURE__ */ he.jsx(
|
|
59266
|
+
/* @__PURE__ */ he.jsx("div", { className: Jr("ringg_ai-prose ringg_ai-prose-sm ringg_ai-max-w-none [&_p]:ringg_ai-text-sm [&_li]:ringg_ai-text-sm [&_table]:ringg_ai-w-max", n ? "ringg_ai-text-black " : "ringg_ai-text-white "), children: /* @__PURE__ */ he.jsx(Aie, { remarkPlugins: [Bse], children: e.message }) }),
|
|
59267
59267
|
(e == null ? void 0 : e.sourceUrl) && /* @__PURE__ */ he.jsxs("a", { href: e.sourceUrl, target: "_blank", rel: "noopener noreferrer", className: "ringg_ai-text-sm ringg_ai-break-all ringg_ai-w-fit ringg_ai-text-blue-600 ringg_ai-hover:underline", children: [
|
|
59268
59268
|
"Source: ",
|
|
59269
59269
|
e.sourceUrl
|
|
@@ -59283,13 +59283,13 @@ function $se({ tabs: t = [], activeTab: e = "voice-call", onTabChange: n }) {
|
|
|
59283
59283
|
"button",
|
|
59284
59284
|
{
|
|
59285
59285
|
onClick: () => o(l.id),
|
|
59286
|
-
className:
|
|
59286
|
+
className: Jr(
|
|
59287
59287
|
"ringg_ai-flex ringg_ai-flex-col ringg_ai-items-center ringg_ai-gap-1 ringg_ai-border-t ringg_ai-py-3 ringg_ai-transition-all ringg_ai-duration-200 ringg_ai-flex-1",
|
|
59288
59288
|
h ? "ringg_ai-border-t-black" : "ringg_ai-border-t-transparent"
|
|
59289
59289
|
),
|
|
59290
59290
|
children: [
|
|
59291
|
-
/* @__PURE__ */ he.jsx(c, { className:
|
|
59292
|
-
/* @__PURE__ */ he.jsx("span", { className:
|
|
59291
|
+
/* @__PURE__ */ he.jsx(c, { className: Jr("ringg_ai-w-5 ringg_ai-h-5 ringg_ai-transition-colors", h ? "ringg_ai-text-black [&_path]:ringg_ai-fill-black" : "ringg_ai-text-gray-400 [&_path]:ringg_ai-fill-gray-400") }),
|
|
59292
|
+
/* @__PURE__ */ he.jsx("span", { className: Jr("ringg_ai-text-xs ringg_ai-font-medium ringg_ai-transition-colors", h ? "ringg_ai-text-black" : "ringg_ai-text-gray-400"), children: l.label })
|
|
59293
59293
|
]
|
|
59294
59294
|
},
|
|
59295
59295
|
l.id
|
|
@@ -59477,8 +59477,8 @@ const qse = (t, e) => {
|
|
|
59477
59477
|
...Xt && { sourceUrl: j.current ? j.current : "" }
|
|
59478
59478
|
};
|
|
59479
59479
|
j.current && (j.current = ""), ft((Cr) => {
|
|
59480
|
-
const Tr = /* @__PURE__ */ new Set(),
|
|
59481
|
-
return
|
|
59480
|
+
const Tr = /* @__PURE__ */ new Set(), ei = [...Cr, un].filter((ui) => Tr.has(ui.timestamp) ? !1 : (Tr.add(ui.timestamp), !0));
|
|
59481
|
+
return ei.sort((ui, ks) => ui.timestamp - ks.timestamp), ei;
|
|
59482
59482
|
});
|
|
59483
59483
|
} catch (zt) {
|
|
59484
59484
|
console.error("Error reading text stream", zt);
|
|
@@ -59512,8 +59512,8 @@ const qse = (t, e) => {
|
|
|
59512
59512
|
zt.preventDefault();
|
|
59513
59513
|
return;
|
|
59514
59514
|
}
|
|
59515
|
-
const { scrollTop: un, scrollHeight: Cr, clientHeight: Tr } = Xt,
|
|
59516
|
-
(
|
|
59515
|
+
const { scrollTop: un, scrollHeight: Cr, clientHeight: Tr } = Xt, ei = un === 0 && zt.deltaY < 0, ui = un + Tr >= Cr - 1 && zt.deltaY > 0;
|
|
59516
|
+
(ei || ui) && zt.preventDefault();
|
|
59517
59517
|
};
|
|
59518
59518
|
let Pt = 0;
|
|
59519
59519
|
const Rt = (zt) => {
|
|
@@ -59524,7 +59524,7 @@ const qse = (t, e) => {
|
|
|
59524
59524
|
zt.preventDefault();
|
|
59525
59525
|
return;
|
|
59526
59526
|
}
|
|
59527
|
-
const { scrollTop: Tr, scrollHeight:
|
|
59527
|
+
const { scrollTop: Tr, scrollHeight: ei, clientHeight: ui } = Xt, ks = Tr === 0 && Cr < 0, mo = Tr + ui >= ei - 1 && Cr > 0;
|
|
59528
59528
|
(ks || mo) && zt.preventDefault();
|
|
59529
59529
|
};
|
|
59530
59530
|
return $e.addEventListener("wheel", nt, { passive: !1 }), $e.addEventListener("touchstart", Rt, { passive: !0 }), $e.addEventListener("touchmove", At, { passive: !1 }), () => {
|
|
@@ -59542,7 +59542,7 @@ const qse = (t, e) => {
|
|
|
59542
59542
|
"aria-label": "Open call widget",
|
|
59543
59543
|
onClick: ur,
|
|
59544
59544
|
style: { position: "fixed", ...Q, ...(Lt = l == null ? void 0 : l.modalTrigger) == null ? void 0 : Lt.styles },
|
|
59545
|
-
className:
|
|
59545
|
+
className: Jr(
|
|
59546
59546
|
"!ringg_ai-z-[9999] !ringg_ai-h-14 !ringg_ai-w-14 !ringg_ai-rounded-full ringg_ai-flex ringg_ai-items-center ringg_ai-justify-center ringg_ai-bg-primary ringg_ai-text-primary-foreground ringg_ai-shadow",
|
|
59547
59547
|
"ringg_ai-trigger-btn"
|
|
59548
59548
|
),
|
|
@@ -59559,7 +59559,7 @@ const qse = (t, e) => {
|
|
|
59559
59559
|
exit: { y: "100%", opacity: 0 },
|
|
59560
59560
|
style: { position: "fixed", ...Q, ...Je ? Ce : {}, maxWidth: "96dvw", maxHeight: "96dvh" },
|
|
59561
59561
|
transition: { type: "spring", stiffness: 300, damping: 28 },
|
|
59562
|
-
className:
|
|
59562
|
+
className: Jr(
|
|
59563
59563
|
"ringg_ai-relative ringg_ai-border ringg_ai-overflow-hidden !ringg_ai-z-[9999] ringg_ai-bg-[#fafafa] ringg_ai-rounded-[20px] ringg_ai-shadow-xl ringg_ai-w-[95vw] md:ringg_ai-w-[360px]",
|
|
59564
59564
|
Je && "ringg_ai-h-[24.5rem]"
|
|
59565
59565
|
),
|
|
@@ -59606,10 +59606,10 @@ const qse = (t, e) => {
|
|
|
59606
59606
|
] })
|
|
59607
59607
|
] }) }),
|
|
59608
59608
|
ee ? /* @__PURE__ */ he.jsx(lee, { callMode: Z, isSubmitting: A, feedbackScreenConfig: _, onSubmit: jt, onSkip: ce }) : /* @__PURE__ */ he.jsxs("div", { className: "ringg_ai-flex ringg_ai-h-full ringg_ai-flex-col", children: [
|
|
59609
|
-
/* @__PURE__ */ he.jsxs("div", { className:
|
|
59609
|
+
/* @__PURE__ */ he.jsxs("div", { className: Jr("ringg_ai-relative ringg_ai-p-5 ringg_ai-h-full ringg_ai-mb-2 ringg_ai-flex ringg_ai-gap-5 ringg_ai-flex-col", !Je && "ringg_ai-mt-2"), children: [
|
|
59610
59610
|
/* @__PURE__ */ he.jsx(uee, { isCalling: Je, isLoading: A, title: n, description: r, logoUrl: b, logoStyles: C }),
|
|
59611
59611
|
(ut == null ? void 0 : ut.length) === 0 && Je && /* @__PURE__ */ he.jsx("div", { className: "ringg_ai-mt-20 ringg_ai-h-full" }),
|
|
59612
|
-
(ut == null ? void 0 : ut.length) > 0 && Je && /* @__PURE__ */ he.jsx("div", { "data-scrollable": "true", ref: z, className: "ringg_ai-mt-20 ringg_ai-h-full ringg_ai-overflow-y-
|
|
59612
|
+
(ut == null ? void 0 : ut.length) > 0 && Je && /* @__PURE__ */ he.jsx("div", { "data-scrollable": "true", ref: z, className: "ringg_ai-mt-20 ringg_ai-h-full ringg_ai-overflow-y-auto ringg_ai-flex ringg_ai-flex-col", children: /* @__PURE__ */ he.jsx("div", { className: "ringg_ai-mt-auto md:ringg_ai-mt-0 ringg_ai-flex ringg_ai-flex-col ringg_ai-gap-2.5", children: ut.sort(($e, nt) => new Date($e.timestamp).getTime() - new Date(nt.timestamp).getTime()).map(($e, nt) => /* @__PURE__ */ he.jsx(Hse, { itemIndex: nt, message: $e }, `${$e.timestamp}__${nt}`)) }) }),
|
|
59613
59613
|
/* @__PURE__ */ he.jsx(eee, { buttonConfig: l, callMode: Z, isCalling: Je, onCallEnd: tt }),
|
|
59614
59614
|
ze.hasError && /* @__PURE__ */ he.jsx("div", { className: "ringg_ai-text-center ringg_ai-text-sm ringg_ai-text-red-500 -ringg_ai-mt-3 -ringg_ai-mb-2", children: ze.message }),
|
|
59615
59615
|
M === "disconnected" && /* @__PURE__ */ he.jsx(dX, { callMode: Z, buttonConfig: l, isCalling: Je, isLoading: A, onCallTrigger: Oe }),
|