@vincentt-xr/sdk 2.0.0-alpha.17 → 2.0.0-alpha.19
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/GROUNDING.md +225 -0
- package/components.json +221 -0
- package/dist/{CanonicalHeadFrame-vn-jM9fG.js → CanonicalHeadFrame-CQe2YX9a.js} +3 -3
- package/dist/{DebuggerUI-DDpU-nBF.js → DebuggerUI-CKYrYmod.js} +1 -1
- package/dist/{FaceRetouch-D2xH5OpW.js → FaceRetouch-l7y4oZBu.js} +4 -4
- package/dist/Scenes-BX0bR1j4.js +44 -0
- package/dist/Scenes-Dtt8UGE8.cjs +1 -0
- package/dist/audio/AudioPlayer.d.ts +2 -1
- package/dist/{bodyMaskMaterial-C3aXItLo.js → bodyMaskMaterial-BOdSJUEM.js} +1 -1
- package/dist/{cache-C85JjyZA.js → cache-Mu-VO_6E.js} +2 -2
- package/dist/components/Button/index.d.ts +23 -0
- package/dist/components/Button/safeLink.d.ts +6 -0
- package/dist/components/HtmlRegion/index.d.ts +8 -0
- package/dist/components/Light/index.d.ts +26 -0
- package/dist/components/Model/index.d.ts +16 -0
- package/dist/components/Object3D/index.d.ts +13 -0
- package/dist/components/PaintedFace/index.d.ts +24 -0
- package/dist/components/ScreenImage/types.d.ts +2 -2
- package/dist/components/ScreenText/types.d.ts +2 -1
- package/dist/components/ThemeProvider/index.d.ts +24 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/{contexts-B5GODwuV.js → contexts-Cl-4dUOI.js} +2 -2
- package/dist/debug-ui/media-source.js +1 -1
- package/dist/debug-ui.cjs +1 -1
- package/dist/debug-ui.js +11 -11
- package/dist/{drawNormalizedCrop-BLfB484W.js → drawNormalizedCrop-D606u5-F.js} +5 -5
- package/dist/editor-defs/definitions.d.ts +2 -0
- package/dist/editor-defs/index.d.ts +3 -0
- package/dist/editor-defs/types.d.ts +54 -0
- package/dist/editor-sample/sample.d.ts +15 -0
- package/dist/editor-scenes.cjs +1 -1
- package/dist/editor-scenes.js +39 -25
- package/dist/entries/core.d.ts +13 -1
- package/dist/entries/face-effects.d.ts +2 -0
- package/dist/face-effects.cjs +68 -68
- package/dist/face-effects.js +1353 -1333
- package/dist/{getFaceInfo-D_tCSQC7.js → getFaceInfo-Mt44zlej.js} +1 -1
- package/dist/{index-B9DdHE4u.js → index-B0EYdofX.js} +1 -1
- package/dist/{index-CTqQJj5p.js → index-BDxJWWyy.js} +85 -85
- package/dist/{index-DlP4xxaT.js → index-Bn72laBn.js} +4 -4
- package/dist/{index-Otoo-rph.js → index-CM3jkleV.js} +240 -223
- package/dist/{index-D10O6vqR.js → index-CbBCl2ZU.js} +2 -2
- package/dist/{index-CNt8esFO.js → index-CicO_Tnw.js} +1 -1
- package/dist/{index-Z5eKEUdE.js → index-D5NbXaCn.js} +4 -4
- package/dist/{index-D_pgrgJg.cjs → index-fDwL47CM.cjs} +3 -3
- package/dist/instructions.js +7 -7
- package/dist/{internal-TD4QhIry.js → internal-BoFDq5hC.js} +3 -3
- package/dist/internal.js +2 -2
- package/dist/{landmarks-vLy5QKt6.js → landmarks-C3LvDhMt.js} +1 -1
- package/dist/low-level.js +17 -17
- package/dist/main.cjs +1 -1
- package/dist/main.js +1046 -814
- package/dist/particles.js +5 -5
- package/dist/product.js +2 -2
- package/dist/{providers-DmJlgrDD.js → providers-Bxt_MfPK.js} +3 -3
- package/dist/{renderGroups-BcQYy_J2.js → renderGroups-uYPzUa66.js} +1 -1
- package/dist/{renderPasses-DIPTIU_x.js → renderPasses-C0wu5Cwg.js} +4 -4
- package/dist/scene-object.js +2 -2
- package/dist/scenes/Scenes.d.ts +17 -0
- package/dist/scenes/edit.d.ts +9 -1
- package/dist/{segmentation-CZs5aVvY.js → segmentation-DccvYBBO.js} +9 -9
- package/dist/{selectors-K5JKCWxw.js → selectors-J06V0eDb.js} +1 -1
- package/dist/{session-DHBNTyJJ.js → session-CYiWfcvz.js} +1 -1
- package/dist/tracking.js +25 -25
- package/dist/{trigger-BwZ81ENx.js → trigger-CQviD4xp.js} +155 -155
- package/dist/{useBodies-BMKHXAOL.js → useBodies-DOuwRuew.js} +2 -2
- package/dist/{useFaceInfo-BNVdnprN.js → useFaceInfo-XUGYTdfN.js} +4 -4
- package/dist/{useFaceResultReader-B15wn6RB.js → useFaceResultReader-D8wXbF1L.js} +1 -1
- package/dist/{useIrisTracking-CYm-KDIZ.js → useIrisTracking-B0uLWgNE.js} +10 -10
- package/dist/{useXRCapabilities-ClWlG5_Y.js → useXRCapabilities-DPUOvpdf.js} +1 -1
- package/package.json +6 -2
- package/settings.json +1 -1
- package/dist/Scenes-B30XZfTq.js +0 -29
- package/dist/Scenes-BLL7YvLw.cjs +0 -1
|
@@ -2,19 +2,19 @@ var Ls = Object.defineProperty;
|
|
|
2
2
|
var Hs = (t, e, n) => e in t ? Ls(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var B = (t, e, n) => Hs(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
4
|
import { useCallback as Kn, useMemo as K, createContext as oe, useRef as st, useEffect as Z, useContext as qt, useState as Vs } from "react";
|
|
5
|
-
import { p as Bs, u as Fs } from "./useFaceResultReader-
|
|
5
|
+
import { p as Bs, u as Fs } from "./useFaceResultReader-D8wXbF1L.js";
|
|
6
6
|
import { jsx as at, jsxs as ie, Fragment as Ws } from "react/jsx-runtime";
|
|
7
7
|
import { useThree as Ot, useFrame as ye, createPortal as Pe } from "@react-three/fiber";
|
|
8
8
|
import * as c from "three";
|
|
9
|
-
import { e as ut, j as Et,
|
|
9
|
+
import { e as ut, j as Et, T as $e, B as m, t as Jt, J as re, H as Je, A as Us, k as Ps } from "./index-BDxJWWyy.js";
|
|
10
10
|
import { c as Yn } from "./SkeletonUtils-C2r90MtN.js";
|
|
11
|
-
import { b as te, f as $n } from "./selectors-
|
|
12
|
-
import { u as qs } from "./useBodies-
|
|
11
|
+
import { b as te, f as $n } from "./selectors-J06V0eDb.js";
|
|
12
|
+
import { u as qs } from "./useBodies-DOuwRuew.js";
|
|
13
13
|
import { a as de, s as Xe, L as Cs } from "./useLandmarkPoseFit-Bmb3h6Mw.js";
|
|
14
14
|
import { R as zs } from "./uv-DJU_XfmN.js";
|
|
15
|
-
import { u as ee } from "./landmarks-
|
|
16
|
-
import { S as be } from "./providers-
|
|
17
|
-
import { b as js, y as Gs, z as Qs, H as Ze, v as Ks, x as Ys, o as $s, B as tn, k as Js, a as Xs, e as ft, r as Jn, m as Zs } from "./index-
|
|
15
|
+
import { u as ee } from "./landmarks-C3LvDhMt.js";
|
|
16
|
+
import { S as be } from "./providers-Bxt_MfPK.js";
|
|
17
|
+
import { b as js, y as Gs, z as Qs, H as Ze, v as Ks, x as Ys, o as $s, B as tn, k as Js, a as Xs, e as ft, r as Jn, m as Zs } from "./index-B0EYdofX.js";
|
|
18
18
|
import { g as to, r as en, c as eo, s as Xn, a as no } from "./detector-K8aej4MB.js";
|
|
19
19
|
const _a = ({
|
|
20
20
|
node: t,
|
|
@@ -46,8 +46,8 @@ const _a = ({
|
|
|
46
46
|
a /= f, l /= f, h /= f, u /= f;
|
|
47
47
|
let d = 0, g = 0, M = 0;
|
|
48
48
|
for (let E = 0; E < f; E += 1) {
|
|
49
|
-
const
|
|
50
|
-
d +=
|
|
49
|
+
const T = o[E].x - h, J = -o[E].y - u, H = i(E) - a, C = r(E) - l;
|
|
50
|
+
d += T * H + J * C, g += T * C - J * H, M += T * T + J * J;
|
|
51
51
|
}
|
|
52
52
|
const _ = Math.hypot(d, g) / Math.max(M, 1e-12), w = ut.wrist, x = ut.middleMcp, L = i(w) - i(x), V = r(w) - r(x), N = Math.hypot(L, V), W = Math.hypot(
|
|
53
53
|
o[w].x - o[x].x,
|
|
@@ -93,13 +93,13 @@ const _a = ({
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
if (v === null) return null;
|
|
96
|
-
let b = !1,
|
|
96
|
+
let b = !1, R = !1;
|
|
97
97
|
const A = (j) => {
|
|
98
98
|
let Q = v;
|
|
99
99
|
for (; ; ) {
|
|
100
100
|
const $ = g(_t(y, p, Q + j * u));
|
|
101
101
|
if ($ === null)
|
|
102
|
-
return b = !0,
|
|
102
|
+
return b = !0, R = !0, Q;
|
|
103
103
|
if (!$) return Q;
|
|
104
104
|
if (Q += j * u, Math.abs(Q - v) > f)
|
|
105
105
|
return b = !0, Q;
|
|
@@ -111,14 +111,14 @@ const _a = ({
|
|
|
111
111
|
a: _t(y, p, D),
|
|
112
112
|
b: _t(y, p, F),
|
|
113
113
|
ok: !b && I >= d && I <= f,
|
|
114
|
-
cut:
|
|
114
|
+
cut: R
|
|
115
115
|
};
|
|
116
116
|
}, _ = (y, k) => k.map((p) => M(_t(o, y, p * r), y)), w = (y) => {
|
|
117
117
|
const k = _(y, s.along), p = k.filter((I) => I == null ? void 0 : I.ok).length, v = k.some((I) => I === null || I.cut);
|
|
118
118
|
if (p >= 2 || !v) return k;
|
|
119
|
-
const b = Math.max(...s.along),
|
|
120
|
-
for (let I = nn; I <= b; I += nn)
|
|
121
|
-
const A = _(y,
|
|
119
|
+
const b = Math.max(...s.along), R = [];
|
|
120
|
+
for (let I = nn; I <= b; I += nn) R.push(I);
|
|
121
|
+
const A = _(y, R), D = A.filter((I) => I == null ? void 0 : I.ok).length, F = R.filter((I, q) => {
|
|
122
122
|
var j;
|
|
123
123
|
return (j = A[q]) == null ? void 0 : j.ok;
|
|
124
124
|
}).pop() ?? 0;
|
|
@@ -127,20 +127,20 @@ const _a = ({
|
|
|
127
127
|
const k = [o, ...y.filter((I) => !!(I != null && I.ok)).map((I) => I.mid)];
|
|
128
128
|
if (k.length < 3) return null;
|
|
129
129
|
const p = k.reduce((I, q) => I + q.x, 0) / k.length, v = k.reduce((I, q) => I + q.y, 0) / k.length;
|
|
130
|
-
let b = 0,
|
|
130
|
+
let b = 0, R = 0, A = 0;
|
|
131
131
|
for (const I of k)
|
|
132
|
-
b += (I.x - p) ** 2,
|
|
133
|
-
const D = 0.5 * Math.atan2(2 *
|
|
132
|
+
b += (I.x - p) ** 2, R += (I.x - p) * (I.y - v), A += (I.y - v) ** 2;
|
|
133
|
+
const D = 0.5 * Math.atan2(2 * R, b - A), F = { x: Math.cos(D), y: Math.sin(D) };
|
|
134
134
|
return F.x * i.x + F.y * i.y < 0 ? { x: -F.x, y: -F.y } : F;
|
|
135
135
|
}, L = s.maxTurn * Math.PI / 180, V = (y) => Math.atan2(i.x * y.y - i.y * y.x, i.x * y.x + i.y * y.y), N = (y) => ({
|
|
136
136
|
x: i.x * Math.cos(y) - i.y * Math.sin(y),
|
|
137
137
|
y: i.x * Math.sin(y) + i.y * Math.cos(y)
|
|
138
138
|
}), E = w((() => {
|
|
139
139
|
const y = L + 40 * Math.PI / 180, k = so * r, p = Math.min(1 * Math.PI / 180, u / k), v = Math.ceil(y / p), b = [];
|
|
140
|
-
let
|
|
140
|
+
let R = null;
|
|
141
141
|
for (let I = -v; I <= v + 1; I += 1) {
|
|
142
142
|
const q = I * p, j = I <= v && g(_t(o, N(q), k)) === !0;
|
|
143
|
-
j &&
|
|
143
|
+
j && R === null && (R = q), !j && R !== null && (R > -v * p && q <= v * p && b.push([R, q - p]), R = null);
|
|
144
144
|
}
|
|
145
145
|
const A = ([I, q]) => (q - I) * k, D = b.filter((I) => A(I) >= d && A(I) <= f * 1.5);
|
|
146
146
|
if (!D.length) return null;
|
|
@@ -149,16 +149,16 @@ const _a = ({
|
|
|
149
149
|
);
|
|
150
150
|
return N((F[0] + F[1]) / 2);
|
|
151
151
|
})() ?? i);
|
|
152
|
-
let
|
|
153
|
-
if (!
|
|
154
|
-
const J = w(
|
|
155
|
-
H && Math.abs(V(H)) <= L && (
|
|
156
|
-
const C = H ? J : E, tt = C.filter((y) => !!(y != null && y.ok)), Y = M(_t(o,
|
|
152
|
+
let T = x(E);
|
|
153
|
+
if (!T || Math.abs(V(T)) > L) return null;
|
|
154
|
+
const J = w(T), H = x(J);
|
|
155
|
+
H && Math.abs(V(H)) <= L && (T = H);
|
|
156
|
+
const C = H ? J : E, tt = C.filter((y) => !!(y != null && y.ok)), Y = M(_t(o, T, s.widthAt * r), T), ot = tt.map((y) => y.width);
|
|
157
157
|
Y != null && Y.ok && ot.push(Y.width), ot.sort((y, k) => y - k);
|
|
158
|
-
const z = ot[ot.length >> 1], rt = Y != null && Y.ok ? Y.mid : _t(o,
|
|
158
|
+
const z = ot[ot.length >> 1], rt = Y != null && Y.ok ? Y.mid : _t(o, T, s.widthAt * r), S = C.filter((y) => !!y).map(({ a: y, b: k, ok: p }) => ({ a: y, b: k, ok: p }));
|
|
159
159
|
return Y && S.push({ a: Y.a, b: Y.b, ok: Y.ok }), {
|
|
160
|
-
direction:
|
|
161
|
-
bend: V(
|
|
160
|
+
direction: T,
|
|
161
|
+
bend: V(T),
|
|
162
162
|
width: z / r,
|
|
163
163
|
center: rt,
|
|
164
164
|
confidence: tt.length / Math.max(1, s.along.length),
|
|
@@ -382,7 +382,7 @@ const uo = 15, Fe = (t) => {
|
|
|
382
382
|
}), ka = (t) => {
|
|
383
383
|
const e = t[ut.wrist], n = t[ut.middleTip];
|
|
384
384
|
return Math.hypot(n.x - e.x, n.y - e.y, n.z - e.z);
|
|
385
|
-
},
|
|
385
|
+
}, Ta = (t, e, n = { width: 0, depth: 0 }) => {
|
|
386
386
|
const s = Math.min(1, Math.max(0, e)), o = s <= rn ? s / rn : 1, i = o * o * (3 - 2 * o);
|
|
387
387
|
return n.width = t.wrist.width + (t.elbow.width - t.wrist.width) * i, n.depth = t.wrist.depth + (t.elbow.depth - t.wrist.depth) * i, n;
|
|
388
388
|
}, Mo = { d: new c.Vector3() }, os = (t, e = { flexion: 0, deviation: 0 }) => {
|
|
@@ -413,7 +413,7 @@ const uo = 15, Fe = (t) => {
|
|
|
413
413
|
ht.inv.copy(n).invert();
|
|
414
414
|
const s = t.restPositions;
|
|
415
415
|
return ht.y.subVectors(s[ut.middleMcp], s[ut.wrist]).applyQuaternion(ht.inv).normalize(), ht.z.copy(t.restPalmNormal).applyQuaternion(ht.inv), ht.z.addScaledVector(ht.y, -ht.z.dot(ht.y)).normalize(), ht.x.crossVectors(ht.y, ht.z), ht.basis.makeBasis(ht.x, ht.y, ht.z), e.position.set(0, 0, 0), e.quaternion.setFromRotationMatrix(ht.basis), e;
|
|
416
|
-
}, Eo = 2.5, ko = 1.25,
|
|
416
|
+
}, Eo = 2.5, ko = 1.25, To = 0.15, Ro = Object.freeze({
|
|
417
417
|
jump: 35,
|
|
418
418
|
confirmMs: 200,
|
|
419
419
|
confirmSamples: 4,
|
|
@@ -425,7 +425,7 @@ class Oo {
|
|
|
425
425
|
B(this, "q", new c.Quaternion());
|
|
426
426
|
B(this, "has", !1);
|
|
427
427
|
B(this, "pending", null);
|
|
428
|
-
this.settings = { ...
|
|
428
|
+
this.settings = { ...Ro, ...e };
|
|
429
429
|
}
|
|
430
430
|
/**
|
|
431
431
|
* Filters this frame's wrist rotation (`target`) at `nowMs`; writes into
|
|
@@ -627,13 +627,13 @@ const Fo = (t) => {
|
|
|
627
627
|
[L]
|
|
628
628
|
);
|
|
629
629
|
E && x && (E.mask = V, E.turn = x.turn ?? !0, E.fitWidth = x.fitWidth ?? !0, E.tracker.settings = { ...ts, ...pn(x, Po) });
|
|
630
|
-
const
|
|
631
|
-
|
|
630
|
+
const T = st({});
|
|
631
|
+
T.current = x ? pn(x, Go) : {};
|
|
632
632
|
const J = st(null), H = K(() => {
|
|
633
|
-
const
|
|
634
|
-
return
|
|
633
|
+
const R = Yn(e);
|
|
634
|
+
return R.traverse((A) => {
|
|
635
635
|
A.frustumCulled = !1, A instanceof c.Mesh && (A.userData[we] = !0);
|
|
636
|
-
}),
|
|
636
|
+
}), R;
|
|
637
637
|
}, [e]), C = K(() => js(H, n), [H, n]), tt = K(
|
|
638
638
|
() => new Bo(C, Fo(C)),
|
|
639
639
|
[C]
|
|
@@ -641,27 +641,27 @@ const Fo = (t) => {
|
|
|
641
641
|
tt.arm = E, d && (tt.shared = qo(d));
|
|
642
642
|
const Y = st(1);
|
|
643
643
|
Y.current = w.width / Math.max(1, w.height);
|
|
644
|
-
const ot = Ot((
|
|
644
|
+
const ot = Ot((R) => R.scene);
|
|
645
645
|
Z(
|
|
646
646
|
() => de(
|
|
647
647
|
ot,
|
|
648
|
-
(
|
|
648
|
+
(R, A, D) => tt.solve(D, Y.current)
|
|
649
649
|
),
|
|
650
650
|
[ot, tt]
|
|
651
651
|
);
|
|
652
652
|
const z = K(() => Gs(C), [C]), rt = st(l);
|
|
653
653
|
rt.current = l, Z(() => {
|
|
654
|
-
var
|
|
655
|
-
return (
|
|
654
|
+
var R;
|
|
655
|
+
return (R = rt.current) == null ? void 0 : R.call(rt, H);
|
|
656
656
|
}, [H]);
|
|
657
657
|
const S = K(() => {
|
|
658
|
-
const
|
|
658
|
+
const R = /* @__PURE__ */ new Map();
|
|
659
659
|
return H.traverse((A) => {
|
|
660
|
-
A instanceof c.Mesh &&
|
|
661
|
-
}),
|
|
660
|
+
A instanceof c.Mesh && R.set(A, A.material);
|
|
661
|
+
}), R;
|
|
662
662
|
}, [H]);
|
|
663
663
|
Z(() => {
|
|
664
|
-
for (const [
|
|
664
|
+
for (const [R, A] of S) R.material = a ?? A;
|
|
665
665
|
}, [a, S]);
|
|
666
666
|
const y = st(void 0), k = st({
|
|
667
667
|
tracked: !1,
|
|
@@ -671,12 +671,12 @@ const Fo = (t) => {
|
|
|
671
671
|
mirrored: !1
|
|
672
672
|
}), p = st({}), v = st({}), b = st({});
|
|
673
673
|
return ye(() => {
|
|
674
|
-
var lt, wt, Mt,
|
|
675
|
-
const
|
|
676
|
-
if (!
|
|
674
|
+
var lt, wt, Mt, Tt;
|
|
675
|
+
const R = J.current;
|
|
676
|
+
if (!R) return;
|
|
677
677
|
const A = ((lt = d == null ? void 0 : d.getHandPose) == null ? void 0 : lt.call(d, t)) ?? ((wt = d == null ? void 0 : d.poses) == null ? void 0 : wt[t]) ?? null, D = A && A.world.length >= 21 && A.image.length >= 21 && (i || !A.held), F = k.current;
|
|
678
678
|
if (tt.tick(A == null ? void 0 : A.timestampMs), !D) {
|
|
679
|
-
|
|
679
|
+
R.visible = !1, tt.reset(), E == null || E.tracker.reset(), Xe(F, null, s, z) && (r == null || r(!1));
|
|
680
680
|
return;
|
|
681
681
|
}
|
|
682
682
|
const I = w.width / Math.max(1, w.height);
|
|
@@ -690,8 +690,8 @@ const Fo = (t) => {
|
|
|
690
690
|
E.tracker.weight > 0 ? ((Mt = E.tracker.last) == null ? void 0 : Mt.direction) ?? null : null
|
|
691
691
|
)
|
|
692
692
|
);
|
|
693
|
-
const
|
|
694
|
-
(
|
|
693
|
+
const Rt = (V == null ? void 0 : V.refresh(et)) ?? !1, xt = (W == null ? void 0 : W.refresh(et)) ?? !1;
|
|
694
|
+
(Rt || xt) && !(V && E.tracker.measure(V, V.timestampMs, T.current)) && W && E.tracker.measure(W, W.timestampMs, T.current), E.tracker.step(et);
|
|
695
695
|
}
|
|
696
696
|
const q = Qs(C, A, _, M, y.current);
|
|
697
697
|
y.current = q, F.tracked && F.mirrored !== q.mirrored && (F.tracked = !1);
|
|
@@ -699,16 +699,16 @@ const Fo = (t) => {
|
|
|
699
699
|
F.mirrored = q.mirrored, j && (r == null || r(!0));
|
|
700
700
|
const Q = c.MathUtils.clamp(s, 0.01, 1), $ = Math.min(Q, 0.1), it = v.current;
|
|
701
701
|
for (const { name: et } of Ze) {
|
|
702
|
-
const
|
|
703
|
-
if (!
|
|
704
|
-
const At = (
|
|
705
|
-
j || Q >= 1 ? At.copy(
|
|
702
|
+
const Rt = q.local[et], xt = C.bones[et];
|
|
703
|
+
if (!Rt || !xt) continue;
|
|
704
|
+
const At = (Tt = p.current)[et] ?? (Tt[et] = Rt.clone());
|
|
705
|
+
j || Q >= 1 ? At.copy(Rt) : At.slerp(Rt, Q), xt.quaternion.copy(At);
|
|
706
706
|
const Kt = o === "tracked" ? q.lengths[et] ?? 1 : 1, zt = it[et];
|
|
707
707
|
it[et] = j || zt === void 0 ? Kt : zt + (Kt - zt) * $;
|
|
708
708
|
}
|
|
709
709
|
const X = b.current;
|
|
710
|
-
for (const { name: et, parent:
|
|
711
|
-
if (
|
|
710
|
+
for (const { name: et, parent: Rt } of Ze) {
|
|
711
|
+
if (Rt !== "wrist") continue;
|
|
712
712
|
const xt = q.knuckles[et];
|
|
713
713
|
if (!xt) continue;
|
|
714
714
|
const At = X[et] ?? (X[et] = xt.clone());
|
|
@@ -718,7 +718,7 @@ const Fo = (t) => {
|
|
|
718
718
|
{ scale: F.scale, quaternion: F.quaternion, translation: F.position },
|
|
719
719
|
F.mirrored,
|
|
720
720
|
Ae
|
|
721
|
-
),
|
|
721
|
+
), R.parent && (R.parent.updateMatrixWorld(), Ae.premultiply(Wo.copy(R.parent.matrixWorld).invert())), R.matrix.copy(Ae), R.matrixWorldNeedsUpdate = !0, R.visible = !0;
|
|
722
722
|
}), /* @__PURE__ */ at(Me.Provider, { value: C, children: /* @__PURE__ */ at(as.Provider, { value: t, children: /* @__PURE__ */ ie(rs.Provider, { value: tt, children: [
|
|
723
723
|
/* @__PURE__ */ at("group", { ref: J, matrixAutoUpdate: !1, visible: !1, children: /* @__PURE__ */ at("primitive", { object: H }) }),
|
|
724
724
|
f
|
|
@@ -988,11 +988,11 @@ const fn = [
|
|
|
988
988
|
1
|
|
989
989
|
), W = Math.sqrt(1 - N * N);
|
|
990
990
|
w.copy(u).addScaledVector(M, x * N).addScaledVector(_, x * W), Ft(t, a, bt.upper), Ft(t, l, bt.lower), Ft(t, h, bt.end), bt.q.setFromUnitVectors(f.clone().sub(u).normalize(), w.clone().sub(u).normalize()), Xt(t, a, bt.q.clone().multiply(bt.upper));
|
|
991
|
-
const E = d.clone().sub(u).applyQuaternion(bt.q).add(u),
|
|
991
|
+
const E = d.clone().sub(u).applyQuaternion(bt.q).add(u), T = new c.Quaternion().setFromUnitVectors(
|
|
992
992
|
E.sub(w).normalize(),
|
|
993
993
|
g.clone().sub(w).normalize()
|
|
994
994
|
);
|
|
995
|
-
Xt(t, l,
|
|
995
|
+
Xt(t, l, T.multiply(bt.q).multiply(bt.lower)), Xt(t, h, bt.end);
|
|
996
996
|
}, ze = (t) => {
|
|
997
997
|
var o;
|
|
998
998
|
const e = (o = Ce(t)) == null ? void 0 : o.center;
|
|
@@ -1273,8 +1273,8 @@ const fn = [
|
|
|
1273
1273
|
l[v] = b.clone().multiply(a(v));
|
|
1274
1274
|
}, f = (v) => {
|
|
1275
1275
|
t.bones[v] && u(v, h(t.boundParent[v]));
|
|
1276
|
-
}, d = (v, b,
|
|
1277
|
-
const A = h(t.boundParent[v]), D = b.clone().normalize().applyQuaternion(A), F =
|
|
1276
|
+
}, d = (v, b, R) => {
|
|
1277
|
+
const A = h(t.boundParent[v]), D = b.clone().normalize().applyQuaternion(A), F = R.clone(), I = new c.Quaternion();
|
|
1278
1278
|
F.lengthSq() > 1e-12 && I.setFromUnitVectors(D, F.normalize()), u(v, I.multiply(A));
|
|
1279
1279
|
}, g = i(m.leftHip), M = i(m.rightHip), _ = i(m.leftShoulder), w = i(m.rightShoulder), x = Ut(_, w, mt()).sub(Ut(g, M, mt())), L = r("leftUpLeg").clone().sub(r("rightUpLeg")), V = r("leftArm").clone().sub(r("rightArm")), N = Ut(r("leftArm"), r("rightArm"), mt()).sub(
|
|
1280
1280
|
Ut(r("leftUpLeg"), r("rightUpLeg"), mt())
|
|
@@ -1292,10 +1292,10 @@ const fn = [
|
|
|
1292
1292
|
new c.Quaternion()
|
|
1293
1293
|
);
|
|
1294
1294
|
u("hips", W);
|
|
1295
|
-
const
|
|
1295
|
+
const T = W.clone().invert().multiply(E);
|
|
1296
1296
|
t.spine.forEach((v, b) => {
|
|
1297
|
-
const
|
|
1298
|
-
u(v, W.clone().multiply(
|
|
1297
|
+
const R = new c.Quaternion().slerp(T, (b + 1) / t.spine.length);
|
|
1298
|
+
u(v, W.clone().multiply(R));
|
|
1299
1299
|
});
|
|
1300
1300
|
const J = t.bones.neck ? "neck" : "head", H = new c.Vector3(0, 1, 0), C = i(m.leftEar).sub(i(m.rightEar)), Y = Ut(i(m.leftEye), i(m.rightEye), mt()).sub(Ut(i(m.leftEar), i(m.rightEar), mt())).clone().cross(C), ot = $t(
|
|
1301
1301
|
V,
|
|
@@ -1308,18 +1308,18 @@ const fn = [
|
|
|
1308
1308
|
"neck",
|
|
1309
1309
|
h(z).multiply(new c.Quaternion().slerp(rt, xi))
|
|
1310
1310
|
), u("head", S)) : u(J, S);
|
|
1311
|
-
const y = new c.Vector3(0, 0, 1), k = (v, b,
|
|
1311
|
+
const y = new c.Vector3(0, 0, 1), k = (v, b, R, A, D, F, I) => {
|
|
1312
1312
|
const q = h(t.boundParent[v]), j = r(b).clone().sub(r(v)), Q = j.clone().cross(I).normalize(), $ = D.clone().sub(A), it = F.clone().sub(D), X = Q.clone().applyQuaternion(q), lt = $.lengthSq() > 1e-12 && it.lengthSq() > 1e-12 ? $.clone().normalize().cross(it.clone().normalize()).length() : 0, wt = Si(Sn[0], Sn[1], lt), Mt = $.clone().cross(it);
|
|
1313
1313
|
Mt.lengthSq() > 1e-12 && Mt.normalize();
|
|
1314
|
-
const
|
|
1315
|
-
X.addScaledVector(
|
|
1314
|
+
const Tt = $.clone().normalize();
|
|
1315
|
+
X.addScaledVector(Tt, -X.dot(Tt)), X.lengthSq() > 1e-12 && X.normalize();
|
|
1316
1316
|
const et = X.clone().multiplyScalar(1 - wt).addScaledVector(Mt, wt);
|
|
1317
|
-
et.lengthSq() < 1e-6 && et.copy(wt > 0.5 ? Mt : X), u(v, $t(j, Q, $, et, new c.Quaternion())), d(b, r(
|
|
1317
|
+
et.lengthSq() < 1e-6 && et.copy(wt > 0.5 ? Mt : X), u(v, $t(j, Q, $, et, new c.Quaternion())), d(b, r(R).clone().sub(r(b)), F.clone().sub(D));
|
|
1318
1318
|
}, p = y.clone().negate();
|
|
1319
1319
|
f("leftShoulder"), f("rightShoulder");
|
|
1320
1320
|
for (const v of ["left", "right"]) {
|
|
1321
|
-
const b = v === "left",
|
|
1322
|
-
k(F, I, q,
|
|
1321
|
+
const b = v === "left", R = i(b ? m.leftShoulder : m.rightShoulder), A = i(b ? m.leftElbow : m.rightElbow), D = i(b ? m.leftWrist : m.rightWrist), F = b ? "leftArm" : "rightArm", I = b ? "leftForeArm" : "rightForeArm", q = b ? "leftHand" : "rightHand";
|
|
1322
|
+
k(F, I, q, R, A, D, y);
|
|
1323
1323
|
const j = i(b ? m.leftIndex : m.rightIndex), Q = i(b ? m.leftPinky : m.rightPinky), $ = t.restHands[q], it = Math.min(
|
|
1324
1324
|
...[
|
|
1325
1325
|
b ? m.leftWrist : m.rightWrist,
|
|
@@ -1337,16 +1337,16 @@ const fn = [
|
|
|
1337
1337
|
), lt = h(I), wt = D.clone().sub(A);
|
|
1338
1338
|
if (wt.lengthSq() > 1e-12) {
|
|
1339
1339
|
wt.normalize();
|
|
1340
|
-
const Mt = X.clone().multiply(lt.clone().invert()),
|
|
1341
|
-
u(I, new c.Quaternion().setFromAxisAngle(wt,
|
|
1340
|
+
const Mt = X.clone().multiply(lt.clone().invert()), Tt = bi(Mt, wt) * vi;
|
|
1341
|
+
u(I, new c.Quaternion().setFromAxisAngle(wt, Tt).multiply(lt));
|
|
1342
1342
|
}
|
|
1343
1343
|
u(q, X);
|
|
1344
1344
|
} else
|
|
1345
1345
|
f(q);
|
|
1346
1346
|
}
|
|
1347
1347
|
for (const v of ["left", "right"]) {
|
|
1348
|
-
const b = v === "left",
|
|
1349
|
-
k(
|
|
1348
|
+
const b = v === "left", R = b ? "leftUpLeg" : "rightUpLeg", A = b ? "leftLeg" : "rightLeg", D = b ? "leftFoot" : "rightFoot", F = b ? "leftToeBase" : "rightToeBase", I = i(b ? m.leftHip : m.rightHip), q = i(b ? m.leftKnee : m.rightKnee), j = i(b ? m.leftAnkle : m.rightAnkle);
|
|
1349
|
+
k(R, A, D, I, q, j, p);
|
|
1350
1350
|
const Q = t.bones[F] ? r(F).clone().sub(r(D)).setY(0) : null;
|
|
1351
1351
|
Q && Q.lengthSq() > 1e-12 ? d(
|
|
1352
1352
|
D,
|
|
@@ -1357,13 +1357,13 @@ const fn = [
|
|
|
1357
1357
|
for (const v of Pt) {
|
|
1358
1358
|
const b = l[v];
|
|
1359
1359
|
if (!b || !t.bones[v]) continue;
|
|
1360
|
-
const
|
|
1360
|
+
const R = h(t.boundParent[v]).multiply(
|
|
1361
1361
|
t.restParentQuaternions[v]
|
|
1362
1362
|
), A = o.local[v] ?? new c.Quaternion();
|
|
1363
|
-
o.local[v] = A.copy(
|
|
1363
|
+
o.local[v] = A.copy(R.invert().multiply(b));
|
|
1364
1364
|
}
|
|
1365
1365
|
return o;
|
|
1366
|
-
},
|
|
1366
|
+
}, Ra = (t, e) => {
|
|
1367
1367
|
for (const n of Pt) {
|
|
1368
1368
|
const s = t.bones[n], o = e.local[n];
|
|
1369
1369
|
s && o && s.quaternion.copy(o);
|
|
@@ -1373,14 +1373,14 @@ const fn = [
|
|
|
1373
1373
|
const n = t.bones[e], s = t.restLocal[e], o = t.restLocalPositions[e], i = t.restLocalScales[e];
|
|
1374
1374
|
n && s && n.quaternion.copy(s), n && o && n.position.copy(o), n && i && n.scale.copy(i);
|
|
1375
1375
|
}
|
|
1376
|
-
}, us = oe(null), _i = "vincenttBodyRigModel", Ei = 0.5, An = 0.1, ki = 1.5, _n = [0.04, 0.08], En = [0, 0.02],
|
|
1376
|
+
}, us = oe(null), _i = "vincenttBodyRigModel", Ei = 0.5, An = 0.1, ki = 1.5, _n = [0.04, 0.08], En = [0, 0.02], Ti = {
|
|
1377
1377
|
torso: [],
|
|
1378
1378
|
head: [m.leftEar, m.rightEar],
|
|
1379
1379
|
leftArm: [m.leftWrist],
|
|
1380
1380
|
rightArm: [m.rightWrist],
|
|
1381
1381
|
leftLeg: [m.leftAnkle],
|
|
1382
1382
|
rightLeg: [m.rightAnkle]
|
|
1383
|
-
},
|
|
1383
|
+
}, Te = (t) => t ? Math.min((t.x + 1) / 2, (1 - t.x) / 2, (t.y + 1) / 2, (1 - t.y) / 2) : -1, Ri = 250, Oi = -1, kn = () => ({
|
|
1384
1384
|
tracked: !1,
|
|
1385
1385
|
missingSinceMs: null,
|
|
1386
1386
|
timestampMs: -1,
|
|
@@ -1437,25 +1437,25 @@ const fn = [
|
|
|
1437
1437
|
active: x = !0,
|
|
1438
1438
|
children: L
|
|
1439
1439
|
}) => {
|
|
1440
|
-
const { read: V } = qs({ bodyIndex: s, bodyId: o, subject: i, numBodies: r, active: x }), N = $n(), W = Ot((S) => S.camera), E = st(null),
|
|
1440
|
+
const { read: V } = qs({ bodyIndex: s, bodyId: o, subject: i, numBodies: r, active: x }), N = $n(), W = Ot((S) => S.camera), E = st(null), T = K(() => {
|
|
1441
1441
|
const S = Yn(t);
|
|
1442
1442
|
return S.traverse((y) => {
|
|
1443
1443
|
y.frustumCulled = !1, y instanceof c.Mesh && (y.userData[_i] = !0);
|
|
1444
1444
|
}), S;
|
|
1445
1445
|
}, [t]), J = JSON.stringify(n ?? {}), H = K(() => {
|
|
1446
|
-
const S = gi(
|
|
1446
|
+
const S = gi(T, n);
|
|
1447
1447
|
return Ce(S), S;
|
|
1448
|
-
}, [
|
|
1448
|
+
}, [T, J]), C = K(() => di(H, e), [H, e]), tt = st(w);
|
|
1449
1449
|
tt.current = w, Z(() => {
|
|
1450
1450
|
var S;
|
|
1451
|
-
return (S = tt.current) == null ? void 0 : S.call(tt,
|
|
1452
|
-
}, [
|
|
1451
|
+
return (S = tt.current) == null ? void 0 : S.call(tt, T);
|
|
1452
|
+
}, [T]);
|
|
1453
1453
|
const Y = K(() => {
|
|
1454
1454
|
const S = /* @__PURE__ */ new Map();
|
|
1455
|
-
return
|
|
1455
|
+
return T.traverse((y) => {
|
|
1456
1456
|
y instanceof c.Mesh && S.set(y, y.material);
|
|
1457
1457
|
}), S;
|
|
1458
|
-
}, [
|
|
1458
|
+
}, [T]);
|
|
1459
1459
|
Z(() => {
|
|
1460
1460
|
for (const [S, y] of Y) S.material = _ ?? y;
|
|
1461
1461
|
}, [_, Y]);
|
|
@@ -1473,7 +1473,7 @@ const fn = [
|
|
|
1473
1473
|
const p = ot.current, v = ((xt = V()) == null ? void 0 : xt.pose) ?? null;
|
|
1474
1474
|
if (!v) {
|
|
1475
1475
|
const U = performance.now();
|
|
1476
|
-
if (p.missingSinceMs ?? (p.missingSinceMs = U), p.tracked && U - p.missingSinceMs <
|
|
1476
|
+
if (p.missingSinceMs ?? (p.missingSinceMs = U), p.tracked && U - p.missingSinceMs < Ri) return;
|
|
1477
1477
|
k.visible = !1, p.tracked && (p.tracked = !1, (At = z.current) == null || At.call(z, !1));
|
|
1478
1478
|
return;
|
|
1479
1479
|
}
|
|
@@ -1486,10 +1486,10 @@ const fn = [
|
|
|
1486
1486
|
for (const [dt, pt] of Object.entries(p.solution.local))
|
|
1487
1487
|
((Kt = p.accepted)[dt] ?? (Kt[dt] = new c.Quaternion())).copy(pt);
|
|
1488
1488
|
}
|
|
1489
|
-
const
|
|
1489
|
+
const R = p.solution, A = p.scene, D = b || a >= 1 ? 1 : 1 - (1 - Math.max(a, 0.01)) ** (y * 60), F = (u == null ? void 0 : u.seen) ?? 0.5, I = (u == null ? void 0 : u.lost) ?? 0.3, q = f > 0 ? y * 1e3 / f : 1;
|
|
1490
1490
|
let j = b;
|
|
1491
1491
|
for (const U of hs) {
|
|
1492
|
-
const dt =
|
|
1492
|
+
const dt = R.confidence[U], pt = Math.min(...Ti[U].map((Dt) => Te(v.image[Dt]))), vt = p.seen[U];
|
|
1493
1493
|
U === "torso" ? p.seen.torso = !0 : dt >= F && pt >= En[1] ? p.seen[U] = !0 : (dt < I || pt < En[0]) && (p.seen[U] = !1), p.seen[U] !== vt && (j = !0);
|
|
1494
1494
|
const St = p.seen[U] ? 1 : 0;
|
|
1495
1495
|
p.weights[U] = b ? St : c.MathUtils.clamp(
|
|
@@ -1500,8 +1500,8 @@ const fn = [
|
|
|
1500
1500
|
}
|
|
1501
1501
|
j && ((zt = rt.current) == null || zt.call(rt, { ...p.seen }));
|
|
1502
1502
|
const Q = Math.min(v.visibility[m.leftHip] ?? 0, v.visibility[m.rightHip] ?? 0), $ = Math.min(
|
|
1503
|
-
|
|
1504
|
-
|
|
1503
|
+
Te(v.image[m.leftHip]),
|
|
1504
|
+
Te(v.image[m.rightHip])
|
|
1505
1505
|
);
|
|
1506
1506
|
Q >= F && $ >= _n[1] ? p.hipsSeen = !0 : (Q < I || $ < _n[0]) && (p.hipsSeen = !1), p.hipsWeight = b ? Number(p.hipsSeen) : c.MathUtils.clamp(p.hipsWeight + (p.hipsSeen ? q : -q), 0, 1);
|
|
1507
1507
|
for (const U of Pt) {
|
|
@@ -1541,43 +1541,43 @@ const fn = [
|
|
|
1541
1541
|
};
|
|
1542
1542
|
vt("leftClavicle"), vt("rightClavicle"), p.weights.head >= 1 && vt("neck");
|
|
1543
1543
|
for (const Dt of fn)
|
|
1544
|
-
p.weights[
|
|
1544
|
+
p.weights[Tn(Dt)] >= 1 && Ii[Dt].forEach(vt);
|
|
1545
1545
|
wn(H, p.lengths, p.chestScale);
|
|
1546
1546
|
const St = p.weights.head >= 1 ? ri(H, A, lt) : null;
|
|
1547
1547
|
St !== null && (p.headScale = p.headScale === null || b ? St : p.headScale + (St - p.headScale) * D * 0.3), xn(H, p.headScale);
|
|
1548
1548
|
} else
|
|
1549
1549
|
wn(H, null), xn(H, null);
|
|
1550
|
-
|
|
1551
|
-
const
|
|
1552
|
-
G.scale.set(p.scale *
|
|
1550
|
+
T.updateMatrixWorld(!0);
|
|
1551
|
+
const Tt = R.mirrored ? -1 : 1;
|
|
1552
|
+
G.scale.set(p.scale * Tt, p.scale, p.scale);
|
|
1553
1553
|
const et = (U, dt, pt, vt, St) => (Bt(H, U, G.anchor), Bt(H, dt, G.right), G.anchor.add(G.right).multiplyScalar(0.5).multiply(G.scale), St.copy(p.points[pt]).add(p.points[vt]).multiplyScalar(0.5).sub(G.anchor));
|
|
1554
|
-
et("leftUpLeg", "rightUpLeg", m.leftHip, m.rightHip, G.fromHips), et("leftArm", "rightArm", m.leftShoulder, m.rightShoulder, G.point), G.point.lerp(G.fromHips, p.hipsWeight), G.matrix.compose(G.point, G.identity, G.scale), k.parent && (k.parent.updateMatrixWorld(), G.matrix.premultiply(G.inverse.copy(k.parent.matrixWorld).invert())), k.matrix.copy(G.matrix), k.matrixWorldNeedsUpdate = !0, k.updateMatrixWorld(!0), G.inverse.copy(
|
|
1554
|
+
et("leftUpLeg", "rightUpLeg", m.leftHip, m.rightHip, G.fromHips), et("leftArm", "rightArm", m.leftShoulder, m.rightShoulder, G.point), G.point.lerp(G.fromHips, p.hipsWeight), G.matrix.compose(G.point, G.identity, G.scale), k.parent && (k.parent.updateMatrixWorld(), G.matrix.premultiply(G.inverse.copy(k.parent.matrixWorld).invert())), k.matrix.copy(G.matrix), k.matrixWorldNeedsUpdate = !0, k.updateMatrixWorld(!0), G.inverse.copy(T.matrixWorld).invert();
|
|
1555
1555
|
for (const U of fn) {
|
|
1556
|
-
const dt = typeof h == "boolean" ? h : h[U] ?? !0, pt = p.weights[
|
|
1556
|
+
const dt = typeof h == "boolean" ? h : h[U] ?? !0, pt = p.weights[Tn(U)];
|
|
1557
1557
|
if (!dt || pt <= 0) continue;
|
|
1558
1558
|
const vt = $o[U][2];
|
|
1559
1559
|
G.point.copy(p.points[vt]).applyMatrix4(G.inverse), ai(H, U, G.point, pt);
|
|
1560
1560
|
}
|
|
1561
1561
|
(typeof h == "boolean" ? h : h.head ?? !0) && p.weights.head > 0 && (G.anchor.copy(p.points[m.leftEar]).applyMatrix4(G.inverse), G.right.copy(p.points[m.rightEar]).applyMatrix4(G.inverse), ci(H, G.anchor, G.right, G.point), ui(H, G.point, p.weights.head)), k.visible = !0, b && (p.tracked = !0, (Ye = z.current) == null || Ye.call(z, !0));
|
|
1562
1562
|
}, Oi), /* @__PURE__ */ ie(us.Provider, { value: H, children: [
|
|
1563
|
-
/* @__PURE__ */ at("group", { ref: E, matrixAutoUpdate: !1, visible: !1, children: /* @__PURE__ */ at("primitive", { object:
|
|
1563
|
+
/* @__PURE__ */ at("group", { ref: E, matrixAutoUpdate: !1, visible: !1, children: /* @__PURE__ */ at("primitive", { object: T }) }),
|
|
1564
1564
|
L
|
|
1565
1565
|
] });
|
|
1566
|
-
},
|
|
1567
|
-
let e =
|
|
1566
|
+
}, Tn = (t) => t, Rn = /* @__PURE__ */ new WeakMap(), Di = (t) => {
|
|
1567
|
+
let e = Rn.get(t);
|
|
1568
1568
|
if (e === void 0) {
|
|
1569
1569
|
const n = t.restPositions;
|
|
1570
|
-
e = n.leftArm.clone().add(n.rightArm).multiplyScalar(0.5).distanceTo(n.leftUpLeg.clone().add(n.rightUpLeg).multiplyScalar(0.5)),
|
|
1570
|
+
e = n.leftArm.clone().add(n.rightArm).multiplyScalar(0.5).distanceTo(n.leftUpLeg.clone().add(n.rightUpLeg).multiplyScalar(0.5)), Rn.set(t, e);
|
|
1571
1571
|
}
|
|
1572
1572
|
return e;
|
|
1573
|
-
}, ds = -1,
|
|
1573
|
+
}, ds = -1, Re = "void main() {", We = "#include <skinning_vertex>", Ni = [
|
|
1574
1574
|
We,
|
|
1575
1575
|
"#ifdef USE_SKINNING",
|
|
1576
1576
|
" transformed += normalize( objectNormal ) * inflate;",
|
|
1577
1577
|
"#endif"
|
|
1578
1578
|
].join(`
|
|
1579
|
-
`), je = (t) => !t.includes(
|
|
1580
|
-
${
|
|
1579
|
+
`), je = (t) => !t.includes(Re) || !t.includes(We) ? t : t.replace(Re, `uniform float inflate;
|
|
1580
|
+
${Re}`).replace(We, Ni), ps = () => {
|
|
1581
1581
|
const t = new c.MeshBasicMaterial({
|
|
1582
1582
|
color: 13948120,
|
|
1583
1583
|
colorWrite: !1,
|
|
@@ -1697,7 +1697,7 @@ float bodyDepth01( float viewDepth ) {
|
|
|
1697
1697
|
f
|
|
1698
1698
|
);
|
|
1699
1699
|
}, Wi = -1, Ui = (t, { length: e = Eo, scale: n = 1 } = {}) => {
|
|
1700
|
-
const s = t.palmLength * e, o = t.palmLength *
|
|
1700
|
+
const s = t.palmLength * e, o = t.palmLength * To, i = t.width / 2 * n, r = new c.CylinderGeometry(
|
|
1701
1701
|
i,
|
|
1702
1702
|
i * ko,
|
|
1703
1703
|
s + o,
|
|
@@ -2021,9 +2021,9 @@ void main() {
|
|
|
2021
2021
|
const u = a / h, f = l / h, d = n.x - u * h * r, g = n.y - f * h * r, M = o * h / 2, _ = i * h / 2, w = Math.min(M, _) * 0.8, x = Math.max(0, Math.floor(d - h)), L = Math.min(t.width - 1, Math.ceil(d + h)), V = Math.max(0, Math.floor(g - h)), N = Math.min(t.height - 1, Math.ceil(g + h));
|
|
2022
2022
|
let W = 0;
|
|
2023
2023
|
for (let E = V; E <= N; E += 1)
|
|
2024
|
-
for (let
|
|
2025
|
-
const J =
|
|
2026
|
-
Math.hypot(Math.max(Y, 0), Math.max(ot, 0)) + Math.min(Math.max(Y, ot), 0) - w <= 0 && (t.indices[E * t.width +
|
|
2024
|
+
for (let T = x; T <= L; T += 1) {
|
|
2025
|
+
const J = T + 0.5 - d, H = E + 0.5 - g, C = J * u + H * f, tt = -J * f + H * u, Y = Math.abs(tt) - M + w, ot = Math.abs(C) - _ + w;
|
|
2026
|
+
Math.hypot(Math.max(Y, 0), Math.max(ot, 0)) + Math.min(Math.max(Y, ot), 0) - w <= 0 && (t.indices[E * t.width + T] = s, W += 1);
|
|
2027
2027
|
}
|
|
2028
2028
|
return W;
|
|
2029
2029
|
}, ur = (t, e, n, s, { rise: o = 96, fall: i = 64 } = {}) => {
|
|
@@ -2065,19 +2065,19 @@ void main() {
|
|
|
2065
2065
|
}, pr = (t, e, n, { from: s = 0.6, to: o = 1.2, spread: i = 0.12, gap: r = 0.12, samples: a = 24 } = {}) => {
|
|
2066
2066
|
const l = n.x - e.x, h = n.y - e.y, u = Math.hypot(l, h);
|
|
2067
2067
|
if (!(u > 1e-6) || t.width <= 0 || t.height <= 0) return null;
|
|
2068
|
-
const f = l / u, d = h / u, g = -d * i * u, M = f * i * u, _ = 1 / a, w = t.height, x = (
|
|
2069
|
-
const J = n.x + f *
|
|
2068
|
+
const f = l / u, d = h / u, g = -d * i * u, M = f * i * u, _ = 1 / a, w = t.height, x = (T) => {
|
|
2069
|
+
const J = n.x + f * T * u, H = n.y + d * T * u;
|
|
2070
2070
|
return De(t, J, H, w) || De(t, J + g, H + M, w) || De(t, J - g, H - M, w);
|
|
2071
2071
|
};
|
|
2072
2072
|
let L = 0, V = 0;
|
|
2073
|
-
for (let
|
|
2074
|
-
V += 1, x(
|
|
2073
|
+
for (let T = -s; T < -s + 0.25; T += _)
|
|
2074
|
+
V += 1, x(T) && (L += 1);
|
|
2075
2075
|
const N = V > 0 ? L / V : 0;
|
|
2076
2076
|
if (N < 0.5) return null;
|
|
2077
2077
|
let W = -s, E = 0;
|
|
2078
|
-
for (let
|
|
2079
|
-
if (x(
|
|
2080
|
-
W =
|
|
2078
|
+
for (let T = -s; T <= o; T += _)
|
|
2079
|
+
if (x(T))
|
|
2080
|
+
W = T, E = 0;
|
|
2081
2081
|
else if (E += _, E > r) break;
|
|
2082
2082
|
return { offset: W * u, confidence: N };
|
|
2083
2083
|
}, ws = Ht.length, fr = (
|
|
@@ -2225,7 +2225,7 @@ void main() {
|
|
|
2225
2225
|
V,
|
|
2226
2226
|
L
|
|
2227
2227
|
);
|
|
2228
|
-
const N = te(Et.SEMANTIC_SEGMENTATION), W = Fe(a && !L ? "skin" : !1), E = st(Ht.map(() => 0)),
|
|
2228
|
+
const N = te(Et.SEMANTIC_SEGMENTATION), W = Fe(a && !L ? "skin" : !1), E = st(Ht.map(() => 0)), T = K(
|
|
2229
2229
|
() => ({
|
|
2230
2230
|
width: 1,
|
|
2231
2231
|
height: 1,
|
|
@@ -2272,12 +2272,12 @@ void main() {
|
|
|
2272
2272
|
const { size: S, along: y } = Y.current;
|
|
2273
2273
|
for (const { material: k, geometryToRoot: p } of H) {
|
|
2274
2274
|
const v = k.uniforms;
|
|
2275
|
-
C.forEach((b,
|
|
2275
|
+
C.forEach((b, R) => {
|
|
2276
2276
|
fs(
|
|
2277
2277
|
b,
|
|
2278
2278
|
p,
|
|
2279
|
-
{ size: b.width * S, offset: [0, y + E.current[
|
|
2280
|
-
v.decalMatrix.value[
|
|
2279
|
+
{ size: b.width * S, offset: [0, y + E.current[R]] },
|
|
2280
|
+
v.decalMatrix.value[R]
|
|
2281
2281
|
);
|
|
2282
2282
|
});
|
|
2283
2283
|
}
|
|
@@ -2287,8 +2287,8 @@ void main() {
|
|
|
2287
2287
|
Z(() => {
|
|
2288
2288
|
if (!(L || !W || !C || !M))
|
|
2289
2289
|
return de(_, () => {
|
|
2290
|
-
var
|
|
2291
|
-
const S = ((
|
|
2290
|
+
var R, A;
|
|
2291
|
+
const S = ((R = x == null ? void 0 : x.getHandPose) == null ? void 0 : R.call(x, M)) ?? ((A = x == null ? void 0 : x.poses) == null ? void 0 : A[M]) ?? null;
|
|
2292
2292
|
if (!S || S.image.length < 21 || S.held) return;
|
|
2293
2293
|
const y = w.width / Math.max(1, w.height);
|
|
2294
2294
|
if (!W.refresh(performance.now())) return;
|
|
@@ -2311,13 +2311,13 @@ void main() {
|
|
|
2311
2311
|
}, [L, W, C, M, x, _, w, l, ot]), Z(() => {
|
|
2312
2312
|
if (!(!L || !M))
|
|
2313
2313
|
return de(_, () => {
|
|
2314
|
-
var
|
|
2314
|
+
var R, A;
|
|
2315
2315
|
const S = N == null ? void 0 : N.getMask();
|
|
2316
2316
|
if (!S || S.version === 0) return;
|
|
2317
2317
|
let y = J.current;
|
|
2318
|
-
if (!y ||
|
|
2318
|
+
if (!y || T.width !== S.width || T.height !== S.height) {
|
|
2319
2319
|
const D = S.width * S.height;
|
|
2320
|
-
|
|
2320
|
+
T.width = S.width, T.height = S.height, T.indices = new Uint8Array(D), y = J.current = {
|
|
2321
2321
|
fresh: { width: S.width, height: S.height, indices: new Uint8Array(D) },
|
|
2322
2322
|
coverage: new Uint8Array(D),
|
|
2323
2323
|
seen: -1
|
|
@@ -2325,7 +2325,7 @@ void main() {
|
|
|
2325
2325
|
}
|
|
2326
2326
|
if (y.seen === S.version) return;
|
|
2327
2327
|
y.seen = S.version;
|
|
2328
|
-
const k = S.labels.indexOf("nail"), p = ((
|
|
2328
|
+
const k = S.labels.indexOf("nail"), p = ((R = x == null ? void 0 : x.getHandPose) == null ? void 0 : R.call(x, M)) ?? ((A = x == null ? void 0 : x.poses) == null ? void 0 : A[M]) ?? null, { fresh: v, coverage: b } = y;
|
|
2329
2329
|
if (v.indices.fill(0), k >= 0 && p && p.image.length >= 21 && !p.held) {
|
|
2330
2330
|
const D = (Q) => ({
|
|
2331
2331
|
x: (p.image[Q].x + 1) / 2 * S.width,
|
|
@@ -2346,9 +2346,9 @@ void main() {
|
|
|
2346
2346
|
q[$] && !j[$] && hr(v, Q, Ne);
|
|
2347
2347
|
});
|
|
2348
2348
|
}
|
|
2349
|
-
ur(v, b,
|
|
2349
|
+
ur(v, b, T, Ne), T.version += 1, T.timestampMs = S.timestampMs;
|
|
2350
2350
|
});
|
|
2351
|
-
}, [L, M, x, _, N,
|
|
2351
|
+
}, [L, M, x, _, N, T]), Z(() => {
|
|
2352
2352
|
a || E.current.fill(0);
|
|
2353
2353
|
}, [a]), Z(() => {
|
|
2354
2354
|
if (!C) return;
|
|
@@ -2383,7 +2383,7 @@ void main() {
|
|
|
2383
2383
|
u === "mask" ? /* @__PURE__ */ at(
|
|
2384
2384
|
be,
|
|
2385
2385
|
{
|
|
2386
|
-
mask:
|
|
2386
|
+
mask: T,
|
|
2387
2387
|
label: "nail",
|
|
2388
2388
|
color: "#ff2bd6",
|
|
2389
2389
|
opacity: 1,
|
|
@@ -2395,7 +2395,7 @@ void main() {
|
|
|
2395
2395
|
/* @__PURE__ */ at(
|
|
2396
2396
|
be,
|
|
2397
2397
|
{
|
|
2398
|
-
mask:
|
|
2398
|
+
mask: T,
|
|
2399
2399
|
label: "nail",
|
|
2400
2400
|
color: He(t),
|
|
2401
2401
|
opacity: c.MathUtils.clamp(s, 0, 1),
|
|
@@ -2407,7 +2407,7 @@ void main() {
|
|
|
2407
2407
|
rt.shine > 0.2 && /* @__PURE__ */ at(
|
|
2408
2408
|
be,
|
|
2409
2409
|
{
|
|
2410
|
-
mask:
|
|
2410
|
+
mask: T,
|
|
2411
2411
|
label: "nail",
|
|
2412
2412
|
color: rt.metal > 0.5 ? He(t) : "#ffffff",
|
|
2413
2413
|
opacity: c.MathUtils.clamp(s, 0, 1) * rt.shine * 0.35,
|
|
@@ -2495,7 +2495,7 @@ void main() {
|
|
|
2495
2495
|
throwScale: 1,
|
|
2496
2496
|
maxSpeed: 14,
|
|
2497
2497
|
flat: !0
|
|
2498
|
-
}), Ar = 1 / 120, _r = 1 / 20, Er = 0.35, kr = 0.5,
|
|
2498
|
+
}), Ar = 1 / 120, _r = 1 / 20, Er = 0.35, kr = 0.5, Tr = 1.08, Rr = 1.2, he = new c.Vector3(0, 1, 0), qn = [new c.Vector3(1, 0, 0), new c.Vector3(0, 1, 0), new c.Vector3(0, 0, 1)], Or = ["x", "y", "z"], P = {
|
|
2499
2499
|
d: new c.Vector3(),
|
|
2500
2500
|
n: new c.Vector3(),
|
|
2501
2501
|
v: new c.Vector3(),
|
|
@@ -2706,7 +2706,7 @@ class Dr {
|
|
|
2706
2706
|
for (const r of e.values()) {
|
|
2707
2707
|
const a = r.tips.indexTip, l = this.distance(o.position, a.center) - o.radius;
|
|
2708
2708
|
if (l <= this.reach(r, s.hoverReach) && !o.grabbedBy && (i === null || o.hoveredBy === r.hand) && (i = r.hand), r.hand === "pointer") continue;
|
|
2709
|
-
const u = (o.radius + a.radius) *
|
|
2709
|
+
const u = (o.radius + a.radius) * Tr, f = (o.radius + a.radius) * Rr, d = l + o.radius, g = o.tapStart[r.hand];
|
|
2710
2710
|
if (g === void 0 && d < u && !o.grabbedBy) {
|
|
2711
2711
|
P.d.subVectors(o.position, a.center), s.flat && (P.d.z = 0);
|
|
2712
2712
|
const M = a.velocity.dot(P.d.normalize());
|
|
@@ -2746,7 +2746,7 @@ const Nr = 0.15, Lr = 0.6, bs = oe(null), Ga = () => qt(bs), Hr = ["left", "righ
|
|
|
2746
2746
|
W.settings = { ...Ss, ...Br(w) }, W.setHandSettings(N);
|
|
2747
2747
|
const E = st(N);
|
|
2748
2748
|
E.current = N;
|
|
2749
|
-
const
|
|
2749
|
+
const T = K(
|
|
2750
2750
|
() => ({
|
|
2751
2751
|
left: Ve("left"),
|
|
2752
2752
|
right: Ve("right"),
|
|
@@ -2781,11 +2781,11 @@ const Nr = 0.15, Lr = 0.6, bs = oe(null), Ga = () => qt(bs), Hr = ["left", "righ
|
|
|
2781
2781
|
p(A), y.pressed = !0, y.clicked = !0, y.lifted = !1;
|
|
2782
2782
|
}, b = () => {
|
|
2783
2783
|
y.pressed = !1;
|
|
2784
|
-
},
|
|
2784
|
+
}, R = (A) => {
|
|
2785
2785
|
y.pressed = !1, A.type === "pointerup" ? A.pointerType !== "mouse" && (y.lifted = !0) : y.ndc = null;
|
|
2786
2786
|
};
|
|
2787
|
-
return S.addEventListener("pointermove", p), S.addEventListener("pointerdown", v), window.addEventListener("pointerup", b), S.addEventListener("pointerup",
|
|
2788
|
-
S.style.touchAction = k, S.removeEventListener("pointermove", p), S.removeEventListener("pointerdown", v), window.removeEventListener("pointerup", b), S.removeEventListener("pointerup",
|
|
2787
|
+
return S.addEventListener("pointermove", p), S.addEventListener("pointerdown", v), window.addEventListener("pointerup", b), S.addEventListener("pointerup", R), S.addEventListener("pointerleave", R), S.addEventListener("pointercancel", R), () => {
|
|
2788
|
+
S.style.touchAction = k, S.removeEventListener("pointermove", p), S.removeEventListener("pointerdown", v), window.removeEventListener("pointerup", b), S.removeEventListener("pointerup", R), S.removeEventListener("pointerleave", R), S.removeEventListener("pointercancel", R), y.ndc = null, y.pressed = !1, y.clicked = !1, y.lifted = !1;
|
|
2789
2789
|
};
|
|
2790
2790
|
}, [V, Y]);
|
|
2791
2791
|
const z = K(
|
|
@@ -2799,7 +2799,7 @@ const Nr = 0.15, Lr = 0.6, bs = oe(null), Ga = () => qt(bs), Hr = ["left", "righ
|
|
|
2799
2799
|
[]
|
|
2800
2800
|
);
|
|
2801
2801
|
ye((S, y) => {
|
|
2802
|
-
var p, v, b,
|
|
2802
|
+
var p, v, b, R;
|
|
2803
2803
|
o ? (W.bounds.min.set(...o.min), W.bounds.max.set(...o.max)) : (Jt({ x: -1, y: -1 }, L, z.lo), Jt({ x: 1, y: 1 }, L, z.hi), W.bounds.min.set(
|
|
2804
2804
|
Math.min(z.lo.x, z.hi.x),
|
|
2805
2805
|
Math.min(z.lo.y, z.hi.y) + s,
|
|
@@ -2808,23 +2808,23 @@ const Nr = 0.15, Lr = 0.6, bs = oe(null), Ga = () => qt(bs), Hr = ["left", "righ
|
|
|
2808
2808
|
for (const A of Hr) {
|
|
2809
2809
|
const F = t === "both" || t === A ? ((p = x == null ? void 0 : x.getHandPose) == null ? void 0 : p.call(x, A)) ?? ((v = x == null ? void 0 : x.poses) == null ? void 0 : v[A]) ?? null : null;
|
|
2810
2810
|
F && F.world.length >= 21 && F.image.length >= 21 ? ($s(F, L, J[A]), Pn(
|
|
2811
|
-
|
|
2811
|
+
T[A],
|
|
2812
2812
|
J[A],
|
|
2813
2813
|
F.timestampMs,
|
|
2814
2814
|
E.current
|
|
2815
|
-
)) : Pn(
|
|
2815
|
+
)) : Pn(T[A], null, 0);
|
|
2816
2816
|
}
|
|
2817
2817
|
const k = tt.current;
|
|
2818
2818
|
if (br(
|
|
2819
|
-
|
|
2819
|
+
T.pointer,
|
|
2820
2820
|
Y && k.ndc ? Jt({ x: k.ndc.x, y: k.ndc.y }, L, z.point) : null,
|
|
2821
2821
|
k.pressed || k.clicked,
|
|
2822
2822
|
performance.now(),
|
|
2823
2823
|
ot
|
|
2824
2824
|
), k.lifted && !k.clicked && (k.ndc = null, k.lifted = !1), k.clicked = !1, !a) {
|
|
2825
|
-
const A = W.step(y, [
|
|
2825
|
+
const A = W.step(y, [T.left, T.right, T.pointer]);
|
|
2826
2826
|
for (const D of A)
|
|
2827
|
-
(b = H.get(D.body)) == null || b.onEvent.current(D), (
|
|
2827
|
+
(b = H.get(D.body)) == null || b.onEvent.current(D), (R = C.current) == null || R.call(C, D);
|
|
2828
2828
|
}
|
|
2829
2829
|
for (const [A, { object: D }] of H)
|
|
2830
2830
|
z.matrix.compose(A.position, A.quaternion, Vr), D.parent && z.matrix.premultiply(z.inverse.copy(D.parent.matrixWorld).invert()), z.matrix.decompose(D.position, D.quaternion, z.point);
|
|
@@ -2832,12 +2832,12 @@ const Nr = 0.15, Lr = 0.6, bs = oe(null), Ga = () => qt(bs), Hr = ["left", "righ
|
|
|
2832
2832
|
const rt = K(
|
|
2833
2833
|
() => ({
|
|
2834
2834
|
world: W,
|
|
2835
|
-
hands: [
|
|
2835
|
+
hands: [T.left, T.right, T.pointer],
|
|
2836
2836
|
register: (S, y) => (H.set(S, y), () => {
|
|
2837
2837
|
H.delete(S);
|
|
2838
2838
|
})
|
|
2839
2839
|
}),
|
|
2840
|
-
[W,
|
|
2840
|
+
[W, T, H]
|
|
2841
2841
|
);
|
|
2842
2842
|
return /* @__PURE__ */ ie(bs.Provider, { value: rt, children: [
|
|
2843
2843
|
h,
|
|
@@ -3010,7 +3010,7 @@ class qr {
|
|
|
3010
3010
|
return It(this.reversals.length / n);
|
|
3011
3011
|
}
|
|
3012
3012
|
}
|
|
3013
|
-
const
|
|
3013
|
+
const Ts = {
|
|
3014
3014
|
nose: ft.nose,
|
|
3015
3015
|
leftShoulder: ft.leftShoulder,
|
|
3016
3016
|
rightShoulder: ft.rightShoulder,
|
|
@@ -3026,7 +3026,7 @@ const Rs = {
|
|
|
3026
3026
|
rightKnee: ft.rightKnee,
|
|
3027
3027
|
leftAnkle: ft.leftAnkle,
|
|
3028
3028
|
rightAnkle: ft.rightAnkle
|
|
3029
|
-
}, Cr = Object.keys(
|
|
3029
|
+
}, Cr = Object.keys(Ts), zr = [
|
|
3030
3030
|
"leftShoulder",
|
|
3031
3031
|
"rightShoulder",
|
|
3032
3032
|
"leftElbow",
|
|
@@ -3057,7 +3057,7 @@ const Rs = {
|
|
|
3057
3057
|
);
|
|
3058
3058
|
const r = Js(t, o), a = Xs(r, { mirrored: e, visibility: n, limits: s }), l = (i == null ? void 0 : i.visible) ?? zn.visible, h = 1 + ((i == null ? void 0 : i.edge) ?? zn.edge), u = {}, f = {}, d = {};
|
|
3059
3059
|
for (const w of Cr) {
|
|
3060
|
-
const x =
|
|
3060
|
+
const x = Ts[Ps(w, e)], L = t[x];
|
|
3061
3061
|
u[w] = r[x], f[w] = (n == null ? void 0 : n[x]) ?? 1, d[w] = f[w] >= l && Math.abs(L.x) <= h && Math.abs(L.y) <= h;
|
|
3062
3062
|
}
|
|
3063
3063
|
const g = (u.leftShoulder.y + u.rightShoulder.y) / 2, M = (u.leftHip.y + u.rightHip.y) / 2, _ = u.leftShoulder.x - u.rightShoulder.x;
|
|
@@ -3205,7 +3205,7 @@ const xe = ["left", "right"], Zt = (t) => t === "left" ? "right" : "left", se =
|
|
|
3205
3205
|
exitThreshold: 0.5,
|
|
3206
3206
|
holdMs: 0,
|
|
3207
3207
|
lostGraceMs: 250
|
|
3208
|
-
},
|
|
3208
|
+
}, Rs = (t) => t.seen.leftShoulder && t.seen.rightShoulder && Qt(t, "left") && Qt(t, "right"), Os = (t, { side: e }) => t.seen.leftShoulder && t.seen.rightShoulder && (se("left", e) && Qt(t, "left") || se("right", e) && Qt(t, "right")), le = (t) => t.fullInView && t.torso > 1e-3, Kr = {
|
|
3209
3209
|
name: "jump",
|
|
3210
3210
|
label: "Jump",
|
|
3211
3211
|
description: "Shoulders, hips and both feet rise together above the standing level (a fast rise), then land.",
|
|
@@ -3299,7 +3299,7 @@ const xe = ["left", "right"], Zt = (t) => t === "left" ? "right" : "left", se =
|
|
|
3299
3299
|
limitKeys: ["clapApart", "clapTogether", "clapWithinMs", "clapRelease"],
|
|
3300
3300
|
defaults: { ...Wt, cooldownMs: 100 },
|
|
3301
3301
|
createMemory: () => ({ apartAtMs: -1 / 0, clapped: !1 }),
|
|
3302
|
-
inView:
|
|
3302
|
+
inView: Rs,
|
|
3303
3303
|
measure: (t, e, n, { limits: s }) => {
|
|
3304
3304
|
const o = Math.hypot(
|
|
3305
3305
|
ue(t, "left", "x") - ue(t, "right", "x"),
|
|
@@ -3360,7 +3360,7 @@ const xe = ["left", "right"], Zt = (t) => t === "left" ? "right" : "left", se =
|
|
|
3360
3360
|
limitKeys: ["flapStroke", "flapWithinMs", "flapTop", "flapOut"],
|
|
3361
3361
|
defaults: { ...Wt, cooldownMs: 100 },
|
|
3362
3362
|
createMemory: () => ({ left: new ge(), right: new ge(), flapping: !1 }),
|
|
3363
|
-
inView:
|
|
3363
|
+
inView: Rs,
|
|
3364
3364
|
measure: (t, e, n, { limits: s }) => {
|
|
3365
3365
|
const { left: o, right: i } = t.shape.arms;
|
|
3366
3366
|
e.left.push(n, o.up), e.right.push(n, i.up);
|
|
@@ -3540,7 +3540,7 @@ export {
|
|
|
3540
3540
|
Fn as $,
|
|
3541
3541
|
_n as A,
|
|
3542
3542
|
Ia as B,
|
|
3543
|
-
|
|
3543
|
+
Ri as C,
|
|
3544
3544
|
Da as D,
|
|
3545
3545
|
Va as E,
|
|
3546
3546
|
Pi as F,
|
|
@@ -3548,7 +3548,7 @@ export {
|
|
|
3548
3548
|
Me as H,
|
|
3549
3549
|
ko as I,
|
|
3550
3550
|
Eo as J,
|
|
3551
|
-
|
|
3551
|
+
To as K,
|
|
3552
3552
|
Ao as L,
|
|
3553
3553
|
bo as M,
|
|
3554
3554
|
is as N,
|
|
@@ -3577,7 +3577,7 @@ export {
|
|
|
3577
3577
|
Ss as a7,
|
|
3578
3578
|
Pt as a8,
|
|
3579
3579
|
vn as a9,
|
|
3580
|
-
|
|
3580
|
+
Ra as aA,
|
|
3581
3581
|
gi as aB,
|
|
3582
3582
|
wi as aC,
|
|
3583
3583
|
Oa as aD,
|
|
@@ -3647,7 +3647,7 @@ export {
|
|
|
3647
3647
|
ss as bC,
|
|
3648
3648
|
vo as bD,
|
|
3649
3649
|
xo as bE,
|
|
3650
|
-
|
|
3650
|
+
Ta as bF,
|
|
3651
3651
|
Ea as bG,
|
|
3652
3652
|
ka as bH,
|
|
3653
3653
|
So as bI,
|
|
@@ -3668,7 +3668,7 @@ export {
|
|
|
3668
3668
|
Bo as bX,
|
|
3669
3669
|
rs as bY,
|
|
3670
3670
|
Fo as bZ,
|
|
3671
|
-
|
|
3671
|
+
Ro as b_,
|
|
3672
3672
|
Fa as ba,
|
|
3673
3673
|
Hi as bb,
|
|
3674
3674
|
In as bc,
|