ss-component-new 1.1.561 → 1.1.563

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 (40) hide show
  1. package/dist/{index-CHzbAFHz.js → index-BK-XsLeY.js} +4 -4
  2. package/dist/{index-CEozCuqq.js → index-BnrksT1I.js} +1 -1
  3. package/dist/{index-DGIbBmVa.js → index-BqpUP6Fj.js} +1 -1
  4. package/dist/{index-CS3RKKTv.cjs → index-Buf5sH41.cjs} +1 -1
  5. package/dist/{index-C8lvwUGH.cjs → index-C-ClgRTD.cjs} +1 -1
  6. package/dist/{index-BsmHBc_b.js → index-C4vqMoxk.js} +1 -1
  7. package/dist/{index-DW2KEEVw.js → index-C8_Hi3oq.js} +7 -7
  8. package/dist/{index-DbmXxfO0.js → index-CAlVrDd7.js} +681 -676
  9. package/dist/{index-VGfOkeE7.cjs → index-CLyQPXE4.cjs} +1 -1
  10. package/dist/{index-Cml5uaBQ.cjs → index-Ci3ATj1I.cjs} +1 -1
  11. package/dist/{index-wstOezI5.js → index-CnlbpDuG.js} +1 -1
  12. package/dist/{index-FA2ow6cB.cjs → index-D60VtqO9.cjs} +1 -1
  13. package/dist/{index-GLHkRMlJ.js → index-D9tFA_gV.js} +1 -1
  14. package/dist/{index-92lrvtCq.cjs → index-DD5vYna6.cjs} +1 -1
  15. package/dist/{index-UXtB764H.js → index-DDLdlxG2.js} +2 -2
  16. package/dist/{index-CPPiMY3k.js → index-DIqnNcLs.js} +1 -1
  17. package/dist/{index-DshHBOc5.js → index-DND7Q01H.js} +1 -1
  18. package/dist/{index-CPh7ZB9f.js → index-DkHLMOhI.js} +1 -1
  19. package/dist/{index-BO49NGmM.cjs → index-DputvHH-.cjs} +1 -1
  20. package/dist/{index-BgsIvjZs.cjs → index-DuePS5l5.cjs} +1 -1
  21. package/dist/{index-C_vLcz0g.cjs → index-Dxauc4f9.cjs} +1 -1
  22. package/dist/{index-BbnsvXor.cjs → index-NsEc0eRt.cjs} +1 -1
  23. package/dist/{index-Cuafh-04.cjs → index-TAKcAJBd.cjs} +24 -24
  24. package/dist/{index-BnIDKn-E.cjs → index-Xm20qFvb.cjs} +1 -1
  25. package/dist/{index-BiYXNbxz.cjs → index-fw6k591D.cjs} +1 -1
  26. package/dist/{index-BIU8F_lv.js → index-mXSF8m_y.js} +1 -1
  27. package/dist/{index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-m9AMmeTh.js → index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-CEI3VZwN.js} +4 -4
  28. package/dist/{index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-DHcHo28F.cjs → index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-WK-0REgN.cjs} +1 -1
  29. package/dist/{index.vue_vue_type_style_index_0_scoped_d888ede3_lang-BMaKmHr1.js → index.vue_vue_type_style_index_0_scoped_d888ede3_lang-1HJraTNR.js} +1 -1
  30. package/dist/{index.vue_vue_type_style_index_0_scoped_d888ede3_lang-CIt4c9qX.cjs → index.vue_vue_type_style_index_0_scoped_d888ede3_lang-D38E-fv0.cjs} +1 -1
  31. package/dist/{main-yU_BLySG.js → main-Cf6XbAJo.js} +2 -2
  32. package/dist/{main-rYwYgFK0.cjs → main-_CubAgd-.cjs} +1 -1
  33. package/dist/ss-component.cjs +1 -1
  34. package/dist/ss-component.css +1 -1
  35. package/dist/ss-component.js +4 -4
  36. package/dist/ss-component2.cjs +1 -1
  37. package/dist/ss-component2.js +7 -7
  38. package/dist/{threeModel-CMrCKZxB.cjs → threeModel-B5O_OoUG.cjs} +1 -1
  39. package/dist/{threeModel-B-X79xqR.js → threeModel-BKmDOMiS.js} +40 -39
  40. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { ref as St, watch as Cr, nextTick as vd, resolveComponent as Pl, createBlock as ga, openBlock as Tn, withCtx as _n, createElementVNode as Rn, renderSlot as oc, onMounted as Dl, createElementBlock as di, normalizeClass as yd, toDisplayString as Wi, createCommentVNode as Io, Fragment as yu, renderList as xu, normalizeStyle as Mu, createVNode as bn, unref as xd, defineComponent as Md, createSlots as bd, createTextVNode as vs } from "vue";
2
- import { c1 as Sd, bW as lc, m as Ed, c2 as cc, c3 as hc, c4 as uc, F as dc, S as Ba, G as Ad, r as fc, n as pc, c5 as wd, c as tt, d as ka, s as wr, p as Tr, bR as Il, g as On, bM as _a, f as Td, bL as bu, u as Su, bP as Rd, bO as mc } from "./menu-DV47UKJo.js";
3
- import { e as va, d as Eu, j as Cd, s as gc, k as Ld } from "./index-ffDSB4Kw.js";
1
+ import { ref as St, watch as Cr, nextTick as vd, resolveComponent as Pl, createBlock as rs, openBlock as bn, withCtx as _n, createElementVNode as Rn, renderSlot as oc, onMounted as Dl, createElementBlock as di, normalizeClass as yd, toDisplayString as Wi, createCommentVNode as la, Fragment as yu, renderList as xu, normalizeStyle as Mu, createVNode as Tn, unref as xd, defineComponent as Md, createSlots as bd, createTextVNode as ys } from "vue";
2
+ import { c1 as Sd, bW as lc, m as Ed, c2 as cc, c3 as hc, c4 as uc, F as dc, S as ka, G as Ad, r as fc, n as pc, c5 as wd, c as tt, d as Va, s as wr, p as Tr, bR as Il, g as On, bM as va, f as Td, bL as bu, u as Su, bP as Rd, bO as mc } from "./menu-DV47UKJo.js";
3
+ import { e as ya, d as Eu, j as Cd, s as gc, k as Ld } from "./index-ffDSB4Kw.js";
4
4
  import { u as Au } from "./modelComp-B4I2gbtf.js";
5
5
  import { a as Lr, h as _c, i as Pd, j as Dd, k as Id, l as Ud } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BPJ7Cu30.js";
6
6
  import { _ as Ul } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -11,13 +11,13 @@ function Fd(r) {
11
11
  function Od(r) {
12
12
  return this.__data__.has(r);
13
13
  }
14
- function ya(r) {
14
+ function xa(r) {
15
15
  var e = -1, t = r == null ? 0 : r.length;
16
16
  for (this.__data__ = new Sd(); ++e < t; )
17
17
  this.add(r[e]);
18
18
  }
19
- ya.prototype.add = ya.prototype.push = Fd;
20
- ya.prototype.has = Od;
19
+ xa.prototype.add = xa.prototype.push = Fd;
20
+ xa.prototype.has = Od;
21
21
  function zd(r, e) {
22
22
  for (var t = -1, n = r == null ? 0 : r.length; ++t < n; )
23
23
  if (e(r[t], t, r))
@@ -35,7 +35,7 @@ function wu(r, e, t, n, i, s) {
35
35
  var c = s.get(r), h = s.get(e);
36
36
  if (c && h)
37
37
  return c == e && h == r;
38
- var u = -1, d = !0, f = t & Vd ? new ya() : void 0;
38
+ var u = -1, d = !0, f = t & Vd ? new xa() : void 0;
39
39
  for (s.set(r, e), s.set(e, r); ++u < o; ) {
40
40
  var m = r[u], _ = e[u];
41
41
  if (n)
@@ -73,7 +73,7 @@ function Gd(r) {
73
73
  t[++e] = n;
74
74
  }), t;
75
75
  }
76
- var Wd = 1, Xd = 2, jd = "[object Boolean]", qd = "[object Date]", Yd = "[object Error]", $d = "[object Map]", Kd = "[object Number]", Jd = "[object RegExp]", Zd = "[object Set]", Qd = "[object String]", ef = "[object Symbol]", tf = "[object ArrayBuffer]", nf = "[object DataView]", vc = lc ? lc.prototype : void 0, Va = vc ? vc.valueOf : void 0;
76
+ var Wd = 1, Xd = 2, jd = "[object Boolean]", qd = "[object Date]", Yd = "[object Error]", $d = "[object Map]", Kd = "[object Number]", Jd = "[object RegExp]", Zd = "[object Set]", Qd = "[object String]", ef = "[object Symbol]", tf = "[object ArrayBuffer]", nf = "[object DataView]", vc = lc ? lc.prototype : void 0, Ha = vc ? vc.valueOf : void 0;
77
77
  function rf(r, e, t, n, i, s, a) {
78
78
  switch (t) {
79
79
  case nf:
@@ -104,8 +104,8 @@ function rf(r, e, t, n, i, s, a) {
104
104
  var h = wu(o(r), o(e), n, i, s, a);
105
105
  return a.delete(r), h;
106
106
  case ef:
107
- if (Va)
108
- return Va.call(r) == Va.call(e);
107
+ if (Ha)
108
+ return Ha.call(r) == Ha.call(e);
109
109
  }
110
110
  return !1;
111
111
  }
@@ -141,26 +141,26 @@ function lf(r, e, t, n, i, s) {
141
141
  }
142
142
  return s.delete(r), s.delete(e), _;
143
143
  }
144
- var cf = 1, yc = "[object Arguments]", xc = "[object Array]", ys = "[object Object]", hf = Object.prototype, Mc = hf.hasOwnProperty;
144
+ var cf = 1, yc = "[object Arguments]", xc = "[object Array]", xs = "[object Object]", hf = Object.prototype, Mc = hf.hasOwnProperty;
145
145
  function uf(r, e, t, n, i, s) {
146
146
  var a = fc(r), o = fc(e), l = a ? xc : uc(r), c = o ? xc : uc(e);
147
- l = l == yc ? ys : l, c = c == yc ? ys : c;
148
- var h = l == ys, u = c == ys, d = l == c;
147
+ l = l == yc ? xs : l, c = c == yc ? xs : c;
148
+ var h = l == xs, u = c == xs, d = l == c;
149
149
  if (d && dc(r)) {
150
150
  if (!dc(e))
151
151
  return !1;
152
152
  a = !0, h = !1;
153
153
  }
154
154
  if (d && !h)
155
- return s || (s = new Ba()), a || Ad(r) ? wu(r, e, t, n, i, s) : rf(r, e, l, t, n, i, s);
155
+ return s || (s = new ka()), a || Ad(r) ? wu(r, e, t, n, i, s) : rf(r, e, l, t, n, i, s);
156
156
  if (!(t & cf)) {
157
157
  var f = h && Mc.call(r, "__wrapped__"), m = u && Mc.call(e, "__wrapped__");
158
158
  if (f || m) {
159
159
  var _ = f ? r.value() : r, g = m ? e.value() : e;
160
- return s || (s = new Ba()), i(_, g, t, n, s);
160
+ return s || (s = new ka()), i(_, g, t, n, s);
161
161
  }
162
162
  }
163
- return d ? (s || (s = new Ba()), lf(r, e, t, n, i, s)) : !1;
163
+ return d ? (s || (s = new ka()), lf(r, e, t, n, i, s)) : !1;
164
164
  }
165
165
  function Tu(r, e, t, n, i) {
166
166
  return r === e ? !0 : r == null || e == null || !pc(r) && !pc(e) ? r !== r && e !== e : uf(r, e, t, n, Tu, i);
@@ -203,7 +203,7 @@ const ff = {
203
203
  { deep: !0, immediate: !0 }
204
204
  ), (s, a) => {
205
205
  const o = Pl("el-popover");
206
- return Tn(), ga(o, {
206
+ return bn(), rs(o, {
207
207
  visible: n.value,
208
208
  placement: "bottom",
209
209
  title: e == null ? void 0 : e.title,
@@ -274,13 +274,13 @@ const ff = {
274
274
  ), (h, u) => {
275
275
  var f;
276
276
  const d = Pl("el-tooltip");
277
- return Tn(), di("div", pf, [
277
+ return bn(), di("div", pf, [
278
278
  Rn("div", {
279
279
  class: yd(r.compName ? "table-name-wrap" : "")
280
280
  }, Wi(r.compName), 3),
281
281
  Rn("div", mf, [
282
- n != null && n.buttons && ((f = n == null ? void 0 : n.buttons) == null ? void 0 : f.length) > 0 ? (Tn(), di("div", gf, [
283
- (Tn(!0), di(yu, null, xu(n == null ? void 0 : n.buttons, (m, _) => (Tn(), di("div", {
282
+ n != null && n.buttons && ((f = n == null ? void 0 : n.buttons) == null ? void 0 : f.length) > 0 ? (bn(), di("div", gf, [
283
+ (bn(!0), di(yu, null, xu(n == null ? void 0 : n.buttons, (m, _) => (bn(), di("div", {
284
284
  class: "extra-contents",
285
285
  key: _
286
286
  }, [
@@ -290,15 +290,15 @@ const ff = {
290
290
  onClick: (g) => o(m == null ? void 0 : m.label)
291
291
  }, Wi(m == null ? void 0 : m.label), 13, _f)
292
292
  ]))), 128))
293
- ])) : Io("", !0),
293
+ ])) : la("", !0),
294
294
  Rn("div", vf, [
295
- bn(ff, {
295
+ Tn(ff, {
296
296
  title: "筛选数据",
297
297
  width: 500,
298
298
  isVisible: i.value
299
299
  }, {
300
300
  reference: _n(() => [
301
- bn(d, {
301
+ Tn(d, {
302
302
  content: "筛选",
303
303
  placement: "top-start"
304
304
  }, {
@@ -307,7 +307,7 @@ const ff = {
307
307
  class: "button-style",
308
308
  onClick: u[0] || (u[0] = (m) => i.value = !i.value)
309
309
  }, [
310
- bn(xd(wd), { color: "var(--ssComponent-black)" })
310
+ Tn(xd(wd), { color: "var(--ssComponent-black)" })
311
311
  ])
312
312
  ]),
313
313
  _: 1
@@ -315,7 +315,7 @@ const ff = {
315
315
  ]),
316
316
  content: _n(() => [
317
317
  Rn("div", yf, [
318
- (Tn(), ga(va, {
318
+ (bn(), rs(ya, {
319
319
  rowContents: s.value,
320
320
  buttonValue: a.value,
321
321
  isRowFlex: !0,
@@ -340,7 +340,7 @@ const ff = {
340
340
  * Copyright 2010-2025 Three.js Authors
341
341
  * SPDX-License-Identifier: MIT
342
342
  */
343
- const Nl = "177", k_ = { ROTATE: 0, DOLLY: 1, PAN: 2 }, V_ = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }, bf = 0, bc = 1, Sf = 2, Ru = 1, Ef = 2, ui = 3, jn = 0, yn = 1, vn = 2, Ri = 0, Pr = 1, Sc = 2, Ec = 3, Ac = 4, Af = 5, Xi = 100, wf = 101, Tf = 102, Rf = 103, Cf = 104, Lf = 200, Pf = 201, Df = 202, If = 203, Uo = 204, No = 205, Uf = 206, Nf = 207, Ff = 208, Of = 209, zf = 210, Bf = 211, kf = 212, Vf = 213, Hf = 214, Fo = 0, Oo = 1, zo = 2, Ur = 3, Bo = 4, ko = 5, Vo = 6, Ho = 7, La = 0, Gf = 1, Wf = 2, Ci = 0, Xf = 1, jf = 2, qf = 3, Yf = 4, $f = 5, Kf = 6, Jf = 7, wc = "attached", Zf = "detached", Cu = 300, Nr = 301, Fr = 302, Go = 303, Wo = 304, Pa = 306, Zn = 1e3, Wn = 1001, Xo = 1002, Pn = 1003, Qf = 1004, xs = 1005, Ln = 1006, Ha = 1007, fi = 1008, ti = 1009, Lu = 1010, Pu = 1011, os = 1012, Fl = 1013, $i = 1014, Qn = 1015, fs = 1016, Ol = 1017, zl = 1018, ls = 1020, Du = 35902, Iu = 1021, Uu = 1022, Fn = 1023, cs = 1026, hs = 1027, Nu = 1028, Bl = 1029, Fu = 1030, kl = 1031, Vl = 1033, oa = 33776, la = 33777, ca = 33778, ha = 33779, jo = 35840, qo = 35841, Yo = 35842, $o = 35843, Ko = 36196, Jo = 37492, Zo = 37496, Qo = 37808, el = 37809, tl = 37810, nl = 37811, il = 37812, rl = 37813, sl = 37814, al = 37815, ol = 37816, ll = 37817, cl = 37818, hl = 37819, ul = 37820, dl = 37821, ua = 36492, fl = 36494, pl = 36495, Ou = 36283, ml = 36284, gl = 36285, _l = 36286, xa = 2300, vl = 2301, Ga = 2302, Tc = 2400, Rc = 2401, Cc = 2402, ep = 2500, tp = 3200, np = 3201, Hl = 0, ip = 1, Ti = "", Rt = "srgb", Or = "srgb-linear", Ma = "linear", Ut = "srgb", sr = 7680, Lc = 519, rp = 512, sp = 513, ap = 514, zu = 515, op = 516, lp = 517, cp = 518, hp = 519, yl = 35044, Pc = "300 es", pi = 2e3, ba = 2001;
343
+ const Nl = "177", k_ = { ROTATE: 0, DOLLY: 1, PAN: 2 }, V_ = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 }, bf = 0, bc = 1, Sf = 2, Ru = 1, Ef = 2, ui = 3, jn = 0, yn = 1, vn = 2, Ri = 0, Pr = 1, Sc = 2, Ec = 3, Ac = 4, Af = 5, Xi = 100, wf = 101, Tf = 102, Rf = 103, Cf = 104, Lf = 200, Pf = 201, Df = 202, If = 203, Uo = 204, No = 205, Uf = 206, Nf = 207, Ff = 208, Of = 209, zf = 210, Bf = 211, kf = 212, Vf = 213, Hf = 214, Fo = 0, Oo = 1, zo = 2, Ur = 3, Bo = 4, ko = 5, Vo = 6, Ho = 7, Pa = 0, Gf = 1, Wf = 2, Ci = 0, Xf = 1, jf = 2, qf = 3, Yf = 4, $f = 5, Kf = 6, Jf = 7, wc = "attached", Zf = "detached", Cu = 300, Nr = 301, Fr = 302, Go = 303, Wo = 304, Da = 306, Zn = 1e3, Wn = 1001, Xo = 1002, Pn = 1003, Qf = 1004, Ms = 1005, Ln = 1006, Ga = 1007, fi = 1008, ti = 1009, Lu = 1010, Pu = 1011, ls = 1012, Fl = 1013, $i = 1014, Qn = 1015, ps = 1016, Ol = 1017, zl = 1018, cs = 1020, Du = 35902, Iu = 1021, Uu = 1022, Fn = 1023, hs = 1026, us = 1027, Nu = 1028, Bl = 1029, Fu = 1030, kl = 1031, Vl = 1033, ca = 33776, ha = 33777, ua = 33778, da = 33779, jo = 35840, qo = 35841, Yo = 35842, $o = 35843, Ko = 36196, Jo = 37492, Zo = 37496, Qo = 37808, el = 37809, tl = 37810, nl = 37811, il = 37812, rl = 37813, sl = 37814, al = 37815, ol = 37816, ll = 37817, cl = 37818, hl = 37819, ul = 37820, dl = 37821, fa = 36492, fl = 36494, pl = 36495, Ou = 36283, ml = 36284, gl = 36285, _l = 36286, Ma = 2300, vl = 2301, Wa = 2302, Tc = 2400, Rc = 2401, Cc = 2402, ep = 2500, tp = 3200, np = 3201, Hl = 0, ip = 1, Ti = "", Rt = "srgb", Or = "srgb-linear", ba = "linear", Ut = "srgb", sr = 7680, Lc = 519, rp = 512, sp = 513, ap = 514, zu = 515, op = 516, lp = 517, cp = 518, hp = 519, yl = 35044, Pc = "300 es", pi = 2e3, Sa = 2001;
344
344
  class Ji {
345
345
  /**
346
346
  * Adds the given event listener to the given event type.
@@ -399,7 +399,7 @@ class Ji {
399
399
  }
400
400
  const un = ["00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "0a", "0b", "0c", "0d", "0e", "0f", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "1a", "1b", "1c", "1d", "1e", "1f", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "2a", "2b", "2c", "2d", "2e", "2f", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "3a", "3b", "3c", "3d", "3e", "3f", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "4a", "4b", "4c", "4d", "4e", "4f", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "5a", "5b", "5c", "5d", "5e", "5f", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "6a", "6b", "6c", "6d", "6e", "6f", "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", "7a", "7b", "7c", "7d", "7e", "7f", "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", "8a", "8b", "8c", "8d", "8e", "8f", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", "9a", "9b", "9c", "9d", "9e", "9f", "a0", "a1", "a2", "a3", "a4", "a5", "a6", "a7", "a8", "a9", "aa", "ab", "ac", "ad", "ae", "af", "b0", "b1", "b2", "b3", "b4", "b5", "b6", "b7", "b8", "b9", "ba", "bb", "bc", "bd", "be", "bf", "c0", "c1", "c2", "c3", "c4", "c5", "c6", "c7", "c8", "c9", "ca", "cb", "cc", "cd", "ce", "cf", "d0", "d1", "d2", "d3", "d4", "d5", "d6", "d7", "d8", "d9", "da", "db", "dc", "dd", "de", "df", "e0", "e1", "e2", "e3", "e4", "e5", "e6", "e7", "e8", "e9", "ea", "eb", "ec", "ed", "ee", "ef", "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9", "fa", "fb", "fc", "fd", "fe", "ff"];
401
401
  let Dc = 1234567;
402
- const rs = Math.PI / 180, zr = 180 / Math.PI;
402
+ const ss = Math.PI / 180, zr = 180 / Math.PI;
403
403
  function Xn() {
404
404
  const r = Math.random() * 4294967295 | 0, e = Math.random() * 4294967295 | 0, t = Math.random() * 4294967295 | 0, n = Math.random() * 4294967295 | 0;
405
405
  return (un[r & 255] + un[r >> 8 & 255] + un[r >> 16 & 255] + un[r >> 24 & 255] + "-" + un[e & 255] + un[e >> 8 & 255] + "-" + un[e >> 16 & 15 | 64] + un[e >> 24 & 255] + "-" + un[t & 63 | 128] + un[t >> 8 & 255] + "-" + un[t >> 16 & 255] + un[t >> 24 & 255] + un[n & 255] + un[n >> 8 & 255] + un[n >> 16 & 255] + un[n >> 24 & 255]).toLowerCase();
@@ -416,11 +416,11 @@ function up(r, e, t, n, i) {
416
416
  function dp(r, e, t) {
417
417
  return r !== e ? (t - r) / (e - r) : 0;
418
418
  }
419
- function ss(r, e, t) {
419
+ function as(r, e, t) {
420
420
  return (1 - t) * r + t * e;
421
421
  }
422
422
  function fp(r, e, t, n) {
423
- return ss(r, e, 1 - Math.exp(-t * n));
423
+ return as(r, e, 1 - Math.exp(-t * n));
424
424
  }
425
425
  function pp(r, e = 1) {
426
426
  return e - Math.abs(Gl(r, e * 2) - e);
@@ -446,7 +446,7 @@ function xp(r) {
446
446
  return e = Math.imul(e ^ e >>> 15, e | 1), e ^= e + Math.imul(e ^ e >>> 7, e | 61), ((e ^ e >>> 14) >>> 0) / 4294967296;
447
447
  }
448
448
  function Mp(r) {
449
- return r * rs;
449
+ return r * ss;
450
450
  }
451
451
  function bp(r) {
452
452
  return r * zr;
@@ -526,7 +526,7 @@ function It(r, e) {
526
526
  }
527
527
  }
528
528
  const Ar = {
529
- DEG2RAD: rs,
529
+ DEG2RAD: ss,
530
530
  RAD2DEG: zr,
531
531
  /**
532
532
  * Generate a [UUID]{@link https://en.wikipedia.org/wiki/Universally_unique_identifier}
@@ -596,7 +596,7 @@ const Ar = {
596
596
  * @param {number} t - The interpolation factor in the closed interval `[0, 1]`.
597
597
  * @return {number} The interpolated value.
598
598
  */
599
- lerp: ss,
599
+ lerp: as,
600
600
  /**
601
601
  * Smoothly interpolate a number from `x` to `y` in a spring-like manner using a delta
602
602
  * time to maintain frame rate independent movement. For details, see
@@ -2299,7 +2299,7 @@ class k {
2299
2299
  * @return {Vector3} A reference to this vector.
2300
2300
  */
2301
2301
  projectOnPlane(e) {
2302
- return Wa.copy(this).projectOnVector(e), this.sub(Wa);
2302
+ return Xa.copy(this).projectOnVector(e), this.sub(Xa);
2303
2303
  }
2304
2304
  /**
2305
2305
  * Reflects this vector off a plane orthogonal to the given normal vector.
@@ -2308,7 +2308,7 @@ class k {
2308
2308
  * @return {Vector3} A reference to this vector.
2309
2309
  */
2310
2310
  reflect(e) {
2311
- return this.sub(Wa.copy(e).multiplyScalar(2 * this.dot(e)));
2311
+ return this.sub(Xa.copy(e).multiplyScalar(2 * this.dot(e)));
2312
2312
  }
2313
2313
  /**
2314
2314
  * Returns the angle between the given vector and this instance in radians.
@@ -2517,7 +2517,7 @@ class k {
2517
2517
  yield this.x, yield this.y, yield this.z;
2518
2518
  }
2519
2519
  }
2520
- const Wa = /* @__PURE__ */ new k(), Ic = /* @__PURE__ */ new zn();
2520
+ const Xa = /* @__PURE__ */ new k(), Ic = /* @__PURE__ */ new zn();
2521
2521
  class mt {
2522
2522
  /**
2523
2523
  * Constructs a new 3x3 matrix. The arguments are supposed to be
@@ -2751,7 +2751,7 @@ class mt {
2751
2751
  * @return {Matrix3} A reference to this matrix.
2752
2752
  */
2753
2753
  scale(e, t) {
2754
- return this.premultiply(Xa.makeScale(e, t)), this;
2754
+ return this.premultiply(ja.makeScale(e, t)), this;
2755
2755
  }
2756
2756
  /**
2757
2757
  * Rotates this matrix by the given angle.
@@ -2760,7 +2760,7 @@ class mt {
2760
2760
  * @return {Matrix3} A reference to this matrix.
2761
2761
  */
2762
2762
  rotate(e) {
2763
- return this.premultiply(Xa.makeRotation(-e)), this;
2763
+ return this.premultiply(ja.makeRotation(-e)), this;
2764
2764
  }
2765
2765
  /**
2766
2766
  * Translates this matrix by the given scalar values.
@@ -2770,7 +2770,7 @@ class mt {
2770
2770
  * @return {Matrix3} A reference to this matrix.
2771
2771
  */
2772
2772
  translate(e, t) {
2773
- return this.premultiply(Xa.makeTranslation(e, t)), this;
2773
+ return this.premultiply(ja.makeTranslation(e, t)), this;
2774
2774
  }
2775
2775
  // for 2D Transforms
2776
2776
  /**
@@ -2888,17 +2888,17 @@ class mt {
2888
2888
  return new this.constructor().fromArray(this.elements);
2889
2889
  }
2890
2890
  }
2891
- const Xa = /* @__PURE__ */ new mt();
2891
+ const ja = /* @__PURE__ */ new mt();
2892
2892
  function Bu(r) {
2893
2893
  for (let e = r.length - 1; e >= 0; --e)
2894
2894
  if (r[e] >= 65535) return !0;
2895
2895
  return !1;
2896
2896
  }
2897
- function us(r) {
2897
+ function ds(r) {
2898
2898
  return document.createElementNS("http://www.w3.org/1999/xhtml", r);
2899
2899
  }
2900
2900
  function Tp() {
2901
- const r = us("canvas");
2901
+ const r = ds("canvas");
2902
2902
  return r.style.display = "block", r;
2903
2903
  }
2904
2904
  const Uc = {};
@@ -2987,7 +2987,7 @@ function Pp() {
2987
2987
  return this.spaces[i].primaries;
2988
2988
  },
2989
2989
  getTransfer: function(i) {
2990
- return i === Ti ? Ma : this.spaces[i].transfer;
2990
+ return i === Ti ? ba : this.spaces[i].transfer;
2991
2991
  },
2992
2992
  getLuminanceCoefficients: function(i, s = this.workingColorSpace) {
2993
2993
  return i.fromArray(this.spaces[s].luminanceCoefficients);
@@ -3017,7 +3017,7 @@ function Pp() {
3017
3017
  [Or]: {
3018
3018
  primaries: e,
3019
3019
  whitePoint: n,
3020
- transfer: Ma,
3020
+ transfer: ba,
3021
3021
  toXYZ: Nc,
3022
3022
  fromXYZ: Fc,
3023
3023
  luminanceCoefficients: t,
@@ -3058,7 +3058,7 @@ class Dp {
3058
3058
  if (e instanceof HTMLCanvasElement)
3059
3059
  n = e;
3060
3060
  else {
3061
- ar === void 0 && (ar = us("canvas")), ar.width = e.width, ar.height = e.height;
3061
+ ar === void 0 && (ar = ds("canvas")), ar.width = e.width, ar.height = e.height;
3062
3062
  const i = ar.getContext("2d");
3063
3063
  e instanceof ImageData ? i.putImageData(e, 0, 0) : i.drawImage(e, 0, 0, e.width, e.height), n = ar;
3064
3064
  }
@@ -3072,7 +3072,7 @@ class Dp {
3072
3072
  */
3073
3073
  static sRGBToLinear(e) {
3074
3074
  if (typeof HTMLImageElement < "u" && e instanceof HTMLImageElement || typeof HTMLCanvasElement < "u" && e instanceof HTMLCanvasElement || typeof ImageBitmap < "u" && e instanceof ImageBitmap) {
3075
- const t = us("canvas");
3075
+ const t = ds("canvas");
3076
3076
  t.width = e.width, t.height = e.height;
3077
3077
  const n = t.getContext("2d");
3078
3078
  n.drawImage(e, 0, 0, e.width, e.height);
@@ -3139,15 +3139,15 @@ class Wl {
3139
3139
  if (Array.isArray(i)) {
3140
3140
  s = [];
3141
3141
  for (let a = 0, o = i.length; a < o; a++)
3142
- i[a].isDataTexture ? s.push(ja(i[a].image)) : s.push(ja(i[a]));
3142
+ i[a].isDataTexture ? s.push(qa(i[a].image)) : s.push(qa(i[a]));
3143
3143
  } else
3144
- s = ja(i);
3144
+ s = qa(i);
3145
3145
  n.url = s;
3146
3146
  }
3147
3147
  return t || (e.images[this.uuid] = n), n;
3148
3148
  }
3149
3149
  }
3150
- function ja(r) {
3150
+ function qa(r) {
3151
3151
  return typeof HTMLImageElement < "u" && r instanceof HTMLImageElement || typeof HTMLCanvasElement < "u" && r instanceof HTMLCanvasElement || typeof ImageBitmap < "u" && r instanceof ImageBitmap ? Dp.getDataURL(r) : r.data ? {
3152
3152
  data: Array.from(r.data),
3153
3153
  width: r.width,
@@ -3156,7 +3156,7 @@ function ja(r) {
3156
3156
  } : (console.warn("THREE.Texture: Unable to serialize Texture."), {});
3157
3157
  }
3158
3158
  let Up = 0;
3159
- const qa = /* @__PURE__ */ new k();
3159
+ const Ya = /* @__PURE__ */ new k();
3160
3160
  class ln extends Ji {
3161
3161
  /**
3162
3162
  * Constructs a new texture.
@@ -3179,19 +3179,19 @@ class ln extends Ji {
3179
3179
  * The width of the texture in pixels.
3180
3180
  */
3181
3181
  get width() {
3182
- return this.source.getSize(qa).x;
3182
+ return this.source.getSize(Ya).x;
3183
3183
  }
3184
3184
  /**
3185
3185
  * The height of the texture in pixels.
3186
3186
  */
3187
3187
  get height() {
3188
- return this.source.getSize(qa).y;
3188
+ return this.source.getSize(Ya).y;
3189
3189
  }
3190
3190
  /**
3191
3191
  * The depth of the texture in pixels.
3192
3192
  */
3193
3193
  get depth() {
3194
- return this.source.getSize(qa).z;
3194
+ return this.source.getSize(Ya).z;
3195
3195
  }
3196
3196
  /**
3197
3197
  * The image object holding the texture data.
@@ -4305,7 +4305,7 @@ class vi {
4305
4305
  for (let a = 0, o = s.count; a < o; a++)
4306
4306
  e.isMesh === !0 ? e.getVertexPosition(a, kn) : kn.fromBufferAttribute(s, a), kn.applyMatrix4(e.matrixWorld), this.expandByPoint(kn);
4307
4307
  else
4308
- e.boundingBox !== void 0 ? (e.boundingBox === null && e.computeBoundingBox(), Ms.copy(e.boundingBox)) : (n.boundingBox === null && n.computeBoundingBox(), Ms.copy(n.boundingBox)), Ms.applyMatrix4(e.matrixWorld), this.union(Ms);
4308
+ e.boundingBox !== void 0 ? (e.boundingBox === null && e.computeBoundingBox(), bs.copy(e.boundingBox)) : (n.boundingBox === null && n.computeBoundingBox(), bs.copy(n.boundingBox)), bs.applyMatrix4(e.matrixWorld), this.union(bs);
4309
4309
  }
4310
4310
  const i = e.children;
4311
4311
  for (let s = 0, a = i.length; s < a; s++)
@@ -4382,7 +4382,7 @@ class vi {
4382
4382
  intersectsTriangle(e) {
4383
4383
  if (this.isEmpty())
4384
4384
  return !1;
4385
- this.getCenter(qr), bs.subVectors(this.max, qr), or.subVectors(e.a, qr), lr.subVectors(e.b, qr), cr.subVectors(e.c, qr), xi.subVectors(lr, or), Mi.subVectors(cr, lr), Ui.subVectors(or, cr);
4385
+ this.getCenter(qr), Ss.subVectors(this.max, qr), or.subVectors(e.a, qr), lr.subVectors(e.b, qr), cr.subVectors(e.c, qr), xi.subVectors(lr, or), Mi.subVectors(cr, lr), Ui.subVectors(or, cr);
4386
4386
  let t = [
4387
4387
  0,
4388
4388
  -xi.z,
@@ -4412,7 +4412,7 @@ class vi {
4412
4412
  Ui.x,
4413
4413
  0
4414
4414
  ];
4415
- return !Ya(t, or, lr, cr, bs) || (t = [1, 0, 0, 0, 1, 0, 0, 0, 1], !Ya(t, or, lr, cr, bs)) ? !1 : (Ss.crossVectors(xi, Mi), t = [Ss.x, Ss.y, Ss.z], Ya(t, or, lr, cr, bs));
4415
+ return !$a(t, or, lr, cr, Ss) || (t = [1, 0, 0, 0, 1, 0, 0, 0, 1], !$a(t, or, lr, cr, Ss)) ? !1 : (Es.crossVectors(xi, Mi), t = [Es.x, Es.y, Es.z], $a(t, or, lr, cr, Ss));
4416
4416
  }
4417
4417
  /**
4418
4418
  * Clamps the given point within the bounds of this box.
@@ -4524,8 +4524,8 @@ const si = [
4524
4524
  /* @__PURE__ */ new k(),
4525
4525
  /* @__PURE__ */ new k(),
4526
4526
  /* @__PURE__ */ new k()
4527
- ], kn = /* @__PURE__ */ new k(), Ms = /* @__PURE__ */ new vi(), or = /* @__PURE__ */ new k(), lr = /* @__PURE__ */ new k(), cr = /* @__PURE__ */ new k(), xi = /* @__PURE__ */ new k(), Mi = /* @__PURE__ */ new k(), Ui = /* @__PURE__ */ new k(), qr = /* @__PURE__ */ new k(), bs = /* @__PURE__ */ new k(), Ss = /* @__PURE__ */ new k(), Ni = /* @__PURE__ */ new k();
4528
- function Ya(r, e, t, n, i) {
4527
+ ], kn = /* @__PURE__ */ new k(), bs = /* @__PURE__ */ new vi(), or = /* @__PURE__ */ new k(), lr = /* @__PURE__ */ new k(), cr = /* @__PURE__ */ new k(), xi = /* @__PURE__ */ new k(), Mi = /* @__PURE__ */ new k(), Ui = /* @__PURE__ */ new k(), qr = /* @__PURE__ */ new k(), Ss = /* @__PURE__ */ new k(), Es = /* @__PURE__ */ new k(), Ni = /* @__PURE__ */ new k();
4528
+ function $a(r, e, t, n, i) {
4529
4529
  for (let s = 0, a = r.length - 3; s <= a; s += 3) {
4530
4530
  Ni.fromArray(r, s);
4531
4531
  const o = i.x * Math.abs(Ni.x) + i.y * Math.abs(Ni.y) + i.z * Math.abs(Ni.z), l = e.dot(Ni), c = t.dot(Ni), h = n.dot(Ni);
@@ -4534,7 +4534,7 @@ function Ya(r, e, t, n, i) {
4534
4534
  }
4535
4535
  return !0;
4536
4536
  }
4537
- const Op = /* @__PURE__ */ new vi(), Yr = /* @__PURE__ */ new k(), $a = /* @__PURE__ */ new k();
4537
+ const Op = /* @__PURE__ */ new vi(), Yr = /* @__PURE__ */ new k(), Ka = /* @__PURE__ */ new k();
4538
4538
  class yi {
4539
4539
  /**
4540
4540
  * Constructs a new sphere.
@@ -4714,7 +4714,7 @@ class yi {
4714
4714
  * @return {Sphere} A reference to this sphere.
4715
4715
  */
4716
4716
  union(e) {
4717
- return e.isEmpty() ? this : this.isEmpty() ? (this.copy(e), this) : (this.center.equals(e.center) === !0 ? this.radius = Math.max(this.radius, e.radius) : ($a.subVectors(e.center, this.center).setLength(e.radius), this.expandByPoint(Yr.copy(e.center).add($a)), this.expandByPoint(Yr.copy(e.center).sub($a))), this);
4717
+ return e.isEmpty() ? this : this.isEmpty() ? (this.copy(e), this) : (this.center.equals(e.center) === !0 ? this.radius = Math.max(this.radius, e.radius) : (Ka.subVectors(e.center, this.center).setLength(e.radius), this.expandByPoint(Yr.copy(e.center).add(Ka)), this.expandByPoint(Yr.copy(e.center).sub(Ka))), this);
4718
4718
  }
4719
4719
  /**
4720
4720
  * Returns `true` if this sphere is equal with the given one.
@@ -4754,8 +4754,8 @@ class yi {
4754
4754
  return this.radius = e.radius, this.center.fromArray(e.center), this;
4755
4755
  }
4756
4756
  }
4757
- const ai = /* @__PURE__ */ new k(), Ka = /* @__PURE__ */ new k(), Es = /* @__PURE__ */ new k(), bi = /* @__PURE__ */ new k(), Ja = /* @__PURE__ */ new k(), As = /* @__PURE__ */ new k(), Za = /* @__PURE__ */ new k();
4758
- class ps {
4757
+ const ai = /* @__PURE__ */ new k(), Ja = /* @__PURE__ */ new k(), As = /* @__PURE__ */ new k(), bi = /* @__PURE__ */ new k(), Za = /* @__PURE__ */ new k(), ws = /* @__PURE__ */ new k(), Qa = /* @__PURE__ */ new k();
4758
+ class ms {
4759
4759
  /**
4760
4760
  * Constructs a new ray.
4761
4761
  *
@@ -4853,8 +4853,8 @@ class ps {
4853
4853
  * @return {number} The squared distance.
4854
4854
  */
4855
4855
  distanceSqToSegment(e, t, n, i) {
4856
- Ka.copy(e).add(t).multiplyScalar(0.5), Es.copy(t).sub(e).normalize(), bi.copy(this.origin).sub(Ka);
4857
- const s = e.distanceTo(t) * 0.5, a = -this.direction.dot(Es), o = bi.dot(this.direction), l = -bi.dot(Es), c = bi.lengthSq(), h = Math.abs(1 - a * a);
4856
+ Ja.copy(e).add(t).multiplyScalar(0.5), As.copy(t).sub(e).normalize(), bi.copy(this.origin).sub(Ja);
4857
+ const s = e.distanceTo(t) * 0.5, a = -this.direction.dot(As), o = bi.dot(this.direction), l = -bi.dot(As), c = bi.lengthSq(), h = Math.abs(1 - a * a);
4858
4858
  let u, d, f, m;
4859
4859
  if (h > 0)
4860
4860
  if (u = a * l - o, d = a * o - l, m = s * h, u >= 0)
@@ -4870,7 +4870,7 @@ class ps {
4870
4870
  d <= -m ? (u = Math.max(0, -(-a * s + o)), d = u > 0 ? -s : Math.min(Math.max(-s, -l), s), f = -u * u + d * (d + 2 * l) + c) : d <= m ? (u = 0, d = Math.min(Math.max(-s, -l), s), f = d * (d + 2 * l) + c) : (u = Math.max(0, -(a * s + o)), d = u > 0 ? s : Math.min(Math.max(-s, -l), s), f = -u * u + d * (d + 2 * l) + c);
4871
4871
  else
4872
4872
  d = a > 0 ? -s : s, u = Math.max(0, -(a * d + o)), f = -u * u + d * (d + 2 * l) + c;
4873
- return n && n.copy(this.origin).addScaledVector(this.direction, u), i && i.copy(Ka).addScaledVector(Es, d), f;
4873
+ return n && n.copy(this.origin).addScaledVector(this.direction, u), i && i.copy(Ja).addScaledVector(As, d), f;
4874
4874
  }
4875
4875
  /**
4876
4876
  * Intersects this ray with the given sphere, returning the intersection
@@ -4966,8 +4966,8 @@ class ps {
4966
4966
  * @return {?Vector3} The intersection point.
4967
4967
  */
4968
4968
  intersectTriangle(e, t, n, i, s) {
4969
- Ja.subVectors(t, e), As.subVectors(n, e), Za.crossVectors(Ja, As);
4970
- let a = this.direction.dot(Za), o;
4969
+ Za.subVectors(t, e), ws.subVectors(n, e), Qa.crossVectors(Za, ws);
4970
+ let a = this.direction.dot(Qa), o;
4971
4971
  if (a > 0) {
4972
4972
  if (i) return null;
4973
4973
  o = 1;
@@ -4976,13 +4976,13 @@ class ps {
4976
4976
  else
4977
4977
  return null;
4978
4978
  bi.subVectors(this.origin, e);
4979
- const l = o * this.direction.dot(As.crossVectors(bi, As));
4979
+ const l = o * this.direction.dot(ws.crossVectors(bi, ws));
4980
4980
  if (l < 0)
4981
4981
  return null;
4982
- const c = o * this.direction.dot(Ja.cross(bi));
4982
+ const c = o * this.direction.dot(Za.cross(bi));
4983
4983
  if (c < 0 || l + c > a)
4984
4984
  return null;
4985
- const h = -o * bi.dot(Za);
4985
+ const h = -o * bi.dot(Qa);
4986
4986
  return h < 0 ? null : this.at(h / a, s);
4987
4987
  }
4988
4988
  /**
@@ -5269,7 +5269,7 @@ class ut {
5269
5269
  */
5270
5270
  lookAt(e, t, n) {
5271
5271
  const i = this.elements;
5272
- return An.subVectors(e, t), An.lengthSq() === 0 && (An.z = 1), An.normalize(), Si.crossVectors(n, An), Si.lengthSq() === 0 && (Math.abs(n.z) === 1 ? An.x += 1e-4 : An.z += 1e-4, An.normalize(), Si.crossVectors(n, An)), Si.normalize(), ws.crossVectors(An, Si), i[0] = Si.x, i[4] = ws.x, i[8] = An.x, i[1] = Si.y, i[5] = ws.y, i[9] = An.y, i[2] = Si.z, i[6] = ws.z, i[10] = An.z, this;
5272
+ return An.subVectors(e, t), An.lengthSq() === 0 && (An.z = 1), An.normalize(), Si.crossVectors(n, An), Si.lengthSq() === 0 && (Math.abs(n.z) === 1 ? An.x += 1e-4 : An.z += 1e-4, An.normalize(), Si.crossVectors(n, An)), Si.normalize(), Ts.crossVectors(An, Si), i[0] = Si.x, i[4] = Ts.x, i[8] = An.x, i[1] = Si.y, i[5] = Ts.y, i[9] = An.y, i[2] = Si.z, i[6] = Ts.z, i[10] = An.z, this;
5273
5273
  }
5274
5274
  /**
5275
5275
  * Post-multiplies this matrix by the given 4x4 matrix.
@@ -5649,7 +5649,7 @@ class ut {
5649
5649
  let f, m;
5650
5650
  if (o === pi)
5651
5651
  f = -(a + s) / (a - s), m = -2 * a * s / (a - s);
5652
- else if (o === ba)
5652
+ else if (o === Sa)
5653
5653
  f = -a / (a - s), m = -a * s / (a - s);
5654
5654
  else
5655
5655
  throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: " + o);
@@ -5673,7 +5673,7 @@ class ut {
5673
5673
  let m, _;
5674
5674
  if (o === pi)
5675
5675
  m = (a + s) * u, _ = -2 * u;
5676
- else if (o === ba)
5676
+ else if (o === Sa)
5677
5677
  m = s * u, _ = -1 * u;
5678
5678
  else
5679
5679
  throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: " + o);
@@ -5716,7 +5716,7 @@ class ut {
5716
5716
  return e[t] = n[0], e[t + 1] = n[1], e[t + 2] = n[2], e[t + 3] = n[3], e[t + 4] = n[4], e[t + 5] = n[5], e[t + 6] = n[6], e[t + 7] = n[7], e[t + 8] = n[8], e[t + 9] = n[9], e[t + 10] = n[10], e[t + 11] = n[11], e[t + 12] = n[12], e[t + 13] = n[13], e[t + 14] = n[14], e[t + 15] = n[15], e;
5717
5717
  }
5718
5718
  }
5719
- const hr = /* @__PURE__ */ new k(), Vn = /* @__PURE__ */ new ut(), zp = /* @__PURE__ */ new k(0, 0, 0), Bp = /* @__PURE__ */ new k(1, 1, 1), Si = /* @__PURE__ */ new k(), ws = /* @__PURE__ */ new k(), An = /* @__PURE__ */ new k(), Oc = /* @__PURE__ */ new ut(), zc = /* @__PURE__ */ new zn();
5719
+ const hr = /* @__PURE__ */ new k(), Vn = /* @__PURE__ */ new ut(), zp = /* @__PURE__ */ new k(0, 0, 0), Bp = /* @__PURE__ */ new k(1, 1, 1), Si = /* @__PURE__ */ new k(), Ts = /* @__PURE__ */ new k(), An = /* @__PURE__ */ new k(), Oc = /* @__PURE__ */ new ut(), zc = /* @__PURE__ */ new zn();
5720
5720
  class Dn {
5721
5721
  /**
5722
5722
  * Constructs a new euler instance.
@@ -5988,7 +5988,7 @@ class Xl {
5988
5988
  }
5989
5989
  }
5990
5990
  let kp = 0;
5991
- const Bc = /* @__PURE__ */ new k(), ur = /* @__PURE__ */ new zn(), oi = /* @__PURE__ */ new ut(), Ts = /* @__PURE__ */ new k(), $r = /* @__PURE__ */ new k(), Vp = /* @__PURE__ */ new k(), Hp = /* @__PURE__ */ new zn(), kc = /* @__PURE__ */ new k(1, 0, 0), Vc = /* @__PURE__ */ new k(0, 1, 0), Hc = /* @__PURE__ */ new k(0, 0, 1), Gc = { type: "added" }, Gp = { type: "removed" }, dr = { type: "childadded", child: null }, Qa = { type: "childremoved", child: null };
5991
+ const Bc = /* @__PURE__ */ new k(), ur = /* @__PURE__ */ new zn(), oi = /* @__PURE__ */ new ut(), Rs = /* @__PURE__ */ new k(), $r = /* @__PURE__ */ new k(), Vp = /* @__PURE__ */ new k(), Hp = /* @__PURE__ */ new zn(), kc = /* @__PURE__ */ new k(1, 0, 0), Vc = /* @__PURE__ */ new k(0, 1, 0), Hc = /* @__PURE__ */ new k(0, 0, 1), Gc = { type: "added" }, Gp = { type: "removed" }, dr = { type: "childadded", child: null }, eo = { type: "childremoved", child: null };
5992
5992
  class Nt extends Ji {
5993
5993
  /**
5994
5994
  * Constructs a new 3D object.
@@ -6284,9 +6284,9 @@ class Nt extends Ji {
6284
6284
  * @param {number} [z] - The z coordinate in world space.
6285
6285
  */
6286
6286
  lookAt(e, t, n) {
6287
- e.isVector3 ? Ts.copy(e) : Ts.set(e, t, n);
6287
+ e.isVector3 ? Rs.copy(e) : Rs.set(e, t, n);
6288
6288
  const i = this.parent;
6289
- this.updateWorldMatrix(!0, !1), $r.setFromMatrixPosition(this.matrixWorld), this.isCamera || this.isLight ? oi.lookAt($r, Ts, this.up) : oi.lookAt(Ts, $r, this.up), this.quaternion.setFromRotationMatrix(oi), i && (oi.extractRotation(i.matrixWorld), ur.setFromRotationMatrix(oi), this.quaternion.premultiply(ur.invert()));
6289
+ this.updateWorldMatrix(!0, !1), $r.setFromMatrixPosition(this.matrixWorld), this.isCamera || this.isLight ? oi.lookAt($r, Rs, this.up) : oi.lookAt(Rs, $r, this.up), this.quaternion.setFromRotationMatrix(oi), i && (oi.extractRotation(i.matrixWorld), ur.setFromRotationMatrix(oi), this.quaternion.premultiply(ur.invert()));
6290
6290
  }
6291
6291
  /**
6292
6292
  * Adds the given 3D object as a child to this 3D object. An arbitrary number of
@@ -6322,7 +6322,7 @@ class Nt extends Ji {
6322
6322
  return this;
6323
6323
  }
6324
6324
  const t = this.children.indexOf(e);
6325
- return t !== -1 && (e.parent = null, this.children.splice(t, 1), e.dispatchEvent(Gp), Qa.child = e, this.dispatchEvent(Qa), Qa.child = null), this;
6325
+ return t !== -1 && (e.parent = null, this.children.splice(t, 1), e.dispatchEvent(Gp), eo.child = e, this.dispatchEvent(eo), eo.child = null), this;
6326
6326
  }
6327
6327
  /**
6328
6328
  * Removes this 3D object from its current parent.
@@ -6646,7 +6646,7 @@ class Nt extends Ji {
6646
6646
  Nt.DEFAULT_UP = /* @__PURE__ */ new k(0, 1, 0);
6647
6647
  Nt.DEFAULT_MATRIX_AUTO_UPDATE = !0;
6648
6648
  Nt.DEFAULT_MATRIX_WORLD_AUTO_UPDATE = !0;
6649
- const Hn = /* @__PURE__ */ new k(), li = /* @__PURE__ */ new k(), eo = /* @__PURE__ */ new k(), ci = /* @__PURE__ */ new k(), fr = /* @__PURE__ */ new k(), pr = /* @__PURE__ */ new k(), Wc = /* @__PURE__ */ new k(), to = /* @__PURE__ */ new k(), no = /* @__PURE__ */ new k(), io = /* @__PURE__ */ new k(), ro = /* @__PURE__ */ new xt(), so = /* @__PURE__ */ new xt(), ao = /* @__PURE__ */ new xt();
6649
+ const Hn = /* @__PURE__ */ new k(), li = /* @__PURE__ */ new k(), to = /* @__PURE__ */ new k(), ci = /* @__PURE__ */ new k(), fr = /* @__PURE__ */ new k(), pr = /* @__PURE__ */ new k(), Wc = /* @__PURE__ */ new k(), no = /* @__PURE__ */ new k(), io = /* @__PURE__ */ new k(), ro = /* @__PURE__ */ new k(), so = /* @__PURE__ */ new xt(), ao = /* @__PURE__ */ new xt(), oo = /* @__PURE__ */ new xt();
6650
6650
  class Nn {
6651
6651
  /**
6652
6652
  * Constructs a new triangle.
@@ -6684,8 +6684,8 @@ class Nn {
6684
6684
  * @return {?Vector3} The barycentric coordinates for the given point
6685
6685
  */
6686
6686
  static getBarycoord(e, t, n, i, s) {
6687
- Hn.subVectors(i, t), li.subVectors(n, t), eo.subVectors(e, t);
6688
- const a = Hn.dot(Hn), o = Hn.dot(li), l = Hn.dot(eo), c = li.dot(li), h = li.dot(eo), u = a * c - o * o;
6687
+ Hn.subVectors(i, t), li.subVectors(n, t), to.subVectors(e, t);
6688
+ const a = Hn.dot(Hn), o = Hn.dot(li), l = Hn.dot(to), c = li.dot(li), h = li.dot(to), u = a * c - o * o;
6689
6689
  if (u === 0)
6690
6690
  return s.set(0, 0, 0), null;
6691
6691
  const d = 1 / u, f = (c * l - o * h) * d, m = (a * h - o * l) * d;
@@ -6734,7 +6734,7 @@ class Nn {
6734
6734
  * @return {Vector3} The interpolated attribute value.
6735
6735
  */
6736
6736
  static getInterpolatedAttribute(e, t, n, i, s, a) {
6737
- return ro.setScalar(0), so.setScalar(0), ao.setScalar(0), ro.fromBufferAttribute(e, t), so.fromBufferAttribute(e, n), ao.fromBufferAttribute(e, i), a.setScalar(0), a.addScaledVector(ro, s.x), a.addScaledVector(so, s.y), a.addScaledVector(ao, s.z), a;
6737
+ return so.setScalar(0), ao.setScalar(0), oo.setScalar(0), so.fromBufferAttribute(e, t), ao.fromBufferAttribute(e, n), oo.fromBufferAttribute(e, i), a.setScalar(0), a.addScaledVector(so, s.x), a.addScaledVector(ao, s.y), a.addScaledVector(oo, s.z), a;
6738
6738
  }
6739
6739
  /**
6740
6740
  * Returns `true` if the triangle is oriented towards the given direction.
@@ -6899,19 +6899,19 @@ class Nn {
6899
6899
  closestPointToPoint(e, t) {
6900
6900
  const n = this.a, i = this.b, s = this.c;
6901
6901
  let a, o;
6902
- fr.subVectors(i, n), pr.subVectors(s, n), to.subVectors(e, n);
6903
- const l = fr.dot(to), c = pr.dot(to);
6902
+ fr.subVectors(i, n), pr.subVectors(s, n), no.subVectors(e, n);
6903
+ const l = fr.dot(no), c = pr.dot(no);
6904
6904
  if (l <= 0 && c <= 0)
6905
6905
  return t.copy(n);
6906
- no.subVectors(e, i);
6907
- const h = fr.dot(no), u = pr.dot(no);
6906
+ io.subVectors(e, i);
6907
+ const h = fr.dot(io), u = pr.dot(io);
6908
6908
  if (h >= 0 && u <= h)
6909
6909
  return t.copy(i);
6910
6910
  const d = l * u - h * c;
6911
6911
  if (d <= 0 && l >= 0 && h <= 0)
6912
6912
  return a = l / (l - h), t.copy(n).addScaledVector(fr, a);
6913
- io.subVectors(e, s);
6914
- const f = fr.dot(io), m = pr.dot(io);
6913
+ ro.subVectors(e, s);
6914
+ const f = fr.dot(ro), m = pr.dot(ro);
6915
6915
  if (m >= 0 && f <= m)
6916
6916
  return t.copy(s);
6917
6917
  const _ = f * c - l * m;
@@ -7082,8 +7082,8 @@ const Vu = {
7082
7082
  whitesmoke: 16119285,
7083
7083
  yellow: 16776960,
7084
7084
  yellowgreen: 10145074
7085
- }, Ei = { h: 0, s: 0, l: 0 }, Rs = { h: 0, s: 0, l: 0 };
7086
- function oo(r, e, t) {
7085
+ }, Ei = { h: 0, s: 0, l: 0 }, Cs = { h: 0, s: 0, l: 0 };
7086
+ function lo(r, e, t) {
7087
7087
  return t < 0 && (t += 1), t > 1 && (t -= 1), t < 1 / 6 ? r + (e - r) * 6 * t : t < 1 / 2 ? e : t < 2 / 3 ? r + (e - r) * 6 * (2 / 3 - t) : r;
7088
7088
  }
7089
7089
  class st {
@@ -7163,7 +7163,7 @@ class st {
7163
7163
  this.r = this.g = this.b = n;
7164
7164
  else {
7165
7165
  const s = n <= 0.5 ? n * (1 + t) : n + t - n * t, a = 2 * n - s;
7166
- this.r = oo(a, s, e + 1 / 3), this.g = oo(a, s, e), this.b = oo(a, s, e - 1 / 3);
7166
+ this.r = lo(a, s, e + 1 / 3), this.g = lo(a, s, e), this.b = lo(a, s, e - 1 / 3);
7167
7167
  }
7168
7168
  return vt.colorSpaceToWorking(this, i), this;
7169
7169
  }
@@ -7478,8 +7478,8 @@ class st {
7478
7478
  * @return {Color} A reference to this color.
7479
7479
  */
7480
7480
  lerpHSL(e, t) {
7481
- this.getHSL(Ei), e.getHSL(Rs);
7482
- const n = ss(Ei.h, Rs.h, t), i = ss(Ei.s, Rs.s, t), s = ss(Ei.l, Rs.l, t);
7481
+ this.getHSL(Ei), e.getHSL(Cs);
7482
+ const n = as(Ei.h, Cs.h, t), i = as(Ei.s, Cs.s, t), s = as(Ei.l, Cs.l, t);
7483
7483
  return this.setHSL(n, i, s), this;
7484
7484
  }
7485
7485
  /**
@@ -7734,13 +7734,13 @@ class Pi extends Bn {
7734
7734
  * by {@link Color#set}.
7735
7735
  */
7736
7736
  constructor(e) {
7737
- super(), this.isMeshBasicMaterial = !0, this.type = "MeshBasicMaterial", this.color = new st(16777215), this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.envMapRotation = new Dn(), this.combine = La, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.fog = !0, this.setValues(e);
7737
+ super(), this.isMeshBasicMaterial = !0, this.type = "MeshBasicMaterial", this.color = new st(16777215), this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.envMapRotation = new Dn(), this.combine = Pa, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.fog = !0, this.setValues(e);
7738
7738
  }
7739
7739
  copy(e) {
7740
7740
  return super.copy(e), this.color.copy(e.color), this.map = e.map, this.lightMap = e.lightMap, this.lightMapIntensity = e.lightMapIntensity, this.aoMap = e.aoMap, this.aoMapIntensity = e.aoMapIntensity, this.specularMap = e.specularMap, this.alphaMap = e.alphaMap, this.envMap = e.envMap, this.envMapRotation.copy(e.envMapRotation), this.combine = e.combine, this.reflectivity = e.reflectivity, this.refractionRatio = e.refractionRatio, this.wireframe = e.wireframe, this.wireframeLinewidth = e.wireframeLinewidth, this.wireframeLinecap = e.wireframeLinecap, this.wireframeLinejoin = e.wireframeLinejoin, this.fog = e.fog, this;
7741
7741
  }
7742
7742
  }
7743
- const jt = /* @__PURE__ */ new k(), Cs = /* @__PURE__ */ new dt();
7743
+ const jt = /* @__PURE__ */ new k(), Ls = /* @__PURE__ */ new dt();
7744
7744
  let Xp = 0;
7745
7745
  class Gt {
7746
7746
  /**
@@ -7840,7 +7840,7 @@ class Gt {
7840
7840
  applyMatrix3(e) {
7841
7841
  if (this.itemSize === 2)
7842
7842
  for (let t = 0, n = this.count; t < n; t++)
7843
- Cs.fromBufferAttribute(this, t), Cs.applyMatrix3(e), this.setXY(t, Cs.x, Cs.y);
7843
+ Ls.fromBufferAttribute(this, t), Ls.applyMatrix3(e), this.setXY(t, Ls.x, Ls.y);
7844
7844
  else if (this.itemSize === 3)
7845
7845
  for (let t = 0, n = this.count; t < n; t++)
7846
7846
  jt.fromBufferAttribute(this, t), jt.applyMatrix3(e), this.setXYZ(t, jt.x, jt.y, jt.z);
@@ -8113,7 +8113,7 @@ class _t extends Gt {
8113
8113
  }
8114
8114
  }
8115
8115
  let qp = 0;
8116
- const In = /* @__PURE__ */ new ut(), lo = /* @__PURE__ */ new Nt(), mr = /* @__PURE__ */ new k(), wn = /* @__PURE__ */ new vi(), Kr = /* @__PURE__ */ new vi(), Qt = /* @__PURE__ */ new k();
8116
+ const In = /* @__PURE__ */ new ut(), co = /* @__PURE__ */ new Nt(), mr = /* @__PURE__ */ new k(), wn = /* @__PURE__ */ new vi(), Kr = /* @__PURE__ */ new vi(), Qt = /* @__PURE__ */ new k();
8117
8117
  class kt extends Ji {
8118
8118
  /**
8119
8119
  * Constructs a new geometry.
@@ -8318,7 +8318,7 @@ class kt extends Ji {
8318
8318
  * @return {BufferGeometry} A reference to this instance.
8319
8319
  */
8320
8320
  lookAt(e) {
8321
- return lo.lookAt(e), lo.updateMatrix(), this.applyMatrix4(lo.matrix), this;
8321
+ return co.lookAt(e), co.updateMatrix(), this.applyMatrix4(co.matrix), this;
8322
8322
  }
8323
8323
  /**
8324
8324
  * Center the geometry based on its bounding box.
@@ -8643,7 +8643,7 @@ class kt extends Ji {
8643
8643
  this.dispatchEvent({ type: "dispose" });
8644
8644
  }
8645
8645
  }
8646
- const Xc = /* @__PURE__ */ new ut(), Fi = /* @__PURE__ */ new ps(), Ls = /* @__PURE__ */ new yi(), jc = /* @__PURE__ */ new k(), Ps = /* @__PURE__ */ new k(), Ds = /* @__PURE__ */ new k(), Is = /* @__PURE__ */ new k(), co = /* @__PURE__ */ new k(), Us = /* @__PURE__ */ new k(), qc = /* @__PURE__ */ new k(), Ns = /* @__PURE__ */ new k();
8646
+ const Xc = /* @__PURE__ */ new ut(), Fi = /* @__PURE__ */ new ms(), Ps = /* @__PURE__ */ new yi(), jc = /* @__PURE__ */ new k(), Ds = /* @__PURE__ */ new k(), Is = /* @__PURE__ */ new k(), Us = /* @__PURE__ */ new k(), ho = /* @__PURE__ */ new k(), Ns = /* @__PURE__ */ new k(), qc = /* @__PURE__ */ new k(), Fs = /* @__PURE__ */ new k();
8647
8647
  class Pt extends Nt {
8648
8648
  /**
8649
8649
  * Constructs a new mesh.
@@ -8687,12 +8687,12 @@ class Pt extends Nt {
8687
8687
  t.fromBufferAttribute(i, e);
8688
8688
  const o = this.morphTargetInfluences;
8689
8689
  if (s && o) {
8690
- Us.set(0, 0, 0);
8690
+ Ns.set(0, 0, 0);
8691
8691
  for (let l = 0, c = s.length; l < c; l++) {
8692
8692
  const h = o[l], u = s[l];
8693
- h !== 0 && (co.fromBufferAttribute(u, e), a ? Us.addScaledVector(co, h) : Us.addScaledVector(co.sub(t), h));
8693
+ h !== 0 && (ho.fromBufferAttribute(u, e), a ? Ns.addScaledVector(ho, h) : Ns.addScaledVector(ho.sub(t), h));
8694
8694
  }
8695
- t.add(Us);
8695
+ t.add(Ns);
8696
8696
  }
8697
8697
  return t;
8698
8698
  }
@@ -8704,7 +8704,7 @@ class Pt extends Nt {
8704
8704
  */
8705
8705
  raycast(e, t) {
8706
8706
  const n = this.geometry, i = this.material, s = this.matrixWorld;
8707
- i !== void 0 && (n.boundingSphere === null && n.computeBoundingSphere(), Ls.copy(n.boundingSphere), Ls.applyMatrix4(s), Fi.copy(e.ray).recast(e.near), !(Ls.containsPoint(Fi.origin) === !1 && (Fi.intersectSphere(Ls, jc) === null || Fi.origin.distanceToSquared(jc) > (e.far - e.near) ** 2)) && (Xc.copy(s).invert(), Fi.copy(e.ray).applyMatrix4(Xc), !(n.boundingBox !== null && Fi.intersectsBox(n.boundingBox) === !1) && this._computeIntersections(e, t, Fi)));
8707
+ i !== void 0 && (n.boundingSphere === null && n.computeBoundingSphere(), Ps.copy(n.boundingSphere), Ps.applyMatrix4(s), Fi.copy(e.ray).recast(e.near), !(Ps.containsPoint(Fi.origin) === !1 && (Fi.intersectSphere(Ps, jc) === null || Fi.origin.distanceToSquared(jc) > (e.far - e.near) ** 2)) && (Xc.copy(s).invert(), Fi.copy(e.ray).applyMatrix4(Xc), !(n.boundingBox !== null && Fi.intersectsBox(n.boundingBox) === !1) && this._computeIntersections(e, t, Fi)));
8708
8708
  }
8709
8709
  _computeIntersections(e, t, n) {
8710
8710
  let i;
@@ -8715,14 +8715,14 @@ class Pt extends Nt {
8715
8715
  const g = d[m], p = a[g.materialIndex], S = Math.max(g.start, f.start), A = Math.min(o.count, Math.min(g.start + g.count, f.start + f.count));
8716
8716
  for (let x = S, U = A; x < U; x += 3) {
8717
8717
  const R = o.getX(x), T = o.getX(x + 1), I = o.getX(x + 2);
8718
- i = Fs(this, p, e, n, c, h, u, R, T, I), i && (i.faceIndex = Math.floor(x / 3), i.face.materialIndex = g.materialIndex, t.push(i));
8718
+ i = Os(this, p, e, n, c, h, u, R, T, I), i && (i.faceIndex = Math.floor(x / 3), i.face.materialIndex = g.materialIndex, t.push(i));
8719
8719
  }
8720
8720
  }
8721
8721
  else {
8722
8722
  const m = Math.max(0, f.start), _ = Math.min(o.count, f.start + f.count);
8723
8723
  for (let g = m, p = _; g < p; g += 3) {
8724
8724
  const S = o.getX(g), A = o.getX(g + 1), x = o.getX(g + 2);
8725
- i = Fs(this, a, e, n, c, h, u, S, A, x), i && (i.faceIndex = Math.floor(g / 3), t.push(i));
8725
+ i = Os(this, a, e, n, c, h, u, S, A, x), i && (i.faceIndex = Math.floor(g / 3), t.push(i));
8726
8726
  }
8727
8727
  }
8728
8728
  else if (l !== void 0)
@@ -8731,14 +8731,14 @@ class Pt extends Nt {
8731
8731
  const g = d[m], p = a[g.materialIndex], S = Math.max(g.start, f.start), A = Math.min(l.count, Math.min(g.start + g.count, f.start + f.count));
8732
8732
  for (let x = S, U = A; x < U; x += 3) {
8733
8733
  const R = x, T = x + 1, I = x + 2;
8734
- i = Fs(this, p, e, n, c, h, u, R, T, I), i && (i.faceIndex = Math.floor(x / 3), i.face.materialIndex = g.materialIndex, t.push(i));
8734
+ i = Os(this, p, e, n, c, h, u, R, T, I), i && (i.faceIndex = Math.floor(x / 3), i.face.materialIndex = g.materialIndex, t.push(i));
8735
8735
  }
8736
8736
  }
8737
8737
  else {
8738
8738
  const m = Math.max(0, f.start), _ = Math.min(l.count, f.start + f.count);
8739
8739
  for (let g = m, p = _; g < p; g += 3) {
8740
8740
  const S = g, A = g + 1, x = g + 2;
8741
- i = Fs(this, a, e, n, c, h, u, S, A, x), i && (i.faceIndex = Math.floor(g / 3), t.push(i));
8741
+ i = Os(this, a, e, n, c, h, u, S, A, x), i && (i.faceIndex = Math.floor(g / 3), t.push(i));
8742
8742
  }
8743
8743
  }
8744
8744
  }
@@ -8746,20 +8746,20 @@ class Pt extends Nt {
8746
8746
  function Yp(r, e, t, n, i, s, a, o) {
8747
8747
  let l;
8748
8748
  if (e.side === yn ? l = n.intersectTriangle(a, s, i, !0, o) : l = n.intersectTriangle(i, s, a, e.side === jn, o), l === null) return null;
8749
- Ns.copy(o), Ns.applyMatrix4(r.matrixWorld);
8750
- const c = t.ray.origin.distanceTo(Ns);
8749
+ Fs.copy(o), Fs.applyMatrix4(r.matrixWorld);
8750
+ const c = t.ray.origin.distanceTo(Fs);
8751
8751
  return c < t.near || c > t.far ? null : {
8752
8752
  distance: c,
8753
- point: Ns.clone(),
8753
+ point: Fs.clone(),
8754
8754
  object: r
8755
8755
  };
8756
8756
  }
8757
- function Fs(r, e, t, n, i, s, a, o, l, c) {
8758
- r.getVertexPosition(o, Ps), r.getVertexPosition(l, Ds), r.getVertexPosition(c, Is);
8759
- const h = Yp(r, e, t, n, Ps, Ds, Is, qc);
8757
+ function Os(r, e, t, n, i, s, a, o, l, c) {
8758
+ r.getVertexPosition(o, Ds), r.getVertexPosition(l, Is), r.getVertexPosition(c, Us);
8759
+ const h = Yp(r, e, t, n, Ds, Is, Us, qc);
8760
8760
  if (h) {
8761
8761
  const u = new k();
8762
- Nn.getBarycoord(qc, Ps, Ds, Is, u), i && (h.uv = Nn.getInterpolatedAttribute(i, o, l, c, u, new dt())), s && (h.uv1 = Nn.getInterpolatedAttribute(s, o, l, c, u, new dt())), a && (h.normal = Nn.getInterpolatedAttribute(a, o, l, c, u, new k()), h.normal.dot(n.direction) > 0 && h.normal.multiplyScalar(-1));
8762
+ Nn.getBarycoord(qc, Ds, Is, Us, u), i && (h.uv = Nn.getInterpolatedAttribute(i, o, l, c, u, new dt())), s && (h.uv1 = Nn.getInterpolatedAttribute(s, o, l, c, u, new dt())), a && (h.normal = Nn.getInterpolatedAttribute(a, o, l, c, u, new k()), h.normal.dot(n.direction) > 0 && h.normal.multiplyScalar(-1));
8763
8763
  const d = {
8764
8764
  a: o,
8765
8765
  b: l,
@@ -8767,7 +8767,7 @@ function Fs(r, e, t, n, i, s, a, o, l, c) {
8767
8767
  normal: new k(),
8768
8768
  materialIndex: 0
8769
8769
  };
8770
- Nn.getNormal(Ps, Ds, Is, d.normal), h.face = d, h.barycoord = u;
8770
+ Nn.getNormal(Ds, Is, Us, d.normal), h.face = d, h.barycoord = u;
8771
8771
  }
8772
8772
  return h;
8773
8773
  }
@@ -8994,7 +8994,7 @@ class fn extends Xu {
8994
8994
  * @return {number} The computed focal length.
8995
8995
  */
8996
8996
  getFocalLength() {
8997
- const e = Math.tan(rs * 0.5 * this.fov);
8997
+ const e = Math.tan(ss * 0.5 * this.fov);
8998
8998
  return 0.5 * this.getFilmHeight() / e;
8999
8999
  }
9000
9000
  /**
@@ -9004,7 +9004,7 @@ class fn extends Xu {
9004
9004
  */
9005
9005
  getEffectiveFOV() {
9006
9006
  return zr * 2 * Math.atan(
9007
- Math.tan(rs * 0.5 * this.fov) / this.zoom
9007
+ Math.tan(ss * 0.5 * this.fov) / this.zoom
9008
9008
  );
9009
9009
  }
9010
9010
  /**
@@ -9112,7 +9112,7 @@ class fn extends Xu {
9112
9112
  */
9113
9113
  updateProjectionMatrix() {
9114
9114
  const e = this.near;
9115
- let t = e * Math.tan(rs * 0.5 * this.fov) / this.zoom, n = 2 * t, i = this.aspect * n, s = -0.5 * i;
9115
+ let t = e * Math.tan(ss * 0.5 * this.fov) / this.zoom, n = 2 * t, i = this.aspect * n, s = -0.5 * i;
9116
9116
  const a = this.view;
9117
9117
  if (this.view !== null && this.view.enabled) {
9118
9118
  const l = a.fullWidth, c = a.fullHeight;
@@ -9158,7 +9158,7 @@ class Zp extends Nt {
9158
9158
  for (const c of t) this.remove(c);
9159
9159
  if (e === pi)
9160
9160
  n.up.set(0, 1, 0), n.lookAt(1, 0, 0), i.up.set(0, 1, 0), i.lookAt(-1, 0, 0), s.up.set(0, 0, -1), s.lookAt(0, 1, 0), a.up.set(0, 0, 1), a.lookAt(0, -1, 0), o.up.set(0, 1, 0), o.lookAt(0, 0, 1), l.up.set(0, 1, 0), l.lookAt(0, 0, -1);
9161
- else if (e === ba)
9161
+ else if (e === Sa)
9162
9162
  n.up.set(0, -1, 0), n.lookAt(-1, 0, 0), i.up.set(0, -1, 0), i.lookAt(1, 0, 0), s.up.set(0, 0, 1), s.lookAt(0, 1, 0), a.up.set(0, 0, -1), a.lookAt(0, -1, 0), o.up.set(0, -1, 0), o.lookAt(0, 0, 1), l.up.set(0, -1, 0), l.lookAt(0, 0, -1);
9163
9163
  else
9164
9164
  throw new Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: " + e);
@@ -9313,7 +9313,7 @@ class mi extends Nt {
9313
9313
  }
9314
9314
  }
9315
9315
  const e0 = { type: "move" };
9316
- class ho {
9316
+ class uo {
9317
9317
  /**
9318
9318
  * Constructs a new XR controller.
9319
9319
  */
@@ -9837,7 +9837,7 @@ class ei {
9837
9837
  };
9838
9838
  }
9839
9839
  }
9840
- class Da extends Bn {
9840
+ class Ia extends Bn {
9841
9841
  /**
9842
9842
  * Constructs a new sprite material.
9843
9843
  *
@@ -9855,14 +9855,14 @@ class Da extends Bn {
9855
9855
  }
9856
9856
  }
9857
9857
  let vr;
9858
- const Jr = /* @__PURE__ */ new k(), yr = /* @__PURE__ */ new k(), xr = /* @__PURE__ */ new k(), Mr = /* @__PURE__ */ new dt(), Zr = /* @__PURE__ */ new dt(), $u = /* @__PURE__ */ new ut(), Os = /* @__PURE__ */ new k(), Qr = /* @__PURE__ */ new k(), zs = /* @__PURE__ */ new k(), Kc = /* @__PURE__ */ new dt(), uo = /* @__PURE__ */ new dt(), Jc = /* @__PURE__ */ new dt();
9858
+ const Jr = /* @__PURE__ */ new k(), yr = /* @__PURE__ */ new k(), xr = /* @__PURE__ */ new k(), Mr = /* @__PURE__ */ new dt(), Zr = /* @__PURE__ */ new dt(), $u = /* @__PURE__ */ new ut(), zs = /* @__PURE__ */ new k(), Qr = /* @__PURE__ */ new k(), Bs = /* @__PURE__ */ new k(), Kc = /* @__PURE__ */ new dt(), fo = /* @__PURE__ */ new dt(), Jc = /* @__PURE__ */ new dt();
9859
9859
  class ql extends Nt {
9860
9860
  /**
9861
9861
  * Constructs a new sprite.
9862
9862
  *
9863
9863
  * @param {SpriteMaterial} [material] - The sprite material.
9864
9864
  */
9865
- constructor(e = new Da()) {
9865
+ constructor(e = new Ia()) {
9866
9866
  if (super(), this.isSprite = !0, this.type = "Sprite", vr === void 0) {
9867
9867
  vr = new kt();
9868
9868
  const t = new Float32Array([
@@ -9903,15 +9903,15 @@ class ql extends Nt {
9903
9903
  let i, s;
9904
9904
  n !== 0 && (s = Math.cos(n), i = Math.sin(n));
9905
9905
  const a = this.center;
9906
- Bs(Os.set(-0.5, -0.5, 0), xr, a, yr, i, s), Bs(Qr.set(0.5, -0.5, 0), xr, a, yr, i, s), Bs(zs.set(0.5, 0.5, 0), xr, a, yr, i, s), Kc.set(0, 0), uo.set(1, 0), Jc.set(1, 1);
9907
- let o = e.ray.intersectTriangle(Os, Qr, zs, !1, Jr);
9908
- if (o === null && (Bs(Qr.set(-0.5, 0.5, 0), xr, a, yr, i, s), uo.set(0, 1), o = e.ray.intersectTriangle(Os, zs, Qr, !1, Jr), o === null))
9906
+ ks(zs.set(-0.5, -0.5, 0), xr, a, yr, i, s), ks(Qr.set(0.5, -0.5, 0), xr, a, yr, i, s), ks(Bs.set(0.5, 0.5, 0), xr, a, yr, i, s), Kc.set(0, 0), fo.set(1, 0), Jc.set(1, 1);
9907
+ let o = e.ray.intersectTriangle(zs, Qr, Bs, !1, Jr);
9908
+ if (o === null && (ks(Qr.set(-0.5, 0.5, 0), xr, a, yr, i, s), fo.set(0, 1), o = e.ray.intersectTriangle(zs, Bs, Qr, !1, Jr), o === null))
9909
9909
  return;
9910
9910
  const l = e.ray.origin.distanceTo(Jr);
9911
9911
  l < e.near || l > e.far || t.push({
9912
9912
  distance: l,
9913
9913
  point: Jr.clone(),
9914
- uv: Nn.getInterpolation(Jr, Os, Qr, zs, Kc, uo, Jc, new dt()),
9914
+ uv: Nn.getInterpolation(Jr, zs, Qr, Bs, Kc, fo, Jc, new dt()),
9915
9915
  face: null,
9916
9916
  object: this
9917
9917
  });
@@ -9920,10 +9920,10 @@ class ql extends Nt {
9920
9920
  return super.copy(e, t), e.center !== void 0 && this.center.copy(e.center), this.material = e.material, this;
9921
9921
  }
9922
9922
  }
9923
- function Bs(r, e, t, n, i, s) {
9923
+ function ks(r, e, t, n, i, s) {
9924
9924
  Mr.subVectors(r, t).addScalar(0.5).multiply(n), i !== void 0 ? (Zr.x = s * Mr.x - i * Mr.y, Zr.y = i * Mr.x + s * Mr.y) : Zr.copy(Mr), r.copy(e), r.x += Zr.x, r.y += Zr.y, r.applyMatrix4($u);
9925
9925
  }
9926
- const ks = /* @__PURE__ */ new k(), Zc = /* @__PURE__ */ new k();
9926
+ const Vs = /* @__PURE__ */ new k(), Zc = /* @__PURE__ */ new k();
9927
9927
  class t0 extends Nt {
9928
9928
  /**
9929
9929
  * Constructs a new LOD.
@@ -10020,8 +10020,8 @@ class t0 extends Nt {
10020
10020
  */
10021
10021
  raycast(e, t) {
10022
10022
  if (this.levels.length > 0) {
10023
- ks.setFromMatrixPosition(this.matrixWorld);
10024
- const i = e.ray.origin.distanceTo(ks);
10023
+ Vs.setFromMatrixPosition(this.matrixWorld);
10024
+ const i = e.ray.origin.distanceTo(Vs);
10025
10025
  this.getObjectForDistance(i).raycast(e, t);
10026
10026
  }
10027
10027
  }
@@ -10034,8 +10034,8 @@ class t0 extends Nt {
10034
10034
  update(e) {
10035
10035
  const t = this.levels;
10036
10036
  if (t.length > 1) {
10037
- ks.setFromMatrixPosition(e.matrixWorld), Zc.setFromMatrixPosition(this.matrixWorld);
10038
- const n = ks.distanceTo(Zc) / e.zoom;
10037
+ Vs.setFromMatrixPosition(e.matrixWorld), Zc.setFromMatrixPosition(this.matrixWorld);
10038
+ const n = Vs.distanceTo(Zc) / e.zoom;
10039
10039
  t[0].object.visible = !0;
10040
10040
  let i, s;
10041
10041
  for (i = 1, s = t.length; i < s; i++) {
@@ -10064,7 +10064,7 @@ class t0 extends Nt {
10064
10064
  return t;
10065
10065
  }
10066
10066
  }
10067
- const Qc = /* @__PURE__ */ new k(), eh = /* @__PURE__ */ new xt(), th = /* @__PURE__ */ new xt(), n0 = /* @__PURE__ */ new k(), nh = /* @__PURE__ */ new ut(), Vs = /* @__PURE__ */ new k(), fo = /* @__PURE__ */ new yi(), ih = /* @__PURE__ */ new ut(), po = /* @__PURE__ */ new ps();
10067
+ const Qc = /* @__PURE__ */ new k(), eh = /* @__PURE__ */ new xt(), th = /* @__PURE__ */ new xt(), n0 = /* @__PURE__ */ new k(), nh = /* @__PURE__ */ new ut(), Hs = /* @__PURE__ */ new k(), po = /* @__PURE__ */ new yi(), ih = /* @__PURE__ */ new ut(), mo = /* @__PURE__ */ new ms();
10068
10068
  class i0 extends Pt {
10069
10069
  /**
10070
10070
  * Constructs a new skinned mesh.
@@ -10086,7 +10086,7 @@ class i0 extends Pt {
10086
10086
  this.boundingBox === null && (this.boundingBox = new vi()), this.boundingBox.makeEmpty();
10087
10087
  const t = e.getAttribute("position");
10088
10088
  for (let n = 0; n < t.count; n++)
10089
- this.getVertexPosition(n, Vs), this.boundingBox.expandByPoint(Vs);
10089
+ this.getVertexPosition(n, Hs), this.boundingBox.expandByPoint(Hs);
10090
10090
  }
10091
10091
  /**
10092
10092
  * Computes the bounding sphere of the skinned mesh, and updates {@link SkinnedMesh#boundingSphere}.
@@ -10099,14 +10099,14 @@ class i0 extends Pt {
10099
10099
  this.boundingSphere === null && (this.boundingSphere = new yi()), this.boundingSphere.makeEmpty();
10100
10100
  const t = e.getAttribute("position");
10101
10101
  for (let n = 0; n < t.count; n++)
10102
- this.getVertexPosition(n, Vs), this.boundingSphere.expandByPoint(Vs);
10102
+ this.getVertexPosition(n, Hs), this.boundingSphere.expandByPoint(Hs);
10103
10103
  }
10104
10104
  copy(e, t) {
10105
10105
  return super.copy(e, t), this.bindMode = e.bindMode, this.bindMatrix.copy(e.bindMatrix), this.bindMatrixInverse.copy(e.bindMatrixInverse), this.skeleton = e.skeleton, e.boundingBox !== null && (this.boundingBox = e.boundingBox.clone()), e.boundingSphere !== null && (this.boundingSphere = e.boundingSphere.clone()), this;
10106
10106
  }
10107
10107
  raycast(e, t) {
10108
10108
  const n = this.material, i = this.matrixWorld;
10109
- n !== void 0 && (this.boundingSphere === null && this.computeBoundingSphere(), fo.copy(this.boundingSphere), fo.applyMatrix4(i), e.ray.intersectsSphere(fo) !== !1 && (ih.copy(i).invert(), po.copy(e.ray).applyMatrix4(ih), !(this.boundingBox !== null && po.intersectsBox(this.boundingBox) === !1) && this._computeIntersections(e, t, po)));
10109
+ n !== void 0 && (this.boundingSphere === null && this.computeBoundingSphere(), po.copy(this.boundingSphere), po.applyMatrix4(i), e.ray.intersectsSphere(po) !== !1 && (ih.copy(i).invert(), mo.copy(e.ray).applyMatrix4(ih), !(this.boundingBox !== null && mo.intersectsBox(this.boundingBox) === !1) && this._computeIntersections(e, t, mo)));
10110
10110
  }
10111
10111
  getVertexPosition(e, t) {
10112
10112
  return super.getVertexPosition(e, t), this.applyBoneTransform(e, t), t;
@@ -10340,7 +10340,7 @@ class Yl {
10340
10340
  return e;
10341
10341
  }
10342
10342
  }
10343
- const mo = /* @__PURE__ */ new k(), s0 = /* @__PURE__ */ new k(), a0 = /* @__PURE__ */ new mt();
10343
+ const go = /* @__PURE__ */ new k(), s0 = /* @__PURE__ */ new k(), a0 = /* @__PURE__ */ new mt();
10344
10344
  class Hi {
10345
10345
  /**
10346
10346
  * Constructs a new plane.
@@ -10396,7 +10396,7 @@ class Hi {
10396
10396
  * @return {Plane} A reference to this plane.
10397
10397
  */
10398
10398
  setFromCoplanarPoints(e, t, n) {
10399
- const i = mo.subVectors(n, t).cross(s0.subVectors(e, t)).normalize();
10399
+ const i = go.subVectors(n, t).cross(s0.subVectors(e, t)).normalize();
10400
10400
  return this.setFromNormalAndCoplanarPoint(i, e), this;
10401
10401
  }
10402
10402
  /**
@@ -10463,7 +10463,7 @@ class Hi {
10463
10463
  * @return {?Vector3} The intersection point.
10464
10464
  */
10465
10465
  intersectLine(e, t) {
10466
- const n = e.delta(mo), i = this.normal.dot(n);
10466
+ const n = e.delta(go), i = this.normal.dot(n);
10467
10467
  if (i === 0)
10468
10468
  return this.distanceToPoint(e.start) === 0 ? t.copy(e.start) : null;
10469
10469
  const s = -(e.start.dot(this.normal) + this.constant) / i;
@@ -10520,7 +10520,7 @@ class Hi {
10520
10520
  * @return {Plane} A reference to this plane.
10521
10521
  */
10522
10522
  applyMatrix4(e, t) {
10523
- const n = t || a0.getNormalMatrix(e), i = this.coplanarPoint(mo).applyMatrix4(e), s = this.normal.applyMatrix3(n).normalize();
10523
+ const n = t || a0.getNormalMatrix(e), i = this.coplanarPoint(go).applyMatrix4(e), s = this.normal.applyMatrix3(n).normalize();
10524
10524
  return this.constant = -i.dot(s), this;
10525
10525
  }
10526
10526
  /**
@@ -10551,7 +10551,7 @@ class Hi {
10551
10551
  return new this.constructor().copy(this);
10552
10552
  }
10553
10553
  }
10554
- const Oi = /* @__PURE__ */ new yi(), Hs = /* @__PURE__ */ new k();
10554
+ const Oi = /* @__PURE__ */ new yi(), Gs = /* @__PURE__ */ new k();
10555
10555
  class $l {
10556
10556
  /**
10557
10557
  * Constructs a new frustum.
@@ -10604,7 +10604,7 @@ class $l {
10604
10604
  const n = this.planes, i = e.elements, s = i[0], a = i[1], o = i[2], l = i[3], c = i[4], h = i[5], u = i[6], d = i[7], f = i[8], m = i[9], _ = i[10], g = i[11], p = i[12], S = i[13], A = i[14], x = i[15];
10605
10605
  if (n[0].setComponents(l - s, d - c, g - f, x - p).normalize(), n[1].setComponents(l + s, d + c, g + f, x + p).normalize(), n[2].setComponents(l + a, d + h, g + m, x + S).normalize(), n[3].setComponents(l - a, d - h, g - m, x - S).normalize(), n[4].setComponents(l - o, d - u, g - _, x - A).normalize(), t === pi)
10606
10606
  n[5].setComponents(l + o, d + u, g + _, x + A).normalize();
10607
- else if (t === ba)
10607
+ else if (t === Sa)
10608
10608
  n[5].setComponents(o, u, _, A).normalize();
10609
10609
  else
10610
10610
  throw new Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: " + t);
@@ -10659,7 +10659,7 @@ class $l {
10659
10659
  const t = this.planes;
10660
10660
  for (let n = 0; n < 6; n++) {
10661
10661
  const i = t[n];
10662
- if (Hs.x = i.normal.x > 0 ? e.max.x : e.min.x, Hs.y = i.normal.y > 0 ? e.max.y : e.min.y, Hs.z = i.normal.z > 0 ? e.max.z : e.min.z, i.distanceToPoint(Hs) < 0)
10662
+ if (Gs.x = i.normal.x > 0 ? e.max.x : e.min.x, Gs.y = i.normal.y > 0 ? e.max.y : e.min.y, Gs.z = i.normal.z > 0 ? e.max.z : e.min.z, i.distanceToPoint(Gs) < 0)
10663
10663
  return !1;
10664
10664
  }
10665
10665
  return !0;
@@ -10703,7 +10703,7 @@ class Li extends Bn {
10703
10703
  return super.copy(e), this.color.copy(e.color), this.map = e.map, this.linewidth = e.linewidth, this.linecap = e.linecap, this.linejoin = e.linejoin, this.fog = e.fog, this;
10704
10704
  }
10705
10705
  }
10706
- const Sa = /* @__PURE__ */ new k(), Ea = /* @__PURE__ */ new k(), sh = /* @__PURE__ */ new ut(), es = /* @__PURE__ */ new ps(), Gs = /* @__PURE__ */ new yi(), go = /* @__PURE__ */ new k(), ah = /* @__PURE__ */ new k();
10706
+ const Ea = /* @__PURE__ */ new k(), Aa = /* @__PURE__ */ new k(), sh = /* @__PURE__ */ new ut(), es = /* @__PURE__ */ new ms(), Ws = /* @__PURE__ */ new yi(), _o = /* @__PURE__ */ new k(), ah = /* @__PURE__ */ new k();
10707
10707
  class Kl extends Nt {
10708
10708
  /**
10709
10709
  * Constructs a new line.
@@ -10729,7 +10729,7 @@ class Kl extends Nt {
10729
10729
  if (e.index === null) {
10730
10730
  const t = e.attributes.position, n = [0];
10731
10731
  for (let i = 1, s = t.count; i < s; i++)
10732
- Sa.fromBufferAttribute(t, i - 1), Ea.fromBufferAttribute(t, i), n[i] = n[i - 1], n[i] += Sa.distanceTo(Ea);
10732
+ Ea.fromBufferAttribute(t, i - 1), Aa.fromBufferAttribute(t, i), n[i] = n[i - 1], n[i] += Ea.distanceTo(Aa);
10733
10733
  e.setAttribute("lineDistance", new _t(n, 1));
10734
10734
  } else
10735
10735
  console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");
@@ -10743,27 +10743,27 @@ class Kl extends Nt {
10743
10743
  */
10744
10744
  raycast(e, t) {
10745
10745
  const n = this.geometry, i = this.matrixWorld, s = e.params.Line.threshold, a = n.drawRange;
10746
- if (n.boundingSphere === null && n.computeBoundingSphere(), Gs.copy(n.boundingSphere), Gs.applyMatrix4(i), Gs.radius += s, e.ray.intersectsSphere(Gs) === !1) return;
10746
+ if (n.boundingSphere === null && n.computeBoundingSphere(), Ws.copy(n.boundingSphere), Ws.applyMatrix4(i), Ws.radius += s, e.ray.intersectsSphere(Ws) === !1) return;
10747
10747
  sh.copy(i).invert(), es.copy(e.ray).applyMatrix4(sh);
10748
10748
  const o = s / ((this.scale.x + this.scale.y + this.scale.z) / 3), l = o * o, c = this.isLineSegments ? 2 : 1, h = n.index, d = n.attributes.position;
10749
10749
  if (h !== null) {
10750
10750
  const f = Math.max(0, a.start), m = Math.min(h.count, a.start + a.count);
10751
10751
  for (let _ = f, g = m - 1; _ < g; _ += c) {
10752
- const p = h.getX(_), S = h.getX(_ + 1), A = Ws(this, e, es, l, p, S, _);
10752
+ const p = h.getX(_), S = h.getX(_ + 1), A = Xs(this, e, es, l, p, S, _);
10753
10753
  A && t.push(A);
10754
10754
  }
10755
10755
  if (this.isLineLoop) {
10756
- const _ = h.getX(m - 1), g = h.getX(f), p = Ws(this, e, es, l, _, g, m - 1);
10756
+ const _ = h.getX(m - 1), g = h.getX(f), p = Xs(this, e, es, l, _, g, m - 1);
10757
10757
  p && t.push(p);
10758
10758
  }
10759
10759
  } else {
10760
10760
  const f = Math.max(0, a.start), m = Math.min(d.count, a.start + a.count);
10761
10761
  for (let _ = f, g = m - 1; _ < g; _ += c) {
10762
- const p = Ws(this, e, es, l, _, _ + 1, _);
10762
+ const p = Xs(this, e, es, l, _, _ + 1, _);
10763
10763
  p && t.push(p);
10764
10764
  }
10765
10765
  if (this.isLineLoop) {
10766
- const _ = Ws(this, e, es, l, m - 1, f, m - 1);
10766
+ const _ = Xs(this, e, es, l, m - 1, f, m - 1);
10767
10767
  _ && t.push(_);
10768
10768
  }
10769
10769
  }
@@ -10786,11 +10786,11 @@ class Kl extends Nt {
10786
10786
  }
10787
10787
  }
10788
10788
  }
10789
- function Ws(r, e, t, n, i, s, a) {
10789
+ function Xs(r, e, t, n, i, s, a) {
10790
10790
  const o = r.geometry.attributes.position;
10791
- if (Sa.fromBufferAttribute(o, i), Ea.fromBufferAttribute(o, s), t.distanceSqToSegment(Sa, Ea, go, ah) > n) return;
10792
- go.applyMatrix4(r.matrixWorld);
10793
- const c = e.ray.origin.distanceTo(go);
10791
+ if (Ea.fromBufferAttribute(o, i), Aa.fromBufferAttribute(o, s), t.distanceSqToSegment(Ea, Aa, _o, ah) > n) return;
10792
+ _o.applyMatrix4(r.matrixWorld);
10793
+ const c = e.ray.origin.distanceTo(_o);
10794
10794
  if (!(c < e.near || c > e.far))
10795
10795
  return {
10796
10796
  distance: c,
@@ -10805,7 +10805,7 @@ function Ws(r, e, t, n, i, s, a) {
10805
10805
  };
10806
10806
  }
10807
10807
  const oh = /* @__PURE__ */ new k(), lh = /* @__PURE__ */ new k();
10808
- class Aa extends Kl {
10808
+ class wa extends Kl {
10809
10809
  /**
10810
10810
  * Constructs a new line segments.
10811
10811
  *
@@ -10844,8 +10844,8 @@ class qi extends Bn {
10844
10844
  return super.copy(e), this.color.copy(e.color), this.map = e.map, this.alphaMap = e.alphaMap, this.size = e.size, this.sizeAttenuation = e.sizeAttenuation, this.fog = e.fog, this;
10845
10845
  }
10846
10846
  }
10847
- const ch = /* @__PURE__ */ new ut(), xl = /* @__PURE__ */ new ps(), Xs = /* @__PURE__ */ new yi(), js = /* @__PURE__ */ new k();
10848
- class as extends Nt {
10847
+ const ch = /* @__PURE__ */ new ut(), xl = /* @__PURE__ */ new ms(), js = /* @__PURE__ */ new yi(), qs = /* @__PURE__ */ new k();
10848
+ class os extends Nt {
10849
10849
  /**
10850
10850
  * Constructs a new point cloud.
10851
10851
  *
@@ -10866,19 +10866,19 @@ class as extends Nt {
10866
10866
  */
10867
10867
  raycast(e, t) {
10868
10868
  const n = this.geometry, i = this.matrixWorld, s = e.params.Points.threshold, a = n.drawRange;
10869
- if (n.boundingSphere === null && n.computeBoundingSphere(), Xs.copy(n.boundingSphere), Xs.applyMatrix4(i), Xs.radius += s, e.ray.intersectsSphere(Xs) === !1) return;
10869
+ if (n.boundingSphere === null && n.computeBoundingSphere(), js.copy(n.boundingSphere), js.applyMatrix4(i), js.radius += s, e.ray.intersectsSphere(js) === !1) return;
10870
10870
  ch.copy(i).invert(), xl.copy(e.ray).applyMatrix4(ch);
10871
10871
  const o = s / ((this.scale.x + this.scale.y + this.scale.z) / 3), l = o * o, c = n.index, u = n.attributes.position;
10872
10872
  if (c !== null) {
10873
10873
  const d = Math.max(0, a.start), f = Math.min(c.count, a.start + a.count);
10874
10874
  for (let m = d, _ = f; m < _; m++) {
10875
10875
  const g = c.getX(m);
10876
- js.fromBufferAttribute(u, g), hh(js, g, l, i, e, t, this);
10876
+ qs.fromBufferAttribute(u, g), hh(qs, g, l, i, e, t, this);
10877
10877
  }
10878
10878
  } else {
10879
10879
  const d = Math.max(0, a.start), f = Math.min(u.count, a.start + a.count);
10880
10880
  for (let m = d, _ = f; m < _; m++)
10881
- js.fromBufferAttribute(u, m), hh(js, m, l, i, e, t, this);
10881
+ qs.fromBufferAttribute(u, m), hh(qs, m, l, i, e, t, this);
10882
10882
  }
10883
10883
  }
10884
10884
  /**
@@ -10952,8 +10952,8 @@ class Zu extends ln {
10952
10952
  * @param {number} [format=DepthFormat] - The texture format.
10953
10953
  * @param {number} [depth=1] - The depth of the texture.
10954
10954
  */
10955
- constructor(e, t, n = $i, i, s, a, o = Pn, l = Pn, c, h = cs, u = 1) {
10956
- if (h !== cs && h !== hs)
10955
+ constructor(e, t, n = $i, i, s, a, o = Pn, l = Pn, c, h = hs, u = 1) {
10956
+ if (h !== hs && h !== us)
10957
10957
  throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");
10958
10958
  const d = { width: e, height: t, depth: u };
10959
10959
  super(d, i, s, a, o, l, h, n, c), this.isDepthTexture = !0, this.flipY = !1, this.generateMipmaps = !1, this.compareFunction = null;
@@ -11049,7 +11049,7 @@ class Jl extends kt {
11049
11049
  return new Jl(e.radiusTop, e.radiusBottom, e.height, e.radialSegments, e.heightSegments, e.openEnded, e.thetaStart, e.thetaLength);
11050
11050
  }
11051
11051
  }
11052
- class Ia extends kt {
11052
+ class Ua extends kt {
11053
11053
  /**
11054
11054
  * Constructs a new plane geometry.
11055
11055
  *
@@ -11091,10 +11091,10 @@ class Ia extends kt {
11091
11091
  * @return {PlaneGeometry} A new instance.
11092
11092
  */
11093
11093
  static fromJSON(e) {
11094
- return new Ia(e.width, e.height, e.widthSegments, e.heightSegments);
11094
+ return new Ua(e.width, e.height, e.widthSegments, e.heightSegments);
11095
11095
  }
11096
11096
  }
11097
- class Ua extends kt {
11097
+ class Na extends kt {
11098
11098
  /**
11099
11099
  * Constructs a new sphere geometry.
11100
11100
  *
@@ -11147,7 +11147,7 @@ class Ua extends kt {
11147
11147
  * @return {SphereGeometry} A new instance.
11148
11148
  */
11149
11149
  static fromJSON(e) {
11150
- return new Ua(e.radius, e.widthSegments, e.heightSegments, e.phiStart, e.phiLength, e.thetaStart, e.thetaLength);
11150
+ return new Na(e.radius, e.widthSegments, e.heightSegments, e.phiStart, e.phiLength, e.thetaStart, e.thetaLength);
11151
11151
  }
11152
11152
  }
11153
11153
  class l0 extends kt {
@@ -11220,7 +11220,7 @@ class Cn extends Bn {
11220
11220
  * by {@link Color#set}.
11221
11221
  */
11222
11222
  constructor(e) {
11223
- super(), this.isMeshPhongMaterial = !0, this.type = "MeshPhongMaterial", this.color = new st(16777215), this.specular = new st(1118481), this.shininess = 30, this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.emissive = new st(0), this.emissiveIntensity = 1, this.emissiveMap = null, this.bumpMap = null, this.bumpScale = 1, this.normalMap = null, this.normalMapType = Hl, this.normalScale = new dt(1, 1), this.displacementMap = null, this.displacementScale = 1, this.displacementBias = 0, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.envMapRotation = new Dn(), this.combine = La, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.flatShading = !1, this.fog = !0, this.setValues(e);
11223
+ super(), this.isMeshPhongMaterial = !0, this.type = "MeshPhongMaterial", this.color = new st(16777215), this.specular = new st(1118481), this.shininess = 30, this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.emissive = new st(0), this.emissiveIntensity = 1, this.emissiveMap = null, this.bumpMap = null, this.bumpScale = 1, this.normalMap = null, this.normalMapType = Hl, this.normalScale = new dt(1, 1), this.displacementMap = null, this.displacementScale = 1, this.displacementBias = 0, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.envMapRotation = new Dn(), this.combine = Pa, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.flatShading = !1, this.fog = !0, this.setValues(e);
11224
11224
  }
11225
11225
  copy(e) {
11226
11226
  return super.copy(e), this.color.copy(e.color), this.specular.copy(e.specular), this.shininess = e.shininess, this.map = e.map, this.lightMap = e.lightMap, this.lightMapIntensity = e.lightMapIntensity, this.aoMap = e.aoMap, this.aoMapIntensity = e.aoMapIntensity, this.emissive.copy(e.emissive), this.emissiveMap = e.emissiveMap, this.emissiveIntensity = e.emissiveIntensity, this.bumpMap = e.bumpMap, this.bumpScale = e.bumpScale, this.normalMap = e.normalMap, this.normalMapType = e.normalMapType, this.normalScale.copy(e.normalScale), this.displacementMap = e.displacementMap, this.displacementScale = e.displacementScale, this.displacementBias = e.displacementBias, this.specularMap = e.specularMap, this.alphaMap = e.alphaMap, this.envMap = e.envMap, this.envMapRotation.copy(e.envMapRotation), this.combine = e.combine, this.reflectivity = e.reflectivity, this.refractionRatio = e.refractionRatio, this.wireframe = e.wireframe, this.wireframeLinewidth = e.wireframeLinewidth, this.wireframeLinecap = e.wireframeLinecap, this.wireframeLinejoin = e.wireframeLinejoin, this.flatShading = e.flatShading, this.fog = e.fog, this;
@@ -11237,7 +11237,7 @@ class c0 extends Bn {
11237
11237
  * by {@link Color#set}.
11238
11238
  */
11239
11239
  constructor(e) {
11240
- super(), this.isMeshLambertMaterial = !0, this.type = "MeshLambertMaterial", this.color = new st(16777215), this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.emissive = new st(0), this.emissiveIntensity = 1, this.emissiveMap = null, this.bumpMap = null, this.bumpScale = 1, this.normalMap = null, this.normalMapType = Hl, this.normalScale = new dt(1, 1), this.displacementMap = null, this.displacementScale = 1, this.displacementBias = 0, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.envMapRotation = new Dn(), this.combine = La, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.flatShading = !1, this.fog = !0, this.setValues(e);
11240
+ super(), this.isMeshLambertMaterial = !0, this.type = "MeshLambertMaterial", this.color = new st(16777215), this.map = null, this.lightMap = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.emissive = new st(0), this.emissiveIntensity = 1, this.emissiveMap = null, this.bumpMap = null, this.bumpScale = 1, this.normalMap = null, this.normalMapType = Hl, this.normalScale = new dt(1, 1), this.displacementMap = null, this.displacementScale = 1, this.displacementBias = 0, this.specularMap = null, this.alphaMap = null, this.envMap = null, this.envMapRotation = new Dn(), this.combine = Pa, this.reflectivity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinecap = "round", this.wireframeLinejoin = "round", this.flatShading = !1, this.fog = !0, this.setValues(e);
11241
11241
  }
11242
11242
  copy(e) {
11243
11243
  return super.copy(e), this.color.copy(e.color), this.map = e.map, this.lightMap = e.lightMap, this.lightMapIntensity = e.lightMapIntensity, this.aoMap = e.aoMap, this.aoMapIntensity = e.aoMapIntensity, this.emissive.copy(e.emissive), this.emissiveMap = e.emissiveMap, this.emissiveIntensity = e.emissiveIntensity, this.bumpMap = e.bumpMap, this.bumpScale = e.bumpScale, this.normalMap = e.normalMap, this.normalMapType = e.normalMapType, this.normalScale.copy(e.normalScale), this.displacementMap = e.displacementMap, this.displacementScale = e.displacementScale, this.displacementBias = e.displacementBias, this.specularMap = e.specularMap, this.alphaMap = e.alphaMap, this.envMap = e.envMap, this.envMapRotation.copy(e.envMapRotation), this.combine = e.combine, this.reflectivity = e.reflectivity, this.refractionRatio = e.refractionRatio, this.wireframe = e.wireframe, this.wireframeLinewidth = e.wireframeLinewidth, this.wireframeLinecap = e.wireframeLinecap, this.wireframeLinejoin = e.wireframeLinejoin, this.flatShading = e.flatShading, this.fog = e.fog, this;
@@ -11277,7 +11277,7 @@ class u0 extends Bn {
11277
11277
  return super.copy(e), this.map = e.map, this.alphaMap = e.alphaMap, this.displacementMap = e.displacementMap, this.displacementScale = e.displacementScale, this.displacementBias = e.displacementBias, this;
11278
11278
  }
11279
11279
  }
11280
- function qs(r, e) {
11280
+ function Ys(r, e) {
11281
11281
  return !r || r.constructor === e ? r : typeof e.BYTES_PER_ELEMENT == "number" ? new e(r) : Array.prototype.slice.call(r);
11282
11282
  }
11283
11283
  function d0(r) {
@@ -11320,7 +11320,7 @@ function Qu(r, e, t, n) {
11320
11320
  a = s[n], a !== void 0 && (e.push(s.time), t.push(a)), s = r[i++];
11321
11321
  while (s !== void 0);
11322
11322
  }
11323
- class Na {
11323
+ class Fa {
11324
11324
  /**
11325
11325
  * Constructs a new interpolant.
11326
11326
  *
@@ -11429,7 +11429,7 @@ class Na {
11429
11429
  intervalChanged_() {
11430
11430
  }
11431
11431
  }
11432
- class p0 extends Na {
11432
+ class p0 extends Fa {
11433
11433
  /**
11434
11434
  * Constructs a new cubic interpolant.
11435
11435
  *
@@ -11479,7 +11479,7 @@ class p0 extends Na {
11479
11479
  return s;
11480
11480
  }
11481
11481
  }
11482
- class m0 extends Na {
11482
+ class m0 extends Fa {
11483
11483
  /**
11484
11484
  * Constructs a new linear interpolant.
11485
11485
  *
@@ -11498,7 +11498,7 @@ class m0 extends Na {
11498
11498
  return s;
11499
11499
  }
11500
11500
  }
11501
- class g0 extends Na {
11501
+ class g0 extends Fa {
11502
11502
  /**
11503
11503
  * Constructs a new discrete interpolant.
11504
11504
  *
@@ -11526,7 +11526,7 @@ class Yn {
11526
11526
  constructor(e, t, n, i) {
11527
11527
  if (e === void 0) throw new Error("THREE.KeyframeTrack: track name is undefined");
11528
11528
  if (t === void 0 || t.length === 0) throw new Error("THREE.KeyframeTrack: no keyframes in track named " + e);
11529
- this.name = e, this.times = qs(t, this.TimeBufferType), this.values = qs(n, this.ValueBufferType), this.setInterpolation(i || this.DefaultInterpolation);
11529
+ this.name = e, this.times = Ys(t, this.TimeBufferType), this.values = Ys(n, this.ValueBufferType), this.setInterpolation(i || this.DefaultInterpolation);
11530
11530
  }
11531
11531
  /**
11532
11532
  * Converts the keyframe track to JSON.
@@ -11543,8 +11543,8 @@ class Yn {
11543
11543
  else {
11544
11544
  n = {
11545
11545
  name: e.name,
11546
- times: qs(e.times, Array),
11547
- values: qs(e.values, Array)
11546
+ times: Ys(e.times, Array),
11547
+ values: Ys(e.values, Array)
11548
11548
  };
11549
11549
  const i = e.getInterpolation();
11550
11550
  i !== e.DefaultInterpolation && (n.interpolation = i);
@@ -11590,13 +11590,13 @@ class Yn {
11590
11590
  setInterpolation(e) {
11591
11591
  let t;
11592
11592
  switch (e) {
11593
- case xa:
11593
+ case Ma:
11594
11594
  t = this.InterpolantFactoryMethodDiscrete;
11595
11595
  break;
11596
11596
  case vl:
11597
11597
  t = this.InterpolantFactoryMethodLinear;
11598
11598
  break;
11599
- case Ga:
11599
+ case Wa:
11600
11600
  t = this.InterpolantFactoryMethodSmooth;
11601
11601
  break;
11602
11602
  }
@@ -11619,11 +11619,11 @@ class Yn {
11619
11619
  getInterpolation() {
11620
11620
  switch (this.createInterpolant) {
11621
11621
  case this.InterpolantFactoryMethodDiscrete:
11622
- return xa;
11622
+ return Ma;
11623
11623
  case this.InterpolantFactoryMethodLinear:
11624
11624
  return vl;
11625
11625
  case this.InterpolantFactoryMethodSmooth:
11626
- return Ga;
11626
+ return Wa;
11627
11627
  }
11628
11628
  }
11629
11629
  /**
@@ -11728,7 +11728,7 @@ class Yn {
11728
11728
  * @return {AnimationClip} A reference to this animation clip.
11729
11729
  */
11730
11730
  optimize() {
11731
- const e = this.times.slice(), t = this.values.slice(), n = this.getValueSize(), i = this.getInterpolation() === Ga, s = e.length - 1;
11731
+ const e = this.times.slice(), t = this.values.slice(), n = this.getValueSize(), i = this.getInterpolation() === Wa, s = e.length - 1;
11732
11732
  let a = 1;
11733
11733
  for (let o = 1; o < s; ++o) {
11734
11734
  let l = !1;
@@ -11795,7 +11795,7 @@ class Gr extends Yn {
11795
11795
  }
11796
11796
  Gr.prototype.ValueTypeName = "bool";
11797
11797
  Gr.prototype.ValueBufferType = Array;
11798
- Gr.prototype.DefaultInterpolation = xa;
11798
+ Gr.prototype.DefaultInterpolation = Ma;
11799
11799
  Gr.prototype.InterpolantFactoryMethodLinear = void 0;
11800
11800
  Gr.prototype.InterpolantFactoryMethodSmooth = void 0;
11801
11801
  class ed extends Yn {
@@ -11812,7 +11812,7 @@ class ed extends Yn {
11812
11812
  }
11813
11813
  }
11814
11814
  ed.prototype.ValueTypeName = "color";
11815
- class wa extends Yn {
11815
+ class Ta extends Yn {
11816
11816
  /**
11817
11817
  * Constructs a new number keyframe track.
11818
11818
  *
@@ -11825,8 +11825,8 @@ class wa extends Yn {
11825
11825
  super(e, t, n, i);
11826
11826
  }
11827
11827
  }
11828
- wa.prototype.ValueTypeName = "number";
11829
- class _0 extends Na {
11828
+ Ta.prototype.ValueTypeName = "number";
11829
+ class _0 extends Fa {
11830
11830
  /**
11831
11831
  * Constructs a new SLERP interpolant.
11832
11832
  *
@@ -11846,7 +11846,7 @@ class _0 extends Na {
11846
11846
  return s;
11847
11847
  }
11848
11848
  }
11849
- class ms extends Yn {
11849
+ class gs extends Yn {
11850
11850
  /**
11851
11851
  * Constructs a new Quaternion keyframe track.
11852
11852
  *
@@ -11869,8 +11869,8 @@ class ms extends Yn {
11869
11869
  return new _0(this.times, this.values, this.getValueSize(), e);
11870
11870
  }
11871
11871
  }
11872
- ms.prototype.ValueTypeName = "quaternion";
11873
- ms.prototype.InterpolantFactoryMethodSmooth = void 0;
11872
+ gs.prototype.ValueTypeName = "quaternion";
11873
+ gs.prototype.InterpolantFactoryMethodSmooth = void 0;
11874
11874
  class Wr extends Yn {
11875
11875
  /**
11876
11876
  * Constructs a new string keyframe track.
@@ -11888,7 +11888,7 @@ class Wr extends Yn {
11888
11888
  }
11889
11889
  Wr.prototype.ValueTypeName = "string";
11890
11890
  Wr.prototype.ValueBufferType = Array;
11891
- Wr.prototype.DefaultInterpolation = xa;
11891
+ Wr.prototype.DefaultInterpolation = Ma;
11892
11892
  Wr.prototype.InterpolantFactoryMethodLinear = void 0;
11893
11893
  Wr.prototype.InterpolantFactoryMethodSmooth = void 0;
11894
11894
  class kr extends Yn {
@@ -11981,7 +11981,7 @@ class fh {
11981
11981
  ), c.push(0, 1, 0);
11982
11982
  const h = f0(l);
11983
11983
  l = dh(l, 1, h), c = dh(c, 1, h), !i && l[0] === 0 && (l.push(s), c.push(c[0])), a.push(
11984
- new wa(
11984
+ new Ta(
11985
11985
  ".morphTargetInfluences[" + t[o].name + "]",
11986
11986
  l,
11987
11987
  c
@@ -12075,7 +12075,7 @@ class fh {
12075
12075
  const A = d[m];
12076
12076
  g.push(A.time), p.push(A.morphTarget === _ ? 1 : 0);
12077
12077
  }
12078
- i.push(new wa(".morphTargetInfluence[" + _ + "]", g, p));
12078
+ i.push(new Ta(".morphTargetInfluence[" + _ + "]", g, p));
12079
12079
  }
12080
12080
  l = f.length * a;
12081
12081
  } else {
@@ -12087,7 +12087,7 @@ class fh {
12087
12087
  "pos",
12088
12088
  i
12089
12089
  ), n(
12090
- ms,
12090
+ gs,
12091
12091
  f + ".quaternion",
12092
12092
  d,
12093
12093
  "rot",
@@ -12177,7 +12177,7 @@ function v0(r) {
12177
12177
  case "float":
12178
12178
  case "number":
12179
12179
  case "integer":
12180
- return wa;
12180
+ return Ta;
12181
12181
  case "vector":
12182
12182
  case "vector2":
12183
12183
  case "vector3":
@@ -12186,7 +12186,7 @@ function v0(r) {
12186
12186
  case "color":
12187
12187
  return ed;
12188
12188
  case "quaternion":
12189
- return ms;
12189
+ return gs;
12190
12190
  case "bool":
12191
12191
  case "boolean":
12192
12192
  return Gr;
@@ -12205,7 +12205,7 @@ function y0(r) {
12205
12205
  }
12206
12206
  return e.parse !== void 0 ? e.parse(r) : new e(r.name, r.times, r.values, r.interpolation);
12207
12207
  }
12208
- const Ta = {
12208
+ const Ra = {
12209
12209
  /**
12210
12210
  * Whether caching is enabled or not.
12211
12211
  *
@@ -12418,7 +12418,7 @@ class Xr extends qn {
12418
12418
  */
12419
12419
  load(e, t, n, i) {
12420
12420
  e === void 0 && (e = ""), this.path !== void 0 && (e = this.path + e), e = this.manager.resolveURL(e);
12421
- const s = Ta.get(e);
12421
+ const s = Ra.get(e);
12422
12422
  if (s !== void 0)
12423
12423
  return this.manager.itemStart(e), setTimeout(() => {
12424
12424
  t && t(s), this.manager.itemEnd(e);
@@ -12491,7 +12491,7 @@ class Xr extends qn {
12491
12491
  }
12492
12492
  }
12493
12493
  }).then((c) => {
12494
- Ta.add(e, c);
12494
+ Ra.add(e, c);
12495
12495
  const h = hi[e];
12496
12496
  delete hi[e];
12497
12497
  for (let u = 0, d = h.length; u < d; u++) {
@@ -12554,14 +12554,14 @@ class b0 extends qn {
12554
12554
  */
12555
12555
  load(e, t, n, i) {
12556
12556
  this.path !== void 0 && (e = this.path + e), e = this.manager.resolveURL(e);
12557
- const s = this, a = Ta.get(e);
12557
+ const s = this, a = Ra.get(e);
12558
12558
  if (a !== void 0)
12559
12559
  return s.manager.itemStart(e), setTimeout(function() {
12560
12560
  t && t(a), s.manager.itemEnd(e);
12561
12561
  }, 0), a;
12562
- const o = us("img");
12562
+ const o = ds("img");
12563
12563
  function l() {
12564
- h(), Ta.add(e, this), t && t(this), s.manager.itemEnd(e);
12564
+ h(), Ra.add(e, this), t && t(this), s.manager.itemEnd(e);
12565
12565
  }
12566
12566
  function c(u) {
12567
12567
  h(), i && i(u), s.manager.itemError(e), s.manager.itemEnd(e);
@@ -12639,7 +12639,7 @@ class Ql extends qn {
12639
12639
  }, n, i), s;
12640
12640
  }
12641
12641
  }
12642
- class gs extends Nt {
12642
+ class _s extends Nt {
12643
12643
  /**
12644
12644
  * Constructs a new light.
12645
12645
  *
@@ -12663,7 +12663,7 @@ class gs extends Nt {
12663
12663
  return t.object.color = this.color.getHex(), t.object.intensity = this.intensity, this.groundColor !== void 0 && (t.object.groundColor = this.groundColor.getHex()), this.distance !== void 0 && (t.object.distance = this.distance), this.angle !== void 0 && (t.object.angle = this.angle), this.decay !== void 0 && (t.object.decay = this.decay), this.penumbra !== void 0 && (t.object.penumbra = this.penumbra), this.shadow !== void 0 && (t.object.shadow = this.shadow.toJSON()), this.target !== void 0 && (t.object.target = this.target.uuid), t;
12664
12664
  }
12665
12665
  }
12666
- class G_ extends gs {
12666
+ class G_ extends _s {
12667
12667
  /**
12668
12668
  * Constructs a new hemisphere light.
12669
12669
  *
@@ -12678,7 +12678,7 @@ class G_ extends gs {
12678
12678
  return super.copy(e, t), this.groundColor.copy(e.groundColor), this;
12679
12679
  }
12680
12680
  }
12681
- const _o = /* @__PURE__ */ new ut(), ph = /* @__PURE__ */ new k(), mh = /* @__PURE__ */ new k();
12681
+ const vo = /* @__PURE__ */ new ut(), ph = /* @__PURE__ */ new k(), mh = /* @__PURE__ */ new k();
12682
12682
  class ec {
12683
12683
  /**
12684
12684
  * Constructs a new light shadow.
@@ -12714,7 +12714,7 @@ class ec {
12714
12714
  */
12715
12715
  updateMatrices(e) {
12716
12716
  const t = this.camera, n = this.matrix;
12717
- ph.setFromMatrixPosition(e.matrixWorld), t.position.copy(ph), mh.setFromMatrixPosition(e.target.matrixWorld), t.lookAt(mh), t.updateMatrixWorld(), _o.multiplyMatrices(t.projectionMatrix, t.matrixWorldInverse), this._frustum.setFromProjectionMatrix(_o), n.set(
12717
+ ph.setFromMatrixPosition(e.matrixWorld), t.position.copy(ph), mh.setFromMatrixPosition(e.target.matrixWorld), t.lookAt(mh), t.updateMatrixWorld(), vo.multiplyMatrices(t.projectionMatrix, t.matrixWorldInverse), this._frustum.setFromProjectionMatrix(vo), n.set(
12718
12718
  0.5,
12719
12719
  0,
12720
12720
  0,
@@ -12731,7 +12731,7 @@ class ec {
12731
12731
  0,
12732
12732
  0,
12733
12733
  1
12734
- ), n.multiply(_o);
12734
+ ), n.multiply(vo);
12735
12735
  }
12736
12736
  /**
12737
12737
  * Returns a viewport definition for the given viewport index.
@@ -12800,7 +12800,7 @@ class E0 extends ec {
12800
12800
  return super.copy(e), this.focus = e.focus, this;
12801
12801
  }
12802
12802
  }
12803
- class A0 extends gs {
12803
+ class A0 extends _s {
12804
12804
  /**
12805
12805
  * Constructs a new spot light.
12806
12806
  *
@@ -12833,7 +12833,7 @@ class A0 extends gs {
12833
12833
  return super.copy(e, t), this.distance = e.distance, this.angle = e.angle, this.penumbra = e.penumbra, this.decay = e.decay, this.target = e.target.clone(), this.shadow = e.shadow.clone(), this;
12834
12834
  }
12835
12835
  }
12836
- const gh = /* @__PURE__ */ new ut(), ts = /* @__PURE__ */ new k(), vo = /* @__PURE__ */ new k();
12836
+ const gh = /* @__PURE__ */ new ut(), ts = /* @__PURE__ */ new k(), yo = /* @__PURE__ */ new k();
12837
12837
  class w0 extends ec {
12838
12838
  /**
12839
12839
  * Constructs a new point light shadow.
@@ -12888,10 +12888,10 @@ class w0 extends ec {
12888
12888
  */
12889
12889
  updateMatrices(e, t = 0) {
12890
12890
  const n = this.camera, i = this.matrix, s = e.distance || n.far;
12891
- s !== n.far && (n.far = s, n.updateProjectionMatrix()), ts.setFromMatrixPosition(e.matrixWorld), n.position.copy(ts), vo.copy(n.position), vo.add(this._cubeDirections[t]), n.up.copy(this._cubeUps[t]), n.lookAt(vo), n.updateMatrixWorld(), i.makeTranslation(-ts.x, -ts.y, -ts.z), gh.multiplyMatrices(n.projectionMatrix, n.matrixWorldInverse), this._frustum.setFromProjectionMatrix(gh);
12891
+ s !== n.far && (n.far = s, n.updateProjectionMatrix()), ts.setFromMatrixPosition(e.matrixWorld), n.position.copy(ts), yo.copy(n.position), yo.add(this._cubeDirections[t]), n.up.copy(this._cubeUps[t]), n.lookAt(yo), n.updateMatrixWorld(), i.makeTranslation(-ts.x, -ts.y, -ts.z), gh.multiplyMatrices(n.projectionMatrix, n.matrixWorldInverse), this._frustum.setFromProjectionMatrix(gh);
12892
12892
  }
12893
12893
  }
12894
- class T0 extends gs {
12894
+ class T0 extends _s {
12895
12895
  /**
12896
12896
  * Constructs a new point light.
12897
12897
  *
@@ -12922,7 +12922,7 @@ class T0 extends gs {
12922
12922
  return super.copy(e, t), this.distance = e.distance, this.decay = e.decay, this.shadow = e.shadow.clone(), this;
12923
12923
  }
12924
12924
  }
12925
- class Fa extends Xu {
12925
+ class Oa extends Xu {
12926
12926
  /**
12927
12927
  * Constructs a new orthographic camera.
12928
12928
  *
@@ -12991,10 +12991,10 @@ class R0 extends ec {
12991
12991
  * Constructs a new directional light shadow.
12992
12992
  */
12993
12993
  constructor() {
12994
- super(new Fa(-5, 5, 5, -5, 0.5, 500)), this.isDirectionalLightShadow = !0;
12994
+ super(new Oa(-5, 5, 5, -5, 0.5, 500)), this.isDirectionalLightShadow = !0;
12995
12995
  }
12996
12996
  }
12997
- class C0 extends gs {
12997
+ class C0 extends _s {
12998
12998
  /**
12999
12999
  * Constructs a new directional light.
13000
13000
  *
@@ -13011,7 +13011,7 @@ class C0 extends gs {
13011
13011
  return super.copy(e), this.target = e.target.clone(), this.shadow = e.shadow.clone(), this;
13012
13012
  }
13013
13013
  }
13014
- class L0 extends gs {
13014
+ class L0 extends _s {
13015
13015
  /**
13016
13016
  * Constructs a new ambient light.
13017
13017
  *
@@ -13155,7 +13155,7 @@ class U0 {
13155
13155
  * @param {number} [far=Infinity] - All results returned are closer than far. Far can't be lower than near.
13156
13156
  */
13157
13157
  constructor(e, t, n = 0, i = 1 / 0) {
13158
- this.ray = new ps(e, t), this.near = n, this.far = i, this.camera = null, this.layers = new Xl(), this.params = {
13158
+ this.ray = new ms(e, t), this.near = n, this.far = i, this.camera = null, this.layers = new Xl(), this.params = {
13159
13159
  Mesh: {},
13160
13160
  Line: { threshold: 1 },
13161
13161
  LOD: {},
@@ -13326,7 +13326,7 @@ class N0 {
13326
13326
  return new this.constructor().copy(this);
13327
13327
  }
13328
13328
  }
13329
- const xh = /* @__PURE__ */ new k(), Ys = /* @__PURE__ */ new k();
13329
+ const xh = /* @__PURE__ */ new k(), $s = /* @__PURE__ */ new k();
13330
13330
  class F0 {
13331
13331
  /**
13332
13332
  * Constructs a new line segment.
@@ -13408,9 +13408,9 @@ class F0 {
13408
13408
  * @return {number} The point parameter.
13409
13409
  */
13410
13410
  closestPointToPointParameter(e, t) {
13411
- xh.subVectors(e, this.start), Ys.subVectors(this.end, this.start);
13412
- const n = Ys.dot(Ys);
13413
- let s = Ys.dot(xh) / n;
13411
+ xh.subVectors(e, this.start), $s.subVectors(this.end, this.start);
13412
+ const n = $s.dot($s);
13413
+ let s = $s.dot(xh) / n;
13414
13414
  return t && (s = yt(s, 0, 1)), s;
13415
13415
  }
13416
13416
  /**
@@ -13452,7 +13452,7 @@ class F0 {
13452
13452
  return new this.constructor().copy(this);
13453
13453
  }
13454
13454
  }
13455
- class W_ extends Aa {
13455
+ class W_ extends wa {
13456
13456
  /**
13457
13457
  * Constructs a new grid helper.
13458
13458
  *
@@ -13546,11 +13546,11 @@ function Mh(r, e, t, n) {
13546
13546
  case Vl:
13547
13547
  return r * e * 4 / i.components * i.byteLength;
13548
13548
  // https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_s3tc_srgb/
13549
- case oa:
13550
- case la:
13551
- return Math.floor((r + 3) / 4) * Math.floor((e + 3) / 4) * 8;
13552
13549
  case ca:
13553
13550
  case ha:
13551
+ return Math.floor((r + 3) / 4) * Math.floor((e + 3) / 4) * 8;
13552
+ case ua:
13553
+ case da:
13554
13554
  return Math.floor((r + 3) / 4) * Math.floor((e + 3) / 4) * 16;
13555
13555
  // https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_pvrtc/
13556
13556
  case qo:
@@ -13595,7 +13595,7 @@ function Mh(r, e, t, n) {
13595
13595
  case dl:
13596
13596
  return Math.floor((r + 11) / 12) * Math.floor((e + 11) / 12) * 16;
13597
13597
  // https://registry.khronos.org/webgl/extensions/EXT_texture_compression_bptc/
13598
- case ua:
13598
+ case fa:
13599
13599
  case fl:
13600
13600
  case pl:
13601
13601
  return Math.ceil(r / 4) * Math.ceil(e / 4) * 16;
@@ -13616,9 +13616,9 @@ function O0(r) {
13616
13616
  case ti:
13617
13617
  case Lu:
13618
13618
  return { byteLength: 1, components: 1 };
13619
- case os:
13619
+ case ls:
13620
13620
  case Pu:
13621
- case fs:
13621
+ case ps:
13622
13622
  return { byteLength: 2, components: 1 };
13623
13623
  case Ol:
13624
13624
  case zl:
@@ -17863,7 +17863,7 @@ Sn.physical = {
17863
17863
  vertexShader: gt.meshphysical_vert,
17864
17864
  fragmentShader: gt.meshphysical_frag
17865
17865
  };
17866
- const $s = { r: 0, b: 0, g: 0 }, zi = /* @__PURE__ */ new Dn(), v2 = /* @__PURE__ */ new ut();
17866
+ const Ks = { r: 0, b: 0, g: 0 }, zi = /* @__PURE__ */ new Dn(), v2 = /* @__PURE__ */ new ut();
17867
17867
  function y2(r, e, t, n, i, s, a) {
17868
17868
  const o = new st(0);
17869
17869
  let l = s === !0 ? 0 : 1, c, h, u = null, d = 0, f = null;
@@ -17880,7 +17880,7 @@ function y2(r, e, t, n, i, s, a) {
17880
17880
  }
17881
17881
  function g(A, x) {
17882
17882
  const U = m(x);
17883
- U && (U.isCubeTexture || U.mapping === Pa) ? (h === void 0 && (h = new Pt(
17883
+ U && (U.isCubeTexture || U.mapping === Da) ? (h === void 0 && (h = new Pt(
17884
17884
  new Hr(1, 1, 1),
17885
17885
  new _i({
17886
17886
  name: "BackgroundCubeMaterial",
@@ -17900,7 +17900,7 @@ function y2(r, e, t, n, i, s, a) {
17900
17900
  return this.uniforms.envMap.value;
17901
17901
  }
17902
17902
  }), i.update(h)), zi.copy(x.backgroundRotation), zi.x *= -1, zi.y *= -1, zi.z *= -1, U.isCubeTexture && U.isRenderTargetTexture === !1 && (zi.y *= -1, zi.z *= -1), h.material.uniforms.envMap.value = U, h.material.uniforms.flipEnvMap.value = U.isCubeTexture && U.isRenderTargetTexture === !1 ? -1 : 1, h.material.uniforms.backgroundBlurriness.value = x.backgroundBlurriness, h.material.uniforms.backgroundIntensity.value = x.backgroundIntensity, h.material.uniforms.backgroundRotation.value.setFromMatrix4(v2.makeRotationFromEuler(zi)), h.material.toneMapped = vt.getTransfer(U.colorSpace) !== Ut, (u !== U || d !== U.version || f !== r.toneMapping) && (h.material.needsUpdate = !0, u = U, d = U.version, f = r.toneMapping), h.layers.enableAll(), A.unshift(h, h.geometry, h.material, 0, 0, null)) : U && U.isTexture && (c === void 0 && (c = new Pt(
17903
- new Ia(2, 2),
17903
+ new Ua(2, 2),
17904
17904
  new _i({
17905
17905
  name: "BackgroundMaterial",
17906
17906
  uniforms: Br(Sn.background.uniforms),
@@ -17919,7 +17919,7 @@ function y2(r, e, t, n, i, s, a) {
17919
17919
  }), i.update(c)), c.material.uniforms.t2D.value = U, c.material.uniforms.backgroundIntensity.value = x.backgroundIntensity, c.material.toneMapped = vt.getTransfer(U.colorSpace) !== Ut, U.matrixAutoUpdate === !0 && U.updateMatrix(), c.material.uniforms.uvTransform.value.copy(U.matrix), (u !== U || d !== U.version || f !== r.toneMapping) && (c.material.needsUpdate = !0, u = U, d = U.version, f = r.toneMapping), c.layers.enableAll(), A.unshift(c, c.geometry, c.material, 0, 0, null));
17920
17920
  }
17921
17921
  function p(A, x) {
17922
- A.getRGB($s, Wu(r)), n.buffers.color.setClear($s.r, $s.g, $s.b, x, a);
17922
+ A.getRGB(Ks, Wu(r)), n.buffers.color.setClear(Ks.r, Ks.g, Ks.b, x, a);
17923
17923
  }
17924
17924
  function S() {
17925
17925
  h !== void 0 && (h.geometry.dispose(), h.material.dispose(), h = void 0), c !== void 0 && (c.geometry.dispose(), c.material.dispose(), c = void 0);
@@ -18041,7 +18041,7 @@ function x2(r, e) {
18041
18041
  if (he === void 0 && (Z === "instanceMatrix" && y.instanceMatrix && (he = y.instanceMatrix), Z === "instanceColor" && y.instanceColor && (he = y.instanceColor)), he !== void 0) {
18042
18042
  const _e = he.normalized, ce = he.itemSize, Ce = e.get(he);
18043
18043
  if (Ce === void 0) continue;
18044
- const Ae = Ce.buffer, Y = Ce.type, ie = Ce.bytesPerElement, se = Y === r.INT || Y === r.UNSIGNED_INT || he.gpuType === Fl;
18044
+ const Ae = Ce.buffer, Y = Ce.type, ie = Ce.bytesPerElement, ae = Y === r.INT || Y === r.UNSIGNED_INT || he.gpuType === Fl;
18045
18045
  if (he.isInterleavedBufferAttribute) {
18046
18046
  const le = he.data, Me = le.stride, me = he.offset;
18047
18047
  if (le.isInstancedInterleavedBuffer) {
@@ -18060,7 +18060,7 @@ function x2(r, e) {
18060
18060
  _e,
18061
18061
  Me * ie,
18062
18062
  (me + ce / j.locationSize * Se) * ie,
18063
- se
18063
+ ae
18064
18064
  );
18065
18065
  } else {
18066
18066
  if (he.isInstancedBufferAttribute) {
@@ -18079,7 +18079,7 @@ function x2(r, e) {
18079
18079
  _e,
18080
18080
  ce * ie,
18081
18081
  ce / j.locationSize * le * ie,
18082
- se
18082
+ ae
18083
18083
  );
18084
18084
  }
18085
18085
  } else if (B !== void 0) {
@@ -18205,7 +18205,7 @@ function b2(r, e, t, n) {
18205
18205
  return !(T !== Fn && n.convert(T) !== r.getParameter(r.IMPLEMENTATION_COLOR_READ_FORMAT));
18206
18206
  }
18207
18207
  function o(T) {
18208
- const I = T === fs && (e.has("EXT_color_buffer_half_float") || e.has("EXT_color_buffer_float"));
18208
+ const I = T === ps && (e.has("EXT_color_buffer_half_float") || e.has("EXT_color_buffer_float"));
18209
18209
  return !(T !== ti && n.convert(T) !== r.getParameter(r.IMPLEMENTATION_COLOR_READ_TYPE) && // Edge and Chrome Mac < 52 (#9513)
18210
18210
  T !== Qn && !I);
18211
18211
  }
@@ -18326,8 +18326,8 @@ function E2(r) {
18326
18326
  dispose: s
18327
18327
  };
18328
18328
  }
18329
- const Rr = 4, bh = [0.125, 0.215, 0.35, 0.446, 0.526, 0.582], ji = 20, yo = /* @__PURE__ */ new Fa(), Sh = /* @__PURE__ */ new st();
18330
- let xo = null, Mo = 0, bo = 0, So = !1;
18329
+ const Rr = 4, bh = [0.125, 0.215, 0.35, 0.446, 0.526, 0.582], ji = 20, xo = /* @__PURE__ */ new Oa(), Sh = /* @__PURE__ */ new st();
18330
+ let Mo = null, bo = 0, So = 0, Eo = !1;
18331
18331
  const Gi = (1 + Math.sqrt(5)) / 2, br = 1 / Gi, Eh = [
18332
18332
  /* @__PURE__ */ new k(-Gi, br, 0),
18333
18333
  /* @__PURE__ */ new k(Gi, br, 0),
@@ -18369,7 +18369,7 @@ class Ah {
18369
18369
  size: a = 256,
18370
18370
  position: o = A2
18371
18371
  } = s;
18372
- xo = this._renderer.getRenderTarget(), Mo = this._renderer.getActiveCubeFace(), bo = this._renderer.getActiveMipmapLevel(), So = this._renderer.xr.enabled, this._renderer.xr.enabled = !1, this._setSize(a);
18372
+ Mo = this._renderer.getRenderTarget(), bo = this._renderer.getActiveCubeFace(), So = this._renderer.getActiveMipmapLevel(), Eo = this._renderer.xr.enabled, this._renderer.xr.enabled = !1, this._setSize(a);
18373
18373
  const l = this._allocateTargets();
18374
18374
  return l.depthBuffer = !0, this._sceneToCubeUV(e, n, i, l, o), t > 0 && this._blur(l, 0, 0, t), this._applyPMREM(l), this._cleanup(l), l;
18375
18375
  }
@@ -18429,10 +18429,10 @@ class Ah {
18429
18429
  this._lodPlanes[e].dispose();
18430
18430
  }
18431
18431
  _cleanup(e) {
18432
- this._renderer.setRenderTarget(xo, Mo, bo), this._renderer.xr.enabled = So, e.scissorTest = !1, Ks(e, 0, 0, e.width, e.height);
18432
+ this._renderer.setRenderTarget(Mo, bo, So), this._renderer.xr.enabled = Eo, e.scissorTest = !1, Js(e, 0, 0, e.width, e.height);
18433
18433
  }
18434
18434
  _fromTexture(e, t) {
18435
- e.mapping === Nr || e.mapping === Fr ? this._setSize(e.image.length === 0 ? 16 : e.image[0].width || e.image[0].image.width) : this._setSize(e.image.width / 4), xo = this._renderer.getRenderTarget(), Mo = this._renderer.getActiveCubeFace(), bo = this._renderer.getActiveMipmapLevel(), So = this._renderer.xr.enabled, this._renderer.xr.enabled = !1;
18435
+ e.mapping === Nr || e.mapping === Fr ? this._setSize(e.image.length === 0 ? 16 : e.image[0].width || e.image[0].image.width) : this._setSize(e.image.width / 4), Mo = this._renderer.getRenderTarget(), bo = this._renderer.getActiveCubeFace(), So = this._renderer.getActiveMipmapLevel(), Eo = this._renderer.xr.enabled, this._renderer.xr.enabled = !1;
18436
18436
  const n = t || this._allocateTargets();
18437
18437
  return this._textureToCubeUV(e, n), this._applyPMREM(n), this._cleanup(n), n;
18438
18438
  }
@@ -18441,7 +18441,7 @@ class Ah {
18441
18441
  magFilter: Ln,
18442
18442
  minFilter: Ln,
18443
18443
  generateMipmaps: !1,
18444
- type: fs,
18444
+ type: ps,
18445
18445
  format: Fn,
18446
18446
  colorSpace: Or,
18447
18447
  depthBuffer: !1
@@ -18455,7 +18455,7 @@ class Ah {
18455
18455
  }
18456
18456
  _compileMaterial(e) {
18457
18457
  const t = new Pt(this._lodPlanes[0], e);
18458
- this._renderer.compile(t, yo);
18458
+ this._renderer.compile(t, xo);
18459
18459
  }
18460
18460
  _sceneToCubeUV(e, t, n, i, s) {
18461
18461
  const l = new fn(90, 1, t, n), c = [1, -1, 1, 1, 1, 1], h = [1, 1, 1, -1, -1, -1], u = this._renderer, d = u.autoClear, f = u.toneMapping;
@@ -18473,7 +18473,7 @@ class Ah {
18473
18473
  const A = S % 3;
18474
18474
  A === 0 ? (l.up.set(0, c[S], 0), l.position.set(s.x, s.y, s.z), l.lookAt(s.x + h[S], s.y, s.z)) : A === 1 ? (l.up.set(0, 0, c[S]), l.position.set(s.x, s.y, s.z), l.lookAt(s.x, s.y + h[S], s.z)) : (l.up.set(0, c[S], 0), l.position.set(s.x, s.y, s.z), l.lookAt(s.x, s.y, s.z + h[S]));
18475
18475
  const x = this._cubeSize;
18476
- Ks(i, A * x, S > 2 ? x : 0, x, x), u.setRenderTarget(i), g && u.render(_, l), u.render(e, l);
18476
+ Js(i, A * x, S > 2 ? x : 0, x, x), u.setRenderTarget(i), g && u.render(_, l), u.render(e, l);
18477
18477
  }
18478
18478
  _.geometry.dispose(), _.material.dispose(), u.toneMapping = f, u.autoClear = d, e.background = p;
18479
18479
  }
@@ -18483,7 +18483,7 @@ class Ah {
18483
18483
  const s = i ? this._cubemapMaterial : this._equirectMaterial, a = new Pt(this._lodPlanes[0], s), o = s.uniforms;
18484
18484
  o.envMap.value = e;
18485
18485
  const l = this._cubeSize;
18486
- Ks(t, 0, 0, 3 * l, 2 * l), n.setRenderTarget(t), n.render(a, yo);
18486
+ Js(t, 0, 0, 3 * l, 2 * l), n.setRenderTarget(t), n.render(a, xo);
18487
18487
  }
18488
18488
  _applyPMREM(e) {
18489
18489
  const t = this._renderer, n = t.autoClear;
@@ -18548,7 +18548,7 @@ class Ah {
18548
18548
  const { _lodMax: A } = this;
18549
18549
  d.dTheta.value = m, d.mipInt.value = A - n;
18550
18550
  const x = this._sizeLods[i], U = 3 * x * (i > A - Rr ? i - A + Rr : 0), R = 4 * (this._cubeSize - x);
18551
- Ks(t, U, R, 3 * x, 2 * x), l.setRenderTarget(t), l.render(u, yo);
18551
+ Js(t, U, R, 3 * x, 2 * x), l.setRenderTarget(t), l.render(u, xo);
18552
18552
  }
18553
18553
  }
18554
18554
  function w2(r) {
@@ -18593,9 +18593,9 @@ function w2(r) {
18593
18593
  }
18594
18594
  function wh(r, e, t) {
18595
18595
  const n = new Ki(r, e, t);
18596
- return n.texture.mapping = Pa, n.texture.name = "PMREM.cubeUv", n.scissorTest = !0, n;
18596
+ return n.texture.mapping = Da, n.texture.name = "PMREM.cubeUv", n.scissorTest = !0, n;
18597
18597
  }
18598
- function Ks(r, e, t, n, i) {
18598
+ function Js(r, e, t, n, i) {
18599
18599
  r.viewport.set(e, t, n, i), r.scissor.set(e, t, n, i);
18600
18600
  }
18601
18601
  function T2(r, e, t) {
@@ -19127,7 +19127,7 @@ function Jt(r, e) {
19127
19127
  for (let t = 0, n = e.length; t < n; t++)
19128
19128
  r[t] = e[t];
19129
19129
  }
19130
- function Oa(r, e) {
19130
+ function za(r, e) {
19131
19131
  let t = Ph[e];
19132
19132
  t === void 0 && (t = new Int32Array(e), Ph[e] = t);
19133
19133
  for (let n = 0; n !== e; ++n)
@@ -19414,25 +19414,25 @@ function mg(r, e) {
19414
19414
  r.uniform4uiv(this.addr, e);
19415
19415
  }
19416
19416
  function gg(r, e, t) {
19417
- const n = this.cache, i = e.length, s = Oa(t, i);
19417
+ const n = this.cache, i = e.length, s = za(t, i);
19418
19418
  Kt(n, s) || (r.uniform1iv(this.addr, s), Jt(n, s));
19419
19419
  for (let a = 0; a !== i; ++a)
19420
19420
  t.setTexture2D(e[a] || nd, s[a]);
19421
19421
  }
19422
19422
  function _g(r, e, t) {
19423
- const n = this.cache, i = e.length, s = Oa(t, i);
19423
+ const n = this.cache, i = e.length, s = za(t, i);
19424
19424
  Kt(n, s) || (r.uniform1iv(this.addr, s), Jt(n, s));
19425
19425
  for (let a = 0; a !== i; ++a)
19426
19426
  t.setTexture3D(e[a] || rd, s[a]);
19427
19427
  }
19428
19428
  function vg(r, e, t) {
19429
- const n = this.cache, i = e.length, s = Oa(t, i);
19429
+ const n = this.cache, i = e.length, s = za(t, i);
19430
19430
  Kt(n, s) || (r.uniform1iv(this.addr, s), Jt(n, s));
19431
19431
  for (let a = 0; a !== i; ++a)
19432
19432
  t.setTextureCube(e[a] || sd, s[a]);
19433
19433
  }
19434
19434
  function yg(r, e, t) {
19435
- const n = this.cache, i = e.length, s = Oa(t, i);
19435
+ const n = this.cache, i = e.length, s = za(t, i);
19436
19436
  Kt(n, s) || (r.uniform1iv(this.addr, s), Jt(n, s));
19437
19437
  for (let a = 0; a !== i; ++a)
19438
19438
  t.setTexture2DArray(e[a] || id, s[a]);
@@ -19544,14 +19544,14 @@ class Sg {
19544
19544
  }
19545
19545
  }
19546
19546
  }
19547
- const Eo = /(\w+)(\])?(\[|\.)?/g;
19547
+ const Ao = /(\w+)(\])?(\[|\.)?/g;
19548
19548
  function Nh(r, e) {
19549
19549
  r.seq.push(e), r.map[e.id] = e;
19550
19550
  }
19551
19551
  function Eg(r, e, t) {
19552
19552
  const n = r.name, i = n.length;
19553
- for (Eo.lastIndex = 0; ; ) {
19554
- const s = Eo.exec(n), a = Eo.lastIndex;
19553
+ for (Ao.lastIndex = 0; ; ) {
19554
+ const s = Ao.exec(n), a = Ao.lastIndex;
19555
19555
  let o = s[1];
19556
19556
  const l = s[2] === "]", c = s[3];
19557
19557
  if (l && (o = o | 0), c === void 0 || c === "[" && a + 2 === i) {
@@ -19563,7 +19563,7 @@ function Eg(r, e, t) {
19563
19563
  }
19564
19564
  }
19565
19565
  }
19566
- class da {
19566
+ class pa {
19567
19567
  constructor(e, t) {
19568
19568
  this.seq = [], this.map = {};
19569
19569
  const n = e.getProgramParameter(t, e.ACTIVE_UNIFORMS);
@@ -19616,7 +19616,7 @@ function Rg(r) {
19616
19616
  vt._getMatrix(Oh, vt.workingColorSpace, r);
19617
19617
  const e = `mat3( ${Oh.elements.map((t) => t.toFixed(4))} )`;
19618
19618
  switch (vt.getTransfer(r)) {
19619
- case Ma:
19619
+ case ba:
19620
19620
  return [e, "LinearTransferOETF"];
19621
19621
  case Ut:
19622
19622
  return [e, "sRGBTransferOETF"];
@@ -19676,10 +19676,10 @@ function Lg(r, e) {
19676
19676
  }
19677
19677
  return "vec3 " + r + "( vec3 color ) { return " + t + "ToneMapping( color ); }";
19678
19678
  }
19679
- const Js = /* @__PURE__ */ new k();
19679
+ const Zs = /* @__PURE__ */ new k();
19680
19680
  function Pg() {
19681
- vt.getLuminanceCoefficients(Js);
19682
- const r = Js.x.toFixed(4), e = Js.y.toFixed(4), t = Js.z.toFixed(4);
19681
+ vt.getLuminanceCoefficients(Zs);
19682
+ const r = Zs.x.toFixed(4), e = Zs.y.toFixed(4), t = Zs.z.toFixed(4);
19683
19683
  return [
19684
19684
  "float luminance( const in vec3 rgb ) {",
19685
19685
  ` const vec3 weights = vec3( ${r}, ${e}, ${t} );`,
@@ -19789,7 +19789,7 @@ function Vg(r) {
19789
19789
  case Fr:
19790
19790
  e = "ENVMAP_TYPE_CUBE";
19791
19791
  break;
19792
- case Pa:
19792
+ case Da:
19793
19793
  e = "ENVMAP_TYPE_CUBE_UV";
19794
19794
  break;
19795
19795
  }
@@ -19809,7 +19809,7 @@ function Gg(r) {
19809
19809
  let e = "ENVMAP_BLENDING_NONE";
19810
19810
  if (r.envMap)
19811
19811
  switch (r.combine) {
19812
- case La:
19812
+ case Pa:
19813
19813
  e = "ENVMAP_BLENDING_MULTIPLY";
19814
19814
  break;
19815
19815
  case Gf:
@@ -20123,7 +20123,7 @@ Program Info Log: ` + z + `
20123
20123
  }
20124
20124
  });
20125
20125
  }
20126
- i.deleteShader(U), i.deleteShader(R), I = new da(i, _), b = Ug(i, _);
20126
+ i.deleteShader(U), i.deleteShader(R), I = new pa(i, _), b = Ug(i, _);
20127
20127
  }
20128
20128
  let I;
20129
20129
  this.getUniforms = function() {
@@ -20204,18 +20204,18 @@ function $g(r, e, t, n, i, s, a) {
20204
20204
  return c.add(b), b === 0 ? "uv" : `uv${b}`;
20205
20205
  }
20206
20206
  function g(b, y, C, z, V) {
20207
- const G = z.fog, ee = V.geometry, B = b.isMeshStandardMaterial ? z.environment : null, Z = (b.isMeshStandardMaterial ? t : e).get(b.envMap || B), j = Z && Z.mapping === Pa ? Z.image.height : null, he = m[b.type];
20207
+ const G = z.fog, ee = V.geometry, B = b.isMeshStandardMaterial ? z.environment : null, Z = (b.isMeshStandardMaterial ? t : e).get(b.envMap || B), j = Z && Z.mapping === Da ? Z.image.height : null, he = m[b.type];
20208
20208
  b.precision !== null && (f = i.getMaxPrecision(b.precision), f !== b.precision && console.warn("THREE.WebGLProgram.getParameters:", b.precision, "not supported, using", f, "instead."));
20209
20209
  const _e = ee.morphAttributes.position || ee.morphAttributes.normal || ee.morphAttributes.color, ce = _e !== void 0 ? _e.length : 0;
20210
20210
  let Ce = 0;
20211
20211
  ee.morphAttributes.position !== void 0 && (Ce = 1), ee.morphAttributes.normal !== void 0 && (Ce = 2), ee.morphAttributes.color !== void 0 && (Ce = 3);
20212
- let Ae, Y, ie, se;
20212
+ let Ae, Y, ie, ae;
20213
20213
  if (he) {
20214
20214
  const ft = Sn[he];
20215
20215
  Ae = ft.vertexShader, Y = ft.fragmentShader;
20216
20216
  } else
20217
- Ae = b.vertexShader, Y = b.fragmentShader, l.update(b), ie = l.getVertexShaderID(b), se = l.getFragmentShaderID(b);
20218
- const le = r.getRenderTarget(), Me = r.state.buffers.depth.getReversed(), me = V.isInstancedMesh === !0, Se = V.isBatchedMesh === !0, ze = !!b.map, Ze = !!b.matcap, $e = !!Z, F = !!b.aoMap, Mt = !!b.lightMap, $ = !!b.bumpMap, de = !!b.normalMap, Q = !!b.displacementMap, we = !!b.emissiveMap, ae = !!b.metalnessMap, oe = !!b.roughnessMap, Ie = b.anisotropy > 0, N = b.clearcoat > 0, E = b.dispersion > 0, W = b.iridescence > 0, O = b.sheen > 0, re = b.transmission > 0, te = Ie && !!b.anisotropyMap, Te = N && !!b.clearcoatMap, be = N && !!b.clearcoatNormalMap, Oe = N && !!b.clearcoatRoughnessMap, Be = W && !!b.iridescenceMap, fe = W && !!b.iridescenceThicknessMap, Re = O && !!b.sheenColorMap, qe = O && !!b.sheenRoughnessMap, Qe = !!b.specularMap, Le = !!b.specularColorMap, at = !!b.specularIntensityMap, H = re && !!b.transmissionMap, Ue = re && !!b.thicknessMap, ge = !!b.gradientMap, ke = !!b.alphaMap, ye = b.alphaTest > 0, pe = !!b.alphaHash, Ge = !!b.extensions;
20217
+ Ae = b.vertexShader, Y = b.fragmentShader, l.update(b), ie = l.getVertexShaderID(b), ae = l.getFragmentShaderID(b);
20218
+ const le = r.getRenderTarget(), Me = r.state.buffers.depth.getReversed(), me = V.isInstancedMesh === !0, Se = V.isBatchedMesh === !0, ze = !!b.map, Ze = !!b.matcap, $e = !!Z, F = !!b.aoMap, Mt = !!b.lightMap, $ = !!b.bumpMap, de = !!b.normalMap, Q = !!b.displacementMap, we = !!b.emissiveMap, re = !!b.metalnessMap, oe = !!b.roughnessMap, Ie = b.anisotropy > 0, N = b.clearcoat > 0, E = b.dispersion > 0, W = b.iridescence > 0, O = b.sheen > 0, se = b.transmission > 0, te = Ie && !!b.anisotropyMap, Te = N && !!b.clearcoatMap, be = N && !!b.clearcoatNormalMap, Oe = N && !!b.clearcoatRoughnessMap, Be = W && !!b.iridescenceMap, fe = W && !!b.iridescenceThicknessMap, Re = O && !!b.sheenColorMap, qe = O && !!b.sheenRoughnessMap, Qe = !!b.specularMap, Le = !!b.specularColorMap, at = !!b.specularIntensityMap, H = se && !!b.transmissionMap, Ue = se && !!b.thicknessMap, ge = !!b.gradientMap, ke = !!b.alphaMap, ye = b.alphaTest > 0, pe = !!b.alphaHash, Ge = !!b.extensions;
20219
20219
  let ot = Ci;
20220
20220
  b.toneMapped && (le === null || le.isXRRenderTarget === !0) && (ot = r.toneMapping);
20221
20221
  const Ct = {
@@ -20226,7 +20226,7 @@ function $g(r, e, t, n, i, s, a) {
20226
20226
  fragmentShader: Y,
20227
20227
  defines: b.defines,
20228
20228
  customVertexShaderID: ie,
20229
- customFragmentShaderID: se,
20229
+ customFragmentShaderID: ae,
20230
20230
  isRawShaderMaterial: b.isRawShaderMaterial === !0,
20231
20231
  glslVersion: b.glslVersion,
20232
20232
  precision: f,
@@ -20251,7 +20251,7 @@ function $g(r, e, t, n, i, s, a) {
20251
20251
  emissiveMap: we,
20252
20252
  normalMapObjectSpace: de && b.normalMapType === ip,
20253
20253
  normalMapTangentSpace: de && b.normalMapType === Hl,
20254
- metalnessMap: ae,
20254
+ metalnessMap: re,
20255
20255
  roughnessMap: oe,
20256
20256
  anisotropy: Ie,
20257
20257
  anisotropyMap: te,
@@ -20269,7 +20269,7 @@ function $g(r, e, t, n, i, s, a) {
20269
20269
  specularMap: Qe,
20270
20270
  specularColorMap: Le,
20271
20271
  specularIntensityMap: at,
20272
- transmission: re,
20272
+ transmission: se,
20273
20273
  transmissionMap: H,
20274
20274
  thicknessMap: Ue,
20275
20275
  gradientMap: ge,
@@ -20286,7 +20286,7 @@ function $g(r, e, t, n, i, s, a) {
20286
20286
  normalMapUv: de && _(b.normalMap.channel),
20287
20287
  displacementMapUv: Q && _(b.displacementMap.channel),
20288
20288
  emissiveMapUv: we && _(b.emissiveMap.channel),
20289
- metalnessMapUv: ae && _(b.metalnessMap.channel),
20289
+ metalnessMapUv: re && _(b.metalnessMap.channel),
20290
20290
  roughnessMapUv: oe && _(b.roughnessMap.channel),
20291
20291
  anisotropyMapUv: te && _(b.anisotropyMap.channel),
20292
20292
  clearcoatMapUv: Te && _(b.clearcoatMap.channel),
@@ -21046,8 +21046,8 @@ function c3(r, e) {
21046
21046
  H === r.TEXTURE_3D || H === r.TEXTURE_2D_ARRAY ? r.texImage3D(Ue, 0, r.RGBA, 1, 1, ke, 0, r.RGBA, r.UNSIGNED_BYTE, ye) : r.texImage2D(Ue + Ge, 0, r.RGBA, 1, 1, 0, r.RGBA, r.UNSIGNED_BYTE, ye);
21047
21047
  return pe;
21048
21048
  }
21049
- const se = {};
21050
- se[r.TEXTURE_2D] = ie(r.TEXTURE_2D, r.TEXTURE_2D, 1), se[r.TEXTURE_CUBE_MAP] = ie(r.TEXTURE_CUBE_MAP, r.TEXTURE_CUBE_MAP_POSITIVE_X, 6), se[r.TEXTURE_2D_ARRAY] = ie(r.TEXTURE_2D_ARRAY, r.TEXTURE_2D_ARRAY, 1, 1), se[r.TEXTURE_3D] = ie(r.TEXTURE_3D, r.TEXTURE_3D, 1, 1), s.setClear(0, 0, 0, 1), a.setClear(1), o.setClear(0), le(r.DEPTH_TEST), a.setFunc(Ur), $(!1), de(bc), le(r.CULL_FACE), F(Ri);
21049
+ const ae = {};
21050
+ ae[r.TEXTURE_2D] = ie(r.TEXTURE_2D, r.TEXTURE_2D, 1), ae[r.TEXTURE_CUBE_MAP] = ie(r.TEXTURE_CUBE_MAP, r.TEXTURE_CUBE_MAP_POSITIVE_X, 6), ae[r.TEXTURE_2D_ARRAY] = ie(r.TEXTURE_2D_ARRAY, r.TEXTURE_2D_ARRAY, 1, 1), ae[r.TEXTURE_3D] = ie(r.TEXTURE_3D, r.TEXTURE_3D, 1, 1), s.setClear(0, 0, 0, 1), a.setClear(1), o.setClear(0), le(r.DEPTH_TEST), a.setFunc(Ur), $(!1), de(bc), le(r.CULL_FACE), F(Ri);
21051
21051
  function le(H) {
21052
21052
  h[H] !== !0 && (r.enable(H), h[H] = !0);
21053
21053
  }
@@ -21165,7 +21165,7 @@ function c3(r, e) {
21165
21165
  function we(H, Ue, ge) {
21166
21166
  H ? (le(r.POLYGON_OFFSET_FILL), (V !== Ue || G !== ge) && (r.polygonOffset(Ue, ge), V = Ue, G = ge)) : Me(r.POLYGON_OFFSET_FILL);
21167
21167
  }
21168
- function ae(H) {
21168
+ function re(H) {
21169
21169
  H ? le(r.SCISSOR_TEST) : Me(r.SCISSOR_TEST);
21170
21170
  }
21171
21171
  function oe(H) {
@@ -21174,7 +21174,7 @@ function c3(r, e) {
21174
21174
  function Ie(H, Ue, ge) {
21175
21175
  ge === void 0 && (he === null ? ge = r.TEXTURE0 + ee - 1 : ge = he);
21176
21176
  let ke = _e[ge];
21177
- ke === void 0 && (ke = { type: void 0, texture: void 0 }, _e[ge] = ke), (ke.type !== H || ke.texture !== Ue) && (he !== ge && (r.activeTexture(ge), he = ge), r.bindTexture(H, Ue || se[H]), ke.type = H, ke.texture = Ue);
21177
+ ke === void 0 && (ke = { type: void 0, texture: void 0 }, _e[ge] = ke), (ke.type !== H || ke.texture !== Ue) && (he !== ge && (r.activeTexture(ge), he = ge), r.bindTexture(H, Ue || ae[H]), ke.type = H, ke.texture = Ue);
21178
21178
  }
21179
21179
  function N() {
21180
21180
  const H = _e[he];
@@ -21201,7 +21201,7 @@ function c3(r, e) {
21201
21201
  console.error("THREE.WebGLState:", H);
21202
21202
  }
21203
21203
  }
21204
- function re() {
21204
+ function se() {
21205
21205
  try {
21206
21206
  r.texSubImage3D(...arguments);
21207
21207
  } catch (H) {
@@ -21286,7 +21286,7 @@ function c3(r, e) {
21286
21286
  setCullFace: de,
21287
21287
  setLineWidth: Q,
21288
21288
  setPolygonOffset: we,
21289
- setScissorTest: ae,
21289
+ setScissorTest: re,
21290
21290
  activeTexture: oe,
21291
21291
  bindTexture: Ie,
21292
21292
  unbindTexture: N,
@@ -21299,7 +21299,7 @@ function c3(r, e) {
21299
21299
  texStorage2D: be,
21300
21300
  texStorage3D: Oe,
21301
21301
  texSubImage2D: O,
21302
- texSubImage3D: re,
21302
+ texSubImage3D: se,
21303
21303
  compressedTexSubImage2D: te,
21304
21304
  compressedTexSubImage3D: Te,
21305
21305
  scissor: Re,
@@ -21320,19 +21320,19 @@ function h3(r, e, t, n, i, s, a) {
21320
21320
  return f ? (
21321
21321
  // eslint-disable-next-line compat/compat
21322
21322
  new OffscreenCanvas(N, E)
21323
- ) : us("canvas");
21323
+ ) : ds("canvas");
21324
21324
  }
21325
21325
  function _(N, E, W) {
21326
21326
  let O = 1;
21327
- const re = Ie(N);
21328
- if ((re.width > W || re.height > W) && (O = W / Math.max(re.width, re.height)), O < 1)
21327
+ const se = Ie(N);
21328
+ if ((se.width > W || se.height > W) && (O = W / Math.max(se.width, se.height)), O < 1)
21329
21329
  if (typeof HTMLImageElement < "u" && N instanceof HTMLImageElement || typeof HTMLCanvasElement < "u" && N instanceof HTMLCanvasElement || typeof ImageBitmap < "u" && N instanceof ImageBitmap || typeof VideoFrame < "u" && N instanceof VideoFrame) {
21330
- const te = Math.floor(O * re.width), Te = Math.floor(O * re.height);
21330
+ const te = Math.floor(O * se.width), Te = Math.floor(O * se.height);
21331
21331
  u === void 0 && (u = m(te, Te));
21332
21332
  const be = E ? m(te, Te) : u;
21333
- return be.width = te, be.height = Te, be.getContext("2d").drawImage(N, 0, 0, te, Te), console.warn("THREE.WebGLRenderer: Texture has been resized from (" + re.width + "x" + re.height + ") to (" + te + "x" + Te + ")."), be;
21333
+ return be.width = te, be.height = Te, be.getContext("2d").drawImage(N, 0, 0, te, Te), console.warn("THREE.WebGLRenderer: Texture has been resized from (" + se.width + "x" + se.height + ") to (" + te + "x" + Te + ")."), be;
21334
21334
  } else
21335
- return "data" in N && console.warn("THREE.WebGLRenderer: Image in DataTexture is too big (" + re.width + "x" + re.height + ")."), N;
21335
+ return "data" in N && console.warn("THREE.WebGLRenderer: Image in DataTexture is too big (" + se.width + "x" + se.height + ")."), N;
21336
21336
  return N;
21337
21337
  }
21338
21338
  function g(N) {
@@ -21344,21 +21344,21 @@ function h3(r, e, t, n, i, s, a) {
21344
21344
  function S(N) {
21345
21345
  return N.isWebGLCubeRenderTarget ? r.TEXTURE_CUBE_MAP : N.isWebGL3DRenderTarget ? r.TEXTURE_3D : N.isWebGLArrayRenderTarget || N.isCompressedArrayTexture ? r.TEXTURE_2D_ARRAY : r.TEXTURE_2D;
21346
21346
  }
21347
- function A(N, E, W, O, re = !1) {
21347
+ function A(N, E, W, O, se = !1) {
21348
21348
  if (N !== null) {
21349
21349
  if (r[N] !== void 0) return r[N];
21350
21350
  console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '" + N + "'");
21351
21351
  }
21352
21352
  let te = E;
21353
21353
  if (E === r.RED && (W === r.FLOAT && (te = r.R32F), W === r.HALF_FLOAT && (te = r.R16F), W === r.UNSIGNED_BYTE && (te = r.R8)), E === r.RED_INTEGER && (W === r.UNSIGNED_BYTE && (te = r.R8UI), W === r.UNSIGNED_SHORT && (te = r.R16UI), W === r.UNSIGNED_INT && (te = r.R32UI), W === r.BYTE && (te = r.R8I), W === r.SHORT && (te = r.R16I), W === r.INT && (te = r.R32I)), E === r.RG && (W === r.FLOAT && (te = r.RG32F), W === r.HALF_FLOAT && (te = r.RG16F), W === r.UNSIGNED_BYTE && (te = r.RG8)), E === r.RG_INTEGER && (W === r.UNSIGNED_BYTE && (te = r.RG8UI), W === r.UNSIGNED_SHORT && (te = r.RG16UI), W === r.UNSIGNED_INT && (te = r.RG32UI), W === r.BYTE && (te = r.RG8I), W === r.SHORT && (te = r.RG16I), W === r.INT && (te = r.RG32I)), E === r.RGB_INTEGER && (W === r.UNSIGNED_BYTE && (te = r.RGB8UI), W === r.UNSIGNED_SHORT && (te = r.RGB16UI), W === r.UNSIGNED_INT && (te = r.RGB32UI), W === r.BYTE && (te = r.RGB8I), W === r.SHORT && (te = r.RGB16I), W === r.INT && (te = r.RGB32I)), E === r.RGBA_INTEGER && (W === r.UNSIGNED_BYTE && (te = r.RGBA8UI), W === r.UNSIGNED_SHORT && (te = r.RGBA16UI), W === r.UNSIGNED_INT && (te = r.RGBA32UI), W === r.BYTE && (te = r.RGBA8I), W === r.SHORT && (te = r.RGBA16I), W === r.INT && (te = r.RGBA32I)), E === r.RGB && W === r.UNSIGNED_INT_5_9_9_9_REV && (te = r.RGB9_E5), E === r.RGBA) {
21354
- const Te = re ? Ma : vt.getTransfer(O);
21354
+ const Te = se ? ba : vt.getTransfer(O);
21355
21355
  W === r.FLOAT && (te = r.RGBA32F), W === r.HALF_FLOAT && (te = r.RGBA16F), W === r.UNSIGNED_BYTE && (te = Te === Ut ? r.SRGB8_ALPHA8 : r.RGBA8), W === r.UNSIGNED_SHORT_4_4_4_4 && (te = r.RGBA4), W === r.UNSIGNED_SHORT_5_5_5_1 && (te = r.RGB5_A1);
21356
21356
  }
21357
21357
  return (te === r.R16F || te === r.R32F || te === r.RG16F || te === r.RG32F || te === r.RGBA16F || te === r.RGBA32F) && e.get("EXT_color_buffer_float"), te;
21358
21358
  }
21359
21359
  function x(N, E) {
21360
21360
  let W;
21361
- return N ? E === null || E === $i || E === ls ? W = r.DEPTH24_STENCIL8 : E === Qn ? W = r.DEPTH32F_STENCIL8 : E === os && (W = r.DEPTH24_STENCIL8, console.warn("DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.")) : E === null || E === $i || E === ls ? W = r.DEPTH_COMPONENT24 : E === Qn ? W = r.DEPTH_COMPONENT32F : E === os && (W = r.DEPTH_COMPONENT16), W;
21361
+ return N ? E === null || E === $i || E === cs ? W = r.DEPTH24_STENCIL8 : E === Qn ? W = r.DEPTH32F_STENCIL8 : E === ls && (W = r.DEPTH24_STENCIL8, console.warn("DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.")) : E === null || E === $i || E === cs ? W = r.DEPTH_COMPONENT24 : E === Qn ? W = r.DEPTH_COMPONENT32F : E === ls && (W = r.DEPTH_COMPONENT16), W;
21362
21362
  }
21363
21363
  function U(N, E) {
21364
21364
  return g(N) === !0 || N.isFramebufferTexture && N.minFilter !== Pn && N.minFilter !== Ln ? Math.log2(Math.max(E.width, E.height)) + 1 : N.mipmaps !== void 0 && N.mipmaps.length > 0 ? N.mipmaps.length : N.isCompressedTexture && Array.isArray(N.image) ? E.mipmaps.length : 1;
@@ -21376,8 +21376,8 @@ function h3(r, e, t, n, i, s, a) {
21376
21376
  if (E.__webglInit === void 0) return;
21377
21377
  const W = N.source, O = d.get(W);
21378
21378
  if (O) {
21379
- const re = O[E.__cacheKey];
21380
- re.usedTimes--, re.usedTimes === 0 && b(N), Object.keys(O).length === 0 && d.delete(W);
21379
+ const se = O[E.__cacheKey];
21380
+ se.usedTimes--, se.usedTimes === 0 && b(N), Object.keys(O).length === 0 && d.delete(W);
21381
21381
  }
21382
21382
  n.remove(N);
21383
21383
  }
@@ -21392,7 +21392,7 @@ function h3(r, e, t, n, i, s, a) {
21392
21392
  if (N.depthTexture && (N.depthTexture.dispose(), n.remove(N.depthTexture)), N.isWebGLCubeRenderTarget)
21393
21393
  for (let O = 0; O < 6; O++) {
21394
21394
  if (Array.isArray(E.__webglFramebuffer[O]))
21395
- for (let re = 0; re < E.__webglFramebuffer[O].length; re++) r.deleteFramebuffer(E.__webglFramebuffer[O][re]);
21395
+ for (let se = 0; se < E.__webglFramebuffer[O].length; se++) r.deleteFramebuffer(E.__webglFramebuffer[O][se]);
21396
21396
  else
21397
21397
  r.deleteFramebuffer(E.__webglFramebuffer[O]);
21398
21398
  E.__webglDepthbuffer && r.deleteRenderbuffer(E.__webglDepthbuffer[O]);
@@ -21408,7 +21408,7 @@ function h3(r, e, t, n, i, s, a) {
21408
21408
  E.__webglDepthRenderbuffer && r.deleteRenderbuffer(E.__webglDepthRenderbuffer);
21409
21409
  }
21410
21410
  const W = N.textures;
21411
- for (let O = 0, re = W.length; O < re; O++) {
21411
+ for (let O = 0, se = W.length; O < se; O++) {
21412
21412
  const te = n.get(W[O]);
21413
21413
  te.__webglTexture && (r.deleteTexture(te.__webglTexture), a.memory.textures--), n.remove(W[O]);
21414
21414
  }
@@ -21428,14 +21428,14 @@ function h3(r, e, t, n, i, s, a) {
21428
21428
  }
21429
21429
  function ee(N, E) {
21430
21430
  const W = n.get(N);
21431
- if (N.isVideoTexture && ae(N), N.isRenderTargetTexture === !1 && N.version > 0 && W.__version !== N.version) {
21431
+ if (N.isVideoTexture && re(N), N.isRenderTargetTexture === !1 && N.version > 0 && W.__version !== N.version) {
21432
21432
  const O = N.image;
21433
21433
  if (O === null)
21434
21434
  console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");
21435
21435
  else if (O.complete === !1)
21436
21436
  console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");
21437
21437
  else {
21438
- se(W, N, E);
21438
+ ae(W, N, E);
21439
21439
  return;
21440
21440
  }
21441
21441
  }
@@ -21444,7 +21444,7 @@ function h3(r, e, t, n, i, s, a) {
21444
21444
  function B(N, E) {
21445
21445
  const W = n.get(N);
21446
21446
  if (N.version > 0 && W.__version !== N.version) {
21447
- se(W, N, E);
21447
+ ae(W, N, E);
21448
21448
  return;
21449
21449
  }
21450
21450
  t.bindTexture(r.TEXTURE_2D_ARRAY, W.__webglTexture, r.TEXTURE0 + E);
@@ -21452,7 +21452,7 @@ function h3(r, e, t, n, i, s, a) {
21452
21452
  function Z(N, E) {
21453
21453
  const W = n.get(N);
21454
21454
  if (N.version > 0 && W.__version !== N.version) {
21455
- se(W, N, E);
21455
+ ae(W, N, E);
21456
21456
  return;
21457
21457
  }
21458
21458
  t.bindTexture(r.TEXTURE_3D, W.__webglTexture, r.TEXTURE0 + E);
@@ -21472,9 +21472,9 @@ function h3(r, e, t, n, i, s, a) {
21472
21472
  }, _e = {
21473
21473
  [Pn]: r.NEAREST,
21474
21474
  [Qf]: r.NEAREST_MIPMAP_NEAREST,
21475
- [xs]: r.NEAREST_MIPMAP_LINEAR,
21475
+ [Ms]: r.NEAREST_MIPMAP_LINEAR,
21476
21476
  [Ln]: r.LINEAR,
21477
- [Ha]: r.LINEAR_MIPMAP_NEAREST,
21477
+ [Ga]: r.LINEAR_MIPMAP_NEAREST,
21478
21478
  [fi]: r.LINEAR_MIPMAP_LINEAR
21479
21479
  }, ce = {
21480
21480
  [rp]: r.NEVER,
@@ -21487,8 +21487,8 @@ function h3(r, e, t, n, i, s, a) {
21487
21487
  [lp]: r.NOTEQUAL
21488
21488
  };
21489
21489
  function Ce(N, E) {
21490
- if (E.type === Qn && e.has("OES_texture_float_linear") === !1 && (E.magFilter === Ln || E.magFilter === Ha || E.magFilter === xs || E.magFilter === fi || E.minFilter === Ln || E.minFilter === Ha || E.minFilter === xs || E.minFilter === fi) && console.warn("THREE.WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device."), r.texParameteri(N, r.TEXTURE_WRAP_S, he[E.wrapS]), r.texParameteri(N, r.TEXTURE_WRAP_T, he[E.wrapT]), (N === r.TEXTURE_3D || N === r.TEXTURE_2D_ARRAY) && r.texParameteri(N, r.TEXTURE_WRAP_R, he[E.wrapR]), r.texParameteri(N, r.TEXTURE_MAG_FILTER, _e[E.magFilter]), r.texParameteri(N, r.TEXTURE_MIN_FILTER, _e[E.minFilter]), E.compareFunction && (r.texParameteri(N, r.TEXTURE_COMPARE_MODE, r.COMPARE_REF_TO_TEXTURE), r.texParameteri(N, r.TEXTURE_COMPARE_FUNC, ce[E.compareFunction])), e.has("EXT_texture_filter_anisotropic") === !0) {
21491
- if (E.magFilter === Pn || E.minFilter !== xs && E.minFilter !== fi || E.type === Qn && e.has("OES_texture_float_linear") === !1) return;
21490
+ if (E.type === Qn && e.has("OES_texture_float_linear") === !1 && (E.magFilter === Ln || E.magFilter === Ga || E.magFilter === Ms || E.magFilter === fi || E.minFilter === Ln || E.minFilter === Ga || E.minFilter === Ms || E.minFilter === fi) && console.warn("THREE.WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device."), r.texParameteri(N, r.TEXTURE_WRAP_S, he[E.wrapS]), r.texParameteri(N, r.TEXTURE_WRAP_T, he[E.wrapT]), (N === r.TEXTURE_3D || N === r.TEXTURE_2D_ARRAY) && r.texParameteri(N, r.TEXTURE_WRAP_R, he[E.wrapR]), r.texParameteri(N, r.TEXTURE_MAG_FILTER, _e[E.magFilter]), r.texParameteri(N, r.TEXTURE_MIN_FILTER, _e[E.minFilter]), E.compareFunction && (r.texParameteri(N, r.TEXTURE_COMPARE_MODE, r.COMPARE_REF_TO_TEXTURE), r.texParameteri(N, r.TEXTURE_COMPARE_FUNC, ce[E.compareFunction])), e.has("EXT_texture_filter_anisotropic") === !0) {
21491
+ if (E.magFilter === Pn || E.minFilter !== Ms && E.minFilter !== fi || E.type === Qn && e.has("OES_texture_float_linear") === !1) return;
21492
21492
  if (E.anisotropy > 1 || n.get(E).__currentAnisotropy) {
21493
21493
  const W = e.get("EXT_texture_filter_anisotropic");
21494
21494
  r.texParameterf(N, W.TEXTURE_MAX_ANISOTROPY_EXT, Math.min(E.anisotropy, i.getMaxAnisotropy())), n.get(E).__currentAnisotropy = E.anisotropy;
@@ -21499,16 +21499,16 @@ function h3(r, e, t, n, i, s, a) {
21499
21499
  let W = !1;
21500
21500
  N.__webglInit === void 0 && (N.__webglInit = !0, E.addEventListener("dispose", R));
21501
21501
  const O = E.source;
21502
- let re = d.get(O);
21503
- re === void 0 && (re = {}, d.set(O, re));
21502
+ let se = d.get(O);
21503
+ se === void 0 && (se = {}, d.set(O, se));
21504
21504
  const te = G(E);
21505
21505
  if (te !== N.__cacheKey) {
21506
- re[te] === void 0 && (re[te] = {
21506
+ se[te] === void 0 && (se[te] = {
21507
21507
  texture: r.createTexture(),
21508
21508
  usedTimes: 0
21509
- }, a.memory.textures++, W = !0), re[te].usedTimes++;
21510
- const Te = re[N.__cacheKey];
21511
- Te !== void 0 && (re[N.__cacheKey].usedTimes--, Te.usedTimes === 0 && b(E)), N.__cacheKey = te, N.__webglTexture = re[te].texture;
21509
+ }, a.memory.textures++, W = !0), se[te].usedTimes++;
21510
+ const Te = se[N.__cacheKey];
21511
+ Te !== void 0 && (se[N.__cacheKey].usedTimes--, Te.usedTimes === 0 && b(E)), N.__cacheKey = te, N.__webglTexture = se[te].texture;
21512
21512
  }
21513
21513
  return W;
21514
21514
  }
@@ -21539,13 +21539,13 @@ function h3(r, e, t, n, i, s, a) {
21539
21539
  N.clearUpdateRanges(), r.pixelStorei(r.UNPACK_ROW_LENGTH, be), r.pixelStorei(r.UNPACK_SKIP_PIXELS, Oe), r.pixelStorei(r.UNPACK_SKIP_ROWS, Be);
21540
21540
  }
21541
21541
  }
21542
- function se(N, E, W) {
21542
+ function ae(N, E, W) {
21543
21543
  let O = r.TEXTURE_2D;
21544
21544
  (E.isDataArrayTexture || E.isCompressedArrayTexture) && (O = r.TEXTURE_2D_ARRAY), E.isData3DTexture && (O = r.TEXTURE_3D);
21545
- const re = Ae(N, E), te = E.source;
21545
+ const se = Ae(N, E), te = E.source;
21546
21546
  t.bindTexture(O, N.__webglTexture, r.TEXTURE0 + W);
21547
21547
  const Te = n.get(te);
21548
- if (te.version !== Te.__version || re === !0) {
21548
+ if (te.version !== Te.__version || se === !0) {
21549
21549
  t.activeTexture(r.TEXTURE0 + W);
21550
21550
  const be = vt.getPrimaries(vt.workingColorSpace), Oe = E.colorSpace === Ti ? null : vt.getPrimaries(E.colorSpace), Be = E.colorSpace === Ti || be === Oe ? r.NONE : r.BROWSER_DEFAULT_WEBGL;
21551
21551
  r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL, E.flipY), r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL, E.premultiplyAlpha), r.pixelStorei(r.UNPACK_ALIGNMENT, E.unpackAlignment), r.pixelStorei(r.UNPACK_COLORSPACE_CONVERSION_WEBGL, Be);
@@ -21555,9 +21555,9 @@ function h3(r, e, t, n, i, s, a) {
21555
21555
  let Qe = A(E.internalFormat, Re, qe, E.colorSpace, E.isVideoTexture);
21556
21556
  Ce(O, E);
21557
21557
  let Le;
21558
- const at = E.mipmaps, H = E.isVideoTexture !== !0, Ue = Te.__version === void 0 || re === !0, ge = te.dataReady, ke = U(E, fe);
21558
+ const at = E.mipmaps, H = E.isVideoTexture !== !0, Ue = Te.__version === void 0 || se === !0, ge = te.dataReady, ke = U(E, fe);
21559
21559
  if (E.isDepthTexture)
21560
- Qe = x(E.format === hs, E.type), Ue && (H ? t.texStorage2D(r.TEXTURE_2D, 1, Qe, fe.width, fe.height) : t.texImage2D(r.TEXTURE_2D, 0, Qe, fe.width, fe.height, 0, Re, qe, null));
21560
+ Qe = x(E.format === us, E.type), Ue && (H ? t.texStorage2D(r.TEXTURE_2D, 1, Qe, fe.width, fe.height) : t.texImage2D(r.TEXTURE_2D, 0, Qe, fe.width, fe.height, 0, Re, qe, null));
21561
21561
  else if (E.isDataTexture)
21562
21562
  if (at.length > 0) {
21563
21563
  H && Ue && t.texStorage2D(r.TEXTURE_2D, ke, Qe, at[0].width, at[0].height);
@@ -21647,17 +21647,17 @@ function h3(r, e, t, n, i, s, a) {
21647
21647
  }
21648
21648
  function le(N, E, W) {
21649
21649
  if (E.image.length !== 6) return;
21650
- const O = Ae(N, E), re = E.source;
21650
+ const O = Ae(N, E), se = E.source;
21651
21651
  t.bindTexture(r.TEXTURE_CUBE_MAP, N.__webglTexture, r.TEXTURE0 + W);
21652
- const te = n.get(re);
21653
- if (re.version !== te.__version || O === !0) {
21652
+ const te = n.get(se);
21653
+ if (se.version !== te.__version || O === !0) {
21654
21654
  t.activeTexture(r.TEXTURE0 + W);
21655
21655
  const Te = vt.getPrimaries(vt.workingColorSpace), be = E.colorSpace === Ti ? null : vt.getPrimaries(E.colorSpace), Oe = E.colorSpace === Ti || Te === be ? r.NONE : r.BROWSER_DEFAULT_WEBGL;
21656
21656
  r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL, E.flipY), r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL, E.premultiplyAlpha), r.pixelStorei(r.UNPACK_ALIGNMENT, E.unpackAlignment), r.pixelStorei(r.UNPACK_COLORSPACE_CONVERSION_WEBGL, Oe);
21657
21657
  const Be = E.isCompressedTexture || E.image[0].isCompressedTexture, fe = E.image[0] && E.image[0].isDataTexture, Re = [];
21658
21658
  for (let pe = 0; pe < 6; pe++)
21659
21659
  !Be && !fe ? Re[pe] = _(E.image[pe], !0, i.maxCubemapSize) : Re[pe] = fe ? E.image[pe].image : E.image[pe], Re[pe] = oe(E, Re[pe]);
21660
- const qe = Re[0], Qe = s.convert(E.format, E.colorSpace), Le = s.convert(E.type), at = A(E.internalFormat, Qe, Le, E.colorSpace), H = E.isVideoTexture !== !0, Ue = te.__version === void 0 || O === !0, ge = re.dataReady;
21660
+ const qe = Re[0], Qe = s.convert(E.format, E.colorSpace), Le = s.convert(E.type), at = A(E.internalFormat, Qe, Le, E.colorSpace), H = E.isVideoTexture !== !0, Ue = te.__version === void 0 || O === !0, ge = se.dataReady;
21661
21661
  let ke = U(E, qe);
21662
21662
  Ce(r.TEXTURE_CUBE_MAP, E);
21663
21663
  let ye;
@@ -21691,26 +21691,26 @@ function h3(r, e, t, n, i, s, a) {
21691
21691
  }
21692
21692
  }
21693
21693
  }
21694
- g(E) && p(r.TEXTURE_CUBE_MAP), te.__version = re.version, E.onUpdate && E.onUpdate(E);
21694
+ g(E) && p(r.TEXTURE_CUBE_MAP), te.__version = se.version, E.onUpdate && E.onUpdate(E);
21695
21695
  }
21696
21696
  N.__version = E.version;
21697
21697
  }
21698
- function Me(N, E, W, O, re, te) {
21698
+ function Me(N, E, W, O, se, te) {
21699
21699
  const Te = s.convert(W.format, W.colorSpace), be = s.convert(W.type), Oe = A(W.internalFormat, Te, be, W.colorSpace), Be = n.get(E), fe = n.get(W);
21700
21700
  if (fe.__renderTarget = E, !Be.__hasExternalTextures) {
21701
21701
  const Re = Math.max(1, E.width >> te), qe = Math.max(1, E.height >> te);
21702
- re === r.TEXTURE_3D || re === r.TEXTURE_2D_ARRAY ? t.texImage3D(re, te, Oe, Re, qe, E.depth, 0, Te, be, null) : t.texImage2D(re, te, Oe, Re, qe, 0, Te, be, null);
21702
+ se === r.TEXTURE_3D || se === r.TEXTURE_2D_ARRAY ? t.texImage3D(se, te, Oe, Re, qe, E.depth, 0, Te, be, null) : t.texImage2D(se, te, Oe, Re, qe, 0, Te, be, null);
21703
21703
  }
21704
- t.bindFramebuffer(r.FRAMEBUFFER, N), we(E) ? o.framebufferTexture2DMultisampleEXT(r.FRAMEBUFFER, O, re, fe.__webglTexture, 0, Q(E)) : (re === r.TEXTURE_2D || re >= r.TEXTURE_CUBE_MAP_POSITIVE_X && re <= r.TEXTURE_CUBE_MAP_NEGATIVE_Z) && r.framebufferTexture2D(r.FRAMEBUFFER, O, re, fe.__webglTexture, te), t.bindFramebuffer(r.FRAMEBUFFER, null);
21704
+ t.bindFramebuffer(r.FRAMEBUFFER, N), we(E) ? o.framebufferTexture2DMultisampleEXT(r.FRAMEBUFFER, O, se, fe.__webglTexture, 0, Q(E)) : (se === r.TEXTURE_2D || se >= r.TEXTURE_CUBE_MAP_POSITIVE_X && se <= r.TEXTURE_CUBE_MAP_NEGATIVE_Z) && r.framebufferTexture2D(r.FRAMEBUFFER, O, se, fe.__webglTexture, te), t.bindFramebuffer(r.FRAMEBUFFER, null);
21705
21705
  }
21706
21706
  function me(N, E, W) {
21707
21707
  if (r.bindRenderbuffer(r.RENDERBUFFER, N), E.depthBuffer) {
21708
- const O = E.depthTexture, re = O && O.isDepthTexture ? O.type : null, te = x(E.stencilBuffer, re), Te = E.stencilBuffer ? r.DEPTH_STENCIL_ATTACHMENT : r.DEPTH_ATTACHMENT, be = Q(E);
21708
+ const O = E.depthTexture, se = O && O.isDepthTexture ? O.type : null, te = x(E.stencilBuffer, se), Te = E.stencilBuffer ? r.DEPTH_STENCIL_ATTACHMENT : r.DEPTH_ATTACHMENT, be = Q(E);
21709
21709
  we(E) ? o.renderbufferStorageMultisampleEXT(r.RENDERBUFFER, be, te, E.width, E.height) : W ? r.renderbufferStorageMultisample(r.RENDERBUFFER, be, te, E.width, E.height) : r.renderbufferStorage(r.RENDERBUFFER, te, E.width, E.height), r.framebufferRenderbuffer(r.FRAMEBUFFER, Te, r.RENDERBUFFER, N);
21710
21710
  } else {
21711
21711
  const O = E.textures;
21712
- for (let re = 0; re < O.length; re++) {
21713
- const te = O[re], Te = s.convert(te.format, te.colorSpace), be = s.convert(te.type), Oe = A(te.internalFormat, Te, be, te.colorSpace), Be = Q(E);
21712
+ for (let se = 0; se < O.length; se++) {
21713
+ const te = O[se], Te = s.convert(te.format, te.colorSpace), be = s.convert(te.type), Oe = A(te.internalFormat, Te, be, te.colorSpace), Be = Q(E);
21714
21714
  W && we(E) === !1 ? r.renderbufferStorageMultisample(r.RENDERBUFFER, Be, Oe, E.width, E.height) : we(E) ? o.renderbufferStorageMultisampleEXT(r.RENDERBUFFER, Be, Oe, E.width, E.height) : r.renderbufferStorage(r.RENDERBUFFER, Oe, E.width, E.height);
21715
21715
  }
21716
21716
  }
@@ -21722,11 +21722,11 @@ function h3(r, e, t, n, i, s, a) {
21722
21722
  throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");
21723
21723
  const O = n.get(E.depthTexture);
21724
21724
  O.__renderTarget = E, (!O.__webglTexture || E.depthTexture.image.width !== E.width || E.depthTexture.image.height !== E.height) && (E.depthTexture.image.width = E.width, E.depthTexture.image.height = E.height, E.depthTexture.needsUpdate = !0), ee(E.depthTexture, 0);
21725
- const re = O.__webglTexture, te = Q(E);
21726
- if (E.depthTexture.format === cs)
21727
- we(E) ? o.framebufferTexture2DMultisampleEXT(r.FRAMEBUFFER, r.DEPTH_ATTACHMENT, r.TEXTURE_2D, re, 0, te) : r.framebufferTexture2D(r.FRAMEBUFFER, r.DEPTH_ATTACHMENT, r.TEXTURE_2D, re, 0);
21728
- else if (E.depthTexture.format === hs)
21729
- we(E) ? o.framebufferTexture2DMultisampleEXT(r.FRAMEBUFFER, r.DEPTH_STENCIL_ATTACHMENT, r.TEXTURE_2D, re, 0, te) : r.framebufferTexture2D(r.FRAMEBUFFER, r.DEPTH_STENCIL_ATTACHMENT, r.TEXTURE_2D, re, 0);
21725
+ const se = O.__webglTexture, te = Q(E);
21726
+ if (E.depthTexture.format === hs)
21727
+ we(E) ? o.framebufferTexture2DMultisampleEXT(r.FRAMEBUFFER, r.DEPTH_ATTACHMENT, r.TEXTURE_2D, se, 0, te) : r.framebufferTexture2D(r.FRAMEBUFFER, r.DEPTH_ATTACHMENT, r.TEXTURE_2D, se, 0);
21728
+ else if (E.depthTexture.format === us)
21729
+ we(E) ? o.framebufferTexture2DMultisampleEXT(r.FRAMEBUFFER, r.DEPTH_STENCIL_ATTACHMENT, r.TEXTURE_2D, se, 0, te) : r.framebufferTexture2D(r.FRAMEBUFFER, r.DEPTH_STENCIL_ATTACHMENT, r.TEXTURE_2D, se, 0);
21730
21730
  else
21731
21731
  throw new Error("Unknown depthTexture format");
21732
21732
  }
@@ -21735,10 +21735,10 @@ function h3(r, e, t, n, i, s, a) {
21735
21735
  if (E.__boundDepthTexture !== N.depthTexture) {
21736
21736
  const O = N.depthTexture;
21737
21737
  if (E.__depthDisposeCallback && E.__depthDisposeCallback(), O) {
21738
- const re = () => {
21739
- delete E.__boundDepthTexture, delete E.__depthDisposeCallback, O.removeEventListener("dispose", re);
21738
+ const se = () => {
21739
+ delete E.__boundDepthTexture, delete E.__depthDisposeCallback, O.removeEventListener("dispose", se);
21740
21740
  };
21741
- O.addEventListener("dispose", re), E.__depthDisposeCallback = re;
21741
+ O.addEventListener("dispose", se), E.__depthDisposeCallback = se;
21742
21742
  }
21743
21743
  E.__boundDepthTexture = O;
21744
21744
  }
@@ -21752,16 +21752,16 @@ function h3(r, e, t, n, i, s, a) {
21752
21752
  if (t.bindFramebuffer(r.FRAMEBUFFER, E.__webglFramebuffer[O]), E.__webglDepthbuffer[O] === void 0)
21753
21753
  E.__webglDepthbuffer[O] = r.createRenderbuffer(), me(E.__webglDepthbuffer[O], N, !1);
21754
21754
  else {
21755
- const re = N.stencilBuffer ? r.DEPTH_STENCIL_ATTACHMENT : r.DEPTH_ATTACHMENT, te = E.__webglDepthbuffer[O];
21756
- r.bindRenderbuffer(r.RENDERBUFFER, te), r.framebufferRenderbuffer(r.FRAMEBUFFER, re, r.RENDERBUFFER, te);
21755
+ const se = N.stencilBuffer ? r.DEPTH_STENCIL_ATTACHMENT : r.DEPTH_ATTACHMENT, te = E.__webglDepthbuffer[O];
21756
+ r.bindRenderbuffer(r.RENDERBUFFER, te), r.framebufferRenderbuffer(r.FRAMEBUFFER, se, r.RENDERBUFFER, te);
21757
21757
  }
21758
21758
  } else {
21759
21759
  const O = N.texture.mipmaps;
21760
21760
  if (O && O.length > 0 ? t.bindFramebuffer(r.FRAMEBUFFER, E.__webglFramebuffer[0]) : t.bindFramebuffer(r.FRAMEBUFFER, E.__webglFramebuffer), E.__webglDepthbuffer === void 0)
21761
21761
  E.__webglDepthbuffer = r.createRenderbuffer(), me(E.__webglDepthbuffer, N, !1);
21762
21762
  else {
21763
- const re = N.stencilBuffer ? r.DEPTH_STENCIL_ATTACHMENT : r.DEPTH_ATTACHMENT, te = E.__webglDepthbuffer;
21764
- r.bindRenderbuffer(r.RENDERBUFFER, te), r.framebufferRenderbuffer(r.FRAMEBUFFER, re, r.RENDERBUFFER, te);
21763
+ const se = N.stencilBuffer ? r.DEPTH_STENCIL_ATTACHMENT : r.DEPTH_ATTACHMENT, te = E.__webglDepthbuffer;
21764
+ r.bindRenderbuffer(r.RENDERBUFFER, te), r.framebufferRenderbuffer(r.FRAMEBUFFER, se, r.RENDERBUFFER, te);
21765
21765
  }
21766
21766
  }
21767
21767
  t.bindFramebuffer(r.FRAMEBUFFER, null);
@@ -21773,7 +21773,7 @@ function h3(r, e, t, n, i, s, a) {
21773
21773
  function $e(N) {
21774
21774
  const E = N.texture, W = n.get(N), O = n.get(E);
21775
21775
  N.addEventListener("dispose", T);
21776
- const re = N.textures, te = N.isWebGLCubeRenderTarget === !0, Te = re.length > 1;
21776
+ const se = N.textures, te = N.isWebGLCubeRenderTarget === !0, Te = se.length > 1;
21777
21777
  if (Te || (O.__webglTexture === void 0 && (O.__webglTexture = r.createTexture()), O.__version = E.version, a.memory.textures++), te) {
21778
21778
  W.__webglFramebuffer = [];
21779
21779
  for (let be = 0; be < 6; be++)
@@ -21791,14 +21791,14 @@ function h3(r, e, t, n, i, s, a) {
21791
21791
  } else
21792
21792
  W.__webglFramebuffer = r.createFramebuffer();
21793
21793
  if (Te)
21794
- for (let be = 0, Oe = re.length; be < Oe; be++) {
21795
- const Be = n.get(re[be]);
21794
+ for (let be = 0, Oe = se.length; be < Oe; be++) {
21795
+ const Be = n.get(se[be]);
21796
21796
  Be.__webglTexture === void 0 && (Be.__webglTexture = r.createTexture(), a.memory.textures++);
21797
21797
  }
21798
21798
  if (N.samples > 0 && we(N) === !1) {
21799
21799
  W.__webglMultisampledFramebuffer = r.createFramebuffer(), W.__webglColorRenderbuffer = [], t.bindFramebuffer(r.FRAMEBUFFER, W.__webglMultisampledFramebuffer);
21800
- for (let be = 0; be < re.length; be++) {
21801
- const Oe = re[be];
21800
+ for (let be = 0; be < se.length; be++) {
21801
+ const Oe = se[be];
21802
21802
  W.__webglColorRenderbuffer[be] = r.createRenderbuffer(), r.bindRenderbuffer(r.RENDERBUFFER, W.__webglColorRenderbuffer[be]);
21803
21803
  const Be = s.convert(Oe.format, Oe.colorSpace), fe = s.convert(Oe.type), Re = A(Oe.internalFormat, Be, fe, Oe.colorSpace, N.isXRRenderTarget === !0), qe = Q(N);
21804
21804
  r.renderbufferStorageMultisample(r.RENDERBUFFER, qe, Re, N.width, N.height), r.framebufferRenderbuffer(r.FRAMEBUFFER, r.COLOR_ATTACHMENT0 + be, r.RENDERBUFFER, W.__webglColorRenderbuffer[be]);
@@ -21816,8 +21816,8 @@ function h3(r, e, t, n, i, s, a) {
21816
21816
  Me(W.__webglFramebuffer[be], N, E, r.COLOR_ATTACHMENT0, r.TEXTURE_CUBE_MAP_POSITIVE_X + be, 0);
21817
21817
  g(E) && p(r.TEXTURE_CUBE_MAP), t.unbindTexture();
21818
21818
  } else if (Te) {
21819
- for (let be = 0, Oe = re.length; be < Oe; be++) {
21820
- const Be = re[be], fe = n.get(Be);
21819
+ for (let be = 0, Oe = se.length; be < Oe; be++) {
21820
+ const Be = se[be], fe = n.get(Be);
21821
21821
  t.bindTexture(r.TEXTURE_2D, fe.__webglTexture), Ce(r.TEXTURE_2D, Be), Me(W.__webglFramebuffer, N, Be, r.COLOR_ATTACHMENT0 + be, r.TEXTURE_2D, 0), g(Be) && p(r.TEXTURE_2D);
21822
21822
  }
21823
21823
  t.unbindTexture();
@@ -21835,9 +21835,9 @@ function h3(r, e, t, n, i, s, a) {
21835
21835
  function F(N) {
21836
21836
  const E = N.textures;
21837
21837
  for (let W = 0, O = E.length; W < O; W++) {
21838
- const re = E[W];
21839
- if (g(re)) {
21840
- const te = S(N), Te = n.get(re).__webglTexture;
21838
+ const se = E[W];
21839
+ if (g(se)) {
21840
+ const te = S(N), Te = n.get(se).__webglTexture;
21841
21841
  t.bindTexture(te, Te), p(te), t.unbindTexture();
21842
21842
  }
21843
21843
  }
@@ -21847,7 +21847,7 @@ function h3(r, e, t, n, i, s, a) {
21847
21847
  if (N.samples > 0) {
21848
21848
  if (we(N) === !1) {
21849
21849
  const E = N.textures, W = N.width, O = N.height;
21850
- let re = r.COLOR_BUFFER_BIT;
21850
+ let se = r.COLOR_BUFFER_BIT;
21851
21851
  const te = N.stencilBuffer ? r.DEPTH_STENCIL_ATTACHMENT : r.DEPTH_ATTACHMENT, Te = n.get(N), be = E.length > 1;
21852
21852
  if (be)
21853
21853
  for (let Be = 0; Be < E.length; Be++)
@@ -21856,12 +21856,12 @@ function h3(r, e, t, n, i, s, a) {
21856
21856
  const Oe = N.texture.mipmaps;
21857
21857
  Oe && Oe.length > 0 ? t.bindFramebuffer(r.DRAW_FRAMEBUFFER, Te.__webglFramebuffer[0]) : t.bindFramebuffer(r.DRAW_FRAMEBUFFER, Te.__webglFramebuffer);
21858
21858
  for (let Be = 0; Be < E.length; Be++) {
21859
- if (N.resolveDepthBuffer && (N.depthBuffer && (re |= r.DEPTH_BUFFER_BIT), N.stencilBuffer && N.resolveStencilBuffer && (re |= r.STENCIL_BUFFER_BIT)), be) {
21859
+ if (N.resolveDepthBuffer && (N.depthBuffer && (se |= r.DEPTH_BUFFER_BIT), N.stencilBuffer && N.resolveStencilBuffer && (se |= r.STENCIL_BUFFER_BIT)), be) {
21860
21860
  r.framebufferRenderbuffer(r.READ_FRAMEBUFFER, r.COLOR_ATTACHMENT0, r.RENDERBUFFER, Te.__webglColorRenderbuffer[Be]);
21861
21861
  const fe = n.get(E[Be]).__webglTexture;
21862
21862
  r.framebufferTexture2D(r.DRAW_FRAMEBUFFER, r.COLOR_ATTACHMENT0, r.TEXTURE_2D, fe, 0);
21863
21863
  }
21864
- r.blitFramebuffer(0, 0, W, O, 0, 0, W, O, re, r.NEAREST), l === !0 && (Mt.length = 0, $.length = 0, Mt.push(r.COLOR_ATTACHMENT0 + Be), N.depthBuffer && N.resolveDepthBuffer === !1 && (Mt.push(te), $.push(te), r.invalidateFramebuffer(r.DRAW_FRAMEBUFFER, $)), r.invalidateFramebuffer(r.READ_FRAMEBUFFER, Mt));
21864
+ r.blitFramebuffer(0, 0, W, O, 0, 0, W, O, se, r.NEAREST), l === !0 && (Mt.length = 0, $.length = 0, Mt.push(r.COLOR_ATTACHMENT0 + Be), N.depthBuffer && N.resolveDepthBuffer === !1 && (Mt.push(te), $.push(te), r.invalidateFramebuffer(r.DRAW_FRAMEBUFFER, $)), r.invalidateFramebuffer(r.READ_FRAMEBUFFER, Mt));
21865
21865
  }
21866
21866
  if (t.bindFramebuffer(r.READ_FRAMEBUFFER, null), t.bindFramebuffer(r.DRAW_FRAMEBUFFER, null), be)
21867
21867
  for (let Be = 0; Be < E.length; Be++) {
@@ -21883,13 +21883,13 @@ function h3(r, e, t, n, i, s, a) {
21883
21883
  const E = n.get(N);
21884
21884
  return N.samples > 0 && e.has("WEBGL_multisampled_render_to_texture") === !0 && E.__useRenderToTexture !== !1;
21885
21885
  }
21886
- function ae(N) {
21886
+ function re(N) {
21887
21887
  const E = a.render.frame;
21888
21888
  h.get(N) !== E && (h.set(N, E), N.update());
21889
21889
  }
21890
21890
  function oe(N, E) {
21891
- const W = N.colorSpace, O = N.format, re = N.type;
21892
- return N.isCompressedTexture === !0 || N.isVideoTexture === !0 || W !== Or && W !== Ti && (vt.getTransfer(W) === Ut ? (O !== Fn || re !== ti) && console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.") : console.error("THREE.WebGLTextures: Unsupported texture color space:", W)), E;
21891
+ const W = N.colorSpace, O = N.format, se = N.type;
21892
+ return N.isCompressedTexture === !0 || N.isVideoTexture === !0 || W !== Or && W !== Ti && (vt.getTransfer(W) === Ut ? (O !== Fn || se !== ti) && console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.") : console.error("THREE.WebGLTextures: Unsupported texture color space:", W)), E;
21893
21893
  }
21894
21894
  function Ie(N) {
21895
21895
  return typeof HTMLImageElement < "u" && N instanceof HTMLImageElement ? (c.width = N.naturalWidth || N.width, c.height = N.naturalHeight || N.height) : typeof VideoFrame < "u" && N instanceof VideoFrame ? (c.width = N.displayWidth, c.height = N.displayHeight) : (c.width = N.width, c.height = N.height), c;
@@ -21906,35 +21906,35 @@ function u3(r, e) {
21906
21906
  if (n === Du) return r.UNSIGNED_INT_5_9_9_9_REV;
21907
21907
  if (n === Lu) return r.BYTE;
21908
21908
  if (n === Pu) return r.SHORT;
21909
- if (n === os) return r.UNSIGNED_SHORT;
21909
+ if (n === ls) return r.UNSIGNED_SHORT;
21910
21910
  if (n === Fl) return r.INT;
21911
21911
  if (n === $i) return r.UNSIGNED_INT;
21912
21912
  if (n === Qn) return r.FLOAT;
21913
- if (n === fs) return r.HALF_FLOAT;
21913
+ if (n === ps) return r.HALF_FLOAT;
21914
21914
  if (n === Iu) return r.ALPHA;
21915
21915
  if (n === Uu) return r.RGB;
21916
21916
  if (n === Fn) return r.RGBA;
21917
- if (n === cs) return r.DEPTH_COMPONENT;
21918
- if (n === hs) return r.DEPTH_STENCIL;
21917
+ if (n === hs) return r.DEPTH_COMPONENT;
21918
+ if (n === us) return r.DEPTH_STENCIL;
21919
21919
  if (n === Nu) return r.RED;
21920
21920
  if (n === Bl) return r.RED_INTEGER;
21921
21921
  if (n === Fu) return r.RG;
21922
21922
  if (n === kl) return r.RG_INTEGER;
21923
21923
  if (n === Vl) return r.RGBA_INTEGER;
21924
- if (n === oa || n === la || n === ca || n === ha)
21924
+ if (n === ca || n === ha || n === ua || n === da)
21925
21925
  if (a === Ut)
21926
21926
  if (s = e.get("WEBGL_compressed_texture_s3tc_srgb"), s !== null) {
21927
- if (n === oa) return s.COMPRESSED_SRGB_S3TC_DXT1_EXT;
21928
- if (n === la) return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;
21929
- if (n === ca) return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;
21930
- if (n === ha) return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT;
21927
+ if (n === ca) return s.COMPRESSED_SRGB_S3TC_DXT1_EXT;
21928
+ if (n === ha) return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;
21929
+ if (n === ua) return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;
21930
+ if (n === da) return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT;
21931
21931
  } else
21932
21932
  return null;
21933
21933
  else if (s = e.get("WEBGL_compressed_texture_s3tc"), s !== null) {
21934
- if (n === oa) return s.COMPRESSED_RGB_S3TC_DXT1_EXT;
21935
- if (n === la) return s.COMPRESSED_RGBA_S3TC_DXT1_EXT;
21936
- if (n === ca) return s.COMPRESSED_RGBA_S3TC_DXT3_EXT;
21937
- if (n === ha) return s.COMPRESSED_RGBA_S3TC_DXT5_EXT;
21934
+ if (n === ca) return s.COMPRESSED_RGB_S3TC_DXT1_EXT;
21935
+ if (n === ha) return s.COMPRESSED_RGBA_S3TC_DXT1_EXT;
21936
+ if (n === ua) return s.COMPRESSED_RGBA_S3TC_DXT3_EXT;
21937
+ if (n === da) return s.COMPRESSED_RGBA_S3TC_DXT5_EXT;
21938
21938
  } else
21939
21939
  return null;
21940
21940
  if (n === jo || n === qo || n === Yo || n === $o)
@@ -21969,22 +21969,22 @@ function u3(r, e) {
21969
21969
  if (n === dl) return a === Ut ? s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR : s.COMPRESSED_RGBA_ASTC_12x12_KHR;
21970
21970
  } else
21971
21971
  return null;
21972
- if (n === ua || n === fl || n === pl)
21972
+ if (n === fa || n === fl || n === pl)
21973
21973
  if (s = e.get("EXT_texture_compression_bptc"), s !== null) {
21974
- if (n === ua) return a === Ut ? s.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT : s.COMPRESSED_RGBA_BPTC_UNORM_EXT;
21974
+ if (n === fa) return a === Ut ? s.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT : s.COMPRESSED_RGBA_BPTC_UNORM_EXT;
21975
21975
  if (n === fl) return s.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;
21976
21976
  if (n === pl) return s.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT;
21977
21977
  } else
21978
21978
  return null;
21979
21979
  if (n === Ou || n === ml || n === gl || n === _l)
21980
21980
  if (s = e.get("EXT_texture_compression_rgtc"), s !== null) {
21981
- if (n === ua) return s.COMPRESSED_RED_RGTC1_EXT;
21981
+ if (n === fa) return s.COMPRESSED_RED_RGTC1_EXT;
21982
21982
  if (n === ml) return s.COMPRESSED_SIGNED_RED_RGTC1_EXT;
21983
21983
  if (n === gl) return s.COMPRESSED_RED_GREEN_RGTC2_EXT;
21984
21984
  if (n === _l) return s.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT;
21985
21985
  } else
21986
21986
  return null;
21987
- return n === ls ? r.UNSIGNED_INT_24_8 : r[n] !== void 0 ? r[n] : null;
21987
+ return n === cs ? r.UNSIGNED_INT_24_8 : r[n] !== void 0 ? r[n] : null;
21988
21988
  }
21989
21989
  return { convert: t };
21990
21990
  }
@@ -22050,7 +22050,7 @@ class p3 {
22050
22050
  depthHeight: { value: t.w }
22051
22051
  }
22052
22052
  });
22053
- this.mesh = new Pt(new Ia(20, 20), n);
22053
+ this.mesh = new Pt(new Ua(20, 20), n);
22054
22054
  }
22055
22055
  return this.mesh;
22056
22056
  }
@@ -22092,20 +22092,20 @@ class m3 extends Ji {
22092
22092
  let C = null, z = null;
22093
22093
  this.cameraAutoUpdate = !0, this.enabled = !1, this.isPresenting = !1, this.getController = function(Y) {
22094
22094
  let ie = A[Y];
22095
- return ie === void 0 && (ie = new ho(), A[Y] = ie), ie.getTargetRaySpace();
22095
+ return ie === void 0 && (ie = new uo(), A[Y] = ie), ie.getTargetRaySpace();
22096
22096
  }, this.getControllerGrip = function(Y) {
22097
22097
  let ie = A[Y];
22098
- return ie === void 0 && (ie = new ho(), A[Y] = ie), ie.getGripSpace();
22098
+ return ie === void 0 && (ie = new uo(), A[Y] = ie), ie.getGripSpace();
22099
22099
  }, this.getHand = function(Y) {
22100
22100
  let ie = A[Y];
22101
- return ie === void 0 && (ie = new ho(), A[Y] = ie), ie.getHandSpace();
22101
+ return ie === void 0 && (ie = new uo(), A[Y] = ie), ie.getHandSpace();
22102
22102
  };
22103
22103
  function V(Y) {
22104
22104
  const ie = x.indexOf(Y.inputSource);
22105
22105
  if (ie === -1)
22106
22106
  return;
22107
- const se = A[ie];
22108
- se !== void 0 && (se.update(Y.inputSource, Y.frame, c || a), se.dispatchEvent({ type: Y.type, data: Y.inputSource }));
22107
+ const ae = A[ie];
22108
+ ae !== void 0 && (ae.update(Y.inputSource, Y.frame, c || a), ae.dispatchEvent({ type: Y.type, data: Y.inputSource }));
22109
22109
  }
22110
22110
  function G() {
22111
22111
  i.removeEventListener("select", V), i.removeEventListener("selectstart", V), i.removeEventListener("selectend", V), i.removeEventListener("squeeze", V), i.removeEventListener("squeezestart", V), i.removeEventListener("squeezeend", V), i.removeEventListener("end", G), i.removeEventListener("inputsourceschange", ee);
@@ -22134,8 +22134,8 @@ class m3 extends Ji {
22134
22134
  }, this.setSession = async function(Y) {
22135
22135
  if (i = Y, i !== null) {
22136
22136
  if (p = e.getRenderTarget(), i.addEventListener("select", V), i.addEventListener("selectstart", V), i.addEventListener("selectend", V), i.addEventListener("squeeze", V), i.addEventListener("squeezestart", V), i.addEventListener("squeezeend", V), i.addEventListener("end", G), i.addEventListener("inputsourceschange", ee), g.xrCompatible !== !0 && await t.makeXRCompatible(), R = e.getPixelRatio(), e.getSize(U), typeof XRWebGLBinding < "u" && "createProjectionLayer" in XRWebGLBinding.prototype) {
22137
- let se = null, le = null, Me = null;
22138
- g.depth && (Me = g.stencil ? t.DEPTH24_STENCIL8 : t.DEPTH_COMPONENT24, se = g.stencil ? hs : cs, le = g.stencil ? ls : $i);
22137
+ let ae = null, le = null, Me = null;
22138
+ g.depth && (Me = g.stencil ? t.DEPTH24_STENCIL8 : t.DEPTH_COMPONENT24, ae = g.stencil ? us : hs, le = g.stencil ? cs : $i);
22139
22139
  const me = {
22140
22140
  colorFormat: t.RGBA8,
22141
22141
  depthFormat: Me,
@@ -22147,7 +22147,7 @@ class m3 extends Ji {
22147
22147
  {
22148
22148
  format: Fn,
22149
22149
  type: ti,
22150
- depthTexture: new Zu(d.textureWidth, d.textureHeight, le, void 0, void 0, void 0, void 0, void 0, void 0, se),
22150
+ depthTexture: new Zu(d.textureWidth, d.textureHeight, le, void 0, void 0, void 0, void 0, void 0, void 0, ae),
22151
22151
  stencilBuffer: g.stencil,
22152
22152
  colorSpace: e.outputColorSpace,
22153
22153
  samples: g.antialias ? 4 : 0,
@@ -22156,14 +22156,14 @@ class m3 extends Ji {
22156
22156
  }
22157
22157
  );
22158
22158
  } else {
22159
- const se = {
22159
+ const ae = {
22160
22160
  antialias: g.antialias,
22161
22161
  alpha: !0,
22162
22162
  depth: g.depth,
22163
22163
  stencil: g.stencil,
22164
22164
  framebufferScaleFactor: s
22165
22165
  };
22166
- f = new XRWebGLLayer(i, t, se), i.updateRenderState({ baseLayer: f }), e.setPixelRatio(1), e.setSize(f.framebufferWidth, f.framebufferHeight, !1), S = new Ki(
22166
+ f = new XRWebGLLayer(i, t, ae), i.updateRenderState({ baseLayer: f }), e.setPixelRatio(1), e.setSize(f.framebufferWidth, f.framebufferHeight, !1), S = new Ki(
22167
22167
  f.framebufferWidth,
22168
22168
  f.framebufferHeight,
22169
22169
  {
@@ -22186,36 +22186,36 @@ class m3 extends Ji {
22186
22186
  };
22187
22187
  function ee(Y) {
22188
22188
  for (let ie = 0; ie < Y.removed.length; ie++) {
22189
- const se = Y.removed[ie], le = x.indexOf(se);
22190
- le >= 0 && (x[le] = null, A[le].disconnect(se));
22189
+ const ae = Y.removed[ie], le = x.indexOf(ae);
22190
+ le >= 0 && (x[le] = null, A[le].disconnect(ae));
22191
22191
  }
22192
22192
  for (let ie = 0; ie < Y.added.length; ie++) {
22193
- const se = Y.added[ie];
22194
- let le = x.indexOf(se);
22193
+ const ae = Y.added[ie];
22194
+ let le = x.indexOf(ae);
22195
22195
  if (le === -1) {
22196
22196
  for (let me = 0; me < A.length; me++)
22197
22197
  if (me >= x.length) {
22198
- x.push(se), le = me;
22198
+ x.push(ae), le = me;
22199
22199
  break;
22200
22200
  } else if (x[me] === null) {
22201
- x[me] = se, le = me;
22201
+ x[me] = ae, le = me;
22202
22202
  break;
22203
22203
  }
22204
22204
  if (le === -1) break;
22205
22205
  }
22206
22206
  const Me = A[le];
22207
- Me && Me.connect(se);
22207
+ Me && Me.connect(ae);
22208
22208
  }
22209
22209
  }
22210
22210
  const B = new k(), Z = new k();
22211
- function j(Y, ie, se) {
22212
- B.setFromMatrixPosition(ie.matrixWorld), Z.setFromMatrixPosition(se.matrixWorld);
22213
- const le = B.distanceTo(Z), Me = ie.projectionMatrix.elements, me = se.projectionMatrix.elements, Se = Me[14] / (Me[10] - 1), ze = Me[14] / (Me[10] + 1), Ze = (Me[9] + 1) / Me[5], $e = (Me[9] - 1) / Me[5], F = (Me[8] - 1) / Me[0], Mt = (me[8] + 1) / me[0], $ = Se * F, de = Se * Mt, Q = le / (-F + Mt), we = Q * -F;
22211
+ function j(Y, ie, ae) {
22212
+ B.setFromMatrixPosition(ie.matrixWorld), Z.setFromMatrixPosition(ae.matrixWorld);
22213
+ const le = B.distanceTo(Z), Me = ie.projectionMatrix.elements, me = ae.projectionMatrix.elements, Se = Me[14] / (Me[10] - 1), ze = Me[14] / (Me[10] + 1), Ze = (Me[9] + 1) / Me[5], $e = (Me[9] - 1) / Me[5], F = (Me[8] - 1) / Me[0], Mt = (me[8] + 1) / me[0], $ = Se * F, de = Se * Mt, Q = le / (-F + Mt), we = Q * -F;
22214
22214
  if (ie.matrixWorld.decompose(Y.position, Y.quaternion, Y.scale), Y.translateX(we), Y.translateZ(Q), Y.matrixWorld.compose(Y.position, Y.quaternion, Y.scale), Y.matrixWorldInverse.copy(Y.matrixWorld).invert(), Me[10] === -1)
22215
22215
  Y.projectionMatrix.copy(ie.projectionMatrix), Y.projectionMatrixInverse.copy(ie.projectionMatrixInverse);
22216
22216
  else {
22217
- const ae = Se + Q, oe = ze + Q, Ie = $ - we, N = de + (le - we), E = Ze * ze / oe * ae, W = $e * ze / oe * ae;
22218
- Y.projectionMatrix.makePerspective(Ie, N, E, W, ae, oe), Y.projectionMatrixInverse.copy(Y.projectionMatrix).invert();
22217
+ const re = Se + Q, oe = ze + Q, Ie = $ - we, N = de + (le - we), E = Ze * ze / oe * re, W = $e * ze / oe * re;
22218
+ Y.projectionMatrix.makePerspective(Ie, N, E, W, re, oe), Y.projectionMatrixInverse.copy(Y.projectionMatrix).invert();
22219
22219
  }
22220
22220
  }
22221
22221
  function he(Y, ie) {
@@ -22223,8 +22223,8 @@ class m3 extends Ji {
22223
22223
  }
22224
22224
  this.updateCamera = function(Y) {
22225
22225
  if (i === null) return;
22226
- let ie = Y.near, se = Y.far;
22227
- _.texture !== null && (_.depthNear > 0 && (ie = _.depthNear), _.depthFar > 0 && (se = _.depthFar)), y.near = I.near = T.near = ie, y.far = I.far = T.far = se, (C !== y.near || z !== y.far) && (i.updateRenderState({
22226
+ let ie = Y.near, ae = Y.far;
22227
+ _.texture !== null && (_.depthNear > 0 && (ie = _.depthNear), _.depthFar > 0 && (ae = _.depthFar)), y.near = I.near = T.near = ie, y.far = I.far = T.far = ae, (C !== y.near || z !== y.far) && (i.updateRenderState({
22228
22228
  depthNear: y.near,
22229
22229
  depthFar: y.far
22230
22230
  }), C = y.near, z = y.far), T.layers.mask = Y.layers.mask | 2, I.layers.mask = Y.layers.mask | 4, y.layers.mask = T.layers.mask | I.layers.mask;
@@ -22234,8 +22234,8 @@ class m3 extends Ji {
22234
22234
  he(Me[me], le);
22235
22235
  Me.length === 2 ? j(y, T, I) : y.projectionMatrix.copy(T.projectionMatrix), _e(Y, y, le);
22236
22236
  };
22237
- function _e(Y, ie, se) {
22238
- se === null ? Y.matrix.copy(ie.matrixWorld) : (Y.matrix.copy(se.matrixWorld), Y.matrix.invert(), Y.matrix.multiply(ie.matrixWorld)), Y.matrix.decompose(Y.position, Y.quaternion, Y.scale), Y.updateMatrixWorld(!0), Y.projectionMatrix.copy(ie.projectionMatrix), Y.projectionMatrixInverse.copy(ie.projectionMatrixInverse), Y.isPerspectiveCamera && (Y.fov = zr * 2 * Math.atan(1 / Y.projectionMatrix.elements[5]), Y.zoom = 1);
22237
+ function _e(Y, ie, ae) {
22238
+ ae === null ? Y.matrix.copy(ie.matrixWorld) : (Y.matrix.copy(ae.matrixWorld), Y.matrix.invert(), Y.matrix.multiply(ie.matrixWorld)), Y.matrix.decompose(Y.position, Y.quaternion, Y.scale), Y.updateMatrixWorld(!0), Y.projectionMatrix.copy(ie.projectionMatrix), Y.projectionMatrixInverse.copy(ie.projectionMatrixInverse), Y.isPerspectiveCamera && (Y.fov = zr * 2 * Math.atan(1 / Y.projectionMatrix.elements[5]), Y.zoom = 1);
22239
22239
  }
22240
22240
  this.getCamera = function() {
22241
22241
  return y;
@@ -22252,12 +22252,12 @@ class m3 extends Ji {
22252
22252
  let ce = null;
22253
22253
  function Ce(Y, ie) {
22254
22254
  if (h = ie.getViewerPose(c || a), m = ie, h !== null) {
22255
- const se = h.views;
22255
+ const ae = h.views;
22256
22256
  f !== null && (e.setRenderTargetFramebuffer(S, f.framebuffer), e.setRenderTarget(S));
22257
22257
  let le = !1;
22258
- se.length !== y.cameras.length && (y.cameras.length = 0, le = !0);
22259
- for (let Se = 0; Se < se.length; Se++) {
22260
- const ze = se[Se];
22258
+ ae.length !== y.cameras.length && (y.cameras.length = 0, le = !0);
22259
+ for (let Se = 0; Se < ae.length; Se++) {
22260
+ const ze = ae[Se];
22261
22261
  let Ze = null;
22262
22262
  if (f !== null)
22263
22263
  Ze = f.getViewport(ze);
@@ -22274,12 +22274,12 @@ class m3 extends Ji {
22274
22274
  }
22275
22275
  const Me = i.enabledFeatures;
22276
22276
  if (Me && Me.includes("depth-sensing") && i.depthUsage == "gpu-optimized" && u) {
22277
- const Se = u.getDepthInformation(se[0]);
22277
+ const Se = u.getDepthInformation(ae[0]);
22278
22278
  Se && Se.isValid && Se.texture && _.init(e, Se, i.renderState);
22279
22279
  }
22280
22280
  }
22281
- for (let se = 0; se < A.length; se++) {
22282
- const le = x[se], Me = A[se];
22281
+ for (let ae = 0; ae < A.length; ae++) {
22282
+ const le = x[ae], Me = A[ae];
22283
22283
  le !== null && Me !== void 0 && Me.update(le, ie, c || a);
22284
22284
  }
22285
22285
  ce && ce(Y, ie), ie.detectedPlanes && n.dispatchEvent({ type: "planesdetected", data: ie }), m = null;
@@ -22501,7 +22501,7 @@ class j_ {
22501
22501
  const ce = new xt(0, 0, B, Z), Ce = new xt(0, 0, B, Z);
22502
22502
  let Ae = !1;
22503
22503
  const Y = new $l();
22504
- let ie = !1, se = !1;
22504
+ let ie = !1, ae = !1;
22505
22505
  const le = new ut(), Me = new ut(), me = new k(), Se = new xt(), ze = { background: null, fog: null, environment: null, overrideMaterial: null, isScene: !0 };
22506
22506
  let Ze = !1;
22507
22507
  function $e() {
@@ -22530,9 +22530,9 @@ class j_ {
22530
22530
  } catch (L) {
22531
22531
  throw console.error("THREE.WebGLRenderer: " + L.message), L;
22532
22532
  }
22533
- let $, de, Q, we, ae, oe, Ie, N, E, W, O, re, te, Te, be, Oe, Be, fe, Re, qe, Qe, Le, at, H;
22533
+ let $, de, Q, we, re, oe, Ie, N, E, W, O, se, te, Te, be, Oe, Be, fe, Re, qe, Qe, Le, at, H;
22534
22534
  function Ue() {
22535
- $ = new C2(F), $.init(), Le = new u3(F, $), de = new b2(F, $, e, Le), Q = new c3(F, $), de.reverseDepthBuffer && d && Q.buffers.depth.setReversed(!0), we = new D2(F), ae = new Kg(), oe = new h3(F, $, Q, ae, de, Le, we), Ie = new E2(x), N = new R2(x), E = new z0(F), at = new x2(F, E), W = new L2(F, E, we, at), O = new U2(F, W, E, we), Re = new I2(F, de, oe), Oe = new S2(ae), re = new $g(x, Ie, N, $, de, at, Oe), te = new _3(x, ae), Te = new Zg(), be = new r3($), fe = new y2(x, Ie, N, Q, O, f, l), Be = new o3(x, O, de), H = new v3(F, we, de, Q), qe = new M2(F, $, we), Qe = new P2(F, $, we), we.programs = re.programs, x.capabilities = de, x.extensions = $, x.properties = ae, x.renderLists = Te, x.shadowMap = Be, x.state = Q, x.info = we;
22535
+ $ = new C2(F), $.init(), Le = new u3(F, $), de = new b2(F, $, e, Le), Q = new c3(F, $), de.reverseDepthBuffer && d && Q.buffers.depth.setReversed(!0), we = new D2(F), re = new Kg(), oe = new h3(F, $, Q, re, de, Le, we), Ie = new E2(x), N = new R2(x), E = new z0(F), at = new x2(F, E), W = new L2(F, E, we, at), O = new U2(F, W, E, we), Re = new I2(F, de, oe), Oe = new S2(re), se = new $g(x, Ie, N, $, de, at, Oe), te = new _3(x, re), Te = new Zg(), be = new r3($), fe = new y2(x, Ie, N, Q, O, f, l), Be = new o3(x, O, de), H = new v3(F, we, de, Q), qe = new M2(F, $, we), Qe = new P2(F, $, we), we.programs = se.programs, x.capabilities = de, x.extensions = $, x.properties = re, x.renderLists = Te, x.shadowMap = Be, x.state = Q, x.info = we;
22536
22536
  }
22537
22537
  Ue();
22538
22538
  const ge = new m3(x, F);
@@ -22597,7 +22597,7 @@ class j_ {
22597
22597
  q = xe === Vl || xe === kl || xe === Bl;
22598
22598
  }
22599
22599
  if (q) {
22600
- const xe = I.texture.type, Ne = xe === ti || xe === $i || xe === os || xe === ls || xe === Ol || xe === zl, Xe = fe.getClearColor(), Ve = fe.getClearAlpha(), lt = Xe.r, ct = Xe.g, Je = Xe.b;
22600
+ const xe = I.texture.type, Ne = xe === ti || xe === $i || xe === ls || xe === cs || xe === Ol || xe === zl, Xe = fe.getClearColor(), Ve = fe.getClearAlpha(), lt = Xe.r, ct = Xe.g, Je = Xe.b;
22601
22601
  Ne ? (m[0] = lt, m[1] = ct, m[2] = Je, m[3] = Ve, F.clearBufferuiv(F.COLOR, 0, m)) : (_[0] = lt, _[1] = ct, _[2] = Je, _[3] = Ve, F.clearBufferiv(F.COLOR, 0, _));
22602
22602
  } else
22603
22603
  J |= F.COLOR_BUFFER_BIT;
@@ -22610,7 +22610,7 @@ class j_ {
22610
22610
  }, this.clearStencil = function() {
22611
22611
  this.clear(!1, !1, !0);
22612
22612
  }, this.dispose = function() {
22613
- t.removeEventListener("webglcontextlost", ke, !1), t.removeEventListener("webglcontextrestored", ye, !1), t.removeEventListener("webglcontextcreationerror", pe, !1), fe.dispose(), Te.dispose(), be.dispose(), ae.dispose(), Ie.dispose(), N.dispose(), O.dispose(), at.dispose(), H.dispose(), re.dispose(), ge.dispose(), ge.removeEventListener("sessionstart", Zt), ge.removeEventListener("sessionend", qt), tn.stop();
22613
+ t.removeEventListener("webglcontextlost", ke, !1), t.removeEventListener("webglcontextrestored", ye, !1), t.removeEventListener("webglcontextcreationerror", pe, !1), fe.dispose(), Te.dispose(), be.dispose(), re.dispose(), Ie.dispose(), N.dispose(), O.dispose(), at.dispose(), H.dispose(), se.dispose(), ge.dispose(), ge.removeEventListener("sessionstart", Zt), ge.removeEventListener("sessionend", qt), tn.stop();
22614
22614
  };
22615
22615
  function ke(L) {
22616
22616
  L.preventDefault(), console.log("THREE.WebGLRenderer: Context Lost."), U = !0;
@@ -22628,13 +22628,13 @@ class j_ {
22628
22628
  X.removeEventListener("dispose", Ge), ot(X);
22629
22629
  }
22630
22630
  function ot(L) {
22631
- Ct(L), ae.remove(L);
22631
+ Ct(L), re.remove(L);
22632
22632
  }
22633
22633
  function Ct(L) {
22634
- const X = ae.get(L).programs;
22634
+ const X = re.get(L).programs;
22635
22635
  X !== void 0 && (X.forEach(function(K) {
22636
- re.releaseProgram(K);
22637
- }), L.isShaderMaterial && re.releaseShaderCache(L));
22636
+ se.releaseProgram(K);
22637
+ }), L.isShaderMaterial && se.releaseShaderCache(L));
22638
22638
  }
22639
22639
  this.renderBufferDirect = function(L, X, K, J, q, xe) {
22640
22640
  X === null && (X = ze);
@@ -22664,7 +22664,7 @@ class j_ {
22664
22664
  else if ($.get("WEBGL_multi_draw"))
22665
22665
  bt.renderMultiDraw(q._multiDrawStarts, q._multiDrawCounts, q._multiDrawCount);
22666
22666
  else {
22667
- const it = q._multiDrawStarts, Yt = q._multiDrawCounts, Et = q._multiDrawCount, xn = Ve ? E.get(Ve).bytesPerElement : 1, zt = ae.get(J).currentProgram.getUniforms();
22667
+ const it = q._multiDrawStarts, Yt = q._multiDrawCounts, Et = q._multiDrawCount, xn = Ve ? E.get(Ve).bytesPerElement : 1, zt = re.get(J).currentProgram.getUniforms();
22668
22668
  for (let rn = 0; rn < Et; rn++)
22669
22669
  zt.setValue(F, "_gl_DrawID", rn), bt.render(it[rn] / xn, Yt[rn]);
22670
22670
  }
@@ -22704,7 +22704,7 @@ class j_ {
22704
22704
  return new Promise((q) => {
22705
22705
  function xe() {
22706
22706
  if (J.forEach(function(Ne) {
22707
- ae.get(Ne).currentProgram.isReady() && J.delete(Ne);
22707
+ re.get(Ne).currentProgram.isReady() && J.delete(Ne);
22708
22708
  }), J.size === 0) {
22709
22709
  q(L);
22710
22710
  return;
@@ -22733,7 +22733,7 @@ class j_ {
22733
22733
  return;
22734
22734
  }
22735
22735
  if (U === !0) return;
22736
- if (L.matrixWorldAutoUpdate === !0 && L.updateMatrixWorld(), X.parent === null && X.matrixWorldAutoUpdate === !0 && X.updateMatrixWorld(), ge.enabled === !0 && ge.isPresenting === !0 && (ge.cameraAutoUpdate === !0 && ge.updateCamera(X), X = ge.getCamera()), L.isScene === !0 && L.onBeforeRender(x, L, X, I), p = be.get(L, A.length), p.init(X), A.push(p), Me.multiplyMatrices(X.projectionMatrix, X.matrixWorldInverse), Y.setFromProjectionMatrix(Me), se = this.localClippingEnabled, ie = Oe.init(this.clippingPlanes, se), g = Te.get(L, S.length), g.init(), S.push(g), ge.enabled === !0 && ge.isPresenting === !0) {
22736
+ if (L.matrixWorldAutoUpdate === !0 && L.updateMatrixWorld(), X.parent === null && X.matrixWorldAutoUpdate === !0 && X.updateMatrixWorld(), ge.enabled === !0 && ge.isPresenting === !0 && (ge.cameraAutoUpdate === !0 && ge.updateCamera(X), X = ge.getCamera()), L.isScene === !0 && L.onBeforeRender(x, L, X, I), p = be.get(L, A.length), p.init(X), A.push(p), Me.multiplyMatrices(X.projectionMatrix, X.matrixWorldInverse), Y.setFromProjectionMatrix(Me), ae = this.localClippingEnabled, ie = Oe.init(this.clippingPlanes, ae), g = Te.get(L, S.length), g.init(), S.push(g), ge.enabled === !0 && ge.isPresenting === !0) {
22737
22737
  const xe = x.xr.getDepthSensingMesh();
22738
22738
  xe !== null && Di(xe, X, -1 / 0, x.sortObjects);
22739
22739
  }
@@ -22796,7 +22796,7 @@ class j_ {
22796
22796
  return;
22797
22797
  p.state.transmissionRenderTarget[J.id] === void 0 && (p.state.transmissionRenderTarget[J.id] = new Ki(1, 1, {
22798
22798
  generateMipmaps: !0,
22799
- type: $.has("EXT_color_buffer_half_float") || $.has("EXT_color_buffer_float") ? fs : ti,
22799
+ type: $.has("EXT_color_buffer_half_float") || $.has("EXT_color_buffer_float") ? ps : ti,
22800
22800
  minFilter: fi,
22801
22801
  samples: 4,
22802
22802
  stencilBuffer: s,
@@ -22837,7 +22837,7 @@ class j_ {
22837
22837
  }
22838
22838
  function nn(L, X, K) {
22839
22839
  X.isScene !== !0 && (X = ze);
22840
- const J = ae.get(L), q = p.state.lights, xe = p.state.shadowsArray, Ne = q.state.version, Xe = re.getParameters(L, q.state, xe, X, K), Ve = re.getProgramCacheKey(Xe);
22840
+ const J = re.get(L), q = p.state.lights, xe = p.state.shadowsArray, Ne = q.state.version, Xe = se.getParameters(L, q.state, xe, X, K), Ve = se.getProgramCacheKey(Xe);
22841
22841
  let lt = J.programs;
22842
22842
  J.environment = L.isMeshStandardMaterial ? X.environment : null, J.fog = X.fog, J.envMap = (L.isMeshStandardMaterial ? N : Ie).get(L.envMap || J.environment), J.envMapRotation = J.environment !== null && L.envMap === null ? X.environmentRotation : L.envMapRotation, lt === void 0 && (L.addEventListener("dispose", Ge), lt = /* @__PURE__ */ new Map(), J.programs = lt);
22843
22843
  let ct = lt.get(Ve);
@@ -22845,19 +22845,19 @@ class j_ {
22845
22845
  if (J.currentProgram === ct && J.lightsStateVersion === Ne)
22846
22846
  return cn(L, Xe), ct;
22847
22847
  } else
22848
- Xe.uniforms = re.getUniforms(L), L.onBeforeCompile(Xe, x), ct = re.acquireProgram(Xe, Ve), lt.set(Ve, ct), J.uniforms = Xe.uniforms;
22848
+ Xe.uniforms = se.getUniforms(L), L.onBeforeCompile(Xe, x), ct = se.acquireProgram(Xe, Ve), lt.set(Ve, ct), J.uniforms = Xe.uniforms;
22849
22849
  const Je = J.uniforms;
22850
22850
  return (!L.isShaderMaterial && !L.isRawShaderMaterial || L.clipping === !0) && (Je.clippingPlanes = Oe.uniform), cn(L, Xe), J.needsLights = Qi(L), J.lightsStateVersion = Ne, J.needsLights && (Je.ambientLightColor.value = q.state.ambient, Je.lightProbe.value = q.state.probe, Je.directionalLights.value = q.state.directional, Je.directionalLightShadows.value = q.state.directionalShadow, Je.spotLights.value = q.state.spot, Je.spotLightShadows.value = q.state.spotShadow, Je.rectAreaLights.value = q.state.rectArea, Je.ltc_1.value = q.state.rectAreaLTC1, Je.ltc_2.value = q.state.rectAreaLTC2, Je.pointLights.value = q.state.point, Je.pointLightShadows.value = q.state.pointShadow, Je.hemisphereLights.value = q.state.hemi, Je.directionalShadowMap.value = q.state.directionalShadowMap, Je.directionalShadowMatrix.value = q.state.directionalShadowMatrix, Je.spotShadowMap.value = q.state.spotShadowMap, Je.spotLightMatrix.value = q.state.spotLightMatrix, Je.spotLightMap.value = q.state.spotLightMap, Je.pointShadowMap.value = q.state.pointShadowMap, Je.pointShadowMatrix.value = q.state.pointShadowMatrix), J.currentProgram = ct, J.uniformsList = null, ct;
22851
22851
  }
22852
22852
  function Wt(L) {
22853
22853
  if (L.uniformsList === null) {
22854
22854
  const X = L.currentProgram.getUniforms();
22855
- L.uniformsList = da.seqWithValue(X.seq, L.uniforms);
22855
+ L.uniformsList = pa.seqWithValue(X.seq, L.uniforms);
22856
22856
  }
22857
22857
  return L.uniformsList;
22858
22858
  }
22859
22859
  function cn(L, X) {
22860
- const K = ae.get(L);
22860
+ const K = re.get(L);
22861
22861
  K.outputColorSpace = X.outputColorSpace, K.batching = X.batching, K.batchingColor = X.batchingColor, K.instancing = X.instancing, K.instancingColor = X.instancingColor, K.instancingMorph = X.instancingMorph, K.skinning = X.skinning, K.morphTargets = X.morphTargets, K.morphNormals = X.morphNormals, K.morphColors = X.morphColors, K.morphTargetsCount = X.morphTargetsCount, K.numClippingPlanes = X.numClippingPlanes, K.numIntersection = X.numClipIntersection, K.vertexAlphas = X.vertexAlphas, K.vertexTangents = X.vertexTangents, K.toneMapping = X.toneMapping;
22862
22862
  }
22863
22863
  function En(L, X, K, J, q) {
@@ -22865,8 +22865,8 @@ class j_ {
22865
22865
  const xe = X.fog, Ne = J.isMeshStandardMaterial ? X.environment : null, Xe = I === null ? x.outputColorSpace : I.isXRRenderTarget === !0 ? I.texture.colorSpace : Or, Ve = (J.isMeshStandardMaterial ? N : Ie).get(J.envMap || Ne), lt = J.vertexColors === !0 && !!K.attributes.color && K.attributes.color.itemSize === 4, ct = !!K.attributes.tangent && (!!J.normalMap || J.anisotropy > 0), Je = !!K.morphAttributes.position, pt = !!K.morphAttributes.normal, Tt = !!K.morphAttributes.color;
22866
22866
  let Ot = Ci;
22867
22867
  J.toneMapped && (I === null || I.isXRRenderTarget === !0) && (Ot = x.toneMapping);
22868
- const Bt = K.morphAttributes.position || K.morphAttributes.normal || K.morphAttributes.color, bt = Bt !== void 0 ? Bt.length : 0, it = ae.get(J), Yt = p.state.lights;
22869
- if (ie === !0 && (se === !0 || L !== y)) {
22868
+ const Bt = K.morphAttributes.position || K.morphAttributes.normal || K.morphAttributes.color, bt = Bt !== void 0 ? Bt.length : 0, it = re.get(J), Yt = p.state.lights;
22869
+ if (ie === !0 && (ae === !0 || L !== y)) {
22870
22870
  const Xt = L === y && J.id === b;
22871
22871
  Oe.setState(J, L, Xt);
22872
22872
  }
@@ -22892,7 +22892,7 @@ class j_ {
22892
22892
  }
22893
22893
  q.isBatchedMesh && (Ft.setOptional(F, q, "batchingTexture"), Ft.setValue(F, "batchingTexture", q._matricesTexture, oe), Ft.setOptional(F, q, "batchingIdTexture"), Ft.setValue(F, "batchingIdTexture", q._indirectTexture, oe), Ft.setOptional(F, q, "batchingColorTexture"), q._colorsTexture !== null && Ft.setValue(F, "batchingColorTexture", q._colorsTexture, oe));
22894
22894
  const hn = K.morphAttributes;
22895
- if ((hn.position !== void 0 || hn.normal !== void 0 || hn.color !== void 0) && Re.update(q, K, xn), (rn || it.receiveShadow !== q.receiveShadow) && (it.receiveShadow = q.receiveShadow, Ft.setValue(F, "receiveShadow", q.receiveShadow)), J.isMeshGouraudMaterial && J.envMap !== null && (pn.envMap.value = Ve, pn.flipEnvMap.value = Ve.isCubeTexture && Ve.isRenderTargetTexture === !1 ? -1 : 1), J.isMeshStandardMaterial && J.envMap === null && X.environment !== null && (pn.envMapIntensity.value = X.environmentIntensity), rn && (Ft.setValue(F, "toneMappingExposure", x.toneMappingExposure), it.needsLights && Zi(pn, Ii), xe && J.fog === !0 && te.refreshFogUniforms(pn, xe), te.refreshMaterialUniforms(pn, J, j, Z, p.state.transmissionRenderTarget[L.id]), da.upload(F, Wt(it), pn, oe)), J.isShaderMaterial && J.uniformsNeedUpdate === !0 && (da.upload(F, Wt(it), pn, oe), J.uniformsNeedUpdate = !1), J.isSpriteMaterial && Ft.setValue(F, "center", q.center), Ft.setValue(F, "modelViewMatrix", q.modelViewMatrix), Ft.setValue(F, "normalMatrix", q.normalMatrix), Ft.setValue(F, "modelMatrix", q.matrixWorld), J.isShaderMaterial || J.isRawShaderMaterial) {
22895
+ if ((hn.position !== void 0 || hn.normal !== void 0 || hn.color !== void 0) && Re.update(q, K, xn), (rn || it.receiveShadow !== q.receiveShadow) && (it.receiveShadow = q.receiveShadow, Ft.setValue(F, "receiveShadow", q.receiveShadow)), J.isMeshGouraudMaterial && J.envMap !== null && (pn.envMap.value = Ve, pn.flipEnvMap.value = Ve.isCubeTexture && Ve.isRenderTargetTexture === !1 ? -1 : 1), J.isMeshStandardMaterial && J.envMap === null && X.environment !== null && (pn.envMapIntensity.value = X.environmentIntensity), rn && (Ft.setValue(F, "toneMappingExposure", x.toneMappingExposure), it.needsLights && Zi(pn, Ii), xe && J.fog === !0 && te.refreshFogUniforms(pn, xe), te.refreshMaterialUniforms(pn, J, j, Z, p.state.transmissionRenderTarget[L.id]), pa.upload(F, Wt(it), pn, oe)), J.isShaderMaterial && J.uniformsNeedUpdate === !0 && (pa.upload(F, Wt(it), pn, oe), J.uniformsNeedUpdate = !1), J.isSpriteMaterial && Ft.setValue(F, "center", q.center), Ft.setValue(F, "modelViewMatrix", q.modelViewMatrix), Ft.setValue(F, "normalMatrix", q.normalMatrix), Ft.setValue(F, "modelMatrix", q.matrixWorld), J.isShaderMaterial || J.isRawShaderMaterial) {
22896
22896
  const Xt = J.uniformsGroups;
22897
22897
  for (let $t = 0, ir = Xt.length; $t < ir; $t++) {
22898
22898
  const ii = Xt[$t];
@@ -22914,10 +22914,10 @@ class j_ {
22914
22914
  }, this.getRenderTarget = function() {
22915
22915
  return I;
22916
22916
  }, this.setRenderTargetTextures = function(L, X, K) {
22917
- const J = ae.get(L);
22918
- J.__autoAllocateDepthBuffer = L.resolveDepthBuffer === !1, J.__autoAllocateDepthBuffer === !1 && (J.__useRenderToTexture = !1), ae.get(L.texture).__webglTexture = X, ae.get(L.depthTexture).__webglTexture = J.__autoAllocateDepthBuffer ? void 0 : K, J.__hasExternalTextures = !0;
22917
+ const J = re.get(L);
22918
+ J.__autoAllocateDepthBuffer = L.resolveDepthBuffer === !1, J.__autoAllocateDepthBuffer === !1 && (J.__useRenderToTexture = !1), re.get(L.texture).__webglTexture = X, re.get(L.depthTexture).__webglTexture = J.__autoAllocateDepthBuffer ? void 0 : K, J.__hasExternalTextures = !0;
22919
22919
  }, this.setRenderTargetFramebuffer = function(L, X) {
22920
- const K = ae.get(L);
22920
+ const K = re.get(L);
22921
22921
  K.__webglFramebuffer = X, K.__useDefaultFramebuffer = X === void 0;
22922
22922
  };
22923
22923
  const er = F.createFramebuffer();
@@ -22925,35 +22925,35 @@ class j_ {
22925
22925
  I = L, R = X, T = K;
22926
22926
  let J = !0, q = null, xe = !1, Ne = !1;
22927
22927
  if (L) {
22928
- const Ve = ae.get(L);
22928
+ const Ve = re.get(L);
22929
22929
  if (Ve.__useDefaultFramebuffer !== void 0)
22930
22930
  Q.bindFramebuffer(F.FRAMEBUFFER, null), J = !1;
22931
22931
  else if (Ve.__webglFramebuffer === void 0)
22932
22932
  oe.setupRenderTarget(L);
22933
22933
  else if (Ve.__hasExternalTextures)
22934
- oe.rebindTextures(L, ae.get(L.texture).__webglTexture, ae.get(L.depthTexture).__webglTexture);
22934
+ oe.rebindTextures(L, re.get(L.texture).__webglTexture, re.get(L.depthTexture).__webglTexture);
22935
22935
  else if (L.depthBuffer) {
22936
22936
  const Je = L.depthTexture;
22937
22937
  if (Ve.__boundDepthTexture !== Je) {
22938
- if (Je !== null && ae.has(Je) && (L.width !== Je.image.width || L.height !== Je.image.height))
22938
+ if (Je !== null && re.has(Je) && (L.width !== Je.image.width || L.height !== Je.image.height))
22939
22939
  throw new Error("WebGLRenderTarget: Attached DepthTexture is initialized to the incorrect size.");
22940
22940
  oe.setupDepthRenderbuffer(L);
22941
22941
  }
22942
22942
  }
22943
22943
  const lt = L.texture;
22944
22944
  (lt.isData3DTexture || lt.isDataArrayTexture || lt.isCompressedArrayTexture) && (Ne = !0);
22945
- const ct = ae.get(L).__webglFramebuffer;
22946
- L.isWebGLCubeRenderTarget ? (Array.isArray(ct[X]) ? q = ct[X][K] : q = ct[X], xe = !0) : L.samples > 0 && oe.useMultisampledRTT(L) === !1 ? q = ae.get(L).__webglMultisampledFramebuffer : Array.isArray(ct) ? q = ct[K] : q = ct, C.copy(L.viewport), z.copy(L.scissor), V = L.scissorTest;
22945
+ const ct = re.get(L).__webglFramebuffer;
22946
+ L.isWebGLCubeRenderTarget ? (Array.isArray(ct[X]) ? q = ct[X][K] : q = ct[X], xe = !0) : L.samples > 0 && oe.useMultisampledRTT(L) === !1 ? q = re.get(L).__webglMultisampledFramebuffer : Array.isArray(ct) ? q = ct[K] : q = ct, C.copy(L.viewport), z.copy(L.scissor), V = L.scissorTest;
22947
22947
  } else
22948
22948
  C.copy(ce).multiplyScalar(j).floor(), z.copy(Ce).multiplyScalar(j).floor(), V = Ae;
22949
22949
  if (K !== 0 && (q = er), Q.bindFramebuffer(F.FRAMEBUFFER, q) && J && Q.drawBuffers(L, q), Q.viewport(C), Q.scissor(z), Q.setScissorTest(V), xe) {
22950
- const Ve = ae.get(L.texture);
22950
+ const Ve = re.get(L.texture);
22951
22951
  F.framebufferTexture2D(F.FRAMEBUFFER, F.COLOR_ATTACHMENT0, F.TEXTURE_CUBE_MAP_POSITIVE_X + X, Ve.__webglTexture, K);
22952
22952
  } else if (Ne) {
22953
- const Ve = ae.get(L.texture), lt = X;
22953
+ const Ve = re.get(L.texture), lt = X;
22954
22954
  F.framebufferTextureLayer(F.FRAMEBUFFER, F.COLOR_ATTACHMENT0, Ve.__webglTexture, K, lt);
22955
22955
  } else if (L !== null && K !== 0) {
22956
- const Ve = ae.get(L.texture);
22956
+ const Ve = re.get(L.texture);
22957
22957
  F.framebufferTexture2D(F.FRAMEBUFFER, F.COLOR_ATTACHMENT0, F.TEXTURE_2D, Ve.__webglTexture, K);
22958
22958
  }
22959
22959
  b = -1;
@@ -22962,7 +22962,7 @@ class j_ {
22962
22962
  console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");
22963
22963
  return;
22964
22964
  }
22965
- let Ve = ae.get(L).__webglFramebuffer;
22965
+ let Ve = re.get(L).__webglFramebuffer;
22966
22966
  if (L.isWebGLCubeRenderTarget && Ne !== void 0 && (Ve = Ve[Ne]), Ve) {
22967
22967
  Q.bindFramebuffer(F.FRAMEBUFFER, Ve);
22968
22968
  try {
@@ -22977,14 +22977,14 @@ class j_ {
22977
22977
  }
22978
22978
  X >= 0 && X <= L.width - J && K >= 0 && K <= L.height - q && (L.textures.length > 1 && F.readBuffer(F.COLOR_ATTACHMENT0 + Xe), F.readPixels(X, K, J, q, Le.convert(ct), Le.convert(Je), xe));
22979
22979
  } finally {
22980
- const lt = I !== null ? ae.get(I).__webglFramebuffer : null;
22980
+ const lt = I !== null ? re.get(I).__webglFramebuffer : null;
22981
22981
  Q.bindFramebuffer(F.FRAMEBUFFER, lt);
22982
22982
  }
22983
22983
  }
22984
22984
  }, this.readRenderTargetPixelsAsync = async function(L, X, K, J, q, xe, Ne, Xe = 0) {
22985
22985
  if (!(L && L.isWebGLRenderTarget))
22986
22986
  throw new Error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");
22987
- let Ve = ae.get(L).__webglFramebuffer;
22987
+ let Ve = re.get(L).__webglFramebuffer;
22988
22988
  if (L.isWebGLCubeRenderTarget && Ne !== void 0 && (Ve = Ve[Ne]), Ve)
22989
22989
  if (X >= 0 && X <= L.width - J && K >= 0 && K <= L.height - q) {
22990
22990
  Q.bindFramebuffer(F.FRAMEBUFFER, Ve);
@@ -22995,7 +22995,7 @@ class j_ {
22995
22995
  throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.");
22996
22996
  const pt = F.createBuffer();
22997
22997
  F.bindBuffer(F.PIXEL_PACK_BUFFER, pt), F.bufferData(F.PIXEL_PACK_BUFFER, xe.byteLength, F.STREAM_READ), L.textures.length > 1 && F.readBuffer(F.COLOR_ATTACHMENT0 + Xe), F.readPixels(X, K, J, q, Le.convert(ct), Le.convert(Je), 0);
22998
- const Tt = I !== null ? ae.get(I).__webglFramebuffer : null;
22998
+ const Tt = I !== null ? re.get(I).__webglFramebuffer : null;
22999
22999
  Q.bindFramebuffer(F.FRAMEBUFFER, Tt);
23000
23000
  const Ot = F.fenceSync(F.SYNC_GPU_COMMANDS_COMPLETE, 0);
23001
23001
  return F.flush(), await Rp(F, Ot, 4), F.bindBuffer(F.PIXEL_PACK_BUFFER, pt), F.getBufferSubData(F.PIXEL_PACK_BUFFER, 0, xe), F.deleteBuffer(pt), F.deleteSync(Ot), xe;
@@ -23024,13 +23024,13 @@ class j_ {
23024
23024
  F.pixelStorei(F.UNPACK_ROW_LENGTH, Bt.width), F.pixelStorei(F.UNPACK_IMAGE_HEIGHT, Bt.height), F.pixelStorei(F.UNPACK_SKIP_PIXELS, lt), F.pixelStorei(F.UNPACK_SKIP_ROWS, ct), F.pixelStorei(F.UNPACK_SKIP_IMAGES, Je);
23025
23025
  const Ft = L.isDataArrayTexture || L.isData3DTexture, pn = X.isDataArrayTexture || X.isData3DTexture;
23026
23026
  if (L.isDepthTexture) {
23027
- const hn = ae.get(L), Xt = ae.get(X), $t = ae.get(hn.__renderTarget), ir = ae.get(Xt.__renderTarget);
23027
+ const hn = re.get(L), Xt = re.get(X), $t = re.get(hn.__renderTarget), ir = re.get(Xt.__renderTarget);
23028
23028
  Q.bindFramebuffer(F.READ_FRAMEBUFFER, $t.__webglFramebuffer), Q.bindFramebuffer(F.DRAW_FRAMEBUFFER, ir.__webglFramebuffer);
23029
23029
  for (let ii = 0; ii < Ve; ii++)
23030
- Ft && (F.framebufferTextureLayer(F.READ_FRAMEBUFFER, F.COLOR_ATTACHMENT0, ae.get(L).__webglTexture, q, Je + ii), F.framebufferTextureLayer(F.DRAW_FRAMEBUFFER, F.COLOR_ATTACHMENT0, ae.get(X).__webglTexture, xe, Ot + ii)), F.blitFramebuffer(lt, ct, Ne, Xe, pt, Tt, Ne, Xe, F.DEPTH_BUFFER_BIT, F.NEAREST);
23030
+ Ft && (F.framebufferTextureLayer(F.READ_FRAMEBUFFER, F.COLOR_ATTACHMENT0, re.get(L).__webglTexture, q, Je + ii), F.framebufferTextureLayer(F.DRAW_FRAMEBUFFER, F.COLOR_ATTACHMENT0, re.get(X).__webglTexture, xe, Ot + ii)), F.blitFramebuffer(lt, ct, Ne, Xe, pt, Tt, Ne, Xe, F.DEPTH_BUFFER_BIT, F.NEAREST);
23031
23031
  Q.bindFramebuffer(F.READ_FRAMEBUFFER, null), Q.bindFramebuffer(F.DRAW_FRAMEBUFFER, null);
23032
- } else if (q !== 0 || L.isRenderTargetTexture || ae.has(L)) {
23033
- const hn = ae.get(L), Xt = ae.get(X);
23032
+ } else if (q !== 0 || L.isRenderTargetTexture || re.has(L)) {
23033
+ const hn = re.get(L), Xt = re.get(X);
23034
23034
  Q.bindFramebuffer(F.READ_FRAMEBUFFER, tr), Q.bindFramebuffer(F.DRAW_FRAMEBUFFER, nr);
23035
23035
  for (let $t = 0; $t < Ve; $t++)
23036
23036
  Ft ? F.framebufferTextureLayer(F.READ_FRAMEBUFFER, F.COLOR_ATTACHMENT0, hn.__webglTexture, q, Je + $t) : F.framebufferTexture2D(F.READ_FRAMEBUFFER, F.COLOR_ATTACHMENT0, F.TEXTURE_2D, hn.__webglTexture, q), pn ? F.framebufferTextureLayer(F.DRAW_FRAMEBUFFER, F.COLOR_ATTACHMENT0, Xt.__webglTexture, xe, Ot + $t) : F.framebufferTexture2D(F.DRAW_FRAMEBUFFER, F.COLOR_ATTACHMENT0, F.TEXTURE_2D, Xt.__webglTexture, xe), q !== 0 ? F.blitFramebuffer(lt, ct, Ne, Xe, pt, Tt, Ne, Xe, F.COLOR_BUFFER_BIT, F.NEAREST) : pn ? F.copyTexSubImage3D(Yt, xe, pt, Tt, Ot + $t, lt, ct, Ne, Xe) : F.copyTexSubImage2D(Yt, xe, pt, Tt, lt, ct, Ne, Xe);
@@ -23041,7 +23041,7 @@ class j_ {
23041
23041
  }, this.copyTextureToTexture3D = function(L, X, K = null, J = null, q = 0) {
23042
23042
  return Dr('WebGLRenderer: copyTextureToTexture3D function has been deprecated. Use "copyTextureToTexture" instead.'), this.copyTextureToTexture(L, X, K, J, q);
23043
23043
  }, this.initRenderTarget = function(L) {
23044
- ae.get(L).__webglFramebuffer === void 0 && oe.setupRenderTarget(L);
23044
+ re.get(L).__webglFramebuffer === void 0 && oe.setupRenderTarget(L);
23045
23045
  }, this.initTexture = function(L) {
23046
23046
  L.isCubeTexture ? oe.setTextureCube(L, 0) : L.isData3DTexture ? oe.setTexture3D(L, 0) : L.isDataArrayTexture || L.isCompressedArrayTexture ? oe.setTexture2DArray(L, 0) : oe.setTexture2D(L, 0), Q.unbindTexture();
23047
23047
  }, this.resetState = function() {
@@ -23132,12 +23132,12 @@ const E3 = (r, e, t = 10) => Math.abs(r.clientX - e.x) < t && Math.abs(r.clientY
23132
23132
  !1
23133
23133
  ), s = i.length ? i[0] : null;
23134
23134
  return !s || !s.object.visible ? null : s;
23135
- }, Ao = 1e-6, A3 = 2 * Math.PI, od = ["x", "y", "z"], ds = [...od, "nx", "ny", "nz"], w3 = ["x", "z", "y", "nx", "nz", "ny"], T3 = ["z", "x", "y", "nz", "nx", "ny"], Al = "Right", fa = "Top", wl = "Front", Tl = "Left", pa = "Bottom", Rl = "Back", R3 = [
23135
+ }, wo = 1e-6, A3 = 2 * Math.PI, od = ["x", "y", "z"], fs = [...od, "nx", "ny", "nz"], w3 = ["x", "z", "y", "nx", "nz", "ny"], T3 = ["z", "x", "y", "nz", "nx", "ny"], Al = "Right", ma = "Top", wl = "Front", Tl = "Left", ga = "Bottom", Rl = "Back", R3 = [
23136
23136
  Al,
23137
- fa,
23137
+ ma,
23138
23138
  wl,
23139
23139
  Tl,
23140
- pa,
23140
+ ga,
23141
23141
  Rl
23142
23142
  ].map((r) => r.toLocaleLowerCase()), ld = 1.3, Jh = (r, e = !0) => {
23143
23143
  const { material: t, userData: n } = r, { color: i, opacity: s } = e ? n.hover : n;
@@ -23145,7 +23145,7 @@ const E3 = (r, e, t = 10) => Math.abs(r.clientX - e.x) < t && Math.abs(r.clientY
23145
23145
  }, ki = (r) => JSON.parse(JSON.stringify(r)), C3 = (r) => {
23146
23146
  const e = r.type || "sphere", t = e === "sphere", n = r.resolution || t ? 64 : 128, i = Nt.DEFAULT_UP, s = i.z === 1, a = i.x === 1, { container: o } = r;
23147
23147
  r.container = void 0, r = JSON.parse(JSON.stringify(r)), r.container = o;
23148
- const l = s ? w3 : a ? T3 : ds;
23148
+ const l = s ? w3 : a ? T3 : fs;
23149
23149
  R3.forEach((d, f) => {
23150
23150
  r[d] && (r[l[f]] = r[d]);
23151
23151
  });
@@ -23234,29 +23234,29 @@ const E3 = (r, e, t = 10) => Math.abs(r.clientX - e.x) < t && Math.abs(r.clientY
23234
23234
  },
23235
23235
  x: {
23236
23236
  ...ki(c),
23237
- ...t ? { label: "X", color: 16725587, line: !0 } : { label: a ? fa : Al }
23237
+ ...t ? { label: "X", color: 16725587, line: !0 } : { label: a ? ma : Al }
23238
23238
  },
23239
23239
  y: {
23240
23240
  ...ki(c),
23241
- ...t ? { label: "Y", color: 9100032, line: !0 } : { label: s || a ? wl : fa }
23241
+ ...t ? { label: "Y", color: 9100032, line: !0 } : { label: s || a ? wl : ma }
23242
23242
  },
23243
23243
  z: {
23244
23244
  ...ki(c),
23245
23245
  ...t ? { label: "Z", color: 2920447, line: !0 } : {
23246
- label: s ? fa : a ? Al : wl
23246
+ label: s ? ma : a ? Al : wl
23247
23247
  }
23248
23248
  },
23249
23249
  nx: {
23250
23250
  ...ki(h),
23251
- label: t ? "" : a ? pa : Tl
23251
+ label: t ? "" : a ? ga : Tl
23252
23252
  },
23253
23253
  ny: {
23254
23254
  ...ki(h),
23255
- label: t ? "" : s || a ? Rl : pa
23255
+ label: t ? "" : s || a ? Rl : ga
23256
23256
  },
23257
23257
  nz: {
23258
23258
  ...ki(h),
23259
- label: t ? "" : s ? pa : a ? Tl : Rl
23259
+ label: t ? "" : s ? ga : a ? Tl : Rl
23260
23260
  }
23261
23261
  };
23262
23262
  return Cl(r, u), od.forEach(
@@ -23278,7 +23278,7 @@ function Cl(r, ...e) {
23278
23278
  return r;
23279
23279
  }
23280
23280
  const L3 = (r, e = 2) => {
23281
- const t = new st(), n = e * 2, { isSphere: i, resolution: s, radius: a, font: o, corners: l, edges: c } = r, h = ds.map((T) => ({ ...r[T], radius: a }));
23281
+ const t = new st(), n = e * 2, { isSphere: i, resolution: s, radius: a, font: o, corners: l, edges: c } = r, h = fs.map((T) => ({ ...r[T], radius: a }));
23282
23282
  i && l.enabled && h.push(l), i && c.enabled && h.push(c);
23283
23283
  const u = document.createElement("canvas"), d = u.getContext("2d");
23284
23284
  u.width = s * 2 + n * 2, u.height = s * h.length + n * h.length;
@@ -23401,14 +23401,14 @@ function rc(r, e, t = 2, n = 2) {
23401
23401
  }
23402
23402
  const D3 = (r, e) => {
23403
23403
  const t = new k(), { isSphere: n, radius: i, smoothness: s } = r, a = rc(i, s);
23404
- return ds.map((o, l) => {
23405
- const c = l < 3, h = ds[l], u = l ? e.clone() : e;
23404
+ return fs.map((o, l) => {
23405
+ const c = l < 3, h = fs[l], u = l ? e.clone() : e;
23406
23406
  ic(u, l);
23407
23407
  const { enabled: d, scale: f, opacity: m, hover: _ } = r[h], g = {
23408
23408
  map: u,
23409
23409
  opacity: m,
23410
23410
  transparent: !0
23411
- }, p = n ? new ql(new Da(g)) : new Pt(a, new Pi(g)), S = c ? h : h[1];
23411
+ }, p = n ? new ql(new Ia(g)) : new Pt(a, new Pi(g)), S = c ? h : h[1];
23412
23412
  return p.position[S] = (c ? 1 : -1) * (n ? ld : 1), n || p.lookAt(t.copy(p.position).multiplyScalar(1.7)), p.scale.setScalar(f), p.renderOrder = 1, p.visible = d, p.userData = {
23413
23413
  scale: f,
23414
23414
  opacity: m,
@@ -23453,7 +23453,7 @@ const D3 = (r, e) => {
23453
23453
  ic(S, 6), u.map = S;
23454
23454
  } else
23455
23455
  u.color = i;
23456
- const g = t ? new ql(new Da(u)) : new Pt(h, new Pi(u)), p = _ * 3;
23456
+ const g = t ? new ql(new Ia(u)) : new Pt(h, new Pi(u)), p = _ * 3;
23457
23457
  return g.position.set(d[p], d[p + 1], d[p + 2]), t && g.position.normalize().multiplyScalar(1.7), g.scale.setScalar(a), g.lookAt(f.copy(g.position).multiplyScalar(2)), g.renderOrder = 1, g.userData = {
23458
23458
  color: i,
23459
23459
  opacity: s,
@@ -23511,7 +23511,7 @@ const D3 = (r, e) => {
23511
23511
  ic(x, t), d.map = x;
23512
23512
  } else
23513
23513
  d.color = s;
23514
- const S = n ? new ql(new Da(d)) : new Pt(u, new Pi(d)), A = p * 3;
23514
+ const S = n ? new ql(new Ia(d)) : new Pt(u, new Pi(d)), A = p * 3;
23515
23515
  return S.position.set(f[A], f[A + 1], f[A + 2]), n && S.position.normalize().multiplyScalar(1.7), S.scale.setScalar(o), S.up.copy(_), S.lookAt(m.copy(S.position).multiplyScalar(2)), !n && !S.position.y && (S.rotation.z = Math.PI / 2), S.renderOrder = 1, S.userData = {
23516
23516
  color: s,
23517
23517
  opacity: a,
@@ -23633,7 +23633,7 @@ const F3 = (r, e) => {
23633
23633
  if (!n) return null;
23634
23634
  if (t)
23635
23635
  o = new Pt(
23636
- new Ua(1.8, 64, 64),
23636
+ new Na(1.8, 64, 64),
23637
23637
  l
23638
23638
  );
23639
23639
  else {
@@ -23650,7 +23650,7 @@ const F3 = (r, e) => {
23650
23650
  opacity: s,
23651
23651
  hover: a
23652
23652
  }, o;
23653
- }, Qh = new vi(), Zs = new k();
23653
+ }, Qh = new vi(), Qs = new k();
23654
23654
  class cd extends P0 {
23655
23655
  constructor() {
23656
23656
  super(), this.isLineSegmentsGeometry = !0, this.type = "LineSegmentsGeometry";
@@ -23699,7 +23699,7 @@ class cd extends P0 {
23699
23699
  this.boundingBox.getCenter(n);
23700
23700
  let i = 0;
23701
23701
  for (let s = 0, a = e.count; s < a; s++)
23702
- Zs.fromBufferAttribute(e, s), i = Math.max(i, n.distanceToSquared(Zs)), Zs.fromBufferAttribute(t, s), i = Math.max(i, n.distanceToSquared(Zs));
23702
+ Qs.fromBufferAttribute(e, s), i = Math.max(i, n.distanceToSquared(Qs)), Qs.fromBufferAttribute(t, s), i = Math.max(i, n.distanceToSquared(Qs));
23703
23703
  this.boundingSphere.radius = Math.sqrt(i), isNaN(this.boundingSphere.radius) && console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.", this);
23704
23704
  }
23705
23705
  }
@@ -24182,7 +24182,7 @@ class sc extends _i {
24182
24182
  this.defines && (e === !0 !== this.alphaToCoverage && (this.needsUpdate = !0), e === !0 ? this.defines.USE_ALPHA_TO_COVERAGE = "" : delete this.defines.USE_ALPHA_TO_COVERAGE);
24183
24183
  }
24184
24184
  }
24185
- const wo = new xt(), eu = new k(), tu = new k(), sn = new xt(), an = new xt(), $n = new xt(), To = new k(), Ro = new ut(), on = new F0(), nu = new k(), Qs = new vi(), ea = new yi(), Kn = new xt();
24185
+ const To = new xt(), eu = new k(), tu = new k(), sn = new xt(), an = new xt(), $n = new xt(), Ro = new k(), Co = new ut(), on = new F0(), nu = new k(), ea = new vi(), ta = new yi(), Kn = new xt();
24186
24186
  let Jn, Yi;
24187
24187
  function iu(r, e, t) {
24188
24188
  return Kn.set(0, 0, -e, 1).applyMatrix4(r.projectionMatrix), Kn.multiplyScalar(1 / Kn.w), Kn.x = Yi / t.width, Kn.y = Yi / t.height, Kn.applyMatrix4(r.projectionMatrixInverse), Kn.multiplyScalar(1 / Kn.w), Math.abs(Math.max(Kn.x, Kn.y));
@@ -24206,9 +24206,9 @@ function O3(r, e) {
24206
24206
  }
24207
24207
  function z3(r, e, t) {
24208
24208
  const n = e.projectionMatrix, i = r.material.resolution, s = r.matrixWorld, a = r.geometry, o = a.attributes.instanceStart, l = a.attributes.instanceEnd, c = Math.min(a.instanceCount, o.count), h = -e.near;
24209
- Jn.at(1, $n), $n.w = 1, $n.applyMatrix4(e.matrixWorldInverse), $n.applyMatrix4(n), $n.multiplyScalar(1 / $n.w), $n.x *= i.x / 2, $n.y *= i.y / 2, $n.z = 0, To.copy($n), Ro.multiplyMatrices(e.matrixWorldInverse, s);
24209
+ Jn.at(1, $n), $n.w = 1, $n.applyMatrix4(e.matrixWorldInverse), $n.applyMatrix4(n), $n.multiplyScalar(1 / $n.w), $n.x *= i.x / 2, $n.y *= i.y / 2, $n.z = 0, Ro.copy($n), Co.multiplyMatrices(e.matrixWorldInverse, s);
24210
24210
  for (let u = 0, d = c; u < d; u++) {
24211
- if (sn.fromBufferAttribute(o, u), an.fromBufferAttribute(l, u), sn.w = 1, an.w = 1, sn.applyMatrix4(Ro), an.applyMatrix4(Ro), sn.z > h && an.z > h)
24211
+ if (sn.fromBufferAttribute(o, u), an.fromBufferAttribute(l, u), sn.w = 1, an.w = 1, sn.applyMatrix4(Co), an.applyMatrix4(Co), sn.z > h && an.z > h)
24212
24212
  continue;
24213
24213
  if (sn.z > h) {
24214
24214
  const p = sn.z - an.z, S = (sn.z - h) / p;
@@ -24218,9 +24218,9 @@ function z3(r, e, t) {
24218
24218
  an.lerp(sn, S);
24219
24219
  }
24220
24220
  sn.applyMatrix4(n), an.applyMatrix4(n), sn.multiplyScalar(1 / sn.w), an.multiplyScalar(1 / an.w), sn.x *= i.x / 2, sn.y *= i.y / 2, an.x *= i.x / 2, an.y *= i.y / 2, on.start.copy(sn), on.start.z = 0, on.end.copy(an), on.end.z = 0;
24221
- const f = on.closestPointToPointParameter(To, !0);
24221
+ const f = on.closestPointToPointParameter(Ro, !0);
24222
24222
  on.at(f, nu);
24223
- const m = Ar.lerp(sn.z, an.z, f), _ = m >= -1 && m <= 1, g = To.distanceTo(nu) < Yi * 0.5;
24223
+ const m = Ar.lerp(sn.z, an.z, f), _ = m >= -1 && m <= 1, g = Ro.distanceTo(nu) < Yi * 0.5;
24224
24224
  if (_ && g) {
24225
24225
  on.start.fromBufferAttribute(o, u), on.end.fromBufferAttribute(l, u), on.start.applyMatrix4(s), on.end.applyMatrix4(s);
24226
24226
  const p = new k(), S = new k();
@@ -24255,29 +24255,29 @@ class B3 extends Pt {
24255
24255
  const s = e.params.Line2 !== void 0 && e.params.Line2.threshold || 0;
24256
24256
  Jn = e.ray;
24257
24257
  const a = this.matrixWorld, o = this.geometry, l = this.material;
24258
- Yi = l.linewidth + s, o.boundingSphere === null && o.computeBoundingSphere(), ea.copy(o.boundingSphere).applyMatrix4(a);
24258
+ Yi = l.linewidth + s, o.boundingSphere === null && o.computeBoundingSphere(), ta.copy(o.boundingSphere).applyMatrix4(a);
24259
24259
  let c;
24260
24260
  if (n)
24261
24261
  c = Yi * 0.5;
24262
24262
  else {
24263
- const u = Math.max(i.near, ea.distanceToPoint(Jn.origin));
24263
+ const u = Math.max(i.near, ta.distanceToPoint(Jn.origin));
24264
24264
  c = iu(i, u, l.resolution);
24265
24265
  }
24266
- if (ea.radius += c, Jn.intersectsSphere(ea) === !1)
24266
+ if (ta.radius += c, Jn.intersectsSphere(ta) === !1)
24267
24267
  return;
24268
- o.boundingBox === null && o.computeBoundingBox(), Qs.copy(o.boundingBox).applyMatrix4(a);
24268
+ o.boundingBox === null && o.computeBoundingBox(), ea.copy(o.boundingBox).applyMatrix4(a);
24269
24269
  let h;
24270
24270
  if (n)
24271
24271
  h = Yi * 0.5;
24272
24272
  else {
24273
- const u = Math.max(i.near, Qs.distanceToPoint(Jn.origin));
24273
+ const u = Math.max(i.near, ea.distanceToPoint(Jn.origin));
24274
24274
  h = iu(i, u, l.resolution);
24275
24275
  }
24276
- Qs.expandByScalar(h), Jn.intersectsBox(Qs) !== !1 && (n ? O3(this, t) : z3(this, i, t));
24276
+ ea.expandByScalar(h), Jn.intersectsBox(ea) !== !1 && (n ? O3(this, t) : z3(this, i, t));
24277
24277
  }
24278
24278
  onBeforeRender(e) {
24279
24279
  const t = this.material.uniforms;
24280
- t && t.resolution && (e.getViewport(wo), this.material.uniforms.resolution.value.set(wo.z, wo.w));
24280
+ t && t.resolution && (e.getViewport(To), this.material.uniforms.resolution.value.set(To.z, To.w));
24281
24281
  }
24282
24282
  }
24283
24283
  class hd extends cd {
@@ -24314,7 +24314,7 @@ class k3 extends B3 {
24314
24314
  }
24315
24315
  const V3 = (r) => {
24316
24316
  const e = new st(), t = [], n = [], { isSphere: i } = r;
24317
- if (ds.forEach((o, l) => {
24317
+ if (fs.forEach((o, l) => {
24318
24318
  const { enabled: c, line: h, scale: u, color: d } = r[o];
24319
24319
  if (!c || !h) return;
24320
24320
  const f = l < 3 ? 1 : -1, m = (i ? ld - u / 2 : 0.975) * f;
@@ -24461,7 +24461,7 @@ class q_ extends Nt {
24461
24461
  * - Can be computationally expensive, so use sparingly
24462
24462
  */
24463
24463
  set(e = {}) {
24464
- this.dispose(), this.options = e, this._options = C3(e), this._camera = this._options.isSphere ? new Fa(-1.8, 1.8, 1.8, -1.8, 5, 10) : new fn(26, 1, 5, 10), this._camera.position.set(0, 0, 7);
24464
+ this.dispose(), this.options = e, this._options = C3(e), this._camera = this._options.isSphere ? new Oa(-1.8, 1.8, 1.8, -1.8, 5, 10) : new fn(26, 1, 5, 10), this._camera.position.set(0, 0, 7);
24465
24465
  const [t, n, i] = H3(this._options);
24466
24466
  n && this.add(n), i && this.add(i), this.add(...t), this._background = n, this._intersections = t;
24467
24467
  const { container: s, animated: a, speed: o } = this._options;
@@ -24568,7 +24568,7 @@ class q_ extends Nt {
24568
24568
  }
24569
24569
  this._controls && (this._controls.enabled = !1);
24570
24570
  const n = this._clock.getDelta() * A3 * this.speed;
24571
- this._quaternionStart.rotateTowards(this._quaternionEnd, n), e.applyQuaternion(this._quaternionStart).multiplyScalar(this._distance).add(this.target), t.rotateTowards(this._targetQuaternion, n), this._updateOrientation(), requestAnimationFrame(() => this.dispatchEvent({ type: "change" })), this._quaternionStart.angleTo(this._quaternionEnd) < Ao && (this._controls && (this._controls.enabled = !0), this.animating = !1, this.dispatchEvent({ type: "end" }));
24571
+ this._quaternionStart.rotateTowards(this._quaternionEnd, n), e.applyQuaternion(this._quaternionStart).multiplyScalar(this._distance).add(this.target), t.rotateTowards(this._targetQuaternion, n), this._updateOrientation(), requestAnimationFrame(() => this.dispatchEvent({ type: "change" })), this._quaternionStart.angleTo(this._quaternionEnd) < wo && (this._controls && (this._controls.enabled = !0), this.animating = !1, this.dispatchEvent({ type: "end" }));
24572
24572
  }
24573
24573
  /**
24574
24574
  * Sets the camera orientation to look at the target from a specific axis.
@@ -24598,8 +24598,8 @@ class q_ extends Nt {
24598
24598
  ), u = ru.setFromVector3(h);
24599
24599
  u.theta = a - c.x, u.phi = El(
24600
24600
  o - c.y,
24601
- Ao,
24602
- Math.PI - Ao
24601
+ wo,
24602
+ Math.PI - wo
24603
24603
  ), this.coordinateConversion(
24604
24604
  this.camera.position.setFromSpherical(u),
24605
24605
  !0
@@ -24675,7 +24675,7 @@ class q_ extends Nt {
24675
24675
  this._focus !== n && (this._domElement.style.cursor = n ? "pointer" : "", this._focus && ns(this._focus, !1), (this._focus = n) ? ns(n, !0) : qh(this._options, this._intersections, this.camera));
24676
24676
  }
24677
24677
  }
24678
- const W3 = /^[og]\s*(.+)?/, X3 = /^mtllib /, j3 = /^usemtl /, q3 = /^usemap /, au = /\s+/, ou = new k(), Co = new k(), lu = new k(), cu = new k(), Un = new k(), ta = new st();
24678
+ const W3 = /^[og]\s*(.+)?/, X3 = /^mtllib /, j3 = /^usemtl /, q3 = /^usemap /, au = /\s+/, ou = new k(), Lo = new k(), lu = new k(), cu = new k(), Un = new k(), na = new st();
24679
24679
  function Y3() {
24680
24680
  const r = {
24681
24681
  objects: [],
@@ -24785,7 +24785,7 @@ function Y3() {
24785
24785
  },
24786
24786
  addFaceNormal: function(e, t, n) {
24787
24787
  const i = this.vertices, s = this.object.geometry.normals;
24788
- ou.fromArray(i, e), Co.fromArray(i, t), lu.fromArray(i, n), Un.subVectors(lu, Co), cu.subVectors(ou, Co), Un.cross(cu), Un.normalize(), s.push(Un.x, Un.y, Un.z), s.push(Un.x, Un.y, Un.z), s.push(Un.x, Un.y, Un.z);
24788
+ ou.fromArray(i, e), Lo.fromArray(i, t), lu.fromArray(i, n), Un.subVectors(lu, Lo), cu.subVectors(ou, Lo), Un.cross(cu), Un.normalize(), s.push(Un.x, Un.y, Un.z), s.push(Un.x, Un.y, Un.z), s.push(Un.x, Un.y, Un.z);
24789
24789
  },
24790
24790
  addColor: function(e, t, n) {
24791
24791
  const i = this.colors, s = this.object.geometry.colors;
@@ -24836,7 +24836,7 @@ function Y3() {
24836
24836
  };
24837
24837
  return r.startObject("", !1), r;
24838
24838
  }
24839
- class Lo extends qn {
24839
+ class Po extends qn {
24840
24840
  /**
24841
24841
  * Constructs a new OBJ loader.
24842
24842
  *
@@ -24901,12 +24901,12 @@ class Lo extends qn {
24901
24901
  parseFloat(u[1]),
24902
24902
  parseFloat(u[2]),
24903
24903
  parseFloat(u[3])
24904
- ), u.length >= 7 ? (ta.setRGB(
24904
+ ), u.length >= 7 ? (na.setRGB(
24905
24905
  parseFloat(u[4]),
24906
24906
  parseFloat(u[5]),
24907
24907
  parseFloat(u[6]),
24908
24908
  Rt
24909
- ), t.colors.push(ta.r, ta.g, ta.b)) : t.colors.push(void 0, void 0, void 0);
24909
+ ), t.colors.push(na.r, na.g, na.b)) : t.colors.push(void 0, void 0, void 0);
24910
24910
  break;
24911
24911
  case "vn":
24912
24912
  t.normals.push(
@@ -25013,21 +25013,21 @@ class Lo extends qn {
25013
25013
  const x = u[S];
25014
25014
  _.addGroup(x.groupStart, x.groupCount, S);
25015
25015
  }
25016
- d ? p = new Aa(_, g) : f ? p = new as(_, g) : p = new Pt(_, g);
25016
+ d ? p = new wa(_, g) : f ? p = new os(_, g) : p = new Pt(_, g);
25017
25017
  } else
25018
- d ? p = new Aa(_, g[0]) : f ? p = new as(_, g[0]) : p = new Pt(_, g[0]);
25018
+ d ? p = new wa(_, g[0]) : f ? p = new os(_, g[0]) : p = new Pt(_, g[0]);
25019
25019
  p.name = c.name, s.add(p);
25020
25020
  }
25021
25021
  else if (t.vertices.length > 0) {
25022
25022
  const o = new qi({ size: 1, sizeAttenuation: !1 }), l = new kt();
25023
25023
  l.setAttribute("position", new _t(t.vertices, 3)), t.colors.length > 0 && t.colors[0] !== void 0 && (l.setAttribute("color", new _t(t.colors, 3)), o.vertexColors = !0);
25024
- const c = new as(l, o);
25024
+ const c = new os(l, o);
25025
25025
  s.add(c);
25026
25026
  }
25027
25027
  return s;
25028
25028
  }
25029
25029
  }
25030
- class Po extends qn {
25030
+ class Do extends qn {
25031
25031
  constructor(e) {
25032
25032
  super(e);
25033
25033
  }
@@ -25220,7 +25220,7 @@ class $3 {
25220
25220
  return t !== void 0 && (l.mapping = t), l;
25221
25221
  }
25222
25222
  }
25223
- class ma extends qn {
25223
+ class _a extends qn {
25224
25224
  /**
25225
25225
  * Constructs a new STL loader.
25226
25226
  *
@@ -25501,7 +25501,7 @@ class K3 extends qn {
25501
25501
  const u = new kt();
25502
25502
  s.length > 0 && u.setAttribute("position", new _t(s, 3)), a.length > 0 && u.setAttribute("normal", new _t(a, 3)), o.length > 0 && u.setAttribute("color", new _t(o, 3)), l.length > 0 && u.setAttribute("intensity", new _t(l, 1)), c.length > 0 && u.setAttribute("label", new jp(c, 1)), u.computeBoundingSphere();
25503
25503
  const d = new qi({ size: 5e-3 });
25504
- return o.length > 0 && (d.vertexColors = !0), new as(u, d);
25504
+ return o.length > 0 && (d.vertexColors = !0), new os(u, d);
25505
25505
  }
25506
25506
  }
25507
25507
  class hu extends S0 {
@@ -25553,19 +25553,19 @@ class hu extends S0 {
25553
25553
  const Ae = j.pixel_size >> 3, Y = j.width * j.height * Ae;
25554
25554
  if (Z && (Ce = _e.subarray(he, he += j.colormap_length * (j.colormap_size >> 3))), B) {
25555
25555
  ce = new Uint8Array(Y);
25556
- let ie, se, le, Me = 0;
25556
+ let ie, ae, le, Me = 0;
25557
25557
  const me = new Uint8Array(Ae);
25558
25558
  for (; Me < Y; )
25559
- if (ie = _e[he++], se = (ie & 127) + 1, ie & 128) {
25559
+ if (ie = _e[he++], ae = (ie & 127) + 1, ie & 128) {
25560
25560
  for (le = 0; le < Ae; ++le)
25561
25561
  me[le] = _e[he++];
25562
- for (le = 0; le < se; ++le)
25562
+ for (le = 0; le < ae; ++le)
25563
25563
  ce.set(me, Me + le * Ae);
25564
- Me += Ae * se;
25564
+ Me += Ae * ae;
25565
25565
  } else {
25566
- for (se *= Ae, le = 0; le < se; ++le)
25566
+ for (ae *= Ae, le = 0; le < ae; ++le)
25567
25567
  ce[Me + le] = _e[he++];
25568
- Me += se;
25568
+ Me += ae;
25569
25569
  }
25570
25570
  } else
25571
25571
  ce = _e.subarray(
@@ -25579,77 +25579,77 @@ class hu extends S0 {
25579
25579
  }
25580
25580
  function i(B, Z, j, he, _e, ce, Ce, Ae, Y) {
25581
25581
  const ie = Y;
25582
- let se, le = 0, Me, me;
25582
+ let ae, le = 0, Me, me;
25583
25583
  const Se = y.width;
25584
25584
  for (me = Z; me !== he; me += j)
25585
25585
  for (Me = _e; Me !== Ce; Me += ce, le++)
25586
- se = Ae[le], B[(Me + Se * me) * 4 + 3] = 255, B[(Me + Se * me) * 4 + 2] = ie[se * 3 + 0], B[(Me + Se * me) * 4 + 1] = ie[se * 3 + 1], B[(Me + Se * me) * 4 + 0] = ie[se * 3 + 2];
25586
+ ae = Ae[le], B[(Me + Se * me) * 4 + 3] = 255, B[(Me + Se * me) * 4 + 2] = ie[ae * 3 + 0], B[(Me + Se * me) * 4 + 1] = ie[ae * 3 + 1], B[(Me + Se * me) * 4 + 0] = ie[ae * 3 + 2];
25587
25587
  return B;
25588
25588
  }
25589
25589
  function s(B, Z, j, he, _e, ce, Ce, Ae) {
25590
- let Y, ie = 0, se, le;
25590
+ let Y, ie = 0, ae, le;
25591
25591
  const Me = y.width;
25592
25592
  for (le = Z; le !== he; le += j)
25593
- for (se = _e; se !== Ce; se += ce, ie += 2)
25594
- Y = Ae[ie + 0] + (Ae[ie + 1] << 8), B[(se + Me * le) * 4 + 0] = (Y & 31744) >> 7, B[(se + Me * le) * 4 + 1] = (Y & 992) >> 2, B[(se + Me * le) * 4 + 2] = (Y & 31) << 3, B[(se + Me * le) * 4 + 3] = Y & 32768 ? 0 : 255;
25593
+ for (ae = _e; ae !== Ce; ae += ce, ie += 2)
25594
+ Y = Ae[ie + 0] + (Ae[ie + 1] << 8), B[(ae + Me * le) * 4 + 0] = (Y & 31744) >> 7, B[(ae + Me * le) * 4 + 1] = (Y & 992) >> 2, B[(ae + Me * le) * 4 + 2] = (Y & 31) << 3, B[(ae + Me * le) * 4 + 3] = Y & 32768 ? 0 : 255;
25595
25595
  return B;
25596
25596
  }
25597
25597
  function a(B, Z, j, he, _e, ce, Ce, Ae) {
25598
- let Y = 0, ie, se;
25598
+ let Y = 0, ie, ae;
25599
25599
  const le = y.width;
25600
- for (se = Z; se !== he; se += j)
25600
+ for (ae = Z; ae !== he; ae += j)
25601
25601
  for (ie = _e; ie !== Ce; ie += ce, Y += 3)
25602
- B[(ie + le * se) * 4 + 3] = 255, B[(ie + le * se) * 4 + 2] = Ae[Y + 0], B[(ie + le * se) * 4 + 1] = Ae[Y + 1], B[(ie + le * se) * 4 + 0] = Ae[Y + 2];
25602
+ B[(ie + le * ae) * 4 + 3] = 255, B[(ie + le * ae) * 4 + 2] = Ae[Y + 0], B[(ie + le * ae) * 4 + 1] = Ae[Y + 1], B[(ie + le * ae) * 4 + 0] = Ae[Y + 2];
25603
25603
  return B;
25604
25604
  }
25605
25605
  function o(B, Z, j, he, _e, ce, Ce, Ae) {
25606
- let Y = 0, ie, se;
25606
+ let Y = 0, ie, ae;
25607
25607
  const le = y.width;
25608
- for (se = Z; se !== he; se += j)
25608
+ for (ae = Z; ae !== he; ae += j)
25609
25609
  for (ie = _e; ie !== Ce; ie += ce, Y += 4)
25610
- B[(ie + le * se) * 4 + 2] = Ae[Y + 0], B[(ie + le * se) * 4 + 1] = Ae[Y + 1], B[(ie + le * se) * 4 + 0] = Ae[Y + 2], B[(ie + le * se) * 4 + 3] = Ae[Y + 3];
25610
+ B[(ie + le * ae) * 4 + 2] = Ae[Y + 0], B[(ie + le * ae) * 4 + 1] = Ae[Y + 1], B[(ie + le * ae) * 4 + 0] = Ae[Y + 2], B[(ie + le * ae) * 4 + 3] = Ae[Y + 3];
25611
25611
  return B;
25612
25612
  }
25613
25613
  function l(B, Z, j, he, _e, ce, Ce, Ae) {
25614
- let Y, ie = 0, se, le;
25614
+ let Y, ie = 0, ae, le;
25615
25615
  const Me = y.width;
25616
25616
  for (le = Z; le !== he; le += j)
25617
- for (se = _e; se !== Ce; se += ce, ie++)
25618
- Y = Ae[ie], B[(se + Me * le) * 4 + 0] = Y, B[(se + Me * le) * 4 + 1] = Y, B[(se + Me * le) * 4 + 2] = Y, B[(se + Me * le) * 4 + 3] = 255;
25617
+ for (ae = _e; ae !== Ce; ae += ce, ie++)
25618
+ Y = Ae[ie], B[(ae + Me * le) * 4 + 0] = Y, B[(ae + Me * le) * 4 + 1] = Y, B[(ae + Me * le) * 4 + 2] = Y, B[(ae + Me * le) * 4 + 3] = 255;
25619
25619
  return B;
25620
25620
  }
25621
25621
  function c(B, Z, j, he, _e, ce, Ce, Ae) {
25622
- let Y = 0, ie, se;
25622
+ let Y = 0, ie, ae;
25623
25623
  const le = y.width;
25624
- for (se = Z; se !== he; se += j)
25624
+ for (ae = Z; ae !== he; ae += j)
25625
25625
  for (ie = _e; ie !== Ce; ie += ce, Y += 2)
25626
- B[(ie + le * se) * 4 + 0] = Ae[Y + 0], B[(ie + le * se) * 4 + 1] = Ae[Y + 0], B[(ie + le * se) * 4 + 2] = Ae[Y + 0], B[(ie + le * se) * 4 + 3] = Ae[Y + 1];
25626
+ B[(ie + le * ae) * 4 + 0] = Ae[Y + 0], B[(ie + le * ae) * 4 + 1] = Ae[Y + 0], B[(ie + le * ae) * 4 + 2] = Ae[Y + 0], B[(ie + le * ae) * 4 + 3] = Ae[Y + 1];
25627
25627
  return B;
25628
25628
  }
25629
25629
  function h(B, Z, j, he, _e) {
25630
- let ce, Ce, Ae, Y, ie, se;
25630
+ let ce, Ce, Ae, Y, ie, ae;
25631
25631
  switch ((y.flags & S) >> A) {
25632
25632
  default:
25633
25633
  case R:
25634
- ce = 0, Ae = 1, ie = Z, Ce = 0, Y = 1, se = j;
25634
+ ce = 0, Ae = 1, ie = Z, Ce = 0, Y = 1, ae = j;
25635
25635
  break;
25636
25636
  case x:
25637
- ce = 0, Ae = 1, ie = Z, Ce = j - 1, Y = -1, se = -1;
25637
+ ce = 0, Ae = 1, ie = Z, Ce = j - 1, Y = -1, ae = -1;
25638
25638
  break;
25639
25639
  case T:
25640
- ce = Z - 1, Ae = -1, ie = -1, Ce = 0, Y = 1, se = j;
25640
+ ce = Z - 1, Ae = -1, ie = -1, Ce = 0, Y = 1, ae = j;
25641
25641
  break;
25642
25642
  case U:
25643
- ce = Z - 1, Ae = -1, ie = -1, Ce = j - 1, Y = -1, se = -1;
25643
+ ce = Z - 1, Ae = -1, ie = -1, Ce = j - 1, Y = -1, ae = -1;
25644
25644
  break;
25645
25645
  }
25646
25646
  if (V)
25647
25647
  switch (y.pixel_size) {
25648
25648
  case 8:
25649
- l(B, Ce, Y, se, ce, Ae, ie, he);
25649
+ l(B, Ce, Y, ae, ce, Ae, ie, he);
25650
25650
  break;
25651
25651
  case 16:
25652
- c(B, Ce, Y, se, ce, Ae, ie, he);
25652
+ c(B, Ce, Y, ae, ce, Ae, ie, he);
25653
25653
  break;
25654
25654
  default:
25655
25655
  throw new Error("THREE.TGALoader: Format not supported.");
@@ -25657,16 +25657,16 @@ class hu extends S0 {
25657
25657
  else
25658
25658
  switch (y.pixel_size) {
25659
25659
  case 8:
25660
- i(B, Ce, Y, se, ce, Ae, ie, he, _e);
25660
+ i(B, Ce, Y, ae, ce, Ae, ie, he, _e);
25661
25661
  break;
25662
25662
  case 16:
25663
- s(B, Ce, Y, se, ce, Ae, ie, he);
25663
+ s(B, Ce, Y, ae, ce, Ae, ie, he);
25664
25664
  break;
25665
25665
  case 24:
25666
- a(B, Ce, Y, se, ce, Ae, ie, he);
25666
+ a(B, Ce, Y, ae, ce, Ae, ie, he);
25667
25667
  break;
25668
25668
  case 32:
25669
- o(B, Ce, Y, se, ce, Ae, ie, he);
25669
+ o(B, Ce, Y, ae, ce, Ae, ie, he);
25670
25670
  break;
25671
25671
  default:
25672
25672
  throw new Error("THREE.TGALoader: Format not supported.");
@@ -25946,7 +25946,7 @@ class J3 extends qn {
25946
25946
  const Ke = P[Pe], ve = Ke.time, Ye = Ke.value;
25947
25947
  X.fromArray(Ye).transpose(), X.decompose(T, b, I), D.push(ve), ne.push(T.x, T.y, T.z), ue.push(b.x, b.y, b.z, b.w), He.push(I.x, I.y, I.z);
25948
25948
  }
25949
- return ne.length > 0 && v.push(new kr(w + ".position", D, ne)), ue.length > 0 && v.push(new ms(w + ".quaternion", D, ue)), He.length > 0 && v.push(new kr(w + ".scale", D, He)), v;
25949
+ return ne.length > 0 && v.push(new kr(w + ".position", D, ne)), ue.length > 0 && v.push(new gs(w + ".quaternion", D, ue)), He.length > 0 && v.push(new kr(w + ".scale", D, He)), v;
25950
25950
  }
25951
25951
  function C(M, v, P) {
25952
25952
  let w, D = !0, ne, ue;
@@ -26150,7 +26150,7 @@ class J3 extends qn {
26150
26150
  function ie(M) {
26151
26151
  return _(ht.controllers[M], Ae);
26152
26152
  }
26153
- function se(M) {
26153
+ function ae(M) {
26154
26154
  const v = {
26155
26155
  init_from: n(M, "init_from")[0].textContent
26156
26156
  };
@@ -26192,7 +26192,7 @@ class J3 extends qn {
26192
26192
  v.technique = F(D);
26193
26193
  break;
26194
26194
  case "extra":
26195
- v.extra = ae(D);
26195
+ v.extra = re(D);
26196
26196
  break;
26197
26197
  }
26198
26198
  }
@@ -26252,7 +26252,7 @@ class J3 extends qn {
26252
26252
  v.type = D.nodeName, v.parameters = Mt(D);
26253
26253
  break;
26254
26254
  case "extra":
26255
- v.extra = ae(D);
26255
+ v.extra = re(D);
26256
26256
  break;
26257
26257
  }
26258
26258
  }
@@ -26349,7 +26349,7 @@ class J3 extends qn {
26349
26349
  }
26350
26350
  }
26351
26351
  }
26352
- function ae(M) {
26352
+ function re(M) {
26353
26353
  const v = {};
26354
26354
  for (let P = 0, w = M.childNodes.length; P < w; P++) {
26355
26355
  const D = M.childNodes[P];
@@ -26423,7 +26423,7 @@ class J3 extends qn {
26423
26423
  }
26424
26424
  return v;
26425
26425
  }
26426
- function re(M) {
26426
+ function se(M) {
26427
26427
  const v = E(M.url), P = v.profile.technique;
26428
26428
  let w;
26429
26429
  switch (P.type) {
@@ -26535,7 +26535,7 @@ class J3 extends qn {
26535
26535
  return w;
26536
26536
  }
26537
26537
  function te(M) {
26538
- return _(ht.materials[M], re);
26538
+ return _(ht.materials[M], se);
26539
26539
  }
26540
26540
  function Te(M) {
26541
26541
  const v = {
@@ -26607,7 +26607,7 @@ class J3 extends qn {
26607
26607
  case "orthographic":
26608
26608
  let P = M.optics.parameters.ymag, w = M.optics.parameters.xmag;
26609
26609
  const D = M.optics.parameters.aspect_ratio;
26610
- w = w === void 0 ? P * D : w, P = P === void 0 ? w / D : P, w *= 0.5, P *= 0.5, v = new Fa(
26610
+ w = w === void 0 ? P * D : w, P = P === void 0 ? w / D : P, w *= 0.5, P *= 0.5, v = new Oa(
26611
26611
  -w,
26612
26612
  w,
26613
26613
  P,
@@ -27483,7 +27483,7 @@ class J3 extends qn {
27483
27483
  let Pe;
27484
27484
  switch (w) {
27485
27485
  case "lines":
27486
- Pe = new Aa(D.data, He);
27486
+ Pe = new wa(D.data, He);
27487
27487
  break;
27488
27488
  case "linestrips":
27489
27489
  Pe = new Kl(D.data, He);
@@ -27593,20 +27593,20 @@ class J3 extends qn {
27593
27593
  physicsModels: {},
27594
27594
  kinematicsScenes: {}
27595
27595
  };
27596
- f(zt, "library_animations", "animation", g), f(zt, "library_animation_clips", "animation_clip", B), f(zt, "library_controllers", "controller", he), f(zt, "library_images", "image", se), f(zt, "library_effects", "effect", me), f(zt, "library_materials", "material", W), f(zt, "library_cameras", "camera", Te), f(zt, "library_lights", "light", qe), f(zt, "library_geometries", "geometry", Ue), f(zt, "library_nodes", "node", J), f(zt, "library_visual_scenes", "visual_scene", Tt), f(zt, "library_kinematics_models", "kinematics_model", We), f(zt, "library_physics_models", "physics_model", nn), f(zt, "scene", "instance_kinematics_scene", En), m(ht.animations, A), m(ht.clips, Z), m(ht.controllers, Ae), m(ht.images, le), m(ht.effects, N), m(ht.materials, re), m(ht.cameras, fe), m(ht.lights, at), m(ht.geometries, ot), m(ht.visualScenes, Ot), Yt(), tr();
27597
- const _s = it(n(zt, "scene")[0]);
27598
- return _s.animations = $t, Ft.upAxis === "Z_UP" && (console.warn("THREE.ColladaLoader: You are loading an asset with a Z-UP coordinate system. The loader just rotates the asset to transform it into Y-UP. The vertex data are not converted, see #24289."), _s.rotation.set(-Math.PI / 2, 0, 0)), _s.scale.multiplyScalar(Ft.unit), {
27596
+ f(zt, "library_animations", "animation", g), f(zt, "library_animation_clips", "animation_clip", B), f(zt, "library_controllers", "controller", he), f(zt, "library_images", "image", ae), f(zt, "library_effects", "effect", me), f(zt, "library_materials", "material", W), f(zt, "library_cameras", "camera", Te), f(zt, "library_lights", "light", qe), f(zt, "library_geometries", "geometry", Ue), f(zt, "library_nodes", "node", J), f(zt, "library_visual_scenes", "visual_scene", Tt), f(zt, "library_kinematics_models", "kinematics_model", We), f(zt, "library_physics_models", "physics_model", nn), f(zt, "scene", "instance_kinematics_scene", En), m(ht.animations, A), m(ht.clips, Z), m(ht.controllers, Ae), m(ht.images, le), m(ht.effects, N), m(ht.materials, se), m(ht.cameras, fe), m(ht.lights, at), m(ht.geometries, ot), m(ht.visualScenes, Ot), Yt(), tr();
27597
+ const vs = it(n(zt, "scene")[0]);
27598
+ return vs.animations = $t, Ft.upAxis === "Z_UP" && (console.warn("THREE.ColladaLoader: You are loading an asset with a Z-UP coordinate system. The loader just rotates the asset to transform it into Y-UP. The vertex data are not converted, see #24289."), vs.rotation.set(-Math.PI / 2, 0, 0)), vs.scale.multiplyScalar(Ft.unit), {
27599
27599
  get animations() {
27600
27600
  return console.warn("THREE.ColladaLoader: Please access animations over scene.animations now."), $t;
27601
27601
  },
27602
27602
  kinematics: ir,
27603
27603
  library: ht,
27604
- scene: _s
27604
+ scene: vs
27605
27605
  };
27606
27606
  }
27607
27607
  }
27608
- const uu = new k(), Z3 = new Dn(), na = new ut(), wi = new ut(), ia = new zn(), ra = new k(1, 1, 1), sa = new k();
27609
- class za extends Nt {
27608
+ const uu = new k(), Z3 = new Dn(), ia = new ut(), wi = new ut(), ra = new zn(), sa = new k(1, 1, 1), aa = new k();
27609
+ class Ba extends Nt {
27610
27610
  constructor(...e) {
27611
27611
  super(...e), this.urdfNode = null, this.urdfName = "";
27612
27612
  }
@@ -27614,22 +27614,22 @@ class za extends Nt {
27614
27614
  return super.copy(e, t), this.urdfNode = e.urdfNode, this.urdfName = e.urdfName, this;
27615
27615
  }
27616
27616
  }
27617
- class Q3 extends za {
27617
+ class Q3 extends Ba {
27618
27618
  constructor(...e) {
27619
27619
  super(...e), this.isURDFCollider = !0, this.type = "URDFCollider";
27620
27620
  }
27621
27621
  }
27622
- class e_ extends za {
27622
+ class e_ extends Ba {
27623
27623
  constructor(...e) {
27624
27624
  super(...e), this.isURDFVisual = !0, this.type = "URDFVisual";
27625
27625
  }
27626
27626
  }
27627
- class ud extends za {
27627
+ class ud extends Ba {
27628
27628
  constructor(...e) {
27629
27629
  super(...e), this.isURDFLink = !0, this.type = "URDFLink";
27630
27630
  }
27631
27631
  }
27632
- class dd extends za {
27632
+ class dd extends Ba {
27633
27633
  get jointType() {
27634
27634
  return this._jointType;
27635
27635
  }
@@ -27685,16 +27685,16 @@ class dd extends za {
27685
27685
  return n == null || n === this.jointValue[0] ? t : (this.ignoreLimits || (n = Math.min(this.limit.upper, n), n = Math.max(this.limit.lower, n)), this.position.copy(this.origPosition), uu.copy(this.axis).applyEuler(this.rotation), this.position.addScaledVector(uu, n), this.jointValue[0] !== n ? (this.jointValue[0] = n, this.matrixWorldNeedsUpdate = !0, !0) : t);
27686
27686
  }
27687
27687
  case "floating":
27688
- return this.jointValue.every((n, i) => e[i] === n || e[i] === null) ? t : (this.jointValue[0] = e[0] !== null ? e[0] : this.jointValue[0], this.jointValue[1] = e[1] !== null ? e[1] : this.jointValue[1], this.jointValue[2] = e[2] !== null ? e[2] : this.jointValue[2], this.jointValue[3] = e[3] !== null ? e[3] : this.jointValue[3], this.jointValue[4] = e[4] !== null ? e[4] : this.jointValue[4], this.jointValue[5] = e[5] !== null ? e[5] : this.jointValue[5], wi.compose(this.origPosition, this.origQuaternion, ra), ia.setFromEuler(
27688
+ return this.jointValue.every((n, i) => e[i] === n || e[i] === null) ? t : (this.jointValue[0] = e[0] !== null ? e[0] : this.jointValue[0], this.jointValue[1] = e[1] !== null ? e[1] : this.jointValue[1], this.jointValue[2] = e[2] !== null ? e[2] : this.jointValue[2], this.jointValue[3] = e[3] !== null ? e[3] : this.jointValue[3], this.jointValue[4] = e[4] !== null ? e[4] : this.jointValue[4], this.jointValue[5] = e[5] !== null ? e[5] : this.jointValue[5], wi.compose(this.origPosition, this.origQuaternion, sa), ra.setFromEuler(
27689
27689
  Z3.set(
27690
27690
  this.jointValue[3],
27691
27691
  this.jointValue[4],
27692
27692
  this.jointValue[5],
27693
27693
  "XYZ"
27694
27694
  )
27695
- ), sa.set(this.jointValue[0], this.jointValue[1], this.jointValue[2]), na.compose(sa, ia, ra), wi.premultiply(na), this.position.setFromMatrixPosition(wi), this.rotation.setFromRotationMatrix(wi), this.matrixWorldNeedsUpdate = !0, !0);
27695
+ ), aa.set(this.jointValue[0], this.jointValue[1], this.jointValue[2]), ia.compose(aa, ra, sa), wi.premultiply(ia), this.position.setFromMatrixPosition(wi), this.rotation.setFromRotationMatrix(wi), this.matrixWorldNeedsUpdate = !0, !0);
27696
27696
  case "planar":
27697
- return this.jointValue.every((n, i) => e[i] === n || e[i] === null) ? t : (this.jointValue[0] = e[0] !== null ? e[0] : this.jointValue[0], this.jointValue[1] = e[1] !== null ? e[1] : this.jointValue[1], this.jointValue[2] = e[2] !== null ? e[2] : this.jointValue[2], wi.compose(this.origPosition, this.origQuaternion, ra), ia.setFromAxisAngle(this.axis, this.jointValue[2]), sa.set(this.jointValue[0], this.jointValue[1], 0), na.compose(sa, ia, ra), wi.premultiply(na), this.position.setFromMatrixPosition(wi), this.rotation.setFromRotationMatrix(wi), this.matrixWorldNeedsUpdate = !0, !0);
27697
+ return this.jointValue.every((n, i) => e[i] === n || e[i] === null) ? t : (this.jointValue[0] = e[0] !== null ? e[0] : this.jointValue[0], this.jointValue[1] = e[1] !== null ? e[1] : this.jointValue[1], this.jointValue[2] = e[2] !== null ? e[2] : this.jointValue[2], wi.compose(this.origPosition, this.origQuaternion, sa), ra.setFromAxisAngle(this.axis, this.jointValue[2]), aa.set(this.jointValue[0], this.jointValue[1], 0), ia.compose(aa, ra, sa), wi.premultiply(ia), this.position.setFromMatrixPosition(wi), this.rotation.setFromRotationMatrix(wi), this.matrixWorldNeedsUpdate = !0, !0);
27698
27698
  }
27699
27699
  return t;
27700
27700
  }
@@ -27745,12 +27745,12 @@ class t_ extends ud {
27745
27745
  return t;
27746
27746
  }
27747
27747
  }
27748
- const Do = new zn(), fu = new Dn();
27748
+ const Io = new zn(), fu = new Dn();
27749
27749
  function Er(r) {
27750
27750
  return r ? r.trim().split(/\s+/g).map((e) => parseFloat(e)) : [0, 0, 0];
27751
27751
  }
27752
27752
  function pu(r, e, t = !1) {
27753
- t || r.rotation.set(0, 0, 0), fu.set(e[0], e[1], e[2], "ZYX"), Do.setFromEuler(fu), Do.multiply(r.quaternion), r.quaternion.copy(Do);
27753
+ t || r.rotation.set(0, 0, 0), fu.set(e[0], e[1], e[2], "ZYX"), Io.setFromEuler(fu), Io.multiply(r.quaternion), r.quaternion.copy(Io);
27754
27754
  }
27755
27755
  class n_ {
27756
27756
  constructor(e) {
@@ -27912,7 +27912,7 @@ class n_ {
27912
27912
  z.scale.set(V[0], V[1], V[2]), I.add(z);
27913
27913
  } else if (C === "sphere") {
27914
27914
  const z = new Pt();
27915
- z.geometry = new Ua(1, 30, 30), z.material = R;
27915
+ z.geometry = new Na(1, 30, 30), z.material = R;
27916
27916
  const V = parseFloat(b.children[0].getAttribute("radius")) || 0;
27917
27917
  z.scale.set(V, V, V), I.add(z);
27918
27918
  } else if (C === "cylinder") {
@@ -27931,14 +27931,14 @@ class n_ {
27931
27931
  }
27932
27932
  // Default mesh loading function
27933
27933
  defaultMeshLoader(e, t, n) {
27934
- /\.stl$/i.test(e) ? new ma(t).load(e, (s) => {
27934
+ /\.stl$/i.test(e) ? new _a(t).load(e, (s) => {
27935
27935
  const a = new Pt(s, new Cn());
27936
27936
  n(a);
27937
27937
  }) : /\.dae$/i.test(e) ? new J3(t).load(e, (s) => n(s.scene)) : console.warn(`URDFLoader: Could not load model at ${e}.
27938
27938
  No loader available`);
27939
27939
  }
27940
27940
  }
27941
- const i_ = Au(Tr), { systemPath: mu } = wr(i_), aa = St();
27941
+ const i_ = Au(Tr), { systemPath: mu } = wr(i_), oa = St();
27942
27942
  function Y_(r, e, t, n, i) {
27943
27943
  const s = async (d) => {
27944
27944
  try {
@@ -27953,7 +27953,7 @@ function Y_(r, e, t, n, i) {
27953
27953
  const _ = new FileReader();
27954
27954
  _.onload = (g) => {
27955
27955
  try {
27956
- const p = g.target.result, A = new Po().parse(p);
27956
+ const p = g.target.result, A = new Do().parse(p);
27957
27957
  A.preload(), f(A);
27958
27958
  } catch (p) {
27959
27959
  m(p);
@@ -27993,7 +27993,7 @@ function Y_(r, e, t, n, i) {
27993
27993
  const S = p.target.result;
27994
27994
  let A = null;
27995
27995
  f && f.length > 0 && (f.length === 1 ? A = await a(f[0]) : A = await o(f));
27996
- const x = new Lo();
27996
+ const x = new Po();
27997
27997
  A && x.setMaterials(A);
27998
27998
  const U = x.parse(S);
27999
27999
  A || U.traverse((R) => {
@@ -28056,7 +28056,7 @@ function Y_(r, e, t, n, i) {
28056
28056
  size: 1,
28057
28057
  sizeAttenuation: !1
28058
28058
  });
28059
- g = new as(Ze, F);
28059
+ g = new os(Ze, F);
28060
28060
  } else if (p === ".cpt") {
28061
28061
  const F = new Li({
28062
28062
  color: "#5B5C99",
@@ -28065,9 +28065,9 @@ function Y_(r, e, t, n, i) {
28065
28065
  g = new Kl(Ze, F);
28066
28066
  }
28067
28067
  } else if (p === ".obj") {
28068
- const me = new Lo();
28068
+ const me = new Po();
28069
28069
  if (m && m.length > 0) {
28070
- const Se = new Po();
28070
+ const Se = new Do();
28071
28071
  for (const ze of m) {
28072
28072
  const Ze = await ze.text(), $e = Se.parse(Ze);
28073
28073
  $e.preload(), me.setMaterials($e);
@@ -28080,7 +28080,7 @@ function Y_(r, e, t, n, i) {
28080
28080
  }
28081
28081
  break;
28082
28082
  case ".stl":
28083
- const A = await f.arrayBuffer(), U = new ma().parse(A), R = new Cn({
28083
+ const A = await f.arrayBuffer(), U = new _a().parse(A), R = new Cn({
28084
28084
  color: "#B3B3D4",
28085
28085
  side: vn
28086
28086
  });
@@ -28102,7 +28102,7 @@ function Y_(r, e, t, n, i) {
28102
28102
  "Mach_Z_Axis_0.STL": "rgb(248,228,118)",
28103
28103
  "Mach_Spindle_0.STL": "rgb(145,145,145)"
28104
28104
  }, b = new mi(), y = T.map((me) => new Promise((Se, ze) => {
28105
- new ma().load(
28105
+ new _a().load(
28106
28106
  mu.value === "" ? `/model/${me}` : `${mu.value}\\${me}`,
28107
28107
  ($e) => {
28108
28108
  const F = new Cn({
@@ -28124,7 +28124,7 @@ function Y_(r, e, t, n, i) {
28124
28124
  case ".pcd":
28125
28125
  const C = new K3(), z = new mi();
28126
28126
  try {
28127
- const me = await ka.get(
28127
+ const me = await Va.get(
28128
28128
  "http://139.196.154.85:20026/chfs/shared/重大专项/重大专项文件/target.pcd",
28129
28129
  {
28130
28130
  responseType: "blob",
@@ -28134,7 +28134,7 @@ function Y_(r, e, t, n, i) {
28134
28134
  }
28135
28135
  ), Se = new Blob([me.data], {
28136
28136
  type: "application/octet-stream;charset=UTF-8"
28137
- }), ze = await ka.get("http://139.196.154.85:20026/chfs/shared/重大专项/重大专项文件/final.pcd", {
28137
+ }), ze = await Va.get("http://139.196.154.85:20026/chfs/shared/重大专项/重大专项文件/final.pcd", {
28138
28138
  responseType: "blob",
28139
28139
  headers: {
28140
28140
  "Content-Type": "application/json"
@@ -28147,8 +28147,8 @@ function Y_(r, e, t, n, i) {
28147
28147
  de,
28148
28148
  (Q) => {
28149
28149
  const we = new Float32Array(Q.geometry.attributes.position.count * 3);
28150
- for (let ae = 0; ae < Q.geometry.attributes.position.count; ae++)
28151
- we[ae * 3] = 1, we[ae * 3 + 1] = 0, we[ae * 3 + 2] = 0;
28150
+ for (let re = 0; re < Q.geometry.attributes.position.count; re++)
28151
+ we[re * 3] = 1, we[re * 3 + 1] = 0, we[re * 3 + 2] = 0;
28152
28152
  Q.geometry.setAttribute("color", new Gt(we, 3)), Q.material.vertexColors = !0, Q.scale.set(0.3, 0.3, 0.3), URL.revokeObjectURL(de), Mt(Q);
28153
28153
  },
28154
28154
  void 0,
@@ -28160,8 +28160,8 @@ function Y_(r, e, t, n, i) {
28160
28160
  de,
28161
28161
  (Q) => {
28162
28162
  const we = new Float32Array(Q.geometry.attributes.position.count * 3);
28163
- for (let ae = 0; ae < Q.geometry.attributes.position.count; ae++)
28164
- we[ae * 3] = 0, we[ae * 3 + 1] = 1, we[ae * 3 + 2] = 0;
28163
+ for (let re = 0; re < Q.geometry.attributes.position.count; re++)
28164
+ we[re * 3] = 0, we[re * 3 + 1] = 1, we[re * 3 + 2] = 0;
28165
28165
  Q.geometry.setAttribute("color", new Gt(we, 3)), Q.material.vertexColors = !0, Q.scale.set(0.3, 0.3, 0.3), URL.revokeObjectURL(de), Mt(Q);
28166
28166
  },
28167
28167
  void 0,
@@ -28191,7 +28191,7 @@ function Y_(r, e, t, n, i) {
28191
28191
  if (Z.has(me))
28192
28192
  return console.log(`从缓存加载: ${me}`), Z.get(me);
28193
28193
  try {
28194
- const Se = await ka.get(`${ee}/${me}`, {
28194
+ const Se = await Va.get(`${ee}/${me}`, {
28195
28195
  responseType: "blob",
28196
28196
  headers: {
28197
28197
  "Content-Type": "application/json"
@@ -28231,16 +28231,16 @@ function Y_(r, e, t, n, i) {
28231
28231
  return new Pt($, ce());
28232
28232
  }
28233
28233
  const $e = await me.arrayBuffer();
28234
- let Mt = new ma(ze).parse($e);
28234
+ let Mt = new _a(ze).parse($e);
28235
28235
  return Mt = Ce(Mt), he.set(Ze, Mt), new Pt(Mt, ce());
28236
28236
  }, Y = async (me, Se, ze) => {
28237
28237
  const Ze = `obj_${Se}`;
28238
28238
  if (Z.has(Ze))
28239
28239
  return Z.get(Ze).clone();
28240
- const $e = await me.text(), F = new Lo(ze), Mt = Se.replace(".obj", ".mtl");
28240
+ const $e = await me.text(), F = new Po(ze), Mt = Se.replace(".obj", ".mtl");
28241
28241
  try {
28242
- const Q = await (await _e(Mt)).text(), ae = new Po(ze).parse(Q);
28243
- ae.preload(), F.setMaterials(ae);
28242
+ const Q = await (await _e(Mt)).text(), re = new Do(ze).parse(Q);
28243
+ re.preload(), F.setMaterials(re);
28244
28244
  } catch {
28245
28245
  console.warn(`MTL文件加载失败,使用默认材质: ${Mt}`);
28246
28246
  }
@@ -28256,57 +28256,57 @@ function Y_(r, e, t, n, i) {
28256
28256
  }
28257
28257
  return ze;
28258
28258
  };
28259
- let se = 0, le = 0;
28259
+ let ae = 0, le = 0;
28260
28260
  const Me = [];
28261
28261
  G.loadMeshCb = async (me, Se, ze, Ze, $e) => {
28262
28262
  const F = me.split("/").pop(), Mt = ze || (() => {
28263
28263
  }), $ = $e || (() => {
28264
28264
  });
28265
- se++;
28265
+ ae++;
28266
28266
  const de = new Promise(async (Q, we) => {
28267
28267
  try {
28268
- const ae = await _e(F);
28269
- if (!ae || ae.size === 0)
28268
+ const re = await _e(F);
28269
+ if (!re || re.size === 0)
28270
28270
  throw new Error(`文件为空: ${F}`);
28271
28271
  const oe = F.split(".").pop().toLowerCase();
28272
28272
  let Ie;
28273
28273
  switch (oe) {
28274
28274
  case "stl":
28275
- Ie = await Ae(ae, F, Se);
28275
+ Ie = await Ae(re, F, Se);
28276
28276
  break;
28277
28277
  case "obj":
28278
- Ie = await Y(ae, F, Se);
28278
+ Ie = await Y(re, F, Se);
28279
28279
  break;
28280
28280
  default:
28281
28281
  throw new Error(`不支持的文件格式: ${oe}`);
28282
28282
  }
28283
28283
  B.enableLOD && Ie.isMesh && (Ie = ie(Ie, F)), Mt(Ie), le++, Ze && Ze({
28284
28284
  loaded: le,
28285
- total: se,
28286
- progress: le / se
28285
+ total: ae,
28286
+ progress: le / ae
28287
28287
  }), Q(Ie);
28288
- } catch (ae) {
28289
- console.error(`mesh文件加载失败: ${F}`, ae), $(ae), we(ae);
28288
+ } catch (re) {
28289
+ console.error(`mesh文件加载失败: ${F}`, re), $(re), we(re);
28290
28290
  }
28291
28291
  });
28292
28292
  Me.push(de);
28293
28293
  };
28294
28294
  try {
28295
28295
  if (!V) {
28296
- aa.value = void 0;
28296
+ oa.value = void 0;
28297
28297
  break;
28298
28298
  }
28299
- if (g = await G.loadAsync(V), console.log(`URDF文件加载完成,等待${se}个mesh文件加载...`), Me.length > 0)
28299
+ if (g = await G.loadAsync(V), console.log(`URDF文件加载完成,等待${ae}个mesh文件加载...`), Me.length > 0)
28300
28300
  try {
28301
- await Promise.allSettled(Me), console.log(`所有mesh文件处理完成,成功加载: ${le}/${se}`);
28301
+ await Promise.allSettled(Me), console.log(`所有mesh文件处理完成,成功加载: ${le}/${ae}`);
28302
28302
  } catch (me) {
28303
28303
  console.warn("部分mesh文件加载失败,但继续显示模型", me);
28304
28304
  }
28305
28305
  g.traverse((me) => {
28306
28306
  me.isMesh && (me.castShadow = !0, me.receiveShadow = !0, me.renderOrder = 1, me.material && (me.material.needsUpdate = !0));
28307
- }), aa.value = g, console.log("URDF模型加载完成并优化");
28307
+ }), oa.value = g, console.log("URDF模型加载完成并优化");
28308
28308
  } catch (me) {
28309
- console.error("URDF加载失败:", me), aa.value = void 0;
28309
+ console.error("URDF加载失败:", me), oa.value = void 0;
28310
28310
  } finally {
28311
28311
  V && URL.revokeObjectURL(V);
28312
28312
  }
@@ -28341,7 +28341,7 @@ function Y_(r, e, t, n, i) {
28341
28341
  throw console.error("加载模型失败:", f), t.value = !1, n.value = "", f;
28342
28342
  }
28343
28343
  },
28344
- urdfModel: aa
28344
+ urdfModel: oa
28345
28345
  };
28346
28346
  }
28347
28347
  window._iconfont_svg_string_4634042 = '<svg><symbol id="icon-lookAround" viewBox="0 0 1041 1024"><path d="M520.685026 798.355937c-10.788594 0-21.577187-2.790872-31.241101-8.372615l-291.583615-168.36871A62.482203 62.482203 0 0 1 166.619208 567.505024V230.850913c0-22.368629 11.913273-42.987756 31.241102-54.109588l291.583615-168.36871a62.482203 62.482203 0 0 1 62.482203 0l291.583615 168.36871c19.327828 11.121832 31.241102 31.740959 31.241101 54.109588v336.654111a62.482203 62.482203 0 0 1-31.241101 54.109588l-291.583615 168.36871a62.857096 62.857096 0 0 1-31.241102 8.372615zM291.583615 531.39031l229.101411 132.295652 229.101412-132.295652v-264.507993l-229.101412-132.295651L291.583615 266.923972v264.466338z m520.685026 36.114714h0.416548-0.416548z" fill="#aaaaaa" ></path><path d="M520.685026 461.660172c-10.788594 0-21.577187-2.790872-31.241101-8.372616l-291.583615-168.327055a62.482203 62.482203 0 0 1 62.482203-108.219176L520.685026 326.990196l260.342513-150.248871a62.482203 62.482203 0 1 1 62.482204 108.219176l-291.583615 168.327055a62.857096 62.857096 0 0 1-31.241102 8.372616z" fill="#aaaaaa" ></path><path d="M520.685026 798.355937a62.482203 62.482203 0 0 1-62.482203-62.482203V399.177969a62.482203 62.482203 0 1 1 124.964406 0v336.695765a62.482203 62.482203 0 0 1-62.482203 62.482203z" fill="#aaaaaa" ></path><path d="M520.685026 1003.172599c-53.276492 0-520.685026-5.248505-520.685026-187.446609 0-62.982061 54.776065-111.259976 162.870276-143.584103 33.073913-9.622259 67.855673 8.914128 77.769516 41.98804s-8.872473 67.897327-41.946386 77.769516c-30.324696 9.080747-49.194321 17.619981-60.649392 24.11813 46.32014 26.242525 178.657446 62.19062 382.641012 62.19062s336.320872-35.948094 382.641012-62.19062c-11.455071-6.498149-30.324696-15.037384-60.649392-24.11813a62.482203 62.482203 0 1 1 35.82313-119.757556c108.094211 32.324126 162.870276 80.643697 162.870276 143.584103 0 182.198104-467.408534 187.446609-520.685026 187.446609z m398.886385-175.366717h0.416548-0.416548z" fill="#72B02D" ></path></symbol><symbol id="icon-xuanzhuan" viewBox="0 0 1024 1024"><path d="M378.963454 724.443778l91.182641 163.473426c6.246088 11.212239 2.252687 25.39393-9.010749 31.691216l-163.473427 91.18264c-18.123894 10.085896-39.422029-6.758062-33.739113-26.673866l72.290786-254.707264c5.682916-19.967002 32.663967-23.090045 42.749862-4.966152z" fill="#FC794B" ></path><path d="M414.64807 903.9932c-1.228739 0-2.40628-0.051197-3.635018-0.204789C169.002752 879.367232 0.000003 771.443028 0.000003 641.452727c0-52.221389 27.032248-102.19009 78.127293-144.581571a35.827969 35.827969 0 0 1 50.480676 4.710165 35.827969 35.827969 0 0 1-4.710164 50.480676C100.090998 571.824209 71.727616 603.310634 71.727616 641.452727c0 88.929954 148.984551 171.050647 346.504275 191.068847 19.711014 1.9967 34.046298 19.557422 32.049597 39.268436a35.879166 35.879166 0 0 1-35.633418 32.20319zM608.430381 904.095595c-18.175091 0-33.79031-13.772111-35.633418-32.254387-1.945503-19.711014 12.389781-37.271736 32.100795-39.217239 198.134093-19.813409 347.528224-101.985301 347.528223-191.171242 0-23.550822-10.649068-47.050447-31.58882-69.935703-13.362532-14.59127-12.389781-37.271736 2.20149-50.634268 14.59127-13.362532 37.271736-12.389781 50.634268 2.20149 32.971151 35.9918 50.429479 76.898555 50.429478 118.368481 0 130.297485-169.463527 238.221689-412.088195 262.489276-1.177541 0.102395-2.40628 0.153592-3.583821 0.153592z" fill="#FC794B" ></path><path d="M846.703267 184.413179l-325.308534 184.464377L196.137396 184.413179 521.394733 0z" fill="#BEC5CB" ></path><path d="M521.394733 737.703915l325.308534-184.41318V184.413179l-325.308534 184.464377z" fill="#808487" ></path><path d="M521.394733 737.703915L196.137396 553.290735V184.413179l325.257337 184.464377z" fill="#9CA3A9" ></path></symbol><symbol id="icon-clipping" viewBox="0 0 1024 1024"><path d="M341.930667 201.770667l353.706666 204.245333v408.448l-353.706666-204.245333z" fill="#4A80FF" fill-opacity="0.15" ></path><path d="M320.853333 165.248l396.117334 228.608v457.173333l-395.946667-228.608z m353.749334 252.970667L362.837333 238.336v359.722667l311.466667 179.882666z" fill="#72B02D" ></path><path d="M544.384 746.453333l-211.669333-211.669333 18.688-18.688 211.669333 211.669333z" fill="#72B02D" ></path><path d="M693.717333 530.261333l-266.453333-266.325333 20.906667-20.906667 266.325333 266.453334z" fill="#72B02D" ></path><path d="M688.853333 621.098667l-366.933333-366.933334 24.448-24.704 366.933333 366.933334z" fill="#72B02D" ></path><path d="M689.664 713.856L321.578667 345.770667l24.618666-24.618667 368.085334 368.128z" fill="#72B02D" ></path><path d="M683.605333 799.317333l-355.712-355.712 24.234667-24.234666 355.712 355.712z" fill="#72B02D" ></path><path d="M537.770667 944.938667h-51.2v-418.602667l-362.666667-209.28 25.6-44.330667 362.666667 209.066667 362.666666-209.066667 25.6 44.330667-362.666666 209.066667z" fill="#AAAAAA" ></path><path d="M512.170667 53.461333a31.146667 31.146667 0 0 1 15.488 4.266667l370.090666 213.632a31.232 31.232 0 0 1 15.317334 26.794667v426.922666a31.274667 31.274667 0 0 1-15.317334 26.837334l-369.834666 213.333333a31.488 31.488 0 0 1-31.061334 0l-369.834666-213.333333a31.146667 31.146667 0 0 1-15.914667-26.837334V298.069333a31.146667 31.146667 0 0 1 15.573333-27.008l369.792-213.333333a30.976 30.976 0 0 1 15.701334-4.266667z m349.866666 256l-349.866666-201.642666-349.866667 201.856v403.84l349.866667 201.813333 349.866666-201.898667z" fill="#AAAAAA" ></path></symbol><symbol id="icon-viewReset" viewBox="0 0 1024 1024"><path d="M643.2 515.2c-89.6-67.2-179.2-60.8-268.8 0-32 22.4-67.2 57.6-105.6 89.6 38.4 32 70.4 70.4 108.8 96 28.8 19.2 60.8 32 96 38.4 118.4 19.2 188.8-57.6 268.8-137.6-35.2-28.8-60.8-64-99.2-86.4zM508.8 704c-51.2 0-96-41.6-96-99.2s41.6-105.6 96-105.6 96 41.6 96 99.2c0 64-38.4 105.6-96 105.6z" fill="#AAAAAA" ></path><path d="M515.2 544c-3.2 41.6 12.8 60.8 51.2 51.2 0 32-19.2 57.6-51.2 57.6s-57.6-22.4-51.2-57.6c-6.4-32 16-51.2 51.2-51.2" fill="#AAAAAA" ></path><path d="M652.8 3.2c9.6-3.2 19.2-3.2 28.8 0 9.6 3.2 12.8 12.8 12.8 22.4v108.8c70.4 28.8 131.2 70.4 179.2 128 80 89.6 118.4 214.4 108.8 336-9.6 124.8-70.4 236.8-166.4 313.6-96 80-224 118.4-345.6 108.8-124.8-9.6-243.2-67.2-323.2-160S32 649.6 41.6 524.8c9.6-118.4 70.4-233.6 160-307.2 22.4-19.2 60.8-19.2 80 3.2 19.2 22.4 19.2 57.6-3.2 80-70.4 57.6-115.2 140.8-124.8 233.6s22.4 185.6 80 249.6c60.8 70.4 147.2 115.2 243.2 124.8 96 9.6 188.8-19.2 259.2-80s118.4-140.8 124.8-236.8c9.6-89.6-22.4-185.6-80-249.6-28.8-28.8-57.6-57.6-89.6-76.8v89.6c0 9.6-3.2 19.2-12.8 22.4-9.6 3.2-19.2 3.2-28.8 0l-227.2-160c-3.2-3.2-9.6-12.8-9.6-19.2 0-9.6 3.2-12.8 9.6-19.2L652.8 3.2z" fill="#72B02D" ></path></symbol><symbol id="icon-donghuafangzhen" viewBox="0 0 1024 1024"><path d="M868.864 228.864c-19.968 0-38.912 7.68-53.248 20.992l-291.328-170.496c-7.168-5.12-16.896-5.12-24.064 0L208.896 248.832c-14.336-12.8-33.28-20.48-53.76-20.48-43.52 0-79.872 36.864-79.872 80.896 0 33.792 21.504 63.488 53.248 74.24v318.976c0 9.216 4.608 17.408 12.288 22.016L437.248 896c11.776 30.72 41.472 51.712 74.752 52.224 33.28-0.512 62.464-20.992 74.752-52.224l296.448-171.52c7.68-4.608 12.288-13.312 12.288-22.016V386.048c31.744-11.776 53.248-42.496 53.248-76.288 0-44.032-36.352-80.896-79.872-80.896zM155.136 339.456c-16.896 0-29.184-12.288-29.184-29.696v-2.048c0.512-15.36 13.312-27.648 29.184-27.136h2.048c15.36 0.512 27.648 13.824 27.136 29.696 0 15.872-12.8 28.672-29.184 29.184zM512 897.024c-16.896 0-29.184-12.288-29.184-29.696 0-14.848 12.288-29.696 29.184-29.696h2.048c15.36 0.512 27.648 13.824 27.136 29.696 0 14.848-14.848 29.696-29.184 29.696z m74.752-58.368c-11.776-30.208-40.96-51.712-74.752-51.712-27.136 0-52.224 14.336-67.072 37.376l-3.072 1.024c-4.608 2.048-8.704 5.632-9.728 10.752l-252.416-146.944V384.512C212.48 373.76 234.496 343.04 235.52 308.736l3.072 0.512h2.048c3.584 0 7.168-1.536 10.24-3.584 7.168-5.632 8.192-16.384 2.048-23.552L512 130.56l278.528 162.816c-7.68 36.864 11.264 74.24 45.568 90.624 0.512 5.632 3.584 10.24 8.704 13.312v291.328l-258.048 150.016z m282.112-499.2c-16.896 0-29.184-12.288-29.184-29.696v-2.048c0.512-15.36 13.312-27.648 29.184-27.136h2.048c15.36 0.512 27.648 13.824 27.136 29.696v2.56c-1.024 14.848-13.824 27.136-29.184 26.624z" fill="#AAAAAA" ></path><path d="M422.912 724.992c-3.072-8.704-12.288-12.8-20.992-9.728-8.704 3.072-12.8 12.8-9.728 21.504l19.968 54.784c2.56 6.656 8.192 10.752 15.36 10.752 2.048 0 3.584-0.512 5.12-1.024 8.704-3.072 12.8-12.8 9.728-21.504l-19.456-54.784zM706.048 507.392c0-107.52-86.016-195.072-192-196.096-2.048-1.536-4.608-2.56-7.68-3.072l-24.064-3.072c-8.192-1.024-15.872 4.096-17.92 11.776-5.632 1.536-11.776 3.584-16.896 5.632 0.512-1.536 1.024-3.072 1.536-5.12 1.024-9.216-5.12-17.408-14.336-18.432l-48.128-5.632c-5.632-1.024-11.776 1.536-15.36 6.144-3.584 4.608-4.608 11.264-2.048 16.896 2.56 5.632 7.68 9.216 13.312 9.728l44.032 5.12C384 353.28 351.232 388.608 333.312 432.64c-25.088 60.928-17.92 130.048 18.432 184.832-1.024 3.584-1.024 7.168 0.512 10.24l19.968 54.784c1.024 3.072 3.072 5.632 6.144 7.68 7.168 5.12 17.408 3.072 22.528-4.096 3.072-4.608 3.584-10.24 2.048-15.36l-0.512-1.536c53.76 37.888 123.392 45.568 184.32 19.968 46.08-19.456 82.944-55.808 102.912-101.376l12.8-14.336c6.144-6.656 5.632-17.408-0.512-23.04 2.56-14.336 4.096-28.672 4.096-43.008z m-193.536 156.16C427.52 663.552 358.4 593.92 358.4 507.392c0-86.016 69.12-156.16 154.112-156.16s154.112 69.632 154.112 156.16c0 86.016-69.12 156.16-154.112 156.16z" fill="#72B02D" ></path><path d="M765.44 478.72c-6.144-5.632-15.872-5.632-22.016 0l-32.256 35.84c-4.096 4.608-5.632 11.776-3.072 17.92 2.56 6.144 8.192 9.728 14.848 9.728 4.608 0 8.704-2.048 11.776-5.12l32.256-35.84c5.12-7.168 4.608-16.896-1.536-22.528zM823.296 401.92c-5.632-1.024-11.776 0.512-15.872 5.12l-32.256 35.84c-4.608 4.608-5.632 11.776-3.072 17.92 1.024 2.048 2.56 4.096 4.096 5.632 6.656 6.144 16.896 5.632 23.04-1.536l32.256-35.84c4.096-4.096 5.632-10.752 3.584-16.384-1.024-5.632-5.632-9.728-11.776-10.752zM336.384 321.024c8.704 0 15.872-6.656 16.384-15.36 0.512-8.704-5.632-16.384-14.336-17.408l-48.128-5.632c-5.632-1.024-11.776 1.536-15.36 6.144-3.584 4.608-4.096 11.264-2.048 16.896 2.56 5.632 7.68 9.216 13.312 9.728l48.128 5.632h2.048z" fill="#72B02D" ></path></symbol><symbol id="icon-guanjianjiexi" viewBox="0 0 1024 1024"><path d="M298.496 200.704v83.456h-39.936v177.664h137.728V389.12h47.104v245.76h-47.104v-79.872H211.456c-10.752-3.584-54.272-14.336-54.272-57.856V280.064h-32.768V200.704h174.08m47.104-47.104H77.824v177.152h36.352v169.984c0 68.608 61.44 97.792 97.792 104.96H353.28v79.872h141.312V342.016H349.184v72.192h-43.52v-87.04h39.936V153.6zM627.712 389.12v79.872H812.544c10.752 3.584 54.272 14.336 54.272 54.272V740.352h32.768v83.456h-173.568v-83.456h39.936v-177.664h-137.728V634.88h-47.104V389.12h46.592m47.104-47.104h-141.312v340.48h141.312v-72.192h43.52v83.456h-39.936V870.4h267.776v-177.152h-36.352v-169.984c0-68.608-61.44-97.792-97.792-104.96H670.72V342.528h4.096z" fill="#AAAAAA" ></path></symbol><symbol id="icon-gongyishengcheng" viewBox="0 0 1024 1024"><path d="M889.344 391.68h29.696v-43.008h-208.896l1.024 45.056 28.16 3.072v20.992c55.808 5.632 108.032 28.672 150.016 66.56-0.512 0 0-92.672 0-92.672z m-366.592 102.912c13.312-13.312 27.648-24.576 43.008-34.816-2.048-70.144-5.632-153.088-8.704-179.712-5.632-48.64-34.816-204.288-226.816-202.752-191.488 1.536-223.744 164.864-230.912 207.36s-11.776 197.632-11.776 197.632h-24.576v43.008l208.896 1.024v-40.96h-24.064V316.928S245.76 230.912 335.36 231.424C424.448 232.448 415.232 327.68 414.72 327.68v313.856c4.608 0 6.144 77.824 50.176 144.896-13.312-32.256-20.48-67.072-20.48-102.912 0-71.168 27.648-138.24 78.336-188.928z" fill="#AAAAAA" ></path><path d="M75.264 601.6h31.232v281.088s41.984 29.184 141.824 0v-274.944l29.184-2.56v-44.032H75.264v40.448zM906.24 263.168h-29.184l1.024-188.416s-53.76-27.648-144.384 0l1.024 192-31.744 1.024V307.2h203.776l-0.512-44.032z" fill="#AAAAAA" ></path><path d="M934.912 627.712c-9.216-4.608-20.48-2.048-29.184 6.656l-21.504 21.504c-9.216 9.216-20.992 13.824-33.792 13.824s-24.576-5.12-33.792-13.824c-9.216-9.216-13.824-20.992-13.824-33.792s5.12-24.576 13.824-33.792l21.504-21.504c8.704-8.704 11.264-19.968 6.656-29.184-5.632-10.752-18.432-15.36-34.304-13.312-25.6 4.096-48.64 15.36-66.56 33.792-27.136 27.136-39.424 65.536-33.792 103.936l-178.176 178.176c-13.312 13.312-20.992 31.232-20.992 50.176s7.168 36.864 20.992 50.176c13.312 13.312 31.232 20.992 50.176 20.992 18.944 0 36.864-7.168 50.176-20.992l178.176-178.176c37.888 6.144 76.288-6.656 103.936-33.792 17.92-17.92 29.696-41.472 33.792-66.56 2.048-15.872-2.56-28.672-13.312-34.304z m-9.728 30.72c-3.072 20.48-12.8 38.912-27.136 53.76-23.04 23.04-56.32 33.28-89.088 26.624l-6.144-1.536-186.88 186.88c-8.704 9.216-20.992 13.824-33.792 13.824s-24.576-5.12-33.792-13.824c-9.216-9.216-13.824-20.992-13.824-33.792s5.12-24.576 13.824-33.792l186.88-186.88-1.536-6.144c-6.656-32.256 3.072-65.536 26.624-89.088 14.848-14.848 33.28-24.064 53.76-27.136 1.536-0.512 3.072-0.512 4.608-0.512 2.56 0 4.608 0.512 5.12 1.024-0.512 0.512-1.024 1.536-2.048 2.56l-21.504 21.504c-13.312 13.312-20.992 31.232-20.992 50.176s7.168 36.864 20.992 50.176c13.312 13.312 31.232 20.992 50.176 20.992 18.944 0 36.864-7.168 50.176-20.992l21.504-21.504c1.024-1.024 2.048-1.536 2.56-2.048 0.512 1.536 1.024 4.608 0.512 9.728z" fill="#72B02D" ></path><path d="M560.64 870.912c-12.8 12.8-12.8 33.28 0 45.568 6.144 6.144 14.336 9.216 23.04 9.216s16.896-3.072 23.04-9.216c6.144-6.144 9.728-14.336 9.728-23.04 0-8.704-3.584-16.896-9.728-23.04-12.8-12.288-33.792-12.288-46.08 0.512z m28.672 28.672c-3.072 3.072-8.704 3.072-11.776 0-3.072-3.072-3.072-8.704 0-11.776 1.536-1.536 3.584-2.56 6.144-2.56 2.048 0 4.096 1.024 6.144 2.56 1.536 1.536 2.56 3.584 2.56 6.144-0.512 2.048-1.536 4.096-3.072 5.632z m225.28-107.008c-4.096-4.096-10.24-4.096-14.336 0l-43.52 43.52c-4.096 4.096-4.096 10.24 0 14.336l102.4 102.4c15.872 15.872 41.984 15.872 57.856 0 15.872-15.872 15.872-41.984 0-57.856l-102.4-102.4z m-237.056-150.528l70.656 70.656 28.672-28.672-70.656-70.656-15.872-30.208-50.688-36.352-28.672 28.672 36.352 50.688 30.208 15.872z" fill="#72B02D" ></path></symbol><symbol id="icon-mojupipei" viewBox="0 0 1024 1024"><path d="M880.64 117.248c32.768 0 58.88 23.04 64.512 54.784l1.024 7.68v663.04c0.512 31.744-22.528 58.368-53.76 62.464l-7.68 1.024H151.552c-34.816 0-66.048-22.528-72.192-53.248l-1.024-6.656V183.296c0-31.744 27.648-59.904 61.952-65.024l7.168-1.024h142.848c24.064 0 44.032 16.896 48.64 39.936l1.024 6.656V406.528c0 7.68 5.12 14.848 12.288 16.896l3.584 0.512H424.96c13.312 0 25.088 9.216 29.184 22.528 6.144 23.552 33.792 46.08 58.368 46.08 22.528 0 48.128-19.456 55.808-39.424l2.048-5.632c2.048-10.24 9.216-18.432 19.456-21.504l5.12-1.024 3.072-0.512h71.168c6.144 0 11.776-3.584 14.336-9.728l1.024-3.584V164.864c0-23.04 15.872-41.984 37.888-46.592l6.144-1.024H880.64zM273.92 184.32H151.552l-2.048 0.512-2.048 0.512-2.56 1.536-1.536 649.728 3.072 1.536 3.072 1.024h1.024l328.192 3.072 2.048-286.72-2.048-0.512-10.24-3.584c-24.576-10.24-45.568-27.136-60.928-49.152l-6.144-9.216 1.024-1.536H349.184c-37.888-4.096-68.608-33.792-74.24-71.68l-1.024-8.192v-4.096V184.32z m476.16-3.072V409.6l-0.512 8.704c-3.584 36.864-32.256 66.56-68.608 72.192l-8.192 1.024h-4.096l-45.568-1.536-6.144 9.728c-14.848 22.528-36.352 40.448-61.44 51.2l-10.752 4.096-3.072 284.16h337.408v-655.36l-129.024-2.56z" fill="#AAAAAA" ></path></symbol><symbol id="icon-buchangshezhi" viewBox="0 0 1024 1024"><path d="M792.576 75.264h-686.08c-17.408 0-31.232 13.824-31.232 31.232v686.08c0 17.408 13.824 31.232 31.232 31.232h436.736c17.408 0 31.232-13.824 31.232-31.232s-13.824-31.232-31.232-31.232H137.728V262.656h624.128v280.576c0 17.408 13.824 31.232 31.232 31.232s31.232-13.824 31.232-31.232V106.496c-0.512-17.408-14.336-31.232-31.744-31.232z" fill="#AAAAAA" ></path><path d="M792.576 948.736c-17.408 0-31.232-13.824-31.232-31.232v-93.696h-93.696c-17.408 0-31.232-13.824-31.232-31.232 0-17.408 13.824-31.232 31.232-31.232h93.696v-93.696c0-17.408 13.824-31.232 31.232-31.232 17.408 0 31.232 13.824 31.232 31.232v93.696h93.696c17.408 0 31.232 13.824 31.232 31.232 0 17.408-13.824 31.232-31.232 31.232h-93.696v93.696c0 17.408-13.824 31.232-31.232 31.232z" fill="#72B02D" ></path><path d="M372.224 518.144l-110.08 110.08c-20.992 20.992-20.992 55.296 0 76.288s55.296 20.992 76.288 0l110.08-110.08c-16.896-6.144-32.768-15.872-46.592-29.696-13.824-13.312-23.552-29.696-29.696-46.592z m-57.856 162.304c-7.68 7.68-20.48 7.68-28.672 0-7.68-7.68-7.68-20.48 0-28.672 7.68-7.68 20.48-7.68 28.672 0 7.68 8.192 7.68 20.992 0 28.672z m340.48-292.864L592.384 450.56c-20.992 20.992-55.296 20.992-76.288 0s-20.992-55.296 0-76.288l62.976-62.976c-51.712-8.704-116.224 14.848-151.552 50.176-49.152 49.152-49.152 128.512 0 177.664s129.024 49.152 177.664 0c35.328-35.328 58.368-99.84 49.664-151.552z" fill="#AAAAAA" ></path></symbol><symbol id="icon-shuchujiagongchengxu" viewBox="0 0 1024 1024"><path d="M876.544 473.6v374.272c0 16.384-13.312 29.696-29.696 29.696h-522.24c-16.384 0-29.696-13.312-29.696-29.696V503.296c0-16.384 13.312-29.696 29.696-29.696h551.936m40.96-70.656H253.952c-16.384 0-29.696 13.312-29.696 29.696v486.4c0 16.384 13.312 29.696 29.696 29.696h663.552c16.384 0 29.696-13.312 29.696-29.696v-486.4c0-16.384-13.312-29.696-29.696-29.696z" fill="#AAAAAA" ></path><path d="M489.984 211.968H814.08l-41.984-41.984c-13.824-13.824-13.824-36.352 0-50.176 13.824-13.824 36.352-13.824 50.176 0L947.712 245.76l-0.512 0.512 0.512 0.512-125.952 125.952c-13.824 13.824-36.352 13.824-50.176 0-13.824-13.824-13.824-36.352 0-50.176l38.912-38.912H489.472c-19.456 0-35.328-15.872-35.328-35.328 0.512-20.48 16.384-36.352 35.84-36.352z" fill="#72B02D" ></path><path d="M531.456 717.824c0-11.776-7.68-22.016-18.944-25.6l-55.808-16.896-14.848-4.608 14.848-4.608 55.808-16.896c11.264-3.584 18.944-13.824 18.944-25.6v-2.048c0-18.432-17.92-31.232-35.328-25.088L363.52 641.024c-10.752 3.584-17.92 13.824-17.92 25.088v8.192c0 11.264 7.168 21.504 17.92 25.088l132.608 45.568c17.408 6.144 35.328-7.168 35.328-25.088v-2.048z m123.392-96.768v2.048c0 11.776 7.68 22.016 18.944 25.6l56.32 16.896 14.848 4.608-14.848 4.608-56.32 16.896c-11.264 3.584-18.944 13.824-18.944 25.6v2.56c0 18.432 17.92 31.232 35.328 25.088l132.608-45.568c10.752-3.584 17.92-13.824 17.92-25.088v-8.192c0-11.264-7.168-21.504-17.92-25.088l-132.608-45.568c-17.408-6.144-35.328 7.168-35.328 25.6z m-54.784-64l-70.144 248.32c-4.608 16.896 8.192 33.792 25.6 33.792 11.776 0 22.528-8.192 25.6-19.456l70.144-248.32c4.608-16.896-8.192-33.792-25.6-33.792-11.776 0-22.016 8.192-25.6 19.456zM147.456 814.08V173.056c0-14.848 11.776-26.624 26.624-26.624h463.872c19.456 0 35.328-15.872 35.328-35.328 0-19.456-15.872-35.328-35.328-35.328H107.008c-16.896 0-30.72 13.824-30.72 30.72v748.032c0 16.896 13.824 30.72 30.72 30.72h40.448c19.456 0 35.328-15.872 35.328-35.328 0.512-19.968-15.36-35.84-35.328-35.84z" fill="#AAAAAA" ></path></symbol><symbol id="icon-guanjiekongzhi" viewBox="0 0 1024 1024"><path d="M648.192 377.344h-71.68c-18.432 0-33.792-14.848-33.792-33.792H366.592c12.288-30.72 25.088-80.896 0-134.656H542.72c0-18.432 15.36-33.792 33.792-33.792h67.584c1.536 0 2.56 0 4.096 0.512L719.36 87.04c10.752-13.312 29.184-16.384 44.032-7.68l168.96 100.864c15.872 9.728 20.992 30.208 11.776 46.08-9.728 15.872-30.208 20.992-46.592 11.264l-143.872-85.504L677.888 245.76v61.44l75.776 93.696 143.872-85.504c15.872-9.728 36.864-4.608 46.592 11.776 9.728 15.872 4.608 36.352-11.264 46.08h-0.512l-168.96 100.864c-14.336 8.704-33.28 5.12-44.032-7.68l-71.168-89.088zM319.488 780.8L102.912 415.744c76.8 69.632 185.344 48.64 231.424-13.312l222.72 378.368H711.68c18.432 0 33.792 14.848 33.792 33.792v100.864c0 18.432-15.36 33.792-33.792 33.792H170.496c-18.432 0-33.792-14.848-33.792-33.792v-100.864c0-18.432 15.36-33.792 33.792-33.792h148.992z" fill="#AAAAAA" ></path><path d="M204.288 148.48C133.12 148.48 75.264 205.824 75.264 276.48S133.12 404.48 204.288 404.48c71.168 0 129.024-57.344 129.024-128S275.456 148.48 204.288 148.48z m0 202.752c-41.472 0-74.752-33.28-74.752-74.752 0-40.96 33.792-74.24 74.752-74.24C245.76 202.24 279.04 235.52 279.04 276.48c0 41.472-33.792 75.264-74.752 74.752z" fill="#72B02D" ></path></symbol><symbol id="icon-jiegoushu" viewBox="0 0 1024 1024"><path d="M233.984 472.064h317.44c0-44.032 35.328-79.36 79.36-79.36h238.08c44.032 0 79.36 35.328 79.36 79.36v79.36c0 44.032-35.328 79.36-79.36 79.36h-238.08c-44.032 0-79.36-35.328-79.36-79.36h-317.44v238.08h317.44c0-44.032 35.328-79.36 79.36-79.36h238.08c44.032 0 79.36 35.328 79.36 79.36v79.36c0 44.032-35.328 79.36-79.36 79.36h-238.08c-44.032 0-79.36-35.328-79.36-79.36h-317.44c-44.032 0-79.36-35.328-79.36-79.36V233.984h-39.936c-22.016 0-39.936-17.92-39.936-39.936V115.2c0-22.016 17.92-39.936 39.936-39.936h158.72c22.016 0 39.936 17.92 39.936 39.936V194.56c0 22.016-17.92 39.936-39.936 39.936h-39.936v237.568z" fill="#AAAAAA" ></path><path d="M551.936 75.264h317.44c44.032 0 79.36 35.328 79.36 79.36v79.36c0 44.032-35.328 79.36-79.36 79.36h-317.44c-44.032 0-79.36-35.328-79.36-79.36V154.624c-0.512-44.032 35.328-79.36 79.36-79.36z" fill="#72B02D" ></path></symbol><symbol id="icon-kuaitui" viewBox="0 0 1024 1024"><path d="M512 148.992c199.68 0 361.984 162.304 361.984 361.984S711.68 872.448 512 872.448s-361.984-162.304-361.984-361.984S312.32 148.992 512 148.992m0-74.752c-241.152 0-436.736 195.584-436.736 436.736s195.584 436.736 436.736 436.736 436.736-195.584 436.736-436.736-195.584-436.736-436.736-436.736z" fill="#AAAAAA" ></path><path d="M670.72 456.192v109.056l-75.264-54.784L670.72 456.192m25.6-102.912c-10.24 0-20.992 3.072-30.208 10.24l-144.896 105.472c-28.672 20.48-28.672 62.976 0 83.968l144.896 105.472c9.216 6.656 19.968 10.24 30.208 10.24 27.136 0 52.224-21.504 52.224-51.712V405.504c0-30.72-25.088-52.224-52.224-52.224z" fill="#72B02D" ></path><path d="M499.712 456.192v109.056L424.96 510.976l74.752-54.784m26.112-102.912c-10.24 0-20.992 3.072-30.208 10.24L350.208 468.992c-28.672 20.48-28.672 62.976 0 83.968l144.896 105.472c9.216 6.656 19.968 10.24 30.208 10.24 27.136 0 52.224-21.504 52.224-51.712V405.504c0-30.72-25.088-52.224-51.712-52.224z" fill="#72B02D" ></path><path d="M314.368 381.44c-21.504 0-38.912 17.408-38.912 38.912v181.248c0 21.504 17.408 38.912 38.912 38.912s38.912-17.408 38.912-38.912V420.352c0-21.504-17.408-38.912-38.912-38.912z" fill="#72B02D" ></path></symbol><symbol id="icon-bofang" viewBox="0 0 1024 1024"><path d="M512 150.016c199.68 0 361.984 162.304 361.984 361.984S711.68 873.984 512 873.984 150.016 711.68 150.016 512 312.32 150.016 512 150.016m0-74.752c-241.152 0-436.736 195.584-436.736 436.736s195.584 436.736 436.736 436.736 436.736-195.584 436.736-436.736-195.584-436.736-436.736-436.736z" fill="#AAAAAA" ></path><path d="M491.008 445.952l115.712 66.048-115.712 66.048V445.952m-23.552-87.04c-24.576 0-46.592 19.456-46.592 46.592v212.48c0 27.136 22.528 46.592 46.592 46.592 7.68 0 15.36-2.048 23.04-6.144l185.856-106.496c31.232-17.92 31.232-62.976 0-80.896L490.496 365.056c-7.168-4.096-15.36-6.144-23.04-6.144z" fill="#72B02D" ></path></symbol><symbol id="icon-kuaijin" viewBox="0 0 1024 1024"><path d="M515.584 151.04c199.168 0 360.96 161.792 360.96 360.96s-161.792 360.96-360.96 360.96-360.96-161.792-360.96-360.96 161.792-360.96 360.96-360.96m0-74.752c-240.64 0-435.712 195.072-435.712 435.712s195.072 435.712 435.712 435.712 435.712-195.072 435.712-435.712-195.072-435.712-435.712-435.712z" fill="#AAAAAA" ></path><path d="M358.912 458.24L433.152 512l-74.24 53.76v-107.52m-25.088-101.376c-26.624 0-51.2 20.992-51.2 51.2v207.872c0 30.208 24.576 51.2 51.2 51.2 10.24 0 20.48-3.072 29.696-9.728l142.848-103.936c28.16-20.48 28.16-61.952 0-82.432L363.52 366.592c-9.216-6.656-19.456-9.728-29.696-9.728z" fill="#72B02D" ></path><path d="M527.36 458.24l74.24 53.76-74.24 53.76v-107.52m-25.088-101.376c-26.624 0-51.2 20.992-51.2 51.2v207.872c0 30.208 24.576 51.2 51.2 51.2 10.24 0 20.48-3.072 29.696-9.728l142.848-103.936c28.16-20.48 28.16-61.952 0-82.432l-142.848-103.936c-9.216-7.168-19.968-10.24-29.696-10.24z" fill="#72B02D" ></path><path d="M710.144 384.512c-20.992 0-38.4 17.408-38.4 38.4v178.688c0 20.992 17.408 38.4 38.4 38.4s38.4-17.408 38.4-38.4V422.912c0-21.504-17.408-38.4-38.4-38.4z" fill="#72B02D" ></path></symbol><symbol id="icon-zanting" viewBox="0 0 1024 1024"><path d="M512 150.016c199.68 0 361.984 162.304 361.984 361.984S711.68 873.984 512 873.984 150.016 711.68 150.016 512 312.32 150.016 512 150.016m0-74.752c-241.152 0-436.736 195.584-436.736 436.736s195.584 436.736 436.736 436.736 436.736-195.584 436.736-436.736-195.584-436.736-436.736-436.736z" fill="#AAAAAA" ></path><path d="M416.768 353.28c-22.016 0-39.936 17.92-39.936 39.936v238.08c0 22.016 17.92 39.936 39.936 39.936s39.936-17.92 39.936-39.936V392.704c-0.512-21.504-17.92-39.424-39.936-39.424z m190.464 0c-22.016 0-39.936 17.92-39.936 39.936v238.08c0 22.016 17.92 39.936 39.936 39.936s39.936-17.92 39.936-39.936V392.704c0-21.504-17.92-39.424-39.936-39.424z" fill="#72B02D" ></path></symbol><symbol id="icon-zhongzhi" viewBox="0 0 1024 1024"><path d="M512 150.016c199.68 0 361.984 162.304 361.984 361.984S711.68 873.984 512 873.984 150.016 711.68 150.016 512 312.32 150.016 512 150.016m0-74.752c-241.152 0-436.736 195.584-436.736 436.736s195.584 436.736 436.736 436.736 436.736-195.584 436.736-436.736-195.584-436.736-436.736-436.736z" fill="#AAAAAA" ></path><path d="M580.096 421.376c12.288 0 22.528 10.24 22.528 22.528v136.192c0 12.288-10.24 22.528-22.528 22.528H443.904c-12.288 0-22.528-10.24-22.528-22.528V443.904c0-12.288 10.24-22.528 22.528-22.528h136.192m0-68.096H443.904C393.728 353.28 353.28 393.728 353.28 443.904v136.192c0 50.176 40.448 90.624 90.624 90.624h136.192c50.176 0 90.624-40.448 90.624-90.624V443.904c0-50.176-40.448-90.624-90.624-90.624z" fill="#72B02D" ></path></symbol><symbol id="icon-suoxiao" viewBox="0 0 1024 1024"><path d="M491.008 463.36c32.256 0 58.88-26.112 58.88-58.88s-26.112-58.88-58.88-58.88H285.696c-32.256 0-58.88 26.112-58.88 58.88s26.112 58.88 58.88 58.88h205.312z" fill="#72B02D" ></path><path d="M810.496 720.384l-158.208-158.208c29.184-48.128 46.08-104.96 46.08-165.376 0-175.616-142.848-318.976-318.976-318.976s-318.976 143.36-318.976 318.976 142.848 318.976 318.976 318.976c78.336 0 150.016-28.16 205.824-75.264l152.576 152.576c10.24 10.24 23.04 14.848 36.352 14.848 13.312 0 26.112-5.12 36.352-14.848 19.968-19.968 19.968-52.736 0-72.704z m-431.104-107.52c-119.296 0-216.064-96.768-216.064-216.064 0-119.296 96.768-216.064 216.064-216.064s216.064 96.768 216.064 216.064c0 119.296-97.28 216.064-216.064 216.064z" fill="#72B02D" ></path><path d="M811.008 106.496h-109.056V209.92h109.056c29.696 0 53.76 24.064 53.76 53.76v81.408H967.68v-81.92c0-86.016-70.144-156.672-156.672-156.672zM864.768 791.552c0 29.696-24.064 53.76-53.76 53.76h-109.056v102.912h109.056c86.528 0 156.672-70.144 156.672-156.672v-81.92h-102.912v81.92z m-690.176 0v-81.92H71.68v81.92c0 86.528 70.144 156.672 156.672 156.672h109.056v-102.912H228.352c-29.696 0-53.76-24.064-53.76-53.76z" fill="#AAAAAA" ></path></symbol><symbol id="icon-fangda" viewBox="0 0 1024 1024"><path d="M488.96 333.824h-47.104V286.72c0-34.816-28.16-62.976-62.976-62.976-34.816 0-62.976 28.16-62.976 62.976v47.104h-47.104c-34.816 0-62.976 28.16-62.976 62.976s28.16 62.976 62.976 62.976h47.104V506.88c0 34.816 28.16 62.976 62.976 62.976 34.816 0 62.976-28.16 62.976-62.976v-47.104h47.104c34.816 0 62.976-28.16 62.976-62.976 0-34.304-28.16-62.976-62.976-62.976z" fill="#72B02D" ></path><path d="M810.496 720.384l-158.208-158.208c29.184-48.128 46.08-104.96 46.08-165.376 0-175.616-142.848-318.976-318.976-318.976s-318.976 143.36-318.976 318.976 142.848 318.976 318.976 318.976c78.336 0 150.016-28.16 205.824-75.264l152.576 152.576c10.24 10.24 23.04 14.848 36.352 14.848s26.112-5.12 36.352-14.848c19.968-19.968 19.968-52.736 0-72.704z m-431.104-107.52c-119.296 0-216.064-96.768-216.064-216.064 0-119.296 96.768-216.064 216.064-216.064s216.064 96.768 216.064 216.064c0 119.296-97.28 216.064-216.064 216.064z" fill="#72B02D" ></path><path d="M811.008 106.496h-109.056V209.92h109.056c29.696 0 53.76 24.064 53.76 53.76v81.408H967.68v-81.92c0-86.016-70.144-156.672-156.672-156.672zM864.768 791.552c0 29.696-24.064 53.76-53.76 53.76h-109.056v102.912h109.056c86.528 0 156.672-70.144 156.672-156.672v-81.92h-102.912v81.92z m-690.176 0v-81.92H71.68v81.92c0 86.528 70.144 156.672 156.672 156.672h109.056v-102.912H228.352c-29.696 0-53.76-24.064-53.76-53.76z" fill="#AAAAAA" ></path></symbol><symbol id="icon-fangdazhichuangkou" viewBox="0 0 1024 1024"><path d="M949.248 858.624l-158.208-158.208c29.184-48.128 46.08-104.96 46.08-165.376 0-175.616-142.848-318.976-318.976-318.976s-318.976 142.848-318.976 318.976 142.848 318.976 318.976 318.976c78.336 0 150.016-28.16 205.824-75.264l152.576 152.576c10.24 10.24 23.04 14.848 36.352 14.848s26.112-5.12 36.352-14.848c19.968-19.968 19.968-52.736 0-72.704z m-431.616-107.52c-119.296 0-216.064-96.768-216.064-216.064 0-119.296 96.768-216.064 216.064-216.064s216.064 96.768 216.064 216.064c0 119.296-96.768 216.064-216.064 216.064z" fill="#72B02D" ></path><path d="M216.576 919.04h109.056v-102.912H216.576c-29.696 0-53.76-24.064-53.76-53.76V233.984c0-29.696 24.064-53.76 53.76-53.76H798.72c29.696 0 53.76 24.064 53.76 53.76v81.92h102.912v-81.92c0-86.528-70.144-156.672-156.672-156.672H216.576c-86.528 0-156.672 70.144-156.672 156.672v528.384c0 86.528 70.144 156.672 156.672 156.672z" fill="#AAAAAA" ></path></symbol><symbol id="icon-shiyingpingmu" viewBox="0 0 1024 1024"><path d="M876.032 75.264H147.968c-39.936 0-72.704 32.768-72.704 72.704v728.064c0 39.936 32.768 72.704 72.704 72.704h728.064c39.936 0 72.704-32.768 72.704-72.704V147.968c0-39.936-32.768-72.704-72.704-72.704z m0 764.416c0 22.016-14.336 36.352-36.352 36.352H184.32c-22.016 0-36.352-14.336-36.352-36.352V184.32c0-22.016 14.336-36.352 36.352-36.352h655.36c22.016 0 36.352 14.336 36.352 36.352v655.36z" fill="#AAAAAA" ></path><path d="M329.728 184.32H220.672c-3.584 0-10.752 0-14.336 3.584-7.168 3.584-14.336 10.752-18.432 18.432-3.584 3.584-3.584 10.752-3.584 14.336v109.056c0 22.016 14.336 36.352 36.352 36.352s36.352-14.336 36.352-36.352v-22.016l47.104 47.104c7.168 7.168 14.336 10.752 25.6 10.752 10.752 0 18.432-3.584 25.6-10.752 14.336-14.336 14.336-36.352 0-51.2l-47.104-47.104h22.016c22.016 0 36.352-14.336 36.352-36.352 0-21.504-14.848-35.84-36.864-35.84zM329.728 766.976h-22.016l47.104-47.104c14.336-14.336 14.336-36.352 0-51.2-14.336-14.336-36.352-14.336-51.2 0l-47.104 47.104v-22.016c0-22.016-14.336-36.352-36.352-36.352s-36.352 14.336-36.352 36.352v109.056c0 3.584 0 10.752 3.584 14.336 3.584 7.168 10.752 14.336 18.432 18.432 3.584 3.584 10.752 3.584 14.336 3.584h109.056c22.016 0 36.352-14.336 36.352-36.352s-13.824-35.84-35.84-35.84zM817.664 187.904c-3.584-3.584-10.752-3.584-14.336-3.584h-109.056c-22.016 0-36.352 14.336-36.352 36.352s14.336 36.352 36.352 36.352h22.016l-47.104 47.104c-14.336 14.336-14.336 36.352 0 51.2 7.168 7.168 14.336 10.752 25.6 10.752s18.432-3.584 25.6-10.752l47.104-47.104v22.016c0 22.016 14.336 36.352 36.352 36.352s36.352-14.336 36.352-36.352V220.672c0-3.584 0-10.752-3.584-14.336-4.096-7.68-11.264-14.848-18.944-18.432zM803.328 657.408c-22.016 0-36.352 14.336-36.352 36.352v22.016l-47.104-47.104c-14.336-14.336-36.352-14.336-51.2 0-14.336 14.336-14.336 36.352 0 51.2l47.104 47.104h-22.016c-22.016 0-36.352 14.336-36.352 36.352s14.336 36.352 36.352 36.352h109.056c3.584 0 10.752 0 14.336-3.584 7.168-3.584 14.336-10.752 18.432-18.432 3.584-3.584 3.584-10.752 3.584-14.336v-109.056c0.512-22.016-13.824-36.864-35.84-36.864z" fill="#72B02D" ></path></symbol><symbol id="icon-yangshitu-01" viewBox="0 0 1024 1024"><path d="M645.632 882.688H150.528l252.928-204.8 477.696 0.512z" fill="#72B02D" ></path><path d="M960 117.248v-1.024-1.024-0.512-1.024-0.512c0-0.512-0.512-1.024-0.512-1.536l-0.512-1.536s0-0.512-0.512-0.512-0.512-0.512-0.512-1.024l-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512h-1.024l-0.512-0.512-1.024-0.512H393.216c-5.12 0-9.728 1.536-13.312 4.608L72.192 350.72l-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024s0 0.512-0.512 0.512c-0.512 0.512-0.512 1.024-1.024 1.536l0.512 0.512c0 0.512-0.512 0.512-0.512 1.024s0 0.512-0.512 1.024-0.512 0.512-0.512 1.024 0 0.512-0.512 1.024c0 0.512 0 1.024-0.512 1.536v0.512l-0.512 2.048V907.776c0 0.512 0 1.536 0.512 2.048v1.024c0 0.512 0 0.512 0.512 1.024s0 0.512 0.512 1.024v1.024s0 0.512 0.512 1.024c0 0.512 0.512 1.024 0.512 1.536l0.512 0.512c0.512 0.512 0.512 1.024 1.024 1.536 0 0 0 0.512 0.512 0.512l1.024 1.024 0.512 0.512 1.024 1.024 0.512 0.512 1.536 1.536c0.512 0.512 1.024 0.512 1.536 1.024l0.512 0.512 1.024 0.512 0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 1.024 0.512 1.536 0.512h0.512l1.024 0.512H655.872c7.68 0 14.848-4.096 18.432-10.752l276.992-241.664 1.024-1.024 1.024-1.024 0.512-0.512 1.024-1.024 1.024-1.024 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.536 0-0.512 0.512-1.024 0.512-1.536v-0.512V660.992v-2.048V117.76c1.024 0 1.024 0 1.024-0.512z m-542.72 23.552H880.64l-234.496 203.264-228.864 0.512V140.8z m0 247.296l217.088-0.512-1.024 247.296H417.28V388.096z m-43.008-223.744v180.736l-225.792 1.024 225.792-181.76zM113.152 389.12l261.632-0.512v256l-263.168 211.968 1.536-467.456z m532.48 493.568H150.528l252.928-204.288 477.696 0.512-235.52 203.776z m271.36-247.808h-239.104V375.808l239.104-208.896V634.88z" fill="#AAAAAA" ></path></symbol><symbol id="icon-zuoshitu-01" viewBox="0 0 1024 1024"><path d="M374.272 644.096l-262.656 211.968L112.64 373.76l261.632-209.408z" fill="#72B02D" ></path><path d="M960 117.248v-1.024-1.024-0.512-1.024-0.512c0-0.512-0.512-1.024-0.512-1.536l-0.512-1.536s0-0.512-0.512-0.512-0.512-0.512-0.512-1.024l-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512h-1.024l-0.512-0.512-1.024-0.512H393.216c-5.12 0-9.728 1.536-13.312 4.608L72.192 350.72l-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024s0 0.512-0.512 0.512c-0.512 0.512-0.512 1.024-1.024 1.536l0.512 0.512c0 0.512-0.512 0.512-0.512 1.024s0 0.512-0.512 1.024-0.512 0.512-0.512 1.024 0 0.512-0.512 1.024c0 0.512 0 1.024-0.512 1.536v0.512l-0.512 2.048V907.776c0 0.512 0 1.536 0.512 2.048v1.024c0 0.512 0 0.512 0.512 1.024s0 0.512 0.512 1.024v1.024s0 0.512 0.512 1.024c0 0.512 0.512 1.024 0.512 1.536l0.512 0.512c0.512 0.512 0.512 1.024 1.024 1.536 0 0 0 0.512 0.512 0.512l1.024 1.024 0.512 0.512 1.024 1.024 0.512 0.512 1.536 1.536c0.512 0.512 1.024 0.512 1.536 1.024l0.512 0.512 1.024 0.512 0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 1.024 0.512 1.536 0.512h0.512l1.024 0.512H655.872c7.68 0 14.848-4.096 18.432-10.752l276.992-241.664 1.024-1.024 1.024-1.024 0.512-0.512 1.024-1.024 1.024-1.024 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.536 0-0.512 0.512-1.024 0.512-1.536v-0.512V660.992v-2.048V117.76c1.024 0 1.024 0 1.024-0.512zM112.64 373.76l261.632-209.408v479.744l-263.168 211.968L112.64 373.76z m520.192 507.904l-482.304 1.536 252.928-204.8h230.4l-1.024 203.264z m1.024-246.784H417.28V388.096l217.088-0.512-0.512 247.296z m12.288-290.304l-228.864 0.512V140.8H880.64l-234.496 203.776z m31.232 510.976v-177.664H880.64l-203.264 177.664z m239.616-220.672h-239.104V375.808l239.104-208.896V634.88z" fill="#AAAAAA" ></path></symbol><symbol id="icon-qianshitu-01" viewBox="0 0 1024 1024"><path d="M112.64 389.12h520.704v493.056H112.64z" fill="#72B02D" ></path><path d="M960 117.248v-1.024-1.024-0.512-1.024-0.512c0-0.512-0.512-1.024-0.512-1.536l-0.512-1.536s0-0.512-0.512-0.512-0.512-0.512-0.512-1.024l-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512h-1.024l-0.512-0.512-1.024-0.512H393.216c-5.12 0-9.728 1.536-13.312 4.608L72.192 350.72l-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024s0 0.512-0.512 0.512c-0.512 0.512-0.512 1.024-1.024 1.536l0.512 0.512c0 0.512-0.512 0.512-0.512 1.024s0 0.512-0.512 1.024-0.512 0.512-0.512 1.024 0 0.512-0.512 1.024c0 0.512 0 1.024-0.512 1.536v0.512l-0.512 2.048V907.776c0 0.512 0 1.536 0.512 2.048v1.024c0 0.512 0 0.512 0.512 1.024s0 0.512 0.512 1.024v1.024s0 0.512 0.512 1.024c0 0.512 0.512 1.024 0.512 1.536l0.512 0.512c0.512 0.512 0.512 1.024 1.024 1.536 0 0 0 0.512 0.512 0.512l1.024 1.024 0.512 0.512 1.024 1.024 0.512 0.512 1.536 1.536c0.512 0.512 1.024 0.512 1.536 1.024l0.512 0.512 1.024 0.512 0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 1.024 0.512 1.536 0.512h0.512l1.024 0.512H655.872c7.68 0 14.848-4.096 18.432-10.752l276.992-241.664 1.024-1.024 1.024-1.024 0.512-0.512 1.024-1.024 1.024-1.024 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.536 0-0.512 0.512-1.024 0.512-1.536v-0.512V660.992v-2.048V117.76c1.024 0 1.024 0 1.024-0.512zM374.272 164.352v180.736l-225.792 1.024 225.792-181.76z m259.584 717.824H112.64V389.12h520.704v493.056z m12.288-537.6l-228.864 0.512V140.8H880.64l-234.496 203.776z m31.232 510.976v-177.664H880.64l-203.264 177.664z m239.616-220.672h-239.104V375.808l239.104-208.896V634.88z" fill="#AAAAAA" ></path></symbol><symbol id="icon-youshitu-01" viewBox="0 0 1024 1024"><path d="M916.992 659.456l-239.616 196.096V375.808l239.616-208.896z" fill="#72B02D" ></path><path d="M960 117.248v-1.024-1.024-0.512-1.024-0.512c0-0.512-0.512-1.024-0.512-1.536l-0.512-1.536s0-0.512-0.512-0.512-0.512-0.512-0.512-1.024l-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512h-1.024l-0.512-0.512-1.024-0.512H393.216c-5.12 0-9.728 1.536-13.312 4.608L72.192 350.72l-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024s0 0.512-0.512 0.512c-0.512 0.512-0.512 1.024-1.024 1.536l0.512 0.512c0 0.512-0.512 0.512-0.512 1.024s0 0.512-0.512 1.024-0.512 0.512-0.512 1.024 0 0.512-0.512 1.024c0 0.512 0 1.024-0.512 1.536v0.512l-0.512 2.048V907.776c0 0.512 0 1.536 0.512 2.048v1.024c0 0.512 0 0.512 0.512 1.024s0 0.512 0.512 1.024v1.024s0 0.512 0.512 1.024c0 0.512 0.512 1.024 0.512 1.536l0.512 0.512c0.512 0.512 0.512 1.024 1.024 1.536 0 0 0 0.512 0.512 0.512l1.024 1.024 0.512 0.512 1.024 1.024 0.512 0.512 1.536 1.536c0.512 0.512 1.024 0.512 1.536 1.024l0.512 0.512 1.024 0.512 0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 1.024 0.512 1.536 0.512h0.512l1.024 0.512H655.872c7.68 0 14.848-4.096 18.432-10.752l276.992-241.664 1.024-1.024 1.024-1.024 0.512-0.512 1.024-1.024 1.024-1.024 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.536 0-0.512 0.512-1.024 0.512-1.536v-0.512V660.992v-2.048V117.76c1.024 0 1.024 0 1.024-0.512zM374.272 164.352v180.736l-225.792 1.024 225.792-181.76zM113.152 389.12l261.632-0.512v256l-263.168 211.968 1.536-467.456z m519.68 492.544l-482.304 1.536 252.928-204.8h230.4l-1.024 203.264z m1.024-246.784H417.28V388.096l217.088-0.512-0.512 247.296z m12.288-290.304l-228.864 0.512V140.8H880.64l-234.496 203.776z m270.848 314.88l-239.104 196.096V375.808l239.104-208.896v492.544z" fill="#AAAAAA" ></path></symbol><symbol id="icon-houshitu-01" viewBox="0 0 1024 1024"><path d="M960 118.784V117.76v-1.024-1.024-1.024-0.512-0.512c1.536 7.68-1.024 15.872-6.656 20.992L677.376 373.76v299.52h-43.008V389.12H374.272v254.976l-262.656 211.968L112.64 389.12l261.632-0.512v-42.496h269.824l280.064-243.2c3.072-2.56 6.656-4.096 10.752-5.12H393.216c-5.12 0-9.728 1.536-13.312 4.608L72.192 350.72l-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024s0 0.512-0.512 0.512c-0.512 0.512-0.512 1.024-1.024 1.536l0.512 0.512c-0.512 0.512-0.512 1.024-1.024 2.048 0 0.512 0 0.512-0.512 1.024 0 0.512 0 0.512-0.512 1.024 0 0.512 0 1.024-0.512 1.536v0.512c0 0.512 0 1.024-0.512 1.536V907.264c0 0.512 0 1.024 0.512 2.048v0.512s0 0.512 0.512 1.024c0 0.512 0 0.512 0.512 1.024v1.024s0 0.512 0.512 1.024c0 0.512 0.512 1.024 0.512 1.024s0 0.512 0.512 0.512c0.512 0.512 0.512 1.024 1.024 1.536 0 0 0 0.512 0.512 0.512l1.024 1.024 0.512 0.512 1.024 1.024 0.512 0.512c0.512 0.512 1.024 1.024 1.536 1.024 0.512 0.512 1.024 0.512 1.536 1.024l0.512 0.512 1.024 0.512 0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 1.024 0.512 1.536 0.512h0.512c0.512 0 1.024 0 1.024 0.512H655.872c7.68 0 14.848-4.096 18.432-10.752l276.992-242.176 1.024-1.024 1.024-1.024 0.512-0.512 1.024-1.024 1.024-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024 0-0.512 0.512-1.024 0.512-1.536v-0.512V658.944v-2.048V118.272c1.536 1.024 1.536 1.024 1.536 0.512zM374.272 164.352v180.736l-225.792 1.024 225.792-181.76z m258.56 717.312l-482.304 1.536 252.928-204.8h230.4l-1.024 203.264z m44.544-26.112v-177.664H880.64l-203.264 177.664z m281.6-741.376v-0.512-0.512 1.024z" fill="#AAAAAA" ></path><path d="M916.992 634.88h-239.616V375.808l239.616-211.456zM644.096 346.112H417.28V141.824h462.336zM417.28 389.12H634.88v245.76H417.28z" fill="#72B02D" ></path><path d="M958.976 114.176c0 0.512 0.512 0.512 0 0z m-20.48-16.384H945.152l0.512 0.512 0.512 0.512h1.024l0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512 0.512c0 0.512 0.512 0.512 0.512 1.024s0 0.512 0.512 0.512c0 0.512 0.512 1.024 0.512 1.536 0 0.512 0.512 1.024 0.512 1.024-3.072-10.24-13.312-16.896-24.064-14.848h4.608v1.024z" fill="#C1272D" ></path></symbol><symbol id="icon-dingshitu-01" viewBox="0 0 1024 1024"><path d="M880.64 140.8l-234.496 203.776-497.664 1.536 256-206.336z" fill="#72B02D" ></path><path d="M960 117.248v-1.024-1.024-0.512-1.024-0.512c0-0.512-0.512-1.024-0.512-1.536l-0.512-1.536s0-0.512-0.512-0.512-0.512-0.512-0.512-1.024l-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512h-1.024l-0.512-0.512-1.024-0.512H393.216c-5.12 0-9.728 1.536-13.312 4.608L72.192 350.72l-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024s0 0.512-0.512 0.512c-0.512 0.512-0.512 1.024-1.024 1.536l0.512 0.512c0 0.512-0.512 0.512-0.512 1.024s0 0.512-0.512 1.024-0.512 0.512-0.512 1.024 0 0.512-0.512 1.024c0 0.512 0 1.024-0.512 1.536v0.512l-0.512 2.048V907.776c0 0.512 0 1.536 0.512 2.048v1.024c0 0.512 0 0.512 0.512 1.024s0 0.512 0.512 1.024v1.024s0 0.512 0.512 1.024c0 0.512 0.512 1.024 0.512 1.536l0.512 0.512c0.512 0.512 0.512 1.024 1.024 1.536 0 0 0 0.512 0.512 0.512l1.024 1.024 0.512 0.512 1.024 1.024 0.512 0.512 1.536 1.536c0.512 0.512 1.024 0.512 1.536 1.024l0.512 0.512 1.024 0.512 0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 1.024 0.512 1.536 0.512h0.512l1.024 0.512H655.872c7.68 0 14.848-4.096 18.432-10.752l276.992-241.664 1.024-1.024 1.024-1.024 0.512-0.512 1.024-1.024 1.024-1.024 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.536 0-0.512 0.512-1.024 0.512-1.536v-0.512V660.992v-2.048V117.76c1.024 0 1.024 0 1.024-0.512zM113.152 389.12l261.632-0.512v256l-263.168 211.968 1.536-467.456z m519.68 492.544l-482.304 1.536 252.928-204.8h230.4l-1.024 203.264z m1.024-246.784H417.28V388.096l217.088-0.512-0.512 247.296z m12.288-290.304l-497.664 1.536 256-205.824 476.16 1.024-234.496 203.264z m31.232 510.976v-177.664H880.64l-203.264 177.664z m239.616-220.672h-239.104V375.808l239.104-208.896V634.88z" fill="#AAAAAA" ></path></symbol><symbol id="icon-toushitu-01" viewBox="0 0 1024 1024"><path d="M965.632 114.176V112.64v-1.024-0.512-1.024-0.512s0-0.512-0.512-1.024v-0.512c-0.512-1.024-0.512-2.048-1.024-3.072v-0.512c0-0.512-0.512-0.512-0.512-1.024s0-0.512-0.512-0.512l-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512s-0.512-1.024-1.024-1.024l-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512-0.512h-1.024s-0.512 0-0.512-0.512c0 0-0.512 0-0.512-0.512H950.784h-0.512H392.704c-5.12 0-9.728 1.536-13.312 4.608l-312.32 251.392-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024-0.512 0.512-1.024 1.024s0 0.512-0.512 0.512c-0.512 0.512-0.512 1.024-1.024 1.536 0 0 0 0.512-0.512 0.512 0 0.512-0.512 0.512-0.512 1.024s0 0.512-0.512 1.024c0 0.512 0 0.512-0.512 1.024s0 0.512 0 1.024 0 1.024-0.512 1.536v0.512c0 0.512 0 1.024-0.512 1.536V912.896c0 0.512 0 1.024 0.512 2.048v0.512s0 0.512 0.512 1.024l0.512 1.024v1.024s0 0.512 0.512 1.024c0 0.512 0.512 1.024 0.512 1.024l0.512 0.512c0.512 0.512 0.512 1.024 1.024 1.536 0 0 0 0.512 0.512 0.512 0 0.512 0.512 0.512 1.024 1.024l0.512 0.512 1.024 1.024 0.512 0.512c0.512 0.512 1.024 1.024 1.536 1.024 0.512 0.512 1.024 0.512 1.536 1.024l0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 0.512 0.512 1.024 0.512l0.512 0.512c0.512 0 1.024 0.512 1.536 0.512h0.512c0.512 0 1.024 0 1.024 0.512h583.168c7.68 0 14.848-4.096 18.432-10.752L957.44 675.84l1.024-1.024 1.024-1.024 0.512-0.512 1.024-1.024 1.024-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024v-0.512c0-0.512 0.512-0.512 0.512-1.024v-0.512c0-0.512 0.512-1.024 0.512-1.024 0-0.512 0.512-1.024 0.512-1.536v-0.512V661.504v-1.536V658.432l1.024-544.256zM372.736 343.04l-229.888 0.512L372.736 158.72v184.32z m43.008 43.008l220.672-0.512-0.512 251.392h-220.16v-250.88z m-43.008 0v260.096l-267.264 215.552 1.536-474.624 265.728-1.024z m-227.84 502.272l257.024-208.384h233.984l-0.512 206.848-490.496 1.536z m503.296-545.792l-172.544 0.512H415.232V135.68h471.04l-238.08 206.848z m31.232 337.408h207.36l-207.36 181.248v-181.248z m0-43.008V373.76l243.2-212.48v475.648h-243.2z" fill="#AAAAAA" ></path></symbol><symbol id="icon-a-jixiebi3" viewBox="0 0 1024 1024"><path d="M483.386004 821.695719H164.779715l29.075502-22.648286h260.455285l29.075502 22.648286z" fill="#3F3F3F" ></path><path d="M483.386004 776.399147H164.779715l29.075502 22.648286h260.455285l29.075502-22.648286z" fill="#7A807D" ></path><path d="M483.386004 776.399147H164.779715l29.075502-22.648285h260.455285l29.075502 22.648285z" fill="#3F3F3F" ></path><path d="M483.386004 730.796518H164.779715l29.075502 22.954344h260.455285l29.075502-22.954344zM483.386004 685.499947H164.779715l29.075502 22.648285h260.455285l29.075502-22.648285z" fill="#7A807D" ></path><path d="M483.386004 730.796518H164.779715l29.075502-22.648286h260.455285l29.075502 22.648286z" fill="#3F3F3F" ></path><path d="M150.701051 623.064132h339.418227v62.435815H150.701051z" fill="#F7A53F" ></path><path d="M150.701051 821.695719h339.418227v31.217907H150.701051z" fill="#FFFFFF" ></path><path d="M607.951575 339.654504a74.984189 74.984189 0 0 1-23.872517 103.447575 75.290247 75.290247 0 0 1-103.753633-23.872518L293.324039 120.823095A75.290247 75.290247 0 0 1 317.196557 17.069462a75.290247 75.290247 0 0 1 103.753633 23.872517zM441.762128 517.474152v105.58998H198.752144v-105.58998a122.423166 122.423166 0 1 1 244.846331 0z" fill="#FFC200" ></path><path d="M627.233224 377.605685a103.141517 103.141517 0 0 1-52.948019 82.635637l-165.88339 118.750471-2.448463 1.836347a112.93537 112.93537 0 1 1-112.017197-194.346775l195.571007-84.471985a132.523077 132.523077 0 0 1 48.357151-12.854432A89.062853 89.062853 0 0 1 627.233224 377.605685z" fill="#FFE610" ></path><path d="M401.056425 493.601635a71.005436 71.005436 0 1 1-71.005436-71.311494 71.005436 71.005436 0 0 1 71.005436 71.311494z" fill="#FFFFFF" ></path><path d="M375.34756 493.601635a45.296571 45.296571 0 1 1-45.296571-45.60263 45.296571 45.296571 0 0 1 45.296571 45.60263z" fill="#48B8BF" ></path><path d="M592.342622 376.381453a49.88744 49.88744 0 1 1-49.581382-49.88744 49.88744 49.88744 0 0 1 49.581382 49.88744z" fill="#FFFFFF" ></path><path d="M574.285205 376.381453a30.605791 30.605791 0 1 1-30.605792-30.605791 30.605791 30.605791 0 0 1 30.605792 30.605791z" fill="#48B8BF" ></path><path d="M731.048068 230.789704l165.975207-62.099151 18.883774 50.46895-165.975207 62.068545z" fill="#FFE610" ></path><path d="M734.047436 202.785404l145.836596-54.294674 9.426584 25.31099-145.867202 54.294674z" fill="#F7A53F" ></path><path d="M808.419509 259.161272l23.872517 63.353988 31.523966 35.808776-19.893765 18.057417-48.051092-38.257239-27.851271-63.660046 40.399645-15.302896zM854.940312 242.022029l23.56646 63.04793-0.306058 47.745035 26.627038 0.612116 11.324143-60.293409-20.811938-66.414568-40.399645 15.302896zM716.173654 94.379691l102.345766-38.257239 37.216643 99.468822-102.345767 38.257239z" fill="#7A807D" ></path><path d="M841.473764 83.790087a66.108509 66.108509 0 0 1-65.802452 66.10851l-407.669142 15.608953a67.944857 67.944857 0 0 1-11.324142 0 82.635637 82.635637 0 0 1 0-165.271273 67.944857 67.944857 0 0 1 11.324142 0l407.669142 17.445301A66.108509 66.108509 0 0 1 841.473764 83.790087z" fill="#FFE610" ></path><path d="M402.892773 83.790087a46.520803 46.520803 0 1 1-46.520803-46.214745A46.520803 46.520803 0 0 1 402.892773 83.790087z" fill="#FFFFFF" ></path><path d="M386.059587 83.790087a30.605791 30.605791 0 1 1-30.605791-30.605791 30.605791 30.605791 0 0 1 30.605791 30.605791z" fill="#48B8BF" ></path><path d="M810.867972 83.790087a38.257239 38.257239 0 1 1-39.787528-38.257239A38.257239 38.257239 0 0 1 810.867972 83.790087z" fill="#FFFFFF" ></path><path d="M795.565077 83.790087a24.484633 24.484633 0 1 1-24.484633-24.484633 24.484633 24.484633 0 0 1 24.484633 24.484633z" fill="#48B8BF" ></path><path d="M106.93477 852.913626h639.66104v171.086374H106.93477z" fill="#FFE610" ></path><path d="M383.305066 709.678522h337.275822v207.201208H383.305066z" fill="#4D4D4D" ></path><path d="M407.177584 732.02075h291.061076v161.904636H407.177584z" fill="#FFFFFF" ></path><path d="M429.825869 755.893267h159.150116v16.22107h-159.150116zM429.825869 784.356653h131.604903v16.22107h-131.604903zM429.825869 812.820039h199.855818v16.22107h-199.855818zM429.825869 841.283425h146.601741v16.22107h-146.601741z" fill="#92D5D2" ></path><path d="M507.564579 732.326808l-31.830023 161.904636H407.177584v-161.904636h100.386995z" fill="#F5F5F5" opacity=".5" ></path><path d="M474.816383 916.87973h155.783478v31.830023h-155.783478z" fill="#7A807D" ></path><path d="M106.93477 977.173139h639.66104v46.826861H106.93477z" fill="#F7A53F" ></path><path d="M252.006221 899.740487h66.414567v48.969266H252.006221z" fill="#7A807D" ></path><path d="M319.64502 817.716966l-3.672695 11.324143-21.730112 70.699378h-21.730112l23.872518-76.820537 3.366637-11.324143 19.893764 6.121159z" fill="#999999" ></path><path d="M341.069074 809.147344A28.463386 28.463386 0 1 1 321.17531 773.950684a28.463386 28.463386 0 0 1 19.893764 35.19666z" fill="#48B8BF" ></path><path d="M322.705599 793.538391a13.16049 13.16049 0 1 1-26.014923 0 13.16049 13.16049 0 0 1 26.014923 0z" fill="#FFFFFF" ></path><path d="M165.085773 899.740487h66.414568v49.275324H165.085773z" fill="#7A807D" ></path><path d="M163.861542 817.716966l3.366637 11.324143 22.03617 70.699378h21.730111l-23.872517-76.820537-3.672695-11.324143-19.587706 6.121159z" fill="#999999" ></path><path d="M142.437488 809.147344a28.157328 28.157328 0 1 0 18.669532-35.19666 28.157328 28.157328 0 0 0-18.669532 35.19666z" fill="#F7A53F" ></path><path d="M160.800963 793.538391a13.16049 13.16049 0 1 0 12.854432-12.854433 12.854432 12.854432 0 0 0-12.854432 12.854433z" fill="#FFFFFF" ></path></symbol><symbol id="icon-jixiebi2" viewBox="0 0 1164 1024"><path d="M848.55632 485.108049h233.370249v430.146938h-233.370249z" fill="#FFE610" ></path><path d="M974.217224 605.245396h154.314351v64.211341h-154.314351zM974.217224 689.82485h154.314351v64.211341h-154.314351zM974.217224 774.749527h154.314351v64.211341h-154.314351z" fill="#54D9D9" ></path><path d="M306.557369 245.869021l99.078789 31.760448 69.389675 22.094225 145.683794 46.259783 69.734897 22.094225 119.101681 37.974449 66.627896 21.058558 1.035667-2.761778 21.749003-69.044453 23.129891-72.151453-22.784669-7.249667-79.746343-25.201225-20.368113-6.559223-337.972595-107.364124-21.40378-6.904445-87.686455-27.617781-45.224116 142.576794-0.345222 1.035667z" fill="#FFE610" ></path><path d="M412.33347 357.755556l10.70189-33.555604 441.470229 140.401894-10.667368 33.555604z" fill="#A3A3A3" ></path><path d="M380.331366 357.686512l25.408359-79.953476 69.424197 22.094225-25.408359 79.918953zM595.508402 425.626253l25.408359-79.953476 69.389674 22.059703-25.373836 79.953476z" fill="#3F3F3F" ></path><path d="M809.200982 411.575707a144.302906 144.302906 0 0 0 4.833112 37.284004 138.088905 138.088905 0 0 0 18.987224 43.152783 144.302906 144.302906 0 0 0 15.535002 19.677669 146.719461 146.719461 0 0 0 256.154919-100.114456 144.648128 144.648128 0 0 0-34.522226-94.5909 180.206021 180.206021 0 0 0-15.880224-16.570668 146.719461 146.719461 0 0 0-96.317012-34.522227 148.445573 148.445573 0 0 0-58.687784 10.356668 146.719461 146.719461 0 0 0-89.757788 129.803571 34.522226 34.522226 0 0 0-0.345223 5.523556z" fill="#FFC200" ></path><path d="M876.174101 411.575707A80.091565 80.091565 0 1 0 956.265666 331.484142a80.091565 80.091565 0 0 0-80.091565 80.091565z" fill="#FFFFFF" ></path><path d="M904.827549 411.575707a51.438117 51.438117 0 1 0 51.438117-51.092895 51.438117 51.438117 0 0 0-51.438117 51.092895z" fill="#54D9D9" ></path><path d="M218.076903 216.594173l37.007826-117.202958 88.894733 28.06657L306.902591 244.660743zM86.512699 119.345062l92.450522-16.467102 19.401491 108.745013-92.450522 16.467102z" fill="#8A8A8A" ></path><path d="M0 65.317778l45.224116 254.083585 21.058558-3.797445 31.415226-5.523556 22.094225-4.142667-13.808891-77.675009-19.332446-109.090235-12.082779-67.318341-14.499335 2.761778-21.403781 3.797445-38.664893 6.904445z" fill="#292929" ></path><path d="M95.626567 436.43171l16.570668-3.107-14.499335-123.244348-31.415226 5.523556 29.343893 120.827792z" fill="#7A807D" ></path><path d="M138.088905 153.349455a80.782009 80.782009 0 0 0 31.070003 63.520896 79.40112 79.40112 0 0 0 49.021562 16.915891 75.258453 75.258453 0 0 0 32.10567-6.904445 80.091565 80.091565 0 0 0 48.331117-73.532342 78.710676 78.710676 0 0 0-13.808891-44.18845 76.984564 76.984564 0 0 0-31.760448-27.617781l-7.59489-3.452222a83.543787 83.543787 0 0 0-12.428001-3.452223H217.835247A80.091565 80.091565 0 0 0 138.088905 153.349455z" fill="#FFC200" ></path><path d="M167.087575 153.694677A51.092895 51.092895 0 1 0 217.835247 103.637449a50.747673 50.747673 0 0 0-50.747672 50.057228z" fill="#FFFFFF" ></path><path d="M185.384355 153.694677a32.450893 32.450893 0 1 0 32.450892-34.522226 32.450893 32.450893 0 0 0-32.450892 34.522226z" fill="#54D9D9" ></path><path d="M38.664893 58.413333l21.403781-3.797445C66.627897 19.74844 108.745013 11.117883 141.88635 14.915328a89.757788 89.757788 0 0 1 81.472454 58.687784h9.321001a83.543787 83.543787 0 0 1 12.428001 3.452223l7.59489 3.452223c53.854673-42.807561 165.016241-17.951558 187.110466 48.331116l21.40378 6.904446C439.813162 59.449 307.593036 24.581551 241.655583 69.115223a113.923346 113.923346 0 0 0-108.745012-69.044452C90.793455 0.070771 41.081449 10.772661 38.664893 58.413333zM799.189537 244.14291l20.368113 6.559223a345.222262 345.222262 0 0 0 89.412566-34.522226c48.331117-22.784669 133.601015-34.522226 144.99335 34.522226a114.613791 114.613791 0 0 1 0 48.676339 180.206021 180.206021 0 0 1 15.880224 16.570668c15.880224-50.057228 3.797445-107.364124-54.545117-124.280014-83.198565-22.439447-141.541127 45.569339-216.109136 52.473784z" fill="#3F3F3F" ></path><path d="M44.18845 731.251522a105.638012 105.638012 0 0 0 105.638012 105.638012h698.729858v-31.415226H149.826462a74.222786 74.222786 0 0 1 0-148.445573h698.729858v-31.415225H149.826462a105.638012 105.638012 0 0 0-105.638012 105.638012z" fill="#8A8A8A" ></path><path d="M75.603675 731.251522a74.222786 74.222786 0 0 0 74.222787 74.222786h698.729858V655.993069H149.826462a74.222786 74.222786 0 0 0-74.222787 75.258453z" fill="#FFE610" ></path><path d="M103.566679 731.251522a51.092895 51.092895 0 1 0 50.747672-50.747673A50.747673 50.747673 0 0 0 103.566679 731.251522z" fill="#FFFFFF" ></path><path d="M121.863459 731.251522a32.450893 32.450893 0 1 0 32.450892-32.450893 32.450893 32.450893 0 0 0-32.450892 32.450893zM290.331922 731.251522a34.522226 34.522226 0 0 0 34.522227 34.522226h414.266714a34.522226 34.522226 0 0 0 34.522226-34.522226 34.522226 34.522226 0 0 0-34.522226-34.522226h-414.266714a34.522226 34.522226 0 0 0-34.522227 34.522226z" fill="#54D9D9" ></path><path d="M827.15254 877.625761h276.523032v61.794785h-276.523032z" fill="#F7A53F" ></path><path d="M839.925764 939.765768h250.976584v31.070004h-250.976584z" fill="#707070" ></path><path d="M747.75142 657.028735v148.445573h43.152783v31.415226h57.652117v-211.276024h-57.652117v31.415225h-43.152783z" fill="#B3B3B3" opacity=".76" ></path><path d="M14.499335 970.490549h1149.590133v53.509451H14.499335z" fill="#B86805" ></path><path d="M154.314351 836.889534H272.725587v133.601015H154.314351zM614.150404 836.889534h118.411236v133.601015h-118.411236z" fill="#F7A53F" ></path><path d="M614.150404 836.889534h118.411236v78.365453h-118.411236zM154.314351 836.889534H272.725587v78.365453H154.314351z" fill="#B3B3B3" opacity=".76" ></path></symbol><symbol id="icon-jixiebi4" viewBox="0 0 1123 1024"><path d="M502.569098 505.335276h543.234824v85.15391H502.569098z" fill="#FFE610" ></path><path d="M483.047648 203.089382a81.451566 81.451566 0 0 1-41.06236 73.373725l-302.919047 173.33701a82.124719 82.124719 0 0 1-81.788143-143.045105l302.919047-173.33701a82.124719 82.124719 0 0 1 83.807603 0 79.768682 79.768682 0 0 1 27.935868 28.945597A77.412645 77.412645 0 0 1 483.047648 203.089382z" fill="#FFC200" ></path><path d="M39.776109 803.542249h1082.094151v220.121174H39.776109z" fill="#FFE610" ></path><path d="M39.776109 971.830609h1082.094151v52.169391H39.776109zM466.218812 723.43699v146.747449H219.844654v-146.747449a123.187079 123.187079 0 0 1 246.374158 0z" fill="#FFC200" ></path><path d="M396.210854 790.415757a100.973016 100.973016 0 0 1-141.698798-23.896947l-235.603704-331.864645a100.973016 100.973016 0 0 1 23.896947-141.362222 100.973016 100.973016 0 0 1 141.698799 23.896947l235.603703 331.528068a100.973016 100.973016 0 0 1-24.233523 141.698799z" fill="#FFE610" ></path><path d="M146.470929 451.146424a86.16364 86.16364 0 1 1 29.282174-118.138428 86.16364 86.16364 0 0 1-29.282174 118.138428z" fill="#B8B8B8" ></path><path d="M131.661553 424.556864a56.881466 56.881466 0 1 1 19.52145-78.085799 56.544889 56.544889 0 0 1-19.52145 78.085799z" fill="#B8B8B8" ></path><path d="M120.554522 405.035414a35.677132 35.677132 0 0 1-36.686863-60.920386A35.677132 35.677132 0 1 1 120.554522 405.035414z" fill="#FFFFFF" ></path><path d="M370.9676 757.767815a56.881466 56.881466 0 1 1 19.184873-78.085798 56.881466 56.881466 0 0 1-19.184873 78.085798z" fill="#B8B8B8" ></path><path d="M358.850839 739.592672a35.677132 35.677132 0 1 1 12.116761-48.803624 35.677132 35.677132 0 0 1-12.116761 48.803624z" fill="#FFFFFF" ></path><path d="M423.136992 384.167657l-112.416624 66.305614-32.984519-55.871735 112.753201-65.969037 9.760725 16.492259 13.463069 22.887217 9.424148 16.155682z" fill="#8A8A8A" ></path><path d="M400.18246 345.023785l70.512822-41.398937 13.463069 22.887217-70.512823 41.432594z" fill="#C4C4C4" ></path><path d="M489.442606 313.823123a21.877487 21.877487 0 0 1-11.780186 27.935868 21.54091 21.54091 0 0 1-27.935867-12.116762l-29.955328-73.373725a21.54091 21.54091 0 0 1 12.116762-27.935868 21.204333 21.204333 0 0 1 27.599291 11.780186z" fill="#F7A53F" ></path><path d="M482.037918 318.19862a12.453339 12.453339 0 0 1-9.424148 14.809376 12.789915 12.789915 0 0 1-14.809376-9.424148 12.789915 12.789915 0 0 1 9.424148-14.809376 12.453339 12.453339 0 0 1 14.809376 9.424148z" fill="#707070" ></path><path d="M303.652257 388.543155a24.5701 24.5701 0 0 0-7.404688 8.077841l-24.906677 45.10128 32.311365 44.764704 36.350285-65.63246a24.906677 24.906677 0 0 0-36.013709-33.657672z m12.453338 6.394957a14.472799 14.472799 0 0 1 16.155683 12.116762 14.136222 14.136222 0 0 1-12.116762 16.155683 13.799645 13.799645 0 0 1-16.155683-11.780185 14.136222 14.136222 0 0 1 13.463069-16.49226z" fill="#B86805" ></path><path d="M305.33514 411.430372a13.799645 13.799645 0 0 0 16.155683 11.780185 14.136222 14.136222 0 0 0 12.116762-16.155683 14.472799 14.472799 0 0 0-16.155683-12.116762 14.136222 14.136222 0 0 0-12.116762 16.49226z" fill="#5E5E5E" ></path><path d="M625.4196 163.709906l-19.858026 12.116762-37.360016 22.55064-19.858027 12.116762-20.867756-34.667402-40.389207-66.64219-19.184872-31.301635 9.424148-5.721804 58.227772-35.340556 9.424148-5.385227 80.441836 132.27465z" fill="#8A8A8A" ></path><path d="M568.066927 198.276335l37.124412-22.516982 36.484917 60.14626-37.15807 22.55064z" fill="#4D4D4D" ></path><path d="M931.031261 336.373763l-85.15391 217.765137h-128.572307l-46.447587-118.811581-30.965058-79.768683-7.404688-19.184873 46.111011-46.447587h205.648375l46.784164 46.447587z" fill="#AEBABD" ></path><path d="M744.668732 483.861681l105.954351-43.182793 2.423352 5.890093-105.988009 43.182793zM840.8287 361.953594l-120.157889-26.252984 1.682884-6.058381 119.821312 26.252984-1.346307 6.058381zM683.916634 363.838423l6.125696-1.851172 32.984518 109.252803-6.159353 1.851172z" fill="#6A5060" ></path><path d="M880.544753 403.015954a49.813354 49.813354 0 1 1-49.813354-49.813355 50.149931 50.149931 0 0 1 49.813354 49.813355zM746.923796 359.597557a33.657672 33.657672 0 1 1-33.657672-33.657672 33.657672 33.657672 0 0 1 33.657672 33.657672zM767.454975 465.282647a26.589561 26.589561 0 0 1-26.58956 26.252984A26.252984 26.252984 0 0 1 741.201991 438.693086a26.589561 26.589561 0 0 1 26.252984 26.589561z" fill="#FFFFFF" ></path><path d="M846.887081 403.015954a16.155683 16.155683 0 1 1-16.155682-16.155683 16.155683 16.155683 0 0 1 16.155682 16.155683zM724.709732 359.597557a10.097302 10.097302 0 0 1-10.097302 9.760725 9.760725 9.760725 0 1 1 0-19.52145 10.097302 10.097302 0 0 1 10.097302 9.760725zM748.943256 465.282647A7.741265 7.741265 0 0 1 741.201991 472.350758a8.077841 8.077841 0 0 1-8.077841-8.077842 8.077841 8.077841 0 0 1 8.077841-8.077841 8.077841 8.077841 0 0 1 7.741265 9.087572z" fill="#788B90" opacity=".37" ></path><path d="M698.456748 219.581642h166.268899v46.11101h-166.268899z" fill="#F7A53F" ></path><path d="M702.159092 223.620562h5.048651v38.03317h-5.048651zM711.246663 223.620562h5.048651v38.03317h-5.048651zM720.334235 223.620562h5.048651v38.03317h-5.048651zM729.421806 223.620562h5.048651v38.03317h-5.048651zM738.509378 223.620562h5.04865v38.03317h-5.04865zM747.596949 223.620562h5.048651v38.03317h-5.048651zM756.68452 223.620562h5.048651v38.03317h-5.048651zM765.772092 223.620562h5.048651v38.03317h-5.048651zM774.859663 223.620562h5.048651v38.03317H774.859663zM783.610658 223.620562h5.048651v38.03317h-5.048651zM792.698229 223.620562h5.048651v38.03317h-5.048651zM801.785801 223.620562h5.04865v38.03317h-5.04865zM810.873372 223.620562h5.048651v38.03317h-5.048651zM819.960944 223.620562h5.04865v38.03317h-5.04865zM829.048515 223.620562h5.048651v38.03317h-5.048651zM838.136086 223.620562h5.048651v38.03317h-5.048651zM847.223658 223.620562h5.048651v38.03317h-5.048651zM856.311229 223.620562h5.048651v38.03317h-5.048651z" fill="#788B90" opacity=".38" ></path><path d="M738.845954 265.692652h85.490487v23.896947h-85.490487z" fill="#707070" ></path><path d="M735.816764 288.916446h-1.682884L640.228976 355.558636l-39.0429 26.926138-4.712074 3.365767-16.492259-23.896947a25.916407 25.916407 0 0 1 6.731534-36.013709l97.270672-67.315344a25.916407 25.916407 0 0 1 36.013709 6.731534z" fill="#58BFD2" ></path><path d="M670.857457 435.327319h-33.657672a12.116762 12.116762 0 0 1-10.433878-8.414418l-24.906677-44.428127 39.042899-26.926138z" fill="#8A8A8A" ></path><path d="M827.365631 288.916446h1.682884l94.241481 65.63246 39.0429 26.926138 4.712074 3.365767 16.492259-23.896947a25.916407 25.916407 0 0 0-6.731534-35.003979l-97.270672-67.315344a25.916407 25.916407 0 0 0-36.013709 6.731534z" fill="#58BFD2" ></path><path d="M892.324938 435.327319h33.657672a12.116762 12.116762 0 0 0 10.433878-8.414418l24.906677-44.428127-39.042899-26.926138z" fill="#8A8A8A" ></path><path d="M738.845954 265.692652h85.490487v12.116762h-85.490487zM922.95342 355.558636l-31.301635 79.768683-46.447588 118.811581 49.140201-194.541343-70.007957-69.671381h4.038921l94.578058 65.63246z" fill="#848484" opacity=".25" ></path><path d="M661.433309 321.900964l-48.467048-67.988497 21.204334-12.789915 38.033169 74.383455-10.770455 6.394957z" fill="#7A807D" ></path><path d="M535.553616 36.820483l-58.227772 33.657672-11.780186-19.184873A33.657672 33.657672 0 0 1 502.905674 1.143351a33.657672 33.657672 0 0 1 21.204334 15.482529z" fill="#F7A53F" ></path><path d="M527.475775 175.826668L483.047648 203.089382A77.412645 77.412645 0 0 0 471.940616 164.046483a79.768682 79.768682 0 0 0-27.599291-28.272444l42.745243-25.916408zM527.475775 175.826668l-40.389207-66.64219 40.389207 66.64219z" fill="#C4C4C4" ></path><path d="M956.274515 854.028757H600.512923l32.311365-25.243254h290.802285l32.647942 25.243254z" fill="#999999" ></path><path d="M650.999431 304.062398l-70.007958 14.809376 69.671381 8.414418-4.712074 38.033169 25.243254-25.243254 22.887217 25.243254-3.702344-36.350286 35.003979-1.682883-31.974789-19.52145 14.809376-35.677132-33.657672 24.906677-26.252984-43.754973 2.692614 50.823084z" fill="#FFFFFF" ></path><path d="M956.274515 803.542249H600.512923l32.311365 25.243254h290.802285l32.647942-25.243254z" fill="#7A807D" ></path><path d="M956.274515 803.542249H600.512923l32.311365-25.579831h290.802285l32.647942 25.579831z" fill="#999999" ></path><path d="M956.274515 752.719165H600.512923l32.311365 25.243253h290.802285l32.647942-25.243253zM956.274515 702.232657H600.512923l32.311365 25.243254h290.802285l32.647942-25.243254z" fill="#7A807D" ></path><path d="M956.274515 752.719165H600.512923l32.311365-25.243254h290.802285l32.647942 25.243254z" fill="#999999" ></path><path d="M584.693817 632.561276h378.985386v69.671381H584.693817zM584.693817 854.028757h378.985386v34.667402H584.693817z" fill="#FFC200" ></path><path d="M502.569098 590.489186h543.234824v42.07209H502.569098z" fill="#F7A53F" ></path><path d="M273.696929 882.637778h80.441836v59.574079H273.696929z" fill="#7A807D" ></path><path d="M355.821648 783.011069l-4.375497 13.799646-26.589561 85.827063h-26.252984l28.945598-93.231751 4.375497-13.799646 23.896947 7.404688z" fill="#999999" ></path><path d="M381.738055 772.913768a33.657672 33.657672 0 1 1-22.55064-43.08182 33.657672 33.657672 0 0 1 22.55064 43.08182z" fill="#F7A53F" ></path><path d="M359.523992 753.728895a15.819106 15.819106 0 1 1-15.819106-15.819106 15.819106 15.819106 0 0 1 15.819106 15.819106z" fill="#FFFFFF" ></path><path d="M168.348416 882.637778h80.441835v59.574079H168.348416z" fill="#7A807D" ></path><path d="M166.665532 783.011069l4.375497 13.799646 26.589561 85.827063h26.252984l-28.945598-93.231751-4.03892-13.799646-24.233524 7.404688z" fill="#999999" ></path><path d="M140.749125 772.913768a33.657672 33.657672 0 1 0 67.315343-20.53118 33.657672 33.657672 0 0 0-43.08182-22.55064 33.657672 33.657672 0 0 0-24.233523 43.08182z" fill="#68FF4B" ></path><path d="M162.963188 753.728895a15.819106 15.819106 0 1 0 15.819106-15.819106 15.819106 15.819106 0 0 0-15.819106 15.819106z" fill="#FFFFFF" ></path></symbol></svg>', ((r) => {
@@ -28410,15 +28410,15 @@ const r_ = Il("formToTableComp", {
28410
28410
  name: "output"
28411
28411
  }
28412
28412
  ];
28413
- }), (n, i) => (Tn(), di("div", s_, [
28413
+ }), (n, i) => (bn(), di("div", s_, [
28414
28414
  Rn("div", a_, [
28415
- bn(va, {
28415
+ Tn(ya, {
28416
28416
  rowContents: e.value,
28417
28417
  isRowFlex: !0
28418
28418
  }, null, 8, ["rowContents"])
28419
28419
  ]),
28420
28420
  Rn("div", o_, [
28421
- bn(va, {
28421
+ Tn(ya, {
28422
28422
  rowContents: t.value,
28423
28423
  isEdit: !1,
28424
28424
  isRowFlex: !0
@@ -28492,7 +28492,7 @@ const r_ = Il("formToTableComp", {
28492
28492
  var s;
28493
28493
  let n = r, i = e;
28494
28494
  return (i == null ? void 0 : i.length) === 0 ? n.children = t : n.children = (s = n.children) == null ? void 0 : s.map((a) => (a.id.toString() === (i == null ? void 0 : i[0]) && (i == null || i.shift(), a = gd(a, i, t)), a)), n;
28495
- }, Ra = (r, e) => r == null ? void 0 : r.map((n) => {
28495
+ }, Ca = (r, e) => r == null ? void 0 : r.map((n) => {
28496
28496
  var i, s, a, o, l, c;
28497
28497
  if (Array.isArray(n) ? n = n : n = [n], (i = n == null ? void 0 : n.filter((h) => !(h != null && h.id) || typeof (h == null ? void 0 : h.id) == "string")) != null && i.every((h) => typeof h != "object" || h === null))
28498
28498
  return n;
@@ -28641,7 +28641,7 @@ const r_ = Il("formToTableComp", {
28641
28641
  compData: r == null ? void 0 : r.compData,
28642
28642
  name: r == null ? void 0 : r.name
28643
28643
  };
28644
- await _a({
28644
+ await va({
28645
28645
  id: r == null ? void 0 : r.id,
28646
28646
  value: {
28647
28647
  pageData: e
@@ -28770,7 +28770,7 @@ const r_ = Il("formToTableComp", {
28770
28770
  }
28771
28771
  } else
28772
28772
  return [e];
28773
- }, Ca = (r, e) => {
28773
+ }, La = (r, e) => {
28774
28774
  let t = {};
28775
28775
  return Array.isArray(r) ? r == null || r.forEach((n, i) => {
28776
28776
  e != null && e[i] && (t[e[i]] = n);
@@ -28831,24 +28831,24 @@ const r_ = Il("formToTableComp", {
28831
28831
  var C, z, V, G, ee, B, Z, j, he, _e, ce, Ce, Ae, Y, ie;
28832
28832
  if (((z = (C = y == null ? void 0 : y.value) == null ? void 0 : C.pageData) == null ? void 0 : z.name) === i) {
28833
28833
  s = tt((G = (V = y == null ? void 0 : y.value) == null ? void 0 : V.pageData) == null ? void 0 : G.compData);
28834
- const se = await On({
28834
+ const ae = await On({
28835
28835
  key: {
28836
28836
  pageKey: n,
28837
28837
  systemKey: sessionStorage.getItem("systemKey"),
28838
28838
  tableId: y == null ? void 0 : y.id,
28839
28839
  type: "data"
28840
28840
  }
28841
- }), le = (B = (ee = se == null ? void 0 : se.data) == null ? void 0 : ee.result) == null ? void 0 : B.map((ze) => {
28841
+ }), le = (B = (ee = ae == null ? void 0 : ae.data) == null ? void 0 : ee.result) == null ? void 0 : B.map((ze) => {
28842
28842
  var $e;
28843
28843
  let Ze = [];
28844
28844
  return Ze.push({
28845
28845
  id: ze == null ? void 0 : ze.id
28846
28846
  }), Ze.push(($e = ze == null ? void 0 : ze.value) == null ? void 0 : $e.tableData), Ze;
28847
28847
  });
28848
- let Me = Ra(l, (_e = (he = (j = (Z = y == null ? void 0 : y.value) == null ? void 0 : Z.pageData) == null ? void 0 : j.compData) == null ? void 0 : he.find((ze) => (ze == null ? void 0 : ze.key) === "header")) == null ? void 0 : _e.contents), me = !1;
28848
+ let Me = Ca(l, (_e = (he = (j = (Z = y == null ? void 0 : y.value) == null ? void 0 : Z.pageData) == null ? void 0 : j.compData) == null ? void 0 : he.find((ze) => (ze == null ? void 0 : ze.key) === "header")) == null ? void 0 : _e.contents), me = !1;
28849
28849
  me = ((ce = tt(Me)) == null ? void 0 : ce.map((ze) => ze.slice(1))).every((ze) => ze.every((Ze) => Ze === void 0)), me ? s.push({
28850
28850
  key: "tableContents",
28851
- contents: Ra(le, (ie = (Y = (Ae = (Ce = y == null ? void 0 : y.value) == null ? void 0 : Ce.pageData) == null ? void 0 : Ae.compData) == null ? void 0 : Y.find((ze) => (ze == null ? void 0 : ze.key) === "header")) == null ? void 0 : ie.contents)
28851
+ contents: Ca(le, (ie = (Y = (Ae = (Ce = y == null ? void 0 : y.value) == null ? void 0 : Ce.pageData) == null ? void 0 : Ae.compData) == null ? void 0 : Y.find((ze) => (ze == null ? void 0 : ze.key) === "header")) == null ? void 0 : ie.contents)
28852
28852
  }) : s.push({
28853
28853
  key: "tableContents",
28854
28854
  contents: Me
@@ -28907,7 +28907,7 @@ const r_ = Il("formToTableComp", {
28907
28907
  // contents: getTableContents(currentTableContents?.find((v: any) => v?.key === t.id)?.contents, newCompData?.find((s: any) => s?.key === "header")?.contents)
28908
28908
  // contents: menuPath === '/系统管理/用户管理' ? formatUserPageData(currentTableContents) : getTableContents(currentTableContents?.find((v: any) => v?.key === t.id)?.contents, newCompData?.find((s: any) => s?.key === "header")?.contents)
28909
28909
  // todo 内置权限控制处理
28910
- contents: Ra((C = h == null ? void 0 : h.find((G) => (G == null ? void 0 : G.key) === x.id)) == null ? void 0 : C.contents, (z = T == null ? void 0 : T.find((G) => (G == null ? void 0 : G.key) === "header")) == null ? void 0 : z.contents)
28910
+ contents: Ca((C = h == null ? void 0 : h.find((G) => (G == null ? void 0 : G.key) === x.id)) == null ? void 0 : C.contents, (z = T == null ? void 0 : T.find((G) => (G == null ? void 0 : G.key) === "header")) == null ? void 0 : z.contents)
28911
28911
  }) : T && (T != null && T.find((G) => (G == null ? void 0 : G.key) === "header")) && (T = await A_(tt(T), R)), U.compData = T, U.id = x.id, ((V = x.key) == null ? void 0 : V.type) !== "method")
28912
28912
  u.push(U);
28913
28913
  else {
@@ -28944,7 +28944,7 @@ const r_ = Il("formToTableComp", {
28944
28944
  systemKey: n
28945
28945
  },
28946
28946
  value: {
28947
- tableData: Ca(i, (A = Vr(s)) == null ? void 0 : A.filter((I) => I !== "操作"))
28947
+ tableData: La(i, (A = Vr(s)) == null ? void 0 : A.filter((I) => I !== "操作"))
28948
28948
  }
28949
28949
  });
28950
28950
  } else
@@ -28956,7 +28956,7 @@ const r_ = Il("formToTableComp", {
28956
28956
  systemKey: n
28957
28957
  },
28958
28958
  value: {
28959
- tableData: Ca(i, (x = Vr(s)) == null ? void 0 : x.filter((U) => U !== "操作"))
28959
+ tableData: La(i, (x = Vr(s)) == null ? void 0 : x.filter((U) => U !== "操作"))
28960
28960
  }
28961
28961
  });
28962
28962
  }, hv = async (r, e, t, n, i, s, a) => {
@@ -28965,7 +28965,7 @@ const r_ = Il("formToTableComp", {
28965
28965
  id: n
28966
28966
  });
28967
28967
  let l = ((f = (d = (u = (h = o == null ? void 0 : o.data) == null ? void 0 : h.result) == null ? void 0 : u[0]) == null ? void 0 : d.key) == null ? void 0 : f.tableId) ?? "", c = ((p = (g = (_ = (m = o == null ? void 0 : o.data) == null ? void 0 : m.result) == null ? void 0 : _[0]) == null ? void 0 : g.key) == null ? void 0 : p.pageKey) ?? "";
28968
- l && l !== "" ? await _a({
28968
+ l && l !== "" ? await va({
28969
28969
  key: {
28970
28970
  type: r,
28971
28971
  pageKey: c,
@@ -28973,10 +28973,10 @@ const r_ = Il("formToTableComp", {
28973
28973
  systemKey: i
28974
28974
  },
28975
28975
  value: {
28976
- tableData: Ca(s, (S = Vr(a)) == null ? void 0 : S.filter((x) => x !== "操作"))
28976
+ tableData: La(s, (S = Vr(a)) == null ? void 0 : S.filter((x) => x !== "操作"))
28977
28977
  },
28978
28978
  id: n
28979
- }) : await _a({
28979
+ }) : await va({
28980
28980
  key: {
28981
28981
  type: r,
28982
28982
  pageKey: e,
@@ -28984,12 +28984,12 @@ const r_ = Il("formToTableComp", {
28984
28984
  systemKey: i
28985
28985
  },
28986
28986
  value: {
28987
- tableData: Ca(s, (A = Vr(a)) == null ? void 0 : A.filter((x) => x !== "操作"))
28987
+ tableData: La(s, (A = Vr(a)) == null ? void 0 : A.filter((x) => x !== "操作"))
28988
28988
  },
28989
28989
  id: n
28990
28990
  });
28991
28991
  }, uv = async (r, e) => {
28992
- await _a({
28992
+ await va({
28993
28993
  value: {
28994
28994
  pageData: e
28995
28995
  },
@@ -29053,6 +29053,10 @@ const r_ = Il("formToTableComp", {
29053
29053
  type: Object,
29054
29054
  default: () => {
29055
29055
  }
29056
+ },
29057
+ showHeader: {
29058
+ type: Boolean,
29059
+ default: !0
29056
29060
  }
29057
29061
  },
29058
29062
  emits: ["change", "contentChange", "onButtonClick", "contentClick", "pageChange", "rowClick"],
@@ -29070,14 +29074,14 @@ const r_ = Il("formToTableComp", {
29070
29074
  }, Ae = ($, de) => {
29071
29075
  if (Object.values(de).length !== 0)
29072
29076
  return Object.values(de).find((Q) => {
29073
- var we, ae, oe;
29074
- return ((we = Q == null ? void 0 : Q.toString()) == null ? void 0 : we.includes(".txt")) || ((ae = Q == null ? void 0 : Q.toString()) == null ? void 0 : ae.includes(".cpt")) || ((oe = Q == null ? void 0 : Q.toString()) == null ? void 0 : oe.includes(".obj"));
29077
+ var we, re, oe;
29078
+ return ((we = Q == null ? void 0 : Q.toString()) == null ? void 0 : we.includes(".txt")) || ((re = Q == null ? void 0 : Q.toString()) == null ? void 0 : re.includes(".cpt")) || ((oe = Q == null ? void 0 : Q.toString()) == null ? void 0 : oe.includes(".obj"));
29075
29079
  }) ? [...$, A.value] : $;
29076
29080
  }, Y = ($) => {
29077
- var ae;
29081
+ var re;
29078
29082
  he.value === "" ? $ == null || $[0] : ($ == null ? void 0 : $.find((oe) => (oe == null ? void 0 : oe.selectLabel) === "(" + he.value + ")")) ?? ($ == null || $.find((oe) => !(oe != null && oe.selectLabel)));
29079
29083
  let de = $;
29080
- (ae = i.value) != null && ae.find((oe) => oe.prop === "index");
29084
+ (re = i.value) != null && re.find((oe) => oe.prop === "index");
29081
29085
  let Q = C.value;
29082
29086
  const we = [];
29083
29087
  return de == null || de.forEach((oe, Ie) => {
@@ -29085,17 +29089,17 @@ const r_ = Il("formToTableComp", {
29085
29089
  let N = {};
29086
29090
  if (Array.isArray(oe)) {
29087
29091
  let W = [];
29088
- oe == null || oe.filter((O) => !(O != null && O.id)).forEach((O, re) => {
29092
+ oe == null || oe.filter((O) => !(O != null && O.id)).forEach((O, se) => {
29089
29093
  var te, Te, be, Oe, Be;
29090
- if ((te = Q == null ? void 0 : Q[re]) != null && te.prop && !Array.isArray(O)) {
29094
+ if ((te = Q == null ? void 0 : Q[se]) != null && te.prop && !Array.isArray(O)) {
29091
29095
  let fe = {};
29092
- fe[Q[re].column] = O, u != null && u.value && ((Te = u == null ? void 0 : u.value) == null ? void 0 : Te.length) > 0 && ((be = u == null ? void 0 : u.value) != null && be.find((Re) => JSON.stringify(Re == null ? void 0 : Re[0]) === JSON.stringify(fe))) && (W = (Oe = u == null ? void 0 : u.value) == null ? void 0 : Oe.find((Re) => JSON.stringify(Re == null ? void 0 : Re[0]) === JSON.stringify(fe))), W && W.length > 0 ? N[Q[re].prop] = W != null && W.find((Re) => {
29096
+ fe[Q[se].column] = O, u != null && u.value && ((Te = u == null ? void 0 : u.value) == null ? void 0 : Te.length) > 0 && ((be = u == null ? void 0 : u.value) != null && be.find((Re) => JSON.stringify(Re == null ? void 0 : Re[0]) === JSON.stringify(fe))) && (W = (Oe = u == null ? void 0 : u.value) == null ? void 0 : Oe.find((Re) => JSON.stringify(Re == null ? void 0 : Re[0]) === JSON.stringify(fe))), W && W.length > 0 ? N[Q[se].prop] = W != null && W.find((Re) => {
29093
29097
  var qe;
29094
- return ((qe = Object.keys(Re)) == null ? void 0 : qe[0]) === Q[re].column;
29098
+ return ((qe = Object.keys(Re)) == null ? void 0 : qe[0]) === Q[se].column;
29095
29099
  }) ? (Be = W == null ? void 0 : W.find((Re) => {
29096
29100
  var qe;
29097
- return ((qe = Object.keys(Re)) == null ? void 0 : qe[0]) === Q[re].column;
29098
- })) == null ? void 0 : Be[Q[re].column] : O : N[Q[re].prop] = O;
29101
+ return ((qe = Object.keys(Re)) == null ? void 0 : qe[0]) === Q[se].column;
29102
+ })) == null ? void 0 : Be[Q[se].column] : O : N[Q[se].prop] = O;
29099
29103
  }
29100
29104
  });
29101
29105
  } else
@@ -29103,7 +29107,7 @@ const r_ = Il("formToTableComp", {
29103
29107
  Array.isArray(oe) && oe.some((W) => W == null ? void 0 : W.id) ? we.push(Object.assign(N, { id: (E = oe == null ? void 0 : oe.find((W) => W.id)) == null ? void 0 : E.id })) : N.id ? we.push(N) : we.push(Object.assign(N, { id: Ie }));
29104
29108
  }), we;
29105
29109
  }, ie = async ($) => {
29106
- var ae, oe, Ie, N, E;
29110
+ var re, oe, Ie, N, E;
29107
29111
  let de = {};
29108
29112
  for (let W in $)
29109
29113
  $[W] !== "" && (de["tableData." + W] = $[W]);
@@ -29112,19 +29116,19 @@ const r_ = Il("formToTableComp", {
29112
29116
  tableId: t == null ? void 0 : t.index,
29113
29117
  systemKey: sessionStorage.getItem("systemKey"),
29114
29118
  pageKey: l.value
29115
- }, de), we = (Ie = (oe = (ae = tt(Q)) == null ? void 0 : ae.data) == null ? void 0 : oe.result) == null ? void 0 : Ie.map((W) => {
29116
- var re;
29119
+ }, de), we = (Ie = (oe = (re = tt(Q)) == null ? void 0 : re.data) == null ? void 0 : oe.result) == null ? void 0 : Ie.map((W) => {
29120
+ var se;
29117
29121
  let O = [];
29118
29122
  return O.push({
29119
29123
  id: W.id
29120
- }), O.push((re = W == null ? void 0 : W.value) == null ? void 0 : re.tableData), O;
29124
+ }), O.push((se = W == null ? void 0 : W.value) == null ? void 0 : se.tableData), O;
29121
29125
  });
29122
- d.value = Y(Ra(we, (E = (N = tt(i.value)) == null ? void 0 : N.map((W) => W.label)) == null ? void 0 : E.filter((W) => W !== "操作")));
29123
- }, se = async ($) => {
29124
- var we, ae, oe, Ie, N, E, W, O, re, te;
29126
+ d.value = Y(Ca(we, (E = (N = tt(i.value)) == null ? void 0 : N.map((W) => W.label)) == null ? void 0 : E.filter((W) => W !== "操作")));
29127
+ }, ae = async ($) => {
29128
+ var we, re, oe, Ie, N, E, W, O, se, te;
29125
29129
  const de = (we = tt(i.value)) == null ? void 0 : we.filter((Te) => Te == null ? void 0 : Te.isRoute);
29126
29130
  if ((de == null ? void 0 : de.length) > 0) {
29127
- let Te = (ae = de == null ? void 0 : de[0]) == null ? void 0 : ae.prop, be = l.value + "/" + ($ == null ? void 0 : $[Te]), Oe = l.value, Be = await vu(be, sessionStorage.getItem("systemKey"), "");
29131
+ let Te = (re = de == null ? void 0 : de[0]) == null ? void 0 : re.prop, be = l.value + "/" + ($ == null ? void 0 : $[Te]), Oe = l.value, Be = await vu(be, sessionStorage.getItem("systemKey"), "");
29128
29132
  if ((Be == null ? void 0 : Be.length) > 0)
29129
29133
  h.setRouteToChildPath(Oe), o.setActiveMenuPath(be);
29130
29134
  else {
@@ -29138,23 +29142,23 @@ const r_ = Il("formToTableComp", {
29138
29142
  Te.push({
29139
29143
  key: Z.value === "" ? (N = $ == null ? void 0 : $.id) == null ? void 0 : N.toString() : Z.value + "-" + ((E = $ == null ? void 0 : $.id) == null ? void 0 : E.toString()),
29140
29144
  value: $[(W = Object.keys($)) == null ? void 0 : W.filter((be) => be !== "index" && be !== "id")[0]]
29141
- }), ee.setSelectMenu(Z.value === "" ? (O = $ == null ? void 0 : $.id) == null ? void 0 : O.toString() : Z.value + "-" + ((re = $ == null ? void 0 : $.id) == null ? void 0 : re.toString())), ee.setSelectTitle(Te), ee.setSelectIndex((te = $ == null ? void 0 : $.id) == null ? void 0 : te.toString()), n("pageChange", Q);
29145
+ }), ee.setSelectMenu(Z.value === "" ? (O = $ == null ? void 0 : $.id) == null ? void 0 : O.toString() : Z.value + "-" + ((se = $ == null ? void 0 : $.id) == null ? void 0 : se.toString())), ee.setSelectTitle(Te), ee.setSelectIndex((te = $ == null ? void 0 : $.id) == null ? void 0 : te.toString()), n("pageChange", Q);
29142
29146
  }
29143
29147
  }, le = ($) => {
29144
29148
  var de;
29145
29149
  (de = tt(t.itemData)) == null || de.map((Q) => ((Q == null ? void 0 : Q.key) === "tableContents" && (Q.contents = $), Q));
29146
29150
  }, Me = async ($, de, Q, we) => {
29147
- var ae;
29151
+ var re;
29148
29152
  if ((we == null ? void 0 : we.data) === "查看" && ($ != null && $.every((oe) => (oe == null ? void 0 : oe.url) && (oe == null ? void 0 : oe.name)))) {
29149
29153
  let oe = tt($);
29150
- oe = await ((ae = tt(oe)) == null ? void 0 : ae.map(async (N) => {
29151
- var O, re, te, Te;
29154
+ oe = await ((re = tt(oe)) == null ? void 0 : re.map(async (N) => {
29155
+ var O, se, te, Te;
29152
29156
  const E = await Eu({
29153
29157
  url: N == null ? void 0 : N.url
29154
29158
  });
29155
29159
  let W = URL.createObjectURL(E.data);
29156
29160
  return {
29157
- name: (N == null ? void 0 : N.name) + "." + ((Te = (O = N == null ? void 0 : N.url) == null ? void 0 : O.split(".")) == null ? void 0 : Te[((te = (re = N == null ? void 0 : N.url) == null ? void 0 : re.split(".")) == null ? void 0 : te.length) - 1]),
29161
+ name: (N == null ? void 0 : N.name) + "." + ((Te = (O = N == null ? void 0 : N.url) == null ? void 0 : O.split(".")) == null ? void 0 : Te[((te = (se = N == null ? void 0 : N.url) == null ? void 0 : se.split(".")) == null ? void 0 : te.length) - 1]),
29158
29162
  blobUrl: W
29159
29163
  };
29160
29164
  }));
@@ -29172,14 +29176,14 @@ const r_ = Il("formToTableComp", {
29172
29176
  () => {
29173
29177
  var Q, we;
29174
29178
  if (!t.changedContent) return;
29175
- let $ = (Q = d.value) == null ? void 0 : Q.map((ae) => {
29179
+ let $ = (Q = d.value) == null ? void 0 : Q.map((re) => {
29176
29180
  var oe;
29177
- return ae.id === ((oe = t.changedContent) == null ? void 0 : oe.id) && (ae = {
29181
+ return re.id === ((oe = t.changedContent) == null ? void 0 : oe.id) && (re = {
29178
29182
  ...t.changedContent,
29179
29183
  id: t.changedContent.newId ? t.changedContent.newId : t.changedContent.id
29180
- }, delete ae.newId), ae;
29184
+ }, delete re.newId), re;
29181
29185
  });
29182
- const de = (we = t.itemData) == null ? void 0 : we.map((ae) => ((ae == null ? void 0 : ae.key) === "tableContents" && (ae.contents = $), ae));
29186
+ const de = (we = t.itemData) == null ? void 0 : we.map((re) => ((re == null ? void 0 : re.key) === "tableContents" && (re.contents = $), re));
29183
29187
  d.value = $, n("contentChange", {
29184
29188
  contents: de,
29185
29189
  index: t.index
@@ -29194,7 +29198,7 @@ const r_ = Il("formToTableComp", {
29194
29198
  );
29195
29199
  const ze = () => {
29196
29200
  }, Ze = ($, de, Q) => {
29197
- var we, ae, oe;
29201
+ var we, re, oe;
29198
29202
  if (f.value = "", I.value = !0, m.value = !0, n("onButtonClick", $, de), $ === "删除") {
29199
29203
  d.value = (we = tt(d.value)) == null ? void 0 : we.filter((N) => (N == null ? void 0 : N.id) !== (de == null ? void 0 : de.id));
29200
29204
  const Ie = u_(G.value, Z.value, de == null ? void 0 : de.id);
@@ -29216,23 +29220,23 @@ const r_ = Il("formToTableComp", {
29216
29220
  const Ie = {};
29217
29221
  for (let E in de)
29218
29222
  E !== "id" && (Ie[E] = de[E]);
29219
- let N = (ae = Object.values(Ie)) == null ? void 0 : ae[1];
29223
+ let N = (re = Object.values(Ie)) == null ? void 0 : re[1];
29220
29224
  c.setTableShowThree(N);
29221
29225
  } else ((oe = Q == null ? void 0 : Q.extra) == null ? void 0 : oe.type) === "modelExample" && (p.value = $, x.value = !0);
29222
29226
  }, $e = ($) => {
29223
- var ae, oe, Ie, N, E, W;
29227
+ var re, oe, Ie, N, E, W;
29224
29228
  const de = [];
29225
29229
  let Q = [];
29226
29230
  for (let O in $)
29227
29231
  Array.isArray($ == null ? void 0 : $[O]) && Q.push(O);
29228
- (oe = Lr((ae = tt(i.value)) == null ? void 0 : ae.filter((O) => (O == null ? void 0 : O.label) !== "操作"))) == null || oe.forEach((O, re) => {
29232
+ (oe = Lr((re = tt(i.value)) == null ? void 0 : re.filter((O) => (O == null ? void 0 : O.label) !== "操作"))) == null || oe.forEach((O, se) => {
29229
29233
  var te;
29230
29234
  Q.find((Te) => Te === (O == null ? void 0 : O.prop)) || (O != null && O.formType && ((te = O == null ? void 0 : O.formType) == null ? void 0 : te.toUpperCase()) === "SELECT" ? de.push({
29231
29235
  label: (O == null ? void 0 : O.label) ?? "",
29232
- name: (O == null ? void 0 : O.prop) ?? "t" + re,
29236
+ name: (O == null ? void 0 : O.prop) ?? "t" + se,
29233
29237
  type: !(O != null && O.formType) || (O == null ? void 0 : O.formType) === "" ? "Input" : O == null ? void 0 : O.formType,
29234
29238
  value: ($ == null ? void 0 : $[O == null ? void 0 : O.prop]) ?? (O == null ? void 0 : O.value) ?? "",
29235
- id: (O == null ? void 0 : O.id) ?? re,
29239
+ id: (O == null ? void 0 : O.id) ?? se,
29236
29240
  contents: (O == null ? void 0 : O.options) ?? [],
29237
29241
  width: 1,
29238
29242
  isFormColHidden: O == null ? void 0 : O.isFormColHidden,
@@ -29244,10 +29248,10 @@ const r_ = Il("formToTableComp", {
29244
29248
  }
29245
29249
  }) : de.push({
29246
29250
  label: (O == null ? void 0 : O.label) ?? "",
29247
- name: (O == null ? void 0 : O.prop) ?? "t" + re,
29251
+ name: (O == null ? void 0 : O.prop) ?? "t" + se,
29248
29252
  type: !(O != null && O.formType) || (O == null ? void 0 : O.formType) === "" ? "Input" : O == null ? void 0 : O.formType,
29249
29253
  value: ($ == null ? void 0 : $[O == null ? void 0 : O.prop]) ?? (O == null ? void 0 : O.value) ?? "",
29250
- id: (O == null ? void 0 : O.id) ?? re,
29254
+ id: (O == null ? void 0 : O.id) ?? se,
29251
29255
  contents: (O == null ? void 0 : O.options) ?? [],
29252
29256
  width: 1,
29253
29257
  isFormColHidden: O == null ? void 0 : O.isFormColHidden
@@ -29256,16 +29260,16 @@ const r_ = Il("formToTableComp", {
29256
29260
  let we = Lr((Ie = tt(i.value)) == null ? void 0 : Ie.filter((O) => (O == null ? void 0 : O.label) !== "操作"));
29257
29261
  R.value && ((N = R.value) == null ? void 0 : N.length) > 0 && (R.value = (E = tt(R).value) == null ? void 0 : E.map((O) => {
29258
29262
  var te;
29259
- let re = (te = we == null ? void 0 : we.find((Te) => (Te == null ? void 0 : Te.label) === (O == null ? void 0 : O.label))) == null ? void 0 : te.prop;
29260
- return re && (O.value = $[re]), O;
29263
+ let se = (te = we == null ? void 0 : we.find((Te) => (Te == null ? void 0 : Te.label) === (O == null ? void 0 : O.label))) == null ? void 0 : te.prop;
29264
+ return se && (O.value = $[se]), O;
29261
29265
  })), y.value = R.value && ((W = R.value) == null ? void 0 : W.length) > 0 ? Dd(R.value) : de;
29262
29266
  };
29263
29267
  Dl(() => {
29264
29268
  U.value = window.innerWidth - 240 * 2;
29265
29269
  });
29266
29270
  const F = () => {
29267
- var ae;
29268
- let $ = Lr((ae = tt(i.value)) == null ? void 0 : ae.filter((oe) => (oe == null ? void 0 : oe.label) !== "操作")), de, Q = tt(d.value);
29271
+ var re;
29272
+ let $ = Lr((re = tt(i.value)) == null ? void 0 : re.filter((oe) => (oe == null ? void 0 : oe.label) !== "操作")), de, Q = tt(d.value);
29269
29273
  f.value === "" ? (_.value++, Q.push(Object.assign(z.value, { id: _.value })), de = Object.assign(z.value, { id: _.value })) : Q = Q == null ? void 0 : Q.map((oe) => {
29270
29274
  var Ie;
29271
29275
  if ((oe == null ? void 0 : oe.id) === f.value) {
@@ -29292,10 +29296,10 @@ const r_ = Il("formToTableComp", {
29292
29296
  return Cr(
29293
29297
  () => [t.itemData, he.value, B.value, Z.value, u == null ? void 0 : u.value],
29294
29298
  () => {
29295
- var E, W, O, re, te, Te, be, Oe, Be, fe, Re, qe, Qe, Le, at, H, Ue, ge, ke, ye, pe, Ge, ot, Ct, ft, en;
29299
+ var E, W, O, se, te, Te, be, Oe, Be, fe, Re, qe, Qe, Le, at, H, Ue, ge, ke, ye, pe, Ge, ot, Ct, ft, en;
29296
29300
  const $ = (E = tt(t.itemData)) == null ? void 0 : E.filter((We) => (We == null ? void 0 : We.key) === "header");
29297
29301
  (W = tt(t.itemData)) == null || W.filter((We) => (We == null ? void 0 : We.key) === "tableIndexColumn")[0];
29298
- const de = (O = tt(t.itemData)) == null ? void 0 : O.find((We) => (We == null ? void 0 : We.key) === "page"), Q = (re = tt(t.itemData)) == null ? void 0 : re.find((We) => (We == null ? void 0 : We.key) === "rowButton"), we = (te = tt(t.itemData)) == null ? void 0 : te.find((We) => (We == null ? void 0 : We.key) === "extraButton"), ae = (Te = tt(t.itemData)) == null ? void 0 : Te.filter((We) => (We == null ? void 0 : We.key) === "tableContents"), oe = (be = tt(t.itemData)) == null ? void 0 : be.filter((We) => (We == null ? void 0 : We.key) === "tableIndex");
29302
+ const de = (O = tt(t.itemData)) == null ? void 0 : O.find((We) => (We == null ? void 0 : We.key) === "page"), Q = (se = tt(t.itemData)) == null ? void 0 : se.find((We) => (We == null ? void 0 : We.key) === "rowButton"), we = (te = tt(t.itemData)) == null ? void 0 : te.find((We) => (We == null ? void 0 : We.key) === "extraButton"), re = (Te = tt(t.itemData)) == null ? void 0 : Te.filter((We) => (We == null ? void 0 : We.key) === "tableContents"), oe = (be = tt(t.itemData)) == null ? void 0 : be.filter((We) => (We == null ? void 0 : We.key) === "tableIndex");
29299
29303
  R.value = (fe = (Be = (Oe = tt(t.itemData)) == null ? void 0 : Oe.filter((We) => (We == null ? void 0 : We.key) === "tableToForm")) == null ? void 0 : Be[0]) == null ? void 0 : fe.contents, g.value = (de == null ? void 0 : de.contents) ?? !1;
29300
29304
  let Ie = [];
29301
29305
  he.value === "" ? Ie = $ == null ? void 0 : $[0] : Ie = ($ == null ? void 0 : $.find((We) => (We == null ? void 0 : We.selectLabel) === "(" + he.value + ")")) ?? ($ == null ? void 0 : $.find((We) => !(We != null && We.selectLabel)));
@@ -29332,14 +29336,14 @@ const r_ = Il("formToTableComp", {
29332
29336
  });
29333
29337
  });
29334
29338
  }
29335
- i.value = We, console.log(232, i.value);
29339
+ i.value = We;
29336
29340
  let Zt = (Ue = (H = Pd(tt(i.value))) == null ? void 0 : H.filter((nt) => (nt == null ? void 0 : nt.type) !== "operate")) == null ? void 0 : Ue.map((nt, Ee) => ({
29337
29341
  prop: (nt == null ? void 0 : nt.prop) ?? "a" + Ee,
29338
29342
  column: nt.label
29339
29343
  }));
29340
29344
  C.value = Zt;
29341
29345
  let qt = [];
29342
- he.value === "" ? qt = ae == null ? void 0 : ae[0] : qt = (ae == null ? void 0 : ae.find((nt) => (nt == null ? void 0 : nt.selectLabel) === "(" + he.value + ")")) ?? (ae == null ? void 0 : ae.find((nt) => !(nt != null && nt.selectLabel)));
29346
+ he.value === "" ? qt = re == null ? void 0 : re[0] : qt = (re == null ? void 0 : re.find((nt) => (nt == null ? void 0 : nt.selectLabel) === "(" + he.value + ")")) ?? (re == null ? void 0 : re.find((nt) => !(nt != null && nt.selectLabel)));
29343
29347
  let tn = Array.isArray((ge = qt == null ? void 0 : qt.contents) == null ? void 0 : ge[0]) && ((ke = qt == null ? void 0 : qt.contents) != null && ke[0].every((nt) => Array.isArray(nt))) ? (ye = tt(qt == null ? void 0 : qt.contents)) == null ? void 0 : ye[0] : tt(qt == null ? void 0 : qt.contents);
29344
29348
  N != null && N.contents && ((pe = N == null ? void 0 : N.contents) == null ? void 0 : pe.length) !== 0 && (tn = (Ge = tt(tn)) == null ? void 0 : Ge.map((nt, Ee) => {
29345
29349
  if (!Array.isArray(nt)) {
@@ -29374,7 +29378,7 @@ const r_ = Il("formToTableComp", {
29374
29378
  } else
29375
29379
  Ht = nt;
29376
29380
  Array.isArray(nt) && nt.some((Wt) => Wt == null ? void 0 : Wt.id) ? ni.push(Object.assign(Ht, { id: (nn = nt == null ? void 0 : nt.find((Wt) => Wt.id)) == null ? void 0 : nn.id })) : Ht.id ? ni.push(Ht) : ni.push(Object.assign(Ht, { id: Ee }));
29377
- }), d.value = ni, console.log(232, d.value);
29381
+ }), d.value = ni;
29378
29382
  } else
29379
29383
  i.value = [], d.value = [];
29380
29384
  ((Ct = Q == null ? void 0 : Q.contents) == null ? void 0 : Ct.length) > 0 ? T.value = Q == null ? void 0 : Q.contents : T.value = [], ((ft = we == null ? void 0 : we.contents) == null ? void 0 : ft.length) > 0 ? b.value = we == null ? void 0 : we.contents : b.value = [], _.value = ((en = d == null ? void 0 : d.value) == null ? void 0 : en.length) ?? 0, G.value = d.value;
@@ -29385,38 +29389,39 @@ const r_ = Il("formToTableComp", {
29385
29389
  }, { immediate: !0, deep: !0 }), ($, de) => {
29386
29390
  var we;
29387
29391
  const Q = Pl("el-button");
29388
- return Tn(), di("div", R_, [
29389
- (Tn(), ga(Cd, {
29392
+ return bn(), di("div", R_, [
29393
+ (bn(), rs(Cd, {
29390
29394
  columns: i.value,
29391
29395
  key: i.value,
29392
29396
  tableData: d.value,
29393
29397
  isShowPagination: g.value,
29394
29398
  isShowEdit: !1,
29395
29399
  isShowDelete: !1,
29396
- onDbClickRow: se,
29400
+ onDbClickRow: ae,
29397
29401
  extraButton: b.value,
29398
29402
  onContentClick: Me,
29399
29403
  onRowClick: Se
29400
29404
  }, bd({
29401
- headerButton: _n((ae) => [
29402
- bn(Mf, {
29405
+ headerButton: _n((re) => [
29406
+ re != null && re.showHeader ? (bn(), rs(Mf, {
29407
+ key: 0,
29403
29408
  compName: r.compName,
29404
- buttons: ae.buttons,
29409
+ buttons: re.buttons,
29405
29410
  onButtonClick: de[0] || (de[0] = (oe) => Ze(oe, "", {})),
29406
29411
  columns: i.value,
29407
29412
  onFilter: ie
29408
- }, null, 8, ["compName", "buttons", "columns"])
29413
+ }, null, 8, ["compName", "buttons", "columns"])) : la("", !0)
29409
29414
  ]),
29410
29415
  _: 2
29411
29416
  }, [
29412
29417
  ((we = T.value) == null ? void 0 : we.length) > 0 ? {
29413
29418
  name: "actions",
29414
- fn: _n(({ item: ae }) => [
29415
- (Tn(!0), di(yu, null, xu(Ae(T.value, ae), (oe, Ie) => (Tn(), di("div", { key: Ie }, [
29419
+ fn: _n(({ item: re }) => [
29420
+ (bn(!0), di(yu, null, xu(Ae(T.value, re), (oe, Ie) => (bn(), di("div", { key: Ie }, [
29416
29421
  Rn("div", {
29417
29422
  style: Mu({ color: oe == null ? void 0 : oe.textColor }),
29418
29423
  class: "extra-button-label",
29419
- onClick: (N) => Ze(oe == null ? void 0 : oe.label, ae, {
29424
+ onClick: (N) => Ze(oe == null ? void 0 : oe.label, re, {
29420
29425
  extra: oe
29421
29426
  })
29422
29427
  }, Wi(oe == null ? void 0 : oe.label), 13, C_)
@@ -29425,7 +29430,7 @@ const r_ = Il("formToTableComp", {
29425
29430
  key: "0"
29426
29431
  } : void 0
29427
29432
  ]), 1032, ["columns", "tableData", "isShowPagination", "extraButton"])),
29428
- bn(gc, {
29433
+ Tn(gc, {
29429
29434
  title: p.value,
29430
29435
  visible: S.value,
29431
29436
  width: _e.value,
@@ -29433,7 +29438,7 @@ const r_ = Il("formToTableComp", {
29433
29438
  }, {
29434
29439
  default: _n(() => [
29435
29440
  Rn("div", L_, [
29436
- bn(va, {
29441
+ Tn(ya, {
29437
29442
  rowContents: y.value,
29438
29443
  isEnableWrap: !1,
29439
29444
  onChange: Mt,
@@ -29443,61 +29448,61 @@ const r_ = Il("formToTableComp", {
29443
29448
  ])
29444
29449
  ]),
29445
29450
  footer: _n(() => [
29446
- I.value ? (Tn(), di("div", P_, [
29447
- bn(Q, {
29448
- onClick: de[1] || (de[1] = (ae) => S.value = !1),
29451
+ I.value ? (bn(), di("div", P_, [
29452
+ Tn(Q, {
29453
+ onClick: de[1] || (de[1] = (re) => S.value = !1),
29449
29454
  id: "themeBorderButton"
29450
29455
  }, {
29451
29456
  default: _n(() => de[4] || (de[4] = [
29452
- vs(Wi("取消"))
29457
+ ys(Wi("取消"))
29453
29458
  ])),
29454
29459
  _: 1,
29455
29460
  __: [4]
29456
29461
  }),
29457
- bn(Q, {
29462
+ Tn(Q, {
29458
29463
  class: "ok-button",
29459
29464
  onClick: F,
29460
29465
  id: "themeButton"
29461
29466
  }, {
29462
29467
  default: _n(() => de[5] || (de[5] = [
29463
- vs(Wi("确认"))
29468
+ ys(Wi("确认"))
29464
29469
  ])),
29465
29470
  _: 1,
29466
29471
  __: [5]
29467
29472
  })
29468
- ])) : Io("", !0)
29473
+ ])) : la("", !0)
29469
29474
  ]),
29470
29475
  _: 1
29471
29476
  }, 8, ["title", "visible", "width"]),
29472
- bn(gc, {
29477
+ Tn(gc, {
29473
29478
  title: p.value,
29474
29479
  visible: x.value,
29475
29480
  width: U.value,
29476
- onBeforeDestroy: de[3] || (de[3] = (ae) => x.value = !1)
29481
+ onBeforeDestroy: de[3] || (de[3] = (re) => x.value = !1)
29477
29482
  }, {
29478
29483
  default: _n(() => [
29479
- bn(c_)
29484
+ Tn(c_)
29480
29485
  ]),
29481
29486
  footer: _n(() => [
29482
29487
  Rn("div", D_, [
29483
- bn(Q, {
29484
- onClick: de[2] || (de[2] = (ae) => x.value = !1),
29488
+ Tn(Q, {
29489
+ onClick: de[2] || (de[2] = (re) => x.value = !1),
29485
29490
  class: "cancel-button",
29486
29491
  id: "themeBorderButton"
29487
29492
  }, {
29488
29493
  default: _n(() => de[6] || (de[6] = [
29489
- vs(Wi("取消"))
29494
+ ys(Wi("取消"))
29490
29495
  ])),
29491
29496
  _: 1,
29492
29497
  __: [6]
29493
29498
  }),
29494
- bn(Q, {
29499
+ Tn(Q, {
29495
29500
  class: "ok-button",
29496
29501
  onClick: ze,
29497
29502
  id: "themeButton"
29498
29503
  }, {
29499
29504
  default: _n(() => de[7] || (de[7] = [
29500
- vs(Wi("确认"))
29505
+ ys(Wi("确认"))
29501
29506
  ])),
29502
29507
  _: 1,
29503
29508
  __: [7]
@@ -29506,15 +29511,15 @@ const r_ = Il("formToTableComp", {
29506
29511
  ]),
29507
29512
  _: 1
29508
29513
  }, 8, ["title", "visible", "width"]),
29509
- s.value ? (Tn(), ga(Ld, {
29514
+ s.value ? (bn(), rs(Ld, {
29510
29515
  key: 0,
29511
29516
  fileDataList: a.value,
29512
29517
  onDestroy: me
29513
- }, null, 8, ["fileDataList"])) : Io("", !0)
29518
+ }, null, 8, ["fileDataList"])) : la("", !0)
29514
29519
  ]);
29515
29520
  };
29516
29521
  }
29517
- }, fv = /* @__PURE__ */ Ul(I_, [["__scopeId", "data-v-d2ef6dd6"]]);
29522
+ }, fv = /* @__PURE__ */ Ul(I_, [["__scopeId", "data-v-9a3d5ca0"]]);
29518
29523
  export {
29519
29524
  L0 as $,
29520
29525
  ev as A,
@@ -29534,14 +29539,14 @@ export {
29534
29539
  Rt as O,
29535
29540
  Hi as P,
29536
29541
  zn as Q,
29537
- ps as R,
29538
- ya as S,
29542
+ ms as R,
29543
+ xa as S,
29539
29544
  V_ as T,
29540
29545
  W_ as U,
29541
29546
  k as V,
29542
29547
  j_ as W,
29543
29548
  q_ as X,
29544
- Ia as Y,
29549
+ Ua as Y,
29545
29550
  H_ as Z,
29546
29551
  Pt as _,
29547
29552
  T_ as a,
@@ -29552,7 +29557,7 @@ export {
29552
29557
  vn as a4,
29553
29558
  Dn as a5,
29554
29559
  Y_ as a6,
29555
- Ca as b,
29560
+ La as b,
29556
29561
  Tu as c,
29557
29562
  Bd as d,
29558
29563
  rv as e,