@realsee/dnalogel 3.71.5 → 3.71.8-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (491) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +1 -0
  3. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +8 -0
  4. package/dist/index.cjs.js +52 -52
  5. package/dist/index.js +2617 -2513
  6. package/dist/index.umd.js +58 -58
  7. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  8. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  9. package/docs/classes/CSS3DRender.html +2 -2
  10. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  11. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  12. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  13. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  14. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  15. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  16. package/docs/classes/ModelRoomLabelController.html +2 -2
  17. package/docs/classes/MoveController.html +2 -2
  18. package/docs/classes/Object3DHelperController.html +2 -2
  19. package/docs/classes/PaintBrush.html +2 -2
  20. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  21. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  22. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  23. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  24. package/docs/classes/PanoTagPluginController.html +2 -2
  25. package/docs/classes/Sculpt.html +2 -2
  26. package/docs/classes/Util.BetterTween.html +2 -2
  27. package/docs/classes/Util.FiveDomEvents.html +2 -2
  28. package/docs/classes/Util.FivePuppet.html +2 -2
  29. package/docs/classes/Util.Interval.html +2 -2
  30. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  31. package/docs/classes/Util.LightTag.html +2 -2
  32. package/docs/classes/Util.LineSegments.html +2 -2
  33. package/docs/classes/Util.Magnifier.html +2 -2
  34. package/docs/classes/Util.Object3D.html +2 -2
  35. package/docs/classes/Util.PointDomHelper.html +2 -2
  36. package/docs/classes/Util.PointHelper.html +2 -2
  37. package/docs/classes/Util.PointSelector.html +2 -2
  38. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  39. package/docs/classes/Util.Rectangle.html +2 -2
  40. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  41. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  42. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  43. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  44. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  45. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  47. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  48. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  49. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  50. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  52. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  53. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  54. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  55. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  56. package/docs/classes/WalkController.html +2 -2
  57. package/docs/enums/CameraMovementEffect.html +2 -2
  58. package/docs/enums/ContentType.html +2 -2
  59. package/docs/enums/DIRECTION.html +2 -2
  60. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  61. package/docs/enums/DimensionType.html +2 -2
  62. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  63. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  64. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  65. package/docs/enums/PointType.html +2 -2
  66. package/docs/enums/Rotation.html +2 -2
  67. package/docs/functions/AreaMakerPlugin.html +1 -1
  68. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  69. package/docs/functions/CameraMovementPlugin.html +2 -2
  70. package/docs/functions/CruisePlugin.html +1 -1
  71. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  72. package/docs/functions/FloorplanGuidePlugin.html +1 -1
  73. package/docs/functions/GuideLinePlugin.html +1 -1
  74. package/docs/functions/ItemLabelPlugin.html +1 -1
  75. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  76. package/docs/functions/MeasurePlugin.html +1 -1
  77. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  78. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  79. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  80. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  81. package/docs/functions/ModelMakerPlugin.html +1 -1
  82. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  83. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  84. package/docs/functions/ModelViewPlugin.html +2 -2
  85. package/docs/functions/MovePlugin.html +1 -1
  86. package/docs/functions/Object3DHelperPlugin.html +1 -1
  87. package/docs/functions/PanoCompassPlugin.html +1 -1
  88. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  89. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  90. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  91. package/docs/functions/PanoMeasurePlugin.html +1 -1
  92. package/docs/functions/PanoRulerPlugin.html +2 -2
  93. package/docs/functions/PanoRulerProPlugin.html +2 -2
  94. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  95. package/docs/functions/PanoTagPlugin.html +1 -1
  96. package/docs/functions/PanoVideoPlugin.html +2 -2
  97. package/docs/functions/PipelinePlugin.html +1 -1
  98. package/docs/functions/SculptPlugin.html +2 -2
  99. package/docs/functions/SculptPluginForFive.html +2 -2
  100. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  101. package/docs/functions/Util.awaitNextFrame.html +1 -1
  102. package/docs/functions/Util.blink.html +2 -2
  103. package/docs/functions/Util.blinkWithPreset.html +2 -2
  104. package/docs/functions/Util.bounding.html +1 -1
  105. package/docs/functions/Util.boundingBox.html +1 -1
  106. package/docs/functions/Util.boundingSphere.html +1 -1
  107. package/docs/functions/Util.boxVertex.html +2 -2
  108. package/docs/functions/Util.boxVertexes.html +1 -1
  109. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  110. package/docs/functions/Util.cleanup.html +2 -2
  111. package/docs/functions/Util.convexHull.html +2 -2
  112. package/docs/functions/Util.equal.html +2 -2
  113. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  114. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  115. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  116. package/docs/functions/Util.getFrameTime.html +2 -2
  117. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  118. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  119. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  120. package/docs/functions/Util.inside.html +1 -1
  121. package/docs/functions/Util.isModelLike.html +1 -1
  122. package/docs/functions/Util.isNil.html +2 -2
  123. package/docs/functions/Util.isPanoramaLike.html +1 -1
  124. package/docs/functions/Util.lookObject.html +2 -2
  125. package/docs/functions/Util.lookPoint.html +2 -2
  126. package/docs/functions/Util.nextFrame.html +1 -1
  127. package/docs/functions/Util.notNil.html +2 -2
  128. package/docs/functions/Util.reblink.html +2 -2
  129. package/docs/functions/Util.replaceStaticPrefix.html +2 -2
  130. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  131. package/docs/functions/Util.sculpt.createBox.html +1 -1
  132. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  133. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  134. package/docs/functions/Util.sculpt.createLine.html +2 -2
  135. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  136. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  137. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  138. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  139. package/docs/functions/Util.tag.html +1 -1
  140. package/docs/functions/Util.tweenProgress.html +1 -1
  141. package/docs/functions/Util.uuid.html +2 -2
  142. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  143. package/docs/functions/Util.worldBounding.html +1 -1
  144. package/docs/functions/Util.worldBoundingBox.html +1 -1
  145. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  146. package/docs/functions/createPolyline.html +2 -2
  147. package/docs/functions/pluginFlag.html +1 -1
  148. package/docs/hierarchy.html +1 -1
  149. package/docs/index.html +2 -2
  150. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  152. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  154. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  155. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  156. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  157. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  158. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  159. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  160. package/docs/interfaces/BoxAnimationConfig.html +2 -2
  161. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  162. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  163. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  164. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  165. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  166. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  168. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  169. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  170. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  171. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  172. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  173. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  174. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  175. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  176. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  177. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  178. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  179. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  180. package/docs/interfaces/FloorplanBounding.html +2 -2
  181. package/docs/interfaces/FloorplanData.html +2 -2
  182. package/docs/interfaces/FloorplanEntrance.html +2 -2
  183. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  184. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  185. package/docs/interfaces/FloorplanFloorData.html +2 -2
  186. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  187. package/docs/interfaces/FloorplanObserver.html +2 -2
  188. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  189. package/docs/interfaces/FloorplanPosition.html +2 -2
  190. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  191. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  192. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  193. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  194. package/docs/interfaces/FloorplanServerData.html +2 -2
  195. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  196. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  197. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  198. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  199. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  200. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  201. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  202. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  203. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  204. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  205. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  214. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  215. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  217. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  218. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  219. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  220. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  221. package/docs/interfaces/HelperOffset.html +2 -2
  222. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  223. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  224. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  225. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  226. package/docs/interfaces/MinMax.html +2 -2
  227. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  228. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  229. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  230. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  231. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  232. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  233. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  234. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  235. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  236. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  238. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  239. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  240. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  241. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  242. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  243. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  244. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  245. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  246. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  247. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  248. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  249. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  250. package/docs/interfaces/Object3DHelperState.html +2 -2
  251. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  252. package/docs/interfaces/PaintBrushAction.html +2 -2
  253. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  254. package/docs/interfaces/PaintBrushState.html +2 -2
  255. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  256. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  257. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  258. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  259. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  260. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  261. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  262. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  263. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  264. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  265. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  266. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  267. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  268. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  269. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  270. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  271. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  273. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  274. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  275. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  276. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  277. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  278. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  279. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  280. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  281. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  282. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  283. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  284. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  285. package/docs/interfaces/PluginEventMap.html +2 -2
  286. package/docs/interfaces/Point.html +2 -2
  287. package/docs/interfaces/Room.html +2 -2
  288. package/docs/interfaces/RoomInfo.html +2 -2
  289. package/docs/interfaces/RoomLabel.html +2 -2
  290. package/docs/interfaces/RoomRules.html +1 -1
  291. package/docs/interfaces/Rooms.html +1 -1
  292. package/docs/interfaces/Scissor.html +2 -2
  293. package/docs/interfaces/SculptConfig.html +2 -2
  294. package/docs/interfaces/State.html +2 -2
  295. package/docs/interfaces/TagCacheInterface.html +2 -2
  296. package/docs/interfaces/TagConfig.html +11 -11
  297. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  298. package/docs/interfaces/TagIconAnimationConfig.html +2 -2
  299. package/docs/interfaces/TagIconUrl.html +2 -2
  300. package/docs/interfaces/TagObjectGroup.html +2 -2
  301. package/docs/interfaces/TagState.html +2 -2
  302. package/docs/interfaces/TagStyle.html +2 -2
  303. package/docs/interfaces/Tags.html +2 -2
  304. package/docs/interfaces/TemporaryState.html +2 -2
  305. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  306. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  307. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  308. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  309. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  310. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  311. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  312. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  313. package/docs/interfaces/Util.ObjectInitialState.html +2 -2
  314. package/docs/interfaces/Util.PointIntersection.html +2 -2
  315. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  316. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  317. package/docs/modules/AreaMakerPluginType.html +2 -2
  318. package/docs/modules/CruisePluginTypes.html +2 -2
  319. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  320. package/docs/modules/GuideLineItem.html +2 -2
  321. package/docs/modules/GuideLineModeItem.html +2 -2
  322. package/docs/modules/GuideLinePluginType.html +2 -2
  323. package/docs/modules/ModelMakerPluginType.html +2 -2
  324. package/docs/modules/PanoVideoPluginType.html +2 -2
  325. package/docs/modules/SculptData.html +2 -2
  326. package/docs/modules/SculptType.html +2 -2
  327. package/docs/modules/Util.html +2 -2
  328. package/docs/modules/Util.sculpt.html +2 -2
  329. package/docs/modules.html +2 -2
  330. package/docs/types/AddObject3DHelperConfig.html +2 -2
  331. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  332. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  333. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  334. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  335. package/docs/types/ArrayPosition.html +1 -1
  336. package/docs/types/AudioAppearance.html +1 -1
  337. package/docs/types/CSS3DRenderExportType.html +1 -1
  338. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  339. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  340. package/docs/types/ClassFunctionParameters.html +1 -1
  341. package/docs/types/Color.html +1 -1
  342. package/docs/types/ContentTypeConfigKey.html +1 -1
  343. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  344. package/docs/types/ContentTypeMap.html +1 -1
  345. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  346. package/docs/types/Create3DElementReturnType.html +1 -1
  347. package/docs/types/CruisePluginExportType.html +1 -1
  348. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  349. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  350. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  351. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  352. package/docs/types/DeprecatedTagProperty.html +2 -2
  353. package/docs/types/Direction-1.html +1 -1
  354. package/docs/types/Direction4.html +1 -1
  355. package/docs/types/ElementRenderer.html +2 -2
  356. package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
  357. package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
  358. package/docs/types/FloorplanRuleLabels.html +2 -2
  359. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  360. package/docs/types/GuideLinePluginExportType.html +1 -1
  361. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  362. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  363. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  364. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  365. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  366. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  367. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  368. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  369. package/docs/types/HelperEventMap.html +1 -1
  370. package/docs/types/InternalHelperEventMap.html +1 -1
  371. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  372. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  373. package/docs/types/MeasureEndReason.html +1 -1
  374. package/docs/types/MeasurePluginConfig.html +2 -2
  375. package/docs/types/MediaData.html +2 -2
  376. package/docs/types/MediaStore.html +1 -1
  377. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  378. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  379. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  380. package/docs/types/ModelId.html +1 -1
  381. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  382. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  383. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  384. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  385. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  386. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  387. package/docs/types/MoveArgs.html +2 -2
  388. package/docs/types/MoveOpts.html +2 -2
  389. package/docs/types/Object3DHelperEventMap.html +1 -1
  390. package/docs/types/ObjectFit.html +1 -1
  391. package/docs/types/PaintBrushEventMap.html +1 -1
  392. package/docs/types/PanoCompassPluginData.html +1 -1
  393. package/docs/types/PanoCompassPluginExportType.html +1 -1
  394. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  395. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  396. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  397. package/docs/types/PanoIndex.html +1 -1
  398. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  399. package/docs/types/PanoMeasureReturnType.html +1 -1
  400. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  401. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  402. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  403. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  404. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  405. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  406. package/docs/types/PipelinePluginParameterType.html +1 -1
  407. package/docs/types/PipelinePluginReturnType.html +1 -1
  408. package/docs/types/PlaneTag.html +2 -2
  409. package/docs/types/Point2DTag.html +2 -2
  410. package/docs/types/Point3DTag.html +2 -2
  411. package/docs/types/PointTagInstance.html +1 -1
  412. package/docs/types/Position.html +1 -1
  413. package/docs/types/PositionFrom.html +1 -1
  414. package/docs/types/RotateArgs.html +2 -2
  415. package/docs/types/RotateOpts.html +2 -2
  416. package/docs/types/RuleLabelsKey.html +1 -1
  417. package/docs/types/RuleLabelsValue.html +1 -1
  418. package/docs/types/ScaleCallback.html +1 -1
  419. package/docs/types/ScalePosition.html +2 -2
  420. package/docs/types/SculptData.BoxData.html +1 -1
  421. package/docs/types/SculptData.CircleData.html +1 -1
  422. package/docs/types/SculptData.CylinderData.html +1 -1
  423. package/docs/types/SculptData.PointData.html +1 -1
  424. package/docs/types/SculptData.PolygonData.html +1 -1
  425. package/docs/types/SculptData.PolylineData.html +1 -1
  426. package/docs/types/SculptData.PrismData.html +1 -1
  427. package/docs/types/SculptData.RectangleData.html +1 -1
  428. package/docs/types/SculptType.Theme.html +2 -2
  429. package/docs/types/StickType.html +1 -1
  430. package/docs/types/Tag.html +2 -2
  431. package/docs/types/Tag2D.html +2 -2
  432. package/docs/types/Tag3D.html +2 -2
  433. package/docs/types/TagClickParams.html +1 -1
  434. package/docs/types/TagConfigByKey.html +1 -1
  435. package/docs/types/TagContentType.html +1 -1
  436. package/docs/types/TagContentTypeMapping.html +1 -1
  437. package/docs/types/TagDimensionType.html +1 -1
  438. package/docs/types/TagElement.html +2 -2
  439. package/docs/types/TagEvents.html +1 -1
  440. package/docs/types/TagGLTFObject.html +1 -1
  441. package/docs/types/TagHooks.html +1 -1
  442. package/docs/types/TagId.html +1 -1
  443. package/docs/types/TagInstance.html +1 -1
  444. package/docs/types/TagPlacement.html +2 -2
  445. package/docs/types/TagPointType.html +2 -2
  446. package/docs/types/TagRendererMap.html +1 -1
  447. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  448. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  449. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  450. package/docs/types/Util.AdherePoint.html +2 -2
  451. package/docs/types/Util.PointSelectorConfig.html +1 -1
  452. package/docs/types/Util.SupportedTarget.html +2 -2
  453. package/docs/types/Util.Target.html +2 -2
  454. package/docs/types/Util.ThreeObject.html +2 -2
  455. package/docs/types/WorkCode.html +1 -1
  456. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  457. package/docs/variables/PLUGIN.html +1 -1
  458. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  459. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  460. package/docs/variables/Util.ANIME_PRESETS.html +2 -2
  461. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
  462. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
  463. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
  464. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
  465. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
  466. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
  467. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
  468. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
  469. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
  470. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
  471. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
  472. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
  473. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
  474. package/docs/variables/defaultGlobalConfig.html +1 -1
  475. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  476. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  477. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  478. package/libs/DigitalPerformancePlugin/controller/index.js +3 -2
  479. package/libs/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +1 -0
  480. package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +47 -39
  481. package/libs/DigitalPerformancePlugin/index.js +10 -9
  482. package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +1 -0
  483. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +292 -262
  484. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +43 -43
  485. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +1 -1
  486. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +8 -0
  487. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +52 -48
  488. package/libs/base/BasePlugin.js +1 -1
  489. package/libs/shared-utils/logger.js +1 -1
  490. package/libs/shared-utils/three/blink.js +239 -169
  491. package/package.json +1 -1
@@ -1,76 +1,76 @@
1
1
  var K = Object.defineProperty, Q = Object.defineProperties;
2
2
  var Y = Object.getOwnPropertyDescriptors;
3
- var C = Object.getOwnPropertySymbols;
4
- var D = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
5
- var k = Math.pow, M = (u, e, i) => e in u ? K(u, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : u[e] = i, g = (u, e) => {
3
+ var x = Object.getOwnPropertySymbols;
4
+ var A = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
5
+ var I = Math.pow, w = (g, e, i) => e in g ? K(g, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : g[e] = i, b = (g, e) => {
6
6
  for (var i in e || (e = {}))
7
- D.call(e, i) && M(u, i, e[i]);
8
- if (C)
9
- for (var i of C(e))
10
- j.call(e, i) && M(u, i, e[i]);
11
- return u;
12
- }, w = (u, e) => Q(u, Y(e));
13
- var A = (u, e) => {
7
+ A.call(e, i) && w(g, i, e[i]);
8
+ if (x)
9
+ for (var i of x(e))
10
+ E.call(e, i) && w(g, i, e[i]);
11
+ return g;
12
+ }, U = (g, e) => Q(g, Y(e));
13
+ var O = (g, e) => {
14
14
  var i = {};
15
- for (var t in u)
16
- D.call(u, t) && e.indexOf(t) < 0 && (i[t] = u[t]);
17
- if (u != null && C)
18
- for (var t of C(u))
19
- e.indexOf(t) < 0 && j.call(u, t) && (i[t] = u[t]);
15
+ for (var t in g)
16
+ A.call(g, t) && e.indexOf(t) < 0 && (i[t] = g[t]);
17
+ if (g != null && x)
18
+ for (var t of x(g))
19
+ e.indexOf(t) < 0 && E.call(g, t) && (i[t] = g[t]);
20
20
  return i;
21
21
  };
22
- var a = (u, e, i) => (M(u, typeof e != "symbol" ? e + "" : e, i), i);
23
- var U = (u, e, i) => new Promise((t, r) => {
24
- var n = (s) => {
22
+ var l = (g, e, i) => (w(g, typeof e != "symbol" ? e + "" : e, i), i);
23
+ var T = (g, e, i) => new Promise((t, o) => {
24
+ var s = (n) => {
25
25
  try {
26
- o(i.next(s));
27
- } catch (d) {
28
- r(d);
26
+ a(i.next(n));
27
+ } catch (f) {
28
+ o(f);
29
29
  }
30
- }, l = (s) => {
30
+ }, r = (n) => {
31
31
  try {
32
- o(i.throw(s));
33
- } catch (d) {
34
- r(d);
32
+ a(i.throw(n));
33
+ } catch (f) {
34
+ o(f);
35
35
  }
36
- }, o = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(n, l);
37
- o((i = i.apply(u, e)).next());
36
+ }, a = (n) => n.done ? t(n.value) : Promise.resolve(n.value).then(s, r);
37
+ a((i = i.apply(g, e)).next());
38
38
  });
39
39
  import { Subscribe as ee } from "../../../shared-utils/Subscribe.js";
40
- import { calculateTagConfig as T } from "../../utils/tag/calculateTagConfig.js";
40
+ import { calculateTagConfig as S } from "../../utils/tag/calculateTagConfig.js";
41
41
  import { getTagStickType as ie } from "../../utils/tag/format.js";
42
42
  import "../../../shared-utils/tag.js";
43
- import { isPanoramaLike as S, isModelLike as P } from "../../../shared-utils/five/mode.js";
44
- import * as E from "three";
43
+ import { isPanoramaLike as V, isModelLike as M } from "../../../shared-utils/five/mode.js";
44
+ import * as y from "three";
45
45
  import "../../../vendor/hammerjs/hammer.js";
46
46
  import "../../../shared-utils/three/PointSelector/index.js";
47
47
  import { centerPoint as te } from "../../../shared-utils/three/centerPoint.js";
48
48
  import "../../../shared-utils/three/CSS3DRenderer/index.js";
49
49
  import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
50
- import { anyPositionToVector3 as O } from "../../../shared-utils/positionToVector3.js";
50
+ import { anyPositionToVector3 as R } from "../../../shared-utils/positionToVector3.js";
51
51
  import { toArray as ne } from "../../../shared-utils/util.js";
52
52
  import "@realsee/five/line";
53
- import { isNil as R, notNil as _ } from "../../../shared-utils/isNil.js";
53
+ import { isNil as _, notNil as L } from "../../../shared-utils/isNil.js";
54
54
  import "../../../shared-utils/three/core/Five_LineMaterial2.js";
55
55
  import "../../../shared-utils/three/core/Sphere.js";
56
56
  import { blink as se, reblink as oe } from "../../../shared-utils/three/blink.js";
57
57
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
58
58
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
59
59
  import { vectorToCoordinates as re } from "../../../shared-utils/vectorToCoordinate.js";
60
- import { transformPosition as L } from "../../../shared-utils/five/transformPosition.js";
61
- import { lookPoint as le } from "../../../shared-utils/five/lookPoint.js";
62
- import { uuid as ae } from "../../../shared-utils/uuid.js";
60
+ import { transformPosition as $ } from "../../../shared-utils/five/transformPosition.js";
61
+ import { lookPoint as ae } from "../../../shared-utils/five/lookPoint.js";
62
+ import { uuid as le } from "../../../shared-utils/uuid.js";
63
63
  import "../../../shared-utils/five/FivePuppet.js";
64
- import { objectAssignDeepExports as y } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
65
- import { getTagPosition as $, getTagCenterPosition as z } from "../../utils/tagPosition.js";
66
- import { checkRange as I } from "../../utils/checkRange.js";
67
- import { isMediaPlaneTag as N, isMediaModelTag as V } from "../../utils/tag/tagCheck.js";
64
+ import { objectAssignDeepExports as P } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
65
+ import { getTagPosition as N, getTagCenterPosition as z } from "../../utils/tagPosition.js";
66
+ import { checkRange as k } from "../../utils/checkRange.js";
67
+ import { isMediaPlaneTag as W, isMediaModelTag as B } from "../../utils/tag/tagCheck.js";
68
68
  import { getUrlExt as J } from "../../../shared-utils/url/getUrl.js";
69
69
  import { getFloorIndex as fe } from "../../../shared-utils/five/getFloorIndex.js";
70
70
  import { safeObj as H } from "../../../shared-utils/safeObj.js";
71
- import { Cache as de } from "../../utils/Cache.js";
72
- import { _raycaster as B } from "../../../shared-utils/three/temp.js";
73
- import { withResolvers as ce } from "../../../shared-utils/promise/withResolvers.js";
71
+ import { Cache as ce } from "../../utils/Cache.js";
72
+ import { _raycaster as D } from "../../../shared-utils/three/temp.js";
73
+ import { withResolvers as de } from "../../../shared-utils/promise/withResolvers.js";
74
74
  import "../../../shared-utils/typescript/entries.js";
75
75
  import "../../utils/tag/adaptConfig.js";
76
76
  import "../../typings/tag/TagConfig.js";
@@ -121,49 +121,50 @@ import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
121
121
  import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
122
122
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
123
123
  import "../../../shared-utils/formatRad.js";
124
- class Ji {
124
+ class Wi {
125
125
  constructor(e, i) {
126
- a(this, "plugin");
127
- a(this, "id");
128
- a(this, "contentType");
129
- a(this, "stickType");
130
- a(this, "enabled");
131
- a(this, "config");
132
- a(this, "data");
133
- a(this, "state");
134
- a(this, "temporaryState", { visible: !0 });
135
- a(this, "originPosition");
136
- a(this, "position");
137
- a(this, "fiveState");
138
- a(this, "model");
139
- a(this, "matrix");
140
- a(this, "screenPosition");
141
- a(this, "normal");
142
- a(this, "mediaPlane");
143
- a(this, "hooks");
144
- a(this, "zIndex");
145
- a(this, "play");
146
- a(this, "pause");
147
- a(this, "tag3DContentSvelte");
148
- a(this, "rectanglePlane");
149
- a(this, "dom");
150
- a(this, "contentDom");
151
- a(this, "initialConfig");
152
- a(this, "computedConfig");
126
+ l(this, "plugin");
127
+ l(this, "id");
128
+ l(this, "contentType");
129
+ l(this, "stickType");
130
+ l(this, "enabled");
131
+ l(this, "config");
132
+ l(this, "data");
133
+ l(this, "state");
134
+ l(this, "temporaryState", { visible: !0 });
135
+ l(this, "originPosition");
136
+ l(this, "position");
137
+ l(this, "fiveState");
138
+ l(this, "model");
139
+ l(this, "matrix");
140
+ l(this, "screenPosition");
141
+ l(this, "normal");
142
+ l(this, "mediaPlane");
143
+ l(this, "hooks");
144
+ l(this, "zIndex");
145
+ l(this, "manuallyOperated", !1);
146
+ l(this, "play");
147
+ l(this, "pause");
148
+ l(this, "tag3DContentSvelte");
149
+ l(this, "rectanglePlane");
150
+ l(this, "dom");
151
+ l(this, "contentDom");
152
+ l(this, "initialConfig");
153
+ l(this, "computedConfig");
153
154
  /**
154
155
  * 存储当前的闪烁动画实例
155
156
  * @private
156
157
  */
157
- a(this, "_currentBlinkInstance");
158
- a(this, "cache");
159
- a(this, "entryFromModel");
160
- a(this, "_updating", !1);
158
+ l(this, "_currentBlinkInstance");
159
+ l(this, "cache");
160
+ l(this, "entryFromModel");
161
+ l(this, "_updating", !1);
161
162
  /**
162
163
  * 是否启用 hover 行为,默认 为config.popoverConfig.enabled
163
164
  */
164
- a(this, "hoverEnabled");
165
- a(this, "ready", () => {
166
- const { promise: e, resolve: i } = ce();
165
+ l(this, "hoverEnabled");
166
+ l(this, "ready", () => {
167
+ const { promise: e, resolve: i } = de();
167
168
  if (!this._updating)
168
169
  i();
169
170
  else {
@@ -176,29 +177,29 @@ class Ji {
176
177
  }
177
178
  return e;
178
179
  });
179
- var d, p, v, m, c, h;
180
+ var f, m, p, c, u, h;
180
181
  this.plugin = e;
181
182
  const t = ie(i);
182
183
  i.stickType = t;
183
- const r = JSON.parse(JSON.stringify(i.data)), n = (d = i.initialConfig) != null ? d : i.config ? JSON.parse(JSON.stringify(i.config)) : {};
184
- i.initialConfig = n;
185
- const l = T(i, e.config), o = this.getConfig(i);
186
- i.config = o, this.id = (p = i.id) != null ? p : ae(), this.enabled = (v = i.enabled) != null ? v : !0, this.contentType = i.contentType, this.hoverEnabled = (c = (m = o.popoverConfig) == null ? void 0 : m.enabled) != null ? c : !0, this.data = (h = o.initialData) != null && h.important ? y(i.data, r, o.initialData) : y(i.data, o.initialData, r);
187
- let s;
188
- typeof o.unfoldedConfig == "object" ? o.unfoldedConfig.keep === "unfolded" ? s = !0 : o.unfoldedConfig.keep === "folded" ? s = !1 : s = !this.can("fold") : s = !this.can("fold"), this.state = g({
184
+ const o = JSON.parse(JSON.stringify(i.data)), s = (f = i.initialConfig) != null ? f : i.config ? JSON.parse(JSON.stringify(i.config)) : {};
185
+ i.initialConfig = s;
186
+ const r = S(i, e.config), a = this.getConfig(i);
187
+ i.config = a, this.id = (m = i.id) != null ? m : le(), this.enabled = (p = i.enabled) != null ? p : !0, this.contentType = i.contentType, this.hoverEnabled = (u = (c = a.popoverConfig) == null ? void 0 : c.enabled) != null ? u : !0, this.data = (h = a.initialData) != null && h.important ? P(i.data, o, a.initialData) : P(i.data, a.initialData, o);
188
+ let n;
189
+ typeof a.unfoldedConfig == "object" ? a.unfoldedConfig.keep === "unfolded" ? n = !0 : a.unfoldedConfig.keep === "folded" ? n = !1 : n = !this.can("fold") : n = !this.can("fold"), this.state = b({
189
190
  visible: void 0,
190
- unfolded: s
191
- }, o.initialState), this.isPopoverConfigEnabled() && (this.state.unfolded = !1), this.originPosition = i.position, i.originPosition = this.originPosition, this.position = (() => {
192
- const f = i.originPosition;
193
- if (!f)
191
+ unfolded: n
192
+ }, a.initialState), this.isPopoverConfigEnabled() && (this.state.unfolded = !1), this.originPosition = i.position, i.originPosition = this.originPosition, this.position = (() => {
193
+ const d = i.originPosition;
194
+ if (!d)
194
195
  return;
195
- const b = e.workUtil.transform;
196
- return Array.isArray(f) && f.length === 4 ? f.map(O).map((x) => L(x, b).toArray()) : L(O(f), b).toArray();
196
+ const v = e.workUtil.transform;
197
+ return Array.isArray(d) && d.length === 4 ? d.map(R).map((C) => $(C, v).toArray()) : $(R(d), v).toArray();
197
198
  })(), this.matrix = i.matrix ? (() => {
198
- const f = new E.Matrix4().fromArray(i.matrix);
199
- return f.premultiply(e.workUtil.transform), f.elements;
200
- })() : i.matrix, this.initialConfig = n, this.computedConfig = l, this.stickType = t, this.config = i.config, this.fiveState = i.fiveState, this.normal = i.normal, this.cache = new de(), this.hooks = new ee(), Object.keys(i).forEach((f) => {
201
- this[f] === void 0 && i[f] !== void 0 && (this[f] = i[f]);
199
+ const d = new y.Matrix4().fromArray(i.matrix);
200
+ return d.premultiply(e.workUtil.transform), d.elements;
201
+ })() : i.matrix, this.initialConfig = s, this.computedConfig = r, this.stickType = t, this.config = i.config, this.fiveState = i.fiveState, this.normal = i.normal, this.cache = new ce(), this.hooks = new ee(), Object.keys(i).forEach((d) => {
202
+ this[d] === void 0 && i[d] !== void 0 && (this[d] = i[d]);
202
203
  });
203
204
  }
204
205
  get visible() {
@@ -215,13 +216,13 @@ class Ji {
215
216
  return this.plugin.workUtil;
216
217
  }
217
218
  get centerPosition() {
218
- const e = $(this);
219
+ const e = N(this);
219
220
  return te(...Array.isArray(e) ? e : [e]);
220
221
  }
221
222
  get currentConfig() {
222
- var r, n;
223
- const e = T(this, this.plugin.config, { useCache: !0 }), i = this.five.getCurrentState().mode, t = (r = e.configWithFiveMode) == null ? void 0 : r[i];
224
- return (n = t != null ? t : e) != null ? n : {};
223
+ var o, s;
224
+ const e = S(this, this.plugin.config, { useCache: !0 }), i = this.five.getCurrentState().mode, t = (o = e.configWithFiveMode) == null ? void 0 : o[i];
225
+ return (s = t != null ? t : e) != null ? s : {};
225
226
  }
226
227
  get currentVisible() {
227
228
  return !(!this.plugin.state.enabled || !this.plugin.state.visible || !this.enabled || !this.state.visible);
@@ -239,24 +240,24 @@ class Ji {
239
240
  * @description 找到标签
240
241
  */
241
242
  find(e) {
242
- return U(this, null, function* () {
243
- var r;
243
+ return T(this, null, function* () {
244
+ var o;
244
245
  const i = this.fiveState;
245
246
  if (!this.fiveState)
246
247
  return this;
247
- const t = (r = e == null ? void 0 : e.targetMode) != null ? r : this.five.state.mode;
248
+ const t = (o = e == null ? void 0 : e.targetMode) != null ? o : this.five.state.mode;
248
249
  if (t === "Panorama") {
249
- const n = i == null ? void 0 : i.panoIndex;
250
- if (R(n))
250
+ const s = i == null ? void 0 : i.panoIndex;
251
+ if (_(s))
251
252
  return this;
252
- const l = this.workUtil.getObserverPosition(n), o = this.centerPosition.clone().sub(l).normalize();
253
- this.five.setState(g({
253
+ const r = this.workUtil.getObserverPosition(s), a = this.centerPosition.clone().sub(r).normalize();
254
+ this.five.setState(b({
254
255
  mode: "Panorama",
255
256
  workCode: this.workUtil.workCode,
256
- panoIndex: n
257
- }, re(o))), yield this.five.ready();
257
+ panoIndex: s
258
+ }, re(a))), yield this.five.ready();
258
259
  } else
259
- t === "Mapview" && (yield le(this.five, this.centerPosition, e == null ? void 0 : e.pointConfig));
260
+ t === "Mapview" && (yield ae(this.five, this.centerPosition, e == null ? void 0 : e.pointConfig));
260
261
  return this;
261
262
  });
262
263
  }
@@ -264,40 +265,40 @@ class Ji {
264
265
  * @description 闪烁
265
266
  */
266
267
  blink(e) {
267
- return U(this, null, function* () {
268
- var o, s, d, p, v, m;
269
- yield this.ready(), this._currentBlinkInstance && !this._currentBlinkInstance.completed && ((s = (o = this._currentBlinkInstance).preComplete) == null || s.call(o), this._currentBlinkInstance = void 0);
270
- const i = (d = this.enabled) != null ? d : !0, t = (p = this.state) == null ? void 0 : p.visible, r = i && t;
271
- r === !1 && (this.state.visible = !0, this.enabled = !0, this.applyVisible(), this.plugin.render(), this.computeRenderType() !== "Mesh" ? yield new Promise((c) => {
268
+ return T(this, null, function* () {
269
+ var a, n, f, m, p, c;
270
+ yield this.ready(), this._currentBlinkInstance && !this._currentBlinkInstance.completed && ((n = (a = this._currentBlinkInstance).preComplete) == null || n.call(a), this._currentBlinkInstance = void 0);
271
+ const i = (f = this.enabled) != null ? f : !0, t = (m = this.state) == null ? void 0 : m.visible, o = i && t;
272
+ o === !1 && (this.state.visible = !0, this.enabled = !0, this.applyVisible(), this.plugin.render(), this.computeRenderType() !== "Mesh" ? yield new Promise((u) => {
272
273
  if (this.dom || this.contentDom) {
273
- c();
274
+ u();
274
275
  return;
275
276
  }
276
277
  const h = setInterval(() => {
277
- (this.dom || this.contentDom) && (c(), clearInterval(h));
278
+ (this.dom || this.contentDom) && (u(), clearInterval(h));
278
279
  }, 16.7);
279
- }) : this.stickType === "Model" && !((v = this.model) != null && v.object) ? yield (m = this.model) == null ? void 0 : m.promise : this.stickType === "Plane" && (yield new Promise((c) => {
280
+ }) : this.stickType === "Model" && !((p = this.model) != null && p.object) ? yield (c = this.model) == null ? void 0 : c.promise : this.stickType === "Plane" && (yield new Promise((u) => {
280
281
  if (this.mediaPlane) {
281
- c();
282
+ u();
282
283
  return;
283
284
  }
284
285
  const h = setInterval(() => {
285
- this.mediaPlane && (c(), clearInterval(h));
286
+ this.mediaPlane && (u(), clearInterval(h));
286
287
  }, 16.7);
287
288
  })), this.dom && (this.dom.style.visibility = "hidden"), this.contentDom && (this.contentDom.style.visibility = "hidden"));
288
- const n = (() => {
289
- var h, f, b;
290
- const c = [];
291
- return c.push(this.dom), c.push((f = (h = this.tag3DContentSvelte) == null ? void 0 : h.css3DInstance) == null ? void 0 : f.container), c.push((b = this.model) == null ? void 0 : b.object), c.push(this.mediaPlane), c.filter(Boolean);
289
+ const s = (() => {
290
+ var h, d, v;
291
+ const u = [];
292
+ return u.push(this.dom), u.push((d = (h = this.tag3DContentSvelte) == null ? void 0 : h.css3DInstance) == null ? void 0 : d.container), u.push((v = this.model) == null ? void 0 : v.object), u.push(this.mediaPlane), u.filter(Boolean);
292
293
  })();
293
- if (!n.length) {
294
+ if (!s.length) {
294
295
  console.warn("tagDom is empty");
295
296
  return;
296
297
  }
297
- const l = r ? se : oe;
298
- this._currentBlinkInstance = l(n, g({
298
+ const r = o ? se : oe;
299
+ this._currentBlinkInstance = r(s, b({
299
300
  begin: () => {
300
- r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
301
+ o === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
301
302
  },
302
303
  updateRender: () => {
303
304
  this.five.needsRender = !0;
@@ -305,12 +306,12 @@ class Ji {
305
306
  }, e));
306
307
  try {
307
308
  yield this._currentBlinkInstance.finished;
308
- } catch (c) {
309
- console.debug("Blink animation interrupted:", c);
309
+ } catch (u) {
310
+ console.debug("Blink animation interrupted:", u);
310
311
  } finally {
311
312
  this._currentBlinkInstance = void 0;
312
313
  }
313
- i === !1 && (this.enabled = !1, this.updateVisible()), t === !1 && this.updateVisible(), r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
314
+ i === !1 && (this.enabled = !1, this.updateVisible()), t === !1 && this.updateVisible(), o === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
314
315
  });
315
316
  }
316
317
  /**
@@ -358,7 +359,7 @@ class Ji {
358
359
  * @param deepMerge 是否深度合并 data,默认为 true
359
360
  */
360
361
  setData(e, i = !0) {
361
- i ? this.data = y(this.data, e) : this.data = g(g({}, this.data), e), this.hooks.emit("dataChanged", this.data);
362
+ i ? this.data = P(this.data, e) : this.data = b(b({}, this.data), e), this.hooks.emit("dataChanged", this.data);
362
363
  }
363
364
  /**
364
365
  * @description 修改标签位置
@@ -371,7 +372,7 @@ class Ji {
371
372
  * @param deepMerge 是否深度合并 data,默认为 true
372
373
  */
373
374
  set(e, i = !0) {
374
- this.plugin.tagsLengthWillUpdate = !0, i ? y(this, e) : Object.assign(this, e), this.cache.clear();
375
+ this.plugin.tagsLengthWillUpdate = !0, i ? P(this, e) : Object.assign(this, e), this.cache.clear();
375
376
  }
376
377
  updateConfig() {
377
378
  var t;
@@ -379,8 +380,8 @@ class Ji {
379
380
  this.computedConfig = e;
380
381
  const i = this.getConfig();
381
382
  if (this.config = i, this.config.initialData) {
382
- const r = JSON.parse(JSON.stringify(this.data));
383
- this.data = (t = i.initialData) != null && t.important ? y(this.data, r, i.initialData) : y(this.data, i.initialData, r);
383
+ const o = JSON.parse(JSON.stringify(this.data));
384
+ this.data = (t = i.initialData) != null && t.important ? P(this.data, o, i.initialData) : P(this.data, i.initialData, o);
384
385
  }
385
386
  this.cache.clear();
386
387
  }
@@ -392,13 +393,13 @@ class Ji {
392
393
  this.zIndex = Math.round((1e4 - (e != null ? e : 0)) * 100);
393
394
  }
394
395
  getConfig(e, i) {
395
- var l, o, s;
396
- const t = T(e != null ? e : this, this.plugin.config, { useCache: i == null ? void 0 : i.useCache }), r = (l = i == null ? void 0 : i.fiveMode) != null ? l : this.five.getCurrentState().mode, n = (o = t.configWithFiveMode) == null ? void 0 : o[r];
397
- return (s = n != null ? n : t) != null ? s : {};
396
+ var r, a, n;
397
+ const t = S(e != null ? e : this, this.plugin.config, { useCache: i == null ? void 0 : i.useCache }), o = (r = i == null ? void 0 : i.fiveMode) != null ? r : this.five.getCurrentState().mode, s = (a = t.configWithFiveMode) == null ? void 0 : a[o];
398
+ return (n = s != null ? s : t) != null ? n : {};
398
399
  }
399
400
  getDistance(e, i = 3) {
400
- const t = g(g({}, this.five.getCurrentState()), e), { panoIndex: r, mode: n } = t, l = n === "Panorama" ? this.workUtil.getObserverPosition(r) : this.five.camera.position, o = this.centerPosition;
401
- return !l || !o ? -1 : l.distanceTo(o);
401
+ const t = b(b({}, this.five.getCurrentState()), e), { panoIndex: o, mode: s } = t, r = s === "Panorama" ? this.workUtil.getObserverPosition(o) : this.five.camera.position, a = this.centerPosition;
402
+ return !r || !a ? -1 : r.distanceTo(a);
402
403
  }
403
404
  /**
404
405
  * @description 用于排序的距离,性能更好
@@ -406,14 +407,14 @@ class Ji {
406
407
  getSquaredDistance() {
407
408
  const e = this.five.camera.position;
408
409
  let i;
409
- return Array.isArray(this.position[0]) ? i = this.position[0] : i = this.position, k(i[0] - e.x, 2) + k(i[1] - e.y, 2) + k(i[2] - e.z, 2);
410
+ return Array.isArray(this.position[0]) ? i = this.position[0] : i = this.position, I(i[0] - e.x, 2) + I(i[1] - e.y, 2) + I(i[2] - e.z, 2);
410
411
  }
411
412
  getVisible(e) {
412
413
  if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model)
413
414
  return !1;
414
- const i = g(g({}, this.five.getCurrentState()), e);
415
+ const i = b(b({}, this.five.getCurrentState()), e);
415
416
  let t = this.cache.getVisible(this, i);
416
- return R(t) && (t = this.computeVisible(i).value, this.cache.setVisible(this, i, t)), t;
417
+ return _(t) && (t = this.computeVisible(i).value, this.cache.setVisible(this, i, t)), t;
417
418
  }
418
419
  getUnfoldedByPanoIndex(e) {
419
420
  if (!this.currentVisible)
@@ -425,8 +426,8 @@ class Ji {
425
426
  return this.currentVisible ? this.computeUnfoldedByCamera() : void 0;
426
427
  }
427
428
  can(e) {
428
- var t, r;
429
- if ((e === "fold" || e === "unfold") && ((r = (t = this.currentConfig) == null ? void 0 : t.popoverConfig) == null ? void 0 : r.enabled) === !0)
429
+ var t, o;
430
+ if ((e === "fold" || e === "unfold") && ((o = (t = this.currentConfig) == null ? void 0 : t.popoverConfig) == null ? void 0 : o.enabled) === !0)
430
431
  return !1;
431
432
  const i = this.currentConfig;
432
433
  if (!i || typeof i != "object")
@@ -455,89 +456,89 @@ class Ji {
455
456
  if (!i || typeof i != "object" || !i.renderType)
456
457
  return;
457
458
  const t = this.data.mediaData;
458
- if ((!t || t.length === 0) && N(this))
459
+ if ((!t || t.length === 0) && W(this))
459
460
  return i.renderType;
460
461
  if (i.renderType === "Mesh") {
461
- if (N(this)) {
462
+ if (W(this)) {
462
463
  if (t.length === 1) {
463
464
  if (t[0].type === "Video")
464
465
  return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && navigator.userAgent.toLowerCase().indexOf("mobile") > -1 ? "Dom" : "Mesh";
465
466
  if (t[0].type === "Image")
466
467
  return J(t[0].url) === "gif" ? "Dom" : "Mesh";
467
468
  }
468
- } else if (V(this))
469
+ } else if (B(this))
469
470
  return t.length === 1 && t[0].type === "Image" ? J(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
470
471
  }
471
472
  })();
472
473
  return e != null ? e : "Dom";
473
474
  }
474
475
  computeVisible(e) {
475
- const i = g(g({}, this.five.getCurrentState()), e), { panoIndex: t, mode: r } = i, n = [];
476
+ const i = b(b({}, this.five.getCurrentState()), e), { panoIndex: t, mode: o } = i, s = [];
476
477
  return (() => {
477
- var d, v, m, c;
478
- const s = (d = this.getConfig().visibleConfig) != null ? d : {};
479
- if (typeof s == "function")
478
+ var f, p, c, u;
479
+ const n = (f = this.getConfig().visibleConfig) != null ? f : {};
480
+ if (typeof n == "function")
480
481
  return {
481
- value: s(this.five, { tag: this, distance: this.getDistance(i, void 0) }),
482
- checkedList: n,
482
+ value: n(this.five, { tag: this, distance: this.getDistance(i, void 0) }),
483
+ checkedList: s,
483
484
  reason: "config function result"
484
485
  };
485
486
  {
486
- if (s.keep === "hidden")
487
- return { value: !1, checkedList: n, reason: "config.keep is hidden" };
488
- if (s.keep === "visible")
489
- return { value: !0, checkedList: n, reason: "config.keep is visible" };
490
- const h = this.computeVisibleByFiveMode(s, r);
487
+ if (n.keep === "hidden")
488
+ return { value: !1, checkedList: s, reason: "config.keep is hidden" };
489
+ if (n.keep === "visible")
490
+ return { value: !0, checkedList: s, reason: "config.keep is visible" };
491
+ const h = this.computeVisibleByFiveMode(n, o);
491
492
  if ((h == null ? void 0 : h.value) === !1)
492
493
  return h;
493
- if (s.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (r === "Floorplan" || r === "Mapview")) {
494
- const p = this.computeVisibleByFloorIndex(), { value: f } = p, b = A(p, ["value"]);
495
- if (f === !1)
496
- return g({ value: !1, checkedList: n, reason: "followModelVisibility check failed" }, b);
494
+ if (n.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (o === "Floorplan" || o === "Mapview")) {
495
+ const m = this.computeVisibleByFloorIndex(), { value: d } = m, v = O(m, ["value"]);
496
+ if (d === !1)
497
+ return b({ value: !1, checkedList: s, reason: "followModelVisibility check failed" }, v);
497
498
  }
498
- if (S(r) && s.visiblePanoIndex !== void 0 && s.visiblePanoIndex !== "all" && t !== void 0) {
499
- if (n.push("visiblePanoIndex"), Array.isArray(s.visiblePanoIndex) && !s.visiblePanoIndex.includes(t))
499
+ if (V(o) && n.visiblePanoIndex !== void 0 && n.visiblePanoIndex !== "all" && t !== void 0) {
500
+ if (s.push("visiblePanoIndex"), Array.isArray(n.visiblePanoIndex) && !n.visiblePanoIndex.includes(t))
500
501
  return {
501
502
  value: !1,
502
- checkedList: n,
503
- reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${s.visiblePanoIndex}`
503
+ checkedList: s,
504
+ reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${t}, visiblePanoIndex: ${n.visiblePanoIndex}`
504
505
  };
505
- if (s.visiblePanoIndex === "current" && t !== ((v = this.fiveState) == null ? void 0 : v.panoIndex))
506
+ if (n.visiblePanoIndex === "current" && t !== ((p = this.fiveState) == null ? void 0 : p.panoIndex))
506
507
  return {
507
508
  value: !1,
508
- checkedList: n,
509
- reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(m = this.fiveState) == null ? void 0 : m.panoIndex}`
509
+ checkedList: s,
510
+ reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${t}, tag.panoIndex: ${(c = this.fiveState) == null ? void 0 : c.panoIndex}`
510
511
  };
511
512
  }
512
- if (s.visibleDistance !== void 0 && (n.push("visibleDistance"), s.visibleDistance !== "unLimited")) {
513
- const f = this.getDistance(i, 1);
514
- if (I(f, s.visibleDistance) === !1)
513
+ if (n.visibleDistance !== void 0 && (s.push("visibleDistance"), n.visibleDistance !== "unLimited")) {
514
+ const d = this.getDistance(i, 1);
515
+ if (k(d, n.visibleDistance) === !1)
515
516
  return {
516
517
  value: !1,
517
- checkedList: n,
518
+ checkedList: s,
518
519
  panoIndex: t,
519
- visibleDistance: s.visibleDistance,
520
- reason: `distance is not in visibleDistance. distance: ${f}, visibleDistance: ${s.visibleDistance.min} - ${s.visibleDistance.max}`
520
+ visibleDistance: n.visibleDistance,
521
+ reason: `distance is not in visibleDistance. distance: ${d}, visibleDistance: ${n.visibleDistance.min} - ${n.visibleDistance.max}`
521
522
  };
522
523
  }
523
- if (s.intersectRaycaster !== !1 && (typeof s.intersectRaycaster != "object" || s.intersectRaycaster.enabled !== !1)) {
524
- if (n.push("intersectRaycaster"), t === void 0)
524
+ if (n.intersectRaycaster !== !1 && (typeof n.intersectRaycaster != "object" || n.intersectRaycaster.enabled !== !1)) {
525
+ if (s.push("intersectRaycaster"), t === void 0)
525
526
  return {
526
527
  value: !1,
527
- checkedList: n,
528
+ checkedList: s,
528
529
  reason: `intersectRaycaster check failed: panoIndex is ${t}`
529
530
  };
530
- if (t === ((c = this.fiveState) == null ? void 0 : c.panoIndex))
531
- n.push("intersectCheckSkiped");
531
+ if (t === ((u = this.fiveState) == null ? void 0 : u.panoIndex))
532
+ s.push("intersectCheckSkiped");
532
533
  else {
533
- const f = this.computeVisibleByIntersect(t);
534
- if (f.value === !1)
535
- return Object.assign(f, { checkedList: n });
534
+ const d = this.computeVisibleByIntersect(t);
535
+ if (d.value === !1)
536
+ return Object.assign(d, { checkedList: s });
536
537
  }
537
538
  }
538
539
  return {
539
540
  value: !0,
540
- checkedList: n,
541
+ checkedList: s,
541
542
  reason: "all check passed"
542
543
  };
543
544
  }
@@ -548,28 +549,28 @@ class Ji {
548
549
  */
549
550
  computeVisibleByFiveMode(e, i) {
550
551
  const t = () => {
551
- var l, o;
552
- let n = typeof e.visibleFiveMode == "function" ? e.visibleFiveMode(this) : e.visibleFiveMode;
553
- if (n || (n = (o = (l = this.fiveState) == null ? void 0 : l.mode) != null ? o : this.workUtil.observers.length ? "Panorama" : "ModelLike"), Array.isArray(n))
554
- return n.includes(i);
555
- if (n === "ModelLike")
556
- return P(i);
557
- if (n === "PanoramaLike")
558
- return !S(i);
559
- if (n === "all")
552
+ var r, a;
553
+ let s = typeof e.visibleFiveMode == "function" ? e.visibleFiveMode(this) : e.visibleFiveMode;
554
+ if (s || (s = (a = (r = this.fiveState) == null ? void 0 : r.mode) != null ? a : this.workUtil.observers.length ? "Panorama" : "ModelLike"), Array.isArray(s))
555
+ return s.includes(i);
556
+ if (s === "ModelLike")
557
+ return M(i);
558
+ if (s === "PanoramaLike")
559
+ return !V(i);
560
+ if (s === "all")
560
561
  return !0;
561
- if (typeof n == "string")
562
- return n === i;
562
+ if (typeof s == "string")
563
+ return s === i;
563
564
  };
564
565
  if ((() => {
565
- var l;
566
- const n = t();
567
- if (_((l = this.fiveState) == null ? void 0 : l.panoIndex) && e.entryFromModel) {
568
- if (P(i) && n ? this.entryFromModel = !1 : this.entryFromModel = !0, P(i))
566
+ var r;
567
+ const s = t();
568
+ if (L((r = this.fiveState) == null ? void 0 : r.panoIndex) && e.entryFromModel) {
569
+ if (M(i) && s ? this.entryFromModel = !1 : this.entryFromModel = !0, M(i))
569
570
  return !0;
570
571
  } else
571
572
  this.entryFromModel = !1;
572
- return n;
573
+ return s;
573
574
  })() === !1)
574
575
  return {
575
576
  value: !1,
@@ -580,55 +581,55 @@ class Ji {
580
581
  }
581
582
  /** 通过射线检测标签可用性 */
582
583
  computeVisibleByIntersect(e) {
583
- var s, d, p, v;
584
- const i = H(H((s = this.getConfig().visibleConfig) != null ? s : {}).intersectRaycaster), t = e != null ? e : this.five.getCurrentState().panoIndex, r = S(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
585
- if (r === void 0)
584
+ var n, f, m, p;
585
+ const i = H(H((n = this.getConfig().visibleConfig) != null ? n : {}).intersectRaycaster), t = e != null ? e : this.five.getCurrentState().panoIndex, o = V(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
586
+ if (o === void 0)
586
587
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
587
- const n = ne(
588
+ const s = ne(
588
589
  (() => {
589
- var c;
590
- const m = (c = i.checkPoints) != null ? c : "center";
591
- return m === "center" ? z(this) : m === "corner" ? $(this) : Array.isArray(m) ? m : [];
590
+ var u;
591
+ const c = (u = i.checkPoints) != null ? u : "center";
592
+ return c === "center" ? z(this) : c === "corner" ? N(this) : Array.isArray(c) ? c : [];
592
593
  })()
593
594
  );
594
- let l = 0, o = 0;
595
- for (const m of n) {
596
- const c = new E.Vector3().subVectors(m, r).normalize();
595
+ let r = 0, a = 0;
596
+ for (const c of s) {
597
+ const u = new y.Vector3().subVectors(c, o).normalize();
597
598
  let h;
598
- B.set(r, c);
599
- const [f] = this.fiveUtil.model.intersectRaycaster(B);
600
- h = f == null ? void 0 : f.distance;
601
- const b = (() => {
602
- if (!V(this))
599
+ D.set(o, u);
600
+ const [d] = this.fiveUtil.model.intersectRaycaster(D);
601
+ h = d == null ? void 0 : d.distance;
602
+ const v = (() => {
603
+ if (!B(this))
603
604
  return;
604
- const X = this.plugin.tags.filter(V).map((G) => {
605
- var F;
606
- return (F = G.model) == null ? void 0 : F.object;
607
- }).filter(_), [Z] = B.intersectObjects(X, !0);
605
+ const X = this.plugin.tags.filter(B).map((G) => {
606
+ var j;
607
+ return (j = G.model) == null ? void 0 : j.object;
608
+ }).filter(L), [Z] = D.intersectObjects(X, !0);
608
609
  return Z;
609
- })(), x = r.distanceTo(m), W = (d = i.distanceAccuracy) != null ? d : 0.01;
610
- h = Math.min(h != null ? h : 1 / 0, (p = b == null ? void 0 : b.distance) != null ? p : 1 / 0), h + W >= x ? l++ : o++;
611
- const q = (v = i.needPassed) != null ? v : 1;
612
- if (l >= q)
610
+ })(), C = o.distanceTo(c), F = (f = i.distanceAccuracy) != null ? f : 0.01;
611
+ h = Math.min(h != null ? h : 1 / 0, (m = v == null ? void 0 : v.distance) != null ? m : 1 / 0), h + F >= C ? r++ : a++;
612
+ const q = (p = i.needPassed) != null ? p : 1;
613
+ if (r >= q)
613
614
  return { value: !0 };
614
615
  }
615
- return o === 0 ? { value: !0 } : {
616
+ return a === 0 ? { value: !0 } : {
616
617
  value: !1,
617
618
  reason: {
618
619
  type: "intersectRaycaster check failed",
619
- passedCount: l,
620
+ passedCount: r,
620
621
  needPassed: i.needPassed,
621
622
  model: this.fiveUtil.model.name
622
623
  }
623
624
  };
624
625
  }
625
626
  computeVisibleByFloorIndex() {
626
- var r, n, l, o, s, d, p;
627
+ var o, s, r, a, n, f, m;
627
628
  let e = 0;
628
- const i = (r = this.fiveState) == null ? void 0 : r.panoIndex;
629
- i !== void 0 ? e = (n = this.workUtil.getObserver(i)) == null ? void 0 : n.floorIndex : e = fe(
629
+ const i = (o = this.fiveState) == null ? void 0 : o.panoIndex;
630
+ i !== void 0 ? e = (s = this.workUtil.getObserver(i)) == null ? void 0 : s.floorIndex : e = fe(
630
631
  this.workUtil.work,
631
- (p = (d = (o = (l = this.model) == null ? void 0 : l.object) == null ? void 0 : o.position) != null ? d : (s = this.mediaPlane) == null ? void 0 : s.position) != null ? p : z(this)
632
+ (m = (f = (a = (r = this.model) == null ? void 0 : r.object) == null ? void 0 : a.position) != null ? f : (n = this.mediaPlane) == null ? void 0 : n.position) != null ? m : z(this)
632
633
  );
633
634
  const t = this.fiveUtil.model.shownFloor;
634
635
  return {
@@ -649,13 +650,14 @@ class Ji {
649
650
  return !1;
650
651
  if (i.keep === "unfolded")
651
652
  return !0;
652
- if (i.unfoldDistance && I(this.getDistance({ panoIndex: e }), i.unfoldDistance) === !1)
653
+ if (i.unfoldDistance && k(this.getDistance({ panoIndex: e }), i.unfoldDistance) === !1)
653
654
  return !1;
654
655
  }
655
656
  }
657
+ // 该方法有很大优化空间,这个检测显示方法不应该挂在tagBase下,做了多次不必要计算(MinimumDistance,ScreenCenter)。
656
658
  computeUnfoldedByCamera() {
657
- var i;
658
- if (this.entryFromModel && P(this.five.state.mode))
659
+ var i, t;
660
+ if (this.entryFromModel && M(this.five.state.mode))
659
661
  return !1;
660
662
  const e = this.getConfig().unfoldedConfig;
661
663
  if (e) {
@@ -665,53 +667,81 @@ class Ji {
665
667
  return !1;
666
668
  if (e.keep === "unfolded")
667
669
  return !0;
668
- if (e.autoUnfold === void 0 || e.autoUnfold === !1 || e.autoUnfold.enable === !1 || !e.autoUnfold.strategy)
670
+ if (typeof e != "object" || e.autoUnfold === void 0 || e.autoUnfold === !1 || e.autoUnfold.enable === !1 || !e.autoUnfold.strategy)
669
671
  return;
670
672
  if (e.autoUnfold.strategy === "ScreenPostion") {
671
- const t = this.computeTagProject();
672
- if (t && I(t.x, e.autoUnfold.autoUnfoldProjectX) === !1)
673
+ const o = this.computeTagProject();
674
+ if (o && k(o.x, e.autoUnfold.autoUnfoldProjectX) === !1)
673
675
  return !1;
674
676
  }
675
677
  if (e.autoUnfold.strategy === "MinimumDistance") {
676
- const n = this.plugin.filterPointTag.filter((o) => o.currentVisible).filter((o) => {
677
- const s = this.computeTagProject();
678
- if (!s)
678
+ const r = this.plugin.filterPointTag.filter((n) => n.currentVisible).filter((n) => {
679
+ const f = this.computeTagProject();
680
+ if (!f)
681
+ return !1;
682
+ const { x: m, y: p, z: c } = f;
683
+ return !(Math.abs(c) > 1 || Math.abs(m) > 1 || Math.abs(p) > 1);
684
+ }).map((n) => ({ tag: n, id: n.id, tagConfig: n.getConfig().unfoldedConfig })).filter(({ tagConfig: n }) => {
685
+ var f, m;
686
+ return !(typeof n == "function" || n.keep || n.autoUnfold === !1 || ((f = n.autoUnfold) == null ? void 0 : f.enable) === !1 || ((m = n.autoUnfold) == null ? void 0 : m.strategy) !== "MinimumDistance");
687
+ }).map((n) => U(b({}, n), { distance: n.tag.getDistance() })).filter(({ distance: n, tagConfig: f }) => {
688
+ const m = f.autoUnfold.distance;
689
+ return !(m && k(n, m) === !1);
690
+ }).sort((n, f) => n.distance - f.distance).findIndex((n) => n.id === this.id);
691
+ if (r === -1 || r <= ((i = e.autoUnfold.maxNumber) != null ? i : 1) - 1 === !1)
692
+ return !1;
693
+ }
694
+ if (e.autoUnfold.strategy === "FoldWhenMove")
695
+ return !1;
696
+ if (e.autoUnfold.strategy === "ScreenCenter") {
697
+ const o = this.plugin.filterPointTag, s = new y.Matrix4();
698
+ s.multiplyMatrices(this.five.camera.projectionMatrix, this.five.camera.matrixWorldInverse);
699
+ const r = new y.Frustum();
700
+ r.setFromProjectionMatrix(s);
701
+ const a = this.five.camera.getWorldDirection(new y.Vector3()), f = o.filter((p) => {
702
+ var d, v;
703
+ if (!p.currentVisible)
704
+ return !1;
705
+ const c = p.getConfig().unfoldedConfig;
706
+ if (p.manuallyOperated || typeof c != "object" || (c == null ? void 0 : c.autoUnfold) === !1 || ((d = c == null ? void 0 : c.autoUnfold) == null ? void 0 : d.strategy) !== "ScreenCenter" || c.keep || ((v = c.autoUnfold) == null ? void 0 : v.enable) === !1 || !r.containsPoint(new y.Vector3().fromArray(p.position)))
679
707
  return !1;
680
- const { x: d, y: p, z: v } = s;
681
- return !(Math.abs(v) > 1 || Math.abs(d) > 1 || Math.abs(p) > 1);
682
- }).map((o) => ({ tag: o, id: o.id, tagConfig: o.getConfig().unfoldedConfig })).filter(({ tagConfig: o }) => {
683
- var s, d;
684
- return !(typeof o == "function" || o.keep || o.autoUnfold === !1 || ((s = o.autoUnfold) == null ? void 0 : s.enable) === !1 || ((d = o.autoUnfold) == null ? void 0 : d.strategy) !== "MinimumDistance");
685
- }).map((o) => w(g({}, o), { distance: o.tag.getDistance() })).filter(({ distance: o, tagConfig: s }) => {
686
- const d = s.autoUnfold.distance;
687
- return !(d && I(o, d) === !1);
688
- }).sort((o, s) => o.distance - s.distance).findIndex((o) => o.id === this.id);
689
- if (n === -1 || n <= ((i = e.autoUnfold.maxNumber) != null ? i : 1) - 1 === !1)
708
+ const h = c.autoUnfold.distance;
709
+ if (h) {
710
+ const C = p.getDistance();
711
+ if (k(C, h) === !1)
712
+ return !1;
713
+ }
714
+ return !0;
715
+ }).sort((p, c) => {
716
+ const u = new y.Vector3().fromArray(p.position), h = new y.Vector3().fromArray(c.position);
717
+ return a.angleTo(u.sub(this.five.camera.position)) - a.angleTo(h.sub(this.five.camera.position));
718
+ }).findIndex((p) => p.id === this.id);
719
+ if (f === -1 || f <= ((t = e.autoUnfold.maxNumber) != null ? t : 1) - 1 === !1)
690
720
  return !1;
691
721
  }
692
- return e.autoUnfold.strategy !== "FoldWhenMove";
722
+ return !0;
693
723
  }
694
724
  }
695
725
  computeTagProject() {
696
726
  const e = this.centerPosition;
697
727
  if (!e)
698
728
  return;
699
- const { x: i, y: t, z: r } = e.project(this.five.camera);
700
- if (!(r > 1))
701
- return { x: i, y: t, z: r };
729
+ const { x: i, y: t, z: o } = e.project(this.five.camera);
730
+ if (!(o > 1))
731
+ return { x: i, y: t, z: o };
702
732
  }
703
733
  addObjectClickHandler(e, i, t) {
704
734
  if (!i || !this.plugin.domEvents)
705
735
  return () => {
706
736
  };
707
- const r = () => !(!e.currentVisible || e.loading), n = (l) => {
708
- if (!r())
737
+ const o = () => !(!e.currentVisible || e.loading), s = (r) => {
738
+ if (!o())
709
739
  return !1;
710
- t(l.origDomEvent);
740
+ t(r.origDomEvent);
711
741
  };
712
- return this.plugin.domEvents.addEventListener(i, "click", n), () => {
713
- var l;
714
- (l = this.plugin.domEvents) == null || l.removeEventListener(i, "click", n);
742
+ return this.plugin.domEvents.addEventListener(i, "click", s), () => {
743
+ var r;
744
+ (r = this.plugin.domEvents) == null || r.removeEventListener(i, "click", s);
715
745
  };
716
746
  }
717
747
  whyHide() {
@@ -722,7 +752,7 @@ class Ji {
722
752
  return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
723
753
  if (!this.enabled)
724
754
  return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
725
- const e = w(g({}, this.computeVisible()), {
755
+ const e = U(b({}, this.computeVisible()), {
726
756
  tagInstance: this
727
757
  });
728
758
  return e.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: e } : this.state.visible ? { reason: "应该是能看见才对", info: e } : e.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: e } : { reason: (i = e.reason.type) != null ? i : e.reason, info: e };
@@ -731,13 +761,13 @@ class Ji {
731
761
  * @description 销毁并移除
732
762
  */
733
763
  destroy() {
734
- var i, t, r, n;
735
- const e = this.plugin.tags.findIndex((l) => l.id === this.id);
764
+ var i, t, o, s;
765
+ const e = this.plugin.tags.findIndex((r) => r.id === this.id);
736
766
  if (e === -1) {
737
767
  console.warn(`Destroy failed: tag ${this.id} not found`);
738
768
  return;
739
769
  }
740
- this._currentBlinkInstance && !this._currentBlinkInstance.completed && ((t = (i = this._currentBlinkInstance).preComplete) == null || t.call(i), this._currentBlinkInstance = void 0), this.disable(), (n = (r = this.tag3DContentSvelte) == null ? void 0 : r.dispose) == null || n.call(r), this.hooks.off(), this.cache.clear(), this.plugin.tags.splice(e, 1), this.plugin.tagsLengthWillUpdate = !0, this.plugin.hooks.emit("tagsLengthChange");
770
+ this._currentBlinkInstance && !this._currentBlinkInstance.completed && ((t = (i = this._currentBlinkInstance).preComplete) == null || t.call(i), this._currentBlinkInstance = void 0), this.disable(), (s = (o = this.tag3DContentSvelte) == null ? void 0 : o.dispose) == null || s.call(o), this.hooks.off(), this.cache.clear(), this.plugin.tags.splice(e, 1), this.plugin.tagsLengthWillUpdate = !0, this.plugin.hooks.emit("tagsLengthChange");
741
771
  }
742
772
  /**
743
773
  * @description 判断 popover 是否在配置上启用(永久配置)
@@ -755,5 +785,5 @@ class Ji {
755
785
  }
756
786
  }
757
787
  export {
758
- Ji as BaseTag
788
+ Wi as BaseTag
759
789
  };