@realsee/dnalogel 3.1.2 → 3.2.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. package/dist/index.cjs.js +10 -10
  2. package/dist/index.js +90 -93
  3. package/dist/index.umd.js +16 -16
  4. package/docs/.nojekyll +1 -0
  5. package/docs/assets/highlight.css +120 -0
  6. package/docs/assets/main.js +58 -0
  7. package/docs/assets/search.js +1 -0
  8. package/docs/assets/style.css +1367 -0
  9. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +725 -0
  10. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +678 -0
  11. package/docs/classes/CSS3DRender.html +773 -0
  12. package/docs/classes/CruisePluginController.html +672 -0
  13. package/docs/classes/GuideLineItem.GuideLineItem.html +491 -0
  14. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +792 -0
  15. package/docs/classes/Magnifier.html +480 -0
  16. package/docs/classes/ModelRoomLabelController.html +398 -0
  17. package/docs/classes/Object3DHelperController.html +640 -0
  18. package/docs/classes/PaintBrush.html +502 -0
  19. package/docs/classes/PanoMeasurePluginLine.html +522 -0
  20. package/docs/classes/PanoMeasurePluginModel.html +571 -0
  21. package/docs/classes/PanoMeasurePluginPoint.html +362 -0
  22. package/docs/classes/PanoMeasurePluginPolyline.html +567 -0
  23. package/docs/classes/PanoTagPluginController.html +1050 -0
  24. package/docs/classes/Util.BetterTween.html +416 -0
  25. package/docs/classes/Util.Interval.html +432 -0
  26. package/docs/classes/Util.LineSegments.html +384 -0
  27. package/docs/classes/Util.Magnifier.html +503 -0
  28. package/docs/classes/Util.Object3D.html +406 -0
  29. package/docs/classes/Util.PointDomHelper.html +407 -0
  30. package/docs/classes/Util.PointHelper.html +398 -0
  31. package/docs/classes/Util.PointSelectorHelper.html +454 -0
  32. package/docs/classes/Util.Rectangle.html +455 -0
  33. package/docs/enums/CameraMovementEffect.html +310 -0
  34. package/docs/enums/ContentType.html +446 -0
  35. package/docs/enums/DIRECTION.html +320 -0
  36. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +320 -0
  37. package/docs/enums/DimensionType.html +310 -0
  38. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +313 -0
  39. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +320 -0
  40. package/docs/enums/PaintBrushTypeEnum.html +313 -0
  41. package/docs/enums/PointType.html +310 -0
  42. package/docs/enums/Rotation.html +317 -0
  43. package/docs/functions/AreaMakerPlugin.html +290 -0
  44. package/docs/functions/CSS3DRenderPlugin.html +288 -0
  45. package/docs/functions/CameraMovementPlugin.html +293 -0
  46. package/docs/functions/CruisePlugin.html +290 -0
  47. package/docs/functions/CurrentPanoImagePlugin.html +290 -0
  48. package/docs/functions/GuideLinePlugin.html +290 -0
  49. package/docs/functions/ItemLabelPlugin.html +290 -0
  50. package/docs/functions/MapviewFloorplanPlugin.html +290 -0
  51. package/docs/functions/ModelChassisCompassPlugin.html +293 -0
  52. package/docs/functions/ModelEntryDoorGuidePlugin.html +293 -0
  53. package/docs/functions/ModelFloorplanPlugin.html +290 -0
  54. package/docs/functions/ModelItemLabelPlugin.html +290 -0
  55. package/docs/functions/ModelRoomLabelPlugin.html +288 -0
  56. package/docs/functions/ModelTVVideoPlugin.html +290 -0
  57. package/docs/functions/ModelViewPlugin.html +293 -0
  58. package/docs/functions/Object3DHelperPlugin.html +288 -0
  59. package/docs/functions/PanoCompassPlugin.html +290 -0
  60. package/docs/functions/PanoCursorRaycasterPlugin.html +294 -0
  61. package/docs/functions/PanoDoorLabelPlugin.html +290 -0
  62. package/docs/functions/PanoFloorplanRadarPlugin.html +290 -0
  63. package/docs/functions/PanoMeasurePlugin.html +290 -0
  64. package/docs/functions/PanoRulerPlugin.html +293 -0
  65. package/docs/functions/PanoRulerProPlugin.html +293 -0
  66. package/docs/functions/PanoSpatialTagPlugin.html +293 -0
  67. package/docs/functions/PanoTagPlugin.html +295 -0
  68. package/docs/functions/PanoVideoPlugin.html +299 -0
  69. package/docs/functions/PipelinePlugin.html +288 -0
  70. package/docs/functions/TopviewFloorplanPlugin.html +290 -0
  71. package/docs/functions/Util.absoluteUrl.html +326 -0
  72. package/docs/functions/Util.checkFiveModelLoaded.html +329 -0
  73. package/docs/functions/Util.equal.html +338 -0
  74. package/docs/functions/Util.getCoordsFromClient.html +328 -0
  75. package/docs/functions/Util.getCoordsFromElement.html +328 -0
  76. package/docs/functions/Util.getFrameTime.html +320 -0
  77. package/docs/functions/Util.getIntersectFromRelativePosition.html +328 -0
  78. package/docs/functions/Util.getRaycasterFromFivePointer.html +328 -0
  79. package/docs/functions/Util.isAbsoluteURL.html +321 -0
  80. package/docs/functions/Util.isModelLike.html +321 -0
  81. package/docs/functions/Util.isNil.html +329 -0
  82. package/docs/functions/Util.isPanoramaLike.html +321 -0
  83. package/docs/functions/Util.nextFrame.html +334 -0
  84. package/docs/functions/Util.notNil.html +329 -0
  85. package/docs/functions/Util.requestAnimationFrameInterval.html +350 -0
  86. package/docs/functions/Util.tweenProgress.html +323 -0
  87. package/docs/functions/Util.uuid.html +319 -0
  88. package/docs/functions/pluginFlag.html +288 -0
  89. package/docs/index.html +354 -0
  90. package/docs/interfaces/AddTagConfig.html +303 -0
  91. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +329 -0
  92. package/docs/interfaces/AreaMakerPluginType.Config.html +334 -0
  93. package/docs/interfaces/AreaMakerPluginType.EventMap.html +620 -0
  94. package/docs/interfaces/AreaMakerPluginType.Params.html +333 -0
  95. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +383 -0
  96. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +368 -0
  97. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +333 -0
  98. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +326 -0
  99. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +325 -0
  100. package/docs/interfaces/AreaMakerPluginType.State.html +354 -0
  101. package/docs/interfaces/CSS3DRenderPluginEventMap.html +449 -0
  102. package/docs/interfaces/CSS3DRenderPluginState.html +325 -0
  103. package/docs/interfaces/CameraMovementPluginExportType.html +358 -0
  104. package/docs/interfaces/CruisePluginTypes.Config.html +359 -0
  105. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +361 -0
  106. package/docs/interfaces/CruisePluginTypes.EventMap.html +696 -0
  107. package/docs/interfaces/CruisePluginTypes.MoveAction.html +385 -0
  108. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +421 -0
  109. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +411 -0
  110. package/docs/interfaces/CruisePluginTypes.PluginData.html +351 -0
  111. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +319 -0
  112. package/docs/interfaces/CruisePluginTypes.PluginState.html +408 -0
  113. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +382 -0
  114. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +521 -0
  115. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +323 -0
  116. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +315 -0
  117. package/docs/interfaces/CurrentPanoImagePluginType.State.html +337 -0
  118. package/docs/interfaces/EventMap.html +542 -0
  119. package/docs/interfaces/FloorplanBounding.html +332 -0
  120. package/docs/interfaces/FloorplanData.html +335 -0
  121. package/docs/interfaces/FloorplanEntrance.html +360 -0
  122. package/docs/interfaces/FloorplanExtraObject.html +350 -0
  123. package/docs/interfaces/FloorplanExtraObject3D.html +339 -0
  124. package/docs/interfaces/FloorplanFloorData.html +328 -0
  125. package/docs/interfaces/FloorplanImagePosition.html +314 -0
  126. package/docs/interfaces/FloorplanObserver.html +332 -0
  127. package/docs/interfaces/FloorplanOutlineItem.html +328 -0
  128. package/docs/interfaces/FloorplanPosition.html +314 -0
  129. package/docs/interfaces/FloorplanRoomItem.html +379 -0
  130. package/docs/interfaces/FloorplanRoomLabelItem.html +320 -0
  131. package/docs/interfaces/FloorplanServerBounding.html +332 -0
  132. package/docs/interfaces/FloorplanServerComputedData.html +331 -0
  133. package/docs/interfaces/FloorplanServerData.html +314 -0
  134. package/docs/interfaces/FloorplanServerDoorItem.html +331 -0
  135. package/docs/interfaces/FloorplanServerDoorPosition.html +317 -0
  136. package/docs/interfaces/FloorplanServerEntrance.html +360 -0
  137. package/docs/interfaces/FloorplanServerFloorData.html +328 -0
  138. package/docs/interfaces/FloorplanServerImagePosition.html +314 -0
  139. package/docs/interfaces/FloorplanServerObserver.html +332 -0
  140. package/docs/interfaces/FloorplanServerOutlineItem.html +328 -0
  141. package/docs/interfaces/FloorplanServerPosition.html +314 -0
  142. package/docs/interfaces/FloorplanServerRoomItem.html +391 -0
  143. package/docs/interfaces/FloorplanServerRoomLabelItem.html +320 -0
  144. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +323 -0
  145. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +361 -0
  146. package/docs/interfaces/GuideLinePluginType.EventMap.html +525 -0
  147. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +356 -0
  148. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +347 -0
  149. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +414 -0
  150. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +346 -0
  151. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +471 -0
  152. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +343 -0
  153. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +471 -0
  154. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +308 -0
  155. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +329 -0
  156. package/docs/interfaces/GuideLinePluginType.PluginState.html +354 -0
  157. package/docs/interfaces/GuideLinePluginType.Route.html +370 -0
  158. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +352 -0
  159. package/docs/interfaces/HelperOffset.html +332 -0
  160. package/docs/interfaces/ImagePlaneGroup.html +306 -0
  161. package/docs/interfaces/ItemLabelPluginData.html +303 -0
  162. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +388 -0
  163. package/docs/interfaces/ItemLabelPluginParametersType.html +324 -0
  164. package/docs/interfaces/MinMax.html +310 -0
  165. package/docs/interfaces/ModelChassisCompassPluginData.html +310 -0
  166. package/docs/interfaces/ModelChassisCompassPluginExportType.html +346 -0
  167. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +310 -0
  168. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +317 -0
  169. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +354 -0
  170. package/docs/interfaces/ModelItemLabelPluginData.html +303 -0
  171. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +388 -0
  172. package/docs/interfaces/ModelItemLabelPluginParametersType.html +310 -0
  173. package/docs/interfaces/ModelRoomLabelPluginData.html +303 -0
  174. package/docs/interfaces/ModelTVVideoPluginData.html +324 -0
  175. package/docs/interfaces/ModelTVVideoPluginExportType.html +348 -0
  176. package/docs/interfaces/ModelTVVideoPluginParameterType.html +303 -0
  177. package/docs/interfaces/ModelViewPluginExportType.html +416 -0
  178. package/docs/interfaces/Object3DHelperState.html +317 -0
  179. package/docs/interfaces/ObjectHelperControllers.html +324 -0
  180. package/docs/interfaces/PaintBrushAction.html +363 -0
  181. package/docs/interfaces/PaintBrushConfigs.html +361 -0
  182. package/docs/interfaces/PaintBrushState.html +345 -0
  183. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +425 -0
  184. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +282 -0
  185. package/docs/interfaces/PanoMeasureParameterType.html +449 -0
  186. package/docs/interfaces/PanoMeasurePluginLineJson.html +317 -0
  187. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +314 -0
  188. package/docs/interfaces/PanoMeasurePluginPointJson.html +310 -0
  189. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +320 -0
  190. package/docs/interfaces/PanoRulerPluginExportType.html +377 -0
  191. package/docs/interfaces/PanoRulerPluginOptions.html +326 -0
  192. package/docs/interfaces/PanoRulerPluginParameterType.html +317 -0
  193. package/docs/interfaces/PanoRulerProPluginExportType.html +353 -0
  194. package/docs/interfaces/PanoRulerProPluginOptions.html +323 -0
  195. package/docs/interfaces/PanoRulerProPluginParameterType.html +310 -0
  196. package/docs/interfaces/PanoRulerProPluginState.html +317 -0
  197. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +296 -0
  198. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +285 -0
  199. package/docs/interfaces/PanoSpatialTagPluginData.html +353 -0
  200. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +335 -0
  201. package/docs/interfaces/PanoSpatialTagPluginExportType.html +431 -0
  202. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +331 -0
  203. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +352 -0
  204. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +338 -0
  205. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +331 -0
  206. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +323 -0
  207. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +341 -0
  208. package/docs/interfaces/PanoVideoPluginType.PluginData.html +314 -0
  209. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +420 -0
  210. package/docs/interfaces/PanoVideoPluginType.PluginState.html +314 -0
  211. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +349 -0
  212. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +368 -0
  213. package/docs/interfaces/Point.html +317 -0
  214. package/docs/interfaces/Room.html +324 -0
  215. package/docs/interfaces/RoomInfo.html +310 -0
  216. package/docs/interfaces/RoomLabel.html +386 -0
  217. package/docs/interfaces/RoomRules.html +285 -0
  218. package/docs/interfaces/Rooms.html +285 -0
  219. package/docs/interfaces/Scissor.html +344 -0
  220. package/docs/interfaces/State.html +331 -0
  221. package/docs/interfaces/TagCacheInterface.html +362 -0
  222. package/docs/interfaces/TagConfig.html +565 -0
  223. package/docs/interfaces/TagGLTFObjectGroup.html +306 -0
  224. package/docs/interfaces/TagIconUrl.html +363 -0
  225. package/docs/interfaces/TagObjectGroup.html +306 -0
  226. package/docs/interfaces/TagStyle.html +316 -0
  227. package/docs/interfaces/Tags.html +2688 -0
  228. package/docs/interfaces/TemporaryState.html +303 -0
  229. package/docs/interfaces/Util.MagnifierParameter.html +391 -0
  230. package/docs/interfaces/Util.MouseGroupParameter.html +350 -0
  231. package/docs/interfaces/Util.PointIntersection.html +365 -0
  232. package/docs/modules/AreaMakerPluginType.html +323 -0
  233. package/docs/modules/CruisePluginTypes.html +328 -0
  234. package/docs/modules/CurrentPanoImagePluginType.html +297 -0
  235. package/docs/modules/GuideLineItem.html +289 -0
  236. package/docs/modules/GuideLineModeItem.html +294 -0
  237. package/docs/modules/GuideLinePluginType.html +348 -0
  238. package/docs/modules/PanoVideoPluginType.html +301 -0
  239. package/docs/modules/Util.html +351 -0
  240. package/docs/modules.html +540 -0
  241. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +331 -0
  242. package/docs/types/AreaMakerPluginType.PluginData.html +301 -0
  243. package/docs/types/AreaMakerPluginType.ServerData.html +301 -0
  244. package/docs/types/ArrayPosition.html +279 -0
  245. package/docs/types/AudioAppearance.html +279 -0
  246. package/docs/types/AudioTagTypeConfigKey.html +279 -0
  247. package/docs/types/CSS3DRenderExportType.html +279 -0
  248. package/docs/types/CSS3DRenderPluginExportType.html +279 -0
  249. package/docs/types/CSS3DRenderPluginParameterType.html +279 -0
  250. package/docs/types/ClassFunctionParameters.html +286 -0
  251. package/docs/types/Color.html +279 -0
  252. package/docs/types/ContentTypeConfigKey.html +279 -0
  253. package/docs/types/ContentTypeConfigKeySplit.html +279 -0
  254. package/docs/types/ContentTypeMap.html +279 -0
  255. package/docs/types/Create3DDomContainerReturnType.html +279 -0
  256. package/docs/types/Create3DElementReturnType.html +279 -0
  257. package/docs/types/CruisePluginExportType.html +279 -0
  258. package/docs/types/CruisePluginTypes.CruiseData.html +318 -0
  259. package/docs/types/CruisePluginTypes.MoveEffect.html +295 -0
  260. package/docs/types/CurrentPanoImagePluginExportType.html +279 -0
  261. package/docs/types/DeprecatedMediaPlaneProperty.html +291 -0
  262. package/docs/types/DeprecatedTagProperty.html +294 -0
  263. package/docs/types/Direction-1.html +279 -0
  264. package/docs/types/Direction4.html +279 -0
  265. package/docs/types/ElementRenderer.html +303 -0
  266. package/docs/types/FloorplanRuleLabels.html +282 -0
  267. package/docs/types/FloorplanServerRuleLabels.html +279 -0
  268. package/docs/types/GuideLinePluginExportType.html +279 -0
  269. package/docs/types/GuideLinePluginType.GuideLineItem.html +351 -0
  270. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +372 -0
  271. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +305 -0
  272. package/docs/types/GuideLinePluginType.GuideLineStyle.html +308 -0
  273. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +308 -0
  274. package/docs/types/GuideLinePluginType.PathItem.html +308 -0
  275. package/docs/types/GuideLinePluginType.PluginData.html +317 -0
  276. package/docs/types/HelperEventMap.html +517 -0
  277. package/docs/types/LoadTagConfig.html +279 -0
  278. package/docs/types/MapviewFloorplanPluginParameterType.html +279 -0
  279. package/docs/types/MapviewFloorplanPluginReturnType.html +279 -0
  280. package/docs/types/MediaData.html +295 -0
  281. package/docs/types/MediaStore.html +284 -0
  282. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +286 -0
  283. package/docs/types/ModelFloorplanPluginParameterType.html +279 -0
  284. package/docs/types/ModelFloorplanPluginReturnType.html +279 -0
  285. package/docs/types/ModelId.html +279 -0
  286. package/docs/types/ModelRoomLabelPluginParameters.html +279 -0
  287. package/docs/types/ModelRoomLabelPluginReturnType.html +279 -0
  288. package/docs/types/MoveArgs.html +289 -0
  289. package/docs/types/MoveOpts.html +287 -0
  290. package/docs/types/Object3DHelperEventMap.html +372 -0
  291. package/docs/types/ObjectFit.html +279 -0
  292. package/docs/types/PaintBrushEventMap.html +310 -0
  293. package/docs/types/PanoCompassPluginData.html +279 -0
  294. package/docs/types/PanoCompassPluginExportType.html +279 -0
  295. package/docs/types/PanoCompassPluginParameterType.html +279 -0
  296. package/docs/types/PanoFloorplanRadarPluginParameterType.html +279 -0
  297. package/docs/types/PanoFloorplanRadarPluginReturnType.html +279 -0
  298. package/docs/types/PanoIndex.html +279 -0
  299. package/docs/types/PanoMeasurePluginEvent.html +279 -0
  300. package/docs/types/PanoMeasureReturnType.html +279 -0
  301. package/docs/types/PanoSpatialTagPluginId.html +279 -0
  302. package/docs/types/PanoTagPluginExportInterface.html +279 -0
  303. package/docs/types/PanoTagPluginParamsInterface.html +279 -0
  304. package/docs/types/PanoVideoPluginParameterType.html +279 -0
  305. package/docs/types/PanoVideoPluginReturnType.html +279 -0
  306. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +287 -0
  307. package/docs/types/PipelinePluginParameterType.html +279 -0
  308. package/docs/types/PipelinePluginReturnType.html +279 -0
  309. package/docs/types/PlaneTag.html +287 -0
  310. package/docs/types/Point2DTag.html +287 -0
  311. package/docs/types/Point3DTag.html +287 -0
  312. package/docs/types/PointTag.html +284 -0
  313. package/docs/types/PointTagInstance.html +284 -0
  314. package/docs/types/Position.html +279 -0
  315. package/docs/types/RotateArgs.html +291 -0
  316. package/docs/types/RotateOpts.html +287 -0
  317. package/docs/types/RuleLabelsKey.html +279 -0
  318. package/docs/types/RuleLabelsValue.html +279 -0
  319. package/docs/types/StickType.html +279 -0
  320. package/docs/types/Tag.html +345 -0
  321. package/docs/types/Tag2D.html +287 -0
  322. package/docs/types/Tag3D.html +287 -0
  323. package/docs/types/TagConfigByKey.html +284 -0
  324. package/docs/types/TagContentType.html +279 -0
  325. package/docs/types/TagDimensionType.html +281 -0
  326. package/docs/types/TagElement.html +289 -0
  327. package/docs/types/TagEvents.html +332 -0
  328. package/docs/types/TagGLTFObject.html +302 -0
  329. package/docs/types/TagHooks.html +279 -0
  330. package/docs/types/TagId.html +279 -0
  331. package/docs/types/TagInstance.html +353 -0
  332. package/docs/types/TagPointType.html +282 -0
  333. package/docs/types/TagRendererMap.html +284 -0
  334. package/docs/types/TopviewFloorplanPluginParameterType.html +279 -0
  335. package/docs/types/TopviewFloorplanPluginReturnType.html +279 -0
  336. package/docs/types/WorkCode.html +279 -0
  337. package/docs/variables/FLOOR_TYPE_MAP.html +289 -0
  338. package/docs/variables/PLUGIN.html +279 -0
  339. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +282 -0
  340. package/docs/variables/ROOM_TYPE_MAP.html +289 -0
  341. package/docs/variables/defaultGlobalConfig.html +279 -0
  342. package/docs/variables/itemLabelPluginServerParams.html +286 -0
  343. package/docs/variables/modelItemLabelPluginServerParams.html +286 -0
  344. package/docs/variables/modelRoomLabelPluginServerParams.html +286 -0
  345. package/libs/PanoTagPlugin/controller/TagComputer.js +73 -77
  346. package/libs/PanoTagPlugin/controller/TagRender.js +81 -82
  347. package/libs/PanoTagPlugin/controller/index.js +32 -30
  348. package/libs/base/BasePlugin.js +1 -1
  349. package/libs/shared-utils/logger.js +1 -1
  350. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ import dl from "animejs";
39
39
  import { GLTFLoader as Zf } from "@realsee/five/gltf-loader";
40
40
  function qf() {
41
41
  console.debug(
42
- "%c %c@realsee/dnalogel %cv3.1.2",
42
+ "%c %c@realsee/dnalogel %cv3.2.0-dev.0",
43
43
  [
44
44
  "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=')",
45
45
  "background-repeat: no-repeat",
@@ -1145,7 +1145,7 @@ const _E = (n, t) => {
1145
1145
  enabled: e
1146
1146
  });
1147
1147
  return Object.assign(window, { camera: c }), n.on("modelLoaded", g), n.on("modelWillLoad", p), n.on("cameraDirectionUpdate", B), n.on("dispose", G), n.on("renderFrame", Q), n.on("cameraPositionUpdate", B), { appendTo: I, refresh: C, changeConfigs: Y, enable: b, disable: y, getCurrentState: R };
1148
- }, fm = ({ x: n, y: t, z: e }) => new ne(n, t, e), Mt = (n) => new ne().fromArray(n), hn = (n) => n instanceof ne ? n : Array.isArray(n) ? Mt(n) : fm(n);
1148
+ }, fm = ({ x: n, y: t, z: e }) => new ne(n, t, e), kt = (n) => new ne().fromArray(n), hn = (n) => n instanceof ne ? n : Array.isArray(n) ? kt(n) : fm(n);
1149
1149
  function mm(n) {
1150
1150
  if (n)
1151
1151
  return Array.isArray(n) ? typeof n[0] == "number" ? hn(n) : n.map(hn) : hn(n);
@@ -1830,11 +1830,11 @@ class Sm {
1830
1830
  return this.xInterval.contains(t.xInterval) && this.yInterval.contains(t.yInterval);
1831
1831
  }
1832
1832
  }
1833
- function Et(n) {
1833
+ function Tt(n) {
1834
1834
  return n.toLowerCase().includes("panorama");
1835
1835
  }
1836
1836
  function pn(n) {
1837
- return !Et(n);
1837
+ return !Tt(n);
1838
1838
  }
1839
1839
  function Tm(n) {
1840
1840
  return n.model ? n.work ? n.model.loaded ? n.model.name !== n.work.model.file ? { result: !1, msg: "five.model.name 与 five.work.model.file 不一致" } : { result: !0, msg: "" } : { result: !1, msg: "five.model 未加载完成" } : { result: !1, msg: "five 数据未加载" } : { result: !1, msg: "five.model 不存在" };
@@ -2331,7 +2331,7 @@ const YE = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2331
2331
  isAbsoluteURL: Jh,
2332
2332
  isModelLike: pn,
2333
2333
  isNil: Xh,
2334
- isPanoramaLike: Et,
2334
+ isPanoramaLike: Tt,
2335
2335
  nextFrame: Mo,
2336
2336
  notNil: si,
2337
2337
  requestAnimationFrameInterval: Sn,
@@ -7085,7 +7085,7 @@ let Vn = class {
7085
7085
  /**
7086
7086
  * @realsee/dnalogel 版本号
7087
7087
  */
7088
- u(this, "VERSION", "3.1.2");
7088
+ u(this, "VERSION", "3.2.0-dev.0");
7089
7089
  u(this, "five");
7090
7090
  /**
7091
7091
  * 插件事件钩子
@@ -7108,7 +7108,7 @@ let Vn = class {
7108
7108
  }
7109
7109
  }, oi = class extends Vn {
7110
7110
  };
7111
- var kt = /* @__PURE__ */ ((n) => (n.UnknownError = "UnknownError", n.DataNotLoaded = "DataNotLoaded", n.BreakOffByHide = "BreakOffByHide", n.BreakOffByDisable = "BreakOffByDisable", n.ModelNotLoaded = "ModelNotLoaded", n.ChangeModeError = "ChangeModeError", n.UpdateCameraError = "UpdateCameraError", n))(kt || {});
7111
+ var Et = /* @__PURE__ */ ((n) => (n.UnknownError = "UnknownError", n.DataNotLoaded = "DataNotLoaded", n.BreakOffByHide = "BreakOffByHide", n.BreakOffByDisable = "BreakOffByDisable", n.ModelNotLoaded = "ModelNotLoaded", n.ChangeModeError = "ChangeModeError", n.UpdateCameraError = "UpdateCameraError", n))(Et || {});
7112
7112
  const wu = 500, wA = 80;
7113
7113
  function Cn(n, t, e = 4) {
7114
7114
  return Math.abs(n - t) < Math.pow(10, -e);
@@ -7175,7 +7175,7 @@ function Pu(n, t, e = !0) {
7175
7175
  )
7176
7176
  ), [c] = yield bn(n.updateCamera(wn(t, ["mode"]), l, e));
7177
7177
  if (c)
7178
- throw new Error(kt.UpdateCameraError);
7178
+ throw new Error(Et.UpdateCameraError);
7179
7179
  });
7180
7180
  }
7181
7181
  function In(n, t, e = 300) {
@@ -7272,7 +7272,7 @@ let kA = class extends oi {
7272
7272
  u(this, "_disable", (e) => {
7273
7273
  var s, o, r;
7274
7274
  const { userAction: i } = e;
7275
- this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, kt.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
7275
+ this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, Et.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
7276
7276
  });
7277
7277
  u(this, "_enable", (e) => {
7278
7278
  const { userAction: i } = e;
@@ -7283,9 +7283,9 @@ let kA = class extends oi {
7283
7283
  if (!this.state.enabled)
7284
7284
  return;
7285
7285
  if (!((r = this.five.model) != null && r.loaded))
7286
- throw new Error(kt.ModelNotLoaded);
7286
+ throw new Error(Et.ModelNotLoaded);
7287
7287
  if (!this.data)
7288
- throw new Error(kt.DataNotLoaded);
7288
+ throw new Error(Et.DataNotLoaded);
7289
7289
  if (this.showPromise)
7290
7290
  return this.showPromise;
7291
7291
  const i = {
@@ -7304,7 +7304,7 @@ let kA = class extends oi {
7304
7304
  if (c)
7305
7305
  throw c;
7306
7306
  if (a)
7307
- throw l ? new Error(l) : new Error(kt.UnknownError);
7307
+ throw l ? new Error(l) : new Error(Et.UnknownError);
7308
7308
  this.updateSize(), this.floorIndex = s.floorIndex, this.five.model.show(this.floorIndex);
7309
7309
  });
7310
7310
  return this.isHiddenByHideFunc = !1, this.showPromise = o().then(() => {
@@ -7321,7 +7321,7 @@ let kA = class extends oi {
7321
7321
  }));
7322
7322
  u(this, "_hide", (e) => {
7323
7323
  var o;
7324
- (o = this.showRejection) == null || o.call(this, kt.BreakOffByHide), this.showPromise = void 0;
7324
+ (o = this.showRejection) == null || o.call(this, Et.BreakOffByHide), this.showPromise = void 0;
7325
7325
  const s = V(V({}, {
7326
7326
  userAction: !0,
7327
7327
  isAutoHide: !1
@@ -7607,7 +7607,7 @@ let DA = class extends oi {
7607
7607
  u(this, "_disable", (e) => {
7608
7608
  var s, o, r;
7609
7609
  const { userAction: i } = e;
7610
- this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, kt.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
7610
+ this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, Et.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
7611
7611
  });
7612
7612
  u(this, "_enable", (e) => {
7613
7613
  const { userAction: i } = e;
@@ -7618,9 +7618,9 @@ let DA = class extends oi {
7618
7618
  if (!this.state.enabled)
7619
7619
  return;
7620
7620
  if (!((r = this.five.model) != null && r.loaded))
7621
- throw new Error(kt.ModelNotLoaded);
7621
+ throw new Error(Et.ModelNotLoaded);
7622
7622
  if (!this.data)
7623
- throw new Error(kt.DataNotLoaded);
7623
+ throw new Error(Et.DataNotLoaded);
7624
7624
  if (this.showPromise)
7625
7625
  return this.showPromise;
7626
7626
  const i = {
@@ -7639,7 +7639,7 @@ let DA = class extends oi {
7639
7639
  if (c)
7640
7640
  throw c;
7641
7641
  if (a)
7642
- throw l ? new Error(l) : new Error(kt.UnknownError);
7642
+ throw l ? new Error(l) : new Error(Et.UnknownError);
7643
7643
  this.updateSize(), this.updatePosition(), this.floorIndex = s.floorIndex, this.five.model.show(this.floorIndex);
7644
7644
  });
7645
7645
  return this.isHiddenByHideFunc = !1, this.showPromise = o().then(() => {
@@ -7656,7 +7656,7 @@ let DA = class extends oi {
7656
7656
  }));
7657
7657
  u(this, "_hide", (e) => {
7658
7658
  var o;
7659
- (o = this.showRejection) == null || o.call(this, kt.BreakOffByHide), this.showPromise = void 0;
7659
+ (o = this.showRejection) == null || o.call(this, Et.BreakOffByHide), this.showPromise = void 0;
7660
7660
  const s = V(V({}, {
7661
7661
  userAction: !0,
7662
7662
  isAutoHide: !1
@@ -13833,7 +13833,7 @@ class F0 {
13833
13833
  return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((t = this.revoke) == null || t.dispose()), (e = this.mainController) == null || e.dispose(), this.disposers.forEach((i) => i()), this.disposers = [], this;
13834
13834
  }
13835
13835
  }
13836
- var xt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Re = {}, _0 = {
13836
+ var Mt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Re = {}, _0 = {
13837
13837
  get exports() {
13838
13838
  return Re;
13839
13839
  },
@@ -15002,12 +15002,12 @@ const Br = 1e-3, Nc = 0.01, mb = "https://vrlab-image4.ljcdn.com/release/web/Pan
15002
15002
  };
15003
15003
  let Be;
15004
15004
  for (let Ge = 0, Xe = Ee.length; Ge < Xe; Ge++) {
15005
- const Dt = Ee[Ge];
15006
- if (It.weight > Dt.weight) {
15005
+ const xt = Ee[Ge];
15006
+ if (It.weight > xt.weight) {
15007
15007
  Be = Ge;
15008
15008
  break;
15009
15009
  }
15010
- if (It.distance < Dt.distance) {
15010
+ if (It.distance < xt.distance) {
15011
15011
  Be = Ge;
15012
15012
  break;
15013
15013
  }
@@ -15033,7 +15033,7 @@ const Br = 1e-3, Nc = 0.01, mb = "https://vrlab-image4.ljcdn.com/release/web/Pan
15033
15033
  pt.distance + Nc
15034
15034
  ), [It] = p.intersectObjects ? Ct.intersectObjects(p.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(Ct) : Ct.intersectObjects(n.model.children, !0);
15035
15035
  if (It && pt.distance - It.distance < Nc) {
15036
- const { position: Be, normal: Ge, id: Xe, replacement: Dt } = pt, Gn = new P.Plane().setFromNormalAndCoplanarPoint(Ge, Be), Rt = Be.clone().sub(ge.position).cross(new P.Vector3(0, 1, 0)).setLength(Br), ri = [
15036
+ const { position: Be, normal: Ge, id: Xe, replacement: xt } = pt, Gn = new P.Plane().setFromNormalAndCoplanarPoint(Ge, Be), Rt = Be.clone().sub(ge.position).cross(new P.Vector3(0, 1, 0)).setLength(Br), ri = [
15037
15037
  Be.clone(),
15038
15038
  Be.clone().add(Rt),
15039
15039
  Be.clone().add(new P.Vector3(0, Br, 0)).add(Rt),
@@ -15042,7 +15042,7 @@ const Br = 1e-3, Nc = 0.01, mb = "https://vrlab-image4.ljcdn.com/release/web/Pan
15042
15042
  target: Ii,
15043
15043
  props: {
15044
15044
  id: Xe,
15045
- content: p.render(p.template, Dt),
15045
+ content: p.render(p.template, xt),
15046
15046
  lineWidthZoom: 0.38 * (0.01 + ge.position.distanceTo(Be) / d),
15047
15047
  lineHeightZoom: 0.4 + (ge.position.distanceTo(Be) - c) / d * 0.6,
15048
15048
  contentZoom: 0.1 + ge.position.distanceTo(Be) / d,
@@ -16820,11 +16820,11 @@ function P1(n, t) {
16820
16820
  if (e.position.length === 4)
16821
16821
  e.position.forEach((r, a) => {
16822
16822
  const l = o[a], c = new P.Mesh(i, l);
16823
- c.position.copy(Mt(r)), s.push(c);
16823
+ c.position.copy(kt(r)), s.push(c);
16824
16824
  });
16825
16825
  else {
16826
16826
  const r = o[0], a = new P.Mesh(i, r);
16827
- a.position.copy(Mt(e.position)), s.push(a);
16827
+ a.position.copy(kt(e.position)), s.push(a);
16828
16828
  }
16829
16829
  s.forEach((r) => {
16830
16830
  r.material.depthTest = !1, n.scene.add(r);
@@ -17774,13 +17774,13 @@ class K1 extends _1 {
17774
17774
  */
17775
17775
  getDistance(e, i) {
17776
17776
  var c, d;
17777
- const s = V(V({}, this.five.getCurrentState()), i), { panoIndex: o, mode: r } = s, a = Et(r) ? this.getPanoIndexCache({ panoIndex: o, id: e.id }) : void 0;
17777
+ const s = V(V({}, this.five.getCurrentState()), i), { panoIndex: o, mode: r } = s, a = Tt(r) ? this.getPanoIndexCache({ panoIndex: o, id: e.id }) : void 0;
17778
17778
  if ((a == null ? void 0 : a.distance) !== void 0)
17779
17779
  return a.distance;
17780
17780
  const l = fs(e);
17781
17781
  if (!l)
17782
17782
  return -1;
17783
- if (Et(r)) {
17783
+ if (Tt(r)) {
17784
17784
  const h = (d = (c = this.five.work) == null ? void 0 : c.observers[o]) == null ? void 0 : d.position;
17785
17785
  if (h === void 0)
17786
17786
  return -1;
@@ -17796,7 +17796,7 @@ class K1 extends _1 {
17796
17796
  if (Ht(e))
17797
17797
  return e.data.mediaPosition;
17798
17798
  if (k1(e))
17799
- return T1(this.five.camera.position, Mt(e.position), Mt(e.normal));
17799
+ return T1(this.five.camera.position, kt(e.position), kt(e.normal));
17800
17800
  }
17801
17801
  addObjectClickHandler(e, i, s) {
17802
17802
  if (!i || !this.domEvents)
@@ -17814,7 +17814,7 @@ class K1 extends _1 {
17814
17814
  }
17815
17815
  getTagNormal(e) {
17816
17816
  if (e.normal)
17817
- return Mt(e.normal);
17817
+ return kt(e.normal);
17818
17818
  if (e.stickType === "Plane")
17819
17819
  return Vr(e.position);
17820
17820
  if (e.stickType === "Model")
@@ -17885,7 +17885,7 @@ class K1 extends _1 {
17885
17885
  const l = (b = e.config) != null && b._isMerged ? e.initialConfig : e.config, c = Re({}, Q1, this.config.globalConfig, ...Object.values(o)), d = Re({}, c, l), h = {}, f = Object.values($e.Mode);
17886
17886
  id(r).forEach(([y, I]) => {
17887
17887
  f.forEach((C) => {
17888
- (y === "PanoramaLike" && Et(C) || y === "ModelLike" && pn(C)) && (h[C] = Re({}, c, ...Object.values(I), l));
17888
+ (y === "PanoramaLike" && Tt(C) || y === "ModelLike" && pn(C)) && (h[C] = Re({}, c, ...Object.values(I), l));
17889
17889
  });
17890
17890
  }), id(a).forEach(([y, I]) => {
17891
17891
  h[y] = Re({}, c, ...Object.values(I), l);
@@ -17918,7 +17918,7 @@ class ey extends K1 {
17918
17918
  * @description: 获取是否可见
17919
17919
  */
17920
17920
  getVisible(t, e) {
17921
- const i = V(V({}, this.five.getCurrentState()), e), { panoIndex: s, mode: o } = i, r = Et(o) ? this.getPanoIndexCache({ panoIndex: s, id: t.id }) : void 0;
17921
+ const i = V(V({}, this.five.getCurrentState()), e), { panoIndex: s, mode: o } = i, r = Tt(o) ? this.getPanoIndexCache({ panoIndex: s, id: t.id }) : void 0;
17922
17922
  if ((r == null ? void 0 : r.visible) !== void 0)
17923
17923
  return r.visible;
17924
17924
  {
@@ -17934,7 +17934,7 @@ class ey extends K1 {
17934
17934
  if (c.visibleFiveMode !== void 0) {
17935
17935
  const m = typeof c.visibleFiveMode == "function" ? c.visibleFiveMode(t) : c.visibleFiveMode;
17936
17936
  let A = !1;
17937
- if (Array.isArray(m) ? A = m.includes(o) : m === "ModelLike" ? A = pn(o) : m === "PanoramaLike" ? A = !Et(o) : m === "all" ? A = !0 : typeof m == "string" && (A = m === o), A === !1)
17937
+ if (Array.isArray(m) ? A = m.includes(o) : m === "ModelLike" ? A = pn(o) : m === "PanoramaLike" ? A = !Tt(o) : m === "all" ? A = !0 : typeof m == "string" && (A = m === o), A === !1)
17938
17938
  return {
17939
17939
  value: !1,
17940
17940
  checkedList: a,
@@ -17945,7 +17945,7 @@ class ey extends K1 {
17945
17945
  }
17946
17946
  if (c.followModelVisibility === !0 && (o === "Floorplan" || o === "Mapview") && this.getVisibleByFloorIndex(t) === !1)
17947
17947
  return { value: !1, checkedList: a, reason: "followModelVisibility check failed" };
17948
- if (Et(o) && c.visiblePanoIndex !== void 0 && c.visiblePanoIndex !== "all" && s !== void 0) {
17948
+ if (Tt(o) && c.visiblePanoIndex !== void 0 && c.visiblePanoIndex !== "all" && s !== void 0) {
17949
17949
  if (a.push("visiblePanoIndex"), Array.isArray(c.visiblePanoIndex) && !c.visiblePanoIndex.includes(s))
17950
17950
  return {
17951
17951
  value: !1,
@@ -17959,7 +17959,7 @@ class ey extends K1 {
17959
17959
  reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${s}, tag.panoIndex: ${(f = t.fiveState) == null ? void 0 : f.panoIndex}`
17960
17960
  };
17961
17961
  }
17962
- if (Et(o) && c.visibleDistance !== void 0 && (a.push("visibleDistance"), c.visibleDistance !== "unLimited")) {
17962
+ if (c.visibleDistance !== void 0 && (a.push("visibleDistance"), c.visibleDistance !== "unLimited")) {
17963
17963
  const m = this.getDistance(t);
17964
17964
  if (ss(m, c.visibleDistance) === !1)
17965
17965
  return {
@@ -17968,7 +17968,7 @@ class ey extends K1 {
17968
17968
  reason: `distance is not in visibleDistance. distance: ${m}, visibleDistance: ${c.visibleDistance}`
17969
17969
  };
17970
17970
  }
17971
- if (Et(o) && c.angleRange && M1(t)) {
17971
+ if (Tt(o) && c.angleRange && M1(t)) {
17972
17972
  a.push("angleRange");
17973
17973
  const m = this.getAngle(t);
17974
17974
  if (ss(m, c.angleRange) === !1)
@@ -18079,21 +18079,17 @@ class ey extends K1 {
18079
18079
  setPointTagPosition() {
18080
18080
  const t = this.filterPointTag;
18081
18081
  t.length !== 0 && t.forEach((e) => {
18082
- const i = this.getCurrentVisibleState(e);
18083
- let s;
18084
- if (!i) {
18085
- s = setTimeout(() => {
18086
- i || (e.screenPosition = null);
18087
- }, 1e3);
18082
+ var r;
18083
+ const i = this.getCurrentVisibleState(e), s = (r = e.__Object__) != null ? r : {
18084
+ timeoutId: void 0,
18085
+ inAnimation: !0
18086
+ };
18087
+ if (e.__Object__ = s, !i && e.screenPosition ? (s.inAnimation = !0, s.timeoutId = setTimeout(() => {
18088
+ this.getCurrentVisibleState(e) || (s.inAnimation = !1, e.screenPosition = null);
18089
+ }, 1e3)) : s.timeoutId && (s.inAnimation = !1, clearTimeout(s.timeoutId)), !i && !s.inAnimation)
18088
18090
  return;
18089
- }
18090
- clearTimeout(s);
18091
18091
  const o = this.getTagProject(e);
18092
- if (!o) {
18093
- e.screenPosition = null;
18094
- return;
18095
- }
18096
- e.screenPosition = { leftPercent: (o.x + 1) / 2 * 100, topPercent: (-o.y + 1) / 2 * 100 };
18092
+ o ? e.screenPosition = { leftPercent: (o.x + 1) / 2 * 100, topPercent: (-o.y + 1) / 2 * 100 } : e.screenPosition = null;
18097
18093
  });
18098
18094
  }
18099
18095
  setVisible(t) {
@@ -18125,7 +18121,7 @@ class ey extends K1 {
18125
18121
  /** 通过射线检测标签可用性 */
18126
18122
  getTagEnableByIntersect(t, e) {
18127
18123
  var c, d, h, f, m, A;
18128
- const i = Io(Io((c = this.getTagConfig(t).visibleConfig) != null ? c : {}).intersectRaycaster), s = e != null ? e : this.five.getCurrentState().panoIndex, o = Et(this.five.getCurrentState().mode) ? (d = this.five.work.observers[s]) == null ? void 0 : d.position : this.five.camera.position;
18124
+ const i = Io(Io((c = this.getTagConfig(t).visibleConfig) != null ? c : {}).intersectRaycaster), s = e != null ? e : this.five.getCurrentState().panoIndex, o = Tt(this.five.getCurrentState().mode) ? (d = this.five.work.observers[s]) == null ? void 0 : d.position : this.five.camera.position;
18129
18125
  if (o === void 0)
18130
18126
  return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: s } };
18131
18127
  const r = Oh(
@@ -20672,7 +20668,7 @@ const gs = (n, t, e) => {
20672
20668
  }, Aa = (n) => (t) => {
20673
20669
  n[t] && n[t]();
20674
20670
  };
20675
- var Bw = "Expected a function", sf = "__lodash_hash_undefined__", of = 1 / 0, Rw = "[object Function]", Vw = "[object GeneratorFunction]", Qw = "[object Symbol]", Gw = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Nw = /^\w*$/, Hw = /^\./, Fw = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, _w = /[\\^$.*+?()[\]{}|]/g, Ww = /\\(\\)?/g, Yw = /^\[object .+?Constructor\]$/, Uw = typeof xt == "object" && xt && xt.Object === Object && xt, Xw = typeof self == "object" && self && self.Object === Object && self, $a = Uw || Xw || Function("return this")();
20671
+ var Bw = "Expected a function", sf = "__lodash_hash_undefined__", of = 1 / 0, Rw = "[object Function]", Vw = "[object GeneratorFunction]", Qw = "[object Symbol]", Gw = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Nw = /^\w*$/, Hw = /^\./, Fw = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, _w = /[\\^$.*+?()[\]{}|]/g, Ww = /\\(\\)?/g, Yw = /^\[object .+?Constructor\]$/, Uw = typeof Mt == "object" && Mt && Mt.Object === Object && Mt, Xw = typeof self == "object" && self && self.Object === Object && self, $a = Uw || Xw || Function("return this")();
20676
20672
  function Jw(n, t) {
20677
20673
  return n == null ? void 0 : n[t];
20678
20674
  }
@@ -20914,7 +20910,7 @@ var $s = TC, Po = {}, LC = {
20914
20910
  (function(n, t) {
20915
20911
  var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", f = "[object Map]", m = "[object Number]", A = "[object Object]", p = "[object Promise]", g = "[object RegExp]", b = "[object Set]", y = "[object String]", I = "[object Symbol]", C = "[object WeakMap]", x = "[object ArrayBuffer]", E = "[object DataView]", B = "[object Float32Array]", Q = "[object Float64Array]", G = "[object Int8Array]", Y = "[object Int16Array]", R = "[object Int32Array]", H = "[object Uint8Array]", F = "[object Uint8ClampedArray]", N = "[object Uint16Array]", W = "[object Uint32Array]", Z = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, $ = /^\[object .+?Constructor\]$/, ce = /^(?:0|[1-9]\d*)$/, oe = {};
20916
20912
  oe[o] = oe[r] = oe[x] = oe[E] = oe[a] = oe[l] = oe[B] = oe[Q] = oe[G] = oe[Y] = oe[R] = oe[f] = oe[m] = oe[A] = oe[g] = oe[b] = oe[y] = oe[I] = oe[H] = oe[F] = oe[N] = oe[W] = !0, oe[c] = oe[d] = oe[C] = !1;
20917
- var we = typeof xt == "object" && xt && xt.Object === Object && xt, Ie = typeof self == "object" && self && self.Object === Object && self, Ae = we || Ie || Function("return this")(), Oe = t && !t.nodeType && t, ve = Oe && !0 && n && !n.nodeType && n, _e = ve && ve.exports === Oe;
20913
+ var we = typeof Mt == "object" && Mt && Mt.Object === Object && Mt, Ie = typeof self == "object" && self && self.Object === Object && self, Ae = we || Ie || Function("return this")(), Oe = t && !t.nodeType && t, ve = Oe && !0 && n && !n.nodeType && n, _e = ve && ve.exports === Oe;
20918
20914
  function me(v, k) {
20919
20915
  return v.set(k[0], k[1]), v;
20920
20916
  }
@@ -20974,9 +20970,9 @@ var $s = TC, Po = {}, LC = {
20974
20970
  var pt = Array.prototype, Xt = Function.prototype, Ct = Object.prototype, It = Ae["__core-js_shared__"], Be = function() {
20975
20971
  var v = /[^.]+$/.exec(It && It.keys && It.keys.IE_PROTO || "");
20976
20972
  return v ? "Symbol(src)_1." + v : "";
20977
- }(), Ge = Xt.toString, Xe = Ct.hasOwnProperty, Dt = Ct.toString, Gn = RegExp(
20973
+ }(), Ge = Xt.toString, Xe = Ct.hasOwnProperty, xt = Ct.toString, Gn = RegExp(
20978
20974
  "^" + Ge.call(Xe).replace(Z, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
20979
- ), Rt = _e ? Ae.Buffer : void 0, ri = Ae.Symbol, Ii = Ae.Uint8Array, At = Ee(Object.getPrototypeOf, Object), Ni = Object.create, Hi = Ct.propertyIsEnumerable, Ho = pt.splice, Nn = Object.getOwnPropertySymbols, Fi = Rt ? Rt.isBuffer : void 0, Is = Ee(Object.keys, Object), _i = Tt(Ae, "DataView"), Pi = Tt(Ae, "Map"), St = Tt(Ae, "Promise"), Wi = Tt(Ae, "Set"), Hn = Tt(Ae, "WeakMap"), Ei = Tt(Object, "create"), Fn = ft(_i), ki = ft(Pi), _n = ft(St), Wn = ft(Wi), Yn = ft(Hn), ai = ri ? ri.prototype : void 0, Ps = ai ? ai.valueOf : void 0;
20975
+ ), Rt = _e ? Ae.Buffer : void 0, ri = Ae.Symbol, Ii = Ae.Uint8Array, At = Ee(Object.getPrototypeOf, Object), Ni = Object.create, Hi = Ct.propertyIsEnumerable, Ho = pt.splice, Nn = Object.getOwnPropertySymbols, Fi = Rt ? Rt.isBuffer : void 0, Is = Ee(Object.keys, Object), _i = St(Ae, "DataView"), Pi = St(Ae, "Map"), Dt = St(Ae, "Promise"), Wi = St(Ae, "Set"), Hn = St(Ae, "WeakMap"), Ei = St(Object, "create"), Fn = ft(_i), ki = ft(Pi), _n = ft(Dt), Wn = ft(Wi), Yn = ft(Hn), ai = ri ? ri.prototype : void 0, Ps = ai ? ai.valueOf : void 0;
20980
20976
  function Jt(v) {
20981
20977
  var k = -1, T = v ? v.length : 0;
20982
20978
  for (this.clear(); ++k < T; ) {
@@ -21151,7 +21147,7 @@ var $s = TC, Po = {}, LC = {
21151
21147
  return qn(v) ? U : ge(U, T(v));
21152
21148
  }
21153
21149
  function cr(v) {
21154
- return Dt.call(v);
21150
+ return xt.call(v);
21155
21151
  }
21156
21152
  function dr(v) {
21157
21153
  if (!Gt(v) || Cr(v))
@@ -21224,13 +21220,13 @@ var $s = TC, Po = {}, LC = {
21224
21220
  var T = v.__data__;
21225
21221
  return wr(k) ? T[typeof k == "string" ? "string" : "hash"] : T.map;
21226
21222
  }
21227
- function Tt(v, k) {
21223
+ function St(v, k) {
21228
21224
  var T = Me(v, k);
21229
21225
  return dr(T) ? T : void 0;
21230
21226
  }
21231
21227
  var Zt = Nn ? Ee(Nn, Object) : Pr, qt = cr;
21232
- (_i && qt(new _i(new ArrayBuffer(1))) != E || Pi && qt(new Pi()) != f || St && qt(St.resolve()) != p || Wi && qt(new Wi()) != b || Hn && qt(new Hn()) != C) && (qt = function(v) {
21233
- var k = Dt.call(v), T = k == A ? v.constructor : void 0, U = T ? ft(T) : void 0;
21228
+ (_i && qt(new _i(new ArrayBuffer(1))) != E || Pi && qt(new Pi()) != f || Dt && qt(Dt.resolve()) != p || Wi && qt(new Wi()) != b || Hn && qt(new Hn()) != C) && (qt = function(v) {
21229
+ var k = xt.call(v), T = k == A ? v.constructor : void 0, U = T ? ft(T) : void 0;
21234
21230
  if (U)
21235
21231
  switch (U) {
21236
21232
  case Fn:
@@ -21320,7 +21316,7 @@ var $s = TC, Po = {}, LC = {
21320
21316
  return v === k || v !== v && k !== k;
21321
21317
  }
21322
21318
  function Ji(v) {
21323
- return Ir(v) && Xe.call(v, "callee") && (!Hi.call(v, "callee") || Dt.call(v) == o);
21319
+ return Ir(v) && Xe.call(v, "callee") && (!Hi.call(v, "callee") || xt.call(v) == o);
21324
21320
  }
21325
21321
  var qn = Array.isArray;
21326
21322
  function Zi(v) {
@@ -21331,7 +21327,7 @@ var $s = TC, Po = {}, LC = {
21331
21327
  }
21332
21328
  var Ls = Fi || Er;
21333
21329
  function Kn(v) {
21334
- var k = Gt(v) ? Dt.call(v) : "";
21330
+ var k = Gt(v) ? xt.call(v) : "";
21335
21331
  return k == d || k == h;
21336
21332
  }
21337
21333
  function js(v) {
@@ -21367,7 +21363,7 @@ var Eo = {}, zC = {
21367
21363
  (function(n, t) {
21368
21364
  var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", f = "[object Error]", m = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", g = "[object Number]", b = "[object Null]", y = "[object Object]", I = "[object Promise]", C = "[object Proxy]", x = "[object RegExp]", E = "[object Set]", B = "[object String]", Q = "[object Symbol]", G = "[object Undefined]", Y = "[object WeakMap]", R = "[object ArrayBuffer]", H = "[object DataView]", F = "[object Float32Array]", N = "[object Float64Array]", W = "[object Int8Array]", Z = "[object Int16Array]", X = "[object Int32Array]", $ = "[object Uint8Array]", ce = "[object Uint8ClampedArray]", oe = "[object Uint16Array]", we = "[object Uint32Array]", Ie = /[\\^$.*+?()[\]{}|]/g, Ae = /^\[object .+?Constructor\]$/, Oe = /^(?:0|[1-9]\d*)$/, ve = {};
21369
21365
  ve[F] = ve[N] = ve[W] = ve[Z] = ve[X] = ve[$] = ve[ce] = ve[oe] = ve[we] = !0, ve[a] = ve[l] = ve[R] = ve[d] = ve[H] = ve[h] = ve[f] = ve[m] = ve[p] = ve[g] = ve[y] = ve[x] = ve[E] = ve[B] = ve[Y] = !1;
21370
- var _e = typeof xt == "object" && xt && xt.Object === Object && xt, me = typeof self == "object" && self && self.Object === Object && self, ye = _e || me || Function("return this")(), Le = t && !t.nodeType && t, ge = Le && !0 && n && !n.nodeType && n, Ze = ge && ge.exports === Le, ut = Ze && _e.process, Me = function() {
21366
+ var _e = typeof Mt == "object" && Mt && Mt.Object === Object && Mt, me = typeof self == "object" && self && self.Object === Object && self, ye = _e || me || Function("return this")(), Le = t && !t.nodeType && t, ge = Le && !0 && n && !n.nodeType && n, Ze = ge && ge.exports === Le, ut = Ze && _e.process, Me = function() {
21371
21367
  try {
21372
21368
  return ut && ut.binding && ut.binding("util");
21373
21369
  } catch (v) {
@@ -21424,12 +21420,12 @@ var Eo = {}, zC = {
21424
21420
  T[++k] = U;
21425
21421
  }), T;
21426
21422
  }
21427
- var Dt = Array.prototype, Gn = Function.prototype, Rt = Object.prototype, ri = ye["__core-js_shared__"], Ii = Gn.toString, At = Rt.hasOwnProperty, Ni = function() {
21423
+ var xt = Array.prototype, Gn = Function.prototype, Rt = Object.prototype, ri = ye["__core-js_shared__"], Ii = Gn.toString, At = Rt.hasOwnProperty, Ni = function() {
21428
21424
  var v = /[^.]+$/.exec(ri && ri.keys && ri.keys.IE_PROTO || "");
21429
21425
  return v ? "Symbol(src)_1." + v : "";
21430
21426
  }(), Hi = Rt.toString, Ho = RegExp(
21431
21427
  "^" + Ii.call(At).replace(Ie, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
21432
- ), Nn = Ze ? ye.Buffer : void 0, Fi = ye.Symbol, Is = ye.Uint8Array, _i = Rt.propertyIsEnumerable, Pi = Dt.splice, St = Fi ? Fi.toStringTag : void 0, Wi = Object.getOwnPropertySymbols, Hn = Nn ? Nn.isBuffer : void 0, Ei = Ge(Object.keys, Object), Fn = Zt(ye, "DataView"), ki = Zt(ye, "Map"), _n = Zt(ye, "Promise"), Wn = Zt(ye, "Set"), Yn = Zt(ye, "WeakMap"), ai = Zt(Object, "create"), Ps = ft(Fn), Jt = ft(ki), Fo = ft(_n), _o = ft(Wn), Wo = ft(Yn), Es = Fi ? Fi.prototype : void 0, Un = Es ? Es.valueOf : void 0;
21428
+ ), Nn = Ze ? ye.Buffer : void 0, Fi = ye.Symbol, Is = ye.Uint8Array, _i = Rt.propertyIsEnumerable, Pi = xt.splice, Dt = Fi ? Fi.toStringTag : void 0, Wi = Object.getOwnPropertySymbols, Hn = Nn ? Nn.isBuffer : void 0, Ei = Ge(Object.keys, Object), Fn = Zt(ye, "DataView"), ki = Zt(ye, "Map"), _n = Zt(ye, "Promise"), Wn = Zt(ye, "Set"), Yn = Zt(ye, "WeakMap"), ai = Zt(Object, "create"), Ps = ft(Fn), Jt = ft(ki), Fo = ft(_n), _o = ft(Wn), Wo = ft(Yn), Es = Fi ? Fi.prototype : void 0, Un = Es ? Es.valueOf : void 0;
21433
21429
  function qe(v) {
21434
21430
  var k = -1, T = v == null ? 0 : v.length;
21435
21431
  for (this.clear(); ++k < T; ) {
@@ -21505,17 +21501,17 @@ var Eo = {}, zC = {
21505
21501
  };
21506
21502
  }
21507
21503
  function nr(v) {
21508
- var k = Tt(this, v).delete(v);
21504
+ var k = St(this, v).delete(v);
21509
21505
  return this.size -= k ? 1 : 0, k;
21510
21506
  }
21511
21507
  function sr(v) {
21512
- return Tt(this, v).get(v);
21508
+ return St(this, v).get(v);
21513
21509
  }
21514
21510
  function or(v) {
21515
- return Tt(this, v).has(v);
21511
+ return St(this, v).has(v);
21516
21512
  }
21517
21513
  function rr(v, k) {
21518
- var T = Tt(this, v), U = T.size;
21514
+ var T = St(this, v), U = T.size;
21519
21515
  return T.set(v, k), this.size += T.size == U ? 0 : 1, this;
21520
21516
  }
21521
21517
  vt.prototype.clear = ir, vt.prototype.delete = nr, vt.prototype.get = sr, vt.prototype.has = or, vt.prototype.set = rr;
@@ -21580,7 +21576,7 @@ var Eo = {}, zC = {
21580
21576
  return Ji(v) ? U : Ee(U, T(v));
21581
21577
  }
21582
21578
  function Mi(v) {
21583
- return v == null ? v === void 0 ? G : b : St && St in Object(v) ? qt(v) : Ds(v);
21579
+ return v == null ? v === void 0 ? G : b : Dt && Dt in Object(v) ? qt(v) : Ds(v);
21584
21580
  }
21585
21581
  function Ms(v) {
21586
21582
  return Gt(v) && Mi(v) == a;
@@ -21727,7 +21723,7 @@ var Eo = {}, zC = {
21727
21723
  function xi(v) {
21728
21724
  return Jn(v, $n, vr);
21729
21725
  }
21730
- function Tt(v, k) {
21726
+ function St(v, k) {
21731
21727
  var T = v.__data__;
21732
21728
  return yr(k) ? T[typeof k == "string" ? "string" : "hash"] : T.map;
21733
21729
  }
@@ -21736,14 +21732,14 @@ var Eo = {}, zC = {
21736
21732
  return fr(T) ? T : void 0;
21737
21733
  }
21738
21734
  function qt(v) {
21739
- var k = At.call(v, St), T = v[St];
21735
+ var k = At.call(v, Dt), T = v[Dt];
21740
21736
  try {
21741
- v[St] = void 0;
21737
+ v[Dt] = void 0;
21742
21738
  var U = !0;
21743
21739
  } catch (pe) {
21744
21740
  }
21745
21741
  var Pe = Hi.call(v);
21746
- return U && (k ? v[St] = T : delete v[St]), Pe;
21742
+ return U && (k ? v[Dt] = T : delete v[Dt]), Pe;
21747
21743
  }
21748
21744
  var vr = Wi ? function(v) {
21749
21745
  return v == null ? [] : (v = Object(v), le(Wi(v), function(k) {
@@ -27714,8 +27710,8 @@ class e2 extends ey {
27714
27710
  const r = this.gltfObjectGroup.children.find((l) => l.customID === e.id);
27715
27711
  if (r && (this.gltfObjectGroup.remove(r), r.removeEventListener()), this.updateRender3DDomTag(), Ht(e)) {
27716
27712
  if (this.getRenderType(e) === "Mesh" && !e.mediaPlane) {
27717
- const l = e.data.mediaPosition.map(Mt);
27718
- e.mediaPlane = new ed(e.data.mediaData[0].url, e.data.mediaPosition.map(Mt), {
27713
+ const l = e.data.mediaPosition.map(kt);
27714
+ e.mediaPlane = new ed(e.data.mediaData[0].url, e.data.mediaPosition.map(kt), {
27719
27715
  objectFit: e.data.objectFit
27720
27716
  });
27721
27717
  const c = new ne().addVectors(l[0], l[2]).divideScalar(2);
@@ -27755,7 +27751,7 @@ class e2 extends ey {
27755
27751
  var s, o;
27756
27752
  return ((o = (s = i.data.mediaData) == null ? void 0 : s[0]) == null ? void 0 : o.type) === "Video";
27757
27753
  }).forEach((i) => {
27758
- var h, f, m, A, p;
27754
+ var h, f, m;
27759
27755
  const s = i.data.mediaData[0];
27760
27756
  if (!s)
27761
27757
  return;
@@ -27763,22 +27759,22 @@ class e2 extends ey {
27763
27759
  if (!o)
27764
27760
  return;
27765
27761
  i.mediaPlane && !((f = (h = i.state) == null ? void 0 : h.visible) == null || f) && i.mediaPlane instanceof pa && i.mediaPlane.pause();
27766
- const r = i.position.map(Mt), a = this.getCurrentVisibleState(i), l = (() => !!(i.mediaPlane && !a))(), c = (() => !!(!i.mediaPlane && a))(), d = (() => !!(i.mediaPlane && i.mediaPlane.src !== o))();
27767
- if ((l || d) && (i.mediaPlane && this.imagePlaneGroup.remove(i.mediaPlane), (m = i.mediaPlane) == null || m.dispose(), (A = i.mediaPlane) == null || A.removeFromParent(), i.mediaPlane = void 0), c || d) {
27768
- const g = new pa(o, r, {
27762
+ const r = i.position.map(kt), a = this.getCurrentVisibleState(i), l = (() => !!(i.mediaPlane && !a))(), c = (() => !!(!i.mediaPlane && a))(), d = (() => !!(i.mediaPlane && i.mediaPlane.src !== o))();
27763
+ if ((l || d) && i.mediaPlane && (this.imagePlaneGroup.remove(i.mediaPlane), i.mediaPlane.dispose(), i.mediaPlane.removeFromParent(), i.mediaPlane = void 0), c || d) {
27764
+ const A = new pa(o, r, {
27769
27765
  videoCoverSrc: s.videoCoverUrl,
27770
27766
  playButton: i.data.playIcon,
27771
- paused: !((p = i.data.autoplayConfig) != null && p.autoplayVideo),
27767
+ paused: !((m = i.data.autoplayConfig) != null && m.autoplayVideo),
27772
27768
  objectFit: i.data.objectFit,
27773
27769
  videoTextureMap: KP,
27774
27770
  ImageTextureMap: $P,
27775
27771
  domEvents: this.domEvents
27776
27772
  });
27777
- g.onVideoReady = (y) => {
27778
- y.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: g.videoInstance }));
27773
+ A.onVideoReady = (g) => {
27774
+ g.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: A.videoInstance }));
27779
27775
  };
27780
- const b = (y) => (this.five.on("renderFrame", y), () => this.five.off("renderFrame", y));
27781
- g.initialRenderHooks(b), i.mediaPlane = g, this.imagePlaneGroup.add(i.mediaPlane);
27776
+ const p = (g) => (this.five.on("renderFrame", g), () => this.five.off("renderFrame", g));
27777
+ A.initialRenderHooks(p), i.mediaPlane = A, this.imagePlaneGroup.add(i.mediaPlane);
27782
27778
  }
27783
27779
  });
27784
27780
  }
@@ -27790,13 +27786,12 @@ class e2 extends ey {
27790
27786
  var s, o;
27791
27787
  return ((o = (s = i.data.mediaData) == null ? void 0 : s[0]) == null ? void 0 : o.type) === "Image";
27792
27788
  }).forEach((i) => {
27793
- var d, h;
27794
27789
  const { url: s } = i.data.mediaData[0];
27795
27790
  if (!s)
27796
27791
  return;
27797
- const o = i.position.map(Mt), r = this.getCurrentVisibleState(i), a = (() => !!(i.mediaPlane && !r))(), l = (() => !!(!i.mediaPlane && r))(), c = (() => !!(i.mediaPlane && i.mediaPlane.src !== s))();
27798
- (a || c) && (i.mediaPlane && this.imagePlaneGroup.remove(i.mediaPlane), (d = i.mediaPlane) == null || d.dispose(), (h = i.mediaPlane) == null || h.removeFromParent(), i.mediaPlane = void 0), (l || c) && (i.mediaPlane = new ed(s, o, { objectFit: i.data.objectFit }), i.config.clickable !== !1 && this.domEvents.addAutoBindEventListener(i.mediaPlane, "click", (f) => {
27799
- this.hooks.emit("click", { tag: i, target: "TagContent", event: f.origDomEvent });
27792
+ const o = i.position.map(kt), r = this.getCurrentVisibleState(i), a = (() => !!(i.mediaPlane && !r))(), l = (() => !!(!i.mediaPlane && r))(), c = (() => !!(i.mediaPlane && i.mediaPlane.src !== s))();
27793
+ (a || c) && i.mediaPlane && (this.imagePlaneGroup.remove(i.mediaPlane), i.mediaPlane.dispose(), i.mediaPlane.removeFromParent(), i.mediaPlane = void 0), (l || c) && (i.mediaPlane = new ed(s, o, { objectFit: i.data.objectFit }), i.config.clickable !== !1 && this.domEvents.addAutoBindEventListener(i.mediaPlane, "click", (d) => {
27794
+ this.hooks.emit("click", { tag: i, target: "TagContent", event: d.origDomEvent });
27800
27795
  }), this.imagePlaneGroup.add(i.mediaPlane));
27801
27796
  });
27802
27797
  }
@@ -28015,11 +28010,13 @@ class va extends e2 {
28015
28010
  return { reason: `tag ${e} not found` };
28016
28011
  if (!i.enabled)
28017
28012
  return { reason: `tag ${e} enabled is ${i.enabled}` };
28013
+ if (i.stickType === "Model" || i.stickType === "Plane")
28014
+ return { reason: "maybe blocked by the five model" };
28018
28015
  if (!i.state.visible) {
28019
28016
  const a = (o = (s = this.getPanoIndexCache({ panoIndex: this.five.panoIndex, id: e })) == null ? void 0 : s.__debug_visible_reason__) == null ? void 0 : o.reason;
28020
- return { reason: (r = a.type) != null ? r : a, reasonObj: a };
28017
+ return { reason: (r = a == null ? void 0 : a.type) != null ? r : a, reasonObj: a };
28021
28018
  }
28022
- return i.stickType === "Model" || i.stickType === "Plane" ? { reason: "maybe blocked by the five model" } : { reason: "check your eyes" };
28019
+ return { reason: "check your eyes" };
28023
28020
  });
28024
28021
  u(this, "updateVisible", () => {
28025
28022
  const e = this.five.getCurrentState().mode;
@@ -28088,7 +28085,7 @@ class va extends e2 {
28088
28085
  this.setVisible(), this.updateRenderAllTags();
28089
28086
  });
28090
28087
  u(this, "onFiveEveryReady", () => {
28091
- this.setUnfoldedByCamera(), pn(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(this.filterPointTag), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 });
28088
+ this.setUnfoldedByCamera(), pn(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane();
28092
28089
  });
28093
28090
  this.params = Re({}, { debug: !1, config: this.config }, V({}, i)), this.debug = this.params.debug, this.config = this.params.config, R1(1, { namespace: Ja.PlayAudio });
28094
28091
  try {
@@ -28234,7 +28231,7 @@ class va extends e2 {
28234
28231
  */
28235
28232
  changeTagNormalById(e, i) {
28236
28233
  const s = this.getTagById(e);
28237
- s && s.tag3DContentSvelte && (s.tag3DContentSvelte.currentNormal = Mt(i));
28234
+ s && s.tag3DContentSvelte && (s.tag3DContentSvelte.currentNormal = kt(i));
28238
28235
  }
28239
28236
  /**
28240
28237
  * @description: 改变data
@@ -28256,7 +28253,7 @@ class va extends e2 {
28256
28253
  changeTagById(e, i, s = !0) {
28257
28254
  const o = this.getTagById(e);
28258
28255
  let r = !1;
28259
- i && (i.data && (r = !0), s ? Re(o, i) : Object.assign(o, i), o != null && o.tag3DContentSvelte && (i != null && i.normal) && (o.tag3DContentSvelte.currentNormal = Mt(i.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), r && o.hooks.emit("dataChanged", o.data));
28256
+ i && (i.data && (r = !0), s ? Re(o, i) : Object.assign(o, i), o != null && o.tag3DContentSvelte && (i != null && i.normal) && (o.tag3DContentSvelte.currentNormal = kt(i.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), r && o.hooks.emit("dataChanged", o.data));
28260
28257
  }
28261
28258
  /**
28262
28259
  * @description: 销毁tag
@@ -28675,7 +28672,7 @@ class ba {
28675
28672
  });
28676
28673
  /** 模型状态变更 */
28677
28674
  u(this, "onFiveModeChange", (t) => {
28678
- this.modeVisible = this.mode === "panorama" ? Et(t) : pn(t), this.updateVisible();
28675
+ this.modeVisible = this.mode === "panorama" ? Tt(t) : pn(t), this.updateVisible();
28679
28676
  });
28680
28677
  u(this, "onFiveModelShownFloorChange", (t) => {
28681
28678
  this.floorVisible = t === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(t), this.updateVisible();