@realsee/dnalogel 3.2.3 → 3.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ var _ = (n, t, e) => new Promise((i, s) => {
28
28
  a((e = e.apply(n, t)).next());
29
29
  });
30
30
  import { Camera as jf, Subscribe as gt, Five as $e } from "@realsee/five";
31
- import * as P from "three";
31
+ import * as I from "three";
32
32
  import { Vector3 as ne, LineSegments as zf, Group as dn, Raycaster as bi, MeshBasicMaterial as ps, CanvasTexture as Of, AnimationMixer as Bf, Color as xn, TextureLoader as kh, Vector2 as et, Object3D as Mh, Face3 as Rf, PlaneGeometry as Vf, sRGBEncoding as Qf, LinearFilter as $r, Mesh as ds, CurvePath as Gf, LineCurve3 as Nf, TubeGeometry as Hf, ShaderMaterial as xh, SphereGeometry as Ff, DoubleSide as Dh, RingGeometry as _f, Quaternion as Ia, Euler as cl, Matrix4 as rs, VideoTexture as Wf, Vector4 as Yf, SphereBufferGeometry as Uf } from "three";
33
33
  import { CSS3DRenderer as Xf, CSS3DObject as ea } from "three/examples/jsm/renderers/CSS3DRenderer";
34
34
  import ws from "hammerjs";
@@ -39,7 +39,7 @@ import dl from "animejs";
39
39
  import { GLTFLoader as Zf } from "@realsee/five/gltf-loader";
40
40
  function qf() {
41
41
  console.debug(
42
- "%c %c@realsee/dnalogel %cv3.2.3",
42
+ "%c %c@realsee/dnalogel %cv3.2.4",
43
43
  [
44
44
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
45
45
  "background-repeat: no-repeat",
@@ -954,13 +954,13 @@ let um = class extends dm {
954
954
  if (p.tweening = !0, !p.ready)
955
955
  return a.clearRect(0, 0, p.canvas[h].width, p.canvas[h].height), (y = p.tween) == null ? void 0 : y.stop();
956
956
  const b = Math.floor(g);
957
- if (!A.find((I) => I === b)) {
957
+ if (!A.find((P) => P === b)) {
958
958
  if (A.push(b), m.push(Mr(l[b], p.clientWidth, p.clientHeight)), m.length < 3)
959
959
  return;
960
- const { control: I, end: C } = Vs(m);
961
- if (!I || !C)
960
+ const { control: P, end: C } = Vs(m);
961
+ if (!P || !C)
962
962
  return;
963
- a.quadraticCurveTo(I.x, I.y, C.x, C.y), a.stroke();
963
+ a.quadraticCurveTo(P.x, P.y, C.x, C.y), a.stroke();
964
964
  }
965
965
  }).onComplete((g) => {
966
966
  p.tween = void 0, p.tweening = !1, A = [], m = [], o && o(), r();
@@ -1054,55 +1054,55 @@ const _E = (n, t) => {
1054
1054
  lockedPanoIndex: null,
1055
1055
  lockedLatitude: null,
1056
1056
  lockedLongitude: null
1057
- }), t == null ? void 0 : t.config), l = new P.Scene(), c = new jf(60);
1058
- let d = new P.Object3D(), h, f;
1057
+ }), t == null ? void 0 : t.config), l = new I.Scene(), c = new jf(60);
1058
+ let d = new I.Object3D(), h, f;
1059
1059
  {
1060
- const N = new P.DirectionalLight(16777215, 0.5);
1061
- N.position.copy(new P.Vector3(1, 1, 1)), l.add(N);
1060
+ const N = new I.DirectionalLight(16777215, 0.5);
1061
+ N.position.copy(new I.Vector3(1, 1, 1)), l.add(N);
1062
1062
  }
1063
1063
  {
1064
- const N = new P.DirectionalLight(16777215, 0.3);
1064
+ const N = new I.DirectionalLight(16777215, 0.3);
1065
1065
  l.add(N);
1066
1066
  }
1067
1067
  {
1068
- const N = new P.AmbientLight(16777215, 0.3);
1068
+ const N = new I.AmbientLight(16777215, 0.3);
1069
1069
  l.add(N);
1070
1070
  }
1071
1071
  l.add(d);
1072
1072
  const m = () => {
1073
1073
  if (i)
1074
1074
  return;
1075
- h = x(n.model, c.fov, c.aspect), f = n.model.bounding.getCenter(new P.Vector3()), l.remove(d), d = W(n.model), l.add(d), i = !0, B();
1075
+ h = x(n.model, c.fov, c.aspect), f = n.model.bounding.getCenter(new I.Vector3()), l.remove(d), d = W(n.model), l.add(d), i = !0, B();
1076
1076
  function N(Z) {
1077
1077
  const X = Z.clone();
1078
1078
  return X.uniforms.modelAlpha.value = 1, X.uniforms.map.value && (X.uniforms.map.value.needsUpdate = !0), X;
1079
1079
  }
1080
1080
  function W(Z) {
1081
- if (Z instanceof P.Mesh) {
1081
+ if (Z instanceof I.Mesh) {
1082
1082
  const X = Z.geometry, $ = Array.isArray(Z.material) ? Z.material.map(N) : N(Z.material);
1083
- return new P.Mesh(X, $);
1084
- } else if (Z instanceof P.Group) {
1085
- const X = new P.Group();
1083
+ return new I.Mesh(X, $);
1084
+ } else if (Z instanceof I.Group) {
1085
+ const X = new I.Group();
1086
1086
  return Z.children.forEach(($) => X.add(W($))), X;
1087
1087
  } else {
1088
- const X = new P.Object3D();
1088
+ const X = new I.Object3D();
1089
1089
  return Z.children.forEach(($) => X.add(W($))), X;
1090
1090
  }
1091
1091
  }
1092
1092
  }, A = () => {
1093
1093
  if (n.renderer)
1094
- return o || (o = new P.WebGLRenderer({ antialias: !1, alpha: !0 }), o.setPixelRatio(n.renderer.getPixelRatio()), o.outputEncoding = P.sRGBEncoding, o.setClearColor(1579548, 0), o.autoClear = !0), o;
1094
+ return o || (o = new I.WebGLRenderer({ antialias: !1, alpha: !0 }), o.setPixelRatio(n.renderer.getPixelRatio()), o.outputEncoding = I.sRGBEncoding, o.setClearColor(1579548, 0), o.autoClear = !0), o;
1095
1095
  }, p = () => {
1096
1096
  d.traverse((N) => {
1097
- N instanceof P.Mesh && [].concat(N.material).forEach((Z) => Z.dispose());
1098
- }), l.remove(d), d = new P.Object3D(), l.add(d), i = !1, B();
1097
+ N instanceof I.Mesh && [].concat(N.material).forEach((Z) => Z.dispose());
1098
+ }), l.remove(d), d = new I.Object3D(), l.add(d), i = !1, B();
1099
1099
  }, g = () => {
1100
1100
  e && (i || m());
1101
1101
  }, b = () => {
1102
1102
  e || (e = !0, l.add(d), !i && n.model.loaded && m(), B());
1103
1103
  }, y = () => {
1104
1104
  e && (l.remove(d), s = !0, Q(), e = !1);
1105
- }, I = (N, W = {}) => {
1105
+ }, P = (N, W = {}) => {
1106
1106
  const Z = A();
1107
1107
  if (!Z)
1108
1108
  return;
@@ -1144,7 +1144,7 @@ const _E = (n, t) => {
1144
1144
  }, V = () => ({
1145
1145
  enabled: e
1146
1146
  });
1147
- return Object.assign(window, { camera: c }), n.on("modelLoaded", g), n.on("modelWillLoad", p), n.on("cameraDirectionUpdate", B), n.on("dispose", G), n.on("renderFrame", Q), n.on("cameraPositionUpdate", B), { appendTo: I, refresh: C, changeConfigs: Y, enable: b, disable: y, getCurrentState: V };
1147
+ return Object.assign(window, { camera: c }), n.on("modelLoaded", g), n.on("modelWillLoad", p), n.on("cameraDirectionUpdate", B), n.on("dispose", G), n.on("renderFrame", Q), n.on("cameraPositionUpdate", B), { appendTo: P, refresh: C, changeConfigs: Y, enable: b, disable: y, getCurrentState: V };
1148
1148
  }, fm = ({ x: n, y: t, z: e }) => new ne(n, t, e), Mt = (n) => new ne().fromArray(n), hn = (n) => n instanceof ne ? n : Array.isArray(n) ? Mt(n) : fm(n);
1149
1149
  function mm(n) {
1150
1150
  if (n)
@@ -1304,9 +1304,9 @@ class Dn {
1304
1304
  return i;
1305
1305
  }
1306
1306
  }
1307
- class vm extends P.Mesh {
1307
+ class vm extends I.Mesh {
1308
1308
  constructor(e, i) {
1309
- const s = new P.MeshBasicMaterial({ opacity: 0, color: 0, transparent: !1, side: P.DoubleSide }), o = new P.PlaneGeometry(e, i);
1309
+ const s = new I.MeshBasicMaterial({ opacity: 0, color: 0, transparent: !1, side: I.DoubleSide }), o = new I.PlaneGeometry(e, i);
1310
1310
  super(o, s);
1311
1311
  u(this, "name", "opacity-mesh");
1312
1312
  }
@@ -1370,8 +1370,8 @@ class Cm extends ea {
1370
1370
  i.classList.add(`${bm}__container`);
1371
1371
  const p = new ne().subVectors(s[1], s[0]), g = new ne().subVectors(s[3], s[0]), b = new ne().crossVectors(p, g).normalize();
1372
1372
  this.lookAt(b);
1373
- const y = this.up.clone().applyQuaternion(this.quaternion), I = g.clone(), C = new ne().crossVectors(y, I).normalize();
1374
- this.rotateOnWorldAxis(C, y.angleTo(I)), this.position.copy(m), this.addEventListener("added", () => {
1373
+ const y = this.up.clone().applyQuaternion(this.quaternion), P = g.clone(), C = new ne().crossVectors(y, P).normalize();
1374
+ this.rotateOnWorldAxis(C, y.angleTo(P)), this.position.copy(m), this.addEventListener("added", () => {
1375
1375
  var Q;
1376
1376
  this.mode === "front" && ((Q = this.opacityMesh) == null || Q.removeFromParent());
1377
1377
  }), this.addEventListener("removed", () => {
@@ -1413,7 +1413,7 @@ class Cm extends ea {
1413
1413
  this.scale.applyMatrix4(e), (i = this.opacityMesh) == null || i.scale.applyMatrix4(e);
1414
1414
  }
1415
1415
  }
1416
- class Im extends P.Scene {
1416
+ class Im extends I.Scene {
1417
1417
  constructor() {
1418
1418
  super();
1419
1419
  }
@@ -1423,7 +1423,7 @@ class Im extends P.Scene {
1423
1423
  }), this;
1424
1424
  }
1425
1425
  }
1426
- class Pm extends P.Scene {
1426
+ class Pm extends I.Scene {
1427
1427
  constructor(e) {
1428
1428
  super();
1429
1429
  u(this, "scene");
@@ -1443,7 +1443,7 @@ class Pm extends P.Scene {
1443
1443
  }), super.remove(...e), this;
1444
1444
  }
1445
1445
  }
1446
- class Rh extends P.Group {
1446
+ class Rh extends I.Group {
1447
1447
  constructor(e) {
1448
1448
  super();
1449
1449
  u(this, "isCSS3DGroup", !0);
@@ -1582,7 +1582,7 @@ class As {
1582
1582
  x && x.add(A);
1583
1583
  }, g = () => {
1584
1584
  m || (p(), this.render(t), this.hooks.emit("render"));
1585
- }, b = (x) => this.setVisibleById(A.id, x), y = (x) => this.setEnabledById(A.id, x), I = () => (m = !0, A.removeFromParent(), !0), C = l === "front" ? Ye.frontModeStore.css3DRenderer : Ye.behindModeStore.css3DRenderer;
1585
+ }, b = (x) => this.setVisibleById(A.id, x), y = (x) => this.setEnabledById(A.id, x), P = () => (m = !0, A.removeFromParent(), !0), C = l === "front" ? Ye.frontModeStore.css3DRenderer : Ye.behindModeStore.css3DRenderer;
1586
1586
  return c && g(), {
1587
1587
  id: A.uuid,
1588
1588
  container: d,
@@ -1594,7 +1594,7 @@ class As {
1594
1594
  enable: () => y(!0),
1595
1595
  disable: () => y(!1),
1596
1596
  setEnabled: y,
1597
- dispose: I,
1597
+ dispose: P,
1598
1598
  appendToElement: (x) => C.setWrapper(x)
1599
1599
  };
1600
1600
  });
@@ -1865,7 +1865,7 @@ let ka = class {
1865
1865
  u(this, "config");
1866
1866
  u(this, "offset", { x: 0, y: 0 });
1867
1867
  u(this, "context");
1868
- u(this, "renderCenter", new P.Vector3());
1868
+ u(this, "renderCenter", new I.Vector3());
1869
1869
  u(this, "hammer");
1870
1870
  u(this, "state", { enabled: !1 });
1871
1871
  u(this, "onPan", (t) => {
@@ -1933,7 +1933,7 @@ let ka = class {
1933
1933
  render() {
1934
1934
  if (!this.five.renderer || !this.containerDom)
1935
1935
  return;
1936
- const { scale: t, context: e, width: i, height: s } = this, o = this.renderCenter.clone().project(this.five.camera), r = this.five.renderer.getSize(new P.Vector2()), a = 1, l = i / t, c = s / t, d = a * t, h = (o.x + 1) / 2 * r.x, f = (o.y + 1) / 2 * r.y, m = this.five.getPixels(h - l / 2, f - l / 2, l, c, d), A = Math.floor(i * a), p = Math.floor(s * a);
1936
+ const { scale: t, context: e, width: i, height: s } = this, o = this.renderCenter.clone().project(this.five.camera), r = this.five.renderer.getSize(new I.Vector2()), a = 1, l = i / t, c = s / t, d = a * t, h = (o.x + 1) / 2 * r.x, f = (o.y + 1) / 2 * r.y, m = this.five.getPixels(h - l / 2, f - l / 2, l, c, d), A = Math.floor(i * a), p = Math.floor(s * a);
1937
1937
  Lm(m, A, p);
1938
1938
  const g = new ImageData(A, p);
1939
1939
  g.data.set(m), e.putImageData(g, 0, 0);
@@ -1947,21 +1947,21 @@ let ka = class {
1947
1947
  };
1948
1948
  function jm(n, t) {
1949
1949
  const { offsetWidth: e, offsetHeight: i } = t, { top: s, left: o } = t.getBoundingClientRect();
1950
- return new P.Vector2().set((n.x - o) / e * 2 - 1, -(n.y - s) / i * 2 + 1);
1950
+ return new I.Vector2().set((n.x - o) / e * 2 - 1, -(n.y - s) / i * 2 + 1);
1951
1951
  }
1952
1952
  function Gh(n, t) {
1953
1953
  const { offsetWidth: e, offsetHeight: i } = t;
1954
- return new P.Vector2().set(n.x / e * 2 - 1, -n.y / i * 2 + 1);
1954
+ return new I.Vector2().set(n.x / e * 2 - 1, -n.y / i * 2 + 1);
1955
1955
  }
1956
1956
  function zm(n, t) {
1957
1957
  const e = n.getElement();
1958
1958
  if (!e)
1959
1959
  return;
1960
- const i = Gh(t, e), s = new P.Raycaster();
1960
+ const i = Gh(t, e), s = new I.Raycaster();
1961
1961
  return s.setFromCamera(i, n.camera), s;
1962
1962
  }
1963
1963
  function Nh(n, t) {
1964
- const { x: e, y: i } = t, s = e * 2 - 1, o = i * 2 - 1, r = new P.Vector2().fromArray([s, o]), a = new P.Raycaster();
1964
+ const { x: e, y: i } = t, s = e * 2 - 1, o = i * 2 - 1, r = new I.Vector2().fromArray([s, o]), a = new I.Raycaster();
1965
1965
  return a.setFromCamera(r, n.camera), n.model.intersectRaycaster(a)[0];
1966
1966
  }
1967
1967
  const Om = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAAGwCAYAAADFUEBtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABtqADAAQAAAABAAABsAAAAABTZ8U6AAAtiklEQVR4Ae2dAXJbSbJdp+d7AfYSHOGVeAPek5fkNXgLjviLmRkZl+CRbtc8UBKRRalZpyIesiorMx/eIcjb+QCh//Y3hwQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQl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rof8boaVx3dVZw+CUjgnQQUtneCM00CFwS6Y7vY/uqyY/uKwokE5gkobPNMrXguAd43i23x6u5t3TuXllcugU0EFLZNYC17JIGIVosbEPD1evWxp5WABJ4koLA9CdB0CRQBhI1u7apTq3CnEpDADgIK2w6q1jyVQH8wJKLGunnYqTUN5xLYQEBh2wDVkscSaNF6mf/xxx9fbuNm7vZYMl64BCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQn8NQn8fyHnyuSABiy2AAAAAElFTkSuQmCC", Bm = `
@@ -1981,36 +1981,36 @@ void main() {
1981
1981
  }
1982
1982
  `;
1983
1983
  function Vm() {
1984
- const n = new P.PlaneGeometry(0.4, 0.4), t = Om, e = new P.TextureLoader().load(t);
1985
- e.encoding = P.sRGBEncoding, e.minFilter = P.LinearFilter;
1986
- const i = new P.MeshBasicMaterial({
1984
+ const n = new I.PlaneGeometry(0.4, 0.4), t = Om, e = new I.TextureLoader().load(t);
1985
+ e.encoding = I.sRGBEncoding, e.minFilter = I.LinearFilter;
1986
+ const i = new I.MeshBasicMaterial({
1987
1987
  map: e,
1988
1988
  transparent: !0,
1989
1989
  depthTest: !1
1990
1990
  });
1991
- return new P.Mesh(n, i);
1991
+ return new I.Mesh(n, i);
1992
1992
  }
1993
1993
  function Qm() {
1994
- const n = new P.CurvePath();
1995
- n.add(new P.LineCurve3(new P.Vector3(0, 0, 0), new P.Vector3(0, 0, 0.1)));
1996
- const t = new P.TubeGeometry(n, 8, 3e-3), e = new P.ShaderMaterial({
1994
+ const n = new I.CurvePath();
1995
+ n.add(new I.LineCurve3(new I.Vector3(0, 0, 0), new I.Vector3(0, 0, 0.1)));
1996
+ const t = new I.TubeGeometry(n, 8, 3e-3), e = new I.ShaderMaterial({
1997
1997
  vertexShader: Bm,
1998
1998
  fragmentShader: Rm,
1999
1999
  depthTest: !1,
2000
2000
  transparent: !0
2001
2001
  });
2002
- return new P.Mesh(t, e);
2002
+ return new I.Mesh(t, e);
2003
2003
  }
2004
2004
  function Gm() {
2005
- const n = new P.SphereGeometry(0.01, 20, 20), t = new P.MeshBasicMaterial({
2005
+ const n = new I.SphereGeometry(0.01, 20, 20), t = new I.MeshBasicMaterial({
2006
2006
  color: 10349931,
2007
2007
  depthTest: !1,
2008
2008
  transparent: !0,
2009
- side: P.DoubleSide
2010
- }), e = new P.Mesh(n, t);
2009
+ side: I.DoubleSide
2010
+ }), e = new I.Mesh(n, t);
2011
2011
  return e.position.set(0, 0, 0.1), e;
2012
2012
  }
2013
- class Hh extends P.Object3D {
2013
+ class Hh extends I.Object3D {
2014
2014
  constructor() {
2015
2015
  super();
2016
2016
  u(this, "planeMesh");
@@ -2021,7 +2021,7 @@ class Hh extends P.Object3D {
2021
2021
  updateWithIntersect(e) {
2022
2022
  if (!e.face)
2023
2023
  return;
2024
- const i = new P.Vector3().addVectors(e.point, e.face.normal);
2024
+ const i = new I.Vector3().addVectors(e.point, e.face.normal);
2025
2025
  this.position.copy(e.point), this.lookAt(i);
2026
2026
  }
2027
2027
  dispose() {
@@ -2107,7 +2107,7 @@ class _h {
2107
2107
  [-i, -i, 0],
2108
2108
  [i, -i, 0],
2109
2109
  [i, i, 0]
2110
- ].map((r) => new P.Vector3().fromArray(r))
2110
+ ].map((r) => new I.Vector3().fromArray(r))
2111
2111
  );
2112
2112
  if (o) {
2113
2113
  const { container: r, dispose: a, css3DObject: l } = o;
@@ -2125,7 +2125,7 @@ class _h {
2125
2125
  updateWithIntersect(t) {
2126
2126
  if (!t.face || !this.css3DObject)
2127
2127
  return;
2128
- const e = new P.Vector3().addVectors(t.point, t.face.normal);
2128
+ const e = new I.Vector3().addVectors(t.point, t.face.normal);
2129
2129
  this.css3DObject.position.copy(t.point), this.css3DObject.lookAt(e), this.five.needsRender = !0;
2130
2130
  }
2131
2131
  /** 缩放动画 */
@@ -2148,7 +2148,7 @@ class Wh {
2148
2148
  u(this, "pointHelper", null);
2149
2149
  u(this, "pointDomHelper", null);
2150
2150
  u(this, "state", { enabled: !1, visible: !0 });
2151
- u(this, "group", new P.Group());
2151
+ u(this, "group", new I.Group());
2152
2152
  u(this, "show", () => {
2153
2153
  this.state.visible || (this.state.visible = !0, this.pointHelper.visible = !0, this.pointDomHelper.enable(), this.magnifier.show(), this.five.needsRender = !0);
2154
2154
  });
@@ -2178,7 +2178,7 @@ class Wh {
2178
2178
  this.hooks.off(), this.disable(), this.magnifier = null, this.pointHelper = null, this.pointDomHelper = null;
2179
2179
  }
2180
2180
  }
2181
- class Yh extends P.Object3D {
2181
+ class Yh extends I.Object3D {
2182
2182
  constructor() {
2183
2183
  super(...arguments);
2184
2184
  u(this, "children", []);
@@ -2904,12 +2904,12 @@ function Qi(n, t, e) {
2904
2904
  const { delay: f = 0, duration: m = 300, easing: A = ni, tick: p = J, css: g } = s || Ba;
2905
2905
  g && (r = mo(n, 0, 1, m, f, A, g, l++)), p(0, 1);
2906
2906
  const b = Da() + f, y = b + m;
2907
- a && a.abort(), o = !0, Ne(() => Li(n, !0, "start")), a = Ta((I) => {
2907
+ a && a.abort(), o = !0, Ne(() => Li(n, !0, "start")), a = Ta((P) => {
2908
2908
  if (o) {
2909
- if (I >= y)
2909
+ if (P >= y)
2910
2910
  return p(1, 0), Li(n, !0, "end"), c(), o = !1;
2911
- if (I >= b) {
2912
- const C = A((I - b) / m);
2911
+ if (P >= b) {
2912
+ const C = A((P - b) / m);
2913
2913
  p(C, 1 - C);
2914
2914
  }
2915
2915
  }
@@ -2977,11 +2977,11 @@ function Wt(n, t, e, i) {
2977
2977
  };
2978
2978
  }
2979
2979
  function f(m) {
2980
- const { delay: A = 0, duration: p = 300, easing: g = ni, tick: b = J, css: y } = o || Ba, I = {
2980
+ const { delay: A = 0, duration: p = 300, easing: g = ni, tick: b = J, css: y } = o || Ba, P = {
2981
2981
  start: Da() + A,
2982
2982
  b: m
2983
2983
  };
2984
- m || (I.group = Nt, Nt.r += 1), a || l ? l = I : (y && (d(), c = mo(n, r, m, p, A, g, y)), m && b(0, 1), a = h(I, p), Ne(() => Li(n, m, "start")), Ta((C) => {
2984
+ m || (P.group = Nt, Nt.r += 1), a || l ? l = P : (y && (d(), c = mo(n, r, m, p, A, g, y)), m && b(0, 1), a = h(P, p), Ne(() => Li(n, m, "start")), Ta((C) => {
2985
2985
  if (l && C > l.start && (a = h(l, p), l = null, Li(n, a.b, "start"), y && (d(), c = mo(n, r, a.b, a.duration, 0, g, o.css))), a) {
2986
2986
  if (C >= a.end)
2987
2987
  b(r = a.b, 1 - r), Li(n, a.b, "end"), l || (a.b ? d() : --a.group.r || Je(a.group.c)), a = null;
@@ -3053,11 +3053,11 @@ function Bt(n, t, e, i, s, o, r, a, l, c, d, h) {
3053
3053
  const p = {};
3054
3054
  for (; A--; )
3055
3055
  p[n[A].key] = A;
3056
- const g = [], b = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), I = [];
3056
+ const g = [], b = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), P = [];
3057
3057
  for (A = m; A--; ) {
3058
3058
  const B = h(s, o, A), Q = e(B);
3059
3059
  let G = r.get(Q);
3060
- G ? i && I.push(() => G.p(B, t)) : (G = c(Q, B), G.c()), b.set(Q, g[A] = G), Q in p && y.set(Q, Math.abs(A - p[Q]));
3060
+ G ? i && P.push(() => G.p(B, t)) : (G = c(Q, B), G.c()), b.set(Q, g[A] = G), Q in p && y.set(Q, Math.abs(A - p[Q]));
3061
3061
  }
3062
3062
  const C = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
3063
3063
  function E(B) {
@@ -3073,7 +3073,7 @@ function Bt(n, t, e, i, s, o, r, a, l, c, d, h) {
3073
3073
  }
3074
3074
  for (; m; )
3075
3075
  E(g[m - 1]);
3076
- return Je(I), g;
3076
+ return Je(P), g;
3077
3077
  }
3078
3078
  function ht(n, t) {
3079
3079
  const e = {}, i = {}, s = { $$scope: 1 };
@@ -3686,9 +3686,9 @@ function Og(n, t, e) {
3686
3686
  function c(b) {
3687
3687
  if (!(l === null || b.floorIndex === l))
3688
3688
  return !1;
3689
- const I = new bi(), C = s.camera.position.clone(), x = new ne(b.position.x, b.position.y, b.position.z), E = x.distanceTo(C);
3690
- I.set(C.clone(), x.clone().sub(C).normalize());
3691
- const [B] = s.model.intersectRaycaster(I);
3689
+ const P = new bi(), C = s.camera.position.clone(), x = new ne(b.position.x, b.position.y, b.position.z), E = x.distanceTo(C);
3690
+ P.set(C.clone(), x.clone().sub(C).normalize());
3691
+ const [B] = s.model.intersectRaycaster(P);
3692
3692
  return !(B && B.distance + 1 < E);
3693
3693
  }
3694
3694
  function d(b, y) {
@@ -3696,13 +3696,13 @@ function Og(n, t, e) {
3696
3696
  return `translate(${x}px, ${E}px)`;
3697
3697
  }
3698
3698
  function h(b) {
3699
- const { rendererSize: y } = b, I = /* @__PURE__ */ new Map();
3699
+ const { rendererSize: y } = b, P = /* @__PURE__ */ new Map();
3700
3700
  function C(E) {
3701
- const B = I.get(E.id);
3701
+ const B = P.get(E.id);
3702
3702
  if (B)
3703
3703
  return B;
3704
3704
  const { x: Q, y: G, z: Y } = E.position, V = new ne(Q, G, Y).clone().distanceTo(s.camera.position);
3705
- return I.set(E.id, V), V;
3705
+ return P.set(E.id, V), V;
3706
3706
  }
3707
3707
  return o.map((E) => {
3708
3708
  const B = c(E), Q = B ? d(E, y) : E.transform, G = C(E), V = o.filter((H) => H.visible && C(H) < G).length * 10;
@@ -4313,7 +4313,7 @@ function np(n, t, e) {
4313
4313
  ].every((ye) => ip(ye, _e));
4314
4314
  };
4315
4315
  }
4316
- const b = document.body.clientWidth, y = document.body.clientHeight, I = h.roomLabel, C = I.positionInImage.x * 100 + "%", x = I.positionInImage.y * 100 + "%", E = (b < 500 || y < 500 ? 10 : 14) + "px";
4316
+ const b = document.body.clientWidth, y = document.body.clientHeight, P = h.roomLabel, C = P.positionInImage.x * 100 + "%", x = P.positionInImage.y * 100 + "%", E = (b < 500 || y < 500 ? 10 : 14) + "px";
4317
4317
  let B = 0, Q = 0, G = !1;
4318
4318
  f.subscribe(function(F) {
4319
4319
  e(16, G = !!F && F.id === h.id);
@@ -4806,8 +4806,8 @@ function hp(n, t, e) {
4806
4806
  });
4807
4807
  h.unshift({ left: 0, bottom: 0 }), h.push(a ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
4808
4808
  const f = d[d.length - 1] - d[0], m = d.map((A, p, g) => {
4809
- const b = p === 0 ? 0 : A - g[p - 1], y = p === 0 ? 0 : (A + g[p - 1]) / 2, I = a ? (y - o.min.x - en + tn) / l : 0, C = a ? 0 : (y - o.min.y - en + tn) / c;
4810
- return { left: I, bottom: C, distance: b };
4809
+ const b = p === 0 ? 0 : A - g[p - 1], y = p === 0 ? 0 : (A + g[p - 1]) / 2, P = a ? (y - o.min.x - en + tn) / l : 0, C = a ? 0 : (y - o.min.y - en + tn) / c;
4810
+ return { left: P, bottom: C, distance: b };
4811
4811
  }).filter(({ distance: A }) => A / f > 0.1);
4812
4812
  return n.$$set = (A) => {
4813
4813
  "type" in A && e(0, i = A.type), "data" in A && e(5, s = A.data), "bounding" in A && e(6, o = A.bounding), "getRuleDistanceText" in A && e(1, r = A.getRuleDistanceText);
@@ -6050,16 +6050,16 @@ function oA(n) {
6050
6050
  ), y = (
6051
6051
  /*cameraEnable*/
6052
6052
  n[4] && Wl(n)
6053
- ), I = (
6053
+ ), P = (
6054
6054
  /*compassEnable*/
6055
6055
  n[20] && Yl(n)
6056
6056
  );
6057
6057
  return {
6058
6058
  c() {
6059
- ie(t.$$.fragment), e = K(), m && m.c(), i = K(), ie(s.$$.fragment), o = K(), g && g.c(), r = K(), b && b.c(), a = K(), y && y.c(), l = K(), I && I.c(), c = Ce();
6059
+ ie(t.$$.fragment), e = K(), m && m.c(), i = K(), ie(s.$$.fragment), o = K(), g && g.c(), r = K(), b && b.c(), a = K(), y && y.c(), l = K(), P && P.c(), c = Ce();
6060
6060
  },
6061
6061
  m(C, x) {
6062
- ee(t, C, x), O(C, e, x), m && m.m(C, x), O(C, i, x), ee(s, C, x), O(C, o, x), g && g.m(C, x), O(C, r, x), b && b.m(C, x), O(C, a, x), y && y.m(C, x), O(C, l, x), I && I.m(C, x), O(C, c, x), d = !0;
6062
+ ee(t, C, x), O(C, e, x), m && m.m(C, x), O(C, i, x), ee(s, C, x), O(C, o, x), g && g.m(C, x), O(C, r, x), b && b.m(C, x), O(C, a, x), y && y.m(C, x), O(C, l, x), P && P.m(C, x), O(C, c, x), d = !0;
6063
6063
  },
6064
6064
  p(C, x) {
6065
6065
  const E = x & /*floorIndex, floorplanData*/
@@ -6107,19 +6107,19 @@ function oA(n) {
6107
6107
  16 && M(y, 1)) : (y = Wl(C), y.c(), M(y, 1), y.m(l.parentNode, l)) : y && (de(), j(y, 1, 1, () => {
6108
6108
  y = null;
6109
6109
  }), he()), /*compassEnable*/
6110
- C[20] ? I ? (I.p(C, x), x & /*compassEnable*/
6111
- 1048576 && M(I, 1)) : (I = Yl(C), I.c(), M(I, 1), I.m(c.parentNode, c)) : I && (de(), j(I, 1, 1, () => {
6112
- I = null;
6110
+ C[20] ? P ? (P.p(C, x), x & /*compassEnable*/
6111
+ 1048576 && M(P, 1)) : (P = Yl(C), P.c(), M(P, 1), P.m(c.parentNode, c)) : P && (de(), j(P, 1, 1, () => {
6112
+ P = null;
6113
6113
  }), he());
6114
6114
  },
6115
6115
  i(C) {
6116
- d || (M(t.$$.fragment, C), M(m), M(s.$$.fragment, C), M(g), M(b), M(y), M(I), d = !0);
6116
+ d || (M(t.$$.fragment, C), M(m), M(s.$$.fragment, C), M(g), M(b), M(y), M(P), d = !0);
6117
6117
  },
6118
6118
  o(C) {
6119
- j(t.$$.fragment, C), j(m), j(s.$$.fragment, C), j(g), j(b), j(y), j(I), d = !1;
6119
+ j(t.$$.fragment, C), j(m), j(s.$$.fragment, C), j(g), j(b), j(y), j(P), d = !1;
6120
6120
  },
6121
6121
  d(C) {
6122
- te(t, C), C && z(e), m && m.d(C), C && z(i), te(s, C), C && z(o), g && g.d(C), C && z(r), b && b.d(C), C && z(a), y && y.d(C), C && z(l), I && I.d(C), C && z(c);
6122
+ te(t, C), C && z(e), m && m.d(C), C && z(i), te(s, C), C && z(o), g && g.d(C), C && z(r), b && b.d(C), C && z(a), y && y.d(C), C && z(l), P && P.d(C), C && z(c);
6123
6123
  }
6124
6124
  };
6125
6125
  }
@@ -6524,10 +6524,10 @@ function aA(n) {
6524
6524
  };
6525
6525
  }
6526
6526
  function lA(n, t, e) {
6527
- let i, s, { panoIndex: o } = t, { isCurrent: r } = t, { floorIndex: a } = t, { highlightEnable: l } = t, { cameraEnable: c } = t, { hoverEnable: d } = t, { roomLabelsEnable: h } = t, { roomAreaEnable: f } = t, { roomNameEnable: m } = t, { ruleLabelsEnable: A } = t, { floorplanData: p } = t, { getRoomAreaText: g } = t, { getLabelElement: b } = t, { getRuleDistanceText: y } = t, { adaptiveRoomLabelVisibleEnable: I } = t, { highlightData: C } = t, { missingFloorConfig: x } = t, { lastPanoramaLongitude: E } = t, { cameraImageUrl: B } = t, { northDesc: Q } = t, { compassEnable: G } = t;
6527
+ let i, s, { panoIndex: o } = t, { isCurrent: r } = t, { floorIndex: a } = t, { highlightEnable: l } = t, { cameraEnable: c } = t, { hoverEnable: d } = t, { roomLabelsEnable: h } = t, { roomAreaEnable: f } = t, { roomNameEnable: m } = t, { ruleLabelsEnable: A } = t, { floorplanData: p } = t, { getRoomAreaText: g } = t, { getLabelElement: b } = t, { getRuleDistanceText: y } = t, { adaptiveRoomLabelVisibleEnable: P } = t, { highlightData: C } = t, { missingFloorConfig: x } = t, { lastPanoramaLongitude: E } = t, { cameraImageUrl: B } = t, { northDesc: Q } = t, { compassEnable: G } = t;
6528
6528
  const Y = Qa(void 0);
6529
6529
  return n.$$set = (V) => {
6530
- "panoIndex" in V && e(0, o = V.panoIndex), "isCurrent" in V && e(1, r = V.isCurrent), "floorIndex" in V && e(2, a = V.floorIndex), "highlightEnable" in V && e(3, l = V.highlightEnable), "cameraEnable" in V && e(4, c = V.cameraEnable), "hoverEnable" in V && e(5, d = V.hoverEnable), "roomLabelsEnable" in V && e(6, h = V.roomLabelsEnable), "roomAreaEnable" in V && e(7, f = V.roomAreaEnable), "roomNameEnable" in V && e(8, m = V.roomNameEnable), "ruleLabelsEnable" in V && e(9, A = V.ruleLabelsEnable), "floorplanData" in V && e(10, p = V.floorplanData), "getRoomAreaText" in V && e(11, g = V.getRoomAreaText), "getLabelElement" in V && e(12, b = V.getLabelElement), "getRuleDistanceText" in V && e(13, y = V.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in V && e(14, I = V.adaptiveRoomLabelVisibleEnable), "highlightData" in V && e(15, C = V.highlightData), "missingFloorConfig" in V && e(16, x = V.missingFloorConfig), "lastPanoramaLongitude" in V && e(17, E = V.lastPanoramaLongitude), "cameraImageUrl" in V && e(18, B = V.cameraImageUrl), "northDesc" in V && e(19, Q = V.northDesc), "compassEnable" in V && e(20, G = V.compassEnable);
6530
+ "panoIndex" in V && e(0, o = V.panoIndex), "isCurrent" in V && e(1, r = V.isCurrent), "floorIndex" in V && e(2, a = V.floorIndex), "highlightEnable" in V && e(3, l = V.highlightEnable), "cameraEnable" in V && e(4, c = V.cameraEnable), "hoverEnable" in V && e(5, d = V.hoverEnable), "roomLabelsEnable" in V && e(6, h = V.roomLabelsEnable), "roomAreaEnable" in V && e(7, f = V.roomAreaEnable), "roomNameEnable" in V && e(8, m = V.roomNameEnable), "ruleLabelsEnable" in V && e(9, A = V.ruleLabelsEnable), "floorplanData" in V && e(10, p = V.floorplanData), "getRoomAreaText" in V && e(11, g = V.getRoomAreaText), "getLabelElement" in V && e(12, b = V.getLabelElement), "getRuleDistanceText" in V && e(13, y = V.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in V && e(14, P = V.adaptiveRoomLabelVisibleEnable), "highlightData" in V && e(15, C = V.highlightData), "missingFloorConfig" in V && e(16, x = V.missingFloorConfig), "lastPanoramaLongitude" in V && e(17, E = V.lastPanoramaLongitude), "cameraImageUrl" in V && e(18, B = V.cameraImageUrl), "northDesc" in V && e(19, Q = V.northDesc), "compassEnable" in V && e(20, G = V.compassEnable);
6531
6531
  }, n.$$.update = () => {
6532
6532
  n.$$.dirty & /*floorplanData, floorIndex*/
6533
6533
  1028 && e(23, i = p.floorDatas[a]), n.$$.dirty & /*floorData*/
@@ -6547,7 +6547,7 @@ function lA(n, t, e) {
6547
6547
  g,
6548
6548
  b,
6549
6549
  y,
6550
- I,
6550
+ P,
6551
6551
  C,
6552
6552
  x,
6553
6553
  E,
@@ -6912,9 +6912,9 @@ function hA(n) {
6912
6912
  };
6913
6913
  }
6914
6914
  function uA(n, t, e) {
6915
- let { duration: i = 0 } = t, { visible: s } = t, { northDesc: o } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: d } = t, { compassEnable: h } = t, { roomLabelsEnable: f } = t, { roomAreaEnable: m } = t, { roomNameEnable: A } = t, { ruleLabelsEnable: p } = t, { floorplanData: g } = t, { lastPanoramaLongitude: b } = t, { cameraImageUrl: y } = t, { getRoomAreaText: I } = t, { getLabelElement: C } = t, { getRuleDistanceText: x } = t, { adaptiveRoomLabelVisibleEnable: E } = t, { highlightData: B } = t, { missingFloorConfig: Q } = t;
6915
+ let { duration: i = 0 } = t, { visible: s } = t, { northDesc: o } = t, { panoIndex: r } = t, { floorIndex: a } = t, { cameraEnable: l } = t, { hoverEnable: c } = t, { highlightEnable: d } = t, { compassEnable: h } = t, { roomLabelsEnable: f } = t, { roomAreaEnable: m } = t, { roomNameEnable: A } = t, { ruleLabelsEnable: p } = t, { floorplanData: g } = t, { lastPanoramaLongitude: b } = t, { cameraImageUrl: y } = t, { getRoomAreaText: P } = t, { getLabelElement: C } = t, { getRuleDistanceText: x } = t, { adaptiveRoomLabelVisibleEnable: E } = t, { highlightData: B } = t, { missingFloorConfig: Q } = t;
6916
6916
  return n.$$set = (G) => {
6917
- "duration" in G && e(0, i = G.duration), "visible" in G && e(1, s = G.visible), "northDesc" in G && e(2, o = G.northDesc), "panoIndex" in G && e(3, r = G.panoIndex), "floorIndex" in G && e(4, a = G.floorIndex), "cameraEnable" in G && e(5, l = G.cameraEnable), "hoverEnable" in G && e(6, c = G.hoverEnable), "highlightEnable" in G && e(7, d = G.highlightEnable), "compassEnable" in G && e(8, h = G.compassEnable), "roomLabelsEnable" in G && e(9, f = G.roomLabelsEnable), "roomAreaEnable" in G && e(10, m = G.roomAreaEnable), "roomNameEnable" in G && e(11, A = G.roomNameEnable), "ruleLabelsEnable" in G && e(12, p = G.ruleLabelsEnable), "floorplanData" in G && e(13, g = G.floorplanData), "lastPanoramaLongitude" in G && e(14, b = G.lastPanoramaLongitude), "cameraImageUrl" in G && e(15, y = G.cameraImageUrl), "getRoomAreaText" in G && e(16, I = G.getRoomAreaText), "getLabelElement" in G && e(17, C = G.getLabelElement), "getRuleDistanceText" in G && e(18, x = G.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in G && e(19, E = G.adaptiveRoomLabelVisibleEnable), "highlightData" in G && e(20, B = G.highlightData), "missingFloorConfig" in G && e(21, Q = G.missingFloorConfig);
6917
+ "duration" in G && e(0, i = G.duration), "visible" in G && e(1, s = G.visible), "northDesc" in G && e(2, o = G.northDesc), "panoIndex" in G && e(3, r = G.panoIndex), "floorIndex" in G && e(4, a = G.floorIndex), "cameraEnable" in G && e(5, l = G.cameraEnable), "hoverEnable" in G && e(6, c = G.hoverEnable), "highlightEnable" in G && e(7, d = G.highlightEnable), "compassEnable" in G && e(8, h = G.compassEnable), "roomLabelsEnable" in G && e(9, f = G.roomLabelsEnable), "roomAreaEnable" in G && e(10, m = G.roomAreaEnable), "roomNameEnable" in G && e(11, A = G.roomNameEnable), "ruleLabelsEnable" in G && e(12, p = G.ruleLabelsEnable), "floorplanData" in G && e(13, g = G.floorplanData), "lastPanoramaLongitude" in G && e(14, b = G.lastPanoramaLongitude), "cameraImageUrl" in G && e(15, y = G.cameraImageUrl), "getRoomAreaText" in G && e(16, P = G.getRoomAreaText), "getLabelElement" in G && e(17, C = G.getLabelElement), "getRuleDistanceText" in G && e(18, x = G.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in G && e(19, E = G.adaptiveRoomLabelVisibleEnable), "highlightData" in G && e(20, B = G.highlightData), "missingFloorConfig" in G && e(21, Q = G.missingFloorConfig);
6918
6918
  }, [
6919
6919
  i,
6920
6920
  s,
@@ -6932,7 +6932,7 @@ function uA(n, t, e) {
6932
6932
  g,
6933
6933
  b,
6934
6934
  y,
6935
- I,
6935
+ P,
6936
6936
  C,
6937
6937
  x,
6938
6938
  E,
@@ -7077,7 +7077,7 @@ function Na(n, t, e = ji.BOUNDING_CENTER) {
7077
7077
  return e === ji.BOUNDING_CENTER ? (n.model.bounding.max.y + n.model.bounding.min.y) / 2 : e === ji.CEILING ? s : i;
7078
7078
  }
7079
7079
  function Ha(n, t, e, i) {
7080
- const s = Na(n, e, i == null ? void 0 : i.attachedTo), o = new P.Vector3(0, s, 0), r = new P.Vector3(1, s, 0), a = o.clone().project(n.camera), l = r.clone().project(n.camera);
7080
+ const s = Na(n, e, i == null ? void 0 : i.attachedTo), o = new I.Vector3(0, s, 0), r = new I.Vector3(1, s, 0), a = o.clone().project(n.camera), l = r.clone().project(n.camera);
7081
7081
  return Math.abs((l.x - a.x) / 1e3) * (t.getBoundingClientRect().width / 2);
7082
7082
  }
7083
7083
  let Vn = class {
@@ -7085,7 +7085,7 @@ let Vn = class {
7085
7085
  /**
7086
7086
  * @realsee/dnalogel 版本号
7087
7087
  */
7088
- u(this, "VERSION", "3.2.3");
7088
+ u(this, "VERSION", "3.2.4");
7089
7089
  u(this, "five");
7090
7090
  /**
7091
7091
  * 插件事件钩子
@@ -7671,7 +7671,7 @@ let DA = class extends oi {
7671
7671
  });
7672
7672
  /** modelLoaded 之后自动执行 append container 操作 */
7673
7673
  u(this, "onFiveModelLoaded", () => {
7674
- const i = this.five.model.bounding.getCenter(new P.Vector3());
7674
+ const i = this.five.model.bounding.getCenter(new I.Vector3());
7675
7675
  if (this.showState.offset = i, this.state.enabled === !1 || this.wrapper || !this.selector)
7676
7676
  return;
7677
7677
  const s = this.selector instanceof Element ? this.selector : document.querySelector(this.selector);
@@ -7802,7 +7802,7 @@ let DA = class extends oi {
7802
7802
  /** 更新户型图位置 */
7803
7803
  updatePosition() {
7804
7804
  var a;
7805
- const e = Na(this.five, this.floorIndex, this.state.config.attachedTo), i = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new P.Vector3()).setY(e);
7805
+ const e = Na(this.five, this.floorIndex, this.state.config.attachedTo), i = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new I.Vector3()).setY(e);
7806
7806
  if (!i)
7807
7807
  return;
7808
7808
  const s = i.clone().project(this.five.camera), o = (s.x + 1) / 2, r = -(s.y - 1) / 2;
@@ -7999,7 +7999,7 @@ let SA = class extends oi {
7999
7999
  /** 更新户型图位置 */
8000
8000
  updatePosition() {
8001
8001
  var a;
8002
- const e = Na(this.five, this.floorIndex, this.state.config.attachedTo), i = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new P.Vector3()).setY(e);
8002
+ const e = Na(this.five, this.floorIndex, this.state.config.attachedTo), i = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new I.Vector3()).setY(e);
8003
8003
  if (!i)
8004
8004
  return;
8005
8005
  const s = i.clone().project(this.five.camera), o = (s.x + 1) / 2, r = -(s.y - 1) / 2;
@@ -8202,8 +8202,8 @@ function jA(n) {
8202
8202
  return `rotate(${Math.floor(n / Math.PI * 180) * -1 + 45}deg)`;
8203
8203
  }
8204
8204
  function zA(n, t, e) {
8205
- var y, I;
8206
- let i, s, o, r, { five: a } = t, { pxmm: l } = t, { floorplanData: c } = t, { cameraImageUrl: d } = t, h = a.getCurrentState().panoIndex, f = a.getCurrentState().longitude, m = (I = (y = a.work.observers[a.getCurrentState().panoIndex]) == null ? void 0 : y.floorIndex) != null ? I : 0;
8205
+ var y, P;
8206
+ let i, s, o, r, { five: a } = t, { pxmm: l } = t, { floorplanData: c } = t, { cameraImageUrl: d } = t, h = a.getCurrentState().panoIndex, f = a.getCurrentState().longitude, m = (P = (y = a.work.observers[a.getCurrentState().panoIndex]) == null ? void 0 : y.floorIndex) != null ? P : 0;
8207
8207
  function A(C, x) {
8208
8208
  const E = C.bounding, B = C.observers[x];
8209
8209
  if (!B)
@@ -8855,7 +8855,7 @@ function XA(n, t, e) {
8855
8855
  }));
8856
8856
  const y = (E) => {
8857
8857
  e(8, m = E.detail);
8858
- }, I = (E) => {
8858
+ }, P = (E) => {
8859
8859
  e(9, A = E.detail);
8860
8860
  };
8861
8861
  return n.$$set = (E) => {
@@ -8884,7 +8884,7 @@ function XA(n, t, e) {
8884
8884
  f,
8885
8885
  g,
8886
8886
  y,
8887
- I
8887
+ P
8888
8888
  ];
8889
8889
  }
8890
8890
  class JA extends ae {
@@ -9147,7 +9147,7 @@ const ck = (n, t) => new ZA(n, t), dk = [
9147
9147
  { roomType: "100900000015", description: "商铺" },
9148
9148
  { roomType: "100900000016", description: "写字楼" }
9149
9149
  ], jr = (n, t, e) => {
9150
- const i = new P.Matrix4(), s = new P.Euler(n, t, e, "YXZ");
9150
+ const i = new I.Matrix4(), s = new I.Euler(n, t, e, "YXZ");
9151
9151
  return i.makeRotationFromEuler(s), i;
9152
9152
  }, qA = (n, {
9153
9153
  scale: t,
@@ -9179,12 +9179,12 @@ const fk = (n, t) => {
9179
9179
  const b = (g == null ? void 0 : g.fbx_url) || e;
9180
9180
  if (l = (C = g == null ? void 0 : g.north_rad) != null ? C : i, typeof l != "number")
9181
9181
  throw new Error('"northRad"配置参数缺失:未配置指南针指向!');
9182
- const I = yield new Th().loadAsync(b);
9183
- return Eu(I, {
9182
+ const P = yield new Th().loadAsync(b);
9183
+ return Eu(P, {
9184
9184
  transparent: !0,
9185
- side: P.DoubleSide,
9186
- blending: P.AdditiveBlending
9187
- }), s.object = I, A(), !0;
9185
+ side: I.DoubleSide,
9186
+ blending: I.AdditiveBlending
9187
+ }), s.object = P, A(), !0;
9188
9188
  }), d = ({ latitude: g }) => {
9189
9189
  if (!s.object)
9190
9190
  return;
@@ -9210,7 +9210,7 @@ const fk = (n, t) => {
9210
9210
  const g = s.object;
9211
9211
  if (!g)
9212
9212
  return;
9213
- const b = n.model.bounding, y = b.max.x - b.min.x, I = b.max.z - b.min.z, C = Math.max(y, I), {
9213
+ const b = n.model.bounding, y = b.max.x - b.min.x, P = b.max.z - b.min.z, C = Math.max(y, P), {
9214
9214
  max: { x, z: E },
9215
9215
  min: { x: B, y: Q, z: G }
9216
9216
  } = b;
@@ -9229,14 +9229,14 @@ const $A = ({ x: n, y: t, z: e }) => new ne(n, t, e), mk = (n, t) => {
9229
9229
  var p, g, b;
9230
9230
  const e = {}, i = (p = t.animationEnabled) != null ? p : !0, s = (g = t.position) != null ? g : void 0, o = (b = t.rad) != null ? b : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (y) => _(void 0, null, function* () {
9231
9231
  var Y, V, H, F, N, W, Z, X;
9232
- const I = (Y = y == null ? void 0 : y.position) != null ? Y : s;
9233
- if (!I)
9232
+ const P = (Y = y == null ? void 0 : y.position) != null ? Y : s;
9233
+ if (!P)
9234
9234
  return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
9235
- const C = $A(I), x = (V = y == null ? void 0 : y.rad) != null ? V : o, E = (H = y == null ? void 0 : y.fbx_url) != null ? H : r;
9235
+ const C = $A(P), x = (V = y == null ? void 0 : y.rad) != null ? V : o, E = (H = y == null ? void 0 : y.fbx_url) != null ? H : r;
9236
9236
  if (e.rad = x, x === void 0)
9237
9237
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${x}`));
9238
9238
  const B = yield new Th().loadAsync(E);
9239
- B.position.copy(C), B.rotation.z = x, B.scale.set(0.8, 0.8, 0.8), Eu(B, { transparent: !0, side: P.DoubleSide });
9239
+ B.position.copy(C), B.rotation.z = x, B.scale.set(0.8, 0.8, 0.8), Eu(B, { transparent: !0, side: I.DoubleSide });
9240
9240
  const Q = (Z = (W = (N = (F = B.children) == null ? void 0 : F[0]) == null ? void 0 : N.children) == null ? void 0 : W[3]) == null ? void 0 : Z.clone();
9241
9241
  if (!Q)
9242
9242
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${Q}`));
@@ -9247,9 +9247,9 @@ const $A = ({ x: n, y: t, z: e }) => new ne(n, t, e), mk = (n, t) => {
9247
9247
  return;
9248
9248
  if (!e.object)
9249
9249
  return console.error("ModelEntryDoorGuidePlugin.initAnimation(): state.object is ", e.object);
9250
- const y = 1, I = new Bf(e.object);
9251
- a.push(I);
9252
- const C = I.clipAction(e.object.animations[0]);
9250
+ const y = 1, P = new Bf(e.object);
9251
+ a.push(P);
9252
+ const C = P.clipAction(e.object.animations[0]);
9253
9253
  C.timeScale = y;
9254
9254
  let x;
9255
9255
  const E = () => {
@@ -9357,16 +9357,16 @@ const la = (n, t, e) => {
9357
9357
  })), a.asyncEndCallback && (yield a.asyncEndCallback());
9358
9358
  const { from: h, to: f } = i(o);
9359
9359
  return yield new Promise((m) => {
9360
- const A = ({ progress: I }) => {
9360
+ const A = ({ progress: P }) => {
9361
9361
  const C = {};
9362
- C.longitude = zr(h.longitude, f.longitude, I), C.latitude = zr(h.latitude, f.latitude, I), C.fov = zr(h.fov, f.fov, I), n.setState(C, !0);
9362
+ C.longitude = zr(h.longitude, f.longitude, P), C.latitude = zr(h.latitude, f.latitude, P), C.fov = zr(h.fov, f.fov, P), n.setState(C, !0);
9363
9363
  }, p = () => {
9364
9364
  m(!0);
9365
9365
  }, g = () => {
9366
9366
  m(!1);
9367
9367
  }, b = o.rotateSpeed ? Math.ceil(Math.abs(f.longitude - h.longitude) / o.rotateSpeed * 1e3) : r, y = iv(b, jt.Linear.None).onUpdate(A).onComplete(p).onDestroy(g);
9368
- o.rotation === ei.Loop && y.repeat(1 / 0).yoyo(!0), t.interruptCallback = (I = !0) => {
9369
- y.destroy(), t.interruptCallback = void 0, t.timeoutId && (clearTimeout(t.timeoutId), t.timeoutId = void 0), m(I);
9368
+ o.rotation === ei.Loop && y.repeat(1 / 0).yoyo(!0), t.interruptCallback = (P = !0) => {
9369
+ y.destroy(), t.interruptCallback = void 0, t.timeoutId && (clearTimeout(t.timeoutId), t.timeoutId = void 0), m(P);
9370
9370
  }, t.timeoutId = setTimeout(() => {
9371
9371
  t.interruptCallback && t.interruptCallback(!0);
9372
9372
  }, r);
@@ -9561,8 +9561,8 @@ const rv = `<style type="text/css">
9561
9561
  const b = lv(p, n), y = n.work;
9562
9562
  if (!y)
9563
9563
  return !1;
9564
- for (const I in g) {
9565
- const C = g[I], { standingPosition: x } = y.observers[0], E = C.map(({ x: B, z: Q, observers: G }) => {
9564
+ for (const P in g) {
9565
+ const C = g[P], { standingPosition: x } = y.observers[0], E = C.map(({ x: B, z: Q, observers: G }) => {
9566
9566
  const Y = G.length > 0 ? p.rooms[p.observers[G[0]]].name : "", V = b[Y] ? b[Y].floor : null;
9567
9567
  let H = 1 / 0, F = {
9568
9568
  index: 0,
@@ -9586,35 +9586,35 @@ const rv = `<style type="text/css">
9586
9586
  const W = b[Y] ? b[Y].roof : null, Z = W ? new ne(B, W, Q) : null;
9587
9587
  return Z && Object.assign(Z, { observers: G }), { origin: N, vertical: Z };
9588
9588
  });
9589
- r[I] = {
9589
+ r[P] = {
9590
9590
  origins: E.map((B) => B.origin),
9591
9591
  rules: []
9592
9592
  };
9593
9593
  for (const { origin: B, vertical: Q } of E) {
9594
9594
  if (!Q)
9595
9595
  continue;
9596
- const G = i(I, B.distanceTo(Q));
9597
- s.append(G), r[I].rules.push({ vertical: !0, rule: [B, Q], $element: G });
9596
+ const G = i(P, B.distanceTo(Q));
9597
+ s.append(G), r[P].rules.push({ vertical: !0, rule: [B, Q], $element: G });
9598
9598
  }
9599
9599
  for (let B = 0; B < E.length; B++) {
9600
9600
  let Q = B + 1;
9601
9601
  Q >= E.length && (Q = 0);
9602
- const { origin: G } = E[B], { origin: Y } = E[Q], V = i(I, G.distanceTo(Y));
9603
- s.append(V), r[I].rules.push({ vertical: !1, rule: [G, Y], $element: V });
9602
+ const { origin: G } = E[B], { origin: Y } = E[Q], V = i(P, G.distanceTo(Y));
9603
+ s.append(V), r[P].rules.push({ vertical: !1, rule: [G, Y], $element: V });
9604
9604
  }
9605
9605
  }
9606
9606
  return e.loaded = !0, !0;
9607
9607
  }, l = (p, g, b) => _(void 0, null, function* () {
9608
- const y = p || t.roomInfo, I = g || t.roomRules;
9609
- if (!y || !I)
9608
+ const y = p || t.roomInfo, P = g || t.roomRules;
9609
+ if (!y || !P)
9610
9610
  throw new Error("标尺数据依赖不齐全!");
9611
- return e.loaded = !1, e.options = R(R({}, e.options), b || {}), n.model.loaded ? a(y, I) : yield new Promise(
9612
- (C) => n.once("modelLoaded", () => C(a(y, I)))
9611
+ return e.loaded = !1, e.options = R(R({}, e.options), b || {}), n.model.loaded ? a(y, P) : yield new Promise(
9612
+ (C) => n.once("modelLoaded", () => C(a(y, P)))
9613
9613
  );
9614
9614
  });
9615
9615
  t.roomInfo && t.roomRules && l(t.roomInfo, t.roomRules);
9616
9616
  const c = (p, g, b, y) => {
9617
- const I = [
9617
+ const P = [
9618
9618
  [
9619
9619
  { x: 0, y: 0 },
9620
9620
  { x: b, y: 0 }
@@ -9632,8 +9632,8 @@ const rv = `<style type="text/css">
9632
9632
  { x: b, y }
9633
9633
  ]
9634
9634
  ], C = [];
9635
- for (let x = 0; x < I.length; x++) {
9636
- const E = Mu([p, g], [I[x][0], I[x][1]], !0);
9635
+ for (let x = 0; x < P.length; x++) {
9636
+ const E = Mu([p, g], [P[x][0], P[x][1]], !0);
9637
9637
  E && C.push(E);
9638
9638
  }
9639
9639
  return C.length === 0 ? !1 : C;
@@ -9645,10 +9645,10 @@ const rv = `<style type="text/css">
9645
9645
  const { panoIndex: g, camera: b, currentMode: y } = n;
9646
9646
  if (g === void 0)
9647
9647
  return;
9648
- let I;
9648
+ let P;
9649
9649
  for (const Y in r)
9650
- Y.split(",").indexOf(g.toString()) >= 0 && (I = Y);
9651
- if (!I) {
9650
+ Y.split(",").indexOf(g.toString()) >= 0 && (P = Y);
9651
+ if (!P) {
9652
9652
  for (const Y in r)
9653
9653
  for (const { $element: V } of r[Y].rules)
9654
9654
  V.style.display = "none";
@@ -9663,12 +9663,12 @@ const rv = `<style type="text/css">
9663
9663
  }
9664
9664
  for (const Y in r)
9665
9665
  for (const { $element: V } of r[Y].rules)
9666
- V.style.display = Y === I ? "block" : "none";
9667
- const [Q] = r[I].origins.slice().filter((Y) => Y.observers.indexOf(g) >= 0).sort((Y, V) => {
9666
+ V.style.display = Y === P ? "block" : "none";
9667
+ const [Q] = r[P].origins.slice().filter((Y) => Y.observers.indexOf(g) >= 0).sort((Y, V) => {
9668
9668
  const H = Y.clone().setY(0).sub(C).normalize().angleTo(x.clone().setY(0)), F = V.clone().setY(0).sub(C).normalize().angleTo(x.clone().setY(0));
9669
9669
  return H - F;
9670
9670
  });
9671
- for (const { rule: Y, vertical: V, $element: H } of r[I].rules) {
9671
+ for (const { rule: Y, vertical: V, $element: H } of r[P].rules) {
9672
9672
  const [F, N] = Y, W = H.querySelector(".PanoRulerPlugin-rule-line");
9673
9673
  if (!W)
9674
9674
  return;
@@ -9728,7 +9728,7 @@ const rv = `<style type="text/css">
9728
9728
  const g = p.distanceText;
9729
9729
  e.options.distanceText = g, Object.values(r).forEach((b) => {
9730
9730
  b.rules.forEach((y) => {
9731
- const [I, C] = y.rule, x = I.distanceTo(C), E = y.$element.querySelector(".PanoRulerPlugin-rule-label-name");
9731
+ const [P, C] = y.rule, x = P.distanceTo(C), E = y.$element.querySelector(".PanoRulerPlugin-rule-label-name");
9732
9732
  E && (E.innerText = g(x));
9733
9733
  });
9734
9734
  });
@@ -10038,7 +10038,7 @@ function gv(n) {
10038
10038
  function pv(n, t, e) {
10039
10039
  var p, g, b, y;
10040
10040
  let { five: i } = t, { rulerDatas: s } = t, { options: o } = t, r = [];
10041
- const a = ((g = (p = i.getElement()) == null ? void 0 : p.parentElement) == null ? void 0 : g.clientWidth) || 0, l = ((y = (b = i.getElement()) == null ? void 0 : b.parentElement) == null ? void 0 : y.clientHeight) || 0, c = (I, C) => {
10041
+ const a = ((g = (p = i.getElement()) == null ? void 0 : p.parentElement) == null ? void 0 : g.clientWidth) || 0, l = ((y = (b = i.getElement()) == null ? void 0 : b.parentElement) == null ? void 0 : y.clientHeight) || 0, c = (P, C) => {
10042
10042
  const x = [
10043
10043
  [{ x: 0, y: 0 }, { x: a, y: 0 }],
10044
10044
  [{ x: 0, y: 0 }, { x: 0, y: l }],
@@ -10046,12 +10046,12 @@ function pv(n, t, e) {
10046
10046
  [{ x: 0, y: l }, { x: a, y: l }]
10047
10047
  ], E = [];
10048
10048
  for (let B = 0; B < x.length; B++) {
10049
- const Q = Mu([I, C], [x[B][0], x[B][1]], !0);
10049
+ const Q = Mu([P, C], [x[B][0], x[B][1]], !0);
10050
10050
  Q && E.push(Q);
10051
10051
  }
10052
10052
  return E.length === 0 ? !1 : E;
10053
- }, d = (I, C) => {
10054
- const x = I.clone().project(i.camera), E = (x.x + 1) / 2 * a, B = (-x.y + 1) / 2 * l, Q = C.clone().project(i.camera), G = (Q.x + 1) / 2 * a, Y = (-Q.y + 1) / 2 * l, V = Math.sqrt(Math.pow(G - E, 2) + Math.pow(Y - B, 2));
10053
+ }, d = (P, C) => {
10054
+ const x = P.clone().project(i.camera), E = (x.x + 1) / 2 * a, B = (-x.y + 1) / 2 * l, Q = C.clone().project(i.camera), G = (Q.x + 1) / 2 * a, Y = (-Q.y + 1) / 2 * l, V = Math.sqrt(Math.pow(G - E, 2) + Math.pow(Y - B, 2));
10055
10055
  return {
10056
10056
  startLeft: E,
10057
10057
  startTop: B,
@@ -10059,13 +10059,13 @@ function pv(n, t, e) {
10059
10059
  endTop: Y,
10060
10060
  distance: V
10061
10061
  };
10062
- }, h = (I, C, x) => {
10063
- const E = i.camera.position, B = i.camera.getWorldDirection(new ne()), Q = I.clone().sub(E).normalize().angleTo(B), G = C.clone().sub(E).normalize().angleTo(B), Y = I.distanceTo(C), H = C.clone().sub(C.clone().sub(I).divide(new ne(2, 2, 2))).distanceTo(E), { startLeft: F, startTop: N, endLeft: W, endTop: Z, distance: X } = d(I, C), ce = -((Math.PI / 2 - Math.atan2(W - F, N - Z)) / Math.PI) * 180;
10062
+ }, h = (P, C, x) => {
10063
+ const E = i.camera.position, B = i.camera.getWorldDirection(new ne()), Q = P.clone().sub(E).normalize().angleTo(B), G = C.clone().sub(E).normalize().angleTo(B), Y = P.distanceTo(C), H = C.clone().sub(C.clone().sub(P).divide(new ne(2, 2, 2))).distanceTo(E), { startLeft: F, startTop: N, endLeft: W, endTop: Z, distance: X } = d(P, C), ce = -((Math.PI / 2 - Math.atan2(W - F, N - Z)) / Math.PI) * 180;
10064
10064
  let oe = !0;
10065
- x || (oe = !1), !ct(I, x) && !ct(C, x) && (oe = !1), Y < 0.3 && (oe = !1), Q > Math.PI / 2 && (oe = !1), G > Math.PI / 2 && (oe = !1), H / Y > 8 && (oe = !1);
10065
+ x || (oe = !1), !ct(P, x) && !ct(C, x) && (oe = !1), Y < 0.3 && (oe = !1), Q > Math.PI / 2 && (oe = !1), G > Math.PI / 2 && (oe = !1), H / Y > 8 && (oe = !1);
10066
10066
  let we = 50, Ie = X;
10067
10067
  const Ae = c({ x: ~~F, y: ~~N }, { x: ~~W, y: ~~Z });
10068
- if (Ae && Ae.length === 1 && (ct(I, x) ? (Ie = Math.sqrt(Math.pow(Ae[0].x - F, 2) + Math.pow(Ae[0].y - N, 2)), we = Ie / X * 50) : ct(C, x) && (Ie = Math.sqrt(Math.pow(Ae[0].x - W, 2) + Math.pow(Ae[0].y - Z, 2)), we = 100 - Ie / X * 50)), Ae && Ae.length === 2) {
10068
+ if (Ae && Ae.length === 1 && (ct(P, x) ? (Ie = Math.sqrt(Math.pow(Ae[0].x - F, 2) + Math.pow(Ae[0].y - N, 2)), we = Ie / X * 50) : ct(C, x) && (Ie = Math.sqrt(Math.pow(Ae[0].x - W, 2) + Math.pow(Ae[0].y - Z, 2)), we = 100 - Ie / X * 50)), Ae && Ae.length === 2) {
10069
10069
  const Oe = {
10070
10070
  x: (Ae[0].x + Ae[1].x) / 2,
10071
10071
  y: (Ae[0].y + Ae[1].y) / 2
@@ -10082,7 +10082,7 @@ function pv(n, t, e) {
10082
10082
  ruleLength: Y
10083
10083
  };
10084
10084
  }, f = () => {
10085
- const I = i.panoIndex, C = s.find((V) => V.panoIndex === I);
10085
+ const P = i.panoIndex, C = s.find((V) => V.panoIndex === P);
10086
10086
  if (!C)
10087
10087
  return e(0, r = []);
10088
10088
  if (i.currentMode !== $e.Mode.Panorama)
@@ -10114,8 +10114,8 @@ function pv(n, t, e) {
10114
10114
  f(), i.on("panoArrived", f), i.on("modeChange", f), i.on("cameraDirectionUpdate", m), i.on("movingToPano", m), i.on("mouseWheel", () => A()), i.on("pinchGesture", () => A());
10115
10115
  }), Ot(() => {
10116
10116
  i.off("panoArrived", f), i.off("modeChange", f), i.off("cameraDirectionUpdate", m), i.off("movingToPano", m), i.off("mouseWheel", () => A()), i.off("pinchGesture", () => A());
10117
- }), n.$$set = (I) => {
10118
- "five" in I && e(1, i = I.five), "rulerDatas" in I && e(2, s = I.rulerDatas), "options" in I && e(3, o = I.options);
10117
+ }), n.$$set = (P) => {
10118
+ "five" in P && e(1, i = P.five), "rulerDatas" in P && e(2, s = P.rulerDatas), "options" in P && e(3, o = P.options);
10119
10119
  }, [r, i, s, o];
10120
10120
  }
10121
10121
  class Av extends ae {
@@ -10205,12 +10205,12 @@ function yv() {
10205
10205
  }
10206
10206
  };
10207
10207
  }
10208
- const wv = new P.TextureLoader();
10208
+ const wv = new I.TextureLoader();
10209
10209
  function fi(n) {
10210
10210
  return _(this, null, function* () {
10211
10211
  return new Promise((t, e) => {
10212
10212
  wv.load(n, t, void 0, e);
10213
- }).then((t) => (t.encoding = P.sRGBEncoding, t));
10213
+ }).then((t) => (t.encoding = I.sRGBEncoding, t));
10214
10214
  });
10215
10215
  }
10216
10216
  const Ys = { userAction: !0 };
@@ -10232,7 +10232,7 @@ class Cv extends oi {
10232
10232
  }
10233
10233
  });
10234
10234
  u(this, "data");
10235
- u(this, "group", new P.Group());
10235
+ u(this, "group", new I.Group());
10236
10236
  u(this, "roomInfoInstance");
10237
10237
  u(this, "roomInfoWrapperInstance");
10238
10238
  u(this, "compassMeshTween");
@@ -10304,12 +10304,12 @@ class Cv extends oi {
10304
10304
  var m;
10305
10305
  (m = this.logoMesh) == null || m.material.setValues({ opacity: f }), this.five.needsRender = !0;
10306
10306
  }).play())), this.entryDoorMesh) {
10307
- const m = new P.Vector3(
10307
+ const m = new I.Vector3(
10308
10308
  this.data.entrance.position.x,
10309
10309
  this.data.entrance.position.y,
10310
10310
  this.data.entrance.position.z
10311
10311
  ).clone().setY(i.y).sub(i).normalize(), A = i.clone().add(m.clone().multiplyScalar(0.7)).setY(i.y + 0.01);
10312
- this.entryDoorMesh.rotation.z = new P.Vector3(0, 0, -1).angleTo(m), this.entryDoorMesh.position.copy(A), ((c = this.data) == null ? void 0 : c.room_observers[e].room.type) === 1 ? (d = this.entryDoorMesh) == null || d.material.setValues({ opacity: 1 }) : (h = this.entryDoorMesh) == null || h.material.setValues({ opacity: 0 });
10312
+ this.entryDoorMesh.rotation.z = new I.Vector3(0, 0, -1).angleTo(m), this.entryDoorMesh.position.copy(A), ((c = this.data) == null ? void 0 : c.room_observers[e].room.type) === 1 ? (d = this.entryDoorMesh) == null || d.material.setValues({ opacity: 1 }) : (h = this.entryDoorMesh) == null || h.material.setValues({ opacity: 0 });
10313
10313
  }
10314
10314
  this.roomInfoInstance && this.roomInfoWrapperInstance && (this.roomInfoWrapperInstance.css3DObject.position.copy(i.clone().setY(i.y + 0.01)), this.roomInfoInstance.setRoom(this.data.room_observers[e].room)), this.five.needsRender = !0;
10315
10315
  });
@@ -10423,12 +10423,12 @@ class Cv extends oi {
10423
10423
  }
10424
10424
  loadCompassMesh() {
10425
10425
  return _(this, null, function* () {
10426
- const e = this.state.config.compassImageUrl, i = yield fi(e), s = new P.CircleGeometry(0.7, 32), o = new P.MeshBasicMaterial({
10426
+ const e = this.state.config.compassImageUrl, i = yield fi(e), s = new I.CircleGeometry(0.7, 32), o = new I.MeshBasicMaterial({
10427
10427
  map: i,
10428
10428
  transparent: !0,
10429
10429
  opacity: 0,
10430
10430
  depthTest: !1
10431
- }), r = new P.Mesh(s, o);
10431
+ }), r = new I.Mesh(s, o);
10432
10432
  return r.name = "pano-compass-mesh", r;
10433
10433
  });
10434
10434
  }
@@ -10437,33 +10437,33 @@ class Cv extends oi {
10437
10437
  if (!this.state.config.logoURL)
10438
10438
  return;
10439
10439
  const e = this.state.config.logoURL, i = yield fi(e);
10440
- i.minFilter = P.NearestFilter, i.magFilter = P.NearestFilter;
10441
- const s = new P.PlaneBufferGeometry(0.4, 0.4), o = new P.MeshBasicMaterial({
10440
+ i.minFilter = I.NearestFilter, i.magFilter = I.NearestFilter;
10441
+ const s = new I.PlaneBufferGeometry(0.4, 0.4), o = new I.MeshBasicMaterial({
10442
10442
  map: i,
10443
10443
  opacity: 0,
10444
10444
  transparent: !0,
10445
10445
  depthTest: !1
10446
- }), r = new P.Mesh(s, o);
10446
+ }), r = new I.Mesh(s, o);
10447
10447
  return r.name = "pano-compass-logo-mesh", r;
10448
10448
  });
10449
10449
  }
10450
10450
  loadEntryDoorMesh() {
10451
10451
  return _(this, null, function* () {
10452
- const e = this.state.config.entryDoorImageUrl, i = yield fi(e), s = new P.PlaneGeometry(0.2, 0.16), o = new P.MeshBasicMaterial({
10452
+ const e = this.state.config.entryDoorImageUrl, i = yield fi(e), s = new I.PlaneGeometry(0.2, 0.16), o = new I.MeshBasicMaterial({
10453
10453
  map: i,
10454
10454
  transparent: !0,
10455
10455
  opacity: 0.8,
10456
10456
  depthTest: !1
10457
- }), r = new P.Mesh(s, o);
10457
+ }), r = new I.Mesh(s, o);
10458
10458
  return r.name = "pano-compass-entry-door", r;
10459
10459
  });
10460
10460
  }
10461
10461
  loadRoomInfo() {
10462
10462
  const e = [
10463
- new P.Vector3(-0.7, 0, -0.7),
10464
- new P.Vector3(0.7, 0, -0.7),
10465
- new P.Vector3(0.7, 0, 0.7),
10466
- new P.Vector3(-0.7, 0, 0.7)
10463
+ new I.Vector3(-0.7, 0, -0.7),
10464
+ new I.Vector3(0.7, 0, -0.7),
10465
+ new I.Vector3(0.7, 0, 0.7),
10466
+ new I.Vector3(-0.7, 0, 0.7)
10467
10467
  ];
10468
10468
  return Do(this.five).create3DDomContainer(e);
10469
10469
  }
@@ -10888,31 +10888,31 @@ function Vv(n) {
10888
10888
  if (t.length < 3)
10889
10889
  return;
10890
10890
  t.at(-1).equals(t[0]) || t.push(t[0]);
10891
- const e = t.flatMap((r) => [r.x, r.y, r.z]), i = new P.Float32BufferAttribute(e, 3), s = Jf(e, void 0, 3), o = new P.BufferGeometry();
10891
+ const e = t.flatMap((r) => [r.x, r.y, r.z]), i = new I.Float32BufferAttribute(e, 3), s = Jf(e, void 0, 3), o = new I.BufferGeometry();
10892
10892
  return o.setAttribute("position", i), o.setIndex(s), o.name = "PolygonGeometry", o;
10893
10893
  }
10894
- const Qv = new P.BufferGeometry();
10894
+ const Qv = new I.BufferGeometry();
10895
10895
  class Lu extends Tu {
10896
10896
  constructor(e) {
10897
10897
  super();
10898
10898
  u(this, "isPolygonMesh", !0);
10899
- u(this, "geometry", new P.BufferGeometry());
10899
+ u(this, "geometry", new I.BufferGeometry());
10900
10900
  u(this, "isBlank", !0);
10901
10901
  u(this, "points", []);
10902
- const i = new P.MeshBasicMaterial({
10902
+ const i = new I.MeshBasicMaterial({
10903
10903
  color: 4090367,
10904
10904
  transparent: !0,
10905
- side: P.DoubleSide,
10905
+ side: I.DoubleSide,
10906
10906
  depthTest: !0,
10907
10907
  opacity: 0.5
10908
- }), s = new P.MeshBasicMaterial({
10908
+ }), s = new I.MeshBasicMaterial({
10909
10909
  color: 16777215,
10910
10910
  transparent: !0,
10911
- side: P.DoubleSide,
10911
+ side: I.DoubleSide,
10912
10912
  depthTest: !1,
10913
10913
  depthWrite: !1,
10914
10914
  opacity: 0.3
10915
- }), o = new P.Mesh(this.geometry, i), r = new P.Mesh(this.geometry, s);
10915
+ }), o = new I.Mesh(this.geometry, i), r = new I.Mesh(this.geometry, s);
10916
10916
  o.renderOrder = 1, r.renderOrder = 0, e && this.updatePoints(e), this.add(o, r);
10917
10917
  }
10918
10918
  /**
@@ -11037,7 +11037,7 @@ class ca {
11037
11037
  const o = new Ai(new yt(e), new yt(i), this.polyline.model);
11038
11038
  this.polyline.addLine(o), this.meshContainer.add(o.mesh), this.five && (o.distanceItem.setCanSelect(!1), o.distanceItem.appendTo(this.domContainer), o.distanceItem.update(this.five));
11039
11039
  }
11040
- (s = this.meshContainer) != null && s.children.includes(this.polygon) || this.meshContainer.add(this.polygon), this.polygon.updatePoints(this.points), this.areaItem.updateArea(this.five), this.points.length === 3 ? this.planeHelper = new P.Plane().setFromCoplanarPoints(this.points[0], this.points[1], this.points[2]) : this.points.length < 3 && (this.planeHelper = null);
11040
+ (s = this.meshContainer) != null && s.children.includes(this.polygon) || this.meshContainer.add(this.polygon), this.polygon.updatePoints(this.points), this.areaItem.updateArea(this.five), this.points.length === 3 ? this.planeHelper = new I.Plane().setFromCoplanarPoints(this.points[0], this.points[1], this.points[2]) : this.points.length < 3 && (this.planeHelper = null);
11041
11041
  }
11042
11042
  /**
11043
11043
  * @description: 移除最后一个添加的点
@@ -11063,7 +11063,7 @@ class ca {
11063
11063
  * @description: 获取一个点投影在当前平面上的点
11064
11064
  */
11065
11065
  projectPoint(t) {
11066
- return t && (this.planeHelper ? this.planeHelper.projectPoint(t, new P.Vector3()) : t);
11066
+ return t && (this.planeHelper ? this.planeHelper.projectPoint(t, new I.Vector3()) : t);
11067
11067
  }
11068
11068
  remove() {
11069
11069
  this.polygon.removeFromParent(), this.areaItem.remove(), this.polyline.lines.forEach((t) => t.remove());
@@ -11518,7 +11518,7 @@ class ui extends zo {
11518
11518
  if (s != null && s.isPolygonMesh) {
11519
11519
  const b = this.model.areas.find((y) => y.polygon === s);
11520
11520
  if (b) {
11521
- const { x: y, y: I } = i[0].point.clone().project(this.five.camera), C = `${(y + 1) / 2 * 100}%`, x = `${(-I + 1) / 2 * 100}%`;
11521
+ const { x: y, y: P } = i[0].point.clone().project(this.five.camera), C = `${(y + 1) / 2 * 100}%`, x = `${(-P + 1) / 2 * 100}%`;
11522
11522
  return this.chooseArea(b, { left: C, top: x }), !1;
11523
11523
  }
11524
11524
  }
@@ -11526,7 +11526,7 @@ class ui extends zo {
11526
11526
  if (!o)
11527
11527
  return;
11528
11528
  const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, d = new et(a.x * l, a.y * c), h = this.model.getAllLines().map((b) => {
11529
- const [y, I] = b.points, C = y.position.clone().project(r), x = I.position.clone().project(r);
11529
+ const [y, P] = b.points, C = y.position.clone().project(r), x = P.position.clone().project(r);
11530
11530
  if (!Ri(C) && !Ri(x))
11531
11531
  return null;
11532
11532
  const E = new et(C.x * l, C.y * c), B = new et(x.x * l, x.y * c);
@@ -11753,18 +11753,18 @@ class pc extends zo {
11753
11753
  if (s instanceof Lu) {
11754
11754
  const g = this.model.areas.find((b) => b.polygon === s);
11755
11755
  if (g) {
11756
- const { x: b, y } = i[0].point.clone().project(this.five.camera), I = `${(b + 1) / 2 * 100}%`, C = `${(-y + 1) / 2 * 100}%`;
11757
- return this.chooseArea(g, { left: I, top: C }), !1;
11756
+ const { x: b, y } = i[0].point.clone().project(this.five.camera), P = `${(b + 1) / 2 * 100}%`, C = `${(-y + 1) / 2 * 100}%`;
11757
+ return this.chooseArea(g, { left: P, top: C }), !1;
11758
11758
  }
11759
11759
  }
11760
11760
  const [o] = this.five.model.intersectRaycaster(e);
11761
11761
  if (!o)
11762
11762
  return;
11763
11763
  const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, d = new et(a.x * l, a.y * c), h = this.model.getAllLines().map((g) => {
11764
- const [b, y] = g.points, I = b.position.clone().project(r), C = y.position.clone().project(r);
11765
- if (!Ri(I) && !Ri(C))
11764
+ const [b, y] = g.points, P = b.position.clone().project(r), C = y.position.clone().project(r);
11765
+ if (!Ri(P) && !Ri(C))
11766
11766
  return null;
11767
- const x = new et(I.x * l, I.y * c), E = new et(C.x * l, C.y * c);
11767
+ const x = new et(P.x * l, P.y * c), E = new et(C.x * l, C.y * c);
11768
11768
  return { id: g.id, points: [x, E] };
11769
11769
  }).filter((g) => !!g);
11770
11770
  if (h.length === 0)
@@ -11940,7 +11940,7 @@ class Ou {
11940
11940
  }
11941
11941
  function Kv() {
11942
11942
  }
11943
- const { Vector2: $v } = P;
11943
+ const { Vector2: $v } = I;
11944
11944
  function e0(n, t) {
11945
11945
  const { offsetWidth: e, offsetHeight: i } = t, { top: s, left: o } = t.getBoundingClientRect();
11946
11946
  return Object.assign(new $v(), {
@@ -12122,8 +12122,8 @@ class is extends zo {
12122
12122
  const [A, p] = m.points, g = A.position.clone().project(s), b = p.position.clone().project(s);
12123
12123
  if (!Ri(g) && !Ri(b))
12124
12124
  return null;
12125
- const y = new et(g.x * r, g.y * a), I = new et(b.x * r, b.y * a);
12126
- return { id: m.id, points: [y, I] };
12125
+ const y = new et(g.x * r, g.y * a), P = new et(b.x * r, b.y * a);
12126
+ return { id: m.id, points: [y, P] };
12127
12127
  }).filter((m) => !!m);
12128
12128
  if (c.length === 0)
12129
12129
  return;
@@ -13642,41 +13642,41 @@ function G0(n) {
13642
13642
  t = D("div"), A && A.c(), e = K(), i = D("div"), s = D("div"), o = K(), r = D("div"), p && p.c(), a = K(), l = D("div"), g && g.c(), c = K(), d = D("div"), ie(h.$$.fragment), f = K(), b && b.c(), w(s, "class", "mask svelte-ldjbp8"), w(d, "class", "main-button svelte-ldjbp8"), q(d, "forbid", !/*allowAddPoint*/
13643
13643
  n[5]), w(l, "class", "controller svelte-ldjbp8"), w(r, "class", "center svelte-ldjbp8"), w(i, "class", "bottom svelte-ldjbp8"), w(t, "class", "Measure-Controller svelte-ldjbp8");
13644
13644
  },
13645
- m(y, I) {
13646
- O(y, t, I), A && A.m(t, null), S(t, e), S(t, i), S(i, s), S(i, o), S(i, r), p && p.m(r, null), S(r, a), S(r, l), g && g.m(l, null), S(l, c), S(l, d), ee(h, d, null), S(l, f), b && b.m(l, null), m = !0;
13645
+ m(y, P) {
13646
+ O(y, t, P), A && A.m(t, null), S(t, e), S(t, i), S(i, s), S(i, o), S(i, r), p && p.m(r, null), S(r, a), S(r, l), g && g.m(l, null), S(l, c), S(l, d), ee(h, d, null), S(l, f), b && b.m(l, null), m = !0;
13647
13647
  },
13648
- p(y, [I]) {
13648
+ p(y, [P]) {
13649
13649
  /*showExit*/
13650
- y[1] ? A ? (A.p(y, I), I & /*showExit*/
13650
+ y[1] ? A ? (A.p(y, P), P & /*showExit*/
13651
13651
  2 && M(A, 1)) : (A = Dc(y), A.c(), M(A, 1), A.m(t, e)) : A && (de(), j(A, 1, 1, () => {
13652
13652
  A = null;
13653
13653
  }), he()), /*measureController*/
13654
13654
  y[0].allowMeasureType.length >= 2 && /*buttonState*/
13655
- y[3] === "start" ? p ? (p.p(y, I), I & /*measureController, buttonState*/
13655
+ y[3] === "start" ? p ? (p.p(y, P), P & /*measureController, buttonState*/
13656
13656
  9 && M(p, 1)) : (p = Sc(y), p.c(), M(p, 1), p.m(r, a)) : p && (de(), j(p, 1, 1, () => {
13657
13657
  p = null;
13658
13658
  }), he()), /*showButton*/
13659
- y[4] ? g ? (g.p(y, I), I & /*showButton*/
13659
+ y[4] ? g ? (g.p(y, P), P & /*showButton*/
13660
13660
  16 && M(g, 1)) : (g = Tc(y), g.c(), M(g, 1), g.m(l, c)) : g && (de(), j(g, 1, 1, () => {
13661
13661
  g = null;
13662
13662
  }), he());
13663
13663
  const C = {};
13664
- I & /*buttonState*/
13664
+ P & /*buttonState*/
13665
13665
  8 && (C.onClick = /*func*/
13666
- y[14]), I & /*buttonState*/
13666
+ y[14]), P & /*buttonState*/
13667
13667
  8 && (C.text = /*buttonTextMap*/
13668
13668
  y[6][
13669
13669
  /*buttonState*/
13670
13670
  y[3]
13671
- ]), I & /*buttonState*/
13671
+ ]), P & /*buttonState*/
13672
13672
  8 && (C.color = /*buttonColorMap*/
13673
13673
  y[7][
13674
13674
  /*buttonState*/
13675
13675
  y[3]
13676
- ]), h.$set(C), (!m || I & /*allowAddPoint*/
13676
+ ]), h.$set(C), (!m || P & /*allowAddPoint*/
13677
13677
  32) && q(d, "forbid", !/*allowAddPoint*/
13678
13678
  y[5]), /*showButton*/
13679
- y[4] ? b ? (b.p(y, I), I & /*showButton*/
13679
+ y[4] ? b ? (b.p(y, P), P & /*showButton*/
13680
13680
  16 && M(b, 1)) : (b = Lc(y), b.c(), M(b, 1), b.m(l, null)) : b && (de(), j(b, 1, 1, () => {
13681
13681
  b = null;
13682
13682
  }), he());
@@ -13721,7 +13721,7 @@ function N0(n, t, e) {
13721
13721
  p("complete");
13722
13722
  }, y = () => {
13723
13723
  i.currentMeasureType === "area" && d === "complete" && p("add");
13724
- }, I = (Y) => {
13724
+ }, P = (Y) => {
13725
13725
  Y.length;
13726
13726
  }, C = () => {
13727
13727
  p("start"), x("allow");
@@ -13733,9 +13733,9 @@ function N0(n, t, e) {
13733
13733
  Y.isEmpty && p("start");
13734
13734
  };
13735
13735
  wt(() => {
13736
- i.hook.on("revoke", B), i.hook.on("measureTypeChange", E), i.hook.on("modeChange", C), i.hook.on("pointsChange", I), i.hook.on("allowAddPointStateChange", x), i.hook.on("readyComplete", b), i.hook.on("notReadyComplete", y), i.hook.on("complete", C);
13736
+ i.hook.on("revoke", B), i.hook.on("measureTypeChange", E), i.hook.on("modeChange", C), i.hook.on("pointsChange", P), i.hook.on("allowAddPointStateChange", x), i.hook.on("readyComplete", b), i.hook.on("notReadyComplete", y), i.hook.on("complete", C);
13737
13737
  }), Ot(() => {
13738
- i.hook.off("measureTypeChange", E), i.hook.off("modeChange", C), i.hook.off("allowAddPointStateChange", x), i.hook.off("readyComplete", b), i.hook.off("pointsChange", I), i.hook.off("notReadyComplete", y), i.hook.off("complete", C);
13738
+ i.hook.off("measureTypeChange", E), i.hook.off("modeChange", C), i.hook.off("allowAddPointStateChange", x), i.hook.off("readyComplete", b), i.hook.off("pointsChange", P), i.hook.off("notReadyComplete", y), i.hook.off("complete", C);
13739
13739
  });
13740
13740
  const Q = () => i.revoke(), G = () => {
13741
13741
  d === "start" ? f() : d === "add" ? m() : (d === "end" || d === "complete") && g();
@@ -13961,9 +13961,9 @@ function Y0(n) {
13961
13961
  function U0(n, t, e) {
13962
13962
  let { measureController: i } = t, { i18n: s = (y) => y } = t, { tips: o } = t, { tipStyle: r = {} } = t, { visible: a = !0 } = t, l = null;
13963
13963
  const c = (y) => {
13964
- const I = i.currentMeasureType;
13964
+ const P = i.currentMeasureType;
13965
13965
  let C = "";
13966
- return C = o[y], C === void 0 && (C = o[I][y]), C;
13966
+ return C = o[y], C === void 0 && (C = o[P][y]), C;
13967
13967
  }, d = (y) => {
13968
13968
  e(2, f = s(c(y)));
13969
13969
  }, h = () => {
@@ -14318,7 +14318,7 @@ class Ck {
14318
14318
  u(this, "config");
14319
14319
  u(this, "offset", { x: 0, y: 0 });
14320
14320
  u(this, "context");
14321
- u(this, "renderCenter", new P.Vector3());
14321
+ u(this, "renderCenter", new I.Vector3());
14322
14322
  u(this, "hammer");
14323
14323
  u(this, "state", { enabled: !1 });
14324
14324
  u(this, "offsetRange");
@@ -14401,7 +14401,7 @@ class Ck {
14401
14401
  if (!this.containerDom)
14402
14402
  return;
14403
14403
  const { width: t, height: e } = this, [i, s, o] = (() => {
14404
- if (this.renderCenter instanceof P.Vector3) {
14404
+ if (this.renderCenter instanceof I.Vector3) {
14405
14405
  const r = this.renderCenter.clone().project(this.five.camera);
14406
14406
  return [
14407
14407
  (r.x + 1) / 2 * this.containerDom.clientWidth,
@@ -14416,8 +14416,8 @@ class Ck {
14416
14416
  render() {
14417
14417
  if (!this.five.renderer || !this.containerDom)
14418
14418
  return;
14419
- const { scale: t, context: e, width: i, height: s } = this, o = this.five.renderer.getSize(new P.Vector2()), [r, a] = (() => {
14420
- if (this.renderCenter instanceof P.Vector3) {
14419
+ const { scale: t, context: e, width: i, height: s } = this, o = this.five.renderer.getSize(new I.Vector2()), [r, a] = (() => {
14420
+ if (this.renderCenter instanceof I.Vector3) {
14421
14421
  const g = this.renderCenter.clone().project(this.five.camera);
14422
14422
  return [(g.x + 1) / 2 * o.x, (g.y + 1) / 2 * o.y];
14423
14423
  } else
@@ -14665,7 +14665,7 @@ function ab(n, t, e) {
14665
14665
  },
14666
14666
  100
14667
14667
  );
14668
- const I = (E) => {
14668
+ const P = (E) => {
14669
14669
  const B = Object.keys(f);
14670
14670
  let Q = E.target;
14671
14671
  for (; Q; ) {
@@ -14721,7 +14721,7 @@ function ab(n, t, e) {
14721
14721
  p,
14722
14722
  g,
14723
14723
  b,
14724
- I,
14724
+ P,
14725
14725
  d,
14726
14726
  h,
14727
14727
  f,
@@ -14920,12 +14920,12 @@ const Br = 1e-3, Nc = 0.01, mb = "https://vrlab-image4.ljcdn.com/release/web/Pan
14920
14920
  x(), ye && E();
14921
14921
  }, y = () => {
14922
14922
  p.forbidden && (p.forbidden = !1, E());
14923
- }, I = (me, ye) => {
14923
+ }, P = (me, ye) => {
14924
14924
  if (p.tags.length === 0)
14925
14925
  return;
14926
14926
  const Le = ye.longitude - n.state.longitude, ge = n.camera.clone();
14927
- ge.position.copy(ye.offset), ge.rotateOnWorldAxis(new P.Vector3(0, 1, 0), Le), ge.updateProjectionMatrix(), ge.updateMatrixWorld(!0);
14928
- const Ze = new P.Frustum(), ut = new P.Matrix4();
14927
+ ge.position.copy(ye.offset), ge.rotateOnWorldAxis(new I.Vector3(0, 1, 0), Le), ge.updateProjectionMatrix(), ge.updateMatrixWorld(!0);
14928
+ const Ze = new I.Frustum(), ut = new I.Matrix4();
14929
14929
  ut.multiplyMatrices(ge.projectionMatrix, ge.matrixWorldInverse), Ze.setFromProjectionMatrix(ut), p.tags.forEach((Me) => {
14930
14930
  const nt = ge.position.clone().setY(i).distanceTo(Me.position);
14931
14931
  if (nt < c || nt > d || !Ze.containsPoint(Me.position))
@@ -14955,7 +14955,7 @@ const Br = 1e-3, Nc = 0.01, mb = "https://vrlab-image4.ljcdn.com/release/web/Pan
14955
14955
  }, x = () => {
14956
14956
  if (p.forbidden || !p.enabled)
14957
14957
  return;
14958
- const me = n.camera, ye = me.getWorldDirection(new P.Vector3());
14958
+ const me = n.camera, ye = me.getWorldDirection(new I.Vector3());
14959
14959
  p.origins = p.tags.map((Le) => {
14960
14960
  const ge = Le.position.clone().project(me), Ze = Le.position.clone().sub(me.position).setY(0).angleTo(ye.setY(0)) < Math.PI / 2;
14961
14961
  return {
@@ -14973,7 +14973,7 @@ const Br = 1e-3, Nc = 0.01, mb = "https://vrlab-image4.ljcdn.com/release/web/Pan
14973
14973
  me.length && (p.tags = p.tags.concat(me), x());
14974
14974
  }, s));
14975
14975
  }, B = () => {
14976
- const { clientWidth: me, clientHeight: ye } = n.getElement(), Le = [], ge = n.camera, Ze = new P.Frustum(), ut = new P.Matrix4(), Me = ge.getWorldDirection(new P.Vector3());
14976
+ const { clientWidth: me, clientHeight: ye } = n.getElement(), Le = [], ge = n.camera, Ze = new I.Frustum(), ut = new I.Matrix4(), Me = ge.getWorldDirection(new I.Vector3());
14977
14977
  ut.multiplyMatrices(ge.projectionMatrix, ge.matrixWorldInverse), Ze.setFromProjectionMatrix(ut);
14978
14978
  const nt = p.tags.filter((Ee) => Ze.containsPoint(Ee.position) && !Ee.destroying).length, le = p.points.reduce((Ee, He) => {
14979
14979
  if (p.tags.find((Ge) => He.id === Ge.id && !Ge.destroying))
@@ -15026,19 +15026,19 @@ const Br = 1e-3, Nc = 0.01, mb = "https://vrlab-image4.ljcdn.com/release/web/Pan
15026
15026
  return Math.sqrt(Math.pow((Xt.x - Ge.x) / 2 * me, 2) + Math.pow((Xt.y - Ge.y) / 2 * ye, 2)) > a;
15027
15027
  }))
15028
15028
  continue;
15029
- const Ct = new P.Raycaster(
15029
+ const Ct = new I.Raycaster(
15030
15030
  ge.position.clone().setY(i),
15031
15031
  pt.position.clone().sub(ge.position.clone().setY(i)).normalize(),
15032
15032
  0,
15033
15033
  pt.distance + Nc
15034
15034
  ), [It] = p.intersectObjects ? Ct.intersectObjects(p.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(Ct) : Ct.intersectObjects(n.model.children, !0);
15035
15035
  if (It && pt.distance - It.distance < Nc) {
15036
- const { position: Be, normal: Ge, id: Xe, replacement: Dt } = pt, Gn = new P.Plane().setFromNormalAndCoplanarPoint(Ge, Be), Rt = Be.clone().sub(ge.position).cross(new P.Vector3(0, 1, 0)).setLength(Br), ri = [
15036
+ const { position: Be, normal: Ge, id: Xe, replacement: Dt } = pt, Gn = new I.Plane().setFromNormalAndCoplanarPoint(Ge, Be), Rt = Be.clone().sub(ge.position).cross(new I.Vector3(0, 1, 0)).setLength(Br), ri = [
15037
15037
  Be.clone(),
15038
15038
  Be.clone().add(Rt),
15039
- Be.clone().add(new P.Vector3(0, Br, 0)).add(Rt),
15040
- Be.clone().add(new P.Vector3(0, Br, 0))
15041
- ].map((Hi) => Gn.projectPoint(Hi, new P.Vector3())), { container: Ii, dispose: At } = h.create3DDomContainer(ri) || {}, Ni = new lb({
15039
+ Be.clone().add(new I.Vector3(0, Br, 0)).add(Rt),
15040
+ Be.clone().add(new I.Vector3(0, Br, 0))
15041
+ ].map((Hi) => Gn.projectPoint(Hi, new I.Vector3())), { container: Ii, dispose: At } = h.create3DDomContainer(ri) || {}, Ni = new lb({
15042
15042
  target: Ii,
15043
15043
  props: {
15044
15044
  id: Xe,
@@ -15067,8 +15067,8 @@ const Br = 1e-3, Nc = 0.01, mb = "https://vrlab-image4.ljcdn.com/release/web/Pan
15067
15067
  var Le, ge;
15068
15068
  return {
15069
15069
  id: ye.id,
15070
- position: new P.Vector3().fromArray(ye.position),
15071
- normal: new P.Vector3().fromArray(ye.normal),
15070
+ position: new I.Vector3().fromArray(ye.position),
15071
+ normal: new I.Vector3().fromArray(ye.normal),
15072
15072
  replacement: (Le = ye.replacement) != null ? Le : {},
15073
15073
  weight: (ge = ye.weight) != null ? ge : -1
15074
15074
  };
@@ -15100,11 +15100,11 @@ const Br = 1e-3, Nc = 0.01, mb = "https://vrlab-image4.ljcdn.com/release/web/Pan
15100
15100
  }, Z = () => {
15101
15101
  n.once("renderFrame", x);
15102
15102
  }, X = () => {
15103
- e || (e = n.getElement().parentElement), e && e.appendChild(f), p.forbidden = !1, i = n.model.bounding.getCenter(new P.Vector3()).y, E(), n.on("panoWillArrive", I), n.on("panoArrived", y), n.on("modeChange", C), n.on("cameraUpdate", b);
15103
+ e || (e = n.getElement().parentElement), e && e.appendChild(f), p.forbidden = !1, i = n.model.bounding.getCenter(new I.Vector3()).y, E(), n.on("panoWillArrive", P), n.on("panoArrived", y), n.on("modeChange", C), n.on("cameraUpdate", b);
15104
15104
  }, $ = () => {
15105
15105
  A = null, h.disposeAll(), g.$destroy(), p.tags.forEach((me) => {
15106
15106
  me.app.$destroy(), me = null;
15107
- }), p.origins = [], p.tags = [], n.off("modelLoaded", X), n.off("renderFrame", x), n.off("panoWillArrive", I), n.off("panoArrived", y), n.off("modeChange", C), n.off("cameraUpdate", b), n.off("dispose", $), window.removeEventListener("resize", Z, !1);
15107
+ }), p.origins = [], p.tags = [], n.off("modelLoaded", X), n.off("renderFrame", x), n.off("panoWillArrive", P), n.off("panoArrived", y), n.off("modeChange", C), n.off("cameraUpdate", b), n.off("dispose", $), window.removeEventListener("resize", Z, !1);
15108
15108
  };
15109
15109
  return window.addEventListener("resize", Z, !1), (_e = n == null ? void 0 : n.model) != null && _e.loaded ? X() : n.once("modelLoaded", X), n.on("dispose", $), {
15110
15110
  load: Q,
@@ -15380,7 +15380,7 @@ function wb(n) {
15380
15380
  }
15381
15381
  let _c = 26, Cb = 11;
15382
15382
  function Ib(n, t, e) {
15383
- const { Raycaster: i, Vector3: s } = P;
15383
+ const { Raycaster: i, Vector3: s } = I;
15384
15384
  let { five: o } = t, { modelOcclusionEnable: r } = t, { itemLabels: a } = t, { hooks: l } = t, { displayStrategyType: c } = t, d = null, h = null, f, m, A = [], p = !0;
15385
15385
  const g = (F, N) => {
15386
15386
  const W = new i(), Z = F.camera.position.clone(), X = new s().fromArray(N.modelPosition), $ = X.distanceTo(Z);
@@ -15390,7 +15390,7 @@ function Ib(n, t, e) {
15390
15390
  }, b = (F, N) => {
15391
15391
  const W = new s(N.modelPosition[0], N.modelPosition[1], N.modelPosition[2]), Z = F.project2d(W), X = Z == null ? void 0 : Z.x, $ = Z == null ? void 0 : Z.y;
15392
15392
  return [X, $];
15393
- }, y = (F) => `translate(${F[0]}px, ${F[1]}px)`, I = (F, N) => A.length === 0 ? !1 : !!A.find((Z) => F[0] >= Z[0] - N && F[0] <= Z[0] + N || F[1] >= Z[1] - _c && F[1] <= Z[1] + _c);
15393
+ }, y = (F) => `translate(${F[0]}px, ${F[1]}px)`, P = (F, N) => A.length === 0 ? !1 : !!A.find((Z) => F[0] >= Z[0] - N && F[0] <= Z[0] + N || F[1] >= Z[1] - _c && F[1] <= Z[1] + _c);
15394
15394
  function C(F, N) {
15395
15395
  switch (N) {
15396
15396
  case rn.SMALL:
@@ -15405,7 +15405,7 @@ function Ib(n, t, e) {
15405
15405
  }
15406
15406
  const x = (F, N) => {
15407
15407
  const W = N.map((X) => {
15408
- const $ = b(F, X), ce = X.name.length * Cb, oe = C(X.modelPosition[1], c), Ie = (r ? g(F, X) : !0) && !I([$[0], $[1] + oe], ce);
15408
+ const $ = b(F, X), ce = X.name.length * Cb, oe = C(X.modelPosition[1], c), Ie = (r ? g(F, X) : !0) && !P([$[0], $[1] + oe], ce);
15409
15409
  if (!Ie)
15410
15410
  return fe(R({}, X), { visible: Ie });
15411
15411
  A.push($);
@@ -15601,8 +15601,8 @@ const Mb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15601
15601
  if (!e.videoTexture)
15602
15602
  return;
15603
15603
  const y = () => {
15604
- var I;
15605
- e.videoTexture && ((I = e.videoTexture) == null || I.image.removeEventListener("timeupdate", y), e.videoTextureEnabled = !0, e.videoMeshes.forEach((C) => {
15604
+ var P;
15605
+ e.videoTexture && ((P = e.videoTexture) == null || P.image.removeEventListener("timeupdate", y), e.videoTextureEnabled = !0, e.videoMeshes.forEach((C) => {
15606
15606
  C.material.map !== e.videoTexture && (C.material.map = e.videoTexture);
15607
15607
  }), n.needsRender = !0);
15608
15608
  };
@@ -15623,7 +15623,7 @@ const Mb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15623
15623
  b.geometry.dispose(), b.material.dispose(), n.scene.remove(b), e.videoTexture && e.videoTexture.image.pause();
15624
15624
  }), e.videoMeshes = [], n.needsRender = !0);
15625
15625
  }, c = () => e.rectPoints.map((b, y) => {
15626
- const I = new P.BufferGeometry(), C = 128, x = [];
15626
+ const P = new I.BufferGeometry(), C = 128, x = [];
15627
15627
  x.push(...b[0].toArray());
15628
15628
  for (let H = 1; H < C; H++)
15629
15629
  x.push(
@@ -15650,11 +15650,11 @@ const Mb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15650
15650
  const B = [];
15651
15651
  for (let H = 0; H < C; H++)
15652
15652
  B.push(H, H + 1, C * 2 - H, H, C * 2 - H, C * 2 + 1 - H);
15653
- I.setAttribute("position", new P.BufferAttribute(new Float32Array(x), 3)), I.setAttribute("uv", new P.BufferAttribute(new Float32Array(E), 2)), I.setIndex(new P.BufferAttribute(new Uint32Array(B), 1));
15654
- const Q = new P.MeshBasicMaterial({
15653
+ P.setAttribute("position", new I.BufferAttribute(new Float32Array(x), 3)), P.setAttribute("uv", new I.BufferAttribute(new Float32Array(E), 2)), P.setIndex(new I.BufferAttribute(new Uint32Array(B), 1));
15654
+ const Q = new I.MeshBasicMaterial({
15655
15655
  map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
15656
- side: P.DoubleSide
15657
- }), G = new P.Mesh(I, Q);
15656
+ side: I.DoubleSide
15657
+ }), G = new I.Mesh(P, Q);
15658
15658
  G.renderOrder = 1, G.name = `ModelTVVideoPlugin-${y}-${performance.now()}`;
15659
15659
  const Y = [b[1], b[2], b[3], b[0]], V = i.create3DDomContainer(Y);
15660
15660
  if (V != null && V.container) {
@@ -15667,26 +15667,26 @@ const Mb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15667
15667
  }
15668
15668
  return G;
15669
15669
  }), d = (b) => {
15670
- const y = new P.TextureLoader().load(b);
15671
- return y.minFilter = P.LinearFilter, y.magFilter = P.LinearFilter, y.format = P.RGBFormat, y;
15670
+ const y = new I.TextureLoader().load(b);
15671
+ return y.minFilter = I.LinearFilter, y.magFilter = I.LinearFilter, y.format = I.RGBFormat, y;
15672
15672
  }, h = (b, y) => {
15673
- let I = y;
15673
+ let P = y;
15674
15674
  return new Promise((C, x) => {
15675
15675
  const E = new XMLHttpRequest();
15676
15676
  E.onreadystatechange = () => {
15677
15677
  if (E.readyState === 4)
15678
15678
  if (E.status === 200) {
15679
15679
  const B = window.URL || window.webkitURL;
15680
- I = I || document.createElement("video"), I.crossOrigin = "anonymous", I.muted = !0, I.loop = !0, I.playsInline = !0, I.src = B.createObjectURL(E.response);
15681
- const Q = new P.VideoTexture(I);
15682
- Q.minFilter = P.LinearFilter, Q.magFilter = P.LinearFilter, Q.format = P.RGBFormat, C(Object.assign(Q, { videoSource: b }));
15680
+ P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = B.createObjectURL(E.response);
15681
+ const Q = new I.VideoTexture(P);
15682
+ Q.minFilter = I.LinearFilter, Q.magFilter = I.LinearFilter, Q.format = I.RGBFormat, C(Object.assign(Q, { videoSource: b }));
15683
15683
  } else
15684
15684
  x(new Error("Video download Error: " + E.status));
15685
15685
  }, E.onerror = (B) => x(B), E.open("GET", b), E.responseType = "blob", E.send();
15686
15686
  });
15687
15687
  }, f = (b, y) => _(void 0, null, function* () {
15688
- const { video_src: I, video_poster_src: C, points: x } = b;
15689
- e.videoSource = I, e.rectPoints = kb(x).map((E) => E.map(({ x: B, y: Q, z: G }) => new P.Vector3(B, Q, G))), e.imageTexture = d(C), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!b.enable, e.enabled && a();
15688
+ const { video_src: P, video_poster_src: C, points: x } = b;
15689
+ e.videoSource = P, e.rectPoints = kb(x).map((E) => E.map(({ x: B, y: Q, z: G }) => new I.Vector3(B, Q, G))), e.imageTexture = d(C), y && (e.videoElement = y), e.videoTexture = yield h(e.videoSource, e.videoElement), e.enabled = !!b.enable, e.enabled && a();
15690
15690
  }), m = (b) => {
15691
15691
  if (!e.enabled)
15692
15692
  return;
@@ -15699,14 +15699,14 @@ const Mb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15699
15699
  if (!e.enabled)
15700
15700
  return;
15701
15701
  const b = n.camera.position;
15702
- if (s.forEach((y, I) => {
15703
- const C = y.css3DObject.position.clone(), x = C.clone().sub(b).normalize(), E = new P.Raycaster(b, x), B = n.model.intersectRaycaster(E)[0], Q = C.distanceTo(b), G = 0.01;
15702
+ if (s.forEach((y, P) => {
15703
+ const C = y.css3DObject.position.clone(), x = C.clone().sub(b).normalize(), E = new I.Raycaster(b, x), B = n.model.intersectRaycaster(E)[0], Q = C.distanceTo(b), G = 0.01;
15704
15704
  B && B.distance + G < Q ? y.hide() : y.show();
15705
15705
  }), !r()) {
15706
- const y = e.rectPoints.find((I) => {
15707
- const C = I[0].clone().add(I[1]).add(I[2]).add(I[3]).divideScalar(4);
15708
- return I.map((x) => x.clone().add(C).divideScalar(2)).filter((x) => {
15709
- const E = x.distanceTo(b), B = new P.Raycaster(b, x.clone().sub(b).normalize()), Q = n.model.intersectRaycaster(B)[0], G = 0.01;
15706
+ const y = e.rectPoints.find((P) => {
15707
+ const C = P[0].clone().add(P[1]).add(P[2]).add(P[3]).divideScalar(4);
15708
+ return P.map((x) => x.clone().add(C).divideScalar(2)).filter((x) => {
15709
+ const E = x.distanceTo(b), B = new I.Raycaster(b, x.clone().sub(b).normalize()), Q = n.model.intersectRaycaster(B)[0], G = 0.01;
15710
15710
  return !(Q && Q.distance + G < E);
15711
15711
  }).length >= 2;
15712
15712
  });
@@ -15932,7 +15932,7 @@ class zb extends ae {
15932
15932
  );
15933
15933
  }
15934
15934
  }
15935
- const { Raycaster: Ob, Vector3: Tk } = P, Yc = (n, t, e, i) => {
15935
+ const { Raycaster: Ob, Vector3: Tk } = I, Yc = (n, t, e, i) => {
15936
15936
  const s = t.clone().sub(e).normalize(), o = new Ob();
15937
15937
  o.set(e, s);
15938
15938
  const [r] = n.model.intersectRaycaster(o);
@@ -16115,7 +16115,7 @@ function Qb(n) {
16115
16115
  }
16116
16116
  let Gb = 11;
16117
16117
  function Nb(n, t, e) {
16118
- const { Vector3: i } = P;
16118
+ const { Vector3: i } = I;
16119
16119
  let { five: s } = t, { modelOcclusionEnable: o } = t, { itemLabels: r } = t, { hooks: a } = t, { displayStrategyType: l } = t, { maxVisibleDistance: c } = t, d = null, h = null, f = (s == null ? void 0 : s.currentMode) === $e.Mode.Panorama, m, A, p = [], g = !0;
16120
16120
  const b = (N, W) => {
16121
16121
  const Z = N.camera.position.clone(), X = new i(W.modelPosition[0], W.modelPosition[1], W.modelPosition[2]), $ = X.distanceTo(Z);
@@ -16123,14 +16123,14 @@ function Nb(n, t, e) {
16123
16123
  }, y = (N) => {
16124
16124
  const { camera: W, model: Z } = s, { x: X, y: $, z: ce } = N.clone().project(W), oe = (X + 1) / 2, we = (2 - ($ + 1)) / 2;
16125
16125
  return !!(Math.abs(ce) < 1 && [oe, we].every((ve) => ve < 1 && ve >= 0));
16126
- }, I = (N, W) => {
16126
+ }, P = (N, W) => {
16127
16127
  const Z = new i(W.modelPosition[0], W.modelPosition[1], W.modelPosition[2]), X = N.project2d(Z), $ = X == null ? void 0 : X.x, ce = X == null ? void 0 : X.y;
16128
16128
  return [$, ce];
16129
16129
  }, C = (N, W) => {
16130
16130
  const Z = W.map(($) => {
16131
16131
  if (N.state.panoIndex !== $.panoIndex)
16132
16132
  return fe(R({}, $), { visible: !1 });
16133
- const ce = I(N, $);
16133
+ const ce = P(N, $);
16134
16134
  $.name.length * Gb;
16135
16135
  const oe = Bb($.modelPosition[1], l), we = N.currentMode === $e.Mode.Panorama ? y(new i($.position[0], $.position[1], $.position[2])) : !0, Ie = o ? b(N, $) : !1, Ae = we && !Ie;
16136
16136
  if (!Ae)
@@ -16571,7 +16571,7 @@ class t1 extends Wb {
16571
16571
  }), this.fixDoorPosition();
16572
16572
  });
16573
16573
  u(this, "fixDoorPosition", () => {
16574
- var d, h, f, m, A, p, g, b, y, I, C, x;
16574
+ var d, h, f, m, A, p, g, b, y, P, C, x;
16575
16575
  const { panoIndex: e, camera: i } = this.five;
16576
16576
  if (e === null)
16577
16577
  return;
@@ -16600,7 +16600,7 @@ class t1 extends Wb {
16600
16600
  left: o * H / 100,
16601
16601
  top: r * F / 100,
16602
16602
  width: (y = (b = (g = W.children) == null ? void 0 : g[0]) == null ? void 0 : b.clientWidth) != null ? y : 0,
16603
- height: (x = (C = (I = W.children) == null ? void 0 : I[0]) == null ? void 0 : C.clientHeight) != null ? x : 0
16603
+ height: (x = (C = (P = W.children) == null ? void 0 : P[0]) == null ? void 0 : C.clientHeight) != null ? x : 0
16604
16604
  };
16605
16605
  Zb(Z, X) && (E++, c[Q].transform = `translate(-50%, ${(E - 1) * 100 - 50}%)`, c[V].transform = `translate(-50%, ${E * 100 - 50}%)`);
16606
16606
  }
@@ -16770,8 +16770,8 @@ const A1 = 2, v1 = 3, b1 = 3, y1 = 2;
16770
16770
  function w1(n) {
16771
16771
  const t = n.width, i = n.unitLength / t, s = t / 2, o = n.path;
16772
16772
  if (o.length === 0)
16773
- return { geometry: new P.BufferGeometry(), maxU: 0, curvePath: null, curvePoints: null };
16774
- const r = new P.CurvePath();
16773
+ return { geometry: new I.BufferGeometry(), maxU: 0, curvePath: null, curvePoints: null };
16774
+ const r = new I.CurvePath();
16775
16775
  o.forEach((E) => {
16776
16776
  const B = C1(E);
16777
16777
  B && r.add(B);
@@ -16779,27 +16779,27 @@ function w1(n) {
16779
16779
  const a = Math.ceil(r.getLength() * 100);
16780
16780
  r.arcLengthDivisions = a;
16781
16781
  const l = r.getPoints(a), c = l.length, d = p1(l.map((E) => [E.x, E.z])), f = (c - 1) * A1 * v1, m = 2 * c, A = m * b1, p = m * y1, g = new Uint32Array(f), b = new Float32Array(A), y = new Float32Array(p);
16782
- let I = 0, C = 0;
16782
+ let P = 0, C = 0;
16783
16783
  for (let E = 0; E < l.length; E++) {
16784
16784
  const [B, Q] = d[E][0], G = l[E], { x: Y, y: V, z: H } = G, F = new ne(Y + B * s, V + 0.05, H + Q * s);
16785
16785
  b[E * 6 + 0] = F.x, b[E * 6 + 1] = F.y, b[E * 6 + 2] = F.z;
16786
16786
  const N = new ne(Y - B * s, V + 0.05, H - Q * s);
16787
- b[E * 6 + 3] = N.x, b[E * 6 + 4] = N.y, b[E * 6 + 5] = N.z, I += E > 0 ? l[E - 1].clone().sub(l[E]).length() : 0;
16788
- const W = I / t / i;
16787
+ b[E * 6 + 3] = N.x, b[E * 6 + 4] = N.y, b[E * 6 + 5] = N.z, P += E > 0 ? l[E - 1].clone().sub(l[E]).length() : 0;
16788
+ const W = P / t / i;
16789
16789
  if (C = W, y[E * 4 + 0] = 0, y[E * 4 + 1] = W, y[E * 4 + 2] = 1, y[E * 4 + 3] = W, n.skipPositions) {
16790
- const Z = new P.Vector3().lerpVectors(F, N, 0.5);
16790
+ const Z = new I.Vector3().lerpVectors(F, N, 0.5);
16791
16791
  if (n.skipPositions.some(($) => $.distanceTo(Z) < 0.26))
16792
16792
  continue;
16793
16793
  }
16794
16794
  E !== l.length - 1 && (g[E * 6 + 0] = E * 2 + 0, g[E * 6 + 1] = E * 2 + 2, g[E * 6 + 2] = E * 2 + 1, g[E * 6 + 3] = E * 2 + 2, g[E * 6 + 4] = E * 2 + 3, g[E * 6 + 5] = E * 2 + 1);
16795
16795
  }
16796
- const x = new P.BufferGeometry();
16797
- return x.setAttribute("position", new P.BufferAttribute(b, 3)), x.setAttribute("uv", new P.BufferAttribute(y, 2)), x.setIndex(new P.BufferAttribute(g, 1)), { geometry: x, maxU: C, curvePath: r, curvePoints: l };
16796
+ const x = new I.BufferGeometry();
16797
+ return x.setAttribute("position", new I.BufferAttribute(b, 3)), x.setAttribute("uv", new I.BufferAttribute(y, 2)), x.setIndex(new I.BufferAttribute(g, 1)), { geometry: x, maxU: C, curvePath: r, curvePoints: l };
16798
16798
  }
16799
16799
  function C1(n) {
16800
16800
  if (I1(n)) {
16801
- const t = [n.closed, n.curve_type, n.tension], e = n.points.map((s) => new P.Vector3().fromArray(s));
16802
- return new P.CatmullRomCurve3(e, ...t);
16801
+ const t = [n.closed, n.curve_type, n.tension], e = n.points.map((s) => new I.Vector3().fromArray(s));
16802
+ return new I.CatmullRomCurve3(e, ...t);
16803
16803
  }
16804
16804
  }
16805
16805
  function I1(n) {
@@ -16807,23 +16807,23 @@ function I1(n) {
16807
16807
  }
16808
16808
  function P1(n, t) {
16809
16809
  t.forEach((e) => {
16810
- const i = new P.SphereGeometry(0.02, 16, 16), s = [], o = [
16811
- new P.MeshBasicMaterial({ color: 16776960 }),
16810
+ const i = new I.SphereGeometry(0.02, 16, 16), s = [], o = [
16811
+ new I.MeshBasicMaterial({ color: 16776960 }),
16812
16812
  // 黄
16813
- new P.MeshBasicMaterial({ color: 16711935 }),
16813
+ new I.MeshBasicMaterial({ color: 16711935 }),
16814
16814
  // 粉
16815
- new P.MeshBasicMaterial({ color: 16711680 }),
16815
+ new I.MeshBasicMaterial({ color: 16711680 }),
16816
16816
  // 红
16817
- new P.MeshBasicMaterial({ color: 65535 })
16817
+ new I.MeshBasicMaterial({ color: 65535 })
16818
16818
  // 蓝
16819
16819
  ];
16820
16820
  if (e.position.length === 4)
16821
16821
  e.position.forEach((r, a) => {
16822
- const l = o[a], c = new P.Mesh(i, l);
16822
+ const l = o[a], c = new I.Mesh(i, l);
16823
16823
  c.position.copy(Mt(r)), s.push(c);
16824
16824
  });
16825
16825
  else {
16826
- const r = o[0], a = new P.Mesh(i, r);
16826
+ const r = o[0], a = new I.Mesh(i, r);
16827
16827
  a.position.copy(Mt(e.position)), s.push(a);
16828
16828
  }
16829
16829
  s.forEach((r) => {
@@ -16881,7 +16881,7 @@ function ss(n, t) {
16881
16881
  return !(typeof i == "number" && i < n || typeof e == "number" && e > n);
16882
16882
  }
16883
16883
  function T1(n, t, e) {
16884
- const s = new P.Plane().setFromNormalAndCoplanarPoint(e, t), o = t.clone().sub(n).cross(new P.Vector3(0, 1, 0)).setLength(0.01), r = new P.Vector3(0, 0.01, 0);
16884
+ const s = new I.Plane().setFromNormalAndCoplanarPoint(e, t), o = t.clone().sub(n).cross(new I.Vector3(0, 1, 0)).setLength(0.01), r = new I.Vector3(0, 0.01, 0);
16885
16885
  return [
16886
16886
  t.clone().sub(o).sub(r),
16887
16887
  // 左下
@@ -16891,7 +16891,7 @@ function T1(n, t, e) {
16891
16891
  // 右上
16892
16892
  t.clone().sub(o).add(r)
16893
16893
  // 左上
16894
- ].map((l) => s.projectPoint(l, new P.Vector3()));
16894
+ ].map((l) => s.projectPoint(l, new I.Vector3()));
16895
16895
  }
16896
16896
  const L1 = (n, t = 1e3 / 60) => {
16897
16897
  let e = null;
@@ -17137,7 +17137,7 @@ function U1(n) {
17137
17137
  const [t, e, i, s] = n, o = t.distanceTo(e), r = e.distanceTo(i), a = i.distanceTo(s), l = s.distanceTo(t), c = t.distanceTo(i), d = e.distanceTo(s);
17138
17138
  return o === a && r === l && c === d;
17139
17139
  }
17140
- class Qr extends P.Mesh {
17140
+ class Qr extends I.Mesh {
17141
17141
  /**
17142
17142
  * @description 生成一个四边形的Mesh
17143
17143
  * @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
@@ -17155,7 +17155,7 @@ class Qr extends P.Mesh {
17155
17155
  return e !== null && e.remove(this), this;
17156
17156
  }
17157
17157
  }
17158
- class Ju extends P.BufferGeometry {
17158
+ class Ju extends I.BufferGeometry {
17159
17159
  /**
17160
17160
  * @description 生成一个四边形的BufferGeometry,原点取 points[0],即左下角
17161
17161
  * @param {Vector3Position[]} points: 四个顶点的坐标, [左下,右下,右上,左上]
@@ -17170,7 +17170,7 @@ class Ju extends P.BufferGeometry {
17170
17170
  console.error("Invalid number of points, it's not a quadrangle");
17171
17171
  return;
17172
17172
  }
17173
- const [o, r, a, l] = e, [c, d, h, f] = [new P.Vector2(0, 0), new P.Vector2(1, 0), new P.Vector2(1, 1), new P.Vector2(0, 1)], m = [], A = [];
17173
+ const [o, r, a, l] = e, [c, d, h, f] = [new I.Vector2(0, 0), new I.Vector2(1, 0), new I.Vector2(1, 1), new I.Vector2(0, 1)], m = [], A = [];
17174
17174
  m.push(...o.toArray()), A.push(...c.toArray());
17175
17175
  for (let g = 1; g < s; g++)
17176
17176
  m.push(
@@ -17189,15 +17189,15 @@ class Ju extends P.BufferGeometry {
17189
17189
  const p = [];
17190
17190
  for (let g = 0; g < s; g++)
17191
17191
  p.push(g, g + 1, s * 2 - g, g, s * 2 - g, s * 2 + 1 - g);
17192
- this.setAttribute("position", new P.BufferAttribute(new Float32Array(m), 3)), this.setAttribute("uv", new P.BufferAttribute(new Float32Array(A), 2)), this.setIndex(new P.BufferAttribute(new Uint32Array(p), 1));
17192
+ this.setAttribute("position", new I.BufferAttribute(new Float32Array(m), 3)), this.setAttribute("uv", new I.BufferAttribute(new Float32Array(A), 2)), this.setIndex(new I.BufferAttribute(new Uint32Array(p), 1));
17193
17193
  }
17194
17194
  }
17195
17195
  function X1(n, t) {
17196
17196
  let e = !ao;
17197
17197
  const i = t != null ? t : document.createElement("video");
17198
17198
  i.preload = "metadata", i.crossOrigin = "anonymous", i.muted = !0, i.loop = !0, i.playsInline = !0, i.autoplay = !0;
17199
- const s = new P.VideoTexture(i);
17200
- s.minFilter = P.LinearFilter, s.magFilter = P.LinearFilter, s.encoding = P.sRGBEncoding, s.metadataLoaded = !1, i.src = n;
17199
+ const s = new I.VideoTexture(i);
17200
+ s.minFilter = I.LinearFilter, s.magFilter = I.LinearFilter, s.encoding = I.sRGBEncoding, s.metadataLoaded = !1, i.src = n;
17201
17201
  const o = () => {
17202
17202
  s.metadataLoaded || (s.dispatchEvent({ type: "videoLoaded" }), s.metadataLoaded = !0);
17203
17203
  };
@@ -17227,25 +17227,25 @@ function cs(n, t, e) {
17227
17227
  if (n === "contain") {
17228
17228
  const [i, s, o, r] = t, a = i.distanceTo(s), l = o.distanceTo(r), c = i.distanceTo(r), d = s.distanceTo(o), h = a, f = c, m = h / f;
17229
17229
  if (m > e) {
17230
- const p = f * e, g = new P.Vector3().subVectors(s, i).multiplyScalar((a - p) / 2 / a), b = new P.Vector3().subVectors(o, r).multiplyScalar((l - p) / 2 / l);
17230
+ const p = f * e, g = new I.Vector3().subVectors(s, i).multiplyScalar((a - p) / 2 / a), b = new I.Vector3().subVectors(o, r).multiplyScalar((l - p) / 2 / l);
17231
17231
  return [i.clone().add(g), s.clone().sub(g), o.clone().sub(b), r.clone().add(b)];
17232
17232
  } else if (m < e) {
17233
- const p = h / e, g = new P.Vector3().subVectors(r, i).multiplyScalar((c - p) / 2 / c), b = new P.Vector3().subVectors(o, s).multiplyScalar((d - p) / 2 / d);
17233
+ const p = h / e, g = new I.Vector3().subVectors(r, i).multiplyScalar((c - p) / 2 / c), b = new I.Vector3().subVectors(o, s).multiplyScalar((d - p) / 2 / d);
17234
17234
  return [i.clone().add(g), s.clone().add(b), o.clone().sub(b), r.clone().sub(g)];
17235
17235
  } else
17236
17236
  return t;
17237
17237
  } else
17238
17238
  return console.warn(`objectFit: ${n} is not supported yet`), t;
17239
17239
  }
17240
- class J1 extends P.ShaderMaterial {
17240
+ class J1 extends I.ShaderMaterial {
17241
17241
  constructor(e) {
17242
17242
  super();
17243
17243
  u(this, "transparent", !1);
17244
- u(this, "blending", P.CustomBlending);
17245
- u(this, "blendSrc", P.SrcAlphaFactor);
17246
- u(this, "blendDst", P.OneMinusSrcAlphaFactor);
17247
- u(this, "blendSrcAlpha", P.OneFactor);
17248
- u(this, "blendDstAlpha", P.OneMinusSrcAlphaFactor);
17244
+ u(this, "blending", I.CustomBlending);
17245
+ u(this, "blendSrc", I.SrcAlphaFactor);
17246
+ u(this, "blendDst", I.OneMinusSrcAlphaFactor);
17247
+ u(this, "blendSrcAlpha", I.OneFactor);
17248
+ u(this, "blendDstAlpha", I.OneMinusSrcAlphaFactor);
17249
17249
  u(
17250
17250
  this,
17251
17251
  "vertexShader",
@@ -17282,7 +17282,7 @@ function Zu(n, t) {
17282
17282
  const [e, i, s] = n, o = e.clone().sub(i), r = e.clone().sub(s), a = o.cross(r).normalize();
17283
17283
  return typeof t == "number" ? a.multiplyScalar(t) : a;
17284
17284
  }
17285
- let qu = class extends P.Mesh {
17285
+ let qu = class extends I.Mesh {
17286
17286
  constructor() {
17287
17287
  super(...arguments);
17288
17288
  u(this, "name", "MediaPlane");
@@ -17318,8 +17318,8 @@ class ed extends qu {
17318
17318
  fi(e).then((l) => {
17319
17319
  var p;
17320
17320
  const c = new URL(e, location.href).pathname.toLowerCase().endsWith(".png");
17321
- c && (l.minFilter = P.NearestFilter, l.magFilter = P.NearestFilter);
17322
- const d = new P.MeshBasicMaterial({ map: l, transparent: c }), h = cs(
17321
+ c && (l.minFilter = I.NearestFilter, l.magFilter = I.NearestFilter);
17322
+ const d = new I.MeshBasicMaterial({ map: l, transparent: c }), h = cs(
17323
17323
  (p = s == null ? void 0 : s.objectFit) != null ? p : "contain",
17324
17324
  r,
17325
17325
  l.image.width / l.image.height
@@ -17408,7 +17408,7 @@ class pa extends qu {
17408
17408
  const i = yield this.getImageTexture(this.videoCoverSrc);
17409
17409
  if (!i)
17410
17410
  return;
17411
- const s = new P.MeshBasicMaterial({ transparent: !1, map: i }), o = cs(this.objectFit, this.cornerPoints, i.image.width / i.image.height), r = new Qr(o, s);
17411
+ const s = new I.MeshBasicMaterial({ transparent: !1, map: i }), o = cs(this.objectFit, this.cornerPoints, i.image.width / i.image.height), r = new Qr(o, s);
17412
17412
  return r.position.copy(new ne(0, 0, 0)), r.name = "videoCoverMesh", r;
17413
17413
  }))();
17414
17414
  return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
@@ -17423,7 +17423,7 @@ class pa extends qu {
17423
17423
  return this.videoMesh;
17424
17424
  if (!this.src)
17425
17425
  return;
17426
- const s = this.getVideoTexture(this.src), o = new P.MeshBasicMaterial({ transparent: !1, map: s }), r = yield new Promise((l) => {
17426
+ const s = this.getVideoTexture(this.src), o = new I.MeshBasicMaterial({ transparent: !1, map: s }), r = yield new Promise((l) => {
17427
17427
  s.metadataLoaded ? l(cs(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight)) : s.addEventListener(
17428
17428
  "videoLoaded",
17429
17429
  () => l(cs(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight))
@@ -17481,7 +17481,7 @@ class pa extends qu {
17481
17481
  }
17482
17482
  function Z1(n, t) {
17483
17483
  const { top: e, left: i, width: s, height: o } = t.getBoundingClientRect();
17484
- return new P.Vector2((n.x - i) / s * 2 - 1, -(n.y - e) / o * 2 + 1);
17484
+ return new I.Vector2((n.x - i) / s * 2 - 1, -(n.y - e) / o * 2 + 1);
17485
17485
  }
17486
17486
  class q1 {
17487
17487
  constructor(t) {
@@ -17614,7 +17614,7 @@ class q1 {
17614
17614
  const e = this.five.getElement();
17615
17615
  if (!e)
17616
17616
  return;
17617
- const i = Z1(t, e), s = new P.Raycaster();
17617
+ const i = Z1(t, e), s = new I.Raycaster();
17618
17618
  return s.setFromCamera(i, this.five.camera), s;
17619
17619
  }
17620
17620
  }
@@ -17765,7 +17765,7 @@ class K1 extends _1 {
17765
17765
  const d = fs(e);
17766
17766
  if (!d)
17767
17767
  return;
17768
- const h = new P.Vector3().copy(l).sub(d), f = c.angleTo(h) * 180 / Math.PI;
17768
+ const h = new I.Vector3().copy(l).sub(d), f = c.angleTo(h) * 180 / Math.PI;
17769
17769
  return o.angle = f, o.angle;
17770
17770
  }
17771
17771
  }
@@ -17861,34 +17861,34 @@ class K1 extends _1 {
17861
17861
  if (s && ((g = e.config) != null && g._isMerged))
17862
17862
  return e.config;
17863
17863
  const o = {}, r = {}, a = {};
17864
- this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([y, I]) => {
17864
+ this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([y, P]) => {
17865
17865
  var Y, V;
17866
17866
  const C = y, x = C.split("-"), E = y.startsWith("["), B = E ? x[0].slice(1, -1) : void 0, Q = E ? x.slice(1) : x, G = B ? ["PanoramaLike", "ModelLike"].includes(B) ? (Y = r[B]) != null ? Y : r[B] = {} : (V = a[B]) != null ? V : a[B] = {} : o;
17867
17867
  if (!G[C]) {
17868
- if (Q.length === 0 && (G[C] = I), Q.length === 1) {
17868
+ if (Q.length === 0 && (G[C] = P), Q.length === 1) {
17869
17869
  const [H] = Q;
17870
- (e.contentType === H || H === "Any") && (G[C] = I);
17870
+ (e.contentType === H || H === "Any") && (G[C] = P);
17871
17871
  }
17872
17872
  if (Q.length === 2) {
17873
17873
  const [H = "Any", F = "Any"] = Q;
17874
- H === "Mixin" && e.contentType === F && (G[C] = I), (e.stickType === H || H === "Any") && (e.contentType === F || F === "Any") && (G[C] = I);
17874
+ H === "Mixin" && e.contentType === F && (G[C] = P), (e.stickType === H || H === "Any") && (e.contentType === F || F === "Any") && (G[C] = P);
17875
17875
  }
17876
17876
  if (Q.length === 3) {
17877
17877
  const [H = "Any", F, N] = Q;
17878
17878
  if (F === "Audio" && e.contentType === "Audio") {
17879
17879
  const W = e;
17880
- (W.stickType === H || H === "Any") && W.data.appearance === N && (G[C] = I);
17880
+ (W.stickType === H || H === "Any") && W.data.appearance === N && (G[C] = P);
17881
17881
  }
17882
17882
  }
17883
17883
  }
17884
17884
  });
17885
17885
  const l = (b = e.config) != null && b._isMerged ? e.initialConfig : e.config, c = Re({}, Q1, this.config.globalConfig, ...Object.values(o)), d = Re({}, c, l), h = {}, f = Object.values($e.Mode);
17886
- id(r).forEach(([y, I]) => {
17886
+ id(r).forEach(([y, P]) => {
17887
17887
  f.forEach((C) => {
17888
- (y === "PanoramaLike" && Et(C) || y === "ModelLike" && pn(C)) && (h[C] = Re({}, c, ...Object.values(I), l));
17888
+ (y === "PanoramaLike" && Et(C) || y === "ModelLike" && pn(C)) && (h[C] = Re({}, c, ...Object.values(P), l));
17889
17889
  });
17890
- }), id(a).forEach(([y, I]) => {
17891
- h[y] = Re({}, c, ...Object.values(I), l);
17890
+ }), id(a).forEach(([y, P]) => {
17891
+ h[y] = Re({}, c, ...Object.values(P), l);
17892
17892
  });
17893
17893
  const m = fe(R({}, d), { configWithFiveMode: h });
17894
17894
  return td(m, e), Object.values(h).forEach((y) => td(y, e)), m._isMerged = !0, m;
@@ -17909,7 +17909,7 @@ function $1(n, t) {
17909
17909
  return s;
17910
17910
  return 0;
17911
17911
  }
17912
- const Gr = new P.Raycaster();
17912
+ const Gr = new I.Raycaster();
17913
17913
  class ey extends K1 {
17914
17914
  constructor(t) {
17915
17915
  super(t);
@@ -18137,9 +18137,9 @@ class ey extends K1 {
18137
18137
  );
18138
18138
  let a = 0, l = 0;
18139
18139
  for (const p of r) {
18140
- const g = new P.Vector3().subVectors(p, o).normalize();
18140
+ const g = new I.Vector3().subVectors(p, o).normalize();
18141
18141
  Gr.set(o, g);
18142
- const b = o.distanceTo(p), [y] = this.five.model.intersectRaycaster(Gr), I = (() => {
18142
+ const b = o.distanceTo(p), [y] = this.five.model.intersectRaycaster(Gr), P = (() => {
18143
18143
  if (!Ht(t))
18144
18144
  return;
18145
18145
  const Q = this.tags.filter(Ht).map((Y) => {
@@ -18148,7 +18148,7 @@ class ey extends K1 {
18148
18148
  }).filter(si), [G] = Gr.intersectObjects(Q, !0);
18149
18149
  return G;
18150
18150
  })(), C = (h = i.distanceAccuracy) != null ? h : 0.01;
18151
- Math.min((f = y == null ? void 0 : y.distance) != null ? f : 1 / 0, (m = I == null ? void 0 : I.distance) != null ? m : 1 / 0) + C >= b ? a++ : l++;
18151
+ Math.min((f = y == null ? void 0 : y.distance) != null ? f : 1 / 0, (m = P == null ? void 0 : P.distance) != null ? m : 1 / 0) + C >= b ? a++ : l++;
18152
18152
  const B = (A = i.needPassed) != null ? A : 1;
18153
18153
  if (a >= B)
18154
18154
  return { value: !0 };
@@ -18793,7 +18793,7 @@ function fy(n, t, e) {
18793
18793
  }
18794
18794
  clearTimeout(m), m = setTimeout(b, E ? s : o);
18795
18795
  }
18796
- function I(E) {
18796
+ function P(E) {
18797
18797
  const B = function() {
18798
18798
  const Q = z1((G) => E[G].getBoundingClientRect().x, [Math.min(E.length - 1, 10), Math.min(E.length - 1, 30)]);
18799
18799
  if (Q > 0)
@@ -18828,7 +18828,7 @@ function fy(n, t, e) {
18828
18828
  n.$$.dirty & /*content*/
18829
18829
  1 && e(2, i = g(r)), n.$$.dirty & /*unfolded*/
18830
18830
  256 && y(a), n.$$.dirty & /*spanEleList*/
18831
- 2 && I(p.filter((E) => !!E));
18831
+ 2 && P(p.filter((E) => !!E));
18832
18832
  }, [
18833
18833
  r,
18834
18834
  p,
@@ -20912,8 +20912,8 @@ var $s = TC, Po = {}, LC = {
20912
20912
  }
20913
20913
  };
20914
20914
  (function(n, t) {
20915
- var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", f = "[object Map]", m = "[object Number]", A = "[object Object]", p = "[object Promise]", g = "[object RegExp]", b = "[object Set]", y = "[object String]", I = "[object Symbol]", C = "[object WeakMap]", x = "[object ArrayBuffer]", E = "[object DataView]", B = "[object Float32Array]", Q = "[object Float64Array]", G = "[object Int8Array]", Y = "[object Int16Array]", V = "[object Int32Array]", H = "[object Uint8Array]", F = "[object Uint8ClampedArray]", N = "[object Uint16Array]", W = "[object Uint32Array]", Z = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, $ = /^\[object .+?Constructor\]$/, ce = /^(?:0|[1-9]\d*)$/, oe = {};
20916
- oe[o] = oe[r] = oe[x] = oe[E] = oe[a] = oe[l] = oe[B] = oe[Q] = oe[G] = oe[Y] = oe[V] = oe[f] = oe[m] = oe[A] = oe[g] = oe[b] = oe[y] = oe[I] = oe[H] = oe[F] = oe[N] = oe[W] = !0, oe[c] = oe[d] = oe[C] = !1;
20915
+ var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", f = "[object Map]", m = "[object Number]", A = "[object Object]", p = "[object Promise]", g = "[object RegExp]", b = "[object Set]", y = "[object String]", P = "[object Symbol]", C = "[object WeakMap]", x = "[object ArrayBuffer]", E = "[object DataView]", B = "[object Float32Array]", Q = "[object Float64Array]", G = "[object Int8Array]", Y = "[object Int16Array]", V = "[object Int32Array]", H = "[object Uint8Array]", F = "[object Uint8ClampedArray]", N = "[object Uint16Array]", W = "[object Uint32Array]", Z = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, $ = /^\[object .+?Constructor\]$/, ce = /^(?:0|[1-9]\d*)$/, oe = {};
20916
+ oe[o] = oe[r] = oe[x] = oe[E] = oe[a] = oe[l] = oe[B] = oe[Q] = oe[G] = oe[Y] = oe[V] = oe[f] = oe[m] = oe[A] = oe[g] = oe[b] = oe[y] = oe[P] = oe[H] = oe[F] = oe[N] = oe[W] = !0, oe[c] = oe[d] = oe[C] = !1;
20917
20917
  var we = typeof xt == "object" && xt && xt.Object === Object && xt, Ie = typeof self == "object" && self && self.Object === Object && self, Ae = we || Ie || Function("return this")(), Oe = t && !t.nodeType && t, ve = Oe && !0 && n && !n.nodeType && n, _e = ve && ve.exports === Oe;
20918
20918
  function me(v, k) {
20919
20919
  return v.set(k[0], k[1]), v;
@@ -21282,7 +21282,7 @@ var $s = TC, Po = {}, LC = {
21282
21282
  return xs(v);
21283
21283
  case b:
21284
21284
  return ur(v, U, T);
21285
- case I:
21285
+ case P:
21286
21286
  return fr(v);
21287
21287
  }
21288
21288
  }
@@ -21365,7 +21365,7 @@ var Eo = {}, zC = {
21365
21365
  }
21366
21366
  };
21367
21367
  (function(n, t) {
21368
- var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", f = "[object Error]", m = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", g = "[object Number]", b = "[object Null]", y = "[object Object]", I = "[object Promise]", C = "[object Proxy]", x = "[object RegExp]", E = "[object Set]", B = "[object String]", Q = "[object Symbol]", G = "[object Undefined]", Y = "[object WeakMap]", V = "[object ArrayBuffer]", H = "[object DataView]", F = "[object Float32Array]", N = "[object Float64Array]", W = "[object Int8Array]", Z = "[object Int16Array]", X = "[object Int32Array]", $ = "[object Uint8Array]", ce = "[object Uint8ClampedArray]", oe = "[object Uint16Array]", we = "[object Uint32Array]", Ie = /[\\^$.*+?()[\]{}|]/g, Ae = /^\[object .+?Constructor\]$/, Oe = /^(?:0|[1-9]\d*)$/, ve = {};
21368
+ var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", f = "[object Error]", m = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", g = "[object Number]", b = "[object Null]", y = "[object Object]", P = "[object Promise]", C = "[object Proxy]", x = "[object RegExp]", E = "[object Set]", B = "[object String]", Q = "[object Symbol]", G = "[object Undefined]", Y = "[object WeakMap]", V = "[object ArrayBuffer]", H = "[object DataView]", F = "[object Float32Array]", N = "[object Float64Array]", W = "[object Int8Array]", Z = "[object Int16Array]", X = "[object Int32Array]", $ = "[object Uint8Array]", ce = "[object Uint8ClampedArray]", oe = "[object Uint16Array]", we = "[object Uint32Array]", Ie = /[\\^$.*+?()[\]{}|]/g, Ae = /^\[object .+?Constructor\]$/, Oe = /^(?:0|[1-9]\d*)$/, ve = {};
21369
21369
  ve[F] = ve[N] = ve[W] = ve[Z] = ve[X] = ve[$] = ve[ce] = ve[oe] = ve[we] = !0, ve[a] = ve[l] = ve[V] = ve[d] = ve[H] = ve[h] = ve[f] = ve[m] = ve[p] = ve[g] = ve[y] = ve[x] = ve[E] = ve[B] = ve[Y] = !1;
21370
21370
  var _e = typeof xt == "object" && xt && xt.Object === Object && xt, me = typeof self == "object" && self && self.Object === Object && self, ye = _e || me || Function("return this")(), Le = t && !t.nodeType && t, ge = Le && !0 && n && !n.nodeType && n, Ze = ge && ge.exports === Le, ut = Ze && _e.process, Me = function() {
21371
21371
  try {
@@ -21750,7 +21750,7 @@ var Eo = {}, zC = {
21750
21750
  return _i.call(v, k);
21751
21751
  }));
21752
21752
  } : Pr, Qt = Mi;
21753
- (Fn && Qt(new Fn(new ArrayBuffer(1))) != H || ki && Qt(new ki()) != p || _n && Qt(_n.resolve()) != I || Wn && Qt(new Wn()) != E || Yn && Qt(new Yn()) != Y) && (Qt = function(v) {
21753
+ (Fn && Qt(new Fn(new ArrayBuffer(1))) != H || ki && Qt(new ki()) != p || _n && Qt(_n.resolve()) != P || Wn && Qt(new Wn()) != E || Yn && Qt(new Yn()) != Y) && (Qt = function(v) {
21754
21754
  var k = Mi(v), T = k == y ? v.constructor : void 0, U = T ? ft(T) : "";
21755
21755
  if (U)
21756
21756
  switch (U) {
@@ -21759,7 +21759,7 @@ var Eo = {}, zC = {
21759
21759
  case Jt:
21760
21760
  return p;
21761
21761
  case Fo:
21762
- return I;
21762
+ return P;
21763
21763
  case _o:
21764
21764
  return E;
21765
21765
  case Wo:
@@ -21893,19 +21893,19 @@ function NC(n, t) {
21893
21893
  let A = !1;
21894
21894
  const p = (b) => (...y) => {
21895
21895
  A = !0;
21896
- const I = b(...y);
21897
- return A = !1, I;
21896
+ const P = b(...y);
21897
+ return A = !1, P;
21898
21898
  };
21899
21899
  Object.entries(s).forEach(([b, y]) => {
21900
21900
  f[b] = p(
21901
- (...I) => y(m(), ...I)
21901
+ (...P) => y(m(), ...P)
21902
21902
  ), Object.defineProperty(f[b], "name", { value: b });
21903
21903
  }), h = new Proxy(jC(e), {
21904
21904
  get(b, y) {
21905
21905
  return d() && !A && r(d(), { prop: y, value: b[y] }), Reflect.get(...arguments);
21906
21906
  },
21907
- set(b, y, I) {
21908
- return b[y] === I || (Reflect.set(...arguments), d() || (o && o(y, I), a(h, y))), !0;
21907
+ set(b, y, P) {
21908
+ return b[y] === P || (Reflect.set(...arguments), d() || (o && o(y, P), a(h, y))), !0;
21909
21909
  }
21910
21910
  }), Object.entries(i).forEach(([b, y]) => {
21911
21911
  c(b, () => {
@@ -22658,8 +22658,8 @@ function iI(n) {
22658
22658
  n[0]
22659
22659
  ), w(s, "class", "sc-carousel__pages-window svelte-sme1z4"), w(e, "class", "sc-carousel__content-container svelte-sme1z4"), w(t, "class", "sc-carousel__carousel-container svelte-sme1z4");
22660
22660
  },
22661
- m(I, C) {
22662
- O(I, t, C), S(t, e), m && m.m(e, null), S(e, i), S(e, s), S(s, o), p && p.m(o, null), n[39](o), S(s, a), g && g.m(s, null), n[40](s), S(e, l), b && b.m(e, null), S(t, c), y && y.m(t, null), d = !0, h || (f = [
22661
+ m(P, C) {
22662
+ O(P, t, C), S(t, e), m && m.m(e, null), S(e, i), S(e, s), S(s, o), p && p.m(o, null), n[39](o), S(s, a), g && g.m(s, null), n[40](s), S(e, l), b && b.m(e, null), S(t, c), y && y.m(t, null), d = !0, h || (f = [
22663
22663
  ii(r = mw.call(null, o, {
22664
22664
  thresholdProvider: (
22665
22665
  /*swipeable_function*/
@@ -22712,72 +22712,72 @@ function iI(n) {
22712
22712
  )
22713
22713
  ], h = !0);
22714
22714
  },
22715
- p(I, C) {
22715
+ p(P, C) {
22716
22716
  /*arrows*/
22717
- I[1] ? m ? (m.p(I, C), C[0] & /*arrows*/
22718
- 2 && M(m, 1)) : (m = zd(I), m.c(), M(m, 1), m.m(e, i)) : m && (de(), j(m, 1, 1, () => {
22717
+ P[1] ? m ? (m.p(P, C), C[0] & /*arrows*/
22718
+ 2 && M(m, 1)) : (m = zd(P), m.c(), M(m, 1), m.m(e, i)) : m && (de(), j(m, 1, 1, () => {
22719
22719
  m = null;
22720
22720
  }), he()), p && p.p && (!d || C[0] & /*loaded, currentPageIndex*/
22721
22721
  96 | C[1] & /*$$scope*/
22722
22722
  32) && jn(
22723
22723
  p,
22724
22724
  A,
22725
- I,
22725
+ P,
22726
22726
  /*$$scope*/
22727
- I[36],
22727
+ P[36],
22728
22728
  d ? Ln(
22729
22729
  A,
22730
22730
  /*$$scope*/
22731
- I[36],
22731
+ P[36],
22732
22732
  C,
22733
22733
  qC
22734
22734
  ) : zn(
22735
22735
  /*$$scope*/
22736
- I[36]
22736
+ P[36]
22737
22737
  ),
22738
22738
  Ld
22739
22739
  ), (!d || C[0] & /*offset*/
22740
22740
  256) && L(o, "transform", "translateX(" + /*offset*/
22741
- I[8] + "px)"), (!d || C[0] & /*durationMs*/
22741
+ P[8] + "px)"), (!d || C[0] & /*durationMs*/
22742
22742
  512) && L(
22743
22743
  o,
22744
22744
  "transition-duration",
22745
22745
  /*durationMs*/
22746
- I[9] + "ms"
22746
+ P[9] + "ms"
22747
22747
  ), (!d || C[0] & /*timingFunction*/
22748
22748
  1) && L(
22749
22749
  o,
22750
22750
  "transition-timing-function",
22751
22751
  /*timingFunction*/
22752
- I[0]
22752
+ P[0]
22753
22753
  ), r && Yt(r.update) && C[0] & /*pageWindowWidth*/
22754
22754
  2048 && r.update.call(null, {
22755
22755
  thresholdProvider: (
22756
22756
  /*swipeable_function*/
22757
- I[38]
22757
+ P[38]
22758
22758
  )
22759
22759
  }), /*autoplayProgressVisible*/
22760
- I[3] ? g ? (g.p(I, C), C[0] & /*autoplayProgressVisible*/
22761
- 8 && M(g, 1)) : (g = Od(I), g.c(), M(g, 1), g.m(s, null)) : g && (de(), j(g, 1, 1, () => {
22760
+ P[3] ? g ? (g.p(P, C), C[0] & /*autoplayProgressVisible*/
22761
+ 8 && M(g, 1)) : (g = Od(P), g.c(), M(g, 1), g.m(s, null)) : g && (de(), j(g, 1, 1, () => {
22762
22762
  g = null;
22763
22763
  }), he()), /*arrows*/
22764
- I[1] ? b ? (b.p(I, C), C[0] & /*arrows*/
22765
- 2 && M(b, 1)) : (b = Bd(I), b.c(), M(b, 1), b.m(e, null)) : b && (de(), j(b, 1, 1, () => {
22764
+ P[1] ? b ? (b.p(P, C), C[0] & /*arrows*/
22765
+ 2 && M(b, 1)) : (b = Bd(P), b.c(), M(b, 1), b.m(e, null)) : b && (de(), j(b, 1, 1, () => {
22766
22766
  b = null;
22767
22767
  }), he()), /*dots*/
22768
- I[4] ? y ? (y.p(I, C), C[0] & /*dots*/
22769
- 16 && M(y, 1)) : (y = Rd(I), y.c(), M(y, 1), y.m(t, null)) : y && (de(), j(y, 1, 1, () => {
22768
+ P[4] ? y ? (y.p(P, C), C[0] & /*dots*/
22769
+ 16 && M(y, 1)) : (y = Rd(P), y.c(), M(y, 1), y.m(t, null)) : y && (de(), j(y, 1, 1, () => {
22770
22770
  y = null;
22771
22771
  }), he());
22772
22772
  },
22773
- i(I) {
22774
- d || (M(m), M(p, I), M(g), M(b), M(y), d = !0);
22773
+ i(P) {
22774
+ d || (M(m), M(p, P), M(g), M(b), M(y), d = !0);
22775
22775
  },
22776
- o(I) {
22777
- j(m), j(p, I), j(g), j(b), j(y), d = !1;
22776
+ o(P) {
22777
+ j(m), j(p, P), j(g), j(b), j(y), d = !1;
22778
22778
  },
22779
- d(I) {
22780
- I && z(t), m && m.d(), p && p.d(I), n[39](null), g && g.d(), n[40](null), b && b.d(), y && y.d(), h = !1, Je(f);
22779
+ d(P) {
22780
+ P && z(t), m && m.d(), p && p.d(P), n[39](null), g && g.d(), n[40](null), b && b.d(), y && y.d(), h = !1, Je(f);
22781
22781
  }
22782
22782
  };
22783
22783
  }
@@ -22793,7 +22793,7 @@ function nI(n, t, e) {
22793
22793
  loaded: () => e(6, o = Ee)
22794
22794
  })(le);
22795
22795
  }), p = To();
22796
- let { timingFunction: g = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: I = 0 } = t, { duration: C = 500 } = t, { autoplay: x = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: B = vi } = t, { pauseOnFocus: Q = !1 } = t, { autoplayProgressVisible: G = !1 } = t, { dots: Y = !0 } = t, { swiping: V = !0 } = t, { particlesToShow: H = 1 } = t, { particlesToScroll: F = 1 } = t;
22796
+ let { timingFunction: g = "ease-in-out" } = t, { arrows: b = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: C = 500 } = t, { autoplay: x = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: B = vi } = t, { pauseOnFocus: Q = !1 } = t, { autoplayProgressVisible: G = !1 } = t, { dots: Y = !0 } = t, { swiping: V = !0 } = t, { particlesToShow: H = 1 } = t, { particlesToScroll: F = 1 } = t;
22797
22797
  function N(le, Ee) {
22798
22798
  return _(this, null, function* () {
22799
22799
  const He = gs(Ee, "animated", !0);
@@ -22835,7 +22835,7 @@ function nI(n, t, e) {
22835
22835
  }
22836
22836
  wt(() => {
22837
22837
  _(this, null, function* () {
22838
- yield bl(), ce && $ && (h.particlesCountWithoutClones = ce.children.length, yield bl(), h.infinite && we(), h.particlesCount = ce.children.length, m.showPage(I, { animated: !1 }), oe.observe($));
22838
+ yield bl(), ce && $ && (h.particlesCountWithoutClones = ce.children.length, yield bl(), h.infinite && we(), h.particlesCount = ce.children.length, m.showPage(P, { animated: !1 }), oe.observe($));
22839
22839
  });
22840
22840
  }), Ot(() => {
22841
22841
  oe.disconnect(), f.reset();
@@ -22889,7 +22889,7 @@ function nI(n, t, e) {
22889
22889
  }
22890
22890
  const nt = (le) => Ie(le.detail);
22891
22891
  return n.$$set = (le) => {
22892
- "timingFunction" in le && e(0, g = le.timingFunction), "arrows" in le && e(1, b = le.arrows), "infinite" in le && e(2, y = le.infinite), "initialPageIndex" in le && e(24, I = le.initialPageIndex), "duration" in le && e(25, C = le.duration), "autoplay" in le && e(26, x = le.autoplay), "autoplayDuration" in le && e(27, E = le.autoplayDuration), "autoplayDirection" in le && e(28, B = le.autoplayDirection), "pauseOnFocus" in le && e(29, Q = le.pauseOnFocus), "autoplayProgressVisible" in le && e(3, G = le.autoplayProgressVisible), "dots" in le && e(4, Y = le.dots), "swiping" in le && e(30, V = le.swiping), "particlesToShow" in le && e(31, H = le.particlesToShow), "particlesToScroll" in le && e(32, F = le.particlesToScroll), "$$scope" in le && e(36, s = le.$$scope);
22892
+ "timingFunction" in le && e(0, g = le.timingFunction), "arrows" in le && e(1, b = le.arrows), "infinite" in le && e(2, y = le.infinite), "initialPageIndex" in le && e(24, P = le.initialPageIndex), "duration" in le && e(25, C = le.duration), "autoplay" in le && e(26, x = le.autoplay), "autoplayDuration" in le && e(27, E = le.autoplayDuration), "autoplayDirection" in le && e(28, B = le.autoplayDirection), "pauseOnFocus" in le && e(29, Q = le.pauseOnFocus), "autoplayProgressVisible" in le && e(3, G = le.autoplayProgressVisible), "dots" in le && e(4, Y = le.dots), "swiping" in le && e(30, V = le.swiping), "particlesToShow" in le && e(31, H = le.particlesToShow), "particlesToScroll" in le && e(32, F = le.particlesToScroll), "$$scope" in le && e(36, s = le.$$scope);
22893
22893
  }, n.$$.update = () => {
22894
22894
  n.$$.dirty[0] & /*currentPageIndex*/
22895
22895
  32 && p("pageChange", r), n.$$.dirty[0] & /*infinite*/
@@ -22926,7 +22926,7 @@ function nI(n, t, e) {
22926
22926
  ye,
22927
22927
  Le,
22928
22928
  ge,
22929
- I,
22929
+ P,
22930
22930
  C,
22931
22931
  x,
22932
22932
  E,
@@ -23268,7 +23268,7 @@ function hI(n, t, e) {
23268
23268
  V !== i && (i == null || i.pause());
23269
23269
  });
23270
23270
  });
23271
- const I = (V) => {
23271
+ const P = (V) => {
23272
23272
  e(10, m = !1), e(0, o.paused = !1, o), e(8, A = !0), i && g.set({ currentMediaElement: i }), b.emit("playStateChange", {
23273
23273
  event: V,
23274
23274
  state: "playing",
@@ -23334,7 +23334,7 @@ function hI(n, t, e) {
23334
23334
  g,
23335
23335
  b,
23336
23336
  s,
23337
- I,
23337
+ P,
23338
23338
  C,
23339
23339
  x,
23340
23340
  E,
@@ -23729,7 +23729,7 @@ function pI(n) {
23729
23729
  }
23730
23730
  function AI(n, t, e) {
23731
23731
  let i, s, o, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: d = 0 } = t, { duration: h = 0 } = t, { unfolded: f = !0 } = t, { animation: m = !0 } = t, { mediaItemConfig: A } = t, { enableCarousel: p = !0 } = t, { autoplayConfig: g = {} } = t;
23732
- const { autoplayVideo: b = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: I = !1 } = g;
23732
+ const { autoplayVideo: b = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: P = !1 } = g;
23733
23733
  let C = [], x = 0, E, B = null;
23734
23734
  const Q = mi("hooks"), G = mi("mediaStore");
23735
23735
  function Y() {
@@ -24299,14 +24299,14 @@ function II(n) {
24299
24299
  /*primaryTags*/
24300
24300
  ((C = n[2].length) != null ? C : 0) + /*secondaryTags*/
24301
24301
  ((x = n[5].length) != null ? x : 0) > 0 && Xd(n)
24302
- ), I = (
24302
+ ), P = (
24303
24303
  /*havePrice*/
24304
24304
  (n[7] || /*data*/
24305
24305
  n[3].highlightText) && qd(n)
24306
24306
  );
24307
24307
  return {
24308
24308
  c() {
24309
- t = D("div"), ie(e.$$.fragment), i = K(), s = D("div"), o = K(), r = D("div"), b && b.c(), a = K(), l = D("div"), c = D("div"), d = D("div"), f = ke(h), m = K(), y && y.c(), A = K(), I && I.c(), w(s, "class", "line svelte-sezqcq"), L(
24309
+ t = D("div"), ie(e.$$.fragment), i = K(), s = D("div"), o = K(), r = D("div"), b && b.c(), a = K(), l = D("div"), c = D("div"), d = D("div"), f = ke(h), m = K(), y && y.c(), A = K(), P && P.c(), w(s, "class", "line svelte-sezqcq"), L(
24310
24310
  s,
24311
24311
  "transition-delay",
24312
24312
  /*unfolded*/
@@ -24333,7 +24333,7 @@ function II(n) {
24333
24333
  );
24334
24334
  },
24335
24335
  m(E, B) {
24336
- O(E, t, B), ee(e, t, null), S(t, i), S(t, s), S(t, o), S(t, r), b && b.m(r, null), S(r, a), S(r, l), S(l, c), S(c, d), S(d, f), S(r, m), y && y.m(r, null), S(r, A), I && I.m(r, null), g = !0;
24336
+ O(E, t, B), ee(e, t, null), S(t, i), S(t, s), S(t, o), S(t, r), b && b.m(r, null), S(r, a), S(r, l), S(l, c), S(c, d), S(d, f), S(r, m), y && y.m(r, null), S(r, A), P && P.m(r, null), g = !0;
24337
24337
  },
24338
24338
  p(E, [B]) {
24339
24339
  var G, Y;
@@ -24353,7 +24353,7 @@ function II(n) {
24353
24353
  ((G = E[2].length) != null ? G : 0) + /*secondaryTags*/
24354
24354
  ((Y = E[5].length) != null ? Y : 0) > 0 ? y ? y.p(E, B) : (y = Xd(E), y.c(), y.m(r, A)) : y && (y.d(1), y = null), /*havePrice*/
24355
24355
  E[7] || /*data*/
24356
- E[3].highlightText ? I ? I.p(E, B) : (I = qd(E), I.c(), I.m(r, null)) : I && (I.d(1), I = null), B & /*unfolded*/
24356
+ E[3].highlightText ? P ? P.p(E, B) : (P = qd(E), P.c(), P.m(r, null)) : P && (P.d(1), P = null), B & /*unfolded*/
24357
24357
  16 && L(
24358
24358
  r,
24359
24359
  "transition-delay",
@@ -24382,7 +24382,7 @@ function II(n) {
24382
24382
  j(e.$$.fragment, E), g = !1;
24383
24383
  },
24384
24384
  d(E) {
24385
- E && z(t), te(e), b && b.d(), y && y.d(), I && I.d();
24385
+ E && z(t), te(e), b && b.d(), y && y.d(), P && P.d();
24386
24386
  }
24387
24387
  };
24388
24388
  }
@@ -24402,7 +24402,7 @@ function PI(n, t, e) {
24402
24402
  return n.$$set = (p) => {
24403
24403
  "tag" in p && e(0, h = p.tag);
24404
24404
  }, n.$$.update = () => {
24405
- var p, g, b, y, I, C;
24405
+ var p, g, b, y, P, C;
24406
24406
  n.$$.dirty & /*tag*/
24407
24407
  1 && e(4, i = (g = (p = h.state) == null ? void 0 : p.unfolded) != null ? g : !1), n.$$.dirty & /*unfolded*/
24408
24408
  16 && e(8, s = !i), n.$$.dirty & /*tag*/
@@ -24410,7 +24410,7 @@ function PI(n, t, e) {
24410
24410
  8 && e(7, r = si((b = o.price) == null ? void 0 : b.value) && ((y = o.price) == null ? void 0 : y.value) !== ""), n.$$.dirty & /*tag*/
24411
24411
  1 && e(6, a = h.data.theme || "light"), n.$$.dirty & /*tagsOffsetHeight, maxTagsLength*/
24412
24412
  1026 && f > 40 && e(10, l = l - 1), n.$$.dirty & /*data, maxTagsLength*/
24413
- 1032 && e(2, c = ((I = o.brandTags) == null ? void 0 : I.slice(0, l).filter(Boolean)) || []), n.$$.dirty & /*data, maxTagsLength, primaryTags*/
24413
+ 1032 && e(2, c = ((P = o.brandTags) == null ? void 0 : P.slice(0, l).filter(Boolean)) || []), n.$$.dirty & /*data, maxTagsLength, primaryTags*/
24414
24414
  1036 && e(5, d = ((C = o.tags) == null ? void 0 : C.slice(0, l - c.length).filter(Boolean)) || []);
24415
24415
  }, e(10, l = (m - 20) / nl), [
24416
24416
  h,
@@ -24913,8 +24913,8 @@ function sh(n) {
24913
24913
  n[6]
24914
24914
  );
24915
24915
  },
24916
- m(y, I) {
24917
- O(y, t, I), ee(e, t, null), S(t, i), S(t, s), S(s, o), S(o, r), p && p.m(r, null), S(o, a), S(o, l), ee(c, l, null), S(t, d), ee(h, t, null), f = !0, m || (A = [
24916
+ m(y, P) {
24917
+ O(y, t, P), ee(e, t, null), S(t, i), S(t, s), S(s, o), S(o, r), p && p.m(r, null), S(o, a), S(o, l), ee(c, l, null), S(t, d), ee(h, t, null), f = !0, m || (A = [
24918
24918
  be(
24919
24919
  l,
24920
24920
  "click",
@@ -24930,38 +24930,38 @@ function sh(n) {
24930
24930
  )
24931
24931
  ], m = !0);
24932
24932
  },
24933
- p(y, I) {
24933
+ p(y, P) {
24934
24934
  var B, Q;
24935
24935
  const C = {};
24936
- I & /*unfolded*/
24936
+ P & /*unfolded*/
24937
24937
  64 && (C.visible = /*unfolded*/
24938
- y[6]), I & /*contentWidth*/
24938
+ y[6]), P & /*contentWidth*/
24939
24939
  8 && (C.left = /*contentWidth*/
24940
24940
  y[3] / 2 + "px"), e.$set(C), /*unfolded*/
24941
- y[6] ? p ? (p.p(y, I), I & /*unfolded*/
24941
+ y[6] ? p ? (p.p(y, P), P & /*unfolded*/
24942
24942
  64 && M(p, 1)) : (p = oh(y), p.c(), M(p, 1), p.m(r, null)) : p && (de(), j(p, 1, 1, () => {
24943
24943
  p = null;
24944
24944
  }), he());
24945
24945
  const x = {};
24946
- I & /*unfolded*/
24946
+ P & /*unfolded*/
24947
24947
  64 && (x.visible = /*unfolded*/
24948
- y[6]), I & /*textUnfolded*/
24948
+ y[6]), P & /*textUnfolded*/
24949
24949
  2 && (x.textUnfolded = /*textUnfolded*/
24950
- y[1]), I & /*content*/
24950
+ y[1]), P & /*content*/
24951
24951
  32 && (x.content = /*content*/
24952
24952
  y[5]), c.$set(x);
24953
24953
  const E = {};
24954
- I & /*unfolded*/
24954
+ P & /*unfolded*/
24955
24955
  64 && (E.unfolded = /*unfolded*/
24956
- y[6]), I & /*contentWidth*/
24956
+ y[6]), P & /*contentWidth*/
24957
24957
  8 && (E.length = /*contentWidth*/
24958
- y[3]), I & /*foldTextDelay, content*/
24958
+ y[3]), P & /*foldTextDelay, content*/
24959
24959
  48 && (E.outDelay = /*foldTextDelay*/
24960
24960
  y[4] + 20 * Math.min(
24961
24961
  /*content*/
24962
24962
  (Q = (B = y[5]) == null ? void 0 : B.length) != null ? Q : 10,
24963
24963
  15
24964
- )), h.$set(E), (!f || I & /*unfolded*/
24964
+ )), h.$set(E), (!f || P & /*unfolded*/
24965
24965
  64) && q(
24966
24966
  t,
24967
24967
  "unfolded",
@@ -26124,17 +26124,17 @@ function ln(n) {
26124
26124
  function hP(n, t, e) {
26125
26125
  let i, s, o, r, a, l, c, d, h, { width: f = null } = t, { icon: m = null } = t, { shadow: A = !1 } = t;
26126
26126
  const p = To();
26127
- function g(I) {
26127
+ function g(P) {
26128
26128
  return _(this, null, function* () {
26129
- const C = yield eP(I);
26129
+ const C = yield eP(P);
26130
26130
  return p("iconLoaded", C), C;
26131
26131
  });
26132
26132
  }
26133
- function b(I) {
26133
+ function b(P) {
26134
26134
  return _(this, null, function* () {
26135
26135
  if (typeof h == "number")
26136
- return fe(R({}, I), { width: h });
26137
- const C = yield $I(I);
26136
+ return fe(R({}, P), { width: h });
26137
+ const C = yield $I(P);
26138
26138
  return p("iconLoaded", C), C;
26139
26139
  });
26140
26140
  }
@@ -26143,13 +26143,13 @@ function hP(n, t, e) {
26143
26143
  }
26144
26144
  return wt(() => {
26145
26145
  y();
26146
- }), n.$$set = (I) => {
26147
- "width" in I && e(1, f = I.width), "icon" in I && e(12, m = I.icon), "shadow" in I && e(0, A = I.shadow);
26146
+ }), n.$$set = (P) => {
26147
+ "width" in P && e(1, f = P.width), "icon" in P && e(12, m = P.icon), "shadow" in P && e(0, A = P.shadow);
26148
26148
  }, n.$$.update = () => {
26149
- var I, C;
26149
+ var P, C;
26150
26150
  n.$$.dirty & /*icon*/
26151
26151
  4096 && e(7, i = m == null ? void 0 : m.url), n.$$.dirty & /*icon*/
26152
- 4096 && e(2, s = (I = m == null ? void 0 : m.steps) != null ? I : 1), n.$$.dirty & /*icon*/
26152
+ 4096 && e(2, s = (P = m == null ? void 0 : m.steps) != null ? P : 1), n.$$.dirty & /*icon*/
26153
26153
  4096 && e(6, o = m == null ? void 0 : m.fps), n.$$.dirty & /*icon*/
26154
26154
  4096 && e(5, r = m == null ? void 0 : m.ratio), n.$$.dirty & /*icon*/
26155
26155
  4096 && e(4, a = (C = m == null ? void 0 : m.scale) != null ? C : 1), n.$$.dirty & /*icon*/
@@ -26888,7 +26888,7 @@ function jP(n, t, e) {
26888
26888
  function y(x) {
26889
26889
  x ? h.emit("exposure", { id: r, type: "start" }) : h.emit("exposure", { id: r, type: "end" });
26890
26890
  }
26891
- const I = (x) => h.emit("click", { event: x, target: "TagContent", tag: d }), C = (x) => h.emit("click", { event: x, target: "TagContent", tag: d });
26891
+ const P = (x) => h.emit("click", { event: x, target: "TagContent", tag: d }), C = (x) => h.emit("click", { event: x, target: "TagContent", tag: d });
26892
26892
  return n.$$set = (x) => {
26893
26893
  "withAnimation" in x && e(0, c = x.withAnimation), "tag" in x && e(1, d = x.tag), "hooks" in x && e(2, h = x.hooks), "renderMap" in x && e(3, f = x.renderMap), "state" in x && e(6, m = x.state), "mediaStore" in x && e(7, A = x.mediaStore), "temporaryState" in x && e(8, p = x.temporaryState);
26894
26894
  }, n.$$.update = () => {
@@ -26917,7 +26917,7 @@ function jP(n, t, e) {
26917
26917
  s,
26918
26918
  i,
26919
26919
  o,
26920
- I,
26920
+ P,
26921
26921
  C
26922
26922
  ];
26923
26923
  }
@@ -27084,9 +27084,9 @@ function BP(n, t, e) {
27084
27084
  64 && e(2, o = (b = (g = l.style) == null ? void 0 : g.point) != null && b.url ? (y = l.style) == null ? void 0 : y.point : { url: xb }), n.$$.dirty & /*tag*/
27085
27085
  64 && e(1, r = (() => {
27086
27086
  var x, E, B, Q;
27087
- const I = (E = (x = l.style) == null ? void 0 : x.point) == null ? void 0 : E.width;
27088
- if (typeof I == "number")
27089
- return I;
27087
+ const P = (E = (x = l.style) == null ? void 0 : x.point) == null ? void 0 : E.width;
27088
+ if (typeof P == "number")
27089
+ return P;
27090
27090
  const C = (Q = (B = l.style) == null ? void 0 : B.point) == null ? void 0 : Q.size;
27091
27091
  if (typeof C == "number")
27092
27092
  return C;
@@ -27326,9 +27326,9 @@ function FP(n) {
27326
27326
  O(b, t, y), S(t, e), f[i].m(e, null), S(e, o), p[r].m(e, null), d = !0;
27327
27327
  },
27328
27328
  p(b, [y]) {
27329
- let I = i;
27330
- i = m(b), i === I ? f[i].p(b, y) : (de(), j(f[I], 1, 1, () => {
27331
- f[I] = null;
27329
+ let P = i;
27330
+ i = m(b), i === P ? f[i].p(b, y) : (de(), j(f[P], 1, 1, () => {
27331
+ f[P] = null;
27332
27332
  }), he(), s = f[i], s ? s.p(b, y) : (s = f[i] = h[i](b), s.c()), M(s, 1), s.m(e, o));
27333
27333
  let C = r;
27334
27334
  r = g(b), r === C ? p[r].p(b, y) : (de(), j(p[C], 1, 1, () => {
@@ -27414,7 +27414,7 @@ function _P(n, t, e) {
27414
27414
  return n.$$set = (y) => {
27415
27415
  "withAnimation" in y && e(0, h = y.withAnimation), "tag" in y && e(1, f = y.tag), "mediaStore" in y && e(2, m = y.mediaStore), "renderMap" in y && e(3, A = y.renderMap), "state" in y && e(4, p = y.state), "temporaryState" in y && e(5, g = y.temporaryState);
27416
27416
  }, n.$$.update = () => {
27417
- var y, I, C, x, E;
27417
+ var y, P, C, x, E;
27418
27418
  n.$$.dirty & /*tag*/
27419
27419
  2 && e(13, i = (() => {
27420
27420
  var B, Q;
@@ -27423,7 +27423,7 @@ function _P(n, t, e) {
27423
27423
  2 && e(12, s = (() => f.stickType === "2DPoint")()), n.$$.dirty & /*tag*/
27424
27424
  2 && e(11, o = f.id), n.$$.dirty & /*tag*/
27425
27425
  2 && e(10, r = f.enabled === !1 || !f.state), n.$$.dirty & /*tag*/
27426
- 2 && e(9, a = !((y = f.state) != null && y.visible) || ((I = f.temporaryState) == null ? void 0 : I.visible) === !1 || !f.screenPosition), n.$$.dirty & /*tag*/
27426
+ 2 && e(9, a = !((y = f.state) != null && y.visible) || ((P = f.temporaryState) == null ? void 0 : P.visible) === !1 || !f.screenPosition), n.$$.dirty & /*tag*/
27427
27427
  2 && e(8, l = (C = f.state) == null ? void 0 : C.unfolded), n.$$.dirty & /*tag*/
27428
27428
  2 && e(7, c = ((x = f.screenPosition) == null ? void 0 : x.leftPercent) + "%"), n.$$.dirty & /*tag*/
27429
27429
  2 && e(6, d = ((E = f.screenPosition) == null ? void 0 : E.topPercent) + "%");
@@ -28071,7 +28071,7 @@ class va extends e2 {
28071
28071
  return (s = (i = e.config) == null ? void 0 : i.modelConfig) == null ? void 0 : s.autoLookAtEnabled;
28072
28072
  }).forEach((e) => {
28073
28073
  var c;
28074
- const i = new P.Mesh(new P.BoxGeometry(), new P.MeshBasicMaterial()), s = (c = e.model) == null ? void 0 : c.object;
28074
+ const i = new I.Mesh(new I.BoxGeometry(), new I.MeshBasicMaterial()), s = (c = e.model) == null ? void 0 : c.object;
28075
28075
  if (!s)
28076
28076
  return;
28077
28077
  i.position.copy(s.position), i.quaternion.copy(s.quaternion);
@@ -28707,18 +28707,18 @@ class ba {
28707
28707
  u(this, "logError", (t) => Wu("GuideLineModeItem: ", t));
28708
28708
  var o, r;
28709
28709
  this.five = t, this.mode = e.mode, this.plugin = e.plugin, this.parent = e.parent, this.startTagContainer = { tag: null, plugin: new va(this.five) }, this.endTagContainer = { tag: null, plugin: new va(this.five) };
28710
- const i = new P.BufferGeometry(), s = new P.ShaderMaterial({
28710
+ const i = new I.BufferGeometry(), s = new I.ShaderMaterial({
28711
28711
  vertexShader: l2,
28712
28712
  fragmentShader: c2,
28713
28713
  transparent: !0,
28714
28714
  uniforms: {
28715
28715
  map: { value: null },
28716
28716
  useMapColor: { value: 0 },
28717
- mapColor: { value: new P.Color() },
28717
+ mapColor: { value: new I.Color() },
28718
28718
  mapOpacity: { value: 1 },
28719
- backgroundColor: { value: new P.Color() },
28719
+ backgroundColor: { value: new I.Color() },
28720
28720
  backgroundOpacity: { value: 0 },
28721
- borderColor: { value: new P.Color() },
28721
+ borderColor: { value: new I.Color() },
28722
28722
  borderOpacity: { value: 0 },
28723
28723
  opacity: { value: 1 },
28724
28724
  flicker: { value: 1 },
@@ -28726,7 +28726,7 @@ class ba {
28726
28726
  vOffset: { value: 0 }
28727
28727
  }
28728
28728
  });
28729
- this.mesh = new P.Mesh(i, s), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((r = (o = this.five.model) == null ? void 0 : o.shownFloor) != null ? r : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
28729
+ this.mesh = new I.Mesh(i, s), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((r = (o = this.five.model) == null ? void 0 : o.shownFloor) != null ? r : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
28730
28730
  }
28731
28731
  get panoGroup() {
28732
28732
  return this._panoGroup;
@@ -28810,7 +28810,7 @@ class ba {
28810
28810
  /** 设置模型状态 */
28811
28811
  setMeshStyle(t) {
28812
28812
  if (t != null && t.translate) {
28813
- const s = new P.Vector3(), o = new P.Vector3().fromArray(t.translate);
28813
+ const s = new I.Vector3(), o = new I.Vector3().fromArray(t.translate);
28814
28814
  o.y += this.heightOffset, s.add(o), this.mesh.position.copy(s), i(this.startTagContainer, o), i(this.endTagContainer, o);
28815
28815
  }
28816
28816
  const e = R(R({}, this.meshStyle), t);
@@ -28818,7 +28818,7 @@ class ba {
28818
28818
  function i(s, o) {
28819
28819
  if (!s.tag)
28820
28820
  return;
28821
- const r = new P.Vector3().fromArray(s.tag.position);
28821
+ const r = new I.Vector3().fromArray(s.tag.position);
28822
28822
  r.add(o);
28823
28823
  const a = r.toArray();
28824
28824
  s.plugin.changeTagById(s.tag.id, { position: a });
@@ -28826,20 +28826,20 @@ class ba {
28826
28826
  }
28827
28827
  /** 设置 Y 轴上的偏移量,为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
28828
28828
  setHeightOffset(t) {
28829
- const e = new P.Vector3();
28830
- this.meshStyle.translate && e.add(new P.Vector3().fromArray(this.meshStyle.translate)), e.setY(e.y + t), this.mesh.position.copy(e), this.heightOffset = t, this.five.needsRender = !0;
28829
+ const e = new I.Vector3();
28830
+ this.meshStyle.translate && e.add(new I.Vector3().fromArray(this.meshStyle.translate)), e.setY(e.y + t), this.mesh.position.copy(e), this.heightOffset = t, this.five.needsRender = !0;
28831
28831
  }
28832
28832
  /** 设置贴图颜色 */
28833
28833
  setColor(t) {
28834
28834
  if (this.disposed)
28835
28835
  return this.logError("disposed");
28836
- t && (this.mesh.material.uniforms.mapColor.value = new P.Color().set(t)), this.mesh.material.uniforms.useMapColor.value = t ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
28836
+ t && (this.mesh.material.uniforms.mapColor.value = new I.Color().set(t)), this.mesh.material.uniforms.useMapColor.value = t ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
28837
28837
  }
28838
28838
  /** 设置边框 */
28839
28839
  setBorderColor(t) {
28840
28840
  if (this.disposed)
28841
28841
  return this.logError("disposed");
28842
- this.mesh.material.uniforms.borderColor.value = new P.Color().set(t), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
28842
+ this.mesh.material.uniforms.borderColor.value = new I.Color().set(t), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
28843
28843
  }
28844
28844
  /** 设置边框透明度 */
28845
28845
  setBorderOpacity(t) {
@@ -28851,7 +28851,7 @@ class ba {
28851
28851
  setBackgroundColor(t) {
28852
28852
  if (this.disposed)
28853
28853
  return this.logError("disposed");
28854
- this.mesh.material.uniforms.backgroundColor.value = new P.Color().set(t), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
28854
+ this.mesh.material.uniforms.backgroundColor.value = new I.Color().set(t), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
28855
28855
  }
28856
28856
  /** 设置背景透明度 */
28857
28857
  setBackgroundOpacity(t) {
@@ -28876,7 +28876,7 @@ class ba {
28876
28876
  if (this.disposed)
28877
28877
  return this.logError("disposed");
28878
28878
  this.textureUrl = t, fi(t).then((e) => {
28879
- this.disposed || this.textureUrl === t && (e.wrapT = P.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
28879
+ this.disposed || this.textureUrl === t && (e.wrapT = I.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
28880
28880
  });
28881
28881
  }
28882
28882
  setVisibleFloorIndexes(t) {
@@ -28939,7 +28939,7 @@ class ba {
28939
28939
  }), s.plugin.load({ tagList: [s.tag] });
28940
28940
  const a = this.meshStyle.translate;
28941
28941
  if (a && r.position) {
28942
- const l = new P.Vector3().fromArray(r.position), c = new P.Vector3().fromArray(a);
28942
+ const l = new I.Vector3().fromArray(r.position), c = new I.Vector3().fromArray(a);
28943
28943
  l.add(c), l.y += this.heightOffset;
28944
28944
  const d = l.toArray();
28945
28945
  s.plugin.changeTagById(s.tag.id, { position: d });
@@ -28968,7 +28968,7 @@ const Nk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28968
28968
  }, Symbol.toStringTag, { value: "Module" }));
28969
28969
  function bh(n) {
28970
28970
  const t = Math.abs(Math.cos(n.latitude));
28971
- return new P.Vector3(
28971
+ return new I.Vector3(
28972
28972
  /* x */
28973
28973
  -Math.sin(n.longitude) * t,
28974
28974
  /* y */
@@ -29069,12 +29069,12 @@ class Go extends oi {
29069
29069
  var y;
29070
29070
  return g.data.panoIndex !== ((y = c[b - 1]) == null ? void 0 : y.data.panoIndex);
29071
29071
  }).map((g) => g.data.panoIndex).forEach((g) => {
29072
- var y, I;
29072
+ var y, P;
29073
29073
  const b = (y = this.five.work.observers[g]) == null ? void 0 : y.floorIndex;
29074
29074
  if (b !== void 0)
29075
29075
  if (l === b) {
29076
29076
  const C = a.length - 1;
29077
- a[C] = [...(I = a[C]) != null ? I : [], g];
29077
+ a[C] = [...(P = a[C]) != null ? P : [], g];
29078
29078
  } else {
29079
29079
  l = b;
29080
29080
  const C = a.length;
@@ -29180,14 +29180,14 @@ class Go extends oi {
29180
29180
  const { moveEffect: r, moveToFirstPanoEffect: a, moveToFirstPanoDuration: l } = s;
29181
29181
  return this.privateState.moveToFirstPanoEffect = a, this.privateState.moveToFirstPanoDuration = l, s.panoIndexList.forEach((c, d) => {
29182
29182
  const h = (() => {
29183
- var g, b, y, I;
29183
+ var g, b, y, P;
29184
29184
  const f = s.panoIndexList.slice(d).find((C) => C !== c);
29185
29185
  if (f === void 0)
29186
29186
  return;
29187
29187
  const m = (g = i[c]) == null ? void 0 : g.position, A = (b = i[f]) == null ? void 0 : b.position;
29188
- if (!A || !m || ((y = i[c]) == null ? void 0 : y.floorIndex) !== ((I = i[f]) == null ? void 0 : I.floorIndex))
29188
+ if (!A || !m || ((y = i[c]) == null ? void 0 : y.floorIndex) !== ((P = i[f]) == null ? void 0 : P.floorIndex))
29189
29189
  return;
29190
- const p = new P.Vector3().subVectors(A, m);
29190
+ const p = new I.Vector3().subVectors(A, m);
29191
29191
  return f2(p.normalize());
29192
29192
  })();
29193
29193
  s.moveType === void 0 || s.moveType === "justMove" ? o.push({
@@ -29688,7 +29688,7 @@ let b2 = class extends oi {
29688
29688
  }
29689
29689
  load(e, i, s = !0) {
29690
29690
  return _(this, null, function* () {
29691
- var m, A, p, g, b, y, I;
29691
+ var m, A, p, g, b, y, P;
29692
29692
  if (this.disposed)
29693
29693
  return;
29694
29694
  const o = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
@@ -29703,7 +29703,7 @@ let b2 = class extends oi {
29703
29703
  }, d = (b = (g = r.routes) == null ? void 0 : g.map((C) => {
29704
29704
  var x;
29705
29705
  return Re({}, c, { id: (x = C.id) != null ? x : Date.now(), pano_group: C.panoIndexList });
29706
- })) != null ? b : [], h = (I = (y = r.lines) == null ? void 0 : y.map((C) => Re({}, c, C))) != null ? I : [], f = [...d, ...h];
29706
+ })) != null ? b : [], h = (P = (y = r.lines) == null ? void 0 : y.map((C) => Re({}, c, C))) != null ? P : [], f = [...d, ...h];
29707
29707
  yield this.waitFiveLoaded(), this.clear(), f.forEach((C) => {
29708
29708
  this.addGuideLineItem(C);
29709
29709
  }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", r), console.debug(`${wh} loaded`, r);
@@ -29767,7 +29767,7 @@ let b2 = class extends oi {
29767
29767
  return Array.isArray(r) && r.every((a) => typeof a == "number");
29768
29768
  }
29769
29769
  function s(r, a) {
29770
- return new P.Vector3().fromArray(r).distanceTo(new P.Vector3().fromArray(a)) < 0.01;
29770
+ return new I.Vector3().fromArray(r).distanceTo(new I.Vector3().fromArray(a)) < 0.01;
29771
29771
  }
29772
29772
  function o(r) {
29773
29773
  var l;
@@ -29819,7 +29819,7 @@ let b2 = class extends oi {
29819
29819
  const y2 = (n, t) => new b2(n, t);
29820
29820
  function Pf(n, t, e) {
29821
29821
  if (e) {
29822
- const s = new P.Vector3().subVectors(n.position, e).applyQuaternion(n.quaternion.clone().inverse()).applyQuaternion(t).add(e);
29822
+ const s = new I.Vector3().subVectors(n.position, e).applyQuaternion(n.quaternion.clone().inverse()).applyQuaternion(t).add(e);
29823
29823
  n.position.copy(s);
29824
29824
  }
29825
29825
  n.quaternion.copy(t);
@@ -29887,14 +29887,14 @@ class Ef extends No {
29887
29887
  }
29888
29888
  class P2 extends Ef {
29889
29889
  }
29890
- class E2 extends P.Group {
29890
+ class E2 extends I.Group {
29891
29891
  constructor(e) {
29892
29892
  super();
29893
29893
  u(this, "direction");
29894
29894
  this.direction = e || "x";
29895
29895
  }
29896
29896
  }
29897
- class Ch extends P.Mesh {
29897
+ class Ch extends I.Mesh {
29898
29898
  constructor(e, i, s) {
29899
29899
  super(e, i);
29900
29900
  u(this, "direction");
@@ -29903,7 +29903,7 @@ class Ch extends P.Mesh {
29903
29903
  }
29904
29904
  function k2(n, t) {
29905
29905
  const { offsetWidth: e, offsetHeight: i } = t, { top: s, left: o } = t.getBoundingClientRect();
29906
- return Object.assign(new P.Vector2(), {
29906
+ return Object.assign(new I.Vector2(), {
29907
29907
  x: (n.x - o) / e * 2 - 1,
29908
29908
  y: -(n.y - s) / i * 2 + 1
29909
29909
  });
@@ -29914,7 +29914,7 @@ function sl(n, t, e) {
29914
29914
  const i = k2(t, e);
29915
29915
  if (Math.abs(i.x) === 1 || Math.abs(i.y) === 1)
29916
29916
  return;
29917
- const s = new P.Raycaster();
29917
+ const s = new I.Raycaster();
29918
29918
  return s.setFromCamera(i, n), s;
29919
29919
  }
29920
29920
  function M2(n, t) {
@@ -29929,15 +29929,15 @@ class Yr extends E2 {
29929
29929
  u(this, "lineHeight", 0.4);
29930
29930
  u(this, "arrowHeight", 0.1);
29931
29931
  this.name = "ArrowGroup";
29932
- const i = new P.Color((d = e.color) != null ? d : 16214315), s = new P.MeshBasicMaterial({
29932
+ const i = new I.Color((d = e.color) != null ? d : 16214315), s = new I.MeshBasicMaterial({
29933
29933
  color: i,
29934
29934
  depthTest: !1,
29935
29935
  opacity: 1,
29936
29936
  transparent: !0,
29937
- side: P.DoubleSide
29938
- }), o = new P.ConeGeometry(0.04, 0.1, 32), r = new Ch(o, s.clone(), e.direction);
29937
+ side: I.DoubleSide
29938
+ }), o = new I.ConeGeometry(0.04, 0.1, 32), r = new Ch(o, s.clone(), e.direction);
29939
29939
  r.name = `arrow-${e.direction}`, this.arrow = r;
29940
- const a = 4e-3, l = new P.CylinderGeometry(a, a, 0.4, 32), c = new Ch(l, s.clone(), e.direction);
29940
+ const a = 4e-3, l = new I.CylinderGeometry(a, a, 0.4, 32), c = new Ch(l, s.clone(), e.direction);
29941
29941
  c.name = `line-${e.direction}`, this.line = c, this.formatArrow(), this.formatLine(), this.add(this.arrow, this.line);
29942
29942
  }
29943
29943
  formatArrow() {
@@ -29954,13 +29954,13 @@ const Ur = {
29954
29954
  };
29955
29955
  class gn {
29956
29956
  static get X() {
29957
- return new P.Color(Ur.X).convertSRGBToLinear().clone();
29957
+ return new I.Color(Ur.X).convertSRGBToLinear().clone();
29958
29958
  }
29959
29959
  static get Y() {
29960
- return new P.Color(Ur.Y).convertSRGBToLinear().clone();
29960
+ return new I.Color(Ur.Y).convertSRGBToLinear().clone();
29961
29961
  }
29962
29962
  static get Z() {
29963
- return new P.Color(Ur.Z).convertSRGBToLinear().clone();
29963
+ return new I.Color(Ur.Z).convertSRGBToLinear().clone();
29964
29964
  }
29965
29965
  }
29966
29966
  class x2 extends w2 {
@@ -30044,7 +30044,7 @@ class T2 extends I2 {
30044
30044
  this.removeFromParent(), (i = (e = this.angleTips) == null ? void 0 : e.element) == null || i.remove();
30045
30045
  }
30046
30046
  }
30047
- class Xr extends P.Group {
30047
+ class Xr extends I.Group {
30048
30048
  constructor(e) {
30049
30049
  super();
30050
30050
  u(this, "direction");
@@ -30066,41 +30066,41 @@ class Xr extends P.Group {
30066
30066
  this.remove(this.ring, this.angleSector, this.circle);
30067
30067
  }
30068
30068
  }
30069
- class L2 extends P.Mesh {
30069
+ class L2 extends I.Mesh {
30070
30070
  constructor(e) {
30071
30071
  var i;
30072
30072
  super();
30073
30073
  u(this, "direction");
30074
30074
  u(this, "gapAngle", 0.02);
30075
- u(this, "geometry", new P.RingGeometry(0.25, 0.3, 20, 8, this.gapAngle, Math.PI / 2 - this.gapAngle * 2));
30076
- this.material = new P.MeshBasicMaterial({
30075
+ u(this, "geometry", new I.RingGeometry(0.25, 0.3, 20, 8, this.gapAngle, Math.PI / 2 - this.gapAngle * 2));
30076
+ this.material = new I.MeshBasicMaterial({
30077
30077
  opacity: 0.6,
30078
30078
  color: (i = e.color) != null ? i : 16777215,
30079
30079
  transparent: !0,
30080
- side: P.DoubleSide,
30080
+ side: I.DoubleSide,
30081
30081
  depthTest: !1
30082
30082
  }), this.direction = e.direction, this.geometry.name = `RotateHelperCircleGeometry-${this.direction}`;
30083
30083
  }
30084
30084
  }
30085
- class j2 extends P.Group {
30085
+ class j2 extends I.Group {
30086
30086
  constructor(e) {
30087
30087
  super();
30088
30088
  u(this, "direction");
30089
30089
  this.direction = e.direction;
30090
30090
  const i = 0.015, s = new Array(8).fill(null).map((o, r) => {
30091
- const a = new P.RingGeometry(0.25, 0.3, 20, 8, Math.PI / 4 * r + i, Math.PI / 4 - i * 2), l = new P.MeshBasicMaterial({
30091
+ const a = new I.RingGeometry(0.25, 0.3, 20, 8, Math.PI / 4 * r + i, Math.PI / 4 - i * 2), l = new I.MeshBasicMaterial({
30092
30092
  opacity: 1,
30093
30093
  color: 16777215,
30094
30094
  depthTest: !1,
30095
30095
  transparent: !0,
30096
- side: P.DoubleSide
30097
- }), c = new P.Mesh(a, l);
30096
+ side: I.DoubleSide
30097
+ }), c = new I.Mesh(a, l);
30098
30098
  return c.name = `AxesDashedRing-${this.direction}-${r}`, c;
30099
30099
  });
30100
30100
  this.add(...s);
30101
30101
  }
30102
30102
  }
30103
- class z2 extends P.Mesh {
30103
+ class z2 extends I.Mesh {
30104
30104
  constructor(e) {
30105
30105
  var s;
30106
30106
  super();
@@ -30109,22 +30109,22 @@ class z2 extends P.Mesh {
30109
30109
  u(this, "angleDirection");
30110
30110
  switch (e.direction) {
30111
30111
  case "x":
30112
- this.baseAxes = new P.Vector3(0, 0, 1);
30112
+ this.baseAxes = new I.Vector3(0, 0, 1);
30113
30113
  break;
30114
30114
  case "y":
30115
- this.baseAxes = new P.Vector3(1, 0, 0);
30115
+ this.baseAxes = new I.Vector3(1, 0, 0);
30116
30116
  break;
30117
30117
  case "z":
30118
- this.baseAxes = new P.Vector3(1, 0, 0);
30118
+ this.baseAxes = new I.Vector3(1, 0, 0);
30119
30119
  break;
30120
30120
  }
30121
30121
  const i = 0.3 + 5e-4;
30122
- this.geometry = new P.CircleGeometry(i, 48, 0, 1e-4), this.material = new P.MeshBasicMaterial({
30122
+ this.geometry = new I.CircleGeometry(i, 48, 0, 1e-4), this.material = new I.MeshBasicMaterial({
30123
30123
  opacity: 0.4,
30124
30124
  color: (s = e.color) != null ? s : 16777215,
30125
30125
  depthTest: !1,
30126
30126
  transparent: !0,
30127
- side: P.DoubleSide
30127
+ side: I.DoubleSide
30128
30128
  }), this.direction = e.direction, this.angleDirection = this.direction === "z" ? 1 : -1;
30129
30129
  }
30130
30130
  }
@@ -30234,15 +30234,15 @@ class B2 extends P2 {
30234
30234
  var o;
30235
30235
  const s = (o = this.css3DInstance) == null ? void 0 : o.css3DObject;
30236
30236
  if (s) {
30237
- const r = new P.Vector3().subVectors(s.position, i).applyQuaternion(e).add(i);
30237
+ const r = new I.Vector3().subVectors(s.position, i).applyQuaternion(e).add(i);
30238
30238
  s.position.copy(r), s.applyQuaternion(e);
30239
30239
  }
30240
30240
  if (this.plane) {
30241
- const r = new P.Vector3().subVectors(this.plane.position, i).applyQuaternion(e).add(i);
30241
+ const r = new I.Vector3().subVectors(this.plane.position, i).applyQuaternion(e).add(i);
30242
30242
  this.plane.position.copy(r), this.plane.applyQuaternion(e);
30243
30243
  }
30244
30244
  this.cornerPositions.forEach((r) => {
30245
- const a = new P.Vector3().subVectors(r, i).applyQuaternion(e).add(i);
30245
+ const a = new I.Vector3().subVectors(r, i).applyQuaternion(e).add(i);
30246
30246
  r.copy(a);
30247
30247
  });
30248
30248
  }
@@ -30302,7 +30302,7 @@ class B2 extends P2 {
30302
30302
  }
30303
30303
  }
30304
30304
  function kf(n) {
30305
- const t = new P.Box3(), e = new P.Vector3();
30305
+ const t = new I.Box3(), e = new I.Vector3();
30306
30306
  if (n.traverse((i) => {
30307
30307
  var o;
30308
30308
  if (i.name === "shadow")
@@ -30328,7 +30328,7 @@ class R2 extends C2 {
30328
30328
  u(this, "outline");
30329
30329
  u(this, "originObject");
30330
30330
  u(this, "positionAttribute");
30331
- this.originObject = e, this.positionAttribute = new P.BufferAttribute(new Float32Array(8 * 3), 3), this.box = this.createBox(), this.outline = this.createOutline(), this.add(this.box, this.outline), this.update();
30331
+ this.originObject = e, this.positionAttribute = new I.BufferAttribute(new Float32Array(8 * 3), 3), this.box = this.createBox(), this.outline = this.createOutline(), this.add(this.box, this.outline), this.update();
30332
30332
  }
30333
30333
  raycasterIntersectObject(e, i) {
30334
30334
  return e.intersectObject(this, !1, i);
@@ -30344,16 +30344,16 @@ class R2 extends C2 {
30344
30344
  this.positionAttribute.setXYZ(0, s.x, s.y, s.z), this.positionAttribute.setXYZ(1, i.x, s.y, s.z), this.positionAttribute.setXYZ(2, i.x, i.y, s.z), this.positionAttribute.setXYZ(3, s.x, i.y, s.z), this.positionAttribute.setXYZ(4, s.x, s.y, i.z), this.positionAttribute.setXYZ(5, i.x, s.y, i.z), this.positionAttribute.setXYZ(6, i.x, i.y, i.z), this.positionAttribute.setXYZ(7, s.x, i.y, i.z), this.positionAttribute.needsUpdate = !0;
30345
30345
  }
30346
30346
  createOutline() {
30347
- const e = new Uint16Array([0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7]), i = new P.BufferGeometry();
30348
- i.setIndex(new P.BufferAttribute(e, 1)), i.setAttribute("position", this.positionAttribute);
30349
- const s = new P.LineBasicMaterial({
30347
+ const e = new Uint16Array([0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7]), i = new I.BufferGeometry();
30348
+ i.setIndex(new I.BufferAttribute(e, 1)), i.setAttribute("position", this.positionAttribute);
30349
+ const s = new I.LineBasicMaterial({
30350
30350
  color: 64767,
30351
30351
  linewidth: 1,
30352
30352
  opacity: 1,
30353
30353
  depthTest: !1,
30354
30354
  transparent: !0,
30355
30355
  toneMapped: !1
30356
- }), o = new P.LineSegments(i, s);
30356
+ }), o = new I.LineSegments(i, s);
30357
30357
  return o.matrixAutoUpdate = !1, o;
30358
30358
  }
30359
30359
  createBox() {
@@ -30394,19 +30394,19 @@ class R2 extends C2 {
30394
30394
  6,
30395
30395
  7,
30396
30396
  3
30397
- ]), i = new P.BufferGeometry();
30398
- i.setIndex(new P.BufferAttribute(e, 1)), i.setAttribute("position", this.positionAttribute);
30399
- const s = new P.MeshBasicMaterial({
30397
+ ]), i = new I.BufferGeometry();
30398
+ i.setIndex(new I.BufferAttribute(e, 1)), i.setAttribute("position", this.positionAttribute);
30399
+ const s = new I.MeshBasicMaterial({
30400
30400
  color: 64767,
30401
30401
  opacity: 0.1,
30402
30402
  depthTest: !1,
30403
30403
  transparent: !0
30404
30404
  });
30405
- return new P.Mesh(i, s);
30405
+ return new I.Mesh(i, s);
30406
30406
  }
30407
30407
  }
30408
30408
  function Te(n, t) {
30409
- this._camera = n || null, this._domElement = t || document, this._raycaster = new P.Raycaster(), this._selected = null, this._boundObjs = {};
30409
+ this._camera = n || null, this._domElement = t || document, this._raycaster = new I.Raycaster(), this._selected = null, this._boundObjs = {};
30410
30410
  var e = this;
30411
30411
  this._$onClick = function() {
30412
30412
  e._onClick.apply(e, arguments);
@@ -30506,7 +30506,7 @@ Te.prototype._bound = function(n, t) {
30506
30506
  Te.prototype._onMove = function(n, t, e, i) {
30507
30507
  var s = this._boundObjs[n];
30508
30508
  if (!(s === void 0 || s.length === 0)) {
30509
- var o = new P.Vector2();
30509
+ var o = new I.Vector2();
30510
30510
  o.set(t, e), this._raycaster.setFromCamera(o, this._camera);
30511
30511
  var r = this._raycaster.intersectObjects(s), a = this._selected;
30512
30512
  if (r.length > 0) {
@@ -30520,7 +30520,7 @@ Te.prototype._onMove = function(n, t, e, i) {
30520
30520
  Te.prototype._onEvent = function(n, t, e, i) {
30521
30521
  var s = this._boundObjs[n];
30522
30522
  if (!(s === void 0 || s.length === 0)) {
30523
- var o = new P.Vector2();
30523
+ var o = new I.Vector2();
30524
30524
  o.set(t, e), this._raycaster.setFromCamera(o, this._camera);
30525
30525
  var r = this._raycaster.intersectObjects(s, !0);
30526
30526
  if (r.length !== 0) {
@@ -30708,15 +30708,15 @@ class Cs {
30708
30708
  }
30709
30709
  updateOffsetByScale(t) {
30710
30710
  if (this.boundingBox && this.offset) {
30711
- const e = this.originObject3D.position, i = new P.Vector3().subVectors(this.boundingBox.max, e).multiply(t).add(e), s = new P.Vector3().subVectors(this.boundingBox.min, e).multiply(t).add(e), o = this.calculateOffset(this.offset, { min: s, max: i });
30711
+ const e = this.originObject3D.position, i = new I.Vector3().subVectors(this.boundingBox.max, e).multiply(t).add(e), s = new I.Vector3().subVectors(this.boundingBox.min, e).multiply(t).add(e), o = this.calculateOffset(this.offset, { min: s, max: i });
30712
30712
  this.helperObject3D.position.copy(o), this.helperObject3D.initialPosition();
30713
30713
  }
30714
30714
  }
30715
30715
  hoverListener(t, e = 16777215, i = 1) {
30716
30716
  const s = (Array.isArray(t) ? t : [t]).filter(si), o = [];
30717
30717
  for (const r of s)
30718
- if (r instanceof P.Mesh || r instanceof P.Group) {
30719
- const a = r instanceof P.Group ? r.children.filter((f) => f instanceof P.Mesh) : [r];
30718
+ if (r instanceof I.Mesh || r instanceof I.Group) {
30719
+ const a = r instanceof I.Group ? r.children.filter((f) => f instanceof I.Mesh) : [r];
30720
30720
  a.forEach((f) => {
30721
30721
  f.__originalColor__ = f.material.color.clone(), f.__originalOpacity__ = f.material.opacity;
30722
30722
  });
@@ -30756,7 +30756,7 @@ class Cs {
30756
30756
  return o.object;
30757
30757
  }
30758
30758
  calculateOffset(t, e) {
30759
- const i = this.originObject3D, s = new P.Vector3(0, 0, 0);
30759
+ const i = this.originObject3D, s = new I.Vector3(0, 0, 0);
30760
30760
  if (!t)
30761
30761
  return s;
30762
30762
  const o = () => e || (this.boundingBox ? this.boundingBox : (this.boundingBox = kf(i), this.boundingBox));
@@ -30849,7 +30849,7 @@ class V2 extends Cs {
30849
30849
  const s = (i == null ? void 0 : i.object).direction;
30850
30850
  if (!s)
30851
30851
  return this.dragEnd();
30852
- const o = new P.Vector3(1, 0, 0).applyQuaternion(this.helperObject3D.quaternion), r = new P.Vector3(0, 1, 0).applyQuaternion(this.helperObject3D.quaternion), a = new P.Vector3(0, 0, 1).applyQuaternion(this.helperObject3D.quaternion), l = (() => {
30852
+ const o = new I.Vector3(1, 0, 0).applyQuaternion(this.helperObject3D.quaternion), r = new I.Vector3(0, 1, 0).applyQuaternion(this.helperObject3D.quaternion), a = new I.Vector3(0, 0, 1).applyQuaternion(this.helperObject3D.quaternion), l = (() => {
30853
30853
  switch (s) {
30854
30854
  case "x":
30855
30855
  return o;
@@ -30866,7 +30866,7 @@ class V2 extends Cs {
30866
30866
  case "z":
30867
30867
  return o;
30868
30868
  }
30869
- })(), d = i.point.clone(), h = new P.Plane();
30869
+ })(), d = i.point.clone(), h = new I.Plane();
30870
30870
  h.setFromNormalAndCoplanarPoint(c, d), this.startInfo = { startVectorProject: d.clone().projectOnVector(l), directionVector: l, plane: h }, this.helperObject3D.showDraggingHelper([s]), this.hooks.emit("moveStart"), this.isDragging = !0;
30871
30871
  }
30872
30872
  dragging(e) {
@@ -30878,10 +30878,10 @@ class V2 extends Cs {
30878
30878
  move(e) {
30879
30879
  if (!this.startInfo)
30880
30880
  return this.dragEnd();
30881
- const { plane: i, directionVector: s, startVectorProject: o } = this.startInfo, r = this.originObject3D, a = e.ray.intersectPlane(i, new P.Vector3());
30881
+ const { plane: i, directionVector: s, startVectorProject: o } = this.startInfo, r = this.originObject3D, a = e.ray.intersectPlane(i, new I.Vector3());
30882
30882
  if (!a)
30883
30883
  return;
30884
- const l = a.clone().projectOnVector(s), c = l.clone().sub(o), d = new P.Matrix4();
30884
+ const l = a.clone().projectOnVector(s), c = l.clone().sub(o), d = new I.Matrix4();
30885
30885
  d.setPosition(c);
30886
30886
  const h = r.position.clone().applyMatrix4(d);
30887
30887
  this.hooks.emit("wantToMove", h) || (r.applyMatrix4(d), o.copy(l), this.hooks.emit("applyObjectPosition", { matrix: d }), this.hooks.emit("move", h));
@@ -31054,7 +31054,7 @@ class W2 extends Cs {
31054
31054
  this.helperObject3D.applyHelperQuaternion(this.originObject3D.quaternion);
31055
31055
  }
31056
31056
  setRotateAngle(e) {
31057
- const { x: i = 0, y: s = 0, z: o = 0 } = e, r = new P.Euler(Jr(i), Jr(s), Jr(o)), a = new P.Quaternion().setFromEuler(r);
31057
+ const { x: i = 0, y: s = 0, z: o = 0 } = e, r = new I.Euler(Jr(i), Jr(s), Jr(o)), a = new I.Quaternion().setFromEuler(r);
31058
31058
  if (this.hooks.emit("wantToRotate", a))
31059
31059
  return;
31060
31060
  const { originObject3D: c, rotateCenter: d } = this;
@@ -31086,12 +31086,12 @@ class W2 extends Cs {
31086
31086
  a.y += 0.2, this.setTipsPosition(a);
31087
31087
  const l = (() => {
31088
31088
  if (s === "x")
31089
- return new P.Vector3(1, 0, 0).applyQuaternion(this.originObject3D.quaternion);
31089
+ return new I.Vector3(1, 0, 0).applyQuaternion(this.originObject3D.quaternion);
31090
31090
  if (s === "y")
31091
- return new P.Vector3(0, 1, 0).applyQuaternion(this.originObject3D.quaternion);
31091
+ return new I.Vector3(0, 1, 0).applyQuaternion(this.originObject3D.quaternion);
31092
31092
  if (s === "z")
31093
- return new P.Vector3(0, 0, 1).applyQuaternion(this.originObject3D.quaternion);
31094
- })(), c = new P.Plane().setFromNormalAndCoplanarPoint(l, o), h = c.projectPoint(o.clone(), new P.Vector3()).clone().sub(this.rotateCenter), f = h.angleTo(r.baseAxes.clone().applyQuaternion(this.originObject3D.quaternion));
31093
+ return new I.Vector3(0, 0, 1).applyQuaternion(this.originObject3D.quaternion);
31094
+ })(), c = new I.Plane().setFromNormalAndCoplanarPoint(l, o), h = c.projectPoint(o.clone(), new I.Vector3()).clone().sub(this.rotateCenter), f = h.angleTo(r.baseAxes.clone().applyQuaternion(this.originObject3D.quaternion));
31095
31095
  this.setAngleHelperStart(s, f), this.setAngleHelperLength(s, 0), this.startInfo = { direction: s, startVector: h, plane: c, angleHelper: r, angle: 0, objectQuaternion: this.originObject3D.quaternion.clone() }, this.helperObject3D.showDraggingHelper([s]), this.hooks.emit("rotateStart"), this.isDragging = !0;
31096
31096
  }
31097
31097
  dragging(e) {
@@ -31103,24 +31103,24 @@ class W2 extends Cs {
31103
31103
  rotate(e) {
31104
31104
  if (!this.startInfo)
31105
31105
  return this.dragEnd();
31106
- const { startVector: i, plane: s, angleHelper: o, direction: r, objectQuaternion: a } = this.startInfo, { originObject3D: l } = this, c = e.ray.intersectPlane(s, new P.Vector3());
31106
+ const { startVector: i, plane: s, angleHelper: o, direction: r, objectQuaternion: a } = this.startInfo, { originObject3D: l } = this, c = e.ray.intersectPlane(s, new I.Vector3());
31107
31107
  if (!c)
31108
31108
  return;
31109
- const d = this.rotateCenter.clone(), f = s.projectPoint(c.clone(), new P.Vector3()).clone().sub(d);
31109
+ const d = this.rotateCenter.clone(), f = s.projectPoint(c.clone(), new I.Vector3()).clone().sub(d);
31110
31110
  if (i.angleTo(f) === 0)
31111
31111
  return;
31112
- const m = new P.Quaternion().setFromUnitVectors(i.clone().normalize(), f.clone().normalize()), A = l.quaternion.clone().premultiply(m);
31112
+ const m = new I.Quaternion().setFromUnitVectors(i.clone().normalize(), f.clone().normalize()), A = l.quaternion.clone().premultiply(m);
31113
31113
  if (this.hooks.emit("wantToRotate", A))
31114
31114
  return;
31115
- const b = new P.Euler().setFromQuaternion(
31116
- new P.Quaternion().setFromUnitVectors(
31115
+ const b = new I.Euler().setFromQuaternion(
31116
+ new I.Quaternion().setFromUnitVectors(
31117
31117
  i.clone().normalize().applyQuaternion(a.clone().inverse()),
31118
31118
  f.clone().normalize().applyQuaternion(a.clone().inverse())
31119
31119
  ),
31120
31120
  `${r.toUpperCase()}${"XZY".replace(r.toUpperCase(), "")}`
31121
31121
  )[r] * o.angleDirection;
31122
31122
  if (this.startInfo.angle += b, this.setAngleHelperLength(r, this.startInfo.angle), this.setTipsAngle(yu(this.startInfo.angle)), d) {
31123
- const y = new P.Vector3().subVectors(l.position, d).applyQuaternion(m).add(d);
31123
+ const y = new I.Vector3().subVectors(l.position, d).applyQuaternion(m).add(d);
31124
31124
  l.position.copy(y);
31125
31125
  }
31126
31126
  l.applyQuaternion(m), this.hooks.emit("applyObjectRotate", { quaternion: m, origin: d }), this.hooks.emit("rotate", l.quaternion), this.startInfo.startVector = f;
@@ -31145,17 +31145,17 @@ class W2 extends Cs {
31145
31145
  console.warn("angleHelper is undefined");
31146
31146
  return;
31147
31147
  }
31148
- if (s instanceof P.Mesh && s.geometry instanceof P.CircleGeometry) {
31148
+ if (s instanceof I.Mesh && s.geometry instanceof I.CircleGeometry) {
31149
31149
  const { radius: o, segments: r, thetaLength: a } = s.geometry.parameters;
31150
- s.geometry = new P.CircleGeometry(o, r, i, a);
31150
+ s.geometry = new I.CircleGeometry(o, r, i, a);
31151
31151
  } else
31152
31152
  console.warn("only support THREE.CircleGeometry");
31153
31153
  }
31154
31154
  setAngleHelperLength(e, i) {
31155
31155
  const o = i >= 0 ? Math.max(i, 1e-3) : Math.min(i, -1e-3), r = this.getAngleHelper(e);
31156
- if (r instanceof P.Mesh && r.geometry instanceof P.CircleGeometry) {
31156
+ if (r instanceof I.Mesh && r.geometry instanceof I.CircleGeometry) {
31157
31157
  const { radius: a, thetaStart: l } = r.geometry.parameters, c = Math.ceil(Math.abs(o) * (40 / (2 * Math.PI)));
31158
- r.geometry = new P.CircleGeometry(a, c, l, o);
31158
+ r.geometry = new I.CircleGeometry(a, c, l, o);
31159
31159
  } else
31160
31160
  console.warn("only support THREE.CircleGeometry");
31161
31161
  }
@@ -31200,7 +31200,7 @@ class Y2 extends Cs {
31200
31200
  this.helperObject3D.applyHelperScaleMatrix4(e.matrix, e.origin);
31201
31201
  }
31202
31202
  getDragPlane() {
31203
- const e = new P.Plane(), i = this.helperObject3D.cornerPositions;
31203
+ const e = new I.Plane(), i = this.helperObject3D.cornerPositions;
31204
31204
  if (i.length !== 0)
31205
31205
  return i.length < 3 ? e.setFromNormalAndCoplanarPoint(this.originObject3D.getWorldDirection(new ne()), i[0]) : e.setFromCoplanarPoints(i[0], i[1], i[2]), e;
31206
31206
  }
@@ -31271,9 +31271,9 @@ class Y2 extends Cs {
31271
31271
  case "nwse":
31272
31272
  g(), b();
31273
31273
  }
31274
- const y = new ne().subVectors(r[1], r[0]).length() / h.length(), I = new ne().subVectors(r[3], r[0]).length() / f.length(), C = new ne(y, I, 1), x = new P.Matrix4().scale(C);
31274
+ const y = new ne().subVectors(r[1], r[0]).length() / h.length(), P = new ne().subVectors(r[3], r[0]).length() / f.length(), C = new ne(y, P, 1), x = new I.Matrix4().scale(C);
31275
31275
  i.isCSS3DObjectPlus ? i.applyScaleMatrix4(x) : i.scale.applyMatrix4(x), s.position.copy(a);
31276
- const E = new ne().addVectors(r[0], r[2]).divideScalar(2), B = new ne().subVectors(E, l), Q = new P.Matrix4().setPosition(B);
31276
+ const E = new ne().addVectors(r[0], r[2]).divideScalar(2), B = new ne().subVectors(E, l), Q = new I.Matrix4().setPosition(B);
31277
31277
  i.applyMatrix4(Q), (G = this.helperObject3D.css3DInstance) == null || G.css3DObject.applyMatrix4(Q), (Y = this.helperObject3D.plane) == null || Y.applyMatrix4(Q), this.hooks.emit("applyObjectScale", { matrix: x }), this.hooks.emit("applyObjectPosition", { matrix: Q }), this.render();
31278
31278
  }
31279
31279
  dragEnd() {
@@ -31315,7 +31315,7 @@ class Z2 extends Cs {
31315
31315
  var l, c, d;
31316
31316
  let i = 1, s = 1, o = 1;
31317
31317
  typeof e == "number" ? (i = e, s = e, o = e) : typeof e == "object" && (i = (l = e.x) != null ? l : 1, s = (c = e.y) != null ? c : 1, o = (d = e.z) != null ? d : 1);
31318
- const r = new P.Vector3(i, s, o);
31318
+ const r = new I.Vector3(i, s, o);
31319
31319
  this.hooks.emit("wantToScale", r) || (this.originObject3D.scale.copy(r), this.hooks.emit("setObjectScale", r), this.hooks.emit("scale", r), this.render());
31320
31320
  }
31321
31321
  }
@@ -31422,8 +31422,8 @@ class eE extends Vn {
31422
31422
  const y = e;
31423
31423
  if (!y || y.mode !== "front")
31424
31424
  return;
31425
- const I = (g = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? g : Qh(this.five);
31426
- I && (this.css3DObjectParentMap.set(y, y.parent), y.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(I), (b = this.css3DRender.getBehindCSS3DObjectGroup()) == null || b.add(y), this.css3DRender.render(this.five.camera));
31425
+ const P = (g = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? g : Qh(this.five);
31426
+ P && (this.css3DObjectParentMap.set(y, y.parent), y.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(P), (b = this.css3DRender.getBehindCSS3DObjectGroup()) == null || b.add(y), this.css3DRender.render(this.five.camera));
31427
31427
  }
31428
31428
  });
31429
31429
  } else {
@@ -31933,13 +31933,13 @@ function Ca(n, t) {
31933
31933
  if (e < 1)
31934
31934
  throw new Error("length of points must greater than 2");
31935
31935
  if (e === 2)
31936
- return new P.Vector3(
31936
+ return new I.Vector3(
31937
31937
  Zr(n, t[0].x, t[1].x, t[2].x),
31938
31938
  Zr(n, t[0].y, t[1].y, t[2].y),
31939
31939
  Zr(n, t[0].z, t[1].z, t[2].z)
31940
31940
  );
31941
31941
  if (e === 3)
31942
- return new P.Vector3(
31942
+ return new I.Vector3(
31943
31943
  qr(n, t[0].x, t[1].x, t[2].x, t[3].x),
31944
31944
  qr(n, t[0].y, t[1].y, t[2].y, t[3].y),
31945
31945
  qr(n, t[0].z, t[1].z, t[2].z, t[3].z)
@@ -31951,14 +31951,14 @@ function Ca(n, t) {
31951
31951
  const i = [];
31952
31952
  return t.reduce((s, o) => (i.push(Ca(n, [s, o])), o)), Ca(n, i);
31953
31953
  }
31954
- class gE extends P.Curve {
31954
+ class gE extends I.Curve {
31955
31955
  constructor(e = []) {
31956
31956
  super();
31957
31957
  u(this, "type");
31958
31958
  u(this, "controlPoints");
31959
31959
  this.type = "CustomBezierCurve3", this.controlPoints = e;
31960
31960
  }
31961
- getPoint(e, i = new P.Vector3()) {
31961
+ getPoint(e, i = new I.Vector3()) {
31962
31962
  const s = i, o = Ca(e, this.controlPoints);
31963
31963
  return s.copy(o), s;
31964
31964
  }
@@ -31970,7 +31970,7 @@ class gE extends P.Curve {
31970
31970
  return Object.assign(e, { controlPoints: i });
31971
31971
  }
31972
31972
  fromJSON(e) {
31973
- return super.fromJSON(e), this.controlPoints = e.controlPoints.map((i) => new P.Vector3().fromArray(i)), this;
31973
+ return super.fromJSON(e), this.controlPoints = e.controlPoints.map((i) => new I.Vector3().fromArray(i)), this;
31974
31974
  }
31975
31975
  }
31976
31976
  const pE = (
@@ -32000,7 +32000,7 @@ const pE = (
32000
32000
  }
32001
32001
  `
32002
32002
  );
32003
- class cn extends P.Mesh {
32003
+ class cn extends I.Mesh {
32004
32004
  constructor(e, i = AE) {
32005
32005
  super();
32006
32006
  u(this, "geometryConfig", {
@@ -32016,13 +32016,13 @@ class cn extends P.Mesh {
32016
32016
  u(this, "opacityAnime");
32017
32017
  /** u / m: 每米水管对应到贴图上,应该对应的 u 的长度 */
32018
32018
  u(this, "uPreMeter", 1);
32019
- e.geometryConfig && (this.geometryConfig = R(R({}, this.geometryConfig), e.geometryConfig)), this.customID = e.id || this.uuid, this.pathPoints = e.path, this.path = cn.calculatePath(e.path.map((l) => new P.Vector3().fromArray(l))), this.pathLength = this.path.getLength(), this.texture = cn.formatTexture(e.texture);
32019
+ e.geometryConfig && (this.geometryConfig = R(R({}, this.geometryConfig), e.geometryConfig)), this.customID = e.id || this.uuid, this.pathPoints = e.path, this.path = cn.calculatePath(e.path.map((l) => new I.Vector3().fromArray(l))), this.pathLength = this.path.getLength(), this.texture = cn.formatTexture(e.texture);
32020
32020
  const { radius: s, tubularSegments: o, radialSegments: r } = this.geometryConfig, a = cn.formatTexture(e.texture);
32021
32021
  this.geometry = cn.formatGeometryUV(
32022
- new P.TubeBufferGeometry(this.path, o, s, r),
32022
+ new I.TubeBufferGeometry(this.path, o, s, r),
32023
32023
  this.pathLength,
32024
32024
  this.uPreMeter
32025
- ), this.material = new P.ShaderMaterial({
32025
+ ), this.material = new I.ShaderMaterial({
32026
32026
  uniforms: {
32027
32027
  opacity: { value: 1 },
32028
32028
  uOffset: { value: 0 },
@@ -32041,7 +32041,7 @@ class cn extends P.Mesh {
32041
32041
  * @description 两个控制点使用直线路径,多个控制点使用贝塞尔路径
32042
32042
  */
32043
32043
  static calculatePath(e) {
32044
- return e.length === 2 ? new P.LineCurve3(e[0], e[1]) : new gE(e);
32044
+ return e.length === 2 ? new I.LineCurve3(e[0], e[1]) : new gE(e);
32045
32045
  }
32046
32046
  static formatGeometryUV(e, i, s) {
32047
32047
  const o = e.getAttribute("uv");
@@ -32055,7 +32055,7 @@ class cn extends P.Mesh {
32055
32055
  * 管道的 Texture 需要满足一定的要求,需要使用 formatTexture 先 format
32056
32056
  */
32057
32057
  static formatTexture(e) {
32058
- return e.wrapS = P.RepeatWrapping, e.wrapT = P.RepeatWrapping, e;
32058
+ return e.wrapS = I.RepeatWrapping, e.wrapT = I.RepeatWrapping, e;
32059
32059
  }
32060
32060
  hide(e) {
32061
32061
  return _(this, null, function* () {
@@ -32219,7 +32219,7 @@ let yE = class extends oi {
32219
32219
  enabled: !0,
32220
32220
  isFlowing: !1,
32221
32221
  speed: Ph
32222
- }, this.five = e, this.group = new P.Group(), this.group.name = "water-pipe-group", this.five.scene.add(this.group), this.five.once("dispose", this.dispose), this.five.on("wantsTapGesture", this.onWantsFiveTapGesture);
32222
+ }, this.five = e, this.group = new I.Group(), this.group.name = "water-pipe-group", this.five.scene.add(this.group), this.five.once("dispose", this.dispose), this.five.on("wantsTapGesture", this.onWantsFiveTapGesture);
32223
32223
  }
32224
32224
  /** 加载管道数据,重复调用会使用新数据覆盖旧数据
32225
32225
  * @param `data` `<Plugin.ServerData>` Open API 接口返回的数据。
@@ -32623,9 +32623,9 @@ class ME {
32623
32623
  /** 标注标签是否可见 */
32624
32624
  u(this, "tagVisible", !0);
32625
32625
  /** 标注标签的世界坐标 */
32626
- u(this, "tagPosition", new P.Vector3());
32626
+ u(this, "tagPosition", new I.Vector3());
32627
32627
  /** 标注标签的 NDC 坐标 */
32628
- u(this, "tagNDCPosition", new P.Vector3());
32628
+ u(this, "tagNDCPosition", new I.Vector3());
32629
32629
  /** 标注标签的 transform */
32630
32630
  u(this, "tagTransform", { left: 0, top: 0 });
32631
32631
  /** 标注标签的显示层级 */
@@ -32725,7 +32725,7 @@ class ME {
32725
32725
  return { result: !1, msg: "标注整体不可见" };
32726
32726
  if (this.isInContainerResizeAnimation)
32727
32727
  return { result: !1, msg: "处于容器 resize 动画中" };
32728
- const e = this.plugin.five, i = new P.Raycaster(), s = e.camera.position.clone();
32728
+ const e = this.plugin.five, i = new I.Raycaster(), s = e.camera.position.clone();
32729
32729
  i.set(s.clone(), this.tagPosition.clone().sub(s).normalize());
32730
32730
  const [o] = e.model.intersectRaycaster(i), r = this.tagPosition.distanceTo(e.camera.position);
32731
32731
  if (o && o.distance + 0.1 < r)
@@ -32746,10 +32746,10 @@ class ME {
32746
32746
  this.containerResizeTimeoutID && clearTimeout(this.containerResizeTimeoutID), this.containerResizeTimeoutID = setTimeout(e, 100);
32747
32747
  });
32748
32748
  var l, c, d;
32749
- const i = e.object_data, s = i.bottom_y, o = i.height, r = new P.Color((l = i.color) != null ? l : "#FFFFFF"), a = (c = i.opacity) != null ? c : 0.4;
32750
- this.id = e.id, this.name = (d = e.name) != null ? d : "", this.plugin = t, this.height = o, this.bottomY = s, this.opacity = a, this.shape = new P.Shape().fromJSON(i.shape), this.floorIndex = e.floor_index, this.makerObject = new P.Mesh(Eh(this.shape, o), xE(r, a)), Kr(this.makerObject, s), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new Uh(
32751
- new P.EdgesGeometry(this.makerObject.geometry),
32752
- new P.LineBasicMaterial({ color: r, transparent: !0 })
32749
+ const i = e.object_data, s = i.bottom_y, o = i.height, r = new I.Color((l = i.color) != null ? l : "#FFFFFF"), a = (c = i.opacity) != null ? c : 0.4;
32750
+ this.id = e.id, this.name = (d = e.name) != null ? d : "", this.plugin = t, this.height = o, this.bottomY = s, this.opacity = a, this.shape = new I.Shape().fromJSON(i.shape), this.floorIndex = e.floor_index, this.makerObject = new I.Mesh(Eh(this.shape, o), xE(r, a)), Kr(this.makerObject, s), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new Uh(
32751
+ new I.EdgesGeometry(this.makerObject.geometry),
32752
+ new I.LineBasicMaterial({ color: r, transparent: !0 })
32753
32753
  ), Kr(this.outline, s), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(o), this.modelGroup = new kE(this);
32754
32754
  }
32755
32755
  /** 挂载标注 */
@@ -32782,7 +32782,7 @@ class ME {
32782
32782
  * @example setColor('#FF0000')
32783
32783
  */
32784
32784
  setColor(t) {
32785
- const e = new P.Color(t);
32785
+ const e = new I.Color(t);
32786
32786
  this.makerObject.material.color = e, this.outline.material.color = e, this.plugin.five.needsRender = !0;
32787
32787
  }
32788
32788
  /** 更改标注高度
@@ -32791,8 +32791,8 @@ class ME {
32791
32791
  setHeight(t) {
32792
32792
  if (t <= 0)
32793
32793
  throw new Error("高度必须大于 0");
32794
- this.height = t, this.makerObject.geometry = Eh(this.shape, t), this.outline.geometry = new P.EdgesGeometry(this.makerObject.geometry);
32795
- const e = this.shape.extractPoints(10).shape.slice(0, -1), i = sv(e), s = new P.Vector3(i.x, i.y, t);
32794
+ this.height = t, this.makerObject.geometry = Eh(this.shape, t), this.outline.geometry = new I.EdgesGeometry(this.makerObject.geometry);
32795
+ const e = this.shape.extractPoints(10).shape.slice(0, -1), i = sv(e), s = new I.Vector3(i.x, i.y, t);
32796
32796
  Kr(s, this.bottomY), this.tagPosition.copy(s), this.updateTag(), this.plugin.five.needsRender = !0;
32797
32797
  }
32798
32798
  /** 更改标注标签的显示层级
@@ -32809,20 +32809,20 @@ class ME {
32809
32809
  }
32810
32810
  }
32811
32811
  function Eh(n, t) {
32812
- return new P.ExtrudeBufferGeometry(n, {
32812
+ return new I.ExtrudeBufferGeometry(n, {
32813
32813
  depth: t,
32814
32814
  bevelEnabled: !1
32815
32815
  });
32816
32816
  }
32817
32817
  function xE(n, t) {
32818
- return new P.MeshBasicMaterial({
32818
+ return new I.MeshBasicMaterial({
32819
32819
  color: n,
32820
32820
  opacity: t,
32821
32821
  transparent: !0
32822
32822
  });
32823
32823
  }
32824
32824
  function Kr(n, t) {
32825
- const e = new P.Matrix4(), i = new P.Matrix4().makeRotationX(Math.PI / 2), s = new P.Matrix4().makeTranslation(0, 0, -t), o = new P.Matrix4().makeScale(1, 1, -1);
32825
+ const e = new I.Matrix4(), i = new I.Matrix4().makeRotationX(Math.PI / 2), s = new I.Matrix4().makeTranslation(0, 0, -t), o = new I.Matrix4().makeScale(1, 1, -1);
32826
32826
  e.multiply(i), e.multiply(s), e.multiply(o), n.applyMatrix4(e);
32827
32827
  }
32828
32828
  class DE extends oi {
@@ -32913,7 +32913,7 @@ class DE extends oi {
32913
32913
  const o = R({
32914
32914
  modelDepthTest: !0
32915
32915
  }, i == null ? void 0 : i.config);
32916
- this._config = o, this.modelGroup = new P.Group(), this.modelGroup.name = "ModelMakerPluginGroup", this.itemMap = /* @__PURE__ */ new Map(), this.state.enabled && this._enable({ userAction: !1 });
32916
+ this._config = o, this.modelGroup = new I.Group(), this.modelGroup.name = "ModelMakerPluginGroup", this.itemMap = /* @__PURE__ */ new Map(), this.state.enabled && this._enable({ userAction: !1 });
32917
32917
  }
32918
32918
  /** 插件配置项 */
32919
32919
  get config() {
@@ -33053,7 +33053,7 @@ class DE extends oi {
33053
33053
  }
33054
33054
  return i(e) ? {
33055
33055
  list: e.list.filter((s) => s.object_data.points.length >= 3).map((s) => {
33056
- const o = new P.Shape(), r = s.object_data.points[0];
33056
+ const o = new I.Shape(), r = s.object_data.points[0];
33057
33057
  return o.moveTo(r[0], r[2]), s.object_data.points.slice(1).forEach((l) => o.lineTo(l[0], l[2])), o.lineTo(r[0], r[2]), fe(R({}, s), {
33058
33058
  floor_index: s.object_data.floorIndex,
33059
33059
  object_data: fe(R({}, s.object_data), {
@@ -33116,7 +33116,7 @@ class SE extends Vn {
33116
33116
  pluginHidden: ""
33117
33117
  });
33118
33118
  // ==================== private properties ====================
33119
- u(this, "group", new P.Group());
33119
+ u(this, "group", new I.Group());
33120
33120
  u(this, "mesh");
33121
33121
  u(this, "textureLoadingPromise");
33122
33122
  u(this, "opacityAnimeTween");
@@ -33180,9 +33180,9 @@ class SE extends Vn {
33180
33180
  yRotate: 0,
33181
33181
  imageURL: this.absoluteUrl("/release/web/logo.7febb17f.png")
33182
33182
  }, i == null ? void 0 : i.config);
33183
- this._config = o, this.group.name = "current-pano-image-plugin-group", this.mesh = new P.Mesh(
33184
- new P.PlaneBufferGeometry(this.config.width, this.config.width),
33185
- new P.MeshBasicMaterial({ transparent: !0, opacity: 0, depthTest: !1 })
33183
+ this._config = o, this.group.name = "current-pano-image-plugin-group", this.mesh = new I.Mesh(
33184
+ new I.PlaneBufferGeometry(this.config.width, this.config.width),
33185
+ new I.MeshBasicMaterial({ transparent: !0, opacity: 0, depthTest: !1 })
33186
33186
  ), this.mesh.visible = !1, this.group.add(this.mesh), this.updateMeshQuaternion(this.config.yRotate), this.state.visible || (this.checkMsg.pluginHidden = "初始值设置为隐藏"), this.state.enabled || (this.checkMsg.pluginDisabled = "初始值设置为禁用"), this.state.enabled && this._enable({ userAction: !1 }), this.five.once("dispose", this.dispose);
33187
33187
  }
33188
33188
  /** 插件配置项 */
@@ -33263,7 +33263,7 @@ class SE extends Vn {
33263
33263
  updateConfig(e, i = {}) {
33264
33264
  var r;
33265
33265
  const s = this.config, o = R(R({}, s), e);
33266
- this._config = o, s.imageURL !== o.imageURL && this.reloadTexture(o.imageURL), s.yOffset !== o.yOffset && this.updateMeshPosition(this.five.getCurrentState().panoIndex), s.yRotate !== o.yRotate && this.updateMeshQuaternion(o.yRotate), s.width !== o.width && (this.mesh.geometry = new P.PlaneBufferGeometry(o.width, o.width)), this.hooks.emit("configChange", { prevConfig: s, config: o, userAction: (r = i.userAction) != null ? r : !0 });
33266
+ this._config = o, s.imageURL !== o.imageURL && this.reloadTexture(o.imageURL), s.yOffset !== o.yOffset && this.updateMeshPosition(this.five.getCurrentState().panoIndex), s.yRotate !== o.yRotate && this.updateMeshQuaternion(o.yRotate), s.width !== o.width && (this.mesh.geometry = new I.PlaneBufferGeometry(o.width, o.width)), this.hooks.emit("configChange", { prevConfig: s, config: o, userAction: (r = i.userAction) != null ? r : !0 });
33267
33267
  }
33268
33268
  /** 问什么看不到模型 */
33269
33269
  __whyCantSeeMesh() {
@@ -33298,19 +33298,19 @@ class SE extends Vn {
33298
33298
  const i = fi(e);
33299
33299
  this.textureLoadingPromise = i;
33300
33300
  const s = yield i;
33301
- this.textureLoadingPromise === i && (this.onTextureLoaded(s), this.textureLoadingPromise = null);
33301
+ s.minFilter = I.LinearFilter, this.textureLoadingPromise === i && (this.onTextureLoaded(s), this.textureLoadingPromise = null);
33302
33302
  }
33303
33303
  this.updateMeshVisible();
33304
33304
  });
33305
33305
  }
33306
33306
  /** north_rad 变化时,需要更新模型的旋转角度 */
33307
33307
  updateMeshQuaternion(e) {
33308
- const i = new P.Quaternion();
33308
+ const i = new I.Quaternion();
33309
33309
  i.multiplyQuaternions(
33310
33310
  // 沿着自身 X 轴旋转 -90 度
33311
- new P.Quaternion().setFromAxisAngle(new P.Vector3(1, 0, 0), -Math.PI / 2),
33311
+ new I.Quaternion().setFromAxisAngle(new I.Vector3(1, 0, 0), -Math.PI / 2),
33312
33312
  // 沿着自身 Z 轴旋转 rad 弧度
33313
- new P.Quaternion().setFromAxisAngle(new P.Vector3(0, 0, 1), e)
33313
+ new I.Quaternion().setFromAxisAngle(new I.Vector3(0, 0, 1), e)
33314
33314
  ), this.mesh.quaternion.copy(i);
33315
33315
  }
33316
33316
  _enable(e) {