@rqmii_immersive/agent-react-sdk 5.0.2 → 5.0.3
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/ui.cjs +37 -37
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +621 -621
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
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
2
|
import { E as u6 } from "./RqmiiCloudAvatarPlayer-BBA8R0Sl.js";
|
|
3
|
-
import { jsx as re, jsxs as Ut, Fragment as
|
|
3
|
+
import { jsx as re, jsxs as Ut, Fragment as l1 } from "react/jsx-runtime";
|
|
4
4
|
import * as Wn from "react";
|
|
5
|
-
import Il, { useContext as lk, createContext as ck, forwardRef as u3, createElement as
|
|
5
|
+
import Il, { useContext as lk, createContext as ck, forwardRef as u3, createElement as Iw, useState as Gt, useRef as En, useEffect as An, useMemo as Ks, useLayoutEffect as ZE, useCallback as km } from "react";
|
|
6
6
|
function d3(s) {
|
|
7
7
|
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
|
|
8
8
|
}
|
|
@@ -2131,7 +2131,7 @@ const uk = {
|
|
|
2131
2131
|
ur: fD,
|
|
2132
2132
|
vi: hD,
|
|
2133
2133
|
cy: pD
|
|
2134
|
-
},
|
|
2134
|
+
}, Nw = [
|
|
2135
2135
|
{ value: "af", label: "Afrikaans", dir: "ltr" },
|
|
2136
2136
|
{ value: "sq", label: "Shqip", dir: "ltr" },
|
|
2137
2137
|
{ value: "ar", label: "العربية", dir: "rtl" },
|
|
@@ -2191,11 +2191,11 @@ const uk = {
|
|
|
2191
2191
|
{ value: "ur", label: "اردو", dir: "rtl" },
|
|
2192
2192
|
{ value: "vi", label: "Tiếng Việt", dir: "ltr" },
|
|
2193
2193
|
{ value: "cy", label: "Cymraeg", dir: "ltr" }
|
|
2194
|
-
], _E =
|
|
2194
|
+
], _E = Nw.map(
|
|
2195
2195
|
(s) => s.value
|
|
2196
2196
|
);
|
|
2197
2197
|
function $E(s) {
|
|
2198
|
-
return
|
|
2198
|
+
return Nw.find((e) => e.value === s) || Nw.find((e) => e.value === "en");
|
|
2199
2199
|
}
|
|
2200
2200
|
function rn(s, e) {
|
|
2201
2201
|
return KE[s]?.[e] || KE.en[e] || e;
|
|
@@ -2367,7 +2367,7 @@ function gD(s, e) {
|
|
|
2367
2367
|
let { useVoice: t, useText: i } = s;
|
|
2368
2368
|
return typeof e.use_voice == "boolean" && (t = e.use_voice), typeof e.use_text == "boolean" && (i = e.use_text), t === s.useVoice && i === s.useText ? s : { ...s, useVoice: t, useText: i };
|
|
2369
2369
|
}
|
|
2370
|
-
function
|
|
2370
|
+
function Rx(s) {
|
|
2371
2371
|
return s.agentType === Wu.CLOUD_AVATAR || s.agentType === Wu.DESKTOP_AVATAR ? "avatar" : s.useText && s.useVoice ? "text_and_voice" : s.useVoice ? "voice" : "text";
|
|
2372
2372
|
}
|
|
2373
2373
|
/**
|
|
@@ -2410,7 +2410,7 @@ const tC = (s) => {
|
|
|
2410
2410
|
* This source code is licensed under the ISC license.
|
|
2411
2411
|
* See the LICENSE file in the root directory of this source tree.
|
|
2412
2412
|
*/
|
|
2413
|
-
var
|
|
2413
|
+
var RM = {
|
|
2414
2414
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2415
2415
|
width: 24,
|
|
2416
2416
|
height: 24,
|
|
@@ -2441,13 +2441,13 @@ const yD = (s) => {
|
|
|
2441
2441
|
color: x = "currentColor",
|
|
2442
2442
|
className: S = ""
|
|
2443
2443
|
} = xD() ?? {}, w = i ?? M ? Number(t ?? v) * 24 / Number(e ?? g) : t ?? v;
|
|
2444
|
-
return
|
|
2444
|
+
return Iw(
|
|
2445
2445
|
"svg",
|
|
2446
2446
|
{
|
|
2447
2447
|
ref: m,
|
|
2448
|
-
...
|
|
2449
|
-
width: e ?? g ??
|
|
2450
|
-
height: e ?? g ??
|
|
2448
|
+
...RM,
|
|
2449
|
+
width: e ?? g ?? RM.width,
|
|
2450
|
+
height: e ?? g ?? RM.height,
|
|
2451
2451
|
stroke: s ?? x,
|
|
2452
2452
|
strokeWidth: w,
|
|
2453
2453
|
className: f3("lucide", S, a),
|
|
@@ -2455,7 +2455,7 @@ const yD = (s) => {
|
|
|
2455
2455
|
...f
|
|
2456
2456
|
},
|
|
2457
2457
|
[
|
|
2458
|
-
...d.map(([k, C]) =>
|
|
2458
|
+
...d.map(([k, C]) => Iw(k, C)),
|
|
2459
2459
|
...Array.isArray(c) ? c : [c]
|
|
2460
2460
|
]
|
|
2461
2461
|
);
|
|
@@ -2469,7 +2469,7 @@ const yD = (s) => {
|
|
|
2469
2469
|
*/
|
|
2470
2470
|
const ea = (s, e) => {
|
|
2471
2471
|
const t = u3(
|
|
2472
|
-
({ className: i, ...a }, c) =>
|
|
2472
|
+
({ className: i, ...a }, c) => Iw(SD, {
|
|
2473
2473
|
ref: c,
|
|
2474
2474
|
iconNode: e,
|
|
2475
2475
|
className: f3(
|
|
@@ -2519,7 +2519,7 @@ const RD = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], PD = ea("chevron-
|
|
|
2519
2519
|
* This source code is licensed under the ISC license.
|
|
2520
2520
|
* See the LICENSE file in the root directory of this source tree.
|
|
2521
2521
|
*/
|
|
2522
|
-
const kD = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]],
|
|
2522
|
+
const kD = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], Px = ea("loader-circle", kD);
|
|
2523
2523
|
/**
|
|
2524
2524
|
* @license lucide-react v1.24.0 - ISC
|
|
2525
2525
|
*
|
|
@@ -2556,7 +2556,7 @@ const ND = [
|
|
|
2556
2556
|
["path", { d: "M12 19v3", key: "npa21l" }],
|
|
2557
2557
|
["path", { d: "M19 10v2a7 7 0 0 1-14 0v-2", key: "1vc78b" }],
|
|
2558
2558
|
["rect", { x: "9", y: "2", width: "6", height: "13", rx: "3", key: "s6n7sd" }]
|
|
2559
|
-
],
|
|
2559
|
+
], kx = ea("mic", ND);
|
|
2560
2560
|
/**
|
|
2561
2561
|
* @license lucide-react v1.24.0 - ISC
|
|
2562
2562
|
*
|
|
@@ -2568,7 +2568,7 @@ const zD = [
|
|
|
2568
2568
|
["path", { d: "M20 10h-6V4", key: "mjg0md" }],
|
|
2569
2569
|
["path", { d: "m3 21 7-7", key: "tjx5ai" }],
|
|
2570
2570
|
["path", { d: "M4 14h6v6", key: "rmj7iw" }]
|
|
2571
|
-
],
|
|
2571
|
+
], Dx = ea("minimize-2", zD);
|
|
2572
2572
|
/**
|
|
2573
2573
|
* @license lucide-react v1.24.0 - ISC
|
|
2574
2574
|
*
|
|
@@ -2659,7 +2659,7 @@ function KD(s = 1) {
|
|
|
2659
2659
|
* Copyright 2010-2026 Three.js Authors
|
|
2660
2660
|
* SPDX-License-Identifier: MIT
|
|
2661
2661
|
*/
|
|
2662
|
-
const
|
|
2662
|
+
const Lx = "185", _D = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 }, $D = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }, p3 = 0, zw = 1, m3 = 2, eL = 3, g3 = 0, Rm = 1, nv = 2, Ff = 3, Nc = 0, Cs = 1, kl = 2, Nl = 0, Gf = 1, Bw = 2, Uw = 3, Fw = 4, A3 = 5, tL = 6, Xu = 100, v3 = 101, y3 = 102, b3 = 103, x3 = 104, S3 = 200, M3 = 201, w3 = 202, T3 = 203, zb = 204, Bb = 205, E3 = 206, C3 = 207, R3 = 208, P3 = 209, k3 = 210, D3 = 211, L3 = 212, I3 = 213, N3 = 214, Ub = 0, Fb = 1, Ob = 2, Xf = 3, Vb = 4, Hb = 5, Gb = 6, Wb = 7, Lv = 0, z3 = 1, B3 = 2, lo = 0, h1 = 1, p1 = 2, m1 = 3, Ix = 4, g1 = 5, A1 = 6, v1 = 7, Ow = "attached", U3 = "detached", Nx = 300, zl = 301, Zu = 302, iv = 303, rv = 304, Gm = 306, zc = 1e3, $s = 1001, pv = 1002, Zi = 1003, y1 = 1004, nL = 1004, Tm = 1005, iL = 1005, Ai = 1006, sv = 1007, rL = 1007, Dl = 1008, sL = 1008, ws = 1009, b1 = 1010, x1 = 1011, Lm = 1012, zx = 1013, uo = 1014, Es = 1015, Bl = 1016, Bx = 1017, Ux = 1018, Im = 1020, S1 = 35902, M1 = 35899, w1 = 1021, T1 = 1022, ls = 1023, Ul = 1026, Yu = 1027, Fx = 1028, Iv = 1029, Ku = 1030, Ox = 1031, aL = 1032, Vx = 1033, av = 33776, ov = 33777, lv = 33778, cv = 33779, Xb = 35840, qb = 35841, Yb = 35842, jb = 35843, Jb = 36196, Qb = 37492, Zb = 37496, Kb = 37488, _b = 37489, mv = 37490, $b = 37491, ex = 37808, tx = 37809, nx = 37810, ix = 37811, rx = 37812, sx = 37813, ax = 37814, ox = 37815, lx = 37816, cx = 37817, ux = 37818, dx = 37819, fx = 37820, hx = 37821, px = 36492, mx = 36494, gx = 36495, Ax = 36283, vx = 36284, gv = 36285, yx = 36286, F3 = 2200, O3 = 2201, V3 = 2202, Av = 2300, bx = 2301, kb = 2302, Vw = 2303, Of = 2400, Vf = 2401, vv = 2402, Hx = 2500, E1 = 2501, oL = 0, lL = 1, cL = 2, H3 = 3200, uL = 3201, dL = 3202, fL = 3203, Bc = 0, G3 = 1, Dc = "", os = "srgb", Nm = "srgb-linear", yv = "linear", ei = "srgb", hL = "", pL = "rg", mL = "ga", gL = 0, Bf = 7680, AL = 7681, vL = 7682, yL = 7683, bL = 34055, xL = 34056, SL = 5386, ML = 512, wL = 513, TL = 514, EL = 515, CL = 516, RL = 517, PL = 518, Hw = 519, W3 = 512, X3 = 513, q3 = 514, Gx = 515, Y3 = 516, j3 = 517, Wx = 518, J3 = 519, bv = 35044, kL = 35048, DL = 35040, LL = 35045, IL = 35049, NL = 35041, zL = 35046, BL = 35050, UL = 35042, FL = "100", Gw = "300 es", Pa = 2e3, qf = 2001, OL = {
|
|
2663
2663
|
COMPUTE: "compute",
|
|
2664
2664
|
RENDER: "render"
|
|
2665
2665
|
}, VL = {
|
|
@@ -4725,7 +4725,7 @@ class J {
|
|
|
4725
4725
|
* @return {Vector3} A reference to this vector.
|
|
4726
4726
|
*/
|
|
4727
4727
|
projectOnPlane(e) {
|
|
4728
|
-
return
|
|
4728
|
+
return PM.copy(this).projectOnVector(e), this.sub(PM);
|
|
4729
4729
|
}
|
|
4730
4730
|
/**
|
|
4731
4731
|
* Reflects this vector off a plane orthogonal to the given normal vector.
|
|
@@ -4734,7 +4734,7 @@ class J {
|
|
|
4734
4734
|
* @return {Vector3} A reference to this vector.
|
|
4735
4735
|
*/
|
|
4736
4736
|
reflect(e) {
|
|
4737
|
-
return this.sub(
|
|
4737
|
+
return this.sub(PM.copy(e).multiplyScalar(2 * this.dot(e)));
|
|
4738
4738
|
}
|
|
4739
4739
|
/**
|
|
4740
4740
|
* Returns the angle between the given vector and this instance in radians.
|
|
@@ -4943,7 +4943,7 @@ class J {
|
|
|
4943
4943
|
yield this.x, yield this.y, yield this.z;
|
|
4944
4944
|
}
|
|
4945
4945
|
}
|
|
4946
|
-
const
|
|
4946
|
+
const PM = /* @__PURE__ */ new J(), sC = /* @__PURE__ */ new Rs();
|
|
4947
4947
|
class $t {
|
|
4948
4948
|
static {
|
|
4949
4949
|
$t.prototype.isMatrix3 = !0;
|
|
@@ -5181,7 +5181,7 @@ class $t {
|
|
|
5181
5181
|
* @return {Matrix3} A reference to this matrix.
|
|
5182
5182
|
*/
|
|
5183
5183
|
scale(e, t) {
|
|
5184
|
-
return Qu("Matrix3: .scale() is deprecated. Use .makeScale() instead."), this.premultiply(
|
|
5184
|
+
return Qu("Matrix3: .scale() is deprecated. Use .makeScale() instead."), this.premultiply(kM.makeScale(e, t)), this;
|
|
5185
5185
|
}
|
|
5186
5186
|
/**
|
|
5187
5187
|
* Rotates this matrix by the given angle.
|
|
@@ -5191,7 +5191,7 @@ class $t {
|
|
|
5191
5191
|
* @return {Matrix3} A reference to this matrix.
|
|
5192
5192
|
*/
|
|
5193
5193
|
rotate(e) {
|
|
5194
|
-
return Qu("Matrix3: .rotate() is deprecated. Use .makeRotation() instead."), this.premultiply(
|
|
5194
|
+
return Qu("Matrix3: .rotate() is deprecated. Use .makeRotation() instead."), this.premultiply(kM.makeRotation(-e)), this;
|
|
5195
5195
|
}
|
|
5196
5196
|
/**
|
|
5197
5197
|
* Translates this matrix by the given scalar values.
|
|
@@ -5202,7 +5202,7 @@ class $t {
|
|
|
5202
5202
|
* @return {Matrix3} A reference to this matrix.
|
|
5203
5203
|
*/
|
|
5204
5204
|
translate(e, t) {
|
|
5205
|
-
return Qu("Matrix3: .translate() is deprecated. Use .makeTranslation() instead."), this.premultiply(
|
|
5205
|
+
return Qu("Matrix3: .translate() is deprecated. Use .makeTranslation() instead."), this.premultiply(kM.makeTranslation(e, t)), this;
|
|
5206
5206
|
}
|
|
5207
5207
|
// for 2D Transforms
|
|
5208
5208
|
/**
|
|
@@ -5320,7 +5320,7 @@ class $t {
|
|
|
5320
5320
|
return new this.constructor().fromArray(this.elements);
|
|
5321
5321
|
}
|
|
5322
5322
|
}
|
|
5323
|
-
const
|
|
5323
|
+
const kM = /* @__PURE__ */ new $t(), aC = /* @__PURE__ */ new $t().set(
|
|
5324
5324
|
0.4123908,
|
|
5325
5325
|
0.3575843,
|
|
5326
5326
|
0.1804808,
|
|
@@ -5538,15 +5538,15 @@ class ju {
|
|
|
5538
5538
|
if (Array.isArray(a)) {
|
|
5539
5539
|
c = [];
|
|
5540
5540
|
for (let d = 0, f = a.length; d < f; d++)
|
|
5541
|
-
a[d].isDataTexture ? c.push(
|
|
5541
|
+
a[d].isDataTexture ? c.push(DM(a[d].image)) : c.push(DM(a[d]));
|
|
5542
5542
|
} else
|
|
5543
|
-
c =
|
|
5543
|
+
c = DM(a);
|
|
5544
5544
|
i.url = c;
|
|
5545
5545
|
}
|
|
5546
5546
|
return t || (e.images[this.uuid] = i), i;
|
|
5547
5547
|
}
|
|
5548
5548
|
}
|
|
5549
|
-
function
|
|
5549
|
+
function DM(s) {
|
|
5550
5550
|
return typeof HTMLImageElement < "u" && s instanceof HTMLImageElement || typeof HTMLCanvasElement < "u" && s instanceof HTMLCanvasElement || typeof ImageBitmap < "u" && s instanceof ImageBitmap ? _3.getDataURL(s) : s.data ? {
|
|
5551
5551
|
data: Array.from(s.data),
|
|
5552
5552
|
width: s.width,
|
|
@@ -5555,7 +5555,7 @@ function kM(s) {
|
|
|
5555
5555
|
} : (at("Texture: Unable to serialize Texture."), {});
|
|
5556
5556
|
}
|
|
5557
5557
|
let pI = 0;
|
|
5558
|
-
const
|
|
5558
|
+
const LM = /* @__PURE__ */ new J();
|
|
5559
5559
|
class Ii extends Jo {
|
|
5560
5560
|
/**
|
|
5561
5561
|
* Constructs a new texture.
|
|
@@ -5578,19 +5578,19 @@ class Ii extends Jo {
|
|
|
5578
5578
|
* The width of the texture in pixels.
|
|
5579
5579
|
*/
|
|
5580
5580
|
get width() {
|
|
5581
|
-
return this.source.getSize(
|
|
5581
|
+
return this.source.getSize(LM).x;
|
|
5582
5582
|
}
|
|
5583
5583
|
/**
|
|
5584
5584
|
* The height of the texture in pixels.
|
|
5585
5585
|
*/
|
|
5586
5586
|
get height() {
|
|
5587
|
-
return this.source.getSize(
|
|
5587
|
+
return this.source.getSize(LM).y;
|
|
5588
5588
|
}
|
|
5589
5589
|
/**
|
|
5590
5590
|
* The depth of the texture in pixels.
|
|
5591
5591
|
*/
|
|
5592
5592
|
get depth() {
|
|
5593
|
-
return this.source.getSize(
|
|
5593
|
+
return this.source.getSize(LM).z;
|
|
5594
5594
|
}
|
|
5595
5595
|
/**
|
|
5596
5596
|
* The image object holding the texture data.
|
|
@@ -5719,7 +5719,7 @@ class Ii extends Jo {
|
|
|
5719
5719
|
* @return {Vector2} The transformed uv vector.
|
|
5720
5720
|
*/
|
|
5721
5721
|
transformUv(e) {
|
|
5722
|
-
if (this.mapping !==
|
|
5722
|
+
if (this.mapping !== Nx) return e;
|
|
5723
5723
|
if (e.applyMatrix3(this.matrix), e.x < 0 || e.x > 1)
|
|
5724
5724
|
switch (this.wrapS) {
|
|
5725
5725
|
case zc:
|
|
@@ -5771,7 +5771,7 @@ class Ii extends Jo {
|
|
|
5771
5771
|
}
|
|
5772
5772
|
}
|
|
5773
5773
|
Ii.DEFAULT_IMAGE = null;
|
|
5774
|
-
Ii.DEFAULT_MAPPING =
|
|
5774
|
+
Ii.DEFAULT_MAPPING = Nx;
|
|
5775
5775
|
Ii.DEFAULT_ANISOTROPY = 1;
|
|
5776
5776
|
class ri {
|
|
5777
5777
|
static {
|
|
@@ -6474,7 +6474,7 @@ class Da extends R1 {
|
|
|
6474
6474
|
super(e, t, i), this.isWebGLRenderTarget = !0;
|
|
6475
6475
|
}
|
|
6476
6476
|
}
|
|
6477
|
-
class
|
|
6477
|
+
class Xx extends Ii {
|
|
6478
6478
|
/**
|
|
6479
6479
|
* Constructs a new data array texture.
|
|
6480
6480
|
*
|
|
@@ -6515,10 +6515,10 @@ class mI extends Da {
|
|
|
6515
6515
|
* @param {RenderTarget~Options} [options] - The configuration object.
|
|
6516
6516
|
*/
|
|
6517
6517
|
constructor(e = 1, t = 1, i = 1, a = {}) {
|
|
6518
|
-
super(e, t, a), this.isWebGLArrayRenderTarget = !0, this.depth = i, this.texture = new
|
|
6518
|
+
super(e, t, a), this.isWebGLArrayRenderTarget = !0, this.depth = i, this.texture = new Xx(null, e, t, i), this._setTextureOptions(a), this.texture.isRenderTargetTexture = !0;
|
|
6519
6519
|
}
|
|
6520
6520
|
}
|
|
6521
|
-
class
|
|
6521
|
+
class qx extends Ii {
|
|
6522
6522
|
/**
|
|
6523
6523
|
* Constructs a new data array texture.
|
|
6524
6524
|
*
|
|
@@ -6541,7 +6541,7 @@ class gI extends Da {
|
|
|
6541
6541
|
* @param {RenderTarget~Options} [options] - The configuration object.
|
|
6542
6542
|
*/
|
|
6543
6543
|
constructor(e = 1, t = 1, i = 1, a = {}) {
|
|
6544
|
-
super(e, t, a), this.isWebGL3DRenderTarget = !0, this.depth = i, this.texture = new
|
|
6544
|
+
super(e, t, a), this.isWebGL3DRenderTarget = !0, this.depth = i, this.texture = new qx(null, e, t, i), this._setTextureOptions(a), this.texture.isRenderTargetTexture = !0;
|
|
6545
6545
|
}
|
|
6546
6546
|
}
|
|
6547
6547
|
class Kt {
|
|
@@ -7550,7 +7550,7 @@ class Bm {
|
|
|
7550
7550
|
}
|
|
7551
7551
|
}
|
|
7552
7552
|
let yI = 0;
|
|
7553
|
-
const uC = /* @__PURE__ */ new J(), im = /* @__PURE__ */ new Rs(), wc = /* @__PURE__ */ new Kt(), zy = /* @__PURE__ */ new J(), UA = /* @__PURE__ */ new J(), bI = /* @__PURE__ */ new J(), xI = /* @__PURE__ */ new Rs(), dC = /* @__PURE__ */ new J(1, 0, 0), fC = /* @__PURE__ */ new J(0, 1, 0), hC = /* @__PURE__ */ new J(0, 0, 1), pC = { type: "added" }, SI = { type: "removed" }, rm = { type: "childadded", child: null },
|
|
7553
|
+
const uC = /* @__PURE__ */ new J(), im = /* @__PURE__ */ new Rs(), wc = /* @__PURE__ */ new Kt(), zy = /* @__PURE__ */ new J(), UA = /* @__PURE__ */ new J(), bI = /* @__PURE__ */ new J(), xI = /* @__PURE__ */ new Rs(), dC = /* @__PURE__ */ new J(1, 0, 0), fC = /* @__PURE__ */ new J(0, 1, 0), hC = /* @__PURE__ */ new J(0, 0, 1), pC = { type: "added" }, SI = { type: "removed" }, rm = { type: "childadded", child: null }, IM = { type: "childremoved", child: null };
|
|
7554
7554
|
class Xn extends Jo {
|
|
7555
7555
|
/**
|
|
7556
7556
|
* Constructs a new 3D object.
|
|
@@ -7884,7 +7884,7 @@ class Xn extends Jo {
|
|
|
7884
7884
|
return this;
|
|
7885
7885
|
}
|
|
7886
7886
|
const t = this.children.indexOf(e);
|
|
7887
|
-
return t !== -1 && (e.parent = null, this.children.splice(t, 1), e.dispatchEvent(SI),
|
|
7887
|
+
return t !== -1 && (e.parent = null, this.children.splice(t, 1), e.dispatchEvent(SI), IM.child = e, this.dispatchEvent(IM), IM.child = null), this;
|
|
7888
7888
|
}
|
|
7889
7889
|
/**
|
|
7890
7890
|
* Removes this 3D object from its current parent.
|
|
@@ -8493,7 +8493,7 @@ const $3 = {
|
|
|
8493
8493
|
yellow: 16776960,
|
|
8494
8494
|
yellowgreen: 10145074
|
|
8495
8495
|
}, Bu = { h: 0, s: 0, l: 0 }, By = { h: 0, s: 0, l: 0 };
|
|
8496
|
-
function
|
|
8496
|
+
function NM(s, e, t) {
|
|
8497
8497
|
return t < 0 && (t += 1), t > 1 && (t -= 1), t < 1 / 6 ? s + (e - s) * 6 * t : t < 1 / 2 ? e : t < 2 / 3 ? s + (e - s) * 6 * (2 / 3 - t) : s;
|
|
8498
8498
|
}
|
|
8499
8499
|
class ct {
|
|
@@ -8573,7 +8573,7 @@ class ct {
|
|
|
8573
8573
|
this.r = this.g = this.b = i;
|
|
8574
8574
|
else {
|
|
8575
8575
|
const c = i <= 0.5 ? i * (1 + t) : i + t - i * t, d = 2 * i - c;
|
|
8576
|
-
this.r =
|
|
8576
|
+
this.r = NM(d, c, e + 1 / 3), this.g = NM(d, c, e), this.b = NM(d, c, e - 1 / 3);
|
|
8577
8577
|
}
|
|
8578
8578
|
return Cn.colorSpaceToWorking(this, a), this;
|
|
8579
8579
|
}
|
|
@@ -8966,7 +8966,7 @@ class ct {
|
|
|
8966
8966
|
}
|
|
8967
8967
|
const ss = /* @__PURE__ */ new ct();
|
|
8968
8968
|
ct.NAMES = $3;
|
|
8969
|
-
class
|
|
8969
|
+
class Yx {
|
|
8970
8970
|
/**
|
|
8971
8971
|
* Constructs a new fog.
|
|
8972
8972
|
*
|
|
@@ -8982,7 +8982,7 @@ class qx {
|
|
|
8982
8982
|
* @return {FogExp2} A clone of this instance.
|
|
8983
8983
|
*/
|
|
8984
8984
|
clone() {
|
|
8985
|
-
return new
|
|
8985
|
+
return new Yx(this.color, this.density);
|
|
8986
8986
|
}
|
|
8987
8987
|
/**
|
|
8988
8988
|
* Serializes the fog into JSON.
|
|
@@ -8999,7 +8999,7 @@ class qx {
|
|
|
8999
8999
|
};
|
|
9000
9000
|
}
|
|
9001
9001
|
}
|
|
9002
|
-
class
|
|
9002
|
+
class jx {
|
|
9003
9003
|
/**
|
|
9004
9004
|
* Constructs a new fog.
|
|
9005
9005
|
*
|
|
@@ -9016,7 +9016,7 @@ class Yx {
|
|
|
9016
9016
|
* @return {Fog} A clone of this instance.
|
|
9017
9017
|
*/
|
|
9018
9018
|
clone() {
|
|
9019
|
-
return new
|
|
9019
|
+
return new jx(this.color, this.near, this.far);
|
|
9020
9020
|
}
|
|
9021
9021
|
/**
|
|
9022
9022
|
* Serializes the fog into JSON.
|
|
@@ -9049,7 +9049,7 @@ let P1 = class extends Xn {
|
|
|
9049
9049
|
return this.fog !== null && (t.object.fog = this.fog.toJSON()), this.backgroundBlurriness > 0 && (t.object.backgroundBlurriness = this.backgroundBlurriness), this.backgroundIntensity !== 1 && (t.object.backgroundIntensity = this.backgroundIntensity), t.object.backgroundRotation = this.backgroundRotation.toArray(), this.environmentIntensity !== 1 && (t.object.environmentIntensity = this.environmentIntensity), t.object.environmentRotation = this.environmentRotation.toArray(), t;
|
|
9050
9050
|
}
|
|
9051
9051
|
};
|
|
9052
|
-
const Go = /* @__PURE__ */ new J(), Tc = /* @__PURE__ */ new J(),
|
|
9052
|
+
const Go = /* @__PURE__ */ new J(), Tc = /* @__PURE__ */ new J(), zM = /* @__PURE__ */ new J(), Ec = /* @__PURE__ */ new J(), sm = /* @__PURE__ */ new J(), am = /* @__PURE__ */ new J(), mC = /* @__PURE__ */ new J(), BM = /* @__PURE__ */ new J(), UM = /* @__PURE__ */ new J(), FM = /* @__PURE__ */ new J(), OM = /* @__PURE__ */ new ri(), VM = /* @__PURE__ */ new ri(), HM = /* @__PURE__ */ new ri();
|
|
9053
9053
|
class _s {
|
|
9054
9054
|
/**
|
|
9055
9055
|
* Constructs a new triangle.
|
|
@@ -9087,8 +9087,8 @@ class _s {
|
|
|
9087
9087
|
* @return {?Vector3} The barycentric coordinates for the given point
|
|
9088
9088
|
*/
|
|
9089
9089
|
static getBarycoord(e, t, i, a, c) {
|
|
9090
|
-
Go.subVectors(a, t), Tc.subVectors(i, t),
|
|
9091
|
-
const d = Go.dot(Go), f = Go.dot(Tc), m = Go.dot(
|
|
9090
|
+
Go.subVectors(a, t), Tc.subVectors(i, t), zM.subVectors(e, t);
|
|
9091
|
+
const d = Go.dot(Go), f = Go.dot(Tc), m = Go.dot(zM), g = Tc.dot(Tc), v = Tc.dot(zM), M = d * g - f * f;
|
|
9092
9092
|
if (M === 0)
|
|
9093
9093
|
return c.set(0, 0, 0), null;
|
|
9094
9094
|
const x = 1 / M, S = (g * m - f * v) * x, w = (d * v - f * m) * x;
|
|
@@ -9137,7 +9137,7 @@ class _s {
|
|
|
9137
9137
|
* @return {Vector3} The interpolated attribute value.
|
|
9138
9138
|
*/
|
|
9139
9139
|
static getInterpolatedAttribute(e, t, i, a, c, d) {
|
|
9140
|
-
return
|
|
9140
|
+
return OM.setScalar(0), VM.setScalar(0), HM.setScalar(0), OM.fromBufferAttribute(e, t), VM.fromBufferAttribute(e, i), HM.fromBufferAttribute(e, a), d.setScalar(0), d.addScaledVector(OM, c.x), d.addScaledVector(VM, c.y), d.addScaledVector(HM, c.z), d;
|
|
9141
9141
|
}
|
|
9142
9142
|
/**
|
|
9143
9143
|
* Returns `true` if the triangle is oriented towards the given direction.
|
|
@@ -9302,19 +9302,19 @@ class _s {
|
|
|
9302
9302
|
closestPointToPoint(e, t) {
|
|
9303
9303
|
const i = this.a, a = this.b, c = this.c;
|
|
9304
9304
|
let d, f;
|
|
9305
|
-
sm.subVectors(a, i), am.subVectors(c, i),
|
|
9306
|
-
const m = sm.dot(
|
|
9305
|
+
sm.subVectors(a, i), am.subVectors(c, i), BM.subVectors(e, i);
|
|
9306
|
+
const m = sm.dot(BM), g = am.dot(BM);
|
|
9307
9307
|
if (m <= 0 && g <= 0)
|
|
9308
9308
|
return t.copy(i);
|
|
9309
|
-
|
|
9310
|
-
const v = sm.dot(
|
|
9309
|
+
UM.subVectors(e, a);
|
|
9310
|
+
const v = sm.dot(UM), M = am.dot(UM);
|
|
9311
9311
|
if (v >= 0 && M <= v)
|
|
9312
9312
|
return t.copy(a);
|
|
9313
9313
|
const x = m * M - v * g;
|
|
9314
9314
|
if (x <= 0 && m >= 0 && v <= 0)
|
|
9315
9315
|
return d = m / (m - v), t.copy(i).addScaledVector(sm, d);
|
|
9316
|
-
|
|
9317
|
-
const S = sm.dot(
|
|
9316
|
+
FM.subVectors(e, c);
|
|
9317
|
+
const S = sm.dot(FM), w = am.dot(FM);
|
|
9318
9318
|
if (w >= 0 && S <= w)
|
|
9319
9319
|
return t.copy(c);
|
|
9320
9320
|
const k = S * g - m * w;
|
|
@@ -9638,7 +9638,7 @@ class cs {
|
|
|
9638
9638
|
Mf.x,
|
|
9639
9639
|
0
|
|
9640
9640
|
];
|
|
9641
|
-
return !
|
|
9641
|
+
return !GM(t, om, lm, cm, Fy) || (t = [1, 0, 0, 0, 1, 0, 0, 0, 1], !GM(t, om, lm, cm, Fy)) ? !1 : (Oy.crossVectors(Uu, Fu), t = [Oy.x, Oy.y, Oy.z], GM(t, om, lm, cm, Fy));
|
|
9642
9642
|
}
|
|
9643
9643
|
/**
|
|
9644
9644
|
* Clamps the given point within the bounds of this box.
|
|
@@ -9751,7 +9751,7 @@ const Cc = [
|
|
|
9751
9751
|
/* @__PURE__ */ new J(),
|
|
9752
9752
|
/* @__PURE__ */ new J()
|
|
9753
9753
|
], Wo = /* @__PURE__ */ new J(), Uy = /* @__PURE__ */ new cs(), om = /* @__PURE__ */ new J(), lm = /* @__PURE__ */ new J(), cm = /* @__PURE__ */ new J(), Uu = /* @__PURE__ */ new J(), Fu = /* @__PURE__ */ new J(), Mf = /* @__PURE__ */ new J(), FA = /* @__PURE__ */ new J(), Fy = /* @__PURE__ */ new J(), Oy = /* @__PURE__ */ new J(), wf = /* @__PURE__ */ new J();
|
|
9754
|
-
function
|
|
9754
|
+
function GM(s, e, t, i, a) {
|
|
9755
9755
|
for (let c = 0, d = s.length - 3; c <= d; c += 3) {
|
|
9756
9756
|
wf.fromArray(s, c);
|
|
9757
9757
|
const f = a.x * Math.abs(wf.x) + a.y * Math.abs(wf.y) + a.z * Math.abs(wf.z), m = e.dot(wf), g = t.dot(wf), v = i.dot(wf);
|
|
@@ -10300,7 +10300,7 @@ class Mt extends oi {
|
|
|
10300
10300
|
super(new Float32Array(e), t, i);
|
|
10301
10301
|
}
|
|
10302
10302
|
}
|
|
10303
|
-
const II = /* @__PURE__ */ new cs(), OA = /* @__PURE__ */ new J(),
|
|
10303
|
+
const II = /* @__PURE__ */ new cs(), OA = /* @__PURE__ */ new J(), WM = /* @__PURE__ */ new J();
|
|
10304
10304
|
class Gr {
|
|
10305
10305
|
/**
|
|
10306
10306
|
* Constructs a new sphere.
|
|
@@ -10480,7 +10480,7 @@ class Gr {
|
|
|
10480
10480
|
* @return {Sphere} A reference to this sphere.
|
|
10481
10481
|
*/
|
|
10482
10482
|
union(e) {
|
|
10483
|
-
return e.isEmpty() ? this : this.isEmpty() ? (this.copy(e), this) : (this.center.equals(e.center) === !0 ? this.radius = Math.max(this.radius, e.radius) : (
|
|
10483
|
+
return e.isEmpty() ? this : this.isEmpty() ? (this.copy(e), this) : (this.center.equals(e.center) === !0 ? this.radius = Math.max(this.radius, e.radius) : (WM.subVectors(e.center, this.center).setLength(e.radius), this.expandByPoint(OA.copy(e.center).add(WM)), this.expandByPoint(OA.copy(e.center).sub(WM))), this);
|
|
10484
10484
|
}
|
|
10485
10485
|
/**
|
|
10486
10486
|
* Returns `true` if this sphere is equal with the given one.
|
|
@@ -10521,7 +10521,7 @@ class Gr {
|
|
|
10521
10521
|
}
|
|
10522
10522
|
}
|
|
10523
10523
|
let NI = 0;
|
|
10524
|
-
const oo = /* @__PURE__ */ new Kt(),
|
|
10524
|
+
const oo = /* @__PURE__ */ new Kt(), XM = /* @__PURE__ */ new Xn(), um = /* @__PURE__ */ new J(), Ca = /* @__PURE__ */ new cs(), VA = /* @__PURE__ */ new cs(), Dr = /* @__PURE__ */ new J();
|
|
10525
10525
|
class sn extends Jo {
|
|
10526
10526
|
/**
|
|
10527
10527
|
* Constructs a new geometry.
|
|
@@ -10727,7 +10727,7 @@ class sn extends Jo {
|
|
|
10727
10727
|
* @return {BufferGeometry} A reference to this instance.
|
|
10728
10728
|
*/
|
|
10729
10729
|
lookAt(e) {
|
|
10730
|
-
return
|
|
10730
|
+
return XM.lookAt(e), XM.updateMatrix(), this.applyMatrix4(XM.matrix), this;
|
|
10731
10731
|
}
|
|
10732
10732
|
/**
|
|
10733
10733
|
* Center the geometry based on its bounding box.
|
|
@@ -11054,7 +11054,7 @@ class sn extends Jo {
|
|
|
11054
11054
|
this.dispatchEvent({ type: "dispose" });
|
|
11055
11055
|
}
|
|
11056
11056
|
}
|
|
11057
|
-
class
|
|
11057
|
+
class Jx {
|
|
11058
11058
|
/**
|
|
11059
11059
|
* Constructs a new interleaved buffer.
|
|
11060
11060
|
*
|
|
@@ -11452,7 +11452,7 @@ class Wr extends Jo {
|
|
|
11452
11452
|
* Constructs a new material.
|
|
11453
11453
|
*/
|
|
11454
11454
|
constructor() {
|
|
11455
|
-
super(), this.isMaterial = !0, Object.defineProperty(this, "id", { value: zI++ }), this.uuid = ka(), this.name = "", this.type = "Material", this.blending = Gf, this.side = Nc, this.vertexColors = !1, this.opacity = 1, this.transparent = !1, this.alphaHash = !1, this.blendSrc = zb, this.blendDst = Bb, this.blendEquation = Xu, this.blendSrcAlpha = null, this.blendDstAlpha = null, this.blendEquationAlpha = null, this.blendColor = new ct(0, 0, 0), this.blendAlpha = 0, this.depthFunc = Xf, this.depthTest = !0, this.depthWrite = !0, this.stencilWriteMask = 255, this.stencilFunc =
|
|
11455
|
+
super(), this.isMaterial = !0, Object.defineProperty(this, "id", { value: zI++ }), this.uuid = ka(), this.name = "", this.type = "Material", this.blending = Gf, this.side = Nc, this.vertexColors = !1, this.opacity = 1, this.transparent = !1, this.alphaHash = !1, this.blendSrc = zb, this.blendDst = Bb, this.blendEquation = Xu, this.blendSrcAlpha = null, this.blendDstAlpha = null, this.blendEquationAlpha = null, this.blendColor = new ct(0, 0, 0), this.blendAlpha = 0, this.depthFunc = Xf, this.depthTest = !0, this.depthWrite = !0, this.stencilWriteMask = 255, this.stencilFunc = Hw, this.stencilRef = 0, this.stencilFuncMask = 255, this.stencilFail = Bf, this.stencilZFail = Bf, this.stencilZPass = Bf, this.stencilWrite = !1, this.clippingPlanes = null, this.clipIntersection = !1, this.clipShadows = !1, this.shadowSide = null, this.colorWrite = !0, this.precision = null, this.polygonOffset = !1, this.polygonOffsetFactor = 0, this.polygonOffsetUnits = 0, this.dithering = !1, this.alphaToCoverage = !1, this.premultipliedAlpha = !1, this.forceSinglePass = !1, this.allowOverride = !0, this.visible = !0, this.toneMapped = !0, this.userData = {}, this.version = 0, this._alphaTest = 0;
|
|
11456
11456
|
}
|
|
11457
11457
|
/**
|
|
11458
11458
|
* Sets the alpha value to be used when running an alpha test. The material
|
|
@@ -11551,7 +11551,7 @@ class Wr extends Jo {
|
|
|
11551
11551
|
generator: "Material.toJSON"
|
|
11552
11552
|
}
|
|
11553
11553
|
};
|
|
11554
|
-
i.uuid = this.uuid, i.type = this.type, this.name !== "" && (i.name = this.name), this.color && this.color.isColor && (i.color = this.color.getHex()), this.roughness !== void 0 && (i.roughness = this.roughness), this.metalness !== void 0 && (i.metalness = this.metalness), this.sheen !== void 0 && (i.sheen = this.sheen), this.sheenColor && this.sheenColor.isColor && (i.sheenColor = this.sheenColor.getHex()), this.sheenRoughness !== void 0 && (i.sheenRoughness = this.sheenRoughness), this.emissive && this.emissive.isColor && (i.emissive = this.emissive.getHex()), this.emissiveIntensity !== void 0 && this.emissiveIntensity !== 1 && (i.emissiveIntensity = this.emissiveIntensity), this.specular && this.specular.isColor && (i.specular = this.specular.getHex()), this.specularIntensity !== void 0 && (i.specularIntensity = this.specularIntensity), this.specularColor && this.specularColor.isColor && (i.specularColor = this.specularColor.getHex()), this.shininess !== void 0 && (i.shininess = this.shininess), this.clearcoat !== void 0 && (i.clearcoat = this.clearcoat), this.clearcoatRoughness !== void 0 && (i.clearcoatRoughness = this.clearcoatRoughness), this.clearcoatMap && this.clearcoatMap.isTexture && (i.clearcoatMap = this.clearcoatMap.toJSON(e).uuid), this.clearcoatRoughnessMap && this.clearcoatRoughnessMap.isTexture && (i.clearcoatRoughnessMap = this.clearcoatRoughnessMap.toJSON(e).uuid), this.clearcoatNormalMap && this.clearcoatNormalMap.isTexture && (i.clearcoatNormalMap = this.clearcoatNormalMap.toJSON(e).uuid, i.clearcoatNormalScale = this.clearcoatNormalScale.toArray()), this.sheenColorMap && this.sheenColorMap.isTexture && (i.sheenColorMap = this.sheenColorMap.toJSON(e).uuid), this.sheenRoughnessMap && this.sheenRoughnessMap.isTexture && (i.sheenRoughnessMap = this.sheenRoughnessMap.toJSON(e).uuid), this.dispersion !== void 0 && (i.dispersion = this.dispersion), this.iridescence !== void 0 && (i.iridescence = this.iridescence), this.iridescenceIOR !== void 0 && (i.iridescenceIOR = this.iridescenceIOR), this.iridescenceThicknessRange !== void 0 && (i.iridescenceThicknessRange = this.iridescenceThicknessRange), this.iridescenceMap && this.iridescenceMap.isTexture && (i.iridescenceMap = this.iridescenceMap.toJSON(e).uuid), this.iridescenceThicknessMap && this.iridescenceThicknessMap.isTexture && (i.iridescenceThicknessMap = this.iridescenceThicknessMap.toJSON(e).uuid), this.anisotropy !== void 0 && (i.anisotropy = this.anisotropy), this.anisotropyRotation !== void 0 && (i.anisotropyRotation = this.anisotropyRotation), this.anisotropyMap && this.anisotropyMap.isTexture && (i.anisotropyMap = this.anisotropyMap.toJSON(e).uuid), this.map && this.map.isTexture && (i.map = this.map.toJSON(e).uuid), this.matcap && this.matcap.isTexture && (i.matcap = this.matcap.toJSON(e).uuid), this.alphaMap && this.alphaMap.isTexture && (i.alphaMap = this.alphaMap.toJSON(e).uuid), this.lightMap && this.lightMap.isTexture && (i.lightMap = this.lightMap.toJSON(e).uuid, i.lightMapIntensity = this.lightMapIntensity), this.aoMap && this.aoMap.isTexture && (i.aoMap = this.aoMap.toJSON(e).uuid, i.aoMapIntensity = this.aoMapIntensity), this.bumpMap && this.bumpMap.isTexture && (i.bumpMap = this.bumpMap.toJSON(e).uuid, i.bumpScale = this.bumpScale), this.normalMap && this.normalMap.isTexture && (i.normalMap = this.normalMap.toJSON(e).uuid, i.normalMapType = this.normalMapType, i.normalScale = this.normalScale.toArray()), this.displacementMap && this.displacementMap.isTexture && (i.displacementMap = this.displacementMap.toJSON(e).uuid, i.displacementScale = this.displacementScale, i.displacementBias = this.displacementBias), this.roughnessMap && this.roughnessMap.isTexture && (i.roughnessMap = this.roughnessMap.toJSON(e).uuid), this.metalnessMap && this.metalnessMap.isTexture && (i.metalnessMap = this.metalnessMap.toJSON(e).uuid), this.emissiveMap && this.emissiveMap.isTexture && (i.emissiveMap = this.emissiveMap.toJSON(e).uuid), this.specularMap && this.specularMap.isTexture && (i.specularMap = this.specularMap.toJSON(e).uuid), this.specularIntensityMap && this.specularIntensityMap.isTexture && (i.specularIntensityMap = this.specularIntensityMap.toJSON(e).uuid), this.specularColorMap && this.specularColorMap.isTexture && (i.specularColorMap = this.specularColorMap.toJSON(e).uuid), this.envMap && this.envMap.isTexture && (i.envMap = this.envMap.toJSON(e).uuid, this.combine !== void 0 && (i.combine = this.combine)), this.envMapRotation !== void 0 && (i.envMapRotation = this.envMapRotation.toArray()), this.envMapIntensity !== void 0 && (i.envMapIntensity = this.envMapIntensity), this.reflectivity !== void 0 && (i.reflectivity = this.reflectivity), this.refractionRatio !== void 0 && (i.refractionRatio = this.refractionRatio), this.gradientMap && this.gradientMap.isTexture && (i.gradientMap = this.gradientMap.toJSON(e).uuid), this.transmission !== void 0 && (i.transmission = this.transmission), this.transmissionMap && this.transmissionMap.isTexture && (i.transmissionMap = this.transmissionMap.toJSON(e).uuid), this.thickness !== void 0 && (i.thickness = this.thickness), this.thicknessMap && this.thicknessMap.isTexture && (i.thicknessMap = this.thicknessMap.toJSON(e).uuid), this.attenuationDistance !== void 0 && this.attenuationDistance !== 1 / 0 && (i.attenuationDistance = this.attenuationDistance), this.attenuationColor !== void 0 && (i.attenuationColor = this.attenuationColor.getHex()), this.size !== void 0 && (i.size = this.size), this.shadowSide !== null && (i.shadowSide = this.shadowSide), this.sizeAttenuation !== void 0 && (i.sizeAttenuation = this.sizeAttenuation), this.blending !== Gf && (i.blending = this.blending), this.side !== Nc && (i.side = this.side), this.vertexColors === !0 && (i.vertexColors = !0), this.opacity < 1 && (i.opacity = this.opacity), this.transparent === !0 && (i.transparent = !0), this.blendSrc !== zb && (i.blendSrc = this.blendSrc), this.blendDst !== Bb && (i.blendDst = this.blendDst), this.blendEquation !== Xu && (i.blendEquation = this.blendEquation), this.blendSrcAlpha !== null && (i.blendSrcAlpha = this.blendSrcAlpha), this.blendDstAlpha !== null && (i.blendDstAlpha = this.blendDstAlpha), this.blendEquationAlpha !== null && (i.blendEquationAlpha = this.blendEquationAlpha), this.blendColor && this.blendColor.isColor && (i.blendColor = this.blendColor.getHex()), this.blendAlpha !== 0 && (i.blendAlpha = this.blendAlpha), this.depthFunc !== Xf && (i.depthFunc = this.depthFunc), this.depthTest === !1 && (i.depthTest = this.depthTest), this.depthWrite === !1 && (i.depthWrite = this.depthWrite), this.colorWrite === !1 && (i.colorWrite = this.colorWrite), this.stencilWriteMask !== 255 && (i.stencilWriteMask = this.stencilWriteMask), this.stencilFunc !==
|
|
11554
|
+
i.uuid = this.uuid, i.type = this.type, this.name !== "" && (i.name = this.name), this.color && this.color.isColor && (i.color = this.color.getHex()), this.roughness !== void 0 && (i.roughness = this.roughness), this.metalness !== void 0 && (i.metalness = this.metalness), this.sheen !== void 0 && (i.sheen = this.sheen), this.sheenColor && this.sheenColor.isColor && (i.sheenColor = this.sheenColor.getHex()), this.sheenRoughness !== void 0 && (i.sheenRoughness = this.sheenRoughness), this.emissive && this.emissive.isColor && (i.emissive = this.emissive.getHex()), this.emissiveIntensity !== void 0 && this.emissiveIntensity !== 1 && (i.emissiveIntensity = this.emissiveIntensity), this.specular && this.specular.isColor && (i.specular = this.specular.getHex()), this.specularIntensity !== void 0 && (i.specularIntensity = this.specularIntensity), this.specularColor && this.specularColor.isColor && (i.specularColor = this.specularColor.getHex()), this.shininess !== void 0 && (i.shininess = this.shininess), this.clearcoat !== void 0 && (i.clearcoat = this.clearcoat), this.clearcoatRoughness !== void 0 && (i.clearcoatRoughness = this.clearcoatRoughness), this.clearcoatMap && this.clearcoatMap.isTexture && (i.clearcoatMap = this.clearcoatMap.toJSON(e).uuid), this.clearcoatRoughnessMap && this.clearcoatRoughnessMap.isTexture && (i.clearcoatRoughnessMap = this.clearcoatRoughnessMap.toJSON(e).uuid), this.clearcoatNormalMap && this.clearcoatNormalMap.isTexture && (i.clearcoatNormalMap = this.clearcoatNormalMap.toJSON(e).uuid, i.clearcoatNormalScale = this.clearcoatNormalScale.toArray()), this.sheenColorMap && this.sheenColorMap.isTexture && (i.sheenColorMap = this.sheenColorMap.toJSON(e).uuid), this.sheenRoughnessMap && this.sheenRoughnessMap.isTexture && (i.sheenRoughnessMap = this.sheenRoughnessMap.toJSON(e).uuid), this.dispersion !== void 0 && (i.dispersion = this.dispersion), this.iridescence !== void 0 && (i.iridescence = this.iridescence), this.iridescenceIOR !== void 0 && (i.iridescenceIOR = this.iridescenceIOR), this.iridescenceThicknessRange !== void 0 && (i.iridescenceThicknessRange = this.iridescenceThicknessRange), this.iridescenceMap && this.iridescenceMap.isTexture && (i.iridescenceMap = this.iridescenceMap.toJSON(e).uuid), this.iridescenceThicknessMap && this.iridescenceThicknessMap.isTexture && (i.iridescenceThicknessMap = this.iridescenceThicknessMap.toJSON(e).uuid), this.anisotropy !== void 0 && (i.anisotropy = this.anisotropy), this.anisotropyRotation !== void 0 && (i.anisotropyRotation = this.anisotropyRotation), this.anisotropyMap && this.anisotropyMap.isTexture && (i.anisotropyMap = this.anisotropyMap.toJSON(e).uuid), this.map && this.map.isTexture && (i.map = this.map.toJSON(e).uuid), this.matcap && this.matcap.isTexture && (i.matcap = this.matcap.toJSON(e).uuid), this.alphaMap && this.alphaMap.isTexture && (i.alphaMap = this.alphaMap.toJSON(e).uuid), this.lightMap && this.lightMap.isTexture && (i.lightMap = this.lightMap.toJSON(e).uuid, i.lightMapIntensity = this.lightMapIntensity), this.aoMap && this.aoMap.isTexture && (i.aoMap = this.aoMap.toJSON(e).uuid, i.aoMapIntensity = this.aoMapIntensity), this.bumpMap && this.bumpMap.isTexture && (i.bumpMap = this.bumpMap.toJSON(e).uuid, i.bumpScale = this.bumpScale), this.normalMap && this.normalMap.isTexture && (i.normalMap = this.normalMap.toJSON(e).uuid, i.normalMapType = this.normalMapType, i.normalScale = this.normalScale.toArray()), this.displacementMap && this.displacementMap.isTexture && (i.displacementMap = this.displacementMap.toJSON(e).uuid, i.displacementScale = this.displacementScale, i.displacementBias = this.displacementBias), this.roughnessMap && this.roughnessMap.isTexture && (i.roughnessMap = this.roughnessMap.toJSON(e).uuid), this.metalnessMap && this.metalnessMap.isTexture && (i.metalnessMap = this.metalnessMap.toJSON(e).uuid), this.emissiveMap && this.emissiveMap.isTexture && (i.emissiveMap = this.emissiveMap.toJSON(e).uuid), this.specularMap && this.specularMap.isTexture && (i.specularMap = this.specularMap.toJSON(e).uuid), this.specularIntensityMap && this.specularIntensityMap.isTexture && (i.specularIntensityMap = this.specularIntensityMap.toJSON(e).uuid), this.specularColorMap && this.specularColorMap.isTexture && (i.specularColorMap = this.specularColorMap.toJSON(e).uuid), this.envMap && this.envMap.isTexture && (i.envMap = this.envMap.toJSON(e).uuid, this.combine !== void 0 && (i.combine = this.combine)), this.envMapRotation !== void 0 && (i.envMapRotation = this.envMapRotation.toArray()), this.envMapIntensity !== void 0 && (i.envMapIntensity = this.envMapIntensity), this.reflectivity !== void 0 && (i.reflectivity = this.reflectivity), this.refractionRatio !== void 0 && (i.refractionRatio = this.refractionRatio), this.gradientMap && this.gradientMap.isTexture && (i.gradientMap = this.gradientMap.toJSON(e).uuid), this.transmission !== void 0 && (i.transmission = this.transmission), this.transmissionMap && this.transmissionMap.isTexture && (i.transmissionMap = this.transmissionMap.toJSON(e).uuid), this.thickness !== void 0 && (i.thickness = this.thickness), this.thicknessMap && this.thicknessMap.isTexture && (i.thicknessMap = this.thicknessMap.toJSON(e).uuid), this.attenuationDistance !== void 0 && this.attenuationDistance !== 1 / 0 && (i.attenuationDistance = this.attenuationDistance), this.attenuationColor !== void 0 && (i.attenuationColor = this.attenuationColor.getHex()), this.size !== void 0 && (i.size = this.size), this.shadowSide !== null && (i.shadowSide = this.shadowSide), this.sizeAttenuation !== void 0 && (i.sizeAttenuation = this.sizeAttenuation), this.blending !== Gf && (i.blending = this.blending), this.side !== Nc && (i.side = this.side), this.vertexColors === !0 && (i.vertexColors = !0), this.opacity < 1 && (i.opacity = this.opacity), this.transparent === !0 && (i.transparent = !0), this.blendSrc !== zb && (i.blendSrc = this.blendSrc), this.blendDst !== Bb && (i.blendDst = this.blendDst), this.blendEquation !== Xu && (i.blendEquation = this.blendEquation), this.blendSrcAlpha !== null && (i.blendSrcAlpha = this.blendSrcAlpha), this.blendDstAlpha !== null && (i.blendDstAlpha = this.blendDstAlpha), this.blendEquationAlpha !== null && (i.blendEquationAlpha = this.blendEquationAlpha), this.blendColor && this.blendColor.isColor && (i.blendColor = this.blendColor.getHex()), this.blendAlpha !== 0 && (i.blendAlpha = this.blendAlpha), this.depthFunc !== Xf && (i.depthFunc = this.depthFunc), this.depthTest === !1 && (i.depthTest = this.depthTest), this.depthWrite === !1 && (i.depthWrite = this.depthWrite), this.colorWrite === !1 && (i.colorWrite = this.colorWrite), this.stencilWriteMask !== 255 && (i.stencilWriteMask = this.stencilWriteMask), this.stencilFunc !== Hw && (i.stencilFunc = this.stencilFunc), this.stencilRef !== 0 && (i.stencilRef = this.stencilRef), this.stencilFuncMask !== 255 && (i.stencilFuncMask = this.stencilFuncMask), this.stencilFail !== Bf && (i.stencilFail = this.stencilFail), this.stencilZFail !== Bf && (i.stencilZFail = this.stencilZFail), this.stencilZPass !== Bf && (i.stencilZPass = this.stencilZPass), this.stencilWrite === !0 && (i.stencilWrite = this.stencilWrite), this.rotation !== void 0 && this.rotation !== 0 && (i.rotation = this.rotation), this.polygonOffset === !0 && (i.polygonOffset = !0), this.polygonOffsetFactor !== 0 && (i.polygonOffsetFactor = this.polygonOffsetFactor), this.polygonOffsetUnits !== 0 && (i.polygonOffsetUnits = this.polygonOffsetUnits), this.linewidth !== void 0 && this.linewidth !== 1 && (i.linewidth = this.linewidth), this.dashSize !== void 0 && (i.dashSize = this.dashSize), this.gapSize !== void 0 && (i.gapSize = this.gapSize), this.scale !== void 0 && (i.scale = this.scale), this.dithering === !0 && (i.dithering = !0), this.alphaTest > 0 && (i.alphaTest = this.alphaTest), this.alphaHash === !0 && (i.alphaHash = !0), this.alphaToCoverage === !0 && (i.alphaToCoverage = !0), this.premultipliedAlpha === !0 && (i.premultipliedAlpha = !0), this.forceSinglePass === !0 && (i.forceSinglePass = !0), this.allowOverride === !1 && (i.allowOverride = !1), this.wireframe === !0 && (i.wireframe = !0), this.wireframeLinewidth > 1 && (i.wireframeLinewidth = this.wireframeLinewidth), this.wireframeLinecap !== "round" && (i.wireframeLinecap = this.wireframeLinecap), this.wireframeLinejoin !== "round" && (i.wireframeLinejoin = this.wireframeLinejoin), this.flatShading === !0 && (i.flatShading = !0), this.visible === !1 && (i.visible = !1), this.toneMapped === !1 && (i.toneMapped = !1), this.fog === !1 && (i.fog = !1), Object.keys(this.userData).length > 0 && (i.userData = this.userData);
|
|
11555
11555
|
function a(c) {
|
|
11556
11556
|
const d = [];
|
|
11557
11557
|
for (const f in c) {
|
|
@@ -11645,7 +11645,7 @@ class L1 extends Wr {
|
|
|
11645
11645
|
}
|
|
11646
11646
|
}
|
|
11647
11647
|
let dm;
|
|
11648
|
-
const HA = /* @__PURE__ */ new J(), fm = /* @__PURE__ */ new J(), hm = /* @__PURE__ */ new J(), pm = /* @__PURE__ */ new Fe(), GA = /* @__PURE__ */ new Fe(), eR = /* @__PURE__ */ new Kt(), Hy = /* @__PURE__ */ new J(), WA = /* @__PURE__ */ new J(), Gy = /* @__PURE__ */ new J(), gC = /* @__PURE__ */ new Fe(),
|
|
11648
|
+
const HA = /* @__PURE__ */ new J(), fm = /* @__PURE__ */ new J(), hm = /* @__PURE__ */ new J(), pm = /* @__PURE__ */ new Fe(), GA = /* @__PURE__ */ new Fe(), eR = /* @__PURE__ */ new Kt(), Hy = /* @__PURE__ */ new J(), WA = /* @__PURE__ */ new J(), Gy = /* @__PURE__ */ new J(), gC = /* @__PURE__ */ new Fe(), qM = /* @__PURE__ */ new Fe(), AC = /* @__PURE__ */ new Fe();
|
|
11649
11649
|
class tR extends Xn {
|
|
11650
11650
|
/**
|
|
11651
11651
|
* Constructs a new sprite.
|
|
@@ -11676,7 +11676,7 @@ class tR extends Xn {
|
|
|
11676
11676
|
0,
|
|
11677
11677
|
0,
|
|
11678
11678
|
1
|
|
11679
|
-
]), i = new
|
|
11679
|
+
]), i = new Jx(t, 5);
|
|
11680
11680
|
dm.setIndex([0, 1, 2, 0, 2, 3]), dm.setAttribute("position", new Yf(i, 3, 0, !1)), dm.setAttribute("uv", new Yf(i, 2, 3, !1));
|
|
11681
11681
|
}
|
|
11682
11682
|
this.geometry = dm, this.material = e, this.center = new Fe(0.5, 0.5), this.count = 1;
|
|
@@ -11693,15 +11693,15 @@ class tR extends Xn {
|
|
|
11693
11693
|
let a, c;
|
|
11694
11694
|
i !== 0 && (c = Math.cos(i), a = Math.sin(i));
|
|
11695
11695
|
const d = this.center;
|
|
11696
|
-
Wy(Hy.set(-0.5, -0.5, 0), hm, d, fm, a, c), Wy(WA.set(0.5, -0.5, 0), hm, d, fm, a, c), Wy(Gy.set(0.5, 0.5, 0), hm, d, fm, a, c), gC.set(0, 0),
|
|
11696
|
+
Wy(Hy.set(-0.5, -0.5, 0), hm, d, fm, a, c), Wy(WA.set(0.5, -0.5, 0), hm, d, fm, a, c), Wy(Gy.set(0.5, 0.5, 0), hm, d, fm, a, c), gC.set(0, 0), qM.set(1, 0), AC.set(1, 1);
|
|
11697
11697
|
let f = e.ray.intersectTriangle(Hy, WA, Gy, !1, HA);
|
|
11698
|
-
if (f === null && (Wy(WA.set(-0.5, 0.5, 0), hm, d, fm, a, c),
|
|
11698
|
+
if (f === null && (Wy(WA.set(-0.5, 0.5, 0), hm, d, fm, a, c), qM.set(0, 1), f = e.ray.intersectTriangle(Hy, Gy, WA, !1, HA), f === null))
|
|
11699
11699
|
return;
|
|
11700
11700
|
const m = e.ray.origin.distanceTo(HA);
|
|
11701
11701
|
m < e.near || m > e.far || t.push({
|
|
11702
11702
|
distance: m,
|
|
11703
11703
|
point: HA.clone(),
|
|
11704
|
-
uv: _s.getInterpolation(HA, Hy, WA, Gy, gC,
|
|
11704
|
+
uv: _s.getInterpolation(HA, Hy, WA, Gy, gC, qM, AC, new Fe()),
|
|
11705
11705
|
face: null,
|
|
11706
11706
|
object: this
|
|
11707
11707
|
});
|
|
@@ -11854,7 +11854,7 @@ class nR extends Xn {
|
|
|
11854
11854
|
return t;
|
|
11855
11855
|
}
|
|
11856
11856
|
}
|
|
11857
|
-
const Rc = /* @__PURE__ */ new J(),
|
|
11857
|
+
const Rc = /* @__PURE__ */ new J(), YM = /* @__PURE__ */ new J(), qy = /* @__PURE__ */ new J(), Ou = /* @__PURE__ */ new J(), jM = /* @__PURE__ */ new J(), Yy = /* @__PURE__ */ new J(), JM = /* @__PURE__ */ new J();
|
|
11858
11858
|
class Wm {
|
|
11859
11859
|
/**
|
|
11860
11860
|
* Constructs a new ray.
|
|
@@ -11953,7 +11953,7 @@ class Wm {
|
|
|
11953
11953
|
* @return {number} The squared distance.
|
|
11954
11954
|
*/
|
|
11955
11955
|
distanceSqToSegment(e, t, i, a) {
|
|
11956
|
-
|
|
11956
|
+
YM.copy(e).add(t).multiplyScalar(0.5), qy.copy(t).sub(e).normalize(), Ou.copy(this.origin).sub(YM);
|
|
11957
11957
|
const c = e.distanceTo(t) * 0.5, d = -this.direction.dot(qy), f = Ou.dot(this.direction), m = -Ou.dot(qy), g = Ou.lengthSq(), v = Math.abs(1 - d * d);
|
|
11958
11958
|
let M, x, S, w;
|
|
11959
11959
|
if (v > 0)
|
|
@@ -11970,7 +11970,7 @@ class Wm {
|
|
|
11970
11970
|
x <= -w ? (M = Math.max(0, -(-d * c + f)), x = M > 0 ? -c : Math.min(Math.max(-c, -m), c), S = -M * M + x * (x + 2 * m) + g) : x <= w ? (M = 0, x = Math.min(Math.max(-c, -m), c), S = x * (x + 2 * m) + g) : (M = Math.max(0, -(d * c + f)), x = M > 0 ? c : Math.min(Math.max(-c, -m), c), S = -M * M + x * (x + 2 * m) + g);
|
|
11971
11971
|
else
|
|
11972
11972
|
x = d > 0 ? -c : c, M = Math.max(0, -(d * x + f)), S = -M * M + x * (x + 2 * m) + g;
|
|
11973
|
-
return i && i.copy(this.origin).addScaledVector(this.direction, M), a && a.copy(
|
|
11973
|
+
return i && i.copy(this.origin).addScaledVector(this.direction, M), a && a.copy(YM).addScaledVector(qy, x), S;
|
|
11974
11974
|
}
|
|
11975
11975
|
/**
|
|
11976
11976
|
* Intersects this ray with the given sphere, returning the intersection
|
|
@@ -12066,8 +12066,8 @@ class Wm {
|
|
|
12066
12066
|
* @return {?Vector3} The intersection point.
|
|
12067
12067
|
*/
|
|
12068
12068
|
intersectTriangle(e, t, i, a, c) {
|
|
12069
|
-
|
|
12070
|
-
let d = this.direction.dot(
|
|
12069
|
+
jM.subVectors(t, e), Yy.subVectors(i, e), JM.crossVectors(jM, Yy);
|
|
12070
|
+
let d = this.direction.dot(JM), f;
|
|
12071
12071
|
if (d > 0) {
|
|
12072
12072
|
if (a) return null;
|
|
12073
12073
|
f = 1;
|
|
@@ -12079,10 +12079,10 @@ class Wm {
|
|
|
12079
12079
|
const m = f * this.direction.dot(Yy.crossVectors(Ou, Yy));
|
|
12080
12080
|
if (m < 0)
|
|
12081
12081
|
return null;
|
|
12082
|
-
const g = f * this.direction.dot(
|
|
12082
|
+
const g = f * this.direction.dot(jM.cross(Ou));
|
|
12083
12083
|
if (g < 0 || m + g > d)
|
|
12084
12084
|
return null;
|
|
12085
|
-
const v = -f * Ou.dot(
|
|
12085
|
+
const v = -f * Ou.dot(JM);
|
|
12086
12086
|
return v < 0 ? null : this.at(v / d, c);
|
|
12087
12087
|
}
|
|
12088
12088
|
/**
|
|
@@ -12129,7 +12129,7 @@ class nd extends Wr {
|
|
|
12129
12129
|
return super.copy(e), this.color.copy(e.color), this.map = e.map, this.lightMap = e.lightMap, this.lightMapIntensity = e.lightMapIntensity, this.aoMap = e.aoMap, this.aoMapIntensity = e.aoMapIntensity, this.specularMap = e.specularMap, this.alphaMap = e.alphaMap, this.envMap = e.envMap, this.envMapRotation.copy(e.envMapRotation), this.combine = e.combine, this.reflectivity = e.reflectivity, this.refractionRatio = e.refractionRatio, this.wireframe = e.wireframe, this.wireframeLinewidth = e.wireframeLinewidth, this.wireframeLinecap = e.wireframeLinecap, this.wireframeLinejoin = e.wireframeLinejoin, this.fog = e.fog, this;
|
|
12130
12130
|
}
|
|
12131
12131
|
}
|
|
12132
|
-
const yC = /* @__PURE__ */ new Kt(), Tf = /* @__PURE__ */ new Wm(), jy = /* @__PURE__ */ new Gr(), bC = /* @__PURE__ */ new J(), Jy = /* @__PURE__ */ new J(), Qy = /* @__PURE__ */ new J(), Zy = /* @__PURE__ */ new J(),
|
|
12132
|
+
const yC = /* @__PURE__ */ new Kt(), Tf = /* @__PURE__ */ new Wm(), jy = /* @__PURE__ */ new Gr(), bC = /* @__PURE__ */ new J(), Jy = /* @__PURE__ */ new J(), Qy = /* @__PURE__ */ new J(), Zy = /* @__PURE__ */ new J(), QM = /* @__PURE__ */ new J(), Ky = /* @__PURE__ */ new J(), xC = /* @__PURE__ */ new J(), _y = /* @__PURE__ */ new J();
|
|
12133
12133
|
class cr extends Xn {
|
|
12134
12134
|
/**
|
|
12135
12135
|
* Constructs a new mesh.
|
|
@@ -12176,7 +12176,7 @@ class cr extends Xn {
|
|
|
12176
12176
|
Ky.set(0, 0, 0);
|
|
12177
12177
|
for (let m = 0, g = c.length; m < g; m++) {
|
|
12178
12178
|
const v = f[m], M = c[m];
|
|
12179
|
-
v !== 0 && (
|
|
12179
|
+
v !== 0 && (QM.fromBufferAttribute(M, e), d ? Ky.addScaledVector(QM, v) : Ky.addScaledVector(QM.sub(t), v));
|
|
12180
12180
|
}
|
|
12181
12181
|
t.add(Ky);
|
|
12182
12182
|
}
|
|
@@ -12257,7 +12257,7 @@ function $y(s, e, t, i, a, c, d, f, m, g) {
|
|
|
12257
12257
|
}
|
|
12258
12258
|
return v;
|
|
12259
12259
|
}
|
|
12260
|
-
const XA = /* @__PURE__ */ new ri(), SC = /* @__PURE__ */ new ri(), MC = /* @__PURE__ */ new ri(), UI = /* @__PURE__ */ new ri(), wC = /* @__PURE__ */ new Kt(), eb = /* @__PURE__ */ new J(),
|
|
12260
|
+
const XA = /* @__PURE__ */ new ri(), SC = /* @__PURE__ */ new ri(), MC = /* @__PURE__ */ new ri(), UI = /* @__PURE__ */ new ri(), wC = /* @__PURE__ */ new Kt(), eb = /* @__PURE__ */ new J(), ZM = /* @__PURE__ */ new Gr(), TC = /* @__PURE__ */ new Kt(), KM = /* @__PURE__ */ new Wm();
|
|
12261
12261
|
class iR extends cr {
|
|
12262
12262
|
/**
|
|
12263
12263
|
* Constructs a new skinned mesh.
|
|
@@ -12266,7 +12266,7 @@ class iR extends cr {
|
|
|
12266
12266
|
* @param {Material|Array<Material>} [material] - The mesh material.
|
|
12267
12267
|
*/
|
|
12268
12268
|
constructor(e, t) {
|
|
12269
|
-
super(e, t), this.isSkinnedMesh = !0, this.type = "SkinnedMesh", this.bindMode =
|
|
12269
|
+
super(e, t), this.isSkinnedMesh = !0, this.type = "SkinnedMesh", this.bindMode = Ow, this.bindMatrix = new Kt(), this.bindMatrixInverse = new Kt(), this.boundingBox = null, this.boundingSphere = null;
|
|
12270
12270
|
}
|
|
12271
12271
|
/**
|
|
12272
12272
|
* Computes the bounding box of the skinned mesh, and updates {@link SkinnedMesh#boundingBox}.
|
|
@@ -12299,7 +12299,7 @@ class iR extends cr {
|
|
|
12299
12299
|
}
|
|
12300
12300
|
raycast(e, t) {
|
|
12301
12301
|
const i = this.material, a = this.matrixWorld;
|
|
12302
|
-
i !== void 0 && (this.boundingSphere === null && this.computeBoundingSphere(),
|
|
12302
|
+
i !== void 0 && (this.boundingSphere === null && this.computeBoundingSphere(), ZM.copy(this.boundingSphere), ZM.applyMatrix4(a), e.ray.intersectsSphere(ZM) !== !1 && (TC.copy(a).invert(), KM.copy(e.ray).applyMatrix4(TC), !(this.boundingBox !== null && KM.intersectsBox(this.boundingBox) === !1) && this._computeIntersections(e, t, KM)));
|
|
12303
12303
|
}
|
|
12304
12304
|
getVertexPosition(e, t) {
|
|
12305
12305
|
return super.getVertexPosition(e, t), this.applyBoneTransform(e, t), t;
|
|
@@ -12333,7 +12333,7 @@ class iR extends cr {
|
|
|
12333
12333
|
}
|
|
12334
12334
|
}
|
|
12335
12335
|
updateMatrixWorld(e) {
|
|
12336
|
-
super.updateMatrixWorld(e), this.bindMode ===
|
|
12336
|
+
super.updateMatrixWorld(e), this.bindMode === Ow ? this.bindMatrixInverse.copy(this.matrixWorld).invert() : this.bindMode === U3 ? this.bindMatrixInverse.copy(this.bindMatrix).invert() : at("SkinnedMesh: Unrecognized bindMode: " + this.bindMode);
|
|
12337
12337
|
}
|
|
12338
12338
|
/**
|
|
12339
12339
|
* Applies the bone transform associated with the given index to the given
|
|
@@ -12387,7 +12387,7 @@ class co extends Ii {
|
|
|
12387
12387
|
}
|
|
12388
12388
|
}
|
|
12389
12389
|
const EC = /* @__PURE__ */ new Kt(), FI = /* @__PURE__ */ new Kt();
|
|
12390
|
-
class
|
|
12390
|
+
class Qx {
|
|
12391
12391
|
/**
|
|
12392
12392
|
* Constructs a new skeleton.
|
|
12393
12393
|
*
|
|
@@ -12454,7 +12454,7 @@ class Jx {
|
|
|
12454
12454
|
* @return {Skeleton} A clone of this instance.
|
|
12455
12455
|
*/
|
|
12456
12456
|
clone() {
|
|
12457
|
-
return new
|
|
12457
|
+
return new Qx(this.bones, this.boneInverses);
|
|
12458
12458
|
}
|
|
12459
12459
|
/**
|
|
12460
12460
|
* Computes a data texture for passing bone data to the vertex shader.
|
|
@@ -12668,7 +12668,7 @@ class rR extends cr {
|
|
|
12668
12668
|
*/
|
|
12669
12669
|
setMorphAt(e, t) {
|
|
12670
12670
|
const i = t.morphTargetInfluences, a = i.length + 1;
|
|
12671
|
-
this.morphTexture === null && (this.morphTexture = new co(new Float32Array(a * this.count), a, this.count,
|
|
12671
|
+
this.morphTexture === null && (this.morphTexture = new co(new Float32Array(a * this.count), a, this.count, Fx, Es));
|
|
12672
12672
|
const c = this.morphTexture.source.data.data;
|
|
12673
12673
|
let d = 0;
|
|
12674
12674
|
for (let g = 0; g < i.length; g++)
|
|
@@ -12686,7 +12686,7 @@ class rR extends cr {
|
|
|
12686
12686
|
this.dispatchEvent({ type: "dispose" }), this.morphTexture !== null && (this.morphTexture.dispose(), this.morphTexture = null);
|
|
12687
12687
|
}
|
|
12688
12688
|
}
|
|
12689
|
-
const
|
|
12689
|
+
const _M = /* @__PURE__ */ new J(), VI = /* @__PURE__ */ new J(), HI = /* @__PURE__ */ new $t();
|
|
12690
12690
|
class Gu {
|
|
12691
12691
|
/**
|
|
12692
12692
|
* Constructs a new plane.
|
|
@@ -12742,7 +12742,7 @@ class Gu {
|
|
|
12742
12742
|
* @return {Plane} A reference to this plane.
|
|
12743
12743
|
*/
|
|
12744
12744
|
setFromCoplanarPoints(e, t, i) {
|
|
12745
|
-
const a =
|
|
12745
|
+
const a = _M.subVectors(i, t).cross(VI.subVectors(e, t)).normalize();
|
|
12746
12746
|
return this.setFromNormalAndCoplanarPoint(a, e), this;
|
|
12747
12747
|
}
|
|
12748
12748
|
/**
|
|
@@ -12810,7 +12810,7 @@ class Gu {
|
|
|
12810
12810
|
* @return {?Vector3} The intersection point. Returns `null` if no intersection is detected.
|
|
12811
12811
|
*/
|
|
12812
12812
|
intersectLine(e, t, i = !0) {
|
|
12813
|
-
const a = e.delta(
|
|
12813
|
+
const a = e.delta(_M), c = this.normal.dot(a);
|
|
12814
12814
|
if (c === 0)
|
|
12815
12815
|
return this.distanceToPoint(e.start) === 0 ? t.copy(e.start) : null;
|
|
12816
12816
|
const d = -(e.start.dot(this.normal) + this.constant) / c;
|
|
@@ -12867,7 +12867,7 @@ class Gu {
|
|
|
12867
12867
|
* @return {Plane} A reference to this plane.
|
|
12868
12868
|
*/
|
|
12869
12869
|
applyMatrix4(e, t) {
|
|
12870
|
-
const i = t || HI.getNormalMatrix(e), a = this.coplanarPoint(
|
|
12870
|
+
const i = t || HI.getNormalMatrix(e), a = this.coplanarPoint(_M).applyMatrix4(e), c = this.normal.applyMatrix3(i).normalize();
|
|
12871
12871
|
return this.constant = -a.dot(c), this;
|
|
12872
12872
|
}
|
|
12873
12873
|
/**
|
|
@@ -13039,7 +13039,7 @@ class jf {
|
|
|
13039
13039
|
}
|
|
13040
13040
|
}
|
|
13041
13041
|
const PC = /* @__PURE__ */ new Kt();
|
|
13042
|
-
class
|
|
13042
|
+
class Zx {
|
|
13043
13043
|
/**
|
|
13044
13044
|
* Constructs a new frustum array.
|
|
13045
13045
|
*
|
|
@@ -13150,10 +13150,10 @@ class Qx {
|
|
|
13150
13150
|
* @return {FrustumArray} A clone of this instance.
|
|
13151
13151
|
*/
|
|
13152
13152
|
clone() {
|
|
13153
|
-
return new
|
|
13153
|
+
return new Zx().copy(this);
|
|
13154
13154
|
}
|
|
13155
13155
|
}
|
|
13156
|
-
function
|
|
13156
|
+
function $M(s, e) {
|
|
13157
13157
|
return s - e;
|
|
13158
13158
|
}
|
|
13159
13159
|
function WI(s, e) {
|
|
@@ -13181,7 +13181,7 @@ class qI {
|
|
|
13181
13181
|
this.list.length = 0, this.index = 0;
|
|
13182
13182
|
}
|
|
13183
13183
|
}
|
|
13184
|
-
const Js = /* @__PURE__ */ new Kt(), YI = /* @__PURE__ */ new ct(1, 1, 1), jI = /* @__PURE__ */ new jf(), JI = /* @__PURE__ */ new
|
|
13184
|
+
const Js = /* @__PURE__ */ new Kt(), YI = /* @__PURE__ */ new ct(1, 1, 1), jI = /* @__PURE__ */ new jf(), JI = /* @__PURE__ */ new Zx(), ib = /* @__PURE__ */ new cs(), Cf = /* @__PURE__ */ new Gr(), jA = /* @__PURE__ */ new J(), kC = /* @__PURE__ */ new J(), QI = /* @__PURE__ */ new J(), ew = /* @__PURE__ */ new qI(), as = /* @__PURE__ */ new cr(), rb = [];
|
|
13185
13185
|
function ZI(s, e, t = 0) {
|
|
13186
13186
|
const i = e.itemSize;
|
|
13187
13187
|
if (s.isInterleavedBufferAttribute || s.array.constructor !== e.array.constructor) {
|
|
@@ -13372,7 +13372,7 @@ class sR extends cr {
|
|
|
13372
13372
|
geometryIndex: e
|
|
13373
13373
|
};
|
|
13374
13374
|
let a = null;
|
|
13375
|
-
this._availableInstanceIds.length > 0 ? (this._availableInstanceIds.sort(
|
|
13375
|
+
this._availableInstanceIds.length > 0 ? (this._availableInstanceIds.sort($M), a = this._availableInstanceIds.shift(), this._instanceInfo[a] = i) : (a = this._instanceInfo.length, this._instanceInfo.push(i));
|
|
13376
13376
|
const c = this._matricesTexture;
|
|
13377
13377
|
Js.identity().toArray(c.image.data, a * 16), c.needsUpdate = !0;
|
|
13378
13378
|
const d = this._colorsTexture;
|
|
@@ -13416,7 +13416,7 @@ class sR extends cr {
|
|
|
13416
13416
|
if (d !== null && (a.indexStart = this._nextIndexStart, a.reservedIndexCount = i === -1 ? d.count : i), a.indexStart !== -1 && a.indexStart + a.reservedIndexCount > this._maxIndexCount || a.vertexStart + a.reservedVertexCount > this._maxVertexCount)
|
|
13417
13417
|
throw new Error("THREE.BatchedMesh: Reserved space request exceeds the maximum buffer size.");
|
|
13418
13418
|
let m;
|
|
13419
|
-
return this._availableGeometryIds.length > 0 ? (this._availableGeometryIds.sort(
|
|
13419
|
+
return this._availableGeometryIds.length > 0 ? (this._availableGeometryIds.sort($M), m = this._availableGeometryIds.shift(), c[m] = a) : (m = this._geometryCount, this._geometryCount++, c.push(a)), this.setGeometryAt(m, e), this._nextIndexStart = a.indexStart + a.reservedIndexCount, this._nextVertexStart = a.vertexStart + a.reservedVertexCount, m;
|
|
13420
13420
|
}
|
|
13421
13421
|
/**
|
|
13422
13422
|
* Replaces the geometry at the given ID with the provided geometry. Throws an error if there
|
|
@@ -13669,7 +13669,7 @@ class sR extends cr {
|
|
|
13669
13669
|
*/
|
|
13670
13670
|
setInstanceCount(e) {
|
|
13671
13671
|
const t = this._availableInstanceIds, i = this._instanceInfo;
|
|
13672
|
-
for (t.sort(
|
|
13672
|
+
for (t.sort($M); t[t.length - 1] === i.length - 1; )
|
|
13673
13673
|
i.pop(), t.pop();
|
|
13674
13674
|
if (e < i.length)
|
|
13675
13675
|
throw new Error(`THREE.BatchedMesh: Instance ids outside the range ${e} are being used. Cannot shrink instance count.`);
|
|
@@ -13751,16 +13751,16 @@ class sR extends cr {
|
|
|
13751
13751
|
let H = !1;
|
|
13752
13752
|
if (S && (H = !C.intersectsSphere(Cf)), !H) {
|
|
13753
13753
|
const I = x[U], F = QI.subVectors(Cf.center, jA).dot(kC);
|
|
13754
|
-
|
|
13754
|
+
ew.push(I.start, I.count, F, L);
|
|
13755
13755
|
}
|
|
13756
13756
|
}
|
|
13757
|
-
const D =
|
|
13757
|
+
const D = ew.list, z = this.customSort;
|
|
13758
13758
|
z === null ? D.sort(c.transparent ? XI : WI) : z.call(this, D, i);
|
|
13759
13759
|
for (let L = 0, O = D.length; L < O; L++) {
|
|
13760
13760
|
const U = D[L];
|
|
13761
13761
|
v[T] = U.start * f * m, M[T] = U.count * m, k[T] = U.index, T++;
|
|
13762
13762
|
}
|
|
13763
|
-
|
|
13763
|
+
ew.reset();
|
|
13764
13764
|
} else
|
|
13765
13765
|
for (let D = 0, z = g.length; D < z; D++)
|
|
13766
13766
|
if (g[D].visible && g[D].active) {
|
|
@@ -13794,7 +13794,7 @@ class Ps extends Wr {
|
|
|
13794
13794
|
return super.copy(e), this.color.copy(e.color), this.map = e.map, this.linewidth = e.linewidth, this.linecap = e.linecap, this.linejoin = e.linejoin, this.fog = e.fog, this;
|
|
13795
13795
|
}
|
|
13796
13796
|
}
|
|
13797
|
-
const xx = /* @__PURE__ */ new J(), Sx = /* @__PURE__ */ new J(), DC = /* @__PURE__ */ new Kt(), JA = /* @__PURE__ */ new Wm(), sb = /* @__PURE__ */ new Gr(),
|
|
13797
|
+
const xx = /* @__PURE__ */ new J(), Sx = /* @__PURE__ */ new J(), DC = /* @__PURE__ */ new Kt(), JA = /* @__PURE__ */ new Wm(), sb = /* @__PURE__ */ new Gr(), tw = /* @__PURE__ */ new J(), LC = /* @__PURE__ */ new J();
|
|
13798
13798
|
class $u extends Xn {
|
|
13799
13799
|
/**
|
|
13800
13800
|
* Constructs a new line.
|
|
@@ -13879,9 +13879,9 @@ class $u extends Xn {
|
|
|
13879
13879
|
}
|
|
13880
13880
|
function ab(s, e, t, i, a, c, d) {
|
|
13881
13881
|
const f = s.geometry.attributes.position;
|
|
13882
|
-
if (xx.fromBufferAttribute(f, a), Sx.fromBufferAttribute(f, c), t.distanceSqToSegment(xx, Sx,
|
|
13883
|
-
|
|
13884
|
-
const g = e.ray.origin.distanceTo(
|
|
13882
|
+
if (xx.fromBufferAttribute(f, a), Sx.fromBufferAttribute(f, c), t.distanceSqToSegment(xx, Sx, tw, LC) > i) return;
|
|
13883
|
+
tw.applyMatrix4(s.matrixWorld);
|
|
13884
|
+
const g = e.ray.origin.distanceTo(tw);
|
|
13885
13885
|
if (!(g < e.near || g > e.far))
|
|
13886
13886
|
return {
|
|
13887
13887
|
distance: g,
|
|
@@ -13946,7 +13946,7 @@ class N1 extends Wr {
|
|
|
13946
13946
|
return super.copy(e), this.color.copy(e.color), this.map = e.map, this.alphaMap = e.alphaMap, this.size = e.size, this.sizeAttenuation = e.sizeAttenuation, this.fog = e.fog, this;
|
|
13947
13947
|
}
|
|
13948
13948
|
}
|
|
13949
|
-
const zC = /* @__PURE__ */ new Kt(),
|
|
13949
|
+
const zC = /* @__PURE__ */ new Kt(), Ww = /* @__PURE__ */ new Wm(), ob = /* @__PURE__ */ new Gr(), lb = /* @__PURE__ */ new J();
|
|
13950
13950
|
class oR extends Xn {
|
|
13951
13951
|
/**
|
|
13952
13952
|
* Constructs a new point cloud.
|
|
@@ -13969,7 +13969,7 @@ class oR extends Xn {
|
|
|
13969
13969
|
raycast(e, t) {
|
|
13970
13970
|
const i = this.geometry, a = this.matrixWorld, c = e.params.Points.threshold, d = i.drawRange;
|
|
13971
13971
|
if (i.boundingSphere === null && i.computeBoundingSphere(), ob.copy(i.boundingSphere), ob.applyMatrix4(a), ob.radius += c, e.ray.intersectsSphere(ob) === !1) return;
|
|
13972
|
-
zC.copy(a).invert(),
|
|
13972
|
+
zC.copy(a).invert(), Ww.copy(e.ray).applyMatrix4(zC);
|
|
13973
13973
|
const f = c / ((this.scale.x + this.scale.y + this.scale.z) / 3), m = f * f, g = i.index, M = i.attributes.position;
|
|
13974
13974
|
if (g !== null) {
|
|
13975
13975
|
const x = Math.max(0, d.start), S = Math.min(g.count, d.start + d.count);
|
|
@@ -14002,10 +14002,10 @@ class oR extends Xn {
|
|
|
14002
14002
|
}
|
|
14003
14003
|
}
|
|
14004
14004
|
function BC(s, e, t, i, a, c, d) {
|
|
14005
|
-
const f =
|
|
14005
|
+
const f = Ww.distanceSqToPoint(s);
|
|
14006
14006
|
if (f < t) {
|
|
14007
14007
|
const m = new J();
|
|
14008
|
-
|
|
14008
|
+
Ww.closestPointToPoint(s, m), m.applyMatrix4(i);
|
|
14009
14009
|
const g = a.ray.origin.distanceTo(m);
|
|
14010
14010
|
if (g < a.near || g > a.far) return;
|
|
14011
14011
|
c.push({
|
|
@@ -14105,7 +14105,7 @@ class _I extends Ii {
|
|
|
14105
14105
|
super({ width: e, height: t }), this.isFramebufferTexture = !0, this.magFilter = Zi, this.minFilter = Zi, this.generateMipmaps = !1, this.needsUpdate = !0;
|
|
14106
14106
|
}
|
|
14107
14107
|
}
|
|
14108
|
-
class
|
|
14108
|
+
class Kx extends Ii {
|
|
14109
14109
|
/**
|
|
14110
14110
|
* Constructs a new compressed texture.
|
|
14111
14111
|
*
|
|
@@ -14127,7 +14127,7 @@ class Zx extends Ii {
|
|
|
14127
14127
|
super(null, d, f, m, g, v, a, c, M, x), this.isCompressedTexture = !0, this.image = { width: t, height: i }, this.mipmaps = e, this.flipY = !1, this.generateMipmaps = !1;
|
|
14128
14128
|
}
|
|
14129
14129
|
}
|
|
14130
|
-
class $I extends
|
|
14130
|
+
class $I extends Kx {
|
|
14131
14131
|
/**
|
|
14132
14132
|
* Constructs a new compressed array texture.
|
|
14133
14133
|
*
|
|
@@ -14161,7 +14161,7 @@ class $I extends Zx {
|
|
|
14161
14161
|
this.layerUpdates.clear();
|
|
14162
14162
|
}
|
|
14163
14163
|
}
|
|
14164
|
-
class eN extends
|
|
14164
|
+
class eN extends Kx {
|
|
14165
14165
|
/**
|
|
14166
14166
|
* Constructs a new compressed texture.
|
|
14167
14167
|
*
|
|
@@ -14378,7 +14378,7 @@ class Kf extends sn {
|
|
|
14378
14378
|
return new Kf(e.width, e.height, e.depth, e.widthSegments, e.heightSegments, e.depthSegments);
|
|
14379
14379
|
}
|
|
14380
14380
|
}
|
|
14381
|
-
class
|
|
14381
|
+
class _x extends sn {
|
|
14382
14382
|
/**
|
|
14383
14383
|
* Constructs a new capsule geometry.
|
|
14384
14384
|
*
|
|
@@ -14441,10 +14441,10 @@ class Kx extends sn {
|
|
|
14441
14441
|
* @return {CapsuleGeometry} A new instance.
|
|
14442
14442
|
*/
|
|
14443
14443
|
static fromJSON(e) {
|
|
14444
|
-
return new
|
|
14444
|
+
return new _x(e.radius, e.height, e.capSegments, e.radialSegments, e.heightSegments);
|
|
14445
14445
|
}
|
|
14446
14446
|
}
|
|
14447
|
-
class
|
|
14447
|
+
class $x extends sn {
|
|
14448
14448
|
/**
|
|
14449
14449
|
* Constructs a new circle geometry.
|
|
14450
14450
|
*
|
|
@@ -14482,7 +14482,7 @@ class _x extends sn {
|
|
|
14482
14482
|
* @return {CircleGeometry} A new instance.
|
|
14483
14483
|
*/
|
|
14484
14484
|
static fromJSON(e) {
|
|
14485
|
-
return new
|
|
14485
|
+
return new $x(e.radius, e.segments, e.thetaStart, e.thetaLength);
|
|
14486
14486
|
}
|
|
14487
14487
|
}
|
|
14488
14488
|
class zv extends sn {
|
|
@@ -14699,7 +14699,7 @@ class id extends sn {
|
|
|
14699
14699
|
return new id(e.vertices, e.indices, e.radius, e.detail);
|
|
14700
14700
|
}
|
|
14701
14701
|
}
|
|
14702
|
-
class
|
|
14702
|
+
class eS extends id {
|
|
14703
14703
|
/**
|
|
14704
14704
|
* Constructs a new dodecahedron geometry.
|
|
14705
14705
|
*
|
|
@@ -14895,10 +14895,10 @@ class $x extends id {
|
|
|
14895
14895
|
* @return {DodecahedronGeometry} A new instance.
|
|
14896
14896
|
*/
|
|
14897
14897
|
static fromJSON(e) {
|
|
14898
|
-
return new
|
|
14898
|
+
return new eS(e.radius, e.detail);
|
|
14899
14899
|
}
|
|
14900
14900
|
}
|
|
14901
|
-
const cb = /* @__PURE__ */ new J(), ub = /* @__PURE__ */ new J(),
|
|
14901
|
+
const cb = /* @__PURE__ */ new J(), ub = /* @__PURE__ */ new J(), nw = /* @__PURE__ */ new J(), db = /* @__PURE__ */ new _s();
|
|
14902
14902
|
class uR extends sn {
|
|
14903
14903
|
/**
|
|
14904
14904
|
* Constructs a new edges geometry.
|
|
@@ -14916,13 +14916,13 @@ class uR extends sn {
|
|
|
14916
14916
|
for (let w = 0; w < m; w += 3) {
|
|
14917
14917
|
d ? (g[0] = d.getX(w), g[1] = d.getX(w + 1), g[2] = d.getX(w + 2)) : (g[0] = w, g[1] = w + 1, g[2] = w + 2);
|
|
14918
14918
|
const { a: k, b: C, c: T } = db;
|
|
14919
|
-
if (k.fromBufferAttribute(f, g[0]), C.fromBufferAttribute(f, g[1]), T.fromBufferAttribute(f, g[2]), db.getNormal(
|
|
14919
|
+
if (k.fromBufferAttribute(f, g[0]), C.fromBufferAttribute(f, g[1]), T.fromBufferAttribute(f, g[2]), db.getNormal(nw), M[0] = `${Math.round(k.x * a)},${Math.round(k.y * a)},${Math.round(k.z * a)}`, M[1] = `${Math.round(C.x * a)},${Math.round(C.y * a)},${Math.round(C.z * a)}`, M[2] = `${Math.round(T.x * a)},${Math.round(T.y * a)},${Math.round(T.z * a)}`, !(M[0] === M[1] || M[1] === M[2] || M[2] === M[0]))
|
|
14920
14920
|
for (let D = 0; D < 3; D++) {
|
|
14921
14921
|
const z = (D + 1) % 3, L = M[D], O = M[z], U = db[v[D]], H = db[v[z]], I = `${L}_${O}`, F = `${O}_${L}`;
|
|
14922
|
-
F in x && x[F] ? (
|
|
14922
|
+
F in x && x[F] ? (nw.dot(x[F].normal) <= c && (S.push(U.x, U.y, U.z), S.push(H.x, H.y, H.z)), x[F] = null) : I in x || (x[I] = {
|
|
14923
14923
|
index0: g[D],
|
|
14924
14924
|
index1: g[z],
|
|
14925
|
-
normal:
|
|
14925
|
+
normal: nw.clone()
|
|
14926
14926
|
});
|
|
14927
14927
|
}
|
|
14928
14928
|
}
|
|
@@ -15172,7 +15172,7 @@ class Qo {
|
|
|
15172
15172
|
return this.arcLengthDivisions = e.arcLengthDivisions, this;
|
|
15173
15173
|
}
|
|
15174
15174
|
}
|
|
15175
|
-
class
|
|
15175
|
+
class tS extends Qo {
|
|
15176
15176
|
/**
|
|
15177
15177
|
* Constructs a new ellipse curve.
|
|
15178
15178
|
*
|
|
@@ -15221,7 +15221,7 @@ class eS extends Qo {
|
|
|
15221
15221
|
return super.fromJSON(e), this.aX = e.aX, this.aY = e.aY, this.xRadius = e.xRadius, this.yRadius = e.yRadius, this.aStartAngle = e.aStartAngle, this.aEndAngle = e.aEndAngle, this.aClockwise = e.aClockwise, this.aRotation = e.aRotation, this;
|
|
15222
15222
|
}
|
|
15223
15223
|
}
|
|
15224
|
-
class dR extends
|
|
15224
|
+
class dR extends tS {
|
|
15225
15225
|
/**
|
|
15226
15226
|
* Constructs a new arc curve.
|
|
15227
15227
|
*
|
|
@@ -15255,7 +15255,7 @@ function B1() {
|
|
|
15255
15255
|
}
|
|
15256
15256
|
};
|
|
15257
15257
|
}
|
|
15258
|
-
const UC = /* @__PURE__ */ new J(), FC = /* @__PURE__ */ new J(),
|
|
15258
|
+
const UC = /* @__PURE__ */ new J(), FC = /* @__PURE__ */ new J(), iw = /* @__PURE__ */ new B1(), rw = /* @__PURE__ */ new B1(), sw = /* @__PURE__ */ new B1();
|
|
15259
15259
|
class fR extends Qo {
|
|
15260
15260
|
/**
|
|
15261
15261
|
* Constructs a new Catmull-Rom curve.
|
|
@@ -15285,12 +15285,12 @@ class fR extends Qo {
|
|
|
15285
15285
|
if (this.closed || f + 2 < c ? v = a[(f + 2) % c] : (UC.subVectors(a[c - 1], a[c - 2]).add(a[c - 1]), v = UC), this.curveType === "centripetal" || this.curveType === "chordal") {
|
|
15286
15286
|
const S = this.curveType === "chordal" ? 0.5 : 0.25;
|
|
15287
15287
|
let w = Math.pow(g.distanceToSquared(M), S), k = Math.pow(M.distanceToSquared(x), S), C = Math.pow(x.distanceToSquared(v), S);
|
|
15288
|
-
k < 1e-4 && (k = 1), w < 1e-4 && (w = k), C < 1e-4 && (C = k),
|
|
15289
|
-
} else this.curveType === "catmullrom" && (
|
|
15288
|
+
k < 1e-4 && (k = 1), w < 1e-4 && (w = k), C < 1e-4 && (C = k), iw.initNonuniformCatmullRom(g.x, M.x, x.x, v.x, w, k, C), rw.initNonuniformCatmullRom(g.y, M.y, x.y, v.y, w, k, C), sw.initNonuniformCatmullRom(g.z, M.z, x.z, v.z, w, k, C);
|
|
15289
|
+
} else this.curveType === "catmullrom" && (iw.initCatmullRom(g.x, M.x, x.x, v.x, this.tension), rw.initCatmullRom(g.y, M.y, x.y, v.y, this.tension), sw.initCatmullRom(g.z, M.z, x.z, v.z, this.tension));
|
|
15290
15290
|
return i.set(
|
|
15291
|
-
nw.calc(m),
|
|
15292
15291
|
iw.calc(m),
|
|
15293
|
-
rw.calc(m)
|
|
15292
|
+
rw.calc(m),
|
|
15293
|
+
sw.calc(m)
|
|
15294
15294
|
), i;
|
|
15295
15295
|
}
|
|
15296
15296
|
copy(e) {
|
|
@@ -15640,7 +15640,7 @@ var Mx = /* @__PURE__ */ Object.freeze({
|
|
|
15640
15640
|
CatmullRomCurve3: fR,
|
|
15641
15641
|
CubicBezierCurve: U1,
|
|
15642
15642
|
CubicBezierCurve3: hR,
|
|
15643
|
-
EllipseCurve:
|
|
15643
|
+
EllipseCurve: tS,
|
|
15644
15644
|
LineCurve: F1,
|
|
15645
15645
|
LineCurve3: pR,
|
|
15646
15646
|
QuadraticBezierCurve: O1,
|
|
@@ -15923,7 +15923,7 @@ class Mv extends mR {
|
|
|
15923
15923
|
* @return {Path} A reference to this path.
|
|
15924
15924
|
*/
|
|
15925
15925
|
absellipse(e, t, i, a, c, d, f, m) {
|
|
15926
|
-
const g = new
|
|
15926
|
+
const g = new tS(e, t, i, a, c, d, f, m);
|
|
15927
15927
|
if (this.curves.length > 0) {
|
|
15928
15928
|
const M = g.getPoint(0);
|
|
15929
15929
|
M.equals(this.currentPoint) || this.lineTo(M.x, M.y);
|
|
@@ -16073,7 +16073,7 @@ function dN(s) {
|
|
|
16073
16073
|
function fN(s, e, t, i) {
|
|
16074
16074
|
const a = s.prev, c = s, d = s.next;
|
|
16075
16075
|
if (Li(a, c, d) >= 0) return !1;
|
|
16076
|
-
const f = a.x, m = c.x, g = d.x, v = a.y, M = c.y, x = d.y, S = Math.min(f, m, g), w = Math.min(v, M, x), k = Math.max(f, m, g), C = Math.max(v, M, x), T =
|
|
16076
|
+
const f = a.x, m = c.x, g = d.x, v = a.y, M = c.y, x = d.y, S = Math.min(f, m, g), w = Math.min(v, M, x), k = Math.max(f, m, g), C = Math.max(v, M, x), T = Xw(S, w, e, t, i), D = Xw(k, C, e, t, i);
|
|
16077
16077
|
let z = s.prevZ, L = s.nextZ;
|
|
16078
16078
|
for (; z && z.z >= T && L && L.z <= D; ) {
|
|
16079
16079
|
if (z.x >= S && z.x <= k && z.y >= w && z.y <= C && z !== a && z !== d && _A(f, v, m, M, g, x, z.x, z.y) && Li(z.prev, z, z.next) >= 0 || (z = z.prevZ, L.x >= S && L.x <= k && L.y >= w && L.y <= C && L !== a && L !== d && _A(f, v, m, M, g, x, L.x, L.y) && Li(L.prev, L, L.next) >= 0)) return !1;
|
|
@@ -16171,7 +16171,7 @@ function yN(s, e) {
|
|
|
16171
16171
|
function bN(s, e, t, i) {
|
|
16172
16172
|
let a = s;
|
|
16173
16173
|
do
|
|
16174
|
-
a.z === 0 && (a.z =
|
|
16174
|
+
a.z === 0 && (a.z = Xw(a.x, a.y, e, t, i)), a.prevZ = a.prev, a.nextZ = a.next, a = a.next;
|
|
16175
16175
|
while (a !== s);
|
|
16176
16176
|
a.prevZ.nextZ = null, a.prevZ = null, xN(a);
|
|
16177
16177
|
}
|
|
@@ -16195,7 +16195,7 @@ function xN(s) {
|
|
|
16195
16195
|
} while (e > 1);
|
|
16196
16196
|
return s;
|
|
16197
16197
|
}
|
|
16198
|
-
function
|
|
16198
|
+
function Xw(s, e, t, i, a) {
|
|
16199
16199
|
return s = (s - t) * a | 0, e = (e - i) * a | 0, s = (s | s << 8) & 16711935, s = (s | s << 4) & 252645135, s = (s | s << 2) & 858993459, s = (s | s << 1) & 1431655765, e = (e | e << 8) & 16711935, e = (e | e << 4) & 252645135, e = (e | e << 2) & 858993459, e = (e | e << 1) & 1431655765, s | e << 1;
|
|
16200
16200
|
}
|
|
16201
16201
|
function SN(s) {
|
|
@@ -16253,17 +16253,17 @@ function TN(s, e) {
|
|
|
16253
16253
|
return i;
|
|
16254
16254
|
}
|
|
16255
16255
|
function yR(s, e) {
|
|
16256
|
-
const t =
|
|
16256
|
+
const t = qw(s.i, s.x, s.y), i = qw(e.i, e.x, e.y), a = s.next, c = e.prev;
|
|
16257
16257
|
return s.next = e, e.prev = s, t.next = a, a.prev = t, i.next = t, t.prev = i, c.next = i, i.prev = c, i;
|
|
16258
16258
|
}
|
|
16259
16259
|
function VC(s, e, t, i) {
|
|
16260
|
-
const a =
|
|
16260
|
+
const a = qw(s, e, t);
|
|
16261
16261
|
return i ? (a.next = i.next, a.prev = i, i.next.prev = a, i.next = a) : (a.prev = a, a.next = a), a;
|
|
16262
16262
|
}
|
|
16263
16263
|
function Ev(s) {
|
|
16264
16264
|
s.next.prev = s.prev, s.prev.next = s.next, s.prevZ && (s.prevZ.nextZ = s.nextZ), s.nextZ && (s.nextZ.prevZ = s.prevZ);
|
|
16265
16265
|
}
|
|
16266
|
-
function
|
|
16266
|
+
function qw(s, e, t) {
|
|
16267
16267
|
return {
|
|
16268
16268
|
i: s,
|
|
16269
16269
|
// vertex index in coordinates array
|
|
@@ -16353,7 +16353,7 @@ function GC(s, e) {
|
|
|
16353
16353
|
for (let t = 0; t < e.length; t++)
|
|
16354
16354
|
s.push(e[t].x), s.push(e[t].y);
|
|
16355
16355
|
}
|
|
16356
|
-
class
|
|
16356
|
+
class nS extends sn {
|
|
16357
16357
|
/**
|
|
16358
16358
|
* Constructs a new extrude geometry.
|
|
16359
16359
|
*
|
|
@@ -16587,7 +16587,7 @@ class tS extends sn {
|
|
|
16587
16587
|
i.push(f);
|
|
16588
16588
|
}
|
|
16589
16589
|
const a = e.options.extrudePath;
|
|
16590
|
-
return a !== void 0 && (e.options.extrudePath = new Mx[a.type]().fromJSON(a)), new
|
|
16590
|
+
return a !== void 0 && (e.options.extrudePath = new Mx[a.type]().fromJSON(a)), new nS(i, e.options);
|
|
16591
16591
|
}
|
|
16592
16592
|
}
|
|
16593
16593
|
const RN = {
|
|
@@ -16624,7 +16624,7 @@ function PN(s, e, t) {
|
|
|
16624
16624
|
t.shapes.push(s.uuid);
|
|
16625
16625
|
return t.options = Object.assign({}, e), e.extrudePath !== void 0 && (t.options.extrudePath = e.extrudePath.toJSON()), t;
|
|
16626
16626
|
}
|
|
16627
|
-
class
|
|
16627
|
+
class iS extends id {
|
|
16628
16628
|
/**
|
|
16629
16629
|
* Constructs a new icosahedron geometry.
|
|
16630
16630
|
*
|
|
@@ -16744,10 +16744,10 @@ class nS extends id {
|
|
|
16744
16744
|
* @return {IcosahedronGeometry} A new instance.
|
|
16745
16745
|
*/
|
|
16746
16746
|
static fromJSON(e) {
|
|
16747
|
-
return new
|
|
16747
|
+
return new iS(e.radius, e.detail);
|
|
16748
16748
|
}
|
|
16749
16749
|
}
|
|
16750
|
-
class
|
|
16750
|
+
class rS extends sn {
|
|
16751
16751
|
/**
|
|
16752
16752
|
* Constructs a new lathe geometry.
|
|
16753
16753
|
*
|
|
@@ -16804,7 +16804,7 @@ class iS extends sn {
|
|
|
16804
16804
|
* @return {LatheGeometry} A new instance.
|
|
16805
16805
|
*/
|
|
16806
16806
|
static fromJSON(e) {
|
|
16807
|
-
return new
|
|
16807
|
+
return new rS(e.points, e.segments, e.phiStart, e.phiLength);
|
|
16808
16808
|
}
|
|
16809
16809
|
}
|
|
16810
16810
|
class Fv extends id {
|
|
@@ -16921,7 +16921,7 @@ class Xm extends sn {
|
|
|
16921
16921
|
return new Xm(e.width, e.height, e.widthSegments, e.heightSegments);
|
|
16922
16922
|
}
|
|
16923
16923
|
}
|
|
16924
|
-
class
|
|
16924
|
+
class sS extends sn {
|
|
16925
16925
|
/**
|
|
16926
16926
|
* Constructs a new ring geometry.
|
|
16927
16927
|
*
|
|
@@ -16971,10 +16971,10 @@ class rS extends sn {
|
|
|
16971
16971
|
* @return {RingGeometry} A new instance.
|
|
16972
16972
|
*/
|
|
16973
16973
|
static fromJSON(e) {
|
|
16974
|
-
return new
|
|
16974
|
+
return new sS(e.innerRadius, e.outerRadius, e.thetaSegments, e.phiSegments, e.thetaStart, e.thetaLength);
|
|
16975
16975
|
}
|
|
16976
16976
|
}
|
|
16977
|
-
class
|
|
16977
|
+
class aS extends sn {
|
|
16978
16978
|
/**
|
|
16979
16979
|
* Constructs a new shape geometry.
|
|
16980
16980
|
*
|
|
@@ -17039,7 +17039,7 @@ class sS extends sn {
|
|
|
17039
17039
|
const d = t[e.shapes[a]];
|
|
17040
17040
|
i.push(d);
|
|
17041
17041
|
}
|
|
17042
|
-
return new
|
|
17042
|
+
return new aS(i, e.curveSegments);
|
|
17043
17043
|
}
|
|
17044
17044
|
}
|
|
17045
17045
|
function kN(s, e) {
|
|
@@ -17108,7 +17108,7 @@ class Ov extends sn {
|
|
|
17108
17108
|
return new Ov(e.radius, e.widthSegments, e.heightSegments, e.phiStart, e.phiLength, e.thetaStart, e.thetaLength);
|
|
17109
17109
|
}
|
|
17110
17110
|
}
|
|
17111
|
-
class
|
|
17111
|
+
class oS extends id {
|
|
17112
17112
|
/**
|
|
17113
17113
|
* Constructs a new tetrahedron geometry.
|
|
17114
17114
|
*
|
|
@@ -17156,10 +17156,10 @@ class aS extends id {
|
|
|
17156
17156
|
* @return {TetrahedronGeometry} A new instance.
|
|
17157
17157
|
*/
|
|
17158
17158
|
static fromJSON(e) {
|
|
17159
|
-
return new
|
|
17159
|
+
return new oS(e.radius, e.detail);
|
|
17160
17160
|
}
|
|
17161
17161
|
}
|
|
17162
|
-
class
|
|
17162
|
+
class lS extends sn {
|
|
17163
17163
|
/**
|
|
17164
17164
|
* Constructs a new torus geometry.
|
|
17165
17165
|
*
|
|
@@ -17207,10 +17207,10 @@ class oS extends sn {
|
|
|
17207
17207
|
* @return {TorusGeometry} A new instance.
|
|
17208
17208
|
*/
|
|
17209
17209
|
static fromJSON(e) {
|
|
17210
|
-
return new
|
|
17210
|
+
return new lS(e.radius, e.tube, e.radialSegments, e.tubularSegments, e.arc);
|
|
17211
17211
|
}
|
|
17212
17212
|
}
|
|
17213
|
-
class
|
|
17213
|
+
class cS extends sn {
|
|
17214
17214
|
/**
|
|
17215
17215
|
* Constructs a new torus knot geometry.
|
|
17216
17216
|
*
|
|
@@ -17261,10 +17261,10 @@ class lS extends sn {
|
|
|
17261
17261
|
* @return {TorusKnotGeometry} A new instance.
|
|
17262
17262
|
*/
|
|
17263
17263
|
static fromJSON(e) {
|
|
17264
|
-
return new
|
|
17264
|
+
return new cS(e.radius, e.tube, e.tubularSegments, e.radialSegments, e.p, e.q);
|
|
17265
17265
|
}
|
|
17266
17266
|
}
|
|
17267
|
-
class
|
|
17267
|
+
class uS extends sn {
|
|
17268
17268
|
/**
|
|
17269
17269
|
* Constructs a new tube geometry.
|
|
17270
17270
|
*
|
|
@@ -17329,7 +17329,7 @@ class cS extends sn {
|
|
|
17329
17329
|
* @return {TubeGeometry} A new instance.
|
|
17330
17330
|
*/
|
|
17331
17331
|
static fromJSON(e) {
|
|
17332
|
-
return new
|
|
17332
|
+
return new uS(
|
|
17333
17333
|
new Mx[e.path.type]().fromJSON(e.path),
|
|
17334
17334
|
e.tubularSegments,
|
|
17335
17335
|
e.radius,
|
|
@@ -17383,25 +17383,25 @@ function WC(s, e, t) {
|
|
|
17383
17383
|
var XC = /* @__PURE__ */ Object.freeze({
|
|
17384
17384
|
__proto__: null,
|
|
17385
17385
|
BoxGeometry: Kf,
|
|
17386
|
-
CapsuleGeometry:
|
|
17387
|
-
CircleGeometry:
|
|
17386
|
+
CapsuleGeometry: _x,
|
|
17387
|
+
CircleGeometry: $x,
|
|
17388
17388
|
ConeGeometry: Bv,
|
|
17389
17389
|
CylinderGeometry: zv,
|
|
17390
|
-
DodecahedronGeometry:
|
|
17390
|
+
DodecahedronGeometry: eS,
|
|
17391
17391
|
EdgesGeometry: uR,
|
|
17392
|
-
ExtrudeGeometry:
|
|
17393
|
-
IcosahedronGeometry:
|
|
17394
|
-
LatheGeometry:
|
|
17392
|
+
ExtrudeGeometry: nS,
|
|
17393
|
+
IcosahedronGeometry: iS,
|
|
17394
|
+
LatheGeometry: rS,
|
|
17395
17395
|
OctahedronGeometry: Fv,
|
|
17396
17396
|
PlaneGeometry: Xm,
|
|
17397
17397
|
PolyhedronGeometry: id,
|
|
17398
|
-
RingGeometry:
|
|
17399
|
-
ShapeGeometry:
|
|
17398
|
+
RingGeometry: sS,
|
|
17399
|
+
ShapeGeometry: aS,
|
|
17400
17400
|
SphereGeometry: Ov,
|
|
17401
|
-
TetrahedronGeometry:
|
|
17402
|
-
TorusGeometry:
|
|
17403
|
-
TorusKnotGeometry:
|
|
17404
|
-
TubeGeometry:
|
|
17401
|
+
TetrahedronGeometry: oS,
|
|
17402
|
+
TorusGeometry: lS,
|
|
17403
|
+
TorusKnotGeometry: cS,
|
|
17404
|
+
TubeGeometry: uS,
|
|
17405
17405
|
WireframeGeometry: bR
|
|
17406
17406
|
});
|
|
17407
17407
|
class xR extends Wr {
|
|
@@ -17866,7 +17866,7 @@ function DR(s) {
|
|
|
17866
17866
|
for (let a = 0; a !== t; ++a) i[a] = a;
|
|
17867
17867
|
return i.sort(e), i;
|
|
17868
17868
|
}
|
|
17869
|
-
function
|
|
17869
|
+
function Yw(s, e, t) {
|
|
17870
17870
|
const i = s.length, a = new s.constructor(i);
|
|
17871
17871
|
for (let c = 0, d = 0; d !== i; ++c) {
|
|
17872
17872
|
const f = t[c] * e;
|
|
@@ -18011,7 +18011,7 @@ class BN {
|
|
|
18011
18011
|
* @return {Array<number>} The sorted values.
|
|
18012
18012
|
*/
|
|
18013
18013
|
static sortedArray(e, t, i) {
|
|
18014
|
-
return
|
|
18014
|
+
return Yw(e, t, i);
|
|
18015
18015
|
}
|
|
18016
18016
|
/**
|
|
18017
18017
|
* Used for parsing AOS keyframe formats.
|
|
@@ -18374,7 +18374,7 @@ class ho {
|
|
|
18374
18374
|
case kb:
|
|
18375
18375
|
t = this.InterpolantFactoryMethodSmooth;
|
|
18376
18376
|
break;
|
|
18377
|
-
case
|
|
18377
|
+
case Vw:
|
|
18378
18378
|
t = this.InterpolantFactoryMethodBezier;
|
|
18379
18379
|
break;
|
|
18380
18380
|
}
|
|
@@ -18403,7 +18403,7 @@ class ho {
|
|
|
18403
18403
|
case this.InterpolantFactoryMethodSmooth:
|
|
18404
18404
|
return kb;
|
|
18405
18405
|
case this.InterpolantFactoryMethodBezier:
|
|
18406
|
-
return
|
|
18406
|
+
return Vw;
|
|
18407
18407
|
}
|
|
18408
18408
|
}
|
|
18409
18409
|
/**
|
|
@@ -18592,7 +18592,7 @@ class j1 extends ho {
|
|
|
18592
18592
|
}
|
|
18593
18593
|
}
|
|
18594
18594
|
j1.prototype.ValueTypeName = "color";
|
|
18595
|
-
class
|
|
18595
|
+
class dS extends ho {
|
|
18596
18596
|
/**
|
|
18597
18597
|
* Constructs a new number keyframe track.
|
|
18598
18598
|
*
|
|
@@ -18605,7 +18605,7 @@ class uS extends ho {
|
|
|
18605
18605
|
super(e, t, i, a);
|
|
18606
18606
|
}
|
|
18607
18607
|
}
|
|
18608
|
-
|
|
18608
|
+
dS.prototype.ValueTypeName = "number";
|
|
18609
18609
|
class BR extends qm {
|
|
18610
18610
|
/**
|
|
18611
18611
|
* Constructs a new SLERP interpolant.
|
|
@@ -18626,7 +18626,7 @@ class BR extends qm {
|
|
|
18626
18626
|
return c;
|
|
18627
18627
|
}
|
|
18628
18628
|
}
|
|
18629
|
-
class
|
|
18629
|
+
class fS extends ho {
|
|
18630
18630
|
/**
|
|
18631
18631
|
* Constructs a new Quaternion keyframe track.
|
|
18632
18632
|
*
|
|
@@ -18649,8 +18649,8 @@ class dS extends ho {
|
|
|
18649
18649
|
return new BR(this.times, this.values, this.getValueSize(), e);
|
|
18650
18650
|
}
|
|
18651
18651
|
}
|
|
18652
|
-
|
|
18653
|
-
|
|
18652
|
+
fS.prototype.ValueTypeName = "quaternion";
|
|
18653
|
+
fS.prototype.InterpolantFactoryMethodSmooth = void 0;
|
|
18654
18654
|
class $f extends ho {
|
|
18655
18655
|
/**
|
|
18656
18656
|
* Constructs a new string keyframe track.
|
|
@@ -18700,7 +18700,7 @@ class Cv {
|
|
|
18700
18700
|
* @param {(NormalAnimationBlendMode|AdditiveAnimationBlendMode)} [blendMode=NormalAnimationBlendMode] - Defines how the animation
|
|
18701
18701
|
* is blended/combined when two or more animations are simultaneously played.
|
|
18702
18702
|
*/
|
|
18703
|
-
constructor(e = "", t = -1, i = [], a =
|
|
18703
|
+
constructor(e = "", t = -1, i = [], a = Hx) {
|
|
18704
18704
|
this.name = e, this.tracks = i, this.duration = t, this.blendMode = a, this.uuid = ka(), this.userData = {}, this.duration < 0 && this.resetDuration();
|
|
18705
18705
|
}
|
|
18706
18706
|
/**
|
|
@@ -18761,8 +18761,8 @@ class Cv {
|
|
|
18761
18761
|
(f + 1) % c
|
|
18762
18762
|
), g.push(0, 1, 0);
|
|
18763
18763
|
const v = DR(m);
|
|
18764
|
-
m =
|
|
18765
|
-
new
|
|
18764
|
+
m = Yw(m, 1, v), g = Yw(g, 1, v), !a && m[0] === 0 && (m.push(c), g.push(g[0])), d.push(
|
|
18765
|
+
new dS(
|
|
18766
18766
|
".morphTargetInfluences[" + t[f].name + "]",
|
|
18767
18767
|
m,
|
|
18768
18768
|
g
|
|
@@ -18895,7 +18895,7 @@ function UN(s) {
|
|
|
18895
18895
|
case "float":
|
|
18896
18896
|
case "number":
|
|
18897
18897
|
case "integer":
|
|
18898
|
-
return
|
|
18898
|
+
return dS;
|
|
18899
18899
|
case "vector":
|
|
18900
18900
|
case "vector2":
|
|
18901
18901
|
case "vector3":
|
|
@@ -18904,7 +18904,7 @@ function UN(s) {
|
|
|
18904
18904
|
case "color":
|
|
18905
18905
|
return j1;
|
|
18906
18906
|
case "quaternion":
|
|
18907
|
-
return
|
|
18907
|
+
return fS;
|
|
18908
18908
|
case "bool":
|
|
18909
18909
|
case "boolean":
|
|
18910
18910
|
return _f;
|
|
@@ -19354,7 +19354,7 @@ class HN extends ta {
|
|
|
19354
19354
|
* @return {CompressedTexture} The compressed texture.
|
|
19355
19355
|
*/
|
|
19356
19356
|
load(e, t, i, a) {
|
|
19357
|
-
const c = this, d = [], f = new
|
|
19357
|
+
const c = this, d = [], f = new Kx(), m = new Uc(this.manager);
|
|
19358
19358
|
m.setPath(this.path), m.setResponseType("arraybuffer"), m.setRequestHeader(this.requestHeader), m.setWithCredentials(c.withCredentials);
|
|
19359
19359
|
let g = 0;
|
|
19360
19360
|
function v(M) {
|
|
@@ -19618,7 +19618,7 @@ class OR extends rd {
|
|
|
19618
19618
|
return t.object.groundColor = this.groundColor.getHex(), t;
|
|
19619
19619
|
}
|
|
19620
19620
|
}
|
|
19621
|
-
const
|
|
19621
|
+
const aw = /* @__PURE__ */ new Kt(), jC = /* @__PURE__ */ new J(), JC = /* @__PURE__ */ new J();
|
|
19622
19622
|
class Z1 {
|
|
19623
19623
|
/**
|
|
19624
19624
|
* Constructs a new light shadow.
|
|
@@ -19654,7 +19654,7 @@ class Z1 {
|
|
|
19654
19654
|
*/
|
|
19655
19655
|
updateMatrices(e) {
|
|
19656
19656
|
const t = this.camera, i = this.matrix;
|
|
19657
|
-
jC.setFromMatrixPosition(e.matrixWorld), t.position.copy(jC), JC.setFromMatrixPosition(e.target.matrixWorld), t.lookAt(JC), t.updateMatrixWorld(),
|
|
19657
|
+
jC.setFromMatrixPosition(e.matrixWorld), t.position.copy(jC), JC.setFromMatrixPosition(e.target.matrixWorld), t.lookAt(JC), t.updateMatrixWorld(), aw.multiplyMatrices(t.projectionMatrix, t.matrixWorldInverse), this._frustum.setFromProjectionMatrix(aw, t.coordinateSystem, t.reversedDepth), t.coordinateSystem === qf || t.reversedDepth ? i.set(
|
|
19658
19658
|
0.5,
|
|
19659
19659
|
0,
|
|
19660
19660
|
0,
|
|
@@ -19689,7 +19689,7 @@ class Z1 {
|
|
|
19689
19689
|
0,
|
|
19690
19690
|
0,
|
|
19691
19691
|
1
|
|
19692
|
-
), i.multiply(
|
|
19692
|
+
), i.multiply(aw);
|
|
19693
19693
|
}
|
|
19694
19694
|
/**
|
|
19695
19695
|
* Returns a viewport definition for the given viewport index.
|
|
@@ -19744,7 +19744,7 @@ class Z1 {
|
|
|
19744
19744
|
}
|
|
19745
19745
|
}
|
|
19746
19746
|
const pb = /* @__PURE__ */ new J(), mb = /* @__PURE__ */ new Rs(), Rl = /* @__PURE__ */ new J();
|
|
19747
|
-
class
|
|
19747
|
+
class hS extends Xn {
|
|
19748
19748
|
/**
|
|
19749
19749
|
* Constructs a new camera.
|
|
19750
19750
|
*/
|
|
@@ -19786,7 +19786,7 @@ class fS extends Xn {
|
|
|
19786
19786
|
}
|
|
19787
19787
|
}
|
|
19788
19788
|
const Vu = /* @__PURE__ */ new J(), QC = /* @__PURE__ */ new Fe(), ZC = /* @__PURE__ */ new Fe();
|
|
19789
|
-
class Lr extends
|
|
19789
|
+
class Lr extends hS {
|
|
19790
19790
|
/**
|
|
19791
19791
|
* Constructs a new perspective camera.
|
|
19792
19792
|
*
|
|
@@ -20047,7 +20047,7 @@ class HR extends rd {
|
|
|
20047
20047
|
return t.object.distance = this.distance, t.object.decay = this.decay, t.object.shadow = this.shadow.toJSON(), t;
|
|
20048
20048
|
}
|
|
20049
20049
|
}
|
|
20050
|
-
class Ym extends
|
|
20050
|
+
class Ym extends hS {
|
|
20051
20051
|
/**
|
|
20052
20052
|
* Constructs a new orthographic camera.
|
|
20053
20053
|
*
|
|
@@ -20371,7 +20371,7 @@ class qR extends rd {
|
|
|
20371
20371
|
}
|
|
20372
20372
|
}
|
|
20373
20373
|
const KC = {};
|
|
20374
|
-
class
|
|
20374
|
+
class pS extends ta {
|
|
20375
20375
|
/**
|
|
20376
20376
|
* Constructs a new material loader.
|
|
20377
20377
|
*
|
|
@@ -20425,7 +20425,7 @@ class hS extends ta {
|
|
|
20425
20425
|
* @return {Material} The new material.
|
|
20426
20426
|
*/
|
|
20427
20427
|
createMaterialFromType(e) {
|
|
20428
|
-
return
|
|
20428
|
+
return pS.createMaterialFromType(e);
|
|
20429
20429
|
}
|
|
20430
20430
|
/**
|
|
20431
20431
|
* Creates a material for the given type.
|
|
@@ -20471,7 +20471,7 @@ class hS extends ta {
|
|
|
20471
20471
|
KC[e] = t;
|
|
20472
20472
|
}
|
|
20473
20473
|
}
|
|
20474
|
-
class
|
|
20474
|
+
class jw {
|
|
20475
20475
|
/**
|
|
20476
20476
|
* Extracts the base URL from the given URL.
|
|
20477
20477
|
*
|
|
@@ -20547,7 +20547,7 @@ class jR extends ta {
|
|
|
20547
20547
|
const t = {}, i = {};
|
|
20548
20548
|
function a(S, w) {
|
|
20549
20549
|
if (t[w] !== void 0) return t[w];
|
|
20550
|
-
const C = S.interleavedBuffers[w], T = c(S, C.buffer), D = Em(C.type, T), z = new
|
|
20550
|
+
const C = S.interleavedBuffers[w], T = c(S, C.buffer), D = Em(C.type, T), z = new Jx(D, C.stride);
|
|
20551
20551
|
return z.uuid = C.uuid, t[w] = z, z;
|
|
20552
20552
|
}
|
|
20553
20553
|
function c(S, w) {
|
|
@@ -20602,7 +20602,7 @@ class jR extends ta {
|
|
|
20602
20602
|
return x !== void 0 && (d.boundingSphere = new Gr().fromJSON(x)), e.name && (d.name = e.name), e.userData && (d.userData = e.userData), d;
|
|
20603
20603
|
}
|
|
20604
20604
|
}
|
|
20605
|
-
const
|
|
20605
|
+
const ow = {};
|
|
20606
20606
|
class jN extends ta {
|
|
20607
20607
|
/**
|
|
20608
20608
|
* Constructs a new object loader.
|
|
@@ -20621,7 +20621,7 @@ class jN extends ta {
|
|
|
20621
20621
|
* @param {onErrorCallback} onError - Executed when errors occur.
|
|
20622
20622
|
*/
|
|
20623
20623
|
load(e, t, i, a) {
|
|
20624
|
-
const c = this, d = this.path === "" ?
|
|
20624
|
+
const c = this, d = this.path === "" ? jw.extractUrlBase(e) : this.path;
|
|
20625
20625
|
this.resourcePath = this.resourcePath || d;
|
|
20626
20626
|
const f = new Uc(this.manager);
|
|
20627
20627
|
f.setPath(this.path), f.setRequestHeader(this.requestHeader), f.setWithCredentials(this.withCredentials), f.load(e, function(m) {
|
|
@@ -20649,7 +20649,7 @@ class jN extends ta {
|
|
|
20649
20649
|
* @return {Promise<Object3D>} A Promise that resolves with the loaded 3D object.
|
|
20650
20650
|
*/
|
|
20651
20651
|
async loadAsync(e, t) {
|
|
20652
|
-
const i = this, a = this.path === "" ?
|
|
20652
|
+
const i = this, a = this.path === "" ? jw.extractUrlBase(e) : this.path;
|
|
20653
20653
|
this.resourcePath = this.resourcePath || a;
|
|
20654
20654
|
const c = new Uc(this.manager);
|
|
20655
20655
|
c.setPath(this.path), c.setRequestHeader(this.requestHeader), c.setWithCredentials(this.withCredentials);
|
|
@@ -20707,7 +20707,7 @@ class jN extends ta {
|
|
|
20707
20707
|
* @param {BufferGeometry.constructor} geometryClass - The geometry class.
|
|
20708
20708
|
*/
|
|
20709
20709
|
static registerGeometry(e, t) {
|
|
20710
|
-
|
|
20710
|
+
ow[e] = t;
|
|
20711
20711
|
}
|
|
20712
20712
|
// internals
|
|
20713
20713
|
parseShapes(e) {
|
|
@@ -20725,7 +20725,7 @@ class jN extends ta {
|
|
|
20725
20725
|
c.isBone && (a[c.uuid] = c);
|
|
20726
20726
|
}), e !== void 0)
|
|
20727
20727
|
for (let c = 0, d = e.length; c < d; c++) {
|
|
20728
|
-
const f = new
|
|
20728
|
+
const f = new Qx().fromJSON(e[c], a);
|
|
20729
20729
|
i[f.uuid] = f;
|
|
20730
20730
|
}
|
|
20731
20731
|
return i;
|
|
@@ -20743,7 +20743,7 @@ class jN extends ta {
|
|
|
20743
20743
|
f = a.parse(m);
|
|
20744
20744
|
break;
|
|
20745
20745
|
default:
|
|
20746
|
-
m.type in XC ? f = XC[m.type].fromJSON(m, t) : m.type in
|
|
20746
|
+
m.type in XC ? f = XC[m.type].fromJSON(m, t) : m.type in ow ? f = ow[m.type].fromJSON(m, t) : at(`ObjectLoader: Unknown geometry type "${m.type}". Use .registerGeometry() before starting the deserialization process.`);
|
|
20747
20747
|
}
|
|
20748
20748
|
f.uuid = m.uuid, m.name !== void 0 && (f.name = m.name), m.userData !== void 0 && (f.userData = m.userData), i[m.uuid] = f;
|
|
20749
20749
|
}
|
|
@@ -20753,7 +20753,7 @@ class jN extends ta {
|
|
|
20753
20753
|
parseMaterials(e, t) {
|
|
20754
20754
|
const i = {}, a = {};
|
|
20755
20755
|
if (e !== void 0) {
|
|
20756
|
-
const c = new
|
|
20756
|
+
const c = new pS();
|
|
20757
20757
|
c.setTextures(t);
|
|
20758
20758
|
for (let d = 0, f = e.length; d < f; d++) {
|
|
20759
20759
|
const m = e[d];
|
|
@@ -20884,7 +20884,7 @@ class jN extends ta {
|
|
|
20884
20884
|
let v, M;
|
|
20885
20885
|
switch (e.type) {
|
|
20886
20886
|
case "Scene":
|
|
20887
|
-
d = new P1(), e.background !== void 0 && (Number.isInteger(e.background) ? d.background = new ct(e.background) : d.background = g(e.background)), e.environment !== void 0 && (d.environment = g(e.environment)), e.fog !== void 0 && (e.fog.type === "Fog" ? d.fog = new
|
|
20887
|
+
d = new P1(), e.background !== void 0 && (Number.isInteger(e.background) ? d.background = new ct(e.background) : d.background = g(e.background)), e.environment !== void 0 && (d.environment = g(e.environment)), e.fog !== void 0 && (e.fog.type === "Fog" ? d.fog = new jx(e.fog.color, e.fog.near, e.fog.far) : e.fog.type === "FogExp2" && (d.fog = new Yx(e.fog.color, e.fog.density)), e.fog.name !== "" && (d.fog.name = e.fog.name)), e.backgroundBlurriness !== void 0 && (d.backgroundBlurriness = e.backgroundBlurriness), e.backgroundIntensity !== void 0 && (d.backgroundIntensity = e.backgroundIntensity), e.backgroundRotation !== void 0 && d.backgroundRotation.fromArray(e.backgroundRotation), e.environmentIntensity !== void 0 && (d.environmentIntensity = e.environmentIntensity), e.environmentRotation !== void 0 && d.environmentRotation.fromArray(e.environmentRotation);
|
|
20888
20888
|
break;
|
|
20889
20889
|
case "PerspectiveCamera":
|
|
20890
20890
|
d = new Lr(e.fov, e.aspect, e.near, e.far), e.focus !== void 0 && (d.focus = e.focus), e.zoom !== void 0 && (d.zoom = e.zoom), e.filmGauge !== void 0 && (d.filmGauge = e.filmGauge), e.filmOffset !== void 0 && (d.filmOffset = e.filmOffset), e.view !== void 0 && (d.view = Object.assign({}, e.view));
|
|
@@ -21003,7 +21003,7 @@ class jN extends ta {
|
|
|
21003
21003
|
}
|
|
21004
21004
|
}
|
|
21005
21005
|
const JN = {
|
|
21006
|
-
UVMapping:
|
|
21006
|
+
UVMapping: Nx,
|
|
21007
21007
|
CubeReflectionMapping: zl,
|
|
21008
21008
|
CubeRefractionMapping: Zu,
|
|
21009
21009
|
EquirectangularReflectionMapping: iv,
|
|
@@ -21020,7 +21020,7 @@ const JN = {
|
|
|
21020
21020
|
LinearFilter: Ai,
|
|
21021
21021
|
LinearMipmapNearestFilter: sv,
|
|
21022
21022
|
LinearMipmapLinearFilter: Dl
|
|
21023
|
-
},
|
|
21023
|
+
}, lw = /* @__PURE__ */ new WeakMap();
|
|
21024
21024
|
class QN extends ta {
|
|
21025
21025
|
/**
|
|
21026
21026
|
* Constructs a new image bitmap loader.
|
|
@@ -21057,7 +21057,7 @@ class QN extends ta {
|
|
|
21057
21057
|
if (d !== void 0) {
|
|
21058
21058
|
if (c.manager.itemStart(e), d.then) {
|
|
21059
21059
|
d.then((g) => {
|
|
21060
|
-
|
|
21060
|
+
lw.has(d) === !0 ? (a && a(lw.get(d)), c.manager.itemError(e), c.manager.itemEnd(e)) : (t && t(g), c.manager.itemEnd(e));
|
|
21061
21061
|
});
|
|
21062
21062
|
return;
|
|
21063
21063
|
}
|
|
@@ -21075,7 +21075,7 @@ class QN extends ta {
|
|
|
21075
21075
|
}).then(function(g) {
|
|
21076
21076
|
Ll.add(`image-bitmap:${e}`, g), t && t(g), c.manager.itemEnd(e);
|
|
21077
21077
|
}).catch(function(g) {
|
|
21078
|
-
a && a(g),
|
|
21078
|
+
a && a(g), lw.set(m, g), Ll.remove(`image-bitmap:${e}`), c.manager.itemError(e), c.manager.itemEnd(e);
|
|
21079
21079
|
});
|
|
21080
21080
|
Ll.add(`image-bitmap:${e}`, m), c.manager.itemStart(e);
|
|
21081
21081
|
}
|
|
@@ -21333,7 +21333,7 @@ class ZR {
|
|
|
21333
21333
|
function _N() {
|
|
21334
21334
|
this._document.hidden === !1 && this.reset();
|
|
21335
21335
|
}
|
|
21336
|
-
const kf = /* @__PURE__ */ new J(),
|
|
21336
|
+
const kf = /* @__PURE__ */ new J(), cw = /* @__PURE__ */ new Rs(), $N = /* @__PURE__ */ new J(), Df = /* @__PURE__ */ new J(), Lf = /* @__PURE__ */ new J();
|
|
21337
21337
|
class ez extends Xn {
|
|
21338
21338
|
/**
|
|
21339
21339
|
* Constructs a new audio listener.
|
|
@@ -21397,7 +21397,7 @@ class ez extends Xn {
|
|
|
21397
21397
|
updateMatrixWorld(e) {
|
|
21398
21398
|
super.updateMatrixWorld(e), this._timer.update();
|
|
21399
21399
|
const t = this.context.listener;
|
|
21400
|
-
if (this.timeDelta = this._timer.getDelta(), this.matrixWorld.decompose(kf,
|
|
21400
|
+
if (this.timeDelta = this._timer.getDelta(), this.matrixWorld.decompose(kf, cw, $N), Df.set(0, 0, -1).applyQuaternion(cw), Lf.set(0, 1, 0).applyQuaternion(cw), t.positionX) {
|
|
21401
21401
|
const i = this.context.currentTime + this.timeDelta;
|
|
21402
21402
|
t.positionX.linearRampToValueAtTime(kf.x, i), t.positionY.linearRampToValueAtTime(kf.y, i), t.positionZ.linearRampToValueAtTime(kf.z, i), t.forwardX.linearRampToValueAtTime(Df.x, i), t.forwardY.linearRampToValueAtTime(Df.y, i), t.forwardZ.linearRampToValueAtTime(Df.z, i), t.upX.linearRampToValueAtTime(Lf.x, i), t.upY.linearRampToValueAtTime(Lf.y, i), t.upZ.linearRampToValueAtTime(Lf.z, i);
|
|
21403
21403
|
} else
|
|
@@ -22740,7 +22740,7 @@ class $R {
|
|
|
22740
22740
|
for (let v = 0, M = m.length; v !== M; ++v)
|
|
22741
22741
|
m[v].evaluate(d), g[v].accumulateAdditive(f);
|
|
22742
22742
|
break;
|
|
22743
|
-
case
|
|
22743
|
+
case Hx:
|
|
22744
22744
|
default:
|
|
22745
22745
|
for (let v = 0, M = m.length; v !== M; ++v)
|
|
22746
22746
|
m[v].evaluate(d), g[v].accumulate(a, f);
|
|
@@ -23020,7 +23020,7 @@ class mz extends Jo {
|
|
|
23020
23020
|
let d = typeof e == "string" ? Cv.findByName(a, e) : e;
|
|
23021
23021
|
const f = d !== null ? d.uuid : e, m = this._actionsByClip[f];
|
|
23022
23022
|
let g = null;
|
|
23023
|
-
if (i === void 0 && (d !== null ? i = d.blendMode : i =
|
|
23023
|
+
if (i === void 0 && (d !== null ? i = d.blendMode : i = Hx), m !== void 0) {
|
|
23024
23024
|
const M = m.actionByRoot[c];
|
|
23025
23025
|
if (M !== void 0 && M.blendMode === i)
|
|
23026
23026
|
return M;
|
|
@@ -23157,7 +23157,7 @@ class gz extends R1 {
|
|
|
23157
23157
|
* @param {RenderTarget~Options} [options] - The configuration object.
|
|
23158
23158
|
*/
|
|
23159
23159
|
constructor(e = 1, t = 1, i = 1, a = {}) {
|
|
23160
|
-
super(e, t, a), this.isRenderTarget3D = !0, this.depth = i, this.texture = new
|
|
23160
|
+
super(e, t, a), this.isRenderTarget3D = !0, this.depth = i, this.texture = new qx(null, e, t, i), this._setTextureOptions(a), this.texture.isRenderTargetTexture = !0;
|
|
23161
23161
|
}
|
|
23162
23162
|
}
|
|
23163
23163
|
class Ra {
|
|
@@ -23259,7 +23259,7 @@ class vz extends Jo {
|
|
|
23259
23259
|
return new this.constructor().copy(this);
|
|
23260
23260
|
}
|
|
23261
23261
|
}
|
|
23262
|
-
class yz extends
|
|
23262
|
+
class yz extends Jx {
|
|
23263
23263
|
/**
|
|
23264
23264
|
* Constructs a new instanced interleaved buffer.
|
|
23265
23265
|
*
|
|
@@ -23428,7 +23428,7 @@ class eP {
|
|
|
23428
23428
|
* @return {Array<Raycaster~Intersection>} An array holding the intersection points.
|
|
23429
23429
|
*/
|
|
23430
23430
|
intersectObject(e, t = !0, i = []) {
|
|
23431
|
-
return
|
|
23431
|
+
return Jw(e, this, i, t), i.sort(r2), i;
|
|
23432
23432
|
}
|
|
23433
23433
|
/**
|
|
23434
23434
|
* Checks all intersection between the ray and the objects with or without
|
|
@@ -23442,19 +23442,19 @@ class eP {
|
|
|
23442
23442
|
*/
|
|
23443
23443
|
intersectObjects(e, t = !0, i = []) {
|
|
23444
23444
|
for (let a = 0, c = e.length; a < c; a++)
|
|
23445
|
-
|
|
23445
|
+
Jw(e[a], this, i, t);
|
|
23446
23446
|
return i.sort(r2), i;
|
|
23447
23447
|
}
|
|
23448
23448
|
}
|
|
23449
23449
|
function r2(s, e) {
|
|
23450
23450
|
return s.distance - e.distance;
|
|
23451
23451
|
}
|
|
23452
|
-
function
|
|
23452
|
+
function Jw(s, e, t, i) {
|
|
23453
23453
|
let a = !0;
|
|
23454
23454
|
if (s.layers.test(e.layers) && s.raycast(e, t) === !1 && (a = !1), a === !0 && i === !0) {
|
|
23455
23455
|
const c = s.children;
|
|
23456
23456
|
for (let d = 0, f = c.length; d < f; d++)
|
|
23457
|
-
|
|
23457
|
+
Jw(c[d], e, t, !0);
|
|
23458
23458
|
}
|
|
23459
23459
|
}
|
|
23460
23460
|
class tP {
|
|
@@ -23933,7 +23933,7 @@ class nP {
|
|
|
23933
23933
|
return e.min.equals(this.min) && e.max.equals(this.max);
|
|
23934
23934
|
}
|
|
23935
23935
|
}
|
|
23936
|
-
const a2 = /* @__PURE__ */ new J(), Ab = /* @__PURE__ */ new J(), ym = /* @__PURE__ */ new J(), bm = /* @__PURE__ */ new J(),
|
|
23936
|
+
const a2 = /* @__PURE__ */ new J(), Ab = /* @__PURE__ */ new J(), ym = /* @__PURE__ */ new J(), bm = /* @__PURE__ */ new J(), uw = /* @__PURE__ */ new J(), Mz = /* @__PURE__ */ new J(), wz = /* @__PURE__ */ new J();
|
|
23937
23937
|
class Tz {
|
|
23938
23938
|
/**
|
|
23939
23939
|
* Constructs a new line segment.
|
|
@@ -24045,14 +24045,14 @@ class Tz {
|
|
|
24045
24045
|
const a = 10000000000000001e-32;
|
|
24046
24046
|
let c, d;
|
|
24047
24047
|
const f = this.start, m = e.start, g = this.end, v = e.end;
|
|
24048
|
-
ym.subVectors(g, f), bm.subVectors(v, m),
|
|
24049
|
-
const M = ym.dot(ym), x = bm.dot(bm), S = bm.dot(
|
|
24048
|
+
ym.subVectors(g, f), bm.subVectors(v, m), uw.subVectors(f, m);
|
|
24049
|
+
const M = ym.dot(ym), x = bm.dot(bm), S = bm.dot(uw);
|
|
24050
24050
|
if (M <= a && x <= a)
|
|
24051
24051
|
return t.copy(f), i.copy(m), t.sub(i), t.dot(t);
|
|
24052
24052
|
if (M <= a)
|
|
24053
24053
|
c = 0, d = S / x, d = Jt(d, 0, 1);
|
|
24054
24054
|
else {
|
|
24055
|
-
const w = ym.dot(
|
|
24055
|
+
const w = ym.dot(uw);
|
|
24056
24056
|
if (x <= a)
|
|
24057
24057
|
d = 0, c = Jt(-w / M, 0, 1);
|
|
24058
24058
|
else {
|
|
@@ -24164,7 +24164,7 @@ class Ez extends Xn {
|
|
|
24164
24164
|
this.cone.scale.set(t, t, e), o2.setFromMatrixPosition(this.light.target.matrixWorld), this.cone.lookAt(o2), this.color !== void 0 ? this.cone.material.color.set(this.color) : this.cone.material.color.copy(this.light.color);
|
|
24165
24165
|
}
|
|
24166
24166
|
}
|
|
24167
|
-
const Hu = /* @__PURE__ */ new J(), vb = /* @__PURE__ */ new Kt(),
|
|
24167
|
+
const Hu = /* @__PURE__ */ new J(), vb = /* @__PURE__ */ new Kt(), dw = /* @__PURE__ */ new Kt();
|
|
24168
24168
|
class Cz extends Fl {
|
|
24169
24169
|
/**
|
|
24170
24170
|
* Constructs a new skeleton helper.
|
|
@@ -24186,10 +24186,10 @@ class Cz extends Fl {
|
|
|
24186
24186
|
}
|
|
24187
24187
|
updateMatrixWorld(e) {
|
|
24188
24188
|
const t = this.bones, i = this.geometry, a = i.getAttribute("position");
|
|
24189
|
-
|
|
24189
|
+
dw.copy(this.root.matrixWorld).invert();
|
|
24190
24190
|
for (let c = 0, d = 0; c < t.length; c++) {
|
|
24191
24191
|
const f = t[c];
|
|
24192
|
-
f.parent && f.parent.isBone && (vb.multiplyMatrices(
|
|
24192
|
+
f.parent && f.parent.isBone && (vb.multiplyMatrices(dw, f.matrixWorld), Hu.setFromMatrixPosition(vb), a.setXYZ(d, Hu.x, Hu.y, Hu.z), vb.multiplyMatrices(dw, f.parent.matrixWorld), Hu.setFromMatrixPosition(vb), a.setXYZ(d + 1, Hu.x, Hu.y, Hu.z), d += 2);
|
|
24193
24193
|
}
|
|
24194
24194
|
i.getAttribute("position").needsUpdate = !0, super.updateMatrixWorld(e);
|
|
24195
24195
|
}
|
|
@@ -24412,7 +24412,7 @@ class Iz extends Xn {
|
|
|
24412
24412
|
this.matrixWorldNeedsUpdate = !0, this.light.updateWorldMatrix(!0, !1), this.light.target.updateWorldMatrix(!0, !1), u2.setFromMatrixPosition(this.light.matrixWorld), yb.setFromMatrixPosition(this.light.target.matrixWorld), d2.subVectors(yb, u2), this.lightPlane.lookAt(yb), this.color !== void 0 ? (this.lightPlane.material.color.set(this.color), this.targetLine.material.color.set(this.color)) : (this.lightPlane.material.color.copy(this.light.color), this.targetLine.material.color.copy(this.light.color)), this.targetLine.lookAt(yb), this.targetLine.scale.z = d2.length();
|
|
24413
24413
|
}
|
|
24414
24414
|
}
|
|
24415
|
-
const bb = /* @__PURE__ */ new J(), Gi = /* @__PURE__ */ new
|
|
24415
|
+
const bb = /* @__PURE__ */ new J(), Gi = /* @__PURE__ */ new hS();
|
|
24416
24416
|
class Nz extends Fl {
|
|
24417
24417
|
/**
|
|
24418
24418
|
* Constructs a new arrow helper.
|
|
@@ -24569,7 +24569,7 @@ class Uz extends $u {
|
|
|
24569
24569
|
}
|
|
24570
24570
|
}
|
|
24571
24571
|
const f2 = /* @__PURE__ */ new J();
|
|
24572
|
-
let Sb,
|
|
24572
|
+
let Sb, fw;
|
|
24573
24573
|
class Fz extends Xn {
|
|
24574
24574
|
/**
|
|
24575
24575
|
* Constructs a new arrow helper.
|
|
@@ -24582,7 +24582,7 @@ class Fz extends Xn {
|
|
|
24582
24582
|
* @param {number} [headWidth=headLength*0.2] - The width of the head of the arrow.
|
|
24583
24583
|
*/
|
|
24584
24584
|
constructor(e = new J(0, 0, 1), t = new J(0, 0, 0), i = 1, a = 16776960, c = i * 0.2, d = c * 0.2) {
|
|
24585
|
-
super(), this.type = "ArrowHelper", Sb === void 0 && (Sb = new sn(), Sb.setAttribute("position", new Mt([0, 0, 0, 0, 1, 0], 3)),
|
|
24585
|
+
super(), this.type = "ArrowHelper", Sb === void 0 && (Sb = new sn(), Sb.setAttribute("position", new Mt([0, 0, 0, 0, 1, 0], 3)), fw = new Bv(0.5, 1, 5, 1), fw.translate(0, -0.5, 0)), this.position.copy(t), this.line = new $u(Sb, new Ps({ color: a, toneMapped: !1 })), this.line.matrixAutoUpdate = !1, this.add(this.line), this.cone = new cr(fw, new nd({ color: a, toneMapped: !1 })), this.cone.matrixAutoUpdate = !1, this.add(this.cone), this.setDirection(e), this.setLength(i, c, d);
|
|
24586
24586
|
}
|
|
24587
24587
|
/**
|
|
24588
24588
|
* Sets the direction of the helper.
|
|
@@ -24900,25 +24900,25 @@ function Wz(s, e) {
|
|
|
24900
24900
|
function Xz(s) {
|
|
24901
24901
|
return s.repeat.x = 1, s.repeat.y = 1, s.offset.x = 0, s.offset.y = 0, s;
|
|
24902
24902
|
}
|
|
24903
|
-
function
|
|
24903
|
+
function Qw(s, e, t, i) {
|
|
24904
24904
|
const a = qz(i);
|
|
24905
24905
|
switch (t) {
|
|
24906
24906
|
// https://registry.khronos.org/OpenGL-Refpages/es3.0/html/glTexImage2D.xhtml
|
|
24907
24907
|
case w1:
|
|
24908
24908
|
return s * e;
|
|
24909
|
-
case
|
|
24909
|
+
case Fx:
|
|
24910
24910
|
return s * e / a.components * a.byteLength;
|
|
24911
24911
|
case Iv:
|
|
24912
24912
|
return s * e / a.components * a.byteLength;
|
|
24913
24913
|
case Ku:
|
|
24914
24914
|
return s * e * 2 / a.components * a.byteLength;
|
|
24915
|
-
case
|
|
24915
|
+
case Ox:
|
|
24916
24916
|
return s * e * 2 / a.components * a.byteLength;
|
|
24917
24917
|
case T1:
|
|
24918
24918
|
return s * e * 3 / a.components * a.byteLength;
|
|
24919
24919
|
case ls:
|
|
24920
24920
|
return s * e * 4 / a.components * a.byteLength;
|
|
24921
|
-
case
|
|
24921
|
+
case Vx:
|
|
24922
24922
|
return s * e * 4 / a.components * a.byteLength;
|
|
24923
24923
|
// https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_s3tc_srgb/
|
|
24924
24924
|
case av:
|
|
@@ -24999,11 +24999,11 @@ function qz(s) {
|
|
|
24999
24999
|
case x1:
|
|
25000
25000
|
case Bl:
|
|
25001
25001
|
return { byteLength: 2, components: 1 };
|
|
25002
|
-
case zx:
|
|
25003
25002
|
case Bx:
|
|
25003
|
+
case Ux:
|
|
25004
25004
|
return { byteLength: 2, components: 4 };
|
|
25005
25005
|
case uo:
|
|
25006
|
-
case
|
|
25006
|
+
case zx:
|
|
25007
25007
|
case Es:
|
|
25008
25008
|
return { byteLength: 4, components: 1 };
|
|
25009
25009
|
case S1:
|
|
@@ -25056,13 +25056,13 @@ class Yz {
|
|
|
25056
25056
|
* @return {number} The byte length.
|
|
25057
25057
|
*/
|
|
25058
25058
|
static getByteLength(e, t, i, a) {
|
|
25059
|
-
return
|
|
25059
|
+
return Qw(e, t, i, a);
|
|
25060
25060
|
}
|
|
25061
25061
|
}
|
|
25062
25062
|
typeof __THREE_DEVTOOLS__ < "u" && __THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register", { detail: {
|
|
25063
|
-
revision:
|
|
25063
|
+
revision: Lx
|
|
25064
25064
|
} }));
|
|
25065
|
-
typeof window < "u" && (window.__THREE__ ? at("WARNING: Multiple instances of Three.js being imported.") : window.__THREE__ =
|
|
25065
|
+
typeof window < "u" && (window.__THREE__ ? at("WARNING: Multiple instances of Three.js being imported.") : window.__THREE__ = Lx);
|
|
25066
25066
|
/**
|
|
25067
25067
|
* @license
|
|
25068
25068
|
* Copyright 2010-2026 Three.js Authors
|
|
@@ -29622,7 +29622,7 @@ function kF(s, e) {
|
|
|
29622
29622
|
if (ve === void 0 && (te === "instanceMatrix" && q.instanceMatrix && (ve = q.instanceMatrix), te === "instanceColor" && q.instanceColor && (ve = q.instanceColor)), ve !== void 0) {
|
|
29623
29623
|
const we = ve.normalized, Ue = ve.itemSize, dt = e.get(ve);
|
|
29624
29624
|
if (dt === void 0) continue;
|
|
29625
|
-
const ot = dt.buffer, lt = dt.type, Re = dt.bytesPerElement, qe = lt === s.INT || lt === s.UNSIGNED_INT || ve.gpuType ===
|
|
29625
|
+
const ot = dt.buffer, lt = dt.type, Re = dt.bytesPerElement, qe = lt === s.INT || lt === s.UNSIGNED_INT || ve.gpuType === zx;
|
|
29626
29626
|
if (ve.isInterleavedBufferAttribute) {
|
|
29627
29627
|
const Ve = ve.data, ht = Ve.stride, It = ve.offset;
|
|
29628
29628
|
if (Ve.isInstancedInterleavedBuffer) {
|
|
@@ -29883,9 +29883,9 @@ function IF(s) {
|
|
|
29883
29883
|
}
|
|
29884
29884
|
}
|
|
29885
29885
|
const Ju = 4, h2 = [0.125, 0.215, 0.35, 0.446, 0.526, 0.582], Uf = 20, NF = 256, QA = /* @__PURE__ */ new Ym(), p2 = /* @__PURE__ */ new ct();
|
|
29886
|
-
let
|
|
29886
|
+
let hw = null, pw = 0, mw = 0, gw = !1;
|
|
29887
29887
|
const zF = /* @__PURE__ */ new J();
|
|
29888
|
-
class
|
|
29888
|
+
class Zw {
|
|
29889
29889
|
/**
|
|
29890
29890
|
* Constructs a new PMREM generator.
|
|
29891
29891
|
*
|
|
@@ -29914,7 +29914,7 @@ class Qw {
|
|
|
29914
29914
|
size: d = 256,
|
|
29915
29915
|
position: f = zF
|
|
29916
29916
|
} = c;
|
|
29917
|
-
|
|
29917
|
+
hw = this._renderer.getRenderTarget(), pw = this._renderer.getActiveCubeFace(), mw = this._renderer.getActiveMipmapLevel(), gw = this._renderer.xr.enabled, this._renderer.xr.enabled = !1, this._setSize(d);
|
|
29918
29918
|
const m = this._allocateTargets();
|
|
29919
29919
|
return m.depthBuffer = !0, this._sceneToCubeUV(e, i, a, m, f), t > 0 && this._blur(m, 0, 0, t), this._applyPMREM(m), this._cleanup(m), m;
|
|
29920
29920
|
}
|
|
@@ -29976,10 +29976,10 @@ class Qw {
|
|
|
29976
29976
|
this._lodMeshes[e].geometry.dispose();
|
|
29977
29977
|
}
|
|
29978
29978
|
_cleanup(e) {
|
|
29979
|
-
this._renderer.setRenderTarget(
|
|
29979
|
+
this._renderer.setRenderTarget(hw, pw, mw), this._renderer.xr.enabled = gw, e.scissorTest = !1, xm(e, 0, 0, e.width, e.height);
|
|
29980
29980
|
}
|
|
29981
29981
|
_fromTexture(e, t) {
|
|
29982
|
-
e.mapping === zl || e.mapping === Zu ? this._setSize(e.image.length === 0 ? 16 : e.image[0].width || e.image[0].image.width) : this._setSize(e.image.width / 4),
|
|
29982
|
+
e.mapping === zl || e.mapping === Zu ? this._setSize(e.image.length === 0 ? 16 : e.image[0].width || e.image[0].image.width) : this._setSize(e.image.width / 4), hw = this._renderer.getRenderTarget(), pw = this._renderer.getActiveCubeFace(), mw = this._renderer.getActiveMipmapLevel(), gw = this._renderer.xr.enabled, this._renderer.xr.enabled = !1;
|
|
29983
29983
|
const i = t || this._allocateTargets();
|
|
29984
29984
|
return this._textureToCubeUV(e, i), this._applyPMREM(i), this._cleanup(i), i;
|
|
29985
29985
|
}
|
|
@@ -30183,7 +30183,7 @@ function UF(s, e, t) {
|
|
|
30183
30183
|
roughness: { value: 0 },
|
|
30184
30184
|
mipInt: { value: 0 }
|
|
30185
30185
|
},
|
|
30186
|
-
vertexShader:
|
|
30186
|
+
vertexShader: mS(),
|
|
30187
30187
|
fragmentShader: (
|
|
30188
30188
|
/* glsl */
|
|
30189
30189
|
`
|
|
@@ -30316,7 +30316,7 @@ function FF(s, e, t) {
|
|
|
30316
30316
|
mipInt: { value: 0 },
|
|
30317
30317
|
poleAxis: { value: a }
|
|
30318
30318
|
},
|
|
30319
|
-
vertexShader:
|
|
30319
|
+
vertexShader: mS(),
|
|
30320
30320
|
fragmentShader: (
|
|
30321
30321
|
/* glsl */
|
|
30322
30322
|
`
|
|
@@ -30392,7 +30392,7 @@ function g2() {
|
|
|
30392
30392
|
uniforms: {
|
|
30393
30393
|
envMap: { value: null }
|
|
30394
30394
|
},
|
|
30395
|
-
vertexShader:
|
|
30395
|
+
vertexShader: mS(),
|
|
30396
30396
|
fragmentShader: (
|
|
30397
30397
|
/* glsl */
|
|
30398
30398
|
`
|
|
@@ -30428,7 +30428,7 @@ function A2() {
|
|
|
30428
30428
|
envMap: { value: null },
|
|
30429
30429
|
flipEnvMap: { value: -1 }
|
|
30430
30430
|
},
|
|
30431
|
-
vertexShader:
|
|
30431
|
+
vertexShader: mS(),
|
|
30432
30432
|
fragmentShader: (
|
|
30433
30433
|
/* glsl */
|
|
30434
30434
|
`
|
|
@@ -30454,7 +30454,7 @@ function A2() {
|
|
|
30454
30454
|
depthWrite: !1
|
|
30455
30455
|
});
|
|
30456
30456
|
}
|
|
30457
|
-
function
|
|
30457
|
+
function mS() {
|
|
30458
30458
|
return (
|
|
30459
30459
|
/* glsl */
|
|
30460
30460
|
`
|
|
@@ -30640,12 +30640,12 @@ function OF(s) {
|
|
|
30640
30640
|
let C = t.get(x);
|
|
30641
30641
|
const T = C !== void 0 ? C.texture.pmremVersion : 0;
|
|
30642
30642
|
if (x.isRenderTargetTexture && x.pmremVersion !== T)
|
|
30643
|
-
return i === null && (i = new
|
|
30643
|
+
return i === null && (i = new Zw(s)), C = w ? i.fromEquirectangular(x, C) : i.fromCubemap(x, C), C.texture.pmremVersion = x.pmremVersion, t.set(x, C), C.texture;
|
|
30644
30644
|
if (C !== void 0)
|
|
30645
30645
|
return C.texture;
|
|
30646
30646
|
{
|
|
30647
30647
|
const D = x.image;
|
|
30648
|
-
return w && D && D.height > 0 || k && D && m(D) ? (i === null && (i = new
|
|
30648
|
+
return w && D && D.height > 0 || k && D && m(D) ? (i === null && (i = new Zw(s)), C = w ? i.fromEquirectangular(x) : i.fromCubemap(x), C.texture.pmremVersion = x.pmremVersion, t.set(x, C), x.addEventListener("dispose", v), C.texture) : null;
|
|
30649
30649
|
}
|
|
30650
30650
|
}
|
|
30651
30651
|
}
|
|
@@ -30846,7 +30846,7 @@ function XF(s, e, t) {
|
|
|
30846
30846
|
S === !0 && (z = 1), w === !0 && (z = 2), k === !0 && (z = 3);
|
|
30847
30847
|
let L = f.attributes.position.count * z, O = 1;
|
|
30848
30848
|
L > e.maxTextureSize && (O = Math.ceil(L / e.maxTextureSize), L = e.maxTextureSize);
|
|
30849
|
-
const U = new Float32Array(L * O * 4 * M), H = new
|
|
30849
|
+
const U = new Float32Array(L * O * 4 * M), H = new Xx(U, L, O, M);
|
|
30850
30850
|
H.type = Es, H.needsUpdate = !0;
|
|
30851
30851
|
const I = z * 4;
|
|
30852
30852
|
for (let V = 0; V < M; V++) {
|
|
@@ -30903,7 +30903,7 @@ const YF = {
|
|
|
30903
30903
|
[h1]: "LINEAR_TONE_MAPPING",
|
|
30904
30904
|
[p1]: "REINHARD_TONE_MAPPING",
|
|
30905
30905
|
[m1]: "CINEON_TONE_MAPPING",
|
|
30906
|
-
[
|
|
30906
|
+
[Ix]: "ACES_FILMIC_TONE_MAPPING",
|
|
30907
30907
|
[A1]: "AGX_TONE_MAPPING",
|
|
30908
30908
|
[v1]: "NEUTRAL_TONE_MAPPING",
|
|
30909
30909
|
[g1]: "CUSTOM_TONE_MAPPING"
|
|
@@ -31027,7 +31027,7 @@ function jF(s, e, t, i, a, c) {
|
|
|
31027
31027
|
d.depthTexture && d.depthTexture.dispose(), d.dispose(), f.dispose(), m.dispose(), g.dispose();
|
|
31028
31028
|
};
|
|
31029
31029
|
}
|
|
31030
|
-
const aP = /* @__PURE__ */ new Ii(),
|
|
31030
|
+
const aP = /* @__PURE__ */ new Ii(), Kw = /* @__PURE__ */ new Jf(1, 1), oP = /* @__PURE__ */ new Xx(), lP = /* @__PURE__ */ new qx(), cP = /* @__PURE__ */ new Nv(), v2 = [], y2 = [], b2 = new Float32Array(16), x2 = new Float32Array(9), S2 = new Float32Array(4);
|
|
31031
31031
|
function jm(s, e, t) {
|
|
31032
31032
|
const i = s[0];
|
|
31033
31033
|
if (i <= 0 || i > 0) return s;
|
|
@@ -31050,7 +31050,7 @@ function br(s, e) {
|
|
|
31050
31050
|
for (let t = 0, i = e.length; t < i; t++)
|
|
31051
31051
|
s[t] = e[t];
|
|
31052
31052
|
}
|
|
31053
|
-
function
|
|
31053
|
+
function gS(s, e) {
|
|
31054
31054
|
let t = y2[e];
|
|
31055
31055
|
t === void 0 && (t = new Int32Array(e), y2[e] = t);
|
|
31056
31056
|
for (let i = 0; i !== e; ++i)
|
|
@@ -31186,7 +31186,7 @@ function cO(s, e, t) {
|
|
|
31186
31186
|
const i = this.cache, a = t.allocateTextureUnit();
|
|
31187
31187
|
i[0] !== a && (s.uniform1i(this.addr, a), i[0] = a);
|
|
31188
31188
|
let c;
|
|
31189
|
-
this.type === s.SAMPLER_2D_SHADOW ? (
|
|
31189
|
+
this.type === s.SAMPLER_2D_SHADOW ? (Kw.compareFunction = t.isReversedDepthBuffer() ? Wx : Gx, c = Kw) : c = aP, t.setTexture2D(e || c, a);
|
|
31190
31190
|
}
|
|
31191
31191
|
function uO(s, e, t) {
|
|
31192
31192
|
const i = this.cache, a = t.allocateTextureUnit();
|
|
@@ -31337,27 +31337,27 @@ function RO(s, e) {
|
|
|
31337
31337
|
s.uniform4uiv(this.addr, e);
|
|
31338
31338
|
}
|
|
31339
31339
|
function PO(s, e, t) {
|
|
31340
|
-
const i = this.cache, a = e.length, c =
|
|
31340
|
+
const i = this.cache, a = e.length, c = gS(t, a);
|
|
31341
31341
|
yr(i, c) || (s.uniform1iv(this.addr, c), br(i, c));
|
|
31342
31342
|
let d;
|
|
31343
|
-
this.type === s.SAMPLER_2D_SHADOW ? d =
|
|
31343
|
+
this.type === s.SAMPLER_2D_SHADOW ? d = Kw : d = aP;
|
|
31344
31344
|
for (let f = 0; f !== a; ++f)
|
|
31345
31345
|
t.setTexture2D(e[f] || d, c[f]);
|
|
31346
31346
|
}
|
|
31347
31347
|
function kO(s, e, t) {
|
|
31348
|
-
const i = this.cache, a = e.length, c =
|
|
31348
|
+
const i = this.cache, a = e.length, c = gS(t, a);
|
|
31349
31349
|
yr(i, c) || (s.uniform1iv(this.addr, c), br(i, c));
|
|
31350
31350
|
for (let d = 0; d !== a; ++d)
|
|
31351
31351
|
t.setTexture3D(e[d] || lP, c[d]);
|
|
31352
31352
|
}
|
|
31353
31353
|
function DO(s, e, t) {
|
|
31354
|
-
const i = this.cache, a = e.length, c =
|
|
31354
|
+
const i = this.cache, a = e.length, c = gS(t, a);
|
|
31355
31355
|
yr(i, c) || (s.uniform1iv(this.addr, c), br(i, c));
|
|
31356
31356
|
for (let d = 0; d !== a; ++d)
|
|
31357
31357
|
t.setTextureCube(e[d] || cP, c[d]);
|
|
31358
31358
|
}
|
|
31359
31359
|
function LO(s, e, t) {
|
|
31360
|
-
const i = this.cache, a = e.length, c =
|
|
31360
|
+
const i = this.cache, a = e.length, c = gS(t, a);
|
|
31361
31361
|
yr(i, c) || (s.uniform1iv(this.addr, c), br(i, c));
|
|
31362
31362
|
for (let d = 0; d !== a; ++d)
|
|
31363
31363
|
t.setTexture2DArray(e[d] || oP, c[d]);
|
|
@@ -31469,14 +31469,14 @@ class BO {
|
|
|
31469
31469
|
}
|
|
31470
31470
|
}
|
|
31471
31471
|
}
|
|
31472
|
-
const
|
|
31472
|
+
const Aw = /(\w+)(\])?(\[|\.)?/g;
|
|
31473
31473
|
function M2(s, e) {
|
|
31474
31474
|
s.seq.push(e), s.map[e.id] = e;
|
|
31475
31475
|
}
|
|
31476
31476
|
function UO(s, e, t) {
|
|
31477
31477
|
const i = s.name, a = i.length;
|
|
31478
|
-
for (
|
|
31479
|
-
const c =
|
|
31478
|
+
for (Aw.lastIndex = 0; ; ) {
|
|
31479
|
+
const c = Aw.exec(i), d = Aw.lastIndex;
|
|
31480
31480
|
let f = c[1];
|
|
31481
31481
|
const m = c[2] === "]", g = c[3];
|
|
31482
31482
|
if (m && (f = f | 0), g === void 0 || g === "[" && d + 2 === a) {
|
|
@@ -31580,7 +31580,7 @@ const WO = {
|
|
|
31580
31580
|
[h1]: "Linear",
|
|
31581
31581
|
[p1]: "Reinhard",
|
|
31582
31582
|
[m1]: "Cineon",
|
|
31583
|
-
[
|
|
31583
|
+
[Ix]: "ACESFilmic",
|
|
31584
31584
|
[A1]: "AgX",
|
|
31585
31585
|
[v1]: "Neutral",
|
|
31586
31586
|
[g1]: "Custom"
|
|
@@ -31641,7 +31641,7 @@ function R2(s, e) {
|
|
|
31641
31641
|
return s.replace(/NUM_CLIPPING_PLANES/g, e.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g, e.numClippingPlanes - e.numClipIntersection);
|
|
31642
31642
|
}
|
|
31643
31643
|
const QO = /^[ \t]*#include +<([\w\d./]+)>/gm;
|
|
31644
|
-
function
|
|
31644
|
+
function _w(s) {
|
|
31645
31645
|
return s.replace(QO, KO);
|
|
31646
31646
|
}
|
|
31647
31647
|
const ZO = /* @__PURE__ */ new Map();
|
|
@@ -31654,7 +31654,7 @@ function KO(s, e) {
|
|
|
31654
31654
|
else
|
|
31655
31655
|
throw new Error("THREE.WebGLProgram: Can not resolve #include <" + e + ">");
|
|
31656
31656
|
}
|
|
31657
|
-
return
|
|
31657
|
+
return _w(t);
|
|
31658
31658
|
}
|
|
31659
31659
|
const _O = /#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;
|
|
31660
31660
|
function P2(s) {
|
|
@@ -31963,7 +31963,7 @@ function c4(s, e, t, i) {
|
|
|
31963
31963
|
`
|
|
31964
31964
|
`
|
|
31965
31965
|
].filter($A).join(`
|
|
31966
|
-
`)), d =
|
|
31966
|
+
`)), d = _w(d), d = C2(d, t), d = R2(d, t), f = _w(f), f = C2(f, t), f = R2(f, t), d = P2(d), f = P2(f), t.isRawShaderMaterial !== !0 && (D = `#version 300 es
|
|
31967
31967
|
`, C = [
|
|
31968
31968
|
S,
|
|
31969
31969
|
"#define attribute in",
|
|
@@ -31973,8 +31973,8 @@ function c4(s, e, t, i) {
|
|
|
31973
31973
|
`) + `
|
|
31974
31974
|
` + C, T = [
|
|
31975
31975
|
"#define varying in",
|
|
31976
|
-
t.glslVersion ===
|
|
31977
|
-
t.glslVersion ===
|
|
31976
|
+
t.glslVersion === Gw ? "" : "layout(location = 0) out highp vec4 pc_fragColor;",
|
|
31977
|
+
t.glslVersion === Gw ? "" : "#define gl_FragColor pc_fragColor",
|
|
31978
31978
|
"#define gl_FragDepthEXT gl_FragDepth",
|
|
31979
31979
|
"#define texture2D texture",
|
|
31980
31980
|
"#define textureCube texture",
|
|
@@ -32725,7 +32725,7 @@ void main() {
|
|
|
32725
32725
|
/* @__PURE__ */ new J(0, 0, -1),
|
|
32726
32726
|
/* @__PURE__ */ new J(0, -1, 0),
|
|
32727
32727
|
/* @__PURE__ */ new J(0, -1, 0)
|
|
32728
|
-
], N2 = /* @__PURE__ */ new Kt(), ZA = /* @__PURE__ */ new J(),
|
|
32728
|
+
], N2 = /* @__PURE__ */ new Kt(), ZA = /* @__PURE__ */ new J(), vw = /* @__PURE__ */ new J();
|
|
32729
32729
|
function R4(s, e, t) {
|
|
32730
32730
|
let i = new jf();
|
|
32731
32731
|
const a = new Fe(), c = new Fe(), d = new ri(), f = new X1(), m = new q1(), g = {}, v = t.maxTextureSize, M = { [Nc]: Cs, [Cs]: Nc, [kl]: kl }, x = new La({
|
|
@@ -32786,7 +32786,7 @@ function R4(s, e, t) {
|
|
|
32786
32786
|
generateMipmaps: !1
|
|
32787
32787
|
}), Q.map.texture.name = X.name + ".shadowMap", Q.map.depthTexture = new Jf(a.x, a.y, Es), Q.map.depthTexture.name = X.name + ".shadowMapDepth", Q.map.depthTexture.format = Ul, Q.map.depthTexture.compareFunction = null, Q.map.depthTexture.minFilter = Zi, Q.map.depthTexture.magFilter = Zi;
|
|
32788
32788
|
} else
|
|
32789
|
-
X.isPointLight ? (Q.map = new nT(a.x), Q.map.depthTexture = new cR(a.x, uo)) : (Q.map = new Da(a.x, a.y), Q.map.depthTexture = new Jf(a.x, a.y, uo)), Q.map.depthTexture.name = X.name + ".shadowMap", Q.map.depthTexture.format = Ul, this.type === Rm ? (Q.map.depthTexture.compareFunction = ce ?
|
|
32789
|
+
X.isPointLight ? (Q.map = new nT(a.x), Q.map.depthTexture = new cR(a.x, uo)) : (Q.map = new Da(a.x, a.y), Q.map.depthTexture = new Jf(a.x, a.y, uo)), Q.map.depthTexture.name = X.name + ".shadowMap", Q.map.depthTexture.format = Ul, this.type === Rm ? (Q.map.depthTexture.compareFunction = ce ? Wx : Gx, Q.map.depthTexture.minFilter = Ai, Q.map.depthTexture.magFilter = Ai) : (Q.map.depthTexture.compareFunction = null, Q.map.depthTexture.minFilter = Zi, Q.map.depthTexture.magFilter = Zi);
|
|
32790
32790
|
Q.camera.updateProjectionMatrix();
|
|
32791
32791
|
}
|
|
32792
32792
|
const ve = Q.map.isWebGLCubeRenderTarget ? 6 : 1;
|
|
@@ -32805,7 +32805,7 @@ function R4(s, e, t) {
|
|
|
32805
32805
|
}
|
|
32806
32806
|
if (X.isPointLight) {
|
|
32807
32807
|
const Ue = Q.camera, dt = Q.matrix, ot = X.distance || Ue.far;
|
|
32808
|
-
ot !== Ue.far && (Ue.far = ot, Ue.updateProjectionMatrix()), ZA.setFromMatrixPosition(X.matrixWorld), Ue.position.copy(ZA),
|
|
32808
|
+
ot !== Ue.far && (Ue.far = ot, Ue.updateProjectionMatrix()), ZA.setFromMatrixPosition(X.matrixWorld), Ue.position.copy(ZA), vw.copy(Ue.position), vw.add(E4[we]), Ue.up.copy(C4[we]), Ue.lookAt(vw), Ue.updateMatrixWorld(), dt.makeTranslation(-ZA.x, -ZA.y, -ZA.z), N2.multiplyMatrices(Ue.projectionMatrix, Ue.matrixWorldInverse), Q._frustum.setFromProjectionMatrix(N2, Ue.coordinateSystem, Ue.reversedDepth);
|
|
32809
32809
|
} else
|
|
32810
32810
|
Q.updateMatrices(X);
|
|
32811
32811
|
i = Q.getFrustum(), L(H, I, Q.camera, X, this.type);
|
|
@@ -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(
|
|
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(zw), Ve(s.CULL_FACE), ye(Nl);
|
|
33001
33001
|
function Ve(ae) {
|
|
33002
33002
|
v[ae] !== !0 && (s.enable(ae), v[ae] = !0);
|
|
33003
33003
|
}
|
|
@@ -33059,13 +33059,13 @@ function P4(s, e) {
|
|
|
33059
33059
|
case Gf:
|
|
33060
33060
|
s.blendFuncSeparate(s.ONE, s.ONE_MINUS_SRC_ALPHA, s.ONE, s.ONE_MINUS_SRC_ALPHA);
|
|
33061
33061
|
break;
|
|
33062
|
-
case
|
|
33062
|
+
case Bw:
|
|
33063
33063
|
s.blendFunc(s.ONE, s.ONE);
|
|
33064
33064
|
break;
|
|
33065
|
-
case
|
|
33065
|
+
case Uw:
|
|
33066
33066
|
s.blendFuncSeparate(s.ZERO, s.ONE_MINUS_SRC_COLOR, s.ZERO, s.ONE);
|
|
33067
33067
|
break;
|
|
33068
|
-
case
|
|
33068
|
+
case Fw:
|
|
33069
33069
|
s.blendFuncSeparate(s.DST_COLOR, s.ONE_MINUS_SRC_ALPHA, s.ZERO, s.ONE);
|
|
33070
33070
|
break;
|
|
33071
33071
|
default:
|
|
@@ -33077,13 +33077,13 @@ function P4(s, e) {
|
|
|
33077
33077
|
case Gf:
|
|
33078
33078
|
s.blendFuncSeparate(s.SRC_ALPHA, s.ONE_MINUS_SRC_ALPHA, s.ONE, s.ONE_MINUS_SRC_ALPHA);
|
|
33079
33079
|
break;
|
|
33080
|
-
case
|
|
33080
|
+
case Bw:
|
|
33081
33081
|
s.blendFuncSeparate(s.SRC_ALPHA, s.ONE, s.ONE, s.ONE);
|
|
33082
33082
|
break;
|
|
33083
|
-
case
|
|
33083
|
+
case Uw:
|
|
33084
33084
|
Pt("WebGLState: SubtractiveBlending requires material.premultipliedAlpha = true");
|
|
33085
33085
|
break;
|
|
33086
|
-
case
|
|
33086
|
+
case Fw:
|
|
33087
33087
|
Pt("WebGLState: MultiplyBlending requires material.premultipliedAlpha = true");
|
|
33088
33088
|
break;
|
|
33089
33089
|
default:
|
|
@@ -33107,7 +33107,7 @@ 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 !== Z && (ae ===
|
|
33110
|
+
ae !== p3 ? (Ve(s.CULL_FACE), ae !== Z && (ae === zw ? 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
33113
|
ae !== K && (Q && s.lineWidth(ae), K = ae);
|
|
@@ -33443,9 +33443,9 @@ function k4(s, e, t, i, a, c, d) {
|
|
|
33443
33443
|
[W3]: s.NEVER,
|
|
33444
33444
|
[J3]: s.ALWAYS,
|
|
33445
33445
|
[X3]: s.LESS,
|
|
33446
|
-
[
|
|
33446
|
+
[Gx]: s.LEQUAL,
|
|
33447
33447
|
[q3]: s.EQUAL,
|
|
33448
|
-
[
|
|
33448
|
+
[Wx]: s.GEQUAL,
|
|
33449
33449
|
[Y3]: s.GREATER,
|
|
33450
33450
|
[j3]: s.NOTEQUAL
|
|
33451
33451
|
};
|
|
@@ -33540,7 +33540,7 @@ function k4(s, e, t, i, a, c, d) {
|
|
|
33540
33540
|
if (Et) {
|
|
33541
33541
|
if (ae)
|
|
33542
33542
|
if (B.layerUpdates.size > 0) {
|
|
33543
|
-
const et =
|
|
33543
|
+
const et = Qw(rt.width, rt.height, B.format, B.type);
|
|
33544
33544
|
for (const Ie of B.layerUpdates) {
|
|
33545
33545
|
const St = rt.data.subarray(
|
|
33546
33546
|
Ie * et / rt.data.BYTES_PER_ELEMENT,
|
|
@@ -33566,7 +33566,7 @@ function k4(s, e, t, i, a, c, d) {
|
|
|
33566
33566
|
if (Et) {
|
|
33567
33567
|
if (qt && t.texStorage3D(s.TEXTURE_2D_ARRAY, Ke, it, ke.width, ke.height, ke.depth), ae)
|
|
33568
33568
|
if (B.layerUpdates.size > 0) {
|
|
33569
|
-
const De =
|
|
33569
|
+
const De = Qw(ke.width, ke.height, B.format, B.type);
|
|
33570
33570
|
for (const nt of B.layerUpdates) {
|
|
33571
33571
|
const et = ke.data.subarray(
|
|
33572
33572
|
nt * De / ke.data.BYTES_PER_ELEMENT,
|
|
@@ -33902,14 +33902,14 @@ function uP(s, e) {
|
|
|
33902
33902
|
let c;
|
|
33903
33903
|
const d = Cn.getTransfer(a);
|
|
33904
33904
|
if (i === ws) return s.UNSIGNED_BYTE;
|
|
33905
|
-
if (i ===
|
|
33906
|
-
if (i ===
|
|
33905
|
+
if (i === Bx) return s.UNSIGNED_SHORT_4_4_4_4;
|
|
33906
|
+
if (i === Ux) return s.UNSIGNED_SHORT_5_5_5_1;
|
|
33907
33907
|
if (i === S1) return s.UNSIGNED_INT_5_9_9_9_REV;
|
|
33908
33908
|
if (i === M1) return s.UNSIGNED_INT_10F_11F_11F_REV;
|
|
33909
33909
|
if (i === b1) return s.BYTE;
|
|
33910
33910
|
if (i === x1) return s.SHORT;
|
|
33911
33911
|
if (i === Lm) return s.UNSIGNED_SHORT;
|
|
33912
|
-
if (i ===
|
|
33912
|
+
if (i === zx) return s.INT;
|
|
33913
33913
|
if (i === uo) return s.UNSIGNED_INT;
|
|
33914
33914
|
if (i === Es) return s.FLOAT;
|
|
33915
33915
|
if (i === Bl) return s.HALF_FLOAT;
|
|
@@ -33918,11 +33918,11 @@ function uP(s, e) {
|
|
|
33918
33918
|
if (i === ls) return s.RGBA;
|
|
33919
33919
|
if (i === Ul) return s.DEPTH_COMPONENT;
|
|
33920
33920
|
if (i === Yu) return s.DEPTH_STENCIL;
|
|
33921
|
-
if (i ===
|
|
33921
|
+
if (i === Fx) return s.RED;
|
|
33922
33922
|
if (i === Iv) return s.RED_INTEGER;
|
|
33923
33923
|
if (i === Ku) return s.RG;
|
|
33924
|
-
if (i ===
|
|
33925
|
-
if (i ===
|
|
33924
|
+
if (i === Ox) return s.RG_INTEGER;
|
|
33925
|
+
if (i === Vx) return s.RGBA_INTEGER;
|
|
33926
33926
|
if (i === av || i === ov || i === lv || i === cv)
|
|
33927
33927
|
if (d === ei)
|
|
33928
33928
|
if (c = e.get("WEBGL_compressed_texture_s3tc_srgb"), c !== null) {
|
|
@@ -35033,16 +35033,16 @@ class fP {
|
|
|
35033
35033
|
} else
|
|
35034
35034
|
w = d;
|
|
35035
35035
|
const k = S, C = /* @__PURE__ */ new Set([
|
|
35036
|
+
Vx,
|
|
35036
35037
|
Ox,
|
|
35037
|
-
Fx,
|
|
35038
35038
|
Iv
|
|
35039
35039
|
]), T = /* @__PURE__ */ new Set([
|
|
35040
35040
|
ws,
|
|
35041
35041
|
uo,
|
|
35042
35042
|
Lm,
|
|
35043
35043
|
Im,
|
|
35044
|
-
|
|
35045
|
-
|
|
35044
|
+
Bx,
|
|
35045
|
+
Ux
|
|
35046
35046
|
]), D = new Uint32Array(4), z = new Int32Array(4), L = new J();
|
|
35047
35047
|
let O = null, U = null;
|
|
35048
35048
|
const H = [], I = [];
|
|
@@ -35091,7 +35091,7 @@ class fP {
|
|
|
35091
35091
|
powerPreference: v,
|
|
35092
35092
|
failIfMajorPerformanceCaveat: M
|
|
35093
35093
|
};
|
|
35094
|
-
if ("setAttribute" in t && t.setAttribute("data-engine", `three.js r${
|
|
35094
|
+
if ("setAttribute" in t && t.setAttribute("data-engine", `three.js r${Lx}`), t.addEventListener("webglcontextlost", xn, !1), t.addEventListener("webglcontextrestored", Dn, !1), t.addEventListener("webglcontextcreationerror", Ki, !1), $ === null) {
|
|
35095
35095
|
const oe = "webgl2";
|
|
35096
35096
|
if ($ = kn(oe, G), $ === null)
|
|
35097
35097
|
throw kn(oe) ? new Error("THREE.WebGLRenderer: Error creating WebGL context with your selected attributes.") : new Error("THREE.WebGLRenderer: Error creating WebGL context.");
|
|
@@ -35689,16 +35689,16 @@ class fP {
|
|
|
35689
35689
|
}
|
|
35690
35690
|
const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
35691
35691
|
__proto__: null,
|
|
35692
|
-
ACESFilmicToneMapping:
|
|
35692
|
+
ACESFilmicToneMapping: Ix,
|
|
35693
35693
|
AddEquation: Xu,
|
|
35694
35694
|
AddOperation: B3,
|
|
35695
35695
|
AdditiveAnimationBlendMode: E1,
|
|
35696
|
-
AdditiveBlending:
|
|
35696
|
+
AdditiveBlending: Bw,
|
|
35697
35697
|
AgXToneMapping: A1,
|
|
35698
35698
|
AlphaFormat: w1,
|
|
35699
35699
|
AlwaysCompare: J3,
|
|
35700
35700
|
AlwaysDepth: Fb,
|
|
35701
|
-
AlwaysStencilFunc:
|
|
35701
|
+
AlwaysStencilFunc: Hw,
|
|
35702
35702
|
AmbientLight: WR,
|
|
35703
35703
|
AnimationAction: $R,
|
|
35704
35704
|
AnimationClip: Cv,
|
|
@@ -35709,7 +35709,7 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35709
35709
|
ArcCurve: dR,
|
|
35710
35710
|
ArrayCamera: QR,
|
|
35711
35711
|
ArrowHelper: Fz,
|
|
35712
|
-
AttachedBindMode:
|
|
35712
|
+
AttachedBindMode: Ow,
|
|
35713
35713
|
Audio: KR,
|
|
35714
35714
|
AudioAnalyser: iz,
|
|
35715
35715
|
AudioContext: _1,
|
|
@@ -35733,13 +35733,13 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35733
35733
|
BufferGeometryLoader: jR,
|
|
35734
35734
|
ByteType: b1,
|
|
35735
35735
|
Cache: Ll,
|
|
35736
|
-
Camera:
|
|
35736
|
+
Camera: hS,
|
|
35737
35737
|
CameraHelper: Nz,
|
|
35738
35738
|
CanvasTexture: tN,
|
|
35739
|
-
CapsuleGeometry:
|
|
35739
|
+
CapsuleGeometry: _x,
|
|
35740
35740
|
CatmullRomCurve3: fR,
|
|
35741
35741
|
CineonToneMapping: m1,
|
|
35742
|
-
CircleGeometry:
|
|
35742
|
+
CircleGeometry: $x,
|
|
35743
35743
|
ClampToEdgeWrapping: $s,
|
|
35744
35744
|
Clock: tP,
|
|
35745
35745
|
Color: ct,
|
|
@@ -35748,7 +35748,7 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35748
35748
|
Compatibility: GL,
|
|
35749
35749
|
CompressedArrayTexture: $I,
|
|
35750
35750
|
CompressedCubeTexture: eN,
|
|
35751
|
-
CompressedTexture:
|
|
35751
|
+
CompressedTexture: Kx,
|
|
35752
35752
|
CompressedTextureLoader: HN,
|
|
35753
35753
|
ConeGeometry: Bv,
|
|
35754
35754
|
ConstantAlphaFactor: I3,
|
|
@@ -35764,7 +35764,7 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35764
35764
|
CubicBezierCurve: U1,
|
|
35765
35765
|
CubicBezierCurve3: hR,
|
|
35766
35766
|
CubicInterpolant: IR,
|
|
35767
|
-
CullFaceBack:
|
|
35767
|
+
CullFaceBack: zw,
|
|
35768
35768
|
CullFaceFront: m3,
|
|
35769
35769
|
CullFaceFrontBack: eL,
|
|
35770
35770
|
CullFaceNone: p3,
|
|
@@ -35774,8 +35774,8 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35774
35774
|
CustomToneMapping: g1,
|
|
35775
35775
|
CylinderGeometry: zv,
|
|
35776
35776
|
Cylindrical: Sz,
|
|
35777
|
-
Data3DTexture:
|
|
35778
|
-
DataArrayTexture:
|
|
35777
|
+
Data3DTexture: qx,
|
|
35778
|
+
DataArrayTexture: Xx,
|
|
35779
35779
|
DataTexture: co,
|
|
35780
35780
|
DataTextureLoader: WN,
|
|
35781
35781
|
DataUtils: TI,
|
|
@@ -35789,7 +35789,7 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35789
35789
|
DirectionalLight: GR,
|
|
35790
35790
|
DirectionalLightHelper: Iz,
|
|
35791
35791
|
DiscreteInterpolant: NR,
|
|
35792
|
-
DodecahedronGeometry:
|
|
35792
|
+
DodecahedronGeometry: eS,
|
|
35793
35793
|
DoubleSide: kl,
|
|
35794
35794
|
DstAlphaFactor: E3,
|
|
35795
35795
|
DstColorFactor: R3,
|
|
@@ -35797,7 +35797,7 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35797
35797
|
DynamicDrawUsage: kL,
|
|
35798
35798
|
DynamicReadUsage: IL,
|
|
35799
35799
|
EdgesGeometry: uR,
|
|
35800
|
-
EllipseCurve:
|
|
35800
|
+
EllipseCurve: tS,
|
|
35801
35801
|
EqualCompare: q3,
|
|
35802
35802
|
EqualDepth: Vb,
|
|
35803
35803
|
EqualStencilFunc: TL,
|
|
@@ -35806,23 +35806,23 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35806
35806
|
Euler: Yo,
|
|
35807
35807
|
EventDispatcher: Jo,
|
|
35808
35808
|
ExternalTexture: z1,
|
|
35809
|
-
ExtrudeGeometry:
|
|
35809
|
+
ExtrudeGeometry: nS,
|
|
35810
35810
|
FileLoader: Uc,
|
|
35811
35811
|
Float16BufferAttribute: LI,
|
|
35812
35812
|
Float32BufferAttribute: Mt,
|
|
35813
35813
|
FloatType: Es,
|
|
35814
|
-
Fog:
|
|
35815
|
-
FogExp2:
|
|
35814
|
+
Fog: jx,
|
|
35815
|
+
FogExp2: Yx,
|
|
35816
35816
|
FramebufferTexture: _I,
|
|
35817
35817
|
FrontSide: Nc,
|
|
35818
35818
|
Frustum: jf,
|
|
35819
|
-
FrustumArray:
|
|
35819
|
+
FrustumArray: Zx,
|
|
35820
35820
|
GLBufferAttribute: bz,
|
|
35821
35821
|
GLSL1: FL,
|
|
35822
|
-
GLSL3:
|
|
35822
|
+
GLSL3: Gw,
|
|
35823
35823
|
GreaterCompare: Y3,
|
|
35824
35824
|
GreaterDepth: Gb,
|
|
35825
|
-
GreaterEqualCompare:
|
|
35825
|
+
GreaterEqualCompare: Wx,
|
|
35826
35826
|
GreaterEqualDepth: Hb,
|
|
35827
35827
|
GreaterEqualStencilFunc: PL,
|
|
35828
35828
|
GreaterStencilFunc: CL,
|
|
@@ -35832,7 +35832,7 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35832
35832
|
HalfFloatType: Bl,
|
|
35833
35833
|
HemisphereLight: OR,
|
|
35834
35834
|
HemisphereLightHelper: kz,
|
|
35835
|
-
IcosahedronGeometry:
|
|
35835
|
+
IcosahedronGeometry: iS,
|
|
35836
35836
|
ImageBitmapLoader: QN,
|
|
35837
35837
|
ImageLoader: Rv,
|
|
35838
35838
|
ImageUtils: _3,
|
|
@@ -35845,11 +35845,11 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35845
35845
|
Int16BufferAttribute: kI,
|
|
35846
35846
|
Int32BufferAttribute: DI,
|
|
35847
35847
|
Int8BufferAttribute: CI,
|
|
35848
|
-
IntType:
|
|
35849
|
-
InterleavedBuffer:
|
|
35848
|
+
IntType: zx,
|
|
35849
|
+
InterleavedBuffer: Jx,
|
|
35850
35850
|
InterleavedBufferAttribute: Yf,
|
|
35851
35851
|
Interpolant: qm,
|
|
35852
|
-
InterpolateBezier:
|
|
35852
|
+
InterpolateBezier: Vw,
|
|
35853
35853
|
InterpolateDiscrete: Av,
|
|
35854
35854
|
InterpolateLinear: bx,
|
|
35855
35855
|
InterpolateSmooth: kb,
|
|
@@ -35859,11 +35859,11 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35859
35859
|
KeepStencilOp: Bf,
|
|
35860
35860
|
KeyframeTrack: ho,
|
|
35861
35861
|
LOD: nR,
|
|
35862
|
-
LatheGeometry:
|
|
35862
|
+
LatheGeometry: rS,
|
|
35863
35863
|
Layers: Bm,
|
|
35864
35864
|
LessCompare: X3,
|
|
35865
35865
|
LessDepth: Ob,
|
|
35866
|
-
LessEqualCompare:
|
|
35866
|
+
LessEqualCompare: Gx,
|
|
35867
35867
|
LessEqualDepth: Xf,
|
|
35868
35868
|
LessEqualStencilFunc: EL,
|
|
35869
35869
|
LessStencilFunc: wL,
|
|
@@ -35887,7 +35887,7 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35887
35887
|
LinearToneMapping: h1,
|
|
35888
35888
|
LinearTransfer: yv,
|
|
35889
35889
|
Loader: ta,
|
|
35890
|
-
LoaderUtils:
|
|
35890
|
+
LoaderUtils: jw,
|
|
35891
35891
|
LoadingManager: Q1,
|
|
35892
35892
|
LoopOnce: F3,
|
|
35893
35893
|
LoopPingPong: V3,
|
|
@@ -35895,7 +35895,7 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35895
35895
|
MOUSE: _D,
|
|
35896
35896
|
Material: Wr,
|
|
35897
35897
|
MaterialBlending: tL,
|
|
35898
|
-
MaterialLoader:
|
|
35898
|
+
MaterialLoader: pS,
|
|
35899
35899
|
MathUtils: dI,
|
|
35900
35900
|
Matrix2: tT,
|
|
35901
35901
|
Matrix3: $t,
|
|
@@ -35915,7 +35915,7 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35915
35915
|
MinEquation: b3,
|
|
35916
35916
|
MirroredRepeatWrapping: pv,
|
|
35917
35917
|
MixOperation: z3,
|
|
35918
|
-
MultiplyBlending:
|
|
35918
|
+
MultiplyBlending: Fw,
|
|
35919
35919
|
MultiplyOperation: Lv,
|
|
35920
35920
|
NearestFilter: Zi,
|
|
35921
35921
|
NearestMipMapLinearFilter: iL,
|
|
@@ -35930,14 +35930,14 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35930
35930
|
NoColorSpace: Dc,
|
|
35931
35931
|
NoNormalPacking: hL,
|
|
35932
35932
|
NoToneMapping: lo,
|
|
35933
|
-
NormalAnimationBlendMode:
|
|
35933
|
+
NormalAnimationBlendMode: Hx,
|
|
35934
35934
|
NormalBlending: Gf,
|
|
35935
35935
|
NormalGAPacking: mL,
|
|
35936
35936
|
NormalRGPacking: pL,
|
|
35937
35937
|
NotEqualCompare: j3,
|
|
35938
35938
|
NotEqualDepth: Wb,
|
|
35939
35939
|
NotEqualStencilFunc: RL,
|
|
35940
|
-
NumberKeyframeTrack:
|
|
35940
|
+
NumberKeyframeTrack: dS,
|
|
35941
35941
|
Object3D: Xn,
|
|
35942
35942
|
ObjectLoader: jN,
|
|
35943
35943
|
ObjectSpaceNormalMap: G3,
|
|
@@ -35952,7 +35952,7 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35952
35952
|
OrthographicCamera: Ym,
|
|
35953
35953
|
PCFShadowMap: Rm,
|
|
35954
35954
|
PCFSoftShadowMap: nv,
|
|
35955
|
-
PMREMGenerator:
|
|
35955
|
+
PMREMGenerator: Zw,
|
|
35956
35956
|
Path: Mv,
|
|
35957
35957
|
PerspectiveCamera: Lr,
|
|
35958
35958
|
Plane: Gu,
|
|
@@ -35970,16 +35970,16 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
35970
35970
|
QuadraticBezierCurve: O1,
|
|
35971
35971
|
QuadraticBezierCurve3: V1,
|
|
35972
35972
|
Quaternion: Rs,
|
|
35973
|
-
QuaternionKeyframeTrack:
|
|
35973
|
+
QuaternionKeyframeTrack: fS,
|
|
35974
35974
|
QuaternionLinearInterpolant: BR,
|
|
35975
35975
|
R11_EAC_Format: Kb,
|
|
35976
35976
|
RED_GREEN_RGTC2_Format: gv,
|
|
35977
35977
|
RED_RGTC1_Format: Ax,
|
|
35978
|
-
REVISION:
|
|
35978
|
+
REVISION: Lx,
|
|
35979
35979
|
RG11_EAC_Format: mv,
|
|
35980
35980
|
RGBADepthPacking: uL,
|
|
35981
35981
|
RGBAFormat: ls,
|
|
35982
|
-
RGBAIntegerFormat:
|
|
35982
|
+
RGBAIntegerFormat: Vx,
|
|
35983
35983
|
RGBA_ASTC_10x10_Format: dx,
|
|
35984
35984
|
RGBA_ASTC_10x5_Format: lx,
|
|
35985
35985
|
RGBA_ASTC_10x6_Format: cx,
|
|
@@ -36013,12 +36013,12 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
36013
36013
|
RGB_S3TC_DXT1_Format: av,
|
|
36014
36014
|
RGDepthPacking: fL,
|
|
36015
36015
|
RGFormat: Ku,
|
|
36016
|
-
RGIntegerFormat:
|
|
36016
|
+
RGIntegerFormat: Ox,
|
|
36017
36017
|
RawShaderMaterial: G1,
|
|
36018
36018
|
Ray: Wm,
|
|
36019
36019
|
Raycaster: eP,
|
|
36020
36020
|
RectAreaLight: XR,
|
|
36021
|
-
RedFormat:
|
|
36021
|
+
RedFormat: Fx,
|
|
36022
36022
|
RedIntegerFormat: Iv,
|
|
36023
36023
|
ReinhardToneMapping: p1,
|
|
36024
36024
|
RenderTarget: R1,
|
|
@@ -36026,7 +36026,7 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
36026
36026
|
RepeatWrapping: zc,
|
|
36027
36027
|
ReplaceStencilOp: AL,
|
|
36028
36028
|
ReverseSubtractEquation: y3,
|
|
36029
|
-
RingGeometry:
|
|
36029
|
+
RingGeometry: sS,
|
|
36030
36030
|
SIGNED_R11_EAC_Format: _b,
|
|
36031
36031
|
SIGNED_RED_GREEN_RGTC2_Format: yx,
|
|
36032
36032
|
SIGNED_RED_RGTC1_Format: vx,
|
|
@@ -36039,11 +36039,11 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
36039
36039
|
ShaderMaterial: La,
|
|
36040
36040
|
ShadowMaterial: xR,
|
|
36041
36041
|
Shape: Uv,
|
|
36042
|
-
ShapeGeometry:
|
|
36042
|
+
ShapeGeometry: aS,
|
|
36043
36043
|
ShapePath: Vz,
|
|
36044
36044
|
ShapeUtils: qo,
|
|
36045
36045
|
ShortType: x1,
|
|
36046
|
-
Skeleton:
|
|
36046
|
+
Skeleton: Qx,
|
|
36047
36047
|
SkeletonHelper: Cz,
|
|
36048
36048
|
SkinnedMesh: iR,
|
|
36049
36049
|
Source: ju,
|
|
@@ -36068,23 +36068,23 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
36068
36068
|
StreamReadUsage: NL,
|
|
36069
36069
|
StringKeyframeTrack: $f,
|
|
36070
36070
|
SubtractEquation: v3,
|
|
36071
|
-
SubtractiveBlending:
|
|
36071
|
+
SubtractiveBlending: Uw,
|
|
36072
36072
|
TOUCH: $D,
|
|
36073
36073
|
TangentSpaceNormalMap: Bc,
|
|
36074
|
-
TetrahedronGeometry:
|
|
36074
|
+
TetrahedronGeometry: oS,
|
|
36075
36075
|
Texture: Ii,
|
|
36076
36076
|
TextureLoader: FR,
|
|
36077
36077
|
TextureUtils: Yz,
|
|
36078
36078
|
Timer: ZR,
|
|
36079
36079
|
TimestampQuery: OL,
|
|
36080
|
-
TorusGeometry:
|
|
36081
|
-
TorusKnotGeometry:
|
|
36080
|
+
TorusGeometry: lS,
|
|
36081
|
+
TorusKnotGeometry: cS,
|
|
36082
36082
|
Triangle: _s,
|
|
36083
36083
|
TriangleFanDrawMode: cL,
|
|
36084
36084
|
TriangleStripDrawMode: lL,
|
|
36085
36085
|
TrianglesDrawMode: oL,
|
|
36086
|
-
TubeGeometry:
|
|
36087
|
-
UVMapping:
|
|
36086
|
+
TubeGeometry: uS,
|
|
36087
|
+
UVMapping: Nx,
|
|
36088
36088
|
Uint16BufferAttribute: k1,
|
|
36089
36089
|
Uint32BufferAttribute: D1,
|
|
36090
36090
|
Uint8BufferAttribute: RI,
|
|
@@ -36098,8 +36098,8 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
36098
36098
|
UnsignedInt248Type: Im,
|
|
36099
36099
|
UnsignedInt5999Type: S1,
|
|
36100
36100
|
UnsignedIntType: uo,
|
|
36101
|
-
UnsignedShort4444Type:
|
|
36102
|
-
UnsignedShort5551Type:
|
|
36101
|
+
UnsignedShort4444Type: Bx,
|
|
36102
|
+
UnsignedShort5551Type: Ux,
|
|
36103
36103
|
UnsignedShortType: Lm,
|
|
36104
36104
|
VSMShadowMap: Ff,
|
|
36105
36105
|
Vector2: Fe,
|
|
@@ -36131,7 +36131,7 @@ const V4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
36131
36131
|
warn: at,
|
|
36132
36132
|
warnOnce: Qu
|
|
36133
36133
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
36134
|
-
var Tb = { exports: {} },
|
|
36134
|
+
var Tb = { exports: {} }, yw = {}, Eb = { exports: {} }, bw = {};
|
|
36135
36135
|
/**
|
|
36136
36136
|
* @license React
|
|
36137
36137
|
* use-sync-external-store-shim.production.js
|
|
@@ -36143,7 +36143,7 @@ var Tb = { exports: {} }, vw = {}, Eb = { exports: {} }, yw = {};
|
|
|
36143
36143
|
*/
|
|
36144
36144
|
var z2;
|
|
36145
36145
|
function H4() {
|
|
36146
|
-
if (z2) return
|
|
36146
|
+
if (z2) return bw;
|
|
36147
36147
|
z2 = 1;
|
|
36148
36148
|
var s = Il;
|
|
36149
36149
|
function e(M, x) {
|
|
@@ -36180,9 +36180,9 @@ function H4() {
|
|
|
36180
36180
|
return x();
|
|
36181
36181
|
}
|
|
36182
36182
|
var v = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? g : f;
|
|
36183
|
-
return
|
|
36183
|
+
return bw.useSyncExternalStore = s.useSyncExternalStore !== void 0 ? s.useSyncExternalStore : v, bw;
|
|
36184
36184
|
}
|
|
36185
|
-
var
|
|
36185
|
+
var xw = {};
|
|
36186
36186
|
/**
|
|
36187
36187
|
* @license React
|
|
36188
36188
|
* use-sync-external-store-shim.development.js
|
|
@@ -36242,8 +36242,8 @@ function G4() {
|
|
|
36242
36242
|
}
|
|
36243
36243
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
36244
36244
|
var a = Il, c = typeof Object.is == "function" ? Object.is : s, d = a.useState, f = a.useEffect, m = a.useLayoutEffect, g = a.useDebugValue, v = !1, M = !1, x = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? i : e;
|
|
36245
|
-
|
|
36246
|
-
})()),
|
|
36245
|
+
xw.useSyncExternalStore = a.useSyncExternalStore !== void 0 ? a.useSyncExternalStore : x, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
36246
|
+
})()), xw;
|
|
36247
36247
|
}
|
|
36248
36248
|
var U2;
|
|
36249
36249
|
function hP() {
|
|
@@ -36260,14 +36260,14 @@ function hP() {
|
|
|
36260
36260
|
*/
|
|
36261
36261
|
var F2;
|
|
36262
36262
|
function W4() {
|
|
36263
|
-
if (F2) return
|
|
36263
|
+
if (F2) return yw;
|
|
36264
36264
|
F2 = 1;
|
|
36265
36265
|
var s = Il, e = hP();
|
|
36266
36266
|
function t(g, v) {
|
|
36267
36267
|
return g === v && (g !== 0 || 1 / g === 1 / v) || g !== g && v !== v;
|
|
36268
36268
|
}
|
|
36269
36269
|
var i = typeof Object.is == "function" ? Object.is : t, a = e.useSyncExternalStore, c = s.useRef, d = s.useEffect, f = s.useMemo, m = s.useDebugValue;
|
|
36270
|
-
return
|
|
36270
|
+
return yw.useSyncExternalStoreWithSelector = function(g, v, M, x, S) {
|
|
36271
36271
|
var w = c(null);
|
|
36272
36272
|
if (w.current === null) {
|
|
36273
36273
|
var k = { hasValue: !1, value: null };
|
|
@@ -36307,9 +36307,9 @@ function W4() {
|
|
|
36307
36307
|
},
|
|
36308
36308
|
[C]
|
|
36309
36309
|
), m(C), C;
|
|
36310
|
-
},
|
|
36310
|
+
}, yw;
|
|
36311
36311
|
}
|
|
36312
|
-
var
|
|
36312
|
+
var Sw = {};
|
|
36313
36313
|
/**
|
|
36314
36314
|
* @license React
|
|
36315
36315
|
* use-sync-external-store-shim/with-selector.development.js
|
|
@@ -36327,7 +36327,7 @@ function X4() {
|
|
|
36327
36327
|
}
|
|
36328
36328
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
36329
36329
|
var e = Il, t = hP(), i = typeof Object.is == "function" ? Object.is : s, a = t.useSyncExternalStore, c = e.useRef, d = e.useEffect, f = e.useMemo, m = e.useDebugValue;
|
|
36330
|
-
|
|
36330
|
+
Sw.useSyncExternalStoreWithSelector = function(g, v, M, x, S) {
|
|
36331
36331
|
var w = c(null);
|
|
36332
36332
|
if (w.current === null) {
|
|
36333
36333
|
var k = { hasValue: !1, value: null };
|
|
@@ -36369,7 +36369,7 @@ function X4() {
|
|
|
36369
36369
|
[C]
|
|
36370
36370
|
), m(C), C;
|
|
36371
36371
|
}, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
36372
|
-
})()),
|
|
36372
|
+
})()), Sw;
|
|
36373
36373
|
}
|
|
36374
36374
|
var V2;
|
|
36375
36375
|
function q4() {
|
|
@@ -36401,7 +36401,7 @@ const G2 = (s, e) => {
|
|
|
36401
36401
|
const t = J4(s), i = (a, c = e) => K4(t, a, c);
|
|
36402
36402
|
return Object.assign(i, t), i;
|
|
36403
36403
|
}, _4 = ((s, e) => s ? G2(s, e) : G2);
|
|
36404
|
-
var Cb = { exports: {} },
|
|
36404
|
+
var Cb = { exports: {} }, Mw = {};
|
|
36405
36405
|
/**
|
|
36406
36406
|
* @license React
|
|
36407
36407
|
* scheduler.production.js
|
|
@@ -36629,9 +36629,9 @@ function $4() {
|
|
|
36629
36629
|
}
|
|
36630
36630
|
};
|
|
36631
36631
|
};
|
|
36632
|
-
})(
|
|
36632
|
+
})(Mw)), Mw;
|
|
36633
36633
|
}
|
|
36634
|
-
var
|
|
36634
|
+
var ww = {};
|
|
36635
36635
|
/**
|
|
36636
36636
|
* @license React
|
|
36637
36637
|
* scheduler.development.js
|
|
@@ -36862,14 +36862,14 @@ function eV() {
|
|
|
36862
36862
|
};
|
|
36863
36863
|
}, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
36864
36864
|
})();
|
|
36865
|
-
})(
|
|
36865
|
+
})(ww)), ww;
|
|
36866
36866
|
}
|
|
36867
36867
|
var q2;
|
|
36868
36868
|
function tV() {
|
|
36869
36869
|
return q2 || (q2 = 1, process.env.NODE_ENV === "production" ? Cb.exports = $4() : Cb.exports = eV()), Cb.exports;
|
|
36870
36870
|
}
|
|
36871
|
-
var
|
|
36872
|
-
const pP = /* @__PURE__ */ d3(
|
|
36871
|
+
var $w = tV();
|
|
36872
|
+
const pP = /* @__PURE__ */ d3($w);
|
|
36873
36873
|
function iT(s, e, t) {
|
|
36874
36874
|
if (!s) return;
|
|
36875
36875
|
if (t(s) === !0) return s;
|
|
@@ -37131,7 +37131,7 @@ function Ex(s, e) {
|
|
|
37131
37131
|
e.previousAttach == null || e.previousAttach(s.object, e.object);
|
|
37132
37132
|
delete e.previousAttach;
|
|
37133
37133
|
}
|
|
37134
|
-
const
|
|
37134
|
+
const e1 = [
|
|
37135
37135
|
...xP,
|
|
37136
37136
|
// Instance props
|
|
37137
37137
|
"args",
|
|
@@ -37153,13 +37153,13 @@ function hV(s) {
|
|
|
37153
37153
|
function pV(s, e) {
|
|
37154
37154
|
const t = {};
|
|
37155
37155
|
for (const i in e)
|
|
37156
|
-
if (
|
|
37156
|
+
if (!e1.includes(i) && !gi.equ(e[i], s.props[i])) {
|
|
37157
37157
|
t[i] = e[i];
|
|
37158
37158
|
for (const a in e)
|
|
37159
37159
|
a.startsWith(`${i}-`) && (t[a] = e[a]);
|
|
37160
37160
|
}
|
|
37161
37161
|
for (const i in s.props) {
|
|
37162
|
-
if (
|
|
37162
|
+
if (e1.includes(i) || e.hasOwnProperty(i)) continue;
|
|
37163
37163
|
const {
|
|
37164
37164
|
root: a,
|
|
37165
37165
|
key: c
|
|
@@ -37178,7 +37178,7 @@ function qu(s, e) {
|
|
|
37178
37178
|
const i = s.__r3f, a = i && sT(i).getState(), c = i?.eventCount;
|
|
37179
37179
|
for (const f in e) {
|
|
37180
37180
|
let m = e[f];
|
|
37181
|
-
if (
|
|
37181
|
+
if (e1.includes(f)) continue;
|
|
37182
37182
|
if (i && gV.test(f)) {
|
|
37183
37183
|
typeof m == "function" ? i.handlers[f] = m : delete i.handlers[f], i.eventCount = Object.keys(i.handlers).length;
|
|
37184
37184
|
continue;
|
|
@@ -37679,7 +37679,7 @@ var RV = {
|
|
|
37679
37679
|
function PV(s) {
|
|
37680
37680
|
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
|
|
37681
37681
|
}
|
|
37682
|
-
var
|
|
37682
|
+
var Tw = {
|
|
37683
37683
|
exports: {}
|
|
37684
37684
|
}, Q2 = {
|
|
37685
37685
|
exports: {}
|
|
@@ -38223,7 +38223,7 @@ Error generating stack: ` + A.message + `
|
|
|
38223
38223
|
Os[Vs++] = Or, Os[Vs++] = Ya, Os[Vs++] = Ro, Or = l.id, Ya = l.overflow, Ro = o;
|
|
38224
38224
|
}
|
|
38225
38225
|
function lt(o, l) {
|
|
38226
|
-
w(hl, l), w(Zd, o), w(Ar, null), o =
|
|
38226
|
+
w(hl, l), w(Zd, o), w(Ar, null), o = xS(l), S(Ar), w(Ar, o);
|
|
38227
38227
|
}
|
|
38228
38228
|
function Re() {
|
|
38229
38229
|
S(Ar), S(Zd), S(hl);
|
|
@@ -38394,7 +38394,7 @@ Error generating stack: ` + A.message + `
|
|
|
38394
38394
|
};
|
|
38395
38395
|
}
|
|
38396
38396
|
function B(o) {
|
|
38397
|
-
o.refCount--, o.refCount === 0 && Cr(
|
|
38397
|
+
o.refCount--, o.refCount === 0 && Cr(NS, function() {
|
|
38398
38398
|
o.controller.abort();
|
|
38399
38399
|
});
|
|
38400
38400
|
}
|
|
@@ -39959,7 +39959,7 @@ Error generating stack: ` + A.message + `
|
|
|
39959
39959
|
var A = l.pendingProps, E = !1, R = (l.flags & 128) !== 0, W;
|
|
39960
39960
|
if ((W = R) || (W = o !== null && o.memoizedState === null ? !1 : (Ri.current & 2) !== 0), W && (E = !0, l.flags &= -129), W = (l.flags & 32) !== 0, l.flags &= -33, o === null) {
|
|
39961
39961
|
if (vn) {
|
|
39962
|
-
if (E ? ra(l) : ge(), (o = ci) ? (o =
|
|
39962
|
+
if (E ? ra(l) : ge(), (o = ci) ? (o = RS(o, Hs), o !== null && (l.memoizedState = {
|
|
39963
39963
|
dehydrated: o,
|
|
39964
39964
|
treeContext: Ro !== null ? {
|
|
39965
39965
|
id: Or,
|
|
@@ -40193,9 +40193,9 @@ Error generating stack: ` + A.message + `
|
|
|
40193
40193
|
case 26:
|
|
40194
40194
|
if (Fs) return vd(o, l), o === null ? (h = nu(l.type, null, l.pendingProps, null)) ? l.memoizedState = h : vn || (l.stateNode = H0(l.type, l.pendingProps, hl.current, l)) : l.memoizedState = nu(l.type, o.memoizedProps, l.pendingProps, o.memoizedState), null;
|
|
40195
40195
|
case 27:
|
|
40196
|
-
if (Bi) return qe(l), o === null && Bi && vn && (A = l.stateNode = np(l.type, l.pendingProps, hl.current, Ar.current, !1), qi = l, Hs = !0, ci =
|
|
40196
|
+
if (Bi) return qe(l), o === null && Bi && vn && (A = l.stateNode = np(l.type, l.pendingProps, hl.current, Ar.current, !1), qi = l, Hs = !0, ci = ES(l.type, A, ci)), er(o, l, l.pendingProps.children, h), vd(o, l), o === null && (l.flags |= 4194304), l.child;
|
|
40197
40197
|
case 5:
|
|
40198
|
-
return o === null && vn && (
|
|
40198
|
+
return o === null && vn && (DS(l.type, l.pendingProps, Ar.current), (E = A = ci) && (A = CS(A, l.type, l.pendingProps, Hs), A !== null ? (l.stateNode = A, qi = l, ci = Zh(A), Hs = !1, E = !0) : E = !1), E || ht(l)), qe(l), E = l.type, R = l.pendingProps, W = o !== null ? o.memoizedProps : null, A = R.children, Vd(E, R) ? A = null : W !== null && Vd(E, W) && (l.flags |= 32), l.memoizedState !== null && (E = st(o, l, Yt, null, null, h), Us ? dl._currentValue = E : dl._currentValue2 = E), vd(o, l), er(o, l, A, h), l.child;
|
|
40199
40199
|
case 6:
|
|
40200
40200
|
return o === null && vn && (jg(l.pendingProps, Ar.current), (o = h = ci) && (h = R0(h, l.pendingProps, Hs), h !== null ? (l.stateNode = h, qi = l, ci = null, o = !0) : o = !1), o || ht(l)), null;
|
|
40201
40201
|
case 13:
|
|
@@ -40327,14 +40327,14 @@ Error generating stack: ` + A.message + `
|
|
|
40327
40327
|
}
|
|
40328
40328
|
}
|
|
40329
40329
|
function hr(o, l, h, A, E) {
|
|
40330
|
-
if ((o.mode & 32) !== 0 && (h === null ? l0(l, A) :
|
|
40330
|
+
if ((o.mode & 32) !== 0 && (h === null ? l0(l, A) : wS(l, h, A))) {
|
|
40331
40331
|
if (o.flags |= 16777216, (E & 335544128) === E || _c(l, A)) if (mr(o.stateNode, l, A)) o.flags |= 8192;
|
|
40332
40332
|
else if (Kv()) o.flags |= 8192;
|
|
40333
40333
|
else throw Gs = fp, up;
|
|
40334
40334
|
} else o.flags &= -16777217;
|
|
40335
40335
|
}
|
|
40336
40336
|
function Hn(o, l) {
|
|
40337
|
-
if (
|
|
40337
|
+
if (LS(l)) {
|
|
40338
40338
|
if (o.flags |= 16777216, !tp(l)) if (Kv()) o.flags |= 8192;
|
|
40339
40339
|
else throw Gs = fp, up;
|
|
40340
40340
|
} else o.flags &= -16777217;
|
|
@@ -40454,7 +40454,7 @@ Error generating stack: ` + A.message + `
|
|
|
40454
40454
|
}
|
|
40455
40455
|
return he(l), (l.flags & 128) !== 0 ? (l.lanes = h, l) : (h = A !== null, o = o !== null && o.memoizedState !== null, h && (A = l.child, E = null, A.alternate !== null && A.alternate.memoizedState !== null && A.alternate.memoizedState.cachePool !== null && (E = A.alternate.memoizedState.cachePool.pool), R = null, A.memoizedState !== null && A.memoizedState.cachePool !== null && (R = A.memoizedState.cachePool.pool), R !== E && (A.flags |= 2048)), h !== o && h && (l.child.flags |= 8192), Gl(l, l.updateQueue), On(l), null);
|
|
40456
40456
|
case 4:
|
|
40457
|
-
return Re(), vh(o, l), o === null &&
|
|
40457
|
+
return Re(), vh(o, l), o === null && MS(l.stateNode.containerInfo), On(l), null;
|
|
40458
40458
|
case 10:
|
|
40459
40459
|
return We(l.type), On(l), null;
|
|
40460
40460
|
case 19:
|
|
@@ -40722,7 +40722,7 @@ Error generating stack: ` + A.message + `
|
|
|
40722
40722
|
}
|
|
40723
40723
|
}
|
|
40724
40724
|
function Xv(o, l) {
|
|
40725
|
-
for (
|
|
40725
|
+
for (SS(o.containerInfo), tr = l; tr !== null; ) if (o = tr, l = o.child, (o.subtreeFlags & 1028) !== 0 && l !== null) l.return = o, tr = l;
|
|
40726
40726
|
else for (; tr !== null; ) {
|
|
40727
40727
|
o = tr;
|
|
40728
40728
|
var h = o.alternate;
|
|
@@ -41042,7 +41042,7 @@ Error generating stack: ` + A.message + `
|
|
|
41042
41042
|
case 3:
|
|
41043
41043
|
if (Fs ? (G0(), E = xa, xa = $h(l.containerInfo), wi(l, o), xa = E) : wi(l, o), Mr(o), A & 4) {
|
|
41044
41044
|
if (Tr && pr && h !== null && h.memoizedState.isDehydrated) try {
|
|
41045
|
-
|
|
41045
|
+
PS(l.containerInfo);
|
|
41046
41046
|
} catch (je) {
|
|
41047
41047
|
zn(o, o.return, je);
|
|
41048
41048
|
}
|
|
@@ -41078,7 +41078,7 @@ Error generating stack: ` + A.message + `
|
|
|
41078
41078
|
if (h === null) {
|
|
41079
41079
|
W = h = l;
|
|
41080
41080
|
try {
|
|
41081
|
-
R = W.stateNode, E ? y0(R) :
|
|
41081
|
+
R = W.stateNode, E ? y0(R) : TS(W.stateNode, W.memoizedProps);
|
|
41082
41082
|
} catch (je) {
|
|
41083
41083
|
zn(W, W.return, je);
|
|
41084
41084
|
}
|
|
@@ -41098,7 +41098,7 @@ Error generating stack: ` + A.message + `
|
|
|
41098
41098
|
W = l;
|
|
41099
41099
|
try {
|
|
41100
41100
|
var _e = W.stateNode;
|
|
41101
|
-
E ?
|
|
41101
|
+
E ? kS(_e) : U0(W.stateNode);
|
|
41102
41102
|
} catch (je) {
|
|
41103
41103
|
zn(W, W.return, je);
|
|
41104
41104
|
}
|
|
@@ -41725,7 +41725,7 @@ Error generating stack: ` + A.message + `
|
|
|
41725
41725
|
}
|
|
41726
41726
|
function Jc() {
|
|
41727
41727
|
var o = Lt.A;
|
|
41728
|
-
return Lt.A =
|
|
41728
|
+
return Lt.A = BS, o;
|
|
41729
41729
|
}
|
|
41730
41730
|
function Qc() {
|
|
41731
41731
|
bi = 4, Al || (Sn & 4194048) !== Sn && ps.current !== null || (ac = !0), (vl & 134217727) === 0 && (oc & 134217727) === 0 || ti === null || bo(ti, Sn, gs, !1);
|
|
@@ -41843,7 +41843,7 @@ Error generating stack: ` + A.message + `
|
|
|
41843
41843
|
return ui = Vr = null, Lt.H = A, Lt.A = E, yn = h, bn !== null ? 0 : (ti = null, Sn = 0, _i(), bi);
|
|
41844
41844
|
}
|
|
41845
41845
|
function xg() {
|
|
41846
|
-
for (; bn !== null && !
|
|
41846
|
+
for (; bn !== null && !IS(); ) Dh(bn);
|
|
41847
41847
|
}
|
|
41848
41848
|
function Dh(o) {
|
|
41849
41849
|
var l = mh(o.alternate, o, Do);
|
|
@@ -41925,7 +41925,7 @@ Error generating stack: ` + A.message + `
|
|
|
41925
41925
|
if ((yn & 6) !== 0) throw Error(a(327));
|
|
41926
41926
|
if (l !== null) {
|
|
41927
41927
|
if (l === o.current) throw Error(a(177));
|
|
41928
|
-
if (R = l.lanes | l.childLanes, R |= tA, H(o, h, R, W, ee, Ce), o === ti && (bn = ti = null, Sn = 0), bl = l, Lo = o, Ka = h, Cp = R, Rp = E, Z0 = A, (l.subtreeFlags & 10256) !== 0 || (l.flags & 10256) !== 0 ? (o.callbackNode = null, o.callbackPriority = 0,
|
|
41928
|
+
if (R = l.lanes | l.childLanes, R |= tA, H(o, h, R, W, ee, Ce), o === ti && (bn = ti = null, Sn = 0), bl = l, Lo = o, Ka = h, Cp = R, Rp = E, Z0 = A, (l.subtreeFlags & 10256) !== 0 || (l.flags & 10256) !== 0 ? (o.callbackNode = null, o.callbackPriority = 0, yS(Co, function() {
|
|
41929
41929
|
return wg(), null;
|
|
41930
41930
|
})) : (o.callbackNode = null, o.callbackPriority = 0), A = (l.flags & 13878) !== 0, (l.subtreeFlags & 13878) !== 0 || A) {
|
|
41931
41931
|
A = Lt.T, Lt.T = null, E = Wa(), Xi(2), W = yn, yn |= 4;
|
|
@@ -42051,7 +42051,7 @@ Error generating stack: ` + A.message + `
|
|
|
42051
42051
|
function zh(o, l, h) {
|
|
42052
42052
|
var A = o.pingCache;
|
|
42053
42053
|
if (A === null) {
|
|
42054
|
-
A = o.pingCache = new
|
|
42054
|
+
A = o.pingCache = new US();
|
|
42055
42055
|
var E = /* @__PURE__ */ new Set();
|
|
42056
42056
|
A.set(l, E);
|
|
42057
42057
|
} else E = A.get(l), E === void 0 && (E = /* @__PURE__ */ new Set(), A.set(l, E));
|
|
@@ -42087,7 +42087,7 @@ Error generating stack: ` + A.message + `
|
|
|
42087
42087
|
}
|
|
42088
42088
|
A !== null && A.delete(l), Eg(o, h);
|
|
42089
42089
|
}
|
|
42090
|
-
function
|
|
42090
|
+
function yS(o, l) {
|
|
42091
42091
|
return sp(o, l);
|
|
42092
42092
|
}
|
|
42093
42093
|
function Uh(o, l, h, A) {
|
|
@@ -42200,7 +42200,7 @@ Error generating stack: ` + A.message + `
|
|
|
42200
42200
|
function pa(o, l) {
|
|
42201
42201
|
kg(o, l), (o = o.alternate) && kg(o, l);
|
|
42202
42202
|
}
|
|
42203
|
-
var hn = {},
|
|
42203
|
+
var hn = {}, bS = Il, Ur = pP, fs = Object.assign, Gh = Symbol.for("react.element"), Bd = Symbol.for("react.transitional.element"), ll = Symbol.for("react.portal"), Yl = Symbol.for("react.fragment"), Dg = Symbol.for("react.strict_mode"), Ud = Symbol.for("react.profiler"), Wh = Symbol.for("react.consumer"), So = Symbol.for("react.context"), Kc = Symbol.for("react.forward_ref"), jl = Symbol.for("react.suspense"), jn = Symbol.for("react.suspense_list"), Lg = Symbol.for("react.memo"), cl = Symbol.for("react.lazy"), Xh = Symbol.for("react.activity"), Ha = Symbol.for("react.memo_cache_sentinel"), Ig = Symbol.iterator, Ng = Symbol.for("react.client.reference"), ul = Array.isArray, Lt = bS.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, n0 = e.rendererVersion, zg = e.rendererPackageName, Bg = e.extraDevToolsConfig, Fd = e.getPublicInstance, xS = e.getRootHostContext, i0 = e.getChildHostContext, SS = e.prepareForCommit, Od = e.resetAfterCommit, Ga = e.createInstance;
|
|
42204
42204
|
e.cloneMutableInstance;
|
|
42205
42205
|
var qh = e.appendInitialChild, r0 = e.finalizeInitialChildren, Vd = e.shouldSetTextContent, Yh = e.createTextInstance;
|
|
42206
42206
|
e.cloneMutableTextInstance;
|
|
@@ -42208,29 +42208,29 @@ Error generating stack: ` + A.message + `
|
|
|
42208
42208
|
e.warnsIfNotActing;
|
|
42209
42209
|
var Tr = e.supportsMutation, ma = e.supportsPersistence, pr = e.supportsHydration, a0 = e.getInstanceFromNode;
|
|
42210
42210
|
e.beforeActiveInstanceBlur;
|
|
42211
|
-
var
|
|
42211
|
+
var MS = e.preparePortalMount;
|
|
42212
42212
|
e.prepareScopeUpdate, e.getInstanceFromScope;
|
|
42213
42213
|
var Xi = e.setCurrentUpdatePriority, Wa = e.getCurrentUpdatePriority, ga = e.resolveUpdatePriority;
|
|
42214
42214
|
e.trackSchedulerEvent, e.resolveEventType, e.resolveEventTimeStamp;
|
|
42215
42215
|
var Fg = e.shouldAttemptEagerTransition, o0 = e.detachDeletedInstance;
|
|
42216
42216
|
e.requestPostPaintCallback;
|
|
42217
|
-
var l0 = e.maySuspendCommit,
|
|
42217
|
+
var l0 = e.maySuspendCommit, wS = e.maySuspendCommitOnUpdate, _c = e.maySuspendCommitInSyncRender, mr = e.preloadInstance, c0 = e.startSuspendingCommit, Er = e.suspendInstance;
|
|
42218
42218
|
e.suspendOnActiveViewTransition;
|
|
42219
42219
|
var u0 = e.waitForCommitToBeReady;
|
|
42220
42220
|
e.getSuspendedCommitReason;
|
|
42221
42221
|
var Fr = e.NotPendingTransition, dl = e.HostTransitionContext, Jl = e.resetFormInstance;
|
|
42222
42222
|
e.bindToConsole;
|
|
42223
|
-
var d0 = e.supportsMicrotasks, Xa = e.scheduleMicrotask, Ql = e.supportsTestSelectors, Og = e.findFiberRoot, Aa = e.getBoundingRect, f0 = e.getTextContent, qa = e.isHiddenSubtree, h0 = e.matchAccessibilityRole, Hd = e.setFocusIfFocusable, Zl = e.setupIntersectionObserver, p0 = e.appendChild, m0 = e.appendChildToContainer, Gd = e.commitTextUpdate, g0 = e.commitMount, jh = e.commitUpdate, A0 = e.insertBefore, v0 = e.insertInContainerBefore, Vg = e.removeChild, Hg = e.removeChildFromContainer, Jh = e.resetTextContent, y0 = e.hideInstance, Qh = e.hideTextInstance,
|
|
42223
|
+
var d0 = e.supportsMicrotasks, Xa = e.scheduleMicrotask, Ql = e.supportsTestSelectors, Og = e.findFiberRoot, Aa = e.getBoundingRect, f0 = e.getTextContent, qa = e.isHiddenSubtree, h0 = e.matchAccessibilityRole, Hd = e.setFocusIfFocusable, Zl = e.setupIntersectionObserver, p0 = e.appendChild, m0 = e.appendChildToContainer, Gd = e.commitTextUpdate, g0 = e.commitMount, jh = e.commitUpdate, A0 = e.insertBefore, v0 = e.insertInContainerBefore, Vg = e.removeChild, Hg = e.removeChildFromContainer, Jh = e.resetTextContent, y0 = e.hideInstance, Qh = e.hideTextInstance, TS = e.unhideInstance, b0 = e.unhideTextInstance;
|
|
42224
42224
|
e.cancelViewTransitionName, e.cancelRootViewTransitionName, e.restoreRootViewTransitionName, e.cloneRootViewTransitionContainer, e.removeRootViewTransitionClone, e.measureClonedInstance, e.hasInstanceChanged, e.hasInstanceAffectedParent, e.startViewTransition, e.startGestureTransition, e.stopViewTransition, e.getCurrentGestureOffset, e.createViewTransitionInstance;
|
|
42225
42225
|
var hs = e.clearContainer;
|
|
42226
42226
|
e.createFragmentInstance, e.updateFragmentInstanceFiber, e.commitNewChildToFragmentInstance, e.deleteChildFromFragmentInstance;
|
|
42227
|
-
var x0 = e.cloneInstance, li = e.createContainerChildSet, Gg = e.appendChildToContainerChildSet, S0 = e.finalizeContainerChildren, M0 = e.replaceContainerChildren, wo = e.cloneHiddenInstance, Wd = e.cloneHiddenTextInstance, Xd = e.isSuspenseInstancePending, qd = e.isSuspenseInstanceFallback, Kl = e.getSuspenseInstanceFallbackErrorDetails, $c = e.registerSuspenseInstanceRetry, w0 = e.canHydrateFormStateMarker, T0 = e.isFormStateMarkerMatching, Wg = e.getNextHydratableSibling, E0 = e.getNextHydratableSiblingAfterSingleton, Zh = e.getFirstHydratableChild, Kh = e.getFirstHydratableChildWithinContainer, Xg = e.getFirstHydratableChildWithinActivityInstance, C0 = e.getFirstHydratableChildWithinSuspenseInstance,
|
|
42227
|
+
var x0 = e.cloneInstance, li = e.createContainerChildSet, Gg = e.appendChildToContainerChildSet, S0 = e.finalizeContainerChildren, M0 = e.replaceContainerChildren, wo = e.cloneHiddenInstance, Wd = e.cloneHiddenTextInstance, Xd = e.isSuspenseInstancePending, qd = e.isSuspenseInstanceFallback, Kl = e.getSuspenseInstanceFallbackErrorDetails, $c = e.registerSuspenseInstanceRetry, w0 = e.canHydrateFormStateMarker, T0 = e.isFormStateMarkerMatching, Wg = e.getNextHydratableSibling, E0 = e.getNextHydratableSiblingAfterSingleton, Zh = e.getFirstHydratableChild, Kh = e.getFirstHydratableChildWithinContainer, Xg = e.getFirstHydratableChildWithinActivityInstance, C0 = e.getFirstHydratableChildWithinSuspenseInstance, ES = e.getFirstHydratableChildWithinSingleton, CS = e.canHydrateInstance, R0 = e.canHydrateTextInstance, P0 = e.canHydrateActivityInstance, RS = e.canHydrateSuspenseInstance, eu = e.hydrateInstance, _h = e.hydrateTextInstance, k0 = e.hydrateActivityInstance, qg = e.hydrateSuspenseInstance, D0 = e.getNextHydratableInstanceAfterActivityInstance, L0 = e.getNextHydratableInstanceAfterSuspenseInstance, I0 = e.commitHydratedInstance, PS = e.commitHydratedContainer, N0 = e.commitHydratedActivityInstance, tu = e.commitHydratedSuspenseInstance, z0 = e.finalizeHydratedChildren, B0 = e.flushHydrationEvents;
|
|
42228
42228
|
e.clearActivityBoundary;
|
|
42229
42229
|
var Bn = e.clearSuspenseBoundary;
|
|
42230
42230
|
e.clearActivityBoundaryFromContainer;
|
|
42231
|
-
var Yg = e.clearSuspenseBoundaryFromContainer,
|
|
42231
|
+
var Yg = e.clearSuspenseBoundaryFromContainer, kS = e.hideDehydratedBoundary, U0 = e.unhideDehydratedBoundary, F0 = e.shouldDeleteUnhydratedTailInstances;
|
|
42232
42232
|
e.diffHydratedPropsForDevWarnings, e.diffHydratedTextForDevWarnings, e.describeHydratableInstanceForDevWarnings;
|
|
42233
|
-
var
|
|
42233
|
+
var DS = e.validateHydratableInstance, jg = e.validateHydratableTextInstance, Fs = e.supportsResources, Jg = e.isHostHoistableType, $h = e.getHoistableRoot, nu = e.getResource, O0 = e.acquireResource, V0 = e.releaseResource, _l = e.hydrateHoistable, ep = e.mountHoistable, Qg = e.unmountHoistable, H0 = e.createHoistableInstance, G0 = e.prepareToCommitHoistables, LS = e.mayResourceSuspendCommit, tp = e.preloadResource, To = e.suspendResource, Bi = e.supportsSingletons, np = e.resolveSingletonInstance, ip = e.acquireSingletonInstance, fl = e.releaseSingletonInstance, rp = e.isHostSingletonType, $l = e.isSingletonScope, Yd = [], iu = -1, ec = {}, Zr = Math.clz32 ? Math.clz32 : k, W0 = Math.log, X0 = Math.LN2, jd = 256, Jd = 262144, ru = 4194304, sp = Ur.unstable_scheduleCallback, pn = Ur.unstable_cancelCallback, IS = Ur.unstable_shouldYield, Kr = Ur.unstable_requestPaint, Yn = Ur.unstable_now, q0 = Ur.unstable_ImmediatePriority, Eo = Ur.unstable_UserBlockingPriority, Co = Ur.unstable_NormalPriority, su = Ur.unstable_IdlePriority, ap = Ur.log, Zg = Ur.unstable_setDisableYieldValue, tc = null, Ei = null, gr = typeof Object.is == "function" ? Object.is : le, op = typeof reportError == "function" ? reportError : function(o) {
|
|
42234
42234
|
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
|
|
42235
42235
|
var l = new window.ErrorEvent("error", {
|
|
42236
42236
|
bubbles: !0,
|
|
@@ -42256,7 +42256,7 @@ Error generating stack: ` + A.message + `
|
|
|
42256
42256
|
return h();
|
|
42257
42257
|
});
|
|
42258
42258
|
};
|
|
42259
|
-
}, Cr = Ur.unstable_scheduleCallback,
|
|
42259
|
+
}, Cr = Ur.unstable_scheduleCallback, NS = Ur.unstable_NormalPriority, hi = {
|
|
42260
42260
|
$$typeof: So,
|
|
42261
42261
|
Consumer: null,
|
|
42262
42262
|
Provider: null,
|
|
@@ -42270,7 +42270,7 @@ Error generating stack: ` + A.message + `
|
|
|
42270
42270
|
var pl = x(null), du = Error(a(460)), up = Error(a(474)), dp = Error(a(542)), fp = {
|
|
42271
42271
|
then: function() {
|
|
42272
42272
|
}
|
|
42273
|
-
}, Gs = null, Ws = null, _d = 0, rc = Xr(!0), j0 = Xr(!1), Xs = [], ya = 0, tA = 0, ml = !1, nA = !1, Qa = x(null), hp = x(0), ps = x(null), ba = null, Ri = x(0), ko = 0, tn = null, _n = null, Fi = null, pp = !1, fu = !1, sc = !1, mp = 0, hu = 0, pu = null,
|
|
42273
|
+
}, Gs = null, Ws = null, _d = 0, rc = Xr(!0), j0 = Xr(!1), Xs = [], ya = 0, tA = 0, ml = !1, nA = !1, Qa = x(null), hp = x(0), ps = x(null), ba = null, Ri = x(0), ko = 0, tn = null, _n = null, Fi = null, pp = !1, fu = !1, sc = !1, mp = 0, hu = 0, pu = null, zS = 0, $d = {
|
|
42274
42274
|
readContext: $,
|
|
42275
42275
|
use: Xe,
|
|
42276
42276
|
useCallback: Ge,
|
|
@@ -42391,7 +42391,7 @@ Error generating stack: ` + A.message + `
|
|
|
42391
42391
|
if (vn) {
|
|
42392
42392
|
var h = Ya, A = Or;
|
|
42393
42393
|
h = (A & ~(1 << 32 - Zr(A) - 1)).toString(32) + h, l = "_" + l + "R_" + h, h = mp++, 0 < h && (l += "H" + h.toString(32)), l += "_";
|
|
42394
|
-
} else h =
|
|
42394
|
+
} else h = zS++, l = "_" + l + "r_" + h.toString(32) + "_";
|
|
42395
42395
|
return o.memoizedState = l;
|
|
42396
42396
|
},
|
|
42397
42397
|
useHostTransitionStatus: ah,
|
|
@@ -42517,7 +42517,7 @@ Error generating stack: ` + A.message + `
|
|
|
42517
42517
|
treeContext: null,
|
|
42518
42518
|
retryLane: 0,
|
|
42519
42519
|
hydrationErrors: null
|
|
42520
|
-
}, Za = !1, Pi = !1, ef = !1, yp = typeof WeakSet == "function" ? WeakSet : Set, tr = null, Vi = null, es = !1, xa = null, gl = 8192,
|
|
42520
|
+
}, Za = !1, Pi = !1, ef = !1, yp = typeof WeakSet == "function" ? WeakSet : Set, tr = null, Vi = null, es = !1, xa = null, gl = 8192, BS = {
|
|
42521
42521
|
getCacheForType: function(o) {
|
|
42522
42522
|
var l = $(hi), h = l.data.get(o);
|
|
42523
42523
|
return h === void 0 && (h = o(), l.data.set(o, h)), h;
|
|
@@ -42530,7 +42530,7 @@ Error generating stack: ` + A.message + `
|
|
|
42530
42530
|
var tf = Symbol.for;
|
|
42531
42531
|
bp = tf("selector.component"), xp = tf("selector.has_pseudo_class"), Sp = tf("selector.role"), Mp = tf("selector.test_id"), wp = tf("selector.text");
|
|
42532
42532
|
}
|
|
42533
|
-
var
|
|
42533
|
+
var US = typeof WeakMap == "function" ? WeakMap : Map, yn = 0, ti = null, bn = null, Sn = 0, Jn = 0, ms = null, Al = !1, ac = !1, rA = !1, Do = 0, bi = 0, vl = 0, oc = 0, sA = 0, gs = 0, mu = 0, nf = null, ts = null, Tp = !1, rf = 0, aA = 0, gu = 1 / 0, Ep = null, yl = null, Qn = 0, Lo = null, bl = null, Ka = 0, Cp = 0, Rp = null, Z0 = null, Au = 0, Pp = null;
|
|
42534
42534
|
return hn.attemptContinuousHydration = function(o) {
|
|
42535
42535
|
if (o.tag === 13 || o.tag === 31) {
|
|
42536
42536
|
var l = Ds(o, 67108864);
|
|
@@ -42798,7 +42798,7 @@ function DV() {
|
|
|
42798
42798
|
return null;
|
|
42799
42799
|
}
|
|
42800
42800
|
function g(n, r, u, p) {
|
|
42801
|
-
return new
|
|
42801
|
+
return new LS(n, r, u, p);
|
|
42802
42802
|
}
|
|
42803
42803
|
function v(n, r) {
|
|
42804
42804
|
n.context === ni && (X0(r, n, null, null), Wd());
|
|
@@ -43280,7 +43280,7 @@ function DV() {
|
|
|
43280
43280
|
return r;
|
|
43281
43281
|
}
|
|
43282
43282
|
function Be(n, r, u, p) {
|
|
43283
|
-
for (var b in n)
|
|
43283
|
+
for (var b in n) FS.call(n, b) && b[0] !== "_" && ye(b, n[b], r, u, p);
|
|
43284
43284
|
}
|
|
43285
43285
|
function ye(n, r, u, p, b) {
|
|
43286
43286
|
switch (typeof r) {
|
|
@@ -43302,7 +43302,7 @@ function DV() {
|
|
|
43302
43302
|
break;
|
|
43303
43303
|
}
|
|
43304
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) :
|
|
43305
|
+
for (var se in r) se === "children" ? r.children != null && (!Ui(r.children) || 0 < r.children.length) && (n = !0) : FS.call(r, se) && se[0] !== "_" && ye(se, r[se], u, p + 1, b);
|
|
43306
43306
|
u.push(["", n ? ">…</" + y + ">" : "/>"]);
|
|
43307
43307
|
return;
|
|
43308
43308
|
}
|
|
@@ -43577,21 +43577,21 @@ function DV() {
|
|
|
43577
43577
|
return n;
|
|
43578
43578
|
}
|
|
43579
43579
|
function ke(n) {
|
|
43580
|
-
if (
|
|
43580
|
+
if (OS === void 0) try {
|
|
43581
43581
|
throw Error();
|
|
43582
43582
|
} catch (u) {
|
|
43583
43583
|
var r = u.stack.trim().match(/\n( *(at )?)/);
|
|
43584
|
-
|
|
43584
|
+
OS = r && r[1] || "", MT = -1 < u.stack.indexOf(`
|
|
43585
43585
|
at`) ? " (<anonymous>)" : -1 < u.stack.indexOf("@") ? "@unknown:0:0" : "";
|
|
43586
43586
|
}
|
|
43587
43587
|
return `
|
|
43588
|
-
` +
|
|
43588
|
+
` + OS + n + MT;
|
|
43589
43589
|
}
|
|
43590
43590
|
function $e(n, r) {
|
|
43591
|
-
if (!n ||
|
|
43592
|
-
var u =
|
|
43591
|
+
if (!n || VS) return "";
|
|
43592
|
+
var u = HS.get(n);
|
|
43593
43593
|
if (u !== void 0) return u;
|
|
43594
|
-
|
|
43594
|
+
VS = !0, u = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
|
|
43595
43595
|
var p = null;
|
|
43596
43596
|
p = be.H, be.H = null, Je();
|
|
43597
43597
|
try {
|
|
@@ -43654,16 +43654,16 @@ function DV() {
|
|
|
43654
43654
|
if (y--, P--, 0 > P || se[y] !== xe[P]) {
|
|
43655
43655
|
var Te = `
|
|
43656
43656
|
` + se[y].replace(" at new ", " at ");
|
|
43657
|
-
return n.displayName && Te.includes("<anonymous>") && (Te = Te.replace("<anonymous>", n.displayName)), typeof n == "function" &&
|
|
43657
|
+
return n.displayName && Te.includes("<anonymous>") && (Te = Te.replace("<anonymous>", n.displayName)), typeof n == "function" && HS.set(n, Te), Te;
|
|
43658
43658
|
}
|
|
43659
43659
|
while (1 <= y && 0 <= P);
|
|
43660
43660
|
break;
|
|
43661
43661
|
}
|
|
43662
43662
|
}
|
|
43663
43663
|
} finally {
|
|
43664
|
-
|
|
43664
|
+
VS = !1, be.H = p, Ze(), Error.prepareStackTrace = u;
|
|
43665
43665
|
}
|
|
43666
|
-
return se = (se = n ? n.displayName || n.name : "") ? ke(se) : "", typeof n == "function" &&
|
|
43666
|
+
return se = (se = n ? n.displayName || n.name : "") ? ke(se) : "", typeof n == "function" && HS.set(n, se), se;
|
|
43667
43667
|
}
|
|
43668
43668
|
function Ct(n, r) {
|
|
43669
43669
|
switch (n.tag) {
|
|
@@ -43730,12 +43730,12 @@ Error generating stack: ` + jt.message + `
|
|
|
43730
43730
|
}
|
|
43731
43731
|
function pt(n, r) {
|
|
43732
43732
|
if (typeof n == "object" && n !== null) {
|
|
43733
|
-
var u =
|
|
43733
|
+
var u = GS.get(n);
|
|
43734
43734
|
return u !== void 0 ? u : (r = {
|
|
43735
43735
|
value: n,
|
|
43736
43736
|
source: r,
|
|
43737
43737
|
stack: it(r)
|
|
43738
|
-
},
|
|
43738
|
+
}, GS.set(n, r), r);
|
|
43739
43739
|
}
|
|
43740
43740
|
return {
|
|
43741
43741
|
value: n,
|
|
@@ -44104,7 +44104,7 @@ Error generating stack: ` + N.message + `
|
|
|
44104
44104
|
|
|
44105
44105
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
44106
44106
|
|
|
44107
|
-
https://react.dev/link/hydration-mismatch` + u), n)),
|
|
44107
|
+
https://react.dev/link/hydration-mismatch` + u), n)), WS;
|
|
44108
44108
|
}
|
|
44109
44109
|
function ge(n, r) {
|
|
44110
44110
|
if (!Cr) throw Error("Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");
|
|
@@ -44136,7 +44136,7 @@ https://react.dev/link/hydration-mismatch` + u), n)), GS;
|
|
|
44136
44136
|
} else if (r === 31) {
|
|
44137
44137
|
if (n = n.memoizedState, n = n !== null ? n.dehydrated : null, !n) throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");
|
|
44138
44138
|
xi = Al(n);
|
|
44139
|
-
} else xi = R && r === 27 ?
|
|
44139
|
+
} else xi = R && r === 27 ? BS(n.type, xi) : Hr ? gl(n.stateNode) : null;
|
|
44140
44140
|
return !0;
|
|
44141
44141
|
}
|
|
44142
44142
|
function Ge(n) {
|
|
@@ -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 ? (K($0, r._currentValue, n), r._currentValue = u, K(
|
|
44182
|
+
Vr ? (K($0, r._currentValue, n), r._currentValue = u, K(XS, 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(qS, 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 =
|
|
44186
|
+
Vr ? (n._currentValue = u, u = XS.current, Z(XS, r), n._currentRenderer = u) : (n._currentValue2 = u, u = qS.current, Z(qS, r), n._currentRenderer2 = u), Z($0, r);
|
|
44187
44187
|
}
|
|
44188
44188
|
function Ln(n, r, u) {
|
|
44189
44189
|
for (; n !== null; ) {
|
|
@@ -44299,7 +44299,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44299
44299
|
});
|
|
44300
44300
|
}
|
|
44301
44301
|
function $i(n, r, u) {
|
|
44302
|
-
(n & 127) !== 0 ? 0 > Tl && (Tl = nr(), uA = ny(r),
|
|
44302
|
+
(n & 127) !== 0 ? 0 > Tl && (Tl = nr(), uA = ny(r), YS = r, u != null && (jS = V(u)), Xd() && (Di = !0, wu = 1), n = va(), r = ic(), n !== zp || r !== dA ? zp = -1.1 : r !== null && (wu = 1), cf = n, dA = r) : (n & 4194048) !== 0 && 0 > to && (to = nr(), fA = ny(r), TT = r, u != null && (ET = V(u)), 0 > gc) && (n = va(), r = ic(), (n !== Eu || r !== uf) && (Eu = -1.1), Tu = n, uf = r);
|
|
44303
44303
|
}
|
|
44304
44304
|
function qn(n) {
|
|
44305
44305
|
if (0 > Tl) {
|
|
@@ -44379,11 +44379,11 @@ 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, be.actQueue !== null ?
|
|
44382
|
+
n !== Bp && n.next === null && (Bp === null ? oy = Bp = n : Bp = Bp.next = n), ly = !0, be.actQueue !== null ? ZS || (ZS = !0, $m()) : QS || (QS = !0, $m());
|
|
44383
44383
|
}
|
|
44384
44384
|
function Vl(n, r) {
|
|
44385
|
-
if (!
|
|
44386
|
-
|
|
44385
|
+
if (!KS && ly) {
|
|
44386
|
+
KS = !0;
|
|
44387
44387
|
do
|
|
44388
44388
|
for (var u = !1, p = oy; p !== null; ) {
|
|
44389
44389
|
if (n !== 0) {
|
|
@@ -44398,14 +44398,14 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44398
44398
|
p = p.next;
|
|
44399
44399
|
}
|
|
44400
44400
|
while (u);
|
|
44401
|
-
|
|
44401
|
+
KS = !1;
|
|
44402
44402
|
}
|
|
44403
44403
|
}
|
|
44404
44404
|
function cd() {
|
|
44405
44405
|
lu(), Oc();
|
|
44406
44406
|
}
|
|
44407
44407
|
function Oc() {
|
|
44408
|
-
ly =
|
|
44408
|
+
ly = ZS = QS = !1;
|
|
44409
44409
|
var n = 0;
|
|
44410
44410
|
df !== 0 && Kd() && (n = df);
|
|
44411
44411
|
for (var r = Mn(), u = null, p = oy; p !== null; ) {
|
|
@@ -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 || be.actQueue !== null && p !==
|
|
44424
|
+
if (r = u & -u, r !== n.callbackPriority || be.actQueue !== null && p !== _S) nh(p);
|
|
44425
44425
|
else return r;
|
|
44426
44426
|
switch (ht(u)) {
|
|
44427
44427
|
case 2:
|
|
@@ -44437,14 +44437,14 @@ 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), be.actQueue !== null ? (be.actQueue.push(p), u =
|
|
44440
|
+
return p = th.bind(null, n), be.actQueue !== null ? (be.actQueue.push(p), u = _S) : 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
|
}
|
|
44444
44444
|
function th(n, r) {
|
|
44445
44445
|
if (ay = sy = !1, lu(), or !== Iu && or !== Dy) return n.callbackNode = null, n.callbackPriority = 0, null;
|
|
44446
44446
|
var u = n.callbackNode;
|
|
44447
|
-
if (Oo === ky && (Oo =
|
|
44447
|
+
if (Oo === ky && (Oo = SM), tu() && n.callbackNode !== u) return null;
|
|
44448
44448
|
var p = un;
|
|
44449
44449
|
return p = X(n, n === ai ? p : 0, n.cancelPendingCommit !== null || n.timeoutHandle !== ja), p === 0 ? null : (Gg(n, p, r), _m(n, Mn()), n.callbackNode != null && n.callbackNode === u ? th.bind(null, n) : null);
|
|
44450
44450
|
}
|
|
@@ -44453,7 +44453,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44453
44453
|
sy = ay, ay = !1, Gg(n, r, !0);
|
|
44454
44454
|
}
|
|
44455
44455
|
function nh(n) {
|
|
44456
|
-
n !==
|
|
44456
|
+
n !== _S && n !== null && pi(n);
|
|
44457
44457
|
}
|
|
44458
44458
|
function $m() {
|
|
44459
44459
|
be.actQueue !== null && be.actQueue.push(function() {
|
|
@@ -44472,7 +44472,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44472
44472
|
function Gv(n, r) {
|
|
44473
44473
|
if (pA === null) {
|
|
44474
44474
|
var u = pA = [];
|
|
44475
|
-
|
|
44475
|
+
$S = 0, ff = ih(), Up = {
|
|
44476
44476
|
status: "pending",
|
|
44477
44477
|
value: void 0,
|
|
44478
44478
|
then: function(p) {
|
|
@@ -44480,10 +44480,10 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44480
44480
|
}
|
|
44481
44481
|
};
|
|
44482
44482
|
}
|
|
44483
|
-
return
|
|
44483
|
+
return $S++, r.then(eg, eg), r;
|
|
44484
44484
|
}
|
|
44485
44485
|
function eg() {
|
|
44486
|
-
if (
|
|
44486
|
+
if (--$S === 0 && (-1 < to || (gc = -1.1), pA !== null)) {
|
|
44487
44487
|
Up !== null && (Up.status = "fulfilled");
|
|
44488
44488
|
var n = pA;
|
|
44489
44489
|
pA = null, ff = 0, Up = null;
|
|
@@ -44527,7 +44527,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44527
44527
|
if (u.length !== p.length) return !1;
|
|
44528
44528
|
for (p = 0; p < u.length; p++) {
|
|
44529
44529
|
var b = u[p];
|
|
44530
|
-
if (!
|
|
44530
|
+
if (!FS.call(r, b) || !As(n[b], r[b])) return !1;
|
|
44531
44531
|
}
|
|
44532
44532
|
return !0;
|
|
44533
44533
|
}
|
|
@@ -44874,7 +44874,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44874
44874
|
if (I(ue)) {
|
|
44875
44875
|
if (vt = fr(ue._debugInfo), Un = I(ue), typeof Un != "function") throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");
|
|
44876
44876
|
var Zt = Un.call(ue);
|
|
44877
|
-
return Zt === ue ? (ne.tag !== 0 || Object.prototype.toString.call(ne.type) !== "[object GeneratorFunction]" || Object.prototype.toString.call(Zt) !== "[object Generator]") && (WT || console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."), WT = !0) : ue.entries !== Un ||
|
|
44877
|
+
return Zt === ue ? (ne.tag !== 0 || Object.prototype.toString.call(ne.type) !== "[object GeneratorFunction]" || Object.prototype.toString.call(Zt) !== "[object Generator]") && (WT || console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."), WT = !0) : ue.entries !== Un || iM || (console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), iM = !0), ne = em(ne, ie, Zt, Le), cn = vt, ne;
|
|
44878
44878
|
}
|
|
44879
44879
|
if (typeof ue.then == "function") return vt = fr(ue._debugInfo), ne = Vo(ne, ie, Vc(ue), Le), cn = vt, ne;
|
|
44880
44880
|
if (ue.$$typeof === Ei) return Vo(ne, ie, Ni(ne, ue), Le);
|
|
@@ -44911,7 +44911,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44911
44911
|
return n = !u && typeof I(n) == "function", u || n ? (u = u ? "array" : "iterable", console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>", u, r, u), !1) : !0;
|
|
44912
44912
|
}
|
|
44913
44913
|
function Hc() {
|
|
44914
|
-
for (var n = Vp, r =
|
|
44914
|
+
for (var n = Vp, r = rM = Vp = 0; r < n; ) {
|
|
44915
44915
|
var u = no[r];
|
|
44916
44916
|
no[r++] = null;
|
|
44917
44917
|
var p = no[r];
|
|
@@ -44927,7 +44927,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44927
44927
|
}
|
|
44928
44928
|
}
|
|
44929
44929
|
function md(n, r, u, p) {
|
|
44930
|
-
no[Vp++] = n, no[Vp++] = r, no[Vp++] = u, no[Vp++] = p,
|
|
44930
|
+
no[Vp++] = n, no[Vp++] = r, no[Vp++] = u, no[Vp++] = p, rM |= p, n.lanes |= p, n = n.alternate, n !== null && (n.lanes |= p);
|
|
44931
44931
|
}
|
|
44932
44932
|
function ch(n, r, u, p) {
|
|
44933
44933
|
return md(n, r, u, p), gd(n);
|
|
@@ -44943,7 +44943,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44943
44943
|
return n.tag === 3 ? (y = n.stateNode, b && r !== null && (b = 31 - Yi(u), n = y.hiddenUpdates, p = n[b], p === null ? n[b] = [r] : p.push(r), r.lane = u | 536870912), y) : null;
|
|
44944
44944
|
}
|
|
44945
44945
|
function gd(n) {
|
|
44946
|
-
if (zA > tk) throw Sf = zA = 0, BA =
|
|
44946
|
+
if (zA > tk) throw Sf = zA = 0, BA = EM = null, Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");
|
|
44947
44947
|
Sf > nk && (Sf = 0, BA = null, console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")), n.alternate === null && (n.flags & 4098) !== 0 && $h(n);
|
|
44948
44948
|
for (var r = n, u = r.return; u !== null; ) r.alternate === null && (r.flags & 4098) !== 0 && $h(n), r = u, u = r.return;
|
|
44949
44949
|
return r.tag === 3 ? r.stateNode : null;
|
|
@@ -44982,7 +44982,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
44982
44982
|
function Is(n, r, u) {
|
|
44983
44983
|
var p = n.updateQueue;
|
|
44984
44984
|
if (p === null) return null;
|
|
44985
|
-
if (p = p.shared,
|
|
44985
|
+
if (p = p.shared, aM === p && !KT) {
|
|
44986
44986
|
var b = V(n);
|
|
44987
44987
|
console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
44988
44988
|
|
|
@@ -45025,15 +45025,15 @@ Please update the following component: %s`, b), KT = !0;
|
|
|
45025
45025
|
n = u.lastBaseUpdate, n === null ? u.firstBaseUpdate = r : n.next = r, u.lastBaseUpdate = r;
|
|
45026
45026
|
}
|
|
45027
45027
|
function Wc() {
|
|
45028
|
-
if (
|
|
45028
|
+
if (oM) {
|
|
45029
45029
|
var n = Up;
|
|
45030
45030
|
if (n !== null) throw n;
|
|
45031
45031
|
}
|
|
45032
45032
|
}
|
|
45033
45033
|
function Ad(n, r, u, p) {
|
|
45034
|
-
|
|
45034
|
+
oM = !1;
|
|
45035
45035
|
var b = n.updateQueue;
|
|
45036
|
-
Cu = !1,
|
|
45036
|
+
Cu = !1, aM = b.shared;
|
|
45037
45037
|
var y = b.firstBaseUpdate, P = b.lastBaseUpdate, N = b.shared.pending;
|
|
45038
45038
|
if (N !== null) {
|
|
45039
45039
|
b.shared.pending = null;
|
|
@@ -45048,7 +45048,7 @@ Please update the following component: %s`, b), KT = !0;
|
|
|
45048
45048
|
do {
|
|
45049
45049
|
var ze = N.lane & -536870913, Dt = ze !== N.lane;
|
|
45050
45050
|
if (Dt ? (un & ze) === ze : (p & ze) === ze) {
|
|
45051
|
-
ze !== 0 && ze === ff && (
|
|
45051
|
+
ze !== 0 && ze === ff && (oM = !0), xe !== null && (xe = xe.next = {
|
|
45052
45052
|
lane: 0,
|
|
45053
45053
|
tag: N.tag,
|
|
45054
45054
|
payload: N.payload,
|
|
@@ -45076,7 +45076,7 @@ Please update the following component: %s`, b), KT = !0;
|
|
|
45076
45076
|
}
|
|
45077
45077
|
Te = jt;
|
|
45078
45078
|
break e;
|
|
45079
|
-
case
|
|
45079
|
+
case sM:
|
|
45080
45080
|
ze.flags = ze.flags & -65537 | 128;
|
|
45081
45081
|
case JT:
|
|
45082
45082
|
if (Vo = jt.payload, typeof Vo == "function") {
|
|
@@ -45112,7 +45112,7 @@ Please update the following component: %s`, b), KT = !0;
|
|
|
45112
45112
|
} while (!0);
|
|
45113
45113
|
xe === null && (Y = Te), b.baseState = Y, b.firstBaseUpdate = se, b.lastBaseUpdate = xe, y === null && (b.shared.lanes = 0), ku |= P, n.lanes = P, n.memoizedState = Te;
|
|
45114
45114
|
}
|
|
45115
|
-
|
|
45115
|
+
aM = null;
|
|
45116
45116
|
}
|
|
45117
45117
|
function vd(n, r) {
|
|
45118
45118
|
if (typeof n != "function") throw Error("Invalid argument passed as callback. Expected a function. Instead received: " + n);
|
|
@@ -45221,8 +45221,8 @@ 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),
|
|
45225
|
-
var P =
|
|
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), lM.has(y) || (lM.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 ? uM : ro !== null ? tE : cM, Af = y = (r.mode & 8) !== Xt;
|
|
45225
|
+
var P = eM(u, p, b);
|
|
45226
45226
|
if (Af = !1, Xp && (P = gh(r, u, p, b)), y) {
|
|
45227
45227
|
tt(!0);
|
|
45228
45228
|
try {
|
|
@@ -45241,7 +45241,7 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
45241
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
|
-
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) ||
|
|
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) || lM.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.")));
|
|
45245
45245
|
}
|
|
45246
45246
|
function gh(n, r, u, p) {
|
|
45247
45247
|
Qt = n;
|
|
@@ -45252,7 +45252,7 @@ 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, be.H = nE, y =
|
|
45255
|
+
bc = -1, be.H = nE, y = eM(r, u, p);
|
|
45256
45256
|
} while (Xp);
|
|
45257
45257
|
return y;
|
|
45258
45258
|
}
|
|
@@ -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, be.H = r !== null && r.memoizedState !== null ?
|
|
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 ? uM : cM), n;
|
|
45320
45320
|
}
|
|
45321
45321
|
function On(n) {
|
|
45322
45322
|
if (n !== null && typeof n == "object") {
|
|
@@ -46030,7 +46030,7 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
46030
46030
|
}
|
|
46031
46031
|
function ql(n, r, u, p) {
|
|
46032
46032
|
var b = r.state;
|
|
46033
|
-
typeof r.componentWillReceiveProps == "function" && r.componentWillReceiveProps(u, p), typeof r.UNSAFE_componentWillReceiveProps == "function" && r.UNSAFE_componentWillReceiveProps(u, p), r.state !== b && (n = V(n) || "Component", rE.has(n) || (rE.add(n), console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", n)),
|
|
46033
|
+
typeof r.componentWillReceiveProps == "function" && r.componentWillReceiveProps(u, p), typeof r.UNSAFE_componentWillReceiveProps == "function" && r.UNSAFE_componentWillReceiveProps(u, p), r.state !== b && (n = V(n) || "Component", rE.has(n) || (rE.add(n), console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", n)), dM.enqueueReplaceState(r, r.state, null));
|
|
46034
46034
|
}
|
|
46035
46035
|
function Oa(n, r) {
|
|
46036
46036
|
var u = r;
|
|
@@ -46046,7 +46046,7 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
46046
46046
|
}
|
|
46047
46047
|
function kd(n, r) {
|
|
46048
46048
|
try {
|
|
46049
|
-
qp = r.source ? V(r.source) : null,
|
|
46049
|
+
qp = r.source ? V(r.source) : null, fM = null;
|
|
46050
46050
|
var u = r.value;
|
|
46051
46051
|
if (be.actQueue !== null) be.thrownErrors.push(u);
|
|
46052
46052
|
else {
|
|
@@ -46063,7 +46063,7 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
46063
46063
|
}
|
|
46064
46064
|
function Mg(n, r, u) {
|
|
46065
46065
|
try {
|
|
46066
|
-
qp = u.source ? V(u.source) : null,
|
|
46066
|
+
qp = u.source ? V(u.source) : null, fM = V(r);
|
|
46067
46067
|
var p = n.onCaughtError;
|
|
46068
46068
|
p(u.value, {
|
|
46069
46069
|
componentStack: u.stack,
|
|
@@ -46076,14 +46076,14 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
46076
46076
|
}
|
|
46077
46077
|
}
|
|
46078
46078
|
function Lh(n, r, u) {
|
|
46079
|
-
return u = go(u), u.tag =
|
|
46079
|
+
return u = go(u), u.tag = sM, u.payload = {
|
|
46080
46080
|
element: null
|
|
46081
46081
|
}, u.callback = function() {
|
|
46082
46082
|
bt(r.source, kd, n, r);
|
|
46083
46083
|
}, u;
|
|
46084
46084
|
}
|
|
46085
46085
|
function Ih(n) {
|
|
46086
|
-
return n = go(n), n.tag =
|
|
46086
|
+
return n = go(n), n.tag = sM, n;
|
|
46087
46087
|
}
|
|
46088
46088
|
function Nh(n, r, u, p) {
|
|
46089
46089
|
var b = u.type.getDerivedStateFromError;
|
|
@@ -46118,9 +46118,9 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
46118
46118
|
}
|
|
46119
46119
|
return Yg(n, p, b), Kh(), !1;
|
|
46120
46120
|
}
|
|
46121
|
-
if (wn) return wl = !0, r = Ma.current, r !== null ? ((r.flags & 65536) === 0 && (r.flags |= 256), r.flags |= 65536, r.lanes = b, p !==
|
|
46121
|
+
if (wn) return wl = !0, r = Ma.current, r !== null ? ((r.flags & 65536) === 0 && (r.flags |= 256), r.flags |= 65536, r.lanes = b, p !== WS && xt(pt(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.", {
|
|
46122
46122
|
cause: p
|
|
46123
|
-
}), u))) : (p !==
|
|
46123
|
+
}), u))) : (p !== WS && xt(pt(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.", {
|
|
46124
46124
|
cause: p
|
|
46125
46125
|
}), u)), n = n.current.alternate, n.flags |= 65536, b &= -b, n.lanes |= b, p = pt(p, u), b = Lh(n.stateNode, p, b), Hl(n, b), Mi !== Ru && (Mi = vf)), !1;
|
|
46126
46126
|
var y = pt(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.", {
|
|
@@ -46223,7 +46223,7 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
46223
46223
|
function t0(n, r, u) {
|
|
46224
46224
|
return gf(r, n.child, null, u), n = Bh(r, r.pendingProps), n.flags |= 2, zr(r), r.memoizedState = null, n;
|
|
46225
46225
|
}
|
|
46226
|
-
function
|
|
46226
|
+
function yS(n, r, u) {
|
|
46227
46227
|
var p = r.pendingProps, b = (r.flags & 128) !== 0;
|
|
46228
46228
|
if (r.flags &= -129, n === null) {
|
|
46229
46229
|
if (wn) {
|
|
@@ -46246,7 +46246,7 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
46246
46246
|
else if (r.memoizedState !== null) r.child = n.child, r.flags |= 128, r = null;
|
|
46247
46247
|
else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");
|
|
46248
46248
|
else if (ra(), (u & 536870912) !== 0 && Zh(r), rr || Ht(n, r, u, !1), b = (u & n.childLanes) !== 0, rr || b) {
|
|
46249
|
-
if (p = ai, p !== null && (P = lt(p, u), P !== 0 && P !== y.retryLane)) throw y.retryLane = P, Sr(n, P), li(p, n, P),
|
|
46249
|
+
if (p = ai, p !== null && (P = lt(p, u), P !== 0 && P !== y.retryLane)) throw y.retryLane = P, Sr(n, P), li(p, n, P), hM;
|
|
46250
46250
|
Kh(), r = t0(n, r, u);
|
|
46251
46251
|
} else n = y.treeContext, Cr && (xi = Sp(P), Hr = r, wn = !0, Su = null, wl = !1, Sa = null, eo = !1, n !== null && nt(r, n)), r = Bh(r, p), r.flags |= 4096;
|
|
46252
46252
|
return r;
|
|
@@ -46295,7 +46295,7 @@ Incoming: %s`, Se, "[" + r.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
46295
46295
|
tt(!1);
|
|
46296
46296
|
}
|
|
46297
46297
|
}
|
|
46298
|
-
if (P = r.memoizedState = y.state !== null && y.state !== void 0 ? y.state : null, y.updater =
|
|
46298
|
+
if (P = r.memoizedState = y.state !== null && y.state !== void 0 ? y.state : null, y.updater = dM, r.stateNode = y, y._reactInternals = r, y._reactInternalInstance = iE, typeof u.getDerivedStateFromProps == "function" && P === null && (P = F(u) || "Component", sE.has(P) || (sE.add(P), console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", P, y.state === null ? "null" : "undefined", P))), typeof u.getDerivedStateFromProps == "function" || typeof y.getSnapshotBeforeUpdate == "function") {
|
|
46299
46299
|
var Y = N = P = null;
|
|
46300
46300
|
if (typeof y.componentWillMount == "function" && y.componentWillMount.__suppressDeprecationWarning !== !0 ? P = "componentWillMount" : typeof y.UNSAFE_componentWillMount == "function" && (P = "UNSAFE_componentWillMount"), typeof y.componentWillReceiveProps == "function" && y.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? N = "componentWillReceiveProps" : typeof y.UNSAFE_componentWillReceiveProps == "function" && (N = "UNSAFE_componentWillReceiveProps"), typeof y.componentWillUpdate == "function" && y.componentWillUpdate.__suppressDeprecationWarning !== !0 ? Y = "componentWillUpdate" : typeof y.UNSAFE_componentWillUpdate == "function" && (Y = "UNSAFE_componentWillUpdate"), P !== null || N !== null || Y !== null) {
|
|
46301
46301
|
y = F(u) || "Component";
|
|
@@ -46311,7 +46311,7 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46311
46311
|
` + Y : ""));
|
|
46312
46312
|
}
|
|
46313
46313
|
}
|
|
46314
|
-
y = r.stateNode, P = F(u) || "Component", y.render || (u.prototype && typeof u.prototype.render == "function" ? console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?", P) : console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.", P)), !y.getInitialState || y.getInitialState.isReactClassApproved || y.state || console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?", P), y.getDefaultProps && !y.getDefaultProps.isReactClassApproved && console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.", P), y.contextType && console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.", P), u.childContextTypes && !dE.has(u) && (dE.add(u), console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)", P)), u.contextTypes && !uE.has(u) && (uE.add(u), console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)", P)), typeof y.componentShouldUpdate == "function" && console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.", P), u.prototype && u.prototype.isPureReactComponent && typeof y.shouldComponentUpdate < "u" && console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.", F(u) || "A pure component"), typeof y.componentDidUnmount == "function" && console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?", P), typeof y.componentDidReceiveProps == "function" && console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().", P), typeof y.componentWillRecieveProps == "function" && console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?", P), typeof y.UNSAFE_componentWillRecieveProps == "function" && console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?", P), N = y.props !== p, y.props !== void 0 && N && console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.", P), y.defaultProps && console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.", P, P), typeof y.getSnapshotBeforeUpdate != "function" || typeof y.componentDidUpdate == "function" || aE.has(u) || (aE.add(u), console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.", F(u))), typeof y.getDerivedStateFromProps == "function" && console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.", P), typeof y.getDerivedStateFromError == "function" && console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.", P), typeof u.getSnapshotBeforeUpdate == "function" && console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.", P), (N = y.state) && (typeof N != "object" || Ui(N)) && console.error("%s.state: must be set to an object or null", P), typeof y.getChildContext == "function" && typeof u.childContextTypes != "object" && console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().", P), y = r.stateNode, y.props = p, y.state = r.memoizedState, y.refs = {}, uh(r), P = u.contextType, y.context = typeof P == "object" && P !== null ? Xe(P) : ni, y.state === p && (P = F(u) || "Component", lE.has(P) || (lE.add(P), console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.", P))), r.mode & 8 && No.recordLegacyContextWarning(r, y), No.recordUnsafeLifecycleWarnings(r, y), y.state = r.memoizedState, P = u.getDerivedStateFromProps, typeof P == "function" && (Dh(r, u, P, p), y.state = r.memoizedState), typeof u.getDerivedStateFromProps == "function" || typeof y.getSnapshotBeforeUpdate == "function" || typeof y.UNSAFE_componentWillMount != "function" && typeof y.componentWillMount != "function" || (P = y.state, typeof y.componentWillMount == "function" && y.componentWillMount(), typeof y.UNSAFE_componentWillMount == "function" && y.UNSAFE_componentWillMount(), P !== y.state && (console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", V(r) || "Component"),
|
|
46314
|
+
y = r.stateNode, P = F(u) || "Component", y.render || (u.prototype && typeof u.prototype.render == "function" ? console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?", P) : console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.", P)), !y.getInitialState || y.getInitialState.isReactClassApproved || y.state || console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?", P), y.getDefaultProps && !y.getDefaultProps.isReactClassApproved && console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.", P), y.contextType && console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.", P), u.childContextTypes && !dE.has(u) && (dE.add(u), console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)", P)), u.contextTypes && !uE.has(u) && (uE.add(u), console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)", P)), typeof y.componentShouldUpdate == "function" && console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.", P), u.prototype && u.prototype.isPureReactComponent && typeof y.shouldComponentUpdate < "u" && console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.", F(u) || "A pure component"), typeof y.componentDidUnmount == "function" && console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?", P), typeof y.componentDidReceiveProps == "function" && console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().", P), typeof y.componentWillRecieveProps == "function" && console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?", P), typeof y.UNSAFE_componentWillRecieveProps == "function" && console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?", P), N = y.props !== p, y.props !== void 0 && N && console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.", P), y.defaultProps && console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.", P, P), typeof y.getSnapshotBeforeUpdate != "function" || typeof y.componentDidUpdate == "function" || aE.has(u) || (aE.add(u), console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.", F(u))), typeof y.getDerivedStateFromProps == "function" && console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.", P), typeof y.getDerivedStateFromError == "function" && console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.", P), typeof u.getSnapshotBeforeUpdate == "function" && console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.", P), (N = y.state) && (typeof N != "object" || Ui(N)) && console.error("%s.state: must be set to an object or null", P), typeof y.getChildContext == "function" && typeof u.childContextTypes != "object" && console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().", P), y = r.stateNode, y.props = p, y.state = r.memoizedState, y.refs = {}, uh(r), P = u.contextType, y.context = typeof P == "object" && P !== null ? Xe(P) : ni, y.state === p && (P = F(u) || "Component", lE.has(P) || (lE.add(P), console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.", P))), r.mode & 8 && No.recordLegacyContextWarning(r, y), No.recordUnsafeLifecycleWarnings(r, y), y.state = r.memoizedState, P = u.getDerivedStateFromProps, typeof P == "function" && (Dh(r, u, P, p), y.state = r.memoizedState), typeof u.getDerivedStateFromProps == "function" || typeof y.getSnapshotBeforeUpdate == "function" || typeof y.UNSAFE_componentWillMount != "function" && typeof y.componentWillMount != "function" || (P = y.state, typeof y.componentWillMount == "function" && y.componentWillMount(), typeof y.UNSAFE_componentWillMount == "function" && y.UNSAFE_componentWillMount(), P !== y.state && (console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.", V(r) || "Component"), dM.enqueueReplaceState(y, y.state, null)), Ad(r, p, y, b), Wc(), y.state = r.memoizedState), typeof y.componentDidMount == "function" && (r.flags |= 4194308), (r.mode & 16) !== Xt && (r.flags |= 134217728), y = !0;
|
|
46315
46315
|
} else if (n === null) {
|
|
46316
46316
|
y = r.stateNode;
|
|
46317
46317
|
var xe = r.memoizedProps;
|
|
@@ -46373,21 +46373,21 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46373
46373
|
return p = p.fallback, b ? (ua(r), b = r.mode, N = zd({
|
|
46374
46374
|
mode: "hidden",
|
|
46375
46375
|
children: N
|
|
46376
|
-
}, b), p = fl(p, b, u, null), N.return = r, p.return = r, N.sibling = p, r.child = N, p = r.child, p.memoizedState = Nd(u), p.childLanes = Fh(n, P, u), r.memoizedState =
|
|
46376
|
+
}, b), p = fl(p, b, u, null), N.return = r, p.return = r, N.sibling = p, r.child = N, p = r.child, p.memoizedState = Nd(u), p.childLanes = Fh(n, P, u), r.memoizedState = pM, Dd(null, p)) : (Ba(r), Rg(r, N));
|
|
46377
46377
|
}
|
|
46378
46378
|
var Y = n.memoizedState;
|
|
46379
46379
|
if (Y !== null && (N = Y.dehydrated, N !== null)) {
|
|
46380
46380
|
if (y) r.flags & 256 ? (Ba(r), r.flags &= -257, r = Vh(n, r, u)) : r.memoizedState !== null ? (ua(r), r.child = n.child, r.flags |= 128, r = null) : (ua(r), N = p.fallback, b = r.mode, p = zd({
|
|
46381
46381
|
mode: "visible",
|
|
46382
46382
|
children: p.children
|
|
46383
|
-
}, b), N = fl(N, b, u, null), N.flags |= 2, p.return = r, N.return = r, p.sibling = N, r.child = p, gf(r, n.child, null, u), p = r.child, p.memoizedState = Nd(u), p.childLanes = Fh(n, P, u), r.memoizedState =
|
|
46383
|
+
}, b), N = fl(N, b, u, null), N.flags |= 2, p.return = r, N.return = r, p.sibling = N, r.child = p, gf(r, n.child, null, u), p = r.child, p.memoizedState = Nd(u), p.childLanes = Fh(n, P, u), r.memoizedState = pM, r = Dd(null, p));
|
|
46384
46384
|
else if (Ba(r), ra(), (u & 536870912) !== 0 && Zh(r), yp(N)) b = tr(N), P = b.digest, N = b.message, p = b.stack, b = b.componentStack, N = Error(N || "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."), N.stack = p || "", N.digest = P, P = b === void 0 ? null : b, p = {
|
|
46385
46385
|
value: N,
|
|
46386
46386
|
source: null,
|
|
46387
46387
|
stack: P
|
|
46388
|
-
}, typeof P == "string" &&
|
|
46388
|
+
}, typeof P == "string" && GS.set(N, p), xt(p), r = Vh(n, r, u);
|
|
46389
46389
|
else if (rr || Ht(n, r, u, !1), P = (u & n.childLanes) !== 0, rr || P) {
|
|
46390
|
-
if (P = ai, P !== null && (p = lt(P, u), p !== 0 && p !== Y.retryLane)) throw Y.retryLane = p, Sr(n, p), li(P, n, p),
|
|
46390
|
+
if (P = ai, P !== null && (p = lt(P, u), p !== 0 && p !== Y.retryLane)) throw Y.retryLane = p, Sr(n, p), li(P, n, p), hM;
|
|
46391
46391
|
ef(N) || Kh(), r = Vh(n, r, u);
|
|
46392
46392
|
} else ef(N) ? (r.flags |= 192, r.child = n.child, r = null) : (n = Y.treeContext, Cr && (xi = Mp(N), Hr = r, wn = !0, Su = null, wl = !1, Sa = null, eo = !1, n !== null && nt(r, n)), r = Rg(r, p.children), r.flags |= 4096);
|
|
46393
46393
|
return r;
|
|
@@ -46401,7 +46401,7 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46401
46401
|
} : b) : b = sh(), N = {
|
|
46402
46402
|
baseLanes: N.baseLanes | u,
|
|
46403
46403
|
cachePool: b
|
|
46404
|
-
}), p.memoizedState = N, p.childLanes = Fh(n, P, u), r.memoizedState =
|
|
46404
|
+
}), p.memoizedState = N, p.childLanes = Fh(n, P, u), r.memoizedState = pM, Dd(n.child, p)) : (Y !== null && (u & 62914560) === u && (u & n.lanes) !== 0 && Zh(r), Ba(r), u = n.child, n = u.sibling, u = To(u, {
|
|
46405
46405
|
mode: "visible",
|
|
46406
46406
|
children: p.children
|
|
46407
46407
|
}), u.return = r, u.sibling = null, n !== null && (P = r.deletions, P === null ? (r.deletions = [n], r.flags |= 16) : P.push(n)), r.child = u, r.memoizedState = null, u);
|
|
@@ -46515,7 +46515,7 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46515
46515
|
function hn(n, r) {
|
|
46516
46516
|
return (n.lanes & r) !== 0 ? !0 : (n = n.dependencies, !!(n !== null && Rn(n)));
|
|
46517
46517
|
}
|
|
46518
|
-
function
|
|
46518
|
+
function bS(n, r, u) {
|
|
46519
46519
|
switch (r.tag) {
|
|
46520
46520
|
case 3:
|
|
46521
46521
|
St(r, r.stateNode.containerInfo), Ot(r, ki, n.memoizedState.cache), ut();
|
|
@@ -46574,7 +46574,7 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46574
46574
|
if (n !== null)
|
|
46575
46575
|
if (n.memoizedProps !== r.pendingProps || r.type !== n.type) rr = !0;
|
|
46576
46576
|
else {
|
|
46577
|
-
if (!hn(n, u) && (r.flags & 128) === 0) return rr = !1,
|
|
46577
|
+
if (!hn(n, u) && (r.flags & 128) === 0) return rr = !1, bS(n, r, u);
|
|
46578
46578
|
rr = (n.flags & 131072) !== 0;
|
|
46579
46579
|
}
|
|
46580
46580
|
else rr = !1, (p = wn) && (et(), p = (r.flags & 1048576) !== 0), p && (p = r.index, et(), qt(r, lA, p));
|
|
@@ -46633,7 +46633,7 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46633
46633
|
case 5:
|
|
46634
46634
|
return n === null && wn && (y = xn(), p = Ep(r.type, r.pendingProps, y), b = xi, (P = !b) || (P = tf(b, r.type, r.pendingProps, eo), P !== null ? (r.stateNode = P, wl || (y = rf(P, r.type, r.pendingProps, y), y !== null && (ia(r, 0).serverProps = y)), Hr = r, xi = bp(P), eo = !1, y = !0) : y = !1, P = !y), P && (p && G(r, b), oe(r))), Dn(r), b = r.type, y = r.pendingProps, P = n !== null ? n.memoizedProps : null, p = y.children, vn(b, y) ? p = null : P !== null && vn(b, P) && (r.flags |= 32), r.memoizedState !== null && (b = ds(n, r, dg, null, null, u), Vr ? Ws._currentValue = b : Ws._currentValue2 = b), Uh(n, r), Ti(n, r, p, u), r.child;
|
|
46635
46635
|
case 6:
|
|
46636
|
-
return n === null && wn && (n = r.pendingProps, u = xn(), n = yl(n, u), u = xi, (p = !u) || (p =
|
|
46636
|
+
return n === null && wn && (n = r.pendingProps, u = xn(), n = yl(n, u), u = xi, (p = !u) || (p = US(u, r.pendingProps, eo), p !== null ? (r.stateNode = p, Hr = r, xi = null, p = !0) : p = !1, p = !p), p && (n && G(r, u), oe(r))), null;
|
|
46637
46637
|
case 13:
|
|
46638
46638
|
return Oh(n, r, u);
|
|
46639
46639
|
case 4:
|
|
@@ -46649,7 +46649,7 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46649
46649
|
case 10:
|
|
46650
46650
|
return p = r.type, b = r.pendingProps, y = b.value, "value" in b || yE || (yE = !0, console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")), Ot(r, p, y), Ti(n, r, b.children, u), r.child;
|
|
46651
46651
|
case 9:
|
|
46652
|
-
return b = r.type._context, p = r.pendingProps.children, typeof p != "function" && console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."), Kn(r), b = Xe(b), p =
|
|
46652
|
+
return b = r.type._context, p = r.pendingProps.children, typeof p != "function" && console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."), Kn(r), b = Xe(b), p = eM(p, b, void 0), r.flags |= 1, Ti(n, r, p, u), r.child;
|
|
46653
46653
|
case 14:
|
|
46654
46654
|
return Tg(n, r, r.type, r.pendingProps, u);
|
|
46655
46655
|
case 15:
|
|
@@ -46657,7 +46657,7 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46657
46657
|
case 19:
|
|
46658
46658
|
return kg(n, r, u);
|
|
46659
46659
|
case 31:
|
|
46660
|
-
return
|
|
46660
|
+
return yS(n, r, u);
|
|
46661
46661
|
case 22:
|
|
46662
46662
|
return zh(n, r, u, r.pendingProps);
|
|
46663
46663
|
case 24:
|
|
@@ -46766,13 +46766,13 @@ https://react.dev/link/unsafe-component-lifecycles`, y, se, P !== null ? `
|
|
|
46766
46766
|
if ((n.mode & 32) !== Xt && (u === null ? cu(r, p) : uu(r, u, p))) {
|
|
46767
46767
|
if (n.flags |= 16777216, (b & 335544128) === b || cp(r, p)) if (pl(n.stateNode, r, p)) n.flags |= 8192;
|
|
46768
46768
|
else if (T0()) n.flags |= 8192;
|
|
46769
|
-
else throw mf = dy,
|
|
46769
|
+
else throw mf = dy, nM;
|
|
46770
46770
|
} else n.flags &= -16777217;
|
|
46771
46771
|
}
|
|
46772
46772
|
function So(n, r) {
|
|
46773
46773
|
if (h(r)) {
|
|
46774
46774
|
if (n.flags |= 16777216, !A(r)) if (T0()) n.flags |= 8192;
|
|
46775
|
-
else throw mf = dy,
|
|
46775
|
+
else throw mf = dy, nM;
|
|
46776
46776
|
} else n.flags &= -16777217;
|
|
46777
46777
|
}
|
|
46778
46778
|
function Kc(n, r) {
|
|
@@ -47092,7 +47092,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
47092
47092
|
function Fd(n, r, u) {
|
|
47093
47093
|
return n.getSnapshotBeforeUpdate(r, u);
|
|
47094
47094
|
}
|
|
47095
|
-
function
|
|
47095
|
+
function xS(n, r) {
|
|
47096
47096
|
var u = r.memoizedProps, p = r.memoizedState;
|
|
47097
47097
|
r = n.stateNode, n.type.defaultProps || "ref" in n.memoizedProps || Yp || (r.props !== n.memoizedProps && console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", V(n) || "instance"), r.state !== n.memoizedState && console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", V(n) || "instance"));
|
|
47098
47098
|
try {
|
|
@@ -47107,7 +47107,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
47107
47107
|
function i0(n, r, u) {
|
|
47108
47108
|
u.props = Oa(n.type, n.memoizedProps), u.state = n.memoizedState, Ha(n) ? (ca(), bt(n, OT, n, r, u), la()) : bt(n, OT, n, r, u);
|
|
47109
47109
|
}
|
|
47110
|
-
function
|
|
47110
|
+
function SS(n) {
|
|
47111
47111
|
var r = n.ref;
|
|
47112
47112
|
if (r !== null) {
|
|
47113
47113
|
switch (n.tag) {
|
|
@@ -47134,7 +47134,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
47134
47134
|
}
|
|
47135
47135
|
function Od(n, r) {
|
|
47136
47136
|
try {
|
|
47137
|
-
bt(n,
|
|
47137
|
+
bt(n, SS, n);
|
|
47138
47138
|
} catch (u) {
|
|
47139
47139
|
Bn(n, r, u);
|
|
47140
47140
|
}
|
|
@@ -47261,7 +47261,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
47261
47261
|
function a0(n, r) {
|
|
47262
47262
|
return r.tag === 31 ? (r = r.memoizedState, n.memoizedState !== null && r === null) : r.tag === 13 ? (n = n.memoizedState, r = r.memoizedState, n !== null && n.dehydrated !== null && (r === null || r.dehydrated === null)) : r.tag === 3 ? n.memoizedState.isDehydrated && (r.flags & 256) === 0 : !1;
|
|
47263
47263
|
}
|
|
47264
|
-
function
|
|
47264
|
+
function MS(n, r) {
|
|
47265
47265
|
for (Zd(n.containerInfo), Rr = r; Rr !== null; ) if (n = Rr, r = n.child, (n.subtreeFlags & 1028) !== 0 && r !== null) r.return = n, Rr = r;
|
|
47266
47266
|
else for (; Rr !== null; ) {
|
|
47267
47267
|
r = n = Rr;
|
|
@@ -47274,7 +47274,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
47274
47274
|
case 15:
|
|
47275
47275
|
break;
|
|
47276
47276
|
case 1:
|
|
47277
|
-
(p & 1024) !== 0 && u !== null &&
|
|
47277
|
+
(p & 1024) !== 0 && u !== null && xS(r, u);
|
|
47278
47278
|
break;
|
|
47279
47279
|
case 3:
|
|
47280
47280
|
(p & 1024) !== 0 && ui && iA(r.stateNode.containerInfo);
|
|
@@ -47305,7 +47305,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
47305
47305
|
Fr(n, u), N & 4 && Ig(u, wa | io);
|
|
47306
47306
|
break;
|
|
47307
47307
|
case 1:
|
|
47308
|
-
if (Fr(n, u), N & 4) if (n = u.stateNode, r === null) u.type.defaultProps || "ref" in u.memoizedProps || Yp || (n.props !== u.memoizedProps && console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", V(u) || "instance"), n.state !== u.memoizedState && console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", V(u) || "instance")), Ha(u) ? (ca(), bt(u,
|
|
47308
|
+
if (Fr(n, u), N & 4) if (n = u.stateNode, r === null) u.type.defaultProps || "ref" in u.memoizedProps || Yp || (n.props !== u.memoizedProps && console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", V(u) || "instance"), n.state !== u.memoizedState && console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", V(u) || "instance")), Ha(u) ? (ca(), bt(u, tM, u, n), la()) : bt(u, tM, u, n);
|
|
47309
47309
|
else {
|
|
47310
47310
|
var Y = Oa(u.type, r.memoizedProps);
|
|
47311
47311
|
r = r.memoizedState, u.type.defaultProps || "ref" in u.memoizedProps || Yp || (n.props !== u.memoizedProps && console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", V(u) || "instance"), n.state !== u.memoizedState && console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", V(u) || "instance")), Ha(u) ? (ca(), bt(u, BT, u, n, Y, r, n.__reactInternalSnapshotBeforeUpdate), la()) : bt(u, BT, u, n, Y, r, n.__reactInternalSnapshotBeforeUpdate);
|
|
@@ -47463,7 +47463,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
47463
47463
|
Bn(r, r.return, u);
|
|
47464
47464
|
}
|
|
47465
47465
|
}
|
|
47466
|
-
function
|
|
47466
|
+
function wS(n) {
|
|
47467
47467
|
switch (n.tag) {
|
|
47468
47468
|
case 31:
|
|
47469
47469
|
case 13:
|
|
@@ -47477,12 +47477,12 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
47477
47477
|
}
|
|
47478
47478
|
}
|
|
47479
47479
|
function _c(n, r) {
|
|
47480
|
-
var u =
|
|
47480
|
+
var u = wS(n);
|
|
47481
47481
|
r.forEach(function(p) {
|
|
47482
47482
|
if (!u.has(p)) {
|
|
47483
47483
|
if (u.add(p), Sl) if (jp !== null && Jp !== null) nu(Jp, jp);
|
|
47484
47484
|
else throw Error("Expected finished root and lanes to be set. This is a bug in React.");
|
|
47485
|
-
var b =
|
|
47485
|
+
var b = DS.bind(null, n, p);
|
|
47486
47486
|
p.then(b, b);
|
|
47487
47487
|
}
|
|
47488
47488
|
});
|
|
@@ -47553,7 +47553,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
47553
47553
|
Bn(n, n.return, ii);
|
|
47554
47554
|
}
|
|
47555
47555
|
}
|
|
47556
|
-
N & 4 && n.stateNode != null && (r = n.memoizedProps, Yh(n, r, P !== null ? P.memoizedProps : r)), N & 1024 && (
|
|
47556
|
+
N & 4 && n.stateNode != null && (r = n.memoizedProps, Yh(n, r, P !== null ? P.memoizedProps : r)), N & 1024 && (mM = !0, n.type !== "form" && console.error("Unexpected host component type. Expected a form. This is a bug in React."));
|
|
47557
47557
|
} else Ja && n.alternate !== null && (n.alternate.stateNode = n.stateNode);
|
|
47558
47558
|
break;
|
|
47559
47559
|
case 6:
|
|
@@ -47588,7 +47588,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
47588
47588
|
}
|
|
47589
47589
|
}
|
|
47590
47590
|
}
|
|
47591
|
-
|
|
47591
|
+
mM && (mM = !1, u0(n)), r.effectDuration += qr(Y);
|
|
47592
47592
|
break;
|
|
47593
47593
|
case 4:
|
|
47594
47594
|
Qn ? (P = Uo, Uo = bl(n.stateNode.containerInfo), mr(r, n), Er(n), Uo = P) : (mr(r, n), Er(n)), N & 4 && Ja && ma(n.stateNode, n, n.stateNode.pendingChildren);
|
|
@@ -47621,7 +47621,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
47621
47621
|
xe = r;
|
|
47622
47622
|
try {
|
|
47623
47623
|
var Dt = xe.stateNode;
|
|
47624
|
-
Y ? bt(xe,
|
|
47624
|
+
Y ? bt(xe, zS, Dt) : bt(xe, J0, Dt, xe.memoizedProps);
|
|
47625
47625
|
} catch (ii) {
|
|
47626
47626
|
Bn(xe, xe.return, ii);
|
|
47627
47627
|
}
|
|
@@ -47726,7 +47726,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
47726
47726
|
Xa(n, u, p), Ig(u, wa);
|
|
47727
47727
|
break;
|
|
47728
47728
|
case 1:
|
|
47729
|
-
if (Xa(n, u, p), r = u.stateNode, typeof r.componentDidMount == "function" && bt(u,
|
|
47729
|
+
if (Xa(n, u, p), r = u.stateNode, typeof r.componentDidMount == "function" && bt(u, tM, u, r), r = u.updateQueue, r !== null) {
|
|
47730
47730
|
n = u.stateNode;
|
|
47731
47731
|
try {
|
|
47732
47732
|
bt(u, lg, r, n);
|
|
@@ -48005,7 +48005,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48005
48005
|
}
|
|
48006
48006
|
}
|
|
48007
48007
|
function Vg(n) {
|
|
48008
|
-
var r =
|
|
48008
|
+
var r = NS(n);
|
|
48009
48009
|
if (r != null) {
|
|
48010
48010
|
if (typeof r.memoizedProps["data-testname"] != "string") throw Error("Invalid host root specified. Should be either a React container or a node with a testname attribute.");
|
|
48011
48011
|
return r;
|
|
@@ -48087,7 +48087,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48087
48087
|
}
|
|
48088
48088
|
return r;
|
|
48089
48089
|
}
|
|
48090
|
-
function
|
|
48090
|
+
function TS() {
|
|
48091
48091
|
ya && My.forEach(function(n) {
|
|
48092
48092
|
return n();
|
|
48093
48093
|
});
|
|
@@ -48109,7 +48109,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48109
48109
|
return n = Ma.current, n !== null && (n.flags |= 32), js;
|
|
48110
48110
|
}
|
|
48111
48111
|
function li(n, r, u) {
|
|
48112
|
-
if (_p && console.error("useInsertionEffect must not schedule updates."),
|
|
48112
|
+
if (_p && console.error("useInsertionEffect must not schedule updates."), CM && (Ly = !0), (n === ai && ($n === yf || $n === bf) || n.cancelPendingCommit !== null) && ($c(n, 0), wo(n, un, js, !1)), we(n, u), (Tn & kr) !== Pr && n === ai) {
|
|
48113
48113
|
if (Ml) switch (r.tag) {
|
|
48114
48114
|
case 0:
|
|
48115
48115
|
case 11:
|
|
@@ -48138,7 +48138,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48138
48138
|
di && (p = b - hA, 3 > p || console.timeStamp("Blocked", hA, b, "Components ⚛", void 0, 5 > p ? "primary-light" : 10 > p ? "primary" : 100 > p ? "primary-dark" : "error"));
|
|
48139
48139
|
}
|
|
48140
48140
|
}
|
|
48141
|
-
y = (u = !u && (r & 127) === 0 && (r & n.expiredLanes) === 0 || Q(n, r)) ?
|
|
48141
|
+
y = (u = !u && (r & 127) === 0 && (r & n.expiredLanes) === 0 || Q(n, r)) ? ES(n, r) : Xg(n, r, !0);
|
|
48142
48142
|
var P = u;
|
|
48143
48143
|
do {
|
|
48144
48144
|
if (y === Sc) {
|
|
@@ -48158,7 +48158,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48158
48158
|
p = n, y = P, P = LA;
|
|
48159
48159
|
var Y = Cr && p.current.memoizedState.isDehydrated;
|
|
48160
48160
|
if (Y && ($c(p, N).flags |= 256), N = Xg(p, N, !1), N !== vf) {
|
|
48161
|
-
if (
|
|
48161
|
+
if (vM && !Y) {
|
|
48162
48162
|
p.errorRecoveryDisabledLanes |= y, Du |= y, y = Ru;
|
|
48163
48163
|
break e;
|
|
48164
48164
|
}
|
|
@@ -48242,7 +48242,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48242
48242
|
return !0;
|
|
48243
48243
|
}
|
|
48244
48244
|
function wo(n, r, u, p) {
|
|
48245
|
-
r &= ~
|
|
48245
|
+
r &= ~yM, r &= ~Du, n.suspendedLanes |= r, n.pingedLanes &= ~r, p && (n.warmLanes |= r), p = n.expirationTimes;
|
|
48246
48246
|
for (var b = r; 0 < b; ) {
|
|
48247
48247
|
var y = 31 - Yi(b), P = 1 << y;
|
|
48248
48248
|
p[y] = -1, b &= ~P;
|
|
@@ -48283,7 +48283,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48283
48283
|
if (u = Hi, Hi = null, (r & 127) !== 0) {
|
|
48284
48284
|
Hi = uA, b = 0 <= Tl && Tl < lf ? lf : Tl, p = 0 <= cf && cf < lf ? lf : cf, y = 0 <= p ? p : 0 <= b ? b : is, 0 <= iy && (We(2), on(iy, y, r, u)), u = b;
|
|
48285
48285
|
var N = p, Y = dA, se = 0 < zp, xe = wu === 1, Te = wu === 2;
|
|
48286
|
-
if (b = is, p = uA, y =
|
|
48286
|
+
if (b = is, p = uA, y = YS, P = jS, di) {
|
|
48287
48287
|
if (Pn = "Blocking", 0 < u ? u > b && (u = b) : u = b, 0 < N ? N > u && (N = u) : N = u, Y !== null && u > N) {
|
|
48288
48288
|
var ze = se ? "secondary-light" : "warning";
|
|
48289
48289
|
p ? p.run(console.timeStamp.bind(console, se ? "Consecutive" : "Event: " + Y, N, u, Pn, "Scheduler ⚛", ze)) : console.timeStamp(se ? "Consecutive" : "Event: " + Y, N, u, Pn, "Scheduler ⚛", ze);
|
|
@@ -48301,9 +48301,9 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48301
48301
|
}
|
|
48302
48302
|
}, p ? p.run(performance.measure.bind(performance, xe, u)) : performance.measure(xe, u));
|
|
48303
48303
|
}
|
|
48304
|
-
Tl = -1.1, wu = 0,
|
|
48304
|
+
Tl = -1.1, wu = 0, jS = YS = null, iy = -1.1, zp = cf, cf = -1.1, lf = nr();
|
|
48305
48305
|
}
|
|
48306
|
-
if ((r & 4194048) !== 0 && (Hi = fA, b = 0 <= gc && gc < mc ? mc : gc, u = 0 <= to && to < mc ? mc : to, p = 0 <= Tu && Tu < mc ? mc : Tu, y = 0 <= p ? p : 0 <= u ? u : is, 0 <= ry && (We(256), on(ry, y, r, Hi)), Te = p, N = uf, Y = 0 < Eu, se =
|
|
48306
|
+
if ((r & 4194048) !== 0 && (Hi = fA, b = 0 <= gc && gc < mc ? mc : gc, u = 0 <= to && to < mc ? mc : to, p = 0 <= Tu && Tu < mc ? mc : Tu, y = 0 <= p ? p : 0 <= u ? u : is, 0 <= ry && (We(256), on(ry, y, r, Hi)), Te = p, N = uf, Y = 0 < Eu, se = JS === 2, y = is, p = fA, P = TT, xe = ET, di && (Pn = "Transition", 0 < u ? u > y && (u = y) : u = y, 0 < b ? b > u && (b = u) : b = u, 0 < Te ? Te > b && (Te = b) : Te = b, b > Te && N !== null && (ze = Y ? "secondary-light" : "warning", p ? p.run(console.timeStamp.bind(console, Y ? "Consecutive" : "Event: " + N, Te, b, Pn, "Scheduler ⚛", ze)) : console.timeStamp(Y ? "Consecutive" : "Event: " + N, Te, b, Pn, "Scheduler ⚛", ze)), u > b && (p ? p.run(console.timeStamp.bind(console, "Action", b, u, Pn, "Scheduler ⚛", "primary-dark")) : console.timeStamp("Action", b, u, Pn, "Scheduler ⚛", "primary-dark")), y > u && (b = se ? "Promise Resolved" : 5 < y - u ? "Update Blocked" : "Update", Te = [], xe != null && Te.push(["Component name", xe]), P != null && Te.push(["Method name", P]), u = {
|
|
48307
48307
|
start: u,
|
|
48308
48308
|
end: y,
|
|
48309
48309
|
detail: {
|
|
@@ -48314,11 +48314,11 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48314
48314
|
color: "primary-light"
|
|
48315
48315
|
}
|
|
48316
48316
|
}
|
|
48317
|
-
}, p ? p.run(performance.measure.bind(performance, b, u)) : performance.measure(b, u))), to = gc = -1.1,
|
|
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), vM = !1, Mi = Sc, xf = js = yM = 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
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, be.H = CA, be.getCurrentStack = null, Ml = !1, fc = null, r === Fp || r === uy ? (r = rg(), $n = kA) : r ===
|
|
48321
|
+
Qt = null, be.H = CA, be.getCurrentStack = null, Ml = !1, fc = null, r === Fp || r === uy ? (r = rg(), $n = kA) : r === nM ? (r = rg(), $n = ME) : $n = r === hM ? AM : 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
|
}
|
|
@@ -48357,7 +48357,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48357
48357
|
if ($n !== Ys && mn !== null) {
|
|
48358
48358
|
var N = mn, Y = Ta;
|
|
48359
48359
|
switch ($n) {
|
|
48360
|
-
case
|
|
48360
|
+
case AM:
|
|
48361
48361
|
qd(), P = Ty;
|
|
48362
48362
|
break e;
|
|
48363
48363
|
case kA:
|
|
@@ -48386,7 +48386,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48386
48386
|
function C0() {
|
|
48387
48387
|
for (; mn !== null; ) R0(mn);
|
|
48388
48388
|
}
|
|
48389
|
-
function
|
|
48389
|
+
function ES(n, r) {
|
|
48390
48390
|
var u = Tn;
|
|
48391
48391
|
Tn |= kr;
|
|
48392
48392
|
var p = Wg(), b = E0();
|
|
@@ -48395,7 +48395,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48395
48395
|
var y = n.memoizedUpdaters;
|
|
48396
48396
|
0 < y.size && (nu(n, un), y.clear()), Ve(n, r);
|
|
48397
48397
|
}
|
|
48398
|
-
NA = null, IA = Mn() +
|
|
48398
|
+
NA = null, IA = Mn() + bM, $c(n, r);
|
|
48399
48399
|
} else Zp = Q(n, r);
|
|
48400
48400
|
e: do
|
|
48401
48401
|
try {
|
|
@@ -48417,12 +48417,12 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48417
48417
|
$n = Cy;
|
|
48418
48418
|
break e;
|
|
48419
48419
|
case ME:
|
|
48420
|
-
$n =
|
|
48420
|
+
$n = gM;
|
|
48421
48421
|
break e;
|
|
48422
48422
|
case Cy:
|
|
48423
48423
|
ig(y) ? ($n = Ys, Ta = null, P0(r)) : ($n = Ys, Ta = null, eu(n, r, y, Cy));
|
|
48424
48424
|
break;
|
|
48425
|
-
case
|
|
48425
|
+
case gM:
|
|
48426
48426
|
var P = null;
|
|
48427
48427
|
switch (mn.tag) {
|
|
48428
48428
|
case 26:
|
|
@@ -48444,18 +48444,18 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48444
48444
|
default:
|
|
48445
48445
|
console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.");
|
|
48446
48446
|
}
|
|
48447
|
-
$n = Ys, Ta = null, eu(n, r, y,
|
|
48447
|
+
$n = Ys, Ta = null, eu(n, r, y, gM);
|
|
48448
48448
|
break;
|
|
48449
48449
|
case DA:
|
|
48450
48450
|
$n = Ys, Ta = null, eu(n, r, y, DA);
|
|
48451
48451
|
break;
|
|
48452
|
-
case
|
|
48452
|
+
case AM:
|
|
48453
48453
|
qd(), Mi = Ty;
|
|
48454
48454
|
break e;
|
|
48455
48455
|
default:
|
|
48456
48456
|
throw Error("Unexpected SuspendedReason. This is a bug in React.");
|
|
48457
48457
|
}
|
|
48458
|
-
be.actQueue !== null ? C0() :
|
|
48458
|
+
be.actQueue !== null ? C0() : CS();
|
|
48459
48459
|
break;
|
|
48460
48460
|
} catch (ze) {
|
|
48461
48461
|
w0(n, ze);
|
|
@@ -48463,7 +48463,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48463
48463
|
while (!0);
|
|
48464
48464
|
return Yt(), be.H = p, be.A = b, Tn = u, mn !== null ? Sc : (ai = null, un = 0, Hc(), Mi);
|
|
48465
48465
|
}
|
|
48466
|
-
function
|
|
48466
|
+
function CS() {
|
|
48467
48467
|
for (; mn !== null && !Wt(); ) R0(mn);
|
|
48468
48468
|
}
|
|
48469
48469
|
function R0(n) {
|
|
@@ -48471,10 +48471,10 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48471
48471
|
(n.mode & 2) !== Xt ? (ad(n), r = bt(n, Ur, r, n, Cl), eh(n)) : r = bt(n, Ur, r, n, Cl), n.memoizedProps = n.pendingProps, r === null ? _h(n) : mn = r;
|
|
48472
48472
|
}
|
|
48473
48473
|
function P0(n) {
|
|
48474
|
-
var r = bt(n,
|
|
48474
|
+
var r = bt(n, RS, n);
|
|
48475
48475
|
n.memoizedProps = n.pendingProps, r === null ? _h(n) : mn = r;
|
|
48476
48476
|
}
|
|
48477
|
-
function
|
|
48477
|
+
function RS(n) {
|
|
48478
48478
|
var r = n.alternate, u = (n.mode & 2) !== Xt;
|
|
48479
48479
|
switch (u && ad(n), n.tag) {
|
|
48480
48480
|
case 15:
|
|
@@ -48554,12 +48554,12 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48554
48554
|
if (No.flushLegacyContextWarning(), No.flushPendingUnsafeLifecycleWarnings(), (Tn & (kr | so)) !== Pr) throw Error("Should not already be working.");
|
|
48555
48555
|
if (We(u), se === vf ? B(ze, Dt, u, Hi) : p !== null ? j(ze, Dt, u, p, r !== null && r.alternate !== null && r.alternate.memoizedState.isDehydrated && (r.flags & 256) !== 0, Hi) : $(ze, Dt, u, Hi), r !== null) {
|
|
48556
48556
|
if (u === 0 && console.error("finishedLanes should not be empty during a commit. This is a bug in React."), r === n.current) throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");
|
|
48557
|
-
if (y = r.lanes | r.childLanes, y |=
|
|
48558
|
-
return lu(), Oo === ky && (Oo =
|
|
48557
|
+
if (y = r.lanes | r.childLanes, y |= rM, Ue(n, u, y, P, N, Y), n === ai && (mn = ai = null, un = 0), Kp = r, Nu = n, Fo = u, MM = y, TM = b, DE = p, wM = 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
|
+
return lu(), Oo === ky && (Oo = SM), 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
48560
|
p = be.T, be.T = null, b = $r(), Ci(2), P = Tn, Tn |= so;
|
|
48561
48561
|
try {
|
|
48562
|
-
|
|
48562
|
+
MS(n, r, u);
|
|
48563
48563
|
} finally {
|
|
48564
48564
|
Tn = P, Ci(b), be.T = p;
|
|
48565
48565
|
}
|
|
@@ -48609,7 +48609,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48609
48609
|
Tn = y, Ci(b), be.T = p;
|
|
48610
48610
|
}
|
|
48611
48611
|
}
|
|
48612
|
-
n =
|
|
48612
|
+
n = wM, r = LE, hc = nr(), n = r === null ? n : Mu, r = hc, u = Oo === xM, 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;
|
|
48613
48613
|
}
|
|
48614
48614
|
}
|
|
48615
48615
|
function I0() {
|
|
@@ -48617,8 +48617,8 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48617
48617
|
if (or === kE) {
|
|
48618
48618
|
var n = hc;
|
|
48619
48619
|
hc = nr();
|
|
48620
|
-
var r = hc, u = Oo ===
|
|
48621
|
-
!di || r <= n || console.timeStamp(u ? "Interrupted View Transition" : "Starting Animation", n, r, Pn, "Scheduler ⚛", u ? " error" : "secondary-light"), Oo !==
|
|
48620
|
+
var r = hc, u = Oo === xM;
|
|
48621
|
+
!di || r <= n || console.timeStamp(u ? "Interrupted View Transition" : "Starting Animation", n, r, Pn, "Scheduler ⚛", u ? " error" : "secondary-light"), Oo !== xM && (Oo = EE);
|
|
48622
48622
|
}
|
|
48623
48623
|
or = Iu, Vn(), n = Nu;
|
|
48624
48624
|
var p = Kp;
|
|
@@ -48648,22 +48648,22 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48648
48648
|
} catch (Te) {
|
|
48649
48649
|
xl || (xl = !0, console.error("React instrumentation encountered an error: %o", Te));
|
|
48650
48650
|
}
|
|
48651
|
-
if (Sl && n.memoizedUpdaters.clear(),
|
|
48651
|
+
if (Sl && n.memoizedUpdaters.clear(), TS(), u !== null) {
|
|
48652
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++) {
|
|
48656
|
-
var se = u[p], xe =
|
|
48656
|
+
var se = u[p], xe = PS(se.stack);
|
|
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
|
-
(Fo & 3) !== 0 && tu(), Nr(n), y = n.pendingLanes, (r & 261930) !== 0 && (y & 42) !== 0 ? (ay = !0, n ===
|
|
48663
|
+
(Fo & 3) !== 0 && tu(), Nr(n), y = n.pendingLanes, (r & 261930) !== 0 && (y & 42) !== 0 ? (ay = !0, n === EM ? zA++ : (zA = 0, EM = n)) : zA = 0, b || Kl(r, hc), Cr && sA(), Vl(0);
|
|
48664
48664
|
}
|
|
48665
48665
|
}
|
|
48666
|
-
function
|
|
48666
|
+
function PS(n) {
|
|
48667
48667
|
return n = {
|
|
48668
48668
|
componentStack: n
|
|
48669
48669
|
}, Object.defineProperty(n, "digest", {
|
|
@@ -48680,34 +48680,34 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
48680
48680
|
}
|
|
48681
48681
|
function z0() {
|
|
48682
48682
|
if (or !== Dy) return !1;
|
|
48683
|
-
var n = Nu, r =
|
|
48684
|
-
|
|
48683
|
+
var n = Nu, r = MM;
|
|
48684
|
+
MM = 0;
|
|
48685
48685
|
var u = ht(Fo), p = 32 > u ? 32 : u;
|
|
48686
48686
|
u = be.T;
|
|
48687
48687
|
var b = $r();
|
|
48688
48688
|
try {
|
|
48689
48689
|
Ci(p), be.T = null;
|
|
48690
|
-
var y =
|
|
48691
|
-
|
|
48690
|
+
var y = TM;
|
|
48691
|
+
TM = null, p = Nu;
|
|
48692
48692
|
var P = Fo;
|
|
48693
48693
|
if (or = Iu, Kp = Nu = null, Fo = 0, (Tn & (kr | so)) !== Pr) throw Error("Cannot flush passive effects while already rendering.");
|
|
48694
|
-
We(P),
|
|
48694
|
+
We(P), CM = !0, Ly = !1;
|
|
48695
48695
|
var N = 0;
|
|
48696
48696
|
if (pc = null, N = Mn(), Oo === EE) {
|
|
48697
48697
|
var Y = hc, se = N;
|
|
48698
48698
|
!di || se <= Y || (CT ? CT.run(console.timeStamp.bind(console, "Animating", Y, se, Pn, "Scheduler ⚛", "secondary-dark")) : console.timeStamp("Animating", Y, se, Pn, "Scheduler ⚛", "secondary-dark"));
|
|
48699
48699
|
} else {
|
|
48700
48700
|
Y = hc, se = N;
|
|
48701
|
-
var xe = Oo ===
|
|
48701
|
+
var xe = Oo === SM;
|
|
48702
48702
|
!di || se <= Y || (Hi ? Hi.run(console.timeStamp.bind(console, xe ? "Waiting for Paint" : "Waiting", Y, se, Pn, "Scheduler ⚛", "secondary-light")) : console.timeStamp(xe ? "Waiting for Paint" : "Waiting", Y, se, Pn, "Scheduler ⚛", "secondary-light"));
|
|
48703
48703
|
}
|
|
48704
48704
|
Y = Tn, Tn |= so;
|
|
48705
48705
|
var Te = p.current;
|
|
48706
48706
|
Yr(), g0(Te);
|
|
48707
48707
|
var ze = p.current;
|
|
48708
|
-
Te =
|
|
48708
|
+
Te = wM, Yr(), f0(p, ze, P, y, Te), Jg(p), Tn = Y;
|
|
48709
48709
|
var Dt = Mn();
|
|
48710
|
-
if (ze = N, Te = Hi, pc !== null ? pe(ze, Dt, pc, !0, Te) : !di || Dt <= ze || (Te ? Te.run(console.timeStamp.bind(console, "Remaining Effects", ze, Dt, Pn, "Scheduler ⚛", "secondary-dark")) : console.timeStamp("Remaining Effects", ze, Dt, Pn, "Scheduler ⚛", "secondary-dark")), Kl(P, Dt), Vl(0, !1), Ly ? p === BA ? Sf++ : (Sf = 0, BA = p) : Sf = 0, Ly =
|
|
48710
|
+
if (ze = N, Te = Hi, pc !== null ? pe(ze, Dt, pc, !0, Te) : !di || Dt <= ze || (Te ? Te.run(console.timeStamp.bind(console, "Remaining Effects", ze, Dt, Pn, "Scheduler ⚛", "secondary-dark")) : console.timeStamp("Remaining Effects", ze, Dt, Pn, "Scheduler ⚛", "secondary-dark")), Kl(P, Dt), Vl(0, !1), Ly ? p === BA ? Sf++ : (Sf = 0, BA = p) : Sf = 0, Ly = CM = !1, ns && typeof ns.onPostCommitFiberRoot == "function") try {
|
|
48711
48711
|
ns.onPostCommitFiberRoot(kp, p);
|
|
48712
48712
|
} catch (ii) {
|
|
48713
48713
|
xl || (xl = !0, console.error("React instrumentation encountered an error: %o", ii));
|
|
@@ -48752,11 +48752,11 @@ Error message:
|
|
|
48752
48752
|
var b = /* @__PURE__ */ new Set();
|
|
48753
48753
|
p.set(r, b);
|
|
48754
48754
|
} else b = p.get(r), b === void 0 && (b = /* @__PURE__ */ new Set(), p.set(r, b));
|
|
48755
|
-
b.has(u) || (
|
|
48755
|
+
b.has(u) || (vM = !0, b.add(u), p = kS.bind(null, n, r, u), Sl && nu(n, u), r.then(p, p));
|
|
48756
48756
|
}
|
|
48757
|
-
function
|
|
48757
|
+
function kS(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"),
|
|
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
|
|
|
@@ -48765,7 +48765,7 @@ act(() => {
|
|
|
48765
48765
|
});
|
|
48766
48766
|
/* assert on the output */
|
|
48767
48767
|
|
|
48768
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`), ai === n && (un & u) === u && (Mi === Ru || Mi === wy && (un & 62914560) === un && Mn() - Py < TE ? (Tn & kr) === Pr && $c(n, 0) :
|
|
48768
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`), ai === n && (un & u) === u && (Mi === Ru || Mi === wy && (un & 62914560) === un && Mn() - Py < TE ? (Tn & kr) === Pr && $c(n, 0) : yM |= u, xf === un && (xf = 0)), Nr(n);
|
|
48769
48769
|
}
|
|
48770
48770
|
function U0(n, r) {
|
|
48771
48771
|
r === 0 && (r = ce()), n = Sr(n, r), n !== null && (we(n, r), Nr(n));
|
|
@@ -48774,7 +48774,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
48774
48774
|
var r = n.memoizedState, u = 0;
|
|
48775
48775
|
r !== null && (u = r.retryLane), U0(n, u);
|
|
48776
48776
|
}
|
|
48777
|
-
function
|
|
48777
|
+
function DS(n, r) {
|
|
48778
48778
|
var u = 0;
|
|
48779
48779
|
switch (n.tag) {
|
|
48780
48780
|
case 31:
|
|
@@ -48908,7 +48908,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
48908
48908
|
n = P;
|
|
48909
48909
|
} while (!0);
|
|
48910
48910
|
}
|
|
48911
|
-
function
|
|
48911
|
+
function LS(n, r, u, p) {
|
|
48912
48912
|
this.tag = n, this.key = u, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = r, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = p, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null, this.actualDuration = -0, this.actualStartTime = -1.1, this.treeBaseDuration = this.selfBaseDuration = -0, this._debugTask = this._debugStack = this._debugOwner = this._debugInfo = null, this._debugNeedsRemount = !1, this._debugHookTypes = null, BE || typeof Object.preventExtensions != "function" || Object.preventExtensions(this);
|
|
48913
48913
|
}
|
|
48914
48914
|
function tp(n) {
|
|
@@ -49051,13 +49051,13 @@ 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 = {},
|
|
49054
|
+
var pn = {}, IS = 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 = IS.__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;
|
|
49058
49058
|
var Hs = e.scheduleTimeout, _g = e.cancelTimeout, ja = e.noTimeout, Vr = e.isPrimaryRenderer;
|
|
49059
49059
|
e.warnsIfNotActing;
|
|
49060
|
-
var ui = e.supportsMutation, Ja = e.supportsPersistence, Cr = e.supportsHydration,
|
|
49060
|
+
var ui = e.supportsMutation, Ja = e.supportsPersistence, Cr = e.supportsHydration, NS = e.getInstanceFromNode;
|
|
49061
49061
|
e.beforeActiveInstanceBlur;
|
|
49062
49062
|
var hi = e.preparePortalMount;
|
|
49063
49063
|
e.prepareScopeUpdate, e.getInstanceFromScope;
|
|
@@ -49065,11 +49065,11 @@ Check the render method of %s.`, V(fc) || "Unknown")), p = go(r), p.payload = {
|
|
|
49065
49065
|
e.requestPostPaintCallback;
|
|
49066
49066
|
var cu = e.maySuspendCommit, uu = e.maySuspendCommitOnUpdate, cp = e.maySuspendCommitInSyncRender, pl = e.preloadInstance, du = e.startSuspendingCommit, up = e.suspendInstance;
|
|
49067
49067
|
e.suspendOnActiveViewTransition;
|
|
49068
|
-
var dp = e.waitForCommitToBeReady, fp = e.getSuspendedCommitReason, Gs = e.NotPendingTransition, Ws = e.HostTransitionContext, _d = e.resetFormInstance, rc = e.bindToConsole, j0 = e.supportsMicrotasks, Xs = e.scheduleMicrotask, ya = e.supportsTestSelectors, tA = e.findFiberRoot, ml = e.getBoundingRect, nA = e.getTextContent, Qa = e.isHiddenSubtree, hp = e.matchAccessibilityRole, ps = e.setFocusIfFocusable, ba = e.setupIntersectionObserver, Ri = e.appendChild, ko = e.appendChildToContainer, tn = e.commitTextUpdate, _n = e.commitMount, Fi = e.commitUpdate, pp = e.insertBefore, fu = e.insertInContainerBefore, sc = e.removeChild, mp = e.removeChildFromContainer, hu = e.resetTextContent, pu = e.hideInstance,
|
|
49068
|
+
var dp = e.waitForCommitToBeReady, fp = e.getSuspendedCommitReason, Gs = e.NotPendingTransition, Ws = e.HostTransitionContext, _d = e.resetFormInstance, rc = e.bindToConsole, j0 = e.supportsMicrotasks, Xs = e.scheduleMicrotask, ya = e.supportsTestSelectors, tA = e.findFiberRoot, ml = e.getBoundingRect, nA = e.getTextContent, Qa = e.isHiddenSubtree, hp = e.matchAccessibilityRole, ps = e.setFocusIfFocusable, ba = e.setupIntersectionObserver, Ri = e.appendChild, ko = e.appendChildToContainer, tn = e.commitTextUpdate, _n = e.commitMount, Fi = e.commitUpdate, pp = e.insertBefore, fu = e.insertInContainerBefore, sc = e.removeChild, mp = e.removeChildFromContainer, hu = e.resetTextContent, pu = e.hideInstance, zS = e.hideTextInstance, $d = e.unhideInstance, J0 = e.unhideTextInstance;
|
|
49069
49069
|
e.cancelViewTransitionName, e.cancelRootViewTransitionName, e.restoreRootViewTransitionName, e.cloneRootViewTransitionContainer, e.removeRootViewTransitionClone, e.measureClonedInstance, e.hasInstanceChanged, e.hasInstanceAffectedParent, e.startViewTransition, e.startGestureTransition, e.stopViewTransition, e.getCurrentGestureOffset, e.createViewTransitionInstance;
|
|
49070
49070
|
var iA = e.clearContainer;
|
|
49071
49071
|
e.createFragmentInstance, e.updateFragmentInstanceFiber, e.commitNewChildToFragmentInstance, e.deleteChildFromFragmentInstance;
|
|
49072
|
-
var Q0 = e.cloneInstance, gp = e.createContainerChildSet, Ap = e.appendChildToContainerChildSet, Oi = e.finalizeContainerChildren, vp = e.replaceContainerChildren, Za = e.cloneHiddenInstance, Pi = e.cloneHiddenTextInstance, ef = e.isSuspenseInstancePending, yp = e.isSuspenseInstanceFallback, tr = e.getSuspenseInstanceFallbackErrorDetails, Vi = e.registerSuspenseInstanceRetry, es = e.canHydrateFormStateMarker, xa = e.isFormStateMarkerMatching, gl = e.getNextHydratableSibling,
|
|
49072
|
+
var Q0 = e.cloneInstance, gp = e.createContainerChildSet, Ap = e.appendChildToContainerChildSet, Oi = e.finalizeContainerChildren, vp = e.replaceContainerChildren, Za = e.cloneHiddenInstance, Pi = e.cloneHiddenTextInstance, ef = e.isSuspenseInstancePending, yp = e.isSuspenseInstanceFallback, tr = e.getSuspenseInstanceFallbackErrorDetails, Vi = e.registerSuspenseInstanceRetry, es = e.canHydrateFormStateMarker, xa = e.isFormStateMarkerMatching, gl = e.getNextHydratableSibling, BS = e.getNextHydratableSiblingAfterSingleton, bp = e.getFirstHydratableChild, xp = e.getFirstHydratableChildWithinContainer, Sp = e.getFirstHydratableChildWithinActivityInstance, Mp = e.getFirstHydratableChildWithinSuspenseInstance, wp = e.getFirstHydratableChildWithinSingleton, tf = e.canHydrateInstance, US = e.canHydrateTextInstance, yn = e.canHydrateActivityInstance, ti = e.canHydrateSuspenseInstance, bn = e.hydrateInstance, Sn = e.hydrateTextInstance, Jn = e.hydrateActivityInstance, ms = e.hydrateSuspenseInstance, Al = e.getNextHydratableInstanceAfterActivityInstance, ac = e.getNextHydratableInstanceAfterSuspenseInstance, rA = e.commitHydratedInstance, Do = e.commitHydratedContainer, bi = e.commitHydratedActivityInstance, vl = e.commitHydratedSuspenseInstance, oc = e.finalizeHydratedChildren, sA = e.flushHydrationEvents;
|
|
49073
49073
|
e.clearActivityBoundary;
|
|
49074
49074
|
var gs = e.clearSuspenseBoundary;
|
|
49075
49075
|
e.clearActivityBoundaryFromContainer;
|
|
@@ -49099,7 +49099,7 @@ Check the render method of %s.`, V(fc) || "Unknown")), p = go(r), p.payload = {
|
|
|
49099
49099
|
return;
|
|
49100
49100
|
}
|
|
49101
49101
|
console.error(n);
|
|
49102
|
-
},
|
|
49102
|
+
}, FS = Object.prototype.hasOwnProperty, di = typeof console < "u" && typeof console.timeStamp == "function" && typeof performance < "u" && typeof performance.measure == "function", Pn = "Blocking", vu = !1, cc = {
|
|
49103
49103
|
color: "primary",
|
|
49104
49104
|
properties: null,
|
|
49105
49105
|
tooltipText: "",
|
|
@@ -49112,7 +49112,7 @@ Check the render method of %s.`, V(fc) || "Unknown")), p = go(r), p.payload = {
|
|
|
49112
49112
|
}
|
|
49113
49113
|
}, GP = ["Changed Props", ""], WP = ["Changed Props", "This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner."], oA = 0, gT, AT, vT, yT, bT, xT, ST;
|
|
49114
49114
|
Ee.__reactDisabledLog = !0;
|
|
49115
|
-
var
|
|
49115
|
+
var OS, MT, VS = !1, HS = new (typeof WeakMap == "function" ? WeakMap : Map)(), GS = /* @__PURE__ */ new WeakMap(), Dp = [], Lp = 0, K0 = null, lA = 0, _a = [], $a = 0, af = null, uc = 1, dc = "", bu = q(null), cA = q(null), xu = q(null), _0 = q(null), wT = /["'&<>\n\t]|^\s|\s$/, fc = null, Ml = !1, Hr = null, xi = null, wn = !1, wl = !1, Sa = null, Su = null, eo = !1, WS = Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."), Xt = 0, $0 = q(null), XS = q(null), qS = q(null), ey = {}, ty = null, Ip = null, Np = !1, XP = typeof AbortController < "u" ? AbortController : function() {
|
|
49116
49116
|
var n = [], r = this.signal = {
|
|
49117
49117
|
aborted: !1,
|
|
49118
49118
|
addEventListener: function(u, p) {
|
|
@@ -49135,7 +49135,7 @@ 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,
|
|
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, YS = null, jS = 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, QS = !1, ZS = !1, ly = !1, KS = !1, df = 0, _S = {}, pA = null, $S = 0, ff = 0, Up = null, PT = be.S;
|
|
49139
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) {
|
|
@@ -49256,7 +49256,7 @@ Learn more about this warning here: https://react.dev/link/legacy-context`, p);
|
|
|
49256
49256
|
Ml = p;
|
|
49257
49257
|
}
|
|
49258
49258
|
}
|
|
49259
|
-
},
|
|
49259
|
+
}, eM = DT.react_stack_bottom_frame.bind(DT), LT = {
|
|
49260
49260
|
react_stack_bottom_frame: function(n) {
|
|
49261
49261
|
var r = Ml;
|
|
49262
49262
|
Ml = !0;
|
|
@@ -49274,7 +49274,7 @@ Learn more about this warning here: https://react.dev/link/legacy-context`, p);
|
|
|
49274
49274
|
Bn(n, n.return, u);
|
|
49275
49275
|
}
|
|
49276
49276
|
}
|
|
49277
|
-
},
|
|
49277
|
+
}, tM = NT.react_stack_bottom_frame.bind(NT), zT = {
|
|
49278
49278
|
react_stack_bottom_frame: function(n, r, u, p, b) {
|
|
49279
49279
|
try {
|
|
49280
49280
|
r.componentDidUpdate(u, p, b);
|
|
@@ -49315,11 +49315,11 @@ Learn more about this warning here: https://react.dev/link/legacy-context`, p);
|
|
|
49315
49315
|
var r = n._init;
|
|
49316
49316
|
return r(n._payload);
|
|
49317
49317
|
}
|
|
49318
|
-
}, ZP = GT.react_stack_bottom_frame.bind(GT), Fp = Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),
|
|
49318
|
+
}, ZP = GT.react_stack_bottom_frame.bind(GT), Fp = Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."), nM = Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."), uy = Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."), dy = {
|
|
49319
49319
|
then: function() {
|
|
49320
49320
|
console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.');
|
|
49321
49321
|
}
|
|
49322
|
-
}, mf = null, xA = !1, Op = null, SA = 0, cn = null,
|
|
49322
|
+
}, mf = null, xA = !1, Op = null, SA = 0, cn = null, iM, WT = iM = !1, XT = {}, qT = {}, YT = {};
|
|
49323
49323
|
C = function(n, r, u) {
|
|
49324
49324
|
if (u !== null && typeof u == "object" && u._store && (!u._store.validated && u.key == null || u._store.validated === 2)) {
|
|
49325
49325
|
if (typeof u._store != "object") throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");
|
|
@@ -49340,7 +49340,7 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49340
49340
|
}
|
|
49341
49341
|
}
|
|
49342
49342
|
};
|
|
49343
|
-
var gf = pd(!0), jT = pd(!1), MA = 1, Ac = 2, no = [], Vp = 0,
|
|
49343
|
+
var gf = pd(!0), jT = pd(!1), MA = 1, Ac = 2, no = [], Vp = 0, rM = 0, JT = 0, QT = 1, ZT = 2, sM = 3, Cu = !1, KT = !1, aM = null, oM = !1, Hp = q(null), fy = q(0), Ma = q(null), zo = null, Gp = 1, wA = 2, ji = q(0), hy = 0, io = 1, ys = 2, wa = 4, bs = 8, Wp, _T = /* @__PURE__ */ new Set(), $T = /* @__PURE__ */ new Set(), lM = /* @__PURE__ */ new Set(), eE = /* @__PURE__ */ new Set(), vc = 0, Qt = null, si = null, ir = null, py = !1, Xp = !1, Af = !1, my = 0, TA = 0, yc = null, KP = 0, _P = 25, Se = null, ro = null, bc = -1, EA = !1, CA = {
|
|
49344
49344
|
readContext: Xe,
|
|
49345
49345
|
use: On,
|
|
49346
49346
|
useCallback: yi,
|
|
@@ -49366,8 +49366,8 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49366
49366
|
useCacheRefresh: yi
|
|
49367
49367
|
};
|
|
49368
49368
|
CA.useEffectEvent = yi;
|
|
49369
|
-
var
|
|
49370
|
-
|
|
49369
|
+
var cM = null, tE = null, uM = null, nE = null, El = null, Bo = null, gy = null;
|
|
49370
|
+
cM = {
|
|
49371
49371
|
readContext: function(n) {
|
|
49372
49372
|
return Xe(n);
|
|
49373
49373
|
},
|
|
@@ -49543,7 +49543,7 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49543
49543
|
useEffectEvent: function(n) {
|
|
49544
49544
|
return Se = "useEffectEvent", He(), il(n);
|
|
49545
49545
|
}
|
|
49546
|
-
},
|
|
49546
|
+
}, uM = {
|
|
49547
49547
|
readContext: function(n) {
|
|
49548
49548
|
return Xe(n);
|
|
49549
49549
|
},
|
|
@@ -49998,7 +49998,7 @@ Check the top-level render call using <` + p + ">.");
|
|
|
49998
49998
|
};
|
|
49999
49999
|
var iE = {}, rE = /* @__PURE__ */ new Set(), sE = /* @__PURE__ */ new Set(), aE = /* @__PURE__ */ new Set(), oE = /* @__PURE__ */ new Set(), lE = /* @__PURE__ */ new Set(), cE = /* @__PURE__ */ new Set(), uE = /* @__PURE__ */ new Set(), dE = /* @__PURE__ */ new Set(), fE = /* @__PURE__ */ new Set(), hE = /* @__PURE__ */ new Set();
|
|
50000
50000
|
Object.freeze(iE);
|
|
50001
|
-
var
|
|
50001
|
+
var dM = {
|
|
50002
50002
|
enqueueSetState: function(n, r, u) {
|
|
50003
50003
|
n = n._reactInternals;
|
|
50004
50004
|
var p = hs(n), b = go(p);
|
|
@@ -50014,14 +50014,14 @@ Check the top-level render call using <` + p + ">.");
|
|
|
50014
50014
|
var u = hs(n), p = go(u);
|
|
50015
50015
|
p.tag = ZT, r != null && (xg(r), p.callback = r), r = Is(n, p, u), r !== null && ($i(u, "this.forceUpdate()", n), li(r, n, u), Gc(r, n, u));
|
|
50016
50016
|
}
|
|
50017
|
-
}, qp = null,
|
|
50017
|
+
}, qp = null, fM = null, hM = Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."), rr = !1, pE = {}, mE = {}, gE = {}, AE = {}, Yp = !1, vE = {}, Ay = {}, pM = {
|
|
50018
50018
|
dehydrated: null,
|
|
50019
50019
|
treeContext: null,
|
|
50020
50020
|
retryLane: 0,
|
|
50021
50021
|
hydrationErrors: null
|
|
50022
50022
|
}, yE = !1, bE = null;
|
|
50023
50023
|
bE = /* @__PURE__ */ new Set();
|
|
50024
|
-
var xc = !1, sr = !1,
|
|
50024
|
+
var xc = !1, sr = !1, mM = !1, xE = typeof WeakSet == "function" ? WeakSet : Set, Rr = null, jp = null, Jp = null, ar = null, qs = !1, Uo = null, vr = !1, Qp = 8192, $P = {
|
|
50025
50025
|
getCacheForType: function(n) {
|
|
50026
50026
|
var r = Xe(ki), u = r.data.get(n);
|
|
50027
50027
|
return u === void 0 && (u = n(), r.data.set(n, u)), u;
|
|
@@ -50037,7 +50037,7 @@ Check the top-level render call using <` + p + ">.");
|
|
|
50037
50037
|
var RA = Symbol.for;
|
|
50038
50038
|
vy = RA("selector.component"), yy = RA("selector.has_pseudo_class"), by = RA("selector.role"), xy = RA("selector.test_id"), Sy = RA("selector.text");
|
|
50039
50039
|
}
|
|
50040
|
-
var My = [], ek = typeof WeakMap == "function" ? WeakMap : Map, Pr = 0, kr = 2, so = 4, Sc = 0, PA = 1, vf = 2, wy = 3, Ru = 4, Ty = 6, SE = 5, Tn = Pr, ai = null, mn = null, un = 0, Ys = 0, Ey = 1, yf = 2, kA = 3, ME = 4,
|
|
50040
|
+
var My = [], ek = typeof WeakMap == "function" ? WeakMap : Map, Pr = 0, kr = 2, so = 4, Sc = 0, PA = 1, vf = 2, wy = 3, Ru = 4, Ty = 6, SE = 5, Tn = Pr, ai = null, mn = null, un = 0, Ys = 0, Ey = 1, yf = 2, kA = 3, ME = 4, gM = 5, DA = 6, Cy = 7, AM = 8, bf = 9, $n = Ys, Ta = null, Pu = !1, Zp = !1, vM = !1, Cl = 0, Mi = Sc, ku = 0, Du = 0, yM = 0, js = 0, xf = 0, LA = null, xs = null, Ry = !1, Py = 0, wE = 0, TE = 300, IA = 1 / 0, bM = 500, NA = null, Hi = null, Lu = null, ky = 0, xM = 1, SM = 2, EE = 3, Iu = 0, CE = 1, RE = 2, PE = 3, kE = 4, Dy = 5, or = 0, Nu = null, Kp = null, Fo = 0, MM = 0, wM = -0, TM = null, DE = null, LE = null, Oo = ky, IE = null, tk = 50, zA = 0, EM = null, CM = !1, Ly = !1, nk = 50, Sf = 0, BA = null, _p = !1, Iy = null, NE = !1, zE = /* @__PURE__ */ new Set(), ik = {}, ao = null, $p = null, BE = !1;
|
|
50041
50041
|
try {
|
|
50042
50042
|
var K5 = Object.preventExtensions({});
|
|
50043
50043
|
} catch {
|
|
@@ -50088,7 +50088,7 @@ Check the top-level render call using <` + p + ">.");
|
|
|
50088
50088
|
var u = 1 << 31 - Yi(r);
|
|
50089
50089
|
n.entanglements[1] |= u, r &= ~u;
|
|
50090
50090
|
}
|
|
50091
|
-
Nr(n), (Tn & (kr | so)) === Pr && (IA = Mn() +
|
|
50091
|
+
Nr(n), (Tn & (kr | so)) === Pr && (IA = Mn() + bM, Vl(0));
|
|
50092
50092
|
}
|
|
50093
50093
|
}
|
|
50094
50094
|
break;
|
|
@@ -50144,7 +50144,7 @@ Check the top-level render call using <` + p + ">.");
|
|
|
50144
50144
|
value: n
|
|
50145
50145
|
};
|
|
50146
50146
|
}, pn.defaultOnCaughtError = function(n) {
|
|
50147
|
-
var r = qp ? "The above error occurred in the <" + qp + "> component." : "The above error occurred in one of your React components.", u = "React will try to recreate this component tree from scratch using the error boundary you provided, " + ((
|
|
50147
|
+
var r = qp ? "The above error occurred in the <" + qp + "> component." : "The above error occurred in one of your React components.", u = "React will try to recreate this component tree from scratch using the error boundary you provided, " + ((fM || "Anonymous") + ".");
|
|
50148
50148
|
typeof n == "object" && n !== null && typeof n.environmentName == "string" ? rc("error", [`%o
|
|
50149
50149
|
|
|
50150
50150
|
%s
|
|
@@ -50176,7 +50176,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
50176
50176
|
try {
|
|
50177
50177
|
return Ci(2), be.T = null, n(r, u, p, b);
|
|
50178
50178
|
} finally {
|
|
50179
|
-
Ci(P), be.T = y, Tn === Pr && (IA = Mn() +
|
|
50179
|
+
Ci(P), be.T = y, Tn === Pr && (IA = Mn() + bM);
|
|
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.");
|
|
@@ -50314,7 +50314,7 @@ No matching component was found for:
|
|
|
50314
50314
|
}
|
|
50315
50315
|
var $2;
|
|
50316
50316
|
function LV() {
|
|
50317
|
-
return $2 || ($2 = 1, process.env.NODE_ENV === "production" ?
|
|
50317
|
+
return $2 || ($2 = 1, process.env.NODE_ENV === "production" ? Tw.exports = kV() : Tw.exports = DV()), Tw.exports;
|
|
50318
50318
|
}
|
|
50319
50319
|
var IV = LV();
|
|
50320
50320
|
const NV = PV(IV);
|
|
@@ -50322,7 +50322,7 @@ function zV(s) {
|
|
|
50322
50322
|
const e = NV(s);
|
|
50323
50323
|
return e.injectIntoDevTools(), e;
|
|
50324
50324
|
}
|
|
50325
|
-
const TP = 0, Vm = {}, BV = /^three(?=[A-Z])/,
|
|
50325
|
+
const TP = 0, Vm = {}, BV = /^three(?=[A-Z])/, AS = (s) => `${s[0].toUpperCase()}${s.slice(1)}`;
|
|
50326
50326
|
let UV = 0;
|
|
50327
50327
|
const FV = (s) => typeof s == "function";
|
|
50328
50328
|
function OV(s) {
|
|
@@ -50333,14 +50333,14 @@ function OV(s) {
|
|
|
50333
50333
|
Object.assign(Vm, s);
|
|
50334
50334
|
}
|
|
50335
50335
|
function EP(s, e) {
|
|
50336
|
-
const t =
|
|
50336
|
+
const t = AS(s), i = Vm[t];
|
|
50337
50337
|
if (s !== "primitive" && !i) throw new Error(`R3F: ${t} is not part of the THREE namespace! Did you forget to extend? See: https://docs.pmnd.rs/react-three-fiber/api/objects#using-3rd-party-objects-declaratively`);
|
|
50338
50338
|
if (s === "primitive" && !e.object) throw new Error("R3F: Primitives without 'object' are invalid!");
|
|
50339
50339
|
if (e.args !== void 0 && !Array.isArray(e.args)) throw new Error("R3F: The args prop must be an array!");
|
|
50340
50340
|
}
|
|
50341
50341
|
function VV(s, e, t) {
|
|
50342
50342
|
var i;
|
|
50343
|
-
return s =
|
|
50343
|
+
return s = AS(s) in Vm ? s : s.replace(BV, ""), EP(s, e), s === "primitive" && (i = e.object) != null && i.__r3f && delete e.object.__r3f, wx(e.object, t, s, e);
|
|
50344
50344
|
}
|
|
50345
50345
|
function HV(s) {
|
|
50346
50346
|
if (!s.isHidden) {
|
|
@@ -50359,7 +50359,7 @@ function aT(s, e, t) {
|
|
|
50359
50359
|
if (!(!s.parent && s.object !== i.scene)) {
|
|
50360
50360
|
if (!e.object) {
|
|
50361
50361
|
var a, c;
|
|
50362
|
-
const d = Vm[
|
|
50362
|
+
const d = Vm[AS(e.type)];
|
|
50363
50363
|
e.object = (a = e.props.object) != null ? a : new d(...(c = e.props.args) != null ? c : []), e.object.__r3f = e;
|
|
50364
50364
|
}
|
|
50365
50365
|
if (qu(e.object, e.props), e.props.attach)
|
|
@@ -50386,7 +50386,7 @@ function aT(s, e, t) {
|
|
|
50386
50386
|
Jm(e);
|
|
50387
50387
|
}
|
|
50388
50388
|
}
|
|
50389
|
-
function
|
|
50389
|
+
function Ew(s, e) {
|
|
50390
50390
|
e && (e.parent = s, s.children.push(e), aT(s, e));
|
|
50391
50391
|
}
|
|
50392
50392
|
function e3(s, e, t) {
|
|
@@ -50403,10 +50403,10 @@ function RP(s) {
|
|
|
50403
50403
|
} catch {
|
|
50404
50404
|
}
|
|
50405
50405
|
};
|
|
50406
|
-
typeof IS_REACT_ACT_ENVIRONMENT < "u" ? e() :
|
|
50406
|
+
typeof IS_REACT_ACT_ENVIRONMENT < "u" ? e() : $w.unstable_scheduleCallback($w.unstable_IdlePriority, e);
|
|
50407
50407
|
}
|
|
50408
50408
|
}
|
|
50409
|
-
function
|
|
50409
|
+
function t1(s, e, t) {
|
|
50410
50410
|
if (!e) return;
|
|
50411
50411
|
e.parent = null;
|
|
50412
50412
|
const i = s.children.indexOf(e);
|
|
@@ -50414,7 +50414,7 @@ function e1(s, e, t) {
|
|
|
50414
50414
|
const a = e.props.dispose !== null && t !== !1;
|
|
50415
50415
|
for (let c = e.children.length - 1; c >= 0; c--) {
|
|
50416
50416
|
const d = e.children[c];
|
|
50417
|
-
|
|
50417
|
+
t1(e, d, a);
|
|
50418
50418
|
}
|
|
50419
50419
|
e.children.length = 0, delete e.object.__r3f, a && e.type !== "primitive" && e.object.type !== "Scene" && RP(e.object), t === void 0 && Jm(e);
|
|
50420
50420
|
}
|
|
@@ -50443,7 +50443,7 @@ function WV() {
|
|
|
50443
50443
|
const c = t.parent;
|
|
50444
50444
|
if (c) {
|
|
50445
50445
|
var s, e;
|
|
50446
|
-
const d = Vm[
|
|
50446
|
+
const d = Vm[AS(t.type)], f = t.object;
|
|
50447
50447
|
t.object = (s = t.props.object) != null ? s : new d(...(e = t.props.args) != null ? e : []), t.object.__r3f = t, GV(a, t.object), vV(sT(t), f, t.object), qu(t.object, t.props), t.props.attach ? Tx(c, t) : Zs(t.object) && Zs(c.object) && c.object.add(t.object);
|
|
50448
50448
|
for (const m of t.children)
|
|
50449
50449
|
m.props.attach ? Tx(t, m) : Zs(m.object) && Zs(t.object) && t.object.add(m.object);
|
|
@@ -50452,27 +50452,27 @@ function WV() {
|
|
|
50452
50452
|
}
|
|
50453
50453
|
Ib.length = 0;
|
|
50454
50454
|
}
|
|
50455
|
-
const
|
|
50455
|
+
const Cw = () => {
|
|
50456
50456
|
}, t3 = {};
|
|
50457
50457
|
let Rb = TP;
|
|
50458
|
-
const XV = 0, qV = 4,
|
|
50458
|
+
const XV = 0, qV = 4, n1 = /* @__PURE__ */ zV({
|
|
50459
50459
|
isPrimaryRenderer: !1,
|
|
50460
50460
|
warnsIfNotActing: !1,
|
|
50461
50461
|
supportsMutation: !0,
|
|
50462
50462
|
supportsPersistence: !1,
|
|
50463
50463
|
supportsHydration: !1,
|
|
50464
50464
|
createInstance: VV,
|
|
50465
|
-
removeChild:
|
|
50466
|
-
appendChild:
|
|
50467
|
-
appendInitialChild:
|
|
50465
|
+
removeChild: t1,
|
|
50466
|
+
appendChild: Ew,
|
|
50467
|
+
appendInitialChild: Ew,
|
|
50468
50468
|
insertBefore: e3,
|
|
50469
50469
|
appendChildToContainer(s, e) {
|
|
50470
50470
|
const t = s.getState().scene.__r3f;
|
|
50471
|
-
!e || !t ||
|
|
50471
|
+
!e || !t || Ew(t, e);
|
|
50472
50472
|
},
|
|
50473
50473
|
removeChildFromContainer(s, e) {
|
|
50474
50474
|
const t = s.getState().scene.__r3f;
|
|
50475
|
-
!e || !t ||
|
|
50475
|
+
!e || !t || t1(t, e);
|
|
50476
50476
|
},
|
|
50477
50477
|
insertInContainerBefore(s, e, t) {
|
|
50478
50478
|
const i = s.getState().scene.__r3f;
|
|
@@ -50509,9 +50509,9 @@ const XV = 0, qV = 4, t1 = /* @__PURE__ */ zV({
|
|
|
50509
50509
|
clearContainer: () => !1,
|
|
50510
50510
|
hideInstance: HV,
|
|
50511
50511
|
unhideInstance: CP,
|
|
50512
|
-
createTextInstance:
|
|
50513
|
-
hideTextInstance:
|
|
50514
|
-
unhideTextInstance:
|
|
50512
|
+
createTextInstance: Cw,
|
|
50513
|
+
hideTextInstance: Cw,
|
|
50514
|
+
unhideTextInstance: Cw,
|
|
50515
50515
|
scheduleTimeout: typeof setTimeout == "function" ? setTimeout : void 0,
|
|
50516
50516
|
cancelTimeout: typeof clearTimeout == "function" ? clearTimeout : void 0,
|
|
50517
50517
|
noTimeout: -1,
|
|
@@ -50682,7 +50682,7 @@ function jV(s) {
|
|
|
50682
50682
|
) : (
|
|
50683
50683
|
// In older browsers and test environments, fallback to console.error.
|
|
50684
50684
|
console.error
|
|
50685
|
-
), c = i || xV(
|
|
50685
|
+
), c = i || xV(s1, i3), d = t || n1.createContainer(
|
|
50686
50686
|
c,
|
|
50687
50687
|
// container
|
|
50688
50688
|
wV,
|
|
@@ -50791,7 +50791,7 @@ function jV(s) {
|
|
|
50791
50791
|
Re.frameloop !== "never" && i3(ot, !0, Re, lt);
|
|
50792
50792
|
}, Ue = () => {
|
|
50793
50793
|
const ot = c.getState();
|
|
50794
|
-
ot.gl.xr.enabled = ot.gl.xr.isPresenting, ot.gl.xr.setAnimationLoop(ot.gl.xr.isPresenting ? we : null), ot.gl.xr.isPresenting ||
|
|
50794
|
+
ot.gl.xr.enabled = ot.gl.xr.isPresenting, ot.gl.xr.setAnimationLoop(ot.gl.xr.isPresenting ? we : null), ot.gl.xr.isPresenting || s1(ot);
|
|
50795
50795
|
}, dt = {
|
|
50796
50796
|
connect() {
|
|
50797
50797
|
const ot = c.getState().gl;
|
|
@@ -50822,7 +50822,7 @@ 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 :
|
|
50825
|
+
return Cn.enabled = !O, g || (le.outputColorSpace = z ? Nm : os, le.toneMapping = L ? lo : Ix), K.legacy !== O && K.set(() => ({
|
|
50826
50826
|
legacy: O
|
|
50827
50827
|
})), K.linear !== z && K.set(() => ({
|
|
50828
50828
|
linear: z
|
|
@@ -50832,7 +50832,7 @@ function jV(s) {
|
|
|
50832
50832
|
},
|
|
50833
50833
|
render(M) {
|
|
50834
50834
|
return !g && !v && this.configure(), v.then(() => {
|
|
50835
|
-
|
|
50835
|
+
n1.updateContainer(/* @__PURE__ */ re(JV, {
|
|
50836
50836
|
store: c,
|
|
50837
50837
|
children: M,
|
|
50838
50838
|
onCreated: f,
|
|
@@ -50869,7 +50869,7 @@ function PP(s, e) {
|
|
|
50869
50869
|
const t = Zf.get(s), i = t?.fiber;
|
|
50870
50870
|
if (i) {
|
|
50871
50871
|
const a = t?.store.getState();
|
|
50872
|
-
a && (a.internal.active = !1),
|
|
50872
|
+
a && (a.internal.active = !1), n1.updateContainer(null, i, null, () => {
|
|
50873
50873
|
a && setTimeout(() => {
|
|
50874
50874
|
try {
|
|
50875
50875
|
var c, d, f, m;
|
|
@@ -50881,7 +50881,7 @@ function PP(s, e) {
|
|
|
50881
50881
|
}
|
|
50882
50882
|
}
|
|
50883
50883
|
const QV = /* @__PURE__ */ new Set(), ZV = /* @__PURE__ */ new Set(), KV = /* @__PURE__ */ new Set();
|
|
50884
|
-
function
|
|
50884
|
+
function Rw(s, e) {
|
|
50885
50885
|
if (s.size)
|
|
50886
50886
|
for (const {
|
|
50887
50887
|
callback: t
|
|
@@ -50891,42 +50891,42 @@ function Cw(s, e) {
|
|
|
50891
50891
|
function hv(s, e) {
|
|
50892
50892
|
switch (s) {
|
|
50893
50893
|
case "before":
|
|
50894
|
-
return
|
|
50894
|
+
return Rw(QV, e);
|
|
50895
50895
|
case "after":
|
|
50896
|
-
return
|
|
50896
|
+
return Rw(ZV, e);
|
|
50897
50897
|
case "tail":
|
|
50898
|
-
return
|
|
50898
|
+
return Rw(KV, e);
|
|
50899
50899
|
}
|
|
50900
50900
|
}
|
|
50901
|
-
let
|
|
50902
|
-
function
|
|
50901
|
+
let Pw, kw;
|
|
50902
|
+
function i1(s, e, t) {
|
|
50903
50903
|
let i = e.clock.getDelta();
|
|
50904
|
-
e.frameloop === "never" && typeof s == "number" && (i = s - e.clock.elapsedTime, e.clock.oldTime = e.clock.elapsedTime, e.clock.elapsedTime = s),
|
|
50905
|
-
for (let a = 0; a <
|
|
50906
|
-
|
|
50904
|
+
e.frameloop === "never" && typeof s == "number" && (i = s - e.clock.elapsedTime, e.clock.oldTime = e.clock.elapsedTime, e.clock.elapsedTime = s), Pw = e.internal.subscribers;
|
|
50905
|
+
for (let a = 0; a < Pw.length; a++)
|
|
50906
|
+
kw = Pw[a], kw.ref.current(kw.store.getState(), i, t);
|
|
50907
50907
|
return !e.internal.priority && e.gl.render && e.gl.render(e.scene, e.camera), e.internal.frames = Math.max(0, e.internal.frames - 1), e.frameloop === "always" ? 1 : e.internal.frames;
|
|
50908
50908
|
}
|
|
50909
|
-
let Cx = !1,
|
|
50909
|
+
let Cx = !1, r1 = !1, Dw, n3, wm;
|
|
50910
50910
|
function kP(s) {
|
|
50911
|
-
n3 = requestAnimationFrame(kP), Cx = !0,
|
|
50911
|
+
n3 = requestAnimationFrame(kP), Cx = !0, Dw = 0, hv("before", s), r1 = !0;
|
|
50912
50912
|
for (const t of Zf.values()) {
|
|
50913
50913
|
var e;
|
|
50914
|
-
wm = t.store.getState(), wm.internal.active && (wm.frameloop === "always" || wm.internal.frames > 0) && !((e = wm.gl.xr) != null && e.isPresenting) && (
|
|
50914
|
+
wm = t.store.getState(), wm.internal.active && (wm.frameloop === "always" || wm.internal.frames > 0) && !((e = wm.gl.xr) != null && e.isPresenting) && (Dw += i1(s, wm));
|
|
50915
50915
|
}
|
|
50916
|
-
if (
|
|
50916
|
+
if (r1 = !1, hv("after", s), Dw === 0)
|
|
50917
50917
|
return hv("tail", s), Cx = !1, cancelAnimationFrame(n3);
|
|
50918
50918
|
}
|
|
50919
|
-
function
|
|
50919
|
+
function s1(s, e = 1) {
|
|
50920
50920
|
var t;
|
|
50921
|
-
if (!s) return Zf.forEach((i) =>
|
|
50922
|
-
(t = s.gl.xr) != null && t.isPresenting || !s.internal.active || s.frameloop === "never" || (e > 1 ? s.internal.frames = Math.min(60, s.internal.frames + e) :
|
|
50921
|
+
if (!s) return Zf.forEach((i) => s1(i.store.getState(), e));
|
|
50922
|
+
(t = s.gl.xr) != null && t.isPresenting || !s.internal.active || s.frameloop === "never" || (e > 1 ? s.internal.frames = Math.min(60, s.internal.frames + e) : r1 ? s.internal.frames = 2 : s.internal.frames = 1, Cx || (Cx = !0, requestAnimationFrame(kP)));
|
|
50923
50923
|
}
|
|
50924
50924
|
function i3(s, e = !0, t, i) {
|
|
50925
|
-
if (e && hv("before", s), t)
|
|
50926
|
-
else for (const a of Zf.values())
|
|
50925
|
+
if (e && hv("before", s), t) i1(s, t, i);
|
|
50926
|
+
else for (const a of Zf.values()) i1(s, a.store.getState());
|
|
50927
50927
|
e && hv("after", s);
|
|
50928
50928
|
}
|
|
50929
|
-
const
|
|
50929
|
+
const Lw = {
|
|
50930
50930
|
onClick: ["click", !1],
|
|
50931
50931
|
onContextMenu: ["contextmenu", !1],
|
|
50932
50932
|
onDoubleClick: ["dblclick", !1],
|
|
@@ -50949,7 +50949,7 @@ function _V(s) {
|
|
|
50949
50949
|
i.pointer.set(t.offsetX / i.size.width * 2 - 1, -(t.offsetY / i.size.height) * 2 + 1), i.raycaster.setFromCamera(i.pointer, i.camera);
|
|
50950
50950
|
},
|
|
50951
50951
|
connected: void 0,
|
|
50952
|
-
handlers: Object.keys(
|
|
50952
|
+
handlers: Object.keys(Lw).reduce((t, i) => ({
|
|
50953
50953
|
...t,
|
|
50954
50954
|
[i]: e(i)
|
|
50955
50955
|
}), {}),
|
|
@@ -50973,7 +50973,7 @@ function _V(s) {
|
|
|
50973
50973
|
}
|
|
50974
50974
|
})), a.handlers)
|
|
50975
50975
|
for (const c in a.handlers) {
|
|
50976
|
-
const d = a.handlers[c], [f, m] =
|
|
50976
|
+
const d = a.handlers[c], [f, m] = Lw[c];
|
|
50977
50977
|
t.addEventListener(f, d, {
|
|
50978
50978
|
passive: m
|
|
50979
50979
|
});
|
|
@@ -50987,7 +50987,7 @@ function _V(s) {
|
|
|
50987
50987
|
if (i.connected) {
|
|
50988
50988
|
if (i.handlers)
|
|
50989
50989
|
for (const a in i.handlers) {
|
|
50990
|
-
const c = i.handlers[a], [d] =
|
|
50990
|
+
const c = i.handlers[a], [d] = Lw[a];
|
|
50991
50991
|
i.connected.removeEventListener(d, c);
|
|
50992
50992
|
}
|
|
50993
50993
|
t((a) => ({
|
|
@@ -51622,7 +51622,7 @@ function v5({ message: s, delaySeconds: e, soundEnabled: t, language: i, buttonP
|
|
|
51622
51622
|
}
|
|
51623
51623
|
);
|
|
51624
51624
|
}
|
|
51625
|
-
function
|
|
51625
|
+
function vS({ language: s, placeholder: e, onSend: t, disabled: i = !1, variant: a = "text" }) {
|
|
51626
51626
|
const [c, d] = Gt(""), f = En(null), m = 168, g = () => {
|
|
51627
51627
|
const v = c.trim();
|
|
51628
51628
|
!v || i || (t(v), d(""), f.current && (f.current.style.height = "auto"));
|
|
@@ -51652,11 +51652,11 @@ function AS({ language: s, placeholder: e, onSend: t, disabled: i = !1, variant:
|
|
|
51652
51652
|
}
|
|
51653
51653
|
function y5({ text: s, streaming: e }) {
|
|
51654
51654
|
const t = m5(s, e);
|
|
51655
|
-
return /* @__PURE__ */ re(
|
|
51655
|
+
return /* @__PURE__ */ re(l1, { children: t });
|
|
51656
51656
|
}
|
|
51657
|
-
const
|
|
51657
|
+
const a1 = 133, b5 = a1 + 44, x5 = 767, tv = 36, S5 = 8, a3 = tv + S5;
|
|
51658
51658
|
function M5() {
|
|
51659
|
-
return typeof window > "u" ?
|
|
51659
|
+
return typeof window > "u" ? a1 : window.innerWidth <= x5 ? b5 : a1;
|
|
51660
51660
|
}
|
|
51661
51661
|
function w5(s) {
|
|
51662
51662
|
return s === "rtl" ? "right" : "left";
|
|
@@ -51860,7 +51860,7 @@ function k5({
|
|
|
51860
51860
|
return /* @__PURE__ */ Ut("div", { className: Zn("rqmii-chat-panel rqmii-chat-panel--feedback", fo(e)), dir: ed(e), children: [
|
|
51861
51861
|
/* @__PURE__ */ Ut("div", { className: "rqmii-chat-topbar", children: [
|
|
51862
51862
|
/* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-circle-button", onClick: i, "aria-label": "Back", children: /* @__PURE__ */ re(ED, { size: 20 }) }),
|
|
51863
|
-
/* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-circle-button", onClick: a, "aria-label": rn(e, "minimize"), children: /* @__PURE__ */ re(
|
|
51863
|
+
/* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-circle-button", onClick: a, "aria-label": rn(e, "minimize"), children: /* @__PURE__ */ re(Dx, { size: 20 }) })
|
|
51864
51864
|
] }),
|
|
51865
51865
|
/* @__PURE__ */ Ut("div", { className: "rqmii-chat-feedback-body", children: [
|
|
51866
51866
|
/* @__PURE__ */ re(jo, { agent: s, size: "hero" }),
|
|
@@ -51877,7 +51877,7 @@ function k5({
|
|
|
51877
51877
|
onChange: (x) => f(x.target.value)
|
|
51878
51878
|
}
|
|
51879
51879
|
),
|
|
51880
|
-
/* @__PURE__ */ re("div", { className: "rqmii-chat-feedback-actions", children: /* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-feedback-submit", onClick: M, disabled: !v, children: m ? /* @__PURE__ */ re(
|
|
51880
|
+
/* @__PURE__ */ re("div", { className: "rqmii-chat-feedback-actions", children: /* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-feedback-submit", onClick: M, disabled: !v, children: m ? /* @__PURE__ */ re(Px, { className: "rqmii-chat-spin", size: 18 }) : rn(e, "submit") }) })
|
|
51881
51881
|
] }),
|
|
51882
51882
|
/* @__PURE__ */ re(td, { language: e, agent: s })
|
|
51883
51883
|
] });
|
|
@@ -51902,13 +51902,13 @@ function D5({ agent: s, language: e, languages: t, onLanguageChange: i, onClose:
|
|
|
51902
51902
|
/* @__PURE__ */ Ut("div", { className: "rqmii-chat-start-body", children: [
|
|
51903
51903
|
d ? /* @__PURE__ */ Ut("div", { className: Zn("rqmii-chat-call-avatar-wrap", k && "is-compact"), children: [
|
|
51904
51904
|
/* @__PURE__ */ re(jo, { agent: s, size: T, active: f }),
|
|
51905
|
-
/* @__PURE__ */ re("button", { type: "button", className: Zn("rqmii-chat-call-button", k && "is-compact"), onClick: g, disabled: m, "aria-label": rn(e, "startVoice"), children: m ? /* @__PURE__ */ re(
|
|
51905
|
+
/* @__PURE__ */ re("button", { type: "button", className: Zn("rqmii-chat-call-button", k && "is-compact"), onClick: g, disabled: m, "aria-label": rn(e, "startVoice"), children: m ? /* @__PURE__ */ re(Px, { className: "rqmii-chat-spin", size: k ? 18 : 24 }) : /* @__PURE__ */ re(d1, { size: k ? 18 : 24 }) })
|
|
51906
51906
|
] }) : /* @__PURE__ */ re(jo, { agent: s, size: T }),
|
|
51907
51907
|
/* @__PURE__ */ re("div", { className: "rqmii-chat-agent-name", children: s.name }),
|
|
51908
51908
|
x && /* @__PURE__ */ re("div", { className: "rqmii-chat-error-text", children: x })
|
|
51909
51909
|
] }),
|
|
51910
51910
|
D && /* @__PURE__ */ re("div", { className: "rqmii-chat-start-suggestions", children: /* @__PURE__ */ re(E5, { suggestions: S, language: e, onClick: (z) => w?.(z) }) }),
|
|
51911
|
-
/* @__PURE__ */ re(
|
|
51911
|
+
/* @__PURE__ */ re(vS, { language: e, onSend: c, disabled: M }),
|
|
51912
51912
|
/* @__PURE__ */ re(td, { language: e, agent: s })
|
|
51913
51913
|
] });
|
|
51914
51914
|
}
|
|
@@ -51925,7 +51925,7 @@ function L5({ agent: s, language: e, languages: t, onLanguageChange: i, onClose:
|
|
|
51925
51925
|
/* @__PURE__ */ Ut("div", { className: "rqmii-chat-call-body", children: [
|
|
51926
51926
|
/* @__PURE__ */ Ut("div", { className: "rqmii-chat-call-avatar-wrap", children: [
|
|
51927
51927
|
/* @__PURE__ */ re(jo, { agent: s, size: "hero", active: f }),
|
|
51928
|
-
/* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-call-button", onClick: c, disabled: d, "aria-label": rn(e, "startVoice"), children: d ? /* @__PURE__ */ re(
|
|
51928
|
+
/* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-call-button", onClick: c, disabled: d, "aria-label": rn(e, "startVoice"), children: d ? /* @__PURE__ */ re(Px, { className: "rqmii-chat-spin", size: 24 }) : /* @__PURE__ */ re(d1, { size: 24 }) })
|
|
51929
51929
|
] }),
|
|
51930
51930
|
/* @__PURE__ */ Ut("div", { className: "rqmii-chat-agent-name", children: [
|
|
51931
51931
|
rn(e, "call"),
|
|
@@ -51944,14 +51944,14 @@ function I5({ agent: s, language: e, onEndSession: t, onMinimize: i, messages: a
|
|
|
51944
51944
|
m && z && /* @__PURE__ */ re("div", { className: "rqmii-chat-header-status", children: /* @__PURE__ */ re("span", { children: z }) }),
|
|
51945
51945
|
/* @__PURE__ */ re("div", { className: "rqmii-chat-header-spacer" }),
|
|
51946
51946
|
/* @__PURE__ */ Ut("div", { className: "rqmii-chat-header-actions", children: [
|
|
51947
|
-
i && /* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-circle-button", onClick: i, "aria-label": rn(e, "minimize"), children: /* @__PURE__ */ re(
|
|
51948
|
-
m && /* @__PURE__ */ re("button", { type: "button", className: Zn("rqmii-chat-circle-button", M && "is-active"), onClick: g, "aria-label": v ? rn(e, "stopVoice") : rn(e, "startVoice"), children: v ? /* @__PURE__ */ re(
|
|
51947
|
+
i && /* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-circle-button", onClick: i, "aria-label": rn(e, "minimize"), children: /* @__PURE__ */ re(Dx, { size: 20 }) }),
|
|
51948
|
+
m && /* @__PURE__ */ re("button", { type: "button", className: Zn("rqmii-chat-circle-button", M && "is-active"), onClick: g, "aria-label": v ? rn(e, "stopVoice") : rn(e, "startVoice"), children: v ? /* @__PURE__ */ re(kx, { size: 20 }) : /* @__PURE__ */ re(c1, { size: 20 }) }),
|
|
51949
51949
|
/* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-circle-button is-danger", onClick: t, "aria-label": rn(e, "endCall"), children: /* @__PURE__ */ re(u1, { size: 20 }) })
|
|
51950
51950
|
] })
|
|
51951
51951
|
] }),
|
|
51952
51952
|
/* @__PURE__ */ re(cT, { messages: a, partialTranscript: c, language: e, showTypingIndicator: D }),
|
|
51953
51953
|
m && /* @__PURE__ */ re("div", { className: "rqmii-chat-session-counter", children: oT(C) }),
|
|
51954
|
-
/* @__PURE__ */ re(
|
|
51954
|
+
/* @__PURE__ */ re(vS, { language: e, onSend: d }),
|
|
51955
51955
|
/* @__PURE__ */ re(td, { language: e, agent: s })
|
|
51956
51956
|
] });
|
|
51957
51957
|
}
|
|
@@ -51961,14 +51961,14 @@ function N5({ agent: s, language: e, onEndSession: t, onMinimize: i, isListening
|
|
|
51961
51961
|
/* @__PURE__ */ Ut("div", { className: "rqmii-chat-call-status", children: [
|
|
51962
51962
|
/* @__PURE__ */ re("span", { className: Zn("rqmii-chat-live-dot", a && "is-live") }),
|
|
51963
51963
|
/* @__PURE__ */ re("span", { children: oT(M) }),
|
|
51964
|
-
/* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-circle-button", onClick: i, children: /* @__PURE__ */ re(
|
|
51964
|
+
/* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-circle-button", onClick: i, children: /* @__PURE__ */ re(Dx, { size: 20 }) })
|
|
51965
51965
|
] }),
|
|
51966
51966
|
/* @__PURE__ */ Ut("div", { className: "rqmii-chat-voice-frame", children: [
|
|
51967
51967
|
/* @__PURE__ */ re(jo, { agent: s, size: "hero", active: f }),
|
|
51968
51968
|
/* @__PURE__ */ re("div", { className: "rqmii-chat-agent-name", children: s.name }),
|
|
51969
51969
|
/* @__PURE__ */ re("div", { className: Zn("rqmii-chat-status-pill", !S && "is-empty"), children: S || rn(e, "listening") }),
|
|
51970
51970
|
/* @__PURE__ */ Ut("div", { className: "rqmii-chat-voice-actions", children: [
|
|
51971
|
-
/* @__PURE__ */ re("button", { type: "button", className: Zn("rqmii-chat-circle-button", d && "is-active"), onClick: v, children: a ? /* @__PURE__ */ re(
|
|
51971
|
+
/* @__PURE__ */ re("button", { type: "button", className: Zn("rqmii-chat-circle-button", d && "is-active"), onClick: v, children: a ? /* @__PURE__ */ re(kx, { size: 20 }) : /* @__PURE__ */ re(c1, { size: 20 }) }),
|
|
51972
51972
|
/* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-circle-button is-danger", onClick: t, "aria-label": rn(e, "endCall"), children: /* @__PURE__ */ re(u1, { size: 20 }) })
|
|
51973
51973
|
] })
|
|
51974
51974
|
] }),
|
|
@@ -51985,7 +51985,7 @@ function z5({ agent: s, language: e, onRestore: t, onClose: i, isListening: a, i
|
|
|
51985
51985
|
!x && /* @__PURE__ */ re("span", { className: "rqmii-chat-minimized-time", children: oT(m) }),
|
|
51986
51986
|
/* @__PURE__ */ Ut("div", { className: "rqmii-chat-minimized-actions", children: [
|
|
51987
51987
|
/* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-circle-button", onClick: t, "aria-label": rn(e, "maximize"), children: /* @__PURE__ */ re(LD, { size: 20 }) }),
|
|
51988
|
-
!x && /* @__PURE__ */ re("button", { type: "button", className: Zn("rqmii-chat-circle-button", d && "is-active"), onClick: f, "aria-label": a ? rn(e, "stopVoice") : rn(e, "startVoice"), children: a ? /* @__PURE__ */ re(
|
|
51988
|
+
!x && /* @__PURE__ */ re("button", { type: "button", className: Zn("rqmii-chat-circle-button", d && "is-active"), onClick: f, "aria-label": a ? rn(e, "stopVoice") : rn(e, "startVoice"), children: a ? /* @__PURE__ */ re(kx, { size: 20 }) : /* @__PURE__ */ re(c1, { size: 20 }) }),
|
|
51989
51989
|
/* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-circle-button is-danger", onClick: i, "aria-label": rn(e, "endCall"), children: /* @__PURE__ */ re(u1, { size: 20 }) })
|
|
51990
51990
|
] })
|
|
51991
51991
|
] });
|
|
@@ -52031,7 +52031,7 @@ function B5({
|
|
|
52031
52031
|
className: "rqmii-chat-circle-button",
|
|
52032
52032
|
onClick: d,
|
|
52033
52033
|
"aria-label": rn(e, "minimize"),
|
|
52034
|
-
children: /* @__PURE__ */ re(
|
|
52034
|
+
children: /* @__PURE__ */ re(Dx, { size: 20 })
|
|
52035
52035
|
}
|
|
52036
52036
|
),
|
|
52037
52037
|
L && /* @__PURE__ */ re(
|
|
@@ -52042,7 +52042,7 @@ function B5({
|
|
|
52042
52042
|
onClick: f,
|
|
52043
52043
|
disabled: g,
|
|
52044
52044
|
"aria-label": rn(e, "startVoice"),
|
|
52045
|
-
children: g ? /* @__PURE__ */ re(
|
|
52045
|
+
children: g ? /* @__PURE__ */ re(Px, { className: "rqmii-chat-spin", size: 20 }) : /* @__PURE__ */ re(d1, { size: 20 })
|
|
52046
52046
|
}
|
|
52047
52047
|
)
|
|
52048
52048
|
] });
|
|
@@ -52064,7 +52064,7 @@ function B5({
|
|
|
52064
52064
|
] }),
|
|
52065
52065
|
/* @__PURE__ */ re(cT, { messages: a, language: e }),
|
|
52066
52066
|
z,
|
|
52067
|
-
O && /* @__PURE__ */ re(
|
|
52067
|
+
O && /* @__PURE__ */ re(vS, { language: e, onSend: m }),
|
|
52068
52068
|
/* @__PURE__ */ re(td, { language: e, agent: s })
|
|
52069
52069
|
] });
|
|
52070
52070
|
}
|
|
@@ -52078,13 +52078,13 @@ function BP({ agent: s, language: e, onClose: t }) {
|
|
|
52078
52078
|
/* @__PURE__ */ Ut("div", { className: "rqmii-avatar-controls", children: [
|
|
52079
52079
|
/* @__PURE__ */ re(jo, { agent: s, size: "header", active: d }),
|
|
52080
52080
|
/* @__PURE__ */ re("div", { className: "rqmii-chat-header-spacer" }),
|
|
52081
|
-
/* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-circle-button", disabled: !a, children: /* @__PURE__ */ re(
|
|
52081
|
+
/* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-circle-button", disabled: !a, children: /* @__PURE__ */ re(kx, { size: 20 }) }),
|
|
52082
52082
|
/* @__PURE__ */ re("button", { type: "button", className: "rqmii-chat-circle-button is-danger", onClick: t, children: /* @__PURE__ */ re(f1, { size: 20 }) })
|
|
52083
52083
|
] })
|
|
52084
52084
|
] }),
|
|
52085
52085
|
s.useText && /* @__PURE__ */ Ut("div", { className: "rqmii-avatar-sidebar", children: [
|
|
52086
52086
|
/* @__PURE__ */ re(cT, { messages: f, language: e }),
|
|
52087
|
-
/* @__PURE__ */ re(
|
|
52087
|
+
/* @__PURE__ */ re(vS, { language: e, onSend: m, variant: "compact" }),
|
|
52088
52088
|
/* @__PURE__ */ re(td, { language: e, agent: s })
|
|
52089
52089
|
] })
|
|
52090
52090
|
] });
|
|
@@ -52156,7 +52156,7 @@ function uT({
|
|
|
52156
52156
|
initialText: S,
|
|
52157
52157
|
autoStartVoice: w
|
|
52158
52158
|
}) {
|
|
52159
|
-
const [k, C] = Gt(!1), T = g ||
|
|
52159
|
+
const [k, C] = Gt(!1), T = g || Rx(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);
|
|
@@ -52203,7 +52203,7 @@ function uT({
|
|
|
52203
52203
|
setVoiceStarted: z,
|
|
52204
52204
|
setConversationStarted: O
|
|
52205
52205
|
};
|
|
52206
|
-
return M ? /* @__PURE__ */ re(
|
|
52206
|
+
return M ? /* @__PURE__ */ re(l1, { children: M(dt) }) : /* @__PURE__ */ re(V5, { ...dt, connecting: I, connectError: V, visualViewportHeight: le, onCloseWidget: c ?? a, initiateVoice: Ue });
|
|
52207
52207
|
}
|
|
52208
52208
|
function V5({ agent: s, language: e, languages: t, chatKind: i, sdk: a, onLanguageChange: c, onClose: d, onMinimize: f, onRestore: m, onSend: g, voiceStarted: v, conversationStarted: M, isMinimized: x, elapsed: S, setVoiceStarted: w, setConversationStarted: k, visualViewportHeight: C, connecting: T = !1, connectError: D = null, onCloseWidget: z, initiateVoice: L }) {
|
|
52209
52209
|
const O = s.widget?.behavior?.typing_indicator_enabled ?? !0, U = i === "text" ? a.waitingForResponse && O : !1, H = a.messages;
|
|
@@ -52215,10 +52215,10 @@ function V5({ agent: s, language: e, languages: t, chatKind: i, sdk: a, onLangua
|
|
|
52215
52215
|
if (i === "voice")
|
|
52216
52216
|
return /* @__PURE__ */ re(L5, { agent: s, language: e, languages: t, onLanguageChange: c, onClose: z, isAudioPlaying: a.isAudioPlaying, isVoiceSetupLoading: a.isVoiceSetupLoading || T, onStartVoice: L, visualViewportHeight: C });
|
|
52217
52217
|
if (!M && (a.messages.length === 0 || T)) {
|
|
52218
|
-
const I = s.conversation?.suggested_messages?.[e]?.filter((
|
|
52219
|
-
g?.(
|
|
52220
|
-
};
|
|
52221
|
-
return /* @__PURE__ */ re(D5, { agent: s, language: e, languages: t, onLanguageChange: c, onClose: z, onSend: g, isVoiceEnabled:
|
|
52218
|
+
const I = s.conversation?.suggested_messages?.[e]?.filter((q) => q.trim()) || void 0, F = (q) => {
|
|
52219
|
+
g?.(q);
|
|
52220
|
+
}, V = i === "text_and_voice" || Rx(s) === "text_and_voice";
|
|
52221
|
+
return /* @__PURE__ */ re(D5, { agent: s, language: e, languages: t, onLanguageChange: c, onClose: z, onSend: g, isVoiceEnabled: V, isAudioPlaying: a.isAudioPlaying, isVoiceSetupLoading: a.isVoiceSetupLoading || T, onStartVoice: L, visualViewportHeight: C, disabled: T, error: D || void 0, suggestions: I, onSuggestionClick: F, compact: !!I });
|
|
52222
52222
|
}
|
|
52223
52223
|
return /* @__PURE__ */ re(I5, { agent: s, language: e, onEndSession: d, messages: H, partialTranscript: F5(a.partialTranscript), onSend: g, isAudioPlaying: a.isAudioPlaying, isVoiceEnabled: i === "text_and_voice", isListening: a.isVoiceActive, isSpeaking: a.vad.isSpeaking, isLoading: a.vad.isLoading, isAgentThinking: a.isAgentThinking, isAgentSpeaking: a.isAgentSpeaking, onToggleVoice: a.toggleVoice, onStartVoice: a.startVoice, onMinimize: f, elapsed: S, visualViewportHeight: C, waitingForResponse: U });
|
|
52224
52224
|
}
|
|
@@ -52510,10 +52510,10 @@ function J5({ restUrl: s, identifier: e, fallbackAgent: t, withCredentials: i =
|
|
|
52510
52510
|
return g(null), mD({ restUrl: s, identifier: e, withCredentials: i, signal: v.signal }).then(f).catch((M) => {
|
|
52511
52511
|
v.signal.aborted || (g(M), c?.(M));
|
|
52512
52512
|
}), () => v.abort();
|
|
52513
|
-
}, [t, e, c, s, i]), m ? /* @__PURE__ */ re("div", { className: "rqmii-chat-panel rqmii-chat-panel--error", children: m.message || "Could not load agent" }) : d ? /* @__PURE__ */ re(
|
|
52513
|
+
}, [t, e, c, s, i]), m ? /* @__PURE__ */ re("div", { className: "rqmii-chat-panel rqmii-chat-panel--error", children: m.message || "Could not load agent" }) : d ? /* @__PURE__ */ re(l1, { children: a(d) }) : /* @__PURE__ */ re("div", { className: "rqmii-chat-panel rqmii-chat-panel--error", children: "Loading" });
|
|
52514
52514
|
}
|
|
52515
|
-
function
|
|
52516
|
-
const k =
|
|
52515
|
+
function o1({ agent: s, language: e, languages: t, onLanguageChange: i, onEndSession: a, onMinimize: c, onStartText: d, onStartVoice: f, textOnly: m, messages: g, onSendMessage: v, isPreview: M, onSessionStart: x, initialText: S, autoStartVoice: w }) {
|
|
52516
|
+
const k = Rx(s), C = { agent: s, language: e, languages: t, onLanguageChange: i, onEndSession: a, onMinimize: c, messages: g, onSendMessage: v, isPreview: M, onSessionStart: x, initialText: S, autoStartVoice: w };
|
|
52517
52517
|
switch (k) {
|
|
52518
52518
|
case "avatar":
|
|
52519
52519
|
return /* @__PURE__ */ re(j5, { ...C });
|
|
@@ -52568,9 +52568,9 @@ function Q5({
|
|
|
52568
52568
|
};
|
|
52569
52569
|
if (!c)
|
|
52570
52570
|
return /* @__PURE__ */ re(LP, { agent: s, onClick: d, active: S === "connected" });
|
|
52571
|
-
const Ue =
|
|
52571
|
+
const Ue = Rx(s), dt = s.agentType === "cloud_avatar" || s.agentType === "desktop_avatar", ot = i === "text";
|
|
52572
52572
|
return dt ? /* @__PURE__ */ re(
|
|
52573
|
-
|
|
52573
|
+
o1,
|
|
52574
52574
|
{
|
|
52575
52575
|
agent: s,
|
|
52576
52576
|
language: e,
|
|
@@ -52614,7 +52614,7 @@ function Q5({
|
|
|
52614
52614
|
onTellUsMore: () => _(!0)
|
|
52615
52615
|
}
|
|
52616
52616
|
) : /* @__PURE__ */ re(
|
|
52617
|
-
|
|
52617
|
+
o1,
|
|
52618
52618
|
{
|
|
52619
52619
|
agent: s,
|
|
52620
52620
|
language: e,
|
|
@@ -52743,7 +52743,7 @@ function o6({ agent: s, language: e, open: t = !0, className: i = "", messages:
|
|
|
52743
52743
|
}, [e]), An(() => {
|
|
52744
52744
|
g(t);
|
|
52745
52745
|
}, [t]), /* @__PURE__ */ re(ak, { wsUrl: "", restUrl: "", enableAudio: !1, children: /* @__PURE__ */ re("div", { className: Zn("rqmii-chat-surface is-preview", i), dir: "ltr", children: m ? /* @__PURE__ */ re(
|
|
52746
|
-
|
|
52746
|
+
o1,
|
|
52747
52747
|
{
|
|
52748
52748
|
agent: f,
|
|
52749
52749
|
language: v,
|
|
@@ -52764,7 +52764,7 @@ export {
|
|
|
52764
52764
|
u6 as EpicPixelStreamingPlayer,
|
|
52765
52765
|
k5 as FeedbackPanel,
|
|
52766
52766
|
nC as RQMII_BUILTIN_FACES,
|
|
52767
|
-
|
|
52767
|
+
Nw as RQMII_CHAT_LANGUAGES,
|
|
52768
52768
|
_E as RQMII_CHAT_LANGUAGE_VALUES,
|
|
52769
52769
|
P5 as RatingBar,
|
|
52770
52770
|
jo as RqmiiAgentAvatar,
|
|
@@ -52787,6 +52787,6 @@ export {
|
|
|
52787
52787
|
rn as getChatText,
|
|
52788
52788
|
Dv as normalizeChatLanguages,
|
|
52789
52789
|
Dm as normalizePublicAgent,
|
|
52790
|
-
|
|
52790
|
+
Rx as resolveChatKind
|
|
52791
52791
|
};
|
|
52792
52792
|
//# sourceMappingURL=ui.js.map
|