@realsee/dnalogel 3.41.6 → 3.42.0-alpha-tag.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/README.md +116 -0
  3. package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -1
  4. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -0
  5. package/dist/PanoTagPlugin/typings/controller.d.ts +17 -16
  6. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -2
  7. package/dist/base/BasePlugin.d.ts +1 -0
  8. package/dist/index.cjs.js +30 -30
  9. package/dist/index.js +740 -766
  10. package/dist/index.umd.js +33 -33
  11. package/docs/.nojekyll +1 -0
  12. package/docs/assets/custom.css +0 -0
  13. package/docs/assets/highlight.css +127 -0
  14. package/docs/assets/main.js +58 -0
  15. package/docs/assets/search.js +1 -0
  16. package/docs/assets/style.css +1367 -0
  17. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +731 -0
  18. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +694 -0
  19. package/docs/classes/CSS3DRender.html +778 -0
  20. package/docs/classes/GuideLineItem.GuideLineItem.html +481 -0
  21. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +894 -0
  22. package/docs/classes/Magnifier.html +485 -0
  23. package/docs/classes/ModelRoomLabelController.html +403 -0
  24. package/docs/classes/MoveController.html +681 -0
  25. package/docs/classes/Object3DHelperController.html +645 -0
  26. package/docs/classes/PaintBrush.html +507 -0
  27. package/docs/classes/PanoMeasurePluginLine.html +527 -0
  28. package/docs/classes/PanoMeasurePluginModel.html +576 -0
  29. package/docs/classes/PanoMeasurePluginPoint.html +367 -0
  30. package/docs/classes/PanoMeasurePluginPolyline.html +572 -0
  31. package/docs/classes/PanoTagPluginController.html +1132 -0
  32. package/docs/classes/Util.BetterTween.html +421 -0
  33. package/docs/classes/Util.Interval.html +437 -0
  34. package/docs/classes/Util.LineSegments.html +389 -0
  35. package/docs/classes/Util.Magnifier.html +508 -0
  36. package/docs/classes/Util.Object3D.html +411 -0
  37. package/docs/classes/Util.PointDomHelper.html +412 -0
  38. package/docs/classes/Util.PointHelper.html +403 -0
  39. package/docs/classes/Util.PointSelectorHelper.html +459 -0
  40. package/docs/classes/Util.Rectangle.html +460 -0
  41. package/docs/classes/WalkController.html +700 -0
  42. package/docs/enums/CameraMovementEffect.html +315 -0
  43. package/docs/enums/ContentType.html +461 -0
  44. package/docs/enums/DIRECTION.html +325 -0
  45. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +325 -0
  46. package/docs/enums/DimensionType.html +315 -0
  47. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +318 -0
  48. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +325 -0
  49. package/docs/enums/PaintBrushTypeEnum.html +318 -0
  50. package/docs/enums/PointType.html +315 -0
  51. package/docs/enums/Rotation.html +322 -0
  52. package/docs/functions/AreaMakerPlugin.html +295 -0
  53. package/docs/functions/CSS3DRenderPlugin.html +293 -0
  54. package/docs/functions/CameraMovementPlugin.html +298 -0
  55. package/docs/functions/CruisePlugin.html +295 -0
  56. package/docs/functions/CurrentPanoImagePlugin.html +295 -0
  57. package/docs/functions/GuideLinePlugin.html +295 -0
  58. package/docs/functions/ItemLabelPlugin.html +295 -0
  59. package/docs/functions/MapviewFloorplanPlugin.html +295 -0
  60. package/docs/functions/ModelChassisCompassPlugin.html +298 -0
  61. package/docs/functions/ModelEntryDoorGuidePlugin.html +298 -0
  62. package/docs/functions/ModelFloorplanPlugin.html +295 -0
  63. package/docs/functions/ModelItemLabelPlugin.html +295 -0
  64. package/docs/functions/ModelRoomLabelPlugin.html +293 -0
  65. package/docs/functions/ModelTVVideoPlugin.html +295 -0
  66. package/docs/functions/ModelViewPlugin.html +298 -0
  67. package/docs/functions/MovePlugin.html +295 -0
  68. package/docs/functions/Object3DHelperPlugin.html +293 -0
  69. package/docs/functions/PanoCompassPlugin.html +295 -0
  70. package/docs/functions/PanoCursorRaycasterPlugin.html +299 -0
  71. package/docs/functions/PanoDoorLabelPlugin.html +295 -0
  72. package/docs/functions/PanoFloorplanRadarPlugin.html +295 -0
  73. package/docs/functions/PanoMeasurePlugin.html +295 -0
  74. package/docs/functions/PanoRulerPlugin.html +298 -0
  75. package/docs/functions/PanoRulerProPlugin.html +298 -0
  76. package/docs/functions/PanoSpatialTagPlugin.html +298 -0
  77. package/docs/functions/PanoTagPlugin.html +300 -0
  78. package/docs/functions/PanoVideoPlugin.html +304 -0
  79. package/docs/functions/PipelinePlugin.html +293 -0
  80. package/docs/functions/TopviewFloorplanPlugin.html +295 -0
  81. package/docs/functions/Util.absoluteUrl.html +331 -0
  82. package/docs/functions/Util.checkFiveModelLoaded.html +334 -0
  83. package/docs/functions/Util.equal.html +343 -0
  84. package/docs/functions/Util.getCoordsFromClient.html +333 -0
  85. package/docs/functions/Util.getCoordsFromElement.html +333 -0
  86. package/docs/functions/Util.getFrameTime.html +325 -0
  87. package/docs/functions/Util.getIntersectFromRelativePosition.html +333 -0
  88. package/docs/functions/Util.getRaycasterFromFivePointer.html +333 -0
  89. package/docs/functions/Util.isAbsoluteURL.html +326 -0
  90. package/docs/functions/Util.isModelLike.html +326 -0
  91. package/docs/functions/Util.isNil.html +334 -0
  92. package/docs/functions/Util.isPanoramaLike.html +326 -0
  93. package/docs/functions/Util.nextFrame.html +339 -0
  94. package/docs/functions/Util.notNil.html +334 -0
  95. package/docs/functions/Util.requestAnimationFrameInterval.html +355 -0
  96. package/docs/functions/Util.tweenProgress.html +328 -0
  97. package/docs/functions/Util.uuid.html +324 -0
  98. package/docs/functions/pluginFlag.html +293 -0
  99. package/docs/index.html +358 -0
  100. package/docs/interfaces/AddTagConfig.html +308 -0
  101. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +335 -0
  102. package/docs/interfaces/AreaMakerPluginType.Config.html +340 -0
  103. package/docs/interfaces/AreaMakerPluginType.EventMap.html +626 -0
  104. package/docs/interfaces/AreaMakerPluginType.Params.html +339 -0
  105. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +397 -0
  106. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +382 -0
  107. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +339 -0
  108. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +332 -0
  109. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +331 -0
  110. package/docs/interfaces/AreaMakerPluginType.State.html +360 -0
  111. package/docs/interfaces/CSS3DRenderPluginEventMap.html +454 -0
  112. package/docs/interfaces/CSS3DRenderPluginState.html +330 -0
  113. package/docs/interfaces/CameraMovementPluginExportType.html +363 -0
  114. package/docs/interfaces/CruisePluginTypes.Config.html +364 -0
  115. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +366 -0
  116. package/docs/interfaces/CruisePluginTypes.EventMap.html +724 -0
  117. package/docs/interfaces/CruisePluginTypes.MoveAction.html +390 -0
  118. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +426 -0
  119. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +416 -0
  120. package/docs/interfaces/CruisePluginTypes.PluginData.html +356 -0
  121. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +324 -0
  122. package/docs/interfaces/CruisePluginTypes.PluginState.html +392 -0
  123. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +387 -0
  124. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +526 -0
  125. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +328 -0
  126. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +320 -0
  127. package/docs/interfaces/CurrentPanoImagePluginType.State.html +342 -0
  128. package/docs/interfaces/EventMap.html +547 -0
  129. package/docs/interfaces/FloorplanBounding.html +337 -0
  130. package/docs/interfaces/FloorplanData.html +340 -0
  131. package/docs/interfaces/FloorplanEntrance.html +365 -0
  132. package/docs/interfaces/FloorplanExtraObject.html +355 -0
  133. package/docs/interfaces/FloorplanExtraObject3D.html +344 -0
  134. package/docs/interfaces/FloorplanFloorData.html +333 -0
  135. package/docs/interfaces/FloorplanImagePosition.html +319 -0
  136. package/docs/interfaces/FloorplanObserver.html +337 -0
  137. package/docs/interfaces/FloorplanOutlineItem.html +333 -0
  138. package/docs/interfaces/FloorplanPosition.html +319 -0
  139. package/docs/interfaces/FloorplanRoomItem.html +407 -0
  140. package/docs/interfaces/FloorplanRoomLabelItem.html +325 -0
  141. package/docs/interfaces/FloorplanServerBounding.html +337 -0
  142. package/docs/interfaces/FloorplanServerComputedData.html +336 -0
  143. package/docs/interfaces/FloorplanServerData.html +319 -0
  144. package/docs/interfaces/FloorplanServerDoorItem.html +336 -0
  145. package/docs/interfaces/FloorplanServerDoorPosition.html +322 -0
  146. package/docs/interfaces/FloorplanServerEntrance.html +365 -0
  147. package/docs/interfaces/FloorplanServerFloorData.html +333 -0
  148. package/docs/interfaces/FloorplanServerImagePosition.html +319 -0
  149. package/docs/interfaces/FloorplanServerObserver.html +337 -0
  150. package/docs/interfaces/FloorplanServerOutlineItem.html +333 -0
  151. package/docs/interfaces/FloorplanServerPosition.html +319 -0
  152. package/docs/interfaces/FloorplanServerRoomItem.html +419 -0
  153. package/docs/interfaces/FloorplanServerRoomLabelItem.html +325 -0
  154. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +328 -0
  155. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +367 -0
  156. package/docs/interfaces/GuideLinePluginType.EventMap.html +531 -0
  157. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +362 -0
  158. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +353 -0
  159. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +452 -0
  160. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +342 -0
  161. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +352 -0
  162. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +522 -0
  163. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +349 -0
  164. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +532 -0
  165. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +314 -0
  166. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +335 -0
  167. package/docs/interfaces/GuideLinePluginType.PluginState.html +360 -0
  168. package/docs/interfaces/GuideLinePluginType.Route.html +376 -0
  169. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +358 -0
  170. package/docs/interfaces/HelperOffset.html +337 -0
  171. package/docs/interfaces/ImagePlaneGroup.html +311 -0
  172. package/docs/interfaces/ItemLabelPluginData.html +308 -0
  173. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +393 -0
  174. package/docs/interfaces/ItemLabelPluginParametersType.html +329 -0
  175. package/docs/interfaces/MinMax.html +315 -0
  176. package/docs/interfaces/ModelChassisCompassPluginData.html +315 -0
  177. package/docs/interfaces/ModelChassisCompassPluginExportType.html +351 -0
  178. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +315 -0
  179. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +322 -0
  180. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +359 -0
  181. package/docs/interfaces/ModelItemLabelPluginData.html +308 -0
  182. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +393 -0
  183. package/docs/interfaces/ModelItemLabelPluginParametersType.html +315 -0
  184. package/docs/interfaces/ModelRoomLabelPluginData.html +308 -0
  185. package/docs/interfaces/ModelTVVideoPluginData.html +329 -0
  186. package/docs/interfaces/ModelTVVideoPluginExportType.html +353 -0
  187. package/docs/interfaces/ModelTVVideoPluginParameterType.html +308 -0
  188. package/docs/interfaces/ModelViewPluginExportType.html +421 -0
  189. package/docs/interfaces/Object3DHelperState.html +322 -0
  190. package/docs/interfaces/ObjectHelperControllers.html +329 -0
  191. package/docs/interfaces/PaintBrushAction.html +368 -0
  192. package/docs/interfaces/PaintBrushConfigs.html +366 -0
  193. package/docs/interfaces/PaintBrushState.html +350 -0
  194. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +430 -0
  195. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +287 -0
  196. package/docs/interfaces/PanoMeasureParameterType.html +454 -0
  197. package/docs/interfaces/PanoMeasurePluginLineJson.html +322 -0
  198. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +319 -0
  199. package/docs/interfaces/PanoMeasurePluginPointJson.html +315 -0
  200. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +325 -0
  201. package/docs/interfaces/PanoRulerPluginExportType.html +382 -0
  202. package/docs/interfaces/PanoRulerPluginOptions.html +331 -0
  203. package/docs/interfaces/PanoRulerPluginParameterType.html +322 -0
  204. package/docs/interfaces/PanoRulerProPluginExportType.html +358 -0
  205. package/docs/interfaces/PanoRulerProPluginOptions.html +328 -0
  206. package/docs/interfaces/PanoRulerProPluginParameterType.html +315 -0
  207. package/docs/interfaces/PanoRulerProPluginState.html +322 -0
  208. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +301 -0
  209. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +290 -0
  210. package/docs/interfaces/PanoSpatialTagPluginData.html +358 -0
  211. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +340 -0
  212. package/docs/interfaces/PanoSpatialTagPluginExportType.html +436 -0
  213. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +336 -0
  214. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +357 -0
  215. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +343 -0
  216. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +336 -0
  217. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +328 -0
  218. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +346 -0
  219. package/docs/interfaces/PanoVideoPluginType.PluginData.html +319 -0
  220. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +425 -0
  221. package/docs/interfaces/PanoVideoPluginType.PluginState.html +319 -0
  222. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +354 -0
  223. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +373 -0
  224. package/docs/interfaces/Point.html +322 -0
  225. package/docs/interfaces/Room.html +329 -0
  226. package/docs/interfaces/RoomInfo.html +315 -0
  227. package/docs/interfaces/RoomLabel.html +391 -0
  228. package/docs/interfaces/RoomRules.html +290 -0
  229. package/docs/interfaces/Rooms.html +290 -0
  230. package/docs/interfaces/Scissor.html +349 -0
  231. package/docs/interfaces/State.html +336 -0
  232. package/docs/interfaces/TagCacheInterface.html +367 -0
  233. package/docs/interfaces/TagConfig.html +570 -0
  234. package/docs/interfaces/TagGLTFObjectGroup.html +311 -0
  235. package/docs/interfaces/TagIconUrl.html +368 -0
  236. package/docs/interfaces/TagObjectGroup.html +311 -0
  237. package/docs/interfaces/TagStyle.html +321 -0
  238. package/docs/interfaces/Tags.html +2825 -0
  239. package/docs/interfaces/TemporaryState.html +308 -0
  240. package/docs/interfaces/Util.MagnifierParameter.html +396 -0
  241. package/docs/interfaces/Util.MouseGroupParameter.html +355 -0
  242. package/docs/interfaces/Util.PointIntersection.html +370 -0
  243. package/docs/modules/AreaMakerPluginType.html +330 -0
  244. package/docs/modules/CruisePluginTypes.html +333 -0
  245. package/docs/modules/CurrentPanoImagePluginType.html +302 -0
  246. package/docs/modules/GuideLineItem.html +294 -0
  247. package/docs/modules/GuideLineModeItem.html +299 -0
  248. package/docs/modules/GuideLinePluginType.html +355 -0
  249. package/docs/modules/PanoVideoPluginType.html +306 -0
  250. package/docs/modules/Util.html +356 -0
  251. package/docs/modules.html +564 -0
  252. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +359 -0
  253. package/docs/types/AreaMakerPluginType.ItemRenderer.html +325 -0
  254. package/docs/types/AreaMakerPluginType.PluginData.html +307 -0
  255. package/docs/types/AreaMakerPluginType.ServerData.html +307 -0
  256. package/docs/types/ArrayPosition.html +284 -0
  257. package/docs/types/AudioAppearance.html +284 -0
  258. package/docs/types/AudioTagTypeConfigKey.html +284 -0
  259. package/docs/types/CSS3DRenderExportType.html +284 -0
  260. package/docs/types/CSS3DRenderPluginExportType.html +284 -0
  261. package/docs/types/CSS3DRenderPluginParameterType.html +284 -0
  262. package/docs/types/ClassFunctionParameters.html +291 -0
  263. package/docs/types/Color.html +284 -0
  264. package/docs/types/ContentTypeConfigKey.html +284 -0
  265. package/docs/types/ContentTypeConfigKeySplit.html +284 -0
  266. package/docs/types/ContentTypeMap.html +284 -0
  267. package/docs/types/Create3DDomContainerReturnType.html +284 -0
  268. package/docs/types/Create3DElementReturnType.html +284 -0
  269. package/docs/types/CruisePluginExportType.html +284 -0
  270. package/docs/types/CruisePluginTypes.CruiseData.html +323 -0
  271. package/docs/types/CruisePluginTypes.MoveEffect.html +300 -0
  272. package/docs/types/CurrentPanoImagePluginExportType.html +284 -0
  273. package/docs/types/DeprecatedMediaPlaneProperty.html +296 -0
  274. package/docs/types/DeprecatedTagProperty.html +299 -0
  275. package/docs/types/Direction-1.html +284 -0
  276. package/docs/types/Direction4.html +284 -0
  277. package/docs/types/ElementRenderer.html +308 -0
  278. package/docs/types/FloorplanRuleLabels.html +287 -0
  279. package/docs/types/FloorplanServerRuleLabels.html +284 -0
  280. package/docs/types/GuideLinePluginExportType.html +284 -0
  281. package/docs/types/GuideLinePluginType.GuideLineItem.html +357 -0
  282. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +378 -0
  283. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +311 -0
  284. package/docs/types/GuideLinePluginType.GuideLineStyle.html +314 -0
  285. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +314 -0
  286. package/docs/types/GuideLinePluginType.PathItem.html +314 -0
  287. package/docs/types/GuideLinePluginType.PluginData.html +323 -0
  288. package/docs/types/HelperEventMap.html +429 -0
  289. package/docs/types/InternalHelperEventMap.html +380 -0
  290. package/docs/types/LoadTagConfig.html +284 -0
  291. package/docs/types/MapviewFloorplanPluginParameterType.html +284 -0
  292. package/docs/types/MapviewFloorplanPluginReturnType.html +284 -0
  293. package/docs/types/MediaData.html +305 -0
  294. package/docs/types/MediaStore.html +289 -0
  295. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +291 -0
  296. package/docs/types/ModelFloorplanPluginParameterType.html +284 -0
  297. package/docs/types/ModelFloorplanPluginReturnType.html +284 -0
  298. package/docs/types/ModelId.html +284 -0
  299. package/docs/types/ModelRoomLabelPluginParameters.html +284 -0
  300. package/docs/types/ModelRoomLabelPluginReturnType.html +284 -0
  301. package/docs/types/MoveArgs.html +294 -0
  302. package/docs/types/MoveOpts.html +292 -0
  303. package/docs/types/Object3DHelperEventMap.html +377 -0
  304. package/docs/types/ObjectFit.html +284 -0
  305. package/docs/types/PaintBrushEventMap.html +315 -0
  306. package/docs/types/PanoCompassPluginData.html +284 -0
  307. package/docs/types/PanoCompassPluginExportType.html +284 -0
  308. package/docs/types/PanoCompassPluginParameterType.html +284 -0
  309. package/docs/types/PanoFloorplanRadarPluginParameterType.html +284 -0
  310. package/docs/types/PanoFloorplanRadarPluginReturnType.html +284 -0
  311. package/docs/types/PanoIndex.html +284 -0
  312. package/docs/types/PanoMeasurePluginEvent.html +284 -0
  313. package/docs/types/PanoMeasureReturnType.html +284 -0
  314. package/docs/types/PanoSpatialTagPluginId.html +284 -0
  315. package/docs/types/PanoTagPluginExportInterface.html +284 -0
  316. package/docs/types/PanoTagPluginParamsInterface.html +284 -0
  317. package/docs/types/PanoVideoPluginParameterType.html +284 -0
  318. package/docs/types/PanoVideoPluginReturnType.html +284 -0
  319. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +292 -0
  320. package/docs/types/PipelinePluginParameterType.html +284 -0
  321. package/docs/types/PipelinePluginReturnType.html +284 -0
  322. package/docs/types/PlaneTag.html +292 -0
  323. package/docs/types/Point2DTag.html +292 -0
  324. package/docs/types/Point3DTag.html +292 -0
  325. package/docs/types/PointTag.html +289 -0
  326. package/docs/types/PointTagInstance.html +289 -0
  327. package/docs/types/Position.html +284 -0
  328. package/docs/types/RotateArgs.html +296 -0
  329. package/docs/types/RotateOpts.html +292 -0
  330. package/docs/types/RuleLabelsKey.html +284 -0
  331. package/docs/types/RuleLabelsValue.html +284 -0
  332. package/docs/types/StickType.html +284 -0
  333. package/docs/types/Tag.html +350 -0
  334. package/docs/types/Tag2D.html +292 -0
  335. package/docs/types/Tag3D.html +292 -0
  336. package/docs/types/TagConfigByKey.html +289 -0
  337. package/docs/types/TagContentType.html +284 -0
  338. package/docs/types/TagContentTypeMapping.html +284 -0
  339. package/docs/types/TagDimensionType.html +286 -0
  340. package/docs/types/TagElement.html +294 -0
  341. package/docs/types/TagEvents.html +337 -0
  342. package/docs/types/TagGLTFObject.html +307 -0
  343. package/docs/types/TagHooks.html +284 -0
  344. package/docs/types/TagId.html +284 -0
  345. package/docs/types/TagInstance.html +362 -0
  346. package/docs/types/TagPointType.html +287 -0
  347. package/docs/types/TagRendererMap.html +291 -0
  348. package/docs/types/TopviewFloorplanPluginParameterType.html +284 -0
  349. package/docs/types/TopviewFloorplanPluginReturnType.html +284 -0
  350. package/docs/types/WorkCode.html +284 -0
  351. package/docs/variables/FLOOR_TYPE_MAP.html +294 -0
  352. package/docs/variables/PLUGIN.html +284 -0
  353. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +287 -0
  354. package/docs/variables/ROOM_TYPE_MAP.html +294 -0
  355. package/docs/variables/defaultGlobalConfig.html +284 -0
  356. package/docs/variables/itemLabelPluginServerParams.html +291 -0
  357. package/docs/variables/modelItemLabelPluginServerParams.html +291 -0
  358. package/docs/variables/modelRoomLabelPluginServerParams.html +291 -0
  359. package/libs/PanoTagPlugin/Components/TagItem.js +246 -286
  360. package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -1
  361. package/libs/PanoTagPlugin/controller/TagRender.js +61 -58
  362. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -0
  363. package/libs/PanoTagPlugin/controller/TagUtil.js +22 -20
  364. package/libs/PanoTagPlugin/controller/index.js +57 -56
  365. package/libs/PanoTagPlugin/tag.config.js +5 -0
  366. package/libs/PanoTagPlugin/typings/controller.d.ts +17 -16
  367. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -2
  368. package/libs/base/BasePlugin.d.ts +1 -0
  369. package/libs/base/BasePlugin.js +7 -4
  370. package/libs/shared-utils/logger.js +1 -1
  371. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -20,7 +20,7 @@ var bn = (n, t) => {
20
20
  return e;
21
21
  };
22
22
  var d = (n, t, e) => (pa(n, typeof t != "symbol" ? t + "" : t, e), e);
23
- var _ = (n, t, e) => new Promise((i, s) => {
23
+ var G = (n, t, e) => new Promise((i, s) => {
24
24
  var o = (l) => {
25
25
  try {
26
26
  a(e.next(l));
@@ -38,7 +38,7 @@ var _ = (n, t, e) => new Promise((i, s) => {
38
38
  });
39
39
  import { Camera as Sg, Five as mt, Subscribe as rn } from "@realsee/five";
40
40
  import * as w from "three";
41
- import { Vector3 as le, LineSegments as Tg, Group as jn, Raycaster as qn, MeshBasicMaterial as Gs, CanvasTexture as Lg, AnimationMixer as jg, Color as Kn, TextureLoader as tf, Vector2 as Pt, Object3D as zg, PlaneGeometry as Og, sRGBEncoding as Bg, LinearFilter as Wa, Mesh as zs, CurvePath as Rg, LineCurve3 as Vg, TubeGeometry as Hg, ShaderMaterial as nf, SphereGeometry as Ng, DoubleSide as sf, RingGeometry as Fg, Quaternion as gl, Euler as cc, Matrix4 as Ds, VideoTexture as Gg, Vector4 as _g, SphereBufferGeometry as Qg } from "three";
41
+ import { Vector3 as le, LineSegments as Tg, Group as jn, Raycaster as qn, MeshBasicMaterial as Gs, CanvasTexture as Lg, AnimationMixer as jg, Color as Kn, TextureLoader as tf, Vector2 as Ct, Object3D as zg, PlaneGeometry as Og, sRGBEncoding as Bg, LinearFilter as Wa, Mesh as zs, CurvePath as Rg, LineCurve3 as Vg, TubeGeometry as Hg, ShaderMaterial as nf, SphereGeometry as Ng, DoubleSide as sf, RingGeometry as Fg, Quaternion as gl, Euler as cc, Matrix4 as Ds, VideoTexture as Gg, Vector4 as _g, SphereBufferGeometry as Qg } from "three";
42
42
  import { CSS3DRenderer as Wg, CSS3DObject as Ua } from "three/examples/jsm/renderers/CSS3DRenderer";
43
43
  import pr from "hammerjs";
44
44
  import Xo from "animejs";
@@ -48,7 +48,7 @@ import Jg from "earcut";
48
48
  import { GLTFLoader as qg } from "@realsee/five/gltf-loader";
49
49
  function Kg() {
50
50
  console.debug(
51
- "%c %c@realsee/dnalogel %cv3.41.6",
51
+ "%c %c@realsee/dnalogel %cv3.42.0-alpha-tag.0",
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",
@@ -1013,7 +1013,7 @@ let fp = class extends dp {
1013
1013
  this.closeBrush(), this.ready = !1, this.emit("readyChange", !0);
1014
1014
  }
1015
1015
  };
1016
- class Q3 {
1016
+ class Qx {
1017
1017
  constructor(t = {}) {
1018
1018
  d(this, "controller");
1019
1019
  const e = Object.assign({
@@ -1064,9 +1064,9 @@ class Q3 {
1064
1064
  this.controller.updateCurrentColor(t);
1065
1065
  }
1066
1066
  }
1067
- const W3 = (n, t) => {
1068
- var G, N;
1069
- let e = (N = (G = t == null ? void 0 : t.initialState) == null ? void 0 : G.enabled) != null ? N : !0, i = !1, s = !0, o = null;
1067
+ const Wx = (n, t) => {
1068
+ var _, N;
1069
+ let e = (N = (_ = t == null ? void 0 : t.initialState) == null ? void 0 : _.enabled) != null ? N : !0, i = !1, s = !0, o = null;
1070
1070
  const a = D(D({}, {
1071
1071
  lookAtCurrentCamera: !1,
1072
1072
  lockedPanoIndex: null,
@@ -1257,7 +1257,7 @@ function Po(n) {
1257
1257
  function vp(n) {
1258
1258
  n[Bs] && delete n[Bs];
1259
1259
  }
1260
- class It {
1260
+ class Pt {
1261
1261
  /**
1262
1262
  * 判断是否注册了事件
1263
1263
  * @param name - 事件类型
@@ -1373,7 +1373,7 @@ class Cp extends Ua {
1373
1373
  d(this, "centerPosition");
1374
1374
  d(this, "ratio");
1375
1375
  d(this, "mode", "front");
1376
- d(this, "hooks", new It());
1376
+ d(this, "hooks", new Pt());
1377
1377
  d(this, "opacityMesh");
1378
1378
  d(this, "selfVisible", !0);
1379
1379
  d(this, "setVisible", (e) => {
@@ -1538,7 +1538,7 @@ function Dp(n) {
1538
1538
  class _s {
1539
1539
  // eslint-disable-next-line @typescript-eslint/no-useless-constructor
1540
1540
  constructor(t) {
1541
- d(this, "hooks", new It());
1541
+ d(this, "hooks", new Pt());
1542
1542
  d(this, "state", {
1543
1543
  enabled: !0,
1544
1544
  visible: !0,
@@ -1674,14 +1674,14 @@ class _s {
1674
1674
  this.setState({ disposed: !0 }), this.hooks.emit("dispose");
1675
1675
  }
1676
1676
  show() {
1677
- return _(this, arguments, function* ({ userAction: t } = { userAction: !0 }) {
1677
+ return G(this, arguments, function* ({ userAction: t } = { userAction: !0 }) {
1678
1678
  if (this.state.disposed)
1679
1679
  return yn();
1680
1680
  this.setState({ visible: !0 }, { userAction: t }), this.hooks.emit("show", { userAction: t });
1681
1681
  });
1682
1682
  }
1683
1683
  hide() {
1684
- return _(this, arguments, function* ({ userAction: t } = { userAction: !0 }) {
1684
+ return G(this, arguments, function* ({ userAction: t } = { userAction: !0 }) {
1685
1685
  if (this.state.disposed)
1686
1686
  return yn();
1687
1687
  this.setState({ visible: !1 }, { userAction: t }), this.hooks.emit("hide", { userAction: t });
@@ -1753,13 +1753,13 @@ class _s {
1753
1753
  }
1754
1754
  }
1755
1755
  handleShow() {
1756
- return _(this, null, function* () {
1756
+ return G(this, null, function* () {
1757
1757
  var t;
1758
1758
  this.store.frontModeGroup.setVisible(!0), (t = this.store.behindModeGroup) == null || t.setVisible(!0);
1759
1759
  });
1760
1760
  }
1761
1761
  handleHide() {
1762
- return _(this, null, function* () {
1762
+ return G(this, null, function* () {
1763
1763
  var t;
1764
1764
  this.store.frontModeGroup.setVisible(!1), (t = this.store.behindModeGroup) == null || t.setVisible(!1);
1765
1765
  });
@@ -1860,7 +1860,7 @@ class vl {
1860
1860
  d(this, "width");
1861
1861
  d(this, "height");
1862
1862
  d(this, "containerDom");
1863
- d(this, "hooks", new It());
1863
+ d(this, "hooks", new Pt());
1864
1864
  d(this, "canvas", document.createElement("canvas"));
1865
1865
  d(this, "config");
1866
1866
  d(this, "state", { enabled: !1 });
@@ -2209,7 +2209,7 @@ class gf {
2209
2209
  class pf {
2210
2210
  constructor(t, e) {
2211
2211
  d(this, "five");
2212
- d(this, "hooks", new It());
2212
+ d(this, "hooks", new Pt());
2213
2213
  d(this, "position");
2214
2214
  d(this, "magnifier", null);
2215
2215
  d(this, "pointHelper", null);
@@ -2393,7 +2393,7 @@ function br(n, t = 0) {
2393
2393
  t <= 0 ? Hn(n) : Hn(() => br(n, t - 1));
2394
2394
  }
2395
2395
  function Up() {
2396
- return _(this, null, function* () {
2396
+ return G(this, null, function* () {
2397
2397
  return new Promise((n) => {
2398
2398
  Hn(() => n());
2399
2399
  });
@@ -2467,10 +2467,10 @@ function Kp(n, t) {
2467
2467
  }
2468
2468
  return !0;
2469
2469
  }
2470
- function Ct(n, t, e = { deep: !1 }) {
2470
+ function wt(n, t, e = { deep: !1 }) {
2471
2471
  return e.deep ? yl(n, t) : Jp(n, t);
2472
2472
  }
2473
- const Y3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2473
+ const Yx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2474
2474
  __proto__: null,
2475
2475
  BetterTween: $i,
2476
2476
  Interval: Za,
@@ -2486,7 +2486,7 @@ const Y3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2486
2486
  awaitNextFrame: Up,
2487
2487
  blink: vr,
2488
2488
  checkFiveModelLoaded: Tp,
2489
- equal: Ct,
2489
+ equal: wt,
2490
2490
  getCoordsFromClient: jp,
2491
2491
  getCoordsFromElement: uf,
2492
2492
  getFrameTime: Yp,
@@ -2504,7 +2504,7 @@ const Y3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2504
2504
  uuid: lt
2505
2505
  }, Symbol.toStringTag, { value: "Module" }));
2506
2506
  function es(n) {
2507
- return _(this, null, function* () {
2507
+ return G(this, null, function* () {
2508
2508
  return new Promise((t) => {
2509
2509
  if ($p(n))
2510
2510
  t();
@@ -2683,7 +2683,7 @@ function ba(n, t, e = new le(1, 1, 1), i = !1) {
2683
2683
  const s = new Pf(n, t);
2684
2684
  return s.setMaterial({ dashed: i, color: e, linewidth: 1 }), s.remove(s.points), s;
2685
2685
  }
2686
- const Z3 = (n) => {
2686
+ const Zx = (n) => {
2687
2687
  const t = {
2688
2688
  intersection: null,
2689
2689
  disposers: []
@@ -2808,7 +2808,7 @@ function ss(n) {
2808
2808
  }
2809
2809
  return -1;
2810
2810
  }
2811
- function Ze(n) {
2811
+ function Ke(n) {
2812
2812
  return n == null ? "" : n;
2813
2813
  }
2814
2814
  function Ut(n) {
@@ -3016,7 +3016,7 @@ function ji() {
3016
3016
  function Tf(n) {
3017
3017
  ji().$$.before_update.push(n);
3018
3018
  }
3019
- function xt(n) {
3019
+ function kt(n) {
3020
3020
  ji().$$.on_mount.push(n);
3021
3021
  }
3022
3022
  function Lf(n) {
@@ -3319,7 +3319,7 @@ function Zt(n, t, e, i, s, o, r, a, l, c, h, u) {
3319
3319
  E(g[m - 1]);
3320
3320
  return ot(P), g;
3321
3321
  }
3322
- function Et(n, t) {
3322
+ function It(n, t) {
3323
3323
  const e = {}, i = {}, s = { $$scope: 1 };
3324
3324
  let o = n.length;
3325
3325
  for (; o--; ) {
@@ -3949,7 +3949,7 @@ function FA(n, t, e) {
3949
3949
  return P.set(E.id, F), F;
3950
3950
  }
3951
3951
  return o.map((E) => {
3952
- const z = c(E), R = z ? h(E, y) : E.transform, U = I(E), F = o.filter((G) => G.visible && I(G) < U).length * 10;
3952
+ const z = c(E), R = z ? h(E, y) : E.transform, U = I(E), F = o.filter((_) => _.visible && I(_) < U).length * 10;
3953
3953
  return re(D({}, E), { visible: z, transform: R, zIndex: F });
3954
3954
  });
3955
3955
  }
@@ -4076,13 +4076,13 @@ class QA {
4076
4076
  }
4077
4077
  }
4078
4078
  }
4079
- const J3 = (n) => new QA(n), q3 = {
4079
+ const Jx = (n) => new QA(n), qx = {
4080
4080
  name: "ModelRoomLabelPlugin",
4081
4081
  version: 0
4082
4082
  };
4083
4083
  var Xi = /* @__PURE__ */ ((n) => (n[n.FLOOR = 1] = "FLOOR", n[n.CEILING = 2] = "CEILING", n[n.BOUNDING_CENTER = 3] = "BOUNDING_CENTER", n))(Xi || {});
4084
4084
  function en(n) {
4085
- return _(this, null, function* () {
4085
+ return G(this, null, function* () {
4086
4086
  try {
4087
4087
  return [null, yield n];
4088
4088
  } catch (t) {
@@ -4634,16 +4634,16 @@ function cv(n, t, e) {
4634
4634
  return () => !1;
4635
4635
  const Le = K.path.map(({ x: Oe, y: Ge }) => [Oe, Ge]), pe = K.roomLabel.position, { x: Ye, y: je } = pe, { width: ke, height: $e } = ve, ae = ke / 2, Ce = $e / 2;
4636
4636
  return function(Ge) {
4637
- const rt = Ye * Ge, Je = je * Ge, tt = Le.map(([Ie, Xe]) => [Ie * Ge, Xe * Ge]);
4637
+ const rt = Ye * Ge, Ze = je * Ge, tt = Le.map(([Ie, Xe]) => [Ie * Ge, Xe * Ge]);
4638
4638
  return [
4639
- [rt + ae, Je - Ce],
4640
- [rt - ae, Je - Ce],
4641
- [rt - ae, Je + Ce],
4642
- [rt + ae, Je + Ce]
4639
+ [rt + ae, Ze - Ce],
4640
+ [rt - ae, Ze - Ce],
4641
+ [rt - ae, Ze + Ce],
4642
+ [rt + ae, Ze + Ce]
4643
4643
  ].every((Ie) => lv(Ie, tt));
4644
4644
  };
4645
4645
  }
4646
- const F = document.body.clientWidth, G = document.body.clientHeight, N = I.roomLabel, Q = N.positionInImage.x * 100 + "%", H = N.positionInImage.y * 100 + "%", Y = (F < 500 || G < 500 ? 10 : 14) + "px", Z = (F < 500 || G < 500 ? 8 : 12) + "px";
4646
+ const F = document.body.clientWidth, _ = document.body.clientHeight, N = I.roomLabel, Q = N.positionInImage.x * 100 + "%", H = N.positionInImage.y * 100 + "%", Y = (F < 500 || _ < 500 ? 10 : 14) + "px", Z = (F < 500 || _ < 500 ? 8 : 12) + "px";
4647
4647
  let J = 0, oe = 0, se = 0, Pe = 0, Ae = !1;
4648
4648
  k.subscribe(function(ve) {
4649
4649
  e(25, Ae = !!ve && ve.id === I.id);
@@ -4870,7 +4870,7 @@ function Lc(n, t) {
4870
4870
  p(a, l) {
4871
4871
  t = a;
4872
4872
  const c = l & /*pxmm, rooms, hoveredRoom, roomAreaEnable, roomNameEnable, roomDimensionEnable, getLabelElement, getRoomAreaText, getRoomDimensionText, adaptiveRoomLabelVisibleEnable*/
4873
- 1791 ? Et(o, [
4873
+ 1791 ? It(o, [
4874
4874
  {
4875
4875
  pxmm: (
4876
4876
  /*pxmm*/
@@ -5260,7 +5260,7 @@ function Vc(n, t) {
5260
5260
  p(a, l) {
5261
5261
  t = a;
5262
5262
  const c = l & /*ruleLabelArray, bounding, getRuleDistanceText*/
5263
- 19 ? Et(o, [
5263
+ 19 ? It(o, [
5264
5264
  {
5265
5265
  type: (
5266
5266
  /*type*/
@@ -5983,7 +5983,7 @@ function Qc(n, t) {
5983
5983
  p(a, l) {
5984
5984
  t = a;
5985
5985
  const c = l & /*floorplanData, floorIndex, hoveredRoom, highlightData*/
5986
- 15 ? Et(o, [
5986
+ 15 ? It(o, [
5987
5987
  {
5988
5988
  room: (
5989
5989
  /*room*/
@@ -6448,7 +6448,7 @@ function d0(n) {
6448
6448
  },
6449
6449
  p(I, k) {
6450
6450
  const E = k & /*floorIndex, floorplanData*/
6451
- 2052 ? Et(u, [
6451
+ 2052 ? It(u, [
6452
6452
  {
6453
6453
  floorIndex: (
6454
6454
  /*floorIndex*/
@@ -6467,7 +6467,7 @@ function d0(n) {
6467
6467
  m = null;
6468
6468
  }), fe());
6469
6469
  const z = k & /*floorplanData, floorIndex*/
6470
- 2052 ? Et(A, [
6470
+ 2052 ? It(A, [
6471
6471
  {
6472
6472
  floorplanData: (
6473
6473
  /*floorplanData*/
@@ -6575,7 +6575,7 @@ function Uc(n) {
6575
6575
  },
6576
6576
  p(o, r) {
6577
6577
  const a = r & /*floorIndex, floorplanData, hoveredRoom, highlightData*/
6578
- 16910340 ? Et(i, [
6578
+ 16910340 ? It(i, [
6579
6579
  {
6580
6580
  floorIndex: (
6581
6581
  /*floorIndex*/
@@ -6666,7 +6666,7 @@ function Yc(n) {
6666
6666
  },
6667
6667
  p(o, r) {
6668
6668
  const a = r & /*floorplanData, roomAreaEnable, roomNameEnable, roomDimensionEnable, floorIndex, getRoomAreaText, getRoomDimensionText, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/
6669
- 16874372 ? Et(i, [
6669
+ 16874372 ? It(i, [
6670
6670
  {
6671
6671
  floorplanData: (
6672
6672
  /*floorplanData*/
@@ -6753,7 +6753,7 @@ function Xc(n) {
6753
6753
  },
6754
6754
  p(o, r) {
6755
6755
  const a = r & /*floorplanData, floorIndex, getRuleDistanceText*/
6756
- 34820 ? Et(i, [
6756
+ 34820 ? It(i, [
6757
6757
  {
6758
6758
  floorplanData: (
6759
6759
  /*floorplanData*/
@@ -6816,7 +6816,7 @@ function Zc(n) {
6816
6816
  },
6817
6817
  p(o, r) {
6818
6818
  const a = r & /*panoIndex, floorplanData, lastPanoramaLongitude, cameraImageUrl*/
6819
- 1574913 ? Et(i, [
6819
+ 1574913 ? It(i, [
6820
6820
  {
6821
6821
  panoIndex: (
6822
6822
  /*panoIndex*/
@@ -6899,7 +6899,7 @@ function f0(n) {
6899
6899
  }
6900
6900
  return e = l(n), i = a[e] = r[e](n), {
6901
6901
  c() {
6902
- t = S("div"), i.c(), C(t, "class", s = Ze(`floorplan-plugin__floor${/*isCurrent*/
6902
+ t = S("div"), i.c(), C(t, "class", s = Ke(`floorplan-plugin__floor${/*isCurrent*/
6903
6903
  n[1] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz");
6904
6904
  },
6905
6905
  m(c, h) {
@@ -6910,7 +6910,7 @@ function f0(n) {
6910
6910
  e = l(c), e === u ? a[e].p(c, h) : (ue(), O(a[u], 1, 1, () => {
6911
6911
  a[u] = null;
6912
6912
  }), fe(), i = a[e], i ? i.p(c, h) : (i = a[e] = r[e](c), i.c()), x(i, 1), i.m(t, null)), (!o || h & /*isCurrent*/
6913
- 2 && s !== (s = Ze(`floorplan-plugin__floor${/*isCurrent*/
6913
+ 2 && s !== (s = Ke(`floorplan-plugin__floor${/*isCurrent*/
6914
6914
  c[1] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz")) && C(t, "class", s);
6915
6915
  },
6916
6916
  i(c) {
@@ -6926,7 +6926,7 @@ function f0(n) {
6926
6926
  }
6927
6927
  function m0(n, t, e) {
6928
6928
  let i, s, { panoIndex: o } = t, { isCurrent: r } = t, { floorIndex: a } = t, { highlightEnable: l } = t, { cameraEnable: c } = t, { hoverEnable: h } = t, { roomLabelsEnable: u } = t, { roomAreaEnable: f } = t, { roomNameEnable: m } = t, { roomDimensionEnable: A } = t, { ruleLabelsEnable: p } = t, { floorplanData: g } = t, { getRoomAreaText: v } = t, { getRoomDimensionText: y } = t, { getLabelElement: P } = t, { getRuleDistanceText: I } = t, { adaptiveRoomLabelVisibleEnable: k } = t, { highlightData: E } = t, { missingFloorConfig: z } = t, { lastPanoramaLongitude: R } = t, { cameraImageUrl: U } = t, { northDesc: W } = t, { compassEnable: F } = t;
6929
- const G = Ll(void 0);
6929
+ const _ = Ll(void 0);
6930
6930
  return n.$$set = (N) => {
6931
6931
  "panoIndex" in N && e(0, o = N.panoIndex), "isCurrent" in N && e(1, r = N.isCurrent), "floorIndex" in N && e(2, a = N.floorIndex), "highlightEnable" in N && e(3, l = N.highlightEnable), "cameraEnable" in N && e(4, c = N.cameraEnable), "hoverEnable" in N && e(5, h = N.hoverEnable), "roomLabelsEnable" in N && e(6, u = N.roomLabelsEnable), "roomAreaEnable" in N && e(7, f = N.roomAreaEnable), "roomNameEnable" in N && e(8, m = N.roomNameEnable), "roomDimensionEnable" in N && e(9, A = N.roomDimensionEnable), "ruleLabelsEnable" in N && e(10, p = N.ruleLabelsEnable), "floorplanData" in N && e(11, g = N.floorplanData), "getRoomAreaText" in N && e(12, v = N.getRoomAreaText), "getRoomDimensionText" in N && e(13, y = N.getRoomDimensionText), "getLabelElement" in N && e(14, P = N.getLabelElement), "getRuleDistanceText" in N && e(15, I = N.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in N && e(16, k = N.adaptiveRoomLabelVisibleEnable), "highlightData" in N && e(17, E = N.highlightData), "missingFloorConfig" in N && e(18, z = N.missingFloorConfig), "lastPanoramaLongitude" in N && e(19, R = N.lastPanoramaLongitude), "cameraImageUrl" in N && e(20, U = N.cameraImageUrl), "northDesc" in N && e(21, W = N.northDesc), "compassEnable" in N && e(22, F = N.compassEnable);
6932
6932
  }, n.$$.update = () => {
@@ -6958,7 +6958,7 @@ function m0(n, t, e) {
6958
6958
  W,
6959
6959
  F,
6960
6960
  s,
6961
- G,
6961
+ _,
6962
6962
  i
6963
6963
  ];
6964
6964
  }
@@ -7185,7 +7185,7 @@ function $c(n) {
7185
7185
  },
7186
7186
  p(o, r) {
7187
7187
  const a = r & /*hoverEnable, highlightEnable, floorplanData, getRoomAreaText, getRoomDimensionText, getLabelElement, getRuleDistanceText, roomLabelsEnable, roomAreaEnable, roomNameEnable, roomDimensionEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, highlightData, missingFloorConfig, panoIndex, cameraEnable, cameraImageUrl, lastPanoramaLongitude, compassEnable, northDesc, floorIndex*/
7188
- 16777212 ? Et(i, [
7188
+ 16777212 ? It(i, [
7189
7189
  r & /*hoverEnable, highlightEnable, floorplanData, getRoomAreaText, getRoomDimensionText, getLabelElement, getRuleDistanceText, roomLabelsEnable, roomAreaEnable, roomNameEnable, roomDimensionEnable, ruleLabelsEnable, adaptiveRoomLabelVisibleEnable, highlightData, missingFloorConfig, panoIndex, cameraEnable, cameraImageUrl, lastPanoramaLongitude, compassEnable, northDesc*/
7190
7190
  16777196 && {
7191
7191
  hoverEnable: (
@@ -7403,9 +7403,9 @@ let jl = class extends de {
7403
7403
  };
7404
7404
  const b0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAwCAYAAACFUvPfAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALaADAAQAAAABAAAAMAAAAADe2FZjAAAEF0lEQVRoBe2WzWskRRiHf13V092TxI2oEzYeVDwITtyDuCiihwiCePGgxIM3vYgHL4J4UIhBRA8i/gPqyUvWg7AiIuIeloDiYUHJLOK6BPwIk9nNODM9Xf1RVe1b3elJRjCZmQ6euqGmuqer33rq4e23GqiOykBloDJQGagMVAYqA5WBykBlYFYD1qwP/tdzaZqOx9zYOLxeX0+L5yzLGp0X/03a25MOnGRcBtx+6Rlo9SL08G4EooFnxa8Yiivox5/h5Ys/4cl7NVorNDRnngX+0MIkVMeMSf23zyKML8J7/Dy8hwF2Buh9CnS+AEQIdLspBuGb+M7/qLW4qJrNpsLapjYhpwVnx3BMfCtNNx3Etc9xywvnMf80wG8HmQainw0RxSGrnmeBp+8k5/j9S0HbvXb5io0Lz880/0wPHV1NlhLd316He+4xOCv5ragF7L9PrH1qBJyB0626x/lC+qrSvH5r/W+n1WpxUM5nMY4GPeH8lHJaPgfeAFQHCL+ntkXT+vnUc3W6pvTIwC0wy3rA4dwLmK2avZ7Eo9uKBuYJfgJscbs8dLCxDMt+EOEPBEZNEWyBYHqTz6bPXrzUnNrSShxHIsYiOL69zrCGLLcLqJP68tB+9w5wj+YhWDafQ2s61wNqxjZhmrQ2pvMFCEvXuCUZ7wqH794ZWs28LJqlTXSUyuksF2M/yOwqgkx2c1ADa4wLAQRk2sAGQQakhN6yFC2hltfz5kSY44NKQeeh+vtI/SSzWhg2CzCgmWISmKUGmaYFBDfCSymnfxJ6/+ospVcWOLLp5DGP/y0P/Rp66O99DQNq7Po3Ds0a0wY+My2QSv2N2mO/OyxR2o6UQk+Lv7yJ06JYSnnolZVU9cUn2O9SmaMWGFBqYXRwbqAJWIi94TX5biotpcGl1DXZ6LnqIbNDTnmUgi52Mv5l5ysMxIcZcGjy2DTK4ZHlcBC14zeSge4qphICjj3bS0A7o9nSp2TOkm7aZ8bGZy/jxhO87V91G0+dfY/Z7BWIIK9KYUi5qy/Hf8YfBG3sqJTHiQWhmTVkbip+wX3x6volVSx+LPAxF+VLXhZ8VQ+iP2Rta/iWe5v42Fngj0BbdnRTXh12ZIcKhTaGbcYjybRwXBU1lu9KlndXp04NM52poKWO0RZsviNaP9a6grkO972+st05pXhE5c1hTEluJy7XUejGUQNLMbAmTdWY1rKBLW3aTJqBZ7nZkb36DhYCreeYHbMUXHvaYi5XDK70EcgulmRjm77wNtenzuXCbmnTRaAx493rbGf3Jr/njMzj920CnKdUaFCjlDioy7NYNvOdGrQJNgI32/L2tkXfFPlxgToqjWVhD6KdLnQRdARf/HHQz2r2X2Gqy8pAZaAyUBmoDFQGKgP/q4F/AJYg9/s0ZoABAAAAAElFTkSuQmCC";
7405
7405
  function y0(n) {
7406
- return _(this, null, function* () {
7406
+ return G(this, null, function* () {
7407
7407
  const t = new Headers({ "Content-Type": "text/plain" }), e = function(s) {
7408
- return _(this, null, function* () {
7408
+ return G(this, null, function* () {
7409
7409
  const o = {
7410
7410
  index: s.index,
7411
7411
  url: s.url,
@@ -7464,7 +7464,7 @@ function I0(n) {
7464
7464
  };
7465
7465
  }
7466
7466
  function Di(n) {
7467
- return _(this, null, function* () {
7467
+ return G(this, null, function* () {
7468
7468
  const t = yield y0(n.outlines), e = n.computed_data.bounding, i = n.computed_data.floor_datas.map(C0), s = n.computed_data.entrance ? I0(n.computed_data.entrance) : null;
7469
7469
  return {
7470
7470
  outlines: t,
@@ -7604,7 +7604,7 @@ let Bi = class {
7604
7604
  /**
7605
7605
  * @realsee/dnalogel 版本号
7606
7606
  */
7607
- d(this, "VERSION", "3.41.6");
7607
+ d(this, "VERSION", "3.42.0-alpha-tag.0");
7608
7608
  d(this, "NAME");
7609
7609
  d(this, "five");
7610
7610
  d(this, "workUtil");
@@ -7612,9 +7612,9 @@ let Bi = class {
7612
7612
  /**
7613
7613
  * @description: 插件事件钩子
7614
7614
  */
7615
- d(this, "hooks", new It());
7615
+ d(this, "hooks", new Pt());
7616
7616
  d(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
7617
- this.five = t, this.fiveUtil = new x0(t), this.workUtil = this.fiveUtil.workUtil, e != null && e.staticPrefix && (this.staticPrefix = e.staticPrefix);
7617
+ this.updateFive(t), e != null && e.staticPrefix && (this.staticPrefix = e.staticPrefix);
7618
7618
  }
7619
7619
  set workCode(t) {
7620
7620
  this.workUtil.workCode = t, this.onWorkCodeChange();
@@ -7622,6 +7622,9 @@ let Bi = class {
7622
7622
  get workCode() {
7623
7623
  return this.workUtil.workCode;
7624
7624
  }
7625
+ updateFive(t) {
7626
+ this.five = t, this.fiveUtil = new x0(t), this.workUtil = this.fiveUtil.workUtil;
7627
+ }
7625
7628
  /**
7626
7629
  * 获取当前的插件状态,如果当初插件内存在需要通过动画变更的 state 值,则通过此方法可以得到中间状态
7627
7630
  */
@@ -7638,7 +7641,7 @@ let Bi = class {
7638
7641
  }
7639
7642
  }, vi = class extends Bi {
7640
7643
  };
7641
- var Lt = /* @__PURE__ */ ((n) => (n.UnknownError = "UnknownError", n.DataNotLoaded = "DataNotLoaded", n.UpdateSizeError = "UpdateSizeError", n.BreakOffByHide = "BreakOffByHide", n.BreakOffByDisable = "BreakOffByDisable", n.ModelNotLoaded = "ModelNotLoaded", n.ChangeModeError = "ChangeModeError", n.UpdateCameraError = "UpdateCameraError", n))(Lt || {});
7644
+ var Tt = /* @__PURE__ */ ((n) => (n.UnknownError = "UnknownError", n.DataNotLoaded = "DataNotLoaded", n.UpdateSizeError = "UpdateSizeError", n.BreakOffByHide = "BreakOffByHide", n.BreakOffByDisable = "BreakOffByDisable", n.ModelNotLoaded = "ModelNotLoaded", n.ChangeModeError = "ChangeModeError", n.UpdateCameraError = "UpdateCameraError", n))(Tt || {});
7642
7645
  const Xf = 500, D0 = 80;
7643
7646
  function Zi(n, t, e = 4) {
7644
7647
  return Math.abs(n - t) < Math.pow(10, -e);
@@ -7655,7 +7658,7 @@ function th(n) {
7655
7658
  return S0(n) && !!n.isVector3;
7656
7659
  }
7657
7660
  function Bl(n, t) {
7658
- return _(this, null, function* () {
7661
+ return G(this, null, function* () {
7659
7662
  const [e] = yield en(n.changeMode(...t));
7660
7663
  if (e)
7661
7664
  throw new Error("change mode canceled");
@@ -7685,7 +7688,7 @@ function L0(n, t) {
7685
7688
  return !(!Zi(e, r, 2) || !Zi(i, a, 2) || o !== void 0 && o.distanceTo(l) > 0.01 || !Zi(s, c, 2));
7686
7689
  }
7687
7690
  function Jf(n, t, e = !0) {
7688
- return _(this, null, function* () {
7691
+ return G(this, null, function* () {
7689
7692
  if (L0(n, t) === !0)
7690
7693
  return;
7691
7694
  const s = n.getCurrentState();
@@ -7705,7 +7708,7 @@ function Jf(n, t, e = !0) {
7705
7708
  )
7706
7709
  ), [c] = yield en(n.updateCamera(Gn(t, ["mode"]), l, e));
7707
7710
  if (c)
7708
- throw new Error(Lt.UpdateCameraError);
7711
+ throw new Error(Tt.UpdateCameraError);
7709
7712
  });
7710
7713
  }
7711
7714
  function _n(n, t, e = 300) {
@@ -7776,14 +7779,14 @@ let O0 = class extends vi {
7776
7779
  * @param opts.isAutoShow 是否是自动展示
7777
7780
  * @param opts.userAction 是否是用户行为
7778
7781
  */
7779
- d(this, "show", (...i) => _(this, [...i], function* (e = {}) {
7782
+ d(this, "show", (...i) => G(this, [...i], function* (e = {}) {
7780
7783
  if (!this.state.enabled || !this.showPromise && this.state.visible)
7781
7784
  return;
7782
7785
  const s = e.userAction !== void 0 ? e.userAction : !0;
7783
7786
  this.updateState({ visible: !0 }, s), this._show(e);
7784
7787
  }));
7785
7788
  /** 隐藏户型图 */
7786
- d(this, "hide", (...i) => _(this, [...i], function* (e = {}) {
7789
+ d(this, "hide", (...i) => G(this, [...i], function* (e = {}) {
7787
7790
  this.state.enabled && (this.isHiddenByHideFunc = !0, this.state.visible !== !1 && (this.updateState({ visible: !1 }, e.userAction || !0), this._hide(e)));
7788
7791
  }));
7789
7792
  /** 更新户型图大小 */
@@ -7802,20 +7805,20 @@ let O0 = class extends vi {
7802
7805
  d(this, "_disable", (e) => {
7803
7806
  var s, o, r;
7804
7807
  const { userAction: i } = e;
7805
- this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, Lt.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
7808
+ this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, Tt.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
7806
7809
  });
7807
7810
  d(this, "_enable", (e) => {
7808
7811
  const { userAction: i } = e;
7809
7812
  this.addEventListener(), this.wrapper && (this.wrapper.append(this.container), this.hooks.emit("enable", { userAction: i }), this.state.visible && this._show({ userAction: i }));
7810
7813
  });
7811
- d(this, "_show", (e) => _(this, null, function* () {
7814
+ d(this, "_show", (e) => G(this, null, function* () {
7812
7815
  var r;
7813
7816
  if (!this.state.enabled)
7814
7817
  return;
7815
7818
  if (!((r = this.five.model) != null && r.loaded))
7816
- throw new Error(Lt.ModelNotLoaded);
7819
+ throw new Error(Tt.ModelNotLoaded);
7817
7820
  if (!this.data)
7818
- throw new Error(Lt.DataNotLoaded);
7821
+ throw new Error(Tt.DataNotLoaded);
7819
7822
  if (this.showPromise)
7820
7823
  return this.showPromise;
7821
7824
  const i = {
@@ -7824,7 +7827,7 @@ let O0 = class extends vi {
7824
7827
  immediately: !1,
7825
7828
  isAutoShow: !1,
7826
7829
  userAction: !0
7827
- }, s = D(D({}, i), e), o = () => _(this, null, function* () {
7830
+ }, s = D(D({}, i), e), o = () => G(this, null, function* () {
7828
7831
  this.hooks.emit("show", { userAction: s.userAction, auto: s.isAutoShow });
7829
7832
  let a = !1, l;
7830
7833
  this.showRejection = (u) => {
@@ -7834,9 +7837,9 @@ let O0 = class extends vi {
7834
7837
  if (c)
7835
7838
  throw c;
7836
7839
  if (a)
7837
- throw l ? new Error(l) : new Error(Lt.UnknownError);
7840
+ throw l ? new Error(l) : new Error(Tt.UnknownError);
7838
7841
  if (!this.updateSize())
7839
- throw new Error(Lt.UpdateSizeError);
7842
+ throw new Error(Tt.UpdateSizeError);
7840
7843
  this.floorIndex = s.floorIndex, this.five.model.show(this.floorIndex);
7841
7844
  });
7842
7845
  return this.isHiddenByHideFunc = !1, this.showPromise = o().then(() => {
@@ -7853,7 +7856,7 @@ let O0 = class extends vi {
7853
7856
  }));
7854
7857
  d(this, "_hide", (e) => {
7855
7858
  var o;
7856
- (o = this.showRejection) == null || o.call(this, Lt.BreakOffByHide), this.showPromise = void 0;
7859
+ (o = this.showRejection) == null || o.call(this, Tt.BreakOffByHide), this.showPromise = void 0;
7857
7860
  const s = D(D({}, {
7858
7861
  userAction: !0,
7859
7862
  isAutoHide: !1
@@ -7963,7 +7966,7 @@ let O0 = class extends vi {
7963
7966
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.once("dispose", this.dispose), this.addEventListener();
7964
7967
  }
7965
7968
  load(e, i, s = !0) {
7966
- return _(this, null, function* () {
7969
+ return G(this, null, function* () {
7967
7970
  function o(h) {
7968
7971
  return Object.prototype.hasOwnProperty.apply(h, ["version"]);
7969
7972
  }
@@ -8005,14 +8008,14 @@ let O0 = class extends vi {
8005
8008
  this.updateState({ config: e }, i), this.render();
8006
8009
  }
8007
8010
  formatData(e) {
8008
- return _(this, null, function* () {
8011
+ return G(this, null, function* () {
8009
8012
  return yield Di(e.data);
8010
8013
  });
8011
8014
  }
8012
8015
  updateState(e, i) {
8013
8016
  var a;
8014
8017
  const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? D(D({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? re(D(D({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
8015
- this.state = re(D(D({}, this.state), e), { config: r }), !Ct(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
8018
+ this.state = re(D(D({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
8016
8019
  }
8017
8020
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
8018
8021
  *
@@ -8055,7 +8058,7 @@ let O0 = class extends vi {
8055
8058
  this.app = new jl({ target: this.container, intro: !0, props: i });
8056
8059
  }
8057
8060
  };
8058
- const sx = (n, t) => new O0(n, t);
8061
+ const s3 = (n, t) => new O0(n, t);
8059
8062
  function B0(n) {
8060
8063
  const { latitude: t, longitude: e } = n, i = Math.abs(t - Math.PI / 2) > 5 * Math.PI / 180, s = e > 5 * (Math.PI / 180) && e < 355 * (Math.PI / 180);
8061
8064
  return i || s;
@@ -8115,14 +8118,14 @@ let V0 = class extends vi {
8115
8118
  * @param opts.isAutoShow 是否是自动展示
8116
8119
  * @param opts.userAction 是否是用户行为
8117
8120
  */
8118
- d(this, "show", (...i) => _(this, [...i], function* (e = {}) {
8121
+ d(this, "show", (...i) => G(this, [...i], function* (e = {}) {
8119
8122
  if (!this.state.enabled || !this.showPromise && this.state.visible)
8120
8123
  return;
8121
8124
  const s = e.userAction !== void 0 ? e.userAction : !0;
8122
8125
  this.updateState({ visible: !0 }, s), this._show(e);
8123
8126
  }));
8124
8127
  /** 隐藏户型图 */
8125
- d(this, "hide", (...i) => _(this, [...i], function* (e = {}) {
8128
+ d(this, "hide", (...i) => G(this, [...i], function* (e = {}) {
8126
8129
  this.state.enabled && (this.isHiddenByHideFunc = !0, this.state.visible !== !1 && (this.updateState({ visible: !1 }, e.userAction || !0), this._hide(e)));
8127
8130
  }));
8128
8131
  /** 更新户型图大小 */
@@ -8141,20 +8144,20 @@ let V0 = class extends vi {
8141
8144
  d(this, "_disable", (e) => {
8142
8145
  var s, o, r;
8143
8146
  const { userAction: i } = e;
8144
- this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, Lt.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
8147
+ this.hooks.emit("disable", { userAction: i }), (s = this.showRejection) == null || s.call(this, Tt.BreakOffByDisable), this.showPromise = void 0, (o = this.app) == null || o.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
8145
8148
  });
8146
8149
  d(this, "_enable", (e) => {
8147
8150
  const { userAction: i } = e;
8148
8151
  this.addEventListener(), this.wrapper && (this.wrapper.append(this.container), this.hooks.emit("enable", { userAction: i }), this.state.visible && this._show({ userAction: i }));
8149
8152
  });
8150
- d(this, "_show", (e) => _(this, null, function* () {
8153
+ d(this, "_show", (e) => G(this, null, function* () {
8151
8154
  var r;
8152
8155
  if (!this.state.enabled)
8153
8156
  return;
8154
8157
  if (!((r = this.fiveUtil.model) != null && r.loaded))
8155
- throw new Error(Lt.ModelNotLoaded);
8158
+ throw new Error(Tt.ModelNotLoaded);
8156
8159
  if (!this.data)
8157
- throw new Error(Lt.DataNotLoaded);
8160
+ throw new Error(Tt.DataNotLoaded);
8158
8161
  if (this.showPromise)
8159
8162
  return this.showPromise;
8160
8163
  const i = {
@@ -8163,7 +8166,7 @@ let V0 = class extends vi {
8163
8166
  immediately: !1,
8164
8167
  isAutoShow: !1,
8165
8168
  userAction: !0
8166
- }, s = D(D({}, i), e), o = () => _(this, null, function* () {
8169
+ }, s = D(D({}, i), e), o = () => G(this, null, function* () {
8167
8170
  this.hooks.emit("show", { userAction: s.userAction, auto: s.isAutoShow });
8168
8171
  let a = !1, l;
8169
8172
  this.showRejection = (u) => {
@@ -8173,9 +8176,9 @@ let V0 = class extends vi {
8173
8176
  if (c)
8174
8177
  throw c;
8175
8178
  if (a)
8176
- throw l ? new Error(l) : new Error(Lt.UnknownError);
8179
+ throw l ? new Error(l) : new Error(Tt.UnknownError);
8177
8180
  if (!this.updateSize())
8178
- throw new Error(Lt.UpdateSizeError);
8181
+ throw new Error(Tt.UpdateSizeError);
8179
8182
  this.updatePosition(), this.floorIndex = s.floorIndex, this.fiveUtil.model.show(this.floorIndex);
8180
8183
  });
8181
8184
  return this.isHiddenByHideFunc = !1, this.showPromise = o().then(() => {
@@ -8192,7 +8195,7 @@ let V0 = class extends vi {
8192
8195
  }));
8193
8196
  d(this, "_hide", (e) => {
8194
8197
  var o;
8195
- (o = this.showRejection) == null || o.call(this, Lt.BreakOffByHide), this.showPromise = void 0;
8198
+ (o = this.showRejection) == null || o.call(this, Tt.BreakOffByHide), this.showPromise = void 0;
8196
8199
  const s = D(D({}, {
8197
8200
  userAction: !0,
8198
8201
  isAutoHide: !1
@@ -8297,7 +8300,7 @@ let V0 = class extends vi {
8297
8300
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), es(e).then(this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
8298
8301
  }
8299
8302
  load(e, i, s = !0) {
8300
- return _(this, null, function* () {
8303
+ return G(this, null, function* () {
8301
8304
  function o(h) {
8302
8305
  return Object.prototype.hasOwnProperty.apply(h, ["version"]);
8303
8306
  }
@@ -8347,14 +8350,14 @@ let V0 = class extends vi {
8347
8350
  this.container.style.left = o * 100 + "%", this.container.style.top = r * 100 + "%";
8348
8351
  }
8349
8352
  formatData(e) {
8350
- return _(this, null, function* () {
8353
+ return G(this, null, function* () {
8351
8354
  return yield Di(e.data);
8352
8355
  });
8353
8356
  }
8354
8357
  updateState(e, i) {
8355
8358
  var a;
8356
8359
  const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? D(D({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? re(D(D({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
8357
- this.state = re(D(D({}, this.state), e), { config: r }), !Ct(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
8360
+ this.state = re(D(D({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
8358
8361
  }
8359
8362
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
8360
8363
  *
@@ -8397,7 +8400,7 @@ let V0 = class extends vi {
8397
8400
  this.app = new jl({ target: this.container, intro: !0, props: i });
8398
8401
  }
8399
8402
  };
8400
- const rx = (n, t) => new V0(n, t);
8403
+ const r3 = (n, t) => new V0(n, t);
8401
8404
  let H0 = class extends vi {
8402
8405
  constructor(e, i) {
8403
8406
  var l, c;
@@ -8526,7 +8529,7 @@ let H0 = class extends vi {
8526
8529
  this.state = { enabled: !0, visible: !1, config: a }, this.initContainer(), e.model.loaded ? this.onFiveModelLoaded() : e.once("modelLoaded", this.onFiveModelLoaded), e.once("dispose", this.dispose), this.addEventListener();
8527
8530
  }
8528
8531
  load(e, i, s = !0) {
8529
- return _(this, null, function* () {
8532
+ return G(this, null, function* () {
8530
8533
  function o(h) {
8531
8534
  return Object.prototype.hasOwnProperty.apply(h, ["version"]);
8532
8535
  }
@@ -8551,7 +8554,7 @@ let H0 = class extends vi {
8551
8554
  return e.appendChild(this.container), this.render(), this;
8552
8555
  }
8553
8556
  show() {
8554
- return _(this, arguments, function* (e = {}) {
8557
+ return G(this, arguments, function* (e = {}) {
8555
8558
  if (this.state.visible)
8556
8559
  return;
8557
8560
  const i = e.userAction !== void 0 ? e.userAction : !0;
@@ -8559,7 +8562,7 @@ let H0 = class extends vi {
8559
8562
  });
8560
8563
  }
8561
8564
  hide() {
8562
- return _(this, arguments, function* (e = {}) {
8565
+ return G(this, arguments, function* (e = {}) {
8563
8566
  if (this.isHiddenByHideFunc = !0, !this.state.visible)
8564
8567
  return;
8565
8568
  const i = e.userAction !== void 0 ? e.userAction : !0;
@@ -8594,12 +8597,12 @@ let H0 = class extends vi {
8594
8597
  this.updateState({ config: e }, i), this.render();
8595
8598
  }
8596
8599
  formatData(e) {
8597
- return _(this, null, function* () {
8600
+ return G(this, null, function* () {
8598
8601
  return yield Di(e.data);
8599
8602
  });
8600
8603
  }
8601
8604
  _show(e) {
8602
- return _(this, null, function* () {
8605
+ return G(this, null, function* () {
8603
8606
  if (!this.state.enabled)
8604
8607
  return;
8605
8608
  this.isHiddenByHideFunc = !1;
@@ -8610,7 +8613,7 @@ let H0 = class extends vi {
8610
8613
  });
8611
8614
  }
8612
8615
  _hide(e) {
8613
- return _(this, null, function* () {
8616
+ return G(this, null, function* () {
8614
8617
  if (!this.state.enabled)
8615
8618
  return;
8616
8619
  const { userAction: i } = e;
@@ -8626,7 +8629,7 @@ let H0 = class extends vi {
8626
8629
  updateState(e, i) {
8627
8630
  var a;
8628
8631
  const s = this.state, o = (a = e.config) != null && a.missingFloorConfig ? D(D({}, s.config.missingFloorConfig), e.config.missingFloorConfig) : s.config.missingFloorConfig, r = e.config ? re(D(D({}, s.config), e.config), { missingFloorConfig: o }) : s.config;
8629
- this.state = re(D(D({}, this.state), e), { config: r }), !Ct(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
8632
+ this.state = re(D(D({}, this.state), e), { config: r }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
8630
8633
  }
8631
8634
  addEventListener() {
8632
8635
  if (!this.state.enabled || this.hasAddedEventListener)
@@ -8670,7 +8673,7 @@ let H0 = class extends vi {
8670
8673
  this.app = new jl({ target: this.container, intro: !0, props: i });
8671
8674
  }
8672
8675
  };
8673
- const lx = (n, t) => new H0(n, t);
8676
+ const l3 = (n, t) => new H0(n, t);
8674
8677
  function Rl(n, t = 200) {
8675
8678
  let e;
8676
8679
  return function(...i) {
@@ -8763,7 +8766,7 @@ function _0(n, t, e) {
8763
8766
  },
8764
8767
  1e3 / 60
8765
8768
  );
8766
- return xt(() => (a.on("panoWillArrive", p), a.on("panoArrived", g), a.on("cameraDirectionUpdate", v), function() {
8769
+ return kt(() => (a.on("panoWillArrive", p), a.on("panoArrived", g), a.on("cameraDirectionUpdate", v), function() {
8767
8770
  a.off("panoWillArrive", p), a.off("panoArrived", g), a.off("cameraDirectionUpdate", v);
8768
8771
  })), n.$$set = (I) => {
8769
8772
  "five" in I && e(4, a = I.five), "pxmm" in I && e(5, l = I.pxmm), "floorplanData" in I && e(6, c = I.floorplanData), "cameraImageUrl" in I && e(0, h = I.cameraImageUrl);
@@ -8936,7 +8939,7 @@ function J0(n) {
8936
8939
  },
8937
8940
  p(h, u) {
8938
8941
  const f = u & /*floorIndex, floorplanData*/
8939
- 20 ? Et(a, [
8942
+ 20 ? It(a, [
8940
8943
  {
8941
8944
  floorIndex: (
8942
8945
  /*floorIndex*/
@@ -9034,7 +9037,7 @@ function sh(n) {
9034
9037
  },
9035
9038
  p(o, r) {
9036
9039
  const a = r & /*five, pxmm, floorIndex, floorplanData, onRoomHeightClick, highlightData, undefined*/
9037
- 567 ? Et(i, [
9040
+ 567 ? It(i, [
9038
9041
  {
9039
9042
  five: (
9040
9043
  /*five*/
@@ -9279,7 +9282,7 @@ function rh(n) {
9279
9282
  },
9280
9283
  p(f, m) {
9281
9284
  const A = m & /*five, pxmm, floorIndex, floorplanData, hoverEnable, extraObjects, highlightData, missingFloorImageUrl*/
9282
- 6381 ? Et(l, [
9285
+ 6381 ? It(l, [
9283
9286
  {
9284
9287
  five: (
9285
9288
  /*five*/
@@ -9317,7 +9320,7 @@ function rh(n) {
9317
9320
  ]) : {};
9318
9321
  e.$set(A);
9319
9322
  const p = m & /*pxmm, five, floorplanData, cameraImageUrl*/
9320
- 2073 ? Et(h, [
9323
+ 2073 ? It(h, [
9321
9324
  {
9322
9325
  pxmm: (
9323
9326
  /*pxmm*/
@@ -9390,7 +9393,7 @@ function nb(n, t, e) {
9390
9393
  function v(E) {
9391
9394
  e(12, f = i.work.observers[E].floorIndex);
9392
9395
  }
9393
- xt(() => (i.on("panoArrived", v), () => {
9396
+ kt(() => (i.on("panoArrived", v), () => {
9394
9397
  i.off("panoArrived", v);
9395
9398
  }));
9396
9399
  const y = (E) => {
@@ -9489,7 +9492,7 @@ let ob = class extends vi {
9489
9492
  this.state = { enabled: !0, visible: !0, config: o }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), e.once("dispose", this.dispose);
9490
9493
  }
9491
9494
  load(e, i, s = !0) {
9492
- return _(this, null, function* () {
9495
+ return G(this, null, function* () {
9493
9496
  function o(c) {
9494
9497
  return Object.prototype.hasOwnProperty.apply(c, ["version"]);
9495
9498
  }
@@ -9498,7 +9501,7 @@ let ob = class extends vi {
9498
9501
  });
9499
9502
  }
9500
9503
  show() {
9501
- return _(this, arguments, function* (e = {}) {
9504
+ return G(this, arguments, function* (e = {}) {
9502
9505
  if (this.state.visible)
9503
9506
  return;
9504
9507
  const i = e.userAction !== void 0 ? e.userAction : !0;
@@ -9506,7 +9509,7 @@ let ob = class extends vi {
9506
9509
  });
9507
9510
  }
9508
9511
  hide() {
9509
- return _(this, arguments, function* (e = {}) {
9512
+ return G(this, arguments, function* (e = {}) {
9510
9513
  if (!this.state.visible)
9511
9514
  return;
9512
9515
  const i = e.userAction !== void 0 ? e.userAction : !0;
@@ -9548,7 +9551,7 @@ let ob = class extends vi {
9548
9551
  this.data && (this.extraObjects = E0(e, this.five, this.data), this.render());
9549
9552
  }
9550
9553
  formatData(e) {
9551
- return _(this, null, function* () {
9554
+ return G(this, null, function* () {
9552
9555
  return yield Di(e.data);
9553
9556
  });
9554
9557
  }
@@ -9570,7 +9573,7 @@ let ob = class extends vi {
9570
9573
  }
9571
9574
  updateState(e, i) {
9572
9575
  const s = this.state, o = e.config ? D(D({}, s.config), e.config) : s.config;
9573
- this.state = re(D(D({}, this.state), e), { config: o }), !Ct(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
9576
+ this.state = re(D(D({}, this.state), e), { config: o }), !wt(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
9574
9577
  }
9575
9578
  render() {
9576
9579
  if (this.disposed || !this.state.enabled)
@@ -9591,7 +9594,7 @@ let ob = class extends vi {
9591
9594
  this.app ? this.app.$set(e) : this.app = new sb({ target: this.wrapper, props: e });
9592
9595
  }
9593
9596
  };
9594
- const hx = (n, t) => new ob(n, t), dx = [
9597
+ const h3 = (n, t) => new ob(n, t), d3 = [
9595
9598
  { type: 0, floorType: 1, roomType: "100900000012", name: "其他" },
9596
9599
  { type: 1, floorType: 1, roomType: "100900000002", name: "客厅" },
9597
9600
  { type: 2, floorType: 1, roomType: "100900000002", name: "餐厅" },
@@ -9663,14 +9666,14 @@ const hx = (n, t) => new ob(n, t), dx = [
9663
9666
  { type: 56, floorType: 2, roomType: "100900000012", name: "空中花园" },
9664
9667
  { type: 57, floorType: 0, roomType: "100900000001", name: "洋室" },
9665
9668
  { type: 58, floorType: 0, roomType: "100900000001", name: "和室" }
9666
- ], ux = [
9669
+ ], u3 = [
9667
9670
  { type: 0, description: "木质地板" },
9668
9671
  { type: 1, description: "瓷砖地面" },
9669
9672
  { type: 2, description: "户外地面" },
9670
9673
  { type: 3, description: "卫生间地面" },
9671
9674
  { type: 4, description: "阳台地面" },
9672
9675
  { type: 5, description: "车库地面" }
9673
- ], fx = [
9676
+ ], f3 = [
9674
9677
  { roomType: "100900000001", description: "室" },
9675
9678
  { roomType: "100900000002", description: "厅" },
9676
9679
  { roomType: "100900000003", description: "厨" },
@@ -9709,12 +9712,12 @@ function qf(n, t) {
9709
9712
  }
9710
9713
  });
9711
9714
  }
9712
- const mx = (n, t) => {
9715
+ const m3 = (n, t) => {
9713
9716
  var p;
9714
9717
  const e = t.fbx_url || "//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX", i = (p = t.north_rad) != null ? p : void 0, s = {};
9715
9718
  let o = { x: 0, y: 0, z: 0 }, r = [0, 0, 0], a = 1, l = i;
9716
9719
  n.on("modelLoaded", A);
9717
- const c = (g) => _(void 0, null, function* () {
9720
+ const c = (g) => G(void 0, null, function* () {
9718
9721
  var I;
9719
9722
  const v = (g == null ? void 0 : g.fbx_url) || e;
9720
9723
  if (l = (I = g == null ? void 0 : g.north_rad) != null ? I : i, typeof l != "number")
@@ -9765,14 +9768,14 @@ function ab(n, t) {
9765
9768
  const l = a.getContext("2d");
9766
9769
  return l.fillStyle = s, l.fillRect(0, 0, e, e), l.font = `${i}px "微软雅黑"`, l.textAlign = r, l.fillStyle = o, l.fillText(n, e / 2, e * 0.7), new Lg(a);
9767
9770
  }
9768
- const lb = ({ x: n, y: t, z: e }) => new le(n, t, e), gx = (n, t) => {
9771
+ const lb = ({ x: n, y: t, z: e }) => new le(n, t, e), g3 = (n, t) => {
9769
9772
  var p, g, v;
9770
- const e = {}, i = (p = t.animationEnabled) != null ? p : !0, s = (g = t.position) != null ? g : 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) => _(void 0, null, function* () {
9771
- var W, F, G, N, Q, H, Y, Z;
9773
+ const e = {}, i = (p = t.animationEnabled) != null ? p : !0, s = (g = t.position) != null ? g : 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) => G(void 0, null, function* () {
9774
+ var W, F, _, N, Q, H, Y, Z;
9772
9775
  const P = (W = y == null ? void 0 : y.position) != null ? W : s;
9773
9776
  if (!P)
9774
9777
  return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
9775
- const I = lb(P), k = (F = y == null ? void 0 : y.rad) != null ? F : o, E = (G = y == null ? void 0 : y.fbx_url) != null ? G : r;
9778
+ const I = lb(P), k = (F = y == null ? void 0 : y.rad) != null ? F : o, E = (_ = y == null ? void 0 : y.fbx_url) != null ? _ : r;
9776
9779
  if (e.rad = k, k === void 0)
9777
9780
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${k}`));
9778
9781
  const z = yield new of().loadAsync(E);
@@ -9794,10 +9797,10 @@ const lb = ({ x: n, y: t, z: e }) => new le(n, t, e), gx = (n, t) => {
9794
9797
  let k;
9795
9798
  const E = () => {
9796
9799
  let W = 0, F = 0;
9797
- const G = 1e3 / 30, N = (Q) => {
9800
+ const _ = 1e3 / 30, N = (Q) => {
9798
9801
  W = requestAnimationFrame(N);
9799
9802
  const H = Q - F;
9800
- H < G || (F = Q, a.forEach((Y) => Y.update(H / 1e3)), n.needsRender = !0);
9803
+ H < _ || (F = Q, a.forEach((Y) => Y.update(H / 1e3)), n.needsRender = !0);
9801
9804
  };
9802
9805
  return W = requestAnimationFrame(N), () => {
9803
9806
  cancelAnimationFrame(W);
@@ -9857,8 +9860,8 @@ const el = (n, t, e) => {
9857
9860
  const i = Math.PI, s = i * 2;
9858
9861
  let o = ah(n), r = ah(t);
9859
9862
  return e === mi.Anticlockwise && o < r && (o += s), e === mi.Clockwise && r < o && (r += s), e === mi.Loop && r - o > i ? el(o, r, mi.Anticlockwise) : e === mi.Loop && o - r > i ? el(o, r, mi.Clockwise) : { from: o, to: r };
9860
- }, px = (n) => {
9861
- const t = {}, e = (l, c, ...h) => _(void 0, [l, c, ...h], function* (o, r, a = { preload: !0 }) {
9863
+ }, p3 = (n) => {
9864
+ const t = {}, e = (l, c, ...h) => G(void 0, [l, c, ...h], function* (o, r, a = { preload: !0 }) {
9862
9865
  return t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), o.mode && o.mode !== n.currentMode && (yield n.changeMode(o.mode)), a.preload && o.panoIndex !== void 0 && o.panoIndex !== n.panoIndex && (yield n.preloadPano(o.panoIndex)), a.asyncEndCallback && (yield a.asyncEndCallback()), o.panoIndex === void 0 && o.fov === void 0 && o.latitude === void 0 && o.longitude === void 0 ? !0 : yield new Promise((u, f) => {
9863
9866
  const m = o.panoIndex !== void 0 ? o.panoIndex : n.panoIndex;
9864
9867
  m !== void 0 ? n.moveToPano(m, D({
@@ -9882,7 +9885,7 @@ const el = (n, t, e) => {
9882
9885
  };
9883
9886
  return {
9884
9887
  move: e,
9885
- rotate: (l, c, ...h) => _(void 0, [l, c, ...h], function* (o, r, a = {}) {
9888
+ rotate: (l, c, ...h) => G(void 0, [l, c, ...h], function* (o, r, a = {}) {
9886
9889
  t.interruptCallback && t.interruptCallback(!1), a.asyncStartCallback && (yield a.asyncStartCallback()), n.currentMode !== mt.Mode.Panorama && (yield n.changeMode(mt.Mode.Panorama)), o.panoIndex !== void 0 && o.panoIndex !== n.panoIndex && (a.preload && (yield n.preloadPano(o.panoIndex)), yield new Promise((m, A) => {
9887
9890
  if (!o.panoIndex) {
9888
9891
  m(!0);
@@ -10071,7 +10074,7 @@ const gb = `<style type="text/css">
10071
10074
  a.__roof.sort(), a.__floor.sort(), a.floor = a.__floor[~~(a.__floor.length / 2)], a.roof = a.__roof[a.__roof.length - 1];
10072
10075
  }
10073
10076
  return e;
10074
- }, Ax = (n, t) => {
10077
+ }, A3 = (n, t) => {
10075
10078
  const e = {
10076
10079
  enable: !1,
10077
10080
  loaded: !1,
@@ -10104,7 +10107,7 @@ const gb = `<style type="text/css">
10104
10107
  if (!E)
10105
10108
  return;
10106
10109
  const z = k.map(({ x: R, z: U, observers: W }) => {
10107
- const F = W.length > 0 ? p.rooms[p.observers[W[0]]].name : "", G = v[F] ? v[F].floor : null;
10110
+ const F = W.length > 0 ? p.rooms[p.observers[W[0]]].name : "", _ = v[F] ? v[F].floor : null;
10108
10111
  let N = 1 / 0, Q = {
10109
10112
  index: 0,
10110
10113
  x: E.x,
@@ -10120,7 +10123,7 @@ const gb = `<style type="text/css">
10120
10123
  y: Pe.y,
10121
10124
  z: Pe.z
10122
10125
  }, ge = pb({ x: R, z: U }, Ae);
10123
- G ? ge < N && Math.abs(Ae.y - G) < 0.3 && (N = ge, Q = Ae) : ge < N && (N = ge, Q = Ae);
10126
+ _ ? ge < N && Math.abs(Ae.y - _) < 0.3 && (N = ge, Q = Ae) : ge < N && (N = ge, Q = Ae);
10124
10127
  });
10125
10128
  const H = new le(R, Q.y, U);
10126
10129
  Object.assign(H, { observers: W });
@@ -10140,12 +10143,12 @@ const gb = `<style type="text/css">
10140
10143
  for (let R = 0; R < z.length; R++) {
10141
10144
  let U = R + 1;
10142
10145
  U >= z.length && (U = 0);
10143
- const { origin: W } = z[R], { origin: F } = z[U], G = i(I, W.distanceTo(F));
10144
- s.append(G), r[I].rules.push({ vertical: !1, rule: [W, F], $element: G });
10146
+ const { origin: W } = z[R], { origin: F } = z[U], _ = i(I, W.distanceTo(F));
10147
+ s.append(_), r[I].rules.push({ vertical: !1, rule: [W, F], $element: _ });
10145
10148
  }
10146
10149
  }
10147
10150
  return e.loaded = !0, !0;
10148
- }, l = (p, g, v) => _(void 0, null, function* () {
10151
+ }, l = (p, g, v) => G(void 0, null, function* () {
10149
10152
  const y = p || t.roomInfo, P = g || t.roomRules;
10150
10153
  if (!y || !P)
10151
10154
  throw new Error("标尺数据依赖不齐全!");
@@ -10204,42 +10207,42 @@ const gb = `<style type="text/css">
10204
10207
  for (const { $element: F } of r[W].rules)
10205
10208
  F.style.display = W === P ? "block" : "none";
10206
10209
  const [R] = r[P].origins.slice().filter((W) => W.observers.indexOf(g) >= 0).sort((W, F) => {
10207
- const G = W.clone().setY(0).sub(I).normalize().angleTo(k.clone().setY(0)), N = F.clone().setY(0).sub(I).normalize().angleTo(k.clone().setY(0));
10208
- return G - N;
10210
+ const _ = W.clone().setY(0).sub(I).normalize().angleTo(k.clone().setY(0)), N = F.clone().setY(0).sub(I).normalize().angleTo(k.clone().setY(0));
10211
+ return _ - N;
10209
10212
  });
10210
- for (const { rule: W, vertical: F, $element: G } of r[P].rules) {
10211
- const [N, Q] = W, H = G.querySelector(".PanoRulerPlugin-rule-line");
10213
+ for (const { rule: W, vertical: F, $element: _ } of r[P].rules) {
10214
+ const [N, Q] = W, H = _.querySelector(".PanoRulerPlugin-rule-line");
10212
10215
  if (!H)
10213
10216
  return;
10214
10217
  if (!R) {
10215
- G.style.display = "none";
10218
+ _.style.display = "none";
10216
10219
  continue;
10217
10220
  }
10218
10221
  if (N !== R && Q !== R) {
10219
- G.style.display = "none";
10222
+ _.style.display = "none";
10220
10223
  continue;
10221
10224
  }
10222
10225
  if (N.distanceTo(Q) < 0.3) {
10223
- G.style.display = "none";
10226
+ _.style.display = "none";
10224
10227
  continue;
10225
10228
  }
10226
10229
  if (N.observers.indexOf(g) === -1 || Q.observers.indexOf(g) === -1) {
10227
- G.style.display = "none";
10230
+ _.style.display = "none";
10228
10231
  continue;
10229
10232
  }
10230
10233
  if (N.clone().sub(I).normalize().angleTo(k) > Math.PI / 2) {
10231
- G.style.display = "none";
10234
+ _.style.display = "none";
10232
10235
  continue;
10233
10236
  }
10234
10237
  if (Q.clone().sub(I).normalize().angleTo(k) > Math.PI / 2) {
10235
- G.style.display = "none";
10238
+ _.style.display = "none";
10236
10239
  continue;
10237
10240
  }
10238
10241
  const J = N.distanceTo(Q);
10239
10242
  if (Q.clone().sub(
10240
10243
  Q.clone().sub(N).divide(new le(2, 2, 2))
10241
10244
  ).distanceTo(I) / J > 8) {
10242
- G.style.display = "none";
10245
+ _.style.display = "none";
10243
10246
  continue;
10244
10247
  }
10245
10248
  const Pe = N.clone().project(v), Ae = (Pe.x + 1) / 2 * E, ge = (-Pe.y + 1) / 2 * z, Ve = Q.clone().project(v), ye = (Ve.x + 1) / 2 * E, Qe = (-Ve.y + 1) / 2 * z, K = Math.sqrt(Math.pow(ye - Ae, 2) + Math.pow(Qe - ge, 2));
@@ -10336,7 +10339,7 @@ function yb(n) {
10336
10339
  let t, e;
10337
10340
  return {
10338
10341
  c() {
10339
- t = S("em"), C(t, "class", e = Ze(
10342
+ t = S("em"), C(t, "class", e = Ke(
10340
10343
  /*rulerItemProp*/
10341
10344
  n[0].state ? "em-solid" : "em-dotted"
10342
10345
  ) + " svelte-1h27ktp"), C(
@@ -10351,7 +10354,7 @@ function yb(n) {
10351
10354
  },
10352
10355
  p(i, s) {
10353
10356
  s & /*rulerItemProp*/
10354
- 1 && e !== (e = Ze(
10357
+ 1 && e !== (e = Ke(
10355
10358
  /*rulerItemProp*/
10356
10359
  i[0].state ? "em-solid" : "em-dotted"
10357
10360
  ) + " svelte-1h27ktp") && C(t, "class", e), s & /*vars*/
@@ -10372,7 +10375,7 @@ function dh(n) {
10372
10375
  n[6].width}px`;
10373
10376
  return {
10374
10377
  c() {
10375
- t = S("div"), C(t, "class", e = Ze(
10378
+ t = S("div"), C(t, "class", e = Ke(
10376
10379
  /*child*/
10377
10380
  n[6].state ? "em-solid" : "em-dotted"
10378
10381
  ) + " svelte-1h27ktp"), C(
@@ -10387,7 +10390,7 @@ function dh(n) {
10387
10390
  },
10388
10391
  p(s, o) {
10389
10392
  o & /*rulerItemProp*/
10390
- 1 && e !== (e = Ze(
10393
+ 1 && e !== (e = Ke(
10391
10394
  /*child*/
10392
10395
  s[6].state ? "em-solid" : "em-dotted"
10393
10396
  ) + " svelte-1h27ktp") && C(t, "class", e), o & /*vars*/
@@ -10604,12 +10607,12 @@ function Eb(n, t, e) {
10604
10607
  distance: F
10605
10608
  };
10606
10609
  }, u = (P, I, k) => {
10607
- const E = i.camera.position, z = i.camera.getWorldDirection(new le()), R = P.clone().sub(E).normalize().angleTo(z), U = I.clone().sub(E).normalize().angleTo(z), W = P.distanceTo(I), G = I.clone().sub(I.clone().sub(P).divide(new le(2, 2, 2))).distanceTo(E), { startLeft: N, startTop: Q, endLeft: H, endTop: Y, distance: Z } = h(P, I), oe = -((Math.PI / 2 - Math.atan2(H - N, Q - Y)) / Math.PI) * 180;
10610
+ const E = i.camera.position, z = i.camera.getWorldDirection(new le()), R = P.clone().sub(E).normalize().angleTo(z), U = I.clone().sub(E).normalize().angleTo(z), W = P.distanceTo(I), _ = I.clone().sub(I.clone().sub(P).divide(new le(2, 2, 2))).distanceTo(E), { startLeft: N, startTop: Q, endLeft: H, endTop: Y, distance: Z } = h(P, I), oe = -((Math.PI / 2 - Math.atan2(H - N, Q - Y)) / Math.PI) * 180;
10608
10611
  let se = !0;
10609
- k || (se = !1), !Ct(P, k) && !Ct(I, k) && (se = !1), W < 0.3 && (se = !1), R > Math.PI / 2 && (se = !1), U > Math.PI / 2 && (se = !1), G / W > 8 && (se = !1);
10612
+ k || (se = !1), !wt(P, k) && !wt(I, k) && (se = !1), W < 0.3 && (se = !1), R > Math.PI / 2 && (se = !1), U > Math.PI / 2 && (se = !1), _ / W > 8 && (se = !1);
10610
10613
  let Pe = 50, Ae = Z;
10611
10614
  const ge = c({ x: ~~N, y: ~~Q }, { x: ~~H, y: ~~Y });
10612
- if (ge && ge.length === 1 && (Ct(P, k) ? (Ae = Math.sqrt(Math.pow(ge[0].x - N, 2) + Math.pow(ge[0].y - Q, 2)), Pe = Ae / Z * 50) : Ct(I, k) && (Ae = Math.sqrt(Math.pow(ge[0].x - H, 2) + Math.pow(ge[0].y - Y, 2)), Pe = 100 - Ae / Z * 50)), ge && ge.length === 2) {
10615
+ if (ge && ge.length === 1 && (wt(P, k) ? (Ae = Math.sqrt(Math.pow(ge[0].x - N, 2) + Math.pow(ge[0].y - Q, 2)), Pe = Ae / Z * 50) : wt(I, k) && (Ae = Math.sqrt(Math.pow(ge[0].x - H, 2) + Math.pow(ge[0].y - Y, 2)), Pe = 100 - Ae / Z * 50)), ge && ge.length === 2) {
10613
10616
  const Ve = {
10614
10617
  x: (ge[0].x + ge[1].x) / 2,
10615
10618
  y: (ge[0].y + ge[1].y) / 2
@@ -10631,12 +10634,12 @@ function Eb(n, t, e) {
10631
10634
  return e(0, r = []);
10632
10635
  if (i.currentMode !== mt.Mode.Panorama)
10633
10636
  return e(0, r = []);
10634
- const k = i.camera.position, E = i.camera.getWorldDirection(new le()), z = I.lines.map((F) => new le(F.start[0], -F.start[1], -F.start[2])), R = I.lines.map((F) => new le(F.end[0], -F.end[1], -F.end[2])), [U] = z.concat(R).sort((F, G) => {
10635
- const N = F.clone().setY(0).sub(k).normalize().angleTo(E.clone().setY(0)), Q = G.clone().setY(0).sub(k).normalize().angleTo(E.clone().setY(0));
10637
+ const k = i.camera.position, E = i.camera.getWorldDirection(new le()), z = I.lines.map((F) => new le(F.start[0], -F.start[1], -F.start[2])), R = I.lines.map((F) => new le(F.end[0], -F.end[1], -F.end[2])), [U] = z.concat(R).sort((F, _) => {
10638
+ const N = F.clone().setY(0).sub(k).normalize().angleTo(E.clone().setY(0)), Q = _.clone().setY(0).sub(k).normalize().angleTo(E.clone().setY(0));
10636
10639
  return N - Q;
10637
10640
  }), W = I.lines.map((F) => {
10638
10641
  var Ae, ge;
10639
- const G = F.start, N = F.end, { startLeft: Q, startTop: H, distance: Y, deg: Z, visible: J, labelOffset: oe, ruleLength: se } = u(new le(G[0], -G[1], -G[2]), new le(N[0], -N[1], -N[2]), U), Pe = [];
10642
+ const _ = F.start, N = F.end, { startLeft: Q, startTop: H, distance: Y, deg: Z, visible: J, labelOffset: oe, ruleLength: se } = u(new le(_[0], -_[1], -_[2]), new le(N[0], -N[1], -N[2]), U), Pe = [];
10640
10643
  return F.children && ((Ae = F.children) == null ? void 0 : Ae.length) > 0 && ((ge = F.children) == null || ge.forEach((Ve) => {
10641
10644
  const ye = Ve.start, Qe = Ve.end, { distance: K } = h(new le(ye[0], -ye[1], -ye[2]), new le(Qe[0], -Qe[1], -Qe[2]));
10642
10645
  Pe.push({ width: K, state: Ve.state });
@@ -10654,7 +10657,7 @@ function Eb(n, t, e) {
10654
10657
  });
10655
10658
  e(0, r = W);
10656
10659
  }, m = () => br(f), A = Rl(f, 80);
10657
- return xt(() => {
10660
+ return kt(() => {
10658
10661
  f(), i.on("panoArrived", f), i.on("modeChange", f), i.on("cameraDirectionUpdate", m), i.on("movingToPano", m), i.on("mouseWheel", () => A()), i.on("pinchGesture", () => A());
10659
10662
  }), Ht(() => {
10660
10663
  i.off("panoArrived", f), i.off("modeChange", f), i.off("cameraDirectionUpdate", m), i.off("movingToPano", m), i.off("mouseWheel", () => A()), i.off("pinchGesture", () => A());
@@ -10685,13 +10688,13 @@ let kb = class {
10685
10688
  this.five = t, this.container.classList.add("panoRulerProPlugin-container"), this.container.setAttribute(
10686
10689
  "style",
10687
10690
  "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
10688
- ), e && (e.data && this.load(e.data), this.state.options = D(D({}, this.state.options), e.options || {}), (i = e.options) != null && i.className && this.container.classList.add((s = e.options) == null ? void 0 : s.className)), this.five.once("modelLoaded", () => _(this, null, function* () {
10691
+ ), e && (e.data && this.load(e.data), this.state.options = D(D({}, this.state.options), e.options || {}), (i = e.options) != null && i.className && this.container.classList.add((s = e.options) == null ? void 0 : s.className)), this.five.once("modelLoaded", () => G(this, null, function* () {
10689
10692
  var o, r;
10690
10693
  (r = (o = this.five.getElement()) == null ? void 0 : o.parentNode) == null || r.append(this.container);
10691
10694
  })), this.five.once("dispose", () => this.dispose());
10692
10695
  }
10693
10696
  load(t) {
10694
- return _(this, null, function* () {
10697
+ return G(this, null, function* () {
10695
10698
  if (!this.five.work)
10696
10699
  return;
10697
10700
  const e = t.data;
@@ -10707,7 +10710,7 @@ let kb = class {
10707
10710
  return this.state.enabled && (this.state.enabled = !1, this.render()), !0;
10708
10711
  }
10709
10712
  render() {
10710
- return _(this, null, function* () {
10713
+ return G(this, null, function* () {
10711
10714
  var t;
10712
10715
  if (this.state.enabled) {
10713
10716
  if (!this.panoRulerProData || !this.container)
@@ -10729,7 +10732,7 @@ let kb = class {
10729
10732
  this.container && ((t = this.rulerItems) == null || t.$destroy(), this.rulerItems = void 0), this.container.remove();
10730
10733
  }
10731
10734
  };
10732
- const bx = (n, t) => new kb(n, t), xb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZIAAABCCAYAAAB9y1BhAAAAAXNSR0IArs4c6QAADh5JREFUeAHtnVuPLDcVhedwC/dACKAICDxEIBQpygNI/Ab+MX8B8YCQEAjxgBAQLsm5Jjkn58r6Sl4jT52qnu4zXd121dqSx67q7ip7eXsv721XzcVFJAgEgSAQBIJAEAgCQeC4CLx48eKbSu+RH/fKuVoQWB8Cn1tfk9KiIHAUBH6tq/xKiTwSBILADgRCJDvAyUebRuAbpfXxSDatBmn8Pgh8YZ8v5TtBYIMIvFCbSZEgEASuQSBEcg1A+XizCDzfbMvT8CBwIAIhkgMBy9c3g0CIZDNdnYbeFIEQyU0RzO/XikCIZK09m3YdHYEQydEhzQVXgkCIZCUdmWYsj0CIZHmMc4c+EchCe5/9llqfAYEQyRlAzy27QCAeSRfdlEq2gECIpIVeSB1aRAAiudVixVKnINAaAiGS1nok9WkFAUJb8Upa6Y3Uo2kEQiRNd08qd0YEQiJnBD+37guBEElf/ZXang6BEMnpsM6dOkcgRNJ5B66x+nrjLmsTX1J6bSJHZ7+o9HklynWaOse1eKcc+XVlvxYFEnlfaThWfb7mcsn5nPRM6WmVU55KfO+J0mdKj8f5rVu3skNMoET6RSBE0m/fdVNzGWII4StKXy65y18t58aEAVGcUjDkGHsLhIOYfCC1xUT4QDJjgnmkc58qkT8saSiLeCCkSBBoBoEQSTNd0V9FZADRH8iAGfvXS06Zc5CFCePQt0y3EFaq61CX1ayjC56U8br24sKd+kAuJhkI55OSPi75pyIcvKNIEFgcgRDJ4hD3ewMZLDwDXqfOq9RNFCYOCAMPYx851BDjIXiWzky9Tpyvw0kOL/nc+Jh7DyGqko+P+cznVLwMf31Uypz7jZLJ0GEy8jqURnl8zPjyObDEsxknztsDUnFvMfF8e+4X6j88F4hlTDT3de6BiAYsI0HgxgiESG4MYd8X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AbdUOVMoHrqudT1OgSk2zgLkAl2n/LYvh9s900kutYV4UIvQiBXMMlBEAgCQWA1CBRCgUjmHAkI5vk+PACR1BcZmGmfH64GzTQkCASBILBhBAqhgEC9rDFGJI7FGJEcB4EgEASCQBAIAkEgCASBIBAEgkAQCAJBIAgEgSAQBIJAEAgCm0fg/x4jQQWGalpFAAAAAElFTkSuQmCC";
10733
10736
  function Db() {
10734
10737
  const n = document.createElement("div"), t = document.createElement("i"), e = document.createElement("span");
10735
10738
  return n.appendChild(t), n.appendChild(e), n.style.position = "relative", n.style.width = "100%", n.style.display = "flex", n.style.flexDirection = "column", n.style.alignItems = "center", n.style.marginTop = `${150 / 16}rem`, n.style.opacity = "0", n.style.transition = "opacity 1000ms linear", t.style.display = "block", t.style.width = `${134 / 16}rem`, t.style.height = `${22 / 16}rem`, t.style.backgroundSize = "100%", t.style.backgroundRepeat = "no-repeat", t.style.backgroundImage = `url(${xb})`, e.style.marginTop = `${10 / 16}rem`, e.style.fontSize = `${16 / 16}rem`, e.style.color = "#fff", e.style.opacity = "0.7", e.style.textShadow = "0 2px 16px rgb(22 34 83 / 24%)", e.style.fontWeight = "bold", {
@@ -10752,14 +10755,14 @@ function Db() {
10752
10755
  }
10753
10756
  const Sb = new w.TextureLoader();
10754
10757
  function Ji(n) {
10755
- return _(this, null, function* () {
10758
+ return G(this, null, function* () {
10756
10759
  return new Promise((t, e) => {
10757
10760
  Sb.load(n, t, void 0, e);
10758
10761
  }).then((t) => (t.encoding = w.sRGBEncoding, t.minFilter = w.NearestFilter, t.magFilter = w.NearestFilter, t));
10759
10762
  });
10760
10763
  }
10761
10764
  function tm(n) {
10762
- return _(this, null, function* () {
10765
+ return G(this, null, function* () {
10763
10766
  return Ji(n).then((t) => {
10764
10767
  const e = n.startsWith("data:") ? n.includes("png") : new URL(n, location.href).pathname.toLowerCase().endsWith(".png");
10765
10768
  return { texture: t, transparent: e };
@@ -10953,7 +10956,7 @@ class Tb extends vi {
10953
10956
  }), e.enabled === !0 && (this._enable(), this.hooks.emit("enable", i)), e.enabled === !1 && (this._disable(), this.hooks.emit("disable", i)), e.visible === !1 && (this._toggleVisible(), this.hooks.emit("hide", i)), e.visible === !0 && (this._toggleVisible(), this.hooks.emit("show", i)), e.config && this.init();
10954
10957
  }
10955
10958
  load(e, i, s = !0) {
10956
- return _(this, null, function* () {
10959
+ return G(this, null, function* () {
10957
10960
  const o = yield this.formatData(e);
10958
10961
  JSON.stringify(this.data) !== JSON.stringify(o) && (this.hooks.emit("dataChange", o, this.data), this.data = D({}, o), this.init(), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", this.data));
10959
10962
  });
@@ -10966,7 +10969,7 @@ class Tb extends vi {
10966
10969
  * @todo 逻辑需要细分
10967
10970
  */
10968
10971
  init() {
10969
- return _(this, null, function* () {
10972
+ return G(this, null, function* () {
10970
10973
  var s, o, r, a;
10971
10974
  const e = (o = (s = this.data) == null ? void 0 : s.north_rad) != null ? o : null;
10972
10975
  this._clearCompassIfNeed(), e !== null && (this.compassMesh = yield this.loadCompassMesh(), this.compassMesh && (this.compassMesh.rotateX(-Math.PI / 2), this.compassMesh.rotateZ(e - Math.PI / 2), this.group.add(this.compassMesh))), this._clearLogoIfNeed(), this.logoMesh = yield this.loadLogoMesh(), this.logoMesh && (this.logoMesh.rotateX(-Math.PI / 2), this.group.add(this.logoMesh));
@@ -10975,7 +10978,7 @@ class Tb extends vi {
10975
10978
  });
10976
10979
  }
10977
10980
  loadCompassMesh() {
10978
- return _(this, null, function* () {
10981
+ return G(this, null, function* () {
10979
10982
  const e = this.state.config.compassImageUrl, i = yield Ji(e), s = new w.CircleGeometry(0.7, 32), o = new w.MeshBasicMaterial({
10980
10983
  map: i,
10981
10984
  transparent: !0,
@@ -10986,7 +10989,7 @@ class Tb extends vi {
10986
10989
  });
10987
10990
  }
10988
10991
  loadLogoMesh() {
10989
- return _(this, null, function* () {
10992
+ return G(this, null, function* () {
10990
10993
  if (!this.state.config.logoURL)
10991
10994
  return;
10992
10995
  const e = this.state.config.logoURL, i = yield Ji(e);
@@ -11001,7 +11004,7 @@ class Tb extends vi {
11001
11004
  });
11002
11005
  }
11003
11006
  loadEntryDoorMesh() {
11004
- return _(this, null, function* () {
11007
+ return G(this, null, function* () {
11005
11008
  const e = this.state.config.entryDoorImageUrl, i = yield Ji(e), s = new w.PlaneGeometry(0.2, 0.16), o = new w.MeshBasicMaterial({
11006
11009
  map: i,
11007
11010
  transparent: !0,
@@ -11021,7 +11024,7 @@ class Tb extends vi {
11021
11024
  return wr(this.five).create3DDomContainer(e);
11022
11025
  }
11023
11026
  }
11024
- const yx = (n, t) => new Tb(n, t), Lb = 1, jb = 3, zb = new Kn(16777215), Ob = new Kn(6522623), Bb = new Kn(16777215), Rb = new Kn(6522623), Vb = 6, Hb = 8, Nb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", im = new tf().load(Nb), Fb = {
11027
+ const y3 = (n, t) => new Tb(n, t), Lb = 1, jb = 3, zb = new Kn(16777215), Ob = new Kn(6522623), Bb = new Kn(16777215), Rb = new Kn(6522623), Vb = 6, Hb = 8, Nb = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAACnRSTlMAG/Py2baba05un7UgfgAAAHJJREFUKM9joBpgLHVSCRdA4metAoJlCJHmVWBgAeNzroKCCVCBLpjACqgJVjCBxRBT2FbBQQJYQAohsBAsUIUQWA4WiEIILAULeCEEloAFtBACizAEMLRgGIphLabDMJ2O6TlM72MGECIIMQIZIxqoBQCPvpJ/e9FaAAAAAABJRU5ErkJggg==", im = new tf().load(Nb), Fb = {
11025
11028
  pointTexture: im,
11026
11029
  pointSize: Vb,
11027
11030
  lineWidth: Lb,
@@ -11152,7 +11155,7 @@ class Ub extends nm {
11152
11155
  const s = i.clientWidth, o = i.clientHeight, r = s / 2, a = o / 2;
11153
11156
  if (this.line.points.length < 2)
11154
11157
  return;
11155
- const [l, c] = this.line.points.map((R) => R.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), f = Li(l, c).clone().project(e.camera), m = new Pt(h.x * r, h.y * a), A = new Pt(u.x * r, u.y * a), p = m.distanceTo(A);
11158
+ const [l, c] = this.line.points.map((R) => R.position.clone().applyMatrix4(this.line.mesh.matrixWorld)), h = l.clone().project(e.camera), u = c.clone().project(e.camera), f = Li(l, c).clone().project(e.camera), m = new Ct(h.x * r, h.y * a), A = new Ct(u.x * r, u.y * a), p = m.distanceTo(A);
11156
11159
  if ((() => !(Math.abs(h.z) > 1 || Math.abs(u.z) > 1 || !Wo(h) && !Wo(u) || !Wo(f) || p === 0))() === !1) {
11157
11160
  this.hide();
11158
11161
  return;
@@ -11725,7 +11728,7 @@ function e1(n, t) {
11725
11728
  return re(D({}, s), { raycaster: t, isVirtual: !1 });
11726
11729
  }
11727
11730
  const En = () => !1;
11728
- class hm extends It {
11731
+ class hm extends Pt {
11729
11732
  constructor(e, i) {
11730
11733
  var r, a;
11731
11734
  super();
@@ -11982,7 +11985,7 @@ class Vl {
11982
11985
  function Hl(n, t) {
11983
11986
  const e = n.x - t[0].x, i = n.y - t[0].y, s = t[1].x - t[0].x, o = t[1].y - t[0].y, r = e * s + i * o, a = s * s + o * o, l = r / a;
11984
11987
  let c, h;
11985
- return l < 0 || n1(t[0], t[1]) ? (c = t[0].x, h = t[0].y) : l > 1 ? (c = t[1].x, h = t[1].y) : (c = t[0].x + l * s, h = t[0].y + l * o), new Pt(c, h);
11988
+ return l < 0 || n1(t[0], t[1]) ? (c = t[0].x, h = t[0].y) : l > 1 ? (c = t[1].x, h = t[1].y) : (c = t[0].x + l * s, h = t[0].y + l * o), new Ct(c, h);
11986
11989
  }
11987
11990
  function n1(n, t) {
11988
11991
  return n.x === t.x && n.y === t.y;
@@ -12150,11 +12153,11 @@ class Mi extends Er {
12150
12153
  const [o] = Vt(this.five).intersectRaycaster(e);
12151
12154
  if (!o)
12152
12155
  return;
12153
- const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new Pt(a.x * l, a.y * c), u = this.model.getAllLines().map((v) => {
12156
+ const r = this.five.camera, a = o.point.clone().project(r), l = this.container.clientWidth, c = this.container.clientHeight, h = new Ct(a.x * l, a.y * c), u = this.model.getAllLines().map((v) => {
12154
12157
  const [y, P] = v.points, I = y.position.clone().project(r), k = P.position.clone().project(r);
12155
12158
  if (!tn(I) && !tn(k))
12156
12159
  return null;
12157
- const E = new Pt(I.x * l, I.y * c), z = new Pt(k.x * l, k.y * c);
12160
+ const E = new Ct(I.x * l, I.y * c), z = new Ct(k.x * l, k.y * c);
12158
12161
  return { id: v.id, points: [E, z] };
12159
12162
  }).filter((v) => !!v);
12160
12163
  if (u.length === 0)
@@ -12312,7 +12315,7 @@ class vh extends Er {
12312
12315
  }
12313
12316
  function s1(n, t) {
12314
12317
  const e = (n.x + 1) / 2 * t.width, i = -(n.y - 1) / 2 * t.height;
12315
- return new Pt(e, i);
12318
+ return new Ct(e, i);
12316
12319
  }
12317
12320
  function o1(n, t, e, i) {
12318
12321
  const s = n.getElement();
@@ -12325,7 +12328,7 @@ function o1(n, t, e, i) {
12325
12328
  return typeof i == "number" && r[0].distance > i ? null : r[0];
12326
12329
  }
12327
12330
  function bh(n) {
12328
- const { x: t, y: e } = n.center, { clientWidth: i, clientHeight: s } = n.target, o = n.target.getBoundingClientRect(), r = new Pt(t, e).sub(new Pt(o.left, o.top)), a = new Pt(r.x / i * 2 - 1, -(r.y / s) * 2 + 1);
12331
+ const { x: t, y: e } = n.center, { clientWidth: i, clientHeight: s } = n.target, o = n.target.getBoundingClientRect(), r = new Ct(t, e).sub(new Ct(o.left, o.top)), a = new Ct(r.x / i * 2 - 1, -(r.y / s) * 2 + 1);
12329
12332
  return { point: r, ndcPoint: a };
12330
12333
  }
12331
12334
  const yh = () => !1;
@@ -12403,11 +12406,11 @@ class wh extends Er {
12403
12406
  const o = Vt(this.five), [r] = o.intersectRaycaster(e);
12404
12407
  if (!r)
12405
12408
  return;
12406
- const a = this.five.camera, l = r.point.clone().project(a), c = this.container.clientWidth, h = this.container.clientHeight, u = new Pt(l.x * c, l.y * h), f = this.model.getAllLines().map((v) => {
12409
+ const a = this.five.camera, l = r.point.clone().project(a), c = this.container.clientWidth, h = this.container.clientHeight, u = new Ct(l.x * c, l.y * h), f = this.model.getAllLines().map((v) => {
12407
12410
  const [y, P] = v.points, I = y.position.clone().project(a), k = P.position.clone().project(a);
12408
12411
  if (!tn(I) && !tn(k))
12409
12412
  return null;
12410
- const E = new Pt(I.x * c, I.y * h), z = new Pt(k.x * c, k.y * h);
12413
+ const E = new Ct(I.x * c, I.y * h), z = new Ct(k.x * c, k.y * h);
12411
12414
  return { id: v.id, points: [E, z] };
12412
12415
  }).filter((v) => !!v);
12413
12416
  if (f.length === 0)
@@ -12506,7 +12509,7 @@ class dm {
12506
12509
  d(this, "config");
12507
12510
  d(this, "polylines", []);
12508
12511
  d(this, "areas", []);
12509
- d(this, "hook", new It());
12512
+ d(this, "hook", new Pt());
12510
12513
  this.config = t;
12511
12514
  }
12512
12515
  addPolyline(t) {
@@ -12757,11 +12760,11 @@ class Is extends Er {
12757
12760
  const i = Vt(this.five), [s] = i.intersectRaycaster(e);
12758
12761
  if (!s)
12759
12762
  return;
12760
- const o = this.five.camera, r = s.point.clone().project(o), a = this.container.clientWidth, l = this.container.clientHeight, c = new Pt(r.x * a, r.y * l), h = this.model.getAllLines().map((A) => {
12763
+ const o = this.five.camera, r = s.point.clone().project(o), a = this.container.clientWidth, l = this.container.clientHeight, c = new Ct(r.x * a, r.y * l), h = this.model.getAllLines().map((A) => {
12761
12764
  const [p, g] = A.points, v = p.position.clone().project(o), y = g.position.clone().project(o);
12762
12765
  if (!tn(v) && !tn(y))
12763
12766
  return null;
12764
- const P = new Pt(v.x * a, v.y * l), I = new Pt(y.x * a, y.y * l);
12767
+ const P = new Ct(v.x * a, v.y * l), I = new Ct(y.x * a, y.y * l);
12765
12768
  return { id: A.id, points: [P, I] };
12766
12769
  }).filter((A) => !!A);
12767
12770
  if (h.length === 0)
@@ -13710,7 +13713,7 @@ function O1(n, t, e) {
13710
13713
  function u() {
13711
13714
  e(3, r = !1);
13712
13715
  }
13713
- xt(() => {
13716
+ kt(() => {
13714
13717
  i.hook.on("modeChange", l), i.hook.on("complete", u), i.hook.on("pointsChange", h);
13715
13718
  }), Ht(() => {
13716
13719
  i.hook.off("modeChange", l), i.hook.off("complete", u), i.hook.off("pointsChange", h);
@@ -14371,7 +14374,7 @@ function Y1(n, t, e) {
14371
14374
  }, z = (W) => {
14372
14375
  W.isEmpty && p("start");
14373
14376
  };
14374
- xt(() => {
14377
+ kt(() => {
14375
14378
  i.hook.on("revoke", z), i.hook.on("measureTypeChange", E), i.hook.on("modeChange", I), i.hook.on("pointsChange", P), i.hook.on("allowAddPointStateChange", k), i.hook.on("readyComplete", v), i.hook.on("notReadyComplete", y), i.hook.on("complete", I);
14376
14379
  }), Ht(() => {
14377
14380
  i.hook.off("measureTypeChange", E), i.hook.off("modeChange", I), i.hook.off("allowAddPointStateChange", k), i.hook.off("readyComplete", v), i.hook.off("pointsChange", P), i.hook.off("notReadyComplete", y), i.hook.off("complete", I);
@@ -14618,7 +14621,7 @@ function $1(n, t, e) {
14618
14621
  }, g = (y) => {
14619
14622
  i.currentMeasureType === "area" && (y.length >= 2 ? h("close") : y.length === 0 ? h("start") : u());
14620
14623
  };
14621
- xt(() => {
14624
+ kt(() => {
14622
14625
  m(i.getCurrentMode()), i.hook.on("modeChange", m), i.hook.on("complete", A), i.hook.on("pointsChange", g), i.hook.on("measureTypeChange", p);
14623
14626
  }), Ht(() => {
14624
14627
  i.hook.off("modeChange", m), i.hook.off("complete", A), i.hook.off("pointsChange", g), i.hook.off("measureTypeChange", p), u();
@@ -14934,7 +14937,7 @@ class oy extends Bi {
14934
14937
  };
14935
14938
  }
14936
14939
  }
14937
- const Ix = function(t, e) {
14940
+ const I3 = function(t, e) {
14938
14941
  return new oy(t, e);
14939
14942
  }, ym = Ll(null);
14940
14943
  function ry(n) {
@@ -15176,7 +15179,7 @@ function uy(n, t, e) {
15176
15179
  }), R = R.parentNode;
15177
15180
  }
15178
15181
  };
15179
- xt(() => {
15182
+ kt(() => {
15180
15183
  m.emit("initTag", { id: i });
15181
15184
  });
15182
15185
  const I = ym.subscribe((E) => {
@@ -15260,7 +15263,7 @@ const my = {
15260
15263
  ">": "&gt",
15261
15264
  '"': "&#34",
15262
15265
  "'": "&#39"
15263
- }, kt = {
15266
+ }, Mt = {
15264
15267
  EVAL: "eval",
15265
15268
  ESCAPED: "escaped",
15266
15269
  RAW: "raw",
@@ -15330,56 +15333,56 @@ class vy {
15330
15333
  `).length - 1, t) {
15331
15334
  case i + e:
15332
15335
  case i + e + "_":
15333
- this.mode = kt.EVAL;
15336
+ this.mode = Mt.EVAL;
15334
15337
  break;
15335
15338
  case i + e + "=":
15336
- this.mode = kt.ESCAPED;
15339
+ this.mode = Mt.ESCAPED;
15337
15340
  break;
15338
15341
  case i + e + "-":
15339
- this.mode = kt.RAW;
15342
+ this.mode = Mt.RAW;
15340
15343
  break;
15341
15344
  case i + e + "#":
15342
- this.mode = kt.COMMENT;
15345
+ this.mode = Mt.COMMENT;
15343
15346
  break;
15344
15347
  case i + e + e:
15345
- this.mode = kt.LITERAL, this.source += ' ; __append("' + t.replace(i + e + e, i + e) + `")
15348
+ this.mode = Mt.LITERAL, this.source += ' ; __append("' + t.replace(i + e + e, i + e) + `")
15346
15349
  `;
15347
15350
  break;
15348
15351
  case e + e + s:
15349
- this.mode = kt.LITERAL, this.source += ' ; __append("' + t.replace(e + e + s, e + s) + `")
15352
+ this.mode = Mt.LITERAL, this.source += ' ; __append("' + t.replace(e + e + s, e + s) + `")
15350
15353
  `;
15351
15354
  break;
15352
15355
  case e + s:
15353
15356
  case "-" + e + s:
15354
15357
  case "_" + e + s:
15355
- this.mode == kt.LITERAL && this._addOutput(t), this.mode = null, this.truncate = t.indexOf("-") === 0 || t.indexOf("_") === 0;
15358
+ this.mode == Mt.LITERAL && this._addOutput(t), this.mode = null, this.truncate = t.indexOf("-") === 0 || t.indexOf("_") === 0;
15356
15359
  break;
15357
15360
  default:
15358
15361
  if (this.mode) {
15359
15362
  switch (this.mode) {
15360
- case kt.EVAL:
15361
- case kt.ESCAPED:
15362
- case kt.RAW:
15363
+ case Mt.EVAL:
15364
+ case Mt.ESCAPED:
15365
+ case Mt.RAW:
15363
15366
  t.lastIndexOf("//") > t.lastIndexOf(`
15364
15367
  `) && (t += `
15365
15368
  `);
15366
15369
  }
15367
15370
  switch (this.mode) {
15368
- case kt.EVAL:
15371
+ case Mt.EVAL:
15369
15372
  this.source += " ; " + t + `
15370
15373
  `;
15371
15374
  break;
15372
- case kt.ESCAPED:
15375
+ case Mt.ESCAPED:
15373
15376
  this.source += " ; __append(escapeFn(" + Wh(t) + `))
15374
15377
  `;
15375
15378
  break;
15376
- case kt.RAW:
15379
+ case Mt.RAW:
15377
15380
  this.source += " ; __append(" + Wh(t) + `)
15378
15381
  `;
15379
15382
  break;
15380
- case kt.COMMENT:
15383
+ case Mt.COMMENT:
15381
15384
  break;
15382
- case kt.LITERAL:
15385
+ case Mt.LITERAL:
15383
15386
  this._addOutput(t);
15384
15387
  break;
15385
15388
  }
@@ -15388,7 +15391,7 @@ class vy {
15388
15391
  }
15389
15392
  }
15390
15393
  }
15391
- const Ia = 1e-3, Uh = 0.01, by = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", Mx = (n, t) => {
15394
+ const Ia = 1e-3, Uh = 0.01, by = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", M3 = (n, t) => {
15392
15395
  var oe, se, Pe, Ae, ge, Ve, ye, Qe;
15393
15396
  let e = t == null ? void 0 : t.container, i = 1.4;
15394
15397
  const s = (oe = t == null ? void 0 : t.wait) != null ? oe : 200, o = (se = t == null ? void 0 : t.maxNumberOnScreen) != null ? se : 3, r = (Pe = t == null ? void 0 : t.minRad) != null ? Pe : Math.PI / 4, a = (Ae = t == null ? void 0 : t.nearTolerance) != null ? Ae : 100, l = (ge = t == null ? void 0 : t.upsideHeight) != null ? ge : 1.6, c = (Ve = t == null ? void 0 : t.minDistance) != null ? Ve : 1.2, h = (ye = t == null ? void 0 : t.maxDistance) != null ? ye : 3.5, u = wr(n), f = document.createElement("div");
@@ -15477,12 +15480,12 @@ const Ia = 1e-3, Uh = 0.01, by = "https://vrlab-image4.ljcdn.com/release/web/Pan
15477
15480
  const rt = Oe.position.clone().sub(pe.position).setY(0);
15478
15481
  if (rt.angleTo(Oe.normal) > Math.PI / 2 - r && rt.angleTo(Oe.normal) < Math.PI / 2 + r)
15479
15482
  return Ce;
15480
- const Je = Oe.position.clone().project(pe);
15483
+ const Ze = Oe.position.clone().project(pe);
15481
15484
  if (!p.tags.every((Ie) => {
15482
15485
  if (Ie.position.clone().sub(pe.position).setY(0).angleTo(ke.setY(0)) > Math.PI / 2)
15483
15486
  return !0;
15484
15487
  const Xe = Ie.position.clone().project(pe);
15485
- return Math.sqrt(Math.pow((Je.x - Xe.x) / 2 * K, 2) + Math.pow((Je.y - Xe.y) / 2 * ve, 2)) > a;
15488
+ return Math.sqrt(Math.pow((Ze.x - Xe.x) / 2 * K, 2) + Math.pow((Ze.y - Xe.y) / 2 * ve, 2)) > a;
15486
15489
  }))
15487
15490
  return Ce;
15488
15491
  const tt = {
@@ -15519,19 +15522,19 @@ const Ia = 1e-3, Uh = 0.01, by = "https://vrlab-image4.ljcdn.com/release/web/Pan
15519
15522
  return Math.sqrt(Math.pow((rt.x - Ie.x) / 2 * K, 2) + Math.pow((rt.y - Ie.y) / 2 * ve, 2)) > a;
15520
15523
  }))
15521
15524
  continue;
15522
- const Je = new w.Raycaster(
15525
+ const Ze = new w.Raycaster(
15523
15526
  pe.position.clone().setY(i),
15524
15527
  Ge.position.clone().sub(pe.position.clone().setY(i)).normalize(),
15525
15528
  0,
15526
15529
  Ge.distance + Uh
15527
- ), [tt] = p.intersectObjects ? Je.intersectObjects(p.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(Je) : Je.intersectObjects(n.model.children, !0);
15530
+ ), [tt] = p.intersectObjects ? Ze.intersectObjects(p.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(Ze) : Ze.intersectObjects(n.model.children, !0);
15528
15531
  if (tt && Ge.distance - tt.distance < Uh) {
15529
15532
  const { position: Se, normal: Ie, id: Xe, replacement: ht } = Ge, ls = new w.Plane().setFromNormalAndCoplanarPoint(Ie, Se), qt = Se.clone().sub(pe.position).cross(new w.Vector3(0, 1, 0)).setLength(Ia), bi = [
15530
15533
  Se.clone(),
15531
15534
  Se.clone().add(qt),
15532
15535
  Se.clone().add(new w.Vector3(0, Ia, 0)).add(qt),
15533
15536
  Se.clone().add(new w.Vector3(0, Ia, 0))
15534
- ].map((hn) => ls.projectPoint(hn, new w.Vector3())), { container: Vi, dispose: Dt } = u.create3DDomContainer(bi) || {}, cn = new fy({
15537
+ ].map((hn) => ls.projectPoint(hn, new w.Vector3())), { container: Vi, dispose: xt } = u.create3DDomContainer(bi) || {}, cn = new fy({
15535
15538
  target: Vi,
15536
15539
  props: {
15537
15540
  id: Xe,
@@ -15543,7 +15546,7 @@ const Ia = 1e-3, Uh = 0.01, by = "https://vrlab-image4.ljcdn.com/release/web/Pan
15543
15546
  folded: p.folded,
15544
15547
  events: p.events,
15545
15548
  hooks: m,
15546
- dispose: Dt
15549
+ dispose: xt
15547
15550
  }
15548
15551
  });
15549
15552
  Le.push({
@@ -15574,7 +15577,7 @@ const Ia = 1e-3, Uh = 0.01, by = "https://vrlab-image4.ljcdn.com/release/web/Pan
15574
15577
  p.enabled = !1, g.$set({ origins: [] }), p.tags.forEach((K) => {
15575
15578
  K.app.$destroy(), K = null;
15576
15579
  }), p.origins = [], p.tags = [];
15577
- }, G = () => {
15580
+ }, _ = () => {
15578
15581
  p.folded = !1, p.tags.forEach((K) => {
15579
15582
  K.app.$set({ folded: p.folded });
15580
15583
  });
@@ -15602,7 +15605,7 @@ const Ia = 1e-3, Uh = 0.01, by = "https://vrlab-image4.ljcdn.com/release/web/Pan
15602
15605
  return window.addEventListener("resize", Y, !1), (Qe = n == null ? void 0 : n.model) != null && Qe.loaded ? Z() : n.once("modelLoaded", Z), n.on("dispose", J), {
15603
15606
  load: R,
15604
15607
  setIntersectObjects: U,
15605
- unfoldAll: G,
15608
+ unfoldAll: _,
15606
15609
  foldAll: N,
15607
15610
  unfold: Q,
15608
15611
  fold: H,
@@ -15655,7 +15658,7 @@ var xn = /* @__PURE__ */ ((n) => (n.SMALL = "small", n.MIDLLE = "middle", n.LARG
15655
15658
  n.exports ? (e.default = e, n.exports = e) : window.classNames = e;
15656
15659
  })();
15657
15660
  })(yy);
15658
- const wt = sl;
15661
+ const Lt = sl;
15659
15662
  function wy(n) {
15660
15663
  me(n, "svelte-1wufped", ".item-label-item.svelte-1wufped{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-1wufped{opacity:1;animation:svelte-1wufped-fadeIn 0.3s ease-in}.item-label-item__text-wrap.svelte-1wufped::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.3);filter:blur(1rem);z-index:-1}.item-label-item__text-wrap.svelte-1wufped{padding:0.375rem 0.375rem 0;position:absolute;height:1.25rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.625rem;font-size:0.6875rem;font-weight:bold;color:#ffeac0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-1wufped{padding-bottom:0.25rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:0.0625rem solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-1wufped{position:absolute;bottom:0;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@keyframes svelte-1wufped-fadeIn{from{opacity:0}to{opacity:1}}");
15661
15664
  }
@@ -15672,7 +15675,7 @@ function Cy(n) {
15672
15675
  c() {
15673
15676
  t = S("div"), e = S("div"), i = S("span"), o = De(s), r = $(), a = S("div"), C(i, "class", "item-label-item__text svelte-1wufped"), C(e, "class", "item-label-item__text-wrap svelte-1wufped"), T(e, "top", `-${/*itemLabel*/
15674
15677
  n[0].strokeLength + 26}px`), C(a, "class", "item-label-item__bar svelte-1wufped"), T(a, "height", `${/*itemLabel*/
15675
- n[0].strokeLength}px`), C(t, "class", l = Ze(wt("item-label-item", { visible: (
15678
+ n[0].strokeLength}px`), C(t, "class", l = Ke(Lt("item-label-item", { visible: (
15676
15679
  /*itemLabel*/
15677
15680
  n[0].visible
15678
15681
  ) })) + " svelte-1wufped"), T(
@@ -15707,7 +15710,7 @@ function Cy(n) {
15707
15710
  u[0].strokeLength + 26}px`), f & /*itemLabel*/
15708
15711
  1 && T(a, "height", `${/*itemLabel*/
15709
15712
  u[0].strokeLength}px`), f & /*itemLabel*/
15710
- 1 && l !== (l = Ze(wt("item-label-item", { visible: (
15713
+ 1 && l !== (l = Ke(Lt("item-label-item", { visible: (
15711
15714
  /*itemLabel*/
15712
15715
  u[0].visible
15713
15716
  ) })) + " svelte-1wufped") && C(t, "class", l), f & /*itemLabel*/
@@ -15925,7 +15928,7 @@ function xy(n, t, e) {
15925
15928
  const z = () => {
15926
15929
  e(4, p = !1), R();
15927
15930
  };
15928
- xt(() => {
15931
+ kt(() => {
15929
15932
  e(1, u = a), h = a, E(), U(), o.on("cameraUpdate", z);
15930
15933
  });
15931
15934
  const R = wm(
@@ -15943,7 +15946,7 @@ function xy(n, t, e) {
15943
15946
  Ht(() => {
15944
15947
  o.off("cameraUpdate", z), window.removeEventListener("resize", F, !1);
15945
15948
  });
15946
- function G() {
15949
+ function _() {
15947
15950
  f = this.clientWidth, m = this.clientHeight, e(2, f), e(3, m);
15948
15951
  }
15949
15952
  return n.$$set = (N) => {
@@ -15958,7 +15961,7 @@ function xy(n, t, e) {
15958
15961
  r,
15959
15962
  a,
15960
15963
  c,
15961
- G
15964
+ _
15962
15965
  ];
15963
15966
  }
15964
15967
  let Dy = class extends de {
@@ -15985,7 +15988,7 @@ function Sy(n) {
15985
15988
  modelPosition: [t.position[0], t.position[1] + t.size[1], t.position[2]]
15986
15989
  }, t));
15987
15990
  }
15988
- const Dx = (n, t) => {
15991
+ const D3 = (n, t) => {
15989
15992
  var f, m;
15990
15993
  const e = {
15991
15994
  container: document.createElement("div"),
@@ -16055,7 +16058,7 @@ const Dx = (n, t) => {
16055
16058
  dispose: a,
16056
16059
  hooks: e.hooks
16057
16060
  };
16058
- }, Sx = {
16061
+ }, S3 = {
16059
16062
  name: "ModelItemLabelPlugin",
16060
16063
  version: 0
16061
16064
  };
@@ -16076,7 +16079,7 @@ function Ty(n) {
16076
16079
  t.push(i);
16077
16080
  }), t;
16078
16081
  }
16079
- const Ly = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAA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////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcdqGM7/SIC5/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxIOaIRna6ZOHxGunk+TDR1ukjUkSr0w86bcKShiz1OI4JMP8YAD9+4emM2Gm407IfIhzm0NxrhKNsLH4SvQ+RktyvUfZIMXYcPPsSFCcvY6EYW6ZPsxuiYZaLwAW5bDY70Da5paxjvm8d+UcjAUL/GzPtCnDF/mwFWhJ75Zs68x05gxxFRGQfa+RYXokHVCC4O4yOqYLTwBjNB+ncWEZnsbzrIvOLz4CW9g4jODn0ZPO/iZN0UmhaPp0Omq+Q/nLu6NO0hErJnurjKdTBzEdAhkqILXDAdbFkJ7EnDe4EVy198srpiwhE4X1RKDFOqviBwcNPK6gmPmeWlGDz+VdHqRPEVHo0tLTM8RpcX4G+flLe6kU/Cs1pYRnm8uriQhfoC+0ZDvbMLi6ttfO5fDCDCKFrvooAKAov+c4BZvy8EzaolCHRdIZ+fBThl9G0Ih1RCrBJWbPiMKYAZ409oMSqFWAktzJ9GBuDvRoVGOIQJMSas0CiM39u45v0M9tbaeLc6F5M+7dhcbRfgg+pcU/oNa85VDwDOzBtmpP9UKsN8BuCzeb1P+kPi08+fASyr6fVPUh/PJ72+xj/bZk5PSV0YlJ4z83iC4EipS5LkiAkeHxGcQerLwMARRzyW+QklhUgKpST8nXfYg+fHkjS89MPz0MFnhKdCSWpc8RBnPAZB3RUvLt7i3oob7f5juDzuikY81tjcHlcHg9xabdyUWDvF2ay3slecr1ptimNx9lhhs1bzXQxy5NZa6VMx9pS2Wt1H77cVjFartYvBdlDICDc0cbVa3Twd2NcOyuLwVqo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==", Tx = (n, { videoElement: t }) => {
16082
+ const Ly = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKqADAAQAAAABAAAAKgAAAADUGqULAAAB0ElEQVRYCe2WSUoEQRBFLVHEiVZU1I03cKW38SSewRt4A5fiTty5cQIFR9pZQWkcUNSe2/Z9yISiSGxRkUAy4BGZSVX168gistraYsQKxArECsQKxApYqkDyU5lmsznMM+ZgAGpQhaUkSRbINgLJCXiCBtSgAkVYtGGIBTKj8AgKSVahDNvQa0IUkUG4Bx91BpLdBTOS/cgUIB3a+gMwI9mFzE3a0I3z5B4r292JzGVA8tSSZILMcUDyzIykthOZvYDk+V9Ktmz4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ZOZmE24dqGU5gOfCyZkyGWQT+IykW8zmSz0IpiLNN8t5iTmdTkgGTrInI7JcfULaH10Qnh/4IMVjAxNk6jxwajuUb8lqOZRT3S/lx06RY1g8C4akfiEJAOZdFKzsq/nNjIssdufjbhQAEAUodOGDWp4m8S0oHEhb+YexGkD4EBUpdVMrfl/E/RhNJnsjF/ls0r980YRQDlAqBylIqylcCzf4lHecB5veigSfmYoBycaxN2SHgT8e7pWKZwCzqzZpigUr9DlRuoIxXn8pIZJgHtkwpa8togHIiw587LeNx9mc2ZwIK5DOlXJaMFqhWwoMp/Ax+1W+ToOXTHGKNrDMLLo38LmKsQKmbdSrWil+N82UJaS40YTuJv/RdtAdpzet+aJDzvMpQV71oo2gYX5RXG2HnYZXtouzNRzXE3R0KE6jWjZU2iaZ9u8pqpU3UfvwrYSgSBVDtGDurBlHn/zj0QMIh7qlDNOfmcBj9ihKo9o+l1euiWGxSE5eun3na6jxQk3joEgdQ7TR+FWutE43lhQpph3sQvISAVRa9ppRzipY4gZqdw8/WigIWDWt1gD8EIsqSLlT/KPUVlKSAujs2XTLYeRHiIlA2DVi1qkRtK8PSULaEDF+Ue7ashwkTlf8DQc/cITdx9+UAAAAASUVORK5CYII=", jy = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAen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F2ay3slecr1ptimNx9lhhs1bzXQxy5NZa6VMx9pS2Wt1H77cVjFartYvBdlDICDc0cbVa3Twd2NcOyuLwVqo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==", T3 = (n, { videoElement: t }) => {
16080
16083
  const e = {
16081
16084
  videoMeshes: [],
16082
16085
  videoTextureEnabled: !1,
@@ -16118,31 +16121,31 @@ const Ly = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
16118
16121
  }, c = () => e.rectPoints.map((v, y) => {
16119
16122
  const P = new w.BufferGeometry(), I = 128, k = [];
16120
16123
  k.push(...v[0].toArray());
16121
- for (let G = 1; G < I; G++)
16124
+ for (let _ = 1; _ < I; _++)
16122
16125
  k.push(
16123
- v[0].x + (v[1].x - v[0].x) * G / I,
16124
- v[0].y + (v[1].y - v[0].y) * G / I,
16125
- v[0].z + (v[1].z - v[0].z) * G / I
16126
+ v[0].x + (v[1].x - v[0].x) * _ / I,
16127
+ v[0].y + (v[1].y - v[0].y) * _ / I,
16128
+ v[0].z + (v[1].z - v[0].z) * _ / I
16126
16129
  );
16127
16130
  k.push(...v[1].toArray()), k.push(...v[2].toArray());
16128
- for (let G = 1; G < I; G++)
16131
+ for (let _ = 1; _ < I; _++)
16129
16132
  k.push(
16130
- v[2].x + (v[3].x - v[2].x) * G / I,
16131
- v[2].y + (v[3].y - v[2].y) * G / I,
16132
- v[2].z + (v[3].z - v[2].z) * G / I
16133
+ v[2].x + (v[3].x - v[2].x) * _ / I,
16134
+ v[2].y + (v[3].y - v[2].y) * _ / I,
16135
+ v[2].z + (v[3].z - v[2].z) * _ / I
16133
16136
  );
16134
16137
  k.push(...v[3].toArray());
16135
16138
  const E = [];
16136
16139
  E.push(0, 1);
16137
- for (let G = 1; G < I; G++)
16138
- E.push(0, 1 - G / I);
16140
+ for (let _ = 1; _ < I; _++)
16141
+ E.push(0, 1 - _ / I);
16139
16142
  E.push(0, 0), E.push(1, 0);
16140
- for (let G = 1; G < I; G++)
16141
- E.push(1, G / I);
16143
+ for (let _ = 1; _ < I; _++)
16144
+ E.push(1, _ / I);
16142
16145
  E.push(1, 1);
16143
16146
  const z = [];
16144
- for (let G = 0; G < I; G++)
16145
- z.push(G, G + 1, I * 2 - G, G, I * 2 - G, I * 2 + 1 - G);
16147
+ for (let _ = 0; _ < I; _++)
16148
+ z.push(_, _ + 1, I * 2 - _, _, I * 2 - _, I * 2 + 1 - _);
16146
16149
  P.setAttribute("position", new w.BufferAttribute(new Float32Array(k), 3)), P.setAttribute("uv", new w.BufferAttribute(new Float32Array(E), 2)), P.setIndex(new w.BufferAttribute(new Uint32Array(z), 1));
16147
16150
  const R = new w.MeshBasicMaterial({
16148
16151
  map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
@@ -16151,12 +16154,12 @@ const Ly = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
16151
16154
  U.renderOrder = 1, U.name = `ModelTVVideoPlugin-${y}-${performance.now()}`;
16152
16155
  const W = [v[1], v[2], v[3], v[0]], F = i.create3DDomContainer(W);
16153
16156
  if (F != null && F.container) {
16154
- const G = document.createElement("div");
16155
- G.classList.add("play-icon"), G.style.width = "100%", G.style.height = "100%", G.style.display = "flex", G.style.justifyContent = "center", G.style.alignItems = "center", G.style.pointerEvents = "none", F.container.appendChild(G);
16157
+ const _ = document.createElement("div");
16158
+ _.classList.add("play-icon"), _.style.width = "100%", _.style.height = "100%", _.style.display = "flex", _.style.justifyContent = "center", _.style.alignItems = "center", _.style.pointerEvents = "none", F.container.appendChild(_);
16156
16159
  const N = document.createElement("img");
16157
16160
  N.src = Fl, N.style.width = "200px", N.style.pointerEvents = "auto", N.onclick = () => {
16158
16161
  e.videoTexture.image.muted = !1, e.videoTexture.image.play();
16159
- }, G.appendChild(N), s.set(U, F);
16162
+ }, _.appendChild(N), s.set(U, F);
16160
16163
  }
16161
16164
  return U;
16162
16165
  }), h = (v) => {
@@ -16177,7 +16180,7 @@ const Ly = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAA
16177
16180
  k(new Error("Video download Error: " + E.status));
16178
16181
  }, E.onerror = (z) => k(z), E.open("GET", v), E.responseType = "blob", E.send();
16179
16182
  });
16180
- }, f = (v, y) => _(void 0, null, function* () {
16183
+ }, f = (v, y) => G(void 0, null, function* () {
16181
16184
  const { video_src: P, video_poster_src: I, points: k } = v;
16182
16185
  e.videoSource = P, e.rectPoints = Ty(k).map((E) => E.map(({ x: z, y: R, z: U }) => new w.Vector3(z, R, U))), e.imageTexture = h(I), y && (e.videoElement = y), e.videoTexture = yield u(e.videoSource, e.videoElement), e.enabled = !!v.enable, e.enabled && a();
16183
16186
  }), m = (v) => {
@@ -16307,15 +16310,15 @@ function Ry(n) {
16307
16310
  let f = u(n, -1), m = f(n);
16308
16311
  return {
16309
16312
  c() {
16310
- t = S("div"), e = S("div"), m.c(), o = $(), r = S("div"), C(e, "class", s = Ze(wt("item-label-item__text-wrap", {
16313
+ t = S("div"), e = S("div"), m.c(), o = $(), r = S("div"), C(e, "class", s = Ke(Lt("item-label-item__text-wrap", {
16311
16314
  "item-label-item__custom": typeof /*itemLabel*/
16312
16315
  n[0].render == "function"
16313
16316
  })) + " svelte-1jhufeh"), T(e, "bottom", `${/*itemLabel*/
16314
- n[0].strokeLength}px`), C(r, "class", a = Ze(wt("item-label-item__bar", { anchor: (
16317
+ n[0].strokeLength}px`), C(r, "class", a = Ke(Lt("item-label-item__bar", { anchor: (
16315
16318
  /*anchorEnabled*/
16316
16319
  n[1]
16317
16320
  ) })) + " svelte-1jhufeh"), T(r, "height", `${/*itemLabel*/
16318
- n[0].strokeLength}px`), C(t, "class", l = Ze(wt("item-label-item", { fold: (
16321
+ n[0].strokeLength}px`), C(t, "class", l = Ke(Lt("item-label-item", { fold: (
16319
16322
  /*itemLabel*/
16320
16323
  n[0].isFold
16321
16324
  ) })) + " svelte-1jhufeh"), T(
@@ -16340,19 +16343,19 @@ function Ry(n) {
16340
16343
  },
16341
16344
  p(A, [p]) {
16342
16345
  f === (f = u(A, p)) && m ? m.p(A, p) : (m.d(1), m = f(A), m && (m.c(), m.m(e, null))), p & /*itemLabel*/
16343
- 1 && s !== (s = Ze(wt("item-label-item__text-wrap", {
16346
+ 1 && s !== (s = Ke(Lt("item-label-item__text-wrap", {
16344
16347
  "item-label-item__custom": typeof /*itemLabel*/
16345
16348
  A[0].render == "function"
16346
16349
  })) + " svelte-1jhufeh") && C(e, "class", s), p & /*itemLabel*/
16347
16350
  1 && T(e, "bottom", `${/*itemLabel*/
16348
16351
  A[0].strokeLength}px`), p & /*anchorEnabled*/
16349
- 2 && a !== (a = Ze(wt("item-label-item__bar", { anchor: (
16352
+ 2 && a !== (a = Ke(Lt("item-label-item__bar", { anchor: (
16350
16353
  /*anchorEnabled*/
16351
16354
  A[1]
16352
16355
  ) })) + " svelte-1jhufeh") && C(r, "class", a), p & /*itemLabel*/
16353
16356
  1 && T(r, "height", `${/*itemLabel*/
16354
16357
  A[0].strokeLength}px`), p & /*itemLabel*/
16355
- 1 && l !== (l = Ze(wt("item-label-item", { fold: (
16358
+ 1 && l !== (l = Ke(Lt("item-label-item", { fold: (
16356
16359
  /*itemLabel*/
16357
16360
  A[0].isFold
16358
16361
  ) })) + " svelte-1jhufeh") && C(t, "class", l), p & /*itemLabel*/
@@ -16425,7 +16428,7 @@ class Hy extends de {
16425
16428
  );
16426
16429
  }
16427
16430
  }
16428
- const { Raycaster: Ny, Vector3: Lx } = w, qh = (n, t, e, i) => {
16431
+ const { Raycaster: Ny, Vector3: L3 } = w, qh = (n, t, e, i) => {
16429
16432
  const s = t.clone().sub(e).normalize(), o = new Ny();
16430
16433
  o.set(e, s);
16431
16434
  const [r] = n.model.intersectRaycaster(o);
@@ -16674,7 +16677,7 @@ function Uy(n, t, e) {
16674
16677
  }
16675
16678
  }
16676
16679
  return typeof Z == "number" ? H[Z] : void 0;
16677
- }, G = (Q) => {
16680
+ }, _ = (Q) => {
16678
16681
  if (s.state.mode === mt.Mode.Panorama)
16679
16682
  return;
16680
16683
  const H = s.work.observers, Y = new i().fromArray(Q.position), Z = F(Y, H);
@@ -16697,7 +16700,7 @@ function Uy(n, t, e) {
16697
16700
  };
16698
16701
  Tf(() => {
16699
16702
  W();
16700
- }), xt(() => {
16703
+ }), kt(() => {
16701
16704
  e(1, u = Kh(r)), h = r, k(), U(), s.on("cameraUpdate", E);
16702
16705
  }), Ht(() => {
16703
16706
  s.off("cameraUpdate", E), window.removeEventListener("resize", R, !1);
@@ -16714,7 +16717,7 @@ function Uy(n, t, e) {
16714
16717
  m,
16715
16718
  A,
16716
16719
  g,
16717
- G,
16720
+ _,
16718
16721
  s,
16719
16722
  o,
16720
16723
  r,
@@ -16750,7 +16753,7 @@ function Xy(n) {
16750
16753
  observerIndex: void 0
16751
16754
  }));
16752
16755
  }
16753
- const Zy = void 0, jx = (n, t) => {
16756
+ const Zy = void 0, j3 = (n, t) => {
16754
16757
  var f, m, A, p;
16755
16758
  const e = {
16756
16759
  container: document.createElement("div"),
@@ -16821,7 +16824,7 @@ const Zy = void 0, jx = (n, t) => {
16821
16824
  dispose: a,
16822
16825
  hooks: e.hooks
16823
16826
  };
16824
- }, zx = {
16827
+ }, z3 = {
16825
16828
  name: "ItemLabelPlugin",
16826
16829
  version: 0
16827
16830
  };
@@ -16901,7 +16904,7 @@ function Ky(n) {
16901
16904
  return {
16902
16905
  c() {
16903
16906
  t = S("div"), e = S("div"), i = S("span"), i.textContent = `${/*name*/
16904
- n[8]}`, s = $(), o = S("i"), C(i, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), C(o, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), C(e, "class", r = Ze(wt(
16907
+ n[8]}`, s = $(), o = S("i"), C(i, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), C(o, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), C(e, "class", r = Ke(Lt(
16905
16908
  "plugin-DoorLabelPlugin-cnt",
16906
16909
  /*props*/
16907
16910
  n[0].toward
@@ -16928,7 +16931,7 @@ function Ky(n) {
16928
16931
  },
16929
16932
  p(c, [h]) {
16930
16933
  h & /*props*/
16931
- 1 && r !== (r = Ze(wt(
16934
+ 1 && r !== (r = Ke(Lt(
16932
16935
  "plugin-DoorLabelPlugin-cnt",
16933
16936
  /*props*/
16934
16937
  c[0].toward
@@ -17073,7 +17076,7 @@ class rw extends Jy {
17073
17076
  const s = this.five.getElement(), o = s.clientWidth, r = s.clientHeight, a = i.getWorldDirection(new le()), l = [], c = [...this.labelItems];
17074
17077
  if (c.forEach((E, z) => {
17075
17078
  if (E.visible) {
17076
- const R = i.position.distanceTo(E.position), U = E.position.clone().add(new le(0, this.OffsetHeight, 0)), F = U.clone().sub(i.position).normalize().angleTo(a), G = U.clone().project(i), N = (G.x + 1) / 2.2 * 100, Q = (-G.y + 1) / 2.2 * 100, H = N >= 0 && N <= 100 && Q >= 0 && Q <= 100 && R > this.MinVisibledistance && R <= this.MaxVisibledistance;
17079
+ const R = i.position.distanceTo(E.position), U = E.position.clone().add(new le(0, this.OffsetHeight, 0)), F = U.clone().sub(i.position).normalize().angleTo(a), _ = U.clone().project(i), N = (_.x + 1) / 2.2 * 100, Q = (-_.y + 1) / 2.2 * 100, H = N >= 0 && N <= 100 && Q >= 0 && Q <= 100 && R > this.MinVisibledistance && R <= this.MaxVisibledistance;
17077
17080
  E.left = N, E.top = Q, E.inSight = H && F < Math.PI / 2, E.cameraToward = iw(this.five), H ? l.push({ disFromCameraToLabel: R, left: N, top: Q, index: z }) : E.transform = "translate(-50%, -50%)";
17078
17081
  } else
17079
17082
  E.inSight = !1;
@@ -17081,7 +17084,7 @@ class rw extends Jy {
17081
17084
  let E = 0;
17082
17085
  l.sort((z, R) => R.disFromCameraToLabel - z.disFromCameraToLabel);
17083
17086
  for (let z = 1; z < l.length; z++) {
17084
- const { index: R, left: U, top: W } = l[z - 1], { index: F, left: G, top: N } = l[z], Q = this.container.children[R], H = this.container.children[F];
17087
+ const { index: R, left: U, top: W } = l[z - 1], { index: F, left: _, top: N } = l[z], Q = this.container.children[R], H = this.container.children[F];
17085
17088
  if (!Q || !H)
17086
17089
  return;
17087
17090
  const Y = {
@@ -17090,7 +17093,7 @@ class rw extends Jy {
17090
17093
  width: (f = (u = (h = Q.children) == null ? void 0 : h[0]) == null ? void 0 : u.clientWidth) != null ? f : 0,
17091
17094
  height: (p = (A = (m = Q.children) == null ? void 0 : m[0]) == null ? void 0 : A.clientHeight) != null ? p : 0
17092
17095
  }, Z = {
17093
- left: o * G / 100,
17096
+ left: o * _ / 100,
17094
17097
  top: r * N / 100,
17095
17098
  width: (y = (v = (g = H.children) == null ? void 0 : g[0]) == null ? void 0 : v.clientWidth) != null ? y : 0,
17096
17099
  height: (k = (I = (P = H.children) == null ? void 0 : P[0]) == null ? void 0 : I.clientHeight) != null ? k : 0
@@ -17197,7 +17200,7 @@ class rw extends Jy {
17197
17200
  this && this.five && (this.five.off("wantsToMoveToPano", this.hideAllLabels), this.five.off("modelLoaded", this.fixDoorVisibleAndPosition), this.five.off("panoArrived", this.fixDoorVisibleAndPosition), this.five.off("initAnimationEnded", this.fixDoorPosition), this.five.off("cameraUpdate", this.fixDoorPosition), this.five.off("mouseWheel", this.fixDoorPosition), this.five.off("pinchGesture", this.fixDoorPosition), super.dispose());
17198
17201
  }
17199
17202
  }
17200
- const Ox = (n) => new rw(n);
17203
+ const O3 = (n) => new rw(n);
17201
17204
  function Cm(n, t) {
17202
17205
  console.warn(`🚫 ==> [${n}]: ${t}`);
17203
17206
  }
@@ -17343,7 +17346,7 @@ function Mw(n) {
17343
17346
  }
17344
17347
  const W = [];
17345
17348
  let F;
17346
- const G = [];
17349
+ const _ = [];
17347
17350
  for (let H = 0; H < l - 1; H++) {
17348
17351
  if (F !== void 0 && H <= F)
17349
17352
  continue;
@@ -17378,8 +17381,8 @@ function Mw(n) {
17378
17381
  } = Ye, Ce = K + je, Oe = Le + ke + 2;
17379
17382
  for (let Ie = Ce; Ie < Oe; Ie++)
17380
17383
  Ae < ge ? (g[Ie * 6 + 0] = $e, g[Ie * 6 + 2] = ae) : (g[Ie * 6 + 3] = $e, g[Ie * 6 + 5] = ae), F = Ie;
17381
- let Ge, rt, Je, tt, Se;
17382
- Ae < ge ? (Ge = g[K * 6 + 1], rt = g[Ce * 6 + 1], Je = g[Oe * 6 + 1], tt = g[pe * 6 + 1], Se = (rt + Je) / 2) : (Ge = g[K * 6 + 4], rt = g[Ce * 6 + 4], Je = g[Oe * 6 + 4], tt = g[pe * 6 + 4], Se = (rt + Je) / 2);
17384
+ let Ge, rt, Ze, tt, Se;
17385
+ Ae < ge ? (Ge = g[K * 6 + 1], rt = g[Ce * 6 + 1], Ze = g[Oe * 6 + 1], tt = g[pe * 6 + 1], Se = (rt + Ze) / 2) : (Ge = g[K * 6 + 4], rt = g[Ce * 6 + 4], Ze = g[Oe * 6 + 4], tt = g[pe * 6 + 4], Se = (rt + Ze) / 2);
17383
17386
  for (let Ie = K; Ie < Ce; Ie++) {
17384
17387
  const Xe = Ce - K, ht = (Ie - K) / Xe;
17385
17388
  Ae < ge ? g[Ie * 6 + 1] = Ge + (Se - Ge) * ht : g[Ie * 6 + 4] = Ge + (Se - Ge) * ht;
@@ -17390,7 +17393,7 @@ function Mw(n) {
17390
17393
  const Xe = pe - Oe, ht = (Ie - Oe + 1) / Xe;
17391
17394
  Ae < ge ? g[Ie * 6 + 1] = Se + (tt - Se) * ht : g[Ie * 6 + 4] = Se + (tt - Se) * ht;
17392
17395
  }
17393
- G.push({
17396
+ _.push({
17394
17397
  start: Ce,
17395
17398
  end: Oe
17396
17399
  });
@@ -17399,12 +17402,12 @@ function Mw(n) {
17399
17402
  }
17400
17403
  }
17401
17404
  const N = new Float32Array(f);
17402
- G.forEach((H) => {
17405
+ _.forEach((H) => {
17403
17406
  for (let Y = 0; Y < l - 1; Y++)
17404
17407
  Y >= H.start && Y <= H.end ? (N[Y * 2 + 0] = 1, N[Y * 2 + 1] = 1) : N[Y] !== 1 && (N[Y * 2 + 0] = 0, N[Y * 2 + 1] = 0);
17405
17408
  });
17406
17409
  const Q = new w.BufferGeometry();
17407
- return Q.setAttribute("position", new w.BufferAttribute(g, 3)), Q.setAttribute("uv", new w.BufferAttribute(v, 2)), Q.setIndex(new w.BufferAttribute(p, 1)), { geometry: Q, maxV: I, animationWillError: G, curvePath: o, curvePoints: a, panoMap: k, totalLength: P };
17410
+ return Q.setAttribute("position", new w.BufferAttribute(g, 3)), Q.setAttribute("uv", new w.BufferAttribute(v, 2)), Q.setIndex(new w.BufferAttribute(p, 1)), { geometry: Q, maxV: I, animationWillError: _, curvePath: o, curvePoints: a, panoMap: k, totalLength: P };
17408
17411
  }
17409
17412
  function kw(n) {
17410
17413
  if (xw(n)) {
@@ -17441,7 +17444,7 @@ function Dw(n, t) {
17441
17444
  });
17442
17445
  });
17443
17446
  }
17444
- const Ke = (n) => n;
17447
+ const qe = (n) => n;
17445
17448
  function Ma(n) {
17446
17449
  if (!n || n.length < 3)
17447
17450
  return;
@@ -17652,6 +17655,11 @@ const Yw = {
17652
17655
  }
17653
17656
  },
17654
17657
  contentTypeConfig: {
17658
+ "[Panorama]": {
17659
+ visibleConfig: {
17660
+ visibleDistance: { max: 30 }
17661
+ }
17662
+ },
17655
17663
  "[Mapview]": {
17656
17664
  unfoldedConfig: {
17657
17665
  autoUnfold: {
@@ -17990,7 +17998,7 @@ class Tm extends Sm {
17990
17998
  });
17991
17999
  }
17992
18000
  play(e = !1) {
17993
- return _(this, null, function* () {
18001
+ return G(this, null, function* () {
17994
18002
  this.videoMesh || (yield this.addVideoMesh()), this.showPlayUI(), this.videoInstance.paused && this.videoInstance.play().then(() => this.showPlayUI()).catch((i) => {
17995
18003
  this.pause(), console.error("play error", i);
17996
18004
  }), this.videoInstance.muted = e, this.render();
@@ -18010,7 +18018,7 @@ class Tm extends Sm {
18010
18018
  this.coverMesh && (this.coverMesh.visible = !1), this.remove(this.buttonMesh), this.videoMesh.visible = !0;
18011
18019
  }
18012
18020
  showPauseUI() {
18013
- return _(this, null, function* () {
18021
+ return G(this, null, function* () {
18014
18022
  this.coverMesh ? (this.coverMesh.visible = !0, this.videoMesh && (this.videoMesh.visible = !1)) : (yield this.addCoverMesh(), this.coverMesh && (this.videoMesh.visible = !1)), this.addButtonMesh().then(() => this.render());
18015
18023
  });
18016
18024
  }
@@ -18019,10 +18027,10 @@ class Tm extends Sm {
18019
18027
  this.videoMesh && (this.videoMesh.needsRender = !0), this.coverMesh && (this.coverMesh.needsRender = !0), this.buttonMesh && (this.buttonMesh.needsRender = !0), this.videoMesh && ((e = this.videoInstance) == null ? void 0 : e.paused) === !1 && (this.videoMesh.needsRender = !0);
18020
18028
  }
18021
18029
  addCoverMesh() {
18022
- return _(this, null, function* () {
18030
+ return G(this, null, function* () {
18023
18031
  if (this.children.includes(this.coverMesh))
18024
18032
  return;
18025
- const e = yield (() => _(this, null, function* () {
18033
+ const e = yield (() => G(this, null, function* () {
18026
18034
  if (this.coverMesh)
18027
18035
  return this.coverMesh;
18028
18036
  if (!this.videoCoverSrc)
@@ -18034,10 +18042,10 @@ class Tm extends Sm {
18034
18042
  });
18035
18043
  }
18036
18044
  addVideoMesh() {
18037
- return _(this, null, function* () {
18045
+ return G(this, null, function* () {
18038
18046
  if (this.children.includes(this.videoMesh))
18039
18047
  return;
18040
- const e = yield (() => _(this, null, function* () {
18048
+ const e = yield (() => G(this, null, function* () {
18041
18049
  if (this.videoMesh)
18042
18050
  return this.videoMesh;
18043
18051
  if (!this.src)
@@ -18069,10 +18077,10 @@ class Tm extends Sm {
18069
18077
  });
18070
18078
  }
18071
18079
  addButtonMesh() {
18072
- return _(this, null, function* () {
18080
+ return G(this, null, function* () {
18073
18081
  if (this.children.includes(this.buttonMesh))
18074
18082
  return;
18075
- const e = yield (() => _(this, null, function* () {
18083
+ const e = yield (() => G(this, null, function* () {
18076
18084
  var m, A, p, g;
18077
18085
  if (this.buttonMesh)
18078
18086
  return this.buttonMesh;
@@ -18092,7 +18100,7 @@ class Tm extends Sm {
18092
18100
  });
18093
18101
  }
18094
18102
  getImageTexture(e) {
18095
- return _(this, null, function* () {
18103
+ return G(this, null, function* () {
18096
18104
  var s, o;
18097
18105
  if ((s = this.ImageTextureMap) != null && s.has(e))
18098
18106
  return this.ImageTextureMap.get(e);
@@ -18323,6 +18331,8 @@ class eC extends Xw {
18323
18331
  constructor(e) {
18324
18332
  super(e);
18325
18333
  d(this, "tags", []);
18334
+ d(this, "renderWidthPx");
18335
+ d(this, "renderHeightPx");
18326
18336
  d(this, "config", Yw);
18327
18337
  /** 插件参数 */
18328
18338
  d(this, "params");
@@ -18589,8 +18599,8 @@ class eC extends Xw {
18589
18599
  }
18590
18600
  const o = {}, r = {}, a = {};
18591
18601
  this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([P, I]) => {
18592
- var F, G;
18593
- const k = P, E = k.split("-"), z = P.startsWith("["), R = z ? E[0].slice(1, -1) : void 0, U = z ? E.slice(1) : E, W = R ? ["PanoramaLike", "ModelLike"].includes(R) ? (F = r[R]) != null ? F : r[R] = {} : (G = a[R]) != null ? G : a[R] = {} : o;
18602
+ var F, _;
18603
+ const k = P, E = k.split("-"), z = P.startsWith("["), R = z ? E[0].slice(1, -1) : void 0, U = z ? E.slice(1) : E, W = R ? ["PanoramaLike", "ModelLike"].includes(R) ? (F = r[R]) != null ? F : r[R] = {} : (_ = a[R]) != null ? _ : a[R] = {} : o;
18594
18604
  if (!W[k]) {
18595
18605
  if (U.length === 0 && (W[k] = I), U.length === 1) {
18596
18606
  const [N] = U;
@@ -21652,8 +21662,8 @@ var Ro = jI, cr = {}, zI = {
21652
21662
  }
21653
21663
  };
21654
21664
  (function(n, t) {
21655
- var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", m = "[object Number]", A = "[object Object]", p = "[object Promise]", g = "[object RegExp]", v = "[object Set]", y = "[object String]", P = "[object Symbol]", I = "[object WeakMap]", k = "[object ArrayBuffer]", E = "[object DataView]", z = "[object Float32Array]", R = "[object Float64Array]", U = "[object Int8Array]", W = "[object Int16Array]", F = "[object Int32Array]", G = "[object Uint8Array]", N = "[object Uint8ClampedArray]", Q = "[object Uint16Array]", H = "[object Uint32Array]", Y = /[\\^$.*+?()[\]{}|]/g, Z = /\w*$/, J = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/, se = {};
21656
- se[o] = se[r] = se[k] = se[E] = se[a] = se[l] = se[z] = se[R] = se[U] = se[W] = se[F] = se[f] = se[m] = se[A] = se[g] = se[v] = se[y] = se[P] = se[G] = se[N] = se[Q] = se[H] = !0, se[c] = se[h] = se[I] = !1;
21665
+ var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", h = "[object Function]", u = "[object GeneratorFunction]", f = "[object Map]", m = "[object Number]", A = "[object Object]", p = "[object Promise]", g = "[object RegExp]", v = "[object Set]", y = "[object String]", P = "[object Symbol]", I = "[object WeakMap]", k = "[object ArrayBuffer]", E = "[object DataView]", z = "[object Float32Array]", R = "[object Float64Array]", U = "[object Int8Array]", W = "[object Int16Array]", F = "[object Int32Array]", _ = "[object Uint8Array]", N = "[object Uint8ClampedArray]", Q = "[object Uint16Array]", H = "[object Uint32Array]", Y = /[\\^$.*+?()[\]{}|]/g, Z = /\w*$/, J = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/, se = {};
21666
+ se[o] = se[r] = se[k] = se[E] = se[a] = se[l] = se[z] = se[R] = se[U] = se[W] = se[F] = se[f] = se[m] = se[A] = se[g] = se[v] = se[y] = se[P] = se[_] = se[N] = se[Q] = se[H] = !0, se[c] = se[h] = se[I] = !1;
21657
21667
  var Pe = typeof Rt == "object" && Rt && Rt.Object === Object && Rt, Ae = typeof self == "object" && self && self.Object === Object && self, ge = Pe || Ae || Function("return this")(), Ve = t && !t.nodeType && t, ye = Ve && !0 && n && !n.nodeType && n, Qe = ye && ye.exports === Ve;
21658
21668
  function K(b, M) {
21659
21669
  return b.set(M[0], M[1]), b;
@@ -21711,12 +21721,12 @@ var Ro = jI, cr = {}, zI = {
21711
21721
  V[++M] = X;
21712
21722
  }), V;
21713
21723
  }
21714
- var Ge = Array.prototype, rt = Function.prototype, Je = Object.prototype, tt = ge["__core-js_shared__"], Se = function() {
21724
+ var Ge = Array.prototype, rt = Function.prototype, Ze = Object.prototype, tt = ge["__core-js_shared__"], Se = function() {
21715
21725
  var b = /[^.]+$/.exec(tt && tt.keys && tt.keys.IE_PROTO || "");
21716
21726
  return b ? "Symbol(src)_1." + b : "";
21717
- }(), Ie = rt.toString, Xe = Je.hasOwnProperty, ht = Je.toString, ls = RegExp(
21727
+ }(), Ie = rt.toString, Xe = Ze.hasOwnProperty, ht = Ze.toString, ls = RegExp(
21718
21728
  "^" + Ie.call(Xe).replace(Y, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
21719
- ), qt = Qe ? ge.Buffer : void 0, bi = ge.Symbol, Vi = ge.Uint8Array, Dt = Ce(Object.getPrototypeOf, Object), cn = Object.create, hn = Je.propertyIsEnumerable, Lr = Ge.splice, cs = Object.getOwnPropertySymbols, dn = qt ? qt.isBuffer : void 0, so = Ce(Object.keys, Object), un = Ft(ge, "DataView"), Hi = Ft(ge, "Map"), Nt = Ft(ge, "Promise"), fn = Ft(ge, "Set"), hs = Ft(ge, "WeakMap"), Ni = Ft(Object, "create"), ds = Mt(un), Fi = Mt(Hi), us = Mt(Nt), fs = Mt(fn), ms = Mt(hs), yi = bi ? bi.prototype : void 0, oo = yi ? yi.valueOf : void 0;
21729
+ ), qt = Qe ? ge.Buffer : void 0, bi = ge.Symbol, Vi = ge.Uint8Array, xt = Ce(Object.getPrototypeOf, Object), cn = Object.create, hn = Ze.propertyIsEnumerable, Lr = Ge.splice, cs = Object.getOwnPropertySymbols, dn = qt ? qt.isBuffer : void 0, so = Ce(Object.keys, Object), un = Ft(ge, "DataView"), Hi = Ft(ge, "Map"), Nt = Ft(ge, "Promise"), fn = Ft(ge, "Set"), hs = Ft(ge, "WeakMap"), Ni = Ft(Object, "create"), ds = Et(un), Fi = Et(Hi), us = Et(Nt), fs = Et(fn), ms = Et(hs), yi = bi ? bi.prototype : void 0, oo = yi ? yi.valueOf : void 0;
21720
21730
  function li(b) {
21721
21731
  var M = -1, V = b ? b.length : 0;
21722
21732
  for (this.clear(); ++M < V; ) {
@@ -21803,7 +21813,7 @@ var Ro = jI, cr = {}, zI = {
21803
21813
  return _i(this, b).set(b, M), this;
21804
21814
  }
21805
21815
  vt.prototype.clear = Fr, vt.prototype.delete = Gr, vt.prototype.get = _r, vt.prototype.has = Qr, vt.prototype.set = Wr;
21806
- function St(b) {
21816
+ function Dt(b) {
21807
21817
  this.__data__ = new dt(b);
21808
21818
  }
21809
21819
  function Ur() {
@@ -21828,7 +21838,7 @@ var Ro = jI, cr = {}, zI = {
21828
21838
  }
21829
21839
  return V.set(b, M), this;
21830
21840
  }
21831
- St.prototype.clear = Ur, St.prototype.delete = Yr, St.prototype.get = Xr, St.prototype.has = Zr, St.prototype.set = Jr;
21841
+ Dt.prototype.clear = Ur, Dt.prototype.delete = Yr, Dt.prototype.get = Xr, Dt.prototype.has = Zr, Dt.prototype.set = Jr;
21832
21842
  function mn(b, M) {
21833
21843
  var V = bs(b) || An(b) ? je(b.length, String) : [], X = V.length, Me = !!X;
21834
21844
  for (var be in b)
@@ -21873,10 +21883,10 @@ var Ro = jI, cr = {}, zI = {
21873
21883
  Be = ca(b, He, ps, M);
21874
21884
  }
21875
21885
  }
21876
- ze || (ze = new St());
21877
- var Tt = ze.get(b);
21878
- if (Tt)
21879
- return Tt;
21886
+ ze || (ze = new Dt());
21887
+ var St = ze.get(b);
21888
+ if (St)
21889
+ return St;
21880
21890
  if (ze.set(b, Be), !it)
21881
21891
  var at = V ? aa(b) : ws(b);
21882
21892
  return Le(at || b, function(yt, ut) {
@@ -21897,7 +21907,7 @@ var Ro = jI, cr = {}, zI = {
21897
21907
  if (!ei(b) || ua(b))
21898
21908
  return !1;
21899
21909
  var M = ys(b) || $e(b) ? ls : J;
21900
- return M.test(Mt(b));
21910
+ return M.test(Et(b));
21901
21911
  }
21902
21912
  function ta(b) {
21903
21913
  if (!ho(b))
@@ -21970,7 +21980,7 @@ var Ro = jI, cr = {}, zI = {
21970
21980
  }
21971
21981
  var ci = cs ? Ce(cs, Object) : ma, hi = $r;
21972
21982
  (un && hi(new un(new ArrayBuffer(1))) != E || Hi && hi(new Hi()) != f || Nt && hi(Nt.resolve()) != p || fn && hi(new fn()) != v || hs && hi(new hs()) != I) && (hi = function(b) {
21973
- var M = ht.call(b), V = M == A ? b.constructor : void 0, X = V ? Mt(V) : void 0;
21983
+ var M = ht.call(b), V = M == A ? b.constructor : void 0, X = V ? Et(V) : void 0;
21974
21984
  if (X)
21975
21985
  switch (X) {
21976
21986
  case ds:
@@ -21991,7 +22001,7 @@ var Ro = jI, cr = {}, zI = {
21991
22001
  return M && typeof b[0] == "string" && Xe.call(b, "index") && (V.index = b.index, V.input = b.input), V;
21992
22002
  }
21993
22003
  function $t(b) {
21994
- return typeof b.constructor == "function" && !ho(b) ? qr(Dt(b)) : {};
22004
+ return typeof b.constructor == "function" && !ho(b) ? qr(xt(b)) : {};
21995
22005
  }
21996
22006
  function ca(b, M, V, X) {
21997
22007
  var Me = b.constructor;
@@ -22008,7 +22018,7 @@ var Ro = jI, cr = {}, zI = {
22008
22018
  case U:
22009
22019
  case W:
22010
22020
  case F:
22011
- case G:
22021
+ case _:
22012
22022
  case N:
22013
22023
  case Q:
22014
22024
  case H:
@@ -22037,10 +22047,10 @@ var Ro = jI, cr = {}, zI = {
22037
22047
  return !!Se && Se in b;
22038
22048
  }
22039
22049
  function ho(b) {
22040
- var M = b && b.constructor, V = typeof M == "function" && M.prototype || Je;
22050
+ var M = b && b.constructor, V = typeof M == "function" && M.prototype || Ze;
22041
22051
  return b === V;
22042
22052
  }
22043
- function Mt(b) {
22053
+ function Et(b) {
22044
22054
  if (b != null) {
22045
22055
  try {
22046
22056
  return Ie.call(b);
@@ -22105,8 +22115,8 @@ var hr = {}, BI = {
22105
22115
  }
22106
22116
  };
22107
22117
  (function(n, t) {
22108
- 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]", m = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", g = "[object Number]", v = "[object Null]", y = "[object Object]", P = "[object Promise]", I = "[object Proxy]", k = "[object RegExp]", E = "[object Set]", z = "[object String]", R = "[object Symbol]", U = "[object Undefined]", W = "[object WeakMap]", F = "[object ArrayBuffer]", G = "[object DataView]", N = "[object Float32Array]", Q = "[object Float64Array]", H = "[object Int8Array]", Y = "[object Int16Array]", Z = "[object Int32Array]", J = "[object Uint8Array]", oe = "[object Uint8ClampedArray]", se = "[object Uint16Array]", Pe = "[object Uint32Array]", Ae = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, Ve = /^(?:0|[1-9]\d*)$/, ye = {};
22109
- ye[N] = ye[Q] = ye[H] = ye[Y] = ye[Z] = ye[J] = ye[oe] = ye[se] = ye[Pe] = !0, ye[a] = ye[l] = ye[F] = ye[h] = ye[G] = ye[u] = ye[f] = ye[m] = ye[p] = ye[g] = ye[y] = ye[k] = ye[E] = ye[z] = ye[W] = !1;
22118
+ 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]", m = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", g = "[object Number]", v = "[object Null]", y = "[object Object]", P = "[object Promise]", I = "[object Proxy]", k = "[object RegExp]", E = "[object Set]", z = "[object String]", R = "[object Symbol]", U = "[object Undefined]", W = "[object WeakMap]", F = "[object ArrayBuffer]", _ = "[object DataView]", N = "[object Float32Array]", Q = "[object Float64Array]", H = "[object Int8Array]", Y = "[object Int16Array]", Z = "[object Int32Array]", J = "[object Uint8Array]", oe = "[object Uint8ClampedArray]", se = "[object Uint16Array]", Pe = "[object Uint32Array]", Ae = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, Ve = /^(?:0|[1-9]\d*)$/, ye = {};
22119
+ ye[N] = ye[Q] = ye[H] = ye[Y] = ye[Z] = ye[J] = ye[oe] = ye[se] = ye[Pe] = !0, ye[a] = ye[l] = ye[F] = ye[h] = ye[_] = ye[u] = ye[f] = ye[m] = ye[p] = ye[g] = ye[y] = ye[k] = ye[E] = ye[z] = ye[W] = !1;
22110
22120
  var Qe = typeof Rt == "object" && Rt && Rt.Object === Object && Rt, K = typeof self == "object" && self && self.Object === Object && self, ve = Qe || K || Function("return this")(), Le = t && !t.nodeType && t, pe = Le && !0 && n && !n.nodeType && n, Ye = pe && pe.exports === Le, je = Ye && Qe.process, ke = function() {
22111
22121
  try {
22112
22122
  return je && je.binding && je.binding("util");
@@ -22141,7 +22151,7 @@ var hr = {}, BI = {
22141
22151
  return b(M);
22142
22152
  };
22143
22153
  }
22144
- function Je(b, M) {
22154
+ function Ze(b, M) {
22145
22155
  return b.has(M);
22146
22156
  }
22147
22157
  function tt(b, M) {
@@ -22164,12 +22174,12 @@ var hr = {}, BI = {
22164
22174
  V[++M] = X;
22165
22175
  }), V;
22166
22176
  }
22167
- var ht = Array.prototype, ls = Function.prototype, qt = Object.prototype, bi = ve["__core-js_shared__"], Vi = ls.toString, Dt = qt.hasOwnProperty, cn = function() {
22177
+ var ht = Array.prototype, ls = Function.prototype, qt = Object.prototype, bi = ve["__core-js_shared__"], Vi = ls.toString, xt = qt.hasOwnProperty, cn = function() {
22168
22178
  var b = /[^.]+$/.exec(bi && bi.keys && bi.keys.IE_PROTO || "");
22169
22179
  return b ? "Symbol(src)_1." + b : "";
22170
22180
  }(), hn = qt.toString, Lr = RegExp(
22171
- "^" + Vi.call(Dt).replace(Ae, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
22172
- ), cs = Ye ? ve.Buffer : void 0, dn = ve.Symbol, so = ve.Uint8Array, un = qt.propertyIsEnumerable, Hi = ht.splice, Nt = dn ? dn.toStringTag : void 0, fn = Object.getOwnPropertySymbols, hs = cs ? cs.isBuffer : void 0, Ni = Ie(Object.keys, Object), ds = ci(ve, "DataView"), Fi = ci(ve, "Map"), us = ci(ve, "Promise"), fs = ci(ve, "Set"), ms = ci(ve, "WeakMap"), yi = ci(Object, "create"), oo = Mt(ds), li = Mt(Fi), jr = Mt(us), zr = Mt(fs), Or = Mt(ms), ro = dn ? dn.prototype : void 0, gs = ro ? ro.valueOf : void 0;
22181
+ "^" + Vi.call(xt).replace(Ae, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
22182
+ ), cs = Ye ? ve.Buffer : void 0, dn = ve.Symbol, so = ve.Uint8Array, un = qt.propertyIsEnumerable, Hi = ht.splice, Nt = dn ? dn.toStringTag : void 0, fn = Object.getOwnPropertySymbols, hs = cs ? cs.isBuffer : void 0, Ni = Ie(Object.keys, Object), ds = ci(ve, "DataView"), Fi = ci(ve, "Map"), us = ci(ve, "Promise"), fs = ci(ve, "Set"), ms = ci(ve, "WeakMap"), yi = ci(Object, "create"), oo = Et(ds), li = Et(Fi), jr = Et(us), zr = Et(fs), Or = Et(ms), ro = dn ? dn.prototype : void 0, gs = ro ? ro.valueOf : void 0;
22173
22183
  function dt(b) {
22174
22184
  var M = -1, V = b == null ? 0 : b.length;
22175
22185
  for (this.clear(); ++M < V; ) {
@@ -22190,11 +22200,11 @@ var hr = {}, BI = {
22190
22200
  var V = M[b];
22191
22201
  return V === i ? void 0 : V;
22192
22202
  }
22193
- return Dt.call(M, b) ? M[b] : void 0;
22203
+ return xt.call(M, b) ? M[b] : void 0;
22194
22204
  }
22195
22205
  function Hr(b) {
22196
22206
  var M = this.__data__;
22197
- return yi ? M[b] !== void 0 : Dt.call(M, b);
22207
+ return yi ? M[b] !== void 0 : xt.call(M, b);
22198
22208
  }
22199
22209
  function Nr(b, M) {
22200
22210
  var V = this.__data__;
@@ -22230,7 +22240,7 @@ var hr = {}, BI = {
22230
22240
  return X < 0 ? (++this.size, V.push([b, M])) : V[X][1] = M, this;
22231
22241
  }
22232
22242
  vt.prototype.clear = Fr, vt.prototype.delete = Gr, vt.prototype.get = _r, vt.prototype.has = Qr, vt.prototype.set = Wr;
22233
- function St(b) {
22243
+ function Dt(b) {
22234
22244
  var M = -1, V = b == null ? 0 : b.length;
22235
22245
  for (this.clear(); ++M < V; ) {
22236
22246
  var X = b[M];
@@ -22258,10 +22268,10 @@ var hr = {}, BI = {
22258
22268
  var V = Ft(this, b), X = V.size;
22259
22269
  return V.set(b, M), this.size += V.size == X ? 0 : 1, this;
22260
22270
  }
22261
- St.prototype.clear = Ur, St.prototype.delete = Yr, St.prototype.get = Xr, St.prototype.has = Zr, St.prototype.set = Jr;
22271
+ Dt.prototype.clear = Ur, Dt.prototype.delete = Yr, Dt.prototype.get = Xr, Dt.prototype.has = Zr, Dt.prototype.set = Jr;
22262
22272
  function mn(b) {
22263
22273
  var M = -1, V = b == null ? 0 : b.length;
22264
- for (this.__data__ = new St(); ++M < V; )
22274
+ for (this.__data__ = new Dt(); ++M < V; )
22265
22275
  this.add(b[M]);
22266
22276
  }
22267
22277
  function ao(b) {
@@ -22294,7 +22304,7 @@ var hr = {}, BI = {
22294
22304
  var X = V.__data__;
22295
22305
  if (!Fi || X.length < e - 1)
22296
22306
  return X.push([b, M]), this.size = ++V.size, this;
22297
- V = this.__data__ = new St(X);
22307
+ V = this.__data__ = new Dt(X);
22298
22308
  }
22299
22309
  return V.set(b, M), this.size = V.size, this;
22300
22310
  }
@@ -22302,7 +22312,7 @@ var hr = {}, BI = {
22302
22312
  function ta(b, M) {
22303
22313
  var V = An(b), X = !V && fo(b), Me = !V && !X && vn(b), be = !V && !X && !Me && po(b), ze = V || X || Me || be, Be = ze ? Ge(b.length, String) : [], it = Be.length;
22304
22314
  for (var He in b)
22305
- (M || Dt.call(b, He)) && !(ze && // Safari 9 has enumerable `arguments.length` in strict mode.
22315
+ (M || xt.call(b, He)) && !(ze && // Safari 9 has enumerable `arguments.length` in strict mode.
22306
22316
  (He == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
22307
22317
  Me && (He == "offset" || He == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
22308
22318
  be && (He == "buffer" || He == "byteLength" || He == "byteOffset") || // Skip index properties.
@@ -22331,7 +22341,7 @@ var hr = {}, BI = {
22331
22341
  function ia(b, M, V, X, Me, be) {
22332
22342
  var ze = An(b), Be = An(M), it = ze ? l : $t(b), He = Be ? l : $t(M);
22333
22343
  it = it == a ? y : it, He = He == a ? y : He;
22334
- var bt = it == y, Tt = He == y, at = it == He;
22344
+ var bt = it == y, St = He == y, at = it == He;
22335
22345
  if (at && vn(b)) {
22336
22346
  if (!vn(M))
22337
22347
  return !1;
@@ -22340,7 +22350,7 @@ var hr = {}, BI = {
22340
22350
  if (at && !bt)
22341
22351
  return be || (be = new Kt()), ze || po(b) ? vs(b, M, V, X, Me, be) : ra(b, M, it, V, X, Me, be);
22342
22352
  if (!(V & s)) {
22343
- var yt = bt && Dt.call(b, "__wrapped__"), ut = Tt && Dt.call(M, "__wrapped__");
22353
+ var yt = bt && xt.call(b, "__wrapped__"), ut = St && xt.call(M, "__wrapped__");
22344
22354
  if (yt || ut) {
22345
22355
  var wi = yt ? b.value() : b, di = ut ? M.value() : M;
22346
22356
  return be || (be = new Kt()), Me(wi, di, V, X, be);
@@ -22352,7 +22362,7 @@ var hr = {}, BI = {
22352
22362
  if (!go(b) || da(b))
22353
22363
  return !1;
22354
22364
  var M = mo(b) ? Lr : ge;
22355
- return M.test(Mt(b));
22365
+ return M.test(Et(b));
22356
22366
  }
22357
22367
  function sa(b) {
22358
22368
  return ei(b) && ys(b.length) && !!ye[Gi(b)];
@@ -22362,7 +22372,7 @@ var hr = {}, BI = {
22362
22372
  return Ni(b);
22363
22373
  var M = [];
22364
22374
  for (var V in Object(b))
22365
- Dt.call(b, V) && V != "constructor" && M.push(V);
22375
+ xt.call(b, V) && V != "constructor" && M.push(V);
22366
22376
  return M;
22367
22377
  }
22368
22378
  function vs(b, M, V, X, Me, be) {
@@ -22372,7 +22382,7 @@ var hr = {}, BI = {
22372
22382
  var He = be.get(b);
22373
22383
  if (He && be.get(M))
22374
22384
  return He == M;
22375
- var bt = -1, Tt = !0, at = V & o ? new mn() : void 0;
22385
+ var bt = -1, St = !0, at = V & o ? new mn() : void 0;
22376
22386
  for (be.set(b, M), be.set(M, b); ++bt < Be; ) {
22377
22387
  var yt = b[bt], ut = M[bt];
22378
22388
  if (X)
@@ -22380,27 +22390,27 @@ var hr = {}, BI = {
22380
22390
  if (wi !== void 0) {
22381
22391
  if (wi)
22382
22392
  continue;
22383
- Tt = !1;
22393
+ St = !1;
22384
22394
  break;
22385
22395
  }
22386
22396
  if (at) {
22387
22397
  if (!Oe(M, function(di, Qi) {
22388
- if (!Je(at, Qi) && (yt === di || Me(yt, di, V, X, be)))
22398
+ if (!Ze(at, Qi) && (yt === di || Me(yt, di, V, X, be)))
22389
22399
  return at.push(Qi);
22390
22400
  })) {
22391
- Tt = !1;
22401
+ St = !1;
22392
22402
  break;
22393
22403
  }
22394
22404
  } else if (!(yt === ut || Me(yt, ut, V, X, be))) {
22395
- Tt = !1;
22405
+ St = !1;
22396
22406
  break;
22397
22407
  }
22398
22408
  }
22399
- return be.delete(b), be.delete(M), Tt;
22409
+ return be.delete(b), be.delete(M), St;
22400
22410
  }
22401
22411
  function ra(b, M, V, X, Me, be, ze) {
22402
22412
  switch (V) {
22403
- case G:
22413
+ case _:
22404
22414
  if (b.byteLength != M.byteLength || b.byteOffset != M.byteOffset)
22405
22415
  return !1;
22406
22416
  b = b.buffer, M = M.buffer;
@@ -22437,9 +22447,9 @@ var hr = {}, BI = {
22437
22447
  var ze = V & s, Be = _i(b), it = Be.length, He = _i(M), bt = He.length;
22438
22448
  if (it != bt && !ze)
22439
22449
  return !1;
22440
- for (var Tt = it; Tt--; ) {
22441
- var at = Be[Tt];
22442
- if (!(ze ? at in M : Dt.call(M, at)))
22450
+ for (var St = it; St--; ) {
22451
+ var at = Be[St];
22452
+ if (!(ze ? at in M : xt.call(M, at)))
22443
22453
  return !1;
22444
22454
  }
22445
22455
  var yt = be.get(b);
@@ -22447,8 +22457,8 @@ var hr = {}, BI = {
22447
22457
  return yt == M;
22448
22458
  var ut = !0;
22449
22459
  be.set(b, M), be.set(M, b);
22450
- for (var wi = ze; ++Tt < it; ) {
22451
- at = Be[Tt];
22460
+ for (var wi = ze; ++St < it; ) {
22461
+ at = Be[St];
22452
22462
  var di = b[at], Qi = M[at];
22453
22463
  if (X)
22454
22464
  var rc = ze ? X(Qi, di, at, M, b, be) : X(di, Qi, at, b, M, be);
@@ -22476,7 +22486,7 @@ var hr = {}, BI = {
22476
22486
  return na(V) ? V : void 0;
22477
22487
  }
22478
22488
  function hi(b) {
22479
- var M = Dt.call(b, Nt), V = b[Nt];
22489
+ var M = xt.call(b, Nt), V = b[Nt];
22480
22490
  try {
22481
22491
  b[Nt] = void 0;
22482
22492
  var X = !0;
@@ -22490,12 +22500,12 @@ var hr = {}, BI = {
22490
22500
  return un.call(b, M);
22491
22501
  }));
22492
22502
  } : ma, $t = Gi;
22493
- (ds && $t(new ds(new ArrayBuffer(1))) != G || Fi && $t(new Fi()) != p || us && $t(us.resolve()) != P || fs && $t(new fs()) != E || ms && $t(new ms()) != W) && ($t = function(b) {
22494
- var M = Gi(b), V = M == y ? b.constructor : void 0, X = V ? Mt(V) : "";
22503
+ (ds && $t(new ds(new ArrayBuffer(1))) != _ || Fi && $t(new Fi()) != p || us && $t(us.resolve()) != P || fs && $t(new fs()) != E || ms && $t(new ms()) != W) && ($t = function(b) {
22504
+ var M = Gi(b), V = M == y ? b.constructor : void 0, X = V ? Et(V) : "";
22495
22505
  if (X)
22496
22506
  switch (X) {
22497
22507
  case oo:
22498
- return G;
22508
+ return _;
22499
22509
  case li:
22500
22510
  return p;
22501
22511
  case jr:
@@ -22524,7 +22534,7 @@ var hr = {}, BI = {
22524
22534
  function ho(b) {
22525
22535
  return hn.call(b);
22526
22536
  }
22527
- function Mt(b) {
22537
+ function Et(b) {
22528
22538
  if (b != null) {
22529
22539
  try {
22530
22540
  return Vi.call(b);
@@ -22543,7 +22553,7 @@ var hr = {}, BI = {
22543
22553
  var fo = lo(function() {
22544
22554
  return arguments;
22545
22555
  }()) ? lo : function(b) {
22546
- return ei(b) && Dt.call(b, "callee") && !un.call(b, "callee");
22556
+ return ei(b) && xt.call(b, "callee") && !un.call(b, "callee");
22547
22557
  }, An = Array.isArray;
22548
22558
  function bs(b) {
22549
22559
  return b != null && ys(b.length) && !mo(b);
@@ -22716,7 +22726,7 @@ class XI {
22716
22726
  this.reset();
22717
22727
  const i = Math.min(YI, Math.max(this._autoplayDuration, 1));
22718
22728
  let s = -i;
22719
- this._interval = UI(() => _(this, null, function* () {
22729
+ this._interval = UI(() => G(this, null, function* () {
22720
22730
  if (this._paused)
22721
22731
  return;
22722
22732
  s += i;
@@ -22879,17 +22889,17 @@ function ZI(n) {
22879
22889
  r.focused = !r.focused;
22880
22890
  },
22881
22891
  _applyAutoplayIfNeeded(l) {
22882
- return _(this, arguments, function* ({ data: r, methods: a }) {
22892
+ return G(this, arguments, function* ({ data: r, methods: a }) {
22883
22893
  if (!r.infinite && (r.autoplayDirection === Ti && r.currentParticleIndex === r.particlesCount - 1 || r.autoplayDirection === Yn && r.currentParticleIndex === 0)) {
22884
22894
  t.reset();
22885
22895
  return;
22886
22896
  }
22887
22897
  if (r.autoplay) {
22888
22898
  const c = () => ll({
22889
- [Ti]: () => _(this, null, function* () {
22899
+ [Ti]: () => G(this, null, function* () {
22890
22900
  return a.showNextPage();
22891
22901
  }),
22892
- [Yn]: () => _(this, null, function* () {
22902
+ [Yn]: () => G(this, null, function* () {
22893
22903
  return a.showPrevPage();
22894
22904
  })
22895
22905
  })(r.autoplayDirection);
@@ -22899,7 +22909,7 @@ function ZI(n) {
22899
22909
  },
22900
22910
  // makes delayed jump to 1st or last element
22901
22911
  _jumpIfNeeded(l) {
22902
- return _(this, arguments, function* ({ data: r, methods: a }) {
22912
+ return G(this, arguments, function* ({ data: r, methods: a }) {
22903
22913
  let c = !1;
22904
22914
  return r.infinite && (r.currentParticleIndex === 0 ? (yield a.showParticle(
22905
22915
  r.particlesCount - r.clonesCountTotal,
@@ -22912,24 +22922,24 @@ function ZI(n) {
22912
22922
  });
22913
22923
  },
22914
22924
  changePage(h, u, f) {
22915
- return _(this, arguments, function* ({ data: r, methods: a }, l, c) {
22925
+ return G(this, arguments, function* ({ data: r, methods: a }, l, c) {
22916
22926
  if (t.reset(), r.disabled)
22917
22927
  return;
22918
22928
  r.disabled = !0, l(), yield a.offsetPage({ animated: Hs(c, "animated", !0) }), r.disabled = !1, !(yield a._jumpIfNeeded()) && a._applyAutoplayIfNeeded();
22919
22929
  });
22920
22930
  },
22921
22931
  showNextPage(c, h) {
22922
- return _(this, arguments, function* ({ data: r, methods: a }, l) {
22932
+ return G(this, arguments, function* ({ data: r, methods: a }, l) {
22923
22933
  r.disabled || (yield a.changePage(a._next, l));
22924
22934
  });
22925
22935
  },
22926
22936
  showPrevPage(c, h) {
22927
- return _(this, arguments, function* ({ data: r, methods: a }, l) {
22937
+ return G(this, arguments, function* ({ data: r, methods: a }, l) {
22928
22938
  r.disabled || (yield a.changePage(a._prev, l));
22929
22939
  });
22930
22940
  },
22931
22941
  showParticle(c, h, u) {
22932
- return _(this, arguments, function* ({ methods: r }, a, l) {
22942
+ return G(this, arguments, function* ({ methods: r }, a, l) {
22933
22943
  yield r.changePage(
22934
22944
  () => r._moveToParticle(a),
22935
22945
  l
@@ -22948,7 +22958,7 @@ function ZI(n) {
22948
22958
  });
22949
22959
  },
22950
22960
  showPage(c, h, u) {
22951
- return _(this, arguments, function* ({ methods: r }, a, l) {
22961
+ return G(this, arguments, function* ({ methods: r }, a, l) {
22952
22962
  const f = r._getParticleIndexByPageIndex(a);
22953
22963
  yield r.showParticle(f, l);
22954
22964
  });
@@ -23533,9 +23543,9 @@ function oE(n, t, e) {
23533
23543
  loaded: () => e(6, o = Ce)
23534
23544
  })(ae);
23535
23545
  }), p = Cr();
23536
- let { timingFunction: g = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: I = 500 } = t, { autoplay: k = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: z = Ti } = t, { pauseOnFocus: R = !1 } = t, { autoplayProgressVisible: U = !1 } = t, { dots: W = !0 } = t, { swiping: F = !0 } = t, { particlesToShow: G = 1 } = t, { particlesToScroll: N = 1 } = t;
23546
+ let { timingFunction: g = "ease-in-out" } = t, { arrows: v = !0 } = t, { infinite: y = !0 } = t, { initialPageIndex: P = 0 } = t, { duration: I = 500 } = t, { autoplay: k = !1 } = t, { autoplayDuration: E = 3e3 } = t, { autoplayDirection: z = Ti } = t, { pauseOnFocus: R = !1 } = t, { autoplayProgressVisible: U = !1 } = t, { dots: W = !0 } = t, { swiping: F = !0 } = t, { particlesToShow: _ = 1 } = t, { particlesToScroll: N = 1 } = t;
23537
23547
  function Q(ae, Ce) {
23538
- return _(this, null, function* () {
23548
+ return G(this, null, function* () {
23539
23549
  const Oe = Hs(Ce, "animated", !0);
23540
23550
  if (typeof ae != "number")
23541
23551
  throw new Error("pageIndex should be a number");
@@ -23543,13 +23553,13 @@ function oE(n, t, e) {
23543
23553
  });
23544
23554
  }
23545
23555
  function H(ae) {
23546
- return _(this, null, function* () {
23556
+ return G(this, null, function* () {
23547
23557
  const Ce = Hs(ae, "animated", !0);
23548
23558
  yield m.showPrevPage({ animated: Ce });
23549
23559
  });
23550
23560
  }
23551
23561
  function Y(ae) {
23552
- return _(this, null, function* () {
23562
+ return G(this, null, function* () {
23553
23563
  const Ce = Hs(ae, "animated", !0);
23554
23564
  yield m.showNextPage({ animated: Ce });
23555
23565
  });
@@ -23573,15 +23583,15 @@ function oE(n, t, e) {
23573
23583
  clonesToPrepend: Ce
23574
23584
  });
23575
23585
  }
23576
- xt(() => {
23577
- _(this, null, function* () {
23586
+ kt(() => {
23587
+ G(this, null, function* () {
23578
23588
  yield Cc(), oe && J && (u.particlesCountWithoutClones = oe.children.length, yield Cc(), u.infinite && Pe(), u.particlesCount = oe.children.length, m.showPage(P, { animated: !1 }), se.observe(J));
23579
23589
  });
23580
23590
  }), Ht(() => {
23581
23591
  se.disconnect(), f.reset();
23582
23592
  });
23583
23593
  function Ae(ae) {
23584
- return _(this, null, function* () {
23594
+ return G(this, null, function* () {
23585
23595
  yield m.showPage(ae, { animated: !0 });
23586
23596
  });
23587
23597
  }
@@ -23589,7 +23599,7 @@ function oE(n, t, e) {
23589
23599
  F && (u.durationMs = 0);
23590
23600
  }
23591
23601
  function Ve(ae) {
23592
- return _(this, null, function* () {
23602
+ return G(this, null, function* () {
23593
23603
  F && (yield ll({
23594
23604
  [Ti]: m.showNextPage,
23595
23605
  [Yn]: m.showPrevPage
@@ -23603,7 +23613,7 @@ function oE(n, t, e) {
23603
23613
  F && m.showParticle(u.currentParticleIndex);
23604
23614
  }
23605
23615
  function K() {
23606
- return _(this, null, function* () {
23616
+ return G(this, null, function* () {
23607
23617
  F && (yield m.offsetPage({ animated: !0 }));
23608
23618
  });
23609
23619
  }
@@ -23629,7 +23639,7 @@ function oE(n, t, e) {
23629
23639
  }
23630
23640
  const $e = (ae) => Ae(ae.detail);
23631
23641
  return n.$$set = (ae) => {
23632
- "timingFunction" in ae && e(0, g = ae.timingFunction), "arrows" in ae && e(1, v = ae.arrows), "infinite" in ae && e(2, y = ae.infinite), "initialPageIndex" in ae && e(24, P = ae.initialPageIndex), "duration" in ae && e(25, I = ae.duration), "autoplay" in ae && e(26, k = ae.autoplay), "autoplayDuration" in ae && e(27, E = ae.autoplayDuration), "autoplayDirection" in ae && e(28, z = ae.autoplayDirection), "pauseOnFocus" in ae && e(29, R = ae.pauseOnFocus), "autoplayProgressVisible" in ae && e(3, U = ae.autoplayProgressVisible), "dots" in ae && e(4, W = ae.dots), "swiping" in ae && e(30, F = ae.swiping), "particlesToShow" in ae && e(31, G = ae.particlesToShow), "particlesToScroll" in ae && e(32, N = ae.particlesToScroll), "$$scope" in ae && e(36, s = ae.$$scope);
23642
+ "timingFunction" in ae && e(0, g = ae.timingFunction), "arrows" in ae && e(1, v = ae.arrows), "infinite" in ae && e(2, y = ae.infinite), "initialPageIndex" in ae && e(24, P = ae.initialPageIndex), "duration" in ae && e(25, I = ae.duration), "autoplay" in ae && e(26, k = ae.autoplay), "autoplayDuration" in ae && e(27, E = ae.autoplayDuration), "autoplayDirection" in ae && e(28, z = ae.autoplayDirection), "pauseOnFocus" in ae && e(29, R = ae.pauseOnFocus), "autoplayProgressVisible" in ae && e(3, U = ae.autoplayProgressVisible), "dots" in ae && e(4, W = ae.dots), "swiping" in ae && e(30, F = ae.swiping), "particlesToShow" in ae && e(31, _ = ae.particlesToShow), "particlesToScroll" in ae && e(32, N = ae.particlesToScroll), "$$scope" in ae && e(36, s = ae.$$scope);
23633
23643
  }, n.$$.update = () => {
23634
23644
  n.$$.dirty[0] & /*currentPageIndex*/
23635
23645
  32 && p("pageChange", r), n.$$.dirty[0] & /*infinite*/
@@ -23639,7 +23649,7 @@ function oE(n, t, e) {
23639
23649
  134217728 && (u.autoplayDuration = E), n.$$.dirty[0] & /*autoplayDirection*/
23640
23650
  268435456 && (u.autoplayDirection = z), n.$$.dirty[0] & /*pauseOnFocus*/
23641
23651
  536870912 && (u.pauseOnFocus = R), n.$$.dirty[1] & /*particlesToShow*/
23642
- 1 && (u.particlesToShowInit = G), n.$$.dirty[1] & /*particlesToScroll*/
23652
+ 1 && (u.particlesToShowInit = _), n.$$.dirty[1] & /*particlesToScroll*/
23643
23653
  2 && (u.particlesToScrollInit = N);
23644
23654
  }, [
23645
23655
  g,
@@ -23673,7 +23683,7 @@ function oE(n, t, e) {
23673
23683
  z,
23674
23684
  R,
23675
23685
  F,
23676
- G,
23686
+ _,
23677
23687
  N,
23678
23688
  Q,
23679
23689
  H,
@@ -24030,52 +24040,52 @@ function fE(n, t, e) {
24030
24040
  const v = ki("mediaStore"), y = ki("hooks"), P = () => {
24031
24041
  p || i && (e(10, i.muted = !0, i), i.play(), i.pause(), e(10, i.muted = !1, i), e(9, p = !0));
24032
24042
  };
24033
- y.on("loadVideoFirstFrame", P), xt(() => {
24034
- v.subscribe(({ currentMediaElement: G }) => {
24035
- G !== i && (i == null || i.pause());
24043
+ y.on("loadVideoFirstFrame", P), kt(() => {
24044
+ v.subscribe(({ currentMediaElement: _ }) => {
24045
+ _ !== i && (i == null || i.pause());
24036
24046
  });
24037
24047
  });
24038
- const I = (G) => {
24048
+ const I = (_) => {
24039
24049
  e(11, A = !1), e(0, o.paused = !1, o), e(9, p = !0), i && v.set({ currentMediaElement: i }), y.emit("playStateChange", {
24040
- event: G,
24050
+ event: _,
24041
24051
  state: "playing",
24042
24052
  tag: r,
24043
24053
  mediaInstance: i
24044
24054
  });
24045
- }, k = (G) => {
24055
+ }, k = (_) => {
24046
24056
  e(11, A = !0), e(0, o.paused = !0, o), y.emit("playStateChange", {
24047
- event: G,
24057
+ event: _,
24048
24058
  state: "paused",
24049
24059
  tag: r,
24050
24060
  mediaInstance: i
24051
24061
  });
24052
- }, E = (G) => {
24062
+ }, E = (_) => {
24053
24063
  e(11, A = !0), e(0, o.paused = !0, o), y.emit("playStateChange", {
24054
- event: G,
24064
+ event: _,
24055
24065
  state: "paused",
24056
24066
  tag: r,
24057
24067
  mediaInstance: i
24058
24068
  });
24059
- }, z = (G) => {
24069
+ }, z = (_) => {
24060
24070
  e(11, A = !0), e(0, o.paused = !0, o), y.emit("playStateChange", {
24061
- event: G,
24071
+ event: _,
24062
24072
  state: "paused",
24063
24073
  tag: r,
24064
24074
  mediaInstance: i
24065
24075
  });
24066
- }, R = (G) => {
24076
+ }, R = (_) => {
24067
24077
  i && i.pause();
24068
24078
  };
24069
- function U(G) {
24070
- We[G ? "unshift" : "push"](() => {
24071
- o.videoInstance = G, e(0, o);
24079
+ function U(_) {
24080
+ We[_ ? "unshift" : "push"](() => {
24081
+ o.videoInstance = _, e(0, o);
24072
24082
  });
24073
24083
  }
24074
- const W = () => l === "withText" ? Fl : l === "withoutText" ? ol : l, F = (G) => {
24084
+ const W = () => l === "withText" ? Fl : l === "withoutText" ? ol : l, F = (_) => {
24075
24085
  h && i && (e(10, i.muted = !1, i), i.play());
24076
24086
  };
24077
- return n.$$set = (G) => {
24078
- "mediaInstance" in G && e(0, o = G.mediaInstance), "tag" in G && e(1, r = G.tag), "media" in G && e(2, a = G.media), "playButtonIfNeed" in G && e(3, l = G.playButtonIfNeed), "playButtonSizeIfNeed" in G && e(4, c = G.playButtonSizeIfNeed), "canPlay" in G && e(5, h = G.canPlay), "autoplayVideo" in G && e(6, u = G.autoplayVideo), "objectFit" in G && e(7, f = G.objectFit), "disableVideoIfHavePoster" in G && e(8, m = G.disableVideoIfHavePoster);
24087
+ return n.$$set = (_) => {
24088
+ "mediaInstance" in _ && e(0, o = _.mediaInstance), "tag" in _ && e(1, r = _.tag), "media" in _ && e(2, a = _.media), "playButtonIfNeed" in _ && e(3, l = _.playButtonIfNeed), "playButtonSizeIfNeed" in _ && e(4, c = _.playButtonSizeIfNeed), "canPlay" in _ && e(5, h = _.canPlay), "autoplayVideo" in _ && e(6, u = _.autoplayVideo), "objectFit" in _ && e(7, f = _.objectFit), "disableVideoIfHavePoster" in _ && e(8, m = _.disableVideoIfHavePoster);
24079
24089
  }, n.$$.update = () => {
24080
24090
  if (n.$$.dirty & /*mediaInstance*/
24081
24091
  1 && e(10, i = o.videoInstance), n.$$.dirty & /*media*/
@@ -24083,7 +24093,7 @@ function fE(n, t, e) {
24083
24093
  16384 && s && g(), n.$$.dirty & /*videoInstance*/
24084
24094
  1024 && i && e(11, A = i.paused), n.$$.dirty & /*media, videoPosterLoaded, videoInstance*/
24085
24095
  1540 && (a == null ? void 0 : a.type) === "Video" && !p) {
24086
- const G = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, Q = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && G;
24096
+ const _ = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, Q = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && _;
24087
24097
  i && Q && 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));
24088
24098
  }
24089
24099
  }, [
@@ -24269,7 +24279,7 @@ function gE(n) {
24269
24279
  },
24270
24280
  p(a, l) {
24271
24281
  const c = l[0] & /*mediaData, autoplayVideo, mediaItemConfig, tag*/
24272
- 16515 ? Et(s, [
24282
+ 16515 ? It(s, [
24273
24283
  l[0] & /*mediaData*/
24274
24284
  2 && { media: (
24275
24285
  /*mediaData*/
@@ -24385,7 +24395,7 @@ function Ud(n) {
24385
24395
  p(a, l) {
24386
24396
  n = a;
24387
24397
  const c = l[0] & /*mediaItemConfig, mediaDataList, tag*/
24388
- 1153 ? Et(s, [
24398
+ 1153 ? It(s, [
24389
24399
  l[0] & /*mediaItemConfig*/
24390
24400
  128 && Bf(
24391
24401
  /*mediaItemConfig*/
@@ -24514,7 +24524,7 @@ function bE(n, t, e) {
24514
24524
  const H = I[k], Y = H == null ? void 0 : H.videoInstance;
24515
24525
  Y && (Y.paused ? (Y.muted = !1, Y.play()) : Y.pause());
24516
24526
  }
24517
- xt(() => {
24527
+ kt(() => {
24518
24528
  R.on("click", (H) => {
24519
24529
  var Y, Z, J;
24520
24530
  (J = (Z = (Y = a.tag3DContentSvelte) == null ? void 0 : Y.css3DInstance) == null ? void 0 : Z.css3DObject) != null && J.opacityMesh && H.tag.id === a.id && W();
@@ -24530,7 +24540,7 @@ function bE(n, t, e) {
24530
24540
  function F(H, Y) {
24531
24541
  n.$$.not_equal(I[Y], H) && (I[Y] = H, e(8, I));
24532
24542
  }
24533
- function G(H) {
24543
+ function _(H) {
24534
24544
  We[H ? "unshift" : "push"](() => {
24535
24545
  E = H, e(12, E);
24536
24546
  });
@@ -24569,7 +24579,7 @@ function bE(n, t, e) {
24569
24579
  p,
24570
24580
  g,
24571
24581
  F,
24572
- G,
24582
+ _,
24573
24583
  N,
24574
24584
  Q
24575
24585
  ];
@@ -25099,7 +25109,7 @@ function EE(n) {
25099
25109
  "transition-delay",
25100
25110
  /*unfolded*/
25101
25111
  n[4] ? Vo + Ho + "ms" : "0ms"
25102
- ), C(t, "class", p = Ze(`marketing ${/*theme*/
25112
+ ), C(t, "class", p = Ke(`marketing ${/*theme*/
25103
25113
  n[6]}`) + " svelte-sezqcq"), ee(
25104
25114
  t,
25105
25115
  "unfolded",
@@ -25140,7 +25150,7 @@ function EE(n) {
25140
25150
  /*unfolded*/
25141
25151
  E[4] ? Vo + Ho + "ms" : "0ms"
25142
25152
  ), (!g || z & /*theme*/
25143
- 64 && p !== (p = Ze(`marketing ${/*theme*/
25153
+ 64 && p !== (p = Ke(`marketing ${/*theme*/
25144
25154
  E[6]}`) + " svelte-sezqcq")) && C(t, "class", p), (!g || z & /*theme, unfolded*/
25145
25155
  80) && ee(
25146
25156
  t,
@@ -25231,7 +25241,7 @@ class xE extends Audio {
25231
25241
  return this.sharedAudioCurrentTime;
25232
25242
  }
25233
25243
  play() {
25234
- return _(this, null, function* () {
25244
+ return G(this, null, function* () {
25235
25245
  var i, s, o;
25236
25246
  if (this.tryplaying)
25237
25247
  return;
@@ -26468,7 +26478,7 @@ class e2 extends de {
26468
26478
  }
26469
26479
  }
26470
26480
  function Zm(n) {
26471
- return _(this, null, function* () {
26481
+ return G(this, null, function* () {
26472
26482
  return new Promise((t, e) => {
26473
26483
  if (!n) {
26474
26484
  e(Error("url is empty"));
@@ -26480,7 +26490,7 @@ function Zm(n) {
26480
26490
  });
26481
26491
  }
26482
26492
  function t2(n) {
26483
- return _(this, null, function* () {
26493
+ return G(this, null, function* () {
26484
26494
  const { url: t, ratio: e = 3 } = n;
26485
26495
  n.ratio || console.warn("Tag icon ratio is not set, default is 3");
26486
26496
  const { width: i, height: s } = yield Zm(t);
@@ -26491,7 +26501,7 @@ function t2(n) {
26491
26501
  });
26492
26502
  }
26493
26503
  function i2(n) {
26494
- return _(this, null, function* () {
26504
+ return G(this, null, function* () {
26495
26505
  const { steps: t, url: e, ratio: i = 3, fps: s = 24 } = n;
26496
26506
  if (!t)
26497
26507
  throw new Error("KeyframeIcon requires steps");
@@ -26599,7 +26609,7 @@ function s2(n) {
26599
26609
  };
26600
26610
  return ir(
26601
26611
  e = /*getImage*/
26602
- n[11](Ke({
26612
+ n[11](qe({
26603
26613
  url: (
26604
26614
  /*iconUrl*/
26605
26615
  n[7]
@@ -26620,7 +26630,7 @@ function s2(n) {
26620
26630
  p(s, o) {
26621
26631
  n = s, i.ctx = n, o & /*iconUrl, iconRatio*/
26622
26632
  160 && e !== (e = /*getImage*/
26623
- n[11](Ke({
26633
+ n[11](qe({
26624
26634
  url: (
26625
26635
  /*iconUrl*/
26626
26636
  n[7]
@@ -26649,7 +26659,7 @@ function o2(n) {
26649
26659
  };
26650
26660
  return ir(
26651
26661
  e = /*getKeyframe*/
26652
- n[10](Ke({
26662
+ n[10](qe({
26653
26663
  url: (
26654
26664
  /*iconUrl*/
26655
26665
  n[7]
@@ -26678,7 +26688,7 @@ function o2(n) {
26678
26688
  p(s, o) {
26679
26689
  n = s, i.ctx = n, o & /*iconUrl, iconSteps, iconFps, iconRatio*/
26680
26690
  228 && e !== (e = /*getKeyframe*/
26681
- n[10](Ke({
26691
+ n[10](qe({
26682
26692
  url: (
26683
26693
  /*iconUrl*/
26684
26694
  n[7]
@@ -26905,13 +26915,13 @@ function f2(n, t, e) {
26905
26915
  let i, s, o, r, a, l, c, h, u, { width: f = null } = t, { icon: m = null } = t, { shadow: A = !1 } = t;
26906
26916
  const p = Cr();
26907
26917
  function g(P) {
26908
- return _(this, null, function* () {
26918
+ return G(this, null, function* () {
26909
26919
  const I = yield i2(P);
26910
26920
  return p("iconLoaded", I), I;
26911
26921
  });
26912
26922
  }
26913
26923
  function v(P) {
26914
- return _(this, null, function* () {
26924
+ return G(this, null, function* () {
26915
26925
  if (typeof u == "number")
26916
26926
  return re(D({}, P), { width: u });
26917
26927
  const I = yield t2(P);
@@ -26921,7 +26931,7 @@ function f2(n, t, e) {
26921
26931
  function y() {
26922
26932
  h || p("iconLoaded");
26923
26933
  }
26924
- return xt(() => {
26934
+ return kt(() => {
26925
26935
  y();
26926
26936
  }), n.$$set = (P) => {
26927
26937
  "width" in P && e(1, f = P.width), "icon" in P && e(12, m = P.icon), "shadow" in P && e(0, A = P.shadow);
@@ -26934,7 +26944,7 @@ function f2(n, t, e) {
26934
26944
  4096 && e(5, r = m == null ? void 0 : m.ratio), n.$$.dirty & /*icon*/
26935
26945
  4096 && e(4, a = (I = m == null ? void 0 : m.scale) != null ? I : 1), n.$$.dirty & /*icon*/
26936
26946
  4096 && e(3, l = m == null ? void 0 : m.width), n.$$.dirty & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
26937
- 252 && e(9, c = Ke({
26947
+ 252 && e(9, c = qe({
26938
26948
  url: i,
26939
26949
  steps: s,
26940
26950
  fps: o,
@@ -27255,7 +27265,7 @@ function I2(n) {
27255
27265
  function E2(n, t, e) {
27256
27266
  var h, u;
27257
27267
  let i, { tag: s } = t, { rendererMap: o = /* @__PURE__ */ new Map() } = t, r, a = (u = s.element) != null ? u : (h = o.get(s.contentType)) == null ? void 0 : h.renderer, l;
27258
- xt(() => {
27268
+ kt(() => {
27259
27269
  r && (a instanceof Element ? (r.appendChild(a), l = () => {
27260
27270
  a instanceof Element && a.remove();
27261
27271
  }) : typeof a == "function" && (l = a(r, s)));
@@ -27396,7 +27406,7 @@ function D2(n) {
27396
27406
  "unfolded",
27397
27407
  /*tag*/
27398
27408
  (k = n[0].state) == null ? void 0 : k.unfolded
27399
- ), C(e, "class", "content__wrapper svelte-qz1wo5"), C(t, "class", m = Ze(wt(
27409
+ ), C(e, "class", "content__wrapper svelte-qz1wo5"), C(t, "class", m = Ke(Lt(
27400
27410
  "content__container",
27401
27411
  /*tag*/
27402
27412
  n[0].className
@@ -27453,7 +27463,7 @@ function D2(n) {
27453
27463
  /*tag*/
27454
27464
  (R = k[0].state) == null ? void 0 : R.unfolded
27455
27465
  ), (!p || E & /*tag*/
27456
- 1 && m !== (m = Ze(wt(
27466
+ 1 && m !== (m = Ke(Lt(
27457
27467
  "content__container",
27458
27468
  /*tag*/
27459
27469
  k[0].className
@@ -27514,7 +27524,7 @@ function S2(n) {
27514
27524
  let t, e, i, s, o, r, a;
27515
27525
  return e = new M2({
27516
27526
  props: {
27517
- tag: Ke(
27527
+ tag: qe(
27518
27528
  /*tag*/
27519
27529
  n[0]
27520
27530
  ),
@@ -27525,7 +27535,7 @@ function S2(n) {
27525
27535
  }
27526
27536
  }), {
27527
27537
  c() {
27528
- t = S("div"), ne(e.$$.fragment), C(t, "class", i = Ze(wt(
27538
+ t = S("div"), ne(e.$$.fragment), C(t, "class", i = Ke(Lt(
27529
27539
  "content__container",
27530
27540
  /*tag*/
27531
27541
  n[0].className
@@ -27553,13 +27563,13 @@ function S2(n) {
27553
27563
  p(l, c) {
27554
27564
  const h = {};
27555
27565
  c & /*tag*/
27556
- 1 && (h.tag = Ke(
27566
+ 1 && (h.tag = qe(
27557
27567
  /*tag*/
27558
27568
  l[0]
27559
27569
  )), c & /*rendererMap*/
27560
27570
  8 && (h.rendererMap = /*rendererMap*/
27561
27571
  l[3]), e.$set(h), (!o || c & /*tag*/
27562
- 1 && i !== (i = Ze(wt(
27572
+ 1 && i !== (i = Ke(Lt(
27563
27573
  "content__container",
27564
27574
  /*tag*/
27565
27575
  l[0].className
@@ -27593,7 +27603,7 @@ function S2(n) {
27593
27603
  function T2(n) {
27594
27604
  let t, e;
27595
27605
  return t = new w2({
27596
- props: { tag: Ke(
27606
+ props: { tag: qe(
27597
27607
  /*tag*/
27598
27608
  n[0]
27599
27609
  ) }
@@ -27607,7 +27617,7 @@ function T2(n) {
27607
27617
  p(i, s) {
27608
27618
  const o = {};
27609
27619
  s & /*tag*/
27610
- 1 && (o.tag = Ke(
27620
+ 1 && (o.tag = qe(
27611
27621
  /*tag*/
27612
27622
  i[0]
27613
27623
  )), t.$set(o);
@@ -27626,7 +27636,7 @@ function T2(n) {
27626
27636
  function L2(n) {
27627
27637
  let t, e;
27628
27638
  return t = new e2({
27629
- props: { tag: Ke(
27639
+ props: { tag: qe(
27630
27640
  /*tag*/
27631
27641
  n[0]
27632
27642
  ) }
@@ -27640,7 +27650,7 @@ function L2(n) {
27640
27650
  p(i, s) {
27641
27651
  const o = {};
27642
27652
  s & /*tag*/
27643
- 1 && (o.tag = Ke(
27653
+ 1 && (o.tag = qe(
27644
27654
  /*tag*/
27645
27655
  i[0]
27646
27656
  )), t.$set(o);
@@ -27659,7 +27669,7 @@ function L2(n) {
27659
27669
  function j2(n) {
27660
27670
  let t, e;
27661
27671
  return t = new A2({
27662
- props: { tag: Ke(
27672
+ props: { tag: qe(
27663
27673
  /*tag*/
27664
27674
  n[0]
27665
27675
  ) }
@@ -27673,7 +27683,7 @@ function j2(n) {
27673
27683
  p(i, s) {
27674
27684
  const o = {};
27675
27685
  s & /*tag*/
27676
- 1 && (o.tag = Ke(
27686
+ 1 && (o.tag = qe(
27677
27687
  /*tag*/
27678
27688
  i[0]
27679
27689
  )), t.$set(o);
@@ -27692,7 +27702,7 @@ function j2(n) {
27692
27702
  function z2(n) {
27693
27703
  let t, e;
27694
27704
  return t = new kE({
27695
- props: { tag: Ke(
27705
+ props: { tag: qe(
27696
27706
  /*tag*/
27697
27707
  n[0]
27698
27708
  ) }
@@ -27706,7 +27716,7 @@ function z2(n) {
27706
27716
  p(i, s) {
27707
27717
  const o = {};
27708
27718
  s & /*tag*/
27709
- 1 && (o.tag = Ke(
27719
+ 1 && (o.tag = qe(
27710
27720
  /*tag*/
27711
27721
  i[0]
27712
27722
  )), t.$set(o);
@@ -27725,7 +27735,7 @@ function z2(n) {
27725
27735
  function O2(n) {
27726
27736
  let t, e;
27727
27737
  return t = new JE({
27728
- props: { tag: Ke(
27738
+ props: { tag: qe(
27729
27739
  /*tag*/
27730
27740
  n[0]
27731
27741
  ) }
@@ -27739,7 +27749,7 @@ function O2(n) {
27739
27749
  p(i, s) {
27740
27750
  const o = {};
27741
27751
  s & /*tag*/
27742
- 1 && (o.tag = Ke(
27752
+ 1 && (o.tag = qe(
27743
27753
  /*tag*/
27744
27754
  i[0]
27745
27755
  )), t.$set(o);
@@ -27758,7 +27768,7 @@ function O2(n) {
27758
27768
  function B2(n) {
27759
27769
  let t, e;
27760
27770
  return t = new PE({
27761
- props: { tag: Ke(
27771
+ props: { tag: qe(
27762
27772
  /*tag*/
27763
27773
  n[0]
27764
27774
  ) }
@@ -27772,7 +27782,7 @@ function B2(n) {
27772
27782
  p(i, s) {
27773
27783
  const o = {};
27774
27784
  s & /*tag*/
27775
- 1 && (o.tag = Ke(
27785
+ 1 && (o.tag = qe(
27776
27786
  /*tag*/
27777
27787
  i[0]
27778
27788
  )), t.$set(o);
@@ -27791,7 +27801,7 @@ function B2(n) {
27791
27801
  function R2(n) {
27792
27802
  let t, e;
27793
27803
  return t = new GC({
27794
- props: { tag: Ke(
27804
+ props: { tag: qe(
27795
27805
  /*tag*/
27796
27806
  n[0]
27797
27807
  ) }
@@ -27805,7 +27815,7 @@ function R2(n) {
27805
27815
  p(i, s) {
27806
27816
  const o = {};
27807
27817
  s & /*tag*/
27808
- 1 && (o.tag = Ke(
27818
+ 1 && (o.tag = qe(
27809
27819
  /*tag*/
27810
27820
  i[0]
27811
27821
  )), t.$set(o);
@@ -27886,7 +27896,7 @@ function N2(n, t, e) {
27886
27896
  return n.$$set = (R) => {
27887
27897
  "withAnimation" in R && e(1, c = R.withAnimation), "tag" in R && e(0, h = R.tag), "hooks" in R && e(2, u = R.hooks), "rendererMap" in R && e(3, f = R.rendererMap), "contentTypeMap" in R && e(4, m = R.contentTypeMap), "state" in R && e(7, A = R.state), "mediaStore" in R && e(8, p = R.mediaStore), "temporaryState" in R && e(9, g = R.temporaryState);
27888
27898
  }, n.$$.update = () => {
27889
- var R, U, W, F, G, N, Q, H, Y, Z, J;
27899
+ var R, U, W, F, _, N, Q, H, Y, Z, J;
27890
27900
  n.$$.dirty & /*tag*/
27891
27901
  1 && e(13, i = (R = h.state) == null ? void 0 : R.unfolded), n.$$.dirty & /*tag*/
27892
27902
  1 && e(12, s = (U = h.state) == null ? void 0 : U.visible), n.$$.dirty & /*state, temporaryState, tag*/
@@ -27894,7 +27904,7 @@ function N2(n, t, e) {
27894
27904
  1 && (r = h.id), n.$$.dirty & /*tag, state, temporaryState*/
27895
27905
  641 && e(6, a = !H2(h, A, g)), n.$$.dirty & /*isVisible*/
27896
27906
  16384 && P(o), n.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/
27897
- 15361 && h.hooks && (i !== void 0 && i !== y && (e(11, y = i), i ? (G = (F = h.hooks).emit) == null || G.call(F, "unfolded") : (Q = h == null ? void 0 : (N = h.hooks).emit) == null || Q.call(N, "folded")), s !== void 0 && s !== v && (e(10, v = s), s ? (Y = (H = h.hooks).emit) == null || Y.call(H, "show") : (J = (Z = h.hooks).emit) == null || J.call(Z, "hide"))), n.$$.dirty & /*tag*/
27907
+ 15361 && h.hooks && (i !== void 0 && i !== y && (e(11, y = i), i ? (_ = (F = h.hooks).emit) == null || _.call(F, "unfolded") : (Q = h == null ? void 0 : (N = h.hooks).emit) == null || Q.call(N, "folded")), s !== void 0 && s !== v && (e(10, v = s), s ? (Y = (H = h.hooks).emit) == null || Y.call(H, "show") : (J = (Z = h.hooks).emit) == null || J.call(Z, "hide"))), n.$$.dirty & /*tag*/
27898
27908
  1 && e(5, l = (() => !(typeof h.config.unfoldedConfig == "object" && h.config.unfoldedConfig.keep === "folded"))());
27899
27909
  }, [
27900
27910
  h,
@@ -28114,59 +28124,39 @@ class Q2 extends de {
28114
28124
  }
28115
28125
  }
28116
28126
  function W2(n) {
28117
- me(n, "svelte-g38zun", ".tag.svelte-g38zun{will-change:opacity}.tag.withAnimation.svelte-g38zun{transition:opacity 0.2s linear}.tag.enableZIndex.svelte-g38zun{position:absolute;left:0;top:0;width:100%;height:100%}.tag.hide.svelte-g38zun{opacity:0;pointer-events:none}.tag.hide.svelte-g38zun *{pointer-events:none !important}.tag.unClickable.svelte-g38zun{pointer-events:none !important}.tag.unClickable.svelte-g38zun *{pointer-events:none !important}.tag.disable.svelte-g38zun{display:none}.wrapper.svelte-g38zun{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
28127
+ me(n, "svelte-48wo0r", ".tag.svelte-48wo0r{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto;will-change:opacity}.tag.withAnimation.svelte-48wo0r{transition:opacity 0.2s linear}.tag.enableZIndex.svelte-48wo0r{position:absolute}.tag.hide.svelte-48wo0r{opacity:0;pointer-events:none}.tag.hide.svelte-48wo0r *{pointer-events:none !important}.tag.unClickable.svelte-48wo0r{pointer-events:none !important}.tag.unClickable.svelte-48wo0r *{pointer-events:none !important}.tag.disable.svelte-48wo0r{display:none}");
28118
28128
  }
28119
28129
  function yu(n) {
28120
- let t, e, i, s, o, r, a, l, c, h, u;
28121
- const f = [Y2, U2], m = [];
28122
- function A(y, P) {
28130
+ let t, e, i, s, o, r, a, l, c;
28131
+ const h = [Y2, U2], u = [];
28132
+ function f(g, v) {
28123
28133
  return (
28124
28134
  /*havePoint*/
28125
- y[16] ? 0 : 1
28135
+ g[16] ? 0 : 1
28126
28136
  );
28127
28137
  }
28128
- i = A(n), s = m[i] = f[i](n);
28129
- const p = [Z2, X2], g = [];
28130
- function v(y, P) {
28138
+ e = f(n), i = u[e] = h[e](n);
28139
+ const m = [Z2, X2], A = [];
28140
+ function p(g, v) {
28131
28141
  return (
28132
28142
  /*haveContent*/
28133
- y[15] ? 0 : 1
28143
+ g[15] ? 0 : 1
28134
28144
  );
28135
28145
  }
28136
- return r = v(n), a = g[r] = p[r](n), {
28146
+ return o = p(n), r = A[o] = m[o](n), {
28137
28147
  c() {
28138
- t = S("div"), e = S("div"), s.c(), o = $(), a.c(), C(e, "class", l = Ze(wt(
28139
- "wrapper",
28140
- /*tag*/
28141
- n[0].className ? `${/*tag*/
28142
- n[0].className}__wrapper` : void 0
28143
- )) + " svelte-g38zun"), C(
28144
- e,
28145
- "data-tag-unfolded",
28146
- /*unfolded*/
28147
- n[7]
28148
- ), C(
28149
- e,
28150
- "data-tag-id",
28151
- /*id*/
28152
- n[14]
28153
- ), C(e, "data-content-type", c = /*tag*/
28154
- n[0].contentType), T(
28155
- e,
28156
- "left",
28157
- /*left*/
28158
- n[11]
28159
- ), T(
28160
- e,
28161
- "top",
28162
- /*top*/
28163
- n[10]
28164
- ), C(t, "class", "tag svelte-g38zun"), C(
28148
+ t = S("div"), i.c(), s = $(), r.c(), C(t, "class", "tag svelte-48wo0r"), C(
28165
28149
  t,
28166
28150
  "data-tag-id",
28167
28151
  /*id*/
28168
28152
  n[14]
28169
- ), C(t, "id", h = `tag-${/*id*/
28153
+ ), C(
28154
+ t,
28155
+ "data-tag-unfolded",
28156
+ /*unfolded*/
28157
+ n[7]
28158
+ ), C(t, "data-content-type", a = /*tag*/
28159
+ n[0].contentType), C(t, "id", l = `tag-${/*id*/
28170
28160
  n[14]}`), ee(
28171
28161
  t,
28172
28162
  "unClickable",
@@ -28197,105 +28187,86 @@ function yu(n) {
28197
28187
  "z-index",
28198
28188
  /*zIndex*/
28199
28189
  n[9]
28200
- );
28190
+ ), T(t, "transform", `translate3d(${/*left*/
28191
+ n[11]}, ${/*top*/
28192
+ n[10]}, 0)`);
28201
28193
  },
28202
- m(y, P) {
28203
- B(y, t, P), L(t, e), m[i].m(e, null), L(e, o), g[r].m(e, null), n[18](t), u = !0;
28194
+ m(g, v) {
28195
+ B(g, t, v), u[e].m(t, null), L(t, s), A[o].m(t, null), n[18](t), c = !0;
28204
28196
  },
28205
- p(y, P) {
28206
- let I = i;
28207
- i = A(y), i === I ? m[i].p(y, P) : (ue(), O(m[I], 1, 1, () => {
28208
- m[I] = null;
28209
- }), fe(), s = m[i], s ? s.p(y, P) : (s = m[i] = f[i](y), s.c()), x(s, 1), s.m(e, o));
28210
- let k = r;
28211
- r = v(y), r === k ? g[r].p(y, P) : (ue(), O(g[k], 1, 1, () => {
28212
- g[k] = null;
28213
- }), fe(), a = g[r], a ? a.p(y, P) : (a = g[r] = p[r](y), a.c()), x(a, 1), a.m(e, null)), (!u || P & /*tag*/
28214
- 1 && l !== (l = Ze(wt(
28215
- "wrapper",
28216
- /*tag*/
28217
- y[0].className ? `${/*tag*/
28218
- y[0].className}__wrapper` : void 0
28219
- )) + " svelte-g38zun")) && C(e, "class", l), (!u || P & /*unfolded*/
28220
- 128) && C(
28221
- e,
28222
- "data-tag-unfolded",
28223
- /*unfolded*/
28224
- y[7]
28225
- ), (!u || P & /*id*/
28226
- 16384) && C(
28227
- e,
28228
- "data-tag-id",
28229
- /*id*/
28230
- y[14]
28231
- ), (!u || P & /*tag*/
28232
- 1 && c !== (c = /*tag*/
28233
- y[0].contentType)) && C(e, "data-content-type", c), P & /*left*/
28234
- 2048 && T(
28235
- e,
28236
- "left",
28237
- /*left*/
28238
- y[11]
28239
- ), P & /*top*/
28240
- 1024 && T(
28241
- e,
28242
- "top",
28243
- /*top*/
28244
- y[10]
28245
- ), (!u || P & /*id*/
28197
+ p(g, v) {
28198
+ let y = e;
28199
+ e = f(g), e === y ? u[e].p(g, v) : (ue(), O(u[y], 1, 1, () => {
28200
+ u[y] = null;
28201
+ }), fe(), i = u[e], i ? i.p(g, v) : (i = u[e] = h[e](g), i.c()), x(i, 1), i.m(t, s));
28202
+ let P = o;
28203
+ o = p(g), o === P ? A[o].p(g, v) : (ue(), O(A[P], 1, 1, () => {
28204
+ A[P] = null;
28205
+ }), fe(), r = A[o], r ? r.p(g, v) : (r = A[o] = m[o](g), r.c()), x(r, 1), r.m(t, null)), (!c || v & /*id*/
28246
28206
  16384) && C(
28247
28207
  t,
28248
28208
  "data-tag-id",
28249
28209
  /*id*/
28250
- y[14]
28251
- ), (!u || P & /*id*/
28252
- 16384 && h !== (h = `tag-${/*id*/
28253
- y[14]}`)) && C(t, "id", h), (!u || P & /*tag*/
28210
+ g[14]
28211
+ ), (!c || v & /*unfolded*/
28212
+ 128) && C(
28213
+ t,
28214
+ "data-tag-unfolded",
28215
+ /*unfolded*/
28216
+ g[7]
28217
+ ), (!c || v & /*tag*/
28218
+ 1 && a !== (a = /*tag*/
28219
+ g[0].contentType)) && C(t, "data-content-type", a), (!c || v & /*id*/
28220
+ 16384 && l !== (l = `tag-${/*id*/
28221
+ g[14]}`)) && C(t, "id", l), (!c || v & /*tag*/
28254
28222
  1) && ee(
28255
28223
  t,
28256
28224
  "unClickable",
28257
28225
  /*tag*/
28258
- y[0].config.clickable === !1
28259
- ), (!u || P & /*disable*/
28226
+ g[0].config.clickable === !1
28227
+ ), (!c || v & /*disable*/
28260
28228
  8192) && ee(
28261
28229
  t,
28262
28230
  "disable",
28263
28231
  /*disable*/
28264
- y[13]
28265
- ), (!u || P & /*hide*/
28232
+ g[13]
28233
+ ), (!c || v & /*hide*/
28266
28234
  4096) && ee(
28267
28235
  t,
28268
28236
  "hide",
28269
28237
  /*hide*/
28270
- y[12]
28271
- ), (!u || P & /*withAnimation*/
28238
+ g[12]
28239
+ ), (!c || v & /*withAnimation*/
28272
28240
  2) && ee(
28273
28241
  t,
28274
28242
  "withAnimation",
28275
28243
  /*withAnimation*/
28276
- y[1]
28277
- ), (!u || P & /*zIndex*/
28244
+ g[1]
28245
+ ), (!c || v & /*zIndex*/
28278
28246
  512) && ee(
28279
28247
  t,
28280
28248
  "enableZIndex",
28281
28249
  /*zIndex*/
28282
- y[9]
28283
- ), P & /*zIndex*/
28250
+ g[9]
28251
+ ), v & /*zIndex*/
28284
28252
  512 && T(
28285
28253
  t,
28286
28254
  "z-index",
28287
28255
  /*zIndex*/
28288
- y[9]
28289
- );
28256
+ g[9]
28257
+ ), v & /*left, top*/
28258
+ 3072 && T(t, "transform", `translate3d(${/*left*/
28259
+ g[11]}, ${/*top*/
28260
+ g[10]}, 0)`);
28290
28261
  },
28291
- i(y) {
28292
- u || (x(s), x(a), u = !0);
28262
+ i(g) {
28263
+ c || (x(i), x(r), c = !0);
28293
28264
  },
28294
- o(y) {
28295
- O(s), O(a), u = !1;
28265
+ o(g) {
28266
+ O(i), O(r), c = !1;
28296
28267
  },
28297
- d(y) {
28298
- y && j(t), m[i].d(), g[r].d(), n[18](null);
28268
+ d(g) {
28269
+ g && j(t), u[e].d(), A[o].d(), n[18](null);
28299
28270
  }
28300
28271
  };
28301
28272
  }
@@ -28374,7 +28345,7 @@ function Z2(n) {
28374
28345
  /*withAnimation*/
28375
28346
  n[1]
28376
28347
  ),
28377
- tag: Ke(
28348
+ tag: qe(
28378
28349
  /*tag*/
28379
28350
  n[0]
28380
28351
  ),
@@ -28413,7 +28384,7 @@ function Z2(n) {
28413
28384
  i[2]), s & /*withAnimation*/
28414
28385
  2 && (o.withAnimation = /*withAnimation*/
28415
28386
  i[1]), s & /*tag*/
28416
- 1 && (o.tag = Ke(
28387
+ 1 && (o.tag = qe(
28417
28388
  /*tag*/
28418
28389
  i[0]
28419
28390
  )), s & /*state*/
@@ -28478,22 +28449,21 @@ function q2(n, t, e) {
28478
28449
  return n.$$set = (E) => {
28479
28450
  "withAnimation" in E && e(1, m = E.withAnimation), "tag" in E && e(0, A = E.tag), "mediaStore" in E && e(2, p = E.mediaStore), "rendererMap" in E && e(3, g = E.rendererMap), "contentTypeMap" in E && e(4, v = E.contentTypeMap), "state" in E && e(5, y = E.state), "temporaryState" in E && e(6, P = E.temporaryState);
28480
28451
  }, n.$$.update = () => {
28481
- var E, z, R, U;
28452
+ var E, z, R;
28482
28453
  n.$$.dirty & /*tag, rendererMap*/
28483
28454
  9 && e(16, i = (() => {
28484
- var W, F, G;
28485
- return !(((F = (W = A.style) == null ? void 0 : W.point) == null ? void 0 : F.enabled) === !1 || ((G = g.get(A.contentType)) == null ? void 0 : G.usePoint) === !1 || A.contentType === "Sticker" || A.contentType === "Link" || A.contentType === "VRLink" || A.contentType === "PanoLink" || A.contentType === "Panorama" || A.contentType === "Audio" && A.data.appearance === "plane");
28455
+ var U, W, F;
28456
+ return !(((W = (U = A.style) == null ? void 0 : U.point) == null ? void 0 : W.enabled) === !1 || ((F = g.get(A.contentType)) == null ? void 0 : F.usePoint) === !1 || A.contentType === "Sticker" || A.contentType === "Link" || A.contentType === "VRLink" || A.contentType === "PanoLink" || A.contentType === "Panorama" || A.contentType === "Audio" && A.data.appearance === "plane");
28486
28457
  })()), n.$$.dirty & /*tag*/
28487
28458
  1 && e(15, s = (() => A.stickType === "2DPoint")()), n.$$.dirty & /*tag*/
28488
28459
  1 && e(14, o = A.id), n.$$.dirty & /*tag*/
28489
28460
  1 && e(13, r = A.enabled === !1 || !A.state), n.$$.dirty & /*tag*/
28490
28461
  1 && e(12, a = !((E = A.state) != null && E.visible) || ((z = A.temporaryState) == null ? void 0 : z.visible) === !1 || !A.screenPosition), n.$$.dirty & /*tag*/
28491
- 1 && e(7, l = (R = A.state) == null ? void 0 : R.unfolded), n.$$.dirty & /*tag*/
28492
28462
  1 && e(8, c = A.screenPosition), n.$$.dirty & /*screenPosition*/
28493
- 256 && e(11, h = (c == null ? void 0 : c.leftPercent) + "%"), n.$$.dirty & /*screenPosition*/
28494
- 256 && e(10, u = (c == null ? void 0 : c.topPercent) + "%"), n.$$.dirty & /*unfolded, tag*/
28495
- 129 && e(9, f = l ? ((U = A.zIndex) != null ? U : 0) + (l ? 1e6 : 0) : void 0);
28496
- }, [
28463
+ 256 && e(11, h = (c == null ? void 0 : c.leftPx) + "px"), n.$$.dirty & /*screenPosition*/
28464
+ 256 && e(10, u = (c == null ? void 0 : c.topPx) + "px"), n.$$.dirty & /*unfolded, tag*/
28465
+ 129 && e(9, f = l ? ((R = A.zIndex) != null ? R : 0) + (l ? 1e6 : 0) : void 0);
28466
+ }, e(7, l = !0), [
28497
28467
  A,
28498
28468
  m,
28499
28469
  p,
@@ -28856,6 +28826,30 @@ class aM extends iC {
28856
28826
  }
28857
28827
  }), this.clearUnusedPanelTag();
28858
28828
  });
28829
+ /**
28830
+ * @description 一个点的标签
28831
+ */
28832
+ d(this, "setPointTagPosition", (e) => {
28833
+ const i = e ? jt(e) : this.filterPointTag;
28834
+ i.length !== 0 && i.forEach((s) => {
28835
+ var l;
28836
+ const o = this.getCurrentVisibleState(s), r = (l = s.__Object__) != null ? l : {
28837
+ timeoutId: void 0,
28838
+ inAnimation: !1
28839
+ };
28840
+ if (s.__Object__ = r, !o && s.screenPosition ? (r.inAnimation = !0, r.timeoutId = setTimeout(() => {
28841
+ requestAnimationFrame(() => {
28842
+ this.getCurrentVisibleState(s) || (r.inAnimation = !1, s.screenPosition = null, this.updateDomView());
28843
+ });
28844
+ }, 1e3)) : r.timeoutId && (clearTimeout(r.timeoutId), r.inAnimation = !1, r.timeoutId = void 0), !o && !r.inAnimation)
28845
+ return;
28846
+ const a = this.getTagProject(s);
28847
+ a ? s.screenPosition = {
28848
+ leftPx: (a.x + 1) / 2 * this.renderWidthPx,
28849
+ topPx: (-a.y + 1) / 2 * this.renderHeightPx
28850
+ } : s.screenPosition = null;
28851
+ });
28852
+ });
28859
28853
  /**
28860
28854
  * @description 渲染单个点的标签
28861
28855
  */
@@ -28864,7 +28858,7 @@ class aM extends iC {
28864
28858
  this.setTagZIndex(i), this.setPointTagPosition(), Rw("updateDomView", this.updateDomView)();
28865
28859
  });
28866
28860
  /** 加载外部模型 */
28867
- d(this, "loadModel", (e) => _(this, null, function* () {
28861
+ d(this, "loadModel", (e) => G(this, null, function* () {
28868
28862
  var a;
28869
28863
  const i = e.data.modelUrl;
28870
28864
  if (!i)
@@ -28951,7 +28945,7 @@ class aM extends iC {
28951
28945
  this.tags.length && (this.tags.forEach((i) => {
28952
28946
  var s, o;
28953
28947
  (o = (s = i.mediaPlane) == null ? void 0 : s.parent) == null || o.remove(i.mediaPlane);
28954
- }), this.tags = [], (e = this.TagContainerSvelte) == null || e.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer(), this.updateRenderAllTags()), this.enabledModelTagSet.clear(), this.clearCache(), this.tagsLengthWillUpdate = !0;
28948
+ }), this.tags = [], this.tagsLengthWillUpdate = !0, (e = this.TagContainerSvelte) == null || e.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer(), this.updateRenderAllTags()), this.enabledModelTagSet.clear(), this.clearCache(), this.tagsLengthWillUpdate = !0;
28955
28949
  }
28956
28950
  /**
28957
28951
  * @description 更新所有标签
@@ -29061,32 +29055,11 @@ class aM extends iC {
29061
29055
  }
29062
29056
  /** 添加模型标签 */
29063
29057
  addMediaModelTag(e) {
29064
- return _(this, null, function* () {
29058
+ return G(this, null, function* () {
29065
29059
  const i = e.filter(zw).map((s) => this.loadModel(s));
29066
29060
  yield Promise.all(i), this.setVisible(), this.updateRenderAllTags();
29067
29061
  });
29068
29062
  }
29069
- /**
29070
- * @description 一个点的标签
29071
- */
29072
- setPointTagPosition(e) {
29073
- const i = e ? jt(e) : this.filterPointTag;
29074
- i.length !== 0 && i.forEach((s) => {
29075
- var l;
29076
- const o = this.getCurrentVisibleState(s), r = (l = s.__Object__) != null ? l : {
29077
- timeoutId: void 0,
29078
- inAnimation: !1
29079
- };
29080
- if (s.__Object__ = r, !o && s.screenPosition ? (r.inAnimation = !0, r.timeoutId = setTimeout(() => {
29081
- requestAnimationFrame(() => {
29082
- this.getCurrentVisibleState(s) || (r.inAnimation = !1, s.screenPosition = null, this.updateDomView());
29083
- });
29084
- }, 1e3)) : r.timeoutId && (clearTimeout(r.timeoutId), r.inAnimation = !1, r.timeoutId = void 0), !o && !r.inAnimation)
29085
- return;
29086
- const a = this.getTagProject(s);
29087
- a ? s.screenPosition = { leftPercent: (a.x + 1) / 2 * 100, topPercent: (-a.y + 1) / 2 * 100 } : s.screenPosition = null;
29088
- });
29089
- }
29090
29063
  updateTagContainerVisible() {
29091
29064
  var e;
29092
29065
  (e = this.TagContainerSvelte) == null || e.$set({
@@ -29146,7 +29119,7 @@ function Km(n) {
29146
29119
  }, n);
29147
29120
  });
29148
29121
  }
29149
- const $m = "Dnalogel-PanoTagPlugin", Fx = (n) => `${$m}--${n}`;
29122
+ const $m = "Dnalogel-PanoTagPlugin", F3 = (n) => `${$m}--${n}`;
29150
29123
  class cl extends aM {
29151
29124
  constructor(e, i) {
29152
29125
  super(e);
@@ -29156,7 +29129,7 @@ class cl extends aM {
29156
29129
  d(this, "debug");
29157
29130
  d(this, "debugUtil", new lM(this));
29158
29131
  /** 更改 tag 模型 */
29159
- d(this, "changeTagModel", (e, i) => _(this, null, function* () {
29132
+ d(this, "changeTagModel", (e, i) => G(this, null, function* () {
29160
29133
  e.data = _e({}, e.data, i), yield this.loadModel(e), this.updateTag(e);
29161
29134
  }));
29162
29135
  d(this, "whyHide", (e) => {
@@ -29220,7 +29193,7 @@ class cl extends aM {
29220
29193
  d(this, "handleFiveCameraUpdate", () => {
29221
29194
  this.setPointTagPosition(), this.updateDomView();
29222
29195
  });
29223
- d(this, "handleFivePanoArrived", () => _(this, null, function* () {
29196
+ d(this, "handleFivePanoArrived", () => G(this, null, function* () {
29224
29197
  this.setVisible(), this.setPointTagPosition(), this.updateDomView(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
29225
29198
  e.temporaryState = re(D({}, e.temporaryState), { visible: !0 });
29226
29199
  }), this.tags.filter(jw).filter((e) => {
@@ -29267,7 +29240,7 @@ class cl extends aM {
29267
29240
  * @description 加载数据
29268
29241
  */
29269
29242
  load(e, i) {
29270
- return _(this, null, function* () {
29243
+ return G(this, null, function* () {
29271
29244
  var o, r;
29272
29245
  this.clearTags(), console.debug($m, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = _e({}, this.config, {
29273
29246
  globalConfig: (o = e.globalConfig) != null ? o : {},
@@ -29287,7 +29260,7 @@ class cl extends aM {
29287
29260
  * @description 添加标签
29288
29261
  */
29289
29262
  addTag(e, i) {
29290
- return _(this, null, function* () {
29263
+ return G(this, null, function* () {
29291
29264
  const o = (Array.isArray(e) ? e : [e]).filter((r) => r.position).map((r) => {
29292
29265
  var f, m, A, p;
29293
29266
  r.stickType = km(r);
@@ -29324,9 +29297,9 @@ class cl extends aM {
29324
29297
  });
29325
29298
  return u;
29326
29299
  });
29327
- return o.forEach(Hw), this.tags.push(...o), this.tagsLengthWillUpdate = !0, es(this.five).then(() => _(this, null, function* () {
29328
- var r, a, l;
29329
- this.store.eventListenerDisposer && ((a = (r = this.store).eventListenerDisposer) == null || a.call(r)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(o), this.setVisibleAndUnfolded({ withAnimation: (l = i == null ? void 0 : i.withAnimation) != null ? l : !0 }), this.updateRenderAllTags();
29300
+ return o.forEach(Hw), this.tags.push(...o), this.tagsLengthWillUpdate = !0, es(this.five).then(() => G(this, null, function* () {
29301
+ var r, a, l, c, h;
29302
+ this.store.eventListenerDisposer && ((a = (r = this.store).eventListenerDisposer) == null || a.call(r)), this.state.enabled && this.handleEnable(), this.renderHeightPx || (this.renderHeightPx = (l = this.five.getElement()) == null ? void 0 : l.clientHeight, this.renderWidthPx = (c = this.five.getElement()) == null ? void 0 : c.clientWidth), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(o), this.setVisibleAndUnfolded({ withAnimation: (h = i == null ? void 0 : i.withAnimation) != null ? h : !0 }), this.updateRenderAllTags();
29330
29303
  }));
29331
29304
  });
29332
29305
  }
@@ -29349,7 +29322,7 @@ class cl extends aM {
29349
29322
  this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), s ? this.config.contentTypeConfig[e] = _e({}, this.config.contentTypeConfig[e], i) : this.config.contentTypeConfig[e] = i, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
29350
29323
  }
29351
29324
  show(e) {
29352
- return _(this, null, function* () {
29325
+ return G(this, null, function* () {
29353
29326
  if (this.checkDisposed())
29354
29327
  return;
29355
29328
  const { userAction: i = !0, withAnimation: s = !1 } = e != null ? e : {};
@@ -29357,7 +29330,7 @@ class cl extends aM {
29357
29330
  });
29358
29331
  }
29359
29332
  hide(e) {
29360
- return _(this, null, function* () {
29333
+ return G(this, null, function* () {
29361
29334
  if (this.checkDisposed())
29362
29335
  return;
29363
29336
  const { userAction: i = !0, withAnimation: s = !1 } = e != null ? e : {};
@@ -29398,7 +29371,7 @@ class cl extends aM {
29398
29371
  * @param {Partial<anime.AnimeParams>} animeConfig
29399
29372
  */
29400
29373
  blinkTagById(e, i) {
29401
- return _(this, null, function* () {
29374
+ return G(this, null, function* () {
29402
29375
  var h, u;
29403
29376
  const s = this.getTagById(e);
29404
29377
  if (!s)
@@ -29505,7 +29478,7 @@ class cl extends aM {
29505
29478
  * @description 设置 visible 和 unfolded
29506
29479
  */
29507
29480
  setVisibleAndUnfolded() {
29508
- return _(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
29481
+ return G(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
29509
29482
  return this.store.visibleWithAnimation = e, this.setVisible(), e ? new Promise((i) => {
29510
29483
  setTimeout(() => {
29511
29484
  this.setUnfoldedByPanoIndex(), i();
@@ -29556,10 +29529,11 @@ class cl extends aM {
29556
29529
  }
29557
29530
  }
29558
29531
  addResizeObserver() {
29559
- if (!this.store.disposed)
29532
+ if (this.store.disposed)
29560
29533
  return;
29561
29534
  const e = this.five.getElement(), i = () => {
29562
- this.state.enabled && (this.show(), this.updateRenderAllTags());
29535
+ var c, h;
29536
+ this.state.enabled && (this.renderWidthPx = (c = this.five.getElement()) == null ? void 0 : c.clientWidth, this.renderHeightPx = (h = this.five.getElement()) == null ? void 0 : h.clientHeight, this.show(), this.updateRenderPointTag());
29563
29537
  }, s = () => {
29564
29538
  this.state.enabled && this.hide();
29565
29539
  }, { observe: o, unobserve: r } = al(
@@ -29596,7 +29570,7 @@ class cl extends aM {
29596
29570
  ((s = e.config) == null ? void 0 : s.renderType) !== "Mesh" && ((a = (r = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : r.css3DObject) == null ? void 0 : a.mode) !== i && ((l = e.config) != null && l.tag3DConfig ? e.config.tag3DConfig.mode = i : e.config ? e.config.tag3DConfig = { mode: i } : e.config = { tag3DConfig: { mode: i } }, (c = this.store.css3DRenderDisposer.get(e.id)) == null || c.forEach((h) => h == null ? void 0 : h()), e.tag3DContentSvelte = void 0);
29597
29571
  }
29598
29572
  }
29599
- const Gx = (n, t) => new cl(n, t);
29573
+ const G3 = (n, t) => new cl(n, t);
29600
29574
  function cM(n) {
29601
29575
  me(n, "svelte-4qjwer", ".guide-line__tag.svelte-4qjwer.svelte-4qjwer{position:relative}.text-with-distance.svelte-4qjwer.svelte-4qjwer{display:flex;flex-direction:column;position:relative;padding:0.125rem 0.25rem;border-radius:0.125rem;background:linear-gradient(to top, rgba(147, 147, 147, 0.3), rgba(74, 74, 74, 0.3));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.2)}.text-with-distance.svelte-4qjwer .border.svelte-4qjwer{position:absolute;top:-50%;right:-50%;bottom:-50%;left:-50%;padding:0.0625rem;border-radius:0.25rem;background:linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;transform:scale(0.5)}.distance-and-name.svelte-4qjwer.svelte-4qjwer{display:flex;gap:0.1875rem}.distance.svelte-4qjwer.svelte-4qjwer{white-space:nowrap;font-size:0.625rem;line-height:0.875rem;color:#66afff}.name.svelte-4qjwer.svelte-4qjwer{opacity:0.6;font-size:0.625rem;line-height:0.875rem;white-space:nowrap;color:#ffffff}.line-name.svelte-4qjwer.svelte-4qjwer{color:#fff;white-space:nowrap;font-size:0.625rem;line-height:0.875rem}.guide-line__tag-point.svelte-4qjwer.svelte-4qjwer{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-4qjwer.svelte-4qjwer{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-4qjwer.svelte-4qjwer{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-4qjwer.svelte-4qjwer{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-4qjwer.svelte-4qjwer{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-slice:6 25 6 18 fill;color:#fff}");
29602
29576
  }
@@ -30308,7 +30282,7 @@ class hl {
30308
30282
  function pM(n) {
30309
30283
  return n.contentType === "Custom";
30310
30284
  }
30311
- const _x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
30285
+ const _3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
30312
30286
  __proto__: null,
30313
30287
  GuideLineModeItem: hl
30314
30288
  }, Symbol.toStringTag, { value: "Module" })), eg = "CruisePlugin", Ta = `${eg}`;
@@ -30358,7 +30332,7 @@ class tg extends Bi {
30358
30332
  * @description Show guide line
30359
30333
  */
30360
30334
  show(e) {
30361
- return _(this, null, function* () {
30335
+ return G(this, null, function* () {
30362
30336
  this.setState({ visible: !0 }, e);
30363
30337
  });
30364
30338
  }
@@ -30366,7 +30340,7 @@ class tg extends Bi {
30366
30340
  * @description Hide guide line
30367
30341
  */
30368
30342
  hide(e) {
30369
- return _(this, null, function* () {
30343
+ return G(this, null, function* () {
30370
30344
  this.setState({ visible: !1 }, e);
30371
30345
  });
30372
30346
  }
@@ -30398,7 +30372,7 @@ class tg extends Bi {
30398
30372
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
30399
30373
  return this.disableErrorLog();
30400
30374
  const s = D({}, this.state);
30401
- this.state = _e({}, this.state, e), e.disposed !== void 0 && e.disposed !== s.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), e.playing !== void 0 && e.playing !== s.playing && this.changePlayState(e.playing, i), e.speed !== void 0 && e.speed !== s.speed && this.changeSpeed(e.speed), Ct(s, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 });
30375
+ this.state = _e({}, this.state, e), e.disposed !== void 0 && e.disposed !== s.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), e.playing !== void 0 && e.playing !== s.playing && this.changePlayState(e.playing, i), e.speed !== void 0 && e.speed !== s.speed && this.changeSpeed(e.speed), wt(s, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 });
30402
30376
  }
30403
30377
  /**
30404
30378
  * @description Clear pause data
@@ -30577,7 +30551,7 @@ let ng = class extends tg {
30577
30551
  return i ? this.setState(i) : (this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed)), Promise.resolve();
30578
30552
  }
30579
30553
  handlePlay() {
30580
- return new Promise((e, i) => _(this, null, function* () {
30554
+ return new Promise((e, i) => G(this, null, function* () {
30581
30555
  var l;
30582
30556
  this.hooks.emit("play", { userAction: !0 });
30583
30557
  const s = this.getPauseData();
@@ -30623,7 +30597,7 @@ function vM(n, t) {
30623
30597
  const e = ku(n), i = ku(t);
30624
30598
  return e.angleTo(i);
30625
30599
  }
30626
- const bM = (n) => _(void 0, null, function* () {
30600
+ const bM = (n) => G(void 0, null, function* () {
30627
30601
  try {
30628
30602
  n().then(() => {
30629
30603
  }, () => {
@@ -30633,7 +30607,7 @@ const bM = (n) => _(void 0, null, function* () {
30633
30607
  }
30634
30608
  });
30635
30609
  function yM(n) {
30636
- return _(this, null, function* () {
30610
+ return G(this, null, function* () {
30637
30611
  return new Promise((t) => {
30638
30612
  if (n.work) {
30639
30613
  t();
@@ -30674,7 +30648,7 @@ class Kl extends tg {
30674
30648
  * @description Load Data and State
30675
30649
  */
30676
30650
  load(e, i, s) {
30677
- return _(this, null, function* () {
30651
+ return G(this, null, function* () {
30678
30652
  var h, u;
30679
30653
  this.clear();
30680
30654
  const o = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
@@ -30718,7 +30692,7 @@ class Kl extends tg {
30718
30692
  * @description Format data
30719
30693
  */
30720
30694
  formatData(e) {
30721
- return _(this, null, function* () {
30695
+ return G(this, null, function* () {
30722
30696
  this.five.work || (yield yM(this.five));
30723
30697
  const i = (() => {
30724
30698
  const s = e;
@@ -30770,7 +30744,7 @@ class Kl extends tg {
30770
30744
  */
30771
30745
  // eslint-disable-next-line complexity
30772
30746
  handlePlay(e) {
30773
- return _(this, null, function* () {
30747
+ return G(this, null, function* () {
30774
30748
  var m;
30775
30749
  const { data: i, state: s, privateState: o, hooks: r } = this;
30776
30750
  if (o.playing || !(i != null && i.keyframes) || (i == null ? void 0 : i.keyframes.length) === 0)
@@ -30780,7 +30754,7 @@ class Kl extends tg {
30780
30754
  const l = i.keyframes, c = this.getPauseData();
30781
30755
  (e == null ? void 0 : e.notEmitEvent) !== !0 && r.emit("play", { userAction: (m = e == null ? void 0 : e.userAction) != null ? m : !0 });
30782
30756
  let h = !1;
30783
- const f = yield (() => _(this, null, function* () {
30757
+ const f = yield (() => G(this, null, function* () {
30784
30758
  var A, p;
30785
30759
  if ((e == null ? void 0 : e.playFromIndex) !== void 0)
30786
30760
  return e.playFromIndex;
@@ -30867,7 +30841,7 @@ class Kl extends tg {
30867
30841
  * @description Play single keyframe
30868
30842
  */
30869
30843
  playKeyframe(e, i) {
30870
- return _(this, null, function* () {
30844
+ return G(this, null, function* () {
30871
30845
  var o;
30872
30846
  const { privateState: s } = this;
30873
30847
  return ((o = this.privateState.currentPlayKeyframe) == null ? void 0 : o.keyframe.id) !== e.id && (this.privateState.currentPlayKeyframe = { keyframe: e }), s.currentPlayQueue.push(this.getPlayPromise(e, i)), this.actionPromiseQueue();
@@ -30877,7 +30851,7 @@ class Kl extends tg {
30877
30851
  * @description: getPlayPromise
30878
30852
  */
30879
30853
  getPlayPromise(s) {
30880
- return _(this, arguments, function* (e, i = {}) {
30854
+ return G(this, arguments, function* (e, i = {}) {
30881
30855
  var r;
30882
30856
  const o = e.data;
30883
30857
  if (i.duration = (r = i.duration) != null ? r : e.start !== void 0 && e.end !== void 0 ? e.end - e.start : void 0, !!o)
@@ -30912,7 +30886,7 @@ class Kl extends tg {
30912
30886
  * @description Action promise queue in sequence
30913
30887
  */
30914
30888
  actionPromiseQueue() {
30915
- return _(this, null, function* () {
30889
+ return G(this, null, function* () {
30916
30890
  const { privateState: e } = this;
30917
30891
  return new Promise((i, s) => {
30918
30892
  if (e.currentPlayQueue.length === 0) {
@@ -30932,7 +30906,7 @@ class Kl extends tg {
30932
30906
  * @description Action move keyframe
30933
30907
  */
30934
30908
  move(e, i) {
30935
- return _(this, null, function* () {
30909
+ return G(this, null, function* () {
30936
30910
  if (e.mode && e.mode !== this.five.currentMode)
30937
30911
  yield this.changeMode(e);
30938
30912
  else if (e.panoIndex !== this.five.panoIndex)
@@ -30945,7 +30919,7 @@ class Kl extends tg {
30945
30919
  * @description Action rotate keyframe
30946
30920
  */
30947
30921
  rotate(e, i) {
30948
- return _(this, null, function* () {
30922
+ return G(this, null, function* () {
30949
30923
  if (e.mode && e.mode !== this.five.currentMode)
30950
30924
  yield this.changeMode({ mode: e.mode, panoIndex: e.panoIndex });
30951
30925
  else if (e.panoIndex && e.panoIndex !== this.five.panoIndex)
@@ -30957,7 +30931,7 @@ class Kl extends tg {
30957
30931
  * @description Update five camera
30958
30932
  */
30959
30933
  updateCamera(s) {
30960
- return _(this, arguments, function* (e, i = {}) {
30934
+ return G(this, arguments, function* (e, i = {}) {
30961
30935
  const { five: o, privateState: r, state: a } = this, l = (() => {
30962
30936
  var m, A;
30963
30937
  const u = (m = a.config) == null ? void 0 : m.speedConfig, f = (A = e.rotateSpeed) != null ? A : u == null ? void 0 : u.rotateSpeed;
@@ -30985,7 +30959,7 @@ class Kl extends tg {
30985
30959
  * @description: Change five pano
30986
30960
  */
30987
30961
  changePano(e, i) {
30988
- return _(this, null, function* () {
30962
+ return G(this, null, function* () {
30989
30963
  const { five: s, privateState: o, state: r } = this;
30990
30964
  if (typeof e.panoIndex != "number" || e.panoIndex === s.panoIndex)
30991
30965
  return;
@@ -31025,7 +30999,7 @@ class Kl extends tg {
31025
30999
  * @description Change five mode
31026
31000
  */
31027
31001
  changeMode(e, i) {
31028
- return _(this, null, function* () {
31002
+ return G(this, null, function* () {
31029
31003
  e.mode && e.mode !== this.five.currentMode && (this.privateState.modeChanging = !0, yield this.five.changeMode(e.mode, e, i), this.privateState.modeChanging = !1);
31030
31004
  });
31031
31005
  }
@@ -31037,7 +31011,7 @@ class sg {
31037
31011
  d(this, "isGuideLine", !0);
31038
31012
  d(this, "panoramaItem");
31039
31013
  d(this, "modelItem");
31040
- d(this, "hooks", new It());
31014
+ d(this, "hooks", new Pt());
31041
31015
  d(this, "_visible", !0);
31042
31016
  d(this, "plugin");
31043
31017
  d(this, "five");
@@ -31070,7 +31044,7 @@ class sg {
31070
31044
  this.panoramaItem.dispose(), this.modelItem.dispose();
31071
31045
  }
31072
31046
  walk(t) {
31073
- return _(this, null, function* () {
31047
+ return G(this, null, function* () {
31074
31048
  if (this.hooks.emit("walkStart", { userAction: !0 }), this.panoramaItem.panoGroup.length) {
31075
31049
  const e = D({ panoIndexList: this.panoramaItem.panoGroup }, t), [i] = yield en(CM(this.five, e));
31076
31050
  if (i)
@@ -31085,13 +31059,13 @@ class sg {
31085
31059
  }
31086
31060
  }
31087
31061
  function wM(n, t) {
31088
- return _(this, null, function* () {
31062
+ return G(this, null, function* () {
31089
31063
  const e = new ng(n);
31090
31064
  yield e.load(t), e.playFromStart();
31091
31065
  });
31092
31066
  }
31093
31067
  function CM(n, t) {
31094
- return _(this, null, function* () {
31068
+ return G(this, null, function* () {
31095
31069
  if (t.panoIndexList.length === 0)
31096
31070
  return;
31097
31071
  const e = n.getCurrentState();
@@ -31125,7 +31099,7 @@ function CM(n, t) {
31125
31099
  });
31126
31100
  });
31127
31101
  }
31128
- const Wx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31102
+ const W3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31129
31103
  __proto__: null,
31130
31104
  GuideLineItem: sg
31131
31105
  }, Symbol.toStringTag, { value: "Module" })), dl = "GuideLinePlugin", xu = `${dl}`;
@@ -31157,7 +31131,7 @@ let PM = class extends vi {
31157
31131
  return this._disposed;
31158
31132
  }
31159
31133
  load(e, i, s = !0) {
31160
- return _(this, null, function* () {
31134
+ return G(this, null, function* () {
31161
31135
  var m, A, p, g, v, y, P, I;
31162
31136
  const o = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, r = yield this.formatData(e);
31163
31137
  this.hooks.emit("dataChange", r, o), this.data = r;
@@ -31180,19 +31154,19 @@ let PM = class extends vi {
31180
31154
  });
31181
31155
  }
31182
31156
  formatData(e) {
31183
- return _(this, null, function* () {
31157
+ return G(this, null, function* () {
31184
31158
  return this.getDataWithoutVersion(e);
31185
31159
  });
31186
31160
  }
31187
31161
  /** 展示插件 */
31188
31162
  show(e) {
31189
- return _(this, null, function* () {
31163
+ return G(this, null, function* () {
31190
31164
  this.setState({ visible: !0 }, e);
31191
31165
  });
31192
31166
  }
31193
31167
  /** 隐藏插件 */
31194
31168
  hide(e) {
31195
- return _(this, null, function* () {
31169
+ return G(this, null, function* () {
31196
31170
  this.setState({ visible: !1 }, e);
31197
31171
  });
31198
31172
  }
@@ -31213,7 +31187,7 @@ let PM = class extends vi {
31213
31187
  if (this.disposed)
31214
31188
  return this.disposedErrorLog();
31215
31189
  const s = D({}, this.state);
31216
- this.state = D(D({}, this.state), e), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), Ct(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 }), this.five.needsRender = !0);
31190
+ this.state = D(D({}, this.state), e), e.visible !== void 0 && e.visible !== s.visible && this.handleVisible(e.visible, i == null ? void 0 : i.userAction), e.enabled !== void 0 && e.enabled !== s.enabled && this.handleEnable(e.enabled, i == null ? void 0 : i.userAction), wt(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (o = i == null ? void 0 : i.userAction) != null ? o : !0 }), this.five.needsRender = !0);
31217
31191
  }
31218
31192
  /** 添加一个 GuideLineItem */
31219
31193
  addGuideLineItem(e) {
@@ -31270,9 +31244,9 @@ let PM = class extends vi {
31270
31244
  return typeof e == "object" && e !== null && e.data ? e.data : e;
31271
31245
  }
31272
31246
  };
31273
- const og = (n, t) => new PM(n, t), IM = og, Yx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31247
+ const og = (n, t) => new PM(n, t), IM = og, Y3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31274
31248
  __proto__: null
31275
- }, Symbol.toStringTag, { value: "Module" })), Xx = (n, t) => new Kl(n, t), Zx = (n, t) => new ng(n, t);
31249
+ }, Symbol.toStringTag, { value: "Module" })), X3 = (n, t) => new Kl(n, t), Z3 = (n, t) => new ng(n, t);
31276
31250
  function rg(n, t, e) {
31277
31251
  if (e) {
31278
31252
  const s = new w.Vector3().subVectors(n.position, e).applyQuaternion(n.quaternion.clone().inverse()).applyQuaternion(t).add(e);
@@ -32127,7 +32101,7 @@ class to {
32127
32101
  });
32128
32102
  d(this, "getBox", () => this.boundingBox ? this.boundingBox : (this.boundingBox = $s(this.originObject3D), this.boundingBox));
32129
32103
  var h, u, f;
32130
- this.hooks = (h = t.sharedHooks) != null ? h : new It(), this.internalHooks = (u = t.sharedInternalHooks) != null ? u : new It(), this.camera = t.camera, this.model = t.model, this.originObject3D = t.originObject3D, this.helperObject3D = t.helperObject3D, this.container = t.container, this.scene = t.scene, this.domEvents = new Re(t.camera, t.container), this.onRender = (f = t.onRender) != null ? f : () => {
32104
+ this.hooks = (h = t.sharedHooks) != null ? h : new Pt(), this.internalHooks = (u = t.sharedInternalHooks) != null ? u : new Pt(), this.camera = t.camera, this.model = t.model, this.originObject3D = t.originObject3D, this.helperObject3D = t.helperObject3D, this.container = t.container, this.scene = t.scene, this.domEvents = new Re(t.camera, t.container), this.onRender = (f = t.onRender) != null ? f : () => {
32131
32105
  }, this.config = e != null ? e : {}, this.initialHelperPosition(), this.initialHelperQuaternion(), this.onWantsUpdateCameraDistance(), this.enable();
32132
32106
  const i = this.onSetOriginObjectScale.bind(this), s = this.onSetOriginObjectRotate.bind(this), o = this.onSetOriginObjectPosition.bind(this), r = this.onApplyOriginObjectScale.bind(this), a = this.onApplyOriginObjectRotate.bind(this), l = this.onApplyOriginObjectPosition.bind(this), c = this.initialHelperPosition.bind(this);
32133
32107
  this.internalHooks.on("setObjectPosition", this.onWantsUpdateCameraDistance), this.internalHooks.on("initialHelperPosition", this.onWantsUpdateCameraDistance), this.internalHooks.on("initialHelperPosition", c), this.internalHooks.on("setObjectScale", i), this.internalHooks.on("setObjectRotate", s), this.internalHooks.on("setObjectPosition", o), this.internalHooks.on("applyObjectPosition", l), this.internalHooks.on("applyObjectRotate", a), this.internalHooks.on("applyObjectScale", r), this.disposers.push(() => {
@@ -32500,7 +32474,7 @@ class JM {
32500
32474
  enabled: !0,
32501
32475
  disposed: !1
32502
32476
  });
32503
- d(this, "hooks", new It());
32477
+ d(this, "hooks", new Pt());
32504
32478
  d(this, "eventListener", {});
32505
32479
  t && this.addControllers(t), this.setState(this.state);
32506
32480
  }
@@ -32508,7 +32482,7 @@ class JM {
32508
32482
  * @description Show guide line
32509
32483
  */
32510
32484
  show(t) {
32511
- return _(this, null, function* () {
32485
+ return G(this, null, function* () {
32512
32486
  this.setState({ visible: !0 }, t);
32513
32487
  });
32514
32488
  }
@@ -32516,7 +32490,7 @@ class JM {
32516
32490
  * @description Hide guide line
32517
32491
  */
32518
32492
  hide(t) {
32519
- return _(this, null, function* () {
32493
+ return G(this, null, function* () {
32520
32494
  this.setState({ visible: !1 }, t);
32521
32495
  });
32522
32496
  }
@@ -32791,12 +32765,12 @@ class KM extends to {
32791
32765
  if (!a || jM(a, this.camera.position))
32792
32766
  return;
32793
32767
  const l = new le().addVectors(r[0], r[2]).divideScalar(2), { position: c, direction: h } = s, u = new le().subVectors(r[1], r[0]), f = new le().subVectors(r[3], r[0]), m = (F) => {
32794
- const G = new le(0, 0, 0);
32768
+ const _ = new le(0, 0, 0);
32795
32769
  if (!this.startInfo)
32796
- return G;
32770
+ return _;
32797
32771
  const N = (F === "ew" ? u : f).clone(), Q = c.clone().projectOnVector(N), H = a.clone().projectOnVector(N), Y = l.clone().projectOnVector(N);
32798
32772
  if (H.equals(Q))
32799
- return G;
32773
+ return _;
32800
32774
  if (F === "ns" && typeof this.startInfo.dragPointInCenterBottom != "boolean") {
32801
32775
  const oe = new le().subVectors(H, Y), se = oe.x < 0 && N.x >= 0, Pe = oe.y < 0 && N.y >= 0, Ae = oe.z < 0 && N.z >= 0;
32802
32776
  this.startInfo.dragPointInCenterBottom = se || Pe || Ae;
@@ -32806,18 +32780,18 @@ class KM extends to {
32806
32780
  this.startInfo.dragPointInCenterLeft = se || Pe || Ae;
32807
32781
  }
32808
32782
  const Z = new le().subVectors(H, Q), J = Z.length();
32809
- return J > 0.3 ? (console.warn("offset.length() > 0.3, skipped", J), G) : Z;
32783
+ return J > 0.3 ? (console.warn("offset.length() > 0.3, skipped", J), _) : Z;
32810
32784
  }, A = m("ew"), p = m("ns"), g = () => {
32811
32785
  const F = A;
32812
- this.helperObject3D.cornerPositions.forEach((G, N) => {
32786
+ this.helperObject3D.cornerPositions.forEach((_, N) => {
32813
32787
  var Q;
32814
- (Q = this.startInfo) != null && Q.dragPointInCenterLeft ? (N === 0 || N === 3) && G.add(F) : (N === 1 || N === 2) && G.add(F);
32788
+ (Q = this.startInfo) != null && Q.dragPointInCenterLeft ? (N === 0 || N === 3) && _.add(F) : (N === 1 || N === 2) && _.add(F);
32815
32789
  });
32816
32790
  }, v = () => {
32817
32791
  const F = p;
32818
- this.helperObject3D.cornerPositions.forEach((G, N) => {
32792
+ this.helperObject3D.cornerPositions.forEach((_, N) => {
32819
32793
  var Q;
32820
- (Q = this.startInfo) != null && Q.dragPointInCenterBottom ? (N === 0 || N === 1) && G.add(F) : (N === 2 || N === 3) && G.add(F);
32794
+ (Q = this.startInfo) != null && Q.dragPointInCenterBottom ? (N === 0 || N === 1) && _.add(F) : (N === 2 || N === 3) && _.add(F);
32821
32795
  });
32822
32796
  };
32823
32797
  switch (h) {
@@ -32971,7 +32945,7 @@ class ag extends Bi {
32971
32945
  * @description Show guide line
32972
32946
  */
32973
32947
  show(e) {
32974
- return _(this, null, function* () {
32948
+ return G(this, null, function* () {
32975
32949
  this.setState({ visible: !0 }, e);
32976
32950
  });
32977
32951
  }
@@ -32979,7 +32953,7 @@ class ag extends Bi {
32979
32953
  * @description Hide guide line
32980
32954
  */
32981
32955
  hide(e) {
32982
- return _(this, null, function* () {
32956
+ return G(this, null, function* () {
32983
32957
  this.setState({ visible: !1 }, e);
32984
32958
  });
32985
32959
  }
@@ -33035,7 +33009,7 @@ class ag extends Bi {
33035
33009
  scaleHelper: !0,
33036
33010
  boundingBoxHelper: !1,
33037
33011
  positionFrom: "objectPosition"
33038
- }), i), { moveHelper: h, rotateHelper: u, scaleHelper: f, boundingBoxHelper: m, positionFrom: A } = c, p = new It(), g = new It(), v = (P) => {
33012
+ }), i), { moveHelper: h, rotateHelper: u, scaleHelper: f, boundingBoxHelper: m, positionFrom: A } = c, p = new Pt(), g = new Pt(), v = (P) => {
33039
33013
  if (P)
33040
33014
  return typeof P == "boolean" ? P : P.enable;
33041
33015
  };
@@ -33124,7 +33098,7 @@ class ag extends Bi {
33124
33098
  return e;
33125
33099
  }
33126
33100
  }
33127
- const qx = (n) => new ag(n), ak = (
33101
+ const q3 = (n) => new ag(n), ak = (
33128
33102
  /* glsl */
33129
33103
  `
33130
33104
  varying vec2 vUv;
@@ -33577,9 +33551,9 @@ class hk extends Bi {
33577
33551
  console.warn("⛔ ==> [PanoVideoPluginController]:", e);
33578
33552
  }
33579
33553
  }
33580
- const Kx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
33554
+ const K3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
33581
33555
  __proto__: null
33582
- }, Symbol.toStringTag, { value: "Module" })), $x = (n) => new hk(n);
33556
+ }, Symbol.toStringTag, { value: "Module" })), $3 = (n) => new hk(n);
33583
33557
  function lg(n) {
33584
33558
  const t = /* @__PURE__ */ new Map();
33585
33559
  return n.forEach((e) => e.pipes.forEach((i) => t.set(i.id, i))), Array.from(t.values());
@@ -33780,7 +33754,7 @@ class Tn extends w.Mesh {
33780
33754
  return e.wrapS = w.RepeatWrapping, e.wrapT = w.RepeatWrapping, e;
33781
33755
  }
33782
33756
  hide(e) {
33783
- return _(this, null, function* () {
33757
+ return G(this, null, function* () {
33784
33758
  var o;
33785
33759
  (o = this.opacityAnime) == null || o.dispose();
33786
33760
  const i = 0;
@@ -33795,7 +33769,7 @@ class Tn extends w.Mesh {
33795
33769
  });
33796
33770
  }
33797
33771
  show(e) {
33798
- return _(this, null, function* () {
33772
+ return G(this, null, function* () {
33799
33773
  var o;
33800
33774
  (o = this.opacityAnime) == null || o.dispose();
33801
33775
  const i = 1;
@@ -33954,10 +33928,10 @@ let Mk = class extends vi {
33954
33928
  */
33955
33929
  // eslint-disable-next-line max-params
33956
33930
  load(e, i, s, o) {
33957
- return _(this, null, function* () {
33931
+ return G(this, null, function* () {
33958
33932
  const r = this.data;
33959
33933
  this.data = yield this.formatData(e, o), this.removeAllPipes(), this.hooks.emit("dataChange", this.data, r), this.pipeObjects = yield Promise.all(
33960
- this.data.pipes.filter((a) => !!(a != null && a.texture)).map((u) => _(this, [u], function* ({ id: a, texture: l, path: c, radius: h }) {
33934
+ this.data.pipes.filter((a) => !!(a != null && a.texture)).map((u) => G(this, [u], function* ({ id: a, texture: l, path: c, radius: h }) {
33961
33935
  const f = yield this.loadPipeTexture(l), m = { id: a, path: c, textureURL: l, texture: f, geometryConfig: { radius: h } };
33962
33936
  return new Ek(m);
33963
33937
  }))
@@ -33976,14 +33950,14 @@ let Mk = class extends vi {
33976
33950
  */
33977
33951
  setState(e, i = {}) {
33978
33952
  const s = this.state;
33979
- if (Ct(e, s, { deep: !0 }))
33953
+ if (wt(e, s, { deep: !0 }))
33980
33954
  return;
33981
33955
  const o = i.userAction !== void 0 ? i.userAction : !0;
33982
33956
  if (this.updateState(e, o), e.enabled !== void 0 && s.enabled !== e.enabled && (e.enabled ? this._enable({ userAction: o }) : this._disable({ userAction: o })), e.visible !== void 0 && s.visible !== e.visible) {
33983
33957
  const r = { userAction: o, anime: { duration: 500 } };
33984
33958
  e.visible ? this._show(r) : this._hide(r);
33985
33959
  }
33986
- if (e.isFlowing !== void 0 && s.isFlowing !== e.isFlowing && (e.isFlowing ? this._flow() : this._stopFlow()), e.speed !== void 0 && !Ct(s.speed, this.state.speed, { deep: !0 }) && this._setSpeed(e.speed), e.target !== void 0 && !Ct(s.target, this.state.target, { deep: !0 })) {
33960
+ if (e.isFlowing !== void 0 && s.isFlowing !== e.isFlowing && (e.isFlowing ? this._flow() : this._stopFlow()), e.speed !== void 0 && !wt(s.speed, this.state.speed, { deep: !0 }) && this._setSpeed(e.speed), e.target !== void 0 && !wt(s.target, this.state.target, { deep: !0 })) {
33987
33961
  const r = {
33988
33962
  target: e.target,
33989
33963
  showAnime: { duration: 500 },
@@ -34021,7 +33995,7 @@ let Mk = class extends vi {
34021
33995
  * @param `options.anime.duration` `<number> | <undefined>` 动画时间,默认是 500ms。
34022
33996
  */
34023
33997
  show() {
34024
- return _(this, arguments, function* (e = {}) {
33998
+ return G(this, arguments, function* (e = {}) {
34025
33999
  if (this.state.visible)
34026
34000
  return;
34027
34001
  const i = D({
@@ -34038,7 +34012,7 @@ let Mk = class extends vi {
34038
34012
  * @param `options.anime.duration` `<number> | <undefined>` 动画时间,默认是 500ms。
34039
34013
  */
34040
34014
  hide() {
34041
- return _(this, arguments, function* (e = {}) {
34015
+ return G(this, arguments, function* (e = {}) {
34042
34016
  if (this.state.visible === !1)
34043
34017
  return;
34044
34018
  const i = D({
@@ -34059,7 +34033,7 @@ let Mk = class extends vi {
34059
34033
  * @param `options.userAction` `<boolean> | <undefined>` 是否是否是用户操作。
34060
34034
  * */
34061
34035
  switchPipelines(e) {
34062
- return _(this, null, function* () {
34036
+ return G(this, null, function* () {
34063
34037
  var c, h, u, f, m, A;
34064
34038
  if (!this.data)
34065
34039
  return;
@@ -34100,7 +34074,7 @@ let Mk = class extends vi {
34100
34074
  this.updateState({ speed: i }, s), this._setSpeed(i);
34101
34075
  }
34102
34076
  formatData(e, i) {
34103
- return _(this, null, function* () {
34077
+ return G(this, null, function* () {
34104
34078
  return fk(e, i);
34105
34079
  });
34106
34080
  }
@@ -34111,7 +34085,7 @@ let Mk = class extends vi {
34111
34085
  this.hooks.emit("disable", { userAction: e.userAction }), this.disposeAnime(), this.five.scene.remove(this.group), this.five.needsRender = !0, this.five.off("wantsTapGesture", this.onWantsFiveTapGesture);
34112
34086
  }
34113
34087
  _show(e) {
34114
- return _(this, null, function* () {
34088
+ return G(this, null, function* () {
34115
34089
  var o;
34116
34090
  this.hooks.emit("show", { userAction: e.userAction });
34117
34091
  const i = (o = e == null ? void 0 : e.anime) != null ? o : { duration: 500 }, s = this.findPipeObjectWithTarget(this.state.target);
@@ -34119,7 +34093,7 @@ let Mk = class extends vi {
34119
34093
  });
34120
34094
  }
34121
34095
  _hide(e) {
34122
- return _(this, null, function* () {
34096
+ return G(this, null, function* () {
34123
34097
  var s;
34124
34098
  this.hooks.emit("hide", { userAction: e.userAction });
34125
34099
  const i = (s = e == null ? void 0 : e.anime) != null ? s : { duration: 500 };
@@ -34127,7 +34101,7 @@ let Mk = class extends vi {
34127
34101
  });
34128
34102
  }
34129
34103
  _switchPipelines(e) {
34130
- return _(this, null, function* () {
34104
+ return G(this, null, function* () {
34131
34105
  if (!this.data)
34132
34106
  return;
34133
34107
  const i = this.findPipeObjectWithTarget(e.target), s = e.hideAnime;
@@ -34151,7 +34125,7 @@ let Mk = class extends vi {
34151
34125
  }
34152
34126
  /** 加载管道贴图,如果再加载中,复用之前的加载 Promise */
34153
34127
  loadPipeTexture(e) {
34154
- return _(this, null, function* () {
34128
+ return G(this, null, function* () {
34155
34129
  const i = this.texturePromiseCache.get(e);
34156
34130
  if (i)
34157
34131
  return i;
@@ -34289,7 +34263,7 @@ function Dk(n) {
34289
34263
  function Sk(n, t, e) {
34290
34264
  let i, { content: s } = t, { visible: o = !0 } = t, { opacity: r = 1 } = t, { zIndex: a = 0 } = t, { transform: l = void 0 } = t, { onClick: c = () => {
34291
34265
  } } = t, { rendererIfNeed: h = void 0 } = t, { rendererData: u = void 0 } = t, f, m;
34292
- xt(() => {
34266
+ kt(() => {
34293
34267
  f && typeof h == "function" && (m = h(f, u));
34294
34268
  }), Ht(() => {
34295
34269
  m == null || m();
@@ -34396,7 +34370,7 @@ class Lk {
34396
34370
  /** 标注标签的显示层级 */
34397
34371
  d(this, "tagZIndex", 0);
34398
34372
  /** 标注实例的事件处理器 */
34399
- d(this, "hooks", new It());
34373
+ d(this, "hooks", new Pt());
34400
34374
  /** 自定义 Dom */
34401
34375
  d(this, "itemRenderer");
34402
34376
  /** 数据 */
@@ -34705,7 +34679,7 @@ let zk = class extends vi {
34705
34679
  }
34706
34680
  /** 加载数据,重复调用会使用新数据覆盖旧数据 */
34707
34681
  load(e) {
34708
- return _(this, null, function* () {
34682
+ return G(this, null, function* () {
34709
34683
  const i = this.data;
34710
34684
  this.data = this.formatData(e), this.hooks.emit("dataChange", this.data, i), this.modelGroup.remove(...this.modelGroup.children), this.itemMap.forEach((s) => s.unmount()), this.itemMap.clear(), this.childrenMountedState = !1, this.checkMsg.childrenMountedState = "", this.data.list.forEach((s) => {
34711
34685
  const o = new Lk(this, s);
@@ -34744,7 +34718,7 @@ let zk = class extends vi {
34744
34718
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
34745
34719
  */
34746
34720
  show(e) {
34747
- return _(this, null, function* () {
34721
+ return G(this, null, function* () {
34748
34722
  if (this.state.visible)
34749
34723
  return Promise.resolve();
34750
34724
  if (this.disposed)
@@ -34758,7 +34732,7 @@ let zk = class extends vi {
34758
34732
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
34759
34733
  */
34760
34734
  hide(e) {
34761
- return _(this, null, function* () {
34735
+ return G(this, null, function* () {
34762
34736
  if (this.state.visible === !1)
34763
34737
  return;
34764
34738
  const i = D({ userAction: !0 }, e);
@@ -34806,7 +34780,7 @@ let zk = class extends vi {
34806
34780
  */
34807
34781
  setState(e, i = {}) {
34808
34782
  const s = this.state;
34809
- if (Ct(e, s, { deep: !0 }))
34783
+ if (wt(e, s, { deep: !0 }))
34810
34784
  return;
34811
34785
  const o = i.userAction !== void 0 ? i.userAction : !0;
34812
34786
  if (this.updateState(e, o), e.enabled !== void 0 && s.enabled !== e.enabled && (e.enabled ? this._enable({ userAction: o }) : this._disable({ userAction: o })), e.visible !== void 0 && s.visible !== e.visible) {
@@ -34869,12 +34843,12 @@ let zk = class extends vi {
34869
34843
  this.hooks.emit("disable", { userAction: e.userAction }), this.five.scene.remove(this.modelGroup), this.updateChildrenMountedState(), this.five.needsRender = !0, this.five.off("wantsTapGesture", this.onWantsFiveTapGesture), this.five.off("initAnimationWillStart", this.onFiveInitAnimationWillStart), this.five.off("initAnimationEnded", this.onFiveInitAnimationEnded), this.five.off("modeChange", this.onFiveModeChange), this.five.off("cameraUpdate", this.onFiveCameraUpdate);
34870
34844
  }
34871
34845
  _show(e) {
34872
- return _(this, null, function* () {
34846
+ return G(this, null, function* () {
34873
34847
  this.hooks.emit("show", e), this.five.needsRender = !0;
34874
34848
  });
34875
34849
  }
34876
34850
  _hide(e) {
34877
- return _(this, null, function* () {
34851
+ return G(this, null, function* () {
34878
34852
  this.hooks.emit("hide", e), this.five.needsRender = !0;
34879
34853
  });
34880
34854
  }
@@ -35000,7 +34974,7 @@ class Ok extends Bi {
35000
34974
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
35001
34975
  */
35002
34976
  show(e) {
35003
- return _(this, null, function* () {
34977
+ return G(this, null, function* () {
35004
34978
  if (this.state.visible)
35005
34979
  return Promise.resolve();
35006
34980
  if (this.disposed)
@@ -35014,7 +34988,7 @@ class Ok extends Bi {
35014
34988
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
35015
34989
  */
35016
34990
  hide(e) {
35017
- return _(this, null, function* () {
34991
+ return G(this, null, function* () {
35018
34992
  if (this.state.visible === !1)
35019
34993
  return;
35020
34994
  const i = D({ userAction: !0 }, e);
@@ -35028,7 +35002,7 @@ class Ok extends Bi {
35028
35002
  */
35029
35003
  setState(e, i = {}) {
35030
35004
  const s = this.state;
35031
- if (Ct(e, s, { deep: !0 }))
35005
+ if (wt(e, s, { deep: !0 }))
35032
35006
  return;
35033
35007
  const o = i.userAction !== void 0 ? i.userAction : !0;
35034
35008
  if (this.updateState(e, o), e.enabled !== void 0 && s.enabled !== e.enabled && (e.enabled ? this.checkMsg.pluginDisabled = "" : this.checkMsg.pluginDisabled = "调用 setState 禁用", e.enabled ? this._enable({ userAction: o }) : this._disable({ userAction: o })), e.visible !== void 0 && s.visible !== e.visible) {
@@ -35073,7 +35047,7 @@ class Ok extends Bi {
35073
35047
  }
35074
35048
  /** 重新加载贴图,调用时会先清除已有的贴图 */
35075
35049
  reloadTexture(e) {
35076
- return _(this, null, function* () {
35050
+ return G(this, null, function* () {
35077
35051
  if (this.mesh.material.map = null, e !== "") {
35078
35052
  const i = Ji(e);
35079
35053
  this.textureLoadingPromise = i;
@@ -35285,7 +35259,7 @@ const Xs = {
35285
35259
  18: !1,
35286
35260
  17: !1,
35287
35261
  91: !1
35288
- }, qe = {};
35262
+ }, Je = {};
35289
35263
  for (let n = 1; n < 20; n++)
35290
35264
  Xs["f".concat(n)] = 111 + n;
35291
35265
  let Ue = [], Ns = null, mg = "all";
@@ -35304,8 +35278,8 @@ function _k() {
35304
35278
  }
35305
35279
  function Qk() {
35306
35280
  const n = [];
35307
- return Object.keys(qe).forEach((t) => {
35308
- qe[t].forEach((e) => {
35281
+ return Object.keys(Je).forEach((t) => {
35282
+ Je[t].forEach((e) => {
35309
35283
  let {
35310
35284
  key: i,
35311
35285
  scope: s,
@@ -35335,9 +35309,9 @@ function Uk(n) {
35335
35309
  function Yk(n, t) {
35336
35310
  let e, i;
35337
35311
  n || (n = Zs());
35338
- for (const s in qe)
35339
- if (Object.prototype.hasOwnProperty.call(qe, s))
35340
- for (e = qe[s], i = 0; i < e.length; )
35312
+ for (const s in Je)
35313
+ if (Object.prototype.hasOwnProperty.call(Je, s))
35314
+ for (e = Je[s], i = 0; i < e.length; )
35341
35315
  e[i].scope === n ? e.splice(i, 1).forEach((r) => {
35342
35316
  let {
35343
35317
  element: a
@@ -35357,8 +35331,8 @@ function Xk(n) {
35357
35331
  }
35358
35332
  function pg(n) {
35359
35333
  if (typeof n == "undefined")
35360
- Object.keys(qe).forEach((s) => {
35361
- Array.isArray(qe[s]) && qe[s].forEach((o) => No(o)), delete qe[s];
35334
+ Object.keys(Je).forEach((s) => {
35335
+ Array.isArray(Je[s]) && Je[s].forEach((o) => No(o)), delete Je[s];
35362
35336
  }), ic(null);
35363
35337
  else if (Array.isArray(n))
35364
35338
  n.forEach((s) => {
@@ -35387,11 +35361,11 @@ const No = (n) => {
35387
35361
  } = n;
35388
35362
  fg(t).forEach((r) => {
35389
35363
  const a = r.split(s), l = a.length, c = a[l - 1], h = c === "*" ? "*" : io(c);
35390
- if (!qe[h])
35364
+ if (!Je[h])
35391
35365
  return;
35392
35366
  e || (e = Zs());
35393
35367
  const u = l > 1 ? ug(ri, a) : [], f = [];
35394
- qe[h] = qe[h].filter((m) => {
35368
+ Je[h] = Je[h].filter((m) => {
35395
35369
  const p = (i ? m.method === i : !0) && m.scope === e && Hk(m.mods, u);
35396
35370
  return p && f.push(m.element), !p;
35397
35371
  }), f.forEach((m) => ic(m));
@@ -35409,7 +35383,7 @@ function zu(n, t, e, i) {
35409
35383
  }
35410
35384
  }
35411
35385
  function Ou(n, t) {
35412
- const e = qe["*"];
35386
+ const e = Je["*"];
35413
35387
  let i = n.keyCode || n.which || n.charCode;
35414
35388
  if (!gt.filter.call(this, n))
35415
35389
  return;
@@ -35430,9 +35404,9 @@ function Ou(n, t) {
35430
35404
  if (e)
35431
35405
  for (let a = 0; a < e.length; a++)
35432
35406
  e[a].scope === s && (n.type === "keydown" && e[a].keydown || n.type === "keyup" && e[a].keyup) && zu(n, e[a], s, t);
35433
- if (!(i in qe))
35407
+ if (!(i in Je))
35434
35408
  return;
35435
- const o = qe[i], r = o.length;
35409
+ const o = Je[i], r = o.length;
35436
35410
  for (let a = 0; a < r; a++)
35437
35411
  if ((n.type === "keydown" && o[a].keydown || n.type === "keyup" && o[a].keyup) && o[a].key) {
35438
35412
  const l = o[a], {
@@ -35448,7 +35422,7 @@ function gt(n, t, e) {
35448
35422
  const i = fg(n);
35449
35423
  let s = [], o = "all", r = document, a = 0, l = !1, c = !0, h = "+", u = !1, f = !1;
35450
35424
  for (e === void 0 && typeof t == "function" && (e = t), Object.prototype.toString.call(t) === "[object Object]" && (t.scope && (o = t.scope), t.element && (r = t.element), t.keyup && (l = t.keyup), t.keydown !== void 0 && (c = t.keydown), t.capture !== void 0 && (u = t.capture), typeof t.splitKey == "string" && (h = t.splitKey), t.single === !0 && (f = !0)), typeof t == "string" && (o = t), f && pg(n, o); a < i.length; a++)
35451
- n = i[a].split(h), s = [], n.length > 1 && (s = ug(ri, n)), n = n[n.length - 1], n = n === "*" ? "*" : io(n), n in qe || (qe[n] = []), qe[n].push({
35425
+ n = i[a].split(h), s = [], n.length > 1 && (s = ug(ri, n)), n = n[n.length - 1], n = n === "*" ? "*" : io(n), n in Je || (Je[n] = []), Je[n].push({
35452
35426
  keyup: l,
35453
35427
  keydown: c,
35454
35428
  scope: o,
@@ -35487,14 +35461,14 @@ function gt(n, t, e) {
35487
35461
  }
35488
35462
  function Zk(n) {
35489
35463
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "all";
35490
- Object.keys(qe).forEach((e) => {
35491
- qe[e].filter((s) => s.scope === t && s.shortcut === n).forEach((s) => {
35464
+ Object.keys(Je).forEach((e) => {
35465
+ Je[e].filter((s) => s.scope === t && s.shortcut === n).forEach((s) => {
35492
35466
  s && s.method && s.method();
35493
35467
  });
35494
35468
  });
35495
35469
  }
35496
35470
  function ic(n) {
35497
- const t = Object.values(qe).flat();
35471
+ const t = Object.values(Je).flat();
35498
35472
  if (t.findIndex((i) => {
35499
35473
  let {
35500
35474
  element: s
@@ -35515,7 +35489,7 @@ function ic(n) {
35515
35489
  capture: a
35516
35490
  } = fi.get(s) || {};
35517
35491
  o && r && (xs(s, "keyup", r, a), xs(s, "keydown", o, a), fi.delete(s));
35518
- }), fi.clear(), Object.keys(qe).forEach((s) => delete qe[s]), Ns)) {
35492
+ }), fi.clear(), Object.keys(Je).forEach((s) => delete Je[s]), Ns)) {
35519
35493
  const {
35520
35494
  listener: s,
35521
35495
  capture: o
@@ -35734,7 +35708,7 @@ class $k extends on {
35734
35708
  }), this.updateEdgePointsVisibility(), this.needsRender = !0;
35735
35709
  }
35736
35710
  }
35737
- function e3(n) {
35711
+ function ex(n) {
35738
35712
  const t = [...n];
35739
35713
  if (n.length < 3)
35740
35714
  return n;
@@ -35778,7 +35752,7 @@ class Ag extends zt {
35778
35752
  setPoints(e, i = { closed: !1 }) {
35779
35753
  var r, a, l, c, h, u, f, m, A, p;
35780
35754
  let s = e.map(Fe);
35781
- i.closed && (s = e3(s));
35755
+ i.closed && (s = ex(s));
35782
35756
  const o = {
35783
35757
  lineWidth: (a = (r = this.paramsStyle) == null ? void 0 : r.lineWidth) != null ? a : this.lineWidth,
35784
35758
  lineColor: (c = (l = this.paramsStyle) == null ? void 0 : l.lineColor) != null ? c : this.lineColor,
@@ -35818,7 +35792,7 @@ class dr extends Ag {
35818
35792
  d(this, "name", "PolylineWithDotsMesh");
35819
35793
  }
35820
35794
  }
35821
- function t3(n, t) {
35795
+ function tx(n, t) {
35822
35796
  const e = jt(t);
35823
35797
  n.updateMatrixWorld();
35824
35798
  const i = e.map((s) => n.localToWorld(s.clone()));
@@ -35888,7 +35862,7 @@ class Ri extends zt {
35888
35862
  unhighlight() {
35889
35863
  }
35890
35864
  applyObjectMatrixWorld(e) {
35891
- return t3(this, e);
35865
+ return tx(this, e);
35892
35866
  }
35893
35867
  applyObjectQuaternion(e) {
35894
35868
  const i = this.quaternion.clone();
@@ -35957,7 +35931,7 @@ class vg extends nc {
35957
35931
  super.disable(), this.removeChildren();
35958
35932
  }
35959
35933
  }
35960
- class i3 extends vg {
35934
+ class ix extends vg {
35961
35935
  constructor(e) {
35962
35936
  super(e);
35963
35937
  d(this, "onDrag", (e) => {
@@ -35979,7 +35953,7 @@ class Fu extends Ri {
35979
35953
  super(e, i);
35980
35954
  d(this, "type", "Polyline");
35981
35955
  d(this, "polyLineMesh");
35982
- e && (this.polyLineMesh = new dr(D(D({}, e.style), e)), this.add(this.polyLineMesh)), this.editor = new i3(this), gt("esc", () => {
35956
+ e && (this.polyLineMesh = new dr(D(D({}, e.style), e)), this.add(this.polyLineMesh)), this.editor = new ix(this), gt("esc", () => {
35983
35957
  this.stopCreating();
35984
35958
  });
35985
35959
  }
@@ -36002,14 +35976,14 @@ class Fu extends Ri {
36002
35976
  (e = this.polyLineMesh) == null || e.unhighlight();
36003
35977
  }
36004
35978
  create(e) {
36005
- return _(this, null, function* () {
35979
+ return G(this, null, function* () {
36006
35980
  this.removeChildren();
36007
35981
  const i = new dr(e);
36008
- this.polyLineMesh = i, this.add(this.polyLineMesh), yield n3(i, this.pointSelector), this.editor.enable();
35982
+ this.polyLineMesh = i, this.add(this.polyLineMesh), yield nx(i, this.pointSelector), this.editor.enable();
36009
35983
  });
36010
35984
  }
36011
35985
  }
36012
- function n3(n, t) {
35986
+ function nx(n, t) {
36013
35987
  const e = n.parent;
36014
35988
  if (!e)
36015
35989
  return;
@@ -36032,7 +36006,7 @@ function n3(n, t) {
36032
36006
  });
36033
36007
  });
36034
36008
  }
36035
- class s3 extends nc {
36009
+ class sx extends nc {
36036
36010
  constructor(e) {
36037
36011
  super(e);
36038
36012
  d(this, "onDrag", (e) => {
@@ -36053,7 +36027,7 @@ class Gu extends Ri {
36053
36027
  super(e, i);
36054
36028
  d(this, "type", "Point");
36055
36029
  d(this, "pointMesh");
36056
- this.editor = new s3(this), e && (this.pointMesh = new Js(D(D({}, e.style), e)), this.add(this.pointMesh)), gt("esc", () => {
36030
+ this.editor = new sx(this), e && (this.pointMesh = new Js(D(D({}, e.style), e)), this.add(this.pointMesh)), gt("esc", () => {
36057
36031
  this.stopCreating();
36058
36032
  });
36059
36033
  }
@@ -36086,12 +36060,12 @@ class Gu extends Ri {
36086
36060
  * @description: 创建点
36087
36061
  */
36088
36062
  create(e) {
36089
- return _(this, null, function* () {
36090
- this.pointMesh && this.remove(this.pointMesh), this.add(this.pointMesh = new Js(e)), yield o3(this.pointMesh, this.pointSelector), this.editor.enable();
36063
+ return G(this, null, function* () {
36064
+ this.pointMesh && this.remove(this.pointMesh), this.add(this.pointMesh = new Js(e)), yield ox(this.pointMesh, this.pointSelector), this.editor.enable();
36091
36065
  });
36092
36066
  }
36093
36067
  }
36094
- function o3(n, t) {
36068
+ function ox(n, t) {
36095
36069
  return new Promise((e, i) => {
36096
36070
  t.enable();
36097
36071
  const s = (o) => {
@@ -36235,7 +36209,7 @@ class _u extends fr {
36235
36209
  d(this, "name", "AreaMesh");
36236
36210
  }
36237
36211
  }
36238
- class r3 extends vg {
36212
+ class rx extends vg {
36239
36213
  constructor(e) {
36240
36214
  super(e);
36241
36215
  d(this, "onDrag", (e) => {
@@ -36254,7 +36228,7 @@ class Qu extends Ri {
36254
36228
  super(e, i);
36255
36229
  d(this, "type", "Polygon");
36256
36230
  d(this, "areaMesh");
36257
- this.editor = new r3(this), e && (this.areaMesh = new _u(D(D({}, e.style), e)), this.add(this.areaMesh)), gt("esc", () => {
36231
+ this.editor = new rx(this), e && (this.areaMesh = new _u(D(D({}, e.style), e)), this.add(this.areaMesh)), gt("esc", () => {
36258
36232
  this.stopCreating();
36259
36233
  });
36260
36234
  }
@@ -36277,7 +36251,7 @@ class Qu extends Ri {
36277
36251
  (e = this.areaMesh) == null || e.unhighlight();
36278
36252
  }
36279
36253
  create(e) {
36280
- return _(this, null, function* () {
36254
+ return G(this, null, function* () {
36281
36255
  this.children.forEach((s) => {
36282
36256
  s.parent === this && this.remove(s);
36283
36257
  }), this.children.length = 0;
@@ -36397,7 +36371,7 @@ class mr extends zt {
36397
36371
  });
36398
36372
  }
36399
36373
  }
36400
- class a3 extends no {
36374
+ class ax extends no {
36401
36375
  constructor(t) {
36402
36376
  super(t, () => {
36403
36377
  const e = () => {
@@ -36441,7 +36415,7 @@ class Wu extends Ri {
36441
36415
  super(e, i);
36442
36416
  d(this, "type", "Prism");
36443
36417
  d(this, "prismMesh");
36444
- this.editor = new a3(this), e && (this.prismMesh = new mr(D(D({}, e.style), e)), this.add(this.prismMesh)), gt("esc", () => {
36418
+ this.editor = new ax(this), e && (this.prismMesh = new mr(D(D({}, e.style), e)), this.add(this.prismMesh)), gt("esc", () => {
36445
36419
  this.stopCreating();
36446
36420
  });
36447
36421
  }
@@ -36465,13 +36439,13 @@ class Wu extends Ri {
36465
36439
  (e = this.prismMesh) == null || e.unhighlight();
36466
36440
  }
36467
36441
  create(e) {
36468
- return _(this, null, function* () {
36469
- this.prismMesh = new mr(e), this.add(this.prismMesh), yield l3(this.prismMesh, this.pointSelector), this.editor.enable();
36442
+ return G(this, null, function* () {
36443
+ this.prismMesh = new mr(e), this.add(this.prismMesh), yield lx(this.prismMesh, this.pointSelector), this.editor.enable();
36470
36444
  });
36471
36445
  }
36472
36446
  }
36473
- function l3(n, t) {
36474
- return _(this, null, function* () {
36447
+ function lx(n, t) {
36448
+ return G(this, null, function* () {
36475
36449
  const e = n.parent;
36476
36450
  yield bg(n.bottomPolygon, t);
36477
36451
  const i = new on();
@@ -36498,12 +36472,12 @@ function l3(n, t) {
36498
36472
  });
36499
36473
  });
36500
36474
  }
36501
- class c3 extends no {
36475
+ class cx extends no {
36502
36476
  constructor(t) {
36503
36477
  super(t, () => ({ yAxis: t.rectangleMesh.up }));
36504
36478
  }
36505
36479
  }
36506
- class h3 extends w.BufferGeometry {
36480
+ class hx extends w.BufferGeometry {
36507
36481
  constructor(e) {
36508
36482
  super();
36509
36483
  d(this, "name", "RectangleGeometry");
@@ -36515,7 +36489,7 @@ class h3 extends w.BufferGeometry {
36515
36489
  this.points = e.slice(0, 4), this.setAttribute("position", new w.BufferAttribute(new Float32Array(this.points.flatMap((i) => i.toArray())), 3)), this.setIndex(new w.BufferAttribute(new Uint16Array([0, 1, 2, 0, 1, 3]), 1));
36516
36490
  }
36517
36491
  }
36518
- function d3(n, t) {
36492
+ function dx(n, t) {
36519
36493
  const i = new w.Plane().setFromCoplanarPoints(n[0], n[1], n[2]).projectPoint(t, new w.Vector3());
36520
36494
  return new w.Vector3().subVectors(t, i).normalize();
36521
36495
  }
@@ -36547,7 +36521,7 @@ class yg extends ur {
36547
36521
  const [s, o, r] = i, a = new w.Vector3().addVectors(s, o).sub(r);
36548
36522
  i.push(a);
36549
36523
  }
36550
- this.up.copy(d3(i, st.modules.five.camera.position)), this.points = i, this.geometry = new h3(i), this.planeHelperNeedUpdate = !0;
36524
+ this.up.copy(dx(i, st.modules.five.camera.position)), this.points = i, this.geometry = new hx(i), this.planeHelperNeedUpdate = !0;
36551
36525
  }
36552
36526
  }
36553
36527
  class Fs extends yg {
@@ -36585,7 +36559,7 @@ class Uu extends Ri {
36585
36559
  super(e, i);
36586
36560
  d(this, "type", "Rectangle");
36587
36561
  d(this, "rectangleMesh");
36588
- this.config.canEdit && (this.editor = new c3(this)), e && (this.rectangleMesh = new Fs(D(D({}, e.style), e)), this.add(this.rectangleMesh)), gt("esc", () => {
36562
+ this.config.canEdit && (this.editor = new cx(this)), e && (this.rectangleMesh = new Fs(D(D({}, e.style), e)), this.add(this.rectangleMesh)), gt("esc", () => {
36589
36563
  this.stopCreating();
36590
36564
  });
36591
36565
  }
@@ -36608,7 +36582,7 @@ class Uu extends Ri {
36608
36582
  (e = this.rectangleMesh) == null || e.unhighlight();
36609
36583
  }
36610
36584
  create(e) {
36611
- return _(this, null, function* () {
36585
+ return G(this, null, function* () {
36612
36586
  this.removeChildren();
36613
36587
  const i = new Fs(e);
36614
36588
  this.rectangleMesh = i, this.add(this.rectangleMesh), yield wg(this.rectangleMesh, this.pointSelector), this.editor.enable();
@@ -36646,7 +36620,7 @@ function wg(n, t) {
36646
36620
  t.on("select", h), t.on("intersectionUpdate", u), t.on("disable", m);
36647
36621
  });
36648
36622
  }
36649
- class u3 extends no {
36623
+ class ux extends no {
36650
36624
  constructor(t) {
36651
36625
  super(t, () => ({ yAxis: t.circleMesh.normal }));
36652
36626
  }
@@ -36654,7 +36628,7 @@ class u3 extends no {
36654
36628
  function Cg(n) {
36655
36629
  return Math.max(32, Math.min(128, Math.floor(n * 40)));
36656
36630
  }
36657
- class f3 extends sc {
36631
+ class fx extends sc {
36658
36632
  constructor(e) {
36659
36633
  super(e);
36660
36634
  d(this, "_normal");
@@ -36685,7 +36659,7 @@ class f3 extends sc {
36685
36659
  this.highlighted && (this.highlighted = !1, this.setStyle({ opacity: this.opacityBeforeHighlight }), this.needsRender = !0);
36686
36660
  }
36687
36661
  }
36688
- class gr extends f3 {
36662
+ class gr extends fx {
36689
36663
  constructor(e) {
36690
36664
  const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r = bn(a, ["normal", "radius", "center"]);
36691
36665
  super(r);
@@ -36712,7 +36686,7 @@ class Yu extends Ri {
36712
36686
  super(e, i);
36713
36687
  d(this, "type", "Circle");
36714
36688
  d(this, "circleMesh");
36715
- this.editor = new u3(this), e && (this.circleMesh = new gr(D(D({}, e.style), e)), this.add(this.circleMesh)), gt("esc", () => {
36689
+ this.editor = new ux(this), e && (this.circleMesh = new gr(D(D({}, e.style), e)), this.add(this.circleMesh)), gt("esc", () => {
36716
36690
  this.stopCreating();
36717
36691
  });
36718
36692
  }
@@ -36735,7 +36709,7 @@ class Yu extends Ri {
36735
36709
  (e = this.circleMesh) == null || e.unhighlight();
36736
36710
  }
36737
36711
  create(e) {
36738
- return _(this, null, function* () {
36712
+ return G(this, null, function* () {
36739
36713
  this.children.forEach((s) => {
36740
36714
  s.parent === this && this.remove(s);
36741
36715
  }), this.children.length = 0;
@@ -36841,7 +36815,7 @@ class Xu extends zt {
36841
36815
  this.edgeMesh.position.copy(new w.Vector3().lerpVectors(i, e, 0.5)), this.edgeMesh.quaternion.copy(s);
36842
36816
  }
36843
36817
  }
36844
- class m3 extends no {
36818
+ class mx extends no {
36845
36819
  constructor(t) {
36846
36820
  super(t, () => {
36847
36821
  const e = () => {
@@ -36882,7 +36856,7 @@ class Zu extends Ri {
36882
36856
  super(e, i);
36883
36857
  d(this, "type", "Cylinder");
36884
36858
  d(this, "cylinderMesh");
36885
- this.editor = new m3(this), e && (this.cylinderMesh = new Xu(D(D({}, e.style), e)), this.add(this.cylinderMesh));
36859
+ this.editor = new mx(this), e && (this.cylinderMesh = new Xu(D(D({}, e.style), e)), this.add(this.cylinderMesh));
36886
36860
  }
36887
36861
  get data() {
36888
36862
  return re(D({}, this.baseData), {
@@ -36903,13 +36877,13 @@ class Zu extends Ri {
36903
36877
  (e = this.cylinderMesh) == null || e.unhighlight();
36904
36878
  }
36905
36879
  create(e) {
36906
- return _(this, null, function* () {
36907
- this.cylinderMesh = new Xu(e), this.add(this.cylinderMesh), yield g3(this.cylinderMesh, this.pointSelector), this.editor.enable();
36880
+ return G(this, null, function* () {
36881
+ this.cylinderMesh = new Xu(e), this.add(this.cylinderMesh), yield gx(this.cylinderMesh, this.pointSelector), this.editor.enable();
36908
36882
  });
36909
36883
  }
36910
36884
  }
36911
- function g3(n, t) {
36912
- return _(this, null, function* () {
36885
+ function gx(n, t) {
36886
+ return G(this, null, function* () {
36913
36887
  const e = n.parent;
36914
36888
  yield Pg(n.bottomCircle, t);
36915
36889
  const i = new on();
@@ -36936,7 +36910,7 @@ function g3(n, t) {
36936
36910
  });
36937
36911
  });
36938
36912
  }
36939
- class p3 extends no {
36913
+ class px extends no {
36940
36914
  constructor(t) {
36941
36915
  super(t, () => {
36942
36916
  const e = () => {
@@ -37056,7 +37030,7 @@ class qu extends Ri {
37056
37030
  super(e, i);
37057
37031
  d(this, "type", "Box");
37058
37032
  d(this, "boxMesh");
37059
- this.editor = new p3(this), e && (this.boxMesh = new Ju(D(D({}, e.style), e)), this.add(this.boxMesh)), gt("esc", () => {
37033
+ this.editor = new px(this), e && (this.boxMesh = new Ju(D(D({}, e.style), e)), this.add(this.boxMesh)), gt("esc", () => {
37060
37034
  this.stopCreating();
37061
37035
  });
37062
37036
  }
@@ -37080,13 +37054,13 @@ class qu extends Ri {
37080
37054
  (e = this.boxMesh) == null || e.unhighlight();
37081
37055
  }
37082
37056
  create(e) {
37083
- return _(this, null, function* () {
37084
- this.removeChildren(), this.boxMesh = new Ju(e), this.add(this.boxMesh), yield A3(this.boxMesh, this.pointSelector), this.editor.enable();
37057
+ return G(this, null, function* () {
37058
+ this.removeChildren(), this.boxMesh = new Ju(e), this.add(this.boxMesh), yield Ax(this.boxMesh, this.pointSelector), this.editor.enable();
37085
37059
  });
37086
37060
  }
37087
37061
  }
37088
- function A3(n, t) {
37089
- return _(this, null, function* () {
37062
+ function Ax(n, t) {
37063
+ return G(this, null, function* () {
37090
37064
  return yield wg(n.bottomPlane, t), new Promise((e, i) => {
37091
37065
  const s = n.parent;
37092
37066
  if (!s) {
@@ -37115,11 +37089,11 @@ function A3(n, t) {
37115
37089
  });
37116
37090
  });
37117
37091
  }
37118
- function v3(n, t) {
37092
+ function vx(n, t) {
37119
37093
  for (let e = n.length - 1; e >= 0; e--)
37120
37094
  t(n[e]);
37121
37095
  }
37122
- const Ln = class extends It {
37096
+ const Ln = class extends Pt {
37123
37097
  constructor(e, i) {
37124
37098
  super();
37125
37099
  d(this, "group");
@@ -37179,7 +37153,7 @@ const Ln = class extends It {
37179
37153
  * @description: 开始绘制点
37180
37154
  */
37181
37155
  createPoint(e) {
37182
- return _(this, null, function* () {
37156
+ return G(this, null, function* () {
37183
37157
  var i;
37184
37158
  return this.createItem(Gu, D(D({}, (i = this.theme) == null ? void 0 : i.point), e));
37185
37159
  });
@@ -37188,7 +37162,7 @@ const Ln = class extends It {
37188
37162
  * @description: 开始绘制空间折线
37189
37163
  */
37190
37164
  createPolyline(e) {
37191
- return _(this, null, function* () {
37165
+ return G(this, null, function* () {
37192
37166
  var i;
37193
37167
  return this.createItem(Fu, D(D({}, (i = this.theme) == null ? void 0 : i.polyline), e));
37194
37168
  });
@@ -37197,7 +37171,7 @@ const Ln = class extends It {
37197
37171
  * @description: 开始绘制平面多边形
37198
37172
  */
37199
37173
  createPolygon(e) {
37200
- return _(this, null, function* () {
37174
+ return G(this, null, function* () {
37201
37175
  var i;
37202
37176
  return this.createItem(Qu, D(D({}, (i = this.theme) == null ? void 0 : i.polygon), e));
37203
37177
  });
@@ -37206,7 +37180,7 @@ const Ln = class extends It {
37206
37180
  * @description: 开始绘制多棱柱
37207
37181
  */
37208
37182
  createPrism(e) {
37209
- return _(this, null, function* () {
37183
+ return G(this, null, function* () {
37210
37184
  var i;
37211
37185
  return this.createItem(Wu, D(D({}, (i = this.theme) == null ? void 0 : i.prism), e));
37212
37186
  });
@@ -37215,7 +37189,7 @@ const Ln = class extends It {
37215
37189
  * @description: 开始绘制矩形
37216
37190
  */
37217
37191
  createRectangle(e) {
37218
- return _(this, null, function* () {
37192
+ return G(this, null, function* () {
37219
37193
  var i;
37220
37194
  return this.createItem(Uu, D(D({}, (i = this.theme) == null ? void 0 : i.rectangle), e));
37221
37195
  });
@@ -37224,7 +37198,7 @@ const Ln = class extends It {
37224
37198
  * @description: 开始绘制圆形
37225
37199
  */
37226
37200
  createCircle(e) {
37227
- return _(this, null, function* () {
37201
+ return G(this, null, function* () {
37228
37202
  var i;
37229
37203
  return this.createItem(Yu, D(D({}, (i = this.theme) == null ? void 0 : i.circle), e));
37230
37204
  });
@@ -37233,7 +37207,7 @@ const Ln = class extends It {
37233
37207
  * @description: 开始绘制圆柱
37234
37208
  */
37235
37209
  createCylinder(e) {
37236
- return _(this, null, function* () {
37210
+ return G(this, null, function* () {
37237
37211
  var i;
37238
37212
  return this.createItem(Zu, D(D({}, (i = this.theme) == null ? void 0 : i.cylinder), e));
37239
37213
  });
@@ -37242,7 +37216,7 @@ const Ln = class extends It {
37242
37216
  * @description: 开始绘制 Box
37243
37217
  */
37244
37218
  createBox(e) {
37245
- return _(this, null, function* () {
37219
+ return G(this, null, function* () {
37246
37220
  var i;
37247
37221
  return this.createItem(qu, D(D({}, (i = this.theme) == null ? void 0 : i.box), e));
37248
37222
  });
@@ -37261,10 +37235,10 @@ const Ln = class extends It {
37261
37235
  * @description: 清空数据
37262
37236
  */
37263
37237
  clear() {
37264
- v3(this.items, (e) => e.delete()), this.five.needsRender = !0;
37238
+ vx(this.items, (e) => e.delete()), this.five.needsRender = !0;
37265
37239
  }
37266
37240
  createItem(e, ...i) {
37267
- return _(this, null, function* () {
37241
+ return G(this, null, function* () {
37268
37242
  const s = new e();
37269
37243
  return this.group.add(s), yield s.create(...i).catch((o) => {
37270
37244
  console.error(o), this.group.remove(s);
@@ -37275,17 +37249,17 @@ const Ln = class extends It {
37275
37249
  let st = Ln;
37276
37250
  d(st, "modules", hg);
37277
37251
  const oD = (n) => new st(n);
37278
- function b3(n, ...t) {
37252
+ function bx(n, ...t) {
37279
37253
  t.forEach((e) => {
37280
37254
  n.children.includes(e) || e && n.add(e);
37281
37255
  });
37282
37256
  }
37283
- function y3(n, t) {
37257
+ function yx(n, t) {
37284
37258
  const { x: e, y: i, z: s } = t.clone().project(n);
37285
37259
  return s > 1 ? void 0 : { leftPercent: (e + 1) / 2 * 100, topPercent: (-i + 1) / 2 * 100 };
37286
37260
  }
37287
37261
  const Ku = "LightTagContainer_shgjakdhwakjdhsja";
37288
- class w3 {
37262
+ class wx {
37289
37263
  constructor(t, e, i) {
37290
37264
  d(this, "container");
37291
37265
  d(this, "visible", !1);
@@ -37299,7 +37273,7 @@ class w3 {
37299
37273
  d(this, "onCameraUpdate", () => {
37300
37274
  if (this.visible === !1)
37301
37275
  return;
37302
- const t = y3(this.five.camera, this.transformedPosition);
37276
+ const t = yx(this.five.camera, this.transformedPosition);
37303
37277
  t ? (this.container.style.left = t.leftPercent + "%", this.container.style.top = t.topPercent + "%") : (this.container.style.left = "-100%", this.container.style.top = "-100%");
37304
37278
  });
37305
37279
  d(this, "onFiveEveryReady", () => {
@@ -37348,15 +37322,15 @@ class w3 {
37348
37322
  this.transformedPosition = this.originPosition.clone().applyMatrix4(t), this.onCameraUpdate();
37349
37323
  }
37350
37324
  }
37351
- function C3(n, t, e) {
37352
- return new w3(n, t, e);
37325
+ function Cx(n, t, e) {
37326
+ return new wx(n, t, e);
37353
37327
  }
37354
37328
  let Fo;
37355
37329
  const Ig = (n) => ((!Fo || n !== Fo.five) && (Fo = {
37356
37330
  instance: new _l(n, { noEmitWhenHide: !0, noEmitWhenNotInScene: !0 }),
37357
37331
  five: n
37358
37332
  }), Fo.instance);
37359
- class Eg extends It {
37333
+ class Eg extends Pt {
37360
37334
  constructor(e) {
37361
37335
  var s, o;
37362
37336
  super();
@@ -37369,7 +37343,7 @@ class Eg extends It {
37369
37343
  d(this, "fiveDomEvents");
37370
37344
  this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = Ig(this.five);
37371
37345
  const i = (o = (s = e.position) != null ? s : this.model.center) != null ? o : $s(this.model).getCenter(new w.Vector3());
37372
- this.tag = C3(this.five, i, { wrapper: e.tagWrapper });
37346
+ this.tag = Cx(this.five, i, { wrapper: e.tagWrapper });
37373
37347
  }
37374
37348
  get container() {
37375
37349
  return this.tag.container;
@@ -37387,7 +37361,7 @@ class Eg extends It {
37387
37361
  this.tag.hide(), this.model.visible = !1, this.five.needsRender = !0, this.emit("hide");
37388
37362
  }
37389
37363
  enable() {
37390
- b3(this.group, this.model), this.five.needsRender = !0, this.model.updateMatrixWorld(!0), this.tag.setTransformMatrix(this.model.matrixWorld), this.tag.enable();
37364
+ bx(this.group, this.model), this.five.needsRender = !0, this.model.updateMatrixWorld(!0), this.tag.setTransformMatrix(this.model.matrixWorld), this.tag.enable();
37391
37365
  const e = this.onClick.bind(this);
37392
37366
  this.fiveDomEvents.addEventListener(this.model, "click", e), this.emit("enable");
37393
37367
  }
@@ -37419,12 +37393,12 @@ class Mg extends Eg {
37419
37393
  return this.tag.visible ? this.tag.hide({ withAnimation: !0 }) : this.tag.show(), super.onClick(), !0;
37420
37394
  }
37421
37395
  }
37422
- class P3 extends Mg {
37396
+ class Px extends Mg {
37423
37397
  constructor(...t) {
37424
37398
  super(...t);
37425
37399
  }
37426
37400
  }
37427
- function I3(n) {
37401
+ function Ix(n) {
37428
37402
  me(n, "svelte-129wfaa", ".withAnimation{transition:opacity 0.2s linear}.model-maker-tag.svelte-129wfaa{position:absolute;width:-moz-max-content;width:max-content;left:50%;top:50%;transform:translate(-50%, -50%);color:#fff;font-size:0.875rem;font-weight:bold;text-shadow:0.125rem 0 0.5rem rgba(0, 0, 0, 0.15)}");
37429
37403
  }
37430
37404
  function $u(n) {
@@ -37452,7 +37426,7 @@ function $u(n) {
37452
37426
  }
37453
37427
  };
37454
37428
  }
37455
- function E3(n) {
37429
+ function Ex(n) {
37456
37430
  let t, e = (
37457
37431
  /*text*/
37458
37432
  n[0] && $u(n)
@@ -37475,43 +37449,43 @@ function E3(n) {
37475
37449
  }
37476
37450
  };
37477
37451
  }
37478
- function M3(n, t, e) {
37452
+ function Mx(n, t, e) {
37479
37453
  let { text: i } = t;
37480
37454
  return n.$$set = (s) => {
37481
37455
  "text" in s && e(0, i = s.text);
37482
37456
  }, [i];
37483
37457
  }
37484
- class k3 extends de {
37458
+ class kx extends de {
37485
37459
  constructor(t) {
37486
- super(), he(this, t, M3, E3, ce, { text: 0 }, I3);
37460
+ super(), he(this, t, Mx, Ex, ce, { text: 0 }, Ix);
37487
37461
  }
37488
37462
  }
37489
37463
  const ef = (n, t) => {
37490
37464
  var i;
37491
- const e = new k3({
37465
+ const e = new kx({
37492
37466
  target: n,
37493
37467
  props: { text: (i = t.rawData) == null ? void 0 : i.name }
37494
37468
  });
37495
37469
  return () => e.$destroy();
37496
- }, x3 = (n, t) => {
37470
+ }, xx = (n, t) => {
37497
37471
  var i;
37498
37472
  const e = new cg({
37499
37473
  target: n,
37500
37474
  props: { content: (i = t.rawData) == null ? void 0 : i.name }
37501
37475
  });
37502
37476
  return () => e.$destroy();
37503
- }, D3 = {
37477
+ }, Dx = {
37504
37478
  box: ef,
37505
37479
  triangles: ef,
37506
- prism: x3
37480
+ prism: xx
37507
37481
  };
37508
- class S3 extends Eg {
37482
+ class Sx extends Eg {
37509
37483
  constructor(...t) {
37510
37484
  const e = t[0], i = $s(e.model), s = new w.Vector3().lerpVectors(Ei(i, 0), Ei(i, 5), 0.5);
37511
37485
  super(re(D({}, e), { position: s })), this.enable();
37512
37486
  }
37513
37487
  }
37514
- class T3 extends vi {
37488
+ class Tx extends vi {
37515
37489
  constructor(e, i) {
37516
37490
  var s, o;
37517
37491
  super(e);
@@ -37541,7 +37515,7 @@ class T3 extends vi {
37541
37515
  d(this, "updateTagRenderer", () => {
37542
37516
  this.items.forEach((e) => {
37543
37517
  var s;
37544
- const i = (s = this.tagRendererMap[e.type]) != null ? s : D3[e.type];
37518
+ const i = (s = this.tagRendererMap[e.type]) != null ? s : Dx[e.type];
37545
37519
  i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e));
37546
37520
  });
37547
37521
  });
@@ -37552,7 +37526,7 @@ class T3 extends vi {
37552
37526
  })(), e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
37553
37527
  }
37554
37528
  load(e) {
37555
- return _(this, null, function* () {
37529
+ return G(this, null, function* () {
37556
37530
  var r;
37557
37531
  if (this.clear(), this.data = e, yield es(this.five), this.data !== e)
37558
37532
  return;
@@ -37596,7 +37570,7 @@ class T3 extends vi {
37596
37570
  occlusionVisibility: i,
37597
37571
  occlusionMode: s
37598
37572
  });
37599
- const p = new S3({
37573
+ const p = new Sx({
37600
37574
  five: this.five,
37601
37575
  tagWrapper: this.tagWrapper,
37602
37576
  model: u,
@@ -37618,7 +37592,7 @@ class T3 extends vi {
37618
37592
  occlusionVisibility: i,
37619
37593
  occlusionMode: s
37620
37594
  });
37621
- const F = new P3({
37595
+ const F = new Px({
37622
37596
  five: this.five,
37623
37597
  tagWrapper: this.tagWrapper,
37624
37598
  model: u,
@@ -37668,7 +37642,7 @@ class T3 extends vi {
37668
37642
  this.group.visible = !1, this.tagWrapper.style.visibility = "hidden", this.five.needsRender = !0;
37669
37643
  }
37670
37644
  }
37671
- const rD = (...n) => new T3(...n);
37645
+ const rD = (...n) => new Tx(...n);
37672
37646
  $g();
37673
37647
  Kg();
37674
37648
  export {
@@ -37676,68 +37650,68 @@ export {
37676
37650
  _s as CSS3DRender,
37677
37651
  Cf as CSS3DRenderPlugin,
37678
37652
  ub as CameraMovementEffect,
37679
- px as CameraMovementPlugin,
37653
+ p3 as CameraMovementPlugin,
37680
37654
  Ww as ContentType,
37681
- Xx as CruisePlugin,
37655
+ X3 as CruisePlugin,
37682
37656
  Kl as CruisePluginController,
37683
- Yx as CruisePluginTypes,
37657
+ Y3 as CruisePluginTypes,
37684
37658
  sD as CurrentPanoImagePlugin,
37685
37659
  Ls as DIRECTION,
37686
37660
  xn as DISPLAY_STRATEGY_TYPE,
37687
37661
  Uw as DimensionType,
37688
37662
  Xi as FLOOR_PLAN_ATTACHED_TO,
37689
- ux as FLOOR_TYPE_MAP,
37690
- Wx as GuideLineItem,
37691
- _x as GuideLineModeItem,
37663
+ u3 as FLOOR_TYPE_MAP,
37664
+ W3 as GuideLineItem,
37665
+ _3 as GuideLineModeItem,
37692
37666
  og as GuideLinePlugin,
37693
37667
  Dn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
37694
- jx as ItemLabelPlugin,
37668
+ j3 as ItemLabelPlugin,
37695
37669
  vl as Magnifier,
37696
- rx as MapviewFloorplanPlugin,
37697
- mx as ModelChassisCompassPlugin,
37698
- gx as ModelEntryDoorGuidePlugin,
37699
- sx as ModelFloorplanPlugin,
37700
- Dx as ModelItemLabelPlugin,
37670
+ r3 as MapviewFloorplanPlugin,
37671
+ m3 as ModelChassisCompassPlugin,
37672
+ g3 as ModelEntryDoorGuidePlugin,
37673
+ s3 as ModelFloorplanPlugin,
37674
+ D3 as ModelItemLabelPlugin,
37701
37675
  rD as ModelMakerPlugin,
37702
- J3 as ModelRoomLabelPlugin,
37703
- Tx as ModelTVVideoPlugin,
37704
- W3 as ModelViewPlugin,
37676
+ Jx as ModelRoomLabelPlugin,
37677
+ T3 as ModelTVVideoPlugin,
37678
+ Wx as ModelViewPlugin,
37705
37679
  ng as MoveController,
37706
- Zx as MovePlugin,
37680
+ Z3 as MovePlugin,
37707
37681
  ag as Object3DHelperController,
37708
- qx as Object3DHelperPlugin,
37682
+ q3 as Object3DHelperPlugin,
37709
37683
  tc as PLUGIN,
37710
- Q3 as PaintBrush,
37684
+ Qx as PaintBrush,
37711
37685
  Ii as PaintBrushTypeEnum,
37712
- yx as PanoCompassPlugin,
37713
- Z3 as PanoCursorRaycasterPlugin,
37714
- Ox as PanoDoorLabelPlugin,
37715
- hx as PanoFloorplanRadarPlugin,
37716
- Ix as PanoMeasurePlugin,
37686
+ y3 as PanoCompassPlugin,
37687
+ Zx as PanoCursorRaycasterPlugin,
37688
+ O3 as PanoDoorLabelPlugin,
37689
+ h3 as PanoFloorplanRadarPlugin,
37690
+ I3 as PanoMeasurePlugin,
37717
37691
  Si as PanoMeasurePluginLine,
37718
37692
  dm as PanoMeasurePluginModel,
37719
37693
  Bt as PanoMeasurePluginPoint,
37720
37694
  Qn as PanoMeasurePluginPolyline,
37721
- Ax as PanoRulerPlugin,
37722
- bx as PanoRulerProPlugin,
37723
- Mx as PanoSpatialTagPlugin,
37724
- Gx as PanoTagPlugin,
37695
+ A3 as PanoRulerPlugin,
37696
+ b3 as PanoRulerProPlugin,
37697
+ M3 as PanoSpatialTagPlugin,
37698
+ G3 as PanoTagPlugin,
37725
37699
  cl as PanoTagPluginController,
37726
- $x as PanoVideoPlugin,
37727
- Kx as PanoVideoPluginType,
37700
+ $3 as PanoVideoPlugin,
37701
+ K3 as PanoVideoPluginType,
37728
37702
  tD as PipelinePlugin,
37729
37703
  Qw as PointType,
37730
- dx as ROOM_FETILE_TYPE_MAP,
37731
- fx as ROOM_TYPE_MAP,
37704
+ d3 as ROOM_FETILE_TYPE_MAP,
37705
+ f3 as ROOM_TYPE_MAP,
37732
37706
  mi as Rotation,
37733
37707
  st as Sculpt,
37734
37708
  oD as SculptPlugin,
37735
- lx as TopviewFloorplanPlugin,
37736
- Y3 as Util,
37709
+ l3 as TopviewFloorplanPlugin,
37710
+ Yx as Util,
37737
37711
  Kl as WalkController,
37738
37712
  _w as defaultGlobalConfig,
37739
- zx as itemLabelPluginServerParams,
37740
- Sx as modelItemLabelPluginServerParams,
37741
- q3 as modelRoomLabelPluginServerParams,
37742
- Fx as pluginFlag
37713
+ z3 as itemLabelPluginServerParams,
37714
+ S3 as modelItemLabelPluginServerParams,
37715
+ qx as modelRoomLabelPluginServerParams,
37716
+ F3 as pluginFlag
37743
37717
  };