@realsee/dnalogel 3.81.15 → 3.81.17

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 (605) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/index.cjs.js +29 -29
  3. package/dist/index.js +234 -238
  4. package/dist/index.umd.js +30 -30
  5. package/docs/classes/AnimationScriptAdapterSafetyError.html +2 -2
  6. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  7. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  8. package/docs/classes/CSS3DRender.html +2 -2
  9. package/docs/classes/DigitalHuman.html +2 -2
  10. package/docs/classes/DigitalPerformanceV2.DigitalPerformanceNameplate.html +2 -2
  11. package/docs/classes/DigitalPerformanceV2.DigitalPerformanceV2PluginController.html +2 -2
  12. package/docs/classes/DigitalPlayground.html +2 -2
  13. package/docs/classes/DigitalStateMachine.html +2 -2
  14. package/docs/classes/FireControl.html +2 -2
  15. package/docs/classes/FireScenePlayer.html +2 -2
  16. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  17. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  18. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  19. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  20. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  21. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  22. package/docs/classes/ModelRoomLabelController.html +2 -2
  23. package/docs/classes/MoveController.html +2 -2
  24. package/docs/classes/Object3DHelperController.html +2 -2
  25. package/docs/classes/PaintBrush.html +2 -2
  26. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  27. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  28. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  29. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  30. package/docs/classes/PanoTagPluginController.html +2 -2
  31. package/docs/classes/Sculpt.html +2 -2
  32. package/docs/classes/Util.BetterTween.html +2 -2
  33. package/docs/classes/Util.FiveDomEvents.html +2 -2
  34. package/docs/classes/Util.FivePuppet.html +2 -2
  35. package/docs/classes/Util.Interval.html +2 -2
  36. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  37. package/docs/classes/Util.LightTag.html +2 -2
  38. package/docs/classes/Util.LineSegments.html +2 -2
  39. package/docs/classes/Util.Magnifier.html +2 -2
  40. package/docs/classes/Util.Object3D.html +2 -2
  41. package/docs/classes/Util.PointDomHelper.html +2 -2
  42. package/docs/classes/Util.PointHelper.html +2 -2
  43. package/docs/classes/Util.PointSelector.html +2 -2
  44. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  45. package/docs/classes/Util.Rectangle.html +2 -2
  46. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  47. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  49. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  50. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  51. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  52. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  53. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  54. package/docs/classes/Util.sculpt.LineMesh.html +5 -5
  55. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  56. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  57. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  58. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  59. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  60. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  61. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  62. package/docs/classes/WalkController.html +2 -2
  63. package/docs/enums/CameraMovementEffect.html +2 -2
  64. package/docs/enums/ContentType.html +2 -2
  65. package/docs/enums/DIRECTION.html +2 -2
  66. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  67. package/docs/enums/DimensionType.html +2 -2
  68. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  69. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  70. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  71. package/docs/enums/PointType.html +2 -2
  72. package/docs/enums/Rotation.html +2 -2
  73. package/docs/functions/AreaMakerPlugin.html +1 -1
  74. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  75. package/docs/functions/CameraMovementPlugin.html +2 -2
  76. package/docs/functions/CruisePlugin.html +1 -1
  77. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  78. package/docs/functions/DigitalPerformancePlugin.html +1 -1
  79. package/docs/functions/DigitalPerformanceV2.DigitalPerformanceV2Plugin.html +1 -1
  80. package/docs/functions/DigitalPerformanceV2.normalizeDigitalPerformanceName.html +2 -2
  81. package/docs/functions/FloorplanGuidePlugin.html +1 -1
  82. package/docs/functions/GuideLinePlugin.html +1 -1
  83. package/docs/functions/ItemLabelPlugin.html +1 -1
  84. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  85. package/docs/functions/MeasurePlugin.html +1 -1
  86. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  87. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  88. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  89. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  90. package/docs/functions/ModelMakerPlugin.html +1 -1
  91. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  92. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  93. package/docs/functions/ModelViewPlugin.html +2 -2
  94. package/docs/functions/MovePlugin.html +1 -1
  95. package/docs/functions/Object3DHelperPlugin.html +1 -1
  96. package/docs/functions/PanoCompassPlugin.html +1 -1
  97. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  98. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  99. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  100. package/docs/functions/PanoMeasurePlugin.html +1 -1
  101. package/docs/functions/PanoRulerPlugin.html +2 -2
  102. package/docs/functions/PanoRulerProPlugin.html +2 -2
  103. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  104. package/docs/functions/PanoTagPlugin.html +1 -1
  105. package/docs/functions/PanoVideoPlugin.html +2 -2
  106. package/docs/functions/PipelinePlugin.html +1 -1
  107. package/docs/functions/SculptPlugin.html +2 -2
  108. package/docs/functions/SculptPluginForFive.html +2 -2
  109. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  110. package/docs/functions/Util.awaitNextFrame.html +1 -1
  111. package/docs/functions/Util.blink.html +2 -2
  112. package/docs/functions/Util.blinkWithPreset.html +2 -2
  113. package/docs/functions/Util.bounding.html +1 -1
  114. package/docs/functions/Util.boundingBox.html +1 -1
  115. package/docs/functions/Util.boundingSphere.html +1 -1
  116. package/docs/functions/Util.boxVertex.html +2 -2
  117. package/docs/functions/Util.boxVertexes.html +1 -1
  118. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  119. package/docs/functions/Util.cleanup.html +2 -2
  120. package/docs/functions/Util.convexHull.html +2 -2
  121. package/docs/functions/Util.equal.html +2 -2
  122. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  123. package/docs/functions/Util.generatePolygonGeometry.html +2 -2
  124. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  125. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  126. package/docs/functions/Util.getFrameTime.html +2 -2
  127. package/docs/functions/Util.getGeometryArea.html +1 -1
  128. package/docs/functions/Util.getGeometryInfo.html +1 -1
  129. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  130. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  131. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  132. package/docs/functions/Util.inside.html +1 -1
  133. package/docs/functions/Util.isModelLike.html +1 -1
  134. package/docs/functions/Util.isNil.html +2 -2
  135. package/docs/functions/Util.isPanoramaLike.html +1 -1
  136. package/docs/functions/Util.lookObject.html +2 -2
  137. package/docs/functions/Util.lookPoint.html +2 -2
  138. package/docs/functions/Util.nextFrame.html +1 -1
  139. package/docs/functions/Util.notNil.html +2 -2
  140. package/docs/functions/Util.reblink.html +2 -2
  141. package/docs/functions/Util.replaceStaticPrefix.html +2 -2
  142. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  143. package/docs/functions/Util.sculpt.createBox.html +1 -1
  144. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  145. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  146. package/docs/functions/Util.sculpt.createLine.html +2 -2
  147. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  148. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  149. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  150. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  151. package/docs/functions/Util.sculpt.transformUnit.html +2 -2
  152. package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -1
  153. package/docs/functions/Util.tag.html +1 -1
  154. package/docs/functions/Util.triangleArea.html +2 -2
  155. package/docs/functions/Util.triangleCenter.html +2 -2
  156. package/docs/functions/Util.tweenProgress.html +1 -1
  157. package/docs/functions/Util.uuid.html +2 -2
  158. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  159. package/docs/functions/Util.worldBounding.html +1 -1
  160. package/docs/functions/Util.worldBoundingBox.html +1 -1
  161. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  162. package/docs/functions/classifyMovementTrack.html +1 -1
  163. package/docs/functions/createPolyline.html +2 -2
  164. package/docs/functions/getAreaBox3.html +2 -2
  165. package/docs/functions/getAreaVertices.html +2 -2
  166. package/docs/functions/getEffectivePointActionDuration.html +1 -1
  167. package/docs/functions/getEntryArea.html +2 -2
  168. package/docs/functions/getMovementActionDuration.html +1 -1
  169. package/docs/functions/hasMovementV2Signal.html +1 -1
  170. package/docs/functions/isConverterSafeMovementMatrix.html +1 -1
  171. package/docs/functions/pluginFlag.html +1 -1
  172. package/docs/functions/transformAnimationDetailToDigitalScript.html +2 -2
  173. package/docs/functions/transformScriptData.html +2 -2
  174. package/docs/functions/validatePolygon.html +1 -1
  175. package/docs/hierarchy.html +1 -1
  176. package/docs/index.html +2 -2
  177. package/docs/interfaces/AnimationScriptAdapterOptions.html +2 -2
  178. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  179. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  180. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  181. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  182. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  183. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  184. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  185. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  186. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  187. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  188. package/docs/interfaces/BoxAnimationConfig.html +2 -2
  189. package/docs/interfaces/BoxPosition.html +2 -2
  190. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  191. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  192. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  193. package/docs/interfaces/ChapterLocation.html +2 -2
  194. package/docs/interfaces/ChapterTimeInfo.html +2 -2
  195. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  196. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  197. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  198. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  199. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  200. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  201. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  202. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  203. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  204. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  205. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  206. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  207. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  208. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  209. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  210. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  211. package/docs/interfaces/DigitalCameraKeyframe.html +2 -2
  212. package/docs/interfaces/DigitalCameraPlayer.html +2 -2
  213. package/docs/interfaces/DigitalCameraState.html +2 -2
  214. package/docs/interfaces/DigitalChapter.html +2 -2
  215. package/docs/interfaces/DigitalDataPlayer.html +2 -2
  216. package/docs/interfaces/DigitalDataState.html +2 -2
  217. package/docs/interfaces/DigitalEffectKeyframe.html +2 -2
  218. package/docs/interfaces/DigitalEffectState.html +2 -2
  219. package/docs/interfaces/DigitalItemKeyframe.html +2 -2
  220. package/docs/interfaces/DigitalItemState.html +2 -2
  221. package/docs/interfaces/DigitalModelKeyframe.html +2 -2
  222. package/docs/interfaces/DigitalModelPlayer.html +2 -2
  223. package/docs/interfaces/DigitalModelPlayerEffect.html +2 -2
  224. package/docs/interfaces/DigitalModelPlayerItem.html +2 -2
  225. package/docs/interfaces/DigitalModelState.html +2 -2
  226. package/docs/interfaces/DigitalPerformancePluginConfig.html +2 -2
  227. package/docs/interfaces/DigitalPerformanceV2.CameraState.html +2 -2
  228. package/docs/interfaces/DigitalPerformanceV2.DigitalCameraKeyframe.html +2 -2
  229. package/docs/interfaces/DigitalPerformanceV2.DigitalCameraPlayer.html +2 -2
  230. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateBinding.html +2 -2
  231. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateOptions.html +2 -2
  232. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateRenderContext.html +2 -2
  233. package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceV2PluginConfig.html +2 -2
  234. package/docs/interfaces/DigitalPerformanceV2.GroupChapterTimeInfo.html +2 -2
  235. package/docs/interfaces/DigitalPerformanceV2.GroupProgress.html +2 -2
  236. package/docs/interfaces/DigitalPerformanceV2.V2Progress.html +2 -2
  237. package/docs/interfaces/DigitalScript.html +2 -2
  238. package/docs/interfaces/DigitalSubTitleKeyframe.html +2 -2
  239. package/docs/interfaces/DigitalSubTitlePlayer.html +2 -2
  240. package/docs/interfaces/DigitalSubTitleState.html +2 -2
  241. package/docs/interfaces/ExtendedAnimationConfig.html +2 -2
  242. package/docs/interfaces/FireArea.html +2 -2
  243. package/docs/interfaces/FireModel.html +2 -2
  244. package/docs/interfaces/FireSceneConfig.html +2 -2
  245. package/docs/interfaces/FireSequencePlayerOptions.html +2 -2
  246. package/docs/interfaces/FireSequenceStep.html +2 -2
  247. package/docs/interfaces/FireVector3.html +2 -2
  248. package/docs/interfaces/FloorplanBounding.html +2 -2
  249. package/docs/interfaces/FloorplanData.html +2 -2
  250. package/docs/interfaces/FloorplanEntrance.html +2 -2
  251. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  252. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  253. package/docs/interfaces/FloorplanFloorData.html +2 -2
  254. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  255. package/docs/interfaces/FloorplanObserver.html +2 -2
  256. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  257. package/docs/interfaces/FloorplanPosition.html +2 -2
  258. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  259. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  260. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  261. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  262. package/docs/interfaces/FloorplanServerData.html +2 -2
  263. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  264. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  265. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  266. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  267. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  268. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  269. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  270. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  271. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  272. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  273. package/docs/interfaces/FloorplanServerStyledFloorplan.html +2 -2
  274. package/docs/interfaces/FloorplanServerStyledImage.html +2 -2
  275. package/docs/interfaces/GlobalProgress.html +2 -2
  276. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  277. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  278. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  279. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  280. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  281. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  282. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  283. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  284. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  285. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  286. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  287. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  288. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  289. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  290. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  291. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  292. package/docs/interfaces/HelperOffset.html +2 -2
  293. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  294. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  295. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  296. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  297. package/docs/interfaces/LegacyScriptTransformer.html +2 -2
  298. package/docs/interfaces/MinMax.html +2 -2
  299. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  300. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  301. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  302. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  303. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  304. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  305. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  306. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  307. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  308. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  309. package/docs/interfaces/ModelMakerPluginType.ModelMakerPluginConfig.html +2 -2
  310. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  311. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  312. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  313. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  314. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  315. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  316. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  317. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  318. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  319. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  320. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  321. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  322. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  323. package/docs/interfaces/Object3DHelperState.html +2 -2
  324. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  325. package/docs/interfaces/PaintBrushAction.html +2 -2
  326. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  327. package/docs/interfaces/PaintBrushState.html +2 -2
  328. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  329. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  330. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  331. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  332. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  333. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  334. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  335. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  336. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  337. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  338. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  339. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  340. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  341. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  342. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  343. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  344. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  345. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  346. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  347. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  348. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  349. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  350. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  351. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  352. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  353. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  354. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  355. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  356. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  357. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  358. package/docs/interfaces/PlaybackController.html +2 -2
  359. package/docs/interfaces/PlaybackManager.html +2 -2
  360. package/docs/interfaces/PlaybackSession.html +2 -2
  361. package/docs/interfaces/PluginEventMap.html +2 -2
  362. package/docs/interfaces/Point.html +2 -2
  363. package/docs/interfaces/ProgressBarEvents.html +2 -2
  364. package/docs/interfaces/Room.html +2 -2
  365. package/docs/interfaces/RoomInfo.html +2 -2
  366. package/docs/interfaces/RoomLabel.html +2 -2
  367. package/docs/interfaces/RoomRules.html +1 -1
  368. package/docs/interfaces/Rooms.html +1 -1
  369. package/docs/interfaces/Scissor.html +2 -2
  370. package/docs/interfaces/SculptConfig.html +2 -2
  371. package/docs/interfaces/State.html +2 -2
  372. package/docs/interfaces/StyledFloorplan.html +2 -2
  373. package/docs/interfaces/StyledFloorplanImage.html +2 -2
  374. package/docs/interfaces/StyledFloorplanRoomLabel.html +2 -2
  375. package/docs/interfaces/TagCacheInterface.html +2 -2
  376. package/docs/interfaces/TagConfig.html +2 -2
  377. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  378. package/docs/interfaces/TagIconAnimationConfig.html +2 -2
  379. package/docs/interfaces/TagIconUrl.html +2 -2
  380. package/docs/interfaces/TagObjectGroup.html +2 -2
  381. package/docs/interfaces/TagState.html +2 -2
  382. package/docs/interfaces/TagStyle.html +2 -2
  383. package/docs/interfaces/Tags.html +2 -2
  384. package/docs/interfaces/TemporaryState.html +2 -2
  385. package/docs/interfaces/TraceManager.html +2 -2
  386. package/docs/interfaces/TracePoint.html +2 -2
  387. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  388. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  389. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  390. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  391. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  392. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  393. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  394. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  395. package/docs/interfaces/Util.ObjectInitialState.html +2 -2
  396. package/docs/interfaces/Util.PointIntersection.html +2 -2
  397. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  398. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  399. package/docs/modules/AreaMakerPluginType.html +2 -2
  400. package/docs/modules/CruisePluginTypes.html +2 -2
  401. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  402. package/docs/modules/DigitalPerformanceV2.html +2 -2
  403. package/docs/modules/GuideLineItem.html +2 -2
  404. package/docs/modules/GuideLineModeItem.html +2 -2
  405. package/docs/modules/GuideLinePluginType.html +2 -2
  406. package/docs/modules/ModelMakerPluginType.html +2 -2
  407. package/docs/modules/PanoVideoPluginType.html +2 -2
  408. package/docs/modules/SculptData.html +2 -2
  409. package/docs/modules/SculptType.html +2 -2
  410. package/docs/modules/Util.html +2 -2
  411. package/docs/modules/Util.sculpt.html +2 -2
  412. package/docs/modules.html +2 -2
  413. package/docs/types/AddObject3DHelperConfig.html +2 -2
  414. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  415. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  416. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  417. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  418. package/docs/types/ArrayPosition.html +1 -1
  419. package/docs/types/AudioAppearance.html +1 -1
  420. package/docs/types/BoxTag.html +2 -2
  421. package/docs/types/CSS3DRenderExportType.html +1 -1
  422. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  423. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  424. package/docs/types/CanonicalMovementTrackPlan.html +1 -1
  425. package/docs/types/ClassFunctionParameters.html +1 -1
  426. package/docs/types/Color.html +1 -1
  427. package/docs/types/ContentTypeConfigKey.html +1 -1
  428. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  429. package/docs/types/ContentTypeMap.html +1 -1
  430. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  431. package/docs/types/Create3DElementReturnType.html +1 -1
  432. package/docs/types/CruisePluginExportType.html +1 -1
  433. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  434. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  435. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  436. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  437. package/docs/types/DeprecatedTagProperty.html +2 -2
  438. package/docs/types/DigitalPerformancePluginExportInterface.html +1 -1
  439. package/docs/types/DigitalPerformancePluginParamsInterface.html +1 -1
  440. package/docs/types/DigitalPerformanceV2.CameraCoordinateSpace.html +2 -2
  441. package/docs/types/DigitalPerformanceV2.CameraTransition.html +2 -2
  442. package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginExportInterface.html +1 -1
  443. package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginParamsInterface.html +1 -1
  444. package/docs/types/DigitalPerformanceV2.V2ProgressListener.html +1 -1
  445. package/docs/types/Direction-1.html +1 -1
  446. package/docs/types/Direction4.html +1 -1
  447. package/docs/types/ElementRenderer.html +2 -2
  448. package/docs/types/FireModelType.html +2 -2
  449. package/docs/types/FireSequenceKind.html +2 -2
  450. package/docs/types/FireSpreadBounds.html +2 -2
  451. package/docs/types/FloorplanAffineTransform.html +1 -1
  452. package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
  453. package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
  454. package/docs/types/FloorplanRuleLabels.html +2 -2
  455. package/docs/types/FloorplanServerAffineTransform.html +1 -1
  456. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  457. package/docs/types/GuideLinePluginExportType.html +1 -1
  458. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  459. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  460. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  461. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  462. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  463. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  464. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  465. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  466. package/docs/types/HelperEventMap.html +1 -1
  467. package/docs/types/InternalHelperEventMap.html +1 -1
  468. package/docs/types/KeyframeType.html +1 -1
  469. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  470. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  471. package/docs/types/MaskPosition.html +2 -2
  472. package/docs/types/MaskTag.html +2 -2
  473. package/docs/types/MeasureEndReason.html +1 -1
  474. package/docs/types/MeasureInteractionState.html +2 -2
  475. package/docs/types/MeasurePluginConfig.html +2 -2
  476. package/docs/types/MeasurePluginEventMap.html +1 -1
  477. package/docs/types/MediaData.html +2 -2
  478. package/docs/types/MediaOperations.html +1 -1
  479. package/docs/types/MediaStore.html +1 -1
  480. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  481. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  482. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  483. package/docs/types/ModelId.html +1 -1
  484. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  485. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  486. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  487. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  488. package/docs/types/ModelMakerPluginType.TagOcclusionScope.html +2 -2
  489. package/docs/types/ModelMakerPluginType.TagOcclusionScopeConfig.html +2 -2
  490. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  491. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  492. package/docs/types/MoveArgs.html +2 -2
  493. package/docs/types/MoveOpts.html +2 -2
  494. package/docs/types/MovementConfig.html +1 -1
  495. package/docs/types/MovementPosition.html +1 -1
  496. package/docs/types/MovementTrackClassification.html +1 -1
  497. package/docs/types/MovementTrackConflictReason.html +1 -1
  498. package/docs/types/MovementTrackProjection.html +1 -1
  499. package/docs/types/Object3DHelperEventMap.html +1 -1
  500. package/docs/types/ObjectFit.html +1 -1
  501. package/docs/types/PaintBrushEventMap.html +1 -1
  502. package/docs/types/PanoCompassPluginData.html +1 -1
  503. package/docs/types/PanoCompassPluginExportType.html +1 -1
  504. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  505. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  506. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  507. package/docs/types/PanoIndex.html +1 -1
  508. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  509. package/docs/types/PanoMeasureReturnType.html +1 -1
  510. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  511. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  512. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  513. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  514. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  515. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  516. package/docs/types/PipelinePluginParameterType.html +1 -1
  517. package/docs/types/PipelinePluginReturnType.html +1 -1
  518. package/docs/types/PlaneTag.html +2 -2
  519. package/docs/types/Point2DTag.html +2 -2
  520. package/docs/types/Point3DTag.html +2 -2
  521. package/docs/types/PointAction.html +1 -1
  522. package/docs/types/PointTagInstance.html +1 -1
  523. package/docs/types/PolygonPosition.html +2 -2
  524. package/docs/types/PolygonTag.html +2 -2
  525. package/docs/types/Position.html +1 -1
  526. package/docs/types/PositionFrom.html +1 -1
  527. package/docs/types/ProgressListener.html +1 -1
  528. package/docs/types/RotateArgs.html +2 -2
  529. package/docs/types/RotateOpts.html +2 -2
  530. package/docs/types/RuleLabelsKey.html +1 -1
  531. package/docs/types/RuleLabelsValue.html +1 -1
  532. package/docs/types/ScaleCallback.html +1 -1
  533. package/docs/types/ScalePosition.html +2 -2
  534. package/docs/types/SculptData.BoxData.html +1 -1
  535. package/docs/types/SculptData.CircleData.html +1 -1
  536. package/docs/types/SculptData.CylinderData.html +1 -1
  537. package/docs/types/SculptData.PointData.html +1 -1
  538. package/docs/types/SculptData.PolygonData.html +1 -1
  539. package/docs/types/SculptData.PolylineData.html +1 -1
  540. package/docs/types/SculptData.PrismData.html +1 -1
  541. package/docs/types/SculptData.RectangleData.html +1 -1
  542. package/docs/types/SculptType.Theme.html +2 -2
  543. package/docs/types/StateType.html +1 -1
  544. package/docs/types/StickType.html +1 -1
  545. package/docs/types/Tag.html +2 -2
  546. package/docs/types/Tag2D.html +2 -2
  547. package/docs/types/Tag3D.html +2 -2
  548. package/docs/types/TagClickParams.html +1 -1
  549. package/docs/types/TagConfigByKey.html +1 -1
  550. package/docs/types/TagContentType.html +1 -1
  551. package/docs/types/TagContentTypeMapping.html +1 -1
  552. package/docs/types/TagDimensionType.html +1 -1
  553. package/docs/types/TagElement.html +2 -2
  554. package/docs/types/TagEvents.html +1 -1
  555. package/docs/types/TagGLTFObject.html +1 -1
  556. package/docs/types/TagHooks.html +1 -1
  557. package/docs/types/TagId.html +1 -1
  558. package/docs/types/TagInstance.html +1 -1
  559. package/docs/types/TagPlacement.html +2 -2
  560. package/docs/types/TagPointType.html +2 -2
  561. package/docs/types/TagRendererMap.html +1 -1
  562. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  563. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  564. package/docs/types/TrackPoint.html +1 -1
  565. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  566. package/docs/types/Util.AdherePoint.html +2 -2
  567. package/docs/types/Util.PointSelectorConfig.html +1 -1
  568. package/docs/types/Util.SupportedTarget.html +2 -2
  569. package/docs/types/Util.Target.html +2 -2
  570. package/docs/types/Util.ThreeObject.html +2 -2
  571. package/docs/types/WorkCode.html +1 -1
  572. package/docs/variables/DigitalPerformanceV2.DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH.html +1 -1
  573. package/docs/variables/FIRE_ACTION_DURATION_MS.html +2 -2
  574. package/docs/variables/FIRE_SPREAD_SPEED.html +2 -2
  575. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  576. package/docs/variables/MODEL_SCALE_RANGE.html +2 -2
  577. package/docs/variables/MOVEMENT_OCCURRENCE_EPSILON.html +1 -1
  578. package/docs/variables/MOVEMENT_POSITION_EPSILON.html +1 -1
  579. package/docs/variables/MOVEMENT_SCHEMA_VERSION.html +1 -1
  580. package/docs/variables/PLUGIN.html +1 -1
  581. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  582. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  583. package/docs/variables/Util.ANIME_PRESETS.html +2 -2
  584. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
  585. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
  586. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
  587. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
  588. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
  589. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
  590. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
  591. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
  592. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
  593. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
  594. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
  595. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
  596. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
  597. package/docs/variables/defaultGlobalConfig.html +1 -1
  598. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  599. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  600. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  601. package/libs/MeasurePlugin/Controller.js +111 -115
  602. package/libs/Sculpt/Meshes/Line.js +12 -12
  603. package/libs/base/BasePlugin.js +1 -1
  604. package/libs/shared-utils/logger.js +1 -1
  605. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ import { LineGeometry as dw, LineMaterial as fw, THREE_Line2 as pw, Line as Jv }
43
43
  import { GLTFLoader as mw } from "@realsee/five/gltf-loader";
44
44
  function gw() {
45
45
  console.debug(
46
- "%c %c@realsee/dnalogel %cv3.81.15",
46
+ "%c %c@realsee/dnalogel %cv3.81.17",
47
47
  [
48
48
  "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=')",
49
49
  "background-repeat: no-repeat",
@@ -1237,7 +1237,7 @@ function Uc(n, t, e) {
1237
1237
  topPx: (-s + 1) / 2 * e.y
1238
1238
  };
1239
1239
  }
1240
- function Ti(n) {
1240
+ function Di(n) {
1241
1241
  var e;
1242
1242
  return ((e = n.models) == null ? void 0 : e.filter((i) => i.name === n.state.workCode)[0]) || n.model;
1243
1243
  }
@@ -1337,7 +1337,7 @@ class dc extends t1 {
1337
1337
  return Number(this.version.split(".")[0]);
1338
1338
  }
1339
1339
  get model() {
1340
- return Ti(this.five);
1340
+ return Di(this.five);
1341
1341
  }
1342
1342
  moveToPano(e, i) {
1343
1343
  const s = this.majorVersion === 5 ? e : {
@@ -1500,7 +1500,7 @@ class xa {
1500
1500
  this.fiveUtil.workUtil.fromType === "poincare" && (e = 0.05);
1501
1501
  const i = this.transformedPosition.clone().sub(this.five.camera.position).normalize();
1502
1502
  jn.set(this.five.camera.position, i);
1503
- const s = (l = Ti(this.five).intersectRaycaster(jn)) != null ? l : [], r = Fw(
1503
+ const s = (l = Di(this.five).intersectRaycaster(jn)) != null ? l : [], r = Fw(
1504
1504
  (c = jn.intersectObjects(this.extraObjectsForIntersectCheck, !0)) != null ? c : []
1505
1505
  ), a = [...s, ...r].sort((h, u) => h.distance - u.distance)[0];
1506
1506
  a ? t = (a == null ? void 0 : a.distance) + e > this.transformedPosition.distanceTo(this.five.camera.position) : t = !0, this.visibles[1] = t;
@@ -1538,7 +1538,7 @@ class xa {
1538
1538
  enable() {
1539
1539
  return $(this, null, function* () {
1540
1540
  var i, s, r, o;
1541
- if (this.enabled || (this.enabled = !0, yield Di(this.five), !this.enabled))
1541
+ if (this.enabled || (this.enabled = !0, yield Li(this.five), !this.enabled))
1542
1542
  return;
1543
1543
  if (this.wrapper = (s = this.config.wrapper) != null ? s : (i = this.five.getElement()) == null ? void 0 : i.parentElement, !this.wrapper) {
1544
1544
  console.error("lighttag: wrapper is required");
@@ -1631,7 +1631,7 @@ function n1(...n) {
1631
1631
  function ms(n) {
1632
1632
  return n.toLowerCase().includes("panorama");
1633
1633
  }
1634
- function Si(n) {
1634
+ function Ti(n) {
1635
1635
  return !ms(n);
1636
1636
  }
1637
1637
  var Bi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, oa = {}, Nw = {
@@ -1812,8 +1812,8 @@ var Bi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1812
1812
  var ee = H.session, ae = W.pointers, Me = ae.length;
1813
1813
  ee.firstInput || (ee.firstInput = Dt(W)), Me > 1 && !ee.firstMultiple ? ee.firstMultiple = Dt(W) : Me === 1 && (ee.firstMultiple = !1);
1814
1814
  var je = ee.firstInput, Ye = ee.firstMultiple, Mt = Ye ? Ye.center : je.center, kt = W.center = qt(ae);
1815
- W.timeStamp = h(), W.deltaTime = W.timeStamp - je.timeStamp, W.angle = Kt(Mt, kt), W.distance = Jt(Mt, kt), Tt(ee, W), W.offsetDirection = ut(W.deltaX, W.deltaY);
1816
- var Ft = Mi(W.deltaTime, W.deltaX, W.deltaY);
1815
+ W.timeStamp = h(), W.deltaTime = W.timeStamp - je.timeStamp, W.angle = Kt(Mt, kt), W.distance = Jt(Mt, kt), Tt(ee, W), W.offsetDirection = dt(W.deltaX, W.deltaY);
1816
+ var Ft = Ii(W.deltaTime, W.deltaX, W.deltaY);
1817
1817
  W.overallVelocityX = Ft.x, W.overallVelocityY = Ft.y, W.overallVelocity = c(Ft.x) > c(Ft.y) ? Ft.x : Ft.y, W.scale = Ye ? Ss(Ye.pointers, ae) : 1, W.rotation = Ye ? bo(Ye.pointers, ae) : 0, W.maxPointers = ee.prevInput ? W.pointers.length > ee.prevInput.maxPointers ? W.pointers.length : ee.prevInput.maxPointers : W.pointers.length, di(ee, W);
1818
1818
  var oi = H.element;
1819
1819
  L(W.srcEvent.target, oi) && (oi = W.srcEvent.target), W.target = oi;
@@ -1831,8 +1831,8 @@ var Bi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1831
1831
  function di(H, W) {
1832
1832
  var ee = H.lastInterval || W, ae = W.timeStamp - ee.timeStamp, Me, je, Ye, Mt;
1833
1833
  if (W.eventType != ie && (ae > me || ee.velocity === s)) {
1834
- var kt = W.deltaX - ee.deltaX, Ft = W.deltaY - ee.deltaY, oi = Mi(ae, kt, Ft);
1835
- je = oi.x, Ye = oi.y, Me = c(oi.x) > c(oi.y) ? oi.x : oi.y, Mt = ut(kt, Ft), H.lastInterval = W;
1834
+ var kt = W.deltaX - ee.deltaX, Ft = W.deltaY - ee.deltaY, oi = Ii(ae, kt, Ft);
1835
+ je = oi.x, Ye = oi.y, Me = c(oi.x) > c(oi.y) ? oi.x : oi.y, Mt = dt(kt, Ft), H.lastInterval = W;
1836
1836
  } else
1837
1837
  Me = ee.velocity, je = ee.velocityX, Ye = ee.velocityY, Mt = ee.direction;
1838
1838
  W.velocity = Me, W.velocityX = je, W.velocityY = Ye, W.direction = Mt;
@@ -1865,13 +1865,13 @@ var Bi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1865
1865
  y: l(ae / W)
1866
1866
  };
1867
1867
  }
1868
- function Mi(H, W, ee) {
1868
+ function Ii(H, W, ee) {
1869
1869
  return {
1870
1870
  x: W / H || 0,
1871
1871
  y: ee / H || 0
1872
1872
  };
1873
1873
  }
1874
- function ut(H, W) {
1874
+ function dt(H, W) {
1875
1875
  return H === W ? Ce : c(H) >= c(W) ? H < 0 ? Re : be : W < 0 ? De : ge;
1876
1876
  }
1877
1877
  function Jt(H, W, ee) {
@@ -1913,7 +1913,7 @@ var Bi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1913
1913
  }));
1914
1914
  }
1915
1915
  });
1916
- var Ii = {
1916
+ var Ei = {
1917
1917
  pointerdown: oe,
1918
1918
  pointermove: le,
1919
1919
  pointerup: we,
@@ -1936,7 +1936,7 @@ var Bi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1936
1936
  * @param {Object} ev
1937
1937
  */
1938
1938
  handler: function(W) {
1939
- var ee = this.store, ae = !1, Me = W.type.toLowerCase().replace("ms", ""), je = Ii[Me], Ye = Qn[W.pointerType] || W.pointerType, Mt = Ye == se, kt = C(ee, W.pointerId, "pointerId");
1939
+ var ee = this.store, ae = !1, Me = W.type.toLowerCase().replace("ms", ""), je = Ei[Me], Ye = Qn[W.pointerType] || W.pointerType, Mt = Ye == se, kt = C(ee, W.pointerId, "pointerId");
1940
1940
  je & oe && (W.button === 0 || Mt) ? kt < 0 && (ee.push(W), kt = ee.length - 1) : je & (we | ie) && (ae = !0), !(kt < 0) && (ee[kt] = W, this.callback(this.manager, je, {
1941
1941
  pointers: ee,
1942
1942
  changedPointers: [W],
@@ -2522,10 +2522,10 @@ var Bi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2522
2522
  this.state == fi && (this._input.tapCount = this.count, this.manager.emit(this.options.event, this._input));
2523
2523
  }
2524
2524
  });
2525
- function Ei(H, W) {
2526
- return W = W || {}, W.recognizers = T(W.recognizers, Ei.defaults.preset), new Os(H, W);
2525
+ function xi(H, W) {
2526
+ return W = W || {}, W.recognizers = T(W.recognizers, xi.defaults.preset), new Os(H, W);
2527
2527
  }
2528
- Ei.VERSION = "2.0.7", Ei.defaults = {
2528
+ xi.VERSION = "2.0.7", xi.defaults = {
2529
2529
  /**
2530
2530
  * set if DOM events are being triggered.
2531
2531
  * But this is slower and unused by simple implementations, so disabled by default.
@@ -2623,7 +2623,7 @@ var Bi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2623
2623
  };
2624
2624
  var Io = 1, br = 2;
2625
2625
  function Os(H, W) {
2626
- this.options = g({}, Ei.defaults, W || {}), this.options.inputTarget = this.options.inputTarget || H, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = H, this.input = Ke(this), this.touchAction = new Ht(this, this.options.touchAction), ts(this, !0), p(this.options.recognizers, function(ee) {
2626
+ this.options = g({}, xi.defaults, W || {}), this.options.inputTarget = this.options.inputTarget || H, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = H, this.input = Ke(this), this.touchAction = new Ht(this, this.options.touchAction), ts(this, !0), p(this.options.recognizers, function(ee) {
2627
2627
  var ae = this.add(new ee[0](ee[1]));
2628
2628
  ee[2] && ae.recognizeWith(ee[2]), ee[3] && ae.requireFailure(ee[3]);
2629
2629
  }, this);
@@ -2768,7 +2768,7 @@ var Bi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2768
2768
  var ee = e.createEvent("Event");
2769
2769
  ee.initEvent(H, !0, !0), ee.gesture = W, W.target.dispatchEvent(ee);
2770
2770
  }
2771
- g(Ei, {
2771
+ g(xi, {
2772
2772
  INPUT_START: oe,
2773
2773
  INPUT_MOVE: le,
2774
2774
  INPUT_END: we,
@@ -2815,9 +2815,9 @@ var Bi = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2815
2815
  prefixed: k
2816
2816
  });
2817
2817
  var xo = typeof t != "undefined" ? t : typeof self != "undefined" ? self : {};
2818
- xo.Hammer = Ei, typeof s == "function" && s.amd ? s(function() {
2819
- return Ei;
2820
- }) : n.exports ? n.exports = Ei : t[i] = Ei;
2818
+ xo.Hammer = xi, typeof s == "function" && s.amd ? s(function() {
2819
+ return xi;
2820
+ }) : n.exports ? n.exports = xi : t[i] = xi;
2821
2821
  })(window, document, "Hammer");
2822
2822
  })(Nw);
2823
2823
  class _u {
@@ -3239,14 +3239,14 @@ class Ol extends Uw {
3239
3239
  this.stopRender(), (e = this.resizeDisoper) == null || e.call(this), this.domElementWrapper.remove();
3240
3240
  }
3241
3241
  }
3242
- function Di(n) {
3242
+ function Li(n) {
3243
3243
  return $(this, null, function* () {
3244
3244
  return new Promise((t) => {
3245
3245
  if (r1(n))
3246
3246
  t();
3247
3247
  else {
3248
3248
  const e = (i) => {
3249
- const s = Ti(n);
3249
+ const s = Di(n);
3250
3250
  i === s && (n.off("modelLoaded", e), t());
3251
3251
  };
3252
3252
  n.on("modelLoaded", e);
@@ -3256,7 +3256,7 @@ function Di(n) {
3256
3256
  }
3257
3257
  function r1(n) {
3258
3258
  var t;
3259
- return (t = Ti(n)) == null ? void 0 : t.loaded;
3259
+ return (t = Di(n)) == null ? void 0 : t.loaded;
3260
3260
  }
3261
3261
  const Qi = document.createElement("div");
3262
3262
  Qi.classList.add("behindFiveElement");
@@ -3338,7 +3338,7 @@ function ka(n) {
3338
3338
  const t = new Ol("front");
3339
3339
  t.domElementWrapper.style.zIndex = "1";
3340
3340
  const e = new Ol("behind");
3341
- Di(n).then(() => {
3341
+ Li(n).then(() => {
3342
3342
  var a;
3343
3343
  const r = (a = n.getElement()) == null ? void 0 : a.parentElement, o = Bu(n);
3344
3344
  if (!r)
@@ -3353,7 +3353,7 @@ function ka(n) {
3353
3353
  return Lo = [n, t, i], i;
3354
3354
  }
3355
3355
  const $w = 16777215, e2 = 16777215, t2 = 1, i2 = 0.4, Fu = 0.6;
3356
- class Ci extends Fr {
3356
+ class Mi extends Fr {
3357
3357
  constructor() {
3358
3358
  super();
3359
3359
  f(this, "name", "IObject3D");
@@ -3506,7 +3506,7 @@ class Pl extends dw {
3506
3506
  };
3507
3507
  }
3508
3508
  }
3509
- function Pi(n) {
3509
+ function Ci(n) {
3510
3510
  return !Ge(n);
3511
3511
  }
3512
3512
  function Ge(n) {
@@ -3940,7 +3940,7 @@ const ls = class {
3940
3940
  };
3941
3941
  let ii = ls;
3942
3942
  f(ii, "cacheObject", /* @__PURE__ */ new Set()), f(ii, "checkDomEveryFrameIsRunning", !1);
3943
- class Li extends Ci {
3943
+ class wi extends Mi {
3944
3944
  constructor(e) {
3945
3945
  var o, a, l;
3946
3946
  super();
@@ -4066,14 +4066,14 @@ class Li extends Ci {
4066
4066
  const i = e.map(Be).filter(Ge);
4067
4067
  if (this.points = i, i.length < 2) {
4068
4068
  const r = new Pl();
4069
- this.line1.geometry = r, this.line2.geometry = r, this.updateDomItems();
4069
+ this.geometry = r, this.updateDomItems();
4070
4070
  return;
4071
4071
  }
4072
4072
  const s = i.flatMap((r) => [r.x, r.y, r.z]);
4073
4073
  if (s.length > 2) {
4074
4074
  this.line1.geometry.dispose();
4075
4075
  const r = new Pl();
4076
- this.line1.geometry = r, this.line2.geometry = r;
4076
+ this.geometry = r;
4077
4077
  }
4078
4078
  this.line1.geometry.setPositions(s), this.line1.computeLineDistances(), this.updateDomItems(), this.needsRender = !0;
4079
4079
  }
@@ -4243,7 +4243,7 @@ function d2() {
4243
4243
  lineColor: 3407837,
4244
4244
  lineOpacity: 0.7,
4245
4245
  occlusionVisibility: !0
4246
- }, i = new Li(he(_({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new Li(he(_({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
4246
+ }, i = new wi(he(_({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new wi(he(_({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
4247
4247
  return t.add(i, s), t;
4248
4248
  }
4249
4249
  function f2(n) {
@@ -4385,7 +4385,7 @@ function u1(n, t = 3) {
4385
4385
  };
4386
4386
  }
4387
4387
  function b2(n, t) {
4388
- const s = Ti(n).intersectRaycaster(t)[0];
4388
+ const s = Di(n).intersectRaycaster(t)[0];
4389
4389
  if (s)
4390
4390
  return he(_({}, s), { raycaster: t, isVirtual: !1 });
4391
4391
  }
@@ -4795,7 +4795,7 @@ const p1 = 1, zf = `CSS3DObjectPlus@${p1}`, w2 = 216e-5, P2 = 3e-3;
4795
4795
  let m1 = class extends Vn {
4796
4796
  constructor(e) {
4797
4797
  var T, z, R, L, j;
4798
- if (Pi(e.cornerPoints) && Pi(e.width))
4798
+ if (Ci(e.cornerPoints) && Ci(e.width))
4799
4799
  throw new Error("cornerPoints and width cannot be both empty");
4800
4800
  const i = (T = e.container) != null ? T : document.createElement("div"), s = (z = e.cornerPoints) != null ? z : (() => {
4801
4801
  const A = e.width / 2;
@@ -5823,7 +5823,7 @@ function s3(n) {
5823
5823
  var Wi = [], B1 = function() {
5824
5824
  var n;
5825
5825
  function t() {
5826
- !n && (!_f() || !ht.suspendWhenDocumentHidden) && Wi.length > 0 && (n = requestAnimationFrame(e));
5826
+ !n && (!_f() || !ut.suspendWhenDocumentHidden) && Wi.length > 0 && (n = requestAnimationFrame(e));
5827
5827
  }
5828
5828
  function e(s) {
5829
5829
  for (var r = Wi.length, o = 0; o < r; ) {
@@ -5833,7 +5833,7 @@ var Wi = [], B1 = function() {
5833
5833
  n = o > 0 ? requestAnimationFrame(e) : void 0;
5834
5834
  }
5835
5835
  function i() {
5836
- ht.suspendWhenDocumentHidden && (_f() ? n = cancelAnimationFrame(n) : (Wi.forEach(
5836
+ ut.suspendWhenDocumentHidden && (_f() ? n = cancelAnimationFrame(n) : (Wi.forEach(
5837
5837
  function(s) {
5838
5838
  return s._onDocumentVisibility();
5839
5839
  }
@@ -5844,7 +5844,7 @@ var Wi = [], B1 = function() {
5844
5844
  function _f() {
5845
5845
  return !!document && document.hidden;
5846
5846
  }
5847
- function ht(n) {
5847
+ function ut(n) {
5848
5848
  n === void 0 && (n = {});
5849
5849
  var t = 0, e = 0, i = 0, s, r = 0, o = null;
5850
5850
  function a(w) {
@@ -5865,7 +5865,7 @@ function ht(n) {
5865
5865
  return l.reversed ? l.duration - w : w;
5866
5866
  }
5867
5867
  function u() {
5868
- t = 0, e = h(l.currentTime) * (1 / ht.speed);
5868
+ t = 0, e = h(l.currentTime) * (1 / ut.speed);
5869
5869
  }
5870
5870
  function d(w, I) {
5871
5871
  I && I.seek(w - I.timelineOffset);
@@ -5921,7 +5921,7 @@ function ht(n) {
5921
5921
  }, l._onDocumentVisibility = u, l.set = function(w, I) {
5922
5922
  return j1(w, I), l;
5923
5923
  }, l.tick = function(w) {
5924
- i = w, t || (t = i), b((i + (e - t)) * ht.speed);
5924
+ i = w, t || (t = i), b((i + (e - t)) * ut.speed);
5925
5925
  }, l.seek = function(w) {
5926
5926
  b(h(w));
5927
5927
  }, l.pause = function() {
@@ -5982,7 +5982,7 @@ function o3(n, t) {
5982
5982
  }
5983
5983
  function a3(n) {
5984
5984
  n === void 0 && (n = {});
5985
- var t = ht(n);
5985
+ var t = ut(n);
5986
5986
  return t.duration = 0, t.add = function(e, i) {
5987
5987
  var s = Wi.indexOf(t), r = t.children;
5988
5988
  s > -1 && Wi.splice(s, 1);
@@ -5995,27 +5995,27 @@ function a3(n) {
5995
5995
  l.targets = l.targets || n.targets;
5996
5996
  var c = t.duration;
5997
5997
  l.autoplay = !1, l.direction = t.direction, l.timelineOffset = Ue.und(i) ? c : qu(i, c), o(t), t.seek(l.timelineOffset);
5998
- var h = ht(l);
5998
+ var h = ut(l);
5999
5999
  o(h), r.push(h);
6000
6000
  var u = _1(r, n);
6001
6001
  return t.delay = u.delay, t.endDelay = u.endDelay, t.duration = u.duration, t.seek(0), t.reset(), t.autoplay && t.play(), t;
6002
6002
  }, t;
6003
6003
  }
6004
- ht.version = "3.2.1";
6005
- ht.speed = 1;
6006
- ht.suspendWhenDocumentHidden = !0;
6007
- ht.running = Wi;
6008
- ht.remove = r3;
6009
- ht.get = Zu;
6010
- ht.set = j1;
6011
- ht.convertPx = Xu;
6012
- ht.path = Z2;
6013
- ht.setDashoffset = X2;
6014
- ht.stagger = o3;
6015
- ht.timeline = a3;
6016
- ht.easing = Uu;
6017
- ht.penner = E1;
6018
- ht.random = function(n, t) {
6004
+ ut.version = "3.2.1";
6005
+ ut.speed = 1;
6006
+ ut.suspendWhenDocumentHidden = !0;
6007
+ ut.running = Wi;
6008
+ ut.remove = r3;
6009
+ ut.get = Zu;
6010
+ ut.set = j1;
6011
+ ut.convertPx = Xu;
6012
+ ut.path = Z2;
6013
+ ut.setDashoffset = X2;
6014
+ ut.stagger = o3;
6015
+ ut.timeline = a3;
6016
+ ut.easing = Uu;
6017
+ ut.penner = E1;
6018
+ ut.random = function(n, t) {
6019
6019
  return Math.floor(Math.random() * (t - n + 1)) + n;
6020
6020
  };
6021
6021
  const V1 = process.env.NODE_ENV === "development";
@@ -6202,7 +6202,7 @@ function u3(n, t) {
6202
6202
  n instanceof HTMLElement ? n.style.opacity = String(t) : Yr(n) && Qs(n) && (jl(n) ? (n.material.uniforms.opacity && (n.material.uniforms.opacity.value = t), n.material.transparent = !0) : _l(n) && (n.material.opacity = t, n.material.transparent = !0));
6203
6203
  }
6204
6204
  function Bl() {
6205
- const n = ht({});
6205
+ const n = ut({});
6206
6206
  return n.preComplete = () => {
6207
6207
  }, n;
6208
6208
  }
@@ -6272,7 +6272,7 @@ function yc(n, t) {
6272
6272
  const o = he(_(_({}, $u), t), {
6273
6273
  targets: r,
6274
6274
  update: d3(r, t || {})
6275
- }), a = ht(o);
6275
+ }), a = ut(o);
6276
6276
  a.preComplete = () => {
6277
6277
  a.completed || (a.pause(), Fn.restoreState(r), setTimeout(() => {
6278
6278
  var c;
@@ -6307,7 +6307,7 @@ function U1(n, t) {
6307
6307
  const o = he(_(_({}, $u), t), {
6308
6308
  targets: r,
6309
6309
  update: f3(r, t || {})
6310
- }), a = ht(o);
6310
+ }), a = ut(o);
6311
6311
  a.preComplete = () => {
6312
6312
  a.completed || (a.pause(), Fn.restoreState(r), setTimeout(() => {
6313
6313
  var c;
@@ -6339,7 +6339,7 @@ function m3() {
6339
6339
  Fn.clear();
6340
6340
  }
6341
6341
  function g3(n, t) {
6342
- const e = Ti(n), { x: i, y: s } = t, r = i * 2 - 1, o = s * 2 - 1, a = new y.Raycaster();
6342
+ const e = Di(n), { x: i, y: s } = t, r = i * 2 - 1, o = s * 2 - 1, a = new y.Raycaster();
6343
6343
  a.setFromCamera({ x: r, y: o }, n.camera);
6344
6344
  const c = e.intersectRaycaster(a)[0];
6345
6345
  if (c)
@@ -6774,7 +6774,7 @@ let E3 = class extends ca {
6774
6774
  return console.error(`${Vf}: wrapper is ${h}; mode is ${o.css3DObject.mode}`);
6775
6775
  o.appendToElement(h), o.render(), this.created3DElementResults.push(o);
6776
6776
  }, c = () => {
6777
- Di(this.five).then(() => l());
6777
+ Li(this.five).then(() => l());
6778
6778
  };
6779
6779
  return r && c(), he(_({}, o), { render: r ? void 0 : c });
6780
6780
  });
@@ -7598,7 +7598,7 @@ class qr {
7598
7598
  return [...new Set([this.boundObject.dragend, this.boundObject.drag, this.boundObject.dragstart].flat())].filter(Boolean);
7599
7599
  }
7600
7600
  get model() {
7601
- return Ti(this.five);
7601
+ return Di(this.five);
7602
7602
  }
7603
7603
  /**
7604
7604
  * @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
@@ -8070,7 +8070,7 @@ function Gf() {
8070
8070
  function ft(n) {
8071
8071
  n.forEach(ty);
8072
8072
  }
8073
- function wi(n) {
8073
+ function Pi(n) {
8074
8074
  return typeof n == "function";
8075
8075
  }
8076
8076
  function Ie(n, t) {
@@ -8126,7 +8126,7 @@ function It(n) {
8126
8126
  return n == null ? "" : n;
8127
8127
  }
8128
8128
  function ci(n) {
8129
- return n && wi(n.destroy) ? n.destroy : ce;
8129
+ return n && Pi(n.destroy) ? n.destroy : ce;
8130
8130
  }
8131
8131
  function Uf(n) {
8132
8132
  const t = typeof n == "string" && n.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);
@@ -8477,7 +8477,7 @@ function Es(n, t, e) {
8477
8477
  let u = !1;
8478
8478
  return {
8479
8479
  start() {
8480
- u || (u = !0, Ul(n), wi(s) ? (s = s(i), yd().then(h)) : h());
8480
+ u || (u = !0, Ul(n), Pi(s) ? (s = s(i), yd().then(h)) : h());
8481
8481
  },
8482
8482
  invalidate() {
8483
8483
  u = !1;
@@ -8508,7 +8508,7 @@ function fo(n, t, e) {
8508
8508
  return r;
8509
8509
  });
8510
8510
  }
8511
- return wi(s) ? yd().then(() => {
8511
+ return Pi(s) ? yd().then(() => {
8512
8512
  s = s(i), l();
8513
8513
  }) : l(), {
8514
8514
  end(c) {
@@ -8553,7 +8553,7 @@ function Vi(n, t, e, i) {
8553
8553
  }
8554
8554
  return {
8555
8555
  run(p) {
8556
- wi(r) ? yd().then(() => {
8556
+ Pi(r) ? yd().then(() => {
8557
8557
  r = r(s), d(p);
8558
8558
  }) : d(p);
8559
8559
  },
@@ -8665,7 +8665,7 @@ function Ae(n) {
8665
8665
  function ve(n, t, e, i) {
8666
8666
  const { fragment: s, after_update: r } = n.$$;
8667
8667
  s && s.m(t, e), i || At(() => {
8668
- const o = n.$$.on_mount.map(ty).filter(wi);
8668
+ const o = n.$$.on_mount.map(ty).filter(Pi);
8669
8669
  n.$$.on_destroy ? n.$$.on_destroy.push(...o) : ft(o), n.$$.on_mount = [];
8670
8670
  }), r.forEach(At);
8671
8671
  }
@@ -8720,7 +8720,7 @@ class xe {
8720
8720
  ye(this, 1), this.$destroy = ce;
8721
8721
  }
8722
8722
  $on(t, e) {
8723
- if (!wi(e))
8723
+ if (!Pi(e))
8724
8724
  return ce;
8725
8725
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
8726
8726
  return i.push(e), () => {
@@ -13596,7 +13596,7 @@ let xs = class {
13596
13596
  /**
13597
13597
  * @realsee/dnalogel 版本号
13598
13598
  */
13599
- f(this, "VERSION", "3.81.15");
13599
+ f(this, "VERSION", "3.81.17");
13600
13600
  f(this, "NAME");
13601
13601
  f(this, "five");
13602
13602
  f(this, "workUtil");
@@ -13987,7 +13987,7 @@ let KM = class extends vn {
13987
13987
  return Object.prototype.hasOwnProperty.apply(h, ["version"]);
13988
13988
  }
13989
13989
  const o = e;
13990
- o && Pi(o.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
13990
+ o && Ci(o.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
13991
13991
  const a = JSON.parse(JSON.stringify(e)), l = r(a) ? a.data : a, c = this.data;
13992
13992
  this.data = yield pn(l), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, c), i && this.updateState(i, s), this.render();
13993
13993
  });
@@ -17021,7 +17021,7 @@ let i5 = class extends vn {
17021
17021
  getRoomDimensionText: (u, d) => (u / 1e3).toFixed(1) + "m × " + (d / 1e3).toFixed(1) + "m",
17022
17022
  getRuleDistanceText: (u) => u.toString()
17023
17023
  }, r = i ? io(i, ["selector", "scale"]) : {}, o = _(_({}, s.missingFloorConfig), r.missingFloorConfig), a = he(_(_({}, s), r), { missingFloorConfig: o });
17024
- this.state = { enabled: !0, visible: !1, config: a }, this.panoIndex = e.getCurrentState().panoIndex, this.initContainer(), Di(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
17024
+ this.state = { enabled: !0, visible: !1, config: a }, this.panoIndex = e.getCurrentState().panoIndex, this.initContainer(), Li(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
17025
17025
  }
17026
17026
  load(e, i, s = !0) {
17027
17027
  return $(this, null, function* () {
@@ -17029,7 +17029,7 @@ let i5 = class extends vn {
17029
17029
  return Object.prototype.hasOwnProperty.apply(h, ["version"]);
17030
17030
  }
17031
17031
  const o = e;
17032
- o && Pi(o.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
17032
+ o && Ci(o.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
17033
17033
  const a = JSON.parse(JSON.stringify(e)), l = r(a) ? a.data : a, c = this.data;
17034
17034
  this.data = yield pn(l), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, c), i && this.updateState(i, s), this.render();
17035
17035
  });
@@ -17306,7 +17306,7 @@ let n5 = class extends vn {
17306
17306
  return Object.prototype.hasOwnProperty.apply(h, ["version"]);
17307
17307
  }
17308
17308
  const o = e;
17309
- o && Pi(o.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
17309
+ o && Ci(o.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
17310
17310
  const a = JSON.parse(JSON.stringify(e)), l = r(a) ? a.data : a, c = this.data;
17311
17311
  this.data = yield pn(l), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, c), i && this.updateState(i, s), this.render();
17312
17312
  });
@@ -21065,12 +21065,12 @@ function ky(n, t) {
21065
21065
  });
21066
21066
  }
21067
21067
  /** @license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */
21068
- var Sy = {}, xi = void 0, PI = Sy;
21068
+ var Sy = {}, ki = void 0, PI = Sy;
21069
21069
  function Sd(n, t) {
21070
21070
  var e = n.split("."), i = PI;
21071
21071
  !(e[0] in i) && i.execScript && i.execScript("var " + e[0]);
21072
21072
  for (var s; e.length && (s = e.shift()); )
21073
- !e.length && t !== xi ? i[s] = t : i = i[s] ? i[s] : i[s] = {};
21073
+ !e.length && t !== ki ? i[s] = t : i = i[s] ? i[s] : i[s] = {};
21074
21074
  }
21075
21075
  var vt = typeof Uint8Array != "undefined" && typeof Uint16Array != "undefined" && typeof Uint32Array != "undefined" && typeof DataView != "undefined";
21076
21076
  function Bs(n) {
@@ -21108,7 +21108,7 @@ ks.prototype.k = function() {
21108
21108
  var n = _i(this, 3);
21109
21109
  switch (n & 1 && (this.m = !0), n >>>= 1, n) {
21110
21110
  case 0:
21111
- var t = this.input, e = this.a, i = this.c, s = this.b, r = t.length, o = xi, a = xi, l = i.length, c = xi;
21111
+ var t = this.input, e = this.a, i = this.c, s = this.b, r = t.length, o = ki, a = ki, l = i.length, c = ki;
21112
21112
  if (this.d = this.f = 0, e + 1 >= r)
21113
21113
  throw Error("invalid uncompressed block header: LEN");
21114
21114
  if (o = t[e++] | t[e++] << 8, e + 1 >= r)
@@ -21146,7 +21146,7 @@ ks.prototype.k = function() {
21146
21146
  this.j(CI, MI);
21147
21147
  break;
21148
21148
  case 2:
21149
- for (var h = _i(this, 5) + 257, u = _i(this, 5) + 1, d = _i(this, 4) + 4, p = new (vt ? Uint8Array : Array)(ih.length), m = xi, g = xi, v = xi, b = xi, w = xi, I = xi, E = xi, z = xi, T = xi, z = 0; z < d; ++z)
21149
+ for (var h = _i(this, 5) + 257, u = _i(this, 5) + 1, d = _i(this, 4) + 4, p = new (vt ? Uint8Array : Array)(ih.length), m = ki, g = ki, v = ki, b = ki, w = ki, I = ki, E = ki, z = ki, T = ki, z = 0; z < d; ++z)
21150
21150
  p[ih[z]] = _i(this, 3);
21151
21151
  if (!vt)
21152
21152
  for (z = d, d = p.length; z < d; ++z)
@@ -24860,7 +24860,7 @@ let kc = class {
24860
24860
  }
24861
24861
  };
24862
24862
  const uE = new y.BufferGeometry();
24863
- let Hy = class extends Ci {
24863
+ let Hy = class extends Mi {
24864
24864
  constructor(e) {
24865
24865
  super();
24866
24866
  f(this, "isPolygonMesh", !0);
@@ -24919,7 +24919,7 @@ class dE extends Fy {
24919
24919
  }
24920
24920
  updateAreaText(e, i) {
24921
24921
  const { unit: s = "m²", fix: r } = i != null ? i : {};
24922
- this.contentDom.innerText = `${Pi(r) ? e : e.toFixed(r)}${s}`;
24922
+ this.contentDom.innerText = `${Ci(r) ? e : e.toFixed(r)}${s}`;
24923
24923
  }
24924
24924
  }
24925
24925
  class nu {
@@ -25292,7 +25292,7 @@ class hs extends kc {
25292
25292
  return this.chooseArea(b, { left: E, top: T }), !1;
25293
25293
  }
25294
25294
  }
25295
- const [r] = Ti(this.five).intersectRaycaster(e);
25295
+ const [r] = Di(this.five).intersectRaycaster(e);
25296
25296
  if (!r)
25297
25297
  return;
25298
25298
  const o = this.five.camera, a = r.point.clone().project(o), l = this.container.clientWidth, c = this.container.clientHeight, h = new Zt(a.x * l, a.y * c), u = this.model.getAllLines().map((b) => {
@@ -25511,7 +25511,7 @@ class bm extends kc {
25511
25511
  return;
25512
25512
  const i = vm(e).ndcPoint, s = new ho();
25513
25513
  s.setFromCamera(i, this.five.camera);
25514
- const [r] = Ti(this.five).intersectRaycaster(s);
25514
+ const [r] = Di(this.five).intersectRaycaster(s);
25515
25515
  r && this.onIntersectionUpdate(r);
25516
25516
  });
25517
25517
  f(this, "onIntersectionUpdate", (e, i) => {
@@ -25544,7 +25544,7 @@ class bm extends kc {
25544
25544
  return this.chooseArea(b, { left: E, top: T }), !1;
25545
25545
  }
25546
25546
  }
25547
- const r = Ti(this.five), [o] = r.intersectRaycaster(e);
25547
+ const r = Di(this.five), [o] = r.intersectRaycaster(e);
25548
25548
  if (!o)
25549
25549
  return;
25550
25550
  const a = this.five.camera, l = o.point.clone().project(a), c = this.container.clientWidth, h = this.container.clientHeight, u = new Zt(l.x * c, l.y * h), d = this.model.getAllLines().map((b) => {
@@ -25814,7 +25814,7 @@ class CE {
25814
25814
  if (!this.centerMouseXY)
25815
25815
  return null;
25816
25816
  this.raycaster.setFromCamera(this.centerMouseXY, this.five.camera);
25817
- const t = Ti(this.five).intersectRaycaster(this.raycaster)[0];
25817
+ const t = Di(this.five).intersectRaycaster(this.raycaster)[0];
25818
25818
  return t || null;
25819
25819
  });
25820
25820
  this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = Uy(_({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = M2, this.container.classList.add("range-piece-controller"), this.content = this.container.querySelector(".range-piece__content"), this.content && (this.content.style.transform = `matrix3d(${this.pieceStyl.matrix3d.toString()}) scale(${this.pieceStyl.scale})`, this.content.style.opacity = `${this.pieceStyl.opacity}`), t.container.append(this.container), this.intersectMesh = new Vr(
@@ -25894,7 +25894,7 @@ class Ro extends kc {
25894
25894
  f(this, "onWantsTapGesture", (e) => {
25895
25895
  if (this.state === "editing")
25896
25896
  return !1;
25897
- const i = Ti(this.five), [s] = i.intersectRaycaster(e);
25897
+ const i = Di(this.five), [s] = i.intersectRaycaster(e);
25898
25898
  if (!s)
25899
25899
  return;
25900
25900
  const r = this.five.camera, o = s.point.clone().project(r), a = this.container.clientWidth, l = this.container.clientHeight, c = new Zt(o.x * a, o.y * l), h = this.model.getAllLines().map((m) => {
@@ -26640,7 +26640,7 @@ function GE(n) {
26640
26640
  },
26641
26641
  m(s, r) {
26642
26642
  Z(s, t, r), e || (i = _e(t, "click", function() {
26643
- wi(
26643
+ Pi(
26644
26644
  /*onClick*/
26645
26645
  n[0]
26646
26646
  ) && n[0].apply(this, arguments);
@@ -27149,7 +27149,7 @@ function e4(n) {
27149
27149
  },
27150
27150
  m(a, l) {
27151
27151
  Z(a, t, l), o.m(t, null), i = !0, s || (r = _e(t, "click", function() {
27152
- wi(
27152
+ Pi(
27153
27153
  /*onClick*/
27154
27154
  n[1]
27155
27155
  ) && n[1].apply(this, arguments);
@@ -28089,7 +28089,7 @@ const HR = function(t, e) {
28089
28089
  return new v4(t, e);
28090
28090
  }, y4 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sHDgwCEMBJZu0AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAABM5JREFUWMO1V0tPG2cUPZ4Hxh6DazIOrjFNqJs0FIMqWFgWQkatsmvVbtggKlSVRVf5AWz4AWz4AUSKEChll19QJYSXkECuhFxsHjEhxCYm+DWGMZ5HF72DJq4bAzFXurI0M/I5997v3u9cC65vTJVn2lX/xHINQOYSBLTLEuIuCWw4Z3IGAEvf6ASmVHjNzHCXBG4A0AjACsAOwEbO0nsFQBnAGYASAIl+ZRMR7SolMEdsByD09fV5R0ZGgg8ePPjW5/N1iqLYpuu6RZblciKR2I9Go69evnwZnZ+fjwI4IS8AKBIRzeQfJWCANwKwh0KhtrGxsYehUOin1tbW+zzP23ietzY2NnIAoGmaLsuyUiqVyvl8XtrY2NiamZn589mzZxsAUgCOAeQAnFI2tI+VxIjaAeDzoaGh7xYWFuZOTk6OZVk+12uYqqq6JEnn0Wg0OT4+/geAXwGEAdwDIFJQXC1wO4DWR48e/RCPxxclSSroVzRFUbSDg4P848ePFwH8DuAhkWih83TRQWxFOXgAwvDwcOfo6OhvXV1d39tsNtuVBwTDWBwOh1UUxVsMw1hXVlbSdCgNV43uYSvrHg6H24aHh38eHBz85TrgF9FYLHA4HLzH43FvbW2d7u/vG+dANp8FpqIlbd3d3V8Fg8EfBUFw4BONZVmL3+9vHhkZCQL4AoAHgJPK8G+yzC0XDofdoVAo5PP5vkadTBAEtr+/39ff3x8gAp/RPOEqx2qjx+NpvXv3bk9DQ0NDvQgwDIOWlhZrMBj8kgi0UJdxRgYMArzL5XJ7vd57qLPZ7Xamp6fnNgBXtQxcjFuHw+Hyer3t9SYgCAITCAScAJoBNNEY/08GOFVVrfVMv7kMNDntFD1vjIAPrlRN0xjckOm6biFQ3jwNPwDMZrOnqVTqfb3Bi8Wivru7W/VCYkwPlKOjo0IikXh7EwQikYgE4Nw0CfXKDCipVCoTj8df3QABbW1tLUc6oUgkFPMkVACUNjc337148eKvw8PDbJ2jP1taWkoCyNDVXDSECmNSK4qiKNLq6urW8+fPI/UicHx8rD59+jSVy+WOAKSJhKENwFItLtoxk8mwsixzHR0dHe3t7c5PAU+n09rs7OzJkydPYqVSaQfANoDXALIk31S2smU1TWMPDg7K5XKZ7+3t9TudTut1U7+wsFCcmJiIpdPpbQBxADsAknQWymYCOukBHYCuKApisdhpMpnURFEU79y503TVyKenpzOTk5M7e3t7MQKPV0Zv1gNm+awB0MvlshqLxfLb29uyJElWURSbXC4XXyvqxcXFs6mpqeTc3Nzu3t7e3wQcA7BPZ8Cov1pNlJplmQtAG8MwHV6v95tAINA5MDBwPxAIuLu6upr8fr/VAN3c3JQjkcjZ+vp6fnl5+d2bN29SuVzuNYAEpf01CdRChUL+X1VskHACuA3Ay3Fcu9vt7nA6nZ7m5uYWQRCaNE3jVVW15PP580KhIGUymWw2m00DOAJwSP4WwPtq4LX2Ao6USxNlQyS/RcQcdLGwlNIz6vEMAaZpNzCk2Pll94LK/cDYimxERiBwG10sxjgvEZBE0UpE6vxj+0Ct5bTaXthgEhRmja8QWNkkPGsuIpfdjpkK+cZUWTC0KredVmtD/gdlSl6EG4AMvQAAAABJRU5ErkJggg==";
28091
28091
  let _m = null;
28092
- class mn extends Ci {
28092
+ class mn extends Mi {
28093
28093
  constructor(e) {
28094
28094
  var d, p, m;
28095
28095
  super();
@@ -28187,11 +28187,11 @@ class mn extends Ci {
28187
28187
  e ? (i(e), this.dom.setPosition(this.position.clone())) : i(null);
28188
28188
  }
28189
28189
  }
28190
- class ya extends Li {
28190
+ class ya extends wi {
28191
28191
  constructor(e) {
28192
28192
  super();
28193
28193
  f(this, "name", "LineWithDotsMesh");
28194
- f(this, "pointGroup", new Ci());
28194
+ f(this, "pointGroup", new Mi());
28195
28195
  f(this, "_paramsStyle");
28196
28196
  f(this, "setStyle", (e) => {
28197
28197
  super.setStyle(e), this._paramsStyle = _(_({}, this._paramsStyle), e), this.pointMeshes.forEach(
@@ -28238,7 +28238,7 @@ class ya extends Li {
28238
28238
  }), this.updateEdgePointsVisibility(), this.needsRender = !0;
28239
28239
  }
28240
28240
  }
28241
- class Tc extends Ci {
28241
+ class Tc extends Mi {
28242
28242
  constructor(e) {
28243
28243
  var a, l;
28244
28244
  super();
@@ -28431,7 +28431,7 @@ function Jy(n) {
28431
28431
  const i = new y.Plane().setFromCoplanarPoints(n[0], n[1], n[2]);
28432
28432
  return n.every((r, o) => o < 3 ? !0 : i.distanceToPoint(r) < 1e-6);
28433
28433
  }
28434
- class Bm extends Ci {
28434
+ class Bm extends Mi {
28435
28435
  constructor(e) {
28436
28436
  super();
28437
28437
  f(this, "name", "MeasureMesh");
@@ -28656,7 +28656,7 @@ function k4(n) {
28656
28656
  if (e >= 0 && bt.splice(e, 1), n.key && n.key.toLowerCase() === "meta" && bt.splice(0, bt.length), (t === 93 || t === 224) && (t = 91), t in Qt) {
28657
28657
  Qt[t] = !1;
28658
28658
  for (const i in Zi)
28659
- Zi[i] === t && (dt[i] = !1);
28659
+ Zi[i] === t && (ht[i] = !1);
28660
28660
  }
28661
28661
  }
28662
28662
  function ib(n) {
@@ -28715,7 +28715,7 @@ function Fm(n, t, e, i) {
28715
28715
  function Vm(n, t) {
28716
28716
  const e = Ct["*"];
28717
28717
  let i = n.keyCode || n.which || n.charCode;
28718
- if (n.key && n.key.toLowerCase() === "capslock" || !dt.filter.call(this, n))
28718
+ if (n.key && n.key.toLowerCase() === "capslock" || !ht.filter.call(this, n))
28719
28719
  return;
28720
28720
  if ((i === 93 || i === 224) && (i = 91), bt.indexOf(i) === -1 && i !== 229 && bt.push(i), ["metaKey", "ctrlKey", "altKey", "shiftKey"].forEach((a) => {
28721
28721
  const l = Wo[a];
@@ -28725,7 +28725,7 @@ function Vm(n, t) {
28725
28725
  for (const a in Zi)
28726
28726
  if (Object.prototype.hasOwnProperty.call(Zi, a)) {
28727
28727
  const l = Wo[Zi[a]];
28728
- dt[a] = n[l];
28728
+ ht[a] = n[l];
28729
28729
  }
28730
28730
  if (!e)
28731
28731
  return;
@@ -28750,7 +28750,7 @@ function Vm(n, t) {
28750
28750
  u.sort().join("") === bt.sort().join("") && Fm(n, l, s, t);
28751
28751
  }
28752
28752
  }
28753
- function dt(n, t, e) {
28753
+ function ht(n, t, e) {
28754
28754
  bt = [];
28755
28755
  const i = $y(n);
28756
28756
  let s = [], r = "all", o = document, a = 0, l = !1, c = !0, h = "+", u = !1, d = !1;
@@ -28846,10 +28846,10 @@ const oh = {
28846
28846
  modifierMap: Wo
28847
28847
  };
28848
28848
  for (const n in oh)
28849
- Object.prototype.hasOwnProperty.call(oh, n) && (dt[n] = oh[n]);
28849
+ Object.prototype.hasOwnProperty.call(oh, n) && (ht[n] = oh[n]);
28850
28850
  if (typeof window != "undefined") {
28851
28851
  const n = window.hotkeys;
28852
- dt.noConflict = (t) => (t && window.hotkeys === dt && (window.hotkeys = n), dt), window.hotkeys = dt;
28852
+ ht.noConflict = (t) => (t && window.hotkeys === ht && (window.hotkeys = n), ht), window.hotkeys = ht;
28853
28853
  }
28854
28854
  const T4 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGYAAABmCAYAAAA53+RiAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAZqADAAQAAAABAAAAZgAAAACBRx3mAAAKZ0lEQVR4Ae2d65PVRBDFWUF8IAoiLIJICaVAUSgUfvH//2RpgRRUCSgI5QIFAiryfrieX3Y6Jtnk5nGTubn3dlf15j3Tc066e2aSzd2yxWWUCKyM0qoJRq2vr2Pz1qCsv5VRrW5Zz+i/Wn8jfbWyssL+uZFREyMSAP3tjG7TOqQYIVpN1tkuavHYa+14FfS5lk9FFvtGKaMiJniDEbFdiEGE2QiI5gGs4wnmHew3j+D8rBdRBmWh7wQ1cl9q+0nQxyKKckYh1uiZGiNCAM9AM5vsDn/Z952t+t5VfTukHwSFSIh9JH2o+h5rOVMxEKIbEbzDyOAOBhhCzQsBwzKKBDveV2UfS3dJuUmo/4H0nmzBM6NLdGIKhHCn4hkvpDNP0LINez6S7pFCEqHtnvRuzJtF9aXxm/VBJUMIsR4PIb4/n9UdWddY2fuezjkghSS8+Q/pmuzlRhpconiMGklCp6HUR5iAkNEkWtlTKbKdfARBq1JIuSnb8aJBZVBi1ChCA4TgIRDxTI2aScxW3VOJ2kJn4aj0QymdhF/VlqdaDiKDEaOGELK42xA8hNA196J24TlHpESB62rX2hCN6p0YGU6ZEILhuD5eYmMMbc6/qI207Zh0r5Tcc1lt7DX39EqMDCZkQQpLur30thZW1N5DatyXUtp5Ue0lxPUivREjI+n/W+ia21zSFlW1m5zztZQx2QWRc79tGWXn90JMIIVBGomdOaiFCl1lwGX3qf2EtrNSxkCX1P5b2eNd1qcmRkbZHBS9rqUjxUAXDoTvM1LyzhWRc92OdVlORUyGlDcyZLCuY5eGzeIa4QGe30g/k/4sTK51tYO80ElkhOWU107KBoTCgRD+UyDopJZMwP7eBeBOxARSkpzipJTCfkF76QidDuTcLT1rwk5G5q1EFRFLGc0nOaXVxUtysm5WsPlB+pf0rDCjU9BKWhGjCoihkII8Ca67seV/cwgIGwac30t5WnpG2NFzayytiFGpkILHLG3vqzGyOlHkMA11TkpYOyVtLI2JEeN0i2F9tFP1jVsd8USRQzi7LN0rDD9vWnUjYlQg51myX+hplqbAtTlP5NzQ+Twq+EpY8ji7VhoRo1LSvFJbop9QhcAlHeBZFJOftVJLTCaELdwscS06PZ4gr4GUX6S7hOn+uqInEqMC6IV5CKtDseFxkXNbp/4pPSpsJ44hJxKjAghhnPNM6tIPAldVDKQcnlRcJTHBW5jK7v29rkkGLfoxeQ3vrN2RfiqMK8c2lcToQveW4e4Smz87WFVFKTEFb5nLlyeqGjyG/fIaUgOPpPdX5ZpSYnSBPR723DIck3gN+Jf20KqIIYzxZmSvLxgM18b5K1nY8vzqoXRfmfWbiAkJifkwJt9chkWAcLZdmPPeQE42EaOjNspfiPfAcq0d3wZjGgaevIabkxwxmaTPq0dL9UJFDpVIG8KY5zb8VwGzATkuchs6gRlk9nkYEwiRBGLAPPcwrUgMA0oRuRivs0YCdtpqGHDSycrNOheJwWM8t0wLdYvrQ8r4R5fszF6WEqMYR0/MicmiE28dr6F3lk7RpMQEUjDFH4SBQlzBY+gIpOGsSAz5he6bS0QEhDkzLBBjQ5WkN2Am4EZOiqERf0lPuDSUsdMnLOMTYjVCDL3iRJJQFgaWPLzxubEAzAwW5PZtgYs0lEEKJHkomwEjoUqIIc/QM06JoavM830OuMwGAXOK5F0A65WxdGJmQ4jVilOg8JB6jBMDGrMVi1alxPiM8uzIMY9JopiFMnIMYqxtbPnfmAgY9jliMMBIimmM15VHAHKSqGVksEFss+386b4VAwHDPvGc3IYTEwP/yjqsV5wjBo+BJCOq8mo/MBgCYA8POWLYgDHrBGjVJTICSTdZdeaIYY6MA+nsZmSjvLoNp8BjkolkC108ToaYdHbTkYqOAE4BMclEckJMeO7MXE0ygRbdJK8QBJgjS78Lah7DAbwmfYLGDpeoCJDfbSIz1wuDGPusVVSLvLIEAYhJn4dlPYbnzlv1oMa9JvKdknk7Jn11LEsMr9DQAci93xTZxmWtznJ7+oZSSkx4O4YDTkz82wNiSPzJGIbqU2KCLXjNTnvuHPb5YngE6Cqn3kJ1RWJ48YyT0hfPOMllOATkBHgLKSTNL9RWJOZv7cOdPuGgSxQEGNQz2q8mJsQ4/plmj5gskhbFymWqJKQMiOHDSYz6UykD/76OEs52p2f5ylAIWBjL5Rcq20SMmOOjzrjVKie4DIoA3sI3RdMRv9W2iZhwgE847Zar8R0ZlwEQELaM9PGY0v/eqyLmji4g5h2SugyDADMsJP3mxMi1mLOBnH1i1qdoBESfkvGWyn9CrvIY7LglpX99mA2XXhFgsphhSeWXRyqJkdfQAbgt5XsnPuAUEH1IE2+hnkpighE3tCSsnQjbvpgeATpUeEtpbrHiJxITcs01ncwHAg7aRb7shoAwpHtMb6z288gTiaF6kUMngNkAvoDKwNOlAwLCjnxNbmEWedO4pVhkLTHhgstaQsqpYgG+3RgBGxNWJvxsSY2IEcM8DrgiXRXzX2QL8PV6BDIhjC/xps9cJl3ZiBgKUIE3tbgrPaGK+FVVlwYICCtyCrmFqZfcDPKkyxsTEwq5qCW9CX7hgekElwkICCPyCiGMEX6jEGbFtSJGjJO07EcEvlPFyf8LWmG+/B+BDClMbbX+mHgrYqhW5PAjAj9K+Srdt8EArboUEGAqC3x51tIor2Svb00MF6sics15KU86T0tdMgjoZoUUcguekr4rljmldrVzKFKFazKAPHNcS9yV34BkudQSSAFXJig7kQKAnYnhYlV8PZByjLK0fl77SHRLJ2q7DSCNlMY9sDKwKGxqkVEHVMhJKU8/z4mc2pHt1JWOqIBACr0vUkPn8JVtUi/EUKCMI98wM8Cd0uvvDqu80YraTS5hqgUsSfSdw1e2kb0RQ6Eykp4ansOAit+7X9NyYUXtJcdCCmR06n1VgdMrMVQiY4mxx6V4EB98vrpooU1tBDfreRkpvXZ8eidGBici43lMcERKvvlN5NDFnnsJXkJEQOh5TZXkN4rZ/HcwYqhKjSAhHpUS4njLE4KeaDl3oraQS/ASErx5SeuBY9OGD0qMGaFG8Yvdh6U0jvB2WwRNfIKnc0Yhsh0i8BAeexCuyCWD9zqjEKPGWO4hvEES8lB6R41sNbmXXBnhT/CQLCGErMq3Wvo2KRoxZrgazJ23KqVzgAcx9/ZA+kgkDRYaVH6tyDbwwD56W3Ri8BBeX41GiOpKJDoxVnG4I/GePVLAIG5DEo+xa5+J65zeJNws5h2Uyw1CqOX32XrtbVF4E5kZMVnjBAyvR/ESO50EbGJah05CogKn13yk+vAGbgZTrSZk4B2j+LG8URADKogAI9FC0g4pPTqAQ/AmYnxW2cedbWp3Nm2iHJYo4bKo2pV+7IBEnuisvANjijIqYorGhTsbghhdQxJ3usV+rSbgQoyRwtKU4xxD2Af4eCKEGhF2XLvGJaMmpgwqkYXNkIQXsJ71DggwomwJGW/G5A2yx2VeEfgPPUASVA2Hk1IAAAAASUVORK5CYII=", D4 = `<?xml version="1.0" encoding="UTF-8"?>
28855
28855
  <svg width="22" height="22" viewBox="0 0 22 22" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -28973,18 +28973,20 @@ class R4 extends St {
28973
28973
  */
28974
28974
  f(this, "measure", () => {
28975
28975
  var I;
28976
- (I = this.cleanupPendingPress) == null || I.call(this), this.repositioningState && this.cancelRepositioning(), this.listener.addMeasureListener(), dt.unbind("delete, backspace"), this.group.children.forEach((E) => E.unselect()), this.cursor.removeDeleteButton();
28976
+ if (this.currentMeasureMesh)
28977
+ return;
28978
+ (I = this.cleanupPendingPress) == null || I.call(this), this.repositioningState && this.cancelRepositioning(), this.listener.addMeasureListener(), ht.unbind("delete, backspace", this.deleteSelectedMesh), this.group.children.forEach((E) => E.unselect()), this.cursor.removeDeleteButton();
28977
28979
  const e = new Bm({
28978
28980
  lineStyle: this.lineStyle,
28979
28981
  polygonStyle: this.polygonStyle
28980
28982
  });
28981
28983
  this.currentMeasureMesh = e, e.line.setStyle({ cssStyle: "pointer-events: none;" }), this.pointSelector.actionIfNoIntersection = "disable", this.updateSelectAdsorbedHelper();
28982
- const i = new mn({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new ya(he(_({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), r = new mo(this.polygonStyle), o = new Li(he(_({}, this.lineStyle), {
28984
+ const i = new mn({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new ya(he(_({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), r = new mo(this.polygonStyle), o = new wi(he(_({}, this.lineStyle), {
28983
28985
  lineOpacity: 0.5,
28984
28986
  lineColor: 3407837,
28985
28987
  dashed: !0,
28986
28988
  cssStyle: "pointer-events: none; opacity: 0.5;"
28987
- })), a = new Li(he(_({}, this.lineStyle), {
28989
+ })), a = new wi(he(_({}, this.lineStyle), {
28988
28990
  lineOpacity: 0.5,
28989
28991
  lineColor: 3407837,
28990
28992
  dashed: !0,
@@ -29053,7 +29055,7 @@ class R4 extends St {
29053
29055
  }, w = () => {
29054
29056
  this.pointSelector.off("intersectionUpdate", g), this.pointSelector.off("select", v), this.pointSelector.off("disable", w), this.off("undo", b), document.removeEventListener("keydown", d), document.removeEventListener("keyup", p), e.line.setStyle({ cssStyle: "pointer-events: auto;" }), m();
29055
29057
  let E = this.currentEndReason, T = !0;
29056
- E === "escape" ? T = !1 : e.points.length < 2 ? (e.removeFromParent(), E = "points_insufficient", T = !1) : this.addMeshEventListeners(e), e.__five_pano_index = this.five.panoIndex, this.currentMeasureMesh = null, this.publishInteraction("idle"), this.listener.removeMeasureListener(), this.emit("measureEnd", E, T ? e.points : []), this.currentEndReason = "enter";
29058
+ E === "escape" ? (e.removeFromParent(), T = !1) : e.points.length < 2 ? (e.removeFromParent(), E = "points_insufficient", T = !1) : this.addMeshEventListeners(e), e.__five_pano_index = this.five.panoIndex, this.currentMeasureMesh = null, this.listener.removeMeasureListener(), ht("delete, backspace", this.deleteSelectedMesh), this.publishInteraction("idle"), this.emit("measureEnd", E, T ? e.points : []), this.currentEndReason = "enter";
29057
29059
  };
29058
29060
  this.on("undo", b), this.pointSelector.on("intersectionUpdate", g), this.pointSelector.on("select", v), this.pointSelector.on("disable", w), this.pointSelector.enable(), this.publishInteraction("drawing");
29059
29061
  });
@@ -29067,25 +29069,25 @@ class R4 extends St {
29067
29069
  * @description 通过Enter键结束测量
29068
29070
  */
29069
29071
  f(this, "endMeasureByEnter", () => {
29070
- this.currentEndReason = "enter", this.endMeasure();
29072
+ this.currentEndReason = "enter", this.pointSelector.disable();
29071
29073
  });
29072
29074
  /**
29073
29075
  * @description 通过模式改变结束测量
29074
29076
  */
29075
29077
  f(this, "endMeasureByModeChange", () => {
29076
- this.currentEndReason = "mode_change", this.endMeasure();
29078
+ this.currentEndReason = "mode_change", this.pointSelector.disable();
29077
29079
  });
29078
29080
  /**
29079
29081
  * @description 通过全景移动结束测量
29080
29082
  */
29081
29083
  f(this, "endMeasureByPanoMove", () => {
29082
- this.currentEndReason = "pano_move", this.endMeasure();
29084
+ this.currentEndReason = "pano_move", this.pointSelector.disable();
29083
29085
  });
29084
29086
  /**
29085
29087
  * @description 通过楼层改变结束测量
29086
29088
  */
29087
29089
  f(this, "endMeasureByFloorChange", () => {
29088
- this.currentEndReason = "floor_change", this.endMeasure();
29090
+ this.currentEndReason = "floor_change", this.pointSelector.disable();
29089
29091
  });
29090
29092
  /**
29091
29093
  * Enable or disable the display of length measurements
@@ -29153,8 +29155,7 @@ class R4 extends St {
29153
29155
  * @description 取消本次测量
29154
29156
  */
29155
29157
  f(this, "cancel", () => {
29156
- var e;
29157
- this.currentEndReason = "escape", (e = this.currentMeasureMesh) == null || e.removeFromParent(), this.pointSelector.disable();
29158
+ this.currentEndReason = "escape", this.pointSelector.disable();
29158
29159
  });
29159
29160
  /**
29160
29161
  * @description 撤销上一步
@@ -29178,12 +29179,12 @@ class R4 extends St {
29178
29179
  });
29179
29180
  f(this, "dispose", () => {
29180
29181
  var e, i;
29181
- this.listener.removeMeasureListener(), this.listener.removeClickListener(), this.pointSelector.disable(), this.clear(), (e = this.endpointPointerElement) == null || e.removeEventListener("pointerdown", this.onEndpointPointerDown, !0), this.endpointPointerElement = void 0, (i = this._fiveDomEvents) == null || i.dispose();
29182
+ this.pointSelector.disable(), this.listener.removeMeasureListener(), this.listener.removeClickListener(), this.clear(), (e = this.endpointPointerElement) == null || e.removeEventListener("pointerdown", this.onEndpointPointerDown, !0), this.endpointPointerElement = void 0, (i = this._fiveDomEvents) == null || i.dispose();
29182
29183
  });
29183
29184
  f(this, "listener", {
29184
29185
  // 点击事件
29185
29186
  addClickListener: () => {
29186
- this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), dt("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
29187
+ this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), ht("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
29187
29188
  },
29188
29189
  removeClickListener: () => {
29189
29190
  this.group.children.forEach((e) => {
@@ -29191,14 +29192,14 @@ class R4 extends St {
29191
29192
  (i = e.line.doms) == null || i.forEach((r) => {
29192
29193
  r != null && r.container && (r.container.onclick = null, r.container.onmouseenter = null, r.container.onmouseleave = null);
29193
29194
  }), (s = e.polygon.areaDom) != null && s.container && (e.polygon.areaDom.container.onclick = null, e.polygon.areaDom.container.onmouseenter = null, e.polygon.areaDom.container.onmouseleave = null);
29194
- }), this.fiveDomEvents.clear(), this.five.off("panoArrived", this.onMoveToPano), this.five.off("modeChange", this.onModeChange), dt.unbind("delete, backspace");
29195
+ }), this.fiveDomEvents.clear(), this.five.off("panoArrived", this.onMoveToPano), this.five.off("modeChange", this.onModeChange), ht.unbind("delete, backspace", this.deleteSelectedMesh);
29195
29196
  },
29196
29197
  // 绘制快捷键
29197
29198
  addMeasureListener: () => {
29198
- dt("ctrl+z, command+z", this.undo), dt("esc", this.cancel), dt("enter", this.endMeasureByEnter), this.five.on("mode.change", this.endMeasureByModeChange), this.five.on("pano.moveTo", this.endMeasureByPanoMove), this.five.on("model.changeShownFloor", this.endMeasureByFloorChange);
29199
+ ht("ctrl+z, command+z", this.undo), ht("esc", this.cancel), ht("enter", this.endMeasureByEnter), this.five.on("mode.change", this.endMeasureByModeChange), this.five.on("pano.moveTo", this.endMeasureByPanoMove), this.five.on("model.changeShownFloor", this.endMeasureByFloorChange);
29199
29200
  },
29200
29201
  removeMeasureListener: () => {
29201
- dt.unbind("ctrl+z, command+z"), dt.unbind("esc"), dt.unbind("enter"), this.five.off("mode.change", this.endMeasureByModeChange), this.five.off("pano.moveTo", this.endMeasureByPanoMove), this.five.off("model.changeShownFloor", this.endMeasureByFloorChange);
29202
+ ht.unbind("ctrl+z, command+z", this.undo), ht.unbind("esc", this.cancel), ht.unbind("enter", this.endMeasureByEnter), this.five.off("mode.change", this.endMeasureByModeChange), this.five.off("pano.moveTo", this.endMeasureByPanoMove), this.five.off("model.changeShownFloor", this.endMeasureByFloorChange);
29202
29203
  }
29203
29204
  });
29204
29205
  f(this, "onMoveToPano", (e) => {
@@ -29393,7 +29394,7 @@ class R4 extends St {
29393
29394
  isDragMode: s,
29394
29395
  mouseDownPosition: r || void 0,
29395
29396
  hasMoved: !1
29396
- }, this.applyRepositioningStyle(e, !0), this.five.on("wantsGesture", this.preventFiveGestures), s ? this.enableGlobalPointerTracking(o) : (this.pointSelector.actionIfNoIntersection = "virtualPoint", this.pointSelector.enable(), this.pointSelector.on("intersectionUpdate", this.onRepositioningMove), this.pointSelector.on("select", this.onRepositioningConfirm), this.pointSelector.on("disable", this.cancelRepositioning)), this.repositioningState && (dt("esc", this.cancelRepositioning), this.publishInteraction("editing")));
29397
+ }, this.applyRepositioningStyle(e, !0), this.five.on("wantsGesture", this.preventFiveGestures), s ? this.enableGlobalPointerTracking(o) : (this.pointSelector.actionIfNoIntersection = "virtualPoint", this.pointSelector.enable(), this.pointSelector.on("intersectionUpdate", this.onRepositioningMove), this.pointSelector.on("select", this.onRepositioningConfirm), this.pointSelector.on("disable", this.cancelRepositioning)), this.repositioningState && (ht("esc", this.cancelRepositioning), this.publishInteraction("editing")));
29397
29398
  });
29398
29399
  /**
29399
29400
  * Helper method to safely update polygon points while maintaining closure
@@ -29404,28 +29405,23 @@ class R4 extends St {
29404
29405
  s === 0 ? i[o] = i[0].clone() : s === o && (i[0] = i[o].clone());
29405
29406
  }
29406
29407
  if (e.points = i, r && this.repositioningState) {
29407
- const o = e.line;
29408
- if (o.points = i, i.length >= 2) {
29409
- const a = i.flatMap((l) => [l.x, l.y, l.z]);
29410
- o.line1.geometry.setPositions(a), o.line1.computeLineDistances();
29411
- }
29412
- if (s !== void 0 && e.line.pointMeshes) {
29413
- const a = i[s];
29408
+ if (wi.prototype.setPoints.call(e.line, i), s !== void 0 && e.line.pointMeshes) {
29409
+ const o = i[s];
29414
29410
  if (e.isPolygon && i.length > 3) {
29415
- const l = i.length - 1;
29411
+ const a = i.length - 1;
29416
29412
  if (s === 0) {
29417
- const c = e.line.pointMeshes[0], h = e.line.pointMeshes[l];
29418
- c && c.position.copy(a), h && h.position.copy(a);
29419
- } else if (s === l) {
29420
- const c = e.line.pointMeshes[0], h = e.line.pointMeshes[l];
29421
- c && c.position.copy(a), h && h.position.copy(a);
29413
+ const l = e.line.pointMeshes[0], c = e.line.pointMeshes[a];
29414
+ l && l.position.copy(o), c && c.position.copy(o);
29415
+ } else if (s === a) {
29416
+ const l = e.line.pointMeshes[0], c = e.line.pointMeshes[a];
29417
+ l && l.position.copy(o), c && c.position.copy(o);
29422
29418
  } else {
29423
- const c = e.line.pointMeshes[s];
29424
- c && c.position.copy(a);
29419
+ const l = e.line.pointMeshes[s];
29420
+ l && l.position.copy(o);
29425
29421
  }
29426
29422
  } else {
29427
- const l = e.line.pointMeshes[s];
29428
- l && l.position.copy(a);
29423
+ const a = e.line.pointMeshes[s];
29424
+ a && a.position.copy(o);
29429
29425
  }
29430
29426
  }
29431
29427
  e.isPolygon && e.polygon.setPoints(i);
@@ -29571,11 +29567,11 @@ class R4 extends St {
29571
29567
  */
29572
29568
  f(this, "cleanupRepositioning", () => {
29573
29569
  var e;
29574
- (e = this.cleanupRepositioningListeners) == null || e.call(this), this.cleanupRepositioningListeners = void 0, this.repositioningState && (this.repositioningState.isDragMode || (this.pointSelector.off("intersectionUpdate", this.onRepositioningMove), this.pointSelector.off("select", this.onRepositioningConfirm), this.pointSelector.off("disable", this.cancelRepositioning), this.pointSelector.disable())), this.five.off("wantsGesture", this.preventFiveGestures), dt.unbind("esc", this.cancelRepositioning), this.repositioningState = null, this.five.needsRender = !0;
29570
+ (e = this.cleanupRepositioningListeners) == null || e.call(this), this.cleanupRepositioningListeners = void 0, this.repositioningState && (this.repositioningState.isDragMode || (this.pointSelector.off("intersectionUpdate", this.onRepositioningMove), this.pointSelector.off("select", this.onRepositioningConfirm), this.pointSelector.off("disable", this.cancelRepositioning), this.pointSelector.disable())), this.five.off("wantsGesture", this.preventFiveGestures), ht.unbind("esc", this.cancelRepositioning), this.repositioningState = null, this.five.needsRender = !0;
29575
29571
  });
29576
29572
  this.five = e;
29577
29573
  const s = { unit: "m", lengthEnable: !0, precision: 2 };
29578
- this.config = i ? _(_({}, s), i) : s, this.group = new Ci(), this.group.name = "MeasureGroup", this.group.__five__ = this.five, this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), dt("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
29574
+ this.config = i ? _(_({}, s), i) : s, this.group = new Mi(), this.group.name = "MeasureGroup", this.group.__five__ = this.five, this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), ht("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
29579
29575
  }
29580
29576
  get interactionState() {
29581
29577
  var e, i;
@@ -30203,8 +30199,8 @@ const ah = 1e-3, Ym = 0.01, Zm = sd, WR = (n, t) => {
30203
30199
  Ke.clone().add(Dt),
30204
30200
  Ke.clone().add(new y.Vector3(0, ah, 0)).add(Dt),
30205
30201
  Ke.clone().add(new y.Vector3(0, ah, 0))
30206
- ].map((Kt) => di.projectPoint(Kt, new y.Vector3())), { container: Mi, dispose: ut } = u.create3DDomContainer(qt) || {}, Jt = new G4({
30207
- target: Mi,
30202
+ ].map((Kt) => di.projectPoint(Kt, new y.Vector3())), { container: Ii, dispose: dt } = u.create3DDomContainer(qt) || {}, Jt = new G4({
30203
+ target: Ii,
30208
30204
  props: {
30209
30205
  id: at,
30210
30206
  content: g.render(g.template, Tt),
@@ -30215,7 +30211,7 @@ const ah = 1e-3, Ym = 0.01, Zm = sd, WR = (n, t) => {
30215
30211
  folded: g.folded,
30216
30212
  events: g.events,
30217
30213
  hooks: p,
30218
- dispose: ut,
30214
+ dispose: dt,
30219
30215
  blurImageUrl: Zm
30220
30216
  }
30221
30217
  });
@@ -31674,7 +31670,7 @@ class Ox extends xs {
31674
31670
  i && (this.MaxVisibledistance = i.MaxVisibledistance, this.MinVisibledistance = i.MinVisibledistance, this.OffsetHeight = i.OffsetHeight), this.labelItems.forEach((s) => {
31675
31671
  var r;
31676
31672
  return (r = s.svelteApp) == null ? void 0 : r.$destroy();
31677
- }), this.labelItems = [], this.doorLabels = [], this.floorplanServerData = e, Di(this.five).then(() => {
31673
+ }), this.labelItems = [], this.doorLabels = [], this.floorplanServerData = e, Li(this.five).then(() => {
31678
31674
  this.initData(), this.fixDoorVisibleAndPosition(), this.applyState();
31679
31675
  });
31680
31676
  });
@@ -33275,7 +33271,7 @@ class Sk extends xs {
33275
33271
  const l = (w = e.initialConfig) != null ? w : {}, c = st({}, pb, this.config.globalConfig, ...Object.values(r)), h = st({}, c, l), u = {}, d = Object.values(Xt.Mode);
33276
33272
  ic(o).forEach(([I, E]) => {
33277
33273
  d.forEach((T) => {
33278
- (I === "PanoramaLike" && ms(T) || I === "ModelLike" && Si(T)) && (u[T] = st({}, c, ...Object.values(E), l, { _isMerged: !0 }));
33274
+ (I === "PanoramaLike" && ms(T) || I === "ModelLike" && Ti(T)) && (u[T] = st({}, c, ...Object.values(E), l, { _isMerged: !0 }));
33279
33275
  });
33280
33276
  }), ic(a).forEach(([I, E]) => {
33281
33277
  const T = u[I];
@@ -33423,7 +33419,7 @@ function hh(n, t, e) {
33423
33419
  const a = (b = n.initialConfig) != null ? b : {}, l = st({}, pb, t.globalConfig, ...Object.values(s)), c = st({}, l, a), h = {}, u = Object.values(Xt.Mode);
33424
33420
  ic(r).forEach(([w, I]) => {
33425
33421
  u.forEach((E) => {
33426
- (w === "PanoramaLike" && ms(E) || w === "ModelLike" && Si(E)) && (h[E] = st({}, l, ...Object.values(I), a, { _isMerged: !0 }));
33422
+ (w === "PanoramaLike" && ms(E) || w === "ModelLike" && Ti(E)) && (h[E] = st({}, l, ...Object.values(I), a, { _isMerged: !0 }));
33427
33423
  });
33428
33424
  }), ic(o).forEach(([w, I]) => {
33429
33425
  const E = h[w];
@@ -33632,7 +33628,7 @@ class vo {
33632
33628
  const i = (s = t == null ? void 0 : t.targetMode) != null ? s : this.five.state.mode;
33633
33629
  if (i === "Panorama") {
33634
33630
  const r = e == null ? void 0 : e.panoIndex;
33635
- if (Pi(r))
33631
+ if (Ci(r))
33636
33632
  return this;
33637
33633
  const o = this.workUtil.getObserverPosition(r), a = this.centerPosition.clone().sub(o).normalize();
33638
33634
  this.five.setState(_({
@@ -33825,7 +33821,7 @@ class vo {
33825
33821
  return !1;
33826
33822
  const e = _(_({}, this.five.getCurrentState()), t);
33827
33823
  let i = this.cache.getVisible(this, e);
33828
- return Pi(i) && (i = this.computeVisible(e).value, this.cache.setVisible(this, e, i)), i;
33824
+ return Ci(i) && (i = this.computeVisible(e).value, this.cache.setVisible(this, e, i)), i;
33829
33825
  }
33830
33826
  getUnfoldedByPanoIndex(t) {
33831
33827
  if (!this.currentVisible)
@@ -33966,7 +33962,7 @@ class vo {
33966
33962
  if (r || (r = (a = (o = this.fiveState) == null ? void 0 : o.mode) != null ? a : this.workUtil.observers.length ? "Panorama" : "ModelLike"), Array.isArray(r))
33967
33963
  return r.includes(e);
33968
33964
  if (r === "ModelLike")
33969
- return Si(e);
33965
+ return Ti(e);
33970
33966
  if (r === "PanoramaLike")
33971
33967
  return !ms(e);
33972
33968
  if (r === "all")
@@ -33978,7 +33974,7 @@ class vo {
33978
33974
  var o;
33979
33975
  const r = i();
33980
33976
  if (Ge((o = this.fiveState) == null ? void 0 : o.panoIndex) && t.entryFromModel) {
33981
- if (Si(e) && r ? this.entryFromModel = !1 : this.entryFromModel = !0, Si(e))
33977
+ if (Ti(e) && r ? this.entryFromModel = !1 : this.entryFromModel = !0, Ti(e))
33982
33978
  return !0;
33983
33979
  } else
33984
33980
  this.entryFromModel = !1;
@@ -34071,7 +34067,7 @@ class vo {
34071
34067
  // 该方法有很大优化空间,这个检测显示方法不应该挂在tagBase下,做了多次不必要计算(MinimumDistance,ScreenCenter)。
34072
34068
  computeUnfoldedByCamera() {
34073
34069
  var e, i;
34074
- if (this.entryFromModel && Si(this.five.state.mode))
34070
+ if (this.entryFromModel && Ti(this.five.state.mode))
34075
34071
  return !1;
34076
34072
  const t = this.getConfig().unfoldedConfig;
34077
34073
  if (t) {
@@ -34410,7 +34406,7 @@ const vb = 1, ug = `CSS3DObject@${vb}`, Rk = 216e-5, jk = 3e-3;
34410
34406
  class yb extends Vn {
34411
34407
  constructor(e) {
34412
34408
  var T, z, R, L, j;
34413
- if (Pi(e.cornerPoints) && Pi(e.width))
34409
+ if (Ci(e.cornerPoints) && Ci(e.width))
34414
34410
  throw new Error("cornerPoints and width cannot be both empty");
34415
34411
  const i = (T = e.container) != null ? T : document.createElement("div"), s = (z = e.cornerPoints) != null ? z : (() => {
34416
34412
  const A = e.width / 2;
@@ -35111,7 +35107,7 @@ function Zk(n, t, e) {
35111
35107
  if (L > 0)
35112
35108
  return L;
35113
35109
  }();
35114
- m = ht({
35110
+ m = ut({
35115
35111
  targets: z.slice(0, R).filter(Ge),
35116
35112
  autoplay: !1,
35117
35113
  duration: 400,
@@ -35120,7 +35116,7 @@ function Zk(n, t, e) {
35120
35116
  opacity: [0, 1],
35121
35117
  translateX: [4, 0],
35122
35118
  translateY: [10, 0],
35123
- delay: ht.stagger(50),
35119
+ delay: ut.stagger(50),
35124
35120
  easing: "easeInOutCubic"
35125
35121
  }), a && m.seek(m.duration);
35126
35122
  }
@@ -37288,7 +37284,7 @@ var dl = fT, sc = {}, pT = {
37288
37284
  return D ? "Symbol(src)_1." + D : "";
37289
37285
  }(), et = Xe.toString, at = nt.hasOwnProperty, Tt = nt.toString, di = RegExp(
37290
37286
  "^" + et.call(at).replace(O, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
37291
- ), Dt = me ? re.Buffer : void 0, qt = re.Symbol, Mi = re.Uint8Array, ut = de(Object.getPrototypeOf, Object), Jt = Object.create, Kt = nt.propertyIsEnumerable, bo = We.splice, Ss = Object.getOwnPropertySymbols, Un = Dt ? Dt.isBuffer : void 0, ur = de(Object.keys, Object), Wn = W(re, "DataView"), Oi = W(re, "Map"), Ii = W(re, "Promise"), Qn = W(re, "Set"), Xn = W(re, "WeakMap"), $i = W(Object, "create"), yn = ai(Wn), bn = ai(Oi), Ts = ai(Ii), Ds = ai(Qn), Yn = ai(Xn), en = qt ? qt.prototype : void 0, dr = en ? en.valueOf : void 0;
37287
+ ), Dt = me ? re.Buffer : void 0, qt = re.Symbol, Ii = re.Uint8Array, dt = de(Object.getPrototypeOf, Object), Jt = Object.create, Kt = nt.propertyIsEnumerable, bo = We.splice, Ss = Object.getOwnPropertySymbols, Un = Dt ? Dt.isBuffer : void 0, ur = de(Object.keys, Object), Wn = W(re, "DataView"), Oi = W(re, "Map"), Ei = W(re, "Promise"), Qn = W(re, "Set"), Xn = W(re, "WeakMap"), $i = W(Object, "create"), yn = ai(Wn), bn = ai(Oi), Ts = ai(Ei), Ds = ai(Qn), Yn = ai(Xn), en = qt ? qt.prototype : void 0, dr = en ? en.valueOf : void 0;
37292
37288
  function Hi(D) {
37293
37289
  var G = -1, ne = D ? D.length : 0;
37294
37290
  for (this.clear(); ++G < ne; ) {
@@ -37487,7 +37483,7 @@ var dl = fT, sc = {}, pT = {
37487
37483
  }
37488
37484
  function Cn(D) {
37489
37485
  var G = new D.constructor(D.byteLength);
37490
- return new Mi(G).set(new Mi(D)), G;
37486
+ return new Ii(G).set(new Ii(D)), G;
37491
37487
  }
37492
37488
  function Ui(D, G) {
37493
37489
  var ne = G ? Cn(D.buffer) : D.buffer;
@@ -37501,7 +37497,7 @@ var dl = fT, sc = {}, pT = {
37501
37497
  var G = new D.constructor(D.source, B.exec(D));
37502
37498
  return G.lastIndex = D.lastIndex, G;
37503
37499
  }
37504
- function Ei(D, G, ne) {
37500
+ function xi(D, G, ne) {
37505
37501
  var fe = G ? ne(Oe(D), !0) : Oe(D);
37506
37502
  return Ce(fe, le, new D.constructor());
37507
37503
  }
@@ -37541,7 +37537,7 @@ var dl = fT, sc = {}, pT = {
37541
37537
  return ri(ne) ? ne : void 0;
37542
37538
  }
37543
37539
  var ee = Ss ? de(Ss, Object) : Bc, ae = Kn;
37544
- (Wn && ae(new Wn(new ArrayBuffer(1))) != z || Oi && ae(new Oi()) != d || Ii && ae(Ii.resolve()) != g || Qn && ae(new Qn()) != b || Xn && ae(new Xn()) != E) && (ae = function(D) {
37540
+ (Wn && ae(new Wn(new ArrayBuffer(1))) != z || Oi && ae(new Oi()) != d || Ei && ae(Ei.resolve()) != g || Qn && ae(new Qn()) != b || Xn && ae(new Xn()) != E) && (ae = function(D) {
37545
37541
  var G = Tt.call(D), ne = G == m ? D.constructor : void 0, fe = ne ? ai(ne) : void 0;
37546
37542
  if (fe)
37547
37543
  switch (fe) {
@@ -37563,7 +37559,7 @@ var dl = fT, sc = {}, pT = {
37563
37559
  return G && typeof D[0] == "string" && at.call(D, "index") && (ne.index = D.index, ne.input = D.input), ne;
37564
37560
  }
37565
37561
  function je(D) {
37566
- return typeof D.constructor == "function" && !oi(D) ? vr(ut(D)) : {};
37562
+ return typeof D.constructor == "function" && !oi(D) ? vr(dt(D)) : {};
37567
37563
  }
37568
37564
  function Ye(D, G, ne, fe) {
37569
37565
  var Qe = D.constructor;
@@ -37593,7 +37589,7 @@ var dl = fT, sc = {}, pT = {
37593
37589
  case v:
37594
37590
  return Mn(D);
37595
37591
  case b:
37596
- return Ei(D, fe, ne);
37592
+ return xi(D, fe, ne);
37597
37593
  case I:
37598
37594
  return Io(D);
37599
37595
  }
@@ -37736,12 +37732,12 @@ var rc = {}, gT = {
37736
37732
  ne[++G] = fe;
37737
37733
  }), ne;
37738
37734
  }
37739
- var Tt = Array.prototype, di = Function.prototype, Dt = Object.prototype, qt = le["__core-js_shared__"], Mi = di.toString, ut = Dt.hasOwnProperty, Jt = function() {
37735
+ var Tt = Array.prototype, di = Function.prototype, Dt = Object.prototype, qt = le["__core-js_shared__"], Ii = di.toString, dt = Dt.hasOwnProperty, Jt = function() {
37740
37736
  var D = /[^.]+$/.exec(qt && qt.keys && qt.keys.IE_PROTO || "");
37741
37737
  return D ? "Symbol(src)_1." + D : "";
37742
37738
  }(), Kt = Dt.toString, bo = RegExp(
37743
- "^" + Mi.call(ut).replace(se, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
37744
- ), Ss = Ce ? le.Buffer : void 0, Un = le.Symbol, ur = le.Uint8Array, Wn = Dt.propertyIsEnumerable, Oi = Tt.splice, Ii = Un ? Un.toStringTag : void 0, Qn = Object.getOwnPropertySymbols, Xn = Ss ? Ss.isBuffer : void 0, $i = et(Object.keys, Object), yn = ee(le, "DataView"), bn = ee(le, "Map"), Ts = ee(le, "Promise"), Ds = ee(le, "Set"), Yn = ee(le, "WeakMap"), en = ee(Object, "create"), dr = ai(yn), Hi = ai(bn), Zn = ai(Ts), Ao = ai(Ds), wo = ai(Yn), Ls = Un ? Un.prototype : void 0, An = Ls ? Ls.valueOf : void 0;
37739
+ "^" + Ii.call(dt).replace(se, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
37740
+ ), Ss = Ce ? le.Buffer : void 0, Un = le.Symbol, ur = le.Uint8Array, Wn = Dt.propertyIsEnumerable, Oi = Tt.splice, Ei = Un ? Un.toStringTag : void 0, Qn = Object.getOwnPropertySymbols, Xn = Ss ? Ss.isBuffer : void 0, $i = et(Object.keys, Object), yn = ee(le, "DataView"), bn = ee(le, "Map"), Ts = ee(le, "Promise"), Ds = ee(le, "Set"), Yn = ee(le, "WeakMap"), en = ee(Object, "create"), dr = ai(yn), Hi = ai(bn), Zn = ai(Ts), Ao = ai(Ds), wo = ai(Yn), Ls = Un ? Un.prototype : void 0, An = Ls ? Ls.valueOf : void 0;
37745
37741
  function _t(D) {
37746
37742
  var G = -1, ne = D == null ? 0 : D.length;
37747
37743
  for (this.clear(); ++G < ne; ) {
@@ -37762,11 +37758,11 @@ var rc = {}, gT = {
37762
37758
  var ne = G[D];
37763
37759
  return ne === i ? void 0 : ne;
37764
37760
  }
37765
- return ut.call(G, D) ? G[D] : void 0;
37761
+ return dt.call(G, D) ? G[D] : void 0;
37766
37762
  }
37767
37763
  function mr(D) {
37768
37764
  var G = this.__data__;
37769
- return en ? G[D] !== void 0 : ut.call(G, D);
37765
+ return en ? G[D] !== void 0 : dt.call(G, D);
37770
37766
  }
37771
37767
  function gr(D, G) {
37772
37768
  var ne = this.__data__;
@@ -37874,7 +37870,7 @@ var rc = {}, gT = {
37874
37870
  function $n(D, G) {
37875
37871
  var ne = Ar(D), fe = !ne && Ha(D), Qe = !ne && !fe && wr(D), Ne = !ne && !fe && !Qe && Wa(D), $e = ne || fe || Qe || Ne, it = $e ? We(D.length, String) : [], Lt = it.length;
37876
37872
  for (var rt in D)
37877
- (G || ut.call(D, rt)) && !($e && // Safari 9 has enumerable `arguments.length` in strict mode.
37873
+ (G || dt.call(D, rt)) && !($e && // Safari 9 has enumerable `arguments.length` in strict mode.
37878
37874
  (rt == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
37879
37875
  Qe && (rt == "offset" || rt == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
37880
37876
  Ne && (rt == "buffer" || rt == "byteLength" || rt == "byteOffset") || // Skip index properties.
@@ -37892,15 +37888,15 @@ var rc = {}, gT = {
37892
37888
  return Ar(D) ? fe : de(fe, ne(D));
37893
37889
  }
37894
37890
  function Ui(D) {
37895
- return D == null ? D === void 0 ? j : b : Ii && Ii in Object(D) ? ae(D) : oi(D);
37891
+ return D == null ? D === void 0 ? j : b : Ei && Ei in Object(D) ? ae(D) : oi(D);
37896
37892
  }
37897
37893
  function es(D) {
37898
37894
  return sn(D) && Ui(D) == a;
37899
37895
  }
37900
37896
  function Mn(D, G, ne, fe, Qe) {
37901
- return D === G ? !0 : D == null || G == null || !sn(D) && !sn(G) ? D !== D && G !== G : Ei(D, G, ne, fe, Mn, Qe);
37897
+ return D === G ? !0 : D == null || G == null || !sn(D) && !sn(G) ? D !== D && G !== G : xi(D, G, ne, fe, Mn, Qe);
37902
37898
  }
37903
- function Ei(D, G, ne, fe, Qe, Ne) {
37899
+ function xi(D, G, ne, fe, Qe, Ne) {
37904
37900
  var $e = Ar(D), it = Ar(G), Lt = $e ? l : je(D), rt = it ? l : je(G);
37905
37901
  Lt = Lt == a ? w : Lt, rt = rt == a ? w : rt;
37906
37902
  var ei = Lt == w, pi = rt == w, Vt = Lt == rt;
@@ -37912,7 +37908,7 @@ var rc = {}, gT = {
37912
37908
  if (Vt && !ei)
37913
37909
  return Ne || (Ne = new xt()), $e || Wa(D) ? ts(D, G, ne, fe, Qe, Ne) : Eo(D, G, Lt, ne, fe, Qe, Ne);
37914
37910
  if (!(ne & s)) {
37915
- var ti = ei && ut.call(D, "__wrapped__"), Wt = pi && ut.call(G, "__wrapped__");
37911
+ var ti = ei && dt.call(D, "__wrapped__"), Wt = pi && dt.call(G, "__wrapped__");
37916
37912
  if (ti || Wt) {
37917
37913
  var is = ti ? D.value() : D, In = Wt ? G.value() : G;
37918
37914
  return Ne || (Ne = new xt()), Qe(is, In, ne, fe, Ne);
@@ -37934,7 +37930,7 @@ var rc = {}, gT = {
37934
37930
  return $i(D);
37935
37931
  var G = [];
37936
37932
  for (var ne in Object(D))
37937
- ut.call(D, ne) && ne != "constructor" && G.push(ne);
37933
+ dt.call(D, ne) && ne != "constructor" && G.push(ne);
37938
37934
  return G;
37939
37935
  }
37940
37936
  function ts(D, G, ne, fe, Qe, Ne) {
@@ -38011,7 +38007,7 @@ var rc = {}, gT = {
38011
38007
  return !1;
38012
38008
  for (var pi = Lt; pi--; ) {
38013
38009
  var Vt = it[pi];
38014
- if (!($e ? Vt in G : ut.call(G, Vt)))
38010
+ if (!($e ? Vt in G : dt.call(G, Vt)))
38015
38011
  return !1;
38016
38012
  }
38017
38013
  var ti = Ne.get(D);
@@ -38048,14 +38044,14 @@ var rc = {}, gT = {
38048
38044
  return Io(ne) ? ne : void 0;
38049
38045
  }
38050
38046
  function ae(D) {
38051
- var G = ut.call(D, Ii), ne = D[Ii];
38047
+ var G = dt.call(D, Ei), ne = D[Ei];
38052
38048
  try {
38053
- D[Ii] = void 0;
38049
+ D[Ei] = void 0;
38054
38050
  var fe = !0;
38055
38051
  } catch (Ne) {
38056
38052
  }
38057
38053
  var Qe = Kt.call(D);
38058
- return fe && (G ? D[Ii] = ne : delete D[Ii]), Qe;
38054
+ return fe && (G ? D[Ei] = ne : delete D[Ei]), Qe;
38059
38055
  }
38060
38056
  var Me = Qn ? function(D) {
38061
38057
  return D == null ? [] : (D = Object(D), ge(Qn(D), function(G) {
@@ -38099,7 +38095,7 @@ var rc = {}, gT = {
38099
38095
  function ai(D) {
38100
38096
  if (D != null) {
38101
38097
  try {
38102
- return Mi.call(D);
38098
+ return Ii.call(D);
38103
38099
  } catch (G) {
38104
38100
  }
38105
38101
  try {
@@ -38115,7 +38111,7 @@ var rc = {}, gT = {
38115
38111
  var Ha = es(function() {
38116
38112
  return arguments;
38117
38113
  }()) ? es : function(D) {
38118
- return sn(D) && ut.call(D, "callee") && !Wn.call(D, "callee");
38114
+ return sn(D) && dt.call(D, "callee") && !Wn.call(D, "callee");
38119
38115
  }, Ar = Array.isArray;
38120
38116
  function ko(D) {
38121
38117
  return D != null && So(D.length) && !Ga(D);
@@ -39062,7 +39058,7 @@ function BT(n) {
39062
39058
  "transition-timing-function",
39063
39059
  /*timingFunction*/
39064
39060
  I[0]
39065
- ), o && wi(o.update) && E[0] & /*pageWindowWidth*/
39061
+ ), o && Pi(o.update) && E[0] & /*pageWindowWidth*/
39066
39062
  2048 && o.update.call(null, {
39067
39063
  thresholdProvider: (
39068
39064
  /*swipeable_function*/
@@ -44491,7 +44487,7 @@ function F7(n, t, e) {
44491
44487
  });
44492
44488
  }
44493
44489
  const R = (L) => {
44494
- c.entryFromModel && Si(c.five.state.mode) ? (L.stopPropagation(), c.find({ targetMode: "Panorama" })) : h.emit("click", { event: L, target: "TagContent", tag: c });
44490
+ c.entryFromModel && Ti(c.five.state.mode) ? (L.stopPropagation(), c.find({ targetMode: "Panorama" })) : h.emit("click", { event: L, target: "TagContent", tag: c });
44495
44491
  };
44496
44492
  return n.$$set = (L) => {
44497
44493
  "tag" in L && e(0, c = L.tag), "hooks" in L && e(1, h = L.hooks), "rendererMap" in L && e(2, u = L.rendererMap), "contentTypeMap" in L && e(3, d = L.contentTypeMap), "state" in L && e(6, p = L.state), "mediaStore" in L && e(7, m = L.mediaStore), "temporaryState" in L && e(8, g = L.temporaryState);
@@ -44556,7 +44552,7 @@ class jb extends vo {
44556
44552
  f(this, "loadModel", () => $(this, null, function* () {
44557
44553
  var o, a;
44558
44554
  const e = this.data.modelUrl;
44559
- if (!e || (this.loading = !0, yield Di(this.five), !this.plugin.tags.includes(this)))
44555
+ if (!e || (this.loading = !0, yield Li(this.five), !this.plugin.tags.includes(this)))
44560
44556
  return;
44561
44557
  const i = bb(e).then((l) => $(this, null, function* () {
44562
44558
  var u;
@@ -44648,7 +44644,7 @@ function Jd(n, t, e) {
44648
44644
  }
44649
44645
  n.quaternion.copy(t);
44650
44646
  }
44651
- class Oa extends Ci {
44647
+ class Oa extends Mi {
44652
44648
  constructor(e, i) {
44653
44649
  var s, r;
44654
44650
  super();
@@ -44905,7 +44901,7 @@ function Q7(n, t, e) {
44905
44901
  }
44906
44902
  function X7(n) {
44907
44903
  let t = n.pose.latitude, e = n.pose.longitude;
44908
- if (Pi(t) || Pi(e)) {
44904
+ if (Ci(t) || Ci(e)) {
44909
44905
  const i = n.matrix.elements;
44910
44906
  t = Math.asin(Q7(i[9], -1, 1)), Math.abs(i[9]) < 0.9999999 ? e = Xh(Math.atan2(i[8], i[10])) : e = Xh(Math.atan2(-i[2], i[0]));
44911
44907
  }
@@ -47303,7 +47299,7 @@ class Nb extends xs {
47303
47299
  m,
47304
47300
  g
47305
47301
  );
47306
- w.scaleController = T.helperController, r.push(() => T.dispose()), Di(this.five).then(() => {
47302
+ w.scaleController = T.helperController, r.push(() => T.dispose()), Li(this.five).then(() => {
47307
47303
  var z, R;
47308
47304
  if (e.isCSS3DObjectPlus) {
47309
47305
  const L = e;
@@ -47428,7 +47424,7 @@ function I6(n) {
47428
47424
  const e = n[n.length - 1], i = n[0];
47429
47425
  return e.equals(i) || t.push(i), t;
47430
47426
  }
47431
- class Gb extends Ci {
47427
+ class Gb extends Mi {
47432
47428
  constructor(e) {
47433
47429
  super();
47434
47430
  f(this, "name", "PolylineBaseMesh");
@@ -47517,7 +47513,7 @@ class vs extends Gb {
47517
47513
  }
47518
47514
  }
47519
47515
  const Ph = /* @__PURE__ */ new Map();
47520
- class Ki extends Ci {
47516
+ class Ki extends Mi {
47521
47517
  constructor(e, i) {
47522
47518
  var s, r;
47523
47519
  super();
@@ -47542,9 +47538,9 @@ class Ki extends Ci {
47542
47538
  const s = i != null ? i : this;
47543
47539
  return s.updateMatrixWorld(), n2(s, e);
47544
47540
  });
47545
- e != null && e.id && (this.uuid = e.id), this.config = _({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e && (Ge((s = this.config) == null ? void 0 : s.occlusionMode) && (e.style = he(_({}, e.style), { occlusionMode: this.config.occlusionMode })), Ge((r = this.config) == null ? void 0 : r.occlusionVisibility) && (e.style = he(_({}, e.style), { occlusionVisibility: this.config.occlusionVisibility }))), dt("esc", () => {
47541
+ e != null && e.id && (this.uuid = e.id), this.config = _({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e && (Ge((s = this.config) == null ? void 0 : s.occlusionMode) && (e.style = he(_({}, e.style), { occlusionMode: this.config.occlusionMode })), Ge((r = this.config) == null ? void 0 : r.occlusionVisibility) && (e.style = he(_({}, e.style), { occlusionVisibility: this.config.occlusionVisibility }))), ht("esc", () => {
47546
47542
  this.stopCreating();
47547
- }), this.config.defaultAction && (dt("backspace, delete", () => {
47543
+ }), this.config.defaultAction && (ht("backspace, delete", () => {
47548
47544
  this.selected && this.delete();
47549
47545
  }), this.on("click", () => {
47550
47546
  var o;
@@ -47552,7 +47548,7 @@ class Ki extends Ci {
47552
47548
  var l;
47553
47549
  a instanceof Ki && a !== this && ((l = a._editor) == null || l.disable());
47554
47550
  }));
47555
- }), dt("esc", () => {
47551
+ }), ht("esc", () => {
47556
47552
  this.selected && this.unselect();
47557
47553
  }));
47558
47554
  }
@@ -47645,7 +47641,7 @@ class Ki extends Ci {
47645
47641
  });
47646
47642
  }
47647
47643
  }
47648
- class jc extends Ci {
47644
+ class jc extends Mi {
47649
47645
  constructor(e) {
47650
47646
  super();
47651
47647
  f(this, "hooks", new St());
@@ -48573,7 +48569,7 @@ class B6 extends y.BufferGeometry {
48573
48569
  return e.length;
48574
48570
  }
48575
48571
  }
48576
- class $s extends Ci {
48572
+ class $s extends Mi {
48577
48573
  constructor(e) {
48578
48574
  super();
48579
48575
  f(this, "name", "PrismMesh");
@@ -48583,7 +48579,7 @@ class $s extends Ci {
48583
48579
  f(this, "activeEaseInAnimations", /* @__PURE__ */ new Map());
48584
48580
  f(this, "_geometryInfoCache");
48585
48581
  f(this, "geometryInfoNeedUpdate", !0);
48586
- f(this, "edgeMesh", new Li());
48582
+ f(this, "edgeMesh", new wi());
48587
48583
  f(this, "prismMesh", new Tc());
48588
48584
  f(this, "paramStyle");
48589
48585
  this.five = e == null ? void 0 : e.five, this.prismMesh.name = "PrismMesh", this.prismMesh.geometry = new _6(), this.edgeMesh.name = "EdgeMesh", this.addIfNotExists(this.prismMesh, this.edgeMesh), e && Object.keys(e).some((i) => i !== "five") && this.setPoints(e), this.setStyle(e);
@@ -48936,7 +48932,7 @@ function Qb(n, t, e) {
48936
48932
  return $(this, null, function* () {
48937
48933
  const i = n.parent, s = new gu(n.style);
48938
48934
  i.add(s), yield nf(s, t, e).finished, i.remove(s), n.setPoints({ points: s.points });
48939
- const r = new Li();
48935
+ const r = new wi();
48940
48936
  r.name = "LineHelper", i.add(r);
48941
48937
  const o = s.points.at(-1), a = bi(s.points), l = o.clone().add(a.clone().multiplyScalar(100)), c = o.clone().sub(a.clone().multiplyScalar(100));
48942
48938
  return r.setPoints([l, c]), t.enable(), new Promise((h, u) => {
@@ -49325,7 +49321,7 @@ class Ca extends Jb {
49325
49321
  const a = e != null ? e : {}, { normal: i, radius: s, center: r } = a, o = ns(a, ["normal", "radius", "center"]);
49326
49322
  super(o);
49327
49323
  f(this, "edgeLine");
49328
- this.edgeLine = new Li(o), this.add(this.edgeLine), i && s && r && this.setPoints({ normal: i, radius: s, center: r });
49324
+ this.edgeLine = new wi(o), this.add(this.edgeLine), i && s && r && this.setPoints({ normal: i, radius: s, center: r });
49329
49325
  }
49330
49326
  setPoints(...e) {
49331
49327
  super.setPoints(...e);
@@ -49425,7 +49421,7 @@ function of(n, t) {
49425
49421
  t.on("select", l), t.on("intersectionUpdate", c), t.on("disable", u);
49426
49422
  });
49427
49423
  }
49428
- class wu extends Ci {
49424
+ class wu extends Mi {
49429
49425
  constructor(e) {
49430
49426
  super();
49431
49427
  f(this, "bottomCircle");
@@ -49572,7 +49568,7 @@ function $b(n, t) {
49572
49568
  return $(this, null, function* () {
49573
49569
  const e = n.parent;
49574
49570
  yield of(n.bottomCircle, t);
49575
- const i = new Li();
49571
+ const i = new wi();
49576
49572
  i.name = "LineHelper", e.add(i);
49577
49573
  const s = t.position.point, r = n.normal.clone().normalize(), o = s.clone().add(r.clone().multiplyScalar(100)), a = s.clone().sub(r.clone().multiplyScalar(100));
49578
49574
  return i.setPoints([o, a]), t.enable(), new Promise((l, c) => {
@@ -49786,7 +49782,7 @@ function tA(n, t, e) {
49786
49782
  (v = e == null ? void 0 : e.onPointPlaced) == null || v.call(e);
49787
49783
  }
49788
49784
  })), r.remove(o), n.setPoints({ points: o.points });
49789
- const a = new Li(), l = bi(n.bottomPositions), c = Et(...n.bottomPositions), h = c.clone().add(l.clone().multiplyScalar(100)), u = c.clone().sub(l.clone().multiplyScalar(100));
49785
+ const a = new wi(), l = bi(n.bottomPositions), c = Et(...n.bottomPositions), h = c.clone().add(l.clone().multiplyScalar(100)), u = c.clone().sub(l.clone().multiplyScalar(100));
49790
49786
  a.setPoints([h, u]), r.add(a), t.enable();
49791
49787
  const d = (v) => {
49792
49788
  var b;
@@ -49877,9 +49873,9 @@ function iA(n, t, e) {
49877
49873
  const i = n.parent;
49878
49874
  if (!i)
49879
49875
  return;
49880
- const { promise: s, resolve: r, reject: o } = cr(), a = (R = e == null ? void 0 : e.limit) != null ? R : "none", l = new Li(n.style);
49876
+ const { promise: s, resolve: r, reject: o } = cr(), a = (R = e == null ? void 0 : e.limit) != null ? R : "none", l = new wi(n.style);
49881
49877
  i.add(l);
49882
- const c = new Li(he(_({}, n.style), { dashed: !0, lengthEnable: !1 }));
49878
+ const c = new wi(he(_({}, n.style), { dashed: !0, lengthEnable: !1 }));
49883
49879
  i.add(c), t.enable();
49884
49880
  const h = [];
49885
49881
  let u, d, p;
@@ -49951,7 +49947,7 @@ const Br = class extends St {
49951
49947
  });
49952
49948
  this.five = e, this.theme = i, this.config = _({
49953
49949
  magnifier: { width: 190, height: 190, scale: 2, dragEnabled: !0 }
49954
- }, s), this.group = new Ci(), this.group.name = "Sculpt", this.group.__sculpt__ = this, this.group.__five__ = this.five, e.scene.add(this.group), Br.modules.init(e, this.config), dt("ctrl+z, command+z", this.undo), dt("ctrl+shift+z, command+shift+z", this.redo), Br.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: r, origDomEvent: o }) => {
49950
+ }, s), this.group = new Mi(), this.group.name = "Sculpt", this.group.__sculpt__ = this, this.group.__five__ = this.five, e.scene.add(this.group), Br.modules.init(e, this.config), ht("ctrl+z, command+z", this.undo), ht("ctrl+shift+z, command+shift+z", this.redo), Br.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: r, origDomEvent: o }) => {
49955
49951
  var l;
49956
49952
  const a = Hb((l = r == null ? void 0 : r[0]) == null ? void 0 : l.object, (c) => c.isSculptObject);
49957
49953
  return a && !a.editing ? this.emit("click", o, a) : !1;
@@ -49975,7 +49971,7 @@ const Br = class extends St {
49975
49971
  * @description: 销毁实例:清空内容、解绑全局快捷键、把 group 从场景移除
49976
49972
  */
49977
49973
  destroy() {
49978
- this.clear(), dt.unbind("ctrl+z, command+z", this.undo), dt.unbind("ctrl+shift+z, command+shift+z", this.redo), this.group.removeFromParent();
49974
+ this.clear(), ht.unbind("ctrl+z, command+z", this.undo), ht.unbind("ctrl+shift+z, command+shift+z", this.redo), this.group.removeFromParent();
49979
49975
  }
49980
49976
  /**
49981
49977
  * @description: 加载数据 展示
@@ -50202,7 +50198,7 @@ class Z6 extends vo {
50202
50198
  this.computeRenderType() === "Mesh" ? (this.initialSculpt(), ((s = (i = this.data.mediaData) == null ? void 0 : i[0]) == null ? void 0 : s.type) === "Video" ? this.renderVideoPlane() : ((o = (r = this.data.mediaData) == null ? void 0 : r[0]) == null ? void 0 : o.type) === "Image" ? this.renderImagePlane() : this.renderEmptyPlane()) : ((a = this.tag3DContentSvelte) == null || a.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }), (l = this.tag3DContentSvelte) != null && l.css3DInstance && (this.tag3DContentSvelte.css3DInstance.visible = this.visible, this.five.needsRender = !0)), this.syncEditorAuxiliaryVisibility();
50203
50199
  }
50204
50200
  set(e, i = !0) {
50205
- super.set(e, i), Di(this.five).then(() => {
50201
+ super.set(e, i), Li(this.five).then(() => {
50206
50202
  this.tag3DContentSvelte && (e.data ? this.tag3DContentSvelte.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }) : e.position && this.loadModel());
50207
50203
  });
50208
50204
  }
@@ -50249,7 +50245,7 @@ class Z6 extends vo {
50249
50245
  loadModel() {
50250
50246
  return $(this, null, function* () {
50251
50247
  var i, s, r, o, a, l;
50252
- if (yield Di(this.five), this.computeRenderType() === "Mesh")
50248
+ if (yield Li(this.five), this.computeRenderType() === "Mesh")
50253
50249
  this.initialSculpt(), ((s = (i = this.data.mediaData) == null ? void 0 : i[0]) == null ? void 0 : s.type) === "Video" ? this.renderVideoPlane() : ((o = (r = this.data.mediaData) == null ? void 0 : r[0]) == null ? void 0 : o.type) === "Image" ? this.renderImagePlane() : this.renderEmptyPlane();
50254
50250
  else {
50255
50251
  ka(this.five);
@@ -51338,7 +51334,7 @@ const Ze = class extends vo {
51338
51334
  const i = Ze.sharedMeshRegistry.get(this._sharedMeshKey);
51339
51335
  if (!i)
51340
51336
  return;
51341
- const o = { opacity: this.buildStyleForMaterial().opacity }, a = (h = e == null ? void 0 : e.duration) != null ? h : 300, l = (u = e == null ? void 0 : e.loop) != null ? u : 4, c = ht({
51337
+ const o = { opacity: this.buildStyleForMaterial().opacity }, a = (h = e == null ? void 0 : e.duration) != null ? h : 300, l = (u = e == null ? void 0 : e.loop) != null ? u : 4, c = ut({
51342
51338
  targets: o,
51343
51339
  opacity: [0, 1],
51344
51340
  duration: a,
@@ -51812,16 +51808,16 @@ const Ze = class extends vo {
51812
51808
  }), Ze.maskTextureCache.clear();
51813
51809
  }
51814
51810
  };
51815
- let ki = Ze;
51811
+ let Si = Ze;
51816
51812
  /**
51817
51813
  * Mask 纹理缓存(静态,所有 MaskTag 实例共享)
51818
51814
  * key: mask URL 或 canvas 的 symbol, value: { texture: THREE.Texture, refCount: number, abortController?: AbortController }
51819
51815
  */
51820
- f(ki, "maskTextureCache", /* @__PURE__ */ new Map()), /**
51816
+ f(Si, "maskTextureCache", /* @__PURE__ */ new Map()), /**
51821
51817
  * Canvas 到 Symbol 的映射(用于缓存 canvas 纹理)
51822
51818
  */
51823
- f(ki, "canvasSymbolMap", /* @__PURE__ */ new WeakMap()), /** 同点位共用 mesh:key = meshKey(panoIndex + maskKey), value = 共享数据 */
51824
- f(ki, "sharedMeshRegistry", /* @__PURE__ */ new Map());
51819
+ f(Si, "canvasSymbolMap", /* @__PURE__ */ new WeakMap()), /** 同点位共用 mesh:key = meshKey(panoIndex + maskKey), value = 共享数据 */
51820
+ f(Si, "sharedMeshRegistry", /* @__PURE__ */ new Map());
51825
51821
  function tD(n) {
51826
51822
  ze(n, "svelte-cksy1a", ".audio-tag-point.svelte-cksy1a{position:relative;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;padding:0.25rem;border-radius:100%;border:0.0625rem solid rgba(255, 255, 255, 0.6);background:linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));box-shadow:inset 0 0 0.25rem 0 rgba(255, 255, 255, 0.3);display:flex;align-items:center;justify-content:center}");
51827
51823
  }
@@ -51839,19 +51835,19 @@ function iD(n) {
51839
51835
  m(o, a) {
51840
51836
  Z(o, t, a), ve(e, t, null), i = !0, s || (r = [
51841
51837
  _e(t, "click", function() {
51842
- wi(
51838
+ Pi(
51843
51839
  /*handlePointClick*/
51844
51840
  n[2]
51845
51841
  ) && n[2].apply(this, arguments);
51846
51842
  }),
51847
51843
  _e(t, "pointerenter", function() {
51848
- wi(
51844
+ Pi(
51849
51845
  /*handleMouseEnter*/
51850
51846
  n[3]
51851
51847
  ) && n[3].apply(this, arguments);
51852
51848
  }),
51853
51849
  _e(t, "pointerleave", function() {
51854
- wi(
51850
+ Pi(
51855
51851
  /*handleMouseLeave*/
51856
51852
  n[4]
51857
51853
  ) && n[4].apply(this, arguments);
@@ -52297,7 +52293,7 @@ function dD(n, t, e) {
52297
52293
  800
52298
52294
  );
52299
52295
  }, m = (X) => {
52300
- d || (h.entryFromModel && Si(h.five.state.mode) ? h.find({ targetMode: "Panorama" }).then(() => h.unfoldAndFoldOthers()) : l.emit("click", { event: X, target: "TagPoint", tag: h }));
52296
+ d || (h.entryFromModel && Ti(h.five.state.mode) ? h.find({ targetMode: "Panorama" }).then(() => h.unfoldAndFoldOthers()) : l.emit("click", { event: X, target: "TagPoint", tag: h }));
52301
52297
  }, g = (() => h.contentType === "Text" && h.data.appearance === "plane" ? 500 : 800)();
52302
52298
  let { tagPointClickHelper: v = null } = t, { handleMouseEnter: b = () => {
52303
52299
  } } = t, { handleMouseLeave: w = () => {
@@ -52738,7 +52734,7 @@ function OD(n) {
52738
52734
  },
52739
52735
  m(p, m) {
52740
52736
  Z(p, t, m), V(t, e), ve(i, e, null), V(t, s), V(t, r), V(r, o), V(r, a), V(r, l), V(l, c), h = !0, u || (d = _e(t, "click", oy(function() {
52741
- wi(
52737
+ Pi(
52742
52738
  /*onClick*/
52743
52739
  n[3]
52744
52740
  ) && n[3].apply(this, arguments);
@@ -53510,16 +53506,16 @@ function XD(n, t, e) {
53510
53506
  201326594 && ie(), n.$$.dirty[0] & /*audioPlaying, audioDuration*/
53511
53507
  134217730 && Ce(), n.$$.dirty[0] & /*isAudioTag, isMarketingTag, tag*/
53512
53508
  268 && e(33, u = (() => {
53513
- var Xe, nt, qe, Ke, et, at, Tt, di, Dt, qt, Mi;
53509
+ var Xe, nt, qe, Ke, et, at, Tt, di, Dt, qt, Ii;
53514
53510
  if (s || i)
53515
53511
  return null;
53516
53512
  if (S.data.mediaData && S.data.mediaData.length > 0) {
53517
- const ut = S.data.mediaData[0];
53518
- if (ut.type === "Video") {
53519
- if (ut.videoCoverUrl)
53520
- return ut.videoCoverUrl;
53521
- if (ut.url) {
53522
- const Jt = ut.url.toLowerCase();
53513
+ const dt = S.data.mediaData[0];
53514
+ if (dt.type === "Video") {
53515
+ if (dt.videoCoverUrl)
53516
+ return dt.videoCoverUrl;
53517
+ if (dt.url) {
53518
+ const Jt = dt.url.toLowerCase();
53523
53519
  if (hu(Jt)) {
53524
53520
  const Kt = ub(Jt);
53525
53521
  if (Kt)
@@ -53534,9 +53530,9 @@ function XD(n, t, e) {
53534
53530
  }
53535
53531
  }
53536
53532
  if (S.contentType === "Panorama")
53537
- return (Mi = (Tt = (qe = (nt = (Xe = S.data.mediaData) == null ? void 0 : Xe[0]) == null ? void 0 : nt.cube) == null ? void 0 : qe.front) != null ? Tt : (at = (et = (Ke = S.data.mediaData) == null ? void 0 : Ke[0]) == null ? void 0 : et.thumbnail) == null ? void 0 : at.split("?")[0]) != null ? Mi : (qt = (Dt = (di = S.data.mediaData) == null ? void 0 : di[0]) == null ? void 0 : Dt.url) == null ? void 0 : qt.split("?")[0];
53538
- if (ut.url || ut.thumbnail)
53539
- return ut.url || ut.thumbnail;
53533
+ return (Ii = (Tt = (qe = (nt = (Xe = S.data.mediaData) == null ? void 0 : Xe[0]) == null ? void 0 : nt.cube) == null ? void 0 : qe.front) != null ? Tt : (at = (et = (Ke = S.data.mediaData) == null ? void 0 : Ke[0]) == null ? void 0 : et.thumbnail) == null ? void 0 : at.split("?")[0]) != null ? Ii : (qt = (Dt = (di = S.data.mediaData) == null ? void 0 : di[0]) == null ? void 0 : Dt.url) == null ? void 0 : qt.split("?")[0];
53534
+ if (dt.url || dt.thumbnail)
53535
+ return dt.url || dt.thumbnail;
53540
53536
  }
53541
53537
  return S.data.imageUrl;
53542
53538
  })()), n.$$.dirty[0] & /*config, tag*/
@@ -55353,7 +55349,7 @@ function bL(n, t, e) {
55353
55349
  var De, ge, de;
55354
55350
  return ((ge = (De = m.style) == null ? void 0 : De.point) == null ? void 0 : ge.enabled) === !1 || ((de = v.get(m.contentType)) == null ? void 0 : de.usePoint) === !1 || m.contentType === "Sticker" || m.contentType === "Link" || m.contentType === "VRLink" || m.contentType === "PanoLink" ? !1 : m.contentType === "Panorama" ? !0 : m.contentType === "Audio" && m.data.appearance === "plane" ? m.isPopoverConfigEnabled() : !(m.stickType && m.stickType !== "2DPoint" && m.stickType !== "3DPoint");
55355
55351
  })()), n.$$.dirty[0] & /*tag, rendererMap, havePoint*/
55356
- 1029 && e(25, s = (() => m.isPopoverConfigEnabled() && m.contentType === "Panorama" || m.isPopoverConfigEnabled() && m.contentType === "ImageText" || m.isPopoverConfigEnabled() && m.contentType === "Text" || m.isPopoverConfigEnabled() && m.contentType === "Audio" ? !1 : m.element || v.has(m.contentType) ? !0 : !(m.stickType && m.stickType !== "2DPoint" && m.stickType !== "3DPoint" || m.entryFromModel && Si(m.five.state.mode) && i))()), n.$$.dirty[0] & /*tag*/
55352
+ 1029 && e(25, s = (() => m.isPopoverConfigEnabled() && m.contentType === "Panorama" || m.isPopoverConfigEnabled() && m.contentType === "ImageText" || m.isPopoverConfigEnabled() && m.contentType === "Text" || m.isPopoverConfigEnabled() && m.contentType === "Audio" ? !1 : m.element || v.has(m.contentType) ? !0 : !(m.stickType && m.stickType !== "2DPoint" && m.stickType !== "3DPoint" || m.entryFromModel && Ti(m.five.state.mode) && i))()), n.$$.dirty[0] & /*tag*/
55357
55353
  1 && e(24, r = (() => {
55358
55354
  var De;
55359
55355
  return m.contentType === "Marketing" ? !!(m.data.title || m.data.name || m.data.description || m.data.tooltip || (De = m.data.price) != null && De.value || m.data.brandTags && m.data.brandTags.length > 0 || m.data.tags && m.data.tags.length > 0 || m.data.imageUrl || m.data.mediaUrl || m.data.mediaData && m.data.mediaData.length > 0) : !!(m.data.title || m.data.name || m.data.text || m.data.description || m.data.tooltip || m.data.imageUrl || m.data.mediaUrl || m.data.audioUrl || m.data.mediaData && m.data.mediaData.length > 0);
@@ -55768,10 +55764,10 @@ class Mu extends Tk {
55768
55764
  this.tagsDo(this.tags, (e) => e.updateVisible());
55769
55765
  });
55770
55766
  f(this, "onFiveRefined", cg(() => {
55771
- Si(this.five.getCurrentState().mode) ? this.setUnfoldedByCamera() : this.tags.forEach((e) => e.cache.clear()), this.tagsDo(this.tags, (e) => e.updateVisible());
55767
+ Ti(this.five.getCurrentState().mode) ? this.setUnfoldedByCamera() : this.tags.forEach((e) => e.cache.clear()), this.tagsDo(this.tags, (e) => e.updateVisible());
55772
55768
  }));
55773
55769
  f(this, "onFiveEveryReady", () => {
55774
- this.setUnfoldedByCamera(), Si(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
55770
+ this.setUnfoldedByCamera(), Ti(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
55775
55771
  });
55776
55772
  f(this, "render", () => {
55777
55773
  this.renderQueue.forEach((e, i) => {
@@ -55831,12 +55827,12 @@ class Mu extends Tk {
55831
55827
  load(e) {
55832
55828
  return $(this, null, function* () {
55833
55829
  var r, o;
55834
- ki.clearSharedMeshRegistry(), this.clearTags();
55830
+ Si.clearSharedMeshRegistry(), this.clearTags();
55835
55831
  try {
55836
55832
  console.debug(this.NAME, " load:", { data: JSON.parse(JSON.stringify(e)) });
55837
55833
  } catch (a) {
55838
55834
  }
55839
- const i = Ti(this.five);
55835
+ const i = Di(this.five);
55840
55836
  e.tagList.forEach((a) => {
55841
55837
  if (a.enu_position && this.isValidArrayPosition(a.enu_position))
55842
55838
  try {
@@ -55872,14 +55868,14 @@ class Mu extends Tk {
55872
55868
  const c = r[0], h = (a = c.maskUrl) != null ? a : c.mask, u = (l = c.fiveState) == null ? void 0 : l.panoIndex;
55873
55869
  h && typeof u == "number" && this.tags.filter((p) => {
55874
55870
  var m;
55875
- return p instanceof ki && ((m = p.fiveState) == null ? void 0 : m.panoIndex) === u;
55871
+ return p instanceof Si && ((m = p.fiveState) == null ? void 0 : m.panoIndex) === u;
55876
55872
  }).forEach((p) => p.set({ mask: h }));
55877
55873
  }
55878
55874
  const o = r.map((c) => {
55879
55875
  const h = Bd(c);
55880
- return h === "2DPoint" || h === "3DPoint" ? new Ok(this, c) : h === "Model" ? new jb(this, c) : h === "Plane" ? new Z6(this, c) : h === "3DBox" ? new J6(this, c) : h === "Polygon" ? new K6(this, c) : h === "Mask" ? new ki(this, c) : null;
55876
+ return h === "2DPoint" || h === "3DPoint" ? new Ok(this, c) : h === "Model" ? new jb(this, c) : h === "Plane" ? new Z6(this, c) : h === "3DBox" ? new J6(this, c) : h === "Polygon" ? new K6(this, c) : h === "Mask" ? new Si(this, c) : null;
55881
55877
  });
55882
- return o.forEach((c) => gk(c)), this.tags.push(...o), this.tagsLengthWillUpdate = !0, Di(this.five).then(() => $(this, null, function* () {
55878
+ return o.forEach((c) => gk(c)), this.tags.push(...o), this.tagsLengthWillUpdate = !0, Li(this.five).then(() => $(this, null, function* () {
55883
55879
  var c, h;
55884
55880
  this.store.eventListenerDisposer && ((h = (c = this.store).eventListenerDisposer) == null || h.call(c)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(o, (u) => {
55885
55881
  this.tags.includes(u) && (u.updateVisible(), u.updateZIndex());
@@ -56035,7 +56031,7 @@ class Mu extends Tk {
56035
56031
  });
56036
56032
  return;
56037
56033
  }
56038
- r.set(i), r instanceof ki && r.updateMaskStyle(), r.updateVisible(), this.clearUnusedPanelTag(), r.hooks.emit("dataChanged", r.data);
56034
+ r.set(i), r instanceof Si && r.updateMaskStyle(), r.updateVisible(), this.clearUnusedPanelTag(), r.hooks.emit("dataChanged", r.data);
56039
56035
  }
56040
56036
  }
56041
56037
  /**
@@ -56063,7 +56059,7 @@ class Mu extends Tk {
56063
56059
  }
56064
56060
  const r = this.tags.filter((o) => {
56065
56061
  var a;
56066
- return o instanceof ki && ((a = o.fiveState) == null ? void 0 : a.panoIndex) === i;
56062
+ return o instanceof Si && ((a = o.fiveState) == null ? void 0 : a.panoIndex) === i;
56067
56063
  });
56068
56064
  if (r.length === 0) {
56069
56065
  console.debug(`[PanoTagPlugin] changeMask: no MaskTag found at panoIndex ${i}`);
@@ -56096,7 +56092,7 @@ class Mu extends Tk {
56096
56092
  var e;
56097
56093
  this.tags.length && (this.tags.forEach((i) => {
56098
56094
  var s, r, o, a, l, c, h, u, d, p, m;
56099
- (s = i.tag3DContentSvelte) == null || s.dispose(), (o = (r = i.mediaPlane) == null ? void 0 : r.parent) == null || o.remove(i.mediaPlane), (c = (l = (a = i.model) == null ? void 0 : a.object) == null ? void 0 : l.parent) == null || c.remove(i.model.object), (u = (h = i.rectanglePlane) == null ? void 0 : h.parent) == null || u.remove(i.rectanglePlane), (d = i.boxShape) != null && d.parent && i.boxShape.parent.remove(i.boxShape), (m = (p = i.polygonShape) == null ? void 0 : p.parent) == null || m.remove(i.polygonShape), i != null && i.tagNormalLine && (i == null || i.removeTagNormalLine()), i instanceof ki && i.dispose();
56095
+ (s = i.tag3DContentSvelte) == null || s.dispose(), (o = (r = i.mediaPlane) == null ? void 0 : r.parent) == null || o.remove(i.mediaPlane), (c = (l = (a = i.model) == null ? void 0 : a.object) == null ? void 0 : l.parent) == null || c.remove(i.model.object), (u = (h = i.rectanglePlane) == null ? void 0 : h.parent) == null || u.remove(i.rectanglePlane), (d = i.boxShape) != null && d.parent && i.boxShape.parent.remove(i.boxShape), (m = (p = i.polygonShape) == null ? void 0 : p.parent) == null || m.remove(i.polygonShape), i != null && i.tagNormalLine && (i == null || i.removeTagNormalLine()), i instanceof Si && i.dispose();
56100
56096
  }), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (e = this.TagContainerSvelte) == null || e.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer()), this.enabledModelTagSet.clear(), this.cache.clear();
56101
56097
  }
56102
56098
  /**
@@ -56253,7 +56249,7 @@ class Mu extends Tk {
56253
56249
  * @returns 性能统计信息
56254
56250
  */
56255
56251
  getMaskTagPerformanceStats() {
56256
- const e = ki.getCacheStats(), i = this.filterMaskTag.length, s = this.filterMaskTag.filter((r) => r.visible).length;
56252
+ const e = Si.getCacheStats(), i = this.filterMaskTag.length, s = this.filterMaskTag.filter((r) => r.visible).length;
56257
56253
  return {
56258
56254
  // 标签统计
56259
56255
  totalMaskTags: i,
@@ -56269,7 +56265,7 @@ class Mu extends Tk {
56269
56265
  * 注意:这会释放所有纹理缓存,谨慎使用
56270
56266
  */
56271
56267
  clearMaskTagCache() {
56272
- ki.clearAllCache();
56268
+ Si.clearAllCache();
56273
56269
  }
56274
56270
  }
56275
56271
  const fj = (n, t) => new Mu(n, t);
@@ -56776,7 +56772,7 @@ class Iu {
56776
56772
  });
56777
56773
  /** 模型状态变更 */
56778
56774
  f(this, "onFiveModeChange", (t) => {
56779
- this.modeVisible = this.mode === "panorama" ? ms(t) : Si(t), this.updateVisible();
56775
+ this.modeVisible = this.mode === "panorama" ? ms(t) : Ti(t), this.updateVisible();
56780
56776
  });
56781
56777
  f(this, "onFiveModelShownFloorChange", (t) => {
56782
56778
  this.floorVisible = t === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(t), this.updateVisible();
@@ -58076,7 +58072,7 @@ let VL = class extends vn {
58076
58072
  var z;
58077
58073
  return st({}, h, { id: (z = T.id) != null ? z : wt(), pano_group: T.panoIndexList });
58078
58074
  })) != null ? w : [], d = (E = (I = o.lines) == null ? void 0 : I.map((T) => st({}, h, T))) != null ? E : [], p = [...u, ...d];
58079
- yield Di(this.five), this.clear(), p.forEach((T) => {
58075
+ yield Li(this.five), this.clear(), p.forEach((T) => {
58080
58076
  this.addGuideLineItem(T);
58081
58077
  }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", o), console.debug(`${dv} loaded`, o);
58082
58078
  });
@@ -58415,7 +58411,7 @@ class fv {
58415
58411
  const t = {
58416
58412
  value: 0
58417
58413
  };
58418
- ht({
58414
+ ut({
58419
58415
  targets: t,
58420
58416
  value: 1,
58421
58417
  duration: 300,
@@ -59447,7 +59443,7 @@ function vv(n) {
59447
59443
  },
59448
59444
  m(a, l) {
59449
59445
  Z(a, t, l), V(t, e), n[22](t), Z(a, i, l), Z(a, s, l), n[23](s), r || (o = _e(t, "click", function() {
59450
- wi(
59446
+ Pi(
59451
59447
  /*onClick*/
59452
59448
  n[4]
59453
59449
  ) && n[4].apply(this, arguments);
@@ -60644,7 +60640,7 @@ class kh extends lf {
60644
60640
  f(this, "updateFiveCurrentFloorState", (e) => {
60645
60641
  var s, r;
60646
60642
  const i = (r = (s = this.rawData) == null ? void 0 : s.object_data) == null ? void 0 : r.floorIndex;
60647
- Pi(i) ? this.visibles[1] = !0 : this.visibles[1] = e === null ? !0 : i === e;
60643
+ Ci(i) ? this.visibles[1] = !0 : this.visibles[1] = e === null ? !0 : i === e;
60648
60644
  });
60649
60645
  this.enable(), this.updateVisible(), this.five.on("modelShownFloorChange", this.onModelShownFloorChange), this.disposers.push(() => {
60650
60646
  this.five.off("modelShownFloorChange", this.onModelShownFloorChange);
@@ -60753,7 +60749,7 @@ class Iz extends vn {
60753
60749
  }
60754
60750
  load(e) {
60755
60751
  return $(this, null, function* () {
60756
- if (this.clear(), this.data = e, this.originalOpacities.clear(), this.resetHighlight(), yield Di(this.five), this.data !== e)
60752
+ if (this.clear(), this.data = e, this.originalOpacities.clear(), this.resetHighlight(), yield Li(this.five), this.data !== e)
60757
60753
  return;
60758
60754
  this.clear();
60759
60755
  const i = (s) => {
@@ -67170,7 +67166,7 @@ const QO = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
67170
67166
  CircleWithEdgeMesh: Ca,
67171
67167
  CylinderMesh: wu,
67172
67168
  CylinderMeshEditor: Kb,
67173
- LineMesh: Li,
67169
+ LineMesh: wi,
67174
67170
  PointMesh: mn,
67175
67171
  PolygonMesh: mo,
67176
67172
  PrismMesh: $s,
@@ -67242,8 +67238,8 @@ const QO = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
67242
67238
  getRaycasterFromFivePointer: v3,
67243
67239
  initialCSS3DRender: ka,
67244
67240
  inside: kf,
67245
- isModelLike: Si,
67246
- isNil: Pi,
67241
+ isModelLike: Ti,
67242
+ isNil: Ci,
67247
67243
  isPanoramaLike: ms,
67248
67244
  lookObject: Yh,
67249
67245
  lookPoint: K1,
@@ -67259,7 +67255,7 @@ const QO = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
67259
67255
  triangleCenter: td,
67260
67256
  tweenProgress: fa,
67261
67257
  uuid: wt,
67262
- waitFiveModelLoaded: Di,
67258
+ waitFiveModelLoaded: Li,
67263
67259
  worldBounding: pc,
67264
67260
  worldBoundingBox: w1,
67265
67261
  worldBoundingSphere: P1