@realsee/dnalogel 3.68.3 → 3.68.4

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 (456) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/index.cjs.js +3 -3
  3. package/dist/index.js +3 -3
  4. package/dist/index.umd.js +3 -3
  5. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  6. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  7. package/docs/classes/CSS3DRender.html +2 -2
  8. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  9. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  10. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  11. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  12. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  13. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  14. package/docs/classes/ModelRoomLabelController.html +2 -2
  15. package/docs/classes/MoveController.html +2 -2
  16. package/docs/classes/Object3DHelperController.html +2 -2
  17. package/docs/classes/PaintBrush.html +2 -2
  18. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  19. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  20. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  21. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  22. package/docs/classes/PanoTagPluginController.html +2 -2
  23. package/docs/classes/Sculpt.html +2 -2
  24. package/docs/classes/Util.BetterTween.html +2 -2
  25. package/docs/classes/Util.FiveDomEvents.html +2 -2
  26. package/docs/classes/Util.FivePuppet.html +2 -2
  27. package/docs/classes/Util.Interval.html +2 -2
  28. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  29. package/docs/classes/Util.LightTag.html +2 -2
  30. package/docs/classes/Util.LineSegments.html +2 -2
  31. package/docs/classes/Util.Magnifier.html +2 -2
  32. package/docs/classes/Util.Object3D.html +2 -2
  33. package/docs/classes/Util.PointDomHelper.html +2 -2
  34. package/docs/classes/Util.PointHelper.html +2 -2
  35. package/docs/classes/Util.PointSelector.html +2 -2
  36. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  37. package/docs/classes/Util.Rectangle.html +2 -2
  38. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  39. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  40. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  41. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  42. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  43. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  44. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  45. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  46. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  47. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  49. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  50. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  51. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  52. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  53. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  54. package/docs/classes/WalkController.html +2 -2
  55. package/docs/enums/CameraMovementEffect.html +2 -2
  56. package/docs/enums/ContentType.html +2 -2
  57. package/docs/enums/DIRECTION.html +2 -2
  58. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  59. package/docs/enums/DimensionType.html +2 -2
  60. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  61. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  62. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  63. package/docs/enums/PointType.html +2 -2
  64. package/docs/enums/Rotation.html +2 -2
  65. package/docs/functions/AreaMakerPlugin.html +1 -1
  66. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  67. package/docs/functions/CameraMovementPlugin.html +2 -2
  68. package/docs/functions/CruisePlugin.html +1 -1
  69. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  70. package/docs/functions/GuideLinePlugin.html +1 -1
  71. package/docs/functions/ItemLabelPlugin.html +1 -1
  72. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  73. package/docs/functions/MeasurePlugin.html +1 -1
  74. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  75. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  76. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  77. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  78. package/docs/functions/ModelMakerPlugin.html +1 -1
  79. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  80. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  81. package/docs/functions/ModelViewPlugin.html +2 -2
  82. package/docs/functions/MovePlugin.html +1 -1
  83. package/docs/functions/Object3DHelperPlugin.html +1 -1
  84. package/docs/functions/PanoCompassPlugin.html +1 -1
  85. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  86. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  87. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  88. package/docs/functions/PanoMeasurePlugin.html +1 -1
  89. package/docs/functions/PanoRulerPlugin.html +2 -2
  90. package/docs/functions/PanoRulerProPlugin.html +2 -2
  91. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  92. package/docs/functions/PanoTagPlugin.html +1 -1
  93. package/docs/functions/PanoVideoPlugin.html +2 -2
  94. package/docs/functions/PipelinePlugin.html +1 -1
  95. package/docs/functions/SculptPlugin.html +2 -2
  96. package/docs/functions/SculptPluginForFive.html +2 -2
  97. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  98. package/docs/functions/Util.absoluteUrl.html +2 -2
  99. package/docs/functions/Util.awaitNextFrame.html +1 -1
  100. package/docs/functions/Util.blink.html +2 -2
  101. package/docs/functions/Util.bounding.html +1 -1
  102. package/docs/functions/Util.boundingBox.html +1 -1
  103. package/docs/functions/Util.boundingSphere.html +1 -1
  104. package/docs/functions/Util.boxVertex.html +2 -2
  105. package/docs/functions/Util.boxVertexes.html +1 -1
  106. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  107. package/docs/functions/Util.convexHull.html +2 -2
  108. package/docs/functions/Util.equal.html +2 -2
  109. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  110. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  111. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  112. package/docs/functions/Util.getFrameTime.html +2 -2
  113. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  114. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  115. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  116. package/docs/functions/Util.inside.html +1 -1
  117. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  118. package/docs/functions/Util.isModelLike.html +1 -1
  119. package/docs/functions/Util.isNil.html +2 -2
  120. package/docs/functions/Util.isPanoramaLike.html +1 -1
  121. package/docs/functions/Util.lookObject.html +2 -2
  122. package/docs/functions/Util.lookPoint.html +2 -2
  123. package/docs/functions/Util.nextFrame.html +1 -1
  124. package/docs/functions/Util.notNil.html +2 -2
  125. package/docs/functions/Util.reblink.html +2 -2
  126. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  127. package/docs/functions/Util.sculpt.createBox.html +1 -1
  128. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  129. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  130. package/docs/functions/Util.sculpt.createLine.html +2 -2
  131. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  132. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  133. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  134. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  135. package/docs/functions/Util.tag.html +1 -1
  136. package/docs/functions/Util.tweenProgress.html +1 -1
  137. package/docs/functions/Util.uuid.html +2 -2
  138. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  139. package/docs/functions/Util.worldBounding.html +1 -1
  140. package/docs/functions/Util.worldBoundingBox.html +1 -1
  141. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  142. package/docs/functions/createPolyline.html +2 -2
  143. package/docs/functions/pluginFlag.html +1 -1
  144. package/docs/hierarchy.html +1 -1
  145. package/docs/index.html +2 -2
  146. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  147. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  148. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  149. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  150. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  152. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  154. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  155. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  156. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  157. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  158. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  159. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  160. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  161. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  162. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  163. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  164. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  165. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  166. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  168. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  169. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  170. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  171. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  172. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  173. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  174. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  175. package/docs/interfaces/FloorplanBounding.html +2 -2
  176. package/docs/interfaces/FloorplanData.html +2 -2
  177. package/docs/interfaces/FloorplanEntrance.html +2 -2
  178. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  179. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  180. package/docs/interfaces/FloorplanFloorData.html +2 -2
  181. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  182. package/docs/interfaces/FloorplanObserver.html +2 -2
  183. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  184. package/docs/interfaces/FloorplanPosition.html +2 -2
  185. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  186. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  187. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  188. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  189. package/docs/interfaces/FloorplanServerData.html +2 -2
  190. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  191. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  192. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  193. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  194. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  195. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  196. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  197. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  198. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  199. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  200. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  201. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  202. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  203. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  213. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  214. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  215. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  216. package/docs/interfaces/HelperOffset.html +2 -2
  217. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  218. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  219. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  220. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  221. package/docs/interfaces/MinMax.html +2 -2
  222. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  223. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  224. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  225. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  226. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  227. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  228. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  229. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  230. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  231. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  232. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  233. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  234. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  235. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  236. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  238. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  239. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  240. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  241. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  242. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  243. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  244. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  245. package/docs/interfaces/Object3DHelperState.html +2 -2
  246. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  247. package/docs/interfaces/PaintBrushAction.html +2 -2
  248. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  249. package/docs/interfaces/PaintBrushState.html +2 -2
  250. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  251. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  252. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  253. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  254. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  255. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  256. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  257. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  258. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  259. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  260. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  261. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  262. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  263. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  264. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  265. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  266. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  267. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  268. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  269. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  270. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  273. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  274. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  275. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  276. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  277. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  278. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  279. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  280. package/docs/interfaces/PluginEventMap.html +2 -2
  281. package/docs/interfaces/Point.html +2 -2
  282. package/docs/interfaces/Room.html +2 -2
  283. package/docs/interfaces/RoomInfo.html +2 -2
  284. package/docs/interfaces/RoomLabel.html +2 -2
  285. package/docs/interfaces/RoomRules.html +1 -1
  286. package/docs/interfaces/Rooms.html +1 -1
  287. package/docs/interfaces/Scissor.html +2 -2
  288. package/docs/interfaces/SculptConfig.html +2 -2
  289. package/docs/interfaces/State.html +2 -2
  290. package/docs/interfaces/TagCacheInterface.html +2 -2
  291. package/docs/interfaces/TagConfig.html +2 -2
  292. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  293. package/docs/interfaces/TagIconUrl.html +2 -2
  294. package/docs/interfaces/TagObjectGroup.html +2 -2
  295. package/docs/interfaces/TagState.html +2 -2
  296. package/docs/interfaces/TagStyle.html +2 -2
  297. package/docs/interfaces/Tags.html +2 -2
  298. package/docs/interfaces/TemporaryState.html +2 -2
  299. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  300. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  301. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  302. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  303. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  304. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  305. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  306. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  307. package/docs/interfaces/Util.PointIntersection.html +2 -2
  308. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  309. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  310. package/docs/modules/AreaMakerPluginType.html +2 -2
  311. package/docs/modules/CruisePluginTypes.html +2 -2
  312. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  313. package/docs/modules/GuideLineItem.html +2 -2
  314. package/docs/modules/GuideLineModeItem.html +2 -2
  315. package/docs/modules/GuideLinePluginType.html +2 -2
  316. package/docs/modules/ModelMakerPluginType.html +2 -2
  317. package/docs/modules/PanoVideoPluginType.html +2 -2
  318. package/docs/modules/SculptData.html +2 -2
  319. package/docs/modules/SculptType.html +2 -2
  320. package/docs/modules/Util.html +2 -2
  321. package/docs/modules/Util.sculpt.html +2 -2
  322. package/docs/modules.html +2 -2
  323. package/docs/types/AddObject3DHelperConfig.html +2 -2
  324. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  325. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  326. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  327. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  328. package/docs/types/ArrayPosition.html +1 -1
  329. package/docs/types/AudioAppearance.html +1 -1
  330. package/docs/types/CSS3DRenderExportType.html +1 -1
  331. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  332. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  333. package/docs/types/ClassFunctionParameters.html +1 -1
  334. package/docs/types/Color.html +1 -1
  335. package/docs/types/ContentTypeConfigKey.html +1 -1
  336. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  337. package/docs/types/ContentTypeMap.html +1 -1
  338. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  339. package/docs/types/Create3DElementReturnType.html +1 -1
  340. package/docs/types/CruisePluginExportType.html +1 -1
  341. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  342. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  343. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  344. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  345. package/docs/types/DeprecatedTagProperty.html +2 -2
  346. package/docs/types/Direction-1.html +1 -1
  347. package/docs/types/Direction4.html +1 -1
  348. package/docs/types/ElementRenderer.html +2 -2
  349. package/docs/types/FloorplanRuleLabels.html +2 -2
  350. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  351. package/docs/types/GuideLinePluginExportType.html +1 -1
  352. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  353. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  354. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  355. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  356. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  357. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  358. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  359. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  360. package/docs/types/HelperEventMap.html +1 -1
  361. package/docs/types/InternalHelperEventMap.html +1 -1
  362. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  363. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  364. package/docs/types/MeasureEndReason.html +1 -1
  365. package/docs/types/MeasurePluginConfig.html +2 -2
  366. package/docs/types/MediaData.html +2 -2
  367. package/docs/types/MediaStore.html +1 -1
  368. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  369. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  370. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  371. package/docs/types/ModelId.html +1 -1
  372. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  373. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  374. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  375. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  376. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  377. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  378. package/docs/types/MoveArgs.html +2 -2
  379. package/docs/types/MoveOpts.html +2 -2
  380. package/docs/types/Object3DHelperEventMap.html +1 -1
  381. package/docs/types/ObjectFit.html +1 -1
  382. package/docs/types/PaintBrushEventMap.html +1 -1
  383. package/docs/types/PanoCompassPluginData.html +1 -1
  384. package/docs/types/PanoCompassPluginExportType.html +1 -1
  385. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  386. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  387. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  388. package/docs/types/PanoIndex.html +1 -1
  389. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  390. package/docs/types/PanoMeasureReturnType.html +1 -1
  391. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  392. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  393. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  394. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  395. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  396. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  397. package/docs/types/PipelinePluginParameterType.html +1 -1
  398. package/docs/types/PipelinePluginReturnType.html +1 -1
  399. package/docs/types/PlaneTag.html +2 -2
  400. package/docs/types/Point2DTag.html +2 -2
  401. package/docs/types/Point3DTag.html +2 -2
  402. package/docs/types/PointTagInstance.html +1 -1
  403. package/docs/types/Position.html +1 -1
  404. package/docs/types/PositionFrom.html +1 -1
  405. package/docs/types/RotateArgs.html +2 -2
  406. package/docs/types/RotateOpts.html +2 -2
  407. package/docs/types/RuleLabelsKey.html +1 -1
  408. package/docs/types/RuleLabelsValue.html +1 -1
  409. package/docs/types/ScaleCallback.html +1 -1
  410. package/docs/types/ScalePosition.html +2 -2
  411. package/docs/types/SculptData.BoxData.html +1 -1
  412. package/docs/types/SculptData.CircleData.html +1 -1
  413. package/docs/types/SculptData.CylinderData.html +1 -1
  414. package/docs/types/SculptData.PointData.html +1 -1
  415. package/docs/types/SculptData.PolygonData.html +1 -1
  416. package/docs/types/SculptData.PolylineData.html +1 -1
  417. package/docs/types/SculptData.PrismData.html +1 -1
  418. package/docs/types/SculptData.RectangleData.html +1 -1
  419. package/docs/types/SculptType.Theme.html +2 -2
  420. package/docs/types/StickType.html +1 -1
  421. package/docs/types/Tag.html +2 -2
  422. package/docs/types/Tag2D.html +2 -2
  423. package/docs/types/Tag3D.html +2 -2
  424. package/docs/types/TagClickParams.html +1 -1
  425. package/docs/types/TagConfigByKey.html +1 -1
  426. package/docs/types/TagContentType.html +1 -1
  427. package/docs/types/TagContentTypeMapping.html +1 -1
  428. package/docs/types/TagDimensionType.html +1 -1
  429. package/docs/types/TagElement.html +2 -2
  430. package/docs/types/TagEvents.html +1 -1
  431. package/docs/types/TagGLTFObject.html +1 -1
  432. package/docs/types/TagHooks.html +1 -1
  433. package/docs/types/TagId.html +1 -1
  434. package/docs/types/TagInstance.html +1 -1
  435. package/docs/types/TagPlacement.html +2 -2
  436. package/docs/types/TagPointType.html +2 -2
  437. package/docs/types/TagRendererMap.html +1 -1
  438. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  439. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  440. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  441. package/docs/types/Util.AdherePoint.html +2 -2
  442. package/docs/types/Util.PointSelectorConfig.html +1 -1
  443. package/docs/types/WorkCode.html +1 -1
  444. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  445. package/docs/variables/PLUGIN.html +1 -1
  446. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  447. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  448. package/docs/variables/Util.animeMap.html +1 -1
  449. package/docs/variables/defaultGlobalConfig.html +1 -1
  450. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  451. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  452. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  453. package/libs/PanoMeasurePlugin/Controller/WatchController.js +10 -10
  454. package/libs/base/BasePlugin.js +1 -1
  455. package/libs/shared-utils/logger.js +1 -1
  456. package/package.json +1 -1
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(fe,B){typeof exports=="object"&&typeof module!="undefined"?B(exports,require("three"),require("@realsee/five/line"),require("@realsee/five"),require("@realsee/five/gltf-loader")):typeof define=="function"&&define.amd?define(["exports","three","@realsee/five/line","@realsee/five","@realsee/five/gltf-loader"],B):(fe=typeof globalThis!="undefined"?globalThis:fe||self,B(fe.dnalogel={},fe.THREE,fe.FiveSDK_Line,fe.FiveSDK,fe.FiveSDK_GLTFLoader))})(this,function(fe,B,rt,Ye,Wr){"use strict";var hx=Object.defineProperty,ux=Object.defineProperties;var dx=Object.getOwnPropertyDescriptors;var Tl=Object.getOwnPropertySymbols;var t1=Object.prototype.hasOwnProperty,i1=Object.prototype.propertyIsEnumerable;var cs=Math.pow,Cu=(fe,B,rt)=>B in fe?hx(fe,B,{enumerable:!0,configurable:!0,writable:!0,value:rt}):fe[B]=rt,H=(fe,B)=>{for(var rt in B||(B={}))t1.call(B,rt)&&Cu(fe,rt,B[rt]);if(Tl)for(var rt of Tl(B))i1.call(B,rt)&&Cu(fe,rt,B[rt]);return fe},de=(fe,B)=>ux(fe,dx(B));var hs=(fe,B)=>{var rt={};for(var Ye in fe)t1.call(fe,Ye)&&B.indexOf(Ye)<0&&(rt[Ye]=fe[Ye]);if(fe!=null&&Tl)for(var Ye of Tl(fe))B.indexOf(Ye)<0&&i1.call(fe,Ye)&&(rt[Ye]=fe[Ye]);return rt};var d=(fe,B,rt)=>(Cu(fe,typeof B!="symbol"?B+"":B,rt),rt);var ne=(fe,B,rt)=>new Promise((Ye,Wr)=>{var Ll=tn=>{try{_o(rt.next(tn))}catch(Gs){Wr(Gs)}},P=tn=>{try{_o(rt.throw(tn))}catch(Gs){Wr(Gs)}},_o=tn=>tn.done?Ye(tn.value):Promise.resolve(tn.value).then(Ll,P);_o((rt=rt.apply(fe,B)).next())});function Ll(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 P=Ll(B);function _o(){console.debug("%c %c@realsee/dnalogel %cv3.68.3",["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 tn(){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 Gs(){}const Iu=()=>Promise.resolve(),Mu={__queue:Promise.resolve()};function o1(n=Iu){Mu.__queue=Mu.__queue.then(n).catch(Iu)}function Ur(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 zl(n,t,e){const{x:i,y:s}=n,o=i*t,r=s*e;return{x:o,y:r}}function Qr(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 r1(n,t,e=Gs){new Promise(i=>{setTimeout(()=>{e(),i(!0)},t*n)})}const a1=window,ku=window.requestAnimationFrame||a1.webkitRequestAnimationFrame||(n=>setTimeout(n,16));function Xr(n,t=0){t<=0?ku(n):ku(()=>Xr(n,t-1))}var Ti=Object.freeze({Linear:Object.freeze({None:function(n){return n},In:function(n){return n},Out:function(n){return n},InOut:function(n){return 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-Ti.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?Ti.Bounce.In(n*2)*.5:Ti.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}}}}),Ws=function(){return performance.now()},Eu=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=Ws()),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}(),us={Linear:function(n,t){var e=n.length-1,i=e*t,s=Math.floor(i),o=us.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=us.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=us.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=us.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}}},Ol=function(){function n(){}return n.nextId=function(){return n._nextId++},n._nextId=0,n}(),jl=new Eu,Yr=function(){function n(t,e){e===void 0&&(e=jl),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=Ti.Linear.None,this._interpolationFunction=us.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._id=Ol.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=Ws()),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 g=this._handleRelativeValue(a,u[m]);if(isNaN(g)){h=!1,console.warn("Found invalid interpolation list. Skipping.");break}f.push(g)}h&&(i[r]=f)}if((c==="object"||l)&&a&&!h){e[r]=l?[]:{};var v=a;for(var A in v)e[r][A]=v[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(v,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=Ws()),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=Ws()),!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=jl),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=Ti.Linear.None),this._easingFunction=t,this},n.prototype.interpolation=function(t){return t===void 0&&(t=us.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=Ws()),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 v=Math.trunc(a/l),A=a-v*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,g=this._chainedTweens.length;p<g;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}(),l1="23.1.3",c1=Ol.nextId,Ni=jl,h1=Ni.getAll.bind(Ni),u1=Ni.removeAll.bind(Ni),d1=Ni.add.bind(Ni),xu=Ni.remove.bind(Ni),f1=Ni.update.bind(Ni),Su={Easing:Ti,Group:Eu,Interpolation:us,now:Ws,Sequence:Ol,nextId:c1,Tween:Yr,VERSION:l1,getAll:h1,removeAll:u1,add:d1,remove:xu,update:f1};function p1(n,t,e,i=Ti.Linear.None){const s=new Yr(n).to(t,e).easing(i).start();function o(r){s.update(r)&&requestAnimationFrame(o)}return requestAnimationFrame(o),s}var nn=(n=>(n.Drawline="Drawline",n.Undo="Undo",n.Exit="Exit",n))(nn||{});const Ro=Symbol("$$PAINT_BRUSH_EVENT$$");function Zr(n){return n[Ro]||(n[Ro]={}),n[Ro]}function g1(n){n[Ro]||delete n[Ro]}let m1=class{hasListener(t){const e=Zr(this);return e&&e[t]&&e[t].length>0}on(t,e,i){const s=Zr(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){g1(this);return}const i=Zr(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=Zr(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 En(){return((1+Math.random())*65536|0).toString(16).substring(1)}function xt(){return(En()+En()+"-"+En()+"-4"+En().substr(0,3)+"-"+En()+"-"+En()+En()+En()).toLowerCase()}const v1=`
1
+ (function(fe,B){typeof exports=="object"&&typeof module!="undefined"?B(exports,require("three"),require("@realsee/five/line"),require("@realsee/five"),require("@realsee/five/gltf-loader")):typeof define=="function"&&define.amd?define(["exports","three","@realsee/five/line","@realsee/five","@realsee/five/gltf-loader"],B):(fe=typeof globalThis!="undefined"?globalThis:fe||self,B(fe.dnalogel={},fe.THREE,fe.FiveSDK_Line,fe.FiveSDK,fe.FiveSDK_GLTFLoader))})(this,function(fe,B,rt,Ye,Wr){"use strict";var hx=Object.defineProperty,ux=Object.defineProperties;var dx=Object.getOwnPropertyDescriptors;var Tl=Object.getOwnPropertySymbols;var t1=Object.prototype.hasOwnProperty,i1=Object.prototype.propertyIsEnumerable;var cs=Math.pow,Cu=(fe,B,rt)=>B in fe?hx(fe,B,{enumerable:!0,configurable:!0,writable:!0,value:rt}):fe[B]=rt,H=(fe,B)=>{for(var rt in B||(B={}))t1.call(B,rt)&&Cu(fe,rt,B[rt]);if(Tl)for(var rt of Tl(B))i1.call(B,rt)&&Cu(fe,rt,B[rt]);return fe},de=(fe,B)=>ux(fe,dx(B));var hs=(fe,B)=>{var rt={};for(var Ye in fe)t1.call(fe,Ye)&&B.indexOf(Ye)<0&&(rt[Ye]=fe[Ye]);if(fe!=null&&Tl)for(var Ye of Tl(fe))B.indexOf(Ye)<0&&i1.call(fe,Ye)&&(rt[Ye]=fe[Ye]);return rt};var d=(fe,B,rt)=>(Cu(fe,typeof B!="symbol"?B+"":B,rt),rt);var ne=(fe,B,rt)=>new Promise((Ye,Wr)=>{var Ll=tn=>{try{_o(rt.next(tn))}catch(Gs){Wr(Gs)}},P=tn=>{try{_o(rt.throw(tn))}catch(Gs){Wr(Gs)}},_o=tn=>tn.done?Ye(tn.value):Promise.resolve(tn.value).then(Ll,P);_o((rt=rt.apply(fe,B)).next())});function Ll(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 P=Ll(B);function _o(){console.debug("%c %c@realsee/dnalogel %cv3.68.4",["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 tn(){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 Gs(){}const Iu=()=>Promise.resolve(),Mu={__queue:Promise.resolve()};function o1(n=Iu){Mu.__queue=Mu.__queue.then(n).catch(Iu)}function Ur(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 zl(n,t,e){const{x:i,y:s}=n,o=i*t,r=s*e;return{x:o,y:r}}function Qr(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 r1(n,t,e=Gs){new Promise(i=>{setTimeout(()=>{e(),i(!0)},t*n)})}const a1=window,ku=window.requestAnimationFrame||a1.webkitRequestAnimationFrame||(n=>setTimeout(n,16));function Xr(n,t=0){t<=0?ku(n):ku(()=>Xr(n,t-1))}var Ti=Object.freeze({Linear:Object.freeze({None:function(n){return n},In:function(n){return n},Out:function(n){return n},InOut:function(n){return 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-Ti.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?Ti.Bounce.In(n*2)*.5:Ti.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}}}}),Ws=function(){return performance.now()},Eu=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=Ws()),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}(),us={Linear:function(n,t){var e=n.length-1,i=e*t,s=Math.floor(i),o=us.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=us.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=us.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=us.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}}},Ol=function(){function n(){}return n.nextId=function(){return n._nextId++},n._nextId=0,n}(),jl=new Eu,Yr=function(){function n(t,e){e===void 0&&(e=jl),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=Ti.Linear.None,this._interpolationFunction=us.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._id=Ol.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=Ws()),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 g=this._handleRelativeValue(a,u[m]);if(isNaN(g)){h=!1,console.warn("Found invalid interpolation list. Skipping.");break}f.push(g)}h&&(i[r]=f)}if((c==="object"||l)&&a&&!h){e[r]=l?[]:{};var v=a;for(var A in v)e[r][A]=v[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(v,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=Ws()),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=Ws()),!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=jl),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=Ti.Linear.None),this._easingFunction=t,this},n.prototype.interpolation=function(t){return t===void 0&&(t=us.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=Ws()),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 v=Math.trunc(a/l),A=a-v*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,g=this._chainedTweens.length;p<g;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}(),l1="23.1.3",c1=Ol.nextId,Ni=jl,h1=Ni.getAll.bind(Ni),u1=Ni.removeAll.bind(Ni),d1=Ni.add.bind(Ni),xu=Ni.remove.bind(Ni),f1=Ni.update.bind(Ni),Su={Easing:Ti,Group:Eu,Interpolation:us,now:Ws,Sequence:Ol,nextId:c1,Tween:Yr,VERSION:l1,getAll:h1,removeAll:u1,add:d1,remove:xu,update:f1};function p1(n,t,e,i=Ti.Linear.None){const s=new Yr(n).to(t,e).easing(i).start();function o(r){s.update(r)&&requestAnimationFrame(o)}return requestAnimationFrame(o),s}var nn=(n=>(n.Drawline="Drawline",n.Undo="Undo",n.Exit="Exit",n))(nn||{});const Ro=Symbol("$$PAINT_BRUSH_EVENT$$");function Zr(n){return n[Ro]||(n[Ro]={}),n[Ro]}function g1(n){n[Ro]||delete n[Ro]}let m1=class{hasListener(t){const e=Zr(this);return e&&e[t]&&e[t].length>0}on(t,e,i){const s=Zr(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){g1(this);return}const i=Zr(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=Zr(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 En(){return((1+Math.random())*65536|0).toString(16).substring(1)}function xt(){return(En()+En()+"-"+En()+"-4"+En().substr(0,3)+"-"+En()+"-"+En()+En()+En()).toLowerCase()}const v1=`
2
2
  <style type="text/css">
3
3
 
4
4
  #_gl_paintBrush {
@@ -505,7 +505,7 @@ void main() {
505
505
  svg [type='lineItemGroup'] g g g g {
506
506
  stroke: #ffffff;
507
507
  }</style>
508
- `;return n.$$set=o=>{"content"in o&&e(0,i=o.content)},[i,s]}class wy extends ke{constructor(t){super(),Me(this,t,yy,by,Ie,{content:0},Ay)}}function Py(n){De(n,"svelte-ozpg4a",".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}")}function Cy(n){let t,e;return t=new vy({props:{url:n[1].url}}),{c(){Ae(t.$$.fragment)},m(i,s){me(t,i,s),e=!0},p(i,s){const o={};s&2&&(o.url=i[1].url),t.$set(o)},i(i){e||(N(t.$$.fragment,i),e=!0)},o(i){Y(t.$$.fragment,i),e=!1},d(i){ve(t,i)}}}function Iy(n){let t,e;return t=new wy({props:{content:n[0]}}),{c(){Ae(t.$$.fragment)},m(i,s){me(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.content=i[0]),t.$set(o)},i(i){e||(N(t.$$.fragment,i),e=!0)},o(i){Y(t.$$.fragment,i),e=!1},d(i){ve(t,i)}}}function My(n){let t,e,i,s;const o=[Iy,Cy],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=Q("div"),i&&i.c(),y(t,"class","floorplan-plugin__base-image svelte-ozpg4a")},m(l,c){Z(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&&(Ee(),Y(r[h],1,1,()=>{r[h]=null}),xe()),~e?(i=r[e],i?i.p(l,c):(i=r[e]=o[e](l),i.c()),N(i,1),i.m(t,null)):i=null)},i(l){s||(N(i),s=!0)},o(l){Y(i),s=!1},d(l){l&&X(t),~e&&r[e].d()}}}function ky(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 sf extends ke{constructor(t){super(),Me(this,t,ky,My,Ie,{floorIndex:2,floorplanData:3},Py)}}function Ey(n){De(n,"svelte-2r6702",".floorplan-plugin__item.svelte-2r6702{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__img.svelte-2r6702{width:100%;height:100%}.floorplan-plugin__notes.svelte-2r6702{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0.25rem;line-height:1;border-radius:0.25rem;color:#fff;background:rgba(0,0,0,.6);font-size:0.75rem}")}function xy(n){let t,e,i,s,o,r=n[0].notes+"",a;return{c(){t=Q("div"),e=Q("img"),s=ae(),o=Q("span"),a=_e(r),y(e,"class","floorplan-plugin__img svelte-2r6702"),vt(e.src,i=n[6])||y(e,"src",i),y(e,"alt",""),U(e,"transform",n[5]),y(o,"class","floorplan-plugin__notes svelte-2r6702"),y(t,"class","floorplan-plugin__item svelte-2r6702"),U(t,"left",n[1]),U(t,"top",n[2]),U(t,"width",n[3]),U(t,"height",n[4])},m(l,c){Z(l,t,c),j(t,e),j(t,s),j(t,o),j(o,a)},p(l,[c]){c&1&&r!==(r=l[0].notes+"")&&Ge(a,r)},i:re,o:re,d(l){l&&X(t)}}}function Sy(n,t,e){let{item:i}=t;const s=i.positionInImage.x*100+"%",o=i.positionInImage.y*100+"%",r=i.width*100+"%",a=i.height*100+"%",l=`rotate(${i.rotateZ}deg) scaleX(${i.rotateX?-1:1}) scaleY(${i.rotateY?-1:1})`,c=i.src;return n.$$set=h=>{"item"in h&&e(0,i=h.item)},[i,s,o,r,a,l,c]}class Dy extends ke{constructor(t){super(),Me(this,t,Sy,xy,Ie,{item:0},Ey)}}function Ty(n){De(n,"svelte-1c5mqz0",".floorplan-plugin__room-items.svelte-1c5mqz0{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}")}function of(n,t,e){const i=n.slice();return i[6]=t[e],i}function rf(n){let t,e=[],i=new Map,s,o,r,a=n[1];const l=c=>c[6].id;for(let c=0;c<a.length;c+=1){let h=of(n,a,c),u=l(h);i.set(u,e[c]=af(u,h))}return{c(){t=Q("div");for(let c=0;c<e.length;c+=1)e[c].c();y(t,"class","floorplan-plugin__room-items svelte-1c5mqz0")},m(c,h){Z(c,t,h);for(let u=0;u<e.length;u+=1)e[u]&&e[u].m(t,null);s=!0,o||(r=[Ii(fn.call(null,t)),Ve(t,"clientWidth",n[4])],o=!0)},p(c,h){h&2&&(a=c[1],Ee(),e=ki(e,h,l,1,c,a,i,t,dn,af,null,of),xe())},i(c){if(!s){for(let h=0;h<a.length;h+=1)N(e[h]);s=!0}},o(c){for(let h=0;h<e.length;h+=1)Y(e[h]);s=!1},d(c){c&&X(t);for(let h=0;h<e.length;h+=1)e[h].d();o=!1,gt(r)}}}function af(n,t){let e,i,s;const o=[{item:t[6]}];let r={};for(let a=0;a<o.length;a+=1)r=St(r,o[a]);return i=new Dy({props:r}),{key:n,first:null,c(){e=We(),Ae(i.$$.fragment),this.first=e},m(a,l){Z(a,e,l),me(i,a,l),s=!0},p(a,l){t=a;const c=l&2?jt(o,[{item:t[6]}]):{};i.$set(c)},i(a){s||(N(i.$$.fragment,a),s=!0)},o(a){Y(i.$$.fragment,a),s=!1},d(a){a&&X(e),ve(i,a)}}}function Ly(n){let t,e,i=n[1]&&rf(n);return{c(){i&&i.c(),t=We()},m(s,o){i&&i.m(s,o),Z(s,t,o),e=!0},p(s,[o]){s[1]?i?(i.p(s,o),o&2&&N(i,1)):(i=rf(s),i.c(),N(i,1),i.m(t.parentNode,t)):i&&(Ee(),Y(i,1,1,()=>{i=null}),xe())},i(s){e||(N(i),e=!0)},o(s){Y(i),e=!1},d(s){i&&i.d(s),s&&X(t)}}}function zy(n,t,e){let i,{floorIndex:s}=t,{floorplanData:o}=t,r=0;const a=l=>{e(0,r=l.detail)};return n.$$set=l=>{"floorIndex"in l&&e(2,s=l.floorIndex),"floorplanData"in l&&e(3,o=l.floorplanData)},n.$$.update=()=>{if(n.$$.dirty&12&&e(1,i=o.floorDatas[s].items),n.$$.dirty&9){const{max:l,min:c}=o.bounding;l.x-c.x}},[r,i,s,o,a]}class Oy extends ke{constructor(t){super(),Me(this,t,zy,Ly,Ie,{floorIndex:2,floorplanData:3},Ty)}}function jy(n){De(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 Vy(n){let t,e=n[18].outerHTML+"",i;return{c(){t=new ma(!1),i=We(),t.a=i},m(s,o){t.m(e,s,o),Z(s,i,o)},p(s,o){o[0]&262144&&e!==(e=s[18].outerHTML+"")&&t.p(e)},d(s){s&&X(i),s&&t.d()}}}function By(n){let t,e,i,s,o,r,a=n[1]&&lf(n),l=n[0]&&cf(n),c=n[3]&&hf(n);return{c(){t=Q("div"),a&&a.c(),e=ae(),l&&l.c(),i=ae(),c&&c.c(),s=We(),y(t,"class","floorplan-plugin__room-part1 svelte-9vzn2f"),U(t,"opacity",n[14]?"1":"0")},m(h,u){Z(h,t,u),a&&a.m(t,null),j(t,e),l&&l.m(t,null),Z(h,i,u),c&&c.m(h,u),Z(h,s,u),o||(r=[Ii(fn.call(null,t)),Ve(t,"clientWidth",n[35]),Ve(t,"clientHeight",n[36])],o=!0)},p(h,u){h[1]?a?a.p(h,u):(a=lf(h),a.c(),a.m(t,e)):a&&(a.d(1),a=null),h[0]?l?l.p(h,u):(l=cf(h),l.c(),l.m(t,null)):l&&(l.d(1),l=null),u[0]&16384&&U(t,"opacity",h[14]?"1":"0"),h[3]?c?c.p(h,u):(c=hf(h),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},d(h){h&&X(t),a&&a.d(),l&&l.d(),h&&X(i),c&&c.d(h),h&&X(s),o=!1,gt(r)}}}function lf(n){let t,e=(n[2]?n[4].name:n[4].roomType==="100900000012"?n[4].customizedName:n[4].name)+"",i;return{c(){t=Q("span"),i=_e(e),y(t,"class","floorplan-plugin__room-name"),U(t,"font-size",n[11])},m(s,o){Z(s,t,o),j(t,i)},p(s,o){o[0]&20&&e!==(e=(s[2]?s[4].name:s[4].roomType==="100900000012"?s[4].customizedName:s[4].name)+"")&&Ge(i,e),o[0]&2048&&U(t,"font-size",s[11])},d(s){s&&X(t)}}}function cf(n){let t,e;return{c(){t=Q("span"),e=_e(n[17]),y(t,"class","floorplan-plugin__room-area svelte-9vzn2f"),U(t,"font-size",n[10])},m(i,s){Z(i,t,s),j(t,e)},p(i,s){s[0]&131072&&Ge(e,i[17]),s[0]&1024&&U(t,"font-size",i[10])},d(i){i&&X(t)}}}function hf(n){let t,e;return{c(){t=Q("span"),e=_e(n[16]),y(t,"class","floorplan-plugin__room-size"),U(t,"font-size",n[10]),U(t,"opacity",n[13]?"0.6":"0")},m(i,s){Z(i,t,s),j(t,e)},p(i,s){s[0]&65536&&Ge(e,i[16]),s[0]&1024&&U(t,"font-size",i[10]),s[0]&8192&&U(t,"opacity",i[13]?"0.6":"0")},d(i){i&&X(t)}}}function _y(n){let t,e,i;function s(a,l){if(a[5]===void 0)return By;if(a[18])return Vy}let o=s(n),r=o&&o(n);return{c(){t=Q("div"),r&&r.c(),y(t,"class","floorplan-plugin__room-label-item svelte-9vzn2f"),U(t,"left",n[19]),U(t,"top",n[20]),U(t,"font-size",n[11]),U(t,"opacity",n[15]?"1":"0"),U(t,"transform",n[12]?"translate(-50%, calc(-50% + 6px))":"translate(-50%, -50%)")},m(a,l){Z(a,t,l),r&&r.m(t,null),e||(i=[Ii(fn.call(null,t)),Ve(t,"clientWidth",n[37]),Ve(t,"clientHeight",n[38])],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]&2048&&U(t,"font-size",a[11]),l[0]&32768&&U(t,"opacity",a[15]?"1":"0"),l[0]&4096&&U(t,"transform",a[12]?"translate(-50%, calc(-50% + 6px))":"translate(-50%, -50%)")},i:re,o:re,d(a){a&&X(t),r&&r.d(),e=!1,gt(i)}}}function Ry(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 Fy(n,t,e){let i,s,o,r,a,l,c,h,u,f,m,p,g,v,A,w,{pxmm:k}=t,{roomAreaEnable:E}=t,{roomNameEnable:L}=t,{roomNameOtherTypeEnable:D}=t,{roomDimensionEnable:F}=t,{room:z}=t,{hoveredRoom:_}=t,{getRoomAreaText:b}=t,{getRoomDimensionText:C}=t,{getLabelElement:I}=t,{adaptiveRoomLabelVisibleEnable:M}=t,{fontSize:S}=t;function T(he,ze){if(ze.width===0||ze.height===0)return()=>!1;const ee=he.path.map(({x:Ze,y:Je})=>[Ze,Je]),Se=he.roomLabel.position,{x:Be,y:be}=Se,{width:Re,height:pe}=ze,Ce=Re/2,Oe=pe/2;return function(Je){const ht=Be*Je,$e=be*Je,et=ee.map(([lt,Bt])=>[lt*Je,Bt*Je]);return[[ht+Ce,$e-Oe],[ht-Ce,$e-Oe],[ht-Ce,$e+Oe],[ht+Ce,$e+Oe]].every(lt=>Ry(lt,et))}}const G=z.roomLabel,V=G.positionInImage.x*100+"%",J=G.positionInImage.y*100+"%";let te=0,$=0,oe=0,ie=0,ce=!1;_.subscribe(function(ze){e(27,ce=!!ze&&ze.id===z.id)});const Te=he=>{e(8,oe=he.detail)},ue=he=>{e(9,ie=he.detail)},Le=he=>{e(6,te=he.detail)},ge=he=>{e(7,$=he.detail)};return n.$$set=he=>{"pxmm"in he&&e(21,k=he.pxmm),"roomAreaEnable"in he&&e(0,E=he.roomAreaEnable),"roomNameEnable"in he&&e(1,L=he.roomNameEnable),"roomNameOtherTypeEnable"in he&&e(2,D=he.roomNameOtherTypeEnable),"roomDimensionEnable"in he&&e(3,F=he.roomDimensionEnable),"room"in he&&e(4,z=he.room),"hoveredRoom"in he&&e(22,_=he.hoveredRoom),"getRoomAreaText"in he&&e(23,b=he.getRoomAreaText),"getRoomDimensionText"in he&&e(24,C=he.getRoomDimensionText),"getLabelElement"in he&&e(5,I=he.getLabelElement),"adaptiveRoomLabelVisibleEnable"in he&&e(25,M=he.adaptiveRoomLabelVisibleEnable),"fontSize"in he&&e(26,S=he.fontSize)},n.$$.update=()=>{var he,ze;n.$$.dirty[0]&67108864&&e(28,i=ka[S]),n.$$.dirty[0]&48&&e(18,s=I==null?void 0:I(z)),n.$$.dirty[0]&8388624&&e(17,o=z.size?b(z.size):""),n.$$.dirty[0]&16777232&&e(16,r=z!=null&&z.dimension?C((he=z.dimension)==null?void 0:he.width,(ze=z.dimension)==null?void 0:ze.height):""),n.$$.dirty[0]&768&&e(34,a={width:oe,height:ie}),n.$$.dirty[0]&16|n.$$.dirty[1]&8&&e(33,l=a?T(z,a):void 0),n.$$.dirty[0]&35651584|n.$$.dirty[1]&4&&e(30,c=M?!!(l!=null&&l(k)):!0),n.$$.dirty[0]&192&&e(32,h={width:te,height:$}),n.$$.dirty[0]&16|n.$$.dirty[1]&2&&e(31,u=h?T(z,h):void 0),n.$$.dirty[0]&35651584|n.$$.dirty[1]&1&&e(29,f=M?!!(u!=null&&u(k)):!0),n.$$.dirty[0]&1744830464&&e(15,m=f||c||ce),n.$$.dirty[0]&1207959552&&e(14,p=c||ce),n.$$.dirty[0]&671088640&&e(13,g=f||ce),n.$$.dirty[0]&1610612736&&e(12,v=c&&!f),n.$$.dirty[0]&268435456&&e(11,A=Gt((i==null?void 0:i.name)||12)),n.$$.dirty[0]&268435456&&e(10,w=Gt((i==null?void 0:i.area)||10))},[E,L,D,F,z,I,te,$,oe,ie,w,A,v,g,p,m,r,o,s,V,J,k,_,b,C,M,S,ce,i,f,c,u,h,l,a,Te,ue,Le,ge]}class Ny extends ke{constructor(t){super(),Me(this,t,Fy,_y,Ie,{pxmm:21,roomAreaEnable:0,roomNameEnable:1,roomNameOtherTypeEnable:2,roomDimensionEnable:3,room:4,hoveredRoom:22,getRoomAreaText:23,getRoomDimensionText:24,getLabelElement:5,adaptiveRoomLabelVisibleEnable:25,fontSize:26},jy,[-1,-1])}}function Hy(n){De(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 uf(n,t,e){const i=n.slice();return i[17]=t[e],i}function df(n){let t,e=[],i=new Map,s,o,r,a=n[12];const l=c=>c[17].id;for(let c=0;c<a.length;c+=1){let h=uf(n,a,c),u=l(h);i.set(u,e[c]=ff(u,h))}return{c(){t=Q("div");for(let c=0;c<e.length;c+=1)e[c].c();y(t,"class","floorplan-plugin__room-labels svelte-13xux0b")},m(c,h){Z(c,t,h);for(let u=0;u<e.length;u+=1)e[u]&&e[u].m(t,null);s=!0,o||(r=[Ii(fn.call(null,t)),Ve(t,"clientWidth",n[15])],o=!0)},p(c,h){h&7679&&(a=c[12],Ee(),e=ki(e,h,l,1,c,a,i,t,dn,ff,null,uf),xe())},i(c){if(!s){for(let h=0;h<a.length;h+=1)N(e[h]);s=!0}},o(c){for(let h=0;h<e.length;h+=1)Y(e[h]);s=!1},d(c){c&&X(t);for(let h=0;h<e.length;h+=1)e[h].d();o=!1,gt(r)}}}function ff(n,t){let e,i,s;const o=[{pxmm:t[10],room:t[17],hoveredRoom:t[4],roomAreaEnable:t[0],roomNameEnable:t[1],roomNameOtherTypeEnable:t[2],roomDimensionEnable:t[3],getLabelElement:t[7],getRoomAreaText:t[5],getRoomDimensionText:t[6],adaptiveRoomLabelVisibleEnable:t[8],fontSize:t[11]}];let r={};for(let a=0;a<o.length;a+=1)r=St(r,o[a]);return i=new Ny({props:r}),{key:n,first:null,c(){e=We(),Ae(i.$$.fragment),this.first=e},m(a,l){Z(a,e,l),me(i,a,l),s=!0},p(a,l){t=a;const c=l&7679?jt(o,[{pxmm:t[10],room:t[17],hoveredRoom:t[4],roomAreaEnable:t[0],roomNameEnable:t[1],roomNameOtherTypeEnable:t[2],roomDimensionEnable:t[3],getLabelElement:t[7],getRoomAreaText:t[5],getRoomDimensionText:t[6],adaptiveRoomLabelVisibleEnable:t[8],fontSize:t[11]}]):{};i.$set(c)},i(a){s||(N(i.$$.fragment,a),s=!0)},o(a){Y(i.$$.fragment,a),s=!1},d(a){a&&X(e),ve(i,a)}}}function Gy(n){let t,e,i=n[12]&&df(n);return{c(){i&&i.c(),t=We()},m(s,o){i&&i.m(s,o),Z(s,t,o),e=!0},p(s,[o]){s[12]?i?(i.p(s,o),o&4096&&N(i,1)):(i=df(s),i.c(),N(i,1),i.m(t.parentNode,t)):i&&(Ee(),Y(i,1,1,()=>{i=null}),xe())},i(s){e||(N(i),e=!0)},o(s){Y(i),e=!1},d(s){i&&i.d(s),s&&X(t)}}}function Wy(n,t,e){let i,{floorIndex:s}=t,{roomAreaEnable:o}=t,{roomNameEnable:r}=t,{roomNameOtherTypeEnable:a}=t,{roomDimensionEnable:l}=t,{floorplanData:c}=t,{hoveredRoom:h}=t,{getRoomAreaText:u}=t,{getRoomDimensionText:f}=t,{getLabelElement:m}=t,{adaptiveRoomLabelVisibleEnable:p}=t,g=0,v=0;const A=nr();let w=oo();typeof A=="object"&&"subscribe"in A&&A.subscribe(E=>{e(11,w=E)});const k=E=>{e(9,g=E.detail)};return n.$$set=E=>{"floorIndex"in E&&e(13,s=E.floorIndex),"roomAreaEnable"in E&&e(0,o=E.roomAreaEnable),"roomNameEnable"in E&&e(1,r=E.roomNameEnable),"roomNameOtherTypeEnable"in E&&e(2,a=E.roomNameOtherTypeEnable),"roomDimensionEnable"in E&&e(3,l=E.roomDimensionEnable),"floorplanData"in E&&e(14,c=E.floorplanData),"hoveredRoom"in E&&e(4,h=E.hoveredRoom),"getRoomAreaText"in E&&e(5,u=E.getRoomAreaText),"getRoomDimensionText"in E&&e(6,f=E.getRoomDimensionText),"getLabelElement"in E&&e(7,m=E.getLabelElement),"adaptiveRoomLabelVisibleEnable"in E&&e(8,p=E.adaptiveRoomLabelVisibleEnable)},n.$$.update=()=>{if(n.$$.dirty&24576&&e(12,i=c.floorDatas[s].rooms),n.$$.dirty&16896){const{max:E,min:L}=c.bounding,D=E.x-L.x;e(10,v=g/D)}},[o,r,a,l,h,u,f,m,p,g,v,w,i,s,c,k]}class Uy extends ke{constructor(t){super(),Me(this,t,Wy,Gy,Ie,{floorIndex:13,roomAreaEnable:0,roomNameEnable:1,roomNameOtherTypeEnable:2,roomDimensionEnable:3,floorplanData:14,hoveredRoom:4,getRoomAreaText:5,getRoomDimensionText:6,getLabelElement:7,adaptiveRoomLabelVisibleEnable:8},Hy)}}function Qy(n){De(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 pf(n,t,e){const i=n.slice();return i[11]=t[e],i[13]=e,i}function gf(n,t,e){const i=n.slice();return i[14]=t[e],i}function mf(n){let t;return{c(){t=Q("div"),y(t,"class","floorplan-plugin__rule-scale svelte-1fuyezq"),U(t,"left",n[14].left*100+"%"),U(t,"bottom",n[14].bottom*100+"%")},m(e,i){Z(e,t,i)},p:re,d(e){e&&X(t)}}}function vf(n,t){let e,i,s=t[1](t[11].distance)+"",o,r;return{key:n,first:null,c(){e=Q("div"),i=Q("div"),o=_e(s),r=ae(),y(i,"class","floorplan-plugin__rule-text svelte-1fuyezq"),Pe(i,"is-row",t[2]),y(e,"class","floorplan-plugin__rule-text-item svelte-1fuyezq"),U(e,"left",t[11].left*100+"%"),U(e,"bottom",t[11].bottom*100+"%"),this.first=e},m(a,l){Z(a,e,l),j(e,i),j(i,o),j(e,r)},p(a,l){t=a,l&2&&s!==(s=t[1](t[11].distance)+"")&&Ge(o,s)},d(a){a&&X(e)}}}function Xy(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]=mf(gf(n,h,p));let f=n[4];const m=p=>p[13];for(let p=0;p<f.length;p+=1){let g=pf(n,f,p),v=m(g);l.set(v,a[p]=vf(v,g))}return{c(){t=Q("div"),e=Q("div"),i=ae(),s=Q("div");for(let p=0;p<u.length;p+=1)u[p].c();o=ae(),r=Q("div");for(let p=0;p<a.length;p+=1)a[p].c();y(e,"class","floorplan-plugin__rule-line svelte-1fuyezq"),y(s,"class","floorplan-plugin__rule-scale-wrapper svelte-1fuyezq"),Pe(s,"is-row",n[2]),y(r,"class","floorplan-plugin__rule-text-wrapper svelte-1fuyezq"),y(t,"class",c="floorplan-plugin__rule-labels floorplan-plugin__rule-labels--"+n[0]+" svelte-1fuyezq"),Pe(t,"is-row",n[2]),U(t,"width",n[2]?"100%":1/16+"rem"),U(t,"height",n[2]?1/16+"rem":"100%")},m(p,g){Z(p,t,g),j(t,e),j(t,i),j(t,s);for(let v=0;v<u.length;v+=1)u[v]&&u[v].m(s,null);j(t,o),j(t,r);for(let v=0;v<a.length;v+=1)a[v]&&a[v].m(r,null)},p(p,[g]){if(g&8){h=p[3];let v;for(v=0;v<h.length;v+=1){const A=gf(p,h,v);u[v]?u[v].p(A,g):(u[v]=mf(A),u[v].c(),u[v].m(s,null))}for(;v<u.length;v+=1)u[v].d(1);u.length=h.length}g&22&&(f=p[4],a=ki(a,g,m,1,p,f,l,r,kc,vf,null,pf)),g&1&&c!==(c="floorplan-plugin__rule-labels floorplan-plugin__rule-labels--"+p[0]+" svelte-1fuyezq")&&y(t,"class",c),g&5&&Pe(t,"is-row",p[2])},i:re,o:re,d(p){p&&X(t),vi(u,p);for(let g=0;g<a.length;g+=1)a[g].d()}}}const co=1e3,ho=180;function Yy(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-(co-ho)*2,c=o.max.y-o.min.y-(co-ho)*2,h=s.map(([p,g])=>a?[p.x,g.x]:[p.y,g.y]).flat().sort().filter((p,g,v)=>g===0?!0:p!==v[g-1]),u=h.map(p=>{const g=a?(p-o.min.x-co+ho)/l:0,v=a?0:(p-o.min.y-co+ho)/c;return{left:g,bottom:v}});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,g,v)=>{const A=g===0?0:p-v[g-1],w=g===0?0:(p+v[g-1])/2,k=a?(w-o.min.x-co+ho)/l:0,E=a?0:(w-o.min.y-co+ho)/c;return{left:k,bottom:E,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 Zy extends ke{constructor(t){super(),Me(this,t,Yy,Xy,Ie,{type:0,data:5,bounding:6,getRuleDistanceText:1},Qy)}}function qy(n){De(n,"svelte-1mzj9p3",".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}")}function Af(n,t,e){const i=n.slice();return i[13]=t[e][0],i[14]=t[e][1],i}function bf(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=St(r,o[a]);return i=new Zy({props:r}),{key:n,first:null,c(){e=We(),Ae(i.$$.fragment),this.first=e},m(a,l){Z(a,e,l),me(i,a,l),s=!0},p(a,l){t=a;const c=l&19?jt(o,[{type:t[13],data:t[14],bounding:t[1],getRuleDistanceText:t[0]}]):{};i.$set(c)},i(a){s||(N(i.$$.fragment,a),s=!0)},o(a){Y(i.$$.fragment,a),s=!1},d(a){a&&X(e),ve(i,a)}}}function Jy(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=Af(n,o,a),c=r(l);i.set(c,e[a]=bf(c,l))}return{c(){t=Q("div");for(let a=0;a<e.length;a+=1)e[a].c();y(t,"class","floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"),U(t,"width",n[3]),U(t,"height",n[2])},m(a,l){Z(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],Ee(),e=ki(e,l,r,1,a,o,i,t,dn,bf,null,Af),xe()),l&8&&U(t,"width",a[3]),l&4&&U(t,"height",a[2])},i(a){if(!s){for(let l=0;l<o.length;l+=1)N(e[l]);s=!0}},o(a){for(let l=0;l<e.length;l+=1)Y(e[l]);s=!1},d(a){a&&X(t);for(let l=0;l<e.length;l+=1)e[l].d()}}}const yf=1e3,wf=180;function Ky(n,t,e){let i,s,o,r,a,l,c,h,u,f,{floorIndex:m}=t,{floorplanData:p}=t,{getRuleDistanceText:g}=t;return n.$$set=v=>{"floorIndex"in v&&e(5,m=v.floorIndex),"floorplanData"in v&&e(6,p=v.floorplanData),"getRuleDistanceText"in v&&e(0,g=v.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(v=>[v,s[v]])),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-(yf-wf)*2),n.$$.dirty&2&&e(8,h=i.max.y-i.min.y-(yf-wf)*2),n.$$.dirty&1536&&e(3,u=c/a*100+"%"),n.$$.dirty&384&&e(2,f=h/l*100+"%")},[g,i,f,u,r,m,p,l,h,a,c,s,o]}class $y extends ke{constructor(t){super(),Me(this,t,Ky,Jy,Ie,{floorIndex:5,floorplanData:6,getRuleDistanceText:0},qy)}}function Rn(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 Pf({x:n,y:t},e){const{max:i,min:s}=e;return{x:n-s.x,y:i.y-t}}function ew(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 tw(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 iw(n,t){return Math.max(...t.work.observers.map(i=>n.z>=i.standingPosition.z?i.floorIndex:0))}function nw(n){let t;return{c(){t=we("path"),y(t,"d",n[0]),y(t,"fill","#2F313A")},m(e,i){Z(e,t,i)},p(e,[i]){i&1&&y(t,"d",e[0])},i:re,o:re,d(e){e&&X(t)}}}function sw(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=Rn(s,{needZ:!0}))},[i,s]}class ow extends ke{constructor(t){super(),Me(this,t,sw,nw,Ie,{path:1})}}function rw(n){let t,e,i,s,o,r;return{c(){t=we("defs"),e=we("pattern"),i=we("rect"),s=we("path"),o=ae(),r=we("path"),y(i,"x","0"),y(i,"y","0"),y(i,"width",n[1]),y(i,"height",n[1]),y(i,"fill","#323747"),y(s,"d",n[2]),y(s,"stroke","#ffffff"),y(s,"stroke-opacity","0.06"),y(s,"stroke-width","0.5"),y(s,"fill","none"),y(e,"id","fpm-room-pattern-0"),y(e,"x","0"),y(e,"y","0"),y(e,"width",n[1]),y(e,"height",n[1]),y(e,"patternUnits","userSpaceOnUse"),y(e,"patternTransform","scale(50 50)"),y(r,"d",n[0]),y(r,"fill","url(#fpm-room-pattern-0)")},m(a,l){Z(a,t,l),j(t,e),j(e,i),j(e,s),Z(a,o,l),Z(a,r,l)},p(a,[l]){l&1&&y(r,"d",a[0])},i:re,o:re,d(a){a&&X(t),a&&X(o),a&&X(r)}}}const Dc=6;function aw(n,t,e){let i,{path:s}=t;const o=Dc*2,r=`M0 ${Dc} h ${o} M${Dc} 0 v ${o}`;return n.$$set=a=>{"path"in a&&e(3,s=a.path)},n.$$.update=()=>{n.$$.dirty&8&&e(0,i=Rn(s,{needZ:!0}))},[i,o,r,s]}class lw extends ke{constructor(t){super(),Me(this,t,aw,rw,Ie,{path:3})}}function cw(n){let t,e,i,s,o,r,a,l,c,h,u;return{c(){t=we("defs"),e=we("pattern"),i=we("rect"),s=we("pattern"),o=we("rect"),r=ae(),a=we("path"),l=ae(),c=we("path"),h=ae(),u=we("path"),y(i,"x","0"),y(i,"y","0"),y(i,"width","6"),y(i,"height","50"),y(i,"fill","none"),y(i,"stroke","#4B4B57"),y(i,"stroke-width","0.5"),y(e,"id","room-material-pattern-1"),y(e,"x","0"),y(e,"y","0"),y(e,"width","12"),y(e,"height","50"),y(e,"patternUnits","userSpaceOnUse"),y(e,"patternTransform","scale(50 50)"),y(o,"x","0"),y(o,"y","0"),y(o,"width","6"),y(o,"height","50"),y(o,"fill","none"),y(o,"stroke","#4B4B57"),y(o,"stroke-width","0.5"),y(s,"id","room-material-pattern-2"),y(s,"x","6"),y(s,"y","25"),y(s,"width","12"),y(s,"height","50"),y(s,"patternUnits","userSpaceOnUse"),y(s,"patternTransform","scale(50 50)"),y(a,"d",n[0]),y(a,"fill","#43434D"),y(c,"d",n[0]),y(c,"fill","url(#room-material-pattern-1)"),y(u,"d",n[0]),y(u,"fill","url(#room-material-pattern-2)")},m(f,m){Z(f,t,m),j(t,e),j(e,i),j(t,s),j(s,o),Z(f,r,m),Z(f,a,m),Z(f,l,m),Z(f,c,m),Z(f,h,m),Z(f,u,m)},p(f,[m]){m&1&&y(a,"d",f[0]),m&1&&y(c,"d",f[0]),m&1&&y(u,"d",f[0])},i:re,o:re,d(f){f&&X(t),f&&X(r),f&&X(a),f&&X(l),f&&X(c),f&&X(h),f&&X(u)}}}function hw(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=Rn(s,{needZ:!0}))},[i,s]}class uw extends ke{constructor(t){super(),Me(this,t,hw,cw,Ie,{path:1})}}function dw(n){let t;return{c(){t=we("path"),y(t,"d",n[0]),y(t,"fill","#969696"),y(t,"stroke","#969696"),y(t,"stroke-width","1"),y(t,"fill-rule","evenodd")},m(e,i){Z(e,t,i)},p:re,i:re,o:re,d(e){e&&X(t)}}}function fw(n,t,e){let{dimension:i}=t;const s=Rn([{x:i.vertical[1].x,y:i.vertical[1].y+53},{x:i.vertical[1].x-60,y:i.vertical[1].y+124},{x:i.vertical[1].x+60,y:i.vertical[1].y+124}],{needZ:!0}),o=Rn([{x:i.vertical[0].x,y:i.vertical[0].y-53},{x:i.vertical[0].x-60,y:i.vertical[0].y-124},{x:i.vertical[0].x+60,y:i.vertical[0].y-124}],{needZ:!0}),r=Rn([{x:i.horizontal[0].x+53,y:i.horizontal[0].y},{x:i.horizontal[0].x+124,y:i.horizontal[0].y+60},{x:i.horizontal[0].x+124,y:i.horizontal[0].y-60}],{needZ:!0}),a=Rn([{x:i.horizontal[1].x-53,y:i.horizontal[1].y},{x:i.horizontal[1].x-124,y:i.horizontal[1].y+60},{x:i.horizontal[1].x-124,y:i.horizontal[1].y-60}],{needZ:!0}),l=`${s} ${o} ${r} ${a}`;return n.$$set=c=>{"dimension"in c&&e(1,i=c.dimension)},[l,i]}class pw extends ke{constructor(t){super(),Me(this,t,fw,dw,Ie,{dimension:1})}}function gw(n){De(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 Cf(n,t,e){const i=n.slice();return i[8]=t[e],i}function mw(n){let t,e;return t=new lw({props:{path:n[8].path}}),{c(){Ae(t.$$.fragment)},m(i,s){me(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.path=i[8].path),t.$set(o)},i(i){e||(N(t.$$.fragment,i),e=!0)},o(i){Y(t.$$.fragment,i),e=!1},d(i){ve(t,i)}}}function vw(n){let t,e;return t=new uw({props:{path:n[8].path}}),{c(){Ae(t.$$.fragment)},m(i,s){me(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.path=i[8].path),t.$set(o)},i(i){e||(N(t.$$.fragment,i),e=!0)},o(i){Y(t.$$.fragment,i),e=!1},d(i){ve(t,i)}}}function Aw(n){let t,e;return t=new ow({props:{path:n[8].path}}),{c(){Ae(t.$$.fragment)},m(i,s){me(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.path=i[8].path),t.$set(o)},i(i){e||(N(t.$$.fragment,i),e=!0)},o(i){Y(t.$$.fragment,i),e=!1},d(i){ve(t,i)}}}function If(n){let t,e,i;return e=new pw({props:{dimension:n[8].dimension}}),{c(){t=we("svg"),Ae(e.$$.fragment),y(t,"width","100%"),y(t,"height","100%"),y(t,"viewBox",`0 0 ${n[1]} ${n[2]}`),y(t,"class","svelte-1dykexu")},m(s,o){Z(s,t,o),me(e,t,null),i=!0},p(s,o){const r={};o&1&&(r.dimension=s[8].dimension),e.$set(r)},i(s){i||(N(e.$$.fragment,s),i=!0)},o(s){Y(e.$$.fragment,s),i=!1},d(s){s&&X(t),ve(e)}}}function Mf(n){let t,e,i,s,o=n[3]&&n[8].dimension&&Array.isArray(n[8].dimension.vertical)&&n[8].dimension.vertical.length>0&&Array.isArray(n[8].dimension.horizontal)&&n[8].dimension.horizontal.length>0,r,a;const l=[Aw,vw,mw],c=[];function h(f,m){return f[8].floorType===1?0:f[8].floorType===0?1:2}e=h(n),i=c[e]=l[e](n);let u=o&&If(n);return{c(){t=we("svg"),i.c(),s=ae(),u&&u.c(),r=We(),y(t,"width","100%"),y(t,"height","100%"),y(t,"viewBox",`0 0 ${n[1]} ${n[2]}`),y(t,"class","svelte-1dykexu")},m(f,m){Z(f,t,m),c[e].m(t,null),Z(f,s,m),u&&u.m(f,m),Z(f,r,m),a=!0},p(f,m){let p=e;e=h(f),e===p?c[e].p(f,m):(Ee(),Y(c[p],1,1,()=>{c[p]=null}),xe(),i=c[e],i?i.p(f,m):(i=c[e]=l[e](f),i.c()),N(i,1),i.m(t,null)),m&1&&(o=f[3]&&f[8].dimension&&Array.isArray(f[8].dimension.vertical)&&f[8].dimension.vertical.length>0&&Array.isArray(f[8].dimension.horizontal)&&f[8].dimension.horizontal.length>0),o?u?(u.p(f,m),m&1&&N(u,1)):(u=If(f),u.c(),N(u,1),u.m(r.parentNode,r)):u&&(Ee(),Y(u,1,1,()=>{u=null}),xe())},i(f){a||(N(i),N(u),a=!0)},o(f){Y(i),Y(u),a=!1},d(f){f&&X(t),c[e].d(),f&&X(s),u&&u.d(f),f&&X(r)}}}function bw(n){let t,e,i=n[0],s=[];for(let r=0;r<i.length;r+=1)s[r]=Mf(Cf(n,i,r));const o=r=>Y(s[r],1,1,()=>{s[r]=null});return{c(){t=Q("div");for(let r=0;r<s.length;r+=1)s[r].c();y(t,"class","floorplan-plugin__room-material svelte-1dykexu")},m(r,a){Z(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&15){i=r[0];let l;for(l=0;l<i.length;l+=1){const c=Cf(r,i,l);s[l]?(s[l].p(c,a),N(s[l],1)):(s[l]=Mf(c),s[l].c(),N(s[l],1),s[l].m(t,null))}for(Ee(),l=i.length;l<s.length;l+=1)o(l);xe()}},i(r){if(!e){for(let a=0;a<i.length;a+=1)N(s[a]);e=!0}},o(r){s=s.filter(Boolean);for(let a=0;a<s.length;a+=1)Y(s[a]);e=!1},d(r){r&&X(t),vi(s,r)}}}function yw(n,t,e){let i,{roomLabelsEnable:s}=t,{roomDimensionEnable:o}=t,{floorIndex:r}=t,{floorplanData:a}=t;const l=a.bounding.max.x-a.bounding.min.x,c=a.bounding.max.y-a.bounding.min.y,h=s&&o;return n.$$set=u=>{"roomLabelsEnable"in u&&e(4,s=u.roomLabelsEnable),"roomDimensionEnable"in u&&e(5,o=u.roomDimensionEnable),"floorIndex"in u&&e(6,r=u.floorIndex),"floorplanData"in u&&e(7,a=u.floorplanData)},n.$$.update=()=>{n.$$.dirty&192&&e(0,i=a.floorDatas[r].rooms.map(u=>de(H({},u),{path:u.path.map(f=>Pf(f,a.bounding))})))},[i,l,c,h,s,o,r,a]}class ww extends ke{constructor(t){super(),Me(this,t,yw,bw,Ie,{roomLabelsEnable:4,roomDimensionEnable:5,floorIndex:6,floorplanData:7},gw)}}function Pw(n){De(n,"svelte-qq2273","path.svelte-qq2273{--opacity:0;opacity:var(--opacity)}path.svelte-qq2273:hover{opacity:calc(var(--opacity) + 0.1)}")}function Cw(n){let t,e,i,s;return{c(){t=we("path"),y(t,"d",n[5]),y(t,"fill","#fff"),y(t,"style",n[2]),y(t,"id",e=`${n[1]}_${n[0].id}`),y(t,"class","svelte-qq2273")},m(o,r){Z(o,t,r),i||(s=[Ve(t,"mouseenter",n[3]),Ve(t,"mouseleave",n[4])],i=!0)},p(o,[r]){r&4&&y(t,"style",o[2]),r&3&&e!==(e=`${o[1]}_${o[0].id}`)&&y(t,"id",e)},i:re,o:re,d(o){o&&X(t),i=!1,gt(s)}}}function Iw(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=Rn(o.path,{needZ:!0,format:p=>Pf(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 Mw extends ke{constructor(t){super(),Me(this,t,Iw,Cw,Ie,{room:0,floorIndex:1,floorplanData:6,highlightData:7,hoveredRoom:8},Pw)}}function kw(n){De(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 kf(n,t,e){const i=n.slice();return i[6]=t[e],i}function Ef(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=St(r,o[a]);return i=new Mw({props:r}),{key:n,first:null,c(){e=We(),Ae(i.$$.fragment),this.first=e},m(a,l){Z(a,e,l),me(i,a,l),s=!0},p(a,l){t=a;const c=l&15?jt(o,[{room:t[6],floorplanData:t[1],hoveredRoom:t[3],floorIndex:t[0],highlightData:t[2]}]):{};i.$set(c)},i(a){s||(N(i.$$.fragment,a),s=!0)},o(a){Y(i.$$.fragment,a),s=!1},d(a){a&&X(e),ve(i,a)}}}function Ew(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=kf(n,r,l),h=a(c);s.set(h,i[l]=Ef(h,c))}return{c(){t=Q("div"),e=we("svg");for(let l=0;l<i.length;l+=1)i[l].c();y(e,"width","100%"),y(e,"height","100%"),y(e,"viewBox",`0 0 ${n[4]} ${n[5]}`),y(e,"class","svelte-1kqo6e4"),y(t,"class","floorplan-plugin__room-highlight svelte-1kqo6e4")},m(l,c){Z(l,t,c),j(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,Ee(),i=ki(i,c,a,1,l,r,s,e,dn,Ef,null,kf),xe())},i(l){if(!o){for(let c=0;c<r.length;c+=1)N(i[c]);o=!0}},o(l){for(let c=0;c<i.length;c+=1)Y(i[c]);o=!1},d(l){l&&X(t);for(let c=0;c<i.length;c+=1)i[c].d()}}}function xw(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 xf extends ke{constructor(t){super(),Me(this,t,xw,Ew,Ie,{floorIndex:0,floorplanData:1,highlightData:2,hoveredRoom:3},kw)}}function Sw(n){De(n,"svelte-3vzs9z",".missing-floor.svelte-3vzs9z{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center}.text.svelte-3vzs9z{margin-top:0.75rem;color:#fff;opacity:0.3;white-space:nowrap}")}function Sf(n){let t,e=n[0].text+"",i;return{c(){t=Q("span"),i=_e(e),y(t,"class","text svelte-3vzs9z"),U(t,"font-size",n[0].textFontSize+"px")},m(s,o){Z(s,t,o),j(t,i)},p(s,o){o&1&&e!==(e=s[0].text+"")&&Ge(i,e),o&1&&U(t,"font-size",s[0].textFontSize+"px")},d(s){s&&X(t)}}}function Dw(n){let t,e,i,s,o=n[0].text&&Sf(n);return{c(){t=Q("div"),e=Q("img"),s=ae(),o&&o.c(),y(e,"class","image"),y(e,"alt","缺省楼层展位图"),vt(e.src,i=n[0].imageURL)||y(e,"src",i),U(e,"width",n[0].imageWidth+"px"),U(e,"height",n[0].imageHeight+"px"),U(e,"max-width","none"),y(t,"class","missing-floor svelte-3vzs9z")},m(r,a){Z(r,t,a),j(t,e),j(t,s),o&&o.m(t,null)},p(r,[a]){a&1&&!vt(e.src,i=r[0].imageURL)&&y(e,"src",i),a&1&&U(e,"width",r[0].imageWidth+"px"),a&1&&U(e,"height",r[0].imageHeight+"px"),r[0].text?o?o.p(r,a):(o=Sf(r),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},i:re,o:re,d(r){r&&X(t),o&&o.d()}}}function Tw(n,t,e){let{missingFloorConfig:i}=t;return n.$$set=s=>{"missingFloorConfig"in s&&e(0,i=s.missingFloorConfig)},[i]}class Lw extends ke{constructor(t){super(),Me(this,t,Tw,Dw,Ie,{missingFloorConfig:0},Sw)}}const Fn="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+G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{pointer-events:none;position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17hhq1b{position:absolute;background-repeat:no-repeat;background-size:100%}")}function Ow(n){let t,e;return{c(){t=Q("div"),e=Q("div"),y(e,"class","floorplan__camera-rotate svelte-17hhq1b"),U(e,"background-image",`url(${n[0]||Fn})`),U(e,"width",n[4]),U(e,"height",n[4]),U(e,"left","-"+n[4]),U(e,"top","-"+n[4]),U(e,"transform",`rotate(${n[3]}deg)`),U(e,"transform-origin",`${n[4]} ${n[4]}`),y(t,"class","floorplan__camera-position svelte-17hhq1b"),U(t,"left",n[1]),U(t,"top",n[2])},m(i,s){Z(i,t,s),j(t,e)},p(i,[s]){s&1&&U(e,"background-image",`url(${i[0]||Fn})`);const o=s&1;o&&U(e,"width",i[4]),o&&U(e,"height",i[4]),o&&U(e,"left","-"+i[4]),o&&U(e,"top","-"+i[4]),o&&U(e,"transform",`rotate(${i[3]}deg)`),o&&U(e,"transform-origin",`${i[4]} ${i[4]}`)},i:re,o:re,d(i){i&&X(t)}}}function jw(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=-Ta(o)+45,p=document.body.clientWidth,g=document.body.clientHeight,A=`${(p<500||g<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 Vw=class extends ke{constructor(t){super(),Me(this,t,jw,Ow,Ie,{panoIndex:5,floorplanData:6,lastPanoramaLongitude:7,cameraImageUrl:0},zw)}};const Bw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArUAAAB7CAMAAABdA4ieAAAC91BMVEUAAACOpP/H0P+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0xtDiRpCRfRcvQ4lBfxSnG0OJc/+xTjKHFyVRMP38iDC0O92lZVRhanO+vcVWGFu9BRWkW7+Z3rapEizdy7ZVm8V5Gtr8AtSnix59eOmYAAAAASUVORK5CYII=";function _w(n){De(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 Rw(n){let t,e,i,s,o;return{c(){t=Q("div"),e=Q("div"),i=ae(),s=Q("span"),o=_e(n[0]),y(e,"class","floorplan-plugin__compass-image svelte-rpkaro"),U(e,"background-image",`url(${Bw})`),y(s,"class","floorplan-plugin__compass-text svelte-rpkaro"),y(t,"class","floorplan-plugin__compass svelte-rpkaro"),U(t,"transform",n[2])},m(r,a){Z(r,t,a),j(t,e),j(t,i),j(t,s),j(s,o)},p(r,a){a&1&&Ge(o,r[0])},d(r){r&&X(t)}}}function Fw(n){let t,e=n[1]&&Rw(n);return{c(){e&&e.c(),t=We()},m(i,s){e&&e.m(i,s),Z(i,t,s)},p(i,[s]){i[1]&&e.p(i,s)},i:re,o:re,d(i){e&&e.d(i),i&&X(t)}}}function Nw(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?Ta(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 Hw extends ke{constructor(t){super(),Me(this,t,Nw,Fw,Ie,{floorplanData:3,northDesc:0},_w)}}function Gw(n){De(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 Ww(n){let t,e,i,s,o,r,a,l,c,h,u,f;const m=[{floorIndex:n[2],floorplanData:n[12],roomLabelsEnable:n[6],roomDimensionEnable:n[10]}];let p={};for(let z=0;z<m.length;z+=1)p=St(p,m[z]);t=new ww({props:p});let g=(n[3]||n[5])&&Df(n);const v=[{floorplanData:n[12],floorIndex:n[2]}];let A={};for(let z=0;z<v.length;z+=1)A=St(A,v[z]);s=new sf({props:A});const w=[{floorplanData:n[12],floorIndex:n[2]}];let k={};for(let z=0;z<w.length;z+=1)k=St(k,w[z]);r=new Oy({props:k});let E=n[6]&&Tf(n),L=n[11]&&Lf(n),D=n[4]&&zf(n),F=n[23]&&Of(n);return{c(){Ae(t.$$.fragment),e=ae(),g&&g.c(),i=ae(),Ae(s.$$.fragment),o=ae(),Ae(r.$$.fragment),a=ae(),E&&E.c(),l=ae(),L&&L.c(),c=ae(),D&&D.c(),h=ae(),F&&F.c(),u=We()},m(z,_){me(t,z,_),Z(z,e,_),g&&g.m(z,_),Z(z,i,_),me(s,z,_),Z(z,o,_),me(r,z,_),Z(z,a,_),E&&E.m(z,_),Z(z,l,_),L&&L.m(z,_),Z(z,c,_),D&&D.m(z,_),Z(z,h,_),F&&F.m(z,_),Z(z,u,_),f=!0},p(z,_){const b=_&5188?jt(m,[{floorIndex:z[2],floorplanData:z[12],roomLabelsEnable:z[6],roomDimensionEnable:z[10]}]):{};t.$set(b),z[3]||z[5]?g?(g.p(z,_),_&40&&N(g,1)):(g=Df(z),g.c(),N(g,1),g.m(i.parentNode,i)):g&&(Ee(),Y(g,1,1,()=>{g=null}),xe());const C=_&4100?jt(v,[{floorplanData:z[12],floorIndex:z[2]}]):{};s.$set(C);const I=_&4100?jt(w,[{floorplanData:z[12],floorIndex:z[2]}]):{};r.$set(I),z[6]?E?(E.p(z,_),_&64&&N(E,1)):(E=Tf(z),E.c(),N(E,1),E.m(l.parentNode,l)):E&&(Ee(),Y(E,1,1,()=>{E=null}),xe()),z[11]?L?(L.p(z,_),_&2048&&N(L,1)):(L=Lf(z),L.c(),N(L,1),L.m(c.parentNode,c)):L&&(Ee(),Y(L,1,1,()=>{L=null}),xe()),z[4]?D?(D.p(z,_),_&16&&N(D,1)):(D=zf(z),D.c(),N(D,1),D.m(h.parentNode,h)):D&&(Ee(),Y(D,1,1,()=>{D=null}),xe()),z[23]?F?(F.p(z,_),_&8388608&&N(F,1)):(F=Of(z),F.c(),N(F,1),F.m(u.parentNode,u)):F&&(Ee(),Y(F,1,1,()=>{F=null}),xe())},i(z){f||(N(t.$$.fragment,z),N(g),N(s.$$.fragment,z),N(r.$$.fragment,z),N(E),N(L),N(D),N(F),f=!0)},o(z){Y(t.$$.fragment,z),Y(g),Y(s.$$.fragment,z),Y(r.$$.fragment,z),Y(E),Y(L),Y(D),Y(F),f=!1},d(z){ve(t,z),z&&X(e),g&&g.d(z),z&&X(i),ve(s,z),z&&X(o),ve(r,z),z&&X(a),E&&E.d(z),z&&X(l),L&&L.d(z),z&&X(c),D&&D.d(z),z&&X(h),F&&F.d(z),z&&X(u)}}}function Uw(n){let t,e;return t=new Lw({props:{missingFloorConfig:n[19]}}),{c(){Ae(t.$$.fragment)},m(i,s){me(t,i,s),e=!0},p(i,s){const o={};s&524288&&(o.missingFloorConfig=i[19]),t.$set(o)},i(i){e||(N(t.$$.fragment,i),e=!0)},o(i){Y(t.$$.fragment,i),e=!1},d(i){ve(t,i)}}}function Df(n){let t,e;const i=[{floorIndex:n[2],floorplanData:n[12],hoveredRoom:n[25],highlightData:n[18]}];let s={};for(let o=0;o<i.length;o+=1)s=St(s,i[o]);return t=new xf({props:s}),{c(){Ae(t.$$.fragment)},m(o,r){me(t,o,r),e=!0},p(o,r){const a=r&33820676?jt(i,[{floorIndex:o[2],floorplanData:o[12],hoveredRoom:o[25],highlightData:o[18]}]):{};t.$set(a)},i(o){e||(N(t.$$.fragment,o),e=!0)},o(o){Y(t.$$.fragment,o),e=!1},d(o){ve(t,o)}}}function Tf(n){let t,e;const i=[{floorplanData:n[12],roomAreaEnable:n[7],roomNameEnable:n[8],roomNameOtherTypeEnable:n[9],roomDimensionEnable:n[10],floorIndex:n[2],getRoomAreaText:n[13],getRoomDimensionText:n[14],getLabelElement:n[15],hoveredRoom:n[25],adaptiveRoomLabelVisibleEnable:n[17]}];let s={};for(let o=0;o<i.length;o+=1)s=St(s,i[o]);return t=new Uy({props:s}),{c(){Ae(t.$$.fragment)},m(o,r){me(t,o,r),e=!0},p(o,r){const a=r&33748868?jt(i,[{floorplanData:o[12],roomAreaEnable:o[7],roomNameEnable:o[8],roomNameOtherTypeEnable:o[9],roomDimensionEnable:o[10],floorIndex:o[2],getRoomAreaText:o[13],getRoomDimensionText:o[14],getLabelElement:o[15],hoveredRoom:o[25],adaptiveRoomLabelVisibleEnable:o[17]}]):{};t.$set(a)},i(o){e||(N(t.$$.fragment,o),e=!0)},o(o){Y(t.$$.fragment,o),e=!1},d(o){ve(t,o)}}}function Lf(n){let t,e;const i=[{floorplanData:n[12],floorIndex:n[2],getRuleDistanceText:n[16]}];let s={};for(let o=0;o<i.length;o+=1)s=St(s,i[o]);return t=new $y({props:s}),{c(){Ae(t.$$.fragment)},m(o,r){me(t,o,r),e=!0},p(o,r){const a=r&69636?jt(i,[{floorplanData:o[12],floorIndex:o[2],getRuleDistanceText:o[16]}]):{};t.$set(a)},i(o){e||(N(t.$$.fragment,o),e=!0)},o(o){Y(t.$$.fragment,o),e=!1},d(o){ve(t,o)}}}function zf(n){let t,e;const i=[{panoIndex:n[0],floorplanData:n[12],lastPanoramaLongitude:n[20],cameraImageUrl:n[21]}];let s={};for(let o=0;o<i.length;o+=1)s=St(s,i[o]);return t=new Vw({props:s}),{c(){Ae(t.$$.fragment)},m(o,r){me(t,o,r),e=!0},p(o,r){const a=r&3149825?jt(i,[{panoIndex:o[0],floorplanData:o[12],lastPanoramaLongitude:o[20],cameraImageUrl:o[21]}]):{};t.$set(a)},i(o){e||(N(t.$$.fragment,o),e=!0)},o(o){Y(t.$$.fragment,o),e=!1},d(o){ve(t,o)}}}function Of(n){let t,e;return t=new Hw({props:{floorplanData:n[12],northDesc:n[22]}}),{c(){Ae(t.$$.fragment)},m(i,s){me(t,i,s),e=!0},p(i,s){const o={};s&4096&&(o.floorplanData=i[12]),s&4194304&&(o.northDesc=i[22]),t.$set(o)},i(i){e||(N(t.$$.fragment,i),e=!0)},o(i){Y(t.$$.fragment,i),e=!1},d(i){ve(t,i)}}}function Qw(n){let t,e,i,s,o;const r=[Uw,Ww],a=[];function l(c,h){return c[24]?1:0}return e=l(n),i=a[e]=r[e](n),{c(){t=Q("div"),i.c(),y(t,"class",s=wt(`floorplan-plugin__floor${n[1]?" floorplan-plugin__floor--is-current":""}`)+" svelte-bl8zrz")},m(c,h){Z(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):(Ee(),Y(a[u],1,1,()=>{a[u]=null}),xe(),i=a[e],i?i.p(c,h):(i=a[e]=r[e](c),i.c()),N(i,1),i.m(t,null)),(!o||h&2&&s!==(s=wt(`floorplan-plugin__floor${c[1]?" floorplan-plugin__floor--is-current":""}`)+" svelte-bl8zrz"))&&y(t,"class",s)},i(c){o||(N(i),o=!0)},o(c){Y(i),o=!1},d(c){c&&X(t),a[e].d()}}}function Xw(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,{roomNameOtherTypeEnable:p}=t,{roomDimensionEnable:g}=t,{ruleLabelsEnable:v}=t,{floorplanData:A}=t,{getRoomAreaText:w}=t,{getRoomDimensionText:k}=t,{getLabelElement:E}=t,{getRuleDistanceText:L}=t,{adaptiveRoomLabelVisibleEnable:D}=t,{highlightData:F}=t,{missingFloorConfig:z}=t,{lastPanoramaLongitude:_}=t,{cameraImageUrl:b}=t,{northDesc:C}=t,{compassEnable:I}=t,{store:M=void 0}=t;const S=Sc(void 0);return S.subscribe(T=>{M&&e(26,M.roomOnMouse=T,M)}),n.$$set=T=>{"panoIndex"in T&&e(0,o=T.panoIndex),"isCurrent"in T&&e(1,r=T.isCurrent),"floorIndex"in T&&e(2,a=T.floorIndex),"highlightEnable"in T&&e(3,l=T.highlightEnable),"cameraEnable"in T&&e(4,c=T.cameraEnable),"hoverEnable"in T&&e(5,h=T.hoverEnable),"roomLabelsEnable"in T&&e(6,u=T.roomLabelsEnable),"roomAreaEnable"in T&&e(7,f=T.roomAreaEnable),"roomNameEnable"in T&&e(8,m=T.roomNameEnable),"roomNameOtherTypeEnable"in T&&e(9,p=T.roomNameOtherTypeEnable),"roomDimensionEnable"in T&&e(10,g=T.roomDimensionEnable),"ruleLabelsEnable"in T&&e(11,v=T.ruleLabelsEnable),"floorplanData"in T&&e(12,A=T.floorplanData),"getRoomAreaText"in T&&e(13,w=T.getRoomAreaText),"getRoomDimensionText"in T&&e(14,k=T.getRoomDimensionText),"getLabelElement"in T&&e(15,E=T.getLabelElement),"getRuleDistanceText"in T&&e(16,L=T.getRuleDistanceText),"adaptiveRoomLabelVisibleEnable"in T&&e(17,D=T.adaptiveRoomLabelVisibleEnable),"highlightData"in T&&e(18,F=T.highlightData),"missingFloorConfig"in T&&e(19,z=T.missingFloorConfig),"lastPanoramaLongitude"in T&&e(20,_=T.lastPanoramaLongitude),"cameraImageUrl"in T&&e(21,b=T.cameraImageUrl),"northDesc"in T&&e(22,C=T.northDesc),"compassEnable"in T&&e(23,I=T.compassEnable),"store"in T&&e(26,M=T.store)},n.$$.update=()=>{n.$$.dirty&4100&&e(27,i=A.floorDatas[a]),n.$$.dirty&134217728&&e(24,s=i.rooms.length>0||i.is_has_wall)},[o,r,a,l,c,h,u,f,m,p,g,v,A,w,k,E,L,D,F,z,_,b,C,I,s,S,M,i]}let Yw=class extends ke{constructor(t){super(),Me(this,t,Xw,Qw,Ie,{panoIndex:0,isCurrent:1,floorIndex:2,highlightEnable:3,cameraEnable:4,hoverEnable:5,roomLabelsEnable:6,roomAreaEnable:7,roomNameEnable:8,roomNameOtherTypeEnable:9,roomDimensionEnable:10,ruleLabelsEnable:11,floorplanData:12,getRoomAreaText:13,getRoomDimensionText:14,getLabelElement:15,getRuleDistanceText:16,adaptiveRoomLabelVisibleEnable:17,highlightData:18,missingFloorConfig:19,lastPanoramaLongitude:20,cameraImageUrl:21,northDesc:22,compassEnable:23,store:26},Gw)}};function Zw(n){De(n,"svelte-86bqav",".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}")}function jf(n,t,e){const i=n.slice();return i[26]=t[e],i}function Vf(n){let t,e,i,s=n[15].floorDatas,o=[];for(let a=0;a<s.length;a+=1)o[a]=Bf(jf(n,s,a));const r=a=>Y(o[a],1,1,()=>{o[a]=null});return{c(){t=Q("div");for(let a=0;a<o.length;a+=1)o[a].c();y(t,"class","floorplan-main svelte-86bqav")},m(a,l){Z(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&67108860){s=n[15].floorDatas;let c;for(c=0;c<s.length;c+=1){const h=jf(n,s,c);o[c]?(o[c].p(h,l),N(o[c],1)):(o[c]=Bf(h),o[c].c(),N(o[c],1),o[c].m(t,null))}for(Ee(),c=s.length;c<o.length;c+=1)r(c);xe()}},i(a){if(!i){for(let l=0;l<s.length;l+=1)N(o[l]);e||At(()=>{e=Bn(t,Vt,{duration:n[0],easing:ln}),e.start()}),i=!0}},o(a){o=o.filter(Boolean);for(let l=0;l<o.length;l+=1)Y(o[l]);i=!1},d(a){a&&X(t),vi(o,a)}}}function Bf(n){let t,e;const i=[{hoverEnable:n[6],highlightEnable:n[7],floorplanData:n[15],getRoomAreaText:n[18],getRoomDimensionText:n[19],getLabelElement:n[20],getRuleDistanceText:n[21],roomLabelsEnable:n[9],roomAreaEnable:n[10],roomNameEnable:n[11],roomNameOtherTypeEnable:n[12],roomDimensionEnable:n[13],ruleLabelsEnable:n[14],adaptiveRoomLabelVisibleEnable:n[22],highlightData:n[23],missingFloorConfig:n[24],panoIndex:n[3],cameraEnable:n[5],cameraImageUrl:n[17],lastPanoramaLongitude:n[16],compassEnable:n[8],northDesc:n[2],store:n[25]},{floorIndex:n[26].floorIndex},{isCurrent:n[26].floorIndex===n[4]},{items:n[26].items}];let s={};for(let o=0;o<i.length;o+=1)s=St(s,i[o]);return t=new Yw({props:s}),{c(){Ae(t.$$.fragment)},m(o,r){me(t,o,r),e=!0},p(o,r){const a=r&67108860?jt(i,[r&67108844&&{hoverEnable:o[6],highlightEnable:o[7],floorplanData:o[15],getRoomAreaText:o[18],getRoomDimensionText:o[19],getLabelElement:o[20],getRuleDistanceText:o[21],roomLabelsEnable:o[9],roomAreaEnable:o[10],roomNameEnable:o[11],roomNameOtherTypeEnable:o[12],roomDimensionEnable:o[13],ruleLabelsEnable:o[14],adaptiveRoomLabelVisibleEnable:o[22],highlightData:o[23],missingFloorConfig:o[24],panoIndex:o[3],cameraEnable:o[5],cameraImageUrl:o[17],lastPanoramaLongitude:o[16],compassEnable:o[8],northDesc:o[2],store:o[25]},r&32768&&{floorIndex:o[26].floorIndex},r&32784&&{isCurrent:o[26].floorIndex===o[4]},r&32768&&{items:o[26].items}]):{};t.$set(a)},i(o){e||(N(t.$$.fragment,o),e=!0)},o(o){Y(t.$$.fragment,o),e=!1},d(o){ve(t,o)}}}function qw(n){let t,e,i=n[1]&&Vf(n);return{c(){i&&i.c(),t=We()},m(s,o){i&&i.m(s,o),Z(s,t,o),e=!0},p(s,[o]){s[1]?i?(i.p(s,o),o&2&&N(i,1)):(i=Vf(s),i.c(),N(i,1),i.m(t.parentNode,t)):i&&(Ee(),Y(i,1,1,()=>{i=null}),xe())},i(s){e||(N(i),e=!0)},o(s){Y(i),e=!1},d(s){i&&i.d(s),s&&X(t)}}}function Jw(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,{roomNameOtherTypeEnable:g}=t,{roomDimensionEnable:v}=t,{ruleLabelsEnable:A}=t,{floorplanData:w}=t,{lastPanoramaLongitude:k}=t,{cameraImageUrl:E}=t,{getRoomAreaText:L}=t,{getRoomDimensionText:D}=t,{getLabelElement:F}=t,{getRuleDistanceText:z}=t,{adaptiveRoomLabelVisibleEnable:_}=t,{highlightData:b}=t,{missingFloorConfig:C}=t,{store:I=void 0}=t;return n.$$set=M=>{"duration"in M&&e(0,i=M.duration),"visible"in M&&e(1,s=M.visible),"northDesc"in M&&e(2,o=M.northDesc),"panoIndex"in M&&e(3,r=M.panoIndex),"floorIndex"in M&&e(4,a=M.floorIndex),"cameraEnable"in M&&e(5,l=M.cameraEnable),"hoverEnable"in M&&e(6,c=M.hoverEnable),"highlightEnable"in M&&e(7,h=M.highlightEnable),"compassEnable"in M&&e(8,u=M.compassEnable),"roomLabelsEnable"in M&&e(9,f=M.roomLabelsEnable),"roomAreaEnable"in M&&e(10,m=M.roomAreaEnable),"roomNameEnable"in M&&e(11,p=M.roomNameEnable),"roomNameOtherTypeEnable"in M&&e(12,g=M.roomNameOtherTypeEnable),"roomDimensionEnable"in M&&e(13,v=M.roomDimensionEnable),"ruleLabelsEnable"in M&&e(14,A=M.ruleLabelsEnable),"floorplanData"in M&&e(15,w=M.floorplanData),"lastPanoramaLongitude"in M&&e(16,k=M.lastPanoramaLongitude),"cameraImageUrl"in M&&e(17,E=M.cameraImageUrl),"getRoomAreaText"in M&&e(18,L=M.getRoomAreaText),"getRoomDimensionText"in M&&e(19,D=M.getRoomDimensionText),"getLabelElement"in M&&e(20,F=M.getLabelElement),"getRuleDistanceText"in M&&e(21,z=M.getRuleDistanceText),"adaptiveRoomLabelVisibleEnable"in M&&e(22,_=M.adaptiveRoomLabelVisibleEnable),"highlightData"in M&&e(23,b=M.highlightData),"missingFloorConfig"in M&&e(24,C=M.missingFloorConfig),"store"in M&&e(25,I=M.store)},[i,s,o,r,a,l,c,h,u,f,m,p,g,v,A,w,k,E,L,D,F,z,_,b,C,I]}let Tc=class extends ke{constructor(t){super(),Me(this,t,Jw,qw,Ie,{duration:0,visible:1,northDesc:2,panoIndex:3,floorIndex:4,cameraEnable:5,hoverEnable:6,highlightEnable:7,compassEnable:8,roomLabelsEnable:9,roomAreaEnable:10,roomNameEnable:11,roomNameOtherTypeEnable:12,roomDimensionEnable:13,ruleLabelsEnable:14,floorplanData:15,lastPanoramaLongitude:16,cameraImageUrl:17,getRoomAreaText:18,getRoomDimensionText:19,getLabelElement:20,getRuleDistanceText:21,adaptiveRoomLabelVisibleEnable:22,highlightData:23,missingFloorConfig:24,store:25},Zw)}};const Kw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAwCAYAAACFUvPfAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALaADAAQAAAABAAAAMAAAAADe2FZjAAAEF0lEQVRoBe2WzWskRRiHf13V092TxI2oEzYeVDwITtyDuCiihwiCePGgxIM3vYgHL4J4UIhBRA8i/gPqyUvWg7AiIuIeloDiYUHJLOK6BPwIk9nNODM9Xf1RVe1b3elJRjCZmQ6euqGmuqer33rq4e23GqiOykBloDJQGagMVAYqA5WBykBlYFYD1qwP/tdzaZqOx9zYOLxeX0+L5yzLGp0X/03a25MOnGRcBtx+6Rlo9SL08G4EooFnxa8Yiivox5/h5Ys/4cl7NVorNDRnngX+0MIkVMeMSf23zyKML8J7/Dy8hwF2Buh9CnS+AEQIdLspBuGb+M7/qLW4qJrNpsLapjYhpw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n){return ne(this,null,function*(){const t=new Headers({"Content-Type":"text/plain"}),e=function(s){return ne(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 e2(n){const t={id:n.id,size:n.size,name:n.name,customizedName:n.customizedName||"",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 t2(n){return{floorName:n.floor_name,floorIndex:n.floor_index,rooms:n.rooms.map(e2),rules:n.rules,is_has_wall:n.is_has_wall}}function i2(n){return{index:n.index,floorIndex:n.floor_index,position:n.position,positionInImage:n.position_in_image}}function n2(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 Nn(n){return ne(this,null,function*(){const t=yield $w(n.outlines),e=n.computed_data.bounding,i=n.computed_data.floor_datas.map(t2),s=n.computed_data.entrance?n2(n.computed_data.entrance):null;return{outlines:t,entrance:s,bounding:e,floorDatas:i,observers:n.computed_data.observers.map(i2)}})}function s2(n,t,e){return n.map(s=>{const o=s.position,r=s.icon?s.icon:{url:Kw,width:45,height:48},a=iw(o,t),l=ew(o,e),c=tw(l,e);return{floorIndex:a,icon:r,id:s.id,position:l,positionInImage:c}})}function o2(n,t){return t(n),n}function uo(n,t){return o2({},e=>{for(const i in n)t.indexOf(i)===-1&&(e[i]=n[i])})}function _f(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 Lc(n,t,e=_n.BOUNDING_CENTER){const i=_f(n,t),s=_f(n,t+1);return e===_n.BOUNDING_CENTER?(n.model.bounding.max.y+n.model.bounding.min.y)/2:e===_n.CEILING?s:i}function zc(n,t,e,i){const s=Lc(n,e,i==null?void 0:i.attachedTo),o=new P.Vector3(0,s,0),r=new P.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 Hn=class{constructor(t,e){d(this,"VERSION","3.68.3");d(this,"NAME");d(this,"five");d(this,"workUtil");d(this,"fiveUtil");d(this,"hooks",new Ct);d(this,"staticPrefix","//vr-image-4.realsee-cdn.cn");this.five=t,this.fiveUtil=new Jr(t),this.workUtil=this.fiveUtil.workUtil,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.five=t,this.workUtil.five=t}getCurrentState(){return this.state}absoluteUrl(t){return dc(this.staticPrefix,t)}onWorkCodeChange(){}},pn=class extends Hn{};var li=(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))(li||{});const Rf=500,r2=80;function ms(n,t,e=4){return Math.abs(n-t)<Math.pow(10,-e)}function Ff(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 ms(r,a,e)||ms(r+i,a,e)}Object.assign(window,{nearlyEqual:ms,nearlyEqualRad:Ff});function a2(n){return Object.prototype.toString.call(n)==="[object Object]"}function Nf(n){return a2(n)&&!!n.isVector3}function Oc(n,t){return ne(this,null,function*(){const[e]=yield gs(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(!l2(i,s))throw new Error("pose 与预期不符")})}function l2(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"?Ff(i,s,2):typeof i=="number"&&typeof s=="number"?ms(i,s,2):Nf(s)&&Nf(i)?s.distanceTo(i)<.01:i===s})}function c2(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!(!ms(e,r,2)||!ms(i,a,2)||o!==void 0&&o.distanceTo(l)>.01||!ms(s,c,2))}function Hf(n,t,e=!0){return ne(this,null,function*(){if(c2(n,t)===!0)return;const s=n.getCurrentState();if(s.mode!==t.mode){const[h]=yield gs(Oc(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 gs(n.updateCamera(uo(t,["mode"]),l,e));if(c)throw new Error(li.UpdateCameraError)})}function fo(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 h2(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 u2(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 d2=class extends pn{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)=>ne(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)=>ne(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=zc(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,li.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=>ne(this,null,function*(){var r;if(!this.state.enabled)return;if(!((r=this.five.model)!=null&&r.loaded))throw new Error(li.ModelNotLoaded);if(!this.data)throw new Error(li.DataNotLoaded);if(this.showPromise)return this.showPromise;const i={floorIndex:this.floorIndex,modelOpacity:this.state.config.modelOpacity,immediately:!1,isAutoShow:!1,userAction:!0},s=H(H({},i),e),o=()=>ne(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 gs(Hf(this.five,this.showState,s.userAction));if(c)throw c;if(a)throw l?new Error(l):new Error(li.UnknownError);if(!this.updateSize())throw new Error(li.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:Rf;fo(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,li.BreakOffByHide),this.showPromise=void 0;const s=H(H({},{userAction:!0,isAutoHide:!1}),e);fo(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||u2(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();h2(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.workUtil.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:r2/((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,roomNameOtherTypeEnable:!0,roomDimensionEnable:!0,adaptiveRoomLabelVisibleEnable:!0,cameraImageUrl:Fn,attachedTo:_n.BOUNDING_CENTER,getLabelElement:void 0,missingFloorConfig:H(H({},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?uo(i,["selector","scale"]):{},r=H(H({},s.missingFloorConfig),o.missingFloorConfig),a=de(H(H({},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 ne(this,null,function*(){function o(h){return Object.prototype.hasOwnProperty.apply(h,["version"])}const r=e;r&&ai(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 Nn(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 ne(this,null,function*(){return yield Nn(e.data)})}updateState(e,i){var a;const s=this.state,o=(a=e.config)!=null&&a.missingFloorConfig?H(H({},s.config.missingFloorConfig),e.config.missingFloorConfig):s.config.missingFloorConfig,r=e.config?de(H(H({},s.config),e.config),{missingFloorConfig:o}):s.config;this.state=de(H(H({},this.state),e),{config:r}),!Ht(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=de(H({},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 Tc({target:this.container,intro:!0,props:i})}};const f2=(n,t)=>new d2(n,t),Gf=[{type:0,description:"车-2",href:"resource/items/{{ theme }}/car_2.png",width:4200,height:1800,tag:"其他",direction:3,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:1,description:"车-1",href:"resource/items/{{ theme }}/car_1.png",width:1900,height:4300,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:2,description:"中厨-1",href:"resource/items/{{ theme }}/kitchen_1.png",width:3158,height:1400,tag:"厨房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:3,description:"8人餐桌",href:"resource/items/{{ theme }}/table_for_8.png",width:3240,height:1800,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:4,description:"衣柜-1",href:"resource/items/{{ theme }}/wardrobe_1.png",width:1820,height:600,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:5,description:"浴缸-2",href:"resource/items/{{ theme }}/bathtub_2.png",width:1500,height:694,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:6,description:"衣柜-3",href:"resource/items/{{ theme }}/wardrobe_3.png",width:2830,height:600,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:7,description:"植物-4",href:"resource/items/{{ theme }}/plant_4.png",width:700,height:628,tag:"装饰类",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:8,description:"植物-1",href:"resource/items/{{ theme }}/plant_1.png",width:700,height:565,tag:"装饰类",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:9,description:"植物-6",href:"resource/items/{{ theme }}/plant_6.png",width:800,height:758,tag:"装饰类",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:10,description:"书桌-1",href:"resource/items/{{ theme }}/desk_1.png",width:1200,height:930,tag:"书房",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:11,description:"瓶艺-1",href:"resource/items/{{ theme }}/bottle_art_1.png",width:530,height:520,tag:"装饰类",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:12,description:"衣柜-2",href:"resource/items/{{ theme }}/wardrobe_2.png",width:2310,height:600,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:13,description:"植物-2",href:"resource/items/{{ theme }}/plant_2.png",width:600,height:600,tag:"装饰类",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:14,description:"西厨-1",href:"resource/items/{{ theme }}/western_kitchen_1.png",width:2180,height:550,tag:"厨房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:15,description:"西厨-2",href:"resource/items/{{ theme }}/western_kitchen_2.png",width:1480,height:550,tag:"厨房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:16,description:"浴缸-1",href:"resource/items/{{ theme }}/bathtub_1.png",width:1500,height:956,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:17,description:"植物-3",href:"resource/items/{{ theme }}/plant_3.png",width:700,height:639,tag:"装饰类",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:18,description:"书桌-2",href:"resource/items/{{ theme }}/desk_2.png",width:2200,height:2470,tag:"书房",direction:3,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:19,description:"吧台",href:"resource/items/{{ theme }}/bar_counter.png",width:1800,height:1130,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:20,description:"书柜-短",href:"resource/items/{{ theme }}/bookcase_short.png",width:1460,height:350,tag:"书房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:21,description:"鞋柜-长",href:"resource/items/{{ theme }}/shoe_cabinet_long.png",width:2059,height:550,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:22,description:"鞋柜-短",href:"resource/items/{{ theme }}/shoe_cabinet_short.png",width:1308,height:550,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:23,description:"中厨-2",href:"resource/items/{{ theme }}/kitchen_2.png",width:2020,height:650,tag:"厨房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:24,description:"椅子",href:"resource/items/{{ theme }}/chair.png",width:1050,height:950,tag:"客厅",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:25,description:"秋千",href:"resource/items/{{ theme }}/swing.png",width:1600,height:1370,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:26,description:"茶几",href:"resource/items/{{ theme }}/tea_table.png",width:1090,height:800,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:27,description:"庭院",href:"resource/items/{{ theme }}/courtyard.png",width:2100,height:3020,tag:"其他",direction:3,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:28,description:"躺椅",href:"resource/items/{{ theme }}/deck_chair.png",width:900,height:1850,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:29,description:"钢琴",href:"resource/items/{{ theme }}/piano.png",width:1900,height:2260,tag:"其他",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:30,description:"音响",href:"resource/items/{{ theme }}/sound.png",width:2500,height:550,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:31,description:"马桶",href:"resource/items/{{ theme }}/flush_toilet.png",width:450,height:750,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:32,description:"植物-5",href:"resource/items/{{ theme }}/plant_5.png",width:544,height:600,tag:"装饰类",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:33,description:"书柜-长",href:"resource/items/{{ theme }}/bookcase_long.png",width:2040,height:350,tag:"书房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:34,description:"燃气灶-1",href:"resource/items/{{ theme }}/gas_stove_1.png",width:820,height:450,tag:"厨房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:35,description:"洗脸池-单",href:"resource/items/{{ theme }}/wash_basin_single.png",width:1150,height:500,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:36,description:"洗手池-单",href:"resource/items/{{ theme }}/sink_single.png",width:1200,height:500,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:37,description:"双人床-4",href:"resource/items/{{ theme }}/double_4.png",width:2743,height:2e3,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:38,description:"电视柜-短",href:"resource/items/{{ theme }}/tv_cabinet_short.png",width:1580,height:350,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:39,description:"储物柜-1",href:"resource/items/{{ theme }}/locker_1.png",width:1400,height:600,tag:"储物间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:40,description:"双人床-3",href:"resource/items/{{ theme }}/double_3.png",width:2791,height:2300,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:41,description:"双人床-2",href:"resource/items/{{ theme }}/double_2.png",width:2791,height:2300,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:42,description:"洗手池-双",href:"resource/items/{{ theme }}/sink_double.png",width:2777,height:600,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:43,description:"洗脸池-双",href:"resource/items/{{ theme }}/wash_basin_double.png",width:2550,height:600,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:44,description:"双人床(无床头柜)-1",href:"resource/items/{{ theme }}/double_bed_without_bedside_table_1.png",width:1914,height:2e3,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:45,description:"电视柜-长",href:"resource/items/{{ theme }}/tv_cabinet_long.png",width:2040,height:350,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:46,description:"洽谈桌组合",href:"resource/items/{{ theme }}/negotiation_table_combination.png",width:2830,height:950,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:47,description:"哑铃架",href:"resource/items/{{ theme }}/dumbbell_rack.png",width:900,height:650,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:48,description:"沙发组合-1",href:"resource/items/{{ theme }}/sofa_combination_1.png",width:4e3,height:2792,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:49,description:"游泳池-2",href:"resource/items/{{ theme }}/swimming_pool_2.png",width:7680,height:3800,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:50,description:"美人榻",href:"resource/items/{{ theme }}/beauty_couch.png",width:1600,height:520,tag:"卧室",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:51,description:"单人床(无床头柜)",href:"resource/items/{{ theme }}/single_bed_without_bedside_table.png",width:1200,height:2120,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:52,description:"沙发组合-2",href:"resource/items/{{ theme }}/sofa_combination_2.png",width:2e3,height:2054,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:53,description:"跑步机",href:"resource/items/{{ theme }}/treadmill.png",width:2120,height:950,tag:"其他",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:54,description:"储物柜-3",href:"resource/items/{{ theme }}/lockers_3.png",width:2400,height:1360,tag:"储物间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:55,description:"洗菜池-1",href:"resource/items/{{ theme }}/vegetable_washing_pool_1.png",width:760,height:470,tag:"厨房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:56,description:"组合沙发-4",href:"resource/items/{{ theme }}/combination_sofa_4.png",width:1800,height:1595,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:57,description:"台球桌",href:"resource/items/{{ theme }}/pool_table.png",width:2540,height:1400,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:58,description:"置物台-1",href:"resource/items/{{ theme }}/shelf_1.png",width:1632,height:560,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:59,description:"储物柜-2",href:"resource/items/{{ theme }}/locker_2.png",width:2640,height:600,tag:"储物间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:60,description:"户外桌椅",href:"resource/items/{{ theme }}/outdoor_tables_and_chairs.png",width:3e3,height:2800,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:61,description:"洗衣机-1",href:"resource/items/{{ theme }}/washing_machine_1.png",width:850,height:600,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:62,description:"双人床-1",href:"resource/items/{{ theme }}/double_1.png",width:2851,height:2200,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:63,description:"六人餐桌",href:"resource/items/{{ theme }}/table_for_six.png",width:2230,height:1700,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:64,description:"洽谈沙发椅",href:"resource/items/{{ theme }}/sofa_chair.png",width:1e3,height:950,tag:"其他",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:65,description:"三人沙发",href:"resource/items/{{ theme }}/three_seat_sofa.png",width:2670,height:950,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:66,description:"会客桌",href:"resource/items/{{ theme }}/reception_table.png",width:1800,height:1800,tag:"其他",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:67,description:"健身机",href:"resource/items/{{ theme }}/fitness_machine.png",width:2200,height:800,tag:"其他",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:68,description:"沙发组合-3",href:"resource/items/{{ theme }}/sofa_combination_3.png",width:2670,height:2330,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:69,description:"双开冰箱",href:"resource/items/{{ theme }}/double_refrigerator.png",width:720,height:600,tag:"厨房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:70,description:"车库工具箱",href:"resource/items/{{ theme }}/garage_toolbox.png",width:1280,height:500,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:71,description:"储物柜-4",href:"resource/items/{{ theme }}/locker_4.png",width:2440,height:2440,tag:"储物间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:72,description:"临时餐台",href:"resource/items/{{ theme }}/temporary_dining_table.png",width:1e3,height:1500,tag:"厨房",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:73,description:"置物台-2",href:"resource/items/{{ theme }}/shelf_2.png",width:1590,height:600,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:74,description:"四人餐桌",href:"resource/items/{{ theme }}/table_for_four.png",width:1700,height:1700,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:75,description:"洽谈桌",href:"resource/items/{{ theme }}/negotiating_table.png",width:950,height:950,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:76,description:"游泳池-1",href:"resource/items/{{ theme }}/swimming_pool_1.png",width:4300,height:5340,tag:"其他",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:77,description:"毛巾凳",href:"resource/items/{{ theme }}/towel_stool.png",width:800,height:500,tag:"卫生间",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:78,description:"电梯",href:"resource/items/{{ theme }}/lift.png",width:2e3,height:2e3,tag:"楼梯",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:79,description:"AC",href:"resource/items/{{ theme }}/ac.png",width:850,height:320,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:80,description:"二人餐桌",href:"resource/items/{{ theme }}/table_for_two.png",width:780,height:1500,tag:"客厅",direction:1,keywords:["default"],themes:["realsee"],label:!0},{type:81,description:"双人床(无床头柜)-2",href:"resource/items/{{ theme }}/double_bed_without_bedside_table_2.png",width:1500,height:2200,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:82,description:"双人床(无床头柜)-3",href:"resource/items/{{ theme }}/double_bed_without_bedside_table_3.png",width:1800,height:2200,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:83,description:"床头柜",href:"resource/items/{{ theme }}/bedstand.png",width:500,height:500,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:84,description:"单开门冰箱",href:"resource/items/{{ theme }}/refrigerator.png",width:650,height:670,tag:"厨房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:85,description:"沙发组合-5",href:"resource/items/{{ theme }}/sofa_combination_5.png",width:1598,height:1418,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:86,description:"沙发组合-6",href:"resource/items/{{ theme }}/sofa_combination_6.png",width:2680,height:1790,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:87,description:"四人餐桌-1",href:"resource/items/{{ theme }}/table_for_four_1.png",width:1600,height:1700,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:88,description:"小单人沙发",href:"resource/items/{{ theme }}/chair_2.png",width:460,height:416,tag:"客厅",direction:1,keywords:["default"],themes:["realsee"],label:!0},{type:89,description:"小洗手池",href:"resource/items/{{ theme }}/sink_small.png",width:600,height:500,tag:"卫生间",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:90,description:"小厨",href:"resource/items/{{ theme }}/kitchen_small.png",width:740,height:550,tag:"厨房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:91,description:"小衣柜",href:"resource/items/{{ theme }}/wardrobe_small.png",width:910,height:600,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:92,description:"淋浴房",href:"resource/items/{{ theme }}/shower.png",width:650,height:670,tag:"卫生间",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:93,description:"鞋柜-1",href:"resource/items/{{ theme }}/shoe_cabinet_1.png",width:900,height:400,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:94,description:"鞋柜-2",href:"resource/items/{{ theme }}/shoe_cabinet_2.png",width:1500,height:400,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:95,description:"鞋柜-3",href:"resource/items/{{ theme }}/shoe_cabinet_3.png",width:2e3,height:400,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:96,description:"电视柜-1",href:"resource/items/{{ theme }}/tv_cabinet_1.png",width:1500,height:350,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:97,description:"电视柜-2",href:"resource/items/{{ theme }}/tv_cabinet_2.png",width:2040,height:350,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:98,description:"电视柜-3",href:"resource/items/{{ theme }}/tv_cabinet_3.png",width:3e3,height:350,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:99,description:"餐边柜-1",href:"resource/items/{{ theme }}/sideboard_1.png",width:900,height:550,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:100,description:"餐边柜-2",href:"resource/items/{{ theme }}/sideboard_2.png",width:1500,height:550,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:101,description:"餐边柜-3",href:"resource/items/{{ theme }}/sideboard_3.png",width:2e3,height:550,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:102,description:"燃气灶-2",href:"resource/items/{{ theme }}/gas_stove_2.png",width:900,height:550,tag:"厨房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:103,description:"洗菜池-2",href:"resource/items/{{ theme }}/vegetable_washing_pool_2.png",width:900,height:550,tag:"厨房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:104,description:"橱柜-1",href:"resource/items/{{ theme }}/kitchen_cabinet_1.png",width:550,height:550,tag:"厨房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:105,description:"橱柜-2",href:"resource/items/{{ theme }}/kitchen_cabinet_2.png",width:900,height:550,tag:"厨房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:106,description:"花洒",href:"resource/items/{{ theme }}/shower_head.png",width:260,height:200,tag:"卫生间",direction:1,keywords:["default"],themes:["realsee"],label:!0},{type:107,description:"淋浴屏",href:"resource/items/{{ theme }}/shower_panel.png",width:1500,height:100,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:108,description:"洗衣机-2",href:"resource/items/{{ theme }}/washing_machine_2.png",width:600,height:500,tag:"卫生间",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:109,description:"双人床-5",href:"resource/items/{{ theme }}/double_5.png",width:1500,height:2e3,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:110,description:"双人床-6",href:"resource/items/{{ theme }}/double_6.png",width:1800,height:2e3,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:111,description:"双人床-7",href:"resource/items/{{ theme }}/double_7.png",width:2e3,height:2200,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:112,description:"双人床-8",href:"resource/items/{{ theme }}/double_8.png",width:2300,height:2200,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:113,description:"梳妆台",href:"resource/items/{{ theme }}/dressing_table.png",width:1200,height:900,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:114,description:"儿童床-1",href:"resource/items/{{ theme }}/children_bed_1.png",width:1400,height:2e3,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:115,description:"儿童床-2",href:"resource/items/{{ theme }}/children_bed_2.png",width:1700,height:2e3,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:116,description:"儿童床-3",href:"resource/items/{{ theme }}/children_bed_3.png",width:2e3,height:2200,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:117,description:"儿童书桌-1",href:"resource/items/{{ theme }}/children_desk_1.png",width:1e3,height:800,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:118,description:"儿童书桌-2",href:"resource/items/{{ theme }}/children_desk_2.png",width:1200,height:800,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:119,description:"儿童书桌-3",href:"resource/items/{{ theme }}/children_desk_3.png",width:1500,height:800,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:120,description:"儿童活动区域-1",href:"resource/items/{{ theme }}/children_carpet_1.png",width:600,height:600,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:121,description:"儿童活动区域-2",href:"resource/items/{{ theme }}/children_carpet_2.png",width:1200,height:1200,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:122,description:"儿童活动区域-3",href:"resource/items/{{ theme }}/children_carpet_3.png",width:1800,height:1800,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:123,description:"茶榻组合-1",href:"resource/items/{{ theme }}/tea_table_combination_1.png",width:2e3,height:1400,tag:"其他",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:124,description:"茶榻组合-2",href:"resource/items/{{ theme }}/tea_table_combination_2.png",width:2500,height:1400,tag:"其他",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:125,description:"茶榻组合-3",href:"resource/items/{{ theme }}/tea_table_combination_3.png",width:3e3,height:1800,tag:"其他",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:126,description:"儿童衣柜-1",href:"resource/items/{{ theme }}/children_wardrobe_1.png",width:900,height:500,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:127,description:"儿童衣柜-2",href:"resource/items/{{ theme }}/children_wardrobe_2.png",width:1200,height:500,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:128,description:"儿童衣柜-3",href:"resource/items/{{ theme }}/children_wardrobe_3.png",width:1500,height:500,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:129,description:"儿童书柜-1",href:"resource/items/{{ theme }}/children_bookcase_1.png",width:800,height:450,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:130,description:"儿童书柜-2",href:"resource/items/{{ theme }}/children_bookcase_2.png",width:1200,height:450,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:131,description:"折行双跑楼梯",href:"resource/items/{{ theme }}/folding_double_running_stairs.png",width:3e3,height:3e3,tag:"楼梯",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:132,description:"平行双跑楼梯",href:"resource/items/{{ theme }}/parallel_double_running_stairs.png",width:2500,height:3600,tag:"楼梯",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:133,description:"折行三跑楼梯",href:"resource/items/{{ theme }}/folding_treble_running_stairs.png",width:4300,height:2700,tag:"楼梯",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:134,description:"手枪",href:"resource/items/{{ theme }}/pistol.png",width:500,height:500,tag:"物证痕迹",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:135,description:"血迹",href:"resource/items/{{ theme }}/bloodstain.png",width:500,height:500,tag:"物证痕迹",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:136,description:"手印",href:"resource/items/{{ theme }}/handprint.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:137,description:"足迹",href:"resource/items/{{ theme }}/footprint.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:138,description:"车轮轨迹",href:"resource/items/{{ theme }}/wheelprint.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:139,description:"弹头",href:"resource/items/{{ theme }}/bullet.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:140,description:"弹壳",href:"resource/items/{{ theme }}/shell.png",width:500,height:500,tag:"物证痕迹",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:141,description:"尸体",href:"resource/items/{{ theme }}/corpse.png",width:1500,height:1500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:142,description:"空气净化器",href:"resource/items/{{ theme }}/airscrubber.png",width:580,height:380,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:143,description:"吹风机",href:"resource/items/{{ theme }}/airblower.png",width:640,height:600,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:144,description:"除湿器",href:"resource/items/{{ theme }}/dehumidifier.png",width:480,height:430,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:145,description:"冰柜",href:"resource/items/{{ theme }}/freezer.png",width:800,height:460,tag:"厨房",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:146,description:"架子",href:"resource/items/{{ theme }}/shelf.png",width:1e3,height:380,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:147,description:"杂物",href:"resource/items/{{ theme }}/sundries.png",width:800,height:800,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:148,description:"L型沙发",href:"resource/items/{{ theme }}/L_sofa.png",width:3500,height:1800,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:149,description:"书桌3",href:"resource/items/{{ theme }}/desk_3.png",width:1200,height:680,tag:"书房",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:150,description:"会议桌-1",href:"resource/items/{{ theme }}/conference_table_1.png",width:1600,height:1100,tag:"客厅",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:151,description:"衣架",href:"resource/items/{{ theme }}/coat_hanger.png",width:1200,height:400,tag:"卧室",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:152,description:"上下铺",href:"resource/items/{{ theme }}/bunk_beds.png",width:2e3,height:1040,tag:"卧室",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:153,description:"蹲坑",href:"resource/items/{{ theme }}/squatting.png",width:600,height:480,tag:"卫生间",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:154,description:"男尸",href:"resource/items/{{ theme }}/male_corpse.png",width:1600,height:800,tag:"物证痕迹",direction:1,keywords:["default"],themes:["realsee"],label:!1},{type:155,description:"女尸",href:"resource/items/{{ theme }}/female_corpse.png",width:1500,height:800,tag:"物证痕迹",direction:1,keywords:["default"],themes:["realsee"],label:!1},{type:156,description:"擦蹭状血迹",href:"resource/items/{{ theme }}/rub-like-bookd-stains.png",width:1200,height:800,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:157,description:"擦拭物",href:"resource/items/{{ theme }}/wipes.png",width:300,height:60,tag:"物证痕迹",direction:3,keywords:["default"],themes:["realsee"],label:!1},{type:158,description:"纸团",href:"resource/items/{{ theme }}/paper_ball.png",width:400,height:400,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:159,description:"未整理的被子",href:"resource/items/{{ theme }}/unarranged_quilts.png",width:800,height:500,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:160,description:"手机",href:"resource/items/{{ theme }}/mobile_phone.png",width:400,height:280,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:161,description:"菜刀",href:"resource/items/{{ theme }}/kitchen_knife.png",width:500,height:220,tag:"物证痕迹",direction:3,keywords:["default"],themes:["realsee"],label:!1},{type:162,description:"矩形",href:"resource/items/{{ theme }}/rectangle.png",width:900,height:600,tag:"自定义",direction:0,keywords:["default"],themes:["realsee"],label:!0,svgWidth:90,svgHeight:60,svg:'<rect x=".75" y=".75" width="88.5" height="58.5" rx="4" fill="#FFF" stroke="#3D404E" fill-rule="evenodd" vector-effect="non-scaling-stroke"/>'},{type:163,description:"圆形",href:"resource/items/{{ theme }}/circle.png",width:600,height:600,tag:"自定义",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:164,description:"三角形",href:"resource/items/{{ theme }}/triangle.png",width:600,height:600,tag:"自定义",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:165,description:"五角星形",href:"resource/items/{{ theme }}/five_pointedstar.png",width:800,height:800,tag:"自定义",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:166,description:"会议桌-2",href:"resource/items/{{ theme }}/conference_table_2.png",width:2800,height:1800,tag:"客厅",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:167,description:"餐椅",href:"resource/items/{{ theme }}/dining_chair.png",width:500,height:580,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:168,description:"转椅-1",href:"resource/items/{{ theme }}/rotating_chair_1.png",width:500,height:580,tag:"书房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:169,description:"转椅-2",href:"resource/items/{{ theme }}/rotating_chair_2.png",width:640,height:640,tag:"书房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:170,description:"长方形茶几",href:"resource/items/{{ theme }}/rectangular_coffee_table.png",width:1090,height:800,tag:"客厅",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:171,description:"抽油烟机",href:"resource/items/{{ theme }}/smoke_lampblack_machine.png",width:1200,height:800,tag:"厨房",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:172,description:"电话机",href:"resource/items/{{ theme }}/telephone.png",width:500,height:500,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:173,description:"对讲机",href:"resource/items/{{ theme }}/walkie_talkie.png",width:240,height:540,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:174,description:"花盆",href:"resource/items/{{ theme }}/flower_pot.png",width:500,height:500,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:175,description:"剪刀",href:"resource/items/{{ theme }}/scissors.png",width:500,height:460,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:176,description:"角柜",href:"resource/items/{{ theme }}/corner_cabinet.png",width:1e3,height:1e3,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:177,description:"口杯",href:"resource/items/{{ theme }}/mouth_cup.png",width:500,height:400,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:178,description:"盘子",href:"resource/items/{{ theme }}/plate.png",width:500,height:500,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:179,description:"勺子",href:"resource/items/{{ theme }}/spoon.png",width:600,height:180,tag:"日常用品",direction:1,keywords:["default"],themes:["realsee"],label:!1},{type:180,description:"手提包",href:"resource/items/{{ theme }}/handbag.png",width:500,height:500,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:181,description:"双人沙发",href:"resource/items/{{ theme }}/double_sofa.png",width:1600,height:850,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:182,description:"藤椅",href:"resource/items/{{ theme }}/cane_chair.png",width:640,height:640,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:183,description:"拖把",href:"resource/items/{{ theme }}/mop.png",width:490,height:1e3,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:184,description:"卫生纸",href:"resource/items/{{ theme }}/toilet_paper.png",width:280,height:300,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:185,description:"烟盒",href:"resource/items/{{ theme }}/cigarette_case.png",width:220,height:300,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:186,description:"烟头",href:"resource/items/{{ theme }}/cigarette_butt.png",width:280,height:220,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:187,description:"鱼缸",href:"resource/items/{{ theme }}/fish_tank.png",width:1e3,height:500,tag:"客厅",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:188,description:"笔记本电脑",href:"resource/items/{{ theme }}/notebook_computer.png",width:500,height:500,tag:"日常用品",direction:2,keywords:["default"],themes:["realsee"],label:!1},{type:189,description:"微波炉",href:"resource/items/{{ theme }}/microwave_oven.png",width:600,height:400,tag:"厨房",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:190,description:"断口",href:"resource/items/{{ theme }}/fracture.png",width:1200,height:300,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:191,description:"遗物堆",href:"resource/items/{{ theme }}/relic_pile.png",width:800,height:800,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:192,description:"衣物",href:"resource/items/{{ theme }}/clothing.png",width:830,height:810,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:193,description:"浴巾",href:"resource/items/{{ theme }}/bath_towel.png",width:420,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:194,description:"水渍",href:"resource/items/{{ theme }}/water_stains.png",width:1070,height:600,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:195,description:"螺丝刀",href:"resource/items/{{ theme }}/bolt_driver.png",width:300,height:300,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:196,description:"凉鞋",href:"resource/items/{{ theme }}/sandals.png",width:430,height:460,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:197,description:"水果刀",href:"resource/items/{{ theme }}/fruit_knife.png",width:300,height:260,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:198,description:"匕首",href:"resource/items/{{ theme }}/dragger.png",width:400,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:199,description:"玻璃弹孔",href:"resource/items/{{ theme }}/glass_bullet_hole.png",width:1160,height:1e3,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:200,description:"电视",href:"resource/items/{{ theme }}/tv.png",width:1120,height:160,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!1},{type:201,description:"单向楼梯",href:"resource/items/{{ theme }}/stairs.png",width:1400,height:3600,tag:"楼梯",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:202,description:"电脑",href:"resource/items/{{ theme }}/computer.png",width:700,height:120,tag:"书房",direction:2,keywords:["default"],themes:["realsee"],label:!1},{type:203,description:"工具",href:"resource/items/{{ theme }}/tool.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:204,description:"特殊",href:"resource/items/{{ theme }}/special.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:205,description:"生物",href:"resource/items/{{ theme }}/biology.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:206,description:"毒化",href:"resource/items/{{ theme }}/poison.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:207,description:"理化",href:"resource/items/{{ theme }}/physics&chemistry.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:208,description:"文检",href:"resource/items/{{ theme }}/document.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:209,description:"电子",href:"resource/items/{{ theme }}/electronic.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:210,description:"人像",href:"resource/items/{{ theme }}/portrait.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:211,description:"提取物品",href:"resource/items/{{ theme }}/extract_items.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:212,description:"左脚足迹",href:"resource/items/{{ theme }}/footprint_l.png",width:220,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:213,description:"右脚足迹",href:"resource/items/{{ theme }}/footprint_r.png",width:220,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:214,description:"电动车",href:"resource/items/{{ theme }}/electric_car.png",width:480,height:1320,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:215,description:"自行车",href:"resource/items/{{ theme }}/bike.png",width:380,height:1480,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:216,description:"摩托车",href:"resource/items/{{ theme }}/motorcycle.png",width:500,height:1780,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:217,description:"越野车",href:"resource/items/{{ theme }}/off_road_vehicle.png",width:1700,height:4360,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:218,description:"卡车",href:"resource/items/{{ theme }}/truck.png",width:1880,height:6800,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:219,description:"客车",href:"resource/items/{{ theme }}/bus.png",width:3160,height:8e3,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:220,description:"叉车",href:"resource/items/{{ theme }}/forklift.png",width:940,height:2720,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:221,description:"拖拉机",href:"resource/items/{{ theme }}/tractor.png",width:1740,height:3060,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1}],p2="//vr-image-4.realsee-cdn.cn/release/static/image/doctorstrange/0.6.201-beta/";function g2(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 m2(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 v2=class extends pn{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,"items");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)=>ne(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)=>ne(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=zc(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,li.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=>ne(this,null,function*(){var r;if(!this.state.enabled)return;if(!((r=this.fiveUtil.model)!=null&&r.loaded))throw new Error(li.ModelNotLoaded);if(!this.data)throw new Error(li.DataNotLoaded);if(this.showPromise)return this.showPromise;const i={floorIndex:this.floorIndex,modelOpacity:this.state.config.modelOpacity,immediately:!1,isAutoShow:!1,userAction:!0},s=H(H({},i),e),o=()=>ne(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 gs(Hf(this.five,this.showState,s.userAction));if(c)throw c;if(a)throw l?new Error(l):new Error(li.UnknownError);if(!this.updateSize())throw new Error(li.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:Rf;fo(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,li.BreakOffByHide),this.showPromise=void 0;const s=H(H({},{userAction:!0,isAutoHide:!1}),e);fo(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 P.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&&m2(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(),g2(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(uo(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=>{if(this.floorIndex!==e){if(e===null){const i=this.five.getCurrentState().panoIndex;this.floorIndex=this.workUtil.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:"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,roomNameOtherTypeEnable:!0,roomDimensionEnable:!0,cameraImageUrl:Fn,attachedTo:_n.BOUNDING_CENTER,getLabelElement:void 0,adaptiveRoomLabelVisibleEnable:!0,missingFloorConfig:H(H({},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?uo(i,["selector","scale"]):{},r=H(H({},s.missingFloorConfig),o.missingFloorConfig),a=de(H(H({},s),o),{missingFloorConfig:r});this.state={enabled:!0,visible:!1,config:a},this.initContainer(),gi(e).then(this.onFiveModelLoaded),e.once("dispose",this.dispose),this.addEventListener()}load(e,i,s=!0){return ne(this,null,function*(){function o(h){return Object.prototype.hasOwnProperty.apply(h,["version"])}const r=e;r&&ai(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 Nn(l),this.hooks.emit("dataLoaded",this.data),this.hooks.emit("dataChange",this.data,c),i&&this.updateState(i,s),this.render()})}loadItems(e){const{min:i,max:s}=this.data.bounding,o=s.x-i.x,r=s.y-i.y;this.data.floorDatas.forEach((a,l)=>{a.items=e[l].filter(c=>c.displayName==="Item-SimpleItem").map(c=>{const{x:h,y:u,width:f,height:m,notes:p,type:g,id:v,rotateX:A,rotateY:w,rotateZ:k=0}=c;return{id:v,positionInImage:{x:(h-i.x)/o,y:(s.y-u)/r},width:f/o,height:m/r,src:p2+Gf[g].href.replace(/\{\{\stheme\s\}\}/,"realsee"),notes:p||Gf[g].description,rotateX:A,rotateY:w,rotateZ:k}})})}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=Lc(this.five,this.floorIndex,this.state.config.attachedTo),i=(a=this.fiveUtil.model)==null?void 0:a.bounding.getCenter(new P.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 ne(this,null,function*(){return yield Nn(e.data)})}updateState(e,i){var a;const s=this.state,o=(a=e.config)!=null&&a.missingFloorConfig?H(H({},s.config.missingFloorConfig),e.config.missingFloorConfig):s.config.missingFloorConfig,r=e.config?de(H(H({},s.config),e.config),{missingFloorConfig:o}):s.config;this.state=de(H(H({},this.state),e),{config:r}),!Ht(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=de(H({},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,items:this.items,store:this.store});if(this.app)return this.app.$set(i);this.app=new Tc({target:this.container,intro:!0,props:i})}};const A2=(n,t)=>new v2(n,t);let b2=class extends pn{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=zc(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.workUtil.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.workUtil.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,roomNameOtherTypeEnable:!0,roomDimensionEnable:!0,cameraImageUrl:Fn,attachedTo:_n.BOUNDING_CENTER,getLabelElement:void 0,missingFloorConfig:H(H({},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?uo(i,["selector","scale"]):{},r=H(H({},s.missingFloorConfig),o.missingFloorConfig),a=de(H(H({},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 ne(this,null,function*(){function o(h){return Object.prototype.hasOwnProperty.apply(h,["version"])}const r=e;r&&ai(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 Nn(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=Lc(this.five,this.floorIndex,this.state.config.attachedTo),i=(a=this.five.model)==null?void 0:a.bounding.getCenter(new P.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 ne(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 ne(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 ne(this,null,function*(){return yield Nn(e.data)})}_show(e){return ne(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 Oc(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;fo(this.five,o,s),this.hooks.emit("showAnimationEnded",{userAction:i,auto:!1}),this.render()})}_hide(e){return ne(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;fo(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?H(H({},s.config.missingFloorConfig),e.config.missingFloorConfig):s.config.missingFloorConfig,r=e.config?de(H(H({},s.config),e.config),{missingFloorConfig:o}):s.config;this.state=de(H(H({},this.state),e),{config:r}),!Ht(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=de(H({},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 Tc({target:this.container,intro:!0,props:i})}};const y2=(n,t)=>new b2(n,t);function w2(n){De(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 P2(n){let t,e,i;return{c(){t=Q("div"),e=Q("div"),i=Q("div"),y(i,"class","plugin-radar__camera-rotate svelte-1nqrlxd"),U(i,"background-image","url("+(n[0]||Fn)+")"),U(i,"transform",n[1]),y(e,"class","plugin-radar__camera-position svelte-1nqrlxd"),U(e,"transform",n[2]),y(t,"class","plugin-radar__camera-wrapper svelte-1nqrlxd"),U(t,"opacity",n[3]?1:0)},m(s,o){Z(s,t,o),j(t,e),j(e,i)},p(s,[o]){o&1&&U(i,"background-image","url("+(s[0]||Fn)+")"),(o&1||o&3)&&U(i,"transform",s[1]),o&4&&U(e,"transform",s[2]),o&8&&U(t,"opacity",s[3]?1:0)},i:re,o:re,d(s){s&&X(t)}}}function C2(n){return`rotate(${Math.floor(n/Math.PI*180)*-1+45}deg)`}function I2(n,t,e){var w,k;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=(k=(w=a.work.observers[a.getCurrentState().panoIndex])==null?void 0:w.floorIndex)!=null?k:0;function p(E,L){const D=E.bounding,F=E.observers[L];if(!F)return"";const z=(D.max.x-D.min.x)*l,_=(D.max.y-D.min.y)*l,b=Math.floor(F.positionInImage.x*z),C=Math.floor(F.positionInImage.y*_);return`translate(${b}px, ${C}px)`}function g(E){e(7,u=E)}function v(E){e(9,m=a.work.observers[E].floorIndex)}const A=$r(E=>{e(8,f=E.longitude)},1e3/60);return Dt(()=>(a.on("panoWillArrive",g),a.on("panoArrived",v),a.on("cameraDirectionUpdate",A),function(){a.off("panoWillArrive",g),a.off("panoArrived",v),a.off("cameraDirectionUpdate",A)})),n.$$set=E=>{"five"in E&&e(4,a=E.five),"pxmm"in E&&e(5,l=E.pxmm),"floorplanData"in E&&e(6,c=E.floorplanData),"cameraImageUrl"in E&&e(0,h=E.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=C2(f))},[h,r,o,s,a,l,c,u,f,m,i]}class M2 extends ke{constructor(t){super(),Me(this,t,I2,P2,Ie,{five:4,pxmm:5,floorplanData:6,cameraImageUrl:0},w2)}}function k2(n){De(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 Wf(n,t,e){const i=n.slice();return i[1]=t[e],i}function Uf(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=Q("div"),i=Q("div"),r=ae(),y(i,"class","plugin-pano-floorplan__extra-object-item svelte-1i87fz7"),U(i,"background-image",`url(${t[1].icon.url})`),U(i,"width",s),U(i,"height",o),y(e,"class","plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"),U(e,"top",a),U(e,"left",l),this.first=e},m(c,h){Z(c,e,h),j(e,i),j(e,r)},p(c,h){t=c,h&1&&U(i,"background-image",`url(${t[1].icon.url})`);const u=h&1;u&&U(i,"width",s),u&&U(i,"height",o),h&1&&a!==(a=`${t[1].positionInImage.y*100}%`)&&U(e,"top",a),h&1&&l!==(l=`${t[1].positionInImage.x*100}%`)&&U(e,"left",l)},d(c){c&&X(e)}}}function E2(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=Wf(n,s,r),l=o(a);i.set(l,e[r]=Uf(l,a))}return{c(){t=Q("div");for(let r=0;r<e.length;r+=1)e[r].c();y(t,"class","plugin-pano-floorplan__extra-objects svelte-1i87fz7")},m(r,a){Z(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=ki(e,a,o,1,r,s,i,t,kc,Uf,null,Wf))},i:re,o:re,d(r){r&&X(t);for(let a=0;a<e.length;a+=1)e[a].d()}}}function x2(n,t,e){let{extraObjects:i=[]}=t;return n.$$set=s=>{"extraObjects"in s&&e(0,i=s.extraObjects)},[i]}class S2 extends ke{constructor(t){super(),Me(this,t,x2,E2,Ie,{extraObjects:0},k2)}}function D2(n){De(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 T2(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=St(l,a[h]);t=new sf({props:l}),i=new S2({props:{extraObjects:n[7]}});let c=n[3]&&Qf(n);return{c(){Ae(t.$$.fragment),e=ae(),Ae(i.$$.fragment),s=ae(),c&&c.c(),o=We()},m(h,u){me(t,h,u),Z(h,e,u),me(i,h,u),Z(h,s,u),c&&c.m(h,u),Z(h,o,u),r=!0},p(h,u){const f=u&20?jt(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&&N(c,1)):(c=Qf(h),c.c(),N(c,1),c.m(o.parentNode,o)):c&&(Ee(),Y(c,1,1,()=>{c=null}),xe())},i(h){r||(N(t.$$.fragment,h),N(i.$$.fragment,h),N(c),r=!0)},o(h){Y(t.$$.fragment,h),Y(i.$$.fragment,h),Y(c),r=!1},d(h){ve(t,h),h&&X(e),ve(i,h),h&&X(s),c&&c.d(h),h&&X(o)}}}function L2(n){let t,e,i;return{c(){t=Q("div"),e=Q("img"),y(e,"class","missing-floor-image svelte-18287ai"),vt(e.src,i=n[6])||y(e,"src",i),y(e,"alt","缺省楼层"),y(t,"class","missing-floor-wrapper svelte-18287ai")},m(s,o){Z(s,t,o),j(t,e)},p(s,o){o&64&&!vt(e.src,i=s[6])&&y(e,"src",i)},i:re,o:re,d(s){s&&X(t)}}}function Qf(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=St(s,i[o]);return t=new xf({props:s}),{c(){Ae(t.$$.fragment)},m(o,r){me(t,o,r),e=!0},p(o,r){const a=r&567?jt(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||(N(t.$$.fragment,o),e=!0)},o(o){Y(t.$$.fragment,o),e=!1},d(o){ve(t,o)}}}function z2(n){let t,e,i,s;const o=[L2,T2],r=[];function a(l,c){return l[8]?1:0}return t=a(n),e=r[t]=o[t](n),{c(){e.c(),i=We()},m(l,c){r[t].m(l,c),Z(l,i,c),s=!0},p(l,[c]){let h=t;t=a(l),t===h?r[t].p(l,c):(Ee(),Y(r[h],1,1,()=>{r[h]=null}),xe(),e=r[t],e?e.p(l,c):(e=r[t]=o[t](l),e.c()),N(e,1),e.m(i.parentNode,i))},i(l){s||(N(e),s=!0)},o(l){Y(e),s=!1},d(l){r[t].d(l),l&&X(i)}}}function O2(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=g=>{"five"in g&&e(0,r=g.five),"pxmm"in g&&e(1,a=g.pxmm),"floorIndex"in g&&e(2,l=g.floorIndex),"hoverEnable"in g&&e(3,c=g.hoverEnable),"floorplanData"in g&&e(4,h=g.floorplanData),"extraObjects"in g&&e(10,u=g.extraObjects),"highlightData"in g&&e(5,f=g.highlightData),"missingFloorImageUrl"in g&&e(6,m=g.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(g=>g.floorIndex===l))},[r,a,l,c,h,f,m,o,s,p,u,i]}class j2 extends ke{constructor(t){super(),Me(this,t,O2,z2,Ie,{five:0,pxmm:1,floorIndex:2,hoverEnable:3,floorplanData:4,extraObjects:10,highlightData:5,missingFloorImageUrl:6},D2)}}function V2(n){De(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 Xf(n){let t,e,i,s,o=n[8]!==0&&Yf(n);return{c(){t=Q("div"),o&&o.c(),y(t,"class","plugin-floorplan-radar svelte-1mvqyqq")},m(r,a){Z(r,t,a),o&&o.m(t,null),e=!0,i||(s=[Ii(fn.call(null,t)),Ve(t,"clientWidth",n[14]),Ve(t,"clientHeight",n[15])],i=!0)},p(r,a){r[8]!==0?o?(o.p(r,a),a&256&&N(o,1)):(o=Yf(r),o.c(),N(o,1),o.m(t,null)):o&&(Ee(),Y(o,1,1,()=>{o=null}),xe())},i(r){e||(N(o),e=!0)},o(r){Y(o),e=!1},d(r){r&&X(t),o&&o.d(),i=!1,gt(s)}}}function Yf(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=St(c,l[f]);e=new j2({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=St(u,h[f]);return s=new M2({props:u}),{c(){t=Q("div"),Ae(e.$$.fragment),i=ae(),Ae(s.$$.fragment),y(t,"class","plugin-floorplan-radar-container svelte-1mvqyqq"),U(t,"width",o),U(t,"height",r)},m(f,m){Z(f,t,m),me(e,t,null),j(t,i),me(s,t,null),a=!0},p(f,m){const p=m&6381?jt(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 g=m&2073?jt(h,[{pxmm:f[11],five:f[0],floorplanData:f[3],cameraImageUrl:f[4]}]):{};s.$set(g),m&1024&&o!==(o=`${f[10]}px`)&&U(t,"width",o),m&8192&&r!==(r=`${f[13]}px`)&&U(t,"height",r)},i(f){a||(N(e.$$.fragment,f),N(s.$$.fragment,f),a=!0)},o(f){Y(e.$$.fragment,f),Y(s.$$.fragment,f),a=!1},d(f){f&&X(t),ve(e),ve(s)}}}function B2(n){let t,e,i=n[1]&&Xf(n);return{c(){i&&i.c(),t=We()},m(s,o){i&&i.m(s,o),Z(s,t,o),e=!0},p(s,[o]){s[1]?i?(i.p(s,o),o&2&&N(i,1)):(i=Xf(s),i.c(),N(i,1),i.m(t.parentNode,t)):i&&(Ee(),Y(i,1,1,()=>{i=null}),xe())},i(s){e||(N(i),e=!0)},o(s){Y(i),e=!1},d(s){i&&i.d(s),s&&X(t)}}}function _2(n,t,e){var E,L;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=(L=(E=i.work.observers[i.getCurrentState().panoIndex])==null?void 0:E.floorIndex)!=null?L:0,m=0,p=0,g=0,v=0;function A(D){e(12,f=i.work.observers[D].floorIndex)}Dt(()=>(i.on("panoArrived",A),()=>{i.off("panoArrived",A)}));const w=D=>{e(8,m=D.detail)},k=D=>{e(9,p=D.detail)};return n.$$set=D=>{"five"in D&&e(0,i=D.five),"visible"in D&&e(1,s=D.visible),"hoverEnable"in D&&e(2,o=D.hoverEnable),"floorplanData"in D&&e(3,r=D.floorplanData),"cameraImageUrl"in D&&e(4,a=D.cameraImageUrl),"extraObjects"in D&&e(5,l=D.extraObjects),"highlightData"in D&&e(6,c=D.highlightData),"missingFloorImageUrl"in D&&e(7,h=D.missingFloorImageUrl)},n.$$.update=()=>{if(n.$$.dirty&1800){const D=Math.min(m,p),{max:F,min:z}=r.bounding,_=F.x-z.x,b=F.y-z.y,C=function(){return _>b?[D,D/_*b]:[D/b*_,D]}();e(10,g=C[0]),e(13,v=C[1]),e(11,u=g/_)}},[i,s,o,r,a,l,c,h,m,p,g,u,f,v,w,k]}class R2 extends ke{constructor(t){super(),Me(this,t,_2,B2,Ie,{five:0,visible:1,hoverEnable:2,floorplanData:3,cameraImageUrl:4,extraObjects:5,highlightData:6,missingFloorImageUrl:7},V2)}}let F2=class extends pn{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:!1,highlightEnable:!1,cameraImageUrl:Fn,missingFloorImageUrl:this.staticPrefix+"/release/web/saas/missing-floor.d687a5ed.png"},o=H(H({},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 ne(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 Nn(a),this.hooks.emit("dataLoaded",this.data),this.hooks.emit("dataChange",this.data,l),i&&this.updateState(i,s),this.render()})}show(){return ne(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 ne(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=s2(e,this.five,this.data),this.render())}formatData(e){return ne(this,null,function*(){return yield Nn(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?H(H({},s.config),e.config):s.config;this.state=de(H(H({},this.state),e),{config:o}),!Ht(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=de(H({},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 R2({target:this.wrapper,props:e})}};const N2=(n,t)=>new F2(n,t),H2=[{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:"和室"}],G2=[{type:0,description:"木质地板"},{type:1,description:"瓷砖地面"},{type:2,description:"户外地面"},{type:3,description:"卫生间地面"},{type:4,description:"阳台地面"},{type:5,description:"车库地面"}],W2=[{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:"写字楼"}],jc=(n,t,e)=>{const i=new P.Matrix4,s=new P.Euler(n,t,e,"YXZ");return i.makeRotationFromEuler(s),i},U2=(n,{scale:t,rotation:e,position:i})=>{if(t&&n.scale.set(t,t,t),e){const[s,o,r]=e;s&&n.applyMatrix4(jc(s,0,0)),o&&n.applyMatrix4(jc(0,o,0)),r&&n.applyMatrix4(jc(0,0,r))}return i&&n.position.set(i.x,i.y,i.z),n};function Zf(n,t){n.traverse(e=>{var i;if(e.type==="Mesh"){const s=e,o=H({map:s.material.map||{}},t);s.material=new B.MeshBasicMaterial(o),s.renderOrder=1,((i=e.parent)==null?void 0:i.type)==="Mesh"&&(e.renderOrder=e.parent.renderOrder+1)}})}/** @license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */var qf={},Ai=void 0,Q2=qf;function Vc(n,t){var e=n.split("."),i=Q2;!(e[0]in i)&&i.execScript&&i.execScript("var "+e[0]);for(var s;e.length&&(s=e.shift());)!e.length&&t!==Ai?i[s]=t:i=i[s]?i[s]:i[s]={}}var dt=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined"&&typeof DataView!="undefined";function vs(n){var t=n.length,e=0,i=Number.POSITIVE_INFINITY,s,o,r,a,l,c,h,u,f,m;for(u=0;u<t;++u)n[u]>e&&(e=n[u]),n[u]<i&&(i=n[u]);for(s=1<<e,o=new(dt?Uint32Array:Array)(s),r=1,a=0,l=2;r<=e;){for(u=0;u<t;++u)if(n[u]===r){for(c=0,h=a,f=0;f<r;++f)c=c<<1|h&1,h>>=1;for(m=r<<16|u,f=c;f<s;f+=l)o[f]=m;++a}++r,a<<=1,l<<=1}return[o,e,i]}function Gn(n,t){switch(this.g=[],this.h=32768,this.d=this.f=this.a=this.l=0,this.input=dt?new Uint8Array(n):n,this.m=!1,this.i=La,this.r=!1,(t||!(t={}))&&(t.index&&(this.a=t.index),t.bufferSize&&(this.h=t.bufferSize),t.bufferType&&(this.i=t.bufferType),t.resize&&(this.r=t.resize)),this.i){case Bc:this.b=32768,this.c=new(dt?Uint8Array:Array)(32768+this.h+258);break;case La:this.b=0,this.c=new(dt?Uint8Array:Array)(this.h),this.e=this.z,this.n=this.v,this.j=this.w;break;default:throw Error("invalid inflate mode")}}var Bc=0,La=1,Jf={t:Bc,s:La};Gn.prototype.k=function(){for(;!this.m;){var n=Ei(this,3);switch(n&1&&(this.m=!0),n>>>=1,n){case 0:var t=this.input,e=this.a,i=this.c,s=this.b,o=t.length,r=Ai,a=Ai,l=i.length,c=Ai;if(this.d=this.f=0,e+1>=o)throw Error("invalid uncompressed block header: LEN");if(r=t[e++]|t[e++]<<8,e+1>=o)throw Error("invalid uncompressed block header: NLEN");if(a=t[e++]|t[e++]<<8,r===~a)throw Error("invalid uncompressed block header: length verify");if(e+r>t.length)throw Error("input buffer is broken");switch(this.i){case Bc:for(;s+r>i.length;){if(c=l-s,r-=c,dt)i.set(t.subarray(e,e+c),s),s+=c,e+=c;else for(;c--;)i[s++]=t[e++];this.b=s,i=this.e(),s=this.b}break;case La:for(;s+r>i.length;)i=this.e({p:2});break;default:throw Error("invalid inflate mode")}if(dt)i.set(t.subarray(e,e+r),s),s+=r,e+=r;else for(;r--;)i[s++]=t[e++];this.a=e,this.b=s,this.c=i;break;case 1:this.j(X2,Y2);break;case 2:for(var h=Ei(this,5)+257,u=Ei(this,5)+1,f=Ei(this,4)+4,m=new(dt?Uint8Array:Array)(_c.length),p=Ai,g=Ai,v=Ai,A=Ai,w=Ai,k=Ai,E=Ai,D=Ai,L=Ai,D=0;D<f;++D)m[_c[D]]=Ei(this,3);if(!dt)for(D=f,f=m.length;D<f;++D)m[_c[D]]=0;for(p=vs(m),A=new(dt?Uint8Array:Array)(h+u),D=0,L=h+u;D<L;)switch(w=or(this,p),w){case 16:for(E=3+Ei(this,2);E--;)A[D++]=k;break;case 17:for(E=3+Ei(this,3);E--;)A[D++]=0;k=0;break;case 18:for(E=11+Ei(this,7);E--;)A[D++]=0;k=0;break;default:k=A[D++]=w}g=vs(dt?A.subarray(0,h):A.slice(0,h)),v=vs(dt?A.subarray(h):A.slice(h)),this.j(g,v);break;default:throw Error("unknown BTYPE: "+n)}}return this.n()};var Kf=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],_c=dt?new Uint16Array(Kf):Kf,$f=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,258,258],ep=dt?new Uint16Array($f):$f,tp=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0],za=dt?new Uint8Array(tp):tp,ip=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],np=dt?new Uint16Array(ip):ip,sp=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Oa=dt?new Uint8Array(sp):sp,Rc=new(dt?Uint8Array:Array)(288),As,op;for(As=0,op=Rc.length;As<op;++As)Rc[As]=143>=As?8:255>=As?9:279>=As?7:8;var X2=vs(Rc),Fc=new(dt?Uint8Array:Array)(30),ja,rp;for(ja=0,rp=Fc.length;ja<rp;++ja)Fc[ja]=5;var Y2=vs(Fc);function Ei(n,t){for(var e=n.f,i=n.d,s=n.input,o=n.a,r=s.length,a;i<t;){if(o>=r)throw Error("input buffer is broken");e|=s[o++]<<i,i+=8}return a=e&(1<<t)-1,n.f=e>>>t,n.d=i-t,n.a=o,a}function or(n,t){for(var e=n.f,i=n.d,s=n.input,o=n.a,r=s.length,a=t[0],l=t[1],c,h;i<l&&!(o>=r);)e|=s[o++]<<i,i+=8;if(c=a[e&(1<<l)-1],h=c>>>16,h>i)throw Error("invalid code length: "+h);return n.f=e>>h,n.d=i-h,n.a=o,c&65535}Gn.prototype.j=function(n,t){var e=this.c,i=this.b;this.o=n;for(var s=e.length-258,o,r,a,l;(o=or(this,n))!==256;)if(256>o)i>=s&&(this.b=i,e=this.e(),i=this.b),e[i++]=o;else for(r=o-257,l=ep[r],0<za[r]&&(l+=Ei(this,za[r])),o=or(this,t),a=np[o],0<Oa[o]&&(a+=Ei(this,Oa[o])),i>=s&&(this.b=i,e=this.e(),i=this.b);l--;)e[i]=e[i++-a];for(;8<=this.d;)this.d-=8,this.a--;this.b=i},Gn.prototype.w=function(n,t){var e=this.c,i=this.b;this.o=n;for(var s=e.length,o,r,a,l;(o=or(this,n))!==256;)if(256>o)i>=s&&(e=this.e(),s=e.length),e[i++]=o;else for(r=o-257,l=ep[r],0<za[r]&&(l+=Ei(this,za[r])),o=or(this,t),a=np[o],0<Oa[o]&&(a+=Ei(this,Oa[o])),i+l>s&&(e=this.e(),s=e.length);l--;)e[i]=e[i++-a];for(;8<=this.d;)this.d-=8,this.a--;this.b=i},Gn.prototype.e=function(){var n=new(dt?Uint8Array:Array)(this.b-32768),t=this.b-32768,e,i,s=this.c;if(dt)n.set(s.subarray(32768,n.length));else for(e=0,i=n.length;e<i;++e)n[e]=s[e+32768];if(this.g.push(n),this.l+=n.length,dt)s.set(s.subarray(t,t+32768));else for(e=0;32768>e;++e)s[e]=s[t+e];return this.b=32768,s},Gn.prototype.z=function(n){var t,e=this.input.length/this.a+1|0,i,s,o,r=this.input,a=this.c;return n&&(typeof n.p=="number"&&(e=n.p),typeof n.u=="number"&&(e+=n.u)),2>e?(i=(r.length-this.a)/this.o[2],o=258*(i/2)|0,s=o<a.length?a.length+o:a.length<<1):s=a.length*e,dt?(t=new Uint8Array(s),t.set(a)):t=a,this.c=t},Gn.prototype.n=function(){var n=0,t=this.c,e=this.g,i,s=new(dt?Uint8Array:Array)(this.l+(this.b-32768)),o,r,a,l;if(e.length===0)return dt?this.c.subarray(32768,this.b):this.c.slice(32768,this.b);for(o=0,r=e.length;o<r;++o)for(i=e[o],a=0,l=i.length;a<l;++a)s[n++]=i[a];for(o=32768,r=this.b;o<r;++o)s[n++]=t[o];return this.g=[],this.buffer=s},Gn.prototype.v=function(){var n,t=this.b;return dt?this.r?(n=new Uint8Array(t),n.set(this.c.subarray(0,t))):n=this.c.subarray(0,t):(this.c.length>t&&(this.c.length=t),n=this.c),this.buffer=n};function Nc(n,t){var e,i;switch(this.input=n,this.a=0,(t||!(t={}))&&(t.index&&(this.a=t.index),t.verify&&(this.A=t.verify)),e=n[this.a++],i=n[this.a++],e&15){case ap:this.method=ap;break;default:throw Error("unsupported compression method")}if(((e<<8)+i)%31!==0)throw Error("invalid fcheck flag:"+((e<<8)+i)%31);if(i&32)throw Error("fdict flag is not supported");this.q=new Gn(n,{index:this.a,bufferSize:t.bufferSize,bufferType:t.bufferType,resize:t.resize})}Nc.prototype.k=function(){var n=this.input,t,e;if(t=this.q.k(),this.a=this.q.a,this.A){e=(n[this.a++]<<24|n[this.a++]<<16|n[this.a++]<<8|n[this.a++])>>>0;var i=t;if(typeof i=="string"){var s=i.split(""),o,r;for(o=0,r=s.length;o<r;o++)s[o]=(s[o].charCodeAt(0)&255)>>>0;i=s}for(var a=1,l=0,c=i.length,h,u=0;0<c;){h=1024<c?1024:c,c-=h;do a+=i[u++],l+=a;while(--h);a%=65521,l%=65521}if(e!==(l<<16|a)>>>0)throw Error("invalid adler-32 checksum")}return t};var ap=8;Vc("Zlib.Inflate",Nc),Vc("Zlib.Inflate.prototype.decompress",Nc.prototype.k);var Hc={ADAPTIVE:Jf.s,BLOCK:Jf.t},rr,ar,po,lp;if(Object.keys)rr=Object.keys(Hc);else for(ar in rr=[],po=0,Hc)rr[po++]=ar;for(po=0,lp=rr.length;po<lp;++po)ar=rr[po],Vc("Zlib.Inflate.BufferType."+ar,Hc[ar]);var cp=qf.Zlib,hp={findSpan:function(n,t,e){var i=e.length-n-1;if(t>=e[i])return i-1;if(t<=e[n])return n;for(var s=n,o=i,r=Math.floor((s+o)/2);t<e[r]||t>=e[r+1];)t<e[r]?o=r:s=r,r=Math.floor((s+o)/2);return r},calcBasisFunctions:function(n,t,e,i){var s=[],o=[],r=[];s[0]=1;for(var a=1;a<=e;++a){o[a]=t-i[n+1-a],r[a]=i[n+a]-t;for(var l=0,c=0;c<a;++c){var h=r[c+1],u=o[a-c],f=s[c]/(h+u);s[c]=l+h*f,l=u*f}s[a]=l}return s},calcBSplinePoint:function(n,t,e,i){for(var s=this.findSpan(n,i,t),o=this.calcBasisFunctions(s,i,n,t),r=new B.Vector4(0,0,0,0),a=0;a<=n;++a){var l=e[s-n+a],c=o[a],h=l.w*c;r.x+=l.x*h,r.y+=l.y*h,r.z+=l.z*h,r.w+=l.w*c}return r},calcBasisFunctionDerivatives:function(n,t,e,i,s){for(var o=[],r=0;r<=e;++r)o[r]=0;for(var a=[],r=0;r<=i;++r)a[r]=o.slice(0);for(var l=[],r=0;r<=e;++r)l[r]=o.slice(0);l[0][0]=1;for(var c=o.slice(0),h=o.slice(0),u=1;u<=e;++u){c[u]=t-s[n+1-u],h[u]=s[n+u]-t;for(var f=0,_=0;_<u;++_){var m=h[_+1],p=c[u-_];l[u][_]=m+p;var g=l[_][u-1]/l[u][_];l[_][u]=f+m*g,f=p*g}l[u][u]=f}for(var u=0;u<=e;++u)a[0][u]=l[u][e];for(var _=0;_<=e;++_){for(var v=0,A=1,w=[],r=0;r<=e;++r)w[r]=o.slice(0);w[0][0]=1;for(var k=1;k<=i;++k){var E=0,L=_-k,D=e-k;_>=k&&(w[A][0]=w[v][0]/l[D+1][L],E=w[A][0]*l[L][D]);for(var F=L>=-1?1:-L,z=_-1<=D?k-1:e-_,u=F;u<=z;++u)w[A][u]=(w[v][u]-w[v][u-1])/l[D+1][L+u],E+=w[A][u]*l[L+u][D];_<=D&&(w[A][k]=-w[v][k-1]/l[D+1][_],E+=w[A][k]*l[_][D]),a[k][_]=E;var u=v;v=A,A=u}}for(var _=e,k=1;k<=i;++k){for(var u=0;u<=e;++u)a[k][u]*=_;_*=e-k}return a},calcBSplineDerivatives:function(n,t,e,i,s){for(var o=s<n?s:n,r=[],a=this.findSpan(n,i,t),l=this.calcBasisFunctionDerivatives(a,i,n,o,t),c=[],h=0;h<e.length;++h){var u=e[h].clone(),f=u.w;u.x*=f,u.y*=f,u.z*=f,c[h]=u}for(var m=0;m<=o;++m){for(var u=c[a-n].clone().multiplyScalar(l[m][0]),p=1;p<=n;++p)u.add(c[a-n+p].clone().multiplyScalar(l[m][p]));r[m]=u}for(var m=o+1;m<=s+1;++m)r[m]=new B.Vector4(0,0,0);return r},calcKoverI:function(n,t){for(var e=1,i=2;i<=n;++i)e*=i;for(var s=1,i=2;i<=t;++i)s*=i;for(var i=2;i<=n-t;++i)s*=i;return e/s},calcRationalCurveDerivatives:function(n){for(var t=n.length,e=[],i=[],s=0;s<t;++s){var o=n[s];e[s]=new B.Vector3(o.x,o.y,o.z),i[s]=o.w}for(var r=[],a=0;a<t;++a){for(var l=e[a].clone(),s=1;s<=a;++s)l.sub(r[a-s].clone().multiplyScalar(this.calcKoverI(a,s)*i[s]));r[a]=l.divideScalar(i[0])}return r},calcNURBSDerivatives:function(n,t,e,i,s){var o=this.calcBSplineDerivatives(n,t,e,i,s);return this.calcRationalCurveDerivatives(o)},calcSurfacePoint:function(n,t,e,i,s,o,r,a){for(var l=this.findSpan(n,o,e),c=this.findSpan(t,r,i),h=this.calcBasisFunctions(l,o,n,e),u=this.calcBasisFunctions(c,r,t,i),f=[],m=0;m<=t;++m){f[m]=new B.Vector4(0,0,0,0);for(var p=0;p<=n;++p){var g=s[l-n+p][c-t+m].clone(),v=g.w;g.x*=v,g.y*=v,g.z*=v,f[m].add(g.multiplyScalar(h[p]))}}for(var A=new B.Vector4(0,0,0,0),m=0;m<=t;++m)A.add(f[m].multiplyScalar(u[m]));A.divideScalar(A.w),a.set(A.x,A.y,A.z)}},bs=function(n,t,e,i,s){B.Curve.call(this),this.degree=n,this.knots=t,this.controlPoints=[],this.startKnot=i||0,this.endKnot=s||this.knots.length-1;for(var o=0;o<e.length;++o){var r=e[o];this.controlPoints[o]=new B.Vector4(r.x,r.y,r.z,r.w)}};bs.prototype=Object.create(B.Curve.prototype),bs.prototype.constructor=bs,bs.prototype.getPoint=function(n,t){var e=t||new B.Vector3,i=this.knots[this.startKnot]+n*(this.knots[this.endKnot]-this.knots[this.startKnot]),s=hp.calcBSplinePoint(this.degree,this.knots,this.controlPoints,i);return s.w!=1&&s.divideScalar(s.w),e.set(s.x,s.y,s.z)},bs.prototype.getTangent=function(n,t){var e=t||new B.Vector3,i=this.knots[0]+n*(this.knots[this.knots.length-1]-this.knots[0]),s=hp.calcNURBSDerivatives(this.degree,this.knots,this.controlPoints,i,1);return e.copy(s[1]).normalize(),e};var up=function(){var n,t,e;function i(b){B.Loader.call(this,b)}i.prototype=Object.assign(Object.create(B.Loader.prototype),{constructor:i,load:function(b,C,I,M){var S=this,T=S.path===""?B.LoaderUtils.extractUrlBase(b):S.path,G=new B.FileLoader(this.manager);G.setPath(S.path),G.setResponseType("arraybuffer"),G.load(b,function(V){try{C(S.parse(V,T))}catch(J){M?M(J):console.error(J),S.manager.itemError(b)}},I,M)},parse:function(b,C){if(u(b))n=new l().parse(b);else{var I=D(b);if(!f(I))throw new Error("THREE.FBXLoader: Unknown format.");if(m(I)<7e3)throw new Error("THREE.FBXLoader: FBX version not supported, FileVersion: "+m(I));n=new a().parse(I)}var M=new B.TextureLoader(this.manager).setPath(this.resourcePath||C).setCrossOrigin(this.crossOrigin);return new s(M,this.manager).parse(n)}});function s(b,C){this.textureLoader=b,this.manager=C}s.prototype={constructor:s,parse:function(){t=this.parseConnections();var b=this.parseImages(),C=this.parseTextures(b),I=this.parseMaterials(C),M=this.parseDeformers(),S=new o().parse(M);return this.parseScene(M,S,I),e},parseConnections:function(){var b=new Map;if("Connections"in n){var C=n.Connections.connections;C.forEach(function(I){var M=I[0],S=I[1],T=I[2];b.has(M)||b.set(M,{parents:[],children:[]});var G={ID:S,relationship:T};b.get(M).parents.push(G),b.has(S)||b.set(S,{parents:[],children:[]});var V={ID:M,relationship:T};b.get(S).children.push(V)})}return b},parseImages:function(){var b={},C={};if("Video"in n.Objects){var I=n.Objects.Video;for(var M in I){var S=I[M],T=parseInt(M);if(b[T]=S.RelativeFilename||S.Filename,"Content"in S){var G=S.Content instanceof ArrayBuffer&&S.Content.byteLength>0,V=typeof S.Content=="string"&&S.Content!=="";if(G||V){var J=this.parseImage(I[M]);C[S.RelativeFilename||S.Filename]=J}}}}for(var T in b){var te=b[T];C[te]!==void 0?b[T]=C[te]:b[T]=b[T].split("\\").pop()}return b},parseImage:function(b){var C=b.Content,I=b.RelativeFilename||b.Filename,M=I.slice(I.lastIndexOf(".")+1).toLowerCase(),S;switch(M){case"bmp":S="image/bmp";break;case"jpg":case"jpeg":S="image/jpeg";break;case"png":S="image/png";break;case"tif":S="image/tiff";break;case"tga":this.manager.getHandler(".tga")===null&&console.warn("FBXLoader: TGA loader not found, skipping ",I),S="image/tga";break;default:console.warn('FBXLoader: Image type "'+M+'" is not supported.');return}if(typeof C=="string")return"data:"+S+";base64,"+C;var T=new Uint8Array(C);return window.URL.createObjectURL(new Blob([T],{type:S}))},parseTextures:function(b){var C=new Map;if("Texture"in n.Objects){var I=n.Objects.Texture;for(var M in I){var S=this.parseTexture(I[M],b);C.set(parseInt(M),S)}}return C},parseTexture:function(b,C){var I=this.loadTexture(b,C);I.ID=b.id,I.name=b.attrName;var M=b.WrapModeU,S=b.WrapModeV,T=M!==void 0?M.value:0,G=S!==void 0?S.value:0;if(I.wrapS=T===0?B.RepeatWrapping:B.ClampToEdgeWrapping,I.wrapT=G===0?B.RepeatWrapping:B.ClampToEdgeWrapping,"Scaling"in b){var V=b.Scaling.value;I.repeat.x=V[0],I.repeat.y=V[1]}return I},loadTexture:function(b,C){var I,M=this.textureLoader.path,S=t.get(b.id).children;S!==void 0&&S.length>0&&C[S[0].ID]!==void 0&&(I=C[S[0].ID],(I.indexOf("blob:")===0||I.indexOf("data:")===0)&&this.textureLoader.setPath(void 0));var T,G=b.FileName.slice(-3).toLowerCase();if(G==="tga"){var V=this.manager.getHandler(".tga");V===null?(console.warn("FBXLoader: TGA loader not found, creating placeholder texture for",b.RelativeFilename),T=new B.Texture):T=V.load(I)}else G==="psd"?(console.warn("FBXLoader: PSD textures are not supported, creating placeholder texture for",b.RelativeFilename),T=new B.Texture):T=this.textureLoader.load(I);return this.textureLoader.setPath(M),T},parseMaterials:function(b){var C=new Map;if("Material"in n.Objects){var I=n.Objects.Material;for(var M in I){var S=this.parseMaterial(I[M],b);S!==null&&C.set(parseInt(M),S)}}return C},parseMaterial:function(b,C){var I=b.id,M=b.attrName,S=b.ShadingModel;if(typeof S=="object"&&(S=S.value),!t.has(I))return null;var T=this.parseParameters(b,C,I),G;switch(S.toLowerCase()){case"phong":G=new B.MeshPhongMaterial;break;case"lambert":G=new B.MeshLambertMaterial;break;default:console.warn('THREE.FBXLoader: unknown material type "%s". Defaulting to MeshPhongMaterial.',S),G=new B.MeshPhongMaterial;break}return G.setValues(T),G.name=M,G},parseParameters:function(b,C,I){var M={};b.BumpFactor&&(M.bumpScale=b.BumpFactor.value),b.Diffuse?M.color=new B.Color().fromArray(b.Diffuse.value):b.DiffuseColor&&b.DiffuseColor.type==="Color"&&(M.color=new B.Color().fromArray(b.DiffuseColor.value)),b.DisplacementFactor&&(M.displacementScale=b.DisplacementFactor.value),b.Emissive?M.emissive=new B.Color().fromArray(b.Emissive.value):b.EmissiveColor&&b.EmissiveColor.type==="Color"&&(M.emissive=new B.Color().fromArray(b.EmissiveColor.value)),b.EmissiveFactor&&(M.emissiveIntensity=parseFloat(b.EmissiveFactor.value)),b.Opacity&&(M.opacity=parseFloat(b.Opacity.value)),M.opacity<1&&(M.transparent=!0),b.ReflectionFactor&&(M.reflectivity=b.ReflectionFactor.value),b.Shininess&&(M.shininess=b.Shininess.value),b.Specular?M.specular=new B.Color().fromArray(b.Specular.value):b.SpecularColor&&b.SpecularColor.type==="Color"&&(M.specular=new B.Color().fromArray(b.SpecularColor.value));var S=this;return t.get(I).children.forEach(function(T){var G=T.relationship;switch(G){case"Bump":M.bumpMap=S.getTexture(C,T.ID);break;case"Maya|TEX_ao_map":M.aoMap=S.getTexture(C,T.ID);break;case"DiffuseColor":case"Maya|TEX_color_map":M.map=S.getTexture(C,T.ID),M.map.encoding=B.sRGBEncoding;break;case"DisplacementColor":M.displacementMap=S.getTexture(C,T.ID);break;case"EmissiveColor":M.emissiveMap=S.getTexture(C,T.ID),M.emissiveMap.encoding=B.sRGBEncoding;break;case"NormalMap":case"Maya|TEX_normal_map":M.normalMap=S.getTexture(C,T.ID);break;case"ReflectionColor":M.envMap=S.getTexture(C,T.ID),M.envMap.mapping=B.EquirectangularReflectionMapping,M.envMap.encoding=B.sRGBEncoding;break;case"SpecularColor":M.specularMap=S.getTexture(C,T.ID),M.specularMap.encoding=B.sRGBEncoding;break;case"TransparentColor":case"TransparencyFactor":M.alphaMap=S.getTexture(C,T.ID),M.transparent=!0;break;case"AmbientColor":case"ShininessExponent":case"SpecularFactor":case"VectorDisplacementColor":default:console.warn("THREE.FBXLoader: %s map is not supported in three.js, skipping texture.",G);break}}),M},getTexture:function(b,C){return"LayeredTexture"in n.Objects&&C in n.Objects.LayeredTexture&&(console.warn("THREE.FBXLoader: layered textures are not supported in three.js. Discarding all but first layer."),C=t.get(C).children[0].ID),b.get(C)},parseDeformers:function(){var b={},C={};if("Deformer"in n.Objects){var I=n.Objects.Deformer;for(var M in I){var S=I[M],T=t.get(parseInt(M));if(S.attrType==="Skin"){var G=this.parseSkeleton(T,I);G.ID=M,T.parents.length>1&&console.warn("THREE.FBXLoader: skeleton attached to more than one geometry is not supported."),G.geometryID=T.parents[0].ID,b[M]=G}else if(S.attrType==="BlendShape"){var V={id:M};V.rawTargets=this.parseMorphTargets(T,I),V.id=M,T.parents.length>1&&console.warn("THREE.FBXLoader: morph target attached to more than one geometry is not supported."),C[M]=V}}}return{skeletons:b,morphTargets:C}},parseSkeleton:function(b,C){var I=[];return b.children.forEach(function(M){var S=C[M.ID];if(S.attrType==="Cluster"){var T={ID:M.ID,indices:[],weights:[],transformLink:new B.Matrix4().fromArray(S.TransformLink.a)};"Indexes"in S&&(T.indices=S.Indexes.a,T.weights=S.Weights.a),I.push(T)}}),{rawBones:I,bones:[]}},parseMorphTargets:function(b,C){for(var I=[],M=0;M<b.children.length;M++){var S=b.children[M],T=C[S.ID],G={name:T.attrName,initialWeight:T.DeformPercent,id:T.id,fullWeights:T.FullWeights.a};if(T.attrType!=="BlendShapeChannel")return;G.geoID=t.get(parseInt(S.ID)).children.filter(function(V){return V.relationship===void 0})[0].ID,I.push(G)}return I},parseScene:function(b,C,I){e=new B.Group;var M=this.parseModels(b.skeletons,C,I),S=n.Objects.Model,T=this;M.forEach(function(V){var J=S[V.ID];T.setLookAtProperties(V,J);var te=t.get(V.ID).parents;te.forEach(function($){var oe=M.get($.ID);oe!==void 0&&oe.add(V)}),V.parent===null&&e.add(V)}),this.bindSkeleton(b.skeletons,C,M),this.createAmbientLight(),this.setupMorphMaterials(),e.traverse(function(V){if(V.userData.transformData){V.parent&&(V.userData.transformData.parentMatrixWorld=V.parent.matrix);var J=k(V.userData.transformData);V.applyMatrix4(J)}});var G=new r().parse();e.children.length===1&&e.children[0].isGroup&&(e.children[0].animations=G,e=e.children[0]),e.animations=G},parseModels:function(b,C,I){var M=new Map,S=n.Objects.Model;for(var T in S){var G=parseInt(T),V=S[T],J=t.get(G),te=this.buildSkeleton(J,b,G,V.attrName);if(!te){switch(V.attrType){case"Camera":te=this.createCamera(J);break;case"Light":te=this.createLight(J);break;case"Mesh":te=this.createMesh(J,C,I);break;case"NurbsCurve":te=this.createCurve(J,C);break;case"LimbNode":case"Root":te=new B.Bone;break;case"Null":default:te=new B.Group;break}te.name=V.attrName?B.PropertyBinding.sanitizeNodeName(V.attrName):"",te.ID=G}this.getTransformData(te,V),M.set(G,te)}return M},buildSkeleton:function(b,C,I,M){var S=null;return b.parents.forEach(function(T){for(var G in C){var V=C[G];V.rawBones.forEach(function(J,te){if(J.ID===T.ID){var $=S;S=new B.Bone,S.matrixWorld.copy(J.transformLink),S.name=M?B.PropertyBinding.sanitizeNodeName(M):"",S.ID=I,V.bones[te]=S,$!==null&&S.add($)}})}}),S},createCamera:function(b){var C,I;if(b.children.forEach(function(oe){var ie=n.Objects.NodeAttribute[oe.ID];ie!==void 0&&(I=ie)}),I===void 0)C=new B.Object3D;else{var M=0;I.CameraProjectionType!==void 0&&I.CameraProjectionType.value===1&&(M=1);var S=1;I.NearPlane!==void 0&&(S=I.NearPlane.value/1e3);var T=1e3;I.FarPlane!==void 0&&(T=I.FarPlane.value/1e3);var G=window.innerWidth,V=window.innerHeight;I.AspectWidth!==void 0&&I.AspectHeight!==void 0&&(G=I.AspectWidth.value,V=I.AspectHeight.value);var J=G/V,te=45;I.FieldOfView!==void 0&&(te=I.FieldOfView.value);var $=I.FocalLength?I.FocalLength.value:null;switch(M){case 0:C=new B.PerspectiveCamera(te,J,S,T),$!==null&&C.setFocalLength($);break;case 1:C=new B.OrthographicCamera(-G/2,G/2,V/2,-V/2,S,T);break;default:console.warn("THREE.FBXLoader: Unknown camera type "+M+"."),C=new B.Object3D;break}}return C},createLight:function(b){var C,I;if(b.children.forEach(function($){var oe=n.Objects.NodeAttribute[$.ID];oe!==void 0&&(I=oe)}),I===void 0)C=new B.Object3D;else{var M;I.LightType===void 0?M=0:M=I.LightType.value;var S=16777215;I.Color!==void 0&&(S=new B.Color().fromArray(I.Color.value));var T=I.Intensity===void 0?1:I.Intensity.value/100;I.CastLightOnObject!==void 0&&I.CastLightOnObject.value===0&&(T=0);var G=0;I.FarAttenuationEnd!==void 0&&(I.EnableFarAttenuation!==void 0&&I.EnableFarAttenuation.value===0?G=0:G=I.FarAttenuationEnd.value);var V=1;switch(M){case 0:C=new B.PointLight(S,T,G,V);break;case 1:C=new B.DirectionalLight(S,T);break;case 2:var J=Math.PI/3;I.InnerAngle!==void 0&&(J=B.MathUtils.degToRad(I.InnerAngle.value));var te=0;I.OuterAngle!==void 0&&(te=B.MathUtils.degToRad(I.OuterAngle.value),te=Math.max(te,1)),C=new B.SpotLight(S,T,G,J,te,V);break;default:console.warn("THREE.FBXLoader: Unknown light type "+I.LightType.value+", defaulting to a PointLight."),C=new B.PointLight(S,T);break}I.CastShadows!==void 0&&I.CastShadows.value===1&&(C.castShadow=!0)}return C},createMesh:function(b,C,I){var M,S=null,T=null,G=[];return b.children.forEach(function(V){C.has(V.ID)&&(S=C.get(V.ID)),I.has(V.ID)&&G.push(I.get(V.ID))}),G.length>1?T=G:G.length>0?T=G[0]:(T=new B.MeshPhongMaterial({color:13421772}),G.push(T)),"color"in S.attributes&&G.forEach(function(V){V.vertexColors=!0}),S.FBX_Deformer?(G.forEach(function(V){V.skinning=!0}),M=new B.SkinnedMesh(S,T),M.normalizeSkinWeights()):M=new B.Mesh(S,T),M},createCurve:function(b,C){var I=b.children.reduce(function(S,T){return C.has(T.ID)&&(S=C.get(T.ID)),S},null),M=new B.LineBasicMaterial({color:3342591,linewidth:1});return new B.Line(I,M)},getTransformData:function(b,C){var I={};"InheritType"in C&&(I.inheritType=parseInt(C.InheritType.value)),"RotationOrder"in C?I.eulerOrder=E(C.RotationOrder.value):I.eulerOrder="ZYX","Lcl_Translation"in C&&(I.translation=C.Lcl_Translation.value),"PreRotation"in C&&(I.preRotation=C.PreRotation.value),"Lcl_Rotation"in C&&(I.rotation=C.Lcl_Rotation.value),"PostRotation"in C&&(I.postRotation=C.PostRotation.value),"Lcl_Scaling"in C&&(I.scale=C.Lcl_Scaling.value),"ScalingOffset"in C&&(I.scalingOffset=C.ScalingOffset.value),"ScalingPivot"in C&&(I.scalingPivot=C.ScalingPivot.value),"RotationOffset"in C&&(I.rotationOffset=C.RotationOffset.value),"RotationPivot"in C&&(I.rotationPivot=C.RotationPivot.value),b.userData.transformData=I},setLookAtProperties:function(b,C){if("LookAtProperty"in C){var I=t.get(b.ID).children;I.forEach(function(M){if(M.relationship==="LookAtProperty"){var S=n.Objects.Model[M.ID];if("Lcl_Translation"in S){var T=S.Lcl_Translation.value;b.target!==void 0?(b.target.position.fromArray(T),e.add(b.target)):b.lookAt(new B.Vector3().fromArray(T))}}})}},bindSkeleton:function(b,C,I){var M=this.parsePoseNodes();for(var S in b){var T=b[S],G=t.get(parseInt(T.ID)).parents;G.forEach(function(V){if(C.has(V.ID)){var J=V.ID,te=t.get(J);te.parents.forEach(function($){if(I.has($.ID)){var oe=I.get($.ID);oe.bind(new B.Skeleton(T.bones),M[$.ID])}})}})}},parsePoseNodes:function(){var b={};if("Pose"in n.Objects){var C=n.Objects.Pose;for(var I in C)if(C[I].attrType==="BindPose"){var M=C[I].PoseNode;Array.isArray(M)?M.forEach(function(S){b[S.Node]=new B.Matrix4().fromArray(S.Matrix.a)}):b[M.Node]=new B.Matrix4().fromArray(M.Matrix.a)}}return b},createAmbientLight:function(){if("GlobalSettings"in n&&"AmbientColor"in n.GlobalSettings){var b=n.GlobalSettings.AmbientColor.value,C=b[0],I=b[1],M=b[2];if(C!==0||I!==0||M!==0){var S=new B.Color(C,I,M);e.add(new B.AmbientLight(S,1))}}},setupMorphMaterials:function(){var b=this;e.traverse(function(C){C.isMesh&&C.geometry.morphAttributes.position&&C.geometry.morphAttributes.position.length&&(Array.isArray(C.material)?C.material.forEach(function(I,M){b.setupMorphMaterial(C,I,M)}):b.setupMorphMaterial(C,C.material))})},setupMorphMaterial:function(b,C,I){var M=b.uuid,S=C.uuid,T=!1;if(e.traverse(function(V){V.isMesh&&(Array.isArray(V.material)?V.material.forEach(function(J){J.uuid===S&&V.uuid!==M&&(T=!0)}):V.material.uuid===S&&V.uuid!==M&&(T=!0))}),T===!0){var G=C.clone();G.morphTargets=!0,I===void 0?b.material=G:b.material[I]=G}else C.morphTargets=!0}};function o(){}o.prototype={constructor:o,parse:function(b){var C=new Map;if("Geometry"in n.Objects){var I=n.Objects.Geometry;for(var M in I){var S=t.get(parseInt(M)),T=this.parseGeometry(S,I[M],b);C.set(parseInt(M),T)}}return C},parseGeometry:function(b,C,I){switch(C.attrType){case"Mesh":return this.parseMeshGeometry(b,C,I);case"NurbsCurve":return this.parseNurbsGeometry(C)}},parseMeshGeometry:function(b,C,I){var M=I.skeletons,S=[],T=b.parents.map(function($){return n.Objects.Model[$.ID]});if(T.length!==0){var G=b.children.reduce(function($,oe){return M[oe.ID]!==void 0&&($=M[oe.ID]),$},null);b.children.forEach(function($){I.morphTargets[$.ID]!==void 0&&S.push(I.morphTargets[$.ID])});var V=T[0],J={};"RotationOrder"in V&&(J.eulerOrder=E(V.RotationOrder.value)),"InheritType"in V&&(J.inheritType=parseInt(V.InheritType.value)),"GeometricTranslation"in V&&(J.translation=V.GeometricTranslation.value),"GeometricRotation"in V&&(J.rotation=V.GeometricRotation.value),"GeometricScaling"in V&&(J.scale=V.GeometricScaling.value);var te=k(J);return this.genGeometry(C,G,S,te)}},genGeometry:function(b,C,I,M){var S=new B.BufferGeometry;b.attrName&&(S.name=b.attrName);var T=this.parseGeoNode(b,C),G=this.genBuffers(T),V=new B.Float32BufferAttribute(G.vertex,3);if(V.applyMatrix4(M),S.setAttribute("position",V),G.colors.length>0&&S.setAttribute("color",new B.Float32BufferAttribute(G.colors,3)),C&&(S.setAttribute("skinIndex",new B.Uint16BufferAttribute(G.weightsIndices,4)),S.setAttribute("skinWeight",new B.Float32BufferAttribute(G.vertexWeights,4)),S.FBX_Deformer=C),G.normal.length>0){var J=new B.Matrix3().getNormalMatrix(M),te=new B.Float32BufferAttribute(G.normal,3);te.applyNormalMatrix(J),S.setAttribute("normal",te)}if(G.uvs.forEach(function(Te,ue){var Le="uv"+(ue+1).toString();ue===0&&(Le="uv"),S.setAttribute(Le,new B.Float32BufferAttribute(G.uvs[ue],2))}),T.material&&T.material.mappingType!=="AllSame"){var $=G.materialIndex[0],oe=0;if(G.materialIndex.forEach(function(Te,ue){Te!==$&&(S.addGroup(oe,ue-oe,$),$=Te,oe=ue)}),S.groups.length>0){var ie=S.groups[S.groups.length-1],ce=ie.start+ie.count;ce!==G.materialIndex.length&&S.addGroup(ce,G.materialIndex.length-ce,$)}S.groups.length===0&&S.addGroup(0,G.materialIndex.length,G.materialIndex[0])}return this.addMorphTargets(S,b,I,M),S},parseGeoNode:function(b,C){var I={};if(I.vertexPositions=b.Vertices!==void 0?b.Vertices.a:[],I.vertexIndices=b.PolygonVertexIndex!==void 0?b.PolygonVertexIndex.a:[],b.LayerElementColor&&(I.color=this.parseVertexColors(b.LayerElementColor[0])),b.LayerElementMaterial&&(I.material=this.parseMaterialIndices(b.LayerElementMaterial[0])),b.LayerElementNormal&&(I.normal=this.parseNormals(b.LayerElementNormal[0])),b.LayerElementUV){I.uv=[];for(var M=0;b.LayerElementUV[M];)I.uv.push(this.parseUVs(b.LayerElementUV[M])),M++}return I.weightTable={},C!==null&&(I.skeleton=C,C.rawBones.forEach(function(S,T){S.indices.forEach(function(G,V){I.weightTable[G]===void 0&&(I.weightTable[G]=[]),I.weightTable[G].push({id:T,weight:S.weights[V]})})})),I},genBuffers:function(b){var C={vertex:[],normal:[],colors:[],uvs:[],materialIndex:[],vertexWeights:[],weightsIndices:[]},I=0,M=0,S=!1,T=[],G=[],V=[],J=[],te=[],$=[],oe=this;return b.vertexIndices.forEach(function(ie,ce){var Te=!1;ie<0&&(ie=ie^-1,Te=!0);var ue=[],Le=[];if(T.push(ie*3,ie*3+1,ie*3+2),b.color){var ge=v(ce,I,ie,b.color);V.push(ge[0],ge[1],ge[2])}if(b.skeleton){if(b.weightTable[ie]!==void 0&&b.weightTable[ie].forEach(function(Be){Le.push(Be.weight),ue.push(Be.id)}),Le.length>4){S||(console.warn("THREE.FBXLoader: Vertex has more than 4 skinning weights assigned to vertex. Deleting additional weights."),S=!0);var he=[0,0,0,0],ze=[0,0,0,0];Le.forEach(function(Be,be){var Re=Be,pe=ue[be];ze.forEach(function(Ce,Oe,Ze){if(Re>Ce){Ze[Oe]=Re,Re=Ce;var Je=he[Oe];he[Oe]=pe,pe=Je}})}),ue=he,Le=ze}for(;Le.length<4;)Le.push(0),ue.push(0);for(var ee=0;ee<4;++ee)te.push(Le[ee]),$.push(ue[ee])}if(b.normal){var ge=v(ce,I,ie,b.normal);G.push(ge[0],ge[1],ge[2])}if(b.material&&b.material.mappingType!=="AllSame")var Se=v(ce,I,ie,b.material)[0];b.uv&&b.uv.forEach(function(Be,be){var Re=v(ce,I,ie,Be);J[be]===void 0&&(J[be]=[]),J[be].push(Re[0]),J[be].push(Re[1])}),M++,Te&&(oe.genFace(C,b,T,Se,G,V,J,te,$,M),I++,M=0,T=[],G=[],V=[],J=[],te=[],$=[])}),C},genFace:function(b,C,I,M,S,T,G,V,J,te){for(var $=2;$<te;$++)b.vertex.push(C.vertexPositions[I[0]]),b.vertex.push(C.vertexPositions[I[1]]),b.vertex.push(C.vertexPositions[I[2]]),b.vertex.push(C.vertexPositions[I[($-1)*3]]),b.vertex.push(C.vertexPositions[I[($-1)*3+1]]),b.vertex.push(C.vertexPositions[I[($-1)*3+2]]),b.vertex.push(C.vertexPositions[I[$*3]]),b.vertex.push(C.vertexPositions[I[$*3+1]]),b.vertex.push(C.vertexPositions[I[$*3+2]]),C.skeleton&&(b.vertexWeights.push(V[0]),b.vertexWeights.push(V[1]),b.vertexWeights.push(V[2]),b.vertexWeights.push(V[3]),b.vertexWeights.push(V[($-1)*4]),b.vertexWeights.push(V[($-1)*4+1]),b.vertexWeights.push(V[($-1)*4+2]),b.vertexWeights.push(V[($-1)*4+3]),b.vertexWeights.push(V[$*4]),b.vertexWeights.push(V[$*4+1]),b.vertexWeights.push(V[$*4+2]),b.vertexWeights.push(V[$*4+3]),b.weightsIndices.push(J[0]),b.weightsIndices.push(J[1]),b.weightsIndices.push(J[2]),b.weightsIndices.push(J[3]),b.weightsIndices.push(J[($-1)*4]),b.weightsIndices.push(J[($-1)*4+1]),b.weightsIndices.push(J[($-1)*4+2]),b.weightsIndices.push(J[($-1)*4+3]),b.weightsIndices.push(J[$*4]),b.weightsIndices.push(J[$*4+1]),b.weightsIndices.push(J[$*4+2]),b.weightsIndices.push(J[$*4+3])),C.color&&(b.colors.push(T[0]),b.colors.push(T[1]),b.colors.push(T[2]),b.colors.push(T[($-1)*3]),b.colors.push(T[($-1)*3+1]),b.colors.push(T[($-1)*3+2]),b.colors.push(T[$*3]),b.colors.push(T[$*3+1]),b.colors.push(T[$*3+2])),C.material&&C.material.mappingType!=="AllSame"&&(b.materialIndex.push(M),b.materialIndex.push(M),b.materialIndex.push(M)),C.normal&&(b.normal.push(S[0]),b.normal.push(S[1]),b.normal.push(S[2]),b.normal.push(S[($-1)*3]),b.normal.push(S[($-1)*3+1]),b.normal.push(S[($-1)*3+2]),b.normal.push(S[$*3]),b.normal.push(S[$*3+1]),b.normal.push(S[$*3+2])),C.uv&&C.uv.forEach(function(oe,ie){b.uvs[ie]===void 0&&(b.uvs[ie]=[]),b.uvs[ie].push(G[ie][0]),b.uvs[ie].push(G[ie][1]),b.uvs[ie].push(G[ie][($-1)*2]),b.uvs[ie].push(G[ie][($-1)*2+1]),b.uvs[ie].push(G[ie][$*2]),b.uvs[ie].push(G[ie][$*2+1])})},addMorphTargets:function(b,C,I,M){if(I.length!==0){b.morphTargetsRelative=!0,b.morphAttributes.position=[];var S=this;I.forEach(function(T){T.rawTargets.forEach(function(G){var V=n.Objects.Geometry[G.geoID];V!==void 0&&S.genMorphGeometry(b,C,V,M,G.name)})})}},genMorphGeometry:function(b,C,I,M,S){for(var T=C.PolygonVertexIndex!==void 0?C.PolygonVertexIndex.a:[],G=I.Vertices!==void 0?I.Vertices.a:[],V=I.Indexes!==void 0?I.Indexes.a:[],J=b.attributes.position.count*3,te=new Float32Array(J),$=0;$<V.length;$++){var oe=V[$]*3;te[oe]=G[$*3],te[oe+1]=G[$*3+1],te[oe+2]=G[$*3+2]}var ie={vertexIndices:T,vertexPositions:te},ce=this.genBuffers(ie),Te=new B.Float32BufferAttribute(ce.vertex,3);Te.name=S||I.attrName,Te.applyMatrix4(M),b.morphAttributes.position.push(Te)},parseNormals:function(b){var C=b.MappingInformationType,I=b.ReferenceInformationType,M=b.Normals.a,S=[];return I==="IndexToDirect"&&("NormalIndex"in b?S=b.NormalIndex.a:"NormalsIndex"in b&&(S=b.NormalsIndex.a)),{dataSize:3,buffer:M,indices:S,mappingType:C,referenceType:I}},parseUVs:function(b){var C=b.MappingInformationType,I=b.ReferenceInformationType,M=b.UV.a,S=[];return I==="IndexToDirect"&&(S=b.UVIndex.a),{dataSize:2,buffer:M,indices:S,mappingType:C,referenceType:I}},parseVertexColors:function(b){var C=b.MappingInformationType,I=b.ReferenceInformationType,M=b.Colors.a,S=[];return I==="IndexToDirect"&&(S=b.ColorIndex.a),{dataSize:4,buffer:M,indices:S,mappingType:C,referenceType:I}},parseMaterialIndices:function(b){var C=b.MappingInformationType,I=b.ReferenceInformationType;if(C==="NoMappingInformation")return{dataSize:1,buffer:[0],indices:[0],mappingType:"AllSame",referenceType:I};for(var M=b.Materials.a,S=[],T=0;T<M.length;++T)S.push(T);return{dataSize:1,buffer:M,indices:S,mappingType:C,referenceType:I}},parseNurbsGeometry:function(b){if(bs===void 0)return console.error("THREE.FBXLoader: The loader relies on NURBSCurve for any nurbs present in the model. Nurbs will show up as empty geometry."),new B.BufferGeometry;var C=parseInt(b.Order);if(isNaN(C))return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s",b.Order,b.id),new B.BufferGeometry;for(var I=C-1,M=b.KnotVector.a,S=[],T=b.Points.a,G=0,V=T.length;G<V;G+=4)S.push(new B.Vector4().fromArray(T,G));var J,te;if(b.Form==="Closed")S.push(S[0]);else if(b.Form==="Periodic"){J=I,te=M.length-1-J;for(var G=0;G<I;++G)S.push(S[G])}var $=new bs(I,M,S,J,te),oe=$.getPoints(S.length*7),ie=new Float32Array(oe.length*3);oe.forEach(function(Te,ue){Te.toArray(ie,ue*3)});var ce=new B.BufferGeometry;return ce.setAttribute("position",new B.BufferAttribute(ie,3)),ce}};function r(){}r.prototype={constructor:r,parse:function(){var b=[],C=this.parseClips();if(C!==void 0)for(var I in C){var M=C[I],S=this.addClip(M);b.push(S)}return b},parseClips:function(){if(n.Objects.AnimationCurve!==void 0){var b=this.parseAnimationCurveNodes();this.parseAnimationCurves(b);var C=this.parseAnimationLayers(b),I=this.parseAnimStacks(C);return I}},parseAnimationCurveNodes:function(){var b=n.Objects.AnimationCurveNode,C=new Map;for(var I in b){var M=b[I];if(M.attrName.match(/S|R|T|DeformPercent/)!==null){var S={id:M.id,attr:M.attrName,curves:{}};C.set(S.id,S)}}return C},parseAnimationCurves:function(b){var C=n.Objects.AnimationCurve;for(var I in C){var M={id:C[I].id,times:C[I].KeyTime.a.map(p),values:C[I].KeyValueFloat.a},S=t.get(M.id);if(S!==void 0){var T=S.parents[0].ID,G=S.parents[0].relationship;G.match(/X/)?b.get(T).curves.x=M:G.match(/Y/)?b.get(T).curves.y=M:G.match(/Z/)?b.get(T).curves.z=M:G.match(/d|DeformPercent/)&&b.has(T)&&(b.get(T).curves.morph=M)}}},parseAnimationLayers:function(b){var C=n.Objects.AnimationLayer,I=new Map;for(var M in C){var S=[],T=t.get(parseInt(M));if(T!==void 0){var G=T.children;G.forEach(function(V,J){if(b.has(V.ID)){var te=b.get(V.ID);if(te.curves.x!==void 0||te.curves.y!==void 0||te.curves.z!==void 0){if(S[J]===void 0){var $=t.get(V.ID).parents.filter(function(Le){return Le.relationship!==void 0})[0].ID;if($!==void 0){var oe=n.Objects.Model[$.toString()];if(oe===void 0){console.warn("THREE.FBXLoader: Encountered a unused curve.",V);return}var ie={modelName:oe.attrName?B.PropertyBinding.sanitizeNodeName(oe.attrName):"",ID:oe.id,initialPosition:[0,0,0],initialRotation:[0,0,0],initialScale:[1,1,1]};e.traverse(function(Le){Le.ID===oe.id&&(ie.transform=Le.matrix,Le.userData.transformData&&(ie.eulerOrder=Le.userData.transformData.eulerOrder))}),ie.transform||(ie.transform=new B.Matrix4),"PreRotation"in oe&&(ie.preRotation=oe.PreRotation.value),"PostRotation"in oe&&(ie.postRotation=oe.PostRotation.value),S[J]=ie}}S[J]&&(S[J][te.attr]=te)}else if(te.curves.morph!==void 0){if(S[J]===void 0){var ce=t.get(V.ID).parents.filter(function(ze){return ze.relationship!==void 0})[0].ID,Te=t.get(ce).parents[0].ID,ue=t.get(Te).parents[0].ID,$=t.get(ue).parents[0].ID,oe=n.Objects.Model[$],ie={modelName:oe.attrName?B.PropertyBinding.sanitizeNodeName(oe.attrName):"",morphName:n.Objects.Deformer[ce].attrName};S[J]=ie}S[J][te.attr]=te}}}),I.set(parseInt(M),S)}}return I},parseAnimStacks:function(b){var C=n.Objects.AnimationStack,I={};for(var M in C){var S=t.get(parseInt(M)).children;S.length>1&&console.warn("THREE.FBXLoader: Encountered an animation stack with multiple layers, this is currently not supported. Ignoring subsequent layers.");var T=b.get(S[0].ID);I[M]={name:C[M].attrName,layer:T}}return I},addClip:function(b){var C=[],I=this;return b.layer.forEach(function(M){C=C.concat(I.generateTracks(M))}),new B.AnimationClip(b.name,-1,C)},generateTracks:function(b){var C=[],I=new B.Vector3,M=new B.Quaternion,S=new B.Vector3;if(b.transform&&b.transform.decompose(I,M,S),I=I.toArray(),M=new B.Euler().setFromQuaternion(M,b.eulerOrder).toArray(),S=S.toArray(),b.T!==void 0&&Object.keys(b.T.curves).length>0){var T=this.generateVectorTrack(b.modelName,b.T.curves,I,"position");T!==void 0&&C.push(T)}if(b.R!==void 0&&Object.keys(b.R.curves).length>0){var G=this.generateRotationTrack(b.modelName,b.R.curves,M,b.preRotation,b.postRotation,b.eulerOrder);G!==void 0&&C.push(G)}if(b.S!==void 0&&Object.keys(b.S.curves).length>0){var V=this.generateVectorTrack(b.modelName,b.S.curves,S,"scale");V!==void 0&&C.push(V)}if(b.DeformPercent!==void 0){var J=this.generateMorphTrack(b);J!==void 0&&C.push(J)}return C},generateVectorTrack:function(b,C,I,M){var S=this.getTimesForAllAxes(C),T=this.getKeyframeTrackValues(S,C,I);return new B.VectorKeyframeTrack(b+"."+M,S,T)},generateRotationTrack:function(b,C,I,M,S,T){C.x!==void 0&&(this.interpolateRotations(C.x),C.x.values=C.x.values.map(B.MathUtils.degToRad)),C.y!==void 0&&(this.interpolateRotations(C.y),C.y.values=C.y.values.map(B.MathUtils.degToRad)),C.z!==void 0&&(this.interpolateRotations(C.z),C.z.values=C.z.values.map(B.MathUtils.degToRad));var G=this.getTimesForAllAxes(C),V=this.getKeyframeTrackValues(G,C,I);M!==void 0&&(M=M.map(B.MathUtils.degToRad),M.push(T),M=new B.Euler().fromArray(M),M=new B.Quaternion().setFromEuler(M)),S!==void 0&&(S=S.map(B.MathUtils.degToRad),S.push(T),S=new B.Euler().fromArray(S),S=new B.Quaternion().setFromEuler(S).inverse());for(var J=new B.Quaternion,te=new B.Euler,$=[],oe=0;oe<V.length;oe+=3)te.set(V[oe],V[oe+1],V[oe+2],T),J.setFromEuler(te),M!==void 0&&J.premultiply(M),S!==void 0&&J.multiply(S),J.toArray($,oe/3*4);return new B.QuaternionKeyframeTrack(b+".quaternion",G,$)},generateMorphTrack:function(b){var C=b.DeformPercent.curves.morph,I=C.values.map(function(S){return S/100}),M=e.getObjectByName(b.modelName).morphTargetDictionary[b.morphName];return new B.NumberKeyframeTrack(b.modelName+".morphTargetInfluences["+M+"]",C.times,I)},getTimesForAllAxes:function(b){var C=[];return b.x!==void 0&&(C=C.concat(b.x.times)),b.y!==void 0&&(C=C.concat(b.y.times)),b.z!==void 0&&(C=C.concat(b.z.times)),C=C.sort(function(I,M){return I-M}).filter(function(I,M,S){return S.indexOf(I)==M}),C},getKeyframeTrackValues:function(b,C,I){var M=I,S=[],T=-1,G=-1,V=-1;return b.forEach(function(J){if(C.x&&(T=C.x.times.indexOf(J)),C.y&&(G=C.y.times.indexOf(J)),C.z&&(V=C.z.times.indexOf(J)),T!==-1){var te=C.x.values[T];S.push(te),M[0]=te}else S.push(M[0]);if(G!==-1){var $=C.y.values[G];S.push($),M[1]=$}else S.push(M[1]);if(V!==-1){var oe=C.z.values[V];S.push(oe),M[2]=oe}else S.push(M[2])}),S},interpolateRotations:function(b){for(var C=1;C<b.values.length;C++){var I=b.values[C-1],M=b.values[C]-I,S=Math.abs(M);if(S>=180){for(var T=S/180,G=M/T,V=I+G,J=b.times[C-1],te=b.times[C]-J,$=te/T,oe=J+$,ie=[],ce=[];oe<b.times[C];)ie.push(oe),oe+=$,ce.push(V),V+=G;b.times=_(b.times,C,ie),b.values=_(b.values,C,ce)}}}};function a(){}a.prototype={constructor:a,getPrevNode:function(){return this.nodeStack[this.currentIndent-2]},getCurrentNode:function(){return this.nodeStack[this.currentIndent-1]},getCurrentProp:function(){return this.currentProp},pushStack:function(b){this.nodeStack.push(b),this.currentIndent+=1},popStack:function(){this.nodeStack.pop(),this.currentIndent-=1},setCurrentProp:function(b,C){this.currentProp=b,this.currentPropName=C},parse:function(b){this.currentIndent=0,this.allNodes=new h,this.nodeStack=[],this.currentProp=[],this.currentPropName="";var C=this,I=b.split(/[\r\n]+/);return I.forEach(function(M,S){var T=M.match(/^[\s\t]*;/),G=M.match(/^[\s\t]*$/);if(!(T||G)){var V=M.match("^\\t{"+C.currentIndent+"}(\\w+):(.*){",""),J=M.match("^\\t{"+C.currentIndent+"}(\\w+):[\\s\\t\\r\\n](.*)"),te=M.match("^\\t{"+(C.currentIndent-1)+"}}");V?C.parseNodeBegin(M,V):J?C.parseNodeProperty(M,J,I[++S]):te?C.popStack():M.match(/^[^\s\t}]/)&&C.parseNodePropertyContinued(M)}}),this.allNodes},parseNodeBegin:function(b,C){var I=C[1].trim().replace(/^"/,"").replace(/"$/,""),M=C[2].split(",").map(function(V){return V.trim().replace(/^"/,"").replace(/"$/,"")}),S={name:I},T=this.parseNodeAttr(M),G=this.getCurrentNode();this.currentIndent===0?this.allNodes.add(I,S):I in G?(I==="PoseNode"?G.PoseNode.push(S):G[I].id!==void 0&&(G[I]={},G[I][G[I].id]=G[I]),T.id!==""&&(G[I][T.id]=S)):typeof T.id=="number"?(G[I]={},G[I][T.id]=S):I!=="Properties70"&&(I==="PoseNode"?G[I]=[S]:G[I]=S),typeof T.id=="number"&&(S.id=T.id),T.name!==""&&(S.attrName=T.name),T.type!==""&&(S.attrType=T.type),this.pushStack(S)},parseNodeAttr:function(b){var C=b[0];b[0]!==""&&(C=parseInt(b[0]),isNaN(C)&&(C=b[0]));var I="",M="";return b.length>1&&(I=b[1].replace(/^(\w+)::/,""),M=b[2]),{id:C,name:I,type:M}},parseNodeProperty:function(b,C,I){var M=C[1].replace(/^"/,"").replace(/"$/,"").trim(),S=C[2].replace(/^"/,"").replace(/"$/,"").trim();M==="Content"&&S===","&&(S=I.replace(/"/g,"").replace(/,$/,"").trim());var T=this.getCurrentNode(),G=T.name;if(G==="Properties70"){this.parseNodeSpecialProperty(b,M,S);return}if(M==="C"){var V=S.split(",").slice(1),J=parseInt(V[0]),te=parseInt(V[1]),$=S.split(",").slice(3);$=$.map(function(oe){return oe.trim().replace(/^"/,"")}),M="connections",S=[J,te],F(S,$),T[M]===void 0&&(T[M]=[])}M==="Node"&&(T.id=S),M in T&&Array.isArray(T[M])?T[M].push(S):M!=="a"?T[M]=S:T.a=S,this.setCurrentProp(T,M),M==="a"&&S.slice(-1)!==","&&(T.a=L(S))},parseNodePropertyContinued:function(b){var C=this.getCurrentNode();C.a+=b,b.slice(-1)!==","&&(C.a=L(C.a))},parseNodeSpecialProperty:function(b,C,I){var M=I.split('",').map(function(te){return te.trim().replace(/^\"/,"").replace(/\s/,"_")}),S=M[0],T=M[1],G=M[2],V=M[3],J=M[4];switch(T){case"int":case"enum":case"bool":case"ULongLong":case"double":case"Number":case"FieldOfView":J=parseFloat(J);break;case"Color":case"ColorRGB":case"Vector3D":case"Lcl_Translation":case"Lcl_Rotation":case"Lcl_Scaling":J=L(J);break}this.getPrevNode()[S]={type:T,type2:G,flag:V,value:J},this.setCurrentProp(this.getPrevNode(),S)}};function l(){}l.prototype={constructor:l,parse:function(b){var C=new c(b);C.skip(23);var I=C.getUint32();console.info("THREE.FBXLoader: FBX binary version: "+I);for(var M=new h;!this.endOfContent(C);){var S=this.parseNode(C,I);S!==null&&M.add(S.name,S)}return M},endOfContent:function(b){return b.size()%16===0?(b.getOffset()+160+16&-16)>=b.size():b.getOffset()+160+16>=b.size()},parseNode:function(b,C){var I={},M=C>=7500?b.getUint64():b.getUint32(),S=C>=7500?b.getUint64():b.getUint32();C>=7500?b.getUint64():b.getUint32();var T=b.getUint8(),G=b.getString(T);if(M===0)return null;for(var V=[],J=0;J<S;J++)V.push(this.parseProperty(b));var te=V.length>0?V[0]:"",$=V.length>1?V[1]:"",oe=V.length>2?V[2]:"";for(I.singleProperty=S===1&&b.getOffset()===M;M>b.getOffset();){var ie=this.parseNode(b,C);ie!==null&&this.parseSubNode(G,I,ie)}return I.propertyList=V,typeof te=="number"&&(I.id=te),$!==""&&(I.attrName=$),oe!==""&&(I.attrType=oe),G!==""&&(I.name=G),I},parseSubNode:function(b,C,I){if(I.singleProperty===!0){var M=I.propertyList[0];Array.isArray(M)?(C[I.name]=I,I.a=M):C[I.name]=M}else if(b==="Connections"&&I.name==="C"){var S=[];I.propertyList.forEach(function(oe,ie){ie!==0&&S.push(oe)}),C.connections===void 0&&(C.connections=[]),C.connections.push(S)}else if(I.name==="Properties70"){var T=Object.keys(I);T.forEach(function(oe){C[oe]=I[oe]})}else if(b==="Properties70"&&I.name==="P"){var G=I.propertyList[0],V=I.propertyList[1],J=I.propertyList[2],te=I.propertyList[3],$;G.indexOf("Lcl ")===0&&(G=G.replace("Lcl ","Lcl_")),V.indexOf("Lcl ")===0&&(V=V.replace("Lcl ","Lcl_")),V==="Color"||V==="ColorRGB"||V==="Vector"||V==="Vector3D"||V.indexOf("Lcl_")===0?$=[I.propertyList[4],I.propertyList[5],I.propertyList[6]]:$=I.propertyList[4],C[G]={type:V,type2:J,flag:te,value:$}}else C[I.name]===void 0?typeof I.id=="number"?(C[I.name]={},C[I.name][I.id]=I):C[I.name]=I:I.name==="PoseNode"?(Array.isArray(C[I.name])||(C[I.name]=[C[I.name]]),C[I.name].push(I)):C[I.name][I.id]===void 0&&(C[I.name][I.id]=I)},parseProperty:function(b){var C=b.getString(1);switch(C){case"C":return b.getBoolean();case"D":return b.getFloat64();case"F":return b.getFloat32();case"I":return b.getInt32();case"L":return b.getInt64();case"R":var I=b.getUint32();return b.getArrayBuffer(I);case"S":var I=b.getUint32();return b.getString(I);case"Y":return b.getInt16();case"b":case"c":case"d":case"f":case"i":case"l":var M=b.getUint32(),S=b.getUint32(),T=b.getUint32();if(S===0)switch(C){case"b":case"c":return b.getBooleanArray(M);case"d":return b.getFloat64Array(M);case"f":return b.getFloat32Array(M);case"i":return b.getInt32Array(M);case"l":return b.getInt64Array(M)}typeof cp=="undefined"&&console.error("THREE.FBXLoader: External library Inflate.min.js required, obtain or import from https://github.com/imaya/zlib.js");var G=new cp.Inflate(new Uint8Array(b.getArrayBuffer(T))),V=new c(G.decompress().buffer);switch(C){case"b":case"c":return V.getBooleanArray(M);case"d":return V.getFloat64Array(M);case"f":return V.getFloat32Array(M);case"i":return V.getInt32Array(M);case"l":return V.getInt64Array(M)}default:throw new Error("THREE.FBXLoader: Unknown property type "+C)}}};function c(b,C){this.dv=new DataView(b),this.offset=0,this.littleEndian=C!==void 0?C:!0}c.prototype={constructor:c,getOffset:function(){return this.offset},size:function(){return this.dv.buffer.byteLength},skip:function(b){this.offset+=b},getBoolean:function(){return(this.getUint8()&1)===1},getBooleanArray:function(b){for(var C=[],I=0;I<b;I++)C.push(this.getBoolean());return C},getUint8:function(){var b=this.dv.getUint8(this.offset);return this.offset+=1,b},getInt16:function(){var b=this.dv.getInt16(this.offset,this.littleEndian);return this.offset+=2,b},getInt32:function(){var b=this.dv.getInt32(this.offset,this.littleEndian);return this.offset+=4,b},getInt32Array:function(b){for(var C=[],I=0;I<b;I++)C.push(this.getInt32());return C},getUint32:function(){var b=this.dv.getUint32(this.offset,this.littleEndian);return this.offset+=4,b},getInt64:function(){var b,C;return this.littleEndian?(b=this.getUint32(),C=this.getUint32()):(C=this.getUint32(),b=this.getUint32()),C&2147483648?(C=~C&4294967295,b=~b&4294967295,b===4294967295&&(C=C+1&4294967295),b=b+1&4294967295,-(C*4294967296+b)):C*4294967296+b},getInt64Array:function(b){for(var C=[],I=0;I<b;I++)C.push(this.getInt64());return C},getUint64:function(){var b,C;return this.littleEndian?(b=this.getUint32(),C=this.getUint32()):(C=this.getUint32(),b=this.getUint32()),C*4294967296+b},getFloat32:function(){var b=this.dv.getFloat32(this.offset,this.littleEndian);return this.offset+=4,b},getFloat32Array:function(b){for(var C=[],I=0;I<b;I++)C.push(this.getFloat32());return C},getFloat64:function(){var b=this.dv.getFloat64(this.offset,this.littleEndian);return this.offset+=8,b},getFloat64Array:function(b){for(var C=[],I=0;I<b;I++)C.push(this.getFloat64());return C},getArrayBuffer:function(b){var C=this.dv.buffer.slice(this.offset,this.offset+b);return this.offset+=b,C},getString:function(b){for(var C=[],I=0;I<b;I++)C[I]=this.getUint8();var M=C.indexOf(0);return M>=0&&(C=C.slice(0,M)),B.LoaderUtils.decodeText(new Uint8Array(C))}};function h(){}h.prototype={constructor:h,add:function(b,C){this[b]=C}};function u(b){var C="Kaydara FBX Binary \0";return b.byteLength>=C.length&&C===D(b,0,C.length)}function f(b){var C=["K","a","y","d","a","r","a","\\","F","B","X","\\","B","i","n","a","r","y","\\","\\"],I=0;function M(G){var V=b[G-1];return b=b.slice(I+G),I++,V}for(var S=0;S<C.length;++S){var T=M(1);if(T===C[S])return!1}return!0}function m(b){var C=/FBXVersion: (\d+)/,I=b.match(C);if(I){var M=parseInt(I[1]);return M}throw new Error("THREE.FBXLoader: Cannot find the version number for the file given.")}function p(b){return b/46186158e3}var g=[];function v(b,C,I,M){var S;switch(M.mappingType){case"ByPolygonVertex":S=b;break;case"ByPolygon":S=C;break;case"ByVertice":S=I;break;case"AllSame":S=M.indices[0];break;default:console.warn("THREE.FBXLoader: unknown attribute mapping type "+M.mappingType)}M.referenceType==="IndexToDirect"&&(S=M.indices[S]);var T=S*M.dataSize,G=T+M.dataSize;return z(g,M.buffer,T,G)}var A=new B.Euler,w=new B.Vector3;function k(b){var C=new B.Matrix4,I=new B.Matrix4,M=new B.Matrix4,S=new B.Matrix4,T=new B.Matrix4,G=new B.Matrix4,V=new B.Matrix4,J=new B.Matrix4,te=new B.Matrix4,$=new B.Matrix4,oe=new B.Matrix4,ie=b.inheritType?b.inheritType:0;if(b.translation&&C.setPosition(w.fromArray(b.translation)),b.preRotation){var ce=b.preRotation.map(B.MathUtils.degToRad);ce.push(b.eulerOrder),I.makeRotationFromEuler(A.fromArray(ce))}if(b.rotation){var ce=b.rotation.map(B.MathUtils.degToRad);ce.push(b.eulerOrder),M.makeRotationFromEuler(A.fromArray(ce))}if(b.postRotation){var ce=b.postRotation.map(B.MathUtils.degToRad);ce.push(b.eulerOrder),S.makeRotationFromEuler(A.fromArray(ce))}b.scale&&T.scale(w.fromArray(b.scale)),b.scalingOffset&&V.setPosition(w.fromArray(b.scalingOffset)),b.scalingPivot&&G.setPosition(w.fromArray(b.scalingPivot)),b.rotationOffset&&J.setPosition(w.fromArray(b.rotationOffset)),b.rotationPivot&&te.setPosition(w.fromArray(b.rotationPivot)),b.parentMatrixWorld&&($=b.parentMatrixWorld);var Te=I.multiply(M).multiply(S),ue=new B.Matrix4;$.extractRotation(ue);var Le=new B.Matrix4;Le.copyPosition($);var ge=new B.Matrix4;ge.getInverse(ue).multiply($);var he=new B.Matrix4;if(ie===0)he.copy(ue).multiply(Te).multiply(ge).multiply(T);else if(ie===1)he.copy(ue).multiply(ge).multiply(Te).multiply(T);else{var ze=new B.Matrix4().getInverse(T),ee=new B.Matrix4().multiply(ge).multiply(ze);he.copy(ue).multiply(Te).multiply(ee).multiply(T)}var Se=new B.Matrix4().getInverse(te),Be=new B.Matrix4().getInverse(G),be=new B.Matrix4;be.copy(C).multiply(J).multiply(te).multiply(I).multiply(M).multiply(S).multiply(Se).multiply(V).multiply(G).multiply(T).multiply(Be);var Re=new B.Matrix4().copyPosition(be),pe=new B.Matrix4().copy($).multiply(Re);return oe.copyPosition(pe),be=new B.Matrix4().multiply(oe).multiply(he),be}function E(b){b=b||0;var C=["ZYX","YZX","XZY","ZXY","YXZ","XYZ"];return b===6?(console.warn("THREE.FBXLoader: unsupported Euler Order: Spherical XYZ. Animations and rotations may be incorrect."),C[0]):C[b]}function L(b){var C=b.split(",").map(function(I){return parseFloat(I)});return C}function D(b,C,I){return C===void 0&&(C=0),I===void 0&&(I=b.byteLength),B.LoaderUtils.decodeText(new Uint8Array(b,C,I))}function F(b,C){for(var I=0,M=b.length,S=C.length;I<S;I++,M++)b[M]=C[I]}function z(b,C,I,M){for(var S=I,T=0;S<M;S++,T++)b[T]=C[S];return b}function _(b,C,I){return b.slice(0,C).concat(I).concat(b.slice(C))}return i}();const Z2=(n,t)=>{var g;const e=t.fbx_url||"//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX",i=(g=t.north_rad)!=null?g: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=v=>ne(this,null,function*(){var E;const A=(v==null?void 0:v.fbx_url)||e;if(l=(E=v==null?void 0:v.north_rad)!=null?E:i,typeof l!="number")throw new Error('"northRad"配置参数缺失:未配置指南针指向!');const k=yield new up().loadAsync(A);return Zf(k,{transparent:!0,side:P.DoubleSide,blending:P.AdditiveBlending}),s.object=k,p(),!0}),h=({latitude:v})=>{if(!s.object)return;const A=u(v);A&&(s.object.position.y=A)},u=v=>{if(s.yBase===void 0)return;const A=.6;if(v>=Math.PI/4)return s.yBase-(A+1.6);const w=v*(4/Math.PI);return s.yBase-(A*w+1.6)},f=()=>{if(!s.object)return;const v=u(n.getPose().latitude);v&&(s.object.position.y=v),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 v=s.object;if(!v)return;const A=n.model.bounding,w=A.max.x-A.min.x,k=A.max.z-A.min.z,E=Math.max(w,k),{max:{x:L,z:D},min:{x:F,y:z,z:_}}=A;s.yBase=z,o={x:(L+F)/2,y:z-1.6,z:(D+_)/2},r=[0,l-Math.PI/2,0],a=.0045*E,U2(v,{position:o,rotation:r,scale:a})}return{load:c,disable:m,enable:f}};function q2(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 B.CanvasTexture(a)}const J2=({x:n,y:t,z:e})=>new B.Vector3(n,t,e),K2=(n,t)=>{var g,v,A;const e={},i=(g=t.animationEnabled)!=null?g:!0,s=(v=t.position)!=null?v: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=>ne(this,null,function*(){var b,C,I,M,S,T,G,V;const k=(b=w==null?void 0:w.position)!=null?b:s;if(!k)return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));const E=J2(k),L=(C=w==null?void 0:w.rad)!=null?C:o,D=(I=w==null?void 0:w.fbx_url)!=null?I:r;if(e.rad=L,L===void 0)return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${L}`));const F=yield new up().loadAsync(D);F.position.copy(E),F.rotation.z=L,F.scale.set(.8,.8,.8),Zf(F,{transparent:!0,side:P.DoubleSide});const z=(G=(T=(S=(M=F.children)==null?void 0:M[0])==null?void 0:S.children)==null?void 0:T[3])==null?void 0:G.clone();if(!z)return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${z}`));const _=(V=t.name)!=null?V:"入户门";return z.material=new B.MeshBasicMaterial({transparent:!0,map:q2(_)}),z.renderOrder=3,F.children[0].add(z),e.object=F,!0}),c=()=>{if(e.animation)return;if(!e.object)return console.error("ModelEntryDoorGuidePlugin.initAnimation(): state.object is ",e.object);const w=1,k=new B.AnimationMixer(e.object);a.push(k);const E=k.clipAction(e.object.animations[0]);E.timeScale=w;let L;const D=()=>{let b=0,C=0;const I=1e3/30,M=S=>{b=requestAnimationFrame(M);const T=S-C;T<I||(C=S,a.forEach(G=>G.update(T/1e3)),n.needsRender=!0)};return b=requestAnimationFrame(M),()=>{cancelAnimationFrame(b)}},_={play:()=>{L||(E.play(),L=D(),requestAnimationFrame(()=>{e.object&&e.object.rotation.z!==e.rad&&(e.object.rotation.z=e.rad)}))},stop:()=>{E.stop(),L==null||L(),L=void 0}};e.animation=_},h=w=>{var E;if(!e.object)return console.error("ModelEntryDoorGuidePlugin.enable(): object is ",e.object);((E=w==null?void 0:w.animationEnable)!=null?E: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)}},$2=Ti;function e3(n,t,e,i=$2.Linear.None){const s=new Yr(n).to(t,e).easing(i);er(()=>s.start(0));const o=$s(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 t3(n,t){return e3({progress:0},{progress:1},n,t)}var dp=(n=>(n.Move="Move",n.Rotate="Rotate",n))(dp||{}),Xi=(n=>(n.Clockwise="Clockwise",n.Anticlockwise="Anticlockwise",n.Loop="Loop",n))(Xi||{});const Va=Math.PI*2;function fp(n){return(n%Va+Va)%Va}function pp(n){return n%Va}function Gc(n,t,e){return n+(t-n)*e}const Wc=(n,t,e)=>{const i=Math.PI,s=i*2;let o=fp(n),r=fp(t);return e===Xi.Anticlockwise&&o<r&&(o+=s),e===Xi.Clockwise&&r<o&&(r+=s),e===Xi.Loop&&r-o>i?Wc(o,r,Xi.Anticlockwise):e===Xi.Loop&&o-r>i?Wc(o,r,Xi.Clockwise):{from:o,to:r}},i3=n=>{const t={},e=(l,c,...h)=>ne(this,[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,H({duration:r,moveEndCallback:()=>u(!0),moveCancelCallback:()=>f(new Error("move canceled"))},o)):f(new Error("unexpected error"))})}),i=o=>{const r=n.state,a=pp(r.latitude),l=pp(o.latitude),{from:c,to:h}=Wc(r.longitude,o.longitude,o.rotation||Xi.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)=>ne(this,[l,c,...h],function*(o,r,a={}){t.interruptCallback&&t.interruptCallback(!1),a.asyncStartCallback&&(yield a.asyncStartCallback()),n.currentMode!==Ye.Five.Mode.Panorama&&(yield n.changeMode(Ye.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:k})=>{const E={};E.longitude=Gc(u.longitude,f.longitude,k),E.latitude=Gc(u.latitude,f.latitude,k),E.fov=Gc(u.fov,f.fov,k),n.setState(E,!0)},g=()=>{m(!0)},v=()=>{m(!1)},A=o.rotateSpeed?Math.ceil(Math.abs(f.longitude-u.longitude)/o.rotateSpeed*1e3):r,w=t3(A,Ti.Linear.None).onUpdate(p).onComplete(g).onDestroy(v);o.rotation===Xi.Loop&&w.repeat(1/0).yoyo(!0),t.interruptCallback=(k=!0)=>{w.destroy(),t.interruptCallback=void 0,t.timeoutId&&(clearTimeout(t.timeoutId),t.timeoutId=void 0),m(k)},t.timeoutId=setTimeout(()=>{t.interruptCallback&&t.interruptCallback(!0)},r)})})}};function gp(n,t){return n.x===t.x&&n.y===t.y}function mp(n,t){return Math.abs(n)===1/0&&Math.abs(t)===1/0?!0:Math.abs(n-t)<.001}function Ba(n,t){return(t.y-n.y)/(t.x-n.x)}function vp(n,t,e){const i=Ba(n[1],n[0]),s=Ba(t[1],t[0]);if(isNaN(i)||isNaN(s)||mp(i,s))return!1;if(_a(n[0],t))return n[0];if(_a(n[1],t))return n[1];if(_a(t[0],n))return t[0];if(_a(t[1],n))return t[1];if(e&&!s3(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 _a(n,t){return gp(n,t[0])||gp(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&&mp(Ba(t[0],n),Ba(n,t[1]))}function n3(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 Ra(n,t,e){return(n.x-e.x)*(t.y-e.y)-(t.x-e.x)*(n.y-e.y)}function s3(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)&&Ra(t[0],n[1],n[0])*Ra(n[1],t[1],n[0])>0&&Ra(n[0],t[1],t[0])*Ra(t[1],n[1],t[0])>0?1:0}function Ap(n,t=0){t<=0?requestAnimationFrame(n):requestAnimationFrame(()=>Ap(n,t-1))}const o3=`<style type="text/css">
508
+ `;return n.$$set=o=>{"content"in o&&e(0,i=o.content)},[i,s]}class wy extends ke{constructor(t){super(),Me(this,t,yy,by,Ie,{content:0},Ay)}}function Py(n){De(n,"svelte-ozpg4a",".floorplan-plugin__base-image.svelte-ozpg4a{position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}")}function Cy(n){let t,e;return t=new vy({props:{url:n[1].url}}),{c(){Ae(t.$$.fragment)},m(i,s){me(t,i,s),e=!0},p(i,s){const o={};s&2&&(o.url=i[1].url),t.$set(o)},i(i){e||(N(t.$$.fragment,i),e=!0)},o(i){Y(t.$$.fragment,i),e=!1},d(i){ve(t,i)}}}function Iy(n){let t,e;return t=new wy({props:{content:n[0]}}),{c(){Ae(t.$$.fragment)},m(i,s){me(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.content=i[0]),t.$set(o)},i(i){e||(N(t.$$.fragment,i),e=!0)},o(i){Y(t.$$.fragment,i),e=!1},d(i){ve(t,i)}}}function My(n){let t,e,i,s;const o=[Iy,Cy],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=Q("div"),i&&i.c(),y(t,"class","floorplan-plugin__base-image svelte-ozpg4a")},m(l,c){Z(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&&(Ee(),Y(r[h],1,1,()=>{r[h]=null}),xe()),~e?(i=r[e],i?i.p(l,c):(i=r[e]=o[e](l),i.c()),N(i,1),i.m(t,null)):i=null)},i(l){s||(N(i),s=!0)},o(l){Y(i),s=!1},d(l){l&&X(t),~e&&r[e].d()}}}function ky(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 sf extends ke{constructor(t){super(),Me(this,t,ky,My,Ie,{floorIndex:2,floorplanData:3},Py)}}function Ey(n){De(n,"svelte-2r6702",".floorplan-plugin__item.svelte-2r6702{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__img.svelte-2r6702{width:100%;height:100%}.floorplan-plugin__notes.svelte-2r6702{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:0.25rem;line-height:1;border-radius:0.25rem;color:#fff;background:rgba(0,0,0,.6);font-size:0.75rem}")}function xy(n){let t,e,i,s,o,r=n[0].notes+"",a;return{c(){t=Q("div"),e=Q("img"),s=ae(),o=Q("span"),a=_e(r),y(e,"class","floorplan-plugin__img svelte-2r6702"),vt(e.src,i=n[6])||y(e,"src",i),y(e,"alt",""),U(e,"transform",n[5]),y(o,"class","floorplan-plugin__notes svelte-2r6702"),y(t,"class","floorplan-plugin__item svelte-2r6702"),U(t,"left",n[1]),U(t,"top",n[2]),U(t,"width",n[3]),U(t,"height",n[4])},m(l,c){Z(l,t,c),j(t,e),j(t,s),j(t,o),j(o,a)},p(l,[c]){c&1&&r!==(r=l[0].notes+"")&&Ge(a,r)},i:re,o:re,d(l){l&&X(t)}}}function Sy(n,t,e){let{item:i}=t;const s=i.positionInImage.x*100+"%",o=i.positionInImage.y*100+"%",r=i.width*100+"%",a=i.height*100+"%",l=`rotate(${i.rotateZ}deg) scaleX(${i.rotateX?-1:1}) scaleY(${i.rotateY?-1:1})`,c=i.src;return n.$$set=h=>{"item"in h&&e(0,i=h.item)},[i,s,o,r,a,l,c]}class Dy extends ke{constructor(t){super(),Me(this,t,Sy,xy,Ie,{item:0},Ey)}}function Ty(n){De(n,"svelte-1c5mqz0",".floorplan-plugin__room-items.svelte-1c5mqz0{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}")}function of(n,t,e){const i=n.slice();return i[6]=t[e],i}function rf(n){let t,e=[],i=new Map,s,o,r,a=n[1];const l=c=>c[6].id;for(let c=0;c<a.length;c+=1){let h=of(n,a,c),u=l(h);i.set(u,e[c]=af(u,h))}return{c(){t=Q("div");for(let c=0;c<e.length;c+=1)e[c].c();y(t,"class","floorplan-plugin__room-items svelte-1c5mqz0")},m(c,h){Z(c,t,h);for(let u=0;u<e.length;u+=1)e[u]&&e[u].m(t,null);s=!0,o||(r=[Ii(fn.call(null,t)),Ve(t,"clientWidth",n[4])],o=!0)},p(c,h){h&2&&(a=c[1],Ee(),e=ki(e,h,l,1,c,a,i,t,dn,af,null,of),xe())},i(c){if(!s){for(let h=0;h<a.length;h+=1)N(e[h]);s=!0}},o(c){for(let h=0;h<e.length;h+=1)Y(e[h]);s=!1},d(c){c&&X(t);for(let h=0;h<e.length;h+=1)e[h].d();o=!1,gt(r)}}}function af(n,t){let e,i,s;const o=[{item:t[6]}];let r={};for(let a=0;a<o.length;a+=1)r=St(r,o[a]);return i=new Dy({props:r}),{key:n,first:null,c(){e=We(),Ae(i.$$.fragment),this.first=e},m(a,l){Z(a,e,l),me(i,a,l),s=!0},p(a,l){t=a;const c=l&2?jt(o,[{item:t[6]}]):{};i.$set(c)},i(a){s||(N(i.$$.fragment,a),s=!0)},o(a){Y(i.$$.fragment,a),s=!1},d(a){a&&X(e),ve(i,a)}}}function Ly(n){let t,e,i=n[1]&&rf(n);return{c(){i&&i.c(),t=We()},m(s,o){i&&i.m(s,o),Z(s,t,o),e=!0},p(s,[o]){s[1]?i?(i.p(s,o),o&2&&N(i,1)):(i=rf(s),i.c(),N(i,1),i.m(t.parentNode,t)):i&&(Ee(),Y(i,1,1,()=>{i=null}),xe())},i(s){e||(N(i),e=!0)},o(s){Y(i),e=!1},d(s){i&&i.d(s),s&&X(t)}}}function zy(n,t,e){let i,{floorIndex:s}=t,{floorplanData:o}=t,r=0;const a=l=>{e(0,r=l.detail)};return n.$$set=l=>{"floorIndex"in l&&e(2,s=l.floorIndex),"floorplanData"in l&&e(3,o=l.floorplanData)},n.$$.update=()=>{if(n.$$.dirty&12&&e(1,i=o.floorDatas[s].items),n.$$.dirty&9){const{max:l,min:c}=o.bounding;l.x-c.x}},[r,i,s,o,a]}class Oy extends ke{constructor(t){super(),Me(this,t,zy,Ly,Ie,{floorIndex:2,floorplanData:3},Ty)}}function jy(n){De(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 Vy(n){let t,e=n[18].outerHTML+"",i;return{c(){t=new ma(!1),i=We(),t.a=i},m(s,o){t.m(e,s,o),Z(s,i,o)},p(s,o){o[0]&262144&&e!==(e=s[18].outerHTML+"")&&t.p(e)},d(s){s&&X(i),s&&t.d()}}}function By(n){let t,e,i,s,o,r,a=n[1]&&lf(n),l=n[0]&&cf(n),c=n[3]&&hf(n);return{c(){t=Q("div"),a&&a.c(),e=ae(),l&&l.c(),i=ae(),c&&c.c(),s=We(),y(t,"class","floorplan-plugin__room-part1 svelte-9vzn2f"),U(t,"opacity",n[14]?"1":"0")},m(h,u){Z(h,t,u),a&&a.m(t,null),j(t,e),l&&l.m(t,null),Z(h,i,u),c&&c.m(h,u),Z(h,s,u),o||(r=[Ii(fn.call(null,t)),Ve(t,"clientWidth",n[35]),Ve(t,"clientHeight",n[36])],o=!0)},p(h,u){h[1]?a?a.p(h,u):(a=lf(h),a.c(),a.m(t,e)):a&&(a.d(1),a=null),h[0]?l?l.p(h,u):(l=cf(h),l.c(),l.m(t,null)):l&&(l.d(1),l=null),u[0]&16384&&U(t,"opacity",h[14]?"1":"0"),h[3]?c?c.p(h,u):(c=hf(h),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},d(h){h&&X(t),a&&a.d(),l&&l.d(),h&&X(i),c&&c.d(h),h&&X(s),o=!1,gt(r)}}}function lf(n){let t,e=(n[2]?n[4].name:n[4].roomType==="100900000012"?n[4].customizedName:n[4].name)+"",i;return{c(){t=Q("span"),i=_e(e),y(t,"class","floorplan-plugin__room-name"),U(t,"font-size",n[11])},m(s,o){Z(s,t,o),j(t,i)},p(s,o){o[0]&20&&e!==(e=(s[2]?s[4].name:s[4].roomType==="100900000012"?s[4].customizedName:s[4].name)+"")&&Ge(i,e),o[0]&2048&&U(t,"font-size",s[11])},d(s){s&&X(t)}}}function cf(n){let t,e;return{c(){t=Q("span"),e=_e(n[17]),y(t,"class","floorplan-plugin__room-area svelte-9vzn2f"),U(t,"font-size",n[10])},m(i,s){Z(i,t,s),j(t,e)},p(i,s){s[0]&131072&&Ge(e,i[17]),s[0]&1024&&U(t,"font-size",i[10])},d(i){i&&X(t)}}}function hf(n){let t,e;return{c(){t=Q("span"),e=_e(n[16]),y(t,"class","floorplan-plugin__room-size"),U(t,"font-size",n[10]),U(t,"opacity",n[13]?"0.6":"0")},m(i,s){Z(i,t,s),j(t,e)},p(i,s){s[0]&65536&&Ge(e,i[16]),s[0]&1024&&U(t,"font-size",i[10]),s[0]&8192&&U(t,"opacity",i[13]?"0.6":"0")},d(i){i&&X(t)}}}function _y(n){let t,e,i;function s(a,l){if(a[5]===void 0)return By;if(a[18])return Vy}let o=s(n),r=o&&o(n);return{c(){t=Q("div"),r&&r.c(),y(t,"class","floorplan-plugin__room-label-item svelte-9vzn2f"),U(t,"left",n[19]),U(t,"top",n[20]),U(t,"font-size",n[11]),U(t,"opacity",n[15]?"1":"0"),U(t,"transform",n[12]?"translate(-50%, calc(-50% + 6px))":"translate(-50%, -50%)")},m(a,l){Z(a,t,l),r&&r.m(t,null),e||(i=[Ii(fn.call(null,t)),Ve(t,"clientWidth",n[37]),Ve(t,"clientHeight",n[38])],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]&2048&&U(t,"font-size",a[11]),l[0]&32768&&U(t,"opacity",a[15]?"1":"0"),l[0]&4096&&U(t,"transform",a[12]?"translate(-50%, calc(-50% + 6px))":"translate(-50%, -50%)")},i:re,o:re,d(a){a&&X(t),r&&r.d(),e=!1,gt(i)}}}function Ry(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 Fy(n,t,e){let i,s,o,r,a,l,c,h,u,f,m,p,g,v,A,w,{pxmm:k}=t,{roomAreaEnable:E}=t,{roomNameEnable:L}=t,{roomNameOtherTypeEnable:D}=t,{roomDimensionEnable:F}=t,{room:z}=t,{hoveredRoom:_}=t,{getRoomAreaText:b}=t,{getRoomDimensionText:C}=t,{getLabelElement:I}=t,{adaptiveRoomLabelVisibleEnable:M}=t,{fontSize:S}=t;function T(he,ze){if(ze.width===0||ze.height===0)return()=>!1;const ee=he.path.map(({x:Ze,y:Je})=>[Ze,Je]),Se=he.roomLabel.position,{x:Be,y:be}=Se,{width:Re,height:pe}=ze,Ce=Re/2,Oe=pe/2;return function(Je){const ht=Be*Je,$e=be*Je,et=ee.map(([lt,Bt])=>[lt*Je,Bt*Je]);return[[ht+Ce,$e-Oe],[ht-Ce,$e-Oe],[ht-Ce,$e+Oe],[ht+Ce,$e+Oe]].every(lt=>Ry(lt,et))}}const G=z.roomLabel,V=G.positionInImage.x*100+"%",J=G.positionInImage.y*100+"%";let te=0,$=0,oe=0,ie=0,ce=!1;_.subscribe(function(ze){e(27,ce=!!ze&&ze.id===z.id)});const Te=he=>{e(8,oe=he.detail)},ue=he=>{e(9,ie=he.detail)},Le=he=>{e(6,te=he.detail)},ge=he=>{e(7,$=he.detail)};return n.$$set=he=>{"pxmm"in he&&e(21,k=he.pxmm),"roomAreaEnable"in he&&e(0,E=he.roomAreaEnable),"roomNameEnable"in he&&e(1,L=he.roomNameEnable),"roomNameOtherTypeEnable"in he&&e(2,D=he.roomNameOtherTypeEnable),"roomDimensionEnable"in he&&e(3,F=he.roomDimensionEnable),"room"in he&&e(4,z=he.room),"hoveredRoom"in he&&e(22,_=he.hoveredRoom),"getRoomAreaText"in he&&e(23,b=he.getRoomAreaText),"getRoomDimensionText"in he&&e(24,C=he.getRoomDimensionText),"getLabelElement"in he&&e(5,I=he.getLabelElement),"adaptiveRoomLabelVisibleEnable"in he&&e(25,M=he.adaptiveRoomLabelVisibleEnable),"fontSize"in he&&e(26,S=he.fontSize)},n.$$.update=()=>{var he,ze;n.$$.dirty[0]&67108864&&e(28,i=ka[S]),n.$$.dirty[0]&48&&e(18,s=I==null?void 0:I(z)),n.$$.dirty[0]&8388624&&e(17,o=z.size?b(z.size):""),n.$$.dirty[0]&16777232&&e(16,r=z!=null&&z.dimension?C((he=z.dimension)==null?void 0:he.width,(ze=z.dimension)==null?void 0:ze.height):""),n.$$.dirty[0]&768&&e(34,a={width:oe,height:ie}),n.$$.dirty[0]&16|n.$$.dirty[1]&8&&e(33,l=a?T(z,a):void 0),n.$$.dirty[0]&35651584|n.$$.dirty[1]&4&&e(30,c=M?!!(l!=null&&l(k)):!0),n.$$.dirty[0]&192&&e(32,h={width:te,height:$}),n.$$.dirty[0]&16|n.$$.dirty[1]&2&&e(31,u=h?T(z,h):void 0),n.$$.dirty[0]&35651584|n.$$.dirty[1]&1&&e(29,f=M?!!(u!=null&&u(k)):!0),n.$$.dirty[0]&1744830464&&e(15,m=f||c||ce),n.$$.dirty[0]&1207959552&&e(14,p=c||ce),n.$$.dirty[0]&671088640&&e(13,g=f||ce),n.$$.dirty[0]&1610612736&&e(12,v=c&&!f),n.$$.dirty[0]&268435456&&e(11,A=Gt((i==null?void 0:i.name)||12)),n.$$.dirty[0]&268435456&&e(10,w=Gt((i==null?void 0:i.area)||10))},[E,L,D,F,z,I,te,$,oe,ie,w,A,v,g,p,m,r,o,s,V,J,k,_,b,C,M,S,ce,i,f,c,u,h,l,a,Te,ue,Le,ge]}class Ny extends ke{constructor(t){super(),Me(this,t,Fy,_y,Ie,{pxmm:21,roomAreaEnable:0,roomNameEnable:1,roomNameOtherTypeEnable:2,roomDimensionEnable:3,room:4,hoveredRoom:22,getRoomAreaText:23,getRoomDimensionText:24,getLabelElement:5,adaptiveRoomLabelVisibleEnable:25,fontSize:26},jy,[-1,-1])}}function Hy(n){De(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 uf(n,t,e){const i=n.slice();return i[17]=t[e],i}function df(n){let t,e=[],i=new Map,s,o,r,a=n[12];const l=c=>c[17].id;for(let c=0;c<a.length;c+=1){let h=uf(n,a,c),u=l(h);i.set(u,e[c]=ff(u,h))}return{c(){t=Q("div");for(let c=0;c<e.length;c+=1)e[c].c();y(t,"class","floorplan-plugin__room-labels svelte-13xux0b")},m(c,h){Z(c,t,h);for(let u=0;u<e.length;u+=1)e[u]&&e[u].m(t,null);s=!0,o||(r=[Ii(fn.call(null,t)),Ve(t,"clientWidth",n[15])],o=!0)},p(c,h){h&7679&&(a=c[12],Ee(),e=ki(e,h,l,1,c,a,i,t,dn,ff,null,uf),xe())},i(c){if(!s){for(let h=0;h<a.length;h+=1)N(e[h]);s=!0}},o(c){for(let h=0;h<e.length;h+=1)Y(e[h]);s=!1},d(c){c&&X(t);for(let h=0;h<e.length;h+=1)e[h].d();o=!1,gt(r)}}}function ff(n,t){let e,i,s;const o=[{pxmm:t[10],room:t[17],hoveredRoom:t[4],roomAreaEnable:t[0],roomNameEnable:t[1],roomNameOtherTypeEnable:t[2],roomDimensionEnable:t[3],getLabelElement:t[7],getRoomAreaText:t[5],getRoomDimensionText:t[6],adaptiveRoomLabelVisibleEnable:t[8],fontSize:t[11]}];let r={};for(let a=0;a<o.length;a+=1)r=St(r,o[a]);return i=new Ny({props:r}),{key:n,first:null,c(){e=We(),Ae(i.$$.fragment),this.first=e},m(a,l){Z(a,e,l),me(i,a,l),s=!0},p(a,l){t=a;const c=l&7679?jt(o,[{pxmm:t[10],room:t[17],hoveredRoom:t[4],roomAreaEnable:t[0],roomNameEnable:t[1],roomNameOtherTypeEnable:t[2],roomDimensionEnable:t[3],getLabelElement:t[7],getRoomAreaText:t[5],getRoomDimensionText:t[6],adaptiveRoomLabelVisibleEnable:t[8],fontSize:t[11]}]):{};i.$set(c)},i(a){s||(N(i.$$.fragment,a),s=!0)},o(a){Y(i.$$.fragment,a),s=!1},d(a){a&&X(e),ve(i,a)}}}function Gy(n){let t,e,i=n[12]&&df(n);return{c(){i&&i.c(),t=We()},m(s,o){i&&i.m(s,o),Z(s,t,o),e=!0},p(s,[o]){s[12]?i?(i.p(s,o),o&4096&&N(i,1)):(i=df(s),i.c(),N(i,1),i.m(t.parentNode,t)):i&&(Ee(),Y(i,1,1,()=>{i=null}),xe())},i(s){e||(N(i),e=!0)},o(s){Y(i),e=!1},d(s){i&&i.d(s),s&&X(t)}}}function Wy(n,t,e){let i,{floorIndex:s}=t,{roomAreaEnable:o}=t,{roomNameEnable:r}=t,{roomNameOtherTypeEnable:a}=t,{roomDimensionEnable:l}=t,{floorplanData:c}=t,{hoveredRoom:h}=t,{getRoomAreaText:u}=t,{getRoomDimensionText:f}=t,{getLabelElement:m}=t,{adaptiveRoomLabelVisibleEnable:p}=t,g=0,v=0;const A=nr();let w=oo();typeof A=="object"&&"subscribe"in A&&A.subscribe(E=>{e(11,w=E)});const k=E=>{e(9,g=E.detail)};return n.$$set=E=>{"floorIndex"in E&&e(13,s=E.floorIndex),"roomAreaEnable"in E&&e(0,o=E.roomAreaEnable),"roomNameEnable"in E&&e(1,r=E.roomNameEnable),"roomNameOtherTypeEnable"in E&&e(2,a=E.roomNameOtherTypeEnable),"roomDimensionEnable"in E&&e(3,l=E.roomDimensionEnable),"floorplanData"in E&&e(14,c=E.floorplanData),"hoveredRoom"in E&&e(4,h=E.hoveredRoom),"getRoomAreaText"in E&&e(5,u=E.getRoomAreaText),"getRoomDimensionText"in E&&e(6,f=E.getRoomDimensionText),"getLabelElement"in E&&e(7,m=E.getLabelElement),"adaptiveRoomLabelVisibleEnable"in E&&e(8,p=E.adaptiveRoomLabelVisibleEnable)},n.$$.update=()=>{if(n.$$.dirty&24576&&e(12,i=c.floorDatas[s].rooms),n.$$.dirty&16896){const{max:E,min:L}=c.bounding,D=E.x-L.x;e(10,v=g/D)}},[o,r,a,l,h,u,f,m,p,g,v,w,i,s,c,k]}class Uy extends ke{constructor(t){super(),Me(this,t,Wy,Gy,Ie,{floorIndex:13,roomAreaEnable:0,roomNameEnable:1,roomNameOtherTypeEnable:2,roomDimensionEnable:3,floorplanData:14,hoveredRoom:4,getRoomAreaText:5,getRoomDimensionText:6,getLabelElement:7,adaptiveRoomLabelVisibleEnable:8},Hy)}}function Qy(n){De(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 pf(n,t,e){const i=n.slice();return i[11]=t[e],i[13]=e,i}function gf(n,t,e){const i=n.slice();return i[14]=t[e],i}function mf(n){let t;return{c(){t=Q("div"),y(t,"class","floorplan-plugin__rule-scale svelte-1fuyezq"),U(t,"left",n[14].left*100+"%"),U(t,"bottom",n[14].bottom*100+"%")},m(e,i){Z(e,t,i)},p:re,d(e){e&&X(t)}}}function vf(n,t){let e,i,s=t[1](t[11].distance)+"",o,r;return{key:n,first:null,c(){e=Q("div"),i=Q("div"),o=_e(s),r=ae(),y(i,"class","floorplan-plugin__rule-text svelte-1fuyezq"),Pe(i,"is-row",t[2]),y(e,"class","floorplan-plugin__rule-text-item svelte-1fuyezq"),U(e,"left",t[11].left*100+"%"),U(e,"bottom",t[11].bottom*100+"%"),this.first=e},m(a,l){Z(a,e,l),j(e,i),j(i,o),j(e,r)},p(a,l){t=a,l&2&&s!==(s=t[1](t[11].distance)+"")&&Ge(o,s)},d(a){a&&X(e)}}}function Xy(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]=mf(gf(n,h,p));let f=n[4];const m=p=>p[13];for(let p=0;p<f.length;p+=1){let g=pf(n,f,p),v=m(g);l.set(v,a[p]=vf(v,g))}return{c(){t=Q("div"),e=Q("div"),i=ae(),s=Q("div");for(let p=0;p<u.length;p+=1)u[p].c();o=ae(),r=Q("div");for(let p=0;p<a.length;p+=1)a[p].c();y(e,"class","floorplan-plugin__rule-line svelte-1fuyezq"),y(s,"class","floorplan-plugin__rule-scale-wrapper svelte-1fuyezq"),Pe(s,"is-row",n[2]),y(r,"class","floorplan-plugin__rule-text-wrapper svelte-1fuyezq"),y(t,"class",c="floorplan-plugin__rule-labels floorplan-plugin__rule-labels--"+n[0]+" svelte-1fuyezq"),Pe(t,"is-row",n[2]),U(t,"width",n[2]?"100%":1/16+"rem"),U(t,"height",n[2]?1/16+"rem":"100%")},m(p,g){Z(p,t,g),j(t,e),j(t,i),j(t,s);for(let v=0;v<u.length;v+=1)u[v]&&u[v].m(s,null);j(t,o),j(t,r);for(let v=0;v<a.length;v+=1)a[v]&&a[v].m(r,null)},p(p,[g]){if(g&8){h=p[3];let v;for(v=0;v<h.length;v+=1){const A=gf(p,h,v);u[v]?u[v].p(A,g):(u[v]=mf(A),u[v].c(),u[v].m(s,null))}for(;v<u.length;v+=1)u[v].d(1);u.length=h.length}g&22&&(f=p[4],a=ki(a,g,m,1,p,f,l,r,kc,vf,null,pf)),g&1&&c!==(c="floorplan-plugin__rule-labels floorplan-plugin__rule-labels--"+p[0]+" svelte-1fuyezq")&&y(t,"class",c),g&5&&Pe(t,"is-row",p[2])},i:re,o:re,d(p){p&&X(t),vi(u,p);for(let g=0;g<a.length;g+=1)a[g].d()}}}const co=1e3,ho=180;function Yy(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-(co-ho)*2,c=o.max.y-o.min.y-(co-ho)*2,h=s.map(([p,g])=>a?[p.x,g.x]:[p.y,g.y]).flat().sort().filter((p,g,v)=>g===0?!0:p!==v[g-1]),u=h.map(p=>{const g=a?(p-o.min.x-co+ho)/l:0,v=a?0:(p-o.min.y-co+ho)/c;return{left:g,bottom:v}});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,g,v)=>{const A=g===0?0:p-v[g-1],w=g===0?0:(p+v[g-1])/2,k=a?(w-o.min.x-co+ho)/l:0,E=a?0:(w-o.min.y-co+ho)/c;return{left:k,bottom:E,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 Zy extends ke{constructor(t){super(),Me(this,t,Yy,Xy,Ie,{type:0,data:5,bounding:6,getRuleDistanceText:1},Qy)}}function qy(n){De(n,"svelte-1mzj9p3",".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}")}function Af(n,t,e){const i=n.slice();return i[13]=t[e][0],i[14]=t[e][1],i}function bf(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=St(r,o[a]);return i=new Zy({props:r}),{key:n,first:null,c(){e=We(),Ae(i.$$.fragment),this.first=e},m(a,l){Z(a,e,l),me(i,a,l),s=!0},p(a,l){t=a;const c=l&19?jt(o,[{type:t[13],data:t[14],bounding:t[1],getRuleDistanceText:t[0]}]):{};i.$set(c)},i(a){s||(N(i.$$.fragment,a),s=!0)},o(a){Y(i.$$.fragment,a),s=!1},d(a){a&&X(e),ve(i,a)}}}function Jy(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=Af(n,o,a),c=r(l);i.set(c,e[a]=bf(c,l))}return{c(){t=Q("div");for(let a=0;a<e.length;a+=1)e[a].c();y(t,"class","floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"),U(t,"width",n[3]),U(t,"height",n[2])},m(a,l){Z(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],Ee(),e=ki(e,l,r,1,a,o,i,t,dn,bf,null,Af),xe()),l&8&&U(t,"width",a[3]),l&4&&U(t,"height",a[2])},i(a){if(!s){for(let l=0;l<o.length;l+=1)N(e[l]);s=!0}},o(a){for(let l=0;l<e.length;l+=1)Y(e[l]);s=!1},d(a){a&&X(t);for(let l=0;l<e.length;l+=1)e[l].d()}}}const yf=1e3,wf=180;function Ky(n,t,e){let i,s,o,r,a,l,c,h,u,f,{floorIndex:m}=t,{floorplanData:p}=t,{getRuleDistanceText:g}=t;return n.$$set=v=>{"floorIndex"in v&&e(5,m=v.floorIndex),"floorplanData"in v&&e(6,p=v.floorplanData),"getRuleDistanceText"in v&&e(0,g=v.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(v=>[v,s[v]])),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-(yf-wf)*2),n.$$.dirty&2&&e(8,h=i.max.y-i.min.y-(yf-wf)*2),n.$$.dirty&1536&&e(3,u=c/a*100+"%"),n.$$.dirty&384&&e(2,f=h/l*100+"%")},[g,i,f,u,r,m,p,l,h,a,c,s,o]}class $y extends ke{constructor(t){super(),Me(this,t,Ky,Jy,Ie,{floorIndex:5,floorplanData:6,getRuleDistanceText:0},qy)}}function Rn(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 Pf({x:n,y:t},e){const{max:i,min:s}=e;return{x:n-s.x,y:i.y-t}}function ew(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 tw(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 iw(n,t){return Math.max(...t.work.observers.map(i=>n.z>=i.standingPosition.z?i.floorIndex:0))}function nw(n){let t;return{c(){t=we("path"),y(t,"d",n[0]),y(t,"fill","#2F313A")},m(e,i){Z(e,t,i)},p(e,[i]){i&1&&y(t,"d",e[0])},i:re,o:re,d(e){e&&X(t)}}}function sw(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=Rn(s,{needZ:!0}))},[i,s]}class ow extends ke{constructor(t){super(),Me(this,t,sw,nw,Ie,{path:1})}}function rw(n){let t,e,i,s,o,r;return{c(){t=we("defs"),e=we("pattern"),i=we("rect"),s=we("path"),o=ae(),r=we("path"),y(i,"x","0"),y(i,"y","0"),y(i,"width",n[1]),y(i,"height",n[1]),y(i,"fill","#323747"),y(s,"d",n[2]),y(s,"stroke","#ffffff"),y(s,"stroke-opacity","0.06"),y(s,"stroke-width","0.5"),y(s,"fill","none"),y(e,"id","fpm-room-pattern-0"),y(e,"x","0"),y(e,"y","0"),y(e,"width",n[1]),y(e,"height",n[1]),y(e,"patternUnits","userSpaceOnUse"),y(e,"patternTransform","scale(50 50)"),y(r,"d",n[0]),y(r,"fill","url(#fpm-room-pattern-0)")},m(a,l){Z(a,t,l),j(t,e),j(e,i),j(e,s),Z(a,o,l),Z(a,r,l)},p(a,[l]){l&1&&y(r,"d",a[0])},i:re,o:re,d(a){a&&X(t),a&&X(o),a&&X(r)}}}const Dc=6;function aw(n,t,e){let i,{path:s}=t;const o=Dc*2,r=`M0 ${Dc} h ${o} M${Dc} 0 v ${o}`;return n.$$set=a=>{"path"in a&&e(3,s=a.path)},n.$$.update=()=>{n.$$.dirty&8&&e(0,i=Rn(s,{needZ:!0}))},[i,o,r,s]}class lw extends ke{constructor(t){super(),Me(this,t,aw,rw,Ie,{path:3})}}function cw(n){let t,e,i,s,o,r,a,l,c,h,u;return{c(){t=we("defs"),e=we("pattern"),i=we("rect"),s=we("pattern"),o=we("rect"),r=ae(),a=we("path"),l=ae(),c=we("path"),h=ae(),u=we("path"),y(i,"x","0"),y(i,"y","0"),y(i,"width","6"),y(i,"height","50"),y(i,"fill","none"),y(i,"stroke","#4B4B57"),y(i,"stroke-width","0.5"),y(e,"id","room-material-pattern-1"),y(e,"x","0"),y(e,"y","0"),y(e,"width","12"),y(e,"height","50"),y(e,"patternUnits","userSpaceOnUse"),y(e,"patternTransform","scale(50 50)"),y(o,"x","0"),y(o,"y","0"),y(o,"width","6"),y(o,"height","50"),y(o,"fill","none"),y(o,"stroke","#4B4B57"),y(o,"stroke-width","0.5"),y(s,"id","room-material-pattern-2"),y(s,"x","6"),y(s,"y","25"),y(s,"width","12"),y(s,"height","50"),y(s,"patternUnits","userSpaceOnUse"),y(s,"patternTransform","scale(50 50)"),y(a,"d",n[0]),y(a,"fill","#43434D"),y(c,"d",n[0]),y(c,"fill","url(#room-material-pattern-1)"),y(u,"d",n[0]),y(u,"fill","url(#room-material-pattern-2)")},m(f,m){Z(f,t,m),j(t,e),j(e,i),j(t,s),j(s,o),Z(f,r,m),Z(f,a,m),Z(f,l,m),Z(f,c,m),Z(f,h,m),Z(f,u,m)},p(f,[m]){m&1&&y(a,"d",f[0]),m&1&&y(c,"d",f[0]),m&1&&y(u,"d",f[0])},i:re,o:re,d(f){f&&X(t),f&&X(r),f&&X(a),f&&X(l),f&&X(c),f&&X(h),f&&X(u)}}}function hw(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=Rn(s,{needZ:!0}))},[i,s]}class uw extends ke{constructor(t){super(),Me(this,t,hw,cw,Ie,{path:1})}}function dw(n){let t;return{c(){t=we("path"),y(t,"d",n[0]),y(t,"fill","#969696"),y(t,"stroke","#969696"),y(t,"stroke-width","1"),y(t,"fill-rule","evenodd")},m(e,i){Z(e,t,i)},p:re,i:re,o:re,d(e){e&&X(t)}}}function fw(n,t,e){let{dimension:i}=t;const s=Rn([{x:i.vertical[1].x,y:i.vertical[1].y+53},{x:i.vertical[1].x-60,y:i.vertical[1].y+124},{x:i.vertical[1].x+60,y:i.vertical[1].y+124}],{needZ:!0}),o=Rn([{x:i.vertical[0].x,y:i.vertical[0].y-53},{x:i.vertical[0].x-60,y:i.vertical[0].y-124},{x:i.vertical[0].x+60,y:i.vertical[0].y-124}],{needZ:!0}),r=Rn([{x:i.horizontal[0].x+53,y:i.horizontal[0].y},{x:i.horizontal[0].x+124,y:i.horizontal[0].y+60},{x:i.horizontal[0].x+124,y:i.horizontal[0].y-60}],{needZ:!0}),a=Rn([{x:i.horizontal[1].x-53,y:i.horizontal[1].y},{x:i.horizontal[1].x-124,y:i.horizontal[1].y+60},{x:i.horizontal[1].x-124,y:i.horizontal[1].y-60}],{needZ:!0}),l=`${s} ${o} ${r} ${a}`;return n.$$set=c=>{"dimension"in c&&e(1,i=c.dimension)},[l,i]}class pw extends ke{constructor(t){super(),Me(this,t,fw,dw,Ie,{dimension:1})}}function gw(n){De(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 Cf(n,t,e){const i=n.slice();return i[8]=t[e],i}function mw(n){let t,e;return t=new lw({props:{path:n[8].path}}),{c(){Ae(t.$$.fragment)},m(i,s){me(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.path=i[8].path),t.$set(o)},i(i){e||(N(t.$$.fragment,i),e=!0)},o(i){Y(t.$$.fragment,i),e=!1},d(i){ve(t,i)}}}function vw(n){let t,e;return t=new uw({props:{path:n[8].path}}),{c(){Ae(t.$$.fragment)},m(i,s){me(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.path=i[8].path),t.$set(o)},i(i){e||(N(t.$$.fragment,i),e=!0)},o(i){Y(t.$$.fragment,i),e=!1},d(i){ve(t,i)}}}function Aw(n){let t,e;return t=new ow({props:{path:n[8].path}}),{c(){Ae(t.$$.fragment)},m(i,s){me(t,i,s),e=!0},p(i,s){const o={};s&1&&(o.path=i[8].path),t.$set(o)},i(i){e||(N(t.$$.fragment,i),e=!0)},o(i){Y(t.$$.fragment,i),e=!1},d(i){ve(t,i)}}}function If(n){let t,e,i;return e=new pw({props:{dimension:n[8].dimension}}),{c(){t=we("svg"),Ae(e.$$.fragment),y(t,"width","100%"),y(t,"height","100%"),y(t,"viewBox",`0 0 ${n[1]} ${n[2]}`),y(t,"class","svelte-1dykexu")},m(s,o){Z(s,t,o),me(e,t,null),i=!0},p(s,o){const r={};o&1&&(r.dimension=s[8].dimension),e.$set(r)},i(s){i||(N(e.$$.fragment,s),i=!0)},o(s){Y(e.$$.fragment,s),i=!1},d(s){s&&X(t),ve(e)}}}function Mf(n){let t,e,i,s,o=n[3]&&n[8].dimension&&Array.isArray(n[8].dimension.vertical)&&n[8].dimension.vertical.length>0&&Array.isArray(n[8].dimension.horizontal)&&n[8].dimension.horizontal.length>0,r,a;const l=[Aw,vw,mw],c=[];function h(f,m){return f[8].floorType===1?0:f[8].floorType===0?1:2}e=h(n),i=c[e]=l[e](n);let u=o&&If(n);return{c(){t=we("svg"),i.c(),s=ae(),u&&u.c(),r=We(),y(t,"width","100%"),y(t,"height","100%"),y(t,"viewBox",`0 0 ${n[1]} ${n[2]}`),y(t,"class","svelte-1dykexu")},m(f,m){Z(f,t,m),c[e].m(t,null),Z(f,s,m),u&&u.m(f,m),Z(f,r,m),a=!0},p(f,m){let p=e;e=h(f),e===p?c[e].p(f,m):(Ee(),Y(c[p],1,1,()=>{c[p]=null}),xe(),i=c[e],i?i.p(f,m):(i=c[e]=l[e](f),i.c()),N(i,1),i.m(t,null)),m&1&&(o=f[3]&&f[8].dimension&&Array.isArray(f[8].dimension.vertical)&&f[8].dimension.vertical.length>0&&Array.isArray(f[8].dimension.horizontal)&&f[8].dimension.horizontal.length>0),o?u?(u.p(f,m),m&1&&N(u,1)):(u=If(f),u.c(),N(u,1),u.m(r.parentNode,r)):u&&(Ee(),Y(u,1,1,()=>{u=null}),xe())},i(f){a||(N(i),N(u),a=!0)},o(f){Y(i),Y(u),a=!1},d(f){f&&X(t),c[e].d(),f&&X(s),u&&u.d(f),f&&X(r)}}}function bw(n){let t,e,i=n[0],s=[];for(let r=0;r<i.length;r+=1)s[r]=Mf(Cf(n,i,r));const o=r=>Y(s[r],1,1,()=>{s[r]=null});return{c(){t=Q("div");for(let r=0;r<s.length;r+=1)s[r].c();y(t,"class","floorplan-plugin__room-material svelte-1dykexu")},m(r,a){Z(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&15){i=r[0];let l;for(l=0;l<i.length;l+=1){const c=Cf(r,i,l);s[l]?(s[l].p(c,a),N(s[l],1)):(s[l]=Mf(c),s[l].c(),N(s[l],1),s[l].m(t,null))}for(Ee(),l=i.length;l<s.length;l+=1)o(l);xe()}},i(r){if(!e){for(let a=0;a<i.length;a+=1)N(s[a]);e=!0}},o(r){s=s.filter(Boolean);for(let a=0;a<s.length;a+=1)Y(s[a]);e=!1},d(r){r&&X(t),vi(s,r)}}}function yw(n,t,e){let i,{roomLabelsEnable:s}=t,{roomDimensionEnable:o}=t,{floorIndex:r}=t,{floorplanData:a}=t;const l=a.bounding.max.x-a.bounding.min.x,c=a.bounding.max.y-a.bounding.min.y,h=s&&o;return n.$$set=u=>{"roomLabelsEnable"in u&&e(4,s=u.roomLabelsEnable),"roomDimensionEnable"in u&&e(5,o=u.roomDimensionEnable),"floorIndex"in u&&e(6,r=u.floorIndex),"floorplanData"in u&&e(7,a=u.floorplanData)},n.$$.update=()=>{n.$$.dirty&192&&e(0,i=a.floorDatas[r].rooms.map(u=>de(H({},u),{path:u.path.map(f=>Pf(f,a.bounding))})))},[i,l,c,h,s,o,r,a]}class ww extends ke{constructor(t){super(),Me(this,t,yw,bw,Ie,{roomLabelsEnable:4,roomDimensionEnable:5,floorIndex:6,floorplanData:7},gw)}}function Pw(n){De(n,"svelte-qq2273","path.svelte-qq2273{--opacity:0;opacity:var(--opacity)}path.svelte-qq2273:hover{opacity:calc(var(--opacity) + 0.1)}")}function Cw(n){let t,e,i,s;return{c(){t=we("path"),y(t,"d",n[5]),y(t,"fill","#fff"),y(t,"style",n[2]),y(t,"id",e=`${n[1]}_${n[0].id}`),y(t,"class","svelte-qq2273")},m(o,r){Z(o,t,r),i||(s=[Ve(t,"mouseenter",n[3]),Ve(t,"mouseleave",n[4])],i=!0)},p(o,[r]){r&4&&y(t,"style",o[2]),r&3&&e!==(e=`${o[1]}_${o[0].id}`)&&y(t,"id",e)},i:re,o:re,d(o){o&&X(t),i=!1,gt(s)}}}function Iw(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=Rn(o.path,{needZ:!0,format:p=>Pf(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 Mw extends ke{constructor(t){super(),Me(this,t,Iw,Cw,Ie,{room:0,floorIndex:1,floorplanData:6,highlightData:7,hoveredRoom:8},Pw)}}function kw(n){De(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 kf(n,t,e){const i=n.slice();return i[6]=t[e],i}function Ef(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=St(r,o[a]);return i=new Mw({props:r}),{key:n,first:null,c(){e=We(),Ae(i.$$.fragment),this.first=e},m(a,l){Z(a,e,l),me(i,a,l),s=!0},p(a,l){t=a;const c=l&15?jt(o,[{room:t[6],floorplanData:t[1],hoveredRoom:t[3],floorIndex:t[0],highlightData:t[2]}]):{};i.$set(c)},i(a){s||(N(i.$$.fragment,a),s=!0)},o(a){Y(i.$$.fragment,a),s=!1},d(a){a&&X(e),ve(i,a)}}}function Ew(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=kf(n,r,l),h=a(c);s.set(h,i[l]=Ef(h,c))}return{c(){t=Q("div"),e=we("svg");for(let l=0;l<i.length;l+=1)i[l].c();y(e,"width","100%"),y(e,"height","100%"),y(e,"viewBox",`0 0 ${n[4]} ${n[5]}`),y(e,"class","svelte-1kqo6e4"),y(t,"class","floorplan-plugin__room-highlight svelte-1kqo6e4")},m(l,c){Z(l,t,c),j(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,Ee(),i=ki(i,c,a,1,l,r,s,e,dn,Ef,null,kf),xe())},i(l){if(!o){for(let c=0;c<r.length;c+=1)N(i[c]);o=!0}},o(l){for(let c=0;c<i.length;c+=1)Y(i[c]);o=!1},d(l){l&&X(t);for(let c=0;c<i.length;c+=1)i[c].d()}}}function xw(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 xf extends ke{constructor(t){super(),Me(this,t,xw,Ew,Ie,{floorIndex:0,floorplanData:1,highlightData:2,hoveredRoom:3},kw)}}function Sw(n){De(n,"svelte-3vzs9z",".missing-floor.svelte-3vzs9z{position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center}.text.svelte-3vzs9z{margin-top:0.75rem;color:#fff;opacity:0.3;white-space:nowrap}")}function Sf(n){let t,e=n[0].text+"",i;return{c(){t=Q("span"),i=_e(e),y(t,"class","text svelte-3vzs9z"),U(t,"font-size",n[0].textFontSize+"px")},m(s,o){Z(s,t,o),j(t,i)},p(s,o){o&1&&e!==(e=s[0].text+"")&&Ge(i,e),o&1&&U(t,"font-size",s[0].textFontSize+"px")},d(s){s&&X(t)}}}function Dw(n){let t,e,i,s,o=n[0].text&&Sf(n);return{c(){t=Q("div"),e=Q("img"),s=ae(),o&&o.c(),y(e,"class","image"),y(e,"alt","缺省楼层展位图"),vt(e.src,i=n[0].imageURL)||y(e,"src",i),U(e,"width",n[0].imageWidth+"px"),U(e,"height",n[0].imageHeight+"px"),U(e,"max-width","none"),y(t,"class","missing-floor svelte-3vzs9z")},m(r,a){Z(r,t,a),j(t,e),j(t,s),o&&o.m(t,null)},p(r,[a]){a&1&&!vt(e.src,i=r[0].imageURL)&&y(e,"src",i),a&1&&U(e,"width",r[0].imageWidth+"px"),a&1&&U(e,"height",r[0].imageHeight+"px"),r[0].text?o?o.p(r,a):(o=Sf(r),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},i:re,o:re,d(r){r&&X(t),o&&o.d()}}}function Tw(n,t,e){let{missingFloorConfig:i}=t;return n.$$set=s=>{"missingFloorConfig"in s&&e(0,i=s.missingFloorConfig)},[i]}class Lw extends ke{constructor(t){super(),Me(this,t,Tw,Dw,Ie,{missingFloorConfig:0},Sw)}}const Fn="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+Tvf/O1f7Czv3T2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i6aE6PqDLQZRi4EKI/KOfGFjUzqCKsXu6l2RpuAKJxiI1tHhcQJAYOHDhgwOZZs4ZSTHR5lQQYPDW1DS4aELQxdyEIAANGjtk8c6aaqTslk8gVwIAN0w3rAEL2bMtHm12AIOHqenXaNDWztEwo9hKJGHjR6OO0yDSI1IGdoQ0iY0a6Tt+06fKUDRQzqKw8Qlxr1AXrwNqwDvGBA+BrGUDc3d3Xr5+SQZj0E2ERqXIjPAJYNUbD18FoWEeDbHLPzLyQ4ePjQ5i3x1RCubfmpqkjMMNo6KOJ5uqe+f58C9GoaD29XyVSYS1h4DftKeWDDN4AbACZMZAsExEKghWUNKXWhlPfA2P1qjmUT556a9jmQotWi/VOFael1lR7ep4JfRZy8nhpwtG4wMMB/gdi9/nNH+vhezsmJ+fG5quX12fomHl6J+KFy88uA2RJyJPE4wkL4wIPBfgXxO5HxGN7zNw5W2bNnLZhio+OmaR3LD6tplrLfKeYAwX7/O6Dje/2dpniwuKiwoMHH+bn7723Z8/uHTu2fpg9+3p29sYrWVnr1l1cO2HCUFCGT+tshUcWLPj6IDf37ued27Z9unXz2owZU6dOnnxp4sQ1q1ePH79KN6vbQWc1SrfrTit6lO5NO6/F8yZNmofBfgNTwRQLsPLsHQAAAABJRU5ErkJggg==";function Ta(n){return n*180/Math.PI}function zw(n){De(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 Ow(n){let t,e;return{c(){t=Q("div"),e=Q("div"),y(e,"class","floorplan__camera-rotate svelte-17hhq1b"),U(e,"background-image",`url(${n[0]||Fn})`),U(e,"width",n[4]),U(e,"height",n[4]),U(e,"left","-"+n[4]),U(e,"top","-"+n[4]),U(e,"transform",`rotate(${n[3]}deg)`),U(e,"transform-origin",`${n[4]} ${n[4]}`),y(t,"class","floorplan__camera-position svelte-17hhq1b"),U(t,"left",n[1]),U(t,"top",n[2])},m(i,s){Z(i,t,s),j(t,e)},p(i,[s]){s&1&&U(e,"background-image",`url(${i[0]||Fn})`);const o=s&1;o&&U(e,"width",i[4]),o&&U(e,"height",i[4]),o&&U(e,"left","-"+i[4]),o&&U(e,"top","-"+i[4]),o&&U(e,"transform",`rotate(${i[3]}deg)`),o&&U(e,"transform-origin",`${i[4]} ${i[4]}`)},i:re,o:re,d(i){i&&X(t)}}}function jw(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=-Ta(o)+45,p=document.body.clientWidth,g=document.body.clientHeight,A=`${(p<500||g<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 Vw=class extends ke{constructor(t){super(),Me(this,t,jw,Ow,Ie,{panoIndex:5,floorplanData:6,lastPanoramaLongitude:7,cameraImageUrl:0},zw)}};const Bw="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 _w(n){De(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 Rw(n){let t,e,i,s,o;return{c(){t=Q("div"),e=Q("div"),i=ae(),s=Q("span"),o=_e(n[0]),y(e,"class","floorplan-plugin__compass-image svelte-rpkaro"),U(e,"background-image",`url(${Bw})`),y(s,"class","floorplan-plugin__compass-text svelte-rpkaro"),y(t,"class","floorplan-plugin__compass svelte-rpkaro"),U(t,"transform",n[2])},m(r,a){Z(r,t,a),j(t,e),j(t,i),j(t,s),j(s,o)},p(r,a){a&1&&Ge(o,r[0])},d(r){r&&X(t)}}}function Fw(n){let t,e=n[1]&&Rw(n);return{c(){e&&e.c(),t=We()},m(i,s){e&&e.m(i,s),Z(i,t,s)},p(i,[s]){i[1]&&e.p(i,s)},i:re,o:re,d(i){e&&e.d(i),i&&X(t)}}}function Nw(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?Ta(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 Hw extends ke{constructor(t){super(),Me(this,t,Nw,Fw,Ie,{floorplanData:3,northDesc:0},_w)}}function Gw(n){De(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 Ww(n){let t,e,i,s,o,r,a,l,c,h,u,f;const m=[{floorIndex:n[2],floorplanData:n[12],roomLabelsEnable:n[6],roomDimensionEnable:n[10]}];let p={};for(let z=0;z<m.length;z+=1)p=St(p,m[z]);t=new ww({props:p});let g=(n[3]||n[5])&&Df(n);const v=[{floorplanData:n[12],floorIndex:n[2]}];let A={};for(let z=0;z<v.length;z+=1)A=St(A,v[z]);s=new sf({props:A});const w=[{floorplanData:n[12],floorIndex:n[2]}];let k={};for(let z=0;z<w.length;z+=1)k=St(k,w[z]);r=new Oy({props:k});let E=n[6]&&Tf(n),L=n[11]&&Lf(n),D=n[4]&&zf(n),F=n[23]&&Of(n);return{c(){Ae(t.$$.fragment),e=ae(),g&&g.c(),i=ae(),Ae(s.$$.fragment),o=ae(),Ae(r.$$.fragment),a=ae(),E&&E.c(),l=ae(),L&&L.c(),c=ae(),D&&D.c(),h=ae(),F&&F.c(),u=We()},m(z,_){me(t,z,_),Z(z,e,_),g&&g.m(z,_),Z(z,i,_),me(s,z,_),Z(z,o,_),me(r,z,_),Z(z,a,_),E&&E.m(z,_),Z(z,l,_),L&&L.m(z,_),Z(z,c,_),D&&D.m(z,_),Z(z,h,_),F&&F.m(z,_),Z(z,u,_),f=!0},p(z,_){const b=_&5188?jt(m,[{floorIndex:z[2],floorplanData:z[12],roomLabelsEnable:z[6],roomDimensionEnable:z[10]}]):{};t.$set(b),z[3]||z[5]?g?(g.p(z,_),_&40&&N(g,1)):(g=Df(z),g.c(),N(g,1),g.m(i.parentNode,i)):g&&(Ee(),Y(g,1,1,()=>{g=null}),xe());const C=_&4100?jt(v,[{floorplanData:z[12],floorIndex:z[2]}]):{};s.$set(C);const I=_&4100?jt(w,[{floorplanData:z[12],floorIndex:z[2]}]):{};r.$set(I),z[6]?E?(E.p(z,_),_&64&&N(E,1)):(E=Tf(z),E.c(),N(E,1),E.m(l.parentNode,l)):E&&(Ee(),Y(E,1,1,()=>{E=null}),xe()),z[11]?L?(L.p(z,_),_&2048&&N(L,1)):(L=Lf(z),L.c(),N(L,1),L.m(c.parentNode,c)):L&&(Ee(),Y(L,1,1,()=>{L=null}),xe()),z[4]?D?(D.p(z,_),_&16&&N(D,1)):(D=zf(z),D.c(),N(D,1),D.m(h.parentNode,h)):D&&(Ee(),Y(D,1,1,()=>{D=null}),xe()),z[23]?F?(F.p(z,_),_&8388608&&N(F,1)):(F=Of(z),F.c(),N(F,1),F.m(u.parentNode,u)):F&&(Ee(),Y(F,1,1,()=>{F=null}),xe())},i(z){f||(N(t.$$.fragment,z),N(g),N(s.$$.fragment,z),N(r.$$.fragment,z),N(E),N(L),N(D),N(F),f=!0)},o(z){Y(t.$$.fragment,z),Y(g),Y(s.$$.fragment,z),Y(r.$$.fragment,z),Y(E),Y(L),Y(D),Y(F),f=!1},d(z){ve(t,z),z&&X(e),g&&g.d(z),z&&X(i),ve(s,z),z&&X(o),ve(r,z),z&&X(a),E&&E.d(z),z&&X(l),L&&L.d(z),z&&X(c),D&&D.d(z),z&&X(h),F&&F.d(z),z&&X(u)}}}function Uw(n){let t,e;return t=new Lw({props:{missingFloorConfig:n[19]}}),{c(){Ae(t.$$.fragment)},m(i,s){me(t,i,s),e=!0},p(i,s){const o={};s&524288&&(o.missingFloorConfig=i[19]),t.$set(o)},i(i){e||(N(t.$$.fragment,i),e=!0)},o(i){Y(t.$$.fragment,i),e=!1},d(i){ve(t,i)}}}function Df(n){let t,e;const i=[{floorIndex:n[2],floorplanData:n[12],hoveredRoom:n[25],highlightData:n[18]}];let s={};for(let o=0;o<i.length;o+=1)s=St(s,i[o]);return t=new xf({props:s}),{c(){Ae(t.$$.fragment)},m(o,r){me(t,o,r),e=!0},p(o,r){const a=r&33820676?jt(i,[{floorIndex:o[2],floorplanData:o[12],hoveredRoom:o[25],highlightData:o[18]}]):{};t.$set(a)},i(o){e||(N(t.$$.fragment,o),e=!0)},o(o){Y(t.$$.fragment,o),e=!1},d(o){ve(t,o)}}}function Tf(n){let t,e;const i=[{floorplanData:n[12],roomAreaEnable:n[7],roomNameEnable:n[8],roomNameOtherTypeEnable:n[9],roomDimensionEnable:n[10],floorIndex:n[2],getRoomAreaText:n[13],getRoomDimensionText:n[14],getLabelElement:n[15],hoveredRoom:n[25],adaptiveRoomLabelVisibleEnable:n[17]}];let s={};for(let o=0;o<i.length;o+=1)s=St(s,i[o]);return t=new Uy({props:s}),{c(){Ae(t.$$.fragment)},m(o,r){me(t,o,r),e=!0},p(o,r){const a=r&33748868?jt(i,[{floorplanData:o[12],roomAreaEnable:o[7],roomNameEnable:o[8],roomNameOtherTypeEnable:o[9],roomDimensionEnable:o[10],floorIndex:o[2],getRoomAreaText:o[13],getRoomDimensionText:o[14],getLabelElement:o[15],hoveredRoom:o[25],adaptiveRoomLabelVisibleEnable:o[17]}]):{};t.$set(a)},i(o){e||(N(t.$$.fragment,o),e=!0)},o(o){Y(t.$$.fragment,o),e=!1},d(o){ve(t,o)}}}function Lf(n){let t,e;const i=[{floorplanData:n[12],floorIndex:n[2],getRuleDistanceText:n[16]}];let s={};for(let o=0;o<i.length;o+=1)s=St(s,i[o]);return t=new $y({props:s}),{c(){Ae(t.$$.fragment)},m(o,r){me(t,o,r),e=!0},p(o,r){const a=r&69636?jt(i,[{floorplanData:o[12],floorIndex:o[2],getRuleDistanceText:o[16]}]):{};t.$set(a)},i(o){e||(N(t.$$.fragment,o),e=!0)},o(o){Y(t.$$.fragment,o),e=!1},d(o){ve(t,o)}}}function zf(n){let t,e;const i=[{panoIndex:n[0],floorplanData:n[12],lastPanoramaLongitude:n[20],cameraImageUrl:n[21]}];let s={};for(let o=0;o<i.length;o+=1)s=St(s,i[o]);return t=new Vw({props:s}),{c(){Ae(t.$$.fragment)},m(o,r){me(t,o,r),e=!0},p(o,r){const a=r&3149825?jt(i,[{panoIndex:o[0],floorplanData:o[12],lastPanoramaLongitude:o[20],cameraImageUrl:o[21]}]):{};t.$set(a)},i(o){e||(N(t.$$.fragment,o),e=!0)},o(o){Y(t.$$.fragment,o),e=!1},d(o){ve(t,o)}}}function Of(n){let t,e;return t=new Hw({props:{floorplanData:n[12],northDesc:n[22]}}),{c(){Ae(t.$$.fragment)},m(i,s){me(t,i,s),e=!0},p(i,s){const o={};s&4096&&(o.floorplanData=i[12]),s&4194304&&(o.northDesc=i[22]),t.$set(o)},i(i){e||(N(t.$$.fragment,i),e=!0)},o(i){Y(t.$$.fragment,i),e=!1},d(i){ve(t,i)}}}function Qw(n){let t,e,i,s,o;const r=[Uw,Ww],a=[];function l(c,h){return c[24]?1:0}return e=l(n),i=a[e]=r[e](n),{c(){t=Q("div"),i.c(),y(t,"class",s=wt(`floorplan-plugin__floor${n[1]?" floorplan-plugin__floor--is-current":""}`)+" svelte-bl8zrz")},m(c,h){Z(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):(Ee(),Y(a[u],1,1,()=>{a[u]=null}),xe(),i=a[e],i?i.p(c,h):(i=a[e]=r[e](c),i.c()),N(i,1),i.m(t,null)),(!o||h&2&&s!==(s=wt(`floorplan-plugin__floor${c[1]?" floorplan-plugin__floor--is-current":""}`)+" svelte-bl8zrz"))&&y(t,"class",s)},i(c){o||(N(i),o=!0)},o(c){Y(i),o=!1},d(c){c&&X(t),a[e].d()}}}function Xw(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,{roomNameOtherTypeEnable:p}=t,{roomDimensionEnable:g}=t,{ruleLabelsEnable:v}=t,{floorplanData:A}=t,{getRoomAreaText:w}=t,{getRoomDimensionText:k}=t,{getLabelElement:E}=t,{getRuleDistanceText:L}=t,{adaptiveRoomLabelVisibleEnable:D}=t,{highlightData:F}=t,{missingFloorConfig:z}=t,{lastPanoramaLongitude:_}=t,{cameraImageUrl:b}=t,{northDesc:C}=t,{compassEnable:I}=t,{store:M=void 0}=t;const S=Sc(void 0);return S.subscribe(T=>{M&&e(26,M.roomOnMouse=T,M)}),n.$$set=T=>{"panoIndex"in T&&e(0,o=T.panoIndex),"isCurrent"in T&&e(1,r=T.isCurrent),"floorIndex"in T&&e(2,a=T.floorIndex),"highlightEnable"in T&&e(3,l=T.highlightEnable),"cameraEnable"in T&&e(4,c=T.cameraEnable),"hoverEnable"in T&&e(5,h=T.hoverEnable),"roomLabelsEnable"in T&&e(6,u=T.roomLabelsEnable),"roomAreaEnable"in T&&e(7,f=T.roomAreaEnable),"roomNameEnable"in T&&e(8,m=T.roomNameEnable),"roomNameOtherTypeEnable"in T&&e(9,p=T.roomNameOtherTypeEnable),"roomDimensionEnable"in T&&e(10,g=T.roomDimensionEnable),"ruleLabelsEnable"in T&&e(11,v=T.ruleLabelsEnable),"floorplanData"in T&&e(12,A=T.floorplanData),"getRoomAreaText"in T&&e(13,w=T.getRoomAreaText),"getRoomDimensionText"in T&&e(14,k=T.getRoomDimensionText),"getLabelElement"in T&&e(15,E=T.getLabelElement),"getRuleDistanceText"in T&&e(16,L=T.getRuleDistanceText),"adaptiveRoomLabelVisibleEnable"in T&&e(17,D=T.adaptiveRoomLabelVisibleEnable),"highlightData"in T&&e(18,F=T.highlightData),"missingFloorConfig"in T&&e(19,z=T.missingFloorConfig),"lastPanoramaLongitude"in T&&e(20,_=T.lastPanoramaLongitude),"cameraImageUrl"in T&&e(21,b=T.cameraImageUrl),"northDesc"in T&&e(22,C=T.northDesc),"compassEnable"in T&&e(23,I=T.compassEnable),"store"in T&&e(26,M=T.store)},n.$$.update=()=>{n.$$.dirty&4100&&e(27,i=A.floorDatas[a]),n.$$.dirty&134217728&&e(24,s=i.rooms.length>0||i.is_has_wall)},[o,r,a,l,c,h,u,f,m,p,g,v,A,w,k,E,L,D,F,z,_,b,C,I,s,S,M,i]}let Yw=class extends ke{constructor(t){super(),Me(this,t,Xw,Qw,Ie,{panoIndex:0,isCurrent:1,floorIndex:2,highlightEnable:3,cameraEnable:4,hoverEnable:5,roomLabelsEnable:6,roomAreaEnable:7,roomNameEnable:8,roomNameOtherTypeEnable:9,roomDimensionEnable:10,ruleLabelsEnable:11,floorplanData:12,getRoomAreaText:13,getRoomDimensionText:14,getLabelElement:15,getRuleDistanceText:16,adaptiveRoomLabelVisibleEnable:17,highlightData:18,missingFloorConfig:19,lastPanoramaLongitude:20,cameraImageUrl:21,northDesc:22,compassEnable:23,store:26},Gw)}};function Zw(n){De(n,"svelte-86bqav",".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}")}function jf(n,t,e){const i=n.slice();return i[26]=t[e],i}function Vf(n){let t,e,i,s=n[15].floorDatas,o=[];for(let a=0;a<s.length;a+=1)o[a]=Bf(jf(n,s,a));const r=a=>Y(o[a],1,1,()=>{o[a]=null});return{c(){t=Q("div");for(let a=0;a<o.length;a+=1)o[a].c();y(t,"class","floorplan-main svelte-86bqav")},m(a,l){Z(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&67108860){s=n[15].floorDatas;let c;for(c=0;c<s.length;c+=1){const h=jf(n,s,c);o[c]?(o[c].p(h,l),N(o[c],1)):(o[c]=Bf(h),o[c].c(),N(o[c],1),o[c].m(t,null))}for(Ee(),c=s.length;c<o.length;c+=1)r(c);xe()}},i(a){if(!i){for(let l=0;l<s.length;l+=1)N(o[l]);e||At(()=>{e=Bn(t,Vt,{duration:n[0],easing:ln}),e.start()}),i=!0}},o(a){o=o.filter(Boolean);for(let l=0;l<o.length;l+=1)Y(o[l]);i=!1},d(a){a&&X(t),vi(o,a)}}}function Bf(n){let t,e;const i=[{hoverEnable:n[6],highlightEnable:n[7],floorplanData:n[15],getRoomAreaText:n[18],getRoomDimensionText:n[19],getLabelElement:n[20],getRuleDistanceText:n[21],roomLabelsEnable:n[9],roomAreaEnable:n[10],roomNameEnable:n[11],roomNameOtherTypeEnable:n[12],roomDimensionEnable:n[13],ruleLabelsEnable:n[14],adaptiveRoomLabelVisibleEnable:n[22],highlightData:n[23],missingFloorConfig:n[24],panoIndex:n[3],cameraEnable:n[5],cameraImageUrl:n[17],lastPanoramaLongitude:n[16],compassEnable:n[8],northDesc:n[2],store:n[25]},{floorIndex:n[26].floorIndex},{isCurrent:n[26].floorIndex===n[4]},{items:n[26].items}];let s={};for(let o=0;o<i.length;o+=1)s=St(s,i[o]);return t=new Yw({props:s}),{c(){Ae(t.$$.fragment)},m(o,r){me(t,o,r),e=!0},p(o,r){const a=r&67108860?jt(i,[r&67108844&&{hoverEnable:o[6],highlightEnable:o[7],floorplanData:o[15],getRoomAreaText:o[18],getRoomDimensionText:o[19],getLabelElement:o[20],getRuleDistanceText:o[21],roomLabelsEnable:o[9],roomAreaEnable:o[10],roomNameEnable:o[11],roomNameOtherTypeEnable:o[12],roomDimensionEnable:o[13],ruleLabelsEnable:o[14],adaptiveRoomLabelVisibleEnable:o[22],highlightData:o[23],missingFloorConfig:o[24],panoIndex:o[3],cameraEnable:o[5],cameraImageUrl:o[17],lastPanoramaLongitude:o[16],compassEnable:o[8],northDesc:o[2],store:o[25]},r&32768&&{floorIndex:o[26].floorIndex},r&32784&&{isCurrent:o[26].floorIndex===o[4]},r&32768&&{items:o[26].items}]):{};t.$set(a)},i(o){e||(N(t.$$.fragment,o),e=!0)},o(o){Y(t.$$.fragment,o),e=!1},d(o){ve(t,o)}}}function qw(n){let t,e,i=n[1]&&Vf(n);return{c(){i&&i.c(),t=We()},m(s,o){i&&i.m(s,o),Z(s,t,o),e=!0},p(s,[o]){s[1]?i?(i.p(s,o),o&2&&N(i,1)):(i=Vf(s),i.c(),N(i,1),i.m(t.parentNode,t)):i&&(Ee(),Y(i,1,1,()=>{i=null}),xe())},i(s){e||(N(i),e=!0)},o(s){Y(i),e=!1},d(s){i&&i.d(s),s&&X(t)}}}function Jw(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,{roomNameOtherTypeEnable:g}=t,{roomDimensionEnable:v}=t,{ruleLabelsEnable:A}=t,{floorplanData:w}=t,{lastPanoramaLongitude:k}=t,{cameraImageUrl:E}=t,{getRoomAreaText:L}=t,{getRoomDimensionText:D}=t,{getLabelElement:F}=t,{getRuleDistanceText:z}=t,{adaptiveRoomLabelVisibleEnable:_}=t,{highlightData:b}=t,{missingFloorConfig:C}=t,{store:I=void 0}=t;return n.$$set=M=>{"duration"in M&&e(0,i=M.duration),"visible"in M&&e(1,s=M.visible),"northDesc"in M&&e(2,o=M.northDesc),"panoIndex"in M&&e(3,r=M.panoIndex),"floorIndex"in M&&e(4,a=M.floorIndex),"cameraEnable"in M&&e(5,l=M.cameraEnable),"hoverEnable"in M&&e(6,c=M.hoverEnable),"highlightEnable"in M&&e(7,h=M.highlightEnable),"compassEnable"in M&&e(8,u=M.compassEnable),"roomLabelsEnable"in M&&e(9,f=M.roomLabelsEnable),"roomAreaEnable"in M&&e(10,m=M.roomAreaEnable),"roomNameEnable"in M&&e(11,p=M.roomNameEnable),"roomNameOtherTypeEnable"in M&&e(12,g=M.roomNameOtherTypeEnable),"roomDimensionEnable"in M&&e(13,v=M.roomDimensionEnable),"ruleLabelsEnable"in M&&e(14,A=M.ruleLabelsEnable),"floorplanData"in M&&e(15,w=M.floorplanData),"lastPanoramaLongitude"in M&&e(16,k=M.lastPanoramaLongitude),"cameraImageUrl"in M&&e(17,E=M.cameraImageUrl),"getRoomAreaText"in M&&e(18,L=M.getRoomAreaText),"getRoomDimensionText"in M&&e(19,D=M.getRoomDimensionText),"getLabelElement"in M&&e(20,F=M.getLabelElement),"getRuleDistanceText"in M&&e(21,z=M.getRuleDistanceText),"adaptiveRoomLabelVisibleEnable"in M&&e(22,_=M.adaptiveRoomLabelVisibleEnable),"highlightData"in M&&e(23,b=M.highlightData),"missingFloorConfig"in M&&e(24,C=M.missingFloorConfig),"store"in M&&e(25,I=M.store)},[i,s,o,r,a,l,c,h,u,f,m,p,g,v,A,w,k,E,L,D,F,z,_,b,C,I]}let Tc=class extends ke{constructor(t){super(),Me(this,t,Jw,qw,Ie,{duration:0,visible:1,northDesc:2,panoIndex:3,floorIndex:4,cameraEnable:5,hoverEnable:6,highlightEnable:7,compassEnable:8,roomLabelsEnable:9,roomAreaEnable:10,roomNameEnable:11,roomNameOtherTypeEnable:12,roomDimensionEnable:13,ruleLabelsEnable:14,floorplanData:15,lastPanoramaLongitude:16,cameraImageUrl:17,getRoomAreaText:18,getRoomDimensionText:19,getLabelElement:20,getRuleDistanceText:21,adaptiveRoomLabelVisibleEnable:22,highlightData:23,missingFloorConfig:24,store:25},Zw)}};const Kw="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAwCAYAAACFUvPfAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALaADAAQAAAABAAAAMAAAAADe2FZjAAAEF0lEQVRoBe2WzWskRRiHf13V092TxI2oEzYeVDwITtyDuCiihwiCePGgxIM3vYgHL4J4UIhBRA8i/gPqyUvWg7AiIuIeloDiYUHJLOK6BPwIk9nNODM9Xf1RVe1b3elJRjCZmQ6euqGmuqer33rq4e23GqiOykBloDJQGagMVAYqA5WBykBlYFYD1qwP/tdzaZqOx9zYOLxeX0+L5yzLGp0X/03a25MOnGRcBtx+6Rlo9SL08G4EooFnxa8Yiivox5/h5Ys/4cl7NVorNDRnngX+0MIkVMeMSf23zyKML8J7/Dy8hwF2Buh9CnS+AEQIdLspBuGb+M7/qLW4qJrNpsLapjYhpwVnx3BMfCtNNx3Etc9xywvnMf80wG8HmQainw0RxSGrnmeBp+8k5/j9S0HbvXb5io0Lz880/0wPHV1NlhLd316He+4xOCv5ragF7L9PrH1qBJyB0626x/lC+qrSvH5r/W+n1WpxUM5nMY4GPeH8lHJaPgfeAFQHCL+ntkXT+vnUc3W6pvTIwC0wy3rA4dwLmK2avZ7Eo9uKBuYJfgJscbs8dLCxDMt+EOEPBEZNEWyBYHqTz6bPXrzUnNrSShxHIsYiOL69zrCGLLcLqJP68tB+9w5wj+YhWDafQ2s61wNqxjZhmrQ2pvMFCEvXuCUZ7wqH794ZWs28LJqlTXSUyuksF2M/yOwqgkx2c1ADa4wLAQRk2sAGQQakhN6yFC2hltfz5kSY44NKQeeh+vtI/SSzWhg2CzCgmWISmKUGmaYFBDfCSymnfxJ6/+ospVcWOLLp5DGP/y0P/Rp66O99DQNq7Po3Ds0a0wY+My2QSv2N2mO/OyxR2o6UQk+Lv7yJ06JYSnnolZVU9cUn2O9SmaMWGFBqYXRwbqAJWIi94TX5biotpcGl1DXZ6LnqIbNDTnmUgi52Mv5l5ysMxIcZcGjy2DTK4ZHlcBC14zeSge4qphICjj3bS0A7o9nSp2TOkm7aZ8bGZy/jxhO87V91G0+dfY/Z7BWIIK9KYUi5qy/Hf8YfBG3sqJTHiQWhmTVkbip+wX3x6volVSx+LPAxF+VLXhZ8VQ+iP2Rta/iWe5v42Fngj0BbdnRTXh12ZIcKhTaGbcYjybRwXBU1lu9KlndXp04NM52poKWO0RZsviNaP9a6grkO972+st05pXhE5c1hTEluJy7XUejGUQNLMbAmTdWY1rKBLW3aTJqBZ7nZkb36DhYCreeYHbMUXHvaYi5XDK70EcgulmRjm77wNtenzuXCbmnTRaAx493rbGf3Jr/njMzj920CnKdUaFCjlDioy7NYNvOdGrQJNgI32/L2tkXfFPlxgToqjWVhD6KdLnQRdARf/HHQz2r2X2Gqy8pAZaAyUBmoDFQGKgP/q4F/AJYg9/s0ZoABAAAAAElFTkSuQmCC";function $w(n){return ne(this,null,function*(){const t=new Headers({"Content-Type":"text/plain"}),e=function(s){return ne(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 e2(n){const t={id:n.id,size:n.size,name:n.name,customizedName:n.customizedName||"",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 t2(n){return{floorName:n.floor_name,floorIndex:n.floor_index,rooms:n.rooms.map(e2),rules:n.rules,is_has_wall:n.is_has_wall}}function i2(n){return{index:n.index,floorIndex:n.floor_index,position:n.position,positionInImage:n.position_in_image}}function n2(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 Nn(n){return ne(this,null,function*(){const t=yield $w(n.outlines),e=n.computed_data.bounding,i=n.computed_data.floor_datas.map(t2),s=n.computed_data.entrance?n2(n.computed_data.entrance):null;return{outlines:t,entrance:s,bounding:e,floorDatas:i,observers:n.computed_data.observers.map(i2)}})}function s2(n,t,e){return n.map(s=>{const o=s.position,r=s.icon?s.icon:{url:Kw,width:45,height:48},a=iw(o,t),l=ew(o,e),c=tw(l,e);return{floorIndex:a,icon:r,id:s.id,position:l,positionInImage:c}})}function o2(n,t){return t(n),n}function uo(n,t){return o2({},e=>{for(const i in n)t.indexOf(i)===-1&&(e[i]=n[i])})}function _f(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 Lc(n,t,e=_n.BOUNDING_CENTER){const i=_f(n,t),s=_f(n,t+1);return e===_n.BOUNDING_CENTER?(n.model.bounding.max.y+n.model.bounding.min.y)/2:e===_n.CEILING?s:i}function zc(n,t,e,i){const s=Lc(n,e,i==null?void 0:i.attachedTo),o=new P.Vector3(0,s,0),r=new P.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 Hn=class{constructor(t,e){d(this,"VERSION","3.68.4");d(this,"NAME");d(this,"five");d(this,"workUtil");d(this,"fiveUtil");d(this,"hooks",new Ct);d(this,"staticPrefix","//vr-image-4.realsee-cdn.cn");this.five=t,this.fiveUtil=new Jr(t),this.workUtil=this.fiveUtil.workUtil,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.five=t,this.workUtil.five=t}getCurrentState(){return this.state}absoluteUrl(t){return dc(this.staticPrefix,t)}onWorkCodeChange(){}},pn=class extends Hn{};var li=(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))(li||{});const Rf=500,r2=80;function ms(n,t,e=4){return Math.abs(n-t)<Math.pow(10,-e)}function Ff(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 ms(r,a,e)||ms(r+i,a,e)}Object.assign(window,{nearlyEqual:ms,nearlyEqualRad:Ff});function a2(n){return Object.prototype.toString.call(n)==="[object Object]"}function Nf(n){return a2(n)&&!!n.isVector3}function Oc(n,t){return ne(this,null,function*(){const[e]=yield gs(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(!l2(i,s))throw new Error("pose 与预期不符")})}function l2(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"?Ff(i,s,2):typeof i=="number"&&typeof s=="number"?ms(i,s,2):Nf(s)&&Nf(i)?s.distanceTo(i)<.01:i===s})}function c2(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!(!ms(e,r,2)||!ms(i,a,2)||o!==void 0&&o.distanceTo(l)>.01||!ms(s,c,2))}function Hf(n,t,e=!0){return ne(this,null,function*(){if(c2(n,t)===!0)return;const s=n.getCurrentState();if(s.mode!==t.mode){const[h]=yield gs(Oc(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 gs(n.updateCamera(uo(t,["mode"]),l,e));if(c)throw new Error(li.UpdateCameraError)})}function fo(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 h2(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 u2(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 d2=class extends pn{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)=>ne(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)=>ne(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=zc(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,li.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=>ne(this,null,function*(){var r;if(!this.state.enabled)return;if(!((r=this.five.model)!=null&&r.loaded))throw new Error(li.ModelNotLoaded);if(!this.data)throw new Error(li.DataNotLoaded);if(this.showPromise)return this.showPromise;const i={floorIndex:this.floorIndex,modelOpacity:this.state.config.modelOpacity,immediately:!1,isAutoShow:!1,userAction:!0},s=H(H({},i),e),o=()=>ne(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 gs(Hf(this.five,this.showState,s.userAction));if(c)throw c;if(a)throw l?new Error(l):new Error(li.UnknownError);if(!this.updateSize())throw new Error(li.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:Rf;fo(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,li.BreakOffByHide),this.showPromise=void 0;const s=H(H({},{userAction:!0,isAutoHide:!1}),e);fo(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||u2(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();h2(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.workUtil.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:r2/((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,roomNameOtherTypeEnable:!0,roomDimensionEnable:!0,adaptiveRoomLabelVisibleEnable:!0,cameraImageUrl:Fn,attachedTo:_n.BOUNDING_CENTER,getLabelElement:void 0,missingFloorConfig:H(H({},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?uo(i,["selector","scale"]):{},r=H(H({},s.missingFloorConfig),o.missingFloorConfig),a=de(H(H({},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 ne(this,null,function*(){function o(h){return Object.prototype.hasOwnProperty.apply(h,["version"])}const r=e;r&&ai(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 Nn(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 ne(this,null,function*(){return yield Nn(e.data)})}updateState(e,i){var a;const s=this.state,o=(a=e.config)!=null&&a.missingFloorConfig?H(H({},s.config.missingFloorConfig),e.config.missingFloorConfig):s.config.missingFloorConfig,r=e.config?de(H(H({},s.config),e.config),{missingFloorConfig:o}):s.config;this.state=de(H(H({},this.state),e),{config:r}),!Ht(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=de(H({},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 Tc({target:this.container,intro:!0,props:i})}};const f2=(n,t)=>new d2(n,t),Gf=[{type:0,description:"车-2",href:"resource/items/{{ theme }}/car_2.png",width:4200,height:1800,tag:"其他",direction:3,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:1,description:"车-1",href:"resource/items/{{ theme }}/car_1.png",width:1900,height:4300,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:2,description:"中厨-1",href:"resource/items/{{ theme }}/kitchen_1.png",width:3158,height:1400,tag:"厨房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:3,description:"8人餐桌",href:"resource/items/{{ theme }}/table_for_8.png",width:3240,height:1800,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:4,description:"衣柜-1",href:"resource/items/{{ theme }}/wardrobe_1.png",width:1820,height:600,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:5,description:"浴缸-2",href:"resource/items/{{ theme }}/bathtub_2.png",width:1500,height:694,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:6,description:"衣柜-3",href:"resource/items/{{ theme }}/wardrobe_3.png",width:2830,height:600,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:7,description:"植物-4",href:"resource/items/{{ theme }}/plant_4.png",width:700,height:628,tag:"装饰类",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:8,description:"植物-1",href:"resource/items/{{ theme }}/plant_1.png",width:700,height:565,tag:"装饰类",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:9,description:"植物-6",href:"resource/items/{{ theme }}/plant_6.png",width:800,height:758,tag:"装饰类",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:10,description:"书桌-1",href:"resource/items/{{ theme }}/desk_1.png",width:1200,height:930,tag:"书房",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:11,description:"瓶艺-1",href:"resource/items/{{ theme }}/bottle_art_1.png",width:530,height:520,tag:"装饰类",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:12,description:"衣柜-2",href:"resource/items/{{ theme }}/wardrobe_2.png",width:2310,height:600,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:13,description:"植物-2",href:"resource/items/{{ theme }}/plant_2.png",width:600,height:600,tag:"装饰类",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:14,description:"西厨-1",href:"resource/items/{{ theme }}/western_kitchen_1.png",width:2180,height:550,tag:"厨房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:15,description:"西厨-2",href:"resource/items/{{ theme }}/western_kitchen_2.png",width:1480,height:550,tag:"厨房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:16,description:"浴缸-1",href:"resource/items/{{ theme }}/bathtub_1.png",width:1500,height:956,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:17,description:"植物-3",href:"resource/items/{{ theme }}/plant_3.png",width:700,height:639,tag:"装饰类",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:18,description:"书桌-2",href:"resource/items/{{ theme }}/desk_2.png",width:2200,height:2470,tag:"书房",direction:3,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:19,description:"吧台",href:"resource/items/{{ theme }}/bar_counter.png",width:1800,height:1130,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:20,description:"书柜-短",href:"resource/items/{{ theme }}/bookcase_short.png",width:1460,height:350,tag:"书房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:21,description:"鞋柜-长",href:"resource/items/{{ theme }}/shoe_cabinet_long.png",width:2059,height:550,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:22,description:"鞋柜-短",href:"resource/items/{{ theme }}/shoe_cabinet_short.png",width:1308,height:550,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:23,description:"中厨-2",href:"resource/items/{{ theme }}/kitchen_2.png",width:2020,height:650,tag:"厨房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:24,description:"椅子",href:"resource/items/{{ theme }}/chair.png",width:1050,height:950,tag:"客厅",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:25,description:"秋千",href:"resource/items/{{ theme }}/swing.png",width:1600,height:1370,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:26,description:"茶几",href:"resource/items/{{ theme }}/tea_table.png",width:1090,height:800,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:27,description:"庭院",href:"resource/items/{{ theme }}/courtyard.png",width:2100,height:3020,tag:"其他",direction:3,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:28,description:"躺椅",href:"resource/items/{{ theme }}/deck_chair.png",width:900,height:1850,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:29,description:"钢琴",href:"resource/items/{{ theme }}/piano.png",width:1900,height:2260,tag:"其他",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:30,description:"音响",href:"resource/items/{{ theme }}/sound.png",width:2500,height:550,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:31,description:"马桶",href:"resource/items/{{ theme }}/flush_toilet.png",width:450,height:750,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:32,description:"植物-5",href:"resource/items/{{ theme }}/plant_5.png",width:544,height:600,tag:"装饰类",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:33,description:"书柜-长",href:"resource/items/{{ theme }}/bookcase_long.png",width:2040,height:350,tag:"书房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:34,description:"燃气灶-1",href:"resource/items/{{ theme }}/gas_stove_1.png",width:820,height:450,tag:"厨房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:35,description:"洗脸池-单",href:"resource/items/{{ theme }}/wash_basin_single.png",width:1150,height:500,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:36,description:"洗手池-单",href:"resource/items/{{ theme }}/sink_single.png",width:1200,height:500,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:37,description:"双人床-4",href:"resource/items/{{ theme }}/double_4.png",width:2743,height:2e3,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:38,description:"电视柜-短",href:"resource/items/{{ theme }}/tv_cabinet_short.png",width:1580,height:350,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:39,description:"储物柜-1",href:"resource/items/{{ theme }}/locker_1.png",width:1400,height:600,tag:"储物间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:40,description:"双人床-3",href:"resource/items/{{ theme }}/double_3.png",width:2791,height:2300,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:41,description:"双人床-2",href:"resource/items/{{ theme }}/double_2.png",width:2791,height:2300,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:42,description:"洗手池-双",href:"resource/items/{{ theme }}/sink_double.png",width:2777,height:600,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:43,description:"洗脸池-双",href:"resource/items/{{ theme }}/wash_basin_double.png",width:2550,height:600,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:44,description:"双人床(无床头柜)-1",href:"resource/items/{{ theme }}/double_bed_without_bedside_table_1.png",width:1914,height:2e3,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:45,description:"电视柜-长",href:"resource/items/{{ theme }}/tv_cabinet_long.png",width:2040,height:350,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:46,description:"洽谈桌组合",href:"resource/items/{{ theme }}/negotiation_table_combination.png",width:2830,height:950,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:47,description:"哑铃架",href:"resource/items/{{ theme }}/dumbbell_rack.png",width:900,height:650,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:48,description:"沙发组合-1",href:"resource/items/{{ theme }}/sofa_combination_1.png",width:4e3,height:2792,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:49,description:"游泳池-2",href:"resource/items/{{ theme }}/swimming_pool_2.png",width:7680,height:3800,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:50,description:"美人榻",href:"resource/items/{{ theme }}/beauty_couch.png",width:1600,height:520,tag:"卧室",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:51,description:"单人床(无床头柜)",href:"resource/items/{{ theme }}/single_bed_without_bedside_table.png",width:1200,height:2120,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:52,description:"沙发组合-2",href:"resource/items/{{ theme }}/sofa_combination_2.png",width:2e3,height:2054,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:53,description:"跑步机",href:"resource/items/{{ theme }}/treadmill.png",width:2120,height:950,tag:"其他",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:54,description:"储物柜-3",href:"resource/items/{{ theme }}/lockers_3.png",width:2400,height:1360,tag:"储物间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:55,description:"洗菜池-1",href:"resource/items/{{ theme }}/vegetable_washing_pool_1.png",width:760,height:470,tag:"厨房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:56,description:"组合沙发-4",href:"resource/items/{{ theme }}/combination_sofa_4.png",width:1800,height:1595,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:57,description:"台球桌",href:"resource/items/{{ theme }}/pool_table.png",width:2540,height:1400,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:58,description:"置物台-1",href:"resource/items/{{ theme }}/shelf_1.png",width:1632,height:560,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:59,description:"储物柜-2",href:"resource/items/{{ theme }}/locker_2.png",width:2640,height:600,tag:"储物间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:60,description:"户外桌椅",href:"resource/items/{{ theme }}/outdoor_tables_and_chairs.png",width:3e3,height:2800,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:61,description:"洗衣机-1",href:"resource/items/{{ theme }}/washing_machine_1.png",width:850,height:600,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:62,description:"双人床-1",href:"resource/items/{{ theme }}/double_1.png",width:2851,height:2200,tag:"卧室",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:63,description:"六人餐桌",href:"resource/items/{{ theme }}/table_for_six.png",width:2230,height:1700,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:64,description:"洽谈沙发椅",href:"resource/items/{{ theme }}/sofa_chair.png",width:1e3,height:950,tag:"其他",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:65,description:"三人沙发",href:"resource/items/{{ theme }}/three_seat_sofa.png",width:2670,height:950,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:66,description:"会客桌",href:"resource/items/{{ theme }}/reception_table.png",width:1800,height:1800,tag:"其他",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:67,description:"健身机",href:"resource/items/{{ theme }}/fitness_machine.png",width:2200,height:800,tag:"其他",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:68,description:"沙发组合-3",href:"resource/items/{{ theme }}/sofa_combination_3.png",width:2670,height:2330,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:69,description:"双开冰箱",href:"resource/items/{{ theme }}/double_refrigerator.png",width:720,height:600,tag:"厨房",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:70,description:"车库工具箱",href:"resource/items/{{ theme }}/garage_toolbox.png",width:1280,height:500,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:71,description:"储物柜-4",href:"resource/items/{{ theme }}/locker_4.png",width:2440,height:2440,tag:"储物间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:72,description:"临时餐台",href:"resource/items/{{ theme }}/temporary_dining_table.png",width:1e3,height:1500,tag:"厨房",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:73,description:"置物台-2",href:"resource/items/{{ theme }}/shelf_2.png",width:1590,height:600,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:74,description:"四人餐桌",href:"resource/items/{{ theme }}/table_for_four.png",width:1700,height:1700,tag:"客厅",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:75,description:"洽谈桌",href:"resource/items/{{ theme }}/negotiating_table.png",width:950,height:950,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:76,description:"游泳池-1",href:"resource/items/{{ theme }}/swimming_pool_1.png",width:4300,height:5340,tag:"其他",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:77,description:"毛巾凳",href:"resource/items/{{ theme }}/towel_stool.png",width:800,height:500,tag:"卫生间",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:78,description:"电梯",href:"resource/items/{{ theme }}/lift.png",width:2e3,height:2e3,tag:"楼梯",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:79,description:"AC",href:"resource/items/{{ theme }}/ac.png",width:850,height:320,tag:"其他",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:80,description:"二人餐桌",href:"resource/items/{{ theme }}/table_for_two.png",width:780,height:1500,tag:"客厅",direction:1,keywords:["default"],themes:["realsee"],label:!0},{type:81,description:"双人床(无床头柜)-2",href:"resource/items/{{ theme }}/double_bed_without_bedside_table_2.png",width:1500,height:2200,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:82,description:"双人床(无床头柜)-3",href:"resource/items/{{ theme }}/double_bed_without_bedside_table_3.png",width:1800,height:2200,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:83,description:"床头柜",href:"resource/items/{{ theme }}/bedstand.png",width:500,height:500,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:84,description:"单开门冰箱",href:"resource/items/{{ theme }}/refrigerator.png",width:650,height:670,tag:"厨房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:85,description:"沙发组合-5",href:"resource/items/{{ theme }}/sofa_combination_5.png",width:1598,height:1418,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:86,description:"沙发组合-6",href:"resource/items/{{ theme }}/sofa_combination_6.png",width:2680,height:1790,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:87,description:"四人餐桌-1",href:"resource/items/{{ theme }}/table_for_four_1.png",width:1600,height:1700,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:88,description:"小单人沙发",href:"resource/items/{{ theme }}/chair_2.png",width:460,height:416,tag:"客厅",direction:1,keywords:["default"],themes:["realsee"],label:!0},{type:89,description:"小洗手池",href:"resource/items/{{ theme }}/sink_small.png",width:600,height:500,tag:"卫生间",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:90,description:"小厨",href:"resource/items/{{ theme }}/kitchen_small.png",width:740,height:550,tag:"厨房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:91,description:"小衣柜",href:"resource/items/{{ theme }}/wardrobe_small.png",width:910,height:600,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:92,description:"淋浴房",href:"resource/items/{{ theme }}/shower.png",width:650,height:670,tag:"卫生间",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:93,description:"鞋柜-1",href:"resource/items/{{ theme }}/shoe_cabinet_1.png",width:900,height:400,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:94,description:"鞋柜-2",href:"resource/items/{{ theme }}/shoe_cabinet_2.png",width:1500,height:400,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:95,description:"鞋柜-3",href:"resource/items/{{ theme }}/shoe_cabinet_3.png",width:2e3,height:400,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:96,description:"电视柜-1",href:"resource/items/{{ theme }}/tv_cabinet_1.png",width:1500,height:350,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:97,description:"电视柜-2",href:"resource/items/{{ theme }}/tv_cabinet_2.png",width:2040,height:350,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:98,description:"电视柜-3",href:"resource/items/{{ theme }}/tv_cabinet_3.png",width:3e3,height:350,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:99,description:"餐边柜-1",href:"resource/items/{{ theme }}/sideboard_1.png",width:900,height:550,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:100,description:"餐边柜-2",href:"resource/items/{{ theme }}/sideboard_2.png",width:1500,height:550,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:101,description:"餐边柜-3",href:"resource/items/{{ theme }}/sideboard_3.png",width:2e3,height:550,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:102,description:"燃气灶-2",href:"resource/items/{{ theme }}/gas_stove_2.png",width:900,height:550,tag:"厨房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:103,description:"洗菜池-2",href:"resource/items/{{ theme }}/vegetable_washing_pool_2.png",width:900,height:550,tag:"厨房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:104,description:"橱柜-1",href:"resource/items/{{ theme }}/kitchen_cabinet_1.png",width:550,height:550,tag:"厨房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:105,description:"橱柜-2",href:"resource/items/{{ theme }}/kitchen_cabinet_2.png",width:900,height:550,tag:"厨房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:106,description:"花洒",href:"resource/items/{{ theme }}/shower_head.png",width:260,height:200,tag:"卫生间",direction:1,keywords:["default"],themes:["realsee"],label:!0},{type:107,description:"淋浴屏",href:"resource/items/{{ theme }}/shower_panel.png",width:1500,height:100,tag:"卫生间",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:108,description:"洗衣机-2",href:"resource/items/{{ theme }}/washing_machine_2.png",width:600,height:500,tag:"卫生间",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:109,description:"双人床-5",href:"resource/items/{{ theme }}/double_5.png",width:1500,height:2e3,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:110,description:"双人床-6",href:"resource/items/{{ theme }}/double_6.png",width:1800,height:2e3,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:111,description:"双人床-7",href:"resource/items/{{ theme }}/double_7.png",width:2e3,height:2200,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:112,description:"双人床-8",href:"resource/items/{{ theme }}/double_8.png",width:2300,height:2200,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:113,description:"梳妆台",href:"resource/items/{{ theme }}/dressing_table.png",width:1200,height:900,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:114,description:"儿童床-1",href:"resource/items/{{ theme }}/children_bed_1.png",width:1400,height:2e3,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:115,description:"儿童床-2",href:"resource/items/{{ theme }}/children_bed_2.png",width:1700,height:2e3,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:116,description:"儿童床-3",href:"resource/items/{{ theme }}/children_bed_3.png",width:2e3,height:2200,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:117,description:"儿童书桌-1",href:"resource/items/{{ theme }}/children_desk_1.png",width:1e3,height:800,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:118,description:"儿童书桌-2",href:"resource/items/{{ theme }}/children_desk_2.png",width:1200,height:800,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:119,description:"儿童书桌-3",href:"resource/items/{{ theme }}/children_desk_3.png",width:1500,height:800,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:120,description:"儿童活动区域-1",href:"resource/items/{{ theme }}/children_carpet_1.png",width:600,height:600,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:121,description:"儿童活动区域-2",href:"resource/items/{{ theme }}/children_carpet_2.png",width:1200,height:1200,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:122,description:"儿童活动区域-3",href:"resource/items/{{ theme }}/children_carpet_3.png",width:1800,height:1800,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:123,description:"茶榻组合-1",href:"resource/items/{{ theme }}/tea_table_combination_1.png",width:2e3,height:1400,tag:"其他",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:124,description:"茶榻组合-2",href:"resource/items/{{ theme }}/tea_table_combination_2.png",width:2500,height:1400,tag:"其他",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:125,description:"茶榻组合-3",href:"resource/items/{{ theme }}/tea_table_combination_3.png",width:3e3,height:1800,tag:"其他",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:126,description:"儿童衣柜-1",href:"resource/items/{{ theme }}/children_wardrobe_1.png",width:900,height:500,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:127,description:"儿童衣柜-2",href:"resource/items/{{ theme }}/children_wardrobe_2.png",width:1200,height:500,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:128,description:"儿童衣柜-3",href:"resource/items/{{ theme }}/children_wardrobe_3.png",width:1500,height:500,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:129,description:"儿童书柜-1",href:"resource/items/{{ theme }}/children_bookcase_1.png",width:800,height:450,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:130,description:"儿童书柜-2",href:"resource/items/{{ theme }}/children_bookcase_2.png",width:1200,height:450,tag:"卧室",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:131,description:"折行双跑楼梯",href:"resource/items/{{ theme }}/folding_double_running_stairs.png",width:3e3,height:3e3,tag:"楼梯",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:132,description:"平行双跑楼梯",href:"resource/items/{{ theme }}/parallel_double_running_stairs.png",width:2500,height:3600,tag:"楼梯",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:133,description:"折行三跑楼梯",href:"resource/items/{{ theme }}/folding_treble_running_stairs.png",width:4300,height:2700,tag:"楼梯",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!0},{type:134,description:"手枪",href:"resource/items/{{ theme }}/pistol.png",width:500,height:500,tag:"物证痕迹",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:135,description:"血迹",href:"resource/items/{{ theme }}/bloodstain.png",width:500,height:500,tag:"物证痕迹",direction:2,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:136,description:"手印",href:"resource/items/{{ theme }}/handprint.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:137,description:"足迹",href:"resource/items/{{ theme }}/footprint.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:138,description:"车轮轨迹",href:"resource/items/{{ theme }}/wheelprint.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:139,description:"弹头",href:"resource/items/{{ theme }}/bullet.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:140,description:"弹壳",href:"resource/items/{{ theme }}/shell.png",width:500,height:500,tag:"物证痕迹",direction:1,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:141,description:"尸体",href:"resource/items/{{ theme }}/corpse.png",width:1500,height:1500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["legacy","realsee"],label:!1},{type:142,description:"空气净化器",href:"resource/items/{{ theme }}/airscrubber.png",width:580,height:380,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:143,description:"吹风机",href:"resource/items/{{ theme }}/airblower.png",width:640,height:600,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:144,description:"除湿器",href:"resource/items/{{ theme }}/dehumidifier.png",width:480,height:430,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:145,description:"冰柜",href:"resource/items/{{ theme }}/freezer.png",width:800,height:460,tag:"厨房",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:146,description:"架子",href:"resource/items/{{ theme }}/shelf.png",width:1e3,height:380,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:147,description:"杂物",href:"resource/items/{{ theme }}/sundries.png",width:800,height:800,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:148,description:"L型沙发",href:"resource/items/{{ theme }}/L_sofa.png",width:3500,height:1800,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:149,description:"书桌3",href:"resource/items/{{ theme }}/desk_3.png",width:1200,height:680,tag:"书房",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:150,description:"会议桌-1",href:"resource/items/{{ theme }}/conference_table_1.png",width:1600,height:1100,tag:"客厅",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:151,description:"衣架",href:"resource/items/{{ theme }}/coat_hanger.png",width:1200,height:400,tag:"卧室",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:152,description:"上下铺",href:"resource/items/{{ theme }}/bunk_beds.png",width:2e3,height:1040,tag:"卧室",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:153,description:"蹲坑",href:"resource/items/{{ theme }}/squatting.png",width:600,height:480,tag:"卫生间",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:154,description:"男尸",href:"resource/items/{{ theme }}/male_corpse.png",width:1600,height:800,tag:"物证痕迹",direction:1,keywords:["default"],themes:["realsee"],label:!1},{type:155,description:"女尸",href:"resource/items/{{ theme }}/female_corpse.png",width:1500,height:800,tag:"物证痕迹",direction:1,keywords:["default"],themes:["realsee"],label:!1},{type:156,description:"擦蹭状血迹",href:"resource/items/{{ theme }}/rub-like-bookd-stains.png",width:1200,height:800,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:157,description:"擦拭物",href:"resource/items/{{ theme }}/wipes.png",width:300,height:60,tag:"物证痕迹",direction:3,keywords:["default"],themes:["realsee"],label:!1},{type:158,description:"纸团",href:"resource/items/{{ theme }}/paper_ball.png",width:400,height:400,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:159,description:"未整理的被子",href:"resource/items/{{ theme }}/unarranged_quilts.png",width:800,height:500,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:160,description:"手机",href:"resource/items/{{ theme }}/mobile_phone.png",width:400,height:280,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:161,description:"菜刀",href:"resource/items/{{ theme }}/kitchen_knife.png",width:500,height:220,tag:"物证痕迹",direction:3,keywords:["default"],themes:["realsee"],label:!1},{type:162,description:"矩形",href:"resource/items/{{ theme }}/rectangle.png",width:900,height:600,tag:"自定义",direction:0,keywords:["default"],themes:["realsee"],label:!0,svgWidth:90,svgHeight:60,svg:'<rect x=".75" y=".75" width="88.5" height="58.5" rx="4" fill="#FFF" stroke="#3D404E" fill-rule="evenodd" vector-effect="non-scaling-stroke"/>'},{type:163,description:"圆形",href:"resource/items/{{ theme }}/circle.png",width:600,height:600,tag:"自定义",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:164,description:"三角形",href:"resource/items/{{ theme }}/triangle.png",width:600,height:600,tag:"自定义",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:165,description:"五角星形",href:"resource/items/{{ theme }}/five_pointedstar.png",width:800,height:800,tag:"自定义",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:166,description:"会议桌-2",href:"resource/items/{{ theme }}/conference_table_2.png",width:2800,height:1800,tag:"客厅",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:167,description:"餐椅",href:"resource/items/{{ theme }}/dining_chair.png",width:500,height:580,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:168,description:"转椅-1",href:"resource/items/{{ theme }}/rotating_chair_1.png",width:500,height:580,tag:"书房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:169,description:"转椅-2",href:"resource/items/{{ theme }}/rotating_chair_2.png",width:640,height:640,tag:"书房",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:170,description:"长方形茶几",href:"resource/items/{{ theme }}/rectangular_coffee_table.png",width:1090,height:800,tag:"客厅",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:171,description:"抽油烟机",href:"resource/items/{{ theme }}/smoke_lampblack_machine.png",width:1200,height:800,tag:"厨房",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:172,description:"电话机",href:"resource/items/{{ theme }}/telephone.png",width:500,height:500,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:173,description:"对讲机",href:"resource/items/{{ theme }}/walkie_talkie.png",width:240,height:540,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:174,description:"花盆",href:"resource/items/{{ theme }}/flower_pot.png",width:500,height:500,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:175,description:"剪刀",href:"resource/items/{{ theme }}/scissors.png",width:500,height:460,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:176,description:"角柜",href:"resource/items/{{ theme }}/corner_cabinet.png",width:1e3,height:1e3,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:177,description:"口杯",href:"resource/items/{{ theme }}/mouth_cup.png",width:500,height:400,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:178,description:"盘子",href:"resource/items/{{ theme }}/plate.png",width:500,height:500,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:179,description:"勺子",href:"resource/items/{{ theme }}/spoon.png",width:600,height:180,tag:"日常用品",direction:1,keywords:["default"],themes:["realsee"],label:!1},{type:180,description:"手提包",href:"resource/items/{{ theme }}/handbag.png",width:500,height:500,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:181,description:"双人沙发",href:"resource/items/{{ theme }}/double_sofa.png",width:1600,height:850,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:182,description:"藤椅",href:"resource/items/{{ theme }}/cane_chair.png",width:640,height:640,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!0},{type:183,description:"拖把",href:"resource/items/{{ theme }}/mop.png",width:490,height:1e3,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:184,description:"卫生纸",href:"resource/items/{{ theme }}/toilet_paper.png",width:280,height:300,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:185,description:"烟盒",href:"resource/items/{{ theme }}/cigarette_case.png",width:220,height:300,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:186,description:"烟头",href:"resource/items/{{ theme }}/cigarette_butt.png",width:280,height:220,tag:"日常用品",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:187,description:"鱼缸",href:"resource/items/{{ theme }}/fish_tank.png",width:1e3,height:500,tag:"客厅",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:188,description:"笔记本电脑",href:"resource/items/{{ theme }}/notebook_computer.png",width:500,height:500,tag:"日常用品",direction:2,keywords:["default"],themes:["realsee"],label:!1},{type:189,description:"微波炉",href:"resource/items/{{ theme }}/microwave_oven.png",width:600,height:400,tag:"厨房",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:190,description:"断口",href:"resource/items/{{ theme }}/fracture.png",width:1200,height:300,tag:"其他",direction:0,keywords:["default"],themes:["realsee"],label:!0},{type:191,description:"遗物堆",href:"resource/items/{{ theme }}/relic_pile.png",width:800,height:800,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:192,description:"衣物",href:"resource/items/{{ theme }}/clothing.png",width:830,height:810,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:193,description:"浴巾",href:"resource/items/{{ theme }}/bath_towel.png",width:420,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:194,description:"水渍",href:"resource/items/{{ theme }}/water_stains.png",width:1070,height:600,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:195,description:"螺丝刀",href:"resource/items/{{ theme }}/bolt_driver.png",width:300,height:300,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:196,description:"凉鞋",href:"resource/items/{{ theme }}/sandals.png",width:430,height:460,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:197,description:"水果刀",href:"resource/items/{{ theme }}/fruit_knife.png",width:300,height:260,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:198,description:"匕首",href:"resource/items/{{ theme }}/dragger.png",width:400,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:199,description:"玻璃弹孔",href:"resource/items/{{ theme }}/glass_bullet_hole.png",width:1160,height:1e3,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:200,description:"电视",href:"resource/items/{{ theme }}/tv.png",width:1120,height:160,tag:"客厅",direction:2,keywords:["default"],themes:["realsee"],label:!1},{type:201,description:"单向楼梯",href:"resource/items/{{ theme }}/stairs.png",width:1400,height:3600,tag:"楼梯",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:202,description:"电脑",href:"resource/items/{{ theme }}/computer.png",width:700,height:120,tag:"书房",direction:2,keywords:["default"],themes:["realsee"],label:!1},{type:203,description:"工具",href:"resource/items/{{ theme }}/tool.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:204,description:"特殊",href:"resource/items/{{ theme }}/special.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:205,description:"生物",href:"resource/items/{{ theme }}/biology.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:206,description:"毒化",href:"resource/items/{{ theme }}/poison.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:207,description:"理化",href:"resource/items/{{ theme }}/physics&chemistry.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:208,description:"文检",href:"resource/items/{{ theme }}/document.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:209,description:"电子",href:"resource/items/{{ theme }}/electronic.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:210,description:"人像",href:"resource/items/{{ theme }}/portrait.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:211,description:"提取物品",href:"resource/items/{{ theme }}/extract_items.png",width:500,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:212,description:"左脚足迹",href:"resource/items/{{ theme }}/footprint_l.png",width:220,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:213,description:"右脚足迹",href:"resource/items/{{ theme }}/footprint_r.png",width:220,height:500,tag:"物证痕迹",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:214,description:"电动车",href:"resource/items/{{ theme }}/electric_car.png",width:480,height:1320,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:215,description:"自行车",href:"resource/items/{{ theme }}/bike.png",width:380,height:1480,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:216,description:"摩托车",href:"resource/items/{{ theme }}/motorcycle.png",width:500,height:1780,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:217,description:"越野车",href:"resource/items/{{ theme }}/off_road_vehicle.png",width:1700,height:4360,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:218,description:"卡车",href:"resource/items/{{ theme }}/truck.png",width:1880,height:6800,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:219,description:"客车",href:"resource/items/{{ theme }}/bus.png",width:3160,height:8e3,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:220,description:"叉车",href:"resource/items/{{ theme }}/forklift.png",width:940,height:2720,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1},{type:221,description:"拖拉机",href:"resource/items/{{ theme }}/tractor.png",width:1740,height:3060,tag:"交通工具",direction:0,keywords:["default"],themes:["realsee"],label:!1}],p2="//vr-image-4.realsee-cdn.cn/release/static/image/doctorstrange/0.6.201-beta/";function g2(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 m2(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 v2=class extends pn{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,"items");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)=>ne(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)=>ne(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=zc(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,li.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=>ne(this,null,function*(){var r;if(!this.state.enabled)return;if(!((r=this.fiveUtil.model)!=null&&r.loaded))throw new Error(li.ModelNotLoaded);if(!this.data)throw new Error(li.DataNotLoaded);if(this.showPromise)return this.showPromise;const i={floorIndex:this.floorIndex,modelOpacity:this.state.config.modelOpacity,immediately:!1,isAutoShow:!1,userAction:!0},s=H(H({},i),e),o=()=>ne(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 gs(Hf(this.five,this.showState,s.userAction));if(c)throw c;if(a)throw l?new Error(l):new Error(li.UnknownError);if(!this.updateSize())throw new Error(li.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:Rf;fo(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,li.BreakOffByHide),this.showPromise=void 0;const s=H(H({},{userAction:!0,isAutoHide:!1}),e);fo(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 P.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&&m2(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(),g2(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(uo(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=>{if(this.floorIndex!==e){if(e===null){const i=this.five.getCurrentState().panoIndex;this.floorIndex=this.workUtil.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:"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,roomNameOtherTypeEnable:!0,roomDimensionEnable:!0,cameraImageUrl:Fn,attachedTo:_n.BOUNDING_CENTER,getLabelElement:void 0,adaptiveRoomLabelVisibleEnable:!0,missingFloorConfig:H(H({},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?uo(i,["selector","scale"]):{},r=H(H({},s.missingFloorConfig),o.missingFloorConfig),a=de(H(H({},s),o),{missingFloorConfig:r});this.state={enabled:!0,visible:!1,config:a},this.initContainer(),gi(e).then(this.onFiveModelLoaded),e.once("dispose",this.dispose),this.addEventListener()}load(e,i,s=!0){return ne(this,null,function*(){function o(h){return Object.prototype.hasOwnProperty.apply(h,["version"])}const r=e;r&&ai(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 Nn(l),this.hooks.emit("dataLoaded",this.data),this.hooks.emit("dataChange",this.data,c),i&&this.updateState(i,s),this.render()})}loadItems(e){const{min:i,max:s}=this.data.bounding,o=s.x-i.x,r=s.y-i.y;this.data.floorDatas.forEach((a,l)=>{a.items=e[l].filter(c=>c.displayName==="Item-SimpleItem").map(c=>{const{x:h,y:u,width:f,height:m,notes:p,type:g,id:v,rotateX:A,rotateY:w,rotateZ:k=0}=c;return{id:v,positionInImage:{x:(h-i.x)/o,y:(s.y-u)/r},width:f/o,height:m/r,src:p2+Gf[g].href.replace(/\{\{\stheme\s\}\}/,"realsee"),notes:p||Gf[g].description,rotateX:A,rotateY:w,rotateZ:k}})})}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=Lc(this.five,this.floorIndex,this.state.config.attachedTo),i=(a=this.fiveUtil.model)==null?void 0:a.bounding.getCenter(new P.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 ne(this,null,function*(){return yield Nn(e.data)})}updateState(e,i){var a;const s=this.state,o=(a=e.config)!=null&&a.missingFloorConfig?H(H({},s.config.missingFloorConfig),e.config.missingFloorConfig):s.config.missingFloorConfig,r=e.config?de(H(H({},s.config),e.config),{missingFloorConfig:o}):s.config;this.state=de(H(H({},this.state),e),{config:r}),!Ht(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=de(H({},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,items:this.items,store:this.store});if(this.app)return this.app.$set(i);this.app=new Tc({target:this.container,intro:!0,props:i})}};const A2=(n,t)=>new v2(n,t);let b2=class extends pn{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=zc(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.workUtil.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.workUtil.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,roomNameOtherTypeEnable:!0,roomDimensionEnable:!0,cameraImageUrl:Fn,attachedTo:_n.BOUNDING_CENTER,getLabelElement:void 0,missingFloorConfig:H(H({},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?uo(i,["selector","scale"]):{},r=H(H({},s.missingFloorConfig),o.missingFloorConfig),a=de(H(H({},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 ne(this,null,function*(){function o(h){return Object.prototype.hasOwnProperty.apply(h,["version"])}const r=e;r&&ai(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 Nn(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=Lc(this.five,this.floorIndex,this.state.config.attachedTo),i=(a=this.five.model)==null?void 0:a.bounding.getCenter(new P.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 ne(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 ne(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 ne(this,null,function*(){return yield Nn(e.data)})}_show(e){return ne(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 Oc(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;fo(this.five,o,s),this.hooks.emit("showAnimationEnded",{userAction:i,auto:!1}),this.render()})}_hide(e){return ne(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;fo(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?H(H({},s.config.missingFloorConfig),e.config.missingFloorConfig):s.config.missingFloorConfig,r=e.config?de(H(H({},s.config),e.config),{missingFloorConfig:o}):s.config;this.state=de(H(H({},this.state),e),{config:r}),!Ht(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=de(H({},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 Tc({target:this.container,intro:!0,props:i})}};const y2=(n,t)=>new b2(n,t);function w2(n){De(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 P2(n){let t,e,i;return{c(){t=Q("div"),e=Q("div"),i=Q("div"),y(i,"class","plugin-radar__camera-rotate svelte-1nqrlxd"),U(i,"background-image","url("+(n[0]||Fn)+")"),U(i,"transform",n[1]),y(e,"class","plugin-radar__camera-position svelte-1nqrlxd"),U(e,"transform",n[2]),y(t,"class","plugin-radar__camera-wrapper svelte-1nqrlxd"),U(t,"opacity",n[3]?1:0)},m(s,o){Z(s,t,o),j(t,e),j(e,i)},p(s,[o]){o&1&&U(i,"background-image","url("+(s[0]||Fn)+")"),(o&1||o&3)&&U(i,"transform",s[1]),o&4&&U(e,"transform",s[2]),o&8&&U(t,"opacity",s[3]?1:0)},i:re,o:re,d(s){s&&X(t)}}}function C2(n){return`rotate(${Math.floor(n/Math.PI*180)*-1+45}deg)`}function I2(n,t,e){var w,k;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=(k=(w=a.work.observers[a.getCurrentState().panoIndex])==null?void 0:w.floorIndex)!=null?k:0;function p(E,L){const D=E.bounding,F=E.observers[L];if(!F)return"";const z=(D.max.x-D.min.x)*l,_=(D.max.y-D.min.y)*l,b=Math.floor(F.positionInImage.x*z),C=Math.floor(F.positionInImage.y*_);return`translate(${b}px, ${C}px)`}function g(E){e(7,u=E)}function v(E){e(9,m=a.work.observers[E].floorIndex)}const A=$r(E=>{e(8,f=E.longitude)},1e3/60);return Dt(()=>(a.on("panoWillArrive",g),a.on("panoArrived",v),a.on("cameraDirectionUpdate",A),function(){a.off("panoWillArrive",g),a.off("panoArrived",v),a.off("cameraDirectionUpdate",A)})),n.$$set=E=>{"five"in E&&e(4,a=E.five),"pxmm"in E&&e(5,l=E.pxmm),"floorplanData"in E&&e(6,c=E.floorplanData),"cameraImageUrl"in E&&e(0,h=E.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=C2(f))},[h,r,o,s,a,l,c,u,f,m,i]}class M2 extends ke{constructor(t){super(),Me(this,t,I2,P2,Ie,{five:4,pxmm:5,floorplanData:6,cameraImageUrl:0},w2)}}function k2(n){De(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 Wf(n,t,e){const i=n.slice();return i[1]=t[e],i}function Uf(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=Q("div"),i=Q("div"),r=ae(),y(i,"class","plugin-pano-floorplan__extra-object-item svelte-1i87fz7"),U(i,"background-image",`url(${t[1].icon.url})`),U(i,"width",s),U(i,"height",o),y(e,"class","plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"),U(e,"top",a),U(e,"left",l),this.first=e},m(c,h){Z(c,e,h),j(e,i),j(e,r)},p(c,h){t=c,h&1&&U(i,"background-image",`url(${t[1].icon.url})`);const u=h&1;u&&U(i,"width",s),u&&U(i,"height",o),h&1&&a!==(a=`${t[1].positionInImage.y*100}%`)&&U(e,"top",a),h&1&&l!==(l=`${t[1].positionInImage.x*100}%`)&&U(e,"left",l)},d(c){c&&X(e)}}}function E2(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=Wf(n,s,r),l=o(a);i.set(l,e[r]=Uf(l,a))}return{c(){t=Q("div");for(let r=0;r<e.length;r+=1)e[r].c();y(t,"class","plugin-pano-floorplan__extra-objects svelte-1i87fz7")},m(r,a){Z(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=ki(e,a,o,1,r,s,i,t,kc,Uf,null,Wf))},i:re,o:re,d(r){r&&X(t);for(let a=0;a<e.length;a+=1)e[a].d()}}}function x2(n,t,e){let{extraObjects:i=[]}=t;return n.$$set=s=>{"extraObjects"in s&&e(0,i=s.extraObjects)},[i]}class S2 extends ke{constructor(t){super(),Me(this,t,x2,E2,Ie,{extraObjects:0},k2)}}function D2(n){De(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 T2(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=St(l,a[h]);t=new sf({props:l}),i=new S2({props:{extraObjects:n[7]}});let c=n[3]&&Qf(n);return{c(){Ae(t.$$.fragment),e=ae(),Ae(i.$$.fragment),s=ae(),c&&c.c(),o=We()},m(h,u){me(t,h,u),Z(h,e,u),me(i,h,u),Z(h,s,u),c&&c.m(h,u),Z(h,o,u),r=!0},p(h,u){const f=u&20?jt(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&&N(c,1)):(c=Qf(h),c.c(),N(c,1),c.m(o.parentNode,o)):c&&(Ee(),Y(c,1,1,()=>{c=null}),xe())},i(h){r||(N(t.$$.fragment,h),N(i.$$.fragment,h),N(c),r=!0)},o(h){Y(t.$$.fragment,h),Y(i.$$.fragment,h),Y(c),r=!1},d(h){ve(t,h),h&&X(e),ve(i,h),h&&X(s),c&&c.d(h),h&&X(o)}}}function L2(n){let t,e,i;return{c(){t=Q("div"),e=Q("img"),y(e,"class","missing-floor-image svelte-18287ai"),vt(e.src,i=n[6])||y(e,"src",i),y(e,"alt","缺省楼层"),y(t,"class","missing-floor-wrapper svelte-18287ai")},m(s,o){Z(s,t,o),j(t,e)},p(s,o){o&64&&!vt(e.src,i=s[6])&&y(e,"src",i)},i:re,o:re,d(s){s&&X(t)}}}function Qf(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=St(s,i[o]);return t=new xf({props:s}),{c(){Ae(t.$$.fragment)},m(o,r){me(t,o,r),e=!0},p(o,r){const a=r&567?jt(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||(N(t.$$.fragment,o),e=!0)},o(o){Y(t.$$.fragment,o),e=!1},d(o){ve(t,o)}}}function z2(n){let t,e,i,s;const o=[L2,T2],r=[];function a(l,c){return l[8]?1:0}return t=a(n),e=r[t]=o[t](n),{c(){e.c(),i=We()},m(l,c){r[t].m(l,c),Z(l,i,c),s=!0},p(l,[c]){let h=t;t=a(l),t===h?r[t].p(l,c):(Ee(),Y(r[h],1,1,()=>{r[h]=null}),xe(),e=r[t],e?e.p(l,c):(e=r[t]=o[t](l),e.c()),N(e,1),e.m(i.parentNode,i))},i(l){s||(N(e),s=!0)},o(l){Y(e),s=!1},d(l){r[t].d(l),l&&X(i)}}}function O2(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=g=>{"five"in g&&e(0,r=g.five),"pxmm"in g&&e(1,a=g.pxmm),"floorIndex"in g&&e(2,l=g.floorIndex),"hoverEnable"in g&&e(3,c=g.hoverEnable),"floorplanData"in g&&e(4,h=g.floorplanData),"extraObjects"in g&&e(10,u=g.extraObjects),"highlightData"in g&&e(5,f=g.highlightData),"missingFloorImageUrl"in g&&e(6,m=g.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(g=>g.floorIndex===l))},[r,a,l,c,h,f,m,o,s,p,u,i]}class j2 extends ke{constructor(t){super(),Me(this,t,O2,z2,Ie,{five:0,pxmm:1,floorIndex:2,hoverEnable:3,floorplanData:4,extraObjects:10,highlightData:5,missingFloorImageUrl:6},D2)}}function V2(n){De(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 Xf(n){let t,e,i,s,o=n[8]!==0&&Yf(n);return{c(){t=Q("div"),o&&o.c(),y(t,"class","plugin-floorplan-radar svelte-1mvqyqq")},m(r,a){Z(r,t,a),o&&o.m(t,null),e=!0,i||(s=[Ii(fn.call(null,t)),Ve(t,"clientWidth",n[14]),Ve(t,"clientHeight",n[15])],i=!0)},p(r,a){r[8]!==0?o?(o.p(r,a),a&256&&N(o,1)):(o=Yf(r),o.c(),N(o,1),o.m(t,null)):o&&(Ee(),Y(o,1,1,()=>{o=null}),xe())},i(r){e||(N(o),e=!0)},o(r){Y(o),e=!1},d(r){r&&X(t),o&&o.d(),i=!1,gt(s)}}}function Yf(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=St(c,l[f]);e=new j2({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=St(u,h[f]);return s=new M2({props:u}),{c(){t=Q("div"),Ae(e.$$.fragment),i=ae(),Ae(s.$$.fragment),y(t,"class","plugin-floorplan-radar-container svelte-1mvqyqq"),U(t,"width",o),U(t,"height",r)},m(f,m){Z(f,t,m),me(e,t,null),j(t,i),me(s,t,null),a=!0},p(f,m){const p=m&6381?jt(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 g=m&2073?jt(h,[{pxmm:f[11],five:f[0],floorplanData:f[3],cameraImageUrl:f[4]}]):{};s.$set(g),m&1024&&o!==(o=`${f[10]}px`)&&U(t,"width",o),m&8192&&r!==(r=`${f[13]}px`)&&U(t,"height",r)},i(f){a||(N(e.$$.fragment,f),N(s.$$.fragment,f),a=!0)},o(f){Y(e.$$.fragment,f),Y(s.$$.fragment,f),a=!1},d(f){f&&X(t),ve(e),ve(s)}}}function B2(n){let t,e,i=n[1]&&Xf(n);return{c(){i&&i.c(),t=We()},m(s,o){i&&i.m(s,o),Z(s,t,o),e=!0},p(s,[o]){s[1]?i?(i.p(s,o),o&2&&N(i,1)):(i=Xf(s),i.c(),N(i,1),i.m(t.parentNode,t)):i&&(Ee(),Y(i,1,1,()=>{i=null}),xe())},i(s){e||(N(i),e=!0)},o(s){Y(i),e=!1},d(s){i&&i.d(s),s&&X(t)}}}function _2(n,t,e){var E,L;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=(L=(E=i.work.observers[i.getCurrentState().panoIndex])==null?void 0:E.floorIndex)!=null?L:0,m=0,p=0,g=0,v=0;function A(D){e(12,f=i.work.observers[D].floorIndex)}Dt(()=>(i.on("panoArrived",A),()=>{i.off("panoArrived",A)}));const w=D=>{e(8,m=D.detail)},k=D=>{e(9,p=D.detail)};return n.$$set=D=>{"five"in D&&e(0,i=D.five),"visible"in D&&e(1,s=D.visible),"hoverEnable"in D&&e(2,o=D.hoverEnable),"floorplanData"in D&&e(3,r=D.floorplanData),"cameraImageUrl"in D&&e(4,a=D.cameraImageUrl),"extraObjects"in D&&e(5,l=D.extraObjects),"highlightData"in D&&e(6,c=D.highlightData),"missingFloorImageUrl"in D&&e(7,h=D.missingFloorImageUrl)},n.$$.update=()=>{if(n.$$.dirty&1800){const D=Math.min(m,p),{max:F,min:z}=r.bounding,_=F.x-z.x,b=F.y-z.y,C=function(){return _>b?[D,D/_*b]:[D/b*_,D]}();e(10,g=C[0]),e(13,v=C[1]),e(11,u=g/_)}},[i,s,o,r,a,l,c,h,m,p,g,u,f,v,w,k]}class R2 extends ke{constructor(t){super(),Me(this,t,_2,B2,Ie,{five:0,visible:1,hoverEnable:2,floorplanData:3,cameraImageUrl:4,extraObjects:5,highlightData:6,missingFloorImageUrl:7},V2)}}let F2=class extends pn{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:!1,highlightEnable:!1,cameraImageUrl:Fn,missingFloorImageUrl:this.staticPrefix+"/release/web/saas/missing-floor.d687a5ed.png"},o=H(H({},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 ne(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 Nn(a),this.hooks.emit("dataLoaded",this.data),this.hooks.emit("dataChange",this.data,l),i&&this.updateState(i,s),this.render()})}show(){return ne(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 ne(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=s2(e,this.five,this.data),this.render())}formatData(e){return ne(this,null,function*(){return yield Nn(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?H(H({},s.config),e.config):s.config;this.state=de(H(H({},this.state),e),{config:o}),!Ht(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=de(H({},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 R2({target:this.wrapper,props:e})}};const N2=(n,t)=>new F2(n,t),H2=[{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:"和室"}],G2=[{type:0,description:"木质地板"},{type:1,description:"瓷砖地面"},{type:2,description:"户外地面"},{type:3,description:"卫生间地面"},{type:4,description:"阳台地面"},{type:5,description:"车库地面"}],W2=[{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:"写字楼"}],jc=(n,t,e)=>{const i=new P.Matrix4,s=new P.Euler(n,t,e,"YXZ");return i.makeRotationFromEuler(s),i},U2=(n,{scale:t,rotation:e,position:i})=>{if(t&&n.scale.set(t,t,t),e){const[s,o,r]=e;s&&n.applyMatrix4(jc(s,0,0)),o&&n.applyMatrix4(jc(0,o,0)),r&&n.applyMatrix4(jc(0,0,r))}return i&&n.position.set(i.x,i.y,i.z),n};function Zf(n,t){n.traverse(e=>{var i;if(e.type==="Mesh"){const s=e,o=H({map:s.material.map||{}},t);s.material=new B.MeshBasicMaterial(o),s.renderOrder=1,((i=e.parent)==null?void 0:i.type)==="Mesh"&&(e.renderOrder=e.parent.renderOrder+1)}})}/** @license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */var qf={},Ai=void 0,Q2=qf;function Vc(n,t){var e=n.split("."),i=Q2;!(e[0]in i)&&i.execScript&&i.execScript("var "+e[0]);for(var s;e.length&&(s=e.shift());)!e.length&&t!==Ai?i[s]=t:i=i[s]?i[s]:i[s]={}}var dt=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined"&&typeof DataView!="undefined";function vs(n){var t=n.length,e=0,i=Number.POSITIVE_INFINITY,s,o,r,a,l,c,h,u,f,m;for(u=0;u<t;++u)n[u]>e&&(e=n[u]),n[u]<i&&(i=n[u]);for(s=1<<e,o=new(dt?Uint32Array:Array)(s),r=1,a=0,l=2;r<=e;){for(u=0;u<t;++u)if(n[u]===r){for(c=0,h=a,f=0;f<r;++f)c=c<<1|h&1,h>>=1;for(m=r<<16|u,f=c;f<s;f+=l)o[f]=m;++a}++r,a<<=1,l<<=1}return[o,e,i]}function Gn(n,t){switch(this.g=[],this.h=32768,this.d=this.f=this.a=this.l=0,this.input=dt?new Uint8Array(n):n,this.m=!1,this.i=La,this.r=!1,(t||!(t={}))&&(t.index&&(this.a=t.index),t.bufferSize&&(this.h=t.bufferSize),t.bufferType&&(this.i=t.bufferType),t.resize&&(this.r=t.resize)),this.i){case Bc:this.b=32768,this.c=new(dt?Uint8Array:Array)(32768+this.h+258);break;case La:this.b=0,this.c=new(dt?Uint8Array:Array)(this.h),this.e=this.z,this.n=this.v,this.j=this.w;break;default:throw Error("invalid inflate mode")}}var Bc=0,La=1,Jf={t:Bc,s:La};Gn.prototype.k=function(){for(;!this.m;){var n=Ei(this,3);switch(n&1&&(this.m=!0),n>>>=1,n){case 0:var t=this.input,e=this.a,i=this.c,s=this.b,o=t.length,r=Ai,a=Ai,l=i.length,c=Ai;if(this.d=this.f=0,e+1>=o)throw Error("invalid uncompressed block header: LEN");if(r=t[e++]|t[e++]<<8,e+1>=o)throw Error("invalid uncompressed block header: NLEN");if(a=t[e++]|t[e++]<<8,r===~a)throw Error("invalid uncompressed block header: length verify");if(e+r>t.length)throw Error("input buffer is broken");switch(this.i){case Bc:for(;s+r>i.length;){if(c=l-s,r-=c,dt)i.set(t.subarray(e,e+c),s),s+=c,e+=c;else for(;c--;)i[s++]=t[e++];this.b=s,i=this.e(),s=this.b}break;case La:for(;s+r>i.length;)i=this.e({p:2});break;default:throw Error("invalid inflate mode")}if(dt)i.set(t.subarray(e,e+r),s),s+=r,e+=r;else for(;r--;)i[s++]=t[e++];this.a=e,this.b=s,this.c=i;break;case 1:this.j(X2,Y2);break;case 2:for(var h=Ei(this,5)+257,u=Ei(this,5)+1,f=Ei(this,4)+4,m=new(dt?Uint8Array:Array)(_c.length),p=Ai,g=Ai,v=Ai,A=Ai,w=Ai,k=Ai,E=Ai,D=Ai,L=Ai,D=0;D<f;++D)m[_c[D]]=Ei(this,3);if(!dt)for(D=f,f=m.length;D<f;++D)m[_c[D]]=0;for(p=vs(m),A=new(dt?Uint8Array:Array)(h+u),D=0,L=h+u;D<L;)switch(w=or(this,p),w){case 16:for(E=3+Ei(this,2);E--;)A[D++]=k;break;case 17:for(E=3+Ei(this,3);E--;)A[D++]=0;k=0;break;case 18:for(E=11+Ei(this,7);E--;)A[D++]=0;k=0;break;default:k=A[D++]=w}g=vs(dt?A.subarray(0,h):A.slice(0,h)),v=vs(dt?A.subarray(h):A.slice(h)),this.j(g,v);break;default:throw Error("unknown BTYPE: "+n)}}return this.n()};var Kf=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],_c=dt?new Uint16Array(Kf):Kf,$f=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,258,258],ep=dt?new Uint16Array($f):$f,tp=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0],za=dt?new Uint8Array(tp):tp,ip=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],np=dt?new Uint16Array(ip):ip,sp=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Oa=dt?new Uint8Array(sp):sp,Rc=new(dt?Uint8Array:Array)(288),As,op;for(As=0,op=Rc.length;As<op;++As)Rc[As]=143>=As?8:255>=As?9:279>=As?7:8;var X2=vs(Rc),Fc=new(dt?Uint8Array:Array)(30),ja,rp;for(ja=0,rp=Fc.length;ja<rp;++ja)Fc[ja]=5;var Y2=vs(Fc);function Ei(n,t){for(var e=n.f,i=n.d,s=n.input,o=n.a,r=s.length,a;i<t;){if(o>=r)throw Error("input buffer is broken");e|=s[o++]<<i,i+=8}return a=e&(1<<t)-1,n.f=e>>>t,n.d=i-t,n.a=o,a}function or(n,t){for(var e=n.f,i=n.d,s=n.input,o=n.a,r=s.length,a=t[0],l=t[1],c,h;i<l&&!(o>=r);)e|=s[o++]<<i,i+=8;if(c=a[e&(1<<l)-1],h=c>>>16,h>i)throw Error("invalid code length: "+h);return n.f=e>>h,n.d=i-h,n.a=o,c&65535}Gn.prototype.j=function(n,t){var e=this.c,i=this.b;this.o=n;for(var s=e.length-258,o,r,a,l;(o=or(this,n))!==256;)if(256>o)i>=s&&(this.b=i,e=this.e(),i=this.b),e[i++]=o;else for(r=o-257,l=ep[r],0<za[r]&&(l+=Ei(this,za[r])),o=or(this,t),a=np[o],0<Oa[o]&&(a+=Ei(this,Oa[o])),i>=s&&(this.b=i,e=this.e(),i=this.b);l--;)e[i]=e[i++-a];for(;8<=this.d;)this.d-=8,this.a--;this.b=i},Gn.prototype.w=function(n,t){var e=this.c,i=this.b;this.o=n;for(var s=e.length,o,r,a,l;(o=or(this,n))!==256;)if(256>o)i>=s&&(e=this.e(),s=e.length),e[i++]=o;else for(r=o-257,l=ep[r],0<za[r]&&(l+=Ei(this,za[r])),o=or(this,t),a=np[o],0<Oa[o]&&(a+=Ei(this,Oa[o])),i+l>s&&(e=this.e(),s=e.length);l--;)e[i]=e[i++-a];for(;8<=this.d;)this.d-=8,this.a--;this.b=i},Gn.prototype.e=function(){var n=new(dt?Uint8Array:Array)(this.b-32768),t=this.b-32768,e,i,s=this.c;if(dt)n.set(s.subarray(32768,n.length));else for(e=0,i=n.length;e<i;++e)n[e]=s[e+32768];if(this.g.push(n),this.l+=n.length,dt)s.set(s.subarray(t,t+32768));else for(e=0;32768>e;++e)s[e]=s[t+e];return this.b=32768,s},Gn.prototype.z=function(n){var t,e=this.input.length/this.a+1|0,i,s,o,r=this.input,a=this.c;return n&&(typeof n.p=="number"&&(e=n.p),typeof n.u=="number"&&(e+=n.u)),2>e?(i=(r.length-this.a)/this.o[2],o=258*(i/2)|0,s=o<a.length?a.length+o:a.length<<1):s=a.length*e,dt?(t=new Uint8Array(s),t.set(a)):t=a,this.c=t},Gn.prototype.n=function(){var n=0,t=this.c,e=this.g,i,s=new(dt?Uint8Array:Array)(this.l+(this.b-32768)),o,r,a,l;if(e.length===0)return dt?this.c.subarray(32768,this.b):this.c.slice(32768,this.b);for(o=0,r=e.length;o<r;++o)for(i=e[o],a=0,l=i.length;a<l;++a)s[n++]=i[a];for(o=32768,r=this.b;o<r;++o)s[n++]=t[o];return this.g=[],this.buffer=s},Gn.prototype.v=function(){var n,t=this.b;return dt?this.r?(n=new Uint8Array(t),n.set(this.c.subarray(0,t))):n=this.c.subarray(0,t):(this.c.length>t&&(this.c.length=t),n=this.c),this.buffer=n};function Nc(n,t){var e,i;switch(this.input=n,this.a=0,(t||!(t={}))&&(t.index&&(this.a=t.index),t.verify&&(this.A=t.verify)),e=n[this.a++],i=n[this.a++],e&15){case ap:this.method=ap;break;default:throw Error("unsupported compression method")}if(((e<<8)+i)%31!==0)throw Error("invalid fcheck flag:"+((e<<8)+i)%31);if(i&32)throw Error("fdict flag is not supported");this.q=new Gn(n,{index:this.a,bufferSize:t.bufferSize,bufferType:t.bufferType,resize:t.resize})}Nc.prototype.k=function(){var n=this.input,t,e;if(t=this.q.k(),this.a=this.q.a,this.A){e=(n[this.a++]<<24|n[this.a++]<<16|n[this.a++]<<8|n[this.a++])>>>0;var i=t;if(typeof i=="string"){var s=i.split(""),o,r;for(o=0,r=s.length;o<r;o++)s[o]=(s[o].charCodeAt(0)&255)>>>0;i=s}for(var a=1,l=0,c=i.length,h,u=0;0<c;){h=1024<c?1024:c,c-=h;do a+=i[u++],l+=a;while(--h);a%=65521,l%=65521}if(e!==(l<<16|a)>>>0)throw Error("invalid adler-32 checksum")}return t};var ap=8;Vc("Zlib.Inflate",Nc),Vc("Zlib.Inflate.prototype.decompress",Nc.prototype.k);var Hc={ADAPTIVE:Jf.s,BLOCK:Jf.t},rr,ar,po,lp;if(Object.keys)rr=Object.keys(Hc);else for(ar in rr=[],po=0,Hc)rr[po++]=ar;for(po=0,lp=rr.length;po<lp;++po)ar=rr[po],Vc("Zlib.Inflate.BufferType."+ar,Hc[ar]);var cp=qf.Zlib,hp={findSpan:function(n,t,e){var i=e.length-n-1;if(t>=e[i])return i-1;if(t<=e[n])return n;for(var s=n,o=i,r=Math.floor((s+o)/2);t<e[r]||t>=e[r+1];)t<e[r]?o=r:s=r,r=Math.floor((s+o)/2);return r},calcBasisFunctions:function(n,t,e,i){var s=[],o=[],r=[];s[0]=1;for(var a=1;a<=e;++a){o[a]=t-i[n+1-a],r[a]=i[n+a]-t;for(var l=0,c=0;c<a;++c){var h=r[c+1],u=o[a-c],f=s[c]/(h+u);s[c]=l+h*f,l=u*f}s[a]=l}return s},calcBSplinePoint:function(n,t,e,i){for(var s=this.findSpan(n,i,t),o=this.calcBasisFunctions(s,i,n,t),r=new B.Vector4(0,0,0,0),a=0;a<=n;++a){var l=e[s-n+a],c=o[a],h=l.w*c;r.x+=l.x*h,r.y+=l.y*h,r.z+=l.z*h,r.w+=l.w*c}return r},calcBasisFunctionDerivatives:function(n,t,e,i,s){for(var o=[],r=0;r<=e;++r)o[r]=0;for(var a=[],r=0;r<=i;++r)a[r]=o.slice(0);for(var l=[],r=0;r<=e;++r)l[r]=o.slice(0);l[0][0]=1;for(var c=o.slice(0),h=o.slice(0),u=1;u<=e;++u){c[u]=t-s[n+1-u],h[u]=s[n+u]-t;for(var f=0,_=0;_<u;++_){var m=h[_+1],p=c[u-_];l[u][_]=m+p;var g=l[_][u-1]/l[u][_];l[_][u]=f+m*g,f=p*g}l[u][u]=f}for(var u=0;u<=e;++u)a[0][u]=l[u][e];for(var _=0;_<=e;++_){for(var v=0,A=1,w=[],r=0;r<=e;++r)w[r]=o.slice(0);w[0][0]=1;for(var k=1;k<=i;++k){var E=0,L=_-k,D=e-k;_>=k&&(w[A][0]=w[v][0]/l[D+1][L],E=w[A][0]*l[L][D]);for(var F=L>=-1?1:-L,z=_-1<=D?k-1:e-_,u=F;u<=z;++u)w[A][u]=(w[v][u]-w[v][u-1])/l[D+1][L+u],E+=w[A][u]*l[L+u][D];_<=D&&(w[A][k]=-w[v][k-1]/l[D+1][_],E+=w[A][k]*l[_][D]),a[k][_]=E;var u=v;v=A,A=u}}for(var _=e,k=1;k<=i;++k){for(var u=0;u<=e;++u)a[k][u]*=_;_*=e-k}return a},calcBSplineDerivatives:function(n,t,e,i,s){for(var o=s<n?s:n,r=[],a=this.findSpan(n,i,t),l=this.calcBasisFunctionDerivatives(a,i,n,o,t),c=[],h=0;h<e.length;++h){var u=e[h].clone(),f=u.w;u.x*=f,u.y*=f,u.z*=f,c[h]=u}for(var m=0;m<=o;++m){for(var u=c[a-n].clone().multiplyScalar(l[m][0]),p=1;p<=n;++p)u.add(c[a-n+p].clone().multiplyScalar(l[m][p]));r[m]=u}for(var m=o+1;m<=s+1;++m)r[m]=new B.Vector4(0,0,0);return r},calcKoverI:function(n,t){for(var e=1,i=2;i<=n;++i)e*=i;for(var s=1,i=2;i<=t;++i)s*=i;for(var i=2;i<=n-t;++i)s*=i;return e/s},calcRationalCurveDerivatives:function(n){for(var t=n.length,e=[],i=[],s=0;s<t;++s){var o=n[s];e[s]=new B.Vector3(o.x,o.y,o.z),i[s]=o.w}for(var r=[],a=0;a<t;++a){for(var l=e[a].clone(),s=1;s<=a;++s)l.sub(r[a-s].clone().multiplyScalar(this.calcKoverI(a,s)*i[s]));r[a]=l.divideScalar(i[0])}return r},calcNURBSDerivatives:function(n,t,e,i,s){var o=this.calcBSplineDerivatives(n,t,e,i,s);return this.calcRationalCurveDerivatives(o)},calcSurfacePoint:function(n,t,e,i,s,o,r,a){for(var l=this.findSpan(n,o,e),c=this.findSpan(t,r,i),h=this.calcBasisFunctions(l,o,n,e),u=this.calcBasisFunctions(c,r,t,i),f=[],m=0;m<=t;++m){f[m]=new B.Vector4(0,0,0,0);for(var p=0;p<=n;++p){var g=s[l-n+p][c-t+m].clone(),v=g.w;g.x*=v,g.y*=v,g.z*=v,f[m].add(g.multiplyScalar(h[p]))}}for(var A=new B.Vector4(0,0,0,0),m=0;m<=t;++m)A.add(f[m].multiplyScalar(u[m]));A.divideScalar(A.w),a.set(A.x,A.y,A.z)}},bs=function(n,t,e,i,s){B.Curve.call(this),this.degree=n,this.knots=t,this.controlPoints=[],this.startKnot=i||0,this.endKnot=s||this.knots.length-1;for(var o=0;o<e.length;++o){var r=e[o];this.controlPoints[o]=new B.Vector4(r.x,r.y,r.z,r.w)}};bs.prototype=Object.create(B.Curve.prototype),bs.prototype.constructor=bs,bs.prototype.getPoint=function(n,t){var e=t||new B.Vector3,i=this.knots[this.startKnot]+n*(this.knots[this.endKnot]-this.knots[this.startKnot]),s=hp.calcBSplinePoint(this.degree,this.knots,this.controlPoints,i);return s.w!=1&&s.divideScalar(s.w),e.set(s.x,s.y,s.z)},bs.prototype.getTangent=function(n,t){var e=t||new B.Vector3,i=this.knots[0]+n*(this.knots[this.knots.length-1]-this.knots[0]),s=hp.calcNURBSDerivatives(this.degree,this.knots,this.controlPoints,i,1);return e.copy(s[1]).normalize(),e};var up=function(){var n,t,e;function i(b){B.Loader.call(this,b)}i.prototype=Object.assign(Object.create(B.Loader.prototype),{constructor:i,load:function(b,C,I,M){var S=this,T=S.path===""?B.LoaderUtils.extractUrlBase(b):S.path,G=new B.FileLoader(this.manager);G.setPath(S.path),G.setResponseType("arraybuffer"),G.load(b,function(V){try{C(S.parse(V,T))}catch(J){M?M(J):console.error(J),S.manager.itemError(b)}},I,M)},parse:function(b,C){if(u(b))n=new l().parse(b);else{var I=D(b);if(!f(I))throw new Error("THREE.FBXLoader: Unknown format.");if(m(I)<7e3)throw new Error("THREE.FBXLoader: FBX version not supported, FileVersion: "+m(I));n=new a().parse(I)}var M=new B.TextureLoader(this.manager).setPath(this.resourcePath||C).setCrossOrigin(this.crossOrigin);return new s(M,this.manager).parse(n)}});function s(b,C){this.textureLoader=b,this.manager=C}s.prototype={constructor:s,parse:function(){t=this.parseConnections();var b=this.parseImages(),C=this.parseTextures(b),I=this.parseMaterials(C),M=this.parseDeformers(),S=new o().parse(M);return this.parseScene(M,S,I),e},parseConnections:function(){var b=new Map;if("Connections"in n){var C=n.Connections.connections;C.forEach(function(I){var M=I[0],S=I[1],T=I[2];b.has(M)||b.set(M,{parents:[],children:[]});var G={ID:S,relationship:T};b.get(M).parents.push(G),b.has(S)||b.set(S,{parents:[],children:[]});var V={ID:M,relationship:T};b.get(S).children.push(V)})}return b},parseImages:function(){var b={},C={};if("Video"in n.Objects){var I=n.Objects.Video;for(var M in I){var S=I[M],T=parseInt(M);if(b[T]=S.RelativeFilename||S.Filename,"Content"in S){var G=S.Content instanceof ArrayBuffer&&S.Content.byteLength>0,V=typeof S.Content=="string"&&S.Content!=="";if(G||V){var J=this.parseImage(I[M]);C[S.RelativeFilename||S.Filename]=J}}}}for(var T in b){var te=b[T];C[te]!==void 0?b[T]=C[te]:b[T]=b[T].split("\\").pop()}return b},parseImage:function(b){var C=b.Content,I=b.RelativeFilename||b.Filename,M=I.slice(I.lastIndexOf(".")+1).toLowerCase(),S;switch(M){case"bmp":S="image/bmp";break;case"jpg":case"jpeg":S="image/jpeg";break;case"png":S="image/png";break;case"tif":S="image/tiff";break;case"tga":this.manager.getHandler(".tga")===null&&console.warn("FBXLoader: TGA loader not found, skipping ",I),S="image/tga";break;default:console.warn('FBXLoader: Image type "'+M+'" is not supported.');return}if(typeof C=="string")return"data:"+S+";base64,"+C;var T=new Uint8Array(C);return window.URL.createObjectURL(new Blob([T],{type:S}))},parseTextures:function(b){var C=new Map;if("Texture"in n.Objects){var I=n.Objects.Texture;for(var M in I){var S=this.parseTexture(I[M],b);C.set(parseInt(M),S)}}return C},parseTexture:function(b,C){var I=this.loadTexture(b,C);I.ID=b.id,I.name=b.attrName;var M=b.WrapModeU,S=b.WrapModeV,T=M!==void 0?M.value:0,G=S!==void 0?S.value:0;if(I.wrapS=T===0?B.RepeatWrapping:B.ClampToEdgeWrapping,I.wrapT=G===0?B.RepeatWrapping:B.ClampToEdgeWrapping,"Scaling"in b){var V=b.Scaling.value;I.repeat.x=V[0],I.repeat.y=V[1]}return I},loadTexture:function(b,C){var I,M=this.textureLoader.path,S=t.get(b.id).children;S!==void 0&&S.length>0&&C[S[0].ID]!==void 0&&(I=C[S[0].ID],(I.indexOf("blob:")===0||I.indexOf("data:")===0)&&this.textureLoader.setPath(void 0));var T,G=b.FileName.slice(-3).toLowerCase();if(G==="tga"){var V=this.manager.getHandler(".tga");V===null?(console.warn("FBXLoader: TGA loader not found, creating placeholder texture for",b.RelativeFilename),T=new B.Texture):T=V.load(I)}else G==="psd"?(console.warn("FBXLoader: PSD textures are not supported, creating placeholder texture for",b.RelativeFilename),T=new B.Texture):T=this.textureLoader.load(I);return this.textureLoader.setPath(M),T},parseMaterials:function(b){var C=new Map;if("Material"in n.Objects){var I=n.Objects.Material;for(var M in I){var S=this.parseMaterial(I[M],b);S!==null&&C.set(parseInt(M),S)}}return C},parseMaterial:function(b,C){var I=b.id,M=b.attrName,S=b.ShadingModel;if(typeof S=="object"&&(S=S.value),!t.has(I))return null;var T=this.parseParameters(b,C,I),G;switch(S.toLowerCase()){case"phong":G=new B.MeshPhongMaterial;break;case"lambert":G=new B.MeshLambertMaterial;break;default:console.warn('THREE.FBXLoader: unknown material type "%s". Defaulting to MeshPhongMaterial.',S),G=new B.MeshPhongMaterial;break}return G.setValues(T),G.name=M,G},parseParameters:function(b,C,I){var M={};b.BumpFactor&&(M.bumpScale=b.BumpFactor.value),b.Diffuse?M.color=new B.Color().fromArray(b.Diffuse.value):b.DiffuseColor&&b.DiffuseColor.type==="Color"&&(M.color=new B.Color().fromArray(b.DiffuseColor.value)),b.DisplacementFactor&&(M.displacementScale=b.DisplacementFactor.value),b.Emissive?M.emissive=new B.Color().fromArray(b.Emissive.value):b.EmissiveColor&&b.EmissiveColor.type==="Color"&&(M.emissive=new B.Color().fromArray(b.EmissiveColor.value)),b.EmissiveFactor&&(M.emissiveIntensity=parseFloat(b.EmissiveFactor.value)),b.Opacity&&(M.opacity=parseFloat(b.Opacity.value)),M.opacity<1&&(M.transparent=!0),b.ReflectionFactor&&(M.reflectivity=b.ReflectionFactor.value),b.Shininess&&(M.shininess=b.Shininess.value),b.Specular?M.specular=new B.Color().fromArray(b.Specular.value):b.SpecularColor&&b.SpecularColor.type==="Color"&&(M.specular=new B.Color().fromArray(b.SpecularColor.value));var S=this;return t.get(I).children.forEach(function(T){var G=T.relationship;switch(G){case"Bump":M.bumpMap=S.getTexture(C,T.ID);break;case"Maya|TEX_ao_map":M.aoMap=S.getTexture(C,T.ID);break;case"DiffuseColor":case"Maya|TEX_color_map":M.map=S.getTexture(C,T.ID),M.map.encoding=B.sRGBEncoding;break;case"DisplacementColor":M.displacementMap=S.getTexture(C,T.ID);break;case"EmissiveColor":M.emissiveMap=S.getTexture(C,T.ID),M.emissiveMap.encoding=B.sRGBEncoding;break;case"NormalMap":case"Maya|TEX_normal_map":M.normalMap=S.getTexture(C,T.ID);break;case"ReflectionColor":M.envMap=S.getTexture(C,T.ID),M.envMap.mapping=B.EquirectangularReflectionMapping,M.envMap.encoding=B.sRGBEncoding;break;case"SpecularColor":M.specularMap=S.getTexture(C,T.ID),M.specularMap.encoding=B.sRGBEncoding;break;case"TransparentColor":case"TransparencyFactor":M.alphaMap=S.getTexture(C,T.ID),M.transparent=!0;break;case"AmbientColor":case"ShininessExponent":case"SpecularFactor":case"VectorDisplacementColor":default:console.warn("THREE.FBXLoader: %s map is not supported in three.js, skipping texture.",G);break}}),M},getTexture:function(b,C){return"LayeredTexture"in n.Objects&&C in n.Objects.LayeredTexture&&(console.warn("THREE.FBXLoader: layered textures are not supported in three.js. Discarding all but first layer."),C=t.get(C).children[0].ID),b.get(C)},parseDeformers:function(){var b={},C={};if("Deformer"in n.Objects){var I=n.Objects.Deformer;for(var M in I){var S=I[M],T=t.get(parseInt(M));if(S.attrType==="Skin"){var G=this.parseSkeleton(T,I);G.ID=M,T.parents.length>1&&console.warn("THREE.FBXLoader: skeleton attached to more than one geometry is not supported."),G.geometryID=T.parents[0].ID,b[M]=G}else if(S.attrType==="BlendShape"){var V={id:M};V.rawTargets=this.parseMorphTargets(T,I),V.id=M,T.parents.length>1&&console.warn("THREE.FBXLoader: morph target attached to more than one geometry is not supported."),C[M]=V}}}return{skeletons:b,morphTargets:C}},parseSkeleton:function(b,C){var I=[];return b.children.forEach(function(M){var S=C[M.ID];if(S.attrType==="Cluster"){var T={ID:M.ID,indices:[],weights:[],transformLink:new B.Matrix4().fromArray(S.TransformLink.a)};"Indexes"in S&&(T.indices=S.Indexes.a,T.weights=S.Weights.a),I.push(T)}}),{rawBones:I,bones:[]}},parseMorphTargets:function(b,C){for(var I=[],M=0;M<b.children.length;M++){var S=b.children[M],T=C[S.ID],G={name:T.attrName,initialWeight:T.DeformPercent,id:T.id,fullWeights:T.FullWeights.a};if(T.attrType!=="BlendShapeChannel")return;G.geoID=t.get(parseInt(S.ID)).children.filter(function(V){return V.relationship===void 0})[0].ID,I.push(G)}return I},parseScene:function(b,C,I){e=new B.Group;var M=this.parseModels(b.skeletons,C,I),S=n.Objects.Model,T=this;M.forEach(function(V){var J=S[V.ID];T.setLookAtProperties(V,J);var te=t.get(V.ID).parents;te.forEach(function($){var oe=M.get($.ID);oe!==void 0&&oe.add(V)}),V.parent===null&&e.add(V)}),this.bindSkeleton(b.skeletons,C,M),this.createAmbientLight(),this.setupMorphMaterials(),e.traverse(function(V){if(V.userData.transformData){V.parent&&(V.userData.transformData.parentMatrixWorld=V.parent.matrix);var J=k(V.userData.transformData);V.applyMatrix4(J)}});var G=new r().parse();e.children.length===1&&e.children[0].isGroup&&(e.children[0].animations=G,e=e.children[0]),e.animations=G},parseModels:function(b,C,I){var M=new Map,S=n.Objects.Model;for(var T in S){var G=parseInt(T),V=S[T],J=t.get(G),te=this.buildSkeleton(J,b,G,V.attrName);if(!te){switch(V.attrType){case"Camera":te=this.createCamera(J);break;case"Light":te=this.createLight(J);break;case"Mesh":te=this.createMesh(J,C,I);break;case"NurbsCurve":te=this.createCurve(J,C);break;case"LimbNode":case"Root":te=new B.Bone;break;case"Null":default:te=new B.Group;break}te.name=V.attrName?B.PropertyBinding.sanitizeNodeName(V.attrName):"",te.ID=G}this.getTransformData(te,V),M.set(G,te)}return M},buildSkeleton:function(b,C,I,M){var S=null;return b.parents.forEach(function(T){for(var G in C){var V=C[G];V.rawBones.forEach(function(J,te){if(J.ID===T.ID){var $=S;S=new B.Bone,S.matrixWorld.copy(J.transformLink),S.name=M?B.PropertyBinding.sanitizeNodeName(M):"",S.ID=I,V.bones[te]=S,$!==null&&S.add($)}})}}),S},createCamera:function(b){var C,I;if(b.children.forEach(function(oe){var ie=n.Objects.NodeAttribute[oe.ID];ie!==void 0&&(I=ie)}),I===void 0)C=new B.Object3D;else{var M=0;I.CameraProjectionType!==void 0&&I.CameraProjectionType.value===1&&(M=1);var S=1;I.NearPlane!==void 0&&(S=I.NearPlane.value/1e3);var T=1e3;I.FarPlane!==void 0&&(T=I.FarPlane.value/1e3);var G=window.innerWidth,V=window.innerHeight;I.AspectWidth!==void 0&&I.AspectHeight!==void 0&&(G=I.AspectWidth.value,V=I.AspectHeight.value);var J=G/V,te=45;I.FieldOfView!==void 0&&(te=I.FieldOfView.value);var $=I.FocalLength?I.FocalLength.value:null;switch(M){case 0:C=new B.PerspectiveCamera(te,J,S,T),$!==null&&C.setFocalLength($);break;case 1:C=new B.OrthographicCamera(-G/2,G/2,V/2,-V/2,S,T);break;default:console.warn("THREE.FBXLoader: Unknown camera type "+M+"."),C=new B.Object3D;break}}return C},createLight:function(b){var C,I;if(b.children.forEach(function($){var oe=n.Objects.NodeAttribute[$.ID];oe!==void 0&&(I=oe)}),I===void 0)C=new B.Object3D;else{var M;I.LightType===void 0?M=0:M=I.LightType.value;var S=16777215;I.Color!==void 0&&(S=new B.Color().fromArray(I.Color.value));var T=I.Intensity===void 0?1:I.Intensity.value/100;I.CastLightOnObject!==void 0&&I.CastLightOnObject.value===0&&(T=0);var G=0;I.FarAttenuationEnd!==void 0&&(I.EnableFarAttenuation!==void 0&&I.EnableFarAttenuation.value===0?G=0:G=I.FarAttenuationEnd.value);var V=1;switch(M){case 0:C=new B.PointLight(S,T,G,V);break;case 1:C=new B.DirectionalLight(S,T);break;case 2:var J=Math.PI/3;I.InnerAngle!==void 0&&(J=B.MathUtils.degToRad(I.InnerAngle.value));var te=0;I.OuterAngle!==void 0&&(te=B.MathUtils.degToRad(I.OuterAngle.value),te=Math.max(te,1)),C=new B.SpotLight(S,T,G,J,te,V);break;default:console.warn("THREE.FBXLoader: Unknown light type "+I.LightType.value+", defaulting to a PointLight."),C=new B.PointLight(S,T);break}I.CastShadows!==void 0&&I.CastShadows.value===1&&(C.castShadow=!0)}return C},createMesh:function(b,C,I){var M,S=null,T=null,G=[];return b.children.forEach(function(V){C.has(V.ID)&&(S=C.get(V.ID)),I.has(V.ID)&&G.push(I.get(V.ID))}),G.length>1?T=G:G.length>0?T=G[0]:(T=new B.MeshPhongMaterial({color:13421772}),G.push(T)),"color"in S.attributes&&G.forEach(function(V){V.vertexColors=!0}),S.FBX_Deformer?(G.forEach(function(V){V.skinning=!0}),M=new B.SkinnedMesh(S,T),M.normalizeSkinWeights()):M=new B.Mesh(S,T),M},createCurve:function(b,C){var I=b.children.reduce(function(S,T){return C.has(T.ID)&&(S=C.get(T.ID)),S},null),M=new B.LineBasicMaterial({color:3342591,linewidth:1});return new B.Line(I,M)},getTransformData:function(b,C){var I={};"InheritType"in C&&(I.inheritType=parseInt(C.InheritType.value)),"RotationOrder"in C?I.eulerOrder=E(C.RotationOrder.value):I.eulerOrder="ZYX","Lcl_Translation"in C&&(I.translation=C.Lcl_Translation.value),"PreRotation"in C&&(I.preRotation=C.PreRotation.value),"Lcl_Rotation"in C&&(I.rotation=C.Lcl_Rotation.value),"PostRotation"in C&&(I.postRotation=C.PostRotation.value),"Lcl_Scaling"in C&&(I.scale=C.Lcl_Scaling.value),"ScalingOffset"in C&&(I.scalingOffset=C.ScalingOffset.value),"ScalingPivot"in C&&(I.scalingPivot=C.ScalingPivot.value),"RotationOffset"in C&&(I.rotationOffset=C.RotationOffset.value),"RotationPivot"in C&&(I.rotationPivot=C.RotationPivot.value),b.userData.transformData=I},setLookAtProperties:function(b,C){if("LookAtProperty"in C){var I=t.get(b.ID).children;I.forEach(function(M){if(M.relationship==="LookAtProperty"){var S=n.Objects.Model[M.ID];if("Lcl_Translation"in S){var T=S.Lcl_Translation.value;b.target!==void 0?(b.target.position.fromArray(T),e.add(b.target)):b.lookAt(new B.Vector3().fromArray(T))}}})}},bindSkeleton:function(b,C,I){var M=this.parsePoseNodes();for(var S in b){var T=b[S],G=t.get(parseInt(T.ID)).parents;G.forEach(function(V){if(C.has(V.ID)){var J=V.ID,te=t.get(J);te.parents.forEach(function($){if(I.has($.ID)){var oe=I.get($.ID);oe.bind(new B.Skeleton(T.bones),M[$.ID])}})}})}},parsePoseNodes:function(){var b={};if("Pose"in n.Objects){var C=n.Objects.Pose;for(var I in C)if(C[I].attrType==="BindPose"){var M=C[I].PoseNode;Array.isArray(M)?M.forEach(function(S){b[S.Node]=new B.Matrix4().fromArray(S.Matrix.a)}):b[M.Node]=new B.Matrix4().fromArray(M.Matrix.a)}}return b},createAmbientLight:function(){if("GlobalSettings"in n&&"AmbientColor"in n.GlobalSettings){var b=n.GlobalSettings.AmbientColor.value,C=b[0],I=b[1],M=b[2];if(C!==0||I!==0||M!==0){var S=new B.Color(C,I,M);e.add(new B.AmbientLight(S,1))}}},setupMorphMaterials:function(){var b=this;e.traverse(function(C){C.isMesh&&C.geometry.morphAttributes.position&&C.geometry.morphAttributes.position.length&&(Array.isArray(C.material)?C.material.forEach(function(I,M){b.setupMorphMaterial(C,I,M)}):b.setupMorphMaterial(C,C.material))})},setupMorphMaterial:function(b,C,I){var M=b.uuid,S=C.uuid,T=!1;if(e.traverse(function(V){V.isMesh&&(Array.isArray(V.material)?V.material.forEach(function(J){J.uuid===S&&V.uuid!==M&&(T=!0)}):V.material.uuid===S&&V.uuid!==M&&(T=!0))}),T===!0){var G=C.clone();G.morphTargets=!0,I===void 0?b.material=G:b.material[I]=G}else C.morphTargets=!0}};function o(){}o.prototype={constructor:o,parse:function(b){var C=new Map;if("Geometry"in n.Objects){var I=n.Objects.Geometry;for(var M in I){var S=t.get(parseInt(M)),T=this.parseGeometry(S,I[M],b);C.set(parseInt(M),T)}}return C},parseGeometry:function(b,C,I){switch(C.attrType){case"Mesh":return this.parseMeshGeometry(b,C,I);case"NurbsCurve":return this.parseNurbsGeometry(C)}},parseMeshGeometry:function(b,C,I){var M=I.skeletons,S=[],T=b.parents.map(function($){return n.Objects.Model[$.ID]});if(T.length!==0){var G=b.children.reduce(function($,oe){return M[oe.ID]!==void 0&&($=M[oe.ID]),$},null);b.children.forEach(function($){I.morphTargets[$.ID]!==void 0&&S.push(I.morphTargets[$.ID])});var V=T[0],J={};"RotationOrder"in V&&(J.eulerOrder=E(V.RotationOrder.value)),"InheritType"in V&&(J.inheritType=parseInt(V.InheritType.value)),"GeometricTranslation"in V&&(J.translation=V.GeometricTranslation.value),"GeometricRotation"in V&&(J.rotation=V.GeometricRotation.value),"GeometricScaling"in V&&(J.scale=V.GeometricScaling.value);var te=k(J);return this.genGeometry(C,G,S,te)}},genGeometry:function(b,C,I,M){var S=new B.BufferGeometry;b.attrName&&(S.name=b.attrName);var T=this.parseGeoNode(b,C),G=this.genBuffers(T),V=new B.Float32BufferAttribute(G.vertex,3);if(V.applyMatrix4(M),S.setAttribute("position",V),G.colors.length>0&&S.setAttribute("color",new B.Float32BufferAttribute(G.colors,3)),C&&(S.setAttribute("skinIndex",new B.Uint16BufferAttribute(G.weightsIndices,4)),S.setAttribute("skinWeight",new B.Float32BufferAttribute(G.vertexWeights,4)),S.FBX_Deformer=C),G.normal.length>0){var J=new B.Matrix3().getNormalMatrix(M),te=new B.Float32BufferAttribute(G.normal,3);te.applyNormalMatrix(J),S.setAttribute("normal",te)}if(G.uvs.forEach(function(Te,ue){var Le="uv"+(ue+1).toString();ue===0&&(Le="uv"),S.setAttribute(Le,new B.Float32BufferAttribute(G.uvs[ue],2))}),T.material&&T.material.mappingType!=="AllSame"){var $=G.materialIndex[0],oe=0;if(G.materialIndex.forEach(function(Te,ue){Te!==$&&(S.addGroup(oe,ue-oe,$),$=Te,oe=ue)}),S.groups.length>0){var ie=S.groups[S.groups.length-1],ce=ie.start+ie.count;ce!==G.materialIndex.length&&S.addGroup(ce,G.materialIndex.length-ce,$)}S.groups.length===0&&S.addGroup(0,G.materialIndex.length,G.materialIndex[0])}return this.addMorphTargets(S,b,I,M),S},parseGeoNode:function(b,C){var I={};if(I.vertexPositions=b.Vertices!==void 0?b.Vertices.a:[],I.vertexIndices=b.PolygonVertexIndex!==void 0?b.PolygonVertexIndex.a:[],b.LayerElementColor&&(I.color=this.parseVertexColors(b.LayerElementColor[0])),b.LayerElementMaterial&&(I.material=this.parseMaterialIndices(b.LayerElementMaterial[0])),b.LayerElementNormal&&(I.normal=this.parseNormals(b.LayerElementNormal[0])),b.LayerElementUV){I.uv=[];for(var M=0;b.LayerElementUV[M];)I.uv.push(this.parseUVs(b.LayerElementUV[M])),M++}return I.weightTable={},C!==null&&(I.skeleton=C,C.rawBones.forEach(function(S,T){S.indices.forEach(function(G,V){I.weightTable[G]===void 0&&(I.weightTable[G]=[]),I.weightTable[G].push({id:T,weight:S.weights[V]})})})),I},genBuffers:function(b){var C={vertex:[],normal:[],colors:[],uvs:[],materialIndex:[],vertexWeights:[],weightsIndices:[]},I=0,M=0,S=!1,T=[],G=[],V=[],J=[],te=[],$=[],oe=this;return b.vertexIndices.forEach(function(ie,ce){var Te=!1;ie<0&&(ie=ie^-1,Te=!0);var ue=[],Le=[];if(T.push(ie*3,ie*3+1,ie*3+2),b.color){var ge=v(ce,I,ie,b.color);V.push(ge[0],ge[1],ge[2])}if(b.skeleton){if(b.weightTable[ie]!==void 0&&b.weightTable[ie].forEach(function(Be){Le.push(Be.weight),ue.push(Be.id)}),Le.length>4){S||(console.warn("THREE.FBXLoader: Vertex has more than 4 skinning weights assigned to vertex. Deleting additional weights."),S=!0);var he=[0,0,0,0],ze=[0,0,0,0];Le.forEach(function(Be,be){var Re=Be,pe=ue[be];ze.forEach(function(Ce,Oe,Ze){if(Re>Ce){Ze[Oe]=Re,Re=Ce;var Je=he[Oe];he[Oe]=pe,pe=Je}})}),ue=he,Le=ze}for(;Le.length<4;)Le.push(0),ue.push(0);for(var ee=0;ee<4;++ee)te.push(Le[ee]),$.push(ue[ee])}if(b.normal){var ge=v(ce,I,ie,b.normal);G.push(ge[0],ge[1],ge[2])}if(b.material&&b.material.mappingType!=="AllSame")var Se=v(ce,I,ie,b.material)[0];b.uv&&b.uv.forEach(function(Be,be){var Re=v(ce,I,ie,Be);J[be]===void 0&&(J[be]=[]),J[be].push(Re[0]),J[be].push(Re[1])}),M++,Te&&(oe.genFace(C,b,T,Se,G,V,J,te,$,M),I++,M=0,T=[],G=[],V=[],J=[],te=[],$=[])}),C},genFace:function(b,C,I,M,S,T,G,V,J,te){for(var $=2;$<te;$++)b.vertex.push(C.vertexPositions[I[0]]),b.vertex.push(C.vertexPositions[I[1]]),b.vertex.push(C.vertexPositions[I[2]]),b.vertex.push(C.vertexPositions[I[($-1)*3]]),b.vertex.push(C.vertexPositions[I[($-1)*3+1]]),b.vertex.push(C.vertexPositions[I[($-1)*3+2]]),b.vertex.push(C.vertexPositions[I[$*3]]),b.vertex.push(C.vertexPositions[I[$*3+1]]),b.vertex.push(C.vertexPositions[I[$*3+2]]),C.skeleton&&(b.vertexWeights.push(V[0]),b.vertexWeights.push(V[1]),b.vertexWeights.push(V[2]),b.vertexWeights.push(V[3]),b.vertexWeights.push(V[($-1)*4]),b.vertexWeights.push(V[($-1)*4+1]),b.vertexWeights.push(V[($-1)*4+2]),b.vertexWeights.push(V[($-1)*4+3]),b.vertexWeights.push(V[$*4]),b.vertexWeights.push(V[$*4+1]),b.vertexWeights.push(V[$*4+2]),b.vertexWeights.push(V[$*4+3]),b.weightsIndices.push(J[0]),b.weightsIndices.push(J[1]),b.weightsIndices.push(J[2]),b.weightsIndices.push(J[3]),b.weightsIndices.push(J[($-1)*4]),b.weightsIndices.push(J[($-1)*4+1]),b.weightsIndices.push(J[($-1)*4+2]),b.weightsIndices.push(J[($-1)*4+3]),b.weightsIndices.push(J[$*4]),b.weightsIndices.push(J[$*4+1]),b.weightsIndices.push(J[$*4+2]),b.weightsIndices.push(J[$*4+3])),C.color&&(b.colors.push(T[0]),b.colors.push(T[1]),b.colors.push(T[2]),b.colors.push(T[($-1)*3]),b.colors.push(T[($-1)*3+1]),b.colors.push(T[($-1)*3+2]),b.colors.push(T[$*3]),b.colors.push(T[$*3+1]),b.colors.push(T[$*3+2])),C.material&&C.material.mappingType!=="AllSame"&&(b.materialIndex.push(M),b.materialIndex.push(M),b.materialIndex.push(M)),C.normal&&(b.normal.push(S[0]),b.normal.push(S[1]),b.normal.push(S[2]),b.normal.push(S[($-1)*3]),b.normal.push(S[($-1)*3+1]),b.normal.push(S[($-1)*3+2]),b.normal.push(S[$*3]),b.normal.push(S[$*3+1]),b.normal.push(S[$*3+2])),C.uv&&C.uv.forEach(function(oe,ie){b.uvs[ie]===void 0&&(b.uvs[ie]=[]),b.uvs[ie].push(G[ie][0]),b.uvs[ie].push(G[ie][1]),b.uvs[ie].push(G[ie][($-1)*2]),b.uvs[ie].push(G[ie][($-1)*2+1]),b.uvs[ie].push(G[ie][$*2]),b.uvs[ie].push(G[ie][$*2+1])})},addMorphTargets:function(b,C,I,M){if(I.length!==0){b.morphTargetsRelative=!0,b.morphAttributes.position=[];var S=this;I.forEach(function(T){T.rawTargets.forEach(function(G){var V=n.Objects.Geometry[G.geoID];V!==void 0&&S.genMorphGeometry(b,C,V,M,G.name)})})}},genMorphGeometry:function(b,C,I,M,S){for(var T=C.PolygonVertexIndex!==void 0?C.PolygonVertexIndex.a:[],G=I.Vertices!==void 0?I.Vertices.a:[],V=I.Indexes!==void 0?I.Indexes.a:[],J=b.attributes.position.count*3,te=new Float32Array(J),$=0;$<V.length;$++){var oe=V[$]*3;te[oe]=G[$*3],te[oe+1]=G[$*3+1],te[oe+2]=G[$*3+2]}var ie={vertexIndices:T,vertexPositions:te},ce=this.genBuffers(ie),Te=new B.Float32BufferAttribute(ce.vertex,3);Te.name=S||I.attrName,Te.applyMatrix4(M),b.morphAttributes.position.push(Te)},parseNormals:function(b){var C=b.MappingInformationType,I=b.ReferenceInformationType,M=b.Normals.a,S=[];return I==="IndexToDirect"&&("NormalIndex"in b?S=b.NormalIndex.a:"NormalsIndex"in b&&(S=b.NormalsIndex.a)),{dataSize:3,buffer:M,indices:S,mappingType:C,referenceType:I}},parseUVs:function(b){var C=b.MappingInformationType,I=b.ReferenceInformationType,M=b.UV.a,S=[];return I==="IndexToDirect"&&(S=b.UVIndex.a),{dataSize:2,buffer:M,indices:S,mappingType:C,referenceType:I}},parseVertexColors:function(b){var C=b.MappingInformationType,I=b.ReferenceInformationType,M=b.Colors.a,S=[];return I==="IndexToDirect"&&(S=b.ColorIndex.a),{dataSize:4,buffer:M,indices:S,mappingType:C,referenceType:I}},parseMaterialIndices:function(b){var C=b.MappingInformationType,I=b.ReferenceInformationType;if(C==="NoMappingInformation")return{dataSize:1,buffer:[0],indices:[0],mappingType:"AllSame",referenceType:I};for(var M=b.Materials.a,S=[],T=0;T<M.length;++T)S.push(T);return{dataSize:1,buffer:M,indices:S,mappingType:C,referenceType:I}},parseNurbsGeometry:function(b){if(bs===void 0)return console.error("THREE.FBXLoader: The loader relies on NURBSCurve for any nurbs present in the model. Nurbs will show up as empty geometry."),new B.BufferGeometry;var C=parseInt(b.Order);if(isNaN(C))return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s",b.Order,b.id),new B.BufferGeometry;for(var I=C-1,M=b.KnotVector.a,S=[],T=b.Points.a,G=0,V=T.length;G<V;G+=4)S.push(new B.Vector4().fromArray(T,G));var J,te;if(b.Form==="Closed")S.push(S[0]);else if(b.Form==="Periodic"){J=I,te=M.length-1-J;for(var G=0;G<I;++G)S.push(S[G])}var $=new bs(I,M,S,J,te),oe=$.getPoints(S.length*7),ie=new Float32Array(oe.length*3);oe.forEach(function(Te,ue){Te.toArray(ie,ue*3)});var ce=new B.BufferGeometry;return ce.setAttribute("position",new B.BufferAttribute(ie,3)),ce}};function r(){}r.prototype={constructor:r,parse:function(){var b=[],C=this.parseClips();if(C!==void 0)for(var I in C){var M=C[I],S=this.addClip(M);b.push(S)}return b},parseClips:function(){if(n.Objects.AnimationCurve!==void 0){var b=this.parseAnimationCurveNodes();this.parseAnimationCurves(b);var C=this.parseAnimationLayers(b),I=this.parseAnimStacks(C);return I}},parseAnimationCurveNodes:function(){var b=n.Objects.AnimationCurveNode,C=new Map;for(var I in b){var M=b[I];if(M.attrName.match(/S|R|T|DeformPercent/)!==null){var S={id:M.id,attr:M.attrName,curves:{}};C.set(S.id,S)}}return C},parseAnimationCurves:function(b){var C=n.Objects.AnimationCurve;for(var I in C){var M={id:C[I].id,times:C[I].KeyTime.a.map(p),values:C[I].KeyValueFloat.a},S=t.get(M.id);if(S!==void 0){var T=S.parents[0].ID,G=S.parents[0].relationship;G.match(/X/)?b.get(T).curves.x=M:G.match(/Y/)?b.get(T).curves.y=M:G.match(/Z/)?b.get(T).curves.z=M:G.match(/d|DeformPercent/)&&b.has(T)&&(b.get(T).curves.morph=M)}}},parseAnimationLayers:function(b){var C=n.Objects.AnimationLayer,I=new Map;for(var M in C){var S=[],T=t.get(parseInt(M));if(T!==void 0){var G=T.children;G.forEach(function(V,J){if(b.has(V.ID)){var te=b.get(V.ID);if(te.curves.x!==void 0||te.curves.y!==void 0||te.curves.z!==void 0){if(S[J]===void 0){var $=t.get(V.ID).parents.filter(function(Le){return Le.relationship!==void 0})[0].ID;if($!==void 0){var oe=n.Objects.Model[$.toString()];if(oe===void 0){console.warn("THREE.FBXLoader: Encountered a unused curve.",V);return}var ie={modelName:oe.attrName?B.PropertyBinding.sanitizeNodeName(oe.attrName):"",ID:oe.id,initialPosition:[0,0,0],initialRotation:[0,0,0],initialScale:[1,1,1]};e.traverse(function(Le){Le.ID===oe.id&&(ie.transform=Le.matrix,Le.userData.transformData&&(ie.eulerOrder=Le.userData.transformData.eulerOrder))}),ie.transform||(ie.transform=new B.Matrix4),"PreRotation"in oe&&(ie.preRotation=oe.PreRotation.value),"PostRotation"in oe&&(ie.postRotation=oe.PostRotation.value),S[J]=ie}}S[J]&&(S[J][te.attr]=te)}else if(te.curves.morph!==void 0){if(S[J]===void 0){var ce=t.get(V.ID).parents.filter(function(ze){return ze.relationship!==void 0})[0].ID,Te=t.get(ce).parents[0].ID,ue=t.get(Te).parents[0].ID,$=t.get(ue).parents[0].ID,oe=n.Objects.Model[$],ie={modelName:oe.attrName?B.PropertyBinding.sanitizeNodeName(oe.attrName):"",morphName:n.Objects.Deformer[ce].attrName};S[J]=ie}S[J][te.attr]=te}}}),I.set(parseInt(M),S)}}return I},parseAnimStacks:function(b){var C=n.Objects.AnimationStack,I={};for(var M in C){var S=t.get(parseInt(M)).children;S.length>1&&console.warn("THREE.FBXLoader: Encountered an animation stack with multiple layers, this is currently not supported. Ignoring subsequent layers.");var T=b.get(S[0].ID);I[M]={name:C[M].attrName,layer:T}}return I},addClip:function(b){var C=[],I=this;return b.layer.forEach(function(M){C=C.concat(I.generateTracks(M))}),new B.AnimationClip(b.name,-1,C)},generateTracks:function(b){var C=[],I=new B.Vector3,M=new B.Quaternion,S=new B.Vector3;if(b.transform&&b.transform.decompose(I,M,S),I=I.toArray(),M=new B.Euler().setFromQuaternion(M,b.eulerOrder).toArray(),S=S.toArray(),b.T!==void 0&&Object.keys(b.T.curves).length>0){var T=this.generateVectorTrack(b.modelName,b.T.curves,I,"position");T!==void 0&&C.push(T)}if(b.R!==void 0&&Object.keys(b.R.curves).length>0){var G=this.generateRotationTrack(b.modelName,b.R.curves,M,b.preRotation,b.postRotation,b.eulerOrder);G!==void 0&&C.push(G)}if(b.S!==void 0&&Object.keys(b.S.curves).length>0){var V=this.generateVectorTrack(b.modelName,b.S.curves,S,"scale");V!==void 0&&C.push(V)}if(b.DeformPercent!==void 0){var J=this.generateMorphTrack(b);J!==void 0&&C.push(J)}return C},generateVectorTrack:function(b,C,I,M){var S=this.getTimesForAllAxes(C),T=this.getKeyframeTrackValues(S,C,I);return new B.VectorKeyframeTrack(b+"."+M,S,T)},generateRotationTrack:function(b,C,I,M,S,T){C.x!==void 0&&(this.interpolateRotations(C.x),C.x.values=C.x.values.map(B.MathUtils.degToRad)),C.y!==void 0&&(this.interpolateRotations(C.y),C.y.values=C.y.values.map(B.MathUtils.degToRad)),C.z!==void 0&&(this.interpolateRotations(C.z),C.z.values=C.z.values.map(B.MathUtils.degToRad));var G=this.getTimesForAllAxes(C),V=this.getKeyframeTrackValues(G,C,I);M!==void 0&&(M=M.map(B.MathUtils.degToRad),M.push(T),M=new B.Euler().fromArray(M),M=new B.Quaternion().setFromEuler(M)),S!==void 0&&(S=S.map(B.MathUtils.degToRad),S.push(T),S=new B.Euler().fromArray(S),S=new B.Quaternion().setFromEuler(S).inverse());for(var J=new B.Quaternion,te=new B.Euler,$=[],oe=0;oe<V.length;oe+=3)te.set(V[oe],V[oe+1],V[oe+2],T),J.setFromEuler(te),M!==void 0&&J.premultiply(M),S!==void 0&&J.multiply(S),J.toArray($,oe/3*4);return new B.QuaternionKeyframeTrack(b+".quaternion",G,$)},generateMorphTrack:function(b){var C=b.DeformPercent.curves.morph,I=C.values.map(function(S){return S/100}),M=e.getObjectByName(b.modelName).morphTargetDictionary[b.morphName];return new B.NumberKeyframeTrack(b.modelName+".morphTargetInfluences["+M+"]",C.times,I)},getTimesForAllAxes:function(b){var C=[];return b.x!==void 0&&(C=C.concat(b.x.times)),b.y!==void 0&&(C=C.concat(b.y.times)),b.z!==void 0&&(C=C.concat(b.z.times)),C=C.sort(function(I,M){return I-M}).filter(function(I,M,S){return S.indexOf(I)==M}),C},getKeyframeTrackValues:function(b,C,I){var M=I,S=[],T=-1,G=-1,V=-1;return b.forEach(function(J){if(C.x&&(T=C.x.times.indexOf(J)),C.y&&(G=C.y.times.indexOf(J)),C.z&&(V=C.z.times.indexOf(J)),T!==-1){var te=C.x.values[T];S.push(te),M[0]=te}else S.push(M[0]);if(G!==-1){var $=C.y.values[G];S.push($),M[1]=$}else S.push(M[1]);if(V!==-1){var oe=C.z.values[V];S.push(oe),M[2]=oe}else S.push(M[2])}),S},interpolateRotations:function(b){for(var C=1;C<b.values.length;C++){var I=b.values[C-1],M=b.values[C]-I,S=Math.abs(M);if(S>=180){for(var T=S/180,G=M/T,V=I+G,J=b.times[C-1],te=b.times[C]-J,$=te/T,oe=J+$,ie=[],ce=[];oe<b.times[C];)ie.push(oe),oe+=$,ce.push(V),V+=G;b.times=_(b.times,C,ie),b.values=_(b.values,C,ce)}}}};function a(){}a.prototype={constructor:a,getPrevNode:function(){return this.nodeStack[this.currentIndent-2]},getCurrentNode:function(){return this.nodeStack[this.currentIndent-1]},getCurrentProp:function(){return this.currentProp},pushStack:function(b){this.nodeStack.push(b),this.currentIndent+=1},popStack:function(){this.nodeStack.pop(),this.currentIndent-=1},setCurrentProp:function(b,C){this.currentProp=b,this.currentPropName=C},parse:function(b){this.currentIndent=0,this.allNodes=new h,this.nodeStack=[],this.currentProp=[],this.currentPropName="";var C=this,I=b.split(/[\r\n]+/);return I.forEach(function(M,S){var T=M.match(/^[\s\t]*;/),G=M.match(/^[\s\t]*$/);if(!(T||G)){var V=M.match("^\\t{"+C.currentIndent+"}(\\w+):(.*){",""),J=M.match("^\\t{"+C.currentIndent+"}(\\w+):[\\s\\t\\r\\n](.*)"),te=M.match("^\\t{"+(C.currentIndent-1)+"}}");V?C.parseNodeBegin(M,V):J?C.parseNodeProperty(M,J,I[++S]):te?C.popStack():M.match(/^[^\s\t}]/)&&C.parseNodePropertyContinued(M)}}),this.allNodes},parseNodeBegin:function(b,C){var I=C[1].trim().replace(/^"/,"").replace(/"$/,""),M=C[2].split(",").map(function(V){return V.trim().replace(/^"/,"").replace(/"$/,"")}),S={name:I},T=this.parseNodeAttr(M),G=this.getCurrentNode();this.currentIndent===0?this.allNodes.add(I,S):I in G?(I==="PoseNode"?G.PoseNode.push(S):G[I].id!==void 0&&(G[I]={},G[I][G[I].id]=G[I]),T.id!==""&&(G[I][T.id]=S)):typeof T.id=="number"?(G[I]={},G[I][T.id]=S):I!=="Properties70"&&(I==="PoseNode"?G[I]=[S]:G[I]=S),typeof T.id=="number"&&(S.id=T.id),T.name!==""&&(S.attrName=T.name),T.type!==""&&(S.attrType=T.type),this.pushStack(S)},parseNodeAttr:function(b){var C=b[0];b[0]!==""&&(C=parseInt(b[0]),isNaN(C)&&(C=b[0]));var I="",M="";return b.length>1&&(I=b[1].replace(/^(\w+)::/,""),M=b[2]),{id:C,name:I,type:M}},parseNodeProperty:function(b,C,I){var M=C[1].replace(/^"/,"").replace(/"$/,"").trim(),S=C[2].replace(/^"/,"").replace(/"$/,"").trim();M==="Content"&&S===","&&(S=I.replace(/"/g,"").replace(/,$/,"").trim());var T=this.getCurrentNode(),G=T.name;if(G==="Properties70"){this.parseNodeSpecialProperty(b,M,S);return}if(M==="C"){var V=S.split(",").slice(1),J=parseInt(V[0]),te=parseInt(V[1]),$=S.split(",").slice(3);$=$.map(function(oe){return oe.trim().replace(/^"/,"")}),M="connections",S=[J,te],F(S,$),T[M]===void 0&&(T[M]=[])}M==="Node"&&(T.id=S),M in T&&Array.isArray(T[M])?T[M].push(S):M!=="a"?T[M]=S:T.a=S,this.setCurrentProp(T,M),M==="a"&&S.slice(-1)!==","&&(T.a=L(S))},parseNodePropertyContinued:function(b){var C=this.getCurrentNode();C.a+=b,b.slice(-1)!==","&&(C.a=L(C.a))},parseNodeSpecialProperty:function(b,C,I){var M=I.split('",').map(function(te){return te.trim().replace(/^\"/,"").replace(/\s/,"_")}),S=M[0],T=M[1],G=M[2],V=M[3],J=M[4];switch(T){case"int":case"enum":case"bool":case"ULongLong":case"double":case"Number":case"FieldOfView":J=parseFloat(J);break;case"Color":case"ColorRGB":case"Vector3D":case"Lcl_Translation":case"Lcl_Rotation":case"Lcl_Scaling":J=L(J);break}this.getPrevNode()[S]={type:T,type2:G,flag:V,value:J},this.setCurrentProp(this.getPrevNode(),S)}};function l(){}l.prototype={constructor:l,parse:function(b){var C=new c(b);C.skip(23);var I=C.getUint32();console.info("THREE.FBXLoader: FBX binary version: "+I);for(var M=new h;!this.endOfContent(C);){var S=this.parseNode(C,I);S!==null&&M.add(S.name,S)}return M},endOfContent:function(b){return b.size()%16===0?(b.getOffset()+160+16&-16)>=b.size():b.getOffset()+160+16>=b.size()},parseNode:function(b,C){var I={},M=C>=7500?b.getUint64():b.getUint32(),S=C>=7500?b.getUint64():b.getUint32();C>=7500?b.getUint64():b.getUint32();var T=b.getUint8(),G=b.getString(T);if(M===0)return null;for(var V=[],J=0;J<S;J++)V.push(this.parseProperty(b));var te=V.length>0?V[0]:"",$=V.length>1?V[1]:"",oe=V.length>2?V[2]:"";for(I.singleProperty=S===1&&b.getOffset()===M;M>b.getOffset();){var ie=this.parseNode(b,C);ie!==null&&this.parseSubNode(G,I,ie)}return I.propertyList=V,typeof te=="number"&&(I.id=te),$!==""&&(I.attrName=$),oe!==""&&(I.attrType=oe),G!==""&&(I.name=G),I},parseSubNode:function(b,C,I){if(I.singleProperty===!0){var M=I.propertyList[0];Array.isArray(M)?(C[I.name]=I,I.a=M):C[I.name]=M}else if(b==="Connections"&&I.name==="C"){var S=[];I.propertyList.forEach(function(oe,ie){ie!==0&&S.push(oe)}),C.connections===void 0&&(C.connections=[]),C.connections.push(S)}else if(I.name==="Properties70"){var T=Object.keys(I);T.forEach(function(oe){C[oe]=I[oe]})}else if(b==="Properties70"&&I.name==="P"){var G=I.propertyList[0],V=I.propertyList[1],J=I.propertyList[2],te=I.propertyList[3],$;G.indexOf("Lcl ")===0&&(G=G.replace("Lcl ","Lcl_")),V.indexOf("Lcl ")===0&&(V=V.replace("Lcl ","Lcl_")),V==="Color"||V==="ColorRGB"||V==="Vector"||V==="Vector3D"||V.indexOf("Lcl_")===0?$=[I.propertyList[4],I.propertyList[5],I.propertyList[6]]:$=I.propertyList[4],C[G]={type:V,type2:J,flag:te,value:$}}else C[I.name]===void 0?typeof I.id=="number"?(C[I.name]={},C[I.name][I.id]=I):C[I.name]=I:I.name==="PoseNode"?(Array.isArray(C[I.name])||(C[I.name]=[C[I.name]]),C[I.name].push(I)):C[I.name][I.id]===void 0&&(C[I.name][I.id]=I)},parseProperty:function(b){var C=b.getString(1);switch(C){case"C":return b.getBoolean();case"D":return b.getFloat64();case"F":return b.getFloat32();case"I":return b.getInt32();case"L":return b.getInt64();case"R":var I=b.getUint32();return b.getArrayBuffer(I);case"S":var I=b.getUint32();return b.getString(I);case"Y":return b.getInt16();case"b":case"c":case"d":case"f":case"i":case"l":var M=b.getUint32(),S=b.getUint32(),T=b.getUint32();if(S===0)switch(C){case"b":case"c":return b.getBooleanArray(M);case"d":return b.getFloat64Array(M);case"f":return b.getFloat32Array(M);case"i":return b.getInt32Array(M);case"l":return b.getInt64Array(M)}typeof cp=="undefined"&&console.error("THREE.FBXLoader: External library Inflate.min.js required, obtain or import from https://github.com/imaya/zlib.js");var G=new cp.Inflate(new Uint8Array(b.getArrayBuffer(T))),V=new c(G.decompress().buffer);switch(C){case"b":case"c":return V.getBooleanArray(M);case"d":return V.getFloat64Array(M);case"f":return V.getFloat32Array(M);case"i":return V.getInt32Array(M);case"l":return V.getInt64Array(M)}default:throw new Error("THREE.FBXLoader: Unknown property type "+C)}}};function c(b,C){this.dv=new DataView(b),this.offset=0,this.littleEndian=C!==void 0?C:!0}c.prototype={constructor:c,getOffset:function(){return this.offset},size:function(){return this.dv.buffer.byteLength},skip:function(b){this.offset+=b},getBoolean:function(){return(this.getUint8()&1)===1},getBooleanArray:function(b){for(var C=[],I=0;I<b;I++)C.push(this.getBoolean());return C},getUint8:function(){var b=this.dv.getUint8(this.offset);return this.offset+=1,b},getInt16:function(){var b=this.dv.getInt16(this.offset,this.littleEndian);return this.offset+=2,b},getInt32:function(){var b=this.dv.getInt32(this.offset,this.littleEndian);return this.offset+=4,b},getInt32Array:function(b){for(var C=[],I=0;I<b;I++)C.push(this.getInt32());return C},getUint32:function(){var b=this.dv.getUint32(this.offset,this.littleEndian);return this.offset+=4,b},getInt64:function(){var b,C;return this.littleEndian?(b=this.getUint32(),C=this.getUint32()):(C=this.getUint32(),b=this.getUint32()),C&2147483648?(C=~C&4294967295,b=~b&4294967295,b===4294967295&&(C=C+1&4294967295),b=b+1&4294967295,-(C*4294967296+b)):C*4294967296+b},getInt64Array:function(b){for(var C=[],I=0;I<b;I++)C.push(this.getInt64());return C},getUint64:function(){var b,C;return this.littleEndian?(b=this.getUint32(),C=this.getUint32()):(C=this.getUint32(),b=this.getUint32()),C*4294967296+b},getFloat32:function(){var b=this.dv.getFloat32(this.offset,this.littleEndian);return this.offset+=4,b},getFloat32Array:function(b){for(var C=[],I=0;I<b;I++)C.push(this.getFloat32());return C},getFloat64:function(){var b=this.dv.getFloat64(this.offset,this.littleEndian);return this.offset+=8,b},getFloat64Array:function(b){for(var C=[],I=0;I<b;I++)C.push(this.getFloat64());return C},getArrayBuffer:function(b){var C=this.dv.buffer.slice(this.offset,this.offset+b);return this.offset+=b,C},getString:function(b){for(var C=[],I=0;I<b;I++)C[I]=this.getUint8();var M=C.indexOf(0);return M>=0&&(C=C.slice(0,M)),B.LoaderUtils.decodeText(new Uint8Array(C))}};function h(){}h.prototype={constructor:h,add:function(b,C){this[b]=C}};function u(b){var C="Kaydara FBX Binary \0";return b.byteLength>=C.length&&C===D(b,0,C.length)}function f(b){var C=["K","a","y","d","a","r","a","\\","F","B","X","\\","B","i","n","a","r","y","\\","\\"],I=0;function M(G){var V=b[G-1];return b=b.slice(I+G),I++,V}for(var S=0;S<C.length;++S){var T=M(1);if(T===C[S])return!1}return!0}function m(b){var C=/FBXVersion: (\d+)/,I=b.match(C);if(I){var M=parseInt(I[1]);return M}throw new Error("THREE.FBXLoader: Cannot find the version number for the file given.")}function p(b){return b/46186158e3}var g=[];function v(b,C,I,M){var S;switch(M.mappingType){case"ByPolygonVertex":S=b;break;case"ByPolygon":S=C;break;case"ByVertice":S=I;break;case"AllSame":S=M.indices[0];break;default:console.warn("THREE.FBXLoader: unknown attribute mapping type "+M.mappingType)}M.referenceType==="IndexToDirect"&&(S=M.indices[S]);var T=S*M.dataSize,G=T+M.dataSize;return z(g,M.buffer,T,G)}var A=new B.Euler,w=new B.Vector3;function k(b){var C=new B.Matrix4,I=new B.Matrix4,M=new B.Matrix4,S=new B.Matrix4,T=new B.Matrix4,G=new B.Matrix4,V=new B.Matrix4,J=new B.Matrix4,te=new B.Matrix4,$=new B.Matrix4,oe=new B.Matrix4,ie=b.inheritType?b.inheritType:0;if(b.translation&&C.setPosition(w.fromArray(b.translation)),b.preRotation){var ce=b.preRotation.map(B.MathUtils.degToRad);ce.push(b.eulerOrder),I.makeRotationFromEuler(A.fromArray(ce))}if(b.rotation){var ce=b.rotation.map(B.MathUtils.degToRad);ce.push(b.eulerOrder),M.makeRotationFromEuler(A.fromArray(ce))}if(b.postRotation){var ce=b.postRotation.map(B.MathUtils.degToRad);ce.push(b.eulerOrder),S.makeRotationFromEuler(A.fromArray(ce))}b.scale&&T.scale(w.fromArray(b.scale)),b.scalingOffset&&V.setPosition(w.fromArray(b.scalingOffset)),b.scalingPivot&&G.setPosition(w.fromArray(b.scalingPivot)),b.rotationOffset&&J.setPosition(w.fromArray(b.rotationOffset)),b.rotationPivot&&te.setPosition(w.fromArray(b.rotationPivot)),b.parentMatrixWorld&&($=b.parentMatrixWorld);var Te=I.multiply(M).multiply(S),ue=new B.Matrix4;$.extractRotation(ue);var Le=new B.Matrix4;Le.copyPosition($);var ge=new B.Matrix4;ge.getInverse(ue).multiply($);var he=new B.Matrix4;if(ie===0)he.copy(ue).multiply(Te).multiply(ge).multiply(T);else if(ie===1)he.copy(ue).multiply(ge).multiply(Te).multiply(T);else{var ze=new B.Matrix4().getInverse(T),ee=new B.Matrix4().multiply(ge).multiply(ze);he.copy(ue).multiply(Te).multiply(ee).multiply(T)}var Se=new B.Matrix4().getInverse(te),Be=new B.Matrix4().getInverse(G),be=new B.Matrix4;be.copy(C).multiply(J).multiply(te).multiply(I).multiply(M).multiply(S).multiply(Se).multiply(V).multiply(G).multiply(T).multiply(Be);var Re=new B.Matrix4().copyPosition(be),pe=new B.Matrix4().copy($).multiply(Re);return oe.copyPosition(pe),be=new B.Matrix4().multiply(oe).multiply(he),be}function E(b){b=b||0;var C=["ZYX","YZX","XZY","ZXY","YXZ","XYZ"];return b===6?(console.warn("THREE.FBXLoader: unsupported Euler Order: Spherical XYZ. Animations and rotations may be incorrect."),C[0]):C[b]}function L(b){var C=b.split(",").map(function(I){return parseFloat(I)});return C}function D(b,C,I){return C===void 0&&(C=0),I===void 0&&(I=b.byteLength),B.LoaderUtils.decodeText(new Uint8Array(b,C,I))}function F(b,C){for(var I=0,M=b.length,S=C.length;I<S;I++,M++)b[M]=C[I]}function z(b,C,I,M){for(var S=I,T=0;S<M;S++,T++)b[T]=C[S];return b}function _(b,C,I){return b.slice(0,C).concat(I).concat(b.slice(C))}return i}();const Z2=(n,t)=>{var g;const e=t.fbx_url||"//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX",i=(g=t.north_rad)!=null?g: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=v=>ne(this,null,function*(){var E;const A=(v==null?void 0:v.fbx_url)||e;if(l=(E=v==null?void 0:v.north_rad)!=null?E:i,typeof l!="number")throw new Error('"northRad"配置参数缺失:未配置指南针指向!');const k=yield new up().loadAsync(A);return Zf(k,{transparent:!0,side:P.DoubleSide,blending:P.AdditiveBlending}),s.object=k,p(),!0}),h=({latitude:v})=>{if(!s.object)return;const A=u(v);A&&(s.object.position.y=A)},u=v=>{if(s.yBase===void 0)return;const A=.6;if(v>=Math.PI/4)return s.yBase-(A+1.6);const w=v*(4/Math.PI);return s.yBase-(A*w+1.6)},f=()=>{if(!s.object)return;const v=u(n.getPose().latitude);v&&(s.object.position.y=v),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 v=s.object;if(!v)return;const A=n.model.bounding,w=A.max.x-A.min.x,k=A.max.z-A.min.z,E=Math.max(w,k),{max:{x:L,z:D},min:{x:F,y:z,z:_}}=A;s.yBase=z,o={x:(L+F)/2,y:z-1.6,z:(D+_)/2},r=[0,l-Math.PI/2,0],a=.0045*E,U2(v,{position:o,rotation:r,scale:a})}return{load:c,disable:m,enable:f}};function q2(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 B.CanvasTexture(a)}const J2=({x:n,y:t,z:e})=>new B.Vector3(n,t,e),K2=(n,t)=>{var g,v,A;const e={},i=(g=t.animationEnabled)!=null?g:!0,s=(v=t.position)!=null?v: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=>ne(this,null,function*(){var b,C,I,M,S,T,G,V;const k=(b=w==null?void 0:w.position)!=null?b:s;if(!k)return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));const E=J2(k),L=(C=w==null?void 0:w.rad)!=null?C:o,D=(I=w==null?void 0:w.fbx_url)!=null?I:r;if(e.rad=L,L===void 0)return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${L}`));const F=yield new up().loadAsync(D);F.position.copy(E),F.rotation.z=L,F.scale.set(.8,.8,.8),Zf(F,{transparent:!0,side:P.DoubleSide});const z=(G=(T=(S=(M=F.children)==null?void 0:M[0])==null?void 0:S.children)==null?void 0:T[3])==null?void 0:G.clone();if(!z)return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${z}`));const _=(V=t.name)!=null?V:"入户门";return z.material=new B.MeshBasicMaterial({transparent:!0,map:q2(_)}),z.renderOrder=3,F.children[0].add(z),e.object=F,!0}),c=()=>{if(e.animation)return;if(!e.object)return console.error("ModelEntryDoorGuidePlugin.initAnimation(): state.object is ",e.object);const w=1,k=new B.AnimationMixer(e.object);a.push(k);const E=k.clipAction(e.object.animations[0]);E.timeScale=w;let L;const D=()=>{let b=0,C=0;const I=1e3/30,M=S=>{b=requestAnimationFrame(M);const T=S-C;T<I||(C=S,a.forEach(G=>G.update(T/1e3)),n.needsRender=!0)};return b=requestAnimationFrame(M),()=>{cancelAnimationFrame(b)}},_={play:()=>{L||(E.play(),L=D(),requestAnimationFrame(()=>{e.object&&e.object.rotation.z!==e.rad&&(e.object.rotation.z=e.rad)}))},stop:()=>{E.stop(),L==null||L(),L=void 0}};e.animation=_},h=w=>{var E;if(!e.object)return console.error("ModelEntryDoorGuidePlugin.enable(): object is ",e.object);((E=w==null?void 0:w.animationEnable)!=null?E: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)}},$2=Ti;function e3(n,t,e,i=$2.Linear.None){const s=new Yr(n).to(t,e).easing(i);er(()=>s.start(0));const o=$s(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 t3(n,t){return e3({progress:0},{progress:1},n,t)}var dp=(n=>(n.Move="Move",n.Rotate="Rotate",n))(dp||{}),Xi=(n=>(n.Clockwise="Clockwise",n.Anticlockwise="Anticlockwise",n.Loop="Loop",n))(Xi||{});const Va=Math.PI*2;function fp(n){return(n%Va+Va)%Va}function pp(n){return n%Va}function Gc(n,t,e){return n+(t-n)*e}const Wc=(n,t,e)=>{const i=Math.PI,s=i*2;let o=fp(n),r=fp(t);return e===Xi.Anticlockwise&&o<r&&(o+=s),e===Xi.Clockwise&&r<o&&(r+=s),e===Xi.Loop&&r-o>i?Wc(o,r,Xi.Anticlockwise):e===Xi.Loop&&o-r>i?Wc(o,r,Xi.Clockwise):{from:o,to:r}},i3=n=>{const t={},e=(l,c,...h)=>ne(this,[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,H({duration:r,moveEndCallback:()=>u(!0),moveCancelCallback:()=>f(new Error("move canceled"))},o)):f(new Error("unexpected error"))})}),i=o=>{const r=n.state,a=pp(r.latitude),l=pp(o.latitude),{from:c,to:h}=Wc(r.longitude,o.longitude,o.rotation||Xi.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)=>ne(this,[l,c,...h],function*(o,r,a={}){t.interruptCallback&&t.interruptCallback(!1),a.asyncStartCallback&&(yield a.asyncStartCallback()),n.currentMode!==Ye.Five.Mode.Panorama&&(yield n.changeMode(Ye.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:k})=>{const E={};E.longitude=Gc(u.longitude,f.longitude,k),E.latitude=Gc(u.latitude,f.latitude,k),E.fov=Gc(u.fov,f.fov,k),n.setState(E,!0)},g=()=>{m(!0)},v=()=>{m(!1)},A=o.rotateSpeed?Math.ceil(Math.abs(f.longitude-u.longitude)/o.rotateSpeed*1e3):r,w=t3(A,Ti.Linear.None).onUpdate(p).onComplete(g).onDestroy(v);o.rotation===Xi.Loop&&w.repeat(1/0).yoyo(!0),t.interruptCallback=(k=!0)=>{w.destroy(),t.interruptCallback=void 0,t.timeoutId&&(clearTimeout(t.timeoutId),t.timeoutId=void 0),m(k)},t.timeoutId=setTimeout(()=>{t.interruptCallback&&t.interruptCallback(!0)},r)})})}};function gp(n,t){return n.x===t.x&&n.y===t.y}function mp(n,t){return Math.abs(n)===1/0&&Math.abs(t)===1/0?!0:Math.abs(n-t)<.001}function Ba(n,t){return(t.y-n.y)/(t.x-n.x)}function vp(n,t,e){const i=Ba(n[1],n[0]),s=Ba(t[1],t[0]);if(isNaN(i)||isNaN(s)||mp(i,s))return!1;if(_a(n[0],t))return n[0];if(_a(n[1],t))return n[1];if(_a(t[0],n))return t[0];if(_a(t[1],n))return t[1];if(e&&!s3(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 _a(n,t){return gp(n,t[0])||gp(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&&mp(Ba(t[0],n),Ba(n,t[1]))}function n3(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 Ra(n,t,e){return(n.x-e.x)*(t.y-e.y)-(t.x-e.x)*(n.y-e.y)}function s3(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)&&Ra(t[0],n[1],n[0])*Ra(n[1],t[1],n[0])>0&&Ra(n[0],t[1],t[0])*Ra(t[1],n[1],t[0])>0?1:0}function Ap(n,t=0){t<=0?requestAnimationFrame(n):requestAnimationFrame(()=>Ap(n,t-1))}const o3=`<style type="text/css">
509
509
  .PanoRulerPlugin-rule-line {
510
510
  position: absolute;
511
511
  transform-origin: left center;
@@ -650,7 +650,7 @@ void main() {
650
650
  `,Bp="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTciIGhlaWdodD0iMjUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIxMC43MDYlIiB5MT0iNDIuNzQ0JSIgeDI9Ijg5LjA2NCUiIHkyPSI1Ny4yMDglIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNv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TkSuQmCC";class Jc{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(${uP})`});d(this,"unHover",()=>{this.content.style.backgroundImage=`url(${Bp})`});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(${Bp})`,this.content.innerHTML=`
651
651
  ${hP}
652
652
  <span>${(o=(s=e.i18n)==null?void 0:s.call(e,"删除"))!=null?o:"删除"}</span>
653
- `,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]),v=-((r[1]+r[0])/2-1)/2*c.clientHeight;Math.abs(p)>.4&&(f=h+57,m=v)}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 Kc(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||dP(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 B.Vector2(c,h)}function dP(n,t){return n.x===t.x&&n.y===t.y}const _p=()=>!1;class Un extends Ga{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",$r(e=>{e&&(this.currentMeasureType==="area"&&typeof e.isAdsorbed=="boolean"&&(e.isAdsorbed?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 bi(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 bi(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 P.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 g=u.point,v=this.lastPoint.position.clone().sub(g);f.pointSelectorHelper.updateWithIntersect(u,{emitEvent:!1});const A=new P.Line3(m.localToWorld(new P.Vector3(1,0,0)).add(v),m.localToWorld(new P.Vector3(-1,0,0)).add(v)),w=new P.Line3(m.localToWorld(new P.Vector3(0,1,0)).add(v),m.localToWorld(new P.Vector3(0,-1,0)).add(v)),k=A.closestPointToPoint(g,!1,new P.Vector3),E=w.closestPointToPoint(g,!1,new P.Vector3);return[k,E]}return[]};if(this.pointSelector.setAdherePoints(o),this.currentMeasureType==="line"){if(i&&s){const u=new Ps(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(He)});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=Yc({start:e,end:i},r),l=Yc({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 g,v;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=(v=(g=i[0])==null?void 0:g.object)==null?void 0:v.parent;if(s!=null&&s.isPolygonMesh){const A=this.model.areas.find(w=>w.polygon===s);if(A){const{x:w,y:k}=i[0].point.clone().project(this.five.camera),E=`${(w+1)/2*100}%`,L=`${(-k+1)/2*100}%`;return this.chooseArea(A,{left:E,top:L}),!1}}const[o]=fi(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 B.Vector2(a.x*l,a.y*c),u=this.model.getAllLines().map(A=>{const[w,k]=A.points,E=w.position.clone().project(r),L=k.position.clone().project(r);if(!ws(E)&&!ws(L))return null;const D=new B.Vector2(E.x*l,E.y*c),F=new B.Vector2(L.x*l,L.y*c);return{id:A.id,points:[D,F]}}).filter(A=>!!A);if(u.length===0)return;const m=u.map(A=>{const w=Kc(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 Jc(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 oa(this.five,de(H({},this.pointSelectorConfig),{mode:this.editParams.pointSelectorMode,helper:H({magnifierParams:this.magnifierParams,container:this.container},this.pointSelectorConfig.helper)})),this.pointSelector.enable(),this.polyline=new Cs({model:this.model}),this.area=new qc(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",_p),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",_p),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 qc(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 Cs({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 Rp extends Ga{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 Go(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 fP(n,t){const e=(n.x+1)/2*t.width,i=-(n.y-1)/2*t.height;return new B.Vector2(e,i)}function pP(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 ws(l)?{distance:fP(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 Fp(n){const{x:t,y:e}=n.center,{clientWidth:i,clientHeight:s}=n.target,o=n.target.getBoundingClientRect(),r=new B.Vector2(t,e).sub(new B.Vector2(o.left,o.top)),a=new B.Vector2(r.x/i*2-1,-(r.y/s)*2+1);return{point:r,ndcPoint:a}}const Np=()=>!1;class Hp extends Ga{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=Fp(e).point,s=(l=pP(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=Fp(e).ndcPoint,s=new B.Raycaster;s.setFromCamera(i,this.five.camera);const[o]=fi(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 v;const i=this.model.areas.map(A=>e.intersectObject(A.polygon,!0)[0]).sort((A,w)=>A.distance-w.distance),s=(v=i[0])==null?void 0:v.object.parent;if(s instanceof Op){const A=this.model.areas.find(w=>w.polygon===s);if(A){const{x:w,y:k}=i[0].point.clone().project(this.five.camera),E=`${(w+1)/2*100}%`,L=`${(-k+1)/2*100}%`;return this.chooseArea(A,{left:E,top:L}),!1}}const o=fi(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 B.Vector2(l.x*c,l.y*h),f=this.model.getAllLines().map(A=>{const[w,k]=A.points,E=w.position.clone().project(a),L=k.position.clone().project(a);if(!ws(E)&&!ws(L))return null;const D=new B.Vector2(E.x*c,E.y*h),F=new B.Vector2(L.x*c,L.y*h);return{id:A.id,points:[D,F]}}).filter(A=>!!A);if(f.length===0)return;const p=f.map(A=>{const w=Kc(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 g=this.model.getAllLines().find(({id:A})=>A===p.id);if(g)return this.chooseLine(g),!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 Jc(this.five,{i18n:this.config.i18n,onClick:()=>{this.choose==="line"?this.deleteLine():this.choose instanceof qc&&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 Go(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",Np),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",Np),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 $c{constructor(t){d(this,"config");d(this,"polylines",[]);d(this,"areas",[]);d(this,"hook",new Ct);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 Cs({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 gP(){}const mP="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAAGwCAYAAADFUEBtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABtqADAAQAAAABAAABsAAAAABTZ8U6AAAtiklEQVR4Ae2dAXJbSbJdp+d7AfYSHOGVeAPek5fkNXgLjviLmRkZl+CRbtc8UBKRRalZpyIesiorMx/eIcjb+QCh//Y3hwQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhA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7VId+vFqY9Tk0VbmzgXx2l39FPaBv9kawugS6F2awa0wfoPfRWabs2AebJ0hliTufKGnJJSNzc0gcU82/eUh62iVNCRqP6ZUISCzjKAfq7tNev6Kd0mKzsBZJrlgQ+hXvQG1OwGi8hc4moxDrMRF/cjo8iDrLYc7brjRjegq/jHvTEJKzAtgtqrx1YhvHojrvxDbwNBepxLfaczaqA2lBrSUtqLmlKTahYe/1FVAaRS0KGymk6kTvzO0KH/9NuHZsAEAJAEFy+/0pfY2O7EMGZq2Hhmo3+Vq9yI83sCzjhythAbIDYQGyA2EBsIDZAbCA2QGwgNhAbIDYQGyA2EBuIDRAbiA0QG4gNxAaIDcQGiA3EBmIDxAZiA8QGYgOxAWIDsQEb7ePiGN5/UYAAAAAASUVORK5CYII=",AP=`
653
+ `,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]),v=-((r[1]+r[0])/2-1)/2*c.clientHeight;Math.abs(p)>.4&&(f=h+57,m=v)}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 Kc(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||dP(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 B.Vector2(c,h)}function dP(n,t){return n.x===t.x&&n.y===t.y}const _p=()=>!1;class Un extends Ga{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",$r(e=>{e&&(this.currentMeasureType==="area"&&typeof e.isAdsorbed=="boolean"&&(e.isAdsorbed?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 bi(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 bi(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 P.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 g=u.point,v=this.lastPoint.position.clone().sub(g);f.pointSelectorHelper.updateWithIntersect(u,{emitEvent:!1});const A=new P.Line3(m.localToWorld(new P.Vector3(1,0,0)).add(v),m.localToWorld(new P.Vector3(-1,0,0)).add(v)),w=new P.Line3(m.localToWorld(new P.Vector3(0,1,0)).add(v),m.localToWorld(new P.Vector3(0,-1,0)).add(v)),k=A.closestPointToPoint(g,!1,new P.Vector3),E=w.closestPointToPoint(g,!1,new P.Vector3);return[k,E]}return[]};if(this.pointSelector.setAdherePoints(o),this.currentMeasureType==="line"){if(i&&s){const u=new Ps(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(He)});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=Yc({start:e,end:i},r),l=Yc({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 g,v;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=(v=(g=i[0])==null?void 0:g.object)==null?void 0:v.parent;if(s!=null&&s.isPolygonMesh){const A=this.model.areas.find(w=>w.polygon===s);if(A){const{x:w,y:k}=i[0].point.clone().project(this.five.camera),E=`${(w+1)/2*100}%`,L=`${(-k+1)/2*100}%`;return this.chooseArea(A,{left:E,top:L}),!1}}const[o]=fi(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 B.Vector2(a.x*l,a.y*c),u=this.model.getAllLines().map(A=>{const[w,k]=A.points,E=w.position.clone().project(r),L=k.position.clone().project(r);if(!ws(E)&&!ws(L))return null;const D=new B.Vector2(E.x*l,E.y*c),F=new B.Vector2(L.x*l,L.y*c);return{id:A.id,points:[D,F]}}).filter(A=>!!A);if(u.length===0)return;const m=u.map(A=>{const w=Kc(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 Jc(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 oa(this.five,de(H({},this.pointSelectorConfig),{mode:this.editParams.pointSelectorMode,helper:H({magnifierParams:this.magnifierParams,container:this.container},this.pointSelectorConfig.helper)})),this.pointSelector.enable(),this.polyline=new Cs({model:this.model}),this.area=new qc(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",_p),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",_p),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 qc(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 Cs({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 Rp extends Ga{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 Go(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 fP(n,t){const e=(n.x+1)/2*t.width,i=-(n.y-1)/2*t.height;return new B.Vector2(e,i)}function pP(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 ws(l)?{distance:fP(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 Fp(n){const{x:t,y:e}=n.center,{clientWidth:i,clientHeight:s}=n.target,o=n.target.getBoundingClientRect(),r=new B.Vector2(t,e).sub(new B.Vector2(o.left,o.top)),a=new B.Vector2(r.x/i*2-1,-(r.y/s)*2+1);return{point:r,ndcPoint:a}}const Np=()=>!1;class Hp extends Ga{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=Fp(e).point,s=(l=pP(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=Fp(e).ndcPoint,s=new B.Raycaster;s.setFromCamera(i,this.five.camera);const[o]=fi(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 v;const i=this.model.areas.map(A=>e.intersectObject(A.polygon,!0)[0]).sort((A,w)=>A.distance-w.distance),s=(v=i[0])==null?void 0:v.object.parent;if(s instanceof Op){const A=this.model.areas.find(w=>w.polygon===s);if(A){const{x:w,y:k}=i[0].point.clone().project(this.five.camera),E=`${(w+1)/2*100}%`,L=`${(-k+1)/2*100}%`;return this.chooseArea(A,{left:E,top:L}),!1}}const o=fi(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 B.Vector2(l.x*c,l.y*h),f=this.model.getAllLines().map(A=>{const[w,k]=A.points,E=w.position.clone().project(a),L=k.position.clone().project(a);if(!ws(E)&&!ws(L))return null;const D=new B.Vector2(E.x*c,E.y*h),F=new B.Vector2(L.x*c,L.y*h);return{id:A.id,points:[D,F]}}).filter(A=>!!A);if(f.length===0)return;const p=f.map(A=>{const w=Kc(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 g=this.model.getAllLines().find(({id:A})=>A===p.id);if(g)return this.chooseLine(g),!1});d(this,"chooseLine",e=>{this.choose="line";const i=e.getPolyline().lines;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 Jc(this.five,{i18n:this.config.i18n,onClick:()=>{this.choose==="line"?this.deleteLine():this.choose instanceof qc&&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 Go(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",Np),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",Np),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 $c{constructor(t){d(this,"config");d(this,"polylines",[]);d(this,"areas",[]);d(this,"hook",new Ct);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 Cs({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 gP(){}const mP="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAAGwCAYAAADFUEBtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABtqADAAQAAAABAAABsAAAAABTZ8U6AAAtiklEQVR4Ae2dAXJbSbJdp+d7AfYSHOGVeAPek5fkNXgLjviLmRkZl+CRbtc8UBKRRalZpyIesiorMx/eIcjb+QCh//Y3hwQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQgAQkIAEJSEACEpCABCQg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