@rqmii_immersive/agent-react-sdk 5.0.1 → 5.0.2
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/{RqmiiCloudAvatarPlayer-D5aXKUuO.js → RqmiiCloudAvatarPlayer-BBA8R0Sl.js} +2 -2
- package/dist/RqmiiCloudAvatarPlayer-BBA8R0Sl.js.map +1 -0
- package/dist/{RqmiiCloudAvatarPlayer-BI7Uz7DP.cjs → RqmiiCloudAvatarPlayer-CFPGKoOq.cjs} +2 -2
- package/dist/RqmiiCloudAvatarPlayer-CFPGKoOq.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/ui/chat/chat-box-text-and-voice.d.ts.map +1 -1
- package/dist/ui.cjs +30 -30
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.d.ts.map +1 -1
- package/dist/ui.js +531 -527
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
- package/dist/RqmiiCloudAvatarPlayer-BI7Uz7DP.cjs.map +0 -1
- package/dist/RqmiiCloudAvatarPlayer-D5aXKUuO.js.map +0 -1
package/dist/ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Wu, f as QE, h as Hm, d as sk, g as kv, j as l3, i as c3, R as ak, c as ok } from "./RqmiiCloudAvatarPlayer-
|
|
2
|
-
import { E as u6 } from "./RqmiiCloudAvatarPlayer-
|
|
1
|
+
import { A as Wu, f as QE, h as Hm, d as sk, g as kv, j as l3, i as c3, R as ak, c as ok } from "./RqmiiCloudAvatarPlayer-BBA8R0Sl.js";
|
|
2
|
+
import { E as u6 } from "./RqmiiCloudAvatarPlayer-BBA8R0Sl.js";
|
|
3
3
|
import { jsx as re, jsxs as Ut, Fragment as o1 } from "react/jsx-runtime";
|
|
4
4
|
import * as Wn from "react";
|
|
5
5
|
import Il, { useContext as lk, createContext as ck, forwardRef as u3, createElement as Lw, useState as Gt, useRef as En, useEffect as An, useMemo as Ks, useLayoutEffect as ZE, useCallback as km } from "react";
|
|
@@ -6835,8 +6835,8 @@ class Kt {
|
|
|
6835
6835
|
* @return {Matrix4} A reference to this matrix.
|
|
6836
6836
|
*/
|
|
6837
6837
|
multiplyMatrices(e, t) {
|
|
6838
|
-
const i = e.elements, a = t.elements, c = this.elements, d = i[0], f = i[4], m = i[8], g = i[12], v = i[1], M = i[5], x = i[9], S = i[13], w = i[2], k = i[6], C = i[10], T = i[14], D = i[3], z = i[7], L = i[11], O = i[15], U = a[0], H = a[4], I = a[8], F = a[12], V = a[1], q = a[5],
|
|
6839
|
-
return c[0] = d * U + f * V + m * le + g * te, c[4] = d * H + f * q + m * _ + g * ce, c[8] = d * I + f *
|
|
6838
|
+
const i = e.elements, a = t.elements, c = this.elements, d = i[0], f = i[4], m = i[8], g = i[12], v = i[1], M = i[5], x = i[9], S = i[13], w = i[2], k = i[6], C = i[10], T = i[14], D = i[3], z = i[7], L = i[11], O = i[15], U = a[0], H = a[4], I = a[8], F = a[12], V = a[1], q = a[5], Z = a[9], K = a[13], le = a[2], _ = a[6], X = a[10], Q = a[14], te = a[3], ce = a[7], ve = a[11], we = a[15];
|
|
6839
|
+
return c[0] = d * U + f * V + m * le + g * te, c[4] = d * H + f * q + m * _ + g * ce, c[8] = d * I + f * Z + m * X + g * ve, c[12] = d * F + f * K + m * Q + g * we, c[1] = v * U + M * V + x * le + S * te, c[5] = v * H + M * q + x * _ + S * ce, c[9] = v * I + M * Z + x * X + S * ve, c[13] = v * F + M * K + x * Q + S * we, c[2] = w * U + k * V + C * le + T * te, c[6] = w * H + k * q + C * _ + T * ce, c[10] = w * I + k * Z + C * X + T * ve, c[14] = w * F + k * K + C * Q + T * we, c[3] = D * U + z * V + L * le + O * te, c[7] = D * H + z * q + L * _ + O * ce, c[11] = D * I + z * Z + L * X + O * ve, c[15] = D * F + z * K + L * Q + O * we, this;
|
|
6840
6840
|
}
|
|
6841
6841
|
/**
|
|
6842
6842
|
* Multiplies every component of the matrix by the given scalar.
|
|
@@ -6905,10 +6905,10 @@ class Kt {
|
|
|
6905
6905
|
* @return {Matrix4} A reference to this matrix.
|
|
6906
6906
|
*/
|
|
6907
6907
|
invert() {
|
|
6908
|
-
const e = this.elements, t = e[0], i = e[1], a = e[2], c = e[3], d = e[4], f = e[5], m = e[6], g = e[7], v = e[8], M = e[9], x = e[10], S = e[11], w = e[12], k = e[13], C = e[14], T = e[15], D = t * f - i * d, z = t * m - a * d, L = t * g - c * d, O = i * m - a * f, U = i * g - c * f, H = a * g - c * m, I = v * k - M * w, F = v * C - x * w, V = v * T - S * w, q = M * C - x * k,
|
|
6908
|
+
const e = this.elements, t = e[0], i = e[1], a = e[2], c = e[3], d = e[4], f = e[5], m = e[6], g = e[7], v = e[8], M = e[9], x = e[10], S = e[11], w = e[12], k = e[13], C = e[14], T = e[15], D = t * f - i * d, z = t * m - a * d, L = t * g - c * d, O = i * m - a * f, U = i * g - c * f, H = a * g - c * m, I = v * k - M * w, F = v * C - x * w, V = v * T - S * w, q = M * C - x * k, Z = M * T - S * k, K = x * T - S * C, le = D * K - z * Z + L * q + O * V - U * F + H * I;
|
|
6909
6909
|
if (le === 0) return this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
|
6910
6910
|
const _ = 1 / le;
|
|
6911
|
-
return e[0] = (f *
|
|
6911
|
+
return e[0] = (f * K - m * Z + g * q) * _, e[1] = (a * Z - i * K - c * q) * _, e[2] = (k * H - C * U + T * O) * _, e[3] = (x * U - M * H - S * O) * _, e[4] = (m * V - d * K - g * F) * _, e[5] = (t * K - a * V + c * F) * _, e[6] = (C * L - w * H - T * z) * _, e[7] = (v * H - x * L + S * z) * _, e[8] = (d * Z - f * V + g * I) * _, e[9] = (i * V - t * Z - c * I) * _, e[10] = (w * U - k * L + T * D) * _, e[11] = (M * L - v * U - S * D) * _, e[12] = (f * F - d * q - m * I) * _, e[13] = (t * q - i * F + a * I) * _, e[14] = (k * z - w * O - C * D) * _, e[15] = (v * O - M * z + x * D) * _, this;
|
|
6912
6912
|
}
|
|
6913
6913
|
/**
|
|
6914
6914
|
* Multiplies the columns of this matrix by the given vector.
|
|
@@ -10855,12 +10855,12 @@ class sn extends Jo {
|
|
|
10855
10855
|
count: e.count
|
|
10856
10856
|
}]);
|
|
10857
10857
|
for (let I = 0, F = D.length; I < F; ++I) {
|
|
10858
|
-
const V = D[I], q = V.start,
|
|
10859
|
-
for (let
|
|
10858
|
+
const V = D[I], q = V.start, Z = V.count;
|
|
10859
|
+
for (let K = q, le = q + Z; K < le; K += 3)
|
|
10860
10860
|
T(
|
|
10861
|
-
e.getX(
|
|
10862
|
-
e.getX(
|
|
10863
|
-
e.getX(
|
|
10861
|
+
e.getX(K + 0),
|
|
10862
|
+
e.getX(K + 1),
|
|
10863
|
+
e.getX(K + 2)
|
|
10864
10864
|
);
|
|
10865
10865
|
}
|
|
10866
10866
|
const z = new J(), L = new J(), O = new J(), U = new J();
|
|
@@ -10872,9 +10872,9 @@ class sn extends Jo {
|
|
|
10872
10872
|
d.setXYZW(I, z.x, z.y, z.z, q);
|
|
10873
10873
|
}
|
|
10874
10874
|
for (let I = 0, F = D.length; I < F; ++I) {
|
|
10875
|
-
const V = D[I], q = V.start,
|
|
10876
|
-
for (let
|
|
10877
|
-
H(e.getX(
|
|
10875
|
+
const V = D[I], q = V.start, Z = V.count;
|
|
10876
|
+
for (let K = q, le = q + Z; K < le; K += 3)
|
|
10877
|
+
H(e.getX(K + 0)), H(e.getX(K + 1)), H(e.getX(K + 2));
|
|
10878
10878
|
}
|
|
10879
10879
|
this._transformed = !0;
|
|
10880
10880
|
}
|
|
@@ -14346,13 +14346,13 @@ class Kf extends sn {
|
|
|
14346
14346
|
let x = 0, S = 0;
|
|
14347
14347
|
w("z", "y", "x", -1, -1, i, t, e, d, c, 0), w("z", "y", "x", 1, -1, i, t, -e, d, c, 1), w("x", "z", "y", 1, 1, e, i, t, a, d, 2), w("x", "z", "y", 1, -1, e, i, -t, a, d, 3), w("x", "y", "z", 1, -1, e, t, i, a, c, 4), w("x", "y", "z", -1, -1, e, t, -i, a, c, 5), this.setIndex(m), this.setAttribute("position", new Mt(g, 3)), this.setAttribute("normal", new Mt(v, 3)), this.setAttribute("uv", new Mt(M, 2));
|
|
14348
14348
|
function w(k, C, T, D, z, L, O, U, H, I, F) {
|
|
14349
|
-
const V = L / H, q = O / I,
|
|
14349
|
+
const V = L / H, q = O / I, Z = L / 2, K = O / 2, le = U / 2, _ = H + 1, X = I + 1;
|
|
14350
14350
|
let Q = 0, te = 0;
|
|
14351
14351
|
const ce = new J();
|
|
14352
14352
|
for (let ve = 0; ve < X; ve++) {
|
|
14353
|
-
const we = ve * q -
|
|
14353
|
+
const we = ve * q - K;
|
|
14354
14354
|
for (let Ue = 0; Ue < _; Ue++) {
|
|
14355
|
-
const dt = Ue * V -
|
|
14355
|
+
const dt = Ue * V - Z;
|
|
14356
14356
|
ce[k] = dt * D, ce[C] = we * z, ce[T] = le, g.push(ce.x, ce.y, ce.z), ce[k] = 0, ce[C] = 0, ce[T] = U > 0 ? 1 : -1, v.push(ce.x, ce.y, ce.z), M.push(Ue / H), M.push(1 - ve / I), Q += 1;
|
|
14357
14357
|
}
|
|
14358
14358
|
}
|
|
@@ -14413,18 +14413,18 @@ class Kx extends sn {
|
|
|
14413
14413
|
let I = 0;
|
|
14414
14414
|
D === 0 ? I = 0.5 / a : D === w && (I = -0.5 / a);
|
|
14415
14415
|
for (let F = 0; F <= a; F++) {
|
|
14416
|
-
const V = F / a, q = V * Math.PI * 2,
|
|
14417
|
-
T.x = -O *
|
|
14418
|
-
-O *
|
|
14416
|
+
const V = F / a, q = V * Math.PI * 2, Z = Math.sin(q), K = Math.cos(q);
|
|
14417
|
+
T.x = -O * K, T.y = L, T.z = O * Z, f.push(T.x, T.y, T.z), C.set(
|
|
14418
|
+
-O * K,
|
|
14419
14419
|
U,
|
|
14420
|
-
O *
|
|
14420
|
+
O * Z
|
|
14421
14421
|
), C.normalize(), m.push(C.x, C.y, C.z), g.push(V + I, H);
|
|
14422
14422
|
}
|
|
14423
14423
|
if (D > 0) {
|
|
14424
14424
|
const F = (D - 1) * k;
|
|
14425
14425
|
for (let V = 0; V < a; V++) {
|
|
14426
|
-
const q = F + V,
|
|
14427
|
-
d.push(q,
|
|
14426
|
+
const q = F + V, Z = F + V + 1, K = D * k + V, le = D * k + V + 1;
|
|
14427
|
+
d.push(q, Z, K), d.push(Z, le, K);
|
|
14428
14428
|
}
|
|
14429
14429
|
}
|
|
14430
14430
|
}
|
|
@@ -14523,16 +14523,16 @@ class zv extends sn {
|
|
|
14523
14523
|
const H = (t - e) / i;
|
|
14524
14524
|
for (let I = 0; I <= c; I++) {
|
|
14525
14525
|
const F = [], V = I / c, q = V * (t - e) + e;
|
|
14526
|
-
for (let
|
|
14527
|
-
const
|
|
14528
|
-
O.x = q * _, O.y = -V * i + C, O.z = q * X, M.push(O.x, O.y, O.z), L.set(_, H, X).normalize(), x.push(L.x, L.y, L.z), S.push(
|
|
14526
|
+
for (let Z = 0; Z <= a; Z++) {
|
|
14527
|
+
const K = Z / a, le = K * m + f, _ = Math.sin(le), X = Math.cos(le);
|
|
14528
|
+
O.x = q * _, O.y = -V * i + C, O.z = q * X, M.push(O.x, O.y, O.z), L.set(_, H, X).normalize(), x.push(L.x, L.y, L.z), S.push(K, 1 - V), F.push(w++);
|
|
14529
14529
|
}
|
|
14530
14530
|
k.push(F);
|
|
14531
14531
|
}
|
|
14532
14532
|
for (let I = 0; I < a; I++)
|
|
14533
14533
|
for (let F = 0; F < c; F++) {
|
|
14534
|
-
const V = k[F][I], q = k[F + 1][I],
|
|
14535
|
-
(e > 0 || F !== 0) && (v.push(V, q,
|
|
14534
|
+
const V = k[F][I], q = k[F + 1][I], Z = k[F + 1][I + 1], K = k[F][I + 1];
|
|
14535
|
+
(e > 0 || F !== 0) && (v.push(V, q, K), U += 3), (t > 0 || F !== c - 1) && (v.push(q, Z, K), U += 3);
|
|
14536
14536
|
}
|
|
14537
14537
|
g.addGroup(T, U, 0), T += U;
|
|
14538
14538
|
}
|
|
@@ -14540,16 +14540,16 @@ class zv extends sn {
|
|
|
14540
14540
|
const O = w, U = new Fe(), H = new J();
|
|
14541
14541
|
let I = 0;
|
|
14542
14542
|
const F = L === !0 ? e : t, V = L === !0 ? 1 : -1;
|
|
14543
|
-
for (let
|
|
14543
|
+
for (let Z = 1; Z <= a; Z++)
|
|
14544
14544
|
M.push(0, C * V, 0), x.push(0, V, 0), S.push(0.5, 0.5), w++;
|
|
14545
14545
|
const q = w;
|
|
14546
|
-
for (let
|
|
14547
|
-
const le =
|
|
14546
|
+
for (let Z = 0; Z <= a; Z++) {
|
|
14547
|
+
const le = Z / a * m + f, _ = Math.cos(le), X = Math.sin(le);
|
|
14548
14548
|
H.x = F * X, H.y = C * V, H.z = F * _, M.push(H.x, H.y, H.z), x.push(0, V, 0), U.x = _ * 0.5 + 0.5, U.y = X * 0.5 * V + 0.5, S.push(U.x, U.y), w++;
|
|
14549
14549
|
}
|
|
14550
|
-
for (let
|
|
14551
|
-
const
|
|
14552
|
-
L === !0 ? v.push(le, le + 1,
|
|
14550
|
+
for (let Z = 0; Z < a; Z++) {
|
|
14551
|
+
const K = O + Z, le = q + Z;
|
|
14552
|
+
L === !0 ? v.push(le, le + 1, K) : v.push(le + 1, le, K), I += 3;
|
|
14553
14553
|
}
|
|
14554
14554
|
g.addGroup(T, I, L === !0 ? 1 : 2), T += I;
|
|
14555
14555
|
}
|
|
@@ -14631,8 +14631,8 @@ class id extends sn {
|
|
|
14631
14631
|
for (let I = 0; I <= U; I++) {
|
|
14632
14632
|
H[I] = [];
|
|
14633
14633
|
const F = D.clone().lerp(L, I / U), V = z.clone().lerp(L, I / U), q = U - I;
|
|
14634
|
-
for (let
|
|
14635
|
-
|
|
14634
|
+
for (let Z = 0; Z <= q; Z++)
|
|
14635
|
+
Z === 0 && I === U ? H[I][Z] = F : H[I][Z] = F.clone().lerp(V, Z / q);
|
|
14636
14636
|
}
|
|
14637
14637
|
for (let I = 0; I < U; I++)
|
|
14638
14638
|
for (let F = 0; F < 2 * (U - I) - 1; F++) {
|
|
@@ -16387,12 +16387,12 @@ class tS extends sn {
|
|
|
16387
16387
|
const q = F.holes;
|
|
16388
16388
|
if (!qo.isClockWise(V)) {
|
|
16389
16389
|
V = V.reverse();
|
|
16390
|
-
for (let Be = 0,
|
|
16390
|
+
for (let Be = 0, ye = q.length; Be < ye; Be++) {
|
|
16391
16391
|
const Ne = q[Be];
|
|
16392
16392
|
qo.isClockWise(Ne) && (q[Be] = Ne.reverse());
|
|
16393
16393
|
}
|
|
16394
16394
|
}
|
|
16395
|
-
function
|
|
16395
|
+
function K(Be) {
|
|
16396
16396
|
const Ne = 10000000000000001e-36;
|
|
16397
16397
|
let We = Be[0];
|
|
16398
16398
|
for (let Qe = 1; Qe <= Be.length; Qe++) {
|
|
@@ -16409,21 +16409,21 @@ class tS extends sn {
|
|
|
16409
16409
|
We = yt;
|
|
16410
16410
|
}
|
|
16411
16411
|
}
|
|
16412
|
-
|
|
16412
|
+
K(V), q.forEach(K);
|
|
16413
16413
|
const le = q.length, _ = V;
|
|
16414
16414
|
for (let Be = 0; Be < le; Be++) {
|
|
16415
|
-
const
|
|
16416
|
-
V = V.concat(
|
|
16415
|
+
const ye = q[Be];
|
|
16416
|
+
V = V.concat(ye);
|
|
16417
16417
|
}
|
|
16418
|
-
function X(Be,
|
|
16419
|
-
return
|
|
16418
|
+
function X(Be, ye, Ne) {
|
|
16419
|
+
return ye || Pt("ExtrudeGeometry: vec does not exist"), Be.clone().addScaledVector(ye, Ne);
|
|
16420
16420
|
}
|
|
16421
16421
|
const Q = V.length;
|
|
16422
|
-
function te(Be,
|
|
16422
|
+
function te(Be, ye, Ne) {
|
|
16423
16423
|
let We, Qe, Rt;
|
|
16424
|
-
const yt = Be.x -
|
|
16424
|
+
const yt = Be.x - ye.x, Nt = Be.y - ye.y, Tt = Ne.x - Be.x, $ = Ne.y - Be.y, kn = yt * yt + Nt * Nt, on = yt * $ - Nt * Tt;
|
|
16425
16425
|
if (Math.abs(on) > Number.EPSILON) {
|
|
16426
|
-
const j = Math.sqrt(kn), B = Math.sqrt(Tt * Tt + $ * $), de =
|
|
16426
|
+
const j = Math.sqrt(kn), B = Math.sqrt(Tt * Tt + $ * $), de = ye.x - Nt / j, pe = ye.y + yt / j, Ee = Ne.x - $ / B, Je = Ne.y + Tt / B, Ze = ((Ee - de) * $ - (Je - pe) * Tt) / (yt * $ - Nt * Tt);
|
|
16427
16427
|
We = de + yt * Ze - Be.x, Qe = pe + Nt * Ze - Be.y;
|
|
16428
16428
|
const Pe = We * We + Qe * Qe;
|
|
16429
16429
|
if (Pe <= 2)
|
|
@@ -16436,11 +16436,11 @@ class tS extends sn {
|
|
|
16436
16436
|
return new Fe(We / Rt, Qe / Rt);
|
|
16437
16437
|
}
|
|
16438
16438
|
const ce = [];
|
|
16439
|
-
for (let Be = 0,
|
|
16440
|
-
Ne ===
|
|
16439
|
+
for (let Be = 0, ye = _.length, Ne = ye - 1, We = Be + 1; Be < ye; Be++, Ne++, We++)
|
|
16440
|
+
Ne === ye && (Ne = 0), We === ye && (We = 0), ce[Be] = te(_[Be], _[Ne], _[We]);
|
|
16441
16441
|
const ve = [];
|
|
16442
16442
|
let we, Ue = ce.concat();
|
|
16443
|
-
for (let Be = 0,
|
|
16443
|
+
for (let Be = 0, ye = le; Be < ye; Be++) {
|
|
16444
16444
|
const Ne = q[Be];
|
|
16445
16445
|
we = [];
|
|
16446
16446
|
for (let We = 0, Qe = Ne.length, Rt = Qe - 1, yt = We + 1; We < Qe; We++, Rt++, yt++)
|
|
@@ -16451,7 +16451,7 @@ class tS extends sn {
|
|
|
16451
16451
|
if (C === 0)
|
|
16452
16452
|
dt = qo.triangulateShape(_, q);
|
|
16453
16453
|
else {
|
|
16454
|
-
const Be = [],
|
|
16454
|
+
const Be = [], ye = [];
|
|
16455
16455
|
for (let Ne = 0; Ne < C; Ne++) {
|
|
16456
16456
|
const We = Ne / C, Qe = S * Math.cos(We * Math.PI / 2), Rt = w * Math.sin(We * Math.PI / 2) + k;
|
|
16457
16457
|
for (let yt = 0, Nt = _.length; yt < Nt; yt++) {
|
|
@@ -16466,23 +16466,23 @@ class tS extends sn {
|
|
|
16466
16466
|
const j = X(Tt[kn], we[kn], Rt);
|
|
16467
16467
|
ht(j.x, j.y, -Qe), We === 0 && $.push(j);
|
|
16468
16468
|
}
|
|
16469
|
-
We === 0 &&
|
|
16469
|
+
We === 0 && ye.push($);
|
|
16470
16470
|
}
|
|
16471
16471
|
}
|
|
16472
|
-
dt = qo.triangulateShape(Be,
|
|
16472
|
+
dt = qo.triangulateShape(Be, ye);
|
|
16473
16473
|
}
|
|
16474
16474
|
const ot = dt.length, lt = w + k;
|
|
16475
16475
|
for (let Be = 0; Be < Q; Be++) {
|
|
16476
|
-
const
|
|
16477
|
-
L ? (H.copy(O.normals[0]).multiplyScalar(
|
|
16476
|
+
const ye = x ? X(V[Be], Ue[Be], lt) : V[Be];
|
|
16477
|
+
L ? (H.copy(O.normals[0]).multiplyScalar(ye.x), U.copy(O.binormals[0]).multiplyScalar(ye.y), I.copy(z[0]).add(H).add(U), ht(I.x, I.y, I.z)) : ht(ye.x, ye.y, 0);
|
|
16478
16478
|
}
|
|
16479
16479
|
for (let Be = 1; Be <= v; Be++)
|
|
16480
|
-
for (let
|
|
16481
|
-
const Ne = x ? X(V[
|
|
16480
|
+
for (let ye = 0; ye < Q; ye++) {
|
|
16481
|
+
const Ne = x ? X(V[ye], Ue[ye], lt) : V[ye];
|
|
16482
16482
|
L ? (H.copy(O.normals[Be]).multiplyScalar(Ne.x), U.copy(O.binormals[Be]).multiplyScalar(Ne.y), I.copy(z[Be]).add(H).add(U), ht(I.x, I.y, I.z)) : ht(Ne.x, Ne.y, M / v * Be);
|
|
16483
16483
|
}
|
|
16484
16484
|
for (let Be = C - 1; Be >= 0; Be--) {
|
|
16485
|
-
const
|
|
16485
|
+
const ye = Be / C, Ne = S * Math.cos(ye * Math.PI / 2), We = w * Math.sin(ye * Math.PI / 2) + k;
|
|
16486
16486
|
for (let Qe = 0, Rt = _.length; Qe < Rt; Qe++) {
|
|
16487
16487
|
const yt = X(_[Qe], ce[Qe], We);
|
|
16488
16488
|
ht(yt.x, yt.y, M + Ne);
|
|
@@ -16500,23 +16500,23 @@ class tS extends sn {
|
|
|
16500
16500
|
function Re() {
|
|
16501
16501
|
const Be = a.length / 3;
|
|
16502
16502
|
if (x) {
|
|
16503
|
-
let
|
|
16503
|
+
let ye = 0, Ne = Q * ye;
|
|
16504
16504
|
for (let We = 0; We < ot; We++) {
|
|
16505
16505
|
const Qe = dt[We];
|
|
16506
16506
|
It(Qe[2] + Ne, Qe[1] + Ne, Qe[0] + Ne);
|
|
16507
16507
|
}
|
|
16508
|
-
|
|
16508
|
+
ye = v + C * 2, Ne = Q * ye;
|
|
16509
16509
|
for (let We = 0; We < ot; We++) {
|
|
16510
16510
|
const Qe = dt[We];
|
|
16511
16511
|
It(Qe[0] + Ne, Qe[1] + Ne, Qe[2] + Ne);
|
|
16512
16512
|
}
|
|
16513
16513
|
} else {
|
|
16514
|
-
for (let
|
|
16515
|
-
const Ne = dt[
|
|
16514
|
+
for (let ye = 0; ye < ot; ye++) {
|
|
16515
|
+
const Ne = dt[ye];
|
|
16516
16516
|
It(Ne[2], Ne[1], Ne[0]);
|
|
16517
16517
|
}
|
|
16518
|
-
for (let
|
|
16519
|
-
const Ne = dt[
|
|
16518
|
+
for (let ye = 0; ye < ot; ye++) {
|
|
16519
|
+
const Ne = dt[ye];
|
|
16520
16520
|
It(Ne[0] + Q * v, Ne[1] + Q * v, Ne[2] + Q * v);
|
|
16521
16521
|
}
|
|
16522
16522
|
}
|
|
@@ -16524,36 +16524,36 @@ class tS extends sn {
|
|
|
16524
16524
|
}
|
|
16525
16525
|
function qe() {
|
|
16526
16526
|
const Be = a.length / 3;
|
|
16527
|
-
let
|
|
16528
|
-
Ve(_,
|
|
16527
|
+
let ye = 0;
|
|
16528
|
+
Ve(_, ye), ye += _.length;
|
|
16529
16529
|
for (let Ne = 0, We = q.length; Ne < We; Ne++) {
|
|
16530
16530
|
const Qe = q[Ne];
|
|
16531
|
-
Ve(Qe,
|
|
16531
|
+
Ve(Qe, ye), ye += Qe.length;
|
|
16532
16532
|
}
|
|
16533
16533
|
i.addGroup(Be, a.length / 3 - Be, 1);
|
|
16534
16534
|
}
|
|
16535
|
-
function Ve(Be,
|
|
16535
|
+
function Ve(Be, ye) {
|
|
16536
16536
|
let Ne = Be.length;
|
|
16537
16537
|
for (; --Ne >= 0; ) {
|
|
16538
16538
|
const We = Ne;
|
|
16539
16539
|
let Qe = Ne - 1;
|
|
16540
16540
|
Qe < 0 && (Qe = Be.length - 1);
|
|
16541
16541
|
for (let Rt = 0, yt = v + C * 2; Rt < yt; Rt++) {
|
|
16542
|
-
const Nt = Q * Rt, Tt = Q * (Rt + 1), $ =
|
|
16542
|
+
const Nt = Q * Rt, Tt = Q * (Rt + 1), $ = ye + We + Nt, kn = ye + Qe + Nt, on = ye + Qe + Tt, j = ye + We + Tt;
|
|
16543
16543
|
tt($, kn, on, j);
|
|
16544
16544
|
}
|
|
16545
16545
|
}
|
|
16546
16546
|
}
|
|
16547
|
-
function ht(Be,
|
|
16548
|
-
m.push(Be), m.push(
|
|
16547
|
+
function ht(Be, ye, Ne) {
|
|
16548
|
+
m.push(Be), m.push(ye), m.push(Ne);
|
|
16549
16549
|
}
|
|
16550
|
-
function It(Be,
|
|
16551
|
-
an(Be), an(
|
|
16550
|
+
function It(Be, ye, Ne) {
|
|
16551
|
+
an(Be), an(ye), an(Ne);
|
|
16552
16552
|
const We = a.length / 3, Qe = D.generateTopUV(i, a, We - 3, We - 2, We - 1);
|
|
16553
16553
|
kt(Qe[0]), kt(Qe[1]), kt(Qe[2]);
|
|
16554
16554
|
}
|
|
16555
|
-
function tt(Be,
|
|
16556
|
-
an(Be), an(
|
|
16555
|
+
function tt(Be, ye, Ne, We) {
|
|
16556
|
+
an(Be), an(ye), an(We), an(ye), an(Ne), an(We);
|
|
16557
16557
|
const Qe = a.length / 3, Rt = D.generateSideWallUV(i, a, Qe - 6, Qe - 3, Qe - 2, Qe - 1);
|
|
16558
16558
|
kt(Rt[0]), kt(Rt[1]), kt(Rt[3]), kt(Rt[1]), kt(Rt[2]), kt(Rt[3]);
|
|
16559
16559
|
}
|
|
@@ -18259,16 +18259,16 @@ class zR extends qm {
|
|
|
18259
18259
|
const x = f * 2, S = e - 1;
|
|
18260
18260
|
for (let w = 0; w !== f; ++w) {
|
|
18261
18261
|
const k = d[g + w], C = d[m + w], T = S * x + w * 2, D = M[T], z = M[T + 1], L = e * x + w * 2, O = v[L], U = v[L + 1];
|
|
18262
|
-
let H = (i - t) / (a - t), I, F, V, q,
|
|
18263
|
-
for (let
|
|
18264
|
-
I = H * H, F = I * H, V = 1 - H, q = V * V,
|
|
18265
|
-
const _ =
|
|
18262
|
+
let H = (i - t) / (a - t), I, F, V, q, Z;
|
|
18263
|
+
for (let K = 0; K < 8; K++) {
|
|
18264
|
+
I = H * H, F = I * H, V = 1 - H, q = V * V, Z = q * V;
|
|
18265
|
+
const _ = Z * t + 3 * q * H * D + 3 * V * I * O + F * a - i;
|
|
18266
18266
|
if (Math.abs(_) < 1e-10) break;
|
|
18267
18267
|
const X = 3 * q * (D - t) + 6 * V * H * (O - D) + 3 * I * (a - O);
|
|
18268
18268
|
if (Math.abs(X) < 1e-10) break;
|
|
18269
18269
|
H = H - _ / X, H = Math.max(0, Math.min(1, H));
|
|
18270
18270
|
}
|
|
18271
|
-
c[w] =
|
|
18271
|
+
c[w] = Z * k + 3 * q * H * z + 3 * V * I * U + F * C;
|
|
18272
18272
|
}
|
|
18273
18273
|
return c;
|
|
18274
18274
|
}
|
|
@@ -29523,10 +29523,10 @@ function PF(s, e, t, i, a, c) {
|
|
|
29523
29523
|
function kF(s, e) {
|
|
29524
29524
|
const t = s.getParameter(s.MAX_VERTEX_ATTRIBS), i = {}, a = x(null);
|
|
29525
29525
|
let c = a, d = !1;
|
|
29526
|
-
function f(q,
|
|
29526
|
+
function f(q, Z, K, le, _) {
|
|
29527
29527
|
let X = !1;
|
|
29528
|
-
const Q = M(q, le,
|
|
29529
|
-
c !== Q && (c = Q, g(c.object)), X = S(q, le,
|
|
29528
|
+
const Q = M(q, le, K, Z);
|
|
29529
|
+
c !== Q && (c = Q, g(c.object)), X = S(q, le, K, _), X && w(q, le, K, _), _ !== null && e.update(_, s.ELEMENT_ARRAY_BUFFER), (X || d) && (d = !1, L(q, Z, K, le), _ !== null && s.bindBuffer(s.ELEMENT_ARRAY_BUFFER, e.get(_).buffer));
|
|
29530
29530
|
}
|
|
29531
29531
|
function m() {
|
|
29532
29532
|
return s.createVertexArray();
|
|
@@ -29537,39 +29537,39 @@ function kF(s, e) {
|
|
|
29537
29537
|
function v(q) {
|
|
29538
29538
|
return s.deleteVertexArray(q);
|
|
29539
29539
|
}
|
|
29540
|
-
function M(q,
|
|
29540
|
+
function M(q, Z, K, le) {
|
|
29541
29541
|
const _ = le.wireframe === !0;
|
|
29542
|
-
let X = i[
|
|
29543
|
-
X === void 0 && (X = {}, i[
|
|
29542
|
+
let X = i[Z.id];
|
|
29543
|
+
X === void 0 && (X = {}, i[Z.id] = X);
|
|
29544
29544
|
const Q = q.isInstancedMesh === !0 ? q.id : 0;
|
|
29545
29545
|
let te = X[Q];
|
|
29546
29546
|
te === void 0 && (te = {}, X[Q] = te);
|
|
29547
|
-
let ce = te[
|
|
29548
|
-
ce === void 0 && (ce = {}, te[
|
|
29547
|
+
let ce = te[K.id];
|
|
29548
|
+
ce === void 0 && (ce = {}, te[K.id] = ce);
|
|
29549
29549
|
let ve = ce[_];
|
|
29550
29550
|
return ve === void 0 && (ve = x(m()), ce[_] = ve), ve;
|
|
29551
29551
|
}
|
|
29552
29552
|
function x(q) {
|
|
29553
|
-
const
|
|
29553
|
+
const Z = [], K = [], le = [];
|
|
29554
29554
|
for (let _ = 0; _ < t; _++)
|
|
29555
|
-
|
|
29555
|
+
Z[_] = 0, K[_] = 0, le[_] = 0;
|
|
29556
29556
|
return {
|
|
29557
29557
|
// for backward compatibility on non-VAO support browser
|
|
29558
29558
|
geometry: null,
|
|
29559
29559
|
program: null,
|
|
29560
29560
|
wireframe: !1,
|
|
29561
|
-
newAttributes:
|
|
29562
|
-
enabledAttributes:
|
|
29561
|
+
newAttributes: Z,
|
|
29562
|
+
enabledAttributes: K,
|
|
29563
29563
|
attributeDivisors: le,
|
|
29564
29564
|
object: q,
|
|
29565
29565
|
attributes: {},
|
|
29566
29566
|
index: null
|
|
29567
29567
|
};
|
|
29568
29568
|
}
|
|
29569
|
-
function S(q,
|
|
29570
|
-
const _ = c.attributes, X =
|
|
29569
|
+
function S(q, Z, K, le) {
|
|
29570
|
+
const _ = c.attributes, X = Z.attributes;
|
|
29571
29571
|
let Q = 0;
|
|
29572
|
-
const te =
|
|
29572
|
+
const te = K.getAttributes();
|
|
29573
29573
|
for (const ce in te)
|
|
29574
29574
|
if (te[ce].location >= 0) {
|
|
29575
29575
|
const we = _[ce];
|
|
@@ -29579,10 +29579,10 @@ function kF(s, e) {
|
|
|
29579
29579
|
}
|
|
29580
29580
|
return c.attributesNum !== Q || c.index !== le;
|
|
29581
29581
|
}
|
|
29582
|
-
function w(q,
|
|
29583
|
-
const _ = {}, X =
|
|
29582
|
+
function w(q, Z, K, le) {
|
|
29583
|
+
const _ = {}, X = Z.attributes;
|
|
29584
29584
|
let Q = 0;
|
|
29585
|
-
const te =
|
|
29585
|
+
const te = K.getAttributes();
|
|
29586
29586
|
for (const ce in te)
|
|
29587
29587
|
if (te[ce].location >= 0) {
|
|
29588
29588
|
let we = X[ce];
|
|
@@ -29594,27 +29594,27 @@ function kF(s, e) {
|
|
|
29594
29594
|
}
|
|
29595
29595
|
function k() {
|
|
29596
29596
|
const q = c.newAttributes;
|
|
29597
|
-
for (let
|
|
29598
|
-
q[
|
|
29597
|
+
for (let Z = 0, K = q.length; Z < K; Z++)
|
|
29598
|
+
q[Z] = 0;
|
|
29599
29599
|
}
|
|
29600
29600
|
function C(q) {
|
|
29601
29601
|
T(q, 0);
|
|
29602
29602
|
}
|
|
29603
|
-
function T(q,
|
|
29604
|
-
const
|
|
29605
|
-
|
|
29603
|
+
function T(q, Z) {
|
|
29604
|
+
const K = c.newAttributes, le = c.enabledAttributes, _ = c.attributeDivisors;
|
|
29605
|
+
K[q] = 1, le[q] === 0 && (s.enableVertexAttribArray(q), le[q] = 1), _[q] !== Z && (s.vertexAttribDivisor(q, Z), _[q] = Z);
|
|
29606
29606
|
}
|
|
29607
29607
|
function D() {
|
|
29608
|
-
const q = c.newAttributes,
|
|
29609
|
-
for (let
|
|
29610
|
-
K
|
|
29608
|
+
const q = c.newAttributes, Z = c.enabledAttributes;
|
|
29609
|
+
for (let K = 0, le = Z.length; K < le; K++)
|
|
29610
|
+
Z[K] !== q[K] && (s.disableVertexAttribArray(K), Z[K] = 0);
|
|
29611
29611
|
}
|
|
29612
|
-
function z(q,
|
|
29613
|
-
Q === !0 ? s.vertexAttribIPointer(q,
|
|
29612
|
+
function z(q, Z, K, le, _, X, Q) {
|
|
29613
|
+
Q === !0 ? s.vertexAttribIPointer(q, Z, K, _, X) : s.vertexAttribPointer(q, Z, K, le, _, X);
|
|
29614
29614
|
}
|
|
29615
|
-
function L(q,
|
|
29615
|
+
function L(q, Z, K, le) {
|
|
29616
29616
|
k();
|
|
29617
|
-
const _ = le.attributes, X =
|
|
29617
|
+
const _ = le.attributes, X = K.getAttributes(), Q = Z.defaultAttributeValues;
|
|
29618
29618
|
for (const te in X) {
|
|
29619
29619
|
const ce = X[te];
|
|
29620
29620
|
if (ce.location >= 0) {
|
|
@@ -29687,9 +29687,9 @@ function kF(s, e) {
|
|
|
29687
29687
|
function O() {
|
|
29688
29688
|
F();
|
|
29689
29689
|
for (const q in i) {
|
|
29690
|
-
const
|
|
29691
|
-
for (const
|
|
29692
|
-
const le = K
|
|
29690
|
+
const Z = i[q];
|
|
29691
|
+
for (const K in Z) {
|
|
29692
|
+
const le = Z[K];
|
|
29693
29693
|
for (const _ in le) {
|
|
29694
29694
|
const X = le[_];
|
|
29695
29695
|
for (const Q in X)
|
|
@@ -29702,9 +29702,9 @@ function kF(s, e) {
|
|
|
29702
29702
|
}
|
|
29703
29703
|
function U(q) {
|
|
29704
29704
|
if (i[q.id] === void 0) return;
|
|
29705
|
-
const
|
|
29706
|
-
for (const
|
|
29707
|
-
const le = K
|
|
29705
|
+
const Z = i[q.id];
|
|
29706
|
+
for (const K in Z) {
|
|
29707
|
+
const le = Z[K];
|
|
29708
29708
|
for (const _ in le) {
|
|
29709
29709
|
const X = le[_];
|
|
29710
29710
|
for (const Q in X)
|
|
@@ -29715,10 +29715,10 @@ function kF(s, e) {
|
|
|
29715
29715
|
delete i[q.id];
|
|
29716
29716
|
}
|
|
29717
29717
|
function H(q) {
|
|
29718
|
-
for (const
|
|
29719
|
-
const
|
|
29720
|
-
for (const le in
|
|
29721
|
-
const _ =
|
|
29718
|
+
for (const Z in i) {
|
|
29719
|
+
const K = i[Z];
|
|
29720
|
+
for (const le in K) {
|
|
29721
|
+
const _ = K[le];
|
|
29722
29722
|
if (_[q.id] === void 0) continue;
|
|
29723
29723
|
const X = _[q.id];
|
|
29724
29724
|
for (const Q in X)
|
|
@@ -29728,8 +29728,8 @@ function kF(s, e) {
|
|
|
29728
29728
|
}
|
|
29729
29729
|
}
|
|
29730
29730
|
function I(q) {
|
|
29731
|
-
for (const
|
|
29732
|
-
const
|
|
29731
|
+
for (const Z in i) {
|
|
29732
|
+
const K = i[Z], le = q.isInstancedMesh === !0 ? q.id : 0, _ = K[le];
|
|
29733
29733
|
if (_ !== void 0) {
|
|
29734
29734
|
for (const X in _) {
|
|
29735
29735
|
const Q = _[X];
|
|
@@ -29737,7 +29737,7 @@ function kF(s, e) {
|
|
|
29737
29737
|
v(Q[te].object), delete Q[te];
|
|
29738
29738
|
delete _[X];
|
|
29739
29739
|
}
|
|
29740
|
-
delete
|
|
29740
|
+
delete K[le], Object.keys(K).length === 0 && delete i[Z];
|
|
29741
29741
|
}
|
|
29742
29742
|
}
|
|
29743
29743
|
}
|
|
@@ -30850,10 +30850,10 @@ function XF(s, e, t) {
|
|
|
30850
30850
|
H.type = Es, H.needsUpdate = !0;
|
|
30851
30851
|
const I = z * 4;
|
|
30852
30852
|
for (let V = 0; V < M; V++) {
|
|
30853
|
-
const q = C[V],
|
|
30853
|
+
const q = C[V], Z = T[V], K = D[V], le = L * O * 4 * V;
|
|
30854
30854
|
for (let _ = 0; _ < q.count; _++) {
|
|
30855
30855
|
const X = _ * I;
|
|
30856
|
-
S === !0 && (a.fromBufferAttribute(q, _), U[le + X + 0] = a.x, U[le + X + 1] = a.y, U[le + X + 2] = a.z, U[le + X + 3] = 0), w === !0 && (a.fromBufferAttribute(
|
|
30856
|
+
S === !0 && (a.fromBufferAttribute(q, _), U[le + X + 0] = a.x, U[le + X + 1] = a.y, U[le + X + 2] = a.z, U[le + X + 3] = 0), w === !0 && (a.fromBufferAttribute(Z, _), U[le + X + 4] = a.x, U[le + X + 5] = a.y, U[le + X + 6] = a.z, U[le + X + 7] = 0), k === !0 && (a.fromBufferAttribute(K, _), U[le + X + 8] = a.x, U[le + X + 9] = a.y, U[le + X + 10] = a.z, U[le + X + 11] = K.itemSize === 4 ? a.w : 1);
|
|
30857
30857
|
}
|
|
30858
30858
|
}
|
|
30859
30859
|
x = {
|
|
@@ -31992,7 +31992,7 @@ function c4(s, e, t, i) {
|
|
|
31992
31992
|
a.attachShader(k, O), a.attachShader(k, U), t.index0AttributeName !== void 0 ? a.bindAttribLocation(k, 0, t.index0AttributeName) : t.hasPositionAttribute === !0 && a.bindAttribLocation(k, 0, "position"), a.linkProgram(k);
|
|
31993
31993
|
function H(q) {
|
|
31994
31994
|
if (s.debug.checkShaderErrors) {
|
|
31995
|
-
const
|
|
31995
|
+
const Z = a.getProgramInfoLog(k) || "", K = a.getShaderInfoLog(O) || "", le = a.getShaderInfoLog(U) || "", _ = Z.trim(), X = K.trim(), Q = le.trim();
|
|
31996
31996
|
let te = !0, ce = !0;
|
|
31997
31997
|
if (a.getProgramParameter(k, a.LINK_STATUS) === !1)
|
|
31998
31998
|
if (te = !1, typeof s.debug.onShaderError == "function")
|
|
@@ -32107,8 +32107,8 @@ function p4(s, e, t, i, a, c) {
|
|
|
32107
32107
|
function w(I) {
|
|
32108
32108
|
return m.add(I), I === 0 ? "uv" : `uv${I}`;
|
|
32109
32109
|
}
|
|
32110
|
-
function k(I, F, V, q,
|
|
32111
|
-
const le = q.fog, _ =
|
|
32110
|
+
function k(I, F, V, q, Z, K) {
|
|
32111
|
+
const le = q.fog, _ = Z.geometry, X = I.isMeshStandardMaterial || I.isMeshLambertMaterial || I.isMeshPhongMaterial ? q.environment : null, Q = I.isMeshStandardMaterial || I.isMeshLambertMaterial && !I.envMap || I.isMeshPhongMaterial && !I.envMap, te = e.get(I.envMap || X, Q), ce = te && te.mapping === Gm ? te.image.height : null, ve = S[I.type];
|
|
32112
32112
|
I.precision !== null && (x = i.getMaxPrecision(I.precision), x !== I.precision && at("WebGLProgram.getParameters:", I.precision, "not supported, using", x, "instead."));
|
|
32113
32113
|
const we = _.morphAttributes.position || _.morphAttributes.normal || _.morphAttributes.color, Ue = we !== void 0 ? we.length : 0;
|
|
32114
32114
|
let dt = 0;
|
|
@@ -32122,7 +32122,7 @@ function p4(s, e, t, i, a, c) {
|
|
|
32122
32122
|
const mt = f.getVertexShaderStage(I), xn = f.getFragmentShaderStage(I);
|
|
32123
32123
|
f.update(I, mt, xn), Re = mt.id, qe = xn.id;
|
|
32124
32124
|
}
|
|
32125
|
-
const Ve = s.getRenderTarget(), ht = s.state.buffers.depth.getReversed(), It =
|
|
32125
|
+
const Ve = s.getRenderTarget(), ht = s.state.buffers.depth.getReversed(), It = Z.isInstancedMesh === !0, tt = Z.isBatchedMesh === !0, an = !!I.map, kt = !!I.matcap, Be = !!te, ye = !!I.aoMap, Ne = !!I.lightMap, We = !!I.bumpMap && I.wireframe === !1, Qe = !!I.normalMap, Rt = !!I.displacementMap, yt = !!I.emissiveMap, Nt = !!I.metalnessMap, Tt = !!I.roughnessMap, $ = I.anisotropy > 0, kn = I.clearcoat > 0, on = I.dispersion > 0, j = I.iridescence > 0, B = I.sheen > 0, de = I.transmission > 0, pe = $ && !!I.anisotropyMap, Ee = kn && !!I.clearcoatMap, Je = kn && !!I.clearcoatNormalMap, Ze = kn && !!I.clearcoatRoughnessMap, Pe = j && !!I.iridescenceMap, ke = j && !!I.iridescenceThicknessMap, $e = B && !!I.sheenColorMap, Ct = B && !!I.sheenRoughnessMap, it = !!I.specularMap, rt = !!I.specularColorMap, pt = !!I.specularIntensityMap, Et = de && !!I.transmissionMap, qt = de && !!I.thicknessMap, ae = !!I.gradientMap, Ke = !!I.alphaMap, De = I.alphaTest > 0, nt = !!I.alphaHash, et = !!I.extensions;
|
|
32126
32126
|
let Ie = lo;
|
|
32127
32127
|
I.toneMapped && (Ve === null || Ve.isXRRenderTarget === !0) && (Ie = s.toneMapping);
|
|
32128
32128
|
const St = {
|
|
@@ -32138,10 +32138,10 @@ function p4(s, e, t, i, a, c) {
|
|
|
32138
32138
|
glslVersion: I.glslVersion,
|
|
32139
32139
|
precision: x,
|
|
32140
32140
|
batching: tt,
|
|
32141
|
-
batchingColor: tt &&
|
|
32141
|
+
batchingColor: tt && Z._colorsTexture !== null,
|
|
32142
32142
|
instancing: It,
|
|
32143
|
-
instancingColor: It &&
|
|
32144
|
-
instancingMorph: It &&
|
|
32143
|
+
instancingColor: It && Z.instanceColor !== null,
|
|
32144
|
+
instancingMorph: It && Z.morphTexture !== null,
|
|
32145
32145
|
outputColorSpace: Ve === null ? s.outputColorSpace : Ve.isXRRenderTarget === !0 ? Ve.texture.colorSpace : Cn.workingColorSpace,
|
|
32146
32146
|
alphaToCoverage: !!I.alphaToCoverage,
|
|
32147
32147
|
map: an,
|
|
@@ -32149,7 +32149,7 @@ function p4(s, e, t, i, a, c) {
|
|
|
32149
32149
|
envMap: Be,
|
|
32150
32150
|
envMapMode: Be && te.mapping,
|
|
32151
32151
|
envMapCubeUVHeight: ce,
|
|
32152
|
-
aoMap:
|
|
32152
|
+
aoMap: ye,
|
|
32153
32153
|
lightMap: Ne,
|
|
32154
32154
|
bumpMap: We,
|
|
32155
32155
|
normalMap: Qe,
|
|
@@ -32187,7 +32187,7 @@ function p4(s, e, t, i, a, c) {
|
|
|
32187
32187
|
combine: I.combine,
|
|
32188
32188
|
//
|
|
32189
32189
|
mapUv: an && w(I.map.channel),
|
|
32190
|
-
aoMapUv:
|
|
32190
|
+
aoMapUv: ye && w(I.aoMap.channel),
|
|
32191
32191
|
lightMapUv: Ne && w(I.lightMap.channel),
|
|
32192
32192
|
bumpMapUv: We && w(I.bumpMap.channel),
|
|
32193
32193
|
normalMapUv: Qe && w(I.normalMap.channel),
|
|
@@ -32214,7 +32214,7 @@ function p4(s, e, t, i, a, c) {
|
|
|
32214
32214
|
vertexNormals: !!_.attributes.normal,
|
|
32215
32215
|
vertexColors: I.vertexColors,
|
|
32216
32216
|
vertexAlphas: I.vertexColors === !0 && !!_.attributes.color && _.attributes.color.itemSize === 4,
|
|
32217
|
-
pointsUvs:
|
|
32217
|
+
pointsUvs: Z.isPoints === !0 && !!_.attributes.uv && (an || Ke),
|
|
32218
32218
|
fog: !!le,
|
|
32219
32219
|
useFog: I.fog === !0,
|
|
32220
32220
|
fogExp2: !!le && le.isFogExp2,
|
|
@@ -32222,7 +32222,7 @@ function p4(s, e, t, i, a, c) {
|
|
|
32222
32222
|
sizeAttenuation: I.sizeAttenuation === !0,
|
|
32223
32223
|
logarithmicDepthBuffer: M,
|
|
32224
32224
|
reversedDepthBuffer: ht,
|
|
32225
|
-
skinning:
|
|
32225
|
+
skinning: Z.isSkinnedMesh === !0,
|
|
32226
32226
|
hasPositionAttribute: _.attributes.position !== void 0,
|
|
32227
32227
|
morphTargets: _.morphAttributes.position !== void 0,
|
|
32228
32228
|
morphNormals: _.morphAttributes.normal !== void 0,
|
|
@@ -32240,7 +32240,7 @@ function p4(s, e, t, i, a, c) {
|
|
|
32240
32240
|
numSpotLightShadows: F.spotShadowMap.length,
|
|
32241
32241
|
numSpotLightShadowsWithMaps: F.numSpotLightShadowsWithMaps,
|
|
32242
32242
|
numLightProbes: F.numLightProbes,
|
|
32243
|
-
numLightProbeGrids:
|
|
32243
|
+
numLightProbeGrids: K.length,
|
|
32244
32244
|
numClippingPlanes: c.numPlanes,
|
|
32245
32245
|
numClipIntersection: c.numIntersection,
|
|
32246
32246
|
dithering: I.dithering,
|
|
@@ -32558,13 +32558,13 @@ function S4(s) {
|
|
|
32558
32558
|
let S = 0, w = 0, k = 0, C = 0, T = 0, D = 0, z = 0, L = 0, O = 0, U = 0, H = 0;
|
|
32559
32559
|
g.sort(x4);
|
|
32560
32560
|
for (let F = 0, V = g.length; F < V; F++) {
|
|
32561
|
-
const q = g[F],
|
|
32561
|
+
const q = g[F], Z = q.color, K = q.intensity, le = q.distance;
|
|
32562
32562
|
let _ = null;
|
|
32563
32563
|
if (q.shadow && q.shadow.map && (q.shadow.map.texture.format === Ku ? _ = q.shadow.map.texture : _ = q.shadow.map.depthTexture || q.shadow.map.texture), q.isAmbientLight)
|
|
32564
|
-
v +=
|
|
32564
|
+
v += Z.r * K, M += Z.g * K, x += Z.b * K;
|
|
32565
32565
|
else if (q.isLightProbe) {
|
|
32566
32566
|
for (let X = 0; X < 9; X++)
|
|
32567
|
-
i.probe[X].addScaledVector(q.sh.coefficients[X],
|
|
32567
|
+
i.probe[X].addScaledVector(q.sh.coefficients[X], K);
|
|
32568
32568
|
H++;
|
|
32569
32569
|
} else if (q.isDirectionalLight) {
|
|
32570
32570
|
const X = e.get(q);
|
|
@@ -32575,7 +32575,7 @@ function S4(s) {
|
|
|
32575
32575
|
i.directional[S] = X, S++;
|
|
32576
32576
|
} else if (q.isSpotLight) {
|
|
32577
32577
|
const X = e.get(q);
|
|
32578
|
-
X.position.setFromMatrixPosition(q.matrixWorld), X.color.copy(
|
|
32578
|
+
X.position.setFromMatrixPosition(q.matrixWorld), X.color.copy(Z).multiplyScalar(K), X.distance = le, X.coneCos = Math.cos(q.angle), X.penumbraCos = Math.cos(q.angle * (1 - q.penumbra)), X.decay = q.decay, i.spot[k] = X;
|
|
32579
32579
|
const Q = q.shadow;
|
|
32580
32580
|
if (q.map && (i.spotLightMap[O] = q.map, O++, Q.updateMatrices(q), q.castShadow && U++), i.spotLightMatrix[k] = Q.matrix, q.castShadow) {
|
|
32581
32581
|
const te = t.get(q);
|
|
@@ -32584,7 +32584,7 @@ function S4(s) {
|
|
|
32584
32584
|
k++;
|
|
32585
32585
|
} else if (q.isRectAreaLight) {
|
|
32586
32586
|
const X = e.get(q);
|
|
32587
|
-
X.color.copy(
|
|
32587
|
+
X.color.copy(Z).multiplyScalar(K), X.halfWidth.set(q.width * 0.5, 0, 0), X.halfHeight.set(0, q.height * 0.5, 0), i.rectArea[C] = X, C++;
|
|
32588
32588
|
} else if (q.isPointLight) {
|
|
32589
32589
|
const X = e.get(q);
|
|
32590
32590
|
if (X.color.copy(q.color).multiplyScalar(q.intensity), X.distance = q.distance, X.decay = q.decay, q.castShadow) {
|
|
@@ -32594,7 +32594,7 @@ function S4(s) {
|
|
|
32594
32594
|
i.point[w] = X, w++;
|
|
32595
32595
|
} else if (q.isHemisphereLight) {
|
|
32596
32596
|
const X = e.get(q);
|
|
32597
|
-
X.skyColor.copy(q.color).multiplyScalar(
|
|
32597
|
+
X.skyColor.copy(q.color).multiplyScalar(K), X.groundColor.copy(q.groundColor).multiplyScalar(K), i.hemi[T] = X, T++;
|
|
32598
32598
|
}
|
|
32599
32599
|
}
|
|
32600
32600
|
C > 0 && (s.has("OES_texture_float_linear") === !0 ? (i.rectAreaLTC1 = ft.LTC_FLOAT_1, i.rectAreaLTC2 = ft.LTC_FLOAT_2) : (i.rectAreaLTC1 = ft.LTC_HALF_1, i.rectAreaLTC2 = ft.LTC_HALF_2)), i.ambient[0] = v, i.ambient[1] = M, i.ambient[2] = x;
|
|
@@ -32755,10 +32755,10 @@ function R4(s, e, t) {
|
|
|
32755
32755
|
this.render = function(U, H, I) {
|
|
32756
32756
|
if (C.enabled === !1 || C.autoUpdate === !1 && C.needsUpdate === !1 || U.length === 0) return;
|
|
32757
32757
|
this.type === nv && (at("WebGLShadowMap: PCFSoftShadowMap has been deprecated. Using PCFShadowMap instead."), this.type = Rm);
|
|
32758
|
-
const F = s.getRenderTarget(), V = s.getActiveCubeFace(), q = s.getActiveMipmapLevel(),
|
|
32759
|
-
|
|
32760
|
-
const
|
|
32761
|
-
|
|
32758
|
+
const F = s.getRenderTarget(), V = s.getActiveCubeFace(), q = s.getActiveMipmapLevel(), Z = s.state;
|
|
32759
|
+
Z.setBlending(Nl), Z.buffers.depth.getReversed() === !0 ? Z.buffers.color.setClear(0, 0, 0, 0) : Z.buffers.color.setClear(1, 1, 1, 1), Z.buffers.depth.setTest(!0), Z.setScissorTest(!1);
|
|
32760
|
+
const K = T !== this.type;
|
|
32761
|
+
K && H.traverse(function(le) {
|
|
32762
32762
|
le.material && (Array.isArray(le.material) ? le.material.forEach((_) => _.needsUpdate = !0) : le.material.needsUpdate = !0);
|
|
32763
32763
|
});
|
|
32764
32764
|
for (let le = 0, _ = U.length; le < _; le++) {
|
|
@@ -32772,7 +32772,7 @@ function R4(s, e, t) {
|
|
|
32772
32772
|
const te = Q.getFrameExtents();
|
|
32773
32773
|
a.multiply(te), c.copy(Q.mapSize), (a.x > v || a.y > v) && (a.x > v && (c.x = Math.floor(v / te.x), a.x = c.x * te.x, Q.mapSize.x = c.x), a.y > v && (c.y = Math.floor(v / te.y), a.y = c.y * te.y, Q.mapSize.y = c.y));
|
|
32774
32774
|
const ce = s.state.buffers.depth.getReversed();
|
|
32775
|
-
if (Q.camera._reversedDepth = ce, Q.map === null ||
|
|
32775
|
+
if (Q.camera._reversedDepth = ce, Q.map === null || K === !0) {
|
|
32776
32776
|
if (Q.map !== null && (Q.map.depthTexture !== null && (Q.map.depthTexture.dispose(), Q.map.depthTexture = null), Q.map.dispose()), this.type === Ff) {
|
|
32777
32777
|
if (X.isPointLight) {
|
|
32778
32778
|
at("WebGLShadowMap: VSM shadow maps are not supported for PointLights. Use PCF or BasicShadowMap instead.");
|
|
@@ -32801,7 +32801,7 @@ function R4(s, e, t) {
|
|
|
32801
32801
|
c.y * Ue.y,
|
|
32802
32802
|
c.x * Ue.z,
|
|
32803
32803
|
c.y * Ue.w
|
|
32804
|
-
),
|
|
32804
|
+
), Z.viewport(d);
|
|
32805
32805
|
}
|
|
32806
32806
|
if (X.isPointLight) {
|
|
32807
32807
|
const Ue = Q.camera, dt = Q.matrix, ot = X.distance || Ue.far;
|
|
@@ -32827,15 +32827,15 @@ function R4(s, e, t) {
|
|
|
32827
32827
|
if (q !== void 0)
|
|
32828
32828
|
V = q;
|
|
32829
32829
|
else if (V = I.isPointLight === !0 ? m : f, s.localClippingEnabled && H.clipShadows === !0 && Array.isArray(H.clippingPlanes) && H.clippingPlanes.length !== 0 || H.displacementMap && H.displacementScale !== 0 || H.alphaMap && H.alphaTest > 0 || H.map && H.alphaTest > 0 || H.alphaToCoverage === !0) {
|
|
32830
|
-
const
|
|
32831
|
-
let le = g[
|
|
32832
|
-
le === void 0 && (le = {}, g[
|
|
32833
|
-
let _ = le[
|
|
32834
|
-
_ === void 0 && (_ = V.clone(), le[
|
|
32830
|
+
const Z = V.uuid, K = H.uuid;
|
|
32831
|
+
let le = g[Z];
|
|
32832
|
+
le === void 0 && (le = {}, g[Z] = le);
|
|
32833
|
+
let _ = le[K];
|
|
32834
|
+
_ === void 0 && (_ = V.clone(), le[K] = _, H.addEventListener("dispose", O)), V = _;
|
|
32835
32835
|
}
|
|
32836
32836
|
if (V.visible = H.visible, V.wireframe = H.wireframe, F === Ff ? V.side = H.shadowSide !== null ? H.shadowSide : H.side : V.side = H.shadowSide !== null ? H.shadowSide : M[H.side], V.alphaMap = H.alphaMap, V.alphaTest = H.alphaToCoverage === !0 ? 0.5 : H.alphaTest, V.map = H.map, V.clipShadows = H.clipShadows, V.clippingPlanes = H.clippingPlanes, V.clipIntersection = H.clipIntersection, V.displacementMap = H.displacementMap, V.displacementScale = H.displacementScale, V.displacementBias = H.displacementBias, V.wireframeLinewidth = H.wireframeLinewidth, V.linewidth = H.linewidth, I.isPointLight === !0 && V.isMeshDistanceMaterial === !0) {
|
|
32837
|
-
const
|
|
32838
|
-
|
|
32837
|
+
const Z = s.properties.get(V);
|
|
32838
|
+
Z.light = I;
|
|
32839
32839
|
}
|
|
32840
32840
|
return V;
|
|
32841
32841
|
}
|
|
@@ -32843,24 +32843,24 @@ function R4(s, e, t) {
|
|
|
32843
32843
|
if (U.visible === !1) return;
|
|
32844
32844
|
if (U.layers.test(H.layers) && (U.isMesh || U.isLine || U.isPoints) && (U.castShadow || U.receiveShadow && V === Ff) && (!U.frustumCulled || i.intersectsObject(U))) {
|
|
32845
32845
|
U.modelViewMatrix.multiplyMatrices(I.matrixWorldInverse, U.matrixWorld);
|
|
32846
|
-
const
|
|
32846
|
+
const K = e.update(U), le = U.material;
|
|
32847
32847
|
if (Array.isArray(le)) {
|
|
32848
|
-
const _ =
|
|
32848
|
+
const _ = K.groups;
|
|
32849
32849
|
for (let X = 0, Q = _.length; X < Q; X++) {
|
|
32850
32850
|
const te = _[X], ce = le[te.materialIndex];
|
|
32851
32851
|
if (ce && ce.visible) {
|
|
32852
32852
|
const ve = z(U, ce, F, V);
|
|
32853
|
-
U.onBeforeShadow(s, U, H, I,
|
|
32853
|
+
U.onBeforeShadow(s, U, H, I, K, ve, te), s.renderBufferDirect(I, null, K, ve, U, te), U.onAfterShadow(s, U, H, I, K, ve, te);
|
|
32854
32854
|
}
|
|
32855
32855
|
}
|
|
32856
32856
|
} else if (le.visible) {
|
|
32857
32857
|
const _ = z(U, le, F, V);
|
|
32858
|
-
U.onBeforeShadow(s, U, H, I,
|
|
32858
|
+
U.onBeforeShadow(s, U, H, I, K, _, null), s.renderBufferDirect(I, null, K, _, U, null), U.onAfterShadow(s, U, H, I, K, _, null);
|
|
32859
32859
|
}
|
|
32860
32860
|
}
|
|
32861
|
-
const
|
|
32862
|
-
for (let
|
|
32863
|
-
L(K
|
|
32861
|
+
const Z = U.children;
|
|
32862
|
+
for (let K = 0, le = Z.length; K < le; K++)
|
|
32863
|
+
L(Z[K], H, I, F, V);
|
|
32864
32864
|
}
|
|
32865
32865
|
function O(U) {
|
|
32866
32866
|
U.target.removeEventListener("dispose", O);
|
|
@@ -32982,7 +32982,7 @@ function P4(s, e) {
|
|
|
32982
32982
|
};
|
|
32983
32983
|
}
|
|
32984
32984
|
const c = new t(), d = new i(), f = new a(), m = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap();
|
|
32985
|
-
let v = {}, M = {}, x = {}, S = /* @__PURE__ */ new WeakMap(), w = [], k = null, C = !1, T = null, D = null, z = null, L = null, O = null, U = null, H = null, I = new ct(0, 0, 0), F = 0, V = !1, q = null,
|
|
32985
|
+
let v = {}, M = {}, x = {}, S = /* @__PURE__ */ new WeakMap(), w = [], k = null, C = !1, T = null, D = null, z = null, L = null, O = null, U = null, H = null, I = new ct(0, 0, 0), F = 0, V = !1, q = null, Z = null, K = null, le = null, _ = null;
|
|
32986
32986
|
const X = s.getParameter(s.MAX_COMBINED_TEXTURE_IMAGE_UNITS);
|
|
32987
32987
|
let Q = !1, te = 0;
|
|
32988
32988
|
const ce = s.getParameter(s.VERSION);
|
|
@@ -32997,7 +32997,7 @@ function P4(s, e) {
|
|
|
32997
32997
|
return Ie;
|
|
32998
32998
|
}
|
|
32999
32999
|
const qe = {};
|
|
33000
|
-
qe[s.TEXTURE_2D] = Re(s.TEXTURE_2D, s.TEXTURE_2D, 1), qe[s.TEXTURE_CUBE_MAP] = Re(s.TEXTURE_CUBE_MAP, s.TEXTURE_CUBE_MAP_POSITIVE_X, 6), qe[s.TEXTURE_2D_ARRAY] = Re(s.TEXTURE_2D_ARRAY, s.TEXTURE_2D_ARRAY, 1, 1), qe[s.TEXTURE_3D] = Re(s.TEXTURE_3D, s.TEXTURE_3D, 1, 1), c.setClear(0, 0, 0, 1), d.setClear(1), f.setClear(0), Ve(s.DEPTH_TEST), d.setFunc(Xf), We(!1), Qe(Nw), Ve(s.CULL_FACE),
|
|
33000
|
+
qe[s.TEXTURE_2D] = Re(s.TEXTURE_2D, s.TEXTURE_2D, 1), qe[s.TEXTURE_CUBE_MAP] = Re(s.TEXTURE_CUBE_MAP, s.TEXTURE_CUBE_MAP_POSITIVE_X, 6), qe[s.TEXTURE_2D_ARRAY] = Re(s.TEXTURE_2D_ARRAY, s.TEXTURE_2D_ARRAY, 1, 1), qe[s.TEXTURE_3D] = Re(s.TEXTURE_3D, s.TEXTURE_3D, 1, 1), c.setClear(0, 0, 0, 1), d.setClear(1), f.setClear(0), Ve(s.DEPTH_TEST), d.setFunc(Xf), We(!1), Qe(Nw), Ve(s.CULL_FACE), ye(Nl);
|
|
33001
33001
|
function Ve(ae) {
|
|
33002
33002
|
v[ae] !== !0 && (s.enable(ae), v[ae] = !0);
|
|
33003
33003
|
}
|
|
@@ -33047,7 +33047,7 @@ function P4(s, e) {
|
|
|
33047
33047
|
[I3]: s.CONSTANT_ALPHA,
|
|
33048
33048
|
[N3]: s.ONE_MINUS_CONSTANT_ALPHA
|
|
33049
33049
|
};
|
|
33050
|
-
function
|
|
33050
|
+
function ye(ae, Ke, De, nt, et, Ie, St, mt, xn, Dn) {
|
|
33051
33051
|
if (ae === Nl) {
|
|
33052
33052
|
C === !0 && (ht(s.BLEND), C = !1);
|
|
33053
33053
|
return;
|
|
@@ -33099,7 +33099,7 @@ function P4(s, e) {
|
|
|
33099
33099
|
function Ne(ae, Ke) {
|
|
33100
33100
|
ae.side === kl ? ht(s.CULL_FACE) : Ve(s.CULL_FACE);
|
|
33101
33101
|
let De = ae.side === Cs;
|
|
33102
|
-
Ke && (De = !De), We(De), ae.blending === Gf && ae.transparent === !1 ?
|
|
33102
|
+
Ke && (De = !De), We(De), ae.blending === Gf && ae.transparent === !1 ? ye(Nl) : ye(ae.blending, ae.blendEquation, ae.blendSrc, ae.blendDst, ae.blendEquationAlpha, ae.blendSrcAlpha, ae.blendDstAlpha, ae.blendColor, ae.blendAlpha, ae.premultipliedAlpha), d.setFunc(ae.depthFunc), d.setTest(ae.depthTest), d.setMask(ae.depthWrite), c.setMask(ae.colorWrite);
|
|
33103
33103
|
const nt = ae.stencilWrite;
|
|
33104
33104
|
f.setTest(nt), nt && (f.setMask(ae.stencilWriteMask), f.setFunc(ae.stencilFunc, ae.stencilRef, ae.stencilFuncMask), f.setOp(ae.stencilFail, ae.stencilZFail, ae.stencilZPass)), yt(ae.polygonOffset, ae.polygonOffsetFactor, ae.polygonOffsetUnits), ae.alphaToCoverage === !0 ? Ve(s.SAMPLE_ALPHA_TO_COVERAGE) : ht(s.SAMPLE_ALPHA_TO_COVERAGE);
|
|
33105
33105
|
}
|
|
@@ -33107,10 +33107,10 @@ function P4(s, e) {
|
|
|
33107
33107
|
q !== ae && (ae ? s.frontFace(s.CW) : s.frontFace(s.CCW), q = ae);
|
|
33108
33108
|
}
|
|
33109
33109
|
function Qe(ae) {
|
|
33110
|
-
ae !== p3 ? (Ve(s.CULL_FACE), ae !==
|
|
33110
|
+
ae !== p3 ? (Ve(s.CULL_FACE), ae !== Z && (ae === Nw ? s.cullFace(s.BACK) : ae === m3 ? s.cullFace(s.FRONT) : s.cullFace(s.FRONT_AND_BACK))) : ht(s.CULL_FACE), Z = ae;
|
|
33111
33111
|
}
|
|
33112
33112
|
function Rt(ae) {
|
|
33113
|
-
ae !==
|
|
33113
|
+
ae !== K && (Q && s.lineWidth(ae), K = ae);
|
|
33114
33114
|
}
|
|
33115
33115
|
function yt(ae, Ke, De) {
|
|
33116
33116
|
ae ? (Ve(s.POLYGON_OFFSET_FILL), (le !== Ke || _ !== De) && (le = Ke, _ = De, d.getReversed() && (Ke = -Ke), s.polygonOffset(Ke, De))) : ht(s.POLYGON_OFFSET_FILL);
|
|
@@ -33223,7 +33223,7 @@ function P4(s, e) {
|
|
|
33223
33223
|
m.get(Ke) !== nt && (s.uniformBlockBinding(Ke, nt, ae.__bindingPointIndex), m.set(Ke, nt));
|
|
33224
33224
|
}
|
|
33225
33225
|
function qt() {
|
|
33226
|
-
s.disable(s.BLEND), s.disable(s.CULL_FACE), s.disable(s.DEPTH_TEST), s.disable(s.POLYGON_OFFSET_FILL), s.disable(s.SCISSOR_TEST), s.disable(s.STENCIL_TEST), s.disable(s.SAMPLE_ALPHA_TO_COVERAGE), s.blendEquation(s.FUNC_ADD), s.blendFunc(s.ONE, s.ZERO), s.blendFuncSeparate(s.ONE, s.ZERO, s.ONE, s.ZERO), s.blendColor(0, 0, 0, 0), s.colorMask(!0, !0, !0, !0), s.clearColor(0, 0, 0, 0), s.depthMask(!0), s.depthFunc(s.LESS), d.setReversed(!1), s.clearDepth(1), s.stencilMask(4294967295), s.stencilFunc(s.ALWAYS, 0, 4294967295), s.stencilOp(s.KEEP, s.KEEP, s.KEEP), s.clearStencil(0), s.cullFace(s.BACK), s.frontFace(s.CCW), s.polygonOffset(0, 0), s.activeTexture(s.TEXTURE0), s.bindFramebuffer(s.FRAMEBUFFER, null), s.bindFramebuffer(s.DRAW_FRAMEBUFFER, null), s.bindFramebuffer(s.READ_FRAMEBUFFER, null), s.useProgram(null), s.lineWidth(1), s.scissor(0, 0, s.canvas.width, s.canvas.height), s.viewport(0, 0, s.canvas.width, s.canvas.height), s.pixelStorei(s.PACK_ALIGNMENT, 4), s.pixelStorei(s.UNPACK_ALIGNMENT, 4), s.pixelStorei(s.UNPACK_FLIP_Y_WEBGL, !1), s.pixelStorei(s.UNPACK_PREMULTIPLY_ALPHA_WEBGL, !1), s.pixelStorei(s.UNPACK_COLORSPACE_CONVERSION_WEBGL, s.BROWSER_DEFAULT_WEBGL), s.pixelStorei(s.PACK_ROW_LENGTH, 0), s.pixelStorei(s.PACK_SKIP_PIXELS, 0), s.pixelStorei(s.PACK_SKIP_ROWS, 0), s.pixelStorei(s.UNPACK_ROW_LENGTH, 0), s.pixelStorei(s.UNPACK_IMAGE_HEIGHT, 0), s.pixelStorei(s.UNPACK_SKIP_PIXELS, 0), s.pixelStorei(s.UNPACK_SKIP_ROWS, 0), s.pixelStorei(s.UNPACK_SKIP_IMAGES, 0), v = {}, M = {}, ve = null, we = {}, x = {}, S = /* @__PURE__ */ new WeakMap(), w = [], k = null, C = !1, T = null, D = null, z = null, L = null, O = null, U = null, H = null, I = new ct(0, 0, 0), F = 0, V = !1, q = null,
|
|
33226
|
+
s.disable(s.BLEND), s.disable(s.CULL_FACE), s.disable(s.DEPTH_TEST), s.disable(s.POLYGON_OFFSET_FILL), s.disable(s.SCISSOR_TEST), s.disable(s.STENCIL_TEST), s.disable(s.SAMPLE_ALPHA_TO_COVERAGE), s.blendEquation(s.FUNC_ADD), s.blendFunc(s.ONE, s.ZERO), s.blendFuncSeparate(s.ONE, s.ZERO, s.ONE, s.ZERO), s.blendColor(0, 0, 0, 0), s.colorMask(!0, !0, !0, !0), s.clearColor(0, 0, 0, 0), s.depthMask(!0), s.depthFunc(s.LESS), d.setReversed(!1), s.clearDepth(1), s.stencilMask(4294967295), s.stencilFunc(s.ALWAYS, 0, 4294967295), s.stencilOp(s.KEEP, s.KEEP, s.KEEP), s.clearStencil(0), s.cullFace(s.BACK), s.frontFace(s.CCW), s.polygonOffset(0, 0), s.activeTexture(s.TEXTURE0), s.bindFramebuffer(s.FRAMEBUFFER, null), s.bindFramebuffer(s.DRAW_FRAMEBUFFER, null), s.bindFramebuffer(s.READ_FRAMEBUFFER, null), s.useProgram(null), s.lineWidth(1), s.scissor(0, 0, s.canvas.width, s.canvas.height), s.viewport(0, 0, s.canvas.width, s.canvas.height), s.pixelStorei(s.PACK_ALIGNMENT, 4), s.pixelStorei(s.UNPACK_ALIGNMENT, 4), s.pixelStorei(s.UNPACK_FLIP_Y_WEBGL, !1), s.pixelStorei(s.UNPACK_PREMULTIPLY_ALPHA_WEBGL, !1), s.pixelStorei(s.UNPACK_COLORSPACE_CONVERSION_WEBGL, s.BROWSER_DEFAULT_WEBGL), s.pixelStorei(s.PACK_ROW_LENGTH, 0), s.pixelStorei(s.PACK_SKIP_PIXELS, 0), s.pixelStorei(s.PACK_SKIP_ROWS, 0), s.pixelStorei(s.UNPACK_ROW_LENGTH, 0), s.pixelStorei(s.UNPACK_IMAGE_HEIGHT, 0), s.pixelStorei(s.UNPACK_SKIP_PIXELS, 0), s.pixelStorei(s.UNPACK_SKIP_ROWS, 0), s.pixelStorei(s.UNPACK_SKIP_IMAGES, 0), v = {}, M = {}, ve = null, we = {}, x = {}, S = /* @__PURE__ */ new WeakMap(), w = [], k = null, C = !1, T = null, D = null, z = null, L = null, O = null, U = null, H = null, I = new ct(0, 0, 0), F = 0, V = !1, q = null, Z = null, K = null, le = null, _ = null, ot.set(0, 0, s.canvas.width, s.canvas.height), lt.set(0, 0, s.canvas.width, s.canvas.height), c.reset(), d.reset(), f.reset();
|
|
33227
33227
|
}
|
|
33228
33228
|
return {
|
|
33229
33229
|
buffers: {
|
|
@@ -33236,7 +33236,7 @@ function P4(s, e) {
|
|
|
33236
33236
|
bindFramebuffer: It,
|
|
33237
33237
|
drawBuffers: tt,
|
|
33238
33238
|
useProgram: an,
|
|
33239
|
-
setBlending:
|
|
33239
|
+
setBlending: ye,
|
|
33240
33240
|
setMaterial: Ne,
|
|
33241
33241
|
setFlipSided: We,
|
|
33242
33242
|
setCullFace: Qe,
|
|
@@ -33371,19 +33371,19 @@ function k4(s, e, t, i, a, c, d) {
|
|
|
33371
33371
|
}
|
|
33372
33372
|
i.remove(j);
|
|
33373
33373
|
}
|
|
33374
|
-
let
|
|
33375
|
-
function
|
|
33376
|
-
|
|
33374
|
+
let Z = 0;
|
|
33375
|
+
function K() {
|
|
33376
|
+
Z = 0;
|
|
33377
33377
|
}
|
|
33378
33378
|
function le() {
|
|
33379
|
-
return
|
|
33379
|
+
return Z;
|
|
33380
33380
|
}
|
|
33381
33381
|
function _(j) {
|
|
33382
|
-
|
|
33382
|
+
Z = j;
|
|
33383
33383
|
}
|
|
33384
33384
|
function X() {
|
|
33385
|
-
const j =
|
|
33386
|
-
return j >= a.maxTextures && at("WebGLTextures: Trying to use " + j + " texture units while this GPU supports only " + a.maxTextures),
|
|
33385
|
+
const j = Z;
|
|
33386
|
+
return j >= a.maxTextures && at("WebGLTextures: Trying to use " + j + " texture units while this GPU supports only " + a.maxTextures), Z += 1, j;
|
|
33387
33387
|
}
|
|
33388
33388
|
function Q(j) {
|
|
33389
33389
|
const B = [];
|
|
@@ -33764,7 +33764,7 @@ function k4(s, e, t, i, a, c, d) {
|
|
|
33764
33764
|
}
|
|
33765
33765
|
t.bindFramebuffer(s.FRAMEBUFFER, null);
|
|
33766
33766
|
}
|
|
33767
|
-
function
|
|
33767
|
+
function ye(j, B, de) {
|
|
33768
33768
|
const pe = i.get(j);
|
|
33769
33769
|
B !== void 0 && tt(pe.__webglFramebuffer, j, j.texture, s.COLOR_ATTACHMENT0, s.TEXTURE_2D, 0), de !== void 0 && Be(j);
|
|
33770
33770
|
}
|
|
@@ -33893,7 +33893,7 @@ function k4(s, e, t, i, a, c, d) {
|
|
|
33893
33893
|
function on(j) {
|
|
33894
33894
|
return typeof HTMLImageElement < "u" && j instanceof HTMLImageElement ? (g.width = j.naturalWidth || j.width, g.height = j.naturalHeight || j.height) : typeof VideoFrame < "u" && j instanceof VideoFrame ? (g.width = j.displayWidth, g.height = j.displayHeight) : (g.width = j.width, g.height = j.height), g;
|
|
33895
33895
|
}
|
|
33896
|
-
this.allocateTextureUnit = X, this.resetTextureUnits =
|
|
33896
|
+
this.allocateTextureUnit = X, this.resetTextureUnits = K, this.getTextureUnits = le, this.setTextureUnits = _, this.setTexture2D = te, this.setTexture2DArray = ce, this.setTexture3D = ve, this.setTextureCube = we, this.rebindTextures = ye, this.setupRenderTarget = Ne, this.updateRenderTargetMipmap = We, this.updateMultisampleRenderTarget = yt, this.setupDepthRenderbuffer = Be, this.setupFrameBufferTexture = tt, this.useMultisampledRTT = Tt, this.isReversedDepthBuffer = function() {
|
|
33897
33897
|
return t.buffers.depth.getReversed();
|
|
33898
33898
|
};
|
|
33899
33899
|
}
|
|
@@ -34093,8 +34093,8 @@ class N4 extends Jo {
|
|
|
34093
34093
|
F.viewport = new ri();
|
|
34094
34094
|
const V = new Lr();
|
|
34095
34095
|
V.viewport = new ri();
|
|
34096
|
-
const q = [F, V],
|
|
34097
|
-
let
|
|
34096
|
+
const q = [F, V], Z = new QR();
|
|
34097
|
+
let K = null, le = null;
|
|
34098
34098
|
this.cameraAutoUpdate = !0, this.enabled = !1, this.isPresenting = !1, this.getController = function(Re) {
|
|
34099
34099
|
let qe = O[Re];
|
|
34100
34100
|
return qe === void 0 && (qe = new Db(), O[Re] = qe), qe.getTargetRaySpace();
|
|
@@ -34118,7 +34118,7 @@ class N4 extends Jo {
|
|
|
34118
34118
|
const qe = U[Re];
|
|
34119
34119
|
qe !== null && (U[Re] = null, O[Re].disconnect(qe));
|
|
34120
34120
|
}
|
|
34121
|
-
|
|
34121
|
+
K = null, le = null, C.reset();
|
|
34122
34122
|
for (const Re in T)
|
|
34123
34123
|
delete T[Re];
|
|
34124
34124
|
e.setRenderTarget(z), S = null, x = null, M = null, a = null, L = null, lt.stop(), i.isPresenting = !1, e.setPixelRatio(I), e.setSize(H.width, H.height, !1), i.dispatchEvent({ type: "sessionend" });
|
|
@@ -34218,11 +34218,11 @@ class N4 extends Jo {
|
|
|
34218
34218
|
const te = new J(), ce = new J();
|
|
34219
34219
|
function ve(Re, qe, Ve) {
|
|
34220
34220
|
te.setFromMatrixPosition(qe.matrixWorld), ce.setFromMatrixPosition(Ve.matrixWorld);
|
|
34221
|
-
const ht = te.distanceTo(ce), It = qe.projectionMatrix.elements, tt = Ve.projectionMatrix.elements, an = It[14] / (It[10] - 1), kt = It[14] / (It[10] + 1), Be = (It[9] + 1) / It[5],
|
|
34221
|
+
const ht = te.distanceTo(ce), It = qe.projectionMatrix.elements, tt = Ve.projectionMatrix.elements, an = It[14] / (It[10] - 1), kt = It[14] / (It[10] + 1), Be = (It[9] + 1) / It[5], ye = (It[9] - 1) / It[5], Ne = (It[8] - 1) / It[0], We = (tt[8] + 1) / tt[0], Qe = an * Ne, Rt = an * We, yt = ht / (-Ne + We), Nt = yt * -Ne;
|
|
34222
34222
|
if (qe.matrixWorld.decompose(Re.position, Re.quaternion, Re.scale), Re.translateX(Nt), Re.translateZ(yt), Re.matrixWorld.compose(Re.position, Re.quaternion, Re.scale), Re.matrixWorldInverse.copy(Re.matrixWorld).invert(), It[10] === -1)
|
|
34223
34223
|
Re.projectionMatrix.copy(qe.projectionMatrix), Re.projectionMatrixInverse.copy(qe.projectionMatrixInverse);
|
|
34224
34224
|
else {
|
|
34225
|
-
const Tt = an + yt, $ = kt + yt, kn = Qe - Nt, on = Rt + (ht - Nt), j = Be * kt / $ * Tt, B =
|
|
34225
|
+
const Tt = an + yt, $ = kt + yt, kn = Qe - Nt, on = Rt + (ht - Nt), j = Be * kt / $ * Tt, B = ye * kt / $ * Tt;
|
|
34226
34226
|
Re.projectionMatrix.makePerspective(kn, on, j, B, Tt, $), Re.projectionMatrixInverse.copy(Re.projectionMatrix).invert();
|
|
34227
34227
|
}
|
|
34228
34228
|
}
|
|
@@ -34232,21 +34232,21 @@ class N4 extends Jo {
|
|
|
34232
34232
|
this.updateCamera = function(Re) {
|
|
34233
34233
|
if (a === null) return;
|
|
34234
34234
|
let qe = Re.near, Ve = Re.far;
|
|
34235
|
-
C.texture !== null && (C.depthNear > 0 && (qe = C.depthNear), C.depthFar > 0 && (Ve = C.depthFar)),
|
|
34236
|
-
depthNear:
|
|
34237
|
-
depthFar:
|
|
34238
|
-
}),
|
|
34239
|
-
const ht = Re.parent, It =
|
|
34240
|
-
we(
|
|
34235
|
+
C.texture !== null && (C.depthNear > 0 && (qe = C.depthNear), C.depthFar > 0 && (Ve = C.depthFar)), Z.near = V.near = F.near = qe, Z.far = V.far = F.far = Ve, (K !== Z.near || le !== Z.far) && (a.updateRenderState({
|
|
34236
|
+
depthNear: Z.near,
|
|
34237
|
+
depthFar: Z.far
|
|
34238
|
+
}), K = Z.near, le = Z.far), Z.layers.mask = Re.layers.mask | 6, F.layers.mask = Z.layers.mask & -5, V.layers.mask = Z.layers.mask & -3;
|
|
34239
|
+
const ht = Re.parent, It = Z.cameras;
|
|
34240
|
+
we(Z, ht);
|
|
34241
34241
|
for (let tt = 0; tt < It.length; tt++)
|
|
34242
34242
|
we(It[tt], ht);
|
|
34243
|
-
It.length === 2 ? ve(
|
|
34243
|
+
It.length === 2 ? ve(Z, F, V) : Z.projectionMatrix.copy(F.projectionMatrix), Ue(Re, Z, ht);
|
|
34244
34244
|
};
|
|
34245
34245
|
function Ue(Re, qe, Ve) {
|
|
34246
34246
|
Ve === null ? Re.matrix.copy(qe.matrixWorld) : (Re.matrix.copy(Ve.matrixWorld), Re.matrix.invert(), Re.matrix.multiply(qe.matrixWorld)), Re.matrix.decompose(Re.position, Re.quaternion, Re.scale), Re.updateMatrixWorld(!0), Re.projectionMatrix.copy(qe.projectionMatrix), Re.projectionMatrixInverse.copy(qe.projectionMatrixInverse), Re.isPerspectiveCamera && (Re.fov = zm * 2 * Math.atan(1 / Re.projectionMatrix.elements[5]), Re.zoom = 1);
|
|
34247
34247
|
}
|
|
34248
34248
|
this.getCamera = function() {
|
|
34249
|
-
return
|
|
34249
|
+
return Z;
|
|
34250
34250
|
}, this.getFoveation = function() {
|
|
34251
34251
|
if (!(x === null && S === null))
|
|
34252
34252
|
return m;
|
|
@@ -34255,7 +34255,7 @@ class N4 extends Jo {
|
|
|
34255
34255
|
}, this.hasDepthSensing = function() {
|
|
34256
34256
|
return C.texture !== null;
|
|
34257
34257
|
}, this.getDepthSensingMesh = function() {
|
|
34258
|
-
return C.getMesh(
|
|
34258
|
+
return C.getMesh(Z);
|
|
34259
34259
|
}, this.getCameraTexture = function(Re) {
|
|
34260
34260
|
return T[Re];
|
|
34261
34261
|
};
|
|
@@ -34265,22 +34265,22 @@ class N4 extends Jo {
|
|
|
34265
34265
|
const Ve = v.views;
|
|
34266
34266
|
S !== null && (e.setRenderTargetFramebuffer(L, S.framebuffer), e.setRenderTarget(L));
|
|
34267
34267
|
let ht = !1;
|
|
34268
|
-
Ve.length !==
|
|
34268
|
+
Ve.length !== Z.cameras.length && (Z.cameras.length = 0, ht = !0);
|
|
34269
34269
|
for (let kt = 0; kt < Ve.length; kt++) {
|
|
34270
34270
|
const Be = Ve[kt];
|
|
34271
|
-
let
|
|
34271
|
+
let ye = null;
|
|
34272
34272
|
if (S !== null)
|
|
34273
|
-
|
|
34273
|
+
ye = S.getViewport(Be);
|
|
34274
34274
|
else {
|
|
34275
34275
|
const We = M.getViewSubImage(x, Be);
|
|
34276
|
-
|
|
34276
|
+
ye = We.viewport, kt === 0 && (e.setRenderTargetTextures(
|
|
34277
34277
|
L,
|
|
34278
34278
|
We.colorTexture,
|
|
34279
34279
|
We.depthStencilTexture
|
|
34280
34280
|
), e.setRenderTarget(L));
|
|
34281
34281
|
}
|
|
34282
34282
|
let Ne = q[kt];
|
|
34283
|
-
Ne === void 0 && (Ne = new Lr(), Ne.layers.enable(kt), Ne.viewport = new ri(), q[kt] = Ne), Ne.matrix.fromArray(Be.transform.matrix), Ne.matrix.decompose(Ne.position, Ne.quaternion, Ne.scale), Ne.projectionMatrix.fromArray(Be.projectionMatrix), Ne.projectionMatrixInverse.copy(Ne.projectionMatrix).invert(), Ne.viewport.set(
|
|
34283
|
+
Ne === void 0 && (Ne = new Lr(), Ne.layers.enable(kt), Ne.viewport = new ri(), q[kt] = Ne), Ne.matrix.fromArray(Be.transform.matrix), Ne.matrix.decompose(Ne.position, Ne.quaternion, Ne.scale), Ne.projectionMatrix.fromArray(Be.projectionMatrix), Ne.projectionMatrixInverse.copy(Ne.projectionMatrix).invert(), Ne.viewport.set(ye.x, ye.y, ye.width, ye.height), kt === 0 && (Z.matrix.copy(Ne.matrix), Z.matrix.decompose(Z.position, Z.quaternion, Z.scale)), ht === !0 && Z.cameras.push(Ne);
|
|
34284
34284
|
}
|
|
34285
34285
|
const It = a.enabledFeatures;
|
|
34286
34286
|
if (It && It.includes("depth-sensing") && a.depthUsage == "gpu-optimized" && k) {
|
|
@@ -34293,10 +34293,10 @@ class N4 extends Jo {
|
|
|
34293
34293
|
for (let kt = 0; kt < Ve.length; kt++) {
|
|
34294
34294
|
const Be = Ve[kt].camera;
|
|
34295
34295
|
if (Be) {
|
|
34296
|
-
let
|
|
34297
|
-
|
|
34296
|
+
let ye = T[Be];
|
|
34297
|
+
ye || (ye = new z1(), T[Be] = ye);
|
|
34298
34298
|
const Ne = M.getCameraImage(Be);
|
|
34299
|
-
|
|
34299
|
+
ye.sourceTexture = Ne;
|
|
34300
34300
|
}
|
|
34301
34301
|
}
|
|
34302
34302
|
}
|
|
@@ -34400,7 +34400,7 @@ function U4(s, e, t, i) {
|
|
|
34400
34400
|
for (let I = 0, F = U.length; I < F; I++) {
|
|
34401
34401
|
const V = U[I];
|
|
34402
34402
|
if (Array.isArray(V))
|
|
34403
|
-
for (let q = 0,
|
|
34403
|
+
for (let q = 0, Z = V.length; q < Z; q++)
|
|
34404
34404
|
S(V[q], I, q, H);
|
|
34405
34405
|
else
|
|
34406
34406
|
S(V, I, 0, H);
|
|
@@ -34413,8 +34413,8 @@ function U4(s, e, t, i) {
|
|
|
34413
34413
|
if (Array.isArray(F)) {
|
|
34414
34414
|
let V = 0;
|
|
34415
34415
|
for (let q = 0; q < F.length; q++) {
|
|
34416
|
-
const
|
|
34417
|
-
w(
|
|
34416
|
+
const Z = F[q], K = T(Z);
|
|
34417
|
+
w(Z, L.__data, V), typeof Z != "number" && typeof Z != "boolean" && !Z.isMatrix3 && !ArrayBuffer.isView(Z) && (V += K.storage / Float32Array.BYTES_PER_ELEMENT);
|
|
34418
34418
|
}
|
|
34419
34419
|
} else
|
|
34420
34420
|
w(F, L.__data, 0);
|
|
@@ -34448,8 +34448,8 @@ function U4(s, e, t, i) {
|
|
|
34448
34448
|
const H = 16;
|
|
34449
34449
|
for (let F = 0, V = O.length; F < V; F++) {
|
|
34450
34450
|
const q = Array.isArray(O[F]) ? O[F] : [O[F]];
|
|
34451
|
-
for (let
|
|
34452
|
-
const le = q[
|
|
34451
|
+
for (let Z = 0, K = q.length; Z < K; Z++) {
|
|
34452
|
+
const le = q[Z], _ = Array.isArray(le.value) ? le.value : [le.value];
|
|
34453
34453
|
for (let X = 0, Q = _.length; X < Q; X++) {
|
|
34454
34454
|
const te = _[X], ce = T(te), ve = U % H, we = ve % ce.boundary, Ue = ve + we;
|
|
34455
34455
|
U += we, Ue !== 0 && H - Ue < ce.storage && (U += H - Ue), le.__data = new Float32Array(ce.storage / Float32Array.BYTES_PER_ELEMENT), le.__offset = U, U += ce.storage;
|
|
@@ -35060,7 +35060,7 @@ class fP {
|
|
|
35060
35060
|
onShaderError: null
|
|
35061
35061
|
}, this.autoClear = !0, this.autoClearColor = !0, this.autoClearDepth = !0, this.autoClearStencil = !0, this.sortObjects = !0, this.clippingPlanes = [], this.localClippingEnabled = !1, this.toneMapping = lo, this.toneMappingExposure = 1, this.transmissionResolutionScale = 1;
|
|
35062
35062
|
const V = this;
|
|
35063
|
-
let q = !1,
|
|
35063
|
+
let q = !1, Z = null, K = null, le = null, _ = null;
|
|
35064
35064
|
this._outputColorSpace = os;
|
|
35065
35065
|
let X = 0, Q = 0, te = null, ce = -1, ve = null;
|
|
35066
35066
|
const we = new ri(), Ue = new ri();
|
|
@@ -35070,7 +35070,7 @@ class fP {
|
|
|
35070
35070
|
const tt = new ri(0, 0, Re, qe), an = new ri(0, 0, Re, qe);
|
|
35071
35071
|
let kt = !1;
|
|
35072
35072
|
const Be = new jf();
|
|
35073
|
-
let
|
|
35073
|
+
let ye = !1, Ne = !1;
|
|
35074
35074
|
const We = new Kt(), Qe = new J(), Rt = new ri(), yt = { background: null, fog: null, environment: null, overrideMaterial: null, isScene: !0 };
|
|
35075
35075
|
let Nt = !1;
|
|
35076
35076
|
function Tt() {
|
|
@@ -35101,7 +35101,7 @@ class fP {
|
|
|
35101
35101
|
}
|
|
35102
35102
|
let on, j, B, de, pe, Ee, Je, Ze, Pe, ke, $e, Ct, it, rt, pt, Et, qt, ae, Ke, De, nt, et, Ie;
|
|
35103
35103
|
function St() {
|
|
35104
|
-
on = new VF($), on.init(), nt = new uP($, on), j = new LF($, on, e, nt), B = new P4($, on), j.reversedDepthBuffer && x && B.buffers.depth.setReversed(!0),
|
|
35104
|
+
on = new VF($), on.init(), nt = new uP($, on), j = new LF($, on, e, nt), B = new P4($, on), j.reversedDepthBuffer && x && B.buffers.depth.setReversed(!0), K = $.createFramebuffer(), le = $.createFramebuffer(), _ = $.createFramebuffer(), de = new WF($), pe = new m4(), Ee = new k4($, on, B, pe, j, nt, de), Je = new OF(V), Ze = new jz($), et = new kF($, Ze), Pe = new HF($, Ze, de, et), ke = new qF($, Pe, Ze, et, de), ae = new XF($, j, Ee), pt = new IF(pe), $e = new p4(V, Je, on, j, et, pt), Ct = new B4(V, pe), it = new A4(), rt = new M4(on), qt = new PF(V, Je, B, ke, w, m), Et = new R4(V, ke, j), Ie = new U4($, de, j, B), Ke = new DF($, on, de), De = new GF($, on, de), de.programs = $e.programs, V.capabilities = j, V.extensions = on, V.properties = pe, V.renderLists = it, V.shadowMap = Et, V.state = B, V.info = de;
|
|
35105
35105
|
}
|
|
35106
35106
|
St(), k !== ws && (F = new jF(k, t.width, t.height, f, a, c));
|
|
35107
35107
|
const mt = new N4(V, $);
|
|
@@ -35192,7 +35192,7 @@ class fP {
|
|
|
35192
35192
|
}, this.clearStencil = function() {
|
|
35193
35193
|
this.clear(!1, !1, !0);
|
|
35194
35194
|
}, this.setNodesHandler = function(G) {
|
|
35195
|
-
G.setRenderer(this),
|
|
35195
|
+
G.setRenderer(this), Z = G;
|
|
35196
35196
|
}, this.dispose = function() {
|
|
35197
35197
|
t.removeEventListener("webglcontextlost", xn, !1), t.removeEventListener("webglcontextrestored", Dn, !1), t.removeEventListener("webglcontextcreationerror", Ki, !1), qt.dispose(), it.dispose(), rt.dispose(), pe.dispose(), Je.dispose(), ke.dispose(), et.dispose(), Ie.dispose(), $e.dispose(), mt.dispose(), mt.removeEventListener("sessionstart", Ia), mt.removeEventListener("sessionend", Ko), Ir.stop();
|
|
35198
35198
|
};
|
|
@@ -35315,15 +35315,15 @@ class fP {
|
|
|
35315
35315
|
return;
|
|
35316
35316
|
}
|
|
35317
35317
|
if (q === !0) return;
|
|
35318
|
-
|
|
35318
|
+
Z !== null && Z.renderStart(G, oe);
|
|
35319
35319
|
const ge = mt.enabled === !0 && mt.isPresenting === !0, he = F !== null && (te === null || ge) && F.begin(V, te);
|
|
35320
|
-
if (G.matrixWorldAutoUpdate === !0 && G.updateMatrixWorld(), oe.parent === null && oe.matrixWorldAutoUpdate === !0 && oe.updateMatrixWorld(), mt.enabled === !0 && mt.isPresenting === !0 && (F === null || F.isCompositing() === !1) && (mt.cameraAutoUpdate === !0 && mt.updateCamera(oe), oe = mt.getCamera()), G.isScene === !0 && G.onBeforeRender(V, G, oe, te), U = rt.get(G, I.length), U.init(oe), U.state.textureUnits = Ee.getTextureUnits(), I.push(U), We.multiplyMatrices(oe.projectionMatrix, oe.matrixWorldInverse), Be.setFromProjectionMatrix(We, Pa, oe.reversedDepth), Ne = this.localClippingEnabled,
|
|
35320
|
+
if (G.matrixWorldAutoUpdate === !0 && G.updateMatrixWorld(), oe.parent === null && oe.matrixWorldAutoUpdate === !0 && oe.updateMatrixWorld(), mt.enabled === !0 && mt.isPresenting === !0 && (F === null || F.isCompositing() === !1) && (mt.cameraAutoUpdate === !0 && mt.updateCamera(oe), oe = mt.getCamera()), G.isScene === !0 && G.onBeforeRender(V, G, oe, te), U = rt.get(G, I.length), U.init(oe), U.state.textureUnits = Ee.getTextureUnits(), I.push(U), We.multiplyMatrices(oe.projectionMatrix, oe.matrixWorldInverse), Be.setFromProjectionMatrix(We, Pa, oe.reversedDepth), Ne = this.localClippingEnabled, ye = pt.init(this.clippingPlanes, Ne), O = it.get(G, H.length), O.init(), H.push(O), mt.enabled === !0 && mt.isPresenting === !0) {
|
|
35321
35321
|
const ut = V.xr.getDepthSensingMesh();
|
|
35322
35322
|
ut !== null && ur(ut, oe, -1 / 0, V.sortObjects);
|
|
35323
35323
|
}
|
|
35324
|
-
ur(G, oe, 0, V.sortObjects), O.finish(), V.sortObjects === !0 && O.sort(ht, It, oe.reversedDepth), Nt = mt.enabled === !1 || mt.isPresenting === !1 || mt.hasDepthSensing() === !1, Nt && qt.addToRenderList(O, G), this.info.render.frame++, this.info.autoReset === !0 && this.info.reset(),
|
|
35324
|
+
ur(G, oe, 0, V.sortObjects), O.finish(), V.sortObjects === !0 && O.sort(ht, It, oe.reversedDepth), Nt = mt.enabled === !1 || mt.isPresenting === !1 || mt.hasDepthSensing() === !1, Nt && qt.addToRenderList(O, G), this.info.render.frame++, this.info.autoReset === !0 && this.info.reset(), ye === !0 && pt.beginShadows();
|
|
35325
35325
|
const me = U.state.shadowsArray;
|
|
35326
|
-
if (Et.render(me, G, oe),
|
|
35326
|
+
if (Et.render(me, G, oe), ye === !0 && pt.endShadows(), (he && F.hasRenderPass()) === !1) {
|
|
35327
35327
|
const ut = O.opaque, st = O.transmissive;
|
|
35328
35328
|
if (U.setupLights(), oe.isArrayCamera) {
|
|
35329
35329
|
const xt = oe.cameras;
|
|
@@ -35340,7 +35340,7 @@ class fP {
|
|
|
35340
35340
|
} else
|
|
35341
35341
|
st.length > 0 && _o(ut, st, G, oe), Nt && qt.render(G), us(O, G, oe);
|
|
35342
35342
|
}
|
|
35343
|
-
te !== null && Q === 0 && (Ee.updateMultisampleRenderTarget(te), Ee.updateRenderTargetMipmap(te)), he && F.end(V), G.isScene === !0 && G.onAfterRender(V, G, oe), et.resetDefaultState(), ce = -1, ve = null, I.pop(), I.length > 0 ? (U = I[I.length - 1], Ee.setTextureUnits(U.state.textureUnits),
|
|
35343
|
+
te !== null && Q === 0 && (Ee.updateMultisampleRenderTarget(te), Ee.updateRenderTargetMipmap(te)), he && F.end(V), G.isScene === !0 && G.onAfterRender(V, G, oe), et.resetDefaultState(), ce = -1, ve = null, I.pop(), I.length > 0 ? (U = I[I.length - 1], Ee.setTextureUnits(U.state.textureUnits), ye === !0 && pt.setGlobalState(V.clippingPlanes, U.state.camera)) : U = null, H.pop(), H.length > 0 ? O = H[H.length - 1] : O = null, Z !== null && Z.renderEnd();
|
|
35344
35344
|
};
|
|
35345
35345
|
function ur(G, oe, ge, he) {
|
|
35346
35346
|
if (G.visible === !1) return;
|
|
@@ -35376,7 +35376,7 @@ class fP {
|
|
|
35376
35376
|
}
|
|
35377
35377
|
function us(G, oe, ge, he) {
|
|
35378
35378
|
const { opaque: me, transmissive: Ge, transparent: ut } = G;
|
|
35379
|
-
U.setupLightsView(ge),
|
|
35379
|
+
U.setupLightsView(ge), ye === !0 && pt.setGlobalState(V.clippingPlanes, ge), he && B.viewport(we.copy(he)), me.length > 0 && $o(me, oe, ge), Ge.length > 0 && $o(Ge, oe, ge), ut.length > 0 && $o(ut, oe, ge), B.buffers.depth.setTest(!0), B.buffers.depth.setMask(!0), B.buffers.color.setMask(!0), B.setPolygonOffset(!1);
|
|
35380
35380
|
}
|
|
35381
35381
|
function _o(G, oe, ge, he) {
|
|
35382
35382
|
if ((ge.isScene === !0 ? ge.overrideMaterial : null) !== null)
|
|
@@ -35402,7 +35402,7 @@ class fP {
|
|
|
35402
35402
|
const Yt = V.toneMapping;
|
|
35403
35403
|
V.toneMapping = lo;
|
|
35404
35404
|
const Ot = he.viewport;
|
|
35405
|
-
if (he.viewport !== void 0 && (he.viewport = void 0), U.setupLightsView(he),
|
|
35405
|
+
if (he.viewport !== void 0 && (he.viewport = void 0), U.setupLightsView(he), ye === !0 && pt.setGlobalState(V.clippingPlanes, he), $o(G, ge, he), Ee.updateMultisampleRenderTarget(Ge), Ee.updateRenderTargetMipmap(Ge), on.has("WEBGL_multisampled_render_to_texture") === !1) {
|
|
35406
35406
|
let At = !1;
|
|
35407
35407
|
for (let Ln = 0, fn = oe.length; Ln < fn; Ln++) {
|
|
35408
35408
|
const Ht = oe[Ln], { object: Rn, geometry: Kn, material: Xe, group: Ni } = Ht;
|
|
@@ -35438,7 +35438,7 @@ class fP {
|
|
|
35438
35438
|
if (he.currentProgram === Ot && he.lightsStateVersion === ut)
|
|
35439
35439
|
return sd(G, st), Ot;
|
|
35440
35440
|
} else
|
|
35441
|
-
st.uniforms = $e.getUniforms(G),
|
|
35441
|
+
st.uniforms = $e.getUniforms(G), Z !== null && G.isNodeMaterial && Z.build(G, ge, st), G.onBeforeCompile(st, V), Ot = $e.acquireProgram(st, xt), wt.set(xt, Ot), he.uniforms = st.uniforms;
|
|
35442
35442
|
const At = he.uniforms;
|
|
35443
35443
|
return (!G.isShaderMaterial && !G.isRawShaderMaterial || G.clipping === !0) && (At.clippingPlanes = pt.uniform), sd(G, st), he.needsLights = ra(G), he.lightsStateVersion = ut, he.needsLights && (At.ambientLightColor.value = me.state.ambient, At.lightProbe.value = me.state.probe, At.directionalLights.value = me.state.directional, At.directionalLightShadows.value = me.state.directionalShadow, At.spotLights.value = me.state.spot, At.spotLightShadows.value = me.state.spotShadow, At.rectAreaLights.value = me.state.rectArea, At.ltc_1.value = me.state.rectAreaLTC1, At.ltc_2.value = me.state.rectAreaLTC2, At.pointLights.value = me.state.point, At.pointLightShadows.value = me.state.pointShadow, At.hemisphereLights.value = me.state.hemi, At.directionalShadowMatrix.value = me.state.directionalShadowMatrix, At.spotLightMatrix.value = me.state.spotLightMatrix, At.spotLightMap.value = me.state.spotLightMap, At.pointShadowMatrix.value = me.state.pointShadowMatrix), he.lightProbeGrid = U.state.lightProbeGridArray.length > 0, he.currentProgram = Ot, he.uniformsList = null, Ot;
|
|
35444
35444
|
}
|
|
@@ -35470,14 +35470,14 @@ class fP {
|
|
|
35470
35470
|
let Ht = lo;
|
|
35471
35471
|
he.toneMapped && (te === null || te.isXRRenderTarget === !0) && (Ht = V.toneMapping);
|
|
35472
35472
|
const Rn = ge.morphAttributes.position || ge.morphAttributes.normal || ge.morphAttributes.color, Kn = Rn !== void 0 ? Rn.length : 0, Xe = pe.get(he), Ni = U.state.lights;
|
|
35473
|
-
if (
|
|
35473
|
+
if (ye === !0 && (Ne === !0 || G !== ve)) {
|
|
35474
35474
|
const Nn = G === ve && he.id === ce;
|
|
35475
35475
|
pt.setState(he, G, Nn);
|
|
35476
35476
|
}
|
|
35477
35477
|
let _t = !1;
|
|
35478
35478
|
he.version === Xe.__version ? (Xe.needsLights && Xe.lightsStateVersion !== Ni.state.version || Xe.outputColorSpace !== st || me.isBatchedMesh && Xe.batching === !1 || !me.isBatchedMesh && Xe.batching === !0 || me.isBatchedMesh && Xe.batchingColor === !0 && me.colorTexture === null || me.isBatchedMesh && Xe.batchingColor === !1 && me.colorTexture !== null || me.isInstancedMesh && Xe.instancing === !1 || !me.isInstancedMesh && Xe.instancing === !0 || me.isSkinnedMesh && Xe.skinning === !1 || !me.isSkinnedMesh && Xe.skinning === !0 || me.isInstancedMesh && Xe.instancingColor === !0 && me.instanceColor === null || me.isInstancedMesh && Xe.instancingColor === !1 && me.instanceColor !== null || me.isInstancedMesh && Xe.instancingMorph === !0 && me.morphTexture === null || me.isInstancedMesh && Xe.instancingMorph === !1 && me.morphTexture !== null || Xe.envMap !== wt || he.fog === !0 && Xe.fog !== Ge || Xe.numClippingPlanes !== void 0 && (Xe.numClippingPlanes !== pt.numPlanes || Xe.numIntersection !== pt.numIntersection) || Xe.vertexAlphas !== Yt || Xe.vertexTangents !== Ot || Xe.morphTargets !== At || Xe.morphNormals !== Ln || Xe.morphColors !== fn || Xe.toneMapping !== Ht || Xe.morphTargetsCount !== Kn || !!Xe.lightProbeGrid != U.state.lightProbeGridArray.length > 0) && (_t = !0) : (_t = !0, Xe.__version = he.version);
|
|
35479
35479
|
let Wi = Xe.currentProgram;
|
|
35480
|
-
_t === !0 && (Wi = Ls(he, oe, me),
|
|
35480
|
+
_t === !0 && (Wi = Ls(he, oe, me), Z && he.isNodeMaterial && Z.onUpdateProgram(he, Wi, Xe));
|
|
35481
35481
|
let zi = !1, xr = !1, $i = !1;
|
|
35482
35482
|
const qn = Wi.getUniforms(), Fn = Xe.uniforms;
|
|
35483
35483
|
if (B.useProgram(Wi.program) && (zi = !0, xr = !0, $i = !0), he.id !== ce && (ce = he.id, xr = !0), Xe.needsLights) {
|
|
@@ -35560,7 +35560,7 @@ class fP {
|
|
|
35560
35560
|
G.isWebGLCubeRenderTarget ? (Array.isArray(wt[oe]) ? he = wt[oe][ge] : he = wt[oe], me = !0) : G.samples > 0 && Ee.useMultisampledRTT(G) === !1 ? he = pe.get(G).__webglMultisampledFramebuffer : Array.isArray(wt) ? he = wt[ge] : he = wt, we.copy(G.viewport), Ue.copy(G.scissor), dt = G.scissorTest;
|
|
35561
35561
|
} else
|
|
35562
35562
|
we.copy(tt).multiplyScalar(Ve).floor(), Ue.copy(an).multiplyScalar(Ve).floor(), dt = kt;
|
|
35563
|
-
if (ge !== 0 && (he =
|
|
35563
|
+
if (ge !== 0 && (he = K), B.bindFramebuffer($.FRAMEBUFFER, he) && B.drawBuffers(G, he), B.viewport(we), B.scissor(Ue), B.setScissorTest(dt), me) {
|
|
35564
35564
|
const st = pe.get(G.texture);
|
|
35565
35565
|
$.framebufferTexture2D($.FRAMEBUFFER, $.COLOR_ATTACHMENT0, $.TEXTURE_CUBE_MAP_POSITIVE_X + oe, st.__webglTexture, ge);
|
|
35566
35566
|
} else if (Ge) {
|
|
@@ -36471,7 +36471,7 @@ function $4() {
|
|
|
36471
36471
|
function O(X) {
|
|
36472
36472
|
if (k = !1, L(X), !w)
|
|
36473
36473
|
if (t(m) !== null)
|
|
36474
|
-
w = !0, U || (U = !0,
|
|
36474
|
+
w = !0, U || (U = !0, Z());
|
|
36475
36475
|
else {
|
|
36476
36476
|
var Q = t(g);
|
|
36477
36477
|
Q !== null && _(O, Q.startTime - X);
|
|
@@ -36523,22 +36523,22 @@ function $4() {
|
|
|
36523
36523
|
Q = void 0;
|
|
36524
36524
|
}
|
|
36525
36525
|
} finally {
|
|
36526
|
-
Q ?
|
|
36526
|
+
Q ? Z() : U = !1;
|
|
36527
36527
|
}
|
|
36528
36528
|
}
|
|
36529
36529
|
}
|
|
36530
|
-
var
|
|
36530
|
+
var Z;
|
|
36531
36531
|
if (typeof z == "function")
|
|
36532
|
-
|
|
36532
|
+
Z = function() {
|
|
36533
36533
|
z(q);
|
|
36534
36534
|
};
|
|
36535
36535
|
else if (typeof MessageChannel < "u") {
|
|
36536
|
-
var
|
|
36537
|
-
|
|
36536
|
+
var K = new MessageChannel(), le = K.port2;
|
|
36537
|
+
K.port1.onmessage = q, Z = function() {
|
|
36538
36538
|
le.postMessage(null);
|
|
36539
36539
|
};
|
|
36540
36540
|
} else
|
|
36541
|
-
|
|
36541
|
+
Z = function() {
|
|
36542
36542
|
T(q, 0);
|
|
36543
36543
|
};
|
|
36544
36544
|
function _(X, Q) {
|
|
@@ -36616,7 +36616,7 @@ function $4() {
|
|
|
36616
36616
|
startTime: te,
|
|
36617
36617
|
expirationTime: ve,
|
|
36618
36618
|
sortIndex: -1
|
|
36619
|
-
}, te > ce ? (X.sortIndex = te, e(g, X), t(m) === null && X === t(g) && (k ? (D(H), H = -1) : k = !0, _(O, te - ce))) : (X.sortIndex = ve, e(m, X), w || S || (w = !0, U || (U = !0,
|
|
36619
|
+
}, te > ce ? (X.sortIndex = te, e(g, X), t(m) === null && X === t(g) && (k ? (D(H), H = -1) : k = !0, _(O, te - ce))) : (X.sortIndex = ve, e(m, X), w || S || (w = !0, U || (U = !0, Z()))), X;
|
|
36620
36620
|
}, s.unstable_shouldYield = V, s.unstable_wrapCallback = function(X) {
|
|
36621
36621
|
var Q = x;
|
|
36622
36622
|
return function() {
|
|
@@ -36648,7 +36648,7 @@ function eV() {
|
|
|
36648
36648
|
function e() {
|
|
36649
36649
|
if (O = !1, F) {
|
|
36650
36650
|
var X = s.unstable_now();
|
|
36651
|
-
|
|
36651
|
+
Z = X;
|
|
36652
36652
|
var Q = !0;
|
|
36653
36653
|
try {
|
|
36654
36654
|
e: {
|
|
@@ -36687,7 +36687,7 @@ function eV() {
|
|
|
36687
36687
|
Q = void 0;
|
|
36688
36688
|
}
|
|
36689
36689
|
} finally {
|
|
36690
|
-
Q ?
|
|
36690
|
+
Q ? K() : F = !1;
|
|
36691
36691
|
}
|
|
36692
36692
|
}
|
|
36693
36693
|
}
|
|
@@ -36736,7 +36736,7 @@ function eV() {
|
|
|
36736
36736
|
function f(X) {
|
|
36737
36737
|
if (L = !1, d(X), !z)
|
|
36738
36738
|
if (i(S) !== null)
|
|
36739
|
-
z = !0, F || (F = !0,
|
|
36739
|
+
z = !0, F || (F = !0, K());
|
|
36740
36740
|
else {
|
|
36741
36741
|
var Q = i(w);
|
|
36742
36742
|
Q !== null && g(
|
|
@@ -36746,7 +36746,7 @@ function eV() {
|
|
|
36746
36746
|
}
|
|
36747
36747
|
}
|
|
36748
36748
|
function m() {
|
|
36749
|
-
return O ? !0 : !(s.unstable_now() -
|
|
36749
|
+
return O ? !0 : !(s.unstable_now() - Z < q);
|
|
36750
36750
|
}
|
|
36751
36751
|
function g(X, Q) {
|
|
36752
36752
|
V = U(function() {
|
|
@@ -36764,18 +36764,18 @@ function eV() {
|
|
|
36764
36764
|
return M.now() - x;
|
|
36765
36765
|
};
|
|
36766
36766
|
}
|
|
36767
|
-
var S = [], w = [], k = 1, C = null, T = 3, D = !1, z = !1, L = !1, O = !1, U = typeof setTimeout == "function" ? setTimeout : null, H = typeof clearTimeout == "function" ? clearTimeout : null, I = typeof setImmediate < "u" ? setImmediate : null, F = !1, V = -1, q = 5,
|
|
36767
|
+
var S = [], w = [], k = 1, C = null, T = 3, D = !1, z = !1, L = !1, O = !1, U = typeof setTimeout == "function" ? setTimeout : null, H = typeof clearTimeout == "function" ? clearTimeout : null, I = typeof setImmediate < "u" ? setImmediate : null, F = !1, V = -1, q = 5, Z = -1;
|
|
36768
36768
|
if (typeof I == "function")
|
|
36769
|
-
var
|
|
36769
|
+
var K = function() {
|
|
36770
36770
|
I(e);
|
|
36771
36771
|
};
|
|
36772
36772
|
else if (typeof MessageChannel < "u") {
|
|
36773
36773
|
var le = new MessageChannel(), _ = le.port2;
|
|
36774
|
-
le.port1.onmessage = e,
|
|
36774
|
+
le.port1.onmessage = e, K = function() {
|
|
36775
36775
|
_.postMessage(null);
|
|
36776
36776
|
};
|
|
36777
36777
|
} else
|
|
36778
|
-
|
|
36778
|
+
K = function() {
|
|
36779
36779
|
U(e, 0);
|
|
36780
36780
|
};
|
|
36781
36781
|
s.unstable_IdlePriority = 5, s.unstable_ImmediatePriority = 1, s.unstable_LowPriority = 4, s.unstable_NormalPriority = 3, s.unstable_Profiling = null, s.unstable_UserBlockingPriority = 2, s.unstable_cancelCallback = function(X) {
|
|
@@ -36848,7 +36848,7 @@ function eV() {
|
|
|
36848
36848
|
startTime: te,
|
|
36849
36849
|
expirationTime: ve,
|
|
36850
36850
|
sortIndex: -1
|
|
36851
|
-
}, te > ce ? (X.sortIndex = te, t(w, X), i(S) === null && X === i(w) && (L ? (H(V), V = -1) : L = !0, g(f, te - ce))) : (X.sortIndex = ve, t(S, X), z || D || (z = !0, F || (F = !0,
|
|
36851
|
+
}, te > ce ? (X.sortIndex = te, t(w, X), i(S) === null && X === i(w) && (L ? (H(V), V = -1) : L = !0, g(f, te - ce))) : (X.sortIndex = ve, t(S, X), z || D || (z = !0, F || (F = !0, K()))), X;
|
|
36852
36852
|
}, s.unstable_shouldYield = m, s.unstable_wrapCallback = function(X) {
|
|
36853
36853
|
var Q = T;
|
|
36854
36854
|
return function() {
|
|
@@ -37491,13 +37491,13 @@ const J2 = (s) => !!(s != null && s.render), MP = /* @__PURE__ */ Wn.createConte
|
|
|
37491
37491
|
aspect: I
|
|
37492
37492
|
};
|
|
37493
37493
|
{
|
|
37494
|
-
const V = T.fov * Math.PI / 180, q = 2 * Math.tan(V / 2) * F,
|
|
37494
|
+
const V = T.fov * Math.PI / 180, q = 2 * Math.tan(V / 2) * F, Z = q * (L / O);
|
|
37495
37495
|
return {
|
|
37496
|
-
width:
|
|
37496
|
+
width: Z,
|
|
37497
37497
|
height: q,
|
|
37498
37498
|
top: U,
|
|
37499
37499
|
left: H,
|
|
37500
|
-
factor: L /
|
|
37500
|
+
factor: L / Z,
|
|
37501
37501
|
distance: F,
|
|
37502
37502
|
aspect: I
|
|
37503
37503
|
};
|
|
@@ -38045,10 +38045,10 @@ function kV() {
|
|
|
38045
38045
|
}
|
|
38046
38046
|
return o;
|
|
38047
38047
|
}
|
|
38048
|
-
function
|
|
38048
|
+
function Z(o) {
|
|
38049
38049
|
return o &= -o, 2 < o ? 8 < o ? (o & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
|
|
38050
38050
|
}
|
|
38051
|
-
function
|
|
38051
|
+
function K(o) {
|
|
38052
38052
|
if (typeof ap == "function" && Zg(o), Ei && typeof Ei.setStrictMode == "function") try {
|
|
38053
38053
|
Ei.setStrictMode(tc, o);
|
|
38054
38054
|
} catch {
|
|
@@ -38198,7 +38198,7 @@ Error generating stack: ` + A.message + `
|
|
|
38198
38198
|
};
|
|
38199
38199
|
}
|
|
38200
38200
|
function ve(o, l) {
|
|
38201
|
-
nc[ou++] =
|
|
38201
|
+
nc[ou++] = be, nc[ou++] = Ui, Ui = o, be = l;
|
|
38202
38202
|
}
|
|
38203
38203
|
function we(o, l, h) {
|
|
38204
38204
|
Os[Vs++] = Or, Os[Vs++] = Ya, Os[Vs++] = Ro, Ro = o;
|
|
@@ -38216,7 +38216,7 @@ Error generating stack: ` + A.message + `
|
|
|
38216
38216
|
o.return !== null && (ve(o, 1), we(o, 1, 0));
|
|
38217
38217
|
}
|
|
38218
38218
|
function dt(o) {
|
|
38219
|
-
for (; o === Ui; ) Ui = nc[--ou], nc[ou] = null,
|
|
38219
|
+
for (; o === Ui; ) Ui = nc[--ou], nc[ou] = null, be = nc[--ou], nc[ou] = null;
|
|
38220
38220
|
for (; o === Ro; ) Ro = Os[--Vs], Os[Vs] = null, Ya = Os[--Vs], Os[Vs] = null, Or = Os[--Vs], Os[Vs] = null;
|
|
38221
38221
|
}
|
|
38222
38222
|
function ot(o, l) {
|
|
@@ -38238,7 +38238,7 @@ Error generating stack: ` + A.message + `
|
|
|
38238
38238
|
}
|
|
38239
38239
|
function ht(o) {
|
|
38240
38240
|
var l = Error(a(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", ""));
|
|
38241
|
-
throw
|
|
38241
|
+
throw ye(ce(l, o)), _g;
|
|
38242
38242
|
}
|
|
38243
38243
|
function It(o, l) {
|
|
38244
38244
|
if (!pr) throw Error(a(175));
|
|
@@ -38280,7 +38280,7 @@ Error generating stack: ` + A.message + `
|
|
|
38280
38280
|
var o = Po;
|
|
38281
38281
|
return o !== null && (ts === null ? ts = o : ts.push.apply(ts, o), Po = null), o;
|
|
38282
38282
|
}
|
|
38283
|
-
function
|
|
38283
|
+
function ye(o) {
|
|
38284
38284
|
Po === null ? Po = [o] : Po.push(o);
|
|
38285
38285
|
}
|
|
38286
38286
|
function Ne(o, l, h) {
|
|
@@ -38444,7 +38444,7 @@ Error generating stack: ` + A.message + `
|
|
|
38444
38444
|
if (l = ti, h = Sn, h = T(o, o === l ? h : 0, o.cancelPendingCommit !== null || o.timeoutHandle !== Mo), A = o.callbackNode, h === 0 || o === l && (Jn === 2 || Jn === 9) || o.cancelPendingCommit !== null) return A !== null && A !== null && pn(A), o.callbackNode = null, o.callbackPriority = 0;
|
|
38445
38445
|
if ((h & 3) === 0 || D(o, h)) {
|
|
38446
38446
|
if (l = h & -h, l === o.callbackPriority) return l;
|
|
38447
|
-
switch (A !== null && pn(A),
|
|
38447
|
+
switch (A !== null && pn(A), Z(h)) {
|
|
38448
38448
|
case 2:
|
|
38449
38449
|
case 8:
|
|
38450
38450
|
h = Eo;
|
|
@@ -39286,11 +39286,11 @@ Error generating stack: ` + A.message + `
|
|
|
39286
39286
|
if (typeof o == "function") {
|
|
39287
39287
|
var h = o;
|
|
39288
39288
|
if (o = h(), sc) {
|
|
39289
|
-
|
|
39289
|
+
K(!0);
|
|
39290
39290
|
try {
|
|
39291
39291
|
h();
|
|
39292
39292
|
} finally {
|
|
39293
|
-
|
|
39293
|
+
K(!1);
|
|
39294
39294
|
}
|
|
39295
39295
|
}
|
|
39296
39296
|
}
|
|
@@ -39517,11 +39517,11 @@ Error generating stack: ` + A.message + `
|
|
|
39517
39517
|
var A = h.memoizedState;
|
|
39518
39518
|
if (l !== null && ut(l, A[1])) return A[0];
|
|
39519
39519
|
if (A = o(), sc) {
|
|
39520
|
-
|
|
39520
|
+
K(!0);
|
|
39521
39521
|
try {
|
|
39522
39522
|
o();
|
|
39523
39523
|
} finally {
|
|
39524
|
-
|
|
39524
|
+
K(!1);
|
|
39525
39525
|
}
|
|
39526
39526
|
}
|
|
39527
39527
|
return h.memoizedState = [A, l], A;
|
|
@@ -39772,9 +39772,9 @@ Error generating stack: ` + A.message + `
|
|
|
39772
39772
|
}
|
|
39773
39773
|
if (vn) return l = ps.current, l !== null ? ((l.flags & 65536) === 0 && (l.flags |= 256), l.flags |= 65536, l.lanes = E, A !== _g && (o = Error(a(422), {
|
|
39774
39774
|
cause: A
|
|
39775
|
-
}),
|
|
39775
|
+
}), ye(ce(o, h)))) : (A !== _g && (l = Error(a(423), {
|
|
39776
39776
|
cause: A
|
|
39777
|
-
}),
|
|
39777
|
+
}), ye(ce(l, h))), o = o.current.alternate, o.flags |= 65536, E &= -E, o.lanes |= E, A = ce(A, h), E = Hc(o.stateNode, A, E), $o(o, E), bi !== 4 && (bi = 2)), !1;
|
|
39778
39778
|
var R = Error(a(520), {
|
|
39779
39779
|
cause: A
|
|
39780
39780
|
});
|
|
@@ -39982,7 +39982,7 @@ Error generating stack: ` + A.message + `
|
|
|
39982
39982
|
mode: "visible",
|
|
39983
39983
|
children: A.children
|
|
39984
39984
|
}, E), ee = xo(ee, E, h, null), ee.flags |= 2, A.return = l, ee.return = l, A.sibling = ee, l.child = A, rc(l, o.child, null, h), A = l.child, A.memoizedState = yd(h), A.childLanes = Ba(o, W, h), l.memoizedState = vp, l = Is(null, A));
|
|
39985
|
-
else if (ra(l), qd(ee)) W = Kl(ee).digest, A = Error(a(419)), A.stack = "", A.digest = W,
|
|
39985
|
+
else if (ra(l), qd(ee)) W = Kl(ee).digest, A = Error(a(419)), A.stack = "", A.digest = W, ye({
|
|
39986
39986
|
value: A,
|
|
39987
39987
|
source: null,
|
|
39988
39988
|
stack: null
|
|
@@ -40040,7 +40040,7 @@ Error generating stack: ` + A.message + `
|
|
|
40040
40040
|
var A = l.pendingProps, E = A.revealOrder, R = A.tail;
|
|
40041
40041
|
A = A.children;
|
|
40042
40042
|
var W = Ri.current, ee = (W & 2) !== 0;
|
|
40043
|
-
if (ee ? (W = W & 1 | 2, l.flags |= 128) : W &= 1, w(Ri, W), er(o, l, A, h), A = vn ?
|
|
40043
|
+
if (ee ? (W = W & 1 | 2, l.flags |= 128) : W &= 1, w(Ri, W), er(o, l, A, h), A = vn ? be : 0, !ee && o !== null && (o.flags & 128) !== 0) e: for (o = l.child; o !== null; ) {
|
|
40044
40044
|
if (o.tag === 13) o.memoizedState !== null && bd(o, h, l);
|
|
40045
40045
|
else if (o.tag === 19) bd(o, h, l);
|
|
40046
40046
|
else if (o.child !== null) {
|
|
@@ -40137,7 +40137,7 @@ Error generating stack: ` + A.message + `
|
|
|
40137
40137
|
if (!Xc(o, h) && (l.flags & 128) === 0) return Oi = !1, yi(o, l, h);
|
|
40138
40138
|
Oi = (o.flags & 131072) !== 0;
|
|
40139
40139
|
}
|
|
40140
|
-
else Oi = !1, vn && (l.flags & 1048576) !== 0 && we(l,
|
|
40140
|
+
else Oi = !1, vn && (l.flags & 1048576) !== 0 && we(l, be, l.index);
|
|
40141
40141
|
switch (l.lanes = 0, l.tag) {
|
|
40142
40142
|
case 16:
|
|
40143
40143
|
e: {
|
|
@@ -40177,7 +40177,7 @@ Error generating stack: ` + A.message + `
|
|
|
40177
40177
|
l = fh(o, l, R, h);
|
|
40178
40178
|
break e;
|
|
40179
40179
|
} else if (R !== A) {
|
|
40180
|
-
A = ce(Error(a(424)), l),
|
|
40180
|
+
A = ce(Error(a(424)), l), ye(A), l = fh(o, l, R, h);
|
|
40181
40181
|
break e;
|
|
40182
40182
|
} else for (pr && (ci = Kh(l.stateNode.containerInfo), qi = l, vn = !0, Po = null, Hs = !0), h = j0(l, null, R, h), l.child = h; h; ) h.flags = h.flags & -3 | 4096, h = h.sibling;
|
|
40183
40183
|
else {
|
|
@@ -41982,7 +41982,7 @@ Error generating stack: ` + A.message + `
|
|
|
41982
41982
|
var o = Lo, l = bl, h = Ka, A = Z0;
|
|
41983
41983
|
(l.subtreeFlags & 10256) !== 0 || (l.flags & 10256) !== 0 ? Qn = 5 : (Qn = 0, bl = Lo = null, e0(o, o.pendingLanes));
|
|
41984
41984
|
var E = o.pendingLanes;
|
|
41985
|
-
if (E === 0 && (yl = null),
|
|
41985
|
+
if (E === 0 && (yl = null), Z(h), l = l.stateNode, Ei && typeof Ei.onCommitFiberRoot == "function") try {
|
|
41986
41986
|
Ei.onCommitFiberRoot(tc, l, void 0, (l.current.flags & 128) === 128);
|
|
41987
41987
|
} catch {
|
|
41988
41988
|
}
|
|
@@ -42012,7 +42012,7 @@ Error generating stack: ` + A.message + `
|
|
|
42012
42012
|
if (Qn !== 5) return !1;
|
|
42013
42013
|
var o = Lo, l = Cp;
|
|
42014
42014
|
Cp = 0;
|
|
42015
|
-
var h =
|
|
42015
|
+
var h = Z(Ka), A = 32 > h ? 32 : h;
|
|
42016
42016
|
h = Lt.T;
|
|
42017
42017
|
var E = Wa();
|
|
42018
42018
|
try {
|
|
@@ -42244,7 +42244,7 @@ Error generating stack: ` + A.message + `
|
|
|
42244
42244
|
return;
|
|
42245
42245
|
}
|
|
42246
42246
|
console.error(o);
|
|
42247
|
-
}, Kg = Object.prototype.hasOwnProperty, au, _r, Qd = !1, Y0 = /* @__PURE__ */ new WeakMap(), nc = [], ou = 0, Ui = null,
|
|
42247
|
+
}, Kg = Object.prototype.hasOwnProperty, au, _r, Qd = !1, Y0 = /* @__PURE__ */ new WeakMap(), nc = [], ou = 0, Ui = null, be = 0, Os = [], Vs = 0, Ro = null, Or = 1, Ya = "", Ar = x(null), Zd = x(null), hl = x(null), lp = x(null), qi = null, ci = null, vn = !1, Po = null, Hs = !1, _g = Error(a(519)), ja = x(null), Vr = null, ui = null, Ja = typeof AbortController < "u" ? AbortController : function() {
|
|
42248
42248
|
var o = [], l = this.signal = {
|
|
42249
42249
|
aborted: !1,
|
|
42250
42250
|
addEventListener: function(h, A) {
|
|
@@ -42318,11 +42318,11 @@ Error generating stack: ` + A.message + `
|
|
|
42318
42318
|
l = l === void 0 ? null : l;
|
|
42319
42319
|
var A = o();
|
|
42320
42320
|
if (sc) {
|
|
42321
|
-
|
|
42321
|
+
K(!0);
|
|
42322
42322
|
try {
|
|
42323
42323
|
o();
|
|
42324
42324
|
} finally {
|
|
42325
|
-
|
|
42325
|
+
K(!1);
|
|
42326
42326
|
}
|
|
42327
42327
|
}
|
|
42328
42328
|
return h.memoizedState = [A, l], A;
|
|
@@ -42332,11 +42332,11 @@ Error generating stack: ` + A.message + `
|
|
|
42332
42332
|
if (h !== void 0) {
|
|
42333
42333
|
var E = h(l);
|
|
42334
42334
|
if (sc) {
|
|
42335
|
-
|
|
42335
|
+
K(!0);
|
|
42336
42336
|
try {
|
|
42337
42337
|
h(l);
|
|
42338
42338
|
} finally {
|
|
42339
|
-
|
|
42339
|
+
K(!1);
|
|
42340
42340
|
}
|
|
42341
42341
|
}
|
|
42342
42342
|
} else E = l;
|
|
@@ -43026,10 +43026,10 @@ function DV() {
|
|
|
43026
43026
|
current: n
|
|
43027
43027
|
};
|
|
43028
43028
|
}
|
|
43029
|
-
function
|
|
43029
|
+
function Z(n, r) {
|
|
43030
43030
|
0 > Ft ? console.error("Unexpected pop.") : (r !== gt[Ft] && console.error("Unexpected Fiber popped."), n.current = je[Ft], je[Ft] = null, gt[Ft] = null, Ft--);
|
|
43031
43031
|
}
|
|
43032
|
-
function
|
|
43032
|
+
function K(n, r, u) {
|
|
43033
43033
|
Ft++, je[Ft] = n.current, gt[Ft] = u, n.current = r;
|
|
43034
43034
|
}
|
|
43035
43035
|
function le(n) {
|
|
@@ -43280,9 +43280,9 @@ function DV() {
|
|
|
43280
43280
|
return r;
|
|
43281
43281
|
}
|
|
43282
43282
|
function Be(n, r, u, p) {
|
|
43283
|
-
for (var b in n) US.call(n, b) && b[0] !== "_" &&
|
|
43283
|
+
for (var b in n) US.call(n, b) && b[0] !== "_" && ye(b, n[b], r, u, p);
|
|
43284
43284
|
}
|
|
43285
|
-
function
|
|
43285
|
+
function ye(n, r, u, p, b) {
|
|
43286
43286
|
switch (typeof r) {
|
|
43287
43287
|
case "object":
|
|
43288
43288
|
if (r === null) {
|
|
@@ -43301,8 +43301,8 @@ function DV() {
|
|
|
43301
43301
|
r = "<" + y + " … />";
|
|
43302
43302
|
break;
|
|
43303
43303
|
}
|
|
43304
|
-
u.push([b + " ".repeat(p) + n, "<" + y]), P !== null &&
|
|
43305
|
-
for (var se in r) se === "children" ? r.children != null && (!Ui(r.children) || 0 < r.children.length) && (n = !0) : US.call(r, se) && se[0] !== "_" &&
|
|
43304
|
+
u.push([b + " ".repeat(p) + n, "<" + y]), P !== null && ye("key", P, u, p + 1, b), n = !1;
|
|
43305
|
+
for (var se in r) se === "children" ? r.children != null && (!Ui(r.children) || 0 < r.children.length) && (n = !0) : US.call(r, se) && se[0] !== "_" && ye(se, r[se], u, p + 1, b);
|
|
43306
43306
|
u.push(["", n ? ">…</" + y + ">" : "/>"]);
|
|
43307
43307
|
return;
|
|
43308
43308
|
}
|
|
@@ -43311,17 +43311,17 @@ function DV() {
|
|
|
43311
43311
|
r = JSON.stringify(r);
|
|
43312
43312
|
break;
|
|
43313
43313
|
} else if (se === 3) {
|
|
43314
|
-
for (u.push([b + " ".repeat(p) + n, ""]), n = 0; n < r.length; n++) y = r[n],
|
|
43314
|
+
for (u.push([b + " ".repeat(p) + n, ""]), n = 0; n < r.length; n++) y = r[n], ye(y[0], y[1], u, p + 1, b);
|
|
43315
43315
|
return;
|
|
43316
43316
|
}
|
|
43317
43317
|
}
|
|
43318
43318
|
if (y === "Promise") {
|
|
43319
43319
|
if (r.status === "fulfilled") {
|
|
43320
|
-
if (y = u.length,
|
|
43320
|
+
if (y = u.length, ye(n, r.value, u, p, b), u.length > y) {
|
|
43321
43321
|
u = u[y], u[1] = "Promise<" + (u[1] || "Object") + ">";
|
|
43322
43322
|
return;
|
|
43323
43323
|
}
|
|
43324
|
-
} else if (r.status === "rejected" && (y = u.length,
|
|
43324
|
+
} else if (r.status === "rejected" && (y = u.length, ye(n, r.reason, u, p, b), u.length > y)) {
|
|
43325
43325
|
u = u[y], u[1] = "Rejected Promise<" + u[1] + ">";
|
|
43326
43326
|
return;
|
|
43327
43327
|
}
|
|
@@ -43375,7 +43375,7 @@ function DV() {
|
|
|
43375
43375
|
continue;
|
|
43376
43376
|
}
|
|
43377
43377
|
}
|
|
43378
|
-
|
|
43378
|
+
ye(y, P, u, p, "– "), ye(y, N, u, p, "+ ");
|
|
43379
43379
|
}
|
|
43380
43380
|
b = !1;
|
|
43381
43381
|
}
|
|
@@ -43409,7 +43409,7 @@ function DV() {
|
|
|
43409
43409
|
var Y = p[N];
|
|
43410
43410
|
y == null && Y.source !== null && (y = Y.source._debugTask), Y = Y.value, P.push(["Error", typeof Y == "object" && Y !== null && typeof Y.message == "string" ? String(Y.message) : String(Y)]);
|
|
43411
43411
|
}
|
|
43412
|
-
n.key !== null &&
|
|
43412
|
+
n.key !== null && ye("key", n.key, P, 0, ""), n.memoizedProps !== null && Be(n.memoizedProps, P, 0, ""), y == null && (y = n._debugTask), n = {
|
|
43413
43413
|
start: r,
|
|
43414
43414
|
end: u,
|
|
43415
43415
|
detail: {
|
|
@@ -43434,7 +43434,7 @@ function DV() {
|
|
|
43434
43434
|
var N = b[P].value;
|
|
43435
43435
|
p.push(["Error", typeof N == "object" && N !== null && typeof N.message == "string" ? String(N.message) : String(N)]);
|
|
43436
43436
|
}
|
|
43437
|
-
n.key !== null &&
|
|
43437
|
+
n.key !== null && ye("key", n.key, p, 0, ""), n.memoizedProps !== null && Be(n.memoizedProps, p, 0, ""), r = {
|
|
43438
43438
|
start: r,
|
|
43439
43439
|
end: u,
|
|
43440
43440
|
detail: {
|
|
@@ -43593,7 +43593,7 @@ function DV() {
|
|
|
43593
43593
|
if (u !== void 0) return u;
|
|
43594
43594
|
OS = !0, u = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
|
|
43595
43595
|
var p = null;
|
|
43596
|
-
p =
|
|
43596
|
+
p = be.H, be.H = null, Je();
|
|
43597
43597
|
try {
|
|
43598
43598
|
var b = {
|
|
43599
43599
|
DetermineComponentFrameRoot: function() {
|
|
@@ -43661,7 +43661,7 @@ function DV() {
|
|
|
43661
43661
|
}
|
|
43662
43662
|
}
|
|
43663
43663
|
} finally {
|
|
43664
|
-
OS = !1,
|
|
43664
|
+
OS = !1, be.H = p, Ze(), Error.prepareStackTrace = u;
|
|
43665
43665
|
}
|
|
43666
43666
|
return se = (se = n ? n.displayName || n.name : "") ? ke(se) : "", typeof n == "function" && VS.set(n, se), se;
|
|
43667
43667
|
}
|
|
@@ -43781,21 +43781,21 @@ Error generating stack: ` + jt.message + `
|
|
|
43781
43781
|
return n === null && console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."), n;
|
|
43782
43782
|
}
|
|
43783
43783
|
function St(n, r) {
|
|
43784
|
-
|
|
43784
|
+
K(xu, r, n), K(cA, n, n), K(bu, null, n), r = Ya(r), Z(bu, n), K(bu, r, n);
|
|
43785
43785
|
}
|
|
43786
43786
|
function mt(n) {
|
|
43787
|
-
|
|
43787
|
+
Z(bu, n), Z(cA, n), Z(xu, n);
|
|
43788
43788
|
}
|
|
43789
43789
|
function xn() {
|
|
43790
43790
|
return Ie(bu.current);
|
|
43791
43791
|
}
|
|
43792
43792
|
function Dn(n) {
|
|
43793
|
-
n.memoizedState !== null &&
|
|
43793
|
+
n.memoizedState !== null && K(_0, n, n);
|
|
43794
43794
|
var r = Ie(bu.current), u = Ar(r, n.type);
|
|
43795
|
-
r !== u && (
|
|
43795
|
+
r !== u && (K(cA, n, n), K(bu, u, n));
|
|
43796
43796
|
}
|
|
43797
43797
|
function Ki(n) {
|
|
43798
|
-
cA.current === n && (
|
|
43798
|
+
cA.current === n && (Z(bu, n), Z(cA, n)), _0.current === n && (Z(_0, n), Vr ? Ws._currentValue = Gs : Ws._currentValue2 = Gs);
|
|
43799
43799
|
}
|
|
43800
43800
|
function Xr(n, r) {
|
|
43801
43801
|
return n.serverProps === void 0 && n.serverTail.length === 0 && n.children.length === 1 && 3 < n.distanceFromLeaf && n.distanceFromLeaf > 15 - r ? Xr(n.children[0], r) : n;
|
|
@@ -44060,7 +44060,7 @@ Error generating stack: ` + N.message + `
|
|
|
44060
44060
|
throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.");
|
|
44061
44061
|
}
|
|
44062
44062
|
function Ol(n) {
|
|
44063
|
-
|
|
44063
|
+
be.getCurrentStack = n === null ? null : sd, Ml = !1, fc = n;
|
|
44064
44064
|
}
|
|
44065
44065
|
function ia(n, r) {
|
|
44066
44066
|
if (n.return === null) {
|
|
@@ -44179,11 +44179,11 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44179
44179
|
Ip = ty = null, Np = !1;
|
|
44180
44180
|
}
|
|
44181
44181
|
function Ot(n, r, u) {
|
|
44182
|
-
Vr ? (
|
|
44182
|
+
Vr ? (K($0, r._currentValue, n), r._currentValue = u, K(WS, r._currentRenderer, n), r._currentRenderer !== void 0 && r._currentRenderer !== null && r._currentRenderer !== ey && console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."), r._currentRenderer = ey) : (K($0, r._currentValue2, n), r._currentValue2 = u, K(XS, r._currentRenderer2, n), r._currentRenderer2 !== void 0 && r._currentRenderer2 !== null && r._currentRenderer2 !== ey && console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."), r._currentRenderer2 = ey);
|
|
44183
44183
|
}
|
|
44184
44184
|
function At(n, r) {
|
|
44185
44185
|
var u = $0.current;
|
|
44186
|
-
Vr ? (n._currentValue = u, u = WS.current,
|
|
44186
|
+
Vr ? (n._currentValue = u, u = WS.current, Z(WS, r), n._currentRenderer = u) : (n._currentValue2 = u, u = XS.current, Z(XS, r), n._currentRenderer2 = u), Z($0, r);
|
|
44187
44187
|
}
|
|
44188
44188
|
function Ln(n, r, u) {
|
|
44189
44189
|
for (; n !== null; ) {
|
|
@@ -44379,7 +44379,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44379
44379
|
function ld() {
|
|
44380
44380
|
}
|
|
44381
44381
|
function Nr(n) {
|
|
44382
|
-
n !== Bp && n.next === null && (Bp === null ? oy = Bp = n : Bp = Bp.next = n), ly = !0,
|
|
44382
|
+
n !== Bp && n.next === null && (Bp === null ? oy = Bp = n : Bp = Bp.next = n), ly = !0, be.actQueue !== null ? QS || (QS = !0, $m()) : JS || (JS = !0, $m());
|
|
44383
44383
|
}
|
|
44384
44384
|
function Vl(n, r) {
|
|
44385
44385
|
if (!ZS && ly) {
|
|
@@ -44421,7 +44421,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44421
44421
|
}
|
|
44422
44422
|
if (r = ai, u = un, u = X(n, n === r ? u : 0, n.cancelPendingCommit !== null || n.timeoutHandle !== ja), p = n.callbackNode, u === 0 || n === r && ($n === yf || $n === bf) || n.cancelPendingCommit !== null) return p !== null && nh(p), n.callbackNode = null, n.callbackPriority = 0;
|
|
44423
44423
|
if ((u & 3) === 0 || Q(n, u)) {
|
|
44424
|
-
if (r = u & -u, r !== n.callbackPriority ||
|
|
44424
|
+
if (r = u & -u, r !== n.callbackPriority || be.actQueue !== null && p !== KS) nh(p);
|
|
44425
44425
|
else return r;
|
|
44426
44426
|
switch (ht(u)) {
|
|
44427
44427
|
case 2:
|
|
@@ -44437,7 +44437,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44437
44437
|
default:
|
|
44438
44438
|
u = sf;
|
|
44439
44439
|
}
|
|
44440
|
-
return p = th.bind(null, n),
|
|
44440
|
+
return p = th.bind(null, n), be.actQueue !== null ? (be.actQueue.push(p), u = KS) : u = zt(u, p), n.callbackPriority = r, n.callbackNode = u, r;
|
|
44441
44441
|
}
|
|
44442
44442
|
return p !== null && nh(p), n.callbackPriority = 2, n.callbackNode = null, 2;
|
|
44443
44443
|
}
|
|
@@ -44456,7 +44456,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44456
44456
|
n !== KS && n !== null && pi(n);
|
|
44457
44457
|
}
|
|
44458
44458
|
function $m() {
|
|
44459
|
-
|
|
44459
|
+
be.actQueue !== null && be.actQueue.push(function() {
|
|
44460
44460
|
return Oc(), null;
|
|
44461
44461
|
}), j0 ? Xs(function() {
|
|
44462
44462
|
(Tn & (kr | so)) !== Pr ? zt(In, cd) : Oc();
|
|
@@ -44511,7 +44511,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44511
44511
|
return n !== null ? n : ai.pooledCache;
|
|
44512
44512
|
}
|
|
44513
44513
|
function ud(n, r) {
|
|
44514
|
-
r === null ?
|
|
44514
|
+
r === null ? K(hf, hf.current, n) : K(hf, r.pool, n);
|
|
44515
44515
|
}
|
|
44516
44516
|
function sh() {
|
|
44517
44517
|
var n = rh();
|
|
@@ -44541,7 +44541,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44541
44541
|
return n = n.status, n === "fulfilled" || n === "rejected";
|
|
44542
44542
|
}
|
|
44543
44543
|
function ah(n, r, u) {
|
|
44544
|
-
|
|
44544
|
+
be.actQueue !== null && (be.didUsePromise = !0);
|
|
44545
44545
|
var p = n.thenables;
|
|
44546
44546
|
if (u = p[u], u === void 0 ? p.push(r) : u !== r && (n.didWarnAboutUncachedPromise || (n.didWarnAboutUncachedPromise = !0, console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")), r.then(ld, ld), r = u), r._debugInfo === void 0) {
|
|
44547
44547
|
n = performance.now(), p = r.displayName;
|
|
@@ -45128,29 +45128,29 @@ Please update the following component: %s`, b), KT = !0;
|
|
|
45128
45128
|
}
|
|
45129
45129
|
function ug(n, r) {
|
|
45130
45130
|
var u = Cl;
|
|
45131
|
-
|
|
45131
|
+
K(fy, u, n), K(Hp, r, n), Cl = u | r.baseLanes;
|
|
45132
45132
|
}
|
|
45133
45133
|
function fh(n) {
|
|
45134
|
-
|
|
45134
|
+
K(fy, Cl, n), K(Hp, Hp.current, n);
|
|
45135
45135
|
}
|
|
45136
45136
|
function yd(n) {
|
|
45137
|
-
Cl = fy.current,
|
|
45137
|
+
Cl = fy.current, Z(Hp, n), Z(fy, n);
|
|
45138
45138
|
}
|
|
45139
45139
|
function Ba(n) {
|
|
45140
45140
|
var r = n.alternate;
|
|
45141
|
-
|
|
45141
|
+
K(ji, ji.current & Gp, n), K(Ma, n, n), zo === null && (r === null || Hp.current !== null || r.memoizedState !== null) && (zo = n);
|
|
45142
45142
|
}
|
|
45143
45143
|
function hh(n) {
|
|
45144
|
-
|
|
45144
|
+
K(ji, ji.current, n), K(Ma, n, n), zo === null && (zo = n);
|
|
45145
45145
|
}
|
|
45146
45146
|
function ph(n) {
|
|
45147
|
-
n.tag === 22 ? (
|
|
45147
|
+
n.tag === 22 ? (K(ji, ji.current, n), K(Ma, n, n), zo === null && (zo = n)) : ua(n);
|
|
45148
45148
|
}
|
|
45149
45149
|
function ua(n) {
|
|
45150
|
-
|
|
45150
|
+
K(ji, ji.current, n), K(Ma, Ma.current, n);
|
|
45151
45151
|
}
|
|
45152
45152
|
function zr(n) {
|
|
45153
|
-
|
|
45153
|
+
Z(Ma, n), zo === n && (zo = null), Z(ji, n);
|
|
45154
45154
|
}
|
|
45155
45155
|
function bd(n) {
|
|
45156
45156
|
for (var r = n; r !== null; ) {
|
|
@@ -45221,7 +45221,7 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
45221
45221
|
return !0;
|
|
45222
45222
|
}
|
|
45223
45223
|
function ds(n, r, u, p, b, y) {
|
|
45224
|
-
vc = y, Qt = r, ro = n !== null ? n._debugHookTypes : null, bc = -1, EA = n !== null && n.type !== r.type, (Object.prototype.toString.call(u) === "[object AsyncFunction]" || Object.prototype.toString.call(u) === "[object AsyncGeneratorFunction]") && (y = V(Qt), oM.has(y) || (oM.add(y), console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.", y === null ? "An unknown Component" : "<" + y + ">"))), r.memoizedState = null, r.updateQueue = null, r.lanes = 0,
|
|
45224
|
+
vc = y, Qt = r, ro = n !== null ? n._debugHookTypes : null, bc = -1, EA = n !== null && n.type !== r.type, (Object.prototype.toString.call(u) === "[object AsyncFunction]" || Object.prototype.toString.call(u) === "[object AsyncGeneratorFunction]") && (y = V(Qt), oM.has(y) || (oM.add(y), console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.", y === null ? "An unknown Component" : "<" + y + ">"))), r.memoizedState = null, r.updateQueue = null, r.lanes = 0, be.H = n !== null && n.memoizedState !== null ? cM : ro !== null ? tE : lM, Af = y = (r.mode & 8) !== Xt;
|
|
45225
45225
|
var P = $S(u, p, b);
|
|
45226
45226
|
if (Af = !1, Xp && (P = gh(r, u, p, b)), y) {
|
|
45227
45227
|
tt(!0);
|
|
@@ -45238,7 +45238,7 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
45238
45238
|
lanes: 0,
|
|
45239
45239
|
firstContext: null,
|
|
45240
45240
|
_debugThenableState: yc
|
|
45241
|
-
}) : r.dependencies._debugThenableState = yc,
|
|
45241
|
+
}) : r.dependencies._debugThenableState = yc, be.H = CA;
|
|
45242
45242
|
var u = si !== null && si.next !== null;
|
|
45243
45243
|
if (vc = 0, ro = Se = ir = si = Qt = null, bc = -1, n !== null && (n.flags & 65011712) !== (r.flags & 65011712) && console.error("Internal React error: Expected static flag was missing. Please notify the React team."), py = !1, TA = 0, yc = null, u) throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");
|
|
45244
45244
|
n === null || rr || (n = n.dependencies, n !== null && Rn(n) && (rr = !0)), xA ? (xA = !1, n = !0) : n = !1, n && (r = V(r) || "Unknown", $T.has(r) || oM.has(r) || ($T.add(r), console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")));
|
|
@@ -45252,12 +45252,12 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
45252
45252
|
var y = n.updateQueue;
|
|
45253
45253
|
y.lastEffect = null, y.events = null, y.stores = null, y.memoCache != null && (y.memoCache.index = 0);
|
|
45254
45254
|
}
|
|
45255
|
-
bc = -1,
|
|
45255
|
+
bc = -1, be.H = nE, y = $S(r, u, p);
|
|
45256
45256
|
} while (Xp);
|
|
45257
45257
|
return y;
|
|
45258
45258
|
}
|
|
45259
45259
|
function dg() {
|
|
45260
|
-
var n =
|
|
45260
|
+
var n = be.H, r = n.useState()[0];
|
|
45261
45261
|
return r = typeof r.then == "function" ? Ao(r) : r, n = n.useState()[0], (si !== null ? si.memoizedState : null) !== n && (Qt.flags |= 1024), r;
|
|
45262
45262
|
}
|
|
45263
45263
|
function Ah() {
|
|
@@ -45316,7 +45316,7 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
45316
45316
|
}
|
|
45317
45317
|
function Ao(n) {
|
|
45318
45318
|
var r = TA;
|
|
45319
|
-
return TA += 1, yc === null && (yc = ng()), n = ah(yc, n, r), r = Qt, (ir === null ? r.memoizedState : ir.next) === null && (r = r.alternate,
|
|
45319
|
+
return TA += 1, yc === null && (yc = ng()), n = ah(yc, n, r), r = Qt, (ir === null ? r.memoizedState : ir.next) === null && (r = r.alternate, be.H = r !== null && r.memoizedState !== null ? cM : lM), n;
|
|
45320
45320
|
}
|
|
45321
45321
|
function On(n) {
|
|
45322
45322
|
if (n !== null && typeof n == "object") {
|
|
@@ -45573,21 +45573,21 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
45573
45573
|
y.listeners.push(P);
|
|
45574
45574
|
}
|
|
45575
45575
|
};
|
|
45576
|
-
|
|
45576
|
+
be.T !== null ? u(!0) : y.isTransition = !1, p(y), u = r.pending, u === null ? (y.next = r.pending = y, Ns(r, y)) : (y.next = u.next, r.pending = u.next = y);
|
|
45577
45577
|
}
|
|
45578
45578
|
}
|
|
45579
45579
|
function Ns(n, r) {
|
|
45580
45580
|
var u = r.action, p = r.payload, b = n.state;
|
|
45581
45581
|
if (r.isTransition) {
|
|
45582
|
-
var y =
|
|
45583
|
-
P._updatedFibers = /* @__PURE__ */ new Set(),
|
|
45582
|
+
var y = be.T, P = {};
|
|
45583
|
+
P._updatedFibers = /* @__PURE__ */ new Set(), be.T = P;
|
|
45584
45584
|
try {
|
|
45585
|
-
var N = u(b, p), Y =
|
|
45585
|
+
var N = u(b, p), Y = be.S;
|
|
45586
45586
|
Y !== null && Y(P, N), wh(n, r, N);
|
|
45587
45587
|
} catch (se) {
|
|
45588
45588
|
Th(n, r, se);
|
|
45589
45589
|
} finally {
|
|
45590
|
-
y !== null && P.types !== null && (y.types !== null && y.types !== P.types && console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."), y.types = P.types),
|
|
45590
|
+
y !== null && P.types !== null && (y.types !== null && y.types !== P.types && console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."), y.types = P.types), be.T = y, y === null && P._updatedFibers && (n = P._updatedFibers.size, P._updatedFibers.clear(), 10 < n && console.warn("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."));
|
|
45591
45591
|
}
|
|
45592
45592
|
} else try {
|
|
45593
45593
|
P = u(b, p), wh(n, r, P);
|
|
@@ -45596,7 +45596,7 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
45596
45596
|
}
|
|
45597
45597
|
}
|
|
45598
45598
|
function wh(n, r, u) {
|
|
45599
|
-
u !== null && typeof u == "object" && typeof u.then == "function" ? (
|
|
45599
|
+
u !== null && typeof u == "object" && typeof u.then == "function" ? (be.asyncTransitions++, u.then(Rd, Rd), u.then(function(p) {
|
|
45600
45600
|
gg(n, r, p);
|
|
45601
45601
|
}, function(p) {
|
|
45602
45602
|
return Th(n, r, p);
|
|
@@ -45824,17 +45824,17 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
45824
45824
|
return As(u, r) ? u : Hp.current !== null ? (n = Cd(n, u, p), As(n, r) || (rr = !0), n) : (vc & 42) === 0 || (vc & 1073741824) !== 0 && (un & 261930) === 0 ? (rr = !0, n.memoizedState = u) : (n = x0(), Qt.lanes |= n, ku |= n, r);
|
|
45825
45825
|
}
|
|
45826
45826
|
function Rd() {
|
|
45827
|
-
|
|
45827
|
+
be.asyncTransitions--;
|
|
45828
45828
|
}
|
|
45829
45829
|
function Br(n, r, u, p, b) {
|
|
45830
45830
|
var y = $r();
|
|
45831
45831
|
Ci(y !== 0 && 8 > y ? y : 8);
|
|
45832
|
-
var P =
|
|
45833
|
-
N._updatedFibers = /* @__PURE__ */ new Set(),
|
|
45832
|
+
var P = be.T, N = {};
|
|
45833
|
+
N._updatedFibers = /* @__PURE__ */ new Set(), be.T = N, Qc(n, !1, r, u);
|
|
45834
45834
|
try {
|
|
45835
|
-
var Y = b(), se =
|
|
45835
|
+
var Y = b(), se = be.S;
|
|
45836
45836
|
if (se !== null && se(N, Y), Y !== null && typeof Y == "object" && typeof Y.then == "function") {
|
|
45837
|
-
|
|
45837
|
+
be.asyncTransitions++, Y.then(Rd, Rd);
|
|
45838
45838
|
var xe = tg(Y, p);
|
|
45839
45839
|
Jc(n, r, xe, hs(n));
|
|
45840
45840
|
} else Jc(n, r, p, hs(n));
|
|
@@ -45846,7 +45846,7 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
45846
45846
|
reason: Te
|
|
45847
45847
|
}, hs(n));
|
|
45848
45848
|
} finally {
|
|
45849
|
-
Ci(y), P !== null && N.types !== null && (P.types !== null && P.types !== N.types && console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."), P.types = N.types),
|
|
45849
|
+
Ci(y), P !== null && N.types !== null && (P.types !== null && P.types !== N.types && console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."), P.types = N.types), be.T = P, P === null && N._updatedFibers && (n = N._updatedFibers.size, N._updatedFibers.clear(), 10 < n && console.warn("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."));
|
|
45850
45850
|
}
|
|
45851
45851
|
}
|
|
45852
45852
|
function yg(n) {
|
|
@@ -45952,14 +45952,14 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
45952
45952
|
else {
|
|
45953
45953
|
var y = n.alternate;
|
|
45954
45954
|
if (n.lanes === 0 && (y === null || y.lanes === 0) && (y = r.lastRenderedReducer, y !== null)) {
|
|
45955
|
-
var P =
|
|
45956
|
-
|
|
45955
|
+
var P = be.H;
|
|
45956
|
+
be.H = Bo;
|
|
45957
45957
|
try {
|
|
45958
45958
|
var N = r.lastRenderedState, Y = y(N, u);
|
|
45959
45959
|
if (b.hasEagerState = !0, b.eagerState = Y, As(Y, N)) return md(n, r, b, 0), ai === null && Hc(), !1;
|
|
45960
45960
|
} catch {
|
|
45961
45961
|
} finally {
|
|
45962
|
-
|
|
45962
|
+
be.H = P;
|
|
45963
45963
|
}
|
|
45964
45964
|
}
|
|
45965
45965
|
if (u = ch(n, r, b, p), u !== null) return li(u, n, p), $v(u, r, p), !0;
|
|
@@ -45967,7 +45967,7 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
45967
45967
|
return !1;
|
|
45968
45968
|
}
|
|
45969
45969
|
function Qc(n, r, u, p) {
|
|
45970
|
-
if (
|
|
45970
|
+
if (be.T === null && ff === 0 && console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."), p = {
|
|
45971
45971
|
lane: 2,
|
|
45972
45972
|
revertLane: ih(),
|
|
45973
45973
|
gesture: null,
|
|
@@ -46048,7 +46048,7 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
46048
46048
|
try {
|
|
46049
46049
|
qp = r.source ? V(r.source) : null, dM = null;
|
|
46050
46050
|
var u = r.value;
|
|
46051
|
-
if (
|
|
46051
|
+
if (be.actQueue !== null) be.thrownErrors.push(u);
|
|
46052
46052
|
else {
|
|
46053
46053
|
var p = n.onUncaughtError;
|
|
46054
46054
|
p(u, {
|
|
@@ -46437,7 +46437,7 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46437
46437
|
}
|
|
46438
46438
|
function kg(n, r, u) {
|
|
46439
46439
|
var p, b = r.pendingProps, y = b.revealOrder, P = b.tail, N = b.children, Y = ji.current;
|
|
46440
|
-
if ((b = (Y & wA) !== 0) ? (Y = Y & Gp | wA, r.flags |= 128) : Y &= Gp,
|
|
46440
|
+
if ((b = (Y & wA) !== 0) ? (Y = Y & Gp | wA, r.flags |= 128) : Y &= Gp, K(ji, Y, r), Y = (p = y) != null ? p : "null", y !== "forwards" && y !== "unstable_legacy-backwards" && y !== "together" && y !== "independent" && !vE[Y]) if (vE[Y] = !0, y == null) console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');
|
|
46441
46441
|
else if (y === "backwards") console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');
|
|
46442
46442
|
else if (typeof y == "string") switch (y.toLowerCase()) {
|
|
46443
46443
|
case "together":
|
|
@@ -46548,7 +46548,7 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46548
46548
|
if (p) return kg(n, r, u);
|
|
46549
46549
|
r.flags |= 128;
|
|
46550
46550
|
}
|
|
46551
|
-
if (b = r.memoizedState, b !== null && (b.rendering = null, b.tail = null, b.lastEffect = null),
|
|
46551
|
+
if (b = r.memoizedState, b !== null && (b.rendering = null, b.tail = null, b.lastEffect = null), K(ji, ji.current, r), p) break;
|
|
46552
46552
|
return null;
|
|
46553
46553
|
case 22:
|
|
46554
46554
|
return r.lanes = 0, zh(n, r, u, r.pendingProps);
|
|
@@ -46905,14 +46905,14 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46905
46905
|
case 10:
|
|
46906
46906
|
return At(r.type, r), jn(r), null;
|
|
46907
46907
|
case 19:
|
|
46908
|
-
if (
|
|
46908
|
+
if (Z(ji, r), p = r.memoizedState, p === null) return jn(r), null;
|
|
46909
46909
|
if (b = (r.flags & 128) !== 0, y = p.rendering, y === null)
|
|
46910
46910
|
if (b) jl(p, !1);
|
|
46911
46911
|
else {
|
|
46912
46912
|
if (Mi !== Sc || n !== null && (n.flags & 128) !== 0) for (n = r.child; n !== null; ) {
|
|
46913
46913
|
if (y = bd(n), y !== null) {
|
|
46914
46914
|
for (r.flags |= 128, jl(p, !1), n = y.updateQueue, r.updateQueue = n, Kc(r, n), r.subtreeFlags = 0, n = u, u = r.child; u !== null; ) Bi(u, n), u = u.sibling;
|
|
46915
|
-
return
|
|
46915
|
+
return K(ji, ji.current & Gp | wA, r), wn && Et(r, p.treeForkCount), r.child;
|
|
46916
46916
|
}
|
|
46917
46917
|
n = n.sibling;
|
|
46918
46918
|
}
|
|
@@ -46924,10 +46924,10 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46924
46924
|
} else 2 * Mn() - p.renderingStartTime > IA && u !== 536870912 && (r.flags |= 128, b = !0, jl(p, !1), r.lanes = 4194304);
|
|
46925
46925
|
p.isBackwards ? (y.sibling = r.child, r.child = y) : (n = p.last, n !== null ? n.sibling = y : r.child = y, p.last = y);
|
|
46926
46926
|
}
|
|
46927
|
-
return p.tail !== null ? (n = p.tail, p.rendering = n, p.tail = n.sibling, p.renderingStartTime = Mn(), n.sibling = null, u = ji.current, u = b ? u & Gp | wA : u & Gp,
|
|
46927
|
+
return p.tail !== null ? (n = p.tail, p.rendering = n, p.tail = n.sibling, p.renderingStartTime = Mn(), n.sibling = null, u = ji.current, u = b ? u & Gp | wA : u & Gp, K(ji, u, r), wn && Et(r, p.treeForkCount), n) : (jn(r), null);
|
|
46928
46928
|
case 22:
|
|
46929
46929
|
case 23:
|
|
46930
|
-
return zr(r), yd(r), p = r.memoizedState !== null, n !== null ? n.memoizedState !== null !== p && (r.flags |= 8192) : p && (r.flags |= 8192), p ? (u & 536870912) !== 0 && (r.flags & 128) === 0 && (jn(r), r.subtreeFlags & 6 && (r.flags |= 8192)) : jn(r), u = r.updateQueue, u !== null && Kc(r, u.retryQueue), u = null, n !== null && n.memoizedState !== null && n.memoizedState.cachePool !== null && (u = n.memoizedState.cachePool.pool), p = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (p = r.memoizedState.cachePool.pool), p !== u && (r.flags |= 2048), n !== null &&
|
|
46930
|
+
return zr(r), yd(r), p = r.memoizedState !== null, n !== null ? n.memoizedState !== null !== p && (r.flags |= 8192) : p && (r.flags |= 8192), p ? (u & 536870912) !== 0 && (r.flags & 128) === 0 && (jn(r), r.subtreeFlags & 6 && (r.flags |= 8192)) : jn(r), u = r.updateQueue, u !== null && Kc(r, u.retryQueue), u = null, n !== null && n.memoizedState !== null && n.memoizedState.cachePool !== null && (u = n.memoizedState.cachePool.pool), p = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (p = r.memoizedState.cachePool.pool), p !== u && (r.flags |= 2048), n !== null && Z(hf, r), null;
|
|
46931
46931
|
case 24:
|
|
46932
46932
|
return u = null, n !== null && (u = n.memoizedState.cache), r.memoizedState.cache !== u && (r.flags |= 2048), At(ki, r), jn(r), null;
|
|
46933
46933
|
case 25:
|
|
@@ -46960,14 +46960,14 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46960
46960
|
}
|
|
46961
46961
|
return n = r.flags, n & 65536 ? (r.flags = n & -65537 | 128, (r.mode & 2) !== Xt && od(r), r) : null;
|
|
46962
46962
|
case 19:
|
|
46963
|
-
return
|
|
46963
|
+
return Z(ji, r), null;
|
|
46964
46964
|
case 4:
|
|
46965
46965
|
return mt(r), null;
|
|
46966
46966
|
case 10:
|
|
46967
46967
|
return At(r.type, r), null;
|
|
46968
46968
|
case 22:
|
|
46969
46969
|
case 23:
|
|
46970
|
-
return zr(r), yd(r), n !== null &&
|
|
46970
|
+
return zr(r), yd(r), n !== null && Z(hf, r), n = r.flags, n & 65536 ? (r.flags = n & -65537 | 128, (r.mode & 2) !== Xt && od(r), r) : null;
|
|
46971
46971
|
case 24:
|
|
46972
46972
|
return At(ki, r), null;
|
|
46973
46973
|
case 25:
|
|
@@ -46996,14 +46996,14 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46996
46996
|
zr(r);
|
|
46997
46997
|
break;
|
|
46998
46998
|
case 19:
|
|
46999
|
-
|
|
46999
|
+
Z(ji, r);
|
|
47000
47000
|
break;
|
|
47001
47001
|
case 10:
|
|
47002
47002
|
At(r.type, r);
|
|
47003
47003
|
break;
|
|
47004
47004
|
case 22:
|
|
47005
47005
|
case 23:
|
|
47006
|
-
zr(r), yd(r), n !== null &&
|
|
47006
|
+
zr(r), yd(r), n !== null && Z(hf, r);
|
|
47007
47007
|
break;
|
|
47008
47008
|
case 24:
|
|
47009
47009
|
At(ki, r);
|
|
@@ -48094,11 +48094,11 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48094
48094
|
}
|
|
48095
48095
|
function b0() {
|
|
48096
48096
|
var n = typeof IS_REACT_ACT_ENVIRONMENT < "u" ? IS_REACT_ACT_ENVIRONMENT : void 0;
|
|
48097
|
-
return n ||
|
|
48097
|
+
return n || be.actQueue === null || console.error("The current testing environment is not configured to support act(...)"), n;
|
|
48098
48098
|
}
|
|
48099
48099
|
function hs(n) {
|
|
48100
48100
|
if ((Tn & kr) !== Pr && un !== 0) return un & -un;
|
|
48101
|
-
var r =
|
|
48101
|
+
var r = be.T;
|
|
48102
48102
|
return r !== null ? (r._updatedFibers || (r._updatedFibers = /* @__PURE__ */ new Set()), r._updatedFibers.add(n), ih()) : $g();
|
|
48103
48103
|
}
|
|
48104
48104
|
function x0() {
|
|
@@ -48193,7 +48193,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48193
48193
|
default:
|
|
48194
48194
|
throw Error("Unknown root exit status.");
|
|
48195
48195
|
}
|
|
48196
|
-
if (
|
|
48196
|
+
if (be.actQueue !== null) qg(u, b, r, xs, NA, Ry, js, Du, xf, y, null, null, is, p);
|
|
48197
48197
|
else {
|
|
48198
48198
|
if ((r & 62914560) === r && (P = Py + TE - Mn(), 10 < P)) {
|
|
48199
48199
|
if (wo(u, r, js, !Pu), X(u, 0, !0) !== 0) break e;
|
|
@@ -48315,10 +48315,10 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48315
48315
|
}
|
|
48316
48316
|
}
|
|
48317
48317
|
}, p ? p.run(performance.measure.bind(performance, b, u)) : performance.measure(b, u))), to = gc = -1.1, jS = 0, ry = -1.1, Eu = Tu, Tu = -1.1, mc = nr()), u = n.timeoutHandle, u !== ja && (n.timeoutHandle = ja, _g(u)), u = n.cancelPendingCommit, u !== null && (n.cancelPendingCommit = null, u()), Fo = 0, qd(), ai = n, mn = u = To(n.current, null), un = r, $n = Ys, Ta = null, Pu = !1, Zp = Q(n, r), AM = !1, Mi = Sc, xf = js = vM = Du = ku = 0, xs = LA = null, Ry = !1, (r & 8) !== 0 && (r |= r & 32), p = n.entangledLanes, p !== 0) for (n = n.entanglements, p &= r; 0 < p; ) b = 31 - Yi(p), y = 1 << b, r |= n[b], p &= ~y;
|
|
48318
|
-
return Cl = r, Hc(), n = pT(), 1e3 < n - hT && (
|
|
48318
|
+
return Cl = r, Hc(), n = pT(), 1e3 < n - hT && (be.recentlyCreatedOwnerStacks = 0, hT = n), No.discardPendingWarnings(), u;
|
|
48319
48319
|
}
|
|
48320
48320
|
function w0(n, r) {
|
|
48321
|
-
Qt = null,
|
|
48321
|
+
Qt = null, be.H = CA, be.getCurrentStack = null, Ml = !1, fc = null, r === Fp || r === uy ? (r = rg(), $n = kA) : r === tM ? (r = rg(), $n = ME) : $n = r === fM ? gM : r !== null && typeof r == "object" && typeof r.then == "function" ? DA : Ey, Ta = r;
|
|
48322
48322
|
var u = mn;
|
|
48323
48323
|
u === null ? (Mi = PA, kd(n, pt(r, n.current))) : u.mode & 2 && eh(u);
|
|
48324
48324
|
}
|
|
@@ -48327,12 +48327,12 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48327
48327
|
return n === null ? !0 : (un & 4194048) === un ? zo === null : (un & 62914560) === un || (un & 536870912) !== 0 ? n === zo : !1;
|
|
48328
48328
|
}
|
|
48329
48329
|
function Wg() {
|
|
48330
|
-
var n =
|
|
48331
|
-
return
|
|
48330
|
+
var n = be.H;
|
|
48331
|
+
return be.H = CA, n === null ? CA : n;
|
|
48332
48332
|
}
|
|
48333
48333
|
function E0() {
|
|
48334
|
-
var n =
|
|
48335
|
-
return
|
|
48334
|
+
var n = be.A;
|
|
48335
|
+
return be.A = $P, n;
|
|
48336
48336
|
}
|
|
48337
48337
|
function Zh(n) {
|
|
48338
48338
|
Hi === null && (Hi = n._debugTask == null ? null : n._debugTask);
|
|
@@ -48381,7 +48381,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48381
48381
|
w0(n, xe);
|
|
48382
48382
|
}
|
|
48383
48383
|
while (!0);
|
|
48384
|
-
return r && n.shellSuspendCounter++, Yt(), Tn = p,
|
|
48384
|
+
return r && n.shellSuspendCounter++, Yt(), Tn = p, be.H = b, be.A = y, mn === null && (ai = null, un = 0, Hc()), P;
|
|
48385
48385
|
}
|
|
48386
48386
|
function C0() {
|
|
48387
48387
|
for (; mn !== null; ) R0(mn);
|
|
@@ -48455,13 +48455,13 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48455
48455
|
default:
|
|
48456
48456
|
throw Error("Unexpected SuspendedReason. This is a bug in React.");
|
|
48457
48457
|
}
|
|
48458
|
-
|
|
48458
|
+
be.actQueue !== null ? C0() : ES();
|
|
48459
48459
|
break;
|
|
48460
48460
|
} catch (ze) {
|
|
48461
48461
|
w0(n, ze);
|
|
48462
48462
|
}
|
|
48463
48463
|
while (!0);
|
|
48464
|
-
return Yt(),
|
|
48464
|
+
return Yt(), be.H = p, be.A = b, Tn = u, mn !== null ? Sc : (ai = null, un = 0, Hc(), Mi);
|
|
48465
48465
|
}
|
|
48466
48466
|
function ES() {
|
|
48467
48467
|
for (; mn !== null && !Wt(); ) R0(mn);
|
|
@@ -48557,11 +48557,11 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48557
48557
|
if (y = r.lanes | r.childLanes, y |= iM, Ue(n, u, y, P, N, Y), n === ai && (mn = ai = null, un = 0), Kp = r, Nu = n, Fo = u, SM = y, wM = b, DE = p, MM = Dt, LE = Te, Oo = ky, IE = null, r.actualDuration !== 0 || (r.subtreeFlags & 10256) !== 0 || (r.flags & 10256) !== 0 ? (n.callbackNode = null, n.callbackPriority = 0, O0(sf, function() {
|
|
48558
48558
|
return lu(), Oo === ky && (Oo = xM), z0(), null;
|
|
48559
48559
|
})) : (n.callbackNode = null, n.callbackPriority = 0), pc = null, Mu = nr(), Te !== null && de(Dt, Mu, Te, Hi), p = (r.flags & 13878) !== 0, (r.subtreeFlags & 13878) !== 0 || p) {
|
|
48560
|
-
p =
|
|
48560
|
+
p = be.T, be.T = null, b = $r(), Ci(2), P = Tn, Tn |= so;
|
|
48561
48561
|
try {
|
|
48562
48562
|
SS(n, r, u);
|
|
48563
48563
|
} finally {
|
|
48564
|
-
Tn = P, Ci(b),
|
|
48564
|
+
Tn = P, Ci(b), be.T = p;
|
|
48565
48565
|
}
|
|
48566
48566
|
}
|
|
48567
48567
|
or = CE, D0(), L0(), I0();
|
|
@@ -48572,7 +48572,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48572
48572
|
or = Iu;
|
|
48573
48573
|
var n = Nu, r = Kp, u = Fo, p = (r.flags & 13878) !== 0;
|
|
48574
48574
|
if ((r.subtreeFlags & 13878) !== 0 || p) {
|
|
48575
|
-
p =
|
|
48575
|
+
p = be.T, be.T = null;
|
|
48576
48576
|
var b = $r();
|
|
48577
48577
|
Ci(2);
|
|
48578
48578
|
var y = Tn;
|
|
@@ -48580,7 +48580,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48580
48580
|
try {
|
|
48581
48581
|
jp = u, Jp = n, Yr(), c0(r, n), Jp = jp = null, hl(n.containerInfo);
|
|
48582
48582
|
} finally {
|
|
48583
|
-
Tn = y, Ci(b),
|
|
48583
|
+
Tn = y, Ci(b), be.T = p;
|
|
48584
48584
|
}
|
|
48585
48585
|
}
|
|
48586
48586
|
n.current = r, or = RE;
|
|
@@ -48598,7 +48598,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48598
48598
|
n = Nu, r = Kp, u = Fo;
|
|
48599
48599
|
var p = (r.flags & 8772) !== 0;
|
|
48600
48600
|
if ((r.subtreeFlags & 8772) !== 0 || p) {
|
|
48601
|
-
p =
|
|
48601
|
+
p = be.T, be.T = null;
|
|
48602
48602
|
var b = $r();
|
|
48603
48603
|
Ci(2);
|
|
48604
48604
|
var y = Tn;
|
|
@@ -48606,7 +48606,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48606
48606
|
try {
|
|
48607
48607
|
jp = u, Jp = n, Yr(), Xi(n, r.alternate, r), Jp = jp = null;
|
|
48608
48608
|
} finally {
|
|
48609
|
-
Tn = y, Ci(b),
|
|
48609
|
+
Tn = y, Ci(b), be.T = p;
|
|
48610
48610
|
}
|
|
48611
48611
|
}
|
|
48612
48612
|
n = MM, r = LE, hc = nr(), n = r === null ? n : Mu, r = hc, u = Oo === bM, p = Hi, pc !== null ? pe(n, r, pc, !1, p) : !di || r <= n || (p ? p.run(console.timeStamp.bind(console, u ? "Commit Interrupted View Transition" : "Commit", n, r, Pn, "Scheduler ⚛", u ? "error" : "secondary-dark")) : console.timeStamp(u ? "Commit Interrupted View Transition" : "Commit", n, r, Pn, "Scheduler ⚛", u ? "error" : "secondary-dark")), or = PE;
|
|
@@ -48649,7 +48649,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48649
48649
|
xl || (xl = !0, console.error("React instrumentation encountered an error: %o", Te));
|
|
48650
48650
|
}
|
|
48651
48651
|
if (Sl && n.memoizedUpdaters.clear(), wS(), u !== null) {
|
|
48652
|
-
P =
|
|
48652
|
+
P = be.T, N = $r(), Ci(2), be.T = null;
|
|
48653
48653
|
try {
|
|
48654
48654
|
var Y = n.onRecoverableError;
|
|
48655
48655
|
for (p = 0; p < u.length; p++) {
|
|
@@ -48657,7 +48657,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48657
48657
|
bt(se.source, Y, se.value, xe);
|
|
48658
48658
|
}
|
|
48659
48659
|
} finally {
|
|
48660
|
-
|
|
48660
|
+
be.T = P, Ci(N);
|
|
48661
48661
|
}
|
|
48662
48662
|
}
|
|
48663
48663
|
(Fo & 3) !== 0 && tu(), Nr(n), y = n.pendingLanes, (r & 261930) !== 0 && (y & 42) !== 0 ? (ay = !0, n === TM ? zA++ : (zA = 0, TM = n)) : zA = 0, b || Kl(r, hc), Cr && sA(), Vl(0);
|
|
@@ -48683,10 +48683,10 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48683
48683
|
var n = Nu, r = SM;
|
|
48684
48684
|
SM = 0;
|
|
48685
48685
|
var u = ht(Fo), p = 32 > u ? 32 : u;
|
|
48686
|
-
u =
|
|
48686
|
+
u = be.T;
|
|
48687
48687
|
var b = $r();
|
|
48688
48688
|
try {
|
|
48689
|
-
Ci(p),
|
|
48689
|
+
Ci(p), be.T = null;
|
|
48690
48690
|
var y = wM;
|
|
48691
48691
|
wM = null, p = Nu;
|
|
48692
48692
|
var P = Fo;
|
|
@@ -48715,7 +48715,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48715
48715
|
var jt = p.current.stateNode;
|
|
48716
48716
|
return jt.effectDuration = 0, jt.passiveEffectDuration = 0, !0;
|
|
48717
48717
|
} finally {
|
|
48718
|
-
Ci(b),
|
|
48718
|
+
Ci(b), be.T = u, N0(n, r);
|
|
48719
48719
|
}
|
|
48720
48720
|
}
|
|
48721
48721
|
function B0(n, r, u) {
|
|
@@ -48756,7 +48756,7 @@ Error message:
|
|
|
48756
48756
|
}
|
|
48757
48757
|
function PS(n, r, u) {
|
|
48758
48758
|
var p = n.pingCache;
|
|
48759
|
-
p !== null && p.delete(r), n.pingedLanes |= n.suspendedLanes & u, n.warmLanes &= ~u, (u & 127) !== 0 ? 0 > Tl && (lf = Tl = nr(), uA = ny("Promise Resolved"), wu = 2) : (u & 4194048) !== 0 && 0 > to && (mc = to = nr(), fA = ny("Promise Resolved"), jS = 2), b0() &&
|
|
48759
|
+
p !== null && p.delete(r), n.pingedLanes |= n.suspendedLanes & u, n.warmLanes &= ~u, (u & 127) !== 0 ? 0 > Tl && (lf = Tl = nr(), uA = ny("Promise Resolved"), wu = 2) : (u & 4194048) !== 0 && 0 > to && (mc = to = nr(), fA = ny("Promise Resolved"), jS = 2), b0() && be.actQueue === null && console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
48760
48760
|
|
|
48761
48761
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
48762
48762
|
|
|
@@ -48831,11 +48831,11 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
48831
48831
|
});
|
|
48832
48832
|
}
|
|
48833
48833
|
function O0(n, r) {
|
|
48834
|
-
var u =
|
|
48834
|
+
var u = be.actQueue;
|
|
48835
48835
|
return u !== null ? (u.push(r), ik) : zt(n, r);
|
|
48836
48836
|
}
|
|
48837
48837
|
function V0(n) {
|
|
48838
|
-
b0() &&
|
|
48838
|
+
b0() && be.actQueue === null && bt(n, function() {
|
|
48839
48839
|
console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
48840
48840
|
|
|
48841
48841
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
@@ -49051,7 +49051,7 @@ Check the render method of %s.`, V(fc) || "Unknown")), p = go(r), p.payload = {
|
|
|
49051
49051
|
function sp() {
|
|
49052
49052
|
return fc;
|
|
49053
49053
|
}
|
|
49054
|
-
var pn = {}, LS = Il, Kr = pP, Yn = Object.assign, q0 = Symbol.for("react.element"), Eo = Symbol.for("react.transitional.element"), Co = Symbol.for("react.portal"), su = Symbol.for("react.fragment"), ap = Symbol.for("react.strict_mode"), Zg = Symbol.for("react.profiler"), tc = Symbol.for("react.consumer"), Ei = Symbol.for("react.context"), gr = Symbol.for("react.forward_ref"), op = Symbol.for("react.suspense"), Kg = Symbol.for("react.suspense_list"), au = Symbol.for("react.memo"), _r = Symbol.for("react.lazy"), Qd = Symbol.for("react.activity"), Y0 = Symbol.for("react.memo_cache_sentinel"), nc = Symbol.iterator, ou = Symbol.for("react.client.reference"), Ui = Array.isArray,
|
|
49054
|
+
var pn = {}, LS = Il, Kr = pP, Yn = Object.assign, q0 = Symbol.for("react.element"), Eo = Symbol.for("react.transitional.element"), Co = Symbol.for("react.portal"), su = Symbol.for("react.fragment"), ap = Symbol.for("react.strict_mode"), Zg = Symbol.for("react.profiler"), tc = Symbol.for("react.consumer"), Ei = Symbol.for("react.context"), gr = Symbol.for("react.forward_ref"), op = Symbol.for("react.suspense"), Kg = Symbol.for("react.suspense_list"), au = Symbol.for("react.memo"), _r = Symbol.for("react.lazy"), Qd = Symbol.for("react.activity"), Y0 = Symbol.for("react.memo_cache_sentinel"), nc = Symbol.iterator, ou = Symbol.for("react.client.reference"), Ui = Array.isArray, be = LS.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Os = e.rendererVersion, Vs = e.rendererPackageName, Ro = e.extraDevToolsConfig, Or = e.getPublicInstance, Ya = e.getRootHostContext, Ar = e.getChildHostContext, Zd = e.prepareForCommit, hl = e.resetAfterCommit, lp = e.createInstance;
|
|
49055
49055
|
e.cloneMutableInstance;
|
|
49056
49056
|
var qi = e.appendInitialChild, ci = e.finalizeInitialChildren, vn = e.shouldSetTextContent, Po = e.createTextInstance;
|
|
49057
49057
|
e.cloneMutableTextInstance;
|
|
@@ -49135,8 +49135,8 @@ Check the render method of %s.`, V(fc) || "Unknown")), p = go(r), p.payload = {
|
|
|
49135
49135
|
_currentRenderer2: null
|
|
49136
49136
|
}, nr = Kr.unstable_now, ny = console.createTask ? console.createTask : function() {
|
|
49137
49137
|
return null;
|
|
49138
|
-
}, is = -0, Mu = -0, hc = -0, pc = null, vs = -1.1, of = -0, Si = -0, Bt = -1.1, Vt = -1.1, mi = null, Di = !1, lf = -0, Tl = -1.1, uA = null, wu = 0, qS = null, YS = null, cf = -1.1, dA = null, zp = -1.1, iy = -1.1, mc = -0, gc = -1.1, to = -1.1, jS = 0, fA = null, TT = null, ET = null, Tu = -1.1, uf = null, Eu = -1.1, ry = -1.1, CT = null, RT = 0, hA = -1.1, sy = !1, ay = !1, oy = null, Bp = null, JS = !1, QS = !1, ly = !1, ZS = !1, df = 0, KS = {}, pA = null, _S = 0, ff = 0, Up = null, PT =
|
|
49139
|
-
|
|
49138
|
+
}, is = -0, Mu = -0, hc = -0, pc = null, vs = -1.1, of = -0, Si = -0, Bt = -1.1, Vt = -1.1, mi = null, Di = !1, lf = -0, Tl = -1.1, uA = null, wu = 0, qS = null, YS = null, cf = -1.1, dA = null, zp = -1.1, iy = -1.1, mc = -0, gc = -1.1, to = -1.1, jS = 0, fA = null, TT = null, ET = null, Tu = -1.1, uf = null, Eu = -1.1, ry = -1.1, CT = null, RT = 0, hA = -1.1, sy = !1, ay = !1, oy = null, Bp = null, JS = !1, QS = !1, ly = !1, ZS = !1, df = 0, KS = {}, pA = null, _S = 0, ff = 0, Up = null, PT = be.S;
|
|
49139
|
+
be.S = function(n, r) {
|
|
49140
49140
|
if (wE = Mn(), typeof r == "object" && r !== null && typeof r.then == "function") {
|
|
49141
49141
|
if (0 > gc && 0 > to) {
|
|
49142
49142
|
gc = nr();
|
|
@@ -49392,22 +49392,22 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49392
49392
|
},
|
|
49393
49393
|
useMemo: function(n, r) {
|
|
49394
49394
|
Se = "useMemo", en(), jr(r);
|
|
49395
|
-
var u =
|
|
49396
|
-
|
|
49395
|
+
var u = be.H;
|
|
49396
|
+
be.H = El;
|
|
49397
49397
|
try {
|
|
49398
49398
|
return Rh(n, r);
|
|
49399
49399
|
} finally {
|
|
49400
|
-
|
|
49400
|
+
be.H = u;
|
|
49401
49401
|
}
|
|
49402
49402
|
},
|
|
49403
49403
|
useReducer: function(n, r, u) {
|
|
49404
49404
|
Se = "useReducer", en();
|
|
49405
|
-
var p =
|
|
49406
|
-
|
|
49405
|
+
var p = be.H;
|
|
49406
|
+
be.H = El;
|
|
49407
49407
|
try {
|
|
49408
49408
|
return yh(n, r, u);
|
|
49409
49409
|
} finally {
|
|
49410
|
-
|
|
49410
|
+
be.H = p;
|
|
49411
49411
|
}
|
|
49412
49412
|
},
|
|
49413
49413
|
useRef: function(n) {
|
|
@@ -49415,12 +49415,12 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49415
49415
|
},
|
|
49416
49416
|
useState: function(n) {
|
|
49417
49417
|
Se = "useState", en();
|
|
49418
|
-
var r =
|
|
49419
|
-
|
|
49418
|
+
var r = be.H;
|
|
49419
|
+
be.H = El;
|
|
49420
49420
|
try {
|
|
49421
49421
|
return Yc(n);
|
|
49422
49422
|
} finally {
|
|
49423
|
-
|
|
49423
|
+
be.H = r;
|
|
49424
49424
|
}
|
|
49425
49425
|
},
|
|
49426
49426
|
useDebugValue: function() {
|
|
@@ -49480,22 +49480,22 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49480
49480
|
},
|
|
49481
49481
|
useMemo: function(n, r) {
|
|
49482
49482
|
Se = "useMemo", He();
|
|
49483
|
-
var u =
|
|
49484
|
-
|
|
49483
|
+
var u = be.H;
|
|
49484
|
+
be.H = El;
|
|
49485
49485
|
try {
|
|
49486
49486
|
return Rh(n, r);
|
|
49487
49487
|
} finally {
|
|
49488
|
-
|
|
49488
|
+
be.H = u;
|
|
49489
49489
|
}
|
|
49490
49490
|
},
|
|
49491
49491
|
useReducer: function(n, r, u) {
|
|
49492
49492
|
Se = "useReducer", He();
|
|
49493
|
-
var p =
|
|
49494
|
-
|
|
49493
|
+
var p = be.H;
|
|
49494
|
+
be.H = El;
|
|
49495
49495
|
try {
|
|
49496
49496
|
return yh(n, r, u);
|
|
49497
49497
|
} finally {
|
|
49498
|
-
|
|
49498
|
+
be.H = p;
|
|
49499
49499
|
}
|
|
49500
49500
|
},
|
|
49501
49501
|
useRef: function(n) {
|
|
@@ -49503,12 +49503,12 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49503
49503
|
},
|
|
49504
49504
|
useState: function(n) {
|
|
49505
49505
|
Se = "useState", He();
|
|
49506
|
-
var r =
|
|
49507
|
-
|
|
49506
|
+
var r = be.H;
|
|
49507
|
+
be.H = El;
|
|
49508
49508
|
try {
|
|
49509
49509
|
return Yc(n);
|
|
49510
49510
|
} finally {
|
|
49511
|
-
|
|
49511
|
+
be.H = r;
|
|
49512
49512
|
}
|
|
49513
49513
|
},
|
|
49514
49514
|
useDebugValue: function() {
|
|
@@ -49568,22 +49568,22 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49568
49568
|
},
|
|
49569
49569
|
useMemo: function(n, r) {
|
|
49570
49570
|
Se = "useMemo", He();
|
|
49571
|
-
var u =
|
|
49572
|
-
|
|
49571
|
+
var u = be.H;
|
|
49572
|
+
be.H = Bo;
|
|
49573
49573
|
try {
|
|
49574
49574
|
return jc(n, r);
|
|
49575
49575
|
} finally {
|
|
49576
|
-
|
|
49576
|
+
be.H = u;
|
|
49577
49577
|
}
|
|
49578
49578
|
},
|
|
49579
49579
|
useReducer: function(n, r, u) {
|
|
49580
49580
|
Se = "useReducer", He();
|
|
49581
|
-
var p =
|
|
49582
|
-
|
|
49581
|
+
var p = be.H;
|
|
49582
|
+
be.H = Bo;
|
|
49583
49583
|
try {
|
|
49584
49584
|
return Ua(n, r, u);
|
|
49585
49585
|
} finally {
|
|
49586
|
-
|
|
49586
|
+
be.H = p;
|
|
49587
49587
|
}
|
|
49588
49588
|
},
|
|
49589
49589
|
useRef: function() {
|
|
@@ -49591,12 +49591,12 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49591
49591
|
},
|
|
49592
49592
|
useState: function() {
|
|
49593
49593
|
Se = "useState", He();
|
|
49594
|
-
var n =
|
|
49595
|
-
|
|
49594
|
+
var n = be.H;
|
|
49595
|
+
be.H = Bo;
|
|
49596
49596
|
try {
|
|
49597
49597
|
return Ua(da);
|
|
49598
49598
|
} finally {
|
|
49599
|
-
|
|
49599
|
+
be.H = n;
|
|
49600
49600
|
}
|
|
49601
49601
|
},
|
|
49602
49602
|
useDebugValue: function() {
|
|
@@ -49656,22 +49656,22 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49656
49656
|
},
|
|
49657
49657
|
useMemo: function(n, r) {
|
|
49658
49658
|
Se = "useMemo", He();
|
|
49659
|
-
var u =
|
|
49660
|
-
|
|
49659
|
+
var u = be.H;
|
|
49660
|
+
be.H = gy;
|
|
49661
49661
|
try {
|
|
49662
49662
|
return jc(n, r);
|
|
49663
49663
|
} finally {
|
|
49664
|
-
|
|
49664
|
+
be.H = u;
|
|
49665
49665
|
}
|
|
49666
49666
|
},
|
|
49667
49667
|
useReducer: function(n, r, u) {
|
|
49668
49668
|
Se = "useReducer", He();
|
|
49669
|
-
var p =
|
|
49670
|
-
|
|
49669
|
+
var p = be.H;
|
|
49670
|
+
be.H = gy;
|
|
49671
49671
|
try {
|
|
49672
49672
|
return qc(n, r, u);
|
|
49673
49673
|
} finally {
|
|
49674
|
-
|
|
49674
|
+
be.H = p;
|
|
49675
49675
|
}
|
|
49676
49676
|
},
|
|
49677
49677
|
useRef: function() {
|
|
@@ -49679,12 +49679,12 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49679
49679
|
},
|
|
49680
49680
|
useState: function() {
|
|
49681
49681
|
Se = "useState", He();
|
|
49682
|
-
var n =
|
|
49683
|
-
|
|
49682
|
+
var n = be.H;
|
|
49683
|
+
be.H = gy;
|
|
49684
49684
|
try {
|
|
49685
49685
|
return qc(da);
|
|
49686
49686
|
} finally {
|
|
49687
|
-
|
|
49687
|
+
be.H = n;
|
|
49688
49688
|
}
|
|
49689
49689
|
},
|
|
49690
49690
|
useDebugValue: function() {
|
|
@@ -49746,22 +49746,22 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49746
49746
|
},
|
|
49747
49747
|
useMemo: function(n, r) {
|
|
49748
49748
|
Se = "useMemo", S(), en();
|
|
49749
|
-
var u =
|
|
49750
|
-
|
|
49749
|
+
var u = be.H;
|
|
49750
|
+
be.H = El;
|
|
49751
49751
|
try {
|
|
49752
49752
|
return Rh(n, r);
|
|
49753
49753
|
} finally {
|
|
49754
|
-
|
|
49754
|
+
be.H = u;
|
|
49755
49755
|
}
|
|
49756
49756
|
},
|
|
49757
49757
|
useReducer: function(n, r, u) {
|
|
49758
49758
|
Se = "useReducer", S(), en();
|
|
49759
|
-
var p =
|
|
49760
|
-
|
|
49759
|
+
var p = be.H;
|
|
49760
|
+
be.H = El;
|
|
49761
49761
|
try {
|
|
49762
49762
|
return yh(n, r, u);
|
|
49763
49763
|
} finally {
|
|
49764
|
-
|
|
49764
|
+
be.H = p;
|
|
49765
49765
|
}
|
|
49766
49766
|
},
|
|
49767
49767
|
useRef: function(n) {
|
|
@@ -49769,12 +49769,12 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49769
49769
|
},
|
|
49770
49770
|
useState: function(n) {
|
|
49771
49771
|
Se = "useState", S(), en();
|
|
49772
|
-
var r =
|
|
49773
|
-
|
|
49772
|
+
var r = be.H;
|
|
49773
|
+
be.H = El;
|
|
49774
49774
|
try {
|
|
49775
49775
|
return Yc(n);
|
|
49776
49776
|
} finally {
|
|
49777
|
-
|
|
49777
|
+
be.H = r;
|
|
49778
49778
|
}
|
|
49779
49779
|
},
|
|
49780
49780
|
useDebugValue: function() {
|
|
@@ -49838,22 +49838,22 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49838
49838
|
},
|
|
49839
49839
|
useMemo: function(n, r) {
|
|
49840
49840
|
Se = "useMemo", S(), He();
|
|
49841
|
-
var u =
|
|
49842
|
-
|
|
49841
|
+
var u = be.H;
|
|
49842
|
+
be.H = Bo;
|
|
49843
49843
|
try {
|
|
49844
49844
|
return jc(n, r);
|
|
49845
49845
|
} finally {
|
|
49846
|
-
|
|
49846
|
+
be.H = u;
|
|
49847
49847
|
}
|
|
49848
49848
|
},
|
|
49849
49849
|
useReducer: function(n, r, u) {
|
|
49850
49850
|
Se = "useReducer", S(), He();
|
|
49851
|
-
var p =
|
|
49852
|
-
|
|
49851
|
+
var p = be.H;
|
|
49852
|
+
be.H = Bo;
|
|
49853
49853
|
try {
|
|
49854
49854
|
return Ua(n, r, u);
|
|
49855
49855
|
} finally {
|
|
49856
|
-
|
|
49856
|
+
be.H = p;
|
|
49857
49857
|
}
|
|
49858
49858
|
},
|
|
49859
49859
|
useRef: function() {
|
|
@@ -49861,12 +49861,12 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49861
49861
|
},
|
|
49862
49862
|
useState: function() {
|
|
49863
49863
|
Se = "useState", S(), He();
|
|
49864
|
-
var n =
|
|
49865
|
-
|
|
49864
|
+
var n = be.H;
|
|
49865
|
+
be.H = Bo;
|
|
49866
49866
|
try {
|
|
49867
49867
|
return Ua(da);
|
|
49868
49868
|
} finally {
|
|
49869
|
-
|
|
49869
|
+
be.H = n;
|
|
49870
49870
|
}
|
|
49871
49871
|
},
|
|
49872
49872
|
useDebugValue: function() {
|
|
@@ -49930,22 +49930,22 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49930
49930
|
},
|
|
49931
49931
|
useMemo: function(n, r) {
|
|
49932
49932
|
Se = "useMemo", S(), He();
|
|
49933
|
-
var u =
|
|
49934
|
-
|
|
49933
|
+
var u = be.H;
|
|
49934
|
+
be.H = Bo;
|
|
49935
49935
|
try {
|
|
49936
49936
|
return jc(n, r);
|
|
49937
49937
|
} finally {
|
|
49938
|
-
|
|
49938
|
+
be.H = u;
|
|
49939
49939
|
}
|
|
49940
49940
|
},
|
|
49941
49941
|
useReducer: function(n, r, u) {
|
|
49942
49942
|
Se = "useReducer", S(), He();
|
|
49943
|
-
var p =
|
|
49944
|
-
|
|
49943
|
+
var p = be.H;
|
|
49944
|
+
be.H = Bo;
|
|
49945
49945
|
try {
|
|
49946
49946
|
return qc(n, r, u);
|
|
49947
49947
|
} finally {
|
|
49948
|
-
|
|
49948
|
+
be.H = p;
|
|
49949
49949
|
}
|
|
49950
49950
|
},
|
|
49951
49951
|
useRef: function() {
|
|
@@ -49953,12 +49953,12 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49953
49953
|
},
|
|
49954
49954
|
useState: function() {
|
|
49955
49955
|
Se = "useState", S(), He();
|
|
49956
|
-
var n =
|
|
49957
|
-
|
|
49956
|
+
var n = be.H;
|
|
49957
|
+
be.H = Bo;
|
|
49958
49958
|
try {
|
|
49959
49959
|
return qc(da);
|
|
49960
49960
|
} finally {
|
|
49961
|
-
|
|
49961
|
+
be.H = n;
|
|
49962
49962
|
}
|
|
49963
49963
|
},
|
|
49964
49964
|
useDebugValue: function() {
|
|
@@ -50165,18 +50165,18 @@ Check the top-level render call using <` + p + ">.");
|
|
|
50165
50165
|
`, qp ? "An error occurred in the <" + qp + "> component." : "An error occurred in one of your React components.", `Consider adding an error boundary to your tree to customize error handling behavior.
|
|
50166
50166
|
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`);
|
|
50167
50167
|
}, pn.deferredUpdates = function(n) {
|
|
50168
|
-
var r =
|
|
50168
|
+
var r = be.T, u = $r();
|
|
50169
50169
|
try {
|
|
50170
|
-
return Ci(32),
|
|
50170
|
+
return Ci(32), be.T = null, n();
|
|
50171
50171
|
} finally {
|
|
50172
|
-
Ci(u),
|
|
50172
|
+
Ci(u), be.T = r;
|
|
50173
50173
|
}
|
|
50174
50174
|
}, pn.discreteUpdates = function(n, r, u, p, b) {
|
|
50175
|
-
var y =
|
|
50175
|
+
var y = be.T, P = $r();
|
|
50176
50176
|
try {
|
|
50177
|
-
return Ci(2),
|
|
50177
|
+
return Ci(2), be.T = null, n(r, u, p, b);
|
|
50178
50178
|
} finally {
|
|
50179
|
-
Ci(P),
|
|
50179
|
+
Ci(P), be.T = y, Tn === Pr && (IA = Mn() + yM);
|
|
50180
50180
|
}
|
|
50181
50181
|
}, pn.findAllNodes = Qh, pn.findBoundingRects = function(n, r) {
|
|
50182
50182
|
if (!ya) throw Error("Test selector API is not supported by this renderer.");
|
|
@@ -50221,11 +50221,11 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
50221
50221
|
}, pn.flushPassiveEffects = tu, pn.flushSyncFromReconciler = function(n) {
|
|
50222
50222
|
var r = Tn;
|
|
50223
50223
|
Tn |= 1;
|
|
50224
|
-
var u =
|
|
50224
|
+
var u = be.T, p = $r();
|
|
50225
50225
|
try {
|
|
50226
|
-
if (Ci(2),
|
|
50226
|
+
if (Ci(2), be.T = null, n) return n();
|
|
50227
50227
|
} finally {
|
|
50228
|
-
Ci(p),
|
|
50228
|
+
Ci(p), be.T = u, Tn = r, (Tn & (kr | so)) === Pr && Vl(0);
|
|
50229
50229
|
}
|
|
50230
50230
|
}, pn.flushSyncWork = Wd, pn.focusWithin = function(n, r) {
|
|
50231
50231
|
if (!ya) throw Error("Test selector API is not supported by this renderer.");
|
|
@@ -50268,7 +50268,7 @@ No matching component was found for:
|
|
|
50268
50268
|
bundleType: 1,
|
|
50269
50269
|
version: Os,
|
|
50270
50270
|
rendererPackageName: Vs,
|
|
50271
|
-
currentDispatcherRef:
|
|
50271
|
+
currentDispatcherRef: be,
|
|
50272
50272
|
reconcilerVersion: "19.2.0"
|
|
50273
50273
|
};
|
|
50274
50274
|
return Ro !== null && (n.rendererConfig = Ro), n.overrideHookState = OE, n.overrideHookStateDeletePath = VE, n.overrideHookStateRenamePath = HE, n.overrideProps = GE, n.overridePropsDeletePath = WE, n.overridePropsRenamePath = XE, n.scheduleUpdate = qE, n.scheduleRetry = YE, n.setErrorHandler = jE, n.setSuspenseHandler = JE, n.scheduleRefresh = M, n.scheduleRoot = v, n.setRefreshHandler = x, n.getCurrentFiber = sp, It(n);
|
|
@@ -50299,7 +50299,7 @@ No matching component was found for:
|
|
|
50299
50299
|
if (n.tag !== 5) throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");
|
|
50300
50300
|
var b = yg(n).queue;
|
|
50301
50301
|
qn(n), Br(n, b, r, Gs, u === null ? k : function() {
|
|
50302
|
-
|
|
50302
|
+
be.T === null && console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");
|
|
50303
50303
|
var y = yg(n);
|
|
50304
50304
|
return y.next === null && (y = n.alternate.memoizedState), Jc(n, y.next.queue, {}, hs(n)), u(p);
|
|
50305
50305
|
});
|
|
@@ -50729,9 +50729,9 @@ function jV(s) {
|
|
|
50729
50729
|
performance: F,
|
|
50730
50730
|
raycaster: V,
|
|
50731
50731
|
camera: q,
|
|
50732
|
-
onPointerMissed:
|
|
50733
|
-
} = M,
|
|
50734
|
-
if (!
|
|
50732
|
+
onPointerMissed: Z
|
|
50733
|
+
} = M, K = c.getState(), le = K.gl;
|
|
50734
|
+
if (!K.gl) {
|
|
50735
50735
|
const we = {
|
|
50736
50736
|
canvas: s,
|
|
50737
50737
|
powerPreference: "high-performance",
|
|
@@ -50741,12 +50741,12 @@ function jV(s) {
|
|
|
50741
50741
|
J2(Ue) ? le = Ue : le = new fP({
|
|
50742
50742
|
...we,
|
|
50743
50743
|
...S
|
|
50744
|
-
}),
|
|
50744
|
+
}), K.set({
|
|
50745
50745
|
gl: le
|
|
50746
50746
|
});
|
|
50747
50747
|
}
|
|
50748
|
-
let _ =
|
|
50749
|
-
_ ||
|
|
50748
|
+
let _ = K.raycaster;
|
|
50749
|
+
_ || K.set({
|
|
50750
50750
|
raycaster: _ = new eP()
|
|
50751
50751
|
});
|
|
50752
50752
|
const {
|
|
@@ -50760,31 +50760,31 @@ function jV(s) {
|
|
|
50760
50760
|
..._.params,
|
|
50761
50761
|
...X
|
|
50762
50762
|
}
|
|
50763
|
-
}), !
|
|
50763
|
+
}), !K.camera || K.camera === m && !gi.equ(m, q, Mm)) {
|
|
50764
50764
|
m = q;
|
|
50765
50765
|
const we = q?.isCamera, Ue = we ? q : U ? new Ym(0, 0, 0, 0, 0.1, 1e3) : new Lr(75, 0, 0.1, 1e3);
|
|
50766
|
-
we || (Ue.position.z = 5, q && (qu(Ue, q), Ue.manual || ("aspect" in q || "left" in q || "right" in q || "bottom" in q || "top" in q) && (Ue.manual = !0, Ue.updateProjectionMatrix())), !
|
|
50766
|
+
we || (Ue.position.z = 5, q && (qu(Ue, q), Ue.manual || ("aspect" in q || "left" in q || "right" in q || "bottom" in q || "top" in q) && (Ue.manual = !0, Ue.updateProjectionMatrix())), !K.camera && !(q != null && q.rotation) && Ue.lookAt(0, 0, 0)), K.set({
|
|
50767
50767
|
camera: Ue
|
|
50768
50768
|
}), _.camera = Ue;
|
|
50769
50769
|
}
|
|
50770
|
-
if (!
|
|
50770
|
+
if (!K.scene) {
|
|
50771
50771
|
let we;
|
|
50772
|
-
k != null && k.isScene ? (we = k, wx(we, c, "", {})) : (we = new P1(), wx(we, c, "", {}), k && qu(we, k)),
|
|
50772
|
+
k != null && k.isScene ? (we = k, wx(we, c, "", {})) : (we = new P1(), wx(we, c, "", {}), k && qu(we, k)), K.set({
|
|
50773
50773
|
scene: we
|
|
50774
50774
|
});
|
|
50775
50775
|
}
|
|
50776
|
-
C && !
|
|
50776
|
+
C && !K.events.handlers && K.set({
|
|
50777
50777
|
events: C(c)
|
|
50778
50778
|
});
|
|
50779
50779
|
const te = YV(s, w);
|
|
50780
|
-
if (gi.equ(te,
|
|
50781
|
-
onPointerMissed:
|
|
50782
|
-
}), F && !gi.equ(F,
|
|
50780
|
+
if (gi.equ(te, K.size, Mm) || K.setSize(te.width, te.height, te.top, te.left), I && K.viewport.dpr !== bP(I) && K.setDpr(I), K.frameloop !== H && K.setFrameloop(H), K.onPointerMissed || K.set({
|
|
50781
|
+
onPointerMissed: Z
|
|
50782
|
+
}), F && !gi.equ(F, K.performance, Mm) && K.set((we) => ({
|
|
50783
50783
|
performance: {
|
|
50784
50784
|
...we.performance,
|
|
50785
50785
|
...F
|
|
50786
50786
|
}
|
|
50787
|
-
})), !
|
|
50787
|
+
})), !K.xr) {
|
|
50788
50788
|
var ce;
|
|
50789
50789
|
const we = (ot, lt) => {
|
|
50790
50790
|
const Re = c.getState();
|
|
@@ -50802,7 +50802,7 @@ function jV(s) {
|
|
|
50802
50802
|
ot.xr.removeEventListener("sessionstart", Ue), ot.xr.removeEventListener("sessionend", Ue);
|
|
50803
50803
|
}
|
|
50804
50804
|
};
|
|
50805
|
-
typeof ((ce = le.xr) == null ? void 0 : ce.addEventListener) == "function" && dt.connect(),
|
|
50805
|
+
typeof ((ce = le.xr) == null ? void 0 : ce.addEventListener) == "function" && dt.connect(), K.set({
|
|
50806
50806
|
xr: dt
|
|
50807
50807
|
});
|
|
50808
50808
|
}
|
|
@@ -50822,11 +50822,11 @@ function jV(s) {
|
|
|
50822
50822
|
} else gi.obj(D) && Object.assign(le.shadowMap, D);
|
|
50823
50823
|
(we !== le.shadowMap.enabled || Ue !== le.shadowMap.type) && (le.shadowMap.needsUpdate = !0);
|
|
50824
50824
|
}
|
|
50825
|
-
return Cn.enabled = !O, g || (le.outputColorSpace = z ? Nm : os, le.toneMapping = L ? lo : Lx),
|
|
50825
|
+
return Cn.enabled = !O, g || (le.outputColorSpace = z ? Nm : os, le.toneMapping = L ? lo : Lx), K.legacy !== O && K.set(() => ({
|
|
50826
50826
|
legacy: O
|
|
50827
|
-
})),
|
|
50827
|
+
})), K.linear !== z && K.set(() => ({
|
|
50828
50828
|
linear: z
|
|
50829
|
-
})),
|
|
50829
|
+
})), K.flat !== L && K.set(() => ({
|
|
50830
50830
|
flat: L
|
|
50831
50831
|
})), S && !gi.fun(S) && !J2(S) && !gi.equ(S, le, Mm) && qu(le, S), f = T, g = !0, x(), this;
|
|
50832
50832
|
},
|
|
@@ -51091,8 +51091,8 @@ function r5({
|
|
|
51091
51091
|
...i
|
|
51092
51092
|
}), V = Wn.useRef(null), q = Wn.useRef(null);
|
|
51093
51093
|
Wn.useImperativeHandle(s, () => V.current);
|
|
51094
|
-
const
|
|
51095
|
-
if (
|
|
51094
|
+
const Z = yP(L), [K, le] = Wn.useState(!1), [_, X] = Wn.useState(!1);
|
|
51095
|
+
if (K) throw K;
|
|
51096
51096
|
if (_) throw _;
|
|
51097
51097
|
const Q = Wn.useRef(null);
|
|
51098
51098
|
return Vv(() => {
|
|
@@ -51116,7 +51116,7 @@ function r5({
|
|
|
51116
51116
|
camera: D,
|
|
51117
51117
|
size: F,
|
|
51118
51118
|
// Pass mutable reference to onPointerMissed so it's free to update
|
|
51119
|
-
onPointerMissed: (...we) =>
|
|
51119
|
+
onPointerMissed: (...we) => Z.current == null ? void 0 : Z.current(...we),
|
|
51120
51120
|
onCreated: (we) => {
|
|
51121
51121
|
we.events.connect == null || we.events.connect(f ? aV(f) ? f.current : f : q.current), m && we.setEvents({
|
|
51122
51122
|
compute: (Ue, dt) => {
|
|
@@ -51254,11 +51254,11 @@ function c5({
|
|
|
51254
51254
|
const { gl: M } = SV(), x = En(null), S = En(s), w = En(new ct(s[0])), k = En(new ct(s[1])), C = En(new ct(s[2])), T = En(0.1), [D, z] = Gt(Nb);
|
|
51255
51255
|
An(() => {
|
|
51256
51256
|
if (D) return;
|
|
51257
|
-
let
|
|
51257
|
+
let K = !1;
|
|
51258
51258
|
return Promise.resolve(o5()).then((le) => {
|
|
51259
|
-
|
|
51259
|
+
K || z(le);
|
|
51260
51260
|
}), () => {
|
|
51261
|
-
|
|
51261
|
+
K = !0;
|
|
51262
51262
|
};
|
|
51263
51263
|
}, [D]);
|
|
51264
51264
|
const L = En(i), O = En(a), U = En(c ?? 0), H = En(d ?? 0);
|
|
@@ -51275,17 +51275,17 @@ function c5({
|
|
|
51275
51275
|
An(() => {
|
|
51276
51276
|
w.current = new ct(s[0]), k.current = new ct(s[1]), C.current = new ct(s[2]);
|
|
51277
51277
|
}, [s]), An(() => {
|
|
51278
|
-
const
|
|
51278
|
+
const K = () => {
|
|
51279
51279
|
if (!x.current) return;
|
|
51280
51280
|
const _ = document.documentElement.classList.contains("dark");
|
|
51281
51281
|
x.current.material.uniforms.uInverted.value = _ ? 1 : 0;
|
|
51282
51282
|
};
|
|
51283
|
-
|
|
51284
|
-
const le = new MutationObserver(
|
|
51283
|
+
K();
|
|
51284
|
+
const le = new MutationObserver(K);
|
|
51285
51285
|
return le.observe(document.documentElement, { attributes: !0, attributeFilter: ["class"] }), () => le.disconnect();
|
|
51286
51286
|
}, []);
|
|
51287
51287
|
const V = En(0), q = En(0);
|
|
51288
|
-
MV((
|
|
51288
|
+
MV((K, le) => {
|
|
51289
51289
|
const _ = x.current?.material;
|
|
51290
51290
|
if (!_) return;
|
|
51291
51291
|
const X = e?.current;
|
|
@@ -51306,17 +51306,17 @@ function c5({
|
|
|
51306
51306
|
const ve = 0.1 + (1 - Math.pow(q.current - 1, 2)) * 0.9;
|
|
51307
51307
|
T.current += (ve - T.current) * 0.12, Q.uAnimation.value += le * T.current, Q.uInputVolume.value = V.current, Q.uOutputVolume.value = q.current, Q.uColor1.value.lerp(w.current, 0.08), Q.uColor2.value.lerp(k.current, 0.08), Q.uColor3.value.lerp(C.current, 0.08);
|
|
51308
51308
|
}), An(() => {
|
|
51309
|
-
const
|
|
51309
|
+
const K = M.domElement, le = (_) => {
|
|
51310
51310
|
_.preventDefault(), setTimeout(() => {
|
|
51311
51311
|
M.forceContextRestore();
|
|
51312
51312
|
}, 1);
|
|
51313
51313
|
};
|
|
51314
|
-
return
|
|
51314
|
+
return K.addEventListener("webglcontextlost", le, !1), () => K.removeEventListener("webglcontextlost", le, !1);
|
|
51315
51315
|
}, [M]);
|
|
51316
|
-
const
|
|
51316
|
+
const Z = Ks(() => {
|
|
51317
51317
|
if (!D) return null;
|
|
51318
51318
|
D.wrapS = zc, D.wrapT = zc;
|
|
51319
|
-
const
|
|
51319
|
+
const K = typeof document < "u" && document.documentElement.classList.contains("dark");
|
|
51320
51320
|
return {
|
|
51321
51321
|
uColor1: new Ra(new ct(S.current[0])),
|
|
51322
51322
|
uColor2: new Ra(new ct(S.current[1])),
|
|
@@ -51325,18 +51325,18 @@ function c5({
|
|
|
51325
51325
|
uPerlinTexture: new Ra(D),
|
|
51326
51326
|
uTime: new Ra(0),
|
|
51327
51327
|
uAnimation: new Ra(0.1),
|
|
51328
|
-
uInverted: new Ra(
|
|
51328
|
+
uInverted: new Ra(K ? 1 : 0),
|
|
51329
51329
|
uInputVolume: new Ra(0),
|
|
51330
51330
|
uOutputVolume: new Ra(0),
|
|
51331
51331
|
uOpacity: new Ra(1)
|
|
51332
51332
|
};
|
|
51333
51333
|
}, [D, F]);
|
|
51334
|
-
return
|
|
51334
|
+
return Z ? /* @__PURE__ */ Ut("mesh", { ref: x, children: [
|
|
51335
51335
|
/* @__PURE__ */ re("circleGeometry", { args: [3.5, 64] }),
|
|
51336
51336
|
/* @__PURE__ */ re(
|
|
51337
51337
|
"shaderMaterial",
|
|
51338
51338
|
{
|
|
51339
|
-
uniforms:
|
|
51339
|
+
uniforms: Z,
|
|
51340
51340
|
fragmentShader: f5,
|
|
51341
51341
|
vertexShader: d5,
|
|
51342
51342
|
transparent: !0
|
|
@@ -52156,7 +52156,7 @@ function uT({
|
|
|
52156
52156
|
initialText: S,
|
|
52157
52157
|
autoStartVoice: w
|
|
52158
52158
|
}) {
|
|
52159
|
-
const [k, C] = Gt(!1), T = g || l1(s), [D, z] = Gt(() => T === "voice" && v.isSessionReady || T === "voice" && !!w), [L, O] = Gt(() => (T === "text" || T === "text_and_voice") && v.isSessionReady || !!S || T === "text_and_voice" && !!w), [U, H] = Gt(!1), [I, F] = Gt(!1), [V, q] = Gt(null),
|
|
52159
|
+
const [k, C] = Gt(!1), T = g || l1(s), [D, z] = Gt(() => T === "voice" && v.isSessionReady || T === "voice" && !!w), [L, O] = Gt(() => (T === "text" || T === "text_and_voice") && v.isSessionReady || !!S || T === "text_and_voice" && !!w), [U, H] = Gt(!1), [I, F] = Gt(!1), [V, q] = Gt(null), K = h5(T === "voice" && D || T === "text_and_voice" && L), le = p5(), _ = s.consent?.enabled && !k && !m, X = O5(T), Q = () => C(!0), te = () => {
|
|
52160
52160
|
c ? c() : a();
|
|
52161
52161
|
}, ce = (ot) => {
|
|
52162
52162
|
i(ot), m || v.changeSessionLanguage(ot);
|
|
@@ -52171,18 +52171,20 @@ function uT({
|
|
|
52171
52171
|
x && (x.current = v.messages);
|
|
52172
52172
|
});
|
|
52173
52173
|
const we = En(!1);
|
|
52174
|
-
|
|
52174
|
+
An(() => {
|
|
52175
52175
|
we.current || (S ? (we.current = !0, ve(S)) : w && (we.current = !0, q(null), F(!0), v.isVoiceActive || v.startVoice()));
|
|
52176
52176
|
}, []), An(() => {
|
|
52177
52177
|
I && v.isSessionReady && (F(!1), T === "voice" ? z(!0) : O(!0));
|
|
52178
52178
|
}, [I, v.isSessionReady, T]), An(() => {
|
|
52179
52179
|
I && v.error && (F(!1), q(v.error));
|
|
52180
|
-
}, [I, v.error])
|
|
52181
|
-
if (_)
|
|
52182
|
-
return /* @__PURE__ */ re(U5, { language: e, config: s.consent, onAccept: Q, onDecline: te });
|
|
52180
|
+
}, [I, v.error]);
|
|
52183
52181
|
const Ue = km(() => {
|
|
52184
52182
|
q(null), F(!0), v.isVoiceActive || v.startVoice();
|
|
52185
|
-
}, [v])
|
|
52183
|
+
}, [v]);
|
|
52184
|
+
if (v.error && !m && (L || D)) return /* @__PURE__ */ re(IP, { message: v.error, language: e, onClose: a });
|
|
52185
|
+
if (_)
|
|
52186
|
+
return /* @__PURE__ */ re(U5, { language: e, config: s.consent, onAccept: Q, onDecline: te });
|
|
52187
|
+
const dt = {
|
|
52186
52188
|
agent: s,
|
|
52187
52189
|
language: e,
|
|
52188
52190
|
languages: t,
|
|
@@ -52197,7 +52199,7 @@ function uT({
|
|
|
52197
52199
|
voiceStarted: D,
|
|
52198
52200
|
conversationStarted: L,
|
|
52199
52201
|
isMinimized: U,
|
|
52200
|
-
elapsed:
|
|
52202
|
+
elapsed: K,
|
|
52201
52203
|
setVoiceStarted: z,
|
|
52202
52204
|
setConversationStarted: O
|
|
52203
52205
|
};
|
|
@@ -52279,10 +52281,10 @@ function W5(s) {
|
|
|
52279
52281
|
supportsVoice: !1,
|
|
52280
52282
|
isVoiceActive: !1,
|
|
52281
52283
|
chatKind: "text"
|
|
52282
|
-
},
|
|
52284
|
+
}, Z = (_, X) => {
|
|
52283
52285
|
s.onSessionStart?.(), k.current ? (H(!0), X.sendMessage(_)) : (k.current = !0, O(_), C.current = _, z(!0), H(!0));
|
|
52284
|
-
},
|
|
52285
|
-
s.onTextSend ? s.onTextSend(_, q) :
|
|
52286
|
+
}, K = (_) => {
|
|
52287
|
+
s.onTextSend ? s.onTextSend(_, q) : Z(_, q);
|
|
52286
52288
|
};
|
|
52287
52289
|
return /* @__PURE__ */ re(
|
|
52288
52290
|
uT,
|
|
@@ -52292,7 +52294,7 @@ function W5(s) {
|
|
|
52292
52294
|
chatKind: "text",
|
|
52293
52295
|
sdk: {
|
|
52294
52296
|
messages: F,
|
|
52295
|
-
sendTextMessage:
|
|
52297
|
+
sendTextMessage: K,
|
|
52296
52298
|
clearMessages: V,
|
|
52297
52299
|
clearSessionHistory: g,
|
|
52298
52300
|
isAudioPlaying: !1,
|
|
@@ -52310,7 +52312,7 @@ function W5(s) {
|
|
|
52310
52312
|
toggleVoice: kc,
|
|
52311
52313
|
signalClientReady: v,
|
|
52312
52314
|
waitingForResponse: U,
|
|
52313
|
-
sendSuggestion:
|
|
52315
|
+
sendSuggestion: K
|
|
52314
52316
|
}
|
|
52315
52317
|
}
|
|
52316
52318
|
);
|
|
@@ -52340,11 +52342,11 @@ function X5(s) {
|
|
|
52340
52342
|
supportsVoice: !0,
|
|
52341
52343
|
isVoiceActive: F,
|
|
52342
52344
|
chatKind: "voice"
|
|
52343
|
-
},
|
|
52345
|
+
}, Z = (Q) => {
|
|
52344
52346
|
V(), Q.enableVoice();
|
|
52345
52347
|
const te = s.agent.welcomeMessages?.[s.language];
|
|
52346
52348
|
Q.emitClientReady(te ? { welcomeMessage: te } : void 0);
|
|
52347
|
-
},
|
|
52349
|
+
}, K = (Q) => {
|
|
52348
52350
|
Q.isVoiceActive ? Q.disableVoice() : Q.enableVoice();
|
|
52349
52351
|
};
|
|
52350
52352
|
return /* @__PURE__ */ re(
|
|
@@ -52370,12 +52372,12 @@ function X5(s) {
|
|
|
52370
52372
|
isSessionReady: x,
|
|
52371
52373
|
vad: L,
|
|
52372
52374
|
startVoice: () => {
|
|
52373
|
-
s.onVoiceStart ? s.onVoiceStart(q) :
|
|
52375
|
+
s.onVoiceStart ? s.onVoiceStart(q) : Z(q);
|
|
52374
52376
|
},
|
|
52375
52377
|
prepareVoice: () => {
|
|
52376
52378
|
},
|
|
52377
52379
|
toggleVoice: () => {
|
|
52378
|
-
s.onVoiceToggle ? s.onVoiceToggle(q) :
|
|
52380
|
+
s.onVoiceToggle ? s.onVoiceToggle(q) : K(q);
|
|
52379
52381
|
},
|
|
52380
52382
|
signalClientReady: v
|
|
52381
52383
|
}
|
|
@@ -52384,11 +52386,11 @@ function X5(s) {
|
|
|
52384
52386
|
}
|
|
52385
52387
|
const q5 = 300;
|
|
52386
52388
|
function Y5(s) {
|
|
52387
|
-
const { isPreview: e = !1, ...t } = s, { messages: i, sendTextMessage: a, emitUserMessage: c, addLocalMessage: d, clearMessages: f } = Hm(), { isAudioPlaying: m, partialTranscript: g } = l3(), { changeSessionLanguage: v, clearSessionHistory: M, signalClientReady: x, error: S, isSessionReady: w, isAgentThinking: k, isAgentSpeaking: C } = kv(), { emitClientReady: T } = dT({ isSessionReady: w, signalClientReady: x }), [D, z] = Gt(!1), L = En(null), [O, U] = Gt(!1), H = En(null), [I, F] = Gt(!1), V = En(!1), q = En(!1),
|
|
52389
|
+
const { isPreview: e = !1, ...t } = s, { messages: i, sendTextMessage: a, emitUserMessage: c, addLocalMessage: d, clearMessages: f } = Hm(), { isAudioPlaying: m, partialTranscript: g } = l3(), { changeSessionLanguage: v, clearSessionHistory: M, signalClientReady: x, error: S, isSessionReady: w, isAgentThinking: k, isAgentSpeaking: C } = kv(), { emitClientReady: T } = dT({ isSessionReady: w, signalClientReady: x }), [D, z] = Gt(!1), L = En(null), [O, U] = Gt(!1), H = En(null), [I, F] = Gt(!1), V = En(!1), q = En(!1), Z = En(!1), [K, le] = Gt(null), [_, X] = Gt(!1), Q = En(i.length);
|
|
52388
52390
|
An(() => {
|
|
52389
52391
|
if (i.length > Q.current) {
|
|
52390
|
-
const
|
|
52391
|
-
|
|
52392
|
+
const ye = i[i.length - 1];
|
|
52393
|
+
ye.role === "assistant" && ye.streaming && X(!1);
|
|
52392
52394
|
}
|
|
52393
52395
|
Q.current = i.length;
|
|
52394
52396
|
}, [i]);
|
|
@@ -52399,29 +52401,31 @@ function Y5(s) {
|
|
|
52399
52401
|
An(() => {
|
|
52400
52402
|
!D || !w || ce || ve || we();
|
|
52401
52403
|
}, [D, w, ce, ve, we]), An(() => {
|
|
52402
|
-
if (!w || !O ||
|
|
52403
|
-
const
|
|
52404
|
-
if (
|
|
52405
|
-
|
|
52404
|
+
if (!w || !O || Z.current) return;
|
|
52405
|
+
const ye = L.current;
|
|
52406
|
+
if (ye === null) return;
|
|
52407
|
+
Z.current = !0, L.current = null, d("user", ye), le(null);
|
|
52406
52408
|
const Ne = s.agent.welcomeMessages?.[s.language];
|
|
52407
52409
|
x(Ne ? { welcomeMessage: Ne } : void 0);
|
|
52408
52410
|
const We = setTimeout(() => {
|
|
52409
|
-
c(
|
|
52411
|
+
c(ye), X(!0);
|
|
52410
52412
|
}, q5);
|
|
52411
52413
|
return () => clearTimeout(We);
|
|
52412
52414
|
}, [w, O, x, c, d]), An(() => {
|
|
52413
52415
|
if (!w || !I || V.current) return;
|
|
52414
|
-
const
|
|
52415
|
-
|
|
52416
|
+
const ye = H.current;
|
|
52417
|
+
ye !== null && (V.current = !0, H.current = null, d("user", ye), c(ye), X(!0), F(!1));
|
|
52416
52418
|
}, [w, I, c, d]);
|
|
52417
|
-
const ot = Ks(() =>
|
|
52418
|
-
le(null), f();
|
|
52419
|
+
const ot = Ks(() => K ? [{ id: "first-user", role: "user", text: K }, ...i] : i, [K, i]), lt = km(() => {
|
|
52420
|
+
le(null), q.current = !1, Z.current = !1, f();
|
|
52419
52421
|
}, [f]), Re = () => {
|
|
52420
52422
|
s.onSessionStart?.();
|
|
52421
52423
|
}, qe = {
|
|
52422
|
-
emitClientReady:
|
|
52423
|
-
|
|
52424
|
-
|
|
52424
|
+
emitClientReady: (ye) => {
|
|
52425
|
+
Z.current = !0, q.current = !0, T(ye);
|
|
52426
|
+
},
|
|
52427
|
+
sendMessage: (ye) => {
|
|
52428
|
+
a(ye);
|
|
52425
52429
|
},
|
|
52426
52430
|
queueForWelcome: () => {
|
|
52427
52431
|
},
|
|
@@ -52434,18 +52438,18 @@ function Y5(s) {
|
|
|
52434
52438
|
supportsVoice: !0,
|
|
52435
52439
|
isVoiceActive: dt,
|
|
52436
52440
|
chatKind: "text_and_voice"
|
|
52437
|
-
}, Ve = (
|
|
52438
|
-
Re(), q.current
|
|
52439
|
-
}, ht = (
|
|
52440
|
-
Re(), s.onStartVoice?.(),
|
|
52441
|
+
}, Ve = (ye, Ne) => {
|
|
52442
|
+
Re(), !q.current && !Z.current ? (q.current = !0, s.onStartText?.(), le(ye), L.current = ye, U(!0), X(!0)) : (q.current = !0, X(!0), Ne.sendMessage(ye));
|
|
52443
|
+
}, ht = (ye) => {
|
|
52444
|
+
Re(), q.current = !0, Z.current = !0, s.onStartVoice?.(), ye.enableVoice();
|
|
52441
52445
|
const Ne = s.agent.welcomeMessages?.[s.language];
|
|
52442
|
-
|
|
52443
|
-
}, It = (
|
|
52444
|
-
|
|
52446
|
+
ye.emitClientReady(Ne ? { welcomeMessage: Ne } : void 0);
|
|
52447
|
+
}, It = (ye) => {
|
|
52448
|
+
ye.isVoiceActive ? ye.disableVoice() : ye.enableVoice();
|
|
52445
52449
|
}, Be = {
|
|
52446
52450
|
messages: ot,
|
|
52447
|
-
sendTextMessage: (
|
|
52448
|
-
s.onTextSend ? s.onTextSend(
|
|
52451
|
+
sendTextMessage: (ye) => {
|
|
52452
|
+
s.onTextSend ? s.onTextSend(ye, qe) : Ve(ye, qe);
|
|
52449
52453
|
},
|
|
52450
52454
|
clearMessages: lt,
|
|
52451
52455
|
clearSessionHistory: M,
|
|
@@ -52469,8 +52473,8 @@ function Y5(s) {
|
|
|
52469
52473
|
},
|
|
52470
52474
|
signalClientReady: x,
|
|
52471
52475
|
waitingForResponse: _,
|
|
52472
|
-
sendSuggestion: (
|
|
52473
|
-
Re(), q.current = !0, z(!0), H.current =
|
|
52476
|
+
sendSuggestion: (ye) => {
|
|
52477
|
+
Re(), q.current = !0, Z.current = !0, z(!0), H.current = ye, F(!0);
|
|
52474
52478
|
}
|
|
52475
52479
|
};
|
|
52476
52480
|
return /* @__PURE__ */ re(
|
|
@@ -52537,7 +52541,7 @@ function Q5({
|
|
|
52537
52541
|
onStartText: M,
|
|
52538
52542
|
onStartVoice: x
|
|
52539
52543
|
}) {
|
|
52540
|
-
const { connectionState: S, isConnected: w, isSessionTerminated: k, creditExhausted: C, session: T, endSession: D, submitFeedback: z, interrupt: L } = kv(), { messages: O } = Hm(), U = En(!1), H = En(null), [I, F] = Gt(null), [V, q] = Gt(0), [
|
|
52544
|
+
const { connectionState: S, isConnected: w, isSessionTerminated: k, creditExhausted: C, session: T, endSession: D, submitFeedback: z, interrupt: L } = kv(), { messages: O } = Hm(), U = En(!1), H = En(null), [I, F] = Gt(null), [V, q] = Gt(0), [Z, K] = Gt(!1), [le, _] = Gt(!1), [X, Q] = Gt(!1);
|
|
52541
52545
|
An(() => {
|
|
52542
52546
|
w && (U.current = !0);
|
|
52543
52547
|
}, [w]), An(() => {
|
|
@@ -52552,7 +52556,7 @@ function Q5({
|
|
|
52552
52556
|
const te = () => {
|
|
52553
52557
|
H.current = "user", L(), D();
|
|
52554
52558
|
}, ce = I?.sessionId ?? null, ve = (lt) => {
|
|
52555
|
-
|
|
52559
|
+
Z || (q(lt), ce && z({ sessionId: ce, rating: lt, endedBy: I?.endedBy }).catch(() => {
|
|
52556
52560
|
}), X || (Q(!0), _(!0)));
|
|
52557
52561
|
}, we = async (lt) => {
|
|
52558
52562
|
if (ce)
|
|
@@ -52560,7 +52564,7 @@ function Q5({
|
|
|
52560
52564
|
await z({ sessionId: ce, feedback: lt, endedBy: I?.endedBy });
|
|
52561
52565
|
} catch {
|
|
52562
52566
|
}
|
|
52563
|
-
|
|
52567
|
+
K(!0), _(!1);
|
|
52564
52568
|
};
|
|
52565
52569
|
if (!c)
|
|
52566
52570
|
return /* @__PURE__ */ re(LP, { agent: s, onClick: d, active: S === "connected" });
|
|
@@ -52604,8 +52608,8 @@ function Q5({
|
|
|
52604
52608
|
rating: V,
|
|
52605
52609
|
endedBy: I.endedBy,
|
|
52606
52610
|
sessionId: ce,
|
|
52607
|
-
ratingInteractive: !
|
|
52608
|
-
showTellUsMore: X && !
|
|
52611
|
+
ratingInteractive: !Z,
|
|
52612
|
+
showTellUsMore: X && !Z,
|
|
52609
52613
|
onRate: ve,
|
|
52610
52614
|
onTellUsMore: () => _(!0)
|
|
52611
52615
|
}
|
|
@@ -52653,7 +52657,7 @@ function a6({ wsUrl: s, restUrl: e, publicChatId: t, apiKey: i, agentId: a, agen
|
|
|
52653
52657
|
) });
|
|
52654
52658
|
}
|
|
52655
52659
|
function Z5({ wsUrl: s, restUrl: e, publicChatId: t, apiKey: i, agentId: a, agent: c, language: d, defaultOpen: f, className: m, pcmOptions: g, debug: v, withCredentials: M, onError: x, onInitialized: S, config: w, clientTools: k }) {
|
|
52656
|
-
const [C, T] = Gt(f), [D, z] = Gt(!1), [L, O] = Gt(d || c.defaultLanguage), [U, H] = Gt("idle"), [I, F] = Gt(0), [V, q] = Gt(null), [
|
|
52660
|
+
const [C, T] = Gt(f), [D, z] = Gt(!1), [L, O] = Gt(d || c.defaultLanguage), [U, H] = Gt("idle"), [I, F] = Gt(0), [V, q] = Gt(null), [Z, K] = Gt(!1), le = c.agentType === "cloud_avatar" || c.agentType === "desktop_avatar", _ = le, X = c.widget?.behavior, Q = c.welcomeMessages?.[L] || "", te = !C && !Z && !_ && !!X?.welcome_bubble_enabled && !!Q.trim(), ce = Ks(() => Dv(c.languages, c.defaultLanguage), [c.defaultLanguage, c.languages]), ve = Ks(() => U === "text" ? { ...w ?? {}, use_voice: !1, use_text: !0 } : w, [w, U]), we = Ks(
|
|
52657
52661
|
() => gD(c, ve),
|
|
52658
52662
|
[c, ve]
|
|
52659
52663
|
), Ue = !_ && we.useVoice, dt = le ? C : D, ot = Ks(() => ({
|
|
@@ -52668,9 +52672,9 @@ function Z5({ wsUrl: s, restUrl: e, publicChatId: t, apiKey: i, agentId: a, agen
|
|
|
52668
52672
|
An(() => {
|
|
52669
52673
|
O(d || c.defaultLanguage);
|
|
52670
52674
|
}, [c.defaultLanguage, d]);
|
|
52671
|
-
const It = Ks(() => x ? (
|
|
52672
|
-
H("idle"), x(
|
|
52673
|
-
} : (
|
|
52675
|
+
const It = Ks(() => x ? (ye) => {
|
|
52676
|
+
H("idle"), x(ye);
|
|
52677
|
+
} : (ye) => {
|
|
52674
52678
|
H("idle");
|
|
52675
52679
|
}, [x]), tt = () => {
|
|
52676
52680
|
H("text"), z(!0);
|
|
@@ -52678,8 +52682,8 @@ function Z5({ wsUrl: s, restUrl: e, publicChatId: t, apiKey: i, agentId: a, agen
|
|
|
52678
52682
|
H("voice"), z(!0);
|
|
52679
52683
|
}, kt = () => {
|
|
52680
52684
|
T(!1);
|
|
52681
|
-
}, Be = (
|
|
52682
|
-
q(
|
|
52685
|
+
}, Be = (ye, Ne) => {
|
|
52686
|
+
q(ye === "text" ? { mode: "text", text: Ne ?? "" } : { mode: "voice" }), H(ye), z(!0), F((We) => We + 1);
|
|
52683
52687
|
};
|
|
52684
52688
|
return /* @__PURE__ */ re(
|
|
52685
52689
|
ok,
|
|
@@ -52704,7 +52708,7 @@ function Z5({ wsUrl: s, restUrl: e, publicChatId: t, apiKey: i, agentId: a, agen
|
|
|
52704
52708
|
soundEnabled: !!X?.welcome_bubble_sound_enabled,
|
|
52705
52709
|
language: L,
|
|
52706
52710
|
buttonPosition: c.widget?.appearance?.position === "left" ? "left" : "right",
|
|
52707
|
-
onClick: () =>
|
|
52711
|
+
onClick: () => K(!0)
|
|
52708
52712
|
}
|
|
52709
52713
|
),
|
|
52710
52714
|
/* @__PURE__ */ re(
|
|
@@ -52717,7 +52721,7 @@ function Z5({ wsUrl: s, restUrl: e, publicChatId: t, apiKey: i, agentId: a, agen
|
|
|
52717
52721
|
directive: V,
|
|
52718
52722
|
open: C,
|
|
52719
52723
|
onOpen: () => {
|
|
52720
|
-
T(!0),
|
|
52724
|
+
T(!0), K(!0);
|
|
52721
52725
|
},
|
|
52722
52726
|
onLanguageChange: O,
|
|
52723
52727
|
onMinimize: kt,
|