@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
@@ -129,6 +129,7 @@ import "../../shared-utils/three/IObject3D.js";
129
129
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
130
130
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
131
131
  import "../../shared-utils/util.js";
132
+ import "../../shared-utils/five/getFiveFromParentChain.js";
132
133
  import "../../shared-utils/three/core/LineGeometry.js";
133
134
  import "../../shared-utils/three/core/LineMaterial.js";
134
135
  import "../../shared-utils/three/core/Line2.js";
@@ -156,7 +157,7 @@ function Q(l) {
156
157
  const { latitude: h, longitude: t } = l, e = Math.abs(h - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
157
158
  return e && i;
158
159
  }
159
- class pi extends j {
160
+ class ci extends j {
160
161
  constructor(t, e) {
161
162
  var a, m;
162
163
  super(t);
@@ -555,5 +556,5 @@ class pi extends j {
555
556
  }
556
557
  }
557
558
  export {
558
- pi as Controller
559
+ ci as Controller
559
560
  };
@@ -94,6 +94,7 @@ import "../../Sculpt/typings/style.js";
94
94
  import "../../shared-utils/three/IObject3D.js";
95
95
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
96
96
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
97
+ import "../../shared-utils/five/getFiveFromParentChain.js";
97
98
  import "../../shared-utils/three/core/LineGeometry.js";
98
99
  import "../../shared-utils/three/core/LineMaterial.js";
99
100
  import "../../shared-utils/three/core/Line2.js";
@@ -119,8 +120,8 @@ import "../../shared-utils/translateMode/getDistanceFromModel.js";
119
120
  import "../../shared-utils/changeModelCanvasOpacity.js";
120
121
  import "../../shared-utils/url/replace-static-prefix.js";
121
122
  import "../../shared-utils/url/absoluteUrl.js";
122
- const vr = (o, r) => new t(o, r);
123
+ const xr = (o, r) => new t(o, r);
123
124
  export {
124
- vr as MapviewFloorplanPlugin,
125
- vr as default
125
+ xr as MapviewFloorplanPlugin,
126
+ xr as default
126
127
  };
@@ -128,6 +128,7 @@ import "../../shared-utils/three/IObject3D.js";
128
128
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
129
129
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
130
130
  import "../../shared-utils/util.js";
131
+ import "../../shared-utils/five/getFiveFromParentChain.js";
131
132
  import "../../shared-utils/three/core/LineGeometry.js";
132
133
  import "../../shared-utils/three/core/LineMaterial.js";
133
134
  import "../../shared-utils/three/core/Line2.js";
@@ -154,7 +155,7 @@ function B(l) {
154
155
  const { latitude: a, longitude: t } = l, e = Math.abs(a - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
155
156
  return e && i;
156
157
  }
157
- class ii extends k {
158
+ class oi extends k {
158
159
  constructor(t, e) {
159
160
  var n, m, c;
160
161
  super(t);
@@ -516,5 +517,5 @@ class ii extends k {
516
517
  }
517
518
  }
518
519
  export {
519
- ii as Controller
520
+ oi as Controller
520
521
  };
@@ -94,6 +94,7 @@ import "../../Sculpt/typings/style.js";
94
94
  import "../../shared-utils/three/IObject3D.js";
95
95
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
96
96
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
97
+ import "../../shared-utils/five/getFiveFromParentChain.js";
97
98
  import "../../shared-utils/three/core/LineGeometry.js";
98
99
  import "../../shared-utils/three/core/LineMaterial.js";
99
100
  import "../../shared-utils/three/core/Line2.js";
@@ -118,8 +119,8 @@ import "../../shared-utils/translateMode/getDistanceFromModel.js";
118
119
  import "../../shared-utils/changeModelCanvasOpacity.js";
119
120
  import "../../shared-utils/url/replace-static-prefix.js";
120
121
  import "../../shared-utils/url/absoluteUrl.js";
121
- const wr = (o, r) => new t(o, r);
122
+ const xr = (o, r) => new t(o, r);
122
123
  export {
123
- wr as ModelFloorplanPlugin,
124
- wr as default
124
+ xr as ModelFloorplanPlugin,
125
+ xr as default
125
126
  };
@@ -98,6 +98,7 @@ import "../../shared-utils/three/IObject3D.js";
98
98
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
99
99
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
100
100
  import "../../shared-utils/util.js";
101
+ import "../../shared-utils/five/getFiveFromParentChain.js";
101
102
  import "../../shared-utils/three/core/LineGeometry.js";
102
103
  import "../../shared-utils/three/core/LineMaterial.js";
103
104
  import "../../shared-utils/three/core/Line2.js";
@@ -116,7 +117,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
116
117
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
117
118
  import "@realsee/five";
118
119
  import "../../shared-utils/url/absoluteUrl.js";
119
- class di extends O {
120
+ class li extends O {
120
121
  constructor(t, i) {
121
122
  super(t);
122
123
  // =============== public properties =================
@@ -259,5 +260,5 @@ class di extends O {
259
260
  }
260
261
  }
261
262
  export {
262
- di as Controller
263
+ li as Controller
263
264
  };
@@ -68,6 +68,7 @@ import "../../Sculpt/typings/style.js";
68
68
  import "../../shared-utils/three/IObject3D.js";
69
69
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
70
70
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
71
+ import "../../shared-utils/five/getFiveFromParentChain.js";
71
72
  import "../../shared-utils/three/core/LineGeometry.js";
72
73
  import "../../shared-utils/three/core/LineMaterial.js";
73
74
  import "../../shared-utils/three/core/Line2.js";
@@ -88,8 +89,8 @@ import "../utils/formatData.js";
88
89
  import "../Assets/floorplanExtraObject.js";
89
90
  import "../../shared-utils/url/replace-static-prefix.js";
90
91
  import "../../shared-utils/url/absoluteUrl.js";
91
- const Mo = (o, r) => new t(o, r);
92
+ const No = (o, r) => new t(o, r);
92
93
  export {
93
- Mo as PanoFloorplanRadarPlugin,
94
- Mo as default
94
+ No as PanoFloorplanRadarPlugin,
95
+ No as default
95
96
  };
@@ -125,6 +125,7 @@ import "../../shared-utils/three/IObject3D.js";
125
125
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
126
126
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
127
127
  import "../../shared-utils/util.js";
128
+ import "../../shared-utils/five/getFiveFromParentChain.js";
128
129
  import "../../shared-utils/three/core/LineGeometry.js";
129
130
  import "../../shared-utils/three/core/LineMaterial.js";
130
131
  import "../../shared-utils/three/core/Line2.js";
@@ -143,7 +144,7 @@ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
143
144
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
144
145
  import "@realsee/five";
145
146
  import "../../shared-utils/url/absoluteUrl.js";
146
- class qi extends M {
147
+ class Ji extends M {
147
148
  constructor(t, i) {
148
149
  var h, l;
149
150
  super(t);
@@ -417,5 +418,5 @@ class qi extends M {
417
418
  }
418
419
  }
419
420
  export {
420
- qi as Controller
421
+ Ji as Controller
421
422
  };
@@ -92,6 +92,7 @@ import "../../Sculpt/typings/style.js";
92
92
  import "../../shared-utils/three/IObject3D.js";
93
93
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
94
94
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
95
+ import "../../shared-utils/five/getFiveFromParentChain.js";
95
96
  import "../../shared-utils/three/core/LineGeometry.js";
96
97
  import "../../shared-utils/three/core/LineMaterial.js";
97
98
  import "../../shared-utils/three/core/Line2.js";
@@ -115,8 +116,8 @@ import "../../shared-utils/getPxmm.js";
115
116
  import "../../shared-utils/changeModelCanvasOpacity.js";
116
117
  import "../../shared-utils/url/replace-static-prefix.js";
117
118
  import "../../shared-utils/url/absoluteUrl.js";
118
- const wr = (o, r) => new t(o, r);
119
+ const cr = (o, r) => new t(o, r);
119
120
  export {
120
- wr as TopviewFloorplanPlugin,
121
- wr as default
121
+ cr as TopviewFloorplanPlugin,
122
+ cr as default
122
123
  };
package/libs/index.d.ts CHANGED
@@ -27,4 +27,5 @@ export * from './AreaMakerPlugin';
27
27
  export * from './CurrentPanoImagePlugin';
28
28
  export * from './Sculpt';
29
29
  export * from './ModelMakerPlugin';
30
+ export * from './DigitalPerformancePlugin';
30
31
  export * as Util from './shared-utils/exports';
package/libs/index.js CHANGED
@@ -1,74 +1,78 @@
1
1
  import { consoleVersion as o } from "./shared-utils/logger.js";
2
2
  import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
3
- import { PaintBrush as Yn } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as Bn } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as hn } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as wn } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as Un } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as $n, modelRoomLabelPluginServerParams as Wn } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as zn } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as Kn } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as Xn } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as oa } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as ta } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FloorplanGuidePlugin as ma } from "./floorplan/FloorplanGuidePlugin/index.js";
15
- import { FLOOR_TYPE_MAP as ea, ROOM_FETILE_TYPE_MAP as la, ROOM_TYPE_MAP as na } from "./floorplan/typings/floorplanServerData.js";
16
- import { ModelChassisCompassPlugin as Pa } from "./ModelChassisCompassPlugin/Plugin.js";
17
- import { ModelEntryDoorGuidePlugin as ua } from "./ModelEntryDoorGuidePlugin/Plugin.js";
18
- import { CameraMovementPlugin as ga } from "./CameraMovementPlugin/CameraMovementPlugin.js";
19
- import { CameraMovementEffect as da, Rotation as Ma } from "./CameraMovementPlugin/typing.js";
20
- import { PanoRulerPlugin as Ca } from "./PanoRulerPlugin/Plugin.js";
21
- import { PanoRulerProPlugin as ca } from "./PanoRulerProPlugin/index.js";
22
- import { PanoCompassPlugin as _a } from "./PanoCompassPlugin/index.js";
23
- import { PanoMeasurePlugin as Ea } from "./PanoMeasurePlugin/index.js";
24
- import { MeasurePlugin as Sa } from "./MeasurePlugin/index.js";
25
- import { PanoSpatialTagPlugin as va } from "./PanoSpatialTagPlugin/Plugin.js";
26
- import { modelItemLabelPluginServerParams as Fa } from "./ModelItemLabelPlugin/index.js";
27
- import { ModelTVVideoPlugin as Da } from "./ModelTVVideoPlugin/Plugin.js";
28
- import { DIRECTION as Ya } from "./ModelTVVideoPlugin/typings.js";
29
- import { itemLabelPluginServerParams as Ba } from "./ItemLabelPlugin/index.js";
30
- import { PanoDoorLabelPlugin as ha } from "./PanoDoorLabelPlugin/index.js";
31
- import { GuideLinePlugin as wa } from "./GuideLinePlugin/index.js";
32
- import { CruisePlugin as Ua, MovePlugin as ja } from "./CruisePlugin/index.js";
33
- import { PanoTagPlugin as Wa } from "./PanoTagPlugin/index.js";
34
- import { Object3DHelperPlugin as za } from "./Object3DHelperPlugin/index.js";
35
- import { PanoVideoPlugin as Ka } from "./PanoVideoPlugin/index.js";
36
- import { PipelinePlugin as Xa } from "./PipelinePlugin/index.js";
37
- import { AreaMakerPlugin as oP } from "./AreaMakerPlugin/index.js";
38
- import { CurrentPanoImagePlugin as tP } from "./CurrentPanoImagePlugin/index.js";
39
- import { Sculpt as mP, SculptPlugin as pP, SculptPluginForFive as eP } from "./Sculpt/index.js";
40
- import { ModelMakerPlugin as nP } from "./ModelMakerPlugin/index.js";
41
- import { exports as PP } from "./shared-utils/exports.js";
42
- import { CSS3DRender as uP } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
43
- import { Model as gP } from "./PanoMeasurePlugin/Model/index.js";
44
- import { default as dP } from "./PanoMeasurePlugin/Model/point.js";
45
- import { default as TP } from "./PanoMeasurePlugin/Model/line.js";
46
- import { Polyline as LP } from "./PanoMeasurePlugin/Model/polyline.js";
47
- import { Magnifier as RP } from "./shared-utils/three/Magnifier.js";
48
- import { validatePolygon as yP } from "./MeasurePlugin/utils/validatePolygon.js";
49
- import { DISPLAY_STRATEGY_TYPE as IP } from "./ModelItemLabelPlugin/typings.js";
50
- import { ModelItemLabelPlugin as OP } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
51
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as AP } from "./ItemLabelPlugin/typings.js";
52
- import { Plugin as GP } from "./ItemLabelPlugin/Plugin.js";
53
- import { GuideLineItem$1 as bP } from "./GuideLinePlugin/GuideLineItem/index.js";
54
- import { GuideLineModeItem$1 as VP } from "./GuideLinePlugin/GuideLineModeItem/index.js";
55
- import { default as NP, default as hP } from "./CruisePlugin/Work.js";
56
- import { default as wP } from "./CruisePlugin/Move.js";
57
- import { typing as UP } from "./CruisePlugin/typing/index.js";
58
- import { default as $P, pluginFlag as WP } from "./PanoTagPlugin/controller/index.js";
59
- import { defaultGlobalConfig as zP } from "./PanoTagPlugin/typings/tag/TagConfig.js";
60
- import { ContentType as KP, DimensionType as QP, PointType as XP } from "./PanoTagPlugin/Archive/deprecated.js";
61
- import { Object3DHelperController as of, PLUGIN as rf } from "./Object3DHelperPlugin/Controller.js";
62
- import { typings as mf } from "./PanoVideoPlugin/typings/index.js";
63
- import { createPoint as ef } from "./Sculpt/Objects/Point/index.js";
64
- import { createLine as nf } from "./Sculpt/Objects/Line/index.js";
65
- import { createPolyline as Pf } from "./Sculpt/Objects/Polyline/index.js";
66
- import { createPolygon as uf } from "./Sculpt/Objects/Polygon/index.js";
67
- import { createPrism as gf } from "./Sculpt/Objects/Prism/index.js";
68
- import { createRectangle as df } from "./Sculpt/Objects/Rectangle/index.js";
69
- import { createCircle as Tf } from "./Sculpt/Objects/Circle/index.js";
70
- import { createCylinder as Lf } from "./Sculpt/Objects/Cylinder/index.js";
71
- import { createBox as Rf } from "./Sculpt/Objects/Box/index.js";
3
+ import { PaintBrush as Hn } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as kn } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as Un } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as $n } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as qn } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as Jn, modelRoomLabelPluginServerParams as Kn } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as Xn } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as oa } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as ta } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as ma } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as ea } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FloorplanGuidePlugin as na } from "./floorplan/FloorplanGuidePlugin/index.js";
15
+ import { FLOOR_TYPE_MAP as Pa, ROOM_FETILE_TYPE_MAP as fa, ROOM_TYPE_MAP as ua } from "./floorplan/typings/floorplanServerData.js";
16
+ import { ModelChassisCompassPlugin as ga } from "./ModelChassisCompassPlugin/Plugin.js";
17
+ import { ModelEntryDoorGuidePlugin as da } from "./ModelEntryDoorGuidePlugin/Plugin.js";
18
+ import { CameraMovementPlugin as Ta } from "./CameraMovementPlugin/CameraMovementPlugin.js";
19
+ import { CameraMovementEffect as La, Rotation as ca } from "./CameraMovementPlugin/typing.js";
20
+ import { PanoRulerPlugin as Ra } from "./PanoRulerPlugin/Plugin.js";
21
+ import { PanoRulerProPlugin as Ea } from "./PanoRulerProPlugin/index.js";
22
+ import { PanoCompassPlugin as Sa } from "./PanoCompassPlugin/index.js";
23
+ import { PanoMeasurePlugin as Oa } from "./PanoMeasurePlugin/index.js";
24
+ import { MeasurePlugin as Aa } from "./MeasurePlugin/index.js";
25
+ import { PanoSpatialTagPlugin as Ga } from "./PanoSpatialTagPlugin/Plugin.js";
26
+ import { modelItemLabelPluginServerParams as Ya } from "./ModelItemLabelPlugin/index.js";
27
+ import { ModelTVVideoPlugin as ha } from "./ModelTVVideoPlugin/Plugin.js";
28
+ import { DIRECTION as Ha } from "./ModelTVVideoPlugin/typings.js";
29
+ import { itemLabelPluginServerParams as ka } from "./ItemLabelPlugin/index.js";
30
+ import { PanoDoorLabelPlugin as Ua } from "./PanoDoorLabelPlugin/index.js";
31
+ import { GuideLinePlugin as $a } from "./GuideLinePlugin/index.js";
32
+ import { CruisePlugin as qa, MovePlugin as za } from "./CruisePlugin/index.js";
33
+ import { PanoTagPlugin as Ka } from "./PanoTagPlugin/index.js";
34
+ import { Object3DHelperPlugin as Xa } from "./Object3DHelperPlugin/index.js";
35
+ import { PanoVideoPlugin as oP } from "./PanoVideoPlugin/index.js";
36
+ import { PipelinePlugin as tP } from "./PipelinePlugin/index.js";
37
+ import { AreaMakerPlugin as mP } from "./AreaMakerPlugin/index.js";
38
+ import { CurrentPanoImagePlugin as eP } from "./CurrentPanoImagePlugin/index.js";
39
+ import { Sculpt as nP, SculptPlugin as aP, SculptPluginForFive as PP } from "./Sculpt/index.js";
40
+ import { ModelMakerPlugin as uP } from "./ModelMakerPlugin/index.js";
41
+ import { DigitalPerformancePlugin as gP } from "./DigitalPerformancePlugin/index.js";
42
+ import { exports as dP } from "./shared-utils/exports.js";
43
+ import { CSS3DRender as TP } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
44
+ import { Model as LP } from "./PanoMeasurePlugin/Model/index.js";
45
+ import { default as yP } from "./PanoMeasurePlugin/Model/point.js";
46
+ import { default as _P } from "./PanoMeasurePlugin/Model/line.js";
47
+ import { Polyline as IP } from "./PanoMeasurePlugin/Model/polyline.js";
48
+ import { Magnifier as DP } from "./shared-utils/three/Magnifier.js";
49
+ import { validatePolygon as vP } from "./MeasurePlugin/utils/validatePolygon.js";
50
+ import { DISPLAY_STRATEGY_TYPE as FP } from "./ModelItemLabelPlugin/typings.js";
51
+ import { ModelItemLabelPlugin as bP } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
52
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as VP } from "./ItemLabelPlugin/typings.js";
53
+ import { Plugin as BP } from "./ItemLabelPlugin/Plugin.js";
54
+ import { GuideLineItem$1 as NP } from "./GuideLinePlugin/GuideLineItem/index.js";
55
+ import { GuideLineModeItem$1 as wP } from "./GuideLinePlugin/GuideLineModeItem/index.js";
56
+ import { default as jP, default as $P } from "./CruisePlugin/Work.js";
57
+ import { default as qP } from "./CruisePlugin/Move.js";
58
+ import { typing as JP } from "./CruisePlugin/typing/index.js";
59
+ import { default as QP, pluginFlag as XP } from "./PanoTagPlugin/controller/index.js";
60
+ import { defaultGlobalConfig as of } from "./PanoTagPlugin/typings/tag/TagConfig.js";
61
+ import { ContentType as tf, DimensionType as mf, PointType as pf } from "./PanoTagPlugin/Archive/deprecated.js";
62
+ import { Object3DHelperController as lf, PLUGIN as nf } from "./Object3DHelperPlugin/Controller.js";
63
+ import { typings as Pf } from "./PanoVideoPlugin/typings/index.js";
64
+ import { createPoint as uf } from "./Sculpt/Objects/Point/index.js";
65
+ import { createLine as gf } from "./Sculpt/Objects/Line/index.js";
66
+ import { createPolyline as df } from "./Sculpt/Objects/Polyline/index.js";
67
+ import { createPolygon as Tf } from "./Sculpt/Objects/Polygon/index.js";
68
+ import { createPrism as Lf } from "./Sculpt/Objects/Prism/index.js";
69
+ import { createRectangle as yf } from "./Sculpt/Objects/Rectangle/index.js";
70
+ import { createCircle as _f } from "./Sculpt/Objects/Circle/index.js";
71
+ import { createCylinder as If } from "./Sculpt/Objects/Cylinder/index.js";
72
+ import { createBox as Df } from "./Sculpt/Objects/Box/index.js";
73
+ import { DigitalHuman as vf } from "./DigitalPerformancePlugin/core/DigitalHuman.js";
74
+ import { DigitalPlayground as Ff } from "./DigitalPerformancePlugin/core/DigitalPlayground.js";
75
+ import { DigitalStateMachine as bf } from "./DigitalPerformancePlugin/core/DigitalStateMachine.js";
72
76
  import "./components/PaintBrush/Controller.js";
73
77
  import "./components/PaintBrush/utils.js";
74
78
  import "./components/PaintBrush/tween.js";
@@ -124,6 +128,7 @@ import "./Sculpt/typings/style.js";
124
128
  import "./shared-utils/three/IObject3D.js";
125
129
  import "./Sculpt/utils/Meshes/getLengthHTML.js";
126
130
  import "./shared-utils/three/applyObjectMatrixWorld.js";
131
+ import "./shared-utils/five/getFiveFromParentChain.js";
127
132
  import "./shared-utils/three/core/LineGeometry.js";
128
133
  import "./shared-utils/three/core/LineMaterial.js";
129
134
  import "./shared-utils/three/core/Line2.js";
@@ -569,6 +574,9 @@ import "./ModelMakerPlugin/utils/tagRenderer.js";
569
574
  import "./ModelMakerPlugin/utils/Text.js";
570
575
  import "./ModelMakerPlugin/item/prismItem.js";
571
576
  import "./ModelMakerPlugin/item/polygonItem.js";
577
+ import "./DigitalPerformancePlugin/controller/index.js";
578
+ import "./DigitalPerformancePlugin/mock.js";
579
+ import "./DigitalPerformancePlugin/core/Trace.js";
572
580
  import "./Sculpt/utils/export.js";
573
581
  import "./shared-utils/math/Interval.js";
574
582
  import "./shared-utils/math/Rectangle.js";
@@ -585,85 +593,89 @@ import "./shared-utils/five/lookObject.js";
585
593
  r();
586
594
  o();
587
595
  export {
588
- oP as AreaMakerPlugin,
589
- uP as CSS3DRender,
590
- wn as CSS3DRenderPlugin,
591
- da as CameraMovementEffect,
592
- ga as CameraMovementPlugin,
593
- KP as ContentType,
594
- Ua as CruisePlugin,
595
- NP as CruisePluginController,
596
- UP as CruisePluginTypes,
597
- tP as CurrentPanoImagePlugin,
598
- Ya as DIRECTION,
599
- IP as DISPLAY_STRATEGY_TYPE,
600
- QP as DimensionType,
601
- zn as FLOOR_PLAN_ATTACHED_TO,
602
- ea as FLOOR_TYPE_MAP,
603
- ma as FloorplanGuidePlugin,
604
- bP as GuideLineItem,
605
- VP as GuideLineModeItem,
606
- wa as GuideLinePlugin,
607
- AP as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
608
- GP as ItemLabelPlugin,
609
- RP as Magnifier,
610
- Xn as MapviewFloorplanPlugin,
611
- Sa as MeasurePlugin,
612
- Pa as ModelChassisCompassPlugin,
613
- ua as ModelEntryDoorGuidePlugin,
614
- Kn as ModelFloorplanPlugin,
615
- OP as ModelItemLabelPlugin,
616
- nP as ModelMakerPlugin,
617
- $n as ModelRoomLabelPlugin,
618
- Da as ModelTVVideoPlugin,
619
- hn as ModelViewPlugin,
620
- wP as MoveController,
621
- ja as MovePlugin,
622
- of as Object3DHelperController,
623
- za as Object3DHelperPlugin,
624
- rf as PLUGIN,
625
- Yn as PaintBrush,
626
- Bn as PaintBrushTypeEnum,
627
- _a as PanoCompassPlugin,
628
- Un as PanoCursorRaycasterPlugin,
629
- ha as PanoDoorLabelPlugin,
630
- ta as PanoFloorplanRadarPlugin,
631
- Ea as PanoMeasurePlugin,
632
- TP as PanoMeasurePluginLine,
633
- gP as PanoMeasurePluginModel,
634
- dP as PanoMeasurePluginPoint,
635
- LP as PanoMeasurePluginPolyline,
636
- Ca as PanoRulerPlugin,
637
- ca as PanoRulerProPlugin,
638
- va as PanoSpatialTagPlugin,
639
- Wa as PanoTagPlugin,
640
- $P as PanoTagPluginController,
641
- Ka as PanoVideoPlugin,
642
- mf as PanoVideoPluginType,
643
- Xa as PipelinePlugin,
644
- XP as PointType,
645
- la as ROOM_FETILE_TYPE_MAP,
646
- na as ROOM_TYPE_MAP,
647
- Ma as Rotation,
648
- mP as Sculpt,
649
- pP as SculptPlugin,
650
- eP as SculptPluginForFive,
651
- oa as TopviewFloorplanPlugin,
652
- PP as Util,
653
- hP as WalkController,
654
- Rf as createBox,
655
- Tf as createCircle,
656
- Lf as createCylinder,
657
- nf as createLine,
658
- ef as createPoint,
659
- uf as createPolygon,
660
- Pf as createPolyline,
661
- gf as createPrism,
662
- df as createRectangle,
663
- zP as defaultGlobalConfig,
664
- Ba as itemLabelPluginServerParams,
665
- Fa as modelItemLabelPluginServerParams,
666
- Wn as modelRoomLabelPluginServerParams,
667
- WP as pluginFlag,
668
- yP as validatePolygon
596
+ mP as AreaMakerPlugin,
597
+ TP as CSS3DRender,
598
+ $n as CSS3DRenderPlugin,
599
+ La as CameraMovementEffect,
600
+ Ta as CameraMovementPlugin,
601
+ tf as ContentType,
602
+ qa as CruisePlugin,
603
+ jP as CruisePluginController,
604
+ JP as CruisePluginTypes,
605
+ eP as CurrentPanoImagePlugin,
606
+ Ha as DIRECTION,
607
+ FP as DISPLAY_STRATEGY_TYPE,
608
+ vf as DigitalHuman,
609
+ gP as DigitalPerformancePlugin,
610
+ Ff as DigitalPlayground,
611
+ bf as DigitalStateMachine,
612
+ mf as DimensionType,
613
+ Xn as FLOOR_PLAN_ATTACHED_TO,
614
+ Pa as FLOOR_TYPE_MAP,
615
+ na as FloorplanGuidePlugin,
616
+ NP as GuideLineItem,
617
+ wP as GuideLineModeItem,
618
+ $a as GuideLinePlugin,
619
+ VP as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
620
+ BP as ItemLabelPlugin,
621
+ DP as Magnifier,
622
+ ta as MapviewFloorplanPlugin,
623
+ Aa as MeasurePlugin,
624
+ ga as ModelChassisCompassPlugin,
625
+ da as ModelEntryDoorGuidePlugin,
626
+ oa as ModelFloorplanPlugin,
627
+ bP as ModelItemLabelPlugin,
628
+ uP as ModelMakerPlugin,
629
+ Jn as ModelRoomLabelPlugin,
630
+ ha as ModelTVVideoPlugin,
631
+ Un as ModelViewPlugin,
632
+ qP as MoveController,
633
+ za as MovePlugin,
634
+ lf as Object3DHelperController,
635
+ Xa as Object3DHelperPlugin,
636
+ nf as PLUGIN,
637
+ Hn as PaintBrush,
638
+ kn as PaintBrushTypeEnum,
639
+ Sa as PanoCompassPlugin,
640
+ qn as PanoCursorRaycasterPlugin,
641
+ Ua as PanoDoorLabelPlugin,
642
+ ea as PanoFloorplanRadarPlugin,
643
+ Oa as PanoMeasurePlugin,
644
+ _P as PanoMeasurePluginLine,
645
+ LP as PanoMeasurePluginModel,
646
+ yP as PanoMeasurePluginPoint,
647
+ IP as PanoMeasurePluginPolyline,
648
+ Ra as PanoRulerPlugin,
649
+ Ea as PanoRulerProPlugin,
650
+ Ga as PanoSpatialTagPlugin,
651
+ Ka as PanoTagPlugin,
652
+ QP as PanoTagPluginController,
653
+ oP as PanoVideoPlugin,
654
+ Pf as PanoVideoPluginType,
655
+ tP as PipelinePlugin,
656
+ pf as PointType,
657
+ fa as ROOM_FETILE_TYPE_MAP,
658
+ ua as ROOM_TYPE_MAP,
659
+ ca as Rotation,
660
+ nP as Sculpt,
661
+ aP as SculptPlugin,
662
+ PP as SculptPluginForFive,
663
+ ma as TopviewFloorplanPlugin,
664
+ dP as Util,
665
+ $P as WalkController,
666
+ Df as createBox,
667
+ _f as createCircle,
668
+ If as createCylinder,
669
+ gf as createLine,
670
+ uf as createPoint,
671
+ Tf as createPolygon,
672
+ df as createPolyline,
673
+ Lf as createPrism,
674
+ yf as createRectangle,
675
+ of as defaultGlobalConfig,
676
+ ka as itemLabelPluginServerParams,
677
+ Ya as modelItemLabelPluginServerParams,
678
+ Kn as modelRoomLabelPluginServerParams,
679
+ XP as pluginFlag,
680
+ vP as validatePolygon
669
681
  };
@@ -0,0 +1,8 @@
1
+ import type { Five } from '@realsee/five';
2
+ import type { Object3D } from 'three';
3
+ /**
4
+ * 从 Object3D 的父级链向上遍历,查找 __five__ 或 __sculpt__.five
5
+ * 用于在场景树中正确获取渲染该对象的 Five 实例
6
+ * 兜底:父链未找到时回退到 window.globalModules.five / window.$five,保证单 VR 场景兼容
7
+ */
8
+ export declare function getFiveFromParentChain(object: Object3D): Five | undefined;
@@ -0,0 +1,20 @@
1
+ function r() {
2
+ var i, e;
3
+ return (e = (i = window.globalModules) == null ? void 0 : i.five) != null ? e : window.$five;
4
+ }
5
+ function f(i) {
6
+ let e = i;
7
+ for (; e; ) {
8
+ const t = e.__five__;
9
+ if (t)
10
+ return t;
11
+ const n = e.__sculpt__;
12
+ if (n != null && n.five)
13
+ return n.five;
14
+ e = e.parent;
15
+ }
16
+ return r();
17
+ }
18
+ export {
19
+ f as getFiveFromParentChain
20
+ };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.78.0-alpha.4",
3
+ "%c %c@realsee/dnalogel %cv3.78.0",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
@@ -130,6 +130,7 @@ class E extends e.Object3D {
130
130
  o(this, "lineMesh");
131
131
  o(this, "ballMesh");
132
132
  o(this, "cssBallMesh");
133
+ this.__five__ = r;
133
134
  const i = 0.18;
134
135
  this.planeMesh = P(), this.ringMesh = C(), this.crossline = b(), this.lineMesh = V(i), this.ballMesh = x(), this.cssBallMesh = S(), this.ballMesh.position.setZ(i), this.cssBallMesh.position.setZ(i), this.planeMesh.renderOrder = 0, this.ringMesh.renderOrder = 1, this.crossline.renderOrder = 2, this.lineMesh.renderOrder = 3, this.ballMesh.renderOrder = 4, this.add(this.planeMesh, this.lineMesh, this.ballMesh, this.ringMesh, this.cssBallMesh), A(r);
135
136
  }
@@ -1,23 +1,28 @@
1
- import { isAbsoluteURL as s } from "./absoluteUrl.js";
2
- import { DEFAULT_STATIC_PREFIX as a } from "./defaultUrls.js";
3
- function m(o = a, t) {
1
+ import { isAbsoluteURL as c } from "./absoluteUrl.js";
2
+ import { DEFAULT_STATIC_PREFIX as f } from "./defaultUrls.js";
3
+ function l(o = f, t) {
4
4
  if (!t || typeof t != "string")
5
5
  return t || "";
6
6
  if (!o || typeof o != "string")
7
7
  return t;
8
8
  o.startsWith("//") && (o = "http:" + o);
9
9
  try {
10
- if (!s(t))
10
+ if (!c(t))
11
11
  return t;
12
12
  let e = t;
13
13
  t.startsWith("//") && (e = "http:" + t);
14
14
  const r = new URL(e);
15
- let n = o, i = r.protocol;
16
- return o.includes("://") ? n = new URL(o).hostname : o.startsWith("//") && (n = o.substring(2)), !n || n.trim() === "" ? t : (r.hostname = n, i !== r.protocol && (r.protocol = i), t.startsWith("//") ? r.toString().replace(/^https?:\/\//, "//") : r.toString());
15
+ let n = o, s = r.protocol, i;
16
+ if (o.includes("://")) {
17
+ const a = new URL(o);
18
+ n = a.hostname, i = a.port;
19
+ } else
20
+ o.startsWith("//") && (n = o.substring(2));
21
+ return !n || n.trim() === "" ? t : (r.hostname = n, i !== void 0 && (r.port = i), s !== r.protocol && (r.protocol = s), t.startsWith("//") ? r.toString().replace(/^https?:\/\//, "//") : r.toString());
17
22
  } catch (e) {
18
23
  return console.warn(`[replaceStaticPrefix] Invalid URL: ${t}`, e), t;
19
24
  }
20
25
  }
21
26
  export {
22
- m as replaceStaticPrefix
27
+ l as replaceStaticPrefix
23
28
  };