@realsee/dnalogel 3.59.6 → 3.59.7-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (433) hide show
  1. package/dist/index.cjs.js +3 -3
  2. package/dist/index.js +4 -4
  3. package/dist/index.umd.js +12 -12
  4. package/docs/assets/navigation.js +1 -1
  5. package/docs/assets/search.js +1 -1
  6. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
  7. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
  8. package/docs/classes/CSS3DRender.html +3 -3
  9. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  10. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
  11. package/docs/classes/ModelMakerPluginInstance.html +15 -15
  12. package/docs/classes/ModelRoomLabelController.html +6 -6
  13. package/docs/classes/MoveController.html +17 -17
  14. package/docs/classes/Object3DHelperController.html +15 -15
  15. package/docs/classes/PaintBrush.html +5 -5
  16. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  17. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  18. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  19. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  20. package/docs/classes/PanoTagPluginController.html +35 -35
  21. package/docs/classes/Sculpt.html +23 -23
  22. package/docs/classes/Util.BetterTween.html +2 -2
  23. package/docs/classes/Util.FiveDomEvents.html +4 -4
  24. package/docs/classes/Util.FivePuppet.html +3 -3
  25. package/docs/classes/Util.Interval.html +5 -5
  26. package/docs/classes/Util.LightTag.html +14 -14
  27. package/docs/classes/Util.LineSegments.html +2 -2
  28. package/docs/classes/Util.Magnifier.html +6 -6
  29. package/docs/classes/Util.Object3D.html +4 -4
  30. package/docs/classes/Util.PointHelper.html +2 -2
  31. package/docs/classes/Util.PointSelector.html +11 -11
  32. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  33. package/docs/classes/Util.Rectangle.html +5 -5
  34. package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
  35. package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
  36. package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
  37. package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
  38. package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
  39. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
  40. package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
  41. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
  42. package/docs/classes/Util.sculpt.LineMesh.html +5 -5
  43. package/docs/classes/Util.sculpt.PointMesh.html +5 -5
  44. package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
  45. package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
  46. package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
  47. package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
  48. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
  49. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
  50. package/docs/classes/WalkController.html +18 -18
  51. package/docs/enums/CameraMovementEffect.html +3 -3
  52. package/docs/enums/ContentType.html +18 -18
  53. package/docs/enums/DIRECTION.html +2 -2
  54. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  55. package/docs/enums/DimensionType.html +3 -3
  56. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  57. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  58. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  59. package/docs/enums/PointType.html +3 -3
  60. package/docs/enums/Rotation.html +3 -3
  61. package/docs/functions/AreaMakerPlugin.html +1 -1
  62. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  63. package/docs/functions/CameraMovementPlugin.html +2 -2
  64. package/docs/functions/CruisePlugin.html +1 -1
  65. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  66. package/docs/functions/GuideLinePlugin.html +1 -1
  67. package/docs/functions/ItemLabelPlugin.html +1 -1
  68. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  69. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  70. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  71. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  72. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  73. package/docs/functions/ModelMakerPlugin.html +1 -1
  74. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  75. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  76. package/docs/functions/ModelViewPlugin.html +2 -2
  77. package/docs/functions/MovePlugin.html +1 -1
  78. package/docs/functions/Object3DHelperPlugin.html +1 -1
  79. package/docs/functions/PanoCompassPlugin.html +1 -1
  80. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  81. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  82. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  83. package/docs/functions/PanoMeasurePlugin.html +1 -1
  84. package/docs/functions/PanoRulerPlugin.html +2 -2
  85. package/docs/functions/PanoRulerProPlugin.html +2 -2
  86. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  87. package/docs/functions/PanoTagPlugin.html +1 -1
  88. package/docs/functions/PanoVideoPlugin.html +2 -2
  89. package/docs/functions/PipelinePlugin.html +1 -1
  90. package/docs/functions/SculptPlugin.html +2 -2
  91. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  92. package/docs/functions/Util.absoluteUrl.html +2 -2
  93. package/docs/functions/Util.awaitNextFrame.html +1 -1
  94. package/docs/functions/Util.blink.html +2 -2
  95. package/docs/functions/Util.bounding.html +1 -1
  96. package/docs/functions/Util.boundingBox.html +1 -1
  97. package/docs/functions/Util.boundingSphere.html +1 -1
  98. package/docs/functions/Util.boxVertex.html +2 -2
  99. package/docs/functions/Util.boxVertexes.html +1 -1
  100. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  101. package/docs/functions/Util.convexHull.html +2 -2
  102. package/docs/functions/Util.equal.html +2 -2
  103. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  104. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  105. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  106. package/docs/functions/Util.getFrameTime.html +2 -2
  107. package/docs/functions/Util.inside.html +1 -1
  108. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  109. package/docs/functions/Util.isModelLike.html +1 -1
  110. package/docs/functions/Util.isNil.html +2 -2
  111. package/docs/functions/Util.isPanoramaLike.html +1 -1
  112. package/docs/functions/Util.lookObject.html +2 -2
  113. package/docs/functions/Util.lookPoint.html +2 -2
  114. package/docs/functions/Util.nextFrame.html +1 -1
  115. package/docs/functions/Util.notNil.html +2 -2
  116. package/docs/functions/Util.reblink.html +2 -2
  117. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  118. package/docs/functions/Util.sculpt.createBox.html +1 -1
  119. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  120. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  121. package/docs/functions/Util.sculpt.createLine.html +2 -2
  122. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  123. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  124. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  125. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  126. package/docs/functions/Util.tag.html +1 -1
  127. package/docs/functions/Util.tweenProgress.html +1 -1
  128. package/docs/functions/Util.uuid.html +2 -2
  129. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  130. package/docs/functions/Util.worldBounding.html +1 -1
  131. package/docs/functions/Util.worldBoundingBox.html +1 -1
  132. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  133. package/docs/functions/createPolyline.html +2 -2
  134. package/docs/functions/pluginFlag.html +1 -1
  135. package/docs/hierarchy.html +1 -1
  136. package/docs/index.html +2 -2
  137. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  138. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  139. package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
  140. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  141. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
  142. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  143. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  144. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  145. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  146. package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
  147. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  148. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  149. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  150. package/docs/interfaces/ContentTypeMapInterface.html +15 -15
  151. package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
  152. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  153. package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
  154. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  155. package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
  156. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
  157. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
  158. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  159. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  160. package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
  161. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
  162. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
  163. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  164. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  165. package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
  166. package/docs/interfaces/FloorplanBounding.html +5 -5
  167. package/docs/interfaces/FloorplanData.html +3 -3
  168. package/docs/interfaces/FloorplanEntrance.html +8 -8
  169. package/docs/interfaces/FloorplanExtraObject.html +5 -5
  170. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  171. package/docs/interfaces/FloorplanFloorData.html +3 -3
  172. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  173. package/docs/interfaces/FloorplanObserver.html +3 -3
  174. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  175. package/docs/interfaces/FloorplanPosition.html +3 -3
  176. package/docs/interfaces/FloorplanRoomItem.html +8 -8
  177. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  178. package/docs/interfaces/FloorplanServerBounding.html +5 -5
  179. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  180. package/docs/interfaces/FloorplanServerData.html +3 -3
  181. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  182. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  183. package/docs/interfaces/FloorplanServerEntrance.html +8 -8
  184. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  185. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  186. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  187. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  188. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  189. package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
  190. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  191. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  192. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  193. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  194. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
  195. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  196. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  197. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  198. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  199. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  200. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  201. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
  202. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  203. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
  205. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
  207. package/docs/interfaces/HelperOffset.html +2 -2
  208. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  209. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  210. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  211. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  212. package/docs/interfaces/MinMax.html +2 -2
  213. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  214. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  215. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  216. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  217. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  218. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  219. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  220. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  221. package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
  222. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  223. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
  224. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  225. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
  226. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
  227. package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
  228. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  229. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  230. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  231. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  232. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  233. package/docs/interfaces/Object3DHelperState.html +2 -2
  234. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  235. package/docs/interfaces/PaintBrushAction.html +7 -7
  236. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  237. package/docs/interfaces/PaintBrushState.html +2 -2
  238. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  239. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  240. package/docs/interfaces/PanoMeasureParameterType.html +6 -6
  241. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  242. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  243. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  244. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  245. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  246. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  247. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  248. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  249. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  250. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  251. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  252. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  253. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  254. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  255. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  256. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  257. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  258. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  259. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  260. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  261. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  262. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
  263. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  264. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  265. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  266. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
  267. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
  268. package/docs/interfaces/PluginEventMap.html +4 -4
  269. package/docs/interfaces/Point.html +2 -2
  270. package/docs/interfaces/Room.html +2 -2
  271. package/docs/interfaces/RoomInfo.html +2 -2
  272. package/docs/interfaces/RoomLabel.html +7 -7
  273. package/docs/interfaces/RoomRules.html +1 -1
  274. package/docs/interfaces/Rooms.html +1 -1
  275. package/docs/interfaces/Scissor.html +6 -6
  276. package/docs/interfaces/State.html +4 -4
  277. package/docs/interfaces/TagCacheInterface.html +3 -3
  278. package/docs/interfaces/TagConfig.html +10 -10
  279. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  280. package/docs/interfaces/TagIconUrl.html +7 -7
  281. package/docs/interfaces/TagObjectGroup.html +2 -2
  282. package/docs/interfaces/TagStyle.html +2 -2
  283. package/docs/interfaces/Tags.html +4 -4
  284. package/docs/interfaces/TemporaryState.html +2 -2
  285. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  286. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  287. package/docs/interfaces/Util.EventHandlerConfig.html +4 -4
  288. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  289. package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
  290. package/docs/interfaces/Util.MagnifierParameter.html +5 -5
  291. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  292. package/docs/interfaces/Util.PointIntersection.html +4 -4
  293. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  294. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  295. package/docs/modules/AreaMakerPluginType.html +2 -2
  296. package/docs/modules/CruisePluginTypes.html +2 -2
  297. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  298. package/docs/modules/GuideLineItem.html +2 -2
  299. package/docs/modules/GuideLineModeItem.html +2 -2
  300. package/docs/modules/GuideLinePluginType.html +2 -2
  301. package/docs/modules/ModelMakerPluginType.html +2 -2
  302. package/docs/modules/PanoVideoPluginType.html +2 -2
  303. package/docs/modules/SculptData.html +2 -2
  304. package/docs/modules/Util.html +2 -2
  305. package/docs/modules/Util.sculpt.html +2 -2
  306. package/docs/modules.html +2 -2
  307. package/docs/types/AddObject3DHelperConfig.html +2 -2
  308. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  309. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  310. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  311. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  312. package/docs/types/ArrayPosition.html +1 -1
  313. package/docs/types/AudioAppearance.html +1 -1
  314. package/docs/types/CSS3DRenderExportType.html +1 -1
  315. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  316. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  317. package/docs/types/ClassFunctionParameters.html +1 -1
  318. package/docs/types/Color.html +1 -1
  319. package/docs/types/ContentTypeConfigKey.html +1 -1
  320. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  321. package/docs/types/ContentTypeMap.html +1 -1
  322. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  323. package/docs/types/Create3DElementReturnType.html +1 -1
  324. package/docs/types/CruisePluginExportType.html +1 -1
  325. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  326. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  327. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  328. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  329. package/docs/types/DeprecatedTagProperty.html +2 -2
  330. package/docs/types/Direction-1.html +1 -1
  331. package/docs/types/Direction4.html +1 -1
  332. package/docs/types/ElementRenderer.html +2 -2
  333. package/docs/types/FloorplanRuleLabels.html +2 -2
  334. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  335. package/docs/types/GuideLinePluginExportType.html +1 -1
  336. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  337. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  338. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  339. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  340. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  341. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  342. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  343. package/docs/types/HelperEventMap.html +1 -1
  344. package/docs/types/InternalHelperEventMap.html +1 -1
  345. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  346. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  347. package/docs/types/MediaData.html +2 -2
  348. package/docs/types/MediaStore.html +1 -1
  349. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  350. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  351. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  352. package/docs/types/ModelId.html +1 -1
  353. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  354. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  355. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  356. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  357. package/docs/types/MoveArgs.html +2 -2
  358. package/docs/types/MoveOpts.html +2 -2
  359. package/docs/types/Object3DHelperEventMap.html +1 -1
  360. package/docs/types/ObjectFit.html +1 -1
  361. package/docs/types/PaintBrushEventMap.html +1 -1
  362. package/docs/types/PanoCompassPluginData.html +1 -1
  363. package/docs/types/PanoCompassPluginExportType.html +1 -1
  364. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  365. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  366. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  367. package/docs/types/PanoIndex.html +1 -1
  368. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  369. package/docs/types/PanoMeasureReturnType.html +1 -1
  370. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  371. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  372. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  373. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  374. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  375. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  376. package/docs/types/PipelinePluginParameterType.html +1 -1
  377. package/docs/types/PipelinePluginReturnType.html +1 -1
  378. package/docs/types/PlaneTag.html +2 -2
  379. package/docs/types/Point2DTag.html +2 -2
  380. package/docs/types/Point3DTag.html +2 -2
  381. package/docs/types/PointTagInstance.html +1 -1
  382. package/docs/types/Position.html +1 -1
  383. package/docs/types/PositionFrom.html +1 -1
  384. package/docs/types/RotateArgs.html +2 -2
  385. package/docs/types/RotateOpts.html +2 -2
  386. package/docs/types/RuleLabelsKey.html +1 -1
  387. package/docs/types/RuleLabelsValue.html +1 -1
  388. package/docs/types/ScaleCallback.html +1 -1
  389. package/docs/types/ScalePosition.html +2 -2
  390. package/docs/types/SculptData.BoxData.html +1 -1
  391. package/docs/types/SculptData.CircleData.html +1 -1
  392. package/docs/types/SculptData.CylinderData.html +1 -1
  393. package/docs/types/SculptData.PointData.html +1 -1
  394. package/docs/types/SculptData.PolygonData.html +1 -1
  395. package/docs/types/SculptData.PolylineData.html +1 -1
  396. package/docs/types/SculptData.PrismData.html +1 -1
  397. package/docs/types/SculptData.RectangleData.html +1 -1
  398. package/docs/types/StickType.html +1 -1
  399. package/docs/types/Tag.html +2 -2
  400. package/docs/types/Tag2D.html +2 -2
  401. package/docs/types/Tag3D.html +2 -2
  402. package/docs/types/TagClickParams.html +1 -1
  403. package/docs/types/TagConfigByKey.html +1 -1
  404. package/docs/types/TagContentType.html +1 -1
  405. package/docs/types/TagContentTypeMapping.html +1 -1
  406. package/docs/types/TagDimensionType.html +1 -1
  407. package/docs/types/TagElement.html +2 -2
  408. package/docs/types/TagEvents.html +1 -1
  409. package/docs/types/TagGLTFObject.html +1 -1
  410. package/docs/types/TagHooks.html +1 -1
  411. package/docs/types/TagId.html +1 -1
  412. package/docs/types/TagInstance.html +1 -1
  413. package/docs/types/TagPointType.html +2 -2
  414. package/docs/types/TagRendererMap.html +1 -1
  415. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  416. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  417. package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
  418. package/docs/types/Util.PointSelectorConfig.html +1 -1
  419. package/docs/types/WorkCode.html +1 -1
  420. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  421. package/docs/variables/PLUGIN.html +1 -1
  422. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  423. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  424. package/docs/variables/Util.animeMap.html +1 -1
  425. package/docs/variables/defaultGlobalConfig.html +1 -1
  426. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  427. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  428. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  429. package/libs/PanoMeasurePlugin/Controller/EditController.js +23 -23
  430. package/libs/PanoMeasurePlugin/Controller/index.js +8 -8
  431. package/libs/base/BasePlugin.js +5 -5
  432. package/libs/shared-utils/logger.js +1 -1
  433. package/package.json +1 -1
package/dist/index.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var fp=Object.defineProperty,mp=Object.defineProperties;var gp=Object.getOwnPropertyDescriptors;var yo=Object.getOwnPropertySymbols;var Qc=Object.prototype.hasOwnProperty,Wc=Object.prototype.propertyIsEnumerable;var wo=Math.pow,Ea=(n,t,e)=>t in n?fp(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,k=(n,t)=>{for(var e in t||(t={}))Qc.call(t,e)&&Ea(n,e,t[e]);if(yo)for(var e of yo(t))Wc.call(t,e)&&Ea(n,e,t[e]);return n},te=(n,t)=>mp(n,gp(t));var Mi=(n,t)=>{var e={};for(var i in n)Qc.call(n,i)&&t.indexOf(i)<0&&(e[i]=n[i]);if(n!=null&&yo)for(var i of yo(n))t.indexOf(i)<0&&Wc.call(n,i)&&(e[i]=n[i]);return e};var d=(n,t,e)=>(Ea(n,typeof t!="symbol"?t+"":t,e),e);var Q=(n,t,e)=>new Promise((i,s)=>{var o=l=>{try{a(e.next(l))}catch(c){s(c)}},r=l=>{try{a(e.throw(l))}catch(c){s(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,r);a((e=e.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Je=require("@realsee/five"),W=require("three"),Xo=require("three/examples/jsm/renderers/CSS3DRenderer"),Bl=require("hammerjs"),gr=require("@realsee/five/line"),Zo=require("animejs"),Vf=require("three/examples/jsm/loaders/FBXLoader"),pp=require("earcut"),vp=require("@realsee/five/gltf-loader");function Ap(n){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const e in n)if(e!=="default"){const i=Object.getOwnPropertyDescriptor(n,e);Object.defineProperty(t,e,i.get?i:{enumerable:!0,get:()=>n[e]})}}return t.default=n,Object.freeze(t)}const b=Ap(W);function bp(){console.debug("%c %c@realsee/dnalogel %cv3.59.6",["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=')","background-repeat: no-repeat","background-position: 0 center","padding-left: 8px"].join(";"),"","background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px")}function yp(){const n=typeof OffscreenCanvas!="undefined",t=n&&new OffscreenCanvas(1,1).getContext("webgl")!==null;n&&!t&&Object.assign(window,{OffscreenCanvas:function(e,i){const s=document.createElement("canvas");return s.width=e,s.height=i,s}})}function Bf(){}const Uc=()=>Promise.resolve(),Yc={__queue:Promise.resolve()};function wp(n=Uc){Yc.__queue=Yc.__queue.then(n).catch(Uc)}function Co(n,t,e){const i=n.x,s=n.y,o=Math.floor(i/t*1e4)/1e4,r=Math.floor(s/e*1e4)/1e4;return{x:o,y:r}}function Ma(n,t,e){const{x:i,y:s}=n,o=i*t,r=s*e;return{x:o,y:r}}function Po(n){if(n.length<2)return{};const t=n.slice(-2),e=t[0],i={x:(t[0].x+t[1].x)/2,y:(t[0].y+t[1].y)/2};return{control:e,end:i}}function Cp(n,t,e=Bf){new Promise(i=>{setTimeout(()=>{e(),i(!0)},t*n)})}const Pp=window,Xc=window.requestAnimationFrame||Pp.webkitRequestAnimationFrame||(n=>setTimeout(n,16));function No(n,t=0){t<=0?Xc(n):Xc(()=>No(n,t-1))}var oi=Object.freeze({Linear:Object.freeze({None:function(n){return n},In:function(n){return this.None(n)},Out:function(n){return this.None(n)},InOut:function(n){return this.None(n)}}),Quadratic:Object.freeze({In:function(n){return n*n},Out:function(n){return n*(2-n)},InOut:function(n){return(n*=2)<1?.5*n*n:-.5*(--n*(n-2)-1)}}),Cubic:Object.freeze({In:function(n){return n*n*n},Out:function(n){return--n*n*n+1},InOut:function(n){return(n*=2)<1?.5*n*n*n:.5*((n-=2)*n*n+2)}}),Quartic:Object.freeze({In:function(n){return n*n*n*n},Out:function(n){return 1- --n*n*n*n},InOut:function(n){return(n*=2)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2)}}),Quintic:Object.freeze({In:function(n){return n*n*n*n*n},Out:function(n){return--n*n*n*n*n+1},InOut:function(n){return(n*=2)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2)}}),Sinusoidal:Object.freeze({In:function(n){return 1-Math.sin((1-n)*Math.PI/2)},Out:function(n){return Math.sin(n*Math.PI/2)},InOut:function(n){return .5*(1-Math.sin(Math.PI*(.5-n)))}}),Exponential:Object.freeze({In:function(n){return n===0?0:Math.pow(1024,n-1)},Out:function(n){return n===1?1:1-Math.pow(2,-10*n)},InOut:function(n){return n===0?0:n===1?1:(n*=2)<1?.5*Math.pow(1024,n-1):.5*(-Math.pow(2,-10*(n-1))+2)}}),Circular:Object.freeze({In:function(n){return 1-Math.sqrt(1-n*n)},Out:function(n){return Math.sqrt(1- --n*n)},InOut:function(n){return(n*=2)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)}}),Elastic:Object.freeze({In:function(n){return n===0?0:n===1?1:-Math.pow(2,10*(n-1))*Math.sin((n-1.1)*5*Math.PI)},Out:function(n){return n===0?0:n===1?1:Math.pow(2,-10*n)*Math.sin((n-.1)*5*Math.PI)+1},InOut:function(n){return n===0?0:n===1?1:(n*=2,n<1?-.5*Math.pow(2,10*(n-1))*Math.sin((n-1.1)*5*Math.PI):.5*Math.pow(2,-10*(n-1))*Math.sin((n-1.1)*5*Math.PI)+1)}}),Back:Object.freeze({In:function(n){var t=1.70158;return n===1?1:n*n*((t+1)*n-t)},Out:function(n){var t=1.70158;return n===0?0:--n*n*((t+1)*n+t)+1},InOut:function(n){var t=2.5949095;return(n*=2)<1?.5*(n*n*((t+1)*n-t)):.5*((n-=2)*n*((t+1)*n+t)+2)}}),Bounce:Object.freeze({In:function(n){return 1-oi.Bounce.Out(1-n)},Out:function(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375},InOut:function(n){return n<.5?oi.Bounce.In(n*2)*.5:oi.Bounce.Out(n*2-1)*.5+.5}}),generatePow:function(n){return n===void 0&&(n=4),n=n<Number.EPSILON?Number.EPSILON:n,n=n>1e4?1e4:n,{In:function(t){return Math.pow(t,n)},Out:function(t){return 1-Math.pow(1-t,n)},InOut:function(t){return t<.5?Math.pow(t*2,n)/2:(1-Math.pow(2-t*2,n))/2+.5}}}}),Vn=function(){return performance.now()},Rf=function(){function n(){this._tweens={},this._tweensAddedDuringUpdate={}}return n.prototype.getAll=function(){var t=this;return Object.keys(this._tweens).map(function(e){return t._tweens[e]})},n.prototype.removeAll=function(){this._tweens={}},n.prototype.add=function(t){this._tweens[t.getId()]=t,this._tweensAddedDuringUpdate[t.getId()]=t},n.prototype.remove=function(t){delete this._tweens[t.getId()],delete this._tweensAddedDuringUpdate[t.getId()]},n.prototype.update=function(t,e){t===void 0&&(t=Vn()),e===void 0&&(e=!1);var i=Object.keys(this._tweens);if(i.length===0)return!1;for(;i.length>0;){this._tweensAddedDuringUpdate={};for(var s=0;s<i.length;s++){var o=this._tweens[i[s]],r=!e;o&&o.update(t,r)===!1&&!e&&delete this._tweens[i[s]]}i=Object.keys(this._tweensAddedDuringUpdate)}return!0},n}(),$i={Linear:function(n,t){var e=n.length-1,i=e*t,s=Math.floor(i),o=$i.Utils.Linear;return t<0?o(n[0],n[1],i):t>1?o(n[e],n[e-1],e-i):o(n[s],n[s+1>e?e:s+1],i-s)},Bezier:function(n,t){for(var e=0,i=n.length-1,s=Math.pow,o=$i.Utils.Bernstein,r=0;r<=i;r++)e+=s(1-t,i-r)*s(t,r)*n[r]*o(i,r);return e},CatmullRom:function(n,t){var e=n.length-1,i=e*t,s=Math.floor(i),o=$i.Utils.CatmullRom;return n[0]===n[e]?(t<0&&(s=Math.floor(i=e*(1+t))),o(n[(s-1+e)%e],n[s],n[(s+1)%e],n[(s+2)%e],i-s)):t<0?n[0]-(o(n[0],n[0],n[1],n[1],-i)-n[0]):t>1?n[e]-(o(n[e],n[e],n[e-1],n[e-1],i-e)-n[e]):o(n[s?s-1:0],n[s],n[e<s+1?e:s+1],n[e<s+2?e:s+2],i-s)},Utils:{Linear:function(n,t,e){return(t-n)*e+n},Bernstein:function(n,t){var e=$i.Utils.Factorial;return e(n)/e(t)/e(n-t)},Factorial:function(){var n=[1];return function(t){var e=1;if(n[t])return n[t];for(var i=t;i>1;i--)e*=i;return n[t]=e,e}}(),CatmullRom:function(n,t,e,i,s){var o=(e-n)*.5,r=(i-t)*.5,a=s*s,l=s*a;return(2*t-2*e+o+r)*l+(-3*t+3*e-2*o-r)*a+o*s+t}}},Rl=function(){function n(){}return n.nextId=function(){return n._nextId++},n._nextId=0,n}(),al=new Rf,pr=function(){function n(t,e){e===void 0&&(e=al),this._object=t,this._group=e,this._isPaused=!1,this._pauseStart=0,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._isDynamic=!1,this._initialRepeat=0,this._repeat=0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=0,this._easingFunction=oi.Linear.None,this._interpolationFunction=$i.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._id=Rl.nextId(),this._isChainStopped=!1,this._propertiesAreSetUp=!1,this._goToEnd=!1}return n.prototype.getId=function(){return this._id},n.prototype.isPlaying=function(){return this._isPlaying},n.prototype.isPaused=function(){return this._isPaused},n.prototype.getDuration=function(){return this._duration},n.prototype.to=function(t,e){if(e===void 0&&(e=1e3),this._isPlaying)throw new Error("Can not call Tween.to() while Tween is already started or paused. Stop the Tween first.");return this._valuesEnd=t,this._propertiesAreSetUp=!1,this._duration=e<0?0:e,this},n.prototype.duration=function(t){return t===void 0&&(t=1e3),this._duration=t<0?0:t,this},n.prototype.dynamic=function(t){return t===void 0&&(t=!1),this._isDynamic=t,this},n.prototype.start=function(t,e){if(t===void 0&&(t=Vn()),e===void 0&&(e=!1),this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(var i in this._valuesStartRepeat)this._swapEndStartRepeatValues(i),this._valuesStart[i]=this._valuesStartRepeat[i]}if(this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=t,this._startTime+=this._delayTime,!this._propertiesAreSetUp||e){if(this._propertiesAreSetUp=!0,!this._isDynamic){var s={};for(var o in this._valuesEnd)s[o]=this._valuesEnd[o];this._valuesEnd=s}this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat,e)}return this},n.prototype.startFromCurrentValues=function(t){return this.start(t,!0)},n.prototype._setupProperties=function(t,e,i,s,o){for(var r in i){var a=t[r],l=Array.isArray(a),c=l?"array":typeof a,h=!l&&Array.isArray(i[r]);if(!(c==="undefined"||c==="function")){if(h){var u=i[r];if(u.length===0)continue;for(var f=[a],m=0,p=u.length;m<p;m+=1){var v=this._handleRelativeValue(a,u[m]);if(isNaN(v)){h=!1,console.warn("Found invalid interpolation list. Skipping.");break}f.push(v)}h&&(i[r]=f)}if((c==="object"||l)&&a&&!h){e[r]=l?[]:{};var g=a;for(var A in g)e[r][A]=g[A];s[r]=l?[]:{};var u=i[r];if(!this._isDynamic){var w={};for(var A in u)w[A]=u[A];i[r]=u=w}this._setupProperties(g,e[r],u,s[r],o)}else(typeof e[r]=="undefined"||o)&&(e[r]=a),l||(e[r]*=1),h?s[r]=i[r].slice().reverse():s[r]=e[r]||0}}},n.prototype.stop=function(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this},n.prototype.end=function(){return this._goToEnd=!0,this.update(1/0),this},n.prototype.pause=function(t){return t===void 0&&(t=Vn()),this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStart=t,this._group&&this._group.remove(this),this)},n.prototype.resume=function(t){return t===void 0&&(t=Vn()),!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=t-this._pauseStart,this._pauseStart=0,this._group&&this._group.add(this),this)},n.prototype.stopChainedTweens=function(){for(var t=0,e=this._chainedTweens.length;t<e;t++)this._chainedTweens[t].stop();return this},n.prototype.group=function(t){return t===void 0&&(t=al),this._group=t,this},n.prototype.delay=function(t){return t===void 0&&(t=0),this._delayTime=t,this},n.prototype.repeat=function(t){return t===void 0&&(t=0),this._initialRepeat=t,this._repeat=t,this},n.prototype.repeatDelay=function(t){return this._repeatDelayTime=t,this},n.prototype.yoyo=function(t){return t===void 0&&(t=!1),this._yoyo=t,this},n.prototype.easing=function(t){return t===void 0&&(t=oi.Linear.None),this._easingFunction=t,this},n.prototype.interpolation=function(t){return t===void 0&&(t=$i.Linear),this._interpolationFunction=t,this},n.prototype.chain=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return this._chainedTweens=t,this},n.prototype.onStart=function(t){return this._onStartCallback=t,this},n.prototype.onEveryStart=function(t){return this._onEveryStartCallback=t,this},n.prototype.onUpdate=function(t){return this._onUpdateCallback=t,this},n.prototype.onRepeat=function(t){return this._onRepeatCallback=t,this},n.prototype.onComplete=function(t){return this._onCompleteCallback=t,this},n.prototype.onStop=function(t){return this._onStopCallback=t,this},n.prototype.update=function(t,e){var i=this,s;if(t===void 0&&(t=Vn()),e===void 0&&(e=!0),this._isPaused)return!0;var o,r=this._startTime+this._duration;if(!this._goToEnd&&!this._isPlaying){if(t>r)return!1;e&&this.start(t,!0)}if(this._goToEnd=!1,t<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),this._onEveryStartCallbackFired===!1&&(this._onEveryStartCallback&&this._onEveryStartCallback(this._object),this._onEveryStartCallbackFired=!0);var a=t-this._startTime,l=this._duration+((s=this._repeatDelayTime)!==null&&s!==void 0?s:this._delayTime),c=this._duration+this._repeat*l,h=function(){if(i._duration===0||a>c)return 1;var g=Math.trunc(a/l),A=a-g*l,w=Math.min(A/i._duration,1);return w===0&&a===i._duration?1:w},u=h(),f=this._easingFunction(u);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,f),this._onUpdateCallback&&this._onUpdateCallback(this._object,u),this._duration===0||a>=this._duration)if(this._repeat>0){var m=Math.min(Math.trunc((a-this._duration)/l)+1,this._repeat);isFinite(this._repeat)&&(this._repeat-=m);for(o in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[o]=="string"&&(this._valuesStartRepeat[o]=this._valuesStartRepeat[o]+parseFloat(this._valuesEnd[o])),this._yoyo&&this._swapEndStartRepeatValues(o),this._valuesStart[o]=this._valuesStartRepeat[o];return this._yoyo&&(this._reversed=!this._reversed),this._startTime+=l*m,this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1,!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var p=0,v=this._chainedTweens.length;p<v;p++)this._chainedTweens[p].start(this._startTime+this._duration,!1);return this._isPlaying=!1,!1}return!0},n.prototype._updateProperties=function(t,e,i,s){for(var o in i)if(e[o]!==void 0){var r=e[o]||0,a=i[o],l=Array.isArray(t[o]),c=Array.isArray(a),h=!l&&c;h?t[o]=this._interpolationFunction(a,s):typeof a=="object"&&a?this._updateProperties(t[o],r,a,s):(a=this._handleRelativeValue(r,a),typeof a=="number"&&(t[o]=r+(a-r)*s))}},n.prototype._handleRelativeValue=function(t,e){return typeof e!="string"?e:e.charAt(0)==="+"||e.charAt(0)==="-"?t+parseFloat(e):parseFloat(e)},n.prototype._swapEndStartRepeatValues=function(t){var e=this._valuesStartRepeat[t],i=this._valuesEnd[t];typeof i=="string"?this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(i):this._valuesStartRepeat[t]=this._valuesEnd[t],this._valuesEnd[t]=e},n}(),Ip="23.1.1",Ep=Rl.nextId,ai=al,Mp=ai.getAll.bind(ai),xp=ai.removeAll.bind(ai),kp=ai.add.bind(ai),_f=ai.remove.bind(ai),Dp=ai.update.bind(ai),Zc={Easing:oi,Group:Rf,Interpolation:$i,now:Vn,Sequence:Rl,nextId:Ep,Tween:pr,VERSION:Ip,getAll:Mp,removeAll:xp,add:kp,remove:_f,update:Dp};function Sp(n,t,e,i=oi.Linear.None){const s=new pr(n).to(t,e).easing(i).start();function o(r){s.update(r)&&requestAnimationFrame(o)}return requestAnimationFrame(o),s}var vi=(n=>(n.Drawline="Drawline",n.Undo="Undo",n.Exit="Exit",n))(vi||{});const Vs=Symbol("$$PAINT_BRUSH_EVENT$$");function Io(n){return n[Vs]||(n[Vs]={}),n[Vs]}function Tp(n){n[Vs]||delete n[Vs]}let Lp=class{hasListener(t){const e=Io(this);return e&&e[t]&&e[t].length>0}on(t,e,i){const s=Io(this);return s[t]||(s[t]=[]),s[t].push([e,i||!1]),()=>this.off(t,e)}once(t,e){return this.on(t,e,!0)}off(t,e){if(t===void 0){Tp(this);return}const i=Io(this);if(i[t]||(i[t]=[]),e===void 0){i[t].length=0;return}let s=0;for(;s<i[t].length&&i[t][s][0]!==e;s++);s<i[t].length&&i[t].splice(s,1)}emit(t,...e){let i=!1;const o=Io(this)[t]||[];for(let r of o.slice()){const[a,l=!1]=r,c=a(...e);l&&this.off(t,a),c===!1&&(i=!0)}return i}};function xi(){return((1+Math.random())*65536|0).toString(16).substring(1)}function ct(){return(xi()+xi()+"-"+xi()+"-4"+xi().substr(0,3)+"-"+xi()+"-"+xi()+xi()+xi()).toLowerCase()}const zp=`
1
+ "use strict";var fp=Object.defineProperty,mp=Object.defineProperties;var gp=Object.getOwnPropertyDescriptors;var yo=Object.getOwnPropertySymbols;var Qc=Object.prototype.hasOwnProperty,Wc=Object.prototype.propertyIsEnumerable;var wo=Math.pow,Ea=(n,t,e)=>t in n?fp(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,k=(n,t)=>{for(var e in t||(t={}))Qc.call(t,e)&&Ea(n,e,t[e]);if(yo)for(var e of yo(t))Wc.call(t,e)&&Ea(n,e,t[e]);return n},te=(n,t)=>mp(n,gp(t));var Mi=(n,t)=>{var e={};for(var i in n)Qc.call(n,i)&&t.indexOf(i)<0&&(e[i]=n[i]);if(n!=null&&yo)for(var i of yo(n))t.indexOf(i)<0&&Wc.call(n,i)&&(e[i]=n[i]);return e};var d=(n,t,e)=>(Ea(n,typeof t!="symbol"?t+"":t,e),e);var Q=(n,t,e)=>new Promise((i,s)=>{var o=l=>{try{a(e.next(l))}catch(c){s(c)}},r=l=>{try{a(e.throw(l))}catch(c){s(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,r);a((e=e.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Je=require("@realsee/five"),W=require("three"),Xo=require("three/examples/jsm/renderers/CSS3DRenderer"),Bl=require("hammerjs"),gr=require("@realsee/five/line"),Zo=require("animejs"),Vf=require("three/examples/jsm/loaders/FBXLoader"),pp=require("earcut"),vp=require("@realsee/five/gltf-loader");function Ap(n){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const e in n)if(e!=="default"){const i=Object.getOwnPropertyDescriptor(n,e);Object.defineProperty(t,e,i.get?i:{enumerable:!0,get:()=>n[e]})}}return t.default=n,Object.freeze(t)}const b=Ap(W);function bp(){console.debug("%c %c@realsee/dnalogel %cv3.59.7-alpha.0",["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=')","background-repeat: no-repeat","background-position: 0 center","padding-left: 8px"].join(";"),"","background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px")}function yp(){const n=typeof OffscreenCanvas!="undefined",t=n&&new OffscreenCanvas(1,1).getContext("webgl")!==null;n&&!t&&Object.assign(window,{OffscreenCanvas:function(e,i){const s=document.createElement("canvas");return s.width=e,s.height=i,s}})}function Bf(){}const Uc=()=>Promise.resolve(),Yc={__queue:Promise.resolve()};function wp(n=Uc){Yc.__queue=Yc.__queue.then(n).catch(Uc)}function Co(n,t,e){const i=n.x,s=n.y,o=Math.floor(i/t*1e4)/1e4,r=Math.floor(s/e*1e4)/1e4;return{x:o,y:r}}function Ma(n,t,e){const{x:i,y:s}=n,o=i*t,r=s*e;return{x:o,y:r}}function Po(n){if(n.length<2)return{};const t=n.slice(-2),e=t[0],i={x:(t[0].x+t[1].x)/2,y:(t[0].y+t[1].y)/2};return{control:e,end:i}}function Cp(n,t,e=Bf){new Promise(i=>{setTimeout(()=>{e(),i(!0)},t*n)})}const Pp=window,Xc=window.requestAnimationFrame||Pp.webkitRequestAnimationFrame||(n=>setTimeout(n,16));function No(n,t=0){t<=0?Xc(n):Xc(()=>No(n,t-1))}var oi=Object.freeze({Linear:Object.freeze({None:function(n){return n},In:function(n){return this.None(n)},Out:function(n){return this.None(n)},InOut:function(n){return this.None(n)}}),Quadratic:Object.freeze({In:function(n){return n*n},Out:function(n){return n*(2-n)},InOut:function(n){return(n*=2)<1?.5*n*n:-.5*(--n*(n-2)-1)}}),Cubic:Object.freeze({In:function(n){return n*n*n},Out:function(n){return--n*n*n+1},InOut:function(n){return(n*=2)<1?.5*n*n*n:.5*((n-=2)*n*n+2)}}),Quartic:Object.freeze({In:function(n){return n*n*n*n},Out:function(n){return 1- --n*n*n*n},InOut:function(n){return(n*=2)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2)}}),Quintic:Object.freeze({In:function(n){return n*n*n*n*n},Out:function(n){return--n*n*n*n*n+1},InOut:function(n){return(n*=2)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2)}}),Sinusoidal:Object.freeze({In:function(n){return 1-Math.sin((1-n)*Math.PI/2)},Out:function(n){return Math.sin(n*Math.PI/2)},InOut:function(n){return .5*(1-Math.sin(Math.PI*(.5-n)))}}),Exponential:Object.freeze({In:function(n){return n===0?0:Math.pow(1024,n-1)},Out:function(n){return n===1?1:1-Math.pow(2,-10*n)},InOut:function(n){return n===0?0:n===1?1:(n*=2)<1?.5*Math.pow(1024,n-1):.5*(-Math.pow(2,-10*(n-1))+2)}}),Circular:Object.freeze({In:function(n){return 1-Math.sqrt(1-n*n)},Out:function(n){return Math.sqrt(1- --n*n)},InOut:function(n){return(n*=2)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)}}),Elastic:Object.freeze({In:function(n){return n===0?0:n===1?1:-Math.pow(2,10*(n-1))*Math.sin((n-1.1)*5*Math.PI)},Out:function(n){return n===0?0:n===1?1:Math.pow(2,-10*n)*Math.sin((n-.1)*5*Math.PI)+1},InOut:function(n){return n===0?0:n===1?1:(n*=2,n<1?-.5*Math.pow(2,10*(n-1))*Math.sin((n-1.1)*5*Math.PI):.5*Math.pow(2,-10*(n-1))*Math.sin((n-1.1)*5*Math.PI)+1)}}),Back:Object.freeze({In:function(n){var t=1.70158;return n===1?1:n*n*((t+1)*n-t)},Out:function(n){var t=1.70158;return n===0?0:--n*n*((t+1)*n+t)+1},InOut:function(n){var t=2.5949095;return(n*=2)<1?.5*(n*n*((t+1)*n-t)):.5*((n-=2)*n*((t+1)*n+t)+2)}}),Bounce:Object.freeze({In:function(n){return 1-oi.Bounce.Out(1-n)},Out:function(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375},InOut:function(n){return n<.5?oi.Bounce.In(n*2)*.5:oi.Bounce.Out(n*2-1)*.5+.5}}),generatePow:function(n){return n===void 0&&(n=4),n=n<Number.EPSILON?Number.EPSILON:n,n=n>1e4?1e4:n,{In:function(t){return Math.pow(t,n)},Out:function(t){return 1-Math.pow(1-t,n)},InOut:function(t){return t<.5?Math.pow(t*2,n)/2:(1-Math.pow(2-t*2,n))/2+.5}}}}),Vn=function(){return performance.now()},Rf=function(){function n(){this._tweens={},this._tweensAddedDuringUpdate={}}return n.prototype.getAll=function(){var t=this;return Object.keys(this._tweens).map(function(e){return t._tweens[e]})},n.prototype.removeAll=function(){this._tweens={}},n.prototype.add=function(t){this._tweens[t.getId()]=t,this._tweensAddedDuringUpdate[t.getId()]=t},n.prototype.remove=function(t){delete this._tweens[t.getId()],delete this._tweensAddedDuringUpdate[t.getId()]},n.prototype.update=function(t,e){t===void 0&&(t=Vn()),e===void 0&&(e=!1);var i=Object.keys(this._tweens);if(i.length===0)return!1;for(;i.length>0;){this._tweensAddedDuringUpdate={};for(var s=0;s<i.length;s++){var o=this._tweens[i[s]],r=!e;o&&o.update(t,r)===!1&&!e&&delete this._tweens[i[s]]}i=Object.keys(this._tweensAddedDuringUpdate)}return!0},n}(),$i={Linear:function(n,t){var e=n.length-1,i=e*t,s=Math.floor(i),o=$i.Utils.Linear;return t<0?o(n[0],n[1],i):t>1?o(n[e],n[e-1],e-i):o(n[s],n[s+1>e?e:s+1],i-s)},Bezier:function(n,t){for(var e=0,i=n.length-1,s=Math.pow,o=$i.Utils.Bernstein,r=0;r<=i;r++)e+=s(1-t,i-r)*s(t,r)*n[r]*o(i,r);return e},CatmullRom:function(n,t){var e=n.length-1,i=e*t,s=Math.floor(i),o=$i.Utils.CatmullRom;return n[0]===n[e]?(t<0&&(s=Math.floor(i=e*(1+t))),o(n[(s-1+e)%e],n[s],n[(s+1)%e],n[(s+2)%e],i-s)):t<0?n[0]-(o(n[0],n[0],n[1],n[1],-i)-n[0]):t>1?n[e]-(o(n[e],n[e],n[e-1],n[e-1],i-e)-n[e]):o(n[s?s-1:0],n[s],n[e<s+1?e:s+1],n[e<s+2?e:s+2],i-s)},Utils:{Linear:function(n,t,e){return(t-n)*e+n},Bernstein:function(n,t){var e=$i.Utils.Factorial;return e(n)/e(t)/e(n-t)},Factorial:function(){var n=[1];return function(t){var e=1;if(n[t])return n[t];for(var i=t;i>1;i--)e*=i;return n[t]=e,e}}(),CatmullRom:function(n,t,e,i,s){var o=(e-n)*.5,r=(i-t)*.5,a=s*s,l=s*a;return(2*t-2*e+o+r)*l+(-3*t+3*e-2*o-r)*a+o*s+t}}},Rl=function(){function n(){}return n.nextId=function(){return n._nextId++},n._nextId=0,n}(),al=new Rf,pr=function(){function n(t,e){e===void 0&&(e=al),this._object=t,this._group=e,this._isPaused=!1,this._pauseStart=0,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._isDynamic=!1,this._initialRepeat=0,this._repeat=0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=0,this._easingFunction=oi.Linear.None,this._interpolationFunction=$i.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._id=Rl.nextId(),this._isChainStopped=!1,this._propertiesAreSetUp=!1,this._goToEnd=!1}return n.prototype.getId=function(){return this._id},n.prototype.isPlaying=function(){return this._isPlaying},n.prototype.isPaused=function(){return this._isPaused},n.prototype.getDuration=function(){return this._duration},n.prototype.to=function(t,e){if(e===void 0&&(e=1e3),this._isPlaying)throw new Error("Can not call Tween.to() while Tween is already started or paused. Stop the Tween first.");return this._valuesEnd=t,this._propertiesAreSetUp=!1,this._duration=e<0?0:e,this},n.prototype.duration=function(t){return t===void 0&&(t=1e3),this._duration=t<0?0:t,this},n.prototype.dynamic=function(t){return t===void 0&&(t=!1),this._isDynamic=t,this},n.prototype.start=function(t,e){if(t===void 0&&(t=Vn()),e===void 0&&(e=!1),this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(var i in this._valuesStartRepeat)this._swapEndStartRepeatValues(i),this._valuesStart[i]=this._valuesStartRepeat[i]}if(this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=t,this._startTime+=this._delayTime,!this._propertiesAreSetUp||e){if(this._propertiesAreSetUp=!0,!this._isDynamic){var s={};for(var o in this._valuesEnd)s[o]=this._valuesEnd[o];this._valuesEnd=s}this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat,e)}return this},n.prototype.startFromCurrentValues=function(t){return this.start(t,!0)},n.prototype._setupProperties=function(t,e,i,s,o){for(var r in i){var a=t[r],l=Array.isArray(a),c=l?"array":typeof a,h=!l&&Array.isArray(i[r]);if(!(c==="undefined"||c==="function")){if(h){var u=i[r];if(u.length===0)continue;for(var f=[a],m=0,p=u.length;m<p;m+=1){var v=this._handleRelativeValue(a,u[m]);if(isNaN(v)){h=!1,console.warn("Found invalid interpolation list. Skipping.");break}f.push(v)}h&&(i[r]=f)}if((c==="object"||l)&&a&&!h){e[r]=l?[]:{};var g=a;for(var A in g)e[r][A]=g[A];s[r]=l?[]:{};var u=i[r];if(!this._isDynamic){var w={};for(var A in u)w[A]=u[A];i[r]=u=w}this._setupProperties(g,e[r],u,s[r],o)}else(typeof e[r]=="undefined"||o)&&(e[r]=a),l||(e[r]*=1),h?s[r]=i[r].slice().reverse():s[r]=e[r]||0}}},n.prototype.stop=function(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this},n.prototype.end=function(){return this._goToEnd=!0,this.update(1/0),this},n.prototype.pause=function(t){return t===void 0&&(t=Vn()),this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStart=t,this._group&&this._group.remove(this),this)},n.prototype.resume=function(t){return t===void 0&&(t=Vn()),!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=t-this._pauseStart,this._pauseStart=0,this._group&&this._group.add(this),this)},n.prototype.stopChainedTweens=function(){for(var t=0,e=this._chainedTweens.length;t<e;t++)this._chainedTweens[t].stop();return this},n.prototype.group=function(t){return t===void 0&&(t=al),this._group=t,this},n.prototype.delay=function(t){return t===void 0&&(t=0),this._delayTime=t,this},n.prototype.repeat=function(t){return t===void 0&&(t=0),this._initialRepeat=t,this._repeat=t,this},n.prototype.repeatDelay=function(t){return this._repeatDelayTime=t,this},n.prototype.yoyo=function(t){return t===void 0&&(t=!1),this._yoyo=t,this},n.prototype.easing=function(t){return t===void 0&&(t=oi.Linear.None),this._easingFunction=t,this},n.prototype.interpolation=function(t){return t===void 0&&(t=$i.Linear),this._interpolationFunction=t,this},n.prototype.chain=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return this._chainedTweens=t,this},n.prototype.onStart=function(t){return this._onStartCallback=t,this},n.prototype.onEveryStart=function(t){return this._onEveryStartCallback=t,this},n.prototype.onUpdate=function(t){return this._onUpdateCallback=t,this},n.prototype.onRepeat=function(t){return this._onRepeatCallback=t,this},n.prototype.onComplete=function(t){return this._onCompleteCallback=t,this},n.prototype.onStop=function(t){return this._onStopCallback=t,this},n.prototype.update=function(t,e){var i=this,s;if(t===void 0&&(t=Vn()),e===void 0&&(e=!0),this._isPaused)return!0;var o,r=this._startTime+this._duration;if(!this._goToEnd&&!this._isPlaying){if(t>r)return!1;e&&this.start(t,!0)}if(this._goToEnd=!1,t<this._startTime)return!0;this._onStartCallbackFired===!1&&(this._onStartCallback&&this._onStartCallback(this._object),this._onStartCallbackFired=!0),this._onEveryStartCallbackFired===!1&&(this._onEveryStartCallback&&this._onEveryStartCallback(this._object),this._onEveryStartCallbackFired=!0);var a=t-this._startTime,l=this._duration+((s=this._repeatDelayTime)!==null&&s!==void 0?s:this._delayTime),c=this._duration+this._repeat*l,h=function(){if(i._duration===0||a>c)return 1;var g=Math.trunc(a/l),A=a-g*l,w=Math.min(A/i._duration,1);return w===0&&a===i._duration?1:w},u=h(),f=this._easingFunction(u);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,f),this._onUpdateCallback&&this._onUpdateCallback(this._object,u),this._duration===0||a>=this._duration)if(this._repeat>0){var m=Math.min(Math.trunc((a-this._duration)/l)+1,this._repeat);isFinite(this._repeat)&&(this._repeat-=m);for(o in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[o]=="string"&&(this._valuesStartRepeat[o]=this._valuesStartRepeat[o]+parseFloat(this._valuesEnd[o])),this._yoyo&&this._swapEndStartRepeatValues(o),this._valuesStart[o]=this._valuesStartRepeat[o];return this._yoyo&&(this._reversed=!this._reversed),this._startTime+=l*m,this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1,!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var p=0,v=this._chainedTweens.length;p<v;p++)this._chainedTweens[p].start(this._startTime+this._duration,!1);return this._isPlaying=!1,!1}return!0},n.prototype._updateProperties=function(t,e,i,s){for(var o in i)if(e[o]!==void 0){var r=e[o]||0,a=i[o],l=Array.isArray(t[o]),c=Array.isArray(a),h=!l&&c;h?t[o]=this._interpolationFunction(a,s):typeof a=="object"&&a?this._updateProperties(t[o],r,a,s):(a=this._handleRelativeValue(r,a),typeof a=="number"&&(t[o]=r+(a-r)*s))}},n.prototype._handleRelativeValue=function(t,e){return typeof e!="string"?e:e.charAt(0)==="+"||e.charAt(0)==="-"?t+parseFloat(e):parseFloat(e)},n.prototype._swapEndStartRepeatValues=function(t){var e=this._valuesStartRepeat[t],i=this._valuesEnd[t];typeof i=="string"?this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(i):this._valuesStartRepeat[t]=this._valuesEnd[t],this._valuesEnd[t]=e},n}(),Ip="23.1.1",Ep=Rl.nextId,ai=al,Mp=ai.getAll.bind(ai),xp=ai.removeAll.bind(ai),kp=ai.add.bind(ai),_f=ai.remove.bind(ai),Dp=ai.update.bind(ai),Zc={Easing:oi,Group:Rf,Interpolation:$i,now:Vn,Sequence:Rl,nextId:Ep,Tween:pr,VERSION:Ip,getAll:Mp,removeAll:xp,add:kp,remove:_f,update:Dp};function Sp(n,t,e,i=oi.Linear.None){const s=new pr(n).to(t,e).easing(i).start();function o(r){s.update(r)&&requestAnimationFrame(o)}return requestAnimationFrame(o),s}var vi=(n=>(n.Drawline="Drawline",n.Undo="Undo",n.Exit="Exit",n))(vi||{});const Vs=Symbol("$$PAINT_BRUSH_EVENT$$");function Io(n){return n[Vs]||(n[Vs]={}),n[Vs]}function Tp(n){n[Vs]||delete n[Vs]}let Lp=class{hasListener(t){const e=Io(this);return e&&e[t]&&e[t].length>0}on(t,e,i){const s=Io(this);return s[t]||(s[t]=[]),s[t].push([e,i||!1]),()=>this.off(t,e)}once(t,e){return this.on(t,e,!0)}off(t,e){if(t===void 0){Tp(this);return}const i=Io(this);if(i[t]||(i[t]=[]),e===void 0){i[t].length=0;return}let s=0;for(;s<i[t].length&&i[t][s][0]!==e;s++);s<i[t].length&&i[t].splice(s,1)}emit(t,...e){let i=!1;const o=Io(this)[t]||[];for(let r of o.slice()){const[a,l=!1]=r,c=a(...e);l&&this.off(t,a),c===!1&&(i=!0)}return i}};function xi(){return((1+Math.random())*65536|0).toString(16).substring(1)}function ct(){return(xi()+xi()+"-"+xi()+"-4"+xi().substr(0,3)+"-"+xi()+"-"+xi()+xi()+xi()).toLowerCase()}const zp=`
2
2
  <style type="text/css">
3
3
 
4
4
  #_gl_paintBrush {
@@ -449,7 +449,7 @@ void main() {
449
449
  svg [type='lineItemGroup'] g g g g {
450
450
  stroke: #ffffff;
451
451
  }</style>
452
- `;return n.$$set=o=>{"content"in o&&e(0,i=o.content)},[i,s]}class eA extends de{constructor(t){super(),he(this,t,$0,K0,ce,{content:0},q0)}}function tA(n){me(n,"svelte-ozpg4a",".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}")}function iA(n){let t,e;return t=new J0({props:{url:n[1].url}}),{c(){oe(t.$$.fragment)},m(i,s){ne(t,i,s),e=!0},p(i,s){const o={};s&2&&(o.url=i[1].url),t.$set(o)},i(i){e||(D(t.$$.fragment,i),e=!0)},o(i){B(t.$$.fragment,i),e=!1},d(i){se(t,i)}}}function nA(n){let t,e;return t=new eA({props:{content:n[0]}}),{c(){oe(t.$$.fragment)},m(i,s){ne(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.content=i[0]),t.$set(o)},i(i){e||(D(t.$$.fragment,i),e=!0)},o(i){B(t.$$.fragment,i),e=!1},d(i){se(t,i)}}}function sA(n){let t,e,i,s;const o=[nA,iA],r=[];function a(l,c){return l[0]?0:l[1]?1:-1}return~(e=a(n))&&(i=r[e]=o[e](n)),{c(){t=L("div"),i&&i.c(),P(t,"class","floorplan-plugin__base-image svelte-ozpg4a")},m(l,c){R(l,t,c),~e&&r[e].m(t,null),s=!0},p(l,[c]){let h=e;e=a(l),e===h?~e&&r[e].p(l,c):(i&&(ue(),B(r[h],1,1,()=>{r[h]=null}),fe()),~e?(i=r[e],i?i.p(l,c):(i=r[e]=o[e](l),i.c()),D(i,1),i.m(t,null)):i=null)},i(l){s||(D(i),s=!0)},o(l){B(i),s=!1},d(l){l&&V(t),~e&&r[e].d()}}}function oA(n,t,e){let i,s,{floorIndex:o}=t,{floorplanData:r}=t;return n.$$set=a=>{"floorIndex"in a&&e(2,o=a.floorIndex),"floorplanData"in a&&e(3,r=a.floorplanData)},n.$$.update=()=>{var a,l;n.$$.dirty&12&&e(1,i=r.outlines[o]),n.$$.dirty&12&&e(0,s=(l=(a=r.outlines)==null?void 0:a[o])==null?void 0:l.svgContent)},[s,i,o,r]}class km extends de{constructor(t){super(),he(this,t,oA,sA,ce,{floorIndex:2,floorplanData:3},tA)}}function rA(n){me(n,"svelte-9vzn2f",".floorplan-plugin__room-label-item.svelte-9vzn2f{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-part1.svelte-9vzn2f{display:flex;flex-flow:column;align-items:center;color:#fff;white-space:nowrap}.floorplan-plugin__room-area.svelte-9vzn2f{opacity:0.6;line-height:1.25;margin-top:0.125rem}")}function aA(n){let t,e=n[15].outerHTML+"",i;return{c(){t=new $o(!1),i=Ee(),t.a=i},m(s,o){t.m(e,s,o),R(s,i,o)},p(s,o){o[0]&32768&&e!==(e=s[15].outerHTML+"")&&t.p(e)},d(s){s&&V(i),s&&t.d()}}}function lA(n){let t,e,i,s,o,r,a=n[1]&&fh(n),l=n[0]&&mh(n),c=n[2]&&gh(n);return{c(){t=L("div"),a&&a.c(),e=ee(),l&&l.c(),i=ee(),c&&c.c(),s=Ee(),P(t,"class","floorplan-plugin__room-part1 svelte-9vzn2f"),j(t,"opacity",n[11]?"1":"0")},m(h,u){R(h,t,u),a&&a.m(t,null),O(t,e),l&&l.m(t,null),R(h,i,u),c&&c.m(h,u),R(h,s,u),o||(r=[Wt(Gi.call(null,t)),we(t,"clientWidth",n[32]),we(t,"clientHeight",n[33])],o=!0)},p(h,u){h[1]?a?a.p(h,u):(a=fh(h),a.c(),a.m(t,e)):a&&(a.d(1),a=null),h[0]?l?l.p(h,u):(l=mh(h),l.c(),l.m(t,null)):l&&(l.d(1),l=null),u[0]&2048&&j(t,"opacity",h[11]?"1":"0"),h[2]?c?c.p(h,u):(c=gh(h),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},d(h){h&&V(t),a&&a.d(),l&&l.d(),h&&V(i),c&&c.d(h),h&&V(s),o=!1,rt(r)}}}function fh(n){let t,e=n[3].name+"",i;return{c(){t=L("span"),i=Se(e),P(t,"class","floorplan-plugin__room-name")},m(s,o){R(s,t,o),O(t,i)},p(s,o){o[0]&8&&e!==(e=s[3].name+"")&&Te(i,e)},d(s){s&&V(t)}}}function mh(n){let t,e;return{c(){t=L("span"),e=Se(n[14]),P(t,"class","floorplan-plugin__room-area svelte-9vzn2f"),j(t,"font-size",n[19])},m(i,s){R(i,t,s),O(t,e)},p(i,s){s[0]&16384&&Te(e,i[14])},d(i){i&&V(t)}}}function gh(n){let t,e;return{c(){t=L("span"),e=Se(n[13]),P(t,"class","floorplan-plugin__room-size"),j(t,"font-size",n[19]),j(t,"opacity",n[10]?"0.6":"0")},m(i,s){R(i,t,s),O(t,e)},p(i,s){s[0]&8192&&Te(e,i[13]),s[0]&1024&&j(t,"opacity",i[10]?"0.6":"0")},d(i){i&&V(t)}}}function cA(n){let t,e,i;function s(a,l){if(a[4]===void 0)return lA;if(a[15])return aA}let o=s(n),r=o&&o(n);return{c(){t=L("div"),r&&r.c(),P(t,"class","floorplan-plugin__room-label-item svelte-9vzn2f"),j(t,"left",n[16]),j(t,"top",n[17]),j(t,"font-size",n[18]),j(t,"opacity",n[12]?"1":"0"),j(t,"transform",n[9]?"translate(-50%, calc(-50% + 6px))":"translate(-50%, -50%)")},m(a,l){R(a,t,l),r&&r.m(t,null),e||(i=[Wt(Gi.call(null,t)),we(t,"clientWidth",n[34]),we(t,"clientHeight",n[35])],e=!0)},p(a,l){o===(o=s(a))&&r?r.p(a,l):(r&&r.d(1),r=o&&o(a),r&&(r.c(),r.m(t,null))),l[0]&4096&&j(t,"opacity",a[12]?"1":"0"),l[0]&512&&j(t,"transform",a[9]?"translate(-50%, calc(-50% + 6px))":"translate(-50%, -50%)")},i:K,o:K,d(a){a&&V(t),r&&r.d(),e=!1,rt(i)}}}function hA(n,t){const e=n[0],i=n[1];let s=!1;for(let o=0,r=t.length-1;o<t.length;r=o++){const a=t[o][0],l=t[o][1],c=t[r][0],h=t[r][1];l>i!=h>i&&e<(c-a)*(i-l)/(h-l)+a&&(s=!s)}return s}function dA(n,t,e){let i,s,o,r,a,l,c,h,u,f,m,p,v,{pxmm:g}=t,{roomAreaEnable:A}=t,{roomNameEnable:w}=t,{roomDimensionEnable:I}=t,{room:C}=t,{hoveredRoom:E}=t,{getRoomAreaText:M}=t,{getRoomDimensionText:S}=t,{getLabelElement:T}=t,{adaptiveRoomLabelVisibleEnable:G}=t;function H($,Ae){if(Ae.width===0||Ae.height===0)return()=>!1;const ze=$.path.map(({x:Ve,y:Ge})=>[Ve,Ge]),pe=$.roomLabel.position,{x:Ye,y:je}=pe,{width:ke,height:it}=Ae,le=ke/2,Ce=it/2;return function(Ge){const at=Ye*Ge,qe=je*Ge,nt=ze.map(([Ie,Ze])=>[Ie*Ge,Ze*Ge]);return[[at+le,qe-Ce],[at-le,qe-Ce],[at-le,qe+Ce],[at+le,qe+Ce]].every(Ie=>hA(Ie,nt))}}const Y=document.body.clientWidth,z=document.body.clientHeight,U=C.roomLabel,F=U.positionInImage.x*100+"%",N=U.positionInImage.y*100+"%",X=(Y<500||z<500?10:14)+"px",Z=(Y<500||z<500?8:12)+"px";let q=0,ae=0,re=0,Pe=0,ve=!1;E.subscribe(function(Ae){e(25,ve=!!Ae&&Ae.id===C.id)});const ge=$=>{e(7,re=$.detail)},_e=$=>{e(8,Pe=$.detail)},ye=$=>{e(5,q=$.detail)},We=$=>{e(6,ae=$.detail)};return n.$$set=$=>{"pxmm"in $&&e(20,g=$.pxmm),"roomAreaEnable"in $&&e(0,A=$.roomAreaEnable),"roomNameEnable"in $&&e(1,w=$.roomNameEnable),"roomDimensionEnable"in $&&e(2,I=$.roomDimensionEnable),"room"in $&&e(3,C=$.room),"hoveredRoom"in $&&e(21,E=$.hoveredRoom),"getRoomAreaText"in $&&e(22,M=$.getRoomAreaText),"getRoomDimensionText"in $&&e(23,S=$.getRoomDimensionText),"getLabelElement"in $&&e(4,T=$.getLabelElement),"adaptiveRoomLabelVisibleEnable"in $&&e(24,G=$.adaptiveRoomLabelVisibleEnable)},n.$$.update=()=>{var $,Ae;n.$$.dirty[0]&24&&e(15,i=T==null?void 0:T(C)),n.$$.dirty[0]&4194312&&e(14,s=C.size?M(C.size):""),n.$$.dirty[0]&8388616&&e(13,o=C!=null&&C.dimension?S(($=C.dimension)==null?void 0:$.width,(Ae=C.dimension)==null?void 0:Ae.height):""),n.$$.dirty[0]&384&&e(31,r={width:re,height:Pe}),n.$$.dirty[0]&8|n.$$.dirty[1]&1&&e(30,a=r?H(C,r):void 0),n.$$.dirty[0]&1091567616&&e(27,l=G?!!(a!=null&&a(g)):!0),n.$$.dirty[0]&96&&e(29,c={width:q,height:ae}),n.$$.dirty[0]&536870920&&e(28,h=c?H(C,c):void 0),n.$$.dirty[0]&286261248&&e(26,u=G?!!(h!=null&&h(g)):!0),n.$$.dirty[0]&234881024&&e(12,f=u||l||ve),n.$$.dirty[0]&167772160&&e(11,m=l||ve),n.$$.dirty[0]&100663296&&e(10,p=u||ve),n.$$.dirty[0]&201326592&&e(9,v=l&&!u)},[A,w,I,C,T,q,ae,re,Pe,v,p,m,f,o,s,i,F,N,X,Z,g,E,M,S,G,ve,u,l,h,c,a,r,ge,_e,ye,We]}class uA extends de{constructor(t){super(),he(this,t,dA,cA,ce,{pxmm:20,roomAreaEnable:0,roomNameEnable:1,roomDimensionEnable:2,room:3,hoveredRoom:21,getRoomAreaText:22,getRoomDimensionText:23,getLabelElement:4,adaptiveRoomLabelVisibleEnable:24},rA,[-1,-1])}}function fA(n){me(n,"svelte-13xux0b",".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}")}function ph(n,t,e){const i=n.slice();return i[14]=t[e],i}function vh(n){let t,e=[],i=new Map,s,o,r,a=n[10];const l=c=>c[14].id;for(let c=0;c<a.length;c+=1){let h=ph(n,a,c),u=l(h);i.set(u,e[c]=Ah(u,h))}return{c(){t=L("div");for(let c=0;c<e.length;c+=1)e[c].c();P(t,"class","floorplan-plugin__room-labels svelte-13xux0b")},m(c,h){R(c,t,h);for(let u=0;u<e.length;u+=1)e[u]&&e[u].m(t,null);s=!0,o||(r=[Wt(Gi.call(null,t)),we(t,"clientWidth",n[13])],o=!0)},p(c,h){h&1791&&(a=c[10],ue(),e=Zt(e,h,l,1,c,a,i,t,Ni,Ah,null,ph),fe())},i(c){if(!s){for(let h=0;h<a.length;h+=1)D(e[h]);s=!0}},o(c){for(let h=0;h<e.length;h+=1)B(e[h]);s=!1},d(c){c&&V(t);for(let h=0;h<e.length;h+=1)e[h].d();o=!1,rt(r)}}}function Ah(n,t){let e,i,s;const o=[{pxmm:t[9],room:t[14],hoveredRoom:t[3],roomAreaEnable:t[0],roomNameEnable:t[1],roomDimensionEnable:t[2],getLabelElement:t[6],getRoomAreaText:t[4],getRoomDimensionText:t[5],adaptiveRoomLabelVisibleEnable:t[7]}];let r={};for(let a=0;a<o.length;a+=1)r=vt(r,o[a]);return i=new uA({props:r}),{key:n,first:null,c(){e=Ee(),oe(i.$$.fragment),this.first=e},m(a,l){R(a,e,l),ne(i,a,l),s=!0},p(a,l){t=a;const c=l&1791?Ct(o,[{pxmm:t[9],room:t[14],hoveredRoom:t[3],roomAreaEnable:t[0],roomNameEnable:t[1],roomDimensionEnable:t[2],getLabelElement:t[6],getRoomAreaText:t[4],getRoomDimensionText:t[5],adaptiveRoomLabelVisibleEnable:t[7]}]):{};i.$set(c)},i(a){s||(D(i.$$.fragment,a),s=!0)},o(a){B(i.$$.fragment,a),s=!1},d(a){a&&V(e),se(i,a)}}}function mA(n){let t,e,i=n[10]&&vh(n);return{c(){i&&i.c(),t=Ee()},m(s,o){i&&i.m(s,o),R(s,t,o),e=!0},p(s,[o]){s[10]?i?(i.p(s,o),o&1024&&D(i,1)):(i=vh(s),i.c(),D(i,1),i.m(t.parentNode,t)):i&&(ue(),B(i,1,1,()=>{i=null}),fe())},i(s){e||(D(i),e=!0)},o(s){B(i),e=!1},d(s){i&&i.d(s),s&&V(t)}}}function gA(n,t,e){let i,{floorIndex:s}=t,{roomAreaEnable:o}=t,{roomNameEnable:r}=t,{roomDimensionEnable:a}=t,{floorplanData:l}=t,{hoveredRoom:c}=t,{getRoomAreaText:h}=t,{getRoomDimensionText:u}=t,{getLabelElement:f}=t,{adaptiveRoomLabelVisibleEnable:m}=t,p=0,v=0;const g=A=>{e(8,p=A.detail)};return n.$$set=A=>{"floorIndex"in A&&e(11,s=A.floorIndex),"roomAreaEnable"in A&&e(0,o=A.roomAreaEnable),"roomNameEnable"in A&&e(1,r=A.roomNameEnable),"roomDimensionEnable"in A&&e(2,a=A.roomDimensionEnable),"floorplanData"in A&&e(12,l=A.floorplanData),"hoveredRoom"in A&&e(3,c=A.hoveredRoom),"getRoomAreaText"in A&&e(4,h=A.getRoomAreaText),"getRoomDimensionText"in A&&e(5,u=A.getRoomDimensionText),"getLabelElement"in A&&e(6,f=A.getLabelElement),"adaptiveRoomLabelVisibleEnable"in A&&e(7,m=A.adaptiveRoomLabelVisibleEnable)},n.$$.update=()=>{if(n.$$.dirty&6144&&e(10,i=l.floorDatas[s].rooms),n.$$.dirty&4352){const{max:A,min:w}=l.bounding,I=A.x-w.x;e(9,v=p/I)}},[o,r,a,c,h,u,f,m,p,v,i,s,l,g]}class pA extends de{constructor(t){super(),he(this,t,gA,mA,ce,{floorIndex:11,roomAreaEnable:0,roomNameEnable:1,roomDimensionEnable:2,floorplanData:12,hoveredRoom:3,getRoomAreaText:4,getRoomDimensionText:5,getLabelElement:6,adaptiveRoomLabelVisibleEnable:7},fA)}}function vA(n){me(n,"svelte-1fuyezq",".floorplan-plugin__rule-labels.svelte-1fuyezq.svelte-1fuyezq{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-1fuyezq.svelte-1fuyezq{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-1fuyezq.svelte-1fuyezq{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-1fuyezq.svelte-1fuyezq{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-1fuyezq.svelte-1fuyezq{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-1fuyezq.svelte-1fuyezq{background:#fff;opacity:0.2;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-1fuyezq.svelte-1fuyezq{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-1fuyezq .floorplan-plugin__rule-scale-wrapper.svelte-1fuyezq{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-1fuyezq.svelte-1fuyezq{position:absolute;background:#fff;opacity:0.2;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-1fuyezq .floorplan-plugin__rule-scale.svelte-1fuyezq{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-1fuyezq.svelte-1fuyezq{position:absolute}.floorplan-plugin__rule-labels--top.svelte-1fuyezq .floorplan-plugin__rule-text-wrapper.svelte-1fuyezq{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-1fuyezq .floorplan-plugin__rule-text-wrapper.svelte-1fuyezq{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-1fuyezq .floorplan-plugin__rule-text-wrapper.svelte-1fuyezq{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-1fuyezq .floorplan-plugin__rule-text-wrapper.svelte-1fuyezq{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-1fuyezq.svelte-1fuyezq{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-1fuyezq .floorplan-plugin__rule-text-item.svelte-1fuyezq{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-1fuyezq.svelte-1fuyezq{width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.35}")}function bh(n,t,e){const i=n.slice();return i[11]=t[e],i[13]=e,i}function yh(n,t,e){const i=n.slice();return i[14]=t[e],i}function wh(n){let t;return{c(){t=L("div"),P(t,"class","floorplan-plugin__rule-scale svelte-1fuyezq"),j(t,"left",n[14].left*100+"%"),j(t,"bottom",n[14].bottom*100+"%")},m(e,i){R(e,t,i)},p:K,d(e){e&&V(t)}}}function Ch(n,t){let e,i,s=t[1](t[11].distance)+"",o,r;return{key:n,first:null,c(){e=L("div"),i=L("div"),o=Se(s),r=ee(),P(i,"class","floorplan-plugin__rule-text svelte-1fuyezq"),ie(i,"is-row",t[2]),P(e,"class","floorplan-plugin__rule-text-item svelte-1fuyezq"),j(e,"left",t[11].left*100+"%"),j(e,"bottom",t[11].bottom*100+"%"),this.first=e},m(a,l){R(a,e,l),O(e,i),O(i,o),O(e,r)},p(a,l){t=a,l&2&&s!==(s=t[1](t[11].distance)+"")&&Te(o,s)},d(a){a&&V(e)}}}function AA(n){let t,e,i,s,o,r,a=[],l=new Map,c,h=n[3],u=[];for(let p=0;p<h.length;p+=1)u[p]=wh(yh(n,h,p));let f=n[4];const m=p=>p[13];for(let p=0;p<f.length;p+=1){let v=bh(n,f,p),g=m(v);l.set(g,a[p]=Ch(g,v))}return{c(){t=L("div"),e=L("div"),i=ee(),s=L("div");for(let p=0;p<u.length;p+=1)u[p].c();o=ee(),r=L("div");for(let p=0;p<a.length;p+=1)a[p].c();P(e,"class","floorplan-plugin__rule-line svelte-1fuyezq"),P(s,"class","floorplan-plugin__rule-scale-wrapper svelte-1fuyezq"),ie(s,"is-row",n[2]),P(r,"class","floorplan-plugin__rule-text-wrapper svelte-1fuyezq"),P(t,"class",c="floorplan-plugin__rule-labels floorplan-plugin__rule-labels--"+n[0]+" svelte-1fuyezq"),ie(t,"is-row",n[2]),j(t,"width",n[2]?"100%":1/16+"rem"),j(t,"height",n[2]?1/16+"rem":"100%")},m(p,v){R(p,t,v),O(t,e),O(t,i),O(t,s);for(let g=0;g<u.length;g+=1)u[g]&&u[g].m(s,null);O(t,o),O(t,r);for(let g=0;g<a.length;g+=1)a[g]&&a[g].m(r,null)},p(p,[v]){if(v&8){h=p[3];let g;for(g=0;g<h.length;g+=1){const A=yh(p,h,g);u[g]?u[g].p(A,v):(u[g]=wh(A),u[g].c(),u[g].m(s,null))}for(;g<u.length;g+=1)u[g].d(1);u.length=h.length}v&22&&(f=p[4],a=Zt(a,v,m,1,p,f,l,r,nc,Ch,null,bh)),v&1&&c!==(c="floorplan-plugin__rule-labels floorplan-plugin__rule-labels--"+p[0]+" svelte-1fuyezq")&&P(t,"class",c),v&5&&ie(t,"is-row",p[2])},i:K,o:K,d(p){p&&V(t),Xt(u,p);for(let v=0;v<a.length;v+=1)a[v].d()}}}const zn=1e3,jn=180;function bA(n,t,e){let{type:i}=t,{data:s}=t,{bounding:o}=t,{getRuleDistanceText:r}=t;const a=i==="top"||i==="bottom",l=o.max.x-o.min.x-(zn-jn)*2,c=o.max.y-o.min.y-(zn-jn)*2,h=s.map(([p,v])=>a?[p.x,v.x]:[p.y,v.y]).flat().sort().filter((p,v,g)=>v===0?!0:p!==g[v-1]),u=h.map(p=>{const v=a?(p-o.min.x-zn+jn)/l:0,g=a?0:(p-o.min.y-zn+jn)/c;return{left:v,bottom:g}});u.unshift({left:0,bottom:0}),u.push(a?{left:1,bottom:0}:{left:0,bottom:1});const f=h[h.length-1]-h[0],m=h.map((p,v,g)=>{const A=v===0?0:p-g[v-1],w=v===0?0:(p+g[v-1])/2,I=a?(w-o.min.x-zn+jn)/l:0,C=a?0:(w-o.min.y-zn+jn)/c;return{left:I,bottom:C,distance:A}}).filter(({distance:p})=>p/f>.1);return n.$$set=p=>{"type"in p&&e(0,i=p.type),"data"in p&&e(5,s=p.data),"bounding"in p&&e(6,o=p.bounding),"getRuleDistanceText"in p&&e(1,r=p.getRuleDistanceText)},[i,r,a,u,m,s,o]}class yA extends de{constructor(t){super(),he(this,t,bA,AA,ce,{type:0,data:5,bounding:6,getRuleDistanceText:1},vA)}}function wA(n){me(n,"svelte-1mzj9p3",".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}")}function Ph(n,t,e){const i=n.slice();return i[13]=t[e][0],i[14]=t[e][1],i}function Ih(n,t){let e,i,s;const o=[{type:t[13],data:t[14],bounding:t[1],getRuleDistanceText:t[0]}];let r={};for(let a=0;a<o.length;a+=1)r=vt(r,o[a]);return i=new yA({props:r}),{key:n,first:null,c(){e=Ee(),oe(i.$$.fragment),this.first=e},m(a,l){R(a,e,l),ne(i,a,l),s=!0},p(a,l){t=a;const c=l&19?Ct(o,[{type:t[13],data:t[14],bounding:t[1],getRuleDistanceText:t[0]}]):{};i.$set(c)},i(a){s||(D(i.$$.fragment,a),s=!0)},o(a){B(i.$$.fragment,a),s=!1},d(a){a&&V(e),se(i,a)}}}function CA(n){let t,e=[],i=new Map,s,o=n[4];const r=a=>a[13];for(let a=0;a<o.length;a+=1){let l=Ph(n,o,a),c=r(l);i.set(c,e[a]=Ih(c,l))}return{c(){t=L("div");for(let a=0;a<e.length;a+=1)e[a].c();P(t,"class","floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"),j(t,"width",n[3]),j(t,"height",n[2])},m(a,l){R(a,t,l);for(let c=0;c<e.length;c+=1)e[c]&&e[c].m(t,null);s=!0},p(a,[l]){l&19&&(o=a[4],ue(),e=Zt(e,l,r,1,a,o,i,t,Ni,Ih,null,Ph),fe()),l&8&&j(t,"width",a[3]),l&4&&j(t,"height",a[2])},i(a){if(!s){for(let l=0;l<o.length;l+=1)D(e[l]);s=!0}},o(a){for(let l=0;l<e.length;l+=1)B(e[l]);s=!1},d(a){a&&V(t);for(let l=0;l<e.length;l+=1)e[l].d()}}}const Eh=1e3,Mh=180;function PA(n,t,e){let i,s,o,r,a,l,c,h,u,f,{floorIndex:m}=t,{floorplanData:p}=t,{getRuleDistanceText:v}=t;return n.$$set=g=>{"floorIndex"in g&&e(5,m=g.floorIndex),"floorplanData"in g&&e(6,p=g.floorplanData),"getRuleDistanceText"in g&&e(0,v=g.getRuleDistanceText)},n.$$.update=()=>{n.$$.dirty&64&&e(1,i=p.bounding),n.$$.dirty&96&&e(11,s=p.floorDatas[m].rules),n.$$.dirty&2048&&e(12,o=Object.keys(s)),n.$$.dirty&6144&&e(4,r=o.map(g=>[g,s[g]])),n.$$.dirty&2&&e(9,a=i.max.x-i.min.x),n.$$.dirty&2&&e(7,l=i.max.y-i.min.y),n.$$.dirty&2&&e(10,c=i.max.x-i.min.x-(Eh-Mh)*2),n.$$.dirty&2&&e(8,h=i.max.y-i.min.y-(Eh-Mh)*2),n.$$.dirty&1536&&e(3,u=c/a*100+"%"),n.$$.dirty&384&&e(2,f=h/l*100+"%")},[v,i,f,u,r,m,p,l,h,a,c,s,o]}class IA extends de{constructor(t){super(),he(this,t,PA,CA,ce,{floorIndex:5,floorplanData:6,getRuleDistanceText:0},wA)}}function xr(n,t={}){let e="";const{needZ:i,needA:s}=t;return(i?n.slice().concat(n[0]):n.slice()).forEach((r,a)=>{const{x:l,y:c}=t.format?t.format(r):r,h=l+","+c;return a===0?(e+="M"+h,e):s!=null&&s[a]?(e+="A"+s[a]+","+h,e):(e+="L"+h,e)}),e+(i?"Z":"")}function Dm({x:n,y:t},e){const{max:i,min:s}=e;return{x:n-s.x,y:i.y-t}}function EA(n,t){const e=n.x*1e3+t.bounding.origin.x,i=-n.z*1e3+t.bounding.origin.y;return{x:e,y:i}}function MA(n,t){const e=t.bounding,i=e.max.x-e.min.x,s=e.max.y-e.min.y;return{x:(n.x-e.min.x)/i,y:(e.max.y-n.y)/s}}function xA(n,t){return Math.max(...t.work.observers.map(i=>n.z>=i.standingPosition.z?i.floorIndex:0))}function kA(n){let t;return{c(){t=He("path"),P(t,"d",n[0]),P(t,"fill","#2F313A")},m(e,i){R(e,t,i)},p(e,[i]){i&1&&P(t,"d",e[0])},i:K,o:K,d(e){e&&V(t)}}}function DA(n,t,e){let i,{path:s}=t;return n.$$set=o=>{"path"in o&&e(1,s=o.path)},n.$$.update=()=>{n.$$.dirty&2&&e(0,i=xr(s,{needZ:!0}))},[i,s]}class SA extends de{constructor(t){super(),he(this,t,DA,kA,ce,{path:1})}}function TA(n){let t,e,i,s,o,r;return{c(){t=He("defs"),e=He("pattern"),i=He("rect"),s=He("path"),o=ee(),r=He("path"),P(i,"x","0"),P(i,"y","0"),P(i,"width",n[1]),P(i,"height",n[1]),P(i,"fill","#323747"),P(s,"d",n[2]),P(s,"stroke","#ffffff"),P(s,"stroke-opacity","0.06"),P(s,"stroke-width","0.5"),P(s,"fill","none"),P(e,"id","fpm-room-pattern-0"),P(e,"x","0"),P(e,"y","0"),P(e,"width",n[1]),P(e,"height",n[1]),P(e,"patternUnits","userSpaceOnUse"),P(e,"patternTransform","scale(50 50)"),P(r,"d",n[0]),P(r,"fill","url(#fpm-room-pattern-0)")},m(a,l){R(a,t,l),O(t,e),O(e,i),O(e,s),R(a,o,l),R(a,r,l)},p(a,[l]){l&1&&P(r,"d",a[0])},i:K,o:K,d(a){a&&V(t),a&&V(o),a&&V(r)}}}const Oa=6;function LA(n,t,e){let i,{path:s}=t;const o=Oa*2,r=`M0 ${Oa} h ${o} M${Oa} 0 v ${o}`;return n.$$set=a=>{"path"in a&&e(3,s=a.path)},n.$$.update=()=>{n.$$.dirty&8&&e(0,i=xr(s,{needZ:!0}))},[i,o,r,s]}class zA extends de{constructor(t){super(),he(this,t,LA,TA,ce,{path:3})}}function jA(n){let t,e,i,s,o,r,a,l,c,h,u;return{c(){t=He("defs"),e=He("pattern"),i=He("rect"),s=He("pattern"),o=He("rect"),r=ee(),a=He("path"),l=ee(),c=He("path"),h=ee(),u=He("path"),P(i,"x","0"),P(i,"y","0"),P(i,"width","6"),P(i,"height","50"),P(i,"fill","none"),P(i,"stroke","#4B4B57"),P(i,"stroke-width","0.5"),P(e,"id","room-material-pattern-1"),P(e,"x","0"),P(e,"y","0"),P(e,"width","12"),P(e,"height","50"),P(e,"patternUnits","userSpaceOnUse"),P(e,"patternTransform","scale(50 50)"),P(o,"x","0"),P(o,"y","0"),P(o,"width","6"),P(o,"height","50"),P(o,"fill","none"),P(o,"stroke","#4B4B57"),P(o,"stroke-width","0.5"),P(s,"id","room-material-pattern-2"),P(s,"x","6"),P(s,"y","25"),P(s,"width","12"),P(s,"height","50"),P(s,"patternUnits","userSpaceOnUse"),P(s,"patternTransform","scale(50 50)"),P(a,"d",n[0]),P(a,"fill","#43434D"),P(c,"d",n[0]),P(c,"fill","url(#room-material-pattern-1)"),P(u,"d",n[0]),P(u,"fill","url(#room-material-pattern-2)")},m(f,m){R(f,t,m),O(t,e),O(e,i),O(t,s),O(s,o),R(f,r,m),R(f,a,m),R(f,l,m),R(f,c,m),R(f,h,m),R(f,u,m)},p(f,[m]){m&1&&P(a,"d",f[0]),m&1&&P(c,"d",f[0]),m&1&&P(u,"d",f[0])},i:K,o:K,d(f){f&&V(t),f&&V(r),f&&V(a),f&&V(l),f&&V(c),f&&V(h),f&&V(u)}}}function OA(n,t,e){let i,{path:s}=t;return n.$$set=o=>{"path"in o&&e(1,s=o.path)},n.$$.update=()=>{n.$$.dirty&2&&e(0,i=xr(s,{needZ:!0}))},[i,s]}class VA extends de{constructor(t){super(),he(this,t,OA,jA,ce,{path:1})}}function BA(n){me(n,"svelte-1dykexu",".floorplan-plugin__room-material.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%}svg.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}")}function xh(n,t,e){const i=n.slice();return i[5]=t[e],i}function RA(n){let t,e;return t=new zA({props:{path:n[5].path}}),{c(){oe(t.$$.fragment)},m(i,s){ne(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.path=i[5].path),t.$set(o)},i(i){e||(D(t.$$.fragment,i),e=!0)},o(i){B(t.$$.fragment,i),e=!1},d(i){se(t,i)}}}function _A(n){let t,e;return t=new VA({props:{path:n[5].path}}),{c(){oe(t.$$.fragment)},m(i,s){ne(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.path=i[5].path),t.$set(o)},i(i){e||(D(t.$$.fragment,i),e=!0)},o(i){B(t.$$.fragment,i),e=!1},d(i){se(t,i)}}}function FA(n){let t,e;return t=new SA({props:{path:n[5].path}}),{c(){oe(t.$$.fragment)},m(i,s){ne(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.path=i[5].path),t.$set(o)},i(i){e||(D(t.$$.fragment,i),e=!0)},o(i){B(t.$$.fragment,i),e=!1},d(i){se(t,i)}}}function kh(n){let t,e,i,s;const o=[FA,_A,RA],r=[];function a(l,c){return l[5].floorType===1?0:l[5].floorType===0?1:2}return e=a(n),i=r[e]=o[e](n),{c(){t=He("svg"),i.c(),P(t,"width","100%"),P(t,"height","100%"),P(t,"viewBox",`0 0 ${n[1]} ${n[2]}`),P(t,"class","svelte-1dykexu")},m(l,c){R(l,t,c),r[e].m(t,null),s=!0},p(l,c){let h=e;e=a(l),e===h?r[e].p(l,c):(ue(),B(r[h],1,1,()=>{r[h]=null}),fe(),i=r[e],i?i.p(l,c):(i=r[e]=o[e](l),i.c()),D(i,1),i.m(t,null))},i(l){s||(D(i),s=!0)},o(l){B(i),s=!1},d(l){l&&V(t),r[e].d()}}}function HA(n){let t,e,i=n[0],s=[];for(let r=0;r<i.length;r+=1)s[r]=kh(xh(n,i,r));const o=r=>B(s[r],1,1,()=>{s[r]=null});return{c(){t=L("div");for(let r=0;r<s.length;r+=1)s[r].c();P(t,"class","floorplan-plugin__room-material svelte-1dykexu")},m(r,a){R(r,t,a);for(let l=0;l<s.length;l+=1)s[l]&&s[l].m(t,null);e=!0},p(r,[a]){if(a&7){i=r[0];let l;for(l=0;l<i.length;l+=1){const c=xh(r,i,l);s[l]?(s[l].p(c,a),D(s[l],1)):(s[l]=kh(c),s[l].c(),D(s[l],1),s[l].m(t,null))}for(ue(),l=i.length;l<s.length;l+=1)o(l);fe()}},i(r){if(!e){for(let a=0;a<i.length;a+=1)D(s[a]);e=!0}},o(r){s=s.filter(Boolean);for(let a=0;a<s.length;a+=1)B(s[a]);e=!1},d(r){r&&V(t),Xt(s,r)}}}function NA(n,t,e){let i,{floorIndex:s}=t,{floorplanData:o}=t;const r=o.bounding.max.x-o.bounding.min.x,a=o.bounding.max.y-o.bounding.min.y;return n.$$set=l=>{"floorIndex"in l&&e(3,s=l.floorIndex),"floorplanData"in l&&e(4,o=l.floorplanData)},n.$$.update=()=>{n.$$.dirty&24&&e(0,i=o.floorDatas[s].rooms.map(l=>te(k({},l),{path:l.path.map(c=>Dm(c,o.bounding))})))},[i,r,a,s,o]}class GA extends de{constructor(t){super(),he(this,t,NA,HA,ce,{floorIndex:3,floorplanData:4},BA)}}function QA(n){me(n,"svelte-qq2273","path.svelte-qq2273{--opacity:0;opacity:var(--opacity)}path.svelte-qq2273:hover{opacity:calc(var(--opacity) + 0.1)}")}function WA(n){let t,e,i,s;return{c(){t=He("path"),P(t,"d",n[5]),P(t,"fill","#fff"),P(t,"style",n[2]),P(t,"id",e=`${n[1]}_${n[0].id}`),P(t,"class","svelte-qq2273")},m(o,r){R(o,t,r),i||(s=[we(t,"mouseenter",n[3]),we(t,"mouseleave",n[4])],i=!0)},p(o,[r]){r&4&&P(t,"style",o[2]),r&3&&e!==(e=`${o[1]}_${o[0].id}`)&&P(t,"id",e)},i:K,o:K,d(o){o&&V(t),i=!1,rt(s)}}}function UA(n,t,e){let i,s,{room:o}=t,{floorIndex:r}=t,{floorplanData:a}=t,{highlightData:l}=t,{hoveredRoom:c}=t;function h(){c==null||c.set(o)}function u(){c==null||c.set(void 0)}const{bounding:f}=a,m=xr(o.path,{needZ:!0,format:p=>Dm(p,f)});return n.$$set=p=>{"room"in p&&e(0,o=p.room),"floorIndex"in p&&e(1,r=p.floorIndex),"floorplanData"in p&&e(6,a=p.floorplanData),"highlightData"in p&&e(7,l=p.highlightData),"hoveredRoom"in p&&e(8,c=p.hoveredRoom)},n.$$.update=()=>{n.$$.dirty&131&&e(9,i=l[`${r}_${o.id}`]),n.$$.dirty&512&&e(2,s=i?`fill: ${i.color}; --opacity: ${i.opacity}; pointer-events: ${i.disabled?"none":"auto"}`:null)},[o,r,s,h,u,m,a,l,c,i]}class YA extends de{constructor(t){super(),he(this,t,UA,WA,ce,{room:0,floorIndex:1,floorplanData:6,highlightData:7,hoveredRoom:8},QA)}}function XA(n){me(n,"svelte-1kqo6e4",".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}")}function Dh(n,t,e){const i=n.slice();return i[6]=t[e],i}function Sh(n,t){let e,i,s;const o=[{room:t[6],floorplanData:t[1],hoveredRoom:t[3],floorIndex:t[0],highlightData:t[2]}];let r={};for(let a=0;a<o.length;a+=1)r=vt(r,o[a]);return i=new YA({props:r}),{key:n,first:null,c(){e=Ee(),oe(i.$$.fragment),this.first=e},m(a,l){R(a,e,l),ne(i,a,l),s=!0},p(a,l){t=a;const c=l&15?Ct(o,[{room:t[6],floorplanData:t[1],hoveredRoom:t[3],floorIndex:t[0],highlightData:t[2]}]):{};i.$set(c)},i(a){s||(D(i.$$.fragment,a),s=!0)},o(a){B(i.$$.fragment,a),s=!1},d(a){a&&V(e),se(i,a)}}}function ZA(n){let t,e,i=[],s=new Map,o,r=n[1].floorDatas[n[0]].rooms;const a=l=>l[6].id;for(let l=0;l<r.length;l+=1){let c=Dh(n,r,l),h=a(c);s.set(h,i[l]=Sh(h,c))}return{c(){t=L("div"),e=He("svg");for(let l=0;l<i.length;l+=1)i[l].c();P(e,"width","100%"),P(e,"height","100%"),P(e,"viewBox",`0 0 ${n[4]} ${n[5]}`),P(e,"class","svelte-1kqo6e4"),P(t,"class","floorplan-plugin__room-highlight svelte-1kqo6e4")},m(l,c){R(l,t,c),O(t,e);for(let h=0;h<i.length;h+=1)i[h]&&i[h].m(e,null);o=!0},p(l,[c]){c&15&&(r=l[1].floorDatas[l[0]].rooms,ue(),i=Zt(i,c,a,1,l,r,s,e,Ni,Sh,null,Dh),fe())},i(l){if(!o){for(let c=0;c<r.length;c+=1)D(i[c]);o=!0}},o(l){for(let c=0;c<i.length;c+=1)B(i[c]);o=!1},d(l){l&&V(t);for(let c=0;c<i.length;c+=1)i[c].d()}}}function JA(n,t,e){let{floorIndex:i}=t,{floorplanData:s}=t,{highlightData:o}=t,{hoveredRoom:r}=t;const a=s.bounding.max.x-s.bounding.min.x,l=s.bounding.max.y-s.bounding.min.y;return n.$$set=c=>{"floorIndex"in c&&e(0,i=c.floorIndex),"floorplanData"in c&&e(1,s=c.floorplanData),"highlightData"in c&&e(2,o=c.highlightData),"hoveredRoom"in c&&e(3,r=c.hoveredRoom)},[i,s,o,r,a,l]}class Sm extends de{constructor(t){super(),he(this,t,JA,ZA,ce,{floorIndex:0,floorplanData:1,highlightData:2,hoveredRoom:3},XA)}}function qA(n){me(n,"svelte-1lm20n5",".missing-floor.svelte-1lm20n5{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center}.text.svelte-1lm20n5{margin-top:0.75rem;color:#fff;opacity:0.3}")}function Th(n){let t,e=n[0].text+"",i;return{c(){t=L("span"),i=Se(e),P(t,"class","text svelte-1lm20n5"),j(t,"font-size",n[0].textFontSize+"px")},m(s,o){R(s,t,o),O(t,i)},p(s,o){o&1&&e!==(e=s[0].text+"")&&Te(i,e),o&1&&j(t,"font-size",s[0].textFontSize+"px")},d(s){s&&V(t)}}}function KA(n){let t,e,i,s,o=n[0].text&&Th(n);return{c(){t=L("div"),e=L("img"),s=ee(),o&&o.c(),P(e,"class","image"),P(e,"alt","缺省楼层展位图"),dt(e.src,i=n[0].imageURL)||P(e,"src",i),j(e,"width",n[0].imageWidth+"px"),j(e,"height",n[0].imageHeight+"px"),P(t,"class","missing-floor svelte-1lm20n5")},m(r,a){R(r,t,a),O(t,e),O(t,s),o&&o.m(t,null)},p(r,[a]){a&1&&!dt(e.src,i=r[0].imageURL)&&P(e,"src",i),a&1&&j(e,"width",r[0].imageWidth+"px"),a&1&&j(e,"height",r[0].imageHeight+"px"),r[0].text?o?o.p(r,a):(o=Th(r),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},i:K,o:K,d(r){r&&V(t),o&&o.d()}}}function $A(n,t,e){let{missingFloorConfig:i}=t;return n.$$set=s=>{"missingFloorConfig"in s&&e(0,i=s.missingFloorConfig)},[i]}class eb extends de{constructor(t){super(),he(this,t,$A,KA,ce,{missingFloorConfig:0},qA)}}const Vi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAMAAAANf8AYAAAC2VBMVEUAAACCnP+Dn/+Enf+HqP+Gp/+Fof+Gpf+IrP+Lsf+Dof+Cmv+Lsv+Mtf+Eo/+Bmf+JrP+Hqf+Env+Krv+Fo/+Pu/+Ms/+Qvv+Hqf+RwP+KsP+Fpf+Mtv+Gov+Bnf+Qv/+Nt/+Krv+Ho/+Rwf+Ouv+Emv+Amv+SxP+Sw/+NuP+Mtf/G0f6huP+Ot/+JrP+Jqv+Dnv+crf6Uqv////+QvP+PvP+Ms//J0/3p9/+Ux/+Ouf+Krf+Iqf+Fpv+/zf6WsP+MpP+RqP+Uyf+Jy//V3P6Yuf+Qqf+Rqv/5/f+Sxf+Jy/////+Lx/+Ouf+Nw/+Owv+PwP+Jr/+Jq/+VvP+Vuv/c4v+Fnf+btP+InP+Blf/3+P6Txf+Jzf+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2MbgGmhAGEz4VYSPQF5cyZM6GFYl6eTlN6ixi6aE6PqDLQZRi4EKI/KOfGFjUzqCKsXu6l2RpuAKJxiI1tHhcQJAYOHDhgwOZZs4ZSTHR5lQQYPDW1DS4aELQxdyEIAANGjtk8c6aaqTslk8gVwIAN0w3rAEL2bMtHm12AIOHqenXaNDWztEwo9hKJGHjR6OO0yDSI1IGdoQ0iY0a6Tt+06fKUDRQzqKw8Qlxr1AXrwNqwDvGBA+BrGUDc3d3Xr5+SQZj0E2ERqXIjPAJYNUbD18FoWEeDbHLPzLyQ4ePjQ5i3x1RCubfmpqkjMMNo6KOJ5uqe+f58C9GoaD29XyVSYS1h4DftKeWDDN4AbACZMZAsExEKghWUNKXWhlPfA2P1qjmUT556a9jmQotWi/VOFael1lR7ep4JfRZy8nhpwtG4wMMB/gdi9/nNH+vhezsmJ+fG5quX12fomHl6J+KFy88uA2RJyJPE4wkL4wIPBfgXxO5HxGN7zNw5W2bNnLZhio+OmaR3LD6tplrLfKeYAwX7/O6Dje/2dpniwuKiwoMHH+bn7723Z8/uHTu2fpg9+3p29sYrWVnr1l1cO2HCUFCGT+tshUcWLPj6IDf37ued27Z9unXz2owZU6dOnnxp4sQ1q1ePH79KN6vbQWc1SrfrTit6lO5NO6/F8yZNmofBfgNTwRQLsPLsHQAAAABJRU5ErkJggg==";function kr(n){return n*180/Math.PI}function tb(n){me(n,"svelte-17hhq1b",".floorplan__camera-position.svelte-17hhq1b{pointer-events:none;position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17hhq1b{position:absolute;background-repeat:no-repeat;background-size:100%}")}function ib(n){let t,e;return{c(){t=L("div"),e=L("div"),P(e,"class","floorplan__camera-rotate svelte-17hhq1b"),j(e,"background-image",`url(${n[0]||Vi})`),j(e,"width",n[4]),j(e,"height",n[4]),j(e,"left","-"+n[4]),j(e,"top","-"+n[4]),j(e,"transform",`rotate(${n[3]}deg)`),j(e,"transform-origin",`${n[4]} ${n[4]}`),P(t,"class","floorplan__camera-position svelte-17hhq1b"),j(t,"left",n[1]),j(t,"top",n[2])},m(i,s){R(i,t,s),O(t,e)},p(i,[s]){s&1&&j(e,"background-image",`url(${i[0]||Vi})`);const o=s&1;o&&j(e,"width",i[4]),o&&j(e,"height",i[4]),o&&j(e,"left","-"+i[4]),o&&j(e,"top","-"+i[4]),o&&j(e,"transform",`rotate(${i[3]}deg)`),o&&j(e,"transform-origin",`${i[4]} ${i[4]}`)},i:K,o:K,d(i){i&&V(t)}}}function nb(n,t,e){let{panoIndex:i}=t,{floorplanData:s}=t,{lastPanoramaLongitude:o}=t,{cameraImageUrl:r}=t;const{observers:a}=s,l=a[i],c=l.positionInImage.x,h=l.positionInImage.y,u=c*100+"%",f=h*100+"%",m=-kr(o)+45,p=document.body.clientWidth,v=document.body.clientHeight,A=`${(p<500||v<500?17:37)/16}rem`;return n.$$set=w=>{"panoIndex"in w&&e(5,i=w.panoIndex),"floorplanData"in w&&e(6,s=w.floorplanData),"lastPanoramaLongitude"in w&&e(7,o=w.lastPanoramaLongitude),"cameraImageUrl"in w&&e(0,r=w.cameraImageUrl)},[r,u,f,m,A,i,s,o]}let sb=class extends de{constructor(t){super(),he(this,t,nb,ib,ce,{panoIndex:5,floorplanData:6,lastPanoramaLongitude:7,cameraImageUrl:0},tb)}};const ob="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArUAAAB7CAMAAABdA4ieAAAC91BMVEUAAACOpP/H0P+yxP/a4/+asv/W3/+/z/+cs//S3f+mu//Q2//5+v/H1P/d5f/l6//y9f++zf/i6f+ww/+ovP/7/P/u8v/N2f+Mp//q7/+4yf+uwf+Wr/+7y/+1xv+Ho//x9P+9zP+2x/+swP+gt/+Oqf/Y4v/r8P/l7P/b4//F0/+juf+Zsv+XsP+Trf/p7v97mv9wj/+kuv+ftf/x9P92lf/3+f/I1f+5yv+Eof98m//8/f/4+f90lf+9zf/j6f/T3f/L1/+Bnv/6+/+SrP/m7P/f5v/O2v/L2P/E0v/Az//+///s8P/e5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0lqoZDSTGiVBrXE1iT0wbgEEn0gtSEEncoNfRV1uKKN/KqL+/4C1xYSA7XapjATRGU1hGxT3NtcGnUK0UJgZf7TuDWEls1yt9wiWsja7awzYRWttYgWYrPcLbejWqua2WaCqBSixQLvWe5mi06RWqv8TDOhNUrZC9sdm+Xuu5cpUqvU+wwzYbVVkIXYLHd/olekVpmpZ8KiMYbU7ma/EXJZBW5JrZl2V9bRnNWyWe4xt8TWTPd3FdEYSEFslnsoURlAi01FqN56f2br2xeOe9ytgbyf4nErGg/hl6RN4Jc5Lt++2rVjHMdCIIqiqtoRQW2mMogIyZFjlsB2B9wjjaY1PXa3wcbSPaEDR1fP9fVt8aPai2+f2+TlWu2l0yweZHlEO5S9cyu1lDKj5T/fWCH4jLaUnXMbvFyrzby8xRrayqUM2+ZWqvuM1nmpgHWkl8F9z9yG7LNa5yEMa0n8yHb93Er1oXjnoMVyFn3KQVcP7VRpFn+sDiznaiuHNufsHnkIwy7aPA/r5jbFGW3m7S12ku55WPN7Li1PPIRhN6sjtBjTmm+KmYcwPEOKs9tHF1JDHCoHLZ5DQ8yPBic9DoHjAKvsb85qjbFxHOCprMZaf5qdhlorxwGeTsPIttvPlno0y3GAZfbHp6n3ynGAV0m99u/2J6H3znGAvW4n+J25tdY7xwFey1pvQe6/DlrjOMDLqfXW7N5pbs0YWhxgtpj0rl1uiaHFISzccSWohUCzOIemm0VKChwHOMutKCVwHOA4av/JVi0xtDiRpCRfRcvQ4lBfxSnG0OJc/+xTjKHFyVRMP38iDC0O92lZVRhanO+vcVWGFu9BRWkW7+Z3rapEizdy7ZVm8V5Gtr8AtSnix59eOmYAAAAASUVORK5CYII=";function rb(n){me(n,"svelte-rpkaro",".floorplan-plugin__compass.svelte-rpkaro{position:absolute;left:50%;top:-2.875rem;width:14.4375rem;height:2.5625rem;will-change:opacity;transform-origin:center 11.5rem}.floorplan-plugin__compass-image.svelte-rpkaro{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0.1;background-repeat:no-repeat;background-size:100% 100%}.floorplan-plugin__compass-text.svelte-rpkaro{position:absolute;left:50%;top:0.9375rem;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:0.625rem;color:#fff}")}function ab(n){let t,e,i,s,o;return{c(){t=L("div"),e=L("div"),i=ee(),s=L("span"),o=Se(n[0]),P(e,"class","floorplan-plugin__compass-image svelte-rpkaro"),j(e,"background-image",`url(${ob})`),P(s,"class","floorplan-plugin__compass-text svelte-rpkaro"),P(t,"class","floorplan-plugin__compass svelte-rpkaro"),j(t,"transform",n[2])},m(r,a){R(r,t,a),O(t,e),O(t,i),O(t,s),O(s,o)},p(r,a){a&1&&Te(o,r[0])},d(r){r&&V(t)}}}function lb(n){let t,e=n[1]&&ab(n);return{c(){e&&e.c(),t=Ee()},m(i,s){e&&e.m(i,s),R(i,t,s)},p(i,[s]){i[1]&&e.p(i,s)},i:K,o:K,d(i){e&&e.d(i),i&&V(t)}}}function cb(n,t,e){var c;let{floorplanData:i}=t,{northDesc:s}=t;const o=(c=i.entrance)==null?void 0:c.northRad,r=typeof o=="number",l=`translateX(-50%) translateZ(10px) rotate(${-(o?kr(o):0)+90}deg)`;return n.$$set=h=>{"floorplanData"in h&&e(3,i=h.floorplanData),"northDesc"in h&&e(0,s=h.northDesc)},[s,r,l,i]}class hb extends de{constructor(t){super(),he(this,t,cb,lb,ce,{floorplanData:3,northDesc:0},rb)}}function db(n){me(n,"svelte-bl8zrz",".floorplan-plugin__floor.svelte-bl8zrz{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;pointer-events:none}.floorplan-plugin__floor--is-current.svelte-bl8zrz{opacity:1;pointer-events:auto}")}function ub(n){let t,e,i,s,o,r,a,l,c,h;const u=[{floorIndex:n[2],floorplanData:n[11]}];let f={};for(let C=0;C<u.length;C+=1)f=vt(f,u[C]);t=new GA({props:f});let m=(n[3]||n[5])&&Lh(n);const p=[{floorplanData:n[11],floorIndex:n[2]}];let v={};for(let C=0;C<p.length;C+=1)v=vt(v,p[C]);s=new km({props:v});let g=n[6]&&zh(n),A=n[10]&&jh(n),w=n[4]&&Oh(n),I=n[22]&&Vh(n);return{c(){oe(t.$$.fragment),e=ee(),m&&m.c(),i=ee(),oe(s.$$.fragment),o=ee(),g&&g.c(),r=ee(),A&&A.c(),a=ee(),w&&w.c(),l=ee(),I&&I.c(),c=Ee()},m(C,E){ne(t,C,E),R(C,e,E),m&&m.m(C,E),R(C,i,E),ne(s,C,E),R(C,o,E),g&&g.m(C,E),R(C,r,E),A&&A.m(C,E),R(C,a,E),w&&w.m(C,E),R(C,l,E),I&&I.m(C,E),R(C,c,E),h=!0},p(C,E){const M=E&2052?Ct(u,[{floorIndex:C[2],floorplanData:C[11]}]):{};t.$set(M),C[3]||C[5]?m?(m.p(C,E),E&40&&D(m,1)):(m=Lh(C),m.c(),D(m,1),m.m(i.parentNode,i)):m&&(ue(),B(m,1,1,()=>{m=null}),fe());const S=E&2052?Ct(p,[{floorplanData:C[11],floorIndex:C[2]}]):{};s.$set(S),C[6]?g?(g.p(C,E),E&64&&D(g,1)):(g=zh(C),g.c(),D(g,1),g.m(r.parentNode,r)):g&&(ue(),B(g,1,1,()=>{g=null}),fe()),C[10]?A?(A.p(C,E),E&1024&&D(A,1)):(A=jh(C),A.c(),D(A,1),A.m(a.parentNode,a)):A&&(ue(),B(A,1,1,()=>{A=null}),fe()),C[4]?w?(w.p(C,E),E&16&&D(w,1)):(w=Oh(C),w.c(),D(w,1),w.m(l.parentNode,l)):w&&(ue(),B(w,1,1,()=>{w=null}),fe()),C[22]?I?(I.p(C,E),E&4194304&&D(I,1)):(I=Vh(C),I.c(),D(I,1),I.m(c.parentNode,c)):I&&(ue(),B(I,1,1,()=>{I=null}),fe())},i(C){h||(D(t.$$.fragment,C),D(m),D(s.$$.fragment,C),D(g),D(A),D(w),D(I),h=!0)},o(C){B(t.$$.fragment,C),B(m),B(s.$$.fragment,C),B(g),B(A),B(w),B(I),h=!1},d(C){se(t,C),C&&V(e),m&&m.d(C),C&&V(i),se(s,C),C&&V(o),g&&g.d(C),C&&V(r),A&&A.d(C),C&&V(a),w&&w.d(C),C&&V(l),I&&I.d(C),C&&V(c)}}}function fb(n){let t,e;return t=new eb({props:{missingFloorConfig:n[18]}}),{c(){oe(t.$$.fragment)},m(i,s){ne(t,i,s),e=!0},p(i,s){const o={};s&262144&&(o.missingFloorConfig=i[18]),t.$set(o)},i(i){e||(D(t.$$.fragment,i),e=!0)},o(i){B(t.$$.fragment,i),e=!1},d(i){se(t,i)}}}function Lh(n){let t,e;const i=[{floorIndex:n[2],floorplanData:n[11],hoveredRoom:n[24],highlightData:n[17]}];let s={};for(let o=0;o<i.length;o+=1)s=vt(s,i[o]);return t=new Sm({props:s}),{c(){oe(t.$$.fragment)},m(o,r){ne(t,o,r),e=!0},p(o,r){const a=r&16910340?Ct(i,[{floorIndex:o[2],floorplanData:o[11],hoveredRoom:o[24],highlightData:o[17]}]):{};t.$set(a)},i(o){e||(D(t.$$.fragment,o),e=!0)},o(o){B(t.$$.fragment,o),e=!1},d(o){se(t,o)}}}function zh(n){let t,e;const i=[{floorplanData:n[11],roomAreaEnable:n[7],roomNameEnable:n[8],roomDimensionEnable:n[9],floorIndex:n[2],getRoomAreaText:n[12],getRoomDimensionText:n[13],getLabelElement:n[14],hoveredRoom:n[24],adaptiveRoomLabelVisibleEnable:n[16]}];let s={};for(let o=0;o<i.length;o+=1)s=vt(s,i[o]);return t=new pA({props:s}),{c(){oe(t.$$.fragment)},m(o,r){ne(t,o,r),e=!0},p(o,r){const a=r&16874372?Ct(i,[{floorplanData:o[11],roomAreaEnable:o[7],roomNameEnable:o[8],roomDimensionEnable:o[9],floorIndex:o[2],getRoomAreaText:o[12],getRoomDimensionText:o[13],getLabelElement:o[14],hoveredRoom:o[24],adaptiveRoomLabelVisibleEnable:o[16]}]):{};t.$set(a)},i(o){e||(D(t.$$.fragment,o),e=!0)},o(o){B(t.$$.fragment,o),e=!1},d(o){se(t,o)}}}function jh(n){let t,e;const i=[{floorplanData:n[11],floorIndex:n[2],getRuleDistanceText:n[15]}];let s={};for(let o=0;o<i.length;o+=1)s=vt(s,i[o]);return t=new IA({props:s}),{c(){oe(t.$$.fragment)},m(o,r){ne(t,o,r),e=!0},p(o,r){const a=r&34820?Ct(i,[{floorplanData:o[11],floorIndex:o[2],getRuleDistanceText:o[15]}]):{};t.$set(a)},i(o){e||(D(t.$$.fragment,o),e=!0)},o(o){B(t.$$.fragment,o),e=!1},d(o){se(t,o)}}}function Oh(n){let t,e;const i=[{panoIndex:n[0],floorplanData:n[11],lastPanoramaLongitude:n[19],cameraImageUrl:n[20]}];let s={};for(let o=0;o<i.length;o+=1)s=vt(s,i[o]);return t=new sb({props:s}),{c(){oe(t.$$.fragment)},m(o,r){ne(t,o,r),e=!0},p(o,r){const a=r&1574913?Ct(i,[{panoIndex:o[0],floorplanData:o[11],lastPanoramaLongitude:o[19],cameraImageUrl:o[20]}]):{};t.$set(a)},i(o){e||(D(t.$$.fragment,o),e=!0)},o(o){B(t.$$.fragment,o),e=!1},d(o){se(t,o)}}}function Vh(n){let t,e;return t=new hb({props:{floorplanData:n[11],northDesc:n[21]}}),{c(){oe(t.$$.fragment)},m(i,s){ne(t,i,s),e=!0},p(i,s){const o={};s&2048&&(o.floorplanData=i[11]),s&2097152&&(o.northDesc=i[21]),t.$set(o)},i(i){e||(D(t.$$.fragment,i),e=!0)},o(i){B(t.$$.fragment,i),e=!1},d(i){se(t,i)}}}function mb(n){let t,e,i,s,o;const r=[fb,ub],a=[];function l(c,h){return c[23]?1:0}return e=l(n),i=a[e]=r[e](n),{c(){t=L("div"),i.c(),P(t,"class",s=et(`floorplan-plugin__floor${n[1]?" floorplan-plugin__floor--is-current":""}`)+" svelte-bl8zrz")},m(c,h){R(c,t,h),a[e].m(t,null),o=!0},p(c,[h]){let u=e;e=l(c),e===u?a[e].p(c,h):(ue(),B(a[u],1,1,()=>{a[u]=null}),fe(),i=a[e],i?i.p(c,h):(i=a[e]=r[e](c),i.c()),D(i,1),i.m(t,null)),(!o||h&2&&s!==(s=et(`floorplan-plugin__floor${c[1]?" floorplan-plugin__floor--is-current":""}`)+" svelte-bl8zrz"))&&P(t,"class",s)},i(c){o||(D(i),o=!0)},o(c){B(i),o=!1},d(c){c&&V(t),a[e].d()}}}function gb(n,t,e){let i,s,{panoIndex:o}=t,{isCurrent:r}=t,{floorIndex:a}=t,{highlightEnable:l}=t,{cameraEnable:c}=t,{hoverEnable:h}=t,{roomLabelsEnable:u}=t,{roomAreaEnable:f}=t,{roomNameEnable:m}=t,{roomDimensionEnable:p}=t,{ruleLabelsEnable:v}=t,{floorplanData:g}=t,{getRoomAreaText:A}=t,{getRoomDimensionText:w}=t,{getLabelElement:I}=t,{getRuleDistanceText:C}=t,{adaptiveRoomLabelVisibleEnable:E}=t,{highlightData:M}=t,{missingFloorConfig:S}=t,{lastPanoramaLongitude:T}=t,{cameraImageUrl:G}=t,{northDesc:H}=t,{compassEnable:Y}=t,{store:z=void 0}=t;const U=oc(void 0);return U.subscribe(F=>{z&&e(25,z.roomOnMouse=F,z)}),n.$$set=F=>{"panoIndex"in F&&e(0,o=F.panoIndex),"isCurrent"in F&&e(1,r=F.isCurrent),"floorIndex"in F&&e(2,a=F.floorIndex),"highlightEnable"in F&&e(3,l=F.highlightEnable),"cameraEnable"in F&&e(4,c=F.cameraEnable),"hoverEnable"in F&&e(5,h=F.hoverEnable),"roomLabelsEnable"in F&&e(6,u=F.roomLabelsEnable),"roomAreaEnable"in F&&e(7,f=F.roomAreaEnable),"roomNameEnable"in F&&e(8,m=F.roomNameEnable),"roomDimensionEnable"in F&&e(9,p=F.roomDimensionEnable),"ruleLabelsEnable"in F&&e(10,v=F.ruleLabelsEnable),"floorplanData"in F&&e(11,g=F.floorplanData),"getRoomAreaText"in F&&e(12,A=F.getRoomAreaText),"getRoomDimensionText"in F&&e(13,w=F.getRoomDimensionText),"getLabelElement"in F&&e(14,I=F.getLabelElement),"getRuleDistanceText"in F&&e(15,C=F.getRuleDistanceText),"adaptiveRoomLabelVisibleEnable"in F&&e(16,E=F.adaptiveRoomLabelVisibleEnable),"highlightData"in F&&e(17,M=F.highlightData),"missingFloorConfig"in F&&e(18,S=F.missingFloorConfig),"lastPanoramaLongitude"in F&&e(19,T=F.lastPanoramaLongitude),"cameraImageUrl"in F&&e(20,G=F.cameraImageUrl),"northDesc"in F&&e(21,H=F.northDesc),"compassEnable"in F&&e(22,Y=F.compassEnable),"store"in F&&e(25,z=F.store)},n.$$.update=()=>{n.$$.dirty&2052&&e(26,i=g.floorDatas[a]),n.$$.dirty&67108864&&e(23,s=i.rooms.length>0)},[o,r,a,l,c,h,u,f,m,p,v,g,A,w,I,C,E,M,S,T,G,H,Y,s,U,z,i]}let pb=class extends de{constructor(t){super(),he(this,t,gb,mb,ce,{panoIndex:0,isCurrent:1,floorIndex:2,highlightEnable:3,cameraEnable:4,hoverEnable:5,roomLabelsEnable:6,roomAreaEnable:7,roomNameEnable:8,roomDimensionEnable:9,ruleLabelsEnable:10,floorplanData:11,getRoomAreaText:12,getRoomDimensionText:13,getLabelElement:14,getRuleDistanceText:15,adaptiveRoomLabelVisibleEnable:16,highlightData:17,missingFloorConfig:18,lastPanoramaLongitude:19,cameraImageUrl:20,northDesc:21,compassEnable:22,store:25},db)}};function vb(n){me(n,"svelte-86bqav",".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}")}function Bh(n,t,e){const i=n.slice();return i[25]=t[e],i}function Rh(n){let t,e,i,s=n[14].floorDatas,o=[];for(let a=0;a<s.length;a+=1)o[a]=_h(Bh(n,s,a));const r=a=>B(o[a],1,1,()=>{o[a]=null});return{c(){t=L("div");for(let a=0;a<o.length;a+=1)o[a].c();P(t,"class","floorplan-main svelte-86bqav")},m(a,l){R(a,t,l);for(let c=0;c<o.length;c+=1)o[c]&&o[c].m(t,null);i=!0},p(a,l){if(n=a,l&33554428){s=n[14].floorDatas;let c;for(c=0;c<s.length;c+=1){const h=Bh(n,s,c);o[c]?(o[c].p(h,l),D(o[c],1)):(o[c]=_h(h),o[c].c(),D(o[c],1),o[c].m(t,null))}for(ue(),c=s.length;c<o.length;c+=1)r(c);fe()}},i(a){if(!i){for(let l=0;l<s.length;l+=1)D(o[l]);e||tt(()=>{e=Hi(t,ut,{duration:n[0],easing:wi}),e.start()}),i=!0}},o(a){o=o.filter(Boolean);for(let l=0;l<o.length;l+=1)B(o[l]);i=!1},d(a){a&&V(t),Xt(o,a)}}}function _h(n){let t,e;const i=[{hoverEnable:n[6],highlightEnable:n[7],floorplanData:n[14],getRoomAreaText:n[17],getRoomDimensionText:n[18],getLabelElement:n[19],getRuleDistanceText:n[20],roomLabelsEnable:n[9],roomAreaEnable:n[10],roomNameEnable:n[11],roomDimensionEnable:n[12],ruleLabelsEnable:n[13],adaptiveRoomLabelVisibleEnable:n[21],highlightData:n[22],missingFloorConfig:n[23],panoIndex:n[3],cameraEnable:n[5],cameraImageUrl:n[16],lastPanoramaLongitude:n[15],compassEnable:n[8],northDesc:n[2],store:n[24]},{floorIndex:n[25].floorIndex},{isCurrent:n[25].floorIndex===n[4]}];let s={};for(let o=0;o<i.length;o+=1)s=vt(s,i[o]);return t=new pb({props:s}),{c(){oe(t.$$.fragment)},m(o,r){ne(t,o,r),e=!0},p(o,r){const a=r&33554428?Ct(i,[r&33554412&&{hoverEnable:o[6],highlightEnable:o[7],floorplanData:o[14],getRoomAreaText:o[17],getRoomDimensionText:o[18],getLabelElement:o[19],getRuleDistanceText:o[20],roomLabelsEnable:o[9],roomAreaEnable:o[10],roomNameEnable:o[11],roomDimensionEnable:o[12],ruleLabelsEnable:o[13],adaptiveRoomLabelVisibleEnable:o[21],highlightData:o[22],missingFloorConfig:o[23],panoIndex:o[3],cameraEnable:o[5],cameraImageUrl:o[16],lastPanoramaLongitude:o[15],compassEnable:o[8],northDesc:o[2],store:o[24]},r&16384&&{floorIndex:o[25].floorIndex},r&16400&&{isCurrent:o[25].floorIndex===o[4]}]):{};t.$set(a)},i(o){e||(D(t.$$.fragment,o),e=!0)},o(o){B(t.$$.fragment,o),e=!1},d(o){se(t,o)}}}function Ab(n){let t,e,i=n[1]&&Rh(n);return{c(){i&&i.c(),t=Ee()},m(s,o){i&&i.m(s,o),R(s,t,o),e=!0},p(s,[o]){s[1]?i?(i.p(s,o),o&2&&D(i,1)):(i=Rh(s),i.c(),D(i,1),i.m(t.parentNode,t)):i&&(ue(),B(i,1,1,()=>{i=null}),fe())},i(s){e||(D(i),e=!0)},o(s){B(i),e=!1},d(s){i&&i.d(s),s&&V(t)}}}function bb(n,t,e){let{duration:i=0}=t,{visible:s}=t,{northDesc:o}=t,{panoIndex:r}=t,{floorIndex:a}=t,{cameraEnable:l}=t,{hoverEnable:c}=t,{highlightEnable:h}=t,{compassEnable:u}=t,{roomLabelsEnable:f}=t,{roomAreaEnable:m}=t,{roomNameEnable:p}=t,{roomDimensionEnable:v}=t,{ruleLabelsEnable:g}=t,{floorplanData:A}=t,{lastPanoramaLongitude:w}=t,{cameraImageUrl:I}=t,{getRoomAreaText:C}=t,{getRoomDimensionText:E}=t,{getLabelElement:M}=t,{getRuleDistanceText:S}=t,{adaptiveRoomLabelVisibleEnable:T}=t,{highlightData:G}=t,{missingFloorConfig:H}=t,{store:Y=void 0}=t;return n.$$set=z=>{"duration"in z&&e(0,i=z.duration),"visible"in z&&e(1,s=z.visible),"northDesc"in z&&e(2,o=z.northDesc),"panoIndex"in z&&e(3,r=z.panoIndex),"floorIndex"in z&&e(4,a=z.floorIndex),"cameraEnable"in z&&e(5,l=z.cameraEnable),"hoverEnable"in z&&e(6,c=z.hoverEnable),"highlightEnable"in z&&e(7,h=z.highlightEnable),"compassEnable"in z&&e(8,u=z.compassEnable),"roomLabelsEnable"in z&&e(9,f=z.roomLabelsEnable),"roomAreaEnable"in z&&e(10,m=z.roomAreaEnable),"roomNameEnable"in z&&e(11,p=z.roomNameEnable),"roomDimensionEnable"in z&&e(12,v=z.roomDimensionEnable),"ruleLabelsEnable"in z&&e(13,g=z.ruleLabelsEnable),"floorplanData"in z&&e(14,A=z.floorplanData),"lastPanoramaLongitude"in z&&e(15,w=z.lastPanoramaLongitude),"cameraImageUrl"in z&&e(16,I=z.cameraImageUrl),"getRoomAreaText"in z&&e(17,C=z.getRoomAreaText),"getRoomDimensionText"in z&&e(18,E=z.getRoomDimensionText),"getLabelElement"in z&&e(19,M=z.getLabelElement),"getRuleDistanceText"in z&&e(20,S=z.getRuleDistanceText),"adaptiveRoomLabelVisibleEnable"in z&&e(21,T=z.adaptiveRoomLabelVisibleEnable),"highlightData"in z&&e(22,G=z.highlightData),"missingFloorConfig"in z&&e(23,H=z.missingFloorConfig),"store"in z&&e(24,Y=z.store)},[i,s,o,r,a,l,c,h,u,f,m,p,v,g,A,w,I,C,E,M,S,T,G,H,Y]}let rc=class extends de{constructor(t){super(),he(this,t,bb,Ab,ce,{duration:0,visible:1,northDesc:2,panoIndex:3,floorIndex:4,cameraEnable:5,hoverEnable:6,highlightEnable:7,compassEnable:8,roomLabelsEnable:9,roomAreaEnable:10,roomNameEnable:11,roomDimensionEnable:12,ruleLabelsEnable:13,floorplanData:14,lastPanoramaLongitude:15,cameraImageUrl:16,getRoomAreaText:17,getRoomDimensionText:18,getLabelElement:19,getRuleDistanceText:20,adaptiveRoomLabelVisibleEnable:21,highlightData:22,missingFloorConfig:23,store:24},vb)}};const yb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAwCAYAAACFUvPfAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALaADAAQAAAABAAAAMAAAAADe2FZjAAAEF0lEQVRoBe2WzWskRRiHf13V092TxI2oEzYeVDwITtyDuCiihwiCePGgxIM3vYgHL4J4UIhBRA8i/gPqyUvWg7AiIuIeloDiYUHJLOK6BPwIk9nNODM9Xf1RVe1b3elJRjCZmQ6euqGmuqer33rq4e23GqiOykBloDJQGagMVAYqA5WBykBlYFYD1qwP/tdzaZqO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TRaAx493rbGf3Jr/njMzj920CnKdUaFCjlDioy7NYNvOdGrQJNgI32/L2tkXfFPlxgToqjWVhD6KdLnQRdARf/HHQz2r2X2Gqy8pAZaAyUBmoDFQGKgP/q4F/AJYg9/s0ZoABAAAAAElFTkSuQmCC";function wb(n){return Q(this,null,function*(){const t=new Headers({"Content-Type":"text/plain"}),e=function(s){return Q(this,null,function*(){const o={index:s.index,url:s.url,svgUrl:s.svg_url};if(s.svg_url){const r=yield fetch(s.svg_url,{headers:t}).then(a=>a.text());o.svgContent=r}return o})};return yield Promise.all(n.map(e))})}function Cb(n){const t={id:n.id,size:n.size,name:n.name,path:n.path,roomType:n.room_type,floorType:n.floor_type,roomLabel:{position:n.room_label.position,positionInImage:n.room_label.position_in_image},observerIndexs:n.observer_indexs};return n.dimension&&Object.assign(t,{dimension:n.dimension}),t}function Pb(n){return{floorName:n.floor_name,floorIndex:n.floor_index,rooms:n.rooms.map(Cb),rules:n.rules}}function Ib(n){return{index:n.index,floorIndex:n.floor_index,position:n.position,positionInImage:n.position_in_image}}function Eb(n){return{rad:n.rad,position:n.position,positionInImage:n.position_in_image,northRad:n.north_rad,roomId:n.room_id,floorIndex:n.floor_index}}function Bi(n){return Q(this,null,function*(){const t=yield wb(n.outlines),e=n.computed_data.bounding,i=n.computed_data.floor_datas.map(Pb),s=n.computed_data.entrance?Eb(n.computed_data.entrance):null;return{outlines:t,entrance:s,bounding:e,floorDatas:i,observers:n.computed_data.observers.map(Ib)}})}function Mb(n,t,e){return n.map(s=>{const o=s.position,r=s.icon?s.icon:{url:yb,width:45,height:48},a=xA(o,t),l=EA(o,e),c=MA(l,e);return{floorIndex:a,icon:r,id:s.id,position:l,positionInImage:c}})}function xb(n,t){return t(n),n}function qn(n,t){return xb({},e=>{for(const i in n)t.indexOf(i)===-1&&(e[i]=n[i])})}function Fh(n,t){const e=Math.max(...n.work.observers.map(i=>i.floorIndex));return t>e?n.model.bounding.max.y:Math.max(...n.work.observers.filter(i=>i.floorIndex===t).map(i=>i.standingPosition.y))}function ac(n,t,e=Li.BOUNDING_CENTER){const i=Fh(n,t),s=Fh(n,t+1);return e===Li.BOUNDING_CENTER?(n.model.bounding.max.y+n.model.bounding.min.y)/2:e===Li.CEILING?s:i}function lc(n,t,e,i){const s=ac(n,e,i==null?void 0:i.attachedTo),o=new b.Vector3(0,s,0),r=new b.Vector3(1,s,0),a=o.clone().project(n.camera),l=r.clone().project(n.camera);return Math.abs((l.x-a.x)/1e3)*(t.getBoundingClientRect().width/2)}let Qi=class{constructor(t,e){d(this,"VERSION","3.59.6");d(this,"NAME");d(this,"five");d(this,"workUtil");d(this,"fiveUtil");d(this,"hooks",new ht);d(this,"staticPrefix","//vr-image-4.realsee-cdn.cn");this.updateFive(t),e!=null&&e.staticPrefix&&(this.staticPrefix=e.staticPrefix)}set workCode(t){this.workUtil.workCode=t,this.onWorkCodeChange()}get workCode(){return this.workUtil.workCode}updateFive(t){this.five=t,this.fiveUtil=new vr(t),this.workUtil=this.fiveUtil.workUtil}getCurrentState(){return this.state}absoluteUrl(t){return Ul(this.staticPrefix,t)}onWorkCodeChange(){}},Ci=class extends Qi{};var Dt=(n=>(n.UnknownError="UnknownError",n.DataNotLoaded="DataNotLoaded",n.UpdateSizeError="UpdateSizeError",n.BreakOffByHide="BreakOffByHide",n.BreakOffByDisable="BreakOffByDisable",n.ModelNotLoaded="ModelNotLoaded",n.ChangeModeError="ChangeModeError",n.UpdateCameraError="UpdateCameraError",n))(Dt||{});const Tm=500,kb=80;function on(n,t,e=4){return Math.abs(n-t)<Math.pow(10,-e)}function Lm(n,t,e=4){const i=Math.PI*2,s=n%i,o=t%i,r=Math.min(s,o),a=Math.max(s,o);return on(r,a,e)||on(r+i,a,e)}Object.assign(window,{nearlyEqual:on,nearlyEqualRad:Lm});function Db(n){return Object.prototype.toString.call(n)==="[object Object]"}function Hh(n){return Db(n)&&!!n.isVector3}function cc(n,t){return Q(this,null,function*(){const[e]=yield ln(n.changeMode(...t));if(e)throw new Error("change mode canceled");yield new Promise(r=>{n.once("initAnimationWillStart",()=>{n.once("initAnimationEnded",()=>r())})});const i=t[1];if(!i)return!0;const s=n.getCurrentState();if(!Sb(i,s))throw new Error("pose 与预期不符")})}function Sb(n,t){return Object.keys(n).every(e=>{const i=t[e],s=n[e];return i===void 0||s===void 0?!0:e==="longitude"||e==="latitude"?Lm(i,s,2):typeof i=="number"&&typeof s=="number"?on(i,s,2):Hh(s)&&Hh(i)?s.distanceTo(i)<.01:i===s})}function Tb(n,t){if(n.currentMode!==t.mode)return!1;const{latitude:e,longitude:i,fov:s,offset:o}=t,{latitude:r,longitude:a,offset:l}=n.getCurrentState(),c=n.camera.fov;return!(!on(e,r,2)||!on(i,a,2)||o!==void 0&&o.distanceTo(l)>.01||!on(s,c,2))}function zm(n,t,e=!0){return Q(this,null,function*(){if(Tb(n,t)===!0)return;const s=n.getCurrentState();if(s.mode!==t.mode){const[h]=yield ln(cc(n,[t.mode,t,void 0,e]));if(h)throw h;return}const{latitude:o,longitude:r,fov:a}=s,l=Math.min(1e3,Math.max(200,Math.abs(o-Math.PI/2)*1e3,(r>Math.PI?2*Math.PI-r:r)*500,typeof t.fov=="number"?Math.abs(a-t.fov)*10:1/0)),[c]=yield ln(n.updateCamera(qn(t,["mode"]),l,e));if(c)throw new Error(Dt.UpdateCameraError)})}function Kn(n,t,e=300){var s,o;const i=n.getElement();if(i){i.style.opacity=t+"";for(let r=0;r<((o=(s=i.parentElement)==null?void 0:s.children)==null?void 0:o.length);r++){const a=i.parentElement.children[r];a instanceof HTMLElement&&a.dataset.infive==="1"&&(a.style.opacity=t+"")}i.style.transition=e===0?"none":`opacity ${e}ms linear`,e!==0&&Promise.race([new Promise(r=>i.addEventListener("transitionend",r,{once:!0})),new Promise(r=>setTimeout(r,e))]).then(()=>{i.style.transition="none"})}}function Lb(n){const{latitude:t,longitude:e}=n,i=Math.abs(t-Math.PI/2)>5*Math.PI/180,s=e>5*(Math.PI/180)&&e<355*(Math.PI/180);return i||s}function zb(n){const{latitude:t,longitude:e}=n,i=Math.abs(t-Math.PI/2)<10*Math.PI/180,s=e<30*(Math.PI/180)||e>330*(Math.PI/180);return i&&s}let jb=class extends Ci{constructor(e,i){var l,c,h;super(e);d(this,"name","modelFloorplanPlugin");d(this,"state");d(this,"data");d(this,"showState");d(this,"showPromise");d(this,"app");d(this,"panoIndex",0);d(this,"floorIndex",0);d(this,"selector");d(this,"showRejection");d(this,"wrapper");d(this,"container",document.createElement("div"));d(this,"lastPanoramaLongitude",0);d(this,"size",{width:0,height:0});d(this,"defaultMissingFloorConfig");d(this,"hasAddedEventListener",!1);d(this,"isHiddenByHideFunc",!1);d(this,"highlightData",{});d(this,"store",{roomOnMouse:null});d(this,"dispose",()=>{var e,i;this.removeEventListener(),(e=this.app)==null||e.$destroy(),this.app=void 0,(i=this.container)==null||i.remove(),this.data=void 0,this.wrapper=void 0,this.selector=void 0,this.hooks.emit("dispose")});d(this,"show",(...i)=>Q(this,[...i],function*(e={}){if(!this.state.enabled||!this.showPromise&&this.state.visible)return;const s=e.userAction!==void 0?e.userAction:!0;this.updateState({visible:!0},s),this._show(e)}));d(this,"hide",(...i)=>Q(this,[...i],function*(e={}){this.state.enabled&&(this.isHiddenByHideFunc=!0,this.state.visible!==!1&&(this.updateState({visible:!1},e.userAction||!0),this._hide(e)))}));d(this,"updateSize",()=>{if(!this.data||!this.container||!this.wrapper)return!1;const{min:e,max:i}=this.data.bounding,s=i.x-e.x,o=i.y-e.y,r=this.state.config.attachedTo?{attachedTo:this.state.config.attachedTo}:void 0,a=lc(this.five,this.wrapper,this.floorIndex,r),l=Math.ceil(s*a),c=Math.ceil(o*a);return this.size.width===l&&this.size.height===c||(this.container.style.width=l+"px",this.container.style.height=c+"px",this.size={width:l,height:c}),!0});d(this,"highlight",e=>{this.state.config.highlightEnable&&(this.highlightData=e,this.render())});d(this,"unhighlight",()=>{this.highlightData={},this.render()});d(this,"_disable",e=>{var s,o,r;const{userAction:i}=e;this.hooks.emit("disable",{userAction:i}),(s=this.showRejection)==null||s.call(this,Dt.BreakOffByDisable),this.showPromise=void 0,(o=this.app)==null||o.$destroy(),this.app=void 0,(r=this.container)==null||r.remove(),this.removeEventListener()});d(this,"_enable",e=>{const{userAction:i}=e;this.addEventListener(),this.wrapper&&(this.wrapper.append(this.container),this.hooks.emit("enable",{userAction:i}),this.state.visible&&this._show({userAction:i}))});d(this,"_show",e=>Q(this,null,function*(){var r;if(!this.state.enabled)return;if(!((r=this.five.model)!=null&&r.loaded))throw new Error(Dt.ModelNotLoaded);if(!this.data)throw new Error(Dt.DataNotLoaded);if(this.showPromise)return this.showPromise;const i={floorIndex:this.floorIndex,modelOpacity:this.state.config.modelOpacity,immediately:!1,isAutoShow:!1,userAction:!0},s=k(k({},i),e),o=()=>Q(this,null,function*(){this.hooks.emit("show",{userAction:s.userAction,auto:s.isAutoShow});let a=!1,l;this.showRejection=u=>{a=!0,l=u};const[c]=yield ln(zm(this.five,this.showState,s.userAction));if(c)throw c;if(a)throw l?new Error(l):new Error(Dt.UnknownError);if(!this.updateSize())throw new Error(Dt.UpdateSizeError);this.floorIndex=s.floorIndex,this.five.model.show(this.floorIndex)});return this.isHiddenByHideFunc=!1,this.showPromise=o().then(()=>{this.showPromise=void 0,this.showRejection=void 0;const a=s.modelOpacity,l=s.immediately?0:Tm;Kn(this.five,a,l),this.render(l),this.hooks.emit("showAnimationEnded",{auto:s.isAutoShow,userAction:s.userAction})}).catch(a=>{if(this.showPromise=void 0,this.showRejection=void 0,this.updateState({visible:!1},s.userAction),!s.isAutoShow&&a instanceof Error)throw a}),this.showPromise}));d(this,"_hide",e=>{var o;(o=this.showRejection)==null||o.call(this,Dt.BreakOffByHide),this.showPromise=void 0;const s=k(k({},{userAction:!0,isAutoHide:!1}),e);Kn(this.five,1,0),this.hooks.emit("hide",{auto:s.isAutoHide,userAction:s.userAction}),this.render()});d(this,"handleClick",()=>{if(!this.state.visible)return;if(this.hooks.emit("click",this.store.roomOnMouse))return!1});d(this,"onFiveModelLoaded",()=>{if(this.state.enabled===!1||this.wrapper||!this.selector)return;const e=this.selector instanceof Element?this.selector:document.querySelector(this.selector);if(!e)throw new Error("不正确的父容器选择器");this.wrapper=e,e.append(this.container)});d(this,"onFiveModeChange",e=>{e!==this.showState.mode&&(this.updateState({visible:!1},!1),this._hide({userAction:!1}))});d(this,"onFiveInteriaPan",(e,i)=>{if(!i||this.state.config.autoShowEnable===!1||this.isHiddenByHideFunc)return;const s=this.five.getCurrentState();s.mode==="Floorplan"&&(this.state.visible||zb(s)&&(this.updateState({visible:!0},!0),this._show({isAutoShow:!0})))});d(this,"onFivePanoArrived",e=>{var i;(i=this.five)!=null&&i.work&&(this.panoIndex=e,this.floorIndex=this.workUtil.observers[e].floorIndex)});d(this,"onFiveCameraUpdate",(e,i)=>{if(!this.state.visible||this.showPromise)return;const s=this.five.getCurrentState();Lb(s)&&(this.updateState({visible:!1},i),this._hide({userAction:i,isAutoHide:!0}))});d(this,"onFiveWantsGesture",(e,i)=>{if(this.state.visible&&(i.length>1||e==="mouseWheel"))return!1});d(this,"onFiveWantsPanGesture",(e,i)=>{if(this.five.getCurrentState().mode==="Floorplan"&&this.state.config.autoShowEnable!==!1&&i&&this.state.visible)return this.five.updateCamera(this.showState,0),!1});d(this,"onFiveWantsTapGesture",()=>this.handleClick());d(this,"onFiveWantsChangeMode",(e,i)=>{i==="Panorama"&&e==="Floorplan"&&(this.lastPanoramaLongitude=this.five.getCurrentState().longitude)});d(this,"onModelShownFloorChange",e=>{if(this.floorIndex!==e){if(e===null){const i=this.five.getCurrentState().panoIndex;this.floorIndex=this.five.work.observers[i].floorIndex;return}this.floorIndex=e,this.updateSize(),this.render()}});i!=null&&i.selector&&(this.selector=i.selector,console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")),this.showState={mode:"Floorplan",longitude:0,latitude:Math.PI/2,fov:kb/((l=i==null?void 0:i.scale)!=null?l:1)},this.defaultMissingFloorConfig={imageURL:this.staticPrefix+"/release/web/saas/missing-floorplan.e274c596.png",imageWidth:200,imageHeight:120,text:(h=(c=i.i18n)==null?void 0:c.call(i,"暂无平面图"))!=null?h:"暂无平面图",textFontSize:14};const s={northDesc:"北",modelOpacity:1,cameraEnable:!0,highlightEnable:!1,hoverEnable:!0,compassEnable:!0,autoShowEnable:!0,ruleLabelsEnable:!0,roomLabelsEnable:!0,roomAreaEnable:!0,roomNameEnable:!0,roomDimensionEnable:!0,adaptiveRoomLabelVisibleEnable:!0,cameraImageUrl:Vi,attachedTo:Li.BOUNDING_CENTER,getLabelElement:void 0,missingFloorConfig:k(k({},this.defaultMissingFloorConfig),i.missingFloorConfig),i18n:u=>u,getRoomAreaText:u=>(u/1e6).toFixed(1)+"㎡",getRoomDimensionText:(u,f)=>(u/1e3).toFixed(1)+"m × "+(f/1e3).toFixed(1)+"m",getRuleDistanceText:u=>u.toString()},o=i?qn(i,["selector","scale"]):{},r=k(k({},s.missingFloorConfig),o.missingFloorConfig),a=te(k(k({},s),o),{missingFloorConfig:r});this.state={enabled:!0,visible:!1,config:a},this.initContainer(),e.once("dispose",this.dispose),this.addEventListener()}load(e,i,s=!0){return Q(this,null,function*(){function o(h){return Object.prototype.hasOwnProperty.apply(h,["version"])}const r=e;r&&Bt(r.version)&&console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");const a=JSON.parse(JSON.stringify(e)),l=o(a)?a.data:a,c=this.data;this.data=yield Bi(l),this.hooks.emit("dataLoaded",this.data),this.hooks.emit("dataChange",this.data,c),i&&this.updateState(i,s),this.render()})}appendTo(e){if(this.wrapper=e,!!this.state.enabled)return e.appendChild(this.container),this.render(),this}enable(e={}){if(this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!0},e.userAction||i),this._enable({userAction:i})}disable(e={}){if(!this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!1},e.userAction||i),this._disable({userAction:i})}setState(e,i={}){const s=this.state,o=i.userAction!==void 0?i.userAction:!0;if(this.updateState(e,o),e.enabled!==void 0&&s.enabled!==e.enabled&&(e.enabled?this._enable({userAction:o}):this._disable({userAction:o})),e.visible!==void 0&&s.visible!==e.visible){const r={userAction:o};e.visible?this._show(r):this._hide(r)}this.render()}changeConfigs(e,i=!0){this.updateState({config:e},i),this.render()}formatData(e){return Q(this,null,function*(){return yield Bi(e.data)})}updateState(e,i){var a;const s=this.state,o=(a=e.config)!=null&&a.missingFloorConfig?k(k({},s.config.missingFloorConfig),e.config.missingFloorConfig):s.config.missingFloorConfig,r=e.config?te(k(k({},s.config),e.config),{missingFloorConfig:o}):s.config;this.state=te(k(k({},this.state),e),{config:r}),!wt(this.state,s,{deep:!0})&&this.hooks.emit("stateChange",{state:this.state,prevState:s,userAction:i})}initContainer(){this.container.classList.add("floorplan-plugin"),Object.assign(this.container.style,{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",zIndex:10,pointerEvents:"none"}),this.five.addExtraElement(this.container)}addEventListener(){if(!this.state.enabled||this.hasAddedEventListener)return;const e=this.five;e.model.loaded?this.onFiveModelLoaded():e.once("modelLoaded",this.onFiveModelLoaded),e.on("modeChange",this.onFiveModeChange),e.on("interiaPan",this.onFiveInteriaPan),e.on("panoArrived",this.onFivePanoArrived),e.on("cameraUpdate",this.onFiveCameraUpdate),e.on("wantsGesture",this.onFiveWantsGesture),e.on("wantsPanGesture",this.onFiveWantsPanGesture),e.on("wantsTapGesture",this.onFiveWantsTapGesture),e.on("wantsChangeMode",this.onFiveWantsChangeMode),e.on("modelShownFloorChange",this.onModelShownFloorChange)}removeEventListener(){const e=this.five;this.hasAddedEventListener=!1,e.off("modelLoaded",this.onFiveModelLoaded),e.off("modeChange",this.onFiveModeChange),e.off("interiaPan",this.onFiveInteriaPan),e.off("panoArrived",this.onFivePanoArrived),e.off("cameraUpdate",this.onFiveCameraUpdate),e.off("wantsGesture",this.onFiveWantsGesture),e.off("wantsPanGesture",this.onFiveWantsPanGesture),e.off("wantsTapGesture",this.onFiveWantsTapGesture),e.off("wantsChangeMode",this.onFiveWantsChangeMode),e.off("modelShownFloorChange",this.onModelShownFloorChange)}render(e){if(!this.state.enabled||!this.container||!this.data||this.size.width===0||this.showPromise)return;const i=te(k({},this.state.config),{visible:this.state.visible,duration:e!=null?e:0,panoIndex:this.panoIndex,floorIndex:this.floorIndex,floorplanData:this.data,lastPanoramaLongitude:this.lastPanoramaLongitude,highlightData:this.highlightData,store:this.store});if(this.app)return this.app.$set(i);this.app=new rc({target:this.container,intro:!0,props:i})}};const Ob=(n,t)=>new jb(n,t);function Vb(n){const{latitude:t,longitude:e}=n,i=Math.abs(t-Math.PI/2)>5*Math.PI/180,s=e>5*(Math.PI/180)&&e<355*(Math.PI/180);return i||s}function Bb(n){const{latitude:t,longitude:e}=n,i=Math.abs(t-Math.PI/2)<10*Math.PI/180,s=e<30*(Math.PI/180)||e>330*(Math.PI/180);return i&&s}let Rb=class extends Ci{constructor(e,i){var l,c;super(e);d(this,"name","modelFloorplanPlugin");d(this,"state");d(this,"data");d(this,"showState");d(this,"showPromise");d(this,"app");d(this,"panoIndex",0);d(this,"floorIndex",0);d(this,"selector");d(this,"showRejection");d(this,"wrapper");d(this,"container",document.createElement("div"));d(this,"lastPanoramaLongitude",0);d(this,"size",{width:0,height:0});d(this,"defaultMissingFloorConfig");d(this,"hasAddedEventListener",!1);d(this,"isHiddenByHideFunc",!1);d(this,"highlightData",{});d(this,"store",{roomOnMouse:null});d(this,"dispose",()=>{var e,i;this.removeEventListener(),(e=this.app)==null||e.$destroy(),this.app=void 0,(i=this.container)==null||i.remove(),this.data=void 0,this.wrapper=void 0,this.selector=void 0,this.hooks.emit("dispose")});d(this,"show",(...i)=>Q(this,[...i],function*(e={}){if(!this.state.enabled||!this.showPromise&&this.state.visible)return;const s=e.userAction!==void 0?e.userAction:!0;this.updateState({visible:!0},s),this._show(e)}));d(this,"hide",(...i)=>Q(this,[...i],function*(e={}){this.state.enabled&&(this.isHiddenByHideFunc=!0,this.state.visible!==!1&&(this.updateState({visible:!1},e.userAction||!0),this._hide(e)))}));d(this,"updateSize",()=>{if(!this.data||!this.container||!this.wrapper)return!1;const{min:e,max:i}=this.data.bounding,s=i.x-e.x,o=i.y-e.y,r=this.state.config.attachedTo?{attachedTo:this.state.config.attachedTo}:void 0,a=lc(this.five,this.wrapper,this.floorIndex,r),l=Math.ceil(s*a),c=Math.ceil(o*a);return this.size.width===l&&this.size.height===c||(this.container.style.width=l+"px",this.container.style.height=c+"px",this.size={width:l,height:c}),!0});d(this,"highlight",e=>{this.state.config.highlightEnable&&(this.highlightData=e,this.render())});d(this,"unhighlight",()=>{this.highlightData={},this.render()});d(this,"_disable",e=>{var s,o,r;const{userAction:i}=e;this.hooks.emit("disable",{userAction:i}),(s=this.showRejection)==null||s.call(this,Dt.BreakOffByDisable),this.showPromise=void 0,(o=this.app)==null||o.$destroy(),this.app=void 0,(r=this.container)==null||r.remove(),this.removeEventListener()});d(this,"_enable",e=>{const{userAction:i}=e;this.addEventListener(),this.wrapper&&(this.wrapper.append(this.container),this.hooks.emit("enable",{userAction:i}),this.state.visible&&this._show({userAction:i}))});d(this,"_show",e=>Q(this,null,function*(){var r;if(!this.state.enabled)return;if(!((r=this.fiveUtil.model)!=null&&r.loaded))throw new Error(Dt.ModelNotLoaded);if(!this.data)throw new Error(Dt.DataNotLoaded);if(this.showPromise)return this.showPromise;const i={floorIndex:this.floorIndex,modelOpacity:this.state.config.modelOpacity,immediately:!1,isAutoShow:!1,userAction:!0},s=k(k({},i),e),o=()=>Q(this,null,function*(){this.hooks.emit("show",{userAction:s.userAction,auto:s.isAutoShow});let a=!1,l;this.showRejection=u=>{a=!0,l=u};const[c]=yield ln(zm(this.five,this.showState,s.userAction));if(c)throw c;if(a)throw l?new Error(l):new Error(Dt.UnknownError);if(!this.updateSize())throw new Error(Dt.UpdateSizeError);this.updatePosition(),this.floorIndex=s.floorIndex,this.fiveUtil.model.show(this.floorIndex)});return this.isHiddenByHideFunc=!1,this.showPromise=o().then(()=>{this.showPromise=void 0,this.showRejection=void 0;const a=s.modelOpacity,l=s.immediately?0:Tm;Kn(this.five,a,l),this.render(l),this.hooks.emit("showAnimationEnded",{auto:s.isAutoShow,userAction:s.userAction})}).catch(a=>{if(this.showPromise=void 0,this.showRejection=void 0,this.updateState({visible:!1},s.userAction),!s.isAutoShow&&a instanceof Error)throw a}),this.showPromise}));d(this,"_hide",e=>{var o;(o=this.showRejection)==null||o.call(this,Dt.BreakOffByHide),this.showPromise=void 0;const s=k(k({},{userAction:!0,isAutoHide:!1}),e);Kn(this.five,1,0),this.hooks.emit("hide",{auto:s.isAutoHide,userAction:s.userAction}),this.render()});d(this,"handleClick",()=>{if(!this.state.visible)return;if(this.hooks.emit("click",this.store.roomOnMouse))return!1});d(this,"onFiveModelLoaded",()=>{const i=this.five.model.bounding.getCenter(new b.Vector3);if(this.showState.offset=i,this.state.enabled===!1||this.wrapper||!this.selector)return;const s=this.selector instanceof Element?this.selector:document.querySelector(this.selector);if(!s)throw new Error("不正确的父容器选择器");this.wrapper=s,s.append(this.container)});d(this,"onFiveModeChange",e=>{e!==this.showState.mode&&(this.updateState({visible:!1},!1),this._hide({userAction:!1}))});d(this,"onFiveInteriaPan",(e,i)=>{if(!i||this.state.visible||this.state.config.autoShowEnable===!1||this.isHiddenByHideFunc)return;const s=this.five.getCurrentState();s.mode===this.showState.mode&&Bb(s)&&(this.updateState({visible:!0},!0),this._show({isAutoShow:!0}))});d(this,"onFivePanoArrived",e=>{var i;(i=this.five)!=null&&i.work&&(this.panoIndex=e,this.floorIndex=this.workUtil.observers[e].floorIndex)});d(this,"onFiveCameraUpdate",(e,i)=>{if(!this.state.visible||this.showPromise)return;const s=this.five.getCurrentState();this.updatePosition(),this.updateSize(),Vb(s)&&(this.updateState({visible:!1},i),this._hide({userAction:i}))});d(this,"onFiveWantsPanGesture",(e,i)=>{if(this.five.getCurrentState().mode===this.showState.mode&&this.state.config.autoShowEnable!==!1&&i&&this.state.visible)return this.five.updateCamera(qn(this.showState,["offset"]),0),!1});d(this,"onFiveWantsTapGesture",()=>this.handleClick());d(this,"onFiveWantsChangeMode",(e,i)=>{i==="Panorama"&&e===this.showState.mode&&(this.lastPanoramaLongitude=this.five.getCurrentState().longitude)});d(this,"onModelShownFloorChange",e=>{var i;if(this.floorIndex!==e){if(e===null){const s=this.five.getCurrentState().panoIndex;this.floorIndex=(i=this.five.work)==null?void 0:i.observers[s].floorIndex;return}this.floorIndex=e,this.updateSize(),this.render()}});i!=null&&i.selector&&(this.selector=i.selector,console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")),this.showState={mode:"Mapview",longitude:0,latitude:Math.PI/2},this.defaultMissingFloorConfig={imageURL:this.staticPrefix+"/release/web/saas/missing-floorplan.e274c596.png",imageWidth:200,imageHeight:120,text:(c=(l=i.i18n)==null?void 0:l.call(i,"暂无平面图"))!=null?c:"暂无平面图",textFontSize:14};const s={northDesc:"北",modelOpacity:1,cameraEnable:!0,highlightEnable:!1,hoverEnable:!0,compassEnable:!0,autoShowEnable:!0,ruleLabelsEnable:!0,roomLabelsEnable:!0,roomAreaEnable:!0,roomNameEnable:!0,roomDimensionEnable:!0,cameraImageUrl:Vi,attachedTo:Li.BOUNDING_CENTER,getLabelElement:void 0,adaptiveRoomLabelVisibleEnable:!0,missingFloorConfig:k(k({},this.defaultMissingFloorConfig),i.missingFloorConfig),i18n:h=>h,getRoomAreaText:h=>(h/1e6).toFixed(1)+"㎡",getRoomDimensionText:(h,u)=>(h/1e3).toFixed(1)+"m × "+(u/1e3).toFixed(1)+"m",getRuleDistanceText:h=>h.toString()},o=i?qn(i,["selector","scale"]):{},r=k(k({},s.missingFloorConfig),o.missingFloorConfig),a=te(k(k({},s),o),{missingFloorConfig:r});this.state={enabled:!0,visible:!1,config:a},this.initContainer(),_i(e).then(this.onFiveModelLoaded),e.once("dispose",this.dispose),this.addEventListener()}load(e,i,s=!0){return Q(this,null,function*(){function o(h){return Object.prototype.hasOwnProperty.apply(h,["version"])}const r=e;r&&Bt(r.version)&&console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");const a=JSON.parse(JSON.stringify(e)),l=o(a)?a.data:a,c=this.data;this.data=yield Bi(l),this.hooks.emit("dataLoaded",this.data),this.hooks.emit("dataChange",this.data,c),i&&this.updateState(i,s),this.render()})}appendTo(e){if(this.wrapper=e,!!this.state.enabled)return e.appendChild(this.container),this.render(),this}enable(e={}){if(this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!0},e.userAction||i),this._enable({userAction:i})}disable(e={}){if(!this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!1},e.userAction||i),this._disable({userAction:i})}setState(e,i={}){const s=this.state,o=i.userAction!==void 0?i.userAction:!0;if(this.updateState(e,o),e.enabled!==void 0&&s.enabled!==e.enabled&&(e.enabled?this._enable({userAction:o}):this._disable({userAction:o})),e.visible!==void 0&&s.visible!==e.visible){const r={userAction:o};e.visible?this._show(r):this._hide(r)}}changeConfigs(e,i=!0){this.updateState({config:e},i),this.render()}updatePosition(){var a;const e=ac(this.five,this.floorIndex,this.state.config.attachedTo),i=(a=this.fiveUtil.model)==null?void 0:a.bounding.getCenter(new b.Vector3).setY(e);if(!i)return;const s=i.clone().project(this.five.camera),o=(s.x+1)/2,r=-(s.y-1)/2;this.container.style.left=o*100+"%",this.container.style.top=r*100+"%"}formatData(e){return Q(this,null,function*(){return yield Bi(e.data)})}updateState(e,i){var a;const s=this.state,o=(a=e.config)!=null&&a.missingFloorConfig?k(k({},s.config.missingFloorConfig),e.config.missingFloorConfig):s.config.missingFloorConfig,r=e.config?te(k(k({},s.config),e.config),{missingFloorConfig:o}):s.config;this.state=te(k(k({},this.state),e),{config:r}),!wt(this.state,s,{deep:!0})&&this.hooks.emit("stateChange",{state:this.state,prevState:s,userAction:i})}initContainer(){this.container.classList.add("floorplan-plugin"),Object.assign(this.container.style,{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",zIndex:10,pointerEvents:"none"}),this.five.addExtraElement(this.container)}addEventListener(){if(!this.state.enabled||this.hasAddedEventListener)return;const e=this.five;e.on("modeChange",this.onFiveModeChange),e.on("interiaPan",this.onFiveInteriaPan),e.on("panoArrived",this.onFivePanoArrived),e.on("cameraUpdate",this.onFiveCameraUpdate),e.on("wantsPanGesture",this.onFiveWantsPanGesture),e.on("wantsTapGesture",this.onFiveWantsTapGesture),e.on("wantsChangeMode",this.onFiveWantsChangeMode),e.on("modelShownFloorChange",this.onModelShownFloorChange)}removeEventListener(){const e=this.five;this.hasAddedEventListener=!1,e.off("modelLoaded",this.onFiveModelLoaded),e.off("modeChange",this.onFiveModeChange),e.off("panoArrived",this.onFivePanoArrived),e.off("cameraUpdate",this.onFiveCameraUpdate),e.off("wantsPanGesture",this.onFiveWantsPanGesture),e.off("wantsTapGesture",this.onFiveWantsTapGesture),e.off("wantsChangeMode",this.onFiveWantsChangeMode),e.off("modelShownFloorChange",this.onModelShownFloorChange)}render(e){if(!this.state.enabled||!this.container||!this.data||this.size.width===0||this.showPromise)return;const i=te(k({},this.state.config),{visible:this.state.visible,duration:e!=null?e:0,panoIndex:this.panoIndex,floorIndex:this.floorIndex,floorplanData:this.data,lastPanoramaLongitude:this.lastPanoramaLongitude,highlightData:this.highlightData,store:this.store});if(this.app)return this.app.$set(i);this.app=new rc({target:this.container,intro:!0,props:i})}};const _b=(n,t)=>new Rb(n,t);let Fb=class extends Ci{constructor(e,i){var l,c;super(e);d(this,"name","topviewFloorplanPlugin");d(this,"state");d(this,"data");d(this,"app");d(this,"selector");d(this,"panoIndex",0);d(this,"floorIndex",0);d(this,"wrapper");d(this,"container",document.createElement("div"));d(this,"lastPanoramaLongitude",0);d(this,"size",{width:0,height:0});d(this,"defaultMissingFloorConfig");d(this,"hasAddedEventListener",!1);d(this,"isHiddenByHideFunc",!1);d(this,"highlightData",{});d(this,"updateSize",()=>{if(!this.data||!this.container||!this.wrapper||this.five.getCurrentState().mode!=="Topview")return!1;const{min:e,max:i}=this.data.bounding,s=i.x-e.x,o=i.y-e.y,r=this.state.config.attachedTo?{attachedTo:this.state.config.attachedTo}:void 0,a=lc(this.five,this.wrapper,this.floorIndex,r),l=Math.ceil(s*a),c=Math.ceil(o*a);return this.size.width===l&&this.size.height===c||(this.container.style.width=l+"px",this.container.style.height=c+"px",this.size={width:l,height:c}),!0});d(this,"dispose",()=>{var e,i;this.removeEventListener(),(e=this.app)==null||e.$destroy(),this.app=void 0,(i=this.container)==null||i.remove(),this.data=void 0,this.wrapper=void 0,this.selector=void 0,this.hooks.emit("dispose")});d(this,"highlight",e=>{this.state.config.highlightEnable&&(this.highlightData=e,this.render())});d(this,"unhighlight",()=>{this.highlightData={},this.render()});d(this,"_disable",e=>{var s,o;const{userAction:i}=e;(s=this.app)==null||s.$destroy(),this.app=void 0,(o=this.container)==null||o.remove(),this.removeEventListener(),this.hooks.emit("disable",{userAction:i})});d(this,"onFiveModelLoaded",()=>{if(this.state.enabled===!1||this.wrapper||!this.selector)return;const e=this.selector instanceof Element?this.selector:document.querySelector(this.selector);if(!e)throw new Error("不正确的父容器选择器");this.wrapper=e,e.append(this.container)});d(this,"onFiveModeChange",(...[e,,,,i])=>{e!=="Topview"&&this.state.visible&&(this.updateState({visible:!1},i),this._hide({userAction:i}))});d(this,"onFivePanoArrived",e=>{var i;(i=this.five)!=null&&i.work&&(this.panoIndex=e,this.floorIndex=this.five.work.observers[e].floorIndex)});d(this,"onFiveCameraUpdate",(e,i)=>{this.state.visible&&(this.updatePosition(),this.updateSize())});d(this,"onFiveWantsGesture",e=>{if(!(e!=="pan"&&e!=="pinch"&&e!=="mouseWheel")&&this.state.visible&&!this.state.config.gestureEnable)return!1});d(this,"onFiveWantsMoveToPano",()=>{if(this.state.visible&&this.state.config.preventRoomClick)return!1});d(this,"onFiveInitAnimationEnded",(...[,,e])=>{const{mode:i}=this.five.getCurrentState();i==="Topview"&&!this.isHiddenByHideFunc&&!this.state.visible&&this.state.config.autoShowEnable&&(this.updateState({visible:!0},e),this._show({userAction:e}))});d(this,"onModelShownFloorChange",e=>{if(this.floorIndex!==e){if(e===null){const i=this.five.getCurrentState().panoIndex;this.floorIndex=this.five.work.observers[i].floorIndex;return}this.floorIndex=e,this.updateSize(),this.render()}});i!=null&&i.selector&&(this.selector=i.selector,console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")),this.defaultMissingFloorConfig={imageURL:this.staticPrefix+"/release/web/saas/missing-floorplan.e274c596.png",imageWidth:200,imageHeight:120,text:(c=(l=i.i18n)==null?void 0:l.call(i,"暂无平面图"))!=null?c:"暂无平面图",textFontSize:14};const s={northDesc:"北",modelOpacity:1,cameraEnable:!0,hoverEnable:!0,highlightEnable:!1,compassEnable:!0,gestureEnable:!1,autoShowEnable:!0,ruleLabelsEnable:!0,roomLabelsEnable:!0,roomAreaEnable:!0,roomNameEnable:!0,roomDimensionEnable:!0,cameraImageUrl:Vi,attachedTo:Li.BOUNDING_CENTER,getLabelElement:void 0,missingFloorConfig:k(k({},this.defaultMissingFloorConfig),i.missingFloorConfig),i18n:h=>h,adaptiveRoomLabelVisibleEnable:!0,getRoomAreaText:h=>(h/1e6).toFixed(1)+"㎡",getRoomDimensionText:(h,u)=>(h/1e3).toFixed(1)+"m × "+(u/1e3).toFixed(1)+"m",getRuleDistanceText:h=>h.toString()},o=i?qn(i,["selector","scale"]):{},r=k(k({},s.missingFloorConfig),o.missingFloorConfig),a=te(k(k({},s),o),{missingFloorConfig:r});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()}load(e,i,s=!0){return Q(this,null,function*(){function o(h){return Object.prototype.hasOwnProperty.apply(h,["version"])}const r=e;r&&Bt(r.version)&&console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");const a=JSON.parse(JSON.stringify(e)),l=o(a)?a.data:a,c=this.data;this.data=yield Bi(l),this.hooks.emit("dataLoaded",this.data),this.hooks.emit("dataChange",this.data,c),i&&this.updateState(i,s),this.render()})}updatePosition(){var a;const e=ac(this.five,this.floorIndex,this.state.config.attachedTo),i=(a=this.five.model)==null?void 0:a.bounding.getCenter(new b.Vector3).setY(e);if(!i)return;const s=i.clone().project(this.five.camera),o=(s.x+1)/2,r=-(s.y-1)/2;this.container.style.left=o*100+"%",this.container.style.top=r*100+"%"}appendTo(e){if(this.wrapper=e,!!this.state.enabled)return e.appendChild(this.container),this.render(),this}show(){return Q(this,arguments,function*(e={}){if(this.state.visible)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({visible:!0},i),this._show({userAction:i})})}hide(){return Q(this,arguments,function*(e={}){if(this.isHiddenByHideFunc=!0,!this.state.visible)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({visible:!1},i),this._hide({userAction:i})})}enable(e={}){if(this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!0},e.userAction||i),this._enable({userAction:i})}disable(e={}){if(!this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!1},e.userAction||i),this._disable({userAction:i})}setState(e,i={}){const s=this.state,o=i.userAction!==void 0?i.userAction:!0;if(this.updateState(e,o),e.enabled!==void 0&&s.enabled!==e.enabled){const r={userAction:o};e.enabled?this._enable(r):this._disable(r)}if(e.visible!==void 0&&s.visible!==e.visible){const r={userAction:o};e.visible?this._show(r):this._hide(r)}}changeConfigs(e,i=!0){this.updateState({config:e},i),this.render()}formatData(e){return Q(this,null,function*(){return yield Bi(e.data)})}_show(e){return Q(this,null,function*(){if(!this.state.enabled)return;this.isHiddenByHideFunc=!1;const{userAction:i}=e;this.hooks.emit("show",{userAction:i,auto:!1}),this.five.getCurrentState().mode!=="Topview"&&(yield cc(this.five,["Topview",void 0,void 0,i])),this.five.model.show(this.floorIndex),this.updatePosition(),this.updateSize();const s=500,o=this.state.config.modelOpacity;Kn(this.five,o,s),this.hooks.emit("showAnimationEnded",{userAction:i,auto:!1}),this.render()})}_hide(e){return Q(this,null,function*(){if(!this.state.enabled)return;const{userAction:i}=e;this.hooks.emit("hide",{userAction:i,auto:!1});const s=1,o=0;Kn(this.five,s,o),this.render()})}_enable(e){const{userAction:i}=e;this.addEventListener(),this.wrapper&&this.wrapper.append(this.container),this.hooks.emit("enable",{userAction:i}),this.state.visible&&this._show({userAction:i})}updateState(e,i){var a;const s=this.state,o=(a=e.config)!=null&&a.missingFloorConfig?k(k({},s.config.missingFloorConfig),e.config.missingFloorConfig):s.config.missingFloorConfig,r=e.config?te(k(k({},s.config),e.config),{missingFloorConfig:o}):s.config;this.state=te(k(k({},this.state),e),{config:r}),!wt(this.state,s,{deep:!0})&&this.hooks.emit("stateChange",{state:this.state,prevState:s,userAction:i})}addEventListener(){if(!this.state.enabled||this.hasAddedEventListener)return;const e=this.five;e.on("modeChange",this.onFiveModeChange),e.on("panoArrived",this.onFivePanoArrived),e.on("cameraUpdate",this.onFiveCameraUpdate),e.on("wantsGesture",this.onFiveWantsGesture),e.on("wantsMoveToPano",this.onFiveWantsMoveToPano),e.on("initAnimationEnded",this.onFiveInitAnimationEnded),e.on("modelShownFloorChange",this.onModelShownFloorChange)}removeEventListener(){const e=this.five;this.hasAddedEventListener=!1,e.off("modeChange",this.onFiveModeChange),e.off("panoArrived",this.onFivePanoArrived),e.off("cameraUpdate",this.onFiveCameraUpdate),e.off("wantsGesture",this.onFiveWantsGesture),e.off("wantsMoveToPano",this.onFiveWantsMoveToPano),e.off("initAnimationEnded",this.onFiveInitAnimationEnded),e.off("modelShownFloorChange",this.onModelShownFloorChange)}initContainer(){this.container.classList.add("floorplan-plugin"),Object.assign(this.container.style,{position:"absolute",left:"50%",top:"50%",transform:"translate3d(-50%, -50%, 10px)",zIndex:10,pointerEvents:"none","will-change":"width, height"}),this.five.addExtraElement(this.container)}render(e){if(!this.state.enabled||!this.container||!this.data||this.size.width===0)return;const i=te(k({},this.state.config),{visible:this.state.visible,duration:e!=null?e:0,panoIndex:this.panoIndex,floorIndex:this.floorIndex,floorplanData:this.data,lastPanoramaLongitude:this.lastPanoramaLongitude,highlightData:this.highlightData});if(this.app)return this.app.$set(i);this.app=new rc({target:this.container,intro:!0,props:i})}};const Hb=(n,t)=>new Fb(n,t);function Nb(n){me(n,"svelte-1nqrlxd",".plugin-radar__camera-wrapper.svelte-1nqrlxd{width:100%;height:100%;position:absolute;pointer-events:none}.plugin-radar__camera-position.svelte-1nqrlxd{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear}.plugin-radar__camera-rotate.svelte-1nqrlxd{position:absolute;left:-0.9375rem;top:-0.9375rem;width:1.0625rem;height:1.0625rem;transform-origin:0.9375rem 0.9375rem;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%}")}function Gb(n){let t,e,i;return{c(){t=L("div"),e=L("div"),i=L("div"),P(i,"class","plugin-radar__camera-rotate svelte-1nqrlxd"),j(i,"background-image","url("+(n[0]||Vi)+")"),j(i,"transform",n[1]),P(e,"class","plugin-radar__camera-position svelte-1nqrlxd"),j(e,"transform",n[2]),P(t,"class","plugin-radar__camera-wrapper svelte-1nqrlxd"),j(t,"opacity",n[3]?1:0)},m(s,o){R(s,t,o),O(t,e),O(e,i)},p(s,[o]){o&1&&j(i,"background-image","url("+(s[0]||Vi)+")"),(o&1||o&3)&&j(i,"transform",s[1]),o&4&&j(e,"transform",s[2]),o&8&&j(t,"opacity",s[3]?1:0)},i:K,o:K,d(s){s&&V(t)}}}function Qb(n){return`rotate(${Math.floor(n/Math.PI*180)*-1+45}deg)`}function Wb(n,t,e){var w,I;let i,s,o,r,{five:a}=t,{pxmm:l}=t,{floorplanData:c}=t,{cameraImageUrl:h}=t,u=a.getCurrentState().panoIndex,f=a.getCurrentState().longitude,m=(I=(w=a.work.observers[a.getCurrentState().panoIndex])==null?void 0:w.floorIndex)!=null?I:0;function p(C,E){const M=C.bounding,S=C.observers[E];if(!S)return"";const T=(M.max.x-M.min.x)*l,G=(M.max.y-M.min.y)*l,H=Math.floor(S.positionInImage.x*T),Y=Math.floor(S.positionInImage.y*G);return`translate(${H}px, ${Y}px)`}function v(C){e(7,u=C)}function g(C){e(9,m=a.work.observers[C].floorIndex)}const A=Ar(C=>{e(8,f=C.longitude)},1e3/60);return Et(()=>(a.on("panoWillArrive",v),a.on("panoArrived",g),a.on("cameraDirectionUpdate",A),function(){a.off("panoWillArrive",v),a.off("panoArrived",g),a.off("cameraDirectionUpdate",A)})),n.$$set=C=>{"five"in C&&e(4,a=C.five),"pxmm"in C&&e(5,l=C.pxmm),"floorplanData"in C&&e(6,c=C.floorplanData),"cameraImageUrl"in C&&e(0,h=C.cameraImageUrl)},n.$$.update=()=>{n.$$.dirty&576&&e(10,i=c.floorDatas[m]),n.$$.dirty&1024&&e(3,s=i.rooms.length>0),n.$$.dirty&192&&e(2,o=p(c,u)),n.$$.dirty&256&&e(1,r=Qb(f))},[h,r,o,s,a,l,c,u,f,m,i]}class Ub extends de{constructor(t){super(),he(this,t,Wb,Gb,ce,{five:4,pxmm:5,floorplanData:6,cameraImageUrl:0},Nb)}}function Yb(n){me(n,"svelte-1i87fz7",".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}")}function Nh(n,t,e){const i=n.slice();return i[1]=t[e],i}function Gh(n,t){let e,i,s=`${t[1].icon.width/16}rem`,o=`${t[1].icon.height/16}rem`,r,a=`${t[1].positionInImage.y*100}%`,l=`${t[1].positionInImage.x*100}%`;return{key:n,first:null,c(){e=L("div"),i=L("div"),r=ee(),P(i,"class","plugin-pano-floorplan__extra-object-item svelte-1i87fz7"),j(i,"background-image",`url(${t[1].icon.url})`),j(i,"width",s),j(i,"height",o),P(e,"class","plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"),j(e,"top",a),j(e,"left",l),this.first=e},m(c,h){R(c,e,h),O(e,i),O(e,r)},p(c,h){t=c,h&1&&j(i,"background-image",`url(${t[1].icon.url})`);const u=h&1;u&&j(i,"width",s),u&&j(i,"height",o),h&1&&a!==(a=`${t[1].positionInImage.y*100}%`)&&j(e,"top",a),h&1&&l!==(l=`${t[1].positionInImage.x*100}%`)&&j(e,"left",l)},d(c){c&&V(e)}}}function Xb(n){let t,e=[],i=new Map,s=n[0];const o=r=>r[1].id;for(let r=0;r<s.length;r+=1){let a=Nh(n,s,r),l=o(a);i.set(l,e[r]=Gh(l,a))}return{c(){t=L("div");for(let r=0;r<e.length;r+=1)e[r].c();P(t,"class","plugin-pano-floorplan__extra-objects svelte-1i87fz7")},m(r,a){R(r,t,a);for(let l=0;l<e.length;l+=1)e[l]&&e[l].m(t,null)},p(r,[a]){a&1&&(s=r[0],e=Zt(e,a,o,1,r,s,i,t,nc,Gh,null,Nh))},i:K,o:K,d(r){r&&V(t);for(let a=0;a<e.length;a+=1)e[a].d()}}}function Zb(n,t,e){let{extraObjects:i=[]}=t;return n.$$set=s=>{"extraObjects"in s&&e(0,i=s.extraObjects)},[i]}class Jb extends de{constructor(t){super(),he(this,t,Zb,Xb,ce,{extraObjects:0},Yb)}}function qb(n){me(n,"svelte-18287ai",".missing-floor-wrapper.svelte-18287ai{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:flex;justify-content:center;align-items:center}.missing-floor-image.svelte-18287ai{max-width:100%;max-height:100%}")}function Kb(n){let t,e,i,s,o,r;const a=[{floorIndex:n[2],floorplanData:n[4]}];let l={};for(let h=0;h<a.length;h+=1)l=vt(l,a[h]);t=new km({props:l}),i=new Jb({props:{extraObjects:n[7]}});let c=n[3]&&Qh(n);return{c(){oe(t.$$.fragment),e=ee(),oe(i.$$.fragment),s=ee(),c&&c.c(),o=Ee()},m(h,u){ne(t,h,u),R(h,e,u),ne(i,h,u),R(h,s,u),c&&c.m(h,u),R(h,o,u),r=!0},p(h,u){const f=u&20?Ct(a,[{floorIndex:h[2],floorplanData:h[4]}]):{};t.$set(f);const m={};u&128&&(m.extraObjects=h[7]),i.$set(m),h[3]?c?(c.p(h,u),u&8&&D(c,1)):(c=Qh(h),c.c(),D(c,1),c.m(o.parentNode,o)):c&&(ue(),B(c,1,1,()=>{c=null}),fe())},i(h){r||(D(t.$$.fragment,h),D(i.$$.fragment,h),D(c),r=!0)},o(h){B(t.$$.fragment,h),B(i.$$.fragment,h),B(c),r=!1},d(h){se(t,h),h&&V(e),se(i,h),h&&V(s),c&&c.d(h),h&&V(o)}}}function $b(n){let t,e,i;return{c(){t=L("div"),e=L("img"),P(e,"class","missing-floor-image svelte-18287ai"),dt(e.src,i=n[6])||P(e,"src",i),P(e,"alt","缺省楼层"),P(t,"class","missing-floor-wrapper svelte-18287ai")},m(s,o){R(s,t,o),O(t,e)},p(s,o){o&64&&!dt(e.src,i=s[6])&&P(e,"src",i)},i:K,o:K,d(s){s&&V(t)}}}function Qh(n){let t,e;const i=[{five:n[0],pxmm:n[1],floorIndex:n[2],floorplanData:n[4],onRoomHeightClick:n[9],highlightData:n[5],hoveredRoom:void 0}];let s={};for(let o=0;o<i.length;o+=1)s=vt(s,i[o]);return t=new Sm({props:s}),{c(){oe(t.$$.fragment)},m(o,r){ne(t,o,r),e=!0},p(o,r){const a=r&567?Ct(i,[{five:o[0],pxmm:o[1],floorIndex:o[2],floorplanData:o[4],onRoomHeightClick:o[9],highlightData:o[5],hoveredRoom:void 0}]):{};t.$set(a)},i(o){e||(D(t.$$.fragment,o),e=!0)},o(o){B(t.$$.fragment,o),e=!1},d(o){se(t,o)}}}function e1(n){let t,e,i,s;const o=[$b,Kb],r=[];function a(l,c){return l[8]?1:0}return t=a(n),e=r[t]=o[t](n),{c(){e.c(),i=Ee()},m(l,c){r[t].m(l,c),R(l,i,c),s=!0},p(l,[c]){let h=t;t=a(l),t===h?r[t].p(l,c):(ue(),B(r[h],1,1,()=>{r[h]=null}),fe(),e=r[t],e?e.p(l,c):(e=r[t]=o[t](l),e.c()),D(e,1),e.m(i.parentNode,i))},i(l){s||(D(e),s=!0)},o(l){B(e),s=!1},d(l){r[t].d(l),l&&V(i)}}}function t1(n,t,e){let i,s,o,{five:r}=t,{pxmm:a}=t,{floorIndex:l}=t,{hoverEnable:c}=t,{floorplanData:h}=t,{extraObjects:u=[]}=t,{highlightData:f}=t,{missingFloorImageUrl:m}=t;const p=void 0;return n.$$set=v=>{"five"in v&&e(0,r=v.five),"pxmm"in v&&e(1,a=v.pxmm),"floorIndex"in v&&e(2,l=v.floorIndex),"hoverEnable"in v&&e(3,c=v.hoverEnable),"floorplanData"in v&&e(4,h=v.floorplanData),"extraObjects"in v&&e(10,u=v.extraObjects),"highlightData"in v&&e(5,f=v.highlightData),"missingFloorImageUrl"in v&&e(6,m=v.missingFloorImageUrl)},n.$$.update=()=>{n.$$.dirty&20&&e(11,i=h.floorDatas[l]),n.$$.dirty&2048&&e(8,s=i.rooms.length>0),n.$$.dirty&1028&&e(7,o=u==null?void 0:u.filter(v=>v.floorIndex===l))},[r,a,l,c,h,f,m,o,s,p,u,i]}class i1 extends de{constructor(t){super(),he(this,t,t1,e1,ce,{five:0,pxmm:1,floorIndex:2,hoverEnable:3,floorplanData:4,extraObjects:10,highlightData:5,missingFloorImageUrl:6},qb)}}function n1(n){me(n,"svelte-1mvqyqq",".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}")}function Wh(n){let t,e,i,s,o=n[8]!==0&&Uh(n);return{c(){t=L("div"),o&&o.c(),P(t,"class","plugin-floorplan-radar svelte-1mvqyqq")},m(r,a){R(r,t,a),o&&o.m(t,null),e=!0,i||(s=[Wt(Gi.call(null,t)),we(t,"clientWidth",n[14]),we(t,"clientHeight",n[15])],i=!0)},p(r,a){r[8]!==0?o?(o.p(r,a),a&256&&D(o,1)):(o=Uh(r),o.c(),D(o,1),o.m(t,null)):o&&(ue(),B(o,1,1,()=>{o=null}),fe())},i(r){e||(D(o),e=!0)},o(r){B(o),e=!1},d(r){r&&V(t),o&&o.d(),i=!1,rt(s)}}}function Uh(n){let t,e,i,s,o=`${n[10]}px`,r=`${n[13]}px`,a;const l=[{five:n[0],pxmm:n[11],floorIndex:n[12],floorplanData:n[3],hoverEnable:n[2],extraObjects:n[5],highlightData:n[6],missingFloorImageUrl:n[7]}];let c={};for(let f=0;f<l.length;f+=1)c=vt(c,l[f]);e=new i1({props:c});const h=[{pxmm:n[11],five:n[0],floorplanData:n[3],cameraImageUrl:n[4]}];let u={};for(let f=0;f<h.length;f+=1)u=vt(u,h[f]);return s=new Ub({props:u}),{c(){t=L("div"),oe(e.$$.fragment),i=ee(),oe(s.$$.fragment),P(t,"class","plugin-floorplan-radar-container svelte-1mvqyqq"),j(t,"width",o),j(t,"height",r)},m(f,m){R(f,t,m),ne(e,t,null),O(t,i),ne(s,t,null),a=!0},p(f,m){const p=m&6381?Ct(l,[{five:f[0],pxmm:f[11],floorIndex:f[12],floorplanData:f[3],hoverEnable:f[2],extraObjects:f[5],highlightData:f[6],missingFloorImageUrl:f[7]}]):{};e.$set(p);const v=m&2073?Ct(h,[{pxmm:f[11],five:f[0],floorplanData:f[3],cameraImageUrl:f[4]}]):{};s.$set(v),m&1024&&o!==(o=`${f[10]}px`)&&j(t,"width",o),m&8192&&r!==(r=`${f[13]}px`)&&j(t,"height",r)},i(f){a||(D(e.$$.fragment,f),D(s.$$.fragment,f),a=!0)},o(f){B(e.$$.fragment,f),B(s.$$.fragment,f),a=!1},d(f){f&&V(t),se(e),se(s)}}}function s1(n){let t,e,i=n[1]&&Wh(n);return{c(){i&&i.c(),t=Ee()},m(s,o){i&&i.m(s,o),R(s,t,o),e=!0},p(s,[o]){s[1]?i?(i.p(s,o),o&2&&D(i,1)):(i=Wh(s),i.c(),D(i,1),i.m(t.parentNode,t)):i&&(ue(),B(i,1,1,()=>{i=null}),fe())},i(s){e||(D(i),e=!0)},o(s){B(i),e=!1},d(s){i&&i.d(s),s&&V(t)}}}function o1(n,t,e){var C,E;let{five:i}=t,{visible:s}=t,{hoverEnable:o}=t,{floorplanData:r}=t,{cameraImageUrl:a}=t,{extraObjects:l=[]}=t,{highlightData:c}=t,{missingFloorImageUrl:h}=t,u=0,f=(E=(C=i.work.observers[i.getCurrentState().panoIndex])==null?void 0:C.floorIndex)!=null?E:0,m=0,p=0,v=0,g=0;function A(M){e(12,f=i.work.observers[M].floorIndex)}Et(()=>(i.on("panoArrived",A),()=>{i.off("panoArrived",A)}));const w=M=>{e(8,m=M.detail)},I=M=>{e(9,p=M.detail)};return n.$$set=M=>{"five"in M&&e(0,i=M.five),"visible"in M&&e(1,s=M.visible),"hoverEnable"in M&&e(2,o=M.hoverEnable),"floorplanData"in M&&e(3,r=M.floorplanData),"cameraImageUrl"in M&&e(4,a=M.cameraImageUrl),"extraObjects"in M&&e(5,l=M.extraObjects),"highlightData"in M&&e(6,c=M.highlightData),"missingFloorImageUrl"in M&&e(7,h=M.missingFloorImageUrl)},n.$$.update=()=>{if(n.$$.dirty&1800){const M=Math.min(m,p),{max:S,min:T}=r.bounding,G=S.x-T.x,H=S.y-T.y,Y=function(){return G>H?[M,M/G*H]:[M/H*G,M]}();e(10,v=Y[0]),e(13,g=Y[1]),e(11,u=v/G)}},[i,s,o,r,a,l,c,h,m,p,v,u,f,g,w,I]}class r1 extends de{constructor(t){super(),he(this,t,o1,s1,ce,{five:0,visible:1,hoverEnable:2,floorplanData:3,cameraImageUrl:4,extraObjects:5,highlightData:6,missingFloorImageUrl:7},n1)}}let a1=class extends Ci{constructor(e,i){super(e);d(this,"name","panoFloorplanRadarPlugin");d(this,"state");d(this,"data");d(this,"app");d(this,"wrapperSelector","");d(this,"wrapper",null);d(this,"disposed",!1);d(this,"extraObjects",[]);d(this,"highlightData",{});d(this,"dispose",()=>{var e;this.disposed=!0,(e=this.app)==null||e.$destroy(),this.wrapper=null,this.wrapperSelector="",this.hooks.emit("dispose")});d(this,"highlight",e=>{this.state.config.highlightEnable&&(this.highlightData=e,this.render())});d(this,"unhighlight",()=>{this.highlightData={},this.render()});d(this,"_disable",e=>{var s;const{userAction:i}=e;(s=this.app)==null||s.$destroy(),this.app=void 0,this.hooks.emit("disable",{userAction:i})});this.five=e;const s={hoverEnable:!0,highlightEnable:!0,cameraImageUrl:Vi,missingFloorImageUrl:this.staticPrefix+"/release/web/saas/missing-floor.d687a5ed.png"},o=k(k({},s),i==null?void 0:i.configs);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)}load(e,i,s=!0){return Q(this,null,function*(){function o(c){return Object.prototype.hasOwnProperty.apply(c,["version"])}const r=JSON.parse(JSON.stringify(e)),a=o(r)?r.data:r,l=this.data;this.data=yield Bi(a),this.hooks.emit("dataLoaded",this.data),this.hooks.emit("dataChange",this.data,l),i&&this.updateState(i,s),this.render()})}show(){return Q(this,arguments,function*(e={}){if(this.state.visible)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({visible:!0},i),this._show({userAction:i})})}hide(){return Q(this,arguments,function*(e={}){if(!this.state.visible)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({visible:!1},i),this._hide({userAction:i})})}enable(e={}){if(this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!0},e.userAction||i),this._enable({userAction:i})}disable(e={}){if(!this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!1},e.userAction||i),this._disable({userAction:i})}setState(e,i={}){const s=this.state,o=i.userAction!==void 0?i.userAction:!0;if(this.updateState(e,o),e.enabled!==void 0&&s.enabled!==e.enabled){const r={userAction:o};e.enabled?this._enable(r):this._disable(r)}if(e.visible!==void 0&&s.visible!==e.visible){const r={userAction:o};e.visible?this._show(r):this._hide(r)}}appendTo(e){this.wrapper!==e&&this.app&&(this.app.$destroy(),this.app=void 0),this.wrapper=e,this.render()}changeConfigs(e,i=!0){this.setState({config:e},{userAction:i}),this.render()}setExtraObjectsWith3DPositions(e){this.data&&(this.extraObjects=Mb(e,this.five,this.data),this.render())}formatData(e){return Q(this,null,function*(){return yield Bi(e.data)})}_enable(e){const{userAction:i}=e;this.hooks.emit("enable",{userAction:i}),this.state.visible&&this._show({userAction:i})}_show(e){if(this.disposed||!this.state.enabled)return;const{userAction:i}=e;this.hooks.emit("show",{userAction:i}),this.render()}_hide(e){if(this.disposed||!this.state.enabled)return;const{userAction:i}=e;this.hooks.emit("hide",{userAction:i}),this.render()}updateState(e,i){const s=this.state,o=e.config?k(k({},s.config),e.config):s.config;this.state=te(k(k({},this.state),e),{config:o}),!wt(this.state,s,{deep:!0})&&this.hooks.emit("stateChange",{state:this.state,prevState:s,userAction:i})}render(){if(this.disposed||!this.state.enabled)return;if(!this.wrapper&&this.wrapperSelector){const i=document.querySelector(this.wrapperSelector);this.wrapper=i}if(!this.data||!this.wrapper)return;const e=te(k({},this.state.config),{five:this.five,floorplanData:this.data,visible:this.state.visible,extraObjects:this.extraObjects,highlightData:this.highlightData});this.app?this.app.$set(e):this.app=new r1({target:this.wrapper,props:e})}};const l1=(n,t)=>new a1(n,t),c1=[{type:0,floorType:1,roomType:"100900000012",name:"其他"},{type:1,floorType:1,roomType:"100900000002",name:"客厅"},{type:2,floorType:1,roomType:"100900000002",name:"餐厅"},{type:3,floorType:0,roomType:"100900000001",name:"卧室"},{type:4,floorType:0,roomType:"100900000001",name:"书房"},{type:5,floorType:3,roomType:"100900000004",name:"卫生间"},{type:6,floorType:3,roomType:"100900000004",name:"淋浴间"},{type:7,floorType:3,roomType:"100900000004",name:"洗手间"},{type:8,floorType:3,roomType:"100900000003",name:"厨房"},{type:9,floorType:1,roomType:"100900000003",name:"开放厨房",onlySubArea:!0},{type:10,floorType:0,roomType:"100900000001",name:"多功能间"},{type:11,floorType:0,roomType:"100900000009",name:"保姆间"},{type:12,floorType:4,roomType:"100900000005",name:"阳台"},{type:13,floorType:4,roomType:"100900000006",name:"露台"},{type:14,floorType:0,roomType:"100900000008",name:"储物间"},{type:15,floorType:0,roomType:"100900000013",name:"衣帽间"},{type:16,floorType:0,roomType:"100900000011",name:"阁楼"},{type:17,floorType:2,roomType:"100900000007",name:"花园"},{type:18,floorType:5,roomType:"100900000010",name:"车库"},{type:19,floorType:1,roomType:"100900000012",name:"电梯"},{type:20,floorType:1,roomType:"100900000012",name:"地下室"},{type:21,floorType:1,roomType:"100900000012",name:"天井"},{type:22,floorType:1,roomType:"100900000012",name:"阳光房"},{type:23,floorType:1,roomType:"100900000012",name:"过道"},{type:24,floorType:1,roomType:"100900000012",name:"楼梯间"},{type:25,floorType:1,roomType:"100900000012",name:"门厅"},{type:26,floorType:2,roomType:"100900000012",name:"入户花园"},{type:27,floorType:1,roomType:"100900000012",name:"玄关"},{type:28,floorType:1,roomType:"100900000012",name:"挑空"},{type:29,floorType:4,roomType:"100900000012",name:"晾晒区"},{type:30,floorType:4,roomType:"100900000012",name:"洗衣房"},{type:31,floorType:0,roomType:"100900000012",name:"娱乐区"},{type:32,floorType:0,roomType:"100900000012",name:"健身区"},{type:33,floorType:0,roomType:"100900000012",name:"接待区"},{type:34,floorType:0,roomType:"100900000012",name:"影音区"},{type:35,floorType:1,roomType:"100900000012",name:"餐饮区"},{type:36,floorType:1,roomType:"100900000012",name:"其他",onlySubArea:!0},{type:37,floorType:1,roomType:"100900000002",name:"起居室"},{type:38,floorType:0,roomType:"100900000001",name:"主卧"},{type:39,floorType:0,roomType:"100900000001",name:"次卧"},{type:40,floorType:0,roomType:"100900000001",name:"优化间"},{type:41,floorType:0,roomType:"100900000001",name:"办公室"},{type:42,floorType:0,roomType:"100900000001",name:"会议室"},{type:43,floorType:0,roomType:"100900000001",name:"洽谈间"},{type:44,floorType:1,roomType:"100900000002",name:"共享大厅"},{type:45,floorType:1,roomType:"100900000012",name:"水吧"},{type:46,floorType:0,roomType:"100900000015",name:"出入口"},{type:47,floorType:0,roomType:"100900000015",name:"大厅"},{type:48,floorType:0,roomType:"100900000015",name:"包厢"},{type:49,floorType:0,roomType:"100900000015",name:"其他"},{type:50,floorType:0,roomType:"100900000016",name:"出入口"},{type:51,floorType:0,roomType:"100900000016",name:"办公区"},{type:52,floorType:0,roomType:"100900000016",name:"老板间"},{type:53,floorType:0,roomType:"100900000016",name:"会议室"},{type:54,floorType:0,roomType:"100900000016",name:"休息区/水吧"},{type:55,floorType:0,roomType:"100900000016",name:"其他"},{type:56,floorType:2,roomType:"100900000012",name:"空中花园"},{type:57,floorType:0,roomType:"100900000001",name:"洋室"},{type:58,floorType:0,roomType:"100900000001",name:"和室"}],h1=[{type:0,description:"木质地板"},{type:1,description:"瓷砖地面"},{type:2,description:"户外地面"},{type:3,description:"卫生间地面"},{type:4,description:"阳台地面"},{type:5,description:"车库地面"}],d1=[{roomType:"100900000001",description:"室"},{roomType:"100900000002",description:"厅"},{roomType:"100900000003",description:"厨"},{roomType:"100900000004",description:"卫"},{roomType:"100900000005",description:"阳台"},{roomType:"100900000006",description:"露台"},{roomType:"100900000007",description:"花园"},{roomType:"100900000008",description:"储"},{roomType:"100900000009",description:"保姆间"},{roomType:"100900000010",description:"车库"},{roomType:"100900000011",description:"阁楼"},{roomType:"100900000012",description:"其他"},{roomType:"100900000013",description:"衣"},{roomType:"100900000015",description:"商铺"},{roomType:"100900000016",description:"写字楼"}],Va=(n,t,e)=>{const i=new b.Matrix4,s=new b.Euler(n,t,e,"YXZ");return i.makeRotationFromEuler(s),i},u1=(n,{scale:t,rotation:e,position:i})=>{if(t&&n.scale.set(t,t,t),e){const[s,o,r]=e;s&&n.applyMatrix4(Va(s,0,0)),o&&n.applyMatrix4(Va(0,o,0)),r&&n.applyMatrix4(Va(0,0,r))}return i&&n.position.set(i.x,i.y,i.z),n};function jm(n,t){n.traverse(e=>{var i;if(e.type==="Mesh"){const s=e,o=k({map:s.material.map||{}},t);s.material=new W.MeshBasicMaterial(o),s.renderOrder=1,((i=e.parent)==null?void 0:i.type)==="Mesh"&&(e.renderOrder=e.parent.renderOrder+1)}})}const f1=(n,t)=>{var v;const e=t.fbx_url||"//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX",i=(v=t.north_rad)!=null?v:void 0,s={};let o={x:0,y:0,z:0},r=[0,0,0],a=1,l=i;n.on("modelLoaded",p);const c=g=>Q(exports,null,function*(){var C;const A=(g==null?void 0:g.fbx_url)||e;if(l=(C=g==null?void 0:g.north_rad)!=null?C:i,typeof l!="number")throw new Error('"northRad"配置参数缺失:未配置指南针指向!');const I=yield new Vf.FBXLoader().loadAsync(A);return jm(I,{transparent:!0,side:b.DoubleSide,blending:b.AdditiveBlending}),s.object=I,p(),!0}),h=({latitude:g})=>{if(!s.object)return;const A=u(g);A&&(s.object.position.y=A)},u=g=>{if(s.yBase===void 0)return;const A=.6;if(g>=Math.PI/4)return s.yBase-(A+1.6);const w=g*(4/Math.PI);return s.yBase-(A*w+1.6)},f=()=>{if(!s.object)return;const g=u(n.getPose().latitude);g&&(s.object.position.y=g),n.scene.add(s.object),n.needsRender=!0,n.on("cameraDirectionUpdate",h)},m=()=>{s.object&&(n.scene.remove(s.object),n.needsRender=!0,n.off("cameraDirectionUpdate",h))};function p(){const g=s.object;if(!g)return;const A=n.model.bounding,w=A.max.x-A.min.x,I=A.max.z-A.min.z,C=Math.max(w,I),{max:{x:E,z:M},min:{x:S,y:T,z:G}}=A;s.yBase=T,o={x:(E+S)/2,y:T-1.6,z:(M+G)/2},r=[0,l-Math.PI/2,0],a=.0045*C,u1(g,{position:o,rotation:r,scale:a})}return{load:c,disable:m,enable:f}};function m1(n,t){var c,h,u,f,m;const e=(c=t==null?void 0:t.size)!=null?c:512,i=(h=t==null?void 0:t.fontSize)!=null?h:e*(35/256)*1.2,s=(u=t==null?void 0:t.backgroundColor)!=null?u:"rgba(0,0,0,0)",o=(f=t==null?void 0:t.fontColor)!=null?f:"#fff",r=(m=t==null?void 0:t.textAlign)!=null?m:"center",a=document.createElement("canvas");a.setAttribute("width",e+""),a.setAttribute("height",e+"");const l=a.getContext("2d");return l.fillStyle=s,l.fillRect(0,0,e,e),l.font=`${i}px "微软雅黑"`,l.textAlign=r,l.fillStyle=o,l.fillText(n,e/2,e*.7),new W.CanvasTexture(a)}const g1=({x:n,y:t,z:e})=>new W.Vector3(n,t,e),p1=(n,t)=>{var v,g,A;const e={},i=(v=t.animationEnabled)!=null?v:!0,s=(g=t.position)!=null?g:void 0,o=(A=t.rad)!=null?A:void 0,r=t.fbx_url||"//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx",a=[],l=w=>Q(exports,null,function*(){var H,Y,z,U,F,N,X,Z;const I=(H=w==null?void 0:w.position)!=null?H:s;if(!I)return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));const C=g1(I),E=(Y=w==null?void 0:w.rad)!=null?Y:o,M=(z=w==null?void 0:w.fbx_url)!=null?z:r;if(e.rad=E,E===void 0)return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${E}`));const S=yield new Vf.FBXLoader().loadAsync(M);S.position.copy(C),S.rotation.z=E,S.scale.set(.8,.8,.8),jm(S,{transparent:!0,side:b.DoubleSide});const T=(X=(N=(F=(U=S.children)==null?void 0:U[0])==null?void 0:F.children)==null?void 0:N[3])==null?void 0:X.clone();if(!T)return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${T}`));const G=(Z=t.name)!=null?Z:"入户门";return T.material=new W.MeshBasicMaterial({transparent:!0,map:m1(G)}),T.renderOrder=3,S.children[0].add(T),e.object=S,!0}),c=()=>{if(e.animation)return;if(!e.object)return console.error("ModelEntryDoorGuidePlugin.initAnimation(): state.object is ",e.object);const w=1,I=new W.AnimationMixer(e.object);a.push(I);const C=I.clipAction(e.object.animations[0]);C.timeScale=w;let E;const M=()=>{let H=0,Y=0;const z=1e3/30,U=F=>{H=requestAnimationFrame(U);const N=F-Y;N<z||(Y=F,a.forEach(X=>X.update(N/1e3)),n.needsRender=!0)};return H=requestAnimationFrame(U),()=>{cancelAnimationFrame(H)}},G={play:()=>{E||(C.play(),E=M(),requestAnimationFrame(()=>{e.object&&e.object.rotation.z!==e.rad&&(e.object.rotation.z=e.rad)}))},stop:()=>{C.stop(),E==null||E(),E=void 0}};e.animation=G},h=w=>{var C;if(!e.object)return console.error("ModelEntryDoorGuidePlugin.enable(): object is ",e.object);((C=w==null?void 0:w.animationEnable)!=null?C:i)&&(e.animation||c(),e.animation.play()),n.scene.add(e.object),n.needsRender=!0},u=()=>{e.object&&(e.animation&&e.animation.stop(),n.scene.remove(e.object),n.needsRender=!0)},f=w=>w==="Floorplan"?h():u();return{load:l,enable:w=>(e.enabled||(e.enabled=!0,f(n.currentMode),n.on("modeChange",f),h(w)),!0),disable:()=>(e.enabled&&(e.enabled=!1,u(),n.off("modeChange",f)),!0)}},v1=oi;function A1(n,t,e,i=v1.Linear.None){const s=new pr(n).to(t,e).easing(i);Ks(()=>s.start(0));const o=os(a=>{s.update(a)===!1&&o()}),r=[];return s.onDestroy=a=>(r.push(a),s),s.destroy=function(){this.stop(),Object.assign(s,{_onStartCallback:null,_onUpdateCallback:null,_onCompleteCallback:null,_onStopCallbackL:null});let a;for(;a=r.shift();)a();o()},s}function b1(n,t){return A1({progress:0},{progress:1},n,t)}var Om=(n=>(n.Move="Move",n.Rotate="Rotate",n))(Om||{}),ii=(n=>(n.Clockwise="Clockwise",n.Anticlockwise="Anticlockwise",n.Loop="Loop",n))(ii||{});const Wo=Math.PI*2;function Yh(n){return(n%Wo+Wo)%Wo}function Xh(n){return n%Wo}function Ba(n,t,e){return n+(t-n)*e}const Al=(n,t,e)=>{const i=Math.PI,s=i*2;let o=Yh(n),r=Yh(t);return e===ii.Anticlockwise&&o<r&&(o+=s),e===ii.Clockwise&&r<o&&(r+=s),e===ii.Loop&&r-o>i?Al(o,r,ii.Anticlockwise):e===ii.Loop&&o-r>i?Al(o,r,ii.Clockwise):{from:o,to:r}},y1=n=>{const t={},e=(l,c,...h)=>Q(exports,[l,c,...h],function*(o,r,a={preload:!0}){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)=>{const m=o.panoIndex!==void 0?o.panoIndex:n.panoIndex;m!==void 0?n.moveToPano(m,k({duration:r,moveEndCallback:()=>u(!0),moveCancelCallback:()=>f(new Error("move canceled"))},o)):f(new Error("unexpected error"))})}),i=o=>{const r=n.state,a=Xh(r.latitude),l=Xh(o.latitude),{from:c,to:h}=Al(r.longitude,o.longitude,o.rotation||ii.Loop),u=r.fov,f=o.fov;return{from:{latitude:a,longitude:c,fov:u},to:{latitude:l,longitude:h,fov:f}}};return{move:e,rotate:(l,c,...h)=>Q(exports,[l,c,...h],function*(o,r,a={}){t.interruptCallback&&t.interruptCallback(!1),a.asyncStartCallback&&(yield a.asyncStartCallback()),n.currentMode!==Je.Five.Mode.Panorama&&(yield n.changeMode(Je.Five.Mode.Panorama)),o.panoIndex!==void 0&&o.panoIndex!==n.panoIndex&&(a.preload&&(yield n.preloadPano(o.panoIndex)),yield new Promise((m,p)=>{if(!o.panoIndex){m(!0);return}n.moveToPano(o.panoIndex,{moveEndCallback:()=>m(!0),moveCancelCallback:()=>p(new Error("move canceled"))})})),a.asyncEndCallback&&(yield a.asyncEndCallback());const{from:u,to:f}=i(o);return yield new Promise(m=>{const p=({progress:I})=>{const C={};C.longitude=Ba(u.longitude,f.longitude,I),C.latitude=Ba(u.latitude,f.latitude,I),C.fov=Ba(u.fov,f.fov,I),n.setState(C,!0)},v=()=>{m(!0)},g=()=>{m(!1)},A=o.rotateSpeed?Math.ceil(Math.abs(f.longitude-u.longitude)/o.rotateSpeed*1e3):r,w=b1(A,oi.Linear.None).onUpdate(p).onComplete(v).onDestroy(g);o.rotation===ii.Loop&&w.repeat(1/0).yoyo(!0),t.interruptCallback=(I=!0)=>{w.destroy(),t.interruptCallback=void 0,t.timeoutId&&(clearTimeout(t.timeoutId),t.timeoutId=void 0),m(I)},t.timeoutId=setTimeout(()=>{t.interruptCallback&&t.interruptCallback(!0)},r)})})}};function Zh(n,t){return n.x===t.x&&n.y===t.y}function Vm(n,t){return Math.abs(n)===1/0&&Math.abs(t)===1/0?!0:Math.abs(n-t)<.001}function lr(n,t){return(t.y-n.y)/(t.x-n.x)}function Bm(n,t,e){const i=lr(n[1],n[0]),s=lr(t[1],t[0]);if(isNaN(i)||isNaN(s)||Vm(i,s))return!1;if(Do(n[0],t))return n[0];if(Do(n[1],t))return n[1];if(Do(t[0],n))return t[0];if(Do(t[1],n))return t[1];if(e&&!C1(n,t))return!1;const o=n[0],r=t[0];if(Math.abs(i)===1/0)return{x:o.x,y:t[1].y-(t[1].x-o.x)*s};if(Math.abs(s)===1/0)return{x:r.x,y:n[1].y-(n[1].x-r.x)*i};const a=(r.y-o.y+i*o.x-s*r.x)/(i-s),l=i*a-i*o.x+o.y;return{x:a,y:l}}function Do(n,t){return Zh(n,t[0])||Zh(n,t[1])?!0:(t[0].x-n.x)*(n.x-t[1].x)>=0&&(t[0].y-n.y)*(n.y-t[1].y)>=0&&Vm(lr(t[0],n),lr(n,t[1]))}function w1(n){let t=1/0,e=-1/0,i=1/0,s=-1/0;return n.forEach(o=>{t=Math.min(t,o.x),e=Math.max(e,o.x),i=Math.min(i,o.y),s=Math.max(s,o.y)}),{x:(t+e)/2,y:(i+s)/2}}function So(n,t,e){return(n.x-e.x)*(t.y-e.y)-(t.x-e.x)*(n.y-e.y)}function C1(n,t){return Math.max(n[0].x,n[1].x)>=Math.min(t[0].x,t[1].x)&&Math.max(t[0].x,t[1].x)>=Math.min(n[0].x,n[1].x)&&Math.max(n[0].y,n[1].y)>=Math.min(t[0].y,t[1].y)&&So(t[0],n[1],n[0])*So(n[1],t[1],n[0])>0&&So(n[0],t[1],t[0])*So(t[1],n[1],t[0])>0?1:0}function Rm(n,t=0){t<=0?requestAnimationFrame(n):requestAnimationFrame(()=>Rm(n,t-1))}const P1=`<style type="text/css">
452
+ `;return n.$$set=o=>{"content"in o&&e(0,i=o.content)},[i,s]}class eA extends de{constructor(t){super(),he(this,t,$0,K0,ce,{content:0},q0)}}function tA(n){me(n,"svelte-ozpg4a",".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}")}function iA(n){let t,e;return t=new J0({props:{url:n[1].url}}),{c(){oe(t.$$.fragment)},m(i,s){ne(t,i,s),e=!0},p(i,s){const o={};s&2&&(o.url=i[1].url),t.$set(o)},i(i){e||(D(t.$$.fragment,i),e=!0)},o(i){B(t.$$.fragment,i),e=!1},d(i){se(t,i)}}}function nA(n){let t,e;return t=new eA({props:{content:n[0]}}),{c(){oe(t.$$.fragment)},m(i,s){ne(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.content=i[0]),t.$set(o)},i(i){e||(D(t.$$.fragment,i),e=!0)},o(i){B(t.$$.fragment,i),e=!1},d(i){se(t,i)}}}function sA(n){let t,e,i,s;const o=[nA,iA],r=[];function a(l,c){return l[0]?0:l[1]?1:-1}return~(e=a(n))&&(i=r[e]=o[e](n)),{c(){t=L("div"),i&&i.c(),P(t,"class","floorplan-plugin__base-image svelte-ozpg4a")},m(l,c){R(l,t,c),~e&&r[e].m(t,null),s=!0},p(l,[c]){let h=e;e=a(l),e===h?~e&&r[e].p(l,c):(i&&(ue(),B(r[h],1,1,()=>{r[h]=null}),fe()),~e?(i=r[e],i?i.p(l,c):(i=r[e]=o[e](l),i.c()),D(i,1),i.m(t,null)):i=null)},i(l){s||(D(i),s=!0)},o(l){B(i),s=!1},d(l){l&&V(t),~e&&r[e].d()}}}function oA(n,t,e){let i,s,{floorIndex:o}=t,{floorplanData:r}=t;return n.$$set=a=>{"floorIndex"in a&&e(2,o=a.floorIndex),"floorplanData"in a&&e(3,r=a.floorplanData)},n.$$.update=()=>{var a,l;n.$$.dirty&12&&e(1,i=r.outlines[o]),n.$$.dirty&12&&e(0,s=(l=(a=r.outlines)==null?void 0:a[o])==null?void 0:l.svgContent)},[s,i,o,r]}class km extends de{constructor(t){super(),he(this,t,oA,sA,ce,{floorIndex:2,floorplanData:3},tA)}}function rA(n){me(n,"svelte-9vzn2f",".floorplan-plugin__room-label-item.svelte-9vzn2f{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-part1.svelte-9vzn2f{display:flex;flex-flow:column;align-items:center;color:#fff;white-space:nowrap}.floorplan-plugin__room-area.svelte-9vzn2f{opacity:0.6;line-height:1.25;margin-top:0.125rem}")}function aA(n){let t,e=n[15].outerHTML+"",i;return{c(){t=new $o(!1),i=Ee(),t.a=i},m(s,o){t.m(e,s,o),R(s,i,o)},p(s,o){o[0]&32768&&e!==(e=s[15].outerHTML+"")&&t.p(e)},d(s){s&&V(i),s&&t.d()}}}function lA(n){let t,e,i,s,o,r,a=n[1]&&fh(n),l=n[0]&&mh(n),c=n[2]&&gh(n);return{c(){t=L("div"),a&&a.c(),e=ee(),l&&l.c(),i=ee(),c&&c.c(),s=Ee(),P(t,"class","floorplan-plugin__room-part1 svelte-9vzn2f"),j(t,"opacity",n[11]?"1":"0")},m(h,u){R(h,t,u),a&&a.m(t,null),O(t,e),l&&l.m(t,null),R(h,i,u),c&&c.m(h,u),R(h,s,u),o||(r=[Wt(Gi.call(null,t)),we(t,"clientWidth",n[32]),we(t,"clientHeight",n[33])],o=!0)},p(h,u){h[1]?a?a.p(h,u):(a=fh(h),a.c(),a.m(t,e)):a&&(a.d(1),a=null),h[0]?l?l.p(h,u):(l=mh(h),l.c(),l.m(t,null)):l&&(l.d(1),l=null),u[0]&2048&&j(t,"opacity",h[11]?"1":"0"),h[2]?c?c.p(h,u):(c=gh(h),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},d(h){h&&V(t),a&&a.d(),l&&l.d(),h&&V(i),c&&c.d(h),h&&V(s),o=!1,rt(r)}}}function fh(n){let t,e=n[3].name+"",i;return{c(){t=L("span"),i=Se(e),P(t,"class","floorplan-plugin__room-name")},m(s,o){R(s,t,o),O(t,i)},p(s,o){o[0]&8&&e!==(e=s[3].name+"")&&Te(i,e)},d(s){s&&V(t)}}}function mh(n){let t,e;return{c(){t=L("span"),e=Se(n[14]),P(t,"class","floorplan-plugin__room-area svelte-9vzn2f"),j(t,"font-size",n[19])},m(i,s){R(i,t,s),O(t,e)},p(i,s){s[0]&16384&&Te(e,i[14])},d(i){i&&V(t)}}}function gh(n){let t,e;return{c(){t=L("span"),e=Se(n[13]),P(t,"class","floorplan-plugin__room-size"),j(t,"font-size",n[19]),j(t,"opacity",n[10]?"0.6":"0")},m(i,s){R(i,t,s),O(t,e)},p(i,s){s[0]&8192&&Te(e,i[13]),s[0]&1024&&j(t,"opacity",i[10]?"0.6":"0")},d(i){i&&V(t)}}}function cA(n){let t,e,i;function s(a,l){if(a[4]===void 0)return lA;if(a[15])return aA}let o=s(n),r=o&&o(n);return{c(){t=L("div"),r&&r.c(),P(t,"class","floorplan-plugin__room-label-item svelte-9vzn2f"),j(t,"left",n[16]),j(t,"top",n[17]),j(t,"font-size",n[18]),j(t,"opacity",n[12]?"1":"0"),j(t,"transform",n[9]?"translate(-50%, calc(-50% + 6px))":"translate(-50%, -50%)")},m(a,l){R(a,t,l),r&&r.m(t,null),e||(i=[Wt(Gi.call(null,t)),we(t,"clientWidth",n[34]),we(t,"clientHeight",n[35])],e=!0)},p(a,l){o===(o=s(a))&&r?r.p(a,l):(r&&r.d(1),r=o&&o(a),r&&(r.c(),r.m(t,null))),l[0]&4096&&j(t,"opacity",a[12]?"1":"0"),l[0]&512&&j(t,"transform",a[9]?"translate(-50%, calc(-50% + 6px))":"translate(-50%, -50%)")},i:K,o:K,d(a){a&&V(t),r&&r.d(),e=!1,rt(i)}}}function hA(n,t){const e=n[0],i=n[1];let s=!1;for(let o=0,r=t.length-1;o<t.length;r=o++){const a=t[o][0],l=t[o][1],c=t[r][0],h=t[r][1];l>i!=h>i&&e<(c-a)*(i-l)/(h-l)+a&&(s=!s)}return s}function dA(n,t,e){let i,s,o,r,a,l,c,h,u,f,m,p,v,{pxmm:g}=t,{roomAreaEnable:A}=t,{roomNameEnable:w}=t,{roomDimensionEnable:I}=t,{room:C}=t,{hoveredRoom:E}=t,{getRoomAreaText:M}=t,{getRoomDimensionText:S}=t,{getLabelElement:T}=t,{adaptiveRoomLabelVisibleEnable:G}=t;function H($,Ae){if(Ae.width===0||Ae.height===0)return()=>!1;const ze=$.path.map(({x:Ve,y:Ge})=>[Ve,Ge]),pe=$.roomLabel.position,{x:Ye,y:je}=pe,{width:ke,height:it}=Ae,le=ke/2,Ce=it/2;return function(Ge){const at=Ye*Ge,qe=je*Ge,nt=ze.map(([Ie,Ze])=>[Ie*Ge,Ze*Ge]);return[[at+le,qe-Ce],[at-le,qe-Ce],[at-le,qe+Ce],[at+le,qe+Ce]].every(Ie=>hA(Ie,nt))}}const Y=document.body.clientWidth,z=document.body.clientHeight,U=C.roomLabel,F=U.positionInImage.x*100+"%",N=U.positionInImage.y*100+"%",X=(Y<500||z<500?10:14)+"px",Z=(Y<500||z<500?8:12)+"px";let q=0,ae=0,re=0,Pe=0,ve=!1;E.subscribe(function(Ae){e(25,ve=!!Ae&&Ae.id===C.id)});const ge=$=>{e(7,re=$.detail)},_e=$=>{e(8,Pe=$.detail)},ye=$=>{e(5,q=$.detail)},We=$=>{e(6,ae=$.detail)};return n.$$set=$=>{"pxmm"in $&&e(20,g=$.pxmm),"roomAreaEnable"in $&&e(0,A=$.roomAreaEnable),"roomNameEnable"in $&&e(1,w=$.roomNameEnable),"roomDimensionEnable"in $&&e(2,I=$.roomDimensionEnable),"room"in $&&e(3,C=$.room),"hoveredRoom"in $&&e(21,E=$.hoveredRoom),"getRoomAreaText"in $&&e(22,M=$.getRoomAreaText),"getRoomDimensionText"in $&&e(23,S=$.getRoomDimensionText),"getLabelElement"in $&&e(4,T=$.getLabelElement),"adaptiveRoomLabelVisibleEnable"in $&&e(24,G=$.adaptiveRoomLabelVisibleEnable)},n.$$.update=()=>{var $,Ae;n.$$.dirty[0]&24&&e(15,i=T==null?void 0:T(C)),n.$$.dirty[0]&4194312&&e(14,s=C.size?M(C.size):""),n.$$.dirty[0]&8388616&&e(13,o=C!=null&&C.dimension?S(($=C.dimension)==null?void 0:$.width,(Ae=C.dimension)==null?void 0:Ae.height):""),n.$$.dirty[0]&384&&e(31,r={width:re,height:Pe}),n.$$.dirty[0]&8|n.$$.dirty[1]&1&&e(30,a=r?H(C,r):void 0),n.$$.dirty[0]&1091567616&&e(27,l=G?!!(a!=null&&a(g)):!0),n.$$.dirty[0]&96&&e(29,c={width:q,height:ae}),n.$$.dirty[0]&536870920&&e(28,h=c?H(C,c):void 0),n.$$.dirty[0]&286261248&&e(26,u=G?!!(h!=null&&h(g)):!0),n.$$.dirty[0]&234881024&&e(12,f=u||l||ve),n.$$.dirty[0]&167772160&&e(11,m=l||ve),n.$$.dirty[0]&100663296&&e(10,p=u||ve),n.$$.dirty[0]&201326592&&e(9,v=l&&!u)},[A,w,I,C,T,q,ae,re,Pe,v,p,m,f,o,s,i,F,N,X,Z,g,E,M,S,G,ve,u,l,h,c,a,r,ge,_e,ye,We]}class uA extends de{constructor(t){super(),he(this,t,dA,cA,ce,{pxmm:20,roomAreaEnable:0,roomNameEnable:1,roomDimensionEnable:2,room:3,hoveredRoom:21,getRoomAreaText:22,getRoomDimensionText:23,getLabelElement:4,adaptiveRoomLabelVisibleEnable:24},rA,[-1,-1])}}function fA(n){me(n,"svelte-13xux0b",".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}")}function ph(n,t,e){const i=n.slice();return i[14]=t[e],i}function vh(n){let t,e=[],i=new Map,s,o,r,a=n[10];const l=c=>c[14].id;for(let c=0;c<a.length;c+=1){let h=ph(n,a,c),u=l(h);i.set(u,e[c]=Ah(u,h))}return{c(){t=L("div");for(let c=0;c<e.length;c+=1)e[c].c();P(t,"class","floorplan-plugin__room-labels svelte-13xux0b")},m(c,h){R(c,t,h);for(let u=0;u<e.length;u+=1)e[u]&&e[u].m(t,null);s=!0,o||(r=[Wt(Gi.call(null,t)),we(t,"clientWidth",n[13])],o=!0)},p(c,h){h&1791&&(a=c[10],ue(),e=Zt(e,h,l,1,c,a,i,t,Ni,Ah,null,ph),fe())},i(c){if(!s){for(let h=0;h<a.length;h+=1)D(e[h]);s=!0}},o(c){for(let h=0;h<e.length;h+=1)B(e[h]);s=!1},d(c){c&&V(t);for(let h=0;h<e.length;h+=1)e[h].d();o=!1,rt(r)}}}function Ah(n,t){let e,i,s;const o=[{pxmm:t[9],room:t[14],hoveredRoom:t[3],roomAreaEnable:t[0],roomNameEnable:t[1],roomDimensionEnable:t[2],getLabelElement:t[6],getRoomAreaText:t[4],getRoomDimensionText:t[5],adaptiveRoomLabelVisibleEnable:t[7]}];let r={};for(let a=0;a<o.length;a+=1)r=vt(r,o[a]);return i=new uA({props:r}),{key:n,first:null,c(){e=Ee(),oe(i.$$.fragment),this.first=e},m(a,l){R(a,e,l),ne(i,a,l),s=!0},p(a,l){t=a;const c=l&1791?Ct(o,[{pxmm:t[9],room:t[14],hoveredRoom:t[3],roomAreaEnable:t[0],roomNameEnable:t[1],roomDimensionEnable:t[2],getLabelElement:t[6],getRoomAreaText:t[4],getRoomDimensionText:t[5],adaptiveRoomLabelVisibleEnable:t[7]}]):{};i.$set(c)},i(a){s||(D(i.$$.fragment,a),s=!0)},o(a){B(i.$$.fragment,a),s=!1},d(a){a&&V(e),se(i,a)}}}function mA(n){let t,e,i=n[10]&&vh(n);return{c(){i&&i.c(),t=Ee()},m(s,o){i&&i.m(s,o),R(s,t,o),e=!0},p(s,[o]){s[10]?i?(i.p(s,o),o&1024&&D(i,1)):(i=vh(s),i.c(),D(i,1),i.m(t.parentNode,t)):i&&(ue(),B(i,1,1,()=>{i=null}),fe())},i(s){e||(D(i),e=!0)},o(s){B(i),e=!1},d(s){i&&i.d(s),s&&V(t)}}}function gA(n,t,e){let i,{floorIndex:s}=t,{roomAreaEnable:o}=t,{roomNameEnable:r}=t,{roomDimensionEnable:a}=t,{floorplanData:l}=t,{hoveredRoom:c}=t,{getRoomAreaText:h}=t,{getRoomDimensionText:u}=t,{getLabelElement:f}=t,{adaptiveRoomLabelVisibleEnable:m}=t,p=0,v=0;const g=A=>{e(8,p=A.detail)};return n.$$set=A=>{"floorIndex"in A&&e(11,s=A.floorIndex),"roomAreaEnable"in A&&e(0,o=A.roomAreaEnable),"roomNameEnable"in A&&e(1,r=A.roomNameEnable),"roomDimensionEnable"in A&&e(2,a=A.roomDimensionEnable),"floorplanData"in A&&e(12,l=A.floorplanData),"hoveredRoom"in A&&e(3,c=A.hoveredRoom),"getRoomAreaText"in A&&e(4,h=A.getRoomAreaText),"getRoomDimensionText"in A&&e(5,u=A.getRoomDimensionText),"getLabelElement"in A&&e(6,f=A.getLabelElement),"adaptiveRoomLabelVisibleEnable"in A&&e(7,m=A.adaptiveRoomLabelVisibleEnable)},n.$$.update=()=>{if(n.$$.dirty&6144&&e(10,i=l.floorDatas[s].rooms),n.$$.dirty&4352){const{max:A,min:w}=l.bounding,I=A.x-w.x;e(9,v=p/I)}},[o,r,a,c,h,u,f,m,p,v,i,s,l,g]}class pA extends de{constructor(t){super(),he(this,t,gA,mA,ce,{floorIndex:11,roomAreaEnable:0,roomNameEnable:1,roomDimensionEnable:2,floorplanData:12,hoveredRoom:3,getRoomAreaText:4,getRoomDimensionText:5,getLabelElement:6,adaptiveRoomLabelVisibleEnable:7},fA)}}function vA(n){me(n,"svelte-1fuyezq",".floorplan-plugin__rule-labels.svelte-1fuyezq.svelte-1fuyezq{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-1fuyezq.svelte-1fuyezq{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-1fuyezq.svelte-1fuyezq{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-1fuyezq.svelte-1fuyezq{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-1fuyezq.svelte-1fuyezq{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-1fuyezq.svelte-1fuyezq{background:#fff;opacity:0.2;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-1fuyezq.svelte-1fuyezq{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-1fuyezq .floorplan-plugin__rule-scale-wrapper.svelte-1fuyezq{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-1fuyezq.svelte-1fuyezq{position:absolute;background:#fff;opacity:0.2;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-1fuyezq .floorplan-plugin__rule-scale.svelte-1fuyezq{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-1fuyezq.svelte-1fuyezq{position:absolute}.floorplan-plugin__rule-labels--top.svelte-1fuyezq .floorplan-plugin__rule-text-wrapper.svelte-1fuyezq{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-1fuyezq .floorplan-plugin__rule-text-wrapper.svelte-1fuyezq{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-1fuyezq .floorplan-plugin__rule-text-wrapper.svelte-1fuyezq{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-1fuyezq .floorplan-plugin__rule-text-wrapper.svelte-1fuyezq{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-1fuyezq.svelte-1fuyezq{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-1fuyezq .floorplan-plugin__rule-text-item.svelte-1fuyezq{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-1fuyezq.svelte-1fuyezq{width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.35}")}function bh(n,t,e){const i=n.slice();return i[11]=t[e],i[13]=e,i}function yh(n,t,e){const i=n.slice();return i[14]=t[e],i}function wh(n){let t;return{c(){t=L("div"),P(t,"class","floorplan-plugin__rule-scale svelte-1fuyezq"),j(t,"left",n[14].left*100+"%"),j(t,"bottom",n[14].bottom*100+"%")},m(e,i){R(e,t,i)},p:K,d(e){e&&V(t)}}}function Ch(n,t){let e,i,s=t[1](t[11].distance)+"",o,r;return{key:n,first:null,c(){e=L("div"),i=L("div"),o=Se(s),r=ee(),P(i,"class","floorplan-plugin__rule-text svelte-1fuyezq"),ie(i,"is-row",t[2]),P(e,"class","floorplan-plugin__rule-text-item svelte-1fuyezq"),j(e,"left",t[11].left*100+"%"),j(e,"bottom",t[11].bottom*100+"%"),this.first=e},m(a,l){R(a,e,l),O(e,i),O(i,o),O(e,r)},p(a,l){t=a,l&2&&s!==(s=t[1](t[11].distance)+"")&&Te(o,s)},d(a){a&&V(e)}}}function AA(n){let t,e,i,s,o,r,a=[],l=new Map,c,h=n[3],u=[];for(let p=0;p<h.length;p+=1)u[p]=wh(yh(n,h,p));let f=n[4];const m=p=>p[13];for(let p=0;p<f.length;p+=1){let v=bh(n,f,p),g=m(v);l.set(g,a[p]=Ch(g,v))}return{c(){t=L("div"),e=L("div"),i=ee(),s=L("div");for(let p=0;p<u.length;p+=1)u[p].c();o=ee(),r=L("div");for(let p=0;p<a.length;p+=1)a[p].c();P(e,"class","floorplan-plugin__rule-line svelte-1fuyezq"),P(s,"class","floorplan-plugin__rule-scale-wrapper svelte-1fuyezq"),ie(s,"is-row",n[2]),P(r,"class","floorplan-plugin__rule-text-wrapper svelte-1fuyezq"),P(t,"class",c="floorplan-plugin__rule-labels floorplan-plugin__rule-labels--"+n[0]+" svelte-1fuyezq"),ie(t,"is-row",n[2]),j(t,"width",n[2]?"100%":1/16+"rem"),j(t,"height",n[2]?1/16+"rem":"100%")},m(p,v){R(p,t,v),O(t,e),O(t,i),O(t,s);for(let g=0;g<u.length;g+=1)u[g]&&u[g].m(s,null);O(t,o),O(t,r);for(let g=0;g<a.length;g+=1)a[g]&&a[g].m(r,null)},p(p,[v]){if(v&8){h=p[3];let g;for(g=0;g<h.length;g+=1){const A=yh(p,h,g);u[g]?u[g].p(A,v):(u[g]=wh(A),u[g].c(),u[g].m(s,null))}for(;g<u.length;g+=1)u[g].d(1);u.length=h.length}v&22&&(f=p[4],a=Zt(a,v,m,1,p,f,l,r,nc,Ch,null,bh)),v&1&&c!==(c="floorplan-plugin__rule-labels floorplan-plugin__rule-labels--"+p[0]+" svelte-1fuyezq")&&P(t,"class",c),v&5&&ie(t,"is-row",p[2])},i:K,o:K,d(p){p&&V(t),Xt(u,p);for(let v=0;v<a.length;v+=1)a[v].d()}}}const zn=1e3,jn=180;function bA(n,t,e){let{type:i}=t,{data:s}=t,{bounding:o}=t,{getRuleDistanceText:r}=t;const a=i==="top"||i==="bottom",l=o.max.x-o.min.x-(zn-jn)*2,c=o.max.y-o.min.y-(zn-jn)*2,h=s.map(([p,v])=>a?[p.x,v.x]:[p.y,v.y]).flat().sort().filter((p,v,g)=>v===0?!0:p!==g[v-1]),u=h.map(p=>{const v=a?(p-o.min.x-zn+jn)/l:0,g=a?0:(p-o.min.y-zn+jn)/c;return{left:v,bottom:g}});u.unshift({left:0,bottom:0}),u.push(a?{left:1,bottom:0}:{left:0,bottom:1});const f=h[h.length-1]-h[0],m=h.map((p,v,g)=>{const A=v===0?0:p-g[v-1],w=v===0?0:(p+g[v-1])/2,I=a?(w-o.min.x-zn+jn)/l:0,C=a?0:(w-o.min.y-zn+jn)/c;return{left:I,bottom:C,distance:A}}).filter(({distance:p})=>p/f>.1);return n.$$set=p=>{"type"in p&&e(0,i=p.type),"data"in p&&e(5,s=p.data),"bounding"in p&&e(6,o=p.bounding),"getRuleDistanceText"in p&&e(1,r=p.getRuleDistanceText)},[i,r,a,u,m,s,o]}class yA extends de{constructor(t){super(),he(this,t,bA,AA,ce,{type:0,data:5,bounding:6,getRuleDistanceText:1},vA)}}function wA(n){me(n,"svelte-1mzj9p3",".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}")}function Ph(n,t,e){const i=n.slice();return i[13]=t[e][0],i[14]=t[e][1],i}function Ih(n,t){let e,i,s;const o=[{type:t[13],data:t[14],bounding:t[1],getRuleDistanceText:t[0]}];let r={};for(let a=0;a<o.length;a+=1)r=vt(r,o[a]);return i=new yA({props:r}),{key:n,first:null,c(){e=Ee(),oe(i.$$.fragment),this.first=e},m(a,l){R(a,e,l),ne(i,a,l),s=!0},p(a,l){t=a;const c=l&19?Ct(o,[{type:t[13],data:t[14],bounding:t[1],getRuleDistanceText:t[0]}]):{};i.$set(c)},i(a){s||(D(i.$$.fragment,a),s=!0)},o(a){B(i.$$.fragment,a),s=!1},d(a){a&&V(e),se(i,a)}}}function CA(n){let t,e=[],i=new Map,s,o=n[4];const r=a=>a[13];for(let a=0;a<o.length;a+=1){let l=Ph(n,o,a),c=r(l);i.set(c,e[a]=Ih(c,l))}return{c(){t=L("div");for(let a=0;a<e.length;a+=1)e[a].c();P(t,"class","floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"),j(t,"width",n[3]),j(t,"height",n[2])},m(a,l){R(a,t,l);for(let c=0;c<e.length;c+=1)e[c]&&e[c].m(t,null);s=!0},p(a,[l]){l&19&&(o=a[4],ue(),e=Zt(e,l,r,1,a,o,i,t,Ni,Ih,null,Ph),fe()),l&8&&j(t,"width",a[3]),l&4&&j(t,"height",a[2])},i(a){if(!s){for(let l=0;l<o.length;l+=1)D(e[l]);s=!0}},o(a){for(let l=0;l<e.length;l+=1)B(e[l]);s=!1},d(a){a&&V(t);for(let l=0;l<e.length;l+=1)e[l].d()}}}const Eh=1e3,Mh=180;function PA(n,t,e){let i,s,o,r,a,l,c,h,u,f,{floorIndex:m}=t,{floorplanData:p}=t,{getRuleDistanceText:v}=t;return n.$$set=g=>{"floorIndex"in g&&e(5,m=g.floorIndex),"floorplanData"in g&&e(6,p=g.floorplanData),"getRuleDistanceText"in g&&e(0,v=g.getRuleDistanceText)},n.$$.update=()=>{n.$$.dirty&64&&e(1,i=p.bounding),n.$$.dirty&96&&e(11,s=p.floorDatas[m].rules),n.$$.dirty&2048&&e(12,o=Object.keys(s)),n.$$.dirty&6144&&e(4,r=o.map(g=>[g,s[g]])),n.$$.dirty&2&&e(9,a=i.max.x-i.min.x),n.$$.dirty&2&&e(7,l=i.max.y-i.min.y),n.$$.dirty&2&&e(10,c=i.max.x-i.min.x-(Eh-Mh)*2),n.$$.dirty&2&&e(8,h=i.max.y-i.min.y-(Eh-Mh)*2),n.$$.dirty&1536&&e(3,u=c/a*100+"%"),n.$$.dirty&384&&e(2,f=h/l*100+"%")},[v,i,f,u,r,m,p,l,h,a,c,s,o]}class IA extends de{constructor(t){super(),he(this,t,PA,CA,ce,{floorIndex:5,floorplanData:6,getRuleDistanceText:0},wA)}}function xr(n,t={}){let e="";const{needZ:i,needA:s}=t;return(i?n.slice().concat(n[0]):n.slice()).forEach((r,a)=>{const{x:l,y:c}=t.format?t.format(r):r,h=l+","+c;return a===0?(e+="M"+h,e):s!=null&&s[a]?(e+="A"+s[a]+","+h,e):(e+="L"+h,e)}),e+(i?"Z":"")}function Dm({x:n,y:t},e){const{max:i,min:s}=e;return{x:n-s.x,y:i.y-t}}function EA(n,t){const e=n.x*1e3+t.bounding.origin.x,i=-n.z*1e3+t.bounding.origin.y;return{x:e,y:i}}function MA(n,t){const e=t.bounding,i=e.max.x-e.min.x,s=e.max.y-e.min.y;return{x:(n.x-e.min.x)/i,y:(e.max.y-n.y)/s}}function xA(n,t){return Math.max(...t.work.observers.map(i=>n.z>=i.standingPosition.z?i.floorIndex:0))}function kA(n){let t;return{c(){t=He("path"),P(t,"d",n[0]),P(t,"fill","#2F313A")},m(e,i){R(e,t,i)},p(e,[i]){i&1&&P(t,"d",e[0])},i:K,o:K,d(e){e&&V(t)}}}function DA(n,t,e){let i,{path:s}=t;return n.$$set=o=>{"path"in o&&e(1,s=o.path)},n.$$.update=()=>{n.$$.dirty&2&&e(0,i=xr(s,{needZ:!0}))},[i,s]}class SA extends de{constructor(t){super(),he(this,t,DA,kA,ce,{path:1})}}function TA(n){let t,e,i,s,o,r;return{c(){t=He("defs"),e=He("pattern"),i=He("rect"),s=He("path"),o=ee(),r=He("path"),P(i,"x","0"),P(i,"y","0"),P(i,"width",n[1]),P(i,"height",n[1]),P(i,"fill","#323747"),P(s,"d",n[2]),P(s,"stroke","#ffffff"),P(s,"stroke-opacity","0.06"),P(s,"stroke-width","0.5"),P(s,"fill","none"),P(e,"id","fpm-room-pattern-0"),P(e,"x","0"),P(e,"y","0"),P(e,"width",n[1]),P(e,"height",n[1]),P(e,"patternUnits","userSpaceOnUse"),P(e,"patternTransform","scale(50 50)"),P(r,"d",n[0]),P(r,"fill","url(#fpm-room-pattern-0)")},m(a,l){R(a,t,l),O(t,e),O(e,i),O(e,s),R(a,o,l),R(a,r,l)},p(a,[l]){l&1&&P(r,"d",a[0])},i:K,o:K,d(a){a&&V(t),a&&V(o),a&&V(r)}}}const Oa=6;function LA(n,t,e){let i,{path:s}=t;const o=Oa*2,r=`M0 ${Oa} h ${o} M${Oa} 0 v ${o}`;return n.$$set=a=>{"path"in a&&e(3,s=a.path)},n.$$.update=()=>{n.$$.dirty&8&&e(0,i=xr(s,{needZ:!0}))},[i,o,r,s]}class zA extends de{constructor(t){super(),he(this,t,LA,TA,ce,{path:3})}}function jA(n){let t,e,i,s,o,r,a,l,c,h,u;return{c(){t=He("defs"),e=He("pattern"),i=He("rect"),s=He("pattern"),o=He("rect"),r=ee(),a=He("path"),l=ee(),c=He("path"),h=ee(),u=He("path"),P(i,"x","0"),P(i,"y","0"),P(i,"width","6"),P(i,"height","50"),P(i,"fill","none"),P(i,"stroke","#4B4B57"),P(i,"stroke-width","0.5"),P(e,"id","room-material-pattern-1"),P(e,"x","0"),P(e,"y","0"),P(e,"width","12"),P(e,"height","50"),P(e,"patternUnits","userSpaceOnUse"),P(e,"patternTransform","scale(50 50)"),P(o,"x","0"),P(o,"y","0"),P(o,"width","6"),P(o,"height","50"),P(o,"fill","none"),P(o,"stroke","#4B4B57"),P(o,"stroke-width","0.5"),P(s,"id","room-material-pattern-2"),P(s,"x","6"),P(s,"y","25"),P(s,"width","12"),P(s,"height","50"),P(s,"patternUnits","userSpaceOnUse"),P(s,"patternTransform","scale(50 50)"),P(a,"d",n[0]),P(a,"fill","#43434D"),P(c,"d",n[0]),P(c,"fill","url(#room-material-pattern-1)"),P(u,"d",n[0]),P(u,"fill","url(#room-material-pattern-2)")},m(f,m){R(f,t,m),O(t,e),O(e,i),O(t,s),O(s,o),R(f,r,m),R(f,a,m),R(f,l,m),R(f,c,m),R(f,h,m),R(f,u,m)},p(f,[m]){m&1&&P(a,"d",f[0]),m&1&&P(c,"d",f[0]),m&1&&P(u,"d",f[0])},i:K,o:K,d(f){f&&V(t),f&&V(r),f&&V(a),f&&V(l),f&&V(c),f&&V(h),f&&V(u)}}}function OA(n,t,e){let i,{path:s}=t;return n.$$set=o=>{"path"in o&&e(1,s=o.path)},n.$$.update=()=>{n.$$.dirty&2&&e(0,i=xr(s,{needZ:!0}))},[i,s]}class VA extends de{constructor(t){super(),he(this,t,OA,jA,ce,{path:1})}}function BA(n){me(n,"svelte-1dykexu",".floorplan-plugin__room-material.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%}svg.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}")}function xh(n,t,e){const i=n.slice();return i[5]=t[e],i}function RA(n){let t,e;return t=new zA({props:{path:n[5].path}}),{c(){oe(t.$$.fragment)},m(i,s){ne(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.path=i[5].path),t.$set(o)},i(i){e||(D(t.$$.fragment,i),e=!0)},o(i){B(t.$$.fragment,i),e=!1},d(i){se(t,i)}}}function _A(n){let t,e;return t=new VA({props:{path:n[5].path}}),{c(){oe(t.$$.fragment)},m(i,s){ne(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.path=i[5].path),t.$set(o)},i(i){e||(D(t.$$.fragment,i),e=!0)},o(i){B(t.$$.fragment,i),e=!1},d(i){se(t,i)}}}function FA(n){let t,e;return t=new SA({props:{path:n[5].path}}),{c(){oe(t.$$.fragment)},m(i,s){ne(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.path=i[5].path),t.$set(o)},i(i){e||(D(t.$$.fragment,i),e=!0)},o(i){B(t.$$.fragment,i),e=!1},d(i){se(t,i)}}}function kh(n){let t,e,i,s;const o=[FA,_A,RA],r=[];function a(l,c){return l[5].floorType===1?0:l[5].floorType===0?1:2}return e=a(n),i=r[e]=o[e](n),{c(){t=He("svg"),i.c(),P(t,"width","100%"),P(t,"height","100%"),P(t,"viewBox",`0 0 ${n[1]} ${n[2]}`),P(t,"class","svelte-1dykexu")},m(l,c){R(l,t,c),r[e].m(t,null),s=!0},p(l,c){let h=e;e=a(l),e===h?r[e].p(l,c):(ue(),B(r[h],1,1,()=>{r[h]=null}),fe(),i=r[e],i?i.p(l,c):(i=r[e]=o[e](l),i.c()),D(i,1),i.m(t,null))},i(l){s||(D(i),s=!0)},o(l){B(i),s=!1},d(l){l&&V(t),r[e].d()}}}function HA(n){let t,e,i=n[0],s=[];for(let r=0;r<i.length;r+=1)s[r]=kh(xh(n,i,r));const o=r=>B(s[r],1,1,()=>{s[r]=null});return{c(){t=L("div");for(let r=0;r<s.length;r+=1)s[r].c();P(t,"class","floorplan-plugin__room-material svelte-1dykexu")},m(r,a){R(r,t,a);for(let l=0;l<s.length;l+=1)s[l]&&s[l].m(t,null);e=!0},p(r,[a]){if(a&7){i=r[0];let l;for(l=0;l<i.length;l+=1){const c=xh(r,i,l);s[l]?(s[l].p(c,a),D(s[l],1)):(s[l]=kh(c),s[l].c(),D(s[l],1),s[l].m(t,null))}for(ue(),l=i.length;l<s.length;l+=1)o(l);fe()}},i(r){if(!e){for(let a=0;a<i.length;a+=1)D(s[a]);e=!0}},o(r){s=s.filter(Boolean);for(let a=0;a<s.length;a+=1)B(s[a]);e=!1},d(r){r&&V(t),Xt(s,r)}}}function NA(n,t,e){let i,{floorIndex:s}=t,{floorplanData:o}=t;const r=o.bounding.max.x-o.bounding.min.x,a=o.bounding.max.y-o.bounding.min.y;return n.$$set=l=>{"floorIndex"in l&&e(3,s=l.floorIndex),"floorplanData"in l&&e(4,o=l.floorplanData)},n.$$.update=()=>{n.$$.dirty&24&&e(0,i=o.floorDatas[s].rooms.map(l=>te(k({},l),{path:l.path.map(c=>Dm(c,o.bounding))})))},[i,r,a,s,o]}class GA extends de{constructor(t){super(),he(this,t,NA,HA,ce,{floorIndex:3,floorplanData:4},BA)}}function QA(n){me(n,"svelte-qq2273","path.svelte-qq2273{--opacity:0;opacity:var(--opacity)}path.svelte-qq2273:hover{opacity:calc(var(--opacity) + 0.1)}")}function WA(n){let t,e,i,s;return{c(){t=He("path"),P(t,"d",n[5]),P(t,"fill","#fff"),P(t,"style",n[2]),P(t,"id",e=`${n[1]}_${n[0].id}`),P(t,"class","svelte-qq2273")},m(o,r){R(o,t,r),i||(s=[we(t,"mouseenter",n[3]),we(t,"mouseleave",n[4])],i=!0)},p(o,[r]){r&4&&P(t,"style",o[2]),r&3&&e!==(e=`${o[1]}_${o[0].id}`)&&P(t,"id",e)},i:K,o:K,d(o){o&&V(t),i=!1,rt(s)}}}function UA(n,t,e){let i,s,{room:o}=t,{floorIndex:r}=t,{floorplanData:a}=t,{highlightData:l}=t,{hoveredRoom:c}=t;function h(){c==null||c.set(o)}function u(){c==null||c.set(void 0)}const{bounding:f}=a,m=xr(o.path,{needZ:!0,format:p=>Dm(p,f)});return n.$$set=p=>{"room"in p&&e(0,o=p.room),"floorIndex"in p&&e(1,r=p.floorIndex),"floorplanData"in p&&e(6,a=p.floorplanData),"highlightData"in p&&e(7,l=p.highlightData),"hoveredRoom"in p&&e(8,c=p.hoveredRoom)},n.$$.update=()=>{n.$$.dirty&131&&e(9,i=l[`${r}_${o.id}`]),n.$$.dirty&512&&e(2,s=i?`fill: ${i.color}; --opacity: ${i.opacity}; pointer-events: ${i.disabled?"none":"auto"}`:null)},[o,r,s,h,u,m,a,l,c,i]}class YA extends de{constructor(t){super(),he(this,t,UA,WA,ce,{room:0,floorIndex:1,floorplanData:6,highlightData:7,hoveredRoom:8},QA)}}function XA(n){me(n,"svelte-1kqo6e4",".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}")}function Dh(n,t,e){const i=n.slice();return i[6]=t[e],i}function Sh(n,t){let e,i,s;const o=[{room:t[6],floorplanData:t[1],hoveredRoom:t[3],floorIndex:t[0],highlightData:t[2]}];let r={};for(let a=0;a<o.length;a+=1)r=vt(r,o[a]);return i=new YA({props:r}),{key:n,first:null,c(){e=Ee(),oe(i.$$.fragment),this.first=e},m(a,l){R(a,e,l),ne(i,a,l),s=!0},p(a,l){t=a;const c=l&15?Ct(o,[{room:t[6],floorplanData:t[1],hoveredRoom:t[3],floorIndex:t[0],highlightData:t[2]}]):{};i.$set(c)},i(a){s||(D(i.$$.fragment,a),s=!0)},o(a){B(i.$$.fragment,a),s=!1},d(a){a&&V(e),se(i,a)}}}function ZA(n){let t,e,i=[],s=new Map,o,r=n[1].floorDatas[n[0]].rooms;const a=l=>l[6].id;for(let l=0;l<r.length;l+=1){let c=Dh(n,r,l),h=a(c);s.set(h,i[l]=Sh(h,c))}return{c(){t=L("div"),e=He("svg");for(let l=0;l<i.length;l+=1)i[l].c();P(e,"width","100%"),P(e,"height","100%"),P(e,"viewBox",`0 0 ${n[4]} ${n[5]}`),P(e,"class","svelte-1kqo6e4"),P(t,"class","floorplan-plugin__room-highlight svelte-1kqo6e4")},m(l,c){R(l,t,c),O(t,e);for(let h=0;h<i.length;h+=1)i[h]&&i[h].m(e,null);o=!0},p(l,[c]){c&15&&(r=l[1].floorDatas[l[0]].rooms,ue(),i=Zt(i,c,a,1,l,r,s,e,Ni,Sh,null,Dh),fe())},i(l){if(!o){for(let c=0;c<r.length;c+=1)D(i[c]);o=!0}},o(l){for(let c=0;c<i.length;c+=1)B(i[c]);o=!1},d(l){l&&V(t);for(let c=0;c<i.length;c+=1)i[c].d()}}}function JA(n,t,e){let{floorIndex:i}=t,{floorplanData:s}=t,{highlightData:o}=t,{hoveredRoom:r}=t;const a=s.bounding.max.x-s.bounding.min.x,l=s.bounding.max.y-s.bounding.min.y;return n.$$set=c=>{"floorIndex"in c&&e(0,i=c.floorIndex),"floorplanData"in c&&e(1,s=c.floorplanData),"highlightData"in c&&e(2,o=c.highlightData),"hoveredRoom"in c&&e(3,r=c.hoveredRoom)},[i,s,o,r,a,l]}class Sm extends de{constructor(t){super(),he(this,t,JA,ZA,ce,{floorIndex:0,floorplanData:1,highlightData:2,hoveredRoom:3},XA)}}function qA(n){me(n,"svelte-1lm20n5",".missing-floor.svelte-1lm20n5{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center}.text.svelte-1lm20n5{margin-top:0.75rem;color:#fff;opacity:0.3}")}function Th(n){let t,e=n[0].text+"",i;return{c(){t=L("span"),i=Se(e),P(t,"class","text svelte-1lm20n5"),j(t,"font-size",n[0].textFontSize+"px")},m(s,o){R(s,t,o),O(t,i)},p(s,o){o&1&&e!==(e=s[0].text+"")&&Te(i,e),o&1&&j(t,"font-size",s[0].textFontSize+"px")},d(s){s&&V(t)}}}function KA(n){let t,e,i,s,o=n[0].text&&Th(n);return{c(){t=L("div"),e=L("img"),s=ee(),o&&o.c(),P(e,"class","image"),P(e,"alt","缺省楼层展位图"),dt(e.src,i=n[0].imageURL)||P(e,"src",i),j(e,"width",n[0].imageWidth+"px"),j(e,"height",n[0].imageHeight+"px"),P(t,"class","missing-floor svelte-1lm20n5")},m(r,a){R(r,t,a),O(t,e),O(t,s),o&&o.m(t,null)},p(r,[a]){a&1&&!dt(e.src,i=r[0].imageURL)&&P(e,"src",i),a&1&&j(e,"width",r[0].imageWidth+"px"),a&1&&j(e,"height",r[0].imageHeight+"px"),r[0].text?o?o.p(r,a):(o=Th(r),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},i:K,o:K,d(r){r&&V(t),o&&o.d()}}}function $A(n,t,e){let{missingFloorConfig:i}=t;return n.$$set=s=>{"missingFloorConfig"in s&&e(0,i=s.missingFloorConfig)},[i]}class eb extends de{constructor(t){super(),he(this,t,$A,KA,ce,{missingFloorConfig:0},qA)}}const Vi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAMAAAANf8AYAAAC2VBMVEUAAACCnP+Dn/+Enf+HqP+Gp/+Fof+Gpf+IrP+Lsf+Dof+Cmv+Lsv+Mtf+Eo/+Bmf+JrP+Hqf+Env+Krv+Fo/+Pu/+Ms/+Qvv+Hqf+RwP+KsP+Fpf+Mtv+Gov+Bnf+Qv/+Nt/+Krv+Ho/+Rwf+Ouv+Emv+Amv+SxP+Sw/+NuP+Mtf/G0f6huP+Ot/+JrP+Jqv+Dnv+crf6Uqv////+QvP+PvP+Ms//J0/3p9/+Ux/+Ouf+Krf+Iqf+Fpv+/zf6WsP+MpP+RqP+Uyf+Jy//V3P6Yuf+Qqf+Rqv/5/f+Sxf+Jy/////+Lx/+Ouf+Nw/+Owv+PwP+Jr/+Jq/+VvP+Vuv/c4v+Fnf+btP+InP+Blf/3+P6Txf+Jzf+Jyf+NxP+Qwf/t8/6Svv+Tv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GFYl6eTlN6ixi6aE6PqDLQZRi4EKI/KOfGFjUzqCKsXu6l2RpuAKJxiI1tHhcQJAYOHDhgwOZZs4ZSTHR5lQQYPDW1DS4aELQxdyEIAANGjtk8c6aaqTslk8gVwIAN0w3rAEL2bMtHm12AIOHqenXaNDWztEwo9hKJGHjR6OO0yDSI1IGdoQ0iY0a6Tt+06fKUDRQzqKw8Qlxr1AXrwNqwDvGBA+BrGUDc3d3Xr5+SQZj0E2ERqXIjPAJYNUbD18FoWEeDbHLPzLyQ4ePjQ5i3x1RCubfmpqkjMMNo6KOJ5uqe+f58C9GoaD29XyVSYS1h4DftKeWDDN4AbACZMZAsExEKghWUNKXWhlPfA2P1qjmUT556a9jmQotWi/VOFael1lR7ep4JfRZy8nhpwtG4wMMB/gdi9/nNH+vhezsmJ+fG5quX12fomHl6J+KFy88uA2RJyJPE4wkL4wIPBfgXxO5HxGN7zNw5W2bNnLZhio+OmaR3LD6tplrLfKeYAwX7/O6Dje/2dpniwuKiwoMHH+bn7723Z8/uHTu2fpg9+3p29sYrWVnr1l1cO2HCUFCGT+tshUcWLPj6IDf37ued27Z9unXz2owZU6dOnnxp4sQ1q1ePH79KN6vbQWc1SrfrTit6lO5NO6/F8yZNmofBfgNTwRQLsPLsHQAAAABJRU5ErkJggg==";function kr(n){return n*180/Math.PI}function tb(n){me(n,"svelte-17hhq1b",".floorplan__camera-position.svelte-17hhq1b{pointer-events:none;position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17hhq1b{position:absolute;background-repeat:no-repeat;background-size:100%}")}function ib(n){let t,e;return{c(){t=L("div"),e=L("div"),P(e,"class","floorplan__camera-rotate svelte-17hhq1b"),j(e,"background-image",`url(${n[0]||Vi})`),j(e,"width",n[4]),j(e,"height",n[4]),j(e,"left","-"+n[4]),j(e,"top","-"+n[4]),j(e,"transform",`rotate(${n[3]}deg)`),j(e,"transform-origin",`${n[4]} ${n[4]}`),P(t,"class","floorplan__camera-position svelte-17hhq1b"),j(t,"left",n[1]),j(t,"top",n[2])},m(i,s){R(i,t,s),O(t,e)},p(i,[s]){s&1&&j(e,"background-image",`url(${i[0]||Vi})`);const o=s&1;o&&j(e,"width",i[4]),o&&j(e,"height",i[4]),o&&j(e,"left","-"+i[4]),o&&j(e,"top","-"+i[4]),o&&j(e,"transform",`rotate(${i[3]}deg)`),o&&j(e,"transform-origin",`${i[4]} ${i[4]}`)},i:K,o:K,d(i){i&&V(t)}}}function nb(n,t,e){let{panoIndex:i}=t,{floorplanData:s}=t,{lastPanoramaLongitude:o}=t,{cameraImageUrl:r}=t;const{observers:a}=s,l=a[i],c=l.positionInImage.x,h=l.positionInImage.y,u=c*100+"%",f=h*100+"%",m=-kr(o)+45,p=document.body.clientWidth,v=document.body.clientHeight,A=`${(p<500||v<500?17:37)/16}rem`;return n.$$set=w=>{"panoIndex"in w&&e(5,i=w.panoIndex),"floorplanData"in w&&e(6,s=w.floorplanData),"lastPanoramaLongitude"in w&&e(7,o=w.lastPanoramaLongitude),"cameraImageUrl"in w&&e(0,r=w.cameraImageUrl)},[r,u,f,m,A,i,s,o]}let sb=class extends de{constructor(t){super(),he(this,t,nb,ib,ce,{panoIndex:5,floorplanData:6,lastPanoramaLongitude:7,cameraImageUrl:0},tb)}};const ob="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArUAAAB7CAMAAABdA4ieAAAC91BMVEUAAACOpP/H0P+yxP/a4/+asv/W3/+/z/+cs//S3f+mu//Q2//5+v/H1P/d5f/l6//y9f++zf/i6f+ww/+ovP/7/P/u8v/N2f+Mp//q7/+4yf+uwf+Wr/+7y/+1xv+Ho//x9P+9zP+2x/+swP+gt/+Oqf/Y4v/r8P/l7P/b4//F0/+juf+Zsv+XsP+Trf/p7v97mv9wj/+kuv+ftf/x9P92lf/3+f/I1f+5yv+Eof98m//8/f/4+f90lf+9zf/j6f/T3f/L1/+Bnv/6+/+SrP/m7P/f5v/O2v/L2P/E0v/Az//+///s8P/e5v+rv/+pvv+Anv+qvv+Pqv+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n0gtSEEncoNfRV1uKKN/KqL+/4C1xYSA7XapjATRGU1hGxT3NtcGnUK0UJgZf7TuDWEls1yt9wiWsja7awzYRWttYgWYrPcLbejWqua2WaCqBSixQLvWe5mi06RWqv8TDOhNUrZC9sdm+Xuu5cpUqvU+wwzYbVVkIXYLHd/olekVpmpZ8KiMYbU7ma/EXJZBW5JrZl2V9bRnNWyWe4xt8TWTPd3FdEYSEFslnsoURlAi01FqN56f2br2xeOe9ytgbyf4nErGg/hl6RN4Jc5Lt++2rVjHMdCIIqiqtoRQW2mMogIyZFjlsB2B9wjjaY1PXa3wcbSPaEDR1fP9fVt8aPai2+f2+TlWu2l0yweZHlEO5S9cyu1lDKj5T/fWCH4jLaUnXMbvFyrzby8xRrayqUM2+ZWqvuM1nmpgHWkl8F9z9yG7LNa5yEMa0n8yHb93Er1oXjnoMVyFn3KQVcP7VRpFn+sDiznaiuHNufsHnkIwy7aPA/r5jbFGW3m7S12ku55WPN7Li1PPIRhN6sjtBjTmm+KmYcwPEOKs9tHF1JDHCoHLZ5DQ8yPBic9DoHjAKvsb85qjbFxHOCprMZaf5qdhlorxwGeTsPIttvPlno0y3GAZfbHp6n3ynGAV0m99u/2J6H3znGAvW4n+J25tdY7xwFey1pvQe6/DlrjOMDLqfXW7N5pbs0YWhxgtpj0rl1uiaHFISzccSWohUCzOIemm0VKChwHOMutKCVwHOA4av/JVi0xtDiRpCRfRcvQ4lBfxSnG0OJc/+xTjKHFyVRMP38iDC0O92lZVRhanO+vcVWGFu9BRWkW7+Z3rapEizdy7ZVm8V5Gtr8AtSnix59eOmYAAAAASUVORK5CYII=";function rb(n){me(n,"svelte-rpkaro",".floorplan-plugin__compass.svelte-rpkaro{position:absolute;left:50%;top:-2.875rem;width:14.4375rem;height:2.5625rem;will-change:opacity;transform-origin:center 11.5rem}.floorplan-plugin__compass-image.svelte-rpkaro{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0.1;background-repeat:no-repeat;background-size:100% 100%}.floorplan-plugin__compass-text.svelte-rpkaro{position:absolute;left:50%;top:0.9375rem;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:0.625rem;color:#fff}")}function ab(n){let t,e,i,s,o;return{c(){t=L("div"),e=L("div"),i=ee(),s=L("span"),o=Se(n[0]),P(e,"class","floorplan-plugin__compass-image svelte-rpkaro"),j(e,"background-image",`url(${ob})`),P(s,"class","floorplan-plugin__compass-text svelte-rpkaro"),P(t,"class","floorplan-plugin__compass svelte-rpkaro"),j(t,"transform",n[2])},m(r,a){R(r,t,a),O(t,e),O(t,i),O(t,s),O(s,o)},p(r,a){a&1&&Te(o,r[0])},d(r){r&&V(t)}}}function lb(n){let t,e=n[1]&&ab(n);return{c(){e&&e.c(),t=Ee()},m(i,s){e&&e.m(i,s),R(i,t,s)},p(i,[s]){i[1]&&e.p(i,s)},i:K,o:K,d(i){e&&e.d(i),i&&V(t)}}}function cb(n,t,e){var c;let{floorplanData:i}=t,{northDesc:s}=t;const o=(c=i.entrance)==null?void 0:c.northRad,r=typeof o=="number",l=`translateX(-50%) translateZ(10px) rotate(${-(o?kr(o):0)+90}deg)`;return n.$$set=h=>{"floorplanData"in h&&e(3,i=h.floorplanData),"northDesc"in h&&e(0,s=h.northDesc)},[s,r,l,i]}class hb extends de{constructor(t){super(),he(this,t,cb,lb,ce,{floorplanData:3,northDesc:0},rb)}}function db(n){me(n,"svelte-bl8zrz",".floorplan-plugin__floor.svelte-bl8zrz{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;pointer-events:none}.floorplan-plugin__floor--is-current.svelte-bl8zrz{opacity:1;pointer-events:auto}")}function ub(n){let t,e,i,s,o,r,a,l,c,h;const u=[{floorIndex:n[2],floorplanData:n[11]}];let f={};for(let C=0;C<u.length;C+=1)f=vt(f,u[C]);t=new GA({props:f});let m=(n[3]||n[5])&&Lh(n);const p=[{floorplanData:n[11],floorIndex:n[2]}];let v={};for(let C=0;C<p.length;C+=1)v=vt(v,p[C]);s=new km({props:v});let g=n[6]&&zh(n),A=n[10]&&jh(n),w=n[4]&&Oh(n),I=n[22]&&Vh(n);return{c(){oe(t.$$.fragment),e=ee(),m&&m.c(),i=ee(),oe(s.$$.fragment),o=ee(),g&&g.c(),r=ee(),A&&A.c(),a=ee(),w&&w.c(),l=ee(),I&&I.c(),c=Ee()},m(C,E){ne(t,C,E),R(C,e,E),m&&m.m(C,E),R(C,i,E),ne(s,C,E),R(C,o,E),g&&g.m(C,E),R(C,r,E),A&&A.m(C,E),R(C,a,E),w&&w.m(C,E),R(C,l,E),I&&I.m(C,E),R(C,c,E),h=!0},p(C,E){const M=E&2052?Ct(u,[{floorIndex:C[2],floorplanData:C[11]}]):{};t.$set(M),C[3]||C[5]?m?(m.p(C,E),E&40&&D(m,1)):(m=Lh(C),m.c(),D(m,1),m.m(i.parentNode,i)):m&&(ue(),B(m,1,1,()=>{m=null}),fe());const S=E&2052?Ct(p,[{floorplanData:C[11],floorIndex:C[2]}]):{};s.$set(S),C[6]?g?(g.p(C,E),E&64&&D(g,1)):(g=zh(C),g.c(),D(g,1),g.m(r.parentNode,r)):g&&(ue(),B(g,1,1,()=>{g=null}),fe()),C[10]?A?(A.p(C,E),E&1024&&D(A,1)):(A=jh(C),A.c(),D(A,1),A.m(a.parentNode,a)):A&&(ue(),B(A,1,1,()=>{A=null}),fe()),C[4]?w?(w.p(C,E),E&16&&D(w,1)):(w=Oh(C),w.c(),D(w,1),w.m(l.parentNode,l)):w&&(ue(),B(w,1,1,()=>{w=null}),fe()),C[22]?I?(I.p(C,E),E&4194304&&D(I,1)):(I=Vh(C),I.c(),D(I,1),I.m(c.parentNode,c)):I&&(ue(),B(I,1,1,()=>{I=null}),fe())},i(C){h||(D(t.$$.fragment,C),D(m),D(s.$$.fragment,C),D(g),D(A),D(w),D(I),h=!0)},o(C){B(t.$$.fragment,C),B(m),B(s.$$.fragment,C),B(g),B(A),B(w),B(I),h=!1},d(C){se(t,C),C&&V(e),m&&m.d(C),C&&V(i),se(s,C),C&&V(o),g&&g.d(C),C&&V(r),A&&A.d(C),C&&V(a),w&&w.d(C),C&&V(l),I&&I.d(C),C&&V(c)}}}function fb(n){let t,e;return t=new eb({props:{missingFloorConfig:n[18]}}),{c(){oe(t.$$.fragment)},m(i,s){ne(t,i,s),e=!0},p(i,s){const o={};s&262144&&(o.missingFloorConfig=i[18]),t.$set(o)},i(i){e||(D(t.$$.fragment,i),e=!0)},o(i){B(t.$$.fragment,i),e=!1},d(i){se(t,i)}}}function Lh(n){let t,e;const i=[{floorIndex:n[2],floorplanData:n[11],hoveredRoom:n[24],highlightData:n[17]}];let s={};for(let o=0;o<i.length;o+=1)s=vt(s,i[o]);return t=new Sm({props:s}),{c(){oe(t.$$.fragment)},m(o,r){ne(t,o,r),e=!0},p(o,r){const a=r&16910340?Ct(i,[{floorIndex:o[2],floorplanData:o[11],hoveredRoom:o[24],highlightData:o[17]}]):{};t.$set(a)},i(o){e||(D(t.$$.fragment,o),e=!0)},o(o){B(t.$$.fragment,o),e=!1},d(o){se(t,o)}}}function zh(n){let t,e;const i=[{floorplanData:n[11],roomAreaEnable:n[7],roomNameEnable:n[8],roomDimensionEnable:n[9],floorIndex:n[2],getRoomAreaText:n[12],getRoomDimensionText:n[13],getLabelElement:n[14],hoveredRoom:n[24],adaptiveRoomLabelVisibleEnable:n[16]}];let s={};for(let o=0;o<i.length;o+=1)s=vt(s,i[o]);return t=new pA({props:s}),{c(){oe(t.$$.fragment)},m(o,r){ne(t,o,r),e=!0},p(o,r){const a=r&16874372?Ct(i,[{floorplanData:o[11],roomAreaEnable:o[7],roomNameEnable:o[8],roomDimensionEnable:o[9],floorIndex:o[2],getRoomAreaText:o[12],getRoomDimensionText:o[13],getLabelElement:o[14],hoveredRoom:o[24],adaptiveRoomLabelVisibleEnable:o[16]}]):{};t.$set(a)},i(o){e||(D(t.$$.fragment,o),e=!0)},o(o){B(t.$$.fragment,o),e=!1},d(o){se(t,o)}}}function jh(n){let t,e;const i=[{floorplanData:n[11],floorIndex:n[2],getRuleDistanceText:n[15]}];let s={};for(let o=0;o<i.length;o+=1)s=vt(s,i[o]);return t=new IA({props:s}),{c(){oe(t.$$.fragment)},m(o,r){ne(t,o,r),e=!0},p(o,r){const a=r&34820?Ct(i,[{floorplanData:o[11],floorIndex:o[2],getRuleDistanceText:o[15]}]):{};t.$set(a)},i(o){e||(D(t.$$.fragment,o),e=!0)},o(o){B(t.$$.fragment,o),e=!1},d(o){se(t,o)}}}function Oh(n){let t,e;const i=[{panoIndex:n[0],floorplanData:n[11],lastPanoramaLongitude:n[19],cameraImageUrl:n[20]}];let s={};for(let o=0;o<i.length;o+=1)s=vt(s,i[o]);return t=new sb({props:s}),{c(){oe(t.$$.fragment)},m(o,r){ne(t,o,r),e=!0},p(o,r){const a=r&1574913?Ct(i,[{panoIndex:o[0],floorplanData:o[11],lastPanoramaLongitude:o[19],cameraImageUrl:o[20]}]):{};t.$set(a)},i(o){e||(D(t.$$.fragment,o),e=!0)},o(o){B(t.$$.fragment,o),e=!1},d(o){se(t,o)}}}function Vh(n){let t,e;return t=new hb({props:{floorplanData:n[11],northDesc:n[21]}}),{c(){oe(t.$$.fragment)},m(i,s){ne(t,i,s),e=!0},p(i,s){const o={};s&2048&&(o.floorplanData=i[11]),s&2097152&&(o.northDesc=i[21]),t.$set(o)},i(i){e||(D(t.$$.fragment,i),e=!0)},o(i){B(t.$$.fragment,i),e=!1},d(i){se(t,i)}}}function mb(n){let t,e,i,s,o;const r=[fb,ub],a=[];function l(c,h){return c[23]?1:0}return e=l(n),i=a[e]=r[e](n),{c(){t=L("div"),i.c(),P(t,"class",s=et(`floorplan-plugin__floor${n[1]?" floorplan-plugin__floor--is-current":""}`)+" svelte-bl8zrz")},m(c,h){R(c,t,h),a[e].m(t,null),o=!0},p(c,[h]){let u=e;e=l(c),e===u?a[e].p(c,h):(ue(),B(a[u],1,1,()=>{a[u]=null}),fe(),i=a[e],i?i.p(c,h):(i=a[e]=r[e](c),i.c()),D(i,1),i.m(t,null)),(!o||h&2&&s!==(s=et(`floorplan-plugin__floor${c[1]?" floorplan-plugin__floor--is-current":""}`)+" svelte-bl8zrz"))&&P(t,"class",s)},i(c){o||(D(i),o=!0)},o(c){B(i),o=!1},d(c){c&&V(t),a[e].d()}}}function gb(n,t,e){let i,s,{panoIndex:o}=t,{isCurrent:r}=t,{floorIndex:a}=t,{highlightEnable:l}=t,{cameraEnable:c}=t,{hoverEnable:h}=t,{roomLabelsEnable:u}=t,{roomAreaEnable:f}=t,{roomNameEnable:m}=t,{roomDimensionEnable:p}=t,{ruleLabelsEnable:v}=t,{floorplanData:g}=t,{getRoomAreaText:A}=t,{getRoomDimensionText:w}=t,{getLabelElement:I}=t,{getRuleDistanceText:C}=t,{adaptiveRoomLabelVisibleEnable:E}=t,{highlightData:M}=t,{missingFloorConfig:S}=t,{lastPanoramaLongitude:T}=t,{cameraImageUrl:G}=t,{northDesc:H}=t,{compassEnable:Y}=t,{store:z=void 0}=t;const U=oc(void 0);return U.subscribe(F=>{z&&e(25,z.roomOnMouse=F,z)}),n.$$set=F=>{"panoIndex"in F&&e(0,o=F.panoIndex),"isCurrent"in F&&e(1,r=F.isCurrent),"floorIndex"in F&&e(2,a=F.floorIndex),"highlightEnable"in F&&e(3,l=F.highlightEnable),"cameraEnable"in F&&e(4,c=F.cameraEnable),"hoverEnable"in F&&e(5,h=F.hoverEnable),"roomLabelsEnable"in F&&e(6,u=F.roomLabelsEnable),"roomAreaEnable"in F&&e(7,f=F.roomAreaEnable),"roomNameEnable"in F&&e(8,m=F.roomNameEnable),"roomDimensionEnable"in F&&e(9,p=F.roomDimensionEnable),"ruleLabelsEnable"in F&&e(10,v=F.ruleLabelsEnable),"floorplanData"in F&&e(11,g=F.floorplanData),"getRoomAreaText"in F&&e(12,A=F.getRoomAreaText),"getRoomDimensionText"in F&&e(13,w=F.getRoomDimensionText),"getLabelElement"in F&&e(14,I=F.getLabelElement),"getRuleDistanceText"in F&&e(15,C=F.getRuleDistanceText),"adaptiveRoomLabelVisibleEnable"in F&&e(16,E=F.adaptiveRoomLabelVisibleEnable),"highlightData"in F&&e(17,M=F.highlightData),"missingFloorConfig"in F&&e(18,S=F.missingFloorConfig),"lastPanoramaLongitude"in F&&e(19,T=F.lastPanoramaLongitude),"cameraImageUrl"in F&&e(20,G=F.cameraImageUrl),"northDesc"in F&&e(21,H=F.northDesc),"compassEnable"in F&&e(22,Y=F.compassEnable),"store"in F&&e(25,z=F.store)},n.$$.update=()=>{n.$$.dirty&2052&&e(26,i=g.floorDatas[a]),n.$$.dirty&67108864&&e(23,s=i.rooms.length>0)},[o,r,a,l,c,h,u,f,m,p,v,g,A,w,I,C,E,M,S,T,G,H,Y,s,U,z,i]}let pb=class extends de{constructor(t){super(),he(this,t,gb,mb,ce,{panoIndex:0,isCurrent:1,floorIndex:2,highlightEnable:3,cameraEnable:4,hoverEnable:5,roomLabelsEnable:6,roomAreaEnable:7,roomNameEnable:8,roomDimensionEnable:9,ruleLabelsEnable:10,floorplanData:11,getRoomAreaText:12,getRoomDimensionText:13,getLabelElement:14,getRuleDistanceText:15,adaptiveRoomLabelVisibleEnable:16,highlightData:17,missingFloorConfig:18,lastPanoramaLongitude:19,cameraImageUrl:20,northDesc:21,compassEnable:22,store:25},db)}};function vb(n){me(n,"svelte-86bqav",".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}")}function Bh(n,t,e){const i=n.slice();return i[25]=t[e],i}function Rh(n){let t,e,i,s=n[14].floorDatas,o=[];for(let a=0;a<s.length;a+=1)o[a]=_h(Bh(n,s,a));const r=a=>B(o[a],1,1,()=>{o[a]=null});return{c(){t=L("div");for(let a=0;a<o.length;a+=1)o[a].c();P(t,"class","floorplan-main svelte-86bqav")},m(a,l){R(a,t,l);for(let c=0;c<o.length;c+=1)o[c]&&o[c].m(t,null);i=!0},p(a,l){if(n=a,l&33554428){s=n[14].floorDatas;let c;for(c=0;c<s.length;c+=1){const h=Bh(n,s,c);o[c]?(o[c].p(h,l),D(o[c],1)):(o[c]=_h(h),o[c].c(),D(o[c],1),o[c].m(t,null))}for(ue(),c=s.length;c<o.length;c+=1)r(c);fe()}},i(a){if(!i){for(let l=0;l<s.length;l+=1)D(o[l]);e||tt(()=>{e=Hi(t,ut,{duration:n[0],easing:wi}),e.start()}),i=!0}},o(a){o=o.filter(Boolean);for(let l=0;l<o.length;l+=1)B(o[l]);i=!1},d(a){a&&V(t),Xt(o,a)}}}function _h(n){let t,e;const i=[{hoverEnable:n[6],highlightEnable:n[7],floorplanData:n[14],getRoomAreaText:n[17],getRoomDimensionText:n[18],getLabelElement:n[19],getRuleDistanceText:n[20],roomLabelsEnable:n[9],roomAreaEnable:n[10],roomNameEnable:n[11],roomDimensionEnable:n[12],ruleLabelsEnable:n[13],adaptiveRoomLabelVisibleEnable:n[21],highlightData:n[22],missingFloorConfig:n[23],panoIndex:n[3],cameraEnable:n[5],cameraImageUrl:n[16],lastPanoramaLongitude:n[15],compassEnable:n[8],northDesc:n[2],store:n[24]},{floorIndex:n[25].floorIndex},{isCurrent:n[25].floorIndex===n[4]}];let s={};for(let o=0;o<i.length;o+=1)s=vt(s,i[o]);return t=new pb({props:s}),{c(){oe(t.$$.fragment)},m(o,r){ne(t,o,r),e=!0},p(o,r){const a=r&33554428?Ct(i,[r&33554412&&{hoverEnable:o[6],highlightEnable:o[7],floorplanData:o[14],getRoomAreaText:o[17],getRoomDimensionText:o[18],getLabelElement:o[19],getRuleDistanceText:o[20],roomLabelsEnable:o[9],roomAreaEnable:o[10],roomNameEnable:o[11],roomDimensionEnable:o[12],ruleLabelsEnable:o[13],adaptiveRoomLabelVisibleEnable:o[21],highlightData:o[22],missingFloorConfig:o[23],panoIndex:o[3],cameraEnable:o[5],cameraImageUrl:o[16],lastPanoramaLongitude:o[15],compassEnable:o[8],northDesc:o[2],store:o[24]},r&16384&&{floorIndex:o[25].floorIndex},r&16400&&{isCurrent:o[25].floorIndex===o[4]}]):{};t.$set(a)},i(o){e||(D(t.$$.fragment,o),e=!0)},o(o){B(t.$$.fragment,o),e=!1},d(o){se(t,o)}}}function Ab(n){let t,e,i=n[1]&&Rh(n);return{c(){i&&i.c(),t=Ee()},m(s,o){i&&i.m(s,o),R(s,t,o),e=!0},p(s,[o]){s[1]?i?(i.p(s,o),o&2&&D(i,1)):(i=Rh(s),i.c(),D(i,1),i.m(t.parentNode,t)):i&&(ue(),B(i,1,1,()=>{i=null}),fe())},i(s){e||(D(i),e=!0)},o(s){B(i),e=!1},d(s){i&&i.d(s),s&&V(t)}}}function bb(n,t,e){let{duration:i=0}=t,{visible:s}=t,{northDesc:o}=t,{panoIndex:r}=t,{floorIndex:a}=t,{cameraEnable:l}=t,{hoverEnable:c}=t,{highlightEnable:h}=t,{compassEnable:u}=t,{roomLabelsEnable:f}=t,{roomAreaEnable:m}=t,{roomNameEnable:p}=t,{roomDimensionEnable:v}=t,{ruleLabelsEnable:g}=t,{floorplanData:A}=t,{lastPanoramaLongitude:w}=t,{cameraImageUrl:I}=t,{getRoomAreaText:C}=t,{getRoomDimensionText:E}=t,{getLabelElement:M}=t,{getRuleDistanceText:S}=t,{adaptiveRoomLabelVisibleEnable:T}=t,{highlightData:G}=t,{missingFloorConfig:H}=t,{store:Y=void 0}=t;return n.$$set=z=>{"duration"in z&&e(0,i=z.duration),"visible"in z&&e(1,s=z.visible),"northDesc"in z&&e(2,o=z.northDesc),"panoIndex"in z&&e(3,r=z.panoIndex),"floorIndex"in z&&e(4,a=z.floorIndex),"cameraEnable"in z&&e(5,l=z.cameraEnable),"hoverEnable"in z&&e(6,c=z.hoverEnable),"highlightEnable"in z&&e(7,h=z.highlightEnable),"compassEnable"in z&&e(8,u=z.compassEnable),"roomLabelsEnable"in z&&e(9,f=z.roomLabelsEnable),"roomAreaEnable"in z&&e(10,m=z.roomAreaEnable),"roomNameEnable"in z&&e(11,p=z.roomNameEnable),"roomDimensionEnable"in z&&e(12,v=z.roomDimensionEnable),"ruleLabelsEnable"in z&&e(13,g=z.ruleLabelsEnable),"floorplanData"in z&&e(14,A=z.floorplanData),"lastPanoramaLongitude"in z&&e(15,w=z.lastPanoramaLongitude),"cameraImageUrl"in z&&e(16,I=z.cameraImageUrl),"getRoomAreaText"in z&&e(17,C=z.getRoomAreaText),"getRoomDimensionText"in z&&e(18,E=z.getRoomDimensionText),"getLabelElement"in z&&e(19,M=z.getLabelElement),"getRuleDistanceText"in z&&e(20,S=z.getRuleDistanceText),"adaptiveRoomLabelVisibleEnable"in z&&e(21,T=z.adaptiveRoomLabelVisibleEnable),"highlightData"in z&&e(22,G=z.highlightData),"missingFloorConfig"in z&&e(23,H=z.missingFloorConfig),"store"in z&&e(24,Y=z.store)},[i,s,o,r,a,l,c,h,u,f,m,p,v,g,A,w,I,C,E,M,S,T,G,H,Y]}let rc=class extends de{constructor(t){super(),he(this,t,bb,Ab,ce,{duration:0,visible:1,northDesc:2,panoIndex:3,floorIndex:4,cameraEnable:5,hoverEnable:6,highlightEnable:7,compassEnable:8,roomLabelsEnable:9,roomAreaEnable:10,roomNameEnable:11,roomDimensionEnable:12,ruleLabelsEnable:13,floorplanData:14,lastPanoramaLongitude:15,cameraImageUrl:16,getRoomAreaText:17,getRoomDimensionText:18,getLabelElement:19,getRuleDistanceText:20,adaptiveRoomLabelVisibleEnable:21,highlightData:22,missingFloorConfig:23,store:24},vb)}};const yb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAwCAYAAACFUvPfAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALaADAAQAAAABAAAAMAAAAADe2FZjAAAEF0lEQVRoBe2WzWskRRiHf13V092TxI2oEzYeVDwITtyDuCiihwiCePGgxIM3vYgHL4J4UIhBRA8i/gPqyUvWg7AiIuIeloDiYUHJLOK6BPwIk9nNODM9Xf1RVe1b3elJRjCZmQ6euqGmuqer33rq4e23GqiOykBloDJQGagMVAYqA5WBykBlYFYD1qwP/tdzaZqOx9zYOLxeX0+L5yzLGp0X/03a25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UaFCjlDioy7NYNvOdGrQJNgI32/L2tkXfFPlxgToqjWVhD6KdLnQRdARf/HHQz2r2X2Gqy8pAZaAyUBmoDFQGKgP/q4F/AJYg9/s0ZoABAAAAAElFTkSuQmCC";function wb(n){return Q(this,null,function*(){const t=new Headers({"Content-Type":"text/plain"}),e=function(s){return Q(this,null,function*(){const o={index:s.index,url:s.url,svgUrl:s.svg_url};if(s.svg_url){const r=yield fetch(s.svg_url,{headers:t}).then(a=>a.text());o.svgContent=r}return o})};return yield Promise.all(n.map(e))})}function Cb(n){const t={id:n.id,size:n.size,name:n.name,path:n.path,roomType:n.room_type,floorType:n.floor_type,roomLabel:{position:n.room_label.position,positionInImage:n.room_label.position_in_image},observerIndexs:n.observer_indexs};return n.dimension&&Object.assign(t,{dimension:n.dimension}),t}function Pb(n){return{floorName:n.floor_name,floorIndex:n.floor_index,rooms:n.rooms.map(Cb),rules:n.rules}}function Ib(n){return{index:n.index,floorIndex:n.floor_index,position:n.position,positionInImage:n.position_in_image}}function Eb(n){return{rad:n.rad,position:n.position,positionInImage:n.position_in_image,northRad:n.north_rad,roomId:n.room_id,floorIndex:n.floor_index}}function Bi(n){return Q(this,null,function*(){const t=yield wb(n.outlines),e=n.computed_data.bounding,i=n.computed_data.floor_datas.map(Pb),s=n.computed_data.entrance?Eb(n.computed_data.entrance):null;return{outlines:t,entrance:s,bounding:e,floorDatas:i,observers:n.computed_data.observers.map(Ib)}})}function Mb(n,t,e){return n.map(s=>{const o=s.position,r=s.icon?s.icon:{url:yb,width:45,height:48},a=xA(o,t),l=EA(o,e),c=MA(l,e);return{floorIndex:a,icon:r,id:s.id,position:l,positionInImage:c}})}function xb(n,t){return t(n),n}function qn(n,t){return xb({},e=>{for(const i in n)t.indexOf(i)===-1&&(e[i]=n[i])})}function Fh(n,t){const e=Math.max(...n.work.observers.map(i=>i.floorIndex));return t>e?n.model.bounding.max.y:Math.max(...n.work.observers.filter(i=>i.floorIndex===t).map(i=>i.standingPosition.y))}function ac(n,t,e=Li.BOUNDING_CENTER){const i=Fh(n,t),s=Fh(n,t+1);return e===Li.BOUNDING_CENTER?(n.model.bounding.max.y+n.model.bounding.min.y)/2:e===Li.CEILING?s:i}function lc(n,t,e,i){const s=ac(n,e,i==null?void 0:i.attachedTo),o=new b.Vector3(0,s,0),r=new b.Vector3(1,s,0),a=o.clone().project(n.camera),l=r.clone().project(n.camera);return Math.abs((l.x-a.x)/1e3)*(t.getBoundingClientRect().width/2)}let Qi=class{constructor(t,e){d(this,"VERSION","3.59.7-alpha.0");d(this,"NAME");d(this,"five");d(this,"workUtil");d(this,"fiveUtil");d(this,"hooks",new ht);d(this,"staticPrefix","//vr-image-4.realsee-cdn.cn");this.updateFive(t),e!=null&&e.staticPrefix&&(this.staticPrefix=e.staticPrefix)}set workCode(t){this.workUtil.workCode=t,this.onWorkCodeChange()}get workCode(){return this.workUtil.workCode}updateFive(t){this.five=t,this.fiveUtil=new vr(t),this.workUtil=this.fiveUtil.workUtil}getCurrentState(){return this.state}absoluteUrl(t){return Ul(this.staticPrefix,t)}onWorkCodeChange(){}},Ci=class extends Qi{};var Dt=(n=>(n.UnknownError="UnknownError",n.DataNotLoaded="DataNotLoaded",n.UpdateSizeError="UpdateSizeError",n.BreakOffByHide="BreakOffByHide",n.BreakOffByDisable="BreakOffByDisable",n.ModelNotLoaded="ModelNotLoaded",n.ChangeModeError="ChangeModeError",n.UpdateCameraError="UpdateCameraError",n))(Dt||{});const Tm=500,kb=80;function on(n,t,e=4){return Math.abs(n-t)<Math.pow(10,-e)}function Lm(n,t,e=4){const i=Math.PI*2,s=n%i,o=t%i,r=Math.min(s,o),a=Math.max(s,o);return on(r,a,e)||on(r+i,a,e)}Object.assign(window,{nearlyEqual:on,nearlyEqualRad:Lm});function Db(n){return Object.prototype.toString.call(n)==="[object Object]"}function Hh(n){return Db(n)&&!!n.isVector3}function cc(n,t){return Q(this,null,function*(){const[e]=yield ln(n.changeMode(...t));if(e)throw new Error("change mode canceled");yield new Promise(r=>{n.once("initAnimationWillStart",()=>{n.once("initAnimationEnded",()=>r())})});const i=t[1];if(!i)return!0;const s=n.getCurrentState();if(!Sb(i,s))throw new Error("pose 与预期不符")})}function Sb(n,t){return Object.keys(n).every(e=>{const i=t[e],s=n[e];return i===void 0||s===void 0?!0:e==="longitude"||e==="latitude"?Lm(i,s,2):typeof i=="number"&&typeof s=="number"?on(i,s,2):Hh(s)&&Hh(i)?s.distanceTo(i)<.01:i===s})}function Tb(n,t){if(n.currentMode!==t.mode)return!1;const{latitude:e,longitude:i,fov:s,offset:o}=t,{latitude:r,longitude:a,offset:l}=n.getCurrentState(),c=n.camera.fov;return!(!on(e,r,2)||!on(i,a,2)||o!==void 0&&o.distanceTo(l)>.01||!on(s,c,2))}function zm(n,t,e=!0){return Q(this,null,function*(){if(Tb(n,t)===!0)return;const s=n.getCurrentState();if(s.mode!==t.mode){const[h]=yield ln(cc(n,[t.mode,t,void 0,e]));if(h)throw h;return}const{latitude:o,longitude:r,fov:a}=s,l=Math.min(1e3,Math.max(200,Math.abs(o-Math.PI/2)*1e3,(r>Math.PI?2*Math.PI-r:r)*500,typeof t.fov=="number"?Math.abs(a-t.fov)*10:1/0)),[c]=yield ln(n.updateCamera(qn(t,["mode"]),l,e));if(c)throw new Error(Dt.UpdateCameraError)})}function Kn(n,t,e=300){var s,o;const i=n.getElement();if(i){i.style.opacity=t+"";for(let r=0;r<((o=(s=i.parentElement)==null?void 0:s.children)==null?void 0:o.length);r++){const a=i.parentElement.children[r];a instanceof HTMLElement&&a.dataset.infive==="1"&&(a.style.opacity=t+"")}i.style.transition=e===0?"none":`opacity ${e}ms linear`,e!==0&&Promise.race([new Promise(r=>i.addEventListener("transitionend",r,{once:!0})),new Promise(r=>setTimeout(r,e))]).then(()=>{i.style.transition="none"})}}function Lb(n){const{latitude:t,longitude:e}=n,i=Math.abs(t-Math.PI/2)>5*Math.PI/180,s=e>5*(Math.PI/180)&&e<355*(Math.PI/180);return i||s}function zb(n){const{latitude:t,longitude:e}=n,i=Math.abs(t-Math.PI/2)<10*Math.PI/180,s=e<30*(Math.PI/180)||e>330*(Math.PI/180);return i&&s}let jb=class extends Ci{constructor(e,i){var l,c,h;super(e);d(this,"name","modelFloorplanPlugin");d(this,"state");d(this,"data");d(this,"showState");d(this,"showPromise");d(this,"app");d(this,"panoIndex",0);d(this,"floorIndex",0);d(this,"selector");d(this,"showRejection");d(this,"wrapper");d(this,"container",document.createElement("div"));d(this,"lastPanoramaLongitude",0);d(this,"size",{width:0,height:0});d(this,"defaultMissingFloorConfig");d(this,"hasAddedEventListener",!1);d(this,"isHiddenByHideFunc",!1);d(this,"highlightData",{});d(this,"store",{roomOnMouse:null});d(this,"dispose",()=>{var e,i;this.removeEventListener(),(e=this.app)==null||e.$destroy(),this.app=void 0,(i=this.container)==null||i.remove(),this.data=void 0,this.wrapper=void 0,this.selector=void 0,this.hooks.emit("dispose")});d(this,"show",(...i)=>Q(this,[...i],function*(e={}){if(!this.state.enabled||!this.showPromise&&this.state.visible)return;const s=e.userAction!==void 0?e.userAction:!0;this.updateState({visible:!0},s),this._show(e)}));d(this,"hide",(...i)=>Q(this,[...i],function*(e={}){this.state.enabled&&(this.isHiddenByHideFunc=!0,this.state.visible!==!1&&(this.updateState({visible:!1},e.userAction||!0),this._hide(e)))}));d(this,"updateSize",()=>{if(!this.data||!this.container||!this.wrapper)return!1;const{min:e,max:i}=this.data.bounding,s=i.x-e.x,o=i.y-e.y,r=this.state.config.attachedTo?{attachedTo:this.state.config.attachedTo}:void 0,a=lc(this.five,this.wrapper,this.floorIndex,r),l=Math.ceil(s*a),c=Math.ceil(o*a);return this.size.width===l&&this.size.height===c||(this.container.style.width=l+"px",this.container.style.height=c+"px",this.size={width:l,height:c}),!0});d(this,"highlight",e=>{this.state.config.highlightEnable&&(this.highlightData=e,this.render())});d(this,"unhighlight",()=>{this.highlightData={},this.render()});d(this,"_disable",e=>{var s,o,r;const{userAction:i}=e;this.hooks.emit("disable",{userAction:i}),(s=this.showRejection)==null||s.call(this,Dt.BreakOffByDisable),this.showPromise=void 0,(o=this.app)==null||o.$destroy(),this.app=void 0,(r=this.container)==null||r.remove(),this.removeEventListener()});d(this,"_enable",e=>{const{userAction:i}=e;this.addEventListener(),this.wrapper&&(this.wrapper.append(this.container),this.hooks.emit("enable",{userAction:i}),this.state.visible&&this._show({userAction:i}))});d(this,"_show",e=>Q(this,null,function*(){var r;if(!this.state.enabled)return;if(!((r=this.five.model)!=null&&r.loaded))throw new Error(Dt.ModelNotLoaded);if(!this.data)throw new Error(Dt.DataNotLoaded);if(this.showPromise)return this.showPromise;const i={floorIndex:this.floorIndex,modelOpacity:this.state.config.modelOpacity,immediately:!1,isAutoShow:!1,userAction:!0},s=k(k({},i),e),o=()=>Q(this,null,function*(){this.hooks.emit("show",{userAction:s.userAction,auto:s.isAutoShow});let a=!1,l;this.showRejection=u=>{a=!0,l=u};const[c]=yield ln(zm(this.five,this.showState,s.userAction));if(c)throw c;if(a)throw l?new Error(l):new Error(Dt.UnknownError);if(!this.updateSize())throw new Error(Dt.UpdateSizeError);this.floorIndex=s.floorIndex,this.five.model.show(this.floorIndex)});return this.isHiddenByHideFunc=!1,this.showPromise=o().then(()=>{this.showPromise=void 0,this.showRejection=void 0;const a=s.modelOpacity,l=s.immediately?0:Tm;Kn(this.five,a,l),this.render(l),this.hooks.emit("showAnimationEnded",{auto:s.isAutoShow,userAction:s.userAction})}).catch(a=>{if(this.showPromise=void 0,this.showRejection=void 0,this.updateState({visible:!1},s.userAction),!s.isAutoShow&&a instanceof Error)throw a}),this.showPromise}));d(this,"_hide",e=>{var o;(o=this.showRejection)==null||o.call(this,Dt.BreakOffByHide),this.showPromise=void 0;const s=k(k({},{userAction:!0,isAutoHide:!1}),e);Kn(this.five,1,0),this.hooks.emit("hide",{auto:s.isAutoHide,userAction:s.userAction}),this.render()});d(this,"handleClick",()=>{if(!this.state.visible)return;if(this.hooks.emit("click",this.store.roomOnMouse))return!1});d(this,"onFiveModelLoaded",()=>{if(this.state.enabled===!1||this.wrapper||!this.selector)return;const e=this.selector instanceof Element?this.selector:document.querySelector(this.selector);if(!e)throw new Error("不正确的父容器选择器");this.wrapper=e,e.append(this.container)});d(this,"onFiveModeChange",e=>{e!==this.showState.mode&&(this.updateState({visible:!1},!1),this._hide({userAction:!1}))});d(this,"onFiveInteriaPan",(e,i)=>{if(!i||this.state.config.autoShowEnable===!1||this.isHiddenByHideFunc)return;const s=this.five.getCurrentState();s.mode==="Floorplan"&&(this.state.visible||zb(s)&&(this.updateState({visible:!0},!0),this._show({isAutoShow:!0})))});d(this,"onFivePanoArrived",e=>{var i;(i=this.five)!=null&&i.work&&(this.panoIndex=e,this.floorIndex=this.workUtil.observers[e].floorIndex)});d(this,"onFiveCameraUpdate",(e,i)=>{if(!this.state.visible||this.showPromise)return;const s=this.five.getCurrentState();Lb(s)&&(this.updateState({visible:!1},i),this._hide({userAction:i,isAutoHide:!0}))});d(this,"onFiveWantsGesture",(e,i)=>{if(this.state.visible&&(i.length>1||e==="mouseWheel"))return!1});d(this,"onFiveWantsPanGesture",(e,i)=>{if(this.five.getCurrentState().mode==="Floorplan"&&this.state.config.autoShowEnable!==!1&&i&&this.state.visible)return this.five.updateCamera(this.showState,0),!1});d(this,"onFiveWantsTapGesture",()=>this.handleClick());d(this,"onFiveWantsChangeMode",(e,i)=>{i==="Panorama"&&e==="Floorplan"&&(this.lastPanoramaLongitude=this.five.getCurrentState().longitude)});d(this,"onModelShownFloorChange",e=>{if(this.floorIndex!==e){if(e===null){const i=this.five.getCurrentState().panoIndex;this.floorIndex=this.five.work.observers[i].floorIndex;return}this.floorIndex=e,this.updateSize(),this.render()}});i!=null&&i.selector&&(this.selector=i.selector,console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")),this.showState={mode:"Floorplan",longitude:0,latitude:Math.PI/2,fov:kb/((l=i==null?void 0:i.scale)!=null?l:1)},this.defaultMissingFloorConfig={imageURL:this.staticPrefix+"/release/web/saas/missing-floorplan.e274c596.png",imageWidth:200,imageHeight:120,text:(h=(c=i.i18n)==null?void 0:c.call(i,"暂无平面图"))!=null?h:"暂无平面图",textFontSize:14};const s={northDesc:"北",modelOpacity:1,cameraEnable:!0,highlightEnable:!1,hoverEnable:!0,compassEnable:!0,autoShowEnable:!0,ruleLabelsEnable:!0,roomLabelsEnable:!0,roomAreaEnable:!0,roomNameEnable:!0,roomDimensionEnable:!0,adaptiveRoomLabelVisibleEnable:!0,cameraImageUrl:Vi,attachedTo:Li.BOUNDING_CENTER,getLabelElement:void 0,missingFloorConfig:k(k({},this.defaultMissingFloorConfig),i.missingFloorConfig),i18n:u=>u,getRoomAreaText:u=>(u/1e6).toFixed(1)+"㎡",getRoomDimensionText:(u,f)=>(u/1e3).toFixed(1)+"m × "+(f/1e3).toFixed(1)+"m",getRuleDistanceText:u=>u.toString()},o=i?qn(i,["selector","scale"]):{},r=k(k({},s.missingFloorConfig),o.missingFloorConfig),a=te(k(k({},s),o),{missingFloorConfig:r});this.state={enabled:!0,visible:!1,config:a},this.initContainer(),e.once("dispose",this.dispose),this.addEventListener()}load(e,i,s=!0){return Q(this,null,function*(){function o(h){return Object.prototype.hasOwnProperty.apply(h,["version"])}const r=e;r&&Bt(r.version)&&console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");const a=JSON.parse(JSON.stringify(e)),l=o(a)?a.data:a,c=this.data;this.data=yield Bi(l),this.hooks.emit("dataLoaded",this.data),this.hooks.emit("dataChange",this.data,c),i&&this.updateState(i,s),this.render()})}appendTo(e){if(this.wrapper=e,!!this.state.enabled)return e.appendChild(this.container),this.render(),this}enable(e={}){if(this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!0},e.userAction||i),this._enable({userAction:i})}disable(e={}){if(!this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!1},e.userAction||i),this._disable({userAction:i})}setState(e,i={}){const s=this.state,o=i.userAction!==void 0?i.userAction:!0;if(this.updateState(e,o),e.enabled!==void 0&&s.enabled!==e.enabled&&(e.enabled?this._enable({userAction:o}):this._disable({userAction:o})),e.visible!==void 0&&s.visible!==e.visible){const r={userAction:o};e.visible?this._show(r):this._hide(r)}this.render()}changeConfigs(e,i=!0){this.updateState({config:e},i),this.render()}formatData(e){return Q(this,null,function*(){return yield Bi(e.data)})}updateState(e,i){var a;const s=this.state,o=(a=e.config)!=null&&a.missingFloorConfig?k(k({},s.config.missingFloorConfig),e.config.missingFloorConfig):s.config.missingFloorConfig,r=e.config?te(k(k({},s.config),e.config),{missingFloorConfig:o}):s.config;this.state=te(k(k({},this.state),e),{config:r}),!wt(this.state,s,{deep:!0})&&this.hooks.emit("stateChange",{state:this.state,prevState:s,userAction:i})}initContainer(){this.container.classList.add("floorplan-plugin"),Object.assign(this.container.style,{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",zIndex:10,pointerEvents:"none"}),this.five.addExtraElement(this.container)}addEventListener(){if(!this.state.enabled||this.hasAddedEventListener)return;const e=this.five;e.model.loaded?this.onFiveModelLoaded():e.once("modelLoaded",this.onFiveModelLoaded),e.on("modeChange",this.onFiveModeChange),e.on("interiaPan",this.onFiveInteriaPan),e.on("panoArrived",this.onFivePanoArrived),e.on("cameraUpdate",this.onFiveCameraUpdate),e.on("wantsGesture",this.onFiveWantsGesture),e.on("wantsPanGesture",this.onFiveWantsPanGesture),e.on("wantsTapGesture",this.onFiveWantsTapGesture),e.on("wantsChangeMode",this.onFiveWantsChangeMode),e.on("modelShownFloorChange",this.onModelShownFloorChange)}removeEventListener(){const e=this.five;this.hasAddedEventListener=!1,e.off("modelLoaded",this.onFiveModelLoaded),e.off("modeChange",this.onFiveModeChange),e.off("interiaPan",this.onFiveInteriaPan),e.off("panoArrived",this.onFivePanoArrived),e.off("cameraUpdate",this.onFiveCameraUpdate),e.off("wantsGesture",this.onFiveWantsGesture),e.off("wantsPanGesture",this.onFiveWantsPanGesture),e.off("wantsTapGesture",this.onFiveWantsTapGesture),e.off("wantsChangeMode",this.onFiveWantsChangeMode),e.off("modelShownFloorChange",this.onModelShownFloorChange)}render(e){if(!this.state.enabled||!this.container||!this.data||this.size.width===0||this.showPromise)return;const i=te(k({},this.state.config),{visible:this.state.visible,duration:e!=null?e:0,panoIndex:this.panoIndex,floorIndex:this.floorIndex,floorplanData:this.data,lastPanoramaLongitude:this.lastPanoramaLongitude,highlightData:this.highlightData,store:this.store});if(this.app)return this.app.$set(i);this.app=new rc({target:this.container,intro:!0,props:i})}};const Ob=(n,t)=>new jb(n,t);function Vb(n){const{latitude:t,longitude:e}=n,i=Math.abs(t-Math.PI/2)>5*Math.PI/180,s=e>5*(Math.PI/180)&&e<355*(Math.PI/180);return i||s}function Bb(n){const{latitude:t,longitude:e}=n,i=Math.abs(t-Math.PI/2)<10*Math.PI/180,s=e<30*(Math.PI/180)||e>330*(Math.PI/180);return i&&s}let Rb=class extends Ci{constructor(e,i){var l,c;super(e);d(this,"name","modelFloorplanPlugin");d(this,"state");d(this,"data");d(this,"showState");d(this,"showPromise");d(this,"app");d(this,"panoIndex",0);d(this,"floorIndex",0);d(this,"selector");d(this,"showRejection");d(this,"wrapper");d(this,"container",document.createElement("div"));d(this,"lastPanoramaLongitude",0);d(this,"size",{width:0,height:0});d(this,"defaultMissingFloorConfig");d(this,"hasAddedEventListener",!1);d(this,"isHiddenByHideFunc",!1);d(this,"highlightData",{});d(this,"store",{roomOnMouse:null});d(this,"dispose",()=>{var e,i;this.removeEventListener(),(e=this.app)==null||e.$destroy(),this.app=void 0,(i=this.container)==null||i.remove(),this.data=void 0,this.wrapper=void 0,this.selector=void 0,this.hooks.emit("dispose")});d(this,"show",(...i)=>Q(this,[...i],function*(e={}){if(!this.state.enabled||!this.showPromise&&this.state.visible)return;const s=e.userAction!==void 0?e.userAction:!0;this.updateState({visible:!0},s),this._show(e)}));d(this,"hide",(...i)=>Q(this,[...i],function*(e={}){this.state.enabled&&(this.isHiddenByHideFunc=!0,this.state.visible!==!1&&(this.updateState({visible:!1},e.userAction||!0),this._hide(e)))}));d(this,"updateSize",()=>{if(!this.data||!this.container||!this.wrapper)return!1;const{min:e,max:i}=this.data.bounding,s=i.x-e.x,o=i.y-e.y,r=this.state.config.attachedTo?{attachedTo:this.state.config.attachedTo}:void 0,a=lc(this.five,this.wrapper,this.floorIndex,r),l=Math.ceil(s*a),c=Math.ceil(o*a);return this.size.width===l&&this.size.height===c||(this.container.style.width=l+"px",this.container.style.height=c+"px",this.size={width:l,height:c}),!0});d(this,"highlight",e=>{this.state.config.highlightEnable&&(this.highlightData=e,this.render())});d(this,"unhighlight",()=>{this.highlightData={},this.render()});d(this,"_disable",e=>{var s,o,r;const{userAction:i}=e;this.hooks.emit("disable",{userAction:i}),(s=this.showRejection)==null||s.call(this,Dt.BreakOffByDisable),this.showPromise=void 0,(o=this.app)==null||o.$destroy(),this.app=void 0,(r=this.container)==null||r.remove(),this.removeEventListener()});d(this,"_enable",e=>{const{userAction:i}=e;this.addEventListener(),this.wrapper&&(this.wrapper.append(this.container),this.hooks.emit("enable",{userAction:i}),this.state.visible&&this._show({userAction:i}))});d(this,"_show",e=>Q(this,null,function*(){var r;if(!this.state.enabled)return;if(!((r=this.fiveUtil.model)!=null&&r.loaded))throw new Error(Dt.ModelNotLoaded);if(!this.data)throw new Error(Dt.DataNotLoaded);if(this.showPromise)return this.showPromise;const i={floorIndex:this.floorIndex,modelOpacity:this.state.config.modelOpacity,immediately:!1,isAutoShow:!1,userAction:!0},s=k(k({},i),e),o=()=>Q(this,null,function*(){this.hooks.emit("show",{userAction:s.userAction,auto:s.isAutoShow});let a=!1,l;this.showRejection=u=>{a=!0,l=u};const[c]=yield ln(zm(this.five,this.showState,s.userAction));if(c)throw c;if(a)throw l?new Error(l):new Error(Dt.UnknownError);if(!this.updateSize())throw new Error(Dt.UpdateSizeError);this.updatePosition(),this.floorIndex=s.floorIndex,this.fiveUtil.model.show(this.floorIndex)});return this.isHiddenByHideFunc=!1,this.showPromise=o().then(()=>{this.showPromise=void 0,this.showRejection=void 0;const a=s.modelOpacity,l=s.immediately?0:Tm;Kn(this.five,a,l),this.render(l),this.hooks.emit("showAnimationEnded",{auto:s.isAutoShow,userAction:s.userAction})}).catch(a=>{if(this.showPromise=void 0,this.showRejection=void 0,this.updateState({visible:!1},s.userAction),!s.isAutoShow&&a instanceof Error)throw a}),this.showPromise}));d(this,"_hide",e=>{var o;(o=this.showRejection)==null||o.call(this,Dt.BreakOffByHide),this.showPromise=void 0;const s=k(k({},{userAction:!0,isAutoHide:!1}),e);Kn(this.five,1,0),this.hooks.emit("hide",{auto:s.isAutoHide,userAction:s.userAction}),this.render()});d(this,"handleClick",()=>{if(!this.state.visible)return;if(this.hooks.emit("click",this.store.roomOnMouse))return!1});d(this,"onFiveModelLoaded",()=>{const i=this.five.model.bounding.getCenter(new b.Vector3);if(this.showState.offset=i,this.state.enabled===!1||this.wrapper||!this.selector)return;const s=this.selector instanceof Element?this.selector:document.querySelector(this.selector);if(!s)throw new Error("不正确的父容器选择器");this.wrapper=s,s.append(this.container)});d(this,"onFiveModeChange",e=>{e!==this.showState.mode&&(this.updateState({visible:!1},!1),this._hide({userAction:!1}))});d(this,"onFiveInteriaPan",(e,i)=>{if(!i||this.state.visible||this.state.config.autoShowEnable===!1||this.isHiddenByHideFunc)return;const s=this.five.getCurrentState();s.mode===this.showState.mode&&Bb(s)&&(this.updateState({visible:!0},!0),this._show({isAutoShow:!0}))});d(this,"onFivePanoArrived",e=>{var i;(i=this.five)!=null&&i.work&&(this.panoIndex=e,this.floorIndex=this.workUtil.observers[e].floorIndex)});d(this,"onFiveCameraUpdate",(e,i)=>{if(!this.state.visible||this.showPromise)return;const s=this.five.getCurrentState();this.updatePosition(),this.updateSize(),Vb(s)&&(this.updateState({visible:!1},i),this._hide({userAction:i}))});d(this,"onFiveWantsPanGesture",(e,i)=>{if(this.five.getCurrentState().mode===this.showState.mode&&this.state.config.autoShowEnable!==!1&&i&&this.state.visible)return this.five.updateCamera(qn(this.showState,["offset"]),0),!1});d(this,"onFiveWantsTapGesture",()=>this.handleClick());d(this,"onFiveWantsChangeMode",(e,i)=>{i==="Panorama"&&e===this.showState.mode&&(this.lastPanoramaLongitude=this.five.getCurrentState().longitude)});d(this,"onModelShownFloorChange",e=>{var i;if(this.floorIndex!==e){if(e===null){const s=this.five.getCurrentState().panoIndex;this.floorIndex=(i=this.five.work)==null?void 0:i.observers[s].floorIndex;return}this.floorIndex=e,this.updateSize(),this.render()}});i!=null&&i.selector&&(this.selector=i.selector,console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")),this.showState={mode:"Mapview",longitude:0,latitude:Math.PI/2},this.defaultMissingFloorConfig={imageURL:this.staticPrefix+"/release/web/saas/missing-floorplan.e274c596.png",imageWidth:200,imageHeight:120,text:(c=(l=i.i18n)==null?void 0:l.call(i,"暂无平面图"))!=null?c:"暂无平面图",textFontSize:14};const s={northDesc:"北",modelOpacity:1,cameraEnable:!0,highlightEnable:!1,hoverEnable:!0,compassEnable:!0,autoShowEnable:!0,ruleLabelsEnable:!0,roomLabelsEnable:!0,roomAreaEnable:!0,roomNameEnable:!0,roomDimensionEnable:!0,cameraImageUrl:Vi,attachedTo:Li.BOUNDING_CENTER,getLabelElement:void 0,adaptiveRoomLabelVisibleEnable:!0,missingFloorConfig:k(k({},this.defaultMissingFloorConfig),i.missingFloorConfig),i18n:h=>h,getRoomAreaText:h=>(h/1e6).toFixed(1)+"㎡",getRoomDimensionText:(h,u)=>(h/1e3).toFixed(1)+"m × "+(u/1e3).toFixed(1)+"m",getRuleDistanceText:h=>h.toString()},o=i?qn(i,["selector","scale"]):{},r=k(k({},s.missingFloorConfig),o.missingFloorConfig),a=te(k(k({},s),o),{missingFloorConfig:r});this.state={enabled:!0,visible:!1,config:a},this.initContainer(),_i(e).then(this.onFiveModelLoaded),e.once("dispose",this.dispose),this.addEventListener()}load(e,i,s=!0){return Q(this,null,function*(){function o(h){return Object.prototype.hasOwnProperty.apply(h,["version"])}const r=e;r&&Bt(r.version)&&console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");const a=JSON.parse(JSON.stringify(e)),l=o(a)?a.data:a,c=this.data;this.data=yield Bi(l),this.hooks.emit("dataLoaded",this.data),this.hooks.emit("dataChange",this.data,c),i&&this.updateState(i,s),this.render()})}appendTo(e){if(this.wrapper=e,!!this.state.enabled)return e.appendChild(this.container),this.render(),this}enable(e={}){if(this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!0},e.userAction||i),this._enable({userAction:i})}disable(e={}){if(!this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!1},e.userAction||i),this._disable({userAction:i})}setState(e,i={}){const s=this.state,o=i.userAction!==void 0?i.userAction:!0;if(this.updateState(e,o),e.enabled!==void 0&&s.enabled!==e.enabled&&(e.enabled?this._enable({userAction:o}):this._disable({userAction:o})),e.visible!==void 0&&s.visible!==e.visible){const r={userAction:o};e.visible?this._show(r):this._hide(r)}}changeConfigs(e,i=!0){this.updateState({config:e},i),this.render()}updatePosition(){var a;const e=ac(this.five,this.floorIndex,this.state.config.attachedTo),i=(a=this.fiveUtil.model)==null?void 0:a.bounding.getCenter(new b.Vector3).setY(e);if(!i)return;const s=i.clone().project(this.five.camera),o=(s.x+1)/2,r=-(s.y-1)/2;this.container.style.left=o*100+"%",this.container.style.top=r*100+"%"}formatData(e){return Q(this,null,function*(){return yield Bi(e.data)})}updateState(e,i){var a;const s=this.state,o=(a=e.config)!=null&&a.missingFloorConfig?k(k({},s.config.missingFloorConfig),e.config.missingFloorConfig):s.config.missingFloorConfig,r=e.config?te(k(k({},s.config),e.config),{missingFloorConfig:o}):s.config;this.state=te(k(k({},this.state),e),{config:r}),!wt(this.state,s,{deep:!0})&&this.hooks.emit("stateChange",{state:this.state,prevState:s,userAction:i})}initContainer(){this.container.classList.add("floorplan-plugin"),Object.assign(this.container.style,{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",zIndex:10,pointerEvents:"none"}),this.five.addExtraElement(this.container)}addEventListener(){if(!this.state.enabled||this.hasAddedEventListener)return;const e=this.five;e.on("modeChange",this.onFiveModeChange),e.on("interiaPan",this.onFiveInteriaPan),e.on("panoArrived",this.onFivePanoArrived),e.on("cameraUpdate",this.onFiveCameraUpdate),e.on("wantsPanGesture",this.onFiveWantsPanGesture),e.on("wantsTapGesture",this.onFiveWantsTapGesture),e.on("wantsChangeMode",this.onFiveWantsChangeMode),e.on("modelShownFloorChange",this.onModelShownFloorChange)}removeEventListener(){const e=this.five;this.hasAddedEventListener=!1,e.off("modelLoaded",this.onFiveModelLoaded),e.off("modeChange",this.onFiveModeChange),e.off("panoArrived",this.onFivePanoArrived),e.off("cameraUpdate",this.onFiveCameraUpdate),e.off("wantsPanGesture",this.onFiveWantsPanGesture),e.off("wantsTapGesture",this.onFiveWantsTapGesture),e.off("wantsChangeMode",this.onFiveWantsChangeMode),e.off("modelShownFloorChange",this.onModelShownFloorChange)}render(e){if(!this.state.enabled||!this.container||!this.data||this.size.width===0||this.showPromise)return;const i=te(k({},this.state.config),{visible:this.state.visible,duration:e!=null?e:0,panoIndex:this.panoIndex,floorIndex:this.floorIndex,floorplanData:this.data,lastPanoramaLongitude:this.lastPanoramaLongitude,highlightData:this.highlightData,store:this.store});if(this.app)return this.app.$set(i);this.app=new rc({target:this.container,intro:!0,props:i})}};const _b=(n,t)=>new Rb(n,t);let Fb=class extends Ci{constructor(e,i){var l,c;super(e);d(this,"name","topviewFloorplanPlugin");d(this,"state");d(this,"data");d(this,"app");d(this,"selector");d(this,"panoIndex",0);d(this,"floorIndex",0);d(this,"wrapper");d(this,"container",document.createElement("div"));d(this,"lastPanoramaLongitude",0);d(this,"size",{width:0,height:0});d(this,"defaultMissingFloorConfig");d(this,"hasAddedEventListener",!1);d(this,"isHiddenByHideFunc",!1);d(this,"highlightData",{});d(this,"updateSize",()=>{if(!this.data||!this.container||!this.wrapper||this.five.getCurrentState().mode!=="Topview")return!1;const{min:e,max:i}=this.data.bounding,s=i.x-e.x,o=i.y-e.y,r=this.state.config.attachedTo?{attachedTo:this.state.config.attachedTo}:void 0,a=lc(this.five,this.wrapper,this.floorIndex,r),l=Math.ceil(s*a),c=Math.ceil(o*a);return this.size.width===l&&this.size.height===c||(this.container.style.width=l+"px",this.container.style.height=c+"px",this.size={width:l,height:c}),!0});d(this,"dispose",()=>{var e,i;this.removeEventListener(),(e=this.app)==null||e.$destroy(),this.app=void 0,(i=this.container)==null||i.remove(),this.data=void 0,this.wrapper=void 0,this.selector=void 0,this.hooks.emit("dispose")});d(this,"highlight",e=>{this.state.config.highlightEnable&&(this.highlightData=e,this.render())});d(this,"unhighlight",()=>{this.highlightData={},this.render()});d(this,"_disable",e=>{var s,o;const{userAction:i}=e;(s=this.app)==null||s.$destroy(),this.app=void 0,(o=this.container)==null||o.remove(),this.removeEventListener(),this.hooks.emit("disable",{userAction:i})});d(this,"onFiveModelLoaded",()=>{if(this.state.enabled===!1||this.wrapper||!this.selector)return;const e=this.selector instanceof Element?this.selector:document.querySelector(this.selector);if(!e)throw new Error("不正确的父容器选择器");this.wrapper=e,e.append(this.container)});d(this,"onFiveModeChange",(...[e,,,,i])=>{e!=="Topview"&&this.state.visible&&(this.updateState({visible:!1},i),this._hide({userAction:i}))});d(this,"onFivePanoArrived",e=>{var i;(i=this.five)!=null&&i.work&&(this.panoIndex=e,this.floorIndex=this.five.work.observers[e].floorIndex)});d(this,"onFiveCameraUpdate",(e,i)=>{this.state.visible&&(this.updatePosition(),this.updateSize())});d(this,"onFiveWantsGesture",e=>{if(!(e!=="pan"&&e!=="pinch"&&e!=="mouseWheel")&&this.state.visible&&!this.state.config.gestureEnable)return!1});d(this,"onFiveWantsMoveToPano",()=>{if(this.state.visible&&this.state.config.preventRoomClick)return!1});d(this,"onFiveInitAnimationEnded",(...[,,e])=>{const{mode:i}=this.five.getCurrentState();i==="Topview"&&!this.isHiddenByHideFunc&&!this.state.visible&&this.state.config.autoShowEnable&&(this.updateState({visible:!0},e),this._show({userAction:e}))});d(this,"onModelShownFloorChange",e=>{if(this.floorIndex!==e){if(e===null){const i=this.five.getCurrentState().panoIndex;this.floorIndex=this.five.work.observers[i].floorIndex;return}this.floorIndex=e,this.updateSize(),this.render()}});i!=null&&i.selector&&(this.selector=i.selector,console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法")),this.defaultMissingFloorConfig={imageURL:this.staticPrefix+"/release/web/saas/missing-floorplan.e274c596.png",imageWidth:200,imageHeight:120,text:(c=(l=i.i18n)==null?void 0:l.call(i,"暂无平面图"))!=null?c:"暂无平面图",textFontSize:14};const s={northDesc:"北",modelOpacity:1,cameraEnable:!0,hoverEnable:!0,highlightEnable:!1,compassEnable:!0,gestureEnable:!1,autoShowEnable:!0,ruleLabelsEnable:!0,roomLabelsEnable:!0,roomAreaEnable:!0,roomNameEnable:!0,roomDimensionEnable:!0,cameraImageUrl:Vi,attachedTo:Li.BOUNDING_CENTER,getLabelElement:void 0,missingFloorConfig:k(k({},this.defaultMissingFloorConfig),i.missingFloorConfig),i18n:h=>h,adaptiveRoomLabelVisibleEnable:!0,getRoomAreaText:h=>(h/1e6).toFixed(1)+"㎡",getRoomDimensionText:(h,u)=>(h/1e3).toFixed(1)+"m × "+(u/1e3).toFixed(1)+"m",getRuleDistanceText:h=>h.toString()},o=i?qn(i,["selector","scale"]):{},r=k(k({},s.missingFloorConfig),o.missingFloorConfig),a=te(k(k({},s),o),{missingFloorConfig:r});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()}load(e,i,s=!0){return Q(this,null,function*(){function o(h){return Object.prototype.hasOwnProperty.apply(h,["version"])}const r=e;r&&Bt(r.version)&&console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");const a=JSON.parse(JSON.stringify(e)),l=o(a)?a.data:a,c=this.data;this.data=yield Bi(l),this.hooks.emit("dataLoaded",this.data),this.hooks.emit("dataChange",this.data,c),i&&this.updateState(i,s),this.render()})}updatePosition(){var a;const e=ac(this.five,this.floorIndex,this.state.config.attachedTo),i=(a=this.five.model)==null?void 0:a.bounding.getCenter(new b.Vector3).setY(e);if(!i)return;const s=i.clone().project(this.five.camera),o=(s.x+1)/2,r=-(s.y-1)/2;this.container.style.left=o*100+"%",this.container.style.top=r*100+"%"}appendTo(e){if(this.wrapper=e,!!this.state.enabled)return e.appendChild(this.container),this.render(),this}show(){return Q(this,arguments,function*(e={}){if(this.state.visible)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({visible:!0},i),this._show({userAction:i})})}hide(){return Q(this,arguments,function*(e={}){if(this.isHiddenByHideFunc=!0,!this.state.visible)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({visible:!1},i),this._hide({userAction:i})})}enable(e={}){if(this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!0},e.userAction||i),this._enable({userAction:i})}disable(e={}){if(!this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!1},e.userAction||i),this._disable({userAction:i})}setState(e,i={}){const s=this.state,o=i.userAction!==void 0?i.userAction:!0;if(this.updateState(e,o),e.enabled!==void 0&&s.enabled!==e.enabled){const r={userAction:o};e.enabled?this._enable(r):this._disable(r)}if(e.visible!==void 0&&s.visible!==e.visible){const r={userAction:o};e.visible?this._show(r):this._hide(r)}}changeConfigs(e,i=!0){this.updateState({config:e},i),this.render()}formatData(e){return Q(this,null,function*(){return yield Bi(e.data)})}_show(e){return Q(this,null,function*(){if(!this.state.enabled)return;this.isHiddenByHideFunc=!1;const{userAction:i}=e;this.hooks.emit("show",{userAction:i,auto:!1}),this.five.getCurrentState().mode!=="Topview"&&(yield cc(this.five,["Topview",void 0,void 0,i])),this.five.model.show(this.floorIndex),this.updatePosition(),this.updateSize();const s=500,o=this.state.config.modelOpacity;Kn(this.five,o,s),this.hooks.emit("showAnimationEnded",{userAction:i,auto:!1}),this.render()})}_hide(e){return Q(this,null,function*(){if(!this.state.enabled)return;const{userAction:i}=e;this.hooks.emit("hide",{userAction:i,auto:!1});const s=1,o=0;Kn(this.five,s,o),this.render()})}_enable(e){const{userAction:i}=e;this.addEventListener(),this.wrapper&&this.wrapper.append(this.container),this.hooks.emit("enable",{userAction:i}),this.state.visible&&this._show({userAction:i})}updateState(e,i){var a;const s=this.state,o=(a=e.config)!=null&&a.missingFloorConfig?k(k({},s.config.missingFloorConfig),e.config.missingFloorConfig):s.config.missingFloorConfig,r=e.config?te(k(k({},s.config),e.config),{missingFloorConfig:o}):s.config;this.state=te(k(k({},this.state),e),{config:r}),!wt(this.state,s,{deep:!0})&&this.hooks.emit("stateChange",{state:this.state,prevState:s,userAction:i})}addEventListener(){if(!this.state.enabled||this.hasAddedEventListener)return;const e=this.five;e.on("modeChange",this.onFiveModeChange),e.on("panoArrived",this.onFivePanoArrived),e.on("cameraUpdate",this.onFiveCameraUpdate),e.on("wantsGesture",this.onFiveWantsGesture),e.on("wantsMoveToPano",this.onFiveWantsMoveToPano),e.on("initAnimationEnded",this.onFiveInitAnimationEnded),e.on("modelShownFloorChange",this.onModelShownFloorChange)}removeEventListener(){const e=this.five;this.hasAddedEventListener=!1,e.off("modeChange",this.onFiveModeChange),e.off("panoArrived",this.onFivePanoArrived),e.off("cameraUpdate",this.onFiveCameraUpdate),e.off("wantsGesture",this.onFiveWantsGesture),e.off("wantsMoveToPano",this.onFiveWantsMoveToPano),e.off("initAnimationEnded",this.onFiveInitAnimationEnded),e.off("modelShownFloorChange",this.onModelShownFloorChange)}initContainer(){this.container.classList.add("floorplan-plugin"),Object.assign(this.container.style,{position:"absolute",left:"50%",top:"50%",transform:"translate3d(-50%, -50%, 10px)",zIndex:10,pointerEvents:"none","will-change":"width, height"}),this.five.addExtraElement(this.container)}render(e){if(!this.state.enabled||!this.container||!this.data||this.size.width===0)return;const i=te(k({},this.state.config),{visible:this.state.visible,duration:e!=null?e:0,panoIndex:this.panoIndex,floorIndex:this.floorIndex,floorplanData:this.data,lastPanoramaLongitude:this.lastPanoramaLongitude,highlightData:this.highlightData});if(this.app)return this.app.$set(i);this.app=new rc({target:this.container,intro:!0,props:i})}};const Hb=(n,t)=>new Fb(n,t);function Nb(n){me(n,"svelte-1nqrlxd",".plugin-radar__camera-wrapper.svelte-1nqrlxd{width:100%;height:100%;position:absolute;pointer-events:none}.plugin-radar__camera-position.svelte-1nqrlxd{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear}.plugin-radar__camera-rotate.svelte-1nqrlxd{position:absolute;left:-0.9375rem;top:-0.9375rem;width:1.0625rem;height:1.0625rem;transform-origin:0.9375rem 0.9375rem;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%}")}function Gb(n){let t,e,i;return{c(){t=L("div"),e=L("div"),i=L("div"),P(i,"class","plugin-radar__camera-rotate svelte-1nqrlxd"),j(i,"background-image","url("+(n[0]||Vi)+")"),j(i,"transform",n[1]),P(e,"class","plugin-radar__camera-position svelte-1nqrlxd"),j(e,"transform",n[2]),P(t,"class","plugin-radar__camera-wrapper svelte-1nqrlxd"),j(t,"opacity",n[3]?1:0)},m(s,o){R(s,t,o),O(t,e),O(e,i)},p(s,[o]){o&1&&j(i,"background-image","url("+(s[0]||Vi)+")"),(o&1||o&3)&&j(i,"transform",s[1]),o&4&&j(e,"transform",s[2]),o&8&&j(t,"opacity",s[3]?1:0)},i:K,o:K,d(s){s&&V(t)}}}function Qb(n){return`rotate(${Math.floor(n/Math.PI*180)*-1+45}deg)`}function Wb(n,t,e){var w,I;let i,s,o,r,{five:a}=t,{pxmm:l}=t,{floorplanData:c}=t,{cameraImageUrl:h}=t,u=a.getCurrentState().panoIndex,f=a.getCurrentState().longitude,m=(I=(w=a.work.observers[a.getCurrentState().panoIndex])==null?void 0:w.floorIndex)!=null?I:0;function p(C,E){const M=C.bounding,S=C.observers[E];if(!S)return"";const T=(M.max.x-M.min.x)*l,G=(M.max.y-M.min.y)*l,H=Math.floor(S.positionInImage.x*T),Y=Math.floor(S.positionInImage.y*G);return`translate(${H}px, ${Y}px)`}function v(C){e(7,u=C)}function g(C){e(9,m=a.work.observers[C].floorIndex)}const A=Ar(C=>{e(8,f=C.longitude)},1e3/60);return Et(()=>(a.on("panoWillArrive",v),a.on("panoArrived",g),a.on("cameraDirectionUpdate",A),function(){a.off("panoWillArrive",v),a.off("panoArrived",g),a.off("cameraDirectionUpdate",A)})),n.$$set=C=>{"five"in C&&e(4,a=C.five),"pxmm"in C&&e(5,l=C.pxmm),"floorplanData"in C&&e(6,c=C.floorplanData),"cameraImageUrl"in C&&e(0,h=C.cameraImageUrl)},n.$$.update=()=>{n.$$.dirty&576&&e(10,i=c.floorDatas[m]),n.$$.dirty&1024&&e(3,s=i.rooms.length>0),n.$$.dirty&192&&e(2,o=p(c,u)),n.$$.dirty&256&&e(1,r=Qb(f))},[h,r,o,s,a,l,c,u,f,m,i]}class Ub extends de{constructor(t){super(),he(this,t,Wb,Gb,ce,{five:4,pxmm:5,floorplanData:6,cameraImageUrl:0},Nb)}}function Yb(n){me(n,"svelte-1i87fz7",".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}")}function Nh(n,t,e){const i=n.slice();return i[1]=t[e],i}function Gh(n,t){let e,i,s=`${t[1].icon.width/16}rem`,o=`${t[1].icon.height/16}rem`,r,a=`${t[1].positionInImage.y*100}%`,l=`${t[1].positionInImage.x*100}%`;return{key:n,first:null,c(){e=L("div"),i=L("div"),r=ee(),P(i,"class","plugin-pano-floorplan__extra-object-item svelte-1i87fz7"),j(i,"background-image",`url(${t[1].icon.url})`),j(i,"width",s),j(i,"height",o),P(e,"class","plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"),j(e,"top",a),j(e,"left",l),this.first=e},m(c,h){R(c,e,h),O(e,i),O(e,r)},p(c,h){t=c,h&1&&j(i,"background-image",`url(${t[1].icon.url})`);const u=h&1;u&&j(i,"width",s),u&&j(i,"height",o),h&1&&a!==(a=`${t[1].positionInImage.y*100}%`)&&j(e,"top",a),h&1&&l!==(l=`${t[1].positionInImage.x*100}%`)&&j(e,"left",l)},d(c){c&&V(e)}}}function Xb(n){let t,e=[],i=new Map,s=n[0];const o=r=>r[1].id;for(let r=0;r<s.length;r+=1){let a=Nh(n,s,r),l=o(a);i.set(l,e[r]=Gh(l,a))}return{c(){t=L("div");for(let r=0;r<e.length;r+=1)e[r].c();P(t,"class","plugin-pano-floorplan__extra-objects svelte-1i87fz7")},m(r,a){R(r,t,a);for(let l=0;l<e.length;l+=1)e[l]&&e[l].m(t,null)},p(r,[a]){a&1&&(s=r[0],e=Zt(e,a,o,1,r,s,i,t,nc,Gh,null,Nh))},i:K,o:K,d(r){r&&V(t);for(let a=0;a<e.length;a+=1)e[a].d()}}}function Zb(n,t,e){let{extraObjects:i=[]}=t;return n.$$set=s=>{"extraObjects"in s&&e(0,i=s.extraObjects)},[i]}class Jb extends de{constructor(t){super(),he(this,t,Zb,Xb,ce,{extraObjects:0},Yb)}}function qb(n){me(n,"svelte-18287ai",".missing-floor-wrapper.svelte-18287ai{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:flex;justify-content:center;align-items:center}.missing-floor-image.svelte-18287ai{max-width:100%;max-height:100%}")}function Kb(n){let t,e,i,s,o,r;const a=[{floorIndex:n[2],floorplanData:n[4]}];let l={};for(let h=0;h<a.length;h+=1)l=vt(l,a[h]);t=new km({props:l}),i=new Jb({props:{extraObjects:n[7]}});let c=n[3]&&Qh(n);return{c(){oe(t.$$.fragment),e=ee(),oe(i.$$.fragment),s=ee(),c&&c.c(),o=Ee()},m(h,u){ne(t,h,u),R(h,e,u),ne(i,h,u),R(h,s,u),c&&c.m(h,u),R(h,o,u),r=!0},p(h,u){const f=u&20?Ct(a,[{floorIndex:h[2],floorplanData:h[4]}]):{};t.$set(f);const m={};u&128&&(m.extraObjects=h[7]),i.$set(m),h[3]?c?(c.p(h,u),u&8&&D(c,1)):(c=Qh(h),c.c(),D(c,1),c.m(o.parentNode,o)):c&&(ue(),B(c,1,1,()=>{c=null}),fe())},i(h){r||(D(t.$$.fragment,h),D(i.$$.fragment,h),D(c),r=!0)},o(h){B(t.$$.fragment,h),B(i.$$.fragment,h),B(c),r=!1},d(h){se(t,h),h&&V(e),se(i,h),h&&V(s),c&&c.d(h),h&&V(o)}}}function $b(n){let t,e,i;return{c(){t=L("div"),e=L("img"),P(e,"class","missing-floor-image svelte-18287ai"),dt(e.src,i=n[6])||P(e,"src",i),P(e,"alt","缺省楼层"),P(t,"class","missing-floor-wrapper svelte-18287ai")},m(s,o){R(s,t,o),O(t,e)},p(s,o){o&64&&!dt(e.src,i=s[6])&&P(e,"src",i)},i:K,o:K,d(s){s&&V(t)}}}function Qh(n){let t,e;const i=[{five:n[0],pxmm:n[1],floorIndex:n[2],floorplanData:n[4],onRoomHeightClick:n[9],highlightData:n[5],hoveredRoom:void 0}];let s={};for(let o=0;o<i.length;o+=1)s=vt(s,i[o]);return t=new Sm({props:s}),{c(){oe(t.$$.fragment)},m(o,r){ne(t,o,r),e=!0},p(o,r){const a=r&567?Ct(i,[{five:o[0],pxmm:o[1],floorIndex:o[2],floorplanData:o[4],onRoomHeightClick:o[9],highlightData:o[5],hoveredRoom:void 0}]):{};t.$set(a)},i(o){e||(D(t.$$.fragment,o),e=!0)},o(o){B(t.$$.fragment,o),e=!1},d(o){se(t,o)}}}function e1(n){let t,e,i,s;const o=[$b,Kb],r=[];function a(l,c){return l[8]?1:0}return t=a(n),e=r[t]=o[t](n),{c(){e.c(),i=Ee()},m(l,c){r[t].m(l,c),R(l,i,c),s=!0},p(l,[c]){let h=t;t=a(l),t===h?r[t].p(l,c):(ue(),B(r[h],1,1,()=>{r[h]=null}),fe(),e=r[t],e?e.p(l,c):(e=r[t]=o[t](l),e.c()),D(e,1),e.m(i.parentNode,i))},i(l){s||(D(e),s=!0)},o(l){B(e),s=!1},d(l){r[t].d(l),l&&V(i)}}}function t1(n,t,e){let i,s,o,{five:r}=t,{pxmm:a}=t,{floorIndex:l}=t,{hoverEnable:c}=t,{floorplanData:h}=t,{extraObjects:u=[]}=t,{highlightData:f}=t,{missingFloorImageUrl:m}=t;const p=void 0;return n.$$set=v=>{"five"in v&&e(0,r=v.five),"pxmm"in v&&e(1,a=v.pxmm),"floorIndex"in v&&e(2,l=v.floorIndex),"hoverEnable"in v&&e(3,c=v.hoverEnable),"floorplanData"in v&&e(4,h=v.floorplanData),"extraObjects"in v&&e(10,u=v.extraObjects),"highlightData"in v&&e(5,f=v.highlightData),"missingFloorImageUrl"in v&&e(6,m=v.missingFloorImageUrl)},n.$$.update=()=>{n.$$.dirty&20&&e(11,i=h.floorDatas[l]),n.$$.dirty&2048&&e(8,s=i.rooms.length>0),n.$$.dirty&1028&&e(7,o=u==null?void 0:u.filter(v=>v.floorIndex===l))},[r,a,l,c,h,f,m,o,s,p,u,i]}class i1 extends de{constructor(t){super(),he(this,t,t1,e1,ce,{five:0,pxmm:1,floorIndex:2,hoverEnable:3,floorplanData:4,extraObjects:10,highlightData:5,missingFloorImageUrl:6},qb)}}function n1(n){me(n,"svelte-1mvqyqq",".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}")}function Wh(n){let t,e,i,s,o=n[8]!==0&&Uh(n);return{c(){t=L("div"),o&&o.c(),P(t,"class","plugin-floorplan-radar svelte-1mvqyqq")},m(r,a){R(r,t,a),o&&o.m(t,null),e=!0,i||(s=[Wt(Gi.call(null,t)),we(t,"clientWidth",n[14]),we(t,"clientHeight",n[15])],i=!0)},p(r,a){r[8]!==0?o?(o.p(r,a),a&256&&D(o,1)):(o=Uh(r),o.c(),D(o,1),o.m(t,null)):o&&(ue(),B(o,1,1,()=>{o=null}),fe())},i(r){e||(D(o),e=!0)},o(r){B(o),e=!1},d(r){r&&V(t),o&&o.d(),i=!1,rt(s)}}}function Uh(n){let t,e,i,s,o=`${n[10]}px`,r=`${n[13]}px`,a;const l=[{five:n[0],pxmm:n[11],floorIndex:n[12],floorplanData:n[3],hoverEnable:n[2],extraObjects:n[5],highlightData:n[6],missingFloorImageUrl:n[7]}];let c={};for(let f=0;f<l.length;f+=1)c=vt(c,l[f]);e=new i1({props:c});const h=[{pxmm:n[11],five:n[0],floorplanData:n[3],cameraImageUrl:n[4]}];let u={};for(let f=0;f<h.length;f+=1)u=vt(u,h[f]);return s=new Ub({props:u}),{c(){t=L("div"),oe(e.$$.fragment),i=ee(),oe(s.$$.fragment),P(t,"class","plugin-floorplan-radar-container svelte-1mvqyqq"),j(t,"width",o),j(t,"height",r)},m(f,m){R(f,t,m),ne(e,t,null),O(t,i),ne(s,t,null),a=!0},p(f,m){const p=m&6381?Ct(l,[{five:f[0],pxmm:f[11],floorIndex:f[12],floorplanData:f[3],hoverEnable:f[2],extraObjects:f[5],highlightData:f[6],missingFloorImageUrl:f[7]}]):{};e.$set(p);const v=m&2073?Ct(h,[{pxmm:f[11],five:f[0],floorplanData:f[3],cameraImageUrl:f[4]}]):{};s.$set(v),m&1024&&o!==(o=`${f[10]}px`)&&j(t,"width",o),m&8192&&r!==(r=`${f[13]}px`)&&j(t,"height",r)},i(f){a||(D(e.$$.fragment,f),D(s.$$.fragment,f),a=!0)},o(f){B(e.$$.fragment,f),B(s.$$.fragment,f),a=!1},d(f){f&&V(t),se(e),se(s)}}}function s1(n){let t,e,i=n[1]&&Wh(n);return{c(){i&&i.c(),t=Ee()},m(s,o){i&&i.m(s,o),R(s,t,o),e=!0},p(s,[o]){s[1]?i?(i.p(s,o),o&2&&D(i,1)):(i=Wh(s),i.c(),D(i,1),i.m(t.parentNode,t)):i&&(ue(),B(i,1,1,()=>{i=null}),fe())},i(s){e||(D(i),e=!0)},o(s){B(i),e=!1},d(s){i&&i.d(s),s&&V(t)}}}function o1(n,t,e){var C,E;let{five:i}=t,{visible:s}=t,{hoverEnable:o}=t,{floorplanData:r}=t,{cameraImageUrl:a}=t,{extraObjects:l=[]}=t,{highlightData:c}=t,{missingFloorImageUrl:h}=t,u=0,f=(E=(C=i.work.observers[i.getCurrentState().panoIndex])==null?void 0:C.floorIndex)!=null?E:0,m=0,p=0,v=0,g=0;function A(M){e(12,f=i.work.observers[M].floorIndex)}Et(()=>(i.on("panoArrived",A),()=>{i.off("panoArrived",A)}));const w=M=>{e(8,m=M.detail)},I=M=>{e(9,p=M.detail)};return n.$$set=M=>{"five"in M&&e(0,i=M.five),"visible"in M&&e(1,s=M.visible),"hoverEnable"in M&&e(2,o=M.hoverEnable),"floorplanData"in M&&e(3,r=M.floorplanData),"cameraImageUrl"in M&&e(4,a=M.cameraImageUrl),"extraObjects"in M&&e(5,l=M.extraObjects),"highlightData"in M&&e(6,c=M.highlightData),"missingFloorImageUrl"in M&&e(7,h=M.missingFloorImageUrl)},n.$$.update=()=>{if(n.$$.dirty&1800){const M=Math.min(m,p),{max:S,min:T}=r.bounding,G=S.x-T.x,H=S.y-T.y,Y=function(){return G>H?[M,M/G*H]:[M/H*G,M]}();e(10,v=Y[0]),e(13,g=Y[1]),e(11,u=v/G)}},[i,s,o,r,a,l,c,h,m,p,v,u,f,g,w,I]}class r1 extends de{constructor(t){super(),he(this,t,o1,s1,ce,{five:0,visible:1,hoverEnable:2,floorplanData:3,cameraImageUrl:4,extraObjects:5,highlightData:6,missingFloorImageUrl:7},n1)}}let a1=class extends Ci{constructor(e,i){super(e);d(this,"name","panoFloorplanRadarPlugin");d(this,"state");d(this,"data");d(this,"app");d(this,"wrapperSelector","");d(this,"wrapper",null);d(this,"disposed",!1);d(this,"extraObjects",[]);d(this,"highlightData",{});d(this,"dispose",()=>{var e;this.disposed=!0,(e=this.app)==null||e.$destroy(),this.wrapper=null,this.wrapperSelector="",this.hooks.emit("dispose")});d(this,"highlight",e=>{this.state.config.highlightEnable&&(this.highlightData=e,this.render())});d(this,"unhighlight",()=>{this.highlightData={},this.render()});d(this,"_disable",e=>{var s;const{userAction:i}=e;(s=this.app)==null||s.$destroy(),this.app=void 0,this.hooks.emit("disable",{userAction:i})});this.five=e;const s={hoverEnable:!0,highlightEnable:!0,cameraImageUrl:Vi,missingFloorImageUrl:this.staticPrefix+"/release/web/saas/missing-floor.d687a5ed.png"},o=k(k({},s),i==null?void 0:i.configs);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)}load(e,i,s=!0){return Q(this,null,function*(){function o(c){return Object.prototype.hasOwnProperty.apply(c,["version"])}const r=JSON.parse(JSON.stringify(e)),a=o(r)?r.data:r,l=this.data;this.data=yield Bi(a),this.hooks.emit("dataLoaded",this.data),this.hooks.emit("dataChange",this.data,l),i&&this.updateState(i,s),this.render()})}show(){return Q(this,arguments,function*(e={}){if(this.state.visible)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({visible:!0},i),this._show({userAction:i})})}hide(){return Q(this,arguments,function*(e={}){if(!this.state.visible)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({visible:!1},i),this._hide({userAction:i})})}enable(e={}){if(this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!0},e.userAction||i),this._enable({userAction:i})}disable(e={}){if(!this.state.enabled)return;const i=e.userAction!==void 0?e.userAction:!0;this.updateState({enabled:!1},e.userAction||i),this._disable({userAction:i})}setState(e,i={}){const s=this.state,o=i.userAction!==void 0?i.userAction:!0;if(this.updateState(e,o),e.enabled!==void 0&&s.enabled!==e.enabled){const r={userAction:o};e.enabled?this._enable(r):this._disable(r)}if(e.visible!==void 0&&s.visible!==e.visible){const r={userAction:o};e.visible?this._show(r):this._hide(r)}}appendTo(e){this.wrapper!==e&&this.app&&(this.app.$destroy(),this.app=void 0),this.wrapper=e,this.render()}changeConfigs(e,i=!0){this.setState({config:e},{userAction:i}),this.render()}setExtraObjectsWith3DPositions(e){this.data&&(this.extraObjects=Mb(e,this.five,this.data),this.render())}formatData(e){return Q(this,null,function*(){return yield Bi(e.data)})}_enable(e){const{userAction:i}=e;this.hooks.emit("enable",{userAction:i}),this.state.visible&&this._show({userAction:i})}_show(e){if(this.disposed||!this.state.enabled)return;const{userAction:i}=e;this.hooks.emit("show",{userAction:i}),this.render()}_hide(e){if(this.disposed||!this.state.enabled)return;const{userAction:i}=e;this.hooks.emit("hide",{userAction:i}),this.render()}updateState(e,i){const s=this.state,o=e.config?k(k({},s.config),e.config):s.config;this.state=te(k(k({},this.state),e),{config:o}),!wt(this.state,s,{deep:!0})&&this.hooks.emit("stateChange",{state:this.state,prevState:s,userAction:i})}render(){if(this.disposed||!this.state.enabled)return;if(!this.wrapper&&this.wrapperSelector){const i=document.querySelector(this.wrapperSelector);this.wrapper=i}if(!this.data||!this.wrapper)return;const e=te(k({},this.state.config),{five:this.five,floorplanData:this.data,visible:this.state.visible,extraObjects:this.extraObjects,highlightData:this.highlightData});this.app?this.app.$set(e):this.app=new r1({target:this.wrapper,props:e})}};const l1=(n,t)=>new a1(n,t),c1=[{type:0,floorType:1,roomType:"100900000012",name:"其他"},{type:1,floorType:1,roomType:"100900000002",name:"客厅"},{type:2,floorType:1,roomType:"100900000002",name:"餐厅"},{type:3,floorType:0,roomType:"100900000001",name:"卧室"},{type:4,floorType:0,roomType:"100900000001",name:"书房"},{type:5,floorType:3,roomType:"100900000004",name:"卫生间"},{type:6,floorType:3,roomType:"100900000004",name:"淋浴间"},{type:7,floorType:3,roomType:"100900000004",name:"洗手间"},{type:8,floorType:3,roomType:"100900000003",name:"厨房"},{type:9,floorType:1,roomType:"100900000003",name:"开放厨房",onlySubArea:!0},{type:10,floorType:0,roomType:"100900000001",name:"多功能间"},{type:11,floorType:0,roomType:"100900000009",name:"保姆间"},{type:12,floorType:4,roomType:"100900000005",name:"阳台"},{type:13,floorType:4,roomType:"100900000006",name:"露台"},{type:14,floorType:0,roomType:"100900000008",name:"储物间"},{type:15,floorType:0,roomType:"100900000013",name:"衣帽间"},{type:16,floorType:0,roomType:"100900000011",name:"阁楼"},{type:17,floorType:2,roomType:"100900000007",name:"花园"},{type:18,floorType:5,roomType:"100900000010",name:"车库"},{type:19,floorType:1,roomType:"100900000012",name:"电梯"},{type:20,floorType:1,roomType:"100900000012",name:"地下室"},{type:21,floorType:1,roomType:"100900000012",name:"天井"},{type:22,floorType:1,roomType:"100900000012",name:"阳光房"},{type:23,floorType:1,roomType:"100900000012",name:"过道"},{type:24,floorType:1,roomType:"100900000012",name:"楼梯间"},{type:25,floorType:1,roomType:"100900000012",name:"门厅"},{type:26,floorType:2,roomType:"100900000012",name:"入户花园"},{type:27,floorType:1,roomType:"100900000012",name:"玄关"},{type:28,floorType:1,roomType:"100900000012",name:"挑空"},{type:29,floorType:4,roomType:"100900000012",name:"晾晒区"},{type:30,floorType:4,roomType:"100900000012",name:"洗衣房"},{type:31,floorType:0,roomType:"100900000012",name:"娱乐区"},{type:32,floorType:0,roomType:"100900000012",name:"健身区"},{type:33,floorType:0,roomType:"100900000012",name:"接待区"},{type:34,floorType:0,roomType:"100900000012",name:"影音区"},{type:35,floorType:1,roomType:"100900000012",name:"餐饮区"},{type:36,floorType:1,roomType:"100900000012",name:"其他",onlySubArea:!0},{type:37,floorType:1,roomType:"100900000002",name:"起居室"},{type:38,floorType:0,roomType:"100900000001",name:"主卧"},{type:39,floorType:0,roomType:"100900000001",name:"次卧"},{type:40,floorType:0,roomType:"100900000001",name:"优化间"},{type:41,floorType:0,roomType:"100900000001",name:"办公室"},{type:42,floorType:0,roomType:"100900000001",name:"会议室"},{type:43,floorType:0,roomType:"100900000001",name:"洽谈间"},{type:44,floorType:1,roomType:"100900000002",name:"共享大厅"},{type:45,floorType:1,roomType:"100900000012",name:"水吧"},{type:46,floorType:0,roomType:"100900000015",name:"出入口"},{type:47,floorType:0,roomType:"100900000015",name:"大厅"},{type:48,floorType:0,roomType:"100900000015",name:"包厢"},{type:49,floorType:0,roomType:"100900000015",name:"其他"},{type:50,floorType:0,roomType:"100900000016",name:"出入口"},{type:51,floorType:0,roomType:"100900000016",name:"办公区"},{type:52,floorType:0,roomType:"100900000016",name:"老板间"},{type:53,floorType:0,roomType:"100900000016",name:"会议室"},{type:54,floorType:0,roomType:"100900000016",name:"休息区/水吧"},{type:55,floorType:0,roomType:"100900000016",name:"其他"},{type:56,floorType:2,roomType:"100900000012",name:"空中花园"},{type:57,floorType:0,roomType:"100900000001",name:"洋室"},{type:58,floorType:0,roomType:"100900000001",name:"和室"}],h1=[{type:0,description:"木质地板"},{type:1,description:"瓷砖地面"},{type:2,description:"户外地面"},{type:3,description:"卫生间地面"},{type:4,description:"阳台地面"},{type:5,description:"车库地面"}],d1=[{roomType:"100900000001",description:"室"},{roomType:"100900000002",description:"厅"},{roomType:"100900000003",description:"厨"},{roomType:"100900000004",description:"卫"},{roomType:"100900000005",description:"阳台"},{roomType:"100900000006",description:"露台"},{roomType:"100900000007",description:"花园"},{roomType:"100900000008",description:"储"},{roomType:"100900000009",description:"保姆间"},{roomType:"100900000010",description:"车库"},{roomType:"100900000011",description:"阁楼"},{roomType:"100900000012",description:"其他"},{roomType:"100900000013",description:"衣"},{roomType:"100900000015",description:"商铺"},{roomType:"100900000016",description:"写字楼"}],Va=(n,t,e)=>{const i=new b.Matrix4,s=new b.Euler(n,t,e,"YXZ");return i.makeRotationFromEuler(s),i},u1=(n,{scale:t,rotation:e,position:i})=>{if(t&&n.scale.set(t,t,t),e){const[s,o,r]=e;s&&n.applyMatrix4(Va(s,0,0)),o&&n.applyMatrix4(Va(0,o,0)),r&&n.applyMatrix4(Va(0,0,r))}return i&&n.position.set(i.x,i.y,i.z),n};function jm(n,t){n.traverse(e=>{var i;if(e.type==="Mesh"){const s=e,o=k({map:s.material.map||{}},t);s.material=new W.MeshBasicMaterial(o),s.renderOrder=1,((i=e.parent)==null?void 0:i.type)==="Mesh"&&(e.renderOrder=e.parent.renderOrder+1)}})}const f1=(n,t)=>{var v;const e=t.fbx_url||"//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX",i=(v=t.north_rad)!=null?v:void 0,s={};let o={x:0,y:0,z:0},r=[0,0,0],a=1,l=i;n.on("modelLoaded",p);const c=g=>Q(exports,null,function*(){var C;const A=(g==null?void 0:g.fbx_url)||e;if(l=(C=g==null?void 0:g.north_rad)!=null?C:i,typeof l!="number")throw new Error('"northRad"配置参数缺失:未配置指南针指向!');const I=yield new Vf.FBXLoader().loadAsync(A);return jm(I,{transparent:!0,side:b.DoubleSide,blending:b.AdditiveBlending}),s.object=I,p(),!0}),h=({latitude:g})=>{if(!s.object)return;const A=u(g);A&&(s.object.position.y=A)},u=g=>{if(s.yBase===void 0)return;const A=.6;if(g>=Math.PI/4)return s.yBase-(A+1.6);const w=g*(4/Math.PI);return s.yBase-(A*w+1.6)},f=()=>{if(!s.object)return;const g=u(n.getPose().latitude);g&&(s.object.position.y=g),n.scene.add(s.object),n.needsRender=!0,n.on("cameraDirectionUpdate",h)},m=()=>{s.object&&(n.scene.remove(s.object),n.needsRender=!0,n.off("cameraDirectionUpdate",h))};function p(){const g=s.object;if(!g)return;const A=n.model.bounding,w=A.max.x-A.min.x,I=A.max.z-A.min.z,C=Math.max(w,I),{max:{x:E,z:M},min:{x:S,y:T,z:G}}=A;s.yBase=T,o={x:(E+S)/2,y:T-1.6,z:(M+G)/2},r=[0,l-Math.PI/2,0],a=.0045*C,u1(g,{position:o,rotation:r,scale:a})}return{load:c,disable:m,enable:f}};function m1(n,t){var c,h,u,f,m;const e=(c=t==null?void 0:t.size)!=null?c:512,i=(h=t==null?void 0:t.fontSize)!=null?h:e*(35/256)*1.2,s=(u=t==null?void 0:t.backgroundColor)!=null?u:"rgba(0,0,0,0)",o=(f=t==null?void 0:t.fontColor)!=null?f:"#fff",r=(m=t==null?void 0:t.textAlign)!=null?m:"center",a=document.createElement("canvas");a.setAttribute("width",e+""),a.setAttribute("height",e+"");const l=a.getContext("2d");return l.fillStyle=s,l.fillRect(0,0,e,e),l.font=`${i}px "微软雅黑"`,l.textAlign=r,l.fillStyle=o,l.fillText(n,e/2,e*.7),new W.CanvasTexture(a)}const g1=({x:n,y:t,z:e})=>new W.Vector3(n,t,e),p1=(n,t)=>{var v,g,A;const e={},i=(v=t.animationEnabled)!=null?v:!0,s=(g=t.position)!=null?g:void 0,o=(A=t.rad)!=null?A:void 0,r=t.fbx_url||"//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx",a=[],l=w=>Q(exports,null,function*(){var H,Y,z,U,F,N,X,Z;const I=(H=w==null?void 0:w.position)!=null?H:s;if(!I)return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));const C=g1(I),E=(Y=w==null?void 0:w.rad)!=null?Y:o,M=(z=w==null?void 0:w.fbx_url)!=null?z:r;if(e.rad=E,E===void 0)return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${E}`));const S=yield new Vf.FBXLoader().loadAsync(M);S.position.copy(C),S.rotation.z=E,S.scale.set(.8,.8,.8),jm(S,{transparent:!0,side:b.DoubleSide});const T=(X=(N=(F=(U=S.children)==null?void 0:U[0])==null?void 0:F.children)==null?void 0:N[3])==null?void 0:X.clone();if(!T)return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${T}`));const G=(Z=t.name)!=null?Z:"入户门";return T.material=new W.MeshBasicMaterial({transparent:!0,map:m1(G)}),T.renderOrder=3,S.children[0].add(T),e.object=S,!0}),c=()=>{if(e.animation)return;if(!e.object)return console.error("ModelEntryDoorGuidePlugin.initAnimation(): state.object is ",e.object);const w=1,I=new W.AnimationMixer(e.object);a.push(I);const C=I.clipAction(e.object.animations[0]);C.timeScale=w;let E;const M=()=>{let H=0,Y=0;const z=1e3/30,U=F=>{H=requestAnimationFrame(U);const N=F-Y;N<z||(Y=F,a.forEach(X=>X.update(N/1e3)),n.needsRender=!0)};return H=requestAnimationFrame(U),()=>{cancelAnimationFrame(H)}},G={play:()=>{E||(C.play(),E=M(),requestAnimationFrame(()=>{e.object&&e.object.rotation.z!==e.rad&&(e.object.rotation.z=e.rad)}))},stop:()=>{C.stop(),E==null||E(),E=void 0}};e.animation=G},h=w=>{var C;if(!e.object)return console.error("ModelEntryDoorGuidePlugin.enable(): object is ",e.object);((C=w==null?void 0:w.animationEnable)!=null?C:i)&&(e.animation||c(),e.animation.play()),n.scene.add(e.object),n.needsRender=!0},u=()=>{e.object&&(e.animation&&e.animation.stop(),n.scene.remove(e.object),n.needsRender=!0)},f=w=>w==="Floorplan"?h():u();return{load:l,enable:w=>(e.enabled||(e.enabled=!0,f(n.currentMode),n.on("modeChange",f),h(w)),!0),disable:()=>(e.enabled&&(e.enabled=!1,u(),n.off("modeChange",f)),!0)}},v1=oi;function A1(n,t,e,i=v1.Linear.None){const s=new pr(n).to(t,e).easing(i);Ks(()=>s.start(0));const o=os(a=>{s.update(a)===!1&&o()}),r=[];return s.onDestroy=a=>(r.push(a),s),s.destroy=function(){this.stop(),Object.assign(s,{_onStartCallback:null,_onUpdateCallback:null,_onCompleteCallback:null,_onStopCallbackL:null});let a;for(;a=r.shift();)a();o()},s}function b1(n,t){return A1({progress:0},{progress:1},n,t)}var Om=(n=>(n.Move="Move",n.Rotate="Rotate",n))(Om||{}),ii=(n=>(n.Clockwise="Clockwise",n.Anticlockwise="Anticlockwise",n.Loop="Loop",n))(ii||{});const Wo=Math.PI*2;function Yh(n){return(n%Wo+Wo)%Wo}function Xh(n){return n%Wo}function Ba(n,t,e){return n+(t-n)*e}const Al=(n,t,e)=>{const i=Math.PI,s=i*2;let o=Yh(n),r=Yh(t);return e===ii.Anticlockwise&&o<r&&(o+=s),e===ii.Clockwise&&r<o&&(r+=s),e===ii.Loop&&r-o>i?Al(o,r,ii.Anticlockwise):e===ii.Loop&&o-r>i?Al(o,r,ii.Clockwise):{from:o,to:r}},y1=n=>{const t={},e=(l,c,...h)=>Q(exports,[l,c,...h],function*(o,r,a={preload:!0}){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)=>{const m=o.panoIndex!==void 0?o.panoIndex:n.panoIndex;m!==void 0?n.moveToPano(m,k({duration:r,moveEndCallback:()=>u(!0),moveCancelCallback:()=>f(new Error("move canceled"))},o)):f(new Error("unexpected error"))})}),i=o=>{const r=n.state,a=Xh(r.latitude),l=Xh(o.latitude),{from:c,to:h}=Al(r.longitude,o.longitude,o.rotation||ii.Loop),u=r.fov,f=o.fov;return{from:{latitude:a,longitude:c,fov:u},to:{latitude:l,longitude:h,fov:f}}};return{move:e,rotate:(l,c,...h)=>Q(exports,[l,c,...h],function*(o,r,a={}){t.interruptCallback&&t.interruptCallback(!1),a.asyncStartCallback&&(yield a.asyncStartCallback()),n.currentMode!==Je.Five.Mode.Panorama&&(yield n.changeMode(Je.Five.Mode.Panorama)),o.panoIndex!==void 0&&o.panoIndex!==n.panoIndex&&(a.preload&&(yield n.preloadPano(o.panoIndex)),yield new Promise((m,p)=>{if(!o.panoIndex){m(!0);return}n.moveToPano(o.panoIndex,{moveEndCallback:()=>m(!0),moveCancelCallback:()=>p(new Error("move canceled"))})})),a.asyncEndCallback&&(yield a.asyncEndCallback());const{from:u,to:f}=i(o);return yield new Promise(m=>{const p=({progress:I})=>{const C={};C.longitude=Ba(u.longitude,f.longitude,I),C.latitude=Ba(u.latitude,f.latitude,I),C.fov=Ba(u.fov,f.fov,I),n.setState(C,!0)},v=()=>{m(!0)},g=()=>{m(!1)},A=o.rotateSpeed?Math.ceil(Math.abs(f.longitude-u.longitude)/o.rotateSpeed*1e3):r,w=b1(A,oi.Linear.None).onUpdate(p).onComplete(v).onDestroy(g);o.rotation===ii.Loop&&w.repeat(1/0).yoyo(!0),t.interruptCallback=(I=!0)=>{w.destroy(),t.interruptCallback=void 0,t.timeoutId&&(clearTimeout(t.timeoutId),t.timeoutId=void 0),m(I)},t.timeoutId=setTimeout(()=>{t.interruptCallback&&t.interruptCallback(!0)},r)})})}};function Zh(n,t){return n.x===t.x&&n.y===t.y}function Vm(n,t){return Math.abs(n)===1/0&&Math.abs(t)===1/0?!0:Math.abs(n-t)<.001}function lr(n,t){return(t.y-n.y)/(t.x-n.x)}function Bm(n,t,e){const i=lr(n[1],n[0]),s=lr(t[1],t[0]);if(isNaN(i)||isNaN(s)||Vm(i,s))return!1;if(Do(n[0],t))return n[0];if(Do(n[1],t))return n[1];if(Do(t[0],n))return t[0];if(Do(t[1],n))return t[1];if(e&&!C1(n,t))return!1;const o=n[0],r=t[0];if(Math.abs(i)===1/0)return{x:o.x,y:t[1].y-(t[1].x-o.x)*s};if(Math.abs(s)===1/0)return{x:r.x,y:n[1].y-(n[1].x-r.x)*i};const a=(r.y-o.y+i*o.x-s*r.x)/(i-s),l=i*a-i*o.x+o.y;return{x:a,y:l}}function Do(n,t){return Zh(n,t[0])||Zh(n,t[1])?!0:(t[0].x-n.x)*(n.x-t[1].x)>=0&&(t[0].y-n.y)*(n.y-t[1].y)>=0&&Vm(lr(t[0],n),lr(n,t[1]))}function w1(n){let t=1/0,e=-1/0,i=1/0,s=-1/0;return n.forEach(o=>{t=Math.min(t,o.x),e=Math.max(e,o.x),i=Math.min(i,o.y),s=Math.max(s,o.y)}),{x:(t+e)/2,y:(i+s)/2}}function So(n,t,e){return(n.x-e.x)*(t.y-e.y)-(t.x-e.x)*(n.y-e.y)}function C1(n,t){return Math.max(n[0].x,n[1].x)>=Math.min(t[0].x,t[1].x)&&Math.max(t[0].x,t[1].x)>=Math.min(n[0].x,n[1].x)&&Math.max(n[0].y,n[1].y)>=Math.min(t[0].y,t[1].y)&&So(t[0],n[1],n[0])*So(n[1],t[1],n[0])>0&&So(n[0],t[1],t[0])*So(t[1],n[1],t[0])>0?1:0}function Rm(n,t=0){t<=0?requestAnimationFrame(n):requestAnimationFrame(()=>Rm(n,t-1))}const P1=`<style type="text/css">
453
453
  .PanoRulerPlugin-rule-line {
454
454
  position: absolute;
455
455
  transform-origin: left center;
@@ -555,7 +555,7 @@ void main() {
555
555
  `,id="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTciIGhlaWdodD0iMjUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMC43MDYlIiB5MT0iNDIuNzQ0JSIgeDI9Ijg5LjA2NCUiIHkyPSI1Ny4yMDglIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBzdG9wLW9wYWNpdHk9IjAiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBzdG9wLW9wYWNpdHk9Ii4zMDgiIG9mZnNldD0iNDkuNTY5JSIvPjxzdG9wIHN0b3AtY29sb3I9IiNGRkYiIHN0b3Atb3BhY2l0eT0iMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iLS4yNSIgeT0iLS4yNSIgd2lkdGg9IjU3LjUiIGhlaWdodD0iMjMuNSIgcng9IjExLjI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDEpIiBmaWxsPSIjMkMyQzJDIiBzdHJva2U9InVybCgjcHJlZml4X19hKSIgc3Ryb2tlLXdpZHRoPSIuNSIgZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsLW9wY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32orc8NafI6m40Q/vs/qYjT16Q3v96JnSkK4XlQD32h3A/NJvZomR+MaVBzrnDeY6l2hW2PceDgs/nofEKxp6AemVcedsifNcxi87L36+IOYP3vgXQWUi7qVeB7+g18Pb7rzv8JPfdf/FH6Xvs7nXMZ/NFqfeP/6zl5+rN8HX6NdqX6on4yu1fxZ3lJvKG4SPHuzk3LS8QXDKTTQOgVXPglMueVYmbuJWn55+sukDZ+gTMouX/Og7V+YB29eM9YWgeqxwwz+nbf7smaG0G6689TOv8/MBmJBlXuHz/NGz54W7FEeNZW66Kg7Tz+ZrpthHTx88eehzfe+8CcKr/fdE+zk9/tPh1sNDD3zTxe+2/tMUMMcf+/K3Zq8dvlgvuhfqyfhC3aXP10eQ5+lzxLt1c+7SkHcJv/3sEzWnF1n/r8sqON9hq1L1Jmxk9vGTRF0Bvc+ts7i4JesX34YXr51vYPqY7wFG1zY9YieaKm36xS817VizJm96rSoEPa6Y0+MNUcKNp0D9l//jem4fFf6ontdHFH9Yz+3v6I3xW3qjfkDfGv2173719f+sQc/zLAb/D0EI6cG68deIAAAAAElFTkSuQmCC";class dc{constructor(t,e){d(this,"visible",!1);d(this,"five");d(this,"lines",[]);d(this,"points",[]);d(this,"onClick");d(this,"cancel");d(this,"content",document.createElement("div"));d(this,"container",document.createElement("div"));d(this,"masking",document.createElement("div"));d(this,"target");d(this,"clickHandler",t=>{this.onClick(t,this.target)});d(this,"cancelHandler",()=>{this.cancel(this.target)});d(this,"hover",()=>{this.content.style.backgroundImage=`url(${fy})`});d(this,"unHover",()=>{this.content.style.backgroundImage=`url(${id})`});var s,o;this.five=t,this.onClick=(e==null?void 0:e.onClick)||(()=>{}),this.cancel=(e==null?void 0:e.cancel)||(()=>{}),this.container.classList.add("fpm__delete"),this.container.style.opacity="0",this.container.style.position="absolute",this.container.style.left="0",this.container.style.top="10px",this.container.style.transform="translate3d(0, 0, 10px)",this.container.style.pointerEvents="none",this.container.style.transition="opacity 200ms ease",this.container.style.zIndex="99",this.content.classList.add("fpm__delete-content"),this.content.style.width="62px",this.content.style.height="26px",this.content.style.display="flex",this.content.style.alignItems="center",this.content.style.justifyContent="center",this.content.style.transform="translate(-50%, -50%)",this.content.style.color="#fff",this.content.style.fontSize="12px",this.content.style.lineHeight="17px",this.content.style.borderRadius="11px",this.content.style.backgroundSize="100% 100%",this.content.style.cursor="pointer",this.content.style.userSelect="none",this.content.style.backgroundImage=`url(${id})`,this.content.innerHTML=`
556
556
  ${uy}
557
557
  <span>${(o=(s=e.i18n)==null?void 0:s.call(e,"删除"))!=null?o:"删除"}</span>
558
- `,this.container.append(this.content);const i=this.content.querySelector(".fpm__delete-icon");i&&(i.style.width="16px",i.style.height="17px",i.style.marginRight="1px"),this.content.addEventListener("click",this.clickHandler),this.content.addEventListener("mouseenter",this.hover),this.content.addEventListener("mouseleave",this.unHover),this.masking.setAttribute("style","position: absolute;top: 0;left: 0;bottom: 0;right: 0;pointer-events: none;"),this.masking.addEventListener("click",this.cancelHandler),this.masking.addEventListener("touchstart",this.cancelHandler)}dispose(){this.content.removeEventListener("click",this.clickHandler),this.content.removeEventListener("mouseenter",this.hover),this.content.removeEventListener("mouseleave",this.unHover),this.container.remove(),this.masking.removeEventListener("click",this.cancelHandler),this.masking.removeEventListener("touchstart",this.cancelHandler),this.masking.remove()}appendTo(t){return t.append(this.container),t.append(this.masking),this}setLines(t){return this.lines=t,this.points=Array.from(new Set(this.lines.map(e=>[e.points[0],e.points[1]]).flat(1))),this}setTarget(t){return this.target=t,this}updatePosition(t,e){if(t&&e)return this.container.style.left=t,this.container.style.top=e,this.container.style.transform="",this.show();if(this.lines.length===0)return this;const i=this.points.map(p=>p.position).map(p=>p.clone().applyMatrix4(this.lines[0].mesh.matrixWorld)),s=i.map(p=>p.clone().project(this.five.camera));if(s.some(p=>Math.abs(p.z)>1))return this.hide();const o=s.map(p=>p.x),r=s.map(p=>p.y),a=(Math.min(...o)+Math.max(...o))/2,l=Math.max(...r),c=this.container.parentElement;if(!c)return this;const h=(a+1)/2*c.clientWidth,u=-(l-1)/2*c.clientHeight;let f=h,m=u-34;if(this.lines.length===1&&i.length===2){const p=(r[1]-r[0])/(o[1]-o[0]),g=-((r[1]+r[0])/2-1)/2*c.clientHeight;Math.abs(p)>.4&&(f=h+57,m=g)}return this.container.style.top="0",this.container.style.left="0",this.container.style.transform=`translate3d(${f}px, ${m}px, 0)`,this.show()}hide(){return this.visible=!1,this.masking.style.pointerEvents="none",this.container.style.opacity="0",this.container.style.pointerEvents="none",this.unHover(),this}show(){return this.visible=!0,this.masking.style.pointerEvents="auto",this.container.style.opacity="1",this.container.style.pointerEvents="auto",this}}function uc(n,t){const e=n.x-t[0].x,i=n.y-t[0].y,s=t[1].x-t[0].x,o=t[1].y-t[0].y,r=e*s+i*o,a=s*s+o*o,l=r/a;let c,h;return l<0||my(t[0],t[1])?(c=t[0].x,h=t[0].y):l>1?(c=t[1].x,h=t[1].y):(c=t[0].x+l*s,h=t[0].y+l*o),new W.Vector2(c,h)}function my(n,t){return n.x===t.x&&n.y===t.y}const nd=()=>!1;class Si extends Dr{constructor(e){super(e);d(this,"type","edit");d(this,"polyline");d(this,"area");d(this,"hasAppendDashed",!1);d(this,"fiveElement");d(this,"lastPoint",null);d(this,"pointSelector");d(this,"deleteDom");d(this,"onIntersectionUpdate",Ar((e,i)=>{this.currentMeasureType==="area"&&typeof i=="boolean"&&(i?this.hook.emit("readyComplete"):this.hook.emit("notReadyComplete")),this.updateDashed()},20));d(this,"revoke",()=>{this.currentMeasureType==="area"?this.revokeArea():this.currentMeasureType==="line"&&this.revokeLine()});d(this,"revokeArea",()=>{if(this.area.points.length!==0){if(this.area.popPoint(),this.hook.emit("pointsChange",this.area.points),this.area.points.length===0){this.lastPoint=null,this.hasAppendDashed=!1,this.dashed.remove(),this.five.needsRender=!0,this.hook.emit("revoke",{isEmpty:!0});return}else this.lastPoint=new Tt(this.area.points[this.area.points.length-1]),this.updateDashed();this.five.needsRender=!0}});d(this,"revokeLine",e=>{const i=e||this.polyline;if(i.lines.length===0&&this.lastPoint){this.lastPoint=null,this.hasAppendDashed=!1,this.dashed.remove(),this.hook.emit("anchorChange",null),this.hook.emit("editedDashedLineChange",null),this.five.needsRender=!0,this.hook.emit("pointsChange",[]);return}if(i.lines.length===0&&!this.lastPoint||!this.lastPoint)return;const s=i.lines[i.lines.length-1],o=s.findAnotherPoint(this.lastPoint);o&&(this.lastPoint=o,this.hook.emit("anchorChange",o.position),this.group.remove(s.mesh),i.removeLine(s),s.distanceItem.remove(),this.updateDashed(),this.five.needsRender=!0)});d(this,"checkMouseLeave",e=>{e||(this.dashed.hide(),this.perpendicularDashed.hide(),this.area.hideArea())});d(this,"onLineChanged",()=>{this.hook.emit("editedPolylineChange",this.polyline)});d(this,"onWantsSelect",()=>{if(this.currentMeasureType==="area"){const e=this.area.polygon.isBlank||this.area.polygon.visible===!1;if(this.area.points.length>=3&&e)return!1}});d(this,"wantsMoveToPano",()=>{if(this.lastPoint)return!1});d(this,"onSelect",()=>{var r,a,l,c;this.hasAppendDashed||(this.dashed.distanceItem.appendTo(this.container),this.group.add(this.dashed.mesh),this.currentMeasureType==="area"&&this.group.add(this.perpendicularDashed.mesh)),this.hasAppendDashed=!0;const e=(()=>{var h,u;if(this.currentMeasureType==="area")return this.area.projectPoint((h=this.pointSelector.position)==null?void 0:h.point);if(this.currentMeasureType==="line")return(u=this.pointSelector.position)==null?void 0:u.point})();if(!e)return;const i=new Tt(e),s=this.lastPoint;if(s!=null&&s.position&&i.position.equals(s==null?void 0:s.position))return;this.lastPoint=i;const o=h=>{if(!this.lastPoint)return[];const{intersection:u,pointSelectorInstance:f}=h,m=f.pointSelectorHelper.pointHelper,p=new b.Vector3(0,0,1).applyQuaternion(m.quaternion);if(p.x>.9999||p.y>.9999||p.z>.9999||p.x<-.9999||p.y<-.9999||p.z<-.9999){const v=u.point,g=this.lastPoint.position.clone().sub(v);f.pointSelectorHelper.updateWithIntersect(u,{emitEvent:!1});const A=new b.Line3(m.localToWorld(new b.Vector3(1,0,0)).add(g),m.localToWorld(new b.Vector3(-1,0,0)).add(g)),w=new b.Line3(m.localToWorld(new b.Vector3(0,1,0)).add(g),m.localToWorld(new b.Vector3(0,-1,0)).add(g)),I=A.closestPointToPoint(v,!1,new b.Vector3),C=w.closestPointToPoint(v,!1,new b.Vector3);return[I,C]}return[]};if(this.pointSelector.setAdherePoints(o),this.currentMeasureType==="line"){if(i&&s){const u=new hn(s,i,this.model);u.distanceItem.setCanSelect(!1),u.distanceItem.appendTo(this.container),this.polyline.addLine(u),this.group.add(u.mesh),u.distanceItem.update(this.five)}const h=(a=(r=this.editParams)==null?void 0:r.autoEndConfig)==null?void 0:a.line;typeof h=="number"&&(this.polyline.getPointLength()>=h?this.complete():this.polyline.getPointLength()===h-1&&this.hook.emit("readyComplete")),this.hook.emit("pointsChange",this.polyline.points)}else if(this.currentMeasureType==="area"){if(this.area.addPoints(i.position),this.area.isClosed){this.complete();return}this.area.points.length>=3&&this.pointSelector.setAdherePoints((...u)=>{var f;return[this.area.points[0],...(f=o(...u))!=null?f:[]]});const h=(c=(l=this.editParams)==null?void 0:l.autoEndConfig)==null?void 0:c.area;typeof h=="number"&&(this.area.points.length>=h?this.complete():this.area.points.length===h-1&&this.hook.emit("readyComplete")),this.hook.emit("pointsChange",this.area.points)}this.updateDashed(),this.five.needsRender=!0,this.hook.emit("anchorChange",i.position)});d(this,"onCameraUpdate",()=>{this.updateDistanceUI()});d(this,"updateDashed",()=>{var s;if(!this.lastPoint)return;const e=this.lastPoint.position,i=(()=>{var o,r;if(this.currentMeasureType==="area")return this.area.projectPoint((o=this.pointSelector.position)==null?void 0:o.point);if(this.currentMeasureType==="line")return(r=this.pointSelector.position)==null?void 0:r.point})();if(!i){this.dashed.hide();return}if(this.dashed.show(),this.dashed.setPoints(e,i),this.dashed.distanceItem.update(this.five),this.hook.emit("editedDashedLineChange",this.dashed),this.currentMeasureType==="area")if(this.area.areaItem.setCanSelect(!1),this.area.points.length>=2){const o=(s=this.pointSelector.position)==null?void 0:s.point;if(o){const h=o,u=i;this.perpendicularDashed.setPoints(h,u),this.perpendicularDashed.show()}else this.perpendicularDashed.hide();const r=this.area.polyline.lines.map(h=>({start:h.points[0].position,end:h.points[1].position})),a=bl({start:e,end:i},r),l=bl({start:i,end:this.area.points[0]},r);if(a||l)this.area.hideArea(),this.hook.emit("allowAddPointStateChange","forbid");else{this.area.showArea();const h=[...this.area.points,i];this.area.polygon.updatePoints(h),this.area.areaItem.updateArea(this.five),this.hook.emit("allowAddPointStateChange","allow")}}else this.area.hideArea(),this.perpendicularDashed.hide();this.five.needsRender=!0});d(this,"wantsTapGesture",e=>{var v,g;if(this.editParams.pointSelectorMode==="cursor"||this.lastPoint)return!1;const i=this.model.areas.map(A=>e.intersectObject(A.polygon,!0)[0]).sort((A,w)=>A.distance-w.distance),s=(g=(v=i[0])==null?void 0:v.object)==null?void 0:g.parent;if(s!=null&&s.isPolygonMesh){const A=this.model.areas.find(w=>w.polygon===s);if(A){const{x:w,y:I}=i[0].point.clone().project(this.five.camera),C=`${(w+1)/2*100}%`,E=`${(-I+1)/2*100}%`;return this.chooseArea(A,{left:C,top:E}),!1}}const[o]=Ut(this.five).intersectRaycaster(e);if(!o)return;const r=this.five.camera,a=o.point.clone().project(r),l=this.container.clientWidth,c=this.container.clientHeight,h=new W.Vector2(a.x*l,a.y*c),u=this.model.getAllLines().map(A=>{const[w,I]=A.points,C=w.position.clone().project(r),E=I.position.clone().project(r);if(!cn(C)&&!cn(E))return null;const M=new W.Vector2(C.x*l,C.y*c),S=new W.Vector2(E.x*l,E.y*c);return{id:A.id,points:[M,S]}}).filter(A=>!!A);if(u.length===0)return;const m=u.map(A=>{const w=uc(h,A.points);return{id:A.id,distance:w.distanceTo(h)}}).sort((A,w)=>A.distance-w.distance)[0];if(m.distance>20)return;const p=this.model.getAllLines().find(({id:A})=>A===m.id);if(p)return this.chooseLine(p),!1});d(this,"chooseLine",e=>{const i=e.getPolyline().lines;this.deleteDom.setTarget(i).setLines(i).updatePosition().show(),this.highlightLines(i),this.hook.emit("selectedChange",i)});d(this,"chooseArea",(e,i)=>{this.deleteDom.setTarget(e).updatePosition(i.left,`calc(${i.top} - 1.5rem)`).show(),this.highlightArea(e)});d(this,"deleteArea",e=>{this.unHighlightArea(e),e.dispose(),this.deleteDom.hide()});d(this,"deleteLine",e=>{const i=e[0],s=this.model.getPolylineByLine(i);s&&(this.model.removePolyline(s),s.lines.forEach(o=>this.removeLine(o)),this.deleteDom.setLines([]).hide())});this.fiveElement=this.five.getElement(),this.deleteDom=new dc(this.five,{i18n:this.config.i18n,onClick:(i,s)=>{var a;const o=s.type==="area",r=Array.isArray(s)&&((a=s[0])==null?void 0:a.type)==="line";o&&this.deleteArea(s),r&&this.deleteLine(s)},cancel:i=>{var r;this.deleteDom.hide();const s=i.type==="area",o=Array.isArray(i)&&((r=i[0])==null?void 0:r.type)==="line";s&&this.unHighlightArea(i),o&&this.unHighlightLines(i)}}).appendTo(this.container),this.pointSelector=new Ql(this.five,te(k({},this.pointSelectorConfig),{mode:this.editParams.pointSelectorMode,helper:k({magnifierParams:this.magnifierParams,container:this.container},this.pointSelectorConfig.helper)})),this.pointSelector.enable(),this.polyline=new dn({model:this.model}),this.area=new yl(void 0,{five:this.five,model:this.model,meshContainer:this.group,domContainer:this.container}),this.model.addPolyline(this.polyline),this.model.addArea(this.area),this.model.getAllLines().forEach(i=>{i.distanceItem.appendTo(this.container),i.distanceItem.update(this.five),i.distanceItem.setCanSelect(!0),i.hook.on("selected",this.chooseLine),this.group.add(i.mesh)}),this.model.getAllAreas().forEach(i=>{i.areaItem.appendTo(this.container),i.areaItem.updateDomPosition(this.five),i.areaItem.setCanSelect(!0),i.hook.on("selected",this.chooseArea),this.group.add(i.polygon),i.polyline.lines.forEach(s=>{s.distanceItem.appendTo(this.container),s.distanceItem.update(this.five),this.group.add(s.mesh)})}),this.five.on("cameraUpdate",this.onCameraUpdate),this.five.on("wantsTapGesture",this.wantsTapGesture),this.five.on("wantsMoveToPano",this.wantsMoveToPano),this.five.on("wantsChangeMode",nd),this.pointSelector.on("intersectionUpdate",this.onIntersectionUpdate),this.pointSelector.on("intersectionUpdate",this.checkMouseLeave),this.pointSelector.on("select",this.onSelect),this.pointSelector.on("wantsSelect",this.onWantsSelect),this.polyline.hook.on("lineAdded",this.onLineChanged),this.polyline.hook.on("lineRemoved",this.onLineChanged),this.five.helperVisible=!1,this.hook.emit("anchorChange",null),this.hook.emit("editedDashedLineChange",null),this.five.refresh()}dispose(){super.dispose(),this.model.areas.forEach(e=>{(e.points.length<2||e.polygon.isBlank)&&this.model.removeArea(e)}),this.five.helperVisible=!0,this.pointSelector.disable(),this.dashed.remove(),this.perpendicularDashed.remove(),this.five.off("cameraUpdate",this.onCameraUpdate),this.five.off("wantsTapGesture",this.wantsTapGesture),this.five.off("wantsMoveToPano",this.wantsMoveToPano),this.five.off("wantsChangeMode",nd),this.pointSelector.off("intersectionUpdate",this.onIntersectionUpdate),this.pointSelector.off("intersectionUpdate",this.checkMouseLeave),this.pointSelector.off("select",this.onSelect),this.pointSelector.off("wantsSelect",this.onWantsSelect),this.polyline.hook.off("lineAdded",this.onLineChanged),this.polyline.hook.off("lineRemoved",this.onLineChanged),this.magnifier.dispose(),this.deleteDom.dispose(),this.dashed.distanceItem.remove(),this.five.needsRender=!0}getEditingLines(){return this.polyline.lines}selectPoint(){this.onSelect()}complete(){this.hook.emit("complete"),this.currentMeasureType==="area"?(this.area.points.length<3?this.deleteArea(this.area):(this.area.showArea(),this.area.complete(),this.area.hook.on("selected",this.chooseArea)),this.area=new yl(void 0,{five:this.five,model:this.model,meshContainer:this.group,domContainer:this.container}),this.model.addArea(this.area)):this.currentMeasureType==="line"&&(this.polyline.lines.forEach(e=>{e.hook.on("selected",this.chooseLine),e.distanceItem.setCanSelect(!0)}),this.polyline=new dn({model:this.model}),this.model.addPolyline(this.polyline)),this.pointSelector.setAdherePoints(null),this.dashed.hide(),this.perpendicularDashed.hide(),this.lastPoint=void 0}highlightArea(e){this.highlightLines(e.polyline.lines),this.five.needsRender=!0}unHighlightArea(e){this.unHighlightLines(e.polyline.lines),this.five.needsRender=!0}highlightLines(e){e.forEach(i=>this.highlightLine(i))}unHighlightLines(e){e.forEach(i=>{i.selected=!1,i.distanceItem.unHighlight(),this.group.remove(i.lightMesh),this.five.needsRender=!0})}highlightLine(e){this.unHighlightLines(this.model.getAllLines()),!e.selected&&(e.selected=!0,this.group.add(e.lightMesh),e.distanceItem.highlight(),this.five.needsRender=!0)}}class sd extends Dr{constructor(e){super(e);d(this,"type","view");d(this,"hammer");d(this,"polylineRemoved",e=>{e.lines.forEach(i=>this.removeLine(i)),this.hook.emit("selectedChange",this.model.getAllLines().filter(i=>i.selected).map(i=>i))});d(this,"polylineAdded",e=>{const{panoIndex:i,mode:s}=this.five.getCurrentState();e.lines.forEach(o=>{e.visibleFiveMode&&!e.visibleFiveMode.includes(s)&&(o.mesh.visible=!1),e.visiblePanoIndexes&&!e.visiblePanoIndexes.includes(i)&&(o.mesh.visible=!1),o.distanceItem.appendTo(this.container),o.distanceItem.update(this.five),this.group.add(o.mesh)}),this.updateDistanceUI()});d(this,"onCameraUpdate",()=>{this.updateDistanceUI()});d(this,"onFiveModeChange",e=>{e!=="Panorama"&&(this.model.polylines.forEach(i=>{i.visibleFiveMode&&!i.visibleFiveMode.includes(e)&&i.lines.forEach(s=>{s.mesh.visible=!1,s.distanceItem.update(this.five)})}),this.five.ready().then(()=>{const i=this.five.getCurrentState().mode;i!=="Panorama"&&this.model.polylines.forEach(s=>{s.visibleFiveMode&&s.visibleFiveMode.includes(i)&&s.lines.forEach(o=>{o.mesh.visible=!0,o.distanceItem.update(this.five)})})}))});d(this,"onFivePanoWillArrive",e=>{this.model.polylines.forEach(i=>{(i.visiblePanoIndexes&&!i.visiblePanoIndexes.includes(e)||i.visibleFiveMode&&!i.visibleFiveMode.includes(this.five.getCurrentState().mode))&&i.lines.forEach(s=>{s.mesh.visible=!1,s.distanceItem.update(this.five)})})});d(this,"onFivePanoArrived",e=>{this.model.polylines.forEach(i=>{i.visiblePanoIndexes&&i.visiblePanoIndexes.includes(e)&&i.visibleFiveMode&&i.visibleFiveMode.includes(this.five.getCurrentState().mode)&&i.lines.forEach(s=>{s.mesh.visible=!0,s.distanceItem.update(this.five)})})});this.model.getAllLines().forEach(s=>{s.distanceItem.appendTo(this.container),s.distanceItem.update(this.five),this.group.add(s.mesh),s.mesh.updateMatrixWorld()});const i=this.five.getElement();if(i){const s=new Bl(i);this.hammer=s}this.onFiveModeChange(this.five.getCurrentState().mode),this.onFivePanoWillArrive(this.five.getCurrentState().panoIndex),this.onFivePanoArrived(this.five.getCurrentState().panoIndex),this.updateDistanceUI(),this.five.needsRender=!0,this.model.hook.on("polylineAdded",this.polylineAdded),this.model.hook.on("polylineRemoved",this.polylineRemoved),this.five.on("cameraUpdate",this.onCameraUpdate),this.five.on("panoArrived",this.onFivePanoArrived),this.five.on("modeChange",this.onFiveModeChange),this.five.on("panoWillArrive",this.onFivePanoWillArrive)}dispose(){var e;super.dispose(),this.model.hook.off("polylineAdded",this.polylineAdded),this.model.hook.off("polylineRemoved",this.polylineRemoved),this.five.off("cameraUpdate",this.onCameraUpdate),this.five.off("panoArrived",this.onFivePanoArrived),this.five.off("modeChange",this.onFiveModeChange),this.five.off("panoWillArrive",this.onFivePanoWillArrive),this.five.needsRender=!0,this.hook.emit("selectedChange",[]),(e=this.hammer)==null||e.destroy()}}function gy(n,t){const e=(n.x+1)/2*t.width,i=-(n.y-1)/2*t.height;return new W.Vector2(e,i)}function py(n,t,e,i){const s=n.getElement();if(!s||t.length===0)return null;const o={width:s.clientWidth,height:s.clientHeight},r=t.map(a=>{const l=a.position.clone().project(n.camera);return cn(l)?{distance:gy(l,o).distanceTo(e),point:a}:{distance:1/0,point:a}}).sort((a,l)=>a.distance-l.distance);return typeof i=="number"&&r[0].distance>i?null:r[0]}function od(n){const{x:t,y:e}=n.center,{clientWidth:i,clientHeight:s}=n.target,o=n.target.getBoundingClientRect(),r=new W.Vector2(t,e).sub(new W.Vector2(o.left,o.top)),a=new W.Vector2(r.x/i*2-1,-(r.y/s)*2+1);return{point:r,ndcPoint:a}}const rd=()=>!1;class ad extends Dr{constructor(e){super(e);d(this,"type","watch");d(this,"deleteDom");d(this,"choose");d(this,"highlightedLines",[]);d(this,"highlightedArea");d(this,"fiveElement");d(this,"editPointState");d(this,"hammer");d(this,"onPanStart",e=>{var l;if(this.model.getAllLines().length===0||!this.fiveElement)return;const i=od(e).point,s=(l=py(this.five,this.model.getAllPoints(),i,20))==null?void 0:l.point;if(!s){this.editPointState=void 0;return}const o=this.model.polylines.find(c=>c.includes(s)),r={point:s,associatedLines:o.lines};this.hook.emit("wantsDragLine",{point:s.id,lines:r.associatedLines.map(({id:c})=>c)})||(this.editPointState=r,this.magnifier.appendTo(this.container),this.magnifier.enable(),this.group.add(this.mouseGroup))});d(this,"onPanEnd",()=>{this.editPointState&&(this.editPointState.associatedLines.forEach(e=>e.mesh.setMaterial({dashed:!1})),this.highlightLines(this.editPointState.associatedLines),this.editPointState=void 0,this.magnifier.disable(),this.group.remove(this.mouseGroup))});d(this,"onPan",e=>{if(!this.editPointState||!this.fiveElement)return;const i=od(e).ndcPoint,s=new W.Raycaster;s.setFromCamera(i,this.five.camera);const[o]=Ut(this.five).intersectRaycaster(s);o&&this.onIntersectionUpdate(o)});d(this,"onIntersectionUpdate",(e,i)=>{if(this.editPointState){if(this.clearHighlightLines(),this.editPointState.point.position.copy(e.point),this.editPointState.associatedLines.forEach(s=>{s.mesh.setPoints(s.points[0].position.clone(),s.points[1].position.clone()),s.lightMesh.setPoints(s.points[0].position.clone(),s.points[1].position.clone()),s.mesh.setMaterial({dashed:!0})}),this.updateDistanceUI(),this.magnifier.renderWithPoint(e.point),this.mouseGroup.position.copy(e.point),i)this.mouseGroup.quaternion.copy(i.quaternion);else if(e.face){const o=e.face.normal.clone().multiplyScalar(.05),a=e.point.clone().add(o).clone().add(o);this.mouseGroup.lookAt(a)}this.five.needsRender=!0,this.hook.emit("selectedChange",this.editPointState.associatedLines.map(s=>s))}});d(this,"wantsPanGesture",()=>{if(this.editPointState)return!1});d(this,"wantsTapGesture",e=>{var g;const i=this.model.areas.map(A=>e.intersectObject(A.polygon,!0)[0]).sort((A,w)=>A.distance-w.distance),s=(g=i[0])==null?void 0:g.object.parent;if(s instanceof Um){const A=this.model.areas.find(w=>w.polygon===s);if(A){const{x:w,y:I}=i[0].point.clone().project(this.five.camera),C=`${(w+1)/2*100}%`,E=`${(-I+1)/2*100}%`;return this.chooseArea(A,{left:C,top:E}),!1}}const o=Ut(this.five),[r]=o.intersectRaycaster(e);if(!r)return;const a=this.five.camera,l=r.point.clone().project(a),c=this.container.clientWidth,h=this.container.clientHeight,u=new W.Vector2(l.x*c,l.y*h),f=this.model.getAllLines().map(A=>{const[w,I]=A.points,C=w.position.clone().project(a),E=I.position.clone().project(a);if(!cn(C)&&!cn(E))return null;const M=new W.Vector2(C.x*c,C.y*h),S=new W.Vector2(E.x*c,E.y*h);return{id:A.id,points:[M,S]}}).filter(A=>!!A);if(f.length===0)return;const p=f.map(A=>{const w=uc(u,A.points);return{id:A.id,distance:w.distanceTo(u)}}).sort((A,w)=>A.distance-w.distance)[0];if(p.distance>20)return;const v=this.model.getAllLines().find(({id:A})=>A===p.id);if(v)return this.chooseLine(v),!1});d(this,"chooseLine",e=>{this.choose="line";const i=e.getPolyline().lines;this.deleteDom.setLines(i).updatePosition().show(),this.highlightLines(i),this.five.needsRender=!0,this.hook.emit("selectedChange",i.map(s=>s))});d(this,"chooseArea",(e,i)=>{this.choose=e,this.deleteDom.updatePosition(i.left,`calc(${i.top} - 20px)`).show(),this.highlightArea(e)});d(this,"polylineRemoved",e=>{e.lines.forEach(i=>this.removeLine(i)),this.hook.emit("selectedChange",this.model.getAllLines().filter(i=>i.selected).map(i=>i))});d(this,"onCameraUpdate",()=>{this.updateDistanceUI(),this.highlightedLines.length>0&&this.deleteDom.updatePosition()});d(this,"deleteArea",e=>{this.unHighlightArea(e),e.dispose(),this.deleteDom.hide()});d(this,"deleteLine",()=>{const e=this.highlightedLines[0],i=this.model.getPolylineByLine(e);i&&(this.model.removePolyline(i),this.highlightedLines=[],this.deleteDom.setLines([]).hide())});d(this,"cancelDeleteClickCallback",()=>{this.deleteDom.hide(),this.clearHighlightLines(),this.unHighlightArea()});this.deleteDom=new dc(this.five,{i18n:this.config.i18n,onClick:()=>{this.choose==="line"?this.deleteLine():this.choose instanceof yl&&this.deleteArea(this.choose)},cancel:this.cancelDeleteClickCallback}).appendTo(this.container),this.model.getAllLines().forEach(s=>{s.distanceItem.appendTo(this.container),s.distanceItem.update(this.five),s.hook.on("selected",this.chooseLine),s.distanceItem.setCanSelect(!0),this.group.add(s.mesh)}),this.model.getAllAreas().forEach(s=>{s.areaItem.appendTo(this.container),s.areaItem.updateArea(this.five),s.hook.on("selected",this.chooseArea),s.areaItem.setCanSelect(!0),this.group.add(s.polygon),s.polyline.lines.forEach(o=>{o.distanceItem.appendTo(this.container),o.distanceItem.update(this.five),this.group.add(o.mesh)})});const i=this.five.getElement();if(i){this.fiveElement=i;const s=new Bl(i);this.hammer=s,s.on("pan",this.onPan),s.on("panstart",this.onPanStart),s.on("panend",this.onPanEnd)}this.updateDistanceUI(),this.five.needsRender=!0,this.five.on("cameraUpdate",this.onCameraUpdate),this.five.on("wantsTapGesture",this.wantsTapGesture),this.five.on("wantsPanGesture",this.wantsPanGesture),this.five.on("wantsChangeMode",rd),this.model.hook.on("polylineRemoved",this.polylineRemoved)}dispose(){var e;super.dispose(),this.deleteDom.dispose(),this.model.hook.off("polylineRemoved",this.polylineRemoved),this.model.getAllLines().forEach(i=>i.hook.off("selected",this.chooseLine)),this.five.off("cameraUpdate",this.onCameraUpdate),this.five.off("wantsPanGesture",this.wantsPanGesture),this.five.off("wantsTapGesture",this.wantsTapGesture),this.five.off("wantsChangeMode",rd),this.five.needsRender=!0,this.hook.emit("selectedChange",[]),(e=this.hammer)==null||e.destroy()}highlightLine(e){e.selected||(e.selected=!0,this.group.add(e.lightMesh),e.distanceItem.highlight(),this.five.needsRender=!0)}clearHighlightLines(){this.group.children.length!==0&&(this.unHighlightLines(this.highlightedLines),this.highlightedLines=[])}highlightArea(e){this.unHighlightLines(),this.unHighlightArea(),this.highlightLines(e.polyline.lines),this.five.needsRender=!0}unHighlightArea(e){const i=e!=null?e:this.highlightedArea;i&&(this.unHighlightLines(i.polyline.lines),this.five.needsRender=!0)}highlightLines(e){this.unHighlightLines(),this.highlightedLines=e,e.forEach(i=>this.highlightLine(i))}unHighlightLines(e){this.unHighlightArea();const i=e!=null?e:this.highlightedLines;i&&i.forEach(s=>{s.selected=!1,s.distanceItem.unHighlight(),this.group.remove(s.lightMesh),this.five.needsRender=!0})}}class fc{constructor(t){d(this,"config");d(this,"polylines",[]);d(this,"areas",[]);d(this,"hook",new ht);this.config=t}addPolyline(t){if(this.includes(t)){console.error(new Error("不能重复添加 polyline"));return}this.polylines.push(t),this.hook.emit("polylineAdded",t)}addArea(t){if(this.areas.find(({id:e})=>e===t.id)!==void 0){console.error(new Error("不能重复添加 area"));return}this.areas.push(t),this.hook.emit("areaAdded",t)}replacePolylineByID(t,e){const i=this.getPolylineByID(t);i==null||i.replace(e)}removePolyline(t){const e=this.polylines.findIndex(({id:i})=>i===t.id);if(e===-1){console.error(new Error("polyline 不存在"));return}this.polylines.splice(e,1),this.hook.emit("polylineRemoved",t)}removeArea(t){const e=this.areas.findIndex(({id:i})=>i===t.id);if(e===-1){console.error(new Error("area 不存在"));return}this.areas.splice(e,1)}getPolylineByID(t){return this.polylines.find(e=>e.id===t)}getPolylineByLine(t){return this.polylines.find(e=>e.includes(t))}getLineByID(t){return this.getAllLines().find(e=>e.id===t)}getAllLines(){return this.polylines.map(t=>t.lines).flat(1)}getAllAreas(){return this.areas}getAllPoints(){return this.polylines.map(t=>t.points).flat(1)}includes(t){return this.polylines.find(({id:e})=>e===t.id)!==void 0}clear(){this.polylines.forEach(t=>this.hook.emit("polylineRemoved",t)),this.areas.forEach(t=>t.dispose()),this.polylines.splice(0,this.polylines.length),this.areas.splice(0,this.areas.length)}dispose(){this.clear()}getClosestPoint(){}parse(t){this.clear(),this.polylines.push(...t.polylines.map(e=>new dn({model:this}).fromJson(e))),this.polylines.forEach(e=>this.hook.emit("polylineAdded",e))}toJson(){return{polylines:this.polylines.map(t=>t.toJson()).filter(t=>t.lines.length>0)}}}function vy(){}const Ay="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAAGwCAYAAADFUEBtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABtqADAAQAAAABAAABsAAAAABTZ8U6AAAtiklEQVR4Ae2dAXJbSbJdp+d7AfYSHOGVeAPek5fkNXgLjviLmRkZl+CRbtc8UBKRRalZpyIesiorMx/eIcjb+QCh//Y3hwQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAh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5tvzhefLNZmuNuLNTOkCbgaaSQNOGW8lLNuOYv/bjAaPvnNXpNXWqk8ARGa3dLLsKDaAeyXDqzWd6DbtqVxB2Yhi7ogCRKmPo8qWZuKbd6ueuvkcH1+izphdruZ7wuqF3fXt2/fnytf5x1QlqOZof203cXvBNkuRxms8TwVfTDBu0n6nly3YOq5cy4SS45Xi4ZtV3NzO1B26vHDOQe9IN+U/JWDMTn7NfGy3810sqhT9BX6SPUklTV0j9y7KMQ8q8KcpZfO9/2kGNoTa+m18iIk6rDlKGNtIlcsrJXI68g3oOnsAgZjW2YiV64H2UoCTXXaTW1Hr49NEk8iH6Yje3Qb0qei8fxLpDFfo28cnkVOmEI1hnugFyBieiBh5BCCX4oKclFCS85c5MXt11SjgfQDeOwBLuQ0diE0bgJbUCWq8Vsljfhdoww3oxVidWYjD54GnehVDEFG8RDX3f+7UnchifRD1Oxxnjn/waMxJ14B8hytZ6zWb2LPkXvptdTK3LIpJN0hI7SMToqOU7VId+vFqY9Tk0VbmzgXx2l39FPaBv9kawugS6F2awa0wfoPfRWabs2AebJ0hliTufKGnJJSNzc0gcU82/eUh62iVNCRqP6ZUISCzjKAfq7tNev6Kd0mKzsBZJrlgQ+hXvQG1OwGi8hc4moxDrMRF/cjo8iDrLYc7brjRjegq/jHvTEJKzAtgtqrx1YhvHojrvxDbwNBepxLfaczaqA2lBrSUtqLmlKTahYe/1FVAaRS0KGymk6kTvzO0KH/9NuHZsAEAJAEFy+/0pfY2O7EMGZq2Hhmo3+Vq9yI83sCzjhythAbIDYQGyA2EBsIDZAbCA2QGwgNhAbIDYQGyA2EBuIDRAbiA0QG4gNxAaIDcQGiA3EBmIDxAZiA8QGYgOxAWIDsQEb7ePiGN5/UYAAAAAASUVORK5CYII=",yy=`
558
+ `,this.container.append(this.content);const i=this.content.querySelector(".fpm__delete-icon");i&&(i.style.width="16px",i.style.height="17px",i.style.marginRight="1px"),this.content.addEventListener("click",this.clickHandler),this.content.addEventListener("mouseenter",this.hover),this.content.addEventListener("mouseleave",this.unHover),this.masking.setAttribute("style","position: absolute;top: 0;left: 0;bottom: 0;right: 0;pointer-events: none;"),this.masking.addEventListener("click",this.cancelHandler),this.masking.addEventListener("touchstart",this.cancelHandler)}dispose(){this.content.removeEventListener("click",this.clickHandler),this.content.removeEventListener("mouseenter",this.hover),this.content.removeEventListener("mouseleave",this.unHover),this.container.remove(),this.masking.removeEventListener("click",this.cancelHandler),this.masking.removeEventListener("touchstart",this.cancelHandler),this.masking.remove()}appendTo(t){return t.append(this.container),t.append(this.masking),this}setLines(t){return this.lines=t,this.points=Array.from(new Set(this.lines.map(e=>[e.points[0],e.points[1]]).flat(1))),this}setTarget(t){return this.target=t,this}updatePosition(t,e){if(t&&e)return this.container.style.left=t,this.container.style.top=e,this.container.style.transform="",this.show();if(this.lines.length===0)return this;const i=this.points.map(p=>p.position).map(p=>p.clone().applyMatrix4(this.lines[0].mesh.matrixWorld)),s=i.map(p=>p.clone().project(this.five.camera));if(s.some(p=>Math.abs(p.z)>1))return this.hide();const o=s.map(p=>p.x),r=s.map(p=>p.y),a=(Math.min(...o)+Math.max(...o))/2,l=Math.max(...r),c=this.container.parentElement;if(!c)return this;const h=(a+1)/2*c.clientWidth,u=-(l-1)/2*c.clientHeight;let f=h,m=u-34;if(this.lines.length===1&&i.length===2){const p=(r[1]-r[0])/(o[1]-o[0]),g=-((r[1]+r[0])/2-1)/2*c.clientHeight;Math.abs(p)>.4&&(f=h+57,m=g)}return this.container.style.top="0",this.container.style.left="0",this.container.style.transform=`translate3d(${f}px, ${m}px, 0)`,this.show()}hide(){return this.visible=!1,this.masking.style.pointerEvents="none",this.container.style.opacity="0",this.container.style.pointerEvents="none",this.unHover(),this}show(){return this.visible=!0,this.masking.style.pointerEvents="auto",this.container.style.opacity="1",this.container.style.pointerEvents="auto",this}}function uc(n,t){const e=n.x-t[0].x,i=n.y-t[0].y,s=t[1].x-t[0].x,o=t[1].y-t[0].y,r=e*s+i*o,a=s*s+o*o,l=r/a;let c,h;return l<0||my(t[0],t[1])?(c=t[0].x,h=t[0].y):l>1?(c=t[1].x,h=t[1].y):(c=t[0].x+l*s,h=t[0].y+l*o),new W.Vector2(c,h)}function my(n,t){return n.x===t.x&&n.y===t.y}const nd=()=>!1;class Si extends Dr{constructor(e){super(e);d(this,"type","edit");d(this,"polyline");d(this,"area");d(this,"hasAppendDashed",!1);d(this,"fiveElement");d(this,"lastPoint",null);d(this,"pointSelector");d(this,"deleteDom");d(this,"onIntersectionUpdate",Ar((e,i)=>{this.currentMeasureType==="area"&&typeof i=="boolean"&&(i?this.hook.emit("readyComplete"):this.hook.emit("notReadyComplete")),this.updateDashed()},20));d(this,"revoke",()=>{this.currentMeasureType==="area"?this.revokeArea():this.currentMeasureType==="line"&&this.revokeLine()});d(this,"revokeArea",()=>{if(this.area.points.length!==0){if(this.area.popPoint(),this.hook.emit("pointsChange",this.area.points),this.area.points.length===0){this.lastPoint=null,this.hasAppendDashed=!1,this.dashed.remove(),this.five.needsRender=!0,this.hook.emit("revoke",{isEmpty:!0});return}else this.lastPoint=new Tt(this.area.points[this.area.points.length-1]),this.updateDashed();this.five.needsRender=!0}});d(this,"revokeLine",e=>{const i=e||this.polyline;if(i.lines.length===0&&this.lastPoint){this.lastPoint=null,this.hasAppendDashed=!1,this.pointSelector.setAdherePoints(null),this.dashed.remove(),this.hook.emit("anchorChange",null),this.hook.emit("editedDashedLineChange",null),this.five.needsRender=!0,this.hook.emit("pointsChange",[]);return}if(i.lines.length===0&&!this.lastPoint||!this.lastPoint)return;const s=i.lines[i.lines.length-1],o=s.findAnotherPoint(this.lastPoint);o&&(this.lastPoint=o,this.hook.emit("anchorChange",o.position),this.group.remove(s.mesh),i.removeLine(s),s.distanceItem.remove(),this.updateDashed(),this.five.needsRender=!0)});d(this,"checkMouseLeave",e=>{e||(this.dashed.hide(),this.perpendicularDashed.hide(),this.area.hideArea())});d(this,"onLineChanged",()=>{this.hook.emit("editedPolylineChange",this.polyline)});d(this,"onWantsSelect",()=>{if(this.currentMeasureType==="area"){const e=this.area.polygon.isBlank||this.area.polygon.visible===!1;if(this.area.points.length>=3&&e)return!1}});d(this,"wantsMoveToPano",()=>{if(this.lastPoint)return!1});d(this,"onSelect",()=>{var r,a,l,c;this.hasAppendDashed||(this.dashed.distanceItem.appendTo(this.container),this.group.add(this.dashed.mesh),this.currentMeasureType==="area"&&this.group.add(this.perpendicularDashed.mesh)),this.hasAppendDashed=!0;const e=(()=>{var h,u;if(this.currentMeasureType==="area")return this.area.projectPoint((h=this.pointSelector.position)==null?void 0:h.point);if(this.currentMeasureType==="line")return(u=this.pointSelector.position)==null?void 0:u.point})();if(!e)return;const i=new Tt(e),s=this.lastPoint;if(s!=null&&s.position&&i.position.equals(s==null?void 0:s.position))return;this.lastPoint=i;const o=h=>{if(!this.lastPoint)return[];const{intersection:u,pointSelectorInstance:f}=h,m=f.pointSelectorHelper.pointHelper,p=new b.Vector3(0,0,1).applyQuaternion(m.quaternion);if(p.x>.9999||p.y>.9999||p.z>.9999||p.x<-.9999||p.y<-.9999||p.z<-.9999){const v=u.point,g=this.lastPoint.position.clone().sub(v);f.pointSelectorHelper.updateWithIntersect(u,{emitEvent:!1});const A=new b.Line3(m.localToWorld(new b.Vector3(1,0,0)).add(g),m.localToWorld(new b.Vector3(-1,0,0)).add(g)),w=new b.Line3(m.localToWorld(new b.Vector3(0,1,0)).add(g),m.localToWorld(new b.Vector3(0,-1,0)).add(g)),I=A.closestPointToPoint(v,!1,new b.Vector3),C=w.closestPointToPoint(v,!1,new b.Vector3);return[I,C]}return[]};if(this.pointSelector.setAdherePoints(o),this.currentMeasureType==="line"){if(i&&s){const u=new hn(s,i,this.model);u.distanceItem.setCanSelect(!1),u.distanceItem.appendTo(this.container),this.polyline.addLine(u),this.group.add(u.mesh),u.distanceItem.update(this.five)}const h=(a=(r=this.editParams)==null?void 0:r.autoEndConfig)==null?void 0:a.line;typeof h=="number"&&(this.polyline.getPointLength()>=h?this.complete():this.polyline.getPointLength()===h-1&&this.hook.emit("readyComplete")),this.hook.emit("pointsChange",this.polyline.points)}else if(this.currentMeasureType==="area"){if(this.area.addPoints(i.position),this.area.isClosed){this.complete();return}this.area.points.length>=3&&this.pointSelector.setAdherePoints((...u)=>{var f;return[this.area.points[0],...(f=o(...u))!=null?f:[]].filter(xe)});const h=(c=(l=this.editParams)==null?void 0:l.autoEndConfig)==null?void 0:c.area;typeof h=="number"&&(this.area.points.length>=h?this.complete():this.area.points.length===h-1&&this.hook.emit("readyComplete")),this.hook.emit("pointsChange",this.area.points)}this.updateDashed(),this.five.needsRender=!0,this.hook.emit("anchorChange",i.position)});d(this,"onCameraUpdate",()=>{this.updateDistanceUI()});d(this,"updateDashed",()=>{var s;if(!this.lastPoint)return;const e=this.lastPoint.position,i=(()=>{var o,r;if(this.currentMeasureType==="area")return this.area.projectPoint((o=this.pointSelector.position)==null?void 0:o.point);if(this.currentMeasureType==="line")return(r=this.pointSelector.position)==null?void 0:r.point})();if(!i){this.dashed.hide();return}if(this.dashed.show(),this.dashed.setPoints(e,i),this.dashed.distanceItem.update(this.five),this.hook.emit("editedDashedLineChange",this.dashed),this.currentMeasureType==="area")if(this.area.areaItem.setCanSelect(!1),this.area.points.length>=2){const o=(s=this.pointSelector.position)==null?void 0:s.point;if(o){const h=o,u=i;this.perpendicularDashed.setPoints(h,u),this.perpendicularDashed.show()}else this.perpendicularDashed.hide();const r=this.area.polyline.lines.map(h=>({start:h.points[0].position,end:h.points[1].position})),a=bl({start:e,end:i},r),l=bl({start:i,end:this.area.points[0]},r);if(a||l)this.area.hideArea(),this.hook.emit("allowAddPointStateChange","forbid");else{this.area.showArea();const h=[...this.area.points,i];this.area.polygon.updatePoints(h),this.area.areaItem.updateArea(this.five),this.hook.emit("allowAddPointStateChange","allow")}}else this.area.hideArea(),this.perpendicularDashed.hide();this.five.needsRender=!0});d(this,"wantsTapGesture",e=>{var v,g;if(this.editParams.pointSelectorMode==="cursor"||this.lastPoint)return!1;const i=this.model.areas.map(A=>e.intersectObject(A.polygon,!0)[0]).sort((A,w)=>A.distance-w.distance),s=(g=(v=i[0])==null?void 0:v.object)==null?void 0:g.parent;if(s!=null&&s.isPolygonMesh){const A=this.model.areas.find(w=>w.polygon===s);if(A){const{x:w,y:I}=i[0].point.clone().project(this.five.camera),C=`${(w+1)/2*100}%`,E=`${(-I+1)/2*100}%`;return this.chooseArea(A,{left:C,top:E}),!1}}const[o]=Ut(this.five).intersectRaycaster(e);if(!o)return;const r=this.five.camera,a=o.point.clone().project(r),l=this.container.clientWidth,c=this.container.clientHeight,h=new W.Vector2(a.x*l,a.y*c),u=this.model.getAllLines().map(A=>{const[w,I]=A.points,C=w.position.clone().project(r),E=I.position.clone().project(r);if(!cn(C)&&!cn(E))return null;const M=new W.Vector2(C.x*l,C.y*c),S=new W.Vector2(E.x*l,E.y*c);return{id:A.id,points:[M,S]}}).filter(A=>!!A);if(u.length===0)return;const m=u.map(A=>{const w=uc(h,A.points);return{id:A.id,distance:w.distanceTo(h)}}).sort((A,w)=>A.distance-w.distance)[0];if(m.distance>20)return;const p=this.model.getAllLines().find(({id:A})=>A===m.id);if(p)return this.chooseLine(p),!1});d(this,"chooseLine",e=>{const i=e.getPolyline().lines;this.deleteDom.setTarget(i).setLines(i).updatePosition().show(),this.highlightLines(i),this.hook.emit("selectedChange",i)});d(this,"chooseArea",(e,i)=>{this.deleteDom.setTarget(e).updatePosition(i.left,`calc(${i.top} - 1.5rem)`).show(),this.highlightArea(e)});d(this,"deleteArea",e=>{this.unHighlightArea(e),e.dispose(),this.deleteDom.hide()});d(this,"deleteLine",e=>{const i=e[0],s=this.model.getPolylineByLine(i);s&&(this.model.removePolyline(s),s.lines.forEach(o=>this.removeLine(o)),this.deleteDom.setLines([]).hide())});this.fiveElement=this.five.getElement(),this.deleteDom=new dc(this.five,{i18n:this.config.i18n,onClick:(i,s)=>{var a;const o=s.type==="area",r=Array.isArray(s)&&((a=s[0])==null?void 0:a.type)==="line";o&&this.deleteArea(s),r&&this.deleteLine(s)},cancel:i=>{var r;this.deleteDom.hide();const s=i.type==="area",o=Array.isArray(i)&&((r=i[0])==null?void 0:r.type)==="line";s&&this.unHighlightArea(i),o&&this.unHighlightLines(i)}}).appendTo(this.container),this.pointSelector=new Ql(this.five,te(k({},this.pointSelectorConfig),{mode:this.editParams.pointSelectorMode,helper:k({magnifierParams:this.magnifierParams,container:this.container},this.pointSelectorConfig.helper)})),this.pointSelector.enable(),this.polyline=new dn({model:this.model}),this.area=new yl(void 0,{five:this.five,model:this.model,meshContainer:this.group,domContainer:this.container}),this.model.addPolyline(this.polyline),this.model.addArea(this.area),this.model.getAllLines().forEach(i=>{i.distanceItem.appendTo(this.container),i.distanceItem.update(this.five),i.distanceItem.setCanSelect(!0),i.hook.on("selected",this.chooseLine),this.group.add(i.mesh)}),this.model.getAllAreas().forEach(i=>{i.areaItem.appendTo(this.container),i.areaItem.updateDomPosition(this.five),i.areaItem.setCanSelect(!0),i.hook.on("selected",this.chooseArea),this.group.add(i.polygon),i.polyline.lines.forEach(s=>{s.distanceItem.appendTo(this.container),s.distanceItem.update(this.five),this.group.add(s.mesh)})}),this.five.on("cameraUpdate",this.onCameraUpdate),this.five.on("wantsTapGesture",this.wantsTapGesture),this.five.on("wantsMoveToPano",this.wantsMoveToPano),this.five.on("wantsChangeMode",nd),this.pointSelector.on("intersectionUpdate",this.onIntersectionUpdate),this.pointSelector.on("intersectionUpdate",this.checkMouseLeave),this.pointSelector.on("select",this.onSelect),this.pointSelector.on("wantsSelect",this.onWantsSelect),this.polyline.hook.on("lineAdded",this.onLineChanged),this.polyline.hook.on("lineRemoved",this.onLineChanged),this.five.helperVisible=!1,this.hook.emit("anchorChange",null),this.hook.emit("editedDashedLineChange",null),this.five.refresh()}dispose(){super.dispose(),this.model.areas.forEach(e=>{(e.points.length<2||e.polygon.isBlank)&&this.model.removeArea(e)}),this.five.helperVisible=!0,this.pointSelector.disable(),this.dashed.remove(),this.perpendicularDashed.remove(),this.five.off("cameraUpdate",this.onCameraUpdate),this.five.off("wantsTapGesture",this.wantsTapGesture),this.five.off("wantsMoveToPano",this.wantsMoveToPano),this.five.off("wantsChangeMode",nd),this.pointSelector.off("intersectionUpdate",this.onIntersectionUpdate),this.pointSelector.off("intersectionUpdate",this.checkMouseLeave),this.pointSelector.off("select",this.onSelect),this.pointSelector.off("wantsSelect",this.onWantsSelect),this.polyline.hook.off("lineAdded",this.onLineChanged),this.polyline.hook.off("lineRemoved",this.onLineChanged),this.magnifier.dispose(),this.deleteDom.dispose(),this.dashed.distanceItem.remove(),this.five.needsRender=!0}getEditingLines(){return this.polyline.lines}selectPoint(){this.onSelect()}complete(){this.hook.emit("complete"),this.currentMeasureType==="area"?(this.area.points.length<3?this.deleteArea(this.area):(this.area.showArea(),this.area.complete(),this.area.hook.on("selected",this.chooseArea)),this.area=new yl(void 0,{five:this.five,model:this.model,meshContainer:this.group,domContainer:this.container}),this.model.addArea(this.area)):this.currentMeasureType==="line"&&(this.polyline.lines.forEach(e=>{e.hook.on("selected",this.chooseLine),e.distanceItem.setCanSelect(!0)}),this.polyline=new dn({model:this.model}),this.model.addPolyline(this.polyline)),this.pointSelector.setAdherePoints(null),this.dashed.hide(),this.perpendicularDashed.hide(),this.lastPoint=void 0}highlightArea(e){this.highlightLines(e.polyline.lines),this.five.needsRender=!0}unHighlightArea(e){this.unHighlightLines(e.polyline.lines),this.five.needsRender=!0}highlightLines(e){e.forEach(i=>this.highlightLine(i))}unHighlightLines(e){e.forEach(i=>{i.selected=!1,i.distanceItem.unHighlight(),this.group.remove(i.lightMesh),this.five.needsRender=!0})}highlightLine(e){this.unHighlightLines(this.model.getAllLines()),!e.selected&&(e.selected=!0,this.group.add(e.lightMesh),e.distanceItem.highlight(),this.five.needsRender=!0)}}class sd extends Dr{constructor(e){super(e);d(this,"type","view");d(this,"hammer");d(this,"polylineRemoved",e=>{e.lines.forEach(i=>this.removeLine(i)),this.hook.emit("selectedChange",this.model.getAllLines().filter(i=>i.selected).map(i=>i))});d(this,"polylineAdded",e=>{const{panoIndex:i,mode:s}=this.five.getCurrentState();e.lines.forEach(o=>{e.visibleFiveMode&&!e.visibleFiveMode.includes(s)&&(o.mesh.visible=!1),e.visiblePanoIndexes&&!e.visiblePanoIndexes.includes(i)&&(o.mesh.visible=!1),o.distanceItem.appendTo(this.container),o.distanceItem.update(this.five),this.group.add(o.mesh)}),this.updateDistanceUI()});d(this,"onCameraUpdate",()=>{this.updateDistanceUI()});d(this,"onFiveModeChange",e=>{e!=="Panorama"&&(this.model.polylines.forEach(i=>{i.visibleFiveMode&&!i.visibleFiveMode.includes(e)&&i.lines.forEach(s=>{s.mesh.visible=!1,s.distanceItem.update(this.five)})}),this.five.ready().then(()=>{const i=this.five.getCurrentState().mode;i!=="Panorama"&&this.model.polylines.forEach(s=>{s.visibleFiveMode&&s.visibleFiveMode.includes(i)&&s.lines.forEach(o=>{o.mesh.visible=!0,o.distanceItem.update(this.five)})})}))});d(this,"onFivePanoWillArrive",e=>{this.model.polylines.forEach(i=>{(i.visiblePanoIndexes&&!i.visiblePanoIndexes.includes(e)||i.visibleFiveMode&&!i.visibleFiveMode.includes(this.five.getCurrentState().mode))&&i.lines.forEach(s=>{s.mesh.visible=!1,s.distanceItem.update(this.five)})})});d(this,"onFivePanoArrived",e=>{this.model.polylines.forEach(i=>{i.visiblePanoIndexes&&i.visiblePanoIndexes.includes(e)&&i.visibleFiveMode&&i.visibleFiveMode.includes(this.five.getCurrentState().mode)&&i.lines.forEach(s=>{s.mesh.visible=!0,s.distanceItem.update(this.five)})})});this.model.getAllLines().forEach(s=>{s.distanceItem.appendTo(this.container),s.distanceItem.update(this.five),this.group.add(s.mesh),s.mesh.updateMatrixWorld()});const i=this.five.getElement();if(i){const s=new Bl(i);this.hammer=s}this.onFiveModeChange(this.five.getCurrentState().mode),this.onFivePanoWillArrive(this.five.getCurrentState().panoIndex),this.onFivePanoArrived(this.five.getCurrentState().panoIndex),this.updateDistanceUI(),this.five.needsRender=!0,this.model.hook.on("polylineAdded",this.polylineAdded),this.model.hook.on("polylineRemoved",this.polylineRemoved),this.five.on("cameraUpdate",this.onCameraUpdate),this.five.on("panoArrived",this.onFivePanoArrived),this.five.on("modeChange",this.onFiveModeChange),this.five.on("panoWillArrive",this.onFivePanoWillArrive)}dispose(){var e;super.dispose(),this.model.hook.off("polylineAdded",this.polylineAdded),this.model.hook.off("polylineRemoved",this.polylineRemoved),this.five.off("cameraUpdate",this.onCameraUpdate),this.five.off("panoArrived",this.onFivePanoArrived),this.five.off("modeChange",this.onFiveModeChange),this.five.off("panoWillArrive",this.onFivePanoWillArrive),this.five.needsRender=!0,this.hook.emit("selectedChange",[]),(e=this.hammer)==null||e.destroy()}}function gy(n,t){const e=(n.x+1)/2*t.width,i=-(n.y-1)/2*t.height;return new W.Vector2(e,i)}function py(n,t,e,i){const s=n.getElement();if(!s||t.length===0)return null;const o={width:s.clientWidth,height:s.clientHeight},r=t.map(a=>{const l=a.position.clone().project(n.camera);return cn(l)?{distance:gy(l,o).distanceTo(e),point:a}:{distance:1/0,point:a}}).sort((a,l)=>a.distance-l.distance);return typeof i=="number"&&r[0].distance>i?null:r[0]}function od(n){const{x:t,y:e}=n.center,{clientWidth:i,clientHeight:s}=n.target,o=n.target.getBoundingClientRect(),r=new W.Vector2(t,e).sub(new W.Vector2(o.left,o.top)),a=new W.Vector2(r.x/i*2-1,-(r.y/s)*2+1);return{point:r,ndcPoint:a}}const rd=()=>!1;class ad extends Dr{constructor(e){super(e);d(this,"type","watch");d(this,"deleteDom");d(this,"choose");d(this,"highlightedLines",[]);d(this,"highlightedArea");d(this,"fiveElement");d(this,"editPointState");d(this,"hammer");d(this,"onPanStart",e=>{var l;if(this.model.getAllLines().length===0||!this.fiveElement)return;const i=od(e).point,s=(l=py(this.five,this.model.getAllPoints(),i,20))==null?void 0:l.point;if(!s){this.editPointState=void 0;return}const o=this.model.polylines.find(c=>c.includes(s)),r={point:s,associatedLines:o.lines};this.hook.emit("wantsDragLine",{point:s.id,lines:r.associatedLines.map(({id:c})=>c)})||(this.editPointState=r,this.magnifier.appendTo(this.container),this.magnifier.enable(),this.group.add(this.mouseGroup))});d(this,"onPanEnd",()=>{this.editPointState&&(this.editPointState.associatedLines.forEach(e=>e.mesh.setMaterial({dashed:!1})),this.highlightLines(this.editPointState.associatedLines),this.editPointState=void 0,this.magnifier.disable(),this.group.remove(this.mouseGroup))});d(this,"onPan",e=>{if(!this.editPointState||!this.fiveElement)return;const i=od(e).ndcPoint,s=new W.Raycaster;s.setFromCamera(i,this.five.camera);const[o]=Ut(this.five).intersectRaycaster(s);o&&this.onIntersectionUpdate(o)});d(this,"onIntersectionUpdate",(e,i)=>{if(this.editPointState){if(this.clearHighlightLines(),this.editPointState.point.position.copy(e.point),this.editPointState.associatedLines.forEach(s=>{s.mesh.setPoints(s.points[0].position.clone(),s.points[1].position.clone()),s.lightMesh.setPoints(s.points[0].position.clone(),s.points[1].position.clone()),s.mesh.setMaterial({dashed:!0})}),this.updateDistanceUI(),this.magnifier.renderWithPoint(e.point),this.mouseGroup.position.copy(e.point),i)this.mouseGroup.quaternion.copy(i.quaternion);else if(e.face){const o=e.face.normal.clone().multiplyScalar(.05),a=e.point.clone().add(o).clone().add(o);this.mouseGroup.lookAt(a)}this.five.needsRender=!0,this.hook.emit("selectedChange",this.editPointState.associatedLines.map(s=>s))}});d(this,"wantsPanGesture",()=>{if(this.editPointState)return!1});d(this,"wantsTapGesture",e=>{var g;const i=this.model.areas.map(A=>e.intersectObject(A.polygon,!0)[0]).sort((A,w)=>A.distance-w.distance),s=(g=i[0])==null?void 0:g.object.parent;if(s instanceof Um){const A=this.model.areas.find(w=>w.polygon===s);if(A){const{x:w,y:I}=i[0].point.clone().project(this.five.camera),C=`${(w+1)/2*100}%`,E=`${(-I+1)/2*100}%`;return this.chooseArea(A,{left:C,top:E}),!1}}const o=Ut(this.five),[r]=o.intersectRaycaster(e);if(!r)return;const a=this.five.camera,l=r.point.clone().project(a),c=this.container.clientWidth,h=this.container.clientHeight,u=new W.Vector2(l.x*c,l.y*h),f=this.model.getAllLines().map(A=>{const[w,I]=A.points,C=w.position.clone().project(a),E=I.position.clone().project(a);if(!cn(C)&&!cn(E))return null;const M=new W.Vector2(C.x*c,C.y*h),S=new W.Vector2(E.x*c,E.y*h);return{id:A.id,points:[M,S]}}).filter(A=>!!A);if(f.length===0)return;const p=f.map(A=>{const w=uc(u,A.points);return{id:A.id,distance:w.distanceTo(u)}}).sort((A,w)=>A.distance-w.distance)[0];if(p.distance>20)return;const v=this.model.getAllLines().find(({id:A})=>A===p.id);if(v)return this.chooseLine(v),!1});d(this,"chooseLine",e=>{this.choose="line";const i=e.getPolyline().lines;this.deleteDom.setLines(i).updatePosition().show(),this.highlightLines(i),this.five.needsRender=!0,this.hook.emit("selectedChange",i.map(s=>s))});d(this,"chooseArea",(e,i)=>{this.choose=e,this.deleteDom.updatePosition(i.left,`calc(${i.top} - 20px)`).show(),this.highlightArea(e)});d(this,"polylineRemoved",e=>{e.lines.forEach(i=>this.removeLine(i)),this.hook.emit("selectedChange",this.model.getAllLines().filter(i=>i.selected).map(i=>i))});d(this,"onCameraUpdate",()=>{this.updateDistanceUI(),this.highlightedLines.length>0&&this.deleteDom.updatePosition()});d(this,"deleteArea",e=>{this.unHighlightArea(e),e.dispose(),this.deleteDom.hide()});d(this,"deleteLine",()=>{const e=this.highlightedLines[0],i=this.model.getPolylineByLine(e);i&&(this.model.removePolyline(i),this.highlightedLines=[],this.deleteDom.setLines([]).hide())});d(this,"cancelDeleteClickCallback",()=>{this.deleteDom.hide(),this.clearHighlightLines(),this.unHighlightArea()});this.deleteDom=new dc(this.five,{i18n:this.config.i18n,onClick:()=>{this.choose==="line"?this.deleteLine():this.choose instanceof yl&&this.deleteArea(this.choose)},cancel:this.cancelDeleteClickCallback}).appendTo(this.container),this.model.getAllLines().forEach(s=>{s.distanceItem.appendTo(this.container),s.distanceItem.update(this.five),s.hook.on("selected",this.chooseLine),s.distanceItem.setCanSelect(!0),this.group.add(s.mesh)}),this.model.getAllAreas().forEach(s=>{s.areaItem.appendTo(this.container),s.areaItem.updateArea(this.five),s.hook.on("selected",this.chooseArea),s.areaItem.setCanSelect(!0),this.group.add(s.polygon),s.polyline.lines.forEach(o=>{o.distanceItem.appendTo(this.container),o.distanceItem.update(this.five),this.group.add(o.mesh)})});const i=this.five.getElement();if(i){this.fiveElement=i;const s=new Bl(i);this.hammer=s,s.on("pan",this.onPan),s.on("panstart",this.onPanStart),s.on("panend",this.onPanEnd)}this.updateDistanceUI(),this.five.needsRender=!0,this.five.on("cameraUpdate",this.onCameraUpdate),this.five.on("wantsTapGesture",this.wantsTapGesture),this.five.on("wantsPanGesture",this.wantsPanGesture),this.five.on("wantsChangeMode",rd),this.model.hook.on("polylineRemoved",this.polylineRemoved)}dispose(){var e;super.dispose(),this.deleteDom.dispose(),this.model.hook.off("polylineRemoved",this.polylineRemoved),this.model.getAllLines().forEach(i=>i.hook.off("selected",this.chooseLine)),this.five.off("cameraUpdate",this.onCameraUpdate),this.five.off("wantsPanGesture",this.wantsPanGesture),this.five.off("wantsTapGesture",this.wantsTapGesture),this.five.off("wantsChangeMode",rd),this.five.needsRender=!0,this.hook.emit("selectedChange",[]),(e=this.hammer)==null||e.destroy()}highlightLine(e){e.selected||(e.selected=!0,this.group.add(e.lightMesh),e.distanceItem.highlight(),this.five.needsRender=!0)}clearHighlightLines(){this.group.children.length!==0&&(this.unHighlightLines(this.highlightedLines),this.highlightedLines=[])}highlightArea(e){this.unHighlightLines(),this.unHighlightArea(),this.highlightLines(e.polyline.lines),this.five.needsRender=!0}unHighlightArea(e){const i=e!=null?e:this.highlightedArea;i&&(this.unHighlightLines(i.polyline.lines),this.five.needsRender=!0)}highlightLines(e){this.unHighlightLines(),this.highlightedLines=e,e.forEach(i=>this.highlightLine(i))}unHighlightLines(e){this.unHighlightArea();const i=e!=null?e:this.highlightedLines;i&&i.forEach(s=>{s.selected=!1,s.distanceItem.unHighlight(),this.group.remove(s.lightMesh),this.five.needsRender=!0})}}class fc{constructor(t){d(this,"config");d(this,"polylines",[]);d(this,"areas",[]);d(this,"hook",new ht);this.config=t}addPolyline(t){if(this.includes(t)){console.error(new Error("不能重复添加 polyline"));return}this.polylines.push(t),this.hook.emit("polylineAdded",t)}addArea(t){if(this.areas.find(({id:e})=>e===t.id)!==void 0){console.error(new Error("不能重复添加 area"));return}this.areas.push(t),this.hook.emit("areaAdded",t)}replacePolylineByID(t,e){const i=this.getPolylineByID(t);i==null||i.replace(e)}removePolyline(t){const e=this.polylines.findIndex(({id:i})=>i===t.id);if(e===-1){console.error(new Error("polyline 不存在"));return}this.polylines.splice(e,1),this.hook.emit("polylineRemoved",t)}removeArea(t){const e=this.areas.findIndex(({id:i})=>i===t.id);if(e===-1){console.error(new Error("area 不存在"));return}this.areas.splice(e,1)}getPolylineByID(t){return this.polylines.find(e=>e.id===t)}getPolylineByLine(t){return this.polylines.find(e=>e.includes(t))}getLineByID(t){return this.getAllLines().find(e=>e.id===t)}getAllLines(){return this.polylines.map(t=>t.lines).flat(1)}getAllAreas(){return this.areas}getAllPoints(){return this.polylines.map(t=>t.points).flat(1)}includes(t){return this.polylines.find(({id:e})=>e===t.id)!==void 0}clear(){this.polylines.forEach(t=>this.hook.emit("polylineRemoved",t)),this.areas.forEach(t=>t.dispose()),this.polylines.splice(0,this.polylines.length),this.areas.splice(0,this.areas.length)}dispose(){this.clear()}getClosestPoint(){}parse(t){this.clear(),this.polylines.push(...t.polylines.map(e=>new dn({model:this}).fromJson(e))),this.polylines.forEach(e=>this.hook.emit("polylineAdded",e))}toJson(){return{polylines:this.polylines.map(t=>t.toJson()).filter(t=>t.lines.length>0)}}}function vy(){}const Ay="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAAGwCAYAAADFUEBtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABtqADAAQAAAABAAABsAAAAABTZ8U6AAAtiklEQVR4Ae2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