@realsee/dnalogel 3.71.3 → 3.71.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (485) hide show
  1. package/CHANGELOG.md +13 -8
  2. package/dist/index.cjs.js +29 -29
  3. package/dist/index.js +364 -348
  4. package/dist/index.umd.js +29 -29
  5. package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +1 -0
  6. package/dist/shared-utils/Subscribe.d.ts +9 -1
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  9. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  10. package/docs/classes/CSS3DRender.html +2 -2
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  13. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  14. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +23 -17
  15. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +23 -17
  16. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +23 -17
  17. package/docs/classes/ModelRoomLabelController.html +2 -2
  18. package/docs/classes/MoveController.html +2 -2
  19. package/docs/classes/Object3DHelperController.html +2 -2
  20. package/docs/classes/PaintBrush.html +2 -2
  21. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  22. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  23. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  24. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  25. package/docs/classes/PanoTagPluginController.html +2 -2
  26. package/docs/classes/Sculpt.html +23 -17
  27. package/docs/classes/Util.BetterTween.html +2 -2
  28. package/docs/classes/Util.FiveDomEvents.html +2 -2
  29. package/docs/classes/Util.FivePuppet.html +2 -2
  30. package/docs/classes/Util.Interval.html +2 -2
  31. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  32. package/docs/classes/Util.LightTag.html +2 -2
  33. package/docs/classes/Util.LineSegments.html +2 -2
  34. package/docs/classes/Util.Magnifier.html +2 -2
  35. package/docs/classes/Util.Object3D.html +2 -2
  36. package/docs/classes/Util.PointDomHelper.html +2 -2
  37. package/docs/classes/Util.PointHelper.html +2 -2
  38. package/docs/classes/Util.PointSelector.html +23 -17
  39. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  40. package/docs/classes/Util.Rectangle.html +2 -2
  41. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  42. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  43. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  44. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  45. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  46. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  47. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  49. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  50. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  52. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  53. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  54. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  55. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  56. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  57. package/docs/classes/WalkController.html +2 -2
  58. package/docs/enums/CameraMovementEffect.html +2 -2
  59. package/docs/enums/ContentType.html +2 -2
  60. package/docs/enums/DIRECTION.html +2 -2
  61. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  62. package/docs/enums/DimensionType.html +2 -2
  63. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  64. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  65. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  66. package/docs/enums/PointType.html +2 -2
  67. package/docs/enums/Rotation.html +2 -2
  68. package/docs/functions/AreaMakerPlugin.html +1 -1
  69. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  70. package/docs/functions/CameraMovementPlugin.html +2 -2
  71. package/docs/functions/CruisePlugin.html +1 -1
  72. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  73. package/docs/functions/FloorplanGuidePlugin.html +1 -1
  74. package/docs/functions/GuideLinePlugin.html +1 -1
  75. package/docs/functions/ItemLabelPlugin.html +1 -1
  76. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  77. package/docs/functions/MeasurePlugin.html +1 -1
  78. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  79. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  80. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  81. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  82. package/docs/functions/ModelMakerPlugin.html +1 -1
  83. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  84. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  85. package/docs/functions/ModelViewPlugin.html +2 -2
  86. package/docs/functions/MovePlugin.html +1 -1
  87. package/docs/functions/Object3DHelperPlugin.html +1 -1
  88. package/docs/functions/PanoCompassPlugin.html +1 -1
  89. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  90. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  91. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  92. package/docs/functions/PanoMeasurePlugin.html +1 -1
  93. package/docs/functions/PanoRulerPlugin.html +2 -2
  94. package/docs/functions/PanoRulerProPlugin.html +2 -2
  95. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  96. package/docs/functions/PanoTagPlugin.html +1 -1
  97. package/docs/functions/PanoVideoPlugin.html +2 -2
  98. package/docs/functions/PipelinePlugin.html +1 -1
  99. package/docs/functions/SculptPlugin.html +2 -2
  100. package/docs/functions/SculptPluginForFive.html +2 -2
  101. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  102. package/docs/functions/Util.awaitNextFrame.html +1 -1
  103. package/docs/functions/Util.blink.html +2 -2
  104. package/docs/functions/Util.blinkWithPreset.html +2 -2
  105. package/docs/functions/Util.bounding.html +1 -1
  106. package/docs/functions/Util.boundingBox.html +1 -1
  107. package/docs/functions/Util.boundingSphere.html +1 -1
  108. package/docs/functions/Util.boxVertex.html +2 -2
  109. package/docs/functions/Util.boxVertexes.html +1 -1
  110. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  111. package/docs/functions/Util.cleanup.html +2 -2
  112. package/docs/functions/Util.convexHull.html +2 -2
  113. package/docs/functions/Util.equal.html +2 -2
  114. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  115. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  116. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  117. package/docs/functions/Util.getFrameTime.html +2 -2
  118. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  119. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  120. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  121. package/docs/functions/Util.inside.html +1 -1
  122. package/docs/functions/Util.isModelLike.html +1 -1
  123. package/docs/functions/Util.isNil.html +2 -2
  124. package/docs/functions/Util.isPanoramaLike.html +1 -1
  125. package/docs/functions/Util.lookObject.html +2 -2
  126. package/docs/functions/Util.lookPoint.html +2 -2
  127. package/docs/functions/Util.nextFrame.html +1 -1
  128. package/docs/functions/Util.notNil.html +2 -2
  129. package/docs/functions/Util.reblink.html +2 -2
  130. package/docs/functions/Util.replaceStaticPrefix.html +2 -2
  131. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  132. package/docs/functions/Util.sculpt.createBox.html +1 -1
  133. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  134. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  135. package/docs/functions/Util.sculpt.createLine.html +2 -2
  136. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  137. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  138. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  139. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  140. package/docs/functions/Util.tag.html +1 -1
  141. package/docs/functions/Util.tweenProgress.html +1 -1
  142. package/docs/functions/Util.uuid.html +2 -2
  143. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  144. package/docs/functions/Util.worldBounding.html +1 -1
  145. package/docs/functions/Util.worldBoundingBox.html +1 -1
  146. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  147. package/docs/functions/createPolyline.html +2 -2
  148. package/docs/functions/pluginFlag.html +1 -1
  149. package/docs/hierarchy.html +1 -1
  150. package/docs/index.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  152. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  154. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  155. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  156. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  157. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  158. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  159. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  160. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  161. package/docs/interfaces/BoxAnimationConfig.html +2 -2
  162. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  163. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  164. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  165. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  166. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  168. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  169. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  170. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  171. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  172. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  173. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  174. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  175. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  176. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  177. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  178. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  179. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  180. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  181. package/docs/interfaces/FloorplanBounding.html +2 -2
  182. package/docs/interfaces/FloorplanData.html +2 -2
  183. package/docs/interfaces/FloorplanEntrance.html +2 -2
  184. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  185. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  186. package/docs/interfaces/FloorplanFloorData.html +2 -2
  187. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  188. package/docs/interfaces/FloorplanObserver.html +2 -2
  189. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  190. package/docs/interfaces/FloorplanPosition.html +2 -2
  191. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  192. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  193. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  194. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  195. package/docs/interfaces/FloorplanServerData.html +2 -2
  196. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  197. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  198. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  199. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  200. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  201. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  202. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  203. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  204. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  205. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  206. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  214. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  215. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  217. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  218. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  219. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  220. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  221. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  222. package/docs/interfaces/HelperOffset.html +2 -2
  223. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  224. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  225. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  226. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  227. package/docs/interfaces/MinMax.html +2 -2
  228. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  229. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  230. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  231. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  232. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  233. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  234. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  235. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  236. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  238. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  239. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  240. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  241. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  242. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  243. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  244. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  245. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  246. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  247. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  248. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  249. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  250. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  251. package/docs/interfaces/Object3DHelperState.html +2 -2
  252. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  253. package/docs/interfaces/PaintBrushAction.html +2 -2
  254. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  255. package/docs/interfaces/PaintBrushState.html +2 -2
  256. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  257. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  258. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  259. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  260. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  261. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  262. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  263. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  264. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  265. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  266. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  267. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  268. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  269. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  270. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  271. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  272. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  273. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  274. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  275. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  276. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  277. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  278. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  279. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  280. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  281. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  282. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  283. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  284. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  285. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  286. package/docs/interfaces/PluginEventMap.html +2 -2
  287. package/docs/interfaces/Point.html +2 -2
  288. package/docs/interfaces/Room.html +2 -2
  289. package/docs/interfaces/RoomInfo.html +2 -2
  290. package/docs/interfaces/RoomLabel.html +2 -2
  291. package/docs/interfaces/RoomRules.html +1 -1
  292. package/docs/interfaces/Rooms.html +1 -1
  293. package/docs/interfaces/Scissor.html +2 -2
  294. package/docs/interfaces/SculptConfig.html +2 -2
  295. package/docs/interfaces/State.html +2 -2
  296. package/docs/interfaces/TagCacheInterface.html +2 -2
  297. package/docs/interfaces/TagConfig.html +2 -2
  298. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  299. package/docs/interfaces/TagIconAnimationConfig.html +2 -2
  300. package/docs/interfaces/TagIconUrl.html +2 -2
  301. package/docs/interfaces/TagObjectGroup.html +2 -2
  302. package/docs/interfaces/TagState.html +2 -2
  303. package/docs/interfaces/TagStyle.html +2 -2
  304. package/docs/interfaces/Tags.html +2 -2
  305. package/docs/interfaces/TemporaryState.html +2 -2
  306. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  307. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  308. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  309. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  310. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  311. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  312. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  313. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  314. package/docs/interfaces/Util.ObjectInitialState.html +2 -2
  315. package/docs/interfaces/Util.PointIntersection.html +2 -2
  316. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  317. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  318. package/docs/modules/AreaMakerPluginType.html +2 -2
  319. package/docs/modules/CruisePluginTypes.html +2 -2
  320. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  321. package/docs/modules/GuideLineItem.html +2 -2
  322. package/docs/modules/GuideLineModeItem.html +2 -2
  323. package/docs/modules/GuideLinePluginType.html +2 -2
  324. package/docs/modules/ModelMakerPluginType.html +2 -2
  325. package/docs/modules/PanoVideoPluginType.html +2 -2
  326. package/docs/modules/SculptData.html +2 -2
  327. package/docs/modules/SculptType.html +2 -2
  328. package/docs/modules/Util.html +2 -2
  329. package/docs/modules/Util.sculpt.html +2 -2
  330. package/docs/modules.html +2 -2
  331. package/docs/types/AddObject3DHelperConfig.html +2 -2
  332. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  333. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  334. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  335. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  336. package/docs/types/ArrayPosition.html +1 -1
  337. package/docs/types/AudioAppearance.html +1 -1
  338. package/docs/types/CSS3DRenderExportType.html +1 -1
  339. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  340. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  341. package/docs/types/ClassFunctionParameters.html +1 -1
  342. package/docs/types/Color.html +1 -1
  343. package/docs/types/ContentTypeConfigKey.html +1 -1
  344. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  345. package/docs/types/ContentTypeMap.html +1 -1
  346. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  347. package/docs/types/Create3DElementReturnType.html +1 -1
  348. package/docs/types/CruisePluginExportType.html +1 -1
  349. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  350. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  351. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  352. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  353. package/docs/types/DeprecatedTagProperty.html +2 -2
  354. package/docs/types/Direction-1.html +1 -1
  355. package/docs/types/Direction4.html +1 -1
  356. package/docs/types/ElementRenderer.html +2 -2
  357. package/docs/types/FloorplanGuidePluginParameterType.html +1 -1
  358. package/docs/types/FloorplanGuidePluginReturnType.html +1 -1
  359. package/docs/types/FloorplanRuleLabels.html +2 -2
  360. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  361. package/docs/types/GuideLinePluginExportType.html +1 -1
  362. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  363. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  364. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  365. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  366. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  367. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  368. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  369. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  370. package/docs/types/HelperEventMap.html +1 -1
  371. package/docs/types/InternalHelperEventMap.html +1 -1
  372. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  373. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  374. package/docs/types/MeasureEndReason.html +1 -1
  375. package/docs/types/MeasurePluginConfig.html +2 -2
  376. package/docs/types/MediaData.html +2 -2
  377. package/docs/types/MediaStore.html +1 -1
  378. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  379. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  380. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  381. package/docs/types/ModelId.html +1 -1
  382. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  383. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  384. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  385. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  386. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  387. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  388. package/docs/types/MoveArgs.html +2 -2
  389. package/docs/types/MoveOpts.html +2 -2
  390. package/docs/types/Object3DHelperEventMap.html +1 -1
  391. package/docs/types/ObjectFit.html +1 -1
  392. package/docs/types/PaintBrushEventMap.html +1 -1
  393. package/docs/types/PanoCompassPluginData.html +1 -1
  394. package/docs/types/PanoCompassPluginExportType.html +1 -1
  395. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  396. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  397. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  398. package/docs/types/PanoIndex.html +1 -1
  399. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  400. package/docs/types/PanoMeasureReturnType.html +1 -1
  401. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  402. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  403. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  404. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  405. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  406. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  407. package/docs/types/PipelinePluginParameterType.html +1 -1
  408. package/docs/types/PipelinePluginReturnType.html +1 -1
  409. package/docs/types/PlaneTag.html +2 -2
  410. package/docs/types/Point2DTag.html +2 -2
  411. package/docs/types/Point3DTag.html +2 -2
  412. package/docs/types/PointTagInstance.html +1 -1
  413. package/docs/types/Position.html +1 -1
  414. package/docs/types/PositionFrom.html +1 -1
  415. package/docs/types/RotateArgs.html +2 -2
  416. package/docs/types/RotateOpts.html +2 -2
  417. package/docs/types/RuleLabelsKey.html +1 -1
  418. package/docs/types/RuleLabelsValue.html +1 -1
  419. package/docs/types/ScaleCallback.html +1 -1
  420. package/docs/types/ScalePosition.html +2 -2
  421. package/docs/types/SculptData.BoxData.html +1 -1
  422. package/docs/types/SculptData.CircleData.html +1 -1
  423. package/docs/types/SculptData.CylinderData.html +1 -1
  424. package/docs/types/SculptData.PointData.html +1 -1
  425. package/docs/types/SculptData.PolygonData.html +1 -1
  426. package/docs/types/SculptData.PolylineData.html +1 -1
  427. package/docs/types/SculptData.PrismData.html +1 -1
  428. package/docs/types/SculptData.RectangleData.html +1 -1
  429. package/docs/types/SculptType.Theme.html +2 -2
  430. package/docs/types/StickType.html +1 -1
  431. package/docs/types/Tag.html +2 -2
  432. package/docs/types/Tag2D.html +2 -2
  433. package/docs/types/Tag3D.html +2 -2
  434. package/docs/types/TagClickParams.html +1 -1
  435. package/docs/types/TagConfigByKey.html +1 -1
  436. package/docs/types/TagContentType.html +1 -1
  437. package/docs/types/TagContentTypeMapping.html +1 -1
  438. package/docs/types/TagDimensionType.html +1 -1
  439. package/docs/types/TagElement.html +2 -2
  440. package/docs/types/TagEvents.html +1 -1
  441. package/docs/types/TagGLTFObject.html +1 -1
  442. package/docs/types/TagHooks.html +1 -1
  443. package/docs/types/TagId.html +1 -1
  444. package/docs/types/TagInstance.html +1 -1
  445. package/docs/types/TagPlacement.html +2 -2
  446. package/docs/types/TagPointType.html +2 -2
  447. package/docs/types/TagRendererMap.html +1 -1
  448. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  449. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  450. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  451. package/docs/types/Util.AdherePoint.html +2 -2
  452. package/docs/types/Util.PointSelectorConfig.html +1 -1
  453. package/docs/types/Util.SupportedTarget.html +2 -2
  454. package/docs/types/Util.Target.html +2 -2
  455. package/docs/types/Util.ThreeObject.html +2 -2
  456. package/docs/types/WorkCode.html +1 -1
  457. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  458. package/docs/variables/PLUGIN.html +1 -1
  459. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  460. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  461. package/docs/variables/Util.ANIME_PRESETS.html +2 -2
  462. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -2
  463. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -2
  464. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -2
  465. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -2
  466. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -2
  467. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -2
  468. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -2
  469. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -2
  470. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -2
  471. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -2
  472. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -2
  473. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -2
  474. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -2
  475. package/docs/variables/defaultGlobalConfig.html +1 -1
  476. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  477. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  478. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  479. package/libs/base/BasePlugin.js +1 -1
  480. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +60 -60
  481. package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +1 -0
  482. package/libs/shared-utils/Subscribe.d.ts +9 -1
  483. package/libs/shared-utils/Subscribe.js +27 -11
  484. package/libs/shared-utils/logger.js +1 -1
  485. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  var TA = Object.defineProperty, LA = Object.defineProperties;
2
2
  var zA = Object.getOwnPropertyDescriptors;
3
- var Pa = Object.getOwnPropertySymbols;
3
+ var Ca = Object.getOwnPropertySymbols;
4
4
  var cd = Object.prototype.hasOwnProperty, hd = Object.prototype.propertyIsEnumerable;
5
5
  var Xn = Math.pow, sc = (n, t, e) => t in n ? TA(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, F = (n, t) => {
6
6
  for (var e in t || (t = {}))
7
7
  cd.call(t, e) && sc(n, e, t[e]);
8
- if (Pa)
9
- for (var e of Pa(t))
8
+ if (Ca)
9
+ for (var e of Ca(t))
10
10
  hd.call(t, e) && sc(n, e, t[e]);
11
11
  return n;
12
12
  }, ce = (n, t) => LA(n, zA(t));
@@ -14,8 +14,8 @@ var Yn = (n, t) => {
14
14
  var e = {};
15
15
  for (var i in n)
16
16
  cd.call(n, i) && t.indexOf(i) < 0 && (e[i] = n[i]);
17
- if (n != null && Pa)
18
- for (var i of Pa(n))
17
+ if (n != null && Ca)
18
+ for (var i of Ca(n))
19
19
  t.indexOf(i) < 0 && hd.call(n, i) && (e[i] = n[i]);
20
20
  return e;
21
21
  };
@@ -38,12 +38,12 @@ var ie = (n, t, e) => new Promise((i, s) => {
38
38
  });
39
39
  import { InternalWebGLRenderer as OA, Camera as jA, loadAt3d as RA, Five as Ht, Subscribe as Ko, AnimationFrameLoop as _A } from "@realsee/five";
40
40
  import * as w from "three";
41
- import { Vector3 as Ae, Vector2 as Gt, Object3D as xo, Matrix4 as nt, LineSegments as BA, ShaderMaterial as xl, Group as En, Raycaster as $o, MeshBasicMaterial as Br, Vector4 as Ss, Curve as y0, Loader as ud, LoaderUtils as oc, FileLoader as VA, TextureLoader as jh, RepeatWrapping as dd, ClampToEdgeWrapping as fd, Texture as gd, MeshPhongMaterial as rc, MeshLambertMaterial as FA, Color as Ot, sRGBEncoding as Ir, EquirectangularReflectionMapping as HA, Bone as pd, PropertyBinding as Ca, OrthographicCamera as NA, PerspectiveCamera as GA, PointLight as md, MathUtils as qi, SpotLight as WA, DirectionalLight as UA, SkinnedMesh as QA, Mesh as So, LineBasicMaterial as XA, Line as YA, Skeleton as ZA, AmbientLight as qA, BufferGeometry as Ia, Float32BufferAttribute as uo, Uint16BufferAttribute as JA, Matrix3 as KA, BufferAttribute as $A, AnimationClip as eb, Quaternion as Ds, Euler as $n, VectorKeyframeTrack as tb, QuaternionKeyframeTrack as ib, NumberKeyframeTrack as nb, CanvasTexture as sb, AnimationMixer as ob, PlaneGeometry as rb, LinearFilter as Qc, CurvePath as ab, LineCurve3 as lb, TubeGeometry as cb, SphereGeometry as hb, DoubleSide as w0, RingGeometry as ub, VideoTexture as db, SphereBufferGeometry as fb, Box3 as gb } from "three";
41
+ import { Vector3 as Ae, Vector2 as Gt, Object3D as xo, Matrix4 as nt, LineSegments as BA, ShaderMaterial as xl, Group as En, Raycaster as $o, MeshBasicMaterial as Vr, Vector4 as Ss, Curve as y0, Loader as ud, LoaderUtils as oc, FileLoader as VA, TextureLoader as jh, RepeatWrapping as dd, ClampToEdgeWrapping as fd, Texture as gd, MeshPhongMaterial as rc, MeshLambertMaterial as FA, Color as Ot, sRGBEncoding as Er, EquirectangularReflectionMapping as HA, Bone as pd, PropertyBinding as Ia, OrthographicCamera as NA, PerspectiveCamera as GA, PointLight as md, MathUtils as qi, SpotLight as WA, DirectionalLight as UA, SkinnedMesh as QA, Mesh as So, LineBasicMaterial as XA, Line as YA, Skeleton as ZA, AmbientLight as qA, BufferGeometry as Ea, Float32BufferAttribute as uo, Uint16BufferAttribute as JA, Matrix3 as KA, BufferAttribute as $A, AnimationClip as eb, Quaternion as Ds, Euler as $n, VectorKeyframeTrack as tb, QuaternionKeyframeTrack as ib, NumberKeyframeTrack as nb, CanvasTexture as sb, AnimationMixer as ob, PlaneGeometry as rb, LinearFilter as Qc, CurvePath as ab, LineCurve3 as lb, TubeGeometry as cb, SphereGeometry as hb, DoubleSide as w0, RingGeometry as ub, VideoTexture as db, SphereBufferGeometry as fb, Box3 as gb } from "three";
42
42
  import { LineGeometry as pb, LineMaterial as mb, THREE_Line2 as vb, Line as Ab } from "@realsee/five/line";
43
43
  import { GLTFLoader as bb } from "@realsee/five/gltf-loader";
44
44
  function yb() {
45
45
  console.debug(
46
- "%c %c@realsee/dnalogel %cv3.71.3",
46
+ "%c %c@realsee/dnalogel %cv3.71.4",
47
47
  [
48
48
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
49
49
  "background-repeat: no-repeat",
@@ -71,7 +71,7 @@ const vd = () => Promise.resolve(), Ad = {
71
71
  function Pb(n = vd) {
72
72
  Ad.__queue = Ad.__queue.then(n).catch(vd);
73
73
  }
74
- function Ea(n, t, e) {
74
+ function Ma(n, t, e) {
75
75
  const i = n.x, s = n.y, o = Math.floor(i / t * 1e4) / 1e4, r = Math.floor(s / e * 1e4) / 1e4;
76
76
  return { x: o, y: r };
77
77
  }
@@ -79,7 +79,7 @@ function ac(n, t, e) {
79
79
  const { x: i, y: s } = n, o = i * t, r = s * e;
80
80
  return { x: o, y: r };
81
81
  }
82
- function Ma(n) {
82
+ function ka(n) {
83
83
  if (n.length < 2)
84
84
  return {};
85
85
  const t = n.slice(-2), e = t[0], i = {
@@ -513,12 +513,12 @@ function Tb(n, t, e, i = Fi.Linear.None) {
513
513
  return requestAnimationFrame(o), s;
514
514
  }
515
515
  var Jn = /* @__PURE__ */ ((n) => (n.Drawline = "Drawline", n.Undo = "Undo", n.Exit = "Exit", n))(Jn || {});
516
- const Sr = Symbol("$$PAINT_BRUSH_EVENT$$");
517
- function ka(n) {
518
- return n[Sr] || (n[Sr] = {}), n[Sr];
516
+ const Dr = Symbol("$$PAINT_BRUSH_EVENT$$");
517
+ function xa(n) {
518
+ return n[Dr] || (n[Dr] = {}), n[Dr];
519
519
  }
520
520
  function Lb(n) {
521
- n[Sr] || delete n[Sr];
521
+ n[Dr] || delete n[Dr];
522
522
  }
523
523
  let zb = class {
524
524
  /**
@@ -526,7 +526,7 @@ let zb = class {
526
526
  * @param name 事件类型
527
527
  */
528
528
  hasListener(t) {
529
- const e = ka(this);
529
+ const e = xa(this);
530
530
  return e && e[t] && e[t].length > 0;
531
531
  }
532
532
  /**
@@ -539,7 +539,7 @@ let zb = class {
539
539
  * @template C 回调函数函数上下文
540
540
  */
541
541
  on(t, e, i) {
542
- const s = ka(this);
542
+ const s = xa(this);
543
543
  return s[t] || (s[t] = []), s[t].push([e, i || !1]), () => this.off(t, e);
544
544
  }
545
545
  /**
@@ -567,7 +567,7 @@ let zb = class {
567
567
  Lb(this);
568
568
  return;
569
569
  }
570
- const i = ka(this);
570
+ const i = xa(this);
571
571
  if (i[t] || (i[t] = []), e === void 0) {
572
572
  i[t].length = 0;
573
573
  return;
@@ -586,7 +586,7 @@ let zb = class {
586
586
  */
587
587
  emit(t, ...e) {
588
588
  let i = !1;
589
- const o = ka(this)[t] || [];
589
+ const o = xa(this)[t] || [];
590
590
  for (let r of o.slice()) {
591
591
  const [a, l = !1] = r, c = a(...e);
592
592
  l && this.off(t, a), c === !1 && (i = !0);
@@ -832,14 +832,14 @@ let jb = class extends zb {
832
832
  e.onmousedown = (u) => {
833
833
  u.preventDefault(), c = Date.now();
834
834
  const d = u.clientX, p = u.clientY;
835
- r = [], r.push({ x: d, y: p }), o = { x: d, y: p }, a = Ea({ x: d, y: p }, this.clientWidth, this.clientHeight), l = [];
835
+ r = [], r.push({ x: d, y: p }), o = { x: d, y: p }, a = Ma({ x: d, y: p }, this.clientWidth, this.clientHeight), l = [];
836
836
  }, e.onmousemove = (u) => {
837
837
  if (u.preventDefault(), !o)
838
838
  return;
839
839
  const d = Number(u.clientX), p = Number(u.clientY);
840
- if (Math.abs(d - o.x) < 5 && Math.abs(p - o.y) < 5 || (r.push({ x: d, y: p }), l.push(Ea({ x: d, y: p }, this.clientWidth, this.clientHeight)), r.length < 3))
840
+ if (Math.abs(d - o.x) < 5 && Math.abs(p - o.y) < 5 || (r.push({ x: d, y: p }), l.push(Ma({ x: d, y: p }, this.clientWidth, this.clientHeight)), r.length < 3))
841
841
  return;
842
- const { control: g, end: m } = Ma(r);
842
+ const { control: g, end: m } = ka(r);
843
843
  !g || !m || (h(o, g, m), o = m);
844
844
  }, e.onmouseup = (u) => {
845
845
  if (u.preventDefault(), o = null, r.length < 3)
@@ -865,14 +865,14 @@ let jb = class extends zb {
865
865
  }, e.ontouchstart = (u) => {
866
866
  u.preventDefault(), c = Date.now();
867
867
  const d = u.touches[0].clientX, p = u.touches[0].clientY;
868
- r = [], r.push({ x: d, y: p }), o = { x: d, y: p }, a = Ea({ x: d, y: p }, this.clientWidth, this.clientHeight), l = [];
868
+ r = [], r.push({ x: d, y: p }), o = { x: d, y: p }, a = Ma({ x: d, y: p }, this.clientWidth, this.clientHeight), l = [];
869
869
  }, e.ontouchmove = (u) => {
870
870
  if (u.preventDefault(), !o)
871
871
  return;
872
872
  const d = Number(u.touches[0].clientX), p = Number(u.touches[0].clientY);
873
- if (Math.abs(d - o.x) < 5 && Math.abs(p - o.y) < 5 || (r.push({ x: d, y: p }), l.push(Ea({ x: d, y: p }, this.clientWidth, this.clientHeight)), r.length < 3))
873
+ if (Math.abs(d - o.x) < 5 && Math.abs(p - o.y) < 5 || (r.push({ x: d, y: p }), l.push(Ma({ x: d, y: p }, this.clientWidth, this.clientHeight)), r.length < 3))
874
874
  return;
875
- const { control: g, end: m } = Ma(r);
875
+ const { control: g, end: m } = ka(r);
876
876
  !g || !m || (h(o, g, m), o = m);
877
877
  }, e.ontouchend = e.ontouchcancel = (u) => {
878
878
  if (u.preventDefault(), o = null, r.length < 3)
@@ -970,7 +970,7 @@ let jb = class extends zb {
970
970
  if (!g.find((M) => M === A)) {
971
971
  if (g.push(A), p.push(ac(l[A], m.clientWidth, m.clientHeight)), p.length < 3)
972
972
  return;
973
- const { control: M, end: E } = Ma(p);
973
+ const { control: M, end: E } = ka(p);
974
974
  if (!M || !E)
975
975
  return;
976
976
  a.quadraticCurveTo(M.x, M.y, E.x, E.y), a.stroke();
@@ -982,7 +982,7 @@ let jb = class extends zb {
982
982
  for (let g = 0; g < l.length; g++) {
983
983
  if (p.push(ac(l[g], this.clientWidth, this.clientHeight)), p.length < 3)
984
984
  continue;
985
- const { control: m, end: v } = Ma(p);
985
+ const { control: m, end: v } = ka(p);
986
986
  !m || !v || a.quadraticCurveTo(m.x, m.y, v.x, v.y);
987
987
  }
988
988
  a.stroke(), p = [], o && o(), r();
@@ -1062,12 +1062,12 @@ class fT {
1062
1062
  function Rb(n) {
1063
1063
  return typeof Symbol == "undefined" ? `$Symbol<${n}>$` : Symbol(n);
1064
1064
  }
1065
- const Dr = Rb("$$EVENT$$");
1066
- function xa(n) {
1067
- return n[Dr] || (n[Dr] = {}), n[Dr];
1065
+ const Tr = Rb("$$EVENT$$");
1066
+ function vr(n) {
1067
+ return n[Tr] || (n[Tr] = {}), n[Tr];
1068
1068
  }
1069
1069
  function _b(n) {
1070
- n[Dr] && delete n[Dr];
1070
+ n[Tr] && delete n[Tr];
1071
1071
  }
1072
1072
  class Mt {
1073
1073
  /**
@@ -1075,7 +1075,7 @@ class Mt {
1075
1075
  * @param name - 事件类型
1076
1076
  */
1077
1077
  hasListener(t) {
1078
- const e = xa(this);
1078
+ const e = vr(this);
1079
1079
  return !!(e != null && e[t] && e[t].length > 0);
1080
1080
  }
1081
1081
  /**
@@ -1088,7 +1088,7 @@ class Mt {
1088
1088
  * @template C - 回调函数函数上下文
1089
1089
  */
1090
1090
  on(t, e, i) {
1091
- const s = xa(this);
1091
+ const s = vr(this);
1092
1092
  return s[t] || (s[t] = []), s[t].push([e, i || !1]), () => this.off(t, e);
1093
1093
  }
1094
1094
  /**
@@ -1116,7 +1116,7 @@ class Mt {
1116
1116
  _b(this);
1117
1117
  return;
1118
1118
  }
1119
- const i = xa(this);
1119
+ const i = vr(this);
1120
1120
  if (i[t] || (i[t] = []), e === void 0) {
1121
1121
  i[t].length = 0;
1122
1122
  return;
@@ -1135,13 +1135,29 @@ class Mt {
1135
1135
  */
1136
1136
  emit(t, ...e) {
1137
1137
  let i = !1;
1138
- const o = xa(this)[t] || [];
1138
+ const o = vr(this)[t] || [];
1139
1139
  for (let r of o.slice()) {
1140
1140
  const [a, l = !1] = r, c = a(...e);
1141
1141
  l && this.off(t, a), c === !1 && (i = !0);
1142
1142
  }
1143
1143
  return i;
1144
1144
  }
1145
+ /**
1146
+ * 触发事件并返回监听器的返回值
1147
+ * @param name - 事件类型
1148
+ * @param data - 触发事件的数据
1149
+ * @returns 监听器的返回值数组
1150
+ * @template K - 预设的监听事件名称
1151
+ */
1152
+ emitWithResult(t, ...e) {
1153
+ let i;
1154
+ const o = vr(this)[t] || [];
1155
+ for (let r of o.slice()) {
1156
+ const [a, l = !1] = r, c = a(...e);
1157
+ i || (i = c), l && this.off(t, a);
1158
+ }
1159
+ return i;
1160
+ }
1145
1161
  }
1146
1162
  class Yc {
1147
1163
  constructor(t = 0, e = 0) {
@@ -1331,7 +1347,7 @@ class Dl extends E0 {
1331
1347
  return this.five.moveToPano(s, i);
1332
1348
  }
1333
1349
  }
1334
- class Vr extends w.Raycaster {
1350
+ class Fr extends w.Raycaster {
1335
1351
  intersectObject(t, e = !0, i = []) {
1336
1352
  return Zc(t, this, i, e), i.sort(Pd), i;
1337
1353
  }
@@ -1360,7 +1376,7 @@ function _h(n, t, e, i) {
1360
1376
  o[r].type !== "Line2" && _h(o[r], t, e, !0);
1361
1377
  }
1362
1378
  }
1363
- const Mn = new Vr();
1379
+ const Mn = new Fr();
1364
1380
  Mn.params.Points.threshold = 0.02;
1365
1381
  function $a(n, t) {
1366
1382
  if (!t || typeof ResizeObserver == "undefined" || !ResizeObserver)
@@ -1376,7 +1392,7 @@ function $a(n, t) {
1376
1392
  };
1377
1393
  }
1378
1394
  }
1379
- function na(n, t = 200) {
1395
+ function sa(n, t = 200) {
1380
1396
  let e;
1381
1397
  return function(...i) {
1382
1398
  e || (n(...i), e = setTimeout(function() {
@@ -1386,7 +1402,7 @@ function na(n, t = 200) {
1386
1402
  }
1387
1403
  function Bh(n, t) {
1388
1404
  let e = !1;
1389
- const i = na(() => {
1405
+ const i = sa(() => {
1390
1406
  e || (e = !0, n.ready().then(() => {
1391
1407
  t(), e = !1;
1392
1408
  }));
@@ -1396,7 +1412,7 @@ function Bh(n, t) {
1396
1412
  };
1397
1413
  }
1398
1414
  const Wb = new Gt();
1399
- class sa {
1415
+ class oa {
1400
1416
  constructor(t, e, i) {
1401
1417
  /**
1402
1418
  * @description 单个标签 dom
@@ -1604,7 +1620,7 @@ class sa {
1604
1620
  }
1605
1621
  }
1606
1622
  function M0(...n) {
1607
- return new sa(...n);
1623
+ return new oa(...n);
1608
1624
  }
1609
1625
  function ss(n) {
1610
1626
  return n.toLowerCase().includes("panorama");
@@ -1612,12 +1628,12 @@ function ss(n) {
1612
1628
  function wi(n) {
1613
1629
  return !ss(n);
1614
1630
  }
1615
- var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Fr = {}, Ub = {
1631
+ var Ti = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Hr = {}, Ub = {
1616
1632
  get exports() {
1617
- return Fr;
1633
+ return Hr;
1618
1634
  },
1619
1635
  set exports(n) {
1620
- Fr = n;
1636
+ Hr = n;
1621
1637
  }
1622
1638
  };
1623
1639
  /*! Hammer.JS - v2.0.7 - 2016-04-22
@@ -2845,7 +2861,7 @@ class Vh {
2845
2861
  const i = this.canvas.getContext("2d");
2846
2862
  if (!i)
2847
2863
  throw new Error("CANNOT CREATE CONTEXT2D");
2848
- this.context = i, this.config.dragEnabled && (this.hammer = new Fr(this.canvas), this.hammer.on("pan", this.onPan), this.hammer.on("panstart", this.onPanstart), this.hammer.on("panend", this.onPanend)), this.initStyle();
2864
+ this.context = i, this.config.dragEnabled && (this.hammer = new Hr(this.canvas), this.hammer.on("pan", this.onPan), this.hammer.on("panstart", this.onPanstart), this.hammer.on("panend", this.onPanend)), this.initStyle();
2849
2865
  }
2850
2866
  enable() {
2851
2867
  if (!this.state.enabled)
@@ -3264,7 +3280,7 @@ function hc(n) {
3264
3280
  if (!(i !== "transparent" && i !== "rgba(0, 0, 0, 0)" && i !== "" || s !== "none" && s !== ""))
3265
3281
  return n;
3266
3282
  }
3267
- let vr = [null, null, () => null], Ls = /* @__PURE__ */ new Map(), zs = /* @__PURE__ */ new Map();
3283
+ let Ar = [null, null, () => null], Ls = /* @__PURE__ */ new Map(), zs = /* @__PURE__ */ new Map();
3268
3284
  function qb(n, t) {
3269
3285
  if (!n)
3270
3286
  return !1;
@@ -3306,12 +3322,12 @@ function ty() {
3306
3322
  function iy() {
3307
3323
  ey(), ty();
3308
3324
  }
3309
- function oa(n) {
3325
+ function ra(n) {
3310
3326
  var s;
3311
- if (vr) {
3312
- if (vr[0] === n)
3313
- return vr[2];
3314
- (s = vr[1]) == null || s.dispose();
3327
+ if (Ar) {
3328
+ if (Ar[0] === n)
3329
+ return Ar[2];
3330
+ (s = Ar[1]) == null || s.dispose();
3315
3331
  }
3316
3332
  const t = new tl("front");
3317
3333
  t.domElementWrapper.style.zIndex = "1";
@@ -3328,7 +3344,7 @@ function oa(n) {
3328
3344
  const i = () => {
3329
3345
  t.dispose(), e.dispose(), iy();
3330
3346
  };
3331
- return vr = [n, t, i], i;
3347
+ return Ar = [n, t, i], i;
3332
3348
  }
3333
3349
  const ny = 16777215, sy = 16777215, oy = 1, ry = 0.4, Hh = 0.6;
3334
3350
  class mi extends xo {
@@ -3437,7 +3453,7 @@ function Nh(n, t) {
3437
3453
  function fs(n) {
3438
3454
  return arguments.length === 0 ? [] : Array.isArray(n) ? n : [n];
3439
3455
  }
3440
- function Hr(n, t) {
3456
+ function Nr(n, t) {
3441
3457
  const i = fs(t).map((s) => n.localToWorld(s.clone()));
3442
3458
  return Array.isArray(t) ? i : i[0];
3443
3459
  }
@@ -3993,7 +4009,7 @@ class Ei extends mi {
3993
4009
  updateMatrixWorld(e) {
3994
4010
  var i;
3995
4011
  if (super.updateMatrixWorld(e), this.points) {
3996
- const s = (i = Hr(this, this.points)) == null ? void 0 : i.map((o) => o.toArray().join(",")).join(",");
4012
+ const s = (i = Nr(this, this.points)) == null ? void 0 : i.map((o) => o.toArray().join(",")).join(",");
3997
4013
  s !== this.lastRenderDomItem && (this.updateDomItems(), this.lastRenderDomItem = s);
3998
4014
  }
3999
4015
  }
@@ -4053,13 +4069,13 @@ class Ei extends mi {
4053
4069
  return i();
4054
4070
  if (!this.five)
4055
4071
  return console.error("Five not found");
4056
- const s = this.points.map((o, r) => r !== 0 ? [this.points[r - 1], o] : null).filter(Ne).map((o) => Hr(this, o));
4072
+ const s = this.points.map((o, r) => r !== 0 ? [this.points[r - 1], o] : null).filter(Ne).map((o) => Nr(this, o));
4057
4073
  s.forEach(([o, r], a) => {
4058
4074
  var h;
4059
4075
  const l = Jt(o, r);
4060
4076
  this.doms[a] = (h = this.doms[a]) != null ? h : (() => {
4061
4077
  var p;
4062
- const u = new sa(this.five), d = (p = this.paramsStyle.occlusionVisibility) != null ? p : !0;
4078
+ const u = new oa(this.five), d = (p = this.paramsStyle.occlusionVisibility) != null ? p : !0;
4063
4079
  return u.intersectCheck = !d, u.simulate3D = !0, u;
4064
4080
  })(), this.doms[a].setPosition(l, [o, r]);
4065
4081
  const c = (u, d) => {
@@ -4230,7 +4246,7 @@ class wy extends w.Object3D {
4230
4246
  f(this, "ballMesh");
4231
4247
  f(this, "cssBallMesh");
4232
4248
  const i = 0.18;
4233
- this.planeMesh = py(), this.ringMesh = Ay(), this.crossline = my(), this.lineMesh = vy(i), this.ballMesh = by(), this.cssBallMesh = yy(), this.ballMesh.position.setZ(i), this.cssBallMesh.position.setZ(i), this.planeMesh.renderOrder = 0, this.ringMesh.renderOrder = 1, this.crossline.renderOrder = 2, this.lineMesh.renderOrder = 3, this.ballMesh.renderOrder = 4, this.add(this.planeMesh, this.lineMesh, this.ballMesh, this.ringMesh, this.cssBallMesh), oa(e);
4249
+ this.planeMesh = py(), this.ringMesh = Ay(), this.crossline = my(), this.lineMesh = vy(i), this.ballMesh = by(), this.cssBallMesh = yy(), this.ballMesh.position.setZ(i), this.cssBallMesh.position.setZ(i), this.planeMesh.renderOrder = 0, this.ringMesh.renderOrder = 1, this.crossline.renderOrder = 2, this.lineMesh.renderOrder = 3, this.ballMesh.renderOrder = 4, this.add(this.planeMesh, this.lineMesh, this.ballMesh, this.ringMesh, this.cssBallMesh), ra(e);
4234
4250
  }
4235
4251
  updateWithIntersect(e) {
4236
4252
  if (!e.face)
@@ -4302,7 +4318,7 @@ function Py(n, t) {
4302
4318
  const { x: e, y: i } = t, s = e * 2 - 1, o = i * 2 - 1, r = new w.Raycaster();
4303
4319
  return r.setFromCamera({ x: s, y: o }, n.camera), r.params.Points.threshold = 0.02, r;
4304
4320
  }
4305
- function ra(n, t, e) {
4321
+ function aa(n, t, e) {
4306
4322
  const i = Cy(n, t);
4307
4323
  return e != null && e.virtualPoint ? i != null ? i : L0(t) : i;
4308
4324
  }
@@ -4498,7 +4514,7 @@ class Tl extends Mt {
4498
4514
  f(this, "updateByNdcPosition", (e) => {
4499
4515
  var o, r, a;
4500
4516
  const i = Py(this.five, e);
4501
- let s = ra(this.five, i);
4517
+ let s = aa(this.five, i);
4502
4518
  if (s) {
4503
4519
  if (this.plane && this.planeMode === "vertical" && (s = ce(F({}, s), {
4504
4520
  point: this.plane.projectPoint(s.point, new w.Vector3()),
@@ -4568,7 +4584,7 @@ class Tl extends Mt {
4568
4584
  (!this.plane || this.plane.distanceToPoint(m) < 0.01) && (m = (a = (r = this.plane) == null ? void 0 : r.projectPoint(m, new w.Vector3())) != null ? a : m, i.point = m.clone(), i.adhereLine = g.clone(), i.isAdsorbed = !0);
4569
4585
  else {
4570
4586
  const v = rs({
4571
- raycaster: new Vr(this.five.camera.position, e.point.clone().sub(this.five.camera.position).normalize()),
4587
+ raycaster: new Fr(this.five.camera.position, e.point.clone().sub(this.five.camera.position).normalize()),
4572
4588
  line: g,
4573
4589
  clampToLine: !1
4574
4590
  }), A = v.clone().project(this.five.camera);
@@ -4956,7 +4972,7 @@ class B0 extends w.Object3D {
4956
4972
  this.add(this.planeMesh, this.lineMesh, this.ballMesh, this.borderMesh);
4957
4973
  }), this.addEventListener("removed", () => {
4958
4974
  this.remove(this.planeMesh, this.lineMesh, this.ballMesh, this.borderMesh);
4959
- }), oa(e), this.five = e;
4975
+ }), ra(e), this.five = e;
4960
4976
  }
4961
4977
  updateWithIntersect(e) {
4962
4978
  var s;
@@ -5112,7 +5128,7 @@ var G0 = {
5112
5128
  function Ji(n, t, e) {
5113
5129
  return Math.min(Math.max(n, t), e);
5114
5130
  }
5115
- function Tr(n, t) {
5131
+ function Lr(n, t) {
5116
5132
  return n.indexOf(t) > -1;
5117
5133
  }
5118
5134
  function fc(n, t) {
@@ -5123,7 +5139,7 @@ var Ge = {
5123
5139
  return Array.isArray(n);
5124
5140
  },
5125
5141
  obj: function(n) {
5126
- return Tr(Object.prototype.toString.call(n), "Object");
5142
+ return Lr(Object.prototype.toString.call(n), "Object");
5127
5143
  },
5128
5144
  pth: function(n) {
5129
5145
  return Ge.obj(n) && n.hasOwnProperty("totalLength");
@@ -5414,9 +5430,9 @@ function kn(n) {
5414
5430
  return t[1];
5415
5431
  }
5416
5432
  function Uy(n) {
5417
- if (Tr(n, "translate") || n === "perspective")
5433
+ if (Lr(n, "translate") || n === "perspective")
5418
5434
  return "px";
5419
- if (Tr(n, "rotate") || Tr(n, "skew"))
5435
+ if (Lr(n, "rotate") || Lr(n, "skew"))
5420
5436
  return "deg";
5421
5437
  }
5422
5438
  function Kc(n, t) {
@@ -5463,7 +5479,7 @@ function Z0(n) {
5463
5479
  }
5464
5480
  }
5465
5481
  function Qy(n, t, e, i) {
5466
- var s = Tr(t, "scale") ? 1 : 0 + Uy(t), o = Z0(n).get(t) || s;
5482
+ var s = Lr(t, "scale") ? 1 : 0 + Uy(t), o = Z0(n).get(t) || s;
5467
5483
  return e && (e.transforms.list.set(t, o), e.transforms.last = t), i ? Zh(n, o, i) : o;
5468
5484
  }
5469
5485
  function Jh(n, t, e, i) {
@@ -5947,7 +5963,7 @@ at.random = function(n, t) {
5947
5963
  return Math.floor(Math.random() * (t - n + 1)) + n;
5948
5964
  };
5949
5965
  const r1 = process.env.NODE_ENV === "development";
5950
- function Nr(n, t) {
5966
+ function Gr(n, t) {
5951
5967
  r1 && console.log(`[blink] ${n}`, t);
5952
5968
  }
5953
5969
  const tu = {
@@ -6007,7 +6023,7 @@ class fw {
6007
6023
  */
6008
6024
  end(t) {
6009
6025
  const e = performance.now() - this.startTime;
6010
- return this.measurements.has(t) || this.measurements.set(t, []), this.measurements.get(t).push(e), r1 && Nr(`Performance [${t}]: ${e.toFixed(2)}ms`), e;
6026
+ return this.measurements.has(t) || this.measurements.set(t, []), this.measurements.get(t).push(e), r1 && Gr(`Performance [${t}]: ${e.toFixed(2)}ms`), e;
6011
6027
  }
6012
6028
  /**
6013
6029
  * 获取平均耗时
@@ -6198,7 +6214,7 @@ function Rl(n, t) {
6198
6214
  l1(n);
6199
6215
  const s = (e = t == null ? void 0 : t.traverseTHREEObject) != null ? e : !0, o = c1(n, s);
6200
6216
  if (o.length === 0)
6201
- return Nr("No valid targets found"), ol();
6217
+ return Gr("No valid targets found"), ol();
6202
6218
  xn.storeState(o);
6203
6219
  const r = ce(F(F({}, tu), t), {
6204
6220
  targets: o,
@@ -6224,7 +6240,7 @@ function Rl(n, t) {
6224
6240
  }, 100);
6225
6241
  }), a;
6226
6242
  } catch (s) {
6227
- return Nr("Blink animation failed:", s), ol();
6243
+ return Gr("Blink animation failed:", s), ol();
6228
6244
  }
6229
6245
  }
6230
6246
  function h1(n, t) {
@@ -6233,7 +6249,7 @@ function h1(n, t) {
6233
6249
  l1(n);
6234
6250
  const s = (e = t == null ? void 0 : t.traverseTHREEObject) != null ? e : !0, o = c1(n, s);
6235
6251
  if (o.length === 0)
6236
- return Nr("No valid targets found"), ol();
6252
+ return Gr("No valid targets found"), ol();
6237
6253
  xn.storeState(o);
6238
6254
  const r = ce(F(F({}, tu), t), {
6239
6255
  targets: o,
@@ -6259,7 +6275,7 @@ function h1(n, t) {
6259
6275
  }, 100);
6260
6276
  }), a;
6261
6277
  } catch (s) {
6262
- return Nr("ReBlink animation failed:", s), ol();
6278
+ return Gr("ReBlink animation failed:", s), ol();
6263
6279
  }
6264
6280
  }
6265
6281
  function Aw(n, t, e) {
@@ -6366,8 +6382,8 @@ class Mw extends u1 {
6366
6382
  }), super.add(...e), this;
6367
6383
  }
6368
6384
  }
6369
- const kw = 3, $c = "CSS3DRenderer", Er = `${$c}@${kw}`, go = () => {
6370
- console.error(`${Er} is disposed`);
6385
+ const kw = 3, $c = "CSS3DRenderer", Mr = `${$c}@${kw}`, go = () => {
6386
+ console.error(`${Mr} is disposed`);
6371
6387
  }, xt = {
6372
6388
  css3DObjects: [],
6373
6389
  frontModeStore: {
@@ -6386,7 +6402,7 @@ function xw(n) {
6386
6402
  function Sw(n) {
6387
6403
  xt.behindModeStore.css3DRenderer.setWrapper(n);
6388
6404
  }
6389
- class Gr {
6405
+ class Wr {
6390
6406
  // eslint-disable-next-line @typescript-eslint/no-useless-constructor
6391
6407
  constructor(t) {
6392
6408
  f(this, "hooks", new Mt());
@@ -6449,7 +6465,7 @@ class Gr {
6449
6465
  return Object.assign(z, i);
6450
6466
  })(), o = e.map(Ue);
6451
6467
  if ((o == null ? void 0 : o.length) < 4)
6452
- return console.error(`${Er}: requires 4 point but params may have fewer`);
6468
+ return console.error(`${Mr}: requires 4 point but params may have fewer`);
6453
6469
  const { ratio: r, devicePixelRatio: a, mode: l, autoRender: c, container: h, pointerEvents: u, wrapperStyle: d } = s;
6454
6470
  let p = !1;
6455
6471
  const g = this.createObject(o, { ratio: r, dpr: a, container: h, mode: l, pointerEvents: u, wrapperStyle: d });
@@ -6567,7 +6583,7 @@ class Gr {
6567
6583
  if (t) {
6568
6584
  const o = (s = xt.behindModeStore.scene) != null ? s : this.scene;
6569
6585
  if (!o) {
6570
- console.error(`${Er}: scene is required when mode is behind`);
6586
+ console.error(`${Mr}: scene is required when mode is behind`);
6571
6587
  return;
6572
6588
  }
6573
6589
  const r = new Iw(o);
@@ -6593,13 +6609,13 @@ class Gr {
6593
6609
  if (this.getFrontCSS3DObjectGroup({ addGroupIfNotExists: !1 }).CSS3DObjectLength > 0) {
6594
6610
  const s = this.getFrontCSS3DScene({ createSceneIfNotExists: !0 });
6595
6611
  if (!s)
6596
- return console.error(`${Er}: css3DScene is required when mode is front`);
6612
+ return console.error(`${Mr}: css3DScene is required when mode is front`);
6597
6613
  xt.frontModeStore.css3DRenderer.renderEveryFrame(s, t);
6598
6614
  }
6599
6615
  if (((i = (e = this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 })) == null ? void 0 : e.CSS3DObjectLength) != null ? i : 0) > 0) {
6600
6616
  const s = this.getBehindCSS3DScene({ createSceneIfNotExists: !0 });
6601
6617
  if (!s)
6602
- return console.error(`${Er}: css3DScene is required when mode is behind`);
6618
+ return console.error(`${Mr}: css3DScene is required when mode is behind`);
6603
6619
  xt.behindModeStore.css3DRenderer.renderEveryFrame(s, t);
6604
6620
  }
6605
6621
  }
@@ -6631,9 +6647,9 @@ class Gr {
6631
6647
  this.handleDisable();
6632
6648
  }
6633
6649
  }
6634
- f(Gr, "setFrontModeContainer", xw), f(Gr, "setBehindModeContainer", Sw);
6650
+ f(Wr, "setFrontModeContainer", xw), f(Wr, "setBehindModeContainer", Sw);
6635
6651
  const d1 = "v2.0.1", zd = `CSS3DRenderPlugin@${d1}`;
6636
- let Dw = class extends Gr {
6652
+ let Dw = class extends Wr {
6637
6653
  constructor(e) {
6638
6654
  super();
6639
6655
  f(this, "five");
@@ -6968,7 +6984,7 @@ class Vo {
6968
6984
  return;
6969
6985
  const i = e[0];
6970
6986
  if (i.raycaster) {
6971
- const s = new Vr();
6987
+ const s = new Fr();
6972
6988
  s.ray = i.raycaster.ray, s.near = i.raycaster.near, s.far = i.raycaster.far, s.camera = i.raycaster.camera, s.layers = i.raycaster.layers, s.params = i.raycaster.params, i.raycaster = s;
6973
6989
  }
6974
6990
  if (i) {
@@ -7191,7 +7207,7 @@ class Vo {
7191
7207
  const e = this.five.getElement();
7192
7208
  if (!e)
7193
7209
  return;
7194
- const i = g1(t, e), s = new Vr();
7210
+ const i = g1(t, e), s = new Fr();
7195
7211
  return s.setFromCamera(i, this.five.camera), s;
7196
7212
  }
7197
7213
  }
@@ -7251,13 +7267,13 @@ class Gs extends Sl {
7251
7267
  });
7252
7268
  }
7253
7269
  }
7254
- function Wr(n, t = Fi.Linear.None) {
7270
+ function Ur(n, t = Fi.Linear.None) {
7255
7271
  const e = new Gs({ progress: 0 }).to({ progress: 1 });
7256
7272
  return n !== void 0 && e.duration(n), t !== void 0 && e.easing(t), e;
7257
7273
  }
7258
7274
  const Fo = window.requestAnimationFrame || ((n) => setTimeout(n, 16)), Nw = window.cancelAnimationFrame || clearTimeout;
7259
- function aa(n, t = 0) {
7260
- t <= 0 ? Fo(n) : Fo(() => aa(n, t - 1));
7275
+ function la(n, t = 0) {
7276
+ t <= 0 ? Fo(n) : Fo(() => la(n, t - 1));
7261
7277
  }
7262
7278
  function Gw() {
7263
7279
  return ie(this, null, function* () {
@@ -7806,14 +7822,14 @@ function o2() {
7806
7822
  }), al.clear());
7807
7823
  });
7808
7824
  }
7809
- let Ur;
7825
+ let Qr;
7810
7826
  function In(n) {
7811
- Ur = n;
7827
+ Qr = n;
7812
7828
  }
7813
7829
  function gs() {
7814
- if (!Ur)
7830
+ if (!Qr)
7815
7831
  throw new Error("Function called outside component initialization");
7816
- return Ur;
7832
+ return Qr;
7817
7833
  }
7818
7834
  function C1(n) {
7819
7835
  gs().$$.before_update.push(n);
@@ -7871,7 +7887,7 @@ let po = 0;
7871
7887
  function wn() {
7872
7888
  if (po !== 0)
7873
7889
  return;
7874
- const n = Ur;
7890
+ const n = Qr;
7875
7891
  do {
7876
7892
  try {
7877
7893
  for (; po < yo.length; ) {
@@ -7904,11 +7920,11 @@ function a2(n) {
7904
7920
  const t = [], e = [];
7905
7921
  To.forEach((i) => n.indexOf(i) === -1 ? t.push(i) : e.push(i)), e.forEach((i) => i()), To = t;
7906
7922
  }
7907
- let Ar;
7923
+ let br;
7908
7924
  function vu() {
7909
- return Ar || (Ar = Promise.resolve(), Ar.then(() => {
7910
- Ar = null;
7911
- })), Ar;
7925
+ return br || (br = Promise.resolve(), br.then(() => {
7926
+ br = null;
7927
+ })), br;
7912
7928
  }
7913
7929
  function Rs(n, t, e) {
7914
7930
  n.dispatchEvent(P1(`${t ? "intro" : "outro"}${e}`));
@@ -8086,7 +8102,7 @@ function bu(n, t, e) {
8086
8102
  n.current === n.then && (i[n.value] = s), n.current === n.catch && (i[n.error] = s), n.block.p(i, e);
8087
8103
  }
8088
8104
  const l2 = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : global;
8089
- function la(n, t) {
8105
+ function ca(n, t) {
8090
8106
  n.d(1), t.delete(n.key);
8091
8107
  }
8092
8108
  function ln(n, t) {
@@ -8165,7 +8181,7 @@ function c2(n, t) {
8165
8181
  n.$$.dirty[0] === -1 && (yo.push(n), E1(), n.$$.dirty.fill(0)), n.$$.dirty[t / 31 | 0] |= 1 << t % 31;
8166
8182
  }
8167
8183
  function we(n, t, e, i, s, o, r, a = [-1]) {
8168
- const l = Ur;
8184
+ const l = Qr;
8169
8185
  In(n);
8170
8186
  const c = n.$$ = {
8171
8187
  fragment: null,
@@ -8316,7 +8332,7 @@ class u2 {
8316
8332
  }
8317
8333
  }
8318
8334
  let vc = null;
8319
- const d2 = () => (vc || (vc = new u2()), vc), ca = () => typeof window == "undefined" ? "md" : d2();
8335
+ const d2 = () => (vc || (vc = new u2()), vc), ha = () => typeof window == "undefined" ? "md" : d2();
8320
8336
  function ut(n, t = 16) {
8321
8337
  return (Number(typeof n == "string" ? n.replace(/px/g, "") : n) / t).toFixed(5) + "rem";
8322
8338
  }
@@ -8887,7 +8903,7 @@ function _2(n) {
8887
8903
  function B2(n, t, e) {
8888
8904
  var P;
8889
8905
  let i, { five: s } = t, { roomLabels: o } = t, r, a, l = (P = s.model.shownFloor) != null ? P : null;
8890
- const c = ca();
8906
+ const c = ha();
8891
8907
  let h = ir();
8892
8908
  typeof c == "object" && "subscribe" in c && c.subscribe((M) => {
8893
8909
  e(4, h = M);
@@ -9059,7 +9075,7 @@ function Ws(n) {
9059
9075
  function Wo(n) {
9060
9076
  return n < 0.5 ? 4 * n * n * n : 0.5 * Math.pow(2 * n - 2, 3) + 1;
9061
9077
  }
9062
- function Qr(n) {
9078
+ function Xr(n) {
9063
9079
  const t = n - 1;
9064
9080
  return t * t * t + 1;
9065
9081
  }
@@ -9072,7 +9088,7 @@ function Bt(n, { delay: t = 0, duration: e = 400, easing: i = Dn } = {}) {
9072
9088
  css: (o) => `opacity: ${o * s}`
9073
9089
  };
9074
9090
  }
9075
- function Vd(n, { delay: t = 0, duration: e = 400, easing: i = Qr, x: s = 0, y: o = 0, opacity: r = 0 } = {}) {
9091
+ function Vd(n, { delay: t = 0, duration: e = 400, easing: i = Xr, x: s = 0, y: o = 0, opacity: r = 0 } = {}) {
9076
9092
  const a = getComputedStyle(n), l = +a.opacity, c = a.transform === "none" ? "" : a.transform, h = l * (1 - r), [u, d] = jd(s), [p, g] = jd(o);
9077
9093
  return {
9078
9094
  delay: t,
@@ -10225,7 +10241,7 @@ function v3(n) {
10225
10241
  }
10226
10242
  function A3(n, t, e) {
10227
10243
  let i, { floorIndex: s } = t, { roomAreaEnable: o } = t, { roomNameEnable: r } = t, { roomNameOtherTypeEnable: a } = t, { roomDimensionEnable: l } = t, { floorplanData: c } = t, { hoveredRoom: h } = t, { getRoomAreaText: u } = t, { getRoomDimensionText: d } = t, { getLabelElement: p } = t, { adaptiveRoomLabelVisibleEnable: g } = t, m = 0, v = 0;
10228
- const A = ca();
10244
+ const A = ha();
10229
10245
  let P = ir();
10230
10246
  typeof A == "object" && "subscribe" in A && A.subscribe((E) => {
10231
10247
  e(11, P = E);
@@ -10437,7 +10453,7 @@ function w3(n) {
10437
10453
  }
10438
10454
  m & /*rulerTexts, isRow, getRuleDistanceText*/
10439
10455
  22 && (d = /*rulerTexts*/
10440
- g[4], a = li(a, m, p, 1, g, d, l, r, la, Kd, null, Zd)), m & /*type*/
10456
+ g[4], a = li(a, m, p, 1, g, d, l, r, ca, Kd, null, Zd)), m & /*type*/
10441
10457
  1 && c !== (c = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/
10442
10458
  g[0] + " svelte-1fuyezq") && y(t, "class", c), m & /*type, isRow*/
10443
10459
  5 && Ce(
@@ -13054,7 +13070,7 @@ let ms = class {
13054
13070
  /**
13055
13071
  * @realsee/dnalogel 版本号
13056
13072
  */
13057
- f(this, "VERSION", "3.71.3");
13073
+ f(this, "VERSION", "3.71.4");
13058
13074
  f(this, "NAME");
13059
13075
  f(this, "five");
13060
13076
  f(this, "workUtil");
@@ -16900,7 +16916,7 @@ function XP(n, t, e) {
16900
16916
  function v(E) {
16901
16917
  e(9, p = a.work.observers[E].floorIndex);
16902
16918
  }
16903
- const A = na(
16919
+ const A = sa(
16904
16920
  (E) => {
16905
16921
  e(8, d = E.longitude);
16906
16922
  },
@@ -17016,7 +17032,7 @@ function qP(n) {
17016
17032
  p(r, [a]) {
17017
17033
  a & /*extraObjects*/
17018
17034
  1 && (s = /*extraObjects*/
17019
- r[0], e = li(e, a, o, 1, r, s, i, t, la, Pf, null, wf));
17035
+ r[0], e = li(e, a, o, 1, r, s, i, t, ca, Pf, null, wf));
17020
17036
  },
17021
17037
  i: se,
17022
17038
  o: se,
@@ -17831,7 +17847,7 @@ function fC(n, t, e) {
17831
17847
  function P(D) {
17832
17848
  e(11, m = a.work.observers[D].floorIndex);
17833
17849
  }
17834
- const M = na(
17850
+ const M = sa(
17835
17851
  (D) => {
17836
17852
  e(10, g = D.longitude);
17837
17853
  },
@@ -17951,7 +17967,7 @@ function mC(n) {
17951
17967
  p(r, [a]) {
17952
17968
  a & /*extraObjects*/
17953
17969
  1 && (s = /*extraObjects*/
17954
- r[0], e = li(e, a, o, 1, r, s, i, t, la, kf, null, Mf));
17970
+ r[0], e = li(e, a, o, 1, r, s, i, t, ca, kf, null, Mf));
17955
17971
  },
17956
17972
  i: se,
17957
17973
  o: se,
@@ -18338,7 +18354,7 @@ function EC(n) {
18338
18354
  p(r, [a]) {
18339
18355
  a & /*currentFloorObservers, contentWidth, contentHeight, observerDotSize*/
18340
18356
  15 && (s = /*currentFloorObservers*/
18341
- r[3], e = li(e, a, o, 1, r, s, i, t, la, Df, null, Sf));
18357
+ r[3], e = li(e, a, o, 1, r, s, i, t, ca, Df, null, Sf));
18342
18358
  },
18343
18359
  i: se,
18344
18360
  o: se,
@@ -20042,7 +20058,7 @@ function F1(n, t) {
20042
20058
  var i;
20043
20059
  if (e.type === "Mesh") {
20044
20060
  const s = e, o = F({ map: s.material.map || {} }, t);
20045
- s.material = new Br(o), s.renderOrder = 1, ((i = e.parent) == null ? void 0 : i.type) === "Mesh" && (e.renderOrder = e.parent.renderOrder + 1);
20061
+ s.material = new Vr(o), s.renderOrder = 1, ((i = e.parent) == null ? void 0 : i.type) === "Mesh" && (e.renderOrder = e.parent.renderOrder + 1);
20046
20062
  }
20047
20063
  });
20048
20064
  }
@@ -20134,7 +20150,7 @@ vs.prototype.k = function() {
20134
20150
  for (D = d, d = p.length; D < d; ++D)
20135
20151
  p[yc[D]] = 0;
20136
20152
  for (g = xs(p), A = new (mt ? Uint8Array : Array)(h + u), D = 0, z = h + u; D < z; )
20137
- switch (P = Xr(this, g), P) {
20153
+ switch (P = Yr(this, g), P) {
20138
20154
  case 16:
20139
20155
  for (E = 3 + Di(this, 2); E--; )
20140
20156
  A[D++] = M;
@@ -20208,7 +20224,7 @@ function Di(n, t) {
20208
20224
  }
20209
20225
  return a = e & (1 << t) - 1, n.f = e >>> t, n.d = i - t, n.a = o, a;
20210
20226
  }
20211
- function Xr(n, t) {
20227
+ function Yr(n, t) {
20212
20228
  for (var e = n.f, i = n.d, s = n.input, o = n.a, r = s.length, a = t[0], l = t[1], c, h; i < l && !(o >= r); )
20213
20229
  e |= s[o++] << i, i += 8;
20214
20230
  if (c = a[e & (1 << l) - 1], h = c >>> 16, h > i)
@@ -20218,11 +20234,11 @@ function Xr(n, t) {
20218
20234
  vs.prototype.j = function(n, t) {
20219
20235
  var e = this.c, i = this.b;
20220
20236
  this.o = n;
20221
- for (var s = e.length - 258, o, r, a, l; (o = Xr(this, n)) !== 256; )
20237
+ for (var s = e.length - 258, o, r, a, l; (o = Yr(this, n)) !== 256; )
20222
20238
  if (256 > o)
20223
20239
  i >= s && (this.b = i, e = this.e(), i = this.b), e[i++] = o;
20224
20240
  else
20225
- for (r = o - 257, l = N1[r], 0 < vl[r] && (l += Di(this, vl[r])), o = Xr(this, t), a = G1[o], 0 < Al[o] && (a += Di(this, Al[o])), i >= s && (this.b = i, e = this.e(), i = this.b); l--; )
20241
+ for (r = o - 257, l = N1[r], 0 < vl[r] && (l += Di(this, vl[r])), o = Yr(this, t), a = G1[o], 0 < Al[o] && (a += Di(this, Al[o])), i >= s && (this.b = i, e = this.e(), i = this.b); l--; )
20226
20242
  e[i] = e[i++ - a];
20227
20243
  for (; 8 <= this.d; )
20228
20244
  this.d -= 8, this.a--;
@@ -20231,11 +20247,11 @@ vs.prototype.j = function(n, t) {
20231
20247
  vs.prototype.w = function(n, t) {
20232
20248
  var e = this.c, i = this.b;
20233
20249
  this.o = n;
20234
- for (var s = e.length, o, r, a, l; (o = Xr(this, n)) !== 256; )
20250
+ for (var s = e.length, o, r, a, l; (o = Yr(this, n)) !== 256; )
20235
20251
  if (256 > o)
20236
20252
  i >= s && (e = this.e(), s = e.length), e[i++] = o;
20237
20253
  else
20238
- for (r = o - 257, l = N1[r], 0 < vl[r] && (l += Di(this, vl[r])), o = Xr(this, t), a = G1[o], 0 < Al[o] && (a += Di(this, Al[o])), i + l > s && (e = this.e(), s = e.length); l--; )
20254
+ for (r = o - 257, l = N1[r], 0 < vl[r] && (l += Di(this, vl[r])), o = Yr(this, t), a = G1[o], 0 < Al[o] && (a += Di(this, Al[o])), i + l > s && (e = this.e(), s = e.length); l--; )
20239
20255
  e[i] = e[i++ - a];
20240
20256
  for (; 8 <= this.d; )
20241
20257
  this.d -= 8, this.a--;
@@ -20315,15 +20331,15 @@ Du.prototype.k = function() {
20315
20331
  var Zf = 8;
20316
20332
  xu("Zlib.Inflate", Du);
20317
20333
  xu("Zlib.Inflate.prototype.decompress", Du.prototype.k);
20318
- var rh = { ADAPTIVE: Hf.s, BLOCK: Hf.t }, Lr, zr, Lo, qf;
20334
+ var rh = { ADAPTIVE: Hf.s, BLOCK: Hf.t }, zr, Or, Lo, qf;
20319
20335
  if (Object.keys)
20320
- Lr = Object.keys(rh);
20336
+ zr = Object.keys(rh);
20321
20337
  else
20322
- for (zr in Lr = [], Lo = 0, rh)
20323
- Lr[Lo++] = zr;
20338
+ for (Or in zr = [], Lo = 0, rh)
20339
+ zr[Lo++] = Or;
20324
20340
  Lo = 0;
20325
- for (qf = Lr.length; Lo < qf; ++Lo)
20326
- zr = Lr[Lo], xu("Zlib.Inflate.BufferType." + zr, rh[zr]);
20341
+ for (qf = zr.length; Lo < qf; ++Lo)
20342
+ Or = zr[Lo], xu("Zlib.Inflate.BufferType." + Or, rh[Or]);
20327
20343
  var Jf = H1.Zlib, W1 = {
20328
20344
  /*
20329
20345
  Finds knot vector span.
@@ -20758,23 +20774,23 @@ var U1 = function() {
20758
20774
  break;
20759
20775
  case "DiffuseColor":
20760
20776
  case "Maya|TEX_color_map":
20761
- k.map = S.getTexture(C, L.ID), k.map.encoding = Ir;
20777
+ k.map = S.getTexture(C, L.ID), k.map.encoding = Er;
20762
20778
  break;
20763
20779
  case "DisplacementColor":
20764
20780
  k.displacementMap = S.getTexture(C, L.ID);
20765
20781
  break;
20766
20782
  case "EmissiveColor":
20767
- k.emissiveMap = S.getTexture(C, L.ID), k.emissiveMap.encoding = Ir;
20783
+ k.emissiveMap = S.getTexture(C, L.ID), k.emissiveMap.encoding = Er;
20768
20784
  break;
20769
20785
  case "NormalMap":
20770
20786
  case "Maya|TEX_normal_map":
20771
20787
  k.normalMap = S.getTexture(C, L.ID);
20772
20788
  break;
20773
20789
  case "ReflectionColor":
20774
- k.envMap = S.getTexture(C, L.ID), k.envMap.mapping = HA, k.envMap.encoding = Ir;
20790
+ k.envMap = S.getTexture(C, L.ID), k.envMap.mapping = HA, k.envMap.encoding = Er;
20775
20791
  break;
20776
20792
  case "SpecularColor":
20777
- k.specularMap = S.getTexture(C, L.ID), k.specularMap.encoding = Ir;
20793
+ k.specularMap = S.getTexture(C, L.ID), k.specularMap.encoding = Er;
20778
20794
  break;
20779
20795
  case "TransparentColor":
20780
20796
  case "TransparencyFactor":
@@ -20909,7 +20925,7 @@ var U1 = function() {
20909
20925
  te = new En();
20910
20926
  break;
20911
20927
  }
20912
- te.name = B.attrName ? Ca.sanitizeNodeName(B.attrName) : "", te.ID = N;
20928
+ te.name = B.attrName ? Ia.sanitizeNodeName(B.attrName) : "", te.ID = N;
20913
20929
  }
20914
20930
  this.getTransformData(te, B), k.set(N, te);
20915
20931
  }
@@ -20923,7 +20939,7 @@ var U1 = function() {
20923
20939
  B.rawBones.forEach(function(J, te) {
20924
20940
  if (J.ID === L.ID) {
20925
20941
  var $ = S;
20926
- S = new pd(), S.matrixWorld.copy(J.transformLink), S.name = k ? Ca.sanitizeNodeName(k) : "", S.ID = I, B.bones[te] = S, $ !== null && S.add($);
20942
+ S = new pd(), S.matrixWorld.copy(J.transformLink), S.name = k ? Ia.sanitizeNodeName(k) : "", S.ID = I, B.bones[te] = S, $ !== null && S.add($);
20927
20943
  }
20928
20944
  });
20929
20945
  }
@@ -21144,7 +21160,7 @@ var U1 = function() {
21144
21160
  },
21145
21161
  // Generate a BufferGeometry from a node in FBXTree.Objects.Geometry
21146
21162
  genGeometry: function(b, C, I, k) {
21147
- var S = new Ia();
21163
+ var S = new Ea();
21148
21164
  b.attrName && (S.name = b.attrName);
21149
21165
  var L = this.parseGeoNode(b, C), N = this.genBuffers(L), B = new uo(N.vertex, 3);
21150
21166
  if (B.applyMatrix4(k), S.setAttribute("position", B), N.colors.length > 0 && S.setAttribute("color", new uo(N.colors, 3)), C && (S.setAttribute("skinIndex", new JA(N.weightsIndices, 4)), S.setAttribute("skinWeight", new uo(N.vertexWeights, 4)), S.FBX_Deformer = C), N.normal.length > 0) {
@@ -21338,10 +21354,10 @@ var U1 = function() {
21338
21354
  if (Us === void 0)
21339
21355
  return console.error(
21340
21356
  "THREE.FBXLoader: The loader relies on NURBSCurve for any nurbs present in the model. Nurbs will show up as empty geometry."
21341
- ), new Ia();
21357
+ ), new Ea();
21342
21358
  var C = parseInt(b.Order);
21343
21359
  if (isNaN(C))
21344
- return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s", b.Order, b.id), new Ia();
21360
+ return console.error("THREE.FBXLoader: Invalid Order %s given for geometry ID: %s", b.Order, b.id), new Ea();
21345
21361
  for (var I = C - 1, k = b.KnotVector.a, S = [], L = b.Points.a, N = 0, B = L.length; N < B; N += 4)
21346
21362
  S.push(new Ss().fromArray(L, N));
21347
21363
  var J, te;
@@ -21356,7 +21372,7 @@ var U1 = function() {
21356
21372
  oe.forEach(function(xe, he) {
21357
21373
  xe.toArray(Z, he * 3);
21358
21374
  });
21359
- var ae = new Ia();
21375
+ var ae = new Ea();
21360
21376
  return ae.setAttribute("position", new $A(Z, 3)), ae;
21361
21377
  }
21362
21378
  };
@@ -21441,7 +21457,7 @@ var U1 = function() {
21441
21457
  return;
21442
21458
  }
21443
21459
  var Z = {
21444
- modelName: oe.attrName ? Ca.sanitizeNodeName(oe.attrName) : "",
21460
+ modelName: oe.attrName ? Ia.sanitizeNodeName(oe.attrName) : "",
21445
21461
  ID: oe.id,
21446
21462
  initialPosition: [0, 0, 0],
21447
21463
  initialRotation: [0, 0, 0],
@@ -21458,7 +21474,7 @@ var U1 = function() {
21458
21474
  var ae = t.get(B.ID).parents.filter(function(Le) {
21459
21475
  return Le.relationship !== void 0;
21460
21476
  })[0].ID, xe = t.get(ae).parents[0].ID, he = t.get(xe).parents[0].ID, $ = t.get(he).parents[0].ID, oe = n.Objects.Model[$], Z = {
21461
- modelName: oe.attrName ? Ca.sanitizeNodeName(oe.attrName) : "",
21477
+ modelName: oe.attrName ? Ia.sanitizeNodeName(oe.attrName) : "",
21462
21478
  morphName: n.Objects.Deformer[ae].attrName
21463
21479
  };
21464
21480
  S[J] = Z;
@@ -22107,7 +22123,7 @@ const i5 = ({ x: n, y: t, z: e }) => new Ae(n, t, e), QT = (n, t) => {
22107
22123
  if (!T)
22108
22124
  return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${T}`));
22109
22125
  const O = (B = t.name) != null ? B : "入户门";
22110
- return T.material = new Br({ transparent: !0, map: t5(O) }), T.renderOrder = 3, R.children[0].add(T), e.object = R, !0;
22126
+ return T.material = new Vr({ transparent: !0, map: t5(O) }), T.renderOrder = 3, R.children[0].add(T), e.object = R, !0;
22111
22127
  }), c = () => {
22112
22128
  if (e.animation)
22113
22129
  return;
@@ -22148,7 +22164,7 @@ const i5 = ({ x: n, y: t, z: e }) => new Ae(n, t, e), QT = (n, t) => {
22148
22164
  }, n5 = Fi;
22149
22165
  function s5(n, t, e, i = n5.Linear.None) {
22150
22166
  const s = new Sl(n).to(t, e).easing(i);
22151
- aa(() => s.start(0));
22167
+ la(() => s.start(0));
22152
22168
  const o = er((a) => {
22153
22169
  s.update(a) === !1 && o();
22154
22170
  }), r = [];
@@ -22979,7 +22995,7 @@ function b5(n, t, e) {
22979
22995
  };
22980
22996
  });
22981
22997
  e(0, r = b);
22982
- }, p = () => aa(d), g = na(d, 80);
22998
+ }, p = () => la(d), g = sa(d, 80);
22983
22999
  return St(() => {
22984
23000
  d(), i.on("panoArrived", d), i.on("modeChange", d), i.on("cameraDirectionUpdate", p), i.on("movingToPano", p), i.on("mouseWheel", () => g()), i.on("pinchGesture", () => g());
22985
23001
  }), Kt(() => {
@@ -23176,10 +23192,10 @@ class E5 extends cn {
23176
23192
  f(this, "onFivePanoArrived", (e) => {
23177
23193
  var s, o, r, a, l, c, h, u;
23178
23194
  const i = (r = (o = (s = this.five.work) == null ? void 0 : s.observers) == null ? void 0 : o[e]) == null ? void 0 : r.standingPosition;
23179
- if (this.compassMesh && i && (this.compassMesh.position.copy(i.clone().setY(i.y + 0.01)), this.compassMesh.material.opacity === 0 && ((a = this.compassMeshTween) == null || a.dispose(), this.compassMeshTween = Wr(1e3).onUpdate(({ progress: d }) => {
23195
+ if (this.compassMesh && i && (this.compassMesh.position.copy(i.clone().setY(i.y + 0.01)), this.compassMesh.material.opacity === 0 && ((a = this.compassMeshTween) == null || a.dispose(), this.compassMeshTween = Ur(1e3).onUpdate(({ progress: d }) => {
23180
23196
  var p;
23181
23197
  (p = this.compassMesh) == null || p.material.setValues({ opacity: d }), this.five.needsRender = !0;
23182
- }).play())), this.logoMesh && i && (this.logoMesh.position.copy(i.clone().setY(i.y + 0.011)), this.logoMesh.material.opacity === 0 && ((l = this.logoMeshTween) == null || l.dispose(), this.logoMeshTween = Wr(1e3).onUpdate(({ progress: d }) => {
23198
+ }).play())), this.logoMesh && i && (this.logoMesh.position.copy(i.clone().setY(i.y + 0.011)), this.logoMesh.material.opacity === 0 && ((l = this.logoMeshTween) == null || l.dispose(), this.logoMeshTween = Ur(1e3).onUpdate(({ progress: d }) => {
23183
23199
  var p;
23184
23200
  (p = this.logoMesh) == null || p.material.setValues({ opacity: d }), this.five.needsRender = !0;
23185
23201
  }).play())), this.entryDoorMesh) {
@@ -23859,7 +23875,7 @@ function Ul(n, t, e) {
23859
23875
  u = n[g], d = n[g + 1], u < a && (a = u), d < l && (l = d), u > c && (c = u), d > h && (h = d);
23860
23876
  p = Math.max(c - a, h - l), p = p !== 0 ? 32767 / p : 0;
23861
23877
  }
23862
- return Yr(o, r, e, a, l, p, 0), r;
23878
+ return Zr(o, r, e, a, l, p, 0), r;
23863
23879
  }
23864
23880
  function ev(n, t, e, i, s) {
23865
23881
  var o, r;
@@ -23869,7 +23885,7 @@ function ev(n, t, e, i, s) {
23869
23885
  else
23870
23886
  for (o = e - i; o >= t; o -= i)
23871
23887
  r = rg(o, n[o], n[o + 1], r);
23872
- return r && Ql(r, r.next) && (qr(r), r = r.next), r;
23888
+ return r && Ql(r, r.next) && (Jr(r), r = r.next), r;
23873
23889
  }
23874
23890
  function Xs(n, t) {
23875
23891
  if (!n)
@@ -23878,7 +23894,7 @@ function Xs(n, t) {
23878
23894
  var e = n, i;
23879
23895
  do
23880
23896
  if (i = !1, !e.steiner && (Ql(e, e.next) || bt(e.prev, e, e.next) === 0)) {
23881
- if (qr(e), e = t = e.prev, e === e.next)
23897
+ if (Jr(e), e = t = e.prev, e === e.next)
23882
23898
  break;
23883
23899
  i = !0;
23884
23900
  } else
@@ -23886,16 +23902,16 @@ function Xs(n, t) {
23886
23902
  while (i || e !== t);
23887
23903
  return t;
23888
23904
  }
23889
- function Yr(n, t, e, i, s, o, r) {
23905
+ function Zr(n, t, e, i, s, o, r) {
23890
23906
  if (n) {
23891
23907
  !r && o && J5(n, i, s, o);
23892
23908
  for (var a = n, l, c; n.prev !== n.next; ) {
23893
23909
  if (l = n.prev, c = n.next, o ? G5(n, i, s, o) : N5(n)) {
23894
- t.push(l.i / e | 0), t.push(n.i / e | 0), t.push(c.i / e | 0), qr(n), n = c.next, a = c.next;
23910
+ t.push(l.i / e | 0), t.push(n.i / e | 0), t.push(c.i / e | 0), Jr(n), n = c.next, a = c.next;
23895
23911
  continue;
23896
23912
  }
23897
23913
  if (n = c, n === a) {
23898
- r ? r === 1 ? (n = W5(Xs(n), t, e), Yr(n, t, e, i, s, o, 2)) : r === 2 && U5(n, t, e, i, s, o) : Yr(Xs(n), t, e, i, s, o, 1);
23914
+ r ? r === 1 ? (n = W5(Xs(n), t, e), Zr(n, t, e, i, s, o, 2)) : r === 2 && U5(n, t, e, i, s, o) : Zr(Xs(n), t, e, i, s, o, 1);
23899
23915
  break;
23900
23916
  }
23901
23917
  }
@@ -23937,7 +23953,7 @@ function W5(n, t, e) {
23937
23953
  var i = n;
23938
23954
  do {
23939
23955
  var s = i.prev, o = i.next.next;
23940
- !Ql(s, o) && tv(s, i, i.next, o) && Zr(s, o) && Zr(o, s) && (t.push(s.i / e | 0), t.push(i.i / e | 0), t.push(o.i / e | 0), qr(i), qr(i.next), i = n = o), i = i.next;
23956
+ !Ql(s, o) && tv(s, i, i.next, o) && qr(s, o) && qr(o, s) && (t.push(s.i / e | 0), t.push(i.i / e | 0), t.push(o.i / e | 0), Jr(i), Jr(i.next), i = n = o), i = i.next;
23941
23957
  } while (i !== n);
23942
23958
  return Xs(i);
23943
23959
  }
@@ -23947,7 +23963,7 @@ function U5(n, t, e, i, s, o) {
23947
23963
  for (var a = r.next.next; a !== r.prev; ) {
23948
23964
  if (r.i !== a.i && e4(r, a)) {
23949
23965
  var l = iv(r, a);
23950
- r = Xs(r, r.next), l = Xs(l, l.next), Yr(r, t, e, i, s, o, 0), Yr(l, t, e, i, s, o, 0);
23966
+ r = Xs(r, r.next), l = Xs(l, l.next), Zr(r, t, e, i, s, o, 0), Zr(l, t, e, i, s, o, 0);
23951
23967
  return;
23952
23968
  }
23953
23969
  a = a.next;
@@ -23988,7 +24004,7 @@ function Z5(n, t) {
23988
24004
  var l = r, c = r.x, h = r.y, u = 1 / 0, d;
23989
24005
  e = r;
23990
24006
  do
23991
- i >= e.x && e.x >= c && i !== e.x && Po(s < h ? i : o, s, c, h, s < h ? o : i, s, e.x, e.y) && (d = Math.abs(s - e.y) / (i - e.x), Zr(e, n) && (d < u || d === u && (e.x > r.x || e.x === r.x && q5(r, e))) && (r = e, u = d)), e = e.next;
24007
+ i >= e.x && e.x >= c && i !== e.x && Po(s < h ? i : o, s, c, h, s < h ? o : i, s, e.x, e.y) && (d = Math.abs(s - e.y) / (i - e.x), qr(e, n) && (d < u || d === u && (e.x > r.x || e.x === r.x && q5(r, e))) && (r = e, u = d)), e = e.next;
23992
24008
  while (e !== l);
23993
24009
  return r;
23994
24010
  }
@@ -24031,7 +24047,7 @@ function Po(n, t, e, i, s, o, r, a) {
24031
24047
  }
24032
24048
  function e4(n, t) {
24033
24049
  return n.next.i !== t.i && n.prev.i !== t.i && !t4(n, t) && // dones't intersect other edges
24034
- (Zr(n, t) && Zr(t, n) && i4(n, t) && // locally visible
24050
+ (qr(n, t) && qr(t, n) && i4(n, t) && // locally visible
24035
24051
  (bt(n.prev, n, t.prev) || bt(n, t.prev, t)) || // does not create opposite-facing sectors
24036
24052
  Ql(n, t) && bt(n.prev, n, n.next) > 0 && bt(t.prev, t, t.next) > 0);
24037
24053
  }
@@ -24060,7 +24076,7 @@ function t4(n, t) {
24060
24076
  } while (e !== n);
24061
24077
  return !1;
24062
24078
  }
24063
- function Zr(n, t) {
24079
+ function qr(n, t) {
24064
24080
  return bt(n.prev, n, n.next) < 0 ? bt(n, t, n.next) >= 0 && bt(n, n.prev, t) >= 0 : bt(n, t, n.prev) < 0 || bt(n, n.next, t) < 0;
24065
24081
  }
24066
24082
  function i4(n, t) {
@@ -24078,7 +24094,7 @@ function rg(n, t, e, i) {
24078
24094
  var s = new ch(n, t, e);
24079
24095
  return i ? (s.next = i.next, s.prev = i, i.next.prev = s, i.next = s) : (s.prev = s, s.next = s), s;
24080
24096
  }
24081
- function qr(n) {
24097
+ function Jr(n) {
24082
24098
  n.next.prev = n.prev, n.prev.next = n.next, n.prevZ && (n.prevZ.nextZ = n.nextZ), n.nextZ && (n.nextZ.prevZ = n.prevZ);
24083
24099
  }
24084
24100
  function ch(n, t, e) {
@@ -24132,7 +24148,7 @@ function uh(n, t) {
24132
24148
  const e = Array.isArray(t) ? t : [t];
24133
24149
  for (let i = 0; i < e.length; i++) {
24134
24150
  const s = n.start, o = n.end, r = e[i].start, a = e[i].end;
24135
- if (!(br(s, r) || br(s, a) || br(o, r) || br(o, a) || br(s, o)) && n4([s.x, s.y, s.z], [o.x, o.y, o.z], [r.x, r.y, r.z], [a.x, a.y, a.z]))
24151
+ if (!(yr(s, r) || yr(s, a) || yr(o, r) || yr(o, a) || yr(s, o)) && n4([s.x, s.y, s.z], [o.x, o.y, o.z], [r.x, r.y, r.z], [a.x, a.y, a.z]))
24136
24152
  return !0;
24137
24153
  }
24138
24154
  return !1;
@@ -24170,7 +24186,7 @@ function a4(n, t) {
24170
24186
  function ag(n) {
24171
24187
  return n >= 0 && n <= 1;
24172
24188
  }
24173
- function br(n, t) {
24189
+ function yr(n, t) {
24174
24190
  return n.x === t.x && n.y === t.y && n.z === t.z;
24175
24191
  }
24176
24192
  function sv(n, t) {
@@ -24485,7 +24501,7 @@ class ts extends Wl {
24485
24501
  f(this, "pointSelector");
24486
24502
  f(this, "deleteDom");
24487
24503
  /** 根据 intersection 更新放大镜和吸附点 */
24488
- f(this, "onIntersectionUpdate", na((e) => {
24504
+ f(this, "onIntersectionUpdate", sa((e) => {
24489
24505
  e && (this.currentMeasureType === "area" && typeof e.isAdsorbed == "boolean" && (e.isAdsorbed ? this.hook.emit("readyComplete") : this.hook.emit("notReadyComplete")), this.updateDashed());
24490
24506
  }, 20));
24491
24507
  /** 撤销编辑 */
@@ -24803,7 +24819,7 @@ class hg extends Wl {
24803
24819
  });
24804
24820
  const i = this.five.getElement();
24805
24821
  if (i) {
24806
- const s = new Fr(i);
24822
+ const s = new Hr(i);
24807
24823
  this.hammer = s;
24808
24824
  }
24809
24825
  this.onFiveModeChange(this.five.getCurrentState().mode), this.onFivePanoWillArrive(this.five.getCurrentState().panoIndex), this.onFivePanoArrived(this.five.getCurrentState().panoIndex), this.updateDistanceUI(), this.five.needsRender = !0, this.model.hook.on("polylineAdded", this.polylineAdded), this.model.hook.on("polylineRemoved", this.polylineRemoved), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("panoArrived", this.onFivePanoArrived), this.five.on("modeChange", this.onFiveModeChange), this.five.on("panoWillArrive", this.onFivePanoWillArrive);
@@ -24971,7 +24987,7 @@ class fg extends Wl {
24971
24987
  const i = this.five.getElement();
24972
24988
  if (i) {
24973
24989
  this.fiveElement = i;
24974
- const s = new Fr(i);
24990
+ const s = new Hr(i);
24975
24991
  this.hammer = s, s.on("pan", this.onPan), s.on("panstart", this.onPanStart), s.on("panend", this.onPanEnd);
24976
24992
  }
24977
24993
  this.updateDistanceUI(), this.five.needsRender = !0, this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsPanGesture", this.wantsPanGesture), this.five.on("wantsChangeMode", dg), this.model.hook.on("polylineRemoved", this.polylineRemoved);
@@ -25108,8 +25124,8 @@ function cv(n) {
25108
25124
  let i = 10349931;
25109
25125
  e && n.ballColor >= 0 && (i = n.ballColor);
25110
25126
  const s = new En(), o = new rb(0.3, 0.3), r = t ? v4 : A4, a = new jh().load(r);
25111
- a.encoding = Ir, a.minFilter = Qc;
25112
- const l = new Br({
25127
+ a.encoding = Er, a.minFilter = Qc;
25128
+ const l = new Vr({
25113
25129
  map: a,
25114
25130
  transparent: !0,
25115
25131
  depthTest: !1
@@ -25120,7 +25136,7 @@ function cv(n) {
25120
25136
  fragmentShader: y4,
25121
25137
  depthTest: !1,
25122
25138
  transparent: !0
25123
- }), p = new So(u, d), g = new hb(0.01, 20, 20), m = new Br({
25139
+ }), p = new So(u, d), g = new hb(0.01, 20, 20), m = new Vr({
25124
25140
  color: i,
25125
25141
  depthTest: !1,
25126
25142
  transparent: !0,
@@ -25178,7 +25194,7 @@ class w4 {
25178
25194
  });
25179
25195
  this.five = t.five, this.hook = t.hook, this.group = t.group, this.mouseGroup = cv(F({ isMobile: !0 }, t.openParams.crossHairParameter)), this.container.innerHTML = xy, this.container.classList.add("range-piece-controller"), this.content = this.container.querySelector(".range-piece__content"), this.content && (this.content.style.transform = `matrix3d(${this.pieceStyl.matrix3d.toString()}) scale(${this.pieceStyl.scale})`, this.content.style.opacity = `${this.pieceStyl.opacity}`), t.container.append(this.container), this.intersectMesh = new So(
25180
25196
  new ub(0.04, 0.08, 32),
25181
- new Br({ color: 1245179, opacity: 0, side: w0, transparent: !0 })
25197
+ new Vr({ color: 1245179, opacity: 0, side: w0, transparent: !0 })
25182
25198
  ), this.container.addEventListener("animationend", this.computedCenterMouseXY), this.five.on("cameraUpdate", this.onCameraDirectionUpdate), this.hook.on("willChangeState", this.onWillChangeState);
25183
25199
  }
25184
25200
  dispose() {
@@ -25238,7 +25254,7 @@ class w4 {
25238
25254
  return this.mouseGroup;
25239
25255
  }
25240
25256
  }
25241
- class yr extends Wl {
25257
+ class wr extends Wl {
25242
25258
  constructor(e) {
25243
25259
  super(e);
25244
25260
  f(this, "state", "watching");
@@ -27262,7 +27278,7 @@ class pI extends ms {
27262
27278
  var e, i, s, o;
27263
27279
  this.hasOpen = !1, this.state.enabled = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (e = this.controller) == null || e.dispose(), (i = this.useUIController) == null || i.hide(), (s = this.useGuideController) == null || s.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
27264
27280
  });
27265
- f(this, "getCurrentMode", () => this.controller instanceof ts ? "Edit" : this.controller instanceof fg ? "Watch" : this.controller instanceof yr ? "Mixed" : this.controller instanceof hg ? "View" : null);
27281
+ f(this, "getCurrentMode", () => this.controller instanceof ts ? "Edit" : this.controller instanceof fg ? "Watch" : this.controller instanceof wr ? "Mixed" : this.controller instanceof hg ? "View" : null);
27266
27282
  /** 变更场景
27267
27283
  * @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
27268
27284
  */
@@ -27275,7 +27291,7 @@ class pI extends ms {
27275
27291
  View: hg,
27276
27292
  Watch: fg,
27277
27293
  Edit: ts,
27278
- Mixed: yr
27294
+ Mixed: wr
27279
27295
  };
27280
27296
  if (!i[e])
27281
27297
  throw new Error("不存在的 Mode");
@@ -27387,7 +27403,7 @@ class pI extends ms {
27387
27403
  */
27388
27404
  save(e) {
27389
27405
  var o;
27390
- if (!(this.controller instanceof ts) && !(this.controller instanceof yr))
27406
+ if (!(this.controller instanceof ts) && !(this.controller instanceof wr))
27391
27407
  return this;
27392
27408
  const i = (o = e == null ? void 0 : e.mode) != null ? o : "View", s = this.controller.model.areas;
27393
27409
  return this.controller instanceof ts ? this.controller.complete() : s.forEach((r) => {
@@ -27396,11 +27412,11 @@ class pI extends ms {
27396
27412
  }
27397
27413
  /** Mixed 模式才有用,添加起点 */
27398
27414
  addStartPoint() {
27399
- this.controller instanceof yr && this.hook.emit("willChangeState", "watching", "editing");
27415
+ this.controller instanceof wr && this.hook.emit("willChangeState", "watching", "editing");
27400
27416
  }
27401
27417
  /** Mixed 模式才有用,添加终点 */
27402
27418
  addEndPoint() {
27403
- this.controller instanceof yr && this.hook.emit("willChangeState", "editing", "watching");
27419
+ this.controller instanceof wr && this.hook.emit("willChangeState", "editing", "watching");
27404
27420
  }
27405
27421
  /** 导出数据 */
27406
27422
  toJson() {
@@ -27534,12 +27550,12 @@ class Ln extends mi {
27534
27550
  }
27535
27551
  updateMatrixWorld(e) {
27536
27552
  super.updateMatrixWorld(e);
27537
- const i = Hr(this, this.position).toArray().join(",");
27553
+ const i = Nr(this, this.position).toArray().join(",");
27538
27554
  i !== this.lastRenderDomItem && (this.updateDom(), this.lastRenderDomItem = i);
27539
27555
  }
27540
27556
  updateDom() {
27541
27557
  const e = this.paramsStyle.tip;
27542
- e && !this.dom && (this.dom = new sa(this.five), this.dom.intersectCheck = !1, this.dom.simulate3D = !0, this.dom.container.style.display = this.visible ? "block" : "none");
27558
+ e && !this.dom && (this.dom = new oa(this.five), this.dom.intersectCheck = !1, this.dom.simulate3D = !0, this.dom.container.style.display = this.visible ? "block" : "none");
27543
27559
  const i = (s) => {
27544
27560
  this.dom && this.dom.__text !== s && (this.dom.__text = s, s instanceof HTMLElement ? (this.dom.container.innerHTML = "", this.dom.container.appendChild(s)) : s ? this.dom.container.innerHTML = Nh(s, {
27545
27561
  style: ""
@@ -27548,7 +27564,7 @@ class Ln extends mi {
27548
27564
  e ? (i(e), this.dom.setPosition(this.position.clone())) : i(null);
27549
27565
  }
27550
27566
  }
27551
- class Jr extends Ei {
27567
+ class Kr extends Ei {
27552
27568
  constructor(e) {
27553
27569
  super();
27554
27570
  f(this, "name", "LineWithDotsMesh");
@@ -27728,7 +27744,7 @@ class nr extends Yl {
27728
27744
  }
27729
27745
  updateMatrixWorld(e) {
27730
27746
  if (super.updateMatrixWorld(e), this.center) {
27731
- const i = Hr(this, this.center).toArray().join(",");
27747
+ const i = Nr(this, this.center).toArray().join(",");
27732
27748
  i !== this.lastRenderAreaItem && (this.updateAreaItems(), this.lastRenderAreaItem = i);
27733
27749
  }
27734
27750
  }
@@ -27764,7 +27780,7 @@ class nr extends Yl {
27764
27780
  return console.error("Five not found");
27765
27781
  this.areaDom = (s = this.areaDom) != null ? s : (() => {
27766
27782
  var a;
27767
- const o = new sa(this.five), r = (a = this._paramsStyle.occlusionVisibility) != null ? a : !0;
27783
+ const o = new oa(this.five), r = (a = this._paramsStyle.occlusionVisibility) != null ? a : !0;
27768
27784
  return o.intersectCheck = !r, o.simulate3D = !0, o;
27769
27785
  })(), this.areaDom.setPosition(this.center);
27770
27786
  const i = uy(this.geometryInfo.area, this._paramsStyle.lengthUnit);
@@ -27803,7 +27819,7 @@ class Lg extends mi {
27803
27819
  f(this, "selected", !1);
27804
27820
  f(this, "line");
27805
27821
  f(this, "polygon");
27806
- this.line = new Jr(e == null ? void 0 : e.lineStyle), this.polygon = new nr(e == null ? void 0 : e.polygonStyle), this.add(this.line);
27822
+ this.line = new Kr(e == null ? void 0 : e.lineStyle), this.polygon = new nr(e == null ? void 0 : e.polygonStyle), this.add(this.line);
27807
27823
  }
27808
27824
  changeConfig(e) {
27809
27825
  this.line.setStyle(e == null ? void 0 : e.lineStyle), this.polygon.setStyle(e == null ? void 0 : e.polygonStyle);
@@ -27836,7 +27852,7 @@ const Pc = typeof navigator != "undefined" ? navigator.userAgent.toLowerCase().i
27836
27852
  function Cc(n, t, e, i) {
27837
27853
  n.addEventListener ? n.addEventListener(t, e, i) : n.attachEvent && n.attachEvent("on".concat(t), e);
27838
27854
  }
27839
- function wr(n, t, e, i) {
27855
+ function Pr(n, t, e, i) {
27840
27856
  n.removeEventListener ? n.removeEventListener(t, e, i) : n.detachEvent && n.detachEvent("on".concat(t), e);
27841
27857
  }
27842
27858
  function vv(n, t) {
@@ -27860,7 +27876,7 @@ function vI(n, t) {
27860
27876
  i.indexOf(e[o]) === -1 && (s = !1);
27861
27877
  return s;
27862
27878
  }
27863
- const Kr = {
27879
+ const $r = {
27864
27880
  backspace: 8,
27865
27881
  "⌫": 8,
27866
27882
  tab: 9,
@@ -27944,13 +27960,13 @@ const Kr = {
27944
27960
  91: !1
27945
27961
  }, yt = {};
27946
27962
  for (let n = 1; n < 20; n++)
27947
- Kr["f".concat(n)] = 111 + n;
27948
- let At = [], Or = null, bv = "all";
27949
- const yn = /* @__PURE__ */ new Map(), ha = (n) => Kr[n.toLowerCase()] || an[n.toLowerCase()] || n.toUpperCase().charCodeAt(0), AI = (n) => Object.keys(Kr).find((t) => Kr[t] === n), bI = (n) => Object.keys(an).find((t) => an[t] === n);
27963
+ $r["f".concat(n)] = 111 + n;
27964
+ let At = [], jr = null, bv = "all";
27965
+ const yn = /* @__PURE__ */ new Map(), ua = (n) => $r[n.toLowerCase()] || an[n.toLowerCase()] || n.toUpperCase().charCodeAt(0), AI = (n) => Object.keys($r).find((t) => $r[t] === n), bI = (n) => Object.keys(an).find((t) => an[t] === n);
27950
27966
  function yv(n) {
27951
27967
  bv = n || "all";
27952
27968
  }
27953
- function $r() {
27969
+ function ea() {
27954
27970
  return bv || "all";
27955
27971
  }
27956
27972
  function yI() {
@@ -27973,7 +27989,7 @@ function PI() {
27973
27989
  scope: s,
27974
27990
  shortcut: r,
27975
27991
  mods: o,
27976
- keys: i.split("+").map((a) => ha(a))
27992
+ keys: i.split("+").map((a) => ua(a))
27977
27993
  });
27978
27994
  });
27979
27995
  }), n;
@@ -27987,11 +28003,11 @@ function CI(n) {
27987
28003
  return (t.isContentEditable || (s || e === "TEXTAREA" || e === "SELECT") && !t.readOnly) && (i = !1), i;
27988
28004
  }
27989
28005
  function II(n) {
27990
- return typeof n == "string" && (n = ha(n)), At.indexOf(n) !== -1;
28006
+ return typeof n == "string" && (n = ua(n)), At.indexOf(n) !== -1;
27991
28007
  }
27992
28008
  function EI(n, t) {
27993
28009
  let e, i;
27994
- n || (n = $r());
28010
+ n || (n = ea());
27995
28011
  for (const s in yt)
27996
28012
  if (Object.prototype.hasOwnProperty.call(yt, s))
27997
28013
  for (e = yt[s], i = 0; i < e.length; )
@@ -28001,7 +28017,7 @@ function EI(n, t) {
28001
28017
  } = r;
28002
28018
  return Ru(a);
28003
28019
  }) : i++;
28004
- $r() === n && yv(t || "all");
28020
+ ea() === n && yv(t || "all");
28005
28021
  }
28006
28022
  function MI(n) {
28007
28023
  let t = n.keyCode || n.which || n.charCode;
@@ -28043,10 +28059,10 @@ const Ba = (n) => {
28043
28059
  splitKey: s = "+"
28044
28060
  } = n;
28045
28061
  Av(t).forEach((r) => {
28046
- const a = r.split(s), l = a.length, c = a[l - 1], h = c === "*" ? "*" : ha(c);
28062
+ const a = r.split(s), l = a.length, c = a[l - 1], h = c === "*" ? "*" : ua(c);
28047
28063
  if (!yt[h])
28048
28064
  return;
28049
- e || (e = $r());
28065
+ e || (e = ea());
28050
28066
  const u = l > 1 ? vv(an, a) : [], d = [];
28051
28067
  yt[h] = yt[h].filter((p) => {
28052
28068
  const m = (i ? p.method === i : !0) && p.scope === e && vI(p.mods, u);
@@ -28083,7 +28099,7 @@ function Og(n, t) {
28083
28099
  for (const a in Ft)
28084
28100
  Object.prototype.hasOwnProperty.call(Ft, a) && (Ft[a] = n[Ja[a]]);
28085
28101
  n.getModifierState && !(n.altKey && !n.ctrlKey) && n.getModifierState("AltGraph") && (At.indexOf(17) === -1 && At.push(17), At.indexOf(18) === -1 && At.push(18), Ft[17] = !0, Ft[18] = !0);
28086
- const s = $r();
28102
+ const s = ea();
28087
28103
  if (e)
28088
28104
  for (let a = 0; a < e.length; a++)
28089
28105
  e[a].scope === s && (n.type === "keydown" && e[a].keydown || n.type === "keyup" && e[a].keyup) && zg(n, e[a], s, t);
@@ -28096,7 +28112,7 @@ function Og(n, t) {
28096
28112
  splitKey: c
28097
28113
  } = l, h = l.key.split(c), u = [];
28098
28114
  for (let d = 0; d < h.length; d++)
28099
- u.push(ha(h[d]));
28115
+ u.push(ua(h[d]));
28100
28116
  u.sort().join("") === At.sort().join("") && zg(n, l, s, t);
28101
28117
  }
28102
28118
  }
@@ -28105,7 +28121,7 @@ function pt(n, t, e) {
28105
28121
  const i = Av(n);
28106
28122
  let s = [], o = "all", r = document, a = 0, l = !1, c = !0, h = "+", u = !1, d = !1;
28107
28123
  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 && (d = !0)), typeof t == "string" && (o = t), d && wv(n, o); a < i.length; a++)
28108
- n = i[a].split(h), s = [], n.length > 1 && (s = vv(an, n)), n = n[n.length - 1], n = n === "*" ? "*" : ha(n), n in yt || (yt[n] = []), yt[n].push({
28124
+ n = i[a].split(h), s = [], n.length > 1 && (s = vv(an, n)), n = n[n.length - 1], n = n === "*" ? "*" : ua(n), n in yt || (yt[n] = []), yt[n].push({
28109
28125
  keyup: l,
28110
28126
  keydown: c,
28111
28127
  scope: o,
@@ -28131,11 +28147,11 @@ function pt(n, t, e) {
28131
28147
  capture: u
28132
28148
  }), Cc(r, "keydown", p, u), Cc(r, "keyup", g, u);
28133
28149
  }
28134
- if (!Or) {
28150
+ if (!jr) {
28135
28151
  const p = () => {
28136
28152
  At = [];
28137
28153
  };
28138
- Or = {
28154
+ jr = {
28139
28155
  listener: p,
28140
28156
  capture: u
28141
28157
  }, Cc(window, "focus", p, u);
@@ -28163,7 +28179,7 @@ function Ru(n) {
28163
28179
  keyupListenr: s,
28164
28180
  capture: o
28165
28181
  } = yn.get(n) || {};
28166
- i && s && (wr(n, "keyup", s, o), wr(n, "keydown", i, o), yn.delete(n));
28182
+ i && s && (Pr(n, "keyup", s, o), Pr(n, "keydown", i, o), yn.delete(n));
28167
28183
  }
28168
28184
  if ((t.length <= 0 || yn.size <= 0) && (Object.keys(yn).forEach((s) => {
28169
28185
  const {
@@ -28171,19 +28187,19 @@ function Ru(n) {
28171
28187
  keyupListenr: r,
28172
28188
  capture: a
28173
28189
  } = yn.get(s) || {};
28174
- o && r && (wr(s, "keyup", r, a), wr(s, "keydown", o, a), yn.delete(s));
28175
- }), yn.clear(), Object.keys(yt).forEach((s) => delete yt[s]), Or)) {
28190
+ o && r && (Pr(s, "keyup", r, a), Pr(s, "keydown", o, a), yn.delete(s));
28191
+ }), yn.clear(), Object.keys(yt).forEach((s) => delete yt[s]), jr)) {
28176
28192
  const {
28177
28193
  listener: s,
28178
28194
  capture: o
28179
- } = Or;
28180
- wr(window, "focus", s, o), Or = null;
28195
+ } = jr;
28196
+ Pr(window, "focus", s, o), jr = null;
28181
28197
  }
28182
28198
  }
28183
28199
  const Ic = {
28184
28200
  getPressedKeyString: wI,
28185
28201
  setScope: yv,
28186
- getScope: $r,
28202
+ getScope: ea,
28187
28203
  deleteScope: EI,
28188
28204
  getPressedKeyCodes: yI,
28189
28205
  getAllKeyCodes: PI,
@@ -28191,7 +28207,7 @@ const Ic = {
28191
28207
  filter: CI,
28192
28208
  trigger: kI,
28193
28209
  unbind: wv,
28194
- keyMap: Kr,
28210
+ keyMap: $r,
28195
28211
  modifier: an,
28196
28212
  modifierMap: Ja
28197
28213
  };
@@ -28323,7 +28339,7 @@ class zI extends Mt {
28323
28339
  polygonStyle: this.polygonStyle
28324
28340
  });
28325
28341
  this.currentMeasureMesh = e, e.line.setStyle({ cssStyle: "pointer-events: none;" }), this.pointSelector.actionIfNoIntersection = "disable", this.updateSelectAdsorbedHelper();
28326
- const i = new Ln({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new Jr(ce(F({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), o = new nr(this.polygonStyle), r = new Ei(ce(F({}, this.lineStyle), {
28342
+ const i = new Ln({ occlusionMode: "depthTest", occlusionVisibility: !0 }), s = new Kr(ce(F({}, this.lineStyle), { dashed: !0, cssStyle: "pointer-events: none;" })), o = new nr(this.polygonStyle), r = new Ei(ce(F({}, this.lineStyle), {
28327
28343
  lineOpacity: 0.5,
28328
28344
  lineColor: 3407837,
28329
28345
  dashed: !0,
@@ -28544,7 +28560,7 @@ class zI extends Mt {
28544
28560
  }
28545
28561
  });
28546
28562
  f(this, "onMoveToPano", (e) => {
28547
- const i = this.group.children.filter((o) => o !== this.currentMeasureMesh), s = new Vr();
28563
+ const i = this.group.children.filter((o) => o !== this.currentMeasureMesh), s = new Fr();
28548
28564
  i.forEach((o) => {
28549
28565
  var a;
28550
28566
  if (o.unselect(), o.__five_pano_index === e) {
@@ -30171,7 +30187,7 @@ const aL = (n, t) => {
30171
30187
  name: "ModelItemLabelPlugin",
30172
30188
  version: 0
30173
30189
  };
30174
- var Mr = /* @__PURE__ */ ((n) => (n.TOP_LEFT = "topLeft", n.TOP_RIGHT = "topRight", n.BOTTOM_LEFT = "bottomLeft", n.BOTTOM_RIGHT = "bottomRight", n))(Mr || {});
30190
+ var kr = /* @__PURE__ */ ((n) => (n.TOP_LEFT = "topLeft", n.TOP_RIGHT = "topRight", n.BOTTOM_LEFT = "bottomLeft", n.BOTTOM_RIGHT = "bottomRight", n))(kr || {});
30175
30191
  function sE(n) {
30176
30192
  if (n.length === 0)
30177
30193
  return [];
@@ -30180,10 +30196,10 @@ function sE(n) {
30180
30196
  let t = [];
30181
30197
  return n.forEach((e) => {
30182
30198
  const i = [
30183
- e[Mr.TOP_LEFT],
30184
- e[Mr.BOTTOM_LEFT],
30185
- e[Mr.BOTTOM_RIGHT],
30186
- e[Mr.TOP_RIGHT]
30199
+ e[kr.TOP_LEFT],
30200
+ e[kr.BOTTOM_LEFT],
30201
+ e[kr.BOTTOM_RIGHT],
30202
+ e[kr.TOP_RIGHT]
30187
30203
  ];
30188
30204
  t.push(i);
30189
30205
  }), t;
@@ -31293,7 +31309,7 @@ Zl.normal = function(t, e) {
31293
31309
  Zl.direction = function(t, e, i) {
31294
31310
  return WE(t, e, i), Mv(t, t), t;
31295
31311
  };
31296
- var An = Zl, Ms = [0, 0], Va = [0, 0], ep = [0, 0], Pr = [0, 0], QE = function(n, t) {
31312
+ var An = Zl, Ms = [0, 0], Va = [0, 0], ep = [0, 0], Cr = [0, 0], QE = function(n, t) {
31297
31313
  var e = null, i = [];
31298
31314
  t && (n = n.slice(), n.push(n[0]));
31299
31315
  for (var s = n.length, o = 1; o < s; o++) {
@@ -31302,15 +31318,15 @@ var An = Zl, Ms = [0, 0], Va = [0, 0], ep = [0, 0], Pr = [0, 0], QE = function(n
31302
31318
  An.normal(e, Ms), Mc(i, e, 1);
31303
31319
  else {
31304
31320
  An.direction(Va, l, a);
31305
- var c = An.computeMiter(ep, Pr, Ms, Va, 1);
31306
- Mc(i, Pr, c);
31321
+ var c = An.computeMiter(ep, Cr, Ms, Va, 1);
31322
+ Mc(i, Cr, c);
31307
31323
  }
31308
31324
  }
31309
31325
  if (n.length > 2 && t) {
31310
31326
  var h = n[s - 2], u = n[0], d = n[1];
31311
31327
  An.direction(Ms, u, h), An.direction(Va, d, u), An.normal(e, Ms);
31312
- var p = An.computeMiter(ep, Pr, Ms, Va, 1);
31313
- i[0][0] = Pr.slice(), i[s - 1][0] = Pr.slice(), i[0][1] = p, i[s - 1][1] = p, i.pop();
31328
+ var p = An.computeMiter(ep, Cr, Ms, Va, 1);
31329
+ i[0][0] = Cr.slice(), i[s - 1][0] = Cr.slice(), i[0][1] = p, i[s - 1][1] = p, i.pop();
31314
31330
  }
31315
31331
  return i;
31316
31332
  };
@@ -31629,15 +31645,15 @@ function h8(n) {
31629
31645
  extraData: n.extraData
31630
31646
  }), n;
31631
31647
  }
31632
- const qo = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAADAAAGhgBVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr///////////////////////////////////////////8AAAA5TEFNRTMuOThyAc0AAAAAAAAAABSAJAiqQgAAgAAABobxtI73AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//uQxAACFEII9ACZ/sJZwWEoEb8w/////N//////JcxjHjf+7/v/H2PzCCFAiDtGeyBCIx7bJJ1mmEEMy6g8mm2c8nrGABB4h2Mkmn//4z/73u773R5qHHu/j/w7Kxkzh5lWRWdsifCkNAnY9Zc1HvDAhjhSHdFkHFzLmabt/AQxSg2wwzLhHIJOBnAWwVY4zrhIYhhc2kvhYDfQ4hDi2Gmh5KyFn8EcGIrHAngNgIwVIEMf5bzbAiTRoAD///8z/KVhkkWEle6IX+d/z4fvH3BShK1e5kmjkCMoxVmXhd4ROlTKo3iipasvTilY21q19ta30/v/0/idPX1v8PNxJL6ramnOVsdvMv2akO0iSYIzdJFirtzWXCZicS9vHqvSKyqm5XJBdqBwPxyfJdykhWTZ0G0ZyTZGpLKxsNwwoRhsx3tZfhwmeOBVISm3impAC/IT/8hP/EKEM1KMdVdVKM2rHV4x7HVXZvbVVKN/qq8CiV9VL9jjH/6l6qf7MBCjZmOqsAibjcP+qqqv0oxqpa/NVW286hPo1nz2L/h8+jXt//uSxCmDU2IK/ECN98KKtE5IYzNoCfbw+u9i5r8PoadUMFPKqWL4LK3T/LCraMSHGkW4bpLXR/E6LlHOVQxmslKVJ8IULktMN06N0FKCpHCoYsjC4F+Z0NVqdNFoGSTjSiyjzLdnZ2fNqTi2eHKONONKLMPMKLONKLMPQRJGlFxZRoKcJFAYEeIFiRQkUWUeYfef//Ko04soswso40UJAgMw8wosososy0EalnZyjQUGBRQGIFggOWUacWUeYmuadrZziQKKEgQsQLAhQkUJAgMQDghltLO1onp0cpkNInSFMqlYeSEJ5AHsqFdOwy1DA2sRmRJKxdKRfLhfLw5BzUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7ksRRA8AAAaQAAAAgAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=", jr = {};
31648
+ const qo = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAADAAAGhgBVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr///////////////////////////////////////////8AAAA5TEFNRTMuOThyAc0AAAAAAAAAABSAJAiqQgAAgAAABobxtI73AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//uQxAACFEII9ACZ/sJZwWEoEb8w/////N//////JcxjHjf+7/v/H2PzCCFAiDtGeyBCIx7bJJ1mmEEMy6g8mm2c8nrGABB4h2Mkmn//4z/73u773R5qHHu/j/w7Kxkzh5lWRWdsifCkNAnY9Zc1HvDAhjhSHdFkHFzLmabt/AQxSg2wwzLhHIJOBnAWwVY4zrhIYhhc2kvhYDfQ4hDi2Gmh5KyFn8EcGIrHAngNgIwVIEMf5bzbAiTRoAD///8z/KVhkkWEle6IX+d/z4fvH3BShK1e5kmjkCMoxVmXhd4ROlTKo3iipasvTilY21q19ta30/v/0/idPX1v8PNxJL6ramnOVsdvMv2akO0iSYIzdJFirtzWXCZicS9vHqvSKyqm5XJBdqBwPxyfJdykhWTZ0G0ZyTZGpLKxsNwwoRhsx3tZfhwmeOBVISm3impAC/IT/8hP/EKEM1KMdVdVKM2rHV4x7HVXZvbVVKN/qq8CiV9VL9jjH/6l6qf7MBCjZmOqsAibjcP+qqqv0oxqpa/NVW286hPo1nz2L/h8+jXt//uSxCmDU2IK/ECN98KKtE5IYzNoCfbw+u9i5r8PoadUMFPKqWL4LK3T/LCraMSHGkW4bpLXR/E6LlHOVQxmslKVJ8IULktMN06N0FKCpHCoYsjC4F+Z0NVqdNFoGSTjSiyjzLdnZ2fNqTi2eHKONONKLMPMKLONKLMPQRJGlFxZRoKcJFAYEeIFiRQkUWUeYfef//Ko04soswso40UJAgMw8wosososy0EalnZyjQUGBRQGIFggOWUacWUeYmuadrZziQKKEgQsQLAhQkUJAgMQDghltLO1onp0cpkNInSFMqlYeSEJ5AHsqFdOwy1DA2sRmRJKxdKRfLhfLw5BzUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7ksRRA8AAAaQAAAAgAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=", Rr = {};
31633
31649
  var Vu = /* @__PURE__ */ ((n) => (n.Default = "default", n.GetAudioDuration = "getAudioDuration", n.PlayAudio = "playAudio", n))(Vu || {});
31634
31650
  function u8(n, t) {
31635
- const e = (t == null ? void 0 : t.namespace) || "default", i = jr[e] || (jr[e] = []);
31651
+ const e = (t == null ? void 0 : t.namespace) || "default", i = Rr[e] || (Rr[e] = []);
31636
31652
  let s = i.find((o) => !o.realSrc || o.realSrc === qo);
31637
- return s || (console.warn("未找到缓存音频,已新建", jr), s = new Tv(qo), i.push(s)), n && (s.src = n), s;
31653
+ return s || (console.warn("未找到缓存音频,已新建", Rr), s = new Tv(qo), i.push(s)), n && (s.src = n), s;
31638
31654
  }
31639
31655
  function d8(n, t) {
31640
- const e = (t == null ? void 0 : t.namespace) || "default", i = jr[e] || (jr[e] = []), s = n - i.length;
31656
+ const e = (t == null ? void 0 : t.namespace) || "default", i = Rr[e] || (Rr[e] = []), s = n - i.length;
31641
31657
  if (!(s <= 0))
31642
31658
  for (let o = 0; o < s; o++)
31643
31659
  i.push(new Tv(qo));
@@ -31902,7 +31918,7 @@ function w8(n, t) {
31902
31918
  }
31903
31919
  return s;
31904
31920
  }
31905
- function kr(n, t, e) {
31921
+ function xr(n, t, e) {
31906
31922
  if (n === "fill")
31907
31923
  return t;
31908
31924
  if (n === "contain") {
@@ -31957,7 +31973,7 @@ class P8 extends w.ShaderMaterial {
31957
31973
  };
31958
31974
  }
31959
31975
  }
31960
- const ua = { Z_FIGHTING_OFFSET: 0.01 };
31976
+ const da = { Z_FIGHTING_OFFSET: 0.01 };
31961
31977
  let Ov = class extends w.Mesh {
31962
31978
  constructor() {
31963
31979
  super(...arguments);
@@ -31988,12 +32004,12 @@ class wh extends Ov {
31988
32004
  const o = (a = s == null ? void 0 : s.resolveZFighting) != null ? a : !0;
31989
32005
  let r = i;
31990
32006
  if (o) {
31991
- const l = As(i).multiplyScalar(ua.Z_FIGHTING_OFFSET);
32007
+ const l = As(i).multiplyScalar(da.Z_FIGHTING_OFFSET);
31992
32008
  r = i.map((c) => c.clone().add(l));
31993
32009
  }
31994
32010
  Z1(e).then(({ texture: l, transparent: c }) => {
31995
32011
  var m;
31996
- const h = new w.MeshBasicMaterial({ map: l, transparent: c, side: w.DoubleSide }), u = kr(
32012
+ const h = new w.MeshBasicMaterial({ map: l, transparent: c, side: w.DoubleSide }), u = xr(
31997
32013
  (m = s == null ? void 0 : s.objectFit) != null ? m : "contain",
31998
32014
  r,
31999
32015
  l.image.width / l.image.height
@@ -32079,7 +32095,7 @@ class jv extends Ov {
32079
32095
  return this.coverMesh;
32080
32096
  if (!this.videoCoverSrc)
32081
32097
  return;
32082
- const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), o = new w.MeshBasicMaterial({ transparent: !1, map: i, side: w.DoubleSide }), r = kr(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new kc(r, o);
32098
+ const { texture: i, transparent: s } = yield this.getImageTexture(this.videoCoverSrc), o = new w.MeshBasicMaterial({ transparent: !1, map: i, side: w.DoubleSide }), r = xr(this.objectFit, this.cornerPoints, i.image.width / i.image.height), a = new kc(r, o);
32083
32099
  return a.position.copy(new Ae(0, 0, 0)), a.name = "videoCoverMesh", a;
32084
32100
  }))();
32085
32101
  return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
@@ -32096,9 +32112,9 @@ class jv extends Ov {
32096
32112
  if (!this.src)
32097
32113
  return;
32098
32114
  const o = this.getVideoTexture(this.src), r = new w.MeshBasicMaterial({ transparent: !1, map: o, side: w.DoubleSide }), a = yield new Promise((c) => {
32099
- o.metadataLoaded ? c(kr(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight)) : o.addEventListener(
32115
+ o.metadataLoaded ? c(xr(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight)) : o.addEventListener(
32100
32116
  "videoLoaded",
32101
- () => c(kr(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight))
32117
+ () => c(xr(this.objectFit, this.cornerPoints, o.image.videoWidth / o.image.videoHeight))
32102
32118
  );
32103
32119
  }), l = new kc(a, r);
32104
32120
  return l.name = "videoMesh", l.position.copy(new Ae(0, 0, 0)), l;
@@ -32129,7 +32145,7 @@ class jv extends Ov {
32129
32145
  var p, g, m, v;
32130
32146
  if (this.buttonMesh)
32131
32147
  return this.buttonMesh;
32132
- const i = (g = (p = this.videoMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? g : 1 / 0, s = (v = (m = this.coverMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, o = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, s, o) / o * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h = kr("contain", this.cornerPoints, l.image.width / l.image.height), u = new kc(h, new P8(l));
32148
+ const i = (g = (p = this.videoMesh) == null ? void 0 : p.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? g : 1 / 0, s = (v = (m = this.coverMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? v : 1 / 0, o = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), a = Math.min(i, s, o) / o * 0.3, { texture: l, transparent: c } = yield this.getImageTexture(this.buttonSrc), h = xr("contain", this.cornerPoints, l.image.width / l.image.height), u = new kc(h, new P8(l));
32133
32149
  u.position.copy(new Ae(0, 0, 0)), u.name = "buttonMesh", u.scale.set(a, a, a), this.domEvents.addAutoBindEventListener(
32134
32150
  u,
32135
32151
  "click",
@@ -32138,7 +32154,7 @@ class jv extends Ov {
32138
32154
  },
32139
32155
  { noEmitWhenHide: !0 }
32140
32156
  );
32141
- const d = As(h).multiplyScalar(ua.Z_FIGHTING_OFFSET);
32157
+ const d = As(h).multiplyScalar(da.Z_FIGHTING_OFFSET);
32142
32158
  return u.position.add(d), u;
32143
32159
  }))();
32144
32160
  return this.children.includes(this.buttonMesh) || (this.add(e), this.buttonMesh = e), e;
@@ -32161,7 +32177,7 @@ class jv extends Ov {
32161
32177
  return (o = this.videoTextureMap) == null || o.set(e, i), i;
32162
32178
  }
32163
32179
  }
32164
- class ea {
32180
+ class ta {
32165
32181
  constructor() {
32166
32182
  /**
32167
32183
  * @description 射线碰撞检测的距离缓存
@@ -32186,12 +32202,12 @@ class ea {
32186
32202
  ].join(",") : void 0;
32187
32203
  }
32188
32204
  getVisible(t, e, i = 1) {
32189
- const s = ea.generateCameraTagKey(e, t, i);
32205
+ const s = ta.generateCameraTagKey(e, t, i);
32190
32206
  if (s)
32191
32207
  return this.cache_visible.get(s);
32192
32208
  }
32193
32209
  setVisible(t, e, i, s = 1) {
32194
- const o = ea.generateCameraTagKey(e, t, s);
32210
+ const o = ta.generateCameraTagKey(e, t, s);
32195
32211
  o && this.cache_visible.set(o, i);
32196
32212
  }
32197
32213
  }
@@ -32208,7 +32224,7 @@ class C8 extends ms {
32208
32224
  constructor(e) {
32209
32225
  super(e);
32210
32226
  f(this, "tags", []);
32211
- f(this, "cache", new ea());
32227
+ f(this, "cache", new ta());
32212
32228
  f(this, "config", v8);
32213
32229
  f(this, "renderQueue", /* @__PURE__ */ new Map());
32214
32230
  /** 插件参数 */
@@ -32663,7 +32679,7 @@ class Fu {
32663
32679
  })(), this.matrix = e.matrix ? (() => {
32664
32680
  const m = new w.Matrix4().fromArray(e.matrix);
32665
32681
  return m.premultiply(t.workUtil.transform), m.elements;
32666
- })() : e.matrix, this.initialConfig = o, this.computedConfig = r, this.stickType = i, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new ea(), this.hooks = new Mt(), Object.keys(e).forEach((m) => {
32682
+ })() : e.matrix, this.initialConfig = o, this.computedConfig = r, this.stickType = i, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new ta(), this.hooks = new Mt(), Object.keys(e).forEach((m) => {
32667
32683
  this[m] === void 0 && e[m] !== void 0 && (this[m] = e[m]);
32668
32684
  });
32669
32685
  }
@@ -33983,7 +33999,7 @@ function W8(n) {
33983
33999
  p(r, [a]) {
33984
34000
  a & /*spanEleList, contentList, __SpaceFlag__, __NewLineFlag__*/
33985
34001
  30 && (s = /*contentList*/
33986
- r[2], t = li(t, a, o, 1, r, s, e, i.parentNode, la, cp, i, lp));
34002
+ r[2], t = li(t, a, o, 1, r, s, e, i.parentNode, ca, cp, i, lp));
33987
34003
  },
33988
34004
  i: se,
33989
34005
  o: se,
@@ -35174,7 +35190,7 @@ function Ap(n) {
35174
35190
  /*inDelay*/
35175
35191
  n[0]
35176
35192
  ),
35177
- easing: Qr
35193
+ easing: Xr
35178
35194
  }), e.start());
35179
35195
  }), s = !0);
35180
35196
  },
@@ -35889,7 +35905,7 @@ function f9({
35889
35905
  total: i.head + i.tail
35890
35906
  });
35891
35907
  }
35892
- const Rr = (n, t, e) => {
35908
+ const _r = (n, t, e) => {
35893
35909
  if (n && n.hasOwnProperty(t))
35894
35910
  return n[t];
35895
35911
  if (e === void 0)
@@ -35916,7 +35932,7 @@ var S9 = Array.prototype, D9 = Function.prototype, Uv = Object.prototype, Tc = W
35916
35932
  return n ? "Symbol(src)_1." + n : "";
35917
35933
  }(), Qv = D9.toString, Uu = Uv.hasOwnProperty, Xv = Uv.toString, T9 = RegExp(
35918
35934
  "^" + Qv.call(Uu).replace(P9, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
35919
- ), kp = Wu.Symbol, L9 = S9.splice, z9 = Yv(Wu, "Map"), ta = Yv(Object, "create"), xp = kp ? kp.prototype : void 0, Sp = xp ? xp.toString : void 0;
35935
+ ), kp = Wu.Symbol, L9 = S9.splice, z9 = Yv(Wu, "Map"), ia = Yv(Object, "create"), xp = kp ? kp.prototype : void 0, Sp = xp ? xp.toString : void 0;
35920
35936
  function Zs(n) {
35921
35937
  var t = -1, e = n ? n.length : 0;
35922
35938
  for (this.clear(); ++t < e; ) {
@@ -35925,14 +35941,14 @@ function Zs(n) {
35925
35941
  }
35926
35942
  }
35927
35943
  function O9() {
35928
- this.__data__ = ta ? ta(null) : {};
35944
+ this.__data__ = ia ? ia(null) : {};
35929
35945
  }
35930
35946
  function j9(n) {
35931
35947
  return this.has(n) && delete this.__data__[n];
35932
35948
  }
35933
35949
  function R9(n) {
35934
35950
  var t = this.__data__;
35935
- if (ta) {
35951
+ if (ia) {
35936
35952
  var e = t[n];
35937
35953
  return e === Gv ? void 0 : e;
35938
35954
  }
@@ -35940,11 +35956,11 @@ function R9(n) {
35940
35956
  }
35941
35957
  function _9(n) {
35942
35958
  var t = this.__data__;
35943
- return ta ? t[n] !== void 0 : Uu.call(t, n);
35959
+ return ia ? t[n] !== void 0 : Uu.call(t, n);
35944
35960
  }
35945
35961
  function B9(n, t) {
35946
35962
  var e = this.__data__;
35947
- return e[n] = ta && t === void 0 ? Gv : t, this;
35963
+ return e[n] = ia && t === void 0 ? Gv : t, this;
35948
35964
  }
35949
35965
  Zs.prototype.clear = O9;
35950
35966
  Zs.prototype.delete = j9;
@@ -36323,11 +36339,11 @@ var Na = ck, El = {}, hk = {
36323
36339
  }
36324
36340
  function hi(x, G, K) {
36325
36341
  var le = x[G];
36326
- (!(ot.call(x, G) && ma(le, K)) || K === void 0 && !(G in x)) && (x[G] = K);
36342
+ (!(ot.call(x, G) && va(le, K)) || K === void 0 && !(G in x)) && (x[G] = K);
36327
36343
  }
36328
36344
  function xi(x, G) {
36329
36345
  for (var K = x.length; K--; )
36330
- if (ma(x[K][0], G))
36346
+ if (va(x[K][0], G))
36331
36347
  return K;
36332
36348
  return -1;
36333
36349
  }
@@ -36346,7 +36362,7 @@ var Na = ck, El = {}, hk = {
36346
36362
  return Is(x, et);
36347
36363
  } else {
36348
36364
  var it = ne(x), Yt = it == h || it == u;
36349
- if (va(x))
36365
+ if (Aa(x))
36350
36366
  return Yi(x, G);
36351
36367
  if (it == g || it == o || Yt && !He) {
36352
36368
  if (Fe(x))
@@ -36539,10 +36555,10 @@ var Na = ck, El = {}, hk = {
36539
36555
  }
36540
36556
  return "";
36541
36557
  }
36542
- function pa(x) {
36558
+ function ma(x) {
36543
36559
  return ei(x, !0, !0);
36544
36560
  }
36545
- function ma(x, G) {
36561
+ function va(x, G) {
36546
36562
  return x === G || x !== x && G !== G;
36547
36563
  }
36548
36564
  function co(x) {
@@ -36550,24 +36566,24 @@ var Na = ck, El = {}, hk = {
36550
36566
  }
36551
36567
  var gr = Array.isArray;
36552
36568
  function ho(x) {
36553
- return x != null && Aa(x.length) && !pr(x);
36569
+ return x != null && ba(x.length) && !pr(x);
36554
36570
  }
36555
36571
  function tc(x) {
36556
- return ba(x) && ho(x);
36572
+ return ya(x) && ho(x);
36557
36573
  }
36558
- var va = On || nc;
36574
+ var Aa = On || nc;
36559
36575
  function pr(x) {
36560
36576
  var G = Zi(x) ? Rt.call(x) : "";
36561
36577
  return G == h || G == u;
36562
36578
  }
36563
- function Aa(x) {
36579
+ function ba(x) {
36564
36580
  return typeof x == "number" && x > -1 && x % 1 == 0 && x <= s;
36565
36581
  }
36566
36582
  function Zi(x) {
36567
36583
  var G = typeof x;
36568
36584
  return !!x && (G == "object" || G == "function");
36569
36585
  }
36570
- function ba(x) {
36586
+ function ya(x) {
36571
36587
  return !!x && typeof x == "object";
36572
36588
  }
36573
36589
  function mr(x) {
@@ -36579,7 +36595,7 @@ var Na = ck, El = {}, hk = {
36579
36595
  function nc() {
36580
36596
  return !1;
36581
36597
  }
36582
- n.exports = pa;
36598
+ n.exports = ma;
36583
36599
  })(hk, El);
36584
36600
  const uk = El;
36585
36601
  var Ml = {}, dk = {
@@ -36786,7 +36802,7 @@ var Ml = {}, dk = {
36786
36802
  }
36787
36803
  It.prototype.clear = ei, It.prototype.delete = ro, It.prototype.get = ao, It.prototype.has = Nn, It.prototype.set = ti;
36788
36804
  function Gn(x, G) {
36789
- var K = co(x), le = !K && ma(x), We = !K && !le && ho(x), He = !K && !le && !We && ba(x), qe = K || le || We || He, et = qe ? Xe(x.length, String) : [], kt = et.length;
36805
+ var K = co(x), le = !K && va(x), We = !K && !le && ho(x), He = !K && !le && !We && ya(x), qe = K || le || We || He, et = qe ? Xe(x.length, String) : [], kt = et.length;
36790
36806
  for (var it in x)
36791
36807
  (G || rt.call(x, it)) && !(qe && // Safari 9 has enumerable `arguments.length` in strict mode.
36792
36808
  (it == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -36797,7 +36813,7 @@ var Ml = {}, dk = {
36797
36813
  }
36798
36814
  function Yi(x, G) {
36799
36815
  for (var K = x.length; K--; )
36800
- if (pa(x[K][0], G))
36816
+ if (ma(x[K][0], G))
36801
36817
  return K;
36802
36818
  return -1;
36803
36819
  }
@@ -36824,7 +36840,7 @@ var Ml = {}, dk = {
36824
36840
  qe = !0, Yt = !1;
36825
36841
  }
36826
36842
  if (zt && !Yt)
36827
- return He || (He = new It()), qe || ba(x) ? Un(x, G, K, le, We, He) : dr(x, G, kt, K, le, We, He);
36843
+ return He || (He = new It()), qe || ya(x) ? Un(x, G, K, le, We, He) : dr(x, G, kt, K, le, We, He);
36828
36844
  if (!(K & s)) {
36829
36845
  var Zt = Yt && rt.call(x, "__wrapped__"), Vt = ui && rt.call(G, "__wrapped__");
36830
36846
  if (Zt || Vt) {
@@ -36835,9 +36851,9 @@ var Ml = {}, dk = {
36835
36851
  return zt ? (He || (He = new It()), fr(x, G, K, le, We, He)) : !1;
36836
36852
  }
36837
36853
  function ur(x) {
36838
- if (!Aa(x) || Et(x))
36854
+ if (!ba(x) || Et(x))
36839
36855
  return !1;
36840
- var G = va(x) ? or : ae;
36856
+ var G = Aa(x) ? or : ae;
36841
36857
  return G.test(ni(x));
36842
36858
  }
36843
36859
  function lo(x) {
@@ -36895,7 +36911,7 @@ var Ml = {}, dk = {
36895
36911
  case h:
36896
36912
  case u:
36897
36913
  case v:
36898
- return pa(+x, +G);
36914
+ return ma(+x, +G);
36899
36915
  case d:
36900
36916
  return x.name == G.name && x.message == G.message;
36901
36917
  case z:
@@ -36945,8 +36961,8 @@ var Ml = {}, dk = {
36945
36961
  Qn || (Qn = zt == "constructor");
36946
36962
  }
36947
36963
  if (Vt && !Qn) {
36948
- var ya = x.constructor, wa = G.constructor;
36949
- ya != wa && "constructor" in x && "constructor" in G && !(typeof ya == "function" && ya instanceof ya && typeof wa == "function" && wa instanceof wa) && (Vt = !1);
36964
+ var wa = x.constructor, Pa = G.constructor;
36965
+ wa != Pa && "constructor" in x && "constructor" in G && !(typeof wa == "function" && wa instanceof wa && typeof Pa == "function" && Pa instanceof Pa) && (Vt = !1);
36950
36966
  }
36951
36967
  return He.delete(x), He.delete(G), Vt;
36952
36968
  }
@@ -37023,23 +37039,23 @@ var Ml = {}, dk = {
37023
37039
  }
37024
37040
  return "";
37025
37041
  }
37026
- function pa(x, G) {
37042
+ function ma(x, G) {
37027
37043
  return x === G || x !== x && G !== G;
37028
37044
  }
37029
- var ma = Wn(function() {
37045
+ var va = Wn(function() {
37030
37046
  return arguments;
37031
37047
  }()) ? Wn : function(x) {
37032
37048
  return Zi(x) && rt.call(x, "callee") && !jn.call(x, "callee");
37033
37049
  }, co = Array.isArray;
37034
37050
  function gr(x) {
37035
- return x != null && pr(x.length) && !va(x);
37051
+ return x != null && pr(x.length) && !Aa(x);
37036
37052
  }
37037
37053
  var ho = _n || nc;
37038
37054
  function tc(x, G) {
37039
37055
  return mn(x, G);
37040
37056
  }
37041
- function va(x) {
37042
- if (!Aa(x))
37057
+ function Aa(x) {
37058
+ if (!ba(x))
37043
37059
  return !1;
37044
37060
  var G = _i(x);
37045
37061
  return G == p || G == g || G == c || G == E;
@@ -37047,14 +37063,14 @@ var Ml = {}, dk = {
37047
37063
  function pr(x) {
37048
37064
  return typeof x == "number" && x > -1 && x % 1 == 0 && x <= r;
37049
37065
  }
37050
- function Aa(x) {
37066
+ function ba(x) {
37051
37067
  var G = typeof x;
37052
37068
  return x != null && (G == "object" || G == "function");
37053
37069
  }
37054
37070
  function Zi(x) {
37055
37071
  return x != null && typeof x == "object";
37056
37072
  }
37057
- var ba = Fe ? Ze(Fe) : lo;
37073
+ var ya = Fe ? Ze(Fe) : lo;
37058
37074
  function mr(x) {
37059
37075
  return gr(x) ? Gn(x) : Is(x);
37060
37076
  }
@@ -37401,7 +37417,7 @@ function Ek(n) {
37401
37417
  return ie(this, arguments, function* ({ data: r, methods: a }, l, c) {
37402
37418
  if (t.reset(), r.disabled)
37403
37419
  return;
37404
- r.disabled = !0, l(), yield a.offsetPage({ animated: Rr(c, "animated", !0) }), r.disabled = !1, !(yield a._jumpIfNeeded()) && a._applyAutoplayIfNeeded();
37420
+ r.disabled = !0, l(), yield a.offsetPage({ animated: _r(c, "animated", !0) }), r.disabled = !1, !(yield a._jumpIfNeeded()) && a._applyAutoplayIfNeeded();
37405
37421
  });
37406
37422
  },
37407
37423
  showNextPage(c, h) {
@@ -37440,7 +37456,7 @@ function Ek(n) {
37440
37456
  });
37441
37457
  },
37442
37458
  offsetPage({ data: r }, a) {
37443
- const l = Rr(a, "animated", !0);
37459
+ const l = _r(a, "animated", !0);
37444
37460
  return new Promise((c) => {
37445
37461
  r.durationMs = l ? r.durationMsInit : 0, r.offset = -r.currentParticleIndex * r.particleWidth, setTimeout(() => {
37446
37462
  c();
@@ -38022,7 +38038,7 @@ function jk(n, t, e) {
38022
38038
  let { timingFunction: v = "ease-in-out" } = t, { arrows: A = !0 } = t, { infinite: P = !0 } = t, { initialPageIndex: M = 0 } = t, { duration: E = 500 } = t, { autoplay: z = !1 } = t, { autoplayDuration: D = 3e3 } = t, { autoplayDirection: R = ds } = t, { pauseOnFocus: T = !1 } = t, { autoplayProgressVisible: O = !1 } = t, { dots: b = !0 } = t, { swiping: C = !0 } = t, { particlesToShow: I = 1 } = t, { particlesToScroll: k = 1 } = t;
38023
38039
  function S(me, Ie) {
38024
38040
  return ie(this, null, function* () {
38025
- const ze = Rr(Ie, "animated", !0);
38041
+ const ze = _r(Ie, "animated", !0);
38026
38042
  if (typeof me != "number")
38027
38043
  throw new Error("pageIndex should be a number");
38028
38044
  yield p.showPage(me, { animated: ze });
@@ -38030,13 +38046,13 @@ function jk(n, t, e) {
38030
38046
  }
38031
38047
  function L(me) {
38032
38048
  return ie(this, null, function* () {
38033
- const Ie = Rr(me, "animated", !0);
38049
+ const Ie = _r(me, "animated", !0);
38034
38050
  yield p.showPrevPage({ animated: Ie });
38035
38051
  });
38036
38052
  }
38037
38053
  function N(me) {
38038
38054
  return ie(this, null, function* () {
38039
- const Ie = Rr(me, "animated", !0);
38055
+ const Ie = _r(me, "animated", !0);
38040
38056
  yield p.showNextPage({ animated: Ie });
38041
38057
  });
38042
38058
  }
@@ -41440,12 +41456,12 @@ ${P ? ` transform-origin: 50% 50%;
41440
41456
  e && (e.count--, e.count <= 0 && (e.element.remove(), this.styleRefs.delete(t)));
41441
41457
  }
41442
41458
  };
41443
- let _r = Mo;
41444
- f(_r, "instance");
41459
+ let Br = Mo;
41460
+ f(Br, "instance");
41445
41461
  function _7(n, t) {
41446
41462
  if (!n || !t)
41447
41463
  return;
41448
- const e = _r.getInstance(), { elements: i } = t;
41464
+ const e = Br.getInstance(), { elements: i } = t;
41449
41465
  i.forEach((s, o) => {
41450
41466
  const { selector: r } = s;
41451
41467
  (r ? n.querySelectorAll(r) : [n]).forEach((l) => {
@@ -41457,7 +41473,7 @@ function _7(n, t) {
41457
41473
  function zc(n) {
41458
41474
  if (!n)
41459
41475
  return;
41460
- const t = _r.getInstance(), e = n.querySelectorAll("*");
41476
+ const t = Br.getInstance(), e = n.querySelectorAll("*");
41461
41477
  [n, ...Array.from(e)].forEach((s) => {
41462
41478
  const o = s, r = o.getAttribute("data-style-key");
41463
41479
  r && (o.classList.remove(r), t.releaseStyle(r), o.removeAttribute("data-style-key")), o.style.animation = "", o.style.transform = "", o.style.opacity = "";
@@ -41826,7 +41842,7 @@ function Q7(n) {
41826
41842
  );
41827
41843
  function o(l, c) {
41828
41844
  return c & /*iconUrl*/
41829
- 16 && (i = null), i == null && (i = !!xr(
41845
+ 16 && (i = null), i == null && (i = !!Sr(
41830
41846
  /*iconUrl*/
41831
41847
  l[4]
41832
41848
  )), i ? Y7 : X7;
@@ -42108,7 +42124,7 @@ function ns(n) {
42108
42124
  const { originWidth: t, originHeight: e, scale: i = 1, wantedWidth: s } = n, o = (s != null ? s : t) * i, r = typeof e == "number" ? o * (e / t) : void 0;
42109
42125
  return ce(F({}, n), { width: o, height: r });
42110
42126
  }
42111
- function xr(n) {
42127
+ function Sr(n) {
42112
42128
  if (!n)
42113
42129
  return !1;
42114
42130
  try {
@@ -42159,7 +42175,7 @@ function e6(n, t, e) {
42159
42175
  }
42160
42176
  function I() {
42161
42177
  return ie(this, null, function* () {
42162
- if (!u || !D && (yield dl(), !D) || !xr(i))
42178
+ if (!u || !D && (yield dl(), !D) || !Sr(i))
42163
42179
  return;
42164
42180
  T && (zc(T), e(18, T = null)), i && (e(3, R = yield C(i)), yield dl());
42165
42181
  const S = D.querySelector("svg");
@@ -42192,12 +42208,12 @@ function e6(n, t, e) {
42192
42208
  96 && e(7, p = r > 1 && !u), n.$$.dirty & /*width*/
42193
42209
  2 && (g = m), n.$$.dirty & /*iconAnimation, iconUrl, prevAnimationKey*/
42194
42210
  524336) {
42195
- const B = u && xr(i) ? i : null;
42211
+ const B = u && Sr(i) ? i : null;
42196
42212
  B && B !== b && (e(19, b = B), I());
42197
42213
  }
42198
42214
  n.$$.dirty & /*iconAnimation, iconUrl, currentSvgEl, svgHtml, prevAnimationKey*/
42199
- 786488 && (!u || !xr(i)) && (T && (zc(T), e(18, T = null)), R !== null && e(3, R = null), b !== null && e(19, b = null)), n.$$.dirty & /*prevAnimationKey, svgContainer, iconAnimation, iconUrl, currentSvgEl*/
42200
- 786484 && b && D && u && xr(i) && !T && I();
42215
+ 786488 && (!u || !Sr(i)) && (T && (zc(T), e(18, T = null)), R !== null && e(3, R = null), b !== null && e(19, b = null)), n.$$.dirty & /*prevAnimationKey, svgContainer, iconAnimation, iconUrl, currentSvgEl*/
42216
+ 786484 && b && D && u && Sr(i) && !T && I();
42201
42217
  }, z(), [
42202
42218
  A,
42203
42219
  m,
@@ -43355,7 +43371,7 @@ class tA extends Fu {
43355
43371
  const h = "black";
43356
43372
  c.style.backgroundColor = h, c.style.border = `3px solid ${h}`;
43357
43373
  const u = F({ mode: "behind", cornerPoints: l, container: c }, this.config.tag3DConfig), d = this.computeRenderType() === "BehindDom" || u.mode === "behind" ? "behind" : "front", p = new _v(ce(F({}, u), { mode: d })), g = this.computeNormal();
43358
- p.position.add(g.clone().setLength(ua.Z_FIGHTING_OFFSET)), s.add(p);
43374
+ p.position.add(g.clone().setLength(da.Z_FIGHTING_OFFSET)), s.add(p);
43359
43375
  let m;
43360
43376
  p.mode === "behind" && this.config.clickable !== !1 && (m = this.addObjectClickHandler(this, p, (A) => {
43361
43377
  this.plugin.hooks.emit("click", { event: A, target: "TagContent", tag: this });
@@ -43387,7 +43403,7 @@ class tA extends Fu {
43387
43403
  }
43388
43404
  return this.plugin.gltfObjectGroup.add(s), s;
43389
43405
  }));
43390
- this.state.unfolded = !0, oa(this.five), this.loadModel().then(() => this.updateVisible());
43406
+ this.state.unfolded = !0, ra(this.five), this.loadModel().then(() => this.updateVisible());
43391
43407
  }
43392
43408
  applyVisible() {
43393
43409
  var e, i;
@@ -43430,13 +43446,13 @@ class j6 extends Fu {
43430
43446
  if (yield Ii(this.five), this.computeRenderType() === "Mesh")
43431
43447
  ((i = (e = this.data.mediaData) == null ? void 0 : e[0]) == null ? void 0 : i.type) === "Video" ? this.renderVideoPlane() : ((o = (s = this.data.mediaData) == null ? void 0 : s[0]) == null ? void 0 : o.type) === "Image" && this.renderImagePlane();
43432
43448
  else {
43433
- oa(this.five);
43449
+ ra(this.five);
43434
43450
  const l = this.position.map(Ue);
43435
43451
  (a = (r = this.tag3DContentSvelte) == null ? void 0 : r.dispose) == null || a.call(r);
43436
43452
  const c = document.createElement("div");
43437
43453
  c.classList.add("tag-media-container");
43438
43454
  const h = F({ mode: "front", cornerPoints: l, container: c }, this.config.tag3DConfig), u = this.computeRenderType() === "BehindDom" || h.mode === "behind" ? "behind" : "front", d = new _v(ce(F({}, h), { mode: u })), p = this.computeNormal();
43439
- d.position.add(p.clone().setLength(ua.Z_FIGHTING_OFFSET)), this.plugin.group.add(d);
43455
+ d.position.add(p.clone().setLength(da.Z_FIGHTING_OFFSET)), this.plugin.group.add(d);
43440
43456
  let g;
43441
43457
  d.mode === "behind" && this.config.clickable !== !1 && (g = this.addObjectClickHandler(this, d, (v) => {
43442
43458
  this.plugin.hooks.emit("click", { event: v, target: "TagContent", tag: this });
@@ -46197,7 +46213,7 @@ function Vm(n) {
46197
46213
  /*transitionDuration*/
46198
46214
  n[15]
46199
46215
  ),
46200
- easing: Qr,
46216
+ easing: Xr,
46201
46217
  y: (
46202
46218
  /*arrowDirection*/
46203
46219
  n[12] === "top" ? -8 : (
@@ -46227,7 +46243,7 @@ function Vm(n) {
46227
46243
  /*transitionDuration*/
46228
46244
  n[15]
46229
46245
  ),
46230
- easing: Qr,
46246
+ easing: Xr,
46231
46247
  y: (
46232
46248
  /*arrowDirection*/
46233
46249
  n[12] === "top" ? -8 : (
@@ -46289,7 +46305,7 @@ function Qx(n, t, e) {
46289
46305
  let { tag: g } = t, { config: m = {} } = t, { triggerElement: v } = t, { wrapperElement: A = document.body } = t, { popoverContainer: P = null } = t, { theme: M = void 0 } = t, { visible: E = !0 } = t, { closePopover: z = void 0 } = t, { audioInstance: D = null } = t, { audioPlaying: R = !1 } = t, { audioCurrentTime: T = 0 } = t, { audioDuration: O = 0 } = t;
46290
46306
  const b = zn();
46291
46307
  let C, I = { width: 0, height: 0 }, k = null, S = s;
46292
- function L(ee, { duration: Te = 400, easing: _e = Qr, x: ve = 0, y: Fe = 0 }) {
46308
+ function L(ee, { duration: Te = 400, easing: _e = Xr, x: ve = 0, y: Fe = 0 }) {
46293
46309
  return {
46294
46310
  duration: Te,
46295
46311
  css: (me, Ie) => `
@@ -47448,7 +47464,7 @@ class Ch extends I8 {
47448
47464
  i.position.copy(s.position), i.quaternion.copy(s.quaternion);
47449
47465
  const o = this.five.camera.position;
47450
47466
  i.lookAt(o.clone().setY(i.position.y));
47451
- const r = s.quaternion.clone(), a = i.quaternion.clone(), l = Wr();
47467
+ const r = s.quaternion.clone(), a = i.quaternion.clone(), l = Ur();
47452
47468
  l.onUpdate(({ progress: h }) => {
47453
47469
  s.quaternion.copy(r.clone().slerp(a, h));
47454
47470
  }), l.play();
@@ -47492,7 +47508,7 @@ class Ch extends I8 {
47492
47508
  this.TagContainerSvelte = new rS({
47493
47509
  target: this.container,
47494
47510
  props: ce(F({}, a), { state: ce(F({}, this.state), { enabled: !1 }) })
47495
- }), aa(() => {
47511
+ }), la(() => {
47496
47512
  var l;
47497
47513
  (l = this.TagContainerSvelte) == null || l.$set({ state: this.state });
47498
47514
  });
@@ -48345,7 +48361,7 @@ class Ih {
48345
48361
  /** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
48346
48362
  f(this, "heightOffset", 0);
48347
48363
  /** 响应式字体大小管理器 */
48348
- f(this, "fontSizeManager", ca());
48364
+ f(this, "fontSizeManager", ha());
48349
48365
  /** 当前字体大小 */
48350
48366
  f(this, "currentFontSize", ir());
48351
48367
  /** 字体大小订阅取消函数 */
@@ -49652,7 +49668,7 @@ function Ku(n, t, e) {
49652
49668
  }
49653
49669
  n.quaternion.copy(t);
49654
49670
  }
49655
- class da extends mi {
49671
+ class fa extends mi {
49656
49672
  constructor(e, i) {
49657
49673
  var s, o;
49658
49674
  super();
@@ -49729,15 +49745,15 @@ class da extends mi {
49729
49745
  this.removeFromParent();
49730
49746
  }
49731
49747
  }
49732
- class CS extends da {
49748
+ class CS extends fa {
49733
49749
  }
49734
- class IS extends da {
49750
+ class IS extends fa {
49735
49751
  }
49736
- class ES extends da {
49752
+ class ES extends fa {
49737
49753
  }
49738
- class MS extends da {
49754
+ class MS extends fa {
49739
49755
  }
49740
- class kS extends da {
49756
+ class kS extends fa {
49741
49757
  }
49742
49758
  class xS extends w.Group {
49743
49759
  constructor(e) {
@@ -50207,7 +50223,7 @@ class HS extends kS {
50207
50223
  f(this, "cornerPositions", []);
50208
50224
  f(this, "css3DInstance");
50209
50225
  f(this, "plane");
50210
- f(this, "css3DRenderer", new Gr());
50226
+ f(this, "css3DRenderer", new Wr());
50211
50227
  f(this, "camera");
50212
50228
  f(this, "scene");
50213
50229
  f(this, "container");
@@ -50409,7 +50425,7 @@ class NS extends IS {
50409
50425
  return new w.Mesh(i, s);
50410
50426
  }
50411
50427
  }
50412
- class fa {
50428
+ class ga {
50413
50429
  constructor(t, e) {
50414
50430
  f(this, "originObject3D");
50415
50431
  f(this, "hooks");
@@ -50677,18 +50693,14 @@ class uA {
50677
50693
  }
50678
50694
  }
50679
50695
  var m0, v0;
50680
- class WS extends fa {
50696
+ class WS extends ga {
50681
50697
  constructor(...e) {
50682
50698
  super(...e);
50683
50699
  f(this, "name", "MoveController");
50684
50700
  f(this, "startInfo");
50685
50701
  /** 拖拽时用于显示方向参考的直线(与 ScaleController 一致:Line + LineBasicMaterial) */
50686
50702
  f(this, "dragGuideLine");
50687
- f(this, "solidGuide", new uA(
50688
- this.camera,
50689
- this.container,
50690
- (v0 = (m0 = this.config) == null ? void 0 : m0.solidGuide) != null ? v0 : {}
50691
- ));
50703
+ f(this, "solidGuide", new uA(this.camera, this.container, (v0 = (m0 = this.config) == null ? void 0 : m0.solidGuide) != null ? v0 : {}));
50692
50704
  f(this, "_moveByMouse", {
50693
50705
  enabled: !1
50694
50706
  });
@@ -50834,30 +50846,34 @@ class WS extends fa {
50834
50846
  this.solidGuide.updateSolidLine(this.dragGuideLine, s, i);
50835
50847
  }
50836
50848
  move(e) {
50849
+ var m;
50837
50850
  if (!this.startInfo)
50838
50851
  return this.dragEnd();
50839
50852
  const { line: i, startVectorProject: s } = this.startInfo, o = this.originObject3D, r = this.startInfo.draggingDirection === "plane";
50840
50853
  let a;
50841
50854
  if (r) {
50842
- const d = this.startInfo.plane;
50843
- if (!d)
50855
+ const v = this.startInfo.plane;
50856
+ if (!v)
50844
50857
  return;
50845
- const p = new w.Vector3(), g = d.normal.dot(e.ray.direction);
50846
- if (Math.abs(g) < 1e-6)
50858
+ const A = new w.Vector3(), P = v.normal.dot(e.ray.direction);
50859
+ if (Math.abs(P) < 1e-6)
50847
50860
  return;
50848
- const m = -(d.normal.dot(e.ray.origin) + d.constant) / g;
50849
- if (m < 0)
50861
+ const M = -(v.normal.dot(e.ray.origin) + v.constant) / P;
50862
+ if (M < 0)
50850
50863
  return;
50851
- p.copy(e.ray.origin.clone().add(e.ray.direction.clone().multiplyScalar(m))), a = p;
50864
+ A.copy(e.ray.origin.clone().add(e.ray.direction.clone().multiplyScalar(M))), a = A;
50852
50865
  } else
50853
50866
  a = rs({ raycaster: e, line: i, clampToLine: !1 });
50854
- const l = a.clone().sub(s), c = new w.Matrix4();
50855
- c.setPosition(l);
50856
- const h = o.position.clone().applyMatrix4(c);
50857
- this.hooks.emit("wantToMove", h) || (o.applyMatrix4(c), s.copy(a), this.internalHooks.emit("applyObjectPosition", { matrix: c }), this.hooks.emit("move", h));
50867
+ const l = o.position.clone(), c = a.clone().sub(s), h = new w.Matrix4();
50868
+ h.setPosition(c);
50869
+ const u = o.position.clone().applyMatrix4(h);
50870
+ if (this.hooks.emit("wantToMove", u))
50871
+ return;
50872
+ const p = (m = this.hooks.emitWithResult("moveBefore", u)) != null ? m : u, g = new w.Matrix4();
50873
+ g.setPosition(p.clone().sub(l)), o.position.copy(p), s.copy(a), this.internalHooks.emit("applyObjectPosition", { matrix: g }), this.hooks.emit("move", p);
50858
50874
  }
50859
50875
  }
50860
- class Cr {
50876
+ class Ir {
50861
50877
  // eslint-disable-next-line max-params
50862
50878
  constructor(t, e, i, s, o, r, a, l, c) {
50863
50879
  f(this, "helperController");
@@ -51023,7 +51039,7 @@ function bo(n) {
51023
51039
  return n * Math.PI / 180;
51024
51040
  }
51025
51041
  let Fc = new w.Quaternion();
51026
- class JS extends fa {
51042
+ class JS extends ga {
51027
51043
  constructor(...e) {
51028
51044
  var h, u, d;
51029
51045
  super(...e);
@@ -51229,7 +51245,7 @@ class JS extends fa {
51229
51245
  i.setLeftTop(l, c);
51230
51246
  }
51231
51247
  }
51232
- class KS extends fa {
51248
+ class KS extends ga {
51233
51249
  constructor(...e) {
51234
51250
  super(...e);
51235
51251
  f(this, "startInfo");
@@ -51349,7 +51365,7 @@ class $S extends KS {
51349
51365
  });
51350
51366
  }
51351
51367
  }
51352
- class eD extends fa {
51368
+ class eD extends ga {
51353
51369
  constructor(...e) {
51354
51370
  super(...e);
51355
51371
  f(this, "name", "BoundingBoxController");
@@ -51556,7 +51572,7 @@ function nD(n, t) {
51556
51572
  }, o;
51557
51573
  }
51558
51574
  var A0, b0;
51559
- class sD extends fa {
51575
+ class sD extends ga {
51560
51576
  constructor(...e) {
51561
51577
  super(...e);
51562
51578
  f(this, "name", "ScaleController");
@@ -52038,7 +52054,7 @@ class dA extends ms {
52038
52054
  f(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
52039
52055
  f(this, "css3DObjectModeMap", /* @__PURE__ */ new Map());
52040
52056
  f(this, "css3DRender");
52041
- this.five = e, this.css3DRender = new Gr(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${kh.toUpperCase()}_DEBUG__`]: this });
52057
+ this.five = e, this.css3DRender = new Wr(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${kh.toUpperCase()}_DEBUG__`]: this });
52042
52058
  }
52043
52059
  /**
52044
52060
  * @description Show guide line
@@ -52113,7 +52129,7 @@ class dA extends ms {
52113
52129
  return typeof E == "boolean" ? E : E.enable;
52114
52130
  }, P = {};
52115
52131
  if (A(h)) {
52116
- const E = F(F({}, this.getConfig(c.moveHelper)), c), z = new zS(e, F({}, E)), D = new Cr(
52132
+ const E = F(F({}, this.getConfig(c.moveHelper)), c), z = new zS(e, F({}, E)), D = new Ir(
52117
52133
  this.five,
52118
52134
  v,
52119
52135
  WS,
@@ -52126,7 +52142,7 @@ class dA extends ms {
52126
52142
  P.moveController = D.helperController, o.push(() => D.dispose());
52127
52143
  }
52128
52144
  if (A(u)) {
52129
- const E = F(F({}, this.getConfig(c.rotateHelper)), c), z = new RS(e, F({ container: r }, E)), D = new Cr(
52145
+ const E = F(F({}, this.getConfig(c.rotateHelper)), c), z = new RS(e, F({ container: r }, E)), D = new Ir(
52130
52146
  this.five,
52131
52147
  v,
52132
52148
  JS,
@@ -52139,7 +52155,7 @@ class dA extends ms {
52139
52155
  P.rotateController = D.helperController, o.push(() => D.dispose());
52140
52156
  }
52141
52157
  if (A(p)) {
52142
- const E = new NS(e), z = new Cr(
52158
+ const E = new NS(e), z = new Ir(
52143
52159
  this.five,
52144
52160
  v,
52145
52161
  eD,
@@ -52153,7 +52169,7 @@ class dA extends ms {
52153
52169
  }
52154
52170
  if (A(d))
52155
52171
  if (e.isCSS3DObject && r) {
52156
- const E = new HS(e, r, a, this.five.scene), z = new Cr(
52172
+ const E = new HS(e, r, a, this.five.scene), z = new Ir(
52157
52173
  this.five,
52158
52174
  v,
52159
52175
  $S,
@@ -52175,7 +52191,7 @@ class dA extends ms {
52175
52191
  e.isCSS3DObject && (this.css3DObjectModeMap.set(e, e.mode), e.mode = "behind");
52176
52192
  });
52177
52193
  } else {
52178
- const E = F(F({}, this.getConfig(c.scaleHelper)), c), z = new tD(e, E), D = new Cr(
52194
+ const E = F(F({}, this.getConfig(c.scaleHelper)), c), z = new tD(e, E), D = new Ir(
52179
52195
  this.five,
52180
52196
  v,
52181
52197
  sD,
@@ -53694,7 +53710,7 @@ class zD {
53694
53710
  /** 容器大小变化监听器 */
53695
53711
  f(this, "resizeObserver");
53696
53712
  /** 响应式字体大小管理器 */
53697
- f(this, "fontSizeManager", ca());
53713
+ f(this, "fontSizeManager", ha());
53698
53714
  /** 当前字体大小 */
53699
53715
  f(this, "currentFontSize", ir());
53700
53716
  /** 字体大小订阅取消函数 */
@@ -54236,7 +54252,7 @@ class RD extends ms {
54236
54252
  this.mesh.visible = !1;
54237
54253
  return;
54238
54254
  }
54239
- this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween = Wr(1e3).onUpdate(({ progress: s }) => {
54255
+ this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween = Ur(1e3).onUpdate(({ progress: s }) => {
54240
54256
  var o;
54241
54257
  (o = this.mesh) == null || o.material.setValues({ opacity: s }), this.five.needsRender = !0;
54242
54258
  }).play();
@@ -54519,7 +54535,7 @@ class vA extends mi {
54519
54535
  if (r !== 0 && a === void 0)
54520
54536
  return;
54521
54537
  const l = (c = this.lines[r]) != null ? c : (() => {
54522
- const h = new Jr(ce(F({}, this.style), {
54538
+ const h = new Kr(ce(F({}, this.style), {
54523
54539
  pointVisibility: this.withDots ? { startPoint: r === 0, endPoint: !0 } : !1
54524
54540
  }));
54525
54541
  return this.lines[r] = h, this.add(h), h;
@@ -54569,7 +54585,7 @@ class Gi extends mi {
54569
54585
  f(this, "off", (...e) => dt.modules.fiveDomEvents.removeEventListener(this, ...e));
54570
54586
  f(this, "applyObjectMatrixWorld", (e, i) => {
54571
54587
  const s = i != null ? i : this;
54572
- return s.updateMatrixWorld(), Hr(s, e);
54588
+ return s.updateMatrixWorld(), Nr(s, e);
54573
54589
  });
54574
54590
  f(this, "applyObjectReversalMatrixWorld", (e, i) => {
54575
54591
  const s = i != null ? i : this;
@@ -54698,7 +54714,7 @@ class ec extends mi {
54698
54714
  this.originObject.remove(this);
54699
54715
  }
54700
54716
  }
54701
- class ga extends ec {
54717
+ class pa extends ec {
54702
54718
  constructor(e, i) {
54703
54719
  super(e);
54704
54720
  f(this, "objectHelperConfig");
@@ -54761,7 +54777,7 @@ class VD extends id {
54761
54777
  f(this, "onDrag", (e) => {
54762
54778
  if (!this.draggingPoints || this.draggingPoints.length === 0)
54763
54779
  return;
54764
- const i = ra(dt.modules.five, e.raycaster);
54780
+ const i = aa(dt.modules.five, e.raycaster);
54765
54781
  this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.lineMesh.setPoints(this.pointMeshes.map((s) => s.position));
54766
54782
  });
54767
54783
  }
@@ -54775,7 +54791,7 @@ class FD extends id {
54775
54791
  f(this, "onDrag", (e) => {
54776
54792
  if (!this.draggingPoints || this.draggingPoints.length === 0)
54777
54793
  return;
54778
- const i = ra(dt.modules.five, e.raycaster);
54794
+ const i = aa(dt.modules.five, e.raycaster);
54779
54795
  this.draggingPoints.forEach((s) => s.position.copy(i.point)), this.originObject.polyLineMesh.setPoints(this.pointMeshes.map((s) => s.position));
54780
54796
  });
54781
54797
  }
@@ -54885,7 +54901,7 @@ class ND extends ec {
54885
54901
  super(e);
54886
54902
  f(this, "onDrag", (e) => {
54887
54903
  var s;
54888
- const i = ra(dt.modules.five, e.raycaster);
54904
+ const i = aa(dt.modules.five, e.raycaster);
54889
54905
  (s = this.originObject.pointMesh) == null || s.position.copy(i.point);
54890
54906
  });
54891
54907
  }
@@ -55012,7 +55028,7 @@ class GD extends id {
55012
55028
  f(this, "onDrag", (e) => {
55013
55029
  if (!this.draggingPoints || this.draggingPoints.length === 0)
55014
55030
  return;
55015
- const i = ra(dt.modules.five, e.raycaster), s = this.originObject.areaMesh.projectPoint(i.point);
55031
+ const i = aa(dt.modules.five, e.raycaster), s = this.originObject.areaMesh.projectPoint(i.point);
55016
55032
  this.draggingPoints.forEach((o) => o.position.copy(s)), this.originObject.areaMesh.setPoints(this.pointMeshes.map((o) => o.position));
55017
55033
  });
55018
55034
  }
@@ -55640,7 +55656,7 @@ class Ns extends mi {
55640
55656
  this.prismMesh.visible = !0, this.edgeMesh.visible = !0, this.prismMesh.setStyle({ opacity: this.prismMesh.style.opacity }), this.edgeMesh.setStyle({ lineOpacity: 1 });
55641
55657
  }
55642
55658
  }
55643
- class bA extends ga {
55659
+ class bA extends pa {
55644
55660
  constructor(t) {
55645
55661
  super(t, () => ({
55646
55662
  positionFrom: () => t.worldCenter,
@@ -55747,7 +55763,7 @@ function yA(n, t) {
55747
55763
  });
55748
55764
  });
55749
55765
  }
55750
- class wA extends ga {
55766
+ class wA extends pa {
55751
55767
  constructor(t) {
55752
55768
  super(t, () => ({
55753
55769
  yAxis: () => {
@@ -56041,7 +56057,7 @@ function ZD(n, t, e) {
56041
56057
  };
56042
56058
  return t.on("select", m), t.on("intersectionUpdate", v), t.on("disable", P), i;
56043
56059
  }
56044
- class CA extends ga {
56060
+ class CA extends pa {
56045
56061
  constructor(t) {
56046
56062
  super(t, () => ({ yAxis: () => t.normal }));
56047
56063
  }
@@ -56079,7 +56095,7 @@ class EA extends Yl {
56079
56095
  this._center && this.position.copy(this._center), this._normal && (this.lookAt(this._normal.clone().add(this._center)), this.normal = this._normal.clone()), this.needsRender = !0;
56080
56096
  }
56081
56097
  }
56082
- class ia extends EA {
56098
+ class na extends EA {
56083
56099
  constructor(e) {
56084
56100
  const a = e != null ? e : {}, { normal: i, radius: s, center: o } = a, r = Yn(a, ["normal", "radius", "center"]);
56085
56101
  super(r);
@@ -56107,7 +56123,7 @@ class l0 extends Gi {
56107
56123
  f(this, "type", "Circle");
56108
56124
  f(this, "circleMesh");
56109
56125
  f(this, "_editor");
56110
- e && (this.circleMesh = new ia(F(F({}, e.style), e)), this.add(this.circleMesh));
56126
+ e && (this.circleMesh = new na(F(F({}, e.style), e)), this.add(this.circleMesh));
56111
56127
  }
56112
56128
  get editor() {
56113
56129
  return this._editor || (this._editor = new CA(this.circleMesh)), this._editor;
@@ -56142,7 +56158,7 @@ class l0 extends Gi {
56142
56158
  this.children.forEach((s) => {
56143
56159
  s.parent === this && this.remove(s);
56144
56160
  }), this.children.length = 0;
56145
- const i = new ia(e);
56161
+ const i = new na(e);
56146
56162
  this.circleMesh = i, this.add(this.circleMesh), yield rd(this.circleMesh, this.pointSelector), this.config.defaultAction && this.editor.enable();
56147
56163
  });
56148
56164
  }
@@ -56195,7 +56211,7 @@ class zh extends mi {
56195
56211
  f(this, "_topCenter");
56196
56212
  f(this, "_bottomCenter");
56197
56213
  f(this, "_radius");
56198
- this.params = e, this.bottomCircle = new ia(e), this.bottomCircle.name = "bottomCircle", this.topCircle = new ia(e), this.topCircle.name = "topCircle", this.edgeMesh = new Yl(e), e != null && e.bottomCenter && (e != null && e.topCenter) && (e != null && e.radius) && this.setPoints(e), this.addIfNotExists(this.bottomCircle);
56214
+ this.params = e, this.bottomCircle = new na(e), this.bottomCircle.name = "bottomCircle", this.topCircle = new na(e), this.topCircle.name = "topCircle", this.edgeMesh = new Yl(e), e != null && e.bottomCenter && (e != null && e.topCenter) && (e != null && e.radius) && this.setPoints(e), this.addIfNotExists(this.bottomCircle);
56199
56215
  }
56200
56216
  get bottomCenter() {
56201
56217
  return this.bottomCircle.center;
@@ -56250,7 +56266,7 @@ class zh extends mi {
56250
56266
  this.edgeMesh.position.copy(new w.Vector3().lerpVectors(i, e, 0.5)), this.edgeMesh.quaternion.copy(s);
56251
56267
  }
56252
56268
  }
56253
- class MA extends ga {
56269
+ class MA extends pa {
56254
56270
  constructor(t) {
56255
56271
  super(t, () => {
56256
56272
  const e = () => {
@@ -56354,7 +56370,7 @@ function kA(n, t) {
56354
56370
  });
56355
56371
  });
56356
56372
  }
56357
- class xA extends ga {
56373
+ class xA extends pa {
56358
56374
  constructor(t) {
56359
56375
  super(t, () => ({
56360
56376
  positionFrom: () => t.worldCenter,
@@ -56575,7 +56591,7 @@ class u0 extends Gi {
56575
56591
  f(this, "lineMesh");
56576
56592
  f(this, "_editor");
56577
56593
  f(this, "creatingObject");
56578
- e && (this.lineMesh = new Jr(F(F({}, e.style), e)), this.add(this.lineMesh));
56594
+ e && (this.lineMesh = new Kr(F(F({}, e.style), e)), this.add(this.lineMesh));
56579
56595
  }
56580
56596
  get editor() {
56581
56597
  return this._editor || (this._editor = new VD(this)), this._editor;
@@ -56620,7 +56636,7 @@ class u0 extends Gi {
56620
56636
  create(e) {
56621
56637
  return ie(this, null, function* () {
56622
56638
  this.removeChildren();
56623
- const i = new Jr(e);
56639
+ const i = new Kr(e);
56624
56640
  this.lineMesh = i, this.add(this.lineMesh), this.creatingObject = DA(i, this.pointSelector, e), yield this.creatingObject.finished, this.config.defaultAction && this.editor.enable();
56625
56641
  });
56626
56642
  }
@@ -57025,7 +57041,7 @@ const g0 = (n, t) => {
57025
57041
  const s = new gA({
57026
57042
  target: n,
57027
57043
  props: { content: (a = t.rawData) == null ? void 0 : a.name, five: e, fontSize: i }
57028
- }), o = ca();
57044
+ }), o = ha();
57029
57045
  let r = null;
57030
57046
  return typeof o == "object" && "subscribe" in o && (r = o.subscribe((l) => {
57031
57047
  i = l, s.$set({ fontSize: i });
@@ -57194,7 +57210,7 @@ class sT extends cn {
57194
57210
  }
57195
57211
  case "prism": {
57196
57212
  const r = new Ns();
57197
- Ne(s.id) && (r.uuid = s.id.toString()), this.zFightingOffset += ua.Z_FIGHTING_OFFSET;
57213
+ Ne(s.id) && (r.uuid = s.id.toString()), this.zFightingOffset += da.Z_FIGHTING_OFFSET;
57198
57214
  const a = s.object_data.points.map((u) => {
57199
57215
  var d;
57200
57216
  return [u[0], u[1] + ((d = s.object_data.fixedY) != null ? d : 0), u[2]];
@@ -57601,7 +57617,7 @@ const FL = (...n) => new sT(...n), oT = /* @__PURE__ */ Object.freeze(/* @__PURE
57601
57617
  BoxMeshEditor: xA,
57602
57618
  CircleMesh: EA,
57603
57619
  CircleMeshEditor: CA,
57604
- CircleWithEdgeMesh: ia,
57620
+ CircleWithEdgeMesh: na,
57605
57621
  CylinderMesh: zh,
57606
57622
  CylinderMeshEditor: MA,
57607
57623
  LineMesh: Ei,
@@ -57636,7 +57652,7 @@ const FL = (...n) => new sT(...n), oT = /* @__PURE__ */ Object.freeze(/* @__PURE
57636
57652
  GUIDELINE_WHITE_ARROW_TEXTURE: iu,
57637
57653
  Interval: Yc,
57638
57654
  LegacyPointHelper: _w,
57639
- LightTag: sa,
57655
+ LightTag: oa,
57640
57656
  LineSegments: F0,
57641
57657
  MODEL_CHASSIS_COMPASS_DEFAULT_MODEL: ou,
57642
57658
  MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL: au,
@@ -57669,14 +57685,14 @@ const FL = (...n) => new sT(...n), oT = /* @__PURE__ */ Object.freeze(/* @__PURE
57669
57685
  getFrameTime: Ww,
57670
57686
  getIntersectFromRelativePosition: yw,
57671
57687
  getRaycasterFromFivePointer: ww,
57672
- initialCSS3DRender: oa,
57688
+ initialCSS3DRender: ra,
57673
57689
  inside: wd,
57674
57690
  isModelLike: wi,
57675
57691
  isNil: pi,
57676
57692
  isPanoramaLike: ss,
57677
57693
  lookObject: Bw,
57678
57694
  lookPoint: f1,
57679
- nextFrame: aa,
57695
+ nextFrame: la,
57680
57696
  notNil: Ne,
57681
57697
  pointInPolygon: wd,
57682
57698
  reblink: h1,
@@ -57684,7 +57700,7 @@ const FL = (...n) => new sT(...n), oT = /* @__PURE__ */ Object.freeze(/* @__PURE
57684
57700
  requestAnimationFrameInterval: er,
57685
57701
  sculpt: oT,
57686
57702
  tag: M0,
57687
- tweenProgress: Wr,
57703
+ tweenProgress: Ur,
57688
57704
  uuid: jt,
57689
57705
  waitFiveModelLoaded: Ii,
57690
57706
  worldBounding: Ll,
@@ -57695,7 +57711,7 @@ wb();
57695
57711
  yb();
57696
57712
  export {
57697
57713
  RL as AreaMakerPlugin,
57698
- Gr as CSS3DRender,
57714
+ Wr as CSS3DRender,
57699
57715
  _l as CSS3DRenderPlugin,
57700
57716
  r5 as CameraMovementEffect,
57701
57717
  XT as CameraMovementPlugin,
@@ -57704,7 +57720,7 @@ export {
57704
57720
  Ju as CruisePluginController,
57705
57721
  ML as CruisePluginTypes,
57706
57722
  _L as CurrentPanoImagePlugin,
57707
- Mr as DIRECTION,
57723
+ kr as DIRECTION,
57708
57724
  Co as DISPLAY_STRATEGY_TYPE,
57709
57725
  m8 as DimensionType,
57710
57726
  _s as FLOOR_PLAN_ATTACHED_TO,