@realsee/dnalogel 3.70.9 → 3.70.11-alpha.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 (489) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/ModelMakerPlugin/Controller.d.ts +52 -2
  3. package/dist/ModelMakerPlugin/index.d.ts +2 -0
  4. package/dist/Sculpt/Meshes/Prism.d.ts +3 -1
  5. package/dist/index.cjs.js +6 -6
  6. package/dist/index.js +388 -265
  7. package/dist/index.umd.js +6 -6
  8. package/docs/assets/navigation.js +1 -1
  9. package/docs/assets/search.js +1 -1
  10. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  11. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  12. package/docs/classes/CSS3DRender.html +2 -2
  13. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  14. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  15. package/docs/classes/ModelMakerPluginInstance.html +28 -18
  16. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  17. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  18. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  19. package/docs/classes/ModelRoomLabelController.html +2 -2
  20. package/docs/classes/MoveController.html +2 -2
  21. package/docs/classes/Object3DHelperController.html +2 -2
  22. package/docs/classes/PaintBrush.html +2 -2
  23. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  24. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  25. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  26. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  27. package/docs/classes/PanoTagPluginController.html +2 -2
  28. package/docs/classes/Sculpt.html +2 -2
  29. package/docs/classes/Util.BetterTween.html +2 -2
  30. package/docs/classes/Util.FiveDomEvents.html +2 -2
  31. package/docs/classes/Util.FivePuppet.html +2 -2
  32. package/docs/classes/Util.Interval.html +2 -2
  33. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  34. package/docs/classes/Util.LightTag.html +2 -2
  35. package/docs/classes/Util.LineSegments.html +2 -2
  36. package/docs/classes/Util.Magnifier.html +2 -2
  37. package/docs/classes/Util.Object3D.html +2 -2
  38. package/docs/classes/Util.PointDomHelper.html +2 -2
  39. package/docs/classes/Util.PointHelper.html +2 -2
  40. package/docs/classes/Util.PointSelector.html +2 -2
  41. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  42. package/docs/classes/Util.Rectangle.html +2 -2
  43. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  44. package/docs/classes/Util.sculpt.BoxMesh.html +6 -5
  45. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  46. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  47. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  48. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  49. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  50. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  51. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  52. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  53. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  54. package/docs/classes/Util.sculpt.PrismMesh.html +6 -5
  55. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  56. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  57. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  58. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  59. package/docs/classes/WalkController.html +2 -2
  60. package/docs/enums/CameraMovementEffect.html +2 -2
  61. package/docs/enums/ContentType.html +2 -2
  62. package/docs/enums/DIRECTION.html +2 -2
  63. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  64. package/docs/enums/DimensionType.html +2 -2
  65. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  66. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  67. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  68. package/docs/enums/PointType.html +2 -2
  69. package/docs/enums/Rotation.html +2 -2
  70. package/docs/functions/AreaMakerPlugin.html +1 -1
  71. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  72. package/docs/functions/CameraMovementPlugin.html +2 -2
  73. package/docs/functions/CruisePlugin.html +1 -1
  74. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  75. package/docs/functions/FloorplanGuidePlugin.html +1 -1
  76. package/docs/functions/GuideLinePlugin.html +1 -1
  77. package/docs/functions/ItemLabelPlugin.html +1 -1
  78. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  79. package/docs/functions/MeasurePlugin.html +1 -1
  80. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  81. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  82. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  83. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  84. package/docs/functions/ModelMakerPlugin.html +1 -1
  85. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  86. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  87. package/docs/functions/ModelViewPlugin.html +2 -2
  88. package/docs/functions/MovePlugin.html +1 -1
  89. package/docs/functions/Object3DHelperPlugin.html +1 -1
  90. package/docs/functions/PanoCompassPlugin.html +1 -1
  91. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  92. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  93. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  94. package/docs/functions/PanoMeasurePlugin.html +1 -1
  95. package/docs/functions/PanoRulerPlugin.html +2 -2
  96. package/docs/functions/PanoRulerProPlugin.html +2 -2
  97. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  98. package/docs/functions/PanoTagPlugin.html +1 -1
  99. package/docs/functions/PanoVideoPlugin.html +2 -2
  100. package/docs/functions/PipelinePlugin.html +1 -1
  101. package/docs/functions/SculptPlugin.html +2 -2
  102. package/docs/functions/SculptPluginForFive.html +2 -2
  103. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  104. package/docs/functions/Util.awaitNextFrame.html +1 -1
  105. package/docs/functions/Util.blink.html +2 -2
  106. package/docs/functions/Util.blinkWithPreset.html +2 -2
  107. package/docs/functions/Util.bounding.html +1 -1
  108. package/docs/functions/Util.boundingBox.html +1 -1
  109. package/docs/functions/Util.boundingSphere.html +1 -1
  110. package/docs/functions/Util.boxVertex.html +2 -2
  111. package/docs/functions/Util.boxVertexes.html +1 -1
  112. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  113. package/docs/functions/Util.cleanup.html +2 -2
  114. package/docs/functions/Util.convexHull.html +2 -2
  115. package/docs/functions/Util.equal.html +2 -2
  116. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  117. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  118. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  119. package/docs/functions/Util.getFrameTime.html +2 -2
  120. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  121. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  122. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  123. package/docs/functions/Util.inside.html +1 -1
  124. package/docs/functions/Util.isModelLike.html +1 -1
  125. package/docs/functions/Util.isNil.html +2 -2
  126. package/docs/functions/Util.isPanoramaLike.html +1 -1
  127. package/docs/functions/Util.lookObject.html +2 -2
  128. package/docs/functions/Util.lookPoint.html +2 -2
  129. package/docs/functions/Util.nextFrame.html +1 -1
  130. package/docs/functions/Util.notNil.html +2 -2
  131. package/docs/functions/Util.reblink.html +2 -2
  132. package/docs/functions/Util.replaceStaticPrefix.html +2 -2
  133. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  134. package/docs/functions/Util.sculpt.createBox.html +1 -1
  135. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  136. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  137. package/docs/functions/Util.sculpt.createLine.html +2 -2
  138. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  139. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  140. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  141. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  142. package/docs/functions/Util.tag.html +1 -1
  143. package/docs/functions/Util.tweenProgress.html +1 -1
  144. package/docs/functions/Util.uuid.html +2 -2
  145. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  146. package/docs/functions/Util.worldBounding.html +1 -1
  147. package/docs/functions/Util.worldBoundingBox.html +1 -1
  148. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  149. package/docs/functions/createPolyline.html +2 -2
  150. package/docs/functions/pluginFlag.html +1 -1
  151. package/docs/hierarchy.html +1 -1
  152. package/docs/index.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  154. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  155. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  156. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  157. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  158. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  159. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  160. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  161. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  162. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  163. package/docs/interfaces/BoxAnimationConfig.html +6 -0
  164. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  165. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  166. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  167. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  168. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  169. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  170. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  171. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  172. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  173. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  174. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  175. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  176. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  177. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  178. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  179. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  180. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  181. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  182. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  183. package/docs/interfaces/FloorplanBounding.html +2 -2
  184. package/docs/interfaces/FloorplanData.html +2 -2
  185. package/docs/interfaces/FloorplanEntrance.html +2 -2
  186. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  187. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  188. package/docs/interfaces/FloorplanFloorData.html +2 -2
  189. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  190. package/docs/interfaces/FloorplanObserver.html +2 -2
  191. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  192. package/docs/interfaces/FloorplanPosition.html +2 -2
  193. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  194. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  195. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  196. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  197. package/docs/interfaces/FloorplanServerData.html +2 -2
  198. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  199. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  200. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  201. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  202. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  203. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  204. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  205. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  206. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  207. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  208. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  214. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  215. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  217. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  218. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  219. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  220. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  221. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  222. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  223. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  224. package/docs/interfaces/HelperOffset.html +2 -2
  225. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  226. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  227. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  228. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  229. package/docs/interfaces/MinMax.html +2 -2
  230. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  231. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  232. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  233. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  234. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  235. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  236. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  237. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  238. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  239. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  240. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  241. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  242. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  243. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  244. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  245. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  246. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  247. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  248. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  249. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  250. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  251. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  252. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  253. package/docs/interfaces/Object3DHelperState.html +2 -2
  254. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  255. package/docs/interfaces/PaintBrushAction.html +2 -2
  256. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  257. package/docs/interfaces/PaintBrushState.html +2 -2
  258. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  259. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  260. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  261. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  262. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  263. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  264. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  265. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  266. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  267. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  268. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  269. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  270. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  271. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  273. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  274. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  275. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  276. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  277. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  278. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  279. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  280. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  281. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  282. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  283. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  284. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  285. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  286. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  287. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  288. package/docs/interfaces/PluginEventMap.html +2 -2
  289. package/docs/interfaces/Point.html +2 -2
  290. package/docs/interfaces/Room.html +2 -2
  291. package/docs/interfaces/RoomInfo.html +2 -2
  292. package/docs/interfaces/RoomLabel.html +2 -2
  293. package/docs/interfaces/RoomRules.html +1 -1
  294. package/docs/interfaces/Rooms.html +1 -1
  295. package/docs/interfaces/Scissor.html +2 -2
  296. package/docs/interfaces/SculptConfig.html +2 -2
  297. package/docs/interfaces/State.html +2 -2
  298. package/docs/interfaces/TagCacheInterface.html +2 -2
  299. package/docs/interfaces/TagConfig.html +2 -2
  300. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  301. package/docs/interfaces/TagIconAnimationConfig.html +2 -2
  302. package/docs/interfaces/TagIconUrl.html +2 -2
  303. package/docs/interfaces/TagObjectGroup.html +2 -2
  304. package/docs/interfaces/TagState.html +2 -2
  305. package/docs/interfaces/TagStyle.html +2 -2
  306. package/docs/interfaces/Tags.html +2 -2
  307. package/docs/interfaces/TemporaryState.html +2 -2
  308. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  309. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  310. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  311. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  312. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  313. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  314. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  315. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  316. package/docs/interfaces/Util.ObjectInitialState.html +2 -2
  317. package/docs/interfaces/Util.PointIntersection.html +2 -2
  318. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  319. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  320. package/docs/modules/AreaMakerPluginType.html +2 -2
  321. package/docs/modules/CruisePluginTypes.html +2 -2
  322. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  323. package/docs/modules/GuideLineItem.html +2 -2
  324. package/docs/modules/GuideLineModeItem.html +2 -2
  325. package/docs/modules/GuideLinePluginType.html +2 -2
  326. package/docs/modules/ModelMakerPluginType.html +2 -2
  327. package/docs/modules/PanoVideoPluginType.html +2 -2
  328. package/docs/modules/SculptData.html +2 -2
  329. package/docs/modules/SculptType.html +2 -2
  330. package/docs/modules/Util.html +2 -2
  331. package/docs/modules/Util.sculpt.html +2 -2
  332. package/docs/modules.html +4 -3
  333. package/docs/types/AddObject3DHelperConfig.html +2 -2
  334. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  335. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  336. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  337. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  338. package/docs/types/ArrayPosition.html +1 -1
  339. package/docs/types/AudioAppearance.html +1 -1
  340. package/docs/types/CSS3DRenderExportType.html +1 -1
  341. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  342. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  343. package/docs/types/ClassFunctionParameters.html +1 -1
  344. package/docs/types/Color.html +1 -1
  345. package/docs/types/ContentTypeConfigKey.html +1 -1
  346. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  347. package/docs/types/ContentTypeMap.html +1 -1
  348. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  349. package/docs/types/Create3DElementReturnType.html +1 -1
  350. package/docs/types/CruisePluginExportType.html +1 -1
  351. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  352. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  353. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  354. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  355. package/docs/types/DeprecatedTagProperty.html +2 -2
  356. package/docs/types/Direction-1.html +1 -1
  357. package/docs/types/Direction4.html +1 -1
  358. package/docs/types/ElementRenderer.html +2 -2
  359. package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
  360. package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
  361. package/docs/types/FloorplanRuleLabels.html +2 -2
  362. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  363. package/docs/types/GuideLinePluginExportType.html +1 -1
  364. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  365. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  366. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  367. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  368. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  369. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  370. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  371. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  372. package/docs/types/HelperEventMap.html +1 -1
  373. package/docs/types/InternalHelperEventMap.html +1 -1
  374. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  375. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  376. package/docs/types/MeasureEndReason.html +1 -1
  377. package/docs/types/MeasurePluginConfig.html +2 -2
  378. package/docs/types/MediaData.html +2 -2
  379. package/docs/types/MediaStore.html +1 -1
  380. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  381. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  382. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  383. package/docs/types/ModelId.html +1 -1
  384. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  385. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  386. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  387. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  388. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  389. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  390. package/docs/types/MoveArgs.html +2 -2
  391. package/docs/types/MoveOpts.html +2 -2
  392. package/docs/types/Object3DHelperEventMap.html +1 -1
  393. package/docs/types/ObjectFit.html +1 -1
  394. package/docs/types/PaintBrushEventMap.html +1 -1
  395. package/docs/types/PanoCompassPluginData.html +1 -1
  396. package/docs/types/PanoCompassPluginExportType.html +1 -1
  397. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  398. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  399. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  400. package/docs/types/PanoIndex.html +1 -1
  401. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  402. package/docs/types/PanoMeasureReturnType.html +1 -1
  403. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  404. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  405. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  406. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  407. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  408. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  409. package/docs/types/PipelinePluginParameterType.html +1 -1
  410. package/docs/types/PipelinePluginReturnType.html +1 -1
  411. package/docs/types/PlaneTag.html +2 -2
  412. package/docs/types/Point2DTag.html +2 -2
  413. package/docs/types/Point3DTag.html +2 -2
  414. package/docs/types/PointTagInstance.html +1 -1
  415. package/docs/types/Position.html +1 -1
  416. package/docs/types/PositionFrom.html +1 -1
  417. package/docs/types/RotateArgs.html +2 -2
  418. package/docs/types/RotateOpts.html +2 -2
  419. package/docs/types/RuleLabelsKey.html +1 -1
  420. package/docs/types/RuleLabelsValue.html +1 -1
  421. package/docs/types/ScaleCallback.html +1 -1
  422. package/docs/types/ScalePosition.html +2 -2
  423. package/docs/types/SculptData.BoxData.html +1 -1
  424. package/docs/types/SculptData.CircleData.html +1 -1
  425. package/docs/types/SculptData.CylinderData.html +1 -1
  426. package/docs/types/SculptData.PointData.html +1 -1
  427. package/docs/types/SculptData.PolygonData.html +1 -1
  428. package/docs/types/SculptData.PolylineData.html +1 -1
  429. package/docs/types/SculptData.PrismData.html +1 -1
  430. package/docs/types/SculptData.RectangleData.html +1 -1
  431. package/docs/types/SculptType.Theme.html +2 -2
  432. package/docs/types/StickType.html +1 -1
  433. package/docs/types/Tag.html +2 -2
  434. package/docs/types/Tag2D.html +2 -2
  435. package/docs/types/Tag3D.html +2 -2
  436. package/docs/types/TagClickParams.html +1 -1
  437. package/docs/types/TagConfigByKey.html +1 -1
  438. package/docs/types/TagContentType.html +1 -1
  439. package/docs/types/TagContentTypeMapping.html +1 -1
  440. package/docs/types/TagDimensionType.html +1 -1
  441. package/docs/types/TagElement.html +2 -2
  442. package/docs/types/TagEvents.html +1 -1
  443. package/docs/types/TagGLTFObject.html +1 -1
  444. package/docs/types/TagHooks.html +1 -1
  445. package/docs/types/TagId.html +1 -1
  446. package/docs/types/TagInstance.html +1 -1
  447. package/docs/types/TagPlacement.html +2 -2
  448. package/docs/types/TagPointType.html +2 -2
  449. package/docs/types/TagRendererMap.html +1 -1
  450. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  451. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  452. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  453. package/docs/types/Util.AdherePoint.html +2 -2
  454. package/docs/types/Util.PointSelectorConfig.html +1 -1
  455. package/docs/types/Util.SupportedTarget.html +2 -2
  456. package/docs/types/Util.Target.html +2 -2
  457. package/docs/types/Util.ThreeObject.html +2 -2
  458. package/docs/types/WorkCode.html +1 -1
  459. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  460. package/docs/variables/PLUGIN.html +1 -1
  461. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  462. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  463. package/docs/variables/Util.ANIME_PRESETS.html +2 -2
  464. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
  465. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
  466. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
  467. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
  468. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
  469. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
  470. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
  471. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
  472. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
  473. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
  474. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
  475. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
  476. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
  477. package/docs/variables/defaultGlobalConfig.html +1 -1
  478. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  479. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  480. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  481. package/libs/ModelMakerPlugin/Controller.d.ts +52 -2
  482. package/libs/ModelMakerPlugin/Controller.js +265 -144
  483. package/libs/ModelMakerPlugin/index.d.ts +2 -0
  484. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +8 -8
  485. package/libs/Sculpt/Meshes/Prism.d.ts +3 -1
  486. package/libs/Sculpt/Meshes/Prism.js +83 -81
  487. package/libs/base/BasePlugin.js +1 -1
  488. package/libs/shared-utils/logger.js +1 -1
  489. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -36,14 +36,14 @@ var ie = (n, t, e) => new Promise((i, s) => {
36
36
  }, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, r);
37
37
  a((e = e.apply(n, t)).next());
38
38
  });
39
- import { InternalWebGLRenderer as OA, Camera as jA, loadAt3d as RA, Five as Ft, Subscribe as Jo, AnimationFrameLoop as _A } from "@realsee/five";
39
+ import { InternalWebGLRenderer as OA, Camera as jA, loadAt3d as RA, Five as Ht, Subscribe as Jo, AnimationFrameLoop as _A } from "@realsee/five";
40
40
  import * as w from "three";
41
- import { Vector3 as Ae, Vector2 as Nt, Object3D as ko, Matrix4 as nt, LineSegments as BA, ShaderMaterial as xl, Group as En, Raycaster as Ko, MeshBasicMaterial as _r, Vector4 as Ss, Curve as y0, Loader as ud, LoaderUtils as oc, FileLoader as VA, TextureLoader as jh, RepeatWrapping as dd, ClampToEdgeWrapping as fd, Texture as gd, MeshPhongMaterial as rc, MeshLambertMaterial as FA, Color as Zt, sRGBEncoding as Cr, EquirectangularReflectionMapping as HA, Bone as pd, PropertyBinding as Ca, OrthographicCamera as NA, PerspectiveCamera as GA, PointLight as md, MathUtils as qi, SpotLight as WA, DirectionalLight as UA, SkinnedMesh as QA, Mesh as xo, LineBasicMaterial as XA, Line as YA, Skeleton as ZA, AmbientLight as qA, BufferGeometry as Ia, Float32BufferAttribute as ho, Uint16BufferAttribute as JA, Matrix3 as KA, BufferAttribute as $A, AnimationClip as eb, Quaternion as Ds, Euler as $n, VectorKeyframeTrack as tb, QuaternionKeyframeTrack as ib, NumberKeyframeTrack as nb, CanvasTexture as sb, AnimationMixer as ob, PlaneGeometry as rb, LinearFilter as Qc, CurvePath as ab, LineCurve3 as lb, TubeGeometry as cb, SphereGeometry as hb, DoubleSide as w0, RingGeometry as ub, VideoTexture as db, SphereBufferGeometry as fb, Box3 as gb } from "three";
41
+ import { Vector3 as Ae, Vector2 as Gt, Object3D as ko, Matrix4 as nt, LineSegments as BA, ShaderMaterial as xl, Group as En, Raycaster as Ko, MeshBasicMaterial as _r, Vector4 as Ss, Curve as y0, Loader as ud, LoaderUtils as oc, FileLoader as VA, TextureLoader as jh, RepeatWrapping as dd, ClampToEdgeWrapping as fd, Texture as gd, MeshPhongMaterial as rc, MeshLambertMaterial as FA, Color as Ot, sRGBEncoding as Cr, EquirectangularReflectionMapping as HA, Bone as pd, PropertyBinding as Ca, OrthographicCamera as NA, PerspectiveCamera as GA, PointLight as md, MathUtils as qi, SpotLight as WA, DirectionalLight as UA, SkinnedMesh as QA, Mesh as xo, LineBasicMaterial as XA, Line as YA, Skeleton as ZA, AmbientLight as qA, BufferGeometry as Ia, Float32BufferAttribute as ho, Uint16BufferAttribute as JA, Matrix3 as KA, BufferAttribute as $A, AnimationClip as eb, Quaternion as Ds, Euler as $n, VectorKeyframeTrack as tb, QuaternionKeyframeTrack as ib, NumberKeyframeTrack as nb, CanvasTexture as sb, AnimationMixer as ob, PlaneGeometry as rb, LinearFilter as Qc, CurvePath as ab, LineCurve3 as lb, TubeGeometry as cb, SphereGeometry as hb, DoubleSide as w0, RingGeometry as ub, VideoTexture as db, SphereBufferGeometry as fb, Box3 as gb } from "three";
42
42
  import { LineGeometry as pb, LineMaterial as mb, THREE_Line2 as vb, Line as Ab } from "@realsee/five/line";
43
43
  import { GLTFLoader as bb } from "@realsee/five/gltf-loader";
44
44
  function yb() {
45
45
  console.debug(
46
- "%c %c@realsee/dnalogel %cv3.70.9",
46
+ "%c %c@realsee/dnalogel %cv3.70.11-alpha.1",
47
47
  [
48
48
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
49
49
  "background-repeat: no-repeat",
@@ -597,7 +597,7 @@ let zb = class {
597
597
  function Zn() {
598
598
  return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
599
599
  }
600
- function Ot() {
600
+ function jt() {
601
601
  return (Zn() + Zn() + "-" + Zn() + "-4" + Zn().substr(0, 3) + "-" + Zn() + "-" + Zn() + Zn() + Zn()).toLowerCase();
602
602
  }
603
603
  const Ob = `
@@ -708,7 +708,7 @@ let jb = class extends zb {
708
708
  f(this, "clientWidth");
709
709
  f(this, "clientHeight");
710
710
  f(this, "ready", !1);
711
- f(this, "uuid", Ot());
711
+ f(this, "uuid", jt());
712
712
  f(this, "tween");
713
713
  f(this, "tweening", !1);
714
714
  f(this, "container");
@@ -1395,7 +1395,7 @@ function Bh(n, t) {
1395
1395
  n.off("camera.update", i);
1396
1396
  };
1397
1397
  }
1398
- const Wb = new Nt();
1398
+ const Wb = new Gt();
1399
1399
  class na {
1400
1400
  constructor(t, e, i) {
1401
1401
  /**
@@ -1788,15 +1788,15 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1788
1788
  }
1789
1789
  function ot(V, U) {
1790
1790
  var q = V.session, ne = U.pointers, be = ne.length;
1791
- q.firstInput || (q.firstInput = Gt(U)), be > 1 && !q.firstMultiple ? q.firstMultiple = Gt(U) : be === 1 && (q.firstMultiple = !1);
1791
+ q.firstInput || (q.firstInput = Wt(U)), be > 1 && !q.firstMultiple ? q.firstMultiple = Wt(U) : be === 1 && (q.firstMultiple = !1);
1792
1792
  var Oe = q.firstInput, Qe = q.firstMultiple, Pt = Qe ? Qe.center : Oe.center, Et = U.center = ci(ne);
1793
- U.timeStamp = h(), U.deltaTime = U.timeStamp - Oe.timeStamp, U.angle = Ut(Pt, Et), U.distance = Wt(Pt, Et), jt(q, U), U.offsetDirection = rt(U.deltaX, U.deltaY);
1793
+ U.timeStamp = h(), U.deltaTime = U.timeStamp - Oe.timeStamp, U.angle = Qt(Pt, Et), U.distance = Ut(Pt, Et), Rt(q, U), U.offsetDirection = rt(U.deltaX, U.deltaY);
1794
1794
  var Lt = vi(U.deltaTime, U.deltaX, U.deltaY);
1795
1795
  U.overallVelocityX = Lt.x, U.overallVelocityY = Lt.y, U.overallVelocity = c(Lt.x) > c(Lt.y) ? Lt.x : Lt.y, U.scale = Qe ? bs(Qe.pointers, ne) : 1, U.rotation = Qe ? sr(Qe.pointers, ne) : 0, U.maxPointers = q.prevInput ? U.pointers.length > q.prevInput.maxPointers ? U.pointers.length : q.prevInput.maxPointers : U.pointers.length, Wi(q, U);
1796
1796
  var ii = V.element;
1797
1797
  T(U.srcEvent.target, ii) && (ii = U.srcEvent.target), U.target = ii;
1798
1798
  }
1799
- function jt(V, U) {
1799
+ function Rt(V, U) {
1800
1800
  var q = U.center, ne = V.offsetDelta || {}, be = V.prevDelta || {}, Oe = V.prevInput || {};
1801
1801
  (U.eventType === de || Oe.eventType === Le) && (be = V.prevDelta = {
1802
1802
  x: Oe.deltaX || 0,
@@ -1815,7 +1815,7 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1815
1815
  be = q.velocity, Oe = q.velocityX, Qe = q.velocityY, Pt = q.direction;
1816
1816
  U.velocity = be, U.velocityX = Oe, U.velocityY = Qe, U.direction = Pt;
1817
1817
  }
1818
- function Gt(V) {
1818
+ function Wt(V) {
1819
1819
  for (var U = [], q = 0; q < V.pointers.length; )
1820
1820
  U[q] = {
1821
1821
  clientX: l(V.pointers[q].clientX),
@@ -1852,21 +1852,21 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
1852
1852
  function rt(V, U) {
1853
1853
  return V === U ? Te : c(V) >= c(U) ? V < 0 ? _e : ve : U < 0 ? Fe : me;
1854
1854
  }
1855
- function Wt(V, U, q) {
1855
+ function Ut(V, U, q) {
1856
1856
  q || (q = Ze);
1857
1857
  var ne = U[q[0]] - V[q[0]], be = U[q[1]] - V[q[1]];
1858
1858
  return Math.sqrt(ne * ne + be * be);
1859
1859
  }
1860
- function Ut(V, U, q) {
1860
+ function Qt(V, U, q) {
1861
1861
  q || (q = Ze);
1862
1862
  var ne = U[q[0]] - V[q[0]], be = U[q[1]] - V[q[1]];
1863
1863
  return Math.atan2(be, ne) * 180 / Math.PI;
1864
1864
  }
1865
1865
  function sr(V, U) {
1866
- return Ut(U[1], U[0], ht) + Ut(V[1], V[0], ht);
1866
+ return Qt(U[1], U[0], ht) + Qt(V[1], V[0], ht);
1867
1867
  }
1868
1868
  function bs(V, U) {
1869
- return Wt(U[0], U[1], ht) / Wt(V[0], V[1], ht);
1869
+ return Ut(U[0], U[1], ht) / Ut(V[0], V[1], ht);
1870
1870
  }
1871
1871
  var On = {
1872
1872
  mousedown: de,
@@ -2043,10 +2043,10 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2043
2043
  return !1;
2044
2044
  }
2045
2045
  var io = S(r.style, "touchAction"), no = io !== s, so = "compute", Tt = "auto", Cs = "manipulation", Ri = "none", fn = "pan-x", gn = "pan-y", Fn = cr();
2046
- function Rt(V, U) {
2046
+ function _t(V, U) {
2047
2047
  this.manager = V, this.set(U);
2048
2048
  }
2049
- Rt.prototype = {
2049
+ _t.prototype = {
2050
2050
  /**
2051
2051
  * set the touchAction value on the element or enable the polyfill
2052
2052
  * @param {String} value
@@ -2111,7 +2111,7 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2111
2111
  V[q] = U ? t.CSS.supports("touch-action", q) : !0;
2112
2112
  }), V;
2113
2113
  }
2114
- var Hn = 1, Qt = 2, Xi = 4, $t = 8, hi = $t, xi = 16, It = 32;
2114
+ var Hn = 1, Xt = 2, Xi = 4, $t = 8, hi = $t, xi = 16, It = 32;
2115
2115
  function ei(V) {
2116
2116
  this.options = m({}, this.defaults, V || {}), this.id = N(), this.manager = null, this.options.enable = z(this.options.enable, !0), this.state = Hn, this.simultaneous = {}, this.requireFail = [];
2117
2117
  }
@@ -2231,7 +2231,7 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2231
2231
  this.reset(), this.state = It;
2232
2232
  return;
2233
2233
  }
2234
- this.state & (hi | xi | It) && (this.state = Hn), this.state = this.process(U), this.state & (Qt | Xi | $t | xi) && this.tryEmit(U);
2234
+ this.state & (hi | xi | It) && (this.state = Hn), this.state = this.process(U), this.state & (Xt | Xi | $t | xi) && this.tryEmit(U);
2235
2235
  },
2236
2236
  /**
2237
2237
  * return the state of the recognizer
@@ -2259,7 +2259,7 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2259
2259
  }
2260
2260
  };
2261
2261
  function oo(V) {
2262
- return V & xi ? "cancel" : V & $t ? "end" : V & Xi ? "move" : V & Qt ? "start" : "";
2262
+ return V & xi ? "cancel" : V & $t ? "end" : V & Xi ? "move" : V & Xt ? "start" : "";
2263
2263
  }
2264
2264
  function ro(V) {
2265
2265
  return V == me ? "down" : V == Fe ? "up" : V == _e ? "left" : V == ve ? "right" : "";
@@ -2300,8 +2300,8 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2300
2300
  * @returns {*} State
2301
2301
  */
2302
2302
  process: function(V) {
2303
- var U = this.state, q = V.eventType, ne = U & (Qt | Xi), be = this.attrTest(V);
2304
- return ne && (q & ee || !be) ? U | xi : ne || be ? q & Le ? U | $t : U & Qt ? U | Xi : Qt : It;
2303
+ var U = this.state, q = V.eventType, ne = U & (Xt | Xi), be = this.attrTest(V);
2304
+ return ne && (q & ee || !be) ? U | xi : ne || be ? q & Le ? U | $t : U & Xt ? U | Xi : Xt : It;
2305
2305
  }
2306
2306
  });
2307
2307
  function Gn() {
@@ -2327,7 +2327,7 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2327
2327
  return be & U.direction || (U.direction & Ie ? (be = Oe === 0 ? Te : Oe < 0 ? _e : ve, q = Oe != this.pX, ne = Math.abs(V.deltaX)) : (be = Qe === 0 ? Te : Qe < 0 ? Fe : me, q = Qe != this.pY, ne = Math.abs(V.deltaY))), V.direction = be, q && ne > U.threshold && be & U.direction;
2328
2328
  },
2329
2329
  attrTest: function(V) {
2330
- return ti.prototype.attrTest.call(this, V) && (this.state & Qt || !(this.state & Qt) && this.directionTest(V));
2330
+ return ti.prototype.attrTest.call(this, V) && (this.state & Xt || !(this.state & Xt) && this.directionTest(V));
2331
2331
  },
2332
2332
  emit: function(V) {
2333
2333
  this.pX = V.deltaX, this.pY = V.deltaY;
@@ -2352,7 +2352,7 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2352
2352
  return [Ri];
2353
2353
  },
2354
2354
  attrTest: function(V) {
2355
- return this._super.attrTest.call(this, V) && (Math.abs(V.scale - 1) > this.options.threshold || this.state & Qt);
2355
+ return this._super.attrTest.call(this, V) && (Math.abs(V.scale - 1) > this.options.threshold || this.state & Xt);
2356
2356
  },
2357
2357
  emit: function(V) {
2358
2358
  if (V.scale !== 1) {
@@ -2417,7 +2417,7 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2417
2417
  return [Ri];
2418
2418
  },
2419
2419
  attrTest: function(V) {
2420
- return this._super.attrTest.call(this, V) && (Math.abs(V.rotation) > this.options.threshold || this.state & Qt);
2420
+ return this._super.attrTest.call(this, V) && (Math.abs(V.rotation) > this.options.threshold || this.state & Xt);
2421
2421
  }
2422
2422
  });
2423
2423
  function Wn() {
@@ -2478,13 +2478,13 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2478
2478
  if (ne && be && q) {
2479
2479
  if (V.eventType != Le)
2480
2480
  return this.failTimeout();
2481
- var Oe = this.pTime ? V.timeStamp - this.pTime < U.interval : !0, Qe = !this.pCenter || Wt(this.pCenter, V.center) < U.posThreshold;
2481
+ var Oe = this.pTime ? V.timeStamp - this.pTime < U.interval : !0, Qe = !this.pCenter || Ut(this.pCenter, V.center) < U.posThreshold;
2482
2482
  this.pTime = V.timeStamp, this.pCenter = V.center, !Qe || !Oe ? this.count = 1 : this.count += 1, this._input = V;
2483
2483
  var Pt = this.count % U.taps;
2484
2484
  if (Pt === 0)
2485
2485
  return this.hasRequireFailures() ? (this._timer = u(function() {
2486
2486
  this.state = hi, this.tryEmit();
2487
- }, U.interval, this), Qt) : hi;
2487
+ }, U.interval, this), Xt) : hi;
2488
2488
  }
2489
2489
  return It;
2490
2490
  },
@@ -2601,7 +2601,7 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2601
2601
  };
2602
2602
  var hr = 1, ao = 2;
2603
2603
  function Is(V, U) {
2604
- this.options = m({}, bi.defaults, U || {}), this.options.inputTarget = this.options.inputTarget || V, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = V, this.input = $e(this), this.touchAction = new Rt(this, this.options.touchAction), Un(this, !0), p(this.options.recognizers, function(q) {
2604
+ this.options = m({}, bi.defaults, U || {}), this.options.inputTarget = this.options.inputTarget || V, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = V, this.input = $e(this), this.touchAction = new _t(this, this.options.touchAction), Un(this, !0), p(this.options.recognizers, function(q) {
2605
2605
  var ne = this.add(new q[0](q[1]));
2606
2606
  q[2] && ne.recognizeWith(q[2]), q[3] && ne.requireFailure(q[3]);
2607
2607
  }, this);
@@ -2639,7 +2639,7 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2639
2639
  for (var Oe = 0; Oe < ne.length; )
2640
2640
  q = ne[Oe], U.stopped !== ao && // 1
2641
2641
  (!be || q == be || // 2
2642
- q.canRecognizeWith(be)) ? q.recognize(V) : q.reset(), !be && q.state & (Qt | Xi | $t) && (be = U.curRecognizer = q), Oe++;
2642
+ q.canRecognizeWith(be)) ? q.recognize(V) : q.reset(), !be && q.state & (Xt | Xi | $t) && (be = U.curRecognizer = q), Oe++;
2643
2643
  }
2644
2644
  },
2645
2645
  /**
@@ -2752,7 +2752,7 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2752
2752
  INPUT_END: Le,
2753
2753
  INPUT_CANCEL: ee,
2754
2754
  STATE_POSSIBLE: Hn,
2755
- STATE_BEGAN: Qt,
2755
+ STATE_BEGAN: Xt,
2756
2756
  STATE_CHANGED: Xi,
2757
2757
  STATE_ENDED: $t,
2758
2758
  STATE_RECOGNIZED: hi,
@@ -2768,7 +2768,7 @@ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
2768
2768
  DIRECTION_ALL: Xe,
2769
2769
  Manager: Is,
2770
2770
  Input: Je,
2771
- TouchAction: Rt,
2771
+ TouchAction: _t,
2772
2772
  TouchInput: Vn,
2773
2773
  MouseInput: ki,
2774
2774
  PointerEventInput: hn,
@@ -7325,7 +7325,7 @@ function Zw(n, t) {
7325
7325
  }
7326
7326
  return !0;
7327
7327
  }
7328
- function Ht(n, t, e = { deep: !1 }) {
7328
+ function Nt(n, t, e = { deep: !1 }) {
7329
7329
  return e.deep ? hu(n, t) : Xw(n, t);
7330
7330
  }
7331
7331
  const qw = new w.Vector2();
@@ -9050,7 +9050,7 @@ function Ur(n) {
9050
9050
  const t = n - 1;
9051
9051
  return t * t * t + 1;
9052
9052
  }
9053
- function _t(n, { delay: t = 0, duration: e = 400, easing: i = Dn } = {}) {
9053
+ function Bt(n, { delay: t = 0, duration: e = 400, easing: i = Dn } = {}) {
9054
9054
  const s = +getComputedStyle(n).opacity;
9055
9055
  return {
9056
9056
  delay: t,
@@ -9860,7 +9860,7 @@ function g3(n, t, e) {
9860
9860
  return () => !1;
9861
9861
  const ee = he.path.map(({ x: Xe, y: Ze }) => [Xe, Ze]), Te = he.roomLabel.position, { x: _e, y: ve } = Te, { width: Fe, height: me } = Le, Ie = Fe / 2, ze = me / 2;
9862
9862
  return function(Ze) {
9863
- const ht = _e * Ze, Je = ve * Ze, $e = ee.map(([ot, jt]) => [ot * Ze, jt * Ze]);
9863
+ const ht = _e * Ze, Je = ve * Ze, $e = ee.map(([ot, Rt]) => [ot * Ze, Rt * Ze]);
9864
9864
  return [
9865
9865
  [ht + Ie, Je - ze],
9866
9866
  [ht - Ie, Je - ze],
@@ -12548,7 +12548,7 @@ function mf(n) {
12548
12548
  for (let l = 0; l < s.length; l += 1)
12549
12549
  H(o[l]);
12550
12550
  e || wt(() => {
12551
- e = ps(t, _t, {
12551
+ e = ps(t, Bt, {
12552
12552
  duration: (
12553
12553
  /*duration*/
12554
12554
  n[0]
@@ -13041,7 +13041,7 @@ let ms = class {
13041
13041
  /**
13042
13042
  * @realsee/dnalogel 版本号
13043
13043
  */
13044
- f(this, "VERSION", "3.70.9");
13044
+ f(this, "VERSION", "3.70.11-alpha.1");
13045
13045
  f(this, "NAME");
13046
13046
  f(this, "five");
13047
13047
  f(this, "workUtil");
@@ -13456,7 +13456,7 @@ let BP = class extends cn {
13456
13456
  updateState(e, i) {
13457
13457
  var a;
13458
13458
  const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? F(F({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ce(F(F({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
13459
- this.state = ce(F(F({}, this.state), e), { config: r }), !Ht(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
13459
+ this.state = ce(F(F({}, this.state), e), { config: r }), !Nt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
13460
13460
  }
13461
13461
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
13462
13462
  *
@@ -16489,7 +16489,7 @@ let NP = class extends cn {
16489
16489
  updateState(e, i) {
16490
16490
  var a;
16491
16491
  const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? F(F({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ce(F(F({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
16492
- this.state = ce(F(F({}, this.state), e), { config: r }), !Ht(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
16492
+ this.state = ce(F(F({}, this.state), e), { config: r }), !Nt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
16493
16493
  }
16494
16494
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
16495
16495
  *
@@ -16764,7 +16764,7 @@ let GP = class extends cn {
16764
16764
  updateState(e, i) {
16765
16765
  var a;
16766
16766
  const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? F(F({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ce(F(F({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
16767
- this.state = ce(F(F({}, this.state), e), { config: r }), !Ht(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
16767
+ this.state = ce(F(F({}, this.state), e), { config: r }), !Nt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
16768
16768
  }
16769
16769
  addEventListener() {
16770
16770
  if (!this.state.enabled || this.hasAddedEventListener)
@@ -17699,7 +17699,7 @@ let lC = class extends Pe {
17699
17699
  }
17700
17700
  updateState(e, i) {
17701
17701
  const s = this.state, o = e.config ? F(F({}, s.config), e.config) : s.config;
17702
- this.state = ce(F(F({}, this.state), e), { config: o }), !Ht(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
17702
+ this.state = ce(F(F({}, this.state), e), { config: o }), !Nt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
17703
17703
  }
17704
17704
  render() {
17705
17705
  if (this.disposed || !this.state.enabled)
@@ -19888,7 +19888,7 @@ let qC = class extends cn {
19888
19888
  updateState(e, i) {
19889
19889
  var a;
19890
19890
  const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? F(F({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ce(F(F({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
19891
- this.state = ce(F(F({}, this.state), e), { config: r }), !Ht(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
19891
+ this.state = ce(F(F({}, this.state), e), { config: r }), !Nt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
19892
19892
  }
19893
19893
  render() {
19894
19894
  var r, a;
@@ -20732,7 +20732,7 @@ var U1 = function() {
20732
20732
  // Also parse the texture map and return any textures associated with the material
20733
20733
  parseParameters: function(b, C, I) {
20734
20734
  var k = {};
20735
- b.BumpFactor && (k.bumpScale = b.BumpFactor.value), b.Diffuse ? k.color = new Zt().fromArray(b.Diffuse.value) : b.DiffuseColor && b.DiffuseColor.type === "Color" && (k.color = new Zt().fromArray(b.DiffuseColor.value)), b.DisplacementFactor && (k.displacementScale = b.DisplacementFactor.value), b.Emissive ? k.emissive = new Zt().fromArray(b.Emissive.value) : b.EmissiveColor && b.EmissiveColor.type === "Color" && (k.emissive = new Zt().fromArray(b.EmissiveColor.value)), b.EmissiveFactor && (k.emissiveIntensity = parseFloat(b.EmissiveFactor.value)), b.Opacity && (k.opacity = parseFloat(b.Opacity.value)), k.opacity < 1 && (k.transparent = !0), b.ReflectionFactor && (k.reflectivity = b.ReflectionFactor.value), b.Shininess && (k.shininess = b.Shininess.value), b.Specular ? k.specular = new Zt().fromArray(b.Specular.value) : b.SpecularColor && b.SpecularColor.type === "Color" && (k.specular = new Zt().fromArray(b.SpecularColor.value));
20735
+ b.BumpFactor && (k.bumpScale = b.BumpFactor.value), b.Diffuse ? k.color = new Ot().fromArray(b.Diffuse.value) : b.DiffuseColor && b.DiffuseColor.type === "Color" && (k.color = new Ot().fromArray(b.DiffuseColor.value)), b.DisplacementFactor && (k.displacementScale = b.DisplacementFactor.value), b.Emissive ? k.emissive = new Ot().fromArray(b.Emissive.value) : b.EmissiveColor && b.EmissiveColor.type === "Color" && (k.emissive = new Ot().fromArray(b.EmissiveColor.value)), b.EmissiveFactor && (k.emissiveIntensity = parseFloat(b.EmissiveFactor.value)), b.Opacity && (k.opacity = parseFloat(b.Opacity.value)), k.opacity < 1 && (k.transparent = !0), b.ReflectionFactor && (k.reflectivity = b.ReflectionFactor.value), b.Shininess && (k.shininess = b.Shininess.value), b.Specular ? k.specular = new Ot().fromArray(b.Specular.value) : b.SpecularColor && b.SpecularColor.type === "Color" && (k.specular = new Ot().fromArray(b.SpecularColor.value));
20736
20736
  var S = this;
20737
20737
  return t.get(I).children.forEach(function(L) {
20738
20738
  var N = L.relationship;
@@ -20962,7 +20962,7 @@ var U1 = function() {
20962
20962
  var k;
20963
20963
  I.LightType === void 0 ? k = 0 : k = I.LightType.value;
20964
20964
  var S = 16777215;
20965
- I.Color !== void 0 && (S = new Zt().fromArray(I.Color.value));
20965
+ I.Color !== void 0 && (S = new Ot().fromArray(I.Color.value));
20966
20966
  var L = I.Intensity === void 0 ? 1 : I.Intensity.value / 100;
20967
20967
  I.CastLightOnObject !== void 0 && I.CastLightOnObject.value === 0 && (L = 0);
20968
20968
  var N = 0;
@@ -21060,7 +21060,7 @@ var U1 = function() {
21060
21060
  if ("GlobalSettings" in n && "AmbientColor" in n.GlobalSettings) {
21061
21061
  var b = n.GlobalSettings.AmbientColor.value, C = b[0], I = b[1], k = b[2];
21062
21062
  if (C !== 0 || I !== 0 || k !== 0) {
21063
- var S = new Zt(C, I, k);
21063
+ var S = new Ot(C, I, k);
21064
21064
  e.add(new qA(S, 1));
21065
21065
  }
21066
21066
  }
@@ -22196,7 +22196,7 @@ const ah = (n, t, e) => {
22196
22196
  return {
22197
22197
  move: e,
22198
22198
  rotate: (l, c, ...h) => ie(void 0, [l, c, ...h], function* (o, r, a = {}) {
22199
- t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), n.currentMode !== Ft.Mode.Panorama && (yield n.changeMode(Ft.Mode.Panorama)), o.panoIndex !== void 0 && o.panoIndex !== n.panoIndex && (a.preload && (yield n.preloadPano(o.panoIndex)), yield new Promise((p, g) => {
22199
+ t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), n.currentMode !== Ht.Mode.Panorama && (yield n.changeMode(Ht.Mode.Panorama)), o.panoIndex !== void 0 && o.panoIndex !== n.panoIndex && (a.preload && (yield n.preloadPano(o.panoIndex)), yield new Promise((p, g) => {
22200
22200
  if (!o.panoIndex) {
22201
22201
  p(!0);
22202
22202
  return;
@@ -22507,7 +22507,7 @@ const c5 = `<style type="text/css">
22507
22507
  return;
22508
22508
  }
22509
22509
  const E = A.position, z = A.getWorldDirection(new Ae()), D = m.clientWidth, R = m.clientHeight;
22510
- if (P !== Ft.Mode.Panorama) {
22510
+ if (P !== Ht.Mode.Panorama) {
22511
22511
  for (const b in r)
22512
22512
  for (const { $element: C } of r[b].rules)
22513
22513
  C.style.display = "none";
@@ -22919,10 +22919,10 @@ function b5(n, t, e) {
22919
22919
  }, u = (M, E, z) => {
22920
22920
  const D = i.camera.position, R = i.camera.getWorldDirection(new Ae()), T = M.clone().sub(D).normalize().angleTo(R), O = E.clone().sub(D).normalize().angleTo(R), b = M.distanceTo(E), I = E.clone().sub(E.clone().sub(M).divide(new Ae(2, 2, 2))).distanceTo(D), { startLeft: k, startTop: S, endLeft: L, endTop: N, distance: B } = h(M, E), te = -((Math.PI / 2 - Math.atan2(L - k, S - N)) / Math.PI) * 180;
22921
22921
  let $ = !0;
22922
- z || ($ = !1), !Ht(M, z) && !Ht(E, z) && ($ = !1), b < 0.3 && ($ = !1), T > Math.PI / 2 && ($ = !1), O > Math.PI / 2 && ($ = !1), I / b > 8 && ($ = !1);
22922
+ z || ($ = !1), !Nt(M, z) && !Nt(E, z) && ($ = !1), b < 0.3 && ($ = !1), T > Math.PI / 2 && ($ = !1), O > Math.PI / 2 && ($ = !1), I / b > 8 && ($ = !1);
22923
22923
  let oe = 50, Z = B;
22924
22924
  const ae = c({ x: ~~k, y: ~~S }, { x: ~~L, y: ~~N });
22925
- if (ae && ae.length === 1 && (Ht(M, z) ? (Z = Math.sqrt(Math.pow(ae[0].x - k, 2) + Math.pow(ae[0].y - S, 2)), oe = Z / B * 50) : Ht(E, z) && (Z = Math.sqrt(Math.pow(ae[0].x - L, 2) + Math.pow(ae[0].y - N, 2)), oe = 100 - Z / B * 50)), ae && ae.length === 2) {
22925
+ if (ae && ae.length === 1 && (Nt(M, z) ? (Z = Math.sqrt(Math.pow(ae[0].x - k, 2) + Math.pow(ae[0].y - S, 2)), oe = Z / B * 50) : Nt(E, z) && (Z = Math.sqrt(Math.pow(ae[0].x - L, 2) + Math.pow(ae[0].y - N, 2)), oe = 100 - Z / B * 50)), ae && ae.length === 2) {
22926
22926
  const Se = {
22927
22927
  x: (ae[0].x + ae[1].x) / 2,
22928
22928
  y: (ae[0].y + ae[1].y) / 2
@@ -22942,7 +22942,7 @@ function b5(n, t, e) {
22942
22942
  const M = i.panoIndex, E = s.find((C) => C.panoIndex === M);
22943
22943
  if (!E)
22944
22944
  return e(0, r = []);
22945
- if (i.currentMode !== Ft.Mode.Panorama)
22945
+ if (i.currentMode !== Ht.Mode.Panorama)
22946
22946
  return e(0, r = []);
22947
22947
  const z = i.camera.position, D = i.camera.getWorldDirection(new Ae()), R = E.lines.map((C) => new Ae(C.start[0], -C.start[1], -C.start[2])), T = E.lines.map((C) => new Ae(C.end[0], -C.end[1], -C.end[2])), [O] = R.concat(T).sort((C, I) => {
22948
22948
  const k = C.clone().setY(0).sub(z).normalize().angleTo(D.clone().setY(0)), S = I.clone().setY(0).sub(z).normalize().angleTo(D.clone().setY(0));
@@ -23187,7 +23187,7 @@ class E5 extends cn {
23187
23187
  f(this, "onFiveModeChange", (e, i, s, o, r) => {
23188
23188
  e !== i && this.setState(
23189
23189
  {
23190
- visible: e === Ft.Mode.Panorama
23190
+ visible: e === Ht.Mode.Panorama
23191
23191
  },
23192
23192
  { userAction: r }
23193
23193
  );
@@ -23334,7 +23334,7 @@ class E5 extends cn {
23334
23334
  return _l(this.five).create3DDomContainer(e);
23335
23335
  }
23336
23336
  }
23337
- const JT = (n, t) => new E5(n, t), M5 = 1, k5 = 3, x5 = new Zt(16777215), S5 = new Zt(6522623), D5 = new Zt(16777215), T5 = new Zt(6522623), L5 = 6, z5 = 8, O5 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", q1 = new jh().load(O5), j5 = {
23337
+ const JT = (n, t) => new E5(n, t), M5 = 1, k5 = 3, x5 = new Ot(16777215), S5 = new Ot(6522623), D5 = new Ot(16777215), T5 = new Ot(6522623), L5 = 6, z5 = 8, O5 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", q1 = new jh().load(O5), j5 = {
23338
23338
  pointTexture: q1,
23339
23339
  pointSize: L5,
23340
23340
  lineWidth: M5,
@@ -23353,7 +23353,7 @@ const JT = (n, t) => new E5(n, t), M5 = 1, k5 = 3, x5 = new Zt(16777215), S5 = n
23353
23353
  };
23354
23354
  function _5(n, t, e) {
23355
23355
  var h, u, d, p, g;
23356
- const i = (h = e == null ? void 0 : e.lineWidth) != null ? h : 2, s = (u = e == null ? void 0 : e.lineColor) != null ? u : new Zt(16777215), o = (d = e == null ? void 0 : e.pointSize) != null ? d : 5, r = (p = e == null ? void 0 : e.lineRenderOrder) != null ? p : 10, a = (g = e == null ? void 0 : e.lineRenderOrder) != null ? g : 20, l = new p1(n, t);
23356
+ const i = (h = e == null ? void 0 : e.lineWidth) != null ? h : 2, s = (u = e == null ? void 0 : e.lineColor) != null ? u : new Ot(16777215), o = (d = e == null ? void 0 : e.pointSize) != null ? d : 5, r = (p = e == null ? void 0 : e.lineRenderOrder) != null ? p : 10, a = (g = e == null ? void 0 : e.lineRenderOrder) != null ? g : 20, l = new p1(n, t);
23357
23357
  l.setMaterial({ linewidth: i, color: s }), l.line.material.depthTest = !1, l.line.material.transparent = !0, l.line.renderOrder = r, l.points.renderOrder = a;
23358
23358
  const c = l.points.material;
23359
23359
  return c.depthTest = !1, c.size = o, e != null && e.pointColor && c.color.set(e.pointColor).convertSRGBToLinear(), e != null && e.pointTexture && (c.map = e.pointTexture), l;
@@ -23547,7 +23547,7 @@ class F5 extends J1 {
23547
23547
  const s = i.clientWidth, o = i.clientHeight, r = s / 2, a = o / 2;
23548
23548
  if (this.line.points.length < 2)
23549
23549
  return;
23550
- const [l, c] = this.line.points.map((k) => k.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), d = Jt(l, c).clone().project(e.camera), p = new Nt(h.x * r, h.y * a), g = new Nt(u.x * r, u.y * a), m = p.distanceTo(g);
23550
+ const [l, c] = this.line.points.map((k) => k.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), d = Jt(l, c).clone().project(e.camera), p = new Gt(h.x * r, h.y * a), g = new Gt(u.x * r, u.y * a), m = p.distanceTo(g);
23551
23551
  if ((() => !(Math.abs(h.z) > 1 || Math.abs(u.z) > 1 || !Za(h) && !Za(u) || !Za(d) || m === 0))() === !1) {
23552
23552
  this.hide();
23553
23553
  return;
@@ -23583,7 +23583,7 @@ let Qo = class K1 {
23583
23583
  f(this, "polyline");
23584
23584
  f(this, "visible");
23585
23585
  var s;
23586
- if (this.id = Ot(), this.model = i, t.id === e.id)
23586
+ if (this.id = jt(), this.model = i, t.id === e.id)
23587
23587
  throw new Error("无效的线段, 一个点无法构成线段");
23588
23588
  typeof i.config.defaultText == "string" && (this.text = i.config.defaultText), this.hook = new Jo(), this.points = [t, e], this.mesh = og(this, "normal"), this.lightMesh = og(this, "light"), this.distanceItem = new F5({
23589
23589
  line: this,
@@ -23637,7 +23637,7 @@ let Qo = class K1 {
23637
23637
  f(this, "id");
23638
23638
  f(this, "position");
23639
23639
  f(this, "type", "point");
23640
- if (this.id = Ot(), this.position = new Ae(), Array.isArray(t))
23640
+ if (this.id = jt(), this.position = new Ae(), Array.isArray(t))
23641
23641
  this.position.fromArray(t);
23642
23642
  else if (typeof t == "object" && t.isVector3)
23643
23643
  this.position.copy(t);
@@ -23685,7 +23685,7 @@ let Wl = class {
23685
23685
  var i, s, o;
23686
23686
  this.five = t.five, this.hook = t.hook, this.model = t.model, this.getMeasureType = t.getMeasureType, this.config = t.config, this.editParams = t.editParams, this.magnifierParams = t.magnifierParams, this.magnifier = t.magnifier, this.pointSelectorConfig = ce(F({}, t.pointSelectorConfig), {
23687
23687
  helper: F({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
23688
- }), this.container = t.container, this.isMobile = (o = (s = t.openParams) == null ? void 0 : s.isMobile) != null ? o : !1, this.workUtil = t.workUtil, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new Qo(new Li([0, 0, 0]), new Li([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new Qo(new Li([0, 0, 0]), new Li([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new Zt(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
23688
+ }), this.container = t.container, this.isMobile = (o = (s = t.openParams) == null ? void 0 : s.isMobile) != null ? o : !1, this.workUtil = t.workUtil, this.userDistanceItemCreator = t.userDistanceItemCreator, this.group = t.group, this.mouseGroup = t.mouseGroup, this.dashed = new Qo(new Li([0, 0, 0]), new Li([0, 0, 0]), this.model), this.dashed.distanceItem.setCanSelect(!1), this.dashed.mesh.setMaterial({ dashed: !0, dashScale: 100 }), this.dashed.mesh.name = "dashLine", this.perpendicularDashed = new Qo(new Li([0, 0, 0]), new Li([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new Ot(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
23689
23689
  const e = this.five.getElement();
23690
23690
  e && (e.addEventListener("touchstart", ja), e.addEventListener("contextmenu", ja));
23691
23691
  }
@@ -23714,7 +23714,7 @@ let Wl = class {
23714
23714
  }
23715
23715
  }, Xo = class {
23716
23716
  constructor(t) {
23717
- f(this, "id", Ot());
23717
+ f(this, "id", jt());
23718
23718
  f(this, "lines", []);
23719
23719
  f(this, "visiblePanoIndexes");
23720
23720
  f(this, "visibleFiveMode");
@@ -24270,7 +24270,7 @@ class h4 extends J1 {
24270
24270
  }
24271
24271
  class dh {
24272
24272
  constructor(t, e) {
24273
- f(this, "id", Ot());
24273
+ f(this, "id", jt());
24274
24274
  f(this, "selected", !1);
24275
24275
  f(this, "text");
24276
24276
  f(this, "type", "area");
@@ -24452,7 +24452,7 @@ class Lu {
24452
24452
  function zu(n, t) {
24453
24453
  const e = n.x - t[0].x, i = n.y - t[0].y, s = t[1].x - t[0].x, o = t[1].y - t[0].y, r = e * s + i * o, a = s * s + o * o, l = r / a;
24454
24454
  let c, h;
24455
- return l < 0 || f4(t[0], t[1]) ? (c = t[0].x, h = t[0].y) : l > 1 ? (c = t[1].x, h = t[1].y) : (c = t[0].x + l * s, h = t[0].y + l * o), new Nt(c, h);
24455
+ return l < 0 || f4(t[0], t[1]) ? (c = t[0].x, h = t[0].y) : l > 1 ? (c = t[1].x, h = t[1].y) : (c = t[0].x + l * s, h = t[0].y + l * o), new Gt(c, h);
24456
24456
  }
24457
24457
  function f4(n, t) {
24458
24458
  return n.x === t.x && n.y === t.y;
@@ -24641,11 +24641,11 @@ class ts extends Wl {
24641
24641
  const [o] = Ci(this.five).intersectRaycaster(e);
24642
24642
  if (!o)
24643
24643
  return;
24644
- const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new Nt(a.x * l, a.y * c), u = this.model.getAllLines().map((A) => {
24644
+ const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new Gt(a.x * l, a.y * c), u = this.model.getAllLines().map((A) => {
24645
24645
  const [P, M] = A.points, E = P.position.clone().project(r), z = M.position.clone().project(r);
24646
24646
  if (!Us(E) && !Us(z))
24647
24647
  return null;
24648
- const D = new Nt(E.x * l, E.y * c), R = new Nt(z.x * l, z.y * c);
24648
+ const D = new Gt(E.x * l, E.y * c), R = new Gt(z.x * l, z.y * c);
24649
24649
  return { id: A.id, points: [D, R] };
24650
24650
  }).filter((A) => !!A);
24651
24651
  if (u.length === 0)
@@ -24802,7 +24802,7 @@ class hg extends Wl {
24802
24802
  }
24803
24803
  function g4(n, t) {
24804
24804
  const e = (n.x + 1) / 2 * t.width, i = -(n.y - 1) / 2 * t.height;
24805
- return new Nt(e, i);
24805
+ return new Gt(e, i);
24806
24806
  }
24807
24807
  function p4(n, t, e, i) {
24808
24808
  const s = n.getElement();
@@ -24815,7 +24815,7 @@ function p4(n, t, e, i) {
24815
24815
  return typeof i == "number" && r[0].distance > i ? null : r[0];
24816
24816
  }
24817
24817
  function ug(n) {
24818
- const { x: t, y: e } = n.center, { clientWidth: i, clientHeight: s } = n.target, o = n.target.getBoundingClientRect(), r = new Nt(t, e).sub(new Nt(o.left, o.top)), a = new Nt(r.x / i * 2 - 1, -(r.y / s) * 2 + 1);
24818
+ const { x: t, y: e } = n.center, { clientWidth: i, clientHeight: s } = n.target, o = n.target.getBoundingClientRect(), r = new Gt(t, e).sub(new Gt(o.left, o.top)), a = new Gt(r.x / i * 2 - 1, -(r.y / s) * 2 + 1);
24819
24819
  return { point: r, ndcPoint: a };
24820
24820
  }
24821
24821
  const dg = () => !1;
@@ -24893,11 +24893,11 @@ class fg extends Wl {
24893
24893
  const o = Ci(this.five), [r] = o.intersectRaycaster(e);
24894
24894
  if (!r)
24895
24895
  return;
24896
- const a = this.five.camera, l = r.point.clone().project(a), c = this.container.clientWidth, h = this.container.clientHeight, u = new Nt(l.x * c, l.y * h), d = this.model.getAllLines().map((A) => {
24896
+ const a = this.five.camera, l = r.point.clone().project(a), c = this.container.clientWidth, h = this.container.clientHeight, u = new Gt(l.x * c, l.y * h), d = this.model.getAllLines().map((A) => {
24897
24897
  const [P, M] = A.points, E = P.position.clone().project(a), z = M.position.clone().project(a);
24898
24898
  if (!Us(E) && !Us(z))
24899
24899
  return null;
24900
- const D = new Nt(E.x * c, E.y * h), R = new Nt(z.x * c, z.y * h);
24900
+ const D = new Gt(E.x * c, E.y * h), R = new Gt(z.x * c, z.y * h);
24901
24901
  return { id: A.id, points: [D, R] };
24902
24902
  }).filter((A) => !!A);
24903
24903
  if (d.length === 0)
@@ -25243,11 +25243,11 @@ class br extends Wl {
25243
25243
  const i = Ci(this.five), [s] = i.intersectRaycaster(e);
25244
25244
  if (!s)
25245
25245
  return;
25246
- const o = this.five.camera, r = s.point.clone().project(o), a = this.container.clientWidth, l = this.container.clientHeight, c = new Nt(r.x * a, r.y * l), h = this.model.getAllLines().map((g) => {
25246
+ const o = this.five.camera, r = s.point.clone().project(o), a = this.container.clientWidth, l = this.container.clientHeight, c = new Gt(r.x * a, r.y * l), h = this.model.getAllLines().map((g) => {
25247
25247
  const [m, v] = g.points, A = m.position.clone().project(o), P = v.position.clone().project(o);
25248
25248
  if (!Us(A) && !Us(P))
25249
25249
  return null;
25250
- const M = new Nt(A.x * a, A.y * l), E = new Nt(P.x * a, P.y * l);
25250
+ const M = new Gt(A.x * a, A.y * l), E = new Gt(P.x * a, P.y * l);
25251
25251
  return { id: g.id, points: [M, E] };
25252
25252
  }).filter((g) => !!g);
25253
25253
  if (h.length === 0)
@@ -26472,11 +26472,11 @@ function Eg(n) {
26472
26472
  },
26473
26473
  i(o) {
26474
26474
  s || (wt(() => {
26475
- s && (i || (i = zi(t, _t, { duration: 300 }, !0)), i.run(1));
26475
+ s && (i || (i = zi(t, Bt, { duration: 300 }, !0)), i.run(1));
26476
26476
  }), s = !0);
26477
26477
  },
26478
26478
  o(o) {
26479
- i || (i = zi(t, _t, { duration: 300 }, !1)), i.run(0), s = !1;
26479
+ i || (i = zi(t, Bt, { duration: 300 }, !1)), i.run(0), s = !1;
26480
26480
  },
26481
26481
  d(o) {
26482
26482
  o && Q(t), o && i && i.end();
@@ -26632,11 +26632,11 @@ function kg(n) {
26632
26632
  },
26633
26633
  i(o) {
26634
26634
  s || (H(e.$$.fragment, o), o && wt(() => {
26635
- s && (i || (i = zi(t, _t, { duration: Yo }, !0)), i.run(1));
26635
+ s && (i || (i = zi(t, Bt, { duration: Yo }, !0)), i.run(1));
26636
26636
  }), s = !0);
26637
26637
  },
26638
26638
  o(o) {
26639
- Y(e.$$.fragment, o), o && (i || (i = zi(t, _t, { duration: Yo }, !1)), i.run(0)), s = !1;
26639
+ Y(e.$$.fragment, o), o && (i || (i = zi(t, Bt, { duration: Yo }, !1)), i.run(0)), s = !1;
26640
26640
  },
26641
26641
  d(o) {
26642
26642
  o && Q(t), ge(e), o && i && i.end();
@@ -26678,11 +26678,11 @@ function xg(n) {
26678
26678
  },
26679
26679
  i(h) {
26680
26680
  a || (h && wt(() => {
26681
- a && (r || (r = zi(t, _t, { duration: Yo }, !0)), r.run(1));
26681
+ a && (r || (r = zi(t, Bt, { duration: Yo }, !0)), r.run(1));
26682
26682
  }), a = !0);
26683
26683
  },
26684
26684
  o(h) {
26685
- h && (r || (r = zi(t, _t, { duration: Yo }, !1)), r.run(0)), a = !1;
26685
+ h && (r || (r = zi(t, Bt, { duration: Yo }, !1)), r.run(0)), a = !1;
26686
26686
  },
26687
26687
  d(h) {
26688
26688
  h && Q(t), h && r && r.end(), l = !1, c();
@@ -26713,11 +26713,11 @@ function Sg(n) {
26713
26713
  },
26714
26714
  i(h) {
26715
26715
  a || (h && wt(() => {
26716
- a && (r || (r = zi(t, _t, { duration: Yo }, !0)), r.run(1));
26716
+ a && (r || (r = zi(t, Bt, { duration: Yo }, !0)), r.run(1));
26717
26717
  }), a = !0);
26718
26718
  },
26719
26719
  o(h) {
26720
- h && (r || (r = zi(t, _t, { duration: Yo }, !1)), r.run(0)), a = !1;
26720
+ h && (r || (r = zi(t, Bt, { duration: Yo }, !1)), r.run(0)), a = !1;
26721
26721
  },
26722
26722
  d(h) {
26723
26723
  h && Q(t), h && r && r.end(), l = !1, c();
@@ -27044,11 +27044,11 @@ function Dg(n) {
27044
27044
  },
27045
27045
  i(r) {
27046
27046
  o || (wt(() => {
27047
- o && (s || (s = zi(t, _t, {}, !0)), s.run(1));
27047
+ o && (s || (s = zi(t, Bt, {}, !0)), s.run(1));
27048
27048
  }), o = !0);
27049
27049
  },
27050
27050
  o(r) {
27051
- s || (s = zi(t, _t, {}, !1)), s.run(0), o = !1;
27051
+ s || (s = zi(t, Bt, {}, !1)), s.run(0), o = !1;
27052
27052
  },
27053
27053
  d(r) {
27054
27054
  r && Q(t), n[7](null), r && s && s.end();
@@ -27924,7 +27924,7 @@ const Jr = {
27924
27924
  ctrlKey: 17,
27925
27925
  altKey: 18,
27926
27926
  metaKey: 91
27927
- }, Vt = {
27927
+ }, Ft = {
27928
27928
  16: !1,
27929
27929
  18: !1,
27930
27930
  17: !1,
@@ -27993,8 +27993,8 @@ function EI(n, t) {
27993
27993
  function MI(n) {
27994
27994
  let t = n.keyCode || n.which || n.charCode;
27995
27995
  const e = At.indexOf(t);
27996
- if (e >= 0 && At.splice(e, 1), n.key && n.key.toLowerCase() === "meta" && At.splice(0, At.length), (t === 93 || t === 224) && (t = 91), t in Vt) {
27997
- Vt[t] = !1;
27996
+ if (e >= 0 && At.splice(e, 1), n.key && n.key.toLowerCase() === "meta" && At.splice(0, At.length), (t === 93 || t === 224) && (t = 91), t in Ft) {
27997
+ Ft[t] = !1;
27998
27998
  for (const i in an)
27999
27999
  an[i] === t && (pt[i] = !1);
28000
28000
  }
@@ -28047,9 +28047,9 @@ function zg(n, t, e, i) {
28047
28047
  let s;
28048
28048
  if (t.scope === e || t.scope === "all") {
28049
28049
  s = t.mods.length > 0;
28050
- for (const o in Vt)
28051
- Object.prototype.hasOwnProperty.call(Vt, o) && (!Vt[o] && t.mods.indexOf(+o) > -1 || Vt[o] && t.mods.indexOf(+o) === -1) && (s = !1);
28052
- (t.mods.length === 0 && !Vt[16] && !Vt[18] && !Vt[17] && !Vt[91] || s || t.shortcut === "*") && (t.keys = [], t.keys = t.keys.concat(At), t.method(n, t) === !1 && (n.preventDefault ? n.preventDefault() : n.returnValue = !1, n.stopPropagation && n.stopPropagation(), n.cancelBubble && (n.cancelBubble = !0)));
28050
+ for (const o in Ft)
28051
+ Object.prototype.hasOwnProperty.call(Ft, o) && (!Ft[o] && t.mods.indexOf(+o) > -1 || Ft[o] && t.mods.indexOf(+o) === -1) && (s = !1);
28052
+ (t.mods.length === 0 && !Ft[16] && !Ft[18] && !Ft[17] && !Ft[91] || s || t.shortcut === "*") && (t.keys = [], t.keys = t.keys.concat(At), t.method(n, t) === !1 && (n.preventDefault ? n.preventDefault() : n.returnValue = !1, n.stopPropagation && n.stopPropagation(), n.cancelBubble && (n.cancelBubble = !0)));
28053
28053
  }
28054
28054
  }
28055
28055
  function Og(n, t) {
@@ -28060,16 +28060,16 @@ function Og(n, t) {
28060
28060
  if ((i === 93 || i === 224) && (i = 91), At.indexOf(i) === -1 && i !== 229 && At.push(i), ["metaKey", "ctrlKey", "altKey", "shiftKey"].forEach((a) => {
28061
28061
  const l = Ja[a];
28062
28062
  n[a] && At.indexOf(l) === -1 ? At.push(l) : !n[a] && At.indexOf(l) > -1 ? At.splice(At.indexOf(l), 1) : a === "metaKey" && n[a] && (At = At.filter((c) => c in Ja || c === i));
28063
- }), i in Vt) {
28064
- Vt[i] = !0;
28063
+ }), i in Ft) {
28064
+ Ft[i] = !0;
28065
28065
  for (const a in an)
28066
28066
  an[a] === i && (pt[a] = !0);
28067
28067
  if (!e)
28068
28068
  return;
28069
28069
  }
28070
- for (const a in Vt)
28071
- Object.prototype.hasOwnProperty.call(Vt, a) && (Vt[a] = n[Ja[a]]);
28072
- n.getModifierState && !(n.altKey && !n.ctrlKey) && n.getModifierState("AltGraph") && (At.indexOf(17) === -1 && At.push(17), At.indexOf(18) === -1 && At.push(18), Vt[17] = !0, Vt[18] = !0);
28070
+ for (const a in Ft)
28071
+ Object.prototype.hasOwnProperty.call(Ft, a) && (Ft[a] = n[Ja[a]]);
28072
+ n.getModifierState && !(n.altKey && !n.ctrlKey) && n.getModifierState("AltGraph") && (At.indexOf(17) === -1 && At.push(17), At.indexOf(18) === -1 && At.push(18), Ft[17] = !0, Ft[18] = !0);
28073
28073
  const s = Kr();
28074
28074
  if (e)
28075
28075
  for (let a = 0; a < e.length; a++)
@@ -29540,7 +29540,7 @@ const Ec = 1e-3, Ng = 0.01, Gg = nu, sL = (n, t) => {
29540
29540
  }), m.tags = m.tags.filter((ve) => !ve.destroying), z();
29541
29541
  }, 1900);
29542
29542
  }, E = (de) => {
29543
- de !== Ft.Mode.Panorama && !m.forbidden && (v.$set({ origins: [] }), m.tags.forEach((he) => {
29543
+ de !== Ht.Mode.Panorama && !m.forbidden && (v.$set({ origins: [] }), m.tags.forEach((he) => {
29544
29544
  he.app.$destroy(), he = null;
29545
29545
  }), m.origins = [], m.tags = [], m.forbidden = !0);
29546
29546
  }, z = () => {
@@ -29593,12 +29593,12 @@ const Ec = 1e-3, Ng = 0.01, Gg = nu, sL = (n, t) => {
29593
29593
  };
29594
29594
  let $e;
29595
29595
  for (let st = 0, ot = Ie.length; st < ot; st++) {
29596
- const jt = Ie[st];
29597
- if (Je.weight > jt.weight) {
29596
+ const Rt = Ie[st];
29597
+ if (Je.weight > Rt.weight) {
29598
29598
  $e = st;
29599
29599
  break;
29600
29600
  }
29601
- if (Je.distance < jt.distance) {
29601
+ if (Je.distance < Rt.distance) {
29602
29602
  $e = st;
29603
29603
  break;
29604
29604
  }
@@ -29624,16 +29624,16 @@ const Ec = 1e-3, Ng = 0.01, Gg = nu, sL = (n, t) => {
29624
29624
  Xe.distance + Ng
29625
29625
  ), [Je] = m.intersectObjects ? ht.intersectObjects(m.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(ht) : ht.intersectObjects(n.model.children, !0);
29626
29626
  if (Je && Xe.distance - Je.distance < Ng) {
29627
- const { position: $e, normal: st, id: ot, replacement: jt } = Xe, Wi = new w.Plane().setFromNormalAndCoplanarPoint(st, $e), Gt = $e.clone().sub(ee.position).cross(new w.Vector3(0, 1, 0)).setLength(Ec), ci = [
29627
+ const { position: $e, normal: st, id: ot, replacement: Rt } = Xe, Wi = new w.Plane().setFromNormalAndCoplanarPoint(st, $e), Wt = $e.clone().sub(ee.position).cross(new w.Vector3(0, 1, 0)).setLength(Ec), ci = [
29628
29628
  $e.clone(),
29629
- $e.clone().add(Gt),
29630
- $e.clone().add(new w.Vector3(0, Ec, 0)).add(Gt),
29629
+ $e.clone().add(Wt),
29630
+ $e.clone().add(new w.Vector3(0, Ec, 0)).add(Wt),
29631
29631
  $e.clone().add(new w.Vector3(0, Ec, 0))
29632
- ].map((Ut) => Wi.projectPoint(Ut, new w.Vector3())), { container: vi, dispose: rt } = u.create3DDomContainer(ci) || {}, Wt = new HI({
29632
+ ].map((Qt) => Wi.projectPoint(Qt, new w.Vector3())), { container: vi, dispose: rt } = u.create3DDomContainer(ci) || {}, Ut = new HI({
29633
29633
  target: vi,
29634
29634
  props: {
29635
29635
  id: ot,
29636
- content: m.render(m.template, jt),
29636
+ content: m.render(m.template, Rt),
29637
29637
  lineWidthZoom: 0.38 * (0.01 + ee.position.distanceTo($e) / h),
29638
29638
  lineHeightZoom: 0.4 + (ee.position.distanceTo($e) - c) / h * 0.6,
29639
29639
  contentZoom: 0.1 + ee.position.distanceTo($e) / h,
@@ -29649,7 +29649,7 @@ const Ec = 1e-3, Ng = 0.01, Gg = nu, sL = (n, t) => {
29649
29649
  position: $e,
29650
29650
  normal: st,
29651
29651
  id: ot,
29652
- app: Wt
29652
+ app: Ut
29653
29653
  });
29654
29654
  }
29655
29655
  }
@@ -30137,12 +30137,12 @@ const aL = (n, t) => {
30137
30137
  n.off("modeChange", u);
30138
30138
  }, u = (g) => {
30139
30139
  if (e.enabled) {
30140
- if (g !== Ft.Mode.Floorplan) {
30140
+ if (g !== Ht.Mode.Floorplan) {
30141
30141
  e.fiveModeEnabled = !1, l();
30142
30142
  return;
30143
30143
  }
30144
30144
  n.once("initAnimationEnded", () => {
30145
- e.fiveModeEnabled = n.currentMode === Ft.Mode.Floorplan, l();
30145
+ e.fiveModeEnabled = n.currentMode === Ht.Mode.Floorplan, l();
30146
30146
  });
30147
30147
  }
30148
30148
  };
@@ -30708,10 +30708,10 @@ function vE(n) {
30708
30708
  let AE = 11;
30709
30709
  function bE(n, t, e) {
30710
30710
  const { Vector3: i } = w;
30711
- let { five: s } = t, { modelOcclusionEnable: o } = t, { itemLabels: r } = t, { hooks: a } = t, { displayStrategyType: l } = t, { maxVisibleDistance: c } = t, h = null, u = null, d = (s == null ? void 0 : s.currentMode) === Ft.Mode.Panorama, p, g, m = [], v = !0;
30711
+ let { five: s } = t, { modelOcclusionEnable: o } = t, { itemLabels: r } = t, { hooks: a } = t, { displayStrategyType: l } = t, { maxVisibleDistance: c } = t, h = null, u = null, d = (s == null ? void 0 : s.currentMode) === Ht.Mode.Panorama, p, g, m = [], v = !0;
30712
30712
  const A = (S, L) => {
30713
30713
  const N = S.camera.position.clone(), B = new i(L.modelPosition[0], L.modelPosition[1], L.modelPosition[2]), J = B.distanceTo(N);
30714
- return c !== void 0 && S.state.mode === Ft.Mode.Panorama && J > c ? !1 : Yg(S, B.clone().sub(N).normalize(), N, J);
30714
+ return c !== void 0 && S.state.mode === Ht.Mode.Panorama && J > c ? !1 : Yg(S, B.clone().sub(N).normalize(), N, J);
30715
30715
  }, P = (S) => {
30716
30716
  const { camera: L, model: N } = s, { x: B, y: J, z: te } = S.clone().project(L), $ = (B + 1) / 2, oe = (2 - (J + 1)) / 2;
30717
30717
  return !!(Math.abs(te) < 1 && [$, oe].every((ue) => ue < 1 && ue >= 0));
@@ -30724,7 +30724,7 @@ function bE(n, t, e) {
30724
30724
  return ce(F({}, J), { visible: !1 });
30725
30725
  const te = M(S, J);
30726
30726
  J.name.length * AE;
30727
- const $ = gE(J.modelPosition[1], l), oe = S.currentMode === Ft.Mode.Panorama ? P(new i(J.position[0], J.position[1], J.position[2])) : !0, Z = o ? A(S, J) : !1, ae = oe && !Z;
30727
+ const $ = gE(J.modelPosition[1], l), oe = S.currentMode === Ht.Mode.Panorama ? P(new i(J.position[0], J.position[1], J.position[2])) : !0, Z = o ? A(S, J) : !1, ae = oe && !Z;
30728
30728
  if (!ae)
30729
30729
  return ce(F({}, J), { visible: ae });
30730
30730
  m.push(te);
@@ -30761,7 +30761,7 @@ function bE(n, t, e) {
30761
30761
  let N = [];
30762
30762
  for (const { position: J, panoIndex: te } of L) {
30763
30763
  const $ = S.distanceTo(J);
30764
- (c === void 0 || $ <= c || s.state.mode !== Ft.Mode.Panorama) && N.push({ panoIndex: te, obVector: J, distance: $ });
30764
+ (c === void 0 || $ <= c || s.state.mode !== Ht.Mode.Panorama) && N.push({ panoIndex: te, obVector: J, distance: $ });
30765
30765
  }
30766
30766
  N = N.sort((J, te) => J.distance - te.distance);
30767
30767
  let B;
@@ -30774,7 +30774,7 @@ function bE(n, t, e) {
30774
30774
  }
30775
30775
  return typeof B == "number" ? L[B] : void 0;
30776
30776
  }, I = (S) => {
30777
- if (s.state.mode === Ft.Mode.Panorama)
30777
+ if (s.state.mode === Ht.Mode.Panorama)
30778
30778
  return;
30779
30779
  const L = s.work.observers, N = new i().fromArray(S.position), B = C(N, L);
30780
30780
  if (B && (S.observerIndex = B.panoIndex), typeof S.observerIndex == "number") {
@@ -30783,7 +30783,7 @@ function bE(n, t, e) {
30783
30783
  latitude: Math.acos(te.y / te.length()) - Math.PI / 2
30784
30784
  };
30785
30785
  s.setState(ce(F({}, $), {
30786
- mode: Ft.Mode.Panorama,
30786
+ mode: Ht.Mode.Panorama,
30787
30787
  panoIndex: S.observerIndex
30788
30788
  })), s.once("initAnimationEnded", () => {
30789
30789
  e(1, u = u.map((oe) => ce(F({}, oe), {
@@ -30904,7 +30904,7 @@ const PE = void 0, uL = (n, t) => {
30904
30904
  }, h = () => {
30905
30905
  n.off("modeChange", u);
30906
30906
  }, u = (v) => {
30907
- if (v !== Ft.Mode.Panorama) {
30907
+ if (v !== Ht.Mode.Panorama) {
30908
30908
  e.fiveModeEnabled = !1, r();
30909
30909
  return;
30910
30910
  }
@@ -32383,7 +32383,7 @@ class C8 extends ms {
32383
32383
  }
32384
32384
  }
32385
32385
  });
32386
- const l = (P = e.initialConfig) != null ? P : {}, c = tt({}, Lv, this.config.globalConfig, ...Object.values(o)), h = tt({}, c, l), u = {}, d = Object.values(Ft.Mode);
32386
+ const l = (P = e.initialConfig) != null ? P : {}, c = tt({}, Lv, this.config.globalConfig, ...Object.values(o)), h = tt({}, c, l), u = {}, d = Object.values(Ht.Mode);
32387
32387
  Cl(r).forEach(([M, E]) => {
32388
32388
  d.forEach((z) => {
32389
32389
  (M === "PanoramaLike" && ss(z) || M === "ModelLike" && wi(z)) && (u[z] = tt({}, c, ...Object.values(E), l, { _isMerged: !0 }));
@@ -32531,7 +32531,7 @@ function xc(n, t, e) {
32531
32531
  }
32532
32532
  }
32533
32533
  });
32534
- const a = (A = n.initialConfig) != null ? A : {}, l = tt({}, Lv, t.globalConfig, ...Object.values(s)), c = tt({}, l, a), h = {}, u = Object.values(Ft.Mode);
32534
+ const a = (A = n.initialConfig) != null ? A : {}, l = tt({}, Lv, t.globalConfig, ...Object.values(s)), c = tt({}, l, a), h = {}, u = Object.values(Ht.Mode);
32535
32535
  Cl(o).forEach(([P, M]) => {
32536
32536
  u.forEach((E) => {
32537
32537
  (P === "PanoramaLike" && ss(E) || P === "ModelLike" && wi(E)) && (h[E] = tt({}, l, ...Object.values(M), a, { _isMerged: !0 }));
@@ -32636,7 +32636,7 @@ class Fu {
32636
32636
  const s = JSON.parse(JSON.stringify(e.data)), o = (c = e.initialConfig) != null ? c : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
32637
32637
  e.initialConfig = o;
32638
32638
  const r = xc(e, t.config), a = this.getConfig(e);
32639
- e.config = a, this.id = (h = e.id) != null ? h : Ot(), this.enabled = (u = e.enabled) != null ? u : !0, this.contentType = e.contentType, this.hoverEnabled = (p = (d = a.popoverConfig) == null ? void 0 : d.enabled) != null ? p : !0, this.data = (g = a.initialData) != null && g.important ? tt(e.data, s, a.initialData) : tt(e.data, a.initialData, s);
32639
+ e.config = a, this.id = (h = e.id) != null ? h : jt(), this.enabled = (u = e.enabled) != null ? u : !0, this.contentType = e.contentType, this.hoverEnabled = (p = (d = a.popoverConfig) == null ? void 0 : d.enabled) != null ? p : !0, this.data = (g = a.initialData) != null && g.important ? tt(e.data, s, a.initialData) : tt(e.data, a.initialData, s);
32640
32640
  let l;
32641
32641
  typeof a.unfoldedConfig == "object" ? a.unfoldedConfig.keep === "unfolded" ? l = !0 : a.unfoldedConfig.keep === "folded" ? l = !1 : l = !this.can("fold") : l = !this.can("fold"), this.state = F({
32642
32642
  visible: void 0,
@@ -33580,7 +33580,7 @@ function O8(n) {
33580
33580
  }
33581
33581
  function j8(n, t, e) {
33582
33582
  let i, s, o, r, { inDelay: a = 0 } = t, { outDelay: l = 0 } = t, { duration: c = 1e3 } = t, { unfolded: h } = t, { length: u } = t, { direction: d = "horizontal" } = t, { useLinearColor: p = !1 } = t, { color: g = "white" } = t;
33583
- const m = Ot();
33583
+ const m = jt();
33584
33584
  return n.$$set = (v) => {
33585
33585
  "inDelay" in v && e(0, a = v.inDelay), "outDelay" in v && e(1, l = v.outDelay), "duration" in v && e(2, c = v.duration), "unfolded" in v && e(3, h = v.unfolded), "length" in v && e(11, u = v.length), "direction" in v && e(12, d = v.direction), "useLinearColor" in v && e(4, p = v.useLinearColor), "color" in v && e(5, g = v.color);
33586
33586
  }, n.$$.update = () => {
@@ -33722,14 +33722,14 @@ function ap(n) {
33722
33722
  },
33723
33723
  i(r) {
33724
33724
  o || (r && wt(() => {
33725
- o && (s && s.end(1), i = ps(t, _t, { duration: (
33725
+ o && (s && s.end(1), i = ps(t, Bt, { duration: (
33726
33726
  /*inDelay*/
33727
33727
  n[0]
33728
33728
  ) }), i.start());
33729
33729
  }), o = !0);
33730
33730
  },
33731
33731
  o(r) {
33732
- i && i.invalidate(), r && (s = er(t, _t, { duration: (
33732
+ i && i.invalidate(), r && (s = er(t, Bt, { duration: (
33733
33733
  /*outDelay*/
33734
33734
  n[1]
33735
33735
  ) })), o = !1;
@@ -33988,10 +33988,10 @@ function U8(n, t, e) {
33988
33988
  function v(D) {
33989
33989
  const R = [], T = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
33990
33990
  return D.slice().replace(T, (O) => `${c}${h}${O}${c}`).split(c).forEach((O) => O.startsWith(h) ? R.push({
33991
- id: Ot(),
33991
+ id: jt(),
33992
33992
  content: O.slice(h.length)
33993
33993
  }) : R.push(...O.split("").map((b) => b === " " ? u : b === `
33994
- ` ? d : b).map((b) => ({ id: Ot(), content: b })))), R;
33994
+ ` ? d : b).map((b) => ({ id: jt(), content: b })))), R;
33995
33995
  }
33996
33996
  function A() {
33997
33997
  if (!g)
@@ -34106,7 +34106,7 @@ function hp(n) {
34106
34106
  },
34107
34107
  i(u) {
34108
34108
  l || (H(e.$$.fragment, u), u && wt(() => {
34109
- l && (a && a.end(1), r = ps(s, _t, {
34109
+ l && (a && a.end(1), r = ps(s, Bt, {
34110
34110
  duration: (
34111
34111
  /*duration*/
34112
34112
  n[2]
@@ -34120,7 +34120,7 @@ function hp(n) {
34120
34120
  }), l = !0);
34121
34121
  },
34122
34122
  o(u) {
34123
- Y(e.$$.fragment, u), r && r.invalidate(), u && (a = er(s, _t, {
34123
+ Y(e.$$.fragment, u), r && r.invalidate(), u && (a = er(s, Bt, {
34124
34124
  duration: (
34125
34125
  /*duration*/
34126
34126
  n[2]
@@ -35220,7 +35220,7 @@ function yM(n) {
35220
35220
  }
35221
35221
  function wM(n, t, e) {
35222
35222
  let { inDelay: i = 0 } = t, { duration: s = 1e3 } = t, { outDelay: o = 0 } = t, { unfolded: r } = t;
35223
- const a = Ot();
35223
+ const a = jt();
35224
35224
  return n.$$set = (l) => {
35225
35225
  "inDelay" in l && e(0, i = l.inDelay), "duration" in l && e(1, s = l.duration), "outDelay" in l && e(2, o = l.outDelay), "unfolded" in l && e(3, r = l.unfolded);
35226
35226
  }, [i, s, o, r, a];
@@ -36187,9 +36187,9 @@ var Na = ck, El = {}, hk = {
36187
36187
  var Xe = Array.prototype, Ze = Function.prototype, ht = Object.prototype, Je = ae["__core-js_shared__"], $e = function() {
36188
36188
  var x = /[^.]+$/.exec(Je && Je.keys && Je.keys.IE_PROTO || "");
36189
36189
  return x ? "Symbol(src)_1." + x : "";
36190
- }(), st = Ze.toString, ot = ht.hasOwnProperty, jt = ht.toString, Wi = RegExp(
36190
+ }(), st = Ze.toString, ot = ht.hasOwnProperty, Rt = ht.toString, Wi = RegExp(
36191
36191
  "^" + st.call(ot).replace(N, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
36192
- ), Gt = De ? ae.Buffer : void 0, ci = ae.Symbol, vi = ae.Uint8Array, rt = Ie(Object.getPrototypeOf, Object), Wt = Object.create, Ut = ht.propertyIsEnumerable, sr = Xe.splice, bs = Object.getOwnPropertySymbols, On = Gt ? Gt.isBuffer : void 0, $s = Ie(Object.keys, Object), jn = U(ae, "DataView"), ki = U(ae, "Map"), Ai = U(ae, "Promise"), Rn = U(ae, "Set"), _n = U(ae, "WeakMap"), Ui = U(Object, "create"), hn = ni(jn), un = ni(ki), ys = ni(Ai), ws = ni(Rn), Bn = ni(_n), Qi = ci ? ci.prototype : void 0, eo = Qi ? Qi.valueOf : void 0;
36192
+ ), Wt = De ? ae.Buffer : void 0, ci = ae.Symbol, vi = ae.Uint8Array, rt = Ie(Object.getPrototypeOf, Object), Ut = Object.create, Qt = ht.propertyIsEnumerable, sr = Xe.splice, bs = Object.getOwnPropertySymbols, On = Wt ? Wt.isBuffer : void 0, $s = Ie(Object.keys, Object), jn = U(ae, "DataView"), ki = U(ae, "Map"), Ai = U(ae, "Promise"), Rn = U(ae, "Set"), _n = U(ae, "WeakMap"), Ui = U(Object, "create"), hn = ni(jn), un = ni(ki), ys = ni(Ai), ws = ni(Rn), Bn = ni(_n), Qi = ci ? ci.prototype : void 0, eo = Qi ? Qi.valueOf : void 0;
36193
36193
  function ji(x) {
36194
36194
  var G = -1, K = x ? x.length : 0;
36195
36195
  for (this.clear(); ++G < K; ) {
@@ -36276,7 +36276,7 @@ var Na = ck, El = {}, hk = {
36276
36276
  return V(this, x).set(x, G), this;
36277
36277
  }
36278
36278
  Tt.prototype.clear = Cs, Tt.prototype.delete = Ri, Tt.prototype.get = fn, Tt.prototype.has = gn, Tt.prototype.set = Fn;
36279
- function Rt(x) {
36279
+ function _t(x) {
36280
36280
  this.__data__ = new Dt(x);
36281
36281
  }
36282
36282
  function lr() {
@@ -36288,7 +36288,7 @@ var Na = ck, El = {}, hk = {
36288
36288
  function Hn(x) {
36289
36289
  return this.__data__.get(x);
36290
36290
  }
36291
- function Qt(x) {
36291
+ function Xt(x) {
36292
36292
  return this.__data__.has(x);
36293
36293
  }
36294
36294
  function Xi(x, G) {
@@ -36301,7 +36301,7 @@ var Na = ck, El = {}, hk = {
36301
36301
  }
36302
36302
  return K.set(x, G), this;
36303
36303
  }
36304
- Rt.prototype.clear = lr, Rt.prototype.delete = cr, Rt.prototype.get = Hn, Rt.prototype.has = Qt, Rt.prototype.set = Xi;
36304
+ _t.prototype.clear = lr, _t.prototype.delete = cr, _t.prototype.get = Hn, _t.prototype.has = Xt, _t.prototype.set = Xi;
36305
36305
  function $t(x, G) {
36306
36306
  var K = fr(x) || lo(x) ? _e(x.length, String) : [], le = K.length, We = !!le;
36307
36307
  for (var He in x)
@@ -36332,13 +36332,13 @@ var Na = ck, El = {}, hk = {
36332
36332
  if (et = be(x), !G)
36333
36333
  return Is(x, et);
36334
36334
  } else {
36335
- var it = ne(x), Xt = it == h || it == u;
36335
+ var it = ne(x), Yt = it == h || it == u;
36336
36336
  if (va(x))
36337
36337
  return Yi(x, G);
36338
- if (it == g || it == o || Xt && !He) {
36338
+ if (it == g || it == o || Yt && !He) {
36339
36339
  if (Fe(x))
36340
36340
  return He ? x : {};
36341
- if (et = Oe(Xt ? {} : x), !G)
36341
+ if (et = Oe(Yt ? {} : x), !G)
36342
36342
  return ur(x, It(et, x));
36343
36343
  } else {
36344
36344
  if (!$[it])
@@ -36346,25 +36346,25 @@ var Na = ck, El = {}, hk = {
36346
36346
  et = Qe(x, it, ei, G);
36347
36347
  }
36348
36348
  }
36349
- qe || (qe = new Rt());
36349
+ qe || (qe = new _t());
36350
36350
  var ui = qe.get(x);
36351
36351
  if (ui)
36352
36352
  return ui;
36353
36353
  if (qe.set(x, et), !kt)
36354
36354
  var zt = K ? dr(x) : pr(x);
36355
- return Le(zt || x, function(Yt, Bt) {
36356
- zt && (Bt = Yt, Yt = x[Bt]), hi(et, Bt, ei(Yt, G, K, le, Bt, x, qe));
36355
+ return Le(zt || x, function(Zt, Vt) {
36356
+ zt && (Vt = Zt, Zt = x[Vt]), hi(et, Vt, ei(Zt, G, K, le, Vt, x, qe));
36357
36357
  }), et;
36358
36358
  }
36359
36359
  function oo(x) {
36360
- return Zi(x) ? Wt(x) : {};
36360
+ return Zi(x) ? Ut(x) : {};
36361
36361
  }
36362
36362
  function ro(x, G, K) {
36363
36363
  var le = G(x);
36364
36364
  return fr(x) ? le : ee(le, K(x));
36365
36365
  }
36366
36366
  function Nn(x) {
36367
- return jt.call(x);
36367
+ return Rt.call(x);
36368
36368
  }
36369
36369
  function ti(x) {
36370
36370
  if (!Zi(x) || Lt(x))
@@ -36443,7 +36443,7 @@ var Na = ck, El = {}, hk = {
36443
36443
  }
36444
36444
  var q = bs ? Ie(bs, Object) : ic, ne = Nn;
36445
36445
  (jn && ne(new jn(new ArrayBuffer(1))) != D || ki && ne(new ki()) != d || Ai && ne(Ai.resolve()) != m || Rn && ne(new Rn()) != A || _n && ne(new _n()) != E) && (ne = function(x) {
36446
- var G = jt.call(x), K = G == g ? x.constructor : void 0, le = K ? ni(K) : void 0;
36446
+ var G = Rt.call(x), K = G == g ? x.constructor : void 0, le = K ? ni(K) : void 0;
36447
36447
  if (le)
36448
36448
  switch (le) {
36449
36449
  case hn:
@@ -36533,7 +36533,7 @@ var Na = ck, El = {}, hk = {
36533
36533
  return x === G || x !== x && G !== G;
36534
36534
  }
36535
36535
  function lo(x) {
36536
- return tc(x) && ot.call(x, "callee") && (!Ut.call(x, "callee") || jt.call(x) == o);
36536
+ return tc(x) && ot.call(x, "callee") && (!Qt.call(x, "callee") || Rt.call(x) == o);
36537
36537
  }
36538
36538
  var fr = Array.isArray;
36539
36539
  function co(x) {
@@ -36544,7 +36544,7 @@ var Na = ck, El = {}, hk = {
36544
36544
  }
36545
36545
  var va = On || nc;
36546
36546
  function gr(x) {
36547
- var G = Zi(x) ? jt.call(x) : "";
36547
+ var G = Zi(x) ? Rt.call(x) : "";
36548
36548
  return G == h || G == u;
36549
36549
  }
36550
36550
  function Aa(x) {
@@ -36637,12 +36637,12 @@ var Ml = {}, dk = {
36637
36637
  K[++G] = le;
36638
36638
  }), K;
36639
36639
  }
36640
- var jt = Array.prototype, Wi = Function.prototype, Gt = Object.prototype, ci = he["__core-js_shared__"], vi = Wi.toString, rt = Gt.hasOwnProperty, Wt = function() {
36640
+ var Rt = Array.prototype, Wi = Function.prototype, Wt = Object.prototype, ci = he["__core-js_shared__"], vi = Wi.toString, rt = Wt.hasOwnProperty, Ut = function() {
36641
36641
  var x = /[^.]+$/.exec(ci && ci.keys && ci.keys.IE_PROTO || "");
36642
36642
  return x ? "Symbol(src)_1." + x : "";
36643
- }(), Ut = Gt.toString, sr = RegExp(
36643
+ }(), Qt = Wt.toString, sr = RegExp(
36644
36644
  "^" + vi.call(rt).replace(Z, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
36645
- ), bs = Te ? he.Buffer : void 0, On = he.Symbol, $s = he.Uint8Array, jn = Gt.propertyIsEnumerable, ki = jt.splice, Ai = On ? On.toStringTag : void 0, Rn = Object.getOwnPropertySymbols, _n = bs ? bs.isBuffer : void 0, Ui = st(Object.keys, Object), hn = q(he, "DataView"), un = q(he, "Map"), ys = q(he, "Promise"), ws = q(he, "Set"), Bn = q(he, "WeakMap"), Qi = q(Object, "create"), eo = ni(hn), ji = ni(un), Vn = ni(ys), or = ni(ws), rr = ni(Bn), Ps = On ? On.prototype : void 0, dn = Ps ? Ps.valueOf : void 0;
36645
+ ), bs = Te ? he.Buffer : void 0, On = he.Symbol, $s = he.Uint8Array, jn = Wt.propertyIsEnumerable, ki = Rt.splice, Ai = On ? On.toStringTag : void 0, Rn = Object.getOwnPropertySymbols, _n = bs ? bs.isBuffer : void 0, Ui = st(Object.keys, Object), hn = q(he, "DataView"), un = q(he, "Map"), ys = q(he, "Promise"), ws = q(he, "Set"), Bn = q(he, "WeakMap"), Qi = q(Object, "create"), eo = ni(hn), ji = ni(un), Vn = ni(ys), or = ni(ws), rr = ni(Bn), Ps = On ? On.prototype : void 0, dn = Ps ? Ps.valueOf : void 0;
36646
36646
  function Dt(x) {
36647
36647
  var G = -1, K = x == null ? 0 : x.length;
36648
36648
  for (this.clear(); ++G < K; ) {
@@ -36703,7 +36703,7 @@ var Ml = {}, dk = {
36703
36703
  return le < 0 ? (++this.size, K.push([x, G])) : K[le][1] = G, this;
36704
36704
  }
36705
36705
  Tt.prototype.clear = Cs, Tt.prototype.delete = Ri, Tt.prototype.get = fn, Tt.prototype.has = gn, Tt.prototype.set = Fn;
36706
- function Rt(x) {
36706
+ function _t(x) {
36707
36707
  var G = -1, K = x == null ? 0 : x.length;
36708
36708
  for (this.clear(); ++G < K; ) {
36709
36709
  var le = x[G];
@@ -36724,17 +36724,17 @@ var Ml = {}, dk = {
36724
36724
  function Hn(x) {
36725
36725
  return U(this, x).get(x);
36726
36726
  }
36727
- function Qt(x) {
36727
+ function Xt(x) {
36728
36728
  return U(this, x).has(x);
36729
36729
  }
36730
36730
  function Xi(x, G) {
36731
36731
  var K = U(this, x), le = K.size;
36732
36732
  return K.set(x, G), this.size += K.size == le ? 0 : 1, this;
36733
36733
  }
36734
- Rt.prototype.clear = lr, Rt.prototype.delete = cr, Rt.prototype.get = Hn, Rt.prototype.has = Qt, Rt.prototype.set = Xi;
36734
+ _t.prototype.clear = lr, _t.prototype.delete = cr, _t.prototype.get = Hn, _t.prototype.has = Xt, _t.prototype.set = Xi;
36735
36735
  function $t(x) {
36736
36736
  var G = -1, K = x == null ? 0 : x.length;
36737
- for (this.__data__ = new Rt(); ++G < K; )
36737
+ for (this.__data__ = new _t(); ++G < K; )
36738
36738
  this.add(x[G]);
36739
36739
  }
36740
36740
  function hi(x) {
@@ -36767,7 +36767,7 @@ var Ml = {}, dk = {
36767
36767
  var le = K.__data__;
36768
36768
  if (!un || le.length < e - 1)
36769
36769
  return le.push([x, G]), this.size = ++K.size, this;
36770
- K = this.__data__ = new Rt(le);
36770
+ K = this.__data__ = new _t(le);
36771
36771
  }
36772
36772
  return K.set(x, G), this.size = K.size, this;
36773
36773
  }
@@ -36804,18 +36804,18 @@ var Ml = {}, dk = {
36804
36804
  function bi(x, G, K, le, We, He) {
36805
36805
  var qe = lo(x), et = lo(G), kt = qe ? l : Oe(x), it = et ? l : Oe(G);
36806
36806
  kt = kt == a ? P : kt, it = it == a ? P : it;
36807
- var Xt = kt == P, ui = it == P, zt = kt == it;
36807
+ var Yt = kt == P, ui = it == P, zt = kt == it;
36808
36808
  if (zt && co(x)) {
36809
36809
  if (!co(G))
36810
36810
  return !1;
36811
- qe = !0, Xt = !1;
36811
+ qe = !0, Yt = !1;
36812
36812
  }
36813
- if (zt && !Xt)
36813
+ if (zt && !Yt)
36814
36814
  return He || (He = new It()), qe || ba(x) ? Un(x, G, K, le, We, He) : ur(x, G, kt, K, le, We, He);
36815
36815
  if (!(K & s)) {
36816
- var Yt = Xt && rt.call(x, "__wrapped__"), Bt = ui && rt.call(G, "__wrapped__");
36817
- if (Yt || Bt) {
36818
- var Qn = Yt ? x.value() : x, vn = Bt ? G.value() : G;
36816
+ var Zt = Yt && rt.call(x, "__wrapped__"), Vt = ui && rt.call(G, "__wrapped__");
36817
+ if (Zt || Vt) {
36818
+ var Qn = Zt ? x.value() : x, vn = Vt ? G.value() : G;
36819
36819
  return He || (He = new It()), We(Qn, vn, K, le, He);
36820
36820
  }
36821
36821
  }
@@ -36845,11 +36845,11 @@ var Ml = {}, dk = {
36845
36845
  var it = He.get(x);
36846
36846
  if (it && He.get(G))
36847
36847
  return it == G;
36848
- var Xt = -1, ui = !0, zt = K & o ? new $t() : void 0;
36849
- for (He.set(x, G), He.set(G, x); ++Xt < et; ) {
36850
- var Yt = x[Xt], Bt = G[Xt];
36848
+ var Yt = -1, ui = !0, zt = K & o ? new $t() : void 0;
36849
+ for (He.set(x, G), He.set(G, x); ++Yt < et; ) {
36850
+ var Zt = x[Yt], Vt = G[Yt];
36851
36851
  if (le)
36852
- var Qn = qe ? le(Bt, Yt, Xt, G, x, He) : le(Yt, Bt, Xt, x, G, He);
36852
+ var Qn = qe ? le(Vt, Zt, Yt, G, x, He) : le(Zt, Vt, Yt, x, G, He);
36853
36853
  if (Qn !== void 0) {
36854
36854
  if (Qn)
36855
36855
  continue;
@@ -36858,13 +36858,13 @@ var Ml = {}, dk = {
36858
36858
  }
36859
36859
  if (zt) {
36860
36860
  if (!ze(G, function(vn, Es) {
36861
- if (!ht(zt, Es) && (Yt === vn || We(Yt, vn, K, le, He)))
36861
+ if (!ht(zt, Es) && (Zt === vn || We(Zt, vn, K, le, He)))
36862
36862
  return zt.push(Es);
36863
36863
  })) {
36864
36864
  ui = !1;
36865
36865
  break;
36866
36866
  }
36867
- } else if (!(Yt === Bt || We(Yt, Bt, K, le, He))) {
36867
+ } else if (!(Zt === Vt || We(Zt, Vt, K, le, He))) {
36868
36868
  ui = !1;
36869
36869
  break;
36870
36870
  }
@@ -36898,8 +36898,8 @@ var Ml = {}, dk = {
36898
36898
  if (it)
36899
36899
  return it == G;
36900
36900
  le |= o, qe.set(x, G);
36901
- var Xt = Un(et(x), et(G), le, We, He, qe);
36902
- return qe.delete(x), Xt;
36901
+ var Yt = Un(et(x), et(G), le, We, He, qe);
36902
+ return qe.delete(x), Yt;
36903
36903
  case T:
36904
36904
  if (dn)
36905
36905
  return dn.call(x) == dn.call(G);
@@ -36907,18 +36907,18 @@ var Ml = {}, dk = {
36907
36907
  return !1;
36908
36908
  }
36909
36909
  function dr(x, G, K, le, We, He) {
36910
- var qe = K & s, et = V(x), kt = et.length, it = V(G), Xt = it.length;
36911
- if (kt != Xt && !qe)
36910
+ var qe = K & s, et = V(x), kt = et.length, it = V(G), Yt = it.length;
36911
+ if (kt != Yt && !qe)
36912
36912
  return !1;
36913
36913
  for (var ui = kt; ui--; ) {
36914
36914
  var zt = et[ui];
36915
36915
  if (!(qe ? zt in G : rt.call(G, zt)))
36916
36916
  return !1;
36917
36917
  }
36918
- var Yt = He.get(x);
36919
- if (Yt && He.get(G))
36920
- return Yt == G;
36921
- var Bt = !0;
36918
+ var Zt = He.get(x);
36919
+ if (Zt && He.get(G))
36920
+ return Zt == G;
36921
+ var Vt = !0;
36922
36922
  He.set(x, G), He.set(G, x);
36923
36923
  for (var Qn = qe; ++ui < kt; ) {
36924
36924
  zt = et[ui];
@@ -36926,16 +36926,16 @@ var Ml = {}, dk = {
36926
36926
  if (le)
36927
36927
  var ld = qe ? le(Es, vn, zt, G, x, He) : le(vn, Es, zt, x, G, He);
36928
36928
  if (!(ld === void 0 ? vn === Es || We(vn, Es, K, le, He) : ld)) {
36929
- Bt = !1;
36929
+ Vt = !1;
36930
36930
  break;
36931
36931
  }
36932
36932
  Qn || (Qn = zt == "constructor");
36933
36933
  }
36934
- if (Bt && !Qn) {
36934
+ if (Vt && !Qn) {
36935
36935
  var ya = x.constructor, wa = G.constructor;
36936
- ya != wa && "constructor" in x && "constructor" in G && !(typeof ya == "function" && ya instanceof ya && typeof wa == "function" && wa instanceof wa) && (Bt = !1);
36936
+ ya != wa && "constructor" in x && "constructor" in G && !(typeof ya == "function" && ya instanceof ya && typeof wa == "function" && wa instanceof wa) && (Vt = !1);
36937
36937
  }
36938
- return He.delete(x), He.delete(G), Bt;
36938
+ return He.delete(x), He.delete(G), Vt;
36939
36939
  }
36940
36940
  function V(x) {
36941
36941
  return pn(x, pr, be);
@@ -36955,7 +36955,7 @@ var Ml = {}, dk = {
36955
36955
  var le = !0;
36956
36956
  } catch (He) {
36957
36957
  }
36958
- var We = Ut.call(x);
36958
+ var We = Qt.call(x);
36959
36959
  return le && (G ? x[Ai] = K : delete x[Ai]), We;
36960
36960
  }
36961
36961
  var be = Rn ? function(x) {
@@ -36988,14 +36988,14 @@ var Ml = {}, dk = {
36988
36988
  return G == "string" || G == "number" || G == "symbol" || G == "boolean" ? x !== "__proto__" : x === null;
36989
36989
  }
36990
36990
  function Et(x) {
36991
- return !!Wt && Wt in x;
36991
+ return !!Ut && Ut in x;
36992
36992
  }
36993
36993
  function Lt(x) {
36994
- var G = x && x.constructor, K = typeof G == "function" && G.prototype || Gt;
36994
+ var G = x && x.constructor, K = typeof G == "function" && G.prototype || Wt;
36995
36995
  return x === K;
36996
36996
  }
36997
36997
  function ii(x) {
36998
- return Ut.call(x);
36998
+ return Qt.call(x);
36999
36999
  }
37000
37000
  function ni(x) {
37001
37001
  if (x != null) {
@@ -39494,25 +39494,25 @@ function $p(n) {
39494
39494
  };
39495
39495
  }
39496
39496
  function em(n) {
39497
- let t, e, i, s = (
39497
+ let t, e, i = (
39498
39498
  /*data*/
39499
39499
  n[1].price.value + ""
39500
- ), o, r = (
39500
+ ), s, o, r = (
39501
39501
  /*data*/
39502
39502
  n[1].price.unit && tm(n)
39503
39503
  );
39504
39504
  return {
39505
39505
  c() {
39506
- t = W("div"), r && r.c(), e = re(), i = W("span"), o = Re(s), y(i, "class", "value svelte-rehsoc"), y(t, "class", "price-section svelte-rehsoc");
39506
+ t = W("div"), e = W("span"), s = Re(i), o = re(), r && r.c(), y(e, "class", "value svelte-rehsoc"), y(t, "class", "price-section svelte-rehsoc");
39507
39507
  },
39508
39508
  m(a, l) {
39509
- X(a, t, l), r && r.m(t, null), _(t, e), _(t, i), _(i, o);
39509
+ X(a, t, l), _(t, e), _(e, s), _(t, o), r && r.m(t, null);
39510
39510
  },
39511
39511
  p(a, l) {
39512
- /*data*/
39513
- a[1].price.unit ? r ? r.p(a, l) : (r = tm(a), r.c(), r.m(t, e)) : r && (r.d(1), r = null), l & /*data*/
39514
- 2 && s !== (s = /*data*/
39515
- a[1].price.value + "") && Ve(o, s);
39512
+ l & /*data*/
39513
+ 2 && i !== (i = /*data*/
39514
+ a[1].price.value + "") && Ve(s, i), /*data*/
39515
+ a[1].price.unit ? r ? r.p(a, l) : (r = tm(a), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
39516
39516
  },
39517
39517
  d(a) {
39518
39518
  a && Q(t), r && r.d();
@@ -40681,7 +40681,7 @@ function am(n) {
40681
40681
  },
40682
40682
  i(l) {
40683
40683
  a || (H(e.$$.fragment, l), H(s.$$.fragment, l), l && wt(() => {
40684
- a && (r && r.end(1), o = ps(t, _t, {
40684
+ a && (r && r.end(1), o = ps(t, Bt, {
40685
40685
  duration: 1e3,
40686
40686
  delay: 0,
40687
40687
  easing: Go
@@ -40690,7 +40690,7 @@ function am(n) {
40690
40690
  },
40691
40691
  o(l) {
40692
40692
  var c, h;
40693
- Y(e.$$.fragment, l), Y(s.$$.fragment, l), o && o.invalidate(), l && (r = er(t, _t, {
40693
+ Y(e.$$.fragment, l), Y(s.$$.fragment, l), o && o.invalidate(), l && (r = er(t, Bt, {
40694
40694
  duration: 1e3,
40695
40695
  delay: 20 * Math.min(
40696
40696
  /*content*/
@@ -45201,7 +45201,7 @@ function xx(n, t, e) {
45201
45201
  201326594 && ee(), n.$$.dirty[0] & /*audioPlaying, audioDuration*/
45202
45202
  134217730 && Te(), n.$$.dirty[0] & /*isAudioTag, isMarketingTag, tag*/
45203
45203
  268 && e(33, u = (() => {
45204
- var Ze, ht, Je, $e, st, ot, jt, Wi, Gt, ci, vi;
45204
+ var Ze, ht, Je, $e, st, ot, Rt, Wi, Wt, ci, vi;
45205
45205
  if (s || i)
45206
45206
  return null;
45207
45207
  if (L.data.mediaData && L.data.mediaData.length > 0) {
@@ -45210,22 +45210,22 @@ function xx(n, t, e) {
45210
45210
  if (rt.videoCoverUrl)
45211
45211
  return rt.videoCoverUrl;
45212
45212
  if (rt.url) {
45213
- const Wt = rt.url.toLowerCase();
45214
- if (bh(Wt)) {
45215
- const Ut = Sv(Wt);
45216
- if (Ut)
45217
- return `https://img.youtube.com/vi/${Ut}/hqdefault.jpg`;
45213
+ const Ut = rt.url.toLowerCase();
45214
+ if (bh(Ut)) {
45215
+ const Qt = Sv(Ut);
45216
+ if (Qt)
45217
+ return `https://img.youtube.com/vi/${Qt}/hqdefault.jpg`;
45218
45218
  }
45219
- if (yh(Wt)) {
45220
- const Ut = Dv(Wt);
45221
- if (Ut)
45222
- return `https://vumbnail.com/${Ut}.jpg`;
45219
+ if (yh(Ut)) {
45220
+ const Qt = Dv(Ut);
45221
+ if (Qt)
45222
+ return `https://vumbnail.com/${Qt}.jpg`;
45223
45223
  }
45224
45224
  return;
45225
45225
  }
45226
45226
  }
45227
45227
  if (L.contentType === "Panorama")
45228
- return (vi = (jt = (Je = (ht = (Ze = L.data.mediaData) == null ? void 0 : Ze[0]) == null ? void 0 : ht.cube) == null ? void 0 : Je.front) != null ? jt : (ot = (st = ($e = L.data.mediaData) == null ? void 0 : $e[0]) == null ? void 0 : st.thumbnail) == null ? void 0 : ot.split("?")[0]) != null ? vi : (ci = (Gt = (Wi = L.data.mediaData) == null ? void 0 : Wi[0]) == null ? void 0 : Gt.url) == null ? void 0 : ci.split("?")[0];
45228
+ return (vi = (Rt = (Je = (ht = (Ze = L.data.mediaData) == null ? void 0 : Ze[0]) == null ? void 0 : ht.cube) == null ? void 0 : Je.front) != null ? Rt : (ot = (st = ($e = L.data.mediaData) == null ? void 0 : $e[0]) == null ? void 0 : st.thumbnail) == null ? void 0 : ot.split("?")[0]) != null ? vi : (ci = (Wt = (Wi = L.data.mediaData) == null ? void 0 : Wi[0]) == null ? void 0 : Wt.url) == null ? void 0 : ci.split("?")[0];
45229
45229
  if (rt.url || rt.thumbnail)
45230
45230
  return rt.url || rt.thumbnail;
45231
45231
  }
@@ -47191,7 +47191,7 @@ function Gm(n) {
47191
47191
  for (let h = 0; h < a.length; h += 1)
47192
47192
  H(e[h]);
47193
47193
  o || wt(() => {
47194
- o = ps(t, _t, {}), o.start();
47194
+ o = ps(t, Bt, {}), o.start();
47195
47195
  }), r = !0;
47196
47196
  }
47197
47197
  },
@@ -48735,7 +48735,7 @@ class oA extends ms {
48735
48735
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
48736
48736
  return this.disableErrorLog();
48737
48737
  const s = F({}, this.state);
48738
- this.state = tt({}, this.state, e), e.disposed !== void 0 && e.disposed !== s.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), e.playing !== void 0 && e.playing !== s.playing && this.changePlayState(e.playing, i), e.speed !== void 0 && e.speed !== s.speed && this.changeSpeed(e.speed), Ht(s, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 });
48738
+ this.state = tt({}, this.state, e), e.disposed !== void 0 && e.disposed !== s.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), e.playing !== void 0 && e.playing !== s.playing && this.changePlayState(e.playing, i), e.speed !== void 0 && e.speed !== s.speed && this.changeSpeed(e.speed), Nt(s, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 });
48739
48739
  }
48740
48740
  /**
48741
48741
  * @description Clear pause data
@@ -48869,7 +48869,7 @@ let rA = class extends oA {
48869
48869
  }
48870
48870
  load(e, i) {
48871
48871
  var a, l, c, h, u, d, p, g, m;
48872
- this.handlePause(), this.clear(), this.data = F({ id: Ot() }, e);
48872
+ this.handlePause(), this.clear(), this.data = F({ id: jt() }, e);
48873
48873
  const s = (() => {
48874
48874
  if (this.data.path instanceof w.Curve)
48875
48875
  return this.data.path.curves[0];
@@ -48894,7 +48894,7 @@ let rA = class extends oA {
48894
48894
  !this.GuideLine && (((p = this.config) == null ? void 0 : p.useGuideLine) !== !1 && e.useGuildLine || (g = this.config) != null && g.useGuideLine && e.useGuildLine !== !1) && (this.GuideLine = PS(this.five, this.config)), (m = this.GuideLine) == null || m.load({
48895
48895
  lines: [
48896
48896
  {
48897
- id: Ot(),
48897
+ id: jt(),
48898
48898
  path: [{ type: "CatmullRomCurve3", points: v }],
48899
48899
  model_style: { visible: !0 }
48900
48900
  }
@@ -49060,11 +49060,11 @@ class Ju extends oA {
49060
49060
  })();
49061
49061
  if (i.keyframes)
49062
49062
  return {
49063
- keyframesId: Ot(),
49063
+ keyframesId: jt(),
49064
49064
  keyframes: i.keyframes.map((s, o) => {
49065
49065
  var l;
49066
49066
  const r = i.keyframes[o + 1], a = (() => !r || r.start === void 0 || s.end === void 0 ? 0 : r.start - s.end)();
49067
- return ce(F({ id: (l = s.uuid) != null ? l : Ot(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
49067
+ return ce(F({ id: (l = s.uuid) != null ? l : jt(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
49068
49068
  })
49069
49069
  };
49070
49070
  if (i.panoIndexList) {
@@ -49088,8 +49088,8 @@ class Ju extends oA {
49088
49088
  data: F({ effect: "Move", panoIndex: l, moveEffect: o }, h != null ? h : {})
49089
49089
  }) : i.moveType === "moveAndRotate" && (s.push({ moveIndex: c, stay: i.stay, data: { effect: "Move", panoIndex: l, moveEffect: o } }), h && s.push({ moveIndex: c, stay: i.stay, data: F({ effect: "Rotate", panoIndex: l }, h) }));
49090
49090
  }), {
49091
- keyframesId: Ot(),
49092
- keyframes: s.map((l, c) => F({ id: Ot(), index: c }, l)),
49091
+ keyframesId: jt(),
49092
+ keyframes: s.map((l, c) => F({ id: jt(), index: c }, l)),
49093
49093
  guildPluginOptions: i.guildPluginOptions,
49094
49094
  useGuildLine: i.useGuildLine
49095
49095
  };
@@ -49109,7 +49109,7 @@ class Ju extends oA {
49109
49109
  const { data: i, state: s, privateState: o, hooks: r } = this;
49110
49110
  if (o.playing || !(i != null && i.keyframes) || (i == null ? void 0 : i.keyframes.length) === 0)
49111
49111
  return;
49112
- const a = Ot();
49112
+ const a = jt();
49113
49113
  o.playId = a, o.playing = !0, o.broke = !1;
49114
49114
  const l = i.keyframes, c = this.getPauseData();
49115
49115
  (e == null ? void 0 : e.notEmitEvent) !== !0 && r.emit("play", { userAction: (p = e == null ? void 0 : e.userAction) != null ? p : !0 });
@@ -49510,7 +49510,7 @@ let wS = class extends cn {
49510
49510
  }
49511
49511
  }), u = (P = (A = r.routes) == null ? void 0 : A.map((z) => {
49512
49512
  var D;
49513
- return tt({}, h, { id: (D = z.id) != null ? D : Ot(), pano_group: z.panoIndexList });
49513
+ return tt({}, h, { id: (D = z.id) != null ? D : jt(), pano_group: z.panoIndexList });
49514
49514
  })) != null ? P : [], d = (E = (M = r.lines) == null ? void 0 : M.map((z) => tt({}, h, z))) != null ? E : [], p = [...u, ...d];
49515
49515
  yield Ii(this.five), this.clear(), p.forEach((z) => {
49516
49516
  this.addGuideLineItem(this.processItemUrls(z));
@@ -49551,7 +49551,7 @@ let wS = class extends cn {
49551
49551
  if (this.disposed)
49552
49552
  return this.disposedErrorLog();
49553
49553
  const s = F({}, this.state);
49554
- this.state = F(F({}, this.state), e), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), Ht(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 }), this.five.needsRender = !0);
49554
+ this.state = F(F({}, this.state), e), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), Nt(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 }), this.five.needsRender = !0);
49555
49555
  }
49556
49556
  /** 添加一个 GuideLineItem */
49557
49557
  addGuideLineItem(e) {
@@ -53072,14 +53072,14 @@ let kD = class extends cn {
53072
53072
  */
53073
53073
  setState(e, i = {}) {
53074
53074
  const s = this.state;
53075
- if (Ht(e, s, { deep: !0 }))
53075
+ if (Nt(e, s, { deep: !0 }))
53076
53076
  return;
53077
53077
  const o = i.userAction !== void 0 ? i.userAction : !0;
53078
53078
  if (this.updateState(e, o), e.enabled !== void 0 && s.enabled !== e.enabled && (e.enabled ? this._enable({ userAction: o }) : this._disable({ userAction: o })), e.visible !== void 0 && s.visible !== e.visible) {
53079
53079
  const r = { userAction: o, anime: { duration: 500 } };
53080
53080
  e.visible ? this._show(r) : this._hide(r);
53081
53081
  }
53082
- if (e.isFlowing !== void 0 && s.isFlowing !== e.isFlowing && (e.isFlowing ? this._flow() : this._stopFlow()), e.speed !== void 0 && !Ht(s.speed, this.state.speed, { deep: !0 }) && this._setSpeed(e.speed), e.target !== void 0 && !Ht(s.target, this.state.target, { deep: !0 })) {
53082
+ if (e.isFlowing !== void 0 && s.isFlowing !== e.isFlowing && (e.isFlowing ? this._flow() : this._stopFlow()), e.speed !== void 0 && !Nt(s.speed, this.state.speed, { deep: !0 }) && this._setSpeed(e.speed), e.target !== void 0 && !Nt(s.target, this.state.target, { deep: !0 })) {
53083
53083
  const r = {
53084
53084
  target: e.target,
53085
53085
  showAnime: { duration: 500 },
@@ -54089,7 +54089,7 @@ let jD = class extends cn {
54089
54089
  */
54090
54090
  setState(e, i = {}) {
54091
54091
  const s = this.state;
54092
- if (Ht(e, s, { deep: !0 }))
54092
+ if (Nt(e, s, { deep: !0 }))
54093
54093
  return;
54094
54094
  const o = i.userAction !== void 0 ? i.userAction : !0;
54095
54095
  if (this.updateState(e, o), e.enabled !== void 0 && s.enabled !== e.enabled && (e.enabled ? this._enable({ userAction: o }) : this._disable({ userAction: o })), e.visible !== void 0 && s.visible !== e.visible) {
@@ -54311,7 +54311,7 @@ class RD extends ms {
54311
54311
  */
54312
54312
  setState(e, i = {}) {
54313
54313
  const s = this.state;
54314
- if (Ht(e, s, { deep: !0 }))
54314
+ if (Nt(e, s, { deep: !0 }))
54315
54315
  return;
54316
54316
  const o = i.userAction !== void 0 ? i.userAction : !0;
54317
54317
  if (this.updateState(e, o), e.enabled !== void 0 && s.enabled !== e.enabled && (e.enabled ? this.checkMsg.pluginDisabled = "" : this.checkMsg.pluginDisabled = "调用 setState 禁用", e.enabled ? this._enable({ userAction: o }) : this._disable({ userAction: o })), e.visible !== void 0 && s.visible !== e.visible) {
@@ -55478,25 +55478,26 @@ class Hs extends mi {
55478
55478
  /**
55479
55479
  * 播放盒子上下动画
55480
55480
  * @param id 盒子项目ID
55481
+ * @param color 动画颜色,默认为浅蓝色 (#4DF0FF)
55481
55482
  * @returns Promise,动画完成时解析
55482
55483
  */
55483
- playBoxAnimation(e) {
55484
- return this.five ? (this.activeAnimations.has(e) && this.forceFinishBoxAnimation(e), new Promise((i) => {
55484
+ playBoxAnimation(e, i = "#4DF0FF") {
55485
+ return this.five ? (this.activeAnimations.has(e) && this.forceFinishBoxAnimation(e), new Promise((s) => {
55485
55486
  this.prismMesh.visible = !1, this.edgeMesh.visible = !1;
55486
- const s = this.createOrUpdateAnimatedBoxMesh(), o = s.material, r = 3e3;
55487
- let a = 0;
55488
- const l = _A.shared.add((c, h) => {
55489
- a += h;
55490
- let u = a / r;
55491
- u > 1 && (u = 1);
55492
- let d = u;
55493
- u <= 0.5 ? d = u * 2 : d = 2 - u * 2, o.forEach((p) => {
55494
- p.uniforms.progress.value = d;
55495
- }), u === 1 && (l(), s.visible = !1, this.playEaseInAnimation(e, () => {
55496
- this.activeAnimations.delete(e), i();
55487
+ const o = this.createOrUpdateAnimatedBoxMesh(i), r = o.material, a = 3e3;
55488
+ let l = 0;
55489
+ const c = _A.shared.add((h, u) => {
55490
+ l += u;
55491
+ let d = l / a;
55492
+ d > 1 && (d = 1);
55493
+ let p = d;
55494
+ d <= 0.5 ? p = d * 2 : p = 2 - d * 2, r.forEach((g) => {
55495
+ g.uniforms.progress.value = p;
55496
+ }), d === 1 && (c(), o.visible = !1, this.playEaseInAnimation(e, () => {
55497
+ this.activeAnimations.delete(e), s();
55497
55498
  })), this.five.needsRender = !0;
55498
55499
  });
55499
- this.activeAnimations.set(e, { animatedBoxMesh: s, remove: l }), s.visible = !0;
55500
+ this.activeAnimations.set(e, { animatedBoxMesh: o, remove: c }), o.visible = !0;
55500
55501
  })) : (console.warn("Five instance not available for box animation"), Promise.resolve());
55501
55502
  }
55502
55503
  /**
@@ -55529,24 +55530,25 @@ class Hs extends mi {
55529
55530
  }
55530
55531
  /**
55531
55532
  * 创建或更新动画盒子网格
55533
+ * @param color 动画颜色
55532
55534
  */
55533
- createOrUpdateAnimatedBoxMesh() {
55535
+ createOrUpdateAnimatedBoxMesh(e) {
55534
55536
  if (!this.five)
55535
55537
  throw new Error("Five instance not available");
55536
- const e = new w.Vector3(1 / 0, 1 / 0, 1 / 0), i = new w.Vector3(-1 / 0, -1 / 0, -1 / 0), s = this.bottomPositions;
55537
- for (const g of s)
55538
- e.min(g), i.max(g);
55539
- const o = this.topPositions;
55540
- for (const g of o)
55541
- e.min(g), i.max(g);
55542
- const r = i.clone().sub(e), a = this.prismMesh.geometry, l = a.bottomPositions, c = a.topPosition;
55538
+ const i = new w.Vector3(1 / 0, 1 / 0, 1 / 0), s = new w.Vector3(-1 / 0, -1 / 0, -1 / 0), o = this.bottomPositions;
55539
+ for (const v of o)
55540
+ i.min(v), s.max(v);
55541
+ const r = this.topPositions;
55542
+ for (const v of r)
55543
+ i.min(v), s.max(v);
55544
+ const a = s.clone().sub(i), l = this.prismMesh.geometry, c = l.bottomPositions, h = l.topPosition;
55543
55545
  if (this.animatedBoxMesh)
55544
55546
  return this.matrixWorld.decompose(this.animatedBoxMesh.position, this.animatedBoxMesh.quaternion, this.animatedBoxMesh.scale), this.animatedBoxMesh.updateMatrixWorld(), this.animatedBoxMesh.matrixAutoUpdate = !1, this.animatedBoxMesh;
55545
- const h = new UD({
55546
- bottomPositions: l,
55547
- topPosition: c,
55547
+ const u = new UD({
55548
+ bottomPositions: c,
55549
+ topPosition: h,
55548
55550
  type: "Concave"
55549
- }), u = `
55551
+ }), d = `
55550
55552
  varying vec2 vUV;
55551
55553
  varying vec3 vWorldPosition;
55552
55554
  #include <common>
@@ -55556,7 +55558,7 @@ class Hs extends mi {
55556
55558
  vWorldPosition = (modelMatrix * vec4( position, 1.0)).xyz;
55557
55559
  gl_Position = projectionMatrix * modelViewMatrix * transformed;
55558
55560
  }
55559
- `, d = `
55561
+ `, p = `
55560
55562
  #include <common>
55561
55563
  uniform vec3 color;
55562
55564
  uniform vec3 size;
@@ -55589,32 +55591,32 @@ class Hs extends mi {
55589
55591
 
55590
55592
  gl_FragColor = vec4(color, clamp(r * opacity, 0.0, 1.0));
55591
55593
  }
55592
- `, p = [];
55593
- for (let g = 0; g < h.faceCount; g++) {
55594
- const m = new w.ShaderMaterial({
55595
- vertexShader: u,
55596
- fragmentShader: d,
55594
+ `, g = [], m = new w.Color(e);
55595
+ for (let v = 0; v < u.faceCount; v++) {
55596
+ const A = new w.ShaderMaterial({
55597
+ vertexShader: d,
55598
+ fragmentShader: p,
55597
55599
  uniforms: {
55598
- color: { value: new w.Color(0.30196078431372547, 0.9411764705882353, 1) },
55599
- size: { value: r },
55600
- minPos: { value: e },
55600
+ color: { value: m },
55601
+ size: { value: a },
55602
+ minPos: { value: i },
55601
55603
  faceSize: { value: new w.Vector2(1, 1) },
55602
55604
  opacity: { value: 0.8 },
55603
55605
  progress: { value: 0.5 },
55604
55606
  spread: { value: 0.3 },
55605
- faceIndex: { value: g }
55607
+ faceIndex: { value: v }
55606
55608
  },
55607
55609
  depthTest: !1,
55608
55610
  side: w.DoubleSide,
55609
55611
  transparent: !0
55610
55612
  });
55611
- m.polygonOffset = !0, m.polygonOffsetFactor = 1, m.polygonOffsetUnits = 1, p.push(m);
55613
+ A.polygonOffset = !0, A.polygonOffsetFactor = 1, A.polygonOffsetUnits = 1, g.push(A);
55612
55614
  }
55613
- return this.animatedBoxMesh = new w.Mesh(h, p), this.matrixWorld.decompose(this.animatedBoxMesh.position, this.animatedBoxMesh.quaternion, this.animatedBoxMesh.scale), this.animatedBoxMesh.updateMatrixWorld(), this.animatedBoxMesh.matrixAutoUpdate = !1, this.animatedBoxMesh.onBeforeRender = () => {
55614
- h.boundingBox || h.computeBoundingBox();
55615
- const g = h.boundingBox.min.clone().applyMatrix4(this.animatedBoxMesh.matrixWorld), m = h.boundingBox.max.clone().applyMatrix4(this.animatedBoxMesh.matrixWorld), v = new w.Vector3().subVectors(m, g);
55616
- p.forEach((A) => {
55617
- A.uniforms.minPos.value.copy(g), A.uniforms.size.value.copy(v);
55615
+ return this.animatedBoxMesh = new w.Mesh(u, g), this.matrixWorld.decompose(this.animatedBoxMesh.position, this.animatedBoxMesh.quaternion, this.animatedBoxMesh.scale), this.animatedBoxMesh.updateMatrixWorld(), this.animatedBoxMesh.matrixAutoUpdate = !1, this.animatedBoxMesh.onBeforeRender = () => {
55616
+ u.boundingBox || u.computeBoundingBox();
55617
+ const v = u.boundingBox.min.clone().applyMatrix4(this.animatedBoxMesh.matrixWorld), A = u.boundingBox.max.clone().applyMatrix4(this.animatedBoxMesh.matrixWorld), P = new w.Vector3().subVectors(A, v);
55618
+ g.forEach((M) => {
55619
+ M.uniforms.minPos.value.copy(v), M.uniforms.size.value.copy(P);
55618
55620
  }), this.five.needsRender = !0;
55619
55621
  }, this.five.scene.add(this.animatedBoxMesh), this.animatedBoxMesh;
55620
55622
  }
@@ -57088,6 +57090,12 @@ class sT extends cn {
57088
57090
  f(this, "originalOpacities", /* @__PURE__ */ new Map());
57089
57091
  // 存储标签原始透明度
57090
57092
  f(this, "originalTagOpacities", /* @__PURE__ */ new Map());
57093
+ // 存储当前高亮的项目
57094
+ f(this, "highlightedItem", null);
57095
+ // 存储标签原始样式用于高亮恢复
57096
+ f(this, "originalTagStyles", /* @__PURE__ */ new Map());
57097
+ // 存储模型原始线条颜色用于高亮恢复
57098
+ f(this, "originalLineColors", /* @__PURE__ */ new Map());
57091
57099
  f(this, "onFiveModeChange", (e) => {
57092
57100
  const i = this.occlusionVisibility;
57093
57101
  Array.isArray(i) && [...this.getPrismItems(), ...this.getBoxItems()].forEach((o) => {
@@ -57134,12 +57142,12 @@ class sT extends cn {
57134
57142
  }
57135
57143
  load(e) {
57136
57144
  return ie(this, null, function* () {
57137
- if (this.clear(), this.data = e, this.originalOpacities.clear(), yield Ii(this.five), this.data !== e)
57145
+ if (this.clear(), this.data = e, this.originalOpacities.clear(), this.resetHighlight(), yield Ii(this.five), this.data !== e)
57138
57146
  return;
57139
57147
  this.clear();
57140
57148
  const i = (s) => {
57141
57149
  var c;
57142
- const o = s.object_data.color ? new Zt().setHex(parseInt(s.object_data.color.slice(1), 16)) : new Zt(1, 1, 1);
57150
+ const o = s.object_data.color ? new Ot().setHex(parseInt(s.object_data.color.slice(1), 16)) : new Ot(1, 1, 1);
57143
57151
  let r = typeof this.occlusionVisibility == "boolean" ? this.occlusionVisibility : !1, a = this.occlusionMode;
57144
57152
  s.type === "triangles" && (r = !0, a = "depthTest");
57145
57153
  const l = ((c = s.object_data.opacity) != null ? c : 0.4) / 2;
@@ -57228,29 +57236,38 @@ class sT extends cn {
57228
57236
  /**
57229
57237
  * Force finish all active box animations immediately
57230
57238
  * @param id Optional box item ID. If not provided, finishes all active box animations.
57239
+ * @param restoreLabels Whether to restore labels immediately. Defaults to true.
57231
57240
  */
57232
- forceFinishBoxAnimation(e) {
57241
+ forceFinishBoxAnimation(e, i = !0) {
57242
+ let s = [];
57233
57243
  if (e) {
57234
- const i = this.getItemById(e);
57235
- i && i.type === "box" && i.model.forceFinishBoxAnimation(e);
57244
+ const o = this.getItemById(e);
57245
+ o && ["box", "prism"].includes(o.type) && (s = [o], o.model.forceFinishBoxAnimation(e));
57236
57246
  } else
57237
- this.items.filter((s) => s.type === "box").forEach((s) => {
57238
- s.model.forceFinishBoxAnimation(s.rawData.id);
57247
+ s = this.items.filter((o) => ["box", "prism"].includes(o.type)), s.forEach((o) => {
57248
+ o.model.forceFinishBoxAnimation(o.rawData.id);
57239
57249
  });
57240
- this.five.needsRender = !0;
57250
+ i && s.forEach((o) => {
57251
+ o.tag && (o.tag.show(), o.tag.container.style.opacity = "1");
57252
+ }), this.five.needsRender = !0;
57241
57253
  }
57242
57254
  /**
57243
57255
  * Play the up-and-down animation for a box mesh
57244
57256
  * @param id Optional box item ID. If not provided, plays animation for all box items.
57257
+ * @param config Animation configuration options
57245
57258
  * @returns Promise that resolves when all animations are complete
57246
57259
  */
57247
- playBoxAnimation(e) {
57248
- this.forceFinishBoxAnimation();
57249
- const i = e ? [this.getItemById(e)].filter(Boolean) : this.items.filter((o) => ["box", "prism"].includes(o.type));
57250
- if (i.length === 0)
57260
+ playBoxAnimation(e, i = {}) {
57261
+ const { color: s = "#4DF0FF", hideLabels: o = !1 } = i;
57262
+ this.forceFinishBoxAnimation(e);
57263
+ const r = e ? [this.getItemById(e)].filter(Boolean) : this.items.filter((l) => ["box", "prism"].includes(l.type));
57264
+ if (r.length === 0)
57251
57265
  return console.warn("No box items found to animate"), Promise.resolve();
57252
- const s = i.map((o) => !o || !["box", "prism"].includes(o.type) ? Promise.resolve() : o.model.playBoxAnimation(o.rawData.id));
57253
- return Promise.all(s).then(() => {
57266
+ o && this.hideItemLabels(r);
57267
+ const a = r.map((l) => !l || !["box", "prism"].includes(l.type) ? Promise.resolve() : l.model.playBoxAnimation(l.rawData.id, s));
57268
+ return Promise.all(a).then(() => {
57269
+ if (o)
57270
+ return this.easeInItemLabels(r);
57254
57271
  });
57255
57272
  }
57256
57273
  enable() {
@@ -57266,7 +57283,7 @@ class sT extends cn {
57266
57283
  this.setState({ visible: !1 });
57267
57284
  }
57268
57285
  clear() {
57269
- this.zFightingOffset = 0, this.handleDisable(), this.group.children.length = 0, this.five.needsRender = !0, this.items = [], this.tagWrapper.innerHTML = "", this.fiveDomEvents.clear(), this.originalOpacities.clear(), this.originalTagOpacities.clear();
57286
+ this.zFightingOffset = 0, this.handleDisable(), this.group.children.length = 0, this.five.needsRender = !0, this.items = [], this.tagWrapper.innerHTML = "", this.fiveDomEvents.clear(), this.originalOpacities.clear(), this.originalTagOpacities.clear(), this.highlightedItem = null, this.originalTagStyles.clear(), this.originalLineColors.clear();
57270
57287
  }
57271
57288
  /**
57272
57289
  * 设置所有模型的透明度
@@ -57333,11 +57350,58 @@ class sT extends cn {
57333
57350
  });
57334
57351
  }
57335
57352
  dispose() {
57336
- this.hooks.emit("dispose"), this.clear();
57353
+ this.hooks.emit("dispose"), this.resetHighlight(), this.clear();
57337
57354
  }
57338
57355
  onWorkCodeChange() {
57339
57356
  this.group.matrix.copy(this.workUtil.transform.clone()), this.group.matrix.decompose(this.group.position, this.group.quaternion, this.group.scale), this.group.updateMatrixWorld();
57340
57357
  }
57358
+ /**
57359
+ * 应用高亮样式到指定项目
57360
+ * @param item 要高亮的项目
57361
+ * @param color 高亮颜色
57362
+ */
57363
+ applyHighlightStyles(e, i) {
57364
+ const s = e.rawData.id.toString(), o = e.tag.container;
57365
+ let r = null;
57366
+ if (e.type === "prism" ? r = o.querySelector(".room-label-item__text") : e.type === "box" && (r = o.querySelector(".model-maker-tag")), r) {
57367
+ const l = window.getComputedStyle(r);
57368
+ this.originalTagStyles.set(s, {
57369
+ background: r.style.background || l.background,
57370
+ borderImage: r.style.borderImage || l.borderImage
57371
+ }), r.style.background = i, r.style.borderImage = "none";
57372
+ }
57373
+ const a = e.model;
57374
+ if (a && typeof a.setStyle == "function") {
57375
+ const l = e.rawData.object_data.color ? new Ot().setHex(parseInt(e.rawData.object_data.color.slice(1), 16)) : new Ot(1, 1, 1);
57376
+ this.originalLineColors.set(s, {
57377
+ lineColor: l
57378
+ });
57379
+ const c = new Ot(i);
57380
+ a.setStyle({
57381
+ lineColor: c
57382
+ });
57383
+ }
57384
+ this.five.needsRender = !0;
57385
+ }
57386
+ /**
57387
+ * 移除指定项目的高亮样式
57388
+ * @param item 要移除高亮的项目
57389
+ */
57390
+ removeHighlightStyles(e) {
57391
+ const i = e.rawData.id.toString(), s = e.tag.container, o = this.originalTagStyles.get(i);
57392
+ if (o) {
57393
+ let a = null;
57394
+ e.type === "prism" ? a = s.querySelector(".room-label-item__text") : e.type === "box" && (a = s.querySelector(".model-maker-tag")), a && (a.style.background = o.background, a.style.borderImage = o.borderImage), this.originalTagStyles.delete(i);
57395
+ }
57396
+ const r = this.originalLineColors.get(i);
57397
+ if (r) {
57398
+ const a = e.model;
57399
+ a && typeof a.setStyle == "function" && a.setStyle({
57400
+ lineColor: r.lineColor
57401
+ }), this.originalLineColors.delete(i);
57402
+ }
57403
+ this.five.needsRender = !0;
57404
+ }
57341
57405
  /**
57342
57406
  * 设置棱柱体模型的透明度
57343
57407
  * @param id 模型id
@@ -57364,6 +57428,31 @@ class sT extends cn {
57364
57428
  handleHide() {
57365
57429
  this.group.visible = !1, this.tagWrapper.style.display = "none", this.five.needsRender = !0;
57366
57430
  }
57431
+ /**
57432
+ * 高亮指定的模型项目
57433
+ * @param id 模型项目的ID
57434
+ * @param color 高亮颜色,默认为 #FF7700
57435
+ */
57436
+ highlightItem(e, i = "#FF7700") {
57437
+ if (!this.state.enabled)
57438
+ return;
57439
+ this.resetHighlight();
57440
+ const s = this.getItemById(e);
57441
+ !s || !s.tag || (this.highlightedItem = s, this.applyHighlightStyles(s, i));
57442
+ }
57443
+ /**
57444
+ * 重置所有高亮
57445
+ */
57446
+ resetHighlight() {
57447
+ this.highlightedItem && (this.removeHighlightStyles(this.highlightedItem), this.highlightedItem = null);
57448
+ }
57449
+ /**
57450
+ * 获取当前高亮的项目ID
57451
+ */
57452
+ getHighlightedItemId() {
57453
+ var e, i;
57454
+ return (i = (e = this.highlightedItem) == null ? void 0 : e.rawData.id) != null ? i : null;
57455
+ }
57367
57456
  getPrismItems() {
57368
57457
  return this.items.filter((e) => e instanceof Uc);
57369
57458
  }
@@ -57373,6 +57462,40 @@ class sT extends cn {
57373
57462
  getBoxItems() {
57374
57463
  return this.items.filter((e) => e instanceof d0);
57375
57464
  }
57465
+ /**
57466
+ * 隐藏指定项目的标签
57467
+ * @param items 要隐藏标签的项目数组
57468
+ */
57469
+ hideItemLabels(e) {
57470
+ e.forEach((i) => {
57471
+ i.tag && i.tag.hide();
57472
+ });
57473
+ }
57474
+ /**
57475
+ * 缓动显示指定项目的标签
57476
+ * @param items 要显示标签的项目数组
57477
+ * @param duration 缓动持续时间(毫秒)
57478
+ */
57479
+ easeInItemLabels(e, i = 500) {
57480
+ return new Promise((s) => {
57481
+ if (e.length === 0 || !this.state.enabled) {
57482
+ s();
57483
+ return;
57484
+ }
57485
+ e.forEach((a) => {
57486
+ a.tag && (a.tag.show(), a.tag.container.style.opacity = "0");
57487
+ });
57488
+ const o = Date.now(), r = () => {
57489
+ const a = Date.now() - o, l = Math.min(a / i, 1), c = 1 - Math.pow(1 - l, 3);
57490
+ e.forEach((h) => {
57491
+ h.tag && (h.tag.container.style.opacity = c.toString());
57492
+ }), l < 1 ? requestAnimationFrame(r) : (e.forEach((h) => {
57493
+ h.tag && (h.tag.container.style.opacity = "1");
57494
+ }), s());
57495
+ };
57496
+ requestAnimationFrame(r);
57497
+ });
57498
+ }
57376
57499
  }
57377
57500
  const FL = (...n) => new sT(...n), oT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
57378
57501
  __proto__: null,
@@ -57442,7 +57565,7 @@ const FL = (...n) => new sT(...n), oT = /* @__PURE__ */ Object.freeze(/* @__PURE
57442
57565
  checkFiveModelLoaded: Vw,
57443
57566
  cleanup: bw,
57444
57567
  convexHull: Vb,
57445
- equal: Ht,
57568
+ equal: Nt,
57446
57569
  fiveModelIsLoaded: x0,
57447
57570
  getCoordsFromClient: Xb,
57448
57571
  getCoordsFromElement: k0,
@@ -57465,7 +57588,7 @@ const FL = (...n) => new sT(...n), oT = /* @__PURE__ */ Object.freeze(/* @__PURE
57465
57588
  sculpt: oT,
57466
57589
  tag: M0,
57467
57590
  tweenProgress: Gr,
57468
- uuid: Ot,
57591
+ uuid: jt,
57469
57592
  waitFiveModelLoaded: Ii,
57470
57593
  worldBounding: Ll,
57471
57594
  worldBoundingBox: qc,