@realsee/dnalogel 3.78.1-alpha.0 → 3.79.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +10 -8
  3. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
  4. package/dist/index.cjs.js +96 -101
  5. package/dist/index.js +14483 -16495
  6. package/dist/index.umd.js +89 -94
  7. package/libs/CruisePlugin/Move.js +14 -27
  8. package/libs/CruisePlugin/Work.js +61 -74
  9. package/libs/CruisePlugin/index.js +18 -31
  10. package/libs/GuideLinePlugin/Controller.js +18 -31
  11. package/libs/GuideLinePlugin/GuideLineItem.js +16 -29
  12. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
  13. package/libs/GuideLinePlugin/GuideLineModeItem.js +16 -27
  14. package/libs/GuideLinePlugin/index.js +18 -31
  15. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +1 -1
  16. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +87 -77
  17. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +189 -135
  18. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +460 -432
  19. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +38 -126
  20. package/libs/PanoTagPlugin/Components/Tag/index.js +292 -393
  21. package/libs/PanoTagPlugin/Components/TagContainer.js +125 -135
  22. package/libs/PanoTagPlugin/Components/TagItem.js +275 -281
  23. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +61 -74
  24. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +95 -108
  25. package/libs/PanoTagPlugin/controller/index.js +41 -54
  26. package/libs/PanoTagPlugin/index.js +23 -36
  27. package/libs/PanoTagPlugin/tag.config.js +31 -1
  28. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +10 -8
  29. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
  30. package/libs/base/BasePlugin.js +1 -1
  31. package/libs/index.js +169 -182
  32. package/libs/shared-utils/logger.js +1 -1
  33. package/libs/shared-utils/url/replace-static-prefix.js +12 -7
  34. package/libs/vendor/svelte/internal/index.js +235 -225
  35. package/package.json +2 -2
  36. package/dist/PanoTagPlugin/Components/Common/Arrow.svelte.d.ts +0 -1
  37. package/dist/PanoTagPlugin/Components/Common/Line/Polyline.svelte.d.ts +0 -1
  38. package/dist/PanoTagPlugin/Components/Common/Line/Straight.svelte.d.ts +0 -1
  39. package/dist/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
  40. package/dist/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
  41. package/dist/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
  42. package/dist/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
  43. package/dist/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
  44. package/dist/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
  45. package/dist/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
  46. package/dist/PanoTagPlugin/utils/constants.d.ts +0 -3
  47. package/dist/PanoTagPlugin/utils/doUtil.d.ts +0 -1
  48. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +0 -198
  49. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
  50. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +0 -258
  51. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
  52. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -358
  53. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
  54. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +0 -259
  55. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
  56. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +0 -216
  57. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
  58. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +0 -219
  59. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
  60. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +0 -134
  61. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
@@ -5,7 +5,7 @@ import "../shared-utils/five/changeMode.js";
5
5
  import "../CruisePlugin/Move.js";
6
6
  import "../CruisePlugin/Work.js";
7
7
  import "../shared-utils/Subscribe.js";
8
- import { GuideLineItem as qp } from "./GuideLineItem/index.js";
8
+ import { GuideLineItem as up } from "./GuideLineItem/index.js";
9
9
  import "three";
10
10
  import "./utils/createLineGeometry.js";
11
11
  import "../vendor/polyline-normals/index.js";
@@ -83,6 +83,8 @@ import "../shared-utils/three/PointSelector/utils/contents.js";
83
83
  import "../Sculpt/utils/three/rayOnLine.js";
84
84
  import "../shared-utils/five/mode.js";
85
85
  import "../shared-utils/url/defaultUrls.js";
86
+ import "../shared-utils/url/replace-static-prefix.js";
87
+ import "../shared-utils/url/absoluteUrl.js";
86
88
  import "../shared-utils/animationFrame/BetterTween.js";
87
89
  import "../shared-utils/animationFrame/index.js";
88
90
  import "../shared-utils/three/loadTexture.js";
@@ -137,25 +139,23 @@ import "../shared-utils/three/GLTFLoader.js";
137
139
  import "@realsee/five/gltf-loader";
138
140
  import "../PanoTagPlugin/utils/planeNormal.js";
139
141
  import "../PanoTagPlugin/Components/Tag/index.js";
140
- import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
141
- import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
142
- import "../PanoTagPlugin/Components/Common/Line/Straight.js";
142
+ import "../PanoTagPlugin/Components/Tag/MarketingTag.js";
143
+ import "../PanoTagPlugin/utils/px2rem.js";
144
+ import "../PanoTagPlugin/Components/Common/Shadow.js";
143
145
  import "../vendor/svelte/transition/index.js";
144
146
  import "../vendor/svelte/easing/index.js";
145
- import "../PanoTagPlugin/Components/Common/Shadow.js";
146
- import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
147
- import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
148
- import "../PanoTagPlugin/utils/search.js";
149
- import "../PanoTagPlugin/utils/constants.js";
150
- import "../PanoTagPlugin/Components/Common/Arrow.js";
151
- import "../PanoTagPlugin/utils/doUtil.js";
152
147
  import "../shared-utils/svelte/resizeObserver.js";
153
148
  import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
154
- import "../PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
149
+ import "../PanoTagPlugin/Components/Tag/Assets/marketingIcon.js";
150
+ import "../PanoTagPlugin/utils/noTypecheck.js";
151
+ import "../PanoTagPlugin/Components/Tag/AudioTag/index.js";
152
+ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
153
+ import "../PanoTagPlugin/Components/Common/Icon/audioIcon.js";
155
154
  import "../PanoTagPlugin/Components/Common/Text/MText.js";
156
- import "../PanoTagPlugin/utils/px2rem.js";
157
- import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
158
- import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
155
+ import "../PanoTagPlugin/Components/Common/Audio.js";
156
+ import "../PanoTagPlugin/utils/audio/SharedAudio.js";
157
+ import "../PanoTagPlugin/utils/audio/AudioDiagnostics.js";
158
+ import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
159
159
  import "../PanoTagPlugin/Components/Common/Media.js";
160
160
  import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
161
161
  import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
@@ -188,17 +188,6 @@ import "../vendor/svelte-carousel/src/utils/lazy.js";
188
188
  import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
189
189
  import "../vendor/svelte-carousel/src/utils/interval.js";
190
190
  import "../PanoTagPlugin/Components/Common/MediaItem.js";
191
- import "../PanoTagPlugin/Components/Tag/MarketingTag.js";
192
- import "../PanoTagPlugin/Components/Tag/Assets/marketingIcon.js";
193
- import "../PanoTagPlugin/utils/noTypecheck.js";
194
- import "../PanoTagPlugin/Components/Tag/AudioTag/index.js";
195
- import "../PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js";
196
- import "../PanoTagPlugin/Components/Common/Audio.js";
197
- import "../PanoTagPlugin/utils/audio/SharedAudio.js";
198
- import "../PanoTagPlugin/utils/audio/AudioDiagnostics.js";
199
- import "../PanoTagPlugin/Components/Common/Icon/audioIcon.js";
200
- import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
201
- import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
202
191
  import "../PanoTagPlugin/Components/Tag/LinkTag.js";
203
192
  import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
204
193
  import "../PanoTagPlugin/utils/getImageInfo.js";
@@ -336,13 +325,11 @@ import "../CruisePlugin/utils/getFiveStateOnCurve.js";
336
325
  import "./index.js";
337
326
  import "./Controller.js";
338
327
  import "../base/BasePluginWithData.js";
339
- import "../shared-utils/url/replace-static-prefix.js";
340
- import "../shared-utils/url/absoluteUrl.js";
341
328
  import "../CruisePlugin/utils/coordinatesAngle.js";
342
329
  import "../CruisePlugin/utils/coordinatesToVector.js";
343
330
  import "../CruisePlugin/utils/safeCall.js";
344
331
  import "../CruisePlugin/utils/sleep.js";
345
332
  import "../shared-utils/five/fiveLoaded.js";
346
333
  export {
347
- qp as GuideLineItem
334
+ up as GuideLineItem
348
335
  };
@@ -28,17 +28,18 @@ import { blink as O } from "../../shared-utils/three/blink.js";
28
28
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
29
29
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
30
30
  import "../../vendor/earcut/src/earcut.js";
31
- import { GUIDELINE_DEFAULT_ARROW_TEXTURE as E } from "../../shared-utils/url/defaultUrls.js";
32
- import { BetterTween as U } from "../../shared-utils/animationFrame/BetterTween.js";
31
+ import { GUIDELINE_DEFAULT_ARROW_TEXTURE as U } from "../../shared-utils/url/defaultUrls.js";
32
+ import { replaceStaticPrefix as E } from "../../shared-utils/url/replace-static-prefix.js";
33
+ import { BetterTween as A } from "../../shared-utils/animationFrame/BetterTween.js";
33
34
  import "../../shared-utils/five/FivePuppet.js";
34
- import { loadTexture as A } from "../../shared-utils/three/loadTexture.js";
35
+ import { loadTexture as G } from "../../shared-utils/three/loadTexture.js";
35
36
  import k from "../../PanoTagPlugin/controller/index.js";
36
- import G from "../Components/Tag.js";
37
- import { filterAdjacentDistinct as B } from "../utils/index.js";
38
- import { objectAssignDeepExports as R } from "../../vendor/object-assign-deep/objectAssignDeep.js";
39
- import { createPath as I } from "../utils/createPath.js";
40
- import { getGlobalResponsiveFontSize as W, getCurrentFontSize as z } from "../../shared-utils/fontSize.js";
41
- const N = (
37
+ import B from "../Components/Tag.js";
38
+ import { filterAdjacentDistinct as R } from "../utils/index.js";
39
+ import { objectAssignDeepExports as I } from "../../vendor/object-assign-deep/objectAssignDeep.js";
40
+ import { createPath as W } from "../utils/createPath.js";
41
+ import { getGlobalResponsiveFontSize as z, getCurrentFontSize as N } from "../../shared-utils/fontSize.js";
42
+ const D = (
42
43
  /* glsl */
43
44
  `
44
45
  varying vec2 vUv;
@@ -51,7 +52,7 @@ const N = (
51
52
  gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
52
53
  }
53
54
  `
54
- ), D = (
55
+ ), H = (
55
56
  /* glsl */
56
57
  `
57
58
  precision highp float;
@@ -170,7 +171,7 @@ const N = (
170
171
  }
171
172
  `
172
173
  );
173
- class H {
174
+ class j {
174
175
  constructor(e, t) {
175
176
  i(this, "name", "");
176
177
  i(this, "startTagContainer");
@@ -206,15 +207,15 @@ class H {
206
207
  i(this, "plugin");
207
208
  i(this, "textureHasLoaded", !1);
208
209
  i(this, "disposed", !1);
209
- i(this, "flowAnime", new U({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
210
+ i(this, "flowAnime", new A({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
210
211
  /** 缓存 panoGroup 中每个点距离起点的长度 */
211
212
  i(this, "cacheLengths", []);
212
213
  /** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
213
214
  i(this, "heightOffset", 0);
214
215
  /** 响应式字体大小管理器 */
215
- i(this, "fontSizeManager", W());
216
+ i(this, "fontSizeManager", z());
216
217
  /** 当前字体大小 */
217
- i(this, "currentFontSize", z());
218
+ i(this, "currentFontSize", N());
218
219
  /** 字体大小订阅取消函数 */
219
220
  i(this, "unsubscribeFontSize", null);
220
221
  i(this, "dispose", () => {
@@ -254,8 +255,8 @@ class H {
254
255
  var a, o;
255
256
  this.five = e, this.mode = t.mode, this.plugin = t.plugin, this.parent = t.parent, this.group.name = "GuideLineModeItem";
256
257
  const s = new n.BufferGeometry(), r = new n.ShaderMaterial({
257
- vertexShader: N,
258
- fragmentShader: D,
258
+ vertexShader: D,
259
+ fragmentShader: H,
259
260
  transparent: !0,
260
261
  uniforms: {
261
262
  map: { value: null },
@@ -323,37 +324,39 @@ class H {
323
324
  return this.logError("disposed");
324
325
  if (!this.five.work)
325
326
  return this.logError("setPathByPanoGroup: work is not ready");
326
- const s = B(e);
327
+ const s = R(e);
327
328
  if (this._panoGroup = s, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
328
- const g = t.skipPanoGroup ? s.map((m) => this.plugin.workUtil.getObserverStandingPosition(m)).filter(_) : null;
329
- this.skippedPositions = g;
329
+ const d = t.skipPanoGroup ? s.map((m) => this.plugin.workUtil.getObserverStandingPosition(m)).filter(_) : null;
330
+ this.skippedPositions = d;
330
331
  }
331
- const r = this.five.getCurrentState(), a = this.plugin.workUtil.workCode || r.workCode, o = this.five.works.getWork(a), h = I(s, o, t);
332
+ const r = this.five.getCurrentState(), a = this.plugin.workUtil.workCode || r.workCode, o = this.five.works.getWork(a), h = W(s, o, t);
332
333
  this.path = h, this.setGeometryByPath(h, t);
333
334
  }
334
335
  /** 通过路径设置线条形状 */
335
336
  setGeometryByPath(e, t) {
336
- var u, f, d;
337
+ var g, f, u;
337
338
  if (this.disposed)
338
339
  return this.logError("disposed");
339
- const s = (u = t == null ? void 0 : t.scale) != null ? u : this.scale, r = (f = t == null ? void 0 : t.width) != null ? f : this.width, a = (d = t == null ? void 0 : t.unit_length) != null ? d : this.unitLength;
340
+ const s = (g = t == null ? void 0 : t.scale) != null ? g : this.scale, r = (f = t == null ? void 0 : t.width) != null ? f : this.width, a = (u = t == null ? void 0 : t.unit_length) != null ? u : this.unitLength;
340
341
  this.scale = s, this.width = r, this.unitLength = a;
341
- const { geometry: o, maxV: h, curvePath: g, curvePoints: m } = x({
342
+ const { geometry: o, maxV: h, curvePath: d, curvePoints: m } = x({
342
343
  path: e,
343
344
  width: r * s,
344
345
  unitLength: a * s,
345
346
  skipPositions: this.skippedPositions
346
347
  });
347
- this._curvePath = g, this._curvePoints = m, this.mesh.geometry.copy(o), this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxV.value = h, this.five.needsRender = !0, this.path = e, this.geometryStyle = p(p({}, this.geometryStyle), t);
348
+ this._curvePath = d, this._curvePoints = m, this.mesh.geometry.copy(o), this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxV.value = h, this.five.needsRender = !0, this.path = e, this.geometryStyle = p(p({}, this.geometryStyle), t);
348
349
  }
349
350
  /** 设置线条材质 */
350
351
  setMartial(e) {
351
- var s, r, a, o, h;
352
+ var r, a, o, h, d;
352
353
  if (this.disposed)
353
354
  return this.logError("disposed");
354
- this.setDefaultVisible((s = e == null ? void 0 : e.visible) != null ? s : !1), this.setColor((r = e == null ? void 0 : e.color) != null ? r : "#ffffff"), this.setOpacity((a = e == null ? void 0 : e.opacity) != null ? a : 0.5), this.setTextureUrl((h = (o = e == null ? void 0 : e.texture) == null ? void 0 : o.url) != null ? h : E), (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), (e == null ? void 0 : e.border_width) !== void 0 && this.setBorderWidth(e.border_width), (e == null ? void 0 : e.background_clip) !== void 0 && this.setBackgroundClip(e.background_clip);
355
- const t = p(p({}, this.materialStyle), e);
356
- this.materialStyle = t;
355
+ this.setDefaultVisible((r = e == null ? void 0 : e.visible) != null ? r : !1), this.setColor((a = e == null ? void 0 : e.color) != null ? a : "#ffffff"), this.setOpacity((o = e == null ? void 0 : e.opacity) != null ? o : 0.5);
356
+ const t = E(this.plugin.staticPrefix, U);
357
+ this.setTextureUrl((d = (h = e == null ? void 0 : e.texture) == null ? void 0 : h.url) != null ? d : t), (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), (e == null ? void 0 : e.border_width) !== void 0 && this.setBorderWidth(e.border_width), (e == null ? void 0 : e.background_clip) !== void 0 && this.setBackgroundClip(e.background_clip);
358
+ const s = p(p({}, this.materialStyle), e);
359
+ this.materialStyle = s;
357
360
  }
358
361
  /** 设置模型状态 */
359
362
  setMeshStyle(e) {
@@ -436,7 +439,7 @@ class H {
436
439
  setTextureUrl(e) {
437
440
  if (this.disposed)
438
441
  return this.logError("disposed");
439
- this.textureUrl = e, A(e).then((t) => {
442
+ this.textureUrl = e, G(e).then((t) => {
440
443
  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());
441
444
  });
442
445
  }
@@ -474,43 +477,43 @@ class H {
474
477
  return this.disposed ? this.logError("disposed") : this.cacheLengths.length !== 0 ? this.cacheLengths[e] : (this.cacheLengths = this.getPanoGroupLengths(), this.cacheLengths[e]);
475
478
  }
476
479
  getPanoGroupLengths() {
477
- var g, m, u, f;
480
+ var d, m, g, f;
478
481
  if (!this.curvePoints || !this.curvePath)
479
482
  return [];
480
- const e = this.curvePoints.length, t = (m = (g = this.curvePath) == null ? void 0 : g.getLength()) != null ? m : 0, s = e - 1, r = t / s, a = (f = (u = this.curvePath) == null ? void 0 : u.getLengths(s)) != null ? f : [], o = [];
483
+ const e = this.curvePoints.length, t = (m = (d = this.curvePath) == null ? void 0 : d.getLength()) != null ? m : 0, s = e - 1, r = t / s, a = (f = (g = this.curvePath) == null ? void 0 : g.getLengths(s)) != null ? f : [], o = [];
481
484
  let h = 0;
482
- for (let d = 0; d < e; d++) {
483
- const v = this.curvePoints[d], c = this.plugin.workUtil.getObserverStandingPosition(h);
485
+ for (let u = 0; u < e; u++) {
486
+ const v = this.curvePoints[u], c = this.plugin.workUtil.getObserverStandingPosition(h);
484
487
  if (!c)
485
488
  break;
486
- c.clone().setY(0).distanceTo(v.clone().setY(0)) < r && (o.push(a[d]), h += 1);
489
+ c.clone().setY(0).distanceTo(v.clone().setY(0)) < r && (o.push(a[u]), h += 1);
487
490
  }
488
491
  return o;
489
492
  }
490
493
  setTag(e, t) {
491
- var g, m;
494
+ var d, m;
492
495
  const s = this.curvePath;
493
496
  if (!(t != null && t.data))
494
497
  return;
495
- const r = e === "start" ? (g = this.startTagContainer) != null ? g : (() => (this.startTagContainer = { tag: null, plugin: new k(this.five, { containerZIndex: 10 }) }, this.startTagContainer))() : (m = this.endTagContainer) != null ? m : (() => (this.endTagContainer = { tag: null, plugin: new k(this.five, { containerZIndex: 10 }) }, this.endTagContainer))(), o = R({}, {
498
+ const r = e === "start" ? (d = this.startTagContainer) != null ? d : (() => (this.startTagContainer = { tag: null, plugin: new k(this.five, { containerZIndex: 10 }) }, this.startTagContainer))() : (m = this.endTagContainer) != null ? m : (() => (this.endTagContainer = { tag: null, plugin: new k(this.five, { containerZIndex: 10 }) }, this.endTagContainer))(), o = I({}, {
496
499
  contentType: "Custom",
497
500
  stickType: "2DPoint",
498
501
  config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
499
502
  style: { point: { enabled: !1 } },
500
503
  data: {}
501
504
  }, t);
502
- r.tag = o, j(o) && (r.tag.element = (u) => {
505
+ r.tag = o, $(o) && (r.tag.element = (g) => {
503
506
  var v, c;
504
507
  (v = r.app) == null || v.$destroy();
505
- const f = e === "start" ? C(p({}, o.data), { name: this.name, distance: Math.round((c = s == null ? void 0 : s.getLength()) != null ? c : 0), i18n: this.plugin.config.i18n }) : o.data, d = new G({ target: u, intro: !0, props: p({ fontSize: this.currentFontSize }, f) });
506
- return r.app = d, () => d.$destroy();
508
+ const f = e === "start" ? C(p({}, o.data), { name: this.name, distance: Math.round((c = s == null ? void 0 : s.getLength()) != null ? c : 0), i18n: this.plugin.config.i18n }) : o.data, u = new B({ target: g, intro: !0, props: p({ fontSize: this.currentFontSize }, f) });
509
+ return r.app = u, () => u.$destroy();
507
510
  }), r.plugin.load({ tagList: [r.tag] });
508
511
  const h = this.meshStyle.translate;
509
512
  if (h && o.position) {
510
- const u = new n.Vector3().fromArray(o.position), f = new n.Vector3().fromArray(h);
511
- u.add(f), u.y += this.heightOffset;
512
- const d = u.toArray();
513
- r.plugin.changeTagById(r.tag.id, { position: d });
513
+ const g = new n.Vector3().fromArray(o.position), f = new n.Vector3().fromArray(h);
514
+ g.add(f), g.y += this.heightOffset;
515
+ const u = g.toArray();
516
+ r.plugin.changeTagById(r.tag.id, { position: u });
514
517
  }
515
518
  }
516
519
  doShow() {
@@ -522,14 +525,14 @@ class H {
522
525
  this.mode === "model" && this.flowAnime.stop(), this.five.scene.remove(this.group), (e = this.startTagContainer) == null || e.plugin.hide(), (t = this.endTagContainer) == null || t.plugin.hide(), this.five.needsRender = !0;
523
526
  }
524
527
  }
525
- function j(l) {
528
+ function $(l) {
526
529
  return l.contentType === "Custom";
527
530
  }
528
- const Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
531
+ const we = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
529
532
  __proto__: null,
530
- GuideLineModeItem: H
533
+ GuideLineModeItem: j
531
534
  }, Symbol.toStringTag, { value: "Module" }));
532
535
  export {
533
- H as GuideLineModeItem,
534
- Ce as GuideLineModeItem$1
536
+ j as GuideLineModeItem,
537
+ we as GuideLineModeItem$1
535
538
  };
@@ -16,6 +16,7 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
16
16
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
17
17
  import "../vendor/earcut/src/earcut.js";
18
18
  import "../shared-utils/url/defaultUrls.js";
19
+ import "../shared-utils/url/replace-static-prefix.js";
19
20
  import "../shared-utils/animationFrame/BetterTween.js";
20
21
  import "../shared-utils/five/FivePuppet.js";
21
22
  import "../shared-utils/three/loadTexture.js";
@@ -25,7 +26,7 @@ import "./utils/index.js";
25
26
  import "../vendor/object-assign-deep/objectAssignDeep.js";
26
27
  import "./utils/createPath.js";
27
28
  import "../shared-utils/fontSize.js";
28
- import { GuideLineModeItem as rp } from "./GuideLineModeItem/index.js";
29
+ import { GuideLineModeItem as Ut } from "./GuideLineModeItem/index.js";
29
30
  import "../vendor/polyline-normals/index.js";
30
31
  import "../vendor/polyline-miter-util/index.js";
31
32
  import "../vendor/gl-vec2/add.js";
@@ -86,6 +87,7 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
86
87
  import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
87
88
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
88
89
  import "@realsee/five";
90
+ import "../shared-utils/url/absoluteUrl.js";
89
91
  import "../shared-utils/animationFrame/index.js";
90
92
  import "../PanoTagPlugin/utils/tag/tagCheck.js";
91
93
  import "../PanoTagPlugin/utils/debounce.js";
@@ -136,25 +138,23 @@ import "../shared-utils/three/GLTFLoader.js";
136
138
  import "@realsee/five/gltf-loader";
137
139
  import "../PanoTagPlugin/utils/planeNormal.js";
138
140
  import "../PanoTagPlugin/Components/Tag/index.js";
139
- import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
140
- import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
141
- import "../PanoTagPlugin/Components/Common/Line/Straight.js";
141
+ import "../PanoTagPlugin/Components/Tag/MarketingTag.js";
142
+ import "../PanoTagPlugin/utils/px2rem.js";
143
+ import "../PanoTagPlugin/Components/Common/Shadow.js";
142
144
  import "../vendor/svelte/transition/index.js";
143
145
  import "../vendor/svelte/easing/index.js";
144
- import "../PanoTagPlugin/Components/Common/Shadow.js";
145
- import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
146
- import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
147
- import "../PanoTagPlugin/utils/search.js";
148
- import "../PanoTagPlugin/utils/constants.js";
149
- import "../PanoTagPlugin/Components/Common/Arrow.js";
150
- import "../PanoTagPlugin/utils/doUtil.js";
151
146
  import "../shared-utils/svelte/resizeObserver.js";
152
147
  import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
153
- import "../PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
148
+ import "../PanoTagPlugin/Components/Tag/Assets/marketingIcon.js";
149
+ import "../PanoTagPlugin/utils/noTypecheck.js";
150
+ import "../PanoTagPlugin/Components/Tag/AudioTag/index.js";
151
+ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
152
+ import "../PanoTagPlugin/Components/Common/Icon/audioIcon.js";
154
153
  import "../PanoTagPlugin/Components/Common/Text/MText.js";
155
- import "../PanoTagPlugin/utils/px2rem.js";
156
- import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
157
- import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
154
+ import "../PanoTagPlugin/Components/Common/Audio.js";
155
+ import "../PanoTagPlugin/utils/audio/SharedAudio.js";
156
+ import "../PanoTagPlugin/utils/audio/AudioDiagnostics.js";
157
+ import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
158
158
  import "../PanoTagPlugin/Components/Common/Media.js";
159
159
  import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
160
160
  import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
@@ -187,17 +187,6 @@ import "../vendor/svelte-carousel/src/utils/lazy.js";
187
187
  import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
188
188
  import "../vendor/svelte-carousel/src/utils/interval.js";
189
189
  import "../PanoTagPlugin/Components/Common/MediaItem.js";
190
- import "../PanoTagPlugin/Components/Tag/MarketingTag.js";
191
- import "../PanoTagPlugin/Components/Tag/Assets/marketingIcon.js";
192
- import "../PanoTagPlugin/utils/noTypecheck.js";
193
- import "../PanoTagPlugin/Components/Tag/AudioTag/index.js";
194
- import "../PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js";
195
- import "../PanoTagPlugin/Components/Common/Audio.js";
196
- import "../PanoTagPlugin/utils/audio/SharedAudio.js";
197
- import "../PanoTagPlugin/utils/audio/AudioDiagnostics.js";
198
- import "../PanoTagPlugin/Components/Common/Icon/audioIcon.js";
199
- import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
200
- import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
201
190
  import "../PanoTagPlugin/Components/Tag/LinkTag.js";
202
191
  import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
203
192
  import "../PanoTagPlugin/utils/getImageInfo.js";
@@ -324,5 +313,5 @@ import "../PanoTagPlugin/Components/Common/TagPopover/ShareIcon.js";
324
313
  import "../PanoTagPlugin/utils/popoverContainer.js";
325
314
  import "../shared-utils/px2rem.js";
326
315
  export {
327
- rp as GuideLineModeItem
316
+ Ut as GuideLineModeItem
328
317
  };
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
- import { GuideLineItem$1 as jp } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as qp } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as ap } from "./GuideLineItem/index.js";
3
+ import { GuideLineModeItem$1 as Ip } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -147,25 +147,23 @@ import "../shared-utils/three/GLTFLoader.js";
147
147
  import "@realsee/five/gltf-loader";
148
148
  import "../PanoTagPlugin/utils/planeNormal.js";
149
149
  import "../PanoTagPlugin/Components/Tag/index.js";
150
- import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
151
- import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
152
- import "../PanoTagPlugin/Components/Common/Line/Straight.js";
150
+ import "../PanoTagPlugin/Components/Tag/MarketingTag.js";
151
+ import "../PanoTagPlugin/utils/px2rem.js";
152
+ import "../PanoTagPlugin/Components/Common/Shadow.js";
153
153
  import "../vendor/svelte/transition/index.js";
154
154
  import "../vendor/svelte/easing/index.js";
155
- import "../PanoTagPlugin/Components/Common/Shadow.js";
156
- import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
157
- import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
158
- import "../PanoTagPlugin/utils/search.js";
159
- import "../PanoTagPlugin/utils/constants.js";
160
- import "../PanoTagPlugin/Components/Common/Arrow.js";
161
- import "../PanoTagPlugin/utils/doUtil.js";
162
155
  import "../shared-utils/svelte/resizeObserver.js";
163
156
  import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
164
- import "../PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
157
+ import "../PanoTagPlugin/Components/Tag/Assets/marketingIcon.js";
158
+ import "../PanoTagPlugin/utils/noTypecheck.js";
159
+ import "../PanoTagPlugin/Components/Tag/AudioTag/index.js";
160
+ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
161
+ import "../PanoTagPlugin/Components/Common/Icon/audioIcon.js";
165
162
  import "../PanoTagPlugin/Components/Common/Text/MText.js";
166
- import "../PanoTagPlugin/utils/px2rem.js";
167
- import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
168
- import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
163
+ import "../PanoTagPlugin/Components/Common/Audio.js";
164
+ import "../PanoTagPlugin/utils/audio/SharedAudio.js";
165
+ import "../PanoTagPlugin/utils/audio/AudioDiagnostics.js";
166
+ import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
169
167
  import "../PanoTagPlugin/Components/Common/Media.js";
170
168
  import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
171
169
  import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
@@ -198,17 +196,6 @@ import "../vendor/svelte-carousel/src/utils/lazy.js";
198
196
  import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
199
197
  import "../vendor/svelte-carousel/src/utils/interval.js";
200
198
  import "../PanoTagPlugin/Components/Common/MediaItem.js";
201
- import "../PanoTagPlugin/Components/Tag/MarketingTag.js";
202
- import "../PanoTagPlugin/Components/Tag/Assets/marketingIcon.js";
203
- import "../PanoTagPlugin/utils/noTypecheck.js";
204
- import "../PanoTagPlugin/Components/Tag/AudioTag/index.js";
205
- import "../PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js";
206
- import "../PanoTagPlugin/Components/Common/Audio.js";
207
- import "../PanoTagPlugin/utils/audio/SharedAudio.js";
208
- import "../PanoTagPlugin/utils/audio/AudioDiagnostics.js";
209
- import "../PanoTagPlugin/Components/Common/Icon/audioIcon.js";
210
- import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
211
- import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
212
199
  import "../PanoTagPlugin/Components/Tag/LinkTag.js";
213
200
  import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
214
201
  import "../PanoTagPlugin/utils/getImageInfo.js";
@@ -343,10 +330,10 @@ import "../shared-utils/five/changeMode.js";
343
330
  import "../shared-utils/nearlyEqual.js";
344
331
  import "../CruisePlugin/Move.js";
345
332
  import "../CruisePlugin/utils/getFiveStateOnCurve.js";
346
- const r = (i, o) => new t(i, o), Cp = r;
333
+ const r = (i, o) => new t(i, o), Lp = r;
347
334
  export {
348
- jp as GuideLineItem,
349
- qp as GuideLineModeItem,
335
+ ap as GuideLineItem,
336
+ Ip as GuideLineModeItem,
350
337
  r as GuideLinePlugin,
351
- Cp as default
338
+ Lp as default
352
339
  };
@@ -400,7 +400,7 @@ function xe(t, e, n) {
400
400
  }, ie = (o) => {
401
401
  R(l) && r(o);
402
402
  }, ne = (o) => {
403
- p(o), H == null || H(l);
403
+ p(o), H == null || H(l, o);
404
404
  };
405
405
  function re(o) {
406
406
  Y[o ? "unshift" : "push"](() => {