@realsee/dnalogel 3.2.0 → 3.2.2

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.
@@ -1,29 +1,29 @@
1
1
  var P = Object.defineProperty, V = Object.defineProperties;
2
- var F = Object.getOwnPropertyDescriptors;
2
+ var T = Object.getOwnPropertyDescriptors;
3
3
  var k = Object.getOwnPropertySymbols;
4
- var L = Object.prototype.hasOwnProperty, T = Object.prototype.propertyIsEnumerable;
5
- var b = (n, e, t) => e in n ? P(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, d = (n, e) => {
4
+ var F = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
5
+ var b = (h, e, t) => e in h ? P(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, u = (h, e) => {
6
6
  for (var t in e || (e = {}))
7
- L.call(e, t) && b(n, t, e[t]);
7
+ F.call(e, t) && b(h, t, e[t]);
8
8
  if (k)
9
9
  for (var t of k(e))
10
- T.call(e, t) && b(n, t, e[t]);
11
- return n;
12
- }, p = (n, e) => V(n, F(e));
13
- var i = (n, e, t) => (b(n, typeof e != "symbol" ? e + "" : e, t), t);
14
- import * as h from "three";
15
- import { logWarning as x, logError as U } from "../../shared-utils/log.js";
16
- import { createLineGeometry as S } from "../utils/createLineGeometry.js";
17
- import { isPanoramaLike as _, isModelLike as M } from "../../shared-utils/five/mode.js";
10
+ L.call(e, t) && b(h, t, e[t]);
11
+ return h;
12
+ }, p = (h, e) => V(h, T(e));
13
+ var i = (h, e, t) => (b(h, typeof e != "symbol" ? e + "" : e, t), t);
14
+ import * as n from "three";
15
+ import { logWarning as x, logError as S } from "../../shared-utils/log.js";
16
+ import { createLineGeometry as U } from "../utils/createLineGeometry.js";
17
+ import { isPanoramaLike as M, isModelLike as _ } from "../../shared-utils/five/mode.js";
18
18
  import "hammerjs";
19
19
  import "@realsee/five";
20
20
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
21
21
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
22
22
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
- import { BetterTween as G, tweenProgress as O } from "../../shared-utils/animationFrame/BetterTween.js";
24
- import { loadTexture as E } from "../../shared-utils/three/loadTexture.js";
23
+ import { BetterTween as O, tweenProgress as G } from "../../shared-utils/animationFrame/BetterTween.js";
24
+ import { loadTexture as A } from "../../shared-utils/three/loadTexture.js";
25
25
  import w from "../../PanoTagPlugin/controller/index.js";
26
- import A from "../Components/Tag.js";
26
+ import E from "../Components/Tag.js";
27
27
  import { filterAdjacentDistinct as B } from "../utils/index.js";
28
28
  import { objectAssignDeepExports as I } from "../../vendor/object-assign-deep/objectAssignDeep.js";
29
29
  const R = (
@@ -155,8 +155,8 @@ class N {
155
155
  i(this, "plugin");
156
156
  i(this, "textureHasLoaded", !1);
157
157
  i(this, "disposed", !1);
158
- i(this, "flowAnime", new G({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
159
- i(this, "flickerAnime", O(300).yoyo(!0).repeat(5));
158
+ i(this, "flowAnime", new O({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
159
+ i(this, "flickerAnime", G(300).yoyo(!0).repeat(5));
160
160
  /** 缓存 panoGroup 中每个点距离起点的长度 */
161
161
  i(this, "cacheLengths", []);
162
162
  /** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
@@ -175,7 +175,7 @@ class N {
175
175
  });
176
176
  /** 模型状态变更 */
177
177
  i(this, "onFiveModeChange", (e) => {
178
- this.modeVisible = this.mode === "panorama" ? _(e) : M(e), this.updateVisible();
178
+ this.modeVisible = this.mode === "panorama" ? M(e) : _(e), this.updateVisible();
179
179
  });
180
180
  i(this, "onFiveModelShownFloorChange", (e) => {
181
181
  this.floorVisible = e === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(e), this.updateVisible();
@@ -190,30 +190,30 @@ class N {
190
190
  this.mesh.material.uniforms.vOffset.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
191
191
  });
192
192
  i(this, "onFlickerAnimeUpdate", (e) => {
193
- var r, a, o, u;
194
- const { progress: t } = e, s = 1 - t;
195
- this.mesh.material.uniforms.flicker.value = s, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && y(this.startTagContainer.tag) && ((o = this.startTagContainer.app) == null || o.$set(p(d({}, this.startTagContainer.tag.data), {
196
- opacity: s,
193
+ var s, a, o, d;
194
+ const { progress: t } = e, r = 1 - t;
195
+ this.mesh.material.uniforms.flicker.value = r, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && y(this.startTagContainer.tag) && ((o = this.startTagContainer.app) == null || o.$set(p(u({}, this.startTagContainer.tag.data), {
196
+ opacity: r,
197
197
  name: this.name,
198
- distance: Math.round((a = (r = this.curvePath) == null ? void 0 : r.getLength()) != null ? a : 0)
199
- }))), this.endTagContainer.tag && y(this.endTagContainer.tag) && ((u = this.endTagContainer.app) == null || u.$set(p(d({}, this.endTagContainer.tag.data), { opacity: s })));
198
+ distance: Math.round((a = (s = this.curvePath) == null ? void 0 : s.getLength()) != null ? a : 0)
199
+ }))), this.endTagContainer.tag && y(this.endTagContainer.tag) && ((d = this.endTagContainer.app) == null || d.$set(p(u({}, this.endTagContainer.tag.data), { opacity: r })));
200
200
  });
201
201
  i(this, "logWarning", (e) => x("GuideLineModeItem: ", e));
202
- i(this, "logError", (e) => U("GuideLineModeItem: ", e));
202
+ i(this, "logError", (e) => S("GuideLineModeItem: ", e));
203
203
  var a, o;
204
204
  this.five = e, this.mode = t.mode, this.plugin = t.plugin, this.parent = t.parent, this.startTagContainer = { tag: null, plugin: new w(this.five) }, this.endTagContainer = { tag: null, plugin: new w(this.five) };
205
- const s = new h.BufferGeometry(), r = new h.ShaderMaterial({
205
+ const r = new n.BufferGeometry(), s = new n.ShaderMaterial({
206
206
  vertexShader: R,
207
207
  fragmentShader: W,
208
208
  transparent: !0,
209
209
  uniforms: {
210
210
  map: { value: null },
211
211
  useMapColor: { value: 0 },
212
- mapColor: { value: new h.Color() },
212
+ mapColor: { value: new n.Color() },
213
213
  mapOpacity: { value: 1 },
214
- backgroundColor: { value: new h.Color() },
214
+ backgroundColor: { value: new n.Color() },
215
215
  backgroundOpacity: { value: 0 },
216
- borderColor: { value: new h.Color() },
216
+ borderColor: { value: new n.Color() },
217
217
  borderOpacity: { value: 0 },
218
218
  opacity: { value: 1 },
219
219
  flicker: { value: 1 },
@@ -221,7 +221,7 @@ class N {
221
221
  vOffset: { value: 0 }
222
222
  }
223
223
  });
224
- this.mesh = new h.Mesh(s, r), 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((o = (a = this.five.model) == null ? void 0 : a.shownFloor) != null ? o : 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);
224
+ this.mesh = new n.Mesh(r, 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((o = (a = this.five.model) == null ? void 0 : a.shownFloor) != null ? o : 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);
225
225
  }
226
226
  get panoGroup() {
227
227
  return this._panoGroup;
@@ -268,65 +268,73 @@ class N {
268
268
  return this.logError("disposed");
269
269
  if (!this.five.work)
270
270
  return this.logError("setPathByPanoGroup: work is not ready");
271
- const s = B(e);
272
- if (this._panoGroup = s, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
273
- const a = t.skipPanoGroup ? s.map((o) => this.five.work.observers[o]).map((o) => o.standingPosition.clone()) : null;
271
+ const r = B(e);
272
+ if (this._panoGroup = r, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
273
+ const a = t.skipPanoGroup ? r.map((o) => this.five.work.observers[o]).map((o) => o.standingPosition.clone()) : null;
274
274
  this.skippedPositions = a;
275
275
  }
276
- const r = this.getPathFromPanoGroup(s, this.five.work, t);
277
- this.path = r, this.setGeometryByPath(r, t);
276
+ const s = this.getPathFromPanoGroup(r, this.five.work, t);
277
+ this.path = s, this.setGeometryByPath(s, t);
278
278
  }
279
279
  /** 通过路径设置线条形状 */
280
280
  setGeometryByPath(e, t) {
281
- var c, v, C;
281
+ var f, v, C;
282
282
  if (this.disposed)
283
283
  return this.logError("disposed");
284
- const s = (c = t == null ? void 0 : t.scale) != null ? c : this.scale, r = (v = t == null ? void 0 : t.width) != null ? v : this.width, a = (C = t == null ? void 0 : t.unit_length) != null ? C : this.unitLength;
285
- this.scale = s, this.width = r, this.unitLength = a;
286
- const { geometry: o, maxU: u, curvePath: g, curvePoints: m } = S({
284
+ const r = (f = t == null ? void 0 : t.scale) != null ? f : this.scale, s = (v = t == null ? void 0 : t.width) != null ? v : this.width, a = (C = t == null ? void 0 : t.unit_length) != null ? C : this.unitLength;
285
+ this.scale = r, this.width = s, this.unitLength = a;
286
+ const { geometry: o, maxU: d, curvePath: g, curvePoints: m } = U({
287
287
  path: e,
288
- width: r * s,
289
- unitLength: a * s,
288
+ width: s * r,
289
+ unitLength: a * r,
290
290
  skipPositions: this.skippedPositions
291
291
  });
292
- this._curvePath = g, this._curvePoints = m, this.mesh.geometry = o, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = u, this.five.needsRender = !0;
293
- const l = e, f = d(d({}, this.geometryStyle), t);
294
- this.path = l, this.geometryStyle = f;
292
+ this._curvePath = g, this._curvePoints = m, this.mesh.geometry = o, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = d, this.five.needsRender = !0;
293
+ const l = e, c = u(u({}, this.geometryStyle), t);
294
+ this.path = l, this.geometryStyle = c;
295
295
  }
296
296
  /** 设置线条材质 */
297
297
  setMartial(e) {
298
- var s;
298
+ var r;
299
299
  if (this.disposed)
300
300
  return this.logError("disposed");
301
- (e == null ? void 0 : e.visible) !== void 0 && this.setDefaultVisible(e.visible), (e == null ? void 0 : e.color) !== void 0 && this.setColor(e.color), (e == null ? void 0 : e.opacity) !== void 0 && this.setOpacity(e.opacity), ((s = e == null ? void 0 : e.texture) == null ? void 0 : s.url) !== void 0 && this.setTextureUrl(e.texture.url), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity);
302
- const t = d(d({}, this.materialStyle), e);
301
+ (e == null ? void 0 : e.visible) !== void 0 && this.setDefaultVisible(e.visible), (e == null ? void 0 : e.color) !== void 0 && this.setColor(e.color), (e == null ? void 0 : e.opacity) !== void 0 && this.setOpacity(e.opacity), ((r = e == null ? void 0 : e.texture) == null ? void 0 : r.url) !== void 0 && this.setTextureUrl(e.texture.url), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity);
302
+ const t = u(u({}, this.materialStyle), e);
303
303
  this.materialStyle = t;
304
304
  }
305
305
  /** 设置模型状态 */
306
306
  setMeshStyle(e) {
307
307
  if (e != null && e.translate) {
308
- const s = new h.Vector3(), r = new h.Vector3().fromArray(e.translate);
309
- s.add(r), s.y += this.heightOffset, this.mesh.position.copy(s);
308
+ const s = new n.Vector3(), a = new n.Vector3().fromArray(e.translate);
309
+ a.y += this.heightOffset, s.add(a), this.mesh.position.copy(s), r(this.startTagContainer, a), r(this.endTagContainer, a);
310
310
  }
311
- const t = d(d({}, this.meshStyle), e);
311
+ const t = u(u({}, this.meshStyle), e);
312
312
  this.meshStyle = t;
313
+ function r(s, a) {
314
+ if (!s.tag)
315
+ return;
316
+ const o = new n.Vector3().fromArray(s.tag.position);
317
+ o.add(a);
318
+ const d = o.toArray();
319
+ s.plugin.changeTagById(s.tag.id, { position: d });
320
+ }
313
321
  }
314
322
  /** 设置 Y 轴上的偏移量,为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
315
323
  setHeightOffset(e) {
316
- const t = new h.Vector3();
317
- this.meshStyle.translate && t.add(new h.Vector3().fromArray(this.meshStyle.translate)), t.setY(t.y + e), this.mesh.position.copy(t), this.heightOffset = e, this.five.needsRender = !0;
324
+ const t = new n.Vector3();
325
+ this.meshStyle.translate && t.add(new n.Vector3().fromArray(this.meshStyle.translate)), t.setY(t.y + e), this.mesh.position.copy(t), this.heightOffset = e, this.five.needsRender = !0;
318
326
  }
319
327
  /** 设置贴图颜色 */
320
328
  setColor(e) {
321
329
  if (this.disposed)
322
330
  return this.logError("disposed");
323
- e && (this.mesh.material.uniforms.mapColor.value = new h.Color().set(e)), this.mesh.material.uniforms.useMapColor.value = e ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
331
+ e && (this.mesh.material.uniforms.mapColor.value = new n.Color().set(e)), this.mesh.material.uniforms.useMapColor.value = e ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
324
332
  }
325
333
  /** 设置边框 */
326
334
  setBorderColor(e) {
327
335
  if (this.disposed)
328
336
  return this.logError("disposed");
329
- this.mesh.material.uniforms.borderColor.value = new h.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
337
+ this.mesh.material.uniforms.borderColor.value = new n.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
330
338
  }
331
339
  /** 设置边框透明度 */
332
340
  setBorderOpacity(e) {
@@ -338,7 +346,7 @@ class N {
338
346
  setBackgroundColor(e) {
339
347
  if (this.disposed)
340
348
  return this.logError("disposed");
341
- this.mesh.material.uniforms.backgroundColor.value = new h.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
349
+ this.mesh.material.uniforms.backgroundColor.value = new n.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
342
350
  }
343
351
  /** 设置背景透明度 */
344
352
  setBackgroundOpacity(e) {
@@ -362,15 +370,15 @@ class N {
362
370
  setTextureUrl(e) {
363
371
  if (this.disposed)
364
372
  return this.logError("disposed");
365
- this.textureUrl = e, E(e).then((t) => {
366
- this.disposed || this.textureUrl === e && (t.wrapT = h.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
373
+ this.textureUrl = e, A(e).then((t) => {
374
+ this.disposed || this.textureUrl === e && (t.wrapT = n.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
367
375
  });
368
376
  }
369
377
  setVisibleFloorIndexes(e) {
370
- var t, s;
378
+ var t, r;
371
379
  if (this.disposed)
372
380
  return this.logError("disposed");
373
- this._visibleFloorIndexes = e, this.onFiveModelShownFloorChange((s = (t = this.five.model) == null ? void 0 : t.shownFloor) != null ? s : null);
381
+ this._visibleFloorIndexes = e, this.onFiveModelShownFloorChange((r = (t = this.five.model) == null ? void 0 : t.shownFloor) != null ? r : null);
374
382
  }
375
383
  setStartTag(e) {
376
384
  this.setTag("start", e);
@@ -397,19 +405,19 @@ class N {
397
405
  var m;
398
406
  if (!this.curvePoints || !this.curvePath)
399
407
  return [];
400
- const e = this.panoGroup.map((l) => this.five.work.observers[l]), t = this.curvePoints.length, s = this.curvePath.getLength(), r = t - 1, a = s / r, o = (m = this.curvePath.getLengths(r)) != null ? m : [], u = [];
408
+ const e = this.panoGroup.map((l) => this.five.work.observers[l]), t = this.curvePoints.length, r = this.curvePath.getLength(), s = t - 1, a = r / s, o = (m = this.curvePath.getLengths(s)) != null ? m : [], d = [];
401
409
  let g = 0;
402
410
  for (let l = 0; l < t; l++) {
403
- const f = this.curvePoints[l], c = e[g];
404
- if (!c)
411
+ const c = this.curvePoints[l], f = e[g];
412
+ if (!f)
405
413
  break;
406
- c.standingPosition.clone().setY(0).distanceTo(f.clone().setY(0)) < a && (u.push(o[l]), g += 1);
414
+ f.standingPosition.clone().setY(0).distanceTo(c.clone().setY(0)) < a && (d.push(o[l]), g += 1);
407
415
  }
408
- return u;
416
+ return d;
409
417
  }
410
418
  setTag(e, t) {
411
- const s = this.curvePath, r = e === "start" ? this.startTagContainer : this.endTagContainer;
412
- t || r.plugin.clearTags();
419
+ const r = this.curvePath, s = e === "start" ? this.startTagContainer : this.endTagContainer;
420
+ t != null && t.data || s.plugin.clearTags();
413
421
  const o = I({}, {
414
422
  contentType: "Custom",
415
423
  stickType: "2DPoint",
@@ -417,12 +425,19 @@ class N {
417
425
  style: { point: { enabled: !1 } },
418
426
  data: {}
419
427
  }, t);
420
- r.tag = o, y(o) && (r.tag.element = (u) => {
421
- var l, f;
422
- (l = r.app) == null || l.$destroy();
423
- const g = e === "start" ? p(d({}, o.data), { name: this.name, distance: Math.round((f = s.getLength()) != null ? f : 0), i18n: this.plugin.config.i18n }) : o.data, m = new A({ target: u, intro: !0, props: g });
424
- return r.app = m, () => m.$destroy();
425
- }), r.plugin.load({ tagList: [r.tag] });
428
+ s.tag = o, y(o) && (s.tag.element = (g) => {
429
+ var c, f;
430
+ (c = s.app) == null || c.$destroy();
431
+ const m = e === "start" ? p(u({}, o.data), { name: this.name, distance: Math.round((f = r.getLength()) != null ? f : 0), i18n: this.plugin.config.i18n }) : o.data, l = new E({ target: g, intro: !0, props: m });
432
+ return s.app = l, () => l.$destroy();
433
+ }), s.plugin.load({ tagList: [s.tag] });
434
+ const d = this.meshStyle.translate;
435
+ if (d && o.position) {
436
+ const g = new n.Vector3().fromArray(o.position), m = new n.Vector3().fromArray(d);
437
+ g.add(m), g.y += this.heightOffset;
438
+ const l = g.toArray();
439
+ s.plugin.changeTagById(s.tag.id, { position: l });
440
+ }
426
441
  }
427
442
  doShow() {
428
443
  this.mode === "model" && this.flowAnime.play(), this.five.scene.add(this.mesh), this.startTagContainer.plugin.show(), this.endTagContainer.plugin.show(), this.five.needsRender = !0;
@@ -431,15 +446,15 @@ class N {
431
446
  this.mode === "model" && this.flowAnime.stop(), this.five.scene.remove(this.mesh), this.startTagContainer.plugin.hide(), this.endTagContainer.plugin.hide(), this.five.needsRender = !0;
432
447
  }
433
448
  /** 通过 panoIndex 数组计算路径 */
434
- getPathFromPanoGroup(e, t, s) {
449
+ getPathFromPanoGroup(e, t, r) {
435
450
  if (e.length < 2)
436
451
  return [];
437
452
  const a = e.map((o) => t.observers[o]).map((o) => o.standingPosition.toArray());
438
- return [d({ type: "CatmullRomCurve3", points: a }, s)];
453
+ return [u({ type: "CatmullRomCurve3", points: a }, r)];
439
454
  }
440
455
  }
441
- function y(n) {
442
- return n.contentType === "Custom";
456
+ function y(h) {
457
+ return h.contentType === "Custom";
443
458
  }
444
459
  const se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
445
460
  __proto__: null,
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.2.0");
17
+ i(this, "VERSION", "3.2.2");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.2.0",
3
+ "%c %c@realsee/dnalogel %cv3.2.2",
4
4
  [
5
5
  "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=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "3.2.0",
10
+ "version": "3.2.2",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",