@realsee/dnalogel 3.43.0 → 3.44.1

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 (158) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
  3. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
  4. package/dist/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
  5. package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
  6. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
  7. package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -0
  8. package/dist/Sculpt/Meshes/Line.d.ts +19 -1
  9. package/dist/Sculpt/utils/color.d.ts +1 -1
  10. package/dist/index.cjs.js +102 -68
  11. package/dist/index.js +7127 -6867
  12. package/dist/index.umd.js +106 -72
  13. package/dist/shared-utils/five/getPosition.d.ts +12 -4
  14. package/dist/shared-utils/five/initialCSS3DRender.d.ts +2 -0
  15. package/dist/shared-utils/math/deg2Rad.d.ts +1 -1
  16. package/dist/shared-utils/math/rad2Deg.d.ts +1 -1
  17. package/dist/shared-utils/positionToVector3.d.ts +6 -6
  18. package/{libs/shared-utils/three/PointSelector.d.ts → dist/shared-utils/three/PointSelector/index.d.ts} +23 -7
  19. package/dist/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
  20. package/dist/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
  21. package/dist/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
  22. package/dist/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
  23. package/dist/shared-utils/three/index.d.ts +2 -3
  24. package/libs/AreaMakerPlugin/Controller.js +5 -18
  25. package/libs/AreaMakerPlugin/index.js +4 -17
  26. package/libs/AreaMakerPlugin/utils/Item.js +13 -26
  27. package/libs/CSS3DRenderPlugin/Controller.js +9 -6
  28. package/libs/CSS3DRenderPlugin/index.js +12 -9
  29. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +6 -6
  30. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
  31. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +73 -56
  32. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +11 -4
  33. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
  34. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +14 -14
  35. package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
  36. package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.js +13 -0
  37. package/libs/CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js +85 -0
  38. package/libs/CruisePlugin/BaseController.js +20 -33
  39. package/libs/CruisePlugin/Move.js +25 -23
  40. package/libs/CruisePlugin/Work.js +10 -8
  41. package/libs/CruisePlugin/index.js +23 -21
  42. package/libs/CurrentPanoImagePlugin/Controller.js +30 -43
  43. package/libs/CurrentPanoImagePlugin/index.js +5 -18
  44. package/libs/GuideLinePlugin/Controller.js +15 -13
  45. package/libs/GuideLinePlugin/GuideLineItem.js +19 -17
  46. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -5
  47. package/libs/GuideLinePlugin/GuideLineModeItem.js +21 -19
  48. package/libs/GuideLinePlugin/index.js +23 -21
  49. package/libs/ModelMakerPlugin/Controller.js +19 -30
  50. package/libs/ModelMakerPlugin/index.js +11 -22
  51. package/libs/ModelTVVideoPlugin/Plugin.js +13 -10
  52. package/libs/ModelTVVideoPlugin/index.js +12 -9
  53. package/libs/Object3DHelperPlugin/Controller.js +7 -5
  54. package/libs/Object3DHelperPlugin/index.js +23 -21
  55. package/libs/PanoCompassPlugin/Controller.js +18 -15
  56. package/libs/PanoCompassPlugin/index.js +21 -18
  57. package/libs/PanoDoorLabelPlugin/BaseController.js +24 -37
  58. package/libs/PanoDoorLabelPlugin/Controller.js +56 -69
  59. package/libs/PanoDoorLabelPlugin/index.js +5 -18
  60. package/libs/PanoMeasurePlugin/Components/Controller0.js +40 -47
  61. package/libs/PanoMeasurePlugin/Components/Controller1.js +72 -79
  62. package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
  63. package/libs/PanoMeasurePlugin/Controller/BaseController.js +53 -39
  64. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
  65. package/libs/PanoMeasurePlugin/Controller/EditController.js +177 -153
  66. package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -1
  67. package/libs/PanoMeasurePlugin/Controller/WatchController.js +60 -74
  68. package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -0
  69. package/libs/PanoMeasurePlugin/Controller/index.js +59 -60
  70. package/libs/PanoMeasurePlugin/Model/area.js +30 -44
  71. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -16
  72. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +42 -49
  73. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -1
  74. package/libs/PanoMeasurePlugin/index.js +35 -40
  75. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +23 -36
  76. package/libs/PanoSpatialTagPlugin/Plugin.js +41 -38
  77. package/libs/PanoSpatialTagPlugin/index.js +10 -7
  78. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +29 -43
  79. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +55 -69
  80. package/libs/PanoTagPlugin/Components/Tag/index.js +9 -19
  81. package/libs/PanoTagPlugin/Components/TagContainer.js +42 -52
  82. package/libs/PanoTagPlugin/Components/TagItem.js +9 -19
  83. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +56 -64
  84. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +29 -39
  85. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +11 -21
  86. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +18 -28
  87. package/libs/PanoTagPlugin/controller/TagRender.js +18 -16
  88. package/libs/PanoTagPlugin/controller/TagUtil.js +12 -9
  89. package/libs/PanoTagPlugin/controller/index.js +27 -25
  90. package/libs/PanoTagPlugin/index.js +28 -26
  91. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +43 -57
  92. package/libs/PanoVideoPlugin/Controller.js +52 -65
  93. package/libs/PanoVideoPlugin/VideoMeshController.js +11 -25
  94. package/libs/PanoVideoPlugin/index.js +8 -21
  95. package/libs/PipelinePlugin/Controller.js +44 -57
  96. package/libs/PipelinePlugin/index.js +5 -18
  97. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +20 -34
  98. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +16 -30
  99. package/libs/PipelinePlugin/utils/Objects/Pipe.js +39 -53
  100. package/libs/Sculpt/Meshes/Box.js +3 -3
  101. package/libs/Sculpt/Meshes/Cylinder.js +14 -14
  102. package/libs/Sculpt/Meshes/Line.d.ts +19 -1
  103. package/libs/Sculpt/Meshes/Line.js +40 -41
  104. package/libs/Sculpt/Meshes/LineWithDots.js +5 -6
  105. package/libs/Sculpt/Meshes/Point.js +3 -3
  106. package/libs/Sculpt/Meshes/Polyline.js +3 -3
  107. package/libs/Sculpt/Meshes/Prism.js +11 -12
  108. package/libs/Sculpt/Meshes/Rectangle.js +3 -3
  109. package/libs/Sculpt/Objects/Point/Editor.js +10 -10
  110. package/libs/Sculpt/Objects/Polygon/Editor.js +6 -6
  111. package/libs/Sculpt/Objects/Polyline/Editor.js +4 -4
  112. package/libs/Sculpt/index.js +3 -3
  113. package/libs/Sculpt/utils/Modules/Global.js +1 -1
  114. package/libs/Sculpt/utils/color.d.ts +1 -1
  115. package/libs/Sculpt/utils/three/ColoredMesh.js +3 -3
  116. package/libs/base/BasePlugin.js +4 -4
  117. package/libs/floorplan/Components/Compass.js +29 -31
  118. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +9 -22
  119. package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -19
  120. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -18
  121. package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -18
  122. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +48 -61
  123. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -18
  124. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +28 -41
  125. package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -18
  126. package/libs/floorplan/index.js +3 -3
  127. package/libs/index.js +140 -137
  128. package/libs/shared-utils/five/getPosition.d.ts +12 -4
  129. package/libs/shared-utils/five/getPosition.js +23 -23
  130. package/libs/shared-utils/five/index.js +2 -2
  131. package/libs/shared-utils/five/initialCSS3DRender.d.ts +2 -0
  132. package/libs/shared-utils/five/initialCSS3DRender.js +17 -0
  133. package/libs/shared-utils/five/lookObject.js +3 -3
  134. package/libs/shared-utils/index.js +38 -40
  135. package/libs/shared-utils/logger.js +1 -1
  136. package/libs/shared-utils/math/deg2Rad.d.ts +1 -1
  137. package/libs/shared-utils/math/rad2Deg.d.ts +1 -1
  138. package/libs/shared-utils/positionToVector3.d.ts +6 -6
  139. package/{dist/shared-utils/three/PointSelector.d.ts → libs/shared-utils/three/PointSelector/index.d.ts} +23 -7
  140. package/libs/shared-utils/three/{PointSelector.js → PointSelector/index.js} +54 -45
  141. package/libs/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
  142. package/libs/shared-utils/three/PointSelector/utils/PointHelper.js +95 -0
  143. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
  144. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +153 -0
  145. package/libs/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
  146. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +60 -0
  147. package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.js +3 -4
  148. package/libs/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
  149. package/libs/shared-utils/three/index.d.ts +2 -3
  150. package/libs/shared-utils/three/index.js +3 -3
  151. package/package.json +3 -3
  152. package/dist/shared-utils/three/PointDomHelper.d.ts +0 -18
  153. package/libs/shared-utils/three/PointDomHelper.d.ts +0 -18
  154. package/libs/shared-utils/three/PointDomHelper.js +0 -62
  155. package/libs/shared-utils/three/PointHelper.js +0 -73
  156. package/libs/shared-utils/three/PointSelectorHelper.js +0 -52
  157. /package/dist/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
  158. /package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
@@ -1,30 +1,30 @@
1
1
  var j = Object.defineProperty;
2
2
  var v = Object.getOwnPropertySymbols;
3
3
  var P = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
4
- var A = (c, n, e) => n in c ? j(c, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[n] = e, m = (c, n) => {
4
+ var A = (d, n, e) => n in d ? j(d, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[n] = e, l = (d, n) => {
5
5
  for (var e in n || (n = {}))
6
- P.call(n, e) && A(c, e, n[e]);
6
+ P.call(n, e) && A(d, e, n[e]);
7
7
  if (v)
8
8
  for (var e of v(n))
9
- _.call(n, e) && A(c, e, n[e]);
10
- return c;
9
+ _.call(n, e) && A(d, e, n[e]);
10
+ return d;
11
11
  };
12
- var u = (c, n, e) => (A(c, typeof n != "symbol" ? n + "" : n, e), e);
13
- var d = (c, n, e) => new Promise((t, i) => {
12
+ var u = (d, n, e) => (A(d, typeof n != "symbol" ? n + "" : n, e), e);
13
+ var p = (d, n, e) => new Promise((t, i) => {
14
14
  var s = (a) => {
15
15
  try {
16
- o(e.next(a));
17
- } catch (p) {
18
- i(p);
16
+ h(e.next(a));
17
+ } catch (c) {
18
+ i(c);
19
19
  }
20
20
  }, r = (a) => {
21
21
  try {
22
- o(e.throw(a));
23
- } catch (p) {
24
- i(p);
22
+ h(e.throw(a));
23
+ } catch (c) {
24
+ i(c);
25
25
  }
26
- }, o = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(s, r);
27
- o((e = e.apply(c, n)).next());
26
+ }, h = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(s, r);
27
+ h((e = e.apply(d, n)).next());
28
28
  });
29
29
  import * as F from "three";
30
30
  import { Controller as S } from "../base/BasePluginWithData.js";
@@ -36,22 +36,8 @@ import { ObjectFlowPipe as D } from "./utils/Objects/FlowPipe.js";
36
36
  import "../base/BasePlugin.js";
37
37
  import "../shared-utils/Subscribe.js";
38
38
  import "hammerjs";
39
- import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
40
- import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
41
- import "../shared-utils/positionToVector3.js";
42
- import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
43
39
  import "three/examples/jsm/renderers/CSS3DRenderer";
44
- import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
45
- import "../shared-utils/util.js";
46
- import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
47
- import "../CSS3DRenderPlugin/utils/even.js";
48
- import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
49
- import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
50
- import "../shared-utils/three/centerPoint.js";
51
- import "../shared-utils/three/getObjectVisible.js";
52
- import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
53
- import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
54
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
40
+ import "@realsee/five/line";
55
41
  import "../shared-utils/three/THREESphere.js";
56
42
  import "animejs";
57
43
  import "../shared-utils/Utils/FiveUtil.js";
@@ -60,6 +46,7 @@ import "../shared-utils/Utils/WorkUtil.js";
60
46
  import "../shared-utils/five/transformPosition.js";
61
47
  import "../shared-utils/five/getFiveModel.js";
62
48
  import "../shared-utils/url/absoluteUrl.js";
49
+ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
63
50
  import "../shared-utils/isTruelyObject.js";
64
51
  import "../shared-utils/animationFrame/index.js";
65
52
  import "./utils/Objects/Pipe.js";
@@ -68,7 +55,7 @@ import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
68
55
  import "../shared-utils/three/Extras/Core/Interpolations.js";
69
56
  import "../shared-utils/three/Extras/Core/Interpolations2.js";
70
57
  const g = { flowSpeed: 0.6, rotateSpeed: 0 };
71
- class Oe extends S {
58
+ class ne extends S {
72
59
  constructor(e) {
73
60
  super(e);
74
61
  // ==================== public properties ====================
@@ -97,12 +84,12 @@ class Oe extends S {
97
84
  const [t] = e, i = t.intersectObjects(this.pipeObjects, !1);
98
85
  if (i.length === 0 || !this.data)
99
86
  return;
100
- const o = i[0].object.customID, a = this.data.pipes.find(({ id: h }) => h === o), p = this.data.pipelines.find((h) => a && h.pipes.includes(a));
101
- if (!(!a || !p))
87
+ const h = i[0].object.customID, a = this.data.pipes.find(({ id: o }) => o === h), c = this.data.pipelines.find((o) => a && o.pipes.includes(a));
88
+ if (!(!a || !c))
102
89
  return this.hooks.emit("tap", {
103
90
  intersectObjects: i,
104
91
  pipe: a,
105
- pipeline: p,
92
+ pipeline: c,
106
93
  wantsFiveTapGestureParams: e
107
94
  }), !1;
108
95
  });
@@ -125,19 +112,19 @@ class Oe extends S {
125
112
  */
126
113
  // eslint-disable-next-line max-params
127
114
  load(e, t, i, s) {
128
- return d(this, null, function* () {
115
+ return p(this, null, function* () {
129
116
  const r = this.data;
130
117
  this.data = yield this.formatData(e, s), this.removeAllPipes(), this.hooks.emit("dataChange", this.data, r), this.pipeObjects = yield Promise.all(
131
- this.data.pipes.filter((o) => !!(o != null && o.texture)).map((b) => d(this, [b], function* ({ id: o, texture: a, path: p, radius: h }) {
132
- const l = yield this.loadPipeTexture(a), f = { id: o, path: p, textureURL: a, texture: l, geometryConfig: { radius: h } };
118
+ this.data.pipes.filter((h) => !!(h != null && h.texture)).map((b) => p(this, [b], function* ({ id: h, texture: a, path: c, radius: o }) {
119
+ const m = yield this.loadPipeTexture(a), f = { id: h, path: c, textureURL: a, texture: m, geometryConfig: { radius: o } };
133
120
  return new D(f);
134
121
  }))
135
- ), this.data.pipelines.forEach((o) => {
136
- o.pipes.reduce((a, p) => {
137
- const h = this.findPipeObjectWithID(p.id);
138
- return h == null || h.setInitialDisplacement(a), a + ((h == null ? void 0 : h.pathLength) || 0);
122
+ ), this.data.pipelines.forEach((h) => {
123
+ h.pipes.reduce((a, c) => {
124
+ const o = this.findPipeObjectWithID(c.id);
125
+ return o == null || o.setInitialDisplacement(a), a + ((o == null ? void 0 : o.pathLength) || 0);
139
126
  }, 0);
140
- }), this.hooks.emit("dataLoaded", this.data), this.state.visible === !1 && this.pipeObjects.forEach((o) => o.setOpacity(0)), this.state.enabled && (this.group.add(...this.pipeObjects), this.five.needsRender = !0), t && this.setState(t, { userAction: i });
127
+ }), this.hooks.emit("dataLoaded", this.data), this.state.visible === !1 && this.pipeObjects.forEach((h) => h.setOpacity(0)), this.state.enabled && (this.group.add(...this.pipeObjects), this.five.needsRender = !0), t && this.setState(t, { userAction: i });
141
128
  });
142
129
  }
143
130
  /** 更改插件 State
@@ -192,10 +179,10 @@ class Oe extends S {
192
179
  * @param `options.anime.duration` `<number> | <undefined>` 动画时间,默认是 500ms。
193
180
  */
194
181
  show() {
195
- return d(this, arguments, function* (e = {}) {
182
+ return p(this, arguments, function* (e = {}) {
196
183
  if (this.state.visible)
197
184
  return;
198
- const t = m({
185
+ const t = l({
199
186
  userAction: !0,
200
187
  anime: { duration: 500 }
201
188
  }, e);
@@ -209,10 +196,10 @@ class Oe extends S {
209
196
  * @param `options.anime.duration` `<number> | <undefined>` 动画时间,默认是 500ms。
210
197
  */
211
198
  hide() {
212
- return d(this, arguments, function* (e = {}) {
199
+ return p(this, arguments, function* (e = {}) {
213
200
  if (this.state.visible === !1)
214
201
  return;
215
- const t = m({
202
+ const t = l({
216
203
  userAction: !0,
217
204
  anime: { duration: 500 }
218
205
  }, e);
@@ -230,15 +217,15 @@ class Oe extends S {
230
217
  * @param `options.userAction` `<boolean> | <undefined>` 是否是否是用户操作。
231
218
  * */
232
219
  switchPipelines(e) {
233
- return d(this, null, function* () {
234
- var p, h, b, l, f, w;
220
+ return p(this, null, function* () {
221
+ var c, o, b, m, f, w;
235
222
  if (!this.data)
236
223
  return;
237
- const t = (p = e == null ? void 0 : e.target) != null ? p : null, i = (h = e == null ? void 0 : e.userAction) != null ? h : !0;
224
+ const t = (c = e == null ? void 0 : e.target) != null ? c : null, i = (o = e == null ? void 0 : e.userAction) != null ? o : !0;
238
225
  this.updateState({ target: t }, i);
239
- const s = { duration: 500 }, r = (l = (b = e == null ? void 0 : e.hideAnime) != null ? b : e == null ? void 0 : e.anime) != null ? l : s, o = (w = (f = e == null ? void 0 : e.showAnime) != null ? f : e == null ? void 0 : e.anime) != null ? w : s, a = {
226
+ const s = { duration: 500 }, r = (m = (b = e == null ? void 0 : e.hideAnime) != null ? b : e == null ? void 0 : e.anime) != null ? m : s, h = (w = (f = e == null ? void 0 : e.showAnime) != null ? f : e == null ? void 0 : e.anime) != null ? w : s, a = {
240
227
  target: t,
241
- showAnime: o,
228
+ showAnime: h,
242
229
  hideAnime: r
243
230
  };
244
231
  this._switchPipelines(a);
@@ -271,7 +258,7 @@ class Oe extends S {
271
258
  this.updateState({ speed: t }, i), this._setSpeed(t);
272
259
  }
273
260
  formatData(e, t) {
274
- return d(this, null, function* () {
261
+ return p(this, null, function* () {
275
262
  return y(e, t);
276
263
  });
277
264
  }
@@ -282,7 +269,7 @@ class Oe extends S {
282
269
  this.hooks.emit("disable", { userAction: e.userAction }), this.disposeAnime(), this.five.scene.remove(this.group), this.five.needsRender = !0, this.five.off("wantsTapGesture", this.onWantsFiveTapGesture);
283
270
  }
284
271
  _show(e) {
285
- return d(this, null, function* () {
272
+ return p(this, null, function* () {
286
273
  var s;
287
274
  this.hooks.emit("show", { userAction: e.userAction });
288
275
  const t = (s = e == null ? void 0 : e.anime) != null ? s : { duration: 500 }, i = this.findPipeObjectWithTarget(this.state.target);
@@ -290,7 +277,7 @@ class Oe extends S {
290
277
  });
291
278
  }
292
279
  _hide(e) {
293
- return d(this, null, function* () {
280
+ return p(this, null, function* () {
294
281
  var i;
295
282
  this.hooks.emit("hide", { userAction: e.userAction });
296
283
  const t = (i = e == null ? void 0 : e.anime) != null ? i : { duration: 500 };
@@ -298,7 +285,7 @@ class Oe extends S {
298
285
  });
299
286
  }
300
287
  _switchPipelines(e) {
301
- return d(this, null, function* () {
288
+ return p(this, null, function* () {
302
289
  if (!this.data)
303
290
  return;
304
291
  const t = this.findPipeObjectWithTarget(e.target), i = e.hideAnime;
@@ -318,11 +305,11 @@ class Oe extends S {
318
305
  }
319
306
  updateState(e, t) {
320
307
  const i = this.state;
321
- this.state = m(m({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: t });
308
+ this.state = l(l({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: t });
322
309
  }
323
310
  /** 加载管道贴图,如果再加载中,复用之前的加载 Promise */
324
311
  loadPipeTexture(e) {
325
- return d(this, null, function* () {
312
+ return p(this, null, function* () {
326
313
  const t = this.texturePromiseCache.get(e);
327
314
  if (t)
328
315
  return t;
@@ -348,5 +335,5 @@ class Oe extends S {
348
335
  }
349
336
  }
350
337
  export {
351
- Oe as Controller
338
+ ne as Controller
352
339
  };
@@ -4,22 +4,8 @@ import "../base/BasePluginWithData.js";
4
4
  import "../base/BasePlugin.js";
5
5
  import "../shared-utils/Subscribe.js";
6
6
  import "hammerjs";
7
- import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
8
- import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
9
- import "../shared-utils/positionToVector3.js";
10
- import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
11
7
  import "three/examples/jsm/renderers/CSS3DRenderer";
12
- import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
13
- import "../shared-utils/util.js";
14
- import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
15
- import "../CSS3DRenderPlugin/utils/even.js";
16
- import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
17
- import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
18
- import "../shared-utils/three/centerPoint.js";
19
- import "../shared-utils/three/getObjectVisible.js";
20
- import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
21
- import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
22
- import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
8
+ import "@realsee/five/line";
23
9
  import "../shared-utils/three/THREESphere.js";
24
10
  import "animejs";
25
11
  import "../shared-utils/Utils/FiveUtil.js";
@@ -28,6 +14,7 @@ import "../shared-utils/Utils/WorkUtil.js";
28
14
  import "../shared-utils/five/transformPosition.js";
29
15
  import "../shared-utils/five/getFiveModel.js";
30
16
  import "../shared-utils/url/absoluteUrl.js";
17
+ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
31
18
  import "../shared-utils/equal.js";
32
19
  import "../shared-utils/isTruelyObject.js";
33
20
  import "../shared-utils/isNil.js";
@@ -40,8 +27,8 @@ import "../shared-utils/animationFrame/BetterTween.js";
40
27
  import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
41
28
  import "../shared-utils/three/Extras/Core/Interpolations.js";
42
29
  import "../shared-utils/three/Extras/Core/Interpolations2.js";
43
- const S = (r) => new o(r);
30
+ const E = (r) => new o(r);
44
31
  export {
45
- S as PipelinePlugin,
46
- S as default
32
+ E as PipelinePlugin,
33
+ E as default
47
34
  };
@@ -1,29 +1,15 @@
1
1
  var v = Object.defineProperty;
2
- var u = (o, e, t) => e in o ? v(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
- var r = (o, e, t) => (u(o, typeof e != "symbol" ? e + "" : e, t), t);
2
+ var u = (o, i, t) => i in o ? v(o, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[i] = t;
3
+ var r = (o, i, t) => (u(o, typeof i != "symbol" ? i + "" : i, t), t);
4
4
  import "three";
5
5
  import "hammerjs";
6
- import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
7
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
8
- import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
6
+ import "three/examples/jsm/renderers/CSS3DRenderer";
7
+ import "@realsee/five/line";
9
8
  import "../../../shared-utils/three/THREESphere.js";
10
9
  import "animejs";
11
10
  import { requestAnimationFrameInterval as c } from "../../../shared-utils/animationFrame/index.js";
12
11
  import { ObjectPipe as h } from "./Pipe.js";
13
- import "../../../shared-utils/positionToVector3.js";
14
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
15
- import "three/examples/jsm/renderers/CSS3DRenderer";
16
- import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
17
- import "../../../shared-utils/util.js";
18
- import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
19
- import "../../../CSS3DRenderPlugin/utils/even.js";
20
- import "../../../shared-utils/Subscribe.js";
21
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
22
- import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
23
- import "../../../shared-utils/three/centerPoint.js";
24
- import "../../../shared-utils/three/getObjectVisible.js";
25
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
26
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
12
+ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
27
13
  import "../../../shared-utils/animationFrame/BetterTween.js";
28
14
  import "../../../shared-utils/three/Extras/Curves/BezierCurve3.js";
29
15
  import "../../../shared-utils/three/Extras/Core/Interpolations.js";
@@ -47,7 +33,7 @@ const d = (
47
33
  }
48
34
  `
49
35
  );
50
- class K extends h {
36
+ class x extends h {
51
37
  constructor(t) {
52
38
  super(t, d);
53
39
  /** 初始状态下,当前水管内的水流在整体管道上的位移
@@ -62,36 +48,36 @@ class K extends h {
62
48
  r(this, "flowAnimationDisposer", () => {
63
49
  });
64
50
  }
65
- setInitialDisplacement(t, i = "backward") {
66
- this.initialDisplacement = Math.abs(t) * (i === "forward" ? -1 : 1), this.moveFromOrigin(this.initialDisplacement);
51
+ setInitialDisplacement(t, e = "backward") {
52
+ this.initialDisplacement = Math.abs(t) * (e === "forward" ? -1 : 1), this.moveFromOrigin(this.initialDisplacement);
67
53
  }
68
54
  /** 水流移动「基于初始位置」
69
55
  * @description 因为贴图的运动与 u 的 uOffset 相反,比较反直觉,所以封装方法易于理解
70
56
  * @param displacement 位移:米 * 方向(向前 -> 正, 向后 -> 负)
71
57
  */
72
58
  moveFromOrigin(t) {
73
- const i = t * this.uPreMeter;
74
- return this.material.uniforms.uOffset.value = i, this.material.needsUpdate = !0, this.needsRender = !0, !0;
59
+ const e = t * this.uPreMeter;
60
+ return this.material.uniforms.uOffset.value = e, this.material.needsUpdate = !0, this.needsRender = !0, !0;
75
61
  }
76
62
  /** 水流移动「基于调整管道差值之后的位置」
77
63
  *
78
64
  * @param distance 位移:米 * 方向
79
65
  */
80
66
  moveForwardFromInitialOffset(t) {
81
- const i = t * -1, m = this.initialDisplacement + i;
82
- this.moveFromOrigin(m);
67
+ const e = t * -1, n = this.initialDisplacement + e;
68
+ this.moveFromOrigin(n);
83
69
  }
84
70
  flow() {
85
71
  this.flowAnimationDisposer(), this.oldTime = (/* @__PURE__ */ new Date()).getTime();
86
- let t = 0, i = 0;
87
- const m = c(() => {
88
- const n = (/* @__PURE__ */ new Date()).getTime(), s = n - this.oldTime, a = this.flowSpeed * (s / 1e3), l = this.rotateSpeed * (s / 1e3);
89
- t = t + a, i = i + l;
90
- const p = 1 / 360, f = i * p;
91
- this.material.uniforms.vOffset.value = f, this.moveForwardFromInitialOffset(t), this.oldTime = n;
72
+ let t = 0, e = 0;
73
+ const n = c(() => {
74
+ const s = (/* @__PURE__ */ new Date()).getTime(), a = s - this.oldTime, m = this.flowSpeed * (a / 1e3), l = this.rotateSpeed * (a / 1e3);
75
+ t = t + m, e = e + l;
76
+ const f = 1 / 360, p = e * f;
77
+ this.material.uniforms.vOffset.value = p, this.moveForwardFromInitialOffset(t), this.oldTime = s;
92
78
  });
93
79
  this.flowAnimationDisposer = function() {
94
- m(), this.moveForwardFromInitialOffset(0);
80
+ n(), this.moveForwardFromInitialOffset(0);
95
81
  };
96
82
  }
97
83
  stopFlow() {
@@ -105,5 +91,5 @@ class K extends h {
105
91
  }
106
92
  }
107
93
  export {
108
- K as ObjectFlowPipe
94
+ x as ObjectFlowPipe
109
95
  };
@@ -1,48 +1,34 @@
1
- var s = Object.defineProperty;
2
- var n = (e, t, i) => t in e ? s(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
3
- var o = (e, t, i) => (n(e, typeof t != "symbol" ? t + "" : t, i), i);
1
+ var o = Object.defineProperty;
2
+ var a = (e, t, i) => t in e ? o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
3
+ var s = (e, t, i) => (a(e, typeof t != "symbol" ? t + "" : t, i), i);
4
4
  import "three";
5
5
  import "hammerjs";
6
- import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
7
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
8
- import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
6
+ import "three/examples/jsm/renderers/CSS3DRenderer";
7
+ import "@realsee/five/line";
9
8
  import "../../../shared-utils/three/THREESphere.js";
10
9
  import "animejs";
11
- import { tweenProgress as h } from "../../../shared-utils/animationFrame/BetterTween.js";
12
- import { ObjectPipe as a } from "./Pipe.js";
13
- import "../../../shared-utils/positionToVector3.js";
14
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
15
- import "three/examples/jsm/renderers/CSS3DRenderer";
16
- import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
17
- import "../../../shared-utils/util.js";
18
- import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
19
- import "../../../CSS3DRenderPlugin/utils/even.js";
20
- import "../../../shared-utils/Subscribe.js";
21
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
22
- import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
23
- import "../../../shared-utils/three/centerPoint.js";
24
- import "../../../shared-utils/three/getObjectVisible.js";
25
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
26
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
10
+ import { tweenProgress as n } from "../../../shared-utils/animationFrame/BetterTween.js";
11
+ import { ObjectPipe as p } from "./Pipe.js";
12
+ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
27
13
  import "../../../shared-utils/animationFrame/index.js";
28
14
  import "../../../shared-utils/three/Extras/Curves/BezierCurve3.js";
29
15
  import "../../../shared-utils/three/Extras/Core/Interpolations.js";
30
16
  import "../../../shared-utils/three/Extras/Core/Interpolations2.js";
31
- class J extends a {
17
+ class x extends p {
32
18
  constructor(i) {
33
19
  super(i);
34
- o(this, "imageCount", 64);
35
- o(this, "highlightAnime");
20
+ s(this, "imageCount", 64);
21
+ s(this, "highlightAnime");
36
22
  }
37
23
  highlight(i) {
38
24
  const r = (i == null ? void 0 : i.duration) || 500;
39
- this.disposeAnime(), this.highlightAnime = h(r).onUpdate(({ progress: m }) => this.setOpacity(m)).yoyo(!0).repeat(1 / 0).play();
25
+ this.disposeAnime(), this.highlightAnime = n(r).onUpdate(({ progress: h }) => this.setOpacity(h)).yoyo(!0).repeat(1 / 0).play();
40
26
  }
41
27
  highlight1(i) {
42
28
  const r = (i == null ? void 0 : i.duration) || 2500;
43
- this.disposeAnime(), this.highlightAnime = h(r).onUpdate(({ progress: m }) => {
44
- const p = -(Math.ceil(m * this.imageCount) - 1) / this.imageCount;
45
- this.material.uniforms.vOffset.value !== p && (this.material.uniforms.vOffset.value = p, this.material.needsUpdate = !0, this.needsRender = !0);
29
+ this.disposeAnime(), this.highlightAnime = n(r).onUpdate(({ progress: h }) => {
30
+ const m = -(Math.ceil(h * this.imageCount) - 1) / this.imageCount;
31
+ this.material.uniforms.vOffset.value !== m && (this.material.uniforms.vOffset.value = m, this.material.needsUpdate = !0, this.needsRender = !0);
46
32
  }).repeat(1 / 0).play();
47
33
  }
48
34
  disposeAnime() {
@@ -51,5 +37,5 @@ class J extends a {
51
37
  }
52
38
  }
53
39
  export {
54
- J as ObjectHighlightPipe
40
+ x as ObjectHighlightPipe
55
41
  };
@@ -1,54 +1,40 @@
1
1
  var d = Object.defineProperty;
2
2
  var v = Object.getOwnPropertySymbols;
3
3
  var A = Object.prototype.hasOwnProperty, w = Object.prototype.propertyIsEnumerable;
4
- var f = (a, e, t) => e in a ? d(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, y = (a, e) => {
4
+ var f = (o, e, t) => e in o ? d(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, y = (o, e) => {
5
5
  for (var t in e || (e = {}))
6
- A.call(e, t) && f(a, t, e[t]);
6
+ A.call(e, t) && f(o, t, e[t]);
7
7
  if (v)
8
8
  for (var t of v(e))
9
- w.call(e, t) && f(a, t, e[t]);
10
- return a;
9
+ w.call(e, t) && f(o, t, e[t]);
10
+ return o;
11
11
  };
12
- var m = (a, e, t) => (f(a, typeof e != "symbol" ? e + "" : e, t), t);
13
- var l = (a, e, t) => new Promise((i, s) => {
14
- var o = (p) => {
12
+ var p = (o, e, t) => (f(o, typeof e != "symbol" ? e + "" : e, t), t);
13
+ var l = (o, e, t) => new Promise((i, s) => {
14
+ var a = (u) => {
15
15
  try {
16
- n(t.next(p));
16
+ n(t.next(u));
17
17
  } catch (c) {
18
18
  s(c);
19
19
  }
20
- }, r = (p) => {
20
+ }, r = (u) => {
21
21
  try {
22
- n(t.throw(p));
22
+ n(t.throw(u));
23
23
  } catch (c) {
24
24
  s(c);
25
25
  }
26
- }, n = (p) => p.done ? i(p.value) : Promise.resolve(p.value).then(o, r);
27
- n((t = t.apply(a, e)).next());
26
+ }, n = (u) => u.done ? i(u.value) : Promise.resolve(u.value).then(a, r);
27
+ n((t = t.apply(o, e)).next());
28
28
  });
29
- import * as u from "three";
29
+ import * as m from "three";
30
30
  import "hammerjs";
31
- import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
32
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
33
- import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
31
+ import "three/examples/jsm/renderers/CSS3DRenderer";
32
+ import "@realsee/five/line";
34
33
  import "../../../shared-utils/three/THREESphere.js";
35
34
  import "animejs";
36
35
  import { BetterTween as g } from "../../../shared-utils/animationFrame/BetterTween.js";
37
36
  import { CustomBezierCurve3 as x } from "../../../shared-utils/three/Extras/Curves/BezierCurve3.js";
38
- import "../../../shared-utils/positionToVector3.js";
39
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
40
- import "three/examples/jsm/renderers/CSS3DRenderer";
41
- import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
42
- import "../../../shared-utils/util.js";
43
- import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
44
- import "../../../CSS3DRenderPlugin/utils/even.js";
45
- import "../../../shared-utils/Subscribe.js";
46
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
47
- import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
48
- import "../../../shared-utils/three/centerPoint.js";
49
- import "../../../shared-utils/three/getObjectVisible.js";
50
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
51
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
37
+ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
52
38
  import "../../../shared-utils/animationFrame/index.js";
53
39
  import "../../../shared-utils/three/Extras/Core/Interpolations.js";
54
40
  import "../../../shared-utils/three/Extras/Core/Interpolations2.js";
@@ -79,29 +65,29 @@ const C = (
79
65
  }
80
66
  `
81
67
  );
82
- class h extends u.Mesh {
68
+ class h extends m.Mesh {
83
69
  constructor(t, i = O) {
84
70
  super();
85
- m(this, "geometryConfig", {
71
+ p(this, "geometryConfig", {
86
72
  radius: 1.5 / 100,
87
73
  tubularSegments: 20,
88
74
  radialSegments: 8
89
75
  });
90
- m(this, "customID");
91
- m(this, "path");
92
- m(this, "pathLength", 0);
93
- m(this, "pathPoints");
94
- m(this, "texture");
95
- m(this, "opacityAnime");
76
+ p(this, "customID");
77
+ p(this, "path");
78
+ p(this, "pathLength", 0);
79
+ p(this, "pathPoints");
80
+ p(this, "texture");
81
+ p(this, "opacityAnime");
96
82
  /** u / m: 每米水管对应到贴图上,应该对应的 u 的长度 */
97
- m(this, "uPreMeter", 1);
98
- t.geometryConfig && (this.geometryConfig = y(y({}, this.geometryConfig), t.geometryConfig)), this.customID = t.id || this.uuid, this.pathPoints = t.path, this.path = h.calculatePath(t.path.map((p) => new u.Vector3().fromArray(p))), this.pathLength = this.path.getLength(), this.texture = h.formatTexture(t.texture);
99
- const { radius: s, tubularSegments: o, radialSegments: r } = this.geometryConfig, n = h.formatTexture(t.texture);
83
+ p(this, "uPreMeter", 1);
84
+ t.geometryConfig && (this.geometryConfig = y(y({}, this.geometryConfig), t.geometryConfig)), this.customID = t.id || this.uuid, this.pathPoints = t.path, this.path = h.calculatePath(t.path.map((u) => new m.Vector3().fromArray(u))), this.pathLength = this.path.getLength(), this.texture = h.formatTexture(t.texture);
85
+ const { radius: s, tubularSegments: a, radialSegments: r } = this.geometryConfig, n = h.formatTexture(t.texture);
100
86
  this.geometry = h.formatGeometryUV(
101
- new u.TubeBufferGeometry(this.path, o, s, r),
87
+ new m.TubeBufferGeometry(this.path, a, s, r),
102
88
  this.pathLength,
103
89
  this.uPreMeter
104
- ), this.material = new u.ShaderMaterial({
90
+ ), this.material = new m.ShaderMaterial({
105
91
  uniforms: {
106
92
  opacity: { value: 1 },
107
93
  uOffset: { value: 0 },
@@ -120,13 +106,13 @@ class h extends u.Mesh {
120
106
  * @description 两个控制点使用直线路径,多个控制点使用贝塞尔路径
121
107
  */
122
108
  static calculatePath(t) {
123
- return t.length === 2 ? new u.LineCurve3(t[0], t[1]) : new x(t);
109
+ return t.length === 2 ? new m.LineCurve3(t[0], t[1]) : new x(t);
124
110
  }
125
111
  static formatGeometryUV(t, i, s) {
126
- const o = t.getAttribute("uv");
127
- for (let r = 0; r < o.count; r++) {
128
- const n = o.getX(r) * i * s;
129
- o.setX(r, n);
112
+ const a = t.getAttribute("uv");
113
+ for (let r = 0; r < a.count; r++) {
114
+ const n = a.getX(r) * i * s;
115
+ a.setX(r, n);
130
116
  }
131
117
  return t;
132
118
  }
@@ -134,12 +120,12 @@ class h extends u.Mesh {
134
120
  * 管道的 Texture 需要满足一定的要求,需要使用 formatTexture 先 format
135
121
  */
136
122
  static formatTexture(t) {
137
- return t.wrapS = u.RepeatWrapping, t.wrapT = u.RepeatWrapping, t;
123
+ return t.wrapS = m.RepeatWrapping, t.wrapT = m.RepeatWrapping, t;
138
124
  }
139
125
  hide(t) {
140
126
  return l(this, null, function* () {
141
- var o;
142
- (o = this.opacityAnime) == null || o.dispose();
127
+ var a;
128
+ (a = this.opacityAnime) == null || a.dispose();
143
129
  const i = 0;
144
130
  if (typeof (t == null ? void 0 : t.duration) != "number")
145
131
  return this.setOpacity(i);
@@ -153,8 +139,8 @@ class h extends u.Mesh {
153
139
  }
154
140
  show(t) {
155
141
  return l(this, null, function* () {
156
- var o;
157
- (o = this.opacityAnime) == null || o.dispose();
142
+ var a;
143
+ (a = this.opacityAnime) == null || a.dispose();
158
144
  const i = 1;
159
145
  if (typeof (t == null ? void 0 : t.duration) != "number")
160
146
  return this.setOpacity(i);
@@ -5,12 +5,12 @@ import { IObject3D as a } from "../../shared-utils/three/IObject3D.js";
5
5
  import { anyPositionToVector3 as c } from "../../shared-utils/positionToVector3.js";
6
6
  import "three";
7
7
  import "hammerjs";
8
- import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
9
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
10
- import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
8
+ import "three/examples/jsm/renderers/CSS3DRenderer";
9
+ import "@realsee/five/line";
11
10
  import "../../shared-utils/three/THREESphere.js";
12
11
  import "animejs";
13
12
  import { notNil as r } from "../../shared-utils/isNil.js";
13
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
14
14
  import { RectangleWithEdgeMesh as P } from "./RectangleWithEdge.js";
15
15
  import { RectangleMesh as m } from "./Rectangle.js";
16
16
  class w extends a {