@realsee/dnalogel 3.27.0 → 3.27.2

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 (376) hide show
  1. package/dist/index.cjs.js +19 -19
  2. package/dist/index.js +471 -482
  3. package/dist/index.umd.js +19 -19
  4. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  5. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  6. package/docs/classes/CSS3DRender.html +3 -3
  7. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  8. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  9. package/docs/classes/ModelMakerPluginType.ModelMakerController.html +3 -3
  10. package/docs/classes/ModelRoomLabelController.html +3 -3
  11. package/docs/classes/MoveController.html +3 -3
  12. package/docs/classes/Object3DHelperController.html +3 -3
  13. package/docs/classes/PaintBrush.html +3 -3
  14. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  15. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  16. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  17. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  18. package/docs/classes/PanoTagPluginController.html +5 -5
  19. package/docs/classes/Sculpt.html +3 -3
  20. package/docs/classes/Util.BetterTween.html +3 -3
  21. package/docs/classes/Util.Interval.html +3 -3
  22. package/docs/classes/Util.LineSegments.html +3 -3
  23. package/docs/classes/Util.Magnifier.html +3 -3
  24. package/docs/classes/Util.Object3D.html +3 -3
  25. package/docs/classes/Util.PointDomHelper.html +3 -3
  26. package/docs/classes/Util.PointHelper.html +3 -3
  27. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  28. package/docs/classes/Util.Rectangle.html +3 -3
  29. package/docs/classes/WalkController.html +3 -3
  30. package/docs/enums/CameraMovementEffect.html +3 -3
  31. package/docs/enums/ContentType.html +3 -3
  32. package/docs/enums/DIRECTION.html +3 -3
  33. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  34. package/docs/enums/DimensionType.html +3 -3
  35. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  36. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  37. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  38. package/docs/enums/PointType.html +3 -3
  39. package/docs/enums/Rotation.html +3 -3
  40. package/docs/functions/AreaMakerPlugin.html +3 -3
  41. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  42. package/docs/functions/CameraMovementPlugin.html +3 -3
  43. package/docs/functions/CruisePlugin.html +3 -3
  44. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  45. package/docs/functions/GuideLinePlugin.html +3 -3
  46. package/docs/functions/ItemLabelPlugin.html +3 -3
  47. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  48. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  49. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  50. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  51. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  52. package/docs/functions/ModelMakerPlugin.html +3 -3
  53. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  54. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  55. package/docs/functions/ModelViewPlugin.html +3 -3
  56. package/docs/functions/MovePlugin.html +3 -3
  57. package/docs/functions/Object3DHelperPlugin.html +3 -3
  58. package/docs/functions/PanoCompassPlugin.html +3 -3
  59. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  60. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  61. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  62. package/docs/functions/PanoMeasurePlugin.html +3 -3
  63. package/docs/functions/PanoRulerPlugin.html +3 -3
  64. package/docs/functions/PanoRulerProPlugin.html +3 -3
  65. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  66. package/docs/functions/PanoTagPlugin.html +3 -3
  67. package/docs/functions/PanoVideoPlugin.html +3 -3
  68. package/docs/functions/PipelinePlugin.html +3 -3
  69. package/docs/functions/SculptPlugin.html +3 -3
  70. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  71. package/docs/functions/Util.absoluteUrl.html +3 -3
  72. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  73. package/docs/functions/Util.equal.html +3 -3
  74. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  75. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  76. package/docs/functions/Util.getFrameTime.html +3 -3
  77. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  78. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  79. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  80. package/docs/functions/Util.isModelLike.html +3 -3
  81. package/docs/functions/Util.isNil.html +3 -3
  82. package/docs/functions/Util.isPanoramaLike.html +3 -3
  83. package/docs/functions/Util.nextFrame.html +3 -3
  84. package/docs/functions/Util.notNil.html +3 -3
  85. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  86. package/docs/functions/Util.tweenProgress.html +3 -3
  87. package/docs/functions/Util.uuid.html +3 -3
  88. package/docs/functions/pluginFlag.html +3 -3
  89. package/docs/index.html +4 -4
  90. package/docs/interfaces/AddTagConfig.html +3 -3
  91. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  92. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  93. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  94. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  95. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  96. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  97. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  101. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  102. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  103. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  104. package/docs/interfaces/ContentTypeMapInterface.html +3 -3
  105. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  106. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  107. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  108. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  109. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  110. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  111. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  114. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  115. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  116. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  117. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  118. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  119. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  120. package/docs/interfaces/EventMap.html +3 -3
  121. package/docs/interfaces/FloorplanBounding.html +3 -3
  122. package/docs/interfaces/FloorplanData.html +3 -3
  123. package/docs/interfaces/FloorplanEntrance.html +3 -3
  124. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  125. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  126. package/docs/interfaces/FloorplanFloorData.html +3 -3
  127. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  128. package/docs/interfaces/FloorplanObserver.html +3 -3
  129. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  130. package/docs/interfaces/FloorplanPosition.html +3 -3
  131. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  132. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  133. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  134. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  135. package/docs/interfaces/FloorplanServerData.html +3 -3
  136. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  137. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  138. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  139. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  140. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  141. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  142. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  143. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  144. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  145. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  146. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  147. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  148. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  149. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  150. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  151. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  152. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  153. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  154. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  155. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  156. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  162. package/docs/interfaces/HelperOffset.html +3 -3
  163. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  164. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  165. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  166. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  167. package/docs/interfaces/MinMax.html +3 -3
  168. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  169. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  170. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  171. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  172. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  173. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  174. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  175. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  176. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  177. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  178. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  179. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  180. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  181. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  182. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  183. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  184. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  185. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  186. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  187. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  188. package/docs/interfaces/Object3DHelperState.html +3 -3
  189. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  190. package/docs/interfaces/PaintBrushAction.html +3 -3
  191. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  192. package/docs/interfaces/PaintBrushState.html +3 -3
  193. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  194. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  195. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  196. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  197. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  198. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  199. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  200. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  201. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  202. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  203. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  204. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  205. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  206. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  207. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  208. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  209. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  210. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  211. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  212. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  213. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  214. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  215. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  216. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  217. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  218. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  219. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  220. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  221. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  222. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  223. package/docs/interfaces/Point.html +3 -3
  224. package/docs/interfaces/Room.html +3 -3
  225. package/docs/interfaces/RoomInfo.html +3 -3
  226. package/docs/interfaces/RoomLabel.html +3 -3
  227. package/docs/interfaces/RoomRules.html +3 -3
  228. package/docs/interfaces/Rooms.html +3 -3
  229. package/docs/interfaces/Scissor.html +3 -3
  230. package/docs/interfaces/State.html +3 -3
  231. package/docs/interfaces/TagCacheInterface.html +3 -3
  232. package/docs/interfaces/TagConfig.html +3 -3
  233. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  234. package/docs/interfaces/TagIconUrl.html +3 -3
  235. package/docs/interfaces/TagObjectGroup.html +3 -3
  236. package/docs/interfaces/TagStyle.html +3 -3
  237. package/docs/interfaces/Tags.html +3 -3
  238. package/docs/interfaces/TemporaryState.html +3 -3
  239. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  240. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  241. package/docs/interfaces/Util.PointIntersection.html +3 -3
  242. package/docs/modules/AreaMakerPluginType.html +3 -3
  243. package/docs/modules/CruisePluginTypes.html +3 -3
  244. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  245. package/docs/modules/GuideLineItem.html +3 -3
  246. package/docs/modules/GuideLineModeItem.html +3 -3
  247. package/docs/modules/GuideLinePluginType.html +3 -3
  248. package/docs/modules/ModelMakerPluginType.html +3 -3
  249. package/docs/modules/PanoVideoPluginType.html +3 -3
  250. package/docs/modules/SculptData.html +3 -3
  251. package/docs/modules/Util.html +3 -3
  252. package/docs/modules.html +4 -4
  253. package/docs/types/AddObject3DHelperConfig.html +3 -3
  254. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  255. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  256. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  257. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  258. package/docs/types/ArrayPosition.html +3 -3
  259. package/docs/types/AudioAppearance.html +3 -3
  260. package/docs/types/CSS3DRenderExportType.html +3 -3
  261. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  262. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  263. package/docs/types/ClassFunctionParameters.html +3 -3
  264. package/docs/types/Color.html +3 -3
  265. package/docs/types/ContentTypeConfigKey.html +3 -3
  266. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  267. package/docs/types/ContentTypeMap.html +3 -3
  268. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  269. package/docs/types/Create3DElementReturnType.html +3 -3
  270. package/docs/types/CruisePluginExportType.html +3 -3
  271. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  272. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  273. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  274. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  275. package/docs/types/DeprecatedTagProperty.html +3 -3
  276. package/docs/types/Direction-1.html +3 -3
  277. package/docs/types/Direction4.html +3 -3
  278. package/docs/types/ElementRenderer.html +3 -3
  279. package/docs/types/FloorplanRuleLabels.html +3 -3
  280. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  281. package/docs/types/GuideLinePluginExportType.html +3 -3
  282. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  283. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  284. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  285. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  286. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  287. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  288. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  289. package/docs/types/HelperEventMap.html +3 -3
  290. package/docs/types/InternalHelperEventMap.html +3 -3
  291. package/docs/types/LoadTagConfig.html +3 -3
  292. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  293. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  294. package/docs/types/MediaData.html +3 -3
  295. package/docs/types/MediaStore.html +3 -3
  296. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  297. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  298. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  299. package/docs/types/ModelId.html +3 -3
  300. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  301. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  302. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  303. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  304. package/docs/types/MoveArgs.html +3 -3
  305. package/docs/types/MoveOpts.html +3 -3
  306. package/docs/types/Object3DHelperEventMap.html +3 -3
  307. package/docs/types/ObjectFit.html +3 -3
  308. package/docs/types/PaintBrushEventMap.html +3 -3
  309. package/docs/types/PanoCompassPluginData.html +3 -3
  310. package/docs/types/PanoCompassPluginExportType.html +3 -3
  311. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  312. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  313. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  314. package/docs/types/PanoIndex.html +3 -3
  315. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  316. package/docs/types/PanoMeasureReturnType.html +3 -3
  317. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  318. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  319. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  320. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  321. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  322. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  323. package/docs/types/PipelinePluginParameterType.html +3 -3
  324. package/docs/types/PipelinePluginReturnType.html +3 -3
  325. package/docs/types/PlaneTag.html +3 -3
  326. package/docs/types/Point2DTag.html +3 -3
  327. package/docs/types/Point3DTag.html +3 -3
  328. package/docs/types/PointTag.html +3 -3
  329. package/docs/types/PointTagInstance.html +3 -3
  330. package/docs/types/Position.html +3 -3
  331. package/docs/types/PositionFrom.html +3 -3
  332. package/docs/types/RotateArgs.html +3 -3
  333. package/docs/types/RotateOpts.html +3 -3
  334. package/docs/types/RuleLabelsKey.html +3 -3
  335. package/docs/types/RuleLabelsValue.html +3 -3
  336. package/docs/types/ScaleCallback.html +3 -3
  337. package/docs/types/ScalePosition.html +3 -3
  338. package/docs/types/SculptData.BoxData.html +3 -3
  339. package/docs/types/SculptData.CircleData.html +3 -3
  340. package/docs/types/SculptData.CylinderData.html +3 -3
  341. package/docs/types/SculptData.PointData.html +3 -3
  342. package/docs/types/SculptData.PolygonData.html +3 -3
  343. package/docs/types/SculptData.PolylineData.html +3 -3
  344. package/docs/types/SculptData.PrismData.html +3 -3
  345. package/docs/types/SculptData.RectangleData.html +3 -3
  346. package/docs/types/StickType.html +3 -3
  347. package/docs/types/Tag.html +3 -3
  348. package/docs/types/Tag2D.html +3 -3
  349. package/docs/types/Tag3D.html +3 -3
  350. package/docs/types/TagConfigByKey.html +3 -3
  351. package/docs/types/TagContentType.html +3 -3
  352. package/docs/types/TagContentTypeMapping.html +3 -3
  353. package/docs/types/TagDimensionType.html +3 -3
  354. package/docs/types/TagElement.html +3 -3
  355. package/docs/types/TagEvents.html +3 -3
  356. package/docs/types/TagGLTFObject.html +3 -3
  357. package/docs/types/TagHooks.html +3 -3
  358. package/docs/types/TagId.html +3 -3
  359. package/docs/types/TagInstance.html +3 -3
  360. package/docs/types/TagPointType.html +3 -3
  361. package/docs/types/TagRendererMap.html +3 -3
  362. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  363. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  364. package/docs/types/WorkCode.html +3 -3
  365. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  366. package/docs/variables/PLUGIN.html +3 -3
  367. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  368. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  369. package/docs/variables/defaultGlobalConfig.html +3 -3
  370. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  371. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  372. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  373. package/libs/PanoTagPlugin/controller/TagComputer.js +114 -125
  374. package/libs/base/BasePlugin.js +1 -1
  375. package/libs/shared-utils/logger.js +1 -1
  376. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -48,7 +48,7 @@ import Qa from "animejs";
48
48
  import { GLTFLoader as Nm } from "@realsee/five/gltf-loader";
49
49
  function Qm() {
50
50
  console.debug(
51
- "%c %c@realsee/dnalogel %cv3.27.0",
51
+ "%c %c@realsee/dnalogel %cv3.27.2",
52
52
  [
53
53
  "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=')",
54
54
  "background-repeat: no-repeat",
@@ -972,13 +972,13 @@ let ip = class extends ep {
972
972
  if (p.tweening = !0, !p.ready)
973
973
  return a.clearRect(0, 0, p.canvas[u].width, p.canvas[u].height), (y = p.tween) == null ? void 0 : y.stop();
974
974
  const v = Math.floor(m);
975
- if (!A.find((E) => E === v)) {
975
+ if (!A.find((P) => P === v)) {
976
976
  if (A.push(v), g.push(ca(l[v], p.clientWidth, p.clientHeight)), g.length < 3)
977
977
  return;
978
- const { control: E, end: P } = po(g);
979
- if (!E || !P)
978
+ const { control: P, end: E } = po(g);
979
+ if (!P || !E)
980
980
  return;
981
- a.quadraticCurveTo(E.x, E.y, P.x, P.y), a.stroke();
981
+ a.quadraticCurveTo(P.x, P.y, E.x, E.y), a.stroke();
982
982
  }
983
983
  }).onComplete((m) => {
984
984
  p.tween = void 0, p.tweening = !1, A = [], g = [], o && o(), r();
@@ -1120,14 +1120,14 @@ const T3 = (n, t) => {
1120
1120
  e || (e = !0, l.add(h), !i && n.model.loaded && g(), j());
1121
1121
  }, y = () => {
1122
1122
  e && (l.remove(h), s = !0, V(), e = !1);
1123
- }, E = (F, U = {}) => {
1123
+ }, P = (F, U = {}) => {
1124
1124
  const X = A();
1125
1125
  if (!X)
1126
1126
  return;
1127
- F.appendChild(X.domElement), P(U);
1127
+ F.appendChild(X.domElement), E(U);
1128
1128
  const J = window.getComputedStyle(F).position;
1129
1129
  J !== "relative" && J !== "absolute" && J !== "fixed" && J !== "sticky" && (F.style.position = "relative");
1130
- }, P = (F = {}) => {
1130
+ }, E = (F = {}) => {
1131
1131
  if (!o)
1132
1132
  return;
1133
1133
  const X = o.domElement.parentNode;
@@ -1162,7 +1162,7 @@ const T3 = (n, t) => {
1162
1162
  }, N = () => ({
1163
1163
  enabled: e
1164
1164
  });
1165
- return Object.assign(window, { camera: c }), n.on("modelLoaded", m), n.on("modelWillLoad", p), n.on("cameraDirectionUpdate", j), n.on("dispose", W), n.on("renderFrame", V), n.on("cameraPositionUpdate", j), { appendTo: E, refresh: P, changeConfigs: _, enable: v, disable: y, getCurrentState: N };
1165
+ return Object.assign(window, { camera: c }), n.on("modelLoaded", m), n.on("modelWillLoad", p), n.on("cameraDirectionUpdate", j), n.on("dispose", W), n.on("renderFrame", V), n.on("cameraPositionUpdate", j), { appendTo: P, refresh: E, changeConfigs: _, enable: v, disable: y, getCurrentState: N };
1166
1166
  }, np = ({ x: n, y: t, z: e }) => new oe(n, t, e), fi = (n) => new oe().fromArray(n), Be = (n) => {
1167
1167
  if (n)
1168
1168
  return n instanceof oe ? n : Array.isArray(n) ? fi(n) : np(n);
@@ -1391,8 +1391,8 @@ class up extends Na {
1391
1391
  i.classList.add(`${cp}__container`);
1392
1392
  const p = new oe().subVectors(s[1], s[0]), m = new oe().subVectors(s[3], s[0]), v = new oe().crossVectors(p, m).normalize();
1393
1393
  this.lookAt(v);
1394
- const y = this.up.clone().applyQuaternion(this.quaternion), E = m.clone(), P = new oe().crossVectors(y, E).normalize();
1395
- this.rotateOnWorldAxis(P, y.angleTo(E)), this.position.copy(g), this.addEventListener("added", () => {
1394
+ const y = this.up.clone().applyQuaternion(this.quaternion), P = m.clone(), E = new oe().crossVectors(y, P).normalize();
1395
+ this.rotateOnWorldAxis(E, y.angleTo(P)), this.position.copy(g), this.addEventListener("added", () => {
1396
1396
  var V;
1397
1397
  this.mode === "front" && ((V = this.opacityMesh) == null || V.removeFromParent());
1398
1398
  }), this.addEventListener("removed", () => {
@@ -1603,7 +1603,7 @@ class Rs {
1603
1603
  k && k.add(A);
1604
1604
  }, m = () => {
1605
1605
  g || (p(), this.render(t), this.hooks.emit("render"));
1606
- }, v = (k) => this.setVisibleById(A.id, k), y = (k) => this.setEnabledById(A.id, k), E = () => (g = !0, A.removeFromParent(), !0), P = l === "front" ? Ke.frontModeStore.css3DRenderer : Ke.behindModeStore.css3DRenderer;
1606
+ }, v = (k) => this.setVisibleById(A.id, k), y = (k) => this.setEnabledById(A.id, k), P = () => (g = !0, A.removeFromParent(), !0), E = l === "front" ? Ke.frontModeStore.css3DRenderer : Ke.behindModeStore.css3DRenderer;
1607
1607
  return c && m(), {
1608
1608
  id: A.uuid,
1609
1609
  container: h,
@@ -1615,8 +1615,8 @@ class Rs {
1615
1615
  enable: () => y(!0),
1616
1616
  disable: () => y(!1),
1617
1617
  setEnabled: y,
1618
- dispose: E,
1619
- appendToElement: (k) => P.setWrapper(k)
1618
+ dispose: P,
1619
+ appendToElement: (k) => E.setWrapper(k)
1620
1620
  };
1621
1621
  });
1622
1622
  d(this, "setVisibleById", (t, e) => {
@@ -2981,13 +2981,13 @@ function tn(n, t, e) {
2981
2981
  const { delay: f = 0, duration: g = 300, easing: A = mi, tick: p = Z, css: m } = s || El;
2982
2982
  m && (r = Yo(n, 0, 1, g, f, A, m, l++)), p(0, 1);
2983
2983
  const v = Al() + f, y = v + g;
2984
- a && a.abort(), o = !0, Xe(() => _i(n, !0, "start")), a = bl((E) => {
2984
+ a && a.abort(), o = !0, Xe(() => _i(n, !0, "start")), a = bl((P) => {
2985
2985
  if (o) {
2986
- if (E >= y)
2986
+ if (P >= y)
2987
2987
  return p(1, 0), _i(n, !0, "end"), c(), o = !1;
2988
- if (E >= v) {
2989
- const P = A((E - v) / g);
2990
- p(P, 1 - P);
2988
+ if (P >= v) {
2989
+ const E = A((P - v) / g);
2990
+ p(E, 1 - E);
2991
2991
  }
2992
2992
  }
2993
2993
  return o;
@@ -3054,16 +3054,16 @@ function ni(n, t, e, i) {
3054
3054
  };
3055
3055
  }
3056
3056
  function f(g) {
3057
- const { delay: A = 0, duration: p = 300, easing: m = mi, tick: v = Z, css: y } = o || El, E = {
3057
+ const { delay: A = 0, duration: p = 300, easing: m = mi, tick: v = Z, css: y } = o || El, P = {
3058
3058
  start: Al() + A,
3059
3059
  b: g
3060
3060
  };
3061
- g || (E.group = Kt, Kt.r += 1), a || l ? l = E : (y && (h(), c = Yo(n, r, g, p, A, m, y)), g && v(0, 1), a = u(E, p), Xe(() => _i(n, g, "start")), bl((P) => {
3062
- if (l && P > l.start && (a = u(l, p), l = null, _i(n, a.b, "start"), y && (h(), c = Yo(n, r, a.b, a.duration, 0, m, o.css))), a) {
3063
- if (P >= a.end)
3061
+ g || (P.group = Kt, Kt.r += 1), a || l ? l = P : (y && (h(), c = Yo(n, r, g, p, A, m, y)), g && v(0, 1), a = u(P, p), Xe(() => _i(n, g, "start")), bl((E) => {
3062
+ if (l && E > l.start && (a = u(l, p), l = null, _i(n, a.b, "start"), y && (h(), c = Yo(n, r, a.b, a.duration, 0, m, o.css))), a) {
3063
+ if (E >= a.end)
3064
3064
  v(r = a.b, 1 - r), _i(n, a.b, "end"), l || (a.b ? h() : --a.group.r || et(a.group.c)), a = null;
3065
- else if (P >= a.start) {
3066
- const k = P - a.start;
3065
+ else if (E >= a.start) {
3066
+ const k = E - a.start;
3067
3067
  r = a.a + a.d * m(k / a.duration), v(r, 1 - r);
3068
3068
  }
3069
3069
  }
@@ -3130,19 +3130,19 @@ function Ut(n, t, e, i, s, o, r, a, l, c, h, u) {
3130
3130
  const p = {};
3131
3131
  for (; A--; )
3132
3132
  p[n[A].key] = A;
3133
- const m = [], v = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), E = [];
3133
+ const m = [], v = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), P = [];
3134
3134
  for (A = g; A--; ) {
3135
3135
  const j = u(s, o, A), V = e(j);
3136
3136
  let W = r.get(V);
3137
- W ? i && E.push(() => W.p(j, t)) : (W = c(V, j), W.c()), v.set(V, m[A] = W), V in p && y.set(V, Math.abs(A - p[V]));
3137
+ W ? i && P.push(() => W.p(j, t)) : (W = c(V, j), W.c()), v.set(V, m[A] = W), V in p && y.set(V, Math.abs(A - p[V]));
3138
3138
  }
3139
- const P = /* @__PURE__ */ new Set(), k = /* @__PURE__ */ new Set();
3139
+ const E = /* @__PURE__ */ new Set(), k = /* @__PURE__ */ new Set();
3140
3140
  function I(j) {
3141
3141
  x(j, 1), j.m(a, h), r.set(j.key, j), h = j.first, g--;
3142
3142
  }
3143
3143
  for (; f && g; ) {
3144
3144
  const j = m[g - 1], V = n[f - 1], W = j.key, _ = V.key;
3145
- j === V ? (h = j.first, f--, g--) : v.has(_) ? !r.has(W) || P.has(W) ? I(j) : k.has(_) ? f-- : y.get(W) > y.get(_) ? (k.add(W), I(j)) : (P.add(_), f--) : (l(V, r), f--);
3145
+ j === V ? (h = j.first, f--, g--) : v.has(_) ? !r.has(W) || E.has(W) ? I(j) : k.has(_) ? f-- : y.get(W) > y.get(_) ? (k.add(W), I(j)) : (E.add(_), f--) : (l(V, r), f--);
3146
3146
  }
3147
3147
  for (; f--; ) {
3148
3148
  const j = n[f];
@@ -3150,7 +3150,7 @@ function Ut(n, t, e, i, s, o, r, a, l, c, h, u) {
3150
3150
  }
3151
3151
  for (; g; )
3152
3152
  I(m[g - 1]);
3153
- return et(E), m;
3153
+ return et(P), m;
3154
3154
  }
3155
3155
  function wt(n, t) {
3156
3156
  const e = {}, i = {}, s = { $$scope: 1 };
@@ -3763,26 +3763,26 @@ function MA(n, t, e) {
3763
3763
  function c(v) {
3764
3764
  if (!(l === null || v.floorIndex === l))
3765
3765
  return !1;
3766
- const E = new Wn(), P = s.camera.position.clone(), k = new oe(v.position.x, v.position.y, v.position.z), I = k.distanceTo(P);
3767
- E.set(P.clone(), k.clone().sub(P).normalize());
3768
- const [j] = s.model.intersectRaycaster(E);
3766
+ const P = new Wn(), E = s.camera.position.clone(), k = new oe(v.position.x, v.position.y, v.position.z), I = k.distanceTo(E);
3767
+ P.set(E.clone(), k.clone().sub(E).normalize());
3768
+ const [j] = s.model.intersectRaycaster(P);
3769
3769
  return !(j && j.distance + 1 < I);
3770
3770
  }
3771
3771
  function h(v, y) {
3772
- const P = new oe(v.position.x, v.position.y, v.position.z).clone().project(s.camera), k = Math.ceil((P.x + 1) / 2 * y.x), I = Math.ceil((-P.y + 1) / 2 * y.y);
3772
+ const E = new oe(v.position.x, v.position.y, v.position.z).clone().project(s.camera), k = Math.ceil((E.x + 1) / 2 * y.x), I = Math.ceil((-E.y + 1) / 2 * y.y);
3773
3773
  return `translate(${k}px, ${I}px)`;
3774
3774
  }
3775
3775
  function u(v) {
3776
- const { rendererSize: y } = v, E = /* @__PURE__ */ new Map();
3777
- function P(I) {
3778
- const j = E.get(I.id);
3776
+ const { rendererSize: y } = v, P = /* @__PURE__ */ new Map();
3777
+ function E(I) {
3778
+ const j = P.get(I.id);
3779
3779
  if (j)
3780
3780
  return j;
3781
3781
  const { x: V, y: W, z: _ } = I.position, N = new oe(V, W, _).clone().distanceTo(s.camera.position);
3782
- return E.set(I.id, N), N;
3782
+ return P.set(I.id, N), N;
3783
3783
  }
3784
3784
  return o.map((I) => {
3785
- const j = c(I), V = j ? h(I, y) : I.transform, W = P(I), N = o.filter((G) => G.visible && P(G) < W).length * 10;
3785
+ const j = c(I), V = j ? h(I, y) : I.transform, W = E(I), N = o.filter((G) => G.visible && E(G) < W).length * 10;
3786
3786
  return se(D({}, I), { visible: j, transform: V, zIndex: N });
3787
3787
  });
3788
3788
  }
@@ -4461,7 +4461,7 @@ function YA(n, t) {
4461
4461
  return s;
4462
4462
  }
4463
4463
  function XA(n, t, e) {
4464
- let i, s, o, r, a, l, c, h, u, f, g, A, p, { pxmm: m } = t, { roomAreaEnable: v } = t, { roomNameEnable: y } = t, { roomDimensionEnable: E } = t, { room: P } = t, { hoveredRoom: k } = t, { getRoomAreaText: I } = t, { getRoomDimensionText: j } = t, { getLabelElement: V } = t, { adaptiveRoomLabelVisibleEnable: W } = t;
4464
+ let i, s, o, r, a, l, c, h, u, f, g, A, p, { pxmm: m } = t, { roomAreaEnable: v } = t, { roomNameEnable: y } = t, { roomDimensionEnable: P } = t, { room: E } = t, { hoveredRoom: k } = t, { getRoomAreaText: I } = t, { getRoomDimensionText: j } = t, { getLabelElement: V } = t, { adaptiveRoomLabelVisibleEnable: W } = t;
4465
4465
  function _(ee, ve) {
4466
4466
  if (ve.width === 0 || ve.height === 0)
4467
4467
  return () => !1;
@@ -4476,10 +4476,10 @@ function XA(n, t, e) {
4476
4476
  ].every((He) => YA(He, Ct));
4477
4477
  };
4478
4478
  }
4479
- const N = document.body.clientWidth, G = document.body.clientHeight, H = P.roomLabel, F = H.positionInImage.x * 100 + "%", U = H.positionInImage.y * 100 + "%", X = (N < 500 || G < 500 ? 10 : 14) + "px", J = (N < 500 || G < 500 ? 8 : 12) + "px";
4479
+ const N = document.body.clientWidth, G = document.body.clientHeight, H = E.roomLabel, F = H.positionInImage.x * 100 + "%", U = H.positionInImage.y * 100 + "%", X = (N < 500 || G < 500 ? 10 : 14) + "px", J = (N < 500 || G < 500 ? 8 : 12) + "px";
4480
4480
  let $ = 0, de = 0, he = 0, Pe = 0, Ce = !1;
4481
4481
  k.subscribe(function(ve) {
4482
- e(25, Ce = !!ve && ve.id === P.id);
4482
+ e(25, Ce = !!ve && ve.id === E.id);
4483
4483
  });
4484
4484
  const be = (ee) => {
4485
4485
  e(7, he = ee.detail);
@@ -4491,22 +4491,22 @@ function XA(n, t, e) {
4491
4491
  e(6, de = ee.detail);
4492
4492
  };
4493
4493
  return n.$$set = (ee) => {
4494
- "pxmm" in ee && e(20, m = ee.pxmm), "roomAreaEnable" in ee && e(0, v = ee.roomAreaEnable), "roomNameEnable" in ee && e(1, y = ee.roomNameEnable), "roomDimensionEnable" in ee && e(2, E = ee.roomDimensionEnable), "room" in ee && e(3, P = ee.room), "hoveredRoom" in ee && e(21, k = ee.hoveredRoom), "getRoomAreaText" in ee && e(22, I = ee.getRoomAreaText), "getRoomDimensionText" in ee && e(23, j = ee.getRoomDimensionText), "getLabelElement" in ee && e(4, V = ee.getLabelElement), "adaptiveRoomLabelVisibleEnable" in ee && e(24, W = ee.adaptiveRoomLabelVisibleEnable);
4494
+ "pxmm" in ee && e(20, m = ee.pxmm), "roomAreaEnable" in ee && e(0, v = ee.roomAreaEnable), "roomNameEnable" in ee && e(1, y = ee.roomNameEnable), "roomDimensionEnable" in ee && e(2, P = ee.roomDimensionEnable), "room" in ee && e(3, E = ee.room), "hoveredRoom" in ee && e(21, k = ee.hoveredRoom), "getRoomAreaText" in ee && e(22, I = ee.getRoomAreaText), "getRoomDimensionText" in ee && e(23, j = ee.getRoomDimensionText), "getLabelElement" in ee && e(4, V = ee.getLabelElement), "adaptiveRoomLabelVisibleEnable" in ee && e(24, W = ee.adaptiveRoomLabelVisibleEnable);
4495
4495
  }, n.$$.update = () => {
4496
4496
  var ee, ve;
4497
4497
  n.$$.dirty[0] & /*getLabelElement, room*/
4498
- 24 && e(15, i = V == null ? void 0 : V(P)), n.$$.dirty[0] & /*room, getRoomAreaText*/
4499
- 4194312 && e(14, s = P.size ? I(P.size) : ""), n.$$.dirty[0] & /*room, getRoomDimensionText*/
4500
- 8388616 && e(13, o = P != null && P.dimension ? j((ee = P.dimension) == null ? void 0 : ee.width, (ve = P.dimension) == null ? void 0 : ve.height) : ""), n.$$.dirty[0] & /*clientWidth, clientHeight*/
4498
+ 24 && e(15, i = V == null ? void 0 : V(E)), n.$$.dirty[0] & /*room, getRoomAreaText*/
4499
+ 4194312 && e(14, s = E.size ? I(E.size) : ""), n.$$.dirty[0] & /*room, getRoomDimensionText*/
4500
+ 8388616 && e(13, o = E != null && E.dimension ? j((ee = E.dimension) == null ? void 0 : ee.width, (ve = E.dimension) == null ? void 0 : ve.height) : ""), n.$$.dirty[0] & /*clientWidth, clientHeight*/
4501
4501
  384 && e(31, r = { width: he, height: Pe }), n.$$.dirty[0] & /*room*/
4502
4502
  8 | n.$$.dirty[1] & /*labelElementSize*/
4503
- 1 && e(30, a = r ? _(P, r) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isLabelInRoom, pxmm*/
4503
+ 1 && e(30, a = r ? _(E, r) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isLabelInRoom, pxmm*/
4504
4504
  1091567616 && e(27, l = W ? !!(a != null && a(m)) : !0), n.$$.dirty[0] & /*wrapperClientWidth, wrapperClientHeight*/
4505
4505
  96 && e(29, c = {
4506
4506
  width: $,
4507
4507
  height: de
4508
4508
  }), n.$$.dirty[0] & /*wrapperLabelElementSize, room*/
4509
- 536870920 && e(28, h = c ? _(P, c) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isAllLabelInRoom, pxmm*/
4509
+ 536870920 && e(28, h = c ? _(E, c) : void 0), n.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isAllLabelInRoom, pxmm*/
4510
4510
  286261248 && e(26, u = W ? !!(h != null && h(m)) : !0), n.$$.dirty[0] & /*wrapperLabelVisible, mainLabelVisible, isHovered*/
4511
4511
  234881024 && e(12, f = u || l || Ce), n.$$.dirty[0] & /*mainLabelVisible, isHovered*/
4512
4512
  167772160 && e(11, g = l || Ce), n.$$.dirty[0] & /*wrapperLabelVisible, isHovered*/
@@ -4515,8 +4515,8 @@ function XA(n, t, e) {
4515
4515
  }, [
4516
4516
  v,
4517
4517
  y,
4518
- E,
4519
4518
  P,
4519
+ E,
4520
4520
  V,
4521
4521
  $,
4522
4522
  de,
@@ -4801,8 +4801,8 @@ function KA(n, t, e) {
4801
4801
  if (n.$$.dirty & /*floorplanData, floorIndex*/
4802
4802
  6144 && e(10, i = l.floorDatas[s].rooms), n.$$.dirty & /*floorplanData, clientWidth*/
4803
4803
  4352) {
4804
- const { max: v, min: y } = l.bounding, E = v.x - y.x;
4805
- e(9, p = A / E);
4804
+ const { max: v, min: y } = l.bounding, P = v.x - y.x;
4805
+ e(9, p = A / P);
4806
4806
  }
4807
4807
  }, [
4808
4808
  o,
@@ -5024,8 +5024,8 @@ function iv(n, t, e) {
5024
5024
  });
5025
5025
  u.unshift({ left: 0, bottom: 0 }), u.push(a ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
5026
5026
  const f = h[h.length - 1] - h[0], g = h.map((A, p, m) => {
5027
- const v = p === 0 ? 0 : A - m[p - 1], y = p === 0 ? 0 : (A + m[p - 1]) / 2, E = a ? (y - o.min.x - vn + bn) / l : 0, P = a ? 0 : (y - o.min.y - vn + bn) / c;
5028
- return { left: E, bottom: P, distance: v };
5027
+ const v = p === 0 ? 0 : A - m[p - 1], y = p === 0 ? 0 : (A + m[p - 1]) / 2, P = a ? (y - o.min.x - vn + bn) / l : 0, E = a ? 0 : (y - o.min.y - vn + bn) / c;
5028
+ return { left: P, bottom: E, distance: v };
5029
5029
  }).filter(({ distance: A }) => A / f > 0.1);
5030
5030
  return n.$$set = (A) => {
5031
5031
  "type" in A && e(0, i = A.type), "data" in A && e(5, s = A.data), "bounding" in A && e(6, o = A.bounding), "getRuleDistanceText" in A && e(1, r = A.getRuleDistanceText);
@@ -6235,8 +6235,8 @@ function Jv(n) {
6235
6235
  }
6236
6236
  ];
6237
6237
  let f = {};
6238
- for (let P = 0; P < u.length; P += 1)
6239
- f = ft(f, u[P]);
6238
+ for (let E = 0; E < u.length; E += 1)
6239
+ f = ft(f, u[E]);
6240
6240
  t = new Mv({ props: f });
6241
6241
  let g = (
6242
6242
  /*highlightEnable*/
@@ -6256,8 +6256,8 @@ function Jv(n) {
6256
6256
  }
6257
6257
  ];
6258
6258
  let p = {};
6259
- for (let P = 0; P < A.length; P += 1)
6260
- p = ft(p, A[P]);
6259
+ for (let E = 0; E < A.length; E += 1)
6260
+ p = ft(p, A[E]);
6261
6261
  s = new Rf({ props: p });
6262
6262
  let m = (
6263
6263
  /*roomLabelsEnable*/
@@ -6268,35 +6268,35 @@ function Jv(n) {
6268
6268
  ), y = (
6269
6269
  /*cameraEnable*/
6270
6270
  n[4] && Fc(n)
6271
- ), E = (
6271
+ ), P = (
6272
6272
  /*compassEnable*/
6273
6273
  n[22] && _c(n)
6274
6274
  );
6275
6275
  return {
6276
6276
  c() {
6277
- ne(t.$$.fragment), e = K(), g && g.c(), i = K(), ne(s.$$.fragment), o = K(), m && m.c(), r = K(), v && v.c(), a = K(), y && y.c(), l = K(), E && E.c(), c = we();
6277
+ ne(t.$$.fragment), e = K(), g && g.c(), i = K(), ne(s.$$.fragment), o = K(), m && m.c(), r = K(), v && v.c(), a = K(), y && y.c(), l = K(), P && P.c(), c = we();
6278
6278
  },
6279
- m(P, k) {
6280
- te(t, P, k), B(P, e, k), g && g.m(P, k), B(P, i, k), te(s, P, k), B(P, o, k), m && m.m(P, k), B(P, r, k), v && v.m(P, k), B(P, a, k), y && y.m(P, k), B(P, l, k), E && E.m(P, k), B(P, c, k), h = !0;
6279
+ m(E, k) {
6280
+ te(t, E, k), B(E, e, k), g && g.m(E, k), B(E, i, k), te(s, E, k), B(E, o, k), m && m.m(E, k), B(E, r, k), v && v.m(E, k), B(E, a, k), y && y.m(E, k), B(E, l, k), P && P.m(E, k), B(E, c, k), h = !0;
6281
6281
  },
6282
- p(P, k) {
6282
+ p(E, k) {
6283
6283
  const I = k & /*floorIndex, floorplanData*/
6284
6284
  2052 ? wt(u, [
6285
6285
  {
6286
6286
  floorIndex: (
6287
6287
  /*floorIndex*/
6288
- P[2]
6288
+ E[2]
6289
6289
  ),
6290
6290
  floorplanData: (
6291
6291
  /*floorplanData*/
6292
- P[11]
6292
+ E[11]
6293
6293
  )
6294
6294
  }
6295
6295
  ]) : {};
6296
6296
  t.$set(I), /*highlightEnable*/
6297
- P[3] || /*hoverEnable*/
6298
- P[5] ? g ? (g.p(P, k), k & /*highlightEnable, hoverEnable*/
6299
- 40 && x(g, 1)) : (g = Nc(P), g.c(), x(g, 1), g.m(i.parentNode, i)) : g && (ue(), O(g, 1, 1, () => {
6297
+ E[3] || /*hoverEnable*/
6298
+ E[5] ? g ? (g.p(E, k), k & /*highlightEnable, hoverEnable*/
6299
+ 40 && x(g, 1)) : (g = Nc(E), g.c(), x(g, 1), g.m(i.parentNode, i)) : g && (ue(), O(g, 1, 1, () => {
6300
6300
  g = null;
6301
6301
  }), fe());
6302
6302
  const j = k & /*floorplanData, floorIndex*/
@@ -6304,40 +6304,40 @@ function Jv(n) {
6304
6304
  {
6305
6305
  floorplanData: (
6306
6306
  /*floorplanData*/
6307
- P[11]
6307
+ E[11]
6308
6308
  ),
6309
6309
  floorIndex: (
6310
6310
  /*floorIndex*/
6311
- P[2]
6311
+ E[2]
6312
6312
  )
6313
6313
  }
6314
6314
  ]) : {};
6315
6315
  s.$set(j), /*roomLabelsEnable*/
6316
- P[6] ? m ? (m.p(P, k), k & /*roomLabelsEnable*/
6317
- 64 && x(m, 1)) : (m = Qc(P), m.c(), x(m, 1), m.m(r.parentNode, r)) : m && (ue(), O(m, 1, 1, () => {
6316
+ E[6] ? m ? (m.p(E, k), k & /*roomLabelsEnable*/
6317
+ 64 && x(m, 1)) : (m = Qc(E), m.c(), x(m, 1), m.m(r.parentNode, r)) : m && (ue(), O(m, 1, 1, () => {
6318
6318
  m = null;
6319
6319
  }), fe()), /*ruleLabelsEnable*/
6320
- P[10] ? v ? (v.p(P, k), k & /*ruleLabelsEnable*/
6321
- 1024 && x(v, 1)) : (v = Gc(P), v.c(), x(v, 1), v.m(a.parentNode, a)) : v && (ue(), O(v, 1, 1, () => {
6320
+ E[10] ? v ? (v.p(E, k), k & /*ruleLabelsEnable*/
6321
+ 1024 && x(v, 1)) : (v = Gc(E), v.c(), x(v, 1), v.m(a.parentNode, a)) : v && (ue(), O(v, 1, 1, () => {
6322
6322
  v = null;
6323
6323
  }), fe()), /*cameraEnable*/
6324
- P[4] ? y ? (y.p(P, k), k & /*cameraEnable*/
6325
- 16 && x(y, 1)) : (y = Fc(P), y.c(), x(y, 1), y.m(l.parentNode, l)) : y && (ue(), O(y, 1, 1, () => {
6324
+ E[4] ? y ? (y.p(E, k), k & /*cameraEnable*/
6325
+ 16 && x(y, 1)) : (y = Fc(E), y.c(), x(y, 1), y.m(l.parentNode, l)) : y && (ue(), O(y, 1, 1, () => {
6326
6326
  y = null;
6327
6327
  }), fe()), /*compassEnable*/
6328
- P[22] ? E ? (E.p(P, k), k & /*compassEnable*/
6329
- 4194304 && x(E, 1)) : (E = _c(P), E.c(), x(E, 1), E.m(c.parentNode, c)) : E && (ue(), O(E, 1, 1, () => {
6330
- E = null;
6328
+ E[22] ? P ? (P.p(E, k), k & /*compassEnable*/
6329
+ 4194304 && x(P, 1)) : (P = _c(E), P.c(), x(P, 1), P.m(c.parentNode, c)) : P && (ue(), O(P, 1, 1, () => {
6330
+ P = null;
6331
6331
  }), fe());
6332
6332
  },
6333
- i(P) {
6334
- h || (x(t.$$.fragment, P), x(g), x(s.$$.fragment, P), x(m), x(v), x(y), x(E), h = !0);
6333
+ i(E) {
6334
+ h || (x(t.$$.fragment, E), x(g), x(s.$$.fragment, E), x(m), x(v), x(y), x(P), h = !0);
6335
6335
  },
6336
- o(P) {
6337
- O(t.$$.fragment, P), O(g), O(s.$$.fragment, P), O(m), O(v), O(y), O(E), h = !1;
6336
+ o(E) {
6337
+ O(t.$$.fragment, E), O(g), O(s.$$.fragment, E), O(m), O(v), O(y), O(P), h = !1;
6338
6338
  },
6339
- d(P) {
6340
- ie(t, P), P && z(e), g && g.d(P), P && z(i), ie(s, P), P && z(o), m && m.d(P), P && z(r), v && v.d(P), P && z(a), y && y.d(P), P && z(l), E && E.d(P), P && z(c);
6339
+ d(E) {
6340
+ ie(t, E), E && z(e), g && g.d(E), E && z(i), ie(s, E), E && z(o), m && m.d(E), E && z(r), v && v.d(E), E && z(a), y && y.d(E), E && z(l), P && P.d(E), E && z(c);
6341
6341
  }
6342
6342
  };
6343
6343
  }
@@ -6758,10 +6758,10 @@ function Kv(n) {
6758
6758
  };
6759
6759
  }
6760
6760
  function $v(n, t, e) {
6761
- 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: g } = t, { roomDimensionEnable: A } = t, { ruleLabelsEnable: p } = t, { floorplanData: m } = t, { getRoomAreaText: v } = t, { getRoomDimensionText: y } = t, { getLabelElement: E } = t, { getRuleDistanceText: P } = t, { adaptiveRoomLabelVisibleEnable: k } = t, { highlightData: I } = t, { missingFloorConfig: j } = t, { lastPanoramaLongitude: V } = t, { cameraImageUrl: W } = t, { northDesc: _ } = t, { compassEnable: N } = t;
6761
+ 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: g } = t, { roomDimensionEnable: A } = t, { ruleLabelsEnable: p } = t, { floorplanData: m } = t, { getRoomAreaText: v } = t, { getRoomDimensionText: y } = t, { getLabelElement: P } = t, { getRuleDistanceText: E } = t, { adaptiveRoomLabelVisibleEnable: k } = t, { highlightData: I } = t, { missingFloorConfig: j } = t, { lastPanoramaLongitude: V } = t, { cameraImageUrl: W } = t, { northDesc: _ } = t, { compassEnable: N } = t;
6762
6762
  const G = xl(void 0);
6763
6763
  return n.$$set = (H) => {
6764
- "panoIndex" in H && e(0, o = H.panoIndex), "isCurrent" in H && e(1, r = H.isCurrent), "floorIndex" in H && e(2, a = H.floorIndex), "highlightEnable" in H && e(3, l = H.highlightEnable), "cameraEnable" in H && e(4, c = H.cameraEnable), "hoverEnable" in H && e(5, h = H.hoverEnable), "roomLabelsEnable" in H && e(6, u = H.roomLabelsEnable), "roomAreaEnable" in H && e(7, f = H.roomAreaEnable), "roomNameEnable" in H && e(8, g = H.roomNameEnable), "roomDimensionEnable" in H && e(9, A = H.roomDimensionEnable), "ruleLabelsEnable" in H && e(10, p = H.ruleLabelsEnable), "floorplanData" in H && e(11, m = H.floorplanData), "getRoomAreaText" in H && e(12, v = H.getRoomAreaText), "getRoomDimensionText" in H && e(13, y = H.getRoomDimensionText), "getLabelElement" in H && e(14, E = H.getLabelElement), "getRuleDistanceText" in H && e(15, P = H.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in H && e(16, k = H.adaptiveRoomLabelVisibleEnable), "highlightData" in H && e(17, I = H.highlightData), "missingFloorConfig" in H && e(18, j = H.missingFloorConfig), "lastPanoramaLongitude" in H && e(19, V = H.lastPanoramaLongitude), "cameraImageUrl" in H && e(20, W = H.cameraImageUrl), "northDesc" in H && e(21, _ = H.northDesc), "compassEnable" in H && e(22, N = H.compassEnable);
6764
+ "panoIndex" in H && e(0, o = H.panoIndex), "isCurrent" in H && e(1, r = H.isCurrent), "floorIndex" in H && e(2, a = H.floorIndex), "highlightEnable" in H && e(3, l = H.highlightEnable), "cameraEnable" in H && e(4, c = H.cameraEnable), "hoverEnable" in H && e(5, h = H.hoverEnable), "roomLabelsEnable" in H && e(6, u = H.roomLabelsEnable), "roomAreaEnable" in H && e(7, f = H.roomAreaEnable), "roomNameEnable" in H && e(8, g = H.roomNameEnable), "roomDimensionEnable" in H && e(9, A = H.roomDimensionEnable), "ruleLabelsEnable" in H && e(10, p = H.ruleLabelsEnable), "floorplanData" in H && e(11, m = H.floorplanData), "getRoomAreaText" in H && e(12, v = H.getRoomAreaText), "getRoomDimensionText" in H && e(13, y = H.getRoomDimensionText), "getLabelElement" in H && e(14, P = H.getLabelElement), "getRuleDistanceText" in H && e(15, E = H.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in H && e(16, k = H.adaptiveRoomLabelVisibleEnable), "highlightData" in H && e(17, I = H.highlightData), "missingFloorConfig" in H && e(18, j = H.missingFloorConfig), "lastPanoramaLongitude" in H && e(19, V = H.lastPanoramaLongitude), "cameraImageUrl" in H && e(20, W = H.cameraImageUrl), "northDesc" in H && e(21, _ = H.northDesc), "compassEnable" in H && e(22, N = H.compassEnable);
6765
6765
  }, n.$$.update = () => {
6766
6766
  n.$$.dirty & /*floorplanData, floorIndex*/
6767
6767
  2052 && e(25, i = m.floorDatas[a]), n.$$.dirty & /*floorData*/
@@ -6781,8 +6781,8 @@ function $v(n, t, e) {
6781
6781
  m,
6782
6782
  v,
6783
6783
  y,
6784
- E,
6785
6784
  P,
6785
+ E,
6786
6786
  k,
6787
6787
  I,
6788
6788
  j,
@@ -7166,9 +7166,9 @@ function i0(n) {
7166
7166
  };
7167
7167
  }
7168
7168
  function n0(n, t, e) {
7169
- 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: g } = t, { roomNameEnable: A } = t, { roomDimensionEnable: p } = t, { ruleLabelsEnable: m } = t, { floorplanData: v } = t, { lastPanoramaLongitude: y } = t, { cameraImageUrl: E } = t, { getRoomAreaText: P } = t, { getRoomDimensionText: k } = t, { getLabelElement: I } = t, { getRuleDistanceText: j } = t, { adaptiveRoomLabelVisibleEnable: V } = t, { highlightData: W } = t, { missingFloorConfig: _ } = t;
7169
+ 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: g } = t, { roomNameEnable: A } = t, { roomDimensionEnable: p } = t, { ruleLabelsEnable: m } = t, { floorplanData: v } = t, { lastPanoramaLongitude: y } = t, { cameraImageUrl: P } = t, { getRoomAreaText: E } = t, { getRoomDimensionText: k } = t, { getLabelElement: I } = t, { getRuleDistanceText: j } = t, { adaptiveRoomLabelVisibleEnable: V } = t, { highlightData: W } = t, { missingFloorConfig: _ } = t;
7170
7170
  return n.$$set = (N) => {
7171
- "duration" in N && e(0, i = N.duration), "visible" in N && e(1, s = N.visible), "northDesc" in N && e(2, o = N.northDesc), "panoIndex" in N && e(3, r = N.panoIndex), "floorIndex" in N && e(4, a = N.floorIndex), "cameraEnable" in N && e(5, l = N.cameraEnable), "hoverEnable" in N && e(6, c = N.hoverEnable), "highlightEnable" in N && e(7, h = N.highlightEnable), "compassEnable" in N && e(8, u = N.compassEnable), "roomLabelsEnable" in N && e(9, f = N.roomLabelsEnable), "roomAreaEnable" in N && e(10, g = N.roomAreaEnable), "roomNameEnable" in N && e(11, A = N.roomNameEnable), "roomDimensionEnable" in N && e(12, p = N.roomDimensionEnable), "ruleLabelsEnable" in N && e(13, m = N.ruleLabelsEnable), "floorplanData" in N && e(14, v = N.floorplanData), "lastPanoramaLongitude" in N && e(15, y = N.lastPanoramaLongitude), "cameraImageUrl" in N && e(16, E = N.cameraImageUrl), "getRoomAreaText" in N && e(17, P = N.getRoomAreaText), "getRoomDimensionText" in N && e(18, k = N.getRoomDimensionText), "getLabelElement" in N && e(19, I = N.getLabelElement), "getRuleDistanceText" in N && e(20, j = N.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in N && e(21, V = N.adaptiveRoomLabelVisibleEnable), "highlightData" in N && e(22, W = N.highlightData), "missingFloorConfig" in N && e(23, _ = N.missingFloorConfig);
7171
+ "duration" in N && e(0, i = N.duration), "visible" in N && e(1, s = N.visible), "northDesc" in N && e(2, o = N.northDesc), "panoIndex" in N && e(3, r = N.panoIndex), "floorIndex" in N && e(4, a = N.floorIndex), "cameraEnable" in N && e(5, l = N.cameraEnable), "hoverEnable" in N && e(6, c = N.hoverEnable), "highlightEnable" in N && e(7, h = N.highlightEnable), "compassEnable" in N && e(8, u = N.compassEnable), "roomLabelsEnable" in N && e(9, f = N.roomLabelsEnable), "roomAreaEnable" in N && e(10, g = N.roomAreaEnable), "roomNameEnable" in N && e(11, A = N.roomNameEnable), "roomDimensionEnable" in N && e(12, p = N.roomDimensionEnable), "ruleLabelsEnable" in N && e(13, m = N.ruleLabelsEnable), "floorplanData" in N && e(14, v = N.floorplanData), "lastPanoramaLongitude" in N && e(15, y = N.lastPanoramaLongitude), "cameraImageUrl" in N && e(16, P = N.cameraImageUrl), "getRoomAreaText" in N && e(17, E = N.getRoomAreaText), "getRoomDimensionText" in N && e(18, k = N.getRoomDimensionText), "getLabelElement" in N && e(19, I = N.getLabelElement), "getRuleDistanceText" in N && e(20, j = N.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in N && e(21, V = N.adaptiveRoomLabelVisibleEnable), "highlightData" in N && e(22, W = N.highlightData), "missingFloorConfig" in N && e(23, _ = N.missingFloorConfig);
7172
7172
  }, [
7173
7173
  i,
7174
7174
  s,
@@ -7186,8 +7186,8 @@ function n0(n, t, e) {
7186
7186
  m,
7187
7187
  v,
7188
7188
  y,
7189
- E,
7190
7189
  P,
7190
+ E,
7191
7191
  k,
7192
7192
  I,
7193
7193
  j,
@@ -7344,7 +7344,7 @@ let nn = class {
7344
7344
  /**
7345
7345
  * @realsee/dnalogel 版本号
7346
7346
  */
7347
- d(this, "VERSION", "3.27.0");
7347
+ d(this, "VERSION", "3.27.2");
7348
7348
  d(this, "five");
7349
7349
  /**
7350
7350
  * @description: 插件事件钩子
@@ -8471,31 +8471,31 @@ function E0(n) {
8471
8471
  return `rotate(${Math.floor(n / Math.PI * 180) * -1 + 45}deg)`;
8472
8472
  }
8473
8473
  function M0(n, t, e) {
8474
- var y, E;
8475
- 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, g = (E = (y = a.work.observers[a.getCurrentState().panoIndex]) == null ? void 0 : y.floorIndex) != null ? E : 0;
8476
- function A(P, k) {
8477
- const I = P.bounding, j = P.observers[k];
8474
+ var y, P;
8475
+ 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, g = (P = (y = a.work.observers[a.getCurrentState().panoIndex]) == null ? void 0 : y.floorIndex) != null ? P : 0;
8476
+ function A(E, k) {
8477
+ const I = E.bounding, j = E.observers[k];
8478
8478
  if (!j)
8479
8479
  return "";
8480
8480
  const V = (I.max.x - I.min.x) * l, W = (I.max.y - I.min.y) * l, _ = Math.floor(j.positionInImage.x * V), N = Math.floor(j.positionInImage.y * W);
8481
8481
  return `translate(${_}px, ${N}px)`;
8482
8482
  }
8483
- function p(P) {
8484
- e(7, u = P);
8483
+ function p(E) {
8484
+ e(7, u = E);
8485
8485
  }
8486
- function m(P) {
8487
- e(9, g = a.work.observers[P].floorIndex);
8486
+ function m(E) {
8487
+ e(9, g = a.work.observers[E].floorIndex);
8488
8488
  }
8489
8489
  const v = jl(
8490
- (P) => {
8491
- e(8, f = P.longitude);
8490
+ (E) => {
8491
+ e(8, f = E.longitude);
8492
8492
  },
8493
8493
  1e3 / 60
8494
8494
  );
8495
8495
  return Et(() => (a.on("panoWillArrive", p), a.on("panoArrived", m), a.on("cameraDirectionUpdate", v), function() {
8496
8496
  a.off("panoWillArrive", p), a.off("panoArrived", m), a.off("cameraDirectionUpdate", v);
8497
- })), n.$$set = (P) => {
8498
- "five" in P && e(4, a = P.five), "pxmm" in P && e(5, l = P.pxmm), "floorplanData" in P && e(6, c = P.floorplanData), "cameraImageUrl" in P && e(0, h = P.cameraImageUrl);
8497
+ })), n.$$set = (E) => {
8498
+ "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);
8499
8499
  }, n.$$.update = () => {
8500
8500
  n.$$.dirty & /*floorplanData, floorIndex*/
8501
8501
  576 && e(10, i = c.floorDatas[g]), n.$$.dirty & /*floorData*/
@@ -9114,8 +9114,8 @@ function H0(n) {
9114
9114
  };
9115
9115
  }
9116
9116
  function N0(n, t, e) {
9117
- var P, k;
9118
- 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 = (k = (P = i.work.observers[i.getCurrentState().panoIndex]) == null ? void 0 : P.floorIndex) != null ? k : 0, g = 0, A = 0, p = 0, m = 0;
9117
+ var E, k;
9118
+ 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 = (k = (E = i.work.observers[i.getCurrentState().panoIndex]) == null ? void 0 : E.floorIndex) != null ? k : 0, g = 0, A = 0, p = 0, m = 0;
9119
9119
  function v(I) {
9120
9120
  e(12, f = i.work.observers[I].floorIndex);
9121
9121
  }
@@ -9124,7 +9124,7 @@ function N0(n, t, e) {
9124
9124
  }));
9125
9125
  const y = (I) => {
9126
9126
  e(8, g = I.detail);
9127
- }, E = (I) => {
9127
+ }, P = (I) => {
9128
9128
  e(9, A = I.detail);
9129
9129
  };
9130
9130
  return n.$$set = (I) => {
@@ -9153,7 +9153,7 @@ function N0(n, t, e) {
9153
9153
  f,
9154
9154
  m,
9155
9155
  y,
9156
- E
9156
+ P
9157
9157
  ];
9158
9158
  }
9159
9159
  class Q0 extends ce {
@@ -9444,16 +9444,16 @@ const ex = (n, t) => {
9444
9444
  let o = { x: 0, y: 0, z: 0 }, r = [0, 0, 0], a = 1, l = i;
9445
9445
  n.on("modelLoaded", A);
9446
9446
  const c = (m) => Q(void 0, null, function* () {
9447
- var P;
9447
+ var E;
9448
9448
  const v = (m == null ? void 0 : m.fbx_url) || e;
9449
- if (l = (P = m == null ? void 0 : m.north_rad) != null ? P : i, typeof l != "number")
9449
+ if (l = (E = m == null ? void 0 : m.north_rad) != null ? E : i, typeof l != "number")
9450
9450
  throw new Error('"northRad"配置参数缺失:未配置指南针指向!');
9451
- const E = yield new Ku().loadAsync(v);
9452
- return _f(E, {
9451
+ const P = yield new Ku().loadAsync(v);
9452
+ return _f(P, {
9453
9453
  transparent: !0,
9454
9454
  side: w.DoubleSide,
9455
9455
  blending: w.AdditiveBlending
9456
- }), s.object = E, A(), !0;
9456
+ }), s.object = P, A(), !0;
9457
9457
  }), h = ({ latitude: m }) => {
9458
9458
  if (!s.object)
9459
9459
  return;
@@ -9479,11 +9479,11 @@ const ex = (n, t) => {
9479
9479
  const m = s.object;
9480
9480
  if (!m)
9481
9481
  return;
9482
- const v = n.model.bounding, y = v.max.x - v.min.x, E = v.max.z - v.min.z, P = Math.max(y, E), {
9482
+ const v = n.model.bounding, y = v.max.x - v.min.x, P = v.max.z - v.min.z, E = Math.max(y, P), {
9483
9483
  max: { x: k, z: I },
9484
9484
  min: { x: j, y: V, z: W }
9485
9485
  } = v;
9486
- s.yBase = V, o = { x: (k + j) / 2, y: V - 1.6, z: (I + W) / 2 }, r = [0, l - Math.PI / 2, 0], a = 45e-4 * P, F0(m, { position: o, rotation: r, scale: a });
9486
+ s.yBase = V, o = { x: (k + j) / 2, y: V - 1.6, z: (I + W) / 2 }, r = [0, l - Math.PI / 2, 0], a = 45e-4 * E, F0(m, { position: o, rotation: r, scale: a });
9487
9487
  }
9488
9488
  return { load: c, disable: g, enable: f };
9489
9489
  };
@@ -9498,14 +9498,14 @@ const W0 = ({ x: n, y: t, z: e }) => new oe(n, t, e), tx = (n, t) => {
9498
9498
  var p, m, v;
9499
9499
  const e = {}, i = (p = t.animationEnabled) != null ? p : !0, s = (m = t.position) != null ? m : void 0, o = (v = t.rad) != null ? v : void 0, r = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", a = [], l = (y) => Q(void 0, null, function* () {
9500
9500
  var _, N, G, H, F, U, X, J;
9501
- const E = (_ = y == null ? void 0 : y.position) != null ? _ : s;
9502
- if (!E)
9501
+ const P = (_ = y == null ? void 0 : y.position) != null ? _ : s;
9502
+ if (!P)
9503
9503
  return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
9504
- const P = W0(E), k = (N = y == null ? void 0 : y.rad) != null ? N : o, I = (G = y == null ? void 0 : y.fbx_url) != null ? G : r;
9504
+ const E = W0(P), k = (N = y == null ? void 0 : y.rad) != null ? N : o, I = (G = y == null ? void 0 : y.fbx_url) != null ? G : r;
9505
9505
  if (e.rad = k, k === void 0)
9506
9506
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${k}`));
9507
9507
  const j = yield new Ku().loadAsync(I);
9508
- j.position.copy(P), j.rotation.z = k, j.scale.set(0.8, 0.8, 0.8), _f(j, { transparent: !0, side: w.DoubleSide });
9508
+ j.position.copy(E), j.rotation.z = k, j.scale.set(0.8, 0.8, 0.8), _f(j, { transparent: !0, side: w.DoubleSide });
9509
9509
  const V = (X = (U = (F = (H = j.children) == null ? void 0 : H[0]) == null ? void 0 : F.children) == null ? void 0 : U[3]) == null ? void 0 : X.clone();
9510
9510
  if (!V)
9511
9511
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${V}`));
@@ -9516,10 +9516,10 @@ const W0 = ({ x: n, y: t, z: e }) => new oe(n, t, e), tx = (n, t) => {
9516
9516
  return;
9517
9517
  if (!e.object)
9518
9518
  return console.error("ModelEntryDoorGuidePlugin.initAnimation(): state.object is ", e.object);
9519
- const y = 1, E = new Pm(e.object);
9520
- a.push(E);
9521
- const P = E.clipAction(e.object.animations[0]);
9522
- P.timeScale = y;
9519
+ const y = 1, P = new Pm(e.object);
9520
+ a.push(P);
9521
+ const E = P.clipAction(e.object.animations[0]);
9522
+ E.timeScale = y;
9523
9523
  let k;
9524
9524
  const I = () => {
9525
9525
  let _ = 0, N = 0;
@@ -9532,18 +9532,18 @@ const W0 = ({ x: n, y: t, z: e }) => new oe(n, t, e), tx = (n, t) => {
9532
9532
  cancelAnimationFrame(_);
9533
9533
  };
9534
9534
  }, W = { play: () => {
9535
- k || (P.play(), k = I(), requestAnimationFrame(() => {
9535
+ k || (E.play(), k = I(), requestAnimationFrame(() => {
9536
9536
  e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
9537
9537
  }));
9538
9538
  }, stop: () => {
9539
- P.stop(), k == null || k(), k = void 0;
9539
+ E.stop(), k == null || k(), k = void 0;
9540
9540
  } };
9541
9541
  e.animation = W;
9542
9542
  }, h = (y) => {
9543
- var P;
9543
+ var E;
9544
9544
  if (!e.object)
9545
9545
  return console.error("ModelEntryDoorGuidePlugin.enable(): object is ", e.object);
9546
- ((P = y == null ? void 0 : y.animationEnable) != null ? P : i) && (e.animation || c(), e.animation.play()), n.scene.add(e.object), n.needsRender = !0;
9546
+ ((E = y == null ? void 0 : y.animationEnable) != null ? E : i) && (e.animation || c(), e.animation.play()), n.scene.add(e.object), n.needsRender = !0;
9547
9547
  }, u = () => {
9548
9548
  e.object && (e.animation && e.animation.stop(), n.scene.remove(e.object), n.needsRender = !0);
9549
9549
  }, f = (y) => y === "Floorplan" ? h() : u();
@@ -9626,16 +9626,16 @@ const Za = (n, t, e) => {
9626
9626
  })), a.asyncEndCallback && (yield a.asyncEndCallback());
9627
9627
  const { from: u, to: f } = i(o);
9628
9628
  return yield new Promise((g) => {
9629
- const A = ({ progress: E }) => {
9630
- const P = {};
9631
- P.longitude = pa(u.longitude, f.longitude, E), P.latitude = pa(u.latitude, f.latitude, E), P.fov = pa(u.fov, f.fov, E), n.setState(P, !0);
9629
+ const A = ({ progress: P }) => {
9630
+ const E = {};
9631
+ E.longitude = pa(u.longitude, f.longitude, P), E.latitude = pa(u.latitude, f.latitude, P), E.fov = pa(u.fov, f.fov, P), n.setState(E, !0);
9632
9632
  }, p = () => {
9633
9633
  g(!0);
9634
9634
  }, m = () => {
9635
9635
  g(!1);
9636
9636
  }, v = o.rotateSpeed ? Math.ceil(Math.abs(f.longitude - u.longitude) / o.rotateSpeed * 1e3) : r, y = X0(v, Gt.Linear.None).onUpdate(A).onComplete(p).onDestroy(m);
9637
- o.rotation === ui.Loop && y.repeat(1 / 0).yoyo(!0), t.interruptCallback = (E = !0) => {
9638
- y.destroy(), t.interruptCallback = void 0, t.timeoutId && (clearTimeout(t.timeoutId), t.timeoutId = void 0), g(E);
9637
+ o.rotation === ui.Loop && y.repeat(1 / 0).yoyo(!0), t.interruptCallback = (P = !0) => {
9638
+ y.destroy(), t.interruptCallback = void 0, t.timeoutId && (clearTimeout(t.timeoutId), t.timeoutId = void 0), g(P);
9639
9639
  }, t.timeoutId = setTimeout(() => {
9640
9640
  t.interruptCallback && t.interruptCallback(!0);
9641
9641
  }, r);
@@ -9830,8 +9830,8 @@ const K0 = `<style type="text/css">
9830
9830
  const v = eb(p, n), y = n.work;
9831
9831
  if (!y)
9832
9832
  return !1;
9833
- for (const E in m) {
9834
- const P = m[E], { standingPosition: k } = y.observers[0], I = P.map(({ x: j, z: V, observers: W }) => {
9833
+ for (const P in m) {
9834
+ const E = m[P], { standingPosition: k } = y.observers[0], I = E.map(({ x: j, z: V, observers: W }) => {
9835
9835
  const _ = W.length > 0 ? p.rooms[p.observers[W[0]]].name : "", N = v[_] ? v[_].floor : null;
9836
9836
  let G = 1 / 0, H = {
9837
9837
  index: 0,
@@ -9855,35 +9855,35 @@ const K0 = `<style type="text/css">
9855
9855
  const U = v[_] ? v[_].roof : null, X = U ? new oe(j, U, V) : null;
9856
9856
  return X && Object.assign(X, { observers: W }), { origin: F, vertical: X };
9857
9857
  });
9858
- r[E] = {
9858
+ r[P] = {
9859
9859
  origins: I.map((j) => j.origin),
9860
9860
  rules: []
9861
9861
  };
9862
9862
  for (const { origin: j, vertical: V } of I) {
9863
9863
  if (!V)
9864
9864
  continue;
9865
- const W = i(E, j.distanceTo(V));
9866
- s.append(W), r[E].rules.push({ vertical: !0, rule: [j, V], $element: W });
9865
+ const W = i(P, j.distanceTo(V));
9866
+ s.append(W), r[P].rules.push({ vertical: !0, rule: [j, V], $element: W });
9867
9867
  }
9868
9868
  for (let j = 0; j < I.length; j++) {
9869
9869
  let V = j + 1;
9870
9870
  V >= I.length && (V = 0);
9871
- const { origin: W } = I[j], { origin: _ } = I[V], N = i(E, W.distanceTo(_));
9872
- s.append(N), r[E].rules.push({ vertical: !1, rule: [W, _], $element: N });
9871
+ const { origin: W } = I[j], { origin: _ } = I[V], N = i(P, W.distanceTo(_));
9872
+ s.append(N), r[P].rules.push({ vertical: !1, rule: [W, _], $element: N });
9873
9873
  }
9874
9874
  }
9875
9875
  return e.loaded = !0, !0;
9876
9876
  }, l = (p, m, v) => Q(void 0, null, function* () {
9877
- const y = p || t.roomInfo, E = m || t.roomRules;
9878
- if (!y || !E)
9877
+ const y = p || t.roomInfo, P = m || t.roomRules;
9878
+ if (!y || !P)
9879
9879
  throw new Error("标尺数据依赖不齐全!");
9880
- return e.loaded = !1, e.options = D(D({}, e.options), v || {}), n.model.loaded ? a(y, E) : yield new Promise(
9881
- (P) => n.once("modelLoaded", () => P(a(y, E)))
9880
+ return e.loaded = !1, e.options = D(D({}, e.options), v || {}), n.model.loaded ? a(y, P) : yield new Promise(
9881
+ (E) => n.once("modelLoaded", () => E(a(y, P)))
9882
9882
  );
9883
9883
  });
9884
9884
  t.roomInfo && t.roomRules && l(t.roomInfo, t.roomRules);
9885
9885
  const c = (p, m, v, y) => {
9886
- const E = [
9886
+ const P = [
9887
9887
  [
9888
9888
  { x: 0, y: 0 },
9889
9889
  { x: v, y: 0 }
@@ -9900,12 +9900,12 @@ const K0 = `<style type="text/css">
9900
9900
  { x: 0, y },
9901
9901
  { x: v, y }
9902
9902
  ]
9903
- ], P = [];
9904
- for (let k = 0; k < E.length; k++) {
9905
- const I = Uf([p, m], [E[k][0], E[k][1]], !0);
9906
- I && P.push(I);
9903
+ ], E = [];
9904
+ for (let k = 0; k < P.length; k++) {
9905
+ const I = Uf([p, m], [P[k][0], P[k][1]], !0);
9906
+ I && E.push(I);
9907
9907
  }
9908
- return P.length === 0 ? !1 : P;
9908
+ return E.length === 0 ? !1 : E;
9909
9909
  }, h = () => {
9910
9910
  var W;
9911
9911
  const p = (W = n.getElement()) == null ? void 0 : W.parentElement;
@@ -9914,16 +9914,16 @@ const K0 = `<style type="text/css">
9914
9914
  const { panoIndex: m, camera: v, currentMode: y } = n;
9915
9915
  if (m === void 0)
9916
9916
  return;
9917
- let E;
9917
+ let P;
9918
9918
  for (const _ in r)
9919
- _.split(",").indexOf(m.toString()) >= 0 && (E = _);
9920
- if (!E) {
9919
+ _.split(",").indexOf(m.toString()) >= 0 && (P = _);
9920
+ if (!P) {
9921
9921
  for (const _ in r)
9922
9922
  for (const { $element: N } of r[_].rules)
9923
9923
  N.style.display = "none";
9924
9924
  return;
9925
9925
  }
9926
- const P = v.position, k = v.getWorldDirection(new oe()), I = p.clientWidth, j = p.clientHeight;
9926
+ const E = v.position, k = v.getWorldDirection(new oe()), I = p.clientWidth, j = p.clientHeight;
9927
9927
  if (y !== dt.Mode.Panorama) {
9928
9928
  for (const _ in r)
9929
9929
  for (const { $element: N } of r[_].rules)
@@ -9932,12 +9932,12 @@ const K0 = `<style type="text/css">
9932
9932
  }
9933
9933
  for (const _ in r)
9934
9934
  for (const { $element: N } of r[_].rules)
9935
- N.style.display = _ === E ? "block" : "none";
9936
- const [V] = r[E].origins.slice().filter((_) => _.observers.indexOf(m) >= 0).sort((_, N) => {
9937
- const G = _.clone().setY(0).sub(P).normalize().angleTo(k.clone().setY(0)), H = N.clone().setY(0).sub(P).normalize().angleTo(k.clone().setY(0));
9935
+ N.style.display = _ === P ? "block" : "none";
9936
+ const [V] = r[P].origins.slice().filter((_) => _.observers.indexOf(m) >= 0).sort((_, N) => {
9937
+ const G = _.clone().setY(0).sub(E).normalize().angleTo(k.clone().setY(0)), H = N.clone().setY(0).sub(E).normalize().angleTo(k.clone().setY(0));
9938
9938
  return G - H;
9939
9939
  });
9940
- for (const { rule: _, vertical: N, $element: G } of r[E].rules) {
9940
+ for (const { rule: _, vertical: N, $element: G } of r[P].rules) {
9941
9941
  const [H, F] = _, U = G.querySelector(".PanoRulerPlugin-rule-line");
9942
9942
  if (!U)
9943
9943
  return;
@@ -9957,16 +9957,16 @@ const K0 = `<style type="text/css">
9957
9957
  G.style.display = "none";
9958
9958
  continue;
9959
9959
  }
9960
- if (H.clone().sub(P).normalize().angleTo(k) > Math.PI / 2) {
9960
+ if (H.clone().sub(E).normalize().angleTo(k) > Math.PI / 2) {
9961
9961
  G.style.display = "none";
9962
9962
  continue;
9963
9963
  }
9964
- if (F.clone().sub(P).normalize().angleTo(k) > Math.PI / 2) {
9964
+ if (F.clone().sub(E).normalize().angleTo(k) > Math.PI / 2) {
9965
9965
  G.style.display = "none";
9966
9966
  continue;
9967
9967
  }
9968
9968
  const $ = H.distanceTo(F);
9969
- if (F.clone().sub(F.clone().sub(H).divide(new oe(2, 2, 2))).distanceTo(P) / $ > 8) {
9969
+ if (F.clone().sub(F.clone().sub(H).divide(new oe(2, 2, 2))).distanceTo(E) / $ > 8) {
9970
9970
  G.style.display = "none";
9971
9971
  continue;
9972
9972
  }
@@ -9997,7 +9997,7 @@ const K0 = `<style type="text/css">
9997
9997
  const m = p.distanceText;
9998
9998
  e.options.distanceText = m, Object.values(r).forEach((v) => {
9999
9999
  v.rules.forEach((y) => {
10000
- const [E, P] = y.rule, k = E.distanceTo(P), I = y.$element.querySelector(".PanoRulerPlugin-rule-label-name");
10000
+ const [P, E] = y.rule, k = P.distanceTo(E), I = y.$element.querySelector(".PanoRulerPlugin-rule-label-name");
10001
10001
  I && (I.innerText = m(k));
10002
10002
  });
10003
10003
  });
@@ -10307,7 +10307,7 @@ function ab(n) {
10307
10307
  function lb(n, t, e) {
10308
10308
  var p, m, v, y;
10309
10309
  let { five: i } = t, { rulerDatas: s } = t, { options: o } = t, r = [];
10310
- const a = ((m = (p = i.getElement()) == null ? void 0 : p.parentElement) == null ? void 0 : m.clientWidth) || 0, l = ((y = (v = i.getElement()) == null ? void 0 : v.parentElement) == null ? void 0 : y.clientHeight) || 0, c = (E, P) => {
10310
+ const a = ((m = (p = i.getElement()) == null ? void 0 : p.parentElement) == null ? void 0 : m.clientWidth) || 0, l = ((y = (v = i.getElement()) == null ? void 0 : v.parentElement) == null ? void 0 : y.clientHeight) || 0, c = (P, E) => {
10311
10311
  const k = [
10312
10312
  [{ x: 0, y: 0 }, { x: a, y: 0 }],
10313
10313
  [{ x: 0, y: 0 }, { x: 0, y: l }],
@@ -10315,12 +10315,12 @@ function lb(n, t, e) {
10315
10315
  [{ x: 0, y: l }, { x: a, y: l }]
10316
10316
  ], I = [];
10317
10317
  for (let j = 0; j < k.length; j++) {
10318
- const V = Uf([E, P], [k[j][0], k[j][1]], !0);
10318
+ const V = Uf([P, E], [k[j][0], k[j][1]], !0);
10319
10319
  V && I.push(V);
10320
10320
  }
10321
10321
  return I.length === 0 ? !1 : I;
10322
- }, h = (E, P) => {
10323
- const k = E.clone().project(i.camera), I = (k.x + 1) / 2 * a, j = (-k.y + 1) / 2 * l, V = P.clone().project(i.camera), W = (V.x + 1) / 2 * a, _ = (-V.y + 1) / 2 * l, N = Math.sqrt(Math.pow(W - I, 2) + Math.pow(_ - j, 2));
10322
+ }, h = (P, E) => {
10323
+ const k = P.clone().project(i.camera), I = (k.x + 1) / 2 * a, j = (-k.y + 1) / 2 * l, V = E.clone().project(i.camera), W = (V.x + 1) / 2 * a, _ = (-V.y + 1) / 2 * l, N = Math.sqrt(Math.pow(W - I, 2) + Math.pow(_ - j, 2));
10324
10324
  return {
10325
10325
  startLeft: I,
10326
10326
  startTop: j,
@@ -10328,13 +10328,13 @@ function lb(n, t, e) {
10328
10328
  endTop: _,
10329
10329
  distance: N
10330
10330
  };
10331
- }, u = (E, P, k) => {
10332
- const I = i.camera.position, j = i.camera.getWorldDirection(new oe()), V = E.clone().sub(I).normalize().angleTo(j), W = P.clone().sub(I).normalize().angleTo(j), _ = E.distanceTo(P), G = P.clone().sub(P.clone().sub(E).divide(new oe(2, 2, 2))).distanceTo(I), { startLeft: H, startTop: F, endLeft: U, endTop: X, distance: J } = h(E, P), de = -((Math.PI / 2 - Math.atan2(U - H, F - X)) / Math.PI) * 180;
10331
+ }, u = (P, E, k) => {
10332
+ const I = i.camera.position, j = i.camera.getWorldDirection(new oe()), V = P.clone().sub(I).normalize().angleTo(j), W = E.clone().sub(I).normalize().angleTo(j), _ = P.distanceTo(E), G = E.clone().sub(E.clone().sub(P).divide(new oe(2, 2, 2))).distanceTo(I), { startLeft: H, startTop: F, endLeft: U, endTop: X, distance: J } = h(P, E), de = -((Math.PI / 2 - Math.atan2(U - H, F - X)) / Math.PI) * 180;
10333
10333
  let he = !0;
10334
- k || (he = !1), !bt(E, k) && !bt(P, k) && (he = !1), _ < 0.3 && (he = !1), V > Math.PI / 2 && (he = !1), W > Math.PI / 2 && (he = !1), G / _ > 8 && (he = !1);
10334
+ k || (he = !1), !bt(P, k) && !bt(E, k) && (he = !1), _ < 0.3 && (he = !1), V > Math.PI / 2 && (he = !1), W > Math.PI / 2 && (he = !1), G / _ > 8 && (he = !1);
10335
10335
  let Pe = 50, Ce = J;
10336
10336
  const be = c({ x: ~~H, y: ~~F }, { x: ~~U, y: ~~X });
10337
- if (be && be.length === 1 && (bt(E, k) ? (Ce = Math.sqrt(Math.pow(be[0].x - H, 2) + Math.pow(be[0].y - F, 2)), Pe = Ce / J * 50) : bt(P, k) && (Ce = Math.sqrt(Math.pow(be[0].x - U, 2) + Math.pow(be[0].y - X, 2)), Pe = 100 - Ce / J * 50)), be && be.length === 2) {
10337
+ if (be && be.length === 1 && (bt(P, k) ? (Ce = Math.sqrt(Math.pow(be[0].x - H, 2) + Math.pow(be[0].y - F, 2)), Pe = Ce / J * 50) : bt(E, k) && (Ce = Math.sqrt(Math.pow(be[0].x - U, 2) + Math.pow(be[0].y - X, 2)), Pe = 100 - Ce / J * 50)), be && be.length === 2) {
10338
10338
  const Qe = {
10339
10339
  x: (be[0].x + be[1].x) / 2,
10340
10340
  y: (be[0].y + be[1].y) / 2
@@ -10351,15 +10351,15 @@ function lb(n, t, e) {
10351
10351
  ruleLength: _
10352
10352
  };
10353
10353
  }, f = () => {
10354
- const E = i.panoIndex, P = s.find((N) => N.panoIndex === E);
10355
- if (!P)
10354
+ const P = i.panoIndex, E = s.find((N) => N.panoIndex === P);
10355
+ if (!E)
10356
10356
  return e(0, r = []);
10357
10357
  if (i.currentMode !== dt.Mode.Panorama)
10358
10358
  return e(0, r = []);
10359
- const k = i.camera.position, I = i.camera.getWorldDirection(new oe()), j = P.lines.map((N) => new oe(N.start[0], -N.start[1], -N.start[2])), V = P.lines.map((N) => new oe(N.end[0], -N.end[1], -N.end[2])), [W] = j.concat(V).sort((N, G) => {
10359
+ const k = i.camera.position, I = i.camera.getWorldDirection(new oe()), j = E.lines.map((N) => new oe(N.start[0], -N.start[1], -N.start[2])), V = E.lines.map((N) => new oe(N.end[0], -N.end[1], -N.end[2])), [W] = j.concat(V).sort((N, G) => {
10360
10360
  const H = N.clone().setY(0).sub(k).normalize().angleTo(I.clone().setY(0)), F = G.clone().setY(0).sub(k).normalize().angleTo(I.clone().setY(0));
10361
10361
  return H - F;
10362
- }), _ = P.lines.map((N) => {
10362
+ }), _ = E.lines.map((N) => {
10363
10363
  var Ce, be;
10364
10364
  const G = N.start, H = N.end, { startLeft: F, startTop: U, distance: X, deg: J, visible: $, labelOffset: de, ruleLength: he } = u(new oe(G[0], -G[1], -G[2]), new oe(H[0], -H[1], -H[2]), W), Pe = [];
10365
10365
  return N.children && ((Ce = N.children) == null ? void 0 : Ce.length) > 0 && ((be = N.children) == null || be.forEach((Qe) => {
@@ -10383,8 +10383,8 @@ function lb(n, t, e) {
10383
10383
  f(), i.on("panoArrived", f), i.on("modeChange", f), i.on("cameraDirectionUpdate", g), i.on("movingToPano", g), i.on("mouseWheel", () => A()), i.on("pinchGesture", () => A());
10384
10384
  }), Bt(() => {
10385
10385
  i.off("panoArrived", f), i.off("modeChange", f), i.off("cameraDirectionUpdate", g), i.off("movingToPano", g), i.off("mouseWheel", () => A()), i.off("pinchGesture", () => A());
10386
- }), n.$$set = (E) => {
10387
- "five" in E && e(1, i = E.five), "rulerDatas" in E && e(2, s = E.rulerDatas), "options" in E && e(3, o = E.options);
10386
+ }), n.$$set = (P) => {
10387
+ "five" in P && e(1, i = P.five), "rulerDatas" in P && e(2, s = P.rulerDatas), "options" in P && e(3, o = P.options);
10388
10388
  }, [r, i, s, o];
10389
10389
  }
10390
10390
  class cb extends ce {
@@ -10882,8 +10882,8 @@ class Db extends Jf {
10882
10882
  this.hide();
10883
10883
  return;
10884
10884
  }
10885
- const v = (f.x + 1) / 2 * s, y = -(f.y - 1) / 2 * o, P = -(Math.atan((g.y - A.y) / (g.x - A.x)) * 180) / Math.PI, k = this.containerDom.parentElement && this.contentDom.clientWidth > p ? -20 : 0;
10886
- this.containerDom.style.transform = `translate(${v}px, ${y}px) rotate(${P}deg) translateY(${k}px)`, this.show(), (j = this.params.userDistanceItem) == null || j.update({ line: this.line, polyline: this.line.getPolyline() });
10885
+ const v = (f.x + 1) / 2 * s, y = -(f.y - 1) / 2 * o, E = -(Math.atan((g.y - A.y) / (g.x - A.x)) * 180) / Math.PI, k = this.containerDom.parentElement && this.contentDom.clientWidth > p ? -20 : 0;
10886
+ this.containerDom.style.transform = `translate(${v}px, ${y}px) rotate(${E}deg) translateY(${k}px)`, this.show(), (j = this.params.userDistanceItem) == null || j.update({ line: this.line, polyline: this.line.getPolyline() });
10887
10887
  const I = this.getCurrentContent();
10888
10888
  this.contentDom.innerText = I;
10889
10889
  }
@@ -11852,18 +11852,18 @@ class Pi extends Ar {
11852
11852
  if (s != null && s.isPolygonMesh) {
11853
11853
  const v = this.model.areas.find((y) => y.polygon === s);
11854
11854
  if (v) {
11855
- const { x: y, y: E } = i[0].point.clone().project(this.five.camera), P = `${(y + 1) / 2 * 100}%`, k = `${(-E + 1) / 2 * 100}%`;
11856
- return this.chooseArea(v, { left: P, top: k }), !1;
11855
+ const { x: y, y: P } = i[0].point.clone().project(this.five.camera), E = `${(y + 1) / 2 * 100}%`, k = `${(-P + 1) / 2 * 100}%`;
11856
+ return this.chooseArea(v, { left: E, top: k }), !1;
11857
11857
  }
11858
11858
  }
11859
11859
  const [o] = this.five.model.intersectRaycaster(e);
11860
11860
  if (!o)
11861
11861
  return;
11862
11862
  const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new yt(a.x * l, a.y * c), u = this.model.getAllLines().map((v) => {
11863
- const [y, E] = v.points, P = y.position.clone().project(r), k = E.position.clone().project(r);
11864
- if (!Ki(P) && !Ki(k))
11863
+ const [y, P] = v.points, E = y.position.clone().project(r), k = P.position.clone().project(r);
11864
+ if (!Ki(E) && !Ki(k))
11865
11865
  return null;
11866
- const I = new yt(P.x * l, P.y * c), j = new yt(k.x * l, k.y * c);
11866
+ const I = new yt(E.x * l, E.y * c), j = new yt(k.x * l, k.y * c);
11867
11867
  return { id: v.id, points: [I, j] };
11868
11868
  }).filter((v) => !!v);
11869
11869
  if (u.length === 0)
@@ -12091,18 +12091,18 @@ class mh extends Ar {
12091
12091
  if (s instanceof $f) {
12092
12092
  const m = this.model.areas.find((v) => v.polygon === s);
12093
12093
  if (m) {
12094
- const { x: v, y } = i[0].point.clone().project(this.five.camera), E = `${(v + 1) / 2 * 100}%`, P = `${(-y + 1) / 2 * 100}%`;
12095
- return this.chooseArea(m, { left: E, top: P }), !1;
12094
+ const { x: v, y } = i[0].point.clone().project(this.five.camera), P = `${(v + 1) / 2 * 100}%`, E = `${(-y + 1) / 2 * 100}%`;
12095
+ return this.chooseArea(m, { left: P, top: E }), !1;
12096
12096
  }
12097
12097
  }
12098
12098
  const [o] = this.five.model.intersectRaycaster(e);
12099
12099
  if (!o)
12100
12100
  return;
12101
12101
  const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new yt(a.x * l, a.y * c), u = this.model.getAllLines().map((m) => {
12102
- const [v, y] = m.points, E = v.position.clone().project(r), P = y.position.clone().project(r);
12103
- if (!Ki(E) && !Ki(P))
12102
+ const [v, y] = m.points, P = v.position.clone().project(r), E = y.position.clone().project(r);
12103
+ if (!Ki(P) && !Ki(E))
12104
12104
  return null;
12105
- const k = new yt(E.x * l, E.y * c), I = new yt(P.x * l, P.y * c);
12105
+ const k = new yt(P.x * l, P.y * c), I = new yt(E.x * l, E.y * c);
12106
12106
  return { id: m.id, points: [k, I] };
12107
12107
  }).filter((m) => !!m);
12108
12108
  if (u.length === 0)
@@ -12460,8 +12460,8 @@ class vs extends Ar {
12460
12460
  const [A, p] = g.points, m = A.position.clone().project(s), v = p.position.clone().project(s);
12461
12461
  if (!Ki(m) && !Ki(v))
12462
12462
  return null;
12463
- const y = new yt(m.x * r, m.y * a), E = new yt(v.x * r, v.y * a);
12464
- return { id: g.id, points: [y, E] };
12463
+ const y = new yt(m.x * r, m.y * a), P = new yt(v.x * r, v.y * a);
12464
+ return { id: g.id, points: [y, P] };
12465
12465
  }).filter((g) => !!g);
12466
12466
  if (c.length === 0)
12467
12467
  return;
@@ -13980,41 +13980,41 @@ function T1(n) {
13980
13980
  t = S("div"), A && A.c(), e = K(), i = S("div"), s = S("div"), o = K(), r = S("div"), p && p.c(), a = K(), l = S("div"), m && m.c(), c = K(), h = S("div"), ne(u.$$.fragment), f = K(), v && v.c(), C(s, "class", "mask svelte-ldjbp8"), C(h, "class", "main-button svelte-ldjbp8"), q(h, "forbid", !/*allowAddPoint*/
13981
13981
  n[5]), C(l, "class", "controller svelte-ldjbp8"), C(r, "class", "center svelte-ldjbp8"), C(i, "class", "bottom svelte-ldjbp8"), C(t, "class", "Measure-Controller svelte-ldjbp8");
13982
13982
  },
13983
- m(y, E) {
13984
- B(y, t, E), A && A.m(t, null), L(t, e), L(t, i), L(i, s), L(i, o), L(i, r), p && p.m(r, null), L(r, a), L(r, l), m && m.m(l, null), L(l, c), L(l, h), te(u, h, null), L(l, f), v && v.m(l, null), g = !0;
13983
+ m(y, P) {
13984
+ B(y, t, P), A && A.m(t, null), L(t, e), L(t, i), L(i, s), L(i, o), L(i, r), p && p.m(r, null), L(r, a), L(r, l), m && m.m(l, null), L(l, c), L(l, h), te(u, h, null), L(l, f), v && v.m(l, null), g = !0;
13985
13985
  },
13986
- p(y, [E]) {
13986
+ p(y, [P]) {
13987
13987
  /*showExit*/
13988
- y[1] ? A ? (A.p(y, E), E & /*showExit*/
13988
+ y[1] ? A ? (A.p(y, P), P & /*showExit*/
13989
13989
  2 && x(A, 1)) : (A = xh(y), A.c(), x(A, 1), A.m(t, e)) : A && (ue(), O(A, 1, 1, () => {
13990
13990
  A = null;
13991
13991
  }), fe()), /*measureController*/
13992
13992
  y[0].allowMeasureType.length >= 2 && /*buttonState*/
13993
- y[3] === "start" ? p ? (p.p(y, E), E & /*measureController, buttonState*/
13993
+ y[3] === "start" ? p ? (p.p(y, P), P & /*measureController, buttonState*/
13994
13994
  9 && x(p, 1)) : (p = Dh(y), p.c(), x(p, 1), p.m(r, a)) : p && (ue(), O(p, 1, 1, () => {
13995
13995
  p = null;
13996
13996
  }), fe()), /*showButton*/
13997
- y[4] ? m ? (m.p(y, E), E & /*showButton*/
13997
+ y[4] ? m ? (m.p(y, P), P & /*showButton*/
13998
13998
  16 && x(m, 1)) : (m = Sh(y), m.c(), x(m, 1), m.m(l, c)) : m && (ue(), O(m, 1, 1, () => {
13999
13999
  m = null;
14000
14000
  }), fe());
14001
- const P = {};
14002
- E & /*buttonState*/
14003
- 8 && (P.onClick = /*func*/
14004
- y[14]), E & /*buttonState*/
14005
- 8 && (P.text = /*buttonTextMap*/
14001
+ const E = {};
14002
+ P & /*buttonState*/
14003
+ 8 && (E.onClick = /*func*/
14004
+ y[14]), P & /*buttonState*/
14005
+ 8 && (E.text = /*buttonTextMap*/
14006
14006
  y[6][
14007
14007
  /*buttonState*/
14008
14008
  y[3]
14009
- ]), E & /*buttonState*/
14010
- 8 && (P.color = /*buttonColorMap*/
14009
+ ]), P & /*buttonState*/
14010
+ 8 && (E.color = /*buttonColorMap*/
14011
14011
  y[7][
14012
14012
  /*buttonState*/
14013
14013
  y[3]
14014
- ]), u.$set(P), (!g || E & /*allowAddPoint*/
14014
+ ]), u.$set(E), (!g || P & /*allowAddPoint*/
14015
14015
  32) && q(h, "forbid", !/*allowAddPoint*/
14016
14016
  y[5]), /*showButton*/
14017
- y[4] ? v ? (v.p(y, E), E & /*showButton*/
14017
+ y[4] ? v ? (v.p(y, P), P & /*showButton*/
14018
14018
  16 && x(v, 1)) : (v = Th(y), v.c(), x(v, 1), v.m(l, null)) : v && (ue(), O(v, 1, 1, () => {
14019
14019
  v = null;
14020
14020
  }), fe());
@@ -14059,9 +14059,9 @@ function L1(n, t, e) {
14059
14059
  p("complete");
14060
14060
  }, y = () => {
14061
14061
  i.currentMeasureType === "area" && h === "complete" && p("add");
14062
- }, E = (_) => {
14062
+ }, P = (_) => {
14063
14063
  _.length;
14064
- }, P = () => {
14064
+ }, E = () => {
14065
14065
  p("start"), k("allow");
14066
14066
  }, k = (_) => {
14067
14067
  e(5, c = _ === "allow");
@@ -14071,9 +14071,9 @@ function L1(n, t, e) {
14071
14071
  _.isEmpty && p("start");
14072
14072
  };
14073
14073
  Et(() => {
14074
- i.hook.on("revoke", j), i.hook.on("measureTypeChange", I), i.hook.on("modeChange", P), i.hook.on("pointsChange", E), i.hook.on("allowAddPointStateChange", k), i.hook.on("readyComplete", v), i.hook.on("notReadyComplete", y), i.hook.on("complete", P);
14074
+ i.hook.on("revoke", j), i.hook.on("measureTypeChange", I), i.hook.on("modeChange", E), i.hook.on("pointsChange", P), i.hook.on("allowAddPointStateChange", k), i.hook.on("readyComplete", v), i.hook.on("notReadyComplete", y), i.hook.on("complete", E);
14075
14075
  }), Bt(() => {
14076
- i.hook.off("measureTypeChange", I), i.hook.off("modeChange", P), i.hook.off("allowAddPointStateChange", k), i.hook.off("readyComplete", v), i.hook.off("pointsChange", E), i.hook.off("notReadyComplete", y), i.hook.off("complete", P);
14076
+ i.hook.off("measureTypeChange", I), i.hook.off("modeChange", E), i.hook.off("allowAddPointStateChange", k), i.hook.off("readyComplete", v), i.hook.off("pointsChange", P), i.hook.off("notReadyComplete", y), i.hook.off("complete", E);
14077
14077
  });
14078
14078
  const V = () => i.revoke(), W = () => {
14079
14079
  h === "start" ? f() : h === "add" ? g() : (h === "end" || h === "complete") && m();
@@ -14299,9 +14299,9 @@ function R1(n) {
14299
14299
  function V1(n, t, e) {
14300
14300
  let { measureController: i } = t, { i18n: s = (y) => y } = t, { tips: o } = t, { tipStyle: r = {} } = t, { visible: a = !0 } = t, l = null;
14301
14301
  const c = (y) => {
14302
- const E = i.currentMeasureType;
14303
- let P = "";
14304
- return P = o[y], P === void 0 && (P = o[E][y]), P;
14302
+ const P = i.currentMeasureType;
14303
+ let E = "";
14304
+ return E = o[y], E === void 0 && (E = o[P][y]), E;
14305
14305
  }, h = (y) => {
14306
14306
  e(2, f = s(c(y)));
14307
14307
  }, u = () => {
@@ -14854,7 +14854,7 @@ function q1(n, t, e) {
14854
14854
  },
14855
14855
  100
14856
14856
  );
14857
- const E = (I) => {
14857
+ const P = (I) => {
14858
14858
  const j = Object.keys(f);
14859
14859
  let V = I.target;
14860
14860
  for (; V; ) {
@@ -14875,7 +14875,7 @@ function q1(n, t, e) {
14875
14875
  Et(() => {
14876
14876
  g.emit("initTag", { id: i });
14877
14877
  });
14878
- const P = ug.subscribe((I) => {
14878
+ const E = ug.subscribe((I) => {
14879
14879
  if (I === null)
14880
14880
  return;
14881
14881
  const [j, V] = I.split("-PanoSpatialTagPlugin-");
@@ -14889,7 +14889,7 @@ function q1(n, t, e) {
14889
14889
  Mf(() => {
14890
14890
  e(7, A = m.offsetWidth), e(8, p = m.offsetHeight), !y && e(10, v = !h);
14891
14891
  }), Bt(() => {
14892
- g.emit("destroyTag", { id: i }), P(), u();
14892
+ g.emit("destroyTag", { id: i }), E(), u();
14893
14893
  });
14894
14894
  function k(I) {
14895
14895
  _e[I ? "unshift" : "push"](() => {
@@ -14910,7 +14910,7 @@ function q1(n, t, e) {
14910
14910
  p,
14911
14911
  m,
14912
14912
  v,
14913
- E,
14913
+ P,
14914
14914
  h,
14915
14915
  u,
14916
14916
  f,
@@ -15109,7 +15109,7 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
15109
15109
  k(), ve && I();
15110
15110
  }, y = () => {
15111
15111
  p.forbidden && (p.forbidden = !1, I());
15112
- }, E = (ee, ve) => {
15112
+ }, P = (ee, ve) => {
15113
15113
  if (p.tags.length === 0)
15114
15114
  return;
15115
15115
  const je = ve.longitude - n.state.longitude, me = n.camera.clone();
@@ -15137,7 +15137,7 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
15137
15137
  xe.destroying && (xe.app.$destroy(), xe = null);
15138
15138
  }), p.tags = p.tags.filter((xe) => !xe.destroying), k();
15139
15139
  }, 1900);
15140
- }, P = (ee) => {
15140
+ }, E = (ee) => {
15141
15141
  ee !== dt.Mode.Panorama && !p.forbidden && (m.$set({ origins: [] }), p.tags.forEach((ve) => {
15142
15142
  ve.app.$destroy(), ve = null;
15143
15143
  }), p.origins = [], p.tags = [], p.forbidden = !0);
@@ -15289,11 +15289,11 @@ const Aa = 1e-3, Nh = 0.01, sy = "https://vrlab-image4.ljcdn.com/release/web/Pan
15289
15289
  }, X = () => {
15290
15290
  n.once("renderFrame", k);
15291
15291
  }, J = () => {
15292
- e || (e = n.getElement().parentElement), e && e.appendChild(f), p.forbidden = !1, i = n.model.bounding.getCenter(new w.Vector3()).y, I(), n.on("panoWillArrive", E), n.on("panoArrived", y), n.on("modeChange", P), n.on("cameraUpdate", v);
15292
+ e || (e = n.getElement().parentElement), e && e.appendChild(f), p.forbidden = !1, i = n.model.bounding.getCenter(new w.Vector3()).y, I(), n.on("panoWillArrive", P), n.on("panoArrived", y), n.on("modeChange", E), n.on("cameraUpdate", v);
15293
15293
  }, $ = () => {
15294
15294
  A = null, u.disposeAll(), m.$destroy(), p.tags.forEach((ee) => {
15295
15295
  ee.app.$destroy(), ee = null;
15296
- }), p.origins = [], p.tags = [], n.off("modelLoaded", J), n.off("renderFrame", k), n.off("panoWillArrive", E), n.off("panoArrived", y), n.off("modeChange", P), n.off("cameraUpdate", v), n.off("dispose", $), window.removeEventListener("resize", X, !1);
15296
+ }), p.origins = [], p.tags = [], n.off("modelLoaded", J), n.off("renderFrame", k), n.off("panoWillArrive", P), n.off("panoArrived", y), n.off("modeChange", E), n.off("cameraUpdate", v), n.off("dispose", $), window.removeEventListener("resize", X, !1);
15297
15297
  };
15298
15298
  return window.addEventListener("resize", X, !1), (Ze = n == null ? void 0 : n.model) != null && Ze.loaded ? J() : n.once("modelLoaded", J), n.on("dispose", $), {
15299
15299
  load: V,
@@ -15579,8 +15579,8 @@ function fy(n, t, e) {
15579
15579
  }, v = (H, F) => {
15580
15580
  const U = new s(F.modelPosition[0], F.modelPosition[1], F.modelPosition[2]), X = H.project2d(U), J = X == null ? void 0 : X.x, $ = X == null ? void 0 : X.y;
15581
15581
  return [J, $];
15582
- }, y = (H) => `translate(${H[0]}px, ${H[1]}px)`, E = (H, F) => A.length === 0 ? !1 : !!A.find((X) => H[0] >= X[0] - F && H[0] <= X[0] + F || H[1] >= X[1] - Fh && H[1] <= X[1] + Fh);
15583
- function P(H, F) {
15582
+ }, y = (H) => `translate(${H[0]}px, ${H[1]}px)`, P = (H, F) => A.length === 0 ? !1 : !!A.find((X) => H[0] >= X[0] - F && H[0] <= X[0] + F || H[1] >= X[1] - Fh && H[1] <= X[1] + Fh);
15583
+ function E(H, F) {
15584
15584
  switch (F) {
15585
15585
  case Pn.SMALL:
15586
15586
  return Math.ceil(-27.78 * H + 85);
@@ -15594,7 +15594,7 @@ function fy(n, t, e) {
15594
15594
  }
15595
15595
  const k = (H, F) => {
15596
15596
  const U = F.map((J) => {
15597
- const $ = v(H, J), de = J.name.length * uy, he = P(J.modelPosition[1], c), Ce = (r ? m(H, J) : !0) && !E([$[0], $[1] + he], de);
15597
+ const $ = v(H, J), de = J.name.length * uy, he = E(J.modelPosition[1], c), Ce = (r ? m(H, J) : !0) && !P([$[0], $[1] + he], de);
15598
15598
  if (!Ce)
15599
15599
  return se(D({}, J), { visible: Ce });
15600
15600
  A.push($);
@@ -15790,9 +15790,9 @@ const Ay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15790
15790
  if (!e.videoTexture)
15791
15791
  return;
15792
15792
  const y = () => {
15793
- var E;
15794
- e.videoTexture && ((E = e.videoTexture) == null || E.image.removeEventListener("timeupdate", y), e.videoTextureEnabled = !0, e.videoMeshes.forEach((P) => {
15795
- P.material.map !== e.videoTexture && (P.material.map = e.videoTexture);
15793
+ var P;
15794
+ e.videoTexture && ((P = e.videoTexture) == null || P.image.removeEventListener("timeupdate", y), e.videoTextureEnabled = !0, e.videoMeshes.forEach((E) => {
15795
+ E.material.map !== e.videoTexture && (E.material.map = e.videoTexture);
15796
15796
  }), n.needsRender = !0);
15797
15797
  };
15798
15798
  e.videoTexture.image.addEventListener("timeupdate", y), e.videoTexture && e.videoMeshes.length && (e.videoTexture.image.play(), e.videoTexture.image.onplay = () => {
@@ -15812,38 +15812,38 @@ const Ay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15812
15812
  v.geometry.dispose(), v.material.dispose(), n.scene.remove(v), e.videoTexture && e.videoTexture.image.pause();
15813
15813
  }), e.videoMeshes = [], n.needsRender = !0);
15814
15814
  }, c = () => e.rectPoints.map((v, y) => {
15815
- const E = new w.BufferGeometry(), P = 128, k = [];
15815
+ const P = new w.BufferGeometry(), E = 128, k = [];
15816
15816
  k.push(...v[0].toArray());
15817
- for (let G = 1; G < P; G++)
15817
+ for (let G = 1; G < E; G++)
15818
15818
  k.push(
15819
- v[0].x + (v[1].x - v[0].x) * G / P,
15820
- v[0].y + (v[1].y - v[0].y) * G / P,
15821
- v[0].z + (v[1].z - v[0].z) * G / P
15819
+ v[0].x + (v[1].x - v[0].x) * G / E,
15820
+ v[0].y + (v[1].y - v[0].y) * G / E,
15821
+ v[0].z + (v[1].z - v[0].z) * G / E
15822
15822
  );
15823
15823
  k.push(...v[1].toArray()), k.push(...v[2].toArray());
15824
- for (let G = 1; G < P; G++)
15824
+ for (let G = 1; G < E; G++)
15825
15825
  k.push(
15826
- v[2].x + (v[3].x - v[2].x) * G / P,
15827
- v[2].y + (v[3].y - v[2].y) * G / P,
15828
- v[2].z + (v[3].z - v[2].z) * G / P
15826
+ v[2].x + (v[3].x - v[2].x) * G / E,
15827
+ v[2].y + (v[3].y - v[2].y) * G / E,
15828
+ v[2].z + (v[3].z - v[2].z) * G / E
15829
15829
  );
15830
15830
  k.push(...v[3].toArray());
15831
15831
  const I = [];
15832
15832
  I.push(0, 1);
15833
- for (let G = 1; G < P; G++)
15834
- I.push(0, 1 - G / P);
15833
+ for (let G = 1; G < E; G++)
15834
+ I.push(0, 1 - G / E);
15835
15835
  I.push(0, 0), I.push(1, 0);
15836
- for (let G = 1; G < P; G++)
15837
- I.push(1, G / P);
15836
+ for (let G = 1; G < E; G++)
15837
+ I.push(1, G / E);
15838
15838
  I.push(1, 1);
15839
15839
  const j = [];
15840
- for (let G = 0; G < P; G++)
15841
- j.push(G, G + 1, P * 2 - G, G, P * 2 - G, P * 2 + 1 - G);
15842
- E.setAttribute("position", new w.BufferAttribute(new Float32Array(k), 3)), E.setAttribute("uv", new w.BufferAttribute(new Float32Array(I), 2)), E.setIndex(new w.BufferAttribute(new Uint32Array(j), 1));
15840
+ for (let G = 0; G < E; G++)
15841
+ j.push(G, G + 1, E * 2 - G, G, E * 2 - G, E * 2 + 1 - G);
15842
+ P.setAttribute("position", new w.BufferAttribute(new Float32Array(k), 3)), P.setAttribute("uv", new w.BufferAttribute(new Float32Array(I), 2)), P.setIndex(new w.BufferAttribute(new Uint32Array(j), 1));
15843
15843
  const V = new w.MeshBasicMaterial({
15844
15844
  map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
15845
15845
  side: w.DoubleSide
15846
- }), W = new w.Mesh(E, V);
15846
+ }), W = new w.Mesh(P, V);
15847
15847
  W.renderOrder = 1, W.name = `ModelTVVideoPlugin-${y}-${performance.now()}`;
15848
15848
  const _ = [v[1], v[2], v[3], v[0]], N = i.create3DDomContainer(_);
15849
15849
  if (N != null && N.container) {
@@ -15859,23 +15859,23 @@ const Ay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15859
15859
  const y = new w.TextureLoader().load(v);
15860
15860
  return y.minFilter = w.LinearFilter, y.magFilter = w.LinearFilter, y.format = w.RGBFormat, y;
15861
15861
  }, u = (v, y) => {
15862
- let E = y;
15863
- return new Promise((P, k) => {
15862
+ let P = y;
15863
+ return new Promise((E, k) => {
15864
15864
  const I = new XMLHttpRequest();
15865
15865
  I.onreadystatechange = () => {
15866
15866
  if (I.readyState === 4)
15867
15867
  if (I.status === 200) {
15868
15868
  const j = window.URL || window.webkitURL;
15869
- E = E || document.createElement("video"), E.crossOrigin = "anonymous", E.muted = !0, E.loop = !0, E.playsInline = !0, E.src = j.createObjectURL(I.response);
15870
- const V = new w.VideoTexture(E);
15871
- V.minFilter = w.LinearFilter, V.magFilter = w.LinearFilter, V.format = w.RGBFormat, P(Object.assign(V, { videoSource: v }));
15869
+ P = P || document.createElement("video"), P.crossOrigin = "anonymous", P.muted = !0, P.loop = !0, P.playsInline = !0, P.src = j.createObjectURL(I.response);
15870
+ const V = new w.VideoTexture(P);
15871
+ V.minFilter = w.LinearFilter, V.magFilter = w.LinearFilter, V.format = w.RGBFormat, E(Object.assign(V, { videoSource: v }));
15872
15872
  } else
15873
15873
  k(new Error("Video download Error: " + I.status));
15874
15874
  }, I.onerror = (j) => k(j), I.open("GET", v), I.responseType = "blob", I.send();
15875
15875
  });
15876
15876
  }, f = (v, y) => Q(void 0, null, function* () {
15877
- const { video_src: E, video_poster_src: P, points: k } = v;
15878
- e.videoSource = E, e.rectPoints = py(k).map((I) => I.map(({ x: j, y: V, z: W }) => new w.Vector3(j, V, W))), e.imageTexture = h(P), y && (e.videoElement = y), e.videoTexture = yield u(e.videoSource, e.videoElement), e.enabled = !!v.enable, e.enabled && a();
15877
+ const { video_src: P, video_poster_src: E, points: k } = v;
15878
+ e.videoSource = P, e.rectPoints = py(k).map((I) => I.map(({ x: j, y: V, z: W }) => new w.Vector3(j, V, W))), e.imageTexture = h(E), y && (e.videoElement = y), e.videoTexture = yield u(e.videoSource, e.videoElement), e.enabled = !!v.enable, e.enabled && a();
15879
15879
  }), g = (v) => {
15880
15880
  if (!e.enabled)
15881
15881
  return;
@@ -15888,13 +15888,13 @@ const Ay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
15888
15888
  if (!e.enabled)
15889
15889
  return;
15890
15890
  const v = n.camera.position;
15891
- if (s.forEach((y, E) => {
15892
- const P = y.css3DObject.position.clone(), k = P.clone().sub(v).normalize(), I = new w.Raycaster(v, k), j = n.model.intersectRaycaster(I)[0], V = P.distanceTo(v), W = 0.01;
15891
+ if (s.forEach((y, P) => {
15892
+ const E = y.css3DObject.position.clone(), k = E.clone().sub(v).normalize(), I = new w.Raycaster(v, k), j = n.model.intersectRaycaster(I)[0], V = E.distanceTo(v), W = 0.01;
15893
15893
  j && j.distance + W < V ? y.hide() : y.show();
15894
15894
  }), !r()) {
15895
- const y = e.rectPoints.find((E) => {
15896
- const P = E[0].clone().add(E[1]).add(E[2]).add(E[3]).divideScalar(4);
15897
- return E.map((k) => k.clone().add(P).divideScalar(2)).filter((k) => {
15895
+ const y = e.rectPoints.find((P) => {
15896
+ const E = P[0].clone().add(P[1]).add(P[2]).add(P[3]).divideScalar(4);
15897
+ return P.map((k) => k.clone().add(E).divideScalar(2)).filter((k) => {
15898
15898
  const I = k.distanceTo(v), j = new w.Raycaster(v, k.clone().sub(v).normalize()), V = n.model.intersectRaycaster(j)[0], W = 0.01;
15899
15899
  return !(V && V.distance + W < I);
15900
15900
  }).length >= 2;
@@ -16312,14 +16312,14 @@ function Ty(n, t, e) {
16312
16312
  }, y = (F) => {
16313
16313
  const { camera: U, model: X } = s, { x: J, y: $, z: de } = F.clone().project(U), he = (J + 1) / 2, Pe = (2 - ($ + 1)) / 2;
16314
16314
  return !!(Math.abs(de) < 1 && [he, Pe].every((ye) => ye < 1 && ye >= 0));
16315
- }, E = (F, U) => {
16315
+ }, P = (F, U) => {
16316
16316
  const X = new i(U.modelPosition[0], U.modelPosition[1], U.modelPosition[2]), J = F.project2d(X), $ = J == null ? void 0 : J.x, de = J == null ? void 0 : J.y;
16317
16317
  return [$, de];
16318
- }, P = (F, U) => {
16318
+ }, E = (F, U) => {
16319
16319
  const X = U.map(($) => {
16320
16320
  if (F.state.panoIndex !== $.panoIndex)
16321
16321
  return se(D({}, $), { visible: !1 });
16322
- const de = E(F, $);
16322
+ const de = P(F, $);
16323
16323
  $.name.length * Sy;
16324
16324
  const he = My($.modelPosition[1], l), Pe = F.currentMode === dt.Mode.Panorama ? y(new i($.position[0], $.position[1], $.position[2])) : !0, Ce = o ? v(F, $) : !1, be = Pe && !Ce;
16325
16325
  if (!be)
@@ -16340,7 +16340,7 @@ function Ty(n, t, e) {
16340
16340
  return de !== void 0 ? se(D({}, $), { zIndex: de * 10 }) : $;
16341
16341
  });
16342
16342
  }, k = () => {
16343
- p = [], e(1, u = P(s, u));
16343
+ p = [], e(1, u = E(s, u));
16344
16344
  }, I = () => {
16345
16345
  e(5, m = !1), j();
16346
16346
  }, j = fg(
@@ -16760,7 +16760,7 @@ class Wy extends Oy {
16760
16760
  }), this.fixDoorPosition();
16761
16761
  });
16762
16762
  d(this, "fixDoorPosition", () => {
16763
- var h, u, f, g, A, p, m, v, y, E, P, k;
16763
+ var h, u, f, g, A, p, m, v, y, P, E, k;
16764
16764
  const { panoIndex: e, camera: i } = this.five;
16765
16765
  if (e === null)
16766
16766
  return;
@@ -16789,7 +16789,7 @@ class Wy extends Oy {
16789
16789
  left: o * G / 100,
16790
16790
  top: r * H / 100,
16791
16791
  width: (y = (v = (m = U.children) == null ? void 0 : m[0]) == null ? void 0 : v.clientWidth) != null ? y : 0,
16792
- height: (k = (P = (E = U.children) == null ? void 0 : E[0]) == null ? void 0 : P.clientHeight) != null ? k : 0
16792
+ height: (k = (E = (P = U.children) == null ? void 0 : P[0]) == null ? void 0 : E.clientHeight) != null ? k : 0
16793
16793
  };
16794
16794
  Ny(X, J) && (I++, c[V].transform = `translate(-50%, ${(I - 1) * 100 - 50}%)`, c[N].transform = `translate(-50%, ${I * 100 - 50}%)`);
16795
16795
  }
@@ -16968,14 +16968,14 @@ function dw(n) {
16968
16968
  const a = Math.ceil(r.getLength() * 100);
16969
16969
  r.arcLengthDivisions = a;
16970
16970
  const l = r.getPoints(a), c = l.length, h = rw(l.map((I) => [I.x, I.z])), f = (c - 1) * aw * lw, g = 2 * c, A = g * cw, p = g * hw, m = new Uint32Array(f), v = new Float32Array(A), y = new Float32Array(p);
16971
- let E = 0, P = 0;
16971
+ let P = 0, E = 0;
16972
16972
  for (let I = 0; I < l.length; I++) {
16973
16973
  const [j, V] = h[I][0], W = l[I], { x: _, y: N, z: G } = W, H = new oe(_ + j * s, N + 0.05, G + V * s);
16974
16974
  v[I * 6 + 0] = H.x, v[I * 6 + 1] = H.y, v[I * 6 + 2] = H.z;
16975
16975
  const F = new oe(_ - j * s, N + 0.05, G - V * s);
16976
- v[I * 6 + 3] = F.x, v[I * 6 + 4] = F.y, v[I * 6 + 5] = F.z, E += I > 0 ? l[I - 1].clone().sub(l[I]).length() : 0;
16977
- const U = E / t / i;
16978
- if (P = U, y[I * 4 + 0] = 0, y[I * 4 + 1] = U, y[I * 4 + 2] = 1, y[I * 4 + 3] = U, n.skipPositions) {
16976
+ v[I * 6 + 3] = F.x, v[I * 6 + 4] = F.y, v[I * 6 + 5] = F.z, P += I > 0 ? l[I - 1].clone().sub(l[I]).length() : 0;
16977
+ const U = P / t / i;
16978
+ if (E = U, y[I * 4 + 0] = 0, y[I * 4 + 1] = U, y[I * 4 + 2] = 1, y[I * 4 + 3] = U, n.skipPositions) {
16979
16979
  const X = new w.Vector3().lerpVectors(H, F, 0.5);
16980
16980
  if (n.skipPositions.some(($) => $.distanceTo(X) < 0.26))
16981
16981
  continue;
@@ -16983,7 +16983,7 @@ function dw(n) {
16983
16983
  I !== l.length - 1 && (m[I * 6 + 0] = I * 2 + 0, m[I * 6 + 1] = I * 2 + 2, m[I * 6 + 2] = I * 2 + 1, m[I * 6 + 3] = I * 2 + 2, m[I * 6 + 4] = I * 2 + 3, m[I * 6 + 5] = I * 2 + 1);
16984
16984
  }
16985
16985
  const k = new w.BufferGeometry();
16986
- return k.setAttribute("position", new w.BufferAttribute(v, 3)), k.setAttribute("uv", new w.BufferAttribute(y, 2)), k.setIndex(new w.BufferAttribute(m, 1)), { geometry: k, maxU: P, curvePath: r, curvePoints: l };
16986
+ return k.setAttribute("position", new w.BufferAttribute(v, 3)), k.setAttribute("uv", new w.BufferAttribute(y, 2)), k.setIndex(new w.BufferAttribute(m, 1)), { geometry: k, maxU: E, curvePath: r, curvePoints: l };
16987
16987
  }
16988
16988
  function uw(n) {
16989
16989
  if (fw(n)) {
@@ -17780,8 +17780,8 @@ class Hl {
17780
17780
  if (g._hovered)
17781
17781
  continue;
17782
17782
  g._hovered = !0;
17783
- for (const E of (f = this.boundObject.hover) != null ? f : [])
17784
- E !== g && E._hovered && this.notify({ eventName: "unHover", object: E });
17783
+ for (const P of (f = this.boundObject.hover) != null ? f : [])
17784
+ P !== g && P._hovered && this.notify({ eventName: "unHover", object: P });
17785
17785
  }
17786
17786
  if (e === "unHover") {
17787
17787
  if (!g._hovered)
@@ -18196,37 +18196,37 @@ class Nw extends jw {
18196
18196
  return e.config;
18197
18197
  }
18198
18198
  const o = {}, r = {}, a = {};
18199
- this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([E, P]) => {
18199
+ this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([P, E]) => {
18200
18200
  var N, G;
18201
- const k = E, I = k.split("-"), j = E.startsWith("["), V = j ? I[0].slice(1, -1) : void 0, W = j ? I.slice(1) : I, _ = V ? ["PanoramaLike", "ModelLike"].includes(V) ? (N = r[V]) != null ? N : r[V] = {} : (G = a[V]) != null ? G : a[V] = {} : o;
18201
+ const k = P, I = k.split("-"), j = P.startsWith("["), V = j ? I[0].slice(1, -1) : void 0, W = j ? I.slice(1) : I, _ = V ? ["PanoramaLike", "ModelLike"].includes(V) ? (N = r[V]) != null ? N : r[V] = {} : (G = a[V]) != null ? G : a[V] = {} : o;
18202
18202
  if (!_[k]) {
18203
- if (W.length === 0 && (_[k] = P), W.length === 1) {
18203
+ if (W.length === 0 && (_[k] = E), W.length === 1) {
18204
18204
  const [H] = W;
18205
- (e.contentType === H || H === "Any") && (_[k] = P);
18205
+ (e.contentType === H || H === "Any") && (_[k] = E);
18206
18206
  }
18207
18207
  if (W.length === 2) {
18208
18208
  const [H = "Any", F = "Any"] = W;
18209
- H === "Mixin" && e.contentType === F && (_[k] = P), (e.stickType === H || H === "Any") && (e.contentType === F || F === "Any") && (_[k] = P);
18209
+ H === "Mixin" && e.contentType === F && (_[k] = E), (e.stickType === H || H === "Any") && (e.contentType === F || F === "Any") && (_[k] = E);
18210
18210
  }
18211
18211
  if (W.length === 3) {
18212
18212
  const [H = "Any", F, U] = W;
18213
18213
  if (F === "Audio" && e.contentType === "Audio") {
18214
18214
  const X = e;
18215
- (X.stickType === H || H === "Any") && X.data.appearance === U && (_[k] = P);
18215
+ (X.stickType === H || H === "Any") && X.data.appearance === U && (_[k] = E);
18216
18216
  }
18217
18217
  }
18218
18218
  }
18219
18219
  });
18220
18220
  const l = (y = e.initialConfig) != null ? y : {}, c = Re({}, xw, this.config.globalConfig, ...Object.values(o)), h = Re({}, c, l), u = {}, f = Object.values(dt.Mode);
18221
- td(r).forEach(([E, P]) => {
18221
+ td(r).forEach(([P, E]) => {
18222
18222
  f.forEach((k) => {
18223
- (E === "PanoramaLike" && Nt(k) || E === "ModelLike" && Ln(k)) && (u[k] = Re({}, c, ...Object.values(P), l, { _isMerged: !0 }));
18223
+ (P === "PanoramaLike" && Nt(k) || P === "ModelLike" && Ln(k)) && (u[k] = Re({}, c, ...Object.values(E), l, { _isMerged: !0 }));
18224
18224
  });
18225
- }), td(a).forEach(([E, P]) => {
18226
- u[E] = Re({}, c, ...Object.values(P), l, { _isMerged: !0 });
18225
+ }), td(a).forEach(([P, E]) => {
18226
+ u[P] = Re({}, c, ...Object.values(E), l, { _isMerged: !0 });
18227
18227
  });
18228
18228
  const g = se(D({}, h), { configWithFiveMode: u });
18229
- return ed(g), Object.values(u).forEach((E) => ed(E)), g._isMerged = !0, g;
18229
+ return ed(g), Object.values(u).forEach((P) => ed(P)), g._isMerged = !0, g;
18230
18230
  }
18231
18231
  }
18232
18232
  function Qw(n, t) {
@@ -18262,91 +18262,80 @@ class Gw extends Nw {
18262
18262
  return r.visible;
18263
18263
  {
18264
18264
  const a = [], l = (() => {
18265
- var g, A, p, m, v, y, E;
18266
- const c = this.getTagConfig(t);
18267
- console.log("getVisible", i.mode, c.initialState);
18268
- const h = c.initialState, u = t.__lastInitialState;
18269
- if (h.visible !== void 0 && h.visible !== (u == null ? void 0 : u.visible))
18270
- return {
18271
- value: h.visible,
18272
- checkedList: a,
18273
- reason: "initialState changed",
18274
- do_not_cache: !0
18275
- };
18276
- t.__lastInitialState = h;
18277
- const f = (g = c.visibleConfig) != null ? g : {};
18278
- if (typeof f == "function")
18265
+ var u, f, g, A, p, m, v;
18266
+ const h = (u = this.getTagConfig(t).visibleConfig) != null ? u : {};
18267
+ if (typeof h == "function")
18279
18268
  return {
18280
- value: f(this.five, { tag: t, distance: this.getDistance(t, i) }),
18269
+ value: h(this.five, { tag: t, distance: this.getDistance(t, i) }),
18281
18270
  checkedList: a,
18282
18271
  reason: "config function result"
18283
18272
  };
18284
- if (f.keep === "hidden")
18273
+ if (h.keep === "hidden")
18285
18274
  return { value: !1, checkedList: a, reason: "config.keep is hidden" };
18286
- if (f.keep === "visible")
18275
+ if (h.keep === "visible")
18287
18276
  return { value: !0, checkedList: a, reason: "config.keep is visible" };
18288
- if (f.visibleFiveMode !== void 0) {
18289
- const P = typeof f.visibleFiveMode == "function" ? f.visibleFiveMode(t) : f.visibleFiveMode;
18290
- let k = !1;
18291
- if (Array.isArray(P) ? k = P.includes(o) : P === "ModelLike" ? k = Ln(o) : P === "PanoramaLike" ? k = !Nt(o) : P === "all" ? k = !0 : typeof P == "string" && (k = P === o), k === !1)
18277
+ if (h.visibleFiveMode !== void 0) {
18278
+ const y = typeof h.visibleFiveMode == "function" ? h.visibleFiveMode(t) : h.visibleFiveMode;
18279
+ let P = !1;
18280
+ if (Array.isArray(y) ? P = y.includes(o) : y === "ModelLike" ? P = Ln(o) : y === "PanoramaLike" ? P = !Nt(o) : y === "all" ? P = !0 : typeof y == "string" && (P = y === o), P === !1)
18292
18281
  return {
18293
18282
  value: !1,
18294
18283
  checkedList: a,
18295
18284
  reason: "current mode is not included in visibleFiveMode",
18296
- visibleFiveMode: f.visibleFiveMode,
18285
+ visibleFiveMode: h.visibleFiveMode,
18297
18286
  mode: o
18298
18287
  };
18299
- } else if (f.visibleFiveMode === void 0 && ((A = this.five.getCurrentState()) == null ? void 0 : A.mode) !== ((m = (p = t.fiveState) == null ? void 0 : p.mode) != null ? m : "Panorama"))
18288
+ } else if (h.visibleFiveMode === void 0 && ((f = this.five.getCurrentState()) == null ? void 0 : f.mode) !== ((A = (g = t.fiveState) == null ? void 0 : g.mode) != null ? A : "Panorama"))
18300
18289
  return {
18301
18290
  value: !1,
18302
18291
  checkedList: a,
18303
18292
  reason: "current mode is not equal to tag.fiveState.mode",
18304
- tagFiveMode: (v = t.fiveState) == null ? void 0 : v.mode,
18293
+ tagFiveMode: (p = t.fiveState) == null ? void 0 : p.mode,
18305
18294
  mode: o
18306
18295
  };
18307
- if (f.followModelVisibility === !0 && (o === "Floorplan" || o === "Mapview") && this.getVisibleByFloorIndex(t) === !1)
18296
+ if (h.followModelVisibility === !0 && (o === "Floorplan" || o === "Mapview") && this.getVisibleByFloorIndex(t) === !1)
18308
18297
  return { value: !1, checkedList: a, reason: "followModelVisibility check failed" };
18309
- if (Nt(o) && f.visiblePanoIndex !== void 0 && f.visiblePanoIndex !== "all" && s !== void 0) {
18310
- if (a.push("visiblePanoIndex"), Array.isArray(f.visiblePanoIndex) && !f.visiblePanoIndex.includes(s))
18298
+ if (Nt(o) && h.visiblePanoIndex !== void 0 && h.visiblePanoIndex !== "all" && s !== void 0) {
18299
+ if (a.push("visiblePanoIndex"), Array.isArray(h.visiblePanoIndex) && !h.visiblePanoIndex.includes(s))
18311
18300
  return {
18312
18301
  value: !1,
18313
18302
  checkedList: a,
18314
- reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${s}, visiblePanoIndex: ${f.visiblePanoIndex}`
18303
+ reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${s}, visiblePanoIndex: ${h.visiblePanoIndex}`
18315
18304
  };
18316
- if (f.visiblePanoIndex === "current" && s !== ((y = t.fiveState) == null ? void 0 : y.panoIndex))
18305
+ if (h.visiblePanoIndex === "current" && s !== ((m = t.fiveState) == null ? void 0 : m.panoIndex))
18317
18306
  return {
18318
18307
  value: !1,
18319
18308
  checkedList: a,
18320
- reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${s}, tag.panoIndex: ${(E = t.fiveState) == null ? void 0 : E.panoIndex}`
18309
+ reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${s}, tag.panoIndex: ${(v = t.fiveState) == null ? void 0 : v.panoIndex}`
18321
18310
  };
18322
18311
  }
18323
- if (f.visibleDistance !== void 0 && (a.push("visibleDistance"), f.visibleDistance !== "unLimited")) {
18324
- const P = this.getDistance(t, i);
18325
- if (ys(P, f.visibleDistance) === !1)
18312
+ if (h.visibleDistance !== void 0 && (a.push("visibleDistance"), h.visibleDistance !== "unLimited")) {
18313
+ const y = this.getDistance(t, i);
18314
+ if (ys(y, h.visibleDistance) === !1)
18326
18315
  return {
18327
18316
  value: !1,
18328
18317
  checkedList: a,
18329
18318
  panoIndex: s,
18330
- visibleDistance: f.visibleDistance,
18331
- reason: `distance is not in visibleDistance. distance: ${P}, visibleDistance: ${f.visibleDistance.min} - ${f.visibleDistance.max}`
18319
+ visibleDistance: h.visibleDistance,
18320
+ reason: `distance is not in visibleDistance. distance: ${y}, visibleDistance: ${h.visibleDistance.min} - ${h.visibleDistance.max}`
18332
18321
  };
18333
18322
  }
18334
- if (Nt(o) && f.angleRange && Aw(t)) {
18323
+ if (Nt(o) && h.angleRange && Aw(t)) {
18335
18324
  a.push("angleRange");
18336
- const P = this.getAngle(t, s);
18337
- if (ys(P, f.angleRange) === !1)
18338
- return { value: !1, checkedList: a, reason: `angle is not in angleRange. angle: ${P}, angleRange: ${f.angleRange}` };
18325
+ const y = this.getAngle(t, s);
18326
+ if (ys(y, h.angleRange) === !1)
18327
+ return { value: !1, checkedList: a, reason: `angle is not in angleRange. angle: ${y}, angleRange: ${h.angleRange}` };
18339
18328
  }
18340
- if (f.intersectRaycaster !== !1 && (typeof f.intersectRaycaster != "object" || f.intersectRaycaster.enabled !== !1)) {
18329
+ if (h.intersectRaycaster !== !1 && (typeof h.intersectRaycaster != "object" || h.intersectRaycaster.enabled !== !1)) {
18341
18330
  if (a.push("intersectRaycaster"), s === void 0)
18342
18331
  return {
18343
18332
  value: !1,
18344
18333
  checkedList: a,
18345
18334
  reason: `intersectRaycaster check failed: panoIndex is ${s}`
18346
18335
  };
18347
- const P = this.getTagEnableByIntersect(t, s);
18348
- if (P.value === !1)
18349
- return Object.assign(P, { checkedList: a });
18336
+ const y = this.getTagEnableByIntersect(t, s);
18337
+ if (y.value === !1)
18338
+ return Object.assign(y, { checkedList: a });
18350
18339
  }
18351
18340
  return {
18352
18341
  value: !0,
@@ -18487,8 +18476,8 @@ class Gw extends Nw {
18487
18476
  return (_ = W.model) == null ? void 0 : _.object;
18488
18477
  }).filter(Me), [V] = Qo.intersectObjects(j, !0);
18489
18478
  return V;
18490
- })(), E = (h = i.distanceAccuracy) != null ? h : 0.01;
18491
- Math.min((u = v == null ? void 0 : v.distance) != null ? u : 1 / 0, (f = y == null ? void 0 : y.distance) != null ? f : 1 / 0) + E >= m ? a++ : l++;
18479
+ })(), P = (h = i.distanceAccuracy) != null ? h : 0.01;
18480
+ Math.min((u = v == null ? void 0 : v.distance) != null ? u : 1 / 0, (f = y == null ? void 0 : y.distance) != null ? f : 1 / 0) + P >= m ? a++ : l++;
18492
18481
  const I = (g = i.needPassed) != null ? g : 1;
18493
18482
  if (a >= I)
18494
18483
  return { value: !0 };
@@ -19136,7 +19125,7 @@ function tC(n, t, e) {
19136
19125
  }
19137
19126
  clearTimeout(g), g = setTimeout(v, I ? s : o);
19138
19127
  }
19139
- function E(I) {
19128
+ function P(I) {
19140
19129
  const j = function() {
19141
19130
  const V = Pw((W) => I[W].getBoundingClientRect().x, [Math.min(I.length - 1, 10), Math.min(I.length - 1, 30)]);
19142
19131
  if (V > 0)
@@ -19155,7 +19144,7 @@ function tC(n, t, e) {
19155
19144
  easing: "easeInOutCubic"
19156
19145
  }), a && A.seek(A.duration);
19157
19146
  }
19158
- function P(I, j) {
19147
+ function E(I, j) {
19159
19148
  _e[I ? "unshift" : "push"](() => {
19160
19149
  p[j] = I, e(1, p);
19161
19150
  });
@@ -19171,7 +19160,7 @@ function tC(n, t, e) {
19171
19160
  n.$$.dirty & /*content*/
19172
19161
  1 && e(2, i = m(r)), n.$$.dirty & /*unfolded*/
19173
19162
  256 && y(a), n.$$.dirty & /*spanEleList*/
19174
- 2 && E(p.filter((I) => !!I));
19163
+ 2 && P(p.filter((I) => !!I));
19175
19164
  }, [
19176
19165
  r,
19177
19166
  p,
@@ -19182,7 +19171,7 @@ function tC(n, t, e) {
19182
19171
  s,
19183
19172
  o,
19184
19173
  a,
19185
- P,
19174
+ E,
19186
19175
  k
19187
19176
  ];
19188
19177
  }
@@ -21255,8 +21244,8 @@ var To = bI, ir = {}, yI = {
21255
21244
  }
21256
21245
  };
21257
21246
  (function(n, t) {
21258
- var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", g = "[object Number]", A = "[object Object]", p = "[object Promise]", m = "[object RegExp]", v = "[object Set]", y = "[object String]", E = "[object Symbol]", P = "[object WeakMap]", k = "[object ArrayBuffer]", I = "[object DataView]", j = "[object Float32Array]", V = "[object Float64Array]", W = "[object Int8Array]", _ = "[object Int16Array]", N = "[object Int32Array]", G = "[object Uint8Array]", H = "[object Uint8ClampedArray]", F = "[object Uint16Array]", U = "[object Uint32Array]", X = /[\\^$.*+?()[\]{}|]/g, J = /\w*$/, $ = /^\[object .+?Constructor\]$/, de = /^(?:0|[1-9]\d*)$/, he = {};
21259
- he[o] = he[r] = he[k] = he[I] = he[a] = he[l] = he[j] = he[V] = he[W] = he[_] = he[N] = he[f] = he[g] = he[A] = he[m] = he[v] = he[y] = he[E] = he[G] = he[H] = he[F] = he[U] = !0, he[c] = he[h] = he[P] = !1;
21247
+ var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", g = "[object Number]", A = "[object Object]", p = "[object Promise]", m = "[object RegExp]", v = "[object Set]", y = "[object String]", P = "[object Symbol]", E = "[object WeakMap]", k = "[object ArrayBuffer]", I = "[object DataView]", j = "[object Float32Array]", V = "[object Float64Array]", W = "[object Int8Array]", _ = "[object Int16Array]", N = "[object Int32Array]", G = "[object Uint8Array]", H = "[object Uint8ClampedArray]", F = "[object Uint16Array]", U = "[object Uint32Array]", X = /[\\^$.*+?()[\]{}|]/g, J = /\w*$/, $ = /^\[object .+?Constructor\]$/, de = /^(?:0|[1-9]\d*)$/, he = {};
21248
+ he[o] = he[r] = he[k] = he[I] = he[a] = he[l] = he[j] = he[V] = he[W] = he[_] = he[N] = he[f] = he[g] = he[A] = he[m] = he[v] = he[y] = he[P] = he[G] = he[H] = he[F] = he[U] = !0, he[c] = he[h] = he[E] = !1;
21260
21249
  var Pe = typeof Ot == "object" && Ot && Ot.Object === Object && Ot, Ce = typeof self == "object" && self && self.Object === Object && self, be = Pe || Ce || Function("return this")(), Qe = t && !t.nodeType && t, ye = Qe && !0 && n && !n.nodeType && n, Ze = ye && ye.exports === Qe;
21261
21250
  function ee(b, M) {
21262
21251
  return b.set(M[0], M[1]), b;
@@ -21572,7 +21561,7 @@ var To = bI, ir = {}, yI = {
21572
21561
  return Ur(R) ? R : void 0;
21573
21562
  }
21574
21563
  var ai = is ? Ie(is, Object) : ra, li = Wr;
21575
- (ln && li(new ln(new ArrayBuffer(1))) != I || Oi && li(new Oi()) != f || Vt && li(Vt.resolve()) != p || cn && li(new cn()) != v || ns && li(new ns()) != P) && (li = function(b) {
21564
+ (ln && li(new ln(new ArrayBuffer(1))) != I || Oi && li(new Oi()) != f || Vt && li(Vt.resolve()) != p || cn && li(new cn()) != v || ns && li(new ns()) != E) && (li = function(b) {
21576
21565
  var M = Rt.call(b), R = M == A ? b.constructor : void 0, Y = R ? Pt(R) : void 0;
21577
21566
  if (Y)
21578
21567
  switch (Y) {
@@ -21585,7 +21574,7 @@ var To = bI, ir = {}, yI = {
21585
21574
  case rs:
21586
21575
  return v;
21587
21576
  case as:
21588
- return P;
21577
+ return E;
21589
21578
  }
21590
21579
  return M;
21591
21580
  });
@@ -21625,7 +21614,7 @@ var To = bI, ir = {}, yI = {
21625
21614
  return so(b);
21626
21615
  case v:
21627
21616
  return Xr(b, Y, R);
21628
- case E:
21617
+ case P:
21629
21618
  return Zr(b);
21630
21619
  }
21631
21620
  }
@@ -21708,7 +21697,7 @@ var nr = {}, CI = {
21708
21697
  }
21709
21698
  };
21710
21699
  (function(n, t) {
21711
- var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", f = "[object Error]", g = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", m = "[object Number]", v = "[object Null]", y = "[object Object]", E = "[object Promise]", P = "[object Proxy]", k = "[object RegExp]", I = "[object Set]", j = "[object String]", V = "[object Symbol]", W = "[object Undefined]", _ = "[object WeakMap]", N = "[object ArrayBuffer]", G = "[object DataView]", H = "[object Float32Array]", F = "[object Float64Array]", U = "[object Int8Array]", X = "[object Int16Array]", J = "[object Int32Array]", $ = "[object Uint8Array]", de = "[object Uint8ClampedArray]", he = "[object Uint16Array]", Pe = "[object Uint32Array]", Ce = /[\\^$.*+?()[\]{}|]/g, be = /^\[object .+?Constructor\]$/, Qe = /^(?:0|[1-9]\d*)$/, ye = {};
21700
+ var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", h = "[object Boolean]", u = "[object Date]", f = "[object Error]", g = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", m = "[object Number]", v = "[object Null]", y = "[object Object]", P = "[object Promise]", E = "[object Proxy]", k = "[object RegExp]", I = "[object Set]", j = "[object String]", V = "[object Symbol]", W = "[object Undefined]", _ = "[object WeakMap]", N = "[object ArrayBuffer]", G = "[object DataView]", H = "[object Float32Array]", F = "[object Float64Array]", U = "[object Int8Array]", X = "[object Int16Array]", J = "[object Int32Array]", $ = "[object Uint8Array]", de = "[object Uint8ClampedArray]", he = "[object Uint16Array]", Pe = "[object Uint32Array]", Ce = /[\\^$.*+?()[\]{}|]/g, be = /^\[object .+?Constructor\]$/, Qe = /^(?:0|[1-9]\d*)$/, ye = {};
21712
21701
  ye[H] = ye[F] = ye[U] = ye[X] = ye[J] = ye[$] = ye[de] = ye[he] = ye[Pe] = !0, ye[a] = ye[l] = ye[N] = ye[h] = ye[G] = ye[u] = ye[f] = ye[g] = ye[p] = ye[m] = ye[y] = ye[k] = ye[I] = ye[j] = ye[_] = !1;
21713
21702
  var Ze = typeof Ot == "object" && Ot && Ot.Object === Object && Ot, ee = typeof self == "object" && self && self.Object === Object && self, ve = Ze || ee || Function("return this")(), je = t && !t.nodeType && t, me = je && !0 && n && !n.nodeType && n, tt = me && me.exports === je, at = tt && Ze.process, xe = function() {
21714
21703
  try {
@@ -22093,7 +22082,7 @@ var nr = {}, CI = {
22093
22082
  return ln.call(b, M);
22094
22083
  }));
22095
22084
  } : ra, Jt = Vi;
22096
- (ss && Jt(new ss(new ArrayBuffer(1))) != G || Ri && Jt(new Ri()) != p || os && Jt(os.resolve()) != E || rs && Jt(new rs()) != I || as && Jt(new as()) != _) && (Jt = function(b) {
22085
+ (ss && Jt(new ss(new ArrayBuffer(1))) != G || Ri && Jt(new Ri()) != p || os && Jt(os.resolve()) != P || rs && Jt(new rs()) != I || as && Jt(new as()) != _) && (Jt = function(b) {
22097
22086
  var M = Vi(b), R = M == y ? b.constructor : void 0, Y = R ? Pt(R) : "";
22098
22087
  if (Y)
22099
22088
  switch (Y) {
@@ -22102,7 +22091,7 @@ var nr = {}, CI = {
22102
22091
  case ri:
22103
22092
  return p;
22104
22093
  case Er:
22105
- return E;
22094
+ return P;
22106
22095
  case Mr:
22107
22096
  return I;
22108
22097
  case kr:
@@ -22159,7 +22148,7 @@ var nr = {}, CI = {
22159
22148
  if (!co(b))
22160
22149
  return !1;
22161
22150
  var M = Vi(b);
22162
- return M == g || M == A || M == c || M == P;
22151
+ return M == g || M == A || M == c || M == E;
22163
22152
  }
22164
22153
  function fs(b) {
22165
22154
  return typeof b == "number" && b > -1 && b % 1 == 0 && b <= r;
@@ -22236,19 +22225,19 @@ function DI(n, t) {
22236
22225
  let A = !1;
22237
22226
  const p = (v) => (...y) => {
22238
22227
  A = !0;
22239
- const E = v(...y);
22240
- return A = !1, E;
22228
+ const P = v(...y);
22229
+ return A = !1, P;
22241
22230
  };
22242
22231
  Object.entries(s).forEach(([v, y]) => {
22243
22232
  f[v] = p(
22244
- (...E) => y(g(), ...E)
22233
+ (...P) => y(g(), ...P)
22245
22234
  ), Object.defineProperty(f[v], "name", { value: v });
22246
22235
  }), u = new Proxy(wI(e), {
22247
22236
  get(v, y) {
22248
22237
  return h() && !A && r(h(), { prop: y, value: v[y] }), Reflect.get(...arguments);
22249
22238
  },
22250
- set(v, y, E) {
22251
- return v[y] === E || (Reflect.set(...arguments), h() || (o && o(y, E), a(u, y))), !0;
22239
+ set(v, y, P) {
22240
+ return v[y] === P || (Reflect.set(...arguments), h() || (o && o(y, P), a(u, y))), !0;
22252
22241
  }
22253
22242
  }), Object.entries(i).forEach(([v, y]) => {
22254
22243
  c(v, () => {
@@ -23001,8 +22990,8 @@ function _I(n) {
23001
22990
  n[0]
23002
22991
  ), C(s, "class", "sc-carousel__pages-window svelte-sme1z4"), C(e, "class", "sc-carousel__content-container svelte-sme1z4"), C(t, "class", "sc-carousel__carousel-container svelte-sme1z4");
23003
22992
  },
23004
- m(E, P) {
23005
- B(E, t, P), L(t, e), g && g.m(e, null), L(e, i), L(e, s), L(s, o), p && p.m(o, null), n[39](o), L(s, a), m && m.m(s, null), n[40](s), L(e, l), v && v.m(e, null), L(t, c), y && y.m(t, null), h = !0, u || (f = [
22993
+ m(P, E) {
22994
+ B(P, t, E), L(t, e), g && g.m(e, null), L(e, i), L(e, s), L(s, o), p && p.m(o, null), n[39](o), L(s, a), m && m.m(s, null), n[40](s), L(e, l), v && v.m(e, null), L(t, c), y && y.m(t, null), h = !0, u || (f = [
23006
22995
  Ft(r = iP.call(null, o, {
23007
22996
  thresholdProvider: (
23008
22997
  /*swipeable_function*/
@@ -23055,72 +23044,72 @@ function _I(n) {
23055
23044
  )
23056
23045
  ], u = !0);
23057
23046
  },
23058
- p(E, P) {
23047
+ p(P, E) {
23059
23048
  /*arrows*/
23060
- E[1] ? g ? (g.p(E, P), P[0] & /*arrows*/
23061
- 2 && x(g, 1)) : (g = jd(E), g.c(), x(g, 1), g.m(e, i)) : g && (ue(), O(g, 1, 1, () => {
23049
+ P[1] ? g ? (g.p(P, E), E[0] & /*arrows*/
23050
+ 2 && x(g, 1)) : (g = jd(P), g.c(), x(g, 1), g.m(e, i)) : g && (ue(), O(g, 1, 1, () => {
23062
23051
  g = null;
23063
- }), fe()), p && p.p && (!h || P[0] & /*loaded, currentPageIndex*/
23064
- 96 | P[1] & /*$$scope*/
23052
+ }), fe()), p && p.p && (!h || E[0] & /*loaded, currentPageIndex*/
23053
+ 96 | E[1] & /*$$scope*/
23065
23054
  32) && Jn(
23066
23055
  p,
23067
23056
  A,
23068
- E,
23057
+ P,
23069
23058
  /*$$scope*/
23070
- E[36],
23059
+ P[36],
23071
23060
  h ? Zn(
23072
23061
  A,
23073
23062
  /*$$scope*/
23074
- E[36],
23075
- P,
23063
+ P[36],
23064
+ E,
23076
23065
  HI
23077
23066
  ) : qn(
23078
23067
  /*$$scope*/
23079
- E[36]
23068
+ P[36]
23080
23069
  ),
23081
23070
  Td
23082
- ), (!h || P[0] & /*offset*/
23071
+ ), (!h || E[0] & /*offset*/
23083
23072
  256) && T(o, "transform", "translateX(" + /*offset*/
23084
- E[8] + "px)"), (!h || P[0] & /*durationMs*/
23073
+ P[8] + "px)"), (!h || E[0] & /*durationMs*/
23085
23074
  512) && T(
23086
23075
  o,
23087
23076
  "transition-duration",
23088
23077
  /*durationMs*/
23089
- E[9] + "ms"
23090
- ), (!h || P[0] & /*timingFunction*/
23078
+ P[9] + "ms"
23079
+ ), (!h || E[0] & /*timingFunction*/
23091
23080
  1) && T(
23092
23081
  o,
23093
23082
  "transition-timing-function",
23094
23083
  /*timingFunction*/
23095
- E[0]
23096
- ), r && oi(r.update) && P[0] & /*pageWindowWidth*/
23084
+ P[0]
23085
+ ), r && oi(r.update) && E[0] & /*pageWindowWidth*/
23097
23086
  2048 && r.update.call(null, {
23098
23087
  thresholdProvider: (
23099
23088
  /*swipeable_function*/
23100
- E[38]
23089
+ P[38]
23101
23090
  )
23102
23091
  }), /*autoplayProgressVisible*/
23103
- E[3] ? m ? (m.p(E, P), P[0] & /*autoplayProgressVisible*/
23104
- 8 && x(m, 1)) : (m = zd(E), m.c(), x(m, 1), m.m(s, null)) : m && (ue(), O(m, 1, 1, () => {
23092
+ P[3] ? m ? (m.p(P, E), E[0] & /*autoplayProgressVisible*/
23093
+ 8 && x(m, 1)) : (m = zd(P), m.c(), x(m, 1), m.m(s, null)) : m && (ue(), O(m, 1, 1, () => {
23105
23094
  m = null;
23106
23095
  }), fe()), /*arrows*/
23107
- E[1] ? v ? (v.p(E, P), P[0] & /*arrows*/
23108
- 2 && x(v, 1)) : (v = Od(E), v.c(), x(v, 1), v.m(e, null)) : v && (ue(), O(v, 1, 1, () => {
23096
+ P[1] ? v ? (v.p(P, E), E[0] & /*arrows*/
23097
+ 2 && x(v, 1)) : (v = Od(P), v.c(), x(v, 1), v.m(e, null)) : v && (ue(), O(v, 1, 1, () => {
23109
23098
  v = null;
23110
23099
  }), fe()), /*dots*/
23111
- E[4] ? y ? (y.p(E, P), P[0] & /*dots*/
23112
- 16 && x(y, 1)) : (y = Bd(E), y.c(), x(y, 1), y.m(t, null)) : y && (ue(), O(y, 1, 1, () => {
23100
+ P[4] ? y ? (y.p(P, E), E[0] & /*dots*/
23101
+ 16 && x(y, 1)) : (y = Bd(P), y.c(), x(y, 1), y.m(t, null)) : y && (ue(), O(y, 1, 1, () => {
23113
23102
  y = null;
23114
23103
  }), fe());
23115
23104
  },
23116
- i(E) {
23117
- h || (x(g), x(p, E), x(m), x(v), x(y), h = !0);
23105
+ i(P) {
23106
+ h || (x(g), x(p, P), x(m), x(v), x(y), h = !0);
23118
23107
  },
23119
- o(E) {
23120
- O(g), O(p, E), O(m), O(v), O(y), h = !1;
23108
+ o(P) {
23109
+ O(g), O(p, P), O(m), O(v), O(y), h = !1;
23121
23110
  },
23122
- d(E) {
23123
- E && z(t), g && g.d(), p && p.d(E), n[39](null), m && m.d(), n[40](null), v && v.d(), y && y.d(), u = !1, et(f);
23111
+ d(P) {
23112
+ P && z(t), g && g.d(), p && p.d(P), n[39](null), m && m.d(), n[40](null), v && v.d(), y && y.d(), u = !1, et(f);
23124
23113
  }
23125
23114
  };
23126
23115
  }
@@ -23136,7 +23125,7 @@ function WI(n, t, e) {
23136
23125
  loaded: () => e(6, o = Ie)
23137
23126
  })(re);
23138
23127
  }), p = gr();
23139
- let { timingFunction: m = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: E = 0 } = t, { duration: P = 500 } = t, { autoplay: k = !1 } = t, { autoplayDuration: I = 3e3 } = t, { autoplayDirection: j = xi } = t, { pauseOnFocus: V = !1 } = t, { autoplayProgressVisible: W = !1 } = t, { dots: _ = !0 } = t, { swiping: N = !0 } = t, { particlesToShow: G = 1 } = t, { particlesToScroll: H = 1 } = t;
23128
+ let { timingFunction: m = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: E = 500 } = t, { autoplay: k = !1 } = t, { autoplayDuration: I = 3e3 } = t, { autoplayDirection: j = xi } = t, { pauseOnFocus: V = !1 } = t, { autoplayProgressVisible: W = !1 } = t, { dots: _ = !0 } = t, { swiping: N = !0 } = t, { particlesToShow: G = 1 } = t, { particlesToScroll: H = 1 } = t;
23140
23129
  function F(re, Ie) {
23141
23130
  return Q(this, null, function* () {
23142
23131
  const Ge = Ls(Ie, "animated", !0);
@@ -23178,7 +23167,7 @@ function WI(n, t, e) {
23178
23167
  }
23179
23168
  Et(() => {
23180
23169
  Q(this, null, function* () {
23181
- yield pc(), de && $ && (u.particlesCountWithoutClones = de.children.length, yield pc(), u.infinite && Pe(), u.particlesCount = de.children.length, g.showPage(E, { animated: !1 }), he.observe($));
23170
+ yield pc(), de && $ && (u.particlesCountWithoutClones = de.children.length, yield pc(), u.infinite && Pe(), u.particlesCount = de.children.length, g.showPage(P, { animated: !1 }), he.observe($));
23182
23171
  });
23183
23172
  }), Bt(() => {
23184
23173
  he.disconnect(), f.reset();
@@ -23232,12 +23221,12 @@ function WI(n, t, e) {
23232
23221
  }
23233
23222
  const st = (re) => Ce(re.detail);
23234
23223
  return n.$$set = (re) => {
23235
- "timingFunction" in re && e(0, m = re.timingFunction), "arrows" in re && e(1, v = re.arrows), "infinite" in re && e(2, y = re.infinite), "initialPageIndex" in re && e(24, E = re.initialPageIndex), "duration" in re && e(25, P = re.duration), "autoplay" in re && e(26, k = re.autoplay), "autoplayDuration" in re && e(27, I = re.autoplayDuration), "autoplayDirection" in re && e(28, j = re.autoplayDirection), "pauseOnFocus" in re && e(29, V = re.pauseOnFocus), "autoplayProgressVisible" in re && e(3, W = re.autoplayProgressVisible), "dots" in re && e(4, _ = re.dots), "swiping" in re && e(30, N = re.swiping), "particlesToShow" in re && e(31, G = re.particlesToShow), "particlesToScroll" in re && e(32, H = re.particlesToScroll), "$$scope" in re && e(36, s = re.$$scope);
23224
+ "timingFunction" in re && e(0, m = re.timingFunction), "arrows" in re && e(1, v = re.arrows), "infinite" in re && e(2, y = re.infinite), "initialPageIndex" in re && e(24, P = re.initialPageIndex), "duration" in re && e(25, E = re.duration), "autoplay" in re && e(26, k = re.autoplay), "autoplayDuration" in re && e(27, I = re.autoplayDuration), "autoplayDirection" in re && e(28, j = re.autoplayDirection), "pauseOnFocus" in re && e(29, V = re.pauseOnFocus), "autoplayProgressVisible" in re && e(3, W = re.autoplayProgressVisible), "dots" in re && e(4, _ = re.dots), "swiping" in re && e(30, N = re.swiping), "particlesToShow" in re && e(31, G = re.particlesToShow), "particlesToScroll" in re && e(32, H = re.particlesToScroll), "$$scope" in re && e(36, s = re.$$scope);
23236
23225
  }, n.$$.update = () => {
23237
23226
  n.$$.dirty[0] & /*currentPageIndex*/
23238
23227
  32 && p("pageChange", r), n.$$.dirty[0] & /*infinite*/
23239
23228
  4 && (u.infinite = y), n.$$.dirty[0] & /*duration*/
23240
- 33554432 && (u.durationMsInit = P), n.$$.dirty[0] & /*autoplay*/
23229
+ 33554432 && (u.durationMsInit = E), n.$$.dirty[0] & /*autoplay*/
23241
23230
  67108864 && (u.autoplay = k), n.$$.dirty[0] & /*autoplayDuration*/
23242
23231
  134217728 && (u.autoplayDuration = I), n.$$.dirty[0] & /*autoplayDirection*/
23243
23232
  268435456 && (u.autoplayDirection = j), n.$$.dirty[0] & /*pauseOnFocus*/
@@ -23269,8 +23258,8 @@ function WI(n, t, e) {
23269
23258
  ve,
23270
23259
  je,
23271
23260
  me,
23272
- E,
23273
23261
  P,
23262
+ E,
23274
23263
  k,
23275
23264
  I,
23276
23265
  j,
@@ -23630,15 +23619,15 @@ function $I(n, t, e) {
23630
23619
  function m() {
23631
23620
  e(9, p = (a == null ? void 0 : a.type) === "Video" && !!a.videoCoverUrl);
23632
23621
  }
23633
- const v = Ii("mediaStore"), y = Ii("hooks"), E = () => {
23622
+ const v = Ii("mediaStore"), y = Ii("hooks"), P = () => {
23634
23623
  p || i && (e(10, i.muted = !0, i), i.play(), i.pause(), e(10, i.muted = !1, i), e(9, p = !0));
23635
23624
  };
23636
- y.on("loadVideoFirstFrame", E), Et(() => {
23625
+ y.on("loadVideoFirstFrame", P), Et(() => {
23637
23626
  v.subscribe(({ currentMediaElement: G }) => {
23638
23627
  G !== i && (i == null || i.pause());
23639
23628
  });
23640
23629
  });
23641
- const P = (G) => {
23630
+ const E = (G) => {
23642
23631
  e(11, A = !1), e(0, o.paused = !1, o), e(9, p = !0), i && v.set({ currentMediaElement: i }), y.emit("playStateChange", {
23643
23632
  event: G,
23644
23633
  state: "playing",
@@ -23687,7 +23676,7 @@ function $I(n, t, e) {
23687
23676
  1024 && i && e(11, A = i.paused), n.$$.dirty & /*media, videoPosterLoaded, videoInstance*/
23688
23677
  1540 && (a == null ? void 0 : a.type) === "Video" && !p) {
23689
23678
  const G = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, F = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && G;
23690
- i && F && i.paused && (document.removeEventListener("WeixinJSBridgeReady", E), document.removeEventListener("touchstart", E), document.removeEventListener("click", E), document.addEventListener("WeixinJSBridgeReady", E), document.addEventListener("touchstart", E), document.addEventListener("click", E));
23679
+ i && F && i.paused && (document.removeEventListener("WeixinJSBridgeReady", P), document.removeEventListener("touchstart", P), document.removeEventListener("click", P), document.addEventListener("WeixinJSBridgeReady", P), document.addEventListener("touchstart", P), document.addEventListener("click", P));
23691
23680
  }
23692
23681
  }, [
23693
23682
  o,
@@ -23705,7 +23694,7 @@ function $I(n, t, e) {
23705
23694
  v,
23706
23695
  y,
23707
23696
  s,
23708
- P,
23697
+ E,
23709
23698
  k,
23710
23699
  I,
23711
23700
  j,
@@ -24110,11 +24099,11 @@ function sE(n) {
24110
24099
  }
24111
24100
  function oE(n, t, e) {
24112
24101
  let i, s, o, r, { tag: a } = t, { mediaData: l } = t, { inDelay: c = 0 } = t, { outDelay: h = 0 } = t, { duration: u = 0 } = t, { unfolded: f = !0 } = t, { animation: g = !0 } = t, { mediaItemConfig: A } = t, { enableCarousel: p = !0 } = t, { autoplayConfig: m = {} } = t;
24113
- const { autoplayVideo: v = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: E = !1 } = m;
24114
- let P = [], k = 0, I, j = null;
24102
+ const { autoplayVideo: v = !1, autoplayCarousel: y = !0, autoplayVideoInCarousel: P = !1 } = m;
24103
+ let E = [], k = 0, I, j = null;
24115
24104
  const V = Ii("hooks"), W = Ii("mediaStore");
24116
24105
  function _() {
24117
- const U = P[k], X = U == null ? void 0 : U.videoInstance;
24106
+ const U = E[k], X = U == null ? void 0 : U.videoInstance;
24118
24107
  X && (X.paused ? (X.muted = !1, X.play()) : X.pause());
24119
24108
  }
24120
24109
  Et(() => {
@@ -24131,7 +24120,7 @@ function oE(n, t, e) {
24131
24120
  clearInterval(j), V.off("click", _);
24132
24121
  });
24133
24122
  function N(U, X) {
24134
- n.$$.not_equal(P[X], U) && (P[X] = U, e(8, P));
24123
+ n.$$.not_equal(E[X], U) && (E[X] = U, e(8, E));
24135
24124
  }
24136
24125
  function G(U) {
24137
24126
  _e[U ? "unshift" : "push"](() => {
@@ -24142,13 +24131,13 @@ function oE(n, t, e) {
24142
24131
  i || W.set({ currentMediaElement: null }), e(11, k = U.detail);
24143
24132
  };
24144
24133
  function F(U) {
24145
- n.$$.not_equal(P[0], U) && (P[0] = U, e(8, P));
24134
+ n.$$.not_equal(E[0], U) && (E[0] = U, e(8, E));
24146
24135
  }
24147
24136
  return n.$$set = (U) => {
24148
24137
  "tag" in U && e(0, a = U.tag), "mediaData" in U && e(1, l = U.mediaData), "inDelay" in U && e(2, c = U.inDelay), "outDelay" in U && e(3, h = U.outDelay), "duration" in U && e(4, u = U.duration), "unfolded" in U && e(5, f = U.unfolded), "animation" in U && e(6, g = U.animation), "mediaItemConfig" in U && e(7, A = U.mediaItemConfig), "enableCarousel" in U && e(16, p = U.enableCarousel), "autoplayConfig" in U && e(17, m = U.autoplayConfig);
24149
24138
  }, n.$$.update = () => {
24150
24139
  n.$$.dirty[0] & /*mediaInstanceList*/
24151
- 256 && e(9, i = P.every((U) => U.paused)), n.$$.dirty[0] & /*enableCarousel, mediaData*/
24140
+ 256 && e(9, i = E.every((U) => U.paused)), n.$$.dirty[0] & /*enableCarousel, mediaData*/
24152
24141
  65538 && e(13, s = p && (l == null ? void 0 : l.length) > 1), n.$$.dirty[0] & /*mediaData*/
24153
24142
  2 && e(10, o = l), n.$$.dirty[0] & /*mediaDataList, paused*/
24154
24143
  1536 && (r = o.length > 1 && y && i);
@@ -24161,7 +24150,7 @@ function oE(n, t, e) {
24161
24150
  f,
24162
24151
  g,
24163
24152
  A,
24164
- P,
24153
+ E,
24165
24154
  i,
24166
24155
  o,
24167
24156
  k,
@@ -24657,7 +24646,7 @@ function $d(n) {
24657
24646
  };
24658
24647
  }
24659
24648
  function dE(n) {
24660
- var P, k;
24649
+ var E, k;
24661
24650
  let t, e, i, s, o, r, a, l, c, h, u = (
24662
24651
  /*data*/
24663
24652
  n[3].title + ""
@@ -24680,16 +24669,16 @@ function dE(n) {
24680
24669
  n[3].headerPictureUrl && Ud(n)
24681
24670
  ), y = (
24682
24671
  /*primaryTags*/
24683
- ((P = n[2].length) != null ? P : 0) + /*secondaryTags*/
24672
+ ((E = n[2].length) != null ? E : 0) + /*secondaryTags*/
24684
24673
  ((k = n[5].length) != null ? k : 0) > 0 && Yd(n)
24685
- ), E = (
24674
+ ), P = (
24686
24675
  /*havePrice*/
24687
24676
  (n[7] || /*data*/
24688
24677
  n[3].highlightText) && Jd(n)
24689
24678
  );
24690
24679
  return {
24691
24680
  c() {
24692
- t = S("div"), ne(e.$$.fragment), i = K(), s = S("div"), o = K(), r = S("div"), v && v.c(), a = K(), l = S("div"), c = S("div"), h = S("div"), f = ke(u), g = K(), y && y.c(), A = K(), E && E.c(), C(s, "class", "line svelte-sezqcq"), T(
24681
+ t = S("div"), ne(e.$$.fragment), i = K(), s = S("div"), o = K(), r = S("div"), v && v.c(), a = K(), l = S("div"), c = S("div"), h = S("div"), f = ke(u), g = K(), y && y.c(), A = K(), P && P.c(), C(s, "class", "line svelte-sezqcq"), T(
24693
24682
  s,
24694
24683
  "transition-delay",
24695
24684
  /*unfolded*/
@@ -24716,7 +24705,7 @@ function dE(n) {
24716
24705
  );
24717
24706
  },
24718
24707
  m(I, j) {
24719
- B(I, t, j), te(e, t, null), L(t, i), L(t, s), L(t, o), L(t, r), v && v.m(r, null), L(r, a), L(r, l), L(l, c), L(c, h), L(h, f), L(r, g), y && y.m(r, null), L(r, A), E && E.m(r, null), m = !0;
24708
+ B(I, t, j), te(e, t, null), L(t, i), L(t, s), L(t, o), L(t, r), v && v.m(r, null), L(r, a), L(r, l), L(l, c), L(c, h), L(h, f), L(r, g), y && y.m(r, null), L(r, A), P && P.m(r, null), m = !0;
24720
24709
  },
24721
24710
  p(I, [j]) {
24722
24711
  var W, _;
@@ -24736,7 +24725,7 @@ function dE(n) {
24736
24725
  ((W = I[2].length) != null ? W : 0) + /*secondaryTags*/
24737
24726
  ((_ = I[5].length) != null ? _ : 0) > 0 ? y ? y.p(I, j) : (y = Yd(I), y.c(), y.m(r, A)) : y && (y.d(1), y = null), /*havePrice*/
24738
24727
  I[7] || /*data*/
24739
- I[3].highlightText ? E ? E.p(I, j) : (E = Jd(I), E.c(), E.m(r, null)) : E && (E.d(1), E = null), j & /*unfolded*/
24728
+ I[3].highlightText ? P ? P.p(I, j) : (P = Jd(I), P.c(), P.m(r, null)) : P && (P.d(1), P = null), j & /*unfolded*/
24740
24729
  16 && T(
24741
24730
  r,
24742
24731
  "transition-delay",
@@ -24765,7 +24754,7 @@ function dE(n) {
24765
24754
  O(e.$$.fragment, I), m = !1;
24766
24755
  },
24767
24756
  d(I) {
24768
- I && z(t), ie(e), v && v.d(), y && y.d(), E && E.d();
24757
+ I && z(t), ie(e), v && v.d(), y && y.d(), P && P.d();
24769
24758
  }
24770
24759
  };
24771
24760
  }
@@ -24785,7 +24774,7 @@ function uE(n, t, e) {
24785
24774
  return n.$$set = (p) => {
24786
24775
  "tag" in p && e(0, u = p.tag);
24787
24776
  }, n.$$.update = () => {
24788
- var p, m, v, y, E, P;
24777
+ var p, m, v, y, P, E;
24789
24778
  n.$$.dirty & /*tag*/
24790
24779
  1 && e(4, i = (m = (p = u.state) == null ? void 0 : p.unfolded) != null ? m : !1), n.$$.dirty & /*unfolded*/
24791
24780
  16 && e(8, s = !i), n.$$.dirty & /*tag*/
@@ -24793,8 +24782,8 @@ function uE(n, t, e) {
24793
24782
  8 && e(7, r = Me((v = o.price) == null ? void 0 : v.value) && ((y = o.price) == null ? void 0 : y.value) !== ""), n.$$.dirty & /*tag*/
24794
24783
  1 && e(6, a = u.data.theme || "light"), n.$$.dirty & /*tagsOffsetHeight, maxTagsLength*/
24795
24784
  1026 && f > 40 && e(10, l = l - 1), n.$$.dirty & /*data, maxTagsLength*/
24796
- 1032 && e(2, c = ((E = o.brandTags) == null ? void 0 : E.slice(0, l).filter(Boolean)) || []), n.$$.dirty & /*data, maxTagsLength, primaryTags*/
24797
- 1036 && e(5, h = ((P = o.tags) == null ? void 0 : P.slice(0, l - c.length).filter(Boolean)) || []);
24785
+ 1032 && e(2, c = ((P = o.brandTags) == null ? void 0 : P.slice(0, l).filter(Boolean)) || []), n.$$.dirty & /*data, maxTagsLength, primaryTags*/
24786
+ 1036 && e(5, h = ((E = o.tags) == null ? void 0 : E.slice(0, l - c.length).filter(Boolean)) || []);
24798
24787
  }, e(10, l = (g - 20) / Xl), [
24799
24788
  u,
24800
24789
  f,
@@ -25296,8 +25285,8 @@ function nu(n) {
25296
25285
  n[6]
25297
25286
  );
25298
25287
  },
25299
- m(y, E) {
25300
- B(y, t, E), te(e, t, null), L(t, i), L(t, s), L(s, o), L(o, r), p && p.m(r, null), L(o, a), L(o, l), te(c, l, null), L(t, h), te(u, t, null), f = !0, g || (A = [
25288
+ m(y, P) {
25289
+ B(y, t, P), te(e, t, null), L(t, i), L(t, s), L(s, o), L(o, r), p && p.m(r, null), L(o, a), L(o, l), te(c, l, null), L(t, h), te(u, t, null), f = !0, g || (A = [
25301
25290
  Ae(
25302
25291
  l,
25303
25292
  "click",
@@ -25313,38 +25302,38 @@ function nu(n) {
25313
25302
  )
25314
25303
  ], g = !0);
25315
25304
  },
25316
- p(y, E) {
25305
+ p(y, P) {
25317
25306
  var j, V;
25318
- const P = {};
25319
- E & /*unfolded*/
25320
- 64 && (P.visible = /*unfolded*/
25321
- y[6]), E & /*contentWidth*/
25322
- 8 && (P.left = /*contentWidth*/
25323
- y[3] / 2 + "px"), e.$set(P), /*unfolded*/
25324
- y[6] ? p ? (p.p(y, E), E & /*unfolded*/
25307
+ const E = {};
25308
+ P & /*unfolded*/
25309
+ 64 && (E.visible = /*unfolded*/
25310
+ y[6]), P & /*contentWidth*/
25311
+ 8 && (E.left = /*contentWidth*/
25312
+ y[3] / 2 + "px"), e.$set(E), /*unfolded*/
25313
+ y[6] ? p ? (p.p(y, P), P & /*unfolded*/
25325
25314
  64 && x(p, 1)) : (p = su(y), p.c(), x(p, 1), p.m(r, null)) : p && (ue(), O(p, 1, 1, () => {
25326
25315
  p = null;
25327
25316
  }), fe());
25328
25317
  const k = {};
25329
- E & /*unfolded*/
25318
+ P & /*unfolded*/
25330
25319
  64 && (k.visible = /*unfolded*/
25331
- y[6]), E & /*textUnfolded*/
25320
+ y[6]), P & /*textUnfolded*/
25332
25321
  2 && (k.textUnfolded = /*textUnfolded*/
25333
- y[1]), E & /*content*/
25322
+ y[1]), P & /*content*/
25334
25323
  32 && (k.content = /*content*/
25335
25324
  y[5]), c.$set(k);
25336
25325
  const I = {};
25337
- E & /*unfolded*/
25326
+ P & /*unfolded*/
25338
25327
  64 && (I.unfolded = /*unfolded*/
25339
- y[6]), E & /*contentWidth*/
25328
+ y[6]), P & /*contentWidth*/
25340
25329
  8 && (I.length = /*contentWidth*/
25341
- y[3]), E & /*foldTextDelay, content*/
25330
+ y[3]), P & /*foldTextDelay, content*/
25342
25331
  48 && (I.outDelay = /*foldTextDelay*/
25343
25332
  y[4] + 20 * Math.min(
25344
25333
  /*content*/
25345
25334
  (V = (j = y[5]) == null ? void 0 : j.length) != null ? V : 10,
25346
25335
  15
25347
- )), u.$set(I), (!f || E & /*unfolded*/
25336
+ )), u.$set(I), (!f || P & /*unfolded*/
25348
25337
  64) && q(
25349
25338
  t,
25350
25339
  "unfolded",
@@ -26507,18 +26496,18 @@ function En(n) {
26507
26496
  function $E(n, t, e) {
26508
26497
  let i, s, o, r, a, l, c, h, u, { width: f = null } = t, { icon: g = null } = t, { shadow: A = !1 } = t;
26509
26498
  const p = gr();
26510
- function m(E) {
26499
+ function m(P) {
26511
26500
  return Q(this, null, function* () {
26512
- const P = yield GE(E);
26513
- return p("iconLoaded", P), P;
26501
+ const E = yield GE(P);
26502
+ return p("iconLoaded", E), E;
26514
26503
  });
26515
26504
  }
26516
- function v(E) {
26505
+ function v(P) {
26517
26506
  return Q(this, null, function* () {
26518
26507
  if (typeof u == "number")
26519
- return se(D({}, E), { width: u });
26520
- const P = yield QE(E);
26521
- return p("iconLoaded", P), P;
26508
+ return se(D({}, P), { width: u });
26509
+ const E = yield QE(P);
26510
+ return p("iconLoaded", E), E;
26522
26511
  });
26523
26512
  }
26524
26513
  function y() {
@@ -26526,16 +26515,16 @@ function $E(n, t, e) {
26526
26515
  }
26527
26516
  return Et(() => {
26528
26517
  y();
26529
- }), n.$$set = (E) => {
26530
- "width" in E && e(1, f = E.width), "icon" in E && e(12, g = E.icon), "shadow" in E && e(0, A = E.shadow);
26518
+ }), n.$$set = (P) => {
26519
+ "width" in P && e(1, f = P.width), "icon" in P && e(12, g = P.icon), "shadow" in P && e(0, A = P.shadow);
26531
26520
  }, n.$$.update = () => {
26532
- var E, P;
26521
+ var P, E;
26533
26522
  n.$$.dirty & /*icon*/
26534
26523
  4096 && e(7, i = g == null ? void 0 : g.url), n.$$.dirty & /*icon*/
26535
- 4096 && e(2, s = (E = g == null ? void 0 : g.steps) != null ? E : 1), n.$$.dirty & /*icon*/
26524
+ 4096 && e(2, s = (P = g == null ? void 0 : g.steps) != null ? P : 1), n.$$.dirty & /*icon*/
26536
26525
  4096 && e(6, o = g == null ? void 0 : g.fps), n.$$.dirty & /*icon*/
26537
26526
  4096 && e(5, r = g == null ? void 0 : g.ratio), n.$$.dirty & /*icon*/
26538
- 4096 && e(4, a = (P = g == null ? void 0 : g.scale) != null ? P : 1), n.$$.dirty & /*icon*/
26527
+ 4096 && e(4, a = (E = g == null ? void 0 : g.scale) != null ? E : 1), n.$$.dirty & /*icon*/
26539
26528
  4096 && e(3, l = g == null ? void 0 : g.width), n.$$.dirty & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
26540
26529
  252 && e(9, c = Ue({
26541
26530
  url: i,
@@ -26917,8 +26906,8 @@ function m2(n) {
26917
26906
  b2,
26918
26907
  v2,
26919
26908
  A2
26920
- ], E = [];
26921
- function P(k, I) {
26909
+ ], P = [];
26910
+ function E(k, I) {
26922
26911
  return I & /*tag, contentTypeMap*/
26923
26912
  18 && (s = null), I & /*tag, contentTypeMap*/
26924
26913
  18 && (o = null), I & /*tag, contentTypeMap*/
@@ -26991,7 +26980,7 @@ function m2(n) {
26991
26980
  )
26992
26981
  ))), h ? 6 : -1))))));
26993
26982
  }
26994
- return ~(u = P(n, -1)) && (f = E[u] = y[u](n)), {
26983
+ return ~(u = E(n, -1)) && (f = P[u] = y[u](n)), {
26995
26984
  c() {
26996
26985
  var k;
26997
26986
  t = S("div"), e = S("div"), i = S("div"), f && f.c(), C(i, "class", "content svelte-qz1wo5"), q(
@@ -27039,7 +27028,7 @@ function m2(n) {
27039
27028
  );
27040
27029
  },
27041
27030
  m(k, I) {
27042
- B(k, t, I), L(t, e), L(e, i), ~u && E[u].m(i, null), p = !0, m || (v = Ae(t, "click", Pf(
27031
+ B(k, t, I), L(t, e), L(e, i), ~u && P[u].m(i, null), p = !0, m || (v = Ae(t, "click", Pf(
27043
27032
  /*click_handler_1*/
27044
27033
  n[16]
27045
27034
  )), m = !0);
@@ -27047,9 +27036,9 @@ function m2(n) {
27047
27036
  p(k, I) {
27048
27037
  var V;
27049
27038
  let j = u;
27050
- u = P(k, I), u === j ? ~u && E[u].p(k, I) : (f && (ue(), O(E[j], 1, 1, () => {
27051
- E[j] = null;
27052
- }), fe()), ~u ? (f = E[u], f ? f.p(k, I) : (f = E[u] = y[u](k), f.c()), x(f, 1), f.m(i, null)) : f = null), (!p || I & /*tag*/
27039
+ u = E(k, I), u === j ? ~u && P[u].p(k, I) : (f && (ue(), O(P[j], 1, 1, () => {
27040
+ P[j] = null;
27041
+ }), fe()), ~u ? (f = P[u], f ? f.p(k, I) : (f = P[u] = y[u](k), f.c()), x(f, 1), f.m(i, null)) : f = null), (!p || I & /*tag*/
27053
27042
  2) && q(
27054
27043
  i,
27055
27044
  "unfolded",
@@ -27109,7 +27098,7 @@ function m2(n) {
27109
27098
  O(f), p = !1;
27110
27099
  },
27111
27100
  d(k) {
27112
- k && z(t), ~u && E[u].d(), m = !1, v();
27101
+ k && z(t), ~u && P[u].d(), m = !1, v();
27113
27102
  }
27114
27103
  };
27115
27104
  }
@@ -27471,10 +27460,10 @@ function M2(n, t, e) {
27471
27460
  let i, s, o, r, a, l, { withAnimation: c = !1 } = t, { tag: h } = t, { hooks: u } = t, { rendererMap: f = /* @__PURE__ */ new Map() } = t, { contentTypeMap: g = /* @__PURE__ */ new Map() } = t, { state: A } = t, { mediaStore: p } = t, { temporaryState: m } = t;
27472
27461
  Wa("hooks", u), Wa("mediaStore", p);
27473
27462
  let v, y;
27474
- function E(I) {
27463
+ function P(I) {
27475
27464
  I ? u.emit("exposure", { id: r, type: "start" }) : u.emit("exposure", { id: r, type: "end" });
27476
27465
  }
27477
- const P = (I) => u.emit("click", { event: I, target: "TagContent", tag: h }), k = (I) => u.emit("click", { event: I, target: "TagContent", tag: h });
27466
+ const E = (I) => u.emit("click", { event: I, target: "TagContent", tag: h }), k = (I) => u.emit("click", { event: I, target: "TagContent", tag: h });
27478
27467
  return n.$$set = (I) => {
27479
27468
  "withAnimation" in I && e(0, c = I.withAnimation), "tag" in I && e(1, h = I.tag), "hooks" in I && e(2, u = I.hooks), "rendererMap" in I && e(3, f = I.rendererMap), "contentTypeMap" in I && e(4, g = I.contentTypeMap), "state" in I && e(7, A = I.state), "mediaStore" in I && e(8, p = I.mediaStore), "temporaryState" in I && e(9, m = I.temporaryState);
27480
27469
  }, n.$$.update = () => {
@@ -27485,7 +27474,7 @@ function M2(n, t, e) {
27485
27474
  642 && e(14, o = A.visible && m.visible && ((V = h.state) == null ? void 0 : V.visible)), n.$$.dirty & /*tag*/
27486
27475
  2 && (r = h.id), n.$$.dirty & /*tag, state, temporaryState*/
27487
27476
  642 && e(6, a = !E2(h, A, m)), n.$$.dirty & /*isVisible*/
27488
- 16384 && E(o), n.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/
27477
+ 16384 && P(o), n.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/
27489
27478
  15362 && h.hooks && (i !== void 0 && i !== y && (e(11, y = i), i ? (_ = (W = h.hooks).emit) == null || _.call(W, "unfolded") : (G = h == null ? void 0 : (N = h.hooks).emit) == null || G.call(N, "folded")), s !== void 0 && s !== v && (e(10, v = s), s ? (F = (H = h.hooks).emit) == null || F.call(H, "show") : (X = (U = h.hooks).emit) == null || X.call(U, "hide"))), n.$$.dirty & /*tag*/
27490
27479
  2 && e(5, l = (() => !(typeof h.config.unfoldedConfig == "object" && h.config.unfoldedConfig.keep === "folded"))());
27491
27480
  }, [
@@ -27504,7 +27493,7 @@ function M2(n, t, e) {
27504
27493
  s,
27505
27494
  i,
27506
27495
  o,
27507
- P,
27496
+ E,
27508
27497
  k
27509
27498
  ];
27510
27499
  }
@@ -27672,19 +27661,19 @@ function D2(n, t, e) {
27672
27661
  64 && e(2, o = (v = (m = l.style) == null ? void 0 : m.point) != null && v.url ? (y = l.style) == null ? void 0 : y.point : { url: vy }), n.$$.dirty & /*tag*/
27673
27662
  64 && e(1, r = (() => {
27674
27663
  var k, I, j, V;
27675
- const E = (I = (k = l.style) == null ? void 0 : k.point) == null ? void 0 : I.width;
27676
- if (typeof E == "number")
27677
- return E;
27678
- const P = (V = (j = l.style) == null ? void 0 : j.point) == null ? void 0 : V.size;
27664
+ const P = (I = (k = l.style) == null ? void 0 : k.point) == null ? void 0 : I.width;
27679
27665
  if (typeof P == "number")
27680
27666
  return P;
27681
- if (P === "S")
27667
+ const E = (V = (j = l.style) == null ? void 0 : j.point) == null ? void 0 : V.size;
27668
+ if (typeof E == "number")
27669
+ return E;
27670
+ if (E === "S")
27682
27671
  return 18;
27683
- if (P === "M")
27672
+ if (E === "M")
27684
27673
  return 20;
27685
- if (P === "L")
27674
+ if (E === "L")
27686
27675
  return 24;
27687
- if (P === "XL")
27676
+ if (E === "XL")
27688
27677
  return 28;
27689
27678
  })());
27690
27679
  }, u(), [
@@ -27792,13 +27781,13 @@ function gu(n) {
27792
27781
  B(v, t, y), L(t, e), f[i].m(e, null), L(e, o), p[r].m(e, null), h = !0;
27793
27782
  },
27794
27783
  p(v, y) {
27795
- let E = i;
27796
- i = g(v), i === E ? f[i].p(v, y) : (ue(), O(f[E], 1, 1, () => {
27797
- f[E] = null;
27784
+ let P = i;
27785
+ i = g(v), i === P ? f[i].p(v, y) : (ue(), O(f[P], 1, 1, () => {
27786
+ f[P] = null;
27798
27787
  }), fe(), s = f[i], s ? s.p(v, y) : (s = f[i] = u[i](v), s.c()), x(s, 1), s.m(e, o));
27799
- let P = r;
27800
- r = m(v), r === P ? p[r].p(v, y) : (ue(), O(p[P], 1, 1, () => {
27801
- p[P] = null;
27788
+ let E = r;
27789
+ r = m(v), r === E ? p[r].p(v, y) : (ue(), O(p[E], 1, 1, () => {
27790
+ p[E] = null;
27802
27791
  }), fe(), a = p[r], a ? a.p(v, y) : (a = p[r] = A[r](v), a.c()), x(a, 1), a.m(e, null)), (!h || y & /*tag*/
27803
27792
  2 && l !== (l = Fe(vt(
27804
27793
  "wrapper",
@@ -28055,10 +28044,10 @@ function B2(n) {
28055
28044
  };
28056
28045
  }
28057
28046
  function R2(n, t, e) {
28058
- let i, s, o, r, a, l, c, h, u, f, { withAnimation: g = !1 } = t, { tag: A } = t, { mediaStore: p } = t, { rendererMap: m = /* @__PURE__ */ new Map() } = t, { contentTypeMap: v = /* @__PURE__ */ new Map() } = t, { state: y } = t, { temporaryState: E } = t;
28059
- const P = Ii("hooks");
28047
+ let i, s, o, r, a, l, c, h, u, f, { withAnimation: g = !1 } = t, { tag: A } = t, { mediaStore: p } = t, { rendererMap: m = /* @__PURE__ */ new Map() } = t, { contentTypeMap: v = /* @__PURE__ */ new Map() } = t, { state: y } = t, { temporaryState: P } = t;
28048
+ const E = Ii("hooks");
28060
28049
  return n.$$set = (k) => {
28061
- "withAnimation" in k && e(0, g = k.withAnimation), "tag" in k && e(1, A = k.tag), "mediaStore" in k && e(2, p = k.mediaStore), "rendererMap" in k && e(3, m = k.rendererMap), "contentTypeMap" in k && e(4, v = k.contentTypeMap), "state" in k && e(5, y = k.state), "temporaryState" in k && e(6, E = k.temporaryState);
28050
+ "withAnimation" in k && e(0, g = k.withAnimation), "tag" in k && e(1, A = k.tag), "mediaStore" in k && e(2, p = k.mediaStore), "rendererMap" in k && e(3, m = k.rendererMap), "contentTypeMap" in k && e(4, v = k.contentTypeMap), "state" in k && e(5, y = k.state), "temporaryState" in k && e(6, P = k.temporaryState);
28062
28051
  }, n.$$.update = () => {
28063
28052
  var k, I, j, V;
28064
28053
  n.$$.dirty & /*tag, rendererMap*/
@@ -28082,7 +28071,7 @@ function R2(n, t, e) {
28082
28071
  m,
28083
28072
  v,
28084
28073
  y,
28085
- E,
28074
+ P,
28086
28075
  l,
28087
28076
  c,
28088
28077
  f,
@@ -28093,7 +28082,7 @@ function R2(n, t, e) {
28093
28082
  o,
28094
28083
  s,
28095
28084
  i,
28096
- P
28085
+ E
28097
28086
  ];
28098
28087
  }
28099
28088
  class V2 extends ce {
@@ -30617,7 +30606,7 @@ let dM = class extends pi {
30617
30606
  }
30618
30607
  load(e, i, s = !0) {
30619
30608
  return Q(this, null, function* () {
30620
- var g, A, p, m, v, y, E;
30609
+ var g, A, p, m, v, y, P;
30621
30610
  const o = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
30622
30611
  this.hooks.emit("dataChange", r, o), this.data = r;
30623
30612
  const a = r.config, c = {
@@ -30627,12 +30616,12 @@ let dM = class extends pi {
30627
30616
  width: (A = a == null ? void 0 : a.unitWidth) != null ? A : 0.6,
30628
30617
  texture: { url: (p = a == null ? void 0 : a.arrowTextureUrl) != null ? p : this.staticPrefix + "/release/web/arrow-white.5c2c79a5.png" }
30629
30618
  }
30630
- }, h = (v = (m = r.routes) == null ? void 0 : m.map((P) => {
30619
+ }, h = (v = (m = r.routes) == null ? void 0 : m.map((E) => {
30631
30620
  var k;
30632
- return Re({}, c, { id: (k = P.id) != null ? k : nt(), pano_group: P.panoIndexList });
30633
- })) != null ? v : [], u = (E = (y = r.lines) == null ? void 0 : y.map((P) => Re({}, c, P))) != null ? E : [], f = [...h, ...u];
30634
- yield Yg(this.five), this.clear(), f.forEach((P) => {
30635
- this.addGuideLineItem(P);
30621
+ return Re({}, c, { id: (k = E.id) != null ? k : nt(), pano_group: E.panoIndexList });
30622
+ })) != null ? v : [], u = (P = (y = r.lines) == null ? void 0 : y.map((E) => Re({}, c, E))) != null ? P : [], f = [...h, ...u];
30623
+ yield Yg(this.five), this.clear(), f.forEach((E) => {
30624
+ this.addGuideLineItem(E);
30636
30625
  }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", r), console.debug(`${Cu} loaded`, r);
30637
30626
  });
30638
30627
  }
@@ -30780,11 +30769,11 @@ function Xs(n) {
30780
30769
  return t.applyMatrix4(fM(n.matrixWorld.clone())), t;
30781
30770
  }
30782
30771
  const fM = (n) => {
30783
- const t = n.elements, e = t[0], i = t[1], s = t[2], o = t[3], r = t[4], a = t[5], l = t[6], c = t[7], h = t[8], u = t[9], f = t[10], g = t[11], A = t[12], p = t[13], m = t[14], v = t[15], y = u * m * c - p * f * c + p * l * g - a * m * g - u * l * v + a * f * v, E = A * f * c - h * m * c - A * l * g + r * m * g + h * l * v - r * f * v, P = h * p * c - A * u * c + A * a * g - r * p * g - h * a * v + r * u * v, k = A * u * l - h * p * l - A * a * f + r * p * f + h * a * m - r * u * m, I = e * y + i * E + s * P + o * k;
30772
+ const t = n.elements, e = t[0], i = t[1], s = t[2], o = t[3], r = t[4], a = t[5], l = t[6], c = t[7], h = t[8], u = t[9], f = t[10], g = t[11], A = t[12], p = t[13], m = t[14], v = t[15], y = u * m * c - p * f * c + p * l * g - a * m * g - u * l * v + a * f * v, P = A * f * c - h * m * c - A * l * g + r * m * g + h * l * v - r * f * v, E = h * p * c - A * u * c + A * a * g - r * p * g - h * a * v + r * u * v, k = A * u * l - h * p * l - A * a * f + r * p * f + h * a * m - r * u * m, I = e * y + i * P + s * E + o * k;
30784
30773
  if (I === 0)
30785
30774
  return n.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
30786
30775
  const j = 1 / I;
30787
- return t[0] = y * j, t[1] = (p * f * o - u * m * o - p * s * g + i * m * g + u * s * v - i * f * v) * j, t[2] = (a * m * o - p * l * o + p * s * c - i * m * c - a * s * v + i * l * v) * j, t[3] = (u * l * o - a * f * o - u * s * c + i * f * c + a * s * g - i * l * g) * j, t[4] = E * j, t[5] = (h * m * o - A * f * o + A * s * g - e * m * g - h * s * v + e * f * v) * j, t[6] = (A * l * o - r * m * o - A * s * c + e * m * c + r * s * v - e * l * v) * j, t[7] = (r * f * o - h * l * o + h * s * c - e * f * c - r * s * g + e * l * g) * j, t[8] = P * j, t[9] = (A * u * o - h * p * o - A * i * g + e * p * g + h * i * v - e * u * v) * j, t[10] = (r * p * o - A * a * o + A * i * c - e * p * c - r * i * v + e * a * v) * j, t[11] = (h * a * o - r * u * o - h * i * c + e * u * c + r * i * g - e * a * g) * j, t[12] = k * j, t[13] = (h * p * s - A * u * s + A * i * f - e * p * f - h * i * m + e * u * m) * j, t[14] = (A * a * s - r * p * s - A * i * l + e * p * l + r * i * m - e * a * m) * j, t[15] = (r * u * s - h * a * s + h * i * l - e * u * l - r * i * f + e * a * f) * j, n;
30776
+ return t[0] = y * j, t[1] = (p * f * o - u * m * o - p * s * g + i * m * g + u * s * v - i * f * v) * j, t[2] = (a * m * o - p * l * o + p * s * c - i * m * c - a * s * v + i * l * v) * j, t[3] = (u * l * o - a * f * o - u * s * c + i * f * c + a * s * g - i * l * g) * j, t[4] = P * j, t[5] = (h * m * o - A * f * o + A * s * g - e * m * g - h * s * v + e * f * v) * j, t[6] = (A * l * o - r * m * o - A * s * c + e * m * c + r * s * v - e * l * v) * j, t[7] = (r * f * o - h * l * o + h * s * c - e * f * c - r * s * g + e * l * g) * j, t[8] = E * j, t[9] = (A * u * o - h * p * o - A * i * g + e * p * g + h * i * v - e * u * v) * j, t[10] = (r * p * o - A * a * o + A * i * c - e * p * c - r * i * v + e * a * v) * j, t[11] = (h * a * o - r * u * o - h * i * c + e * u * c + r * i * g - e * a * g) * j, t[12] = k * j, t[13] = (h * p * s - A * u * s + A * i * f - e * p * f - h * i * m + e * u * m) * j, t[14] = (A * a * s - r * p * s - A * i * l + e * p * l + r * i * m - e * a * m) * j, t[15] = (r * u * s - h * a * s + h * i * l - e * u * l - r * i * f + e * a * f) * j, n;
30788
30777
  };
30789
30778
  class Zs extends Lt {
30790
30779
  constructor(e, i) {
@@ -32282,7 +32271,7 @@ class NM extends Js {
32282
32271
  case "nwse":
32283
32272
  m(), v();
32284
32273
  }
32285
- const y = new oe().subVectors(r[1], r[0]).length() / u.length(), E = new oe().subVectors(r[3], r[0]).length() / f.length(), P = new oe(y, E, 1), k = new w.Matrix4().scale(P);
32274
+ const y = new oe().subVectors(r[1], r[0]).length() / u.length(), P = new oe().subVectors(r[3], r[0]).length() / f.length(), E = new oe(y, P, 1), k = new w.Matrix4().scale(E);
32286
32275
  i.isCSS3DObjectPlus ? i.applyScaleMatrix4(k) : i.scale.applyMatrix4(k), s.position.copy(a);
32287
32276
  const I = new oe().addVectors(r[0], r[2]).divideScalar(2), j = new oe().subVectors(I, l), V = new w.Matrix4().setPosition(j);
32288
32277
  i.applyMatrix4(V), (W = this.helperObject3D.css3DInstance) == null || W.css3DObject.applyMatrix4(V), (_ = this.helperObject3D.plane) == null || _.applyMatrix4(V), this.internalHooks.emit("applyObjectScale", { matrix: k }), this.internalHooks.emit("applyObjectPosition", { matrix: V }), this.render();
@@ -32486,42 +32475,42 @@ class qg extends nn {
32486
32475
  scaleHelper: !0,
32487
32476
  boundingBoxHelper: !1,
32488
32477
  positionFrom: "objectPosition"
32489
- }), i), { moveHelper: h, rotateHelper: u, scaleHelper: f, boundingBoxHelper: g, positionFrom: A } = c, p = new Tt(), m = new Tt(), v = (E) => {
32490
- if (E)
32491
- return typeof E == "boolean" ? E : E.enable;
32478
+ }), i), { moveHelper: h, rotateHelper: u, scaleHelper: f, boundingBoxHelper: g, positionFrom: A } = c, p = new Tt(), m = new Tt(), v = (P) => {
32479
+ if (P)
32480
+ return typeof P == "boolean" ? P : P.enable;
32492
32481
  };
32493
32482
  if (v(h)) {
32494
- const E = D(D({}, this.getConfig(c.moveHelper)), c), P = new CM(e, D({}, E)), k = new ws(this.five, LM, e, P, E, p, m);
32483
+ const P = D(D({}, this.getConfig(c.moveHelper)), c), E = new CM(e, D({}, P)), k = new ws(this.five, LM, e, E, P, p, m);
32495
32484
  s.addControllers({ moveController: k.helperController }), o.push(() => k.dispose());
32496
32485
  }
32497
32486
  if (v(u)) {
32498
- const E = D(D({}, this.getConfig(c.rotateHelper)), c), P = new EM(e, D({ container: r }, E)), k = new ws(this.five, HM, e, P, E, p, m);
32487
+ const P = D(D({}, this.getConfig(c.rotateHelper)), c), E = new EM(e, D({ container: r }, P)), k = new ws(this.five, HM, e, E, P, p, m);
32499
32488
  s.addControllers({ rotateController: k.helperController }), o.push(() => k.dispose());
32500
32489
  }
32501
32490
  if (v(g)) {
32502
- const E = new TM(e), P = new ws(
32491
+ const P = new TM(e), E = new ws(
32503
32492
  this.five,
32504
32493
  GM,
32505
32494
  e,
32506
- E,
32495
+ P,
32507
32496
  void 0,
32508
32497
  p,
32509
32498
  m
32510
32499
  );
32511
- s.addControllers({ boundingBoxController: P.helperController });
32500
+ s.addControllers({ boundingBoxController: E.helperController });
32512
32501
  }
32513
32502
  if (v(f))
32514
32503
  if (e.isCSS3DObjectPlus && r) {
32515
- const E = new SM(e, r, a, this.five.scene), P = new ws(
32504
+ const P = new SM(e, r, a, this.five.scene), E = new ws(
32516
32505
  this.five,
32517
32506
  QM,
32518
32507
  e,
32519
- E,
32508
+ P,
32520
32509
  void 0,
32521
32510
  p,
32522
32511
  m
32523
32512
  );
32524
- s.addControllers({ scaleController: P.helperController }), o.push(() => P.dispose()), of(this.five).then(() => {
32513
+ s.addControllers({ scaleController: E.helperController }), o.push(() => E.dispose()), of(this.five).then(() => {
32525
32514
  var k, I;
32526
32515
  if (e.isCSS3DObjectPlus) {
32527
32516
  const j = e;
@@ -32532,7 +32521,7 @@ class qg extends nn {
32532
32521
  }
32533
32522
  });
32534
32523
  } else {
32535
- const E = D(D({}, this.getConfig(c.scaleHelper)), c), P = new FM(e, E), k = new ws(this.five, WM, e, P, E, p, m);
32524
+ const P = D(D({}, this.getConfig(c.scaleHelper)), c), E = new FM(e, P), k = new ws(this.five, WM, e, E, P, p, m);
32536
32525
  s.addControllers({ scaleController: k.helperController }), o.push(() => k.dispose());
32537
32526
  }
32538
32527
  return this.objectHelperMap.set(e, { helper: s, disposers: o }), s.controllers;
@@ -36024,7 +36013,7 @@ function dm(n, t) {
36024
36013
  else if (a.length === 1)
36025
36014
  m.raycaster.ray.intersectPlane(c, l), o.setPoints([a.at(-1), l]);
36026
36015
  else if (a.length === 2) {
36027
- const v = m.raycaster.ray.intersectPlane(c, new w.Vector3()), y = a[0].distanceTo(a[1]) / 2, E = new w.Vector3().lerpVectors(a[0], a[1], 0.5), P = new w.Vector3().subVectors(v, E).normalize(), k = new w.Vector3().addVectors(E, P.multiplyScalar(y));
36016
+ const v = m.raycaster.ray.intersectPlane(c, new w.Vector3()), y = a[0].distanceTo(a[1]) / 2, P = new w.Vector3().lerpVectors(a[0], a[1], 0.5), E = new w.Vector3().subVectors(v, P).normalize(), k = new w.Vector3().addVectors(P, E.multiplyScalar(y));
36028
36017
  l.copy(k), s.remove(o), n.setPoints([...a, l]);
36029
36018
  }
36030
36019
  }
@@ -36315,8 +36304,8 @@ function i3(n, t) {
36315
36304
  $e.modules.five.camera.position,
36316
36305
  A.raycaster.ray,
36317
36306
  new w.Line3(r, a)
36318
- ), v = new w.Plane().setFromNormalAndCoplanarPoint(n.normal, n.bottomCenter).projectPoint(p, new w.Vector3()), y = p.clone().sub(v), E = n.bottomCenter.clone().add(y);
36319
- p && n.setTopCenter(E);
36307
+ ), v = new w.Plane().setFromNormalAndCoplanarPoint(n.normal, n.bottomCenter).projectPoint(p, new w.Vector3()), y = p.clone().sub(v), P = n.bottomCenter.clone().add(y);
36308
+ p && n.setTopCenter(P);
36320
36309
  }, f = () => {
36321
36310
  t.off("select", h), t.off("intersectionUpdate", u), t.off("disable", g), e.remove(i), t.disable();
36322
36311
  }, g = () => {