@realsee/dnalogel 3.69.0 → 3.69.1-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 (469) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/MeasurePlugin/Controller.d.ts +5 -0
  3. package/dist/index.cjs.js +26 -26
  4. package/dist/index.js +514 -491
  5. package/dist/index.umd.js +26 -26
  6. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  7. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  8. package/docs/classes/CSS3DRender.html +2 -2
  9. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  10. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  11. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  12. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  13. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  14. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  15. package/docs/classes/ModelRoomLabelController.html +2 -2
  16. package/docs/classes/MoveController.html +2 -2
  17. package/docs/classes/Object3DHelperController.html +2 -2
  18. package/docs/classes/PaintBrush.html +2 -2
  19. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  20. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  21. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  22. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  23. package/docs/classes/PanoTagPluginController.html +2 -2
  24. package/docs/classes/Sculpt.html +2 -2
  25. package/docs/classes/Util.BetterTween.html +2 -2
  26. package/docs/classes/Util.FiveDomEvents.html +2 -2
  27. package/docs/classes/Util.FivePuppet.html +2 -2
  28. package/docs/classes/Util.Interval.html +2 -2
  29. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  30. package/docs/classes/Util.LightTag.html +2 -2
  31. package/docs/classes/Util.LineSegments.html +2 -2
  32. package/docs/classes/Util.Magnifier.html +2 -2
  33. package/docs/classes/Util.Object3D.html +2 -2
  34. package/docs/classes/Util.PointDomHelper.html +2 -2
  35. package/docs/classes/Util.PointHelper.html +2 -2
  36. package/docs/classes/Util.PointSelector.html +2 -2
  37. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  38. package/docs/classes/Util.Rectangle.html +2 -2
  39. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  40. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  41. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  42. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  43. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  44. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  45. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  47. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  49. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  50. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  52. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  53. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  54. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  55. package/docs/classes/WalkController.html +2 -2
  56. package/docs/enums/CameraMovementEffect.html +2 -2
  57. package/docs/enums/ContentType.html +2 -2
  58. package/docs/enums/DIRECTION.html +2 -2
  59. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  60. package/docs/enums/DimensionType.html +2 -2
  61. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  62. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  63. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  64. package/docs/enums/PointType.html +2 -2
  65. package/docs/enums/Rotation.html +2 -2
  66. package/docs/functions/AreaMakerPlugin.html +1 -1
  67. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  68. package/docs/functions/CameraMovementPlugin.html +2 -2
  69. package/docs/functions/CruisePlugin.html +1 -1
  70. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  71. package/docs/functions/GuideLinePlugin.html +1 -1
  72. package/docs/functions/ItemLabelPlugin.html +1 -1
  73. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  74. package/docs/functions/MeasurePlugin.html +1 -1
  75. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  76. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  77. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  78. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  79. package/docs/functions/ModelMakerPlugin.html +1 -1
  80. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  81. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  82. package/docs/functions/ModelViewPlugin.html +2 -2
  83. package/docs/functions/MovePlugin.html +1 -1
  84. package/docs/functions/Object3DHelperPlugin.html +1 -1
  85. package/docs/functions/PanoCompassPlugin.html +1 -1
  86. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  87. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  88. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  89. package/docs/functions/PanoMeasurePlugin.html +1 -1
  90. package/docs/functions/PanoRulerPlugin.html +2 -2
  91. package/docs/functions/PanoRulerProPlugin.html +2 -2
  92. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  93. package/docs/functions/PanoTagPlugin.html +1 -1
  94. package/docs/functions/PanoVideoPlugin.html +2 -2
  95. package/docs/functions/PipelinePlugin.html +1 -1
  96. package/docs/functions/SculptPlugin.html +2 -2
  97. package/docs/functions/SculptPluginForFive.html +2 -2
  98. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  99. package/docs/functions/Util.awaitNextFrame.html +1 -1
  100. package/docs/functions/Util.blink.html +2 -2
  101. package/docs/functions/Util.bounding.html +1 -1
  102. package/docs/functions/Util.boundingBox.html +1 -1
  103. package/docs/functions/Util.boundingSphere.html +1 -1
  104. package/docs/functions/Util.boxVertex.html +2 -2
  105. package/docs/functions/Util.boxVertexes.html +1 -1
  106. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  107. package/docs/functions/Util.convexHull.html +2 -2
  108. package/docs/functions/Util.equal.html +2 -2
  109. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  110. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  111. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  112. package/docs/functions/Util.getFrameTime.html +2 -2
  113. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  114. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  115. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  116. package/docs/functions/Util.inside.html +1 -1
  117. package/docs/functions/Util.isModelLike.html +1 -1
  118. package/docs/functions/Util.isNil.html +2 -2
  119. package/docs/functions/Util.isPanoramaLike.html +1 -1
  120. package/docs/functions/Util.lookObject.html +2 -2
  121. package/docs/functions/Util.lookPoint.html +2 -2
  122. package/docs/functions/Util.nextFrame.html +1 -1
  123. package/docs/functions/Util.notNil.html +2 -2
  124. package/docs/functions/Util.reblink.html +2 -2
  125. package/docs/functions/Util.replaceStaticPrefix.html +2 -2
  126. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  127. package/docs/functions/Util.sculpt.createBox.html +1 -1
  128. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  129. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  130. package/docs/functions/Util.sculpt.createLine.html +2 -2
  131. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  132. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  133. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  134. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  135. package/docs/functions/Util.tag.html +1 -1
  136. package/docs/functions/Util.tweenProgress.html +1 -1
  137. package/docs/functions/Util.uuid.html +2 -2
  138. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  139. package/docs/functions/Util.worldBounding.html +1 -1
  140. package/docs/functions/Util.worldBoundingBox.html +1 -1
  141. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  142. package/docs/functions/createPolyline.html +2 -2
  143. package/docs/functions/pluginFlag.html +1 -1
  144. package/docs/hierarchy.html +1 -1
  145. package/docs/index.html +2 -2
  146. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  147. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  148. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  149. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  150. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  152. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  154. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  155. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  156. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  157. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  158. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  159. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  160. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  161. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  162. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  163. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  164. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  165. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  166. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  168. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  169. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  170. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  171. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  172. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  173. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  174. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  175. package/docs/interfaces/FloorplanBounding.html +2 -2
  176. package/docs/interfaces/FloorplanData.html +2 -2
  177. package/docs/interfaces/FloorplanEntrance.html +2 -2
  178. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  179. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  180. package/docs/interfaces/FloorplanFloorData.html +2 -2
  181. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  182. package/docs/interfaces/FloorplanObserver.html +2 -2
  183. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  184. package/docs/interfaces/FloorplanPosition.html +2 -2
  185. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  186. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  187. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  188. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  189. package/docs/interfaces/FloorplanServerData.html +2 -2
  190. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  191. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  192. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  193. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  194. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  195. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  196. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  197. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  198. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  199. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  200. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  201. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  202. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  203. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  213. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  214. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  215. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  216. package/docs/interfaces/HelperOffset.html +2 -2
  217. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  218. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  219. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  220. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  221. package/docs/interfaces/MinMax.html +2 -2
  222. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  223. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  224. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  225. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  226. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  227. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  228. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  229. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  230. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  231. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  232. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  233. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  234. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  235. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  236. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  238. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  239. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  240. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  241. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  242. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  243. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  244. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  245. package/docs/interfaces/Object3DHelperState.html +2 -2
  246. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  247. package/docs/interfaces/PaintBrushAction.html +2 -2
  248. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  249. package/docs/interfaces/PaintBrushState.html +2 -2
  250. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  251. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  252. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  253. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  254. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  255. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  256. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  257. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  258. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  259. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  260. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  261. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  262. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  263. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  264. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  265. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  266. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  267. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  268. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  269. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  270. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  273. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  274. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  275. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  276. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  277. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  278. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  279. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  280. package/docs/interfaces/PluginEventMap.html +2 -2
  281. package/docs/interfaces/Point.html +2 -2
  282. package/docs/interfaces/Room.html +2 -2
  283. package/docs/interfaces/RoomInfo.html +2 -2
  284. package/docs/interfaces/RoomLabel.html +2 -2
  285. package/docs/interfaces/RoomRules.html +1 -1
  286. package/docs/interfaces/Rooms.html +1 -1
  287. package/docs/interfaces/Scissor.html +2 -2
  288. package/docs/interfaces/SculptConfig.html +2 -2
  289. package/docs/interfaces/State.html +2 -2
  290. package/docs/interfaces/TagCacheInterface.html +2 -2
  291. package/docs/interfaces/TagConfig.html +2 -2
  292. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  293. package/docs/interfaces/TagIconUrl.html +2 -2
  294. package/docs/interfaces/TagObjectGroup.html +2 -2
  295. package/docs/interfaces/TagState.html +2 -2
  296. package/docs/interfaces/TagStyle.html +2 -2
  297. package/docs/interfaces/Tags.html +2 -2
  298. package/docs/interfaces/TemporaryState.html +2 -2
  299. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  300. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  301. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  302. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  303. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  304. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  305. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  306. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  307. package/docs/interfaces/Util.PointIntersection.html +2 -2
  308. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  309. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  310. package/docs/modules/AreaMakerPluginType.html +2 -2
  311. package/docs/modules/CruisePluginTypes.html +2 -2
  312. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  313. package/docs/modules/GuideLineItem.html +2 -2
  314. package/docs/modules/GuideLineModeItem.html +2 -2
  315. package/docs/modules/GuideLinePluginType.html +2 -2
  316. package/docs/modules/ModelMakerPluginType.html +2 -2
  317. package/docs/modules/PanoVideoPluginType.html +2 -2
  318. package/docs/modules/SculptData.html +2 -2
  319. package/docs/modules/SculptType.html +2 -2
  320. package/docs/modules/Util.html +2 -2
  321. package/docs/modules/Util.sculpt.html +2 -2
  322. package/docs/modules.html +2 -2
  323. package/docs/types/AddObject3DHelperConfig.html +2 -2
  324. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  325. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  326. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  327. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  328. package/docs/types/ArrayPosition.html +1 -1
  329. package/docs/types/AudioAppearance.html +1 -1
  330. package/docs/types/CSS3DRenderExportType.html +1 -1
  331. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  332. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  333. package/docs/types/ClassFunctionParameters.html +1 -1
  334. package/docs/types/Color.html +1 -1
  335. package/docs/types/ContentTypeConfigKey.html +1 -1
  336. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  337. package/docs/types/ContentTypeMap.html +1 -1
  338. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  339. package/docs/types/Create3DElementReturnType.html +1 -1
  340. package/docs/types/CruisePluginExportType.html +1 -1
  341. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  342. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  343. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  344. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  345. package/docs/types/DeprecatedTagProperty.html +2 -2
  346. package/docs/types/Direction-1.html +1 -1
  347. package/docs/types/Direction4.html +1 -1
  348. package/docs/types/ElementRenderer.html +2 -2
  349. package/docs/types/FloorplanRuleLabels.html +2 -2
  350. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  351. package/docs/types/GuideLinePluginExportType.html +1 -1
  352. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  353. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  354. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  355. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  356. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  357. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  358. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  359. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  360. package/docs/types/HelperEventMap.html +1 -1
  361. package/docs/types/InternalHelperEventMap.html +1 -1
  362. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  363. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  364. package/docs/types/MeasureEndReason.html +1 -1
  365. package/docs/types/MeasurePluginConfig.html +2 -2
  366. package/docs/types/MediaData.html +2 -2
  367. package/docs/types/MediaStore.html +1 -1
  368. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  369. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  370. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  371. package/docs/types/ModelId.html +1 -1
  372. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  373. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  374. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  375. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  376. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  377. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  378. package/docs/types/MoveArgs.html +2 -2
  379. package/docs/types/MoveOpts.html +2 -2
  380. package/docs/types/Object3DHelperEventMap.html +1 -1
  381. package/docs/types/ObjectFit.html +1 -1
  382. package/docs/types/PaintBrushEventMap.html +1 -1
  383. package/docs/types/PanoCompassPluginData.html +1 -1
  384. package/docs/types/PanoCompassPluginExportType.html +1 -1
  385. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  386. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  387. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  388. package/docs/types/PanoIndex.html +1 -1
  389. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  390. package/docs/types/PanoMeasureReturnType.html +1 -1
  391. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  392. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  393. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  394. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  395. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  396. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  397. package/docs/types/PipelinePluginParameterType.html +1 -1
  398. package/docs/types/PipelinePluginReturnType.html +1 -1
  399. package/docs/types/PlaneTag.html +2 -2
  400. package/docs/types/Point2DTag.html +2 -2
  401. package/docs/types/Point3DTag.html +2 -2
  402. package/docs/types/PointTagInstance.html +1 -1
  403. package/docs/types/Position.html +1 -1
  404. package/docs/types/PositionFrom.html +1 -1
  405. package/docs/types/RotateArgs.html +2 -2
  406. package/docs/types/RotateOpts.html +2 -2
  407. package/docs/types/RuleLabelsKey.html +1 -1
  408. package/docs/types/RuleLabelsValue.html +1 -1
  409. package/docs/types/ScaleCallback.html +1 -1
  410. package/docs/types/ScalePosition.html +2 -2
  411. package/docs/types/SculptData.BoxData.html +1 -1
  412. package/docs/types/SculptData.CircleData.html +1 -1
  413. package/docs/types/SculptData.CylinderData.html +1 -1
  414. package/docs/types/SculptData.PointData.html +1 -1
  415. package/docs/types/SculptData.PolygonData.html +1 -1
  416. package/docs/types/SculptData.PolylineData.html +1 -1
  417. package/docs/types/SculptData.PrismData.html +1 -1
  418. package/docs/types/SculptData.RectangleData.html +1 -1
  419. package/docs/types/SculptType.Theme.html +2 -2
  420. package/docs/types/StickType.html +1 -1
  421. package/docs/types/Tag.html +2 -2
  422. package/docs/types/Tag2D.html +2 -2
  423. package/docs/types/Tag3D.html +2 -2
  424. package/docs/types/TagClickParams.html +1 -1
  425. package/docs/types/TagConfigByKey.html +1 -1
  426. package/docs/types/TagContentType.html +1 -1
  427. package/docs/types/TagContentTypeMapping.html +1 -1
  428. package/docs/types/TagDimensionType.html +1 -1
  429. package/docs/types/TagElement.html +2 -2
  430. package/docs/types/TagEvents.html +1 -1
  431. package/docs/types/TagGLTFObject.html +1 -1
  432. package/docs/types/TagHooks.html +1 -1
  433. package/docs/types/TagId.html +1 -1
  434. package/docs/types/TagInstance.html +1 -1
  435. package/docs/types/TagPlacement.html +2 -2
  436. package/docs/types/TagPointType.html +2 -2
  437. package/docs/types/TagRendererMap.html +1 -1
  438. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  439. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  440. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  441. package/docs/types/Util.AdherePoint.html +2 -2
  442. package/docs/types/Util.PointSelectorConfig.html +1 -1
  443. package/docs/types/WorkCode.html +1 -1
  444. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  445. package/docs/variables/PLUGIN.html +1 -1
  446. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  447. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  448. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
  449. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
  450. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
  451. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
  452. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
  453. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
  454. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
  455. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
  456. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
  457. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
  458. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
  459. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
  460. package/docs/variables/Util.animeMap.html +1 -1
  461. package/docs/variables/defaultGlobalConfig.html +1 -1
  462. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  463. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  464. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  465. package/libs/MeasurePlugin/Controller.d.ts +5 -0
  466. package/libs/MeasurePlugin/Controller.js +194 -171
  467. package/libs/base/BasePlugin.js +1 -1
  468. package/libs/shared-utils/logger.js +1 -1
  469. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ var Rv = Object.defineProperty, _v = Object.defineProperties;
2
2
  var Bv = Object.getOwnPropertyDescriptors;
3
3
  var aa = Object.getOwnPropertySymbols;
4
4
  var Hu = Object.prototype.hasOwnProperty, Fu = Object.prototype.propertyIsEnumerable;
5
- var Fn = Math.pow, Gl = (n, t, e) => t in n ? Rv(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, H = (n, t) => {
5
+ var Fn = Math.pow, Gl = (n, t, e) => t in n ? Rv(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, V = (n, t) => {
6
6
  for (var e in t || (t = {}))
7
7
  Hu.call(t, e) && Gl(n, e, t[e]);
8
8
  if (aa)
@@ -43,7 +43,7 @@ import { LineGeometry as yA, LineMaterial as wA, THREE_Line2 as PA, Line as CA }
43
43
  import { GLTFLoader as IA } from "@realsee/five/gltf-loader";
44
44
  function EA() {
45
45
  console.debug(
46
- "%c %c@realsee/dnalogel %cv3.69.0",
46
+ "%c %c@realsee/dnalogel %cv3.69.1-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",
@@ -3861,7 +3861,7 @@ class wi extends fi {
3861
3861
  d(this, "onPanoArrived", () => {
3862
3862
  setTimeout(() => this.updateDomItems({ force: !0 }), 100);
3863
3863
  });
3864
- this.paramsStyle = H({ dashed: !1, lineOpacity: 1 }, e), this.geometry = new Da();
3864
+ this.paramsStyle = V({ dashed: !1, lineOpacity: 1 }, e), this.geometry = new Da();
3865
3865
  const i = {
3866
3866
  color: new P.Color((r = e == null ? void 0 : e.lineColor) != null ? r : ib),
3867
3867
  linewidth: (a = e == null ? void 0 : e.lineWidth) != null ? a : nb,
@@ -3871,7 +3871,7 @@ class wi extends fi {
3871
3871
  opacity: (l = e == null ? void 0 : e.lineOpacity) != null ? l : 1,
3872
3872
  depthWrite: !1,
3873
3873
  transparent: !0
3874
- }, s = new rb(ce(H({}, i), { dashed: !1, depthTest: !0 })), o = new ab(ce(H({}, i), { dashed: !0, depthTest: !1 }));
3874
+ }, s = new rb(ce(V({}, i), { dashed: !1, depthTest: !0 })), o = new ab(ce(V({}, i), { dashed: !0, depthTest: !1 }));
3875
3875
  if (this.line1 = new ed(this.geometry, s), this.line2 = new ed(this.geometry, o), this.line1.renderOrder = 2, this.line2.renderOrder = 2, this.line1.name = "line1", this.line2.name = "line2", this.add(this.line1), this.five) {
3876
3876
  const h = (c = this.five.renderer) == null ? void 0 : c.getSize(new P.Vector2());
3877
3877
  h && this.setResolution(h.width, h.height), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("cameraFovUpdate", this.onCameraUpdate), this.five.on("panoArrived", this.onPanoArrived);
@@ -3959,7 +3959,7 @@ class wi extends fi {
3959
3959
  }
3960
3960
  setStyle(e) {
3961
3961
  var o, r, a, l;
3962
- if (this.paramsStyle = H(H({}, this.paramsStyle), e), Fe(e.lineColor)) {
3962
+ if (this.paramsStyle = V(V({}, this.paramsStyle), e), Fe(e.lineColor)) {
3963
3963
  const c = new P.Color(e.lineColor);
3964
3964
  this.line1.material.three_color = c, this.line2.material.three_color = c;
3965
3965
  }
@@ -4117,7 +4117,7 @@ function pb() {
4117
4117
  lineColor: 3407837,
4118
4118
  lineOpacity: 0.7,
4119
4119
  occlusionVisibility: !0
4120
- }, i = new wi(ce(H({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new wi(ce(H({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
4120
+ }, i = new wi(ce(V({ points: [{ x: -0.5 }, { x: 0.5 }] }, e), { lineColor: 3407837 })), s = new wi(ce(V({ points: [{ y: -0.5 }, { y: 0.5 }] }, e), { lineColor: 3407837 }));
4121
4121
  return t.add(i, s), t;
4122
4122
  }
4123
4123
  function gb(n) {
@@ -4218,7 +4218,7 @@ class Hm {
4218
4218
  d(this, "abortUpdateMagnifier", () => {
4219
4219
  });
4220
4220
  var s, o, r, a, l;
4221
- this.five = t, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new yh(t, ce(H({ dragEnabled: !0 }, e == null ? void 0 : e.magnifierParams), { skipPanorama: (s = e == null ? void 0 : e.skipPanorama) != null ? s : !1 }));
4221
+ this.five = t, this.magnifier = (e == null ? void 0 : e.magnifier) !== void 0 ? e.magnifier : new yh(t, ce(V({ dragEnabled: !0 }, e == null ? void 0 : e.magnifierParams), { skipPanorama: (s = e == null ? void 0 : e.skipPanorama) != null ? s : !1 }));
4222
4222
  let i = null;
4223
4223
  (e == null ? void 0 : e.pointHelper) === "default" || (e == null ? void 0 : e.pointHelper) === void 0 ? i = new Ym(t) : (e == null ? void 0 : e.pointHelper) === "highlight" ? i = new bb(t) : (e == null ? void 0 : e.pointHelper) === null ? i = null : i = e.pointHelper, this.pointHelper = i, this.group.name = "five-point-selector", this.five.scene.add(this.group), (l = this.magnifier) == null || l.appendTo((a = (r = e.container) != null ? r : (o = t.getElement()) == null ? void 0 : o.parentElement) != null ? a : document.body);
4224
4224
  }
@@ -4260,7 +4260,7 @@ function Nm(n, t = 3) {
4260
4260
  function wb(n, t) {
4261
4261
  const s = bi(n).intersectRaycaster(t)[0];
4262
4262
  if (s)
4263
- return ce(H({}, s), { raycaster: t, isVirtual: !1 });
4263
+ return ce(V({}, s), { raycaster: t, isVirtual: !1 });
4264
4264
  }
4265
4265
  const td = `url("data:image/svg+xml,%3Csvg width='12px' height='12px' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cpath d='M6,12 C9.3137085,12 12,9.3137085 12,6 C12,2.6862915 9.3137085,0 6,0 C2.6862915,0 0,2.6862915 0,6 C0,9.3137085 2.6862915,12 6,12 Z' fill='%23FF5959'%3E%3C/path%3E%3Cg transform='translate(2, 2)' stroke='%23FFFFFF'%3E%3Ccircle cx='4' cy='4' r='4'%3E%3C/circle%3E%3Cline x1='1.07141075' y1='1.23997894' x2='6.64700843' y2='6.81557662'%3E%3C/line%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 6 6, auto`, Pb = new P.Vector3();
4266
4266
  function es(n) {
@@ -4437,7 +4437,7 @@ class pl extends Ct {
4437
4437
  const i = yb(this.five, e);
4438
4438
  let s = Ur(this.five, i);
4439
4439
  if (s) {
4440
- if (this.plane && this.planeMode === "vertical" && (s = ce(H({}, s), {
4440
+ if (this.plane && this.planeMode === "vertical" && (s = ce(V({}, s), {
4441
4441
  point: this.plane.projectPoint(s.point, new P.Vector3()),
4442
4442
  face: new P.Face3(0, 0, 0, this.plane.normal.clone()),
4443
4443
  originalPoint: s.point.clone()
@@ -4487,7 +4487,7 @@ class pl extends Ct {
4487
4487
  return;
4488
4488
  }
4489
4489
  this.onEnter(), this.cursorError || (this.five.getElement().style.cursor = "");
4490
- const i = H({}, e);
4490
+ const i = V({}, e);
4491
4491
  if (this.adhereEnabled && this.mouseNdcPosition && this.five.renderer) {
4492
4492
  const f = {
4493
4493
  x: this.mouseNdcPosition.x,
@@ -4581,15 +4581,15 @@ class pl extends Ct {
4581
4581
  d(this, "emitIntersectionUpdate", (e) => {
4582
4582
  this.emit("intersectionUpdate", e);
4583
4583
  });
4584
- this.five = e, this.config = H(H({}, this.config), i), this.actionIfNoIntersection = (a = (r = i == null ? void 0 : i.actionIfNoIntersection) != null ? r : i == null ? void 0 : i.actionIfNoModelUnderMouse) != null ? a : "virtualPoint";
4584
+ this.five = e, this.config = V(V({}, this.config), i), this.actionIfNoIntersection = (a = (r = i == null ? void 0 : i.actionIfNoIntersection) != null ? r : i == null ? void 0 : i.actionIfNoModelUnderMouse) != null ? a : "virtualPoint";
4585
4585
  const s = (l = i == null ? void 0 : i.mode) != null ? l : "auto";
4586
4586
  s === "auto" ? this.mode = Fm ? "fixed" : "cursor" : this.mode = s;
4587
4587
  const o = {
4588
4588
  autoFixPCPosition: this.mode === "cursor",
4589
4589
  initialPosition: this.mode === "fixed" ? { left: "35%", top: "20%" } : void 0
4590
4590
  };
4591
- this.pointSelectorHelper = new Hm(this.five, ce(H({}, i == null ? void 0 : i.helper), {
4592
- magnifierParams: H(H({}, o), (c = i == null ? void 0 : i.helper) == null ? void 0 : c.magnifierParams),
4591
+ this.pointSelectorHelper = new Hm(this.five, ce(V({}, i == null ? void 0 : i.helper), {
4592
+ magnifierParams: V(V({}, o), (c = i == null ? void 0 : i.helper) == null ? void 0 : c.magnifierParams),
4593
4593
  skipPanorama: (h = i == null ? void 0 : i.skipPanorama) != null ? h : !1
4594
4594
  })), this.pointSelectorHelper.hide();
4595
4595
  }
@@ -5922,7 +5922,7 @@ function bl(n, t) {
5922
5922
  c && s.push(c);
5923
5923
  })) : s.push(l)));
5924
5924
  }), i = [...new Set(s.filter(Boolean))], uy(i);
5925
- const o = ut(H({
5925
+ const o = ut(V({
5926
5926
  targets: i,
5927
5927
  duration: 300,
5928
5928
  easing: "linear",
@@ -5956,7 +5956,7 @@ function bl(n, t) {
5956
5956
  }), o;
5957
5957
  }
5958
5958
  function m0(n, t) {
5959
- return bl(n, H({
5959
+ return bl(n, V({
5960
5960
  update: (e) => {
5961
5961
  var i;
5962
5962
  e.animatables.forEach((s) => {
@@ -5975,7 +5975,7 @@ function dy(n, t) {
5975
5975
  a.setFromCamera({ x: o, y: r }, n.camera);
5976
5976
  const c = e.intersectRaycaster(a)[0];
5977
5977
  if (c)
5978
- return ce(H({}, c), { raycaster: a, isVirtual: !1 });
5978
+ return ce(V({}, c), { raycaster: a, isVirtual: !1 });
5979
5979
  }
5980
5980
  function fy(n, t) {
5981
5981
  const e = n.getElement();
@@ -6190,7 +6190,7 @@ class Sr {
6190
6190
  s && (e ? s.add(i) : s.remove(i));
6191
6191
  });
6192
6192
  d(this, "createObject", (t, e) => {
6193
- const i = new Qm(ce(H({ cornerPoints: t }, e), { style: e.wrapperStyle }));
6193
+ const i = new Qm(ce(V({ cornerPoints: t }, e), { style: e.wrapperStyle }));
6194
6194
  return i.element.classList.add(`${_c}__container`), i.element.id = `${_c}__container--${i.uuid}`, i;
6195
6195
  });
6196
6196
  t && this.setScene(t);
@@ -6219,7 +6219,7 @@ class Sr {
6219
6219
  setState(t, e = { userAction: !0 }) {
6220
6220
  if (this.state.disposed)
6221
6221
  return so();
6222
- const i = H({}, this.state);
6222
+ const i = V({}, this.state);
6223
6223
  this.state = Object.assign(this.state, t), i.visible !== this.state.visible && (t.visible ? this.handleShow() : this.handleHide()), i.enabled !== this.state.enabled && (t.enabled ? this.handleEnable() : this.handleDisable()), i.disposed !== this.state.disposed && this.handleDispose(), this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e.userAction });
6224
6224
  }
6225
6225
  dispose() {
@@ -6394,7 +6394,7 @@ let Py = class extends Sr {
6394
6394
  return Object.assign(h, i, (i == null ? void 0 : i.mode) === "behind" ? { scene: this.five.scene } : void 0);
6395
6395
  })(), { autoRender: o } = s;
6396
6396
  s.mode === "behind" && s.behindFiveContainer && (this.behindFiveContainer = s.behindFiveContainer);
6397
- const r = this.create3DElement(this.five.camera, e, ce(H({}, s), { autoRender: !1 }));
6397
+ const r = this.create3DElement(this.five.camera, e, ce(V({}, s), { autoRender: !1 }));
6398
6398
  if (!r)
6399
6399
  return;
6400
6400
  const a = r.dispose;
@@ -6408,7 +6408,7 @@ let Py = class extends Sr {
6408
6408
  }, c = () => {
6409
6409
  yi(this.five).then(() => l());
6410
6410
  };
6411
- return o && c(), ce(H({}, r), { render: o ? void 0 : c });
6411
+ return o && c(), ce(V({}, r), { render: o ? void 0 : c });
6412
6412
  });
6413
6413
  this.five = e;
6414
6414
  }
@@ -6592,13 +6592,13 @@ function Dy(n, t, e) {
6592
6592
  const g = p((k = (M = m[2]) != null ? M : m[1]) != null ? k : 0), v = g.distanceTo(r), A = Qr(r.clone().sub(g).normalize());
6593
6593
  if (n.state.mode === "Mapview")
6594
6594
  return n.updateCamera(
6595
- H({
6595
+ V({
6596
6596
  offset: r,
6597
6597
  distance: v
6598
6598
  }, A),
6599
6599
  800
6600
6600
  );
6601
- n.setState(H({
6601
+ n.setState(V({
6602
6602
  mode: "Mapview",
6603
6603
  offset: r,
6604
6604
  distance: v
@@ -6629,13 +6629,13 @@ function b0(n, t, e) {
6629
6629
  const m = f((v = u[1]) != null ? v : 0), p = Qr(t.clone().sub(m).normalize());
6630
6630
  if (n.state.mode === "Mapview")
6631
6631
  return n.updateCamera(
6632
- H({
6632
+ V({
6633
6633
  offset: t,
6634
6634
  distance: i
6635
6635
  }, p),
6636
6636
  800
6637
6637
  );
6638
- n.setState(H({
6638
+ n.setState(V({
6639
6639
  mode: "Mapview",
6640
6640
  offset: t,
6641
6641
  distance: i
@@ -6747,7 +6747,7 @@ class xo {
6747
6747
  if (!r)
6748
6748
  return !1;
6749
6749
  const D = r.slice(1);
6750
- return D[0] ? this.notify(ce(H({}, t), { object: D[0].object, intersects: D })) : !1;
6750
+ return D[0] ? this.notify(ce(V({}, t), { object: D[0].object, intersects: D })) : !1;
6751
6751
  };
6752
6752
  let f = i;
6753
6753
  for (h.push(f); f.parent; )
@@ -6847,7 +6847,7 @@ class xo {
6847
6847
  * @return {void}
6848
6848
  */
6849
6849
  addEventListener(t, e, i, s) {
6850
- t._domEvent || (t._domEvent = {}), t._domEvent[`${e}Handler`] || (t._domEvent[`${e}Handler`] = []), this.boundObject[e] || (this.boundObject[e] = []), this.boundObject[e].includes(t) || this.boundObject[e].push(t), t._domEvent[`${e}Handler`].push([i, H({ noEmitWhenHide: !1, noEmitWhenNotInScene: !1 }, s)]);
6850
+ t._domEvent || (t._domEvent = {}), t._domEvent[`${e}Handler`] || (t._domEvent[`${e}Handler`] = []), this.boundObject[e] || (this.boundObject[e] = []), this.boundObject[e].includes(t) || this.boundObject[e].push(t), t._domEvent[`${e}Handler`].push([i, V({ noEmitWhenHide: !1, noEmitWhenNotInScene: !1 }, s)]);
6851
6851
  }
6852
6852
  removeEventListener(t, e, i, ...s) {
6853
6853
  var r, a;
@@ -7078,7 +7078,7 @@ const fS = (n, t) => {
7078
7078
  var C, I;
7079
7079
  const e = new Ct();
7080
7080
  let i = (I = (C = t == null ? void 0 : t.initialState) == null ? void 0 : C.enabled) != null ? I : !0, s = !1, o = !0, r = null;
7081
- const l = H(H({}, {
7081
+ const l = V(V({}, {
7082
7082
  lookAtCurrentCamera: !1,
7083
7083
  lockedPanoIndex: null,
7084
7084
  lockedLatitude: null,
@@ -8610,7 +8610,7 @@ function Dw(n, t, e) {
8610
8610
  }
8611
8611
  return o.map((z) => {
8612
8612
  const B = u(z), b = B ? f(z, k) : z.transform, C = D(z), E = o.filter((S) => S.visible && D(S) < C).length * 10;
8613
- return ce(H({}, z), { visible: B, transform: b, zIndex: E });
8613
+ return ce(V({}, z), { visible: B, transform: b, zIndex: E });
8614
8614
  });
8615
8615
  }
8616
8616
  function p() {
@@ -10947,7 +10947,7 @@ function H2(n, t, e) {
10947
10947
  "roomLabelsEnable" in u && e(4, s = u.roomLabelsEnable), "roomDimensionEnable" in u && e(5, o = u.roomDimensionEnable), "floorIndex" in u && e(6, r = u.floorIndex), "floorplanData" in u && e(7, a = u.floorplanData);
10948
10948
  }, n.$$.update = () => {
10949
10949
  n.$$.dirty & /*floorplanData, floorIndex*/
10950
- 192 && e(0, i = a.floorDatas[r].rooms.map((u) => ce(H({}, u), {
10950
+ 192 && e(0, i = a.floorDatas[r].rooms.map((u) => ce(V({}, u), {
10951
10951
  path: u.path.map((f) => N0(f, a.bounding))
10952
10952
  })));
10953
10953
  }, [
@@ -12749,7 +12749,7 @@ let us = class {
12749
12749
  /**
12750
12750
  * @realsee/dnalogel 版本号
12751
12751
  */
12752
- d(this, "VERSION", "3.69.0");
12752
+ d(this, "VERSION", "3.69.1-alpha.1");
12753
12753
  d(this, "NAME");
12754
12754
  d(this, "five");
12755
12755
  d(this, "workUtil");
@@ -12975,7 +12975,7 @@ let L3 = class extends kn {
12975
12975
  immediately: !1,
12976
12976
  isAutoShow: !1,
12977
12977
  userAction: !0
12978
- }, s = H(H({}, i), e), o = () => ie(this, null, function* () {
12978
+ }, s = V(V({}, i), e), o = () => ie(this, null, function* () {
12979
12979
  this.hooks.emit("show", { userAction: s.userAction, auto: s.isAutoShow });
12980
12980
  let a = !1, l;
12981
12981
  this.showRejection = (u) => {
@@ -13005,7 +13005,7 @@ let L3 = class extends kn {
13005
13005
  d(this, "_hide", (e) => {
13006
13006
  var o;
13007
13007
  (o = this.showRejection) == null || o.call(this, hi.BreakOffByHide), this.showPromise = void 0;
13008
- const s = H(H({}, {
13008
+ const s = V(V({}, {
13009
13009
  userAction: !0,
13010
13010
  isAutoHide: !1
13011
13011
  }), e);
@@ -13106,12 +13106,12 @@ let L3 = class extends kn {
13106
13106
  cameraImageUrl: os,
13107
13107
  attachedTo: xs.BOUNDING_CENTER,
13108
13108
  getLabelElement: void 0,
13109
- missingFloorConfig: H(H({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
13109
+ missingFloorConfig: V(V({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
13110
13110
  i18n: (u) => u,
13111
13111
  getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
13112
13112
  getRoomDimensionText: (u, f) => (u / 1e3).toFixed(1) + "m × " + (f / 1e3).toFixed(1) + "m",
13113
13113
  getRuleDistanceText: (u) => u.toString()
13114
- }, o = i ? Lo(i, ["selector", "scale"]) : {}, r = H(H({}, s.missingFloorConfig), o.missingFloorConfig), a = ce(H(H({}, s), o), { missingFloorConfig: r });
13114
+ }, o = i ? Lo(i, ["selector", "scale"]) : {}, r = V(V({}, s.missingFloorConfig), o.missingFloorConfig), a = ce(V(V({}, s), o), { missingFloorConfig: r });
13115
13115
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.once("dispose", this.dispose), this.addEventListener();
13116
13116
  }
13117
13117
  load(e, i, s = !0) {
@@ -13163,8 +13163,8 @@ let L3 = class extends kn {
13163
13163
  }
13164
13164
  updateState(e, i) {
13165
13165
  var a;
13166
- const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? H(H({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ce(H(H({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
13167
- this.state = ce(H(H({}, this.state), e), { config: r }), !qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
13166
+ const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? V(V({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ce(V(V({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
13167
+ this.state = ce(V(V({}, this.state), e), { config: r }), !qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
13168
13168
  }
13169
13169
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
13170
13170
  *
@@ -13193,7 +13193,7 @@ let L3 = class extends kn {
13193
13193
  render(e) {
13194
13194
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
13195
13195
  return;
13196
- const i = ce(H({}, this.state.config), {
13196
+ const i = ce(V({}, this.state.config), {
13197
13197
  visible: this.state.visible,
13198
13198
  duration: e != null ? e : 0,
13199
13199
  panoIndex: this.panoIndex,
@@ -15986,7 +15986,7 @@ let R3 = class extends kn {
15986
15986
  immediately: !1,
15987
15987
  isAutoShow: !1,
15988
15988
  userAction: !0
15989
- }, s = H(H({}, i), e), o = () => ie(this, null, function* () {
15989
+ }, s = V(V({}, i), e), o = () => ie(this, null, function* () {
15990
15990
  this.hooks.emit("show", { userAction: s.userAction, auto: s.isAutoShow });
15991
15991
  let a = !1, l;
15992
15992
  this.showRejection = (u) => {
@@ -16016,7 +16016,7 @@ let R3 = class extends kn {
16016
16016
  d(this, "_hide", (e) => {
16017
16017
  var o;
16018
16018
  (o = this.showRejection) == null || o.call(this, hi.BreakOffByHide), this.showPromise = void 0;
16019
- const s = H(H({}, {
16019
+ const s = V(V({}, {
16020
16020
  userAction: !0,
16021
16021
  isAutoHide: !1
16022
16022
  }), e);
@@ -16112,12 +16112,12 @@ let R3 = class extends kn {
16112
16112
  attachedTo: xs.BOUNDING_CENTER,
16113
16113
  getLabelElement: void 0,
16114
16114
  adaptiveRoomLabelVisibleEnable: !0,
16115
- missingFloorConfig: H(H({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
16115
+ missingFloorConfig: V(V({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
16116
16116
  i18n: (h) => h,
16117
16117
  getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
16118
16118
  getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
16119
16119
  getRuleDistanceText: (h) => h.toString()
16120
- }, o = i ? Lo(i, ["selector", "scale"]) : {}, r = H(H({}, s.missingFloorConfig), o.missingFloorConfig), a = ce(H(H({}, s), o), { missingFloorConfig: r });
16120
+ }, o = i ? Lo(i, ["selector", "scale"]) : {}, r = V(V({}, s.missingFloorConfig), o.missingFloorConfig), a = ce(V(V({}, s), o), { missingFloorConfig: r });
16121
16121
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), yi(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
16122
16122
  }
16123
16123
  load(e, i, s = !0) {
@@ -16196,8 +16196,8 @@ let R3 = class extends kn {
16196
16196
  }
16197
16197
  updateState(e, i) {
16198
16198
  var a;
16199
- const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? H(H({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ce(H(H({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
16200
- this.state = ce(H(H({}, this.state), e), { config: r }), !qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
16199
+ const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? V(V({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ce(V(V({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
16200
+ this.state = ce(V(V({}, this.state), e), { config: r }), !qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
16201
16201
  }
16202
16202
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
16203
16203
  *
@@ -16226,7 +16226,7 @@ let R3 = class extends kn {
16226
16226
  render(e) {
16227
16227
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0 || this.showPromise)
16228
16228
  return;
16229
- const i = ce(H({}, this.state.config), {
16229
+ const i = ce(V({}, this.state.config), {
16230
16230
  visible: this.state.visible,
16231
16231
  duration: e != null ? e : 0,
16232
16232
  panoIndex: this.panoIndex,
@@ -16362,13 +16362,13 @@ let _3 = class extends kn {
16362
16362
  cameraImageUrl: os,
16363
16363
  attachedTo: xs.BOUNDING_CENTER,
16364
16364
  getLabelElement: void 0,
16365
- missingFloorConfig: H(H({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
16365
+ missingFloorConfig: V(V({}, this.defaultMissingFloorConfig), i.missingFloorConfig),
16366
16366
  i18n: (h) => h,
16367
16367
  adaptiveRoomLabelVisibleEnable: !0,
16368
16368
  getRoomAreaText: (h) => (h / 1e6).toFixed(1) + "㎡",
16369
16369
  getRoomDimensionText: (h, u) => (h / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
16370
16370
  getRuleDistanceText: (h) => h.toString()
16371
- }, o = i ? Lo(i, ["selector", "scale"]) : {}, r = H(H({}, s.missingFloorConfig), o.missingFloorConfig), a = ce(H(H({}, s), o), { missingFloorConfig: r });
16371
+ }, o = i ? Lo(i, ["selector", "scale"]) : {}, r = V(V({}, s.missingFloorConfig), o.missingFloorConfig), a = ce(V(V({}, s), o), { missingFloorConfig: r });
16372
16372
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.model.loaded ? this.onFiveModelLoaded() : e.once("modelLoaded", this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
16373
16373
  }
16374
16374
  load(e, i, s = !0) {
@@ -16471,8 +16471,8 @@ let _3 = class extends kn {
16471
16471
  }
16472
16472
  updateState(e, i) {
16473
16473
  var a;
16474
- const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? H(H({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ce(H(H({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
16475
- this.state = ce(H(H({}, this.state), e), { config: r }), !qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
16474
+ const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? V(V({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? ce(V(V({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
16475
+ this.state = ce(V(V({}, this.state), e), { config: r }), !qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
16476
16476
  }
16477
16477
  addEventListener() {
16478
16478
  if (!this.state.enabled || this.hasAddedEventListener)
@@ -16502,7 +16502,7 @@ let _3 = class extends kn {
16502
16502
  render(e) {
16503
16503
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
16504
16504
  return;
16505
- const i = ce(H({}, this.state.config), {
16505
+ const i = ce(V({}, this.state.config), {
16506
16506
  visible: this.state.visible,
16507
16507
  duration: e != null ? e : 0,
16508
16508
  panoIndex: this.panoIndex,
@@ -17323,7 +17323,7 @@ let n5 = class extends kn {
17323
17323
  highlightEnable: !1,
17324
17324
  cameraImageUrl: os,
17325
17325
  missingFloorImageUrl: Kn(i == null ? void 0 : i.staticPrefix, Fo)
17326
- }, o = H(H({}, s), i == null ? void 0 : i.configs);
17326
+ }, o = V(V({}, s), i == null ? void 0 : i.configs);
17327
17327
  this.state = { enabled: !0, visible: !0, config: o }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), e.once("dispose", this.dispose);
17328
17328
  }
17329
17329
  load(e, i, s = !0) {
@@ -17407,8 +17407,8 @@ let n5 = class extends kn {
17407
17407
  this.hooks.emit("hide", { userAction: i }), this.render();
17408
17408
  }
17409
17409
  updateState(e, i) {
17410
- const s = this.state, o = e.config ? H(H({}, s.config), e.config) : s.config;
17411
- this.state = ce(H(H({}, this.state), e), { config: o }), !qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
17410
+ const s = this.state, o = e.config ? V(V({}, s.config), e.config) : s.config;
17411
+ this.state = ce(V(V({}, this.state), e), { config: o }), !qt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
17412
17412
  }
17413
17413
  render() {
17414
17414
  if (this.disposed || !this.state.enabled)
@@ -17419,7 +17419,7 @@ let n5 = class extends kn {
17419
17419
  }
17420
17420
  if (!this.data || !this.wrapper)
17421
17421
  return;
17422
- const e = ce(H({}, this.state.config), {
17422
+ const e = ce(V({}, this.state.config), {
17423
17423
  five: this.five,
17424
17424
  floorplanData: this.data,
17425
17425
  visible: this.state.visible,
@@ -17542,7 +17542,7 @@ function X0(n, t) {
17542
17542
  n.traverse((e) => {
17543
17543
  var i;
17544
17544
  if (e.type === "Mesh") {
17545
- const s = e, o = H({ map: s.material.map || {} }, t);
17545
+ const s = e, o = V({ map: s.material.map || {} }, t);
17546
17546
  s.material = new Er(o), s.renderOrder = 1, ((i = e.parent) == null ? void 0 : i.type) === "Mesh" && (e.renderOrder = e.parent.renderOrder + 1);
17547
17547
  }
17548
17548
  });
@@ -19688,7 +19688,7 @@ const Uc = (n, t, e) => {
19688
19688
  const t = {}, e = (l, c, ...h) => ie(void 0, [l, c, ...h], function* (o, r, a = { preload: !0 }) {
19689
19689
  return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), o.mode && o.mode !== n.currentMode && (yield n.changeMode(o.mode)), a.preload && o.panoIndex !== void 0 && o.panoIndex !== n.panoIndex && (yield n.preloadPano(o.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), o.panoIndex === void 0 && o.fov === void 0 && o.latitude === void 0 && o.longitude === void 0 ? !0 : yield new Promise((u, f) => {
19690
19690
  const m = o.panoIndex !== void 0 ? o.panoIndex : n.panoIndex;
19691
- m !== void 0 ? n.moveToPano(m, H({
19691
+ m !== void 0 ? n.moveToPano(m, V({
19692
19692
  duration: r,
19693
19693
  // 移动耗时
19694
19694
  moveEndCallback: () => u(!0),
@@ -19976,7 +19976,7 @@ const m5 = `<style type="text/css">
19976
19976
  const w = g || t.roomInfo, M = v || t.roomRules;
19977
19977
  if (!w || !M)
19978
19978
  throw new Error("标尺数据依赖不齐全!");
19979
- return e.loaded = !1, e.options = H(H({}, e.options), A || {}), n.model.loaded ? a(w, M) : yield new Promise((k) => n.once("modelLoaded", () => k(a(w, M))));
19979
+ return e.loaded = !1, e.options = V(V({}, e.options), A || {}), n.model.loaded ? a(w, M) : yield new Promise((k) => n.once("modelLoaded", () => k(a(w, M))));
19980
19980
  });
19981
19981
  t.roomInfo && t.roomRules && l(t.roomInfo, t.roomRules);
19982
19982
  const c = (g, v, A, w) => {
@@ -20512,7 +20512,7 @@ let x5 = class {
20512
20512
  this.five = t, this.container.classList.add("panoRulerProPlugin-container"), this.container.setAttribute(
20513
20513
  "style",
20514
20514
  "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
20515
- ), e && (e.data && this.load(e.data), this.state.options = H(H({}, this.state.options), e.options || {}), (i = e.options) != null && i.className && this.container.classList.add((s = e.options) == null ? void 0 : s.className)), this.five.once("modelLoaded", () => ie(this, null, function* () {
20515
+ ), e && (e.data && this.load(e.data), this.state.options = V(V({}, this.state.options), e.options || {}), (i = e.options) != null && i.className && this.container.classList.add((s = e.options) == null ? void 0 : s.className)), this.five.once("modelLoaded", () => ie(this, null, function* () {
20516
20516
  var o, r;
20517
20517
  (r = (o = this.five.getElement()) == null ? void 0 : o.parentNode) == null || r.append(this.container);
20518
20518
  })), this.five.once("dispose", () => this.dispose());
@@ -20709,7 +20709,7 @@ class L5 extends kn {
20709
20709
  this.five.scene.add(this.group), this.five.once("dispose", this.dispose), this.setState({
20710
20710
  visible: !0,
20711
20711
  enabled: !0,
20712
- config: H(H({}, this.state.config), i || {})
20712
+ config: V(V({}, this.state.config), i || {})
20713
20713
  });
20714
20714
  }
20715
20715
  /**
@@ -20772,7 +20772,7 @@ class L5 extends kn {
20772
20772
  this.state = {
20773
20773
  visible: (o = e.visible) != null ? o : s.visible,
20774
20774
  enabled: (r = e.enabled) != null ? r : s.enabled,
20775
- config: H(H({}, s.config), e.config || {})
20775
+ config: V(V({}, s.config), e.config || {})
20776
20776
  }, this.hooks.emit("stateChange", {
20777
20777
  state: this.state,
20778
20778
  prevState: s,
@@ -20782,7 +20782,7 @@ class L5 extends kn {
20782
20782
  load(e, i, s = !0) {
20783
20783
  return ie(this, null, function* () {
20784
20784
  const o = yield this.formatData(e);
20785
- JSON.stringify(this.data) !== JSON.stringify(o) && (this.hooks.emit("dataChange", o, this.data), this.data = H({}, o), this.init(), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", this.data));
20785
+ JSON.stringify(this.data) !== JSON.stringify(o) && (this.hooks.emit("dataChange", o, this.data), this.data = V({}, o), this.init(), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", this.data));
20786
20786
  });
20787
20787
  }
20788
20788
  formatData(e) {
@@ -20958,7 +20958,7 @@ class s1 {
20958
20958
  class X5 extends s1 {
20959
20959
  constructor(e) {
20960
20960
  var i;
20961
- e.contentStyle = ce(H({}, e.contentStyle), {
20961
+ e.contentStyle = ce(V({}, e.contentStyle), {
20962
20962
  background: "#FFFFFF",
20963
20963
  color: "#041066",
20964
20964
  fontFamily: "Arial-BoldMT",
@@ -21197,8 +21197,8 @@ let Sl = class {
21197
21197
  });
21198
21198
  });
21199
21199
  var i, s, o;
21200
- 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(H({}, t.pointSelectorConfig), {
21201
- helper: H({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
21200
+ 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(V({}, t.pointSelectorConfig), {
21201
+ helper: V({ magnifierParams: t.magnifierParams }, (i = t.pointSelectorConfig) == null ? void 0 : i.helper)
21202
21202
  }), 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 Oo(new xi([0, 0, 0]), new xi([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 Oo(new xi([0, 0, 0]), new xi([0, 0, 0]), this.model), this.perpendicularDashed.distanceItem.setCanSelect(!1), this.perpendicularDashed.mesh.setMaterial({ dashed: !0, dashScale: 40, color: new Xt(10218089) }), this.perpendicularDashed.mesh.name = "perpendicularDashLine";
21203
21203
  const e = this.five.getElement();
21204
21204
  e && (e.addEventListener("touchstart", ya), e.addEventListener("contextmenu", ya));
@@ -21754,9 +21754,9 @@ function mP(n) {
21754
21754
  }
21755
21755
  class vP extends s1 {
21756
21756
  constructor(e) {
21757
- e.containerStyle = ce(H({}, e.containerStyle), {
21757
+ e.containerStyle = ce(V({}, e.containerStyle), {
21758
21758
  zIndex: "1"
21759
- }), e.contentStyle = ce(H({}, e.contentStyle), {
21759
+ }), e.contentStyle = ce(V({}, e.contentStyle), {
21760
21760
  background: "#6386FF",
21761
21761
  borderRadius: "2px"
21762
21762
  });
@@ -22201,9 +22201,9 @@ class Zn extends Sl {
22201
22201
  const s = i.type === "area", o = Array.isArray(i) && ((r = i[0]) == null ? void 0 : r.type) === "line";
22202
22202
  s && this.unHighlightArea(i), o && this.unHighlightLines(i);
22203
22203
  }
22204
- }).appendTo(this.container), this.pointSelector = new pl(this.five, ce(H({}, this.pointSelectorConfig), {
22204
+ }).appendTo(this.container), this.pointSelector = new pl(this.five, ce(V({}, this.pointSelectorConfig), {
22205
22205
  mode: this.editParams.pointSelectorMode,
22206
- helper: H({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
22206
+ helper: V({ magnifierParams: this.magnifierParams, container: this.container }, this.pointSelectorConfig.helper)
22207
22207
  })), this.pointSelector.enable(), this.polyline = new jo({ model: this.model }), this.area = new qc(void 0, {
22208
22208
  five: this.five,
22209
22209
  model: this.model,
@@ -22677,7 +22677,7 @@ class xP {
22677
22677
  const t = bi(this.five).intersectRaycaster(this.raycaster)[0];
22678
22678
  return t || null;
22679
22679
  });
22680
- this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = m1(H({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = Mb, this.container.classList.add("range-piece-controller"), this.content = this.container.querySelector(".range-piece__content"), this.content && (this.content.style.transform = `matrix3d(${this.pieceStyl.matrix3d.toString()}) scale(${this.pieceStyl.scale})`, this.content.style.opacity = `${this.pieceStyl.opacity}`), t.container.append(this.container), this.intersectMesh = new bo(
22680
+ this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = m1(V({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = Mb, this.container.classList.add("range-piece-controller"), this.content = this.container.querySelector(".range-piece__content"), this.content && (this.content.style.transform = `matrix3d(${this.pieceStyl.matrix3d.toString()}) scale(${this.pieceStyl.scale})`, this.content.style.opacity = `${this.pieceStyl.opacity}`), t.container.append(this.container), this.intersectMesh = new bo(
22681
22681
  new mA(0.04, 0.08, 32),
22682
22682
  new Er({ color: 1245179, opacity: 0, side: Tm, transparent: !0 })
22683
22683
  ), this.container.addEventListener("animationend", this.computedCenterMouseXY), this.five.on("cameraUpdate", this.onCameraDirectionUpdate), this.hook.on("willChangeState", this.onWillChangeState);
@@ -24795,7 +24795,7 @@ class PC extends us {
24795
24795
  ), this.allowMeasureType = Array.from(new Set((m = (f = i.editParams) == null ? void 0 : f.allowMeasureType) != null ? m : ["line"])), this.currentMeasureType = (p = this.allowMeasureType[0]) != null ? p : "line", this.group = new vn(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.visibility = "hidden", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0", this.container.style.zIndex = "1";
24796
24796
  const s = (v = (g = i.editParams) == null ? void 0 : g.pointSelectorMode) != null ? v : Fm ? "fixed" : "cursor", o = (A = this.params.openParams) != null ? A : {};
24797
24797
  if (this.params.useUIController !== !1) {
24798
- const w = H({
24798
+ const w = V({
24799
24799
  container: this.container,
24800
24800
  openParams: o,
24801
24801
  i18n: i.i18n,
@@ -24805,7 +24805,7 @@ class PC extends us {
24805
24805
  this.useUIController = new dC(this, w);
24806
24806
  }
24807
24807
  if (this.params.useGuideController !== !1) {
24808
- const w = H({
24808
+ const w = V({
24809
24809
  container: this.container,
24810
24810
  pointSelectorMode: s,
24811
24811
  i18n: i.i18n
@@ -24832,7 +24832,7 @@ class PC extends us {
24832
24832
  e.list && (i = {
24833
24833
  polylines: e.list.map((o) => o.polyline).map((o) => {
24834
24834
  var r;
24835
- return ce(H({}, o), {
24835
+ return ce(V({}, o), {
24836
24836
  visibleFiveMode: (r = o.visibleFiveMode) != null ? r : ["Panorama"]
24837
24837
  });
24838
24838
  })
@@ -24943,7 +24943,7 @@ class PC extends us {
24943
24943
  pointSelectorConfig: this.params.pointSelectorConfig,
24944
24944
  magnifierParams: this.params.magnifierParams,
24945
24945
  getMeasureType: () => this.currentMeasureType,
24946
- mouseGroup: m1(H({}, e.crossHairParameter)),
24946
+ mouseGroup: m1(V({}, e.crossHairParameter)),
24947
24947
  userDistanceItemCreator: this.params.userDistanceItemCreator
24948
24948
  };
24949
24949
  }
@@ -24988,11 +24988,11 @@ class Cn extends fi {
24988
24988
  size: (f = e == null ? void 0 : e.size) != null ? f : 8,
24989
24989
  map: Zf || (Zf = new P.TextureLoader().load(CC)),
24990
24990
  sizeAttenuation: !1
24991
- }, a = new P.PointsMaterial(ce(H({}, r), {
24991
+ }, a = new P.PointsMaterial(ce(V({}, r), {
24992
24992
  color: (m = e == null ? void 0 : e.color) != null ? m : 16777215,
24993
24993
  depthTest: !0,
24994
24994
  opacity: (p = e == null ? void 0 : e.opacity) != null ? p : 1
24995
- })), l = new P.PointsMaterial(ce(H({}, r), {
24995
+ })), l = new P.PointsMaterial(ce(V({}, r), {
24996
24996
  size: a.size,
24997
24997
  color: a.color,
24998
24998
  depthWrite: !1,
@@ -25056,10 +25056,10 @@ class _r extends wi {
25056
25056
  d(this, "pointGroup", new fi());
25057
25057
  d(this, "_paramsStyle");
25058
25058
  d(this, "setStyle", (e) => {
25059
- super.setStyle(e), this._paramsStyle = H(H({}, this._paramsStyle), e), this.pointMeshes.forEach(
25059
+ super.setStyle(e), this._paramsStyle = V(V({}, this._paramsStyle), e), this.pointMeshes.forEach(
25060
25060
  (i) => {
25061
25061
  var s, o, r;
25062
- return i.setStyle(ce(H({}, this._paramsStyle), { color: (r = (s = this._paramsStyle) == null ? void 0 : s.pointColor) != null ? r : (o = this._paramsStyle) == null ? void 0 : o.lineColor, tip: void 0 }));
25062
+ return i.setStyle(ce(V({}, this._paramsStyle), { color: (r = (s = this._paramsStyle) == null ? void 0 : s.pointColor) != null ? r : (o = this._paramsStyle) == null ? void 0 : o.lineColor, tip: void 0 }));
25063
25063
  }
25064
25064
  ), this.updateEdgePointsVisibility(), this.needsRender = !0;
25065
25065
  });
@@ -25092,7 +25092,7 @@ class _r extends wi {
25092
25092
  const i = e.map(Ue).filter(Fe);
25093
25093
  this.pointGroup.removeChildren(), this.addIfNotExists(this.pointGroup), i.forEach((s) => {
25094
25094
  var r, a, l;
25095
- const o = new Cn(ce(H({}, this.style), {
25095
+ const o = new Cn(ce(V({}, this.style), {
25096
25096
  color: (l = (r = this._paramsStyle) == null ? void 0 : r.pointColor) != null ? l : (a = this._paramsStyle) == null ? void 0 : a.lineColor,
25097
25097
  tip: void 0
25098
25098
  }));
@@ -25158,7 +25158,7 @@ class zl extends fi {
25158
25158
  return this._geometry;
25159
25159
  }
25160
25160
  setStyle(e) {
25161
- this.paramsStyle = H(H({}, this.paramsStyle), e), Fe(e.color) && (this.meshFont.material.color.set(new P.Color(e.color).convertSRGBToLinear()), this.needsRender = !0), Fe(e.opacity) && (this.meshFont.material.opacity = e.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0), this.setOcclusionVisibility(e);
25161
+ this.paramsStyle = V(V({}, this.paramsStyle), e), Fe(e.color) && (this.meshFont.material.color.set(new P.Color(e.color).convertSRGBToLinear()), this.needsRender = !0), Fe(e.opacity) && (this.meshFont.material.opacity = e.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * this.meshFont.material.opacity, this.needsRender = !0), this.setOcclusionVisibility(e);
25162
25162
  }
25163
25163
  highlight(e) {
25164
25164
  var i, s;
@@ -25211,7 +25211,7 @@ class Uo extends zl {
25211
25211
  return this.points.length >= 3 ? new P.Vector3().crossVectors(this.points[1].clone().sub(this.points[0]), this.points[2].clone().sub(this.points[0])).normalize() : new P.Vector3(0, 0, 1);
25212
25212
  }
25213
25213
  get style() {
25214
- return ce(H({}, super.style), { lengthEnable: this._paramsStyle.lengthEnable });
25214
+ return ce(V({}, super.style), { lengthEnable: this._paramsStyle.lengthEnable });
25215
25215
  }
25216
25216
  get isBlank() {
25217
25217
  return !!this.geometry.isBlank;
@@ -25235,7 +25235,7 @@ class Uo extends zl {
25235
25235
  }
25236
25236
  setStyle(e) {
25237
25237
  var s;
25238
- this._paramsStyle = H(H({}, this._paramsStyle), e), super.setStyle(this._paramsStyle);
25238
+ this._paramsStyle = V(V({}, this._paramsStyle), e), super.setStyle(this._paramsStyle);
25239
25239
  const i = (s = this._paramsStyle.occlusionVisibility) != null ? s : !0;
25240
25240
  this.areaDom && (this.areaDom.intersectCheck = !i), this.updateAreaItems();
25241
25241
  }
@@ -25824,12 +25824,12 @@ class HC extends Ct {
25824
25824
  polygonStyle: this.polygonStyle
25825
25825
  });
25826
25826
  this.currentMeasureMesh = e, e.line.setStyle({ cssStyle: "pointer-events: none;" }), this.pointSelector.actionIfNoIntersection = "disable", this.updateSelectAdsorbedHelper();
25827
- const i = new Cn({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new _r(ce(H({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), o = new Uo(this.polygonStyle), r = new wi(ce(H({}, this.lineStyle), {
25827
+ const i = new Cn({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new _r(ce(V({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), o = new Uo(this.polygonStyle), r = new wi(ce(V({}, this.lineStyle), {
25828
25828
  lineOpacity: 0.5,
25829
25829
  lineColor: 3407837,
25830
25830
  dashed: !0,
25831
25831
  cssStyle: "pointer-events: none; opacity: 0.5;"
25832
- })), a = new wi(ce(H({}, this.lineStyle), {
25832
+ })), a = new wi(ce(V({}, this.lineStyle), {
25833
25833
  lineOpacity: 0.5,
25834
25834
  lineColor: 3407837,
25835
25835
  dashed: !0,
@@ -25910,12 +25910,12 @@ class HC extends Ct {
25910
25910
  d(this, "setLengthEnable", (e) => {
25911
25911
  this.lineStyle.lengthEnable = e, this.polygonStyle.lengthEnable = e, this.group.children.forEach((i) => {
25912
25912
  i.changeConfig({
25913
- lineStyle: H({}, this.lineStyle),
25914
- polygonStyle: H({}, this.polygonStyle)
25913
+ lineStyle: V({}, this.lineStyle),
25914
+ polygonStyle: V({}, this.polygonStyle)
25915
25915
  }), this.addMeshEventListeners(i);
25916
25916
  }), this.currentMeasureMesh && this.currentMeasureMesh.changeConfig({
25917
- lineStyle: H({}, this.lineStyle),
25918
- polygonStyle: H({}, this.polygonStyle)
25917
+ lineStyle: V({}, this.lineStyle),
25918
+ polygonStyle: V({}, this.polygonStyle)
25919
25919
  }), this.five.needsRender = !0;
25920
25920
  });
25921
25921
  /**
@@ -25926,16 +25926,39 @@ class HC extends Ct {
25926
25926
  if (this._config && (this._config.unit = e), this.lineStyle.lengthUnit = e, this.polygonStyle.lengthUnit = e, this.group.children.forEach((i) => {
25927
25927
  try {
25928
25928
  i.changeConfig({
25929
- lineStyle: H({}, this.lineStyle),
25930
- polygonStyle: H({}, this.polygonStyle)
25929
+ lineStyle: V({}, this.lineStyle),
25930
+ polygonStyle: V({}, this.polygonStyle)
25931
25931
  }), this.addMeshEventListeners(i);
25932
25932
  } catch (s) {
25933
25933
  }
25934
25934
  }), this.currentMeasureMesh)
25935
25935
  try {
25936
25936
  this.currentMeasureMesh.changeConfig({
25937
- lineStyle: H({}, this.lineStyle),
25938
- polygonStyle: H({}, this.polygonStyle)
25937
+ lineStyle: V({}, this.lineStyle),
25938
+ polygonStyle: V({}, this.polygonStyle)
25939
+ });
25940
+ } catch (i) {
25941
+ }
25942
+ this.five.needsRender = !0;
25943
+ });
25944
+ /**
25945
+ * Set the precision (number of decimal places) for length measurements
25946
+ * @param precision - The number of decimal places for length measurements (area measurements remain at fixed 2 decimal places)
25947
+ */
25948
+ d(this, "setPrecision", (e) => {
25949
+ if (this._config && (this._config.precision = e), this.lineStyle.precision = e, this.group.children.forEach((i) => {
25950
+ try {
25951
+ i.changeConfig({
25952
+ lineStyle: V({}, this.lineStyle),
25953
+ polygonStyle: V({}, this.polygonStyle)
25954
+ }), this.addMeshEventListeners(i);
25955
+ } catch (s) {
25956
+ }
25957
+ }), this.currentMeasureMesh)
25958
+ try {
25959
+ this.currentMeasureMesh.changeConfig({
25960
+ lineStyle: V({}, this.lineStyle),
25961
+ polygonStyle: V({}, this.polygonStyle)
25939
25962
  });
25940
25963
  } catch (i) {
25941
25964
  }
@@ -26472,7 +26495,7 @@ class HC extends Ct {
26472
26495
  });
26473
26496
  this.five = e;
26474
26497
  const s = { unit: "m", lengthEnable: !0, precision: 2 };
26475
- this.config = i ? H(H({}, s), i) : s, this.group = new fi(), this.group.name = "MeasureGroup", this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), ct("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
26498
+ this.config = i ? V(V({}, s), i) : s, this.group = new fi(), this.group.name = "MeasureGroup", this.five.scene.add(this.group), this.five.on("panoArrived", this.onMoveToPano), this.five.on("modeChange", this.onModeChange), ct("delete, backspace", this.deleteSelectedMesh), this.initEventListeners();
26476
26499
  }
26477
26500
  get pointSelector() {
26478
26501
  return this._pointSelector ? this._pointSelector : (this._pointSelector = new pl(this.five, { mode: "cursor", helper: { pointHelper: "highlight" }, skipPanorama: !0 }), this._pointSelector);
@@ -27461,10 +27484,10 @@ function l4(n, t, e) {
27461
27484
  const T = S.map((_) => {
27462
27485
  const q = A(E, _), ee = _.name.length * a4, K = k(_.modelPosition[1], c), te = (r ? v(E, _) : !0) && !M([q[0], q[1] + K], ee);
27463
27486
  if (!te)
27464
- return ce(H({}, _), { visible: te });
27487
+ return ce(V({}, _), { visible: te });
27465
27488
  p.push(q);
27466
27489
  const le = w(q);
27467
- return ce(H({}, _), {
27490
+ return ce(V({}, _), {
27468
27491
  visible: te,
27469
27492
  transform: le,
27470
27493
  strokeLength: K
@@ -27475,7 +27498,7 @@ function l4(n, t, e) {
27475
27498
  })).sort((_, q) => _.distance - q.distance);
27476
27499
  return T.map((_) => {
27477
27500
  const q = N.findIndex((ee) => ee.itemLabelItem.id === _.id);
27478
- return q !== void 0 ? ce(H({}, _), { zIndex: q * 10 }) : _;
27501
+ return q !== void 0 ? ce(V({}, _), { zIndex: q * 10 }) : _;
27479
27502
  });
27480
27503
  }, D = () => {
27481
27504
  p = [], e(1, u = L(o, u));
@@ -27542,7 +27565,7 @@ let c4 = class extends Ee {
27542
27565
  }
27543
27566
  };
27544
27567
  function h4(n) {
27545
- return n.model_item_labels.map((t) => H({
27568
+ return n.model_item_labels.map((t) => V({
27546
27569
  modelPosition: [t.position[0], t.position[1] + t.size[1], t.position[2]]
27547
27570
  }, t));
27548
27571
  }
@@ -28004,7 +28027,7 @@ const { Raycaster: y4, Vector3: KS } = P, dp = (n, t, e, i) => {
28004
28027
  }
28005
28028
  }, P4 = (n) => `translate(${n[0]}px, ${n[1]}px)`;
28006
28029
  function fp(n) {
28007
- return n.map((t) => H({
28030
+ return n.map((t) => V({
28008
28031
  observerIndex: void 0,
28009
28032
  visible: !1,
28010
28033
  isFold: !1
@@ -28183,15 +28206,15 @@ function M4(n, t, e) {
28183
28206
  }, k = (S, T) => {
28184
28207
  const N = T.map((q) => {
28185
28208
  if (S.state.panoIndex !== q.panoIndex)
28186
- return ce(H({}, q), { visible: !1 });
28209
+ return ce(V({}, q), { visible: !1 });
28187
28210
  const ee = M(S, q);
28188
28211
  q.name.length * E4;
28189
28212
  const K = w4(q.modelPosition[1], l), se = S.currentMode === Vt.Mode.Panorama ? w(new i(q.position[0], q.position[1], q.position[2])) : !0, te = o ? A(S, q) : !1, le = se && !te;
28190
28213
  if (!le)
28191
- return ce(H({}, q), { visible: le });
28214
+ return ce(V({}, q), { visible: le });
28192
28215
  g.push(ee);
28193
28216
  const Se = P4(ee);
28194
- return ce(H({}, q), {
28217
+ return ce(V({}, q), {
28195
28218
  visible: le,
28196
28219
  transform: Se,
28197
28220
  strokeLength: K
@@ -28202,7 +28225,7 @@ function M4(n, t, e) {
28202
28225
  })).sort((q, ee) => q.distance - ee.distance);
28203
28226
  return N.map((q) => {
28204
28227
  const ee = _.findIndex((K) => K.itemLabelItem.id === q.id);
28205
- return ee !== void 0 ? ce(H({}, q), { zIndex: ee * 10 }) : q;
28228
+ return ee !== void 0 ? ce(V({}, q), { zIndex: ee * 10 }) : q;
28206
28229
  });
28207
28230
  }, L = () => {
28208
28231
  g = [], e(1, u = k(s, u));
@@ -28244,14 +28267,14 @@ function M4(n, t, e) {
28244
28267
  longitude: Math.PI + Math.atan2(ee.x, ee.z),
28245
28268
  latitude: Math.acos(ee.y / ee.length()) - Math.PI / 2
28246
28269
  };
28247
- s.setState(ce(H({}, K), {
28270
+ s.setState(ce(V({}, K), {
28248
28271
  mode: Vt.Mode.Panorama,
28249
28272
  panoIndex: S.observerIndex
28250
28273
  })), s.once("initAnimationEnded", () => {
28251
- e(1, u = u.map((se) => ce(H({}, se), {
28274
+ e(1, u = u.map((se) => ce(V({}, se), {
28252
28275
  isFold: se.id !== S.id
28253
28276
  }))), s.once("cameraUpdate", () => {
28254
- e(1, u = u.map((se) => ce(H({}, se), { isFold: !1 })));
28277
+ e(1, u = u.map((se) => ce(V({}, se), { isFold: !1 })));
28255
28278
  });
28256
28279
  });
28257
28280
  }
@@ -28306,7 +28329,7 @@ class k4 extends Ee {
28306
28329
  }
28307
28330
  }
28308
28331
  function x4(n) {
28309
- return n.item_labels.map((t) => ce(H({}, t), {
28332
+ return n.item_labels.map((t) => ce(V({}, t), {
28310
28333
  modelPosition: [t.position[0], t.position[1], t.position[2]],
28311
28334
  observerIndex: void 0
28312
28335
  }));
@@ -28646,7 +28669,7 @@ class V4 extends us {
28646
28669
  position: u,
28647
28670
  toward: _4(r.rad)
28648
28671
  });
28649
- }), this.labelItems = this.doorLabels.map((r) => ce(H({}, r), {
28672
+ }), this.labelItems = this.doorLabels.map((r) => ce(V({}, r), {
28650
28673
  left: 0,
28651
28674
  top: 0,
28652
28675
  visible: !1,
@@ -28661,7 +28684,7 @@ class V4 extends us {
28661
28684
  }
28662
28685
  setState(e, i) {
28663
28686
  const s = this.state;
28664
- this.state = H(H({}, s), e);
28687
+ this.state = V(V({}, s), e);
28665
28688
  const o = s.enabled && s.visible, r = this.state.enabled && this.state.visible;
28666
28689
  o !== r && this.applyState();
28667
28690
  }
@@ -29625,7 +29648,7 @@ class Hr {
29625
29648
  this.cache_visible.clear(), this.cache_raycasterDistance.clear();
29626
29649
  }
29627
29650
  static generateCameraTagKey(t, e, i = 3) {
29628
- const s = H(H({}, e.five.getCurrentState()), t), o = s.mode === "Panorama" ? e.workUtil.getObserverPosition(s.panoIndex) : e.five.camera.position;
29651
+ const s = V(V({}, e.five.getCurrentState()), t), o = s.mode === "Panorama" ? e.workUtil.getObserverPosition(s.panoIndex) : e.five.camera.position;
29629
29652
  return o ? [
29630
29653
  //
29631
29654
  o.x.toFixed(i),
@@ -29854,7 +29877,7 @@ class D8 extends us {
29854
29877
  const L = u[M];
29855
29878
  u[M] = et({}, c, L, ...Object.values(k), l, { _isMerged: !0 });
29856
29879
  });
29857
- const m = ce(H({}, h), { configWithFiveMode: u });
29880
+ const m = ce(V({}, h), { configWithFiveMode: u });
29858
29881
  return al(m), Object.values(u).forEach((M) => al(M)), m._isMerged = !0, m;
29859
29882
  }
29860
29883
  }
@@ -30002,7 +30025,7 @@ function fc(n, t, e) {
30002
30025
  const k = h[w];
30003
30026
  h[w] = et({}, l, k, ...Object.values(M), a, { _isMerged: !0 });
30004
30027
  });
30005
- const f = ce(H({}, c), { configWithFiveMode: h });
30028
+ const f = ce(V({}, c), { configWithFiveMode: h });
30006
30029
  return al(f), Object.values(h).forEach((w) => al(w)), f._isMerged = !0, f;
30007
30030
  }
30008
30031
  function wp(n) {
@@ -30095,7 +30118,7 @@ class vu {
30095
30118
  const r = fc(e, t.config), a = this.getConfig(e);
30096
30119
  e.config = a, this.id = (h = e.id) != null ? h : Dt(), this.enabled = (u = e.enabled) != null ? u : !0, this.contentType = e.contentType, this.hoverEnabled = (m = (f = a.popoverConfig) == null ? void 0 : f.enabled) != null ? m : !0, this.data = (p = a.initialData) != null && p.important ? et(e.data, s, a.initialData) : et(e.data, a.initialData, s);
30097
30120
  let l;
30098
- 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 = H({
30121
+ 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 = V({
30099
30122
  visible: void 0,
30100
30123
  unfolded: l
30101
30124
  }, a.initialState), this.isPopoverConfigEnabled() && (this.state.unfolded = !1), this.originPosition = e.position, e.originPosition = this.originPosition, this.position = (() => {
@@ -30160,7 +30183,7 @@ class vu {
30160
30183
  if (di(o))
30161
30184
  return this;
30162
30185
  const r = this.workUtil.getObserverPosition(o), a = this.centerPosition.clone().sub(r).normalize();
30163
- this.five.setState(H({
30186
+ this.five.setState(V({
30164
30187
  mode: "Panorama",
30165
30188
  workCode: this.workUtil.workCode,
30166
30189
  panoIndex: o
@@ -30204,7 +30227,7 @@ class vu {
30204
30227
  console.warn("tagDom is empty");
30205
30228
  return;
30206
30229
  }
30207
- yield (s ? bl : m0)(o, H({
30230
+ yield (s ? bl : m0)(o, V({
30208
30231
  begin: () => {
30209
30232
  s === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
30210
30233
  },
@@ -30258,7 +30281,7 @@ class vu {
30258
30281
  * @param deepMerge 是否深度合并 data,默认为 true
30259
30282
  */
30260
30283
  setData(t, e = !0) {
30261
- e ? this.data = et(this.data, t) : this.data = H(H({}, this.data), t), this.hooks.emit("dataChanged", this.data);
30284
+ e ? this.data = et(this.data, t) : this.data = V(V({}, this.data), t), this.hooks.emit("dataChanged", this.data);
30262
30285
  }
30263
30286
  /**
30264
30287
  * @description 修改标签位置
@@ -30297,7 +30320,7 @@ class vu {
30297
30320
  return (l = o != null ? o : i) != null ? l : {};
30298
30321
  }
30299
30322
  getDistance(t, e = 3) {
30300
- const i = H(H({}, this.five.getCurrentState()), t), { panoIndex: s, mode: o } = i, r = o === "Panorama" ? this.workUtil.getObserverPosition(s) : this.five.camera.position, a = this.centerPosition;
30323
+ const i = V(V({}, this.five.getCurrentState()), t), { panoIndex: s, mode: o } = i, r = o === "Panorama" ? this.workUtil.getObserverPosition(s) : this.five.camera.position, a = this.centerPosition;
30301
30324
  return !r || !a ? -1 : r.distanceTo(a);
30302
30325
  }
30303
30326
  /**
@@ -30311,7 +30334,7 @@ class vu {
30311
30334
  getVisible(t) {
30312
30335
  if (!this.enabled || !this.plugin.state.enabled || !this.fiveUtil.model)
30313
30336
  return !1;
30314
- const e = H(H({}, this.five.getCurrentState()), t);
30337
+ const e = V(V({}, this.five.getCurrentState()), t);
30315
30338
  let i = this.cache.getVisible(this, e);
30316
30339
  return di(i) && (i = this.computeVisible(e).value, this.cache.setVisible(this, e, i)), i;
30317
30340
  }
@@ -30370,7 +30393,7 @@ class vu {
30370
30393
  return t != null ? t : "Dom";
30371
30394
  }
30372
30395
  computeVisible(t) {
30373
- const e = H(H({}, this.five.getCurrentState()), t), { panoIndex: i, mode: s } = e, o = [];
30396
+ const e = V(V({}, this.five.getCurrentState()), t), { panoIndex: i, mode: s } = e, o = [];
30374
30397
  return (() => {
30375
30398
  var c, u, f, m;
30376
30399
  const l = (c = this.getConfig().visibleConfig) != null ? c : {};
@@ -30391,7 +30414,7 @@ class vu {
30391
30414
  if (l.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (s === "Floorplan" || s === "Mapview")) {
30392
30415
  const h = this.computeVisibleByFloorIndex(), { value: g } = h, v = Nn(h, ["value"]);
30393
30416
  if (g === !1)
30394
- return H({ value: !1, checkedList: o, reason: "followModelVisibility check failed" }, v);
30417
+ return V({ value: !1, checkedList: o, reason: "followModelVisibility check failed" }, v);
30395
30418
  }
30396
30419
  if (Jn(s) && l.visiblePanoIndex !== void 0 && l.visiblePanoIndex !== "all" && i !== void 0) {
30397
30420
  if (o.push("visiblePanoIndex"), Array.isArray(l.visiblePanoIndex) && !l.visiblePanoIndex.includes(i))
@@ -30580,7 +30603,7 @@ class vu {
30580
30603
  }).map((a) => ({ tag: a, id: a.id, tagConfig: a.getConfig().unfoldedConfig })).filter(({ tagConfig: a }) => {
30581
30604
  var l, c;
30582
30605
  return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((l = a.autoUnfold) == null ? void 0 : l.enable) === !1 || ((c = a.autoUnfold) == null ? void 0 : c.strategy) !== "MinimumDistance");
30583
- }).map((a) => ce(H({}, a), { distance: a.tag.getDistance() })).filter(({ distance: a, tagConfig: l }) => {
30606
+ }).map((a) => ce(V({}, a), { distance: a.tag.getDistance() })).filter(({ distance: a, tagConfig: l }) => {
30584
30607
  const c = l.autoUnfold.distance;
30585
30608
  return !(c && Ea(a, c) === !1);
30586
30609
  }).sort((a, l) => a.distance - l.distance).findIndex((a) => a.id === this.id);
@@ -30620,7 +30643,7 @@ class vu {
30620
30643
  return { reason: `plugin.state.visible is ${this.plugin.state.visible}` };
30621
30644
  if (!this.enabled)
30622
30645
  return { reason: `tag ${this.id} enabled is: ${this.enabled}` };
30623
- const t = ce(H({}, this.computeVisible()), {
30646
+ const t = ce(V({}, this.computeVisible()), {
30624
30647
  tagInstance: this
30625
30648
  });
30626
30649
  return t.value !== this.state.visible ? { reason: "插件故障,请联系维护人员, err: 0", info: t } : this.state.visible ? { reason: "应该是能看见才对", info: t } : t.value === !0 ? { reason: "插件故障,请联系维护人员, err: 1", info: t } : { reason: (e = t.reason.type) != null ? e : t.reason, info: t };
@@ -33320,7 +33343,7 @@ function yE({
33320
33343
  head: 0,
33321
33344
  tail: 0
33322
33345
  };
33323
- return ce(H({}, i), {
33346
+ return ce(V({}, i), {
33324
33347
  total: i.head + i.tail
33325
33348
  });
33326
33349
  }
@@ -33576,60 +33599,60 @@ var ka = m9, ll = {}, v9 = {
33576
33599
  var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", m = "[object Number]", p = "[object Object]", g = "[object Promise]", v = "[object RegExp]", A = "[object Set]", w = "[object String]", M = "[object Symbol]", k = "[object WeakMap]", L = "[object ArrayBuffer]", D = "[object DataView]", j = "[object Float32Array]", z = "[object Float64Array]", B = "[object Int8Array]", b = "[object Int16Array]", C = "[object Int32Array]", I = "[object Uint8Array]", E = "[object Uint8ClampedArray]", S = "[object Uint16Array]", T = "[object Uint32Array]", N = /[\\^$.*+?()[\]{}|]/g, _ = /\w*$/, q = /^\[object .+?Constructor\]$/, ee = /^(?:0|[1-9]\d*)$/, K = {};
33577
33600
  K[o] = K[r] = K[L] = K[D] = K[a] = K[l] = K[j] = K[z] = K[B] = K[b] = K[C] = K[f] = K[m] = K[p] = K[v] = K[A] = K[w] = K[M] = K[I] = K[E] = K[S] = K[T] = !0, K[c] = K[h] = K[k] = !1;
33578
33601
  var se = typeof ki == "object" && ki && ki.Object === Object && ki, te = typeof self == "object" && self && self.Object === Object && self, le = se || te || Function("return this")(), Se = t && !t.nodeType && t, ue = Se && !0 && n && !n.nodeType && n, Te = ue && ue.exports === Se;
33579
- function fe(x, V) {
33580
- return x.set(V[0], V[1]), x;
33602
+ function fe(x, H) {
33603
+ return x.set(H[0], H[1]), x;
33581
33604
  }
33582
- function he(x, V) {
33583
- return x.add(V), x;
33605
+ function he(x, H) {
33606
+ return x.add(H), x;
33584
33607
  }
33585
- function Le(x, V) {
33586
- for (var J = -1, re = x ? x.length : 0; ++J < re && V(x[J], J, x) !== !1; )
33608
+ function Le(x, H) {
33609
+ for (var J = -1, re = x ? x.length : 0; ++J < re && H(x[J], J, x) !== !1; )
33587
33610
  ;
33588
33611
  return x;
33589
33612
  }
33590
- function $(x, V) {
33591
- for (var J = -1, re = V.length, We = x.length; ++J < re; )
33592
- x[We + J] = V[J];
33613
+ function $(x, H) {
33614
+ for (var J = -1, re = H.length, We = x.length; ++J < re; )
33615
+ x[We + J] = H[J];
33593
33616
  return x;
33594
33617
  }
33595
- function Me(x, V, J, re) {
33618
+ function Me(x, H, J, re) {
33596
33619
  var We = -1, Ve = x ? x.length : 0;
33597
33620
  for (re && Ve && (J = x[++We]); ++We < Ve; )
33598
- J = V(J, x[We], We, x);
33621
+ J = H(J, x[We], We, x);
33599
33622
  return J;
33600
33623
  }
33601
- function Re(x, V) {
33624
+ function Re(x, H) {
33602
33625
  for (var J = -1, re = Array(x); ++J < x; )
33603
- re[J] = V(J);
33626
+ re[J] = H(J);
33604
33627
  return re;
33605
33628
  }
33606
- function ve(x, V) {
33607
- return x == null ? void 0 : x[V];
33629
+ function ve(x, H) {
33630
+ return x == null ? void 0 : x[H];
33608
33631
  }
33609
33632
  function Be(x) {
33610
- var V = !1;
33633
+ var H = !1;
33611
33634
  if (x != null && typeof x.toString != "function")
33612
33635
  try {
33613
- V = !!(x + "");
33636
+ H = !!(x + "");
33614
33637
  } catch (J) {
33615
33638
  }
33616
- return V;
33639
+ return H;
33617
33640
  }
33618
33641
  function de(x) {
33619
- var V = -1, J = Array(x.size);
33642
+ var H = -1, J = Array(x.size);
33620
33643
  return x.forEach(function(re, We) {
33621
- J[++V] = [We, re];
33644
+ J[++H] = [We, re];
33622
33645
  }), J;
33623
33646
  }
33624
- function ye(x, V) {
33647
+ function ye(x, H) {
33625
33648
  return function(J) {
33626
- return x(V(J));
33649
+ return x(H(J));
33627
33650
  };
33628
33651
  }
33629
33652
  function ze(x) {
33630
- var V = -1, J = Array(x.size);
33653
+ var H = -1, J = Array(x.size);
33631
33654
  return x.forEach(function(re) {
33632
- J[++V] = re;
33655
+ J[++H] = re;
33633
33656
  }), J;
33634
33657
  }
33635
33658
  var Xe = Array.prototype, Ye = Function.prototype, at = Object.prototype, Je = le["__core-js_shared__"], Ke = function() {
@@ -33639,9 +33662,9 @@ var ka = m9, ll = {}, v9 = {
33639
33662
  "^" + st.call(ot).replace(N, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
33640
33663
  ), Ft = Te ? le.Buffer : void 0, ai = le.Symbol, pi = le.Uint8Array, rt = ye(Object.getPrototypeOf, Object), Nt = Object.create, Gt = at.propertyIsEnumerable, Xo = Xe.splice, ps = Object.getOwnPropertySymbols, xn = Ft ? Ft.isBuffer : void 0, Us = ye(Object.keys, Object), Sn = G(le, "DataView"), Ci = G(le, "Map"), gi = G(le, "Promise"), Dn = G(le, "Set"), Tn = G(le, "WeakMap"), Gi = G(Object, "create"), nn = ti(Sn), sn = ti(Ci), gs = ti(gi), ms = ti(Dn), Ln = ti(Tn), Wi = ai ? ai.prototype : void 0, Qs = Wi ? Wi.valueOf : void 0;
33641
33664
  function Li(x) {
33642
- var V = -1, J = x ? x.length : 0;
33643
- for (this.clear(); ++V < J; ) {
33644
- var re = x[V];
33665
+ var H = -1, J = x ? x.length : 0;
33666
+ for (this.clear(); ++H < J; ) {
33667
+ var re = x[H];
33645
33668
  this.set(re[0], re[1]);
33646
33669
  }
33647
33670
  }
@@ -33652,26 +33675,26 @@ var ka = m9, ll = {}, v9 = {
33652
33675
  return this.has(x) && delete this.__data__[x];
33653
33676
  }
33654
33677
  function Zo(x) {
33655
- var V = this.__data__;
33678
+ var H = this.__data__;
33656
33679
  if (Gi) {
33657
- var J = V[x];
33680
+ var J = H[x];
33658
33681
  return J === i ? void 0 : J;
33659
33682
  }
33660
- return ot.call(V, x) ? V[x] : void 0;
33683
+ return ot.call(H, x) ? H[x] : void 0;
33661
33684
  }
33662
33685
  function vs(x) {
33663
- var V = this.__data__;
33664
- return Gi ? V[x] !== void 0 : ot.call(V, x);
33686
+ var H = this.__data__;
33687
+ return Gi ? H[x] !== void 0 : ot.call(H, x);
33665
33688
  }
33666
- function on(x, V) {
33689
+ function on(x, H) {
33667
33690
  var J = this.__data__;
33668
- return J[x] = Gi && V === void 0 ? i : V, this;
33691
+ return J[x] = Gi && H === void 0 ? i : H, this;
33669
33692
  }
33670
33693
  Li.prototype.clear = zn, Li.prototype.delete = Yo, Li.prototype.get = Zo, Li.prototype.has = vs, Li.prototype.set = on;
33671
33694
  function Mt(x) {
33672
- var V = -1, J = x ? x.length : 0;
33673
- for (this.clear(); ++V < J; ) {
33674
- var re = x[V];
33695
+ var H = -1, J = x ? x.length : 0;
33696
+ for (this.clear(); ++H < J; ) {
33697
+ var re = x[H];
33675
33698
  this.set(re[0], re[1]);
33676
33699
  }
33677
33700
  }
@@ -33679,28 +33702,28 @@ var ka = m9, ll = {}, v9 = {
33679
33702
  this.__data__ = [];
33680
33703
  }
33681
33704
  function qo(x) {
33682
- var V = this.__data__, J = Ii(V, x);
33705
+ var H = this.__data__, J = Ii(H, x);
33683
33706
  if (J < 0)
33684
33707
  return !1;
33685
- var re = V.length - 1;
33686
- return J == re ? V.pop() : Xo.call(V, J, 1), !0;
33708
+ var re = H.length - 1;
33709
+ return J == re ? H.pop() : Xo.call(H, J, 1), !0;
33687
33710
  }
33688
33711
  function Ys(x) {
33689
- var V = this.__data__, J = Ii(V, x);
33690
- return J < 0 ? void 0 : V[J][1];
33712
+ var H = this.__data__, J = Ii(H, x);
33713
+ return J < 0 ? void 0 : H[J][1];
33691
33714
  }
33692
33715
  function Zs(x) {
33693
33716
  return Ii(this.__data__, x) > -1;
33694
33717
  }
33695
- function qs(x, V) {
33718
+ function qs(x, H) {
33696
33719
  var J = this.__data__, re = Ii(J, x);
33697
- return re < 0 ? J.push([x, V]) : J[re][1] = V, this;
33720
+ return re < 0 ? J.push([x, H]) : J[re][1] = H, this;
33698
33721
  }
33699
33722
  Mt.prototype.clear = Xs, Mt.prototype.delete = qo, Mt.prototype.get = Ys, Mt.prototype.has = Zs, Mt.prototype.set = qs;
33700
33723
  function kt(x) {
33701
- var V = -1, J = x ? x.length : 0;
33702
- for (this.clear(); ++V < J; ) {
33703
- var re = x[V];
33724
+ var H = -1, J = x ? x.length : 0;
33725
+ for (this.clear(); ++H < J; ) {
33726
+ var re = x[H];
33704
33727
  this.set(re[0], re[1]);
33705
33728
  }
33706
33729
  }
@@ -33720,8 +33743,8 @@ var ka = m9, ll = {}, v9 = {
33720
33743
  function an(x) {
33721
33744
  return O(this, x).has(x);
33722
33745
  }
33723
- function On(x, V) {
33724
- return O(this, x).set(x, V), this;
33746
+ function On(x, H) {
33747
+ return O(this, x).set(x, H), this;
33725
33748
  }
33726
33749
  kt.prototype.clear = As, kt.prototype.delete = zi, kt.prototype.get = rn, kt.prototype.has = an, kt.prototype.set = On;
33727
33750
  function Ot(x) {
@@ -33739,37 +33762,37 @@ var ka = m9, ll = {}, v9 = {
33739
33762
  function Wt(x) {
33740
33763
  return this.__data__.has(x);
33741
33764
  }
33742
- function Ui(x, V) {
33765
+ function Ui(x, H) {
33743
33766
  var J = this.__data__;
33744
33767
  if (J instanceof Mt) {
33745
33768
  var re = J.__data__;
33746
33769
  if (!Ci || re.length < e - 1)
33747
- return re.push([x, V]), this;
33770
+ return re.push([x, H]), this;
33748
33771
  J = this.__data__ = new kt(re);
33749
33772
  }
33750
- return J.set(x, V), this;
33773
+ return J.set(x, H), this;
33751
33774
  }
33752
33775
  Ot.prototype.clear = Jo, Ot.prototype.delete = Ko, Ot.prototype.get = jn, Ot.prototype.has = Wt, Ot.prototype.set = Ui;
33753
- function Jt(x, V) {
33776
+ function Jt(x, H) {
33754
33777
  var J = ir(x) || eo(x) ? Re(x.length, String) : [], re = J.length, We = !!re;
33755
33778
  for (var Ve in x)
33756
- (V || ot.call(x, Ve)) && !(We && (Ve == "length" || bt(Ve, re))) && J.push(Ve);
33779
+ (H || ot.call(x, Ve)) && !(We && (Ve == "length" || bt(Ve, re))) && J.push(Ve);
33757
33780
  return J;
33758
33781
  }
33759
- function li(x, V, J) {
33760
- var re = x[V];
33761
- (!(ot.call(x, V) && ta(re, J)) || J === void 0 && !(V in x)) && (x[V] = J);
33782
+ function li(x, H, J) {
33783
+ var re = x[H];
33784
+ (!(ot.call(x, H) && ta(re, J)) || J === void 0 && !(H in x)) && (x[H] = J);
33762
33785
  }
33763
- function Ii(x, V) {
33786
+ function Ii(x, H) {
33764
33787
  for (var J = x.length; J--; )
33765
- if (ta(x[J][0], V))
33788
+ if (ta(x[J][0], H))
33766
33789
  return J;
33767
33790
  return -1;
33768
33791
  }
33769
- function wt(x, V) {
33770
- return x && Vn(V, sr(V), x);
33792
+ function wt(x, H) {
33793
+ return x && Vn(H, sr(H), x);
33771
33794
  }
33772
- function Kt(x, V, J, re, We, Ve, Ze) {
33795
+ function Kt(x, H, J, re, We, Ve, Ze) {
33773
33796
  var $e;
33774
33797
  if (re && ($e = Ve ? re(x, We, Ve, Ze) : re(x)), $e !== void 0)
33775
33798
  return $e;
@@ -33777,21 +33800,21 @@ var ka = m9, ll = {}, v9 = {
33777
33800
  return x;
33778
33801
  var It = ir(x);
33779
33802
  if (It) {
33780
- if ($e = be(x), !V)
33803
+ if ($e = be(x), !H)
33781
33804
  return bs(x, $e);
33782
33805
  } else {
33783
33806
  var it = ne(x), Ut = it == h || it == u;
33784
33807
  if (ia(x))
33785
- return Qi(x, V);
33808
+ return Qi(x, H);
33786
33809
  if (it == p || it == o || Ut && !Ve) {
33787
33810
  if (Be(x))
33788
33811
  return Ve ? x : {};
33789
- if ($e = Oe(Ut ? {} : x), !V)
33812
+ if ($e = Oe(Ut ? {} : x), !H)
33790
33813
  return er(x, wt($e, x));
33791
33814
  } else {
33792
33815
  if (!K[it])
33793
33816
  return Ve ? x : {};
33794
- $e = Qe(x, it, Kt, V);
33817
+ $e = Qe(x, it, Kt, H);
33795
33818
  }
33796
33819
  }
33797
33820
  Ze || (Ze = new Ot());
@@ -33801,14 +33824,14 @@ var ka = m9, ll = {}, v9 = {
33801
33824
  if (Ze.set(x, $e), !It)
33802
33825
  var St = J ? tr(x) : sr(x);
33803
33826
  return Le(St || x, function(Qt, _t) {
33804
- St && (_t = Qt, Qt = x[_t]), li($e, _t, Kt(Qt, V, J, re, _t, x, Ze));
33827
+ St && (_t = Qt, Qt = x[_t]), li($e, _t, Kt(Qt, H, J, re, _t, x, Ze));
33805
33828
  }), $e;
33806
33829
  }
33807
33830
  function Js(x) {
33808
33831
  return Xi(x) ? Nt(x) : {};
33809
33832
  }
33810
- function Ks(x, V, J) {
33811
- var re = V(x);
33833
+ function Ks(x, H, J) {
33834
+ var re = H(x);
33812
33835
  return ir(x) ? re : $(re, J(x));
33813
33836
  }
33814
33837
  function Rn(x) {
@@ -33817,81 +33840,81 @@ var ka = m9, ll = {}, v9 = {
33817
33840
  function $t(x) {
33818
33841
  if (!Xi(x) || xt(x))
33819
33842
  return !1;
33820
- var V = nr(x) || Be(x) ? Ni : q;
33821
- return V.test(ti(x));
33843
+ var H = nr(x) || Be(x) ? Ni : q;
33844
+ return H.test(ti(x));
33822
33845
  }
33823
33846
  function _n(x) {
33824
33847
  if (!ei(x))
33825
33848
  return Us(x);
33826
- var V = [];
33849
+ var H = [];
33827
33850
  for (var J in Object(x))
33828
- ot.call(x, J) && J != "constructor" && V.push(J);
33829
- return V;
33851
+ ot.call(x, J) && J != "constructor" && H.push(J);
33852
+ return H;
33830
33853
  }
33831
- function Qi(x, V) {
33832
- if (V)
33854
+ function Qi(x, H) {
33855
+ if (H)
33833
33856
  return x.slice();
33834
33857
  var J = new x.constructor(x.length);
33835
33858
  return x.copy(J), J;
33836
33859
  }
33837
33860
  function ln(x) {
33838
- var V = new x.constructor(x.byteLength);
33839
- return new pi(V).set(new pi(x)), V;
33861
+ var H = new x.constructor(x.byteLength);
33862
+ return new pi(H).set(new pi(x)), H;
33840
33863
  }
33841
- function Oi(x, V) {
33842
- var J = V ? ln(x.buffer) : x.buffer;
33864
+ function Oi(x, H) {
33865
+ var J = H ? ln(x.buffer) : x.buffer;
33843
33866
  return new x.constructor(J, x.byteOffset, x.byteLength);
33844
33867
  }
33845
- function Bn(x, V, J) {
33846
- var re = V ? J(de(x), !0) : de(x);
33868
+ function Bn(x, H, J) {
33869
+ var re = H ? J(de(x), !0) : de(x);
33847
33870
  return Me(re, fe, new x.constructor());
33848
33871
  }
33849
33872
  function cn(x) {
33850
- var V = new x.constructor(x.source, _.exec(x));
33851
- return V.lastIndex = x.lastIndex, V;
33873
+ var H = new x.constructor(x.source, _.exec(x));
33874
+ return H.lastIndex = x.lastIndex, H;
33852
33875
  }
33853
- function mi(x, V, J) {
33854
- var re = V ? J(ze(x), !0) : ze(x);
33876
+ function mi(x, H, J) {
33877
+ var re = H ? J(ze(x), !0) : ze(x);
33855
33878
  return Me(re, he, new x.constructor());
33856
33879
  }
33857
33880
  function $o(x) {
33858
33881
  return Qs ? Object(Qs.call(x)) : {};
33859
33882
  }
33860
- function $s(x, V) {
33861
- var J = V ? ln(x.buffer) : x.buffer;
33883
+ function $s(x, H) {
33884
+ var J = H ? ln(x.buffer) : x.buffer;
33862
33885
  return new x.constructor(J, x.byteOffset, x.length);
33863
33886
  }
33864
- function bs(x, V) {
33887
+ function bs(x, H) {
33865
33888
  var J = -1, re = x.length;
33866
- for (V || (V = Array(re)); ++J < re; )
33867
- V[J] = x[J];
33868
- return V;
33889
+ for (H || (H = Array(re)); ++J < re; )
33890
+ H[J] = x[J];
33891
+ return H;
33869
33892
  }
33870
- function Vn(x, V, J, re) {
33893
+ function Vn(x, H, J, re) {
33871
33894
  J || (J = {});
33872
- for (var We = -1, Ve = V.length; ++We < Ve; ) {
33873
- var Ze = V[We], $e = re ? re(J[Ze], x[Ze], Ze, J, x) : void 0;
33895
+ for (var We = -1, Ve = H.length; ++We < Ve; ) {
33896
+ var Ze = H[We], $e = re ? re(J[Ze], x[Ze], Ze, J, x) : void 0;
33874
33897
  li(J, Ze, $e === void 0 ? x[Ze] : $e);
33875
33898
  }
33876
33899
  return J;
33877
33900
  }
33878
- function er(x, V) {
33879
- return Vn(x, Z(x), V);
33901
+ function er(x, H) {
33902
+ return Vn(x, Z(x), H);
33880
33903
  }
33881
33904
  function tr(x) {
33882
33905
  return Ks(x, sr, Z);
33883
33906
  }
33884
- function O(x, V) {
33907
+ function O(x, H) {
33885
33908
  var J = x.__data__;
33886
- return Pt(V) ? J[typeof V == "string" ? "string" : "hash"] : J.map;
33909
+ return Pt(H) ? J[typeof H == "string" ? "string" : "hash"] : J.map;
33887
33910
  }
33888
- function G(x, V) {
33889
- var J = ve(x, V);
33911
+ function G(x, H) {
33912
+ var J = ve(x, H);
33890
33913
  return $t(J) ? J : void 0;
33891
33914
  }
33892
33915
  var Z = ps ? ye(ps, Object) : Fl, ne = Rn;
33893
33916
  (Sn && ne(new Sn(new ArrayBuffer(1))) != D || Ci && ne(new Ci()) != f || gi && ne(gi.resolve()) != g || Dn && ne(new Dn()) != A || Tn && ne(new Tn()) != k) && (ne = function(x) {
33894
- var V = zt.call(x), J = V == p ? x.constructor : void 0, re = J ? ti(J) : void 0;
33917
+ var H = zt.call(x), J = H == p ? x.constructor : void 0, re = J ? ti(J) : void 0;
33895
33918
  if (re)
33896
33919
  switch (re) {
33897
33920
  case nn:
@@ -33905,18 +33928,18 @@ var ka = m9, ll = {}, v9 = {
33905
33928
  case Ln:
33906
33929
  return k;
33907
33930
  }
33908
- return V;
33931
+ return H;
33909
33932
  });
33910
33933
  function be(x) {
33911
- var V = x.length, J = x.constructor(V);
33912
- return V && typeof x[0] == "string" && ot.call(x, "index") && (J.index = x.index, J.input = x.input), J;
33934
+ var H = x.length, J = x.constructor(H);
33935
+ return H && typeof x[0] == "string" && ot.call(x, "index") && (J.index = x.index, J.input = x.input), J;
33913
33936
  }
33914
33937
  function Oe(x) {
33915
33938
  return typeof x.constructor == "function" && !ei(x) ? Js(rt(x)) : {};
33916
33939
  }
33917
- function Qe(x, V, J, re) {
33940
+ function Qe(x, H, J, re) {
33918
33941
  var We = x.constructor;
33919
- switch (V) {
33942
+ switch (H) {
33920
33943
  case L:
33921
33944
  return ln(x);
33922
33945
  case a:
@@ -33947,29 +33970,29 @@ var ka = m9, ll = {}, v9 = {
33947
33970
  return $o(x);
33948
33971
  }
33949
33972
  }
33950
- function bt(x, V) {
33951
- return V = V == null ? s : V, !!V && (typeof x == "number" || ee.test(x)) && x > -1 && x % 1 == 0 && x < V;
33973
+ function bt(x, H) {
33974
+ return H = H == null ? s : H, !!H && (typeof x == "number" || ee.test(x)) && x > -1 && x % 1 == 0 && x < H;
33952
33975
  }
33953
33976
  function Pt(x) {
33954
- var V = typeof x;
33955
- return V == "string" || V == "number" || V == "symbol" || V == "boolean" ? x !== "__proto__" : x === null;
33977
+ var H = typeof x;
33978
+ return H == "string" || H == "number" || H == "symbol" || H == "boolean" ? x !== "__proto__" : x === null;
33956
33979
  }
33957
33980
  function xt(x) {
33958
33981
  return !!Ke && Ke in x;
33959
33982
  }
33960
33983
  function ei(x) {
33961
- var V = x && x.constructor, J = typeof V == "function" && V.prototype || at;
33984
+ var H = x && x.constructor, J = typeof H == "function" && H.prototype || at;
33962
33985
  return x === J;
33963
33986
  }
33964
33987
  function ti(x) {
33965
33988
  if (x != null) {
33966
33989
  try {
33967
33990
  return st.call(x);
33968
- } catch (V) {
33991
+ } catch (H) {
33969
33992
  }
33970
33993
  try {
33971
33994
  return x + "";
33972
- } catch (V) {
33995
+ } catch (H) {
33973
33996
  }
33974
33997
  }
33975
33998
  return "";
@@ -33977,8 +34000,8 @@ var ka = m9, ll = {}, v9 = {
33977
34000
  function ea(x) {
33978
34001
  return Kt(x, !0, !0);
33979
34002
  }
33980
- function ta(x, V) {
33981
- return x === V || x !== x && V !== V;
34003
+ function ta(x, H) {
34004
+ return x === H || x !== x && H !== H;
33982
34005
  }
33983
34006
  function eo(x) {
33984
34007
  return Hl(x) && ot.call(x, "callee") && (!Gt.call(x, "callee") || zt.call(x) == o);
@@ -33992,15 +34015,15 @@ var ka = m9, ll = {}, v9 = {
33992
34015
  }
33993
34016
  var ia = xn || Nl;
33994
34017
  function nr(x) {
33995
- var V = Xi(x) ? zt.call(x) : "";
33996
- return V == h || V == u;
34018
+ var H = Xi(x) ? zt.call(x) : "";
34019
+ return H == h || H == u;
33997
34020
  }
33998
34021
  function na(x) {
33999
34022
  return typeof x == "number" && x > -1 && x % 1 == 0 && x <= s;
34000
34023
  }
34001
34024
  function Xi(x) {
34002
- var V = typeof x;
34003
- return !!x && (V == "object" || V == "function");
34025
+ var H = typeof x;
34026
+ return !!x && (H == "object" || H == "function");
34004
34027
  }
34005
34028
  function sa(x) {
34006
34029
  return !!x && typeof x == "object";
@@ -34034,55 +34057,55 @@ var cl = {}, b9 = {
34034
34057
  } catch (x) {
34035
34058
  }
34036
34059
  }(), Be = ve && ve.isTypedArray;
34037
- function de(x, V) {
34060
+ function de(x, H) {
34038
34061
  for (var J = -1, re = x == null ? 0 : x.length, We = 0, Ve = []; ++J < re; ) {
34039
34062
  var Ze = x[J];
34040
- V(Ze, J, x) && (Ve[We++] = Ze);
34063
+ H(Ze, J, x) && (Ve[We++] = Ze);
34041
34064
  }
34042
34065
  return Ve;
34043
34066
  }
34044
- function ye(x, V) {
34045
- for (var J = -1, re = V.length, We = x.length; ++J < re; )
34046
- x[We + J] = V[J];
34067
+ function ye(x, H) {
34068
+ for (var J = -1, re = H.length, We = x.length; ++J < re; )
34069
+ x[We + J] = H[J];
34047
34070
  return x;
34048
34071
  }
34049
- function ze(x, V) {
34072
+ function ze(x, H) {
34050
34073
  for (var J = -1, re = x == null ? 0 : x.length; ++J < re; )
34051
- if (V(x[J], J, x))
34074
+ if (H(x[J], J, x))
34052
34075
  return !0;
34053
34076
  return !1;
34054
34077
  }
34055
- function Xe(x, V) {
34078
+ function Xe(x, H) {
34056
34079
  for (var J = -1, re = Array(x); ++J < x; )
34057
- re[J] = V(J);
34080
+ re[J] = H(J);
34058
34081
  return re;
34059
34082
  }
34060
34083
  function Ye(x) {
34061
- return function(V) {
34062
- return x(V);
34084
+ return function(H) {
34085
+ return x(H);
34063
34086
  };
34064
34087
  }
34065
- function at(x, V) {
34066
- return x.has(V);
34088
+ function at(x, H) {
34089
+ return x.has(H);
34067
34090
  }
34068
- function Je(x, V) {
34069
- return x == null ? void 0 : x[V];
34091
+ function Je(x, H) {
34092
+ return x == null ? void 0 : x[H];
34070
34093
  }
34071
34094
  function Ke(x) {
34072
- var V = -1, J = Array(x.size);
34095
+ var H = -1, J = Array(x.size);
34073
34096
  return x.forEach(function(re, We) {
34074
- J[++V] = [We, re];
34097
+ J[++H] = [We, re];
34075
34098
  }), J;
34076
34099
  }
34077
- function st(x, V) {
34100
+ function st(x, H) {
34078
34101
  return function(J) {
34079
- return x(V(J));
34102
+ return x(H(J));
34080
34103
  };
34081
34104
  }
34082
34105
  function ot(x) {
34083
- var V = -1, J = Array(x.size);
34106
+ var H = -1, J = Array(x.size);
34084
34107
  return x.forEach(function(re) {
34085
- J[++V] = re;
34108
+ J[++H] = re;
34086
34109
  }), J;
34087
34110
  }
34088
34111
  var zt = Array.prototype, Ni = Function.prototype, Ft = Object.prototype, ai = he["__core-js_shared__"], pi = Ni.toString, rt = Ft.hasOwnProperty, Nt = function() {
@@ -34092,9 +34115,9 @@ var cl = {}, b9 = {
34092
34115
  "^" + pi.call(rt).replace(te, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
34093
34116
  ), ps = Me ? he.Buffer : void 0, xn = he.Symbol, Us = he.Uint8Array, Sn = Ft.propertyIsEnumerable, Ci = zt.splice, gi = xn ? xn.toStringTag : void 0, Dn = Object.getOwnPropertySymbols, Tn = ps ? ps.isBuffer : void 0, Gi = st(Object.keys, Object), nn = Z(he, "DataView"), sn = Z(he, "Map"), gs = Z(he, "Promise"), ms = Z(he, "Set"), Ln = Z(he, "WeakMap"), Wi = Z(Object, "create"), Qs = ti(nn), Li = ti(sn), zn = ti(gs), Yo = ti(ms), Zo = ti(Ln), vs = xn ? xn.prototype : void 0, on = vs ? vs.valueOf : void 0;
34094
34117
  function Mt(x) {
34095
- var V = -1, J = x == null ? 0 : x.length;
34096
- for (this.clear(); ++V < J; ) {
34097
- var re = x[V];
34118
+ var H = -1, J = x == null ? 0 : x.length;
34119
+ for (this.clear(); ++H < J; ) {
34120
+ var re = x[H];
34098
34121
  this.set(re[0], re[1]);
34099
34122
  }
34100
34123
  }
@@ -34102,30 +34125,30 @@ var cl = {}, b9 = {
34102
34125
  this.__data__ = Wi ? Wi(null) : {}, this.size = 0;
34103
34126
  }
34104
34127
  function qo(x) {
34105
- var V = this.has(x) && delete this.__data__[x];
34106
- return this.size -= V ? 1 : 0, V;
34128
+ var H = this.has(x) && delete this.__data__[x];
34129
+ return this.size -= H ? 1 : 0, H;
34107
34130
  }
34108
34131
  function Ys(x) {
34109
- var V = this.__data__;
34132
+ var H = this.__data__;
34110
34133
  if (Wi) {
34111
- var J = V[x];
34134
+ var J = H[x];
34112
34135
  return J === i ? void 0 : J;
34113
34136
  }
34114
- return rt.call(V, x) ? V[x] : void 0;
34137
+ return rt.call(H, x) ? H[x] : void 0;
34115
34138
  }
34116
34139
  function Zs(x) {
34117
- var V = this.__data__;
34118
- return Wi ? V[x] !== void 0 : rt.call(V, x);
34140
+ var H = this.__data__;
34141
+ return Wi ? H[x] !== void 0 : rt.call(H, x);
34119
34142
  }
34120
- function qs(x, V) {
34143
+ function qs(x, H) {
34121
34144
  var J = this.__data__;
34122
- return this.size += this.has(x) ? 0 : 1, J[x] = Wi && V === void 0 ? i : V, this;
34145
+ return this.size += this.has(x) ? 0 : 1, J[x] = Wi && H === void 0 ? i : H, this;
34123
34146
  }
34124
34147
  Mt.prototype.clear = Xs, Mt.prototype.delete = qo, Mt.prototype.get = Ys, Mt.prototype.has = Zs, Mt.prototype.set = qs;
34125
34148
  function kt(x) {
34126
- var V = -1, J = x == null ? 0 : x.length;
34127
- for (this.clear(); ++V < J; ) {
34128
- var re = x[V];
34149
+ var H = -1, J = x == null ? 0 : x.length;
34150
+ for (this.clear(); ++H < J; ) {
34151
+ var re = x[H];
34129
34152
  this.set(re[0], re[1]);
34130
34153
  }
34131
34154
  }
@@ -34133,28 +34156,28 @@ var cl = {}, b9 = {
34133
34156
  this.__data__ = [], this.size = 0;
34134
34157
  }
34135
34158
  function zi(x) {
34136
- var V = this.__data__, J = Qi(V, x);
34159
+ var H = this.__data__, J = Qi(H, x);
34137
34160
  if (J < 0)
34138
34161
  return !1;
34139
- var re = V.length - 1;
34140
- return J == re ? V.pop() : Ci.call(V, J, 1), --this.size, !0;
34162
+ var re = H.length - 1;
34163
+ return J == re ? H.pop() : Ci.call(H, J, 1), --this.size, !0;
34141
34164
  }
34142
34165
  function rn(x) {
34143
- var V = this.__data__, J = Qi(V, x);
34144
- return J < 0 ? void 0 : V[J][1];
34166
+ var H = this.__data__, J = Qi(H, x);
34167
+ return J < 0 ? void 0 : H[J][1];
34145
34168
  }
34146
34169
  function an(x) {
34147
34170
  return Qi(this.__data__, x) > -1;
34148
34171
  }
34149
- function On(x, V) {
34172
+ function On(x, H) {
34150
34173
  var J = this.__data__, re = Qi(J, x);
34151
- return re < 0 ? (++this.size, J.push([x, V])) : J[re][1] = V, this;
34174
+ return re < 0 ? (++this.size, J.push([x, H])) : J[re][1] = H, this;
34152
34175
  }
34153
34176
  kt.prototype.clear = As, kt.prototype.delete = zi, kt.prototype.get = rn, kt.prototype.has = an, kt.prototype.set = On;
34154
34177
  function Ot(x) {
34155
- var V = -1, J = x == null ? 0 : x.length;
34156
- for (this.clear(); ++V < J; ) {
34157
- var re = x[V];
34178
+ var H = -1, J = x == null ? 0 : x.length;
34179
+ for (this.clear(); ++H < J; ) {
34180
+ var re = x[H];
34158
34181
  this.set(re[0], re[1]);
34159
34182
  }
34160
34183
  }
@@ -34166,8 +34189,8 @@ var cl = {}, b9 = {
34166
34189
  };
34167
34190
  }
34168
34191
  function Ko(x) {
34169
- var V = G(this, x).delete(x);
34170
- return this.size -= V ? 1 : 0, V;
34192
+ var H = G(this, x).delete(x);
34193
+ return this.size -= H ? 1 : 0, H;
34171
34194
  }
34172
34195
  function jn(x) {
34173
34196
  return G(this, x).get(x);
@@ -34175,15 +34198,15 @@ var cl = {}, b9 = {
34175
34198
  function Wt(x) {
34176
34199
  return G(this, x).has(x);
34177
34200
  }
34178
- function Ui(x, V) {
34201
+ function Ui(x, H) {
34179
34202
  var J = G(this, x), re = J.size;
34180
- return J.set(x, V), this.size += J.size == re ? 0 : 1, this;
34203
+ return J.set(x, H), this.size += J.size == re ? 0 : 1, this;
34181
34204
  }
34182
34205
  Ot.prototype.clear = Jo, Ot.prototype.delete = Ko, Ot.prototype.get = jn, Ot.prototype.has = Wt, Ot.prototype.set = Ui;
34183
34206
  function Jt(x) {
34184
- var V = -1, J = x == null ? 0 : x.length;
34185
- for (this.__data__ = new Ot(); ++V < J; )
34186
- this.add(x[V]);
34207
+ var H = -1, J = x == null ? 0 : x.length;
34208
+ for (this.__data__ = new Ot(); ++H < J; )
34209
+ this.add(x[H]);
34187
34210
  }
34188
34211
  function li(x) {
34189
34212
  return this.__data__.set(x, i), this;
@@ -34193,15 +34216,15 @@ var cl = {}, b9 = {
34193
34216
  }
34194
34217
  Jt.prototype.add = Jt.prototype.push = li, Jt.prototype.has = Ii;
34195
34218
  function wt(x) {
34196
- var V = this.__data__ = new kt(x);
34197
- this.size = V.size;
34219
+ var H = this.__data__ = new kt(x);
34220
+ this.size = H.size;
34198
34221
  }
34199
34222
  function Kt() {
34200
34223
  this.__data__ = new kt(), this.size = 0;
34201
34224
  }
34202
34225
  function Js(x) {
34203
- var V = this.__data__, J = V.delete(x);
34204
- return this.size = V.size, J;
34226
+ var H = this.__data__, J = H.delete(x);
34227
+ return this.size = H.size, J;
34205
34228
  }
34206
34229
  function Ks(x) {
34207
34230
  return this.__data__.get(x);
@@ -34209,35 +34232,35 @@ var cl = {}, b9 = {
34209
34232
  function Rn(x) {
34210
34233
  return this.__data__.has(x);
34211
34234
  }
34212
- function $t(x, V) {
34235
+ function $t(x, H) {
34213
34236
  var J = this.__data__;
34214
34237
  if (J instanceof kt) {
34215
34238
  var re = J.__data__;
34216
34239
  if (!sn || re.length < e - 1)
34217
- return re.push([x, V]), this.size = ++J.size, this;
34240
+ return re.push([x, H]), this.size = ++J.size, this;
34218
34241
  J = this.__data__ = new Ot(re);
34219
34242
  }
34220
- return J.set(x, V), this.size = J.size, this;
34243
+ return J.set(x, H), this.size = J.size, this;
34221
34244
  }
34222
34245
  wt.prototype.clear = Kt, wt.prototype.delete = Js, wt.prototype.get = Ks, wt.prototype.has = Rn, wt.prototype.set = $t;
34223
- function _n(x, V) {
34246
+ function _n(x, H) {
34224
34247
  var J = eo(x), re = !J && ta(x), We = !J && !re && to(x), Ve = !J && !re && !We && sa(x), Ze = J || re || We || Ve, $e = Ze ? Xe(x.length, String) : [], It = $e.length;
34225
34248
  for (var it in x)
34226
- (V || rt.call(x, it)) && !(Ze && // Safari 9 has enumerable `arguments.length` in strict mode.
34249
+ (H || rt.call(x, it)) && !(Ze && // Safari 9 has enumerable `arguments.length` in strict mode.
34227
34250
  (it == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
34228
34251
  We && (it == "offset" || it == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
34229
34252
  Ve && (it == "buffer" || it == "byteLength" || it == "byteOffset") || // Skip index properties.
34230
34253
  Qe(it, It))) && $e.push(it);
34231
34254
  return $e;
34232
34255
  }
34233
- function Qi(x, V) {
34256
+ function Qi(x, H) {
34234
34257
  for (var J = x.length; J--; )
34235
- if (ea(x[J][0], V))
34258
+ if (ea(x[J][0], H))
34236
34259
  return J;
34237
34260
  return -1;
34238
34261
  }
34239
- function ln(x, V, J) {
34240
- var re = V(x);
34262
+ function ln(x, H, J) {
34263
+ var re = H(x);
34241
34264
  return eo(x) ? re : ye(re, J(x));
34242
34265
  }
34243
34266
  function Oi(x) {
@@ -34246,34 +34269,34 @@ var cl = {}, b9 = {
34246
34269
  function Bn(x) {
34247
34270
  return Xi(x) && Oi(x) == a;
34248
34271
  }
34249
- function cn(x, V, J, re, We) {
34250
- return x === V ? !0 : x == null || V == null || !Xi(x) && !Xi(V) ? x !== x && V !== V : mi(x, V, J, re, cn, We);
34272
+ function cn(x, H, J, re, We) {
34273
+ return x === H ? !0 : x == null || H == null || !Xi(x) && !Xi(H) ? x !== x && H !== H : mi(x, H, J, re, cn, We);
34251
34274
  }
34252
- function mi(x, V, J, re, We, Ve) {
34253
- var Ze = eo(x), $e = eo(V), It = Ze ? l : Oe(x), it = $e ? l : Oe(V);
34275
+ function mi(x, H, J, re, We, Ve) {
34276
+ var Ze = eo(x), $e = eo(H), It = Ze ? l : Oe(x), it = $e ? l : Oe(H);
34254
34277
  It = It == a ? w : It, it = it == a ? w : it;
34255
34278
  var Ut = It == w, ci = it == w, St = It == it;
34256
34279
  if (St && to(x)) {
34257
- if (!to(V))
34280
+ if (!to(H))
34258
34281
  return !1;
34259
34282
  Ze = !0, Ut = !1;
34260
34283
  }
34261
34284
  if (St && !Ut)
34262
- return Ve || (Ve = new wt()), Ze || sa(x) ? Vn(x, V, J, re, We, Ve) : er(x, V, It, J, re, We, Ve);
34285
+ return Ve || (Ve = new wt()), Ze || sa(x) ? Vn(x, H, J, re, We, Ve) : er(x, H, It, J, re, We, Ve);
34263
34286
  if (!(J & s)) {
34264
- var Qt = Ut && rt.call(x, "__wrapped__"), _t = ci && rt.call(V, "__wrapped__");
34287
+ var Qt = Ut && rt.call(x, "__wrapped__"), _t = ci && rt.call(H, "__wrapped__");
34265
34288
  if (Qt || _t) {
34266
- var Hn = Qt ? x.value() : x, hn = _t ? V.value() : V;
34289
+ var Hn = Qt ? x.value() : x, hn = _t ? H.value() : H;
34267
34290
  return Ve || (Ve = new wt()), We(Hn, hn, J, re, Ve);
34268
34291
  }
34269
34292
  }
34270
- return St ? (Ve || (Ve = new wt()), tr(x, V, J, re, We, Ve)) : !1;
34293
+ return St ? (Ve || (Ve = new wt()), tr(x, H, J, re, We, Ve)) : !1;
34271
34294
  }
34272
34295
  function $o(x) {
34273
34296
  if (!na(x) || Pt(x))
34274
34297
  return !1;
34275
- var V = ia(x) ? Xo : le;
34276
- return V.test(ti(x));
34298
+ var H = ia(x) ? Xo : le;
34299
+ return H.test(ti(x));
34277
34300
  }
34278
34301
  function $s(x) {
34279
34302
  return Xi(x) && nr(x.length) && !!ue[Oi(x)];
@@ -34281,23 +34304,23 @@ var cl = {}, b9 = {
34281
34304
  function bs(x) {
34282
34305
  if (!xt(x))
34283
34306
  return Gi(x);
34284
- var V = [];
34307
+ var H = [];
34285
34308
  for (var J in Object(x))
34286
- rt.call(x, J) && J != "constructor" && V.push(J);
34287
- return V;
34309
+ rt.call(x, J) && J != "constructor" && H.push(J);
34310
+ return H;
34288
34311
  }
34289
- function Vn(x, V, J, re, We, Ve) {
34290
- var Ze = J & s, $e = x.length, It = V.length;
34312
+ function Vn(x, H, J, re, We, Ve) {
34313
+ var Ze = J & s, $e = x.length, It = H.length;
34291
34314
  if ($e != It && !(Ze && It > $e))
34292
34315
  return !1;
34293
34316
  var it = Ve.get(x);
34294
- if (it && Ve.get(V))
34295
- return it == V;
34317
+ if (it && Ve.get(H))
34318
+ return it == H;
34296
34319
  var Ut = -1, ci = !0, St = J & o ? new Jt() : void 0;
34297
- for (Ve.set(x, V), Ve.set(V, x); ++Ut < $e; ) {
34298
- var Qt = x[Ut], _t = V[Ut];
34320
+ for (Ve.set(x, H), Ve.set(H, x); ++Ut < $e; ) {
34321
+ var Qt = x[Ut], _t = H[Ut];
34299
34322
  if (re)
34300
- var Hn = Ze ? re(_t, Qt, Ut, V, x, Ve) : re(Qt, _t, Ut, x, V, Ve);
34323
+ var Hn = Ze ? re(_t, Qt, Ut, H, x, Ve) : re(Qt, _t, Ut, x, H, Ve);
34301
34324
  if (Hn !== void 0) {
34302
34325
  if (Hn)
34303
34326
  continue;
@@ -34305,7 +34328,7 @@ var cl = {}, b9 = {
34305
34328
  break;
34306
34329
  }
34307
34330
  if (St) {
34308
- if (!ze(V, function(hn, ys) {
34331
+ if (!ze(H, function(hn, ys) {
34309
34332
  if (!at(St, ys) && (Qt === hn || We(Qt, hn, J, re, Ve)))
34310
34333
  return St.push(ys);
34311
34334
  })) {
@@ -34317,62 +34340,62 @@ var cl = {}, b9 = {
34317
34340
  break;
34318
34341
  }
34319
34342
  }
34320
- return Ve.delete(x), Ve.delete(V), ci;
34343
+ return Ve.delete(x), Ve.delete(H), ci;
34321
34344
  }
34322
- function er(x, V, J, re, We, Ve, Ze) {
34345
+ function er(x, H, J, re, We, Ve, Ze) {
34323
34346
  switch (J) {
34324
34347
  case I:
34325
- if (x.byteLength != V.byteLength || x.byteOffset != V.byteOffset)
34348
+ if (x.byteLength != H.byteLength || x.byteOffset != H.byteOffset)
34326
34349
  return !1;
34327
- x = x.buffer, V = V.buffer;
34350
+ x = x.buffer, H = H.buffer;
34328
34351
  case C:
34329
- return !(x.byteLength != V.byteLength || !Ve(new Us(x), new Us(V)));
34352
+ return !(x.byteLength != H.byteLength || !Ve(new Us(x), new Us(H)));
34330
34353
  case h:
34331
34354
  case u:
34332
34355
  case v:
34333
- return ea(+x, +V);
34356
+ return ea(+x, +H);
34334
34357
  case f:
34335
- return x.name == V.name && x.message == V.message;
34358
+ return x.name == H.name && x.message == H.message;
34336
34359
  case L:
34337
34360
  case j:
34338
- return x == V + "";
34361
+ return x == H + "";
34339
34362
  case g:
34340
34363
  var $e = Ke;
34341
34364
  case D:
34342
34365
  var It = re & s;
34343
- if ($e || ($e = ot), x.size != V.size && !It)
34366
+ if ($e || ($e = ot), x.size != H.size && !It)
34344
34367
  return !1;
34345
34368
  var it = Ze.get(x);
34346
34369
  if (it)
34347
- return it == V;
34348
- re |= o, Ze.set(x, V);
34349
- var Ut = Vn($e(x), $e(V), re, We, Ve, Ze);
34370
+ return it == H;
34371
+ re |= o, Ze.set(x, H);
34372
+ var Ut = Vn($e(x), $e(H), re, We, Ve, Ze);
34350
34373
  return Ze.delete(x), Ut;
34351
34374
  case z:
34352
34375
  if (on)
34353
- return on.call(x) == on.call(V);
34376
+ return on.call(x) == on.call(H);
34354
34377
  }
34355
34378
  return !1;
34356
34379
  }
34357
- function tr(x, V, J, re, We, Ve) {
34358
- var Ze = J & s, $e = O(x), It = $e.length, it = O(V), Ut = it.length;
34380
+ function tr(x, H, J, re, We, Ve) {
34381
+ var Ze = J & s, $e = O(x), It = $e.length, it = O(H), Ut = it.length;
34359
34382
  if (It != Ut && !Ze)
34360
34383
  return !1;
34361
34384
  for (var ci = It; ci--; ) {
34362
34385
  var St = $e[ci];
34363
- if (!(Ze ? St in V : rt.call(V, St)))
34386
+ if (!(Ze ? St in H : rt.call(H, St)))
34364
34387
  return !1;
34365
34388
  }
34366
34389
  var Qt = Ve.get(x);
34367
- if (Qt && Ve.get(V))
34368
- return Qt == V;
34390
+ if (Qt && Ve.get(H))
34391
+ return Qt == H;
34369
34392
  var _t = !0;
34370
- Ve.set(x, V), Ve.set(V, x);
34393
+ Ve.set(x, H), Ve.set(H, x);
34371
34394
  for (var Hn = Ze; ++ci < It; ) {
34372
34395
  St = $e[ci];
34373
- var hn = x[St], ys = V[St];
34396
+ var hn = x[St], ys = H[St];
34374
34397
  if (re)
34375
- var Vu = Ze ? re(ys, hn, St, V, x, Ve) : re(hn, ys, St, x, V, Ve);
34398
+ var Vu = Ze ? re(ys, hn, St, H, x, Ve) : re(hn, ys, St, x, H, Ve);
34376
34399
  if (!(Vu === void 0 ? hn === ys || We(hn, ys, J, re, Ve) : Vu)) {
34377
34400
  _t = !1;
34378
34401
  break;
@@ -34380,39 +34403,39 @@ var cl = {}, b9 = {
34380
34403
  Hn || (Hn = St == "constructor");
34381
34404
  }
34382
34405
  if (_t && !Hn) {
34383
- var oa = x.constructor, ra = V.constructor;
34384
- oa != ra && "constructor" in x && "constructor" in V && !(typeof oa == "function" && oa instanceof oa && typeof ra == "function" && ra instanceof ra) && (_t = !1);
34406
+ var oa = x.constructor, ra = H.constructor;
34407
+ oa != ra && "constructor" in x && "constructor" in H && !(typeof oa == "function" && oa instanceof oa && typeof ra == "function" && ra instanceof ra) && (_t = !1);
34385
34408
  }
34386
- return Ve.delete(x), Ve.delete(V), _t;
34409
+ return Ve.delete(x), Ve.delete(H), _t;
34387
34410
  }
34388
34411
  function O(x) {
34389
34412
  return ln(x, sr, be);
34390
34413
  }
34391
- function G(x, V) {
34414
+ function G(x, H) {
34392
34415
  var J = x.__data__;
34393
- return bt(V) ? J[typeof V == "string" ? "string" : "hash"] : J.map;
34416
+ return bt(H) ? J[typeof H == "string" ? "string" : "hash"] : J.map;
34394
34417
  }
34395
- function Z(x, V) {
34396
- var J = Je(x, V);
34418
+ function Z(x, H) {
34419
+ var J = Je(x, H);
34397
34420
  return $o(J) ? J : void 0;
34398
34421
  }
34399
34422
  function ne(x) {
34400
- var V = rt.call(x, gi), J = x[gi];
34423
+ var H = rt.call(x, gi), J = x[gi];
34401
34424
  try {
34402
34425
  x[gi] = void 0;
34403
34426
  var re = !0;
34404
34427
  } catch (Ve) {
34405
34428
  }
34406
34429
  var We = Gt.call(x);
34407
- return re && (V ? x[gi] = J : delete x[gi]), We;
34430
+ return re && (H ? x[gi] = J : delete x[gi]), We;
34408
34431
  }
34409
34432
  var be = Dn ? function(x) {
34410
- return x == null ? [] : (x = Object(x), de(Dn(x), function(V) {
34411
- return Sn.call(x, V);
34433
+ return x == null ? [] : (x = Object(x), de(Dn(x), function(H) {
34434
+ return Sn.call(x, H);
34412
34435
  }));
34413
34436
  } : Fl, Oe = Oi;
34414
34437
  (nn && Oe(new nn(new ArrayBuffer(1))) != I || sn && Oe(new sn()) != g || gs && Oe(gs.resolve()) != M || ms && Oe(new ms()) != D || Ln && Oe(new Ln()) != b) && (Oe = function(x) {
34415
- var V = Oi(x), J = V == w ? x.constructor : void 0, re = J ? ti(J) : "";
34438
+ var H = Oi(x), J = H == w ? x.constructor : void 0, re = J ? ti(J) : "";
34416
34439
  if (re)
34417
34440
  switch (re) {
34418
34441
  case Qs:
@@ -34426,20 +34449,20 @@ var cl = {}, b9 = {
34426
34449
  case Zo:
34427
34450
  return b;
34428
34451
  }
34429
- return V;
34452
+ return H;
34430
34453
  });
34431
- function Qe(x, V) {
34432
- return V = V == null ? r : V, !!V && (typeof x == "number" || Se.test(x)) && x > -1 && x % 1 == 0 && x < V;
34454
+ function Qe(x, H) {
34455
+ return H = H == null ? r : H, !!H && (typeof x == "number" || Se.test(x)) && x > -1 && x % 1 == 0 && x < H;
34433
34456
  }
34434
34457
  function bt(x) {
34435
- var V = typeof x;
34436
- return V == "string" || V == "number" || V == "symbol" || V == "boolean" ? x !== "__proto__" : x === null;
34458
+ var H = typeof x;
34459
+ return H == "string" || H == "number" || H == "symbol" || H == "boolean" ? x !== "__proto__" : x === null;
34437
34460
  }
34438
34461
  function Pt(x) {
34439
34462
  return !!Nt && Nt in x;
34440
34463
  }
34441
34464
  function xt(x) {
34442
- var V = x && x.constructor, J = typeof V == "function" && V.prototype || Ft;
34465
+ var H = x && x.constructor, J = typeof H == "function" && H.prototype || Ft;
34443
34466
  return x === J;
34444
34467
  }
34445
34468
  function ei(x) {
@@ -34449,17 +34472,17 @@ var cl = {}, b9 = {
34449
34472
  if (x != null) {
34450
34473
  try {
34451
34474
  return pi.call(x);
34452
- } catch (V) {
34475
+ } catch (H) {
34453
34476
  }
34454
34477
  try {
34455
34478
  return x + "";
34456
- } catch (V) {
34479
+ } catch (H) {
34457
34480
  }
34458
34481
  }
34459
34482
  return "";
34460
34483
  }
34461
- function ea(x, V) {
34462
- return x === V || x !== x && V !== V;
34484
+ function ea(x, H) {
34485
+ return x === H || x !== x && H !== H;
34463
34486
  }
34464
34487
  var ta = Bn(function() {
34465
34488
  return arguments;
@@ -34470,21 +34493,21 @@ var cl = {}, b9 = {
34470
34493
  return x != null && nr(x.length) && !ia(x);
34471
34494
  }
34472
34495
  var to = Tn || Nl;
34473
- function Hl(x, V) {
34474
- return cn(x, V);
34496
+ function Hl(x, H) {
34497
+ return cn(x, H);
34475
34498
  }
34476
34499
  function ia(x) {
34477
34500
  if (!na(x))
34478
34501
  return !1;
34479
- var V = Oi(x);
34480
- return V == m || V == p || V == c || V == k;
34502
+ var H = Oi(x);
34503
+ return H == m || H == p || H == c || H == k;
34481
34504
  }
34482
34505
  function nr(x) {
34483
34506
  return typeof x == "number" && x > -1 && x % 1 == 0 && x <= r;
34484
34507
  }
34485
34508
  function na(x) {
34486
- var V = typeof x;
34487
- return x != null && (V == "object" || V == "function");
34509
+ var H = typeof x;
34510
+ return x != null && (H == "object" || H == "function");
34488
34511
  }
34489
34512
  function Xi(x) {
34490
34513
  return x != null && typeof x == "object";
@@ -37540,7 +37563,7 @@ function pM(n, t, e) {
37540
37563
  e(
37541
37564
  5,
37542
37565
  f.onplay = (v) => {
37543
- h.emit("playStateChange", H({
37566
+ h.emit("playStateChange", V({
37544
37567
  event: v,
37545
37568
  state: "playing",
37546
37569
  mediaInstance: f
@@ -37550,7 +37573,7 @@ function pM(n, t, e) {
37550
37573
  ), e(
37551
37574
  5,
37552
37575
  f.onpause = (v) => {
37553
- h.emit("playStateChange", H({
37576
+ h.emit("playStateChange", V({
37554
37577
  event: v,
37555
37578
  state: "paused",
37556
37579
  mediaInstance: f
@@ -37560,7 +37583,7 @@ function pM(n, t, e) {
37560
37583
  ), e(
37561
37584
  5,
37562
37585
  f.onended = (v) => {
37563
- h.emit("playStateChange", H({
37586
+ h.emit("playStateChange", V({
37564
37587
  event: v,
37565
37588
  state: "paused",
37566
37589
  mediaInstance: f
@@ -37591,11 +37614,11 @@ function pM(n, t, e) {
37591
37614
  v !== f && (m || f == null || f.pause());
37592
37615
  });
37593
37616
  function g(v) {
37594
- f && (h.emit("click", H({
37617
+ f && (h.emit("click", V({
37595
37618
  event: v,
37596
37619
  target: "AudioTagPlayIcon",
37597
37620
  audioInstance: f
37598
- }, l)), u.set({ currentMediaElement: f }), h.emit("playStateChange", H({
37621
+ }, l)), u.set({ currentMediaElement: f }), h.emit("playStateChange", V({
37599
37622
  event: v,
37600
37623
  state: f.paused ? "playing" : "paused",
37601
37624
  mediaInstance: f
@@ -38626,7 +38649,7 @@ function BM(n) {
38626
38649
  const r = rv(t);
38627
38650
  return vc.set(t, r), r;
38628
38651
  })(), { width: s, height: o } = yield i;
38629
- return ce(H({}, n), {
38652
+ return ce(V({}, n), {
38630
38653
  width: s / e,
38631
38654
  height: o / e
38632
38655
  });
@@ -38638,7 +38661,7 @@ function VM(n) {
38638
38661
  if (!t)
38639
38662
  throw new Error("KeyframeIcon requires steps");
38640
38663
  const { width: o, height: r } = yield rv(e), a = o / i, l = r / i, c = a / t, h = l, u = 1 / s * t + "s";
38641
- return ce(H({}, n), {
38664
+ return ce(V({}, n), {
38642
38665
  width: c,
38643
38666
  height: h,
38644
38667
  duration: u
@@ -39084,7 +39107,7 @@ function ZM(n) {
39084
39107
  }
39085
39108
  function go(n) {
39086
39109
  const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, o = (s != null ? s : t) * i, r = typeof e == "number" ? o * (e / t) : void 0;
39087
- return ce(H({}, n), { width: o, height: r });
39110
+ return ce(V({}, n), { width: o, height: r });
39088
39111
  }
39089
39112
  function qM(n, t, e) {
39090
39113
  let i, s, o, r, a, l, c, h, u, f, m, { width: p = null } = t, { icon: g = null } = t, { shadow: v = !1 } = t;
@@ -39098,7 +39121,7 @@ function qM(n, t, e) {
39098
39121
  function M(L) {
39099
39122
  return ie(this, null, function* () {
39100
39123
  if (typeof m == "number")
39101
- return ce(H({}, L), { width: m });
39124
+ return ce(V({}, L), { width: m });
39102
39125
  const D = yield BM(L);
39103
39126
  return A("iconLoaded", D), D;
39104
39127
  });
@@ -39430,7 +39453,7 @@ function n7(n) {
39430
39453
  }
39431
39454
  function s7(n) {
39432
39455
  const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, o = (s != null ? s : t) * i, r = typeof e == "number" ? o * (e / t) : void 0;
39433
- return ce(H({}, n), { width: o, height: r });
39456
+ return ce(V({}, n), { width: o, height: r });
39434
39457
  }
39435
39458
  function o7(n, t, e) {
39436
39459
  let i, s, o, r, a, { width: l = null } = t, { icon: c = null } = t, { shadow: h = !1 } = t;
@@ -40281,7 +40304,7 @@ class lv extends vu {
40281
40304
  c.classList.add("tag-media-container");
40282
40305
  const h = "black";
40283
40306
  c.style.backgroundColor = h, c.style.border = `3px solid ${h}`;
40284
- const u = H({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), f = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", m = new W1(ce(H({}, u), { mode: f })), p = this.computeNormal();
40307
+ const u = V({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), f = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", m = new W1(ce(V({}, u), { mode: f })), p = this.computeNormal();
40285
40308
  m.position.add(p.clone().setLength(qr.Z_FIGHTING_OFFSET)), s.add(m);
40286
40309
  let g;
40287
40310
  m.mode === "behind" && this.config.clickable !== !1 && (g = this.addObjectClickHandler(this, m, (A) => {
@@ -40362,7 +40385,7 @@ class T7 extends vu {
40362
40385
  (a = (r = this.tag3DContentSvelte) == null ? void 0 : r.dispose) == null || a.call(r);
40363
40386
  const c = document.createElement("div");
40364
40387
  c.classList.add("tag-media-container");
40365
- const h = H({ mode: "front", cornerPoints: l, container: c }, this.config.tag3DConfig), u = this.computeRenderType() === "BehindDom" || h.mode === "behind" ? "behind" : "front", f = new W1(ce(H({}, h), { mode: u })), m = this.computeNormal();
40388
+ const h = V({ mode: "front", cornerPoints: l, container: c }, this.config.tag3DConfig), u = this.computeRenderType() === "BehindDom" || h.mode === "behind" ? "behind" : "front", f = new W1(ce(V({}, h), { mode: u })), m = this.computeNormal();
40366
40389
  f.position.add(m.clone().setLength(qr.Z_FIGHTING_OFFSET)), this.plugin.group.add(f);
40367
40390
  let p;
40368
40391
  f.mode === "behind" && this.config.clickable !== !1 && (p = this.addObjectClickHandler(this, f, (v) => {
@@ -44418,7 +44441,7 @@ class ah extends T8 {
44418
44441
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
44419
44442
  this.TagContainerSvelte = new i6({
44420
44443
  target: this.container,
44421
- props: ce(H({}, a), { state: ce(H({}, this.state), { enabled: !1 }) })
44444
+ props: ce(V({}, a), { state: ce(V({}, this.state), { enabled: !1 }) })
44422
44445
  }), Xr(() => {
44423
44446
  var l;
44424
44447
  (l = this.TagContainerSvelte) == null || l.$set({ state: this.state });
@@ -44427,7 +44450,7 @@ class ah extends T8 {
44427
44450
  }
44428
44451
  }), this.renderQueue.clear();
44429
44452
  });
44430
- this.params = et({}, { debug: !1, config: this.config }, H({}, i)), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), b8(1, { namespace: mu.PlayAudio });
44453
+ this.params = et({}, { debug: !1, config: this.config }, V({}, i)), this.debug = this.params.debug, this.config = this.params.config, this.debug && this.debugUtil.bindLog(), b8(1, { namespace: mu.PlayAudio });
44431
44454
  try {
44432
44455
  Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), this.NAME = hv + "-" + window.__PANOTAGPLUGIN_DEBUG_LIST__.length, window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
44433
44456
  get: function() {
@@ -44557,7 +44580,7 @@ class ah extends T8 {
44557
44580
  setState(e, i) {
44558
44581
  if (this.checkDisposed())
44559
44582
  return;
44560
- const { userAction: s = !0 } = i != null ? i : {}, o = H({}, this.state);
44583
+ const { userAction: s = !0 } = i != null ? i : {}, o = V({}, this.state);
44561
44584
  this.state = Object.assign(this.state, e), o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: s });
44562
44585
  }
44563
44586
  /**
@@ -45096,7 +45119,7 @@ function l6(n, t, e) {
45096
45119
  }), i.push(l);
45097
45120
  });
45098
45121
  const s = t.transform, o = i.map((r) => Eo(new P.Vector3().fromArray(r), s).toArray());
45099
- return [ce(H({}, e), { type: "CatmullRomCurve3", points: o })];
45122
+ return [ce(V({}, e), { type: "CatmullRomCurve3", points: o })];
45100
45123
  }
45101
45124
  const c6 = (
45102
45125
  /* glsl */
@@ -45404,7 +45427,7 @@ class lh {
45404
45427
  unitLength: o * i,
45405
45428
  skipPositions: this.skippedPositions
45406
45429
  });
45407
- this._curvePath = l, this._curvePoints = c, this.mesh.geometry.copy(r), this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxV.value = a, this.five.needsRender = !0, this.path = t, this.geometryStyle = H(H({}, this.geometryStyle), e);
45430
+ this._curvePath = l, this._curvePoints = c, this.mesh.geometry.copy(r), this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxV.value = a, this.five.needsRender = !0, this.path = t, this.geometryStyle = V(V({}, this.geometryStyle), e);
45408
45431
  }
45409
45432
  /** 设置线条材质 */
45410
45433
  setMartial(t) {
@@ -45412,7 +45435,7 @@ class lh {
45412
45435
  if (this.disposed)
45413
45436
  return this.logError("disposed");
45414
45437
  this.setDefaultVisible((i = t == null ? void 0 : t.visible) != null ? i : !1), this.setColor((s = t == null ? void 0 : t.color) != null ? s : "#ffffff"), this.setOpacity((o = t == null ? void 0 : t.opacity) != null ? o : 0.5), this.setTextureUrl((a = (r = t == null ? void 0 : t.texture) == null ? void 0 : r.url) != null ? a : Pl), (t == null ? void 0 : t.background_color) !== void 0 && this.setBackgroundColor(t.background_color), (t == null ? void 0 : t.background_opacity) !== void 0 && this.setBackgroundOpacity(t.background_opacity), (t == null ? void 0 : t.border_color) !== void 0 && this.setBorderColor(t.border_color), (t == null ? void 0 : t.border_opacity) !== void 0 && this.setBorderOpacity(t.border_opacity), (t == null ? void 0 : t.border_width) !== void 0 && this.setBorderWidth(t.border_width), (t == null ? void 0 : t.background_clip) !== void 0 && this.setBackgroundClip(t.background_clip);
45415
- const e = H(H({}, this.materialStyle), t);
45438
+ const e = V(V({}, this.materialStyle), t);
45416
45439
  this.materialStyle = e;
45417
45440
  }
45418
45441
  /** 设置模型状态 */
@@ -45421,7 +45444,7 @@ class lh {
45421
45444
  const s = new P.Vector3(), o = new P.Vector3().fromArray(t.translate);
45422
45445
  o.y += this.heightOffset, s.add(o), this.group.position.copy(s), i(this.startTagContainer, o), i(this.endTagContainer, o);
45423
45446
  }
45424
- const e = H(H({}, this.meshStyle), t);
45447
+ const e = V(V({}, this.meshStyle), t);
45425
45448
  this.meshStyle = e;
45426
45449
  function i(s, o) {
45427
45450
  if (!(s != null && s.tag))
@@ -45562,7 +45585,7 @@ class lh {
45562
45585
  s.tag = r, u6(r) && (s.tag.element = (h) => {
45563
45586
  var m, p;
45564
45587
  (m = s.app) == null || m.$destroy();
45565
- const u = t === "start" ? ce(H({}, r.data), { name: this.name, distance: Math.round((p = i == null ? void 0 : i.getLength()) != null ? p : 0), i18n: this.plugin.config.i18n }) : r.data, f = new r6({ target: h, intro: !0, props: H({ fontSize: this.currentFontSize }, u) });
45588
+ const u = t === "start" ? ce(V({}, r.data), { name: this.name, distance: Math.round((p = i == null ? void 0 : i.getLength()) != null ? p : 0), i18n: this.plugin.config.i18n }) : r.data, f = new r6({ target: h, intro: !0, props: V({ fontSize: this.currentFontSize }, u) });
45566
45589
  return s.app = f, () => f.$destroy();
45567
45590
  }), s.plugin.load({ tagList: [s.tag] });
45568
45591
  const a = this.meshStyle.translate;
@@ -45674,7 +45697,7 @@ class dv extends us {
45674
45697
  return this.disposedErrorLog();
45675
45698
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
45676
45699
  return this.disableErrorLog();
45677
- const s = H({}, this.state);
45700
+ const s = V({}, this.state);
45678
45701
  this.state = et({}, 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), qt(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 });
45679
45702
  }
45680
45703
  /**
@@ -45781,7 +45804,7 @@ let fv = class extends dv {
45781
45804
  this.state.speed = e, this.hooks.emit("speedChange", e, { userAction: i });
45782
45805
  });
45783
45806
  d(this, "moveToStart", () => {
45784
- this.five.setState(ce(H({}, bc(this.curve, 0, this.curveOffset)), { mode: "Model" }));
45807
+ this.five.setState(ce(V({}, bc(this.curve, 0, this.curveOffset)), { mode: "Model" }));
45785
45808
  });
45786
45809
  d(this, "playFromStart", () => {
45787
45810
  this.clearPauseData(), this.setState({ playing: !0 });
@@ -45809,7 +45832,7 @@ let fv = class extends dv {
45809
45832
  }
45810
45833
  load(e, i) {
45811
45834
  var a, l, c, h, u, f, m, p, g;
45812
- this.handlePause(), this.clear(), this.data = H({ id: Dt() }, e);
45835
+ this.handlePause(), this.clear(), this.data = V({ id: Dt() }, e);
45813
45836
  const s = (() => {
45814
45837
  if (this.data.path instanceof P.Curve)
45815
45838
  return this.data.path.curves[0];
@@ -45851,7 +45874,7 @@ let fv = class extends dv {
45851
45874
  let o = (l = s == null ? void 0 : s.playedProgress) != null ? l : 0;
45852
45875
  (o < 0 || o >= 1) && (o = 0);
45853
45876
  const r = bc(this.curve, o, this.curveOffset);
45854
- if (this.hooks.emit("progressChange", o), this.five.setState(ce(H({}, r), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
45877
+ if (this.hooks.emit("progressChange", o), this.five.setState(ce(V({}, r), { mode: "Model" })), yield this.five.ready(), this.playStartedTime = performance.now(), this.config.allowBroke) {
45855
45878
  const c = this.addInterruptListener(() => {
45856
45879
  this.state.playing && (this.hooks.emit("broke"), this.handlePause(), c(), i(new Error("broke")));
45857
45880
  });
@@ -45952,7 +45975,7 @@ class xu extends dv {
45952
45975
  var h, u;
45953
45976
  this.clear();
45954
45977
  const o = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
45955
- this.data = H({ id: r.keyframesId }, r), this.hooks.emit("dataChange", r, o);
45978
+ this.data = V({ id: r.keyframesId }, r), this.hooks.emit("dataChange", r, o);
45956
45979
  let a = [], l;
45957
45980
  const c = this.data.keyframes.filter((f) => f.data.panoIndex !== void 0);
45958
45981
  c.filter((f, m) => {
@@ -45986,7 +46009,7 @@ class xu extends dv {
45986
46009
  * @description Play from first keyframe
45987
46010
  */
45988
46011
  playFromStart(e) {
45989
- return this.playFrom(ce(H({}, e), { index: 0 }));
46012
+ return this.playFrom(ce(V({}, e), { index: 0 }));
45990
46013
  }
45991
46014
  /**
45992
46015
  * @description Format data
@@ -46004,7 +46027,7 @@ class xu extends dv {
46004
46027
  keyframes: i.keyframes.map((s, o) => {
46005
46028
  var l;
46006
46029
  const r = i.keyframes[o + 1], a = (() => !r || r.start === void 0 || s.end === void 0 ? 0 : r.start - s.end)();
46007
- return ce(H({ id: (l = s.uuid) != null ? l : Dt(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
46030
+ return ce(V({ id: (l = s.uuid) != null ? l : Dt(), moveIndex: o, stay: a, index: o }, s), { guildPluginOptions: i.guildPluginOptions });
46008
46031
  })
46009
46032
  };
46010
46033
  if (i.panoIndexList) {
@@ -46025,11 +46048,11 @@ class xu extends dv {
46025
46048
  i.moveType === void 0 || i.moveType === "justMove" ? s.push({
46026
46049
  moveIndex: c,
46027
46050
  stay: i.stay,
46028
- data: H({ effect: "Move", panoIndex: l, moveEffect: o }, h != null ? h : {})
46029
- }) : 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: H({ effect: "Rotate", panoIndex: l }, h) }));
46051
+ data: V({ effect: "Move", panoIndex: l, moveEffect: o }, h != null ? h : {})
46052
+ }) : 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: V({ effect: "Rotate", panoIndex: l }, h) }));
46030
46053
  }), {
46031
46054
  keyframesId: Dt(),
46032
- keyframes: s.map((l, c) => H({ id: Dt(), index: c }, l)),
46055
+ keyframes: s.map((l, c) => V({ id: Dt(), index: c }, l)),
46033
46056
  guildPluginOptions: i.guildPluginOptions,
46034
46057
  useGuildLine: i.useGuildLine
46035
46058
  };
@@ -46332,9 +46355,9 @@ class gv {
46332
46355
  const i = t === "panorama" ? this.panoramaItem : this.modelItem, s = t === "panorama" ? e.panorama_style : e.model_style, o = e.path, r = s, a = s, l = s;
46333
46356
  if (e.pano_group) {
46334
46357
  const h = t === "panorama" && e.panorama_style.skip_group === !0;
46335
- i.setGeometryByPanoGroup(e.pano_group, H(ce(H({}, e), { skipPanoGroup: h }), r));
46358
+ i.setGeometryByPanoGroup(e.pano_group, V(ce(V({}, e), { skipPanoGroup: h }), r));
46336
46359
  } else
46337
- e.path && i.setGeometryByPath(o, H({}, r));
46360
+ e.path && i.setGeometryByPath(o, V({}, r));
46338
46361
  i.name = e.name, i.setMeshStyle(l), i.setMartial(a), i.setVisibleFloorIndexes((c = e.visible_floor_indexes) != null ? c : null), i.setStartTag(s == null ? void 0 : s.start_tag), i.setEndTag(s == null ? void 0 : s.end_tag);
46339
46362
  }
46340
46363
  show() {
@@ -46349,7 +46372,7 @@ class gv {
46349
46372
  walk(t) {
46350
46373
  return ie(this, null, function* () {
46351
46374
  if (this.hooks.emit("walkStart", { userAction: !0 }), this.panoramaItem.panoGroup.length) {
46352
- const e = H({ panoIndexList: this.panoramaItem.panoGroup }, t), [i] = yield js(m6(this.five, e));
46375
+ const e = V({ panoIndexList: this.panoramaItem.panoGroup }, t), [i] = yield js(m6(this.five, e));
46353
46376
  if (i)
46354
46377
  return this.logError(i.message);
46355
46378
  } else {
@@ -46438,7 +46461,7 @@ let v6 = class extends kn {
46438
46461
  var p, g, v, A, w, M, k;
46439
46462
  const o = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
46440
46463
  this.hooks.emit("dataChange", r, o), this.data = r;
46441
- const a = r.config, l = !r.lines && r.routes, c = (p = a == null ? void 0 : a.arrowTextureUrl) != null ? p : Kn(this.staticPrefix, Rh), h = ce(H({}, a), {
46464
+ const a = r.config, l = !r.lines && r.routes, c = (p = a == null ? void 0 : a.arrowTextureUrl) != null ? p : Kn(this.staticPrefix, Rh), h = ce(V({}, a), {
46442
46465
  model_style: {
46443
46466
  texture: { url: c }
46444
46467
  },
@@ -46490,8 +46513,8 @@ let v6 = class extends kn {
46490
46513
  var o;
46491
46514
  if (this.disposed)
46492
46515
  return this.disposedErrorLog();
46493
- const s = H({}, this.state);
46494
- this.state = H(H({}, 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), qt(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);
46516
+ const s = V({}, this.state);
46517
+ this.state = V(V({}, 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), qt(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);
46495
46518
  }
46496
46519
  /** 添加一个 GuideLineItem */
46497
46520
  addGuideLineItem(e) {
@@ -46502,19 +46525,19 @@ let v6 = class extends kn {
46502
46525
  }
46503
46526
  processItemUrls(e) {
46504
46527
  var o, r, a, l;
46505
- const i = H({}, e), s = Pl;
46528
+ const i = V({}, e), s = Pl;
46506
46529
  if (i.panorama_style) {
46507
46530
  const c = (r = (o = i.panorama_style.texture) == null ? void 0 : o.url) != null ? r : s;
46508
- i.panorama_style = ce(H({}, i.panorama_style), {
46509
- texture: ce(H({}, i.panorama_style.texture), {
46531
+ i.panorama_style = ce(V({}, i.panorama_style), {
46532
+ texture: ce(V({}, i.panorama_style.texture), {
46510
46533
  url: Kn(this.staticPrefix, c)
46511
46534
  })
46512
46535
  });
46513
46536
  }
46514
46537
  if (i.model_style) {
46515
46538
  const c = (l = (a = i.model_style.texture) == null ? void 0 : a.url) != null ? l : s;
46516
- i.model_style = ce(H({}, i.model_style), {
46517
- texture: ce(H({}, i.model_style.texture), {
46539
+ i.model_style = ce(V({}, i.model_style), {
46540
+ texture: ce(V({}, i.model_style.texture), {
46518
46541
  url: Kn(this.staticPrefix, c)
46519
46542
  })
46520
46543
  });
@@ -46801,7 +46824,7 @@ function D6(n, t) {
46801
46824
  return n;
46802
46825
  }
46803
46826
  function T6(n) {
46804
- const t = Ls(H({
46827
+ const t = Ls(V({
46805
46828
  position: "absolute",
46806
46829
  display: "block",
46807
46830
  borderRadius: "4px",
@@ -46987,7 +47010,7 @@ function R6() {
46987
47010
  ] };
46988
47011
  }
46989
47012
  function Wn(n) {
46990
- const t = Ls(H({
47013
+ const t = Ls(V({
46991
47014
  background: "#FFFFFF",
46992
47015
  width: "9px",
46993
47016
  height: "9px",
@@ -47653,11 +47676,11 @@ class Q6 {
47653
47676
  return G6();
47654
47677
  if (!this.state.enabled && t.enabled !== !0 && t.disposed !== !0)
47655
47678
  return U6();
47656
- const i = H({}, this.state);
47657
- this.state = H(H({}, this.state), t), t.disposed !== void 0 && t.disposed !== i.disposed && t.disposed && this.handleDispose(), t.visible !== void 0 && this.handleVisible(t.visible), t.enabled !== void 0 && this.handleEnable(t.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: i });
47679
+ const i = V({}, this.state);
47680
+ this.state = V(V({}, this.state), t), t.disposed !== void 0 && t.disposed !== i.disposed && t.disposed && this.handleDispose(), t.visible !== void 0 && this.handleVisible(t.visible), t.enabled !== void 0 && this.handleEnable(t.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: i });
47658
47681
  }
47659
47682
  addControllers(t) {
47660
- this.controllers = H(H({}, this.controllers), t), this.setState(this.state);
47683
+ this.controllers = V(V({}, this.controllers), t), this.setState(this.state);
47661
47684
  }
47662
47685
  /**
47663
47686
  * @description 初始化 helpers 的位置
@@ -48324,8 +48347,8 @@ class vv extends us {
48324
48347
  return ex();
48325
48348
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
48326
48349
  return ix();
48327
- const s = H({}, this.state);
48328
- this.state = H(H({}, 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), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: s });
48350
+ const s = V({}, this.state);
48351
+ this.state = V(V({}, 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), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: s });
48329
48352
  }
48330
48353
  getObject3DHelper(e) {
48331
48354
  return this.objectHelperMap.get(e);
@@ -48347,7 +48370,7 @@ class vv extends us {
48347
48370
  console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
48348
48371
  return;
48349
48372
  }
48350
- const s = new Q6(), o = [], r = (w = this.five.getElement()) == null ? void 0 : w.parentElement, a = this.five.camera, c = H(H({}, {
48373
+ const s = new Q6(), o = [], r = (w = this.five.getElement()) == null ? void 0 : w.parentElement, a = this.five.camera, c = V(V({}, {
48351
48374
  moveHelper: !0,
48352
48375
  rotateHelper: !0,
48353
48376
  scaleHelper: !0,
@@ -48358,7 +48381,7 @@ class vv extends us {
48358
48381
  return typeof M == "boolean" ? M : M.enable;
48359
48382
  };
48360
48383
  if (A(h)) {
48361
- const M = H(H({}, this.getConfig(c.moveHelper)), c), k = new S6(e, H({}, M)), L = new ur(
48384
+ const M = V(V({}, this.getConfig(c.moveHelper)), c), k = new S6(e, V({}, M)), L = new ur(
48362
48385
  this.five,
48363
48386
  v,
48364
48387
  H6,
@@ -48371,7 +48394,7 @@ class vv extends us {
48371
48394
  s.addControllers({ moveController: L.helperController }), o.push(() => L.dispose());
48372
48395
  }
48373
48396
  if (A(u)) {
48374
- const M = H(H({}, this.getConfig(c.rotateHelper)), c), k = new L6(e, H({ container: r }, M)), L = new ur(
48397
+ const M = V(V({}, this.getConfig(c.rotateHelper)), c), k = new L6(e, V({ container: r }, M)), L = new ur(
48375
48398
  this.five,
48376
48399
  v,
48377
48400
  X6,
@@ -48420,7 +48443,7 @@ class vv extends us {
48420
48443
  e.isCSS3DObject && (this.css3DObjectModeMap.set(e, e.mode), e.mode = "behind");
48421
48444
  });
48422
48445
  } else {
48423
- const M = H(H({}, this.getConfig(c.scaleHelper)), c), k = new J6(e, M), L = new ur(
48446
+ const M = V(V({}, this.getConfig(c.scaleHelper)), c), k = new J6(e, M), L = new ur(
48424
48447
  this.five,
48425
48448
  v,
48426
48449
  $6,
@@ -48813,7 +48836,7 @@ class rx extends us {
48813
48836
  o.video_list.forEach((l) => {
48814
48837
  this.controllerMap.set(
48815
48838
  l.render_id,
48816
- new dm(this.five, ce(H({}, l), {
48839
+ new dm(this.five, ce(V({}, l), {
48817
48840
  fiveUtil: this.fiveUtil,
48818
48841
  panoIndex: r,
48819
48842
  renderID: a,
@@ -48892,7 +48915,7 @@ class rx extends us {
48892
48915
  const o = s.render_id;
48893
48916
  this.controllerMap.set(
48894
48917
  s.render_id,
48895
- new dm(this.five, ce(H({}, s), {
48918
+ new dm(this.five, ce(V({}, s), {
48896
48919
  fiveUtil: this.fiveUtil,
48897
48920
  panoIndex: e,
48898
48921
  renderID: o,
@@ -49090,7 +49113,7 @@ class mo extends P.Mesh {
49090
49113
  d(this, "opacityAnime");
49091
49114
  /** u / m: 每米水管对应到贴图上,应该对应的 u 的长度 */
49092
49115
  d(this, "uPreMeter", 1);
49093
- e.geometryConfig && (this.geometryConfig = H(H({}, this.geometryConfig), e.geometryConfig)), this.customID = e.id || this.uuid, this.pathPoints = e.path, this.path = mo.calculatePath(e.path.map((l) => new P.Vector3().fromArray(l))), this.pathLength = this.path.getLength(), this.texture = mo.formatTexture(e.texture);
49116
+ e.geometryConfig && (this.geometryConfig = V(V({}, this.geometryConfig), e.geometryConfig)), this.customID = e.id || this.uuid, this.pathPoints = e.path, this.path = mo.calculatePath(e.path.map((l) => new P.Vector3().fromArray(l))), this.pathLength = this.path.getLength(), this.texture = mo.formatTexture(e.texture);
49094
49117
  const { radius: s, tubularSegments: o, radialSegments: r } = this.geometryConfig, a = mo.formatTexture(e.texture);
49095
49118
  this.geometry = mo.formatGeometryUV(
49096
49119
  new P.TubeBufferGeometry(this.path, o, s, r),
@@ -49376,7 +49399,7 @@ let Px = class extends kn {
49376
49399
  return ie(this, arguments, function* (e = {}) {
49377
49400
  if (this.state.visible)
49378
49401
  return;
49379
- const i = H({
49402
+ const i = V({
49380
49403
  userAction: !0,
49381
49404
  anime: { duration: 500 }
49382
49405
  }, e);
@@ -49393,7 +49416,7 @@ let Px = class extends kn {
49393
49416
  return ie(this, arguments, function* (e = {}) {
49394
49417
  if (this.state.visible === !1)
49395
49418
  return;
49396
- const i = H({
49419
+ const i = V({
49397
49420
  userAction: !0,
49398
49421
  anime: { duration: 500 }
49399
49422
  }, e);
@@ -49499,7 +49522,7 @@ let Px = class extends kn {
49499
49522
  }
49500
49523
  updateState(e, i) {
49501
49524
  const s = this.state;
49502
- this.state = H(H({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
49525
+ this.state = V(V({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
49503
49526
  }
49504
49527
  /** 加载管道贴图,如果再加载中,复用之前的加载 Promise */
49505
49528
  loadPipeTexture(e) {
@@ -50122,14 +50145,14 @@ let Dx = class extends kn {
50122
50145
  visible: !0
50123
50146
  };
50124
50147
  this.state = Object.assign(s, i == null ? void 0 : i.initialState);
50125
- const o = H({
50148
+ const o = V({
50126
50149
  modelDepthTest: !0
50127
50150
  }, i == null ? void 0 : i.config);
50128
50151
  this._config = o, this.modelGroup = new P.Group(), this.modelGroup.name = "ModelMakerPluginGroup", this.itemMap = /* @__PURE__ */ new Map(), this.state.enabled && this._enable({ userAction: !1 });
50129
50152
  }
50130
50153
  /** 插件配置项 */
50131
50154
  get config() {
50132
- return H({}, this._config);
50155
+ return V({}, this._config);
50133
50156
  }
50134
50157
  /** 是否已经被销毁 */
50135
50158
  get disposed() {
@@ -50181,7 +50204,7 @@ let Dx = class extends kn {
50181
50204
  return Promise.resolve();
50182
50205
  if (this.disposed)
50183
50206
  return Promise.reject(new Error("不能在已销毁的插件上调用 show"));
50184
- const i = H({ userAction: !0 }, e);
50207
+ const i = V({ userAction: !0 }, e);
50185
50208
  this.updateState({ visible: !0 }, i.userAction), yield this._show(i);
50186
50209
  });
50187
50210
  }
@@ -50193,7 +50216,7 @@ let Dx = class extends kn {
50193
50216
  return ie(this, null, function* () {
50194
50217
  if (this.state.visible === !1)
50195
50218
  return;
50196
- const i = H({ userAction: !0 }, e);
50219
+ const i = V({ userAction: !0 }, e);
50197
50220
  this.updateState({ visible: !1 }, i.userAction), yield this._hide(i);
50198
50221
  });
50199
50222
  }
@@ -50252,7 +50275,7 @@ let Dx = class extends kn {
50252
50275
  */
50253
50276
  updateConfig(e, i = {}) {
50254
50277
  var r;
50255
- const s = this.config, o = H(H({}, s), e);
50278
+ const s = this.config, o = V(V({}, s), e);
50256
50279
  this._config = o, this.hooks.emit("configChange", { prevConfig: s, config: o, userAction: (r = i.userAction) != null ? r : !0 });
50257
50280
  }
50258
50281
  /** 根据 ID 获取标注 */
@@ -50266,9 +50289,9 @@ let Dx = class extends kn {
50266
50289
  return i(e) ? {
50267
50290
  list: e.list.filter((s) => s.object_data.points.length >= 3).map((s) => {
50268
50291
  const o = new P.Shape(), r = s.object_data.points[0];
50269
- return o.moveTo(r[0], r[2]), s.object_data.points.slice(1).forEach((l) => o.lineTo(l[0], l[2])), o.lineTo(r[0], r[2]), ce(H({}, s), {
50292
+ return o.moveTo(r[0], r[2]), s.object_data.points.slice(1).forEach((l) => o.lineTo(l[0], l[2])), o.lineTo(r[0], r[2]), ce(V({}, s), {
50270
50293
  floor_index: s.object_data.floorIndex,
50271
- object_data: ce(H({}, s.object_data), {
50294
+ object_data: ce(V({}, s.object_data), {
50272
50295
  bottom_y: r[1] + s.object_data.fixedY,
50273
50296
  shape: o.toJSON(),
50274
50297
  height: s.object_data.height + s.object_data.fixedHeight
@@ -50292,7 +50315,7 @@ let Dx = class extends kn {
50292
50315
  }
50293
50316
  updateState(e, i) {
50294
50317
  const s = this.state;
50295
- this.state = H(H({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
50318
+ this.state = V(V({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
50296
50319
  }
50297
50320
  _enable(e) {
50298
50321
  this.hooks.emit("enable", { userAction: e.userAction }), this.five.scene.add(this.modelGroup), this.updateChildrenMountedState(), this.five.needsRender = !0, this.five.on("wantsTapGesture", this.onWantsFiveTapGesture), this.five.on("initAnimationWillStart", this.onFiveInitAnimationWillStart), this.five.on("initAnimationEnded", this.onFiveInitAnimationEnded), this.five.on("modeChange", this.onFiveModeChange), this.five.on("cameraUpdate", this.onFiveCameraUpdate);
@@ -50386,7 +50409,7 @@ class Tx extends us {
50386
50409
  visible: !0
50387
50410
  };
50388
50411
  this.state = Object.assign(s, i == null ? void 0 : i.initialState);
50389
- const o = H({
50412
+ const o = V({
50390
50413
  width: 1.4,
50391
50414
  yOffset: 0.01,
50392
50415
  yRotate: 0,
@@ -50399,7 +50422,7 @@ class Tx extends us {
50399
50422
  }
50400
50423
  /** 插件配置项 */
50401
50424
  get config() {
50402
- return H({}, this._config);
50425
+ return V({}, this._config);
50403
50426
  }
50404
50427
  /** 是否已经被销毁 */
50405
50428
  get disposed() {
@@ -50437,7 +50460,7 @@ class Tx extends us {
50437
50460
  return Promise.resolve();
50438
50461
  if (this.disposed)
50439
50462
  return Promise.reject(new Error("不能在已销毁的插件上调用 show"));
50440
- const i = H({ userAction: !0 }, e);
50463
+ const i = V({ userAction: !0 }, e);
50441
50464
  this.updateState({ visible: !0 }, i.userAction), this.checkMsg.pluginHidden = "", this._show(i);
50442
50465
  });
50443
50466
  }
@@ -50449,7 +50472,7 @@ class Tx extends us {
50449
50472
  return ie(this, null, function* () {
50450
50473
  if (this.state.visible === !1)
50451
50474
  return;
50452
- const i = H({ userAction: !0 }, e);
50475
+ const i = V({ userAction: !0 }, e);
50453
50476
  this.updateState({ visible: !1 }, i.userAction), this.checkMsg.pluginDisabled = "调用 hide 隐藏", this._hide(i);
50454
50477
  });
50455
50478
  }
@@ -50474,7 +50497,7 @@ class Tx extends us {
50474
50497
  */
50475
50498
  updateConfig(e, i = {}) {
50476
50499
  var r;
50477
- const s = this.config, o = H(H({}, s), e);
50500
+ const s = this.config, o = V(V({}, s), e);
50478
50501
  this._config = o, s.imageURL !== o.imageURL && this.reloadTexture(o.imageURL), s.yOffset !== o.yOffset && this.updateMeshPosition(this.five.getCurrentState().panoIndex), s.yRotate !== o.yRotate && this.updateMeshQuaternion(o.yRotate), s.width !== o.width && (this.mesh.geometry = new P.PlaneBufferGeometry(o.width, o.width)), this.hooks.emit("configChange", { prevConfig: s, config: o, userAction: (r = i.userAction) != null ? r : !0 });
50479
50502
  }
50480
50503
  /** 问什么看不到模型 */
@@ -50490,7 +50513,7 @@ class Tx extends us {
50490
50513
  }
50491
50514
  updateState(e, i) {
50492
50515
  const s = this.state;
50493
- this.state = H(H({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
50516
+ this.state = V(V({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
50494
50517
  }
50495
50518
  /** 根据各种条件更新 Mesh 的可见性 */
50496
50519
  updateMeshVisible() {
@@ -50569,7 +50592,7 @@ class Lx {
50569
50592
  return this._pointSelector;
50570
50593
  const t = (i = this.config) == null ? void 0 : i.magnifier;
50571
50594
  let e = t === null || t === !1 ? { magnifier: null } : { magnifierParams: t };
50572
- return (s = this.config) != null && s.hideCursorCircle && (e = ce(H({}, e), { pointHelper: null })), this._pointSelector = new pl(this.five, {
50595
+ return (s = this.config) != null && s.hideCursorCircle && (e = ce(V({}, e), { pointHelper: null })), this._pointSelector = new pl(this.five, {
50573
50596
  mode: "cursor",
50574
50597
  helper: e
50575
50598
  }), this._pointSelector;
@@ -50655,7 +50678,7 @@ class Pv extends fi {
50655
50678
  if (r !== 0 && a === void 0)
50656
50679
  return;
50657
50680
  const l = (c = this.lines[r]) != null ? c : (() => {
50658
- const h = new _r(ce(H({}, this.style), {
50681
+ const h = new _r(ce(V({}, this.style), {
50659
50682
  pointVisibility: this.withDots ? { startPoint: r === 0, endPoint: !0 } : !1
50660
50683
  }));
50661
50684
  return this.lines[r] = h, this.add(h), h;
@@ -50664,7 +50687,7 @@ class Pv extends fi {
50664
50687
  }), s.length === 0 ? (this.lines.forEach((o) => o.removeFromParent()), this.lines = []) : s.length === 1 || this.lines.length > s.length - 1 && this.lines.splice(s.length - 1).forEach((o) => o.removeFromParent());
50665
50688
  }
50666
50689
  setStyle(e) {
50667
- this.paramsStyle = H(H({}, this.paramsStyle), e), this.lines.forEach((i) => i.setStyle(this.paramsStyle));
50690
+ this.paramsStyle = V(V({}, this.paramsStyle), e), this.lines.forEach((i) => i.setStyle(this.paramsStyle));
50668
50691
  }
50669
50692
  highlight() {
50670
50693
  this.lines.forEach((e) => e.highlight());
@@ -50675,13 +50698,13 @@ class Pv extends fi {
50675
50698
  }
50676
50699
  class Fs extends Pv {
50677
50700
  constructor(...e) {
50678
- super(ce(H({}, e[0]), { withDots: !1 }));
50701
+ super(ce(V({}, e[0]), { withDots: !1 }));
50679
50702
  d(this, "name", "PolylineMesh");
50680
50703
  }
50681
50704
  }
50682
50705
  class $n extends Pv {
50683
50706
  constructor(...e) {
50684
- super(ce(H({}, e[0]), { withDots: !0 }));
50707
+ super(ce(V({}, e[0]), { withDots: !0 }));
50685
50708
  d(this, "name", "PolylineWithDotsMesh");
50686
50709
  }
50687
50710
  }
@@ -50711,7 +50734,7 @@ class Fi extends fi {
50711
50734
  const s = i != null ? i : this;
50712
50735
  return s.updateMatrixWorld(), ob(s, e);
50713
50736
  });
50714
- e != null && e.id && (this.uuid = e.id), this.config = H({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e && (Fe((s = this.config) == null ? void 0 : s.occlusionMode) && (e.style = ce(H({}, e.style), { occlusionMode: this.config.occlusionMode })), Fe((o = this.config) == null ? void 0 : o.occlusionVisibility) && (e.style = ce(H({}, e.style), { occlusionVisibility: this.config.occlusionVisibility }))), ct("esc", () => {
50737
+ e != null && e.id && (this.uuid = e.id), this.config = V({ defaultAction: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, i), e && (Fe((s = this.config) == null ? void 0 : s.occlusionMode) && (e.style = ce(V({}, e.style), { occlusionMode: this.config.occlusionMode })), Fe((o = this.config) == null ? void 0 : o.occlusionVisibility) && (e.style = ce(V({}, e.style), { occlusionVisibility: this.config.occlusionVisibility }))), ct("esc", () => {
50715
50738
  this.stopCreating();
50716
50739
  }), this.config.defaultAction && (ct("backspace, delete", () => {
50717
50740
  this.selected && this.delete();
@@ -50850,7 +50873,7 @@ class $r extends Vl {
50850
50873
  enable() {
50851
50874
  super.enable();
50852
50875
  const e = typeof this.objectHelperConfig == "function" ? this.objectHelperConfig() : this.objectHelperConfig;
50853
- lt.modules.object3DHelper.addObject3DHelper(this.originObject, H({ positionFrom: "boundingBox" }, e));
50876
+ lt.modules.object3DHelper.addObject3DHelper(this.originObject, V({ positionFrom: "boundingBox" }, e));
50854
50877
  const i = lt.modules.object3DHelper.getObject3DHelper(this.originObject).helper;
50855
50878
  i.hooks.on("move", this.onObjectUpdate), i.hooks.on("rotate", this.onObjectUpdate), i.hooks.on("scale", this.onObjectUpdate);
50856
50879
  }
@@ -50926,13 +50949,13 @@ class mm extends Fi {
50926
50949
  d(this, "polyLineMesh");
50927
50950
  d(this, "_editor");
50928
50951
  d(this, "creatingObject");
50929
- e && (this.polyLineMesh = new $n(H(H({}, e.style), e)), this.add(this.polyLineMesh));
50952
+ e && (this.polyLineMesh = new $n(V(V({}, e.style), e)), this.add(this.polyLineMesh));
50930
50953
  }
50931
50954
  get editor() {
50932
50955
  return this._editor || (this._editor = new jx(this)), this._editor;
50933
50956
  }
50934
50957
  get data() {
50935
- return ce(H({}, this.baseData), {
50958
+ return ce(V({}, this.baseData), {
50936
50959
  points: oi(this.applyObjectMatrixWorld(this.polyLineMesh.points)),
50937
50960
  style: {
50938
50961
  lineColor: new P.Color(this.polyLineMesh.lineColor).getHex(),
@@ -50983,7 +51006,7 @@ function Rx(n, t, e) {
50983
51006
  return;
50984
51007
  const { promise: s, resolve: o, reject: r } = Gs(), a = (L = e == null ? void 0 : e.limit) != null ? L : "none", l = new Fs(n.style);
50985
51008
  i.add(l);
50986
- const c = new Fs(ce(H({}, n.style), { dashed: !0, lengthEnable: !1 }));
51009
+ const c = new Fs(ce(V({}, n.style), { dashed: !0, lengthEnable: !1 }));
50987
51010
  i.add(c), t.enable();
50988
51011
  const h = [];
50989
51012
  let u, f, m;
@@ -51038,13 +51061,13 @@ class vm extends Fi {
51038
51061
  d(this, "type", "Point");
51039
51062
  d(this, "pointMesh");
51040
51063
  d(this, "_editor");
51041
- e && (this.pointMesh = new Cn(H(H({}, e.style), e)), this.add(this.pointMesh));
51064
+ e && (this.pointMesh = new Cn(V(V({}, e.style), e)), this.add(this.pointMesh));
51042
51065
  }
51043
51066
  get editor() {
51044
51067
  return this._editor || (this._editor = new _x(this)), this._editor;
51045
51068
  }
51046
51069
  get data() {
51047
- return ce(H({}, this.baseData), {
51070
+ return ce(V({}, this.baseData), {
51048
51071
  point: oi(this.applyObjectMatrixWorld(this.pointMesh.position)),
51049
51072
  style: {
51050
51073
  color: this.pointMesh.color.getHex(),
@@ -51104,7 +51127,7 @@ class dh extends Uo {
51104
51127
  i && this.setPoints(i), s && this.setStyle(s);
51105
51128
  }
51106
51129
  get style() {
51107
- return ce(H({}, super.style), {
51130
+ return ce(V({}, super.style), {
51108
51131
  lineWidth: this.lineWidth,
51109
51132
  lineColor: this.lineColor
51110
51133
  });
@@ -51121,10 +51144,10 @@ class dh extends Uo {
51121
51144
  }), !1;
51122
51145
  }
51123
51146
  setPoints(e, i) {
51124
- super.setPoints(e, H({ closed: !0 }, i)), this.points && (this.line.setPoints(this.points, H({ closed: !0 }, i)), this.addIfNotExists(this.line));
51147
+ super.setPoints(e, V({ closed: !0 }, i)), this.points && (this.line.setPoints(this.points, V({ closed: !0 }, i)), this.addIfNotExists(this.line));
51125
51148
  }
51126
51149
  setStyle(e) {
51127
- super.setStyle(e), e.lineOpacity !== void 0 ? this.line.setStyle(ce(H({}, e), {
51150
+ super.setStyle(e), e.lineOpacity !== void 0 ? this.line.setStyle(ce(V({}, e), {
51128
51151
  // 强制设置line的lineOpacity
51129
51152
  lineOpacity: e.lineOpacity
51130
51153
  })) : this.line.setStyle(e), this.needsRender = !0;
@@ -51163,13 +51186,13 @@ class Am extends Fi {
51163
51186
  d(this, "areaMesh");
51164
51187
  d(this, "_editor");
51165
51188
  d(this, "creatingObject");
51166
- e && (this.areaMesh = new fh(H(H({}, e.style), e)), this.add(this.areaMesh));
51189
+ e && (this.areaMesh = new fh(V(V({}, e.style), e)), this.add(this.areaMesh));
51167
51190
  }
51168
51191
  get editor() {
51169
51192
  return this._editor || (this._editor = new Bx(this)), this._editor;
51170
51193
  }
51171
51194
  get data() {
51172
- return this.updateMatrixWorld(), ce(H({}, this.baseData), {
51195
+ return this.updateMatrixWorld(), ce(V({}, this.baseData), {
51173
51196
  points: oi(this.applyObjectMatrixWorld(this.areaMesh.points)),
51174
51197
  style: {
51175
51198
  color: this.areaMesh.color.getHex(),
@@ -51229,7 +51252,7 @@ function Ou(n, t, e) {
51229
51252
  l && c && c.model && c.model.bounding && typeof ((se = c.model.bounding.max) == null ? void 0 : se.y) == "number" && (h = c.model.bounding.max.y + 1);
51230
51253
  const u = new Fs(n.style);
51231
51254
  r == null || r.add(u);
51232
- const f = new Fs(ce(H({}, n.style), { dashed: !0, lengthEnable: !1 }));
51255
+ const f = new Fs(ce(V({}, n.style), { dashed: !0, lengthEnable: !1 }));
51233
51256
  r == null || r.add(f);
51234
51257
  let m = [];
51235
51258
  function p() {
@@ -51241,7 +51264,7 @@ function Ou(n, t, e) {
51241
51264
  const te = (Se = (le = n.line) == null ? void 0 : le.style) != null ? Se : n.style;
51242
51265
  m = v.map((ue, Te) => {
51243
51266
  var he;
51244
- const fe = new Cn(ce(H({}, te), {
51267
+ const fe = new Cn(ce(V({}, te), {
51245
51268
  color: (he = te.pointColor) != null ? he : te.lineColor,
51246
51269
  tip: void 0,
51247
51270
  point: ue
@@ -51453,7 +51476,7 @@ class zs extends fi {
51453
51476
  return this.edgeMesh.color;
51454
51477
  }
51455
51478
  setStyle(e = {}) {
51456
- this.paramStyle = H(H({}, this.paramStyle), e), this.prismMesh.setStyle(this.paramStyle), this.edgeMesh.setStyle(this.paramStyle);
51479
+ this.paramStyle = V(V({}, this.paramStyle), e), this.prismMesh.setStyle(this.paramStyle), this.edgeMesh.setStyle(this.paramStyle);
51457
51480
  }
51458
51481
  /**
51459
51482
  * Check if the prism is a box (has 4 bottom positions)
@@ -51684,13 +51707,13 @@ class bm extends Fi {
51684
51707
  d(this, "type", "Prism");
51685
51708
  d(this, "prismMesh");
51686
51709
  d(this, "_editor");
51687
- e && (this.prismMesh = new zs(H(H({}, e.style), e)), this.add(this.prismMesh));
51710
+ e && (this.prismMesh = new zs(V(V({}, e.style), e)), this.add(this.prismMesh));
51688
51711
  }
51689
51712
  get editor() {
51690
51713
  return this._editor || (this._editor = new Iv(this.prismMesh)), this._editor;
51691
51714
  }
51692
51715
  get data() {
51693
- return ce(H({}, this.baseData), {
51716
+ return ce(V({}, this.baseData), {
51694
51717
  points: oi(this.applyObjectMatrixWorld(this.prismMesh.bottomPositions, this.prismMesh)),
51695
51718
  heightPoint: oi(this.applyObjectMatrixWorld(this.prismMesh.topPosition, this.prismMesh)),
51696
51719
  style: {
@@ -51859,7 +51882,7 @@ class hl extends ju {
51859
51882
  i && this.setPoints(i), s && this.setStyle(s);
51860
51883
  }
51861
51884
  get style() {
51862
- return H(H({}, super.style), this.line.style);
51885
+ return V(V({}, super.style), this.line.style);
51863
51886
  }
51864
51887
  get lineWidth() {
51865
51888
  return this.line.lineWidth;
@@ -51890,13 +51913,13 @@ class ym extends Fi {
51890
51913
  d(this, "type", "Rectangle");
51891
51914
  d(this, "rectangleMesh");
51892
51915
  d(this, "_editor");
51893
- e && (this.rectangleMesh = new hl(H(H({}, e.style), e)), this.add(this.rectangleMesh));
51916
+ e && (this.rectangleMesh = new hl(V(V({}, e.style), e)), this.add(this.rectangleMesh));
51894
51917
  }
51895
51918
  get editor() {
51896
51919
  return this._editor || (this._editor = new Mv(this.rectangleMesh)), this._editor;
51897
51920
  }
51898
51921
  get data() {
51899
- return ce(H({}, this.baseData), {
51922
+ return ce(V({}, this.baseData), {
51900
51923
  points: oi(this.applyObjectMatrixWorld(this.rectangleMesh.points, this.rectangleMesh)),
51901
51924
  style: {
51902
51925
  color: this.rectangleMesh.color.getHex(),
@@ -51947,7 +51970,7 @@ function Wx(n, t, e) {
51947
51970
  const { promise: i, reject: s, resolve: o } = Gs(), r = n.parent;
51948
51971
  if (!r)
51949
51972
  return s(new Error("No container"));
51950
- const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new $n(ce(H({}, n.style), { dashed: !0 })), c = new $n(ce(H({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new $n(ce(H({}, n.style), { dashed: !1, lengthEnable: !1 }));
51973
+ const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new $n(ce(V({}, n.style), { dashed: !0 })), c = new $n(ce(V({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new $n(ce(V({}, n.style), { dashed: !1, lengthEnable: !1 }));
51951
51974
  r.add(l, h, c), t.enable();
51952
51975
  const u = [];
51953
51976
  let f = new P.Vector3(), m = new P.Vector3();
@@ -51996,7 +52019,7 @@ function Ux(n, t, e) {
51996
52019
  const { promise: i, reject: s, resolve: o } = Gs(), r = n.parent;
51997
52020
  if (!r)
51998
52021
  return s(new Error("No container"));
51999
- const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new $n(ce(H({}, n.style), { dashed: !0 })), c = new $n(ce(H({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new $n(ce(H({}, n.style), { dashed: !1, lengthEnable: !1 }));
52022
+ const a = (M = e == null ? void 0 : e.limit) != null ? M : "none", l = new $n(ce(V({}, n.style), { dashed: !0 })), c = new $n(ce(V({}, n.style), { dashed: !0, lengthEnable: !1 })), h = new $n(ce(V({}, n.style), { dashed: !1, lengthEnable: !1 }));
52000
52023
  r.add(l, h, c), t.enable(), t.setAdherePoints(Gx(t.five, { excludes: [n] }));
52001
52024
  const u = [];
52002
52025
  let f = new P.Vector3(), m = new P.Vector3();
@@ -52107,13 +52130,13 @@ class wm extends Fi {
52107
52130
  d(this, "type", "Circle");
52108
52131
  d(this, "circleMesh");
52109
52132
  d(this, "_editor");
52110
- e && (this.circleMesh = new Nr(H(H({}, e.style), e)), this.add(this.circleMesh));
52133
+ e && (this.circleMesh = new Nr(V(V({}, e.style), e)), this.add(this.circleMesh));
52111
52134
  }
52112
52135
  get editor() {
52113
52136
  return this._editor || (this._editor = new xv(this.circleMesh)), this._editor;
52114
52137
  }
52115
52138
  get data() {
52116
- return ce(H({}, this.baseData), {
52139
+ return ce(V({}, this.baseData), {
52117
52140
  center: oi(this.applyObjectMatrixWorld(this.circleMesh.center, this.circleMesh)),
52118
52141
  normal: oi(this.circleMesh.normal.clone().applyQuaternion(this.circleMesh.quaternion)),
52119
52142
  radius: this.circleMesh.radius,
@@ -52227,7 +52250,7 @@ class ph extends fi {
52227
52250
  this.addIfNotExists(this.bottomCircle), this.bottomCircle.setPoints({ center: e, normal: this.normal, radius: this.radius }), this.setEdgeMesh();
52228
52251
  }
52229
52252
  setStyle(e) {
52230
- this.params = H(H({}, this.params), e), this.bottomCircle.setStyle(this.params), this.topCircle.setStyle(this.params);
52253
+ this.params = V(V({}, this.params), e), this.bottomCircle.setStyle(this.params), this.topCircle.setStyle(this.params);
52231
52254
  }
52232
52255
  highlight() {
52233
52256
  this.highlighted || (this.highlighted = !0, this.edgeMesh.highlight(), this.bottomCircle.highlight(), this.topCircle.highlight(), this.needsRender = !0);
@@ -52292,13 +52315,13 @@ class Pm extends Fi {
52292
52315
  d(this, "type", "Cylinder");
52293
52316
  d(this, "cylinderMesh");
52294
52317
  d(this, "_editor");
52295
- e && (this.cylinderMesh = new ph(H(H({}, e.style), e)), this.add(this.cylinderMesh));
52318
+ e && (this.cylinderMesh = new ph(V(V({}, e.style), e)), this.add(this.cylinderMesh));
52296
52319
  }
52297
52320
  get editor() {
52298
52321
  return this._editor || (this._editor = new Tv(this.cylinderMesh)), this._editor;
52299
52322
  }
52300
52323
  get data() {
52301
- return ce(H({}, this.baseData), {
52324
+ return ce(V({}, this.baseData), {
52302
52325
  bottomCenter: oi(this.applyObjectMatrixWorld(this.cylinderMesh.bottomCenter, this.cylinderMesh)),
52303
52326
  topCenter: oi(this.applyObjectMatrixWorld(this.cylinderMesh.topCenter, this.cylinderMesh)),
52304
52327
  radius: this.cylinderMesh.radius,
@@ -52472,13 +52495,13 @@ class Cm extends Fi {
52472
52495
  d(this, "type", "Box");
52473
52496
  d(this, "boxMesh");
52474
52497
  d(this, "_editor");
52475
- e && (this.boxMesh = new gh(H(H({}, e.style), e)), this.add(this.boxMesh));
52498
+ e && (this.boxMesh = new gh(V(V({}, e.style), e)), this.add(this.boxMesh));
52476
52499
  }
52477
52500
  get editor() {
52478
52501
  return this._editor || (this._editor = new zv(this.boxMesh)), this._editor;
52479
52502
  }
52480
52503
  get data() {
52481
- return ce(H({}, this.baseData), {
52504
+ return ce(V({}, this.baseData), {
52482
52505
  points: oi(this.applyObjectMatrixWorld(this.boxMesh.bottomPositions, this.boxMesh)),
52483
52506
  heightPoint: oi(this.applyObjectMatrixWorld(this.boxMesh.topPosition, this.boxMesh)),
52484
52507
  style: {
@@ -52554,13 +52577,13 @@ class Im extends Fi {
52554
52577
  d(this, "lineMesh");
52555
52578
  d(this, "_editor");
52556
52579
  d(this, "creatingObject");
52557
- e && (this.lineMesh = new _r(H(H({}, e.style), e)), this.add(this.lineMesh));
52580
+ e && (this.lineMesh = new _r(V(V({}, e.style), e)), this.add(this.lineMesh));
52558
52581
  }
52559
52582
  get editor() {
52560
52583
  return this._editor || (this._editor = new Ox(this)), this._editor;
52561
52584
  }
52562
52585
  get data() {
52563
- return ce(H({}, this.baseData), {
52586
+ return ce(V({}, this.baseData), {
52564
52587
  points: oi(this.applyObjectMatrixWorld(this.lineMesh.points)),
52565
52588
  style: {
52566
52589
  lineColor: new P.Color(this.lineMesh.color).getHex(),
@@ -52611,7 +52634,7 @@ function jv(n, t, e) {
52611
52634
  return;
52612
52635
  const { promise: s, resolve: o, reject: r } = Gs(), a = (j = e == null ? void 0 : e.limit) != null ? j : "none", l = new wi(n.style);
52613
52636
  i.add(l);
52614
- const c = new wi(ce(H({}, n.style), { dashed: !0, lengthEnable: !1 }));
52637
+ const c = new wi(ce(V({}, n.style), { dashed: !0, lengthEnable: !1 }));
52615
52638
  i.add(c), t.enable();
52616
52639
  const h = [];
52617
52640
  let u, f, m;
@@ -52673,7 +52696,7 @@ const vo = class extends Ct {
52673
52696
  var e;
52674
52697
  console.log("redo"), (e = this.creatingItem) == null || e.redo(), this.five.needsRender = !0;
52675
52698
  });
52676
- this.five = e, this.theme = i, this.config = H({
52699
+ this.five = e, this.theme = i, this.config = V({
52677
52700
  magnifier: { width: 190, height: 190, scale: 2, dragEnabled: !0 }
52678
52701
  }, s), this.group = new fi(), this.group.name = "Sculpt", e.scene.add(this.group), vo.modules.init(e, this.config), ct("ctrl+z, command+z", this.undo), ct("ctrl+shift+z, command+shift+z", this.redo), vo.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: o, origDomEvent: r }) => {
52679
52702
  var l;
@@ -52703,8 +52726,8 @@ const vo = class extends Ct {
52703
52726
  this.clear();
52704
52727
  const s = (o = e == null ? void 0 : e.items) == null ? void 0 : o.map((r) => {
52705
52728
  var l;
52706
- const a = ce(H({}, r), {
52707
- style: H(H({}, (l = this.theme) == null ? void 0 : l[r.type.toLowerCase()]), r.style)
52729
+ const a = ce(V({}, r), {
52730
+ style: V(V({}, (l = this.theme) == null ? void 0 : l[r.type.toLowerCase()]), r.style)
52708
52731
  });
52709
52732
  return r.type === "Point" ? new vm(a, i) : r.type === "line" ? new Im(a, i) : r.type === "Polyline" ? new mm(a, i) : r.type === "Polygon" ? new Am(a, i) : r.type === "Prism" ? new bm(a, i) : r.type === "Rectangle" ? new ym(a, i) : r.type === "Circle" ? new wm(a, i) : r.type === "Cylinder" ? new Pm(a, i) : r.type === "Box" ? new Cm(a, i) : null;
52710
52733
  });
@@ -53019,7 +53042,7 @@ const km = (n, t) => {
53019
53042
  class Dc extends Bu {
53020
53043
  constructor(...e) {
53021
53044
  const i = e[0], s = Ns(i.model), o = new P.Vector3().lerpVectors(Yn(s, 0), Yn(s, 5), 0.5);
53022
- super(ce(H({}, i), { position: o }));
53045
+ super(ce(V({}, i), { position: o }));
53023
53046
  d(this, "onModelShownFloorChange", (e) => {
53024
53047
  this.updateFiveCurrentFloorState(e), this.updateVisible();
53025
53048
  });
@@ -53214,7 +53237,7 @@ class eS extends kn {
53214
53237
  return this.items.find((i) => i.rawData.id === e);
53215
53238
  }
53216
53239
  registerTagRenderer(e) {
53217
- this.tagRendererMap = H(H({}, this.tagRendererMap), e), this.updateTagRenderer();
53240
+ this.tagRendererMap = V(V({}, this.tagRendererMap), e), this.updateTagRenderer();
53218
53241
  }
53219
53242
  hasCustomTagRenderer(e) {
53220
53243
  return !!this.tagRendererMap[e];