@realsee/dnalogel 3.78.0-alpha.4 → 3.78.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 (144) hide show
  1. package/CHANGELOG.md +40 -10
  2. package/dist/DigitalPerformancePlugin/controller/index.d.ts +224 -0
  3. package/dist/DigitalPerformancePlugin/core/DigitalHuman.d.ts +55 -0
  4. package/dist/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +40 -0
  5. package/dist/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +150 -0
  6. package/dist/DigitalPerformancePlugin/core/Trace.d.ts +9 -0
  7. package/dist/DigitalPerformancePlugin/index.d.ts +11 -0
  8. package/dist/DigitalPerformancePlugin/mock.d.ts +76 -0
  9. package/dist/DigitalPerformancePlugin/typings/index.d.ts +79 -0
  10. package/dist/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
  11. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
  12. package/dist/Sculpt/Meshes/Line.d.ts +4 -0
  13. package/dist/Sculpt/Objects/Base/Editor.d.ts +9 -2
  14. package/dist/index.cjs.js +95 -82
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.js +14187 -12436
  17. package/dist/index.umd.js +87 -74
  18. package/dist/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
  19. package/libs/AreaMakerPlugin/Controller.js +3 -2
  20. package/libs/AreaMakerPlugin/index.js +3 -2
  21. package/libs/AreaMakerPlugin/utils/Item.js +3 -2
  22. package/libs/CSS3DRenderPlugin/Controller.js +3 -2
  23. package/libs/CSS3DRenderPlugin/index.js +6 -5
  24. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -38
  25. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +10 -9
  26. package/libs/CruisePlugin/BaseController.js +5 -4
  27. package/libs/CruisePlugin/Move.js +3 -2
  28. package/libs/CruisePlugin/Work.js +3 -2
  29. package/libs/CruisePlugin/index.js +7 -6
  30. package/libs/CurrentPanoImagePlugin/Controller.js +15 -14
  31. package/libs/CurrentPanoImagePlugin/index.js +4 -3
  32. package/libs/DigitalPerformancePlugin/controller/index.d.ts +2 -2
  33. package/libs/DigitalPerformancePlugin/controller/index.js +164 -173
  34. package/libs/DigitalPerformancePlugin/core/DigitalHuman.d.ts +16 -6
  35. package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +128 -102
  36. package/libs/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +11 -5
  37. package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +84 -74
  38. package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +7 -0
  39. package/libs/DigitalPerformancePlugin/mock.d.ts +6 -0
  40. package/libs/DigitalPerformancePlugin/mock.js +272 -274
  41. package/libs/GuideLinePlugin/Controller.js +7 -6
  42. package/libs/GuideLinePlugin/GuideLineItem.js +5 -4
  43. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
  44. package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -2
  45. package/libs/GuideLinePlugin/index.js +7 -6
  46. package/libs/MeasurePlugin/Controller.js +11 -10
  47. package/libs/MeasurePlugin/index.js +5 -4
  48. package/libs/MeasurePlugin/utils/MeasureMesh.js +3 -2
  49. package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
  50. package/libs/ModelChassisCompassPlugin/index.js +1 -0
  51. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
  52. package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
  53. package/libs/ModelMakerPlugin/Controller.js +3 -2
  54. package/libs/ModelMakerPlugin/index.js +3 -2
  55. package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
  56. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  57. package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
  58. package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
  59. package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
  60. package/libs/ModelTVVideoPlugin/index.js +3 -2
  61. package/libs/ModelViewPlugin/Plugin.js +20 -19
  62. package/libs/ModelViewPlugin/index.js +1 -0
  63. package/libs/Object3DHelperPlugin/Controller.js +3 -2
  64. package/libs/Object3DHelperPlugin/index.js +6 -5
  65. package/libs/PanoCompassPlugin/Controller.js +3 -2
  66. package/libs/PanoCompassPlugin/index.js +4 -3
  67. package/libs/PanoDoorLabelPlugin/Controller.js +24 -23
  68. package/libs/PanoDoorLabelPlugin/index.js +4 -3
  69. package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
  70. package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
  71. package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -2
  72. package/libs/PanoMeasurePlugin/Controller/WatchController.js +3 -2
  73. package/libs/PanoMeasurePlugin/Controller/index.js +3 -2
  74. package/libs/PanoMeasurePlugin/Model/area.js +3 -2
  75. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
  76. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
  77. package/libs/PanoMeasurePlugin/index.js +14 -13
  78. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
  79. package/libs/PanoRulerProPlugin/Controller.js +3 -2
  80. package/libs/PanoRulerProPlugin/RulerItems.js +42 -41
  81. package/libs/PanoRulerProPlugin/index.js +4 -3
  82. package/libs/PanoSpatialTagPlugin/Plugin.js +34 -33
  83. package/libs/PanoSpatialTagPlugin/index.js +1 -0
  84. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +141 -138
  85. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
  86. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
  87. package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
  88. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  89. package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
  90. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  91. package/libs/PanoTagPlugin/Components/TagItem.js +131 -122
  92. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
  93. package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +3 -2
  94. package/libs/PanoTagPlugin/controller/Tag/MaskTag.js +1 -0
  95. package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -6
  96. package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.js +2 -90
  97. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
  98. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
  99. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
  100. package/libs/PanoTagPlugin/controller/Tag/PolygonTag.js +31 -29
  101. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  102. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  103. package/libs/PanoTagPlugin/controller/index.js +30 -29
  104. package/libs/PanoTagPlugin/index.js +12 -11
  105. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -2
  106. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
  107. package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
  108. package/libs/PanoVideoPlugin/Controller.js +9 -8
  109. package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
  110. package/libs/PanoVideoPlugin/index.js +6 -5
  111. package/libs/PipelinePlugin/Controller.js +3 -2
  112. package/libs/PipelinePlugin/index.js +4 -3
  113. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
  114. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
  115. package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -0
  116. package/libs/Sculpt/Meshes/Line.d.ts +4 -0
  117. package/libs/Sculpt/Meshes/Line.js +85 -76
  118. package/libs/Sculpt/Meshes/Point.js +28 -28
  119. package/libs/Sculpt/Meshes/Polygon.js +43 -43
  120. package/libs/Sculpt/Objects/Base/Editor.d.ts +9 -2
  121. package/libs/Sculpt/Objects/Base/Editor.js +72 -63
  122. package/libs/Sculpt/index.js +1 -1
  123. package/libs/Sculpt/utils/Modules/Cursor.js +7 -7
  124. package/libs/base/BasePlugin.js +5 -5
  125. package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
  126. package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
  127. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
  128. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
  129. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
  130. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
  131. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
  132. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
  133. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
  134. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
  135. package/libs/index.d.ts +1 -0
  136. package/libs/index.js +162 -150
  137. package/libs/shared-utils/five/getFiveFromParentChain.d.ts +8 -0
  138. package/libs/shared-utils/five/getFiveFromParentChain.js +20 -0
  139. package/libs/shared-utils/logger.js +1 -1
  140. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +1 -0
  141. package/libs/shared-utils/url/replace-static-prefix.js +12 -7
  142. package/package.json +3 -3
  143. package/libs/PanoTagPlugin/controller/Tag/MaskTag1.d.ts +0 -202
  144. package/libs/PanoTagPlugin/controller/Tag/MaskTag1.js +0 -617
@@ -113,6 +113,7 @@ import "../../../shared-utils/three/IObject3D.js";
113
113
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
114
114
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
115
115
  import "../../../shared-utils/util.js";
116
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
116
117
  import "../../../shared-utils/three/core/LineGeometry.js";
117
118
  import "../../../shared-utils/three/core/LineMaterial.js";
118
119
  import "../../../shared-utils/three/core/Line2.js";
@@ -806,7 +807,7 @@ function EA(i, A, t) {
806
807
  T
807
808
  ];
808
809
  }
809
- class Zi extends tA {
810
+ class Ki extends tA {
810
811
  constructor(A) {
811
812
  super(), iA(
812
813
  this,
@@ -828,5 +829,5 @@ class Zi extends tA {
828
829
  }
829
830
  }
830
831
  export {
831
- Zi as default
832
+ Ki as default
832
833
  };
@@ -107,6 +107,7 @@ import "../../Sculpt/typings/style.js";
107
107
  import "../../shared-utils/three/IObject3D.js";
108
108
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
109
109
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
110
+ import "../../shared-utils/five/getFiveFromParentChain.js";
110
111
  import "../../shared-utils/three/core/LineGeometry.js";
111
112
  import "../../shared-utils/three/core/LineMaterial.js";
112
113
  import "../../shared-utils/three/core/Line2.js";
@@ -416,7 +417,7 @@ function x(m, t, o) {
416
417
  O
417
418
  ];
418
419
  }
419
- class Er extends P {
420
+ class Nr extends P {
420
421
  constructor(t) {
421
422
  super(), Z(
422
423
  this,
@@ -439,5 +440,5 @@ class Er extends P {
439
440
  }
440
441
  }
441
442
  export {
442
- Er as default
443
+ Nr as default
443
444
  };
@@ -1,10 +1,10 @@
1
- import { SvelteComponent as ve, init as ke, safe_not_equal as Ce, append_styles as Te, space as ae, empty as he, insert as R, transition_in as b, transition_out as T, check_outros as F, detach as Z, getContext as Pe, onMount as ye, element as X, attr as _, toggle_class as H, set_style as B, append as Ee, group_outros as V, create_component as Y, mount_component as $, destroy_component as x, binding_callbacks as W, noop as I, bind as Me, add_flush_callback as Se } from "../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as ke, init as Te, safe_not_equal as Ce, append_styles as he, space as pe, empty as Pe, insert as R, transition_in as _, transition_out as h, check_outros as V, detach as Z, getContext as ye, onMount as Ee, element as X, attr as c, toggle_class as H, set_style as F, append as Me, group_outros as j, create_component as Y, mount_component as $, destroy_component as x, binding_callbacks as W, noop as I, bind as De, add_flush_callback as Se } from "../../vendor/svelte/internal/index.js";
2
2
  import we from "./Tag/index.js";
3
3
  import "three";
4
- import { noTypecheck as ie } from "../utils/noTypecheck.js";
5
- import De from "./Common/TagPoint.js";
4
+ import { noTypecheck as re } from "../utils/noTypecheck.js";
5
+ import He from "./Common/TagPoint.js";
6
6
  import "../../shared-utils/tag.js";
7
- import { isModelLike as He } from "../../shared-utils/five/mode.js";
7
+ import { isModelLike as Ie } from "../../shared-utils/five/mode.js";
8
8
  import "../../vendor/hammerjs/hammer.js";
9
9
  import "../../shared-utils/three/PointSelector/index.js";
10
10
  import "../../shared-utils/three/CSS3DRenderer/index.js";
@@ -17,7 +17,7 @@ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
17
17
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
18
18
  import "../../vendor/earcut/src/earcut.js";
19
19
  import "../../shared-utils/five/FivePuppet.js";
20
- import Ie from "./Common/TagPopover/index.js";
20
+ import Ue from "./Common/TagPopover/index.js";
21
21
  import "./Tag/TextTag/index.js";
22
22
  import "./Tag/TextTag/TextTag.js";
23
23
  import "./Common/Line/Straight.js";
@@ -109,6 +109,7 @@ import "../../shared-utils/three/IObject3D.js";
109
109
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
110
110
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
111
111
  import "../../shared-utils/util.js";
112
+ import "../../shared-utils/five/getFiveFromParentChain.js";
112
113
  import "../../shared-utils/three/core/LineGeometry.js";
113
114
  import "../../shared-utils/three/core/LineMaterial.js";
114
115
  import "../../shared-utils/three/core/Line2.js";
@@ -188,41 +189,41 @@ import "./Common/AudioPlayer.js";
188
189
  import "./Common/TagPopover/TagPopoverToolBar.js";
189
190
  import "./Common/TagPopover/ArrowRightIcon.js";
190
191
  import "./Common/TagPopover/ShareIcon.js";
191
- function Ue(o) {
192
- Te(o, "svelte-2g2g8a", ".tag.svelte-2g2g8a{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto;will-change:opacity;transition:opacity 0.2s linear}.tag.enableZIndex.svelte-2g2g8a{position:absolute}.tag.hide.svelte-2g2g8a{opacity:0;pointer-events:none}.tag.hide.svelte-2g2g8a *{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a *{pointer-events:none !important}");
192
+ function Le(o) {
193
+ he(o, "svelte-2g2g8a", ".tag.svelte-2g2g8a{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto;will-change:opacity;transition:opacity 0.2s linear}.tag.enableZIndex.svelte-2g2g8a{position:absolute}.tag.hide.svelte-2g2g8a{opacity:0;pointer-events:none}.tag.hide.svelte-2g2g8a *{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a *{pointer-events:none !important}");
193
194
  }
194
- function re(o) {
195
+ function ne(o) {
195
196
  let e, i, a, m, r, n, u, l, g, d;
196
- const U = [ze, Le], v = [];
197
+ const U = [Ae, ze], b = [];
197
198
  function L(f, s) {
198
199
  return (
199
200
  /*havePoint*/
200
201
  f[10] ? 0 : 1
201
202
  );
202
203
  }
203
- i = L(o), a = v[i] = U[i](o);
204
- const t = [Re, Ae], k = [];
205
- function S(f, s) {
204
+ i = L(o), a = b[i] = U[i](o);
205
+ const t = [Ze, Re], v = [];
206
+ function D(f, s) {
206
207
  return (
207
208
  /*haveContent*/
208
209
  f[25] ? 0 : 1
209
210
  );
210
211
  }
211
- return r = S(o), n = k[r] = t[r](o), {
212
+ return r = D(o), n = v[r] = t[r](o), {
212
213
  c() {
213
- e = X("div"), a.c(), m = ae(), n.c(), _(e, "class", "tag svelte-2g2g8a"), _(
214
+ e = X("div"), a.c(), m = pe(), n.c(), c(e, "class", "tag svelte-2g2g8a"), c(
214
215
  e,
215
216
  "data-tag-id",
216
217
  /*id*/
217
218
  o[23]
218
- ), _(
219
+ ), c(
219
220
  e,
220
221
  "data-tag-unfolded",
221
222
  /*unfolded*/
222
223
  o[8]
223
- ), _(e, "data-content-type", u = /*tag*/
224
- o[0].contentType), _(e, "data-popover-enabled", l = /*tag*/
225
- o[0].isPopoverConfigEnabled()), _(e, "id", g = `tag-${/*id*/
224
+ ), c(e, "data-content-type", u = /*tag*/
225
+ o[0].contentType), c(e, "data-popover-enabled", l = /*tag*/
226
+ o[0].isPopoverConfigEnabled()), c(e, "id", g = `tag-${/*id*/
226
227
  o[23]}`), H(
227
228
  e,
228
229
  "unClickable",
@@ -238,46 +239,46 @@ function re(o) {
238
239
  "enableZIndex",
239
240
  /*zIndex*/
240
241
  o[18]
241
- ), B(
242
+ ), F(
242
243
  e,
243
244
  "z-index",
244
245
  /*zIndex*/
245
246
  o[18]
246
- ), B(e, "transform", `translate3d(${/*left*/
247
+ ), F(e, "transform", `translate3d(${/*left*/
247
248
  o[20]}, ${/*top*/
248
249
  o[19]}, 0) scale(${/*screenPosition*/
249
250
  o[9].scale})`);
250
251
  },
251
252
  m(f, s) {
252
- R(f, e, s), v[i].m(e, null), Ee(e, m), k[r].m(e, null), o[36](e), d = !0;
253
+ R(f, e, s), b[i].m(e, null), Me(e, m), v[r].m(e, null), o[36](e), d = !0;
253
254
  },
254
255
  p(f, s) {
255
- let w = i;
256
- i = L(f), i === w ? v[i].p(f, s) : (V(), T(v[w], 1, 1, () => {
256
+ let S = i;
257
+ i = L(f), i === S ? b[i].p(f, s) : (j(), h(b[S], 1, 1, () => {
258
+ b[S] = null;
259
+ }), V(), a = b[i], a ? a.p(f, s) : (a = b[i] = U[i](f), a.c()), _(a, 1), a.m(e, m));
260
+ let w = r;
261
+ r = D(f), r === w ? v[r].p(f, s) : (j(), h(v[w], 1, 1, () => {
257
262
  v[w] = null;
258
- }), F(), a = v[i], a ? a.p(f, s) : (a = v[i] = U[i](f), a.c()), b(a, 1), a.m(e, m));
259
- let D = r;
260
- r = S(f), r === D ? k[r].p(f, s) : (V(), T(k[D], 1, 1, () => {
261
- k[D] = null;
262
- }), F(), n = k[r], n ? n.p(f, s) : (n = k[r] = t[r](f), n.c()), b(n, 1), n.m(e, null)), (!d || s[0] & /*id*/
263
- 8388608) && _(
263
+ }), V(), n = v[r], n ? n.p(f, s) : (n = v[r] = t[r](f), n.c()), _(n, 1), n.m(e, null)), (!d || s[0] & /*id*/
264
+ 8388608) && c(
264
265
  e,
265
266
  "data-tag-id",
266
267
  /*id*/
267
268
  f[23]
268
269
  ), (!d || s[0] & /*unfolded*/
269
- 256) && _(
270
+ 256) && c(
270
271
  e,
271
272
  "data-tag-unfolded",
272
273
  /*unfolded*/
273
274
  f[8]
274
275
  ), (!d || s[0] & /*tag*/
275
276
  1 && u !== (u = /*tag*/
276
- f[0].contentType)) && _(e, "data-content-type", u), (!d || s[0] & /*tag*/
277
+ f[0].contentType)) && c(e, "data-content-type", u), (!d || s[0] & /*tag*/
277
278
  1 && l !== (l = /*tag*/
278
- f[0].isPopoverConfigEnabled())) && _(e, "data-popover-enabled", l), (!d || s[0] & /*id*/
279
+ f[0].isPopoverConfigEnabled())) && c(e, "data-popover-enabled", l), (!d || s[0] & /*id*/
279
280
  8388608 && g !== (g = `tag-${/*id*/
280
- f[23]}`)) && _(e, "id", g), (!d || s[0] & /*tag*/
281
+ f[23]}`)) && c(e, "id", g), (!d || s[0] & /*tag*/
281
282
  1) && H(
282
283
  e,
283
284
  "unClickable",
@@ -296,33 +297,33 @@ function re(o) {
296
297
  /*zIndex*/
297
298
  f[18]
298
299
  ), s[0] & /*zIndex*/
299
- 262144 && B(
300
+ 262144 && F(
300
301
  e,
301
302
  "z-index",
302
303
  /*zIndex*/
303
304
  f[18]
304
305
  ), s[0] & /*left, top, screenPosition*/
305
- 1573376 && B(e, "transform", `translate3d(${/*left*/
306
+ 1573376 && F(e, "transform", `translate3d(${/*left*/
306
307
  f[20]}, ${/*top*/
307
308
  f[19]}, 0) scale(${/*screenPosition*/
308
309
  f[9].scale})`);
309
310
  },
310
311
  i(f) {
311
- d || (b(a), b(n), d = !0);
312
+ d || (_(a), _(n), d = !0);
312
313
  },
313
314
  o(f) {
314
- T(a), T(n), d = !1;
315
+ h(a), h(n), d = !1;
315
316
  },
316
317
  d(f) {
317
- f && Z(e), v[i].d(), k[r].d(), o[36](null);
318
+ f && Z(e), b[i].d(), v[r].d(), o[36](null);
318
319
  }
319
320
  };
320
321
  }
321
- function Le(o) {
322
+ function ze(o) {
322
323
  let e;
323
324
  return {
324
325
  c() {
325
- e = X("div"), _(e, "data-info", "tag point is disable");
326
+ e = X("div"), c(e, "data-info", "tag point is disable");
326
327
  },
327
328
  m(i, a) {
328
329
  R(i, e, a);
@@ -335,7 +336,7 @@ function Le(o) {
335
336
  }
336
337
  };
337
338
  }
338
- function ze(o) {
339
+ function Ae(o) {
339
340
  let e, i, a;
340
341
  function m(n) {
341
342
  o[34](n);
@@ -361,7 +362,7 @@ function ze(o) {
361
362
  return (
362
363
  /*tagPointClickHelper*/
363
364
  o[12] !== void 0 && (r.tagPointClickHelper = /*tagPointClickHelper*/
364
- o[12]), e = new De({ props: r }), W.push(() => Me(e, "tagPointClickHelper", m)), o[35](e), e.$on(
365
+ o[12]), e = new He({ props: r }), W.push(() => De(e, "tagPointClickHelper", m)), o[35](e), e.$on(
365
366
  "audioInstanceReady",
366
367
  /*audioEventHandlers*/
367
368
  o[27].audioInstanceReady
@@ -397,10 +398,10 @@ function ze(o) {
397
398
  n[12], Se(() => i = !1)), e.$set(l);
398
399
  },
399
400
  i(n) {
400
- a || (b(e.$$.fragment, n), a = !0);
401
+ a || (_(e.$$.fragment, n), a = !0);
401
402
  },
402
403
  o(n) {
403
- T(e.$$.fragment, n), a = !1;
404
+ h(e.$$.fragment, n), a = !1;
404
405
  },
405
406
  d(n) {
406
407
  o[35](null), x(e, n);
@@ -408,11 +409,11 @@ function ze(o) {
408
409
  }
409
410
  );
410
411
  }
411
- function Ae(o) {
412
+ function Re(o) {
412
413
  let e;
413
414
  return {
414
415
  c() {
415
- e = X("div"), _(e, "data-info", "tag content is disable");
416
+ e = X("div"), c(e, "data-info", "tag content is disable");
416
417
  },
417
418
  m(i, a) {
418
419
  R(i, e, a);
@@ -425,7 +426,7 @@ function Ae(o) {
425
426
  }
426
427
  };
427
428
  }
428
- function Re(o) {
429
+ function Ze(o) {
429
430
  let e, i;
430
431
  return e = new we({
431
432
  props: {
@@ -433,7 +434,7 @@ function Re(o) {
433
434
  /*mediaStore*/
434
435
  o[1]
435
436
  ),
436
- tag: ie(
437
+ tag: re(
437
438
  /*tag*/
438
439
  o[0]
439
440
  ),
@@ -470,7 +471,7 @@ function Re(o) {
470
471
  m[0] & /*mediaStore*/
471
472
  2 && (r.mediaStore = /*mediaStore*/
472
473
  a[1]), m[0] & /*tag*/
473
- 1 && (r.tag = ie(
474
+ 1 && (r.tag = re(
474
475
  /*tag*/
475
476
  a[0]
476
477
  )), m[0] & /*state*/
@@ -484,20 +485,20 @@ function Re(o) {
484
485
  a[3]), e.$set(r);
485
486
  },
486
487
  i(a) {
487
- i || (b(e.$$.fragment, a), i = !0);
488
+ i || (_(e.$$.fragment, a), i = !0);
488
489
  },
489
490
  o(a) {
490
- T(e.$$.fragment, a), i = !1;
491
+ h(e.$$.fragment, a), i = !1;
491
492
  },
492
493
  d(a) {
493
494
  x(e, a);
494
495
  }
495
496
  };
496
497
  }
497
- function ne(o) {
498
+ function ae(o) {
498
499
  var a;
499
500
  let e, i;
500
- return e = new Ie({
501
+ return e = new Ue({
501
502
  props: {
502
503
  tag: (
503
504
  /*tag*/
@@ -590,17 +591,17 @@ function ne(o) {
590
591
  m[17]), e.$set(n);
591
592
  },
592
593
  i(m) {
593
- i || (b(e.$$.fragment, m), i = !0);
594
+ i || (_(e.$$.fragment, m), i = !0);
594
595
  },
595
596
  o(m) {
596
- T(e.$$.fragment, m), i = !1;
597
+ h(e.$$.fragment, m), i = !1;
597
598
  },
598
599
  d(m) {
599
600
  x(e, m);
600
601
  }
601
602
  };
602
603
  }
603
- function Ze(o) {
604
+ function Ne(o) {
604
605
  var u;
605
606
  let e, i = (
606
607
  /*tag*/
@@ -612,11 +613,11 @@ function Ze(o) {
612
613
  /*screenPosition*/
613
614
  o[9] && (!/*disable*/
614
615
  o[22] || /*isHovering*/
615
- o[11]) && re(o)
616
- ), n = i && ne(o);
616
+ o[11]) && ne(o)
617
+ ), n = i && ae(o);
617
618
  return {
618
619
  c() {
619
- r && r.c(), e = ae(), n && n.c(), a = he();
620
+ r && r.c(), e = pe(), n && n.c(), a = Pe();
620
621
  },
621
622
  m(l, g) {
622
623
  r && r.m(l, g), R(l, e, g), n && n.m(l, g), R(l, a, g), m = !0;
@@ -627,34 +628,34 @@ function Ze(o) {
627
628
  l[9] && (!/*disable*/
628
629
  l[22] || /*isHovering*/
629
630
  l[11]) ? r ? (r.p(l, g), g[0] & /*screenPosition, disable, isHovering*/
630
- 4196864 && b(r, 1)) : (r = re(l), r.c(), b(r, 1), r.m(e.parentNode, e)) : r && (V(), T(r, 1, 1, () => {
631
+ 4196864 && _(r, 1)) : (r = ne(l), r.c(), _(r, 1), r.m(e.parentNode, e)) : r && (j(), h(r, 1, 1, () => {
631
632
  r = null;
632
- }), F()), g[0] & /*tag, hasPopoverContent, isHovering*/
633
+ }), V()), g[0] & /*tag, hasPopoverContent, isHovering*/
633
634
  16779265 && (i = /*tag*/
634
635
  l[0].isPopoverConfigEnabled() && /*hasPopoverContent*/
635
636
  l[24] && /*isHovering*/
636
637
  (l[11] || /*tag*/
637
638
  ((d = l[0].config.popoverConfig) == null ? void 0 : d.debug))), i ? n ? (n.p(l, g), g[0] & /*tag, hasPopoverContent, isHovering*/
638
- 16779265 && b(n, 1)) : (n = ne(l), n.c(), b(n, 1), n.m(a.parentNode, a)) : n && (V(), T(n, 1, 1, () => {
639
+ 16779265 && _(n, 1)) : (n = ae(l), n.c(), _(n, 1), n.m(a.parentNode, a)) : n && (j(), h(n, 1, 1, () => {
639
640
  n = null;
640
- }), F());
641
+ }), V());
641
642
  },
642
643
  i(l) {
643
- m || (b(r), b(n), m = !0);
644
+ m || (_(r), _(n), m = !0);
644
645
  },
645
646
  o(l) {
646
- T(r), T(n), m = !1;
647
+ h(r), h(n), m = !1;
647
648
  },
648
649
  d(l) {
649
650
  r && r.d(l), l && Z(e), n && n.d(l), l && Z(a);
650
651
  }
651
652
  };
652
653
  }
653
- function Ne(o, e, i) {
654
- let a, m, r, n, u, l, g, d, U, v, L, { tag: t } = e, { mediaStore: k } = e, { rendererMap: S = /* @__PURE__ */ new Map() } = e, { contentTypeMap: f = /* @__PURE__ */ new Map() } = e, { state: s } = e, { temporaryState: w } = e, { wrapperElement: D = null } = e, { popoverContainer: ee = null } = e;
655
- const pe = Pe("hooks");
656
- let h = !1, y, P, j = null, G = !1, J = !1, K = null, Q = null, N = !1, te = 0, oe = 0;
657
- const me = {
654
+ function Oe(o, e, i) {
655
+ let a, m, r, n, u, l, g, d, U, b, L, { tag: t } = e, { mediaStore: v } = e, { rendererMap: D = /* @__PURE__ */ new Map() } = e, { contentTypeMap: f = /* @__PURE__ */ new Map() } = e, { state: s } = e, { temporaryState: S } = e, { wrapperElement: w = null } = e, { popoverContainer: ee = null } = e;
656
+ const me = ye("hooks");
657
+ let y = !1, M, E, B = null, G = !1, J = !1, K = null, Q = null, N = !1, te = 0, oe = 0;
658
+ const le = {
658
659
  audioInstanceReady: (p) => {
659
660
  i(14, Q = p.detail), i(15, N = !Q.paused);
660
661
  },
@@ -673,110 +674,117 @@ function Ne(o, e, i) {
673
674
  };
674
675
  let O = !1;
675
676
  const q = (p) => {
676
- if (P && clearTimeout(P), p === !0 && !O) {
677
- O = !0, i(11, h = !0);
677
+ if (E && clearTimeout(E), p === !0 && !O) {
678
+ O = !0, i(11, y = !0);
678
679
  return;
679
680
  }
680
- P = setTimeout(
681
+ E = setTimeout(
681
682
  () => {
682
- var c;
683
- !G && !J && !((c = t.config.popoverConfig) != null && c.debug) && (O = !1, i(11, h = !1));
683
+ var k;
684
+ !G && !J && !((k = t.config.popoverConfig) != null && k.debug) && (O = !1, i(11, y = !1));
684
685
  },
685
686
  300
686
687
  );
687
- }, le = () => {
688
- G = !0, P && clearTimeout(P);
689
688
  }, fe = () => {
689
+ G = !0, E && clearTimeout(E);
690
+ }, ue = () => {
690
691
  G = !1, q(!1);
691
- }, ue = (p) => {
692
- var c, C, E, M, z, A;
693
- if (p.pointerType === "mouse" && (J = !0, t.isPopoverConfigEnabled() && t.isHoverEnabled() && ((C = (c = t.currentConfig) == null ? void 0 : c.popoverConfig) == null ? void 0 : C.trigger) === "hover")) {
694
- if (P && clearTimeout(P), y !== void 0)
692
+ }, se = (p) => {
693
+ var P, T, C, z, A, ie;
694
+ if (p.pointerType !== "mouse")
695
+ return;
696
+ J = !0;
697
+ const k = (T = (P = t.currentConfig) == null ? void 0 : P.popoverConfig) == null ? void 0 : T.trigger;
698
+ if (t.isPopoverConfigEnabled() && t.isHoverEnabled() && k === "hover") {
699
+ if (E && clearTimeout(E), M !== void 0)
695
700
  return;
696
- ((M = (E = t.currentConfig) == null ? void 0 : E.popoverConfig) == null ? void 0 : M.triggerDelay) > 0 ? y = setTimeout(
701
+ ((z = (C = t.currentConfig) == null ? void 0 : C.popoverConfig) == null ? void 0 : z.triggerDelay) > 0 ? M = setTimeout(
697
702
  () => {
698
- q(!0), t.hooks.emit("hover", { event: p, tag: t }), y = void 0;
703
+ q(!0), t.hooks.emit("hover", { event: p, tag: t }), M = void 0;
699
704
  },
700
- (A = (z = t.currentConfig) == null ? void 0 : z.popoverConfig) == null ? void 0 : A.triggerDelay
705
+ (ie = (A = t.currentConfig) == null ? void 0 : A.popoverConfig) == null ? void 0 : ie.triggerDelay
701
706
  ) : (q(!0), t.hooks.emit("hover", { event: p, tag: t }));
702
707
  }
703
- }, se = (p) => {
704
- var c, C;
705
- p.pointerType === "mouse" && (J = !1, t.isHoverEnabled() && t.isPopoverConfigEnabled() && ((C = (c = t.currentConfig) == null ? void 0 : c.popoverConfig) == null ? void 0 : C.trigger) === "hover" && (y !== void 0 && (clearTimeout(y), y = void 0), q(!1)));
706
708
  }, de = (p) => {
707
- var C, E;
708
- const c = t.contentType === "Audio" && t.data.appearance === "plane";
709
- t.isPopoverConfigEnabled() && t.isHoverEnabled() && ((E = (C = t.currentConfig) == null ? void 0 : C.popoverConfig) == null ? void 0 : E.trigger) === "click" && (c ? h || (i(11, h = !0), t.hooks.emit("hover", { event: p, tag: t })) : (i(11, h = !h), h && t.hooks.emit("hover", { event: p, tag: t })));
709
+ var P, T;
710
+ if (p.pointerType !== "mouse")
711
+ return;
712
+ J = !1;
713
+ const k = (T = (P = t.currentConfig) == null ? void 0 : P.popoverConfig) == null ? void 0 : T.trigger;
714
+ t.isHoverEnabled() && t.isPopoverConfigEnabled() && k === "hover" && (M !== void 0 && (clearTimeout(M), M = void 0), q(!1));
715
+ }, ge = (p) => {
716
+ var T, C;
717
+ const k = t.contentType === "Audio" && t.data.appearance === "plane", P = (C = (T = t.currentConfig) == null ? void 0 : T.popoverConfig) == null ? void 0 : C.trigger;
718
+ t.isPopoverConfigEnabled() && t.isHoverEnabled() && P === "click" && (k ? y || (i(11, y = !0), t.hooks.emit("hover", { event: p, tag: t })) : (i(11, y = !y), y && t.hooks.emit("hover", { event: p, tag: t })));
710
719
  };
711
- function ge() {
712
- O = !1, i(11, h = !1);
720
+ function ce() {
721
+ O = !1, i(11, y = !1);
713
722
  }
714
- ye(() => () => {
715
- y && clearTimeout(y), P && clearTimeout(P);
723
+ Ee(() => () => {
724
+ M && clearTimeout(M), E && clearTimeout(E);
716
725
  });
717
- function ce(p) {
718
- j = p, i(12, j);
719
- }
720
726
  function _e(p) {
727
+ B = p, i(12, B);
728
+ }
729
+ function be(p) {
721
730
  W[p ? "unshift" : "push"](() => {
722
731
  K = p, i(13, K);
723
732
  });
724
733
  }
725
- function be(p) {
734
+ function ve(p) {
726
735
  W[p ? "unshift" : "push"](() => {
727
736
  t.dom = p, i(0, t);
728
737
  });
729
738
  }
730
739
  return o.$$set = (p) => {
731
- "tag" in p && i(0, t = p.tag), "mediaStore" in p && i(1, k = p.mediaStore), "rendererMap" in p && i(2, S = p.rendererMap), "contentTypeMap" in p && i(3, f = p.contentTypeMap), "state" in p && i(4, s = p.state), "temporaryState" in p && i(5, w = p.temporaryState), "wrapperElement" in p && i(6, D = p.wrapperElement), "popoverContainer" in p && i(7, ee = p.popoverContainer);
740
+ "tag" in p && i(0, t = p.tag), "mediaStore" in p && i(1, v = p.mediaStore), "rendererMap" in p && i(2, D = p.rendererMap), "contentTypeMap" in p && i(3, f = p.contentTypeMap), "state" in p && i(4, s = p.state), "temporaryState" in p && i(5, S = p.temporaryState), "wrapperElement" in p && i(6, w = p.wrapperElement), "popoverContainer" in p && i(7, ee = p.popoverContainer);
732
741
  }, o.$$.update = () => {
733
- var p, c, C, E;
742
+ var p, k, P, T;
734
743
  o.$$.dirty[0] & /*tag, rendererMap*/
735
744
  5 && i(10, a = (() => {
736
- var M, z, A;
737
- return ((z = (M = t.style) == null ? void 0 : M.point) == null ? void 0 : z.enabled) === !1 || ((A = S.get(t.contentType)) == null ? void 0 : A.usePoint) === !1 || t.contentType === "Sticker" || t.contentType === "Link" || t.contentType === "VRLink" || t.contentType === "PanoLink" ? !1 : t.contentType === "Panorama" ? !0 : t.contentType === "Audio" && t.data.appearance === "plane" ? t.isPopoverConfigEnabled() : !0;
745
+ var C, z, A;
746
+ return ((z = (C = t.style) == null ? void 0 : C.point) == null ? void 0 : z.enabled) === !1 || ((A = D.get(t.contentType)) == null ? void 0 : A.usePoint) === !1 || t.contentType === "Sticker" || t.contentType === "Link" || t.contentType === "VRLink" || t.contentType === "PanoLink" ? !1 : t.contentType === "Panorama" ? !0 : t.contentType === "Audio" && t.data.appearance === "plane" ? t.isPopoverConfigEnabled() : !(t.stickType && t.stickType !== "2DPoint" && t.stickType !== "3DPoint");
738
747
  })()), o.$$.dirty[0] & /*tag, havePoint*/
739
- 1025 && i(25, m = (() => !(t.isPopoverConfigEnabled() && t.contentType === "Panorama" || t.isPopoverConfigEnabled() && t.contentType === "ImageText" || t.isPopoverConfigEnabled() && t.contentType === "Text" || t.isPopoverConfigEnabled() && t.contentType === "Audio" || t.stickType !== "2DPoint" && t.stickType !== "3DBox" && t.stickType !== "Polygon" && t.stickType !== "Mask" || t.entryFromModel && He(t.five.state.mode) && a))()), o.$$.dirty[0] & /*tag*/
748
+ 1025 && i(25, m = (() => !(t.isPopoverConfigEnabled() && t.contentType === "Panorama" || t.isPopoverConfigEnabled() && t.contentType === "ImageText" || t.isPopoverConfigEnabled() && t.contentType === "Text" || t.isPopoverConfigEnabled() && t.contentType === "Audio" || t.stickType && t.stickType !== "2DPoint" && t.stickType !== "3DPoint" || t.entryFromModel && Ie(t.five.state.mode) && a))()), o.$$.dirty[0] & /*tag*/
740
749
  1 && i(24, r = (() => {
741
- var M;
742
- return t.contentType === "Marketing" ? !!(t.data.title || t.data.name || t.data.description || t.data.tooltip || (M = t.data.price) != null && M.value || t.data.brandTags && t.data.brandTags.length > 0 || t.data.tags && t.data.tags.length > 0 || t.data.imageUrl || t.data.mediaUrl || t.data.mediaData && t.data.mediaData.length > 0) : !!(t.data.title || t.data.name || t.data.text || t.data.description || t.data.tooltip || t.data.imageUrl || t.data.mediaUrl || t.data.audioUrl || t.data.mediaData && t.data.mediaData.length > 0);
750
+ var C;
751
+ return t.contentType === "Marketing" ? !!(t.data.title || t.data.name || t.data.description || t.data.tooltip || (C = t.data.price) != null && C.value || t.data.brandTags && t.data.brandTags.length > 0 || t.data.tags && t.data.tags.length > 0 || t.data.imageUrl || t.data.mediaUrl || t.data.mediaData && t.data.mediaData.length > 0) : !!(t.data.title || t.data.name || t.data.text || t.data.description || t.data.tooltip || t.data.imageUrl || t.data.mediaUrl || t.data.audioUrl || t.data.mediaData && t.data.mediaData.length > 0);
743
752
  })()), o.$$.dirty[0] & /*tag*/
744
753
  1 && i(23, n = t.id), o.$$.dirty[0] & /*tag*/
745
754
  1 && i(9, u = t.screenPosition), o.$$.dirty[0] & /*tag*/
746
755
  1 && i(22, l = t.enabled === !1 || !t.state), o.$$.dirty[0] & /*tag, screenPosition*/
747
- 513 && i(21, g = !((p = t.state) != null && p.visible) || ((c = t.temporaryState) == null ? void 0 : c.visible) === !1 || !u), o.$$.dirty[0] & /*tag*/
748
- 1 && i(8, d = ((C = t.state) == null ? void 0 : C.unfolded) && !t.isPopoverConfigEnabled()), o.$$.dirty[0] & /*screenPosition*/
756
+ 513 && i(21, g = !((p = t.state) != null && p.visible) || ((k = t.temporaryState) == null ? void 0 : k.visible) === !1 || !u), o.$$.dirty[0] & /*tag*/
757
+ 1 && i(8, d = ((P = t.state) == null ? void 0 : P.unfolded) && !t.isPopoverConfigEnabled()), o.$$.dirty[0] & /*screenPosition*/
749
758
  512 && i(20, U = (u == null ? void 0 : u.leftPx) + "px"), o.$$.dirty[0] & /*screenPosition*/
750
- 512 && i(19, v = (u == null ? void 0 : u.topPx) + "px"), o.$$.dirty[0] & /*unfolded, tag*/
751
- 257 && i(18, L = d ? ((E = t.zIndex) != null ? E : 0) + (d ? 1e6 : 0) : void 0);
759
+ 512 && i(19, b = (u == null ? void 0 : u.topPx) + "px"), o.$$.dirty[0] & /*unfolded, tag*/
760
+ 257 && i(18, L = d ? ((T = t.zIndex) != null ? T : 0) + (d ? 1e6 : 0) : void 0);
752
761
  }, [
753
762
  t,
754
- k,
755
- S,
763
+ v,
764
+ D,
756
765
  f,
757
766
  s,
767
+ S,
758
768
  w,
759
- D,
760
769
  ee,
761
770
  d,
762
771
  u,
763
772
  a,
764
- h,
765
- j,
773
+ y,
774
+ B,
766
775
  K,
767
776
  Q,
768
777
  N,
769
778
  te,
770
779
  oe,
771
780
  L,
772
- v,
781
+ b,
773
782
  U,
774
783
  g,
775
784
  l,
776
785
  n,
777
786
  r,
778
787
  m,
779
- pe,
780
788
  me,
781
789
  le,
782
790
  fe,
@@ -786,16 +794,17 @@ function Ne(o, e, i) {
786
794
  ge,
787
795
  ce,
788
796
  _e,
789
- be
797
+ be,
798
+ ve
790
799
  ];
791
800
  }
792
- class gr extends ve {
801
+ class _r extends ke {
793
802
  constructor(e) {
794
- super(), ke(
803
+ super(), Te(
795
804
  this,
796
805
  e,
806
+ Oe,
797
807
  Ne,
798
- Ze,
799
808
  Ce,
800
809
  {
801
810
  tag: 0,
@@ -807,11 +816,11 @@ class gr extends ve {
807
816
  wrapperElement: 6,
808
817
  popoverContainer: 7
809
818
  },
810
- Ue,
819
+ Le,
811
820
  [-1, -1]
812
821
  );
813
822
  }
814
823
  }
815
824
  export {
816
- gr as default
825
+ _r as default
817
826
  };
@@ -105,6 +105,7 @@ import "../../../Sculpt/typings/style.js";
105
105
  import "../../../shared-utils/three/IObject3D.js";
106
106
  import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
107
107
  import "../../../shared-utils/three/applyObjectMatrixWorld.js";
108
+ import "../../../shared-utils/five/getFiveFromParentChain.js";
108
109
  import "../../../shared-utils/three/core/LineGeometry.js";
109
110
  import "../../../shared-utils/three/core/LineMaterial.js";
110
111
  import "../../../shared-utils/three/core/Line2.js";
@@ -122,7 +123,7 @@ import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
122
123
  import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
123
124
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
124
125
  import "../../../shared-utils/formatRad.js";
125
- class Jt {
126
+ class Ht {
126
127
  constructor(t, e) {
127
128
  a(this, "plugin");
128
129
  a(this, "id");
@@ -838,5 +839,5 @@ class Jt {
838
839
  }
839
840
  }
840
841
  export {
841
- Jt as BaseTag
842
+ Ht as BaseTag
842
843
  };