@vincentt-xr/sdk 2.0.0-alpha.22 → 2.0.0-alpha.23

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.
Files changed (90) hide show
  1. package/GROUNDING.md +138 -2
  2. package/components.json +61 -1
  3. package/dist/{CanonicalHeadFrame-S3Jk9F1P.js → CanonicalHeadFrame-ZSfpHH_w.js} +15 -15
  4. package/dist/{DebuggerUI-B8bheFk-.js → DebuggerUI-C_c1B-2p.js} +1 -1
  5. package/dist/{FaceRetouch-DW_9g5EA.js → FaceRetouch-4tV3RYa-.js} +4 -4
  6. package/dist/{TextLabel-C-AibH5A.cjs → TextLabel-DWBSNwRA.cjs} +2 -2
  7. package/dist/{TextLabel-fEF1o3wE.js → TextLabel-XSfkeWDJ.js} +172 -172
  8. package/dist/{bodyMaskMaterial-CUlzyXnJ.js → bodyMaskMaterial-BF6Gm6hz.js} +1 -1
  9. package/dist/cache-CbX-0Rgn.js +212 -0
  10. package/dist/cache-DFqZYsHC.cjs +1 -0
  11. package/dist/components/CaptureShareScreen/index.d.ts +27 -0
  12. package/dist/components/HtmlRegion/index.d.ts +1 -1
  13. package/dist/components/IntroScreen/index.d.ts +31 -0
  14. package/dist/components/ScreenShape/index.d.ts +8 -0
  15. package/dist/components/SplashScreen/index.d.ts +38 -0
  16. package/dist/components/TextLabel/TextLabel.d.ts +3 -0
  17. package/dist/components/index.d.ts +3 -0
  18. package/dist/contexts-awO81p6d.cjs +1 -0
  19. package/dist/contexts-hhxufDg2.js +714 -0
  20. package/dist/debug-ui/media-source.js +1 -1
  21. package/dist/debug-ui.cjs +1 -1
  22. package/dist/debug-ui.js +11 -11
  23. package/dist/{drawNormalizedCrop-D48Layv4.js → drawNormalizedCrop-8RzfrVNS.js} +14 -14
  24. package/dist/editor-defs/live.d.ts +10 -0
  25. package/dist/editor-defs/types.d.ts +1 -1
  26. package/dist/editor-scenes.cjs +1 -1
  27. package/dist/editor-scenes.js +419 -40
  28. package/dist/entries/core.d.ts +10 -0
  29. package/dist/entries/editor-scenes.d.ts +1 -6
  30. package/dist/face-effects.cjs +78 -78
  31. package/dist/face-effects.js +277 -276
  32. package/dist/{getFaceInfo-e9XzHPLC.js → getFaceInfo-B1pPvyh9.js} +1 -1
  33. package/dist/hooks/captureStore.d.ts +25 -0
  34. package/dist/hooks/useCapture.d.ts +28 -0
  35. package/dist/hooks/useShare.d.ts +37 -0
  36. package/dist/{index-Dk1UOe-H.js → index-BTVIMj8H.js} +10 -10
  37. package/dist/{index-MzlPbe9t.js → index-BmeB_V6I.js} +57 -57
  38. package/dist/{index-B9ph9k5I.js → index-CW4yk2jC.js} +272 -263
  39. package/dist/{index-em1AaMkI.js → index-Cw6HeUjE.js} +1 -1
  40. package/dist/{index-BKZPBg1D.js → index-DSrRFuRp.js} +1 -1
  41. package/dist/{index-DCjFgbB8.js → index-DTkbQ5OA.js} +24 -24
  42. package/dist/{index-B34w-TyW.js → index-Dmhh2RjM.js} +1 -1
  43. package/dist/index-hEANh5cP.cjs +21 -0
  44. package/dist/{index-DSMv6GWI.cjs → index-rCxTueDx.cjs} +1 -1
  45. package/dist/instructions.cjs +1 -1
  46. package/dist/instructions.js +8 -8
  47. package/dist/{internal-kwJxojDs.js → internal-DDcTDvPS.js} +3 -3
  48. package/dist/internal.js +2 -2
  49. package/dist/{landmarks-BgLF-yfd.js → landmarks-BB8jyfJA.js} +6 -6
  50. package/dist/live.generated-Do4jgrUN.js +116 -0
  51. package/dist/live.generated-n5ZV_2Gt.cjs +1 -0
  52. package/dist/low-level.cjs +1 -1
  53. package/dist/low-level.js +17 -17
  54. package/dist/main.cjs +1 -1
  55. package/dist/main.js +1074 -878
  56. package/dist/overlay/consumer.d.ts +36 -0
  57. package/dist/overlay/grammar.d.ts +74 -0
  58. package/dist/overlay/region.d.ts +23 -0
  59. package/dist/particles.js +5 -5
  60. package/dist/product.js +2 -2
  61. package/dist/{providers-Bo1gfoXg.js → providers-Q4H0Ii-y.js} +3 -3
  62. package/dist/{renderGroups-Cul4eOG8.js → renderGroups-LVQ0Af0t.js} +1 -1
  63. package/dist/{renderPasses-CLOTeP38.js → renderPasses-DYc2-EBT.js} +43 -43
  64. package/dist/scene-object.cjs +1 -1
  65. package/dist/scene-object.js +2 -2
  66. package/dist/{segmentation-Q1eXSt_x.js → segmentation-BWHRt2hE.js} +1 -1
  67. package/dist/{selectors-CiawE6Ox.js → selectors-kj5g3uv2.js} +6 -6
  68. package/dist/{session-CmpigDxI.js → session-CMz1ao3i.js} +9 -9
  69. package/dist/tracking.js +127 -127
  70. package/dist/{trigger-BHKfnvtB.js → trigger-8fpI9g9S.js} +7 -7
  71. package/dist/{useBodies-DzRzQg88.js → useBodies-CH4ZUECn.js} +7 -7
  72. package/dist/useEditOverrides-BmvpLYPU.js +85 -0
  73. package/dist/useEditOverrides-DMAMGzlF.cjs +1 -0
  74. package/dist/{useFaceInfo-DUxqnPek.js → useFaceInfo-BV77B-r4.js} +10 -10
  75. package/dist/{useFaceResultReader-DSnUjQcw.js → useFaceResultReader-DgOPK1Z6.js} +1 -1
  76. package/dist/{useIrisTracking-Bfp1Fv66.js → useIrisTracking-D6mv7coz.js} +10 -10
  77. package/dist/useLiveProps-Bz9wifGN.cjs +1 -0
  78. package/dist/useLiveProps-CMkyV6Dt.js +28 -0
  79. package/dist/{useXRCapabilities-BhN_CKwJ.js → useXRCapabilities-FAY2ve86.js} +1 -1
  80. package/dist/utils/useEditOverlay.d.ts +33 -0
  81. package/dist/utils/useEditOverrides.d.ts +6 -0
  82. package/package.json +1 -1
  83. package/settings.json +1 -1
  84. package/dist/cache-CsH3zPDX.js +0 -307
  85. package/dist/cache-DrEDi7qn.cjs +0 -1
  86. package/dist/contexts-CSz9stBV.cjs +0 -1
  87. package/dist/contexts-C_l5hzI8.js +0 -667
  88. package/dist/index-BkjRuUdW.cjs +0 -21
  89. package/dist/useEditOverrides-BBkK8cN2.js +0 -41
  90. package/dist/useEditOverrides-CgapHJzA.cjs +0 -1
@@ -7,36 +7,37 @@ import { useContext as Wt, useRef as z, useMemo as G, useEffect as V, useState a
7
7
  import * as d from "three";
8
8
  import { DataTexture as su, RedFormat as ou, UnsignedByteType as ru, LinearFilter as Wa, Vector3 as vp, Euler as wp, DoubleSide as As, BufferAttribute as bs } from "three";
9
9
  import { R as iu } from "./uv-DJU_XfmN.js";
10
- import { o as yp, v as Sp, w as Mp, x as Ep, y as xp, z as kp, A as Re, E as me, G as se, H as Ct, I as Xn, J as Lt, K as cu, L as wt, N as Ap, O as lr, P as bp, Q as yn, R as Fp, T as _p, U as Tp, V as cs, W as Bo, X as Ht, Y as lu, Z as Cp, _ as uu, $ as Lp, a0 as $a, a1 as Rp, h as Ip, e as Pp, b as Up, a2 as Da, a3 as Op, a4 as Np, a5 as $p, p as hu, g as Dp } from "./useIrisTracking-Bfp1Fv66.js";
11
- import { ak as gk, al as vk, am as wk, a7 as yk, a8 as Sk, a9 as Mk, aa as Ek, M as xk, ac as kk, ad as Ak, ae as bk, af as Fk, ag as _k, ah as Tk, a6 as Ck, ab as Lk, ai as Rk, aj as Ik, an as Pk } from "./useIrisTracking-Bfp1Fv66.js";
12
- import { g as oa, n as Yr, x as ur, f as Pe, bc as Gp, p as yt, A as zp, b4 as Bp, $ as Hp, b as Kp, bd as Vp, be as Wp, J as fu, bf as jp, bg as qp } from "./index-MzlPbe9t.js";
13
- import { I as Ok, D as Nk, G as $k } from "./index-MzlPbe9t.js";
14
- import { d as Yp, D as hr, l as Xp, n as Qp, f as fr, o as Jp, q as Zp, M as je, u as ht, g as ed, v as ls, w as pu, x as du, y as mu, z as td, L as nd, A as Ho, B as ja, C as pr, E as gu, G as ge, H as ad, a as vu, J as sd, K as od, N as Xr } from "./FaceRetouch-DW_9g5EA.js";
15
- import { Z as Gk, O as zk, _ as Bk, $ as Hk, a0 as Kk, X as Vk, F as Wk, a1 as jk, a2 as qk, b as Yk, a3 as Xk, Y as Qk, P as Jk, Q as Zk, I as eA, R as tA, T as nA, j as aA, k as sA, a4 as oA, a5 as rA, a6 as iA, S as cA, U as lA, h as uA, a7 as hA, p as fA, c as pA, e as dA, r as mA, V as gA, s as vA, i as wA, W as yA, t as SA } from "./FaceRetouch-DW_9g5EA.js";
16
- import { d as dr, u as rd, a as wu, C as J, b as yu, c as id } from "./CanonicalHeadFrame-S3Jk9F1P.js";
17
- import { f as EA, e as xA, g as kA, s as AA } from "./CanonicalHeadFrame-S3Jk9F1P.js";
10
+ import { o as yp, v as Sp, w as Mp, x as Ep, y as xp, z as kp, A as Re, E as me, G as se, H as Ct, I as Xn, J as Lt, K as cu, L as wt, N as Ap, O as lr, P as bp, Q as yn, R as Fp, T as _p, U as Tp, V as cs, W as Bo, X as Ht, Y as lu, Z as Cp, _ as uu, $ as Lp, a0 as $a, a1 as Rp, h as Ip, e as Pp, b as Up, a2 as Da, a3 as Op, a4 as Np, a5 as $p, p as hu, g as Dp } from "./useIrisTracking-D6mv7coz.js";
11
+ import { ak as vk, al as wk, am as yk, a7 as Sk, a8 as Mk, a9 as Ek, aa as xk, M as kk, ac as Ak, ad as bk, ae as Fk, af as _k, ag as Tk, ah as Ck, a6 as Lk, ab as Rk, ai as Ik, aj as Pk, an as Uk } from "./useIrisTracking-D6mv7coz.js";
12
+ import { k as oa, n as Yr, x as ur, j as Pe, bc as Gp, p as yt, A as zp, b5 as Bp, $ as Hp, g as Kp, bd as Vp, be as Wp, J as fu, bf as jp, bg as qp } from "./index-BmeB_V6I.js";
13
+ import { I as Nk, D as $k, G as Dk } from "./index-BmeB_V6I.js";
14
+ import { d as Yp, D as hr, l as Xp, n as Qp, f as fr, o as Jp, q as Zp, M as je, u as ht, g as ed, v as ls, w as pu, x as du, y as mu, z as td, L as nd, A as Ho, B as ja, C as pr, E as gu, G as ge, H as ad, a as vu, J as sd, K as od, N as Xr } from "./FaceRetouch-4tV3RYa-.js";
15
+ import { Z as zk, O as Bk, _ as Hk, $ as Kk, a0 as Vk, X as Wk, F as jk, a1 as qk, a2 as Yk, b as Xk, a3 as Qk, Y as Jk, P as Zk, Q as eA, I as tA, R as nA, T as aA, j as sA, k as oA, a4 as rA, a5 as iA, a6 as cA, S as lA, U as uA, h as hA, a7 as fA, p as pA, c as dA, e as mA, r as gA, V as vA, s as wA, i as yA, W as SA, t as MA } from "./FaceRetouch-4tV3RYa-.js";
16
+ import { d as dr, u as rd, a as wu, C as J, b as yu, c as id } from "./CanonicalHeadFrame-ZSfpHH_w.js";
17
+ import { f as xA, e as kA, g as AA, s as bA } from "./CanonicalHeadFrame-ZSfpHH_w.js";
18
18
  import { s as cd } from "./similarityFit-Bbz-R8AY.js";
19
- import { f as Je, u as Ze, c as Be } from "./selectors-CiawE6Ox.js";
20
- import { u as Ue, F as ld, a as ud } from "./index-Dk1UOe-H.js";
19
+ import { e as Je, b as Ze, c as Be } from "./selectors-kj5g3uv2.js";
20
+ import { u as Ue, F as ld, a as ud } from "./index-BTVIMj8H.js";
21
21
  import { a as Qn, C as te, b as ie } from "./canonicalFace-BHwyCx1c.js";
22
22
  import { Text as Fs } from "@react-three/drei";
23
- import { r as hd, a as Su } from "./landmarks-BgLF-yfd.js";
24
- import { a as Mu, g as fd, u as pd } from "./cache-CsH3zPDX.js";
25
- import { u as mr, f as us, b as ra, c as Eu, F as xu, a as ku, m as qa } from "./FaceSurface-DmP9AEeC.js";
26
- import { f as dd, M as ia, b as Kn, c as Au, r as Ga, a as bu } from "./renderState-CJNmj5jz.js";
27
- import { F as FA } from "./renderState-CJNmj5jz.js";
28
- import { b as md, A as gd } from "./segmentation-Q1eXSt_x.js";
29
- import { a as TA } from "./segmentation-Q1eXSt_x.js";
23
+ import { r as hd, a as Su } from "./landmarks-BB8jyfJA.js";
24
+ import { u as fd } from "./useLiveProps-CMkyV6Dt.js";
25
+ import { u as mr, f as us, b as ra, c as Mu, F as Eu, a as xu, m as qa } from "./FaceSurface-DmP9AEeC.js";
26
+ import { f as pd, M as ia, b as Kn, c as ku, r as Ga, a as Au } from "./renderState-CJNmj5jz.js";
27
+ import { F as _A } from "./renderState-CJNmj5jz.js";
28
+ import { u as bu, g as dd } from "./cache-CbX-0Rgn.js";
29
+ import { b as md, A as gd } from "./segmentation-BWHRt2hE.js";
30
+ import { a as CA } from "./segmentation-BWHRt2hE.js";
30
31
  import { FilesetResolver as vd, FaceLandmarker as wd } from "@mediapipe/tasks-vision";
31
32
  import { a as gr } from "./useLandmarkPoseFit-Bmb3h6Mw.js";
32
- import { L as LA, b as RA, s as IA, u as PA } from "./useLandmarkPoseFit-Bmb3h6Mw.js";
33
- import { C as yd, w as Sd, x as Md } from "./renderPasses-CLOTeP38.js";
34
- import { L as OA, G as NA, z as $A, i as DA, A as GA, B as zA, d as BA, e as HA, f as KA, F as VA, a as WA, b as jA, c as qA, H as YA, m as XA, y as QA, I as JA, J as ZA, K as eb, O as tb, P as nb, R as ab, N as sb, v as ob, p as rb, s as ib, Q as cb } from "./renderPasses-CLOTeP38.js";
33
+ import { L as RA, b as IA, s as PA, u as UA } from "./useLandmarkPoseFit-Bmb3h6Mw.js";
34
+ import { C as yd, w as Sd, x as Md } from "./renderPasses-DYc2-EBT.js";
35
+ import { L as NA, G as $A, z as DA, i as GA, A as zA, B as BA, d as HA, e as KA, f as VA, F as WA, a as jA, b as qA, c as YA, H as XA, k as QA, y as JA, I as ZA, J as eb, K as tb, O as nb, P as ab, R as sb, N as ob, v as rb, p as ib, s as cb, Q as lb } from "./renderPasses-DYc2-EBT.js";
35
36
  import { T as Qr } from "./textures-BVwo9Z7z.js";
36
37
  import { O as _s } from "./landmarkMask-DHivVjJm.js";
37
- import { D as ub, S as hb, f as fb, g as pb, p as db, e as mb, r as gb } from "./landmarkMask-DHivVjJm.js";
38
+ import { D as hb, S as fb, f as pb, g as db, p as mb, e as gb, r as vb } from "./landmarkMask-DHivVjJm.js";
38
39
  import { c as Fu } from "./SkeletonUtils-C2r90MtN.js";
39
- import { y as wb, P as yb, S as Sb, x as Mb, d as Eb, e as xb, f as kb } from "./providers-Bo1gfoXg.js";
40
+ import { y as yb, P as Sb, S as Mb, x as Eb, d as xb, e as kb, f as Ab } from "./providers-Q4H0Ii-y.js";
40
41
  const _u = {
41
42
  headCenter: [0, 2.7, -2.2],
42
43
  crown: [0, 13.26, -3.76],
@@ -48,7 +49,7 @@ const _u = {
48
49
  rightEar: [-8.84, 1.37, -3.26],
49
50
  leftEarLobe: [9.34, -0.73, -3],
50
51
  rightEarLobe: [-9.34, -0.73, -3]
51
- }, ex = Object.keys(
52
+ }, tx = Object.keys(
52
53
  _u
53
54
  ), Ed = /* @__PURE__ */ new Set([
54
55
  "leftEar",
@@ -58,13 +59,13 @@ const _u = {
58
59
  ]), hs = (e, t = !1) => {
59
60
  const n = _u[oa(e, t)];
60
61
  return { position: n, mirror: Ed.has(e) && n[0] < 0 };
61
- }, tx = (e, t = new d.Vector3(), n = !1) => t.fromArray(hs(e, n).position), Tu = (e, t, n = !1) => {
62
+ }, nx = (e, t = new d.Vector3(), n = !1) => t.fromArray(hs(e, n).position), Tu = (e, t, n = !1) => {
62
63
  const { position: a, mirror: s } = hs(e, n), [o, r, i] = a, [c, u, l] = (t == null ? void 0 : t.position) ?? [0, 0, 0], h = t == null ? void 0 : t.rotation;
63
64
  return {
64
65
  position: [o + (s ? -c : c), r + u, i + l],
65
66
  rotation: h && s ? [h[0], -h[1], -h[2]] : h
66
67
  };
67
- }, nx = ({
68
+ }, ax = ({
68
69
  point: e,
69
70
  offset: t,
70
71
  mirrored: n,
@@ -278,7 +279,7 @@ const Ld = (e, t) => {
278
279
  const a = Array.isArray(n.material) ? n.material : [n.material];
279
280
  n.renderOrder = a.some((s) => s.transparent) ? Pd : Id;
280
281
  }), t;
281
- }, ax = ({
282
+ }, sx = ({
282
283
  model: e,
283
284
  children: t,
284
285
  left: n = !0,
@@ -464,7 +465,7 @@ const Ld = (e, t) => {
464
465
  children: /* @__PURE__ */ R("planeGeometry", { args: [2, 2] })
465
466
  }
466
467
  );
467
- }, sx = ({
468
+ }, ox = ({
468
469
  numFaces: e,
469
470
  active: t = !0,
470
471
  predictMs: n = 0,
@@ -805,7 +806,7 @@ const Ld = (e, t) => {
805
806
  reacquireSnapMs: 1e3,
806
807
  /** Fit confidence cap (also guards ambient ≤ 0); `LIGHT_FIT.maxConfidence`. */
807
808
  maxConfidence: 100
808
- }), ox = ["auto", "high", "medium", "low"], rn = Object.freeze({
809
+ }), rx = ["auto", "high", "medium", "low"], rn = Object.freeze({
809
810
  high: { key: "high", size: 128, hz: 15, lightFit: !0 },
810
811
  medium: { key: "medium", size: 128, hz: 10, lightFit: !0 },
811
812
  low: { key: "low", size: 64, hz: 5, lightFit: !1 }
@@ -889,7 +890,7 @@ const Ld = (e, t) => {
889
890
  ru
890
891
  );
891
892
  return n.flipY = !1, n.unpackAlignment = 1, n.magFilter = Wa, n.minFilter = Wa, n.needsUpdate = !0, n;
892
- }, rx = (e, t = [255, 255, 255]) => {
893
+ }, ix = (e, t = [255, 255, 255]) => {
893
894
  const n = new Uint8ClampedArray(e.data.length * 4);
894
895
  return e.data.forEach((a, s) => {
895
896
  n[s * 4] = t[0], n[s * 4 + 1] = t[1], n[s * 4 + 2] = t[2], n[s * 4 + 3] = a;
@@ -1029,7 +1030,7 @@ const Ld = (e, t) => {
1029
1030
  cupidsBow: 0,
1030
1031
  chin: 199,
1031
1032
  foreheadCenter: 151
1032
- }, ix = (e, t = "negX") => {
1033
+ }, cx = (e, t = "negX") => {
1033
1034
  const n = t === "posX" ? Ct[vi[e]] : vi[e];
1034
1035
  return [
1035
1036
  J[n * 3],
@@ -1048,7 +1049,7 @@ const Ld = (e, t) => {
1048
1049
  }, Us = (e) => {
1049
1050
  const t = Number(e.toFixed(5)).toString();
1050
1051
  return t.includes(".") || t.includes("e") ? t : `${t}.0`;
1051
- }, um = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1_$2").toUpperCase(), cx = (e = im, t = "FACE_ATLAS_") => e.map((n) => {
1052
+ }, um = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1_$2").toUpperCase(), lx = (e = im, t = "FACE_ATLAS_") => e.map((n) => {
1052
1053
  const { points: a } = Jn[n], s = a.length / 3, o = `${t}${um(n)}`, r = [];
1053
1054
  for (let i = 0; i < a.length; i += 3)
1054
1055
  r.push(
@@ -2176,7 +2177,7 @@ const Om = () => ({
2176
2177
  kn(u.acquire, u.numFaces);
2177
2178
  const f = Ze(Pe.FACE_TRACKER);
2178
2179
  Du(f, h, "useFaceAtlasSurface (makeup and face-atlas layers)");
2179
- const p = Be(), { index: m, tiers: w } = Mu(), v = $u(m, w.length), [g, y] = Me(null), S = l ? o : null, M = l ? r : null;
2180
+ const p = Be(), { index: m, tiers: w } = bu(), v = $u(m, w.length), [g, y] = Me(null), S = l ? o : null, M = l ? r : null;
2180
2181
  V(() => {
2181
2182
  const x = bp(c), F = S ? { kind: "borrowed", rig: S, offsets: M } : { kind: "owned", faceIndex: h }, _ = x.get(F);
2182
2183
  return x.retain(_, c), y(_), () => {
@@ -2248,7 +2249,7 @@ const Om = () => ({
2248
2249
  l.releaseGeometry(F), w((_) => _ === F ? null : _);
2249
2250
  };
2250
2251
  }, [l, p, n, a]);
2251
- const g = i ?? dd(o, u);
2252
+ const g = i ?? pd(o, u);
2252
2253
  V(
2253
2254
  () => g ? h() : void 0,
2254
2255
  [h, g]
@@ -2293,7 +2294,7 @@ const Om = () => ({
2293
2294
  }) => {
2294
2295
  const o = Qu({ faceIndex: e, numFaces: t, leadMs: n, holdMs: a });
2295
2296
  return o ? /* @__PURE__ */ R(Ju, { handle: o, ...s }) : null;
2296
- }, Mr = ia.lips, Hm = 1e-3, lx = {
2297
+ }, Mr = ia.lips, Hm = 1e-3, ux = {
2297
2298
  ...hr,
2298
2299
  renderOrder: Mr
2299
2300
  }, Er = (
@@ -3751,7 +3752,7 @@ void main() {
3751
3752
  `), St = (e, t, n) => ({
3752
3753
  x: e * n,
3753
3754
  y: (1 - t) * n
3754
- }), ux = (e, t) => ({ u: 1 - e, v: t }), qe = {
3755
+ }), hx = (e, t) => ({ u: 1 - e, v: t }), qe = {
3755
3756
  face: "#64748b",
3756
3757
  skin: "#d4a373",
3757
3758
  lips: "#e85d75",
@@ -3873,7 +3874,7 @@ void main() {
3873
3874
  );
3874
3875
  }
3875
3876
  return `<svg xmlns="http://www.w3.org/2000/svg" width="${t}" height="${t}" viewBox="0 0 ${t} ${t}">${p.join("")}</svg>`;
3876
- }, hx = (e) => `data:image/svg+xml;charset=utf-8,${encodeURIComponent(ds(e))}`, xr = (e, t, n) => new Promise((a, s) => {
3877
+ }, fx = (e) => `data:image/svg+xml;charset=utf-8,${encodeURIComponent(ds(e))}`, xr = (e, t, n) => new Promise((a, s) => {
3877
3878
  const o = new Image();
3878
3879
  o.onload = () => {
3879
3880
  const r = document.createElement("canvas");
@@ -3887,7 +3888,7 @@ void main() {
3887
3888
  c ? a(c) : s(new Error(`${n}: PNG encoding failed`));
3888
3889
  }, "image/png");
3889
3890
  }, o.onerror = () => s(new Error(`${n}: could not rasterize the SVG`)), o.src = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(e)}`;
3890
- }), fx = (e = {}) => xr(ds(e), e.size ?? 1024, "face atlas guide"), px = {
3891
+ }), px = (e = {}) => xr(ds(e), e.size ?? 1024, "face atlas guide"), dx = {
3891
3892
  minU: 0.382,
3892
3893
  maxU: 0.618,
3893
3894
  minV: 0.263,
@@ -3980,7 +3981,7 @@ const ua = (e) => e ? Ni(e.uvs, Sd, yd) : (Ks || (Ks = Object.freeze(
3980
3981
  }
3981
3982
  }
3982
3983
  return `<svg xmlns="http://www.w3.org/2000/svg" width="${n}" height="${n}" viewBox="${w.map(Ve).join(" ")}">${M.join("")}</svg>`;
3983
- }, dx = (e, t) => `data:image/svg+xml;charset=utf-8,${encodeURIComponent(rh(e, t))}`, mx = (e, t) => {
3984
+ }, mx = (e, t) => `data:image/svg+xml;charset=utf-8,${encodeURIComponent(rh(e, t))}`, gx = (e, t) => {
3984
3985
  const n = oh(e, t);
3985
3986
  return xr(rh(n), n.size ?? 1024, "lip UV guide");
3986
3987
  };
@@ -4024,7 +4025,7 @@ const I0 = () => (Ea || (Ea = new d.DataTexture(new Uint8Array([255, 255, 255, 2
4024
4025
  uniforms: e,
4025
4026
  vertexShader: M0,
4026
4027
  fragmentShader: x0,
4027
- ...Au,
4028
+ ...ku,
4028
4029
  side: d.DoubleSide,
4029
4030
  depthTest: !0,
4030
4031
  depthFunc: d.LessEqualDepth,
@@ -4124,7 +4125,7 @@ const $0 = () => (Vs || (Vs = new d.MeshBasicMaterial({
4124
4125
  numFaces: t,
4125
4126
  rigFaceIndex: g ? g.current.faceIndex : null,
4126
4127
  trackerFaceIndex: (y == null ? void 0 : y.type) === "face" ? y.faceIndex ?? 0 : null
4127
- }).faceIndex, M = Sr({ faceIndex: S, enabled: f }), { index: E, tiers: A } = Mu(), k = G(() => ({ value: 1 }), []), x = G(() => /* @__PURE__ */ new WeakMap(), []);
4128
+ }).faceIndex, M = Sr({ faceIndex: S, enabled: f }), { index: E, tiers: A } = bu(), k = G(() => ({ value: 1 }), []), x = G(() => /* @__PURE__ */ new WeakMap(), []);
4128
4129
  k.value = $u(E, A.length) === "low" ? 0 : 1;
4129
4130
  const F = ua(), _ = ph(h.maskMode), T = f && !r && !o, L = { cameraTexture: m, ...p, settings: h, lipUvBounds: F, personLeftSign: v }, I = jo(
4130
4131
  { ...L, subtractMouth: _ },
@@ -4183,7 +4184,7 @@ const $0 = () => (Vs || (Vs = new d.MeshBasicMaterial({
4183
4184
  }
4184
4185
  )
4185
4186
  ] });
4186
- }, dh = {}, H0 = (e, t) => typeof e == "function" ? e(t) : e ?? dh, gx = ({
4187
+ }, dh = {}, H0 = (e, t) => typeof e == "function" ? e(t) : e ?? dh, vx = ({
4187
4188
  maxFaces: e = 2,
4188
4189
  faces: t,
4189
4190
  shareMaterial: n = typeof t != "function",
@@ -4288,7 +4289,7 @@ const $0 = () => (Vs || (Vs = new d.MeshBasicMaterial({
4288
4289
  } : null,
4289
4290
  [s, r]
4290
4291
  );
4291
- }, vx = ({ children: e, enabled: t }) => {
4292
+ }, wx = ({ children: e, enabled: t }) => {
4292
4293
  const n = W0({ enabled: t });
4293
4294
  return /* @__PURE__ */ R(kr.Provider, { value: n, children: e });
4294
4295
  }, j0 = () => Wt(kr), Ar = () => {
@@ -4689,7 +4690,7 @@ const pe = (e, t, n = 0.01) => {
4689
4690
  { key: "boldness", label: "Boldness", ...pe("brows", "boldness") },
4690
4691
  { key: "fill", label: "Fill (hairs → powder)", ...pe("brows", "fill") },
4691
4692
  { key: "strokes", label: "Hair strokes", ...pe("brows", "strokes") }
4692
- ]), wx = {
4693
+ ]), yx = {
4693
4694
  lips: nd,
4694
4695
  contour: Z0,
4695
4696
  blush: J0,
@@ -4892,7 +4893,7 @@ const pe = (e, t, n = 0.01) => {
4892
4893
  }
4893
4894
  }, rg = (e) => typeof e == "string" && sg.includes(e), zi = (e) => e ? Object.fromEntries(
4894
4895
  Object.entries(e).filter(([, t]) => t !== void 0)
4895
- ) : {}, yx = (e, t = {}) => {
4896
+ ) : {}, Sx = (e, t = {}) => {
4896
4897
  const n = typeof e == "string" ? og[rg(e) ? e : "natural"] : e, a = (s) => Et(s, {
4897
4898
  ...zi(n[s]),
4898
4899
  ...zi(t[s])
@@ -4968,7 +4969,7 @@ const pe = (e, t, n = 0.01) => {
4968
4969
  ["cheeks", "nose"],
4969
4970
  ["lids", "cheeks", "forehead"],
4970
4971
  ["lids", "forehead"]
4971
- ], Ki = (e) => (typeof e == "string" ? [e] : e).map((t, n) => n === 0 ? ja(t) : t).join(" + "), Sx = [
4972
+ ], Ki = (e) => (typeof e == "string" ? [e] : e).map((t, n) => n === 0 ? ja(t) : t).join(" + "), Mx = [
4972
4973
  { key: "enabled", label: "On", type: "boolean" },
4973
4974
  {
4974
4975
  key: "region",
@@ -5478,7 +5479,7 @@ void main() {
5478
5479
  const s = Ih(t);
5479
5480
  Wg(e, n, s.autoShade, a), s.updateUniforms(e, n);
5480
5481
  }, jg = /* @__PURE__ */ Object.freeze({
5481
- ...Au,
5482
+ ...ku,
5482
5483
  depthWrite: !1,
5483
5484
  depthTest: !0,
5484
5485
  depthFunc: d.LessEqualDepth,
@@ -5497,7 +5498,7 @@ void main() {
5497
5498
  }, Nh = (e) => {
5498
5499
  var t;
5499
5500
  return e.isShaderMaterial === !0 && typeof ((t = e.userData) == null ? void 0 : t.makeupRegion) == "string" && e.userData.makeupRegion in Ft;
5500
- }, Mx = (e, { settings: t, quality: n, mirrored: a } = {}) => {
5501
+ }, Ex = (e, { settings: t, quality: n, mirrored: a } = {}) => {
5501
5502
  if (!Nh(e))
5502
5503
  throw new Error("updateMakeupMaterial: not a material from createMakeupMaterial");
5503
5504
  const s = e.userData.makeupRegion;
@@ -5691,7 +5692,7 @@ const Xo = /* @__PURE__ */ new WeakMap(), Zg = (e) => {
5691
5692
  visible: S && t.opacity > 0
5692
5693
  }
5693
5694
  );
5694
- }, qt = (e) => e.settings.enabled ? /* @__PURE__ */ R(ov, { ...e }) : null, Ex = ({
5695
+ }, qt = (e) => e.settings.enabled ? /* @__PURE__ */ R(ov, { ...e }) : null, xx = ({
5695
5696
  faceIndex: e,
5696
5697
  numFaces: t,
5697
5698
  mirrored: n,
@@ -5711,7 +5712,7 @@ const Xo = /* @__PURE__ */ new WeakMap(), Zg = (e) => {
5711
5712
  material: s,
5712
5713
  sharedMaterial: o
5713
5714
  }
5714
- ), xx = ({
5715
+ ), kx = ({
5715
5716
  faceIndex: e,
5716
5717
  numFaces: t,
5717
5718
  mirrored: n,
@@ -5731,7 +5732,7 @@ const Xo = /* @__PURE__ */ new WeakMap(), Zg = (e) => {
5731
5732
  material: s,
5732
5733
  sharedMaterial: o
5733
5734
  }
5734
- ), kx = ({
5735
+ ), Ax = ({
5735
5736
  faceIndex: e,
5736
5737
  numFaces: t,
5737
5738
  mirrored: n,
@@ -5751,7 +5752,7 @@ const Xo = /* @__PURE__ */ new WeakMap(), Zg = (e) => {
5751
5752
  material: s,
5752
5753
  sharedMaterial: o
5753
5754
  }
5754
- ), Ax = ({
5755
+ ), bx = ({
5755
5756
  faceIndex: e,
5756
5757
  numFaces: t,
5757
5758
  mirrored: n,
@@ -5771,7 +5772,7 @@ const Xo = /* @__PURE__ */ new WeakMap(), Zg = (e) => {
5771
5772
  material: s,
5772
5773
  sharedMaterial: o
5773
5774
  }
5774
- ), bx = ({
5775
+ ), Fx = ({
5775
5776
  faceIndex: e,
5776
5777
  numFaces: t,
5777
5778
  mirrored: n,
@@ -5791,7 +5792,7 @@ const Xo = /* @__PURE__ */ new WeakMap(), Zg = (e) => {
5791
5792
  material: s,
5792
5793
  sharedMaterial: o
5793
5794
  }
5794
- ), Fx = ({
5795
+ ), _x = ({
5795
5796
  faceIndex: e,
5796
5797
  numFaces: t,
5797
5798
  mirrored: n,
@@ -5836,7 +5837,7 @@ const Xo = /* @__PURE__ */ new WeakMap(), Zg = (e) => {
5836
5837
  s = !1;
5837
5838
  };
5838
5839
  }, [t]), V(() => () => n == null ? void 0 : n.dispose(), [n]), e instanceof d.Texture ? e : t === "" ? null : n;
5839
- }, _x = ({
5840
+ }, Tx = ({
5840
5841
  texture: e,
5841
5842
  faceIndex: t,
5842
5843
  numFaces: n,
@@ -5863,7 +5864,7 @@ const Xo = /* @__PURE__ */ new WeakMap(), Zg = (e) => {
5863
5864
  sharedMaterial: r
5864
5865
  }
5865
5866
  );
5866
- }, Tx = ["fair", "light", "medium", "tan", "deep", "rich"], Cx = ["cool", "neutral", "warm"], Ye = Object.freeze({
5867
+ }, Cx = ["fair", "light", "medium", "tan", "deep", "rich"], Lx = ["cool", "neutral", "warm"], Ye = Object.freeze({
5867
5868
  /**
5868
5869
  * Lower ITA bound of each depth but the deepest (the Individual Typology
5869
5870
  * Angle, `atan((L* − 50) / b*)`, with Chardon's skin categories: very light
@@ -5981,7 +5982,7 @@ const pv = () => (cc ?? (cc = Object.fromEntries(
5981
5982
  }, yv = (e, t) => e === t ? !1 : !e || !t || e.skin !== t.skin || e.depth !== t.depth || e.undertone !== t.undertone || e.lips !== t.lips || e.brows !== t.brows ? !0 : pr.some((n) => {
5982
5983
  const a = e.recommendations[n], s = t.recommendations[n];
5983
5984
  return a.length !== s.length || a.some((o, r) => o !== s[r]);
5984
- }), Sv = -0.45, Lx = (e = {}) => {
5985
+ }), Sv = -0.45, Rx = (e = {}) => {
5985
5986
  const t = e.enabled !== !1, n = we(), a = Ue(), s = lr({
5986
5987
  faceIndex: e.faceIndex,
5987
5988
  numFaces: e.numFaces,
@@ -6028,7 +6029,7 @@ const pv = () => (cc ?? (cc = Object.fromEntries(
6028
6029
  let a = lc.get(e);
6029
6030
  return a || (a = /* @__PURE__ */ new Map(), lc.set(e, a)), a.has(t) || a.set(t, n()), a.get(t);
6030
6031
  }, lo = /* @__PURE__ */ new Map(), Yt = (e, t) => (lo.has(e) || lo.set(e, t()), lo.get(e)), _e = (e) => {
6031
- }, Rx = ["leftEye", "rightEye", "eyes", "mouth", "nose", "face"], Vn = {
6032
+ }, Ix = ["leftEye", "rightEye", "eyes", "mouth", "nose", "face"], Vn = {
6032
6033
  leftEye: { width: 0.8, height: 0.55 },
6033
6034
  rightEye: { width: 0.8, height: 0.55 },
6034
6035
  eyes: { width: 1.8, height: 0.55 },
@@ -6277,7 +6278,7 @@ const pv = () => (cc ?? (cc = Object.fromEntries(
6277
6278
  const k = u.getClearAlpha();
6278
6279
  u.setRenderTarget(p.target), u.setClearColor(0, 0), u.clear(!0, !1, !1), u.copyFramebufferToTexture(p.texture), u.setRenderTarget(A), u.setClearColor(pc, k);
6279
6280
  }), p.texture;
6280
- }, Pv = ra + 0.5, Ix = ["face", "plane"], Uv = ({ renderOrder: e, ...t }) => {
6281
+ }, Pv = ra + 0.5, Px = ["face", "plane"], Uv = ({ renderOrder: e, ...t }) => {
6281
6282
  const n = Ze(Pe.FACE_TRACKER), a = Ar(), s = de((f) => f.size), o = G(() => zh("face"), []);
6282
6283
  V(() => () => _e(), [o]);
6283
6284
  const r = G(Dh, []), i = G(() => ({ x: 0, y: 0, z: 0, visibility: 0 }), []), c = G(Bh, []), u = G(() => ({ size: 1, mirrored: !0 }), []), l = z(null), h = z(t);
@@ -6332,7 +6333,7 @@ const pv = () => (cc ?? (cc = Object.fromEntries(
6332
6333
  }
6333
6334
  )
6334
6335
  ] });
6335
- }, Px = ({
6336
+ }, Ux = ({
6336
6337
  part: e,
6337
6338
  placement: t = "face",
6338
6339
  magnify: n = 1.5,
@@ -7143,7 +7144,7 @@ const gs = te + 3, Ec = te, xc = te + 1, kc = te + 2, ew = /* @__PURE__ */ (() =
7143
7144
  for (const [t, n] of tw)
7144
7145
  e[t] = n, e[n] = t;
7145
7146
  return e;
7146
- })(), Ux = (e, t = []) => {
7147
+ })(), Ox = (e, t = []) => {
7147
7148
  const n = e.length;
7148
7149
  if (n < te)
7149
7150
  throw new Error(
@@ -7376,7 +7377,7 @@ const nf = () => {
7376
7377
  }, Tc = (e, t, n) => {
7377
7378
  const a = Math.max(e[3], _t), s = rf(ea[0], ea[1], e[3]);
7378
7379
  for (let o = 0; o < 3; o += 1) n[o] = cn(t[o], e[o] / a, s) / t[o];
7379
- }, Ox = (e, t, n = [1, 1, 1]) => {
7380
+ }, Nx = (e, t, n = [1, 1, 1]) => {
7380
7381
  const { sM: a, tM: s, sR: o, tR: r } = hw;
7381
7382
  _c(e.sourceMean, a), _c(e.targetMean, s), Tc(e.sourceLow, a, o), Tc(e.targetLow, s, r);
7382
7383
  const i = Math.max(Fc(o[0], o[1], o[2]), _t), c = Math.max(Fc(r[0], r[1], r[2]), _t), u = rf(
@@ -7397,7 +7398,7 @@ const nf = () => {
7397
7398
  n[f] = Math.min(ns[1], Math.max(ns[0], v));
7398
7399
  }
7399
7400
  return n;
7400
- }, Nx = [
7401
+ }, $x = [
7401
7402
  "asIs",
7402
7403
  "flip",
7403
7404
  "leftLeft",
@@ -8386,7 +8387,7 @@ const ha = {
8386
8387
  t.timeMs,
8387
8388
  t.smoothing
8388
8389
  ), !c && n.smoothing === "snap" && (c = "jump"), e.tracked = !0, e.lastSeenMs = t.timeMs, e.noseX = r, e.noseY = i, e.camera = t.camera, n.tracked = !0, n.resetStatistics = c !== null, n.reason = c, n;
8389
- }, $x = ["auto", "high", "medium", "low"], Bw = {
8390
+ }, Dx = ["auto", "high", "medium", "low"], Bw = {
8390
8391
  high: {
8391
8392
  key: "high",
8392
8393
  meshLevel: 2,
@@ -8639,7 +8640,7 @@ const as = /* @__PURE__ */ new WeakMap(), Yw = (e, t, n) => {
8639
8640
  if (e)
8640
8641
  return { numFaces: Ga(1, n ?? 2), targets: [0, 1], checkFace: 1 };
8641
8642
  if (t !== void 0) {
8642
- const i = bu(t);
8643
+ const i = Au(t);
8643
8644
  return { numFaces: Ga(i, n ?? 1), targets: [i], checkFace: i };
8644
8645
  }
8645
8646
  const s = Ga(0, n ?? 1), o = typeof a == "number" && Number.isFinite(a) ? Math.round(a) : 0, r = Math.max(s, o);
@@ -8771,7 +8772,7 @@ const as = /* @__PURE__ */ new WeakMap(), Yw = (e, t, n) => {
8771
8772
  }
8772
8773
  }
8773
8774
  return s;
8774
- }, Dx = (e, t, n, a, s = { x: 0, y: 0 }) => {
8775
+ }, Gx = (e, t, n, a, s = { x: 0, y: 0 }) => {
8775
8776
  s.x = n, s.y = a;
8776
8777
  for (let o = t - 1; o >= 0; o -= 1) dy(e, o, s.x, s.y, s);
8777
8778
  return s;
@@ -9498,7 +9499,7 @@ const By = [
9498
9499
  count: 0
9499
9500
  }), r1 = (e) => {
9500
9501
  e.pass.dispose(), _e(e.pass.material);
9501
- }, Gx = ({
9502
+ }, zx = ({
9502
9503
  weights: e,
9503
9504
  warps: t,
9504
9505
  weight: n,
@@ -9626,7 +9627,7 @@ const By = [
9626
9627
  E.map((T) => /* @__PURE__ */ R("primitive", { object: T.pass.mesh }, T.pass.mesh.uuid)),
9627
9628
  k ? /* @__PURE__ */ R("primitive", { object: k.mesh }) : null
9628
9629
  ] });
9629
- }, zx = ["real", "smooth"], i1 = Object.freeze([
9630
+ }, Bx = ["real", "smooth"], i1 = Object.freeze([
9630
9631
  "eyes",
9631
9632
  "lids",
9632
9633
  "brows",
@@ -9958,7 +9959,7 @@ const S1 = (e, t = null, n = [], a = y1) => {
9958
9959
  unseen: c = "fade",
9959
9960
  ...u
9960
9961
  }) => {
9961
- const l = Ue(), h = bu(
9962
+ const l = Ue(), h = Au(
9962
9963
  n ?? ((l == null ? void 0 : l.type) === "face" ? l.faceIndex : void 0) ?? 0
9963
9964
  ), f = vu(u, {
9964
9965
  source: e ? { kind: "faceTexture", face: e } : null
@@ -10049,7 +10050,7 @@ const S1 = (e, t = null, n = [], a = y1) => {
10049
10050
  renderOrder: n
10050
10051
  }
10051
10052
  );
10052
- }, Bx = ({
10053
+ }, Hx = ({
10053
10054
  style: e = gt.style,
10054
10055
  grain: t = gt.grain,
10055
10056
  amount: n,
@@ -10359,7 +10360,7 @@ const S1 = (e, t = null, n = [], a = y1) => {
10359
10360
  }
10360
10361
  }
10361
10362
  return { names: a, deltas: o };
10362
- }, Hx = (e, t, n, a, { weight: s, expression: o }, r, i) => {
10363
+ }, Kx = (e, t, n, a, { weight: s, expression: o }, r, i) => {
10363
10364
  const c = fe().index, u = o - 1;
10364
10365
  for (let l = 0; l < e.faceCount; l += 1) {
10365
10366
  const h = e.triangle[l];
@@ -10543,7 +10544,7 @@ const S1 = (e, t = null, n = [], a = y1) => {
10543
10544
  M.cameraMap.value = u ?? null, M.opacity.value = o, M.liveMap.value = y, M.liveWidth.value = g, M.deltaMap.value = w, M.deltaGrid.value.set(p.deltaWidth, p.rowsPerKey, p.rowsPerKey * Math.max(p.keyCount, 1)), M.keyCount.value = p.keyCount;
10544
10545
  const E = z({ weights: t, weight: n, expression: a });
10545
10546
  E.current = { weights: t, weight: n, expression: a };
10546
- const A = z(null), k = z(Eu());
10547
+ const A = z(null), k = z(Mu());
10547
10548
  return ue(() => {
10548
10549
  const x = c == null ? void 0 : c.current, F = A.current;
10549
10550
  if (!F || (F.visible = !!u && !!x && x.tracking !== "lost", !F.visible || !x)) return;
@@ -10560,7 +10561,7 @@ const S1 = (e, t = null, n = [], a = y1) => {
10560
10561
  const D = h.deltas[O];
10561
10562
  for (let B = 0; B < I.offsets.length; B += 1) I.offsets[B] += P * D[B];
10562
10563
  }
10563
- }, xu), /* @__PURE__ */ ne(ku.Provider, { value: k, children: [
10564
+ }, Eu), /* @__PURE__ */ ne(xu.Provider, { value: k, children: [
10564
10565
  /* @__PURE__ */ R(
10565
10566
  "mesh",
10566
10567
  {
@@ -10573,7 +10574,7 @@ const S1 = (e, t = null, n = [], a = y1) => {
10573
10574
  ),
10574
10575
  i
10575
10576
  ] });
10576
- }, Kx = ({
10577
+ }, Vx = ({
10577
10578
  faceIndex: e,
10578
10579
  smoothing: t,
10579
10580
  expressionSmoothing: n,
@@ -10598,7 +10599,7 @@ const S1 = (e, t = null, n = [], a = y1) => {
10598
10599
  onTrackingChange: c,
10599
10600
  children: /* @__PURE__ */ R(Qc, { ...u })
10600
10601
  }
10601
- ), Vx = () => {
10602
+ ), Wx = () => {
10602
10603
  const e = new d.BufferGeometry();
10603
10604
  return e.setAttribute(
10604
10605
  "position",
@@ -10675,7 +10676,7 @@ const X1 = (e, t) => {
10675
10676
  for (let i = 0; i < n.length; i += 3)
10676
10677
  o(n[i], n[i + 1], n[i + 2], r), n[i] = r[0], n[i + 1] = r[1], n[i + 2] = r[2];
10677
10678
  return n;
10678
- }, Z1 = 4, Wx = ({
10679
+ }, Z1 = 4, jx = ({
10679
10680
  children: e,
10680
10681
  faceIndex: t = 0,
10681
10682
  numFaces: n = Z1,
@@ -10730,27 +10731,27 @@ const X1 = (e, t) => {
10730
10731
  }) => {
10731
10732
  const o = vt((Math.abs(a) - 0.18) / 0.42, 0, 1), r = s * 0.75 + e * 0.25, i = e * 0.7 + t * 0.3;
10732
10733
  return r * (1 - o) + i * o + n;
10733
- }, jx = ({
10734
+ }, qx = ({
10734
10735
  baseScale: e,
10735
10736
  pitchRadians: t
10736
10737
  }) => {
10737
10738
  const n = t * 180 / Math.PI, s = 1 + vt((n - 6) / 22, 0, 1) * 0.22;
10738
10739
  return [e[0] * s, e[1] * s, e[2] * s];
10739
- }, qx = ({ yawRadians: e }) => {
10740
+ }, Yx = ({ yawRadians: e }) => {
10740
10741
  const t = Math.abs(e * 180 / Math.PI), a = 0.066 * vt((t - 8) / 12, 0, 1);
10741
10742
  return Math.sign(e) * a;
10742
- }, Yx = ({
10743
+ }, Xx = ({
10743
10744
  pitchRadians: e
10744
10745
  }) => {
10745
10746
  const t = e * 180 / Math.PI;
10746
10747
  return -0.026 * vt((-t - 6) / 18, 0, 1);
10747
- }, Xx = ({
10748
+ }, Qx = ({
10748
10749
  baseOffset: e,
10749
10750
  yawRadians: t
10750
10751
  }) => {
10751
10752
  const n = Math.abs(t * 180 / Math.PI), a = vt((n - 8) / 24, 0, 1);
10752
10753
  return e + a * 0.25;
10753
- }, Qx = ({
10754
+ }, Jx = ({
10754
10755
  baseOffsetY: e,
10755
10756
  baseScaleY: t,
10756
10757
  face: n
@@ -11011,7 +11012,7 @@ const X1 = (e, t) => {
11011
11012
  }
11012
11013
  }
11013
11014
  };
11014
- }, Jx = ({
11015
+ }, Zx = ({
11015
11016
  lockDepth: e,
11016
11017
  lockRotation: t,
11017
11018
  model: n,
@@ -11047,7 +11048,7 @@ const X1 = (e, t) => {
11047
11048
  skullCenterMode: m,
11048
11049
  skullVerticalBias: w,
11049
11050
  width: v
11050
- }).debugMetrics, Zx = ({
11051
+ }).debugMetrics, ek = ({
11051
11052
  boxColor: e,
11052
11053
  boxOpacity: t,
11053
11054
  face: n,
@@ -11261,7 +11262,7 @@ const X1 = (e, t) => {
11261
11262
  ] });
11262
11263
  }, cS = Object.freeze(["pendant", "charm"]), lS = Object.freeze({
11263
11264
  maxAngle: 35
11264
- }), ek = ({
11265
+ }), tk = ({
11265
11266
  model: e,
11266
11267
  children: t,
11267
11268
  swing: n = !0,
@@ -11360,7 +11361,7 @@ const X1 = (e, t) => {
11360
11361
  }), Zc = 3, el = 10, tl = new d.Vector3(0, -1, 0), pS = (e) => {
11361
11362
  for (let t = e; t; t = t.parent) if (!t.visible) return !1;
11362
11363
  return !0;
11363
- }, tk = (e) => {
11364
+ }, nk = (e) => {
11364
11365
  const t = Wt(dr), n = /* @__PURE__ */ R(dS, { ...e });
11365
11366
  return t ? n : /* @__PURE__ */ R(wu, { faceIndex: e.faceIndex, children: n });
11366
11367
  }, dS = ({
@@ -11729,7 +11730,7 @@ const mS = () => (nl ?? (nl = Pr(ye, Ie)), nl), gS = { triangle: -1, u: 0, v: 0,
11729
11730
  /* @__PURE__ */ R("primitive", { object: v }),
11730
11731
  h
11731
11732
  ] });
11732
- }, nk = ({
11733
+ }, ak = ({
11733
11734
  faceIndex: e,
11734
11735
  smoothing: t,
11735
11736
  expressionSmoothing: n,
@@ -11931,7 +11932,7 @@ const mS = () => (nl ?? (nl = Pr(ye, Ie)), nl), gS = { triangle: -1, u: 0, v: 0,
11931
11932
  const l = s.current;
11932
11933
  (i.current % El === 0 || c.current !== l.length) && (r.current.resolve(l, i.current >= El * 2), c.current = l.length), i.current += 1, r.current.apply(l, a.current);
11933
11934
  }), /* @__PURE__ */ R("group", { ref: o, children: n });
11934
- }, ak = ({
11935
+ }, sk = ({
11935
11936
  rules: e,
11936
11937
  resetKey: t,
11937
11938
  children: n,
@@ -12159,7 +12160,7 @@ const mS = () => (nl ?? (nl = Pr(ye, Ie)), nl), gS = { triangle: -1, u: 0, v: 0,
12159
12160
  "lip.right",
12160
12161
  "brow.left",
12161
12162
  "brow.right"
12162
- ], sk = ["stud", "ring"], it = (e, t, n, a) => ({
12163
+ ], ok = ["stud", "ring"], it = (e, t, n, a) => ({
12163
12164
  at: e,
12164
12165
  orient: t,
12165
12166
  offset: { position: n, rotation: a }
@@ -12360,7 +12361,7 @@ const Dl = () => dM ?? (dM = new d.MeshStandardMaterial({
12360
12361
  return /* @__PURE__ */ R("mesh", { material: Dl(), position: [0, 0, t / 2], children: /* @__PURE__ */ R("sphereGeometry", { args: [t / 2, 16, 12] }) });
12361
12362
  const n = Math.max(0.04, t * 0.06), a = t / 2 + n;
12362
12363
  return /* @__PURE__ */ R("mesh", { material: Dl(), position: [0, -a, 0], rotation: [0, Math.PI / 2, 0], children: /* @__PURE__ */ R("torusGeometry", { args: [a, n, 8, 40] }) });
12363
- }, ok = ({
12364
+ }, rk = ({
12364
12365
  preset: e,
12365
12366
  kind: t,
12366
12367
  mirrored: n,
@@ -12454,7 +12455,7 @@ const Dl = () => dM ?? (dM = new d.MeshStandardMaterial({
12454
12455
  }, Gl = /* @__PURE__ */ new WeakMap(), yM = (e) => {
12455
12456
  let t = Gl.get(e);
12456
12457
  return t || (t = e.distance.map(Math.abs), Gl.set(e, t)), t;
12457
- }, zl = (e) => Vf(e) ? gM : vM, rk = ({
12458
+ }, zl = (e) => Vf(e) ? gM : vM, ik = ({
12458
12459
  meshes: e,
12459
12460
  align: t,
12460
12461
  region: n = "face",
@@ -12654,7 +12655,7 @@ const Dl = () => dM ?? (dM = new d.MeshStandardMaterial({
12654
12655
  () => bM(A.parts)
12655
12656
  ) : [],
12656
12657
  [A]
12657
- ), F = z(Eu()), _ = z({ weight: t, expression: n, scale: a });
12658
+ ), F = z(Mu()), _ = z({ weight: t, expression: n, scale: a });
12658
12659
  _.current = { weight: t, expression: n, scale: a };
12659
12660
  const T = G(() => new d.Vector3(), []);
12660
12661
  return ue(() => {
@@ -12692,11 +12693,11 @@ const Dl = () => dM ?? (dM = new d.MeshStandardMaterial({
12692
12693
  I.offsets[P * 3 + B] = H[D.vertex * 3 + B] - N;
12693
12694
  }
12694
12695
  }
12695
- }, xu), /* @__PURE__ */ ne(ku.Provider, { value: F, children: [
12696
+ }, Eu), /* @__PURE__ */ ne(xu.Provider, { value: F, children: [
12696
12697
  /* @__PURE__ */ R("primitive", { object: A.root }),
12697
12698
  w
12698
12699
  ] });
12699
- }, ik = ({
12700
+ }, ck = ({
12700
12701
  faceIndex: e,
12701
12702
  smoothing: t,
12702
12703
  expressionSmoothing: n,
@@ -12984,7 +12985,7 @@ const zM = (e) => (e == null ? void 0 : e.name) === "AbortError", BM = { timeout
12984
12985
  let o, r = () => {
12985
12986
  };
12986
12987
  if (typeof t.src == "string") {
12987
- const u = s ?? fd(), l = md(t.src);
12988
+ const u = s ?? dd(), l = md(t.src);
12988
12989
  ql += 1;
12989
12990
  const h = `face-texture-${ql}`;
12990
12991
  r = () => u.release(l.key, h);
@@ -13140,7 +13141,7 @@ const qM = (e) => {
13140
13141
  }
13141
13142
  )
13142
13143
  ] });
13143
- }, ck = ({
13144
+ }, lk = ({
13144
13145
  source: e = Qw,
13145
13146
  amount: t = 1,
13146
13147
  faceIndex: n,
@@ -13306,7 +13307,7 @@ const qM = (e) => {
13306
13307
  amount: o
13307
13308
  }
13308
13309
  );
13309
- }, lk = ({
13310
+ }, uk = ({
13310
13311
  variant: e,
13311
13312
  amount: t = 1,
13312
13313
  faceIndex: n,
@@ -13336,7 +13337,7 @@ const qM = (e) => {
13336
13337
  },
13337
13338
  g
13338
13339
  )) }) : null;
13339
- }, uk = (e) => {
13340
+ }, hk = (e) => {
13340
13341
  const {
13341
13342
  src: t,
13342
13343
  amount: n = 1,
@@ -13344,7 +13345,7 @@ const qM = (e) => {
13344
13345
  ownEyes: s,
13345
13346
  ownMouth: o,
13346
13347
  visible: r = !0
13347
- } = pd("PaintedFace", e), i = Jf(t ? { kind: "canonicalTexture", src: t } : null);
13348
+ } = fd("PaintedFace", e), i = Jf(t ? { kind: "canonicalTexture", src: t } : null);
13348
13349
  return r ? /* @__PURE__ */ R(
13349
13350
  xn,
13350
13351
  {
@@ -13878,7 +13879,7 @@ const rp = () => (tu ?? (tu = SE()), tu), ME = (e, t) => {
13878
13879
  );
13879
13880
  }
13880
13881
  return `<svg xmlns="http://www.w3.org/2000/svg" width="${t}" height="${t}" viewBox="0 0 ${t} ${t}">${E.join("")}</svg>`;
13881
- }, hk = (e) => `data:image/svg+xml;charset=utf-8,${encodeURIComponent(ip(e))}`, fk = (e = {}) => xr(ip(e), e.size ?? 1024, "face texture guide"), xE = {
13882
+ }, fk = (e) => `data:image/svg+xml;charset=utf-8,${encodeURIComponent(ip(e))}`, pk = (e = {}) => xr(ip(e), e.size ?? 1024, "face texture guide"), xE = {
13882
13883
  skin: "#dcae92",
13883
13884
  brows: "#5b4034",
13884
13885
  lips: "#b4535e",
@@ -13899,7 +13900,7 @@ const rp = () => (tu ?? (tu = SE()), tu), ME = (e, t) => {
13899
13900
  default:
13900
13901
  return `${r}${u(c[0])},${l(c[1])}`;
13901
13902
  }
13902
- }), pk = (e = {}) => {
13903
+ }), dk = (e = {}) => {
13903
13904
  const { size: t = 1024 } = e, n = xE, a = (A, k, x = "") => `<path d="${A}" fill="${k}"${x}/>`, s = (A, k) => St(A, k, t), o = [`<rect width="${t}" height="${t}" fill="${n.skin}"/>`];
13904
13905
  o.push(
13905
13906
  a(
@@ -13953,47 +13954,47 @@ const rp = () => (tu ?? (tu = SE()), tu), ME = (e, t) => {
13953
13954
  ), `<svg xmlns="http://www.w3.org/2000/svg" width="${t}" height="${t}" viewBox="0 0 ${t} ${t}">${o.join("")}</svg>`;
13954
13955
  };
13955
13956
  export {
13956
- Ex as Blush,
13957
- Fx as Brows,
13957
+ xx as Blush,
13958
+ _x as Brows,
13958
13959
  te as CANONICAL_FACE_LANDMARK_COUNT,
13959
- OA as CANONICAL_FACE_MESH_GEOMETRY_SPECS,
13960
+ NA as CANONICAL_FACE_MESH_GEOMETRY_SPECS,
13960
13961
  J as CANONICAL_FACE_POSITIONS,
13961
13962
  ie as CANONICAL_FACE_TRIANGLES,
13962
13963
  Qn as CANONICAL_FACE_UVS,
13963
- EA as CANONICAL_HEAD_ANCHOR,
13964
- xA as CANONICAL_HEAD_FIT_DEFAULT_SMOOTHING,
13965
- px as CANONICAL_LIP_UV_BOUNDS,
13964
+ xA as CANONICAL_HEAD_ANCHOR,
13965
+ kA as CANONICAL_HEAD_FIT_DEFAULT_SMOOTHING,
13966
+ dx as CANONICAL_LIP_UV_BOUNDS,
13966
13967
  yu as CANONICAL_RIGID_INDICES,
13967
- kA as CANONICAL_RIGID_LANDMARKS,
13968
+ AA as CANONICAL_RIGID_LANDMARKS,
13968
13969
  id as CANONICAL_RIGID_POINTS,
13969
- NA as CanonicalFaceMeshRenderer,
13970
+ $A as CanonicalFaceMeshRenderer,
13970
13971
  wu as CanonicalHeadFrame,
13971
- xx as Contour,
13972
- $A as DEFAULT_APPEARANCE,
13973
- DA as DEFAULT_FACE_MESH_RENDERER,
13974
- GA as DEFAULT_FACE_MESH_TRANSFORM,
13975
- Gk as DEFAULT_FACE_MIRROR_SETTINGS,
13972
+ kx as Contour,
13973
+ DA as DEFAULT_APPEARANCE,
13974
+ GA as DEFAULT_FACE_MESH_RENDERER,
13975
+ zA as DEFAULT_FACE_MESH_TRANSFORM,
13976
+ zk as DEFAULT_FACE_MIRROR_SETTINGS,
13976
13977
  ge as DEFAULT_FACE_SWAP_SETTINGS,
13977
13978
  Bd as DEFAULT_IRIS_EFFECT_RENDER_ORDER,
13978
- zk as DEFAULT_IRIS_EFFECT_SETTINGS,
13979
- lx as DEFAULT_LIP_EFFECT,
13979
+ Bk as DEFAULT_IRIS_EFFECT_SETTINGS,
13980
+ ux as DEFAULT_LIP_EFFECT,
13980
13981
  Mr as DEFAULT_LIP_EFFECT_RENDER_ORDER,
13981
13982
  hr as DEFAULT_LIP_EFFECT_SETTINGS,
13982
13983
  Ah as DEFAULT_MAKEUP_DESIGN_SETTINGS,
13983
13984
  br as DEFAULT_MAKEUP_SETTINGS,
13984
- zA as DEFAULT_MASKING,
13985
- ub as DEFAULT_SEGMENTATION_OVERLAY_SETTINGS,
13986
- ax as Earrings,
13987
- nk as ExternalFaceMesh,
13985
+ BA as DEFAULT_MASKING,
13986
+ hb as DEFAULT_SEGMENTATION_OVERLAY_SETTINGS,
13987
+ sx as Earrings,
13988
+ ak as ExternalFaceMesh,
13988
13989
  $f as ExternalFaceMeshContext,
13989
- bx as Eyeliner,
13990
- Ax as Eyeshadow,
13990
+ Fx as Eyeliner,
13991
+ bx as Eyeshadow,
13991
13992
  gt as FACELESS_DEFAULTS,
13992
13993
  u1 as FACELESS_FRAGMENT,
13993
13994
  A1 as FACELESS_FRAME_PRIORITY,
13994
13995
  b1 as FACELESS_MAX_FACES,
13995
13996
  i1 as FACELESS_REGIONS,
13996
- zx as FACELESS_STYLES,
13997
+ Bx as FACELESS_STYLES,
13997
13998
  vi as FACE_ATLAS_ANCHORS,
13998
13999
  qe as FACE_ATLAS_GUIDE_COLORS,
13999
14000
  Ct as FACE_ATLAS_MIRROR,
@@ -14010,8 +14011,8 @@ export {
14010
14011
  US as FACE_HEAD_WIDTH_RATIO,
14011
14012
  Vn as FACE_INSET_BOXES,
14012
14013
  Cv as FACE_INSET_HOLD_MS,
14013
- Rx as FACE_INSET_PARTS,
14014
- Ix as FACE_INSET_PLACEMENTS,
14014
+ Ix as FACE_INSET_PARTS,
14015
+ Px as FACE_INSET_PLACEMENTS,
14015
14016
  Pv as FACE_INSET_RENDER_ORDER,
14016
14017
  n1 as FACE_LIQUIFY_DEFAULT_SMOOTHING,
14017
14018
  Nc as FACE_LIQUIFY_FACE_HEIGHT,
@@ -14030,104 +14031,104 @@ export {
14030
14031
  By as FACE_LIQUIFY_PRESET_NAMES,
14031
14032
  Ff as FACE_LIQUIFY_RENDER_ORDER,
14032
14033
  fy as FACE_LIQUIFY_WEIGHT_EXPONENT,
14033
- BA as FACE_MESH_ALPHA_MAPS,
14034
- HA as FACE_MESH_BLEND_MODES,
14035
- KA as FACE_MESH_MASK_TEXTURE_SOURCES,
14036
- VA as FACE_MESH_MATERIAL_TYPES,
14037
- WA as FACE_MESH_SHADER_PRESETS,
14038
- jA as FACE_MESH_SIDES,
14039
- qA as FACE_MESH_TEXTURE_MAPS,
14040
- Bk as FACE_MIRROR_SETTINGS_FIELDS,
14041
- Hk as FACE_MIRROR_VARIANTS,
14042
- Kk as FACE_MIRROR_VARIANT_LABELS,
14043
- gk as FACE_MORPH_COUNT,
14034
+ HA as FACE_MESH_ALPHA_MAPS,
14035
+ KA as FACE_MESH_BLEND_MODES,
14036
+ VA as FACE_MESH_MASK_TEXTURE_SOURCES,
14037
+ WA as FACE_MESH_MATERIAL_TYPES,
14038
+ jA as FACE_MESH_SHADER_PRESETS,
14039
+ qA as FACE_MESH_SIDES,
14040
+ YA as FACE_MESH_TEXTURE_MAPS,
14041
+ Hk as FACE_MIRROR_SETTINGS_FIELDS,
14042
+ Kk as FACE_MIRROR_VARIANTS,
14043
+ Vk as FACE_MIRROR_VARIANT_LABELS,
14044
+ vk as FACE_MORPH_COUNT,
14044
14045
  yn as FACE_MORPH_NAMES,
14045
14046
  TM as FACE_PHOTO_WARNINGS,
14046
14047
  Nl as FACE_PIERCINGS,
14047
- sk as FACE_PIERCING_KINDS,
14048
+ ok as FACE_PIERCING_KINDS,
14048
14049
  oM as FACE_PIERCING_NAMES,
14049
14050
  QS as FACE_PIN_PATCH_RADIUS,
14050
14051
  XS as FACE_PIN_TARGETS,
14051
- wb as FACE_REGION_LABELS,
14052
+ yb as FACE_REGION_LABELS,
14052
14053
  $p as FACE_REGION_MASKS,
14053
14054
  Jh as FACE_REPROJECTION_FILL_REACH,
14054
14055
  Nf as FACE_RESIDUAL_LENGTH,
14055
- Vk as FACE_RETOUCH_DEFAULT_CONTROLS,
14056
- FA as FACE_RETOUCH_RENDER_ORDER,
14057
- Wk as FACE_RETOUCH_SETTINGS_FIELDS,
14058
- vk as FACE_RIG_FAST_MOVE_CM,
14059
- wk as FACE_RIG_FAST_TURN_DEG,
14056
+ Wk as FACE_RETOUCH_DEFAULT_CONTROLS,
14057
+ _A as FACE_RETOUCH_RENDER_ORDER,
14058
+ jk as FACE_RETOUCH_SETTINGS_FIELDS,
14059
+ wk as FACE_RIG_FAST_MOVE_CM,
14060
+ yk as FACE_RIG_FAST_TURN_DEG,
14060
14061
  Se as FACE_SKIN_PROBE,
14061
14062
  rn as FACE_SKIN_PROBE_TIERS,
14062
- ox as FACE_SKIN_QUALITIES,
14063
+ rx as FACE_SKIN_QUALITIES,
14063
14064
  ae as FACE_SKIN_STATS,
14064
14065
  Sm as FACE_SKIN_STATS_GLSL,
14065
14066
  ra as FACE_SURFACE_RENDER_ORDER,
14066
14067
  Qw as FACE_SWAP_EACH_OTHER,
14067
- jk as FACE_SWAP_PAINTED_FEATURE_SOFTNESS,
14068
+ qk as FACE_SWAP_PAINTED_FEATURE_SOFTNESS,
14068
14069
  Xr as FACE_SWAP_PRESETS,
14069
- qk as FACE_SWAP_PRESET_KEYS,
14070
- $x as FACE_SWAP_QUALITIES,
14071
- Yk as FACE_SWAP_SETTINGS_FIELDS,
14070
+ Yk as FACE_SWAP_PRESET_KEYS,
14071
+ Dx as FACE_SWAP_QUALITIES,
14072
+ Xk as FACE_SWAP_SETTINGS_FIELDS,
14072
14073
  ad as FACE_SWAP_SETTINGS_RANGES,
14073
- Xk as FACE_SWAP_SOURCE_KINDS,
14074
+ Qk as FACE_SWAP_SOURCE_KINDS,
14074
14075
  dE as FACE_TEXTURE_GUIDE_COLORS,
14075
- Nx as FACE_TEXTURE_LAYOUTS,
14076
+ $x as FACE_TEXTURE_LAYOUTS,
14076
14077
  Vl as FACE_TEXTURE_RESOLUTIONS,
14077
14078
  gw as FACE_TRANSFER_FRAGMENT_SHADER,
14078
14079
  mw as FACE_TRANSFER_VERTEX_SHADER,
14079
14080
  ew as FACE_UNWRAP_MIRROR,
14080
14081
  vn as FACE_WARP_MAX_KEYS,
14081
14082
  Ti as FaceAtlasLayer,
14082
- ak as FaceExpressionController,
14083
- Px as FaceInset,
14084
- Gx as FaceLiquify,
14085
- YA as FaceMeshMaterial,
14086
- XA as FaceMeshRenderer,
14087
- lk as FaceMirror,
14088
- ik as FaceMorph,
14089
- ok as FacePiercing,
14090
- rk as FaceReprojection,
14083
+ sk as FaceExpressionController,
14084
+ Ux as FaceInset,
14085
+ zx as FaceLiquify,
14086
+ XA as FaceMeshMaterial,
14087
+ QA as FaceMeshRenderer,
14088
+ uk as FaceMirror,
14089
+ ck as FaceMorph,
14090
+ rk as FacePiercing,
14091
+ ik as FaceReprojection,
14091
14092
  Ur as FaceReprojector,
14092
- Qk as FaceRetouch,
14093
+ Jk as FaceRetouch,
14093
14094
  jt as FaceRig,
14094
14095
  Gu as FaceRigContext,
14095
14096
  Um as FaceSkinProbe,
14096
14097
  hM as FaceSurfaceOccluder,
14097
- ck as FaceSwap,
14098
+ lk as FaceSwap,
14098
14099
  xn as FaceTextureLayer,
14099
- Ok as FaceTrackMemory,
14100
+ Nk as FaceTrackMemory,
14100
14101
  Sw as FaceTransfer,
14101
- Kx as FaceWarp3D,
14102
- Bx as Faceless,
14102
+ Vx as FaceWarp3D,
14103
+ Hx as Faceless,
14103
14104
  v1 as FacelessTexture,
14104
14105
  Ca as HAIR_LOCK_DEFAULTS,
14105
14106
  fS as HAIR_LOCK_SPRING,
14106
14107
  _u as HEAD_ATTACHMENT_POINTS,
14107
- ex as HEAD_ATTACHMENT_POINT_NAMES,
14108
+ tx as HEAD_ATTACHMENT_POINT_NAMES,
14108
14109
  Lp as HEAD_OCCLUDER_DEFAULT_OPACITY,
14109
14110
  Rp as HEAD_OCCLUDER_DEFAULT_POSITION,
14110
14111
  $a as HEAD_OCCLUDER_DEFAULT_SCALE,
14111
- yk as HEAD_OCCLUDER_DEFAULT_SMOOTHING,
14112
- Sk as HEAD_OCCLUDER_RENDER_ORDER,
14113
- Mk as HEAD_OCCLUDER_V2_PATH,
14114
- Ek as HEAD_OCCLUDER_V3_PATH,
14115
- tk as HairLock,
14116
- nx as HeadAttachment,
14117
- Wx as HeadBinding,
14118
- Zx as HeadBindingOccluder,
14112
+ Sk as HEAD_OCCLUDER_DEFAULT_SMOOTHING,
14113
+ Mk as HEAD_OCCLUDER_RENDER_ORDER,
14114
+ Ek as HEAD_OCCLUDER_V2_PATH,
14115
+ xk as HEAD_OCCLUDER_V3_PATH,
14116
+ nk as HairLock,
14117
+ ax as HeadAttachment,
14118
+ jx as HeadBinding,
14119
+ ek as HeadBindingOccluder,
14119
14120
  uu as HeadOccluder,
14120
- kx as Highlighter,
14121
- Jk as IRIS_EFFECT_EYES,
14122
- Zk as IRIS_EFFECT_MODES,
14123
- eA as IRIS_EFFECT_SETTINGS_FIELDS,
14121
+ Ax as Highlighter,
14122
+ Zk as IRIS_EFFECT_EYES,
14123
+ eA as IRIS_EFFECT_MODES,
14124
+ tA as IRIS_EFFECT_SETTINGS_FIELDS,
14124
14125
  Dd as IRIS_IMAGE_FRAGMENT,
14125
14126
  $d as IRIS_SHADER_FRAGMENT,
14126
14127
  Ou as IRIS_VERTEX_SHADER,
14127
- sx as IrisEffect,
14128
- LA as LANDMARK_POSE_FIT_DEFAULT_SMOOTHING,
14129
- RA as LANDMARK_POSE_FIT_SNAP_CM,
14130
- tA as LIP_EFFECT_COLOR_MODES,
14128
+ ox as IrisEffect,
14129
+ RA as LANDMARK_POSE_FIT_DEFAULT_SMOOTHING,
14130
+ IA as LANDMARK_POSE_FIT_SNAP_CM,
14131
+ nA as LIP_EFFECT_COLOR_MODES,
14131
14132
  x0 as LIP_EFFECT_FRAGMENT_SHADER,
14132
14133
  Xp as LIP_EFFECT_GRADIENT_DIRECTIONS,
14133
14134
  Jp as LIP_EFFECT_PRESETS,
@@ -14137,11 +14138,11 @@ export {
14137
14138
  Oi as LIP_UV_GUIDE_COLORS,
14138
14139
  B0 as LipEffect,
14139
14140
  N0 as LipEffectMaterial,
14140
- gx as LipEffects,
14141
- xk as MADE_UP_CAMERA_LAYER,
14142
- nA as MAKEUP_AUTO_SHADE_REGIONS,
14143
- Au as MAKEUP_BLENDING,
14144
- Sx as MAKEUP_DESIGN_SETTINGS_FIELDS,
14141
+ vx as LipEffects,
14142
+ kk as MADE_UP_CAMERA_LAYER,
14143
+ aA as MAKEUP_AUTO_SHADE_REGIONS,
14144
+ ku as MAKEUP_BLENDING,
14145
+ Mx as MAKEUP_DESIGN_SETTINGS_FIELDS,
14145
14146
  ls as MAKEUP_FINISHES,
14146
14147
  je as MAKEUP_FINISH_DEFAULTS,
14147
14148
  he as MAKEUP_GLSL,
@@ -14149,47 +14150,47 @@ export {
14149
14150
  sg as MAKEUP_LOOK_NAMES,
14150
14151
  pr as MAKEUP_REGIONS,
14151
14152
  ia as MAKEUP_RENDER_ORDER,
14152
- wx as MAKEUP_SETTINGS_FIELDS,
14153
+ yx as MAKEUP_SETTINGS_FIELDS,
14153
14154
  ht as MAKEUP_SHADES,
14154
14155
  gu as MAKEUP_SHADE_NAMES,
14155
14156
  wh as MAKEUP_SHAPES,
14156
14157
  vh as MAKEUP_SHAPE_NAMES,
14157
14158
  mu as MAKEUP_SIDES,
14158
- Tx as MAKEUP_SKIN_DEPTHS,
14159
+ Cx as MAKEUP_SKIN_DEPTHS,
14159
14160
  vv as MAKEUP_SKIN_READY,
14160
14161
  Ye as MAKEUP_SKIN_TONE,
14161
- Cx as MAKEUP_UNDERTONES,
14162
- vx as MadeUpCamera,
14163
- _x as MakeupDesign,
14162
+ Lx as MAKEUP_UNDERTONES,
14163
+ wx as MadeUpCamera,
14164
+ Tx as MakeupDesign,
14164
14165
  lS as NECKLACE_SWING_DEFAULTS,
14165
14166
  cS as NECKLACE_SWING_NODES,
14166
- kk as NECK_BUST_TORSO_POSITION,
14167
- Ak as NECK_OCCLUDER_BUST_PATH,
14168
- bk as NECK_OCCLUDER_FOLLOWS,
14169
- Fk as NECK_OCCLUDER_SHOULDER_TURN,
14170
- _k as NECK_OCCLUDER_TYPES,
14171
- Tk as NeckOccluder,
14172
- ek as Necklace,
14173
- yb as PERSON_MASK_LABELS,
14174
- uk as PaintedFace,
14167
+ Ak as NECK_BUST_TORSO_POSITION,
14168
+ bk as NECK_OCCLUDER_BUST_PATH,
14169
+ Fk as NECK_OCCLUDER_FOLLOWS,
14170
+ _k as NECK_OCCLUDER_SHOULDER_TURN,
14171
+ Tk as NECK_OCCLUDER_TYPES,
14172
+ Ck as NeckOccluder,
14173
+ tk as Necklace,
14174
+ Sb as PERSON_MASK_LABELS,
14175
+ hk as PaintedFace,
14175
14176
  sM as PinToFaceMesh,
14176
- hb as SEGMENTATION_OVERLAY_BLEND_MODES,
14177
- fb as SEGMENTATION_OVERLAY_SETTINGS_FIELDS,
14178
- pb as SEMANTIC_MASK_LABELS,
14179
- TA as SEMANTIC_SEGMENTATION_PRESETS,
14177
+ fb as SEGMENTATION_OVERLAY_BLEND_MODES,
14178
+ pb as SEGMENTATION_OVERLAY_SETTINGS_FIELDS,
14179
+ db as SEMANTIC_MASK_LABELS,
14180
+ CA as SEMANTIC_SEGMENTATION_PRESETS,
14180
14181
  Lu as SPRING_DEFAULTS,
14181
14182
  bd as SPRING_MAX_FRAME,
14182
14183
  Fd as SPRING_MAX_JUMP,
14183
14184
  Ad as SPRING_MAX_SUBSTEP,
14184
14185
  Jr as SPRING_SETTINGS_RANGES,
14185
14186
  ni as SPRING_SWING_LENGTH,
14186
- Sb as SegmentationOverlay,
14187
+ Mb as SegmentationOverlay,
14187
14188
  Td as SpringChain,
14188
14189
  Iu as SpringJoint,
14189
14190
  Rd as SpringSwing,
14190
14191
  Pu as SpringSwingDriver,
14191
14192
  Dr as alignFaceFeatures,
14192
- aA as alphaMapOptions,
14193
+ sA as alphaMapOptions,
14193
14194
  dy as applyFaceLiquifyOp,
14194
14195
  AS as autoFaceModelAlignment,
14195
14196
  Ms as bindFaceMesh,
@@ -14197,35 +14198,35 @@ export {
14197
14198
  zr as bindFacePin,
14198
14199
  Mn as bindFaceReprojection,
14199
14200
  K1 as bindFaceWarpDeformation,
14200
- QA as blendModeIndices,
14201
- sA as blendModeOptions,
14202
- JA as canonicalFaceAlphaMaskUrl,
14201
+ JA as blendModeIndices,
14202
+ oA as blendModeOptions,
14203
+ ZA as canonicalFaceAlphaMaskUrl,
14203
14204
  If as canonicalFaceFeatures,
14204
- ZA as canonicalFaceTextureStyle2Url,
14205
- eb as canonicalFaceTextureUrl,
14205
+ eb as canonicalFaceTextureStyle2Url,
14206
+ tb as canonicalFaceTextureUrl,
14206
14207
  hv as classifyMakeupSkinDepth,
14207
14208
  fv as classifyMakeupUndertone,
14208
- Nk as clearSemanticMask,
14209
+ $k as clearSemanticMask,
14209
14210
  GS as compileExpressionInput,
14210
- Qx as computeAdaptiveVerticalFit,
14211
+ Jx as computeAdaptiveVerticalFit,
14211
14212
  iS as computeHeadBindingCubePose,
14212
- Jx as computeHeadBindingDebugMetrics,
14213
+ Zx as computeHeadBindingDebugMetrics,
14213
14214
  oS as computeHeadBindingShape,
14214
14215
  wv as computeMakeupSkinTone,
14215
- Xx as computeUniversalHeadDepthOffset,
14216
- jx as computeUniversalOccluderScale,
14217
- Yx as computeUniversalPitchOffsetY,
14218
- qx as computeUniversalYawOffsetX,
14219
- Vx as createCanonicalFaceGeometry,
14216
+ Qx as computeUniversalHeadDepthOffset,
14217
+ qx as computeUniversalOccluderScale,
14218
+ Xx as computeUniversalPitchOffsetY,
14219
+ Yx as computeUniversalYawOffsetX,
14220
+ Wx as createCanonicalFaceGeometry,
14220
14221
  Pr as createClosestPointSearch,
14221
14222
  WS as createExpressionOutputs,
14222
14223
  yl as createExpressionState,
14223
- hx as createFaceAtlasGuideDataUrl,
14224
- fx as createFaceAtlasGuidePngBlob,
14224
+ fx as createFaceAtlasGuideDataUrl,
14225
+ px as createFaceAtlasGuidePngBlob,
14225
14226
  ds as createFaceAtlasGuideSvg,
14226
14227
  ps as createFaceAtlasMask,
14227
14228
  om as createFaceAtlasMaskTexture,
14228
- cx as createFaceAtlasPolylineGlsl,
14229
+ lx as createFaceAtlasPolylineGlsl,
14229
14230
  Dh as createFaceInsetFrame,
14230
14231
  cy as createFaceLiquifyFrame,
14231
14232
  Qy as createFaceLiquifyPresence,
@@ -14234,10 +14235,10 @@ export {
14234
14235
  Qh as createFaceReprojectionUniforms,
14235
14236
  Sp as createFaceRigState,
14236
14237
  jM as createFaceTexture,
14237
- hk as createFaceTextureGuideDataUrl,
14238
- fk as createFaceTextureGuidePngBlob,
14238
+ fk as createFaceTextureGuideDataUrl,
14239
+ pk as createFaceTextureGuidePngBlob,
14239
14240
  ip as createFaceTextureGuideSvg,
14240
- pk as createFaceTextureSideTestSvg,
14241
+ dk as createFaceTextureSideTestSvg,
14241
14242
  W1 as createFaceWarpGpuData,
14242
14243
  O1 as createFaceWarpMesh,
14243
14244
  p1 as createFacelessMask,
@@ -14248,20 +14249,20 @@ export {
14248
14249
  Od as createIrisUniforms,
14249
14250
  uh as createLipEffectMaterial,
14250
14251
  Qp as createLipTextureTransform,
14251
- dx as createLipUvGuideDataUrl,
14252
- mx as createLipUvGuidePngBlob,
14252
+ mx as createLipUvGuideDataUrl,
14253
+ gx as createLipUvGuidePngBlob,
14253
14254
  rh as createLipUvGuideSvg,
14254
14255
  uS as createLockGeometry,
14255
14256
  qg as createMakeupMaterial,
14256
- $k as createSemanticMask,
14257
- oA as defaultFaceSwapPreset,
14257
+ Dk as createSemanticMask,
14258
+ rA as defaultFaceSwapPreset,
14258
14259
  ol as deformFaceMesh,
14259
14260
  ap as detectFaceImage,
14260
14261
  tp as disposeFaceImageLandmarker,
14261
14262
  PS as driveFaceModel,
14262
14263
  Sl as expressionFrame,
14263
- ix as faceAtlasAnchorPosition,
14264
- rx as faceAtlasMaskToRgba,
14264
+ cx as faceAtlasAnchorPosition,
14265
+ ix as faceAtlasMaskToRgba,
14265
14266
  St as faceAtlasUvToPixel,
14266
14267
  OS as faceHeadWidth,
14267
14268
  $h as faceInsetAspect,
@@ -14278,51 +14279,51 @@ export {
14278
14279
  Xh as faceReprojectionRegionEllipses,
14279
14280
  vc as faceReprojectionRegionMask,
14280
14281
  us as faceSurfaceBlending,
14281
- Ox as faceTransferGain,
14282
+ Nx as faceTransferGain,
14282
14283
  Zh as faceUnwrapTexelsPerCm,
14283
14284
  Bo as feedTextureVersion,
14284
14285
  cu as getFaceAtlasAttributes,
14285
- Ck as getFaceAtlasRegionBounds,
14286
+ Lk as getFaceAtlasRegionBounds,
14286
14287
  Ap as getFaceAtlasRegionIndices,
14287
14288
  Re as getFaceAtlasRegionTriangles,
14288
14289
  fe as getFaceUnwrapMesh,
14289
14290
  es as getFaceUnwrapUvs,
14290
- tx as getHeadAttachmentPoint,
14291
+ nx as getHeadAttachmentPoint,
14291
14292
  ua as getLipUvBounds,
14292
- Lk as headOccluderUrl,
14293
+ Rk as headOccluderUrl,
14293
14294
  Ld as insertSwingPivots,
14294
- rA as isFaceMirrorVariant,
14295
- iA as isFaceSwapPresetKey,
14296
- cA as isLipEffectPresetKey,
14295
+ iA as isFaceMirrorVariant,
14296
+ cA as isFaceSwapPresetKey,
14297
+ lA as isLipEffectPresetKey,
14297
14298
  rg as isMakeupLookName,
14298
- lA as isMakeupShadeName,
14299
+ uA as isMakeupShadeName,
14299
14300
  yh as isMakeupShape,
14300
14301
  $i as lipEffectDesignDecode,
14301
14302
  Hs as lipUvToPixel,
14302
- tb as mapFaceMeshRendererProps,
14303
- nb as mapFaceMeshRendererSettingsToProps,
14303
+ nb as mapFaceMeshRendererProps,
14304
+ ab as mapFaceMeshRendererSettingsToProps,
14304
14305
  qa as markFaceSurface,
14305
- uA as materialTypeOptions,
14306
+ hA as materialTypeOptions,
14306
14307
  xS as measureFaceModelEarWidth,
14307
14308
  lm as mirrorFaceAtlasPolyline,
14308
- ux as mirrorFaceAtlasUv,
14309
- Ux as mirrorFaceLandmarks,
14309
+ hx as mirrorFaceAtlasUv,
14310
+ Ox as mirrorFaceLandmarks,
14310
14311
  cM as mirrorFacePiercingOffset,
14311
14312
  Il as mirrorFacePiercingPlacement,
14312
14313
  gv as nearestMakeupShades,
14313
- Rk as neckBoneTwist,
14314
- Ik as neckOccluderUrl,
14315
- ab as parseCanonicalFaceModel,
14316
- db as parseOverlayLabels,
14317
- hA as patchFaceMirrorSettings,
14314
+ Ik as neckBoneTwist,
14315
+ Pk as neckOccluderUrl,
14316
+ sb as parseCanonicalFaceModel,
14317
+ mb as parseOverlayLabels,
14318
+ fA as patchFaceMirrorSettings,
14318
14319
  ef as patchFaceReprojectionMaterial,
14319
- fA as patchFaceRetouchControls,
14320
- pA as patchFaceSwapSettings,
14321
- dA as patchIrisEffectSettings,
14320
+ pA as patchFaceRetouchControls,
14321
+ dA as patchFaceSwapSettings,
14322
+ mA as patchIrisEffectSettings,
14322
14323
  ed as patchLipEffectSettings,
14323
14324
  ug as patchMakeupDesignSettings,
14324
14325
  kh as patchMakeupSettings,
14325
- mb as patchSegmentationOverlaySettings,
14326
+ gb as patchSegmentationOverlaySettings,
14326
14327
  CS as planFaceDrive,
14327
14328
  tM as projectFacePinOnto,
14328
14329
  Vu as readFaceSkinStats,
@@ -14332,11 +14333,11 @@ export {
14332
14333
  BS as resetExpressions,
14333
14334
  Jy as resetFaceLiquifyPresence,
14334
14335
  Wy as resolveFaceLiquifyWarps,
14335
- sb as resolveFaceMeshEyeVisibility,
14336
- ob as resolveFaceMeshRendererSettings,
14336
+ ob as resolveFaceMeshEyeVisibility,
14337
+ rb as resolveFaceMeshRendererSettings,
14337
14338
  sd as resolveFaceMirrorSettings,
14338
14339
  iM as resolveFacePiercing,
14339
- mA as resolveFaceRetouchControls,
14340
+ gA as resolveFaceRetouchControls,
14340
14341
  aw as resolveFaceSourceMirror,
14341
14342
  vu as resolveFaceSwapSettings,
14342
14343
  hs as resolveHeadAttachmentPoint,
@@ -14344,57 +14345,57 @@ export {
14344
14345
  H0 as resolveLipEffectFaceConfig,
14345
14346
  fr as resolveLipEffectSettings,
14346
14347
  _h as resolveMakeupDesignSettings,
14347
- yx as resolveMakeupLook,
14348
+ Sx as resolveMakeupLook,
14348
14349
  Et as resolveMakeupSettings,
14349
- gA as resolveMakeupShade,
14350
- gb as resolveSegmentationOverlaySettings,
14350
+ vA as resolveMakeupShade,
14351
+ vb as resolveSegmentationOverlaySettings,
14351
14352
  Ru as resolveSpringSettings,
14352
- Dx as sampleFaceLiquify,
14353
+ Gx as sampleFaceLiquify,
14353
14354
  SS as sampleResidual,
14354
14355
  pg as setMakeupDesignTexture,
14355
- vA as shaderPresetOptions,
14356
+ wA as shaderPresetOptions,
14356
14357
  zS as shapeExpressionValue,
14357
- wA as sideOptions,
14358
- AA as solveCanonicalHeadPose,
14358
+ yA as sideOptions,
14359
+ bA as solveCanonicalHeadPose,
14359
14360
  Of as solveHeadBinding,
14360
14361
  cd as solveSimilarity,
14361
14362
  HS as stepExpressions,
14362
14363
  Zy as stepFaceLiquifyPresence,
14363
14364
  R1 as stepFaceMorph,
14364
14365
  Br as stepFacePin,
14365
- Pk as stepFaceRig,
14366
- Hx as stepFaceWarp3D,
14367
- IA as stepLandmarkPoseSmoothing,
14366
+ Uk as stepFaceRig,
14367
+ Kx as stepFaceWarp3D,
14368
+ PA as stepLandmarkPoseSmoothing,
14368
14369
  Cf as subdivideFaceUnwrap,
14369
- yA as supportsAutoMakeupShade,
14370
- rb as supportsBlendMode,
14371
- ib as supportsTexturePanel,
14372
- SA as textureMapOptions,
14370
+ SA as supportsAutoMakeupShade,
14371
+ ib as supportsBlendMode,
14372
+ cb as supportsTexturePanel,
14373
+ MA as textureMapOptions,
14373
14374
  Nd as updateIrisUniforms,
14374
14375
  hh as updateLipEffectMaterial,
14375
- Mx as updateMakeupMaterial,
14376
- cb as useCanonicalFaceMesh,
14376
+ Ex as updateMakeupMaterial,
14377
+ lb as useCanonicalFaceMesh,
14377
14378
  rd as useCanonicalHeadFit,
14378
14379
  qS as useExpressionValues,
14379
14380
  NS as useExternalFaceMesh,
14380
14381
  Qu as useFaceAtlasSurface,
14381
14382
  Iv as useFaceInsetTexture,
14382
- Mb as useFaceRegionMask,
14383
+ Eb as useFaceRegionMask,
14383
14384
  we as useFaceRig,
14384
14385
  Sr as useFaceSkin,
14385
14386
  mr as useFaceSurface,
14386
14387
  Jf as useFaceTexture,
14387
14388
  F1 as useFacelessTexture,
14388
- Eb as useHairMask,
14389
- PA as useLandmarkPoseFit,
14389
+ xb as useHairMask,
14390
+ UA as useLandmarkPoseFit,
14390
14391
  fh as useLipDesignTextures,
14391
14392
  O0 as useLipEffectMaterial,
14392
14393
  os as useLiveFaceTexture,
14393
14394
  W0 as useMadeUpCamera,
14394
14395
  Ar as useMadeUpCameraTexture,
14395
- Lx as useMakeupSkinTone,
14396
- xb as usePersonMask,
14397
- kb as useSemanticSegmentationMask,
14396
+ Rx as useMakeupSkinTone,
14397
+ kb as usePersonMask,
14398
+ Ab as useSemanticSegmentationMask,
14398
14399
  jh as writeFaceFacing,
14399
14400
  Gh as writeFaceInsetFrame,
14400
14401
  uy as writeFaceLiquifyFrame,